12 |
- /*! For license information please see index.min.js.LICENSE.txt */
- !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("G2Plot"),require("G6"),require("GISDK"),require("Graphin"),require("React"),require("ReactDOM"),require("_"),require("antd")):"function"==typeof define&&define.amd?define(["G2Plot","G6","GISDK","Graphin","React","ReactDOM","_","antd"],t):"object"==typeof exports?exports.GI_ASSETS_ADVANCE=t(require("G2Plot"),require("G6"),require("GISDK"),require("Graphin"),require("React"),require("ReactDOM"),require("_"),require("antd")):e.GI_ASSETS_ADVANCE=t(e.G2Plot,e.G6,e.GISDK,e.Graphin,e.React,e.ReactDOM,e._,e.antd)}(self,((e,t,n,r,i,o,a,s)=>(()=>{var l={3722:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.get=a,t.set=o,t.getJSON=l,t.remove=s,t.default=void 0;var r,i=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,n):{};r.get||r.set?Object.defineProperty(t,n,r):t[n]=e[n]}return t.default=e,t}(n(9836));function o(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.path,i=void 0===r?"/":r,o=n.domain,a=n.expires,s=n.maxAge,l=void 0===s?1512e3:s,c=n.secure,u=n.sameSite;if(e){t=encodeURIComponent(String(t)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),e=(e=(e=encodeURIComponent(String(e))).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent)).replace(/[()]/g,escape);var h=[];i&&h.push("path=".concat(i)),o&&h.push("domain=".concat(o)),a&&h.push("expires=".concat(a)),l&&h.push("max-age=".concat(l)),c&&h.push("secure"),u&&h.push("samesite=".concat(u)),document.cookie="".concat(e,"=").concat(t,";").concat(h.join(";"))}}function a(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e?void 0:{},r=document.cookie?document.cookie.split("; "):[],i=/(%[0-9A-Z]{2})+/g,o=0;o<r.length;o++){var a=r[o].split("="),s=a.slice(1).join("=");t.json||'"'!==s.charAt(0)||(s=s.slice(1,-1));try{var l=a[0].replace(i,decodeURIComponent);if(s=s.replace(i,decodeURIComponent),t.json)try{s=JSON.parse(s)}catch(e){}if(e===l){n=s;break}e||(n[l]=s)}catch(e){}}return n}function s(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};o(e,"",i.assign(t,{expires:"Thu, 01 Jan 1970 00:00:00 GMT",maxAge:-1}))}function l(){return a(void 0,{json:!0})}!function(e){e.strict="strict",e.lax="lax"}(r||(r={}));var c={set:o,get:a,getJSON:l,remove:s};t.default=c},5558:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createInstance=l,t.default=void 0;var r=a(n(3300)),i=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,n):{};r.get||r.set?Object.defineProperty(t,n,r):t[n]=e[n]}return t.default=e,t}(n(9836)),o=a(n(3722));function a(e){return e&&e.__esModule?e:{default:e}}var s={key:"x-hng",maxAge:15552e3,path:"/"};function l(e){return e=i.assign({},s,e),new r.default(e)}var c=l(),u={locale:c,cookie:o.default,util:i,create:l,getKey:c.getKey.bind(c),getLocale:c.getLocale.bind(c),getLocaleString:c.getLocaleString.bind(c),getEnv:c.getEnv.bind(c),setLocale:c.setLocale.bind(c),setRegion:c.setRegion.bind(c),setLang:c.setLang.bind(c),setCurrency:c.setCurrency.bind(c),setTimeZone:c.setTimeZone.bind(c),setLocaleWithObject:c.setLocaleWithObject.bind(c),clear:c.clear.bind(c)},h=u;t.default=h,e.exports=u},3300:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.LOCALE_KEY_NAME=void 0;var r,i=a(n(3722)),o=a(n(9836));function a(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,n):{};r.get||r.set?Object.defineProperty(t,n,r):t[n]=e[n]}return t.default=e,t}function s(e){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}function l(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}t.LOCALE_KEY_NAME=r,function(e){e.region="region",e.lang="lang",e.currency="currency",e.tz="tz"}(r||(t.LOCALE_KEY_NAME=r={}));var u=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),c(this,"key",void 0),c(this,"maxAge",void 0),c(this,"domain",void 0),c(this,"path",void 0),c(this,"container",void 0),this.key=t.key||"",this.maxAge=t.maxAge,this.domain=t.domain,this.path=t.path,this.container=o.getContainerType()}var t,n;return t=e,(n=[{key:"getKey",value:function(){return this.key}},{key:"getPureLocale",value:function(){return this[this.container]?this[this.container]():""}},{key:"getLocale",value:function(e){var t=this.getPureLocale();if(e&&e.short&&t[r.lang]){var n=t[r.lang].split("-")[0];t[r.lang]=n}return t.region&&(t.regionID=t.region),t.lang&&(t.language=t.lang),t}},{key:"getEnv",value:function(e){var t=o.assign({},{short:!0},e);return this.getLocale(t)}},{key:"getLocaleString",value:function(){var e=this.getPureLocale();return o.stringifyToQueryString(e)}},{key:"setLocale",value:function(e,t){if(e){var n=c({},e,t);this.setLocaleWithObject(n)}}},{key:"setRegion",value:function(e){e&&this.setLocale(r.region,e)}},{key:"setLang",value:function(e){e&&this.setLocale(r.lang,e)}},{key:"setCurrency",value:function(e){e&&this.setLocale(r.currency,e)}},{key:"setTimeZone",value:function(e){e&&this.setLocale(r.tz,e)}},{key:"setLocaleWithObject",value:function(e){if(this.container!==o.ContainerType.weex){var t=this.getLocale(),n=o.assign({},t,e);delete n.language;var r=o.stringifyToQueryString(n);i.set(this.key,r,{path:this.path||"/",maxAge:this.maxAge,domain:this.domain})}}},{key:"weex",value:function(){var e="";return"object"===("undefined"==typeof WXEnvironment?"undefined":s(WXEnvironment))&&(e=WXEnvironment&&WXEnvironment[this.key]||""),o.parseQueryString(e)}},{key:"web",value:function(){var e="",t={};if(location&&location.search){var n=location.search.replace(/^[?#&]/,""),a=o.parseQueryString(n),l=o.objectValues(r);Object.keys(a).forEach((function(e){l.indexOf(e)>=0&&(t[e]=a[e])}))}if("object"===("undefined"==typeof window?"undefined":s(window))){var c=window;if(e=window[this.key]){var u=o.parseQueryString(e);t=o.assign({},u,t)}else if("object"===s(c.g_config)){var h=c.g_config,p=h.regionID,d=h.language,f={};p&&(f[r.region]=p),d&&(f[r.lang]=d),t=o.assign({},f,t)}}if(!e){var m={};if(e=i.get(this.key))m=o.parseQueryString(e);else{var g=i.get("hng");if(g){var y=g.split("|");y[0]&&(m[r.region]=y[0]),y[1]&&(m[r.lang]=y[1]),y[2]&&(m[r.currency]=y[2])}}t=o.assign({},m,t)}return t}},{key:"clear",value:function(){i.remove(this.key)}}])&&l(t.prototype,n),e}();t.default=u},9836:(e,t)=>{"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}var r;function i(e,t){if(""===t)return[e];var n=e.indexOf(t);return-1===n?[e]:[e.slice(0,n),e.slice(n+t.length)]}function o(e){try{return decodeURIComponent(e)}catch(t){return e}}function a(e){try{return encodeURIComponent(e)}catch(t){return e}}Object.defineProperty(t,"__esModule",{value:!0}),t.getContainerType=function(){var e="";return"function"==typeof callNative?e=r.weex:"object"!==("undefined"==typeof navigator?"undefined":n(navigator))||"Mozilla"!==navigator.appCodeName&&"Gecko"!==navigator.product||(e=r.web),e},t.splitOnFirst=i,t.decode=o,t.encode=a,t.parseQueryString=function(e){if(!e)return{};var t=e.split("&"),n={};return t.forEach((function(e){var t,r=(2,function(e){if(Array.isArray(e))return e}(t=i(e.replace(/\+/g," "),"="))||function(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),2!==n.length);r=!0);}catch(e){i=!0,o=e}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}(t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()),a=r[0],s=r[1],l=void 0===s?"":o(s);n[a]=l})),n},t.stringifyToQueryString=function(e){return Object.keys(e).map((function(t){var n=e[t];return void 0===n?"":null===n?a(t):"".concat(a(t),"=").concat(a(n))})).filter((function(e){return e.length>0})).join("&")},t.objectValues=function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.push(e[n]);return t},t.assign=function(e){if(null==e)throw new TypeError("Cannot convert undefined or null to object");for(var t=Object(e),n=0;n<(arguments.length<=1?0:arguments.length-1);n++){var r=n+1<1||arguments.length<=n+1?void 0:arguments[n+1];if(r)for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(t[i]=r[i])}return t},t.ContainerType=void 0,t.ContainerType=r,function(e){e.weex="weex",e.web="web"}(r||(t.ContainerType=r={}))},4959:(e,t,n)=>{"use strict";t.ZP=void 0;var r,i,o=n(2370),a=(r=n(4998))&&r.__esModule?r:{default:r},s=n(6142),l="__GLOBAL_STRING_FORMAT__",c={};function u(e){if(e)return i=e,e;if(i)return i;if(o.isWeex)return c;var t=void 0!==n.g?n.g:window;return t[l]||(t[l]={}),t[l]}var h={init:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.name,i=void 0===r?"default":r,o=u(n.context),s=new a.default(e,t);return o[i]=s,s},format:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.name,i=void 0===r?"default":r,o=u()[i];return o?o.format(e,t,n):((0,s.error)("\n Not found instance named ".concat(i,",\n make sure to call formatString.format() after formatString.init()\n ")),e.defaultMessage||e.id||"")},StringFormat:a.default};t.ZP=h},4998:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i=(r=n(2462))&&r.__esModule?r:{default:r},o=n(6142);function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";"string"!=typeof e&&((0,o.error)('"locale" is not a string, please check your input locale'),e="");var t=e.toLowerCase();return t.replace("-","_")}function c(e,t){if(e===t)return!0;var n=e.match(/(\S*)_/);return!!n&&c(n[1],t)}function u(e,t){var n=l(e),r=l(t);return n===r||c(n,r)}var h=function(){function e(t,n){var r=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),s(this,"dictionary",void 0),s(this,"strings",void 0),s(this,"locale",void 0),s(this,"medusa",void 0),this.dictionary={},this.locale=t||"",n||((0,o.warn)('param "strings" is undefined, please check your incoming'),n={}),n.medusa&&(this.medusa=n.medusa,delete n.medusa),this.strings=n;var a=n[t];a||(Object.keys(n).forEach((function(e){l(e)===l(t)&&((0,o.warn)("no string list for locale: ".concat(t," , will replace it with ").concat(e)),a=n[e])})),a||Object.keys(n).forEach((function(e){u(t,e)&&((0,o.warn)("no value for locale: ".concat(t," , will replace it with").concat(e)),a=n[e])}))),(!a||a&&0===Object.keys(a).length)&&((0,o.warn)("no value for locale: ".concat(t,", please check your second param")),a={}),Object.keys(a).forEach((function(e){try{var n=new i.default(a[e],t);r.dictionary[e]=n}catch(t){r.dictionary[e]={},(0,o.error)(t)}}))}var t,n;return t=e,n=[{key:"getStrings",value:function(){return this.strings}},{key:"formatString",value:function(e,t,n){var r=this.medusa,i=this.locale,o=e.format(t);return r&&r.app_name&&"pd-KV"===i&&(o="##@@@".concat(n,"##").concat(r.app_name,"@@@##").concat(o)),o}},{key:"format",value:function(){var e,t,n,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{id:""},a=arguments.length>1?arguments[1]:void 0,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},l=r.defaultMessage||r.defaultString||"",c=a&&Object.keys(a).length>0,u="",h={},p={},d=s.React,f=s.component,m=s.tagName,g=void 0===m?"span":m;if(c){var y=Math.floor(1099511627776*Math.random()).toString(16),v=(e=0,function(){return e+=1,"ELEMENT-".concat(y,"-").concat(e)});u="@__".concat(y,"__@"),Object.keys(a).forEach((function(e){var t=a[e];if(d&&d.isValidElement(t)){var n=v();h[e]=u+n+u,p[n]=t}else h[e]=t}))}if(this.dictionary[r.id])try{t=this.formatString(this.dictionary[r.id],h,r.id)}catch(e){var _=r.id?", using id as fallback.":"",b=l?", using defaultString as fallback.":_;(0,o.error)("format string: ".concat(r.id," for locale ").concat(this.locale," ").concat(b," \n").concat(e)),t=l||r.id||""}else if("string"==typeof r)(0,o.error)("type of \"des\" must be object, like: {id: '', defaultString: ''}, instead of string "),t=r||"";else{(0,o.warn)('there is no string with id="'.concat(r.id,'" for locale: "').concat(this.locale,'", use defaultString or id as fallback'));var E=l||r.id||"";try{var T=new i.default(E,this.locale);t=this.formatString(T,h,r.id)}catch(e){t=E}}if(p&&Object.keys(p).length>0){var x=t.split(u).filter((function(e){return!!e})).map((function(e){return p[e]||e})),S=f||g;return d?d.createElement.apply(d,[S,null].concat(function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(n=x)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(n)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}())):x}return t}}],n&&a(t.prototype,n),e}();t.default=h},6142:(e,t,n)=>{"use strict";var r=n(3656);Object.defineProperty(t,"__esModule",{value:!0}),t.warn=function(e){"undefined"!=typeof console&&console.warn&&void 0!==r&&r.env},t.error=function(e){"undefined"!=typeof console&&console.error&&void 0!==r&&r.env}},2439:(e,t,n)=>{"use strict";n.d(t,{Z:()=>_});var r=n(3659),i=n(5162),o=n(6297),a=n(613),s=n(1024),l=n(1838),c=n.n(l),u=n(5746),h=n(9536),p=["icon","className","onClick","style","primaryColor","secondaryColor"],d={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1},f=function(e){var t=e.icon,n=e.className,i=e.onClick,o=e.style,s=e.primaryColor,l=e.secondaryColor,c=(0,a.Z)(e,p),u=d;if(s&&(u={primaryColor:s,secondaryColor:l||(0,h.pw)(s)}),(0,h.C3)(),(0,h.Kp)((0,h.r)(t),"icon should be icon definiton, but got ".concat(t)),!(0,h.r)(t))return null;var f=t;return f&&"function"==typeof f.icon&&(f=(0,r.Z)((0,r.Z)({},f),{},{icon:f.icon(u.primaryColor,u.secondaryColor)})),(0,h.R_)(f.icon,"svg-".concat(f.name),(0,r.Z)({className:n,onClick:i,style:o,"data-icon":f.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},c))};f.displayName="IconReact",f.getTwoToneColors=function(){return(0,r.Z)({},d)},f.setTwoToneColors=function(e){var t=e.primaryColor,n=e.secondaryColor;d.primaryColor=t,d.secondaryColor=n||(0,h.pw)(t),d.calculated=!!n};const m=f;function g(e){var t=(0,h.H9)(e),n=(0,i.Z)(t,2),r=n[0],o=n[1];return m.setTwoToneColors({primaryColor:r,secondaryColor:o})}var y=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];g("#1890ff");var v=s.forwardRef((function(e,t){var n,l=e.className,p=e.icon,d=e.spin,f=e.rotate,g=e.tabIndex,v=e.onClick,_=e.twoToneColor,b=(0,a.Z)(e,y),E=s.useContext(u.Z).prefixCls,T=void 0===E?"anticon":E,x=c()(T,(n={},(0,o.Z)(n,"".concat(T,"-").concat(p.name),!!p.name),(0,o.Z)(n,"".concat(T,"-spin"),!!d||"loading"===p.name),n),l),S=g;void 0===S&&v&&(S=-1);var C=f?{msTransform:"rotate(".concat(f,"deg)"),transform:"rotate(".concat(f,"deg)")}:void 0,A=(0,h.H9)(_),R=(0,i.Z)(A,2),w=R[0],L=R[1];return s.createElement("span",(0,r.Z)((0,r.Z)({role:"img","aria-label":p.name},b),{},{ref:t,tabIndex:S,onClick:v,className:x}),s.createElement(m,{icon:p,primaryColor:w,secondaryColor:L,style:C}))}));v.displayName="AntdIcon",v.getTwoToneColor=function(){var e=m.getTwoToneColors();return e.calculated?[e.primaryColor,e.secondaryColor]:e.primaryColor},v.setTwoToneColor=g;const _=v},5746:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r=(0,n(1024).createContext)({})},703:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var r=n(3659),i=n(1024);const o={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M715.8 493.5L335 165.1c-14.2-12.2-35-1.2-35 18.5v656.8c0 19.7 20.8 30.7 35 18.5l380.8-328.4c10.9-9.4 10.9-27.6 0-37z"}}]},name:"caret-right",theme:"outlined"};var a=n(2439),s=function(e,t){return i.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:o}))};s.displayName="CaretRightOutlined";const l=i.forwardRef(s)},6840:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var r=n(3659),i=n(1024);const o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"};var a=n(2439),s=function(e,t){return i.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:o}))};s.displayName="DeleteOutlined";const l=i.forwardRef(s)},3486:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var r=n(3659),i=n(1024);const o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"};var a=n(2439),s=function(e,t){return i.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:o}))};s.displayName="DownOutlined";const l=i.forwardRef(s)},8241:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var r=n(3659),i=n(1024);const o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M875.6 515.9c2.1.8 4.4-.3 5.2-2.4.2-.4.2-.9.2-1.4v-58.3c0-1.8-1.1-3.3-2.8-3.8-6-1.8-17.2-3-27.2-3-32.9 0-61.7 16.7-73.5 41.2v-28.6c0-4.4-3.6-8-8-8H717c-4.4 0-8 3.6-8 8V729c0 4.4 3.6 8 8 8h54.8c4.4 0 8-3.6 8-8V572.7c0-36.2 26.1-60.2 65.1-60.2 10.4.1 26.6 1.8 30.7 3.4zm-537-40.5l-54.7-12.6c-61.2-14.2-87.7-34.8-87.7-70.7 0-44.6 39.1-73.5 96.9-73.5 52.8 0 91.4 26.5 99.9 68.9h70C455.9 311.6 387.6 259 293.4 259c-103.3 0-171 55.5-171 139 0 68.6 38.6 109.5 122.2 128.5l61.6 14.3c63.6 14.9 91.6 37.1 91.6 75.1 0 44.1-43.5 75.2-102.5 75.2-60.6 0-104.5-27.2-112.8-70.5H111c7.2 79.9 75.6 130.4 179.1 130.4C402.3 751 471 695.2 471 605.3c0-70.2-38.6-108.5-132.4-129.9zM841 729a36 36 0 1072 0 36 36 0 10-72 0zM653 457.8h-51.4V396c0-4.4-3.6-8-8-8h-54.7c-4.4 0-8 3.6-8 8v61.8H495c-4.4 0-8 3.6-8 8v42.3c0 4.4 3.6 8 8 8h35.9v147.5c0 56.2 27.4 79.4 93.1 79.4 11.7 0 23.6-1.2 33.8-3.1 1.9-.3 3.2-2 3.2-3.9v-49.3c0-2.2-1.8-4-4-4h-.4c-4.9.5-6.2.6-8.3.8-4.1.3-7.8.5-12.6.5-24.1 0-34.1-10.3-34.1-35.6V516.1H653c4.4 0 8-3.6 8-8v-42.3c0-4.4-3.6-8-8-8z"}}]},name:"field-string",theme:"outlined"};var a=n(2439),s=function(e,t){return i.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:o}))};s.displayName="FieldStringOutlined";const l=i.forwardRef(s)},2720:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var r=n(3659),i=n(1024);const o={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"}}]},name:"loading",theme:"outlined"};var a=n(2439),s=function(e,t){return i.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:o}))};s.displayName="LoadingOutlined";const l=i.forwardRef(s)},5538:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var r=n(3659),i=n(1024);const o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"}},{tag:"path",attrs:{d:"M176 474h672q8 0 8 8v60q0 8-8 8H176q-8 0-8-8v-60q0-8 8-8z"}}]},name:"plus",theme:"outlined"};var a=n(2439),s=function(e,t){return i.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:o}))};s.displayName="PlusOutlined";const l=i.forwardRef(s)},3747:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var r=n(3659),i=n(1024);const o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z"}}]},name:"up",theme:"outlined"};var a=n(2439),s=function(e,t){return i.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:o}))};s.displayName="UpOutlined";const l=i.forwardRef(s)},9536:(e,t,n)=>{"use strict";n.d(t,{R_:()=>ne,pw:()=>re,r:()=>ee,H9:()=>ie,vD:()=>oe,C3:()=>ae,Kp:()=>J});var r=n(3659),i=n(7743);function o(e,t){(function(e){return"string"==typeof e&&-1!==e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var n=function(e){return"string"==typeof e&&-1!==e.indexOf("%")}(e);return e=360===t?e:Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(String(e*t),10)/100),Math.abs(e-t)<1e-6?1:e=360===t?(e<0?e%t+t:e%t)/parseFloat(String(t)):e%t/parseFloat(String(t))}function a(e){return e<=1?"".concat(100*Number(e),"%"):e}function s(e){return 1===e.length?"0"+e:String(e)}function l(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*n*(t-e):n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function c(e){return u(e)/255}function u(e){return parseInt(e,16)}var h={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function p(e){var t,n,r,i={r:0,g:0,b:0},s=1,p=null,d=null,f=null,m=!1,v=!1;return"string"==typeof e&&(e=function(e){if(0===(e=e.trim().toLowerCase()).length)return!1;var t=!1;if(h[e])e=h[e],t=!0;else if("transparent"===e)return{r:0,g:0,b:0,a:0,format:"name"};var n=g.rgb.exec(e);return n?{r:n[1],g:n[2],b:n[3]}:(n=g.rgba.exec(e))?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=g.hsl.exec(e))?{h:n[1],s:n[2],l:n[3]}:(n=g.hsla.exec(e))?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=g.hsv.exec(e))?{h:n[1],s:n[2],v:n[3]}:(n=g.hsva.exec(e))?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=g.hex8.exec(e))?{r:u(n[1]),g:u(n[2]),b:u(n[3]),a:c(n[4]),format:t?"name":"hex8"}:(n=g.hex6.exec(e))?{r:u(n[1]),g:u(n[2]),b:u(n[3]),format:t?"name":"hex"}:(n=g.hex4.exec(e))?{r:u(n[1]+n[1]),g:u(n[2]+n[2]),b:u(n[3]+n[3]),a:c(n[4]+n[4]),format:t?"name":"hex8"}:!!(n=g.hex3.exec(e))&&{r:u(n[1]+n[1]),g:u(n[2]+n[2]),b:u(n[3]+n[3]),format:t?"name":"hex"}}(e)),"object"==typeof e&&(y(e.r)&&y(e.g)&&y(e.b)?(t=e.r,n=e.g,r=e.b,i={r:255*o(t,255),g:255*o(n,255),b:255*o(r,255)},m=!0,v="%"===String(e.r).substr(-1)?"prgb":"rgb"):y(e.h)&&y(e.s)&&y(e.v)?(p=a(e.s),d=a(e.v),i=function(e,t,n){e=6*o(e,360),t=o(t,100),n=o(n,100);var r=Math.floor(e),i=e-r,a=n*(1-t),s=n*(1-i*t),l=n*(1-(1-i)*t),c=r%6;return{r:255*[n,s,a,a,l,n][c],g:255*[l,n,n,s,a,a][c],b:255*[a,a,l,n,n,s][c]}}(e.h,p,d),m=!0,v="hsv"):y(e.h)&&y(e.s)&&y(e.l)&&(p=a(e.s),f=a(e.l),i=function(e,t,n){var r,i,a;if(e=o(e,360),t=o(t,100),n=o(n,100),0===t)i=n,a=n,r=n;else{var s=n<.5?n*(1+t):n+t-n*t,c=2*n-s;r=l(c,s,e+1/3),i=l(c,s,e),a=l(c,s,e-1/3)}return{r:255*r,g:255*i,b:255*a}}(e.h,p,f),m=!0,v="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(s=e.a)),s=function(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}(s),{ok:m,format:e.format||v,r:Math.min(255,Math.max(i.r,0)),g:Math.min(255,Math.max(i.g,0)),b:Math.min(255,Math.max(i.b,0)),a:s}}var d="(?:".concat("[-\\+]?\\d*\\.\\d+%?",")|(?:").concat("[-\\+]?\\d+%?",")"),f="[\\s|\\(]+(".concat(d,")[,|\\s]+(").concat(d,")[,|\\s]+(").concat(d,")\\s*\\)?"),m="[\\s|\\(]+(".concat(d,")[,|\\s]+(").concat(d,")[,|\\s]+(").concat(d,")[,|\\s]+(").concat(d,")\\s*\\)?"),g={CSS_UNIT:new RegExp(d),rgb:new RegExp("rgb"+f),rgba:new RegExp("rgba"+m),hsl:new RegExp("hsl"+f),hsla:new RegExp("hsla"+m),hsv:new RegExp("hsv"+f),hsva:new RegExp("hsva"+m),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function y(e){return Boolean(g.CSS_UNIT.exec(String(e)))}var v=2,_=.16,b=.05,E=.05,T=.15,x=5,S=4,C=[{index:7,opacity:.15},{index:6,opacity:.25},{index:5,opacity:.3},{index:5,opacity:.45},{index:5,opacity:.65},{index:5,opacity:.85},{index:4,opacity:.9},{index:3,opacity:.95},{index:2,opacity:.97},{index:1,opacity:.98}];function A(e){var t=function(e,t,n){e=o(e,255),t=o(t,255),n=o(n,255);var r=Math.max(e,t,n),i=Math.min(e,t,n),a=0,s=r,l=r-i,c=0===r?0:l/r;if(r===i)a=0;else{switch(r){case e:a=(t-n)/l+(t<n?6:0);break;case t:a=(n-e)/l+2;break;case n:a=(e-t)/l+4}a/=6}return{h:a,s:c,v:s}}(e.r,e.g,e.b);return{h:360*t.h,s:t.s,v:t.v}}function R(e){var t=e.r,n=e.g,r=e.b;return"#".concat(function(e,t,n,r){var i=[s(Math.round(e).toString(16)),s(Math.round(t).toString(16)),s(Math.round(n).toString(16))];return i.join("")}(t,n,r))}function w(e,t,n){var r;return(r=Math.round(e.h)>=60&&Math.round(e.h)<=240?n?Math.round(e.h)-v*t:Math.round(e.h)+v*t:n?Math.round(e.h)+v*t:Math.round(e.h)-v*t)<0?r+=360:r>=360&&(r-=360),r}function L(e,t,n){return 0===e.h&&0===e.s?e.s:((r=n?e.s-_*t:t===S?e.s+_:e.s+b*t)>1&&(r=1),n&&t===x&&r>.1&&(r=.1),r<.06&&(r=.06),Number(r.toFixed(2)));var r}function O(e,t,n){var r;return(r=n?e.v+E*t:e.v-T*t)>1&&(r=1),Number(r.toFixed(2))}function N(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=[],r=p(e),i=x;i>0;i-=1){var o=A(r),a=R(p({h:w(o,i,!0),s:L(o,i,!0),v:O(o,i,!0)}));n.push(a)}n.push(R(r));for(var s=1;s<=S;s+=1){var l=A(r),c=R(p({h:w(l,s),s:L(l,s),v:O(l,s)}));n.push(c)}return"dark"===t.theme?C.map((function(e){var r,i,o,a=e.index,s=e.opacity;return R((r=p(t.backgroundColor||"#141414"),o=100*s/100,{r:((i=p(n[a])).r-r.r)*o+r.r,g:(i.g-r.g)*o+r.g,b:(i.b-r.b)*o+r.b}))})):n}var I={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1890FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},k={},D={};Object.keys(I).forEach((function(e){k[e]=N(I[e]),k[e].primary=k[e][5],D[e]=N(I[e],{theme:"dark",backgroundColor:"#141414"}),D[e].primary=D[e][5]})),k.red,k.volcano,k.gold,k.orange,k.yellow,k.lime,k.green,k.cyan,k.blue,k.geekblue,k.purple,k.magenta,k.grey;var P=n(1024),M=n.n(P),F={},H=[];function B(e,t){}function U(e,t){}function j(e,t,n){t||F[n]||(e(!1,n),F[n]=!0)}function G(e,t){j(B,e,t)}G.preMessage=function(e){H.push(e)},G.resetWarned=function(){F={}},G.noteOnce=function(e,t){j(U,e,t)};const Y=G;var z="data-rc-order",$="rc-util-key",W=new Map;function V(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).mark;return e?e.startsWith("data-")?e:"data-".concat(e):$}function K(e){return e.attachTo?e.attachTo:document.querySelector("head")||document.body}function q(e){return Array.from((W.get(e)||e).children).filter((function(e){return"STYLE"===e.tagName}))}function X(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if("undefined"==typeof window||!window.document||!window.document.createElement)return null;var n=t.csp,r=t.prepend,i=document.createElement("style");i.setAttribute(z,function(e){return"queue"===e?"prependQueue":e?"prepend":"append"}(r)),null!=n&&n.nonce&&(i.nonce=null==n?void 0:n.nonce),i.innerHTML=e;var o=K(t),a=o.firstChild;if(r){if("queue"===r){var s=q(o).filter((function(e){return["prepend","prependQueue"].includes(e.getAttribute(z))}));if(s.length)return o.insertBefore(i,s[s.length-1].nextSibling),i}o.insertBefore(i,a)}else o.appendChild(i);return i}function Z(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};!function(e,t){var n=W.get(e);if(!n||!function(e,t){if(!e)return!1;if(e.contains)return e.contains(t);for(var n=t;n;){if(n===e)return!0;n=n.parentNode}return!1}(document,n)){var r=X("",t),i=r.parentNode;W.set(e,i),e.removeChild(r)}}(K(n),n);var r,i,o,a=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return q(K(t)).find((function(n){return n.getAttribute(V(t))===e}))}(t,n);if(a)return null!==(r=n.csp)&&void 0!==r&&r.nonce&&a.nonce!==(null===(i=n.csp)||void 0===i?void 0:i.nonce)&&(a.nonce=null===(o=n.csp)||void 0===o?void 0:o.nonce),a.innerHTML!==e&&(a.innerHTML=e),a;var s=X(e,n);return s.setAttribute(V(n),t),s}var Q=n(5746);function J(e,t){Y(e,"[@ant-design/icons] ".concat(t))}function ee(e){return"object"===(0,i.Z)(e)&&"string"==typeof e.name&&"string"==typeof e.theme&&("object"===(0,i.Z)(e.icon)||"function"==typeof e.icon)}function te(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.keys(e).reduce((function(t,n){var r=e[n];return"class"===n?(t.className=r,delete t.class):t[n]=r,t}),{})}function ne(e,t,n){return n?M().createElement(e.tag,(0,r.Z)((0,r.Z)({key:t},te(e.attrs)),n),(e.children||[]).map((function(n,r){return ne(n,"".concat(t,"-").concat(e.tag,"-").concat(r))}))):M().createElement(e.tag,(0,r.Z)({key:t},te(e.attrs)),(e.children||[]).map((function(n,r){return ne(n,"".concat(t,"-").concat(e.tag,"-").concat(r))})))}function re(e){return N(e)[0]}function ie(e){return e?Array.isArray(e)?e:[e]:[]}var oe={width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",focusable:"false"},ae=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"\n.anticon {\n display: inline-block;\n color: inherit;\n font-style: normal;\n line-height: 0;\n text-align: center;\n text-transform: none;\n vertical-align: -0.125em;\n text-rendering: optimizeLegibility;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\n.anticon > * {\n line-height: 1;\n}\n\n.anticon svg {\n display: inline-block;\n}\n\n.anticon::before {\n display: none;\n}\n\n.anticon .anticon-icon {\n display: block;\n}\n\n.anticon[tabindex] {\n cursor: pointer;\n}\n\n.anticon-spin::before,\n.anticon-spin {\n display: inline-block;\n -webkit-animation: loadingCircle 1s infinite linear;\n animation: loadingCircle 1s infinite linear;\n}\n\n@-webkit-keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n\n@keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n",t=(0,P.useContext)(Q.Z).csp;(0,P.useEffect)((function(){Z(e,"@ant-design-icons",{prepend:!0,csp:t})}),[])}},9876:(e,t,n)=>{"use strict";n.d(t,{dZ:()=>Md,T5:()=>ld});var r=n(2153),i=n(2721),o=n(1024),a=n.n(o),s=n(314),l=n.n(s),c=n(6840),u=n(3659);const h={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.1 209.3l-56.4 44.1C775.8 155.1 656.2 92 521.9 92 290 92 102.3 279.5 102 511.5 101.7 743.7 289.8 932 521.9 932c181.3 0 335.8-115 394.6-276.1 1.5-4.2-.7-8.9-4.9-10.3l-56.7-19.5a8 8 0 00-10.1 4.8c-1.8 5-3.8 10-5.9 14.9-17.3 41-42.1 77.8-73.7 109.4A344.77 344.77 0 01655.9 829c-42.3 17.9-87.4 27-133.8 27-46.5 0-91.5-9.1-133.8-27A341.5 341.5 0 01279 755.2a342.16 342.16 0 01-73.7-109.4c-17.9-42.4-27-87.4-27-133.9s9.1-91.5 27-133.9c17.3-41 42.1-77.8 73.7-109.4 31.6-31.6 68.4-56.4 109.3-73.8 42.3-17.9 87.4-27 133.8-27 46.5 0 91.5 9.1 133.8 27a341.5 341.5 0 01109.3 73.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 003 14.1l175.6 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c-.1-6.6-7.8-10.3-13-6.2z"}}]},name:"reload",theme:"outlined"};var p=n(2439),d=function(e,t){return o.createElement(p.Z,(0,u.Z)((0,u.Z)({},e),{},{ref:t,icon:h}))};d.displayName="ReloadOutlined";const f=o.forwardRef(d);var m=n(3050);const g={placeholder:"请选择时间",rangePlaceholder:["开始时间","结束时间"]};var y={lang:(0,m.Z)({placeholder:"请选择日期",yearPlaceholder:"请选择年份",quarterPlaceholder:"请选择季度",monthPlaceholder:"请选择月份",weekPlaceholder:"请选择周",rangePlaceholder:["开始日期","结束日期"],rangeYearPlaceholder:["开始年份","结束年份"],rangeMonthPlaceholder:["开始月份","结束月份"],rangeQuarterPlaceholder:["开始季度","结束季度"],rangeWeekPlaceholder:["开始周","结束周"]},{locale:"zh_CN",today:"今天",now:"此刻",backToToday:"返回今天",ok:"确定",timeSelect:"选择时间",dateSelect:"选择日期",weekSelect:"选择周",clear:"清除",month:"月",year:"年",previousMonth:"上个月 (翻页上键)",nextMonth:"下个月 (翻页下键)",monthSelect:"选择月份",yearSelect:"选择年份",decadeSelect:"选择年代",yearFormat:"YYYY年",dayFormat:"D日",dateFormat:"YYYY年M月D日",dateTimeFormat:"YYYY年M月D日 HH时mm分ss秒",previousYear:"上一年 (Control键加左方向键)",nextYear:"下一年 (Control键加右方向键)",previousDecade:"上一年代",nextDecade:"下一年代",previousCentury:"上一世纪",nextCentury:"下一世纪"}),timePickerLocale:(0,m.Z)({},g)};y.lang.ok="确定";var v="${label}不是一个有效的${type}";const _={locale:"zh-cn",Pagination:{items_per_page:"条/页",jump_to:"跳至",jump_to_confirm:"确定",page:"页",prev_page:"上一页",next_page:"下一页",prev_5:"向前 5 页",next_5:"向后 5 页",prev_3:"向前 3 页",next_3:"向后 3 页",page_size:"页码"},DatePicker:y,TimePicker:g,Calendar:y,global:{placeholder:"请选择"},Table:{filterTitle:"筛选",filterConfirm:"确定",filterReset:"重置",filterEmptyText:"无筛选项",filterCheckall:"全选",filterSearchPlaceholder:"在筛选项中搜索",selectAll:"全选当页",selectInvert:"反选当页",selectNone:"清空所有",selectionAll:"全选所有",sortTitle:"排序",expand:"展开行",collapse:"关闭行",triggerDesc:"点击降序",triggerAsc:"点击升序",cancelSort:"取消排序"},Modal:{okText:"确定",cancelText:"取消",justOkText:"知道了"},Popconfirm:{cancelText:"取消",okText:"确定"},Transfer:{titles:["",""],searchPlaceholder:"请输入搜索内容",itemUnit:"项",itemsUnit:"项",remove:"删除",selectCurrent:"全选当页",removeCurrent:"删除当页",selectAll:"全选所有",removeAll:"删除全部",selectInvert:"反选当页"},Upload:{uploading:"文件上传中",removeFile:"删除文件",uploadError:"上传错误",previewFile:"预览文件",downloadFile:"下载文件"},Empty:{description:"暂无数据"},Icon:{icon:"图标"},Text:{edit:"编辑",copy:"复制",copied:"复制成功",expand:"展开"},PageHeader:{back:"返回"},Form:{optional:"(可选)",defaultValidateMessages:{default:"字段验证错误${label}",required:"请输入${label}",enum:"${label}必须是其中一个[${enum}]",whitespace:"${label}不能为空字符",date:{format:"${label}日期格式无效",parse:"${label}不能转换为日期",invalid:"${label}是一个无效日期"},types:{string:v,method:v,array:v,object:v,number:v,date:v,boolean:v,integer:v,float:v,regexp:v,email:v,url:v,hex:v},string:{len:"${label}须为${len}个字符",min:"${label}最少${min}个字符",max:"${label}最多${max}个字符",range:"${label}须在${min}-${max}字符之间"},number:{len:"${label}必须等于${len}",min:"${label}最小值为${min}",max:"${label}最大值为${max}",range:"${label}须在${min}-${max}之间"},array:{len:"须为${len}个${label}",min:"最少${min}个${label}",max:"最多${max}个${label}",range:"${label}数量须在${min}-${max}之间"},pattern:{mismatch:"${label}与模式不匹配${pattern}"}}},Image:{preview:"预览"}},b={placeholder:"Select time",rangePlaceholder:["Start time","End time"]};var E={lang:(0,m.Z)({placeholder:"Select date",yearPlaceholder:"Select year",quarterPlaceholder:"Select quarter",monthPlaceholder:"Select month",weekPlaceholder:"Select week",rangePlaceholder:["Start date","End date"],rangeYearPlaceholder:["Start year","End year"],rangeQuarterPlaceholder:["Start quarter","End quarter"],rangeMonthPlaceholder:["Start month","End month"],rangeWeekPlaceholder:["Start week","End week"]},{locale:"en_US",today:"Today",now:"Now",backToToday:"Back to today",ok:"OK",clear:"Clear",month:"Month",year:"Year",timeSelect:"select time",dateSelect:"select date",weekSelect:"Choose a week",monthSelect:"Choose a month",yearSelect:"Choose a year",decadeSelect:"Choose a decade",yearFormat:"YYYY",dateFormat:"M/D/YYYY",dayFormat:"D",dateTimeFormat:"M/D/YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"Previous month (PageUp)",nextMonth:"Next month (PageDown)",previousYear:"Last year (Control + left)",nextYear:"Next year (Control + right)",previousDecade:"Last decade",nextDecade:"Next decade",previousCentury:"Last century",nextCentury:"Next century"}),timePickerLocale:(0,m.Z)({},b)},T="${label} is not a valid ${type}";const x={locale:"en",Pagination:{items_per_page:"/ page",jump_to:"Go to",jump_to_confirm:"confirm",page:"Page",prev_page:"Previous Page",next_page:"Next Page",prev_5:"Previous 5 Pages",next_5:"Next 5 Pages",prev_3:"Previous 3 Pages",next_3:"Next 3 Pages",page_size:"Page Size"},DatePicker:E,TimePicker:b,Calendar:E,global:{placeholder:"Please select"},Table:{filterTitle:"Filter menu",filterConfirm:"OK",filterReset:"Reset",filterEmptyText:"No filters",filterCheckall:"Select all items",filterSearchPlaceholder:"Search in filters",emptyText:"No data",selectAll:"Select current page",selectInvert:"Invert current page",selectNone:"Clear all data",selectionAll:"Select all data",sortTitle:"Sort",expand:"Expand row",collapse:"Collapse row",triggerDesc:"Click to sort descending",triggerAsc:"Click to sort ascending",cancelSort:"Click to cancel sorting"},Modal:{okText:"OK",cancelText:"Cancel",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"Cancel"},Transfer:{titles:["",""],searchPlaceholder:"Search here",itemUnit:"item",itemsUnit:"items",remove:"Remove",selectCurrent:"Select current page",removeCurrent:"Remove current page",selectAll:"Select all data",removeAll:"Remove all data",selectInvert:"Invert current page"},Upload:{uploading:"Uploading...",removeFile:"Remove file",uploadError:"Upload error",previewFile:"Preview file",downloadFile:"Download file"},Empty:{description:"No data"},Icon:{icon:"icon"},Text:{edit:"Edit",copy:"Copy",copied:"Copied",expand:"Expand"},PageHeader:{back:"Back"},Form:{optional:"(optional)",defaultValidateMessages:{default:"Field validation error for ${label}",required:"Please enter ${label}",enum:"${label} must be one of [${enum}]",whitespace:"${label} cannot be a blank character",date:{format:"${label} date format is invalid",parse:"${label} cannot be converted to a date",invalid:"${label} is an invalid date"},types:{string:T,method:T,array:T,object:T,number:T,date:T,boolean:T,integer:T,float:T,regexp:T,email:T,url:T,hex:T},string:{len:"${label} must be ${len} characters",min:"${label} must be at least ${min} characters",max:"${label} must be up to ${max} characters",range:"${label} must be between ${min}-${max} characters"},number:{len:"${label} must be equal to ${len}",min:"${label} must be minimum ${min}",max:"${label} must be maximum ${max}",range:"${label} must be between ${min}-${max}"},array:{len:"Must be ${len} ${label}",min:"At least ${min} ${label}",max:"At most ${max} ${label}",range:"The amount of ${label} must be between ${min}-${max}"},pattern:{mismatch:"${label} does not match the pattern ${pattern}"}}},Image:{preview:"Preview"}};e=n.hmd(e);var S=Object.defineProperty,C=Object.defineProperties,A=Object.getOwnPropertyDescriptors,R=Object.getOwnPropertySymbols,w=Object.prototype.hasOwnProperty,L=Object.prototype.propertyIsEnumerable,O=(e,t,n)=>t in e?S(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,N=(e,t)=>{for(var n in t||(t={}))w.call(t,n)&&O(e,n,t[n]);if(R)for(var n of R(t))L.call(t,n)&&O(e,n,t[n]);return e},I=(e,t)=>C(e,A(t)),k=(e,t)=>{var n={};for(var r in e)w.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&R)for(var r of R(e))t.indexOf(r)<0&&L.call(e,r)&&(n[r]=e[r]);return n};const D={tooltip:{showTooltip:!0,autoAdjustBoundary:"body",operation:{hiddenColumns:!0,trend:!1,sort:!0}},showDefaultHeaderActionIcon:!0},P=()=>[{name:(0,r.agQ)("升序"),value:"ASC"},{name:(0,r.agQ)("降序"),value:"DESC"}],M=()=>[{label:(0,r.agQ)("首字母"),value:"sortMethod"},{label:(0,r.agQ)("手动排序"),value:"sortBy"},{label:(0,r.agQ)("其他字段"),value:"sortByMeasure",children:[]}],F="antv-s2-advanced-sort",H="s2-drill-down",B="s2-strategy-sheet-tooltip",U=e=>e?`${B}-${e}`:B;var j="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,G="object"==typeof self&&self&&self.Object===Object&&self,Y=j||G||Function("return this")(),z=Y.Symbol,$=Object.prototype,W=$.hasOwnProperty,V=$.toString,K=z?z.toStringTag:void 0,q=Object.prototype.toString,X="[object Null]",Z="[object Undefined]",Q=z?z.toStringTag:void 0;function J(e){return null==e?void 0===e?Z:X:Q&&Q in Object(e)?function(e){var t=W.call(e,K),n=e[K];try{e[K]=void 0;var r=!0}catch(e){}var i=V.call(e);return r&&(t?e[K]=n:delete e[K]),i}(e):function(e){return q.call(e)}(e)}function ee(e){return null!=e&&"object"==typeof e}var te="[object Symbol]";function ne(e){return"symbol"==typeof e||ee(e)&&J(e)==te}function re(e,t){for(var n=-1,r=null==e?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}var ie=Array.isArray,oe=1/0,ae=z?z.prototype:void 0,se=ae?ae.toString:void 0;function le(e){if("string"==typeof e)return e;if(ie(e))return re(e,le)+"";if(ne(e))return se?se.call(e):"";var t=e+"";return"0"==t&&1/e==-oe?"-0":t}var ce=/\s/,ue=/^\s+/;function he(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}var pe=NaN,de=/^[-+]0x[0-9a-f]+$/i,fe=/^0b[01]+$/i,me=/^0o[0-7]+$/i,ge=parseInt;function ye(e){if("number"==typeof e)return e;if(ne(e))return pe;if(he(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=he(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;var n;e=(n=e)?n.slice(0,function(e){for(var t=e.length;t--&&ce.test(e.charAt(t)););return t}(n)+1).replace(ue,""):n;var r=fe.test(e);return r||me.test(e)?ge(e.slice(2),r?2:8):de.test(e)?pe:+e}var ve=1/0;function _e(e){var t=function(e){return e?(e=ye(e))===ve||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}(e),n=t%1;return t==t?n?t-n:t:0}function be(e){return e}var Ee="[object AsyncFunction]",Te="[object Function]",xe="[object GeneratorFunction]",Se="[object Proxy]";function Ce(e){if(!he(e))return!1;var t=J(e);return t==Te||t==xe||t==Ee||t==Se}var Ae,Re=Y["__core-js_shared__"],we=(Ae=/[^.]+$/.exec(Re&&Re.keys&&Re.keys.IE_PROTO||""))?"Symbol(src)_1."+Ae:"",Le=Function.prototype.toString;function Oe(e){if(null!=e){try{return Le.call(e)}catch(e){}try{return e+""}catch(e){}}return""}var Ne=/^\[object .+?Constructor\]$/,Ie=Function.prototype,ke=Object.prototype,De=Ie.toString,Pe=ke.hasOwnProperty,Me=RegExp("^"+De.call(Pe).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Fe(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return function(e){return!(!he(e)||(t=e,we&&we in t))&&(Ce(e)?Me:Ne).test(Oe(e));var t}(n)?n:void 0}var He=Fe(Y,"WeakMap"),Be=Object.create,Ue=function(){function e(){}return function(t){if(!he(t))return{};if(Be)return Be(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}(),je=Date.now;function Ge(e){return function(){return e}}var Ye,ze,$e,We=function(){try{var e=Fe(Object,"defineProperty");return e({},"",{}),e}catch(e){}}(),Ve=We,Ke=Ve?function(e,t){return Ve(e,"toString",{configurable:!0,enumerable:!1,value:Ge(t),writable:!0})}:be,qe=(Ye=Ke,ze=0,$e=0,function(){var e=je(),t=16-(e-$e);if($e=e,t>0){if(++ze>=800)return arguments[0]}else ze=0;return Ye.apply(void 0,arguments)});function Xe(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}function Ze(e,t,n,r){for(var i=e.length,o=n+(r?1:-1);r?o--:++o<i;)if(t(e[o],o,e))return o;return-1}function Qe(e){return e!=e}function Je(e,t,n){return t==t?function(e,t,n){for(var r=n-1,i=e.length;++r<i;)if(e[r]===t)return r;return-1}(e,t,n):Ze(e,Qe,n)}function et(e,t){return!(null==e||!e.length)&&Je(e,t,0)>-1}var tt=9007199254740991,nt=/^(?:0|[1-9]\d*)$/;function rt(e,t){var n=typeof e;return!!(t=null==t?tt:t)&&("number"==n||"symbol"!=n&&nt.test(e))&&e>-1&&e%1==0&&e<t}function it(e,t,n){"__proto__"==t&&Ve?Ve(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function ot(e,t){return e===t||e!=e&&t!=t}var at=Object.prototype.hasOwnProperty;function st(e,t,n){var r=e[t];at.call(e,t)&&ot(r,n)&&(void 0!==n||t in e)||it(e,t,n)}function lt(e,t,n,r){var i=!n;n||(n={});for(var o=-1,a=t.length;++o<a;){var s=t[o],l=r?r(n[s],e[s],s,n,e):void 0;void 0===l&&(l=e[s]),i?it(n,s,l):st(n,s,l)}return n}var ct=Math.max,ut=9007199254740991;function ht(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=ut}function pt(e){return null!=e&&ht(e.length)&&!Ce(e)}var dt=Object.prototype;function ft(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||dt)}function mt(e){return ee(e)&&"[object Arguments]"==J(e)}var gt=Object.prototype,yt=gt.hasOwnProperty,vt=gt.propertyIsEnumerable,_t=mt(function(){return arguments}())?mt:function(e){return ee(e)&&yt.call(e,"callee")&&!vt.call(e,"callee")},bt="object"==typeof exports&&exports&&!exports.nodeType&&exports,Et=bt&&e&&!e.nodeType&&e,Tt=Et&&Et.exports===bt?Y.Buffer:void 0,xt=(Tt?Tt.isBuffer:void 0)||function(){return!1},St={};function Ct(e){return function(t){return e(t)}}St["[object Float32Array]"]=St["[object Float64Array]"]=St["[object Int8Array]"]=St["[object Int16Array]"]=St["[object Int32Array]"]=St["[object Uint8Array]"]=St["[object Uint8ClampedArray]"]=St["[object Uint16Array]"]=St["[object Uint32Array]"]=!0,St["[object Arguments]"]=St["[object Array]"]=St["[object ArrayBuffer]"]=St["[object Boolean]"]=St["[object DataView]"]=St["[object Date]"]=St["[object Error]"]=St["[object Function]"]=St["[object Map]"]=St["[object Number]"]=St["[object Object]"]=St["[object RegExp]"]=St["[object Set]"]=St["[object String]"]=St["[object WeakMap]"]=!1;var At="object"==typeof exports&&exports&&!exports.nodeType&&exports,Rt=At&&e&&!e.nodeType&&e,wt=Rt&&Rt.exports===At&&j.process,Lt=function(){try{return Rt&&Rt.require&&Rt.require("util").types||wt&&wt.binding&&wt.binding("util")}catch(e){}}(),Ot=Lt&&Lt.isTypedArray,Nt=Ot?Ct(Ot):function(e){return ee(e)&&ht(e.length)&&!!St[J(e)]},It=Object.prototype.hasOwnProperty;function kt(e,t){var n=ie(e),r=!n&&_t(e),i=!n&&!r&&xt(e),o=!n&&!r&&!i&&Nt(e),a=n||r||i||o,s=a?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],l=s.length;for(var c in e)!t&&!It.call(e,c)||a&&("length"==c||i&&("offset"==c||"parent"==c)||o&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||rt(c,l))||s.push(c);return s}function Dt(e,t){return function(n){return e(t(n))}}var Pt=Dt(Object.keys,Object),Mt=Object.prototype.hasOwnProperty;function Ft(e){if(!ft(e))return Pt(e);var t=[];for(var n in Object(e))Mt.call(e,n)&&"constructor"!=n&&t.push(n);return t}function Ht(e){return pt(e)?kt(e):Ft(e)}var Bt=Object.prototype.hasOwnProperty;function Ut(e){return pt(e)?kt(e,!0):function(e){if(!he(e))return function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}(e);var t=ft(e),n=[];for(var r in e)("constructor"!=r||!t&&Bt.call(e,r))&&n.push(r);return n}(e)}var jt=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Gt=/^\w*$/;function Yt(e,t){if(ie(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!ne(e))||Gt.test(e)||!jt.test(e)||null!=t&&e in Object(t)}var zt=Fe(Object,"create"),$t=Object.prototype.hasOwnProperty,Wt=Object.prototype.hasOwnProperty;function Vt(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Kt(e,t){for(var n=e.length;n--;)if(ot(e[n][0],t))return n;return-1}Vt.prototype.clear=function(){this.__data__=zt?zt(null):{},this.size=0},Vt.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},Vt.prototype.get=function(e){var t=this.__data__;if(zt){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return $t.call(t,e)?t[e]:void 0},Vt.prototype.has=function(e){var t=this.__data__;return zt?void 0!==t[e]:Wt.call(t,e)},Vt.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=zt&&void 0===t?"__lodash_hash_undefined__":t,this};var qt=Array.prototype.splice;function Xt(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Xt.prototype.clear=function(){this.__data__=[],this.size=0},Xt.prototype.delete=function(e){var t=this.__data__,n=Kt(t,e);return!(n<0||(n==t.length-1?t.pop():qt.call(t,n,1),--this.size,0))},Xt.prototype.get=function(e){var t=this.__data__,n=Kt(t,e);return n<0?void 0:t[n][1]},Xt.prototype.has=function(e){return Kt(this.__data__,e)>-1},Xt.prototype.set=function(e,t){var n=this.__data__,r=Kt(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this};var Zt=Fe(Y,"Map");function Qt(e,t){var n=e.__data__;return function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}(t)?n["string"==typeof t?"string":"hash"]:n.map}function Jt(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Jt.prototype.clear=function(){this.size=0,this.__data__={hash:new Vt,map:new(Zt||Xt),string:new Vt}},Jt.prototype.delete=function(e){var t=Qt(this,e).delete(e);return this.size-=t?1:0,t},Jt.prototype.get=function(e){return Qt(this,e).get(e)},Jt.prototype.has=function(e){return Qt(this,e).has(e)},Jt.prototype.set=function(e,t){var n=Qt(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this};function en(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=e.apply(this,r);return n.cache=o.set(i,a)||o,a};return n.cache=new(en.Cache||Jt),n}en.Cache=Jt;var tn,nn,rn=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,on=/\\(\\)?/g,an=(tn=en((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(rn,(function(e,n,r,i){t.push(r?i.replace(on,"$1"):n||e)})),t}),(function(e){return 500===nn.size&&nn.clear(),e})),nn=tn.cache,tn);function sn(e){return null==e?"":le(e)}function ln(e,t){return ie(e)?e:Yt(e,t)?[e]:an(sn(e))}var cn=1/0;function un(e){if("string"==typeof e||ne(e))return e;var t=e+"";return"0"==t&&1/e==-cn?"-0":t}function hn(e,t){for(var n=0,r=(t=ln(t,e)).length;null!=e&&n<r;)e=e[un(t[n++])];return n&&n==r?e:void 0}function pn(e,t,n){var r=null==e?void 0:hn(e,t);return void 0===r?n:r}function dn(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}var fn=z?z.isConcatSpreadable:void 0;function mn(e){return ie(e)||_t(e)||!!(fn&&e&&e[fn])}function gn(e,t,n,r,i){var o=-1,a=e.length;for(n||(n=mn),i||(i=[]);++o<a;){var s=e[o];t>0&&n(s)?t>1?gn(s,t-1,n,r,i):dn(i,s):r||(i[i.length]=s)}return i}function yn(e){return null!=e&&e.length?gn(e,1):[]}var vn=Dt(Object.getPrototypeOf,Object),_n=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");function bn(e,t,n,r){var i=-1,o=null==e?0:e.length;for(r&&o&&(n=e[++i]);++i<o;)n=t(n,e[i],i,e);return n}function En(e){var t=this.__data__=new Xt(e);this.size=t.size}En.prototype.clear=function(){this.__data__=new Xt,this.size=0},En.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},En.prototype.get=function(e){return this.__data__.get(e)},En.prototype.has=function(e){return this.__data__.has(e)},En.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Xt){var r=n.__data__;if(!Zt||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new Jt(r)}return n.set(e,t),this.size=n.size,this};var Tn="object"==typeof exports&&exports&&!exports.nodeType&&exports,xn=Tn&&e&&!e.nodeType&&e,Sn=xn&&xn.exports===Tn?Y.Buffer:void 0,Cn=Sn?Sn.allocUnsafe:void 0;function An(e,t){for(var n=-1,r=null==e?0:e.length,i=0,o=[];++n<r;){var a=e[n];t(a,n,e)&&(o[i++]=a)}return o}function Rn(){return[]}var wn=Object.prototype.propertyIsEnumerable,Ln=Object.getOwnPropertySymbols,On=Ln?function(e){return null==e?[]:(e=Object(e),An(Ln(e),(function(t){return wn.call(e,t)})))}:Rn,Nn=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)dn(t,On(e)),e=vn(e);return t}:Rn;function In(e,t,n){var r=t(e);return ie(e)?r:dn(r,n(e))}function kn(e){return In(e,Ht,On)}function Dn(e){return In(e,Ut,Nn)}var Pn=Fe(Y,"DataView"),Mn=Fe(Y,"Promise"),Fn=Fe(Y,"Set"),Hn="[object Map]",Bn="[object Promise]",Un="[object Set]",jn="[object WeakMap]",Gn="[object DataView]",Yn=Oe(Pn),zn=Oe(Zt),$n=Oe(Mn),Wn=Oe(Fn),Vn=Oe(He),Kn=J;(Pn&&Kn(new Pn(new ArrayBuffer(1)))!=Gn||Zt&&Kn(new Zt)!=Hn||Mn&&Kn(Mn.resolve())!=Bn||Fn&&Kn(new Fn)!=Un||He&&Kn(new He)!=jn)&&(Kn=function(e){var t=J(e),n="[object Object]"==t?e.constructor:void 0,r=n?Oe(n):"";if(r)switch(r){case Yn:return Gn;case zn:return Hn;case $n:return Bn;case Wn:return Un;case Vn:return jn}return t});var qn=Kn,Xn=Object.prototype.hasOwnProperty,Zn=Y.Uint8Array;function Qn(e){var t=new e.constructor(e.byteLength);return new Zn(t).set(new Zn(e)),t}var Jn=/\w*$/,er=z?z.prototype:void 0,tr=er?er.valueOf:void 0,nr="[object Boolean]",rr="[object Date]",ir="[object Map]",or="[object Number]",ar="[object RegExp]",sr="[object Set]",lr="[object String]",cr="[object Symbol]",ur="[object ArrayBuffer]",hr="[object DataView]",pr="[object Float32Array]",dr="[object Float64Array]",fr="[object Int8Array]",mr="[object Int16Array]",gr="[object Int32Array]",yr="[object Uint8Array]",vr="[object Uint8ClampedArray]",_r="[object Uint16Array]",br="[object Uint32Array]";var Er=Lt&&Lt.isMap,Tr=Er?Ct(Er):function(e){return ee(e)&&"[object Map]"==qn(e)},xr=Lt&&Lt.isSet,Sr=xr?Ct(xr):function(e){return ee(e)&&"[object Set]"==qn(e)},Cr="[object Arguments]",Ar="[object Function]",Rr="[object Object]",wr={};function Lr(e,t,n,r,i,o){var a,s=1&t,l=2&t,c=4&t;if(n&&(a=i?n(e,r,i,o):n(e)),void 0!==a)return a;if(!he(e))return e;var u=ie(e);if(u){if(a=function(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&&Xn.call(e,"index")&&(n.index=e.index,n.input=e.input),n}(e),!s)return function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}(e,a)}else{var h=qn(e),p=h==Ar||"[object GeneratorFunction]"==h;if(xt(e))return function(e,t){if(t)return e.slice();var n=e.length,r=Cn?Cn(n):new e.constructor(n);return e.copy(r),r}(e,s);if(h==Rr||h==Cr||p&&!i){if(a=l||p?{}:function(e){return"function"!=typeof e.constructor||ft(e)?{}:Ue(vn(e))}(e),!s)return l?function(e,t){return lt(e,Nn(e),t)}(e,function(e,t){return e&<(t,Ut(t),e)}(a,e)):function(e,t){return lt(e,On(e),t)}(e,function(e,t){return e&<(t,Ht(t),e)}(a,e))}else{if(!wr[h])return i?e:{};a=function(e,t,n){var r,i,o,a=e.constructor;switch(t){case ur:return Qn(e);case nr:case rr:return new a(+e);case hr:return function(e,t){var n=t?Qn(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,n);case pr:case dr:case fr:case mr:case gr:case yr:case vr:case _r:case br:return function(e,t){var n=t?Qn(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}(e,n);case ir:return new a;case or:case lr:return new a(e);case ar:return(o=new(i=e).constructor(i.source,Jn.exec(i))).lastIndex=i.lastIndex,o;case sr:return new a;case cr:return r=e,tr?Object(tr.call(r)):{}}}(e,h,s)}}o||(o=new En);var d=o.get(e);if(d)return d;o.set(e,a),Sr(e)?e.forEach((function(r){a.add(Lr(r,t,n,r,e,o))})):Tr(e)&&e.forEach((function(r,i){a.set(i,Lr(r,t,n,i,e,o))}));var f=u?void 0:(c?l?Dn:kn:l?Ut:Ht)(e);return Xe(f||e,(function(r,i){f&&(r=e[i=r]),st(a,i,Lr(r,t,n,i,e,o))})),a}function Or(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new Jt;++t<n;)this.add(e[t])}function Nr(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}function Ir(e,t){return e.has(t)}wr[Cr]=wr["[object Array]"]=wr["[object ArrayBuffer]"]=wr["[object DataView]"]=wr["[object Boolean]"]=wr["[object Date]"]=wr["[object Float32Array]"]=wr["[object Float64Array]"]=wr["[object Int8Array]"]=wr["[object Int16Array]"]=wr["[object Int32Array]"]=wr["[object Map]"]=wr["[object Number]"]=wr[Rr]=wr["[object RegExp]"]=wr["[object Set]"]=wr["[object String]"]=wr["[object Symbol]"]=wr["[object Uint8Array]"]=wr["[object Uint8ClampedArray]"]=wr["[object Uint16Array]"]=wr["[object Uint32Array]"]=!0,wr["[object Error]"]=wr[Ar]=wr["[object WeakMap]"]=!1,Or.prototype.add=Or.prototype.push=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this},Or.prototype.has=function(e){return this.__data__.has(e)};var kr=1,Dr=2;function Pr(e,t,n,r,i,o){var a=n&kr,s=e.length,l=t.length;if(s!=l&&!(a&&l>s))return!1;var c=o.get(e),u=o.get(t);if(c&&u)return c==t&&u==e;var h=-1,p=!0,d=n&Dr?new Or:void 0;for(o.set(e,t),o.set(t,e);++h<s;){var f=e[h],m=t[h];if(r)var g=a?r(m,f,h,t,e,o):r(f,m,h,e,t,o);if(void 0!==g){if(g)continue;p=!1;break}if(d){if(!Nr(t,(function(e,t){if(!Ir(d,t)&&(f===e||i(f,e,n,r,o)))return d.push(t)}))){p=!1;break}}else if(f!==m&&!i(f,m,n,r,o)){p=!1;break}}return o.delete(e),o.delete(t),p}function Mr(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function Fr(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}var Hr=1,Br=2,Ur="[object Boolean]",jr="[object Date]",Gr="[object Error]",Yr="[object Map]",zr="[object Number]",$r="[object RegExp]",Wr="[object Set]",Vr="[object String]",Kr="[object Symbol]",qr="[object ArrayBuffer]",Xr="[object DataView]",Zr=z?z.prototype:void 0,Qr=Zr?Zr.valueOf:void 0,Jr=1,ei=Object.prototype.hasOwnProperty,ti=1,ni="[object Arguments]",ri="[object Array]",ii="[object Object]",oi=Object.prototype.hasOwnProperty;function ai(e,t,n,r,i){return e===t||(null==e||null==t||!ee(e)&&!ee(t)?e!=e&&t!=t:function(e,t,n,r,i,o){var a=ie(e),s=ie(t),l=a?ri:qn(e),c=s?ri:qn(t),u=(l=l==ni?ii:l)==ii,h=(c=c==ni?ii:c)==ii,p=l==c;if(p&&xt(e)){if(!xt(t))return!1;a=!0,u=!1}if(p&&!u)return o||(o=new En),a||Nt(e)?Pr(e,t,n,r,i,o):function(e,t,n,r,i,o,a){switch(n){case Xr:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case qr:return!(e.byteLength!=t.byteLength||!o(new Zn(e),new Zn(t)));case Ur:case jr:case zr:return ot(+e,+t);case Gr:return e.name==t.name&&e.message==t.message;case $r:case Vr:return e==t+"";case Yr:var s=Mr;case Wr:var l=r&Hr;if(s||(s=Fr),e.size!=t.size&&!l)return!1;var c=a.get(e);if(c)return c==t;r|=Br,a.set(e,t);var u=Pr(s(e),s(t),r,i,o,a);return a.delete(e),u;case Kr:if(Qr)return Qr.call(e)==Qr.call(t)}return!1}(e,t,l,n,r,i,o);if(!(n&ti)){var d=u&&oi.call(e,"__wrapped__"),f=h&&oi.call(t,"__wrapped__");if(d||f){var m=d?e.value():e,g=f?t.value():t;return o||(o=new En),i(m,g,n,r,o)}}return!!p&&(o||(o=new En),function(e,t,n,r,i,o){var a=n&Jr,s=kn(e),l=s.length;if(l!=kn(t).length&&!a)return!1;for(var c=l;c--;){var u=s[c];if(!(a?u in t:ei.call(t,u)))return!1}var h=o.get(e),p=o.get(t);if(h&&p)return h==t&&p==e;var d=!0;o.set(e,t),o.set(t,e);for(var f=a;++c<l;){var m=e[u=s[c]],g=t[u];if(r)var y=a?r(g,m,u,t,e,o):r(m,g,u,e,t,o);if(!(void 0===y?m===g||i(m,g,n,r,o):y)){d=!1;break}f||(f="constructor"==u)}if(d&&!f){var v=e.constructor,_=t.constructor;v==_||!("constructor"in e)||!("constructor"in t)||"function"==typeof v&&v instanceof v&&"function"==typeof _&&_ instanceof _||(d=!1)}return o.delete(e),o.delete(t),d}(e,t,n,r,i,o))}(e,t,n,r,ai,i))}var si=1,li=2;function ci(e){return e==e&&!he(e)}function ui(e,t){return function(n){return null!=n&&n[e]===t&&(void 0!==t||e in Object(n))}}function hi(e,t){return null!=e&&t in Object(e)}function pi(e,t){return null!=e&&function(e,t,n){for(var r=-1,i=(t=ln(t,e)).length,o=!1;++r<i;){var a=un(t[r]);if(!(o=null!=e&&n(e,a)))break;e=e[a]}return o||++r!=i?o:!!(i=null==e?0:e.length)&&ht(i)&&rt(a,i)&&(ie(e)||_t(e))}(e,t,hi)}var di=1,fi=2;function mi(e){return function(t){return null==t?void 0:t[e]}}function gi(e){return"function"==typeof e?e:null==e?be:"object"==typeof e?ie(e)?(r=e[0],i=e[1],Yt(r)&&ci(i)?ui(un(r),i):function(e){var t=pn(e,r);return void 0===t&&t===i?pi(e,r):ai(i,t,di|fi)}):(n=function(e){for(var t=Ht(e),n=t.length;n--;){var r=t[n],i=e[r];t[n]=[r,i,ci(i)]}return t}(t=e),1==n.length&&n[0][2]?ui(n[0][0],n[0][1]):function(e){return e===t||function(e,t,n,r){var i=n.length,o=i;if(null==e)return!o;for(e=Object(e);i--;){var a=n[i];if(a[2]?a[1]!==e[a[0]]:!(a[0]in e))return!1}for(;++i<o;){var s=(a=n[i])[0],l=e[s],c=a[1];if(a[2]){if(void 0===l&&!(s in e))return!1}else{var u,h=new En;if(!(void 0===u?ai(c,l,si|li,r,h):u))return!1}}return!0}(e,0,n)}):function(e){return Yt(e)?mi(un(e)):function(e){return function(t){return hn(t,e)}}(e)}(e);var t,n,r,i}var yi=function(e,t,n){for(var r=-1,i=Object(e),o=n(e),a=o.length;a--;){var s=o[++r];if(!1===t(i[s],s,i))break}return e};function vi(e,t){return e&&yi(e,t,Ht)}var _i,bi=(_i=vi,function(e,t){if(null==e)return e;if(!pt(e))return _i(e,t);for(var n=e.length,r=-1,i=Object(e);++r<n&&!1!==t(i[r],r,i););return e}),Ei=function(){return Y.Date.now()},Ti="Expected a function",xi=Math.max,Si=Math.min;function Ci(e,t,n){var r,i,o,a,s,l,c=0,u=!1,h=!1,p=!0;if("function"!=typeof e)throw new TypeError(Ti);function d(t){var n=r,o=i;return r=i=void 0,c=t,a=e.apply(o,n)}function f(e){var n=e-l;return void 0===l||n>=t||n<0||h&&e-c>=o}function m(){var e=Ei();if(f(e))return g(e);s=setTimeout(m,function(e){var n=t-(e-l);return h?Si(n,o-(e-c)):n}(e))}function g(e){return s=void 0,p&&r?d(e):(r=i=void 0,a)}function y(){var e=Ei(),n=f(e);if(r=arguments,i=this,l=e,n){if(void 0===s)return function(e){return c=e,s=setTimeout(m,t),u?d(e):a}(l);if(h)return clearTimeout(s),s=setTimeout(m,t),d(l)}return void 0===s&&(s=setTimeout(m,t)),a}return t=ye(t)||0,he(n)&&(u=!!n.leading,o=(h="maxWait"in n)?xi(ye(n.maxWait)||0,t):o,p="trailing"in n?!!n.trailing:p),y.cancel=function(){void 0!==s&&clearTimeout(s),c=0,r=l=i=s=void 0},y.flush=function(){return void 0===s?a:g(Ei())},y}function Ai(e){return"function"==typeof e?e:be}function Ri(e,t){return(ie(e)?Xe:bi)(e,Ai(t))}function wi(e,t){var n=[];return bi(e,(function(e,r,i){t(e,r,i)&&n.push(e)})),n}function Li(e,t){return(ie(e)?An:wi)(e,gi(t))}var Oi,Ni=Math.max,Ii=(Oi=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=null==n?0:_e(n);return i<0&&(i=Ni(r+i,0)),Ze(e,gi(t),i)},function(e,t,n){var r=Object(e);if(!pt(e)){var i=gi(t);e=Ht(e),t=function(e){return i(r[e],e,r)}}var o=Oi(e,t,n);return o>-1?r[i?e[o]:o]:void 0});function ki(e){return e&&e.length?e[0]:void 0}function Di(e,t){var n=-1,r=pt(e)?Array(e.length):[];return bi(e,(function(e,i,o){r[++n]=t(e,i,o)})),r}function Pi(e,t){return(ie(e)?re:Di)(e,gi(t))}var Mi="[object String]";function Fi(e){return"string"==typeof e||!ie(e)&&ee(e)&&J(e)==Mi}var Hi=Math.max,Bi=Object.prototype.hasOwnProperty;function Ui(e){if(null==e)return!0;if(pt(e)&&(ie(e)||"string"==typeof e||"function"==typeof e.splice||xt(e)||Nt(e)||_t(e)))return!e.length;var t=qn(e);if("[object Map]"==t||"[object Set]"==t)return!e.size;if(ft(e))return!Ft(e).length;for(var n in e)if(Bi.call(e,n))return!1;return!0}function ji(e,t){return ai(e,t)}function Gi(e){return null==e}function Yi(e,t,n,r){if(!he(e))return e;for(var i=-1,o=(t=ln(t,e)).length,a=o-1,s=e;null!=s&&++i<o;){var l=un(t[i]),c=n;if("__proto__"===l||"constructor"===l||"prototype"===l)return e;if(i!=a){var u=s[l];void 0===(c=r?r(u,l,s):void 0)&&(c=he(u)?u:rt(t[i+1])?[]:{})}st(s,l,c),s=s[l]}return e}var zi=mi("length"),$i="\\ud800-\\udfff",Wi="["+$i+"]",Vi="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",Ki="\\ud83c[\\udffb-\\udfff]",qi="[^"+$i+"]",Xi="(?:\\ud83c[\\udde6-\\uddff]){2}",Zi="[\\ud800-\\udbff][\\udc00-\\udfff]",Qi="(?:"+Vi+"|"+Ki+")?",Ji="[\\ufe0e\\ufe0f]?",eo=Ji+Qi+"(?:\\u200d(?:"+[qi,Xi,Zi].join("|")+")"+Ji+Qi+")*",to="(?:"+[qi+Vi+"?",Vi,Xi,Zi,Wi].join("|")+")",no=RegExp(Ki+"(?="+Ki+")|"+to+eo,"g");var ro=function(e){return qe(function(e,t,n){return t=ct(void 0===t?e.length-1:t,0),function(){for(var r=arguments,i=-1,o=ct(r.length-t,0),a=Array(o);++i<o;)a[i]=r[t+i];i=-1;for(var s=Array(t+1);++i<t;)s[i]=r[i];return s[t]=n(a),function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}(e,this,s)}}(e,void 0,yn),e+"")}((function(e,t){return null==e?{}:function(e,t){return function(e,t,n){for(var r=-1,i=t.length,o={};++r<i;){var a=t[r],s=hn(e,a);n(0,a)&&Yi(o,ln(a,e),s)}return o}(e,t,(function(t,n){return pi(e,n)}))}(e,t)})),io=ro;function oo(e,t,n,r,i){return i(e,(function(e,i,o){n=r?(r=!1,e):t(n,e,i,o)})),n}function ao(e){if(null==e)return 0;if(pt(e))return Fi(e)?function(e){return _n.test(e)}(t=e)?function(e){for(var t=no.lastIndex=0;no.test(e);)++t;return t}(t):zi(t):e.length;var t,n=qn(e);return"[object Map]"==n||"[object Set]"==n?e.size:Ft(e).length}function so(e){return sn(e).toUpperCase()}var lo=Fn&&1/Fr(new Fn([,-0]))[1]==1/0?function(e){return new Fn(e)}:function(){};function co(e){return e&&e.length?function(e,t,n){var r=-1,i=et,o=e.length,a=!0,s=[],l=s;if(o>=200){var c=lo(e);if(c)return Fr(c);a=!1,i=Ir,l=new Or}else l=s;e:for(;++r<o;){var u=e[r],h=u;if(u=0!==u?u:0,a&&h==h){for(var p=l.length;p--;)if(l[p]===h)continue e;s.push(u)}else i(l,h,n)||(l!==s&&l.push(h),s.push(u))}return s}(e):[]}const uo=e=>{let t=!0;const{s2:n,adaptive:r,container:i,wrapper:o}=e,{container:a,adaptiveWidth:s,adaptiveHeight:l}=((e,t)=>{var n,r,i;return function(e){return!0===e||!1===e||ee(e)&&"[object Boolean]"==J(e)}(t)?{container:e,adaptiveWidth:!0,adaptiveHeight:!1}:{container:(null==(n=null==t?void 0:t.getContainer)?void 0:n.call(t))||e,adaptiveWidth:null==(r=null==t?void 0:t.width)||r,adaptiveHeight:null==(i=null==t?void 0:t.height)||i}})(o,r);if(!(a&&i&&r&&n))return;const c=(e,t)=>{null==n||n.changeSheetSize(e,t),null==n||n.render(!1)},u=Ci(c,200),h=new ResizeObserver((([e]=[])=>{e&&(()=>{const{clientWidth:e,clientHeight:r}=i,o=s?Math.floor(null!=e?e:n.options.width):n.options.width,a=l?Math.floor(null!=r?r:n.options.height):n.options.height;(s||l)&&(t?(c(o,a),t=!1):u(o,a))})()}));return h.observe(a,{box:"border-box"}),()=>{h.unobserve(a)}},ho=(e,t)=>{const n=e.store.get("drillDownDataCache",[]),r=n.find((e=>e.rowId===t.id));return{drillDownDataCache:n,drillDownCurrentCache:r}},po=e=>{var t;const n=e.spreadsheet,{fields:r}=n.dataCfg,i=(null==(t=r.rows)?void 0:t.length)-1,o=!!Ui(r.values)||n.isValueInCols();return i<=e.level&&n.isHierarchyTreeType()&&o&&!e.isGrandTotals};(0,r.AfN)({zh_CN:{选择分析信息:"选择分析信息",切换指标:"切换指标",确定:"确定",取消:"取消",重置:"重置",请输入关键字搜索:"请输入关键字搜索",搜索:"搜索",恢复:"恢复","已选 {} 项":"已选 {} 项",所选项:"所选项",选择下钻维度:"选择下钻维度",恢复默认:"恢复默认",搜索字段:"搜索字段",行列切换:"行列切换",行头:"行头",列头:"列头",值:"值",展开子项:"展开子项",首字母:"首字母",手动排序:"手动排序",其他字段:"其他字段",高级排序:"高级排序",设置顺序:"设置顺序",可选字段:"可选字段","按以下规则进行排序(优先级由低到高)":"按以下规则进行排序(优先级由低到高)",按:"按",说明:"说明",复制原始数据:"复制原始数据",复制格式化数据:"复制格式化数据",下载原始数据:"下载原始数据",下载格式化数据:"下载格式化数据",操作成功:"操作成功",操作失败:"操作失败",时间:"时间",指标:"指标",目标值:"目标值"},en_US:{选择分析信息:"Select Analysis Information",切换指标:"Switch indicator",确定:"Ok",取消:"Cancel",重置:"Reset",请输入关键字搜索:"Please enter a keyword search",搜索:"Search",恢复:"Recover","已选 {} 项":"selected {} item",所选项:"selected items",选择下钻维度:"Select drill down dimension",恢复默认:"Restore default",搜索字段:"Search field",行列切换:"Switch Dimensions",行头:"Rows",列头:"Cols",值:"Values",展开子项:"Expand Children",首字母:"Alphabetical order",手动排序:"Custom order",其他字段:"Other field",高级排序:"Advanced order",设置顺序:"SetManual",可选字段:"Fields","按以下规则进行排序(优先级由低到高)":"Order according to the following rules (from low to high priority)",按:"By",说明:"Description",复制原始数据:"Copy raw data",复制格式化数据:"Copy formatted data",下载原始数据:"Download raw data",下载格式化数据:"Download formatted data",操作成功:"Operation successful",操作失败:"Operation failed",时间:"Date",指标:"Measure",目标值:"Target Value"}});var fo,mo,go=(fo=o.useEffect,function(e,t){var n=(0,o.useRef)(!1);fo((function(){return function(){n.current=!1}}),[]),fo((function(){if(n.current)return e();n.current=!0}),t)}),yo=globalThis&&globalThis.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a},vo={exports:{}};mo=vo,function(){var e={}.hasOwnProperty;function t(){for(var n=[],r=0;r<arguments.length;r++){var i=arguments[r];if(i){var o=typeof i;if("string"===o||"number"===o)n.push(i);else if(Array.isArray(i)){if(i.length){var a=t.apply(null,i);a&&n.push(a)}}else if("object"===o)if(i.toString===Object.prototype.toString)for(var s in i)e.call(i,s)&&i[s]&&n.push(s);else n.push(i.toString())}}return n.join(" ")}mo.exports?(t.default=t,mo.exports=t):window.classNames=t}();var _o=vo.exports;const bo=e=>{const{style:t={},width:n,height:i,className:o,name:s}=e,l=N({},t);return n&&(l.width=`${n}px`),i&&(l.height=`${i}px`),a().createElement("span",{style:l,className:_o(`${r.vhY}-html-icon`,o),dangerouslySetInnerHTML:{__html:(0,r.q7_)(s)}})},Eo=e=>{const{style:t={},className:n,content:i}=e,o={style:t,className:_o(`${r.vhY}-react-element`,n)};if(a().isValidElement(i))return a().createElement("span",N({},o),a().createElement(a().Fragment,null,i));const s="string"!=typeof i?null==i?void 0:i.innerHTML:i;return a().createElement("span",I(N({},o),{dangerouslySetInnerHTML:{__html:s}}))},To=e=>{const t=e,{icon:n}=t,i=k(t,["icon"]);if(!n)return null;if((0,r.q7_)(n)){const e=n;return a().createElement(bo,N({name:e},i))}return a().createElement(Eo,N({content:n},i))},xo=e=>{const{list:t=[]}=e;return a().createElement("div",{className:`${r.NO_}-detail-list`},t.map(((e,t)=>{const{name:n,value:i,icon:o}=e;return a().createElement("div",{key:`${i}-${t}`,className:`${r.NO_}-detail-item`},a().createElement("span",{className:`${r.NO_}-detail-item-key`},n),a().createElement("span",{className:`${r.NO_}-detail-item-val ${r.NO_}-highlight`},o?a().createElement(To,{icon:o,width:8,height:7}):null,i))})))},So=e=>{var t,n;const{rows:i=[],cols:o=[]}=e;return a().createElement("div",{className:`${r.NO_}-head-info-list`},null==(t=o.map((e=>e.value)))?void 0:t.join("/"),o.length>0&&i.length>0&&",",null==(n=i.map((e=>e.value)))?void 0:n.join("/"))},Co=e=>{const{infos:t=""}=e;return a().createElement("div",{className:`${r.NO_}-infos`},t)},Ao=e=>{const{name:t,icon:n,text:i,render:o}=e;return a().createElement("div",{className:`${r.NO_}-interpretation`},a().createElement("div",{className:`${r.NO_}-interpretation-head`},a().createElement(To,{icon:n,className:`${r.NO_}-interpretation-icon`}),t&&a().createElement("span",{className:`${r.NO_}-interpretation-name`},t)),i&&a().createElement("div",null,i),a().createElement(Eo,{content:o}))},Ro=a().memo((e=>{const{menus:t,onlyMenu:n,onClick:o,cell:s,defaultSelectedKeys:l}=e,c=e=>a().createElement("span",{onClick:()=>{var t;return null==(t=e.onClick)?void 0:t.call(e,s)}},a().createElement(To,{icon:e.icon,className:`${r.NO_}-operator-icon`}),a().createElement("span",{className:`${r.NO_}-operator-text`},e.text)),u=e=>{const{key:t,text:n,children:o,onClick:l}=e;return Ui(o)?a().createElement(i.Menu.Item,{title:n,key:t},c(e)):a().createElement(i.Menu.SubMenu,{title:c(e),key:t,popupClassName:`${r.NO_}-operator-submenu-popup`,onTitleClick:()=>null==l?void 0:l(s)},Pi(o,(e=>u(e))))};return Ui(t)?null:a().createElement("div",{className:`${r.NO_}-operator`},n?a().createElement(i.Menu,{className:`${r.NO_}-operator-menus`,onClick:o,defaultSelectedKeys:l},Pi(t,(e=>u(e)))):Pi(t,(e=>{const{key:t,children:n}=e,s=Ui(n)?a().createElement(a().Fragment,null):a().createElement(i.Menu,{className:`${r.NO_}-operator-menus`,onClick:o,key:t,defaultSelectedKeys:l},Pi(n,(e=>u(e))));return a().createElement(i.Dropdown,{key:t,overlay:s},c(e))})))})),wo=e=>{const{tips:t="",name:n=""}=e;return a().createElement(a().Fragment,null,n&&a().createElement("div",{className:`${r.NO_}-name`},n),t&&a().createElement("div",{className:`${r.NO_}-tips`},t))},Lo=a().memo((e=>{const{summaries:t=[]}=e;return a().createElement("div",{className:`${r.NO_}-summary`},(()=>{const e=(i=e=>ao(null==e?void 0:e.selectedData),(n=t)&&n.length?function(e,t){for(var n,r=-1,i=e.length;++r<i;){var o=t(e[r]);void 0!==o&&(n=void 0===n?o:n+o)}return n}(n,gi(i)):0);var n,i;return a().createElement("div",{className:`${r.NO_}-summary-item`},a().createElement("span",{className:`${r.NO_}-selected`},e," ",(0,r.agQ)("项")),(0,r.agQ)("已选择"))})(),null==t?void 0:t.map((e=>{const{name:t="",value:n}=e||{};if(t||n)return a().createElement("div",{key:`${t}-${n}`,className:`${r.NO_}-summary-item`},t?a().createElement("span",{className:`${r.NO_}-summary-key`},t," (",(0,r.agQ)("总和"),")"):a().createElement("span",{className:`${r.NO_}-summary-key`}," "),a().createElement("span",{className:_o(`${r.NO_}-summary-val`,`${r.NO_}-bold`)},n))})))})),Oo=({description:e})=>a().createElement(a().Fragment,null,e&&a().createElement("div",{className:`${r.NO_}-description`},(0,r.agQ)("说明"),":",e)),No=e=>{const{data:t,options:n,content:i,cell:o}=e,s=(e,t)=>e&&a().createElement(Ro,I(N({},e),{onlyMenu:t,cell:o}));return(()=>{const{operator:e,onlyMenu:o}=(0,r.IZo)(n),{summaries:l,headInfo:c,details:u,interpretation:h,infos:p,tips:d,name:f,description:m}=t||{},g={name:f,tips:d};if(o)return s(e,!0);const y=a().createElement(a().Fragment,null,(e=>{const{name:t,tips:n}=e||{};return a().createElement(wo,{name:t,tips:n})})(g),(e=>!Ui(e)&&a().createElement(Lo,{summaries:e}))(l),(e=>e&&a().createElement(Ao,N({},e)))(h),(e=>{const{cols:t,rows:n}=e||{};return(!Ui(t)||!Ui(n))&&a().createElement(So,{cols:t,rows:n})})(c),(e=>!Ui(e)&&a().createElement(xo,{list:e}))(u),(e=>e&&a().createElement(Co,{infos:e}))(p),(e=>a().createElement(Oo,{description:e}))(m));return a().createElement(a().Fragment,null,s(e),null!=i?i:y)})()};class Io extends r.N6r{constructor(e){super(e)}renderContent(){var e,t,n;const{content:r}=this.spreadsheet.options.tooltip,i=this.options,o=this.spreadsheet.getCell(null==(e=i.event)?void 0:e.target),s=null!=(t=i.content)?t:r,c=I(N({},i),{cell:o,content:s});(null==(n=i.options)?void 0:n.forceRender)&&this.unmountComponentAtNode(),l().render(a().createElement(No,I(N({},c),{content:s})),this.container)}destroy(){super.destroy(),this.unmountComponentAtNode()}unmountComponentAtNode(){this.container&&l().unmountComponentAtNode(this.container)}}const ko={tooltip:{renderTooltip:e=>new Io(e)}},Do=(...e)=>((...e)=>(0,r._Ge)(r.WNh,D,...e))(ko,...e),Po=(e,t,n)=>{a().useEffect((()=>{const i=e=>{null==t||t((0,r.c8d)(e))};return null==n||n.on(e,i),()=>{null==n||n.off(e,i)}}),[n,t,e])},Mo=(e,t,n,r=!1)=>{a().useEffect((()=>{const i=e=>{null==t||t(e)};return null==n||n.on(e,i),()=>{r&&(null==n||n.emit(e)),null==n||n.off(e,i)}}),[n,t,e])};function Fo(e){const t=(v=yo((0,o.useState)({}),2)[1],(0,o.useCallback)((function(){return v({})}),[])),n=a().useRef(),i=a().useRef(),s=a().useRef(),{spreadsheet:l,dataCfg:c,options:u,themeCfg:h,sheetType:p,onSheetUpdate:d=be}=e,f=a().useRef([c,u,h]),{loading:m,setLoading:g}=((e,t)=>{const[n,i]=a().useState(t);return a().useEffect((()=>{null==e||e.on(r.ch4.LAYOUT_BEFORE_RENDER,(()=>{i(!0)})),null==e||e.on(r.ch4.LAYOUT_AFTER_RENDER,(()=>{i(!1)}))}),[e]),{loading:null!=t?t:n,setLoading:i}})(n.current,e.loading),y=((e,t)=>{const{options:{pagination:n},showPagination:i}=t,[o,s]=a().useState({total:0,current:(null==n?void 0:n.current)||1,pageSize:(null==n?void 0:n.pageSize)||10});return go((()=>{e&&!Ui(n)&&(e.updatePagination({current:o.current,pageSize:o.pageSize}),e.render(!1))}),[o.current,o.pageSize,e]),go((()=>{var t,r;s({total:null!=(r=null==(t=null==e?void 0:e.facet)?void 0:t.viewCellHeights.getTotalLength())?r:0,current:(null==n?void 0:n.current)||1,pageSize:(null==n?void 0:n.pageSize)||10})}),[n,e]),go((()=>{if(!e||Ui(n))return;const t=e=>{s((t=>I(N({},t),{total:e.total})))};return e.on(r.ch4.LAYOUT_PAGINATION,t),()=>{e.off(r.ch4.LAYOUT_PAGINATION,t)}}),[n,e]),{showPagination:Boolean(i),pagination:N(N({},n),o),onShowSizeChange:(e,t)=>{var r;const o=null!=(r=pn(i,"onShowSizeChange"))?r:null==n?void 0:n.onShowSizeChange;null==o||o(e,t)},onChange:(e,t)=>{var r;s(I(N({},o),{current:e,pageSize:t}));const a=null!=(r=pn(i,"onChange"))?r:null==n?void 0:n.onChange;null==a||a(e,t)}}})(n.current,e);var v;!function(e,t){Po(r.ch4.ROW_CELL_HOVER,e.onRowCellHover,t),Po(r.ch4.ROW_CELL_CLICK,e.onRowCellClick,t),Po(r.ch4.ROW_CELL_DOUBLE_CLICK,e.onRowCellDoubleClick,t),Po(r.ch4.ROW_CELL_CONTEXT_MENU,e.onRowCellContextMenu,t),Po(r.ch4.ROW_CELL_MOUSE_DOWN,e.onRowCellMouseDown,t),Po(r.ch4.ROW_CELL_MOUSE_UP,e.onRowCellMouseUp,t),Po(r.ch4.ROW_CELL_MOUSE_MOVE,e.onRowCellMouseMove,t),Mo(r.ch4.ROW_CELL_COLLAPSE_TREE_ROWS,e.onRowCellCollapseTreeRows,t),Mo(r.ch4.ROW_CELL_SCROLL,e.onRowCellScroll,t),Po(r.ch4.COL_CELL_HOVER,e.onColCellHover,t),Po(r.ch4.COL_CELL_CLICK,e.onColCellClick,t),Po(r.ch4.COL_CELL_DOUBLE_CLICK,e.onColCellDoubleClick,t),Po(r.ch4.COL_CELL_CONTEXT_MENU,e.onColCellContextMenu,t),Po(r.ch4.COL_CELL_MOUSE_DOWN,e.onColCellMouseDown,t),Po(r.ch4.COL_CELL_MOUSE_UP,e.onColCellMouseUp,t),Po(r.ch4.COL_CELL_MOUSE_MOVE,e.onColCellMouseMove,t),Po(r.ch4.DATA_CELL_HOVER,e.onDataCellHover,t),Po(r.ch4.DATA_CELL_CLICK,e.onDataCellClick,t),Po(r.ch4.DATA_CELL_DOUBLE_CLICK,e.onDataCellDoubleClick,t),Po(r.ch4.DATA_CELL_CONTEXT_MENU,e.onDataCellContextMenu,t),Po(r.ch4.DATA_CELL_MOUSE_DOWN,e.onDataCellMouseDown,t),Po(r.ch4.DATA_CELL_MOUSE_UP,e.onDataCellMouseUp,t),Po(r.ch4.DATA_CELL_MOUSE_MOVE,e.onDataCellMouseMove,t),Mo(r.ch4.DATA_CELL_TREND_ICON_CLICK,e.onDataCellTrendIconClick,t),Mo(r.ch4.DATA_CELL_BRUSH_SELECTION,e.onDataCellBrushSelection,t),Mo(r.ch4.DATA_CELL_SELECT_MOVE,e.onDataCellSelectMove,t),Po(r.ch4.CORNER_CELL_HOVER,e.onCornerCellHover,t),Po(r.ch4.CORNER_CELL_CLICK,e.onCornerCellClick,t),Po(r.ch4.CORNER_CELL_DOUBLE_CLICK,e.onCornerCellDoubleClick,t),Po(r.ch4.CORNER_CELL_CONTEXT_MENU,e.onCornerCellContextMenu,t),Po(r.ch4.CORNER_CELL_MOUSE_DOWN,e.onCornerCellMouseDown,t),Po(r.ch4.CORNER_CELL_MOUSE_UP,e.onCornerCellMouseUp,t),Po(r.ch4.CORNER_CELL_MOUSE_MOVE,e.onCornerCellMouseMove,t),Po(r.ch4.MERGED_CELLS_HOVER,e.onMergedCellsHover,t),Po(r.ch4.MERGED_CELLS_CLICK,e.onMergedCellsClick,t),Po(r.ch4.MERGED_CELLS_DOUBLE_CLICK,e.onMergedCellsDoubleClick,t),Po(r.ch4.MERGED_CELLS_CONTEXT_MENU,e.onMergedCellsContextMenu,t),Po(r.ch4.MERGED_CELLS_MOUSE_DOWN,e.onMergedCellsMouseDown,t),Po(r.ch4.MERGED_CELLS_MOUSE_UP,e.onMergedCellsMouseUp,t),Po(r.ch4.MERGED_CELLS_MOUSE_MOVE,e.onMergedCellsMouseMove,t),Mo(r.ch4.RANGE_SORT,e.onRangeSort,t),Mo(r.ch4.RANGE_SORTED,e.onRangeSorted,t),Mo(r.ch4.RANGE_FILTER,e.onRangeFilter,t),Mo(r.ch4.RANGE_FILTERED,e.onRangeFiltered,t),Mo(r.ch4.LAYOUT_AFTER_HEADER_LAYOUT,e.onLayoutAfterHeaderLayout,t),Mo(r.ch4.LAYOUT_PAGINATION,e.onLayoutPagination,t),Mo(r.ch4.LAYOUT_CELL_SCROLL,e.onLayoutCellScroll,t),Mo(r.ch4.LAYOUT_AFTER_COLLAPSE_ROWS,e.onLayoutAfterCollapseRows,t),Mo(r.ch4.LAYOUT_TREE_ROWS_COLLAPSE_ALL,e.onCollapseRowsAll,t),Mo(r.ch4.LAYOUT_COLS_EXPANDED,e.onLayoutColsExpanded,t),Mo(r.ch4.LAYOUT_COLS_HIDDEN,e.onLayoutColsHidden,t),Mo(r.ch4.LAYOUT_BEFORE_RENDER,e.onBeforeRender,t),Mo(r.ch4.LAYOUT_AFTER_RENDER,e.onAfterRender,t),Mo(r.ch4.LAYOUT_DESTROY,e.onDestroy,t,!0),Mo(r.ch4.LAYOUT_RESIZE,e.onLayoutResize,t),Mo(r.ch4.LAYOUT_RESIZE_SERIES_WIDTH,e.onLayoutResizeSeriesWidth,t),Mo(r.ch4.LAYOUT_RESIZE_ROW_WIDTH,e.onLayoutResizeRowWidth,t),Mo(r.ch4.LAYOUT_RESIZE_ROW_HEIGHT,e.onLayoutResizeRowHeight,t),Mo(r.ch4.LAYOUT_RESIZE_COL_WIDTH,e.onLayoutResizeColWidth,t),Mo(r.ch4.LAYOUT_RESIZE_COL_HEIGHT,e.onLayoutResizeColHeight,t),Mo(r.ch4.LAYOUT_RESIZE_TREE_WIDTH,e.onLayoutResizeTreeWidth,t),Mo(r.ch4.LAYOUT_RESIZE_MOUSE_DOWN,e.onLayoutResizeMouseDown,t),Mo(r.ch4.LAYOUT_RESIZE_MOUSE_UP,e.onLayoutResizeMouseUp,t),Mo(r.ch4.LAYOUT_RESIZE_MOUSE_MOVE,e.onLayoutResizeMouseMove,t),Mo(r.ch4.GLOBAL_KEYBOARD_DOWN,e.onKeyBoardDown,t),Mo(r.ch4.GLOBAL_KEYBOARD_UP,e.onKeyBoardUp,t),Mo(r.ch4.GLOBAL_COPIED,e.onCopied,t),Mo(r.ch4.GLOBAL_ACTION_ICON_HOVER,e.onActionIconHover,t),Mo(r.ch4.GLOBAL_ACTION_ICON_CLICK,e.onActionIconClick,t),Mo(r.ch4.GLOBAL_CONTEXT_MENU,e.onContextMenu,t),Mo(r.ch4.GLOBAL_HOVER,e.onMouseHover,t),Mo(r.ch4.GLOBAL_CLICK,e.onClick,t),Mo(r.ch4.GLOBAL_DOUBLE_CLICK,e.onDoubleClick,t),Mo(r.ch4.GLOBAL_SELECTED,e.onSelected,t),Mo(r.ch4.GLOBAL_MOUSE_UP,e.onMouseUp,t),Mo(r.ch4.GLOBAL_RESET,e.onReset,t),Mo(r.ch4.GLOBAL_LINK_FIELD_JUMP,e.onLinkFieldJump,t),Mo(r.ch4.GLOBAL_SCROLL,e.onScroll,t),Mo(r.ch4.LAYOUT_AFTER_REAL_DATA_CELL_RENDER,e.onLayoutAfterRealDataCellRender,t),Mo(r.ch4.ROW_CELL_BRUSH_SELECTION,e.onRowCellBrushSelection,t),Mo(r.ch4.COL_CELL_BRUSH_SELECTION,e.onColCellBrushSelection,t)}(e,n.current);const _=a().useCallback((e=>{const t=Do(u);return l?l(e,c,t):"table"===p?new r.HZt(e,c,t):new r.TA7(e,c,t)}),[p,u,c,l]),b=a().useCallback((()=>{var r;g(!0),n.current=_(i.current),n.current.setThemeCfg(e.themeCfg),n.current.render(),g(!1),t(),e.getSpreadSheet&&(console.warn("[SheetComponent] `getSpreadSheet` is deprecated. Please use `onMounted` instead."),e.getSpreadSheet(n.current)),null==(r=e.onMounted)||r.call(e,n.current)}),[e,_,g,t]);return a().useEffect((()=>(b(),()=>{var e,t;null==(t=(e=n.current).destroy)||t.call(e)})),[]),go((()=>{var e,t,r,i,o,a,s,l,p,m,g;const[y,v,_]=f.current;f.current=[c,u,h];let b=!1,E=!1;Object.is(y,c)||((null==(t=null==(e=null==y?void 0:y.fields)?void 0:e.columns)?void 0:t.length)!==(null==(i=null==(r=null==c?void 0:c.fields)?void 0:r.columns)?void 0:i.length)&&(null==(o=n.current)||o.clearColumnLeafNodes()),b=!0,null==(a=n.current)||a.setDataCfg(c)),Object.is(v,u)||(Object.is(null==v?void 0:v.hierarchyType,null==u?void 0:u.hierarchyType)||(E=!0,b=!0,null==(s=n.current)||s.setDataCfg(c)),null==(l=n.current)||l.setOptions(u),null==(p=n.current)||p.changeSheetSize(u.width,u.height)),Object.is(_,h)||null==(m=n.current)||m.setThemeCfg(h);const T=d({reloadData:b,reBuildDataSet:E});null==(g=n.current)||g.render(T.reloadData,{reBuildDataSet:T.reBuildDataSet})}),[c,u,h,d]),(e=>{const{s2:t,adaptive:n,container:r,wrapper:i}=e;a().useLayoutEffect((()=>uo({s2:t,adaptive:n,wrapper:i,container:r})),[t,i,r,n])})({s2:n.current,container:i.current,wrapper:s.current,adaptive:e.adaptive}),{s2Ref:n,containerRef:i,wrapperRef:s,loading:m,setLoading:g,pagination:y}}const Ho=a().createContext(null);function Bo(){return a().useContext(Ho)}const Uo=e=>o.createElement("svg",N({className:"antv-s2-icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:12.6,height:12.6},e),o.createElement("path",{d:"M950.016 898.016l-206.016-204.992Q832 586.016 832 448.032q0-159.008-112.512-271.488T448 64.032 176.512 176.544 64 448.032t112.512 271.488T448 832.032q138.016 0 244.992-88l206.016 206.016q10.016 10.016 24.992 10.016t26.016-10.016q10.016-11.008 10.016-26.016t-10.016-26.016zM568.992 736Q512 760 448 760T327.008 736q-56-24-99.488-67.488t-66.496-99.488q-24.992-56.992-24.992-120.992t24.992-120.992q23.008-56 66.496-99.488t99.488-67.488Q384 136.064 448 136.064t120.992 24q56 24 99.488 67.488t67.488 99.488q24 56.992 24 120.992t-24 120.992q-24 56-67.488 99.488T568.992 736z",fill:"currentColor"})),jo=e=>o.createElement("svg",N({viewBox:"0 0 1024 1024",width:16,height:16,className:"antv-s2-icon"},e),o.createElement("defs",null,o.createElement("style",{type:"text/css"})),o.createElement("path",{d:"M441.6 249.6c0 38.4 32 70.4 70.4 70.4s70.4-32 70.4-70.4c0-38.4-32-70.4-70.4-70.4s-70.4 25.6-70.4 70.4z m0 262.4c0 38.4 32 70.4 70.4 70.4s70.4-32 70.4-70.4c0-38.4-32-70.4-70.4-70.4s-70.4 32-70.4 70.4z m0 262.4c0 38.4 32 70.4 70.4 70.4s70.4-32 70.4-70.4c0-38.4-32-70.4-70.4-70.4s-70.4 32-70.4 70.4z",fill:"currentColor","p-id":22217})),Go=e=>o.createElement("svg",N({className:"antv-s2-icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:12.6,height:12.6},e),o.createElement("path",{d:"M511.804 222.338c-57.117 0-105.737 20.061-145.86 60.184-40.122 40.123-60.184 88.569-60.184 145.337 0 56.769 20.062 105.214 60.185 145.337 40.122 40.123 88.742 60.185 145.859 60.185 57.116 0 105.736-20.062 145.859-60.185 40.123-40.123 60.184-88.568 60.184-145.337 0-56.768-20.061-105.214-60.184-145.337-40.123-40.123-88.743-60.184-145.86-60.184z m0 338.619c-36.729 0-68.007-12.925-93.835-38.774-25.827-25.85-38.752-57.127-38.773-93.834-0.022-36.707 12.902-68.16 38.773-94.357 25.872-26.197 57.15-39.285 93.835-39.263 36.685 0.022 67.963 13.11 93.834 39.263 25.871 26.154 38.796 57.606 38.774 94.357-0.022 36.75-12.946 68.028-38.774 93.834-25.828 25.806-57.106 38.73-93.834 38.774z m366.165-295.766c-21.084-42.168-50.327-79.223-87.73-111.165-37.404-31.941-79.898-57.105-127.484-75.491C614.472 60.845 564.155 52 511.804 52c-52.352 0-103.006 8.845-151.963 26.535-46.911 18.364-89.069 43.528-126.472 75.491-37.403 31.964-66.647 69.019-87.731 111.165C123.879 308.71 113 353.923 113 400.835c0 65.95 15.982 132.924 47.945 200.92 26.524 56.441 63.58 112.198 111.165 167.27 62.556 73.435 134.632 138.71 216.227 195.827 6.81 4.765 14.459 7.148 22.945 7.148 8.485 0 16.47-2.383 23.956-7.148 81.595-57.79 153.67-123.067 216.227-195.828 47.608-55.767 84.663-111.524 111.165-167.27 31.963-67.995 47.945-134.969 47.945-200.919 0-46.912-10.88-92.126-32.638-135.644h0.032z m-40.797 136.656c0 55.07-13.6 111.513-40.798 169.326-23.129 49.631-56.452 99.948-99.97 150.95-52.351 61.208-113.885 117.65-184.6 169.326-70.716-51.676-132.25-108.118-184.6-169.326-42.844-51.002-76.167-101.319-99.971-150.95-27.198-57.791-40.797-114.57-40.797-170.338 0-36.032 8.159-70.716 24.478-104.05 16.994-32.638 40.45-61.882 70.368-87.73 30.592-26.525 65.276-47.26 104.05-62.209 40.797-14.97 82.954-22.455 126.472-22.455 43.517 0 85.675 7.485 126.472 22.455 38.752 14.97 73.436 35.706 104.05 62.208 30.593 25.85 54.048 55.093 70.367 87.731 16.32 34.009 24.479 69.03 24.479 105.062z",fill:"currentColor"})),Yo=e=>o.createElement("svg",N({className:"antv-s2-icon",width:"16px",height:"16px",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),o.createElement("path",{d:"M18.0047888,16.4055 C18.1082888,16.4055 18.1922888,16.4895 18.1922888,16.593 L18.1922888,17.9055 C18.1922888,18.0090534 18.1083422,18.093 18.0047888,18.093 L9.37978883,18.093 C9.27623544,18.093 9.19228883,18.0090534 9.19228883,17.9055 L9.19228883,16.593 C9.19228883,16.4895 9.27628883,16.4055 9.37978883,16.4055 L18.0047888,16.4055 Z M4.41328883,1.6665 L4.46428883,1.7115 L7.08928883,5.0385 C7.17478883,5.1435 7.12078883,5.2935 7.00528883,5.3325 L6.94228883,5.343 L5.16028883,5.343 L5.16028883,14.25 L6.94228883,14.25 C7.09978883,14.25 7.18828883,14.433 7.08928883,14.5545 L4.46428883,17.88 C4.42872537,17.9249155 4.37457895,17.9511073 4.31728883,17.9511073 C4.25999871,17.9511073 4.20585229,17.9249155 4.17028883,17.88 L1.54528883,14.5545 C1.50119832,14.4981177 1.49305316,14.4215528 1.52429494,14.3571564 C1.55553672,14.2927601 1.62071465,14.2517677 1.69228883,14.2515 L3.47428883,14.2515 L3.47428883,5.343 L1.69228883,5.343 C1.63110128,5.34394015 1.57330492,5.31496201 1.53745415,5.26536844 C1.50160338,5.21577487 1.49220972,5.15180683 1.51228883,5.094 L1.54528883,5.0385 L4.17028883,1.713 C4.22854609,1.63918993 4.33246412,1.61994585 4.41328883,1.668 L4.41328883,1.6665 Z M15.7547888,11.4375 C15.8582888,11.4375 15.9422888,11.5215 15.9422888,11.625 L15.9422888,12.9375 C15.9422888,13.0410534 15.8583422,13.125 15.7547888,13.125 L9.37978883,13.125 C9.33006074,13.125 9.28236938,13.1052456 9.24720631,13.0700825 C9.21204324,13.0349195 9.19228883,12.9872281 9.19228883,12.9375 L9.19228883,11.625 C9.19228883,11.5215 9.27628883,11.4375 9.37978883,11.4375 L15.7547888,11.4375 Z M21.7547888,6.468 C21.8582888,6.468 21.9422888,6.5535 21.9422888,6.6555 L21.9422888,7.968 C21.9422888,8.07155339 21.8583422,8.1555 21.7547888,8.1555 L9.37978883,8.1555 C9.33006074,8.1555 9.28236938,8.13574559 9.24720631,8.10058252 C9.21204324,8.06541945 9.19228883,8.01772809 9.19228883,7.968 L9.19228883,6.6555 C9.19228883,6.5535 9.27628883,6.468 9.37978883,6.468 L21.7547888,6.468 Z M13.5047888,1.5 C13.6082888,1.5 13.6922888,1.584 13.6922888,1.6875 L13.6922888,3 C13.6922888,3.10355339 13.6083422,3.1875 13.5047888,3.1875 L9.37978883,3.1875 C9.33006074,3.1875 9.28236938,3.16774559 9.24720631,3.13258252 C9.21204324,3.09741945 9.19228883,3.04972809 9.19228883,3 L9.19228883,1.6875 C9.19228883,1.584 9.27628883,1.5 9.37978883,1.5 L13.5047888,1.5 Z",fill:"currentColor"})),zo=e=>o.createElement("svg",N({width:"12px",height:"12px",viewBox:"0 0 12 12",xmlns:"http://www.w3.org/2000/svg",className:"antv-s2-icon"},e),o.createElement("g",{stroke:"none",fill:"none",fillRule:"evenodd"},o.createElement("g",{transform:"translate(-153.000000, -608.000000)",fill:"currentColor"},o.createElement("g",{transform:"translate(127.000000, 549.000000)"},o.createElement("g",{transform:"translate(24.000000, 57.000000)"},o.createElement("g",{transform:"translate(2.000000, 2.000000)"},o.createElement("path",{d:"M0.771428571,3.77142857 L3.77142857,3.77142857 L3.77142857,5.65714286 L0.771428571,5.65714286 L0.771428571,3.77142857 Z M0.771428571,6.34285714 L3.77142857,6.34285714 L3.77142857,8.57142857 L0.771428571,8.57142857 L0.771428571,6.34285714 Z M0.771428571,9 L3.77142857,9 L3.77142857,11.2285714 L0.771428571,11.2285714 L0.771428571,9 Z"}),o.createElement("path",{d:"M0.771428571,9 L0.771428571,11.2285714 L11.2285714,11.2285714 L11.2285714,3.77142857 L0.771428571,3.77142857 L0.771428571,5.65714286 L3.77142857,5.65714286 L3.77142857,3.77142857 L4.54285714,3.77142857 L4.54285714,11.3142857 L3.77142857,11.3142857 L3.77142857,9.08571429 L0.771428571,9.08571429 L0.771428571,9 Z M0.771428571,8.22857143 L3.77142857,8.22857143 L3.77142857,6.34285714 L0.771428571,6.34285714 L0.771428571,8.22857143 L0.771428571,8.22857143 Z M11.2285714,3 L11.2285714,0.771428571 L0.771428571,0.771428571 L0.771428571,3 L11.2285714,3 Z M12,0 L12,12 L0,12 L0,0 L12,0 Z"}))))))),$o=e=>o.createElement("svg",N({width:"12px",height:"12px",viewBox:"0 0 12 12",xmlns:"http://www.w3.org/2000/svg",className:"antv-s2-icon"},e),o.createElement("g",{stroke:"none",fill:"none",fillRule:"evenodd"},o.createElement("g",{transform:"translate(-153.000000, -814.000000)",fill:"currentColor",fillRule:"nonzero"},o.createElement("g",{transform:"translate(127.000000, 549.000000)"},o.createElement("g",{transform:"translate(24.000000, 55.000000)"},o.createElement("g",{transform:"translate(0.000000, 208.000000)"},o.createElement("g",{transform:"translate(2.000000, 2.000000)"},o.createElement("path",{d:"M4.45714286,11.2285714 L11.2285714,11.2285714 L11.2285714,3.77142857 L4.45714286,3.77142857 L4.45714286,11.2285714 Z M3.77142857,11.2285714 L3.77142857,3.77142857 L0.771428571,3.77142857 L0.771428571,11.3142857 L3.77142857,11.3142857 L3.77142857,11.2285714 Z M11.2285714,3 L11.2285714,0.771428571 L0.771428571,0.771428571 L0.771428571,3 L11.2285714,3 Z M12,0 L12,12 L0,12 L0,0 L12,0 Z"}),o.createElement("polygon",{points:"0.771428571 0.771428571 11.2285714 0.771428571 11.2285714 3 0.771428571 3"})))))))),Wo=e=>o.createElement("svg",N({width:"12px",height:"12px",viewBox:"0 0 12 12",xmlns:"http://www.w3.org/2000/svg",className:"antv-s2-icon"},e),o.createElement("g",{stroke:"none",fill:"none",fillRule:"evenodd"},o.createElement("g",{transform:"translate(-365.000000, -624.000000)",fill:"currentColor"},o.createElement("g",{transform:"translate(127.000000, 549.000000)"},o.createElement("g",{transform:"translate(236.000000, 71.000000)"},o.createElement("g",{transform:"translate(0.000000, 2.000000)"},o.createElement("g",{transform:"translate(2.000000, 2.000000)"},o.createElement("polygon",{points:"4.22857143 3.77142857 11.2285714 3.77142857 11.2285714 11.7714286 4.22857143 11.7714286"}),o.createElement("path",{d:"M4.45714286,11.2285714 L11.2285714,11.2285714 L11.2285714,3.77142857 L4.45714286,3.77142857 L4.45714286,11.2285714 Z M3.77142857,11.2285714 L3.77142857,3.77142857 L0.771428571,3.77142857 L0.771428571,11.3142857 L3.77142857,11.3142857 L3.77142857,11.2285714 Z M11.2285714,3 L11.2285714,0.771428571 L0.771428571,0.771428571 L0.771428571,3 L11.2285714,3 Z M12,0 L12,12 L0,12 L0,0 L12,0 Z"})))))))),Vo=e=>o.createElement("svg",N({className:"antv-s2-icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:12.6,height:12.6},e),o.createElement("path",{d:"M950.016 898.016l-206.016-204.992Q832 586.016 832 448.032q0-159.008-112.512-271.488T448 64.032 176.512 176.544 64 448.032t112.512 271.488T448 832.032q138.016 0 244.992-88l206.016 206.016q10.016 10.016 24.992 10.016t26.016-10.016q10.016-11.008 10.016-26.016t-10.016-26.016zM568.992 736Q512 760 448 760T327.008 736q-56-24-99.488-67.488t-66.496-99.488q-24.992-56.992-24.992-120.992t24.992-120.992q23.008-56 66.496-99.488t99.488-67.488Q384 136.064 448 136.064t120.992 24q56 24 99.488 67.488t67.488 99.488q24 56.992 24 120.992t-24 120.992q-24 56-67.488 99.488T568.992 736z",fill:"currentColor"})),Ko=e=>o.createElement("svg",N({className:"antv-s2-icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:12.6,height:12.6},e),o.createElement("path",{d:"M86.016 805.888H0L143.872 275.968h79.36l144.896 529.92H276.992l-29.696-109.056H115.2s-29.696 109.056-29.184 109.056zM225.28 613.376L181.248 455.68 138.24 613.376h87.04zM519.168 430.08c24.576-16.384 47.616-25.088 69.12-25.088 30.72 0 58.368 14.848 81.92 44.032 24.064 29.184 35.328 72.192 35.328 128.512 0 44.032-7.168 83.456-22.528 118.272-14.848 34.816-35.328 62.976-60.416 83.456-26.112 20.992-57.856 31.232-95.232 31.232-15.36-0.512-31.232-1.536-46.592-3.584-4.096-0.512-8.704-1.024-12.8-1.536h-66.56V256h81.92v206.336c11.264-12.8 23.04-23.552 35.84-32.256z m-35.328 157.184v135.168c13.824 3.072 26.112 4.608 37.376 4.608 27.648 0 50.176-11.776 69.12-36.352 19.456-25.088 28.672-59.392 28.672-104.96 0-32.256-5.12-55.296-14.848-70.144-9.216-13.824-18.432-19.968-28.672-19.968-12.288 0-27.136 7.68-44.544 24.064-16.896 16.896-32.768 39.424-47.104 67.584zM1013.76 794.624c-36.864 14.336-71.68 20.992-104.96 20.992-32.768 0.512-64.512-9.216-91.648-27.136-27.136-18.432-48.64-44.032-62.464-73.728-14.848-30.72-22.528-65.536-22.528-104.448 0-58.88 16.896-108.032 51.2-146.944 33.792-38.912 75.264-58.88 123.392-58.88 34.304 0 70.144 7.168 108.032 21.504l10.24 4.096v95.232l-20.992-10.752c-34.816-17.92-65.536-26.624-92.16-26.624-16.896 0-32.768 4.608-47.104 13.824-13.824 8.704-25.088 23.04-32.768 42.496-8.192 19.968-12.288 41.472-12.288 63.488 0 28.672 7.68 55.808 24.064 82.432 14.848 24.576 37.888 36.352 71.168 36.352 10.752 0 21.504-1.024 31.744-2.56 9.728-1.536 29.696-8.192 58.88-18.944l19.456-7.68v92.672l-11.264 4.608z",fill:"currentColor"})),qo=e=>o.createElement("svg",N({className:"antv-s2-icon",width:"16px",height:"16px",viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg"},e),o.createElement("g",{transform:"translate(8.056364, 8.000227) rotate(-270.000000) translate(-8.056364, -8.000227) translate(3.057045, 3.070227)",fill:"currentColor"},o.createElement("path",{d:"M0.482272727,3.55181818 C0.472878788,3.55181818 0.468181818,3.54939394 0.468181818,3.54454545 C0.468181818,3.53969697 0.465757576,3.53727273 0.460909091,3.53727273 L0.396818182,3.53727273 L0.382727273,3.52318182 L0.34,3.52318182 L0.325909091,3.50909091 L0.311818182,3.50909091 L0.297727273,3.495 L0.269090909,3.495 L0.269090909,3.48090909 L0.255,3.48090909 L0.240909091,3.46681818 L0.226818182,3.46681818 L0.226818182,3.45272727 L0.212727273,3.45272727 L0.184090909,3.42409091 L0.17,3.42409091 C0.160606061,3.405 0.151060606,3.39075758 0.141363636,3.38136364 C0.131969697,3.38136364 0.127272727,3.37893939 0.127272727,3.37409091 L0.127272727,3.36681818 L0.113181818,3.35272727 L0.113181818,3.33863636 L0.0990909091,3.33863636 L0.0990909091,3.32454545 L0.085,3.31045455 L0.085,3.30318182 L0.0777272727,3.29590909 L0.0704545455,3.29590909 L0.0704545455,3.28181818 L0.0563636364,3.26772727 L0.0563636364,3.24636364 L0.0490909091,3.23909091 L0.0418181818,3.23909091 L0.0418181818,3.225 C0.0418181818,3.21560606 0.0393939394,3.21090909 0.0345454545,3.21090909 C0.0296969697,3.21090909 0.0272727273,3.20848485 0.0272727273,3.20363636 L0.0272727273,3.15409091 L0.0131818182,3.14 L0.0131818182,2.94090909 L0.0272727273,2.92681818 L0.0272727273,2.88409091 C0.0366666667,2.87469697 0.0413636364,2.86757576 0.0413636364,2.86272727 L0.0413636364,2.84136364 L0.0554545455,2.82727273 L0.0554545455,2.81318182 L0.0695454545,2.79909091 L0.0695454545,2.79181818 L0.0768181818,2.77772727 L0.0840909091,2.77045455 L0.0840909091,2.76318182 L0.0913636364,2.75590909 L0.0986363636,2.74863636 L0.0986363636,2.74136364 L0.112727273,2.72727273 C0.112727273,2.71787879 0.117424242,2.71318182 0.126818182,2.71318182 L0.126818182,2.69909091 L0.140909091,2.69909091 L2.68363636,0.156363636 C2.77848485,0.0521212121 2.89681818,0 3.03863636,0 C3.18045455,0 3.29878788,0.0521212121 3.39363636,0.156363636 C3.49787879,0.260606061 3.55,0.381363636 3.55,0.518636364 C3.55,0.655909091 3.49787879,0.776666667 3.39363636,0.880909091 L1.74590909,2.52863636 L9.48727273,2.52863636 C9.62939394,2.52863636 9.75015152,2.57833333 9.84954545,2.67772727 C9.94893939,2.77712121 9.99863636,2.89787879 9.99863636,3.04 C9.99863636,3.18212121 9.94893939,3.30287879 9.84954545,3.40227273 C9.75015152,3.50166667 9.62939394,3.55136364 9.48727273,3.55136364 L0.481363636,3.55136364 L0.482272727,3.55181818 Z M9.51636364,6.30727273 C9.52575758,6.30727273 9.53045455,6.30969697 9.53045455,6.31454545 C9.53045455,6.31939394 9.53287879,6.32181818 9.53772727,6.32181818 L9.60181818,6.32181818 L9.61590909,6.33590909 L9.65863636,6.33590909 L9.65863636,6.35 L9.68727273,6.35 L9.70136364,6.36409091 L9.73,6.36409091 L9.73,6.37818182 L9.74409091,6.37818182 L9.75818182,6.39227273 L9.77227273,6.39227273 L9.77227273,6.40636364 L9.78636364,6.40636364 L9.815,6.435 L9.82909091,6.435 C9.83848485,6.45409091 9.8480303,6.46833333 9.85772727,6.47772727 C9.86712121,6.47772727 9.87181818,6.48015152 9.87181818,6.485 L9.87181818,6.49227273 L9.88590909,6.50636364 L9.88590909,6.52045455 L9.9,6.52045455 L9.9,6.53454545 L9.90727273,6.53454545 L9.91454545,6.54181818 L9.91454545,6.55590909 L9.92181818,6.56318182 L9.92909091,6.57045455 L9.92909091,6.57772727 L9.94318182,6.59181818 L9.94318182,6.61318182 L9.95045455,6.62045455 L9.95772727,6.62045455 L9.95772727,6.64909091 L9.965,6.65636364 L9.97227273,6.67045455 L9.97227273,6.70590909 L9.98636364,6.72 L9.98636364,6.91909091 L9.97227273,6.93318182 L9.97227273,6.97590909 L9.95818182,6.99 L9.95818182,7.01863636 L9.94409091,7.03272727 L9.94409091,7.04681818 L9.93,7.06090909 L9.93,7.06818182 L9.92272727,7.08227273 L9.91545455,7.08954545 L9.91545455,7.09681818 L9.90818182,7.10409091 L9.90090909,7.11136364 L9.90090909,7.11863636 L9.88681818,7.13272727 C9.88681818,7.14212121 9.88439394,7.14681818 9.87954545,7.14681818 L9.87227273,7.14681818 L9.87227273,7.16090909 L9.85818182,7.16090909 L9.85090909,7.16818182 L9.84363636,7.18954545 L7.32954545,9.70363636 C7.22530303,9.80787879 7.10212121,9.86 6.96,9.86 C6.81787879,9.86 6.69954545,9.80787879 6.605,9.70363636 C6.50075758,9.60878788 6.44863636,9.49045455 6.44863636,9.34863636 C6.44863636,9.20681818 6.50075758,9.08363636 6.605,8.97909091 L8.25272727,7.33136364 L0.511363636,7.33136364 C0.378636364,7.33136364 0.26030303,7.28166667 0.156363636,7.18227273 C0.0524242424,7.08287879 0.000303030303,6.96212121 4.54747351e-13,6.82 C4.54747351e-13,6.67787879 0.0521212121,6.55712121 0.156363636,6.45772727 C0.260606061,6.35833333 0.378939394,6.30863636 0.511363636,6.30863636 L9.51727273,6.30863636 L9.51636364,6.30727273 Z"}))),Xo=a().memo((e=>{const t=e,{className:n,icon:o,syncCopy:s=!1,copyOriginalText:l=(0,r.agQ)("复制原始数据"),copyFormatText:c=(0,r.agQ)("复制格式化数据"),downloadOriginalText:u=(0,r.agQ)("下载原始数据"),downloadFormatText:h=(0,r.agQ)("下载格式化数据"),successText:p=(0,r.agQ)("操作成功"),errorText:d=(0,r.agQ)("操作失败"),sheet:f,fileName:m,open:g,dropdown:y}=t,v=k(t,["className","icon","syncCopy","copyOriginalText","copyFormatText","downloadOriginalText","downloadFormatText","successText","errorText","sheet","fileName","open","dropdown"]),_=`${r.vhY}-export`,b=e=>{const t=(0,r.F1h)(f,"\t",e);(0,r.vQq)(t,s).then((()=>{i.message.success(p)})).catch((e=>{console.log("copy failed: ",e),i.message.error(d)}))},E=e=>{const t=(0,r.F1h)(f,",",e);try{(0,r.LRf)(t,m),i.message.success(p)}catch(e){i.message.error(d)}},T=a().createElement(i.Menu,null,a().createElement(i.Menu.Item,{key:"copyOriginal",onClick:()=>b(!1)},l),a().createElement(i.Menu.Item,{key:"copyFormat",onClick:()=>b(!0)},c),a().createElement(i.Menu.Item,{key:"downloadOriginal",onClick:()=>E(!1)},u),a().createElement(i.Menu.Item,{key:"downloadFormat",onClick:()=>E(!0)},h));return a().createElement(i.Dropdown,N(N({overlay:T,trigger:["click"],className:_o(_,n)},v),y),a().createElement("a",{className:"ant-dropdown-link",key:"export",onClick:e=>e.preventDefault()},o||a().createElement(jo,null)))}));Xo.displayName="Export",Xo.defaultProps={syncCopy:!1,fileName:"sheet"};const Zo=e=>{const{splitOrders:t=[],setSplitOrders:n}=e;return a().createElement(i.Card,{className:`${F}-card-content`},t.map((e=>a().createElement("li",{key:e,className:`${F}-split-value`,title:e},(e=>a().createElement(a().Fragment,null,a().createElement("span",{className:"split-text"},e),a().createElement("span",{className:`${F}-split-icon`,onClick:()=>{(e=>{const r=t.concat();r.splice(r.indexOf(e),1),r.unshift(e),n(r)})(e)}},a().createElement(bo,{name:"groupAsc"})),a().createElement("span",{className:`${F}-split-icon`,onClick:()=>{(e=>{const r=t.concat();let i=r.indexOf(e);r.splice(r.indexOf(e),1),r.splice(i+=1,0,e),n(r)})(e)}},a().createElement(bo,{name:"groupDesc"})),a().createElement("span",{className:`${F}-split-icon`,onClick:()=>{(e=>{const r=t.concat();let i=r.indexOf(e);i>0&&(r.splice(r.indexOf(e),1),r.splice(i-=1,0,e),n(r))})(e)}},a().createElement(bo,{name:"globalAsc"}))))(e)))))},{Sider:Qo,Content:Jo}=i.Layout,ea=({sheet:e,className:t,icon:n,text:s,ruleText:l,dimensions:u,ruleOptions:h,sortParams:p,onSortOpen:d,onSortConfirm:f})=>{const[m,g]=(0,o.useState)(!1),[y,v]=(0,o.useState)(!1),[_,b]=(0,o.useState)([]),[E,T]=(0,o.useState)([]),[x,S]=(0,o.useState)([]),[C,A]=(0,o.useState)([]),[R,w]=(0,o.useState)([]),[L,O]=(0,o.useState)(),[k]=i.Form.useForm(),D=a().useMemo(M,[]),H=a().useMemo(P,[]),B=()=>{g(!m)},U=()=>{v(!y)};return(0,o.useEffect)((()=>{if(m){const t=Pi(p,(t=>{const{sortFieldId:n,sortMethod:r,sortBy:i,sortByMeasure:o}=t;let a;return a=i?["sortBy"]:o?["sortByMeasure",o]:["sortMethod"],{field:n,name:e.dataSet.getFieldName(n),rule:a,sortMethod:r,sortBy:i,sortByMeasure:o}})),n=(()=>{if(u)return u;const{fields:t={}}=e.dataCfg||{},{rows:n=[],columns:r=[]}=t;return Pi([...n,...r],(t=>{const n="string"==typeof t?t:t.key;return{field:t,name:e.dataSet.getFieldName(n),list:e.dataSet.getDimensionValues(n)}}))})(),r=Li(n,(e=>!Ii(p,(t=>t.sortFieldId===e.field)))),i=h||Pi(D,(t=>{if("sortByMeasure"===t.value){const{values:n}=e.dataCfg.fields||{};t.children=Pi(n,(t=>({label:e.dataSet.getFieldName(t),value:t})))}return t}));b(t),S(n),A(r),T(i)}}),[m]),a().createElement("div",{className:_o(F,t)},a().createElement(i.Button,{onClick:()=>{d&&d(),B()},icon:n||a().createElement(Yo,null),size:"small",className:`${F}-btn`},s||(0,r.agQ)("高级排序")),a().createElement(i.Modal,{title:s||(0,r.agQ)("高级排序"),visible:m,onOk:()=>{const t=k.getFieldsValue(),{values:n=[]}=e.dataCfg.fields,i=[],o=[];Ri(Ht(t),(e=>{const{sortMethod:a,rule:s=[],sortBy:l}=t[e],c={sortFieldId:e};"sortByMeasure"===s[0]||s[1]?(function(e,t,n,r){var i;e=pt(e)?e:null==(i=e)?[]:function(e,t){return re(t,(function(t){return e[t]}))}(i,Ht(i)),n=n?_e(n):0;var o=e.length;return n<0&&(n=Hi(o+n,0)),Fi(e)?n<=o&&e.indexOf(t,n)>-1:!!o&&Je(e,t,n)>-1}(n,s[1])?c.sortByMeasure=s[1]:c.sortByMeasure=r.Teh,c.sortMethod=a,c.query={$$extra$$:s[1]}):"sortBy"===s[0]?c.sortBy=l:c.sortMethod=a,i.push(N({field:e},t[e])),o.push(c)})),f&&f(i,o),B()},onCancel:B,okText:(0,r.agQ)("确定"),cancelText:(0,r.agQ)("取消"),destroyOnClose:!0,className:`${F}-modal`},a().createElement(i.Layout,null,a().createElement(Qo,{width:120,className:`${F}-sider-layout`},a().createElement("div",{className:`${F}-title`},(0,r.agQ)("可选字段")),a().createElement("div",null,Pi(C,(e=>a().createElement("div",{className:`${F}-dimension-item`,key:e.field,onClick:()=>{var t;t=e,Ii(_,(e=>e.field===t.field))||(O(t),b([..._,t])),A(Li(C,(e=>e.field!==t.field)))}},e.name))))),a().createElement(Jo,{className:`${F}-content-layout`},a().createElement("div",{className:`${F}-title`},l||(0,r.agQ)("按以下规则进行排序(优先级由低到高)")),a().createElement(i.Form,{form:k,name:"form",className:`${F}-custom-form`},Pi(_,(e=>{const{field:t,name:n,rule:o,sortMethod:s,sortBy:l}=e||{};return a().createElement(i.Form.Item,{name:t,key:t},a().createElement(i.Form.Item,{name:[t,"name"],initialValue:n,noStyle:!0},a().createElement(i.Select,{className:`${F}-select`,size:"small"})),a().createElement("span",{className:`${F}-field-prefix`},(0,r.agQ)("按")),a().createElement(i.Form.Item,{name:[t,"rule"],initialValue:o||["sortMethod"],noStyle:!0},a().createElement(i.Cascader,{options:E,expandTrigger:"hover",size:"small",allowClear:!1})),a().createElement(i.Form.Item,{shouldUpdate:!0,noStyle:!0},(({getFieldValue:n})=>ji(n([t,"rule"]),["sortBy"])?a().createElement(a().Fragment,null,a().createElement("a",{className:`${F}-rule-end`,onClick:()=>{var t,n,r;t=e,n=l,U(),O(t),w(co(n||(null==(r=Ii(x,(e=>e.field===t.field)))?void 0:r.list)||[]))}},(0,r.agQ)("设置顺序")),a().createElement(i.Form.Item,{noStyle:!0,name:[t,"sortBy"],initialValue:l})):a().createElement(i.Form.Item,{shouldUpdate:!0,noStyle:!0,name:[t,"sortMethod"],initialValue:so(s)||"ASC"},a().createElement(i.Radio.Group,{className:`${F}-rule-end`},Pi(H,(e=>a().createElement(i.Radio,{value:e.value,key:e.value},e.name))))))),a().createElement(c.Z,{className:`${F}-rule-end-delete`,onClick:()=>{var t;t=e,b(Li(_,(e=>e.field!==t.field))),A([...C,t])}}))})))))),a().createElement(i.Modal,{title:(0,r.agQ)("手动排序"),visible:y,onOk:()=>{U();const e=k.getFieldsValue([null==L?void 0:L.field]);e.sortBy=R,k.setFieldsValue({[null==L?void 0:L.field]:e});const t=Pi(_,(e=>e.field===(null==L?void 0:L.field)?I(N({},e),{rule:"sortBy",sortBy:R,sortMethod:"",sortByMeasure:""}):e));b(t)},onCancel:()=>{U()},okText:(0,r.agQ)("确定"),cancelText:(0,r.agQ)("取消"),destroyOnClose:!0,className:`${F}-custom-modal`},a().createElement(Zo,{splitOrders:R,setSplitOrders:w})))};var ta=(e=>(e.Rows="rows",e.Cols="columns",e.Values="values",e))(ta||{}),na=(e=>(e.Dimensions="dimensions",e.Measures="measures",e.Rows="rows",e.Cols="cols",e))(na||{});const ra=["rows","columns","values"],ia=e=>e instanceof r.HZt?"table":"pivot",oa=(e,{fields:t={},meta:n=[]}={},i=[])=>ra.reduce(((o,a)=>{const s=t[a];if(Ui(s))return o;const l=Pi(s,(e=>{const t="string"==typeof e?e:e.key,r=Ii(n,["field",t]);return{id:t,displayName:null==r?void 0:r.name,checked:!i.includes(t)}}));return o[a]=N({items:l},((e,t)=>({selectable:e instanceof r.TA7&&t===ta.Values||e instanceof r.HZt&&t===ta.Cols,expandable:e instanceof r.TA7&&t===ta.Values}))(e,a)),o}),{});function aa(e,t){return(aa=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function sa(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,aa(e,t)}function la(){return la=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},la.apply(this,arguments)}function ca(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ua(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ha(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ua(Object(n),!0).forEach((function(t){ca(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ua(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function pa(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var da="function"==typeof Symbol&&Symbol.observable||"@@observable",fa=function(){return Math.random().toString(36).substring(7).split("").join(".")},ma={INIT:"@@redux/INIT"+fa(),REPLACE:"@@redux/REPLACE"+fa(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+fa()}};function ga(e,t,n){var r;if("function"==typeof t&&"function"==typeof n||"function"==typeof n&&"function"==typeof arguments[3])throw new Error(pa(0));if("function"==typeof t&&void 0===n&&(n=t,t=void 0),void 0!==n){if("function"!=typeof n)throw new Error(pa(1));return n(ga)(e,t)}if("function"!=typeof e)throw new Error(pa(2));var i=e,o=t,a=[],s=a,l=!1;function c(){s===a&&(s=a.slice())}function u(){if(l)throw new Error(pa(3));return o}function h(e){if("function"!=typeof e)throw new Error(pa(4));if(l)throw new Error(pa(5));var t=!0;return c(),s.push(e),function(){if(t){if(l)throw new Error(pa(6));t=!1,c();var n=s.indexOf(e);s.splice(n,1),a=null}}}function p(e){if(!function(e){if("object"!=typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}(e))throw new Error(pa(7));if(void 0===e.type)throw new Error(pa(8));if(l)throw new Error(pa(9));try{l=!0,o=i(o,e)}finally{l=!1}for(var t=a=s,n=0;n<t.length;n++)(0,t[n])();return e}return p({type:ma.INIT}),(r={dispatch:p,subscribe:h,getState:u,replaceReducer:function(e){if("function"!=typeof e)throw new Error(pa(10));i=e,p({type:ma.REPLACE})}})[da]=function(){var e,t=h;return(e={subscribe:function(e){if("object"!=typeof e||null===e)throw new Error(pa(11));function n(){e.next&&e.next(u())}return n(),{unsubscribe:t(n)}}})[da]=function(){return this},e},r}function ya(e,t){return function(){return t(e.apply(this,arguments))}}function va(e,t){if("function"==typeof e)return ya(e,t);if("object"!=typeof e||null===e)throw new Error(pa(16));var n={};for(var r in e){var i=e[r];"function"==typeof i&&(n[r]=ya(i,t))}return n}function _a(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce((function(e,t){return function(){return e(t.apply(void 0,arguments))}}))}var ba=a().createContext(null),Ea=function(e){e()},Ta=function(){return Ea},xa={notify:function(){},get:function(){return[]}};function Sa(e,t){var n,r=xa;function i(){a.onStateChange&&a.onStateChange()}function o(){var o,a,s;n||(n=t?t.addNestedSub(i):e.subscribe(i),o=Ta(),a=null,s=null,r={clear:function(){a=null,s=null},notify:function(){o((function(){for(var e=a;e;)e.callback(),e=e.next}))},get:function(){for(var e=[],t=a;t;)e.push(t),t=t.next;return e},subscribe:function(e){var t=!0,n=s={callback:e,next:null,prev:s};return n.prev?n.prev.next=n:a=n,function(){t&&null!==a&&(t=!1,n.next?n.next.prev=n.prev:s=n.prev,n.prev?n.prev.next=n.next:a=n.next)}}})}var a={addNestedSub:function(e){return o(),r.subscribe(e)},notifyNestedSubs:function(){r.notify()},handleChangeWrapper:i,isSubscribed:function(){return Boolean(n)},trySubscribe:o,tryUnsubscribe:function(){n&&(n(),n=void 0,r.clear(),r=xa)},getListeners:function(){return r}};return a}var Ca="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?o.useLayoutEffect:o.useEffect;function Aa(e){var t=e.store,n=e.context,r=e.children,i=(0,o.useMemo)((function(){var e=Sa(t);return{store:t,subscription:e}}),[t]),s=(0,o.useMemo)((function(){return t.getState()}),[t]);Ca((function(){var e=i.subscription;return e.onStateChange=e.notifyNestedSubs,e.trySubscribe(),s!==t.getState()&&e.notifyNestedSubs(),function(){e.tryUnsubscribe(),e.onStateChange=null}}),[i,s]);var l=n||ba;return a().createElement(l.Provider,{value:i},r)}function Ra(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}var wa={exports:{}},La={},Oa="function"==typeof Symbol&&Symbol.for,Na=Oa?Symbol.for("react.element"):60103,Ia=Oa?Symbol.for("react.portal"):60106,ka=Oa?Symbol.for("react.fragment"):60107,Da=Oa?Symbol.for("react.strict_mode"):60108,Pa=Oa?Symbol.for("react.profiler"):60114,Ma=Oa?Symbol.for("react.provider"):60109,Fa=Oa?Symbol.for("react.context"):60110,Ha=Oa?Symbol.for("react.async_mode"):60111,Ba=Oa?Symbol.for("react.concurrent_mode"):60111,Ua=Oa?Symbol.for("react.forward_ref"):60112,ja=Oa?Symbol.for("react.suspense"):60113,Ga=Oa?Symbol.for("react.suspense_list"):60120,Ya=Oa?Symbol.for("react.memo"):60115,za=Oa?Symbol.for("react.lazy"):60116,$a=Oa?Symbol.for("react.block"):60121,Wa=Oa?Symbol.for("react.fundamental"):60117,Va=Oa?Symbol.for("react.responder"):60118,Ka=Oa?Symbol.for("react.scope"):60119;function qa(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case Na:switch(e=e.type){case Ha:case Ba:case ka:case Pa:case Da:case ja:return e;default:switch(e=e&&e.$$typeof){case Fa:case Ua:case za:case Ya:case Ma:return e;default:return t}}case Ia:return t}}}function Xa(e){return qa(e)===Ba}La.AsyncMode=Ha,La.ConcurrentMode=Ba,La.ContextConsumer=Fa,La.ContextProvider=Ma,La.Element=Na,La.ForwardRef=Ua,La.Fragment=ka,La.Lazy=za,La.Memo=Ya,La.Portal=Ia,La.Profiler=Pa,La.StrictMode=Da,La.Suspense=ja,La.isAsyncMode=function(e){return Xa(e)||qa(e)===Ha},La.isConcurrentMode=Xa,La.isContextConsumer=function(e){return qa(e)===Fa},La.isContextProvider=function(e){return qa(e)===Ma},La.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===Na},La.isForwardRef=function(e){return qa(e)===Ua},La.isFragment=function(e){return qa(e)===ka},La.isLazy=function(e){return qa(e)===za},La.isMemo=function(e){return qa(e)===Ya},La.isPortal=function(e){return qa(e)===Ia},La.isProfiler=function(e){return qa(e)===Pa},La.isStrictMode=function(e){return qa(e)===Da},La.isSuspense=function(e){return qa(e)===ja},La.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===ka||e===Ba||e===Pa||e===Da||e===ja||e===Ga||"object"==typeof e&&null!==e&&(e.$$typeof===za||e.$$typeof===Ya||e.$$typeof===Ma||e.$$typeof===Fa||e.$$typeof===Ua||e.$$typeof===Wa||e.$$typeof===Va||e.$$typeof===Ka||e.$$typeof===$a)},La.typeOf=qa,wa.exports=La;var Za=wa.exports,Qa={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},Ja={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},es={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},ts={};function ns(e){return Za.isMemo(e)?es:ts[e.$$typeof]||Qa}ts[Za.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},ts[Za.Memo]=es;var rs=Object.defineProperty,is=Object.getOwnPropertyNames,os=Object.getOwnPropertySymbols,as=Object.getOwnPropertyDescriptor,ss=Object.getPrototypeOf,ls=Object.prototype,cs=function e(t,n,r){if("string"!=typeof n){if(ls){var i=ss(n);i&&i!==ls&&e(t,i,r)}var o=is(n);os&&(o=o.concat(os(n)));for(var a=ns(t),s=ns(n),l=0;l<o.length;++l){var c=o[l];if(!(Ja[c]||r&&r[c]||s&&s[c]||a&&a[c])){var u=as(n,c);try{rs(t,c,u)}catch(e){}}}}return t},us={exports:{}},hs={},ps=60103,ds=60106,fs=60107,ms=60108,gs=60114,ys=60109,vs=60110,_s=60112,bs=60113,Es=60120,Ts=60115,xs=60116,Ss=60121,Cs=60122,As=60117,Rs=60129,ws=60131;if("function"==typeof Symbol&&Symbol.for){var Ls=Symbol.for;ps=Ls("react.element"),ds=Ls("react.portal"),fs=Ls("react.fragment"),ms=Ls("react.strict_mode"),gs=Ls("react.profiler"),ys=Ls("react.provider"),vs=Ls("react.context"),_s=Ls("react.forward_ref"),bs=Ls("react.suspense"),Es=Ls("react.suspense_list"),Ts=Ls("react.memo"),xs=Ls("react.lazy"),Ss=Ls("react.block"),Cs=Ls("react.server.block"),As=Ls("react.fundamental"),Rs=Ls("react.debug_trace_mode"),ws=Ls("react.legacy_hidden")}function Os(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case ps:switch(e=e.type){case fs:case gs:case ms:case bs:case Es:return e;default:switch(e=e&&e.$$typeof){case vs:case _s:case xs:case Ts:case ys:return e;default:return t}}case ds:return t}}}var Ns=ys,Is=ps,ks=_s,Ds=fs,Ps=xs,Ms=Ts,Fs=ds,Hs=gs,Bs=ms,Us=bs;hs.ContextConsumer=vs,hs.ContextProvider=Ns,hs.Element=Is,hs.ForwardRef=ks,hs.Fragment=Ds,hs.Lazy=Ps,hs.Memo=Ms,hs.Portal=Fs,hs.Profiler=Hs,hs.StrictMode=Bs,hs.Suspense=Us,hs.isAsyncMode=function(){return!1},hs.isConcurrentMode=function(){return!1},hs.isContextConsumer=function(e){return Os(e)===vs},hs.isContextProvider=function(e){return Os(e)===ys},hs.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===ps},hs.isForwardRef=function(e){return Os(e)===_s},hs.isFragment=function(e){return Os(e)===fs},hs.isLazy=function(e){return Os(e)===xs},hs.isMemo=function(e){return Os(e)===Ts},hs.isPortal=function(e){return Os(e)===ds},hs.isProfiler=function(e){return Os(e)===gs},hs.isStrictMode=function(e){return Os(e)===ms},hs.isSuspense=function(e){return Os(e)===bs},hs.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===fs||e===gs||e===Rs||e===ms||e===bs||e===Es||e===ws||"object"==typeof e&&null!==e&&(e.$$typeof===xs||e.$$typeof===Ts||e.$$typeof===ys||e.$$typeof===vs||e.$$typeof===_s||e.$$typeof===As||e.$$typeof===Ss||e[0]===Cs)},hs.typeOf=Os,us.exports=hs;var js=["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"],Gs=["reactReduxForwardedRef"],Ys=[],zs=[null,null];function $s(e,t){var n=e[1];return[t.payload,n+1]}function Ws(e,t,n){Ca((function(){return e.apply(void 0,t)}),n)}function Vs(e,t,n,r,i,o,a){e.current=r,t.current=i,n.current=!1,o.current&&(o.current=null,a())}function Ks(e,t,n,r,i,o,a,s,l,c){if(e){var u=!1,h=null,p=function(){if(!u){var e,n,p=t.getState();try{e=r(p,i.current)}catch(e){n=e,h=e}n||(h=null),e===o.current?a.current||l():(o.current=e,s.current=e,a.current=!0,c({type:"STORE_UPDATED",payload:{error:n}}))}};return n.onStateChange=p,n.trySubscribe(),p(),function(){if(u=!0,n.tryUnsubscribe(),n.onStateChange=null,h)throw h}}}var qs=function(){return[null,0]};function Xs(e,t){void 0===t&&(t={});var n=t,r=n.getDisplayName,i=void 0===r?function(e){return"ConnectAdvanced("+e+")"}:r,s=n.methodName,l=void 0===s?"connectAdvanced":s,c=n.renderCountProp,u=void 0===c?void 0:c,h=n.shouldHandleStateChanges,p=void 0===h||h,d=n.storeKey,f=void 0===d?"store":d;n.withRef;var m=n.forwardRef,g=void 0!==m&&m,y=n.context,v=void 0===y?ba:y,_=Ra(n,js),b=v;return function(t){var n=t.displayName||t.name||"Component",r=i(n),s=la({},_,{getDisplayName:i,methodName:l,renderCountProp:u,shouldHandleStateChanges:p,storeKey:f,displayName:r,wrappedComponentName:n,WrappedComponent:t}),c=_.pure,h=c?o.useMemo:function(e){return e()};function d(n){var r=(0,o.useMemo)((function(){var e=n.reactReduxForwardedRef,t=Ra(n,Gs);return[n.context,e,t]}),[n]),i=r[0],l=r[1],c=r[2],u=(0,o.useMemo)((function(){return i&&i.Consumer&&us.exports.isContextConsumer(a().createElement(i.Consumer,null))?i:b}),[i,b]),d=(0,o.useContext)(u),f=Boolean(n.store)&&Boolean(n.store.getState)&&Boolean(n.store.dispatch);Boolean(d)&&Boolean(d.store);var m=f?n.store:d.store,g=(0,o.useMemo)((function(){return function(t){return e(t.dispatch,s)}(m)}),[m]),y=(0,o.useMemo)((function(){if(!p)return zs;var e=Sa(m,f?null:d.subscription),t=e.notifyNestedSubs.bind(e);return[e,t]}),[m,f,d]),v=y[0],_=y[1],E=(0,o.useMemo)((function(){return f?d:la({},d,{subscription:v})}),[f,d,v]),T=(0,o.useReducer)($s,Ys,qs),x=T[0][0],S=T[1];if(x&&x.error)throw x.error;var C=(0,o.useRef)(),A=(0,o.useRef)(c),R=(0,o.useRef)(),w=(0,o.useRef)(!1),L=h((function(){return R.current&&c===A.current?R.current:g(m.getState(),c)}),[m,x,c]);Ws(Vs,[A,C,w,c,L,R,_]),Ws(Ks,[p,m,v,g,A,C,w,R,_,S],[m,v,g]);var O=(0,o.useMemo)((function(){return a().createElement(t,la({},L,{ref:l}))}),[l,t,L]);return(0,o.useMemo)((function(){return p?a().createElement(u.Provider,{value:E},O):O}),[u,O,E])}var m=c?a().memo(d):d;if(m.WrappedComponent=t,m.displayName=d.displayName=r,g){var y=a().forwardRef((function(e,t){return a().createElement(m,la({},e,{reactReduxForwardedRef:t}))}));return y.displayName=r,y.WrappedComponent=t,cs(y,t)}return cs(m,t)}}function Zs(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}function Qs(e,t){if(Zs(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var i=0;i<n.length;i++)if(!Object.prototype.hasOwnProperty.call(t,n[i])||!Zs(e[n[i]],t[n[i]]))return!1;return!0}function Js(e){return function(t,n){var r=e(t,n);function i(){return r}return i.dependsOnOwnProps=!1,i}}function el(e){return null!==e.dependsOnOwnProps&&void 0!==e.dependsOnOwnProps?Boolean(e.dependsOnOwnProps):1!==e.length}function tl(e,t){return function(t,n){n.displayName;var r=function(e,t){return r.dependsOnOwnProps?r.mapToProps(e,t):r.mapToProps(e)};return r.dependsOnOwnProps=!0,r.mapToProps=function(t,n){r.mapToProps=e,r.dependsOnOwnProps=el(e);var i=r(t,n);return"function"==typeof i&&(r.mapToProps=i,r.dependsOnOwnProps=el(i),i=r(t,n)),i},r}}var nl=[function(e){return"function"==typeof e?tl(e):void 0},function(e){return e?void 0:Js((function(e){return{dispatch:e}}))},function(e){return e&&"object"==typeof e?Js((function(t){return function(e,t){var n={},r=function(r){var i=e[r];"function"==typeof i&&(n[r]=function(){return t(i.apply(void 0,arguments))})};for(var i in e)r(i);return n}(e,t)})):void 0}],rl=[function(e){return"function"==typeof e?tl(e):void 0},function(e){return e?void 0:Js((function(){return{}}))}];function il(e,t,n){return la({},n,e,t)}var ol=[function(e){return"function"==typeof e?function(e){return function(t,n){n.displayName;var r,i=n.pure,o=n.areMergedPropsEqual,a=!1;return function(t,n,s){var l=e(t,n,s);return a?i&&o(l,r)||(r=l):(a=!0,r=l),r}}}(e):void 0},function(e){return e?void 0:function(){return il}}],al=["initMapStateToProps","initMapDispatchToProps","initMergeProps"];function sl(e,t,n,r){return function(i,o){return n(e(i,o),t(r,o),o)}}function ll(e,t,n,r,i){var o,a,s,l,c,u=i.areStatesEqual,h=i.areOwnPropsEqual,p=i.areStatePropsEqual,d=!1;return function(i,f){return d?function(i,d){var f,m,g=!h(d,a),y=!u(i,o);return o=i,a=d,g&&y?(s=e(o,a),t.dependsOnOwnProps&&(l=t(r,a)),c=n(s,l,a)):g?(e.dependsOnOwnProps&&(s=e(o,a)),t.dependsOnOwnProps&&(l=t(r,a)),c=n(s,l,a)):y?(f=e(o,a),m=!p(f,s),s=f,m&&(c=n(s,l,a)),c):c}(i,f):(s=e(o=i,a=f),l=t(r,a),c=n(s,l,a),d=!0,c)}}function cl(e,t){var n=t.initMapStateToProps,r=t.initMapDispatchToProps,i=t.initMergeProps,o=Ra(t,al),a=n(e,o),s=r(e,o),l=i(e,o);return(o.pure?ll:sl)(a,s,l,e,o)}var ul=["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"];function hl(e,t,n){for(var r=t.length-1;r>=0;r--){var i=t[r](e);if(i)return i}return function(t,r){throw new Error("Invalid value of type "+typeof e+" for "+n+" argument when connecting component "+r.wrappedComponentName+".")}}function pl(e,t){return e===t}function dl(e){var t=void 0===e?{}:e,n=t.connectHOC,r=void 0===n?Xs:n,i=t.mapStateToPropsFactories,o=void 0===i?rl:i,a=t.mapDispatchToPropsFactories,s=void 0===a?nl:a,l=t.mergePropsFactories,c=void 0===l?ol:l,u=t.selectorFactory,h=void 0===u?cl:u;return function(e,t,n,i){void 0===i&&(i={});var a=i,l=a.pure,u=void 0===l||l,p=a.areStatesEqual,d=void 0===p?pl:p,f=a.areOwnPropsEqual,m=void 0===f?Qs:f,g=a.areStatePropsEqual,y=void 0===g?Qs:g,v=a.areMergedPropsEqual,_=void 0===v?Qs:v,b=Ra(a,ul),E=hl(e,o,"mapStateToProps"),T=hl(t,s,"mapDispatchToProps"),x=hl(n,c,"mergeProps");return r(h,la({methodName:"connect",getDisplayName:function(e){return"Connect("+e+")"},shouldHandleStateChanges:Boolean(e),initMapStateToProps:E,initMapDispatchToProps:T,initMergeProps:x,pure:u,areStatesEqual:d,areOwnPropsEqual:m,areStatePropsEqual:y,areMergedPropsEqual:_},b))}}var fl,ml=dl();function gl(e,t){var n=(0,o.useState)((function(){return{inputs:t,result:e()}}))[0],r=(0,o.useRef)(!0),i=(0,o.useRef)(n),a=r.current||Boolean(t&&i.current.inputs&&function(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}(t,i.current.inputs))?i.current:{inputs:t,result:e()};return(0,o.useEffect)((function(){r.current=!1,i.current=a}),[a]),a.result}fl=s.unstable_batchedUpdates,Ea=fl;var yl=gl,vl=function(e,t){return gl((function(){return e}),t)},_l=function(e){var t=e.top,n=e.right,r=e.bottom,i=e.left;return{top:t,right:n,bottom:r,left:i,width:n-i,height:r-t,x:i,y:t,center:{x:(n+i)/2,y:(r+t)/2}}},bl=function(e,t){return{top:e.top-t.top,left:e.left-t.left,bottom:e.bottom+t.bottom,right:e.right+t.right}},El=function(e,t){return{top:e.top+t.top,left:e.left+t.left,bottom:e.bottom-t.bottom,right:e.right-t.right}},Tl={top:0,right:0,bottom:0,left:0},xl=function(e){var t=e.borderBox,n=e.margin,r=void 0===n?Tl:n,i=e.border,o=void 0===i?Tl:i,a=e.padding,s=void 0===a?Tl:a,l=_l(bl(t,r)),c=_l(El(t,o)),u=_l(El(c,s));return{marginBox:l,borderBox:_l(t),paddingBox:c,contentBox:u,margin:r,border:o,padding:s}},Sl=function(e){var t=e.slice(0,-2);if("px"!==e.slice(-2))return 0;var n=Number(t);return isNaN(n)&&function(e,t){throw new Error("Invariant failed")}(),n},Cl=function(e,t){var n,r,i=e.borderBox,o=e.border,a=e.margin,s=e.padding,l=(r=t,{top:(n=i).top+r.y,left:n.left+r.x,bottom:n.bottom+r.y,right:n.right+r.x});return xl({borderBox:l,border:o,margin:a,padding:s})},Al=function(e,t){return void 0===t&&(t={x:window.pageXOffset,y:window.pageYOffset}),Cl(e,t)},Rl=function(e,t){var n={top:Sl(t.marginTop),right:Sl(t.marginRight),bottom:Sl(t.marginBottom),left:Sl(t.marginLeft)},r={top:Sl(t.paddingTop),right:Sl(t.paddingRight),bottom:Sl(t.paddingBottom),left:Sl(t.paddingLeft)},i={top:Sl(t.borderTopWidth),right:Sl(t.borderRightWidth),bottom:Sl(t.borderBottomWidth),left:Sl(t.borderLeftWidth)};return xl({borderBox:e,margin:n,padding:r,border:i})},wl=function(e){var t=e.getBoundingClientRect(),n=window.getComputedStyle(e);return Rl(t,n)},Ll=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function Ol(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!((r=e[n])===(i=t[n])||Ll(r)&&Ll(i)))return!1;var r,i;return!0}function Nl(e,t){var n;void 0===t&&(t=Ol);var r,i=[],o=!1;return function(){for(var a=[],s=0;s<arguments.length;s++)a[s]=arguments[s];return o&&n===this&&t(a,i)||(r=e.apply(this,a),o=!0,n=this,i=a),r}}var Il=function(e){var t=[],n=null,r=function(){for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];t=i,n||(n=requestAnimationFrame((function(){n=null,e.apply(void 0,t)})))};return r.cancel=function(){n&&(cancelAnimationFrame(n),n=null)},r};function kl(e,t){}function Dl(){}function Pl(e,t,n){var r=t.map((function(t){var r=la({},n,{},t.options);return e.addEventListener(t.eventName,t.fn,r),function(){e.removeEventListener(t.eventName,t.fn,r)}}));return function(){r.forEach((function(e){e()}))}}kl.bind(null,"warn"),kl.bind(null,"error");var Ml="Invariant failed";function Fl(e){this.message=e}function Hl(e,t){if(!e)throw new Fl(Ml)}Fl.prototype.toString=function(){return this.message};var Bl=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=e.call.apply(e,[this].concat(r))||this).callbacks=null,t.unbind=Dl,t.onWindowError=function(e){var n=t.getCallbacks();n.isDragging()&&n.tryAbort(),e.error instanceof Fl&&e.preventDefault()},t.getCallbacks=function(){if(!t.callbacks)throw new Error("Unable to find AppCallbacks in <ErrorBoundary/>");return t.callbacks},t.setCallbacks=function(e){t.callbacks=e},t}sa(t,e);var n=t.prototype;return n.componentDidMount=function(){this.unbind=Pl(window,[{eventName:"error",fn:this.onWindowError}])},n.componentDidCatch=function(e){if(!(e instanceof Fl))throw e;this.setState({})},n.componentWillUnmount=function(){this.unbind()},n.render=function(){return this.props.children(this.setCallbacks)},t}(a().Component),Ul=function(e){return e+1},jl=function(e,t){var n=e.droppableId===t.droppableId,r=Ul(e.index),i=Ul(t.index);return n?"\n You have moved the item from position "+r+"\n to position "+i+"\n ":"\n You have moved the item from position "+r+"\n in list "+e.droppableId+"\n to list "+t.droppableId+"\n in position "+i+"\n "},Gl=function(e,t,n){return t.droppableId===n.droppableId?"\n The item "+e+"\n has been combined with "+n.draggableId:"\n The item "+e+"\n in list "+t.droppableId+"\n has been combined with "+n.draggableId+"\n in list "+n.droppableId+"\n "},Yl=function(e){return"\n The item has returned to its starting position\n of "+Ul(e.index)+"\n"},zl=function(e){return"\n You have lifted an item in position "+Ul(e.source.index)+"\n"},$l=function(e){var t=e.destination;if(t)return jl(e.source,t);var n=e.combine;return n?Gl(e.draggableId,e.source,n):"You are over an area that cannot be dropped on"},Wl=function(e){if("CANCEL"===e.reason)return"\n Movement cancelled.\n "+Yl(e.source)+"\n ";var t=e.destination,n=e.combine;return t?"\n You have dropped the item.\n "+jl(e.source,t)+"\n ":n?"\n You have dropped the item.\n "+Gl(e.draggableId,e.source,n)+"\n ":"\n The item has been dropped while not over a drop area.\n "+Yl(e.source)+"\n "},Vl={x:0,y:0},Kl=function(e,t){return{x:e.x+t.x,y:e.y+t.y}},ql=function(e,t){return{x:e.x-t.x,y:e.y-t.y}},Xl=function(e,t){return e.x===t.x&&e.y===t.y},Zl=function(e){return{x:0!==e.x?-e.x:0,y:0!==e.y?-e.y:0}},Ql=function(e,t,n){var r;return void 0===n&&(n=0),(r={})[e]=t,r["x"===e?"y":"x"]=n,r},Jl=function(e,t){return Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2))},ec=function(e,t){return Math.min.apply(Math,t.map((function(t){return Jl(e,t)})))},tc=function(e){return function(t){return{x:e(t.x),y:e(t.y)}}},nc=function(e,t){return{top:e.top+t.y,left:e.left+t.x,bottom:e.bottom+t.y,right:e.right+t.x}},rc=function(e){return[{x:e.left,y:e.top},{x:e.right,y:e.top},{x:e.left,y:e.bottom},{x:e.right,y:e.bottom}]},ic=function(e,t){return t&&t.shouldClipSubject?function(e,t){var n=_l({top:Math.max(t.top,e.top),right:Math.min(t.right,e.right),bottom:Math.min(t.bottom,e.bottom),left:Math.max(t.left,e.left)});return n.width<=0||n.height<=0?null:n}(t.pageMarginBox,e):_l(e)},oc=function(e){var t=e.page,n=e.withPlaceholder,r=e.axis,i=e.frame,o=function(e,t){return t?nc(e,t.scroll.diff.displacement):e}(t.marginBox,i),a=function(e,t,n){var r;return n&&n.increasedBy?la({},e,((r={})[t.end]=e[t.end]+n.increasedBy[t.line],r)):e}(o,r,n);return{page:t,withPlaceholder:n,active:ic(a,i)}},ac=function(e,t){e.frame||Hl(!1);var n=e.frame,r=ql(t,n.scroll.initial),i=Zl(r),o=la({},n,{scroll:{initial:n.scroll.initial,current:t,diff:{value:r,displacement:i},max:n.scroll.max}});return la({},e,{frame:o,subject:oc({page:e.subject.page,withPlaceholder:e.subject.withPlaceholder,axis:e.axis,frame:o})})};function sc(e){return Object.values?Object.values(e):Object.keys(e).map((function(t){return e[t]}))}function lc(e,t){if(e.findIndex)return e.findIndex(t);for(var n=0;n<e.length;n++)if(t(e[n]))return n;return-1}function cc(e,t){if(e.find)return e.find(t);var n=lc(e,t);return-1!==n?e[n]:void 0}function uc(e){return Array.prototype.slice.call(e)}var hc=Nl((function(e){return e.reduce((function(e,t){return e[t.descriptor.id]=t,e}),{})})),pc=Nl((function(e){return e.reduce((function(e,t){return e[t.descriptor.id]=t,e}),{})})),dc=Nl((function(e){return sc(e)})),fc=Nl((function(e){return sc(e)})),mc=Nl((function(e,t){return fc(t).filter((function(t){return e===t.descriptor.droppableId})).sort((function(e,t){return e.descriptor.index-t.descriptor.index}))}));function gc(e){return e.at&&"REORDER"===e.at.type?e.at.destination:null}function yc(e){return e.at&&"COMBINE"===e.at.type?e.at.combine:null}var vc=Nl((function(e,t){return t.filter((function(t){return t.descriptor.id!==e.descriptor.id}))})),_c=function(e,t){return e.descriptor.droppableId===t.descriptor.id},bc={point:Vl,value:0},Ec={invisible:{},visible:{},all:[]},Tc={displaced:Ec,displacedBy:bc,at:null},xc=function(e,t){return function(n){return e<=n&&n<=t}},Sc=function(e){var t=xc(e.top,e.bottom),n=xc(e.left,e.right);return function(r){if(t(r.top)&&t(r.bottom)&&n(r.left)&&n(r.right))return!0;var i=t(r.top)||t(r.bottom),o=n(r.left)||n(r.right);if(i&&o)return!0;var a=r.top<e.top&&r.bottom>e.bottom,s=r.left<e.left&&r.right>e.right;return!(!a||!s)||a&&o||s&&i}},Cc=function(e){var t=xc(e.top,e.bottom),n=xc(e.left,e.right);return function(e){return t(e.top)&&t(e.bottom)&&n(e.left)&&n(e.right)}},Ac={direction:"vertical",line:"y",crossAxisLine:"x",start:"top",end:"bottom",size:"height",crossAxisStart:"left",crossAxisEnd:"right",crossAxisSize:"width"},Rc={direction:"horizontal",line:"x",crossAxisLine:"y",start:"left",end:"right",size:"width",crossAxisStart:"top",crossAxisEnd:"bottom",crossAxisSize:"height"},wc=function(e){var t=e.target,n=e.destination,r=e.viewport,i=e.withDroppableDisplacement,o=e.isVisibleThroughFrameFn,a=i?function(e,t){var n=t.frame?t.frame.scroll.diff.displacement:Vl;return nc(e,n)}(t,n):t;return function(e,t,n){return!!t.subject.active&&n(t.subject.active)(e)}(a,n,o)&&function(e,t,n){return n(t)(e)}(a,r,o)},Lc=function(e){return wc(la({},e,{isVisibleThroughFrameFn:Sc}))},Oc=function(e){return wc(la({},e,{isVisibleThroughFrameFn:Cc}))},Nc=function(e,t,n){if("boolean"==typeof n)return n;if(!t)return!0;var r=t.invisible,i=t.visible;if(r[e])return!1;var o=i[e];return!o||o.shouldAnimate};function Ic(e){var t=e.afterDragging,n=e.destination,r=e.displacedBy,i=e.viewport,o=e.forceShouldAnimate,a=e.last;return t.reduce((function(e,t){var s=function(e,t){var n=e.page.marginBox,r={top:t.point.y,right:0,bottom:0,left:t.point.x};return _l(bl(n,r))}(t,r),l=t.descriptor.id;if(e.all.push(l),!Lc({target:s,destination:n,viewport:i,withDroppableDisplacement:!0}))return e.invisible[t.descriptor.id]=!0,e;var c={draggableId:l,shouldAnimate:Nc(l,a,o)};return e.visible[l]=c,e}),{all:[],visible:{},invisible:{}})}function kc(e){var t=e.insideDestination,n=e.inHomeList,r=e.displacedBy,i=e.destination,o=function(e,t){if(!e.length)return 0;var n=e[e.length-1].descriptor.index;return t.inHomeList?n:n+1}(t,{inHomeList:n});return{displaced:Ec,displacedBy:r,at:{type:"REORDER",destination:{droppableId:i.descriptor.id,index:o}}}}function Dc(e){var t=e.draggable,n=e.insideDestination,r=e.destination,i=e.viewport,o=e.displacedBy,a=e.last,s=e.index,l=e.forceShouldAnimate,c=_c(t,r);if(null==s)return kc({insideDestination:n,inHomeList:c,displacedBy:o,destination:r});var u=cc(n,(function(e){return e.descriptor.index===s}));if(!u)return kc({insideDestination:n,inHomeList:c,displacedBy:o,destination:r});var h=vc(t,n),p=n.indexOf(u);return{displaced:Ic({afterDragging:h.slice(p),destination:r,displacedBy:o,last:a,viewport:i.frame,forceShouldAnimate:l}),displacedBy:o,at:{type:"REORDER",destination:{droppableId:r.descriptor.id,index:s}}}}function Pc(e,t){return Boolean(t.effected[e])}var Mc=function(e,t){return t.margin[e.start]+t.borderBox[e.size]/2},Fc=function(e,t,n){return t[e.crossAxisStart]+n.margin[e.crossAxisStart]+n.borderBox[e.crossAxisSize]/2},Hc=function(e){var t=e.axis,n=e.moveRelativeTo,r=e.isMoving;return Ql(t.line,n.marginBox[t.end]+Mc(t,r),Fc(t,n.marginBox,r))},Bc=function(e){var t=e.axis,n=e.moveRelativeTo,r=e.isMoving;return Ql(t.line,n.marginBox[t.start]-function(e,t){return t.margin[e.end]+t.borderBox[e.size]/2}(t,r),Fc(t,n.marginBox,r))},Uc=function(e,t){var n=e.frame;return n?Kl(t,n.scroll.diff.displacement):t},jc=function(e){var t=function(e){var t=e.impact,n=e.draggable,r=e.droppable,i=e.draggables,o=e.afterCritical,a=n.page.borderBox.center,s=t.at;return r&&s?"REORDER"===s.type?function(e){var t=e.impact,n=e.draggable,r=e.draggables,i=e.droppable,o=e.afterCritical,a=mc(i.descriptor.id,r),s=n.page,l=i.axis;if(!a.length)return function(e){var t=e.axis,n=e.moveInto,r=e.isMoving;return Ql(t.line,n.contentBox[t.start]+Mc(t,r),Fc(t,n.contentBox,r))}({axis:l,moveInto:i.page,isMoving:s});var c=t.displaced,u=t.displacedBy,h=c.all[0];if(h){var p=r[h];if(Pc(h,o))return Bc({axis:l,moveRelativeTo:p.page,isMoving:s});var d=Cl(p.page,u.point);return Bc({axis:l,moveRelativeTo:d,isMoving:s})}var f=a[a.length-1];if(f.descriptor.id===n.descriptor.id)return s.borderBox.center;if(Pc(f.descriptor.id,o)){var m=Cl(f.page,Zl(o.displacedBy.point));return Hc({axis:l,moveRelativeTo:m,isMoving:s})}return Hc({axis:l,moveRelativeTo:f.page,isMoving:s})}({impact:t,draggable:n,draggables:i,droppable:r,afterCritical:o}):function(e){var t=e.afterCritical,n=e.impact,r=e.draggables,i=yc(n);i||Hl(!1);var o=i.draggableId,a=r[o].page.borderBox.center,s=function(e){var t=e.displaced,n=e.afterCritical,r=e.combineWith,i=e.displacedBy,o=Boolean(t.visible[r]||t.invisible[r]);return Pc(r,n)?o?Vl:Zl(i.point):o?i.point:Vl}({displaced:n.displaced,afterCritical:t,combineWith:o,displacedBy:n.displacedBy});return Kl(a,s)}({impact:t,draggables:i,afterCritical:o}):a}(e),n=e.droppable;return n?Uc(n,t):t},Gc=function(e,t){var n=ql(t,e.scroll.initial),r=Zl(n);return{frame:_l({top:t.y,bottom:t.y+e.frame.height,left:t.x,right:t.x+e.frame.width}),scroll:{initial:e.scroll.initial,max:e.scroll.max,current:t,diff:{value:n,displacement:r}}}};function Yc(e,t){return e.map((function(e){return t[e]}))}var zc=function(e){var t,n,r=e.pageBorderBoxCenter,i=e.draggable,o=(t=e.viewport,n=r,Kl(t.scroll.diff.displacement,n)),a=ql(o,i.page.borderBox.center);return Kl(i.client.borderBox.center,a)},$c=function(e){var t=e.draggable,n=e.destination,r=e.newPageBorderBoxCenter,i=e.viewport,o=e.withDroppableDisplacement,a=e.onlyOnMainAxis,s=void 0!==a&&a,l=ql(r,t.page.borderBox.center),c={target:nc(t.page.borderBox,l),destination:n,withDroppableDisplacement:o,viewport:i};return s?function(e){return wc(la({},e,{isVisibleThroughFrameFn:(t=e.destination.axis,function(e){var n=xc(e.top,e.bottom),r=xc(e.left,e.right);return function(e){return t===Ac?n(e.top)&&n(e.bottom):r(e.left)&&r(e.right)}})}));var t}(c):Oc(c)},Wc=function(e){var t=e.isMovingForward,n=e.draggable,r=e.destination,i=e.draggables,o=e.previousImpact,a=e.viewport,s=e.previousPageBorderBoxCenter,l=e.previousClientSelection,c=e.afterCritical;if(!r.isEnabled)return null;var u=mc(r.descriptor.id,i),h=_c(n,r),p=function(e){var t=e.isMovingForward,n=e.draggable,r=e.destination,i=e.insideDestination,o=e.previousImpact;if(!r.isCombineEnabled)return null;if(!gc(o))return null;function a(e){var t={type:"COMBINE",combine:{draggableId:e,droppableId:r.descriptor.id}};return la({},o,{at:t})}var s=o.displaced.all,l=s.length?s[0]:null;if(t)return l?a(l):null;var c=vc(n,i);if(!l)return c.length?a(c[c.length-1].descriptor.id):null;var u=lc(c,(function(e){return e.descriptor.id===l}));-1===u&&Hl(!1);var h=u-1;return h<0?null:a(c[h].descriptor.id)}({isMovingForward:t,draggable:n,destination:r,insideDestination:u,previousImpact:o})||function(e){var t=e.isMovingForward,n=e.isInHomeList,r=e.draggable,i=e.draggables,o=e.destination,a=e.insideDestination,s=e.previousImpact,l=e.viewport,c=e.afterCritical,u=s.at;if(u||Hl(!1),"REORDER"===u.type){var h=function(e){var t=e.isMovingForward,n=e.isInHomeList,r=e.insideDestination,i=e.location;if(!r.length)return null;var o=i.index,a=t?o+1:o-1,s=r[0].descriptor.index,l=r[r.length-1].descriptor.index;return a<s||a>(n?l:l+1)?null:a}({isMovingForward:t,isInHomeList:n,location:u.destination,insideDestination:a});return null==h?null:Dc({draggable:r,insideDestination:a,destination:o,viewport:l,last:s.displaced,displacedBy:s.displacedBy,index:h})}var p=function(e){var t=e.isMovingForward,n=e.draggables,r=e.combine,i=e.afterCritical;if(!e.destination.isCombineEnabled)return null;var o=r.draggableId,a=n[o].descriptor.index;return Pc(o,i)?t?a:a-1:t?a+1:a}({isMovingForward:t,destination:o,displaced:s.displaced,draggables:i,combine:u.combine,afterCritical:c});return null==p?null:Dc({draggable:r,insideDestination:a,destination:o,viewport:l,last:s.displaced,displacedBy:s.displacedBy,index:p})}({isMovingForward:t,isInHomeList:h,draggable:n,draggables:i,destination:r,insideDestination:u,previousImpact:o,viewport:a,afterCritical:c});if(!p)return null;var d=jc({impact:p,draggable:n,droppable:r,draggables:i,afterCritical:c});if($c({draggable:n,destination:r,newPageBorderBoxCenter:d,viewport:a.frame,withDroppableDisplacement:!1,onlyOnMainAxis:!0}))return{clientSelection:zc({pageBorderBoxCenter:d,draggable:n,viewport:a}),impact:p,scrollJumpRequest:null};var f=ql(d,s),m=function(e){var t=e.impact,n=e.viewport,r=e.destination,i=e.draggables,o=e.maxScrollChange,a=Gc(n,Kl(n.scroll.current,o)),s=r.frame?ac(r,Kl(r.frame.scroll.current,o)):r,l=t.displaced,c=Ic({afterDragging:Yc(l.all,i),destination:r,displacedBy:t.displacedBy,viewport:a.frame,last:l,forceShouldAnimate:!1}),u=Ic({afterDragging:Yc(l.all,i),destination:s,displacedBy:t.displacedBy,viewport:n.frame,last:l,forceShouldAnimate:!1}),h={},p={},d=[l,c,u];return l.all.forEach((function(e){var t=function(e,t){for(var n=0;n<t.length;n++){var r=t[n].visible[e];if(r)return r}return null}(e,d);t?p[e]=t:h[e]=!0})),la({},t,{displaced:{all:l.all,invisible:h,visible:p}})}({impact:p,viewport:a,destination:r,draggables:i,maxScrollChange:f});return{clientSelection:l,impact:m,scrollJumpRequest:f}},Vc=function(e){var t=e.subject.active;return t||Hl(!1),t},Kc=function(e,t){var n=e.page.borderBox.center;return Pc(e.descriptor.id,t)?ql(n,t.displacedBy.point):n},qc=function(e,t){var n=e.page.borderBox;return Pc(e.descriptor.id,t)?nc(n,Zl(t.displacedBy.point)):n},Xc=Nl((function(e,t){var n=t[e.line];return{value:n,point:Ql(e.line,n)}})),Zc=function(e,t){return la({},e,{scroll:la({},e.scroll,{max:t})})},Qc=function(e,t,n){var r=e.frame;_c(t,e)&&Hl(!1),e.subject.withPlaceholder&&Hl(!1);var i=Xc(e.axis,t.displaceBy).point,o=function(e,t,n){var r=e.axis;if("virtual"===e.descriptor.mode)return Ql(r.line,t[r.line]);var i=e.subject.page.contentBox[r.size],o=mc(e.descriptor.id,n).reduce((function(e,t){return e+t.client.marginBox[r.size]}),0)+t[r.line]-i;return o<=0?null:Ql(r.line,o)}(e,i,n),a={placeholderSize:i,increasedBy:o,oldFrameMaxScroll:e.frame?e.frame.scroll.max:null};if(!r)return la({},e,{subject:oc({page:e.subject.page,withPlaceholder:a,axis:e.axis,frame:e.frame})});var s=o?Kl(r.scroll.max,o):r.scroll.max,l=Zc(r,s);return la({},e,{subject:oc({page:e.subject.page,withPlaceholder:a,axis:e.axis,frame:l}),frame:l})},Jc=function(e){var t=e.at;return t?"REORDER"===t.type?t.destination.droppableId:t.combine.droppableId:null},eu=function(e){var t=e.state,n=e.type,r=function(e,t){var n=Jc(e);return n?t[n]:null}(t.impact,t.dimensions.droppables),i=Boolean(r),o=t.dimensions.droppables[t.critical.droppable.id],a=r||o,s=a.axis.direction,l="vertical"===s&&("MOVE_UP"===n||"MOVE_DOWN"===n)||"horizontal"===s&&("MOVE_LEFT"===n||"MOVE_RIGHT"===n);if(l&&!i)return null;var c="MOVE_DOWN"===n||"MOVE_RIGHT"===n,u=t.dimensions.draggables[t.critical.draggable.id],h=t.current.page.borderBoxCenter,p=t.dimensions,d=p.draggables,f=p.droppables;return l?Wc({isMovingForward:c,previousPageBorderBoxCenter:h,draggable:u,destination:a,draggables:d,viewport:t.viewport,previousClientSelection:t.current.client.selection,previousImpact:t.impact,afterCritical:t.afterCritical}):function(e){var t=e.isMovingForward,n=e.previousPageBorderBoxCenter,r=e.draggable,i=e.isOver,o=e.draggables,a=e.droppables,s=e.viewport,l=e.afterCritical,c=function(e){var t=e.isMovingForward,n=e.pageBorderBoxCenter,r=e.source,i=e.droppables,o=e.viewport,a=r.subject.active;if(!a)return null;var s=r.axis,l=xc(a[s.start],a[s.end]),c=dc(i).filter((function(e){return e!==r})).filter((function(e){return e.isEnabled})).filter((function(e){return Boolean(e.subject.active)})).filter((function(e){return Sc(o.frame)(Vc(e))})).filter((function(e){var n=Vc(e);return t?a[s.crossAxisEnd]<n[s.crossAxisEnd]:n[s.crossAxisStart]<a[s.crossAxisStart]})).filter((function(e){var t=Vc(e),n=xc(t[s.start],t[s.end]);return l(t[s.start])||l(t[s.end])||n(a[s.start])||n(a[s.end])})).sort((function(e,n){var r=Vc(e)[s.crossAxisStart],i=Vc(n)[s.crossAxisStart];return t?r-i:i-r})).filter((function(e,t,n){return Vc(e)[s.crossAxisStart]===Vc(n[0])[s.crossAxisStart]}));if(!c.length)return null;if(1===c.length)return c[0];var u=c.filter((function(e){return xc(Vc(e)[s.start],Vc(e)[s.end])(n[s.line])}));return 1===u.length?u[0]:u.length>1?u.sort((function(e,t){return Vc(e)[s.start]-Vc(t)[s.start]}))[0]:c.sort((function(e,t){var r=ec(n,rc(Vc(e))),i=ec(n,rc(Vc(t)));return r!==i?r-i:Vc(e)[s.start]-Vc(t)[s.start]}))[0]}({isMovingForward:t,pageBorderBoxCenter:n,source:i,droppables:a,viewport:s});if(!c)return null;var u=mc(c.descriptor.id,o),h=function(e){var t=e.pageBorderBoxCenter,n=e.viewport,r=e.destination,i=e.afterCritical;return e.insideDestination.filter((function(e){return Oc({target:qc(e,i),destination:r,viewport:n.frame,withDroppableDisplacement:!0})})).sort((function(e,n){var o=Jl(t,Uc(r,Kc(e,i))),a=Jl(t,Uc(r,Kc(n,i)));return o<a?-1:a<o?1:e.descriptor.index-n.descriptor.index}))[0]||null}({pageBorderBoxCenter:n,viewport:s,destination:c,insideDestination:u,afterCritical:l}),p=function(e){var t=e.previousPageBorderBoxCenter,n=e.moveRelativeTo,r=e.insideDestination,i=e.draggable,o=e.draggables,a=e.destination,s=e.viewport,l=e.afterCritical;if(!n){if(r.length)return null;var c={displaced:Ec,displacedBy:bc,at:{type:"REORDER",destination:{droppableId:a.descriptor.id,index:0}}},u=jc({impact:c,draggable:i,droppable:a,draggables:o,afterCritical:l}),h=_c(i,a)?a:Qc(a,i,o);return $c({draggable:i,destination:h,newPageBorderBoxCenter:u,viewport:s.frame,withDroppableDisplacement:!1,onlyOnMainAxis:!0})?c:null}var p,d=Boolean(t[a.axis.line]<=n.page.borderBox.center[a.axis.line]),f=(p=n.descriptor.index,n.descriptor.id===i.descriptor.id||d?p:p+1);return Dc({draggable:i,insideDestination:r,destination:a,viewport:s,displacedBy:Xc(a.axis,i.displaceBy),last:Ec,index:f})}({previousPageBorderBoxCenter:n,destination:c,draggable:r,draggables:o,moveRelativeTo:h,insideDestination:u,viewport:s,afterCritical:l});if(!p)return null;var d=jc({impact:p,draggable:r,droppable:c,draggables:o,afterCritical:l});return{clientSelection:zc({pageBorderBoxCenter:d,draggable:r,viewport:s}),impact:p,scrollJumpRequest:null}}({isMovingForward:c,previousPageBorderBoxCenter:h,draggable:u,isOver:a,draggables:d,droppables:f,viewport:t.viewport,afterCritical:t.afterCritical})};function tu(e){return"DRAGGING"===e.phase||"COLLECTING"===e.phase}function nu(e){var t=xc(e.top,e.bottom),n=xc(e.left,e.right);return function(e){return t(e.y)&&n(e.x)}}var ru=function(e,t){return _l(nc(e,t))};function iu(e){var t=e.displaced,n=e.id;return Boolean(t.visible[n]||t.invisible[n])}var ou=function(e){var t=e.pageOffset,n=e.draggable,r=e.draggables,i=e.droppables,o=e.previousImpact,a=e.viewport,s=e.afterCritical,l=ru(n.page.borderBox,t),c=function(e){var t=e.pageBorderBox,n=e.draggable,r=e.droppables,i=dc(r).filter((function(e){if(!e.isEnabled)return!1;var n,r,i=e.subject.active;if(!i)return!1;if(r=i,!((n=t).left<r.right&&n.right>r.left&&n.top<r.bottom&&n.bottom>r.top))return!1;if(nu(i)(t.center))return!0;var o=e.axis,a=i.center[o.crossAxisLine],s=t[o.crossAxisStart],l=t[o.crossAxisEnd],c=xc(i[o.crossAxisStart],i[o.crossAxisEnd]),u=c(s),h=c(l);return!u&&!h||(u?s<a:l>a)}));return i.length?1===i.length?i[0].descriptor.id:function(e){var t=e.pageBorderBox,n=e.candidates,r=e.draggable.page.borderBox.center,i=n.map((function(e){var n=e.axis,i=Ql(e.axis.line,t.center[n.line],e.page.borderBox.center[n.crossAxisLine]);return{id:e.descriptor.id,distance:Jl(r,i)}})).sort((function(e,t){return t.distance-e.distance}));return i[0]?i[0].id:null}({pageBorderBox:t,draggable:n,candidates:i}):null}({pageBorderBox:l,draggable:n,droppables:i});if(!c)return Tc;var u,h,p=i[c],d=mc(p.descriptor.id,r),f=(u=l,(h=p.frame)?ru(u,h.scroll.diff.value):u);return function(e){var t=e.draggable,n=e.pageBorderBoxWithDroppableScroll,r=e.previousImpact,i=e.destination,o=e.insideDestination,a=e.afterCritical;if(!i.isCombineEnabled)return null;var s=i.axis,l=Xc(i.axis,t.displaceBy),c=l.value,u=n[s.start],h=n[s.end],p=cc(vc(t,o),(function(e){var t=e.descriptor.id,n=e.page.borderBox,i=n[s.size]/4,o=Pc(t,a),l=iu({displaced:r.displaced,id:t});return o?l?h>n[s.start]+i&&h<n[s.end]-i:u>n[s.start]-c+i&&u<n[s.end]-c-i:l?h>n[s.start]+c+i&&h<n[s.end]+c-i:u>n[s.start]+i&&u<n[s.end]-i}));return p?{displacedBy:l,displaced:r.displaced,at:{type:"COMBINE",combine:{draggableId:p.descriptor.id,droppableId:i.descriptor.id}}}:null}({pageBorderBoxWithDroppableScroll:f,draggable:n,previousImpact:o,destination:p,insideDestination:d,afterCritical:s})||function(e){var t=e.pageBorderBoxWithDroppableScroll,n=e.draggable,r=e.destination,i=e.insideDestination,o=e.last,a=e.viewport,s=e.afterCritical,l=r.axis,c=Xc(r.axis,n.displaceBy),u=c.value,h=t[l.start],p=t[l.end],d=function(e){var t=e.draggable,n=e.closest;return n?e.inHomeList&&n.descriptor.index>t.descriptor.index?n.descriptor.index-1:n.descriptor.index:null}({draggable:n,closest:cc(vc(n,i),(function(e){var t=e.descriptor.id,n=e.page.borderBox.center[l.line],r=Pc(t,s),i=iu({displaced:o,id:t});return r?i?p<=n:h<n-u:i?p<=n+u:h<n})),inHomeList:_c(n,r)});return Dc({draggable:n,insideDestination:i,destination:r,viewport:a,last:o,displacedBy:c,index:d})}({pageBorderBoxWithDroppableScroll:f,draggable:n,destination:p,insideDestination:d,last:o.displaced,viewport:a,afterCritical:s})},au=function(e,t){var n;return la({},e,((n={})[t.descriptor.id]=t,n))},su=function(e){var t=e.state,n=e.clientSelection,r=e.dimensions,i=e.viewport,o=e.impact,a=e.scrollJumpRequest,s=i||t.viewport,l=r||t.dimensions,c=n||t.current.client.selection,u=ql(c,t.initial.client.selection),h={offset:u,selection:c,borderBoxCenter:Kl(t.initial.client.borderBoxCenter,u)},p={selection:Kl(h.selection,s.scroll.current),borderBoxCenter:Kl(h.borderBoxCenter,s.scroll.current),offset:Kl(h.offset,s.scroll.diff.value)},d={client:h,page:p};if("COLLECTING"===t.phase)return la({phase:"COLLECTING"},t,{dimensions:l,viewport:s,current:d});var f=l.draggables[t.critical.draggable.id],m=o||ou({pageOffset:p.offset,draggable:f,draggables:l.draggables,droppables:l.droppables,previousImpact:t.impact,viewport:s,afterCritical:t.afterCritical}),g=function(e){var t=e.draggable,n=e.draggables,r=e.droppables,i=e.impact,o=function(e){var t=e.previousImpact,n=e.impact,r=e.droppables,i=Jc(t),o=Jc(n);if(!i)return r;if(i===o)return r;var a=r[i];if(!a.subject.withPlaceholder)return r;var s=function(e){var t=e.subject.withPlaceholder;t||Hl(!1);var n=e.frame;if(!n)return la({},e,{subject:oc({page:e.subject.page,axis:e.axis,frame:null,withPlaceholder:null})});var r=t.oldFrameMaxScroll;r||Hl(!1);var i=Zc(n,r);return la({},e,{subject:oc({page:e.subject.page,axis:e.axis,frame:i,withPlaceholder:null}),frame:i})}(a);return au(r,s)}({previousImpact:e.previousImpact,impact:i,droppables:r}),a=Jc(i);if(!a)return o;var s=r[a];if(_c(t,s))return o;if(s.subject.withPlaceholder)return o;var l=Qc(s,t,n);return au(o,l)}({draggable:f,impact:m,previousImpact:t.impact,draggables:l.draggables,droppables:l.droppables});return la({},t,{current:d,dimensions:{draggables:l.draggables,droppables:g},impact:m,viewport:s,scrollJumpRequest:a||null,forceShouldAnimate:!a&&null})},lu=function(e){var t=e.impact,n=e.viewport,r=e.draggables,i=e.destination,o=e.forceShouldAnimate,a=t.displaced,s=function(e,t){return e.map((function(e){return t[e]}))}(a.all,r);return la({},t,{displaced:Ic({afterDragging:s,destination:i,displacedBy:t.displacedBy,viewport:n.frame,forceShouldAnimate:o,last:a})})},cu=function(e){var t=e.impact,n=e.draggable,r=e.droppable,i=e.draggables,o=e.viewport,a=e.afterCritical,s=jc({impact:t,draggable:n,draggables:i,droppable:r,afterCritical:a});return zc({pageBorderBoxCenter:s,draggable:n,viewport:o})},uu=function(e){var t=e.state,n=e.dimensions,r=e.viewport;"SNAP"!==t.movementMode&&Hl(!1);var i=t.impact,o=r||t.viewport,a=n||t.dimensions,s=a.draggables,l=a.droppables,c=s[t.critical.draggable.id],u=Jc(i);u||Hl(!1);var h=l[u],p=lu({impact:i,viewport:o,destination:h,draggables:s}),d=cu({impact:p,draggable:c,droppable:h,draggables:s,viewport:o,afterCritical:t.afterCritical});return su({impact:p,clientSelection:d,state:t,dimensions:a,viewport:o})},hu=function(e){var t=e.draggable,n=e.home,r=e.draggables,i=e.viewport,o=Xc(n.axis,t.displaceBy),a=mc(n.descriptor.id,r),s=a.indexOf(t);-1===s&&Hl(!1);var l,c=a.slice(s+1),u=c.reduce((function(e,t){return e[t.descriptor.id]=!0,e}),{}),h={inVirtualList:"virtual"===n.descriptor.mode,displacedBy:o,effected:u};return{impact:{displaced:Ic({afterDragging:c,destination:n,displacedBy:o,last:null,viewport:i.frame,forceShouldAnimate:!1}),displacedBy:o,at:{type:"REORDER",destination:(l=t.descriptor,{index:l.index,droppableId:l.droppableId})}},afterCritical:h}},pu=function(e){return"SNAP"===e.movementMode},du=function(e,t,n){var r=function(e,t){return{draggables:e.draggables,droppables:au(e.droppables,t)}}(e.dimensions,t);return!pu(e)||n?su({state:e,dimensions:r}):uu({state:e,dimensions:r})};function fu(e){return e.isDragging&&"SNAP"===e.movementMode?la({phase:"DRAGGING"},e,{scrollJumpRequest:null}):e}var mu={phase:"IDLE",completed:null,shouldFlush:!1},gu=function(e,t){if(void 0===e&&(e=mu),"FLUSH"===t.type)return la({},mu,{shouldFlush:!0});if("INITIAL_PUBLISH"===t.type){"IDLE"!==e.phase&&Hl(!1);var n=t.payload,r=n.critical,i=n.clientSelection,o=n.viewport,a=n.dimensions,s=n.movementMode,l=a.draggables[r.draggable.id],c=a.droppables[r.droppable.id],u={selection:i,borderBoxCenter:l.client.borderBox.center,offset:Vl},h={client:u,page:{selection:Kl(u.selection,o.scroll.initial),borderBoxCenter:Kl(u.selection,o.scroll.initial),offset:Kl(u.selection,o.scroll.diff.value)}},p=dc(a.droppables).every((function(e){return!e.isFixedOnPage})),d=hu({draggable:l,home:c,draggables:a.draggables,viewport:o}),f=d.impact;return{phase:"DRAGGING",isDragging:!0,critical:r,movementMode:s,dimensions:a,initial:h,current:h,isWindowScrollAllowed:p,impact:f,afterCritical:d.afterCritical,onLiftImpact:f,viewport:o,scrollJumpRequest:null,forceShouldAnimate:null}}if("COLLECTION_STARTING"===t.type)return"COLLECTING"===e.phase||"DROP_PENDING"===e.phase?e:("DRAGGING"!==e.phase&&Hl(!1),la({phase:"COLLECTING"},e,{phase:"COLLECTING"}));if("PUBLISH_WHILE_DRAGGING"===t.type)return"COLLECTING"!==e.phase&&"DROP_PENDING"!==e.phase&&Hl(!1),function(e){var t=e.state,n=e.published,r=n.modified.map((function(e){var n=t.dimensions.droppables[e.droppableId];return ac(n,e.scroll)})),i=la({},t.dimensions.droppables,{},hc(r)),o=pc(function(e){var t=e.additions,n=e.updatedDroppables,r=e.viewport,i=r.scroll.diff.value;return t.map((function(e){var t,o,a=e.descriptor.droppableId,s=(t=n[a],o=t.frame,o||Hl(!1),o).scroll.diff.value,l=function(e){var t=e.draggable,n=e.offset,r=e.initialWindowScroll,i=Cl(t.client,n),o=Al(i,r);return la({},t,{placeholder:la({},t.placeholder,{client:i}),client:i,page:o})}({draggable:e,offset:Kl(i,s),initialWindowScroll:r.scroll.initial});return l}))}({additions:n.additions,updatedDroppables:i,viewport:t.viewport})),a=la({},t.dimensions.draggables,{},o);n.removals.forEach((function(e){delete a[e]}));var s={droppables:i,draggables:a},l=Jc(t.impact),c=l?s.droppables[l]:null,u=s.draggables[t.critical.draggable.id],h=s.droppables[t.critical.droppable.id],p=hu({draggable:u,home:h,draggables:a,viewport:t.viewport}),d=p.impact,f=p.afterCritical,m=c&&c.isCombineEnabled?t.impact:d,g=ou({pageOffset:t.current.page.offset,draggable:s.draggables[t.critical.draggable.id],draggables:s.draggables,droppables:s.droppables,previousImpact:m,viewport:t.viewport,afterCritical:f}),y=la({phase:"DRAGGING"},t,{phase:"DRAGGING",impact:g,onLiftImpact:d,dimensions:s,afterCritical:f,forceShouldAnimate:!1});return"COLLECTING"===t.phase?y:la({phase:"DROP_PENDING"},y,{phase:"DROP_PENDING",reason:t.reason,isWaiting:!1})}({state:e,published:t.payload});if("MOVE"===t.type){if("DROP_PENDING"===e.phase)return e;tu(e)||Hl(!1);var m=t.payload.client;return Xl(m,e.current.client.selection)?e:su({state:e,clientSelection:m,impact:pu(e)?e.impact:null})}if("UPDATE_DROPPABLE_SCROLL"===t.type){if("DROP_PENDING"===e.phase)return fu(e);if("COLLECTING"===e.phase)return fu(e);tu(e)||Hl(!1);var g=t.payload,y=g.id,v=g.newScroll,_=e.dimensions.droppables[y];if(!_)return e;var b=ac(_,v);return du(e,b,!1)}if("UPDATE_DROPPABLE_IS_ENABLED"===t.type){if("DROP_PENDING"===e.phase)return e;tu(e)||Hl(!1);var E=t.payload,T=E.id,x=E.isEnabled,S=e.dimensions.droppables[T];S||Hl(!1),S.isEnabled===x&&Hl(!1);var C=la({},S,{isEnabled:x});return du(e,C,!0)}if("UPDATE_DROPPABLE_IS_COMBINE_ENABLED"===t.type){if("DROP_PENDING"===e.phase)return e;tu(e)||Hl(!1);var A=t.payload,R=A.id,w=A.isCombineEnabled,L=e.dimensions.droppables[R];L||Hl(!1),L.isCombineEnabled===w&&Hl(!1);var O=la({},L,{isCombineEnabled:w});return du(e,O,!0)}if("MOVE_BY_WINDOW_SCROLL"===t.type){if("DROP_PENDING"===e.phase||"DROP_ANIMATING"===e.phase)return e;tu(e)||Hl(!1),e.isWindowScrollAllowed||Hl(!1);var N=t.payload.newScroll;if(Xl(e.viewport.scroll.current,N))return fu(e);var I=Gc(e.viewport,N);return pu(e)?uu({state:e,viewport:I}):su({state:e,viewport:I})}if("UPDATE_VIEWPORT_MAX_SCROLL"===t.type){if(!tu(e))return e;var k=t.payload.maxScroll;if(Xl(k,e.viewport.scroll.max))return e;var D=la({},e.viewport,{scroll:la({},e.viewport.scroll,{max:k})});return la({phase:"DRAGGING"},e,{viewport:D})}if("MOVE_UP"===t.type||"MOVE_DOWN"===t.type||"MOVE_LEFT"===t.type||"MOVE_RIGHT"===t.type){if("COLLECTING"===e.phase||"DROP_PENDING"===e.phase)return e;"DRAGGING"!==e.phase&&Hl(!1);var P=eu({state:e,type:t.type});return P?su({state:e,impact:P.impact,clientSelection:P.clientSelection,scrollJumpRequest:P.scrollJumpRequest}):e}if("DROP_PENDING"===t.type){var M=t.payload.reason;return"COLLECTING"!==e.phase&&Hl(!1),la({phase:"DROP_PENDING"},e,{phase:"DROP_PENDING",isWaiting:!0,reason:M})}if("DROP_ANIMATE"===t.type){var F=t.payload,H=F.completed,B=F.dropDuration,U=F.newHomeClientOffset;return"DRAGGING"!==e.phase&&"DROP_PENDING"!==e.phase&&Hl(!1),{phase:"DROP_ANIMATING",completed:H,dropDuration:B,newHomeClientOffset:U,dimensions:e.dimensions}}return"DROP_COMPLETE"===t.type?{phase:"IDLE",completed:t.payload.completed,shouldFlush:!1}:e},yu=function(e){return{type:"LIFT",payload:e}},vu=function(e){return{type:"PUBLISH_WHILE_DRAGGING",payload:e}},_u=function(){return{type:"COLLECTION_STARTING",payload:null}},bu=function(e){return{type:"UPDATE_DROPPABLE_SCROLL",payload:e}},Eu=function(e){return{type:"UPDATE_DROPPABLE_IS_ENABLED",payload:e}},Tu=function(e){return{type:"UPDATE_DROPPABLE_IS_COMBINE_ENABLED",payload:e}},xu=function(e){return{type:"MOVE",payload:e}},Su=function(){return{type:"MOVE_UP",payload:null}},Cu=function(){return{type:"MOVE_DOWN",payload:null}},Au=function(){return{type:"MOVE_RIGHT",payload:null}},Ru=function(){return{type:"MOVE_LEFT",payload:null}},wu=function(){return{type:"FLUSH",payload:null}},Lu=function(e){return{type:"DROP_COMPLETE",payload:e}},Ou=function(e){return{type:"DROP",payload:e}},Nu="cubic-bezier(.2,1,.1,1)",Iu=0,ku=.7,Du=.75,Pu="0.2s cubic-bezier(0.2, 0, 0, 1)",Mu={fluid:"opacity "+Pu,snap:"transform "+Pu+", opacity "+Pu,drop:function(e){var t=e+"s "+Nu;return"transform "+t+", opacity "+t},outOfTheWay:"transform "+Pu,placeholder:"height "+Pu+", width "+Pu+", margin "+Pu},Fu=function(e){return Xl(e,Vl)?null:"translate("+e.x+"px, "+e.y+"px)"},Hu=Fu,Bu=function(e,t){var n=Fu(e);return n?t?n+" scale("+Du+")":n:null},Uu=.33,ju=function(e){var t=e.getState,n=e.dispatch;return function(e){return function(r){if("DROP"===r.type){var i=t(),o=r.payload.reason;if("COLLECTING"!==i.phase){if("IDLE"!==i.phase){"DROP_PENDING"===i.phase&&i.isWaiting&&Hl(!1),"DRAGGING"!==i.phase&&"DROP_PENDING"!==i.phase&&Hl(!1);var a=i.critical,s=i.dimensions,l=s.draggables[i.critical.draggable.id],c=function(e){var t=e.draggables,n=e.reason,r=e.lastImpact,i=e.home,o=e.viewport,a=e.onLiftImpact;return r.at&&"DROP"===n?"REORDER"===r.at.type?{impact:r,didDropInsideDroppable:!0}:{impact:la({},r,{displaced:Ec}),didDropInsideDroppable:!0}:{impact:lu({draggables:t,impact:a,destination:i,viewport:o,forceShouldAnimate:!0}),didDropInsideDroppable:!1}}({reason:o,lastImpact:i.impact,afterCritical:i.afterCritical,onLiftImpact:i.onLiftImpact,home:i.dimensions.droppables[i.critical.droppable.id],viewport:i.viewport,draggables:i.dimensions.draggables}),u=c.impact,h=c.didDropInsideDroppable,p=h?gc(u):null,d=h?yc(u):null,f={index:a.draggable.index,droppableId:a.droppable.id},m={draggableId:l.descriptor.id,type:l.descriptor.type,source:f,reason:o,mode:i.movementMode,destination:p,combine:d},g=function(e){var t=e.impact,n=e.draggable,r=e.dimensions,i=e.viewport,o=e.afterCritical,a=r.draggables,s=r.droppables,l=Jc(t),c=l?s[l]:null,u=s[n.descriptor.droppableId],h=cu({impact:t,draggable:n,draggables:a,afterCritical:o,droppable:c||u,viewport:i});return ql(h,n.client.borderBox.center)}({impact:u,draggable:l,dimensions:s,viewport:i.viewport,afterCritical:i.afterCritical}),y={critical:i.critical,afterCritical:i.afterCritical,result:m,impact:u};if(!Xl(i.current.client.offset,g)||Boolean(m.combine)){var v=function(e){var t=e.reason,n=Jl(e.current,e.destination);if(n<=0)return Uu;if(n>=1500)return.55;var r=Uu+n/1500*.22000000000000003;return Number(("CANCEL"===t?.6*r:r).toFixed(2))}({current:i.current.client.offset,destination:g,reason:o});n({type:"DROP_ANIMATE",payload:{newHomeClientOffset:g,dropDuration:v,completed:y}})}else n(Lu({completed:y}))}}else n(function(e){return{type:"DROP_PENDING",payload:e}}({reason:o}))}else e(r)}}},Gu=function(){return{x:window.pageXOffset,y:window.pageYOffset}};var Yu=function(e){var t=function(e){var t,n=e.onWindowScroll,r=Il((function(){n(Gu())})),i=(t=r,{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(e){e.target!==window&&e.target!==window.document||t()}}),o=Dl;function a(){return o!==Dl}return{start:function(){a()&&Hl(!1),o=Pl(window,[i])},stop:function(){a()||Hl(!1),r.cancel(),o(),o=Dl},isActive:a}}({onWindowScroll:function(t){e.dispatch({type:"MOVE_BY_WINDOW_SCROLL",payload:{newScroll:t}})}});return function(e){return function(n){t.isActive()||"INITIAL_PUBLISH"!==n.type||t.start(),t.isActive()&&function(e){return"DROP_COMPLETE"===e.type||"DROP_ANIMATE"===e.type||"FLUSH"===e.type}(n)&&t.stop(),e(n)}}},zu=function(e,t){t()},$u=function(e,t){return{draggableId:e.draggable.id,type:e.droppable.type,source:{droppableId:e.droppable.id,index:e.draggable.index},mode:t}},Wu=function(e,t,n,r){if(e){var i=function(e){var t=!1,n=!1,r=setTimeout((function(){n=!0})),i=function(i){t||n||(t=!0,e(i),clearTimeout(r))};return i.wasCalled=function(){return t},i}(n);e(t,{announce:i}),i.wasCalled()||n(r(t))}else n(r(t))},Vu=function(e,t){var n=function(e,t){var n,r=(n=[],{add:function(e){var t=setTimeout((function(){return function(e){var t=lc(n,(function(t){return t.timerId===e}));-1===t&&Hl(!1),n.splice(t,1)[0].callback()}(t)})),r={timerId:t,callback:e};n.push(r)},flush:function(){if(n.length){var e=[].concat(n);n.length=0,e.forEach((function(e){clearTimeout(e.timerId),e.callback()}))}}}),i=null,o=function(n){i||Hl(!1),i=null,zu(0,(function(){return Wu(e().onDragEnd,n,t,Wl)}))};return{beforeCapture:function(t,n){i&&Hl(!1),zu(0,(function(){var r=e().onBeforeCapture;r&&r({draggableId:t,mode:n})}))},beforeStart:function(t,n){i&&Hl(!1),zu(0,(function(){var r=e().onBeforeDragStart;r&&r($u(t,n))}))},start:function(n,o){i&&Hl(!1);var a=$u(n,o);i={mode:o,lastCritical:n,lastLocation:a.source,lastCombine:null},r.add((function(){zu(0,(function(){return Wu(e().onDragStart,a,t,zl)}))}))},update:function(n,o){var a=gc(o),s=yc(o);i||Hl(!1);var l=!function(e,t){if(e===t)return!0;var n=e.draggable.id===t.draggable.id&&e.draggable.droppableId===t.draggable.droppableId&&e.draggable.type===t.draggable.type&&e.draggable.index===t.draggable.index,r=e.droppable.id===t.droppable.id&&e.droppable.type===t.droppable.type;return n&&r}(n,i.lastCritical);l&&(i.lastCritical=n);var c,u,h=(u=a,!(null==(c=i.lastLocation)&&null==u||null!=c&&null!=u&&c.droppableId===u.droppableId&&c.index===u.index));h&&(i.lastLocation=a);var p=!function(e,t){return null==e&&null==t||null!=e&&null!=t&&e.draggableId===t.draggableId&&e.droppableId===t.droppableId}(i.lastCombine,s);if(p&&(i.lastCombine=s),l||h||p){var d=la({},$u(n,i.mode),{combine:s,destination:a});r.add((function(){zu(0,(function(){return Wu(e().onDragUpdate,d,t,$l)}))}))}},flush:function(){i||Hl(!1),r.flush()},drop:o,abort:function(){if(i){var e=la({},$u(i.lastCritical,i.mode),{combine:null,destination:null,reason:"CANCEL"});o(e)}}}}(e,t);return function(e){return function(t){return function(r){if("BEFORE_INITIAL_CAPTURE"!==r.type){if("INITIAL_PUBLISH"===r.type){var i=r.payload.critical;return n.beforeStart(i,r.payload.movementMode),t(r),void n.start(i,r.payload.movementMode)}if("DROP_COMPLETE"===r.type){var o=r.payload.completed.result;return n.flush(),t(r),void n.drop(o)}if(t(r),"FLUSH"!==r.type){var a=e.getState();"DRAGGING"===a.phase&&n.update(a.critical,a.impact)}else n.abort()}else n.beforeCapture(r.payload.draggableId,r.payload.movementMode)}}}},Ku=function(e){return function(t){return function(n){if("DROP_ANIMATION_FINISHED"===n.type){var r=e.getState();"DROP_ANIMATING"!==r.phase&&Hl(!1),e.dispatch(Lu({completed:r.completed}))}else t(n)}}},qu=function(e){var t=null,n=null;return function(r){return function(i){if("FLUSH"!==i.type&&"DROP_COMPLETE"!==i.type&&"DROP_ANIMATION_FINISHED"!==i.type||(n&&(cancelAnimationFrame(n),n=null),t&&(t(),t=null)),r(i),"DROP_ANIMATE"===i.type){var o={eventName:"scroll",options:{capture:!0,passive:!1,once:!0},fn:function(){"DROP_ANIMATING"===e.getState().phase&&e.dispatch({type:"DROP_ANIMATION_FINISHED",payload:null})}};n=requestAnimationFrame((function(){n=null,t=Pl(window,[o])}))}}}},Xu=function(e){return function(t){return function(n){if(t(n),"PUBLISH_WHILE_DRAGGING"===n.type){var r=e.getState();"DROP_PENDING"===r.phase&&(r.isWaiting||e.dispatch(Ou({reason:r.reason})))}}}},Zu=_a,Qu=function(e){var t,n=e.dimensionMarshal,r=e.focusMarshal,i=e.styleMarshal,o=e.getResponders,a=e.announce,s=e.autoScroller;return ga(gu,Zu(function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return function(){var n=e.apply(void 0,arguments),r=function(){throw new Error(pa(15))},i={getState:n.getState,dispatch:function(){return r.apply(void 0,arguments)}},o=t.map((function(e){return e(i)}));return r=_a.apply(void 0,o)(n.dispatch),ha(ha({},n),{},{dispatch:r})}}}((t=i,function(){return function(e){return function(n){"INITIAL_PUBLISH"===n.type&&t.dragging(),"DROP_ANIMATE"===n.type&&t.dropping(n.payload.completed.result.reason),"FLUSH"!==n.type&&"DROP_COMPLETE"!==n.type||t.resting(),e(n)}}}),function(e){return function(){return function(t){return function(n){"DROP_COMPLETE"!==n.type&&"FLUSH"!==n.type&&"DROP_ANIMATE"!==n.type||e.stopPublishing(),t(n)}}}}(n),function(e){return function(t){var n=t.getState,r=t.dispatch;return function(t){return function(i){if("LIFT"===i.type){var o=i.payload,a=o.id,s=o.clientSelection,l=o.movementMode,c=n();"DROP_ANIMATING"===c.phase&&r(Lu({completed:c.completed})),"IDLE"!==n().phase&&Hl(!1),r(wu()),r({type:"BEFORE_INITIAL_CAPTURE",payload:{draggableId:a,movementMode:l}});var u={draggableId:a,scrollOptions:{shouldPublishImmediately:"SNAP"===l}},h=e.startPublishing(u),p=h.critical,d=h.dimensions,f=h.viewport;r({type:"INITIAL_PUBLISH",payload:{critical:p,dimensions:d,clientSelection:s,movementMode:l,viewport:f}})}else t(i)}}}}(n),ju,Ku,qu,Xu,function(e){return function(t){return function(n){return function(r){if(function(e){return"DROP_COMPLETE"===e.type||"DROP_ANIMATE"===e.type||"FLUSH"===e.type}(r))return e.stop(),void n(r);if("INITIAL_PUBLISH"===r.type){n(r);var i=t.getState();return"DRAGGING"!==i.phase&&Hl(!1),void e.start(i)}n(r),e.scroll(t.getState())}}}}(s),Yu,function(e){var t=!1;return function(){return function(n){return function(r){if("INITIAL_PUBLISH"===r.type)return t=!0,e.tryRecordFocus(r.payload.critical.draggable.id),n(r),void e.tryRestoreFocusRecorded();if(n(r),t){if("FLUSH"===r.type)return t=!1,void e.tryRestoreFocusRecorded();if("DROP_COMPLETE"===r.type){t=!1;var i=r.payload.completed.result;i.combine&&e.tryShiftRecord(i.draggableId,i.combine.draggableId),e.tryRestoreFocusRecorded()}}}}}}(r),Vu(o,a))))},Ju=function(e){var t=e.scrollHeight,n=e.scrollWidth,r=e.height,i=e.width,o=ql({x:n,y:t},{x:i,y:r});return{x:Math.max(0,o.x),y:Math.max(0,o.y)}},eh=function(){var e=document.documentElement;return e||Hl(!1),e},th=function(){var e=eh();return Ju({scrollHeight:e.scrollHeight,scrollWidth:e.scrollWidth,width:e.clientWidth,height:e.clientHeight})};function nh(e,t,n){return n.descriptor.id!==t.id&&n.descriptor.type===t.type&&"virtual"===e.droppable.getById(n.descriptor.droppableId).descriptor.mode}var rh,ih,oh=function(e,t){var n=null,r=function(e){var t=e.registry,n=e.callbacks,r={additions:{},removals:{},modified:{}},i=null,o=function(){i||(n.collectionStarting(),i=requestAnimationFrame((function(){i=null;var e=r,o=e.additions,a=e.removals,s=e.modified,l=Object.keys(o).map((function(e){return t.draggable.getById(e).getDimension(Vl)})).sort((function(e,t){return e.descriptor.index-t.descriptor.index})),c=Object.keys(s).map((function(e){return{droppableId:e,scroll:t.droppable.getById(e).callbacks.getScrollWhileDragging()}})),u={additions:l,removals:Object.keys(a),modified:c};r={additions:{},removals:{},modified:{}},n.publish(u)})))};return{add:function(e){var t=e.descriptor.id;r.additions[t]=e,r.modified[e.descriptor.droppableId]=!0,r.removals[t]&&delete r.removals[t],o()},remove:function(e){var t=e.descriptor;r.removals[t.id]=!0,r.modified[t.droppableId]=!0,r.additions[t.id]&&delete r.additions[t.id],o()},stop:function(){i&&(cancelAnimationFrame(i),i=null,r={additions:{},removals:{},modified:{}})}}}({callbacks:{publish:t.publishWhileDragging,collectionStarting:t.collectionStarting},registry:e}),i=function(t){n||Hl(!1);var i=n.critical.draggable;"ADDITION"===t.type&&nh(e,i,t.value)&&r.add(t.value),"REMOVAL"===t.type&&nh(e,i,t.value)&&r.remove(t.value)};return{updateDroppableIsEnabled:function(r,i){e.droppable.exists(r)||Hl(!1),n&&t.updateDroppableIsEnabled({id:r,isEnabled:i})},updateDroppableIsCombineEnabled:function(r,i){n&&(e.droppable.exists(r)||Hl(!1),t.updateDroppableIsCombineEnabled({id:r,isCombineEnabled:i}))},scrollDroppable:function(t,r){n&&e.droppable.getById(t).callbacks.scroll(r)},updateDroppableScroll:function(r,i){n&&(e.droppable.exists(r)||Hl(!1),t.updateDroppableScroll({id:r,newScroll:i}))},startPublishing:function(t){n&&Hl(!1);var r=e.draggable.getById(t.draggableId),o=e.droppable.getById(r.descriptor.droppableId),a={draggable:r.descriptor,droppable:o.descriptor},s=e.subscribe(i);return n={critical:a,unsubscribe:s},function(e){var t,n,r,i,o,a,s,l=e.critical,c=e.scrollOptions,u=e.registry,h=(t=Gu(),n=th(),r=t.y,i=t.x,a=(o=eh()).clientWidth,s=o.clientHeight,{frame:_l({top:r,left:i,right:i+a,bottom:r+s}),scroll:{initial:t,current:t,max:n,diff:{value:Vl,displacement:Vl}}}),p=h.scroll.current,d=l.droppable,f=u.droppable.getAllByType(d.type).map((function(e){return e.callbacks.getDimensionAndWatchScroll(p,c)})),m=u.draggable.getAllByType(l.draggable.type).map((function(e){return e.getDimension(p)}));return{dimensions:{draggables:pc(m),droppables:hc(f)},critical:l,viewport:h}}({critical:a,registry:e,scrollOptions:t.scrollOptions})},stopPublishing:function(){if(n){r.stop();var t=n.critical.droppable;e.droppable.getAllByType(t.type).forEach((function(e){return e.callbacks.dragStopped()})),n.unsubscribe(),n=null}}}},ah=function(e,t){return"IDLE"===e.phase||"DROP_ANIMATING"===e.phase&&e.completed.result.draggableId!==t&&"DROP"===e.completed.result.reason},sh=function(e){window.scrollBy(e.x,e.y)},lh=Nl((function(e){return dc(e).filter((function(e){return!!e.isEnabled&&!!e.frame}))})),ch=function(e){return Math.pow(e,2)},uh=function(e){var t=e.startOfRange,n=e.endOfRange,r=e.current,i=n-t;return 0===i?0:(r-t)/i},hh=360,ph=1200,dh=function(e){var t=e.distanceToEdge,n=e.thresholds,r=e.dragStartTime,i=e.shouldUseTimeDampening,o=function(e,t){if(e>t.startScrollingFrom)return 0;if(e<=t.maxScrollValueAt)return 28;if(e===t.startScrollingFrom)return 1;var n=uh({startOfRange:t.maxScrollValueAt,endOfRange:t.startScrollingFrom,current:e}),r=28*ch(1-n);return Math.ceil(r)}(t,n);return 0===o?0:i?Math.max(function(e,t){var n=t,r=ph,i=Date.now()-n;if(i>=ph)return e;if(i<hh)return 1;var o=uh({startOfRange:hh,endOfRange:r,current:i}),a=e*ch(o);return Math.ceil(a)}(o,r),1):o},fh=function(e){var t=e.container,n=e.distanceToEdges,r=e.dragStartTime,i=e.axis,o=e.shouldUseTimeDampening,a=function(e,t){return{startScrollingFrom:.25*e[t.size],maxScrollValueAt:.05*e[t.size]}}(t,i);return n[i.end]<n[i.start]?dh({distanceToEdge:n[i.end],thresholds:a,dragStartTime:r,shouldUseTimeDampening:o}):-1*dh({distanceToEdge:n[i.start],thresholds:a,dragStartTime:r,shouldUseTimeDampening:o})},mh=tc((function(e){return 0===e?0:e})),gh=function(e){var t=e.dragStartTime,n=e.container,r=e.subject,i=e.center,o=e.shouldUseTimeDampening,a={top:i.y-n.top,right:n.right-i.x,bottom:n.bottom-i.y,left:i.x-n.left},s=fh({container:n,distanceToEdges:a,dragStartTime:t,axis:Ac,shouldUseTimeDampening:o}),l=fh({container:n,distanceToEdges:a,dragStartTime:t,axis:Rc,shouldUseTimeDampening:o}),c=mh({x:l,y:s});if(Xl(c,Vl))return null;var u=function(e){var t=e.container,n=e.subject,r=e.proposedScroll,i=n.height>t.height,o=n.width>t.width;return o||i?o&&i?null:{x:o?0:r.x,y:i?0:r.y}:r}({container:n,subject:r,proposedScroll:c});return u?Xl(u,Vl)?null:u:null},yh=tc((function(e){return 0===e?0:e>0?1:-1})),vh=(rh=function(e,t){return e<0?e:e>t?e-t:0},function(e){var t=e.current,n=e.max,r=e.change,i=Kl(t,r),o={x:rh(i.x,n.x),y:rh(i.y,n.y)};return Xl(o,Vl)?null:o}),_h=function(e){var t=e.max,n=e.current,r=e.change,i={x:Math.max(n.x,t.x),y:Math.max(n.y,t.y)},o=yh(r),a=vh({max:i,current:n,change:o});return!a||0!==o.x&&0===a.x||0!==o.y&&0===a.y},bh=function(e,t){return _h({current:e.scroll.current,max:e.scroll.max,change:t})},Eh=function(e,t){var n=e.frame;return!!n&&_h({current:n.scroll.current,max:n.scroll.max,change:t})},Th=function(e){var t=e.state,n=e.dragStartTime,r=e.shouldUseTimeDampening,i=e.scrollWindow,o=e.scrollDroppable,a=t.current.page.borderBoxCenter,s=t.dimensions.draggables[t.critical.draggable.id].page.marginBox;if(t.isWindowScrollAllowed){var l=function(e){var t=e.viewport,n=e.subject,r=e.center,i=e.shouldUseTimeDampening,o=gh({dragStartTime:e.dragStartTime,container:t.frame,subject:n,center:r,shouldUseTimeDampening:i});return o&&bh(t,o)?o:null}({dragStartTime:n,viewport:t.viewport,subject:s,center:a,shouldUseTimeDampening:r});if(l)return void i(l)}var c=function(e){var t=e.center,n=e.destination,r=e.droppables;if(n){var i=r[n];return i.frame?i:null}var o=function(e,t){return cc(lh(t),(function(t){return t.frame||Hl(!1),nu(t.frame.pageMarginBox)(e)}))}(t,r);return o}({center:a,destination:Jc(t.impact),droppables:t.dimensions.droppables});if(c){var u=function(e){var t=e.droppable,n=e.subject,r=e.center,i=e.dragStartTime,o=e.shouldUseTimeDampening,a=t.frame;if(!a)return null;var s=gh({dragStartTime:i,container:a.pageMarginBox,subject:n,center:r,shouldUseTimeDampening:o});return s&&Eh(t,s)?s:null}({dragStartTime:n,droppable:c,subject:s,center:a,shouldUseTimeDampening:r});u&&o(c.descriptor.id,u)}},xh=function(e){var t=e.move,n=e.scrollDroppable,r=e.scrollWindow;return function(e){var i=e.scrollJumpRequest;if(i){var o=Jc(e.impact);o||Hl(!1);var a=function(e,t){if(!Eh(e,t))return t;var r=function(e,t){var n=e.frame;return n&&Eh(e,t)?vh({current:n.scroll.current,max:n.scroll.max,change:t}):null}(e,t);if(!r)return n(e.descriptor.id,t),null;var i=ql(t,r);return n(e.descriptor.id,i),ql(t,i)}(e.dimensions.droppables[o],i);if(a){var s=e.viewport,l=function(e,t,n){if(!e)return n;if(!bh(t,n))return n;var i=function(e,t){if(!bh(e,t))return null;var n=e.scroll.max,r=e.scroll.current;return vh({current:r,max:n,change:t})}(t,n);if(!i)return r(n),null;var o=ql(n,i);return r(o),ql(n,o)}(e.isWindowScrollAllowed,s,a);l&&function(e,n){var r=Kl(e.current.client.selection,n);t({client:r})}(e,l)}}}},Sh=function(e){var t=e.scrollDroppable,n=e.scrollWindow,r=e.move,i=function(e){var t=e.scrollDroppable,n=Il(e.scrollWindow),r=Il(t),i=null,o=function(e){i||Hl(!1);var t=i,o=t.shouldUseTimeDampening,a=t.dragStartTime;Th({state:e,scrollWindow:n,scrollDroppable:r,dragStartTime:a,shouldUseTimeDampening:o})};return{start:function(e){i&&Hl(!1);var t=Date.now(),n=!1,r=function(){n=!0};Th({state:e,dragStartTime:0,shouldUseTimeDampening:!1,scrollWindow:r,scrollDroppable:r}),i={dragStartTime:t,shouldUseTimeDampening:n},n&&o(e)},stop:function(){i&&(n.cancel(),r.cancel(),i=null)},scroll:o}}({scrollWindow:n,scrollDroppable:t}),o=xh({move:r,scrollWindow:n,scrollDroppable:t});return{scroll:function(e){"DRAGGING"===e.phase&&("FLUID"!==e.movementMode?e.scrollJumpRequest&&o(e):i.scroll(e))},start:i.start,stop:i.stop}},Ch="data-rbd",Ah={base:ih=Ch+"-drag-handle",draggableId:ih+"-draggable-id",contextId:ih+"-context-id"},Rh=function(){var e=Ch+"-draggable";return{base:e,contextId:e+"-context-id",id:e+"-id"}}(),wh=function(){var e=Ch+"-droppable";return{base:e,contextId:e+"-context-id",id:e+"-id"}}(),Lh={contextId:Ch+"-scroll-container-context-id"},Oh=function(e,t){return e.map((function(e){var n=e.styles[t];return n?e.selector+" { "+n+" }":""})).join(" ")},Nh=function(e){var t,n,r,i=(t=e,function(e){return"["+e+'="'+t+'"]'}),o=(n="\n cursor: -webkit-grab;\n cursor: grab;\n ",{selector:i(Ah.contextId),styles:{always:"\n -webkit-touch-callout: none;\n -webkit-tap-highlight-color: rgba(0,0,0,0);\n touch-action: manipulation;\n ",resting:n,dragging:"pointer-events: none;",dropAnimating:n}}),a=[(r="\n transition: "+Mu.outOfTheWay+";\n ",{selector:i(Rh.contextId),styles:{dragging:r,dropAnimating:r,userCancel:r}}),o,{selector:i(wh.contextId),styles:{always:"overflow-anchor: none;"}},{selector:"body",styles:{dragging:"\n cursor: grabbing;\n cursor: -webkit-grabbing;\n user-select: none;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n overflow-anchor: none;\n "}}];return{always:Oh(a,"always"),resting:Oh(a,"resting"),dragging:Oh(a,"dragging"),dropAnimating:Oh(a,"dropAnimating"),userCancel:Oh(a,"userCancel")}},Ih="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?o.useLayoutEffect:o.useEffect,kh=function(){var e=document.querySelector("head");return e||Hl(!1),e},Dh=function(e){var t=document.createElement("style");return e&&t.setAttribute("nonce",e),t.type="text/css",t},Ph=function(e){return e&&e.ownerDocument?e.ownerDocument.defaultView:window};function Mh(e){return e instanceof Ph(e).HTMLElement}function Fh(){var e={draggables:{},droppables:{}},t=[];function n(e){t.length&&t.forEach((function(t){return t(e)}))}function r(t){return e.draggables[t]||null}function i(t){return e.droppables[t]||null}return{draggable:{register:function(t){e.draggables[t.descriptor.id]=t,n({type:"ADDITION",value:t})},update:function(t,n){var r=e.draggables[n.descriptor.id];r&&r.uniqueId===t.uniqueId&&(delete e.draggables[n.descriptor.id],e.draggables[t.descriptor.id]=t)},unregister:function(t){var i=t.descriptor.id,o=r(i);o&&t.uniqueId===o.uniqueId&&(delete e.draggables[i],n({type:"REMOVAL",value:t}))},getById:function(e){var t=r(e);return t||Hl(!1),t},findById:r,exists:function(e){return Boolean(r(e))},getAllByType:function(t){return sc(e.draggables).filter((function(e){return e.descriptor.type===t}))}},droppable:{register:function(t){e.droppables[t.descriptor.id]=t},unregister:function(t){var n=i(t.descriptor.id);n&&t.uniqueId===n.uniqueId&&delete e.droppables[t.descriptor.id]},getById:function(e){var t=i(e);return t||Hl(!1),t},findById:i,exists:function(e){return Boolean(i(e))},getAllByType:function(t){return sc(e.droppables).filter((function(e){return e.descriptor.type===t}))}},subscribe:function(e){return t.push(e),function(){var n=t.indexOf(e);-1!==n&&t.splice(n,1)}},clean:function(){e.draggables={},e.droppables={},t.length=0}}}var Hh=a().createContext(null),Bh=function(){var e=document.body;return e||Hl(!1),e},Uh={position:"absolute",width:"1px",height:"1px",margin:"-1px",border:"0",padding:"0",overflow:"hidden",clip:"rect(0 0 0 0)","clip-path":"inset(100%)"},jh=function(e){return"rbd-announcement-"+e},Gh=0,Yh={separator:"::"};function zh(e,t){return void 0===t&&(t=Yh),yl((function(){return""+e+t.separator+Gh++}),[t.separator,e])}var $h=a().createContext(null);function Wh(e){var t=(0,o.useRef)(e);return(0,o.useEffect)((function(){t.current=e})),t}var Vh,Kh,qh=((Vh={})[13]=!0,Vh[9]=!0,Vh),Xh=function(e){qh[e.keyCode]&&e.preventDefault()},Zh=function(){var e="visibilitychange";return"undefined"==typeof document?e:cc([e,"ms"+e,"webkit"+e,"moz"+e,"o"+e],(function(e){return"on"+e in document}))||e}(),Qh={type:"IDLE"};function Jh(){}var ep=((Kh={})[34]=!0,Kh[33]=!0,Kh[36]=!0,Kh[35]=!0,Kh);var tp={type:"IDLE"},np={input:!0,button:!0,textarea:!0,select:!0,option:!0,optgroup:!0,video:!0,audio:!0};function rp(e,t){if(null==t)return!1;if(Boolean(np[t.tagName.toLowerCase()]))return!0;var n=t.getAttribute("contenteditable");return"true"===n||""===n||t!==e&&rp(e,t.parentElement)}function ip(e,t){var n=t.target;return!!Mh(n)&&rp(e,n)}var op=function(e){return _l(e.getBoundingClientRect()).center},ap=function(){var e="matches";return"undefined"==typeof document?e:cc([e,"msMatchesSelector","webkitMatchesSelector"],(function(e){return e in Element.prototype}))||e}();function sp(e,t){return null==e?null:e[ap](t)?e:sp(e.parentElement,t)}function lp(e,t){return e.closest?e.closest(t):sp(e,t)}function cp(e){e.preventDefault()}function up(e){var t=e.expected,n=e.phase,r=e.isLockActive;return e.shouldWarn,!!r()&&t===n}function hp(e){var t=e.lockAPI,n=e.store,r=e.registry,i=e.draggableId;if(t.isClaimed())return!1;var o=r.draggable.findById(i);return!!o&&!!o.options.isEnabled&&!!ah(n.getState(),i)}var pp=[function(e){var t=(0,o.useRef)(Qh),n=(0,o.useRef)(Dl),r=yl((function(){return{eventName:"mousedown",fn:function(t){if(!t.defaultPrevented&&0===t.button&&!(t.ctrlKey||t.metaKey||t.shiftKey||t.altKey)){var r=e.findClosestDraggableId(t);if(r){var i=e.tryGetLock(r,s,{sourceEvent:t});if(i){t.preventDefault();var o={x:t.clientX,y:t.clientY};n.current(),u(i,o)}}}}}}),[e]),i=yl((function(){return{eventName:"webkitmouseforcewillbegin",fn:function(t){if(!t.defaultPrevented){var n=e.findClosestDraggableId(t);if(n){var r=e.findOptionsForDraggable(n);r&&(r.shouldRespectForcePress||e.canGetLock(n)&&t.preventDefault())}}}}}),[e]),a=vl((function(){n.current=Pl(window,[i,r],{passive:!1,capture:!0})}),[i,r]),s=vl((function(){"IDLE"!==t.current.type&&(t.current=Qh,n.current(),a())}),[a]),l=vl((function(){var e=t.current;s(),"DRAGGING"===e.type&&e.actions.cancel({shouldBlockNextClick:!0}),"PENDING"===e.type&&e.actions.abort()}),[s]),c=vl((function(){var e=function(e){var t=e.cancel,n=e.completed,r=e.getPhase,i=e.setPhase;return[{eventName:"mousemove",fn:function(e){var t=e.button,n=e.clientX,o=e.clientY;if(0===t){var a={x:n,y:o},s=r();if("DRAGGING"===s.type)return e.preventDefault(),void s.actions.move(a);if("PENDING"!==s.type&&Hl(!1),l=s.point,c=a,Math.abs(c.x-l.x)>=5||Math.abs(c.y-l.y)>=5){var l,c;e.preventDefault();var u=s.actions.fluidLift(a);i({type:"DRAGGING",actions:u})}}}},{eventName:"mouseup",fn:function(e){var i=r();"DRAGGING"===i.type?(e.preventDefault(),i.actions.drop({shouldBlockNextClick:!0}),n()):t()}},{eventName:"mousedown",fn:function(e){"DRAGGING"===r().type&&e.preventDefault(),t()}},{eventName:"keydown",fn:function(e){if("PENDING"!==r().type)return 27===e.keyCode?(e.preventDefault(),void t()):void Xh(e);t()}},{eventName:"resize",fn:t},{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(){"PENDING"===r().type&&t()}},{eventName:"webkitmouseforcedown",fn:function(e){var n=r();"IDLE"===n.type&&Hl(!1),n.actions.shouldRespectForcePress()?t():e.preventDefault()}},{eventName:Zh,fn:t}]}({cancel:l,completed:s,getPhase:function(){return t.current},setPhase:function(e){t.current=e}});n.current=Pl(window,e,{capture:!0,passive:!1})}),[l,s]),u=vl((function(e,n){"IDLE"!==t.current.type&&Hl(!1),t.current={type:"PENDING",point:n,actions:e},c()}),[c]);Ih((function(){return a(),function(){n.current()}}),[a])},function(e){var t=(0,o.useRef)(Jh),n=yl((function(){return{eventName:"keydown",fn:function(n){if(!n.defaultPrevented&&32===n.keyCode){var i=e.findClosestDraggableId(n);if(i){var o=e.tryGetLock(i,l,{sourceEvent:n});if(o){n.preventDefault();var a=!0,s=o.snapLift();t.current(),t.current=Pl(window,function(e,t){function n(){t(),e.cancel()}return[{eventName:"keydown",fn:function(r){return 27===r.keyCode?(r.preventDefault(),void n()):32===r.keyCode?(r.preventDefault(),t(),void e.drop()):40===r.keyCode?(r.preventDefault(),void e.moveDown()):38===r.keyCode?(r.preventDefault(),void e.moveUp()):39===r.keyCode?(r.preventDefault(),void e.moveRight()):37===r.keyCode?(r.preventDefault(),void e.moveLeft()):void(ep[r.keyCode]?r.preventDefault():Xh(r))}},{eventName:"mousedown",fn:n},{eventName:"mouseup",fn:n},{eventName:"click",fn:n},{eventName:"touchstart",fn:n},{eventName:"resize",fn:n},{eventName:"wheel",fn:n,options:{passive:!0}},{eventName:Zh,fn:n}]}(s,l),{capture:!0,passive:!1})}}}function l(){a||Hl(!1),a=!1,t.current(),r()}}}}),[e]),r=vl((function(){t.current=Pl(window,[n],{passive:!1,capture:!0})}),[n]);Ih((function(){return r(),function(){t.current()}}),[r])},function(e){var t=(0,o.useRef)(tp),n=(0,o.useRef)(Dl),r=vl((function(){return t.current}),[]),i=vl((function(e){t.current=e}),[]),a=yl((function(){return{eventName:"touchstart",fn:function(t){if(!t.defaultPrevented){var r=e.findClosestDraggableId(t);if(r){var i=e.tryGetLock(r,l,{sourceEvent:t});if(i){var o=t.touches[0],a={x:o.clientX,y:o.clientY};n.current(),p(i,a)}}}}}}),[e]),s=vl((function(){n.current=Pl(window,[a],{capture:!0,passive:!1})}),[a]),l=vl((function(){var e=t.current;"IDLE"!==e.type&&("PENDING"===e.type&&clearTimeout(e.longPressTimerId),i(tp),n.current(),s())}),[s,i]),c=vl((function(){var e=t.current;l(),"DRAGGING"===e.type&&e.actions.cancel({shouldBlockNextClick:!0}),"PENDING"===e.type&&e.actions.abort()}),[l]),u=vl((function(){var e={capture:!0,passive:!1},t={cancel:c,completed:l,getPhase:r},i=Pl(window,function(e){var t=e.cancel,n=e.completed,r=e.getPhase;return[{eventName:"touchmove",options:{capture:!1},fn:function(e){var n=r();if("DRAGGING"===n.type){n.hasMoved=!0;var i=e.touches[0],o={x:i.clientX,y:i.clientY};e.preventDefault(),n.actions.move(o)}else t()}},{eventName:"touchend",fn:function(e){var i=r();"DRAGGING"===i.type?(e.preventDefault(),i.actions.drop({shouldBlockNextClick:!0}),n()):t()}},{eventName:"touchcancel",fn:function(e){"DRAGGING"===r().type?(e.preventDefault(),t()):t()}},{eventName:"touchforcechange",fn:function(e){var n=r();"IDLE"===n.type&&Hl(!1);var i=e.touches[0];if(i&&i.force>=.15){var o=n.actions.shouldRespectForcePress();if("PENDING"!==n.type)return o?n.hasMoved?void e.preventDefault():void t():void e.preventDefault();o&&t()}}},{eventName:Zh,fn:t}]}(t),e),o=Pl(window,function(e){var t=e.cancel,n=e.getPhase;return[{eventName:"orientationchange",fn:t},{eventName:"resize",fn:t},{eventName:"contextmenu",fn:function(e){e.preventDefault()}},{eventName:"keydown",fn:function(e){"DRAGGING"===n().type?(27===e.keyCode&&e.preventDefault(),t()):t()}},{eventName:Zh,fn:t}]}(t),e);n.current=function(){i(),o()}}),[c,r,l]),h=vl((function(){var e=r();"PENDING"!==e.type&&Hl(!1);var t=e.actions.fluidLift(e.point);i({type:"DRAGGING",actions:t,hasMoved:!1})}),[r,i]),p=vl((function(e,t){"IDLE"!==r().type&&Hl(!1);var n=setTimeout(h,120);i({type:"PENDING",point:t,actions:e,longPressTimerId:n}),u()}),[u,r,i,h]);Ih((function(){return s(),function(){n.current();var e=r();"PENDING"===e.type&&(clearTimeout(e.longPressTimerId),i(tp))}}),[r,s,i]),Ih((function(){return Pl(window,[{eventName:"touchmove",fn:function(){},options:{capture:!1,passive:!1}}])}),[])}];function dp(e){var t=e.contextId,n=e.store,r=e.registry,i=e.customSensors,a=e.enableDefaultSensors,s=[].concat(a?pp:[],i||[]),l=(0,o.useState)((function(){return function(){var e=null;function t(){e||Hl(!1),e=null}return{isClaimed:function(){return Boolean(e)},isActive:function(t){return t===e},claim:function(t){e&&Hl(!1);var n={abandon:t};return e=n,n},release:t,tryAbandon:function(){e&&(e.abandon(),t())}}}()}))[0],c=vl((function(e,t){e.isDragging&&!t.isDragging&&l.tryAbandon()}),[l]);Ih((function(){var e=n.getState();return n.subscribe((function(){var t=n.getState();c(e,t),e=t}))}),[l,n,c]),Ih((function(){return l.tryAbandon}),[l.tryAbandon]);for(var u=vl((function(e){return hp({lockAPI:l,registry:r,store:n,draggableId:e})}),[l,r,n]),h=vl((function(e,i,o){return function(e){var t=e.lockAPI,n=e.contextId,r=e.store,i=e.registry,o=e.draggableId,a=e.forceSensorStop,s=e.sourceEvent;if(!hp({lockAPI:t,store:r,registry:i,draggableId:o}))return null;var l=i.draggable.getById(o),c=function(e,t){var n="["+Rh.contextId+'="'+e+'"]',r=cc(uc(document.querySelectorAll(n)),(function(e){return e.getAttribute(Rh.id)===t}));return r&&Mh(r)?r:null}(n,l.descriptor.id);if(!c)return null;if(s&&!l.options.canDragInteractiveElements&&ip(c,s))return null;var u=t.claim(a||Dl),h="PRE_DRAG";function p(){return l.options.shouldRespectForcePress}function d(){return t.isActive(u)}var f=function(e,t){up({expected:e,phase:h,isLockActive:d,shouldWarn:!0})&&r.dispatch(t())}.bind(null,"DRAGGING");function m(e){function n(){t.release(),h="COMPLETED"}function i(t,i){if(void 0===i&&(i={shouldBlockNextClick:!1}),e.cleanup(),i.shouldBlockNextClick){var o=Pl(window,[{eventName:"click",fn:cp,options:{once:!0,passive:!1,capture:!0}}]);setTimeout(o)}n(),r.dispatch(Ou({reason:t}))}return"PRE_DRAG"!==h&&(n(),"PRE_DRAG"!==h&&Hl(!1)),r.dispatch(yu(e.liftActionArgs)),h="DRAGGING",la({isActive:function(){return up({expected:"DRAGGING",phase:h,isLockActive:d,shouldWarn:!1})},shouldRespectForcePress:p,drop:function(e){return i("DROP",e)},cancel:function(e){return i("CANCEL",e)}},e.actions)}return{isActive:function(){return up({expected:"PRE_DRAG",phase:h,isLockActive:d,shouldWarn:!1})},shouldRespectForcePress:p,fluidLift:function(e){var t=Il((function(e){f((function(){return xu({client:e})}))}));return la({},m({liftActionArgs:{id:o,clientSelection:e,movementMode:"FLUID"},cleanup:function(){return t.cancel()},actions:{move:t}}),{move:t})},snapLift:function(){var e={moveUp:function(){return f(Su)},moveRight:function(){return f(Au)},moveDown:function(){return f(Cu)},moveLeft:function(){return f(Ru)}};return m({liftActionArgs:{id:o,clientSelection:op(c),movementMode:"SNAP"},cleanup:Dl,actions:e})},abort:function(){up({expected:"PRE_DRAG",phase:h,isLockActive:d,shouldWarn:!0})&&t.release()}}}({lockAPI:l,registry:r,contextId:t,store:n,draggableId:e,forceSensorStop:i,sourceEvent:o&&o.sourceEvent?o.sourceEvent:null})}),[t,l,r,n]),p=vl((function(e){return function(e,t){var n=function(e,t){var n,r=t.target;if(!((n=r)instanceof Ph(n).Element))return null;var i=function(e){return"["+Ah.contextId+'="'+e+'"]'}(e),o=lp(r,i);return o&&Mh(o)?o:null}(e,t);return n?n.getAttribute(Ah.draggableId):null}(t,e)}),[t]),d=vl((function(e){var t=r.draggable.findById(e);return t?t.options:null}),[r.draggable]),f=vl((function(){l.isClaimed()&&(l.tryAbandon(),"IDLE"!==n.getState().phase&&n.dispatch(wu()))}),[l,n]),m=vl(l.isClaimed,[l]),g=yl((function(){return{canGetLock:u,tryGetLock:h,findClosestDraggableId:p,findOptionsForDraggable:d,tryReleaseLock:f,isLockClaimed:m}}),[u,h,p,d,f,m]),y=0;y<s.length;y++)s[y](g)}var fp=function(e){return{onBeforeCapture:e.onBeforeCapture,onBeforeDragStart:e.onBeforeDragStart,onDragStart:e.onDragStart,onDragEnd:e.onDragEnd,onDragUpdate:e.onDragUpdate}};function mp(e){return e.current||Hl(!1),e.current}function gp(e){var t=e.contextId,n=e.setCallbacks,r=e.sensors,i=e.nonce,s=e.dragHandleUsageInstructions,l=(0,o.useRef)(null),c=Wh(e),u=vl((function(){return fp(c.current)}),[c]),h=function(e){var t=yl((function(){return jh(e)}),[e]),n=(0,o.useRef)(null);return(0,o.useEffect)((function(){var e=document.createElement("div");return n.current=e,e.id=t,e.setAttribute("aria-live","assertive"),e.setAttribute("aria-atomic","true"),la(e.style,Uh),Bh().appendChild(e),function(){setTimeout((function(){var t=Bh();t.contains(e)&&t.removeChild(e),e===n.current&&(n.current=null)}))}}),[t]),vl((function(e){var t=n.current;t&&(t.textContent=e)}),[])}(t),p=function(e){var t=e.contextId,n=e.text,r=zh("hidden-text",{separator:"-"}),i=yl((function(){return"rbd-hidden-text-"+(e={contextId:t,uniqueId:r}).contextId+"-"+e.uniqueId;var e}),[r,t]);return(0,o.useEffect)((function(){var e=document.createElement("div");return e.id=i,e.textContent=n,e.style.display="none",Bh().appendChild(e),function(){var t=Bh();t.contains(e)&&t.removeChild(e)}}),[i,n]),i}({contextId:t,text:s}),d=function(e,t){var n=yl((function(){return Nh(e)}),[e]),r=(0,o.useRef)(null),i=(0,o.useRef)(null),a=vl(Nl((function(e){var t=i.current;t||Hl(!1),t.textContent=e})),[]),s=vl((function(e){var t=r.current;t||Hl(!1),t.textContent=e}),[]);Ih((function(){(r.current||i.current)&&Hl(!1);var o=Dh(t),l=Dh(t);return r.current=o,i.current=l,o.setAttribute(Ch+"-always",e),l.setAttribute(Ch+"-dynamic",e),kh().appendChild(o),kh().appendChild(l),s(n.always),a(n.resting),function(){var e=function(e){var t=e.current;t||Hl(!1),kh().removeChild(t),e.current=null};e(r),e(i)}}),[t,s,a,n.always,n.resting,e]);var l=vl((function(){return a(n.dragging)}),[a,n.dragging]),c=vl((function(e){a("DROP"!==e?n.userCancel:n.dropAnimating)}),[a,n.dropAnimating,n.userCancel]),u=vl((function(){i.current&&a(n.resting)}),[a,n.resting]);return yl((function(){return{dragging:l,dropping:c,resting:u}}),[l,c,u])}(t,i),f=vl((function(e){mp(l).dispatch(e)}),[]),m=yl((function(){return va({publishWhileDragging:vu,updateDroppableScroll:bu,updateDroppableIsEnabled:Eu,updateDroppableIsCombineEnabled:Tu,collectionStarting:_u},f)}),[f]),g=function(){var e=yl(Fh,[]);return(0,o.useEffect)((function(){return function(){requestAnimationFrame(e.clean)}}),[e]),e}(),y=yl((function(){return oh(g,m)}),[g,m]),v=yl((function(){return Sh(la({scrollWindow:sh,scrollDroppable:y.scrollDroppable},va({move:xu},f)))}),[y.scrollDroppable,f]),_=function(e){var t=(0,o.useRef)({}),n=(0,o.useRef)(null),r=(0,o.useRef)(null),i=(0,o.useRef)(!1),a=vl((function(e,n){var r={id:e,focus:n};return t.current[e]=r,function(){var n=t.current;n[e]!==r&&delete n[e]}}),[]),s=vl((function(t){var n=function(e,t){var n="["+Ah.contextId+'="'+e+'"]',r=uc(document.querySelectorAll(n));if(!r.length)return null;var i=cc(r,(function(e){return e.getAttribute(Ah.draggableId)===t}));return i&&Mh(i)?i:null}(e,t);n&&n!==document.activeElement&&n.focus()}),[e]),l=vl((function(e,t){n.current===e&&(n.current=t)}),[]),c=vl((function(){r.current||i.current&&(r.current=requestAnimationFrame((function(){r.current=null;var e=n.current;e&&s(e)})))}),[s]),u=vl((function(e){n.current=null;var t=document.activeElement;t&&t.getAttribute(Ah.draggableId)===e&&(n.current=e)}),[]);return Ih((function(){return i.current=!0,function(){i.current=!1;var e=r.current;e&&cancelAnimationFrame(e)}}),[]),yl((function(){return{register:a,tryRecordFocus:u,tryRestoreFocusRecorded:c,tryShiftRecord:l}}),[a,u,c,l])}(t),b=yl((function(){return Qu({announce:h,autoScroller:v,dimensionMarshal:y,focusMarshal:_,getResponders:u,styleMarshal:d})}),[h,v,y,_,u,d]);l.current=b;var E=vl((function(){var e=mp(l);"IDLE"!==e.getState().phase&&e.dispatch(wu())}),[]),T=vl((function(){var e=mp(l).getState();return e.isDragging||"DROP_ANIMATING"===e.phase}),[]);n(yl((function(){return{isDragging:T,tryAbort:E}}),[T,E]));var x=vl((function(e){return ah(mp(l).getState(),e)}),[]),S=vl((function(){return tu(mp(l).getState())}),[]),C=yl((function(){return{marshal:y,focus:_,contextId:t,canLift:x,isMovementAllowed:S,dragHandleUsageInstructionsId:p,registry:g}}),[t,y,p,_,x,S,g]);return dp({contextId:t,store:b,registry:g,customSensors:r,enableDefaultSensors:!1!==e.enableDefaultSensors}),(0,o.useEffect)((function(){return E}),[E]),a().createElement($h.Provider,{value:C},a().createElement(Aa,{context:Hh,store:b},e.children))}var yp=0;function vp(e){var t=yl((function(){return""+yp++}),[]),n=e.dragHandleUsageInstructions||"\n Press space bar to start a drag.\n When dragging you can use the arrow keys to move the item around and escape to cancel.\n Some screen readers may require you to be in focus mode or to use your pass through key\n";return a().createElement(Bl,null,(function(r){return a().createElement(gp,{nonce:e.nonce,contextId:t,setCallbacks:r,dragHandleUsageInstructions:n,enableDefaultSensors:e.enableDefaultSensors,sensors:e.sensors,onBeforeCapture:e.onBeforeCapture,onBeforeDragStart:e.onBeforeDragStart,onDragStart:e.onDragStart,onDragUpdate:e.onDragUpdate,onDragEnd:e.onDragEnd},e.children)}))}var _p=function(e){return function(t){return e===t}},bp=_p("scroll"),Ep=_p("auto"),Tp=function(e,t){return t(e.overflowX)||t(e.overflowY)},xp=function e(t){return null==t||t===document.body||t===document.documentElement?null:function(e){var t=window.getComputedStyle(e),n={overflowX:t.overflowX,overflowY:t.overflowY};return Tp(n,bp)||Tp(n,Ep)}(t)?t:e(t.parentElement)},Sp=function(e){return{x:e.scrollLeft,y:e.scrollTop}},Cp=function e(t){return!!t&&("fixed"===window.getComputedStyle(t).position||e(t.parentElement))},Ap={passive:!1},Rp={passive:!0},wp=function(e){return e.shouldPublishImmediately?Ap:Rp};function Lp(e){var t=(0,o.useContext)(e);return t||Hl(!1),t}var Op=function(e){return e&&e.env.closestScrollable||null};function Np(){}var Ip={width:0,height:0,margin:{top:0,right:0,bottom:0,left:0}},kp=a().memo((function(e){var t=(0,o.useRef)(null),n=vl((function(){t.current&&(clearTimeout(t.current),t.current=null)}),[]),r=e.animate,i=e.onTransitionEnd,s=e.onClose,l=e.contextId,c=(0,o.useState)("open"===e.animate),u=c[0],h=c[1];(0,o.useEffect)((function(){return u?"open"!==r?(n(),h(!1),Np):t.current?Np:(t.current=setTimeout((function(){t.current=null,h(!1)})),n):Np}),[r,u,n]);var p=vl((function(e){"height"===e.propertyName&&(i(),"close"===r&&s())}),[r,s,i]),d=function(e){var t=e.isAnimatingOpenOnMount,n=e.placeholder,r=e.animate,i=function(e){var t=e.placeholder;return e.isAnimatingOpenOnMount||"close"===e.animate?Ip:{height:t.client.borderBox.height,width:t.client.borderBox.width,margin:t.client.margin}}({isAnimatingOpenOnMount:t,placeholder:n,animate:r});return{display:n.display,boxSizing:"border-box",width:i.width,height:i.height,marginTop:i.margin.top,marginRight:i.margin.right,marginBottom:i.margin.bottom,marginLeft:i.margin.left,flexShrink:"0",flexGrow:"0",pointerEvents:"none",transition:"none"!==r?Mu.placeholder:null}}({isAnimatingOpenOnMount:u,animate:e.animate,placeholder:e.placeholder});return a().createElement(e.placeholder.tagName,{style:d,"data-rbd-placeholder-context-id":l,onTransitionEnd:p,ref:e.innerRef})})),Dp=a().createContext(null),Pp=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=e.call.apply(e,[this].concat(r))||this).state={isVisible:Boolean(t.props.on),data:t.props.on,animate:t.props.shouldAnimate&&t.props.on?"open":"none"},t.onClose=function(){"close"===t.state.animate&&t.setState({isVisible:!1})},t}return sa(t,e),t.getDerivedStateFromProps=function(e,t){return e.shouldAnimate?e.on?{isVisible:!0,data:e.on,animate:"open"}:t.isVisible?{isVisible:!0,data:t.data,animate:"close"}:{isVisible:!1,animate:"close",data:null}:{isVisible:Boolean(e.on),data:e.on,animate:"none"}},t.prototype.render=function(){if(!this.state.isVisible)return null;var e={onClose:this.onClose,data:this.state.data,animate:this.state.animate};return this.props.children(e)},t}(a().PureComponent),Mp=5e3,Fp=4500,Hp=function(e,t){return t?Mu.drop(t.duration):e?Mu.snap:Mu.fluid},Bp=function(e,t){return e?t?Iu:ku:null};function Up(e){e.preventDefault()}var jp=function(e,t){return e===t},Gp=function(e){var t=e.combine,n=e.destination;return n?n.droppableId:t?t.droppableId:null};function Yp(e){return{isDragging:!1,isDropAnimating:!1,isClone:!1,dropAnimation:null,mode:null,draggingOver:null,combineTargetFor:e,combineWith:null}}var zp={mapped:{type:"SECONDARY",offset:Vl,combineTargetFor:null,shouldAnimateDisplacement:!0,snapshot:Yp(null)}},$p=ml((function(){var e,t,n,r=(e=Nl((function(e,t){return{x:e,y:t}})),t=Nl((function(e,t,n,r,i){return{isDragging:!0,isClone:t,isDropAnimating:Boolean(i),dropAnimation:i,mode:e,draggingOver:n,combineWith:r,combineTargetFor:null}})),n=Nl((function(e,n,r,i,o,a,s){return{mapped:{type:"DRAGGING",dropping:null,draggingOver:o,combineWith:a,mode:n,offset:e,dimension:r,forceShouldAnimate:s,snapshot:t(n,i,o,a,null)}}})),function(r,i){if(r.isDragging){if(r.critical.draggable.id!==i.draggableId)return null;var o=r.current.client.offset,a=r.dimensions.draggables[i.draggableId],s=Jc(r.impact),l=(u=r.impact).at&&"COMBINE"===u.at.type?u.at.combine.draggableId:null,c=r.forceShouldAnimate;return n(e(o.x,o.y),r.movementMode,a,i.isClone,s,l,c)}var u;if("DROP_ANIMATING"===r.phase){var h=r.completed;if(h.result.draggableId!==i.draggableId)return null;var p=i.isClone,d=r.dimensions.draggables[i.draggableId],f=h.result,m=f.mode,g=Gp(f),y=function(e){return e.combine?e.combine.draggableId:null}(f),v={duration:r.dropDuration,curve:Nu,moveTo:r.newHomeClientOffset,opacity:y?Iu:null,scale:y?Du:null};return{mapped:{type:"DRAGGING",offset:r.newHomeClientOffset,dimension:d,dropping:v,draggingOver:g,combineWith:y,mode:m,forceShouldAnimate:null,snapshot:t(m,p,g,y,v)}}}return null}),i=function(){var e=Nl((function(e,t){return{x:e,y:t}})),t=Nl(Yp),n=Nl((function(e,n,r){return void 0===n&&(n=null),{mapped:{type:"SECONDARY",offset:e,combineTargetFor:n,shouldAnimateDisplacement:r,snapshot:t(n)}}})),r=function(e){return e?n(Vl,e,!0):null},i=function(t,i,o,a){var s=o.displaced.visible[t],l=Boolean(a.inVirtualList&&a.effected[t]),c=yc(o),u=c&&c.draggableId===t?i:null;if(!s){if(!l)return r(u);if(o.displaced.invisible[t])return null;var h=Zl(a.displacedBy.point),p=e(h.x,h.y);return n(p,u,!0)}if(l)return r(u);var d=o.displacedBy.point,f=e(d.x,d.y);return n(f,u,s.shouldAnimate)};return function(e,t){if(e.isDragging)return e.critical.draggable.id===t.draggableId?null:i(t.draggableId,e.critical.draggable.id,e.impact,e.afterCritical);if("DROP_ANIMATING"===e.phase){var n=e.completed;return n.result.draggableId===t.draggableId?null:i(t.draggableId,n.result.draggableId,n.impact,n.afterCritical)}return null}}();return function(e,t){return r(e,t)||i(e,t)||zp}}),{dropAnimationFinished:function(){return{type:"DROP_ANIMATION_FINISHED",payload:null}}},null,{context:Hh,pure:!0,areStatePropsEqual:jp})((function(e){var t=(0,o.useRef)(null),n=vl((function(e){t.current=e}),[]),r=vl((function(){return t.current}),[]),i=Lp($h),a=i.contextId,s=i.dragHandleUsageInstructionsId,l=i.registry,c=Lp(Dp),u=c.type,h=c.droppableId,p=yl((function(){return{id:e.draggableId,index:e.index,type:u,droppableId:h}}),[e.draggableId,e.index,u,h]),d=e.children,f=e.draggableId,m=e.isEnabled,g=e.shouldRespectForcePress,y=e.canDragInteractiveElements,v=e.isClone,_=e.mapped,b=e.dropAnimationFinished;v||function(e){var t=zh("draggable"),n=e.descriptor,r=e.registry,i=e.getDraggableRef,a=e.canDragInteractiveElements,s=e.shouldRespectForcePress,l=e.isEnabled,c=yl((function(){return{canDragInteractiveElements:a,shouldRespectForcePress:s,isEnabled:l}}),[a,l,s]),u=vl((function(e){var t=i();return t||Hl(!1),function(e,t,n){void 0===n&&(n=Vl);var r=window.getComputedStyle(t),i=t.getBoundingClientRect(),o=Rl(i,r),a=Al(o,n);return{descriptor:e,placeholder:{client:o,tagName:t.tagName.toLowerCase(),display:r.display},displaceBy:{x:o.marginBox.width,y:o.marginBox.height},client:o,page:a}}(n,t,e)}),[n,i]),h=yl((function(){return{uniqueId:t,descriptor:n,options:c,getDimension:u}}),[n,u,c,t]),p=(0,o.useRef)(h),d=(0,o.useRef)(!0);Ih((function(){return r.draggable.register(p.current),function(){return r.draggable.unregister(p.current)}}),[r.draggable]),Ih((function(){if(d.current)d.current=!1;else{var e=p.current;p.current=h,r.draggable.update(h,e)}}),[h,r.draggable])}(yl((function(){return{descriptor:p,registry:l,getDraggableRef:r,canDragInteractiveElements:y,shouldRespectForcePress:g,isEnabled:m}}),[p,l,r,y,g,m]));var E=yl((function(){return m?{tabIndex:0,role:"button","aria-describedby":s,"data-rbd-drag-handle-draggable-id":f,"data-rbd-drag-handle-context-id":a,draggable:!1,onDragStart:Up}:null}),[a,s,f,m]),T=vl((function(e){"DRAGGING"===_.type&&_.dropping&&"transform"===e.propertyName&&b()}),[b,_]),x=yl((function(){var e=function(e){return"DRAGGING"===e.type?(r=(n=e).dimension.client,i=n.offset,o=n.combineWith,a=n.dropping,s=Boolean(o),l=function(e){return null!=e.forceShouldAnimate?e.forceShouldAnimate:"SNAP"===e.mode}(n),u=(c=Boolean(a))?Bu(i,s):Hu(i),{position:"fixed",top:r.marginBox.top,left:r.marginBox.left,boxSizing:"border-box",width:r.borderBox.width,height:r.borderBox.height,transition:Hp(l,a),transform:u,opacity:Bp(s,c),zIndex:c?Fp:Mp,pointerEvents:"none"}):{transform:Hu((t=e).offset),transition:t.shouldAnimateDisplacement?null:"none"};var t,n,r,i,o,a,s,l,c,u}(_),t="DRAGGING"===_.type&&_.dropping?T:null;return{innerRef:n,draggableProps:{"data-rbd-draggable-context-id":a,"data-rbd-draggable-id":f,style:e,onTransitionEnd:t},dragHandleProps:E}}),[a,E,f,_,T,n]),S=yl((function(){return{draggableId:p.id,type:p.type,source:{index:p.index,droppableId:p.droppableId}}}),[p.droppableId,p.id,p.index,p.type]);return d(x,_.snapshot,S)}));function Wp(e){return Lp(Dp).isUsingCloneFor!==e.draggableId||e.isClone?a().createElement($p,e):null}function Vp(e){var t="boolean"!=typeof e.isDragDisabled||!e.isDragDisabled,n=Boolean(e.disableInteractiveElementBlocking),r=Boolean(e.shouldRespectForcePress);return a().createElement(Wp,la({},e,{isClone:!1,isEnabled:t,canDragInteractiveElements:n,shouldRespectForcePress:r}))}var Kp=function(e,t){return e===t.droppable.type},qp=function(e,t){return t.draggables[e.draggable.id]},Xp={mode:"standard",type:"DEFAULT",direction:"vertical",isDropDisabled:!1,isCombineEnabled:!1,ignoreContainerClipping:!1,renderClone:null,getContainerForClone:function(){return document.body||Hl(!1),document.body}},Zp=ml((function(){var e={placeholder:null,shouldAnimatePlaceholder:!0,snapshot:{isDraggingOver:!1,draggingOverWith:null,draggingFromThisWith:null,isUsingPlaceholder:!1},useClone:null},t=la({},e,{shouldAnimatePlaceholder:!1}),n=Nl((function(e){return{draggableId:e.id,type:e.type,source:{index:e.index,droppableId:e.droppableId}}})),r=Nl((function(r,i,o,a,s,l){var c=s.descriptor.id;if(s.descriptor.droppableId===r){var u=l?{render:l,dragging:n(s.descriptor)}:null,h={isDraggingOver:o,draggingOverWith:o?c:null,draggingFromThisWith:c,isUsingPlaceholder:!0};return{placeholder:s.placeholder,shouldAnimatePlaceholder:!1,snapshot:h,useClone:u}}if(!i)return t;if(!a)return e;var p={isDraggingOver:o,draggingOverWith:c,draggingFromThisWith:null,isUsingPlaceholder:!0};return{placeholder:s.placeholder,shouldAnimatePlaceholder:!0,snapshot:p,useClone:null}}));return function(n,i){var o=i.droppableId,a=i.type,s=!i.isDropDisabled,l=i.renderClone;if(n.isDragging){var c=n.critical;if(!Kp(a,c))return t;var u=qp(c,n.dimensions),h=Jc(n.impact)===o;return r(o,s,h,h,u,l)}if("DROP_ANIMATING"===n.phase){var p=n.completed;if(!Kp(a,p.critical))return t;var d=qp(p.critical,n.dimensions);return r(o,s,Gp(p.result)===o,Jc(p.impact)===o,d,l)}if("IDLE"===n.phase&&n.completed&&!n.shouldFlush){var f=n.completed;if(!Kp(a,f.critical))return t;var m=Jc(f.impact)===o,g=Boolean(f.impact.at&&"COMBINE"===f.impact.at.type),y=f.critical.droppable.id===o;return m?g?e:t:y?e:t}return t}}),{updateViewportMaxScroll:function(e){return{type:"UPDATE_VIEWPORT_MAX_SCROLL",payload:e}}},null,{context:Hh,pure:!0,areStatePropsEqual:jp})((function(e){var t=(0,o.useContext)($h);t||Hl(!1);var n=t.contextId,r=t.isMovementAllowed,i=(0,o.useRef)(null),s=(0,o.useRef)(null),c=e.children,u=e.droppableId,h=e.type,p=e.mode,d=e.direction,f=e.ignoreContainerClipping,m=e.isDropDisabled,g=e.isCombineEnabled,y=e.snapshot,v=e.useClone,_=e.updateViewportMaxScroll,b=e.getContainerForClone,E=vl((function(){return i.current}),[]),T=vl((function(e){i.current=e}),[]);vl((function(){return s.current}),[]);var x=vl((function(e){s.current=e}),[]),S=vl((function(){r()&&_({maxScroll:th()})}),[r,_]);!function(e){var t=(0,o.useRef)(null),n=Lp($h),r=zh("droppable"),i=n.registry,a=n.marshal,s=Wh(e),l=yl((function(){return{id:e.droppableId,type:e.type,mode:e.mode}}),[e.droppableId,e.mode,e.type]),c=(0,o.useRef)(l),u=yl((function(){return Nl((function(e,n){t.current||Hl(!1);var r={x:e,y:n};a.updateDroppableScroll(l.id,r)}))}),[l.id,a]),h=vl((function(){var e=t.current;return e&&e.env.closestScrollable?Sp(e.env.closestScrollable):Vl}),[]),p=vl((function(){var e=h();u(e.x,e.y)}),[h,u]),d=yl((function(){return Il(p)}),[p]),f=vl((function(){var e=t.current,n=Op(e);e&&n||Hl(!1),e.scrollOptions.shouldPublishImmediately?p():d()}),[d,p]),m=vl((function(e,r){t.current&&Hl(!1);var i=s.current,o=i.getDroppableRef();o||Hl(!1);var a,c={closestScrollable:xp(a=o),isFixedOnPage:Cp(a)},u={ref:o,descriptor:l,env:c,scrollOptions:r};t.current=u;var h=function(e){var t=e.ref,n=e.descriptor,r=e.env,i=e.windowScroll,o=e.direction,a=e.isDropDisabled,s=e.isCombineEnabled,l=e.shouldClipSubject,c=r.closestScrollable,u=function(e,t){var n=wl(e);if(!t)return n;if(e!==t)return n;var r=n.paddingBox.top-t.scrollTop,i=n.paddingBox.left-t.scrollLeft,o=r+t.scrollHeight,a=i+t.scrollWidth,s=bl({top:r,right:a,bottom:o,left:i},n.border);return xl({borderBox:s,margin:n.margin,border:n.border,padding:n.padding})}(t,c),h=Al(u,i),p=function(){if(!c)return null;var e=wl(c),t={scrollHeight:c.scrollHeight,scrollWidth:c.scrollWidth};return{client:e,page:Al(e,i),scroll:Sp(c),scrollSize:t,shouldClipSubject:l}}(),d=function(e){var t=e.descriptor,n=e.isEnabled,r=e.isCombineEnabled,i=e.isFixedOnPage,o=e.direction,a=e.client,s=e.page,l=e.closest,c=function(){if(!l)return null;var e=l.scrollSize,t=l.client,n=Ju({scrollHeight:e.scrollHeight,scrollWidth:e.scrollWidth,height:t.paddingBox.height,width:t.paddingBox.width});return{pageMarginBox:l.page.marginBox,frameClient:t,scrollSize:e,shouldClipSubject:l.shouldClipSubject,scroll:{initial:l.scroll,current:l.scroll,max:n,diff:{value:Vl,displacement:Vl}}}}(),u="vertical"===o?Ac:Rc;return{descriptor:t,isCombineEnabled:r,isFixedOnPage:i,axis:u,isEnabled:n,client:a,page:s,frame:c,subject:oc({page:s,withPlaceholder:null,axis:u,frame:c})}}({descriptor:n,isEnabled:!a,isCombineEnabled:s,isFixedOnPage:r.isFixedOnPage,direction:o,client:u,page:h,closest:p});return d}({ref:o,descriptor:l,env:c,windowScroll:e,direction:i.direction,isDropDisabled:i.isDropDisabled,isCombineEnabled:i.isCombineEnabled,shouldClipSubject:!i.ignoreContainerClipping}),p=c.closestScrollable;return p&&(p.setAttribute(Lh.contextId,n.contextId),p.addEventListener("scroll",f,wp(u.scrollOptions))),h}),[n.contextId,l,f,s]),g=vl((function(){var e=t.current,n=Op(e);return e&&n||Hl(!1),Sp(n)}),[]),y=vl((function(){var e=t.current;e||Hl(!1);var n=Op(e);t.current=null,n&&(d.cancel(),n.removeAttribute(Lh.contextId),n.removeEventListener("scroll",f,wp(e.scrollOptions)))}),[f,d]),v=vl((function(e){var n=t.current;n||Hl(!1);var r=Op(n);r||Hl(!1),r.scrollTop+=e.y,r.scrollLeft+=e.x}),[]),_=yl((function(){return{getDimensionAndWatchScroll:m,getScrollWhileDragging:g,dragStopped:y,scroll:v}}),[y,m,g,v]),b=yl((function(){return{uniqueId:r,descriptor:l,callbacks:_}}),[_,l,r]);Ih((function(){return c.current=b.descriptor,i.droppable.register(b),function(){t.current&&y(),i.droppable.unregister(b)}}),[_,l,y,b,a,i.droppable]),Ih((function(){t.current&&a.updateDroppableIsEnabled(c.current.id,!e.isDropDisabled)}),[e.isDropDisabled,a]),Ih((function(){t.current&&a.updateDroppableIsCombineEnabled(c.current.id,e.isCombineEnabled)}),[e.isCombineEnabled,a])}({droppableId:u,type:h,mode:p,direction:d,isDropDisabled:m,isCombineEnabled:g,ignoreContainerClipping:f,getDroppableRef:E});var C=a().createElement(Pp,{on:e.placeholder,shouldAnimate:e.shouldAnimatePlaceholder},(function(e){var t=e.onClose,r=e.data,i=e.animate;return a().createElement(kp,{placeholder:r,onClose:t,innerRef:x,animate:i,contextId:n,onTransitionEnd:S})})),A=yl((function(){return{innerRef:T,placeholder:C,droppableProps:{"data-rbd-droppable-id":u,"data-rbd-droppable-context-id":n}}}),[n,u,C,T]),R=v?v.dragging.draggableId:null,w=yl((function(){return{droppableId:u,type:h,isUsingCloneFor:R}}),[u,R,h]);return a().createElement(Dp.Provider,{value:w},c(A,y),function(){if(!v)return null;var e=v.dragging,t=v.render,n=a().createElement(Wp,{draggableId:e.draggableId,index:e.source.index,isClone:!0,isEnabled:!0,shouldRespectForcePress:!1,canDragInteractiveElements:!0},(function(n,r){return t(n,r,e)}));return l().createPortal(n,b())}())}));Zp.defaultProps=Xp;const Qp=(...e)=>(0,r.d5G)("switcher",...e),Jp=e=>Qp("content","table"===e?"one-dimension":"three-dimensions"),ed=(e,t)=>"table"===e||t===ta.Values,td="item",nd=({dragHandleProps:e,fieldType:t,id:n,displayName:r,selectable:s,checked:l,parentId:c,className:u,disabled:h,onVisibleItemChange:p})=>{const d=(0,o.useRef)(),[f,m]=(0,o.useState)(!1);(0,o.useEffect)((()=>{m(d.current.offsetWidth<d.current.scrollWidth)}),[]);const g=null!=r?r:n;return a().createElement("div",I(N({},e),{className:_o(Qp(td),u,{unchecked:!l})}),s&&a().createElement(i.Checkbox,{disabled:h,checked:l,onChange:e=>null==p?void 0:p(t,e.target.checked,n,c)}),f?a().createElement(i.Tooltip,{title:g,placement:"bottomRight",overlayClassName:Qp("tooltip")},a().createElement("div",{className:Qp(td,"text"),ref:d},g)):a().createElement("div",{className:Qp(td,"text"),ref:d},g))};nd.defaultProps={checked:!0,disabled:!1};const rd=({fieldType:e,item:{id:t,displayName:n,checked:r=!0,children:i=[]},expandable:o,expandChildren:s,isDragDisabled:l,selectable:c,index:u,draggingItemId:h,onVisibleItemChange:p})=>a().createElement(Vp,{draggableId:t,index:u,isDragDisabled:l},((u,d)=>a().createElement("div",I(N({},u.draggableProps),{ref:u.innerRef,className:_o(Qp(c?"checkable-list":"normal-list"),{dragging:d.isDragging,"disable-dragging":l})}),a().createElement(nd,{dragHandleProps:u.dragHandleProps,fieldType:e,id:t,displayName:n,checked:r,onVisibleItemChange:p,selectable:c,className:_o(c?"checkable-item":"normal-item",{"item-collapse":!s})}),o&&s&&!Ui(i)&&h!==t&&a().createElement("div",{className:_o("child-items",{"item-hidden":!s})},i.map((n=>a().createElement(nd,{key:n.id,id:n.id,fieldType:e,displayName:n.displayName,disabled:!r,checked:n.checked,parentId:t,selectable:c,onVisibleItemChange:p,className:"checkable-item"}))))))),id="dimension",od=a().memo((e=>{const t=e,{fieldType:n,crossRows:o=!1,selectable:s=!1,expandable:l=!1,expandText:c=(0,r.agQ)("展开子项"),allowEmpty:u=!0,items:h=[],droppableType:p,text:d,icon:f}=t,m=k(t,["fieldType","crossRows","selectable","expandable","expandText","allowEmpty","items","droppableType","text","icon"]),[g,y]=a().useState(!0),v=!u&&1===h.length;return a().createElement("div",{className:_o(Qp(id),{"long-dimension":o})},a().createElement("div",{className:Qp(id,"header")},a().createElement("div",{className:"title"},a().createElement(f,null)," ",a().createElement("span",null,d)),l&&a().createElement("div",{className:"expand-option"},a().createElement(i.Checkbox,{checked:g,onChange:e=>{y(e.target.checked)}}),a().createElement("span",{className:"description"},c))),a().createElement(Zp,{droppableId:n,type:p},((e,t)=>a().createElement("div",I(N({ref:e.innerRef},e.droppableProps),{className:_o(Qp(id,"items"),{[Qp(id,"items-highlight")]:t.isDraggingOver,[Qp(id,"long-items")]:o})}),h.map(((e,t)=>a().createElement(rd,N({key:e.id,index:t,fieldType:n,item:e,expandable:l,expandChildren:g,selectable:s,isDragDisabled:v},m)))),e.placeholder))))}));od.displayName="Dimension";const ad="content",sd=a().memo((e=>{const t=e,{innerContentClassName:n,contentTitleText:o=(0,r.agQ)("行列切换"),resetText:s=(0,r.agQ)("恢复默认"),allowExchangeHeader:l=!0,onToggleVisible:c,onSubmit:u,sheetType:h}=t,p=k(t,["innerContentClassName","contentTitleText","resetText","allowExchangeHeader","onToggleVisible","onSubmit","sheetType"]),d=((e=!0)=>({[ta.Rows]:{text:(0,r.agQ)("行头"),icon:zo,droppableType:e?na.Dimensions:na.Rows},[ta.Cols]:{text:(0,r.agQ)("列头"),icon:$o,droppableType:e?na.Dimensions:na.Cols},[ta.Values]:{text:(0,r.agQ)("值"),icon:Wo,droppableType:na.Measures}}))(l),m=(e=>{return t=e,r={},n=gi(n="items"),vi(t,(function(e,t,i){it(r,t,n(e,t,i))})),r;var t,n,r})(p),[g,y]=a().useState(m),[v,_]=a().useState(null),b=(e,t,n,r)=>{const i=((e=[],t,n,r)=>{const i=N({},e.find((e=>e.id===(null!=r?r:n))));return r?i.children=Pi(i.children,(e=>I(N({},e),{checked:e.id===n?t:e.checked}))):(i.checked=t,i.children=Pi(i.children,(e=>I(N({},e),{checked:t})))),e.map((e=>e.id===i.id?i:e))})(g[e],t,n,r);y(I(N({},g),{[e]:i}))},E=ji(m,g),T=ra.filter((e=>"table"!==h||e===ta.Cols));return a().createElement(vp,{onBeforeCapture:e=>{_(e.draggableId)},onDragEnd:({destination:e,source:t})=>{if(_(null),!e)return;if(e.droppableId===t.droppableId&&e.index===t.index)return;const n=((e=[],t=[],n,r)=>{if(r.droppableId===n.droppableId){const e=[...t],[i]=e.splice(n.index,1);return e.splice(r.index,0,i),{[r.droppableId]:e}}const i=[...e],o=[...t],[a]=i.splice(n.index,1);return o.splice(r.index,0,a),{[n.droppableId]:i,[r.droppableId]:o}})(g[t.droppableId],g[e.droppableId],t,e);y(N(N({},g),n))}},a().createElement("div",{className:_o(n,Qp(ad))},a().createElement("header",{className:Qp(ad,"header")},o),a().createElement("main",{className:_o(Qp(ad,"main"),Jp(h))},T.map((e=>a().createElement(od,N(I(N({},p[e]),{key:e,fieldType:e,items:g[e],crossRows:ed(h,e),draggingItemId:v,onVisibleItemChange:b}),d[e]))))),a().createElement("footer",{className:Qp(ad,"footer")},a().createElement(i.Button,{type:"text",icon:a().createElement(f,null),className:Qp(ad,"footer","reset-button"),disabled:E,onClick:()=>{y(m)}},s),a().createElement("div",{className:Qp(ad,"footer","actions")},a().createElement(i.Button,{className:"action-button",onClick:c},(0,r.agQ)("取消")),a().createElement(i.Button,{className:"action-button",type:"primary",disabled:E,onClick:()=>{c(),null==u||u((e=>{const t=e=>{const t=e=>yn(Pi(e,(e=>{var n=e,{children:r}=n,i=k(n,["children"]);return[N({},i),...t(r)]}))),n=t(e);return{items:n,hideItems:Li(n,(e=>!1===e.checked))}};return{[ta.Rows]:t(e[ta.Rows]),[ta.Cols]:t(e[ta.Cols]),[ta.Values]:t(e[ta.Values])}})(g))}},(0,r.agQ)("确定"))))))}));sd.displayName="SwitcherContent",sd.defaultProps={sheetType:"pivot"};const ld=e=>{var t=e,{title:n,popover:s,disabled:l}=t,c=k(t,["title","popover","disabled"]);const[u,h]=(0,o.useState)(!1),p=()=>{h((e=>!e))};return a().createElement(i.Popover,N({visible:!l&&u,content:a().createElement(sd,I(N({},c),{onToggleVisible:p})),onVisibleChange:p,trigger:"click",placement:"bottomLeft",destroyTooltipOnHide:!0},s),(0,o.isValidElement)(n)?n:a().createElement(i.Button,{className:Qp("entry-button"),size:"small",disabled:l,icon:a().createElement(qo,null)},n||(0,r.agQ)("行列切换")))},cd=e=>{var t,n=e,{sheet:i,dataCfg:o,options:s}=n,l=k(n,["sheet","dataCfg","options"]);const[c,u]=a().useState((()=>{var e;return oa(i,o,null==(e=null==s?void 0:s.interaction)?void 0:e.hiddenColumnFields)}));return go((()=>{var e;u(oa(i,o,null==(e=null==s?void 0:s.interaction)?void 0:e.hiddenColumnFields))}),[i,o,null==(t=null==s?void 0:s.interaction)?void 0:t.hiddenColumnFields]),a().createElement(ld,N(N({sheetType:ia(i),onSubmit:e=>{var t;const{fields:n,hiddenColumnFields:o}=((e,t)=>{const n=e instanceof r.HZt;return{fields:ra.reduce(((e,r)=>{var i,o,a,s;const l=null!=(o=null==(i=t[r])?void 0:i.items)?o:[],c=null!=(s=null==(a=t[r])?void 0:a.hideItems)?s:[];return e[r]=Li(l,(e=>!c.find((t=>!n&&t.id===e.id)))).map((e=>e.id)),e}),{}),hiddenColumnFields:n?t[ta.Cols].hideItems.map((e=>e.id)):void 0}})(i,e);i.setDataCfg({fields:N(N({},i.dataCfg.fields),n)}),o&&i.setOptions({interaction:{hiddenColumnFields:o}}),i.render(),u(((e,t,n=[],r=[])=>{const{fields:i,hiddenFields:o}=(e=>function(e,t,n){var r=ie(e)?bn:oo,i=arguments.length<3;return r(e,gi(t),n,i,bi)}(e,((e,t,n)=>(e.fields[n]=Pi(t.items,"id"),e.hiddenFields.push(...Pi(t.hideItems,"id")),e)),{fields:{},hiddenFields:[]}))(t);return oa(e,{fields:i,meta:n},o.concat(r))})(i,e,null==(t=i.dataCfg)?void 0:t.meta,o))}},l),c))},ud=a().memo((e=>{var t=e,{className:n,style:r,title:o,width:s,description:l,exportCfg:c,advancedSortCfg:u,switcherCfg:h,sheet:p,extra:d,dataCfg:f,options:m}=t,g=k(t,["className","style","title","width","description","exportCfg","advancedSortCfg","switcherCfg","sheet","extra","dataCfg","options"]);const y="s2-header";return a().createElement("div",N({className:_o(y,n),style:r},g),a().createElement("div",{className:`${y}-heading`},a().createElement("div",{className:`${y}-heading-left`},a().createElement("div",{className:`${y}-heading-title`},o)),a().createElement("div",{className:`${y}-heading-extra`},a().createElement(i.Space,{align:"center"},d,h.open&&a().createElement(cd,N({sheet:p,dataCfg:f,options:m},h)),u.open&&a().createElement(ea,N({sheet:p},u)),c.open&&a().createElement(Xo,N({sheet:p},c))))),a().createElement("div",{className:`${y}-content`},l))}));ud.displayName="Header",ud.defaultProps={exportCfg:{open:!1},advancedSortCfg:{open:!1},switcherCfg:{open:!1}};const hd=`${r.vhY}-pagination`,pd=({pagination:e,onShowSizeChange:t,onChange:n})=>{if(Ui(e))return null;const{total:o,pageSize:s}=e,l=o/s>5;return a().createElement("div",{className:hd},a().createElement(i.Pagination,I(N({size:"small",defaultCurrent:1,showSizeChanger:!0,showQuickJumper:l},e),{onShowSizeChange:t,onChange:n})),a().createElement("span",{className:`${hd}-count`,title:`${(0,r.agQ)("共计")}${o}${(0,r.agQ)("条")}`},(0,r.agQ)("共计"),o||" - ",(0,r.agQ)("条")))};pd.displayName="S2Pagination";const dd=a().forwardRef(((e,t)=>{const{dataCfg:n,options:o,header:s}=e,{s2Ref:l,loading:c,containerRef:u,pagination:h,wrapperRef:p}=Fo(e),[d,f]=a().useState(l.current);return a().useEffect((()=>{t&&(t.current=l.current)}),[t,l]),a().useEffect((()=>f(l.current)),[f,l]),a().createElement(a().StrictMode,null,a().createElement(Ho.Provider,{value:d},a().createElement(i.Spin,{spinning:c,wrapperClassName:`${r.vhY}-spin`},a().createElement("div",{ref:p,className:`${r.vhY}-wrapper`},s&&a().createElement(ud,I(N({},s),{sheet:l.current,style:{width:o.width},dataCfg:(0,r.Unm)(n),options:Do(o)})),a().createElement("div",{ref:u,className:`${r.vhY}-container`}),h.showPagination&&a().createElement(pd,{pagination:h.pagination,onChange:h.onChange,onShowSizeChange:h.onShowSizeChange}),e.children))))}));dd.displayName="BaseSheet",dd.defaultProps={options:{},adaptive:!1,showPagination:!1};const fd=a().memo((e=>{const t=a().useRef();return a().createElement(dd,I(N({},e),{ref:t}))}));fd.displayName="TableSheet";class md extends r.f4X{drawTextShape(){he(this.getMeta().fieldValue)?(0,r.qPk)(this):super.drawTextShape()}}const gd=e=>new md(e,e.spreadsheet),yd={dataCell:{text:{fontSize:12,fontFamily:r.utx,fill:"rgba(0, 0, 0, 0.85)",fontWeight:"normal",textBaseline:"middle",textAlign:"left"},minorText:{fontSize:11,fontFamily:r.utx,fill:"rgba(0, 0, 0, 0.45)",fontWeight:"normal",textBaseline:"middle",textAlign:"left"},derivedMeasureText:{mainUp:"#F46649",mainDown:"#2AA491",minorUp:"#f9ae9e",minorDown:"#a9dad2"},bolderText:{fontSize:12,fontFamily:r.utx,fill:"rgba(0, 0, 0, 1)",fontWeight:(0,r.EDF)()?"bold":520,textBaseline:"middle",textAlign:"left"}}},vd=a().memo((e=>{const t=e,{options:n,themeCfg:i}=t,o=k(t,["options","themeCfg"]),s=a().useRef(),l=a().useMemo((()=>(0,r._Ge)(n,{dataCell:gd,showDefaultHeaderActionIcon:!1,style:{colCfg:{hideMeasureColumn:!0}}})),[n]),c=a().useMemo((()=>(0,r._Ge)({},i,{theme:yd})),[i]);return a().createElement(dd,N({options:l,themeCfg:c,ref:s},o))}));vd.displayName="GridAnalysisSheet";class _d extends r.X0t{constructor(e,t,n){super(e,t,n)}drawTextShape(){const e=this.getMeta(),t=(0,r.D6R)(null==e?void 0:e.value);if(!ie(t))return super.drawTextShape();const{formattedValue:n}=this.getFormattedFieldValue(),i=n!==(null==e?void 0:e.value)?[[n]]:[t];(0,r.qPk)(this,{values:i},!1)}}class bd extends r.f4X{drawTextShape(){he(this.getMeta().fieldValue)?(0,r.qPk)(this):super.drawTextShape()}}class Ed extends r.O9R{processDataCfg(e){e.fields.valueInCols=!1;const t=e,{data:n,meta:i}=t,o=k(t,["data","meta"]),a=[];Ri(n,(e=>{let t=!1;var n;null==(n=e)||yi(n,Ai(((n,i)=>{he(n)&&(a.push(I(N({},e),{[r.CoU]:i,[r.__x]:n})),t=!0)})),Ut),t||a.push(e)}));const s=this.processMeta(i,(0,r.agQ)("数值"));return I(N({data:co(a),meta:s},o),{fields:I(N({},e.fields),{rows:[r.CoU]})})}}const Td=({cell:e,label:t})=>{const n=e.getMeta();if(n.isLeaf&&0!==n.level)return null;const r=n.spreadsheet.dataSet.getFieldName(n.field),i=Ce(t)?t(e,r):t,o=null!=i?i:r;return a().createElement("div",{className:_o(U(),U("col"))},a().createElement("span",{className:U("name")},o),a().createElement("span",{className:U("value")},n.value))},xd=({cell:e,label:t,showOriginalValue:n,renderDerivedValue:i})=>{var o;const s=e.getMeta(),l=null==s?void 0:s.fieldValue,c=(e=>{var t;const n=Ii(e.spreadsheet.getRowNodes(),{rowIndex:e.rowIndex});return e.spreadsheet.dataSet.getFieldDescription(null==n?void 0:n.field)||(null==(t=null==n?void 0:n.extra)?void 0:t.description)})(s),u=(e=>{const t=Ii(e.spreadsheet.getRowNodes(),{rowIndex:e.rowIndex});return e.spreadsheet.dataSet.getFieldName((null==t?void 0:t.valueFiled)||(null==t?void 0:t.value))})(s),h=Ce(t)?t(e,u):t,p=null!=h?h:u,d=(e=>Ii(e.spreadsheet.getColumnNodes(),{colIndex:e.colIndex,isLeaf:!0}))(s),[,...f]=a().useMemo((()=>{try{return JSON.parse(null==d?void 0:d.value)}catch{return[]}}),[null==d?void 0:d.value]),{placeholder:m,style:g}=s.spreadsheet.options,y=null==(o=g.cellCfg)?void 0:o.valuesCfg,[v,..._]=ki(null==l?void 0:l.values)||[l],[b,...E]=ki(pn(l,null==y?void 0:y.originalValueField))||[v],T=(0,r.o3g)(s,m),x=(null==y?void 0:y.showOriginalValue)||n;return a().createElement("div",{className:_o(U(),U("data"))},a().createElement("div",{className:U("header")},a().createElement("span",{className:"header-label"},p),a().createElement("span",null,null!=v?v:T)),x&&a().createElement("div",{className:U("original-value")},Gi(b)?T:b),!Ui(_)&&a().createElement(a().Fragment,null,a().createElement("div",{className:U("divider")}),a().createElement("ul",{className:U("derived-values")},_.map(((t,n)=>{var o;const s=Gi(t)||""===t,l=(0,r.Pyr)(t),c=!s&&!l,u=E[n];return a().createElement("li",{className:"derived-value-item",key:n},a().createElement("span",{className:"derived-value-label"},f[n]),a().createElement("span",{className:_o("derived-value-group",{"derived-value-trend-up":l,"derived-value-trend-down":c})},!s&&a().createElement("span",{className:"derived-value-trend-icon"}),null!=(o=null==i?void 0:i(t,u,e))?o:a().createElement("span",{className:"derived-value-content"},null!=t?t:T)))})))),c&&a().createElement("div",{className:U("description")},(0,r.agQ)("说明"),": ",c))};xd.defaultProps={showOriginalValue:!1};const Sd=({cell:e,label:t})=>{const{field:n,spreadsheet:i,value:o,extra:s}=e.getMeta(),l=Ce(t)?t(e,o):t,c=null!=l?l:o,u=i.dataSet.getFieldDescription(n)||(null==s?void 0:s.description);return a().createElement("div",{className:_o(U(),U("row"))},a().createElement("div",{className:U("value")},c),u&&a().createElement("div",{className:U("description")},(0,r.agQ)("说明"),": ",u))},Cd=a().memo((e=>{const t=e,{options:n,themeCfg:i,dataCfg:o}=t,s=k(t,["options","themeCfg","dataCfg"]),l=a().useRef(),c=a().useMemo((()=>{var e,t,r;if(Ui(o))return{};let i=!1,s="tree";Ui(null==(e=null==o?void 0:o.fields)?void 0:e.rows)&&!Ui(null==(t=null==o?void 0:o.fields)?void 0:t.customTreeItems)&&(s="customTree"),1===ao(null==(r=null==o?void 0:o.fields)?void 0:r.values)&&"customTree"!==n.hierarchyType&&(i=!0);const l=e=>(t,r)=>{var i,o,a,s;const l=null!=(s=null==(o=null==(i=n.tooltip)?void 0:i[e])?void 0:o.content)?s:null==(a=n.tooltip)?void 0:a.content;return Ce(l)?null==l?void 0:l(t,r):l};return{dataCell:e=>new bd(e,e.spreadsheet),colCell:(e,t,n)=>new _d(e,t,n),dataSet:e=>new Ed(e),showDefaultHeaderActionIcon:!1,hierarchyType:s,style:{colCfg:{hideMeasureColumn:i}},interaction:{autoResetSheetStyle:!0,brushSelection:!1,selectedCellMove:!1,multiSelection:!1,rangeSelection:!1},tooltip:{operation:{hiddenColumns:!0},row:{content:(e,t)=>{var n;return null!=(n=l("row")(e,t))?n:a().createElement(Sd,{cell:e})}},col:{content:(e,t)=>{var n;return null!=(n=l("row")(e,t))?n:a().createElement(Td,{cell:e})}},data:{content:(e,t)=>{const n=e.getMeta().fieldValue,r=l("data")(e,t);return Gi(r)?ie(null==n?void 0:n.values)?a().createElement(xd,{cell:e}):a().createElement(a().Fragment,null):r}}}}}),[o,n.hierarchyType,n.tooltip]),u=a().useMemo((()=>{var e;const t={fields:{valueInCols:ao(null==(e=null==o?void 0:o.fields)?void 0:e.values)<=1}};return(0,r._Ge)(o,t)}),[o]),h=a().useMemo((()=>(0,r._Ge)(n,c)),[n,c]);return a().createElement(dd,N({options:h,themeCfg:i,dataCfg:u,ref:l},s))}));Cd.displayName="StrategySheet";const Ad=e=>{var t=e,{className:n,titleText:s=(0,r.agQ)("选择下钻维度"),clearButtonText:l=(0,r.agQ)("恢复默认"),searchText:c=(0,r.agQ)("搜索字段"),extra:u,drillFields:h,dataSet:p,disabledFields:d,getDrillFields:f,setDrillFields:m}=t,g=k(t,["className","titleText","clearButtonText","searchText","extra","drillFields","dataSet","disabledFields","getDrillFields","setDrillFields"]);const y={text:a().createElement(Ko,null),location:a().createElement(Go,null),date:a().createElement(Uo,null)},v=()=>p.map((e=>(e.disabled=!(!d||!d.includes(e.value)),e))),[_,b]=(0,o.useState)(v()),E=e=>{const{value:t}=e.target;if(t){const e=new RegExp(t,"gi"),n=p.filter((t=>e.test(t.name)));b([...n])}else b([...p])};return(0,o.useEffect)((()=>{b(v())}),[d]),a().createElement(i.ConfigProvider,null,a().createElement("div",N({className:_o(H,n)},g),a().createElement("header",{className:`${H}-header`},a().createElement("div",null,s),a().createElement(i.Button,{type:"link",disabled:Ui(h),onClick:e=>{e.stopPropagation(),f&&f([]),m&&m([])}},l)),a().createElement(i.Input,{className:`${H}-search`,placeholder:c,onChange:E,onPressEnter:E,prefix:a().createElement(Vo,null),allowClear:!0}),Ui(_)&&a().createElement(i.Empty,{imageStyle:{height:"64px"},className:`${H}-empty`}),u,a().createElement(i.Menu,{className:`${H}-menu`,selectedKeys:h,onSelect:e=>{const t=null==e?void 0:e.selectedKeys;f&&f([...t]),m&&m([...t])}},_.map((e=>a().createElement(i.Menu.Item,{key:e.value,disabled:e.disabled,className:`${H}-menu-item`,icon:e.icon?e.icon:y[e.type]},e.name))))))},Rd=["drillConfig","displayCondition","drillItemsNum"];function wd(e,t,n,r,i){if(r){const e=document.querySelector(`#${r}`);if(e&&s.unmountComponentAtNode(e)&&e.parentNode)return void e.parentNode.removeChild(e)}const a=document.createElement("div");let l,c;function u(...e){s.unmountComponentAtNode(a)&&a.parentNode&&(a.parentNode.removeChild(a),i&&i())}function h(...e){u.call(null,...e),c()}r&&(a.id=r),document.body.appendChild(a);const p=new Promise(((e,t)=>{l=e,c=t})).then((e=>(h(),e)));return setTimeout((()=>{s.render(o.createElement(Ho.Provider,{value:n},o.createElement(e,{onCancel:h,resolver:l,params:t})),a)})),p}function Ld(e){const{params:t,resolver:n}=e,r=Bo(),{event:s,onChange:l,CustomComponent:c}=t,u=s.target.cfg.parent,{left:h,top:p,width:d,height:f}=(0,o.useMemo)((()=>{const e=(null==r?void 0:r.container.cfg.container).getBoundingClientRect();return{left:window.scrollX+e.left,top:window.scrollY+e.top,width:e.width,height:e.height}}),[null==r?void 0:r.container.cfg.container]),{x:m,y:g,width:y,height:v}=(0,o.useMemo)((()=>{const e=r.facet.getScrollOffset(),t=io(u.getMeta(),["x","y","width","height"]);return t.x-=e.scrollX||0,t.y-=(e.scrollY||0)-(r.getColumnNodes()[0]||{height:0}).height,t}),[u,r]),[_,b]=(0,o.useState)(u.getMeta().fieldValue),E=(0,o.useRef)(null),T=(0,o.useRef)(null);(0,o.useEffect)((()=>{setTimeout((()=>{T.current&&T.current.click(),E.current&&E.current.focus()}))}),[]);const x=()=>{const{rowIndex:e,valueField:t}=u.getMeta();r.dataSet.originData[e][t]=_,r.render(!0),l&&l(r.dataSet.originData),n(!0)},S=a().useMemo((()=>({left:m,top:g,width:y,height:v,zIndex:1e3})),[]);return a().createElement("div",{ref:T,style:{zIndex:500,position:"absolute",overflow:"hidden",left:h,top:p,width:d,height:f}},c?a().createElement(c,{cell:u,spreadsheet:r,value:_,style:S,onChange:e=>{b(e)},onSave:x}):a().createElement(i.Input.TextArea,{required:!0,style:S,className:"s2-edit-cell",value:_,ref:E,onChange:e=>{b(e.target.value)},onBlur:x,onKeyDown:e=>{13===e.keyCode&&(e.preventDefault(),x())}}))}function Od({onChange:e,CustomComponent:t}){const n=Bo(),i=(0,o.useCallback)((r=>{wd(Ld,{event:r,onChange:e,CustomComponent:t},n)}),[n]);return Mo(r.ch4.DATA_CELL_DOUBLE_CLICK,i,n),null}function Nd({onCopyFinished:e}){const t=Bo(),[n,i]=(0,o.useState)(),[s,l]=(0,o.useState)({right:0,bottom:0}),[c,u]=(0,o.useState)(),h=(e,n)=>{const r=io(n.getMeta(),["x","y","width","height","fieldValue"]),i=t.facet.getScrollOffset(),o=e.x,a=e.y,s=(null==i?void 0:i.scrollY)-(t.getColumnNodes()[0]||{height:0}).height,l=r.x-i.scrollX+r.width+4,c=r.x-i.scrollX,u=r.y-s+r.height+4,h=r.y-s;return l>=o&&c<o&&u>=a&&h<a},p=e=>{const n=t.getCanvasElement().getBoundingClientRect();return t.interaction.getPanelGroupAllDataCells().find((t=>h({y:e.y-n.y,x:e.x-n.x},t)))},d=(e,n)=>{const r=e.getMeta(),i=null==n?void 0:n.getMeta(),o=Math.min(r.colIndex,i.colIndex),a=Math.max(r.colIndex,i.colIndex),s=Math.max(r.rowIndex,i.rowIndex),l=Math.min(r.rowIndex,i.rowIndex);return t.interaction.getPanelGroupAllDataCells().filter((e=>{const t=e.getMeta();return t.rowIndex<=s&&t.rowIndex>=l&&t.colIndex<=a&&t.colIndex>=o}))},f={x:0,y:0},m=function(e,t,n){var r=!0,i=!0;return he(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),Ci(e,10,{leading:r,maxWait:10,trailing:i})}((e=>{if(!n)return;let i=p(e),o=e.x-c.x,a=e.y-c.y;(e=>{const n=t.getCanvasElement().getBoundingClientRect(),{frozenRow:r}=t.facet.frozenGroupInfo,i=n.x,o=n.x+n.width,a=n.y+r.height,s=n.y+n.height;return e.x<=o&&e.x>=i&&e.y<=s&&e.y>=a})(e)?(f.x=e.x,f.y=e.y):(i=p(f),o=f.x-c.x,a=f.y-c.y),l({right:o,bottom:a});const s=d(n,i);t.interaction.changeState({cells:s.map((e=>e.getMeta())),stateName:r._61.PREPARE_SELECT,force:!0})})),g=o=>{let a=p(o);if(!n)return;a||(a=p(f));const s=t.dataSet.originData,c=d(n,a),{fieldValue:u}=n.getMeta(),h=c.map((e=>{const{rowIndex:t,valueField:n}=e.getMeta();return s[t]&&void 0!==typeof s[t][n]&&(s[t][n]=u),e}));t.interaction.changeState({cells:h.map((e=>e.getMeta())),stateName:r._61.PREPARE_SELECT,force:!0}),t.render(!0),l({right:0,bottom:0}),t.off(r.ch4.GLOBAL_MOUSE_MOVE,m),t.off(r.ch4.GLOBAL_MOUSE_UP,g),i(void 0),null==e||e()};(0,o.useEffect)((()=>{n&&(t.on(r.ch4.GLOBAL_MOUSE_MOVE,m),t.on(r.ch4.GLOBAL_MOUSE_UP,g))}),[n]);const y=e=>{if("spreadsheet-drag-copy-point"!==pn(e,"target.id"))return;const n=e.target.getBoundingClientRect(),{top:r,left:o}=pn(e,"target.style",{}),a=t.interaction.getPanelGroupAllDataCells().find((e=>h({y:parseFloat(r),x:parseFloat(o)},e)));u({x:n.x,y:n.y}),i(a)};return(0,o.useEffect)((()=>{const e=document.getElementById("spreadsheet-drag-copy-point");return e&&t&&e.addEventListener("mousedown",y),()=>{e.removeEventListener("mousedown",y)}}),[t]),a().createElement("div",{className:`${r.vhY}-drag-copy-mask`,style:{right:s.right>0?s.right:0,bottom:s.bottom>0?s.bottom:0,left:s.right<=0?s.right:0,top:s.bottom<=0?s.bottom:0,width:Math.abs(s.right),height:Math.abs(s.bottom)}})}function Id(e){const t=Bo(),[n,i]=(0,o.useState)({scrollX:-999,scrollY:-999,width:8,overflow:!0}),[s,l]=(0,o.useState)({left:-999,top:-999}),[c,u]=(0,o.useState)(),h=()=>{if(t){const e=t.facet.getScrollOffset(),{frozenCol:r,frozenRow:o}=t.facet.frozenGroupInfo,a=t.getCanvasElement().getBoundingClientRect(),s=null==c?void 0:c.getMeta();if(!ji(e,n))if(s){const{verticalBorderWidth:t,horizontalBorderWidth:n}=c.getStyle().cell,l=s.width+s.x,u=s.height+s.y,h=l-e.scrollX-a.width+2*(t+n);let p=!0;p=r.width>=l-e.scrollX-2*n||o.height>=u-e.scrollY-2*t||a.width<=l-e.scrollX-2*n||a.height<=u-e.scrollY+o.height,i(I(N({},e),{overflow:p,width:8-(h>0?h:0)}))}else i({scrollX:-999,scrollY:-999,overflow:!0})}};(0,o.useEffect)((()=>(h(),t&&(t.off(r.ch4.GLOBAL_SCROLL,h),t.on(r.ch4.GLOBAL_SCROLL,h)),()=>{null==t||t.off(r.ch4.GLOBAL_SCROLL,h)})),[c]),(0,o.useEffect)((()=>{c&&u(void 0)}),[null==t?void 0:t.dataSet.sortParams,null==t?void 0:t.dataSet.filterParams]),(0,o.useEffect)((()=>{if((null==t?void 0:t.container.cfg.container)&&t&&c){const e=io(c.getMeta(),["x","y","width","height","fieldValue"]);e.x-=null==n?void 0:n.scrollX,e.y-=(null==n?void 0:n.scrollY)-(t.getColumnNodes()[0]||{height:0}).height,l({left:e.x+e.width-4,top:e.y+e.height-4})}}),[n,c]);const p=()=>{u(void 0)};return Mo(r.ch4.COL_CELL_CLICK,p,t),Mo(r.ch4.ROW_CELL_CLICK,p,t),Mo(r.ch4.CORNER_CELL_CLICK,p,t),Mo(r.ch4.DATA_CELL_BRUSH_SELECTION,p,t),Mo(r.ch4.DATA_CELL_CLICK,(e=>{const n=e.target.cfg.parent,r=t.interaction.isSelectedCell(n);u(r?n:void 0)}),t),a().createElement("div",{id:"spreadsheet-drag-copy-point",className:`${r.vhY}-drag-copy-point`,style:{display:n.overflow?"none":"block",left:s.left,top:s.top,width:n.width}},a().createElement(Nd,{onCopyFinished:p}))}const kd=a().memo((e=>a().createElement(dd,I(N({},e),{sheetType:"table"}),a().createElement(Od,{onChange:()=>{}}),a().createElement(Id,null))));kd.displayName="EditableSheet";const Dd=a().memo((e=>{const t=e,{options:n}=t,i=k(t,["options"]),{dataCfg:s,partDrillDown:l}=i,c=a().useRef(),[u,h]=a().useState([]),p=function(e){var t=(0,o.useRef)(e);return t.current=e,t}((({sheetInstance:e,cacheDrillFields:t,disabledFields:n,event:i})=>{const o=a().createElement(Ad,I(N({},null==l?void 0:l.drillConfig),{setDrillFields:h,drillFields:t,disabledFields:n}));if(i){const{showTooltip:t}=(0,r.Hu7)(e,i);if(!t)return;e.showTooltip({position:{x:i.clientX,y:i.clientY},content:o})}})),d=a().useMemo((()=>((e,t,n)=>{var i;const o=(null==(i=null==e?void 0:e.headerActionIcons)?void 0:i.length)?[...e.headerActionIcons]:[];if(!Ui(t)){const e={belongsCell:"rowCell",iconNames:["DrillDownIcon"],defaultHide:!0,displayCondition:t.displayCondition||po,action:e=>{const{iconName:t,meta:i,event:o}=e;"DrillDownIcon"===t&&(i.spreadsheet.store.set("drillDownNode",i),(e=>{const{meta:t,event:n,callback:i}=e,{spreadsheet:o}=t;o.store.set("drillDownNode",t);const{drillDownDataCache:a,drillDownCurrentCache:s}=ho(o,t),l=(null==s?void 0:s.drillField)?[null==s?void 0:s.drillField]:[],c=[];a.forEach((e=>{t.id.includes(e.rowId)&&t.id!==e.rowId&&c.push(e.drillField)})),n&&o.emit(r.ch4.GLOBAL_ACTION_ICON_CLICK,n),i({sheetInstance:o,cacheDrillFields:l,disabledFields:c,event:n})})({meta:i,event:o,callback:n}))}};o.push(e)}return I(N({},e),{headerActionIcons:o})})(n,l,(e=>p.current(e)))),[n,l,p]),f=e=>{var t;null==(t=c.current)||t.clearDrillDownData(e)};a().useEffect((()=>{var e,t,n;null==(e=c.current)||e.hideTooltip(),Ui(u)?f(null==(n=null==(t=c.current)?void 0:t.store.get("drillDownNode"))?void 0:n.id):(e=>{const{fetchData:t,spreadsheet:n,drillFields:r,drillItemsNum:i=-1}=e;n.store.set("drillItemsNum",i);const o=n.store.get("drillDownNode"),{drillDownDataCache:a,drillDownCurrentCache:s}=ho(n,o);let l=function(e){return Lr(e,4)}(a);s&&(l=Li(a,(e=>e.rowId!==o.id))),t&&t(o,r).then((e=>{const{drillData:t,drillField:r}=e;if(n.dataSet.transformDrillDownData(r,t,o),!Ui(t)){const e=o.level+1,i={rowId:o.id,drillLevel:e,drillData:t,drillField:r};l.push(i),n.store.set("drillDownDataCache",l)}n.interaction.reset(),n.render(!1)}))})({rows:s.fields.rows,drillFields:u,fetchData:null==l?void 0:l.fetchData,drillItemsNum:null==l?void 0:l.drillItemsNum,spreadsheet:c.current})}),[u]),a().useEffect((()=>{var e;he(null==l?void 0:l.clearDrillDown)&&f(null==(e=null==l?void 0:l.clearDrillDown)?void 0:e.rowId)}),[null==l?void 0:l.clearDrillDown]);const m=(e=>{const t=a().useRef(e),n=Rd.map((t=>null==e?void 0:e[t]));return a().useCallback((n=>{const r=t.current,i=!!Rd.find((t=>!Object.is(null==e?void 0:e[t],null==r?void 0:r[t])));return t.current=e,{reloadData:i||n.reloadData,reBuildDataSet:n.reBuildDataSet}}),n)})(l);return a().createElement(dd,I(N({},i),{options:d,onSheetUpdate:m,ref:c}))}));Dd.displayName="PivotSheet";const Pd=a().forwardRef(((e,t)=>{const{sheetType:n}=e,o=a().useMemo((()=>I(N({},e),{onMounted:n=>{var r;t&&(t.current=n),null==(r=e.onMounted)||r.call(e,n)}})),[e,t]),s=a().useMemo((()=>{switch(n){case"table":return a().createElement(fd,N({},o));case"gridAnalysis":return a().createElement(vd,N({},o));case"strategy":return a().createElement(Cd,N({},o));case"editable":return a().createElement(kd,N({},o));default:return a().createElement(Dd,N({},o))}}),[n,o]),l="zh_CN"===(0,r.VQD)()?_:x;return a().createElement(a().StrictMode,null,a().createElement(i.ConfigProvider,{locale:l},s))})),Md=a().memo(Pd);Md.displayName="SheetComponent"},2153:(e,t,n)=>{"use strict";n.d(t,{AfN:()=>hE,CoU:()=>no,D6R:()=>UT,EDF:()=>_E,F1h:()=>px,HZt:()=>IR,Hu7:()=>RA,IZo:()=>yA,LRf:()=>ox,N6r:()=>wR,NO_:()=>dE,O9R:()=>kA,Pyr:()=>DT,TA7:()=>OR,Teh:()=>io,UhE:()=>fS,Unm:()=>RS,VQD:()=>uE,WNh:()=>ia,WkR:()=>iE,X0t:()=>tS,XNs:()=>bE,_61:()=>Bo,_Ge:()=>AS,__x:()=>to,agQ:()=>pE,c8d:()=>dx,ch4:()=>Qi,d5G:()=>LA,f0h:()=>nT,f4X:()=>Ex,o3g:()=>FT,q7_:()=>qE,qPk:()=>HT,utx:()=>sE,vQq:()=>ix,vhY:()=>Io}),e=n.hmd(e);var r=n(3656),i=Object.freeze({__proto__:null,get Base(){return yi},get Circle(){return vi},get Ellipse(){return bi},get Image(){return Ti},get Line(){return Ci},get Marker(){return wi},get Path(){return Hi},get Polygon(){return Ui},get Polyline(){return Gi},get Rect(){return zi},get Text(){return Wi}}),o=function(e,t){return o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},o(e,t)};function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var s=function(){return s=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},s.apply(this,arguments)},l=function(e){return null!==e&&"function"!=typeof e&&isFinite(e.length)},c={}.toString,u=function(e,t){return c.call(e)==="[object "+t+"]"},h=function(e){return u(e,"Function")},p=function(e){return null==e},d=function(e){return Array.isArray?Array.isArray(e):u(e,"Array")},f=function(e){var t=typeof e;return null!==e&&"object"===t||"function"===t};function m(e,t){if(e)if(d(e))for(var n=0,r=e.length;n<r&&!1!==t(e[n],n);n++);else if(f(e))for(var i in e)if(e.hasOwnProperty(i)&&!1===t(e[i],i))break}var g=function(e){return"object"==typeof e&&null!==e},y=function(e){if(d(e))return e.reduce((function(e,t){return Math.max(e,t)}),e[0])},v=function(e){if(d(e))return e.reduce((function(e,t){return Math.min(e,t)}),e[0])},_=function(e){return u(e,"String")},b=function(e){return u(e,"Number")},E=function(e,t){return(e%t+t)%t},T=Math.PI/180,x=function(e){return T*e},S=Object.values?function(e){return Object.values(e)}:function(e){var t=[];return m(e,(function(n,r){h(e)&&"prototype"===r||t.push(n)})),t},C=function(e){var t=function(e){return p(e)?"":e.toString()}(e);return t.charAt(0).toUpperCase()+t.substring(1)};function A(e,t){for(var n in t)t.hasOwnProperty(n)&&"constructor"!==n&&void 0!==t[n]&&(e[n]=t[n])}function R(e,t,n,r){return t&&A(e,t),n&&A(e,n),r&&A(e,r),e}var w,L=function(e,t){if(e===t)return!0;if(!e||!t)return!1;if(_(e)||_(t))return!1;if(l(e)||l(t)){if(e.length!==t.length)return!1;for(var n=!0,r=0;r<e.length&&(n=L(e[r],t[r]));r++);return n}if(g(e)||g(t)){var i=Object.keys(e),o=Object.keys(t);if(i.length!==o.length)return!1;for(n=!0,r=0;r<i.length&&(n=L(e[i[r]],t[i[r]]));r++);return n}return!1},O={},N=function(){};!function(e,t){if(!h(e))throw new TypeError("Expected a function");var n=function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];var o=t?t.apply(this,r):r[0],a=n.cache;if(a.has(o))return a.get(o);var s=e.apply(this,r);return a.set(o,s),s};n.cache=new Map}((function(e,t){void 0===t&&(t={});var n=t.fontSize,r=t.fontFamily,i=t.fontWeight,o=t.fontStyle,a=t.fontVariant;return w||(w=document.createElement("canvas").getContext("2d")),w.font=[o,a,i,n+"px",r].join(" "),w.measureText(_(e)?e:"").width}),(function(e,t){return void 0===t&&(t={}),function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),i=0;for(t=0;t<n;t++)for(var o=arguments[t],a=0,s=o.length;a<s;a++,i++)r[i]=o[a];return r}([e],S(t)).join("")}));var I="\t\n\v\f\r \u2028\u2029",k=new RegExp("([a-z])["+I+",]*((-?\\d*\\.?\\d*(?:e[\\-+]?\\d+)?["+I+"]*,?["+I+"]*)+)","ig"),D=new RegExp("(-?\\d*\\.?\\d*(?:e[\\-+]?\\d+)?)["+I+"]*,?["+I+"]*","ig"),P=function(e){if(!e)return null;if(d(e))return e;var t={a:7,c:6,o:2,h:1,l:2,m:2,r:4,q:4,s:4,t:2,v:1,u:3,z:0},n=[];return String(e).replace(k,(function(r,i,o){var a=[],s=i.toLowerCase();if(o.replace(D,(function(e,t){t&&a.push(+t)})),"m"===s&&a.length>2&&(n.push([i].concat(a.splice(0,2))),s="l",i="m"===i?"l":"L"),"o"===s&&1===a.length&&n.push([i,a[0]]),"r"===s)n.push([i].concat(a));else for(;a.length>=t[s]&&(n.push([i].concat(a.splice(0,t[s]))),t[s]););return e})),n},M=function(e,t){for(var n=[],r=0,i=e.length;i-2*!t>r;r+=2){var o=[{x:+e[r-2],y:+e[r-1]},{x:+e[r],y:+e[r+1]},{x:+e[r+2],y:+e[r+3]},{x:+e[r+4],y:+e[r+5]}];t?r?i-4===r?o[3]={x:+e[0],y:+e[1]}:i-2===r&&(o[2]={x:+e[0],y:+e[1]},o[3]={x:+e[2],y:+e[3]}):o[0]={x:+e[i-2],y:+e[i-1]}:i-4===r?o[3]=o[2]:r||(o[0]={x:+e[r],y:+e[r+1]}),n.push(["C",(-o[0].x+6*o[1].x+o[2].x)/6,(-o[0].y+6*o[1].y+o[2].y)/6,(o[1].x+6*o[2].x-o[3].x)/6,(o[1].y+6*o[2].y-o[3].y)/6,o[2].x,o[2].y])}return n},F=function(e,t,n,r,i){var o=[];if(null===i&&null===r&&(r=n),e=+e,t=+t,n=+n,r=+r,null!==i){var a=Math.PI/180,s=e+n*Math.cos(-r*a),l=e+n*Math.cos(-i*a);o=[["M",s,t+n*Math.sin(-r*a)],["A",n,n,0,+(i-r>180),0,l,t+n*Math.sin(-i*a)]]}else o=[["M",e,t],["m",0,-r],["a",n,r,0,1,1,0,2*r],["a",n,r,0,1,1,0,-2*r],["z"]];return o},H=function(e){if(!(e=P(e))||!e.length)return[["M",0,0]];var t,n,r=[],i=0,o=0,a=0,s=0,l=0;"M"===e[0][0]&&(a=i=+e[0][1],s=o=+e[0][2],l++,r[0]=["M",i,o]);for(var c=3===e.length&&"M"===e[0][0]&&"R"===e[1][0].toUpperCase()&&"Z"===e[2][0].toUpperCase(),u=void 0,h=void 0,p=l,d=e.length;p<d;p++){if(r.push(u=[]),(t=(h=e[p])[0])!==t.toUpperCase())switch(u[0]=t.toUpperCase(),u[0]){case"A":u[1]=h[1],u[2]=h[2],u[3]=h[3],u[4]=h[4],u[5]=h[5],u[6]=+h[6]+i,u[7]=+h[7]+o;break;case"V":u[1]=+h[1]+o;break;case"H":u[1]=+h[1]+i;break;case"R":for(var f=2,m=(n=[i,o].concat(h.slice(1))).length;f<m;f++)n[f]=+n[f]+i,n[++f]=+n[f]+o;r.pop(),r=r.concat(M(n,c));break;case"O":r.pop(),(n=F(i,o,h[1],h[2])).push(n[0]),r=r.concat(n);break;case"U":r.pop(),r=r.concat(F(i,o,h[1],h[2],h[3])),u=["U"].concat(r[r.length-1].slice(-2));break;case"M":a=+h[1]+i,s=+h[2]+o;break;default:for(f=1,m=h.length;f<m;f++)u[f]=+h[f]+(f%2?i:o)}else if("R"===t)n=[i,o].concat(h.slice(1)),r.pop(),r=r.concat(M(n,c)),u=["R"].concat(h.slice(-2));else if("O"===t)r.pop(),(n=F(i,o,h[1],h[2])).push(n[0]),r=r.concat(n);else if("U"===t)r.pop(),r=r.concat(F(i,o,h[1],h[2],h[3])),u=["U"].concat(r[r.length-1].slice(-2));else for(var g=0,y=h.length;g<y;g++)u[g]=h[g];if("O"!==(t=t.toUpperCase()))switch(u[0]){case"Z":i=+a,o=+s;break;case"H":i=u[1];break;case"V":o=u[1];break;case"M":a=u[u.length-2],s=u[u.length-1];break;default:i=u[u.length-2],o=u[u.length-1]}}return r},B=function(e,t,n,r){return[e,t,n,r,n,r]},U=function(e,t,n,r,i,o){var a=1/3,s=2/3;return[a*e+s*n,a*t+s*r,a*i+s*n,a*o+s*r,i,o]},j=function(e,t,n,r,i,o,a,s,l,c){n===r&&(n+=1);var u,h,p,d,f,m=120*Math.PI/180,g=Math.PI/180*(+i||0),y=[],v=function(e,t,n){return{x:e*Math.cos(n)-t*Math.sin(n),y:e*Math.sin(n)+t*Math.cos(n)}};if(c)h=c[0],p=c[1],d=c[2],f=c[3];else{e=(u=v(e,t,-g)).x,t=u.y,s=(u=v(s,l,-g)).x,l=u.y,e===s&&t===l&&(s+=1,l+=1);var _=(e-s)/2,b=(t-l)/2,E=_*_/(n*n)+b*b/(r*r);E>1&&(n*=E=Math.sqrt(E),r*=E);var T=n*n,x=r*r,S=(o===a?-1:1)*Math.sqrt(Math.abs((T*x-T*b*b-x*_*_)/(T*b*b+x*_*_)));d=S*n*b/r+(e+s)/2,f=S*-r*_/n+(t+l)/2,h=Math.asin(((t-f)/r).toFixed(9)),p=Math.asin(((l-f)/r).toFixed(9)),h=e<d?Math.PI-h:h,p=s<d?Math.PI-p:p,h<0&&(h=2*Math.PI+h),p<0&&(p=2*Math.PI+p),a&&h>p&&(h-=2*Math.PI),!a&&p>h&&(p-=2*Math.PI)}var C=p-h;if(Math.abs(C)>m){var A=p,R=s,w=l;p=h+m*(a&&p>h?1:-1),s=d+n*Math.cos(p),l=f+r*Math.sin(p),y=j(s,l,n,r,i,0,a,R,w,[p,A,d,f])}C=p-h;var L=Math.cos(h),O=Math.sin(h),N=Math.cos(p),I=Math.sin(p),k=Math.tan(C/4),D=4/3*n*k,P=4/3*r*k,M=[e,t],F=[e+D*O,t-P*L],H=[s+D*I,l-P*N],B=[s,l];if(F[0]=2*M[0]-F[0],F[1]=2*M[1]-F[1],c)return[F,H,B].concat(y);for(var U=[],G=0,Y=(y=[F,H,B].concat(y).join().split(",")).length;G<Y;G++)U[G]=G%2?v(y[G-1],y[G],g).y:v(y[G],y[G+1],g).x;return U},G=function(e,t){var n,r=H(e),i=t&&H(t),o={x:0,y:0,bx:0,by:0,X:0,Y:0,qx:null,qy:null},a={x:0,y:0,bx:0,by:0,X:0,Y:0,qx:null,qy:null},s=[],l=[],c="",u="",h=function(e,t,n){var r,i;if(!e)return["C",t.x,t.y,t.x,t.y,t.x,t.y];switch(!(e[0]in{T:1,Q:1})&&(t.qx=t.qy=null),e[0]){case"M":t.X=e[1],t.Y=e[2];break;case"A":e=["C"].concat(j.apply(0,[t.x,t.y].concat(e.slice(1))));break;case"S":"C"===n||"S"===n?(r=2*t.x-t.bx,i=2*t.y-t.by):(r=t.x,i=t.y),e=["C",r,i].concat(e.slice(1));break;case"T":"Q"===n||"T"===n?(t.qx=2*t.x-t.qx,t.qy=2*t.y-t.qy):(t.qx=t.x,t.qy=t.y),e=["C"].concat(U(t.x,t.y,t.qx,t.qy,e[1],e[2]));break;case"Q":t.qx=e[1],t.qy=e[2],e=["C"].concat(U(t.x,t.y,e[1],e[2],e[3],e[4]));break;case"L":e=["C"].concat(B(t.x,t.y,e[1],e[2]));break;case"H":e=["C"].concat(B(t.x,t.y,e[1],t.y));break;case"V":e=["C"].concat(B(t.x,t.y,t.x,e[1]));break;case"Z":e=["C"].concat(B(t.x,t.y,t.X,t.Y))}return e},p=function(e,t){if(e[t].length>7){e[t].shift();for(var o=e[t];o.length;)s[t]="A",i&&(l[t]="A"),e.splice(t++,0,["C"].concat(o.splice(0,6)));e.splice(t,1),n=Math.max(r.length,i&&i.length||0)}},d=function(e,t,o,a,s){e&&t&&"M"===e[s][0]&&"M"!==t[s][0]&&(t.splice(s,0,["M",a.x,a.y]),o.bx=0,o.by=0,o.x=e[s][1],o.y=e[s][2],n=Math.max(r.length,i&&i.length||0))};n=Math.max(r.length,i&&i.length||0);for(var f=0;f<n;f++){r[f]&&(c=r[f][0]),"C"!==c&&(s[f]=c,f&&(u=s[f-1])),r[f]=h(r[f],o,u),"A"!==s[f]&&"C"===c&&(s[f]="C"),p(r,f),i&&(i[f]&&(c=i[f][0]),"C"!==c&&(l[f]=c,f&&(u=l[f-1])),i[f]=h(i[f],a,u),"A"!==l[f]&&"C"===c&&(l[f]="C"),p(i,f)),d(r,i,o,a,f),d(i,r,a,o,f);var m=r[f],g=i&&i[f],y=m.length,v=i&&g.length;o.x=m[y-2],o.y=m[y-1],o.bx=parseFloat(m[y-4])||o.x,o.by=parseFloat(m[y-3])||o.y,a.bx=i&&(parseFloat(g[v-4])||a.x),a.by=i&&(parseFloat(g[v-3])||a.y),a.x=i&&g[v-2],a.y=i&&g[v-1]}return i?[r,i]:r},Y=/,?([a-z]),?/gi,z=function(e){return e.join(",").replace(Y,"$1")},$=function(e,t,n,r,i){return e*(e*(-3*t+9*n-9*r+3*i)+6*t-12*n+6*r)-3*t+3*n},W=function(e,t,n,r,i,o,a,s,l){null===l&&(l=1);for(var c=(l=l>1?1:l<0?0:l)/2,u=[-.1252,.1252,-.3678,.3678,-.5873,.5873,-.7699,.7699,-.9041,.9041,-.9816,.9816],h=[.2491,.2491,.2335,.2335,.2032,.2032,.1601,.1601,.1069,.1069,.0472,.0472],p=0,d=0;d<12;d++){var f=c*u[d]+c,m=$(f,e,n,i,a),g=$(f,t,r,o,s),y=m*m+g*g;p+=h[d]*Math.sqrt(y)}return c*p},V=function(e,t,n,r,i,o,a,s){for(var l,c,u,h,p=[],d=[[],[]],f=0;f<2;++f)if(0===f?(c=6*e-12*n+6*i,l=-3*e+9*n-9*i+3*a,u=3*n-3*e):(c=6*t-12*r+6*o,l=-3*t+9*r-9*o+3*s,u=3*r-3*t),Math.abs(l)<1e-12){if(Math.abs(c)<1e-12)continue;(h=-u/c)>0&&h<1&&p.push(h)}else{var m=c*c-4*u*l,g=Math.sqrt(m);if(!(m<0)){var y=(-c+g)/(2*l);y>0&&y<1&&p.push(y);var v=(-c-g)/(2*l);v>0&&v<1&&p.push(v)}}for(var _,b=p.length,E=b;b--;)_=1-(h=p[b]),d[0][b]=_*_*_*e+3*_*_*h*n+3*_*h*h*i+h*h*h*a,d[1][b]=_*_*_*t+3*_*_*h*r+3*_*h*h*o+h*h*h*s;return d[0][E]=e,d[1][E]=t,d[0][E+1]=a,d[1][E+1]=s,d[0].length=d[1].length=E+2,{min:{x:Math.min.apply(0,d[0]),y:Math.min.apply(0,d[1])},max:{x:Math.max.apply(0,d[0]),y:Math.max.apply(0,d[1])}}},K=function(e,t,n,r,i,o,a,s){if(!(Math.max(e,n)<Math.min(i,a)||Math.min(e,n)>Math.max(i,a)||Math.max(t,r)<Math.min(o,s)||Math.min(t,r)>Math.max(o,s))){var l=(e-n)*(o-s)-(t-r)*(i-a);if(l){var c=((e*r-t*n)*(i-a)-(e-n)*(i*s-o*a))/l,u=((e*r-t*n)*(o-s)-(t-r)*(i*s-o*a))/l,h=+c.toFixed(2),p=+u.toFixed(2);if(!(h<+Math.min(e,n).toFixed(2)||h>+Math.max(e,n).toFixed(2)||h<+Math.min(i,a).toFixed(2)||h>+Math.max(i,a).toFixed(2)||p<+Math.min(t,r).toFixed(2)||p>+Math.max(t,r).toFixed(2)||p<+Math.min(o,s).toFixed(2)||p>+Math.max(o,s).toFixed(2)))return{x:c,y:u}}}},q=function(e,t,n){return t>=e.x&&t<=e.x+e.width&&n>=e.y&&n<=e.y+e.height},X=function(e,t,n,r,i){if(i)return[["M",+e+ +i,t],["l",n-2*i,0],["a",i,i,0,0,1,i,i],["l",0,r-2*i],["a",i,i,0,0,1,-i,i],["l",2*i-n,0],["a",i,i,0,0,1,-i,-i],["l",0,2*i-r],["a",i,i,0,0,1,i,-i],["z"]];var o=[["M",e,t],["l",n,0],["l",0,r],["l",-n,0],["z"]];return o.parsePathArray=z,o},Z=function(e,t,n,r){return null===e&&(e=t=n=r=0),null===t&&(t=e.y,n=e.width,r=e.height,e=e.x),{x:e,y:t,width:n,w:n,height:r,h:r,x2:e+n,y2:t+r,cx:e+n/2,cy:t+r/2,r1:Math.min(n,r)/2,r2:Math.max(n,r)/2,r0:Math.sqrt(n*n+r*r)/2,path:X(e,t,n,r),vb:[e,t,n,r].join(" ")}},Q=function(e,t,n,r,i,o,a,s){d(e)||(e=[e,t,n,r,i,o,a,s]);var l=V.apply(null,e);return Z(l.min.x,l.min.y,l.max.x-l.min.x,l.max.y-l.min.y)},J=function(e,t,n,r,i,o,a,s,l){var c=1-l,u=Math.pow(c,3),h=Math.pow(c,2),p=l*l,d=p*l,f=e+2*l*(n-e)+p*(i-2*n+e),m=t+2*l*(r-t)+p*(o-2*r+t),g=n+2*l*(i-n)+p*(a-2*i+n),y=r+2*l*(o-r)+p*(s-2*o+r);return{x:u*e+3*h*l*n+3*c*l*l*i+d*a,y:u*t+3*h*l*r+3*c*l*l*o+d*s,m:{x:f,y:m},n:{x:g,y},start:{x:c*e+l*n,y:c*t+l*r},end:{x:c*i+l*a,y:c*o+l*s},alpha:90-180*Math.atan2(f-g,m-y)/Math.PI}},ee=function(e,t,n){if(r=Q(e),i=Q(t),r=Z(r),i=Z(i),!(q(i,r.x,r.y)||q(i,r.x2,r.y)||q(i,r.x,r.y2)||q(i,r.x2,r.y2)||q(r,i.x,i.y)||q(r,i.x2,i.y)||q(r,i.x,i.y2)||q(r,i.x2,i.y2)||(r.x<i.x2&&r.x>i.x||i.x<r.x2&&i.x>r.x)&&(r.y<i.y2&&r.y>i.y||i.y<r.y2&&i.y>r.y)))return n?0:[];for(var r,i,o=~~(W.apply(0,e)/8),a=~~(W.apply(0,t)/8),s=[],l=[],c={},u=n?0:[],h=0;h<o+1;h++){var p=J.apply(0,e.concat(h/o));s.push({x:p.x,y:p.y,t:h/o})}for(h=0;h<a+1;h++)p=J.apply(0,t.concat(h/a)),l.push({x:p.x,y:p.y,t:h/a});for(h=0;h<o;h++)for(var d=0;d<a;d++){var f=s[h],m=s[h+1],g=l[d],y=l[d+1],v=Math.abs(m.x-f.x)<.001?"y":"x",_=Math.abs(y.x-g.x)<.001?"y":"x",b=K(f.x,f.y,m.x,m.y,g.x,g.y,y.x,y.y);if(b){if(c[b.x.toFixed(4)]===b.y.toFixed(4))continue;c[b.x.toFixed(4)]=b.y.toFixed(4);var E=f.t+Math.abs((b[v]-f[v])/(m[v]-f[v]))*(m.t-f.t),T=g.t+Math.abs((b[_]-g[_])/(y[_]-g[_]))*(y.t-g.t);E>=0&&E<=1&&T>=0&&T<=1&&(n?u+=1:u.push({x:b.x,y:b.y,t1:E,t2:T}))}}return u};function te(e,t){var n=[],r=[];return e.length&&function e(t,i){if(1===t.length)n.push(t[0]),r.push(t[0]);else{for(var o=[],a=0;a<t.length-1;a++)0===a&&n.push(t[0]),a===t.length-2&&r.push(t[a+1]),o[a]=[(1-i)*t[a][0]+i*t[a+1][0],(1-i)*t[a][1]+i*t[a+1][1]];e(o,i)}}(e,t),{left:n,right:r.reverse()}}var ne=function(e,t){if(e.length!==t.length)return!1;var n=!0;return m(e,(function(e,r){if(e!==t[r])return n=!1,!1})),n};function re(e,t,n){var r=null,i=n;return t<i&&(i=t,r="add"),e<i&&(i=e,r="del"),{type:r,min:i}}var ie=function(e,t){var n=function(e,t){var n,r,i=e.length,o=t.length,a=0;if(0===i||0===o)return null;for(var s=[],l=0;l<=i;l++)s[l]=[],s[l][0]={min:l};for(var c=0;c<=o;c++)s[0][c]={min:c};for(l=1;l<=i;l++)for(n=e[l-1],c=1;c<=o;c++){r=t[c-1],a=ne(n,r)?0:1;var u=s[l-1][c].min+1,h=s[l][c-1].min+1,p=s[l-1][c-1].min+a;s[l][c]=re(u,h,p)}return s}(e,t),r=e.length,i=t.length,o=[],a=1,s=1;if(n[r][i].min!==r){for(var l=1;l<=r;l++){var c=n[l][l].min;s=l;for(var u=a;u<=i;u++)n[l][u].min<c&&(c=n[l][u].min,s=u);a=s,n[l][a].type&&o.push({index:l-1,type:n[l][a].type})}for(l=o.length-1;l>=0;l--)a=o[l].index,"add"===o[l].type?e.splice(a,0,[].concat(e[a])):e.splice(a,1)}var h=i-(r=e.length);if(r<i)for(l=0;l<h;l++)"z"===e[r-1][0]||"Z"===e[r-1][0]?e.splice(r-2,0,e[r-2]):e.push(e[r-1]),r+=1;return e};function oe(e,t,n){for(var r,i=[].concat(e),o=1/(n+1),a=ae(t)[0],s=1;s<=n;s++)o*=s,0===(r=Math.floor(e.length*o))?i.unshift([a[0]*o+e[r][0]*(1-o),a[1]*o+e[r][1]*(1-o)]):i.splice(r,0,[a[0]*o+e[r][0]*(1-o),a[1]*o+e[r][1]*(1-o)]);return i}function ae(e){var t=[];switch(e[0]){case"M":case"L":case"T":t.push([e[1],e[2]]);break;case"A":t.push([e[6],e[7]]);break;case"Q":case"S":t.push([e[3],e[4]]),t.push([e[1],e[2]]);break;case"C":t.push([e[5],e[6]]),t.push([e[1],e[2]]),t.push([e[3],e[4]]);break;case"H":case"V":t.push([e[1],e[1]])}return t}var se=function(e,t){if(e.length<=1)return e;for(var n,r=0;r<t.length;r++)if(e[r][0]!==t[r][0])switch(n=ae(e[r]),t[r][0]){case"M":e[r]=["M"].concat(n[0]);break;case"L":e[r]=["L"].concat(n[0]);break;case"A":e[r]=[].concat(t[r]),e[r][6]=n[0][0],e[r][7]=n[0][1];break;case"Q":if(n.length<2){if(!(r>0)){e[r]=t[r];break}n=oe(n,e[r-1],1)}e[r]=["Q"].concat(n.reduce((function(e,t){return e.concat(t)}),[]));break;case"T":e[r]=["T"].concat(n[0]);break;case"C":if(n.length<3){if(!(r>0)){e[r]=t[r];break}n=oe(n,e[r-1],2)}e[r]=["C"].concat(n.reduce((function(e,t){return e.concat(t)}),[]));break;case"S":if(n.length<2){if(!(r>0)){e[r]=t[r];break}n=oe(n,e[r-1],1)}e[r]=["S"].concat(n.reduce((function(e,t){return e.concat(t)}),[]));break;default:e[r]=t[r]}return e},le=Object.freeze({__proto__:null,catmullRomToBezier:M,fillPath:function(e,t){if(1===e.length)return e;var n=e.length-1,r=t.length-1,i=n/r,o=[];if(1===e.length&&"M"===e[0][0]){for(var a=0;a<r-n;a++)e.push(e[0]);return e}for(a=0;a<r;a++){var s=Math.floor(i*a);o[s]=(o[s]||0)+1}var l=o.reduce((function(t,r,i){return i===n?t.concat(e[n]):t.concat(function(e,t,n){if(1===n)return[[].concat(e)];var r=[];if("L"===t[0]||"C"===t[0]||"Q"===t[0])r=r.concat(function(e,t,n){var r=[[e[1],e[2]]];n=n||2;var i=[];"A"===t[0]?(r.push(t[6]),r.push(t[7])):"C"===t[0]?(r.push([t[1],t[2]]),r.push([t[3],t[4]]),r.push([t[5],t[6]])):"S"===t[0]||"Q"===t[0]?(r.push([t[1],t[2]]),r.push([t[3],t[4]])):r.push([t[1],t[2]]);for(var o=r,a=1/n,s=0;s<n-1;s++){var l=te(o,a/(1-a*s));i.push(l.left),o=l.right}return i.push(o),i.map((function(e){var t=[];return 4===e.length&&(t.push("C"),t=t.concat(e[2])),e.length>=3&&(3===e.length&&t.push("Q"),t=t.concat(e[1])),2===e.length&&t.push("L"),t.concat(e[e.length-1])}))}(e,t,n));else{var i=[].concat(e);"M"===i[0]&&(i[0]="L");for(var o=0;o<=n-1;o++)r.push(i)}return r}(e[i],e[i+1],r))}),[]);return l.unshift(e[0]),"Z"!==t[r]&&"z"!==t[r]||l.push("Z"),l},fillPathByDiff:ie,formatPath:se,intersection:function(e,t){return function(e,t,n){var r,i,o,a,s,l,c,u,h,p;e=G(e),t=G(t);for(var d=[],f=0,m=e.length;f<m;f++){var g=e[f];if("M"===g[0])r=s=g[1],i=l=g[2];else{"C"===g[0]?(h=[r,i].concat(g.slice(1)),r=h[6],i=h[7]):(h=[r,i,r,i,s,l,s,l],r=s,i=l);for(var y=0,v=t.length;y<v;y++){var _=t[y];if("M"===_[0])o=c=_[1],a=u=_[2];else{"C"===_[0]?(p=[o,a].concat(_.slice(1)),o=p[6],a=p[7]):(p=[o,a,o,a,c,u,c,u],o=c,a=u);for(var b=ee(h,p,n),E=0,T=b.length;E<T;E++)b[E].segment1=f,b[E].segment2=y,b[E].bez1=h,b[E].bez2=p;d=d.concat(b)}}}}return d}(e,t)},parsePathArray:z,parsePathString:P,pathToAbsolute:H,pathToCurve:G,rectPath:X}),ce=function(){function e(e,t){this.bubbles=!0,this.target=null,this.currentTarget=null,this.delegateTarget=null,this.delegateObject=null,this.defaultPrevented=!1,this.propagationStopped=!1,this.shape=null,this.fromShape=null,this.toShape=null,this.propagationPath=[],this.type=e,this.name=e,this.originalEvent=t,this.timeStamp=t.timeStamp}return e.prototype.preventDefault=function(){this.defaultPrevented=!0,this.originalEvent.preventDefault&&this.originalEvent.preventDefault()},e.prototype.stopPropagation=function(){this.propagationStopped=!0},e.prototype.toString=function(){return"[Event (type="+this.type+")]"},e.prototype.save=function(){},e.prototype.restore=function(){},e}(),ue=function(e,t){return ue=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},ue(e,t)};function he(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}ue(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var pe=function(){function e(){this._events={}}return e.prototype.on=function(e,t,n){return this._events[e]||(this._events[e]=[]),this._events[e].push({callback:t,once:!!n}),this},e.prototype.once=function(e,t){return this.on(e,t,!0)},e.prototype.emit=function(e){for(var t=this,n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];var i=this._events[e]||[],o=this._events["*"]||[],a=function(r){for(var i=r.length,o=0;o<i;o++)if(r[o]){var a=r[o],s=a.callback;a.once&&(r.splice(o,1),0===r.length&&delete t._events[e],i--,o--),s.apply(t,n)}};a(i),a(o)},e.prototype.off=function(e,t){if(e)if(t){for(var n=this._events[e]||[],r=n.length,i=0;i<r;i++)n[i].callback===t&&(n.splice(i,1),r--,i--);0===n.length&&delete this._events[e]}else delete this._events[e];else this._events={};return this},e.prototype.getEvents=function(){return this._events},e}();function de(e,t){var n=e.indexOf(t);-1!==n&&e.splice(n,1)}var fe="undefined"!=typeof window&&void 0!==window.document;function me(e,t){if(e.isCanvas())return!0;for(var n=t.getParent(),r=!1;n;){if(n===e){r=!0;break}n=n.getParent()}return r}function ge(e){return e.cfg.visible&&e.cfg.capture}var ye=function(e){function t(t){var n=e.call(this)||this;n.destroyed=!1;var r=n.getDefaultCfg();return n.cfg=R(r,t),n}return he(t,e),t.prototype.getDefaultCfg=function(){return{}},t.prototype.get=function(e){return this.cfg[e]},t.prototype.set=function(e,t){this.cfg[e]=t},t.prototype.destroy=function(){this.cfg={destroyed:!0},this.off(),this.destroyed=!0},t}(pe),ve=function(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))},_e=function(e,t,n){this.name=e,this.version=t,this.os=n,this.type="browser"},be=function(e,t,n,r){this.name=e,this.version=t,this.os=n,this.bot=r,this.type="bot-device"},Ee=function(){this.type="bot",this.bot=!0,this.name="bot",this.version=null,this.os=null},Te=/(nuhk|curl|Googlebot|Yammybot|Openbot|Slurp|MSNBot|Ask\ Jeeves\/Teoma|ia_archiver)/,xe=[["aol",/AOLShield\/([0-9\._]+)/],["edge",/Edge\/([0-9\._]+)/],["edge-ios",/EdgiOS\/([0-9\._]+)/],["yandexbrowser",/YaBrowser\/([0-9\._]+)/],["kakaotalk",/KAKAOTALK\s([0-9\.]+)/],["samsung",/SamsungBrowser\/([0-9\.]+)/],["silk",/\bSilk\/([0-9._-]+)\b/],["miui",/MiuiBrowser\/([0-9\.]+)$/],["beaker",/BeakerBrowser\/([0-9\.]+)/],["edge-chromium",/EdgA?\/([0-9\.]+)/],["chromium-webview",/(?!Chrom.*OPR)wv\).*Chrom(?:e|ium)\/([0-9\.]+)(:?\s|$)/],["chrome",/(?!Chrom.*OPR)Chrom(?:e|ium)\/([0-9\.]+)(:?\s|$)/],["phantomjs",/PhantomJS\/([0-9\.]+)(:?\s|$)/],["crios",/CriOS\/([0-9\.]+)(:?\s|$)/],["firefox",/Firefox\/([0-9\.]+)(?:\s|$)/],["fxios",/FxiOS\/([0-9\.]+)/],["opera-mini",/Opera Mini.*Version\/([0-9\.]+)/],["opera",/Opera\/([0-9\.]+)(?:\s|$)/],["opera",/OPR\/([0-9\.]+)(:?\s|$)/],["pie",/^Microsoft Pocket Internet Explorer\/(\d+\.\d+)$/],["pie",/^Mozilla\/\d\.\d+\s\(compatible;\s(?:MSP?IE|MSInternet Explorer) (\d+\.\d+);.*Windows CE.*\)$/],["netfront",/^Mozilla\/\d\.\d+.*NetFront\/(\d.\d)/],["ie",/Trident\/7\.0.*rv\:([0-9\.]+).*\).*Gecko$/],["ie",/MSIE\s([0-9\.]+);.*Trident\/[4-7].0/],["ie",/MSIE\s(7\.0)/],["bb10",/BB10;\sTouch.*Version\/([0-9\.]+)/],["android",/Android\s([0-9\.]+)/],["ios",/Version\/([0-9\._]+).*Mobile.*Safari.*/],["safari",/Version\/([0-9\._]+).*Safari/],["facebook",/FB[AS]V\/([0-9\.]+)/],["instagram",/Instagram\s([0-9\.]+)/],["ios-webview",/AppleWebKit\/([0-9\.]+).*Mobile/],["ios-webview",/AppleWebKit\/([0-9\.]+).*Gecko\)$/],["curl",/^curl\/([0-9\.]+)$/],["searchbot",/alexa|bot|crawl(er|ing)|facebookexternalhit|feedburner|google web preview|nagios|postrank|pingdom|slurp|spider|yahoo!|yandex/]],Se=[["iOS",/iP(hone|od|ad)/],["Android OS",/Android/],["BlackBerry OS",/BlackBerry|BB10/],["Windows Mobile",/IEMobile/],["Amazon OS",/Kindle/],["Windows 3.11",/Win16/],["Windows 95",/(Windows 95)|(Win95)|(Windows_95)/],["Windows 98",/(Windows 98)|(Win98)/],["Windows 2000",/(Windows NT 5.0)|(Windows 2000)/],["Windows XP",/(Windows NT 5.1)|(Windows XP)/],["Windows Server 2003",/(Windows NT 5.2)/],["Windows Vista",/(Windows NT 6.0)/],["Windows 7",/(Windows NT 6.1)/],["Windows 8",/(Windows NT 6.2)/],["Windows 8.1",/(Windows NT 6.3)/],["Windows 10",/(Windows NT 10.0)/],["Windows ME",/Windows ME/],["Windows CE",/Windows CE|WinCE|Microsoft Pocket Internet Explorer/],["Open BSD",/OpenBSD/],["Sun OS",/SunOS/],["Chrome OS",/CrOS/],["Linux",/(Linux)|(X11)/],["Mac OS",/(Mac_PowerPC)|(Macintosh)/],["QNX",/QNX/],["BeOS",/BeOS/],["OS/2",/OS\/2/]];function Ce(e){var t=function(e){return""!==e&&xe.reduce((function(t,n){var r=n[0],i=n[1];if(t)return t;var o=i.exec(e);return!!o&&[r,o]}),!1)}(e);if(!t)return null;var n=t[0],r=t[1];if("searchbot"===n)return new Ee;var i=r[1]&&r[1].split(".").join("_").split("_").slice(0,3);i?i.length<3&&(i=ve(ve([],i,!0),function(e){for(var t=[],n=0;n<e;n++)t.push("0");return t}(3-i.length),!0)):i=[];var o=i.join("."),a=function(e){for(var t=0,n=Se.length;t<n;t++){var r=Se[t],i=r[0];if(r[1].exec(e))return i}return null}(e),s=Te.exec(e);return s&&s[1]?new be(n,o,a,s[1]):new _e(n,o,a)}var Ae,Re="undefined"!=typeof Float32Array?Float32Array:Array;function we(e,t,n){var r=t[0],i=t[1],o=t[2],a=t[3],s=t[4],l=t[5],c=t[6],u=t[7],h=t[8],p=n[0],d=n[1],f=n[2],m=n[3],g=n[4],y=n[5],v=n[6],_=n[7],b=n[8];return e[0]=p*r+d*a+f*c,e[1]=p*i+d*s+f*u,e[2]=p*o+d*l+f*h,e[3]=m*r+g*a+y*c,e[4]=m*i+g*s+y*u,e[5]=m*o+g*l+y*h,e[6]=v*r+_*a+b*c,e[7]=v*i+_*s+b*u,e[8]=v*o+_*l+b*h,e}function Le(e,t,n){var r=t[0],i=t[1],o=t[2];return e[0]=r*n[0]+i*n[3]+o*n[6],e[1]=r*n[1]+i*n[4]+o*n[7],e[2]=r*n[2]+i*n[5]+o*n[8],e}function Oe(e,t,n){var r=[0,0,0,0,0,0,0,0,0];return function(e,t){e[0]=1,e[1]=0,e[2]=0,e[3]=0,e[4]=1,e[5]=0,e[6]=t[0],e[7]=t[1],e[8]=1}(r,n),we(e,r,t)}function Ne(e,t,n){var r=[0,0,0,0,0,0,0,0,0];return function(e,t){var n=Math.sin(t),r=Math.cos(t);e[0]=r,e[1]=n,e[2]=0,e[3]=-n,e[4]=r,e[5]=0,e[6]=0,e[7]=0,e[8]=1}(r,n),we(e,r,t)}function Ie(e,t,n){var r=[0,0,0,0,0,0,0,0,0];return function(e,t){e[0]=t[0],e[1]=0,e[2]=0,e[3]=0,e[4]=t[1],e[5]=0,e[6]=0,e[7]=0,e[8]=1}(r,n),we(e,r,t)}function ke(e,t,n){return we(e,n,t)}function De(e,t){for(var n=e?[].concat(e):[1,0,0,0,1,0,0,0,1],r=0,i=t.length;r<i;r++){var o=t[r];switch(o[0]){case"t":Oe(n,n,[o[1],o[2]]);break;case"s":Ie(n,n,[o[1],o[2]]);break;case"r":Ne(n,n,o[1]);break;case"m":ke(n,n,o[1])}}return n}function Pe(e,t){var n=[],r=e[0],i=e[1],o=e[2],a=e[3],s=e[4],l=e[5],c=e[6],u=e[7],h=e[8],p=t[0],d=t[1],f=t[2],m=t[3],g=t[4],y=t[5],v=t[6],_=t[7],b=t[8];return n[0]=p*r+d*a+f*c,n[1]=p*i+d*s+f*u,n[2]=p*o+d*l+f*h,n[3]=m*r+g*a+y*c,n[4]=m*i+g*s+y*u,n[5]=m*o+g*l+y*h,n[6]=v*r+_*a+b*c,n[7]=v*i+_*s+b*u,n[8]=v*o+_*l+b*h,n}function Me(e,t){var n=[],r=t[0],i=t[1];return n[0]=e[0]*r+e[3]*i+e[6],n[1]=e[1]*r+e[4]*i+e[7],n}function Fe(e){var t=[],n=e[0],r=e[1],i=e[2],o=e[3],a=e[4],s=e[5],l=e[6],c=e[7],u=e[8],h=u*a-s*c,p=-u*o+s*l,d=c*o-a*l,f=n*h+r*p+i*d;return f?(f=1/f,t[0]=h*f,t[1]=(-u*r+i*c)*f,t[2]=(s*r-i*a)*f,t[3]=p*f,t[4]=(u*n-i*l)*f,t[5]=(-s*n+i*o)*f,t[6]=d*f,t[7]=(-c*n+r*l)*f,t[8]=(a*n-r*o)*f,t):null}Math.hypot||(Math.hypot=function(){for(var e=0,t=arguments.length;t--;)e+=arguments[t]*arguments[t];return Math.sqrt(e)}),Ae=new Re(3),Re!=Float32Array&&(Ae[0]=0,Ae[1]=0,Ae[2]=0),function(){var e=new Re(2);Re!=Float32Array&&(e[0]=0,e[1]=0)}();var He=De,Be="matrix",Ue=["zIndex","capture","visible","type"],je=["repeat"];function Ge(e,t){var n={},r=t.attrs;for(var i in e)n[i]=r[i];return n}var Ye=function(e){function t(t){var n=e.call(this,t)||this;n.attrs={};var r=n.getDefaultAttrs();return R(r,t.attrs),n.attrs=r,n.initAttrs(r),n.initAnimate(),n}return he(t,e),t.prototype.getDefaultCfg=function(){return{visible:!0,capture:!0,zIndex:0}},t.prototype.getDefaultAttrs=function(){return{matrix:this.getDefaultMatrix(),opacity:1}},t.prototype.onCanvasChange=function(e){},t.prototype.initAttrs=function(e){},t.prototype.initAnimate=function(){this.set("animable",!0),this.set("animating",!1)},t.prototype.isGroup=function(){return!1},t.prototype.getParent=function(){return this.get("parent")},t.prototype.getCanvas=function(){return this.get("canvas")},t.prototype.attr=function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var r=t[0],i=t[1];if(!r)return this.attrs;if(f(r)){for(var o in r)this.setAttr(o,r[o]);return this.afterAttrsChange(r),this}return 2===t.length?(this.setAttr(r,i),this.afterAttrsChange(((e={})[r]=i,e)),this):this.attrs[r]},t.prototype.isClipped=function(e,t){var n=this.getClip();return n&&!n.isHit(e,t)},t.prototype.setAttr=function(e,t){var n=this.attrs[e];n!==t&&(this.attrs[e]=t,this.onAttrChange(e,t,n))},t.prototype.onAttrChange=function(e,t,n){"matrix"===e&&this.set("totalMatrix",null)},t.prototype.afterAttrsChange=function(e){if(this.cfg.isClipShape){var t=this.cfg.applyTo;t&&t.onCanvasChange("clip")}else this.onCanvasChange("attr")},t.prototype.show=function(){return this.set("visible",!0),this.onCanvasChange("show"),this},t.prototype.hide=function(){return this.set("visible",!1),this.onCanvasChange("hide"),this},t.prototype.setZIndex=function(e){this.set("zIndex",e);var t=this.getParent();return t&&t.sort(),this},t.prototype.toFront=function(){var e=this.getParent();if(e){var t=e.getChildren();this.get("el");var n=t.indexOf(this);t.splice(n,1),t.push(this),this.onCanvasChange("zIndex")}},t.prototype.toBack=function(){var e=this.getParent();if(e){var t=e.getChildren();this.get("el");var n=t.indexOf(this);t.splice(n,1),t.unshift(this),this.onCanvasChange("zIndex")}},t.prototype.remove=function(e){void 0===e&&(e=!0);var t=this.getParent();t?(de(t.getChildren(),this),t.get("clearing")||this.onCanvasChange("remove")):this.onCanvasChange("remove"),e&&this.destroy()},t.prototype.resetMatrix=function(){this.attr(Be,this.getDefaultMatrix()),this.onCanvasChange("matrix")},t.prototype.getMatrix=function(){return this.attr(Be)},t.prototype.setMatrix=function(e){this.attr(Be,e),this.onCanvasChange("matrix")},t.prototype.getTotalMatrix=function(){var e=this.cfg.totalMatrix;if(!e){var t=this.attr("matrix"),n=this.cfg.parentMatrix;e=n&&t?Pe(n,t):t||n,this.set("totalMatrix",e)}return e},t.prototype.applyMatrix=function(e){var t,n=this.attr("matrix");t=e&&n?Pe(e,n):n||e,this.set("totalMatrix",t),this.set("parentMatrix",e)},t.prototype.getDefaultMatrix=function(){return null},t.prototype.applyToMatrix=function(e){var t=this.attr("matrix");return t?Me(t,e):e},t.prototype.invertFromMatrix=function(e){var t=this.attr("matrix");if(t){var n=Fe(t);if(n)return Me(n,e)}return e},t.prototype.setClip=function(e){var t=this.getCanvas(),n=null;if(e){var r=this.getShapeBase()[C(e.type)];r&&(n=new r({type:e.type,isClipShape:!0,applyTo:this,attrs:e.attrs,canvas:t}))}return this.set("clipShape",n),this.onCanvasChange("clip"),n},t.prototype.getClip=function(){return this.cfg.clipShape||null},t.prototype.clone=function(){var e=this,t=this.attrs,n={};m(t,(function(e,r){d(t[r])?n[r]=function(e){for(var t=[],n=0;n<e.length;n++)d(e[n])?t.push([].concat(e[n])):t.push(e[n]);return t}(t[r]):n[r]=t[r]}));var r=new(0,this.constructor)({attrs:n});return m(Ue,(function(t){r.set(t,e.get(t))})),r},t.prototype.destroy=function(){this.destroyed||(this.attrs={},e.prototype.destroy.call(this))},t.prototype.isAnimatePaused=function(){return this.get("_pause").isPaused},t.prototype.animate=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(this.get("timeline")||this.get("canvas")){this.set("animating",!0);var n=this.get("timeline");n||(n=this.get("canvas").get("timeline"),this.set("timeline",n));var r=this.get("animations")||[];n.timer||n.initTimer();var i,o,a,s,l,c=e[0],u=e[1],p=e[2],d=void 0===p?"easeLinear":p,g=e[3],y=void 0===g?N:g,v=e[4],_=void 0===v?0:v;h(c)?(i=c,c={}):f(c)&&c.onFrame&&(i=c.onFrame,o=c.repeat),f(u)?(u=(l=u).duration,d=l.easing||"easeLinear",_=l.delay||0,o=l.repeat||o||!1,y=l.callback||N,a=l.pauseCallback||N,s=l.resumeCallback||N):(b(y)&&(_=y,y=null),h(d)?(y=d,d="easeLinear"):d=d||"easeLinear");var E,T=function(e,t){var n={},r=t.attr();return m(e,(function(e,t){-1!==je.indexOf(t)||L(r[t],e)||(n[t]=e)})),n}(c,this),x={fromAttrs:Ge(T,this),toAttrs:T,duration:u,easing:d,repeat:o,callback:y,pauseCallback:a,resumeCallback:s,delay:_,startTime:n.getTime(),id:(O[E=E||"g"]?O[E]+=1:O[E]=1,E+O[E]),onFrame:i,pathFormatted:!1};r.length>0?r=function(e,t){if(t.onFrame)return e;var n=t.startTime,r=t.delay,i=t.duration,o=Object.prototype.hasOwnProperty;return m(e,(function(e){n+r<e.startTime+e.delay+e.duration&&i>e.delay&&m(t.toAttrs,(function(t,n){o.call(e.toAttrs,n)&&(delete e.toAttrs[n],delete e.fromAttrs[n])}))})),e}(r,x):n.addAnimator(this),r.push(x),this.set("animations",r),this.set("_pause",{isPaused:!1})}},t.prototype.stopAnimate=function(e){var t=this;void 0===e&&(e=!0),m(this.get("animations"),(function(n){e&&(n.onFrame?t.attr(n.onFrame(1)):t.attr(n.toAttrs)),n.callback&&n.callback()})),this.set("animating",!1),this.set("animations",[])},t.prototype.pauseAnimate=function(){var e=this.get("timeline"),t=this.get("animations"),n=e.getTime();return m(t,(function(e){e._paused=!0,e._pauseTime=n,e.pauseCallback&&e.pauseCallback()})),this.set("_pause",{isPaused:!0,pauseTime:n}),this},t.prototype.resumeAnimate=function(){var e=this.get("timeline").getTime(),t=this.get("animations"),n=this.get("_pause").pauseTime;return m(t,(function(t){t.startTime=t.startTime+(e-n),t._paused=!1,t._pauseTime=null,t.resumeCallback&&t.resumeCallback()})),this.set("_pause",{isPaused:!1}),this.set("animations",t),this},t.prototype.emitDelegation=function(e,t){var n,r=this,i=t.propagationPath;this.getEvents(),"mouseenter"===e?n=t.fromShape:"mouseleave"===e&&(n=t.toShape);for(var o=function(e){var o=i[e],s=o.get("name");if(s){if((o.isGroup()||o.isCanvas&&o.isCanvas())&&n&&me(o,n))return"break";d(s)?m(s,(function(e){r.emitDelegateEvent(o,e,t)})):a.emitDelegateEvent(o,s,t)}},a=this,s=0;s<i.length&&"break"!==o(s);s++);},t.prototype.emitDelegateEvent=function(e,t,n){var r=this.getEvents(),i=t+":"+n.type;(r[i]||r["*"])&&(n.name=i,n.currentTarget=e,n.delegateTarget=this,n.delegateObject=e.get("delegateObject"),this.emit(i,n))},t.prototype.translate=function(e,t){void 0===e&&(e=0),void 0===t&&(t=0);var n=this.getMatrix(),r=He(n,[["t",e,t]]);return this.setMatrix(r),this},t.prototype.move=function(e,t){var n=this.attr("x")||0,r=this.attr("y")||0;return this.translate(e-n,t-r),this},t.prototype.moveTo=function(e,t){return this.move(e,t)},t.prototype.scale=function(e,t){var n=this.getMatrix(),r=He(n,[["s",e,t||e]]);return this.setMatrix(r),this},t.prototype.rotate=function(e){var t=this.getMatrix(),n=He(t,[["r",e]]);return this.setMatrix(n),this},t.prototype.rotateAtStart=function(e){var t=this.attr(),n=t.x,r=t.y,i=this.getMatrix(),o=He(i,[["t",-n,-r],["r",e],["t",n,r]]);return this.setMatrix(o),this},t.prototype.rotateAtPoint=function(e,t,n){var r=this.getMatrix(),i=He(r,[["t",-e,-t],["r",n],["t",e,t]]);return this.setMatrix(i),this},t}(ye),ze={},$e="_INDEX";function We(e,t){if(e.set("canvas",t),e.isGroup()){var n=e.get("children");n.length&&n.forEach((function(e){We(e,t)}))}}function Ve(e,t){if(e.set("timeline",t),e.isGroup()){var n=e.get("children");n.length&&n.forEach((function(e){Ve(e,t)}))}}var Ke,qe,Xe=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return he(t,e),t.prototype.isCanvas=function(){return!1},t.prototype.getBBox=function(){var e=1/0,t=-1/0,n=1/0,r=-1/0,i=[],o=[],a=this.getChildren().filter((function(e){return e.get("visible")&&(!e.isGroup()||e.isGroup()&&e.getChildren().length>0)}));return a.length>0?(m(a,(function(e){var t=e.getBBox();i.push(t.minX,t.maxX),o.push(t.minY,t.maxY)})),e=v(i),t=y(i),n=v(o),r=y(o)):(e=0,t=0,n=0,r=0),{x:e,y:n,minX:e,minY:n,maxX:t,maxY:r,width:t-e,height:r-n}},t.prototype.getCanvasBBox=function(){var e=1/0,t=-1/0,n=1/0,r=-1/0,i=[],o=[],a=this.getChildren().filter((function(e){return e.get("visible")&&(!e.isGroup()||e.isGroup()&&e.getChildren().length>0)}));return a.length>0?(m(a,(function(e){var t=e.getCanvasBBox();i.push(t.minX,t.maxX),o.push(t.minY,t.maxY)})),e=v(i),t=y(i),n=v(o),r=y(o)):(e=0,t=0,n=0,r=0),{x:e,y:n,minX:e,minY:n,maxX:t,maxY:r,width:t-e,height:r-n}},t.prototype.getDefaultCfg=function(){var t=e.prototype.getDefaultCfg.call(this);return t.children=[],t},t.prototype.onAttrChange=function(t,n,r){if(e.prototype.onAttrChange.call(this,t,n,r),"matrix"===t){var i=this.getTotalMatrix();this._applyChildrenMarix(i)}},t.prototype.applyMatrix=function(t){var n=this.getTotalMatrix();e.prototype.applyMatrix.call(this,t);var r=this.getTotalMatrix();r!==n&&this._applyChildrenMarix(r)},t.prototype._applyChildrenMarix=function(e){m(this.getChildren(),(function(t){t.applyMatrix(e)}))},t.prototype.addShape=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=e[0],r=e[1];f(n)?r=n:r.type=n;var i=ze[r.type];i||(i=C(r.type),ze[r.type]=i);var o=new(this.getShapeBase()[i])(r);return this.add(o),o},t.prototype.addGroup=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n,r=e[0],i=e[1];if(h(r))n=new r(i||{parent:this});else{var o=r||{};n=new(this.getGroupBase())(o)}return this.add(n),n},t.prototype.getCanvas=function(){return this.isCanvas()?this:this.get("canvas")},t.prototype.getShape=function(e,t,n){if(!ge(this))return null;var r,i=this.getChildren();if(this.isCanvas())r=this._findShape(i,e,t,n);else{var o=[e,t,1];o=this.invertFromMatrix(o),this.isClipped(o[0],o[1])||(r=this._findShape(i,o[0],o[1],n))}return r},t.prototype._findShape=function(e,t,n,r){for(var i=null,o=e.length-1;o>=0;o--){var a=e[o];if(ge(a)&&(a.isGroup()?i=a.getShape(t,n,r):a.isHit(t,n)&&(i=a)),i)break}return i},t.prototype.add=function(e){var t=this.getCanvas(),n=this.getChildren(),r=this.get("timeline"),i=e.getParent();i&&function(e,t,n){void 0===n&&(n=!0),n?t.destroy():(t.set("parent",null),t.set("canvas",null)),de(e.getChildren(),t)}(i,e,!1),e.set("parent",this),t&&We(e,t),r&&Ve(e,r),n.push(e),e.onCanvasChange("add"),this._applyElementMatrix(e)},t.prototype._applyElementMatrix=function(e){var t=this.getTotalMatrix();t&&e.applyMatrix(t)},t.prototype.getChildren=function(){return this.get("children")},t.prototype.sort=function(){var e,t=this.getChildren();m(t,(function(e,t){return e[$e]=t,e})),t.sort((e=function(e,t){return e.get("zIndex")-t.get("zIndex")},function(t,n){var r=e(t,n);return 0===r?t[$e]-n[$e]:r})),this.onCanvasChange("sort")},t.prototype.clear=function(){if(this.set("clearing",!0),!this.destroyed){for(var e=this.getChildren(),t=e.length-1;t>=0;t--)e[t].destroy();this.set("children",[]),this.onCanvasChange("clear"),this.set("clearing",!1)}},t.prototype.destroy=function(){this.get("destroyed")||(this.clear(),e.prototype.destroy.call(this))},t.prototype.getFirst=function(){return this.getChildByIndex(0)},t.prototype.getLast=function(){var e=this.getChildren();return this.getChildByIndex(e.length-1)},t.prototype.getChildByIndex=function(e){return this.getChildren()[e]},t.prototype.getCount=function(){return this.getChildren().length},t.prototype.contain=function(e){return this.getChildren().indexOf(e)>-1},t.prototype.removeChild=function(e,t){void 0===t&&(t=!0),this.contain(e)&&e.remove(t)},t.prototype.findAll=function(e){var t=[];return m(this.getChildren(),(function(n){e(n)&&t.push(n),n.isGroup()&&(t=t.concat(n.findAll(e)))})),t},t.prototype.find=function(e){var t=null;return m(this.getChildren(),(function(n){if(e(n)?t=n:n.isGroup()&&(t=n.find(e)),t)return!1})),t},t.prototype.findById=function(e){return this.find((function(t){return t.get("id")===e}))},t.prototype.findByClassName=function(e){return this.find((function(t){return t.get("className")===e}))},t.prototype.findAllByName=function(e){return this.findAll((function(t){return t.get("name")===e}))},t}(Ye),Ze=0,Qe=0,Je=0,et=1e3,tt=0,nt=0,rt=0,it="object"==typeof performance&&performance.now?performance:Date,ot="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(e){setTimeout(e,17)};function at(){return nt||(ot(st),nt=it.now()+rt)}function st(){nt=0}function lt(){this._call=this._time=this._next=null}function ct(e,t,n){var r=new lt;return r.restart(e,t,n),r}function ut(){nt=(tt=it.now())+rt,Ze=Qe=0;try{!function(){at(),++Ze;for(var e,t=Ke;t;)(e=nt-t._time)>=0&&t._call.call(null,e),t=t._next;--Ze}()}finally{Ze=0,function(){for(var e,t,n=Ke,r=1/0;n;)n._call?(r>n._time&&(r=n._time),e=n,n=n._next):(t=n._next,n._next=null,n=e?e._next=t:Ke=t);qe=e,pt(r)}(),nt=0}}function ht(){var e=it.now(),t=e-tt;t>et&&(rt-=t,tt=e)}function pt(e){Ze||(Qe&&(Qe=clearTimeout(Qe)),e-nt>24?(e<1/0&&(Qe=setTimeout(ut,e-it.now()-rt)),Je&&(Je=clearInterval(Je))):(Je||(tt=it.now(),Je=setInterval(ht,et)),Ze=1,ot(ut)))}function dt(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function ft(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}function mt(){}lt.prototype=ct.prototype={constructor:lt,restart:function(e,t,n){if("function"!=typeof e)throw new TypeError("callback is not a function");n=(null==n?at():+n)+(null==t?0:+t),this._next||qe===this||(qe?qe._next=this:Ke=this,qe=this),this._call=e,this._time=n,pt()},stop:function(){this._call&&(this._call=null,this._time=1/0,pt())}};var gt=.7,yt=1/gt,vt="\\s*([+-]?\\d+)\\s*",_t="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",bt="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",Et=/^#([0-9a-f]{3,8})$/,Tt=new RegExp("^rgb\\("+[vt,vt,vt]+"\\)$"),xt=new RegExp("^rgb\\("+[bt,bt,bt]+"\\)$"),St=new RegExp("^rgba\\("+[vt,vt,vt,_t]+"\\)$"),Ct=new RegExp("^rgba\\("+[bt,bt,bt,_t]+"\\)$"),At=new RegExp("^hsl\\("+[_t,bt,bt]+"\\)$"),Rt=new RegExp("^hsla\\("+[_t,bt,bt,_t]+"\\)$"),wt={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function Lt(){return this.rgb().formatHex()}function Ot(){return this.rgb().formatRgb()}function Nt(e){var t,n;return e=(e+"").trim().toLowerCase(),(t=Et.exec(e))?(n=t[1].length,t=parseInt(t[1],16),6===n?It(t):3===n?new Pt(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===n?kt(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===n?kt(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|240&t,((15&t)<<4|15&t)/255):null):(t=Tt.exec(e))?new Pt(t[1],t[2],t[3],1):(t=xt.exec(e))?new Pt(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=St.exec(e))?kt(t[1],t[2],t[3],t[4]):(t=Ct.exec(e))?kt(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=At.exec(e))?Bt(t[1],t[2]/100,t[3]/100,1):(t=Rt.exec(e))?Bt(t[1],t[2]/100,t[3]/100,t[4]):wt.hasOwnProperty(e)?It(wt[e]):"transparent"===e?new Pt(NaN,NaN,NaN,0):null}function It(e){return new Pt(e>>16&255,e>>8&255,255&e,1)}function kt(e,t,n,r){return r<=0&&(e=t=n=NaN),new Pt(e,t,n,r)}function Dt(e,t,n,r){return 1===arguments.length?((i=e)instanceof mt||(i=Nt(i)),i?new Pt((i=i.rgb()).r,i.g,i.b,i.opacity):new Pt):new Pt(e,t,n,null==r?1:r);var i}function Pt(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}function Mt(){return"#"+Ht(this.r)+Ht(this.g)+Ht(this.b)}function Ft(){var e=this.opacity;return(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===e?")":", "+e+")")}function Ht(e){return((e=Math.max(0,Math.min(255,Math.round(e)||0)))<16?"0":"")+e.toString(16)}function Bt(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new jt(e,t,n,r)}function Ut(e){if(e instanceof jt)return new jt(e.h,e.s,e.l,e.opacity);if(e instanceof mt||(e=Nt(e)),!e)return new jt;if(e instanceof jt)return e;var t=(e=e.rgb()).r/255,n=e.g/255,r=e.b/255,i=Math.min(t,n,r),o=Math.max(t,n,r),a=NaN,s=o-i,l=(o+i)/2;return s?(a=t===o?(n-r)/s+6*(n<r):n===o?(r-t)/s+2:(t-n)/s+4,s/=l<.5?o+i:2-o-i,a*=60):s=l>0&&l<1?0:a,new jt(a,s,l,e.opacity)}function jt(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function Gt(e,t,n){return 255*(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)}function Yt(e){return function(){return e}}function zt(e,t){var n=t-e;return n?function(e,t){return function(n){return e+n*t}}(e,n):Yt(isNaN(e)?t:e)}dt(mt,Nt,{copy:function(e){return Object.assign(new this.constructor,this,e)},displayable:function(){return this.rgb().displayable()},hex:Lt,formatHex:Lt,formatHsl:function(){return Ut(this).formatHsl()},formatRgb:Ot,toString:Ot}),dt(Pt,Dt,ft(mt,{brighter:function(e){return e=null==e?yt:Math.pow(yt,e),new Pt(this.r*e,this.g*e,this.b*e,this.opacity)},darker:function(e){return e=null==e?gt:Math.pow(gt,e),new Pt(this.r*e,this.g*e,this.b*e,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:Mt,formatHex:Mt,formatRgb:Ft,toString:Ft})),dt(jt,(function(e,t,n,r){return 1===arguments.length?Ut(e):new jt(e,t,n,null==r?1:r)}),ft(mt,{brighter:function(e){return e=null==e?yt:Math.pow(yt,e),new jt(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?gt:Math.pow(gt,e),new jt(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=this.h%360+360*(this.h<0),t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,i=2*n-r;return new Pt(Gt(e>=240?e-240:e+120,i,r),Gt(e,i,r),Gt(e<120?e+240:e-120,i,r),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var e=this.opacity;return(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===e?")":", "+e+")")}}));var $t=function e(t){var n=function(e){return 1==(e=+e)?zt:function(t,n){return n-t?function(e,t,n){return e=Math.pow(e,n),t=Math.pow(t,n)-e,n=1/n,function(r){return Math.pow(e+r*t,n)}}(t,n,e):Yt(isNaN(t)?n:t)}}(t);function r(e,t){var r=n((e=Dt(e)).r,(t=Dt(t)).r),i=n(e.g,t.g),o=n(e.b,t.b),a=zt(e.opacity,t.opacity);return function(t){return e.r=r(t),e.g=i(t),e.b=o(t),e.opacity=a(t),e+""}}return r.gamma=e,r}(1);function Wt(e,t){t||(t=[]);var n,r=e?Math.min(t.length,e.length):0,i=t.slice();return function(o){for(n=0;n<r;++n)i[n]=e[n]*(1-o)+t[n]*o;return i}}function Vt(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}function Kt(e,t){return(Vt(t)?Wt:qt)(e,t)}function qt(e,t){var n,r=t?t.length:0,i=e?Math.min(r,e.length):0,o=new Array(i),a=new Array(r);for(n=0;n<i;++n)o[n]=nn(e[n],t[n]);for(;n<r;++n)a[n]=t[n];return function(e){for(n=0;n<i;++n)a[n]=o[n](e);return a}}function Xt(e,t){var n=new Date;return e=+e,t=+t,function(r){return n.setTime(e*(1-r)+t*r),n}}function Zt(e,t){return e=+e,t=+t,function(n){return e*(1-n)+t*n}}function Qt(e,t){var n,r={},i={};for(n in null!==e&&"object"==typeof e||(e={}),null!==t&&"object"==typeof t||(t={}),t)n in e?r[n]=nn(e[n],t[n]):i[n]=t[n];return function(e){for(n in r)i[n]=r[n](e);return i}}var Jt=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,en=new RegExp(Jt.source,"g");function tn(e,t){var n,r,i,o=Jt.lastIndex=en.lastIndex=0,a=-1,s=[],l=[];for(e+="",t+="";(n=Jt.exec(e))&&(r=en.exec(t));)(i=r.index)>o&&(i=t.slice(o,i),s[a]?s[a]+=i:s[++a]=i),(n=n[0])===(r=r[0])?s[a]?s[a]+=r:s[++a]=r:(s[++a]=null,l.push({i:a,x:Zt(n,r)})),o=en.lastIndex;return o<t.length&&(i=t.slice(o),s[a]?s[a]+=i:s[++a]=i),s.length<2?l[0]?function(e){return function(t){return e(t)+""}}(l[0].x):function(e){return function(){return e}}(t):(t=l.length,function(e){for(var n,r=0;r<t;++r)s[(n=l[r]).i]=n.x(e);return s.join("")})}function nn(e,t){var n,r=typeof t;return null==t||"boolean"===r?Yt(t):("number"===r?Zt:"string"===r?(n=Nt(t))?(t=n,$t):tn:t instanceof Nt?$t:t instanceof Date?Xt:Vt(t)?Wt:Array.isArray(t)?qt:"function"!=typeof t.valueOf&&"function"!=typeof t.toString||isNaN(t)?Qt:Zt)(e,t)}function rn(e){return((e*=2)<=1?e*e:--e*(2-e)+1)/2}function on(e){return e*e*e}function an(e){return((e*=2)<=1?e*e*e:(e-=2)*e*e+2)/2}var sn=function e(t){function n(e){return Math.pow(e,t)}return t=+t,n.exponent=e,n}(3),ln=function e(t){function n(e){return 1-Math.pow(1-e,t)}return t=+t,n.exponent=e,n}(3),cn=function e(t){function n(e){return((e*=2)<=1?Math.pow(e,t):2-Math.pow(2-e,t))/2}return t=+t,n.exponent=e,n}(3),un=Math.PI,hn=un/2;function pn(e){return(1-Math.cos(un*e))/2}function dn(e){return 1.0009775171065494*(Math.pow(2,-10*e)-.0009765625)}function fn(e){return((e*=2)<=1?dn(1-e):2-dn(e-1))/2}function mn(e){return((e*=2)<=1?1-Math.sqrt(1-e*e):Math.sqrt(1-(e-=2)*e)+1)/2}var gn=4/11,yn=7.5625;function vn(e){return(e=+e)<gn?yn*e*e:e<.7272727272727273?yn*(e-=.5454545454545454)*e+.75:e<.9090909090909091?yn*(e-=.8181818181818182)*e+.9375:yn*(e-=.9545454545454546)*e+.984375}var _n=1.70158,bn=function e(t){function n(e){return(e=+e)*e*(t*(e-1)+e)}return t=+t,n.overshoot=e,n}(_n),En=function e(t){function n(e){return--e*e*((e+1)*t+e)+1}return t=+t,n.overshoot=e,n}(_n),Tn=function e(t){function n(e){return((e*=2)<1?e*e*((t+1)*e-t):(e-=2)*e*((t+1)*e+t)+2)/2}return t=+t,n.overshoot=e,n}(_n),xn=2*Math.PI,Sn=function e(t,n){var r=Math.asin(1/(t=Math.max(1,t)))*(n/=xn);function i(e){return t*dn(- --e)*Math.sin((r-e)/n)}return i.amplitude=function(t){return e(t,n*xn)},i.period=function(n){return e(t,n)},i}(1,.3),Cn=function e(t,n){var r=Math.asin(1/(t=Math.max(1,t)))*(n/=xn);function i(e){return 1-t*dn(e=+e)*Math.sin((e+r)/n)}return i.amplitude=function(t){return e(t,n*xn)},i.period=function(n){return e(t,n)},i}(1,.3),An=function e(t,n){var r=Math.asin(1/(t=Math.max(1,t)))*(n/=xn);function i(e){return((e=2*e-1)<0?t*dn(-e)*Math.sin((r-e)/n):2-t*dn(e)*Math.sin((r+e)/n))/2}return i.amplitude=function(t){return e(t,n*xn)},i.period=function(n){return e(t,n)},i}(1,.3),Rn=Object.freeze({__proto__:null,easeLinear:function(e){return+e},easeQuad:rn,easeQuadIn:function(e){return e*e},easeQuadOut:function(e){return e*(2-e)},easeQuadInOut:rn,easeCubic:an,easeCubicIn:on,easeCubicOut:function(e){return--e*e*e+1},easeCubicInOut:an,easePoly:cn,easePolyIn:sn,easePolyOut:ln,easePolyInOut:cn,easeSin:pn,easeSinIn:function(e){return 1==+e?1:1-Math.cos(e*hn)},easeSinOut:function(e){return Math.sin(e*hn)},easeSinInOut:pn,easeExp:fn,easeExpIn:function(e){return dn(1-+e)},easeExpOut:function(e){return 1-dn(e)},easeExpInOut:fn,easeCircle:mn,easeCircleIn:function(e){return 1-Math.sqrt(1-e*e)},easeCircleOut:function(e){return Math.sqrt(1- --e*e)},easeCircleInOut:mn,easeBounce:vn,easeBounceIn:function(e){return 1-vn(1-e)},easeBounceOut:vn,easeBounceInOut:function(e){return((e*=2)<=1?1-vn(1-e):vn(e-1)+1)/2},easeBack:Tn,easeBackIn:bn,easeBackOut:En,easeBackInOut:Tn,easeElastic:Cn,easeElasticIn:Sn,easeElasticOut:Cn,easeElasticInOut:An}),wn={},Ln=[1,0,0,0,1,0,0,0,1];function On(e,t,n){var r,i=t.startTime;if(n<i+t.delay||t._paused)return!1;var o,a=t.duration,s=t.easing,l=wn[(o=s).toLowerCase()]||Rn[o];if(n=n-i-t.delay,t.repeat)r=l(r=n%a/a);else{if(!((r=n/a)<1))return t.onFrame?e.attr(t.onFrame(1)):e.attr(t.toAttrs),!0;r=l(r)}if(t.onFrame){var c=t.onFrame(r);e.attr(c)}else!function(e,t,n){var r,i={},o=t.fromAttrs,a=t.toAttrs;if(!e.destroyed){var s;for(var l in a)if(!L(o[l],a[l]))if("path"===l){var c=a[l],u=o[l];c.length>u.length?(c=P(a[l]),u=P(o[l]),u=ie(u,c),u=se(u,c),t.fromAttrs.path=u,t.toAttrs.path=c):t.pathFormatted||(c=P(a[l]),u=P(o[l]),u=se(u,c),t.fromAttrs.path=u,t.toAttrs.path=c,t.pathFormatted=!0),i[l]=[];for(var p=0;p<c.length;p++){for(var d=c[p],f=u[p],m=[],g=0;g<d.length;g++)b(d[g])&&f&&b(f[g])?(s=nn(f[g],d[g]),m.push(s(n))):m.push(d[g]);i[l].push(m)}}else if("matrix"===l){var y=Kt(o[l]||Ln,a[l]||Ln)(n);i[l]=y}else["fill","stroke","fillStyle","strokeStyle"].includes(l)&&(r=a[l],/^[r,R,L,l]{1}[\s]*\(/.test(r))?i[l]=a[l]:h(a[l])||(s=nn(o[l],a[l]),i[l]=s(n));e.attr(i)}}(e,t,r);return!1}var Nn=function(){function e(e){this.animators=[],this.current=0,this.timer=null,this.canvas=e}return e.prototype.initTimer=function(){var e,t,n,r=this;this.timer=ct((function(i){if(r.current=i,r.animators.length>0){for(var o=r.animators.length-1;o>=0;o--)if((e=r.animators[o]).destroyed)r.removeAnimator(o);else{if(!e.isAnimatePaused())for(var a=(t=e.get("animations")).length-1;a>=0;a--)n=t[a],On(e,n,i)&&(t.splice(a,1),n.callback&&n.callback());0===t.length&&r.removeAnimator(o)}r.canvas.get("autoDraw")||r.canvas.draw()}}))},e.prototype.addAnimator=function(e){this.animators.push(e)},e.prototype.removeAnimator=function(e){this.animators.splice(e,1)},e.prototype.isAnimating=function(){return!!this.animators.length},e.prototype.stop=function(){this.timer&&this.timer.stop()},e.prototype.stopAllAnimations=function(e){void 0===e&&(e=!0),this.animators.forEach((function(t){t.stopAnimate(e)})),this.animators=[],this.canvas.draw()},e.prototype.getTime=function(){return this.current},e}(),In=["mousedown","mouseup","dblclick","mouseout","mouseover","mousemove","mouseleave","mouseenter","touchstart","touchmove","touchend","dragenter","dragover","dragleave","drop","contextmenu","mousewheel"];function kn(e,t,n){n.name=t,n.target=e,n.currentTarget=e,n.delegateTarget=e,e.emit(t,n)}function Dn(e,t,n){if(n.bubbles){var r=void 0,i=!1;if("mouseenter"===t?(r=n.fromShape,i=!0):"mouseleave"===t&&(i=!0,r=n.toShape),e.isCanvas()&&i)return;if(r&&me(e,r))return void(n.bubbles=!1);n.name=t,n.currentTarget=e,n.delegateTarget=e,e.emit(t,n)}}var Pn=function(){function e(e){var t=this;this.draggingShape=null,this.dragging=!1,this.currentShape=null,this.mousedownShape=null,this.mousedownPoint=null,this._eventCallback=function(e){var n=e.type;t._triggerEvent(n,e)},this._onDocumentMove=function(e){if(t.canvas.get("el")!==e.target&&(t.dragging||t.currentShape)){var n=t._getPointInfo(e);t.dragging&&t._emitEvent("drag",e,n,t.draggingShape)}},this._onDocumentMouseUp=function(e){if(t.canvas.get("el")!==e.target&&t.dragging){var n=t._getPointInfo(e);t.draggingShape&&t._emitEvent("drop",e,n,null),t._emitEvent("dragend",e,n,t.draggingShape),t._afterDrag(t.draggingShape,n,e)}},this.canvas=e.canvas}return e.prototype.init=function(){this._bindEvents()},e.prototype._bindEvents=function(){var e=this,t=this.canvas.get("el");m(In,(function(n){t.addEventListener(n,e._eventCallback)})),document&&(document.addEventListener("mousemove",this._onDocumentMove),document.addEventListener("mouseup",this._onDocumentMouseUp))},e.prototype._clearEvents=function(){var e=this,t=this.canvas.get("el");m(In,(function(n){t.removeEventListener(n,e._eventCallback)})),document&&(document.removeEventListener("mousemove",this._onDocumentMove),document.removeEventListener("mouseup",this._onDocumentMouseUp))},e.prototype._getEventObj=function(e,t,n,r,i,o){var a=new ce(e,t);return a.fromShape=i,a.toShape=o,a.x=n.x,a.y=n.y,a.clientX=n.clientX,a.clientY=n.clientY,a.propagationPath.push(r),a},e.prototype._getShape=function(e,t){return this.canvas.getShape(e.x,e.y,t)},e.prototype._getPointInfo=function(e){var t=this.canvas,n=t.getClientByEvent(e),r=t.getPointByEvent(e);return{x:r.x,y:r.y,clientX:n.x,clientY:n.y}},e.prototype._triggerEvent=function(e,t){var n=this._getPointInfo(t),r=this._getShape(n,t),i=this["_on"+e],o=!1;if(i)i.call(this,n,r,t);else{var a=this.currentShape;"mouseenter"===e||"dragenter"===e||"mouseover"===e?(this._emitEvent(e,t,n,null,null,r),r&&this._emitEvent(e,t,n,r,null,r),"mouseenter"===e&&this.draggingShape&&this._emitEvent("dragenter",t,n,null)):"mouseleave"===e||"dragleave"===e||"mouseout"===e?(o=!0,a&&this._emitEvent(e,t,n,a,a,null),this._emitEvent(e,t,n,null,a,null),"mouseleave"===e&&this.draggingShape&&this._emitEvent("dragleave",t,n,null)):this._emitEvent(e,t,n,r,null,null)}if(o||(this.currentShape=r),r&&!r.get("destroyed")){var s=this.canvas;s.get("el").style.cursor=r.attr("cursor")||s.get("cursor")}},e.prototype._onmousedown=function(e,t,n){0===n.button&&(this.mousedownShape=t,this.mousedownPoint=e,this.mousedownTimeStamp=n.timeStamp),this._emitEvent("mousedown",n,e,t,null,null)},e.prototype._emitMouseoverEvents=function(e,t,n,r){var i=this.canvas.get("el");n!==r&&(n&&(this._emitEvent("mouseout",e,t,n,n,r),this._emitEvent("mouseleave",e,t,n,n,r),r&&!r.get("destroyed")||(i.style.cursor=this.canvas.get("cursor"))),r&&(this._emitEvent("mouseover",e,t,r,n,r),this._emitEvent("mouseenter",e,t,r,n,r)))},e.prototype._emitDragoverEvents=function(e,t,n,r,i){r?(r!==n&&(n&&this._emitEvent("dragleave",e,t,n,n,r),this._emitEvent("dragenter",e,t,r,n,r)),i||this._emitEvent("dragover",e,t,r)):n&&this._emitEvent("dragleave",e,t,n,n,r),i&&this._emitEvent("dragover",e,t,r)},e.prototype._afterDrag=function(e,t,n){e&&(e.set("capture",!0),this.draggingShape=null),this.dragging=!1;var r=this._getShape(t,n);r!==e&&this._emitMouseoverEvents(n,t,e,r),this.currentShape=r},e.prototype._onmouseup=function(e,t,n){if(0===n.button){var r=this.draggingShape;this.dragging?(r&&this._emitEvent("drop",n,e,t),this._emitEvent("dragend",n,e,r),this._afterDrag(r,e,n)):(this._emitEvent("mouseup",n,e,t),t===this.mousedownShape&&this._emitEvent("click",n,e,t),this.mousedownShape=null,this.mousedownPoint=null)}},e.prototype._ondragover=function(e,t,n){n.preventDefault();var r=this.currentShape;this._emitDragoverEvents(n,e,r,t,!0)},e.prototype._onmousemove=function(e,t,n){var r=this.canvas,i=this.currentShape,o=this.draggingShape;if(this.dragging)o&&this._emitDragoverEvents(n,e,i,t,!1),this._emitEvent("drag",n,e,o);else{var a=this.mousedownPoint;if(a){var s=this.mousedownShape,l=n.timeStamp-this.mousedownTimeStamp,c=a.clientX-e.clientX,u=a.clientY-e.clientY;l>120||c*c+u*u>40?s&&s.get("draggable")?((o=this.mousedownShape).set("capture",!1),this.draggingShape=o,this.dragging=!0,this._emitEvent("dragstart",n,e,o),this.mousedownShape=null,this.mousedownPoint=null):!s&&r.get("draggable")?(this.dragging=!0,this._emitEvent("dragstart",n,e,null),this.mousedownShape=null,this.mousedownPoint=null):(this._emitMouseoverEvents(n,e,i,t),this._emitEvent("mousemove",n,e,t)):(this._emitMouseoverEvents(n,e,i,t),this._emitEvent("mousemove",n,e,t))}else this._emitMouseoverEvents(n,e,i,t),this._emitEvent("mousemove",n,e,t)}},e.prototype._emitEvent=function(e,t,n,r,i,o){var a=this._getEventObj(e,t,n,r,i,o);if(r){a.shape=r,kn(r,e,a);for(var s=r.getParent();s;)s.emitDelegation(e,a),a.propagationStopped||Dn(s,e,a),a.propagationPath.push(s),s=s.getParent()}else kn(this.canvas,e,a)},e.prototype.destroy=function(){this._clearEvents(),this.canvas=null,this.currentShape=null,this.draggingShape=null,this.mousedownPoint=null,this.mousedownShape=null,this.mousedownTimeStamp=null},e}(),Mn="undefined"==typeof document&&"undefined"!=typeof navigator&&"ReactNative"===navigator.product?new function(){this.type="react-native",this.name="react-native",this.version=null,this.os=null}:"undefined"!=typeof navigator?Ce(navigator.userAgent):void 0!==r&&r.version?new function(e){this.version=e,this.type="node",this.name="node",this.os=r.platform}(r.version.slice(1)):null,Fn=Mn&&"firefox"===Mn.name,Hn=function(e){function t(t){var n=e.call(this,t)||this;return n.initContainer(),n.initDom(),n.initEvents(),n.initTimeline(),n}return he(t,e),t.prototype.getDefaultCfg=function(){var t=e.prototype.getDefaultCfg.call(this);return t.cursor="default",t.supportCSSTransform=!1,t},t.prototype.initContainer=function(){var e=this.get("container");_(e)&&(e=document.getElementById(e),this.set("container",e))},t.prototype.initDom=function(){var e=this.createDom();this.set("el",e),this.get("container").appendChild(e),this.setDOMSize(this.get("width"),this.get("height"))},t.prototype.initEvents=function(){var e=new Pn({canvas:this});e.init(),this.set("eventController",e)},t.prototype.initTimeline=function(){var e=new Nn(this);this.set("timeline",e)},t.prototype.setDOMSize=function(e,t){var n=this.get("el");fe&&(n.style.width=e+"px",n.style.height=t+"px")},t.prototype.changeSize=function(e,t){this.setDOMSize(e,t),this.set("width",e),this.set("height",t),this.onCanvasChange("changeSize")},t.prototype.getRenderer=function(){return this.get("renderer")},t.prototype.getCursor=function(){return this.get("cursor")},t.prototype.setCursor=function(e){this.set("cursor",e);var t=this.get("el");fe&&t&&(t.style.cursor=e)},t.prototype.getPointByEvent=function(e){if(this.get("supportCSSTransform")){if(Fn&&!p(e.layerX)&&e.layerX!==e.offsetX)return{x:e.layerX,y:e.layerY};if(!p(e.offsetX))return{x:e.offsetX,y:e.offsetY}}var t=this.getClientByEvent(e),n=t.x,r=t.y;return this.getPointByClient(n,r)},t.prototype.getClientByEvent=function(e){var t=e;return e.touches&&(t="touchend"===e.type?e.changedTouches[0]:e.touches[0]),{x:t.clientX,y:t.clientY}},t.prototype.getPointByClient=function(e,t){var n=this.get("el").getBoundingClientRect();return{x:e-n.left,y:t-n.top}},t.prototype.getClientByPoint=function(e,t){var n=this.get("el").getBoundingClientRect();return{x:e+n.left,y:t+n.top}},t.prototype.draw=function(){},t.prototype.removeDom=function(){var e=this.get("el");e.parentNode.removeChild(e)},t.prototype.clearEvents=function(){this.get("eventController").destroy()},t.prototype.isCanvas=function(){return!0},t.prototype.getParent=function(){return null},t.prototype.destroy=function(){var t=this.get("timeline");this.get("destroyed")||(this.clear(),t&&t.stop(),this.clearEvents(),this.removeDom(),e.prototype.destroy.call(this))},t}(Xe),Bn=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return he(t,e),t.prototype.isGroup=function(){return!0},t.prototype.isEntityGroup=function(){return!1},t.prototype.clone=function(){for(var t=e.prototype.clone.call(this),n=this.getChildren(),r=0;r<n.length;r++){var i=n[r];t.add(i.clone())}return t},t}(Xe),Un=function(e){function t(t){return e.call(this,t)||this}return he(t,e),t.prototype._isInBBox=function(e,t){var n=this.getBBox();return n.minX<=e&&n.maxX>=e&&n.minY<=t&&n.maxY>=t},t.prototype.afterAttrsChange=function(t){e.prototype.afterAttrsChange.call(this,t),this.clearCacheBBox()},t.prototype.getBBox=function(){var e=this.cfg.bbox;return e||(e=this.calculateBBox(),this.set("bbox",e)),e},t.prototype.getCanvasBBox=function(){var e=this.cfg.canvasBBox;return e||(e=this.calculateCanvasBBox(),this.set("canvasBBox",e)),e},t.prototype.applyMatrix=function(t){e.prototype.applyMatrix.call(this,t),this.set("canvasBBox",null)},t.prototype.calculateCanvasBBox=function(){var e=this.getBBox(),t=this.getTotalMatrix(),n=e.minX,r=e.minY,i=e.maxX,o=e.maxY;if(t){var a=Me(t,[e.minX,e.minY]),s=Me(t,[e.maxX,e.minY]),l=Me(t,[e.minX,e.maxY]),c=Me(t,[e.maxX,e.maxY]);n=Math.min(a[0],s[0],l[0],c[0]),i=Math.max(a[0],s[0],l[0],c[0]),r=Math.min(a[1],s[1],l[1],c[1]),o=Math.max(a[1],s[1],l[1],c[1])}var u=this.attrs;if(u.shadowColor){var h=u.shadowBlur,p=void 0===h?0:h,d=u.shadowOffsetX,f=void 0===d?0:d,m=u.shadowOffsetY,g=void 0===m?0:m,y=n-p+f,v=i+p+f,_=r-p+g,b=o+p+g;n=Math.min(n,y),i=Math.max(i,v),r=Math.min(r,_),o=Math.max(o,b)}return{x:n,y:r,minX:n,minY:r,maxX:i,maxY:o,width:i-n,height:o-r}},t.prototype.clearCacheBBox=function(){this.set("bbox",null),this.set("canvasBBox",null)},t.prototype.isClipShape=function(){return this.get("isClipShape")},t.prototype.isInShape=function(e,t){return!1},t.prototype.isOnlyHitBox=function(){return!1},t.prototype.isHit=function(e,t){var n=this.get("startArrowShape"),r=this.get("endArrowShape"),i=[e,t,1],o=(i=this.invertFromMatrix(i))[0],a=i[1],s=this._isInBBox(o,a);if(this.isOnlyHitBox())return s;if(s&&!this.isClipped(o,a)){if(this.isInShape(o,a))return!0;if(n&&n.isHit(o,a))return!0;if(r&&r.isHit(o,a))return!0}return!1},t}(Ye),jn=new Map;function Gn(e,t){jn.set(e,t)}function Yn(e){var t=e.attr();return{x:t.x,y:t.y,width:t.width,height:t.height}}function zn(e){var t=e.attr(),n=t.x,r=t.y,i=t.r;return{x:n-i,y:r-i,width:2*i,height:2*i}}function $n(e){return Math.min.apply(null,e)}function Wn(e){return Math.max.apply(null,e)}function Vn(e,t,n,r){var i=e-n,o=t-r;return Math.sqrt(i*i+o*o)}function Kn(e,t){return Math.abs(e-t)<.001}function qn(e,t){var n=$n(e),r=$n(t);return{x:n,y:r,width:Wn(e)-n,height:Wn(t)-r}}function Xn(e){return(e+2*Math.PI)%(2*Math.PI)}var Zn={box:function(e,t,n,r){return qn([e,n],[t,r])},length:function(e,t,n,r){return Vn(e,t,n,r)},pointAt:function(e,t,n,r,i){return{x:(1-i)*e+i*n,y:(1-i)*t+i*r}},pointDistance:function(e,t,n,r,i,o){var a=(n-e)*(i-e)+(r-t)*(o-t);return a<0?Vn(e,t,i,o):a>(n-e)*(n-e)+(r-t)*(r-t)?Vn(n,r,i,o):this.pointToLine(e,t,n,r,i,o)},pointToLine:function(e,t,n,r,i,o){var a=[n-e,r-t];if(function(e,t){return e[0]===t[0]&&e[1]===t[1]}(a,[0,0]))return Math.sqrt((i-e)*(i-e)+(o-t)*(o-t));var s=[-a[1],a[0]];!function(e,t){var n=t[0],r=t[1],i=n*n+r*r;i>0&&(i=1/Math.sqrt(i)),e[0]=t[0]*i,e[1]=t[1]*i}(s,s);var l=[i-e,o-t];return Math.abs(function(e,t){return e[0]*t[0]+e[1]*t[1]}(l,s))},tangentAngle:function(e,t,n,r){return Math.atan2(r-t,n-e)}};function Qn(e,t,n,r,i,o){var a,s=1/0,l=[n,r],c=20;o&&o>200&&(c=o/10);for(var u=1/c,h=u/10,p=0;p<=c;p++){var d=p*u,f=[i.apply(null,e.concat([d])),i.apply(null,t.concat([d]))];(v=Vn(l[0],l[1],f[0],f[1]))<s&&(a=d,s=v)}if(0===a)return{x:e[0],y:t[0]};if(1===a){var m=e.length;return{x:e[m-1],y:t[m-1]}}for(s=1/0,p=0;p<32&&!(h<1e-4);p++){var g=a-h,y=a+h,v=(f=[i.apply(null,e.concat([g])),i.apply(null,t.concat([g]))],Vn(l[0],l[1],f[0],f[1]));if(g>=0&&v<s)a=g,s=v;else{var _=[i.apply(null,e.concat([y])),i.apply(null,t.concat([y]))],b=Vn(l[0],l[1],_[0],_[1]);y<=1&&b<s?(a=y,s=b):h*=.5}}return{x:i.apply(null,e.concat([a])),y:i.apply(null,t.concat([a]))}}function Jn(e,t,n,r){var i=1-r;return i*i*e+2*r*i*t+r*r*n}function er(e,t,n){var r=e+n-2*t;if(Kn(r,0))return[.5];var i=(e-t)/r;return i<=1&&i>=0?[i]:[]}function tr(e,t,n,r){return 2*(1-r)*(t-e)+2*r*(n-t)}function nr(e,t,n,r,i,o,a){var s=Jn(e,n,i,a),l=Jn(t,r,o,a),c=Zn.pointAt(e,t,n,r,a),u=Zn.pointAt(n,r,i,o,a);return[[e,t,c.x,c.y,s,l],[s,l,u.x,u.y,i,o]]}function rr(e,t,n,r,i,o,a){if(0===a)return(Vn(e,t,n,r)+Vn(n,r,i,o)+Vn(e,t,i,o))/2;var s=nr(e,t,n,r,i,o,.5),l=s[0],c=s[1];return l.push(a-1),c.push(a-1),rr.apply(null,l)+rr.apply(null,c)}var ir={box:function(e,t,n,r,i,o){var a=er(e,n,i)[0],s=er(t,r,o)[0],l=[e,i],c=[t,o];return void 0!==a&&l.push(Jn(e,n,i,a)),void 0!==s&&c.push(Jn(t,r,o,s)),qn(l,c)},length:function(e,t,n,r,i,o){return rr(e,t,n,r,i,o,3)},nearestPoint:function(e,t,n,r,i,o,a,s){return Qn([e,n,i],[t,r,o],a,s,Jn)},pointDistance:function(e,t,n,r,i,o,a,s){var l=this.nearestPoint(e,t,n,r,i,o,a,s);return Vn(l.x,l.y,a,s)},interpolationAt:Jn,pointAt:function(e,t,n,r,i,o,a){return{x:Jn(e,n,i,a),y:Jn(t,r,o,a)}},divide:function(e,t,n,r,i,o,a){return nr(e,t,n,r,i,o,a)},tangentAngle:function(e,t,n,r,i,o,a){var s=tr(e,n,i,a),l=tr(t,r,o,a);return Xn(Math.atan2(l,s))}};function or(e,t,n,r,i){var o=1-i;return o*o*o*e+3*t*i*o*o+3*n*i*i*o+r*i*i*i}function ar(e,t,n,r,i){var o=1-i;return 3*(o*o*(t-e)+2*o*i*(n-t)+i*i*(r-n))}function sr(e,t,n,r){var i,o,a,s=-3*e+9*t-9*n+3*r,l=6*e-12*t+6*n,c=3*t-3*e,u=[];if(Kn(s,0))Kn(l,0)||(i=-c/l)>=0&&i<=1&&u.push(i);else{var h=l*l-4*s*c;Kn(h,0)?u.push(-l/(2*s)):h>0&&(o=(-l-(a=Math.sqrt(h)))/(2*s),(i=(-l+a)/(2*s))>=0&&i<=1&&u.push(i),o>=0&&o<=1&&u.push(o))}return u}function lr(e,t,n,r,i,o,a,s,l){var c=or(e,n,i,a,l),u=or(t,r,o,s,l),h=Zn.pointAt(e,t,n,r,l),p=Zn.pointAt(n,r,i,o,l),d=Zn.pointAt(i,o,a,s,l),f=Zn.pointAt(h.x,h.y,p.x,p.y,l),m=Zn.pointAt(p.x,p.y,d.x,d.y,l);return[[e,t,h.x,h.y,f.x,f.y,c,u],[c,u,m.x,m.y,d.x,d.y,a,s]]}function cr(e,t,n,r,i,o,a,s,l){if(0===l)return function(e,t){for(var n=0,r=e.length,i=0;i<r;i++)n+=Vn(e[i],t[i],e[(i+1)%r],t[(i+1)%r]);return n/2}([e,n,i,a],[t,r,o,s]);var c=lr(e,t,n,r,i,o,a,s,.5),u=c[0],h=c[1];return u.push(l-1),h.push(l-1),cr.apply(null,u)+cr.apply(null,h)}var ur={extrema:sr,box:function(e,t,n,r,i,o,a,s){for(var l=[e,a],c=[t,s],u=sr(e,n,i,a),h=sr(t,r,o,s),p=0;p<u.length;p++)l.push(or(e,n,i,a,u[p]));for(p=0;p<h.length;p++)c.push(or(t,r,o,s,h[p]));return qn(l,c)},length:function(e,t,n,r,i,o,a,s){return cr(e,t,n,r,i,o,a,s,3)},nearestPoint:function(e,t,n,r,i,o,a,s,l,c,u){return Qn([e,n,i,a],[t,r,o,s],l,c,or,u)},pointDistance:function(e,t,n,r,i,o,a,s,l,c,u){var h=this.nearestPoint(e,t,n,r,i,o,a,s,l,c,u);return Vn(h.x,h.y,l,c)},interpolationAt:or,pointAt:function(e,t,n,r,i,o,a,s,l){return{x:or(e,n,i,a,l),y:or(t,r,o,s,l)}},divide:function(e,t,n,r,i,o,a,s,l){return lr(e,t,n,r,i,o,a,s,l)},tangentAngle:function(e,t,n,r,i,o,a,s,l){var c=ar(e,n,i,a,l),u=ar(t,r,o,s,l);return Xn(Math.atan2(u,c))}};function hr(e,t,n,r,i,o){return n*Math.cos(i)*Math.cos(o)-r*Math.sin(i)*Math.sin(o)+e}function pr(e,t,n,r,i,o){return n*Math.sin(i)*Math.cos(o)+r*Math.cos(i)*Math.sin(o)+t}var dr=function(e,t,n,r,i,o,a){for(var s=function(e,t,n){return Math.atan(-t/e*Math.tan(n))}(n,r,i),l=1/0,c=-1/0,u=[o,a],h=2*-Math.PI;h<=2*Math.PI;h+=Math.PI){var p=s+h;o<a?o<p&&p<a&&u.push(p):a<p&&p<o&&u.push(p)}for(h=0;h<u.length;h++){var d=hr(e,0,n,r,i,u[h]);d<l&&(l=d),d>c&&(c=d)}var f=function(e,t,n){return Math.atan(t/(e*Math.tan(n)))}(n,r,i),m=1/0,g=-1/0,y=[o,a];for(h=2*-Math.PI;h<=2*Math.PI;h+=Math.PI){var v=f+h;o<a?o<v&&v<a&&y.push(v):a<v&&v<o&&y.push(v)}for(h=0;h<y.length;h++){var _=pr(0,t,n,r,i,y[h]);_<m&&(m=_),_>g&&(g=_)}return{x:l,y:m,width:c-l,height:g-m}};function fr(e,t){return e&&t?{minX:Math.min(e.minX,t.minX),minY:Math.min(e.minY,t.minY),maxX:Math.max(e.maxX,t.maxX),maxY:Math.max(e.maxY,t.maxY)}:e||t}function mr(e,t){var n=e.get("startArrowShape"),r=e.get("endArrowShape");return n&&(t=fr(t,n.getCanvasBBox())),r&&(t=fr(t,r.getCanvasBBox())),t}var gr=null;function yr(){if(!gr){var e=document.createElement("canvas");e.width=1,e.height=1,gr=e.getContext("2d")}return gr}function vr(e,t,n){var r=1;if(_(e)&&(r=e.split("\n").length),r>1){var i=function(e,t){return t?t-e:.14*e}(t,n);return t*r+i*(r-1)}return t}function _r(e){var t=e.fontSize,n=e.fontFamily,r=e.fontWeight;return[e.fontStyle,e.fontVariant,r,t+"px",n].join(" ").trim()}var br=/[MLHVQTCSAZ]([^MLHVQTCSAZ]*)/gi,Er=/[^\s\,]+/gi,Tr="\t\n\v\f\r \u2028\u2029",xr=new RegExp("([a-z])["+Tr+",]*((-?\\d*\\.?\\d*(?:e[\\-+]?\\d+)?["+Tr+"]*,?["+Tr+"]*)+)","ig"),Sr=new RegExp("(-?\\d*\\.?\\d*(?:e[\\-+]?\\d+)?)["+Tr+"]*,?["+Tr+"]*","ig"),Cr=/[a-z]/;function Ar(e,t){return[t[0]+(t[0]-e[0]),t[1]+(t[1]-e[1])]}function Rr(e){var t=function(e){if(!e)return null;if(d(e))return e;var t={a:7,c:6,o:2,h:1,l:2,m:2,r:4,q:4,s:4,t:2,v:1,u:3,z:0},n=[];return String(e).replace(xr,(function(e,r,i){var o=[],a=r.toLowerCase();if(i.replace(Sr,(function(e,t){t&&o.push(+t)})),"m"===a&&o.length>2&&(n.push([r].concat(o.splice(0,2))),a="l",r="m"===r?"l":"L"),"o"===a&&1===o.length&&n.push([r,o[0]]),"r"===a)n.push([r].concat(o));else for(;o.length>=t[a]&&(n.push([r].concat(o.splice(0,t[a]))),t[a]););return""})),n}(e);if(!t||!t.length)return[["M",0,0]];for(var n=!1,r=0;r<t.length;r++){var i=t[r][0];if(Cr.test(i)||["V","H","T","S"].indexOf(i)>=0){n=!0;break}}if(!n)return t;var o=[],a=0,s=0,l=0,c=0,u=0,h=t[0];"M"!==h[0]&&"m"!==h[0]||(l=a=+h[1],c=s=+h[2],u++,o[0]=["M",a,s]),r=u;for(var p=t.length;r<p;r++){var f=t[r],m=o[r-1],g=[],y=(i=f[0]).toUpperCase();if(i!==y)switch(g[0]=y,y){case"A":g[1]=f[1],g[2]=f[2],g[3]=f[3],g[4]=f[4],g[5]=f[5],g[6]=+f[6]+a,g[7]=+f[7]+s;break;case"V":g[1]=+f[1]+s;break;case"H":g[1]=+f[1]+a;break;case"M":l=+f[1]+a,c=+f[2]+s,g[1]=l,g[2]=c;break;default:for(var v=1,_=f.length;v<_;v++)g[v]=+f[v]+(v%2?a:s)}else g=t[r];switch(y){case"Z":a=+l,s=+c;break;case"H":g=["L",a=g[1],s];break;case"V":g=["L",a,s=g[1]];break;case"T":a=g[1],s=g[2];var b=Ar([m[1],m[2]],[m[3],m[4]]);g=["Q",b[0],b[1],a,s];break;case"S":a=g[g.length-2],s=g[g.length-1];var E=m.length,T=Ar([m[E-4],m[E-3]],[m[E-2],m[E-1]]);g=["C",T[0],T[1],g[1],g[2],a,s];break;case"M":l=g[g.length-2],c=g[g.length-1];break;default:a=g[g.length-2],s=g[g.length-1]}o.push(g)}return o}function wr(e){return Math.sqrt(e[0]*e[0]+e[1]*e[1])}function Lr(e,t){return wr(e)*wr(t)?(e[0]*t[0]+e[1]*t[1])/(wr(e)*wr(t)):1}function Or(e,t){return(e[0]*t[1]<e[1]*t[0]?-1:1)*Math.acos(Lr(e,t))}function Nr(e,t){return e[0]===t[0]&&e[1]===t[1]}function Ir(e,t){var n=t[1],r=t[2],i=E(x(t[3]),2*Math.PI),o=t[4],a=t[5],s=e[0],l=e[1],c=t[6],u=t[7],h=Math.cos(i)*(s-c)/2+Math.sin(i)*(l-u)/2,p=-1*Math.sin(i)*(s-c)/2+Math.cos(i)*(l-u)/2,d=h*h/(n*n)+p*p/(r*r);d>1&&(n*=Math.sqrt(d),r*=Math.sqrt(d));var f=n*n*(p*p)+r*r*(h*h),m=f?Math.sqrt((n*n*(r*r)-f)/f):1;o===a&&(m*=-1),isNaN(m)&&(m=0);var g=r?m*n*p/r:0,y=n?m*-r*h/n:0,v=(s+c)/2+Math.cos(i)*g-Math.sin(i)*y,_=(l+u)/2+Math.sin(i)*g+Math.cos(i)*y,b=[(h-g)/n,(p-y)/r],T=[(-1*h-g)/n,(-1*p-y)/r],S=Or([1,0],b),C=Or(b,T);return Lr(b,T)<=-1&&(C=Math.PI),Lr(b,T)>=1&&(C=0),0===a&&C>0&&(C-=2*Math.PI),1===a&&C<0&&(C+=2*Math.PI),{cx:v,cy:_,rx:Nr(e,[c,u])?0:n,ry:Nr(e,[c,u])?0:r,startAngle:S,endAngle:S+C,xRotation:i,arcFlag:o,sweepFlag:a}}function kr(e,t){return[t[0]+(t[0]-e[0]),t[1]+(t[1]-e[1])]}function Dr(e){e=function(e){var t=e||[];return d(t)?t:_(t)?(m(t=t.match(br),(function(e,n){if((e=e.match(Er))[0].length>1){var r=e[0].charAt(0);e.splice(1,0,e[0].substr(1)),e[0]=r}m(e,(function(t,n){isNaN(t)||(e[n]=+t)})),t[n]=e})),t):void 0}(e);for(var t=[],n=null,r=null,i=null,o=0,a=e.length,s=0;s<a;s++){var l=e[s];r=e[s+1];var c=l[0],u={command:c,prePoint:n,params:l,startTangent:null,endTangent:null};switch(c){case"M":i=[l[1],l[2]],o=s;break;case"A":var h=Ir(n,l);u.arcParams=h}if("Z"===c)n=i,r=e[o+1];else{var p=l.length;n=[l[p-2],l[p-1]]}r&&"Z"===r[0]&&(r=e[o],t[o]&&(t[o].prePoint=n)),u.currentPoint=n,t[o]&&Nr(n,t[o].currentPoint)&&(t[o].prePoint=u.prePoint);var f=r?[r[r.length-2],r[r.length-1]]:null;u.nextPoint=f;var g=u.prePoint;if(["L","H","V"].includes(c))u.startTangent=[g[0]-n[0],g[1]-n[1]],u.endTangent=[n[0]-g[0],n[1]-g[1]];else if("Q"===c){var y=[l[1],l[2]];u.startTangent=[g[0]-y[0],g[1]-y[1]],u.endTangent=[n[0]-y[0],n[1]-y[1]]}else if("T"===c)y=kr((E=t[s-1]).currentPoint,g),"Q"===E.command?(u.command="Q",u.startTangent=[g[0]-y[0],g[1]-y[1]],u.endTangent=[n[0]-y[0],n[1]-y[1]]):(u.command="TL",u.startTangent=[g[0]-n[0],g[1]-n[1]],u.endTangent=[n[0]-g[0],n[1]-g[1]]);else if("C"===c){var v=[l[1],l[2]],b=[l[3],l[4]];u.startTangent=[g[0]-v[0],g[1]-v[1]],u.endTangent=[n[0]-b[0],n[1]-b[1]],0===u.startTangent[0]&&0===u.startTangent[1]&&(u.startTangent=[v[0]-b[0],v[1]-b[1]]),0===u.endTangent[0]&&0===u.endTangent[1]&&(u.endTangent=[b[0]-v[0],b[1]-v[1]])}else if("S"===c){var E;v=kr((E=t[s-1]).currentPoint,g),b=[l[1],l[2]],"C"===E.command?(u.command="C",u.startTangent=[g[0]-v[0],g[1]-v[1]],u.endTangent=[n[0]-b[0],n[1]-b[1]]):(u.command="SQ",u.startTangent=[g[0]-b[0],g[1]-b[1]],u.endTangent=[n[0]-b[0],n[1]-b[1]])}else if("A"===c){var T=.001,x=u.arcParams||{},S=x.cx,C=void 0===S?0:S,A=x.cy,R=void 0===A?0:A,w=x.rx,L=void 0===w?0:w,O=x.ry,N=void 0===O?0:O,I=x.sweepFlag,k=void 0===I?0:I,D=x.startAngle,P=void 0===D?0:D,M=x.endAngle,F=void 0===M?0:M;0===k&&(T*=-1);var H=L*Math.cos(P-T)+C,B=N*Math.sin(P-T)+R;u.startTangent=[H-i[0],B-i[1]];var U=L*Math.cos(P+F+T)+C,j=N*Math.sin(P+F-T)+R;u.endTangent=[g[0]-U,g[1]-j]}t.push(u)}return t}function Pr(e,t){var n,r,i=e.prePoint,o=e.currentPoint,a=e.nextPoint,s=Math.pow(o[0]-i[0],2)+Math.pow(o[1]-i[1],2),l=Math.pow(o[0]-a[0],2)+Math.pow(o[1]-a[1],2),c=Math.pow(i[0]-a[0],2)+Math.pow(i[1]-a[1],2),u=Math.acos((s+l-c)/(2*Math.sqrt(s)*Math.sqrt(l)));if(!u||0===Math.sin(u)||(n=u,0,void 0===r&&(r=1e-5),Math.abs(n-0)<r))return{xExtra:0,yExtra:0};var h=Math.abs(Math.atan2(a[1]-o[1],a[0]-o[0])),p=Math.abs(Math.atan2(a[0]-o[0],a[1]-o[1]));return h=h>Math.PI/2?Math.PI-h:h,p=p>Math.PI/2?Math.PI-p:p,{xExtra:Math.cos(u/2-h)*(t/2*(1/Math.sin(u/2)))-t/2||0,yExtra:Math.cos(p-u/2)*(t/2*(1/Math.sin(u/2)))-t/2||0}}function Mr(e,t,n,r){var i=e-n,o=t-r;return Math.sqrt(i*i+o*o)}function Fr(e,t,n,r,i,o){return i>=e&&i<=e+n&&o>=t&&o<=t+r}function Hr(e,t){return!(t.minX>e.maxX||t.maxX<e.minX||t.minY>e.maxY||t.maxY<e.minY)}function Br(e,t){return e[0]===t[0]&&e[1]===t[1]}Gn("rect",Yn),Gn("image",Yn),Gn("circle",zn),Gn("marker",zn),Gn("polyline",(function(e){for(var t=e.attr().points,n=[],r=[],i=0;i<t.length;i++){var o=t[i];n.push(o[0]),r.push(o[1])}var a=qn(n,r),s=a.x,l=a.y,c={minX:s,minY:l,maxX:s+a.width,maxY:l+a.height};return{x:(c=mr(e,c)).minX,y:c.minY,width:c.maxX-c.minX,height:c.maxY-c.minY}})),Gn("polygon",(function(e){for(var t=e.attr().points,n=[],r=[],i=0;i<t.length;i++){var o=t[i];n.push(o[0]),r.push(o[1])}return qn(n,r)})),Gn("text",(function(e){var t=e.attr(),n=t.x,r=t.y,i=t.text,o=t.fontSize,a=t.lineHeight,s=t.font;s||(s=_r(t));var l,c=function(e,t){var n=yr(),r=0;return p(e)||""===e||(n.save(),n.font=t,_(e)&&e.includes("\n")?m(e.split("\n"),(function(e){var t=n.measureText(e).width;r<t&&(r=t)})):r=n.measureText(e).width,n.restore()),r}(i,s);if(c){var u=t.textAlign,h=t.textBaseline,d=vr(i,o,a),f={x:n,y:r-d};u&&("end"===u||"right"===u?f.x-=c:"center"===u&&(f.x-=c/2)),h&&("top"===h?f.y+=d:"middle"===h&&(f.y+=d/2)),l={x:f.x,y:f.y,width:c,height:d}}else l={x:n,y:r,width:0,height:0};return l})),Gn("path",(function(e){var t=e.attr(),n=t.path,r=t.stroke?t.lineWidth:0,i=function(e,t){for(var n=[],r=[],i=[],o=0;o<e.length;o++){var a=(m=e[o]).currentPoint,s=m.params,l=m.prePoint,c=void 0;switch(m.command){case"Q":c=ir.box(l[0],l[1],s[1],s[2],s[3],s[4]);break;case"C":c=ur.box(l[0],l[1],s[1],s[2],s[3],s[4],s[5],s[6]);break;case"A":var u=m.arcParams;c=dr(u.cx,u.cy,u.rx,u.ry,u.xRotation,u.startAngle,u.endAngle);break;default:n.push(a[0]),r.push(a[1])}c&&(m.box=c,n.push(c.x,c.x+c.width),r.push(c.y,c.y+c.height)),t&&("L"===m.command||"M"===m.command)&&m.prePoint&&m.nextPoint&&i.push(m)}n=n.filter((function(e){return!Number.isNaN(e)&&e!==1/0&&e!==-1/0})),r=r.filter((function(e){return!Number.isNaN(e)&&e!==1/0&&e!==-1/0}));var h=v(n),p=v(r),d=y(n),f=y(r);if(0===i.length)return{x:h,y:p,width:d-h,height:f-p};for(o=0;o<i.length;o++){var m;(a=(m=i[o]).currentPoint)[0]===h?h-=Pr(m,t).xExtra:a[0]===d&&(d+=Pr(m,t).xExtra),a[1]===p?p-=Pr(m,t).yExtra:a[1]===f&&(f+=Pr(m,t).yExtra)}return{x:h,y:p,width:d-h,height:f-p}}(e.get("segments")||Dr(n),r),o=i.x,a=i.y,s={minX:o,minY:a,maxX:o+i.width,maxY:a+i.height};return{x:(s=mr(e,s)).minX,y:s.minY,width:s.maxX-s.minX,height:s.maxY-s.minY}})),Gn("line",(function(e){var t=e.attr(),n=t.x1,r=t.y1,i=t.x2,o=t.y2,a={minX:Math.min(n,i),maxX:Math.max(n,i),minY:Math.min(r,o),maxY:Math.max(r,o)};return{x:(a=mr(e,a)).minX,y:a.minY,width:a.maxX-a.minX,height:a.maxY-a.minY}})),Gn("ellipse",(function(e){var t=e.attr(),n=t.x,r=t.y,i=t.rx,o=t.ry;return{x:n-i,y:r-o,width:2*i,height:2*o}}));var Ur=/^l\s*\(\s*([\d.]+)\s*\)\s*(.*)/i,jr=/^r\s*\(\s*([\d.]+)\s*,\s*([\d.]+)\s*,\s*([\d.]+)\s*\)\s*(.*)/i,Gr=/^p\s*\(\s*([axyn])\s*\)\s*(.*)/i,Yr=/[\d.]+:(#[^\s]+|[^\)]+\))/gi;function zr(e,t){m(e.match(Yr),(function(e){var n=e.split(":");t.addColorStop(n[0],n[1])}))}function $r(e,t,n){var r=t.getBBox();if(isNaN(r.x)||isNaN(r.y)||isNaN(r.width)||isNaN(r.height))return n;if(_(n)){if("("===n[1]||"("===n[2]){if("l"===n[0])return function(e,t,n){var r,i,o=Ur.exec(n),a=parseFloat(o[1])%360*(Math.PI/180),s=o[2],l=t.getBBox();a>=0&&a<.5*Math.PI?(r={x:l.minX,y:l.minY},i={x:l.maxX,y:l.maxY}):.5*Math.PI<=a&&a<Math.PI?(r={x:l.maxX,y:l.minY},i={x:l.minX,y:l.maxY}):Math.PI<=a&&a<1.5*Math.PI?(r={x:l.maxX,y:l.maxY},i={x:l.minX,y:l.minY}):(r={x:l.minX,y:l.maxY},i={x:l.maxX,y:l.minY});var c=Math.tan(a),u=c*c,h=(i.x-r.x+c*(i.y-r.y))/(u+1)+r.x,p=c*(i.x-r.x+c*(i.y-r.y))/(u+1)+r.y,d=e.createLinearGradient(r.x,r.y,h,p);return zr(s,d),d}(e,t,n);if("r"===n[0])return function(e,t,n){var r=jr.exec(n),i=parseFloat(r[1]),o=parseFloat(r[2]),a=parseFloat(r[3]),s=r[4];if(0===a){var l=s.match(Yr);return l[l.length-1].split(":")[1]}var c=t.getBBox(),u=c.maxX-c.minX,h=c.maxY-c.minY,p=Math.sqrt(u*u+h*h)/2,d=e.createRadialGradient(c.minX+u*i,c.minY+h*o,0,c.minX+u/2,c.minY+h/2,a*p);return zr(s,d),d}(e,t,n);if("p"===n[0])return function(e,t,n){if(t.get("patternSource")&&t.get("patternSource")===n)return t.get("pattern");var r,i,o=Gr.exec(n),a=o[1],s=o[2];function l(){r=e.createPattern(i,a),t.set("pattern",r),t.set("patternSource",n)}switch(a){case"a":a="repeat";break;case"x":a="repeat-x";break;case"y":a="repeat-y";break;default:a="no-repeat"}return i=new Image,s.match(/^data:/i)||(i.crossOrigin="Anonymous"),i.src=s,i.complete?l():(i.onload=l,i.src=i.src),r}(e,t,n)}return n}return n instanceof CanvasPattern?n:void 0}function Wr(e){return Math.sqrt(e[0]*e[0]+e[1]*e[1])}function Vr(e,t){return Wr(e)*Wr(t)?(e[0]*t[0]+e[1]*t[1])/(Wr(e)*Wr(t)):1}function Kr(e,t){return(e[0]*t[1]<e[1]*t[0]?-1:1)*Math.acos(Vr(e,t))}function qr(e,t){var n=t[1],r=t[2],i=E(x(t[3]),2*Math.PI),o=t[4],a=t[5],s=e[0],l=e[1],c=t[6],u=t[7],h=Math.cos(i)*(s-c)/2+Math.sin(i)*(l-u)/2,p=-1*Math.sin(i)*(s-c)/2+Math.cos(i)*(l-u)/2,d=h*h/(n*n)+p*p/(r*r);d>1&&(n*=Math.sqrt(d),r*=Math.sqrt(d));var f=n*n*(p*p)+r*r*(h*h),m=f?Math.sqrt((n*n*(r*r)-f)/f):1;o===a&&(m*=-1),isNaN(m)&&(m=0);var g=r?m*n*p/r:0,y=n?m*-r*h/n:0,v=(s+c)/2+Math.cos(i)*g-Math.sin(i)*y,_=(l+u)/2+Math.sin(i)*g+Math.cos(i)*y,b=[(h-g)/n,(p-y)/r],T=[(-1*h-g)/n,(-1*p-y)/r],S=Kr([1,0],b),C=Kr(b,T);return Vr(b,T)<=-1&&(C=Math.PI),Vr(b,T)>=1&&(C=0),0===a&&C>0&&(C-=2*Math.PI),1===a&&C<0&&(C+=2*Math.PI),{cx:v,cy:_,rx:Br(e,[c,u])?0:n,ry:Br(e,[c,u])?0:r,startAngle:S,endAngle:S+C,xRotation:i,arcFlag:o,sweepFlag:a}}var Xr=Math.sin,Zr=Math.cos,Qr=Math.atan2,Jr=Math.PI;function ei(e,t,n,r,i,o,a){var s=t.stroke,l=t.lineWidth,c=Qr(r-o,n-i),u=new Hi({type:"path",canvas:e.get("canvas"),isArrowShape:!0,attrs:{path:"M"+10*Zr(Jr/6)+","+10*Xr(Jr/6)+" L0,0 L"+10*Zr(Jr/6)+",-"+10*Xr(Jr/6),stroke:s,lineWidth:l}});u.translate(i,o),u.rotateAtPoint(i,o,c),e.set(a?"startArrowShape":"endArrowShape",u)}function ti(e,t,n,r,i,o,a){var l=t.startArrow,c=t.endArrow,u=t.stroke,h=t.lineWidth,p=a?l:c,d=p.d,f=p.fill,m=p.stroke,g=p.lineWidth,y=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n}(p,["d","fill","stroke","lineWidth"]),v=Qr(r-o,n-i);d&&(i-=Zr(v)*d,o-=Xr(v)*d);var _=new Hi({type:"path",canvas:e.get("canvas"),isArrowShape:!0,attrs:s(s({},y),{stroke:m||u,lineWidth:g||h,fill:f})});_.translate(i,o),_.rotateAtPoint(i,o,v),e.set(a?"startArrowShape":"endArrowShape",_)}function ni(e,t,n,r,i){var o=Qr(r-t,n-e);return{dx:Zr(o)*i,dy:Xr(o)*i}}function ri(e,t,n,r,i,o){"object"==typeof t.startArrow?ti(e,t,n,r,i,o,!0):t.startArrow?ei(e,t,n,r,i,o,!0):e.set("startArrowShape",null)}function ii(e,t,n,r,i,o){"object"==typeof t.endArrow?ti(e,t,n,r,i,o,!1):t.endArrow?ei(e,t,n,r,i,o,!1):e.set("startArrowShape",null)}var oi={fill:"fillStyle",stroke:"strokeStyle",opacity:"globalAlpha"};function ai(e,t){var n=t.attr();for(var r in n){var i=n[r],o=oi[r]?oi[r]:r;"matrix"===o&&i?e.transform(i[0],i[1],i[3],i[4],i[6],i[7]):"lineDash"===o&&e.setLineDash?d(i)&&e.setLineDash(i):("strokeStyle"===o||"fillStyle"===o?i=$r(e,t,i):"globalAlpha"===o&&(i*=e.globalAlpha),e[o]=i)}}function si(e,t,n){for(var r=0;r<t.length;r++){var i=t[r];i.cfg.visible?i.draw(e,n):i.skipDraw()}}function li(e,t,n){var r=e.get("refreshElements");m(r,(function(t){if(t!==e)for(var n=t.cfg.parent;n&&n!==e&&!n.cfg.refresh;)n.cfg.refresh=!0,n=n.cfg.parent})),r[0]===e?hi(t):ci(t,n)}function ci(e,t){for(var n=0;n<e.length;n++){var r=e[n];if(r.cfg.visible)if(r.cfg.hasChanged)r.cfg.refresh=!0,r.isGroup()&&hi(r.cfg.children);else if(r.cfg.refresh)r.isGroup()&&ci(r.cfg.children,t);else{var i=pi(r,t);r.cfg.refresh=i,i&&r.isGroup()&&ci(r.cfg.children,t)}}}function ui(e){for(var t=0;t<e.length;t++){var n=e[t];n.cfg.hasChanged=!1,n.isGroup()&&!n.destroyed&&ui(n.cfg.children)}}function hi(e,t){for(var n=0;n<e.length;n++){var r=e[n];r.cfg.refresh=!0,r.isGroup()&&hi(r.get("children"))}}function pi(e,t){var n=e.cfg.cacheCanvasBBox;return e.cfg.isInView&&n&&Hr(n,t)}function di(e,t,n,r){var i=n.path,o=n.startArrow,a=n.endArrow;if(i){var s=[0,0],l=[0,0],c={dx:0,dy:0};t.beginPath();for(var u=0;u<i.length;u++){var h=i[u],p=h[0];if(0===u&&o&&o.d)c=ni((d=e.getStartTangent())[0][0],d[0][1],d[1][0],d[1][1],o.d);else if(u===i.length-2&&"Z"===i[u+1][0]&&a&&a.d)"Z"===i[u+1][0]&&(c=ni((d=e.getEndTangent())[0][0],d[0][1],d[1][0],d[1][1],a.d));else if(u===i.length-1&&a&&a.d){var d;"Z"!==i[0]&&(c=ni((d=e.getEndTangent())[0][0],d[0][1],d[1][0],d[1][1],a.d))}var f=c.dx,m=c.dy;switch(p){case"M":t.moveTo(h[1]-f,h[2]-m),l=[h[1],h[2]];break;case"L":t.lineTo(h[1]-f,h[2]-m);break;case"Q":t.quadraticCurveTo(h[1],h[2],h[3]-f,h[4]-m);break;case"C":t.bezierCurveTo(h[1],h[2],h[3],h[4],h[5]-f,h[6]-m);break;case"A":var g=void 0;r?(g=r[u])||(g=qr(s,h),r[u]=g):g=qr(s,h);var y=g.cx,v=g.cy,_=g.rx,b=g.ry,E=g.startAngle,T=g.endAngle,x=g.xRotation,S=g.sweepFlag;if(t.ellipse)t.ellipse(y,v,_,b,x,E,T,1-S);else{var C=_>b?_:b,A=_>b?1:_/b,R=_>b?b/_:1;t.translate(y,v),t.rotate(x),t.scale(A,R),t.arc(0,0,C,E,T,1-S),t.scale(1/A,1/R),t.rotate(-x),t.translate(-y,-v)}break;case"Z":t.closePath()}if("Z"===p)s=l;else{var w=h.length;s=[h[w-2],h[w-1]]}}}}function fi(e,t){var n=e.get("canvas");n&&("remove"===t&&(e._cacheCanvasBBox=e.get("cacheCanvasBBox")),e.get("hasChanged")||(e.set("hasChanged",!0),e.cfg.parent&&e.cfg.parent.get("hasChanged")||(n.refreshElement(e,t,n),n.get("autoDraw")&&n.draw())))}var mi=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.onCanvasChange=function(e){fi(this,e)},t.prototype.getShapeBase=function(){return i},t.prototype.getGroupBase=function(){return t},t.prototype._applyClip=function(e,t){t&&(e.save(),ai(e,t),t.createPath(e),e.restore(),e.clip(),t._afterDraw())},t.prototype.cacheCanvasBBox=function(){var e=this.cfg.children,t=[],n=[];m(e,(function(e){var r=e.cfg.cacheCanvasBBox;r&&e.cfg.isInView&&(t.push(r.minX,r.maxX),n.push(r.minY,r.maxY))}));var r=null;if(t.length){var i=v(t),o=y(t),a=v(n),s=y(n);r={minX:i,minY:a,x:i,y:a,maxX:o,maxY:s,width:o-i,height:s-a};var l=this.cfg.canvas;if(l){var c=l.getViewRange();this.set("isInView",Hr(r,c))}}else this.set("isInView",!1);this.set("cacheCanvasBBox",r)},t.prototype.draw=function(e,t){var n=this.cfg.children,r=!t||this.cfg.refresh;n.length&&r&&(e.save(),ai(e,this),this._applyClip(e,this.getClip()),si(e,n,t),e.restore(),this.cacheCanvasBBox()),this.cfg.refresh=null,this.set("hasChanged",!1)},t.prototype.skipDraw=function(){this.set("cacheCanvasBBox",null),this.set("hasChanged",!1)},t}(Bn),gi=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.getDefaultAttrs=function(){var t=e.prototype.getDefaultAttrs.call(this);return s(s({},t),{lineWidth:1,lineAppendWidth:0,strokeOpacity:1,fillOpacity:1})},t.prototype.getShapeBase=function(){return i},t.prototype.getGroupBase=function(){return mi},t.prototype.onCanvasChange=function(e){fi(this,e)},t.prototype.calculateBBox=function(){var e=this.get("type"),t=this.getHitLineWidth(),n=function(e){return jn.get(e)}(e),r=n(this),i=t/2,o=r.x-i,a=r.y-i,s=r.x+r.width+i,l=r.y+r.height+i;return{x:o,minX:o,y:a,minY:a,width:r.width+t,height:r.height+t,maxX:s,maxY:l}},t.prototype.isFill=function(){return!!this.attrs.fill||this.isClipShape()},t.prototype.isStroke=function(){return!!this.attrs.stroke},t.prototype._applyClip=function(e,t){t&&(e.save(),ai(e,t),t.createPath(e),e.restore(),e.clip(),t._afterDraw())},t.prototype.draw=function(e,t){var n=this.cfg.clipShape;if(t){if(!1===this.cfg.refresh)return void this.set("hasChanged",!1);if(!Hr(t,this.getCanvasBBox()))return this.set("hasChanged",!1),void(this.cfg.isInView&&this._afterDraw())}e.save(),ai(e,this),this._applyClip(e,n),this.drawPath(e),e.restore(),this._afterDraw()},t.prototype.getCanvasViewBox=function(){var e=this.cfg.canvas;return e?e.getViewRange():null},t.prototype.cacheCanvasBBox=function(){var e=this.getCanvasViewBox();if(e){var t=this.getCanvasBBox(),n=Hr(t,e);this.set("isInView",n),n?this.set("cacheCanvasBBox",t):this.set("cacheCanvasBBox",null)}},t.prototype._afterDraw=function(){this.cacheCanvasBBox(),this.set("hasChanged",!1),this.set("refresh",null)},t.prototype.skipDraw=function(){this.set("cacheCanvasBBox",null),this.set("isInView",null),this.set("hasChanged",!1)},t.prototype.drawPath=function(e){this.createPath(e),this.strokeAndFill(e),this.afterDrawPath(e)},t.prototype.fill=function(e){e.fill()},t.prototype.stroke=function(e){e.stroke()},t.prototype.strokeAndFill=function(e){var t=this.attrs,n=t.lineWidth,r=t.opacity,i=t.strokeOpacity,o=t.fillOpacity;this.isFill()&&(p(o)||1===o?this.fill(e):(e.globalAlpha=o,this.fill(e),e.globalAlpha=r)),this.isStroke()&&n>0&&(p(i)||1===i||(e.globalAlpha=i),this.stroke(e)),this.afterDrawPath(e)},t.prototype.createPath=function(e){},t.prototype.afterDrawPath=function(e){},t.prototype.isInShape=function(e,t){var n=this.isStroke(),r=this.isFill(),i=this.getHitLineWidth();return this.isInStrokeOrPath(e,t,n,r,i)},t.prototype.isInStrokeOrPath=function(e,t,n,r,i){return!1},t.prototype.getHitLineWidth=function(){if(!this.isStroke())return 0;var e=this.attrs;return e.lineWidth+e.lineAppendWidth},t}(Un),yi=gi,vi=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.getDefaultAttrs=function(){var t=e.prototype.getDefaultAttrs.call(this);return s(s({},t),{x:0,y:0,r:0})},t.prototype.isInStrokeOrPath=function(e,t,n,r,i){var o=this.attr(),a=o.x,s=o.y,l=o.r,c=i/2,u=Mr(a,s,e,t);return r&&n?u<=l+c:r?u<=l:!!n&&u>=l-c&&u<=l+c},t.prototype.createPath=function(e){var t=this.attr(),n=t.x,r=t.y,i=t.r;e.beginPath(),e.arc(n,r,i,0,2*Math.PI,!1),e.closePath()},t}(yi);function _i(e,t,n,r){return e/(n*n)+t/(r*r)}var bi=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.getDefaultAttrs=function(){var t=e.prototype.getDefaultAttrs.call(this);return s(s({},t),{x:0,y:0,rx:0,ry:0})},t.prototype.isInStrokeOrPath=function(e,t,n,r,i){var o=this.attr(),a=i/2,s=o.x,l=o.y,c=o.rx,u=o.ry,h=(e-s)*(e-s),p=(t-l)*(t-l);return r&&n?_i(h,p,c+a,u+a)<=1:r?_i(h,p,c,u)<=1:!!n&&_i(h,p,c-a,u-a)>=1&&_i(h,p,c+a,u+a)<=1},t.prototype.createPath=function(e){var t=this.attr(),n=t.x,r=t.y,i=t.rx,o=t.ry;if(e.beginPath(),e.ellipse)e.ellipse(n,r,i,o,0,0,2*Math.PI,!1);else{var a=i>o?i:o,s=i>o?1:i/o,l=i>o?o/i:1;e.save(),e.translate(n,r),e.scale(s,l),e.arc(0,0,a,0,2*Math.PI),e.restore(),e.closePath()}},t}(yi);function Ei(e){return e instanceof HTMLElement&&_(e.nodeName)&&"CANVAS"===e.nodeName.toUpperCase()}var Ti=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.getDefaultAttrs=function(){var t=e.prototype.getDefaultAttrs.call(this);return s(s({},t),{x:0,y:0,width:0,height:0})},t.prototype.initAttrs=function(e){this._setImage(e.img)},t.prototype.isStroke=function(){return!1},t.prototype.isOnlyHitBox=function(){return!0},t.prototype._afterLoading=function(){if(!0===this.get("toDraw")){var e=this.get("canvas");e?e.draw():this.createPath(this.get("context"))}},t.prototype._setImage=function(e){var t=this,n=this.attrs;if(_(e)){var r=new Image;r.onload=function(){if(t.destroyed)return!1;t.attr("img",r),t.set("loading",!1),t._afterLoading();var e=t.get("callback");e&&e.call(t)},r.crossOrigin="Anonymous",r.src=e,this.set("loading",!0)}else e instanceof Image?(n.width||(n.width=e.width),n.height||(n.height=e.height)):Ei(e)&&(n.width||(n.width=Number(e.getAttribute("width"))),n.height||(n.height,Number(e.getAttribute("height"))))},t.prototype.onAttrChange=function(t,n,r){e.prototype.onAttrChange.call(this,t,n,r),"img"===t&&this._setImage(n)},t.prototype.createPath=function(e){if(this.get("loading"))return this.set("toDraw",!0),void this.set("context",e);var t=this.attr(),n=t.x,r=t.y,i=t.width,o=t.height,a=t.sx,s=t.sy,l=t.swidth,c=t.sheight,u=t.img;(u instanceof Image||Ei(u))&&(p(a)||p(s)||p(l)||p(c)?e.drawImage(u,n,r,i,o):e.drawImage(u,a,s,l,c,n,r,i,o))},t}(yi);function xi(e,t,n,r,i,o,a){var s=Math.min(e,n),l=Math.max(e,n),c=Math.min(t,r),u=Math.max(t,r),h=i/2;return o>=s-h&&o<=l+h&&a>=c-h&&a<=u+h&&Zn.pointToLine(e,t,n,r,o,a)<=i/2}var Si=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.getDefaultAttrs=function(){var t=e.prototype.getDefaultAttrs.call(this);return s(s({},t),{x1:0,y1:0,x2:0,y2:0,startArrow:!1,endArrow:!1})},t.prototype.initAttrs=function(e){this.setArrow()},t.prototype.onAttrChange=function(t,n,r){e.prototype.onAttrChange.call(this,t,n,r),this.setArrow()},t.prototype.setArrow=function(){var e=this.attr(),t=e.x1,n=e.y1,r=e.x2,i=e.y2,o=e.startArrow,a=e.endArrow;o&&ri(this,e,r,i,t,n),a&&ii(this,e,t,n,r,i)},t.prototype.isInStrokeOrPath=function(e,t,n,r,i){if(!n||!i)return!1;var o=this.attr();return xi(o.x1,o.y1,o.x2,o.y2,i,e,t)},t.prototype.createPath=function(e){var t=this.attr(),n=t.x1,r=t.y1,i=t.x2,o=t.y2,a=t.startArrow,s=t.endArrow,l={dx:0,dy:0},c={dx:0,dy:0};a&&a.d&&(l=ni(n,r,i,o,t.startArrow.d)),s&&s.d&&(c=ni(n,r,i,o,t.endArrow.d)),e.beginPath(),e.moveTo(n+l.dx,r+l.dy),e.lineTo(i-c.dx,o-c.dy)},t.prototype.afterDrawPath=function(e){var t=this.get("startArrowShape"),n=this.get("endArrowShape");t&&t.draw(e),n&&n.draw(e)},t.prototype.getTotalLength=function(){var e=this.attr(),t=e.x1,n=e.y1,r=e.x2,i=e.y2;return Zn.length(t,n,r,i)},t.prototype.getPoint=function(e){var t=this.attr(),n=t.x1,r=t.y1,i=t.x2,o=t.y2;return Zn.pointAt(n,r,i,o,e)},t}(yi),Ci=Si,Ai={circle:function(e,t,n){return[["M",e-n,t],["A",n,n,0,1,0,e+n,t],["A",n,n,0,1,0,e-n,t]]},square:function(e,t,n){return[["M",e-n,t-n],["L",e+n,t-n],["L",e+n,t+n],["L",e-n,t+n],["Z"]]},diamond:function(e,t,n){return[["M",e-n,t],["L",e,t-n],["L",e+n,t],["L",e,t+n],["Z"]]},triangle:function(e,t,n){var r=n*Math.sin(1/3*Math.PI);return[["M",e-n,t+r],["L",e,t-r],["L",e+n,t+r],["Z"]]},"triangle-down":function(e,t,n){var r=n*Math.sin(1/3*Math.PI);return[["M",e-n,t-r],["L",e+n,t-r],["L",e,t+r],["Z"]]}},Ri=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.initAttrs=function(e){this._resetParamsCache()},t.prototype._resetParamsCache=function(){this.set("paramsCache",{})},t.prototype.onAttrChange=function(t,n,r){e.prototype.onAttrChange.call(this,t,n,r),-1!==["symbol","x","y","r","radius"].indexOf(t)&&this._resetParamsCache()},t.prototype.isOnlyHitBox=function(){return!0},t.prototype._getR=function(e){return p(e.r)?e.radius:e.r},t.prototype._getPath=function(){var e,n,r=this.attr(),i=r.x,o=r.y,a=r.symbol||"circle",s=this._getR(r);if(h(a))n=Rr(n=(e=a)(i,o,s));else{if(!(e=t.Symbols[a]))return console.warn(a+" marker is not supported."),null;n=e(i,o,s)}return n},t.prototype.createPath=function(e){di(this,e,{path:this._getPath()},this.get("paramsCache"))},t.Symbols=Ai,t}(yi),wi=Ri;function Li(e,t,n){var r=yr();return e.createPath(r),r.isPointInPath(t,n)}var Oi=1e-6;function Ni(e){return Math.abs(e)<Oi?0:e<0?-1:1}function Ii(e,t,n){return(n[0]-e[0])*(t[1]-e[1])==(t[0]-e[0])*(n[1]-e[1])&&Math.min(e[0],t[0])<=n[0]&&n[0]<=Math.max(e[0],t[0])&&Math.min(e[1],t[1])<=n[1]&&n[1]<=Math.max(e[1],t[1])}function ki(e,t,n){var r=!1,i=e.length;if(i<=2)return!1;for(var o=0;o<i;o++){var a=e[o],s=e[(o+1)%i];if(Ii(a,s,[t,n]))return!0;Ni(a[1]-n)>0!=Ni(s[1]-n)>0&&Ni(t-(n-a[1])*(a[0]-s[0])/(a[1]-s[1])-a[0])<0&&(r=!r)}return r}function Di(e,t,n,r,i,o,a,s){var l=(Math.atan2(s-t,a-e)+2*Math.PI)%(2*Math.PI);if(l<r||l>i)return!1;var c={x:e+n*Math.cos(l),y:t+n*Math.sin(l)};return Mr(c.x,c.y,a,s)<=o/2}var Pi=De,Mi=s({hasArc:function(e){for(var t=!1,n=e.length,r=0;r<n;r++){var i=e[r][0];if("C"===i||"A"===i||"Q"===i){t=!0;break}}return t},extractPolygons:function(e){for(var t=e.length,n=[],r=[],i=[],o=0;o<t;o++){var a=e[o],s=a[0];"M"===s?(i.length&&(r.push(i),i=[]),i.push([a[1],a[2]])):"Z"===s?i.length&&(n.push(i),i=[]):i.push([a[1],a[2]])}return i.length>0&&r.push(i),{polygons:n,polylines:r}},isPointInStroke:function(e,t,n,r,i){for(var o=!1,a=t/2,s=0;s<e.length;s++){var l=e[s],c=l.currentPoint,u=l.params,h=l.prePoint,p=l.box;if(!p||Fr(p.x-a,p.y-a,p.width+t,p.height+t,n,r)){switch(l.command){case"L":case"Z":o=xi(h[0],h[1],c[0],c[1],t,n,r);break;case"Q":o=ir.pointDistance(h[0],h[1],u[1],u[2],u[3],u[4],n,r)<=t/2;break;case"C":o=ur.pointDistance(h[0],h[1],u[1],u[2],u[3],u[4],u[5],u[6],n,r,i)<=t/2;break;case"A":var d=l.arcParams,f=d.cx,m=d.cy,g=d.rx,y=d.ry,v=d.startAngle,_=d.endAngle,b=d.xRotation,E=[n,r,1],T=g>y?g:y;Le(E,E,Pi(null,[["t",-f,-m],["r",-b],["s",1/(g>y?1:g/y),1/(g>y?y/g:1)]])),o=Di(0,0,T,v,_,t,E[0],E[1])}if(o)break}}return o}},le);function Fi(e,t,n){for(var r=!1,i=0;i<e.length&&!(r=ki(e[i],t,n));i++);return r}var Hi=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.getDefaultAttrs=function(){var t=e.prototype.getDefaultAttrs.call(this);return s(s({},t),{startArrow:!1,endArrow:!1})},t.prototype.initAttrs=function(e){this._setPathArr(e.path),this.setArrow()},t.prototype.onAttrChange=function(t,n,r){e.prototype.onAttrChange.call(this,t,n,r),"path"===t&&this._setPathArr(n),this.setArrow()},t.prototype._setPathArr=function(e){this.attrs.path=Rr(e);var t=Mi.hasArc(e);this.set("hasArc",t),this.set("paramsCache",{}),this.set("segments",null),this.set("curve",null),this.set("tCache",null),this.set("totalLength",null)},t.prototype.getSegments=function(){var e=this.get("segements");return e||(e=Dr(this.attr("path")),this.set("segments",e)),e},t.prototype.setArrow=function(){var e,t=this.attr(),n=t.startArrow,r=t.endArrow;n&&ri(this,t,(e=this.getStartTangent())[0][0],e[0][1],e[1][0],e[1][1]),r&&ii(this,t,(e=this.getEndTangent())[0][0],e[0][1],e[1][0],e[1][1])},t.prototype.isInStrokeOrPath=function(e,t,n,r,i){var o=this.getSegments(),a=this.get("hasArc"),s=!1;if(n){var l=this.getTotalLength();s=Mi.isPointInStroke(o,i,e,t,l)}if(!s&&r)if(a)s=Li(this,e,t);else{var c=this.attr("path"),u=Mi.extractPolygons(c);s=Fi(u.polygons,e,t)||Fi(u.polylines,e,t)}return s},t.prototype.createPath=function(e){di(this,e,this.attr(),this.get("paramsCache"))},t.prototype.afterDrawPath=function(e){var t=this.get("startArrowShape"),n=this.get("endArrowShape");t&&t.draw(e),n&&n.draw(e)},t.prototype.getTotalLength=function(){var e=this.get("totalLength");return p(e)?(this._calculateCurve(),this._setTcache(),this.get("totalLength")):e},t.prototype.getPoint=function(e){var t,n,r=this.get("tCache");r||(this._calculateCurve(),this._setTcache(),r=this.get("tCache"));var i=this.get("curve");if(!r||0===r.length)return i?{x:i[0][1],y:i[0][2]}:null;m(r,(function(r,i){e>=r[0]&&e<=r[1]&&(t=(e-r[0])/(r[1]-r[0]),n=i)}));var o=i[n];if(p(o)||p(n))return null;var a=o.length,s=i[n+1];return ur.pointAt(o[a-2],o[a-1],s[1],s[2],s[3],s[4],s[5],s[6],t)},t.prototype._calculateCurve=function(){var e=this.attr().path;this.set("curve",Mi.pathToCurve(e))},t.prototype._setTcache=function(){var e,t,n,r,i=0,o=0,a=[],s=this.get("curve");s&&(m(s,(function(e,t){n=s[t+1],r=e.length,n&&(i+=ur.length(e[r-2],e[r-1],n[1],n[2],n[3],n[4],n[5],n[6])||0)})),this.set("totalLength",i),0!==i?(m(s,(function(l,c){n=s[c+1],r=l.length,n&&((e=[])[0]=o/i,t=ur.length(l[r-2],l[r-1],n[1],n[2],n[3],n[4],n[5],n[6]),o+=t||0,e[1]=o/i,a.push(e))})),this.set("tCache",a)):this.set("tCache",[]))},t.prototype.getStartTangent=function(){var e,t=this.getSegments();if(t.length>1){var n=t[0].currentPoint,r=t[1].currentPoint,i=t[1].startTangent;e=[],i?(e.push([n[0]-i[0],n[1]-i[1]]),e.push([n[0],n[1]])):(e.push([r[0],r[1]]),e.push([n[0],n[1]]))}return e},t.prototype.getEndTangent=function(){var e,t=this.getSegments(),n=t.length;if(n>1){var r=t[n-2].currentPoint,i=t[n-1].currentPoint,o=t[n-1].endTangent;e=[],o?(e.push([i[0]-o[0],i[1]-o[1]]),e.push([i[0],i[1]])):(e.push([r[0],r[1]]),e.push([i[0],i[1]]))}return e},t}(yi);function Bi(e,t,n,r,i){var o=e.length;if(o<2)return!1;for(var a=0;a<o-1;a++)if(xi(e[a][0],e[a][1],e[a+1][0],e[a+1][1],t,n,r))return!0;if(i){var s=e[0],l=e[o-1];if(xi(s[0],s[1],l[0],l[1],t,n,r))return!0}return!1}var Ui=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.isInStrokeOrPath=function(e,t,n,r,i){var o=this.attr().points,a=!1;return n&&(a=Bi(o,i,e,t,!0)),!a&&r&&(a=ki(o,e,t)),a},t.prototype.createPath=function(e){var t=this.attr().points;if(!(t.length<2)){e.beginPath();for(var n=0;n<t.length;n++){var r=t[n];0===n?e.moveTo(r[0],r[1]):e.lineTo(r[0],r[1])}e.closePath()}},t}(yi),ji=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.getDefaultAttrs=function(){var t=e.prototype.getDefaultAttrs.call(this);return s(s({},t),{startArrow:!1,endArrow:!1})},t.prototype.initAttrs=function(e){this.setArrow()},t.prototype.onAttrChange=function(t,n,r){e.prototype.onAttrChange.call(this,t,n,r),this.setArrow(),-1!==["points"].indexOf(t)&&this._resetCache()},t.prototype._resetCache=function(){this.set("totalLength",null),this.set("tCache",null)},t.prototype.setArrow=function(){var e=this.attr(),t=this.attrs,n=t.points,r=t.startArrow,i=t.endArrow,o=n.length,a=n[0][0],s=n[0][1],l=n[o-1][0],c=n[o-1][1];r&&ri(this,e,n[1][0],n[1][1],a,s),i&&ii(this,e,n[o-2][0],n[o-2][1],l,c)},t.prototype.isFill=function(){return!1},t.prototype.isInStrokeOrPath=function(e,t,n,r,i){return!(!n||!i)&&Bi(this.attr().points,i,e,t,!1)},t.prototype.isStroke=function(){return!0},t.prototype.createPath=function(e){var t=this.attr(),n=t.points,r=t.startArrow,i=t.endArrow,o=n.length;if(!(n.length<2)){var a,s=n[0][0],l=n[0][1],c=n[o-1][0],u=n[o-1][1];r&&r.d&&(s+=(a=ni(s,l,n[1][0],n[1][1],r.d)).dx,l+=a.dy),i&&i.d&&(c-=(a=ni(n[o-2][0],n[o-2][1],c,u,i.d)).dx,u-=a.dy),e.beginPath(),e.moveTo(s,l);for(var h=0;h<o-1;h++){var p=n[h];e.lineTo(p[0],p[1])}e.lineTo(c,u)}},t.prototype.afterDrawPath=function(e){var t=this.get("startArrowShape"),n=this.get("endArrowShape");t&&t.draw(e),n&&n.draw(e)},t.prototype.getTotalLength=function(){var e=this.attr().points,t=this.get("totalLength");return p(t)?(this.set("totalLength",function(e){return function(e){if(e.length<2)return 0;for(var t=0,n=0;n<e.length-1;n++){var r=e[n],i=e[n+1];t+=Vn(r[0],r[1],i[0],i[1])}return t}(e)}(e)),this.get("totalLength")):t},t.prototype.getPoint=function(e){var t,n,r=this.attr().points,i=this.get("tCache");return i||(this._setTcache(),i=this.get("tCache")),m(i,(function(r,i){e>=r[0]&&e<=r[1]&&(t=(e-r[0])/(r[1]-r[0]),n=i)})),Zn.pointAt(r[n][0],r[n][1],r[n+1][0],r[n+1][1],t)},t.prototype._setTcache=function(){var e=this.attr().points;if(e&&0!==e.length){var t=this.getTotalLength();if(!(t<=0)){var n,r,i=0,o=[];m(e,(function(a,s){e[s+1]&&((n=[])[0]=i/t,r=Zn.length(a[0],a[1],e[s+1][0],e[s+1][1]),i+=r,n[1]=i/t,o.push(n))})),this.set("tCache",o)}}},t.prototype.getStartTangent=function(){var e=this.attr().points,t=[];return t.push([e[1][0],e[1][1]]),t.push([e[0][0],e[0][1]]),t},t.prototype.getEndTangent=function(){var e=this.attr().points,t=e.length-1,n=[];return n.push([e[t-1][0],e[t-1][1]]),n.push([e[t][0],e[t][1]]),n},t}(yi),Gi=ji,Yi=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.getDefaultAttrs=function(){var t=e.prototype.getDefaultAttrs.call(this);return s(s({},t),{x:0,y:0,width:0,height:0,radius:0})},t.prototype.isInStrokeOrPath=function(e,t,n,r,i){var o=this.attr(),a=o.x,s=o.y,l=o.width,c=o.height,u=o.radius;if(u){var h=!1;return n&&(h=function(e,t,n,r,i,o,a,s){return xi(e+i,t,e+n-i,t,o,a,s)||xi(e+n,t+i,e+n,t+r-i,o,a,s)||xi(e+n-i,t+r,e+i,t+r,o,a,s)||xi(e,t+r-i,e,t+i,o,a,s)||Di(e+n-i,t+i,i,1.5*Math.PI,2*Math.PI,o,a,s)||Di(e+n-i,t+r-i,i,0,.5*Math.PI,o,a,s)||Di(e+i,t+r-i,i,.5*Math.PI,Math.PI,o,a,s)||Di(e+i,t+i,i,Math.PI,1.5*Math.PI,o,a,s)}(a,s,l,c,u,i,e,t)),!h&&r&&(h=Li(this,e,t)),h}var p=i/2;return r&&n?Fr(a-p,s-p,l+p,c+p,e,t):r?Fr(a,s,l,c,e,t):n?function(e,t,n,r,i,o,a){var s=i/2;return Fr(e-s,t-s,n,i,o,a)||Fr(e+n-s,t-s,i,r,o,a)||Fr(e+s,t+r-s,n,i,o,a)||Fr(e-s,t+s,i,r,o,a)}(a,s,l,c,i,e,t):void 0},t.prototype.createPath=function(e){var t=this.attr(),n=t.x,r=t.y,i=t.width,o=t.height,a=t.radius;if(e.beginPath(),0===a)e.rect(n,r,i,o);else{var s=function(e){var t=0,n=0,r=0,i=0;return d(e)?1===e.length?t=n=r=i=e[0]:2===e.length?(t=r=e[0],n=i=e[1]):3===e.length?(t=e[0],n=i=e[1],r=e[2]):(t=e[0],n=e[1],r=e[2],i=e[3]):t=n=r=i=e,[t,n,r,i]}(a),l=s[0],c=s[1],u=s[2],h=s[3];e.moveTo(n+l,r),e.lineTo(n+i-c,r),0!==c&&e.arc(n+i-c,r+c,c,-Math.PI/2,0),e.lineTo(n+i,r+o-u),0!==u&&e.arc(n+i-u,r+o-u,u,0,Math.PI/2),e.lineTo(n+h,r+o),0!==h&&e.arc(n+h,r+o-h,h,Math.PI/2,Math.PI),e.lineTo(n,r+l),0!==l&&e.arc(n+l,r+l,l,Math.PI,1.5*Math.PI),e.closePath()}},t}(yi),zi=Yi,$i=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.getDefaultAttrs=function(){var t=e.prototype.getDefaultAttrs.call(this);return s(s({},t),{x:0,y:0,text:null,fontSize:12,fontFamily:"sans-serif",fontStyle:"normal",fontWeight:"normal",fontVariant:"normal",textAlign:"start",textBaseline:"bottom"})},t.prototype.isOnlyHitBox=function(){return!0},t.prototype.initAttrs=function(e){this._assembleFont(),e.text&&this._setText(e.text)},t.prototype._assembleFont=function(){var e=this.attrs;e.font=_r(e)},t.prototype._setText=function(e){var t=null;_(e)&&-1!==e.indexOf("\n")&&(t=e.split("\n")),this.set("textArr",t)},t.prototype.onAttrChange=function(t,n,r){e.prototype.onAttrChange.call(this,t,n,r),t.startsWith("font")&&this._assembleFont(),"text"===t&&this._setText(n)},t.prototype._getSpaceingY=function(){var e=this.attrs,t=e.lineHeight,n=1*e.fontSize;return t?t-n:.14*n},t.prototype._drawTextArr=function(e,t,n){var r,i=this.attrs,o=i.textBaseline,a=i.x,s=i.y,l=1*i.fontSize,c=this._getSpaceingY(),u=vr(i.text,i.fontSize,i.lineHeight);m(t,(function(t,i){r=s+i*(c+l)-u+l,"middle"===o&&(r+=u-l-(u-l)/2),"top"===o&&(r+=u-l),p(t)||(n?e.fillText(t,a,r):e.strokeText(t,a,r))}))},t.prototype._drawText=function(e,t){var n=this.attr(),r=n.x,i=n.y,o=this.get("textArr");if(o)this._drawTextArr(e,o,t);else{var a=n.text;p(a)||(t?e.fillText(a,r,i):e.strokeText(a,r,i))}},t.prototype.strokeAndFill=function(e){var t=this.attrs,n=t.lineWidth,r=t.opacity,i=t.strokeOpacity,o=t.fillOpacity;this.isStroke()&&n>0&&(p(i)||1===i||(e.globalAlpha=r),this.stroke(e)),this.isFill()&&(p(o)||1===o?this.fill(e):(e.globalAlpha=o,this.fill(e),e.globalAlpha=r)),this.afterDrawPath(e)},t.prototype.fill=function(e){this._drawText(e,!0)},t.prototype.stroke=function(e){this._drawText(e,!1)},t}(yi),Wi=$i;function Vi(e,t,n){var r,i,o=e.getTotalMatrix();if(o){var a=(r=[t,n,1],(i=o)?Me(Fe(i),r):r);return[a[0],a[1]]}return[t,n]}function Ki(e,t,n){if(e.isCanvas&&e.isCanvas())return!0;if(!ge(e)||!1===e.cfg.isInView)return!1;if(e.cfg.clipShape){var r=Vi(e,t,n),i=r[0],o=r[1];if(e.isClipped(i,o))return!1}var a=e.cfg.cacheCanvasBBox||e.getCanvasBBox();return t>=a.minX&&t<=a.maxX&&n>=a.minY&&n<=a.maxY}function qi(e,t,n){if(!Ki(e,t,n))return null;for(var r=null,i=e.getChildren(),o=i.length-1;o>=0;o--){var a=i[o];if(a.isGroup())r=qi(a,t,n);else if(Ki(a,t,n)){var s=a,l=Vi(a,t,n),c=l[0],u=l[1];s.isInShape(c,u)&&(r=a)}if(r)break}return r}var Xi,Zi,Qi,Ji=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.getDefaultCfg=function(){var t=e.prototype.getDefaultCfg.call(this);return t.renderer="canvas",t.autoDraw=!0,t.localRefresh=!0,t.refreshElements=[],t.clipView=!0,t.quickHit=!1,t},t.prototype.onCanvasChange=function(e){"attr"!==e&&"sort"!==e&&"changeSize"!==e||(this.set("refreshElements",[this]),this.draw())},t.prototype.getShapeBase=function(){return i},t.prototype.getGroupBase=function(){return mi},t.prototype.getPixelRatio=function(){var e=this.get("pixelRatio")||(window?window.devicePixelRatio:1);return e>=1?Math.ceil(e):1},t.prototype.getViewRange=function(){return{minX:0,minY:0,maxX:this.cfg.width,maxY:this.cfg.height}},t.prototype.createDom=function(){var e=document.createElement("canvas"),t=e.getContext("2d");return this.set("context",t),e},t.prototype.setDOMSize=function(t,n){e.prototype.setDOMSize.call(this,t,n);var r=this.get("context"),i=this.get("el"),o=this.getPixelRatio();i.width=o*t,i.height=o*n,o>1&&r.scale(o,o)},t.prototype.clear=function(){e.prototype.clear.call(this),this._clearFrame();var t=this.get("context"),n=this.get("el");t.clearRect(0,0,n.width,n.height)},t.prototype.getShape=function(t,n){return this.get("quickHit")?qi(this,t,n):e.prototype.getShape.call(this,t,n,null)},t.prototype._getRefreshRegion=function(){var e,t=this.get("refreshElements"),n=this.getViewRange();return t.length&&t[0]===this?e=n:(e=function(e){if(!e.length)return null;var t=[],n=[],r=[],i=[];return m(e,(function(e){var o=function(e){var t,n,r;if(e.destroyed)t=e._cacheCanvasBBox;else{var i=e.get("cacheCanvasBBox"),o=i&&!(!i.width||!i.height),a=e.getCanvasBBox(),s=a&&!(!a.width||!a.height);o&&s?(r=a,t=(n=i)&&r?{minX:Math.min(n.minX,r.minX),minY:Math.min(n.minY,r.minY),maxX:Math.max(n.maxX,r.maxX),maxY:Math.max(n.maxY,r.maxY)}:n||r):o?t=i:s&&(t=a)}return t}(e);o&&(t.push(o.minX),n.push(o.minY),r.push(o.maxX),i.push(o.maxY))})),{minX:v(t),minY:v(n),maxX:y(r),maxY:y(i)}}(t),e&&(e.minX=Math.floor(e.minX),e.minY=Math.floor(e.minY),e.maxX=Math.ceil(e.maxX),e.maxY=Math.ceil(e.maxY),e.maxY+=1,this.get("clipView")&&(e=function(e,t){return e&&t&&Hr(e,t)?{minX:Math.max(e.minX,t.minX),minY:Math.max(e.minY,t.minY),maxX:Math.min(e.maxX,t.maxX),maxY:Math.min(e.maxY,t.maxY)}:null}(e,n)))),e},t.prototype.refreshElement=function(e){this.get("refreshElements").push(e)},t.prototype._clearFrame=function(){var e,t=this.get("drawFrame");t&&(e=t,(window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||window.msCancelAnimationFrame||clearTimeout)(e),this.set("drawFrame",null),this.set("refreshElements",[]))},t.prototype.draw=function(){var e=this.get("drawFrame");this.get("autoDraw")&&e||this._startDraw()},t.prototype._drawAll=function(){var e=this.get("context"),t=this.get("el"),n=this.getChildren();e.clearRect(0,0,t.width,t.height),ai(e,this),si(e,n),this.set("refreshElements",[])},t.prototype._drawRegion=function(){var e=this.get("context"),t=this.get("refreshElements"),n=this.getChildren(),r=this._getRefreshRegion();r?(e.clearRect(r.minX,r.minY,r.maxX-r.minX,r.maxY-r.minY),e.save(),e.beginPath(),e.rect(r.minX,r.minY,r.maxX-r.minX,r.maxY-r.minY),e.clip(),ai(e,this),li(this,n,r),si(e,n,r),e.restore()):t.length&&ui(t),m(t,(function(e){e.get("hasChanged")&&e.set("hasChanged",!1)})),this.set("refreshElements",[])},t.prototype._startDraw=function(){var e,t=this,n=this.get("drawFrame");n||(e=function(){t.get("localRefresh")?t._drawRegion():t._drawAll(),t.set("drawFrame",null)},n=(window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||function(e){return setTimeout(e,16)})(e),this.set("drawFrame",n))},t.prototype.skipDraw=function(){},t.prototype.removeDom=function(){var e=this.get("el");e.width=0,e.height=0,e.parentNode.removeChild(e)},t}(Hn);!function(e){e.DATA_CELL_CLICK_EVENT="interaction:data-cell-click",e.MERGED_CELLS_CLICK_EVENT="interaction:merged-cells-click",e.CORNER_TEXT_CLICK_EVENT="interaction:corner-cell-text-click",e.ROW_COLUMN_CLICK_EVENT="interaction:row-column-click",e.ROW_TEXT_CLICK_EVENT="interaction:row-text-click",e.HOVER_EVENT="interaction:hover",e.TREND_ICON_CLICK="interaction:trend-icon-click"}(Xi||(Xi={})),function(e){e.MOUSE_DOWN="mousedown",e.MOUSE_MOVE="mousemove",e.MOUSE_OUT="mouseout",e.MOUSE_LEAVE="mouseleave",e.MOUSE_UP="mouseup",e.KEY_DOWN="keydown",e.KEY_UP="keyup",e.CLICK="click",e.HOVER="hover",e.DOUBLE_CLICK="dblclick",e.CONTEXT_MENU="contextmenu"}(Zi||(Zi={})),function(e){e.ROW_CELL_HOVER="row-cell:hover",e.ROW_CELL_CLICK="row-cell:click",e.ROW_CELL_DOUBLE_CLICK="row-cell:double-click",e.ROW_CELL_CONTEXT_MENU="row-cell:context-menu",e.ROW_CELL_MOUSE_DOWN="row-cell:mouse-down",e.ROW_CELL_MOUSE_UP="row-cell:mouse-up",e.ROW_CELL_MOUSE_MOVE="row-cell:mouse-move",e.ROW_CELL_COLLAPSE_TREE_ROWS="row-cell:collapsed-tree-rows",e.ROW_CELL_SCROLL="row-cell:scroll",e.ROW_CELL_BRUSH_SELECTION="row-cell:brush-selection",e.COL_CELL_HOVER="col-cell:hover",e.COL_CELL_CLICK="col-cell:click",e.COL_CELL_DOUBLE_CLICK="col-cell:double-click",e.COL_CELL_CONTEXT_MENU="col-cell:context-menu",e.COL_CELL_MOUSE_DOWN="col-cell:mouse-down",e.COL_CELL_MOUSE_UP="col-cell:mouse-up",e.COL_CELL_MOUSE_MOVE="col-cell:mouse-move",e.COL_CELL_BRUSH_SELECTION="col-cell:brush-selection",e.DATA_CELL_HOVER="data-cell:hover",e.DATA_CELL_CLICK="data-cell:click",e.DATA_CELL_DOUBLE_CLICK="data-cell:double-click",e.DATA_CELL_CONTEXT_MENU="data-cell:context-menu",e.DATA_CELL_MOUSE_UP="data-cell:mouse-up",e.DATA_CELL_MOUSE_DOWN="data-cell:mouse-down",e.DATA_CELL_MOUSE_MOVE="data-cell:mouse-move",e.DATA_CELL_TREND_ICON_CLICK="data-cell:trend-icon-click",e.DATA_CELL_BRUSH_SELECTION="data-cell:brush-selection",e.DATA_CELL_SELECT_MOVE="data-cell:select-move",e.CORNER_CELL_HOVER="corner-cell:hover",e.CORNER_CELL_CLICK="corner-cell:click",e.CORNER_CELL_DOUBLE_CLICK="corner-cell:double-click",e.CORNER_CELL_CONTEXT_MENU="corner-cell:context-menu",e.CORNER_CELL_MOUSE_DOWN="corner-cell:mouse-down",e.CORNER_CELL_MOUSE_UP="corner-cell:mouse-up",e.CORNER_CELL_MOUSE_MOVE="corner-cell:mouse-move",e.MERGED_CELLS_HOVER="merged-cells:hover",e.MERGED_CELLS_CLICK="merged-cells:click",e.MERGED_CELLS_DOUBLE_CLICK="merged-cells:double-click",e.MERGED_CELLS_CONTEXT_MENU="merged-cell:context-menu",e.MERGED_CELLS_MOUSE_DOWN="merged-cells:mouse-down",e.MERGED_CELLS_MOUSE_UP="merged-cells:mouse-up",e.MERGED_CELLS_MOUSE_MOVE="merged-cells:mouse-move",e.RANGE_SORT="sort:range-sort",e.RANGE_SORTED="sort:range-sorted",e.RANGE_FILTER="filter:range-filter",e.RANGE_FILTERED="filter:range-filtered",e.LAYOUT_AFTER_HEADER_LAYOUT="layout:after-header-layout",e.LAYOUT_CELL_SCROLL="layout:cell-scroll",e.LAYOUT_PAGINATION="layout:pagination",e.LAYOUT_COLLAPSE_ROWS="layout:collapsed-rows",e.LAYOUT_AFTER_COLLAPSE_ROWS="layout:after-collapsed-rows",e.LAYOUT_AFTER_REAL_DATA_CELL_RENDER="layout:after-real-data-cell-render",e.LAYOUT_TREE_ROWS_COLLAPSE_ALL="layout:toggle-collapse-all",e.LAYOUT_COLS_EXPANDED="layout:table-col-expanded",e.LAYOUT_COLS_HIDDEN="layout:table-col-hidden",e.LAYOUT_AFTER_RENDER="layout:after-render",e.LAYOUT_BEFORE_RENDER="layout:before-render",e.LAYOUT_DESTROY="layout:destroy",e.LAYOUT_RESIZE="layout:resize",e.LAYOUT_RESIZE_SERIES_WIDTH="layout:resize-series-width",e.LAYOUT_RESIZE_ROW_WIDTH="layout:resize-row-width",e.LAYOUT_RESIZE_ROW_HEIGHT="layout:resize-row-height",e.LAYOUT_RESIZE_COL_WIDTH="layout:resize-column-width",e.LAYOUT_RESIZE_COL_HEIGHT="layout:resize-column-height",e.LAYOUT_RESIZE_TREE_WIDTH="layout:resize-tree-width",e.LAYOUT_RESIZE_MOUSE_DOWN="layout:resize:mouse-down",e.LAYOUT_RESIZE_MOUSE_MOVE="layout:resize:mouse-move",e.LAYOUT_RESIZE_MOUSE_UP="layout:resize-mouse-up",e.GLOBAL_KEYBOARD_DOWN="global:keyboard-down",e.GLOBAL_KEYBOARD_UP="global:keyboard-up",e.GLOBAL_COPIED="global:copied",e.GLOBAL_MOUSE_UP="global:mouse-up",e.GLOBAL_MOUSE_MOVE="global:mouse-move",e.GLOBAL_ACTION_ICON_CLICK="global:action-icon-click",e.GLOBAL_ACTION_ICON_HOVER="global:action-icon-hover",e.GLOBAL_ACTION_ICON_HOVER_OFF="global:action-icon-hover-off",e.GLOBAL_CONTEXT_MENU="global:context-menu",e.GLOBAL_CLICK="global:click",e.GLOBAL_DOUBLE_CLICK="global:double-click",e.GLOBAL_SELECTED="global:selected",e.GLOBAL_HOVER="global:hover",e.GLOBAL_RESET="global:reset",e.GLOBAL_LINK_FIELD_JUMP="global:link-field-jump",e.GLOBAL_SCROLL="global:scroll"}(Qi||(Qi={}));var eo,to="$$value$$",no="$$extra$$",ro="$$extra_column$$",io="$$total$$",oo="$$series_number$$",ao="mergedCellsGroup",so="frozenRowGroup",lo="frozenColGroup",co="frozenTrailingRowGroup",uo="frozenTrailingColGroup",ho="frozenTopGroup",po="frozenBottomGroup",fo="rowResizeAreaGroup",mo="rowFrozenResizeAreaGroup",go="frozenSplitLine",yo="rowIndexResizeAreaGroup",vo="cornerResizeAreaGroup",_o="colResizeAreaGroup",bo="colFrozenResizeAreaGroup",Eo="gridGroup",To="horizontal-resize-area-",xo="root",So="[&]",Co="-",Ao=/^root\[&\]*/;!function(e){e.Line="line",e.Bar="bar",e.Bullet="bullet"}(eo||(eo={}));var Ro,wo,Lo,Oo="square",No="...",Io="antv-s2",ko="valueRanges",Do={},Po="#000000",Mo="#FFFFFF",Fo={data:[],totalData:[],fields:{rows:[],columns:[],values:[],customTreeItems:[],valueInCols:!0},meta:[],sortParams:[],filterParams:[]};!function(e){e.ROW="row",e.COL="col",e.TRAILING_ROW="trailingRow",e.TRAILING_COL="trailingCol",e.SCROLL="scroll",e.TOP="top",e.BOTTOM="bottom"}(wo||(wo={})),function(e){e.FROZEN_COL="frozenCol",e.FROZEN_ROW="frozenRow",e.FROZEN_TRAILING_COL="frozenTrailingCol",e.FROZEN_TRAILING_ROW="frozenTrailingRow"}(Lo||(Lo={}));var Ho,Bo,Uo,jo=((Ro={})[wo.ROW]="frozenRowGroup",Ro[wo.COL]="frozenColGroup",Ro[wo.TRAILING_COL]="frozenTrailingColGroup",Ro[wo.TRAILING_ROW]="frozenTrailingRowGroup",Ro[wo.SCROLL]="panelScrollGroup",Ro[wo.TOP]="frozenTopGroup",Ro[wo.BOTTOM]="frozenBottomGroup",Ro);!function(e){e.CORNER_CELL_CLICK="cornerCellClick",e.DATA_CELL_CLICK="dataCellClick",e.MERGED_CELLS_CLICK="mergedCellsClick",e.ROW_COLUMN_CLICK="rowColumnClick",e.ROW_TEXT_CLICK="rowTextClick",e.HOVER="hover",e.BRUSH_SELECTION="brushSelection",e.ROW_BRUSH_SELECTION="rowBrushSelection",e.COL_BRUSH_SELECTION="colBrushSelection",e.COL_ROW_RESIZE="rowColResize",e.DATA_CELL_MULTI_SELECTION="dataCellMultiSelection",e.RANGE_SELECTION="rangeSelection",e.SELECTED_CELL_MOVE="selectedCellMove"}(Ho||(Ho={})),function(e){e.ALL_SELECTED="allSelected",e.SELECTED="selected",e.UNSELECTED="unselected",e.HOVER="hover",e.HOVER_FOCUS="hoverFocus",e.HIGHLIGHT="highlight",e.SEARCH_RESULT="searchResult",e.PREPARE_SELECT="prepareSelect"}(Bo||(Bo={})),function(e){e.DATA_CELL="dataCell",e.HEADER_CELL="headerCell",e.ROW_CELL="rowCell",e.COL_CELL="colCell",e.CORNER_CELL="cornerCell",e.MERGED_CELL="mergedCell"}(Uo||(Uo={}));var Go,Yo,zo,$o,Wo={textOpacity:"fillOpacity",backgroundOpacity:"fillOpacity",backgroundColor:"fill",borderOpacity:"strokeOpacity",borderColor:"stroke",borderWidth:"lineWidth",opacity:"opacity"},Vo={textShape:["textOpacity"],textShapes:["textOpacity"],linkFieldShape:["opacity"],interactiveBgShape:["backgroundColor","backgroundOpacity"],interactiveBorderShape:["borderColor","borderOpacity","borderWidth"]},Ko="interactionStateInfo";!function(e){e.CLICK="click",e.UN_DRAGGED="unDragged",e.DRAGGED="dragged"}(Go||(Go={})),function(e){e.SHIFT="Shift",e.COPY="c",e.ESC="Escape",e.META="Meta",e.CONTROL="Control",e.ARROW_UP="ArrowUp",e.ARROW_DOWN="ArrowDown",e.ARROW_LEFT="ArrowLeft",e.ARROW_RIGHT="ArrowRight"}(Yo||(Yo={})),function(e){e.ASC="ASC",e.DESC="DESC"}(zo||(zo={})),function(e){e.HOVER="hover",e.CLICK="click",e.BRUSH_SELECTION="brushSelection",e.ROW_BRUSH_SELECTION="rowBrushSelection",e.COL_BRUSH_SELECTION="colBrushSelection",e.MULTI_SELECTION="multiSelection",e.RESIZE="resize"}($o||($o={}));var qo,Xo,Zo,Qo,Jo,ea,ta,na={x:{value:0,scroll:!1},y:{value:0,scroll:!1}};!function(e){e.CONTENT="content",e.CANVAS="canvas"}(qo||(qo={})),function(e){e.SCROLL_UP="scrollUp",e.SCROLL_DOWN="scrollDown"}(Xo||(Xo={})),function(e){e[e.SCROLL_UP=-1]="SCROLL_UP",e[e.SCROLL_DOWN=1]="SCROLL_DOWN"}(Zo||(Zo={})),function(e){e.Horizontal="col",e.Vertical="row"}(Qo||(Qo={})),function(e){e.Field="field",e.Cell="cell",e.Tree="tree",e.Series="series"}(Jo||(Jo={})),function(e){e.ALL="all",e.CURRENT="current"}(ea||(ea={})),function(e){e.Adaptive="adaptive",e.ColAdaptive="colAdaptive",e.Compact="compact"}(ta||(ta={}));var ra={layoutWidthType:ta.Adaptive,showTreeLeafNodeAlignDot:!1,collapsedRows:{},collapsedCols:{},cellCfg:{width:96,height:30},rowCfg:{width:null,widthByField:{},heightByField:{}},colCfg:{height:30,widthByFieldValue:{},heightByField:{}},device:"pc"},ia={width:600,height:480,debug:!1,hierarchyType:"grid",conditions:{},totals:{},tooltip:{showTooltip:!1,autoAdjustBoundary:"body",operation:{hiddenColumns:!1,trend:!1,sort:!1,menus:[]}},interaction:{linkFields:[],hiddenColumnFields:[],selectedCellsSpotlight:!1,hoverHighlight:!0,hoverFocus:{duration:800},scrollSpeedRatio:{horizontal:1,vertical:1},autoResetSheetStyle:!0,brushSelection:{data:!0,row:!1,col:!1},multiSelection:!0,rangeSelection:!0,scrollbarPosition:qo.CONTENT,resize:{rowCellVertical:!0,cornerCellHorizontal:!0,colCellHorizontal:!0,colCellVertical:!0,rowResizeType:ea.ALL},eventListenerOptions:!1,selectedCellHighlight:!1,overscrollBehavior:"auto"},showSeriesNumber:!1,customSVGIcons:[],showDefaultHeaderActionIcon:!1,headerActionIcons:[],style:ra,frozenRowHeader:!0,frozenRowCount:0,frozenColCount:0,frozenTrailingRowCount:0,frozenTrailingColCount:0,hdAdapter:!0,cornerText:"",cornerExtraFieldText:"",placeholder:Co,supportCSSTransform:!1,devicePixelRatio:window.devicePixelRatio},oa=function(e,t){return oa=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},oa(e,t)};function aa(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}oa(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var sa=function(){return sa=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},sa.apply(this,arguments)};function la(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n}function ca(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function ua(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}function ha(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}var pa="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,da="object"==typeof self&&self&&self.Object===Object&&self,fa=pa||da||Function("return this")(),ma=fa.Symbol,ga=Object.prototype,ya=ga.hasOwnProperty,va=ga.toString,_a=ma?ma.toStringTag:void 0,ba=Object.prototype.toString,Ea="[object Null]",Ta="[object Undefined]",xa=ma?ma.toStringTag:void 0;function Sa(e){return null==e?void 0===e?Ta:Ea:xa&&xa in Object(e)?function(e){var t=ya.call(e,_a),n=e[_a];try{e[_a]=void 0;var r=!0}catch(e){}var i=va.call(e);return r&&(t?e[_a]=n:delete e[_a]),i}(e):function(e){return ba.call(e)}(e)}function Ca(e){return null!=e&&"object"==typeof e}var Aa="[object Symbol]";function Ra(e){return"symbol"==typeof e||Ca(e)&&Sa(e)==Aa}var wa=NaN;function La(e){return"number"==typeof e?e:Ra(e)?wa:+e}function Oa(e,t){for(var n=-1,r=null==e?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}var Na=Array.isArray,Ia=1/0,ka=ma?ma.prototype:void 0,Da=ka?ka.toString:void 0;function Pa(e){if("string"==typeof e)return e;if(Na(e))return Oa(e,Pa)+"";if(Ra(e))return Da?Da.call(e):"";var t=e+"";return"0"==t&&1/e==-Ia?"-0":t}function Ma(e,t){return function(n,r){var i;if(void 0===n&&void 0===r)return t;if(void 0!==n&&(i=n),void 0!==r){if(void 0===i)return r;"string"==typeof n||"string"==typeof r?(n=Pa(n),r=Pa(r)):(n=La(n),r=La(r)),i=e(n,r)}return i}}var Fa=Ma((function(e,t){return e+t}),0),Ha=/\s/;function Ba(e){for(var t=e.length;t--&&Ha.test(e.charAt(t)););return t}var Ua=/^\s+/;function ja(e){return e?e.slice(0,Ba(e)+1).replace(Ua,""):e}function Ga(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}var Ya=NaN,za=/^[-+]0x[0-9a-f]+$/i,$a=/^0b[01]+$/i,Wa=/^0o[0-7]+$/i,Va=parseInt;function Ka(e){if("number"==typeof e)return e;if(Ra(e))return Ya;if(Ga(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=Ga(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=ja(e);var n=$a.test(e);return n||Wa.test(e)?Va(e.slice(2),n?2:8):za.test(e)?Ya:+e}var qa=1/0,Xa=17976931348623157e292;function Za(e){return e?(e=Ka(e))===qa||e===-qa?(e<0?-1:1)*Xa:e==e?e:0:0===e?e:0}function Qa(e){var t=Za(e),n=t%1;return t==t?n?t-n:t:0}function Ja(e){return e}var es="[object AsyncFunction]",ts="[object Function]",ns="[object GeneratorFunction]",rs="[object Proxy]";function is(e){if(!Ga(e))return!1;var t=Sa(e);return t==ts||t==ns||t==es||t==rs}var os,as=fa["__core-js_shared__"],ss=(os=/[^.]+$/.exec(as&&as.keys&&as.keys.IE_PROTO||""))?"Symbol(src)_1."+os:"",ls=Function.prototype.toString;function cs(e){if(null!=e){try{return ls.call(e)}catch(e){}try{return e+""}catch(e){}}return""}var us=/^\[object .+?Constructor\]$/,hs=Function.prototype,ps=Object.prototype,ds=hs.toString,fs=ps.hasOwnProperty,ms=RegExp("^"+ds.call(fs).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function gs(e){return!(!Ga(e)||function(e){return!!ss&&ss in e}(e))&&(is(e)?ms:us).test(cs(e))}function ys(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return gs(n)?n:void 0}var vs=ys(fa,"WeakMap"),_s=vs&&new vs,bs=_s?function(e,t){return _s.set(e,t),e}:Ja,Es=bs,Ts=Object.create,xs=function(){function e(){}return function(t){if(!Ga(t))return{};if(Ts)return Ts(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}(),Ss=xs;function Cs(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=Ss(e.prototype),r=e.apply(n,t);return Ga(r)?r:n}}var As=1;function Rs(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}var ws=Math.max;function Ls(e,t,n,r){for(var i=-1,o=e.length,a=n.length,s=-1,l=t.length,c=ws(o-a,0),u=Array(l+c),h=!r;++s<l;)u[s]=t[s];for(;++i<a;)(h||i<o)&&(u[n[i]]=e[i]);for(;c--;)u[s++]=e[i++];return u}var Os=Math.max;function Ns(e,t,n,r){for(var i=-1,o=e.length,a=-1,s=n.length,l=-1,c=t.length,u=Os(o-s,0),h=Array(u+c),p=!r;++i<u;)h[i]=e[i];for(var d=i;++l<c;)h[d+l]=t[l];for(;++a<s;)(p||i<o)&&(h[d+n[a]]=e[i++]);return h}function Is(){}var ks=4294967295;function Ds(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=ks,this.__views__=[]}function Ps(){}Ds.prototype=Ss(Is.prototype),Ds.prototype.constructor=Ds;var Ms=_s?function(e){return _s.get(e)}:Ps,Fs=Ms,Hs={},Bs=Object.prototype.hasOwnProperty;function Us(e){for(var t=e.name+"",n=Hs[t],r=Bs.call(Hs,t)?n.length:0;r--;){var i=n[r],o=i.func;if(null==o||o==e)return i.name}return t}function js(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=void 0}function Gs(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}function Ys(e){if(e instanceof Ds)return e.clone();var t=new js(e.__wrapped__,e.__chain__);return t.__actions__=Gs(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}js.prototype=Ss(Is.prototype),js.prototype.constructor=js;var zs=Object.prototype.hasOwnProperty;function $s(e){if(Ca(e)&&!Na(e)&&!(e instanceof Ds)){if(e instanceof js)return e;if(zs.call(e,"__wrapped__"))return Ys(e)}return new js(e)}function Ws(e){var t=Us(e),n=$s[t];if("function"!=typeof n||!(t in Ds.prototype))return!1;if(e===n)return!0;var r=Fs(n);return!!r&&e===r[0]}$s.prototype=Is.prototype,$s.prototype.constructor=$s;var Vs=Date.now;function Ks(e){var t=0,n=0;return function(){var r=Vs(),i=16-(r-n);if(n=r,i>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var qs=Ks(Es),Xs=/\{\n\/\* \[wrapped with (.+)\] \*/,Zs=/,? & /,Qs=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/;function Js(e){return function(){return e}}var el=function(){try{var e=ys(Object,"defineProperty");return e({},"",{}),e}catch(e){}}(),tl=el,nl=tl?function(e,t){return tl(e,"toString",{configurable:!0,enumerable:!1,value:Js(t),writable:!0})}:Ja,rl=Ks(nl);function il(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}function ol(e,t,n,r){for(var i=e.length,o=n+(r?1:-1);r?o--:++o<i;)if(t(e[o],o,e))return o;return-1}function al(e){return e!=e}function sl(e,t,n){return t==t?function(e,t,n){for(var r=n-1,i=e.length;++r<i;)if(e[r]===t)return r;return-1}(e,t,n):ol(e,al,n)}function ll(e,t){return!(null==e||!e.length)&&sl(e,t,0)>-1}var cl=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]];function ul(e,t,n){var r=t+"";return rl(e,function(e,t){var n=t.length;if(!n)return e;var r=n-1;return t[r]=(n>1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace(Qs,"{\n/* [wrapped with "+t+"] */\n")}(r,function(e,t){return il(cl,(function(n){var r="_."+n[0];t&n[1]&&!ll(e,r)&&e.push(r)})),e.sort()}(function(e){var t=e.match(Xs);return t?t[1].split(Zs):[]}(r),n)))}var hl=1,pl=2,dl=4,fl=8,ml=32,gl=64;function yl(e,t,n,r,i,o,a,s,l,c){var u=t&fl;t|=u?ml:gl,(t&=~(u?gl:ml))&dl||(t&=~(hl|pl));var h=[e,t,i,u?o:void 0,u?a:void 0,u?void 0:o,u?void 0:a,s,l,c],p=n.apply(void 0,h);return Ws(e)&&qs(p,h),p.placeholder=r,ul(p,e,t)}function vl(e){return e.placeholder}var _l=9007199254740991,bl=/^(?:0|[1-9]\d*)$/;function El(e,t){var n=typeof e;return!!(t=null==t?_l:t)&&("number"==n||"symbol"!=n&&bl.test(e))&&e>-1&&e%1==0&&e<t}var Tl=Math.min,xl="__lodash_placeholder__";function Sl(e,t){for(var n=-1,r=e.length,i=0,o=[];++n<r;){var a=e[n];a!==t&&a!==xl||(e[n]=xl,o[i++]=n)}return o}var Cl=1,Al=2,Rl=8,wl=16,Ll=128,Ol=512;function Nl(e,t,n,r,i,o,a,s,l,c){var u=t&Ll,h=t&Cl,p=t&Al,d=t&(Rl|wl),f=t&Ol,m=p?void 0:Cs(e);return function g(){for(var y=arguments.length,v=Array(y),_=y;_--;)v[_]=arguments[_];if(d)var b=vl(g),E=function(e,t){for(var n=e.length,r=0;n--;)e[n]===t&&++r;return r}(v,b);if(r&&(v=Ls(v,r,i,d)),o&&(v=Ns(v,o,a,d)),y-=E,d&&y<c){var T=Sl(v,b);return yl(e,t,Nl,g.placeholder,n,v,T,s,l,c-y)}var x=h?n:this,S=p?x[e]:e;return y=v.length,s?v=function(e,t){for(var n=e.length,r=Tl(t.length,n),i=Gs(e);r--;){var o=t[r];e[r]=El(o,n)?i[o]:void 0}return e}(v,s):f&&y>1&&v.reverse(),u&&l<y&&(v.length=l),this&&this!==fa&&this instanceof g&&(S=m||Cs(S)),S.apply(x,v)}}var Il=1,kl="__lodash_placeholder__",Dl=1,Pl=2,Ml=4,Fl=8,Hl=128,Bl=256,Ul=Math.min,jl="Expected a function",Gl=1,Yl=2,zl=8,$l=16,Wl=32,Vl=64,Kl=Math.max;function ql(e,t,n,r,i,o,a,s){var l=t&Yl;if(!l&&"function"!=typeof e)throw new TypeError(jl);var c=r?r.length:0;if(c||(t&=~(Wl|Vl),r=i=void 0),a=void 0===a?a:Kl(Qa(a),0),s=void 0===s?s:Qa(s),c-=i?i.length:0,t&Vl){var u=r,h=i;r=i=void 0}var p=l?void 0:Fs(e),d=[e,t,n,r,i,u,h,o,a,s];if(p&&function(e,t){var n=e[1],r=t[1],i=n|r,o=i<(Dl|Pl|Hl),a=r==Hl&&n==Fl||r==Hl&&n==Bl&&e[7].length<=t[8]||r==(Hl|Bl)&&t[7].length<=t[8]&&n==Fl;if(!o&&!a)return e;r&Dl&&(e[2]=t[2],i|=n&Dl?0:Ml);var s=t[3];if(s){var l=e[3];e[3]=l?Ls(l,s,t[4]):s,e[4]=l?Sl(e[3],kl):t[4]}(s=t[5])&&(l=e[5],e[5]=l?Ns(l,s,t[6]):s,e[6]=l?Sl(e[5],kl):t[6]),(s=t[7])&&(e[7]=s),r&Hl&&(e[8]=null==e[8]?t[8]:Ul(e[8],t[8])),null==e[9]&&(e[9]=t[9]),e[0]=t[0],e[1]=i}(d,p),e=d[0],t=d[1],n=d[2],r=d[3],i=d[4],!(s=d[9]=void 0===d[9]?l?0:e.length:Kl(d[9]-c,0))&&t&(zl|$l)&&(t&=~(zl|$l)),t&&t!=Gl)f=t==zl||t==$l?function(e,t,n){var r=Cs(e);return function i(){for(var o=arguments.length,a=Array(o),s=o,l=vl(i);s--;)a[s]=arguments[s];var c=o<3&&a[0]!==l&&a[o-1]!==l?[]:Sl(a,l);return(o-=c.length)<n?yl(e,t,Nl,i.placeholder,void 0,a,c,void 0,void 0,n-o):Rs(this&&this!==fa&&this instanceof i?r:e,this,a)}}(e,t,s):t!=Wl&&t!=(Gl|Wl)||i.length?Nl.apply(void 0,d):function(e,t,n,r){var i=t&Il,o=Cs(e);return function t(){for(var a=-1,s=arguments.length,l=-1,c=r.length,u=Array(c+s),h=this&&this!==fa&&this instanceof t?o:e;++l<c;)u[l]=r[l];for(;s--;)u[l++]=arguments[++a];return Rs(h,i?n:this,u)}}(e,t,n,r);else var f=function(e,t,n){var r=t&As,i=Cs(e);return function t(){return(this&&this!==fa&&this instanceof t?i:e).apply(r?n:this,arguments)}}(e,t,n);return ul((p?Es:qs)(f,d),e,t)}function Xl(e,t,n){return t=n?void 0:t,ql(e,128,void 0,void 0,void 0,void 0,t=e&&null==t?e.length:t)}function Zl(e,t,n){"__proto__"==t&&tl?tl(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function Ql(e,t){return e===t||e!=e&&t!=t}var Jl=Object.prototype.hasOwnProperty;function ec(e,t,n){var r=e[t];Jl.call(e,t)&&Ql(r,n)&&(void 0!==n||t in e)||Zl(e,t,n)}function tc(e,t,n,r){var i=!n;n||(n={});for(var o=-1,a=t.length;++o<a;){var s=t[o],l=r?r(n[s],e[s],s,n,e):void 0;void 0===l&&(l=e[s]),i?Zl(n,s,l):ec(n,s,l)}return n}var nc=Math.max;function rc(e,t,n){return t=nc(void 0===t?e.length-1:t,0),function(){for(var r=arguments,i=-1,o=nc(r.length-t,0),a=Array(o);++i<o;)a[i]=r[t+i];i=-1;for(var s=Array(t+1);++i<t;)s[i]=r[i];return s[t]=n(a),Rs(e,this,s)}}function ic(e,t){return rl(rc(e,t,Ja),e+"")}var oc=9007199254740991;function ac(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=oc}function sc(e){return null!=e&&ac(e.length)&&!is(e)}function lc(e,t,n){if(!Ga(n))return!1;var r=typeof t;return!!("number"==r?sc(n)&&El(t,n.length):"string"==r&&t in n)&&Ql(n[t],e)}function cc(e){return ic((function(t,n){var r=-1,i=n.length,o=i>1?n[i-1]:void 0,a=i>2?n[2]:void 0;for(o=e.length>3&&"function"==typeof o?(i--,o):void 0,a&&lc(n[0],n[1],a)&&(o=i<3?void 0:o,i=1),t=Object(t);++r<i;){var s=n[r];s&&e(t,s,r,o)}return t}))}var uc=Object.prototype;function hc(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||uc)}function pc(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}function dc(e){return Ca(e)&&"[object Arguments]"==Sa(e)}var fc=Object.prototype,mc=fc.hasOwnProperty,gc=fc.propertyIsEnumerable,yc=dc(function(){return arguments}())?dc:function(e){return Ca(e)&&mc.call(e,"callee")&&!gc.call(e,"callee")};function vc(){return!1}var _c="object"==typeof exports&&exports&&!exports.nodeType&&exports,bc=_c&&e&&!e.nodeType&&e,Ec=bc&&bc.exports===_c?fa.Buffer:void 0,Tc=(Ec?Ec.isBuffer:void 0)||vc,xc={};function Sc(e){return function(t){return e(t)}}xc["[object Float32Array]"]=xc["[object Float64Array]"]=xc["[object Int8Array]"]=xc["[object Int16Array]"]=xc["[object Int32Array]"]=xc["[object Uint8Array]"]=xc["[object Uint8ClampedArray]"]=xc["[object Uint16Array]"]=xc["[object Uint32Array]"]=!0,xc["[object Arguments]"]=xc["[object Array]"]=xc["[object ArrayBuffer]"]=xc["[object Boolean]"]=xc["[object DataView]"]=xc["[object Date]"]=xc["[object Error]"]=xc["[object Function]"]=xc["[object Map]"]=xc["[object Number]"]=xc["[object Object]"]=xc["[object RegExp]"]=xc["[object Set]"]=xc["[object String]"]=xc["[object WeakMap]"]=!1;var Cc="object"==typeof exports&&exports&&!exports.nodeType&&exports,Ac=Cc&&e&&!e.nodeType&&e,Rc=Ac&&Ac.exports===Cc&&pa.process,wc=function(){try{return Ac&&Ac.require&&Ac.require("util").types||Rc&&Rc.binding&&Rc.binding("util")}catch(e){}}(),Lc=wc&&wc.isTypedArray,Oc=Lc?Sc(Lc):function(e){return Ca(e)&&ac(e.length)&&!!xc[Sa(e)]},Nc=Object.prototype.hasOwnProperty;function Ic(e,t){var n=Na(e),r=!n&&yc(e),i=!n&&!r&&Tc(e),o=!n&&!r&&!i&&Oc(e),a=n||r||i||o,s=a?pc(e.length,String):[],l=s.length;for(var c in e)!t&&!Nc.call(e,c)||a&&("length"==c||i&&("offset"==c||"parent"==c)||o&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||El(c,l))||s.push(c);return s}function kc(e,t){return function(n){return e(t(n))}}var Dc=kc(Object.keys,Object),Pc=Object.prototype.hasOwnProperty;function Mc(e){if(!hc(e))return Dc(e);var t=[];for(var n in Object(e))Pc.call(e,n)&&"constructor"!=n&&t.push(n);return t}function Fc(e){return sc(e)?Ic(e):Mc(e)}var Hc=Object.prototype.hasOwnProperty,Bc=cc((function(e,t){if(hc(t)||sc(t))tc(t,Fc(t),e);else for(var n in t)Hc.call(t,n)&&ec(e,n,t[n])})),Uc=Bc,jc=Object.prototype.hasOwnProperty;function Gc(e){return sc(e)?Ic(e,!0):function(e){if(!Ga(e))return function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}(e);var t=hc(e),n=[];for(var r in e)("constructor"!=r||!t&&jc.call(e,r))&&n.push(r);return n}(e)}var Yc=cc((function(e,t){tc(t,Gc(t),e)})),zc=Yc,$c=cc((function(e,t,n,r){tc(t,Gc(t),e,r)})),Wc=$c,Vc=cc((function(e,t,n,r){tc(t,Fc(t),e,r)})),Kc=Vc,qc=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Xc=/^\w*$/;function Zc(e,t){if(Na(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!Ra(e))||Xc.test(e)||!qc.test(e)||null!=t&&e in Object(t)}var Qc=ys(Object,"create"),Jc=Object.prototype.hasOwnProperty,eu=Object.prototype.hasOwnProperty;function tu(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function nu(e,t){for(var n=e.length;n--;)if(Ql(e[n][0],t))return n;return-1}tu.prototype.clear=function(){this.__data__=Qc?Qc(null):{},this.size=0},tu.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},tu.prototype.get=function(e){var t=this.__data__;if(Qc){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return Jc.call(t,e)?t[e]:void 0},tu.prototype.has=function(e){var t=this.__data__;return Qc?void 0!==t[e]:eu.call(t,e)},tu.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=Qc&&void 0===t?"__lodash_hash_undefined__":t,this};var ru=Array.prototype.splice;function iu(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}iu.prototype.clear=function(){this.__data__=[],this.size=0},iu.prototype.delete=function(e){var t=this.__data__,n=nu(t,e);return!(n<0||(n==t.length-1?t.pop():ru.call(t,n,1),--this.size,0))},iu.prototype.get=function(e){var t=this.__data__,n=nu(t,e);return n<0?void 0:t[n][1]},iu.prototype.has=function(e){return nu(this.__data__,e)>-1},iu.prototype.set=function(e,t){var n=this.__data__,r=nu(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this};var ou=ys(fa,"Map");function au(e,t){var n=e.__data__;return function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}(t)?n["string"==typeof t?"string":"hash"]:n.map}function su(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}su.prototype.clear=function(){this.size=0,this.__data__={hash:new tu,map:new(ou||iu),string:new tu}},su.prototype.delete=function(e){var t=au(this,e).delete(e);return this.size-=t?1:0,t},su.prototype.get=function(e){return au(this,e).get(e)},su.prototype.has=function(e){return au(this,e).has(e)},su.prototype.set=function(e,t){var n=au(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this};function lu(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=e.apply(this,r);return n.cache=o.set(i,a)||o,a};return n.cache=new(lu.Cache||su),n}lu.Cache=su;var cu=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,uu=/\\(\\)?/g,hu=function(e){var t=lu((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(cu,(function(e,n,r,i){t.push(r?i.replace(uu,"$1"):n||e)})),t}),(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}(),pu=hu;function du(e){return null==e?"":Pa(e)}function fu(e,t){return Na(e)?e:Zc(e,t)?[e]:pu(du(e))}var mu=1/0;function gu(e){if("string"==typeof e||Ra(e))return e;var t=e+"";return"0"==t&&1/e==-mu?"-0":t}function yu(e,t){for(var n=0,r=(t=fu(t,e)).length;null!=e&&n<r;)e=e[gu(t[n++])];return n&&n==r?e:void 0}function vu(e,t,n){var r=null==e?void 0:yu(e,t);return void 0===r?n:r}function _u(e,t){for(var n=-1,r=t.length,i=Array(r),o=null==e;++n<r;)i[n]=o?void 0:vu(e,t[n]);return i}function bu(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}var Eu=ma?ma.isConcatSpreadable:void 0;function Tu(e){return Na(e)||yc(e)||!!(Eu&&e&&e[Eu])}function xu(e,t,n,r,i){var o=-1,a=e.length;for(n||(n=Tu),i||(i=[]);++o<a;){var s=e[o];t>0&&n(s)?t>1?xu(s,t-1,n,r,i):bu(i,s):r||(i[i.length]=s)}return i}function Su(e){return null!=e&&e.length?xu(e,1):[]}function Cu(e){return rl(rc(e,void 0,Su),e+"")}var Au=Cu(_u),Ru=kc(Object.getPrototypeOf,Object),wu="[object Object]",Lu=Function.prototype,Ou=Object.prototype,Nu=Lu.toString,Iu=Ou.hasOwnProperty,ku=Nu.call(Object);function Du(e){if(!Ca(e)||Sa(e)!=wu)return!1;var t=Ru(e);if(null===t)return!0;var n=Iu.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&Nu.call(n)==ku}function Pu(e){if(!Ca(e))return!1;var t=Sa(e);return"[object Error]"==t||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!Du(e)}var Mu=ic((function(e,t){try{return Rs(e,void 0,t)}catch(e){return Pu(e)?e:new Error(e)}})),Fu=Mu;function Hu(e,t){var n;if("function"!=typeof t)throw new TypeError("Expected a function");return e=Qa(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=void 0),n}}var Bu=ic((function(e,t,n){var r=1;if(n.length){var i=Sl(n,vl(Bu));r|=32}return ql(e,r,t,n,i)}));Bu.placeholder={};var Uu=Bu,ju=Cu((function(e,t){return il(t,(function(t){t=gu(t),Zl(e,t,Uu(e[t],e))})),e})),Gu=ju,Yu=ic((function(e,t,n){var r=3;if(n.length){var i=Sl(n,vl(Yu));r|=32}return ql(t,r,e,n,i)}));Yu.placeholder={};var zu=Yu;function $u(e,t,n){var r=-1,i=e.length;t<0&&(t=-t>i?0:i+t),(n=n>i?i:n)<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var o=Array(i);++r<i;)o[r]=e[r+t];return o}function Wu(e,t,n){var r=e.length;return n=void 0===n?r:n,!t&&n>=r?e:$u(e,t,n)}var Vu=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");function Ku(e){return Vu.test(e)}var qu="\\ud800-\\udfff",Xu="["+qu+"]",Zu="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",Qu="\\ud83c[\\udffb-\\udfff]",Ju="[^"+qu+"]",eh="(?:\\ud83c[\\udde6-\\uddff]){2}",th="[\\ud800-\\udbff][\\udc00-\\udfff]",nh="(?:"+Zu+"|"+Qu+")?",rh="[\\ufe0e\\ufe0f]?",ih=rh+nh+"(?:\\u200d(?:"+[Ju,eh,th].join("|")+")"+rh+nh+")*",oh="(?:"+[Ju+Zu+"?",Zu,eh,th,Xu].join("|")+")",ah=RegExp(Qu+"(?="+Qu+")|"+oh+ih,"g");function sh(e){return Ku(e)?function(e){return e.match(ah)||[]}(e):function(e){return e.split("")}(e)}function lh(e){return function(t){var n=Ku(t=du(t))?sh(t):void 0,r=n?n[0]:t.charAt(0),i=n?Wu(n,1).join(""):t.slice(1);return r[e]()+i}}var ch=lh("toUpperCase");function uh(e){return ch(du(e).toLowerCase())}function hh(e,t,n,r){var i=-1,o=null==e?0:e.length;for(r&&o&&(n=e[++i]);++i<o;)n=t(n,e[i],i,e);return n}function ph(e){return function(t){return null==e?void 0:e[t]}}var dh=ph({À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"}),fh=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,mh=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");function gh(e){return(e=du(e))&&e.replace(fh,dh).replace(mh,"")}var yh=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,vh=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,_h="\\ud800-\\udfff",bh="\\u2700-\\u27bf",Eh="a-z\\xdf-\\xf6\\xf8-\\xff",Th="A-Z\\xc0-\\xd6\\xd8-\\xde",xh="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Sh="["+xh+"]",Ch="\\d+",Ah="["+bh+"]",Rh="["+Eh+"]",wh="[^"+_h+xh+Ch+bh+Eh+Th+"]",Lh="(?:\\ud83c[\\udde6-\\uddff]){2}",Oh="[\\ud800-\\udbff][\\udc00-\\udfff]",Nh="["+Th+"]",Ih="(?:"+Rh+"|"+wh+")",kh="(?:"+Nh+"|"+wh+")",Dh="(?:['’](?:d|ll|m|re|s|t|ve))?",Ph="(?:['’](?:D|LL|M|RE|S|T|VE))?",Mh="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",Fh="[\\ufe0e\\ufe0f]?",Hh=Fh+Mh+"(?:\\u200d(?:"+["[^"+_h+"]",Lh,Oh].join("|")+")"+Fh+Mh+")*",Bh="(?:"+[Ah,Lh,Oh].join("|")+")"+Hh,Uh=RegExp([Nh+"?"+Rh+"+"+Dh+"(?="+[Sh,Nh,"$"].join("|")+")",kh+"+"+Ph+"(?="+[Sh,Nh+Ih,"$"].join("|")+")",Nh+"?"+Ih+"+"+Dh,Nh+"+"+Ph,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Ch,Bh].join("|"),"g");function jh(e,t,n){return e=du(e),void 0===(t=n?void 0:t)?function(e){return vh.test(e)}(e)?function(e){return e.match(Uh)||[]}(e):function(e){return e.match(yh)||[]}(e):e.match(t)||[]}var Gh=RegExp("['’]","g");function Yh(e){return function(t){return hh(jh(gh(t).replace(Gh,"")),e,"")}}var zh=Yh((function(e,t,n){return t=t.toLowerCase(),e+(n?uh(t):t)})),$h=fa.isFinite,Wh=Math.min;function Vh(e){var t=Math[e];return function(e,n){if(e=Ka(e),(n=null==n?0:Wh(Qa(n),292))&&$h(e)){var r=(du(e)+"e").split("e");return+((r=(du(t(r[0]+"e"+(+r[1]+n)))+"e").split("e"))[0]+"e"+(+r[1]-n))}return t(e)}}var Kh=Vh("ceil");function qh(e){var t=$s(e);return t.__chain__=!0,t}var Xh=Math.ceil,Zh=Math.max;function Qh(e,t,n){return e==e&&(void 0!==n&&(e=e<=n?e:n),void 0!==t&&(e=e>=t?e:t)),e}function Jh(e,t,n){return void 0===n&&(n=t,t=void 0),void 0!==n&&(n=(n=Ka(n))==n?n:0),void 0!==t&&(t=(t=Ka(t))==t?t:0),Qh(Ka(e),t,n)}function ep(e){var t=this.__data__=new iu(e);this.size=t.size}function tp(e,t){return e&&tc(t,Fc(t),e)}ep.prototype.clear=function(){this.__data__=new iu,this.size=0},ep.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},ep.prototype.get=function(e){return this.__data__.get(e)},ep.prototype.has=function(e){return this.__data__.has(e)},ep.prototype.set=function(e,t){var n=this.__data__;if(n instanceof iu){var r=n.__data__;if(!ou||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new su(r)}return n.set(e,t),this.size=n.size,this};var np="object"==typeof exports&&exports&&!exports.nodeType&&exports,rp=np&&e&&!e.nodeType&&e,ip=rp&&rp.exports===np?fa.Buffer:void 0,op=ip?ip.allocUnsafe:void 0;function ap(e,t){if(t)return e.slice();var n=e.length,r=op?op(n):new e.constructor(n);return e.copy(r),r}function sp(e,t){for(var n=-1,r=null==e?0:e.length,i=0,o=[];++n<r;){var a=e[n];t(a,n,e)&&(o[i++]=a)}return o}function lp(){return[]}var cp=Object.prototype.propertyIsEnumerable,up=Object.getOwnPropertySymbols,hp=up?function(e){return null==e?[]:(e=Object(e),sp(up(e),(function(t){return cp.call(e,t)})))}:lp,pp=hp,dp=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)bu(t,pp(e)),e=Ru(e);return t}:lp,fp=dp;function mp(e,t,n){var r=t(e);return Na(e)?r:bu(r,n(e))}function gp(e){return mp(e,Fc,pp)}function yp(e){return mp(e,Gc,fp)}var vp=ys(fa,"DataView"),_p=ys(fa,"Promise"),bp=ys(fa,"Set"),Ep="[object Map]",Tp="[object Promise]",xp="[object Set]",Sp="[object WeakMap]",Cp="[object DataView]",Ap=cs(vp),Rp=cs(ou),wp=cs(_p),Lp=cs(bp),Op=cs(vs),Np=Sa;(vp&&Np(new vp(new ArrayBuffer(1)))!=Cp||ou&&Np(new ou)!=Ep||_p&&Np(_p.resolve())!=Tp||bp&&Np(new bp)!=xp||vs&&Np(new vs)!=Sp)&&(Np=function(e){var t=Sa(e),n="[object Object]"==t?e.constructor:void 0,r=n?cs(n):"";if(r)switch(r){case Ap:return Cp;case Rp:return Ep;case wp:return Tp;case Lp:return xp;case Op:return Sp}return t});var Ip=Np,kp=Object.prototype.hasOwnProperty,Dp=fa.Uint8Array;function Pp(e){var t=new e.constructor(e.byteLength);return new Dp(t).set(new Dp(e)),t}var Mp=/\w*$/,Fp=ma?ma.prototype:void 0,Hp=Fp?Fp.valueOf:void 0;function Bp(e,t){var n=t?Pp(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}var Up="[object Boolean]",jp="[object Date]",Gp="[object Map]",Yp="[object Number]",zp="[object RegExp]",$p="[object Set]",Wp="[object String]",Vp="[object Symbol]",Kp="[object ArrayBuffer]",qp="[object DataView]",Xp="[object Float32Array]",Zp="[object Float64Array]",Qp="[object Int8Array]",Jp="[object Int16Array]",ed="[object Int32Array]",td="[object Uint8Array]",nd="[object Uint8ClampedArray]",rd="[object Uint16Array]",id="[object Uint32Array]";function od(e){return"function"!=typeof e.constructor||hc(e)?{}:Ss(Ru(e))}var ad=wc&&wc.isMap,sd=ad?Sc(ad):function(e){return Ca(e)&&"[object Map]"==Ip(e)},ld=wc&&wc.isSet,cd=ld?Sc(ld):function(e){return Ca(e)&&"[object Set]"==Ip(e)},ud=1,hd=2,pd=4,dd="[object Arguments]",fd="[object Function]",md="[object GeneratorFunction]",gd="[object Object]",yd={};function vd(e,t,n,r,i,o){var a,s=t&ud,l=t&hd,c=t&pd;if(n&&(a=i?n(e,r,i,o):n(e)),void 0!==a)return a;if(!Ga(e))return e;var u=Na(e);if(u){if(a=function(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&&kp.call(e,"index")&&(n.index=e.index,n.input=e.input),n}(e),!s)return Gs(e,a)}else{var h=Ip(e),p=h==fd||h==md;if(Tc(e))return ap(e,s);if(h==gd||h==dd||p&&!i){if(a=l||p?{}:od(e),!s)return l?function(e,t){return tc(e,fp(e),t)}(e,function(e,t){return e&&tc(t,Gc(t),e)}(a,e)):function(e,t){return tc(e,pp(e),t)}(e,tp(a,e))}else{if(!yd[h])return i?e:{};a=function(e,t,n){var r,i,o,a=e.constructor;switch(t){case Kp:return Pp(e);case Up:case jp:return new a(+e);case qp:return function(e,t){var n=t?Pp(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,n);case Xp:case Zp:case Qp:case Jp:case ed:case td:case nd:case rd:case id:return Bp(e,n);case Gp:return new a;case Yp:case Wp:return new a(e);case zp:return(o=new(i=e).constructor(i.source,Mp.exec(i))).lastIndex=i.lastIndex,o;case $p:return new a;case Vp:return r=e,Hp?Object(Hp.call(r)):{}}}(e,h,s)}}o||(o=new ep);var d=o.get(e);if(d)return d;o.set(e,a),cd(e)?e.forEach((function(r){a.add(vd(r,t,n,r,e,o))})):sd(e)&&e.forEach((function(r,i){a.set(i,vd(r,t,n,i,e,o))}));var f=u?void 0:(c?l?yp:gp:l?Gc:Fc)(e);return il(f||e,(function(r,i){f&&(r=e[i=r]),ec(a,i,vd(r,t,n,i,e,o))})),a}function _d(e){return vd(e,4)}function bd(e){return vd(e,5)}function Ed(e){for(var t=-1,n=null==e?0:e.length,r=0,i=[];++t<n;){var o=e[t];o&&(i[r++]=o)}return i}function Td(){var e=arguments.length;if(!e)return[];for(var t=Array(e-1),n=arguments[0],r=e;r--;)t[r-1]=arguments[r];return bu(Na(n)?Gs(n):[n],xu(t,1))}function xd(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new su;++t<n;)this.add(e[t])}function Sd(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}function Cd(e,t){return e.has(t)}yd[dd]=yd["[object Array]"]=yd["[object ArrayBuffer]"]=yd["[object DataView]"]=yd["[object Boolean]"]=yd["[object Date]"]=yd["[object Float32Array]"]=yd["[object Float64Array]"]=yd["[object Int8Array]"]=yd["[object Int16Array]"]=yd["[object Int32Array]"]=yd["[object Map]"]=yd["[object Number]"]=yd[gd]=yd["[object RegExp]"]=yd["[object Set]"]=yd["[object String]"]=yd["[object Symbol]"]=yd["[object Uint8Array]"]=yd["[object Uint8ClampedArray]"]=yd["[object Uint16Array]"]=yd["[object Uint32Array]"]=!0,yd["[object Error]"]=yd[fd]=yd["[object WeakMap]"]=!1,xd.prototype.add=xd.prototype.push=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this},xd.prototype.has=function(e){return this.__data__.has(e)};var Ad=1,Rd=2;function wd(e,t,n,r,i,o){var a=n&Ad,s=e.length,l=t.length;if(s!=l&&!(a&&l>s))return!1;var c=o.get(e),u=o.get(t);if(c&&u)return c==t&&u==e;var h=-1,p=!0,d=n&Rd?new xd:void 0;for(o.set(e,t),o.set(t,e);++h<s;){var f=e[h],m=t[h];if(r)var g=a?r(m,f,h,t,e,o):r(f,m,h,e,t,o);if(void 0!==g){if(g)continue;p=!1;break}if(d){if(!Sd(t,(function(e,t){if(!Cd(d,t)&&(f===e||i(f,e,n,r,o)))return d.push(t)}))){p=!1;break}}else if(f!==m&&!i(f,m,n,r,o)){p=!1;break}}return o.delete(e),o.delete(t),p}function Ld(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function Od(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}var Nd=1,Id=2,kd="[object Boolean]",Dd="[object Date]",Pd="[object Error]",Md="[object Map]",Fd="[object Number]",Hd="[object RegExp]",Bd="[object Set]",Ud="[object String]",jd="[object Symbol]",Gd="[object ArrayBuffer]",Yd="[object DataView]",zd=ma?ma.prototype:void 0,$d=zd?zd.valueOf:void 0,Wd=1,Vd=Object.prototype.hasOwnProperty,Kd=1,qd="[object Arguments]",Xd="[object Array]",Zd="[object Object]",Qd=Object.prototype.hasOwnProperty;function Jd(e,t,n,r,i){return e===t||(null==e||null==t||!Ca(e)&&!Ca(t)?e!=e&&t!=t:function(e,t,n,r,i,o){var a=Na(e),s=Na(t),l=a?Xd:Ip(e),c=s?Xd:Ip(t),u=(l=l==qd?Zd:l)==Zd,h=(c=c==qd?Zd:c)==Zd,p=l==c;if(p&&Tc(e)){if(!Tc(t))return!1;a=!0,u=!1}if(p&&!u)return o||(o=new ep),a||Oc(e)?wd(e,t,n,r,i,o):function(e,t,n,r,i,o,a){switch(n){case Yd:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case Gd:return!(e.byteLength!=t.byteLength||!o(new Dp(e),new Dp(t)));case kd:case Dd:case Fd:return Ql(+e,+t);case Pd:return e.name==t.name&&e.message==t.message;case Hd:case Ud:return e==t+"";case Md:var s=Ld;case Bd:var l=r&Nd;if(s||(s=Od),e.size!=t.size&&!l)return!1;var c=a.get(e);if(c)return c==t;r|=Id,a.set(e,t);var u=wd(s(e),s(t),r,i,o,a);return a.delete(e),u;case jd:if($d)return $d.call(e)==$d.call(t)}return!1}(e,t,l,n,r,i,o);if(!(n&Kd)){var d=u&&Qd.call(e,"__wrapped__"),f=h&&Qd.call(t,"__wrapped__");if(d||f){var m=d?e.value():e,g=f?t.value():t;return o||(o=new ep),i(m,g,n,r,o)}}return!!p&&(o||(o=new ep),function(e,t,n,r,i,o){var a=n&Wd,s=gp(e),l=s.length;if(l!=gp(t).length&&!a)return!1;for(var c=l;c--;){var u=s[c];if(!(a?u in t:Vd.call(t,u)))return!1}var h=o.get(e),p=o.get(t);if(h&&p)return h==t&&p==e;var d=!0;o.set(e,t),o.set(t,e);for(var f=a;++c<l;){var m=e[u=s[c]],g=t[u];if(r)var y=a?r(g,m,u,t,e,o):r(m,g,u,e,t,o);if(!(void 0===y?m===g||i(m,g,n,r,o):y)){d=!1;break}f||(f="constructor"==u)}if(d&&!f){var v=e.constructor,_=t.constructor;v==_||!("constructor"in e)||!("constructor"in t)||"function"==typeof v&&v instanceof v&&"function"==typeof _&&_ instanceof _||(d=!1)}return o.delete(e),o.delete(t),d}(e,t,n,r,i,o))}(e,t,n,r,Jd,i))}var ef=1,tf=2;function nf(e,t,n,r){var i=n.length,o=i,a=!r;if(null==e)return!o;for(e=Object(e);i--;){var s=n[i];if(a&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++i<o;){var l=(s=n[i])[0],c=e[l],u=s[1];if(a&&s[2]){if(void 0===c&&!(l in e))return!1}else{var h=new ep;if(r)var p=r(c,u,l,e,t,h);if(!(void 0===p?Jd(u,c,ef|tf,r,h):p))return!1}}return!0}function rf(e){return e==e&&!Ga(e)}function of(e){for(var t=Fc(e),n=t.length;n--;){var r=t[n],i=e[r];t[n]=[r,i,rf(i)]}return t}function af(e,t){return function(n){return null!=n&&n[e]===t&&(void 0!==t||e in Object(n))}}function sf(e){var t=of(e);return 1==t.length&&t[0][2]?af(t[0][0],t[0][1]):function(n){return n===e||nf(n,e,t)}}function lf(e,t){return null!=e&&t in Object(e)}function cf(e,t,n){for(var r=-1,i=(t=fu(t,e)).length,o=!1;++r<i;){var a=gu(t[r]);if(!(o=null!=e&&n(e,a)))break;e=e[a]}return o||++r!=i?o:!!(i=null==e?0:e.length)&&ac(i)&&El(a,i)&&(Na(e)||yc(e))}function uf(e,t){return null!=e&&cf(e,t,lf)}var hf=1,pf=2;function df(e,t){return Zc(e)&&rf(t)?af(gu(e),t):function(n){var r=vu(n,e);return void 0===r&&r===t?uf(n,e):Jd(t,r,hf|pf)}}function ff(e){return function(t){return null==t?void 0:t[e]}}function mf(e){return Zc(e)?ff(gu(e)):function(e){return function(t){return yu(t,e)}}(e)}function gf(e){return"function"==typeof e?e:null==e?Ja:"object"==typeof e?Na(e)?df(e[0],e[1]):sf(e):mf(e)}function yf(e){var t=null==e?0:e.length,n=gf;return e=t?Oa(e,(function(e){if("function"!=typeof e[1])throw new TypeError("Expected a function");return[n(e[0]),e[1]]})):[],ic((function(n){for(var r=-1;++r<t;){var i=e[r];if(Rs(i[0],this,n))return Rs(i[1],this,n)}}))}function vf(e,t,n){var r=n.length;if(null==e)return!r;for(e=Object(e);r--;){var i=n[r],o=t[i],a=e[i];if(void 0===a&&!(i in e)||!o(a))return!1}return!0}function _f(e,t,n,r){for(var i=-1,o=null==e?0:e.length;++i<o;){var a=e[i];t(r,a,n(a),e)}return r}function bf(e){return function(t,n,r){for(var i=-1,o=Object(t),a=r(t),s=a.length;s--;){var l=a[e?s:++i];if(!1===n(o[l],l,o))break}return t}}var Ef=bf();function Tf(e,t){return e&&Ef(e,t,Fc)}function xf(e,t){return function(n,r){if(null==n)return n;if(!sc(n))return e(n,r);for(var i=n.length,o=t?i:-1,a=Object(n);(t?o--:++o<i)&&!1!==r(a[o],o,a););return n}}var Sf=xf(Tf);function Cf(e,t,n,r){return Sf(e,(function(e,i,o){t(r,e,n(e),o)})),r}function Af(e,t){return function(n,r){var i=Na(n)?_f:Cf,o=t?t():{};return i(n,e,gf(r),o)}}var Rf=Object.prototype.hasOwnProperty,wf=Af((function(e,t,n){Rf.call(e,n)?++e[n]:Zl(e,n,1)}));function Lf(e,t,n){var r=ql(e,8,void 0,void 0,void 0,void 0,void 0,t=n?void 0:t);return r.placeholder=Lf.placeholder,r}function Of(e,t,n){var r=ql(e,16,void 0,void 0,void 0,void 0,void 0,t=n?void 0:t);return r.placeholder=Of.placeholder,r}Lf.placeholder={},Of.placeholder={};var Nf=function(){return fa.Date.now()},If="Expected a function",kf=Math.max,Df=Math.min;function Pf(e,t,n){var r,i,o,a,s,l,c=0,u=!1,h=!1,p=!0;if("function"!=typeof e)throw new TypeError(If);function d(t){var n=r,o=i;return r=i=void 0,c=t,a=e.apply(o,n)}function f(e){var n=e-l;return void 0===l||n>=t||n<0||h&&e-c>=o}function m(){var e=Nf();if(f(e))return g(e);s=setTimeout(m,function(e){var n=t-(e-l);return h?Df(n,o-(e-c)):n}(e))}function g(e){return s=void 0,p&&r?d(e):(r=i=void 0,a)}function y(){var e=Nf(),n=f(e);if(r=arguments,i=this,l=e,n){if(void 0===s)return function(e){return c=e,s=setTimeout(m,t),u?d(e):a}(l);if(h)return clearTimeout(s),s=setTimeout(m,t),d(l)}return void 0===s&&(s=setTimeout(m,t)),a}return t=Ka(t)||0,Ga(n)&&(u=!!n.leading,o=(h="maxWait"in n)?kf(Ka(n.maxWait)||0,t):o,p="trailing"in n?!!n.trailing:p),y.cancel=function(){void 0!==s&&clearTimeout(s),c=0,r=l=i=s=void 0},y.flush=function(){return void 0===s?a:g(Nf())},y}var Mf=Object.prototype,Ff=Mf.hasOwnProperty,Hf=ic((function(e,t){e=Object(e);var n=-1,r=t.length,i=r>2?t[2]:void 0;for(i&&lc(t[0],t[1],i)&&(r=1);++n<r;)for(var o=t[n],a=Gc(o),s=-1,l=a.length;++s<l;){var c=a[s],u=e[c];(void 0===u||Ql(u,Mf[c])&&!Ff.call(e,c))&&(e[c]=o[c])}return e})),Bf=Hf;function Uf(e,t,n){(void 0!==n&&!Ql(e[t],n)||void 0===n&&!(t in e))&&Zl(e,t,n)}function jf(e){return Ca(e)&&sc(e)}function Gf(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}function Yf(e){return tc(e,Gc(e))}function zf(e,t,n,r,i){e!==t&&Ef(t,(function(o,a){if(i||(i=new ep),Ga(o))!function(e,t,n,r,i,o,a){var s=Gf(e,n),l=Gf(t,n),c=a.get(l);if(c)Uf(e,n,c);else{var u=o?o(s,l,n+"",e,t,a):void 0,h=void 0===u;if(h){var p=Na(l),d=!p&&Tc(l),f=!p&&!d&&Oc(l);u=l,p||d||f?Na(s)?u=s:jf(s)?u=Gs(s):d?(h=!1,u=ap(l,!0)):f?(h=!1,u=Bp(l,!0)):u=[]:Du(l)||yc(l)?(u=s,yc(s)?u=Yf(s):Ga(s)&&!is(s)||(u=od(l))):h=!1}h&&(a.set(l,u),i(u,l,r,o,a),a.delete(l)),Uf(e,n,u)}}(e,t,a,n,zf,r,i);else{var s=r?r(Gf(e,a),o,a+"",e,t,i):void 0;void 0===s&&(s=o),Uf(e,a,s)}}),Gc)}function $f(e,t,n,r,i,o){return Ga(e)&&Ga(t)&&(o.set(t,e),zf(e,t,void 0,$f,o),o.delete(t)),e}var Wf=cc((function(e,t,n,r){zf(e,t,n,r)})),Vf=Wf,Kf=ic((function(e){return e.push(void 0,$f),Rs(Vf,void 0,e)}));function qf(e,t,n){if("function"!=typeof e)throw new TypeError("Expected a function");return setTimeout((function(){e.apply(void 0,n)}),t)}var Xf=ic((function(e,t){return qf(e,1,t)})),Zf=Xf,Qf=ic((function(e,t,n){return qf(e,Ka(t)||0,n)})),Jf=Qf;function em(e,t,n){for(var r=-1,i=null==e?0:e.length;++r<i;)if(n(t,e[r]))return!0;return!1}var tm=200;function nm(e,t,n,r){var i=-1,o=ll,a=!0,s=e.length,l=[],c=t.length;if(!s)return l;n&&(t=Oa(t,Sc(n))),r?(o=em,a=!1):t.length>=tm&&(o=Cd,a=!1,t=new xd(t));e:for(;++i<s;){var u=e[i],h=null==n?u:n(u);if(u=r||0!==u?u:0,a&&h==h){for(var p=c;p--;)if(t[p]===h)continue e;l.push(u)}else o(t,h,r)||l.push(u)}return l}var rm=ic((function(e,t){return jf(e)?nm(e,xu(t,1,jf,!0)):[]})),im=rm;function om(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}var am=ic((function(e,t){var n=om(t);return jf(n)&&(n=void 0),jf(e)?nm(e,xu(t,1,jf,!0),gf(n)):[]})),sm=am,lm=ic((function(e,t){var n=om(t);return jf(n)&&(n=void 0),jf(e)?nm(e,xu(t,1,jf,!0),void 0,n):[]})),cm=lm,um=Ma((function(e,t){return e/t}),1);function hm(e,t,n,r){for(var i=e.length,o=r?i:-1;(r?o--:++o<i)&&t(e[o],o,e););return n?$u(e,r?0:o,r?o+1:i):$u(e,r?o+1:0,r?i:o)}function pm(e){return"function"==typeof e?e:Ja}function dm(e,t){return(Na(e)?il:Sf)(e,pm(t))}function fm(e,t){for(var n=null==e?0:e.length;n--&&!1!==t(e[n],n,e););return e}var mm=bf(!0);function gm(e,t){return e&&mm(e,t,Fc)}var ym=xf(gm,!0);function vm(e,t){return(Na(e)?fm:ym)(e,pm(t))}function _m(e,t,n){e=du(e),t=Pa(t);var r=e.length,i=n=void 0===n?r:Qh(Qa(n),0,r);return(n-=t.length)>=0&&e.slice(n,i)==t}function bm(e){return function(t){var n=Ip(t);return"[object Map]"==n?Ld(t):"[object Set]"==n?function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=[e,e]})),n}(t):function(e,t){return Oa(t,(function(t){return[t,e[t]]}))}(t,e(t))}}var Em=bm(Fc),Tm=bm(Gc),xm=ph({"&":"&","<":"<",">":">",'"':""","'":"'"}),Sm=/[&<>"']/g,Cm=RegExp(Sm.source);function Am(e){return(e=du(e))&&Cm.test(e)?e.replace(Sm,xm):e}var Rm=/[\\^$.*+?()[\]{}|]/g,wm=RegExp(Rm.source);function Lm(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(!t(e[n],n,e))return!1;return!0}function Om(e,t){var n=!0;return Sf(e,(function(e,r,i){return n=!!t(e,r,i)})),n}function Nm(e,t,n){var r=Na(e)?Lm:Om;return n&&lc(e,t,n)&&(t=void 0),r(e,gf(t))}function Im(e){return e?Qh(Qa(e),0,4294967295):0}function km(e,t){var n=[];return Sf(e,(function(e,r,i){t(e,r,i)&&n.push(e)})),n}function Dm(e,t){return(Na(e)?sp:km)(e,gf(t))}function Pm(e){return function(t,n,r){var i=Object(t);if(!sc(t)){var o=gf(n);t=Fc(t),n=function(e){return o(i[e],e,i)}}var a=e(t,n,r);return a>-1?i[o?t[a]:a]:void 0}}var Mm=Math.max;function Fm(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=null==n?0:Qa(n);return i<0&&(i=Mm(r+i,0)),ol(e,gf(t),i)}var Hm=Pm(Fm);function Bm(e,t,n){var r;return n(e,(function(e,n,i){if(t(e,n,i))return r=n,!1})),r}var Um=Math.max,jm=Math.min;function Gm(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=r-1;return void 0!==n&&(i=Qa(n),i=n<0?Um(r+i,0):jm(i,r-1)),ol(e,gf(t),i,!0)}var Ym=Pm(Gm);function zm(e){return e&&e.length?e[0]:void 0}function $m(e,t){var n=-1,r=sc(e)?Array(e.length):[];return Sf(e,(function(e,i,o){r[++n]=t(e,i,o)})),r}function Wm(e,t){return(Na(e)?Oa:$m)(e,gf(t))}var Vm=Vh("floor");function Km(e){return Cu((function(t){var n=t.length,r=n,i=js.prototype.thru;for(e&&t.reverse();r--;){var o=t[r];if("function"!=typeof o)throw new TypeError("Expected a function");if(i&&!a&&"wrapper"==Us(o))var a=new js([],!0)}for(r=a?r:n;++r<n;){var s=Us(o=t[r]),l="wrapper"==s?Fs(o):void 0;a=l&&Ws(l[0])&&424==l[1]&&!l[4].length&&1==l[9]?a[Us(l[0])].apply(a,l[3]):1==o.length&&Ws(o)?a[s]():a.thru(o)}return function(){var e=arguments,r=e[0];if(a&&1==e.length&&Na(r))return a.plant(r).value();for(var i=0,o=n?t[i].apply(this,e):r;++i<n;)o=t[i].call(this,o);return o}}))}var qm=Km(),Xm=Km(!0);function Zm(e,t){return null==e?e:Ef(e,pm(t),Gc)}function Qm(e,t){return sp(t,(function(t){return is(e[t])}))}var Jm=Object.prototype.hasOwnProperty,eg=Af((function(e,t,n){Jm.call(e,n)?e[n].push(t):Zl(e,n,[t])}));function tg(e,t){return e>t}function ng(e){return function(t,n){return"string"==typeof t&&"string"==typeof n||(t=Ka(t),n=Ka(n)),e(t,n)}}var rg=ng(tg),ig=ng((function(e,t){return e>=t})),og=Object.prototype.hasOwnProperty;function ag(e,t){return null!=e&&og.call(e,t)}function sg(e,t){return null!=e&&cf(e,t,ag)}var lg=Math.max,cg=Math.min;function ug(e,t,n){return t=Za(t),void 0===n?(n=t,t=0):n=Za(n),function(e,t,n){return e>=cg(t,n)&&e<lg(t,n)}(e=Ka(e),t,n)}var hg="[object String]";function pg(e){return"string"==typeof e||!Na(e)&&Ca(e)&&Sa(e)==hg}function dg(e,t){return Oa(t,(function(t){return e[t]}))}function fg(e){return null==e?[]:dg(e,Fc(e))}var mg=Math.max;function gg(e,t,n,r){e=sc(e)?e:fg(e),n=n&&!r?Qa(n):0;var i=e.length;return n<0&&(n=mg(i+n,0)),pg(e)?n<=i&&e.indexOf(t,n)>-1:!!i&&sl(e,t,n)>-1}var yg=Math.max;function vg(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=null==n?0:Qa(n);return i<0&&(i=yg(r+i,0)),sl(e,t,i)}var _g=Math.min;function bg(e,t,n){for(var r=n?em:ll,i=e[0].length,o=e.length,a=o,s=Array(o),l=1/0,c=[];a--;){var u=e[a];a&&t&&(u=Oa(u,Sc(t))),l=_g(u.length,l),s[a]=!n&&(t||i>=120&&u.length>=120)?new xd(a&&u):void 0}u=e[0];var h=-1,p=s[0];e:for(;++h<i&&c.length<l;){var d=u[h],f=t?t(d):d;if(d=n||0!==d?d:0,!(p?Cd(p,f):r(c,f,n))){for(a=o;--a;){var m=s[a];if(!(m?Cd(m,f):r(e[a],f,n)))continue e}p&&p.push(f),c.push(d)}}return c}function Eg(e){return jf(e)?e:[]}var Tg=ic((function(e){var t=Oa(e,Eg);return t.length&&t[0]===e[0]?bg(t):[]})),xg=ic((function(e){var t=om(e),n=Oa(e,Eg);return t===om(n)?t=void 0:n.pop(),n.length&&n[0]===e[0]?bg(n,gf(t)):[]})),Sg=ic((function(e){var t=om(e),n=Oa(e,Eg);return(t="function"==typeof t?t:void 0)&&n.pop(),n.length&&n[0]===e[0]?bg(n,void 0,t):[]}));function Cg(e,t){return function(n,r){return function(e,t,n,r){return Tf(e,(function(e,i,o){t(r,n(e),i,o)})),r}(n,e,t(r),{})}}var Ag=Object.prototype.toString,Rg=Cg((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=Ag.call(t)),e[t]=n}),Js(Ja)),wg=Object.prototype,Lg=wg.hasOwnProperty,Og=wg.toString,Ng=Cg((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=Og.call(t)),Lg.call(e,t)?e[t].push(n):e[t]=[n]}),gf);function Ig(e,t){return t.length<2?e:yu(e,$u(t,0,-1))}function kg(e,t,n){var r=null==(e=Ig(e,t=fu(t,e)))?e:e[gu(om(t))];return null==r?void 0:Rs(r,e,n)}var Dg=ic(kg),Pg=ic((function(e,t,n){var r=-1,i="function"==typeof t,o=sc(e)?Array(e.length):[];return Sf(e,(function(e){o[++r]=i?Rs(t,e,n):kg(e,t,n)})),o})),Mg=Pg,Fg=wc&&wc.isArrayBuffer,Hg=Fg?Sc(Fg):function(e){return Ca(e)&&"[object ArrayBuffer]"==Sa(e)};function Bg(e){return!0===e||!1===e||Ca(e)&&"[object Boolean]"==Sa(e)}var Ug=wc&&wc.isDate,jg=Ug?Sc(Ug):function(e){return Ca(e)&&"[object Date]"==Sa(e)},Gg="[object Map]",Yg="[object Set]",zg=Object.prototype.hasOwnProperty;function $g(e){if(null==e)return!0;if(sc(e)&&(Na(e)||"string"==typeof e||"function"==typeof e.splice||Tc(e)||Oc(e)||yc(e)))return!e.length;var t=Ip(e);if(t==Gg||t==Yg)return!e.size;if(hc(e))return!Mc(e).length;for(var n in e)if(zg.call(e,n))return!1;return!0}function Wg(e,t){return Jd(e,t)}var Vg=fa.isFinite;function Kg(e){return"number"==typeof e&&e==Qa(e)}var qg="[object Number]";function Xg(e){return"number"==typeof e||Ca(e)&&Sa(e)==qg}function Zg(e){return Xg(e)&&e!=+e}var Qg=as?is:vc;function Jg(e){return null==e}var ey=wc&&wc.isRegExp,ty=ey?Sc(ey):function(e){return Ca(e)&&"[object RegExp]"==Sa(e)};function ny(e){return void 0===e}var ry=Array.prototype.join,iy=Yh((function(e,t,n){return e+(n?"-":"")+t.toLowerCase()})),oy=Af((function(e,t,n){Zl(e,n,t)})),ay=Math.max,sy=Math.min,ly=Yh((function(e,t,n){return e+(n?" ":"")+t.toLowerCase()})),cy=lh("toLowerCase");function uy(e,t){return e<t}var hy=ng(uy),py=ng((function(e,t){return e<=t}));function dy(e,t){var n={};return t=gf(t),Tf(e,(function(e,r,i){Zl(n,t(e,r,i),e)})),n}function fy(e){return sf(vd(e,1))}function my(e,t,n){for(var r=-1,i=e.length;++r<i;){var o=e[r],a=t(o);if(null!=a&&(void 0===s?a==a&&!Ra(a):n(a,s)))var s=a,l=o}return l}function gy(e){return e&&e.length?my(e,Ja,tg):void 0}function yy(e,t){return e&&e.length?my(e,gf(t),tg):void 0}function vy(e,t){for(var n,r=-1,i=e.length;++r<i;){var o=t(e[r]);void 0!==o&&(n=void 0===n?o:n+o)}return n}function _y(e,t){var n=null==e?0:e.length;return n?vy(e,t)/n:NaN}var by=cc((function(e,t,n){zf(e,t,n)})),Ey=by,Ty=ic((function(e,t){return function(n){return kg(n,e,t)}})),xy=Ty,Sy=ic((function(e,t){return function(n){return kg(e,n,t)}})),Cy=Sy;function Ay(e){return e&&e.length?my(e,Ja,uy):void 0}function Ry(e,t,n){var r=Fc(t),i=Qm(t,r),o=!(Ga(n)&&"chain"in n&&!n.chain),a=is(e);return il(i,(function(n){var r=t[n];e[n]=r,a&&(e.prototype[n]=function(){var t=this.__chain__;if(o||t){var n=e(this.__wrapped__);return(n.__actions__=Gs(this.__actions__)).push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,bu([this.value()],arguments))})})),e}var wy=Ma((function(e,t){return e*t}),1);function Ly(e){if("function"!=typeof e)throw new TypeError("Expected a function");return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}var Oy=ma?ma.iterator:void 0;function Ny(e){if(!e)return[];if(sc(e))return pg(e)?sh(e):Gs(e);if(Oy&&e[Oy])return function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}(e[Oy]());var t=Ip(e);return("[object Map]"==t?Ld:"[object Set]"==t?Od:fg)(e)}function Iy(e,t){var n=e.length;if(n)return El(t+=t<0?n:0,n)?e[t]:void 0}function ky(e,t){return null==(e=Ig(e,t=fu(t,e)))||delete e[gu(om(t))]}function Dy(e){return Du(e)?void 0:e}var Py=Cu((function(e,t){var n={};if(null==e)return n;var r=!1;t=Oa(t,(function(t){return t=fu(t,e),r||(r=t.length>1),t})),tc(e,yp(e),n),r&&(n=vd(n,7,Dy));for(var i=t.length;i--;)ky(n,t[i]);return n})),My=Py;function Fy(e,t,n,r){if(!Ga(e))return e;for(var i=-1,o=(t=fu(t,e)).length,a=o-1,s=e;null!=s&&++i<o;){var l=gu(t[i]),c=n;if("__proto__"===l||"constructor"===l||"prototype"===l)return e;if(i!=a){var u=s[l];void 0===(c=r?r(u,l,s):void 0)&&(c=Ga(u)?u:El(t[i+1])?[]:{})}ec(s,l,c),s=s[l]}return e}function Hy(e,t,n){for(var r=-1,i=t.length,o={};++r<i;){var a=t[r],s=yu(e,a);n(s,a)&&Fy(o,fu(a,e),s)}return o}function By(e,t){if(null==e)return{};var n=Oa(yp(e),(function(e){return[e]}));return t=gf(t),Hy(e,n,(function(e,n){return t(e,n[0])}))}function Uy(e,t){if(e!==t){var n=void 0!==e,r=null===e,i=e==e,o=Ra(e),a=void 0!==t,s=null===t,l=t==t,c=Ra(t);if(!s&&!c&&!o&&e>t||o&&a&&l&&!s&&!c||r&&a&&l||!n&&l||!i)return 1;if(!r&&!o&&!c&&e<t||c&&n&&i&&!r&&!o||s&&n&&i||!a&&i||!l)return-1}return 0}function jy(e,t,n){t=t.length?Oa(t,(function(e){return Na(e)?function(t){return yu(t,1===e.length?e[0]:e)}:e})):[Ja];var r=-1;return t=Oa(t,Sc(gf)),function(e,t){var r=e.length;for(e.sort((function(e,t){return function(e,t,n){for(var r=-1,i=e.criteria,o=t.criteria,a=i.length,s=n.length;++r<a;){var l=Uy(i[r],o[r]);if(l)return r>=s?l:l*("desc"==n[r]?-1:1)}return e.index-t.index}(e,t,n)}));r--;)e[r]=e[r].value;return e}($m(e,(function(e,n,i){return{criteria:Oa(t,(function(t){return t(e)})),index:++r,value:e}})))}function Gy(e,t,n,r){return null==e?[]:(Na(t)||(t=null==t?[]:[t]),Na(n=r?void 0:n)||(n=null==n?[]:[n]),jy(e,t,n))}function Yy(e){return Cu((function(t){return t=Oa(t,Sc(gf)),ic((function(n){var r=this;return e(t,(function(e){return Rs(e,r,n)}))}))}))}var zy=Yy(Oa),$y=ic,Wy=Math.min,Vy=$y((function(e,t){var n=(t=1==t.length&&Na(t[0])?Oa(t[0],Sc(gf)):Oa(xu(t,1),Sc(gf))).length;return ic((function(r){for(var i=-1,o=Wy(r.length,n);++i<o;)r[i]=t[i].call(this,r[i]);return Rs(e,this,r)}))})),Ky=Vy,qy=Yy(Lm),Xy=Yy(Sd),Zy=9007199254740991,Qy=Math.floor;function Jy(e,t){var n="";if(!e||t<1||t>Zy)return n;do{t%2&&(n+=e),(t=Qy(t/2))&&(e+=e)}while(t);return n}var ev=ff("length"),tv="\\ud800-\\udfff",nv="["+tv+"]",rv="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",iv="\\ud83c[\\udffb-\\udfff]",ov="[^"+tv+"]",av="(?:\\ud83c[\\udde6-\\uddff]){2}",sv="[\\ud800-\\udbff][\\udc00-\\udfff]",lv="(?:"+rv+"|"+iv+")?",cv="[\\ufe0e\\ufe0f]?",uv=cv+lv+"(?:\\u200d(?:"+[ov,av,sv].join("|")+")"+cv+lv+")*",hv="(?:"+[ov+rv+"?",rv,av,sv,nv].join("|")+")",pv=RegExp(iv+"(?="+iv+")|"+hv+uv,"g");function dv(e){return Ku(e)?function(e){for(var t=pv.lastIndex=0;pv.test(e);)++t;return t}(e):ev(e)}var fv=Math.ceil;function mv(e,t){var n=(t=void 0===t?" ":Pa(t)).length;if(n<2)return n?Jy(t,e):t;var r=Jy(t,fv(e/dv(t)));return Ku(t)?Wu(sh(r),0,e).join(""):r.slice(0,e)}var gv=Math.ceil,yv=Math.floor,vv=/^\s+/,_v=fa.parseInt,bv=ic((function(e,t){return ql(e,32,void 0,t,Sl(t,vl(bv)))}));bv.placeholder={};var Ev=bv,Tv=ic((function(e,t){return ql(e,64,void 0,t,Sl(t,vl(Tv)))}));Tv.placeholder={};var xv=Tv,Sv=Af((function(e,t,n){e[n?0:1].push(t)}),(function(){return[[],[]]})),Cv=Cu((function(e,t){return null==e?{}:function(e,t){return Hy(e,t,(function(t,n){return uf(e,n)}))}(e,t)})),Av=Cv;function Rv(e,t,n,r){for(var i=n-1,o=e.length;++i<o;)if(r(e[i],t))return i;return-1}var wv=Array.prototype.splice;function Lv(e,t,n,r){var i=r?Rv:sl,o=-1,a=t.length,s=e;for(e===t&&(t=Gs(t)),n&&(s=Oa(e,Sc(n)));++o<a;)for(var l=0,c=t[o],u=n?n(c):c;(l=i(s,u,l,r))>-1;)s!==e&&wv.call(s,l,1),wv.call(e,l,1);return e}function Ov(e,t){return e&&e.length&&t&&t.length?Lv(e,t):e}var Nv=ic(Ov),Iv=Array.prototype.splice;function kv(e,t){for(var n=e?t.length:0,r=n-1;n--;){var i=t[n];if(n==r||i!==o){var o=i;El(i)?Iv.call(e,i,1):ky(e,i)}}return e}var Dv=Cu((function(e,t){var n=null==e?0:e.length,r=_u(e,t);return kv(e,Oa(t,(function(e){return El(e,n)?+e:e})).sort(Uy)),r})),Pv=Dv,Mv=Math.floor,Fv=Math.random;function Hv(e,t){return e+Mv(Fv()*(t-e+1))}var Bv=parseFloat,Uv=Math.min,jv=Math.random,Gv=Math.ceil,Yv=Math.max;function zv(e){return function(t,n,r){return r&&"number"!=typeof r&&lc(t,n,r)&&(n=r=void 0),t=Za(t),void 0===n?(n=t,t=0):n=Za(n),function(e,t,n,r){for(var i=-1,o=Yv(Gv((t-e)/(n||1)),0),a=Array(o);o--;)a[r?o:++i]=e,e+=n;return a}(t,n,r=void 0===r?t<n?1:-1:Za(r),e)}}var $v=zv(),Wv=zv(!0),Vv=Cu((function(e,t){return ql(e,256,void 0,void 0,void 0,t)})),Kv=Vv;function qv(e,t,n,r,i){return i(e,(function(e,i,o){n=r?(r=!1,e):t(n,e,i,o)})),n}function Xv(e,t,n){var r=Na(e)?hh:qv,i=arguments.length<3;return r(e,gf(t),n,i,Sf)}function Zv(e,t,n,r){var i=null==e?0:e.length;for(r&&i&&(n=e[--i]);i--;)n=t(n,e[i],i,e);return n}function Qv(e,t,n){return t=(n?lc(e,t,n):void 0===t)?1:Qa(t),Jy(du(e),t)}var Jv=Array.prototype.reverse;function e_(e){return null==e?e:Jv.call(e)}var t_=Vh("round");function n_(e){var t=e.length;return t?e[Hv(0,t-1)]:void 0}function r_(e){return n_(fg(e))}function i_(e,t){var n=-1,r=e.length,i=r-1;for(t=void 0===t?r:t;++n<t;){var o=Hv(n,i),a=e[o];e[o]=e[n],e[n]=a}return e.length=t,e}function o_(e,t){return i_(Gs(e),Qh(t,0,e.length))}function a_(e,t){var n=fg(e);return i_(n,Qh(t,0,n.length))}function s_(e,t,n){return null==e?e:Fy(e,t,n)}function l_(e){return i_(Gs(e))}function c_(e){return i_(fg(e))}function u_(e){if(null==e)return 0;if(sc(e))return pg(e)?dv(e):e.length;var t=Ip(e);return"[object Map]"==t||"[object Set]"==t?e.size:Mc(e).length}var h_=Yh((function(e,t,n){return e+(n?"_":"")+t.toLowerCase()}));function p_(e,t){var n;return Sf(e,(function(e,r,i){return!(n=t(e,r,i))})),!!n}var d_=ic((function(e,t){if(null==e)return[];var n=t.length;return n>1&&lc(e,t[0],t[1])?t=[]:n>2&&lc(t[0],t[1],t[2])&&(t=[t[0]]),jy(e,xu(t,1),[])})),f_=d_,m_=4294967294,g_=Math.floor,y_=Math.min;function v_(e,t,n,r){var i=0,o=null==e?0:e.length;if(0===o)return 0;for(var a=(t=n(t))!=t,s=null===t,l=Ra(t),c=void 0===t;i<o;){var u=g_((i+o)/2),h=n(e[u]),p=void 0!==h,d=null===h,f=h==h,m=Ra(h);if(a)var g=r||f;else g=c?f&&(r||p):s?f&&p&&(r||!d):l?f&&p&&!d&&(r||!m):!d&&!m&&(r?h<=t:h<t);g?i=u+1:o=u}return y_(o,m_)}function __(e,t,n){var r=0,i=null==e?r:e.length;if("number"==typeof t&&t==t&&i<=2147483647){for(;r<i;){var o=r+i>>>1,a=e[o];null!==a&&!Ra(a)&&(n?a<=t:a<t)?r=o+1:i=o}return i}return v_(e,t,Ja,n)}function b_(e,t){for(var n=-1,r=e.length,i=0,o=[];++n<r;){var a=e[n],s=t?t(a):a;if(!n||!Ql(s,l)){var l=s;o[i++]=0===a?0:a}}return o}function E_(e,t,n){return n&&"number"!=typeof n&&lc(e,t,n)&&(t=n=void 0),(n=void 0===n?4294967295:n>>>0)?(e=du(e))&&("string"==typeof t||null!=t&&!ty(t))&&!(t=Pa(t))&&Ku(e)?Wu(sh(e),0,n):e.split(t,n):[]}var T_=Math.max,x_=Yh((function(e,t,n){return e+(n?" ":"")+ch(t)}));function S_(){return!0}var C_=Ma((function(e,t){return e-t}),0);function A_(e,t){return e&&e.length?vy(e,gf(t)):0}var R_=Object.prototype,w_=R_.hasOwnProperty;function L_(e,t,n,r){return void 0===e||Ql(e,R_[n])&&!w_.call(r,n)?t:e}var O_={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"};function N_(e){return"\\"+O_[e]}var I_=/<%=([\s\S]+?)%>/g,k_={escape:/<%-([\s\S]+?)%>/g,evaluate:/<%([\s\S]+?)%>/g,interpolate:I_,variable:"",imports:{_:{escape:Am}}},D_=/\b__p \+= '';/g,P_=/\b(__p \+=) '' \+/g,M_=/(__e\(.*?\)|\b__t\)) \+\n'';/g,F_=/[()=,{}\[\]\/\s]/,H_=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,B_=/($^)/,U_=/['\n\r\u2028\u2029\\]/g,j_=Object.prototype.hasOwnProperty;function G_(e,t,n){var r=!0,i=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return Ga(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),Pf(e,t,{leading:r,maxWait:t,trailing:i})}function Y_(e,t){return t(e)}var z_=4294967295,$_=Math.min;function W_(e,t){var n=e;return n instanceof Ds&&(n=n.value()),hh(t,(function(e,t){return t.func.apply(t.thisArg,bu([e],t.args))}),n)}function V_(){return W_(this.__wrapped__,this.__actions__)}function K_(e){return du(e).toUpperCase()}function q_(e,t){for(var n=e.length;n--&&sl(t,e[n],0)>-1;);return n}function X_(e,t){for(var n=-1,r=e.length;++n<r&&sl(t,e[n],0)>-1;);return n}function Z_(e,t,n){if((e=du(e))&&(n||void 0===t))return ja(e);if(!e||!(t=Pa(t)))return e;var r=sh(e),i=sh(t);return Wu(r,X_(r,i),q_(r,i)+1).join("")}var Q_=/^\s+/,J_=/\w*$/,eb=ph({"&":"&","<":"<",">":">",""":'"',"'":"'"}),tb=/&(?:amp|lt|gt|quot|#39);/g,nb=RegExp(tb.source),rb=bp&&1/Od(new bp([,-0]))[1]==1/0?function(e){return new bp(e)}:Ps,ib=rb,ob=200;function ab(e,t,n){var r=-1,i=ll,o=e.length,a=!0,s=[],l=s;if(n)a=!1,i=em;else if(o>=ob){var c=t?null:ib(e);if(c)return Od(c);a=!1,i=Cd,l=new xd}else l=t?[]:s;e:for(;++r<o;){var u=e[r],h=t?t(u):u;if(u=n||0!==u?u:0,a&&h==h){for(var p=l.length;p--;)if(l[p]===h)continue e;t&&l.push(h),s.push(u)}else i(l,h,n)||(l!==s&&l.push(h),s.push(u))}return s}var sb=ic((function(e){return ab(xu(e,1,jf,!0))})),lb=ic((function(e){var t=om(e);return jf(t)&&(t=void 0),ab(xu(e,1,jf,!0),gf(t))})),cb=ic((function(e){var t=om(e);return t="function"==typeof t?t:void 0,ab(xu(e,1,jf,!0),void 0,t)}));function ub(e){return e&&e.length?ab(e):[]}var hb=0;function pb(e,t){return null==e||ky(e,t)}var db=Math.max;function fb(e){if(!e||!e.length)return[];var t=0;return e=sp(e,(function(e){if(jf(e))return t=db(e.length,t),!0})),pc(t,(function(t){return Oa(e,ff(t))}))}function mb(e,t){if(!e||!e.length)return[];var n=fb(e);return null==t?n:Oa(n,(function(e){return Rs(t,void 0,e)}))}function gb(e,t,n,r){return Fy(e,t,n(yu(e,t)),r)}var yb=Yh((function(e,t,n){return e+(n?" ":"")+t.toUpperCase()})),vb=ic((function(e,t){return jf(e)?nm(e,t):[]})),_b=vb,bb=Cu((function(e){var t=e.length,n=t?e[0]:0,r=this.__wrapped__,i=function(t){return _u(t,e)};return!(t>1||this.__actions__.length)&&r instanceof Ds&&El(n)?((r=r.slice(n,+n+(t?1:0))).__actions__.push({func:Y_,args:[i],thisArg:void 0}),new js(r,this.__chain__).thru((function(e){return t&&!e.length&&e.push(void 0),e}))):this.thru(i)})),Eb=bb;function Tb(e,t,n){var r=e.length;if(r<2)return r?ab(e[0]):[];for(var i=-1,o=Array(r);++i<r;)for(var a=e[i],s=-1;++s<r;)s!=i&&(o[i]=nm(o[i]||a,e[s],t,n));return ab(xu(o,1),t,n)}var xb=ic((function(e){return Tb(sp(e,jf))})),Sb=ic((function(e){var t=om(e);return jf(t)&&(t=void 0),Tb(sp(e,jf),gf(t))})),Cb=ic((function(e){var t=om(e);return t="function"==typeof t?t:void 0,Tb(sp(e,jf),void 0,t)})),Ab=ic(fb);function Rb(e,t,n){for(var r=-1,i=e.length,o=t.length,a={};++r<i;){var s=r<o?t[r]:void 0;n(a,e[r],s)}return a}var wb,Lb=ic((function(e){var t=e.length,n=t>1?e[t-1]:void 0;return n="function"==typeof n?(e.pop(),n):void 0,mb(e,n)})),Ob={chunk:function(e,t,n){t=(n?lc(e,t,n):void 0===t)?1:Zh(Qa(t),0);var r=null==e?0:e.length;if(!r||t<1)return[];for(var i=0,o=0,a=Array(Xh(r/t));i<r;)a[o++]=$u(e,i,i+=t);return a},compact:Ed,concat:Td,difference:im,differenceBy:sm,differenceWith:cm,drop:function(e,t,n){var r=null==e?0:e.length;return r?$u(e,(t=n||void 0===t?1:Qa(t))<0?0:t,r):[]},dropRight:function(e,t,n){var r=null==e?0:e.length;return r?$u(e,0,(t=r-(t=n||void 0===t?1:Qa(t)))<0?0:t):[]},dropRightWhile:function(e,t){return e&&e.length?hm(e,gf(t),!0,!0):[]},dropWhile:function(e,t){return e&&e.length?hm(e,gf(t),!0):[]},fill:function(e,t,n,r){var i=null==e?0:e.length;return i?(n&&"number"!=typeof n&&lc(e,t,n)&&(n=0,r=i),function(e,t,n,r){var i=e.length;for((n=Qa(n))<0&&(n=-n>i?0:i+n),(r=void 0===r||r>i?i:Qa(r))<0&&(r+=i),r=n>r?0:Im(r);n<r;)e[n++]=t;return e}(e,t,n,r)):[]},findIndex:Fm,findLastIndex:Gm,first:zm,flatten:Su,flattenDeep:function(e){return null!=e&&e.length?xu(e,1/0):[]},flattenDepth:function(e,t){return null!=e&&e.length?xu(e,t=void 0===t?1:Qa(t)):[]},fromPairs:function(e){for(var t=-1,n=null==e?0:e.length,r={};++t<n;){var i=e[t];r[i[0]]=i[1]}return r},head:zm,indexOf:vg,initial:function(e){return null!=e&&e.length?$u(e,0,-1):[]},intersection:Tg,intersectionBy:xg,intersectionWith:Sg,join:function(e,t){return null==e?"":ry.call(e,t)},last:om,lastIndexOf:function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=r;return void 0!==n&&(i=(i=Qa(n))<0?ay(r+i,0):sy(i,r-1)),t==t?function(e,t,n){for(var r=n+1;r--;)if(e[r]===t)return r;return r}(e,t,i):ol(e,al,i,!0)},nth:function(e,t){return e&&e.length?Iy(e,Qa(t)):void 0},pull:Nv,pullAll:Ov,pullAllBy:function(e,t,n){return e&&e.length&&t&&t.length?Lv(e,t,gf(n)):e},pullAllWith:function(e,t,n){return e&&e.length&&t&&t.length?Lv(e,t,void 0,n):e},pullAt:Pv,remove:function(e,t){var n=[];if(!e||!e.length)return n;var r=-1,i=[],o=e.length;for(t=gf(t);++r<o;){var a=e[r];t(a,r,e)&&(n.push(a),i.push(r))}return kv(e,i),n},reverse:e_,slice:function(e,t,n){var r=null==e?0:e.length;return r?(n&&"number"!=typeof n&&lc(e,t,n)?(t=0,n=r):(t=null==t?0:Qa(t),n=void 0===n?r:Qa(n)),$u(e,t,n)):[]},sortedIndex:function(e,t){return __(e,t)},sortedIndexBy:function(e,t,n){return v_(e,t,gf(n))},sortedIndexOf:function(e,t){var n=null==e?0:e.length;if(n){var r=__(e,t);if(r<n&&Ql(e[r],t))return r}return-1},sortedLastIndex:function(e,t){return __(e,t,!0)},sortedLastIndexBy:function(e,t,n){return v_(e,t,gf(n),!0)},sortedLastIndexOf:function(e,t){if(null!=e&&e.length){var n=__(e,t,!0)-1;if(Ql(e[n],t))return n}return-1},sortedUniq:function(e){return e&&e.length?b_(e):[]},sortedUniqBy:function(e,t){return e&&e.length?b_(e,gf(t)):[]},tail:function(e){var t=null==e?0:e.length;return t?$u(e,1,t):[]},take:function(e,t,n){return e&&e.length?$u(e,0,(t=n||void 0===t?1:Qa(t))<0?0:t):[]},takeRight:function(e,t,n){var r=null==e?0:e.length;return r?$u(e,(t=r-(t=n||void 0===t?1:Qa(t)))<0?0:t,r):[]},takeRightWhile:function(e,t){return e&&e.length?hm(e,gf(t),!1,!0):[]},takeWhile:function(e,t){return e&&e.length?hm(e,gf(t)):[]},union:sb,unionBy:lb,unionWith:cb,uniq:ub,uniqBy:function(e,t){return e&&e.length?ab(e,gf(t)):[]},uniqWith:function(e,t){return t="function"==typeof t?t:void 0,e&&e.length?ab(e,void 0,t):[]},unzip:fb,unzipWith:mb,without:_b,xor:xb,xorBy:Sb,xorWith:Cb,zip:Ab,zipObject:function(e,t){return Rb(e||[],t||[],ec)},zipObjectDeep:function(e,t){return Rb(e||[],t||[],Fy)},zipWith:Lb},Nb={countBy:wf,each:dm,eachRight:vm,every:Nm,filter:Dm,find:Hm,findLast:Ym,flatMap:function(e,t){return xu(Wm(e,t),1)},flatMapDeep:function(e,t){return xu(Wm(e,t),1/0)},flatMapDepth:function(e,t,n){return n=void 0===n?1:Qa(n),xu(Wm(e,t),n)},forEach:dm,forEachRight:vm,groupBy:eg,includes:gg,invokeMap:Mg,keyBy:oy,map:Wm,orderBy:Gy,partition:Sv,reduce:Xv,reduceRight:function(e,t,n){var r=Na(e)?Zv:qv,i=arguments.length<3;return r(e,gf(t),n,i,ym)},reject:function(e,t){return(Na(e)?sp:km)(e,Ly(gf(t)))},sample:function(e){return(Na(e)?n_:r_)(e)},sampleSize:function(e,t,n){return t=(n?lc(e,t,n):void 0===t)?1:Qa(t),(Na(e)?o_:a_)(e,t)},shuffle:function(e){return(Na(e)?l_:c_)(e)},size:u_,some:function(e,t,n){var r=Na(e)?Sd:p_;return n&&lc(e,t,n)&&(t=void 0),r(e,gf(t))},sortBy:f_},Ib=Nf,kb={after:function(e,t){if("function"!=typeof t)throw new TypeError("Expected a function");return e=Qa(e),function(){if(--e<1)return t.apply(this,arguments)}},ary:Xl,before:Hu,bind:Uu,bindKey:zu,curry:Lf,curryRight:Of,debounce:Pf,defer:Zf,delay:Jf,flip:function(e){return ql(e,512)},memoize:lu,negate:Ly,once:function(e){return Hu(2,e)},overArgs:Ky,partial:Ev,partialRight:xv,rearg:Kv,rest:function(e,t){if("function"!=typeof e)throw new TypeError("Expected a function");return ic(e,t=void 0===t?t:Qa(t))},spread:function(e,t){if("function"!=typeof e)throw new TypeError("Expected a function");return t=null==t?0:T_(Qa(t),0),ic((function(n){var r=n[t],i=Wu(n,0,t);return r&&bu(i,r),Rs(e,this,i)}))},throttle:G_,unary:function(e){return Xl(e,1)},wrap:function(e,t){return Ev(pm(t),e)}},Db={castArray:function(){if(!arguments.length)return[];var e=arguments[0];return Na(e)?e:[e]},clone:_d,cloneDeep:bd,cloneDeepWith:function(e,t){return vd(e,5,t="function"==typeof t?t:void 0)},cloneWith:function(e,t){return vd(e,4,t="function"==typeof t?t:void 0)},conformsTo:function(e,t){return null==t||vf(e,t,Fc(t))},eq:Ql,gt:rg,gte:ig,isArguments:yc,isArray:Na,isArrayBuffer:Hg,isArrayLike:sc,isArrayLikeObject:jf,isBoolean:Bg,isBuffer:Tc,isDate:jg,isElement:function(e){return Ca(e)&&1===e.nodeType&&!Du(e)},isEmpty:$g,isEqual:Wg,isEqualWith:function(e,t,n){var r=(n="function"==typeof n?n:void 0)?n(e,t):void 0;return void 0===r?Jd(e,t,void 0,n):!!r},isError:Pu,isFinite:function(e){return"number"==typeof e&&Vg(e)},isFunction:is,isInteger:Kg,isLength:ac,isMap:sd,isMatch:function(e,t){return e===t||nf(e,t,of(t))},isMatchWith:function(e,t,n){return n="function"==typeof n?n:void 0,nf(e,t,of(t),n)},isNaN:Zg,isNative:function(e){if(Qg(e))throw new Error("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return gs(e)},isNil:Jg,isNull:function(e){return null===e},isNumber:Xg,isObject:Ga,isObjectLike:Ca,isPlainObject:Du,isRegExp:ty,isSafeInteger:function(e){return Kg(e)&&e>=-9007199254740991&&e<=9007199254740991},isSet:cd,isString:pg,isSymbol:Ra,isTypedArray:Oc,isUndefined:ny,isWeakMap:function(e){return Ca(e)&&"[object WeakMap]"==Ip(e)},isWeakSet:function(e){return Ca(e)&&"[object WeakSet]"==Sa(e)},lt:hy,lte:py,toArray:Ny,toFinite:Za,toInteger:Qa,toLength:Im,toNumber:Ka,toPlainObject:Yf,toSafeInteger:function(e){return e?Qh(Qa(e),-9007199254740991,9007199254740991):0===e?e:0},toString:du},Pb={add:Fa,ceil:Kh,divide:um,floor:Vm,max:gy,maxBy:yy,mean:function(e){return _y(e,Ja)},meanBy:function(e,t){return _y(e,gf(t))},min:Ay,minBy:function(e,t){return e&&e.length?my(e,gf(t),uy):void 0},multiply:wy,round:t_,subtract:C_,sum:function(e){return e&&e.length?vy(e,Ja):0},sumBy:A_},Mb=Jh,Fb=ug,Hb={assign:Uc,assignIn:zc,assignInWith:Wc,assignWith:Kc,at:Au,create:function(e,t){var n=Ss(e);return null==t?n:tp(n,t)},defaults:Bf,defaultsDeep:Kf,entries:Em,entriesIn:Tm,extend:zc,extendWith:Wc,findKey:function(e,t){return Bm(e,gf(t),Tf)},findLastKey:function(e,t){return Bm(e,gf(t),gm)},forIn:Zm,forInRight:function(e,t){return null==e?e:mm(e,pm(t),Gc)},forOwn:function(e,t){return e&&Tf(e,pm(t))},forOwnRight:function(e,t){return e&&gm(e,pm(t))},functions:function(e){return null==e?[]:Qm(e,Fc(e))},functionsIn:function(e){return null==e?[]:Qm(e,Gc(e))},get:vu,has:sg,hasIn:uf,invert:Rg,invertBy:Ng,invoke:Dg,keys:Fc,keysIn:Gc,mapKeys:dy,mapValues:function(e,t){var n={};return t=gf(t),Tf(e,(function(e,r,i){Zl(n,r,t(e,r,i))})),n},merge:Ey,mergeWith:Vf,omit:My,omitBy:function(e,t){return By(e,Ly(gf(t)))},pick:Av,pickBy:By,result:function(e,t,n){var r=-1,i=(t=fu(t,e)).length;for(i||(i=1,e=void 0);++r<i;){var o=null==e?void 0:e[gu(t[r])];void 0===o&&(r=i,o=n),e=is(o)?o.call(e):o}return e},set:s_,setWith:function(e,t,n,r){return r="function"==typeof r?r:void 0,null==e?e:Fy(e,t,n,r)},toPairs:Em,toPairsIn:Tm,transform:function(e,t,n){var r=Na(e),i=r||Tc(e)||Oc(e);if(t=gf(t),null==n){var o=e&&e.constructor;n=i?r?new o:[]:Ga(e)&&is(o)?Ss(Ru(e)):{}}return(i?il:Tf)(e,(function(e,r,i){return t(n,e,r,i)})),n},unset:pb,update:function(e,t,n){return null==e?e:gb(e,t,pm(n))},updateWith:function(e,t,n,r){return r="function"==typeof r?r:void 0,null==e?e:gb(e,t,pm(n),r)},values:fg,valuesIn:function(e){return null==e?[]:dg(e,Gc(e))}},Bb={at:Eb,chain:qh,commit:function(){return new js(this.value(),this.__chain__)},lodash:$s,next:function(){void 0===this.__values__&&(this.__values__=Ny(this.value()));var e=this.__index__>=this.__values__.length;return{done:e,value:e?void 0:this.__values__[this.__index__++]}},plant:function(e){for(var t,n=this;n instanceof Is;){var r=Ys(n);r.__index__=0,r.__values__=void 0,t?i.__wrapped__=r:t=r;var i=r;n=n.__wrapped__}return i.__wrapped__=e,t},reverse:function(){var e=this.__wrapped__;if(e instanceof Ds){var t=e;return this.__actions__.length&&(t=new Ds(this)),(t=t.reverse()).__actions__.push({func:Y_,args:[e_],thisArg:void 0}),new js(t,this.__chain__)}return this.thru(e_)},tap:function(e,t){return t(e),e},thru:Y_,toIterator:function(){return this},toJSON:V_,value:V_,valueOf:V_,wrapperChain:function(){return qh(this)}},Ub={camelCase:zh,capitalize:uh,deburr:gh,endsWith:_m,escape:Am,escapeRegExp:function(e){return(e=du(e))&&wm.test(e)?e.replace(Rm,"\\$&"):e},kebabCase:iy,lowerCase:ly,lowerFirst:cy,pad:function(e,t,n){e=du(e);var r=(t=Qa(t))?dv(e):0;if(!t||r>=t)return e;var i=(t-r)/2;return mv(yv(i),n)+e+mv(gv(i),n)},padEnd:function(e,t,n){e=du(e);var r=(t=Qa(t))?dv(e):0;return t&&r<t?e+mv(t-r,n):e},padStart:function(e,t,n){e=du(e);var r=(t=Qa(t))?dv(e):0;return t&&r<t?mv(t-r,n)+e:e},parseInt:function(e,t,n){return n||null==t?t=0:t&&(t=+t),_v(du(e).replace(vv,""),t||0)},repeat:Qv,replace:function(){var e=arguments,t=du(e[0]);return e.length<3?t:t.replace(e[1],e[2])},snakeCase:h_,split:E_,startCase:x_,startsWith:function(e,t,n){return e=du(e),n=null==n?0:Qh(Qa(n),0,e.length),t=Pa(t),e.slice(n,n+t.length)==t},template:function(e,t,n){var r=k_.imports._.templateSettings||k_;n&&lc(e,t,n)&&(t=void 0),e=du(e),t=Wc({},t,r,L_);var i,o,a=Wc({},t.imports,r.imports,L_),s=Fc(a),l=dg(a,s),c=0,u=t.interpolate||B_,h="__p += '",p=RegExp((t.escape||B_).source+"|"+u.source+"|"+(u===I_?H_:B_).source+"|"+(t.evaluate||B_).source+"|$","g"),d=j_.call(t,"sourceURL")?"//# sourceURL="+(t.sourceURL+"").replace(/\s/g," ")+"\n":"";e.replace(p,(function(t,n,r,a,s,l){return r||(r=a),h+=e.slice(c,l).replace(U_,N_),n&&(i=!0,h+="' +\n__e("+n+") +\n'"),s&&(o=!0,h+="';\n"+s+";\n__p += '"),r&&(h+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),c=l+t.length,t})),h+="';\n";var f=j_.call(t,"variable")&&t.variable;if(f){if(F_.test(f))throw new Error("Invalid `variable` option passed into `_.template`")}else h="with (obj) {\n"+h+"\n}\n";h=(o?h.replace(D_,""):h).replace(P_,"$1").replace(M_,"$1;"),h="function("+(f||"obj")+") {\n"+(f?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(i?", __e = _.escape":"")+(o?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+h+"return __p\n}";var m=Fu((function(){return Function(s,d+"return "+h).apply(void 0,l)}));if(m.source=h,Pu(m))throw m;return m},templateSettings:k_,toLower:function(e){return du(e).toLowerCase()},toUpper:K_,trim:Z_,trimEnd:function(e,t,n){if((e=du(e))&&(n||void 0===t))return e.slice(0,Ba(e)+1);if(!e||!(t=Pa(t)))return e;var r=sh(e);return Wu(r,0,q_(r,sh(t))+1).join("")},trimStart:function(e,t,n){if((e=du(e))&&(n||void 0===t))return e.replace(Q_,"");if(!e||!(t=Pa(t)))return e;var r=sh(e);return Wu(r,X_(r,sh(t))).join("")},truncate:function(e,t){var n=30,r="...";if(Ga(t)){var i="separator"in t?t.separator:i;n="length"in t?Qa(t.length):n,r="omission"in t?Pa(t.omission):r}var o=(e=du(e)).length;if(Ku(e)){var a=sh(e);o=a.length}if(n>=o)return e;var s=n-dv(r);if(s<1)return r;var l=a?Wu(a,0,s).join(""):e.slice(0,s);if(void 0===i)return l+r;if(a&&(s+=l.length-s),ty(i)){if(e.slice(s).search(i)){var c,u=l;for(i.global||(i=RegExp(i.source,du(J_.exec(i))+"g")),i.lastIndex=0;c=i.exec(u);)var h=c.index;l=l.slice(0,void 0===h?s:h)}}else if(e.indexOf(Pa(i),s)!=s){var p=l.lastIndexOf(i);p>-1&&(l=l.slice(0,p))}return l+r},unescape:function(e){return(e=du(e))&&nb.test(e)?e.replace(tb,eb):e},upperCase:yb,upperFirst:ch,words:jh},jb={attempt:Fu,bindAll:Gu,cond:yf,conforms:function(e){return function(e){var t=Fc(e);return function(n){return vf(n,e,t)}}(vd(e,1))},constant:Js,defaultTo:function(e,t){return null==e||e!=e?t:e},flow:qm,flowRight:Xm,identity:Ja,iteratee:function(e){return gf("function"==typeof e?e:vd(e,1))},matches:fy,matchesProperty:function(e,t){return df(e,vd(t,1))},method:xy,methodOf:Cy,mixin:Ry,noop:Ps,nthArg:function(e){return e=Qa(e),ic((function(t){return Iy(t,e)}))},over:zy,overEvery:qy,overSome:Xy,property:mf,propertyOf:function(e){return function(t){return null==e?void 0:yu(e,t)}},range:$v,rangeRight:Wv,stubArray:lp,stubFalse:vc,stubObject:function(){return{}},stubString:function(){return""},stubTrue:S_,times:function(e,t){if((e=Qa(e))<1||e>9007199254740991)return[];var n=z_,r=$_(e,z_);t=pm(t),e-=z_;for(var i=pc(r,t);++n<e;)t(n);return i},toPath:function(e){return Na(e)?Oa(e,gu):Ra(e)?[e]:Gs(pu(du(e)))},uniqueId:function(e){var t=++hb;return du(e)+t}},Gb=Math.max,Yb=Math.min,zb=Math.min,$b=4294967295,Wb=Array.prototype,Vb=Object.prototype.hasOwnProperty,Kb=ma?ma.iterator:void 0,qb=Math.max,Xb=Math.min,Zb=function(e){return function(t,n,r){if(null==r){var i=Ga(n),o=i&&Fc(n),a=o&&o.length&&Qm(n,o);(a?a.length:i)||(r=n,n=t,t=this)}return e(t,n,r)}}(Ry);$s.after=kb.after,$s.ary=kb.ary,$s.assign=Hb.assign,$s.assignIn=Hb.assignIn,$s.assignInWith=Hb.assignInWith,$s.assignWith=Hb.assignWith,$s.at=Hb.at,$s.before=kb.before,$s.bind=kb.bind,$s.bindAll=jb.bindAll,$s.bindKey=kb.bindKey,$s.castArray=Db.castArray,$s.chain=Bb.chain,$s.chunk=Ob.chunk,$s.compact=Ob.compact,$s.concat=Ob.concat,$s.cond=jb.cond,$s.conforms=jb.conforms,$s.constant=jb.constant,$s.countBy=Nb.countBy,$s.create=Hb.create,$s.curry=kb.curry,$s.curryRight=kb.curryRight,$s.debounce=kb.debounce,$s.defaults=Hb.defaults,$s.defaultsDeep=Hb.defaultsDeep,$s.defer=kb.defer,$s.delay=kb.delay,$s.difference=Ob.difference,$s.differenceBy=Ob.differenceBy,$s.differenceWith=Ob.differenceWith,$s.drop=Ob.drop,$s.dropRight=Ob.dropRight,$s.dropRightWhile=Ob.dropRightWhile,$s.dropWhile=Ob.dropWhile,$s.fill=Ob.fill,$s.filter=Nb.filter,$s.flatMap=Nb.flatMap,$s.flatMapDeep=Nb.flatMapDeep,$s.flatMapDepth=Nb.flatMapDepth,$s.flatten=Ob.flatten,$s.flattenDeep=Ob.flattenDeep,$s.flattenDepth=Ob.flattenDepth,$s.flip=kb.flip,$s.flow=jb.flow,$s.flowRight=jb.flowRight,$s.fromPairs=Ob.fromPairs,$s.functions=Hb.functions,$s.functionsIn=Hb.functionsIn,$s.groupBy=Nb.groupBy,$s.initial=Ob.initial,$s.intersection=Ob.intersection,$s.intersectionBy=Ob.intersectionBy,$s.intersectionWith=Ob.intersectionWith,$s.invert=Hb.invert,$s.invertBy=Hb.invertBy,$s.invokeMap=Nb.invokeMap,$s.iteratee=jb.iteratee,$s.keyBy=Nb.keyBy,$s.keys=Fc,$s.keysIn=Hb.keysIn,$s.map=Nb.map,$s.mapKeys=Hb.mapKeys,$s.mapValues=Hb.mapValues,$s.matches=jb.matches,$s.matchesProperty=jb.matchesProperty,$s.memoize=kb.memoize,$s.merge=Hb.merge,$s.mergeWith=Hb.mergeWith,$s.method=jb.method,$s.methodOf=jb.methodOf,$s.mixin=Zb,$s.negate=Ly,$s.nthArg=jb.nthArg,$s.omit=Hb.omit,$s.omitBy=Hb.omitBy,$s.once=kb.once,$s.orderBy=Nb.orderBy,$s.over=jb.over,$s.overArgs=kb.overArgs,$s.overEvery=jb.overEvery,$s.overSome=jb.overSome,$s.partial=kb.partial,$s.partialRight=kb.partialRight,$s.partition=Nb.partition,$s.pick=Hb.pick,$s.pickBy=Hb.pickBy,$s.property=jb.property,$s.propertyOf=jb.propertyOf,$s.pull=Ob.pull,$s.pullAll=Ob.pullAll,$s.pullAllBy=Ob.pullAllBy,$s.pullAllWith=Ob.pullAllWith,$s.pullAt=Ob.pullAt,$s.range=jb.range,$s.rangeRight=jb.rangeRight,$s.rearg=kb.rearg,$s.reject=Nb.reject,$s.remove=Ob.remove,$s.rest=kb.rest,$s.reverse=Ob.reverse,$s.sampleSize=Nb.sampleSize,$s.set=Hb.set,$s.setWith=Hb.setWith,$s.shuffle=Nb.shuffle,$s.slice=Ob.slice,$s.sortBy=Nb.sortBy,$s.sortedUniq=Ob.sortedUniq,$s.sortedUniqBy=Ob.sortedUniqBy,$s.split=Ub.split,$s.spread=kb.spread,$s.tail=Ob.tail,$s.take=Ob.take,$s.takeRight=Ob.takeRight,$s.takeRightWhile=Ob.takeRightWhile,$s.takeWhile=Ob.takeWhile,$s.tap=Bb.tap,$s.throttle=kb.throttle,$s.thru=Y_,$s.toArray=Db.toArray,$s.toPairs=Hb.toPairs,$s.toPairsIn=Hb.toPairsIn,$s.toPath=jb.toPath,$s.toPlainObject=Db.toPlainObject,$s.transform=Hb.transform,$s.unary=kb.unary,$s.union=Ob.union,$s.unionBy=Ob.unionBy,$s.unionWith=Ob.unionWith,$s.uniq=Ob.uniq,$s.uniqBy=Ob.uniqBy,$s.uniqWith=Ob.uniqWith,$s.unset=Hb.unset,$s.unzip=Ob.unzip,$s.unzipWith=Ob.unzipWith,$s.update=Hb.update,$s.updateWith=Hb.updateWith,$s.values=Hb.values,$s.valuesIn=Hb.valuesIn,$s.without=Ob.without,$s.words=Ub.words,$s.wrap=kb.wrap,$s.xor=Ob.xor,$s.xorBy=Ob.xorBy,$s.xorWith=Ob.xorWith,$s.zip=Ob.zip,$s.zipObject=Ob.zipObject,$s.zipObjectDeep=Ob.zipObjectDeep,$s.zipWith=Ob.zipWith,$s.entries=Hb.toPairs,$s.entriesIn=Hb.toPairsIn,$s.extend=Hb.assignIn,$s.extendWith=Hb.assignInWith,Zb($s,$s),$s.add=Pb.add,$s.attempt=jb.attempt,$s.camelCase=Ub.camelCase,$s.capitalize=Ub.capitalize,$s.ceil=Pb.ceil,$s.clamp=Mb,$s.clone=Db.clone,$s.cloneDeep=Db.cloneDeep,$s.cloneDeepWith=Db.cloneDeepWith,$s.cloneWith=Db.cloneWith,$s.conformsTo=Db.conformsTo,$s.deburr=Ub.deburr,$s.defaultTo=jb.defaultTo,$s.divide=Pb.divide,$s.endsWith=Ub.endsWith,$s.eq=Db.eq,$s.escape=Ub.escape,$s.escapeRegExp=Ub.escapeRegExp,$s.every=Nb.every,$s.find=Nb.find,$s.findIndex=Ob.findIndex,$s.findKey=Hb.findKey,$s.findLast=Nb.findLast,$s.findLastIndex=Ob.findLastIndex,$s.findLastKey=Hb.findLastKey,$s.floor=Pb.floor,$s.forEach=Nb.forEach,$s.forEachRight=Nb.forEachRight,$s.forIn=Hb.forIn,$s.forInRight=Hb.forInRight,$s.forOwn=Hb.forOwn,$s.forOwnRight=Hb.forOwnRight,$s.get=Hb.get,$s.gt=Db.gt,$s.gte=Db.gte,$s.has=Hb.has,$s.hasIn=Hb.hasIn,$s.head=Ob.head,$s.identity=Ja,$s.includes=Nb.includes,$s.indexOf=Ob.indexOf,$s.inRange=Fb,$s.invoke=Hb.invoke,$s.isArguments=Db.isArguments,$s.isArray=Na,$s.isArrayBuffer=Db.isArrayBuffer,$s.isArrayLike=Db.isArrayLike,$s.isArrayLikeObject=Db.isArrayLikeObject,$s.isBoolean=Db.isBoolean,$s.isBuffer=Db.isBuffer,$s.isDate=Db.isDate,$s.isElement=Db.isElement,$s.isEmpty=Db.isEmpty,$s.isEqual=Db.isEqual,$s.isEqualWith=Db.isEqualWith,$s.isError=Db.isError,$s.isFinite=Db.isFinite,$s.isFunction=Db.isFunction,$s.isInteger=Db.isInteger,$s.isLength=Db.isLength,$s.isMap=Db.isMap,$s.isMatch=Db.isMatch,$s.isMatchWith=Db.isMatchWith,$s.isNaN=Db.isNaN,$s.isNative=Db.isNative,$s.isNil=Db.isNil,$s.isNull=Db.isNull,$s.isNumber=Db.isNumber,$s.isObject=Ga,$s.isObjectLike=Db.isObjectLike,$s.isPlainObject=Db.isPlainObject,$s.isRegExp=Db.isRegExp,$s.isSafeInteger=Db.isSafeInteger,$s.isSet=Db.isSet,$s.isString=Db.isString,$s.isSymbol=Db.isSymbol,$s.isTypedArray=Db.isTypedArray,$s.isUndefined=Db.isUndefined,$s.isWeakMap=Db.isWeakMap,$s.isWeakSet=Db.isWeakSet,$s.join=Ob.join,$s.kebabCase=Ub.kebabCase,$s.last=om,$s.lastIndexOf=Ob.lastIndexOf,$s.lowerCase=Ub.lowerCase,$s.lowerFirst=Ub.lowerFirst,$s.lt=Db.lt,$s.lte=Db.lte,$s.max=Pb.max,$s.maxBy=Pb.maxBy,$s.mean=Pb.mean,$s.meanBy=Pb.meanBy,$s.min=Pb.min,$s.minBy=Pb.minBy,$s.stubArray=jb.stubArray,$s.stubFalse=jb.stubFalse,$s.stubObject=jb.stubObject,$s.stubString=jb.stubString,$s.stubTrue=jb.stubTrue,$s.multiply=Pb.multiply,$s.nth=Ob.nth,$s.noop=jb.noop,$s.now=Ib,$s.pad=Ub.pad,$s.padEnd=Ub.padEnd,$s.padStart=Ub.padStart,$s.parseInt=Ub.parseInt,$s.random=function(e,t,n){if(n&&"boolean"!=typeof n&&lc(e,t,n)&&(t=n=void 0),void 0===n&&("boolean"==typeof t?(n=t,t=void 0):"boolean"==typeof e&&(n=e,e=void 0)),void 0===e&&void 0===t?(e=0,t=1):(e=Za(e),void 0===t?(t=e,e=0):t=Za(t)),e>t){var r=e;e=t,t=r}if(n||e%1||t%1){var i=jv();return Uv(e+i*(t-e+Bv("1e-"+((i+"").length-1))),t)}return Hv(e,t)},$s.reduce=Nb.reduce,$s.reduceRight=Nb.reduceRight,$s.repeat=Ub.repeat,$s.replace=Ub.replace,$s.result=Hb.result,$s.round=Pb.round,$s.sample=Nb.sample,$s.size=Nb.size,$s.snakeCase=Ub.snakeCase,$s.some=Nb.some,$s.sortedIndex=Ob.sortedIndex,$s.sortedIndexBy=Ob.sortedIndexBy,$s.sortedIndexOf=Ob.sortedIndexOf,$s.sortedLastIndex=Ob.sortedLastIndex,$s.sortedLastIndexBy=Ob.sortedLastIndexBy,$s.sortedLastIndexOf=Ob.sortedLastIndexOf,$s.startCase=Ub.startCase,$s.startsWith=Ub.startsWith,$s.subtract=Pb.subtract,$s.sum=Pb.sum,$s.sumBy=Pb.sumBy,$s.template=Ub.template,$s.times=jb.times,$s.toFinite=Db.toFinite,$s.toInteger=Qa,$s.toLength=Db.toLength,$s.toLower=Ub.toLower,$s.toNumber=Db.toNumber,$s.toSafeInteger=Db.toSafeInteger,$s.toString=Db.toString,$s.toUpper=Ub.toUpper,$s.trim=Ub.trim,$s.trimEnd=Ub.trimEnd,$s.trimStart=Ub.trimStart,$s.truncate=Ub.truncate,$s.unescape=Ub.unescape,$s.uniqueId=jb.uniqueId,$s.upperCase=Ub.upperCase,$s.upperFirst=Ub.upperFirst,$s.each=Nb.forEach,$s.eachRight=Nb.forEachRight,$s.first=Ob.head,Zb($s,(wb={},Tf($s,(function(e,t){Vb.call($s.prototype,t)||(wb[t]=e)})),wb),{chain:!1}),$s.VERSION="4.17.21",($s.templateSettings=Ub.templateSettings).imports._=$s,il(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){$s[e].placeholder=$s})),il(["drop","take"],(function(e,t){Ds.prototype[e]=function(n){n=void 0===n?1:qb(Qa(n),0);var r=this.__filtered__&&!t?new Ds(this):this.clone();return r.__filtered__?r.__takeCount__=Xb(n,r.__takeCount__):r.__views__.push({size:Xb(n,$b),type:e+(r.__dir__<0?"Right":"")}),r},Ds.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}})),il(["filter","map","takeWhile"],(function(e,t){var n=t+1,r=1==n||3==n;Ds.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:gf(e),type:n}),t.__filtered__=t.__filtered__||r,t}})),il(["head","last"],(function(e,t){var n="take"+(t?"Right":"");Ds.prototype[e]=function(){return this[n](1).value()[0]}})),il(["initial","tail"],(function(e,t){var n="drop"+(t?"":"Right");Ds.prototype[e]=function(){return this.__filtered__?new Ds(this):this[n](1)}})),Ds.prototype.compact=function(){return this.filter(Ja)},Ds.prototype.find=function(e){return this.filter(e).head()},Ds.prototype.findLast=function(e){return this.reverse().find(e)},Ds.prototype.invokeMap=ic((function(e,t){return"function"==typeof e?new Ds(this):this.map((function(n){return kg(n,e,t)}))})),Ds.prototype.reject=function(e){return this.filter(Ly(gf(e)))},Ds.prototype.slice=function(e,t){e=Qa(e);var n=this;return n.__filtered__&&(e>0||t<0)?new Ds(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),void 0!==t&&(n=(t=Qa(t))<0?n.dropRight(-t):n.take(t-e)),n)},Ds.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},Ds.prototype.toArray=function(){return this.take($b)},Tf(Ds.prototype,(function(e,t){var n=/^(?:filter|find|map|reject)|While$/.test(t),r=/^(?:head|last)$/.test(t),i=$s[r?"take"+("last"==t?"Right":""):t],o=r||/^find/.test(t);i&&($s.prototype[t]=function(){var t=this.__wrapped__,a=r?[1]:arguments,s=t instanceof Ds,l=a[0],c=s||Na(t),u=function(e){var t=i.apply($s,bu([e],a));return r&&h?t[0]:t};c&&n&&"function"==typeof l&&1!=l.length&&(s=c=!1);var h=this.__chain__,p=!!this.__actions__.length,d=o&&!h,f=s&&!p;if(!o&&c){t=f?t:new Ds(this);var m=e.apply(t,a);return m.__actions__.push({func:Y_,args:[u],thisArg:void 0}),new js(m,h)}return d&&f?e.apply(this,a):(m=this.thru(u),d?r?m.value()[0]:m.value():m)})})),il(["pop","push","shift","sort","splice","unshift"],(function(e){var t=Wb[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",r=/^(?:pop|shift)$/.test(e);$s.prototype[e]=function(){var e=arguments;if(r&&!this.__chain__){var i=this.value();return t.apply(Na(i)?i:[],e)}return this[n]((function(n){return t.apply(Na(n)?n:[],e)}))}})),Tf(Ds.prototype,(function(e,t){var n=$s[t];if(n){var r=n.name+"";Vb.call(Hs,r)||(Hs[r]=[]),Hs[r].push({name:t,func:n})}})),Hs[Nl(void 0,2).name]=[{name:"wrapper",func:void 0}],Ds.prototype.clone=function(){var e=new Ds(this.__wrapped__);return e.__actions__=Gs(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=Gs(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=Gs(this.__views__),e},Ds.prototype.reverse=function(){if(this.__filtered__){var e=new Ds(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},Ds.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,n=Na(e),r=t<0,i=n?e.length:0,o=function(e,t,n){for(var r=-1,i=n.length;++r<i;){var o=n[r],a=o.size;switch(o.type){case"drop":e+=a;break;case"dropRight":t-=a;break;case"take":t=Yb(t,e+a);break;case"takeRight":e=Gb(e,t-a)}}return{start:e,end:t}}(0,i,this.__views__),a=o.start,s=o.end,l=s-a,c=r?s:a-1,u=this.__iteratees__,h=u.length,p=0,d=zb(l,this.__takeCount__);if(!n||!r&&i==l&&d==l)return W_(e,this.__actions__);var f=[];e:for(;l--&&p<d;){for(var m=-1,g=e[c+=t];++m<h;){var y=u[m],v=y.iteratee,_=y.type,b=v(g);if(2==_)g=b;else if(!b){if(1==_)continue e;break e}}f[p++]=g}return f},$s.prototype.at=Bb.at,$s.prototype.chain=Bb.wrapperChain,$s.prototype.commit=Bb.commit,$s.prototype.next=Bb.next,$s.prototype.plant=Bb.plant,$s.prototype.reverse=Bb.reverse,$s.prototype.toJSON=$s.prototype.valueOf=$s.prototype.value=Bb.value,$s.prototype.first=$s.prototype.head,Kb&&($s.prototype[Kb]=Bb.toIterator);var Qb={exports:{}};!function(e){!function(t){var n=/^\s+/,r=/\s+$/,i=0,o=t.round,a=t.min,s=t.max,l=t.random;function c(e,l){if(l=l||{},(e=e||"")instanceof c)return e;if(!(this instanceof c))return new c(e,l);var u=function(e){var i,o,l,c={r:0,g:0,b:0},u=1,h=null,p=null,d=null,f=!1,m=!1;return"string"==typeof e&&(e=function(e){e=e.replace(n,"").replace(r,"").toLowerCase();var t,i=!1;if(R[e])e=R[e],i=!0;else if("transparent"==e)return{r:0,g:0,b:0,a:0,format:"name"};return(t=U.rgb.exec(e))?{r:t[1],g:t[2],b:t[3]}:(t=U.rgba.exec(e))?{r:t[1],g:t[2],b:t[3],a:t[4]}:(t=U.hsl.exec(e))?{h:t[1],s:t[2],l:t[3]}:(t=U.hsla.exec(e))?{h:t[1],s:t[2],l:t[3],a:t[4]}:(t=U.hsv.exec(e))?{h:t[1],s:t[2],v:t[3]}:(t=U.hsva.exec(e))?{h:t[1],s:t[2],v:t[3],a:t[4]}:(t=U.hex8.exec(e))?{r:I(t[1]),g:I(t[2]),b:I(t[3]),a:M(t[4]),format:i?"name":"hex8"}:(t=U.hex6.exec(e))?{r:I(t[1]),g:I(t[2]),b:I(t[3]),format:i?"name":"hex"}:(t=U.hex4.exec(e))?{r:I(t[1]+""+t[1]),g:I(t[2]+""+t[2]),b:I(t[3]+""+t[3]),a:M(t[4]+""+t[4]),format:i?"name":"hex8"}:!!(t=U.hex3.exec(e))&&{r:I(t[1]+""+t[1]),g:I(t[2]+""+t[2]),b:I(t[3]+""+t[3]),format:i?"name":"hex"}}(e)),"object"==typeof e&&(j(e.r)&&j(e.g)&&j(e.b)?(i=e.r,o=e.g,l=e.b,c={r:255*O(i,255),g:255*O(o,255),b:255*O(l,255)},f=!0,m="%"===String(e.r).substr(-1)?"prgb":"rgb"):j(e.h)&&j(e.s)&&j(e.v)?(h=D(e.s),p=D(e.v),c=function(e,n,r){e=6*O(e,360),n=O(n,100),r=O(r,100);var i=t.floor(e),o=e-i,a=r*(1-n),s=r*(1-o*n),l=r*(1-(1-o)*n),c=i%6;return{r:255*[r,s,a,a,l,r][c],g:255*[l,r,r,s,a,a][c],b:255*[a,a,l,r,r,s][c]}}(e.h,h,p),f=!0,m="hsv"):j(e.h)&&j(e.s)&&j(e.l)&&(h=D(e.s),d=D(e.l),c=function(e,t,n){var r,i,o;function a(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}if(e=O(e,360),t=O(t,100),n=O(n,100),0===t)r=i=o=n;else{var s=n<.5?n*(1+t):n+t-n*t,l=2*n-s;r=a(l,s,e+1/3),i=a(l,s,e),o=a(l,s,e-1/3)}return{r:255*r,g:255*i,b:255*o}}(e.h,h,d),f=!0,m="hsl"),e.hasOwnProperty("a")&&(u=e.a)),u=L(u),{ok:f,format:e.format||m,r:a(255,s(c.r,0)),g:a(255,s(c.g,0)),b:a(255,s(c.b,0)),a:u}}(e);this._originalInput=e,this._r=u.r,this._g=u.g,this._b=u.b,this._a=u.a,this._roundA=o(100*this._a)/100,this._format=l.format||u.format,this._gradientType=l.gradientType,this._r<1&&(this._r=o(this._r)),this._g<1&&(this._g=o(this._g)),this._b<1&&(this._b=o(this._b)),this._ok=u.ok,this._tc_id=i++}function u(e,t,n){e=O(e,255),t=O(t,255),n=O(n,255);var r,i,o=s(e,t,n),l=a(e,t,n),c=(o+l)/2;if(o==l)r=i=0;else{var u=o-l;switch(i=c>.5?u/(2-o-l):u/(o+l),o){case e:r=(t-n)/u+(t<n?6:0);break;case t:r=(n-e)/u+2;break;case n:r=(e-t)/u+4}r/=6}return{h:r,s:i,l:c}}function h(e,t,n){e=O(e,255),t=O(t,255),n=O(n,255);var r,i,o=s(e,t,n),l=a(e,t,n),c=o,u=o-l;if(i=0===o?0:u/o,o==l)r=0;else{switch(o){case e:r=(t-n)/u+(t<n?6:0);break;case t:r=(n-e)/u+2;break;case n:r=(e-t)/u+4}r/=6}return{h:r,s:i,v:c}}function p(e,t,n,r){var i=[k(o(e).toString(16)),k(o(t).toString(16)),k(o(n).toString(16))];return r&&i[0].charAt(0)==i[0].charAt(1)&&i[1].charAt(0)==i[1].charAt(1)&&i[2].charAt(0)==i[2].charAt(1)?i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0):i.join("")}function d(e,t,n,r){return[k(P(r)),k(o(e).toString(16)),k(o(t).toString(16)),k(o(n).toString(16))].join("")}function f(e,t){t=0===t?0:t||10;var n=c(e).toHsl();return n.s-=t/100,n.s=N(n.s),c(n)}function m(e,t){t=0===t?0:t||10;var n=c(e).toHsl();return n.s+=t/100,n.s=N(n.s),c(n)}function g(e){return c(e).desaturate(100)}function y(e,t){t=0===t?0:t||10;var n=c(e).toHsl();return n.l+=t/100,n.l=N(n.l),c(n)}function v(e,t){t=0===t?0:t||10;var n=c(e).toRgb();return n.r=s(0,a(255,n.r-o(-t/100*255))),n.g=s(0,a(255,n.g-o(-t/100*255))),n.b=s(0,a(255,n.b-o(-t/100*255))),c(n)}function _(e,t){t=0===t?0:t||10;var n=c(e).toHsl();return n.l-=t/100,n.l=N(n.l),c(n)}function b(e,t){var n=c(e).toHsl(),r=(n.h+t)%360;return n.h=r<0?360+r:r,c(n)}function E(e){var t=c(e).toHsl();return t.h=(t.h+180)%360,c(t)}function T(e){var t=c(e).toHsl(),n=t.h;return[c(e),c({h:(n+120)%360,s:t.s,l:t.l}),c({h:(n+240)%360,s:t.s,l:t.l})]}function x(e){var t=c(e).toHsl(),n=t.h;return[c(e),c({h:(n+90)%360,s:t.s,l:t.l}),c({h:(n+180)%360,s:t.s,l:t.l}),c({h:(n+270)%360,s:t.s,l:t.l})]}function S(e){var t=c(e).toHsl(),n=t.h;return[c(e),c({h:(n+72)%360,s:t.s,l:t.l}),c({h:(n+216)%360,s:t.s,l:t.l})]}function C(e,t,n){t=t||6,n=n||30;var r=c(e).toHsl(),i=360/n,o=[c(e)];for(r.h=(r.h-(i*t>>1)+720)%360;--t;)r.h=(r.h+i)%360,o.push(c(r));return o}function A(e,t){t=t||6;for(var n=c(e).toHsv(),r=n.h,i=n.s,o=n.v,a=[],s=1/t;t--;)a.push(c({h:r,s:i,v:o})),o=(o+s)%1;return a}c.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},getLuminance:function(){var e,n,r,i=this.toRgb();return e=i.r/255,n=i.g/255,r=i.b/255,.2126*(e<=.03928?e/12.92:t.pow((e+.055)/1.055,2.4))+.7152*(n<=.03928?n/12.92:t.pow((n+.055)/1.055,2.4))+.0722*(r<=.03928?r/12.92:t.pow((r+.055)/1.055,2.4))},setAlpha:function(e){return this._a=L(e),this._roundA=o(100*this._a)/100,this},toHsv:function(){var e=h(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=h(this._r,this._g,this._b),t=o(360*e.h),n=o(100*e.s),r=o(100*e.v);return 1==this._a?"hsv("+t+", "+n+"%, "+r+"%)":"hsva("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHsl:function(){var e=u(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=u(this._r,this._g,this._b),t=o(360*e.h),n=o(100*e.s),r=o(100*e.l);return 1==this._a?"hsl("+t+", "+n+"%, "+r+"%)":"hsla("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHex:function(e){return p(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){return function(e,t,n,r,i){var a=[k(o(e).toString(16)),k(o(t).toString(16)),k(o(n).toString(16)),k(P(r))];return i&&a[0].charAt(0)==a[0].charAt(1)&&a[1].charAt(0)==a[1].charAt(1)&&a[2].charAt(0)==a[2].charAt(1)&&a[3].charAt(0)==a[3].charAt(1)?a[0].charAt(0)+a[1].charAt(0)+a[2].charAt(0)+a[3].charAt(0):a.join("")}(this._r,this._g,this._b,this._a,e)},toHex8String:function(e){return"#"+this.toHex8(e)},toRgb:function(){return{r:o(this._r),g:o(this._g),b:o(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+o(this._r)+", "+o(this._g)+", "+o(this._b)+")":"rgba("+o(this._r)+", "+o(this._g)+", "+o(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:o(100*O(this._r,255))+"%",g:o(100*O(this._g,255))+"%",b:o(100*O(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+o(100*O(this._r,255))+"%, "+o(100*O(this._g,255))+"%, "+o(100*O(this._b,255))+"%)":"rgba("+o(100*O(this._r,255))+"%, "+o(100*O(this._g,255))+"%, "+o(100*O(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(w[p(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+d(this._r,this._g,this._b,this._a),n=t,r=this._gradientType?"GradientType = 1, ":"";if(e){var i=c(e);n="#"+d(i._r,i._g,i._b,i._a)}return"progid:DXImageTransform.Microsoft.gradient("+r+"startColorstr="+t+",endColorstr="+n+")"},toString:function(e){var t=!!e;e=e||this._format;var n=!1,r=this._a<1&&this._a>=0;return t||!r||"hex"!==e&&"hex6"!==e&&"hex3"!==e&&"hex4"!==e&&"hex8"!==e&&"name"!==e?("rgb"===e&&(n=this.toRgbString()),"prgb"===e&&(n=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(n=this.toHexString()),"hex3"===e&&(n=this.toHexString(!0)),"hex4"===e&&(n=this.toHex8String(!0)),"hex8"===e&&(n=this.toHex8String()),"name"===e&&(n=this.toName()),"hsl"===e&&(n=this.toHslString()),"hsv"===e&&(n=this.toHsvString()),n||this.toHexString()):"name"===e&&0===this._a?this.toName():this.toRgbString()},clone:function(){return c(this.toString())},_applyModification:function(e,t){var n=e.apply(null,[this].concat([].slice.call(t)));return this._r=n._r,this._g=n._g,this._b=n._b,this.setAlpha(n._a),this},lighten:function(){return this._applyModification(y,arguments)},brighten:function(){return this._applyModification(v,arguments)},darken:function(){return this._applyModification(_,arguments)},desaturate:function(){return this._applyModification(f,arguments)},saturate:function(){return this._applyModification(m,arguments)},greyscale:function(){return this._applyModification(g,arguments)},spin:function(){return this._applyModification(b,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(C,arguments)},complement:function(){return this._applyCombination(E,arguments)},monochromatic:function(){return this._applyCombination(A,arguments)},splitcomplement:function(){return this._applyCombination(S,arguments)},triad:function(){return this._applyCombination(T,arguments)},tetrad:function(){return this._applyCombination(x,arguments)}},c.fromRatio=function(e,t){if("object"==typeof e){var n={};for(var r in e)e.hasOwnProperty(r)&&(n[r]="a"===r?e[r]:D(e[r]));e=n}return c(e,t)},c.equals=function(e,t){return!(!e||!t)&&c(e).toRgbString()==c(t).toRgbString()},c.random=function(){return c.fromRatio({r:l(),g:l(),b:l()})},c.mix=function(e,t,n){n=0===n?0:n||50;var r=c(e).toRgb(),i=c(t).toRgb(),o=n/100;return c({r:(i.r-r.r)*o+r.r,g:(i.g-r.g)*o+r.g,b:(i.b-r.b)*o+r.b,a:(i.a-r.a)*o+r.a})},c.readability=function(e,n){var r=c(e),i=c(n);return(t.max(r.getLuminance(),i.getLuminance())+.05)/(t.min(r.getLuminance(),i.getLuminance())+.05)},c.isReadable=function(e,t,n){var r,i,o=c.readability(e,t);switch(i=!1,r=function(e){var t,n;return"AA"!==(t=((e=e||{level:"AA",size:"small"}).level||"AA").toUpperCase())&&"AAA"!==t&&(t="AA"),"small"!==(n=(e.size||"small").toLowerCase())&&"large"!==n&&(n="small"),{level:t,size:n}}(n),r.level+r.size){case"AAsmall":case"AAAlarge":i=o>=4.5;break;case"AAlarge":i=o>=3;break;case"AAAsmall":i=o>=7}return i},c.mostReadable=function(e,t,n){var r,i,o,a,s=null,l=0;i=(n=n||{}).includeFallbackColors,o=n.level,a=n.size;for(var u=0;u<t.length;u++)(r=c.readability(e,t[u]))>l&&(l=r,s=c(t[u]));return c.isReadable(e,s,{level:o,size:a})||!i?s:(n.includeFallbackColors=!1,c.mostReadable(e,["#fff","#000"],n))};var R=c.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},w=c.hexNames=function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}(R);function L(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function O(e,n){(function(e){return"string"==typeof e&&-1!=e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var r=function(e){return"string"==typeof e&&-1!=e.indexOf("%")}(e);return e=a(n,s(0,parseFloat(e))),r&&(e=parseInt(e*n,10)/100),t.abs(e-n)<1e-6?1:e%n/parseFloat(n)}function N(e){return a(1,s(0,e))}function I(e){return parseInt(e,16)}function k(e){return 1==e.length?"0"+e:""+e}function D(e){return e<=1&&(e=100*e+"%"),e}function P(e){return t.round(255*parseFloat(e)).toString(16)}function M(e){return I(e)/255}var F,H,B,U=(H="[\\s|\\(]+("+(F="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+F+")[,|\\s]+("+F+")\\s*\\)?",B="[\\s|\\(]+("+F+")[,|\\s]+("+F+")[,|\\s]+("+F+")[,|\\s]+("+F+")\\s*\\)?",{CSS_UNIT:new RegExp(F),rgb:new RegExp("rgb"+H),rgba:new RegExp("rgba"+B),hsl:new RegExp("hsl"+H),hsla:new RegExp("hsla"+B),hsv:new RegExp("hsv"+H),hsva:new RegExp("hsva"+B),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/});function j(e){return!!U.CSS_UNIT.exec(e)}e.exports?e.exports=c:window.tinycolor=c}(Math)}(Qb);var Jb,eE=Qb.exports,tE=[95,85,75,30,15,0,15,30,45,60,80],nE=function(e){return eE(e).getLuminance()<=.5},rE=[{fontColorIndex:0,bgColorIndex:3},{fontColorIndex:13,bgColorIndex:8},{fontColorIndex:14,bgColorIndex:1}],iE=function(e){void 0===e&&(e={});var t=Array.from(Array(15)).fill(Mo),n=e.basicColorRelations,r=void 0===n?[]:n,i=function(e){for(var t=[],n=0;n<11;n++){var r=tE[n];t.push(K_(0===r?e:eE.mix(e,n<5?"#FFFFFF":"#000000",r).toHexString()))}return t}(e.brandColor);return r.forEach((function(e){t[e.basicColorIndex]=i[e.standardColorIndex]})),rE.forEach((function(e){var n=e.fontColorIndex,r=e.bgColorIndex;t[n]=nE(t[r])?Mo:Po})),sa(sa({},e),{basicColors:t})},oE=iE({brandColor:"#3471F9",semanticColors:{red:"#FF4D4F",green:"#29A294",yellow:"#FAAD14"},others:{highlight:"#87B5FF",results:"#F0F7FF"},basicColorRelations:[{basicColorIndex:1,standardColorIndex:0},{basicColorIndex:2,standardColorIndex:1},{basicColorIndex:3,standardColorIndex:5},{basicColorIndex:4,standardColorIndex:6},{basicColorIndex:5,standardColorIndex:6},{basicColorIndex:6,standardColorIndex:6},{basicColorIndex:7,standardColorIndex:5},{basicColorIndex:9,standardColorIndex:1},{basicColorIndex:10,standardColorIndex:4},{basicColorIndex:11,standardColorIndex:4},{basicColorIndex:12,standardColorIndex:5}]}),aE={default:iE({brandColor:"#326EF4",semanticColors:{red:"#FF4D4F",green:"#29A294",yellow:"#FAAD14"},others:{highlight:"#87B5FF",results:"#F0F7FF"},basicColorRelations:[{basicColorIndex:1,standardColorIndex:0},{basicColorIndex:2,standardColorIndex:1},{basicColorIndex:3,standardColorIndex:1},{basicColorIndex:4,standardColorIndex:2},{basicColorIndex:5,standardColorIndex:7},{basicColorIndex:6,standardColorIndex:5},{basicColorIndex:7,standardColorIndex:5},{basicColorIndex:9,standardColorIndex:1},{basicColorIndex:10,standardColorIndex:2},{basicColorIndex:11,standardColorIndex:5},{basicColorIndex:12,standardColorIndex:5}]}),colorful:oE,gray:iE({brandColor:"#9DA7B6",semanticColors:{red:"#FF4D4F",green:"#29A294",yellow:"#FAAD14"},others:{highlight:"#87B5FF",results:"#F0F7FF"},basicColorRelations:[{basicColorIndex:1,standardColorIndex:0},{basicColorIndex:2,standardColorIndex:1},{basicColorIndex:3,standardColorIndex:1},{basicColorIndex:4,standardColorIndex:2},{basicColorIndex:5,standardColorIndex:7},{basicColorIndex:6,standardColorIndex:8},{basicColorIndex:7,standardColorIndex:5},{basicColorIndex:9,standardColorIndex:1},{basicColorIndex:10,standardColorIndex:2},{basicColorIndex:11,standardColorIndex:3},{basicColorIndex:12,standardColorIndex:3}]})},sE="Roboto, PingFangSC, BlinkMacSystemFont, Microsoft YaHei, Arial, sans-serif",lE="zh_CN",cE={zh_CN:{小计:"小计",总计:"总计",总和:"总和",项:"项",已选择:"已选择",序号:"序号",度量:"度量",数值:"数值",共计:"共计",条:"条",趋势:"趋势",隐藏:"隐藏",组内升序:"组内升序",升序:"升序",降序:"降序",组内降序:"组内降序",不排序:"不排序"},en_US:{小计:"Total",总计:"Total",总和:"SUM",项:"items",已选择:"selected",序号:"Index",度量:"Measure",数值:"Measure",共计:"Total",条:"",隐藏:"Hide",趋势:"Trend",组内升序:"Group ASC",组内降序:"Group DESC",升序:"ASC",降序:"DESC",不排序:"No order"}},uE=function(){return lE},hE=function(e){cE=Ey({},cE,e)},pE=function(e,t){return void 0===t&&(t=e),vu(cE,[lE,e],t)},dE="".concat(Io,"-tooltip"),fE="".concat(dE,"-container"),mE="".concat(fE,"-show"),gE="".concat(fE,"-hide"),yE=("".concat(dE,"-operation"),15);function vE(e){return"mobile"===e||/(iPhone|iPad|SymbianOS|Windows Phone|iPod|iOS|Android)/i.test(navigator.userAgent)}function _E(){return/windows/i.test(navigator.userAgent)}!function(e){e[e.ALL=0]="ALL",e[e.COL=1]="COL",e[e.ROW=2]="ROW"}(Jb||(Jb={}));var bE=function(e){return aE[(e||"default").toLowerCase()]},EE=function(){function e(e){this.x=0,this.y=0,this.width=0,this.height=0,this.colIndex=-1,this.level=0,this.isLeaf=!1,this.children=[],this.padding=0;var t=e.id,n=e.key,r=e.value,i=e.label,o=e.parent,a=e.level,s=e.rowIndex,l=e.isTotals,c=e.isGrandTotals,u=e.isSubTotals,h=e.isCollapsed,p=e.hierarchy,d=e.isPivotMode,f=e.seriesNumberWidth,m=e.field,g=e.spreadsheet,y=e.query,v=e.belongsCell,_=e.inCollapseNode,b=e.isTotalMeasure,E=e.isLeaf,T=e.extra;this.id=t,this.key=n,this.value=r,this.label=i||r,this.parent=o,this.level=a,this.rowIndex=s,this.isTotals=l,this.isCollapsed=h,this.hierarchy=p,this.isPivotMode=d,this.seriesNumberWidth=f,this.field=m,this.spreadsheet=g,this.query=y,this.belongsCell=v,this.inCollapseNode=_,this.isTotalMeasure=b,this.isLeaf=E,this.isGrandTotals=c,this.isSubTotals=u,this.extra=T}return e.getFieldPath=function(e,t){if(e&&!e.isTotals||e&&t){for(var n=e.parent,r=[e.field];n&&n.id!==xo;)r.push(n.field),n=n.parent;return r.reverse()}return[]},e.getAllLeaveNodes=function(e){var t=[];if(e.isLeaf)return[e];for(var n=ha([],ua(e.children),!1),r=n.shift();r;)r.isLeaf?t.push(r):n.unshift.apply(n,ha([],ua(r.children),!1)),r=n.shift();return t},e.getAllChildrenNodes=function(e){var t=[];if(e.isLeaf)return[e];for(var n=ha([],ua(e.children||[]),!1),r=n.shift();r;)t.push(r),n.unshift.apply(n,ha([],ua(r.children),!1)),r=n.shift();return t},e.getAllBranch=function(e){for(var t=[],n=this.getAllLeaveNodes(e),r=n.shift(),i=[];r;){i.unshift(r);for(var o=r.parent;o&&!Wg(o,e);)i.unshift(o),o=o.parent;t.push(i),r=n.shift(),i=[]}return t},e.blankNode=function(){return new e({id:"",key:"",value:""})},e.rootNode=function(){return new e({id:"root",key:"",value:""})},e.prototype.toJSON=function(){return My(this,["config","hierarchy","parent","spreadsheet"])},e.prototype.getHeadLeafChild=function(){for(var e=this;!$g(e.children);)e=zm(e.children);return e},e}(),TE=function(){function e(){this.width=0,this.height=0,this.maxLevel=-1,this.sampleNodesForAllLevels=[],this.sampleNodeForLastLevel=null,this.allNodesWithoutRoot=[],this.indexNode=[]}return e.prototype.getLeaves=function(){return this.allNodesWithoutRoot.filter((function(e){return e.isLeaf}))},e.prototype.getNodes=function(e){return void 0!==e?this.allNodesWithoutRoot.filter((function(t){return t.level===e})):this.allNodesWithoutRoot},e.prototype.getNodesLessThanLevel=function(e){return this.allNodesWithoutRoot.filter((function(t){return t.level<=e}))},e.prototype.pushNode=function(e,t){void 0===t&&(t=-1),-1===t?this.allNodesWithoutRoot.push(e):this.allNodesWithoutRoot.splice(t,0,e)},e.prototype.pushIndexNode=function(e){this.indexNode.push(e)},e.prototype.getIndexNodes=function(){return this.indexNode},e}(),xE=function(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1),this.label=e,this.isSubTotals=t,this.isGrandTotals=n};function SE(e,t){for(var n={},r=e;r&&r.key;)r.isTotals&&!t||(n[r.key]=r.value),r=r.parent;return n}var CE=function(e,t,n,r){return t.layoutArrange?t.layoutArrange(t.spreadsheet,n,r,e):e},AE=function(e,t,n,r){var i,o;if(null===(o=null===(i=e.spreadsheet)||void 0===i?void 0:i.facet)||void 0===o?void 0:o.getHiddenColumnsInfo(n))return!1;var a=!0,s=function(e,n,i){void 0===n&&(n=-1),void 0===i&&(i=-1),-1===n?(t.children.push(e),r.pushNode(e)):(t.children.splice(n,0,e),r.pushNode(e,i))};if(e.layoutHierarchy){var l=e.layoutHierarchy(e.spreadsheet,n);if(l){var c=!!Bg(null==l?void 0:l.delete)&&(null==l?void 0:l.delete);a=!c;var u=l.push,h=l.unshift,p=t.children.length,d=r.getNodes().length;$g(h)||(dm(h,(function(e){s(e)})),p=t.children.length,d=r.getNodes().length),$g(u)||dm(u,(function(e){s(e)})),c||s(n,p,d)}else s(n)}else s(n);return a},RE=function(e,t,n){(null==e?void 0:e.layoutCoordinate)&&((null==t?void 0:t.isLeaf)||(null==n?void 0:n.isLeaf))&&(null==e||e.layoutCoordinate(e.spreadsheet,t,n))},wE=function(e){this.label=e},LE=function(e){var t,n=e.addTotalMeasureInTotal,r=e.addMeasureInTotalQuery,i=e.parentNode,o=e.currentField,a=e.fields,s=e.facetCfg,l=e.hierarchy,c=a.indexOf(o),u=s.dataSet,h=s.values,p=s.spreadsheet,d=[],f={};if(i.isTotals)n&&(f=SE(i.parent,!0),d.push.apply(d,ha([],ua(h.map((function(e){return new wE(e)}))),!1)));else{f=SE(i,!0);var m=u.getDimensionValues(o,f),g=CE(m,s,i,o);d.push.apply(d,ha([],ua(g||[]),!1));var y=u.getFieldName(o);$g(d)&&(o===no?d.push.apply(d,ha([],ua(null===(t=u.fields)||void 0===t?void 0:t.values),!1)):d.push(y)),function(e,t,n){var r,i,o,a,s=null!==(a=null===(o=n.colCfg)||void 0===o?void 0:o.hideMeasureColumn)&&void 0!==a&&a,l=n.dataSet.fields.valueInCols;try{for(var c=ca(e),u=c.next();!u.done;u=c.next()){var h=u.value;s&&l&&t===no&&e.splice(e.indexOf(h),1)}}catch(e){r={error:e}}finally{try{u&&!u.done&&(i=c.return)&&i.call(c)}finally{if(r)throw r.error}}}(d,o,s),function(e){var t,n,r,i=e.isFirstField,o=e.currentField,a=e.fieldValues,s=e.lastField,l=e.spreadsheet.getTotalsConfig(i?o:s);i?(null==l?void 0:l.showGrandTotals)&&(n=l.reverseLayout?"unshift":"push",r=new xE(l.label,!1,!0)):(null==l?void 0:l.showSubTotals)&&($s.size(a)>1||!1!==$s.get(l,"showSubTotals.always"))&&o!==no&&(n=l.reverseSubLayout?"unshift":"push",r=new xE(l.subLabel,!0)),null===(t=a[n])||void 0===t||t.call(a,r)}({currentField:o,lastField:a[c-1],isFirstField:0===c,fieldValues:d,spreadsheet:p})}var v=d.filter((function(e){return!ny(e)}));NE({currentField:o,fields:a,fieldValues:v,facetCfg:s,hierarchy:l,parentNode:i,level:c,query:f,addMeasureInTotalQuery:r,addTotalMeasureInTotal:n})},OE=function(e,t){return"".concat(e).concat(So).concat(t)},NE=function(e){var t,n,r,i,o,a,s,l,c,u,h,p,d=e.currentField,f=e.fields,m=e.fieldValues,g=e.facetCfg,y=e.hierarchy,v=e.parentNode,_=e.level,b=e.query,E=e.addMeasureInTotalQuery,T=e.addTotalMeasureInTotal,x=g.spreadsheet,S=g.collapsedCols,C=g.colCfg;try{for(var A=ca(m.entries()),R=A.next();!R.done;R=A.next()){var w=ua(R.value,2),L=w[0],O=w[1],N=O instanceof xE,I=O instanceof wE,k=void 0,D=void 0,P=!1,M=!1,F=!1,H=d;if(N){var B=O;M=B.isGrandTotals,F=B.isSubTotals,k=pE(O.label),E?(D=sa(sa({},b),((r={})[no]=null===(s=null==x?void 0:x.dataSet)||void 0===s?void 0:s.fields.values[0],r)),P=!0):(D=b,T||(P=!0))}else if(I)k=pE(O.label),D=sa(sa({},b),((i={})[no]=k,i)),H=no,P=!0;else if(x.isTableMode())k=O,H=f[L],D=sa(sa({},b),((o={})[H]=k,o)),P=!0;else{k=O,D=sa(sa({},b),((a={})[d]=k,a));var U=null===(c=null===(l=x.dataCfg.fields)||void 0===l?void 0:l.valueInCols)||void 0===c||c,j=(null==C?void 0:C.hideMeasureColumn)&&U&&gg(f,no)?2:1;P=_===f.length-j}var G=OE(v.id,k);if(!G)return;var Y=!!Bg(null==S?void 0:S[G])&&(null==S?void 0:S[G]),z=new EE({id:G,key:H,value:k,level:_,field:H,parent:v,isTotals:N,isGrandTotals:M,isSubTotals:F,isTotalMeasure:I,isCollapsed:Y,hierarchy:y,query:D,spreadsheet:x,isLeaf:P||Y}),$=AE(g,v,z,y),W=null===(u=null==x?void 0:x.facet)||void 0===u?void 0:u.getHiddenColumnsInfo(z);W&&v&&(v.hiddenChildNodeInfo=W),!(_>y.maxLevel)||M||v.isGrandTotals||v.isSubTotals||z.isSubTotals||(y.sampleNodesForAllLevels.push(z),y.maxLevel=_,y.sampleNodeForLastLevel=W?(null===(h=null==W?void 0:W.displaySiblingNode)||void 0===h?void 0:h.next)||(null===(p=null==W?void 0:W.displaySiblingNode)||void 0===p?void 0:p.prev):z),P||Y||!$?(z.isLeaf=!0,y.pushIndexNode(z),z.rowIndex=y.getIndexNodes().length-1):LE({addTotalMeasureInTotal:T,addMeasureInTotalQuery:E,parentNode:z,currentField:f[_+1],fields:f,facetCfg:g,hierarchy:y})}}catch(e){t={error:e}}finally{try{R&&!R.done&&(n=A.return)&&n.call(A)}finally{if(t)throw t.error}}},IE=function(e,t,n,r){var i=t.facetCfg,o=t.hierarchy,a=t.parentNode,s=i.dataSet;e.forEach((function(e,l){"string"==typeof e&&(e={key:e});var c=e.key,u=c===oo?pE("序号"):s.getFieldName(c),h=r||a;if(NE({currentField:c,fields:[c],fieldValues:[u],facetCfg:i,hierarchy:o,parentNode:h,level:n,query:{},addMeasureInTotalQuery:!1,addTotalMeasureInTotal:!1}),e.children&&e.children.length){var p=h.children[l];p.isLeaf=!1,IE(e.children,t,n+1,p)}}))},kE=function(e,t){return t>0&&e<t},DE=function(e,t,n){return t>0&&e>=n-t},PE=function(e,t,n){return n>0&&e<t+n},ME=function(e,t,n){return n>0&&e>=t+1-n},FE=function(e,t,n,r,i,o){var a=Fm(n,(function(t,r){var a=e-(Jg(o)?0:o)+i.x;return a>=t&&a<n[r+1]}),0);a=Math.max(a,0);var s=Fm(n,(function(t,r){var o=i.width+e+i.x;return o>=t&&o<n[r+1]}),a);s=Math.min(-1===s?1/0:s,n.length-2);var l=r.getIndexRange(t+i.y,i.height+t+i.y);return[a,s,l.start,l.end]},HE=function(e,t,n){var r,i,o=null==e?void 0:e.getMatrix(),a=null!==(r=null==o?void 0:o[6])&&void 0!==r?r:0,s=null!==(i=null==o?void 0:o[7])&&void 0!==i?i:0;null==e||e.translate(t-a,n-s)},BE=function(e,t){var n,r=null==e?void 0:e.getMatrix(),i=null!==(n=null==r?void 0:r[6])&&void 0!==n?n:0;null==e||e.translate(t-i,0)},UE=function(e,t,n){var r=t,i=n,o=function(e){return e.isLeaf?1:e.children?e.children.reduce((function(e,t){return e+o(t)}),0):0};return t&&(r=e.slice(0,t).reduce((function(e,t){return e+o(t)}),0)),n&&(i=e.slice(e.length-n).reduce((function(e,t){return e+o(t)}),0)),{colCount:r,trailingColCount:i}},jE=function(e,t){return e.reduce((function(e,n){"string"==typeof n&&(n={key:n});var r=sa({},n);return r.children?(r.children=jE(r.children,t),e.push(r),e):(t[r.key]&&e.push(r),e)}),[])},GE=function(e){return"root"===e.parent.id},YE=function(e){var t=function(e){var t=[],n=function(e){e.forEach((function(e){"string"!=typeof e&&e.children?n(e.children):t.push(e)}))};return n(e),t}(e);return t.map((function(e){return"string"==typeof e?e:e.key}))},zE=function(e){var t=e.children[0];return t?t.isLeaf?t:zE(t):e},$E=function(){function e(){var e=this;this.debug=!1,this.debugCallback=function(t,n){if(e.debug){var r=performance.now();n();var i=performance.now();console.log(t,"".concat(i-r," ms"))}else n()},this.logger=function(t){for(var n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];e.debug&&console.log.apply(console,ha([t],ua(n),!1))}}return e.getInstance=function(){return e.instance||(e.instance=new e),e.instance},e.prototype.setDebug=function(e){this.debug=e},e}(),WE=Object.freeze({__proto__:null,ArrowDown:'\n<svg width="10px" height="10px" viewBox="0 0 10 10" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n<g id="页面-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" font-family="Roboto, PingFangSC, BlinkMacSystemFont, Microsoft YaHei, Arial, sans-serif" font-size="12" font-weight="bold">\n <text id="↓" fill="#29A294">\n <tspan x="-0.225097656" y="8.5">↓</tspan>\n </text>\n</g>\n</svg>',ArrowUp:'<svg width="10px" height="10px" viewBox="0 0 10 10" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n<g id="页面-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" font-family="Roboto, PingFangSC, BlinkMacSystemFont, Microsoft YaHei, Arial, sans-serif" font-size="12" font-weight="bold">\n <text id="↑" fill="#FF4D4F">\n <tspan x="-0.225097656" y="8.5">↑</tspan>\n </text>\n</g>\n</svg>\n',CellDown:'<?xml version="1.0" encoding="UTF-8"?>\n<svg width="7px" height="9px" viewBox="0 0 7 9" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n \x3c!-- Generator: Sketch 58 (84663) - https://sketch.com --\x3e\n <title>down</title>\n <desc>Created with Sketch.</desc>\n <g id="一期开发" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">\n <polygon id="down" fill="#58AE57" transform="translate(3.500000, 4.500000) scale(1, -1) translate(-3.500000, -4.500000) " points="3.5 0 7 9 0 9"></polygon>\n </g>\n</svg>',CellUp:'<?xml version="1.0" encoding="UTF-8"?>\n<svg width="7px" height="9px" viewBox="0 0 7 9" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n \x3c!-- Generator: Sketch 58 (84663) - https://sketch.com --\x3e\n <title>up</title>\n <desc>Created with Sketch.</desc>\n <g id="一期开发" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">\n <polygon id="up" fill="#F46649" points="3.5 0 7 9 0 9"></polygon>\n </g>\n</svg> ',GlobalAsc:'<svg t="1557124621626" class="icon" style="" viewBox="0 0 1024 1024" version="1.1"\nxmlns="http://www.w3.org/2000/svg" p-id="17452"\nxmlns:xlink="http://www.w3.org/1999/xlink" width="14" height="14">\n<defs>\n <style type="text/css"></style>\n</defs>\n<path d="M182.272 167.04a8 8 0 0 0-12.544 0L57.728 309.056A8 8 0 0 0 64 321.984h76.032v530.048c0 4.352 3.584 7.936 7.936 7.936h56.064a8 8 0 0 0 7.936-7.936V321.92H288a8 8 0 0 0 6.272-12.992l-112-141.888z m209.728 626.944h176c4.416 0 8 3.584 8 8v56a8 8 0 0 1-8 8h-176A8 8 0 0 1 384 857.984v-56c0-4.416 3.584-8 8-8z m0-424h368c4.416 0 8 3.648 8 8v56a8 8 0 0 1-8 8h-368A8 8 0 0 1 384 433.984v-56c0-4.352 3.584-8 8-8z m528-139.968h-528A8 8 0 0 1 384 222.016v-56c0-4.416 3.584-8 8-8h528c4.416 0 8 3.584 8 8v56a8 8 0 0 1-8 8z m-256 424h-272A8 8 0 0 1 384 646.016v-56c0-4.416 3.584-8 8-8h272c4.416 0 8 3.584 8 8v56a8 8 0 0 1-8 8z" p-id="17453"></path>\n</svg>',GlobalDesc:'<svg t="1557124685600" class="icon" style="" viewBox="0 0 1024 1024" version="1.1"\n xmlns="http://www.w3.org/2000/svg" p-id="17561"\n xmlns:xlink="http://www.w3.org/1999/xlink" width="14" height="14">\n <defs>\n <style type="text/css"></style>\n </defs>\n <path d="M182.272 856.96a8 8 0 0 1-12.544 0l-112-141.952A8 8 0 0 1 64 702.08h76.032V172.032c0-4.416 3.584-8 7.936-8h56.064c4.352 0 7.936 3.584 7.936 8v529.984H288c6.72 0 10.496 7.808 6.272 12.992l-112 141.888z m209.728-626.944h176A8 8 0 0 0 576 222.016v-56a8 8 0 0 0-8-8h-176A8 8 0 0 0 384 166.016v56c0 4.416 3.584 8 8 8z m0 424h368a8 8 0 0 0 8-8v-56a8 8 0 0 0-8-8h-368A8 8 0 0 0 384 590.016v56c0 4.416 3.584 8 8 8z m528 139.968h-528a8 8 0 0 0-8 8v56c0 4.416 3.584 8 8 8h528a8 8 0 0 0 8-8v-56a8 8 0 0 0-8-8z m-256-424h-272A8 8 0 0 0 384 377.984v56c0 4.416 3.584 8 8 8h272a8 8 0 0 0 8-8v-56a8 8 0 0 0-8-8z" p-id="17562"></path>\n</svg>',GroupAsc:'<svg t="1557124695786" class="icon" style="" viewBox="0 0 1024 1024" version="1.1"\n xmlns="http://www.w3.org/2000/svg" p-id="17670"\n xmlns:xlink="http://www.w3.org/1999/xlink" width="14" height="14">\n <defs>\n <style type="text/css"></style>\n </defs>\n <path d="M182.272 167.04a8 8 0 0 0-12.544 0L57.728 309.056A8 8 0 0 0 64 321.984h76.032v530.048c0 4.352 3.584 7.936 7.936 7.936h56.064a8 8 0 0 0 7.936-7.936V321.92H288a8 8 0 0 0 6.272-12.992l-112-141.888z m209.728 62.976h304A8 8 0 0 0 704 222.016v-56a8 8 0 0 0-8-8h-304A8 8 0 0 0 384 166.016v56c0 4.416 3.584 8 8 8z m0 424h304a8 8 0 0 0 8-8v-56a8 8 0 0 0-8-8h-304A8 8 0 0 0 384 590.016v56c0 4.416 3.584 8 8 8z m528 139.968h-528a8 8 0 0 0-8 8v56c0 4.416 3.584 8 8 8h528a8 8 0 0 0 8-8v-56a8 8 0 0 0-8-8z m0-424h-528A8 8 0 0 0 384 377.984v56c0 4.416 3.584 8 8 8h528a8 8 0 0 0 8-8v-56a8 8 0 0 0-8-8z" p-id="17671"></path>\n</svg>',GroupDesc:'<svg t="1557124710652" class="icon" style="" viewBox="0 0 1024 1024" version="1.1"\n xmlns="http://www.w3.org/2000/svg" p-id="17779"\n xmlns:xlink="http://www.w3.org/1999/xlink" width="14" height="14">\n <defs>\n <style type="text/css"></style>\n </defs>\n <path d="M182.272 856.96a8 8 0 0 1-12.544 0l-112-141.952A8 8 0 0 1 64 702.08h76.032V172.032c0-4.416 3.584-8 7.936-8h56.064c4.352 0 7.936 3.584 7.936 8v529.984H288c6.72 0 10.496 7.808 6.272 12.992l-112 141.888z m209.728-626.944h304A8 8 0 0 0 704 222.016v-56a8 8 0 0 0-8-8h-304A8 8 0 0 0 384 166.016v56c0 4.416 3.584 8 8 8z m0 424h304a8 8 0 0 0 8-8v-56a8 8 0 0 0-8-8h-304A8 8 0 0 0 384 590.016v56c0 4.416 3.584 8 8 8z m528 139.968h-528a8 8 0 0 0-8 8v56c0 4.416 3.584 8 8 8h528a8 8 0 0 0 8-8v-56a8 8 0 0 0-8-8z m0-424h-528A8 8 0 0 0 384 377.984v56c0 4.416 3.584 8 8 8h528a8 8 0 0 0 8-8v-56a8 8 0 0 0-8-8z" p-id="17780"></path>\n</svg>',GroupNone:'<svg width="16px" height="16px" viewBox="0 0 16 16" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n<g id="设计输出" stroke="none" stroke-width="1" fill-opacity="0.25" fill-rule="evenodd">\n <g id="设计输出-移动端指标详情页-阅读端" transform="translate(-3275.000000, -724.000000)" fill-rule="nonzero">\n <g id="编组-39" transform="translate(3064.500000, 667.000000)">\n <g id="编组-36" transform="translate(80.500000, 44.000000)">\n <g id="不排序" transform="translate(130.000000, 13.000000)">\n <path d="M12.0009375,12.40625 C12.0696875,12.40625 12.1259375,12.4625 12.1259375,12.53125 L12.1259375,12.53125 L12.1259375,13.40625 C12.1259375,13.475 12.0696875,13.53125 12.0009375,13.53125 L12.0009375,13.53125 L6.25093747,13.53125 C6.18218747,13.53125 6.12593747,13.475 6.12593747,13.40625 L6.12593747,13.40625 L6.12593747,12.53125 C6.12593747,12.4625 6.18218747,12.40625 6.25093747,12.40625 L6.25093747,12.40625 Z M2.93949997,2.5801875 L2.97437497,2.6109375 L4.72437497,4.828125 C4.78062497,4.89776786 4.74503823,4.99725765 4.66779698,5.02426203 L4.62593747,5.03125 L3.438,5.03089062 L3.43843747,10.9691406 L4.62593747,10.9691406 C4.73062497,10.9691406 4.78999997,11.0910156 4.72437497,11.1722656 L2.97437497,13.3894531 C2.92437497,13.4535156 2.82749997,13.4535156 2.77749997,13.3894531 L1.02749997,11.1722656 C0.961874969,11.0894531 1.02124997,10.9691406 1.12593747,10.9691406 L2.31343747,10.9691406 L2.313,5.03089062 L1.12593747,5.03125 C1.03620533,5.03125 0.979764,4.94285714 1.00679571,4.8654519 L1.02749997,4.828125 L2.77749997,2.6109375 C2.81749997,2.5596875 2.88749997,2.5494375 2.93949997,2.5801875 Z M10.5009375,9.09375 C10.5696875,9.09375 10.6259375,9.15 10.6259375,9.21875 L10.6259375,9.21875 L10.6259375,10.09375 C10.6259375,10.1625 10.5696875,10.21875 10.5009375,10.21875 L10.5009375,10.21875 L6.25093747,10.21875 C6.18218747,10.21875 6.12593747,10.1625 6.12593747,10.09375 L6.12593747,10.09375 L6.12593747,9.21875 C6.12593747,9.15 6.18218747,9.09375 6.25093747,9.09375 L6.25093747,9.09375 Z M14.5009375,5.78125 C14.5696875,5.78125 14.6259375,5.8375 14.6259375,5.90625 L14.6259375,5.90625 L14.6259375,6.78125 C14.6259375,6.85 14.5696875,6.90625 14.5009375,6.90625 L14.5009375,6.90625 L6.25093747,6.90625 C6.18218747,6.90625 6.12593747,6.85 6.12593747,6.78125 L6.12593747,6.78125 L6.12593747,5.90625 C6.12593747,5.8375 6.18218747,5.78125 6.25093747,5.78125 L6.25093747,5.78125 Z M9.00093747,2.46875 C9.06968747,2.46875 9.12593747,2.525 9.12593747,2.59375 L9.12593747,2.59375 L9.12593747,3.46875 C9.12593747,3.5375 9.06968747,3.59375 9.00093747,3.59375 L9.00093747,3.59375 L6.25093747,3.59375 C6.18218747,3.59375 6.12593747,3.5375 6.12593747,3.46875 L6.12593747,3.46875 L6.12593747,2.59375 C6.12593747,2.525 6.18218747,2.46875 6.25093747,2.46875 L6.25093747,2.46875 Z" id="形状结合"></path>\n </g>\n </g>\n </g>\n </g>q\n</g>\n</svg>',Minus:'<svg t="1557140120188" class="icon" style="" viewBox="0 0 1024 1024" version="1.1"\nxmlns="http://www.w3.org/2000/svg" p-id="16909" xmlns:xlink="http://www.w3.org/1999/xlink"\nwidth="200" height="200">\n\t<defs>\n\t\t<style type="text/css">\n\t\t</style>\n\t</defs>\n\t<path d="M328 544h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"\n\tp-id="16910">\n\t</path>\n\t<path d="M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32z m-40 728H184V184h656v656z"\n\tp-id="16911">\n\t</path>\n</svg>',Plus:'<svg t="1557140186692" class="icon" style="" viewBox="0 0 1024 1024" version="1.1"\nxmlns="http://www.w3.org/2000/svg" p-id="17025" xmlns:xlink="http://www.w3.org/1999/xlink"\nwidth="200" height="200">\n\t<defs>\n\t\t<style type="text/css">\n\t\t</style>\n\t</defs>\n\t<path d="M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"\n\tp-id="17026">\n\t</path>\n\t<path d="M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32z m-40 728H184V184h656v656z"\n\tp-id="17027">\n\t</path>\n</svg>',SortDown:'<svg t="1565940955886" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg"\n p-id="17472" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200">\n <defs>\n <style type="text/css"></style>\n </defs>\n <path\n fill-opacity="0.45"\n d="M948 392.992l-403.008 488.99200001Q532 896 512.992 896t-32-14.016L76 392.992q-18.016-20.992-7.008-46.016T108 321.98400001L916 321.98400001q28 0 39.008 24.99199999T948 392.992z"\n p-id="17473" data-spm-anchor-id="a313x.7781069.0.i2" class="selected"></path>\n</svg>\n',SortUp:'<svg t="1565940979768" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg"\n p-id="17620" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200">\n <defs>\n <style type="text/css"></style>\n </defs>\n <path\n fill-opacity="0.45"\n d="M76 631.008l403.008-488.99200001Q492 128 511.008 128t32 14.016L948 631.008q18.016 20.992 7.008 46.016T916 702.01599999L108 702.01599999q-28 0-39.008-24.99199999T76 631.008z"\n p-id="17621"></path>\n</svg>\n',SortDownSelected:'<svg t="1565940955886" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg"\n p-id="17472" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200">\n <defs>\n <style type="text/css"></style>\n </defs>\n <path\n d="M948 392.992l-403.008 488.99200001Q532 896 512.992 896t-32-14.016L76 392.992q-18.016-20.992-7.008-46.016T108 321.98400001L916 321.98400001q28 0 39.008 24.99199999T948 392.992z"\n p-id="17473" data-spm-anchor-id="a313x.7781069.0.i2" class="selected"></path>\n</svg>\n',SortUpSelected:'<svg t="1565940979768" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg"\np-id="17620" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200">\n<defs>\n<style type="text/css"></style>\n</defs>\n<path\nd="M76 631.008l403.008-488.99200001Q492 128 511.008 128t32 14.016L948 631.008q18.016 20.992 7.008 46.016T916 702.01599999L108 702.01599999q-28 0-39.008-24.99199999T76 631.008z"\np-id="17621"></path>\n</svg>\n',InfoCircle:'<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1590389330617" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="19656" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><defs><style type="text/css"></style></defs><path d="M512 64c-247.4 0-448 200.6-448 448s200.6 448 448 448 448-200.6 448-448-200.6-448-448-448z m0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" fill="" p-id="19657"></path><path d="M464 336c0 26.5 21.5 48 48 48s48-21.5 48-48-21.5-48-48-48-48 21.5-48 48zM536 448h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-272c0-4.4-3.6-8-8-8z" fill="" p-id="19658"></path></svg>',ExpandColIcon:'<?xml version="1.0" encoding="UTF-8"?>\n<svg width="23px" height="12px" viewBox="0 0 23 12" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n <title>编组 8备份 3</title>\n <g id="----隐藏列标注!" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">\n <g id="隐藏列标注" transform="translate(-275.000000, -824.000000)">\n <rect fill="#FFFFFF" x="0" y="0" width="1333" height="1167"></rect>\n <g id="编组-8备份-3" transform="translate(275.000000, 824.000000)">\n <rect id="矩形" stroke-opacity="0.25" stroke="#000000" fill="#F7F7F7" x="0.5" y="0.5" width="11" height="11"></rect>\n <rect id="矩形备份-9" stroke-opacity="0.25" stroke="#000000" fill="#F7F7F7" x="11.5" y="0.5" width="11" height="11"></rect>\n <g id="7.Icon/arrow/15.down/fill" transform="translate(6.000000, 6.000000) rotate(90.000000) translate(-6.000000, -6.000000) " fill="#000000" fill-rule="nonzero" opacity="0.65">\n <path d="M7.25020811,6.37218077 L4.91348936,8.20968077 C4.82677061,8.27764952 4.69903624,8.21671202 4.69903624,8.10655577 L4.69903624,4.43272764 C4.69903624,4.32257139 4.82677061,4.26046202 4.91348936,4.32960264 L7.25020811,6.16593077 C7.31700499,6.21866514 7.31700499,6.31944639 7.25020811,6.37218077 Z" id="fill" transform="translate(5.999671, 6.269385) rotate(90.000000) translate(-5.999671, -6.269385) "></path>\n </g>\n <g id="7.Icon/arrow/15.down/fill" transform="translate(17.000000, 6.000000) rotate(270.000000) translate(-17.000000, -6.000000) translate(11.000000, 0.000000)" fill="#000000" fill-rule="nonzero" opacity="0.65">\n <path d="M7.25020811,6.37218077 L4.91348936,8.20968077 C4.82677061,8.27764952 4.69903624,8.21671202 4.69903624,8.10655577 L4.69903624,4.43272764 C4.69903624,4.32257139 4.82677061,4.26046202 4.91348936,4.32960264 L7.25020811,6.16593077 C7.31700499,6.21866514 7.31700499,6.31944639 7.25020811,6.37218077 Z" id="fill" transform="translate(5.999671, 6.269385) rotate(90.000000) translate(-5.999671, -6.269385) "></path>\n </g>\n </g>\n <line x1="286.5" y1="813" x2="286.5" y2="864.5" id="路径-2备份-3" stroke="#000000" opacity="0.25"></line>\n </g>\n </g>\n</svg>',Trend:'<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1596433821690" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="20229" width="16" height="16" xmlns:xlink="http://www.w3.org/1999/xlink"><defs><style type="text/css"></style></defs><path d="M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM305.8 637.7c3.1 3.1 8.1 3.1 11.3 0l138.3-137.6L583 628.5c3.1 3.1 8.2 3.1 11.3 0l275.4-275.3c3.1-3.1 3.1-8.2 0-11.3l-39.6-39.6c-3.1-3.1-8.2-3.1-11.3 0l-230 229.9L461.4 404c-3.1-3.1-8.2-3.1-11.3 0L266.3 586.7c-3.1 3.1-3.1 8.2 0 11.3l39.5 39.7z" p-id="20230"></path></svg>',DrillDownIcon:'<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1608030723688" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="21482" xmlns:xlink="http://www.w3.org/1999/xlink" width="16" height="16"><defs><style type="text/css"></style></defs><path d="M547.648 696a32 32 0 0 1 31.488 26.24l0.512 5.76v151.68l145.216-144.512a32 32 0 0 1 40.832-3.648l4.416 3.712a32 32 0 0 1 3.584 40.832l-3.712 4.48-203.072 202.24a32 32 0 0 1-40.768 3.648l-4.416-3.712-202.24-202.24a32 32 0 0 1 40.832-48.96l4.416 3.712 150.912 150.912v-158.144a32 32 0 0 1 32-32z m194.56-529.28l4.928 3.072 233.792 180.224a32 32 0 0 1 1.728 49.28l-4.864 3.52-409.792 245.568a32 32 0 0 1-27.328 2.624l-5.184-2.432-422.4-245.568a32 32 0 0 1-7.552-49.28l4.544-4.032 242.816-180.288a32 32 0 0 1 42.432 47.552l-4.288 3.84-203.84 151.296 364.16 211.648 353.28-211.712-196.608-151.552a32 32 0 0 1-8.896-40l3.136-4.864a32 32 0 0 1 40-8.96zM547.712 28.672a32 32 0 0 1 31.488 26.24l0.512 5.76v396.992a32 32 0 0 1-63.488 5.76l-0.512-5.76V60.736a32 32 0 0 1 32-32z" p-id="21483" fill="currentColor"></path></svg>\n',EyeOutlined:'<svg viewBox="64 64 896 896" focusable="false" data-icon="eye" width="1em" height="1em" fill="currentColor" aria-hidden="true"><path d="M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"></path></svg>'}),VE={},KE=function(e,t){VE[ly(e)]=t},qE=function(e){return VE[ly(e)]};Fc(WE).forEach((function(e){KE(e,WE[e])}));var XE,ZE,QE,JE="<svg",eT="data:image/svg+xml",tT={},nT=function(e){function t(t){var n=e.call(this,t)||this;return n.isOnlineLink=function(e){return/^(https?:)?(\/\/)/.test(e)},n.render(),n}return aa(t,e),t.prototype.getImage=function(e,t,n){var r=this;return new Promise((function(i,o){var a=qE(e);if(a){var s=new Image;s.onload=function(){tT[t]=s,i(s)},s.onerror=o,a.includes(eT)||r.isOnlineLink(a)?s.src=a:(n&&(a=(a=a.replace(/fill=[\'\"]#?\w+[\'\"]/g,"")).replace(/fill>/g,">")),a=a.replace(JE,"".concat(JE,' fill="').concat(n,'"')),s.src="".concat(eT,";utf-8,").concat(encodeURIComponent(a)))}}))},t.prototype.render=function(){var e=this.cfg,n=e.name,r=e.fill,i=_d(this.cfg),o=sa(sa({},My(i,"fill")),{type:t.type}),a=new Ti({attrs:o});this.iconImageShape=a,this.setImageAttrs({name:n,fill:r})},t.prototype.setImageAttrs=function(e){var t=this,n=e.name,r=e.fill,i=this.iconImageShape;n=n||i.attrs.name,r=r||i.attrs.fill;var o="".concat(n,"-").concat(r),a=tT[o];a?(i.attr("img",a),this.addShape("image",i)):this.getImage(n,o,r).then((function(e){t.destroyed||(i.attr("img",e),t.addShape("image",i))})).catch((function(e){console.error("GuiIcon ".concat(n," load failed"),e)}))},t.type="__GUI_ICON__",t}(mi);!function(e){e.TOP="TOP",e.BOTTOM="BOTTOM",e.LEFT="LEFT",e.RIGHT="RIGHT"}(XE||(XE={})),function(e){e.SUM="SUM",e.MIN="MIN",e.MAX="MAX",e.AVG="AVG"}(ZE||(ZE={})),function(e){e.Row="row",e.Col="col",e.Series="series"}(QE||(QE={}));var rT=function(){function e(){this.store=new Map}return e.prototype.set=function(e,t){return this.store.set(e,t)},e.prototype.get=function(e,t){var n;return null!==(n=this.store.get(e))&&void 0!==n?n:t},e.prototype.clear=function(){this.store.clear()},e.prototype.size=function(){return this.store.size},e}(),iT=function(e,t,n){return e.sort((function(e,r){n&&(e=n(e),r=n(r));var i=t.indexOf(e),o=t.indexOf(r);return-1===i&&-1===o?0:-1===i?1:-1===o?-1:i-o}))},oT=function(e){return Dm(e,(function(e){return!ny(e)&&"undefined"!==e}))},aT=function(e){var t;return null===(t=Fc(e))||void 0===t?void 0:t.reduce((function(t,n){var r=vu(e,n);return Array.isArray(r)?t=t.concat(aT(r)):null==t||t.push(r),t}),[])},sT=function(e){var t=[];if(Array.isArray(e))for(var n=("undefined"in e),r=e.length+(n?1:0),i=0,o=function(){var n=i===e.length?e[void 0]:e[i];i++,n&&"undefined"in n?Fc(n).forEach((function(e){t.push(n[e])})):Array.isArray(n)?t.push.apply(t,ha([],ua(n),!1)):t.push(n)};i<r;)o();else t.push(e);return t},lT=function(e,t){var n=[];return null==e||e.forEach((function(e,r){void 0===e&&t[r]&&n.push(t[r])})),n},cT=function(e,t){return!Nm(e,(function(e){return t[e]}))};function uT(e,t){var n=t.rows,r=t.columns;return Xv(e,(function(e,t){return cT([].concat(n).concat(r),t)&&e.push(t),e}),[])}"KMBTP".split("");var hT=function(e){return Number.parseFloat((Ka(e)||0).toPrecision(16))},pT=function(e,t,n){if(void 0===n&&(n=0),!Object.values(e).find((function(e){return e>0})))return e;var r=sa({},e);r.frozenColCount>=t&&(r.frozenColCount=t);var i=t-r.frozenColCount;r.frozenTrailingColCount>i&&(r.frozenTrailingColCount=i),r.frozenRowCount>=n&&(r.frozenRowCount=n);var o=n-r.frozenRowCount;return r.frozenTrailingRowCount>o&&(r.frozenTrailingRowCount=o),r};function dT(e,t,n){var r;return null===(r=null==e?void 0:e.addShape)||void 0===r?void 0:r.call(e,"rect",sa({zIndex:1,attrs:t},n||{}))}function fT(e,t){var n;return null===(n=null==e?void 0:e.addShape)||void 0===n?void 0:n.call(e,"circle",{attrs:t})}function mT(e,t,n,r,i,o,a,s){var l;return!$g(t)&&e&&dm(t,(function(t){e.contain(t)&&e.removeChild(t,!0)})),null===(l=null==e?void 0:e.addShape)||void 0===l?void 0:l.call(e,"text",{attrs:sa(sa({x:n,y:r,text:i,originalText:s},o),a)})}function gT(e,t,n){var r;return null===(r=null==e?void 0:e.addShape)||void 0===r?void 0:r.call(e,"line",{zIndex:100,attrs:sa(sa({},t),n)})}function yT(e,t,n){$g(e)||(Na(e)?e:[e]).forEach((function(e){s_(e,"attrs.".concat(t),n)}))}function vT(e,t){var n=new nT(t);return null==e||e.add(n),n}function _T(e,t,n,r,i){var o=new nT(sa(sa({name:r?"Plus":"Minus"},t),{fill:n}));return is(i)&&o.on("click",i),null==e||e.add(o),o}var bT,ET="s2-offscreen-canvas",TT=function(e){var t;return null!==(t=null==e?void 0:e.position)&&void 0!==t?t:"right"},xT=function(e,t){var n,r,i,o=e.data,a=e.encode,s=e.type,l=t.getMeta(),c=l.x,u=l.y,h=l.height,p=l.width,d=t.getStyle(Uo.DATA_CELL),f=d.cell,m=d.miniChart,g=[],y=Wm(o,(function(e){return g.push(null==e?void 0:e[a.y]),{x:e[a.x],y:e[a.y]}})),v=gy(g),_=Ay(g),b=v-_,E=c+f.padding.left,T=c+p-f.padding.right,x=u+f.padding.top,S=u+h-f.padding.bottom,C=S-x,A=s===eo.Bar?(T-E-(g.length-1)*(null===(n=null==m?void 0:m.bar)||void 0===n?void 0:n.intervalPadding))/g.length+(null===(r=null==m?void 0:m.bar)||void 0===r?void 0:r.intervalPadding):null!==(i=(T-E)/(g.length-1))&&void 0!==i?i:0,R=[],w=Wm(y,(function(e,t){var n,r,i=E+t*A;if(r=0!==b?S-((null==e?void 0:e.y)-_)/b*C:_>0?x:S,s===eo.Bar){var o=void 0,a=void 0;_<0&&v>0&&0!==b?(o=S-(0-_)/b*C,a=Math.abs(r-o),(null==e?void 0:e.y)<0&&(r=o)):(o=_<0?x:S,a=0===(b=gy([Math.abs(v),Math.abs(_)]))?C:Math.abs((null==e?void 0:e.y)-0)/b*C,r=o);var l=A-(null===(n=null==m?void 0:m.bar)||void 0===n?void 0:n.intervalPadding);R.push([l,a])}return[i,r]}));return{points:w,box:R}},ST=function(e,t,n){var r=Number(t)-Number(e);return Number.isNaN(r)||Number(e)<0?n.bad:r<=.1?n.good:r>.1&&r<=.2?n.satisfactory:n.bad},CT=function(e,t){switch(null==t?void 0:t.type){case eo.Line:!function(e,t){if(!$g(null==e?void 0:e.data)&&!$g(t)){var n=t.getStyle(Uo.DATA_CELL).miniChart.line,r=n.point,i=n.linkLine,o=xT(e,t).points;!function(e,t){var n;null===(n=null==e?void 0:e.addShape)||void 0===n||n.call(e,"polyline",{attrs:t})}(t,{points:o,stroke:i.fill,lineWidth:i.size,opacity:i.opacity});for(var a=0;a<o.length;a++)fT(t,{x:o[a][0],y:o[a][1],r:r.size,fill:r.fill,fillOpacity:r.opacity})}}(t,e);break;case eo.Bar:!function(e,t){if(!$g(null==e?void 0:e.data)&&!$g(t))for(var n=t.getStyle(Uo.DATA_CELL).miniChart.bar,r=xT(e,t),i=r.points,o=r.box,a=0;a<i.length;a++)dT(t,{x:i[a][0],y:i[a][1],width:o[a][0],height:o[a][1],fill:n.fill,fillOpacity:n.opacity})}(t,e);break;default:!function(e,t){var n,r=t.getStyle(Uo.DATA_CELL),i=t.getMeta(),o=i.x,a=i.y,s=i.height,l=i.width,c=i.spreadsheet;if($g(e))mT(t,[],o+l-r.cell.padding.right,a+s/2,FT(t,c.options.placeholder),r.text);else{var u=r.miniChart.bullet,h=u.progressBar,p=u.comparativeMeasure,d=u.rangeColors,f=u.backgroundColor,m=e.measure,g=e.target,y=Math.max(Number(m),0),v=Math.max(Number(g),0),_=function(e,t){var n,r;void 0===t&&(t={min:0,max:0});var i=Number(e);if(Number.isNaN(i))return e;var o=null!==(n=null==t?void 0:t.min)&&void 0!==n?n:t,a=null!==(r=null==t?void 0:t.max)&&void 0!==r?r:t;return new Intl.NumberFormat("en-US",{minimumFractionDigits:o,maximumFractionDigits:a,useGrouping:!1,style:"percent"}).format(i)}(m,2),b=(null==h?void 0:h.widthPercent)>1?(null==h?void 0:h.widthPercent)/100:null==h?void 0:h.widthPercent,E=r.cell.padding,T=l-E.left-E.right,x=b*T,S=T-x,C=o+l-E.right-x,A=a+s/2-h.height/2;dT(t,{x:C,y:A,width:x,height:h.height,fill:f,textBaseline:r.text.textBaseline});var R=vu(t.getMeta(),"spreadsheet.options.bullet.getRangeColor"),w=Math.max(Math.min(x*y,x),0);dT(t,{x:C,y:A+(h.height-h.innerHeight)/2,width:w,height:h.innerHeight,fill:null!==(n=null==R?void 0:R(y,v))&&void 0!==n?n:ST(y,v,d)});var L=C+x*v;gT(t,{x1:L,y1:a+(s-p.height)/2,x2:L,y2:a+(s-p.height)/2+p.height},{stroke:(null==p?void 0:p.fill)||(null==p?void 0:p.color),lineWidth:p.width,opacity:null==p?void 0:p.opacity}),mT(t,[],C-E.right,a+s/2,kT({measureTextWidth:c.measureTextWidth,text:_,maxWidth:S-E.right,fontParam:r.text}),r.text)}}(t,e)}},AT=function(e,t){var n=e.x,r=e.y,i=e.width,o=e.height,a=i-(null==t?void 0:t.left)-(null==t?void 0:t.right),s=o-(null==t?void 0:t.top)-(null==t?void 0:t.bottom);return{x:n+(null==t?void 0:t.left),y:r+(null==t?void 0:t.top),width:a,height:s}},RT=function(e){return Ey({size:0,position:"right",margin:{left:0,right:0}},e)},wT=function(e,t){return e-(t=RT(t)).size-t.margin.right-t.margin.left},LT=function(e,t,n){var r=e.y,i=e.height;void 0===n&&(n=0);var o=0;switch(t){case"top":o=r;break;case"middle":o=r+i/2-n/2;break;default:o=r+i-n}return o},OT=function(e,t,n,r,i){void 0===n&&(n=0),void 0===i&&(i=1);var o,a,s=e.x,l=e.width,c=t.textAlign,u=t.textBaseline,h=RT(r),p=h.size,d=h.margin,f=h.position,m=i*(p+d.left)+(i?d.right:0);switch(c){case"left":o=s+("left"===f?m:0),a=s+("left"===f?d.left:n+d.left);break;case"center":var g=s+l/2-(m-("left"===f?d.left:d.right)+n)/2;o=g+n/2+("left"===f?m-d.left:0),a=g+("left"===f?0:n+d.left);break;default:o=s+l-("right"===f?m:0),a=s+l-("right"===f?m-d.left:n+m-d.left)}return{text:{x:o,y:LT(e,u,0)},icon:{x:a,y:LT(e,u,p)}}},NT=function(e,t,n){var r,i,o,a,s,l=t.x,c=t.y,u=t.width,h=t.height,p=n.horizontalBorderWidth,d=n.horizontalBorderColorOpacity,f=n.horizontalBorderColor,m=n.verticalBorderWidth,g=n.verticalBorderColor,y=n.verticalBorderColorOpacity;if(e===XE.TOP||e===XE.BOTTOM){var v;i=v=e===XE.TOP?c+m/2:c+h-m/2,a=v,r=l,o=l+u,s={lineWidth:p,stroke:f,strokeOpacity:d}}if(e===XE.LEFT||e===XE.RIGHT){var _;r=_=e===XE.LEFT?l+p/2:l+u-p/2,o=_,i=c,a=c+h,s={lineWidth:m,stroke:g,strokeOpacity:y}}return{position:{x1:r,x2:o,y1:i,y2:a},style:s}},IT=(lu((function(e,t){if(void 0===e&&(e=""),!t)return 0;var n,r=(n=document.getElementById(ET),n||((n=document.createElement("canvas")).id=ET,n.style.display="none",document.body.appendChild(n),n)).getContext("2d"),i=t,o=i.fontSize,a=i.fontFamily,s=i.fontWeight,l=i.fontStyle,c=i.fontVariant;return r.font=[l,c,s,"".concat(o,"px"),a].join(" ").trim(),r.measureText("".concat(e)).width}),(function(e,t){return ha([e],ua(fg(t)),!1).join("")})),function(e,t,n,r){var i,o=e(No,r);i=pg(t)?t:du(t);var a,s,l=n,c=[];if(e(t,r)<=n)return t;for(var u=!0;u;){if((s=e(a=i.substr(0,16),r))+o>l&&s>l){u=!1;break}if(c.push(a),l-=s,!(i=i.substr(16)))return c.join("")}for(var h=!0;h;){if((s=e(a=i.substr(0,1),r))+o>l){h=!1;break}if(c.push(a),l-=s,!(i=i.substr(1)))return c.join("")}return"".concat(c.join(""),"...")}),kT=function(e){var t=e.measureTextWidth,n=e.text,r=e.maxWidth,i=e.fontParam,o=e.priorityParam,a=e.placeholder,s={},l=null!=a?a:Co,c=Jg(n)||""===n?l:"".concat(n),u=o;if(i&&Na(i)?u=i:s=i||{},!u||!u.length)return IT(t,c,r,s);var h=[],p=[c];u.forEach((function(e){p.forEach((function(t,n){var r=-1,i=t.match(new RegExp(e));if(i){var o=i[0];r=i.index,h.push(o);var a=r+o.length,s=[t.slice(0,r),t.slice(a)].filter((function(e){return!!e}));p.splice.apply(p,ha([n,1],ua(s),!1))}}))})),p=h.concat(p);var d=c,f=t(No,s),m=r;return p.forEach((function(e){if(m<=0){var n=d.indexOf(e),r=d.slice(n-3,n);if(r&&r!==No){var i=t(e,s);d=d.replace(e,i>f?No:e)}else d=d.replace(e,"");m-=f}else if(i=t(e,s),m<i&&i>f){var o=IT(t,e,m,s);d=d.replace(e,o),m=0}else m-=i})),d},DT=function(e){return Xg(e)?e>=0:!!e&&!Z_(e).startsWith("-")},PT=function(e,t,n,r){void 0===r&&(r="left");var i=t.right,o=t.left,a=n||0;return"left"===r?e+i/2+a:"right"===r?e-i/2-a:e+o/2+a},MT=function(e){var t=e.rowIndex,n=e.colIndex,r=e.meta,i=e.data,o=e.textStyle,a=e.textCondition,s=o.fill;return(null==a?void 0:a.mapping)&&(s=null==a?void 0:a.mapping(i,{rowIndex:t,colIndex:n,meta:r}).fill),sa(sa({},o),{fill:s})},FT=function(e,t){return is(t)?t(e):t},HT=function(e,t,n){var r,i,o,a;void 0===n&&(n=!0);var s=e.getContentArea(),l=s.x,c=s.y,u=s.height,h=s.width,p=t||e.getMeta().fieldValue,d=p.values,f=e.getMeta().spreadsheet,m=f.options,g=f.measureTextWidth,y=m.style.cellCfg.valuesCfg,v=null===(i=null===(r=null==m?void 0:m.conditions)||void 0===r?void 0:r.text)||void 0===i?void 0:i[0],_=null===(a=null===(o=null==m?void 0:m.conditions)||void 0===o?void 0:o.icon)||void 0===a?void 0:a[0];if(Na(d)){var b=null==y?void 0:y.widthPercent,E=0;if(null==p?void 0:p.label){var T=e.getStyle(Uo.DATA_CELL).bolderText,x=mT(e,[],l,c+(E=u/(d.length+1))/2,kT({measureTextWidth:g,text:p.label,maxWidth:h,fontParam:T}),T);e.addTextShape(x)}for(var S,C=function(e){var t,n,r=e.getMeta().isTotals,i=null===(n=(t=e).isMeasureField)||void 0===n?void 0:n.call(t),o=e.getStyle(i?Uo.COL_CELL:Uo.DATA_CELL);return{cellStyle:o,textStyle:i?o.measureText:r?o.bolderText:o.text}}(e),A=C.cellStyle,R=C.textStyle,w=null==A?void 0:A.icon,L=_&&_.mapping&&{size:null==w?void 0:w.size,margin:null==w?void 0:w.margin,position:null==_?void 0:_.position},O=function(e,t,n){for(var r,i,o,a=e.x,s=e.y,l=e.width,c=e.height/u_(t),u=[],h=0,p=Wm(n,(function(e){return e>1?e/100:e})),d=0;d<u_(t);d++){i=s+c*d;var f=[];r=a,h=0;for(var m=0;m<u_(t[d]);m++)o=$g(p)?l/u_(t[0]):l*p[m],r=PT(a,{left:0,right:0},h,"left"),h+=o,f.push({x:r,y:i,width:o,height:c});u.push(f)}return u}({x:l,y:c+E,height:u-E,width:h},d,b),N=0;N<d.length;N++)for(var I=_d(d[N]),k=0;k<I.length;k++){S=I[k];var D=n?MT({rowIndex:N,colIndex:k,meta:null==e?void 0:e.getMeta(),data:S,textStyle:R,textCondition:v}):R,P=(null==e?void 0:e.getMeta().spreadsheet.options).placeholder,M=FT(null==e?void 0:e.getMeta(),P),F=wT(O[N][k].width,w),H=kT({measureTextWidth:g,text:S,maxWidth:F,fontParam:D,placeholder:M}),B=g(H,R),U=OT(O[N][k],R,B,L,_?1:0);if(x=mT(e,[],U.text.x,U.text.y,H,D,{},null==S?void 0:S.toString()),e.addTextShape(x),_&&n){var j=null==_?void 0:_.mapping(S,{rowIndex:N,colIndex:k,meta:null==e?void 0:e.getMeta()});if(j){var G=vT(e,sa(sa({},U.icon),{name:j.icon,width:null==w?void 0:w.size,height:null==w?void 0:w.size,fill:j.fill}));e.addConditionIconShape(G)}}}}else CT(e,d)},BT=function(e,t){return void 0===t&&(t=1),(null==e?void 0:e.width)*t},UT=function(e){try{return JSON.parse(e)}catch(e){return null}};function jT(e,t){return!(!e||!t)&&String(e).toLowerCase()===String(t).toLowerCase()}var GT,YT=function(e,t){var n=e.getColumnNodes().find((function(e){return e.id===t}));return e.isPivotMode()?null==n?void 0:n.value:null==n?void 0:n.field},zT=function(e,t){var n=t.getColumnNodes().find((function(t){return t.colIndex===e})),r=YT(t,n.id);return t.options.interaction.copyWithFormat?t.dataSet.getFieldFormatter(r):function(e){return e}},$T=function(e,t,n){return zT(e.colIndex,n)(function(e,t,n){var r,i;if(n.isPivotMode()){var o=ua(function(e,t){var n=e.rowIndex,r=e.colIndex;return[t.getRowNodes().find((function(e){return e.rowIndex===n})),t.getColumnNodes().find((function(e){return e.colIndex===r}))]}(e,n),2),a=o[0],s=o[1],l=function(e){var t,n,r,i;return(null===(i=null===(r=null===(n=e.options)||void 0===n?void 0:n.style)||void 0===r?void 0:r.colCfg)||void 0===i?void 0:i.hideMeasureColumn)&&e.isValueInCols()?((t={})[no]=e.dataCfg.fields.values[0],t):{}}(n),c=n.dataSet.getCellData({query:sa(sa(sa({},a.query),s.query),l),rowNode:a,isTotals:a.isTotals||a.isTotalMeasure||s.isTotals||s.isTotalMeasure});return null!==(r=null==c?void 0:c[to])&&void 0!==r?r:""}var u=function(e,t){var n=t.getColumnNodes().find((function(t){return t.colIndex===e}));return YT(t,n.id)}(e.colIndex,n);return null===(i=t[e.rowIndex])||void 0===i?void 0:i[u]}(e,t,n))},WT=function(e){return/\n/.test(e)?'"'+e.replace(/\r\n?/g,"\n")+'"':e},VT=function(e,t){var n=e.split(So);return t?n.slice(n.length-t):(n.shift(),n)};!function(e){e.PLAIN="text/plain",e.HTML="text/html"}(GT||(GT={}));var KT=((bT={})[GT.PLAIN]=function(e){return{type:GT.PLAIN,content:Wm(e,(function(e){return e.join("\t")})).join("\r\n")}},bT[GT.HTML]=function(e){return{type:GT.HTML,content:'<meta charset="utf-8"><table><tbody>'.concat((t=e,"tr",t.map((function(e){return"<".concat("tr",">").concat(function(e,t){return e.map((function(e){return"<".concat("td",">").concat(Am(e),"</").concat("td",">")})).join("")}(e),"</").concat("tr",">")})).join("")),"</tbody></table>")};var t},bT);function qT(e){return KT[e]}var XT=function(e,t,n){var r,i,o,a,s,l,c=null!==(i=null===(r=e[0])||void 0===r?void 0:r.length)&&void 0!==i?i:0,u=null!==(o=null==t?void 0:t.length)&&void 0!==o?o:0,h=null!==(s=null===(a=n[0])||void 0===a?void 0:a.length)&&void 0!==s?s:0,p=null!==(l=n.length)&&void 0!==l?l:0,d=c+h,f=u+p,m=Array.from(Array(f),(function(){return new Array(d)}));return m=Wm(m,(function(r,i){return Wm(r,(function(r,o){return o>=0&&o<c&&i>=0&&i<u?"":o>=c&&o<=d&&i>=0&&i<u?t[i][o-c]:o>=0&&o<c&&i>=u&&i<f?e[i-u][o]:o>=c&&o<=d&&i>=u&&i<f?n[i-u][o-c]:void 0}))})),[qT(GT.PLAIN)(m),qT(GT.HTML)(m)]},ZT=function(e,t,n){return Wm(e,(function(e){return t.map((function(t){var r,i=n.dataSet.getCellData({query:sa(sa({},e.query),t.query),rowNode:e,isTotals:e.isTotals||e.isTotalMeasure||t.isTotals||t.isTotalMeasure});return zT(t.colIndex,n)(null!==(r=null==i?void 0:i[to])&&void 0!==r?r:"")}))}))};function QT(e,t,n){return e.options.interaction.copyWithHeader?function(e,t,n){var r=Wm(t,(function(e){return VT(e.id)})),i=Ab.apply(void 0,ha([],ua(Wm(n,(function(e){return VT(e.id)}))),!1)),o=ZT(t,n,e);return XT(r,i,o)}(e,t,n):function(e,t,n){var r=ZT(t,n,e);return[qT(GT.PLAIN)(r),qT(GT.HTML)(r)]}(e,t,n)}var JT=function(e,t,n){return t.isPivotMode()?function(e,t){var n=e.getRowNodes().filter((function(t){return t.isLeaf||e.isHierarchyTreeType()})),r=e.getColumnNodes().filter((function(e){return e.isLeaf})),i=t.length?t.reduce((function(e,t){return e.push.apply(e,ha([],ua(r.filter((function(e){return e.id.startsWith(t.id)}))),!1)),e}),[]):r;return QT(e,n,i)}(t,n):function(e,t){var n=e.dataSet.getDisplayDataSet(),r=t.length?t.map((function(t){return{field:YT(e,t.id),formatter:zT(t.colIndex,e)}})):e.dataCfg.fields.columns.map((function(t){return e.getColumnNodes().find((function(e){return e.field===t}))})).map((function(t){return{field:YT(e,t.id),formatter:zT(t.colIndex,e)}})),i=n.map((function(e){return r.map((function(t){var n=t.field,r=t.formatter;return WT(r(e[n]))}))}));return[qT(GT.PLAIN)(i),qT(GT.HTML)(i)]}(t,n)};var ex=function(e,t,n){return Wm(t,(function(t){var r;return null!==(r=e[t])&&void 0!==r?r:n}))};function tx(e,t){var n,r,i=t.filter((function(e){return e.type===Uo.COL_CELL})),o=t.filter((function(e){return e.type===Uo.ROW_CELL})),a=e.dataSet.getDisplayDataSet();if(e.interaction.getCurrentStateName()===Bo.ALL_SELECTED)r=JT(0,e,[]);else if(i.length)r=JT(0,e,i);else if(o.length)r=function(e,t,n){return t.isPivotMode()?function(e,t){var n=e.getRowNodes().filter((function(t){return t.isLeaf||e.isHierarchyTreeType()})),r=e.getColumnNodes().filter((function(e){return e.isLeaf})),i=t.reduce((function(e,t){return e.push.apply(e,ha([],ua(n.filter((function(e){return e.id.startsWith(t.id)}))),!1)),e}),[]);return QT(e,i,r)}(t,n):function(e,t){var n=e.dataSet.getDisplayDataSet().filter((function(e,n){return t.map((function(e){return e.rowIndex})).includes(n)})).map((function(t){return Object.keys(t).map((function(t){return e.getColumnNodes().find((function(e){return e.field===t}))})).filter(Boolean).map((function(n){return WT(zT(n.colIndex,e)(t[n.field]))}))}));return[qT(GT.PLAIN)(n),qT(GT.HTML)(n)]}(t,n)}(0,e,o);else{if(!t.length)return;var s=function(e){if(!(null==e?void 0:e.length))return[];var t=ua([{row:1/0,col:1/0},{row:0,col:0}],2),n=t[0],r=t[1];e.forEach((function(e){var t=e.rowIndex,i=e.colIndex;n.col=Math.min(i,n.col),n.row=Math.min(t,n.row),r.col=Math.max(i,r.col),r.row=Math.max(t,r.row)}));var i=ua([r.row-n.row+1,r.col-n.col+1],2),o=i[0],a=i[1],s=new Array(o).fill("").map((function(){return new Array(a).fill("")}));return e.forEach((function(e){var t=e.rowIndex,r=e.colIndex,i=ua([t-n.row,r-n.col],2),o=i[0],a=i[1];s[o][a]=e})),s}(t);if(e.interaction.getSelectedCellHighlight().currentRow){var l=Gy(t,"rowIndex","asc").map((function(t){return e.dataSet.getRowData(t)}));r=function(e,t){var n=e.options.placeholder,r=e.dataCfg.fields,i=r.rows,o=r.columns,a=r.values,s=FT(e,n),l=e.getColumnLeafNodes(),c=[];if(e.isTableMode()){var u=Dm(l,(function(e){return e.field!==oo}));c=Wm(t,(function(e){return Wm(u,(function(t){var n;return null!==(n=null==e?void 0:e[t.field])&&void 0!==n?n:s}))}))}else if(e.isPivotMode()){var h=ha(ha(ha([],ua(i),!1),ua(o),!1),ua(a),!1);c=Xv(aT(t).filter((function(e){return ha(ha([],ua(i),!1),ua(o),!1).every((function(t){return!Jg(e[t])}))})),(function(e,t){return ha(ha([],ua(e),!1),[ex(t,h,s)],!1)}),[])}return[qT(GT.PLAIN)(c),qT(GT.HTML)(c)]}(e,l)}else r=(null===(n=e.options.interaction)||void 0===n?void 0:n.copyWithHeader)?function(e,t,n){var r=Ab.apply(void 0,ha([],ua(Wm(e[0],(function(e){var t,n,r=null!==(n=null===(t=e.id.split(Co))||void 0===t?void 0:t[1])&&void 0!==n?n:"";return VT(r)}))),!1)),i=Wm(e,(function(e){var t,n,r=null!==(n=null===(t=e[0].id.split(Co))||void 0===t?void 0:t[0])&&void 0!==n?n:"";return VT(r)})),o=Wm(e,(function(e){return Wm(e,(function(e){return $T(e,t,n)}))}));return XT(i,r,o)}(s,a,e):function(e,t,n){var r=t.map((function(t){return t.map((function(t){return t?WT($T(t,e,n)):""}))}));return[qT(GT.PLAIN)(r),qT(GT.HTML)(r)]}(a,s,e)}return r}function nx(e){return e?'"'.concat("string"==typeof e?e.replace(/"/g,'""'):e,'"'):e}var rx=function(e){return new Promise((function(t,n){var r;r=Array.isArray(e)?vu(e.filter((function(e){return e.type===GT.PLAIN})),"[0].content",""):e.content||"";var i=document.createElement("textarea");i.value=r,document.body.appendChild(i),i.focus({preventScroll:!0}),i.select();var o=document.execCommand("copy");document.body.removeChild(i),o?t():n()}))},ix=function(e,t){var n;return void 0===t&&(t=!1),n="string"==typeof e?{content:e,type:GT.PLAIN}:e,navigator.clipboard&&window.ClipboardItem&&!t?function(e){return navigator.clipboard.write([new ClipboardItem([].concat(e).reduce((function(e,t){var n,r=t.type,i=t.content.replace(/\x00/g,"");return sa(sa({},e),((n={})[r]=new Blob([i],{type:r}),n))}),{}))]).catch((function(){return rx(e)}))}(n):rx(n)},ox=function(e,t){try{var n=document.createElement("a");n.download="".concat(t,".csv");var r=new Blob(["\ufeff".concat(e)],{type:"text/csv;charset=utf-8"});n.href=URL.createObjectURL(r),n.click(),URL.revokeObjectURL(n.href)}catch(e){console.error(e)}},ax=function(e,t,n){if(!e)return"";var r=e.fieldValue,i=e.valueField,o=e.data;return Ga(r)?function(e){var t=(null==e?void 0:e.label)?[null==e?void 0:e.label]:[],n=null==e?void 0:e.values;return $g(n)||dm(n,(function(e){t.push(e.join(" "))})),t.join("$")}(r):n?t.dataSet.getFieldFormatter(i)(r,o):"".concat(r)},sx=function(e,t,n,r){var i=[];if(e){var o=e.fieldValue,a=e.valueField,s=e.data;if(Ga(o))return i=function(e,t){var n,r,i,o;return t?null===(o=null==e?void 0:e.values)||void 0===o?void 0:o[0]:null!==(r=null===(n=null==e?void 0:e.originalValues)||void 0===n?void 0:n[0])&&void 0!==r?r:null===(i=null==e?void 0:e.values)||void 0===i?void 0:i[0]}(o,r),i;if(Jg(o)&&n.length>1)return i.push.apply(i,ha([],ua(n),!1)),i;if(r){var l=t.dataSet.getFieldFormatter(a);i.push(l(o,s))}else i.push(o)}else i.push.apply(i,ha([],ua(n),!1));return i.join(" ")},lx=function(e){var t=UT(e);return Na(t)?t:e},cx=function(e,t,n){var r=lx(t.label),i=Na(r)?r.length:1,o=n.options.placeholder,a=is(o)?o(e):o;return Array(i).fill(a)},ux=function(e){var t,n,r,i,o=null===(r=null===(n=null===(t=e.spreadsheet)||void 0===t?void 0:t.dataSet)||void 0===n?void 0:n.getFieldFormatter)||void 0===r?void 0:r.call(n,e.field);return null!==(i=null==o?void 0:o(e.label))&&void 0!==i?i:e.label},hx=function(e){var t=[],n=function(e){if(e.id!==xo){var r=ux(e);return t.unshift(r),(null==e?void 0:e.parent)?n(e.parent):void 0}};return n(e),t},px=function(e,t,n){var r,i,o,a,s,l=function(e){var t,n;return"object"==typeof e?{isFormatHeader:null!==(t=e.isFormatHeader)&&void 0!==t&&t,isFormatData:null!==(n=e.isFormatData)&&void 0!==n&&n}:{isFormatHeader:null!=e&&e,isFormatData:null!=e&&e}}(n),c=l.isFormatHeader,u=l.isFormatData,h=null===(s=null==e?void 0:e.facet)||void 0===s?void 0:s.layoutResult,p=h.rowsHierarchy,d=h.rowLeafNodes,f=h.colLeafNodes,m=h.getCellMeta,g=p.maxLevel,y=e.dataCfg.fields.valueInCols,v=p.sampleNodesForAllLevels.map((function(t){return e.dataSet.getFieldName(t.key)})),_=d.reduce((function(e,t){var n,r=(null!==(n=t.level)&&void 0!==n?n:0)+1;return r>e?r:e}),0),b=[],E=0;if(e.isPivotMode()){var T=d.filter((function(e){return 0!==e.height}));try{for(var x=ca(T),S=x.next();!S.done;S=x.next()){var C=S.value,A=[];c?A=hx(C):(C.label=Z_(null==C?void 0:C.label),A=C.id.replace(Ao,"").split(So));var R=g+1-A.length;R>0&&A.push.apply(A,ha([],ua(new Array(R)),!1));var w=e.dataSet.getFieldName(om(A));A[A.length-1]=w;try{for(var L=(o=void 0,ca(f)),O=L.next();!O.done;O=L.next()){var N=O.value;if(y){var I=m(C.rowIndex,N.colIndex);A.push(ax(I,e,u))}else{I=m(C.rowIndex,N.colIndex);var k=cx(I,N,e),D=sx(I,e,k,u);Na(D)?A=A.concat.apply(A,ha([],ua(D),!1)):A.push(D)}}}catch(e){o={error:e}}finally{try{O&&!O.done&&(a=L.return)&&a.call(L)}finally{if(o)throw o.error}}E=gy([A.length,E]);var P=A.map((function(e){return nx(e)})).join(t);b.push(P)}}catch(e){r={error:e}}finally{try{S&&!S.done&&(i=x.return)&&i.call(x)}finally{if(r)throw r.error}}}else b=function(e,t,n){var r,i,o,a=e.dataSet.getDisplayDataSet(),s=(null===(o=e.dataCfg)||void 0===o?void 0:o.fields).columns,l=YE(s||[]),c=[],u=function(r,i){var o=[];o=n?l.map((function(t){return nx(e.dataSet.getFieldFormatter(t)(i[t],i))})):l.map((function(e){return nx(i[e])})),e.options.showSeriesNumber&&(o=[nx(r+1)].concat(o)),c.push(o.join(t))};try{for(var h=ca(a.entries()),p=h.next();!p.done;p=h.next()){var d=ua(p.value,2);u(d[0],d[1])}}catch(e){r={error:e}}finally{try{p&&!p.done&&(i=h.return)&&i.call(h)}finally{if(r)throw r.error}}return c}(e,t,u);var M=[];if($g(f)&&!e.isPivotMode())M=[v];else{var F=0,H=_d(f).map((function(t){for(var n=t,r=[];void 0!==n.level;){var i=lx(n.label);Na(i)?F=gy([F,u_(i)]):i=c&&e.isPivotMode()?ux(n):i,r.push(i),n=n.parent}return r}));F>1&&(H=function(e){return e.map((function(e){return e.map((function(t){return Na(t)?t:Na(e[0])?ha([t],ua(new Array(e[0].length-1)),!1):t}))}))}(H));for(var B=gy(H.map((function(e){return e.length}))),U=[],j=function(t){var n=H.map((function(e){return e.length<B?ha(ha([],ua(new Array(B-e.length)),!1),ua(e),!1):e})).map((function(e){return e[t]})).map((function(t){return e.dataSet.getFieldName(t)}));U.push(Su(n))},G=B-1;G>=0;G-=1)j(G);M=U.map((function(t,n){var r,i;if(e.isPivotMode()){var o=e.facet.cornerHeader.cfg,a=o.columns,s=o.rows,l=o.data.filter((function(e){return e.cornerType===QE.Col}));if(n<U.length-1)return ha(ha(ha([],ua(Array(g).fill("")),!1),[(null===(i=l.find((function(e){return e.field===a[n]})))||void 0===i?void 0:i.label)||""],!1),ua(t),!1);var c=s.slice(0,_);return c.length<_&&c.unshift.apply(c,ha([],ua(Array(_-c.length).fill("")),!1)),ha(ha([],ua(c.map((function(t){return e.dataSet.getFieldName(t)||""}))),!1),ua(t),!1)}return n<U.length?(r=Array(_).fill("")).concat.apply(r,ha([],ua(t),!1)):v.concat.apply(v,ha([],ua(t),!1))}))}var Y=M.map((function(e){var n=E-e.length;return n>0&&e.unshift.apply(e,ha([],ua(new Array(n)),!1)),e.map((function(e){return nx(e)})).join(t)})).join("\r\n");return[Y].concat(b).join("\r\n")},dx=function(e){var t,n,r,i,o,a,s=null===(r=null===(n=null===(t=e.target)||void 0===t?void 0:t.attrs)||void 0===n?void 0:n.appendInfo)||void 0===r?void 0:r.cellData,l=null===(o=(i=e.target).get)||void 0===o?void 0:o.call(i,"parent");return{target:l,viewMeta:(null===(a=null==l?void 0:l.getMeta)||void 0===a?void 0:a.call(l))||s,event:e}},fx=function(e,t,n){var r,i=e.split(So);if(n)r=[e];else{r=[OE(i[0],i[1])];for(var o=2;o<i.length;o+=1)r.push(OE(r[o-2],i[o]))}var a=Dm(t,(function(e){var t;return r.includes(null===(t=e.getMeta())||void 0===t?void 0:t.id)}));return a},mx=function(e,t,n){e&&dm(fx(e,t),(function(e){e.updateByState(n)}))},gx=function(e){function t(t,n){for(var r=[],i=2;i<arguments.length;i++)r[i-2]=arguments[i];var o=e.call(this,{})||this;return o.textShapes=[],o.actualTextWidth=0,o.conditionIconShapes=[],o.stateShapes=new Map,o.meta=t,o.spreadsheet=n,o.theme=n.theme,o.conditions=o.spreadsheet.options.conditions,o.handleRestOptions.apply(o,ha([],ua(r),!1)),o.shouldInit()&&o.initCell(),o}return aa(t,e),t.prototype.getMeta=function(){return this.meta},t.prototype.setMeta=function(e){this.meta=e},t.prototype.getIconStyle=function(){return this.theme[this.cellType].icon},t.prototype.getTextAndIconPosition=function(e){void 0===e&&(e=1);var t=this.getTextStyle(),n=this.getIconStyle();return OT(this.getContentArea(),t,this.actualTextWidth,n,e)},t.prototype.getActualText=function(){return this.actualText},t.prototype.getFieldValue=function(){return this.getFormattedFieldValue().formattedValue},t.prototype.handleRestOptions=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t]},t.prototype.shouldInit=function(){var e=this.meta,t=e.width,n=e.height;return t>0&&n>0},t.prototype.getStyle=function(e){return vu(this.theme,e||this.cellType)},t.prototype.getResizeAreaStyle=function(){return this.getStyle("resizeArea")},t.prototype.shouldDrawResizeAreaByType=function(e,t){var n=this.spreadsheet.options.interaction.resize;return Bg(n)?n:is(n.visible)?n.visible(t):n[e]},t.prototype.getCellArea=function(){var e=this.meta;return{x:e.x,y:e.y,height:e.height,width:e.width}},t.prototype.getContentArea=function(){var e=this.getStyle()||this.theme.dataCell,t=(null==e?void 0:e.cell).padding;return AT(this.getCellArea(),t)},t.prototype.getIconPosition=function(e){return void 0===e&&(e=1),this.getTextAndIconPosition(e).icon},t.prototype.drawTextShape=function(){var e=this.getFormattedFieldValue().formattedValue,t=this.getMaxTextWidth(),n=this.getTextStyle(),r=this.spreadsheet,i=r.options.placeholder,o=r.measureTextWidth,a=FT(this,i),s=kT({measureTextWidth:o,text:e,maxWidth:t,fontParam:n,placeholder:a});this.actualText=s,this.actualTextWidth=o(s,n);var l=this.getTextPosition();this.textShape=mT(this,[this.textShape],l.x,l.y,s,n),this.textShapes.push(this.textShape)},t.prototype.drawLinkFieldShape=function(e,t){if(e){if(!vE(this.spreadsheet.options.style.device)){var n=this.getTextStyle(),r=this.getTextPosition().x;"center"===n.textAlign?r-=this.actualTextWidth/2:"right"===n.textAlign&&(r-=this.actualTextWidth);var i=this.textShape.getBBox().maxY;this.linkFieldShape=gT(this,{x1:r,y1:i+1,x2:r+this.actualTextWidth,y2:i+1},{stroke:t,lineWidth:1})}this.textShape.attr({fill:t,cursor:"pointer",appendInfo:{isLinkFieldText:!0,cellData:this.meta}})}},t.prototype.getLinkFieldStyle=function(){return this.getTextStyle().linkTextFill},t.prototype.drawLinkField=function(e){var t=this.spreadsheet.options.interaction.linkFields,n=void 0===t?[]:t,r=this.getLinkFieldStyle(),i=function(e,t){return"function"==typeof e?e(t):e.some((function(e){return e===t.key||e===t.id||e===t.valueField}))}(n,e);this.drawLinkFieldShape(i,r)},t.prototype.updateByState=function(e,t){var n=this;this.spreadsheet.interaction.setInteractedCells(t),dm(vu(this.theme,"".concat(this.cellType,".cell.interactionState.").concat(e)),(function(e,t){Fc(By(Vo,(function(e){return gg(e,t)}))).forEach((function(r){var i=n.stateShapes.has(r),o=i?n.stateShapes.get(r):n[r],a=Na(o)?o:[o];i&&a.forEach((function(e){e.set("visible",!0)})),"interactiveBorderShape"===r&&"borderWidth"===t&&Xg(e)&&dm(n.getInteractiveBorderShapeStyle(e),(function(e,t){yT(a,t,e)})),yT(a,Wo[t],e)}))}))},t.prototype.getInteractiveBorderShapeStyle=function(e){var t=this.getCellArea(),n=t.x,r=t.y,i=t.height,o=t.width,a=this.theme.dataCell.cell,s=a.horizontalBorderWidth,l=a.verticalBorderWidth;return{x:n+l/2+e/2,y:r+s/2+e/2,width:o-l-e,height:i-s-e}},t.prototype.hideInteractionShape=function(){this.stateShapes.forEach((function(e){yT(e,Wo.backgroundOpacity,0),yT(e,Wo.backgroundColor,"transparent"),yT(e,Wo.borderOpacity,0),yT(e,Wo.borderWidth,1),yT(e,Wo.borderColor,"transparent")}))},t.prototype.clearUnselectedState=function(){yT(this.backgroundShape,Wo.backgroundOpacity,1),yT(this.textShapes,Wo.textOpacity,1),yT(this.linkFieldShape,Wo.opacity,1)},t.prototype.getTextShape=function(){return this.textShape},t.prototype.getTextShapes=function(){return this.textShapes||[this.textShape]},t.prototype.addTextShape=function(e){e&&this.textShapes.push(e)},t.prototype.getConditionIconShape=function(){return this.conditionIconShape},t.prototype.getConditionIconShapes=function(){return this.conditionIconShapes||[this.conditionIconShape]},t.prototype.addConditionIconShape=function(e){e&&this.conditionIconShapes.push(e)},t.prototype.resetTextAndConditionIconShapes=function(){this.textShapes=[],this.conditionIconShapes=[]},Object.defineProperty(t.prototype,"cellConditions",{get:function(){return this.conditions},enumerable:!1,configurable:!0}),t.prototype.drawConditionIconShapes=function(){var e,t=this.findFieldCondition(null===(e=this.conditions)||void 0===e?void 0:e.icon);if(t&&t.mapping){var n=this.mappingValue(t),r=this.getIconPosition(),i=this.theme.dataCell.icon.size;$g(null==n?void 0:n.icon)||(this.conditionIconShape=vT(this,sa(sa({},r),{name:n.icon,width:i,height:i,fill:n.fill})),this.addConditionIconShape(this.conditionIconShape))}},t.prototype.getTextConditionFill=function(e){var t,n,r=e.fill,i=this.findFieldCondition(null===(t=this.conditions)||void 0===t?void 0:t.text);return(null==i?void 0:i.mapping)&&(r=(null===(n=this.mappingValue(i))||void 0===n?void 0:n.fill)||e.fill),r},t}(mi),yx=function(e,t){return t?t(e[no],e[to]):e[to]},vx=function(e,t){var n=t.getMeta().id;return e.some((function(e){return Wg(e.id,n)}))},_x=function(e,t){return"".concat(e).concat(Co).concat(t)},bx=function(e){return e.type===Uo.DATA_CELL},Ex=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return aa(t,e),Object.defineProperty(t.prototype,"cellType",{get:function(){return Uo.DATA_CELL},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"valueRangeByField",{get:function(){return this.spreadsheet.dataSet.getValueRangeByField(this.meta.valueField)},enumerable:!1,configurable:!0}),t.prototype.handleByStateName=function(e,t){vx(e,this)&&this.updateByState(t)},t.prototype.handleSearchResult=function(e){vx(e,this)&&(Hm(e,(function(e){return null==e?void 0:e.isTarget})).id===this.getMeta().id?this.updateByState(Bo.HIGHLIGHT):this.updateByState(Bo.SEARCH_RESULT))},t.prototype.handleSelect=function(e){var t;switch(null===(t=null==e?void 0:e[0])||void 0===t?void 0:t.type){case Uo.COL_CELL:this.changeRowColSelectState("colIndex");break;case Uo.ROW_CELL:this.changeRowColSelectState("rowIndex");break;case Uo.DATA_CELL:!function(e){var t=e.interaction.getSelectedCellHighlight(),n=t.currentRow,r=t.currentCol,i=t.rowHeader,o=t.colHeader;return n||r||i||o}(this.spreadsheet)?vx(e,this)?this.updateByState(Bo.SELECTED):this.spreadsheet.options.interaction.selectedCellsSpotlight&&this.updateByState(Bo.UNSELECTED):function(e,t,n){var r=n.interaction.getSelectedCellHighlight(),i=r.rowHeader,o=r.colHeader,a=r.currentRow,s=r.currentCol,l=t.cellType===Uo.ROW_CELL,c=n.isTableMode()&&n.options.showSeriesNumber&&i&&l;(a||c)&&function(e,t){dm(e,(function(e){bx(e)&&e.rowIndex===t.getMeta().rowIndex&&t.updateByState(Bo.SELECTED)}))}(e,t),s&&function(e,t){dm(e,(function(e){bx(e)&&e.colIndex===t.getMeta().colIndex&&t.updateByState(Bo.SELECTED)}))}(e,t),(i||o)&&function(e,t){dm(e,(function(e){bx(e)&&e.rowIndex===t.getMeta().rowIndex&&e.colIndex===t.getMeta().colIndex&&t.updateByState(Bo.SELECTED)}))}(e,t)}(e,this,this.spreadsheet)}},t.prototype.handleHover=function(e){var t=zm(e);if(t.type===Uo.DATA_CELL){var n=this.spreadsheet.interaction.getHoverHighlight(),r=n.currentRow,i=n.currentCol;if(r||i){var o=this.meta.colIndex,a=this.meta.rowIndex;i&&o===(null==t?void 0:t.colIndex)||r&&a===(null==t?void 0:t.rowIndex)?this.updateByState(Bo.HOVER):this.hideInteractionShape()}var s=this.getMeta(),l=s.id,c=s.rowIndex,u=s.colIndex;Wg(t.id,l)&&Wg(t.rowIndex,c)&&Wg(t.colIndex,u)&&this.updateByState(Bo.HOVER_FOCUS)}else this.hideInteractionShape()},t.prototype.update=function(){var e=this.spreadsheet.interaction.getCurrentStateName(),t=this.spreadsheet.interaction.getCells();if(e!==Bo.ALL_SELECTED){if(!$g(t)&&e)switch(e){case Bo.SELECTED:this.handleSelect(t);break;case Bo.HOVER_FOCUS:case Bo.HOVER:this.handleHover(t);break;case Bo.SEARCH_RESULT:this.handleSearchResult(t);break;default:this.handleByStateName(t,e)}}else this.updateByState(Bo.SELECTED)},t.prototype.setMeta=function(t){e.prototype.setMeta.call(this,t),this.initCell()},t.prototype.drawTextShape=function(){e.prototype.drawTextShape.call(this),this.drawLinkField(this.meta)},t.prototype.initCell=function(){this.resetTextAndConditionIconShapes(),this.drawBackgroundShape(),this.drawInteractiveBgShape(),this.shouldHideRowSubtotalData()||(this.drawConditionIntervalShape(),this.drawTextShape(),this.drawConditionIconShapes()),this.drawInteractiveBorderShape(),this.meta.isFrozenCorner&&this.drawBorderShape(),this.update()},t.prototype.getDefaultTextFill=function(e){var t=e.fill,n=this.getBackgroundColor(),r=n.backgroundColor,i=n.intelligentReverseTextColor;return nE(r)&&e.fill===Po&&i&&(t=Mo),t},t.prototype.getTextStyle=function(){var e=this.meta.isTotals?this.theme.dataCell.bolderText:this.theme.dataCell.text,t=this.getTextConditionFill(sa(sa({},e),{fill:this.getDefaultTextFill(e)}));return sa(sa({},e),{fill:t})},t.prototype.getIconStyle=function(){var e,t=this.theme.dataCell.icon,n=t.size,r=t.margin,i=this.findFieldCondition(null===(e=this.conditions)||void 0===e?void 0:e.icon);return i&&i.mapping&&{size:n,margin:r,position:TT(i)}},t.prototype.drawConditionIntervalShape=function(){this.conditionIntervalShape=function(e){var t,n,r,i,o,a;if(!$g(e)){var s=e.getCellArea(),l=s.x,c=s.y,u=s.height,h=s.width,p=e.findFieldCondition(null===(t=e.cellConditions)||void 0===t?void 0:t.interval);if(p&&p.mapping){var d=e.mappingValue(p);if(!d)return;var f=d.isCompare?d:e.valueRangeByField,m=hT(f.minValue),g=hT(f.maxValue),y=Jg(null==d?void 0:d.fieldValue)?hT(e.getMeta().fieldValue):hT(null==d?void 0:d.fieldValue);if(y<m||y>g)return;var v=null!==(r=null===(n=e.getStyle().miniChart.interval)||void 0===n?void 0:n.height)&&void 0!==r?r:e.getStyle().cell.miniBarChartHeight,_=null!==(o=null===(i=e.getStyle().miniChart.interval)||void 0===i?void 0:i.fill)&&void 0!==o?o:e.getStyle().cell.miniBarChartFillColor,b=function(e,t){void 0===e&&(e=0),void 0===t&&(t=0),e=hT(e),t=hT(t);var n=e>=0,r=t>=0&&e<=0,i=r?0:n?e:t,o=t-e;return function(t){var a=n?0:1;return{zeroScale:r?Jh(Math.abs(0-e)/o,0,1):a,scale:Jh((t-i)/o,-1,1)}}}(m,g),E=b(y);return dT(e,{x:l+h*E.zeroScale,y:c+u/2-v/2,width:h*E.scale,height:v,fill:null!==(a=d.fill)&&void 0!==a?a:_})}}}(this)},t.prototype.shouldHideRowSubtotalData=function(){var e,t=(null!==(e=this.spreadsheet.options.totals)&&void 0!==e?e:{}).row,n=void 0===t?{}:t,r=this.meta.rowIndex,i=this.spreadsheet.facet.layoutResult.rowLeafNodes[r],o=!(null==i?void 0:i.isGrandTotals)&&(null==i?void 0:i.isTotals);return"tree"===this.spreadsheet.options.hierarchyType&&!n.showSubTotals&&o},t.prototype.getFormattedFieldValue=function(){if(this.shouldHideRowSubtotalData())return{value:null,formattedValue:Co};var e=this.meta,t=e.rowId,n=e.valueField,r=e.fieldValue,i=e.data,o=this.spreadsheet.dataSet.getFieldMeta(t)?t:n;return{value:r,formattedValue:this.spreadsheet.dataSet.getFieldFormatter(o)(r,i,this.meta)}},t.prototype.getMaxTextWidth=function(){var e=this.getContentArea().width;return wT(e,this.getIconStyle())},t.prototype.getTextPosition=function(){return this.getTextAndIconPosition().text},t.prototype.getBackgroundColor=function(){var e,t=this.getStyle().cell,n=t.crossBackgroundColor,r=t.backgroundColorOpacity,i=this.getStyle().cell.backgroundColor;if(n&&this.meta.rowIndex%2==0&&(i=n),this.shouldHideRowSubtotalData())return{backgroundColor:i,backgroundColorOpacity:r};var o=this.findFieldCondition(null===(e=this.conditions)||void 0===e?void 0:e.background),a=!1;if(o&&o.mapping){var s=this.mappingValue(o);s&&(i=s.fill,a=s.intelligentReverseTextColor)}return{backgroundColor:i,backgroundColorOpacity:r,intelligentReverseTextColor:a}},t.prototype.drawBackgroundShape=function(){var e=this.getBackgroundColor(),t=e.backgroundColor,n=e.backgroundColorOpacity;this.backgroundShape=dT(this,sa(sa({},this.getCellArea()),{fill:t,fillOpacity:n}))},t.prototype.drawInteractiveBorderShape=function(){var e=this.getCellArea(),t=e.x,n=e.y,r=e.height,i=e.width;this.stateShapes.set("interactiveBorderShape",dT(this,{x:t+1,y:n+1,width:i-2,height:r-2},{capture:!1,visible:!1}))},t.prototype.drawInteractiveBgShape=function(){this.stateShapes.set("interactiveBgShape",dT(this,sa({},this.getCellArea()),{visible:!1}))},t.prototype.changeRowColSelectState=function(e){var t=this.spreadsheet.interaction,n=vu(this.meta,e),r=t.getState(),i=r.nodes,o=void 0===i?[]:i,a=r.cells,s=void 0===a?[]:a;(this.spreadsheet.isTableMode()&&o.length?o[0].hierarchy.getLeaves().some((function(e,t){return!!o.some((function(t){return t===e}))&&t===n})):ha(ha([],ua(o),!1),ua(s),!1).some((function(t){return vu(t,e)===n})))?this.updateByState(Bo.SELECTED):this.spreadsheet.options.interaction.selectedCellsSpotlight?this.updateByState(Bo.UNSELECTED):this.hideInteractionShape()},t.prototype.drawBorderShape=function(){var e=this;[XE.BOTTOM,XE.RIGHT].forEach((function(t){var n=NT(t,e.getCellArea(),e.getStyle().cell),r=n.position,i=n.style;gT(e,r,i)}))},t.prototype.findFieldCondition=function(e){var t=this;return Ym(e,(function(e){return e.field instanceof RegExp?e.field.test(t.meta.valueField):e.field===t.meta.valueField}))},t.prototype.mappingValue=function(e){var t=this.meta.fieldValue,n=this.spreadsheet.isTableMode()?this.spreadsheet.dataSet.getCellData({query:{rowIndex:this.meta.rowIndex}}):this.meta.data;return null==e?void 0:e.mapping(t,n)},t.prototype.updateByState=function(t){if(e.prototype.updateByState.call(this,t,this),t===Bo.UNSELECTED){var n=vu(this.theme,"".concat(this.cellType,".cell.interactionState.").concat(t));n&&this.toggleConditionIntervalShapeOpacity(n.opacity)}},t.prototype.clearUnselectedState=function(){e.prototype.clearUnselectedState.call(this),this.toggleConditionIntervalShapeOpacity(1)},t.prototype.toggleConditionIntervalShapeOpacity=function(e){yT(this.conditionIntervalShape,Wo.backgroundOpacity,e),yT(this.conditionIconShapes,Wo.opacity,e)},t.prototype.drawLeftBorder=function(){var e=NT(XE.LEFT,this.getCellArea(),this.getStyle().cell);gT(this,e.position,e.style)},t}(gx),Tx=function(e){function t(t,n,r){return e.call(this,r,t,n)||this}return aa(t,e),t.prototype.handleRestOptions=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=ua(e,1)[0];this.cells=n},Object.defineProperty(t.prototype,"cellType",{get:function(){return Uo.MERGED_CELL},enumerable:!1,configurable:!0}),t.prototype.update=function(){},t.prototype.initCell=function(){this.resetTextAndConditionIconShapes(),this.conditions=this.spreadsheet.options.conditions,this.drawBackgroundShape(),this.drawTextShape()},t.prototype.drawBackgroundShape=function(){var e=Sx(this.cells),t=this.theme.dataCell.cell;this.backgroundShape=function(e,t){var n;return null===(n=null==e?void 0:e.addShape)||void 0===n?void 0:n.call(e,"polygon",{attrs:t})}(this,{points:e,stroke:t.horizontalBorderColor,fill:t.backgroundColor,lineHeight:t.horizontalBorderWidth})},t.prototype.drawTextShape=function(){$g(this.meta)||(Ga(this.meta.fieldValue)?HT(this):e.prototype.drawTextShape.call(this))},t}(Ex),xx=function(e,t){return Hm(t,(function(t){return Wg(t[0],e[1])}))},Sx=function(e){var t,n,r=[];e.forEach((function(e){var t=e.getMeta(),n=t.x,i=t.y,o=t.width,a=t.height;r=r.concat(function(e,t,n,r){var i=[e,t],o=[e+n,t],a=[e+n,t+r],s=[e,t+r];return[[i,o],[o,a],[a,s],[s,i]]}(n,i,o,a))})),n=[],dm(t=r,(function(e){var r=[e[1],e[0]];JSON.stringify(t).includes(JSON.stringify(r))||n.push(e)}));for(var i=[],o=(r=n)[0],a=o,s=[];!Wg(o,s);)i=i.concat(a),a=s=xx(a,r);return i},Cx=function(e,t,n){var r;void 0===n&&(n=[]);var i=function(e,t){var n,r=[],i=[];return dm(e,(function(e){var o=Hm(t,(function(t){var n,r=null===(n=null==t?void 0:t.getMeta)||void 0===n?void 0:n.call(t);if((null==r?void 0:r.colIndex)===(null==e?void 0:e.colIndex)&&(null==r?void 0:r.rowIndex)===(null==e?void 0:e.rowIndex))return t}));o?(r.push(o),n=(null==e?void 0:e.showText)?null==o?void 0:o.getMeta():n):i.push(e)})),{cells:r,invisibleCellInfo:i,cellsMeta:n}}(n,e),o=i.cellsMeta,a=i.cells,s=i.invisibleCellInfo,l=o,c=a;if((null==s?void 0:s.length)>0&&s.length<n.length){var u=function(e,t){var n,r=[];return dm(e,(function(e){var i,o,a,s=null===(o=null===(i=null==t?void 0:t.facet)||void 0===i?void 0:i.layoutResult)||void 0===o?void 0:o.getCellMeta(e.rowIndex,e.colIndex);if(s){var l=null===(a=null==t?void 0:t.facet)||void 0===a?void 0:a.cfg.dataCell(s);n=(null==e?void 0:e.showText)?s:n,r.push(l)}})),{cells:r,cellsMeta:n}}(s,t),h=u.cells,p=u.cellsMeta;l=l||p,c=a.concat(h)}return $g(a)||l||(l=null===(r=c[0])||void 0===r?void 0:r.getMeta()),{cells:c,viewMeta:l}},Ax=function(e,t,n){return e.options.mergedCell?e.options.mergedCell(e,t,n):new Tx(e,t,n)},Rx=function(e,t){return cm(e,t,(function(e,t){return Wg(e.viewMeta.id,t.viewMeta.id)}))},wx=function(e){return e.includes(So)?"id":"field"},Lx=function(e,t){void 0===t&&(t=[]);var n=e.getInitColumnLeafNodes();return Ed(t.map((function(e){var t=wx(e);return n.find((function(n){return n[t]===e}))})))},Ox=function(e,t,n){void 0===t&&(t=[]),void 0===n&&(n=!1);var r=function(t,n){void 0===t&&(t=[]),void 0===n&&(n=[]),e.setOptions({interaction:{hiddenColumnFields:t}}),e.interaction.reset(),e.store.set("hiddenColumnsDetail",n),e.render(!1,{reBuildHiddenColumnsDetail:!1})};if($g(t)&&n)r();else{var i=e.store.get("hiddenColumnsDetail",[]),o=e.options.interaction.hiddenColumnFields;if(!Wg(t,o)||n){var a=ub(ha(ha([],ua(t),!1),ua(o),!1)),s=Lx(e,a).every((function(e,t,n){var r=n[t+1];return!r||1===Math.abs(e.colIndex-r.colIndex)})),l=function(e,t){if(void 0===t&&(t=[]),$g(t))return{prev:null,next:null};var n=e.getInitColumnLeafNodes(),r=Lx(e,t).map((function(e){return null==e?void 0:e.colIndex})),i=Math.max.apply(Math,ha([],ua(r),!1)),o=Math.min.apply(Math,ha([],ua(r),!1)),a=n.find((function(e){return e.colIndex===i+1}));return{prev:n.find((function(e){return e.colIndex===o-1}))||null,next:a||null}}(e,s?a:t),c={hideColumnNodes:Lx(e,t),displaySiblingNode:l},u=ha(ha([],ua(i),!1),[c],!1);e.emit(Qi.LAYOUT_COLS_HIDDEN,c,u),r(a,u)}}},Nx=function(e,t,n){void 0===t&&(t=[]),void 0===n&&(n=!1),$g(t)&&n&&Ox(e,t,!0);var r=function(e){var t=e.dataCfg.fields.columns,n=void 0===t?[]:t;return e.isTableMode()?n:e.getInitColumnLeafNodes().map((function(e){return e.id}))}(e),i=function(e,t){if($g(t))return[];var n=Number.NEGATIVE_INFINITY;return e.reduce((function(e,r,i){if(!t.includes(r))return e;if(i===n+1)om(e).push(r);else{var o=[r];e.push(o)}return n=i,e}),[])}(YE(r),t);i.forEach((function(t){Ox(e,t,n)}))},Ix=function(e,t){return function(e){var t=function(e){return(null==e?void 0:e.next)||(null==e?void 0:e.prev)}(e);return null==t?void 0:t.id}(e)===t},kx=function(e){var t=e.type,n=e.id,r=e.theme,i=e.width,o=e.height,a=la(e,["type","id","theme","width","height"]),s=t===Qo.Horizontal?r.size:null,l=t===Qo.Vertical?r.size:null;return{fill:r.background,fillOpacity:r.backgroundOpacity,cursor:"".concat(t,"-resize"),width:s,height:l,appendInfo:sa(sa({},a),{isResizeArea:!0,type:t,id:n,width:i,height:o,size:r.size})}},Dx=function(e,t){if(e.foregroundGroup)return e.foregroundGroup.findById(t)||e.foregroundGroup.addGroup({id:t,zIndex:5})},Px=function(e,t,n){var r=null!=n?n:{},i=r.scrollX,o=void 0===i?0:i,a=r.scrollY,s=void 0===a?0:a,l=!(e.x-o>t.x+t.width||e.x+e.width-o<t.x),c=!(e.y-s>t.y+t.height||e.y+e.height-s<t.y);return l&&c},Mx=function(e,t,n){var r=Hm(e,(function(e){return function(e,t,n){if(!e)return!1;var r=e.iconNames,i=e.displayCondition,o=e.belongsCell;return!$g(r)&&o===n&&(!i||r.some((function(e){return i(t,e)})))}(e,t,n)}));if(r){var i=r.iconNames;return r.displayCondition&&(i=i.filter((function(e){return r.displayCondition(t,e)}))),sa(sa({},r),{iconNames:i})}},Fx=function(e,t){var n=e.label;return Wg(e.field,no)?{formattedValue:t||n,value:n}:{formattedValue:n,value:n}};function Hx(e,t){return t.map((function(t){var n=e[t];return void 0===n?n:"".concat(n)}))}function Bx(e){return e.map((function(e){var t=null==e?void 0:e.split(So);return t[(null==t?void 0:t.length)-1]||e}))}function Ux(e){var t=e.rowDimensionValues,n=e.colDimensionValues,r=e.careUndefined,i=e.isFirstCreate,o=e.onFirstCreate,a=e.rowFields,s=e.colFields,l=e.rowPivotMeta,c=e.colPivotMeta,u=function(e,t,n,l){void 0===t&&(t=!0);for(var c=t?n:l,u=t?a:s,h=[],p=0;p<e.length;p++){var d=e[p];if(!c.has(d))if(i)c.set(d,{level:c.size,children:new Map}),null==o||o({isRow:t,dimension:null==u?void 0:u[p],dimensionPath:e.slice(0,p+1)});else{var f=c.get(d);if(f&&h.push(f.level),!r)break}var m=c.get(d);ny(d)&&r?h.push(d):h.push(null==m?void 0:m.level),m&&(i&&(m.childField=null==u?void 0:u[p+1]),c=null==m?void 0:m.children)}return h},h=u(t,!0,l,c),p=u(n,!1,l,c);return h.concat.apply(h,ha([],ua(p),!1))}function jx(e,t){return Xv(e,(function(e,n){return e.push(t[n]),e}),[])}function Gx(e){var t=e.rows,n=e.columns,r=e.originData,i=void 0===r?[]:r,o=e.indexesData,a=void 0===o?[]:o,s=e.totalData,l=void 0===s?[]:s,c=e.sortedDimensionValues,u=e.rowPivotMeta,h=e.colPivotMeta,p=[],d=new Set(Tg(t,n)),f=function(e){var t=e.isRow,n=e.dimension,r=e.dimensionPath;!t&&d.has(n)||(c[n]||(c[n]=[])).push(r.map((function(e){return"".concat(e)})).join(So))};return i.concat(l).forEach((function(e){var r=Ux({rowDimensionValues:Hx(e,t),colDimensionValues:Hx(e,n),rowPivotMeta:u,colPivotMeta:h,isFirstCreate:!0,onFirstCreate:f,careUndefined:(null==l?void 0:l.length)>0,rowFields:t,colFields:n});p.push(r),s_(a,r,e)})),{paths:p,indexesData:a,rowPivotMeta:u,colPivotMeta:h,sortedDimensionValues:c}}function Yx(e,t){if(e&&t){var n=t.split(So),r=om(n),i=e;dm(n,(function(e,t){var n=i.get(e);return n?(e===r?(n.children=new Map,n.childField=void 0):i=n.children,!0):0===t&&e===xo}))}}function zx(e,t,n){var r={field:no,name:t||n,formatter:function(t){return function(t){var n=Hm(e,(function(e){return e.field===t}));return vu(n,"name",t)}(t)}};return r}var $x=function(e){return"ASC"===K_(e)},Wx=function(e){return"DESC"===K_(e)},Vx=function(e){return!Zg(Number(e))},Kx=function(e,t,n){var r=$x(t)?1:-1,i=["-",void 0];return null==e?void 0:e.sort((function(e,t){var o=e,a=t;if(n){if(o=e[n],a=t[n],Vx(o)&&Vx(a))return(Number(o)-Number(a))*r;if(o&&(null==i?void 0:i.includes(null==o?void 0:o.toString())))return-r;if(Number(o)&&(null==i?void 0:i.includes(null==a?void 0:a.toString())))return r}return Jg(o)||Jg(a)?o?r:-r:o.toString().localeCompare(a.toString(),"zh")*r}))},qx=function(e,t,n){return n?function(e,t){var n;return null===(n=null==e?void 0:e.filter((function(e){return!(null==t?void 0:t.includes(e))})))||void 0===n?void 0:n.concat(t)}(t,ub(e)):ha([],ua(new Set(ha(ha([],ua(e),!1),ua(t),!1))),!1)},Xx=function(e){var t=e.sortByValues,n=e.originValues,r=n.filter((function(e){return t.find((function(t){return _m(e,t)}))})).map((function(e){var t=e.split(So);return t.length>1?[t.slice(0,t.length-1).join(So),t[t.length-1]]:t})),i=Array.from(new Set(r.map((function(e){return e[0]}))));r.sort((function(e,n){var r=e.slice(0,e.length-1),o=n.slice(0,n.length-1);return r.join()!==o.join()?i.indexOf(r[0])-i.indexOf(o[0]):t.indexOf(e[e.length-1])-t.indexOf(n[n.length-1])}));var o=r.map((function(e){return e.join(So)}));return iT(n,o)},Zx=function(e){var t=e.sortParam,n=e.originValues,r=e.measureValues,i=e.dataSet,o=t.sortFunc,a=t.sortMethod,s=t.sortBy,l=n,c={originValues:n,measureValues:r,sortParam:t,dataSet:i};return o?l=function(e){var t=e.originValues,n=e.measureValues,r=e.sortParam,i=e.dataSet,o=r.sortFunc,a=r.sortFieldId,s=r.sortMethod,l=o(sa({data:n},r));return(null==l?void 0:l.length)?(i.fields.rows.indexOf(a)>0||i.fields.columns.indexOf(a)>0)&&!gg(l[0],So)?Xx({sortByValues:l,originValues:t}):qx(l,t,$x(s)):t}(c):s?l=Xx({sortByValues:s,originValues:n}):($x(a)||Wx(a))&&(l=function(e){var t,n=e.sortParam,r=e.measureValues,i=e.originValues,o=e.dataSet,a=n.sortByMeasure,s=n.query,l=n.sortFieldId,c=n.sortMethod,u=o.fields,h=u.rows,p=u.columns,d=h.includes(l);if(a){var f=Kx(r,c,a===io?s[no]:a);t=function(e,t,n){var r,i=t.slice(0,t.indexOf(e)+1);return null===(r=n.map((function(e){return i.map((function(t){return e[t]})).join("".concat(So))})))||void 0===r?void 0:r.filter((function(e){return e}))}(l,d?h:YE(p),f)}else t=Wm(Kx(r,c));return qx(t,i,$x(c))}(c)),l},Qx=function(e){return e.filter((function(e){return e!==no}))},Jx=function(e,t){if(null==e?void 0:e.sortMethod){if($x(null==e?void 0:e.sortMethod))return"groupAsc";if(Wx(null==e?void 0:e.sortMethod))return"groupDesc"}if(t)return"SortDown"},eS=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return aa(t,e),t.prototype.handleRestOptions=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=ua(e,1)[0];this.headerConfig=sa({},n);var r=this.meta,i=r.value,o=r.query,a=this.spreadsheet.dataCfg.sortParams,s=this.isSortCell(),l=Hm(ha([],ua(a),!1).reverse(),(function(e){return s&&(null==e?void 0:e.sortByMeasure)===i&&Wg(vu(e,"query"),o)})),c=Jx(l,s);this.headerConfig.sortParam=sa(sa(sa({},this.headerConfig.sortParam),l||{query:o}),{type:c})},t.prototype.initCell=function(){this.resetTextAndConditionIconShapes(),this.actionIcons=[],this.hasDefaultHiddenIcon=!1},t.prototype.getInteractiveBorderShapeStyle=function(e){var t=this.getCellArea(),n=t.x,r=t.y,i=t.height;return{x:n+e,y:r+e,width:t.width-2*e,height:i-2*e}},t.prototype.getFormattedFieldValue=function(){var e=this.meta,t=e.label,n=e.isTotals,r=e.isGrandTotals,i=this.spreadsheet.dataSet.getFieldFormatter(this.meta.field);return{formattedValue:this.spreadsheet.isTableMode()||(this.spreadsheet.isHierarchyTreeType()?r:n)||!i?t:i(t,void 0,this.meta),value:t}},t.prototype.getActionIconCfg=function(){return Mx(this.spreadsheet.options.headerActionIcons,this.meta,this.cellType)},t.prototype.showSortIcon=function(){var e=this.spreadsheet,t=e.options,n=$g(e.dataCfg.fields.values);if(t.showDefaultHeaderActionIcon&&!n){var r=this.headerConfig.sortParam,i=this.meta.query;return i&&Wg(null==r?void 0:r.query,i)&&(null==r?void 0:r.type)&&"none"!==(null==r?void 0:r.type)}return!1},t.prototype.getActionIconsCount=function(){if(this.showSortIcon())return 1;var e=this.getActionIconCfg();return e?e.iconNames.length:0},t.prototype.getActionIconsWidth=function(){var e=this.getStyle().icon;return(e.size+e.margin.left)*this.getActionIconsCount()},t.prototype.drawSortIcons=function(){var e=this;if(this.showSortIcon()){var t=this.getStyle(),n=t.icon,r=t.text,i=this.getTextConditionFill(r),o=this.headerConfig.sortParam,a=this.getIconPosition(),s=new nT(sa(sa({name:vu(o,"type","none")},a),{width:n.size,height:n.size,fill:i}));s.on("click",(function(t){e.spreadsheet.emit(Qi.GLOBAL_ACTION_ICON_CLICK,t),e.spreadsheet.handleGroupSort(t,e.meta)})),this.add(s),this.actionIcons.push(s)}},t.prototype.hasDefaultHideActionIcon=function(){return this.hasDefaultHiddenIcon},t.prototype.addActionIcon=function(e){var t=this,n=e.x,r=e.y,i=e.iconName,o=e.defaultHide,a=e.action,s=e.onClick,l=e.onHover,c=this.getStyle(),u=c.icon,h=c.text,p=this.getTextConditionFill(h),d=(null==u?void 0:u.fill)||p,f=new nT({name:i,x:n,y:r,width:null==u?void 0:u.size,height:null==u?void 0:u.size,fill:d});f.set("visible",!o),f.on("mouseover",(function(e){t.spreadsheet.emit(Qi.GLOBAL_ACTION_ICON_HOVER,e),null==l||l({hovering:!0,iconName:i,meta:t.meta,event:e})})),f.on("mouseleave",(function(e){t.spreadsheet.emit(Qi.GLOBAL_ACTION_ICON_HOVER_OFF,e),null==l||l({hovering:!1,iconName:i,meta:t.meta,event:e})})),f.on("click",(function(e){var n;t.spreadsheet.emit(Qi.GLOBAL_ACTION_ICON_CLICK,e),null===(n=s||a)||void 0===n||n({iconName:i,meta:t.meta,event:e})})),this.actionIcons.push(f),this.add(f)},t.prototype.drawActionIcons=function(){var e=this;if(this.showSortIcon())this.drawSortIcons();else{var t=this.getActionIconCfg();if(t){var n=t.iconNames,r=t.action,i=t.onClick,o=t.onHover,a=t.defaultHide,s=this.getIconPosition(n.length),l=this.getStyle().icon,c=l.size,u=l.margin;dm(n,(function(t,n){var l=s.x+n*c+n*u.left,h=s.y,p="function"==typeof a?a(e.meta,t):a;p&&(e.hasDefaultHiddenIcon=!0),e.addActionIcon({iconName:t,x:l,y:h,defaultHide:p,action:r,onClick:i,onHover:o})}))}}},t.prototype.drawBackgroundShape=function(){var e=this.getBackgroundColor(),t=e.backgroundColor,n=e.backgroundColorOpacity;this.backgroundShape=dT(this,sa(sa({},this.getCellArea()),{fill:t,fillOpacity:n}))},t.prototype.isSortCell=function(){var e,t,n,r=null===(t=null===(e=this.meta.spreadsheet)||void 0===e?void 0:e.isValueInCols)||void 0===t?void 0:t.call(e),i=this.meta.level===(null===(n=this.meta.hierarchy)||void 0===n?void 0:n.maxLevel);return r?i&&this.cellType===Uo.COL_CELL:i&&this.cellType===Uo.ROW_CELL},t.prototype.handleByStateName=function(e,t){vx(e,this)&&this.updateByState(t)},t.prototype.handleSearchResult=function(e){vx(e,this)&&(Hm(e,(function(e){return null==e?void 0:e.isTarget})).id===this.getMeta().id?this.updateByState(Bo.HIGHLIGHT):this.updateByState(Bo.SEARCH_RESULT))},t.prototype.handleHover=function(e){var t;vx(e,this)&&(this.updateByState(Bo.HOVER),this.hasDefaultHideActionIcon()&&this.toggleActionIcon(null===(t=null==e?void 0:e[0])||void 0===t?void 0:t.id))},t.prototype.handleSelect=function(e,t){vx(e,this)&&this.updateByState(Bo.SELECTED),gg(Wm(t,"id"),this.meta.id)&&this.updateByState(Bo.SELECTED)},t.prototype.getTextStyle=function(){var e,t=this.getStyle(),n=t.text,r=t.bolderText,i=t.measureText;e=this.isMeasureField()?i||n:this.isBolderText()?r:n;var o=this.getTextConditionFill(e);return sa(sa({},e),{fill:o})},t.prototype.getBackgroundColor=function(){var e,t,n=(null===(e=this.getStyle())||void 0===e?void 0:e.cell)||{},r=n.backgroundColor,i=n.backgroundColorOpacity,o=r,a=this.findFieldCondition(null===(t=this.conditions)||void 0===t?void 0:t.background);if(a&&a.mapping){var s=this.mappingValue(a);s&&(o=s.fill)}return{backgroundColor:o,backgroundColorOpacity:i}},t.prototype.toggleActionIcon=function(e){if(this.getMeta().id===e){var t=[];dm(this.actionIcons,(function(e){e.get("visible")||(e.set("visible",!0),t.push(e))})),this.spreadsheet.store.set("visibleActionIcons",t)}},t.prototype.update=function(){var e=this.spreadsheet.interaction,t=null==e?void 0:e.getState(),n=null==e?void 0:e.getCells([Uo.COL_CELL,Uo.ROW_CELL]);if(zm(n))switch(null==t?void 0:t.stateName){case Bo.SELECTED:this.handleSelect(n,null==t?void 0:t.nodes);break;case Bo.HOVER_FOCUS:case Bo.HOVER:this.handleHover(n);break;case Bo.SEARCH_RESULT:this.handleSearchResult(n);break;default:this.handleByStateName(n,null==t?void 0:t.stateName)}},t.prototype.updateByState=function(t){e.prototype.updateByState.call(this,t,this)},t.prototype.hideInteractionShape=function(){e.prototype.hideInteractionShape.call(this)},t.prototype.isMeasureField=function(){return[no,ro].includes(this.meta.field)},t.prototype.mappingValue=function(e){var t=this.getMeta().label;return null==e?void 0:e.mapping(t,this.meta)},t.prototype.findFieldCondition=function(e){var t=this;return Ym(e,(function(e){return e.field instanceof RegExp?e.field.test(t.meta.field):e.field===t.meta.field}))},t}(gx),tS=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return aa(t,e),Object.defineProperty(t.prototype,"cellType",{get:function(){return Uo.COL_CELL},enumerable:!1,configurable:!0}),t.prototype.initCell=function(){e.prototype.initCell.call(this),this.drawBackgroundShape(),this.drawInteractiveBgShape(),this.drawInteractiveBorderShape(),this.drawTextShape(),this.drawConditionIconShapes(),this.drawActionIcons(),this.drawBorders(),this.drawResizeArea(),this.addExpandColumnIconShapes(),this.update()},t.prototype.drawInteractiveBgShape=function(){this.stateShapes.set("interactiveBgShape",dT(this,sa({},this.getCellArea()),{visible:!1}))},t.prototype.drawInteractiveBorderShape=function(){this.stateShapes.set("interactiveBorderShape",dT(this,this.getInteractiveBorderShapeStyle(2),{visible:!1}))},t.prototype.getMaxTextWidth=function(){return this.getContentArea().width-this.getActionIconsWidth()},t.prototype.getIconPosition=function(){if(this.meta.isLeaf)return e.prototype.getIconPosition.call(this,this.getActionIconsCount());var t=this.getIconStyle(),n=t.margin.left,r=this.getTextStyle(),i=this.textPosition,o=i.x,a=i.y-t.size/2;return"left"===r.textAlign?{x:o+this.actualTextWidth+n,y:a}:"right"===r.textAlign?{x:o+n,y:a}:{x:o+this.actualTextWidth/2+n,y:a}},t.prototype.isBolderText=function(){var e=this.meta,t=e.isLeaf;return!(!e.isTotals&&t)},t.prototype.getTextPosition=function(){var e,t=this.meta.isLeaf,n=this.headerConfig,r=n.width,i=n.scrollContainsRowHeader,o=n.cornerWidth,a=n.scrollX,s=this.getTextStyle(),l=this.getContentArea(),c=this.getIconStyle();if(t)return OT(l,s,this.actualTextWidth,c,this.getActionIconsCount()).text;var u={start:a-(i?o:0),width:r+(i?o:0)},h=this.getTextStyle().textAlign,p=function(e,t,n){void 0===n&&(n={left:0,right:0});var r=sa({},e);return"left"===t?(r.start+=n.left,r.width-=n.left):"right"===t&&(r.width-=n.right),r}(u,h,null===(e=this.getStyle().cell)||void 0===e?void 0:e.padding),d=this.getActionIconsWidth(),f=this.actualTextWidth+d,m=function(e,t,n){var r,i,o=t.start+t.width,a=e.start+e.width;if(t.start<=e.start&&o>=a)r=e.start+e.width/2,i=e.width;else if(t.start<=e.start)r=(s=t.width-(e.start-t.start))<n?o-n/2:o-s/2,i=s;else if(o>=a){var s;r=(s=t.width-(o-a))<n?t.start+n/2:t.start+s/2,i=s}else r=t.start+t.width/2,i=t.width;return{start:r,width:i}}(p,{start:l.x,width:l.width},f),g=function(e,t,n,r){var i=t+n,o=e.start;if("center"===r)return o-n/2;var a=e.width-i>0?e.width/2:i/2;return"left"===r?o-a:o+a-n}(m,this.actualTextWidth,d,h),y=l.y+l.height/2;return this.textPosition={x:g,y},this.textPosition},t.prototype.getActionIconsWidth=function(){var e=this.getStyle().icon,t=e.size,n=e.margin,r=this.getActionIconsCount();return(t+n.left)*r+(r>0?n.right:0)},t.prototype.getColResizeAreaKey=function(){return this.meta.key},t.prototype.getColResizeArea=function(){return Dx(this.spreadsheet,_o)},t.prototype.getHorizontalResizeAreaName=function(){return"".concat(To).concat(this.meta.key)},t.prototype.drawHorizontalResizeArea=function(){var e,t;if(0!==(null===(t=null===(e=this.spreadsheet.options.style)||void 0===e?void 0:e.colCfg)||void 0===t?void 0:t.height)&&this.shouldDrawResizeAreaByType("colCellVertical",this)){var n=this.headerConfig,r=n.cornerWidth,i=n.viewportWidth,o=this.meta,a=o.y,s=o.height,l=this.getResizeAreaStyle(),c=this.getColResizeArea(),u=this.getHorizontalResizeAreaName();if(!c.find((function(e){return e.attrs.name===u}))){var h=r+i;c.addShape("rect",{attrs:sa(sa({},kx({theme:l,type:Qo.Vertical,id:this.getColResizeAreaKey(),effect:Jo.Field,offsetX:0,offsetY:a,width:h,height:s,meta:this.meta})),{name:u,x:0,y:a+s-l.size/2,width:h})})}}},t.prototype.shouldAddVerticalResizeArea=function(){var e=this.meta,t=e.x,n=e.y,r=e.width,i=e.height,o=this.headerConfig,a=o.scrollX,s=o.scrollY,l=o.scrollContainsRowHeader,c=o.cornerWidth,u=o.height,h=o.width,p=this.getResizeAreaStyle(),d={x:t+r-p.size/2,y:n,width:p.size,height:i};return Px(d,{x:l?-c:0,y:0,width:l?c+h:h,height:u},{scrollX:a,scrollY:s})},t.prototype.getVerticalResizeAreaOffset=function(){var e=this.meta,t=e.x,n=e.y,r=this.headerConfig,i=r.scrollX,o=r.position;return{x:o.x+t-i,y:o.y+n}},t.prototype.drawVerticalResizeArea=function(){if(this.meta.isLeaf&&this.shouldDrawResizeAreaByType("colCellHorizontal",this)){var e=this.meta,t=e.label,n=e.width,r=e.height,i=this.getResizeAreaStyle(),o=this.getColResizeArea();if(this.shouldAddVerticalResizeArea()){var a=this.getVerticalResizeAreaOffset(),s=a.x,l=a.y;o.addShape("rect",{attrs:sa(sa({},kx({theme:i,type:Qo.Horizontal,effect:Jo.Cell,id:t,offsetX:s,offsetY:l,width:n,height:r,meta:this.meta})),{x:s+n-i.size/2,y:l,height:r})})}}},t.prototype.drawResizeArea=function(){this.drawHorizontalResizeArea(),this.drawVerticalResizeArea()},t.prototype.drawHorizontalBorder=function(){var e=NT(XE.TOP,this.meta,this.theme.colCell.cell);gT(this,e.position,e.style)},t.prototype.drawVerticalBorder=function(e){var t=NT(e,this.meta,this.theme.colCell.cell);gT(this,t.position,t.style)},t.prototype.drawBorders=function(){var e=this.spreadsheet,t=e.options,n=e.isTableMode;0===this.meta.colIndex&&n()&&!t.showSeriesNumber&&this.drawVerticalBorder(XE.LEFT),this.drawHorizontalBorder(),this.drawVerticalBorder(XE.RIGHT)},t.prototype.hasHiddenColumnCell=function(){var e=this,t=this.spreadsheet.options,n=t.interaction.hiddenColumnFields,r=void 0===n?[]:n,i=t.tooltip.operation,o=this.spreadsheet.store.get("hiddenColumnsDetail",[]);return!($g(o)||$g(r)||!i.hiddenColumns||!o.find((function(t){return Ix(null==t?void 0:t.displaySiblingNode,e.meta.id)})))},t.prototype.getExpandIconTheme=function(){return this.getStyle().icon},t.prototype.addExpandColumnSplitLine=function(){var e=this.meta,t=e.x,n=e.y,r=e.width,i=e.height,o=this.theme.splitLine,a=o.horizontalBorderColor,s=o.horizontalBorderWidth,l=o.horizontalBorderColorOpacity,c=this.isLastColumn()?t+r-s:t;gT(this,{x1:c,y1:n,x2:c,y2:n+i},{stroke:a,lineWidth:s,strokeOpacity:l})},t.prototype.addExpandColumnIconShapes=function(){this.hasHiddenColumnCell()&&(this.addExpandColumnSplitLine(),this.addExpandColumnIcons())},t.prototype.addExpandColumnIcons=function(){var e=this.isLastColumn();this.addExpandColumnIcon(e),this.isAllDisplaySiblingNodeHidden()&&e&&this.addExpandColumnIcon(!1)},t.prototype.addExpandColumnIcon=function(e){var t=this,n=this.getExpandColumnIconConfig(e);vT(this,sa(sa({},n),{name:"ExpandColIcon",cursor:"pointer"})).on("click",(function(){t.spreadsheet.emit(Qi.LAYOUT_COLS_EXPANDED,t.meta)}))},t.prototype.getExpandColumnIconConfig=function(e){var t=this.getExpandIconTheme().size,n=this.getCellArea(),r=n.x,i=n.y,o=n.width,a=r-t;return{x:e?a+o:a,y:i+n.height/2-t/2,width:2*t,height:t}},t.prototype.isLastColumn=function(){return e=this.spreadsheet,t=this.meta.id,n=e.getColumnLeafNodes(),r=e.getInitColumnLeafNodes(),i=wx(t),vu(om(n),i)===t&&vu(om(r),i)!==t;var e,t,n,r,i},t.prototype.isAllDisplaySiblingNodeHidden=function(){var e=this.meta.id,t=this.spreadsheet.store.get("hiddenColumnsDetail",[]),n=t.find((function(t){var n,r=t.displaySiblingNode;return(null===(n=null==r?void 0:r.next)||void 0===n?void 0:n.id)===e})),r=t.find((function(t){var n,r=t.displaySiblingNode;return(null===(n=null==r?void 0:r.prev)||void 0===n?void 0:n.id)===e}));return r&&n},t}(eS),nS=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return aa(t,e),t.prototype.isBolderText=function(){return this.meta.cornerType===QE.Col},Object.defineProperty(t.prototype,"cellType",{get:function(){return Uo.CORNER_CELL},enumerable:!1,configurable:!0}),t.prototype.update=function(){},t.prototype.initCell=function(){e.prototype.initCell.call(this),this.resetTextAndConditionIconShapes(),this.drawBackgroundShape(),this.drawTreeIcon(),this.drawCellText(),this.drawConditionIconShapes(),this.drawActionIcons(),this.drawBorderShape(),this.drawResizeArea()},t.prototype.drawCellText=function(){this.drawTextShape()},t.prototype.drawTextShape=function(){var e=this.getContentArea().x,t=this.getCellArea(),n=t.y,r=t.height,i=this.getTextStyle(),o=this.getCornerText(),a=this.getMaxTextWidth(),s=FT(this.meta,this.spreadsheet.options.placeholder),l=this.spreadsheet.measureTextWidth,c=kT({measureTextWidth:l,text:o,maxWidth:a,fontParam:i,placeholder:s});this.actualText=c;var u=c.indexOf(No),h=c,p="";if(-1!==u&&this.spreadsheet.isHierarchyTreeType()){var d=u+(/iPhone/gi.test(navigator.userAgent)&&812===window.screen.height&&375===window.screen.width?1:0);h=o.substr(0,d),p=o.slice(d),p=kT({measureTextWidth:l,text:p,maxWidth:a,fontParam:i})}var f,m,g=(f={x:e+this.getTreeIconWidth(),y:n,width:a,height:r},m=i,OT(f,m).text).x,y=n+($g(p)?r/2:r/4);this.addTextShape(mT(this,[this.textShapes[0]],g,y,h,i)),$g(p)||this.addTextShape(mT(this,[this.textShapes[1]],g,n+.75*r,p,i)),this.actualTextWidth=gy([l(h,i),l(p,i)])},t.prototype.drawTreeIcon=function(){var e=this;if(this.showTreeIcon()&&this.meta.cornerType!==QE.Col){var t=this.headerConfig.hierarchyCollapse,n=this.getStyle().icon.size,r=this.getTextStyle(),i=r.textBaseline,o=r.fill,a=this.getContentArea();this.treeIcon=_T(this,{x:a.x,y:LT(a,i,n),width:n,height:n},o,t,(function(){e.headerConfig.spreadsheet.store.set("scrollY",0),e.headerConfig.spreadsheet.emit(Qi.LAYOUT_TREE_ROWS_COLLAPSE_ALL,t)}))}},t.prototype.drawBorderShape=function(){var e=this;[XE.TOP,XE.LEFT].forEach((function(t){var n=NT(t,e.getCellArea(),e.getStyle().cell),r=n.position,i=n.style;gT(e,r,i)}))},t.prototype.isLastRowCornerCell=function(){var e=this.meta,t=e.cornerType,n=e.field,r=this.headerConfig.rows;return t===QE.Row&&(this.spreadsheet.isHierarchyTreeType()||om(r)===n)},t.prototype.getResizeAreaEffect=function(){return this.meta.cornerType===QE.Series?Jo.Series:this.isLastRowCornerCell()&&this.spreadsheet.isHierarchyTreeType()?Jo.Tree:Jo.Field},t.prototype.drawResizeArea=function(){if(this.shouldDrawResizeAreaByType("cornerCellHorizontal",this)){var e=this.getResizeAreaStyle(),t=Dx(this.spreadsheet,vo),n=this.headerConfig,r=n.position,i=n.scrollX,o=n.scrollY,a=n.width,s=n.height,l=this.meta,c=l.x,u=l.y,h=l.width,p=l.height,d=l.field,f=l.cornerType,m={x:c+h-e.size/2,y:u,width:e.size,height:p},g={x:0,y:0,width:a,height:s};if(f!==QE.Col&&Px(m,g,{scrollX:i,scrollY:o})){var y=r.x+c-i,v=r.y+(this.isLastRowCornerCell()?0:u);t.addShape("rect",{attrs:sa(sa({},kx({theme:e,id:d,type:Qo.Horizontal,effect:this.getResizeAreaEffect(),offsetX:y,offsetY:v,width:h,height:p,meta:this.meta})),{x:y+h-e.size/2,y:v,height:this.isLastRowCornerCell()?s:p})})}}},t.prototype.showTreeIcon=function(){var e;return this.spreadsheet.isHierarchyTreeType()&&0===(null===(e=this.meta)||void 0===e?void 0:e.x)},t.prototype.getIconPosition=function(){var e,t,n=null===(t=null===(e=this.textShapes)||void 0===e?void 0:e[0])||void 0===t?void 0:t.cfg.attrs,r=this.getTextStyle(),i=r.textBaseline,o=r.textAlign,a=this.getStyle().icon,s=a.size,l=a.margin;return{x:(null==n?void 0:n.x)+yf([[fy("center"),Js(this.actualTextWidth/2)],[fy("right"),Js(0)],[S_,Js(this.actualTextWidth)]])(o)+l.left,y:LT(this.getContentArea(),i,s)}},t.prototype.getTreeIconWidth=function(){var e=this.getStyle().icon,t=e.size,n=e.margin;return this.showTreeIcon()?t+n.right:0},t.prototype.getTextStyle=function(){var e=this.getStyle(),t=e.text,n=e.bolderText,r=this.isBolderText()?t:n,i=this.getTextConditionFill(r);return sa(sa({},r),{fill:i})},t.prototype.getMaxTextWidth=function(){return this.getContentArea().width-this.getTreeIconWidth()-this.getActionIconsWidth()},t.prototype.getTextPosition=function(){return{x:0,y:0}},t.prototype.getFormattedFieldValue=function(){return Fx(this.meta,this.spreadsheet.dataSet.getFieldName(this.meta.label))},t.prototype.getCornerText=function(){return this.getFormattedFieldValue().formattedValue},t}(eS),rS=function(){function e(e){this.EVENT="gesture",this.gm=e}return e.prototype.do=function(e){switch(e.type){case"touchstart":this.onTouchStart(e);break;case"touchmove":this.onTouchMove(e);break;case"touchend":this.onTouchEnd(e);break;case"touchcancel":this.onTouchCancel(e);break;default:return}},e.prototype.emit=function(e){this.gm.emit(this.EVENT,e)},e}(),iS=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.EVENT="pan",t}return aa(t,e),t.prototype.onTouchCancel=function(e){},t.prototype.onTouchEnd=function(e){},t.prototype.onTouchMove=function(e){var t=e.x,n=e.y,r=t-this.preX,i=n-this.preY;this.preX=t,this.preY=n,this.emit({x:t,y:n,deltaX:r,deltaY:i,event:e})},t.prototype.onTouchStart=function(e){var t=e.x,n=e.y;this.preX=t,this.preY=n},t}(rS),oS="object"==typeof performance&&performance.now?performance:Date,aS={Pan:iS,Press:function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.EVENT="press",t}return aa(t,e),t.prototype.onTouchCancel=function(e){this.clearTimeout()},t.prototype.onTouchEnd=function(e){this.clearTimeout()},t.prototype.onTouchMove=function(e){var t=e.x,n=e.y;(t-this.touchStartX>10||n-this.touchStartY>10)&&this.clearTimeout()},t.prototype.onTouchStart=function(e){var t=this;this.clearTimeout();var n=e.x,r=e.y;this.touchStartTime=oS.now(),this.touchStartX=n,this.touchStartY=r,this.pressTimeout=window.setTimeout((function(){t.emit({x:n,y:r,event:e})}),300)},t.prototype.clearTimeout=function(){window.clearTimeout(this.pressTimeout)},t}(rS),Swipe:function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.EVENT="swipe",t.latestMoveTime=0,t.ms=0,t.speedX=0,t.speedY=0,t.preX=0,t.preY=0,t}return aa(t,e),t.prototype.onTouchCancel=function(e){},t.prototype.onTouchEnd=function(e){var t=this.speedX,n=this.speedY;if(oS.now()-this.latestMoveTime<100){var r=e.x,i=e.y;this.emit({x:r,y:i,speedX:t,speedY:n,event:e})}},t.prototype.onTouchMove=function(e){var t=e.x,n=e.y,r=oS.now(),i=t-this.preX,o=n-this.preY,a=r-this.ms;this.speedX=i/a,this.speedY=o/a,this.latestMoveTime=r},t.prototype.onTouchStart=function(e){var t=e.x,n=e.y;this.speedX=this.speedY=0,this.preX=t,this.preY=n,this.ms=oS.now()},t}(rS),Tap:function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.EVENT="tap",t}return aa(t,e),t.prototype.onTouchCancel=function(e){},t.prototype.onTouchEnd=function(e){var t=e.x,n=e.y;t-this.touchStartX<2&&n-this.touchStartY<2&&oS.now()-this.touchStartTime<300&&this.emit({x:t,y:n,event:e})},t.prototype.onTouchMove=function(e){},t.prototype.onTouchStart=function(e){var t=e.x,n=e.y;this.touchStartTime=oS.now(),this.touchStartX=t,this.touchStartY=n},t}(rS)},sS=function(e){function t(t,n){void 0===n&&(n={});var r=e.call(this)||this;return r.onTouchStart=function(e){r.preventEvent(e),r.element.on("touchmove",r.onTouchMove),r.element.on("touchend",r.onTouchEnd),r.element.on("touchcancel",r.onTouchCancel),r.emit("touchdown",e),r.doGestures(e)},r.onTouchMove=function(e){r.preventEvent(e),r.emit("touchmove",e),r.doGestures(e)},r.onTouchEnd=function(e){r.preventEvent(e),r.emit("touchend",e),r.element.off("touchmove",r.onTouchMove),r.element.off("touchend",r.onTouchEnd),r.element.off("touchcancel",r.onTouchCancel),r.doGestures(e)},r.onTouchCancel=function(e){r.preventEvent(e),r.emit("touchcancel",e),r.element.off("touchmove",r.onTouchMove),r.element.off("touchend",r.onTouchEnd),r.element.off("touchcancel",r.onTouchCancel),r.doGestures(e)},r.element=t,r.options=n,r.initialGestures(),r.bindTouchStart(),r}return aa(t,e),t.prototype.destroy=function(){this.element.off("touchstart",this.onTouchStart),this.off()},t.prototype.initialGestures=function(){var e=this,t=this.options.gestures||["Pan","Press","Swipe","Tap"];this.gestures=t.map((function(t){return new(0,aS[t])(e)}))},t.prototype.bindTouchStart=function(){this.element.on("touchstart",this.onTouchStart)},t.prototype.preventEvent=function(e){var t=e.type;(this.options.prevents||[]).includes(t)&&e.preventDefault()},t.prototype.doGestures=function(e){this.gestures.forEach((function(t){t.do(e)}))},t}(pe),lS=on,cS="wheel",uS=function(e){function t(t){var n=e.call(this)||this;return n.rafMs=0,n.onPan=function(e){n.raf&&cancelAnimationFrame(n.raf);var t=e.deltaX,r=e.deltaY,i=n.getWrapperEvent(e,t,r);n.emit(cS,i)},n.onSwipe=function(e){var t=e.speedX,r=e.speedY;n.rafMs=oS.now(),n.ms=n.rafMs,0===t&&0===r||n.rafInertia(e)},n.element=t,n.gm=new sS(t,{gestures:["Pan","Swipe"]}),n.gm.on("swipe",n.onSwipe),n.gm.on("pan",n.onPan),n}return aa(t,e),t.prototype.destroy=function(){window.cancelAnimationFrame(this.raf),this.gm.destroy(),this.off()},t.prototype.rafInertia=function(e){var t=this,n=e.speedX,r=e.speedY;this.raf=window.requestAnimationFrame((function(){var i=oS.now(),o=(i-t.ms)/800;if(o<1){o=lS(1-o);var a=i-t.rafMs,s=n*o*a,l=r*o*a,c=t.getWrapperEvent(e,s,l);t.emit(cS,c),t.rafMs=i,t.rafInertia(e)}}))},t.prototype.getWrapperEvent=function(e,t,n){return sa(sa({},e),{deltaX:-t,deltaY:-n})},t}(pe),hS=function(e,t,n,r,i){var o=n+r;return e+i>=o?e:o<e+(t+i)/2?n+r-i:n>e+(t-i)/2?e+t-n>i?n:e+t-i:e+(t-i)/2},pS=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return aa(t,e),Object.defineProperty(t.prototype,"cellType",{get:function(){return Uo.ROW_CELL},enumerable:!1,configurable:!0}),t.prototype.destroy=function(){var t;e.prototype.destroy.call(this),null===(t=this.gm)||void 0===t||t.destroy()},t.prototype.initCell=function(){e.prototype.initCell.call(this),this.drawBackgroundShape(),this.drawInteractiveBgShape(),this.drawInteractiveBorderShape(),this.drawTextShape(),this.drawConditionIconShapes(),this.drawTreeIcon(),this.drawTreeLeafNodeAlignDot(),this.drawRectBorder(),this.drawResizeAreaInLeaf(),this.drawActionIcons(),this.update()},t.prototype.drawInteractiveBorderShape=function(){this.stateShapes.set("interactiveBorderShape",dT(this,this.getInteractiveBorderShapeStyle(2),{visible:!1}))},t.prototype.drawInteractiveBgShape=function(){this.stateShapes.set("interactiveBgShape",dT(this,sa({},this.getCellArea()),{visible:!1}))},t.prototype.showTreeIcon=function(){return this.spreadsheet.isHierarchyTreeType()&&!this.meta.isLeaf},t.prototype.showTreeLeafNodeAlignDot=function(){var e;return(null===(e=this.spreadsheet.options.style)||void 0===e?void 0:e.showTreeLeafNodeAlignDot)&&this.spreadsheet.isHierarchyTreeType()},t.prototype.getParentTreeIconCfg=function(){if(this.showTreeLeafNodeAlignDot()&&this.spreadsheet.isHierarchyTreeType()&&this.meta.isLeaf)return vu(this.meta,"parent.belongsCell.treeIcon.cfg")},t.prototype.drawTreeIcon=function(){var e=this;if(this.showTreeIcon()){var t=this.meta,n=t.isCollapsed,r=t.id,i=t.hierarchy,o=this.getContentArea().x,a=this.getTextStyle().fill,s=this.getStyle().icon.size,l=o+this.getContentIndent(),c=this.getIconYPosition();this.treeIcon=_T(this,{x:l,y:c,width:s,height:s},a,n,(function(){if(!vE()){if(!n){var t=e.spreadsheet.store.get("scrollY"),o=e.spreadsheet.facet.panelBBox.viewportHeight||0,a=(c=e.meta,u=0,null==(h=c.children)||h.forEach((function(e){u+=e.height||0})),u),s=i.height-a;if(t>0&&t+o>s){var l=s-o;e.spreadsheet.store.set("scrollY",l>0?l:0)}}var c,u,h;e.spreadsheet.emit(Qi.ROW_CELL_COLLAPSE_TREE_ROWS,{id:r,isCollapsed:!n,node:e.meta})}})),vE()&&(this.gm=new sS(this,{gestures:["Tap"]}),this.gm.on("tap",(function(){e.spreadsheet.emit(Qi.ROW_CELL_COLLAPSE_TREE_ROWS,{id:r,isCollapsed:!n,node:e.meta})})))}},t.prototype.drawTreeLeafNodeAlignDot=function(){var e=this.getParentTreeIconCfg();if(e){var t=this.getStyle().icon,n=t.size,r=t.margin,i=e.x+n+r.right,o=this.getTextPosition().y,a=this.getTextStyle(),s=a.fill,l=a.fontSize,c=n/5;this.treeLeafNodeAlignDot=fT(this,{x:i+n/2,y:o+(l-c)/2,r:c,fill:s,fillOpacity:.3})}},t.prototype.isBolderText=function(){var e=this.meta,t=e.isLeaf,n=e.isTotals,r=e.level;return!t&&0===r||n},t.prototype.drawTextShape=function(){e.prototype.drawTextShape.call(this),this.drawLinkField(this.meta)},t.prototype.drawRectBorder=function(){var e=this,t=this.getCellArea().x,n=this.getContentIndent(),r=this.spreadsheet.isHierarchyTreeType()?t:t+n;[XE.BOTTOM,XE.LEFT].forEach((function(t){var n=NT(t,sa(sa({},e.getCellArea()),{x:r}),e.getStyle().cell),i=n.position,o=n.style;gT(e,i,o)}))},t.prototype.drawResizeAreaInLeaf=function(){if(this.meta.isLeaf&&this.shouldDrawResizeAreaByType("rowCellVertical",this)){var e=this.getCellArea(),t=e.x,n=e.y,r=e.width,i=e.height,o=this.getResizeAreaStyle(),a=Dx(this.spreadsheet,fo),s=this.headerConfig,l=s.position,c=s.seriesNumberWidth,u=s.width,h=s.viewportHeight,p=s.scrollX,d=s.scrollY,f={x:t,y:n+i-o.size/2,width:r,height:o.size};if(Px(f,{x:0,y:0,width:u,height:h},{scrollX:p,scrollY:d})){var m=(null==l?void 0:l.x)+t-p+c,g=(null==l?void 0:l.y)+n-d,y=this.spreadsheet.isFrozenRowHeader()?u-c-(t-p):r;a.addShape("rect",{attrs:sa(sa({},kx({id:this.meta.id,theme:o,type:Qo.Vertical,effect:Jo.Cell,offsetX:m,offsetY:g,width:r,height:i,meta:this.meta})),{x:m,y:g+i-o.size/2,width:y})})}}},t.prototype.getContentIndent=function(){if(!this.spreadsheet.isHierarchyTreeType())return 0;for(var e=this.getStyle(),t=e.icon,n=e.cell,r=t.size+t.margin.right,i=this.meta.parent,o=0;i;)0!==i.height&&(o+=r),i=i.parent;return this.showTreeLeafNodeAlignDot()&&(o+=this.isTreeLevel()?0:n.padding.right+t.margin.right),o},t.prototype.getTextIndent=function(){var e=this.getStyle().icon,t=e.size,n=e.margin;return this.getContentIndent()+(this.showTreeIcon()||this.isTreeLevel()&&this.showTreeLeafNodeAlignDot()?t+n.right:0)},t.prototype.isTreeLevel=function(){return Hm(vu(this.meta,"parent.children"),(function(e){return!e.isLeaf}))},t.prototype.getIconPosition=function(){var e=this.textShape.cfg.attrs,t=e.x,n=e.y,r=e.textAlign,i=this.getStyle().icon.margin.left;return"left"===r?{x:t+this.actualTextWidth+i,y:n}:"right"===r?{x:t+i,y:n}:{x:t+this.actualTextWidth/2+i,y:n}},t.prototype.getMaxTextWidth=function(){return this.getContentArea().width-this.getTextIndent()-this.getActionIconsWidth()},t.prototype.getTextArea=function(){var e=this.getContentArea(),t=this.getTextIndent();return sa(sa({},e),{x:e.x+t,width:e.width-t})},t.prototype.getTextPosition=function(){var e=this.getTextArea(),t=this.headerConfig,n=t.scrollY,r=t.viewportHeight,i=this.getTextStyle().fontSize,o=hS(e.y,e.height,n,r,i);return{x:OT(e,this.getTextStyle(),0,this.getIconStyle(),this.getActionIconsCount()).text.x,y:o}},t.prototype.getIconYPosition=function(){var e=this.getTextPosition().y,t=this.getStyle().icon.size;return e+(this.getTextStyle().fontSize-t)/2},t}(eS),dS=function(e,t,n){var r,i,o=(null===(r=n.icon.margin)||void 0===r?void 0:r.left)||0,a=(null===(i=n.icon.margin)||void 0===i?void 0:i.right)||0,s=e.store.get("hiddenColumnsDetail",[]),l=!1,c=!1;s.forEach((function(e){var n,r,i,o;(null===(r=null===(n=null==e?void 0:e.displaySiblingNode)||void 0===n?void 0:n.prev)||void 0===r?void 0:r.field)===t&&(l=!0),(null===(o=null===(i=null==e?void 0:e.displaySiblingNode)||void 0===i?void 0:i.next)||void 0===o?void 0:o.field)===t&&(c=!0)}));var u=vu(n,"icon.size");return{left:c?u+a:0,right:l?u+o:0}},fS=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return aa(t,e),t.prototype.handleRestOptions=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=ua(e,1)[0];this.headerConfig=sa({},n);var r=this.meta.field,i=this.spreadsheet.dataCfg.sortParams,o=Hm(i,(function(e){return(null==e?void 0:e.sortFieldId)===r})),a=Jx(o,!0);this.headerConfig.sortParam=sa(sa(sa({},this.headerConfig.sortParam),o||{}),{type:a})},t.prototype.isFrozenCell=function(){var e=this.spreadsheet.options,t=e.frozenColCount,n=e.frozenTrailingColCount,r=this.spreadsheet.facet.layoutResult.colNodes.filter((function(e){return GE(e)})),i=function(e){for(;!GE(e);)e=e.parent;return e}(this.meta).colIndex;return kE(i,t)||DE(i,n,r.length)},t.prototype.getFormattedFieldValue=function(){return Fx(this.meta,this.spreadsheet.dataSet.getFieldName(this.meta.label))},t.prototype.shouldAddVerticalResizeArea=function(){return!!this.isFrozenCell()||e.prototype.shouldAddVerticalResizeArea.call(this)},t.prototype.getVerticalResizeAreaOffset=function(){var e=this.meta,t=e.x,n=e.y,r=this.headerConfig,i=r.scrollX,o=r.position;return this.isFrozenCell()?{x:t,y:n}:{x:o.x+t-i,y:o.y+n}},t.prototype.getColResizeArea=function(){return this.isFrozenCell()?Dx(this.spreadsheet,bo):e.prototype.getColResizeArea.call(this)},t.prototype.isSortCell=function(){return!0},t.prototype.showSortIcon=function(){return this.spreadsheet.options.showDefaultHeaderActionIcon},t.prototype.getTextStyle=function(){var e=this.getStyle();return null==e?void 0:e.bolderText},t.prototype.getContentArea=function(){var e,t=((null===(e=this.getStyle())||void 0===e?void 0:e.cell)||this.theme.dataCell.cell).padding,n=sa({},t),r=dS(this.spreadsheet,this.meta.field,this.getStyle());return r.left&&(n.left=(n.left||0)+r.left),r.right&&(n.right=(n.right||0)+r.right),AT(this.getCellArea(),n)},t.prototype.getHorizontalResizeAreaName=function(){return"".concat(To).concat("table-col-cell")},t.prototype.drawBackgroundShape=function(){var e=this.getStyle().cell.backgroundColor;this.backgroundShape=dT(this,sa(sa({},this.getCellArea()),{fill:e}))},t}(tS),mS=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return aa(t,e),t.prototype.getStyle=function(e){return e?this.theme[e]:vu(this,"theme.cornerCell")},t.prototype.showSortIcon=function(){return!1},t.prototype.drawLeftBorder=function(){var e=NT(XE.LEFT,this.getCellArea(),this.getStyle().cell);gT(this,e.position,e.style)},t.prototype.drawBorders=function(){e.prototype.drawBorders.call(this),0===this.meta.colIndex&&this.drawLeftBorder()},t}(fS),gS=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return aa(t,e),t.prototype.getLinkFieldStyle=function(){return this.theme.rowCell.text.linkTextFill},t.prototype.drawBorderShape=function(){e.prototype.drawBorderShape.call(this),0===this.meta.colIndex&&this.drawLeftBorder()},t.prototype.shouldDrawResizeArea=function(){return 0===this.meta.colIndex},t.prototype.drawResizeArea=function(){if(this.shouldDrawResizeArea()){var e=this.getCellArea(),t=e.x,n=e.y,r=e.width,i=e.height,o=this.meta.rowIndex,a=this.getResizeAreaStyle(),s=this.spreadsheet.options,l=s.frozenRowCount,c=s.frozenTrailingRowCount,u=this.spreadsheet.facet.getCellRange(),h=PE(o,u.start,l),p=ME(o,u.end,c),d=h||p?mo:fo,f=Dx(this.spreadsheet,d),m=this.spreadsheet.facet.layoutResult.colsHierarchy.height,g=this.spreadsheet.facet.getScrollOffset().scrollY,y=this.spreadsheet.facet.getPaginationScrollY(),v=n+(p?0:m);p||(v-=h?y:g+y),f.addShape("rect",{attrs:sa(sa({},kx({id:String(this.meta.rowIndex),theme:a,type:Qo.Vertical,effect:Jo.Cell,offsetX:t,offsetY:v,width:r,height:i,meta:this.meta})),{x:t,y:v+i-a.size/2,width:r})})}},t}(Ex),yS=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return aa(t,e),Object.defineProperty(t.prototype,"cellType",{get:function(){return Uo.ROW_CELL},enumerable:!1,configurable:!0}),t.prototype.getTextStyle=function(){return this.theme.rowCell.seriesText},t}(gS),vS=function(e){return[Yo.META,Yo.CONTROL].includes(e.key)},_S=function(e){return e.ctrlKey||e.metaKey},bS=function(e){var t=e.getMeta()||{},n=t.id,r=t.colIndex,i=t.rowIndex,o=t.rowQuery;return{id:n,colIndex:r,rowIndex:i,type:e.cellType,rowQuery:o}};function ES(e,t){var n=Math.min(e.rowIndex,t.rowIndex),r=Math.max(e.rowIndex,t.rowIndex);return{start:{rowIndex:n,colIndex:Math.min(e.colIndex,t.colIndex)},end:{rowIndex:r,colIndex:Math.max(e.colIndex,t.colIndex)}}}var TS,xS,SS=function(e,t){var n=e.getSelectedCellHighlight(),r=n.colHeader,i=n.rowHeader;r&&e.updateCells(e.getAllColHeaderCells()),i&&e.updateCells(e.getAllRowHeaderCells()),t()},CS=function(e){var t=e.store.get("visibleActionIcons"),n=e.interaction.getInteractedCells(),r=e.interaction.getState().cells;return!($g(n)&&$g(r)&&$g(t))&&(dm(t,(function(e){e.set("visible",!1)})),e.store.set("visibleActionIcons",[]),dm(n,(function(e){e.hideInteractionShape()})),e.interaction.resetState(),e.options.interaction.selectedCellsSpotlight&&dm(e.interaction.getPanelGroupAllUnSelectedDataCells()||[],(function(e){e.clearUnselectedState()})),!0)},AS=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=ha(ha([],ua(e),!1),[function(e,t){if(Na(e)&&Na(t))return t}],!1);return Vf.apply(void 0,ha([{}],ua(n),!1))},RS=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=AS.apply(void 0,ha([Fo],ua(e),!1));return n.fields=function(e){var t=["rows","columns","values"].reduce((function(t,n){var r=e[n],i=ub(r);return Wg(i,r)||console.warn("fields.".concat(n,":[").concat(r,"] should be unique")),t[n]=i,t}),{});return sa(sa({},e),t)}(n.fields),$g(n.fields.customTreeItems)&&!$g(n.fields.values)||(n.fields.valueInCols=!1),n},wS=function(e){return AS(ia,e)},LS=9e15,OS=1e9,NS="0123456789abcdef",IS="2.3025850929940456840179914546843642076011014886287729760333279009675726096773524802359972050895982983419677840422862486334095254650828067566662873690987816894829072083255546808437998948262331985283935053089653777326288461633662222876982198867465436674744042432743651550489343149393914796194044002221051017141748003688084012647080685567743216228355220114804663715659121373450747856947683463616792101806445070648000277502684916746550586856935673420670581136429224554405758925724208241314695689016758940256776311356919292033376587141660230105703089634572075440370847469940168269282808481184289314848524948644871927809676271275775397027668605952496716674183485704422507197965004714951050492214776567636938662976979522110718264549734772662425709429322582798502585509785265383207606726317164309505995087807523710333101197857547331541421808427543863591778117054309827482385045648019095610299291824318237525357709750539565187697510374970888692180205189339507238539205144634197265287286965110862571492198849978748873771345686209167058",kS="3.1415926535897932384626433832795028841971693993751058209749445923078164062862089986280348253421170679821480865132823066470938446095505822317253594081284811174502841027019385211055596446229489549303819644288109756659334461284756482337867831652712019091456485669234603486104543266482133936072602491412737245870066063155881748815209209628292540917153643678925903600113305305488204665213841469519415116094330572703657595919530921861173819326117931051185480744623799627495673518857527248912279381830119491298336733624406566430860213949463952247371907021798609437027705392171762931767523846748184676694051320005681271452635608277857713427577896091736371787214684409012249534301465495853710507922796892589235420199561121290219608640344181598136297747713099605187072113499999983729780499510597317328160963185950244594553469083026425223082533446850352619311881710100031378387528865875332083814206171776691473035982534904287554687311595628638823537875937519577818577805321712268066130019278766111959092164201989380952572010654858632789",DS={precision:20,rounding:4,modulo:1,toExpNeg:-7,toExpPos:21,minE:-LS,maxE:LS,crypto:!1},PS=!0,MS="[DecimalError] ",FS=MS+"Invalid argument: ",HS=MS+"Precision limit exceeded",BS=MS+"crypto unavailable",US="[object Decimal]",jS=Math.floor,GS=Math.pow,YS=/^0b([01]+(\.[01]*)?|\.[01]+)(p[+-]?\d+)?$/i,zS=/^0x([0-9a-f]+(\.[0-9a-f]*)?|\.[0-9a-f]+)(p[+-]?\d+)?$/i,$S=/^0o([0-7]+(\.[0-7]*)?|\.[0-7]+)(p[+-]?\d+)?$/i,WS=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,VS=1e7,KS=7,qS=IS.length-1,XS=kS.length-1,ZS={toStringTag:US};function QS(e){var t,n,r,i=e.length-1,o="",a=e[0];if(i>0){for(o+=a,t=1;t<i;t++)r=e[t]+"",(n=KS-r.length)&&(o+=cC(n)),o+=r;a=e[t],(n=KS-(r=a+"").length)&&(o+=cC(n))}else if(0===a)return"0";for(;a%10==0;)a/=10;return o+a}function JS(e,t,n){if(e!==~~e||e<t||e>n)throw Error(FS+e)}function eC(e,t,n,r){var i,o,a,s;for(o=e[0];o>=10;o/=10)--t;return--t<0?(t+=KS,i=0):(i=Math.ceil((t+1)/KS),t%=KS),o=GS(10,KS-t),s=e[i]%o|0,null==r?t<3?(0==t?s=s/100|0:1==t&&(s=s/10|0),a=n<4&&99999==s||n>3&&49999==s||5e4==s||0==s):a=(n<4&&s+1==o||n>3&&s+1==o/2)&&(e[i+1]/o/100|0)==GS(10,t-2)-1||(s==o/2||0==s)&&0==(e[i+1]/o/100|0):t<4?(0==t?s=s/1e3|0:1==t?s=s/100|0:2==t&&(s=s/10|0),a=(r||n<4)&&9999==s||!r&&n>3&&4999==s):a=((r||n<4)&&s+1==o||!r&&n>3&&s+1==o/2)&&(e[i+1]/o/1e3|0)==GS(10,t-3)-1,a}function tC(e,t,n){for(var r,i,o=[0],a=0,s=e.length;a<s;){for(i=o.length;i--;)o[i]*=t;for(o[0]+=NS.indexOf(e.charAt(a++)),r=0;r<o.length;r++)o[r]>n-1&&(void 0===o[r+1]&&(o[r+1]=0),o[r+1]+=o[r]/n|0,o[r]%=n)}return o.reverse()}ZS.absoluteValue=ZS.abs=function(){var e=new this.constructor(this);return e.s<0&&(e.s=1),rC(e)},ZS.ceil=function(){return rC(new this.constructor(this),this.e+1,2)},ZS.clampedTo=ZS.clamp=function(e,t){var n=this,r=n.constructor;if(e=new r(e),t=new r(t),!e.s||!t.s)return new r(NaN);if(e.gt(t))throw Error(FS+t);return n.cmp(e)<0?e:n.cmp(t)>0?t:new r(n)},ZS.comparedTo=ZS.cmp=function(e){var t,n,r,i,o=this,a=o.d,s=(e=new o.constructor(e)).d,l=o.s,c=e.s;if(!a||!s)return l&&c?l!==c?l:a===s?0:!a^l<0?1:-1:NaN;if(!a[0]||!s[0])return a[0]?l:s[0]?-c:0;if(l!==c)return l;if(o.e!==e.e)return o.e>e.e^l<0?1:-1;for(t=0,n=(r=a.length)<(i=s.length)?r:i;t<n;++t)if(a[t]!==s[t])return a[t]>s[t]^l<0?1:-1;return r===i?0:r>i^l<0?1:-1},ZS.cosine=ZS.cos=function(){var e,t,n=this,r=n.constructor;return n.d?n.d[0]?(e=r.precision,t=r.rounding,r.precision=e+Math.max(n.e,n.sd())+KS,r.rounding=1,n=function(e,t){var n,r,i;if(t.isZero())return t;(r=t.d.length)<32?i=(1/_C(4,n=Math.ceil(r/3))).toString():(n=16,i="2.3283064365386962890625e-10"),e.precision+=n,t=vC(e,1,t.times(i),new e(1));for(var o=n;o--;){var a=t.times(t);t=a.times(a).minus(a).times(8).plus(1)}return e.precision-=n,t}(r,bC(r,n)),r.precision=e,r.rounding=t,rC(2==xS||3==xS?n.neg():n,e,t,!0)):new r(1):new r(NaN)},ZS.cubeRoot=ZS.cbrt=function(){var e,t,n,r,i,o,a,s,l,c,u=this,h=u.constructor;if(!u.isFinite()||u.isZero())return new h(u);for(PS=!1,(o=u.s*GS(u.s*u,1/3))&&Math.abs(o)!=1/0?r=new h(o.toString()):(n=QS(u.d),(o=((e=u.e)-n.length+1)%3)&&(n+=1==o||-2==o?"0":"00"),o=GS(n,1/3),e=jS((e+1)/3)-(e%3==(e<0?-1:2)),(r=new h(n=o==1/0?"5e"+e:(n=o.toExponential()).slice(0,n.indexOf("e")+1)+e)).s=u.s),a=(e=h.precision)+3;;)if(c=(l=(s=r).times(s).times(s)).plus(u),r=nC(c.plus(u).times(s),c.plus(l),a+2,1),QS(s.d).slice(0,a)===(n=QS(r.d)).slice(0,a)){if("9999"!=(n=n.slice(a-3,a+1))&&(i||"4999"!=n)){+n&&(+n.slice(1)||"5"!=n.charAt(0))||(rC(r,e+1,1),t=!r.times(r).times(r).eq(u));break}if(!i&&(rC(s,e+1,0),s.times(s).times(s).eq(u))){r=s;break}a+=4,i=1}return PS=!0,rC(r,e,h.rounding,t)},ZS.decimalPlaces=ZS.dp=function(){var e,t=this.d,n=NaN;if(t){if(n=((e=t.length-1)-jS(this.e/KS))*KS,e=t[e])for(;e%10==0;e/=10)n--;n<0&&(n=0)}return n},ZS.dividedBy=ZS.div=function(e){return nC(this,new this.constructor(e))},ZS.dividedToIntegerBy=ZS.divToInt=function(e){var t=this.constructor;return rC(nC(this,new t(e),0,1,1),t.precision,t.rounding)},ZS.equals=ZS.eq=function(e){return 0===this.cmp(e)},ZS.floor=function(){return rC(new this.constructor(this),this.e+1,3)},ZS.greaterThan=ZS.gt=function(e){return this.cmp(e)>0},ZS.greaterThanOrEqualTo=ZS.gte=function(e){var t=this.cmp(e);return 1==t||0===t},ZS.hyperbolicCosine=ZS.cosh=function(){var e,t,n,r,i,o=this,a=o.constructor,s=new a(1);if(!o.isFinite())return new a(o.s?1/0:NaN);if(o.isZero())return s;n=a.precision,r=a.rounding,a.precision=n+Math.max(o.e,o.sd())+4,a.rounding=1,(i=o.d.length)<32?t=(1/_C(4,e=Math.ceil(i/3))).toString():(e=16,t="2.3283064365386962890625e-10"),o=vC(a,1,o.times(t),new a(1),!0);for(var l,c=e,u=new a(8);c--;)l=o.times(o),o=s.minus(l.times(u.minus(l.times(u))));return rC(o,a.precision=n,a.rounding=r,!0)},ZS.hyperbolicSine=ZS.sinh=function(){var e,t,n,r,i=this,o=i.constructor;if(!i.isFinite()||i.isZero())return new o(i);if(t=o.precision,n=o.rounding,o.precision=t+Math.max(i.e,i.sd())+4,o.rounding=1,(r=i.d.length)<3)i=vC(o,2,i,i,!0);else{e=(e=1.4*Math.sqrt(r))>16?16:0|e,i=vC(o,2,i=i.times(1/_C(5,e)),i,!0);for(var a,s=new o(5),l=new o(16),c=new o(20);e--;)a=i.times(i),i=i.times(s.plus(a.times(l.times(a).plus(c))))}return o.precision=t,o.rounding=n,rC(i,t,n,!0)},ZS.hyperbolicTangent=ZS.tanh=function(){var e,t,n=this,r=n.constructor;return n.isFinite()?n.isZero()?new r(n):(e=r.precision,t=r.rounding,r.precision=e+7,r.rounding=1,nC(n.sinh(),n.cosh(),r.precision=e,r.rounding=t)):new r(n.s)},ZS.inverseCosine=ZS.acos=function(){var e,t=this,n=t.constructor,r=t.abs().cmp(1),i=n.precision,o=n.rounding;return-1!==r?0===r?t.isNeg()?sC(n,i,o):new n(0):new n(NaN):t.isZero()?sC(n,i+4,o).times(.5):(n.precision=i+6,n.rounding=1,t=t.asin(),e=sC(n,i+4,o).times(.5),n.precision=i,n.rounding=o,e.minus(t))},ZS.inverseHyperbolicCosine=ZS.acosh=function(){var e,t,n=this,r=n.constructor;return n.lte(1)?new r(n.eq(1)?0:NaN):n.isFinite()?(e=r.precision,t=r.rounding,r.precision=e+Math.max(Math.abs(n.e),n.sd())+4,r.rounding=1,PS=!1,n=n.times(n).minus(1).sqrt().plus(n),PS=!0,r.precision=e,r.rounding=t,n.ln()):new r(n)},ZS.inverseHyperbolicSine=ZS.asinh=function(){var e,t,n=this,r=n.constructor;return!n.isFinite()||n.isZero()?new r(n):(e=r.precision,t=r.rounding,r.precision=e+2*Math.max(Math.abs(n.e),n.sd())+6,r.rounding=1,PS=!1,n=n.times(n).plus(1).sqrt().plus(n),PS=!0,r.precision=e,r.rounding=t,n.ln())},ZS.inverseHyperbolicTangent=ZS.atanh=function(){var e,t,n,r,i=this,o=i.constructor;return i.isFinite()?i.e>=0?new o(i.abs().eq(1)?i.s/0:i.isZero()?i:NaN):(e=o.precision,t=o.rounding,r=i.sd(),Math.max(r,e)<2*-i.e-1?rC(new o(i),e,t,!0):(o.precision=n=r-i.e,i=nC(i.plus(1),new o(1).minus(i),n+e,1),o.precision=e+4,o.rounding=1,i=i.ln(),o.precision=e,o.rounding=t,i.times(.5))):new o(NaN)},ZS.inverseSine=ZS.asin=function(){var e,t,n,r,i=this,o=i.constructor;return i.isZero()?new o(i):(t=i.abs().cmp(1),n=o.precision,r=o.rounding,-1!==t?0===t?((e=sC(o,n+4,r).times(.5)).s=i.s,e):new o(NaN):(o.precision=n+6,o.rounding=1,i=i.div(new o(1).minus(i.times(i)).sqrt().plus(1)).atan(),o.precision=n,o.rounding=r,i.times(2)))},ZS.inverseTangent=ZS.atan=function(){var e,t,n,r,i,o,a,s,l,c=this,u=c.constructor,h=u.precision,p=u.rounding;if(c.isFinite()){if(c.isZero())return new u(c);if(c.abs().eq(1)&&h+4<=XS)return(a=sC(u,h+4,p).times(.25)).s=c.s,a}else{if(!c.s)return new u(NaN);if(h+4<=XS)return(a=sC(u,h+4,p).times(.5)).s=c.s,a}for(u.precision=s=h+10,u.rounding=1,e=n=Math.min(28,s/KS+2|0);e;--e)c=c.div(c.times(c).plus(1).sqrt().plus(1));for(PS=!1,t=Math.ceil(s/KS),r=1,l=c.times(c),a=new u(c),i=c;-1!==e;)if(i=i.times(l),o=a.minus(i.div(r+=2)),i=i.times(l),void 0!==(a=o.plus(i.div(r+=2))).d[t])for(e=t;a.d[e]===o.d[e]&&e--;);return n&&(a=a.times(2<<n-1)),PS=!0,rC(a,u.precision=h,u.rounding=p,!0)},ZS.isFinite=function(){return!!this.d},ZS.isInteger=ZS.isInt=function(){return!!this.d&&jS(this.e/KS)>this.d.length-2},ZS.isNaN=function(){return!this.s},ZS.isNegative=ZS.isNeg=function(){return this.s<0},ZS.isPositive=ZS.isPos=function(){return this.s>0},ZS.isZero=function(){return!!this.d&&0===this.d[0]},ZS.lessThan=ZS.lt=function(e){return this.cmp(e)<0},ZS.lessThanOrEqualTo=ZS.lte=function(e){return this.cmp(e)<1},ZS.logarithm=ZS.log=function(e){var t,n,r,i,o,a,s,l,c=this,u=c.constructor,h=u.precision,p=u.rounding;if(null==e)e=new u(10),t=!0;else{if(n=(e=new u(e)).d,e.s<0||!n||!n[0]||e.eq(1))return new u(NaN);t=e.eq(10)}if(n=c.d,c.s<0||!n||!n[0]||c.eq(1))return new u(n&&!n[0]?-1/0:1!=c.s?NaN:n?0:1/0);if(t)if(n.length>1)o=!0;else{for(i=n[0];i%10==0;)i/=10;o=1!==i}if(PS=!1,a=fC(c,s=h+5),r=t?aC(u,s+10):fC(e,s),eC((l=nC(a,r,s,1)).d,i=h,p))do{if(a=fC(c,s+=10),r=t?aC(u,s+10):fC(e,s),l=nC(a,r,s,1),!o){+QS(l.d).slice(i+1,i+15)+1==1e14&&(l=rC(l,h+1,0));break}}while(eC(l.d,i+=10,p));return PS=!0,rC(l,h,p)},ZS.minus=ZS.sub=function(e){var t,n,r,i,o,a,s,l,c,u,h,p,d=this,f=d.constructor;if(e=new f(e),!d.d||!e.d)return d.s&&e.s?d.d?e.s=-e.s:e=new f(e.d||d.s!==e.s?d:NaN):e=new f(NaN),e;if(d.s!=e.s)return e.s=-e.s,d.plus(e);if(c=d.d,p=e.d,s=f.precision,l=f.rounding,!c[0]||!p[0]){if(p[0])e.s=-e.s;else{if(!c[0])return new f(3===l?-0:0);e=new f(d)}return PS?rC(e,s,l):e}if(n=jS(e.e/KS),u=jS(d.e/KS),c=c.slice(),o=u-n){for((h=o<0)?(t=c,o=-o,a=p.length):(t=p,n=u,a=c.length),o>(r=Math.max(Math.ceil(s/KS),a)+2)&&(o=r,t.length=1),t.reverse(),r=o;r--;)t.push(0);t.reverse()}else{for((h=(r=c.length)<(a=p.length))&&(a=r),r=0;r<a;r++)if(c[r]!=p[r]){h=c[r]<p[r];break}o=0}for(h&&(t=c,c=p,p=t,e.s=-e.s),a=c.length,r=p.length-a;r>0;--r)c[a++]=0;for(r=p.length;r>o;){if(c[--r]<p[r]){for(i=r;i&&0===c[--i];)c[i]=VS-1;--c[i],c[r]+=VS}c[r]-=p[r]}for(;0===c[--a];)c.pop();for(;0===c[0];c.shift())--n;return c[0]?(e.d=c,e.e=oC(c,n),PS?rC(e,s,l):e):new f(3===l?-0:0)},ZS.modulo=ZS.mod=function(e){var t,n=this,r=n.constructor;return e=new r(e),!n.d||!e.s||e.d&&!e.d[0]?new r(NaN):!e.d||n.d&&!n.d[0]?rC(new r(n),r.precision,r.rounding):(PS=!1,9==r.modulo?(t=nC(n,e.abs(),0,3,1)).s*=e.s:t=nC(n,e,0,r.modulo,1),t=t.times(e),PS=!0,n.minus(t))},ZS.naturalExponential=ZS.exp=function(){return dC(this)},ZS.naturalLogarithm=ZS.ln=function(){return fC(this)},ZS.negated=ZS.neg=function(){var e=new this.constructor(this);return e.s=-e.s,rC(e)},ZS.plus=ZS.add=function(e){var t,n,r,i,o,a,s,l,c,u,h=this,p=h.constructor;if(e=new p(e),!h.d||!e.d)return h.s&&e.s?h.d||(e=new p(e.d||h.s===e.s?h:NaN)):e=new p(NaN),e;if(h.s!=e.s)return e.s=-e.s,h.minus(e);if(c=h.d,u=e.d,s=p.precision,l=p.rounding,!c[0]||!u[0])return u[0]||(e=new p(h)),PS?rC(e,s,l):e;if(o=jS(h.e/KS),r=jS(e.e/KS),c=c.slice(),i=o-r){for(i<0?(n=c,i=-i,a=u.length):(n=u,r=o,a=c.length),i>(a=(o=Math.ceil(s/KS))>a?o+1:a+1)&&(i=a,n.length=1),n.reverse();i--;)n.push(0);n.reverse()}for((a=c.length)-(i=u.length)<0&&(i=a,n=u,u=c,c=n),t=0;i;)t=(c[--i]=c[i]+u[i]+t)/VS|0,c[i]%=VS;for(t&&(c.unshift(t),++r),a=c.length;0==c[--a];)c.pop();return e.d=c,e.e=oC(c,r),PS?rC(e,s,l):e},ZS.precision=ZS.sd=function(e){var t,n=this;if(void 0!==e&&e!==!!e&&1!==e&&0!==e)throw Error(FS+e);return n.d?(t=lC(n.d),e&&n.e+1>t&&(t=n.e+1)):t=NaN,t},ZS.round=function(){var e=this,t=e.constructor;return rC(new t(e),e.e+1,t.rounding)},ZS.sine=ZS.sin=function(){var e,t,n=this,r=n.constructor;return n.isFinite()?n.isZero()?new r(n):(e=r.precision,t=r.rounding,r.precision=e+Math.max(n.e,n.sd())+KS,r.rounding=1,n=function(e,t){var n,r=t.d.length;if(r<3)return t.isZero()?t:vC(e,2,t,t);n=(n=1.4*Math.sqrt(r))>16?16:0|n,t=vC(e,2,t=t.times(1/_C(5,n)),t);for(var i,o=new e(5),a=new e(16),s=new e(20);n--;)i=t.times(t),t=t.times(o.plus(i.times(a.times(i).minus(s))));return t}(r,bC(r,n)),r.precision=e,r.rounding=t,rC(xS>2?n.neg():n,e,t,!0)):new r(NaN)},ZS.squareRoot=ZS.sqrt=function(){var e,t,n,r,i,o,a=this,s=a.d,l=a.e,c=a.s,u=a.constructor;if(1!==c||!s||!s[0])return new u(!c||c<0&&(!s||s[0])?NaN:s?a:1/0);for(PS=!1,0==(c=Math.sqrt(+a))||c==1/0?(((t=QS(s)).length+l)%2==0&&(t+="0"),c=Math.sqrt(t),l=jS((l+1)/2)-(l<0||l%2),r=new u(t=c==1/0?"5e"+l:(t=c.toExponential()).slice(0,t.indexOf("e")+1)+l)):r=new u(c.toString()),n=(l=u.precision)+3;;)if(r=(o=r).plus(nC(a,o,n+2,1)).times(.5),QS(o.d).slice(0,n)===(t=QS(r.d)).slice(0,n)){if("9999"!=(t=t.slice(n-3,n+1))&&(i||"4999"!=t)){+t&&(+t.slice(1)||"5"!=t.charAt(0))||(rC(r,l+1,1),e=!r.times(r).eq(a));break}if(!i&&(rC(o,l+1,0),o.times(o).eq(a))){r=o;break}n+=4,i=1}return PS=!0,rC(r,l,u.rounding,e)},ZS.tangent=ZS.tan=function(){var e,t,n=this,r=n.constructor;return n.isFinite()?n.isZero()?new r(n):(e=r.precision,t=r.rounding,r.precision=e+10,r.rounding=1,(n=n.sin()).s=1,n=nC(n,new r(1).minus(n.times(n)).sqrt(),e+10,0),r.precision=e,r.rounding=t,rC(2==xS||4==xS?n.neg():n,e,t,!0)):new r(NaN)},ZS.times=ZS.mul=function(e){var t,n,r,i,o,a,s,l,c,u=this,h=u.constructor,p=u.d,d=(e=new h(e)).d;if(e.s*=u.s,!(p&&p[0]&&d&&d[0]))return new h(!e.s||p&&!p[0]&&!d||d&&!d[0]&&!p?NaN:p&&d?0*e.s:e.s/0);for(n=jS(u.e/KS)+jS(e.e/KS),(l=p.length)<(c=d.length)&&(o=p,p=d,d=o,a=l,l=c,c=a),o=[],r=a=l+c;r--;)o.push(0);for(r=c;--r>=0;){for(t=0,i=l+r;i>r;)s=o[i]+d[r]*p[i-r-1]+t,o[i--]=s%VS|0,t=s/VS|0;o[i]=(o[i]+t)%VS|0}for(;!o[--a];)o.pop();return t?++n:o.shift(),e.d=o,e.e=oC(o,n),PS?rC(e,h.precision,h.rounding):e},ZS.toBinary=function(e,t){return EC(this,2,e,t)},ZS.toDecimalPlaces=ZS.toDP=function(e,t){var n=this,r=n.constructor;return n=new r(n),void 0===e?n:(JS(e,0,OS),void 0===t?t=r.rounding:JS(t,0,8),rC(n,e+n.e+1,t))},ZS.toExponential=function(e,t){var n,r=this,i=r.constructor;return void 0===e?n=iC(r,!0):(JS(e,0,OS),void 0===t?t=i.rounding:JS(t,0,8),n=iC(r=rC(new i(r),e+1,t),!0,e+1)),r.isNeg()&&!r.isZero()?"-"+n:n},ZS.toFixed=function(e,t){var n,r,i=this,o=i.constructor;return void 0===e?n=iC(i):(JS(e,0,OS),void 0===t?t=o.rounding:JS(t,0,8),n=iC(r=rC(new o(i),e+i.e+1,t),!1,e+r.e+1)),i.isNeg()&&!i.isZero()?"-"+n:n},ZS.toFraction=function(e){var t,n,r,i,o,a,s,l,c,u,h,p,d=this,f=d.d,m=d.constructor;if(!f)return new m(d);if(c=n=new m(1),r=l=new m(0),a=(o=(t=new m(r)).e=lC(f)-d.e-1)%KS,t.d[0]=GS(10,a<0?KS+a:a),null==e)e=o>0?t:c;else{if(!(s=new m(e)).isInt()||s.lt(c))throw Error(FS+s);e=s.gt(t)?o>0?t:c:s}for(PS=!1,s=new m(QS(f)),u=m.precision,m.precision=o=f.length*KS*2;h=nC(s,t,0,1,1),1!=(i=n.plus(h.times(r))).cmp(e);)n=r,r=i,i=c,c=l.plus(h.times(i)),l=i,i=t,t=s.minus(h.times(i)),s=i;return i=nC(e.minus(n),r,0,1,1),l=l.plus(i.times(c)),n=n.plus(i.times(r)),l.s=c.s=d.s,p=nC(c,r,o,1).minus(d).abs().cmp(nC(l,n,o,1).minus(d).abs())<1?[c,r]:[l,n],m.precision=u,PS=!0,p},ZS.toHexadecimal=ZS.toHex=function(e,t){return EC(this,16,e,t)},ZS.toNearest=function(e,t){var n=this,r=n.constructor;if(n=new r(n),null==e){if(!n.d)return n;e=new r(1),t=r.rounding}else{if(e=new r(e),void 0===t?t=r.rounding:JS(t,0,8),!n.d)return e.s?n:e;if(!e.d)return e.s&&(e.s=n.s),e}return e.d[0]?(PS=!1,n=nC(n,e,0,t,1).times(e),PS=!0,rC(n)):(e.s=n.s,n=e),n},ZS.toNumber=function(){return+this},ZS.toOctal=function(e,t){return EC(this,8,e,t)},ZS.toPower=ZS.pow=function(e){var t,n,r,i,o,a,s=this,l=s.constructor,c=+(e=new l(e));if(!(s.d&&e.d&&s.d[0]&&e.d[0]))return new l(GS(+s,c));if((s=new l(s)).eq(1))return s;if(r=l.precision,o=l.rounding,e.eq(1))return rC(s,r,o);if((t=jS(e.e/KS))>=e.d.length-1&&(n=c<0?-c:c)<=9007199254740991)return i=uC(l,s,n,r),e.s<0?new l(1).div(i):rC(i,r,o);if((a=s.s)<0){if(t<e.d.length-1)return new l(NaN);if(0==(1&e.d[t])&&(a=1),0==s.e&&1==s.d[0]&&1==s.d.length)return s.s=a,s}return(t=0!=(n=GS(+s,c))&&isFinite(n)?new l(n+"").e:jS(c*(Math.log("0."+QS(s.d))/Math.LN10+s.e+1)))>l.maxE+1||t<l.minE-1?new l(t>0?a/0:0):(PS=!1,l.rounding=s.s=1,n=Math.min(12,(t+"").length),(i=dC(e.times(fC(s,r+n)),r)).d&&eC((i=rC(i,r+5,1)).d,r,o)&&(t=r+10,+QS((i=rC(dC(e.times(fC(s,t+n)),t),t+5,1)).d).slice(r+1,r+15)+1==1e14&&(i=rC(i,r+1,0))),i.s=a,PS=!0,l.rounding=o,rC(i,r,o))},ZS.toPrecision=function(e,t){var n,r=this,i=r.constructor;return void 0===e?n=iC(r,r.e<=i.toExpNeg||r.e>=i.toExpPos):(JS(e,1,OS),void 0===t?t=i.rounding:JS(t,0,8),n=iC(r=rC(new i(r),e,t),e<=r.e||r.e<=i.toExpNeg,e)),r.isNeg()&&!r.isZero()?"-"+n:n},ZS.toSignificantDigits=ZS.toSD=function(e,t){var n=this.constructor;return void 0===e?(e=n.precision,t=n.rounding):(JS(e,1,OS),void 0===t?t=n.rounding:JS(t,0,8)),rC(new n(this),e,t)},ZS.toString=function(){var e=this,t=e.constructor,n=iC(e,e.e<=t.toExpNeg||e.e>=t.toExpPos);return e.isNeg()&&!e.isZero()?"-"+n:n},ZS.truncated=ZS.trunc=function(){return rC(new this.constructor(this),this.e+1,1)},ZS.valueOf=ZS.toJSON=function(){var e=this,t=e.constructor,n=iC(e,e.e<=t.toExpNeg||e.e>=t.toExpPos);return e.isNeg()?"-"+n:n};var nC=function(){function e(e,t,n){var r,i=0,o=e.length;for(e=e.slice();o--;)r=e[o]*t+i,e[o]=r%n|0,i=r/n|0;return i&&e.unshift(i),e}function t(e,t,n,r){var i,o;if(n!=r)o=n>r?1:-1;else for(i=o=0;i<n;i++)if(e[i]!=t[i]){o=e[i]>t[i]?1:-1;break}return o}function n(e,t,n,r){for(var i=0;n--;)e[n]-=i,i=e[n]<t[n]?1:0,e[n]=i*r+e[n]-t[n];for(;!e[0]&&e.length>1;)e.shift()}return function(r,i,o,a,s,l){var c,u,h,p,d,f,m,g,y,v,_,b,E,T,x,S,C,A,R,w,L=r.constructor,O=r.s==i.s?1:-1,N=r.d,I=i.d;if(!(N&&N[0]&&I&&I[0]))return new L(r.s&&i.s&&(N?!I||N[0]!=I[0]:I)?N&&0==N[0]||!I?0*O:O/0:NaN);for(l?(d=1,u=r.e-i.e):(l=VS,d=KS,u=jS(r.e/d)-jS(i.e/d)),R=I.length,C=N.length,v=(y=new L(O)).d=[],h=0;I[h]==(N[h]||0);h++);if(I[h]>(N[h]||0)&&u--,null==o?(T=o=L.precision,a=L.rounding):T=s?o+(r.e-i.e)+1:o,T<0)v.push(1),f=!0;else{if(T=T/d+2|0,h=0,1==R){for(p=0,I=I[0],T++;(h<C||p)&&T--;h++)x=p*l+(N[h]||0),v[h]=x/I|0,p=x%I|0;f=p||h<C}else{for((p=l/(I[0]+1)|0)>1&&(I=e(I,p,l),N=e(N,p,l),R=I.length,C=N.length),S=R,b=(_=N.slice(0,R)).length;b<R;)_[b++]=0;(w=I.slice()).unshift(0),A=I[0],I[1]>=l/2&&++A;do{p=0,(c=t(I,_,R,b))<0?(E=_[0],R!=b&&(E=E*l+(_[1]||0)),(p=E/A|0)>1?(p>=l&&(p=l-1),1==(c=t(m=e(I,p,l),_,g=m.length,b=_.length))&&(p--,n(m,R<g?w:I,g,l))):(0==p&&(c=p=1),m=I.slice()),(g=m.length)<b&&m.unshift(0),n(_,m,b,l),-1==c&&(c=t(I,_,R,b=_.length))<1&&(p++,n(_,R<b?w:I,b,l)),b=_.length):0===c&&(p++,_=[0]),v[h++]=p,c&&_[0]?_[b++]=N[S]||0:(_=[N[S]],b=1)}while((S++<C||void 0!==_[0])&&T--);f=void 0!==_[0]}v[0]||v.shift()}if(1==d)y.e=u,TS=f;else{for(h=1,p=v[0];p>=10;p/=10)h++;y.e=h+u*d-1,rC(y,s?o+y.e+1:o,a,f)}return y}}();function rC(e,t,n,r){var i,o,a,s,l,c,u,h,p,d=e.constructor;e:if(null!=t){if(!(h=e.d))return e;for(i=1,s=h[0];s>=10;s/=10)i++;if((o=t-i)<0)o+=KS,a=t,l=(u=h[p=0])/GS(10,i-a-1)%10|0;else if((p=Math.ceil((o+1)/KS))>=(s=h.length)){if(!r)break e;for(;s++<=p;)h.push(0);u=l=0,i=1,a=(o%=KS)-KS+1}else{for(u=s=h[p],i=1;s>=10;s/=10)i++;l=(a=(o%=KS)-KS+i)<0?0:u/GS(10,i-a-1)%10|0}if(r=r||t<0||void 0!==h[p+1]||(a<0?u:u%GS(10,i-a-1)),c=n<4?(l||r)&&(0==n||n==(e.s<0?3:2)):l>5||5==l&&(4==n||r||6==n&&(o>0?a>0?u/GS(10,i-a):0:h[p-1])%10&1||n==(e.s<0?8:7)),t<1||!h[0])return h.length=0,c?(t-=e.e+1,h[0]=GS(10,(KS-t%KS)%KS),e.e=-t||0):h[0]=e.e=0,e;if(0==o?(h.length=p,s=1,p--):(h.length=p+1,s=GS(10,KS-o),h[p]=a>0?(u/GS(10,i-a)%GS(10,a)|0)*s:0),c)for(;;){if(0==p){for(o=1,a=h[0];a>=10;a/=10)o++;for(a=h[0]+=s,s=1;a>=10;a/=10)s++;o!=s&&(e.e++,h[0]==VS&&(h[0]=1));break}if(h[p]+=s,h[p]!=VS)break;h[p--]=0,s=1}for(o=h.length;0===h[--o];)h.pop()}return PS&&(e.e>d.maxE?(e.d=null,e.e=NaN):e.e<d.minE&&(e.e=0,e.d=[0])),e}function iC(e,t,n){if(!e.isFinite())return mC(e);var r,i=e.e,o=QS(e.d),a=o.length;return t?(n&&(r=n-a)>0?o=o.charAt(0)+"."+o.slice(1)+cC(r):a>1&&(o=o.charAt(0)+"."+o.slice(1)),o=o+(e.e<0?"e":"e+")+e.e):i<0?(o="0."+cC(-i-1)+o,n&&(r=n-a)>0&&(o+=cC(r))):i>=a?(o+=cC(i+1-a),n&&(r=n-i-1)>0&&(o=o+"."+cC(r))):((r=i+1)<a&&(o=o.slice(0,r)+"."+o.slice(r)),n&&(r=n-a)>0&&(i+1===a&&(o+="."),o+=cC(r))),o}function oC(e,t){var n=e[0];for(t*=KS;n>=10;n/=10)t++;return t}function aC(e,t,n){if(t>qS)throw PS=!0,n&&(e.precision=n),Error(HS);return rC(new e(IS),t,1,!0)}function sC(e,t,n){if(t>XS)throw Error(HS);return rC(new e(kS),t,n,!0)}function lC(e){var t=e.length-1,n=t*KS+1;if(t=e[t]){for(;t%10==0;t/=10)n--;for(t=e[0];t>=10;t/=10)n++}return n}function cC(e){for(var t="";e--;)t+="0";return t}function uC(e,t,n,r){var i,o=new e(1),a=Math.ceil(r/KS+4);for(PS=!1;;){if(n%2&&TC((o=o.times(t)).d,a)&&(i=!0),0===(n=jS(n/2))){n=o.d.length-1,i&&0===o.d[n]&&++o.d[n];break}TC((t=t.times(t)).d,a)}return PS=!0,o}function hC(e){return 1&e.d[e.d.length-1]}function pC(e,t,n){for(var r,i=new e(t[0]),o=0;++o<t.length;){if(!(r=new e(t[o])).s){i=r;break}i[n](r)&&(i=r)}return i}function dC(e,t){var n,r,i,o,a,s,l,c=0,u=0,h=0,p=e.constructor,d=p.rounding,f=p.precision;if(!e.d||!e.d[0]||e.e>17)return new p(e.d?e.d[0]?e.s<0?0:1/0:1:e.s?e.s<0?0:e:NaN);for(null==t?(PS=!1,l=f):l=t,s=new p(.03125);e.e>-2;)e=e.times(s),h+=5;for(l+=r=Math.log(GS(2,h))/Math.LN10*2+5|0,n=o=a=new p(1),p.precision=l;;){if(o=rC(o.times(e),l,1),n=n.times(++u),QS((s=a.plus(nC(o,n,l,1))).d).slice(0,l)===QS(a.d).slice(0,l)){for(i=h;i--;)a=rC(a.times(a),l,1);if(null!=t)return p.precision=f,a;if(!(c<3&&eC(a.d,l-r,d,c)))return rC(a,p.precision=f,d,PS=!0);p.precision=l+=10,n=o=s=new p(1),u=0,c++}a=s}}function fC(e,t){var n,r,i,o,a,s,l,c,u,h,p,d=1,f=e,m=f.d,g=f.constructor,y=g.rounding,v=g.precision;if(f.s<0||!m||!m[0]||!f.e&&1==m[0]&&1==m.length)return new g(m&&!m[0]?-1/0:1!=f.s?NaN:m?0:f);if(null==t?(PS=!1,u=v):u=t,g.precision=u+=10,r=(n=QS(m)).charAt(0),!(Math.abs(o=f.e)<15e14))return c=aC(g,u+2,v).times(o+""),f=fC(new g(r+"."+n.slice(1)),u-10).plus(c),g.precision=v,null==t?rC(f,v,y,PS=!0):f;for(;r<7&&1!=r||1==r&&n.charAt(1)>3;)r=(n=QS((f=f.times(e)).d)).charAt(0),d++;for(o=f.e,r>1?(f=new g("0."+n),o++):f=new g(r+"."+n.slice(1)),h=f,l=a=f=nC(f.minus(1),f.plus(1),u,1),p=rC(f.times(f),u,1),i=3;;){if(a=rC(a.times(p),u,1),QS((c=l.plus(nC(a,new g(i),u,1))).d).slice(0,u)===QS(l.d).slice(0,u)){if(l=l.times(2),0!==o&&(l=l.plus(aC(g,u+2,v).times(o+""))),l=nC(l,new g(d),u,1),null!=t)return g.precision=v,l;if(!eC(l.d,u-10,y,s))return rC(l,g.precision=v,y,PS=!0);g.precision=u+=10,c=a=f=nC(h.minus(1),h.plus(1),u,1),p=rC(f.times(f),u,1),i=s=1}l=c,i+=2}}function mC(e){return String(e.s*e.s/0)}function gC(e,t){var n,r,i;for((n=t.indexOf("."))>-1&&(t=t.replace(".","")),(r=t.search(/e/i))>0?(n<0&&(n=r),n+=+t.slice(r+1),t=t.substring(0,r)):n<0&&(n=t.length),r=0;48===t.charCodeAt(r);r++);for(i=t.length;48===t.charCodeAt(i-1);--i);if(t=t.slice(r,i)){if(i-=r,e.e=n=n-r-1,e.d=[],r=(n+1)%KS,n<0&&(r+=KS),r<i){for(r&&e.d.push(+t.slice(0,r)),i-=KS;r<i;)e.d.push(+t.slice(r,r+=KS));t=t.slice(r),r=KS-t.length}else r-=i;for(;r--;)t+="0";e.d.push(+t),PS&&(e.e>e.constructor.maxE?(e.d=null,e.e=NaN):e.e<e.constructor.minE&&(e.e=0,e.d=[0]))}else e.e=0,e.d=[0];return e}function yC(e,t){var n,r,i,o,a,s,l,c,u;if(t.indexOf("_")>-1){if(t=t.replace(/(\d)_(?=\d)/g,"$1"),WS.test(t))return gC(e,t)}else if("Infinity"===t||"NaN"===t)return+t||(e.s=NaN),e.e=NaN,e.d=null,e;if(zS.test(t))n=16,t=t.toLowerCase();else if(YS.test(t))n=2;else{if(!$S.test(t))throw Error(FS+t);n=8}for((o=t.search(/p/i))>0?(l=+t.slice(o+1),t=t.substring(2,o)):t=t.slice(2),a=(o=t.indexOf("."))>=0,r=e.constructor,a&&(o=(s=(t=t.replace(".","")).length)-o,i=uC(r,new r(n),o,2*o)),o=u=(c=tC(t,n,VS)).length-1;0===c[o];--o)c.pop();return o<0?new r(0*e.s):(e.e=oC(c,u),e.d=c,PS=!1,a&&(e=nC(e,i,4*s)),l&&(e=e.times(Math.abs(l)<54?GS(2,l):uA.pow(2,l))),PS=!0,e)}function vC(e,t,n,r,i){var o,a,s,l,c=e.precision,u=Math.ceil(c/KS);for(PS=!1,l=n.times(n),s=new e(r);;){if(a=nC(s.times(l),new e(t++*t++),c,1),s=i?r.plus(a):r.minus(a),r=nC(a.times(l),new e(t++*t++),c,1),void 0!==(a=s.plus(r)).d[u]){for(o=u;a.d[o]===s.d[o]&&o--;);if(-1==o)break}o=s,s=r,r=a,a=o}return PS=!0,a.d.length=u+1,a}function _C(e,t){for(var n=e;--t;)n*=e;return n}function bC(e,t){var n,r=t.s<0,i=sC(e,e.precision,1),o=i.times(.5);if((t=t.abs()).lte(o))return xS=r?4:1,t;if((n=t.divToInt(i)).isZero())xS=r?3:2;else{if((t=t.minus(n.times(i))).lte(o))return xS=hC(n)?r?2:3:r?4:1,t;xS=hC(n)?r?1:4:r?3:2}return t.minus(i).abs()}function EC(e,t,n,r){var i,o,a,s,l,c,u,h,p,d=e.constructor,f=void 0!==n;if(f?(JS(n,1,OS),void 0===r?r=d.rounding:JS(r,0,8)):(n=d.precision,r=d.rounding),e.isFinite()){for(f?(i=2,16==t?n=4*n-3:8==t&&(n=3*n-2)):i=t,(a=(u=iC(e)).indexOf("."))>=0&&(u=u.replace(".",""),(p=new d(1)).e=u.length-a,p.d=tC(iC(p),10,i),p.e=p.d.length),o=l=(h=tC(u,10,i)).length;0==h[--l];)h.pop();if(h[0]){if(a<0?o--:((e=new d(e)).d=h,e.e=o,h=(e=nC(e,p,n,r,0,i)).d,o=e.e,c=TS),a=h[n],s=i/2,c=c||void 0!==h[n+1],c=r<4?(void 0!==a||c)&&(0===r||r===(e.s<0?3:2)):a>s||a===s&&(4===r||c||6===r&&1&h[n-1]||r===(e.s<0?8:7)),h.length=n,c)for(;++h[--n]>i-1;)h[n]=0,n||(++o,h.unshift(1));for(l=h.length;!h[l-1];--l);for(a=0,u="";a<l;a++)u+=NS.charAt(h[a]);if(f){if(l>1)if(16==t||8==t){for(a=16==t?4:3,--l;l%a;l++)u+="0";for(l=(h=tC(u,i,t)).length;!h[l-1];--l);for(a=1,u="1.";a<l;a++)u+=NS.charAt(h[a])}else u=u.charAt(0)+"."+u.slice(1);u=u+(o<0?"p":"p+")+o}else if(o<0){for(;++o;)u="0"+u;u="0."+u}else if(++o>l)for(o-=l;o--;)u+="0";else o<l&&(u=u.slice(0,o)+"."+u.slice(o))}else u=f?"0p+0":"0";u=(16==t?"0x":2==t?"0b":8==t?"0o":"")+u}else u=mC(e);return e.s<0?"-"+u:u}function TC(e,t){if(e.length>t)return e.length=t,!0}function xC(e){return new this(e).abs()}function SC(e){return new this(e).acos()}function CC(e){return new this(e).acosh()}function AC(e,t){return new this(e).plus(t)}function RC(e){return new this(e).asin()}function wC(e){return new this(e).asinh()}function LC(e){return new this(e).atan()}function OC(e){return new this(e).atanh()}function NC(e,t){e=new this(e),t=new this(t);var n,r=this.precision,i=this.rounding,o=r+4;return e.s&&t.s?e.d||t.d?!t.d||e.isZero()?(n=t.s<0?sC(this,r,i):new this(0)).s=e.s:!e.d||t.isZero()?(n=sC(this,o,1).times(.5)).s=e.s:t.s<0?(this.precision=o,this.rounding=1,n=this.atan(nC(e,t,o,1)),t=sC(this,o,1),this.precision=r,this.rounding=i,n=e.s<0?n.minus(t):n.plus(t)):n=this.atan(nC(e,t,o,1)):(n=sC(this,o,1).times(t.s>0?.25:.75)).s=e.s:n=new this(NaN),n}function IC(e){return new this(e).cbrt()}function kC(e){return rC(e=new this(e),e.e+1,2)}function DC(e,t,n){return new this(e).clamp(t,n)}function PC(e){if(!e||"object"!=typeof e)throw Error(MS+"Object expected");var t,n,r,i=!0===e.defaults,o=["precision",1,OS,"rounding",0,8,"toExpNeg",-LS,0,"toExpPos",0,LS,"maxE",0,LS,"minE",-LS,0,"modulo",0,9];for(t=0;t<o.length;t+=3)if(n=o[t],i&&(this[n]=DS[n]),void 0!==(r=e[n])){if(!(jS(r)===r&&r>=o[t+1]&&r<=o[t+2]))throw Error(FS+n+": "+r);this[n]=r}if(n="crypto",i&&(this[n]=DS[n]),void 0!==(r=e[n])){if(!0!==r&&!1!==r&&0!==r&&1!==r)throw Error(FS+n+": "+r);if(r){if("undefined"==typeof crypto||!crypto||!crypto.getRandomValues&&!crypto.randomBytes)throw Error(BS);this[n]=!0}else this[n]=!1}return this}function MC(e){return new this(e).cos()}function FC(e){return new this(e).cosh()}function HC(e,t){return new this(e).div(t)}function BC(e){return new this(e).exp()}function UC(e){return rC(e=new this(e),e.e+1,3)}function jC(){var e,t,n=new this(0);for(PS=!1,e=0;e<arguments.length;)if((t=new this(arguments[e++])).d)n.d&&(n=n.plus(t.times(t)));else{if(t.s)return PS=!0,new this(1/0);n=t}return PS=!0,n.sqrt()}function GC(e){return e instanceof uA||e&&e.toStringTag===US||!1}function YC(e){return new this(e).ln()}function zC(e,t){return new this(e).log(t)}function $C(e){return new this(e).log(2)}function WC(e){return new this(e).log(10)}function VC(){return pC(this,arguments,"lt")}function KC(){return pC(this,arguments,"gt")}function qC(e,t){return new this(e).mod(t)}function XC(e,t){return new this(e).mul(t)}function ZC(e,t){return new this(e).pow(t)}function QC(e){var t,n,r,i,o=0,a=new this(1),s=[];if(void 0===e?e=this.precision:JS(e,1,OS),r=Math.ceil(e/KS),this.crypto)if(crypto.getRandomValues)for(t=crypto.getRandomValues(new Uint32Array(r));o<r;)(i=t[o])>=429e7?t[o]=crypto.getRandomValues(new Uint32Array(1))[0]:s[o++]=i%1e7;else{if(!crypto.randomBytes)throw Error(BS);for(t=crypto.randomBytes(r*=4);o<r;)(i=t[o]+(t[o+1]<<8)+(t[o+2]<<16)+((127&t[o+3])<<24))>=214e7?crypto.randomBytes(4).copy(t,o):(s.push(i%1e7),o+=4);o=r/4}else for(;o<r;)s[o++]=1e7*Math.random()|0;for(r=s[--o],e%=KS,r&&e&&(i=GS(10,KS-e),s[o]=(r/i|0)*i);0===s[o];o--)s.pop();if(o<0)n=0,s=[0];else{for(n=-1;0===s[0];n-=KS)s.shift();for(r=1,i=s[0];i>=10;i/=10)r++;r<KS&&(n-=KS-r)}return a.e=n,a.d=s,a}function JC(e){return rC(e=new this(e),e.e+1,this.rounding)}function eA(e){return(e=new this(e)).d?e.d[0]?e.s:0*e.s:e.s||NaN}function tA(e){return new this(e).sin()}function nA(e){return new this(e).sinh()}function rA(e){return new this(e).sqrt()}function iA(e,t){return new this(e).sub(t)}function oA(){var e=0,t=arguments,n=new this(t[e]);for(PS=!1;n.s&&++e<t.length;)n=n.plus(t[e]);return PS=!0,rC(n,this.precision,this.rounding)}function aA(e){return new this(e).tan()}function sA(e){return new this(e).tanh()}function lA(e){return rC(e=new this(e),e.e+1,1)}ZS[Symbol.for("nodejs.util.inspect.custom")]=ZS.toString,ZS[Symbol.toStringTag]="Decimal";var cA,uA=ZS.constructor=function e(t){var n,r,i;function o(e){var t,n,r,i=this;if(!(i instanceof o))return new o(e);if(i.constructor=o,GC(e))return i.s=e.s,void(PS?!e.d||e.e>o.maxE?(i.e=NaN,i.d=null):e.e<o.minE?(i.e=0,i.d=[0]):(i.e=e.e,i.d=e.d.slice()):(i.e=e.e,i.d=e.d?e.d.slice():e.d));if("number"==(r=typeof e)){if(0===e)return i.s=1/e<0?-1:1,i.e=0,void(i.d=[0]);if(e<0?(e=-e,i.s=-1):i.s=1,e===~~e&&e<1e7){for(t=0,n=e;n>=10;n/=10)t++;return void(PS?t>o.maxE?(i.e=NaN,i.d=null):t<o.minE?(i.e=0,i.d=[0]):(i.e=t,i.d=[e]):(i.e=t,i.d=[e]))}return 0*e!=0?(e||(i.s=NaN),i.e=NaN,void(i.d=null)):gC(i,e.toString())}if("string"!==r)throw Error(FS+e);return 45===(n=e.charCodeAt(0))?(e=e.slice(1),i.s=-1):(43===n&&(e=e.slice(1)),i.s=1),WS.test(e)?gC(i,e):yC(i,e)}if(o.prototype=ZS,o.ROUND_UP=0,o.ROUND_DOWN=1,o.ROUND_CEIL=2,o.ROUND_FLOOR=3,o.ROUND_HALF_UP=4,o.ROUND_HALF_DOWN=5,o.ROUND_HALF_EVEN=6,o.ROUND_HALF_CEIL=7,o.ROUND_HALF_FLOOR=8,o.EUCLID=9,o.config=o.set=PC,o.clone=e,o.isDecimal=GC,o.abs=xC,o.acos=SC,o.acosh=CC,o.add=AC,o.asin=RC,o.asinh=wC,o.atan=LC,o.atanh=OC,o.atan2=NC,o.cbrt=IC,o.ceil=kC,o.clamp=DC,o.cos=MC,o.cosh=FC,o.div=HC,o.exp=BC,o.floor=UC,o.hypot=jC,o.ln=YC,o.log=zC,o.log10=WC,o.log2=$C,o.max=VC,o.min=KC,o.mod=qC,o.mul=XC,o.pow=ZC,o.random=QC,o.round=JC,o.sign=eA,o.sin=tA,o.sinh=nA,o.sqrt=rA,o.sub=iA,o.sum=oA,o.tan=aA,o.tanh=sA,o.trunc=lA,void 0===t&&(t={}),t&&!0!==t.defaults)for(i=["precision","rounding","toExpNeg","toExpPos","maxE","minE","modulo","crypto"],n=0;n<i.length;)t.hasOwnProperty(r=i[n++])||(t[r]=this[r]);return o.config(t),o}(DS);IS=new uA(IS),kS=new uA(kS);var hA,pA=function(e){return"number"==typeof e?Number.isNaN(e):!e||"string"!=typeof e||Number.isNaN(Number(e))},dA=function(e,t,n){return void 0===n&&(n=!1),(null==e?void 0:e.length)?e.reduce((function(e,r){var i=vu(r,t),o=pA(i);if(n&&o)return e;var a=o?0:i;return e.push(new uA(a)),e}),[]):[]},fA=function(e,t){var n=dA(e,t);return n.length?uA.sum.apply(uA,ha([],ua(n),!1)).toNumber():0},mA=function(e,t,n){var r=dA(t,n,!0);if(null==r?void 0:r.length)return uA[e].apply(uA,ha([],ua(r),!1)).toNumber()},gA=((cA={})[ZE.SUM]=fA,cA[ZE.MIN]=function(e,t){return mA("min",e,t)},cA[ZE.MAX]=function(e,t){return mA("max",e,t)},cA[ZE.AVG]=function(e,t){var n=dA(e,t);return(null==n?void 0:n.length)?uA.sum.apply(uA,ha([],ua(n),!1)).dividedBy(n.length).toNumber():0},cA),yA=function(e){return sa({operator:{onClick:Ps,menus:[]},enterable:!0,enableFormat:!0},e)},vA=function(e){return sa(sa({},null==e?void 0:e.colQuery),null==e?void 0:e.rowQuery)},_A=function(e,t){var n;if(e){var r=t.style,i=t.className,o=void 0===i?[]:i,a=t.visible;if(r&&Object.assign(e.style,r),o.length){var s=o.filter(Boolean);(n=e.classList).add.apply(n,ha([],ua(s),!1))}e.classList.toggle(mE,a),e.classList.toggle(gE,!a)}},bA=function(e,t){var n,r=null===(n=null==e?void 0:e.dataSet)||void 0===n?void 0:n.getFieldFormatter(t);return function(e,t){return i=Xg(n=r(e,t))&&Number.isNaN(n),o=""===n,Jg(n)||i||o?"-":n;var n,i,o}},EA=function(e,t){var n,r=t.data,i=t.field,o=t.valueField,a=t.useCompleteDataForFormatter,s=void 0===a||a,l=null===(n=null==e?void 0:e.dataSet)||void 0===n?void 0:n.getFieldName(i),c=bA(e,i),u=Ga(r[i])?JSON.stringify(r[i]):r[i];return{name:l,value:c(o||u,s?r:void 0)}},TA=function(e,t,n){return Wm(Dm(Td([],t),(function(e){return e!==no&&n[e]})),(function(t){return EA(e,{data:n,field:t,useCompleteDataForFormatter:!1})}))},xA=function(e,t,n){void 0===n&&(n=!0);var r=[];return dm(t,(function(t,i){dm(e,(function(e){n||-1===e.colIndex?n&&-1!==e.rowIndex&&r.push([e.rowIndex,i]):r.push([i,e.colIndex])}))})),r},SA=function(e){var t=e.spreadsheet,n=e.targetCell,r=e.options,i=void 0===r?{}:r,o=[],a={};return t.isTableMode()&&(null==i?void 0:i.showSingleTips)?[{selectedData:t.dataSet.getMultiData({}),name:"",value:""}]:(dm(function(e,t,n){var r,i=null===(r=e.facet)||void 0===r?void 0:r.layoutResult,o=function(e){var n=null==t?void 0:t.getMeta(),r=null==n?void 0:n.isTotals,o=(null==t?void 0:t.cellType)===Uo.COL_CELL,a=(null==t?void 0:t.cellType)===Uo.ROW_CELL;if(!o&&!a)return!1;var s=i.colNodes.find((function(t){return t.colIndex===e.colIndex})),l=i.rowNodes.find((function(t){return t.rowIndex===e.rowIndex})),c=o?null==l?void 0:l.isTotals:null==s?void 0:s.isTotals;return!r&&(null==e?void 0:e.isTotals)||r&&c};if(n){var a=function(e,t){var n,r=t.rowLeafNodes,i=t.colLeafNodes,o=e.interaction.getState(),a=o.nodes,s=void 0===a?[]:a,l=o.cells,c=void 0===l?[]:l,u=null===(n=null==c?void 0:c[0])||void 0===n?void 0:n.type;return u===Uo.COL_CELL?xA(s,r,!1):u===Uo.ROW_CELL?xA(s,i):[]}(e,i);return Ed(Wm(a,(function(e){var t=ua(e,2),n=t[0],r=t[1],a=i.getCellMeta(n,r);if(!o(a))return(null==a?void 0:a.data)||vA(a)})))}return e.interaction.getCells().filter((function(e){var t=i.getCellMeta(e.rowIndex,e.colIndex);return!o(t)})).map((function(e){var t=i.getCellMeta(e.rowIndex,e.colIndex);return(null==t?void 0:t.data)||vA(t)}))}(t,n,i.showSingleTips),(function(e){var t;a[null==e?void 0:e[no]]?null===(t=a[null==e?void 0:e[no]])||void 0===t||t.push(e):a[null==e?void 0:e[no]]=[e]})),dy(a,(function(e,n){var r,s=function(e,t,n){var r;if(n)return pE("总计");var i=null===(r=null==e?void 0:e.dataSet)||void 0===r?void 0:r.getFieldName(t);return i&&"undefined"!==i?i:""}(t,n,null==i?void 0:i.isTotals),l="",c="";if(Nm(e,(function(e){return pA(vu(e,to))}))){var u=t.options.placeholder,h=FT(a,u);l=h,c=h}else{var p=bA(t,n),d=fA(e,to);c=d,l=null!==(r=null==p?void 0:p(d,e))&&void 0!==r?r:parseFloat(d.toPrecision(16))}o.push({selectedData:e,name:s,value:l,originValue:c})})),o)},CA=function(e){var t=e.spreadsheet,n=e.cellInfos,r=void 0===n?[]:n,i=e.options,o=void 0===i?{}:i,a=e.targetCell,s=null,l=null,c=null,u=function(e){if(e){var t=e.getMeta();if(!t.isTotals){var n=Hm(t.spreadsheet.dataCfg.meta,{field:t.field||t.value||t.valueField}),r=null==n?void 0:n.field;return t.spreadsheet.dataSet.getFieldDescription(r)}}}(a),h=r[0]||{};if(null==o?void 0:o.hideSummary)if(o.showSingleTips){var p=bA(t,h.valueField)(h.value),d=o.enableFormat?t.dataSet.getFieldName(h.value)||p:t.dataSet.getFieldName(h.valueField);h.name=d||""}else l=function(e,t,n){var r,i,o,a,s=(n||{}).isTotals,l=[],c=[];if(t){var u=null===(i=null===(r=null==e?void 0:e.dataSet)||void 0===r?void 0:r.fields)||void 0===i?void 0:i.columns,h=null===(a=null===(o=null==e?void 0:e.dataSet)||void 0===o?void 0:o.fields)||void 0===a?void 0:a.rows;l=TA(e,YE(u||[]),t),c=TA(e,h,t)}return $g(l)&&$g(c)&&s&&(l=[{value:pE("总计")}]),{cols:l,rows:c}}(t,h,o),c=function(e,t,n){if(t){var r=n.isTotals,i=t[no],o=t[i],a=[];if(r)a.push(EA(e,{data:t,field:i,valueField:vu(t,to)}));else if(function(e){return Ga(e)&&"values"in e}(o)&&e.getTooltipDataItemMappingCallback()){var s=yx(t,e.getTooltipDataItemMappingCallback());dm(s,(function(t,n){a.push(EA(e,{data:s,field:n}))}))}else a.push(EA(e,{data:t,field:i}));return a}}(t,h,o);else s=SA({spreadsheet:t,options:o,targetCell:a});var f=h||{};return{summaries:s,interpretation:f.interpretation,infos:f.infos,tips:f.tips,name:f.name,headInfo:l,details:c,description:u}},AA=function(e){if(!e.interaction.isSelectedState())return[];var t=e.dataCfg.fields.valueInCols;return e.interaction.getCells().reduce((function(n,r){var i=e.facet.layoutResult.getCellMeta(null==r?void 0:r.rowIndex,null==r?void 0:r.colIndex),o=vA(i);if($g(i)||$g(o))return[];var a=sa(sa({},o),{colIndex:t?i.colIndex:null,rowIndex:t?null:i.rowIndex});return n.find((function(e){return Wg(a,e)}))||n.push(a),n}),[])},RA=function(e,t){var n;if(t&&e){var r=null===(n=e.getCellType)||void 0===n?void 0:n.call(e,null==t?void 0:t.target);return function(e,t){void 0===e&&(e={});var n=function(t){return AS(e,t)},r=e.col,i=e.row,o=e.data,a=e.corner;return t===Uo.COL_CELL?n(r):t===Uo.ROW_CELL?n(i):t===Uo.DATA_CELL?n(o):t===Uo.CORNER_CELL?n(a):sa({},e)}(e.options.tooltip,r)}},wA=function(e,t){var n=t.defaultMenus,r=void 0===n?[]:n,i=t.cell,o=function(e){return void 0===e&&(e=[]),e.filter((function(e){var t;return is(e.visible)?e.visible(i):null===(t=e.visible)||void 0===t||t})).map((function(e){return e.children&&(e.children=o(e.children)),e}))},a=o(e.menus);return{onClick:e.onClick,menus:Ed(ha(ha([],ua(r),!1),ua(a),!1))}},LA=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return"".concat(Io,"-").concat(e.join("-"))},OA=function(){function e(e){var t=this;this.getFieldMeta=lu((function(e,n){return Hm(t.meta||n,(function(t){return t.field===e}))})),this.spreadsheet=e}return e.prototype.getFieldName=function(e){return vu(this.getFieldMeta(e,this.meta),"name",e)},e.prototype.getFieldFormatter=function(e){return vu(this.getFieldMeta(e,this.meta),"formatter",Ja)},e.prototype.getFieldDescription=function(e){return vu(this.getFieldMeta(e,this.meta),"description")},e.prototype.setDataCfg=function(e){this.getFieldMeta.cache.clear();var t=this.processDataCfg(e),n=t.fields,r=t.meta,i=t.data,o=t.totalData,a=t.sortParams,s=t.filterParams;this.fields=n,this.meta=r,this.originData=i,this.totalData=o,this.sortParams=a,this.filterParams=s,this.displayData=this.originData,this.indexesData=[]},e.prototype.processMeta=function(e,t){var n,r;return void 0===e&&(e=[]),ha(ha([],ua(e),!1),[zx(e,null===(r=null===(n=this.spreadsheet)||void 0===n?void 0:n.options)||void 0===r?void 0:r.cornerExtraFieldText,t)],!1)},e.prototype.getDisplayDataSet=function(){return this.displayData},e.prototype.getValueRangeByField=function(e){var t,n,r,i=(n=this.spreadsheet,r=e,n.store.get(ko,Do)[r]);if(i)return i;var o=Ed(Wm(this.originData,(function(t){var n=t[e];return Jg(n)?null:Number.parseFloat(n)}))),a={maxValue:gy(o),minValue:Ay(o)};return function(e,t){var n=e.store.get(ko,Do);e.store.set(ko,sa(sa({},n),t))}(this.spreadsheet,((t={})[e]=a,t)),a},e.prototype.moreThanOneValue=function(){var e,t;return(null===(t=null===(e=this.fields)||void 0===e?void 0:e.values)||void 0===t?void 0:t.length)>1},e}(),NA=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.handleDimensionValuesSort=function(){dm(t.sortParams,(function(e){var n=e.sortFieldId,r=e.sortByMeasure;if(n){var i=ha([],ua(t.sortedDimensionValues[n]||[]),!1),o=function(e){var t,n=e.dataSet,r=e.sortParam,i=e.originValues;return t=e.isSortByMeasure?function(e){var t=e.dataSet,n=e.sortParam,r=e.originValues,i=t.fields,o=n.sortByMeasure,a=n.query,s=n.sortFieldId,l=t.getMultiData(a),c=YE(i.columns);if(o!==io){var u=Td(i.rows,c);return l.filter((function(e){var t=new Set(Fc(e));return u.every((function(e){return t.has(e)}))}))}var h=gg(i.rows,s),p=Qx(h?i.rows:c),d=Qx(h?c:i.rows),f=p[p.indexOf(s)+1],m=Fc(a),g=d.filter((function(e){return!m.includes(e)})),y=l.filter((function(e){var t=new Set(Fc(e));return!!t.has(s)&&!t.has(f)&&g.every((function(e){return!t.has(e)}))}));return $g(y)?Ed(Wm(r,(function(e){var n=function(e,t,n){var r,i={};if(gg(e,So))for(var o=E_(e,So),a=(null===(r=null==t?void 0:t.rows)||void 0===r?void 0:r.includes(n))?t.rows:YE(t.columns),s=0;s<=vg(a,n);s++)i[a[s]]=o[s];else i[n]=e;return i}(e,i,s);return t.getTotalValue(sa(sa({},a),n))}))):y}(e):i,Zx({sortParam:r,originValues:i,measureValues:t,dataSet:n})}({dataSet:t,sortParam:e,originValues:i,isSortByMeasure:!$g(r)});t.sortedDimensionValues[n]=o}}))},t.getCustomData=function(e){for(var n,r=!1,i=t.indexesData,o=function(t){var o=e[t];r?i=ny(o)?sT(i):null===(n=fg(i))||void 0===n?void 0:n.map((function(e){return e&&vu(e,o)})):ny(o)?r=!0:i=null==i?void 0:i[o]},a=0;a<e.length;a++)o(a);return i},t.getTotalStatus=function(e){var n=t.fields,r=n.columns,i=n.rows,o=function(t,n){if(n){var r=Hm(t,(function(t){return!sg(e,t)}));return r&&r!==zm(t)}return Nm(t,(function(t){return!sg(e,t)}))},a=function(e,t){return t?e.filter((function(e){return e!==no})):e};return{isRowTotal:o(a(i,!t.spreadsheet.isValueInCols())),isRowSubTotal:o(i,!0),isColTotal:o(a(r,t.spreadsheet.isValueInCols())),isColSubTotal:o(r,!0)}},t}return aa(t,e),t.prototype.setDataCfg=function(t){var n=this;e.prototype.setDataCfg.call(this,t),this.sortedDimensionValues={},this.rowPivotMeta=new Map,this.colPivotMeta=new Map,this.totalData=[].concat(uT(t.data,t.fields)).concat(this.totalData),$E.getInstance().debugCallback("Transform Data",(function(){var e=n.fields,t=Gx({rows:e.rows,columns:e.columns,originData:n.originData,totalData:n.totalData,indexesData:n.indexesData,sortedDimensionValues:n.sortedDimensionValues,rowPivotMeta:n.rowPivotMeta,colPivotMeta:n.colPivotMeta}).indexesData;n.indexesData=t})),this.handleDimensionValuesSort()},t.prototype.transformDrillDownData=function(e,t,n){var r,i=this,o=this.fields,a=o.columns,s=o.values,l=ha(ha([],ua(EE.getFieldPath(n,!0)),!1),[e],!1),c=this.spreadsheet.store,u=this.standardTransform(t,s),h=uT(u,{columns:this.fields.columns,rows:l}),p=im(u,h),d=null==n?void 0:n.id,f=null!==(r=c.get("drillDownIdPathMap"))&&void 0!==r?r:new Map;f.has(d)&&(dm(f.get(d),(function(e){pb(i.indexesData,e)})),Yx(this.rowPivotMeta,d));var m=Gx({rows:l,columns:a,originData:p,totalData:h,indexesData:this.indexesData,sortedDimensionValues:this.sortedDimensionValues,rowPivotMeta:this.rowPivotMeta,colPivotMeta:this.colPivotMeta}),g=m.paths,y=m.indexesData,v=m.rowPivotMeta,_=m.colPivotMeta,b=m.sortedDimensionValues;this.indexesData=y,this.rowPivotMeta=v,this.colPivotMeta=_,this.sortedDimensionValues=b,f.set(d,g),c.set("drillDownIdPathMap",f)},t.prototype.clearDrillDownData=function(e){var t=this,n=this.spreadsheet.store,r=n.get("drillDownIdPathMap");if(r){var i=n.get("drillDownDataCache",[]);if(e){var o=r.get(e);o&&dm(o,(function(e){pb(t.indexesData,e)})),Yx(this.rowPivotMeta,e),r.delete(e);var a=Dm(i,(function(e){return r.has(null==e?void 0:e.rowId)}));n.set("drillDownDataCache",a);var s=a.map((function(e){return null==e?void 0:e.drillLevel})),l=n.get("drillDownFieldInLevel",[]).filter((function(e){return gg(s,null==e?void 0:e.drillLevel)}));n.set("drillDownFieldInLevel",l)}else{r.clear();var c=this.spreadsheet.store.get("originalDataCfg");$g(c)||this.spreadsheet.setDataCfg(c),this.spreadsheet.store.set("drillItemsNum",-1),this.spreadsheet.store.set("drillDownDataCache",[]),this.spreadsheet.store.set("drillDownFieldInLevel",[])}n.set("drillDownIdPathMap",r)}},t.prototype.standardTransform=function(e,t){if($g(t))return e;var n=[];return dm(t,(function(t){dm(e,(function(e){var r;sg(e,t)&&n.push(sa(sa({},e),((r={})[no]=t,r[to]=e[t],r)))}))})),n},t.prototype.processDataCfg=function(e){var t=e.data,n=e.meta,r=void 0===n?[]:n,i=e.fields,o=e.sortParams,a=void 0===o?[]:o,s=e.totalData,l=i.columns,c=i.rows,u=i.values,h=i.valueInCols,p=i.customValueOrder,d=l,f=c;h?d=this.isCustomMeasuresPosition(p)?this.handleCustomMeasuresOrder(p,d):ub(ha(ha([],ua(l),!1),[no],!1)):f=this.isCustomMeasuresPosition(p)?this.handleCustomMeasuresOrder(p,f):ub(ha(ha([],ua(c),!1),[no],!1));var m=this.processMeta(r,pE("数值")),g=this.standardTransform(t,u),y=this.standardTransform(s,u);return{data:g,meta:m,fields:sa(sa({},i),{rows:f,columns:d,values:u}),totalData:y,sortParams:a}},t.prototype.getDimensionValues=function(e,t){var n,r,i,o,a=this.fields||{},s=a.rows,l=void 0===s?[]:s,c=a.columns,u=void 0===c?[]:c,h=new Map,p=[];if(gg(l,e)?(h=this.rowPivotMeta,p=l):gg(u,e)&&(h=this.colPivotMeta,p=u),!$g(t)){var d=[],f=[],m=function(e){var n=vu(t,e);f.push("".concat(n));var r=f.join("".concat(So));if(h.has(n)&&!ny(n)){var a=null===(i=h.get(n))||void 0===i?void 0:i.childField;if(h=h.get(n).children,Hm(g.sortParams,(function(e){return e.sortFieldId===a}))&&g.sortedDimensionValues[a]){var s=null===(o=g.sortedDimensionValues[a])||void 0===o?void 0:o.filter((function(e){return null==e?void 0:e.startsWith(r)}));d=Bx(ha([],ua(s),!1))}else d=ha([],ua(h.keys()),!1)}},g=this;try{for(var y=ca(p),v=y.next();!v.done;v=y.next())m(v.value)}catch(e){n={error:e}}finally{try{v&&!v.done&&(r=y.return)&&r.call(y)}finally{if(n)throw n.error}}return $g(d)?[]:oT(iT(ha([],ua(h.keys()),!1),d))}return this.sortedDimensionValues[e]?oT(Bx(ha([],ua(this.sortedDimensionValues[e]),!1))):oT(ha([],ua(h.keys()),!1))},t.prototype.getTotalValue=function(e){var t,n,r=function(e,t){var n=e.isRowTotal,r=e.isRowSubTotal,i=e.isColTotal,o=e.isColSubTotal,a=t||{},s=a.row,l=a.col,c=s||{},u=c.calcTotals,h=void 0===u?{}:u,p=c.calcSubTotals,d=void 0===p?{}:p,f=l||{},m=f.calcTotals,g=void 0===m?{}:m,y=f.calcSubTotals,v=void 0===y?{}:y,_=function(e,t){if((e.aggregation||e.calcFunc)&&t)return{aggregation:e.aggregation,calcFunc:e.calcFunc}};return _(g,i)||_(v,o)||_(h,n)||_(d,r)}(this.getTotalStatus(e),null===(n=this.spreadsheet.options)||void 0===n?void 0:n.totals)||{},i=r.aggregation,o=r.calcFunc,a=gA[i];if(a||o){var s=this.getMultiData(e),l=void 0;return o?l=o(e,s):a&&(l=a(s,to)),sa(sa({},e),((t={})[to]=l,t[e[no]]=l,t))}},t.prototype.getCellData=function(e){var t,n,r,i=e||{},o=i.query,a=i.rowNode,s=i.isTotals,l=void 0!==s&&s,c=this.fields,u=c.columns,h=c.rows,p=h,d=null===(t=this.spreadsheet)||void 0===t?void 0:t.store.get("drillDownIdPathMap"),f=Array.from(null!==(n=null==d?void 0:d.keys())&&void 0!==n?n:[]).some((function(e){return a.id.startsWith(e)}));l&&!f||(p=null!==(r=EE.getFieldPath(a,f))&&void 0!==r?r:h);var m=Ux({rowDimensionValues:jx(p,o),colDimensionValues:jx(u,o),careUndefined:l||cT([].concat(h).concat(u),o),rowPivotMeta:this.rowPivotMeta,colPivotMeta:this.colPivotMeta}),g=vu(this.indexesData,m);return g||(l?this.getTotalValue(o):g)},t.prototype.getMultiData=function(e,t,n,r){var i;if($g(e))return Ed(aT(this.indexesData));var o=this.fields,a=o.rows,s=o.columns,l=o.values,c=jx($g(r)?a:a.concat(r),e),u=jx(s,e),h=Ux({rowDimensionValues:c,colDimensionValues:u,careUndefined:!0,isFirstCreate:!0,rowFields:a,colFields:s,rowPivotMeta:this.rowPivotMeta,colPivotMeta:this.colPivotMeta}),p=this.getCustomData(h),d=Ed(sT(p));if(t){var f=[],m=lT(c,a),g=lT(u,s);if(n)f=m;else if(1===(null===(i=Fc(e))||void 0===i?void 0:i.length)&&sg(e,no))f=g;else{var y=function(e){return null==(t=null==e?void 0:e.filter((function(e){return!(null==l?void 0:l.includes(e))})))?void 0:t.every((function(e){return ny(e)}));var t},v=y(u),_=y(c);f=v?m:_?g:ha(ha([],ua(m),!1),ua(g),!1)}d=d.filter((function(e){return!(null==f?void 0:f.find((function(t){var n;return t!==no&&(null===(n=Fc(e))||void 0===n?void 0:n.includes(t))})))}))}return d||[]},t.prototype.getFieldFormatter=function(t,n){return t===io?this.getFieldFormatterForTotalValue(n):e.prototype.getFieldFormatter.call(this,t)},t.prototype.getFieldFormatterForTotalValue=function(t){var n;return!this.spreadsheet.isValueInCols()&&t&&(n=vu(t.rowQuery,no)),n=null!=n?n:vu(this.fields.values,0),e.prototype.getFieldFormatter.call(this,n)},t.prototype.handleCustomMeasuresOrder=function(e,t){var n=ub(ha([],ua(t),!1));return t.length>=e?(n.splice(e,0,no),n):ha(ha([],ua(n),!1),[no],!1)},t.prototype.isCustomMeasuresPosition=function(e){return Xg(e)},t.prototype.getRowData=function(e){return this.getMultiData(e.rowQuery)},t}(OA),IA=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.handleDimensionValueFilter=function(){dm(t.filterParams,(function(e){var n=e.filterKey,r=e.filteredValues,i=e.customFilter,o=function(e){return!gg(r,e[n])};t.displayData=ha(ha(ha([],ua(t.getStartRows()),!1),ua(Dm(t.getMovableRows(),(function(e){return i?i(e)&&o(e):o(e)}))),!1),ua(t.getEndRows()),!1)}))},t.handleDimensionValuesSort=function(){dm(t.sortParams,(function(e){var n=e.sortFieldId,r=e.sortBy,i=e.sortFunc,o=e.sortMethod,a=e.query;if(n){var s=t.getMovableRows(),l=[];if(a){var c=[];s.forEach((function(e){for(var t=Object.keys(a),n=!0,r=0;r<t.length;r++){var i=t[r];if(e[i]!==a[i]){n=!1,l.push(e);break}}n&&c.push(e)})),s=c}var u=s;if(i)u=i(sa(sa({},e),{data:s}));else if(r&&!is(r)){var h=ha([],ua(r),!1).reverse();u=s.sort((function(e,t){var r=h.indexOf(e[n]);return h.indexOf(t[n])-r}))}else($x(o)||Wx(o))&&(u=Gy(s,[(is(r)?r:null)||n],[o.toLocaleLowerCase()]));l.length&&(u=ha(ha([],ua(u),!1),ua(l),!1)),t.displayData=ha(ha(ha([],ua(t.getStartRows()),!1),ua(u),!1),ua(t.getEndRows()),!1)}}))},t}return aa(t,e),t.prototype.processDataCfg=function(e){return e},t.prototype.setDataCfg=function(t){e.prototype.setDataCfg.call(this,t),this.handleDimensionValueFilter(),this.handleDimensionValuesSort()},t.prototype.getStartRows=function(){var e=(this.spreadsheet.options||{}).frozenRowCount;return e?this.displayData.slice(0,e):[]},t.prototype.getEndRows=function(){var e=(this.spreadsheet.options||{}).frozenTrailingRowCount;return e?this.displayData.slice(-e):[]},t.prototype.getMovableRows=function(){var e=this.displayData,t=this.spreadsheet.options||{},n=t.frozenTrailingRowCount,r=t.frozenRowCount;return e.slice(r||0,-n||void 0)},t.prototype.getDimensionValues=function(e,t){return[]},t.prototype.getCellData=function(e){var t=e.query;if(0!==this.displayData.length||0!==t.rowIndex){var n=this.displayData[t.rowIndex];return"col"in t&&Ga(n)?n[t.col]:n}},t.prototype.getMultiData=function(e,t){return this.displayData},t.prototype.getRowData=function(e){return this.getCellData({query:{rowIndex:e.rowIndex}})},t}(OA),kA=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return aa(t,e),t.prototype.getCellData=function(e){var t=e.query,n=this.fields,r=n.columns,i=n.rows,o=Ux({rowDimensionValues:jx(i,t),colDimensionValues:jx(r,t),rowPivotMeta:this.rowPivotMeta,colPivotMeta:this.colPivotMeta,isFirstCreate:!0,careUndefined:!0,rowFields:i,colFields:r});return vu(this.indexesData,o)},t.prototype.setDataCfg=function(t){e.prototype.setDataCfg.call(this,t),this.sortedDimensionValues={},this.rowPivotMeta=new Map,this.colPivotMeta=new Map;var n=this.fields,r=Gx({rows:n.rows,columns:n.columns,originData:this.originData,totalData:[],indexesData:this.indexesData,sortedDimensionValues:this.sortedDimensionValues,rowPivotMeta:this.rowPivotMeta,colPivotMeta:this.colPivotMeta}).indexesData;this.indexesData=r,this.handleDimensionValuesSort()},t.prototype.processDataCfg=function(e){e.fields.valueInCols=!1;var t=e.data,n=e.meta,r=la(e,["data","meta"]),i=e.fields.values,o=[];dm(t,(function(e){$g(Tg(Fc(e),i))?o.push(e):dm(i,(function(t){var n;sg(e,t)&&o.push(sa(sa({},e),((n={})[no]=t,n[to]=e[t],n)))}))}));var a=this.processMeta(n,pE("指标"));return sa(sa({},r),{meta:a,data:ub(o),fields:sa(sa({},e.fields),{rows:[no]})})},t}(NA);!function(e){e.ScrollChange="scroll-change",e.ScrollEnd="scroll-end"}(hA||(hA={}));var DA=function(e){function t(t){var n=e.call(this,t)||this;n.isMobile=!1,n.eventHandlers=[],n.scrollFrameId=null,n.getCoordinatesName=function(){return{from:n.isHorizontal?"x1":"y1",to:n.isHorizontal?"x2":"y2"}},n.getCoordinatesWithBBoxExtraPadding=function(){var e=n.theme.size,t=n.isHorizontal?0:e/2,r=n.isHorizontal?e:e/2;return{start:n.thumbOffset+t,end:n.thumbOffset+n.thumbLen-r}},n.current=function(){var e=n.thumbLen/n.trackLen;return n.thumbOffset/n.trackLen/(1-e)},n.updateThumbLen=function(e){if(n.thumbLen!==e){n.thumbLen=e;var t=n.getCoordinatesName();n.thumbShape.attr(t.to,n.thumbOffset+e),n.emitScrollChange(n.thumbOffset/(n.trackLen-n.thumbLen)*n.scrollTargetMaxOffset,!1)}},n.updateThumbOffset=function(e,t){var r;void 0===t&&(t=!0);var i=n.validateRange(e);if(n.thumbOffset!==i||0===i){n.thumbOffset=i;var o=n.getCoordinatesName(),a=o.from,s=o.to,l=n.getCoordinatesWithBBoxExtraPadding(),c=l.start,u=l.end;n.thumbShape.attr(((r={})[a]=c,r[s]=u,r)),t&&n.emitScrollChange(i/(n.trackLen-n.thumbLen)*n.scrollTargetMaxOffset,!1)}},n.onlyUpdateThumbOffset=function(e){var t;n.updateThumbOffset(e,!1),null===(t=n.get("canvas"))||void 0===t||t.draw()},n.emitScrollChange=function(e,t){void 0===t&&(t=!0),cancelAnimationFrame(n.scrollFrameId),n.scrollFrameId=requestAnimationFrame((function(){n.emit(hA.ScrollChange,{offset:e,updateThumbOffset:t})}))},n.addEventListener=function(e,t,n){return null==e||e.addEventListener(t,n,!1),{remove:function(){null==e||e.removeEventListener(t,n,!1)}}},n.addEvent=function(e,t,r){e.on(t,r),n.eventHandlers.push({target:e,type:t,handler:r})},n.initScrollBar=function(){n.scrollBarGroup=n.createScrollBarGroup(),n.scrollBarGroup.move(n.position.x,n.position.y),n.bindEvents()},n.createScrollBarGroup=function(){var e=n.addGroup({className:n.isHorizontal?"horizontalBar":"verticalBar"});return n.trackShape=n.createTrackShape(e),n.thumbShape=n.createThumbShape(e),e},n.createTrackShape=function(e){var t=n.theme,r=t.lineCap,i=void 0===r?"round":r,o=t.trackColor,a=t.size,s={lineWidth:a,stroke:o,lineCap:i};return n.isHorizontal?e.addShape("line",{attrs:sa(sa({},s),{x1:0,y1:a/2,x2:n.trackLen,y2:a/2})}):e.addShape("line",{attrs:sa(sa({},s),{x1:a/2,y1:0,x2:a/2,y2:n.trackLen})})},n.createThumbShape=function(e){var t=n.theme,r=t.size,i=t.lineCap,o=void 0===i?"round":i,a={lineWidth:r,stroke:t.thumbColor,lineCap:o,cursor:"default"},s=n.getCoordinatesWithBBoxExtraPadding(),l=s.start,c=s.end;return n.isHorizontal?e.addShape("line",{attrs:sa(sa({},a),{x1:l,y1:r/2,x2:c,y2:r/2})}):e.addShape("line",{attrs:sa(sa({},a),{x1:r/2,y1:l,x2:r/2,y2:c})})},n.bindEvents=function(){n.on("mousedown",n.onStartEvent(!1)),n.on("mouseup",n.onMouseUp),n.on("touchstart",n.onStartEvent(!0)),n.on("touchend",n.onMouseUp),n.trackShape.on("click",n.onTrackClick),n.thumbShape.on("mouseover",n.onTrackMouseOver),n.thumbShape.on("mouseout",n.onTrackMouseOut)},n.onStartEvent=function(e){return function(t){t.preventDefault(),n.isMobile=e;var r=n.isMobile?vu(t,"touches.0",t):t,i=r.clientX,o=r.clientY;n.startPos=n.isHorizontal?i:o,n.bindLaterEvent()}},n.bindLaterEvent=function(){var e=n.get("canvas"),t=document.body,r=[];n.isMobile?(r=[n.addEventListener(t,"touchmove",n.onMouseMove),n.addEventListener(t,"touchend",n.onMouseUp),n.addEventListener(t,"touchcancel",n.onMouseUp)],n.addEvent(e,"touchend",n.onMouseUp),n.addEvent(e,"touchcancel",n.onMouseUp)):(r=[n.addEventListener(t,"mousemove",n.onMouseMove),n.addEventListener(t,"mouseup",n.onMouseUp),n.addEventListener(t,"mouseleave",n.onMouseUp)],n.addEvent(e,"mouseup",n.onMouseUp)),n.clearEvents=function(){r.forEach((function(e){null==e||e.remove()})),dm(n.eventHandlers,(function(e){var t;null===(t=e.target)||void 0===t||t.off(e.type,e.handler)})),n.eventHandlers.length=0}},n.onTrackClick=function(e){var t=n.isHorizontal?e.x-n.position.x-n.thumbLen/2:e.y-n.position.y-n.thumbLen/2,r=n.validateRange(t);n.updateThumbOffset(r)},n.onMouseMove=function(e){e.preventDefault();var t=n.isMobile?vu(e,"touches.0",e):e,r=t.clientX,i=t.clientY,o=n.isHorizontal?r:i,a=o-n.startPos;n.startPos=o,n.updateThumbOffset(n.thumbOffset+a)},n.onMouseUp=function(e){var t;n.emit(hA.ScrollEnd,{}),e.preventDefault(),null===(t=n.clearEvents)||void 0===t||t.call(n)},n.onTrackMouseOver=function(){var e=n.theme,t=e.thumbHoverColor,r=e.hoverSize;n.thumbShape.attr("stroke",t),n.thumbShape.attr("lineWidth",r)},n.onTrackMouseOut=function(){var e=n.theme,t=e.thumbColor,r=e.size;n.thumbShape.attr("stroke",t),n.thumbShape.attr("lineWidth",r)},n.validateRange=function(e){var t=e;return e+n.thumbLen>n.trackLen?t=n.trackLen-n.thumbLen:e+n.thumbLen<n.thumbLen&&(t=0),t};var r=t.isHorizontal,i=void 0!==r&&r,o=t.trackLen,a=t.thumbLen,s=t.position,l=t.thumbOffset,c=void 0===l?0:l,u=t.theme,h=t.scrollTargetMaxOffset;return n.isHorizontal=i,n.thumbOffset=c,n.trackLen=o,n.thumbLen=a,n.position=s,n.theme=u,n.scrollTargetMaxOffset=h,n.initScrollBar(),n}return aa(t,e),t}(mi),PA=function(e,t,n){return e.filter((function(e){return e.level>=t})).map((function(e){return e[n]})).reduce((function(e,t){return e+t}),0)},MA=function(e,t,n){if(n<=0)return{start:0,end:0};var r=Fm(e,(function(n,r){return t>=n&&t<e[r+1]}),0);r=Math.max(r,0);var i=n===t?r:Fm(e,(function(t,r){return n>t&&n<=e[r+1]}),r);return{start:r,end:i=Math.min(-1===i?1/0:i,e.length-2)}},FA=function(e,t){var n=t.width,r=t.originalWidth,i=Math.min(r-n,e);return i<0?0:i},HA=function(e,t,n){var r=Math.min(t-n,e);return r<0?0:r},BA=function(e,t){if(void 0===e&&(e=[]),$g(e))return[];var n=[];return e.forEach((function(e){e instanceof t&&n.push(e),e instanceof mi&&e.getChildren().forEach((function(e){e instanceof t&&n.push(e)}))})),n},UA=function(e,t,n){return n.slice(e,t+1).map((function(e){return e.x+e.width}))},jA=function(e,t,n){for(var r=[],i=e;i<t+1;i++)r.push(n.getCellOffsetY(i+1));return r},GA=function(e,t,n){var r=ua(n,4),i=r[0],o=r[1],a=r[2],s=r[3];return e>=i&&e<=o&&t>=a&&t<=s},YA=function(e){for(var t=ua(e,4),n=t[0],r=t[1],i=t[2],o=t[3],a=[],s=n;s<=r;s+=1)for(var l=i;l<=o;l+=1)a.push([s,l]);return a},zA=function(e,t){void 0===t&&(t=!1),this.x=0,this.y=0,this.minX=0,this.minY=0,this.maxX=0,this.maxY=0,this.width=0,this.height=0,this.originalWidth=0,this.originalHeight=0,this.viewportHeight=0,this.viewportWidth=0,this.facet=e,this.spreadsheet=e.spreadsheet,this.layoutResult=e.layoutResult,t&&this.calculateBBox()},$A=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return aa(t,e),t.prototype.calculateBBox=function(){var e=this.getCornerBBoxWidth(),t=this.getCornerBBoxHeight();this.width=e,this.height=t,this.maxX=e,this.maxY=t},t.prototype.getCornerBBoxOriginalHeight=function(){var e=this.layoutResult.colsHierarchy,t=this.spreadsheet.options.style.colCfg;return e.sampleNodeForLastLevel?Math.floor(e.height):null==t?void 0:t.height},t.prototype.getCornerBBoxHeight=function(){return this.originalHeight=this.getCornerBBoxOriginalHeight(),this.originalHeight},t.prototype.getCornerBBoxWidth=function(){var e=this.layoutResult.rowsHierarchy;return this.originalWidth=Math.floor(e.width+this.facet.getSeriesNumberWidth()),this.spreadsheet.isScrollContainsRowHeader()?this.originalWidth:this.adjustCornerBBoxWidth()},t.prototype.adjustCornerBBoxWidth=function(){var e=this.layoutResult.colsHierarchy,t=this.spreadsheet.options.width,n=.5*t,r=null==e?void 0:e.width,i=t-this.originalWidth;if(this.originalWidth<=n||r<=i)return this.originalWidth;var o;return o=r<=t-n?this.originalWidth-(r-i):n,Math.floor(o)},t}(zA),WA=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return aa(t,e),t.prototype.calculateBBox=function(){this.originalWidth=this.facet.getRealWidth(),this.originalHeight=this.facet.getRealHeight();var e=this.facet.cornerBBox,t={x:Math.floor(e.maxX),y:Math.floor(e.maxY)},n=this.spreadsheet.theme.scrollBar.size,r=this.spreadsheet.options,i=r.width,o=r.height,a=Math.max(0,i-t.x),s=Math.max(0,o-t.y-n);this.x=t.x,this.y=t.y,this.width=a,this.height=s,this.viewportHeight=Math.abs(Math.floor(Math.min(s,this.originalHeight))),this.viewportWidth=Math.abs(Math.floor(Math.min(a,this.originalWidth))),this.maxX=t.x+this.viewportWidth,this.maxY=t.y+this.viewportHeight,this.minX=t.x,this.minY=t.y;var l=this.spreadsheet.options,c=l.frozenTrailingColCount,u=l.frozenTrailingRowCount;c>0&&(this.viewportWidth=this.width,this.maxX=t.x+this.width),u>0&&(this.viewportHeight=this.height,this.maxY=t.y+this.height)},t}(zA),VA=function(e){function t(t){var n=e.call(this,t)||this;return n.isHeaderCellInViewport=function(e,t,n,r){return e+t>=n&&n+r>=e},n.headerConfig=t,n}return aa(t,e),t.prototype.getConfig=function(){return this.headerConfig},t.prototype.clearResizeAreaGroup=function(e){var t=this.get("parent"),n=null==t?void 0:t.findById(e);null==n||n.clear()},t.prototype.render=function(e){this.clearResizeAreaGroup(e),this.clear(),this.layout(),this.offset(),this.clip()},t.prototype.onScrollXY=function(e,t,n){this.headerConfig.scrollX=e,this.headerConfig.scrollY=t,this.render(n)},t.prototype.onRowScrollX=function(e,t){this.headerConfig.scrollX=e,this.render(t)},t.prototype.clear=function(){e.prototype.clear.call(this)},t}(mi),KA=function(e){function t(t){var n=e.call(this,t)||this;return n.scrollGroup=n.addGroup({name:"colScrollGroup",zIndex:3}),n}return aa(t,e),t.prototype.onColScroll=function(e,t){this.headerConfig.scrollX!==e&&(this.headerConfig.scrollX=e,this.render(t))},t.prototype.clip=function(){var e=this.headerConfig,t=e.width,n=e.height,r=e.scrollX,i=e.spreadsheet.isFrozenRowHeader();this.scrollGroup.setClip({type:"rect",attrs:{x:i?r:0,y:0,width:i?t:t+r,height:n}})},t.prototype.clear=function(){var e,t;null===(e=this.scrollGroup)||void 0===e||e.clear(),null===(t=this.background)||void 0===t||t.remove(!0)},t.prototype.getCellInstance=function(e,t,n){return new tS(e,t,n)},t.prototype.getCellGroup=function(e){return this.scrollGroup},t.prototype.isColCellInRect=function(e){var t=this.headerConfig,n=t.spreadsheet,r=t.cornerWidth,i=t.width,o=t.scrollX;return i+o>e.x&&o-(n.isFrozenRowHeader()?0:r)<e.x+e.width},t.prototype.layout=function(){var e=this,t=this.headerConfig,n=t.data,r=t.spreadsheet,i=r.options.colCell;dm(n,(function(t){var n=t;if(e.isColCellInRect(n)){var o=(null==i?void 0:i(n,r,e.headerConfig))||e.getCellInstance(n,r,e.headerConfig);n.belongsCell=o,e.getCellGroup(n).add(o)}}))},t.prototype.offset=function(){var e=this.headerConfig,t=e.position,n=e.scrollX;BE(this.scrollGroup,t.x-n)},t}(VA),qA=function(e){function t(t){return e.call(this,t)||this}return aa(t,e),t.getCornerHeader=function(e,n,r,i,o,a){var s=e.width,l=e.height,c=n.originalWidth,u=n.originalHeight,h=n.width,p=n.height;return new t({data:this.getCornerNodes({x:n.x,y:n.y},c,u,i.rows,i.columns,o.rowsHierarchy,o.colsHierarchy,i.dataSet,r,a),position:{x:n.x,y:n.y},width:h,height:p,originalHeight:u,originalWidth:c,viewportWidth:s,viewportHeight:l,hierarchyType:i.hierarchyType,hierarchyCollapse:i.hierarchyCollapse,rows:i.rows,columns:i.columns,seriesNumberWidth:r,spreadsheet:a})},t.getCornerNodes=function(e,t,n,r,i,o,a,s,l,c){var u,h,p,d=[],f=c.options.style.colCfg,m=null==a?void 0:a.sampleNodeForLastLevel,g=null!==(u=null==m?void 0:m.y)&&void 0!==u?u:0,y=null!==(p=null!==(h=null==m?void 0:m.height)&&void 0!==h?h:null==f?void 0:f.height)&&void 0!==p?p:0;if(l){var v=new EE({id:"",key:"series-number-node",value:pE("序号")});v.x=null==e?void 0:e.x,v.y=g,v.width=l,v.height=y,v.isPivotMode=!0,v.spreadsheet=c,v.cornerType=QE.Series,d.push(v)}if(c.isHierarchyTreeType()){var _=this.getTreeCornerText(c),b=new EE({key:"",id:"",value:_});b.x=e.x+l,b.y=g,b.width=t-l,b.height=y,b.seriesNumberWidth=l,b.isPivotMode=!0,b.spreadsheet=c,b.cornerType=QE.Row,d.push(b)}else o.sampleNodesForAllLevels.forEach((function(e){var t=r[e.level],n=new EE({key:t,id:"",value:s.getFieldName(t)});n.x=e.x+l,n.y=g,n.width=e.width,n.height=y,n.field=t,n.isPivotMode=!0,n.cornerType=QE.Row,n.spreadsheet=c,d.push(n)}));return a.sampleNodesForAllLevels.forEach((function(n){if(n.level<a.maxLevel){var r=i[n.level],o=new EE({key:r,id:"",value:s.getFieldName(r)});o.x=e.x,o.y=n.y,o.width=t,o.height=n.height,o.field=r,o.isPivotMode=!0,o.cornerType=QE.Col,o.spreadsheet=c,d.push(o)}})),d},t.getTreeCornerText=function(e){var t=e.dataSet.fields.rows,n=void 0===t?[]:t,r=e.options.cornerText;if(r)return r;var i=e.store.get("drillDownFieldInLevel",[]).map((function(e){return e.drillField}));return n.filter((function(e){return!gg(i,e)})).map((function(t){return e.dataSet.getFieldName(t)})).join("/")},t.prototype.onCorScroll=function(e,t){this.headerConfig.scrollX=e,this.render(t)},t.prototype.destroy=function(){e.prototype.destroy.call(this)},t.prototype.layout=function(){this.renderCells()},t.prototype.renderCells=function(){var e,t,n,r,i=this,o=this.headerConfig,a=o.data,s=o.spreadsheet,l=null===(t=null===(e=null==s?void 0:s.facet)||void 0===e?void 0:e.cfg)||void 0===t?void 0:t.cornerHeader,c=null===(r=null===(n=null==s?void 0:s.facet)||void 0===n?void 0:n.cfg)||void 0===r?void 0:r.cornerCell;l?l(this,s,this.headerConfig):a.forEach((function(e){var t;c&&(t=c(e,i.headerConfig.spreadsheet,i.headerConfig)),$g(t)&&(t=new nS(e,i.headerConfig.spreadsheet,i.headerConfig)),i.add(t)}))},t.prototype.offset=function(){var e=this.headerConfig.scrollX;BE(this,-e)},t.prototype.clip=function(){var e=this.headerConfig,t=e.width,n=e.height,r=e.scrollX;this.setClip({type:"rect",attrs:{x:r,y:0,width:t,height:n}})},t.prototype.getNodes=function(){return this.headerConfig.data||[]},t}(VA),XA=function(e){function t(t){var n=e.call(this,t)||this;return n.render(),n}return aa(t,e),t.prototype.layout=function(){this.addCornerBottomBorder(),this.addCornerRightBorder(),this.addSplitLineShadow()},t.prototype.render=function(){this.clear(),this.layout()},t.prototype.onBorderScroll=function(e){this.cfg.scrollX=e;var t=this.cfg.position;HE(this,t.x-e,0),this.render()},t.prototype.onChangeShadowVisibility=function(e,t){this.cfg.showViewportLeftShadow=e>0,this.cfg.showViewportRightShadow=Math.floor(e)<Math.floor(t),this.render()},t.prototype.addCornerRightBorder=function(){var e,t=this.cfg;if(t.isPivotMode){var n=t.width,r=t.height,i=t.viewportHeight,o=t.position,a=null===(e=t.spreadsheet.theme)||void 0===e?void 0:e.splitLine,s=o.x+n,l=o.y,c=o.y+r+i;this.addShape("line",{attrs:{x1:s,y1:l,x2:s,y2:c,stroke:a.verticalBorderColor,lineWidth:a.verticalBorderWidth,opacity:a.verticalBorderColorOpacity}})}},t.prototype.addCornerBottomBorder=function(){var e,t=this.cfg,n=t.width,r=t.height,i=t.viewportWidth,o=t.position,a=t.scrollX,s=t.scrollContainsRowHeader,l=null===(e=t.spreadsheet.theme)||void 0===e?void 0:e.splitLine,c=o.x,u=c+n+i+(s?a:0),h=o.y+r-1;this.addShape("line",{attrs:{x1:c,y1:h,x2:u,y2:h,stroke:l.horizontalBorderColor,lineWidth:l.horizontalBorderWidth,opacity:l.horizontalBorderColorOpacity}})},t.prototype.addSplitLineShadow=function(){var e,t=this.cfg,n=t.isPivotMode,r=t.spreadsheet,i=null===(e=r.theme)||void 0===e?void 0:e.splitLine;n&&i.showShadow&&r.isFrozenRowHeader()&&(this.addSplitLineLeftShadow(),this.addSplitLineRightShadow())},t.prototype.addSplitLineLeftShadow=function(){var e,t,n;if(this.cfg.showViewportLeftShadow){var r=this.cfg,i=r.width,o=r.height,a=r.viewportHeight,s=r.position,l=null===(e=r.spreadsheet.theme)||void 0===e?void 0:e.splitLine,c=s.x+i,u=s.y;this.addShape("rect",{attrs:{x:c,y:u,width:l.shadowWidth,height:a+o,fill:"l (0) 0:".concat(null===(t=l.shadowColors)||void 0===t?void 0:t.left," 1:").concat(null===(n=l.shadowColors)||void 0===n?void 0:n.right)}})}},t.prototype.addSplitLineRightShadow=function(){var e,t,n;if(this.cfg.showViewportRightShadow){var r=this.cfg,i=r.width,o=r.height,a=r.viewportHeight,s=r.viewportWidth,l=r.position,c=null===(e=r.spreadsheet.theme)||void 0===e?void 0:e.splitLine,u=l.x+i+s-c.shadowWidth,h=l.y;this.addShape("rect",{attrs:{x:u,y:h,width:c.shadowWidth,height:a+o,fill:"l (0) 0:".concat(null===(t=c.shadowColors)||void 0===t?void 0:t.right," 1:").concat(null===(n=c.shadowColors)||void 0===n?void 0:n.left)}})}},t}(mi),ZA=function(e){function t(t){return e.call(this,t)||this}return aa(t,e),t.prototype.destroy=function(){e.prototype.destroy.call(this),this.gm&&this.gm.destroy()},t.prototype.layout=function(){var e,t,n=this,r=this.headerConfig,i=r.data,o=r.spreadsheet,a=r.width,s=r.viewportHeight,l=r.seriesNumberWidth,c=r.scrollY,u=r.scrollX,h=null===(t=null===(e=null==o?void 0:o.facet)||void 0===e?void 0:e.cfg)||void 0===t?void 0:t.rowCell;dm(i,(function(e){if(function(e){return s+c>e.y&&c<e.y+e.height&&a-l+u>e.x&&u-l<e.x+e.width}(e)&&0!==e.height){var t=void 0;h&&(t=h(e,o,n.headerConfig)),$g(t)&&o.isPivotMode()&&(t=new pS(e,o,n.headerConfig)),e.belongsCell=t,n.add(t)}}))},t.prototype.offset=function(){var e=this.headerConfig,t=e.scrollX,n=e.scrollY,r=e.position,i=e.seriesNumberWidth;HE(this,r.x-t+i,r.y-n)},t.prototype.clip=function(){var e=this.headerConfig,t=e.width,n=e.viewportHeight,r=e.scrollX,i=e.scrollY,o=e.seriesNumberWidth;this.setClip({type:"rect",attrs:{x:r-o,y:i,width:t,height:n}})},t}(VA),QA=function(e){function t(t){return e.call(this,t)||this}return aa(t,e),t.getSeriesNumberHeader=function(e,n,r,i,o){var a=e.height,s=e.viewportHeight,l=[],c=i.isHierarchyTreeType();return r.forEach((function(e){if(!e.isTotals||c){var t=new EE({id:"",key:"",value:"".concat(l.length+1)});t.x=e.x,t.y=e.y,t.height=e.height,t.width=n,l.push(t)}})),new t({width:o,height:a,viewportWidth:o,viewportHeight:s,position:{x:0,y:e.y},data:l,spreadsheet:i})},t.prototype.clip=function(){var e=this.headerConfig,t=e.width,n=e.viewportHeight,r=e.scrollY;this.setClip({type:"rect",attrs:{x:0,y:r,width:t,height:n}})},t.prototype.layout=function(){var e=this,t=this.headerConfig,n=t.data,r=t.scrollY,i=t.viewportHeight;t.spreadsheet.isPivotMode&&this.addBackGround();var o=this.addGroup();dm(n,(function(t){var n=t.y,a=t.height,s=t.isLeaf;if(e.isHeaderCellInViewport(n,a,r,i)){var l=e.addGroup();e.addText(l,t),e.add(l),s||e.addBorder(o,t)}}))},t.prototype.offset=function(){var e=this.headerConfig,t=e.scrollY,n=e.scrollX,r=e.position;HE(this,r.x-n,r.y-t),this.backgroundShape&&this.backgroundShape.translate(r.x,r.y+t),this.leftBorderShape&&this.leftBorderShape.translate(r.x,r.y+t)},t.prototype.addBackGround=function(){var e=this.getStyle().cell,t=this.headerConfig,n=t.position,r=t.width,i=t.viewportHeight;this.backgroundShape=dT(this,{x:n.x,y:-n.y,width:r,height:i,fill:e.backgroundColor,stroke:"transparent",opacity:e.backgroundColorOpacity});var o=NT(XE.LEFT,{x:n.x,y:-n.y,width:r,height:i},e),a=o.position,s=o.style;this.leftBorderShape=gT(this,a,s)},t.prototype.addBorder=function(e,t){var n=this.getStyle().cell,r=NT(XE.BOTTOM,t,n);gT(e,r.position,r.style)},t.prototype.getStyle=function(){return this.headerConfig.spreadsheet.theme.rowCell},t.prototype.addText=function(e,t){var n=this.headerConfig,r=n.scrollY,i=n.viewportHeight,o=sa(sa({},this.getStyle().seriesText),{textBaseline:"top"}),a=t.label,s=t.x,l=t.y,c=t.width,u=t.height,h=this.getTextPadding(a,c),p=hS(l+h.top,u-h.top-h.bottom,r,i,o.fontSize);e.addShape("text",{attrs:sa(sa({x:s+h.left,y:p,text:a},o),{cursor:"pointer"})})},t.prototype.getTextPadding=function(e,t){var n=this.getStyle(),r=this.headerConfig.spreadsheet.measureTextWidth(e,n.seriesText),i=Math.max(Math.abs((t-r)/2),4);return sa(sa({},n.cell.padding),{left:i,right:i})},t}(VA),JA=function(){function e(e){var t=this;this.scrollFrameId=null,this.hideScrollBar=function(){var e,n,r;null===(e=t.hRowScrollBar)||void 0===e||e.hide(),null===(n=t.hScrollBar)||void 0===n||n.hide(),null===(r=t.vScrollBar)||void 0===r||r.hide()},this.delayHideScrollBar=Pf(this.hideScrollBar,1e3),this.delayHideScrollbarOnMobile=function(){vE()&&t.delayHideScrollBar()},this.showVerticalScrollBar=function(){var e;null===(e=t.vScrollBar)||void 0===e||e.show()},this.showHorizontalScrollBar=function(){var e,n;null===(e=t.hRowScrollBar)||void 0===e||e.show(),null===(n=t.hScrollBar)||void 0===n||n.show()},this.onContainerWheel=function(){t.onContainerWheelForPc(),t.onContainerWheelForMobile()},this.onContainerWheelForPc=function(){var e=t.spreadsheet.getCanvasElement();null==e||e.addEventListener("wheel",t.onWheel)},this.onContainerWheelForMobile=function(){t.mobileWheel=new uS(t.spreadsheet.container),t.mobileWheel.on("wheel",(function(e){t.spreadsheet.hideTooltip();var n=e.event,r=e.deltaX,i=e.deltaY,o=e.x,a=e.y;t.onWheel(sa(sa({},n),{deltaX:r,deltaY:i,offsetX:o,offsetY:a}))}))},this.bindEvents=function(){t.onContainerWheel(),t.emitPaginationEvent()},this.setScrollOffset=function(e){Object.keys(e).forEach((function(n){var r=e[n];ny(r)||t.spreadsheet.store.set(n,Math.floor(r))}))},this.getScrollOffset=function(){var e=t.spreadsheet.store;return{scrollX:e.get("scrollX",0),scrollY:e.get("scrollY",0),rowHeaderScrollX:e.get("rowHeaderScrollX",0)}},this.emitPaginationEvent=function(){var e=t.cfg.pagination;if(e){var n=e.current,r=void 0===n?1:n,i=e.pageSize,o=t.viewCellHeights.getTotalLength(),a=Math.floor((o-1)/i)+1;t.cfg.spreadsheet.emit(Qi.LAYOUT_PAGINATION,{pageSize:i,pageCount:a,total:o,current:r})}},this.unbindEvents=function(){var e=t.spreadsheet.getCanvasElement();null==e||e.removeEventListener("wheel",t.onWheel),t.mobileWheel.destroy()},this.clipPanelGroup=function(){var e;t.foregroundGroup=t.spreadsheet.foregroundGroup,t.backgroundGroup=t.spreadsheet.backgroundGroup,t.panelGroup=t.spreadsheet.panelGroup;var n=t.panelBBox,r=n.width,i=n.height;null===(e=t.spreadsheet.panelScrollGroup)||void 0===e||e.setClip({type:"rect",attrs:{x:0,y:t.cornerBBox.height,width:r,height:i}})},this.calculateCellWidthHeight=function(){var e=Xv(t.layoutResult.colLeafNodes,(function(e,t){return e.push(om(e)+t.width),e}),[0]);t.viewCellWidths=e,t.viewCellHeights=t.getViewCellHeights(t.layoutResult)},this.getRealScrollX=function(e,n){return void 0===n&&(n=0),t.cfg.spreadsheet.isScrollContainsRowHeader()?e:n},this.calculatePanelBBox=function(){t.panelBBox=new WA(t,!0)},this.getRealWidth=function(){return om(t.viewCellWidths)},this.getRealHeight=function(){var e=t.cfg.pagination,n=t.viewCellHeights;if(e){var r=t.getCellRange(),i=r.start,o=r.end;return n.getCellOffsetY(o+1)-n.getCellOffsetY(i)}return n.getTotalHeight()},this.clearAllGroup=function(){for(var e=t.panelGroup.getChildren()||[],n=e.length-1;n>=0;n--){var r=e[n];r instanceof mi?r.set("children",[]):e[n].remove()}t.foregroundGroup.set("children",[]),t.backgroundGroup.set("children",[])},this.scrollWithAnimation=function(e,n,r){var i,o,a,s;void 0===e&&(e={}),void 0===n&&(n=200);var l=t.getAdjustedScrollOffset({scrollX:(null===(i=e.offsetX)||void 0===i?void 0:i.value)||0,scrollY:(null===(o=e.offsetY)||void 0===o?void 0:o.value)||0,rowHeaderScrollX:(null===(a=e.rowHeaderOffsetX)||void 0===a?void 0:a.value)||0}),c=l.scrollX,u=l.scrollY,h=l.rowHeaderScrollX;null===(s=t.timer)||void 0===s||s.stop();var p=t.getScrollOffset(),d=[null!=c?c:p.scrollX,null!=u?u:p.scrollY,null!=h?h:p.rowHeaderScrollX],f=Kt(Object.values(p),d);t.timer=ct((function(e){var i=Math.min(e/n,1),o=ua(f(i),3),a=o[0],s=o[1],l=o[2];t.setScrollOffset({rowHeaderScrollX:l,scrollX:a,scrollY:s}),t.startScroll(),e>n&&(t.timer.stop(),null==r||r())}))},this.scrollImmediately=function(e){var n,r,i;void 0===e&&(e={});var o=t.getAdjustedScrollOffset({scrollX:(null===(n=e.offsetX)||void 0===n?void 0:n.value)||0,scrollY:(null===(r=e.offsetY)||void 0===r?void 0:r.value)||0,rowHeaderScrollX:(null===(i=e.rowHeaderOffsetX)||void 0===i?void 0:i.value)||0}),a=o.scrollX,s=o.scrollY,l=o.rowHeaderScrollX;t.setScrollOffset({scrollX:a,scrollY:s,rowHeaderScrollX:l}),t.startScroll()},this.startScroll=function(e){var n,r,i;void 0===e&&(e=!1);var o=t.getScrollOffset(),a=o.rowHeaderScrollX,s=o.scrollX,l=o.scrollY;null===(n=t.hRowScrollBar)||void 0===n||n.onlyUpdateThumbOffset(t.getScrollBarOffset(a,t.hRowScrollBar)),null===(r=t.hScrollBar)||void 0===r||r.onlyUpdateThumbOffset(t.getScrollBarOffset(s,t.hScrollBar)),null===(i=t.vScrollBar)||void 0===i||i.onlyUpdateThumbOffset(t.getScrollBarOffset(l,t.vScrollBar)),t.dynamicRenderCell(e)},this.getRendererHeight=function(){var e=t.getCellRange(),n=e.start,r=e.end;return t.viewCellHeights.getCellOffsetY(r+1)-t.viewCellHeights.getCellOffsetY(n)},this.getAdjustedScrollOffset=function(e){var n=e.scrollX,r=e.scrollY,i=e.rowHeaderScrollX;return{scrollX:HA(n,t.layoutResult.colsHierarchy.width,t.panelBBox.width),scrollY:HA(r,t.getRendererHeight(),t.panelBBox.height),rowHeaderScrollX:FA(i,t.cornerBBox)}},this.renderRowScrollBar=function(e){if(!t.cfg.spreadsheet.isScrollContainsRowHeader()&&t.cornerBBox.width<t.cornerBBox.originalWidth){var n=t.cornerBBox.originalWidth-t.cornerBBox.width,r=t.getScrollbarPosition().maxY,i=t.spreadsheet.theme,o=i.splitLine,a=i.scrollBar,s=Math.max(t.cornerBBox.width*t.cornerBBox.width/t.cornerBBox.originalWidth,null==a?void 0:a.thumbHorizontalMinSize),l=s-(null==o?void 0:o.verticalBorderWidth);t.hRowScrollBar=new DA({isHorizontal:!0,trackLen:t.cornerBBox.width,thumbLen:l,position:{x:t.cornerBBox.minX+t.scrollBarSize/2,y:r},thumbOffset:e*(t.cornerBBox.width-s)/n,theme:t.scrollBarTheme,scrollTargetMaxOffset:n}),t.hRowScrollBar.on(hA.ScrollChange,(function(e){var r,i,o=e.offset,a=t.getValidScrollBarOffset(o,n),s=Math.floor(a);t.setScrollOffset({rowHeaderScrollX:s}),null===(r=t.rowHeader)||void 0===r||r.onRowScrollX(s,fo),null===(i=t.rowIndexHeader)||void 0===i||i.onRowScrollX(s,yo),t.cornerHeader.onRowScrollX(s,vo);var l=t.getScrollBarOffset(s,t.hRowScrollBar),c=t.getScrollOffset(),u={scrollX:c.scrollX,scrollY:c.scrollY,rowHeaderScrollX:l};t.hRowScrollBar.updateThumbOffset(l,!1),t.spreadsheet.emit(Qi.ROW_CELL_SCROLL,u),t.spreadsheet.emit(Qi.GLOBAL_SCROLL,u)})),t.foregroundGroup.add(t.hRowScrollBar)}},this.getValidScrollBarOffset=function(e,t){return Jh(e,0,t)},this.renderHScrollBar=function(e,n,r){if(Math.floor(e)<Math.floor(n)){var i=t.scrollBarSize/2,o=t.getScrollbarPosition().maxY,a=e+(t.cfg.spreadsheet.isScrollContainsRowHeader()?Math.min(t.cornerBBox.width,t.getCanvasHW().width):0),s={x:t.panelBBox.minX+(t.cfg.spreadsheet.isScrollContainsRowHeader()?-t.cornerBBox.width+i:i),y:o},l=n+(t.cfg.spreadsheet.isScrollContainsRowHeader()?t.cornerBBox.width:0),c=t.spreadsheet.theme.scrollBar,u=l-a,h=Math.max(a/l*a,null==c?void 0:c.thumbHorizontalMinSize);t.hScrollBar=new DA({isHorizontal:!0,trackLen:a,thumbLen:h,position:s,thumbOffset:r*(a-h)/u,theme:t.scrollBarTheme,scrollTargetMaxOffset:u}),t.hScrollBar.on(hA.ScrollChange,(function(e){var n=e.offset,r=e.updateThumbOffset,i=t.getValidScrollBarOffset(n,u);r&&t.hScrollBar.updateThumbOffset(t.getScrollBarOffset(i,t.hScrollBar),!1),t.setScrollOffset({scrollX:i}),t.dynamicRenderCell()})),t.foregroundGroup.add(t.hScrollBar)}},this.getScrollbarPosition=function(){var e=t.panelBBox,n=e.maxX,r=e.maxY,i=t.getCanvasHW(),o=i.width,a=i.height,s=t.spreadsheet.options.interaction.scrollbarPosition===qo.CONTENT;return{maxX:(s?n:o)-t.scrollBarSize,maxY:s?r:a-t.scrollBarSize}},this.renderVScrollBar=function(e,n,r){if(e<n){var i=t.spreadsheet.theme.scrollBar,o=Math.max(e/n*e,null==i?void 0:i.thumbVerticalMinSize),a=n-e,s=t.getScrollbarPosition().maxX;t.vScrollBar=new DA({isHorizontal:!1,trackLen:e,thumbLen:o,thumbOffset:r*(e-o)/a,position:{x:s,y:t.panelBBox.minY},theme:t.scrollBarTheme,scrollTargetMaxOffset:a}),t.vScrollBar.on(hA.ScrollChange,(function(e){var n=e.offset,r=e.updateThumbOffset,i=t.getValidScrollBarOffset(n,a);r&&t.vScrollBar.updateThumbOffset(t.getScrollBarOffset(i,t.vScrollBar),!1),t.setScrollOffset({scrollY:i}),t.dynamicRenderCell()})),t.foregroundGroup.add(t.vScrollBar)}},this.getScrollBarOffset=function(e,t){return e*(t.trackLen-t.thumbLen)/t.scrollTargetMaxOffset},this.isScrollOverThePanelArea=function(e){var n=e.offsetX,r=e.offsetY;return n>t.panelBBox.minX&&n<t.panelBBox.maxX&&r>t.panelBBox.minY&&r<t.panelBBox.maxY},this.isScrollOverTheCornerArea=function(e){var n=e.offsetX,r=e.offsetY;return n>t.cornerBBox.minX&&n<t.cornerBBox.maxX&&r>t.cornerBBox.minY&&r<t.cornerBBox.maxY+t.panelBBox.height},this.updateHorizontalRowScrollOffset=function(e){var n,r=e.offset,i=e.offsetX,o=e.offsetY;t.isScrollOverTheCornerArea({offsetX:i,offsetY:o})&&(null===(n=t.hRowScrollBar)||void 0===n||n.emitScrollChange(r))},this.updateHorizontalScrollOffset=function(e){var n,r=e.offset,i=e.offsetX,o=e.offsetY;t.hRowScrollBar&&!t.isScrollOverThePanelArea({offsetX:i,offsetY:o})||null===(n=t.hScrollBar)||void 0===n||n.emitScrollChange(r)},this.isScrollToLeft=function(e){var n=e.deltaX,r=e.offsetX,i=e.offsetY;if(!t.hScrollBar&&!t.hRowScrollBar)return!0;var o=!t.hRowScrollBar||t.isScrollOverThePanelArea({offsetY:i,offsetX:r})||t.hRowScrollBar.thumbOffset<=0,a=!t.hScrollBar||t.hScrollBar.thumbOffset<=0;return n<=0&&a&&o},this.isScrollToRight=function(e){var n,r,i,o,a,s,l=e.deltaX,c=e.offsetX,u=e.offsetY;if(!t.hScrollBar&&!t.hRowScrollBar)return!0;var h=t.spreadsheet.isFrozenRowHeader()?null===(n=t.panelBBox)||void 0===n?void 0:n.width:null===(r=t.panelBBox)||void 0===r?void 0:r.maxX,p=!t.hRowScrollBar||t.isScrollOverThePanelArea({offsetY:u,offsetX:c})||(null===(i=t.hRowScrollBar)||void 0===i?void 0:i.thumbOffset)+(null===(o=t.hRowScrollBar)||void 0===o?void 0:o.thumbLen)>=t.cornerBBox.width,d=t.hRowScrollBar&&t.isScrollOverTheCornerArea({offsetX:c,offsetY:u})||(null===(a=t.hScrollBar)||void 0===a?void 0:a.thumbOffset)+(null===(s=t.hScrollBar)||void 0===s?void 0:s.thumbLen)>=h;return l>=0&&d&&p},this.isScrollToTop=function(e){var n;return!t.vScrollBar||e<=0&&(null===(n=t.vScrollBar)||void 0===n?void 0:n.thumbOffset)<=0},this.isScrollToBottom=function(e){var n,r,i;return!t.vScrollBar||e>=0&&(null===(n=t.vScrollBar)||void 0===n?void 0:n.thumbOffset)+(null===(r=t.vScrollBar)||void 0===r?void 0:r.thumbLen)>=(null===(i=t.panelBBox)||void 0===i?void 0:i.height)},this.isVerticalScrollOverTheViewport=function(e){return!t.isScrollToTop(e)&&!t.isScrollToBottom(e)},this.isHorizontalScrollOverTheViewport=function(e){return!t.isScrollToLeft(e)&&!t.isScrollToRight(e)},this.isScrollOverTheViewport=function(e){var n=e.deltaY,r=e.deltaX;return!(e.offsetY<=t.cornerBBox.maxY)&&(0!==n?t.isVerticalScrollOverTheViewport(n):0!==r&&t.isHorizontalScrollOverTheViewport(e))},this.cancelScrollFrame=function(){return!(vE()&&t.scrollFrameId||(cancelAnimationFrame(t.scrollFrameId),0))},this.clearScrollFrameIdOnMobile=function(){vE()&&(t.scrollFrameId=null)},this.stopScrollChainingIfNeeded=function(e){"auto"!==t.spreadsheet.options.interaction.overscrollBehavior&&t.stopScrollChaining(e)},this.stopScrollChaining=function(e){var t,n,r;null===(t=null==e?void 0:e.preventDefault)||void 0===t||t.call(e),null===(r=null===(n=null==e?void 0:e.originalEvent)||void 0===n?void 0:n.preventDefault)||void 0===r||r.call(n)},this.onWheel=function(e){var n=t.spreadsheet.options.interaction,r=e.deltaX,i=e.deltaY,o=e.offsetX,a=e.offsetY;e.shiftKey&&_E()&&(o=o-r+i,r=i,a-=i,i=0);var s=ua(function(e,t,n){var r=Math.abs(e/t),i=r>2?0:t;return[(r<=.5?0:e)*n.horizontal,i*n.vertical]}(r,i,n.scrollSpeedRatio),2),l=s[0],c=s[1];t.spreadsheet.hideTooltip(),t.spreadsheet.interaction.clearHoverTimer(),t.isScrollOverTheViewport({deltaX:l,deltaY:c,offsetX:o,offsetY:a})?(t.stopScrollChaining(e),t.spreadsheet.interaction.addIntercepts([$o.HOVER]),t.cancelScrollFrame()&&(t.scrollFrameId=requestAnimationFrame((function(){var e,n=t.getScrollOffset(),r=n.scrollX,i=n.scrollY,s=n.rowHeaderScrollX;0!==l&&(t.showHorizontalScrollBar(),t.updateHorizontalRowScrollOffset({offsetX:o,offsetY:a,offset:l+s}),t.updateHorizontalScrollOffset({offsetX:o,offsetY:a,offset:l+r})),0!==c&&(t.showVerticalScrollBar(),null===(e=t.vScrollBar)||void 0===e||e.emitScrollChange(c+i)),t.delayHideScrollbarOnMobile(),t.clearScrollFrameIdOnMobile()})))):t.stopScrollChainingIfNeeded(e)},this.addCell=function(e){var n=t.spreadsheet.panelScrollGroup;null==n||n.add(e)},this.realCellRender=function(e,n){var r=t.calculateXYIndexes(e,n);$E.getInstance().logger("renderIndex:",t.preCellIndexes,r);var i,o,a,s,l=(i=t.preCellIndexes,o=r,a=[],s=[],Object.keys(o).forEach((function(e){var t=function(e,t){var n=[],r=[];if($g(e))return $g(t)?{add:n,remove:r}:{add:YA(t),remove:r};if($g(t))return{add:n,remove:YA(e)};for(var i=ua(e,4),o=i[0],a=i[1],s=i[2],l=i[3],c=ua(t,4),u=c[0],h=c[1],p=c[2],d=c[3],f=o;f<=a;f++)for(var m=s;m<=l;m++)GA(f,m,t)||r.push([f,m]);for(f=u;f<=h;f+=1)for(m=p;m<=d;m+=1)GA(f,m,e)||n.push([f,m]);return{add:n,remove:r}}((null==i?void 0:i[e])||[],o[e]),n=t.add,r=t.remove;a.push.apply(a,ha([],ua(n),!1)),s.push.apply(s,ha([],ua(r),!1))})),{add:a,remove:s}),c=l.add,u=l.remove;$E.getInstance().debugCallback("Data Cell Render",(function(){dm(c,(function(e){var n=ua(e,2),r=n[0],i=n[1],o=t.layoutResult.getCellMeta(i,r);if(o){var a=t.cfg.dataCell(o);a.set("name","".concat(r,"-").concat(i)),t.addCell(a)}}));var e=BA(t.panelGroup.getChildren(),Ex);dm(u,(function(t){var n=ua(t,2),r=n[0],i=n[1],o=Hm(e,(function(e){return e.get("name")==="".concat(r,"-").concat(i)}));null==o||o.remove(!0)})),$E.getInstance().logger("Render Cell Panel: ".concat(null==e?void 0:e.length,", Add: ").concat(null==c?void 0:c.length,", Remove: ").concat(null==u?void 0:u.length))})),t.preCellIndexes=r,t.spreadsheet.emit(Qi.LAYOUT_AFTER_REAL_DATA_CELL_RENDER,{add:c,remove:u,spreadsheet:t.spreadsheet})},this.getGridInfo=function(){var e=ua(t.preCellIndexes.center,4),n=e[0],r=e[1],i=e[2],o=e[3];return{cols:UA(n,r,t.layoutResult.colLeafNodes),rows:jA(i,o,t.viewCellHeights)}},this.onAfterScroll=Pf((function(){var e=t.spreadsheet,n=e.interaction,r=e.container;if(!n.isSelectedState()&&(n.removeIntercepts([$o.HOVER]),n.getHoverAfterScroll())){var i=n.eventController.canvasMousemoveEvent;if(i){var o=i.x,a=i.y,s=r.getShape(o,a);s&&r.emit(Zi.MOUSE_MOVE,sa(sa({},i),{shape:s,target:s,timestamp:performance.now()}))}}}),300),this.cfg=e,this.spreadsheet=e.spreadsheet,this.init()}return Object.defineProperty(e.prototype,"scrollBarTheme",{get:function(){return this.spreadsheet.theme.scrollBar},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"scrollBarSize",{get:function(){return this.scrollBarTheme.size},enumerable:!1,configurable:!0}),e.prototype.getCellCustomWidth=function(e,t){return is(t)?null==t?void 0:t(e):t},e.prototype.getCellDraggedWidth=function(e){var t=this.cfg.colCfg;return vu(null==t?void 0:t.widthByFieldValue,"".concat(e.value))},e.prototype.render=function(){var e;$g((e=this.spreadsheet.dataCfg.fields).rows)&&$g(e.columns)&&$g(e.values)&&$g(e.customTreeItems)||(this.adjustScrollOffset(),this.renderHeaders(),this.renderScrollBars(),this.renderBackground(),this.dynamicRenderCell())},e.prototype.adjustScrollOffset=function(){var e=this.getAdjustedScrollOffset(this.getScrollOffset());this.setScrollOffset(e)},e.prototype.getSeriesNumberWidth=function(){return this.cfg.showSeriesNumber?this.spreadsheet.theme.rowCell.seriesNumberWidth:0},e.prototype.getCanvasHW=function(){return{width:this.cfg.width,height:this.cfg.height}},e.prototype.getContentHeight=function(){var e=this.layoutResult,t=e.rowsHierarchy,n=e.colsHierarchy;return t.height+n.height},e.prototype.updateScrollOffset=function(e){var t,n,r,i,o,a;void 0===(null===(t=e.rowHeaderOffsetX)||void 0===t?void 0:t.value)?void 0===(null===(r=e.offsetX)||void 0===r?void 0:r.value)?void 0!==(null===(o=e.offsetY)||void 0===o?void 0:o.value)&&((null===(a=e.offsetY)||void 0===a?void 0:a.animate)?this.scrollWithAnimation(e):this.scrollImmediately(e)):(null===(i=e.offsetX)||void 0===i?void 0:i.animate)?this.scrollWithAnimation(e):this.scrollImmediately(e):(null===(n=e.rowHeaderOffsetX)||void 0===n?void 0:n.animate)?this.scrollWithAnimation(e):this.scrollImmediately(e)},e.prototype.getPaginationScrollY=function(){var e=this.cfg.pagination;if(e){var t=e.current,n=void 0===t?1:t,r=e.pageSize,i=this.viewCellHeights,o=Math.max((n-1)*r,0);return i.getCellOffsetY(o)}return 0},e.prototype.destroy=function(){this.unbindEvents(),this.clearAllGroup(),this.preCellIndexes=null,cancelAnimationFrame(this.scrollFrameId)},e.prototype.calculateXYIndexes=function(e,t){var n=this.panelBBox,r=n.viewportHeight,i=n.viewportWidth;return{center:FE(e,t,this.viewCellWidths,this.viewCellHeights,{width:i,height:r,x:0,y:0},this.getRealScrollX(this.cornerBBox.width))}},e.prototype.calculateCornerBBox=function(){this.cornerBBox=new $A(this,!0)},e.prototype.getCellRange=function(){var e=this.cfg.pagination;return function(e,t){var n=e,r=0,i=n.getTotalLength()-1;if(t){var o=t.current,a=void 0===o?1:o,s=t.pageSize;r=Math.max((a-1)*s,0),i=Math.min(a*s-1,n.getTotalLength()-1)}return{start:r,end:i}}(this.viewCellHeights,e)},e.prototype.clip=function(e,t){var n,r=this.spreadsheet.isFrozenRowHeader();null===(n=this.spreadsheet.panelScrollGroup)||void 0===n||n.setClip({type:"rect",attrs:{x:r?e:0,y:t,width:this.panelBBox.width+(r?0:e),height:this.panelBBox.height}})},e.prototype.translateRelatedGroups=function(e,t,n){var r,i;HE(this.spreadsheet.panelScrollGroup,this.cornerBBox.width-e,this.cornerBBox.height-t),null===(r=this.rowHeader)||void 0===r||r.onScrollXY(this.getRealScrollX(e,n),t,fo),null===(i=this.rowIndexHeader)||void 0===i||i.onScrollXY(this.getRealScrollX(e,n),t,yo),this.cornerHeader.onCorScroll(this.getRealScrollX(e,n),vo),this.centerFrame.onChangeShadowVisibility(e,this.getRealWidth()-this.panelBBox.width),this.centerFrame.onBorderScroll(this.getRealScrollX(e)),this.columnHeader.onColScroll(e,_o)},e.prototype.init=function(){var e=this;$E.getInstance().debugCallback("Header Layout",(function(){e.layoutResult=e.doLayout(),e.saveInitColumnLeafNodes(e.layoutResult.colLeafNodes),e.spreadsheet.emit(Qi.LAYOUT_AFTER_HEADER_LAYOUT,e.layoutResult)})),this.calculateCellWidthHeight(),this.calculateCornerBBox(),this.calculatePanelBBox(),this.clipPanelGroup(),this.bindEvents()},e.prototype.renderBackground=function(){var e=this.getCanvasHW(),t=e.width,n=e.height,r=this.spreadsheet.theme.background,i=r.color,o=r.opacity;this.backgroundGroup.addShape("rect",{attrs:{fill:i,opacity:o,x:0,y:0,width:t,height:n}})},e.prototype.renderScrollBars=function(){var e=this.getScrollOffset(),t=e.scrollX,n=e.scrollY,r=e.rowHeaderScrollX,i=this.panelBBox,o=i.width,a=i.height,s=this.layoutResult.colsHierarchy.width,l=this.getRealHeight();this.renderRowScrollBar(r),this.renderHScrollBar(o,s,t),this.renderVScrollBar(a,l,n)},e.prototype.renderHeaders=function(){var e=this.getSeriesNumberWidth();this.rowHeader=this.getRowHeader(),this.columnHeader=this.getColHeader(),e>0&&!this.rowIndexHeader&&(this.rowIndexHeader=this.getSeriesNumberHeader()),this.cornerHeader=this.getCornerHeader(),this.centerFrame=this.getCenterFrame(),this.rowIndexHeader&&this.foregroundGroup.add(this.rowIndexHeader),this.rowHeader&&this.foregroundGroup.add(this.rowHeader),this.foregroundGroup.add(this.columnHeader),this.foregroundGroup.add(this.cornerHeader),this.foregroundGroup.add(this.centerFrame)},e.prototype.getRowHeader=function(){var e,t,n;if(!this.rowHeader){var r=this.panelBBox,i=r.y,o=r.viewportHeight,a=r.viewportWidth,s=r.height,l=this.getSeriesNumberWidth();return new ZA({width:this.cornerBBox.width,height:s,viewportWidth:a,viewportHeight:o,position:{x:0,y:i},data:this.layoutResult.rowNodes,hierarchyType:this.cfg.hierarchyType,linkFields:null!==(n=null===(t=null===(e=this.cfg.spreadsheet.options)||void 0===e?void 0:e.interaction)||void 0===t?void 0:t.linkFields)&&void 0!==n?n:[],seriesNumberWidth:l,spreadsheet:this.spreadsheet})}return this.rowHeader},e.prototype.getColHeader=function(){if(!this.columnHeader){var e=this.panelBBox,t=e.x,n=e.width,r=e.viewportHeight,i=e.viewportWidth;return new KA({width:n,cornerWidth:this.cornerBBox.width,height:this.cornerBBox.height,viewportWidth:i,viewportHeight:r,position:{x:t,y:0},data:this.layoutResult.colNodes,scrollContainsRowHeader:this.cfg.spreadsheet.isScrollContainsRowHeader(),sortParam:this.cfg.spreadsheet.store.get("sortParam"),spreadsheet:this.spreadsheet})}return this.columnHeader},e.prototype.getCornerHeader=function(){return this.cornerHeader?this.cornerHeader:qA.getCornerHeader(this.panelBBox,this.cornerBBox,this.getSeriesNumberWidth(),this.cfg,this.layoutResult,this.spreadsheet)},e.prototype.getSeriesNumberHeader=function(){return QA.getSeriesNumberHeader(this.panelBBox,this.getSeriesNumberWidth(),this.layoutResult.rowsHierarchy.getNodes(0),this.spreadsheet,this.cornerBBox.width)},e.prototype.getCenterFrame=function(){var e;if(!this.centerFrame){var t=this.panelBBox,n=t.viewportWidth,r=t.viewportHeight,i=this.cornerBBox.width,o=this.cornerBBox.height,a=null===(e=this.cfg)||void 0===e?void 0:e.frame,s={position:{x:this.cornerBBox.x,y:this.cornerBBox.y},width:i,height:o,viewportWidth:n,viewportHeight:r,showViewportLeftShadow:!1,showViewportRightShadow:!1,scrollContainsRowHeader:this.cfg.spreadsheet.isScrollContainsRowHeader(),isPivotMode:this.cfg.spreadsheet.isPivotMode(),spreadsheet:this.cfg.spreadsheet};return a?a(s):new XA(s)}return this.centerFrame},e.prototype.updatePanelScrollGroup=function(){this.gridInfo=this.getGridInfo(),this.spreadsheet.panelScrollGroup.update(this.gridInfo)},e.prototype.dynamicRenderCell=function(e){var t=this.getScrollOffset(),n=t.scrollX,r=t.scrollY,i=t.rowHeaderScrollX,o=r+this.getPaginationScrollY(),a=HA(o,this.viewCellHeights.getTotalHeight(),this.panelBBox.viewportHeight);this.spreadsheet.hideTooltip(),this.spreadsheet.interaction.clearHoverTimer(),this.realCellRender(n,a),this.updatePanelScrollGroup(),this.translateRelatedGroups(n,a,i),this.clip(n,a),e||this.emitScrollEvent({scrollX:n,scrollY:a,rowHeaderScrollX:i}),this.onAfterScroll()},e.prototype.emitScrollEvent=function(e){this.spreadsheet.emit(Qi.LAYOUT_CELL_SCROLL,e),this.spreadsheet.emit(Qi.GLOBAL_SCROLL,e)},e.prototype.saveInitColumnLeafNodes=function(e){void 0===e&&(e=[]);var t=this.spreadsheet,n=t.store,r=t.options.interaction.hiddenColumnFields;e.length+r.length!==n.get("initColumnLeafNodes",[]).length&&n.set("initColumnLeafNodes",e)},e.prototype.getHiddenColumnsInfo=function(e){var t=this.spreadsheet.store.get("hiddenColumnsDetail",[]);return $g(t)?null:t.find((function(t){var n;return null===(n=null==t?void 0:t.hideColumnNodes)||void 0===n?void 0:n.some((function(t){return t.id===e.id}))}))},e.prototype.getCornerNodes=function(){var e;return(null===(e=this.cornerHeader)||void 0===e?void 0:e.getNodes())||[]},e}(),eR=function(e){var t,n,r,i=e.facetCfg,o=e.customTreeItems,a=void 0===o?[]:o,s=e.level,l=e.parentNode,c=e.hierarchy,u=i.spreadsheet,h=i.collapsedRows,p=i.hierarchyCollapse;try{for(var d=ca(a),f=d.next();!f.done;f=d.next()){var m=f.value,g=m.key,y=m.title,v=m.collapsed,_=m.children,b=la(m,["key","title","collapsed","children"]),E=((r={})[no]=g,r),T=OE(l.id,y),x=null!=v&&v,S=vu(h,T),C=null!=S?S:p||x,A=new EE({id:T,key:g,label:y,value:y,level:s,parent:l,field:g,isTotals:!1,isCollapsed:C,hierarchy:c,query:E,spreadsheet:u,extra:b});s>c.maxLevel&&(c.maxLevel=s),$g(_)&&(A.isLeaf=!0);var R=AE(i,l,A,c);$g(_)||C||!R||eR({facetCfg:i,parentNode:A,level:s+1,hierarchy:c,customTreeItems:_})}}catch(e){t={error:e}}finally{try{f&&!f.done&&(n=d.return)&&n.call(d)}finally{if(t)throw t.error}}},tR=function(e){var t,n,r,i,o,a,s,l=e.parentNode,c=e.currentField,u=e.level,h=e.facetCfg,p=e.hierarchy,d=e.pivotMeta,f=h.spreadsheet,m=h.dataSet,g=h.collapsedRows,y=h.hierarchyCollapse,v=h.rowExpandDepth,_=l.query,b=l.id,E=(null===(i=f.dataCfg.fields.rows)||void 0===i?void 0:i.length)<=u,T=(null===(o=null==m?void 0:m.sortedDimensionValues)||void 0===o?void 0:o[c])||[],x=oT(Array.from(d.keys())),S=iT(x,T,(function(e){return xo===b?e:OE(b,e).slice(7)})),C=CE(S,h,l,c),A=f.store.get("drillItemsNum");E&&A>0&&(C=C.slice(0,A)),0===u&&function(e,t,n){var r=e.getTotalsConfig(t);r.showGrandTotals&&n[r.reverseLayout?"unshift":"push"](new xE(r.label,!1,!0))}(f,c,C);try{for(var R=ca(C),w=R.next();!w.done;w=R.next()){var L=w.value,O=L instanceof xE,N=O?null:d.get(L),I=void 0,k=_,D=!1,P=!1;if(O){var M=L;D=M.isGrandTotals,P=M.isSubTotals,I=pE(L.label),k=_}else I=L,k=sa(sa({},_),((r={})[c]=I,r));var F=OE(b,I),H=null==g?void 0:g[F],B=Xg(v)?u>v:null,U=null!==(a=null!=H?H:B)&&void 0!==a?a:y,j=new EE({id:F,key:c,label:I,value:I,level:u,parent:l,field:c,isTotals:O,isGrandTotals:D,isSubTotals:P,isCollapsed:U,hierarchy:p,query:k,spreadsheet:f});u>p.maxLevel&&(p.maxLevel=u);var G=!(null===(s=null==N?void 0:N.children)||void 0===s?void 0:s.size);(G||O)&&(j.isLeaf=!0),G||(j.isTotals=!0);var Y=AE(h,l,j,p);G||U||O||!Y||tR({level:u+1,currentField:N.childField,pivotMeta:N.children,facetCfg:h,parentNode:j,hierarchy:p})}}catch(e){t={error:e}}finally{try{w&&!w.done&&(n=R.return)&&n.call(R)}finally{if(t)throw t.error}}},nR=function(e){var t,n,r=e.isValueInCols,i=e.moreThanOneValue,o=e.rootNode,a=e.facetCfg,s=e.hierarchy,l=e.fields;e.isRowHeader?(t=!r&&i,n=!r&&!i):(t=r&&i,n=r&&!i),LE({addTotalMeasureInTotal:t,addMeasureInTotalQuery:n,parentNode:o,currentField:l[0],fields:l,facetCfg:a,hierarchy:s})},rR=function(e){var t=e.isRowHeader,n=e.facetCfg,r=n.spreadsheet,i=n.rows,o=void 0===i?[]:i,a=n.columns,s=void 0===a?[]:a,l=r.dataCfg.fields.valueInCols,c=r.isPivotMode(),u=n.dataSet.moreThanOneValue(),h=EE.rootNode(),p=new TE,d={isValueInCols:l,isPivotMode:c,moreThanOneValue:u,rootNode:h,hierarchy:p,spreadsheet:r,facetCfg:n,fields:t?o:s,isRowHeader:t};return t?function(e){e.spreadsheet.isHierarchyTreeType()?function(e){var t=e.facetCfg,n=e.rootNode,r=e.hierarchy,i=t.hierarchyType,o=t.rows,a=t.dataSet;"tree"===i?tR({level:0,currentField:o[0],pivotMeta:a.rowPivotMeta,facetCfg:t,parentNode:n,hierarchy:r}):function(e){var t=e.facetCfg,n=e.rootNode,r=e.hierarchy,i=t.dataSet.fields.customTreeItems;eR({customTreeItems:i,facetCfg:t,level:0,parentNode:n,hierarchy:r})}(e)}(e):nR(e)}(d):function(e){var t=e.isPivotMode,n=e.hierarchy,r=e.rootNode,i=e.facetCfg;t?nR(e):function(e){var t=e.facetCfg,n=t.columns,r=t.spreadsheet.store.get("hiddenColumnsDetail"),i=null==t?void 0:t.showSeriesNumber,o=ha([],ua(YE(n).filter((function(e){return!r||r.every((function(t){return t.hideColumnNodes.every((function(t){return t.field!==e}))}))}))),!1),a=ha([],ua(n),!1),s={};i&&(a.unshift({key:oo}),s[oo]=!0),o.reduce((function(e,t){return e[t]=!0,e}),s),IE(jE(a,s),e,0,null)}({parentNode:r,hierarchy:n,facetCfg:i})}(d),{hierarchy:p,leafNodes:t&&r.isHierarchyTreeType()?p.getNodes():p.getLeaves()}},iR=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return aa(t,e),Object.defineProperty(t.prototype,"rowCellTheme",{get:function(){return this.spreadsheet.theme.rowCell.cell},enumerable:!1,configurable:!0}),t.prototype.doLayout=function(){var e=rR({isRowHeader:!0,facetCfg:this.cfg}),t=e.leafNodes,n=e.hierarchy,r=rR({isRowHeader:!1,facetCfg:this.cfg}),i=r.leafNodes,o=r.hierarchy;this.calculateNodesCoordinate(t,n,i,o);var a=this.cfg,s=a.dataSet,l=a.spreadsheet,c={colNodes:o.getNodes(),colsHierarchy:o,rowNodes:n.getNodes(),rowsHierarchy:n,rowLeafNodes:t,colLeafNodes:i,getCellMeta:function(e,n){var r,o,a,c=e||0,u=n||0,h=t[c],p=i[u];if(!h||!p)return null;var d,f=h.query,m=p.query,g=h.isTotals||h.isTotalMeasure||p.isTotals||p.isTotalMeasure,y=l.options.hierarchyType,v=null!==(o=vu(l,"facet.cfg.colCfg.hideMeasureColumn"))&&void 0!==o&&o&&"customTree"!==y?((r={})[no]=null===(a=s.fields.values)||void 0===a?void 0:a[0],r):{},_=Ey({},f,m,v),b=s.getCellData({query:_,rowNode:h,isTotals:g}),E=null;return $g(b)?d=vu(_,[no],""):(d=vu(b,[no],""),E=vu(b,[to],null),g&&(d=vu(_,[no],""),E=vu(b,d,null))),{spreadsheet:l,x:p.x,y:h.y,width:p.width,height:h.height,data:b,rowIndex:c,colIndex:u,isTotals:g,valueField:d,fieldValue:E,rowQuery:f,colQuery:m,rowId:h.id,colId:p.id,id:_x(h.id,p.id)}},spreadsheet:l};return function(e,t){var n=null==e?void 0:e.layoutDataPosition;if(n){var r=t.getCellMeta,i=n(e.spreadsheet,r);return sa(sa({},t),{getCellMeta:i})}return t}(this.cfg,c)},t.prototype.calculateNodesCoordinate=function(e,t,n,r){this.calculateRowNodesCoordinate(e,t,n),this.calculateColNodesCoordinate(n,r,e,t.width)},t.prototype.calculateColNodesCoordinate=function(e,t,n,r){var i,o,a,s,l=EE.blankNode(),c=t.getNodes();try{for(var u=ca(t.sampleNodesForAllLevels),h=u.next();!h.done;h=u.next()){var p=h.value;p.height=this.getColNodeHeight(p),t.height+=p.height}}catch(e){i={error:e}}finally{try{h&&!h.done&&(o=u.return)&&o.call(u)}finally{if(i)throw i.error}}for(var d=0,f=function(i){var o=c[i];if(o.isLeaf&&(o.colIndex=d,d+=1,o.x=l.x+l.width,o.width=m.calculateColLeafNodesWidth(o,e,n,r),t.width+=o.width,l=o),0===o.level)o.y=0;else{var s=t.sampleNodesForAllLevels.find((function(e){return e.level===o.level-1}));o.y=null!==(a=(null==s?void 0:s.y)+(null==s?void 0:s.height))&&void 0!==a?a:0}o.height=o.isGrandTotals&&o.isLeaf?t.height:m.getColNodeHeight(o),RE(m.cfg,null,o)},m=this,g=0;g<c.length;g++)f(g);this.autoCalculateColNodeWidthAndX(e),$g(null===(s=this.spreadsheet.options.totals)||void 0===s?void 0:s.col)||(this.adjustTotalNodesCoordinate(t),this.adjustSubTotalNodesCoordinate(t))},t.prototype.autoCalculateColNodeWidthAndX=function(e){for(var t,n=null,r=e.slice(0);r.length;){var i=r.shift().parent;if(n!==i&&i){r.push(i);var o=null===(t=i.children)||void 0===t?void 0:t.find((function(e){return!e.hiddenChildNodeInfo})),a=null==o?void 0:o.x,s=A_(i.children,"width");i.x=a,i.width=s,n=i}}},t.prototype.calculateColLeafNodesWidth=function(e,t,n,r){var i,o,a,s,l,c=this.cfg,u=c.colCfg,h=c.dataSet,p=c.filterDisplayDataItem,d=this.getCellDraggedWidth(e);if(Xg(d))return d;var f=this.getCellCustomWidth(e,null==u?void 0:u.width);if(Xg(f))return f;if(this.spreadsheet.getLayoutWidthType()===ta.Compact){for(var m=this.spreadsheet.theme.colCell,g=m.bolderText,y=m.cell,v=m.icon,_=this.spreadsheet.dataSet.getFieldFormatter(e.field),b=null!==(i=null==_?void 0:_(e.value))&&void 0!==i?i:e.label,E=this.getExpectedCellIconWidth(Uo.COL_CELL,this.spreadsheet.isValueInCols()&&this.spreadsheet.options.showDefaultHeaderActionIcon,v),T=this.spreadsheet.measureTextWidthRoughly(b)+E,x=void 0,S=0,C=0;C<50;C++){var A=n[C];if(A){var R=h.getCellData({query:sa(sa({},e.query),A.query),rowNode:A,isTotals:e.isTotals||e.isTotalMeasure||A.isTotals||A.isTotalMeasure});if(R){var w=yx(R,p),L=null!==(a=null===(o=this.spreadsheet.dataSet.getFieldFormatter(R[no]))||void 0===o?void 0:o(w))&&void 0!==a?a:w,O="".concat(L),N=this.spreadsheet.measureTextWidthRoughly(O);N>S&&(x=O,S=N)}}}var I=T>S,k=I?b:x,D=I?E:0;return $E.getInstance().logger("Max Label In Col:",e.field,k),this.spreadsheet.measureTextWidth(k,g)+(null===(s=y.padding)||void 0===s?void 0:s.left)+(null===(l=y.padding)||void 0===l?void 0:l.right)+D}return this.spreadsheet.isHierarchyTreeType()?this.getAdaptTreeColWidth(e,t,n):this.getAdaptGridColWidth(t,r)},t.prototype.getColNodeHeight=function(e){var t=this.cfg.colCfg,n=vu(t,["heightByField",e.key]);return null!=n?n:null==t?void 0:t.height},t.prototype.getExpectedCellIconWidth=function(e,t,n){var r,i=0;if(t)i=1;else{var o=Mx(Wm(this.spreadsheet.options.headerActionIcons,(function(e){return sa(sa({},e),{displayCondition:function(){return!0}})})),null,e);i=null!==(r=null==o?void 0:o.iconNames.length)&&void 0!==r?r:0}return i?i*(n.size+n.margin.left)+n.margin.right:0},t.prototype.calculateRowNodesCoordinate=function(e,t,n){var r,i,o,a,s,l,c,u,h,p,d=this.cfg,f=d.cellCfg,m=d.spreadsheet,g=m.isHierarchyTreeType(),y=vu(m,"options.style.rowCfg.heightByField",{}),v=null!==(o=t.sampleNodesForAllLevels)&&void 0!==o?o:[];if(g)t.width=this.getTreeRowHeaderWidth();else try{for(var _=ca(t.sampleNodesForAllLevels),b=_.next();!b.done;b=_.next()){var E=b.value;E.width=this.calculateGridRowNodesWidth(E,n),t.width+=E.width;var T=null!==(a=v[E.level-1])&&void 0!==a?a:{x:0,width:0};E.x=(null==T?void 0:T.x)+(null==T?void 0:T.width)}}catch(e){r={error:e}}finally{try{b&&!b.done&&(i=_.return)&&i.call(_)}finally{if(r)throw r.error}}for(var x=EE.blankNode(),S=t.getNodes(),C=0;C<S.length;C++){var A=S[C];if((g||!g&&A.isLeaf)&&(null!==(s=A.rowIndex)&&void 0!==s||(A.rowIndex=C),null!==(l=A.colIndex)&&void 0!==l||(A.colIndex=C),A.y=x.y+x.height,A.height=(null!==(c=null==y?void 0:y[A.id])&&void 0!==c?c:null==f?void 0:f.height)+(null===(u=this.rowCellTheme.padding)||void 0===u?void 0:u.top)+(null===(h=this.rowCellTheme.padding)||void 0===h?void 0:h.bottom),x=A,t.height+=A.height),g||0===A.level?A.x=0:(T=v[A.level-1],A.x=(null==T?void 0:T.x)+(null==T?void 0:T.width)),g)A.width=this.getTreeRowHeaderWidth();else{var R=v[A.level];A.width=null==R?void 0:R.width}RE(this.cfg,A,null)}g||(this.autoCalculateRowNodeHeightAndY(e),$g(null===(p=m.options.totals)||void 0===p?void 0:p.row)||(this.adjustTotalNodesCoordinate(t,!0),this.adjustSubTotalNodesCoordinate(t,!0)))},t.prototype.autoCalculateRowNodeHeightAndY=function(e){for(var t=null,n=e.slice(0);n.length;){var r=n.shift().parent;t!==r&&r&&(n.push(r),r.y=r.children[0].y,r.height=r.children.map((function(e){return e.height})).reduce((function(e,t){return e+t}),0),t=r)}},t.prototype.adjustTotalNodesCoordinate=function(e,t){var n,r,i,o=this.cfg.dataSet.moreThanOneValue(),a=e.maxLevel,s=Hm(e.getNodes(0),(function(e){return e.isGrandTotals}));if(s instanceof EE){var l=s.children;if(t)s.width=e.width,dm(l,(function(t){var n=e.getNodes(a)[0];t.x=n.x,t.width=n.width}));else if(a>1||a<=1&&!o){var c=null!==(r=null===(n=null==l?void 0:l[0])||void 0===n?void 0:n.height)&&void 0!==r?r:0;s.height=e.height-c;var u=null===(i=Hm(e.getNodes(a),(function(e){return!e.isTotalMeasure})))||void 0===i?void 0:i.y;dm(l,(function(e){e.y=u}))}}},t.prototype.adjustSubTotalNodesCoordinate=function(e,t){var n=e.getNodes().filter((function(e){return e.isSubTotals}));if(!$g(n)){var r=e.maxLevel;dm(n,(function(n){var i,o,a,s=n.children;if(t)n.width=PA(e.sampleNodesForAllLevels,n.level,"width"),dm(s,(function(t){t.x=e.getNodes(r)[0].x}));else{var l=PA(e.sampleNodesForAllLevels,n.level,"height"),c=null!==(o=null===(i=null==s?void 0:s[0])||void 0===i?void 0:i.height)&&void 0!==o?o:0;n.height=l-c,dm(s,(function(t){t.y=e.getNodes(r)[0].y}));var u=null===(a=Hm(e.getNodes(r),(function(e){return!e.isTotalMeasure})))||void 0===a?void 0:a.y;dm(s,(function(e){e.y=u}))}}))}},t.prototype.calculateGridRowNodesWidth=function(e,t){var n=this.cfg,r=n.rowCfg,i=n.spreadsheet,o=vu(r,["widthByField",e.key]);if(Xg(o))return o;var a=this.getCellCustomWidth(e,null==r?void 0:r.width);return Xg(a)?a:i.getLayoutWidthType()!==ta.Adaptive?this.getCompactGridRowWidth(e):this.getAdaptGridColWidth(t)},t.prototype.getAdaptTreeColWidth=function(e,t,n){var r=this.getCanvasHW().width-this.getSeriesNumberWidth(),i=Math.min(r/2,this.getTreeRowHeaderWidth()),o=Math.max(1,t.length),a=this.cfg.cellCfg;return Math.max(BT(a,this.getColLabelLength(e,n)),(r-i)/o)},t.prototype.getColLabelLength=function(e,t){var n,r=UT(null==e?void 0:e.value);if(Na(r))return r.length;for(var i=1,o=0;o<50;o++){var a=t[o];if(!a)return i;for(var s=this.cfg.dataSet.getCellData({query:sa(sa({},e.query),a.query),rowNode:a,isTotals:e.isTotals||e.isTotalMeasure||a.isTotals||a.isTotalMeasure}),l=Fc(s),c=0;c<l.length;c++){var u=s[l[c]],h=u_(null===(n=null==u?void 0:u.values)||void 0===n?void 0:n[0]);h>i&&(i=h)}}return i},t.prototype.getAdaptGridColWidth=function(e,t){var n=this.cfg,r=n.rows,i=n.cellCfg,o=r.length,a=e.length,s=this.getCanvasHW().width-this.getSeriesNumberWidth(),l=Math.max(1,o+a);return t?Math.max(BT(i),(s-t)/a):Math.max(BT(i),s/l)},t.prototype.getTreeRowHeaderWidth=function(){var e,t,n,r,i=this.cfg,o=i.rows,a=i.dataSet,s=i.rowCfg,l=i.treeRowsWidth,c=null!=l?l:null==s?void 0:s.treeRowsWidth;if(c)return c;var u=this.getCellCustomWidth(null,null==s?void 0:s.width);if(u)return u;var h=o.map((function(e){return a.getFieldName(e)})).join("/"),p=this.spreadsheet.theme.cornerCell,d=p.bolderText,f=p.icon,m=this.spreadsheet.measureTextWidth(h,d)+2*f.size+(null===(e=f.margin)||void 0===e?void 0:e.left)+(null===(t=f.margin)||void 0===t?void 0:t.right)+(null===(n=this.rowCellTheme.padding)||void 0===n?void 0:n.left)+(null===(r=this.rowCellTheme.padding)||void 0===r?void 0:r.right);return Math.max(null!=c?c:120,m)},t.prototype.getCompactGridRowWidth=function(e){var t,n=this,r=this.cfg,i=r.dataSet,o=r.spreadsheet,a=o.theme.rowCell,s=a.bolderText,l=a.icon,c=a.cell,u=o.theme.cornerCell,h=u.bolderText,p=u.icon,d=u.cell,f=e.field,m=e.isLeaf,g=this.getExpectedCellIconWidth(Uo.ROW_CELL,!o.isValueInCols()&&m&&o.options.showDefaultHeaderActionIcon,l),y=null===(t=i.getDimensionValues(f))||void 0===t?void 0:t.slice(0,50).map((function(e){var t,r;return null!==(r=null===(t=n.spreadsheet.dataSet.getFieldFormatter(f))||void 0===t?void 0:t(e))&&void 0!==r?r:e})),v=yy(y,(function(e){return"".concat(e).length})),_=o.measureTextWidth(v,s)+g+c.padding.left+c.padding.right,b=i.getFieldName(f),E=this.getExpectedCellIconWidth(Uo.CORNER_CELL,!1,p),T=o.measureTextWidth(b,h)+E+d.padding.left+d.padding.right;return $E.getInstance().logger("Max Label In Row:",f,_>T?v:b),Math.max(_,T)},t.prototype.getViewCellHeights=function(e){var t=Xv(e.rowLeafNodes,(function(e,t){return e.push(om(e)+t.height),e}),[0]);return{getTotalHeight:function(){return om(t)},getCellOffsetY:function(e){return t[e]},getTotalLength:function(){return t.length-1},getIndexRange:function(e,n){return MA(t,e,n)}}},t}(JA),oR=function(e){function t(t){var n,r=this;(r=e.call(this,t)||this).getScrollGroupClipBBox=function(){var e,t=r.headerConfig,n=t.width,i=t.height,o=t.scrollX,a=t.spreadsheet,s=a.options;if(!s.frozenColCount&&!s.frozenTrailingColCount)return{x:o,y:0,width:n,height:i};for(var l=null===(e=a.facet)||void 0===e?void 0:e.layoutResult.colLeafNodes,c=pT(a.options,l.length),u=c.frozenColCount,h=c.frozenTrailingColCount,p=0,d=0,f=0;f<u;f++)p+=l[f].width;for(f=0;f<h;f++)d+=l[l.length-1-f].width;return{x:o+p,y:0,width:n-p-d,height:i}};var i=null===(n=r.headerConfig.spreadsheet)||void 0===n?void 0:n.options,o=i.frozenColCount,a=i.frozenTrailingColCount;return o&&(r.frozenColGroup=r.addGroup({name:"colFrozenGroup",zIndex:4})),a&&(r.frozenTrailingColGroup=r.addGroup({name:"colFrozenTrailingGroup",zIndex:4})),r}return aa(t,e),t.prototype.isFrozenCell=function(e){var t=this.headerConfig.spreadsheet,n=null==t?void 0:t.options,r=n.frozenColCount,i=n.frozenTrailingColCount,o=e.colIndex,a=null==t?void 0:t.facet.layoutResult.colLeafNodes;return kE(o,r)||DE(o,i,a.length)},t.prototype.clear=function(){var t,n,r=this.headerConfig.spreadsheet;e.prototype.clear.call(this),null===(t=this.frozenTrailingColGroup)||void 0===t||t.clear(),null===(n=this.frozenColGroup)||void 0===n||n.clear();var i=null==r?void 0:r.foregroundGroup.findById(bo);null==i||i.clear()},t.prototype.getCellInstance=function(e,t,n){return e.field===oo?new mS(e,t,n):new fS(e,t,n)},t.prototype.getCellGroup=function(e){var t,n,r=this.headerConfig.spreadsheet,i=null==r?void 0:r.options,o=i.frozenColCount,a=i.frozenTrailingColCount,s=null===(t=null==r?void 0:r.facet)||void 0===t?void 0:t.layoutResult.colNodes.filter((function(e){return GE(e)})),l=UE(s,o,a),c=l.colCount,u=l.trailingColCount;return kE(zE(e).colIndex,c)?this.frozenColGroup:DE(zE(e).colIndex,u,null===(n=null==r?void 0:r.facet)||void 0===n?void 0:n.layoutResult.colLeafNodes.length)?this.frozenTrailingColGroup:this.scrollGroup},t.prototype.isColCellInRect=function(t){var n,r,i=this.headerConfig.spreadsheet,o=null==i?void 0:i.options,a=o.frozenColCount,s=o.frozenTrailingColCount,l=null===(n=null==i?void 0:i.facet)||void 0===n?void 0:n.layoutResult.colLeafNodes.length,c=null===(r=null==i?void 0:i.facet)||void 0===r?void 0:r.layoutResult.colNodes.filter((function(e){return GE(e)})),u=UE(c,a,s),h=u.colCount,p=u.trailingColCount;return!(!kE(zE(t).colIndex,h)&&!DE(zE(t).colIndex,p,l))||e.prototype.isColCellInRect.call(this,t)},t.prototype.clip=function(){this.scrollGroup.setClip({type:"rect",attrs:this.getScrollGroupClipBBox()})},t}(KA),aR=function(e){function t(t){var n,r=e.call(this,t)||this;r.frozenGroupInfo=((n={})[Lo.FROZEN_COL]={width:0},n[Lo.FROZEN_ROW]={height:0},n[Lo.FROZEN_TRAILING_ROW]={height:0},n[Lo.FROZEN_TRAILING_COL]={width:0},n),r.panelScrollGroupIndexes=[],r.onSortHandler=function(e){var t=r.spreadsheet,n=e;Array.isArray(e)||(n=[e]);var i=t.dataCfg.sortParams||[];n=n.map((function(e){var t,n,r=sa(sa({},e),{sortFieldId:null!==(t=e.sortKey)&&void 0!==t?t:e.sortFieldId}),o=null!==(n=i.find((function(e){return e.sortFieldId===r.sortFieldId})))&&void 0!==n?n:{};return sa(sa({},o),r)}));var o=i.filter((function(e){return!n.find((function(t){return t.sortFieldId===e.sortFieldId}))}));s_(t.dataCfg,"sortParams",ha(ha([],ua(o),!1),ua(n),!1)),t.setDataCfg(t.dataCfg),t.render(!0),t.emit(Qi.RANGE_SORTED,t.dataSet.getDisplayDataSet())},r.onFilterHandler=function(e){var t=r.spreadsheet,n=!e.filteredValues||0===e.filteredValues.length,i=t.dataCfg.filterParams||[],o=i.findIndex((function(t){return t.filterKey===e.filterKey}));-1!==o?n?i.splice(o):i[o]=e:i.push(e),s_(t.dataCfg,"filterParams",i),t.render(!0),t.emit(Qi.RANGE_FILTERED,t.dataSet.getDisplayDataSet())},r.initFrozenGroupPosition=function(){var e=r.getScrollOffset(),t=e.scrollY,n=e.scrollX,i=r.getPaginationScrollY();HE(r.spreadsheet.frozenRowGroup,r.cornerBBox.width-n,r.cornerBBox.height-i),HE(r.spreadsheet.frozenColGroup,r.cornerBBox.width,r.cornerBBox.height-t-i),HE(r.spreadsheet.frozenTrailingColGroup,r.cornerBBox.width,r.cornerBBox.height-t-i),HE(r.spreadsheet.frozenTopGroup,r.cornerBBox.width,r.cornerBBox.height-i)},r.getTotalHeightForRange=function(e,t){if(e<0||t<0)return 0;if(r.rowOffsets)return r.rowOffsets[t+1]-r.rowOffsets[e];for(var n=0,i=e;i<t+1;i++)n+=r.getDefaultCellHeight();return n},r.getShadowFill=function(e){var t,n,i=vu(r.cfg,"spreadsheet.theme.splitLine");return"l (".concat(e,") 0:").concat(null===(t=i.shadowColors)||void 0===t?void 0:t.left," 1:").concat(null===(n=i.shadowColors)||void 0===n?void 0:n.right)},r.renderFrozenGroupSplitLine=function(e,t){var n,i=r.panelBBox,o=i.width,a=i.height,s=i.viewportWidth,l=i.viewportHeight,c=r.cornerBBox.height,u=r.layoutResult.colNodes.filter((function(e){return GE(e)})),h=r.getCellRange(),p=h.end-h.start,d=pT(r.spreadsheet.options,u.length,p),f=d.frozenRowCount,m=d.frozenColCount,g=d.frozenTrailingColCount,y=d.frozenTrailingRowCount,v=Math.floor(t-r.getPaginationScrollY()),_=Math.max(0,om(r.viewCellWidths)-s),b=Math.max(0,r.viewCellHeights.getCellOffsetY(h.end+1)-r.viewCellHeights.getCellOffsetY(h.start)-l);null===(n=r.foregroundGroup.findById(go))||void 0===n||n.remove();var E,T,x,S,C=vu(r.cfg,"spreadsheet.theme.splitLine"),A=r.foregroundGroup.addGroup({id:go,zIndex:4}),R={lineWidth:null==C?void 0:C.verticalBorderWidth,stroke:null==C?void 0:C.verticalBorderColor,opacity:null==C?void 0:C.verticalBorderColorOpacity},w={lineWidth:null==C?void 0:C.horizontalBorderWidth,stroke:null==C?void 0:C.horizontalBorderColor,opacity:null==C?void 0:C.horizontalBorderColorOpacity};m>0&&(gT(A,{x1:E=u.reduce((function(e,t,n){return n<m?e+t.width:e}),0),x2:E,y1:c,y2:c+(T=y>0?a:l)},sa({},R)),C.showShadow&&e>0&&A.addShape("rect",{attrs:{x:E,y:c,width:C.shadowWidth,height:T,fill:r.getShadowFill(0)}})),f>0&&(gT(A,{x1:0,x2:S=g>0?o:s,y1:x=c+r.getTotalHeightForRange(h.start,h.start+f-1),y2:x},sa({},w)),C.showShadow&&v>0&&A.addShape("rect",{attrs:{x:0,y:x,width:S,height:C.shadowWidth,fill:r.getShadowFill(90)}})),g>0&&(gT(A,{x1:E=u[u.length-g].x,x2:E,y1:c,y2:c+(T=y?a:l)},sa({},R)),C.showShadow&&Math.floor(e)<Math.floor(_)&&A.addShape("rect",{attrs:{x:E-C.shadowWidth,y:c,width:C.shadowWidth,height:T,fill:r.getShadowFill(180)}})),y>0&&(gT(A,{x1:0,x2:S=g>0?o:s,y1:x=r.panelBBox.maxY-r.getTotalHeightForRange(h.end-y+1,h.end),y2:x},sa({},w)),C.showShadow&&v<Math.floor(b)&&A.addShape("rect",{attrs:{x:0,y:x-C.shadowWidth,width:S,height:C.shadowWidth,fill:r.getShadowFill(270)}})),r.foregroundGroup.sort()},r.renderFrozenPanelCornerGroup=function(){var e=r.layoutResult.colNodes.filter((function(e){return GE(e)})),t=r.getCellRange(),n=pT(r.spreadsheet.options,e.length,t.end-t.start+1),i=n.frozenRowCount,o=n.frozenColCount,a=n.frozenTrailingRowCount,s=n.frozenTrailingColCount,l=UE(e,o,s),c=function(e,t,n){for(var r,i=e.frozenColCount,o=e.frozenRowCount,a=e.frozenTrailingColCount,s=e.frozenTrailingRowCount,l=((r={})[wo.TOP]=[],r[wo.BOTTOM]=[],r),c=0;c<i;c++){for(var u=n.start;u<n.start+o;u++)l[wo.TOP].push({x:c,y:u});if(s>0)for(u=0;u<s;u++){var h=n.end-u;l[wo.BOTTOM].push({x:c,y:h})}}for(c=0;c<a;c++){var p=t-1-c;for(u=n.start;u<n.start+o;u++)l[wo.TOP].push({x:p,y:u});if(s>0)for(u=0;u<s;u++)h=n.end-u,l[wo.BOTTOM].push({x:p,y:h})}return l}({frozenRowCount:i,frozenColCount:l.colCount,frozenTrailingRowCount:a,frozenTrailingColCount:l.trailingColCount},r.layoutResult.colLeafNodes.length,t);Object.keys(c).forEach((function(e){var t=c[e],n=r.spreadsheet[jo[e]];n&&t.forEach((function(e){r.addFrozenCell(e.x,e.y,n)}))}))},r.addFrozenCell=function(e,t,n){var i=r.layoutResult.getCellMeta(t,e);if(i.isFrozenCorner=!0,i){var o=r.cfg.dataCell(i);n.add(o)}},r.getRealFrozenColumns=function(e,t){var n,i=e,o=t;if(e||t){var a=r.layoutResult.colsHierarchy.getNodes();a=a.filter((function(e){return GE(e)})),i=(n=UE(a,e,t)).colCount,o=n.trailingColCount}return{colCount:i,trailingColCount:o}},r.addCell=function(e){var t=r.spreadsheet.options,n=t.frozenRowCount,i=t.frozenColCount,o=t.frozenTrailingRowCount,a=t.frozenTrailingColCount,s=r.layoutResult.colsHierarchy.getLeaves().length,l=r.getCellRange(),c=r.getRealFrozenColumns(i,a),u=c.colCount,h=c.trailingColCount,p=function(e,t,n,r){var i=t.frozenColCount,o=t.frozenRowCount,a=t.frozenTrailingColCount,s=t.frozenTrailingRowCount,l=e.colIndex,c=e.rowIndex;return PE(c,r.start,o)?wo.ROW:ME(c,r.end,s)?wo.TRAILING_ROW:kE(l,i)?wo.COL:DE(l,a,n)?wo.TRAILING_COL:wo.SCROLL}(e.getMeta(),{frozenRowCount:n,frozenColCount:u,frozenTrailingRowCount:o,frozenTrailingColCount:h},s,l),d=jo[p];d&&r.spreadsheet[d].add(e)},r.getFrozenOptions=function(){var e=r.layoutResult.colLeafNodes.length,t=r.getCellRange();return pT(r.cfg,e,t.end-t.start+1)};var i=r.spreadsheet;return i.on(Qi.RANGE_SORT,r.onSortHandler),i.on(Qi.RANGE_FILTER,r.onFilterHandler),r}return aa(t,e),Object.defineProperty(t.prototype,"dataCellTheme",{get:function(){return this.spreadsheet.theme.dataCell.cell},enumerable:!1,configurable:!0}),t.prototype.destroy=function(){var t=this.spreadsheet;t.off(Qi.RANGE_SORT,this.onSortHandler),t.off(Qi.RANGE_FILTER,this.onFilterHandler),e.prototype.destroy.call(this)},t.prototype.calculateCornerBBox=function(){var e=this.layoutResult.colsHierarchy,t=Math.floor(e.height);this.cornerBBox=new $A(this),this.cornerBBox.height=t,this.cornerBBox.maxY=t},t.prototype.doLayout=function(){var e=this,t=this.cfg,n=t.dataSet,r=t.spreadsheet,i=new TE,o=rR({isRowHeader:!1,facetCfg:this.cfg}),a=o.leafNodes,s=o.hierarchy;this.calculateColNodesCoordinate(a,s);var l={colNodes:s.getNodes(),colsHierarchy:s,rowNodes:i.getNodes(),rowsHierarchy:i,rowLeafNodes:i.getLeaves(),colLeafNodes:a,getCellMeta:function(t,i){var o,s,l=e.cfg.showSeriesNumber,c=a[i],u=e.getCellHeight(t),h=e.getCellRange(),p=pT(e.cfg,a.length,h.end-h.start+1).frozenTrailingRowCount,d=c.x,f=e.viewCellHeights.getCellOffsetY(t);return ME(t,h.end,p)&&(f=e.panelBBox.maxY-e.getTotalHeightForRange(t,h.end)),s=l&&c.field===oo?t+1:n.getCellData({query:{col:c.field,rowIndex:t}}),{spreadsheet:r,x:d,y:f,width:c.width,height:u,data:(o={},o[c.field]=s,o),rowIndex:t,colIndex:i,isTotals:!1,colId:c.id,rowId:String(t),valueField:c.field,fieldValue:s,id:_x(String(t),c.id)}},spreadsheet:r};return l},t.prototype.getAdaptiveColWidth=function(e){var t=this.cfg.cellCfg,n=this.cfg.showSeriesNumber;if(this.spreadsheet.getLayoutWidthType()!==ta.Compact){var r=this.getSeriesNumberWidth(),i=e.length-(n?1:0),o=this.getCanvasHW().width-r;return Math.max(null==t?void 0:t.width,o/Math.max(1,i))}return null==t?void 0:t.width},t.prototype.getColNodeHeight=function(e,t){var n=this.cfg.colCfg,r=fg(null==n?void 0:n.heightByField)[0]||(null==n?void 0:n.height);if(!t)return r;if(e.children&&e.children.length)return r;for(;e.parent;)t-=GE(e)?0:r,e=e.parent;return t},t.prototype.calculateColNodesCoordinate=function(e,t){var n,r,i,o,a,s,l=EE.blankNode(),c=t.getNodes();try{for(var u=ca(t.sampleNodesForAllLevels),h=u.next();!h.done;h=u.next()){var p=h.value;p.height=this.getColNodeHeight(p),t.height+=p.height}}catch(e){n={error:e}}finally{try{h&&!h.done&&(r=u.return)&&r.call(u)}finally{if(n)throw n.error}}for(var d=this.getAdaptiveColWidth(e),f=0,m=0;m<c.length;m++)(E=c[m]).isLeaf&&(E.colIndex=f,f+=1,E.x=l.x+l.width,E.width=this.calculateColLeafNodesWidth(E,d),RE(this.cfg,null,E),t.width+=E.width,l=E),0===E.level?E.y=0:E.y=null!==(a=(null===(i=E.parent)||void 0===i?void 0:i.y)+(null===(o=E.parent)||void 0===o?void 0:o.height))&&void 0!==a?a:0,E.height=this.getColNodeHeight(E,t.height);var g=c.filter((function(e){return GE(e)})),y=pT(null===(s=this.spreadsheet)||void 0===s?void 0:s.options,g.length).frozenTrailingColCount;l=EE.blankNode();var v=this.getCanvasHW().width;if(y>0){var _=UE(g,0,y).trailingColCount,b=c.filter((function(e){return e.isLeaf}));for(m=1;m<=_;m++){var E;(E=b[b.length-m]).x=1===m?v-E.width:l.x-E.width,l=E}}this.autoCalculateColNodeWidthAndX(e)},t.prototype.autoCalculateColNodeWidthAndX=function(e){for(var t=null,n=e.slice(0);n.length;){var r=n.shift().parent;t!==r&&r&&(n.push(r),r.x=r.children[0].x,r.width=r.children.map((function(e){return e.width})).reduce((function(e,t){return e+t}),0),t=r)}},t.prototype.calculateColLeafNodesWidth=function(e,t){var n=this.cfg,r=n.colCfg,i=n.dataSet,o=n.spreadsheet,a=this.spreadsheet.getLayoutWidthType(),s=this.getCellDraggedWidth(e);if(Xg(s))return s;var l,c,u,h,p,d,f=this.getCellCustomWidth(e,null==r?void 0:r.width);if(Xg(f))return f;if(a===ta.Compact){var m=i.getDisplayDataSet(),g=i.getFieldFormatter(e.field),y=yy(null==m?void 0:m.slice(0,50).map((function(t){var n;return"".concat(null!==(n=null==g?void 0:g(t[e.field]))&&void 0!==n?n:t[e.field])})),(function(e){return o.measureTextWidthRoughly(e)}));$E.getInstance().logger("Max Label In Col:",e.field,y);var v=o.theme.colCell.bolderText,_=o.theme.dataCell,b=_.text,E=_.cell,T=o.measureTextWidth(y,b)+E.padding.left+E.padding.right+1,x=o.measureTextWidth(e.label,v)+(c=this.spreadsheet,u=e,h=o.theme.colCell,p=vu(h,"cell.padding"),d=dS(c,u.field,h),p.left+p.right+function(e,t,n,r){var i,o,a,s=vu(r,"size"),l=vu(r,"margin");return(a=e.options.showDefaultHeaderActionIcon?1:null!==(o=null===(i=Mx(e.options.headerActionIcons,t,n))||void 0===i?void 0:i.iconNames.length)&&void 0!==o?o:0)*(s+l.left)+(a>0?l.right:0)}(c,u,Uo.COL_CELL,vu(h,"icon"))+d.left+d.right);l=Math.max(x,T)}else l=t;return e.field===oo&&(l=this.getSeriesNumberWidth()),l},t.prototype.getDefaultCellHeight=function(){var e=this.cfg.cellCfg;return null==e?void 0:e.height},t.prototype.getCellHeight=function(e){if(this.rowOffsets){var t=vu(this.spreadsheet,"options.style.rowCfg.heightByField",{}),n=null==t?void 0:t[String(e)];if(Xg(n))return n}return this.getDefaultCellHeight()},t.prototype.initRowOffsets=function(){var e=this,t=this.cfg.dataSet,n=vu(this.spreadsheet,"options.style.rowCfg.heightByField",{});if(Object.keys(n).length){var r=t.getDisplayDataSet();this.rowOffsets=[0];var i=0;r.forEach((function(t,r){var o,a=null!==(o=null==n?void 0:n[String(r)])&&void 0!==o?o:e.getDefaultCellHeight(),s=i+a;e.rowOffsets.push(s),i=s}))}},t.prototype.getViewCellHeights=function(){var e=this,t=this.cfg.dataSet;this.initRowOffsets();var n=this.getDefaultCellHeight();return{getTotalHeight:function(){return e.rowOffsets?om(e.rowOffsets):n*t.getDisplayDataSet().length},getCellOffsetY:function(t){if(t<=0)return 0;if(e.rowOffsets)return e.rowOffsets[t];for(var r=0,i=0;i<t;i++)r+=n;return r},getTotalLength:function(){return t.getDisplayDataSet().length},getIndexRange:function(t,r){if(e.rowOffsets)return MA(e.rowOffsets,t,r);var i=Math.floor(t/n),o=r%n==0?r/n-1:Math.floor(r/n);return{start:Math.max(0,i),end:Math.max(0,o)}}}},t.prototype.init=function(){e.prototype.init.call(this);var t=this.panelBBox,n=t.width,r=t.height;this.spreadsheet.panelGroup.setClip({type:"rect",attrs:{x:0,y:this.cornerBBox.height,width:n,height:r}})},t.prototype.getColHeader=function(){if(!this.columnHeader){var e=this.panelBBox,t=e.x,n=e.width,r=e.viewportHeight,i=e.viewportWidth;return new oR({width:n,height:this.cornerBBox.height,viewportWidth:i,viewportHeight:r,cornerWidth:this.cornerBBox.width,position:{x:t,y:0},data:this.layoutResult.colNodes,scrollContainsRowHeader:this.cfg.spreadsheet.isScrollContainsRowHeader(),sortParam:this.cfg.spreadsheet.store.get("sortParam"),spreadsheet:this.spreadsheet})}return this.columnHeader},t.prototype.updateRowResizeArea=function(){var e=this.spreadsheet,t=e.foregroundGroup,n=vu(e.options,"interaction.resize");if(Bg(n)?n:null==n?void 0:n.rowCellVertical){var r=t.findById(fo),i=t.findById(mo);r&&r.set("children",[]),i&&i.set("children",[]),BA(this.panelGroup.getChildren(),gS).filter((function(e){return e.shouldDrawResizeArea()})).forEach((function(e){e.drawResizeArea()}))}},t.prototype.render=function(){this.calculateFrozenGroupInfo(),this.renderFrozenPanelCornerGroup(),e.prototype.render.call(this),this.initFrozenGroupPosition()},t.prototype.calculateFrozenGroupInfo=function(){var e=this.getFrozenOptions(),t=e.frozenColCount,n=e.frozenRowCount,r=e.frozenTrailingColCount,i=e.frozenTrailingRowCount,o=this.layoutResult.colNodes.filter((function(e){return GE(e)})),a=this.viewCellHeights,s=this.getCellRange(),l=this.frozenGroupInfo,c=l.frozenCol,u=l.frozenTrailingCol,h=l.frozenRow,p=l.frozenTrailingRow;t>0&&(c.width=o[t-1].x+o[t-1].width-0,c.range=[0,t-1]),n>0&&(h.height=a.getCellOffsetY(s.start+n)-a.getCellOffsetY(s.start),h.range=[s.start,s.start+n-1]),r>0&&(u.width=o[o.length-1].x-o[o.length-r].x+o[o.length-1].width,u.range=[o.length-r,o.length-1]),i>0&&(p.height=a.getCellOffsetY(s.end+1)-a.getCellOffsetY(s.end+1-i),p.range=[s.end-i+1,s.end])},t.prototype.getRowHeader=function(){return null},t.prototype.getSeriesNumberHeader=function(){return null},t.prototype.translateRelatedGroups=function(t,n,r){var i=this,o=this.spreadsheet,a=o.frozenColGroup,s=o.frozenTrailingColGroup;[o.frozenRowGroup,o.frozenTrailingRowGroup].forEach((function(e){BE(e,i.cornerBBox.width-t)})),[a,s].forEach((function(e){!function(e,t){var n,r=null==e?void 0:e.getMatrix(),i=null!==(n=null==r?void 0:r[7])&&void 0!==n?n:0;null==e||e.translate(0,t-i)}(e,i.cornerBBox.height-n)})),e.prototype.translateRelatedGroups.call(this,t,n,r),this.updateRowResizeArea(),this.renderFrozenGroupSplitLine(t,n)},t.prototype.calculateXYIndexes=function(e,t){var n=this.layoutResult.colLeafNodes.length,r=this.getCellRange(),i=this.panelBBox,o=i.viewportHeight,a=i.viewportWidth,s=this.getFrozenOptions(),l=s.frozenColCount,c=s.frozenRowCount,u=s.frozenTrailingColCount,h=s.frozenTrailingRowCount,p={width:a,height:o,x:0,y:0};if(u>0||l>0){var d=this.frozenGroupInfo,f=d.frozenTrailingCol,m=d.frozenCol;p.width-=f.width+m.width,p.x+=m.width}if(h>0||c>0){var g=this.frozenGroupInfo,y=g.frozenRow,v=g.frozenTrailingRow;p.height<y.height+v.height?(p.height=0,p.y=0):(p.height-=y.height+v.height,p.y+=y.height)}var _=FE(e,t,this.viewCellWidths,this.viewCellHeights,p,this.getRealScrollX(this.cornerBBox.width));this.panelScrollGroupIndexes=_;var b=this.getRealFrozenColumns(l,u);return function(e,t,n,r){var i=t.frozenColCount,o=t.frozenRowCount,a=t.frozenTrailingColCount,s=t.frozenTrailingRowCount,l=ha([],ua(e),!1);kE(l[0],i)&&(l[0]=i),DE(l[1],a,n)&&(l[1]=n-a-1),PE(l[2],r.start,o)&&(l[2]=r.start+o),ME(l[3],r.end,s)&&(l[3]=r.end-s);var c=ha([],ua(l),!1);c[2]=r.start,c[3]=r.start+o-1;var u=ha([],ua(l),!1);u[0]=0,u[1]=i-1;var h=ha([],ua(l),!1);h[2]=r.end+1-s,h[3]=r.end;var p=ha([],ua(l),!1);return p[0]=n-a,p[1]=n-1,{center:l,frozenRow:c,frozenCol:u,frozenTrailingCol:p,frozenTrailingRow:h}}(_,{frozenColCount:b.colCount,frozenRowCount:c,frozenTrailingColCount:b.trailingColCount,frozenTrailingRowCount:h},n,r)},t.prototype.clip=function(e,t){var n,r,i=this.layoutResult.colLeafNodes,o=this.getPaginationScrollY(),a=this.spreadsheet,s=a.frozenRowGroup,l=a.frozenColGroup,c=a.frozenTrailingColGroup,u=a.frozenTrailingRowGroup,h=a.panelScrollGroup,p=l.getBBox().width,d=s.getBBox().height,f=c.getBBox(),m=u.getBBox().height,g=this.panelBBox.width-p-c.getBBox().width,y=this.panelBBox.height-d-m;h.setClip({type:"rect",attrs:{x:e+p,y:t+d,width:g,height:y}}),s.setClip({type:"rect",attrs:{x:e+p,y:o,width:g,height:d}}),u.setClip({type:"rect",attrs:{x:e+p,y:u.getBBox().minY,width:g,height:m}});var v={y:t+d,height:y};l.setClip({type:"rect",attrs:sa(sa({},v),{x:0,width:p})}),c.setClip({type:"rect",attrs:sa(sa({},v),{x:f.minX,width:f.width})});var _=this.spreadsheet.foregroundGroup.findById(fo);_&&_.setClip({type:"rect",attrs:{x:0,y:d+this.cornerBBox.height,width:null!==(r=null===(n=null==i?void 0:i[0])||void 0===n?void 0:n.width)&&void 0!==r?r:0,height:y}})},t.prototype.updatePanelScrollGroup=function(){var t=this;e.prototype.updatePanelScrollGroup.call(this),[Lo.FROZEN_COL,Lo.FROZEN_ROW,Lo.FROZEN_TRAILING_COL,Lo.FROZEN_TRAILING_ROW].forEach((function(e){if(t.frozenGroupInfo[e].range){var n=[],r=[];if(e.toLowerCase().includes("row")){var i=ua(t.frozenGroupInfo[e].range,2),o=i[0],a=i[1];if(n=t.gridInfo.cols,r=jA(o,a,t.viewCellHeights),e===Lo.FROZEN_TRAILING_ROW){var s=t.spreadsheet.frozenTrailingRowGroup.getBBox().minY;r=function(e,t,n,r){var i=jA(e,t,r),o=r.getCellOffsetY(e);return i.map((function(e){return e-o+n}))}(o,a,Math.ceil(s),t.viewCellHeights)}}else{var l=ua(t.frozenGroupInfo[e].range,2),c=l[0],u=l[1],h=t.layoutResult.colNodes.filter((function(e){return GE(e)}));n=UA(c,u,h),r=t.gridInfo.rows}t.spreadsheet["".concat(e,"Group")].updateGrid({cols:n,rows:r},"".concat(e,"Group"))}}))},t}(JA),sR=function(e){function t(t){var n=e.call(this,t)||this;return n.gridInfo={cols:[],rows:[]},n.updateGrid=function(e,t){void 0===t&&(t=Eo);var r=n.getBBox(),i=n.s2,o=i.theme,a=i.isTableMode,s=o.dataCell.cell,l=a()&&(t===Eo||t===lo);n.gridGroup&&n.findById(t)||(n.gridGroup=n.addGroup({id:t})),n.gridGroup.clear(),n.gridInfo=e,l&&n.gridInfo.cols.unshift(0);var c=s.verticalBorderWidth,u=s.verticalBorderWidth/2;n.gridInfo.cols.forEach((function(e){gT(n.gridGroup,{x1:e,x2:e,y1:Math.ceil(r.minY+u),y2:Math.floor(r.maxY-u)},{stroke:s.verticalBorderColor,strokeOpacity:s.verticalBorderColorOpacity,lineWidth:c,lineCap:Oo})}));var h=s.horizontalBorderWidth,p=s.horizontalBorderWidth/2;n.gridInfo.rows.forEach((function(e){gT(n.gridGroup,{x1:Math.ceil(r.minX+p),x2:Math.floor(r.maxX-p),y1:e,y2:e},{stroke:s.horizontalBorderColor,strokeOpacity:s.horizontalBorderColorOpacity,lineWidth:h,lineCap:Oo})})),n.gridGroup.toFront()},n.s2=t.s2,n}return aa(t,e),t}(mi),lR=function(e){function t(t){var n=e.call(this,t)||this;return n.initMergedCellsGroup(),n}return aa(t,e),t.prototype.initMergedCellsGroup=function(){this.mergedCellsGroup&&this.findById(ao)||(this.mergedCellsGroup=this.addGroup({id:ao}))},t.prototype.updateMergedCells=function(){this.initMergedCellsGroup(),function(e,t){var n,r=null===(n=e.options)||void 0===n?void 0:n.mergedCellsInfo;if(!$g(r)){var i=e.interaction.getPanelGroupAllDataCells();if(!$g(i)){var o=[];r.forEach((function(t){var n=Cx(i,e,t);n.cells.length>0&&o.push(n)}));var a=t.getChildren(),s=function(e){return Wm(e,(function(e){return{cells:e.cells,viewMeta:e.getMeta()}}))}(a),l=Rx(s,o),c=Rx(o,s);dm(l,(function(e){var t=Hm(a,(function(t){return Wg(t.getMeta().id,e.viewMeta.id)}));null==t||t.remove(!0)})),dm(c,(function(n){var r=n.cells,i=n.viewMeta;t.add(Ax(e,r,i))}))}}}(this.s2,this.mergedCellsGroup),this.mergedCellsGroup.toFront()},t.prototype.addMergeCell=function(e){var t;null===(t=this.mergedCellsGroup)||void 0===t||t.add(e)},t.prototype.update=function(e){this.updateGrid(e),this.updateMergedCells()},t}(sR),cR=function(){function e(e){var t=this;this.isLinkFieldText=function(e){var n=t.getCellAppendInfo(e);return null==n?void 0:n.isLinkFieldText},this.spreadsheet=e,this.bindEvents()}return e.prototype.getCellAppendInfo=function(e){var t,n;return(null===(t=null==e?void 0:e.attr)||void 0===t?void 0:t.call(e,"appendInfo"))||(null===(n=null==e?void 0:e.attrs)||void 0===n?void 0:n.appendInfo)||{}},e.prototype.reset=function(){},e}(),uR=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return aa(t,e),t.prototype.bindEvents=function(){this.bindDataCellClick()},t.prototype.bindDataCellClick=function(){var e=this;this.spreadsheet.on(Qi.DATA_CELL_CLICK,(function(t){var n;t.stopPropagation();var r=e.spreadsheet.interaction;if(r.clearHoverTimer(),!r.hasIntercepts([$o.CLICK]))if(e.isLinkFieldText(t.target))e.emitLinkFieldClickEvent(t);else{var i=e.spreadsheet.getCell(t.target),o=i.getMeta();if(o)if(r.addIntercepts([$o.HOVER]),r.isSelectedCell(i))1===(null===(n=t.originalEvent)||void 0===n?void 0:n.detail)&&r.reset();else{r.changeState({cells:[bS(i)],stateName:Bo.SELECTED,onUpdateCells:SS}),e.spreadsheet.emit(Qi.GLOBAL_SELECTED,[i]),e.showTooltip(t,o);var a=o.rowId,s=o.colId,l=o.spreadsheet,c=r.getSelectedCellHighlight(),u=c.colHeader,h=c.rowHeader;if(u&&mx(s,r.getAllColHeaderCells(),Bo.SELECTED),h&&a){var p=function(e,t){var n=t.interaction,r=t.facet,i=t.options;if(t.isTableMode()){if(!i.showSeriesNumber)return[];var o=r.layoutResult.colLeafNodes[0].id,a=_x(String(e.rowIndex),o),s=[],l=n.getAllCells().find((function(e){return e.getMeta().id===a}));return l&&l instanceof yS&&s.push(l),s}return fx(e.rowId,n.getAllRowHeaderCells(),t.isHierarchyTreeType())}(o,l);dm(p,(function(e){e.updateByState(Bo.SELECTED)}))}}}}))},t.prototype.getTooltipOperator=function(e,t){var n=this,r={key:"trend",text:pE("趋势"),icon:"Trend"},i=this.spreadsheet.getCell(e.target),o=RA(this.spreadsheet,e).operation,a=o.trend&&sa(sa({},r),{onClick:function(){n.spreadsheet.emit(Qi.DATA_CELL_TREND_ICON_CLICK,sa(sa({},t),{record:n.spreadsheet.isTableMode()?n.spreadsheet.dataSet.getCellData({query:{rowIndex:t.rowIndex}}):void 0})),n.spreadsheet.hideTooltip()}});return wA(o,{defaultMenus:[a],cell:i})},t.prototype.showTooltip=function(e,t){var n=t.data,r=t.isTotals,i=void 0!==r&&r,o=t.value,a=t.fieldValue,s=t.field,l=t.valueField,c=n,u=this.spreadsheet.isTableMode(),h=[(u?sa(sa({},c),{value:o||a,valueField:s||l}):c)||sa(sa({},t.rowQuery),t.colQuery)],p=this.getTooltipOperator(e,t);this.spreadsheet.showTooltipWithInfo(e,h,{isTotals:i,operator:p,enterable:!0,hideSummary:!0,showSingleTips:u})},t.prototype.emitLinkFieldClickEvent=function(e){var t=this.getCellAppendInfo(e.target).cellData,n=t.valueField,r=t.data;this.spreadsheet.emit(Qi.GLOBAL_LINK_FIELD_JUMP,{key:n,cellData:t,record:Object.assign({rowIndex:t.rowIndex},r)})},t}(cR),hR=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return aa(t,e),t.prototype.bindEvents=function(){this.bindDataCellClick()},t.prototype.bindDataCellClick=function(){var e=this;this.spreadsheet.on(Qi.MERGED_CELLS_CLICK,(function(t){t.stopPropagation();var n=e.spreadsheet.interaction;n.hasIntercepts([$o.CLICK])||n.addIntercepts([$o.HOVER])}))},t}(cR),pR=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.isMultiSelection=!1,t.handleRowColClick=function(e){if(e.stopPropagation(),!t.isLinkFieldText(e.target)){var n=t.spreadsheet,r=n.interaction,i=n.options,o=t.spreadsheet.getCell(e.target),a=!(!i.interaction.multiSelection||!t.isMultiSelection);r.selectHeaderCell({cell:o,isMultiSelection:a})&&t.showTooltip(e)}},t.getHideColumnField=function(e){return t.spreadsheet.isTableMode()?e.field:e.id},t}return aa(t,e),t.prototype.bindEvents=function(){this.bindKeyboardDown(),this.bindKeyboardUp(),this.bindColCellClick(),this.bindRowCellClick(),this.bindTableColExpand(),this.bindMouseMove()},t.prototype.reset=function(){this.isMultiSelection=!1,this.spreadsheet.interaction.removeIntercepts([$o.CLICK])},t.prototype.bindKeyboardDown=function(){var e=this;this.spreadsheet.on(Qi.GLOBAL_KEYBOARD_DOWN,(function(t){vS(t)&&(e.isMultiSelection=!0)}))},t.prototype.bindKeyboardUp=function(){var e=this;this.spreadsheet.on(Qi.GLOBAL_KEYBOARD_UP,(function(t){vS(t)&&e.reset()}))},t.prototype.bindMouseMove=function(){var e=this;this.spreadsheet.on(Qi.GLOBAL_MOUSE_MOVE,(function(t){e.isMultiSelection&&!_S(t)&&e.reset()}))},t.prototype.bindRowCellClick=function(){var e=this;this.spreadsheet.on(Qi.ROW_CELL_CLICK,(function(t){e.handleRowColClick(t)}))},t.prototype.bindColCellClick=function(){var e=this;this.spreadsheet.on(Qi.COL_CELL_CLICK,(function(t){e.handleRowColClick(t)}))},t.prototype.showTooltip=function(e){var t=RA(this.spreadsheet,e),n=t.operation;if(t.showTooltip){var r=this.spreadsheet.interaction,i=r.isSelectedState()?Wm(r.getActiveCells(),(function(e){var t=e.getMeta();return Uc({},t.query||{},Av(t,["colIndex","rowIndex"]))})):[],o=this.getTooltipOperator(e,n);this.spreadsheet.showTooltipWithInfo(e,i,{showSingleTips:!0,operator:o})}},t.prototype.getTooltipOperator=function(e,t){var n=this,r=this.spreadsheet.getCell(e.target),i=r.getMeta(),o=r.cellType===Uo.COL_CELL,a=1===this.spreadsheet.getColumnLeafNodes().length,s={key:"hiddenColumns",text:pE("隐藏"),icon:"EyeOutlined"},l=o&&!a&&i.isLeaf&&t.hiddenColumns&&sa(sa({},s),{onClick:function(){n.hideSelectedColumns()}});return wA(t,{defaultMenus:[l],cell:r})},t.prototype.bindTableColExpand=function(){var e=this;this.spreadsheet.on(Qi.LAYOUT_COLS_EXPANDED,(function(t){e.handleExpandIconClick(t)}))},t.prototype.hideSelectedColumns=function(){var e=this.spreadsheet.interaction.getActiveCells().map((function(e){return e.getMeta()})).map(this.getHideColumnField);Nx(this.spreadsheet,e,!0)},t.prototype.handleExpandIconClick=function(e){var t=this.spreadsheet.store.get("hiddenColumnsDetail",[]),n=(Ym(t,(function(t){var n=t.displaySiblingNode;return Ix(n,e.id)}))||{}).hideColumnNodes,r=void 0===n?[]:n,i=this.spreadsheet.options.interaction.hiddenColumnFields,o=r.map(this.getHideColumnField),a=im(i,o),s=t.filter((function(t){var n=t.displaySiblingNode;return!Ix(n,e.id)}));this.spreadsheet.setOptions({interaction:{hiddenColumnFields:a}}),this.spreadsheet.store.set("hiddenColumnsDetail",s),this.spreadsheet.interaction.reset(),this.spreadsheet.render(!1)},t}(cR),dR=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.getRowData=function(e){var n,r=e.getHeadLeafChild(),i=t.spreadsheet.dataSet.getMultiData(null==r?void 0:r.query,null==r?void 0:r.isTotals,!0)[0];return sa(sa({},i),{rowIndex:null!==(n=e.rowIndex)&&void 0!==n?n:r.rowIndex})},t}return aa(t,e),t.prototype.bindEvents=function(){this.bindRowCellClick()},t.prototype.bindRowCellClick=function(){var e=this;this.spreadsheet.on(Qi.ROW_CELL_CLICK,(function(t){if(!e.spreadsheet.interaction.hasIntercepts([$o.CLICK])&&e.isLinkFieldText(t.target)){var n=e.getCellAppendInfo(t.target).cellData,r=n.key,i=e.getRowData(n);e.spreadsheet.emit(Qi.GLOBAL_LINK_FIELD_JUMP,{key:r,cellData:n,record:i})}}))},t}(cR),fR=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return aa(t,e),t.prototype.bindEvents=function(){this.bindCornerCellClick()},t.prototype.bindCornerCellClick=function(){var e=this;this.spreadsheet.on(Qi.CORNER_CELL_CLICK,(function(t){var n,r=e.spreadsheet.interaction,i=e.spreadsheet.getCell(t.target);if(i){var o=i.getMeta(),a=e.getRowNodesByField(null==o?void 0:o.field),s=null===(n=a[0])||void 0===n?void 0:n.belongsCell,l=e.getRowCells(a);if(s&&r.isSelectedCell(s))return r.reset(),void e.spreadsheet.emit(Qi.GLOBAL_SELECTED,r.getActiveCells());$g(a)||$g(l)||(r.addIntercepts([$o.HOVER]),r.changeState({cells:l,stateName:Bo.SELECTED}),r.highlightNodes(a),e.showTooltip(t),e.spreadsheet.emit(Qi.GLOBAL_SELECTED,r.getActiveCells()))}}))},t.prototype.getRowNodesByField=function(e){return this.spreadsheet.getRowNodes().filter((function(t){return t.field===e}))},t.prototype.getRowCells=function(e){return e.map((function(e){return{id:e.id,colIndex:-1,rowIndex:-1,type:Uo.ROW_CELL}}))},t.prototype.showTooltip=function(e){var t=this.spreadsheet.interaction.getActiveCells();this.spreadsheet.showTooltipWithInfo(e,[],{data:{summaries:[{selectedData:t,name:"",value:null}]}})},t}(cR),mR=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return aa(t,e),t.prototype.bindEvents=function(){this.bindCornerCellHover(),this.bindDataCellHover(),this.bindRowCellHover(),this.bindColCellHover()},t.prototype.updateRowColCells=function(e){var t=e.rowId,n=e.colId,r=this.spreadsheet.interaction,i=r.getHoverHighlight(),o=i.rowHeader;i.colHeader&&mx(n,r.getAllColHeaderCells(),Bo.HOVER),o&&t&&dm(fx(t,r.getAllRowHeaderCells(),this.spreadsheet.isHierarchyTreeType()),(function(e){e.updateByState(Bo.HOVER)}))},t.prototype.changeStateToHoverFocus=function(e,t,n){var r,i=this,o=this.spreadsheet.interaction,a=this.spreadsheet.options.interaction.hoverFocus;o.clearHoverTimer();var s=function(){if(!o.hasIntercepts([$o.HOVER])){o.changeState({cells:[bS(e)],stateName:Bo.HOVER_FOCUS});var r=i.spreadsheet.isTableMode(),a={isTotals:n.isTotals,enterable:!0,hideSummary:!0,showSingleTips:r},s=o.getHoverHighlight(),l=s.rowHeader,c=s.colHeader;(l||c)&&i.updateRowColCells(n);var u=i.getCellData(n,r);i.spreadsheet.showTooltipWithInfo(t,u,a)}},l=800;if(Bg(a)||(l=null!==(r=null==a?void 0:a.duration)&&void 0!==r?r:800),0===l)s();else{var c=window.setTimeout((function(){return s()}),l);o.setHoverTimer(c)}},t.prototype.handleHeaderHover=function(e){var t=this.spreadsheet.getCell(e.target);if(!$g(t)){var n=this.spreadsheet.interaction;n.clearHoverTimer(),n.isActiveCell(t)||(n.changeState({cells:[bS(t)],stateName:Bo.HOVER}),t.update(),this.showEllipsisTooltip(e,t))}},t.prototype.showEllipsisTooltip=function(e,t){if(t&&t.getActualText()!==t.getFieldValue()){var n=t.getMeta(),r={isTotals:n.isTotals,enterable:!0,hideSummary:!0,showSingleTips:!0,enableFormat:this.spreadsheet.isPivotMode()},i=this.getCellData(n,!0);this.spreadsheet.showTooltipWithInfo(e,i,r)}},t.prototype.getCellData=function(e,t){void 0===e&&(e={});var n=e.data,r=e.query,i=e.value,o=e.field,a=e.fieldValue,s=e.valueField,l=e.rowQuery,c=e.colQuery,u=n;return t?[sa(sa({},r),{value:i||a,valueField:o||s})]:[u||sa(sa({},l),c)]},t.prototype.bindDataCellHover=function(){var e=this;this.spreadsheet.on(Qi.DATA_CELL_HOVER,(function(t){var n=e.spreadsheet.getCell(t.target);if(!$g(n)){var r=e.spreadsheet,i=r.interaction,o=r.options.interaction,a=null==n?void 0:n.getMeta();if(!i.isActiveCell(n)){i.changeState({cells:[bS(n)],stateName:Bo.HOVER});var s=i.getHoverHighlight(),l=s.rowHeader,c=s.colHeader;(l||c)&&e.updateRowColCells(a),o.hoverFocus&&e.changeStateToHoverFocus(n,t,a)}}}))},t.prototype.bindRowCellHover=function(){var e=this;this.spreadsheet.on(Qi.ROW_CELL_HOVER,(function(t){e.handleHeaderHover(t)}))},t.prototype.bindColCellHover=function(){var e=this;this.spreadsheet.on(Qi.COL_CELL_HOVER,(function(t){e.handleHeaderHover(t)}))},t.prototype.bindCornerCellHover=function(){var e=this;this.spreadsheet.on(Qi.CORNER_CELL_HOVER,(function(t){var n=e.spreadsheet.getCell(t.target);e.showEllipsisTooltip(t,n)}))},t}(cR),gR=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.displayedCells=[],t.brushRangeCells=[],t.brushSelectionStage=Go.UN_DRAGGED,t.brushSelectionMinimumMoveDistance=5,t.scrollAnimationComplete=!0,t.mouseMoveDistanceFromCanvas=0,t.setMoveDistanceFromCanvas=function(e,n,r){var i=0;if(n&&(i=e.x),r){var o=e.y;i=n?Math.max(o,i):o}t.mouseMoveDistanceFromCanvas=Math.abs(i)},t.formatBrushPointForScroll=function(e,n){var r,i,o,a;void 0===n&&(n=!1);var s=e.x,l=e.y,c=t.spreadsheet.facet,u=n?c.cornerBBox:c.panelBBox,h=u.minX,p=u.maxX,d=c.panelBBox,f=d.minY,m=d.maxY,g=(null===(r=t.endBrushPoint)||void 0===r?void 0:r.x)+s,y=(null===(i=t.endBrushPoint)||void 0===i?void 0:i.y)+l,v=!0,_=!0,b=null===(a=null===(o=c.vScrollBar)||void 0===o?void 0:o.getBBox())||void 0===a?void 0:a.width;return g>p?g=p-b-2:g<h?g=h+2:v=!1,y>m?y=m-2:y<=f?y=f+2:_=!1,{x:{value:g,needScroll:v},y:{value:y,needScroll:_}}},t.rectanglesIntersect=function(e,t){return e.maxX>t.minX&&e.minX<t.maxX&&e.minY<t.maxY&&e.maxY>t.minY},t.autoScrollIntervalId=null,t.autoScrollConfig=bd(na),t.validateYIndex=function(e){var n,r,i=t.spreadsheet.facet,o=i.frozenGroupInfo,a=0,s=null===(n=null==o?void 0:o.frozenRow)||void 0===n?void 0:n.range;if(s&&(a=s[1]+1),e<a)return null;var l=i.getCellRange().end,c=null===(r=null==o?void 0:o.frozenTrailingRow)||void 0===r?void 0:r.range;return c&&(l=c[0]-1),e>l?null:e},t.validateXIndex=function(e){var n,r,i=t.spreadsheet.facet,o=i.frozenGroupInfo,a=0,s=null===(n=null==o?void 0:o.frozenCol)||void 0===n?void 0:n.range;if(s&&(a=s[1]+1),e<a)return null;var l=i.layoutResult.colLeafNodes.length-1,c=null===(r=null==o?void 0:o.frozenTrailingCol)||void 0===r?void 0:r.range;return c&&(l=c[0]-1),e>l?null:e},t.adjustNextColIndexWithFrozen=function(e,n){var r=t.spreadsheet,i=r.facet,o=r.dataSet,a=r.options,s=o.getDisplayDataSet().length,l=i.layoutResult.colLeafNodes.length,c=pT(a,l,s),u=c.frozenTrailingColCount,h=c.frozenColCount,p=i.panelScrollGroupIndexes;return u>0&&n===Xo.SCROLL_DOWN&&DE(e,u,l)?p[1]:h>0&&n===Xo.SCROLL_UP&&kE(e,h)?p[0]:e},t.adjustNextRowIndexWithFrozen=function(e,n){var r=t.spreadsheet,i=r.facet,o=r.dataSet,a=r.options,s=o.getDisplayDataSet().length,l=i.layoutResult.colLeafNodes.length,c=i.getCellRange(),u=pT(a,l,s),h=u.frozenTrailingRowCount,p=u.frozenRowCount,d=i.panelScrollGroupIndexes;return h>0&&n===Xo.SCROLL_DOWN&&ME(e,c.end,h)?d[3]:p>0&&n===Xo.SCROLL_UP&&PE(e,c.start,p)?d[2]:e},t.getWillScrollRowIndexDiff=function(e){return e===Xo.SCROLL_DOWN?Zo.SCROLL_DOWN:Zo.SCROLL_UP},t.getDefaultWillScrollToRowIndex=function(e){var n=t.adjustNextRowIndexWithFrozen(t.endBrushPoint.rowIndex,e)+t.getWillScrollRowIndexDiff(e);return t.validateYIndex(n)},t.getWillScrollToRowIndex=function(e){return t.getDefaultWillScrollToRowIndex(e)},t.getNextScrollDelta=function(e){var n=t.spreadsheet.facet.getScrollOffset(),r=n.scrollX,i=n.scrollY,o=0,a=0;if(e.y.scroll){var s=e.y.value>0?Xo.SCROLL_DOWN:Xo.SCROLL_UP,l=t.getWillScrollToRowIndex(s),c=function(e,t,n){var r,i,o=n.facet,a=o.viewCellHeights.getCellOffsetY,s=o.panelBBox.height,l=a(e+1);if(Jg(l))return 0;var c=null==o?void 0:o.frozenGroupInfo,u=null!==(r=null==c?void 0:c.frozenRow.height)&&void 0!==r?r:0,h=null!==(i=null==c?void 0:c.frozenTrailingRow.height)&&void 0!==i?i:0;return t===Xo.SCROLL_UP?a(e)-u:l-(s-h)}(l,s,t.spreadsheet)-i;a=Jg(l)||Jg(c)||Number.isNaN(c)?0:c}if(e.x.scroll){s=e.x.value>0?Xo.SCROLL_DOWN:Xo.SCROLL_UP;var u=t.adjustNextColIndexWithFrozen(t.endBrushPoint.colIndex,s),h=t.validateXIndex(u+(e.x.value>0?1:-1));o=Jg(h)?0:function(e,t,n){var r,i,o=n.facet,a=o.panelBBox.width,s=null==o?void 0:o.frozenGroupInfo,l=null!==(r=null==s?void 0:s.frozenCol.width)&&void 0!==r?r:0,c=null!==(i=null==s?void 0:s.frozenTrailingCol.width)&&void 0!==i?i:0,u=o.layoutResult.colLeafNodes[e];return t===Xo.SCROLL_UP?u.x-l:u.x+u.width-(a-c)}(h,s,t.spreadsheet)-r}return{x:o,y:a}},t.onScrollAnimationComplete=function(){t.scrollAnimationComplete=!0,t.brushSelectionStage!==Go.UN_DRAGGED&&t.renderPrepareSelected(t.endBrushPoint)},t.autoScroll=function(e){if(void 0===e&&(e=!1),t.brushSelectionStage!==Go.UN_DRAGGED&&t.scrollAnimationComplete){var n=t.autoScrollConfig,r=t.spreadsheet.facet.getScrollOffset(),i=e?"rowHeaderOffsetX":"offsetX",o={rowHeaderOffsetX:{value:r.rowHeaderScrollX,animate:!0},offsetX:{value:r.scrollX,animate:!0},offsetY:{value:r.scrollY,animate:!0}},a=t.getNextScrollDelta(n),s=a.x,l=a.y;if(0!==l||0!==s){if(n.y.scroll&&(o.offsetY.value+=l),n.x.scroll){var c=o[i];c.value+=s,c.value<0&&(c.value=0)}t.scrollAnimationComplete=!1;var u=n.x.scroll?1:3,h=Math.max(16,300-t.mouseMoveDistanceFromCanvas*u);t.spreadsheet.facet.scrollWithAnimation(o,h,t.onScrollAnimationComplete)}else t.clearAutoScroll()}},t.handleScroll=G_((function(e,n,r){if(void 0===r&&(r=!1),t.brushSelectionStage!==Go.UN_DRAGGED){var i=t.formatBrushPointForScroll({x:e,y:n},r),o=i.x,a=o.value,s=o.needScroll,l=i.y,c=l.value,u=l.needScroll,h=t.autoScrollConfig;u&&(h.y.value=n,h.y.scroll=!0),s&&(h.x.value=e,h.x.scroll=!0),t.setMoveDistanceFromCanvas({x:e,y:n},s,u),t.renderPrepareSelected({x:a,y:c}),(u||s)&&(t.clearAutoScroll(),t.autoScroll(r),t.autoScrollIntervalId=setInterval((function(){t.autoScroll(r)}),16))}}),30),t.clearAutoScroll=function(){t.autoScrollIntervalId&&(clearInterval(t.autoScrollIntervalId),t.autoScrollIntervalId=null,t.resetScrollDelta())},t.onUpdateCells=function(e,t){return t()},t.showPrepareSelectedCells=function(){t.brushRangeCells=t.getBrushRangeCells(),t.spreadsheet.interaction.changeState({cells:Wm(t.brushRangeCells,(function(e){return bS(e)})),stateName:Bo.PREPARE_SELECT,force:!0,onUpdateCells:t.onUpdateCells})},t.renderPrepareSelected=function(e){var n=e.x,r=e.y,i=t.spreadsheet.container.getShape(n,r),o=t.spreadsheet.getCell(i);if(o&&(o instanceof Ex||o instanceof pS||o instanceof tS)){var a=o.getMeta(),s=a.rowIndex,l=a.colIndex;t.endBrushPoint={x:n,y:r,rowIndex:s,colIndex:l};var c=t.spreadsheet.interaction;c.addIntercepts([$o.HOVER]),c.clearStyleIndependent(),t.isValidBrushSelection()&&(t.showPrepareSelectedCells(),t.updatePrepareSelectMask())}},t}return aa(t,e),t.prototype.bindEvents=function(){this.bindMouseDown(),this.bindMouseMove(),this.bindMouseUp()},t.prototype.getPrepareSelectMaskTheme=function(){var e;return null===(e=this.spreadsheet.theme)||void 0===e?void 0:e.prepareSelectMask},t.prototype.initPrepareSelectMaskShape=function(){var e=this.spreadsheet.foregroundGroup;if(e){e.removeChild(this.prepareSelectMaskShape);var t=this.getPrepareSelectMaskTheme();this.prepareSelectMaskShape=e.addShape("rect",{visible:!1,attrs:{width:0,height:0,x:0,y:0,fill:null==t?void 0:t.backgroundColor,fillOpacity:null==t?void 0:t.backgroundOpacity,zIndex:5},capture:!1})}},t.prototype.setBrushSelectionStage=function(e){this.brushSelectionStage=e},t.prototype.isPointInCanvas=function(e){var t=this.spreadsheet.facet.getCanvasHW(),n=t.height,r=t.width,i=this.spreadsheet.facet.panelBBox,o=i.minX,a=i.minY;return e.x>o&&e.x<r&&e.y>a&&e.y<n},t.prototype.resetDrag=function(){this.hidePrepareSelectMaskShape(),this.setBrushSelectionStage(Go.UN_DRAGGED)},t.prototype.isValidBrushSelection=function(){var e=this.getBrushRange(),t=e.start,n=e.end;return n.x-t.x>this.brushSelectionMinimumMoveDistance||n.y-t.y>this.brushSelectionMinimumMoveDistance},t.prototype.setDisplayedCells=function(){this.displayedCells=this.spreadsheet.interaction.getPanelGroupAllDataCells()},t.prototype.updatePrepareSelectMask=function(){var e=this.getBrushRange(),t=this.getPrepareSelectMaskPosition(e),n=t.x,r=t.y;this.prepareSelectMaskShape.attr({x:n,y:r,width:e.width,height:e.height}),this.prepareSelectMaskShape.show()},t.prototype.hidePrepareSelectMaskShape=function(){var e;null===(e=this.prepareSelectMaskShape)||void 0===e||e.hide()},t.prototype.resetScrollDelta=function(){this.autoScrollConfig=bd(na)},t.prototype.getBrushPoint=function(e){var t=this.spreadsheet.facet.getScrollOffset(),n=t.scrollY,r=t.scrollX,i={x:null==e?void 0:e.x,y:null==e?void 0:e.y},o=this.spreadsheet.getCell(e.target).getMeta(),a=o.colIndex,s=o.rowIndex;return sa(sa({},i),{rowIndex:s,colIndex:a,scrollY:n,scrollX:r})},t.prototype.getBrushRange=function(){var e,t,n,r,i,o,a,s,l=this.spreadsheet.facet.getScrollOffset(),c=l.scrollX,u=l.scrollY,h=Math.min(this.startBrushPoint.rowIndex,null===(e=this.endBrushPoint)||void 0===e?void 0:e.rowIndex),p=Math.max(this.startBrushPoint.rowIndex,null===(t=this.endBrushPoint)||void 0===t?void 0:t.rowIndex),d=Math.min(this.startBrushPoint.colIndex,null===(n=this.endBrushPoint)||void 0===n?void 0:n.colIndex),f=Math.max(this.startBrushPoint.colIndex,null===(r=this.endBrushPoint)||void 0===r?void 0:r.colIndex),m=this.startBrushPoint.x+this.startBrushPoint.scrollX-c,g=this.startBrushPoint.y+this.startBrushPoint.scrollY-u,y=Math.min(m,null===(i=this.endBrushPoint)||void 0===i?void 0:i.x),v=Math.max(m,null===(o=this.endBrushPoint)||void 0===o?void 0:o.x),_=Math.min(g,null===(a=this.endBrushPoint)||void 0===a?void 0:a.y),b=Math.max(g,null===(s=this.endBrushPoint)||void 0===s?void 0:s.y);return{start:{rowIndex:h,colIndex:d,x:y,y:_},end:{rowIndex:p,colIndex:f,x:v,y:b},width:v-y,height:b-_}},t.prototype.getBrushRangeCells=function(){var e=this;return this.setDisplayedCells(),this.displayedCells.filter((function(t){var n=t.getMeta();return e.isInBrushRange(n)}))},t.prototype.mouseDown=function(e){var t;null===(t=null==e?void 0:e.preventDefault)||void 0===t||t.call(e),this.spreadsheet.interaction.hasIntercepts([$o.CLICK])||(this.setBrushSelectionStage(Go.CLICK),this.initPrepareSelectMaskShape(),this.setDisplayedCells(),this.startBrushPoint=this.getBrushPoint(e))},t.prototype.addBrushIntercepts=function(){this.spreadsheet.interaction.addIntercepts([$o.BRUSH_SELECTION])},t.prototype.bindMouseUp=function(e){var t=this;void 0===e&&(e=!1),this.spreadsheet.on(Qi.GLOBAL_MOUSE_UP,(function(n){if(t.brushSelectionStage===Go.DRAGGED){if(e&&t.clearAutoScroll(),t.isValidBrushSelection()){t.addBrushIntercepts(),t.updateSelectedCells();var r=AA(t.spreadsheet);t.spreadsheet.showTooltipWithInfo(n,r)}t.spreadsheet.interaction.getCurrentStateName()===Bo.PREPARE_SELECT&&t.spreadsheet.interaction.reset(),t.resetDrag()}else t.resetDrag()})),this.spreadsheet.on(Qi.GLOBAL_CONTEXT_MENU,(function(){t.brushSelectionStage!==Go.UN_DRAGGED&&(t.spreadsheet.interaction.removeIntercepts([$o.HOVER]),t.resetDrag())}))},t.prototype.autoBrushScroll=function(e,t){var n,r;if(void 0===t&&(t=!1),this.clearAutoScroll(),!this.isPointInCanvas(e)){var i=(null==e?void 0:e.x)-(null===(n=this.endBrushPoint)||void 0===n?void 0:n.x),o=(null==e?void 0:e.y)-(null===(r=this.endBrushPoint)||void 0===r?void 0:r.y);return this.handleScroll(i,o,t),!0}return!1},t.prototype.emitBrushSelectionEvent=function(e,t){this.spreadsheet.emit(e,t),this.spreadsheet.emit(Qi.GLOBAL_SELECTED,t),$g(t)&&this.spreadsheet.interaction.removeIntercepts([$o.HOVER])},t.prototype.getVisibleBrushRangeCells=function(e){return this.brushRangeCells.find((function(t){var n=t.getMeta();return(null==n?void 0:n.id)===e}))},t.prototype.isInBrushRange=function(e){return!1},t.prototype.bindMouseDown=function(){},t.prototype.bindMouseMove=function(){},t.prototype.updateSelectedCells=function(){},t.prototype.getPrepareSelectMaskPosition=function(e){return{x:e.start.x,y:e.start.y}},t}(cR),yR=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.displayedCells=[],t.brushRangeCells=[],t.onUpdateCells=function(e){return e.updateCells(e.getAllColHeaderCells())},t}return aa(t,e),t.prototype.bindEvents=function(){this.bindMouseDown(),this.bindMouseMove(),this.bindMouseUp()},t.prototype.bindMouseDown=function(){var t=this;this.spreadsheet.on(Qi.COL_CELL_MOUSE_DOWN,(function(n){e.prototype.mouseDown.call(t,n)}))},t.prototype.isPointInCanvas=function(e){var t=this.spreadsheet.facet.getCanvasHW().width,n=this.spreadsheet.facet.cornerBBox,r=n.width,i=n.minY,o=n.maxY;return e.x>=r&&e.x<=t&&e.y>=i&&e.y<=o},t.prototype.bindMouseMove=function(){var e=this;this.spreadsheet.on(Qi.COL_CELL_MOUSE_MOVE,(function(t){if(e.brushSelectionStage!==Go.UN_DRAGGED){e.setBrushSelectionStage(Go.DRAGGED);var n=e.spreadsheet.container.getPointByEvent(t.originalEvent);e.isPointInCanvas(n)&&e.renderPrepareSelected(n)}}))},t.prototype.setDisplayedCells=function(){this.displayedCells=this.spreadsheet.interaction.getAllColHeaderCells()},t.prototype.isInBrushRange=function(e){var t=this.getBrushRange(),n=t.start,r=t.end,i=this.spreadsheet.facet.getScrollOffset().scrollX,o=this.spreadsheet.facet.cornerBBox,a=e.x,s=void 0===a?0:a,l=e.y,c=void 0===l?0:l,u=e.width,h=void 0===u?0:u,p=e.height,d=void 0===p?0:p;return this.rectanglesIntersect({minX:n.x-o.width+i,minY:n.y,maxX:r.x-o.width+i,maxY:r.y},{minX:s,maxX:s+h,minY:c,maxY:c+d})},t.prototype.updateSelectedCells=function(){var e=this.spreadsheet.interaction;e.changeState({cells:Wm(this.brushRangeCells,bS),stateName:Bo.SELECTED,onUpdateCells:function(e){e.updateCells(e.getAllColHeaderCells())}}),this.spreadsheet.emit(Qi.COL_CELL_BRUSH_SELECTION,this.brushRangeCells),this.spreadsheet.emit(Qi.GLOBAL_SELECTED,this.brushRangeCells),$g(this.brushRangeCells)&&e.removeIntercepts([$o.HOVER])},t.prototype.addBrushIntercepts=function(){this.spreadsheet.interaction.addIntercepts([$o.COL_BRUSH_SELECTION])},t}(gR),vR=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.displayedCells=[],t.brushRangeCells=[],t.getSelectedCellMetas=function(e){var n=[],r=t.spreadsheet.facet.layoutResult,i=r.rowLeafNodes,o=void 0===i?[]:i,a=r.colLeafNodes,s=void 0===a?[]:a,l=$v(e.start.rowIndex,e.end.rowIndex+1),c=$v(e.start.colIndex,e.end.colIndex+1);return l.forEach((function(e){c.forEach((function(r){var i=String(s[r].id),a=$g(o)?String(e):String(o[e].id);n.push({colIndex:r,rowIndex:e,id:"".concat(a,"-").concat(i),type:Uo.DATA_CELL,rowId:a,colId:i,spreadsheet:t.spreadsheet})}))})),n},t}return aa(t,e),t.prototype.bindMouseDown=function(){var t=this;this.spreadsheet.on(Qi.DATA_CELL_MOUSE_DOWN,(function(n){e.prototype.mouseDown.call(t,n),t.resetScrollDelta()}))},t.prototype.bindMouseMove=function(){var e=this;this.spreadsheet.on(Qi.GLOBAL_MOUSE_MOVE,(function(t){if(e.brushSelectionStage!==Go.UN_DRAGGED){e.setBrushSelectionStage(Go.DRAGGED);var n=e.spreadsheet.container.getPointByEvent(t);e.autoBrushScroll(n)||e.renderPrepareSelected(n)}}))},t.prototype.isInBrushRange=function(e){var t=this.getBrushRange(),n=t.start,r=t.end,i=e.rowIndex,o=e.colIndex;return i>=n.rowIndex&&i<=r.rowIndex&&o>=n.colIndex&&o<=r.colIndex},t.prototype.updateSelectedCells=function(){var e=this.getBrushRange(),t=this.getSelectedCellMetas(e);this.spreadsheet.interaction.changeState({cells:t,stateName:Bo.SELECTED,onUpdateCells:SS});var n=this.getScrollBrushRangeCells(t);this.emitBrushSelectionEvent(Qi.DATA_CELL_BRUSH_SELECTION,n)},t.prototype.getScrollBrushRangeCells=function(e){var t=this;return e.map((function(e){var n=t.getVisibleBrushRangeCells(e.id);if(n)return n;var r=t.spreadsheet.facet.layoutResult.getCellMeta(e.rowIndex,e.colIndex);return new(t.spreadsheet.isTableMode()?gS:Ex)(r,t.spreadsheet)}))},t.prototype.bindMouseUp=function(){e.prototype.bindMouseUp.call(this,!0)},t.prototype.getPrepareSelectMaskPosition=function(e){var t=this.spreadsheet.facet.panelBBox,n=t.minX,r=t.minY;return{x:Math.max(e.start.x,n),y:Math.max(e.start.y,r)}},t}(gR),_R=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.isInBrushRange=function(e){var n=t.getBrushRange(),r=n.start,i=n.end,o=t.spreadsheet.facet.getScrollOffset(),a=o.scrollY,s=o.rowHeaderScrollX,l=t.spreadsheet.facet.cornerBBox,c=e.x,u=void 0===c?0:c,h=e.y,p=void 0===h?0:h,d=e.width,f=void 0===d?0:d,m=e.height,g=void 0===m?0:m;return t.rectanglesIntersect({minX:r.x+s,minY:r.y-l.height+a,maxX:i.x+s,maxY:i.y-l.height+a},{minX:u,maxX:u+f,minY:p,maxY:p+g})},t.onUpdateCells=function(e){return e.updateCells(e.getAllRowHeaderCells())},t.getSelectedRowNodes=function(){return t.spreadsheet.getRowNodes().filter(t.isInBrushRange)},t.getVisibleRowLeafCellByScrollDirection=function(e){var n=t.spreadsheet.interaction.getAllRowHeaderCells();return e===Xo.SCROLL_DOWN?om(n):n.find((function(e){return e.getMeta().isLeaf}))},t.getWillScrollToRowIndex=function(e){var n,r;if(!Jg(t.endBrushPoint.rowIndex))return t.getDefaultWillScrollToRowIndex(e);var i=t.getVisibleRowLeafCellByScrollDirection(e),o=(null!==(r=null===(n=null==i?void 0:i.getMeta())||void 0===n?void 0:n.rowIndex)&&void 0!==r?r:0)+t.getWillScrollRowIndexDiff(e);return t.validateYIndex(o)},t}return aa(t,e),t.prototype.bindMouseDown=function(){var t=this;this.spreadsheet.on(Qi.ROW_CELL_MOUSE_DOWN,(function(n){e.prototype.mouseDown.call(t,n)}))},t.prototype.isPointInCanvas=function(e){var t=this.spreadsheet.facet.getCanvasHW().height,n=this.spreadsheet.facet.cornerBBox,r=n.minX,i=n.height,o=n.maxX;return e.x>=r&&e.x<=o&&e.y>=i&&e.y<=t},t.prototype.bindMouseMove=function(){var e=this;this.spreadsheet.on(Qi.GLOBAL_MOUSE_MOVE,(function(t){if(e.brushSelectionStage!==Go.UN_DRAGGED){e.setBrushSelectionStage(Go.DRAGGED);var n=e.spreadsheet.container.getPointByEvent(t);e.autoBrushScroll(n,!0)||e.renderPrepareSelected(n)}}))},t.prototype.setDisplayedCells=function(){this.displayedCells=this.spreadsheet.interaction.getAllRowHeaderCells()},t.prototype.updateSelectedCells=function(){var e=this.getSelectedRowNodes(),t=this.getScrollBrushRangeCells(e),n=Wm(t,bS);this.spreadsheet.interaction.changeState({cells:n,stateName:Bo.SELECTED,onUpdateCells:this.onUpdateCells}),this.emitBrushSelectionEvent(Qi.ROW_CELL_BRUSH_SELECTION,t)},t.prototype.addBrushIntercepts=function(){this.spreadsheet.interaction.addIntercepts([$o.ROW_BRUSH_SELECTION])},t.prototype.getScrollBrushRangeCells=function(e){var t=this;return e.map((function(e){return t.getVisibleBrushRangeCells(e.id)||new pS(e,t.spreadsheet)}))},t.prototype.getPrepareSelectMaskPosition=function(e){var t=this.spreadsheet.facet.panelBBox.minY;return{x:e.start.x,y:Math.max(e.start.y,t)}},t}(gR),bR=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.isMultiSelection=!1,t}return aa(t,e),t.prototype.bindEvents=function(){this.bindKeyboardDown(),this.bindDataCellClick(),this.bindKeyboardUp(),this.bindMouseMove()},t.prototype.reset=function(){this.isMultiSelection=!1,this.spreadsheet.interaction.removeIntercepts([$o.CLICK])},t.prototype.bindKeyboardDown=function(){var e=this;this.spreadsheet.on(Qi.GLOBAL_KEYBOARD_DOWN,(function(t){vS(t)&&(e.isMultiSelection=!0,e.spreadsheet.interaction.addIntercepts([$o.CLICK]))}))},t.prototype.bindKeyboardUp=function(){var e=this;this.spreadsheet.on(Qi.GLOBAL_KEYBOARD_UP,(function(t){vS(t)&&e.reset()}))},t.prototype.bindMouseMove=function(){var e=this;this.spreadsheet.on(Qi.GLOBAL_MOUSE_MOVE,(function(t){e.isMultiSelection&&!_S(t)&&e.reset()}))},t.prototype.getSelectedCells=function(e){var t=e.getMeta().id,n=this.spreadsheet.interaction,r=n.getCells([Uo.DATA_CELL]);return n.getCurrentStateName()!==Bo.SELECTED&&(r=[]),r.find((function(e){return e.id===t}))?r.filter((function(e){return e.id!==t})):ha(ha([],ua(r),!1),[bS(e)],!1)},t.prototype.bindDataCellClick=function(){var e=this;this.spreadsheet.on(Qi.DATA_CELL_CLICK,(function(t){t.stopPropagation();var n=e.spreadsheet.getCell(t.target),r=n.getMeta(),i=e.spreadsheet,o=i.interaction;if(i.options,e.isMultiSelection&&r){var a=e.getSelectedCells(n);if($g(a))return o.clearState(),void e.spreadsheet.hideTooltip();o.addIntercepts([$o.CLICK,$o.HOVER]),e.spreadsheet.hideTooltip(),o.changeState({cells:a,stateName:Bo.SELECTED,onUpdateCells:SS}),e.spreadsheet.emit(Qi.GLOBAL_SELECTED,o.getActiveCells()),e.spreadsheet.showTooltipWithInfo(t,AA(e.spreadsheet))}}))},t}(cR),ER=function(){function e(e){var t=this;this.canvasEventHandlers=[],this.s2EventHandlers=[],this.domEventListeners=[],this.isCanvasEffect=!1,this.isGuiIconShape=function(e){return e instanceof Ti&&e.attrs.type===nT.type},this.onCanvasMousedown=function(e){if(t.target=e.target,t.spreadsheet.interaction.clearHoverTimer(),t.isResizeArea(e)){t.spreadsheet.emit(Qi.LAYOUT_RESIZE_MOUSE_DOWN,e);var n=function(n){if(!t.spreadsheet.getCanvasElement())return!1;t.spreadsheet.getCanvasElement()!==n.target&&(e.clientX=n.clientX,e.clientY=n.clientY,e.originalEvent=n,t.spreadsheet.emit(Qi.LAYOUT_RESIZE_MOUSE_MOVE,e))};return window.addEventListener("mousemove",n),void window.addEventListener("mouseup",(function(){window.removeEventListener("mousemove",n)}),{once:!0})}switch(t.spreadsheet.getCellType(e.target)){case Uo.DATA_CELL:t.spreadsheet.emit(Qi.DATA_CELL_MOUSE_DOWN,e);break;case Uo.ROW_CELL:t.spreadsheet.emit(Qi.ROW_CELL_MOUSE_DOWN,e);break;case Uo.COL_CELL:t.spreadsheet.emit(Qi.COL_CELL_MOUSE_DOWN,e);break;case Uo.CORNER_CELL:t.spreadsheet.emit(Qi.CORNER_CELL_MOUSE_DOWN,e);break;case Uo.MERGED_CELL:t.spreadsheet.emit(Qi.MERGED_CELLS_MOUSE_DOWN,e)}},this.onCanvasMousemove=function(e){if(t.canvasMousemoveEvent=e,t.isResizeArea(e))return t.activeResizeArea(e),void t.spreadsheet.emit(Qi.LAYOUT_RESIZE_MOUSE_MOVE,e);t.resetResizeArea();var n=t.spreadsheet.getCell(e.target);if(n){var r=n.cellType;switch(r){case Uo.DATA_CELL:t.spreadsheet.emit(Qi.DATA_CELL_MOUSE_MOVE,e);break;case Uo.ROW_CELL:t.spreadsheet.emit(Qi.ROW_CELL_MOUSE_MOVE,e);break;case Uo.COL_CELL:t.spreadsheet.emit(Qi.COL_CELL_MOUSE_MOVE,e);break;case Uo.CORNER_CELL:t.spreadsheet.emit(Qi.CORNER_CELL_MOUSE_MOVE,e);break;case Uo.MERGED_CELL:t.spreadsheet.emit(Qi.MERGED_CELLS_MOUSE_MOVE,e)}if(!t.hasBrushSelectionIntercepts())switch(t.spreadsheet.emit(Qi.GLOBAL_HOVER,e),r){case Uo.DATA_CELL:t.spreadsheet.emit(Qi.DATA_CELL_HOVER,e);break;case Uo.ROW_CELL:t.spreadsheet.emit(Qi.ROW_CELL_HOVER,e);break;case Uo.COL_CELL:t.spreadsheet.emit(Qi.COL_CELL_HOVER,e);break;case Uo.CORNER_CELL:t.spreadsheet.emit(Qi.CORNER_CELL_HOVER,e);break;case Uo.MERGED_CELL:t.spreadsheet.emit(Qi.MERGED_CELLS_HOVER,e)}}},this.onCanvasMouseup=function(e){if(t.isResizeArea(e))t.spreadsheet.emit(Qi.LAYOUT_RESIZE_MOUSE_UP,e);else{var n=t.spreadsheet.getCell(e.target);if(n){var r=n.cellType;if(t.target===e.target){var i=t.isGuiIconShape(e.target);switch(r){case Uo.DATA_CELL:t.spreadsheet.emit(Qi.DATA_CELL_CLICK,e);break;case Uo.ROW_CELL:if(i)break;t.spreadsheet.emit(Qi.ROW_CELL_CLICK,e);break;case Uo.COL_CELL:if(i)break;t.spreadsheet.emit(Qi.COL_CELL_CLICK,e);break;case Uo.CORNER_CELL:if(i)break;t.spreadsheet.emit(Qi.CORNER_CELL_CLICK,e);break;case Uo.MERGED_CELL:t.spreadsheet.emit(Qi.MERGED_CELLS_CLICK,e)}}switch(r){case Uo.DATA_CELL:t.spreadsheet.emit(Qi.DATA_CELL_MOUSE_UP,e);break;case Uo.ROW_CELL:t.spreadsheet.emit(Qi.ROW_CELL_MOUSE_UP,e);break;case Uo.COL_CELL:t.spreadsheet.emit(Qi.COL_CELL_MOUSE_UP,e);break;case Uo.CORNER_CELL:t.spreadsheet.emit(Qi.CORNER_CELL_MOUSE_UP,e);break;case Uo.MERGED_CELL:t.spreadsheet.emit(Qi.MERGED_CELLS_MOUSE_UP,e)}}}},this.onCanvasClick=function(e){t.spreadsheet.emit(Qi.GLOBAL_CLICK,e)},this.onCanvasDoubleClick=function(e){var n=t.spreadsheet;if(t.isResizeArea(e))n.emit(Qi.LAYOUT_RESIZE_MOUSE_UP,e);else{n.emit(Qi.GLOBAL_DOUBLE_CLICK,e);var r=n.getCell(e.target);if(r){var i=r.cellType;if(t.target===e.target)switch(i){case Uo.DATA_CELL:n.emit(Qi.DATA_CELL_DOUBLE_CLICK,e);break;case Uo.ROW_CELL:n.emit(Qi.ROW_CELL_DOUBLE_CLICK,e);break;case Uo.COL_CELL:n.emit(Qi.COL_CELL_DOUBLE_CLICK,e);break;case Uo.CORNER_CELL:n.emit(Qi.CORNER_CELL_DOUBLE_CLICK,e);break;case Uo.MERGED_CELL:n.emit(Qi.MERGED_CELLS_DOUBLE_CLICK,e)}}}},this.onCanvasMouseout=function(e){if(t.isAutoResetSheetStyle&&!(null==e?void 0:e.shape)){var n=t.spreadsheet.interaction;n.isSelectedState()||n.intercepts.size>0||n.reset()}},this.onCanvasContextMenu=function(e){var n=t.spreadsheet;if(t.isResizeArea(e))n.emit(Qi.LAYOUT_RESIZE_MOUSE_UP,e);else switch(n.emit(Qi.GLOBAL_CONTEXT_MENU,e),t.spreadsheet.getCellType(e.target)){case Uo.DATA_CELL:t.spreadsheet.emit(Qi.DATA_CELL_CONTEXT_MENU,e);break;case Uo.ROW_CELL:t.spreadsheet.emit(Qi.ROW_CELL_CONTEXT_MENU,e);break;case Uo.COL_CELL:t.spreadsheet.emit(Qi.COL_CELL_CONTEXT_MENU,e);break;case Uo.CORNER_CELL:t.spreadsheet.emit(Qi.CORNER_CELL_CONTEXT_MENU,e);break;case Uo.MERGED_CELL:t.spreadsheet.emit(Qi.MERGED_CELLS_CONTEXT_MENU,e)}},this.spreadsheet=e,this.bindEvents()}return Object.defineProperty(e.prototype,"canvasContainer",{get:function(){return this.spreadsheet.container},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isAutoResetSheetStyle",{get:function(){return this.spreadsheet.options.interaction.autoResetSheetStyle},enumerable:!1,configurable:!0}),e.prototype.bindEvents=function(){var e=this;this.clearAllEvents(),this.addCanvasEvent(Zi.CLICK,this.onCanvasClick),this.addCanvasEvent(Zi.MOUSE_DOWN,this.onCanvasMousedown),this.addCanvasEvent(Zi.MOUSE_MOVE,this.onCanvasMousemove),this.addCanvasEvent(Zi.MOUSE_OUT,this.onCanvasMouseout),this.addCanvasEvent(Zi.MOUSE_UP,this.onCanvasMouseup),this.addCanvasEvent(Zi.DOUBLE_CLICK,this.onCanvasDoubleClick),this.addCanvasEvent(Zi.CONTEXT_MENU,this.onCanvasContextMenu),this.addS2Event(Qi.GLOBAL_ACTION_ICON_CLICK,(function(){e.spreadsheet.interaction.addIntercepts([$o.HOVER]),e.spreadsheet.interaction.clearState()})),this.addDomEventListener(window,Zi.CLICK,(function(t){e.resetSheetStyle(t),e.isCanvasEffect=e.isMouseOnTheCanvasContainer(t)})),this.addDomEventListener(window,Zi.KEY_DOWN,(function(t){e.onKeyboardCopy(t),e.onKeyboardEsc(t),e.spreadsheet.emit(Qi.GLOBAL_KEYBOARD_DOWN,t)})),this.addDomEventListener(window,Zi.KEY_UP,(function(t){e.spreadsheet.emit(Qi.GLOBAL_KEYBOARD_UP,t)})),this.addDomEventListener(window,Zi.MOUSE_UP,(function(t){e.spreadsheet.emit(Qi.GLOBAL_MOUSE_UP,t)})),this.addDomEventListener(window,Zi.MOUSE_MOVE,(function(t){e.spreadsheet.emit(Qi.GLOBAL_MOUSE_MOVE,t)}))},e.prototype.onKeyboardCopy=function(e){if(this.isCanvasEffect&&this.spreadsheet.options.interaction.enableCopy&&jT(e.key,Yo.COPY)&&(e.metaKey||e.ctrlKey)){var t=function(e){var t,n,r,i,o=e.interaction,a=o.getState().cells||[],s=null!==(t=o.getInteractedCells())&&void 0!==t?t:[];return(n=!$g(s)&&Nm(s,(function(e){return e.cellType===Uo.ROW_CELL||e.cellType===Uo.COL_CELL}))?function(e){var t,n=function(e){var t=new Set;return dm(e,(function(e){var n=e.getMeta().level;t.has(n)||t.add(n)})),t}(e),r=null!==(t=gy(Array.from(n)))&&void 0!==t?t:0,i=function(e,t){return Dm(e,(function(e){var n=e.getMeta(),r=n.level===t,i=n.isTotals&&$g(n.children);return r||i}))}(e,r),o=e[0].cellType===Uo.COL_CELL,a=function(e,t,n){return Wm(e,(function(e){var r=e.getMeta(),i=r.id,o=r.label,a=r.isTotals,s=r.level,l=i;return a&&s!==t&&(l=i+So+Qv(o,t-s)),VT(l,n.size)}))}(i,r,n);return o&&(a=Ab.apply(void 0,ha([],ua(a),!1))),[qT(GT.PLAIN)(a),qT(GT.HTML)(a)]}(s):tx(e,a))&&ix(n),r=n,void 0===(i=GT.PLAIN)&&(i=GT.PLAIN),Array.isArray(i)?[].concat(r).filter((function(e){return i.includes(e.type)})).map((function(e){return e.content})):[].concat(r).filter((function(e){return(null==e?void 0:e.type)===i})).map((function(e){return e.content}))[0]||""}(this.spreadsheet);Jg(t)||this.spreadsheet.emit(Qi.GLOBAL_COPIED,t)}},e.prototype.onKeyboardEsc=function(e){this.isCanvasEffect&&jT(e.key,Yo.ESC)&&this.resetSheetStyle(e)},e.prototype.resetSheetStyle=function(e){if(this.isAutoResetSheetStyle&&this.spreadsheet){var t=this.spreadsheet.interaction;t.hasIntercepts([$o.BRUSH_SELECTION,$o.COL_BRUSH_SELECTION,$o.ROW_BRUSH_SELECTION])?t.removeIntercepts([$o.BRUSH_SELECTION,$o.ROW_BRUSH_SELECTION,$o.COL_BRUSH_SELECTION]):this.isMouseOnTheTooltip(e)||this.isMouseOnTheCanvasContainer(e)||(this.spreadsheet.emit(Qi.GLOBAL_RESET,e),t.reset())}},e.prototype.isMouseEvent=function(e){return uf(e,"clientX")&&uf(e,"clientY")},e.prototype.isMouseOnTheCanvasContainer=function(e){if(this.isMouseEvent(e)){var t=this.spreadsheet.getCanvasElement();if(!t)return!1;var n=t.getBoundingClientRect()||{},r=n.x,i=n.y,o=this.getContainerRect(),a=o.width,s=o.height;return t.contains(e.target)&&e.clientX<=r+a&&e.clientY<=i+s}return!1},e.prototype.getContainerRect=function(){var e,t=(null===(e=this.spreadsheet.facet)||void 0===e?void 0:e.panelBBox)||{},n=t.maxX,r=t.maxY,i=this.spreadsheet.options,o=i.width,a=i.height;return{width:Math.min(o,n),height:Math.min(a,r)}},e.prototype.isMouseOnTheTooltip=function(e){var t,n,r,i,o=this.spreadsheet.tooltip;if(!(null==o?void 0:o.visible))return!1;var a=(null===(r=null===(n=null===(t=this.spreadsheet.tooltip)||void 0===t?void 0:t.container)||void 0===n?void 0:n.getBoundingClientRect)||void 0===r?void 0:r.call(n))||{},s=a.x,l=a.y,c=a.width,u=a.height;return e.target instanceof Node?function(e,t){for(var n=!1,r=t;r&&r!==document.body;){if(e===r){n=!0;break}r=r.parentElement}return n}(null===(i=this.spreadsheet.tooltip)||void 0===i?void 0:i.container,e.target):!!this.isMouseEvent(e)&&e.clientX>=s&&e.clientX<=s+c&&e.clientY>=l&&e.clientY<=l+u},e.prototype.isResizeArea=function(e){var t=vu(e.target,"attrs.appendInfo");return null==t?void 0:t.isResizeArea},e.prototype.activeResizeArea=function(e){this.resetResizeArea();var t=e.target;this.spreadsheet.store.set("activeResizeArea",t),t.attr(Wo.backgroundOpacity,this.spreadsheet.theme.resizeArea.interactionState.hover.backgroundOpacity)},e.prototype.resetResizeArea=function(){var e=this.spreadsheet.store.get("activeResizeArea");$g(e)||e.attr(Wo.backgroundOpacity,this.spreadsheet.theme.resizeArea.backgroundOpacity),this.spreadsheet.store.set("activeResizeArea",e)},e.prototype.hasBrushSelectionIntercepts=function(){return this.spreadsheet.interaction.hasIntercepts([$o.HOVER,$o.BRUSH_SELECTION,$o.ROW_BRUSH_SELECTION,$o.COL_BRUSH_SELECTION])},e.prototype.clear=function(){this.unbindEvents()},e.prototype.unbindEvents=function(){this.clearAllEvents()},e.prototype.addCanvasEvent=function(e,t){var n;null===(n=this.canvasContainer)||void 0===n||n.on(e,t),this.canvasEventHandlers.push({type:e,handler:t})},e.prototype.addS2Event=function(e,t){this.spreadsheet.on(e,t),this.s2EventHandlers.push({type:e,handler:t})},e.prototype.addDomEventListener=function(e,t,n){if(e.addEventListener){var r=this.spreadsheet.options.interaction.eventListenerOptions;e.addEventListener(t,n,r),this.domEventListeners.push({target:e,type:t,handler:n,options:r})}else console.error("Please make sure ".concat(e," has addEventListener function"))},e.prototype.clearAllEvents=function(){var e=this;dm(this.canvasEventHandlers,(function(t){var n,r=t.type,i=t.handler;null===(n=e.canvasContainer)||void 0===n||n.off(r,i)})),dm(this.s2EventHandlers,(function(t){var n=t.type,r=t.handler;e.spreadsheet.off(n,r)})),dm(this.domEventListeners,(function(e){e.target.removeEventListener(e.type,e.handler,e.options)})),this.canvasEventHandlers=[],this.s2EventHandlers=[],this.domEventListeners=[]},e}(),TR=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.isRangeSelection=!1,t.handleColClick=function(e){e.stopPropagation();var n=t.spreadsheet.interaction,r=t.spreadsheet.getCell(e.target),i=null==r?void 0:r.getMeta();if(!Jg(null==i?void 0:i.x)){n.addIntercepts([$o.HOVER]);var o=[bS(r)],a=t.spreadsheet.store.get("lastClickedCell");if(t.isRangeSelection&&a&&a.cellType===r.cellType&&a.getMeta().level===r.getMeta().level){var s=ua([t.spreadsheet.facet.layoutResult.rowsHierarchy.maxLevel,t.spreadsheet.facet.layoutResult.colsHierarchy.maxLevel],2),l=s[0],c=s[1],u=ES(a.getMeta(),r.getMeta()),h=u.start,p=u.end;r instanceof Ex?o=t.handleSeriesNumberRowSelected(h.rowIndex,p.rowIndex,r):r.cellType===Uo.ROW_CELL&&r.getMeta().level===l?o=t.handleRowSelected(h.rowIndex,p.rowIndex,r):r.cellType===Uo.COL_CELL&&r.getMeta().level===c&&(o=t.handleColSelected(h.colIndex,p.colIndex,r)),n.changeState({cells:o,stateName:Bo.SELECTED})}else t.spreadsheet.store.set("lastClickedCell",r);var d=o.map((function(e){return e.id}));n.updateCells(n.getRowColActiveCells(d)),t.spreadsheet.emit(Qi.GLOBAL_SELECTED,n.getActiveCells())}},t}return aa(t,e),t.prototype.bindEvents=function(){this.bindKeyboardDown(),this.bindDataCellClick(),this.bindColCellClick(),this.bindKeyboardUp(),this.bindMouseMove()},t.prototype.reset=function(){this.isRangeSelection=!1,this.spreadsheet.interaction.removeIntercepts([$o.CLICK])},t.prototype.bindKeyboardDown=function(){var e=this;this.spreadsheet.on(Qi.GLOBAL_KEYBOARD_DOWN,(function(t){t.key===Yo.SHIFT&&(e.isRangeSelection=!0,e.spreadsheet.interaction.addIntercepts([$o.CLICK]))}))},t.prototype.bindKeyboardUp=function(){var e=this;this.spreadsheet.on(Qi.GLOBAL_KEYBOARD_UP,(function(t){t.key===Yo.SHIFT&&e.reset()}))},t.prototype.bindMouseMove=function(){var e=this;this.spreadsheet.on(Qi.GLOBAL_MOUSE_MOVE,(function(t){e.isRangeSelection&&!t.shiftKey&&e.reset()}))},t.prototype.bindColCellClick=function(){var e=this;this.spreadsheet.isTableMode()&&this.spreadsheet.on(Qi.ROW_CELL_CLICK,(function(t){e.handleColClick(t)})),this.spreadsheet.on(Qi.COL_CELL_CLICK,(function(t){e.handleColClick(t)}))},t.prototype.bindDataCellClick=function(){var e=this;this.spreadsheet.on(Qi.DATA_CELL_CLICK,(function(t){t.stopPropagation();var n=e.spreadsheet.getCell(t.target),r=n.getMeta(),i=e.spreadsheet.interaction;if(r){var o=e.spreadsheet.store.get("lastClickedCell");if(e.isRangeSelection&&(null==o?void 0:o.cellType)===n.cellType){var a=ES(o.getMeta(),n.getMeta()),s=a.start,l=a.end,c=$v(s.colIndex,l.colIndex+1).flatMap((function(t){var r=e.spreadsheet.facet.layoutResult.colLeafNodes[t].id;return $v(s.rowIndex,l.rowIndex+1).map((function(i){return{id:(e.spreadsheet.facet.getSeriesNumberWidth()||e.spreadsheet.isTableMode()?String(i):e.spreadsheet.facet.layoutResult.rowLeafNodes[i].id)+"-"+r,colIndex:t,rowIndex:i,type:n.cellType}}))}));i.addIntercepts([$o.CLICK,$o.HOVER]),i.changeState({cells:c,stateName:Bo.SELECTED}),e.spreadsheet.showTooltipWithInfo(t,AA(e.spreadsheet)),e.spreadsheet.emit(Qi.GLOBAL_SELECTED,i.getActiveCells())}else e.spreadsheet.store.set("lastClickedCell",n)}}))},t.prototype.handleSeriesNumberRowSelected=function(e,t,n){var r=this.spreadsheet.facet.layoutResult.colLeafNodes[0].id;return $v(e,t+1).map((function(e){return{id:String(e)+"-"+r,colIndex:0,rowIndex:e,type:n.cellType}}))},t.prototype.handleRowSelected=function(e,t,n){return this.spreadsheet.facet.layoutResult.rowNodes.filter((function(n){return ug(n.rowIndex,e,t+1)})).map((function(e){return{id:e.id,colIndex:e.colIndex,rowIndex:e.rowIndex,type:n.cellType}}))},t.prototype.handleColSelected=function(e,t,n){return this.spreadsheet.facet.layoutResult.colLeafNodes.filter((function(n){return ug(n.colIndex,e,t+1)})).map((function(e){return{id:e.id,colIndex:e.colIndex,rowIndex:e.rowIndex,type:n.cellType}}))},t}(cR),xR=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.resizeStartPosition={},t.resizeMouseMove=function(e){var n,r;if(null===(n=t.resizeReferenceGroup)||void 0===n?void 0:n.get("visible")){null===(r=null==e?void 0:e.preventDefault)||void 0===r||r.call(e);var i=e.originalEvent,o=t.getResizeInfo(),a=t.resizeReferenceGroup.getChildren()||[];if(!$g(a)){var s=ua(a,2)[1],l=ua(_d(s.attr("path")),2),c=l[0],u=l[1];o.type===Qo.Horizontal?t.updateHorizontalResizingEndGuideLinePosition(i,o,c,u):t.updateVerticalResizingEndGuideLinePosition(i,o,c,u),t.updateResizeGuideLineTheme(s),s.attr("path",[c,u])}}},t}return aa(t,e),t.prototype.bindEvents=function(){this.bindMouseDown(),this.bindMouseMove(),this.bindMouseUp()},t.prototype.initResizeGroup=function(){if(!this.resizeReferenceGroup){this.resizeReferenceGroup=this.spreadsheet.foregroundGroup.addGroup();var e=this.spreadsheet.options,t=e.width,n=e.height,r=this.getResizeAreaTheme(),i=r.guideLineColor,o={path:"",lineDash:r.guideLineDash,stroke:i,lineWidth:r.size};this.resizeReferenceGroup.addShape("path",{id:"RESIZE_START_GUIDE_LINE",attrs:o}),this.resizeReferenceGroup.addShape("path",{id:"RESIZE_END_GUIDE_LINE",attrs:o}),this.resizeReferenceGroup.addShape("rect",{id:"RESIZE_MASK",attrs:{appendInfo:{isResizeArea:!0},x:0,y:0,width:t,height:n,fill:"transparent"}})}},t.prototype.getResizeAreaTheme=function(){return this.spreadsheet.theme.resizeArea},t.prototype.setResizeTarget=function(e){this.resizeTarget=e},t.prototype.getGuideLineWidthAndHeight=function(){var e=this.spreadsheet.options,t=e.width,n=e.height,r=this.spreadsheet.facet.panelBBox,i=r.maxY,o=r.maxX;return{width:Math.min(o,t),height:Math.min(i,n)}},t.prototype.getResizeShapes=function(){var e;return(null===(e=this.resizeReferenceGroup)||void 0===e?void 0:e.get("children"))||[]},t.prototype.setResizeMaskCursor=function(e){var t=ua(this.getResizeShapes(),3)[2];null==t||t.attr("cursor",e)},t.prototype.updateResizeGuideLinePosition=function(e,t){var n=this.getResizeShapes();if(!$g(n)){var r=ua(n,2),i=r[0],o=r[1],a=t.type,s=t.offsetX,l=t.offsetY,c=t.width,u=t.height,h=this.getGuideLineWidthAndHeight(),p=h.width,d=h.height;if(this.setResizeMaskCursor("".concat(a,"-resize")),a===Qo.Horizontal)return i.attr("path",[["M",s,l],["L",s,d]]),o.attr("path",[["M",s+c,l],["L",s+c,d]]),void(this.resizeStartPosition.offsetX=e.offsetX);i.attr("path",[["M",s,l],["L",p,l]]),o.attr("path",[["M",s,l+u],["L",p,l+u]]),this.resizeStartPosition.offsetY=e.offsetY}},t.prototype.bindMouseDown=function(){var e=this;this.spreadsheet.on(Qi.LAYOUT_RESIZE_MOUSE_DOWN,(function(t){var n=t.target,r=t.originalEvent,i=e.getCellAppendInfo(t.target);e.spreadsheet.store.set("resized",!1),(null==i?void 0:i.isResizeArea)&&(e.spreadsheet.interaction.reset(),e.spreadsheet.interaction.addIntercepts([$o.RESIZE]),e.setResizeTarget(n),e.showResizeGroup(),e.updateResizeGuideLinePosition(r,i))}))},t.prototype.bindMouseMove=function(){var e=this;this.spreadsheet.on(Qi.LAYOUT_RESIZE_MOUSE_MOVE,(function(t){G_(e.resizeMouseMove,33)(t)}))},t.prototype.getResizeGuideLinePosition=function(){var e=ua(this.resizeReferenceGroup.getChildren()||[],2),t=e[0],n=e[1],r=(null==t?void 0:t.attr("path"))||[],i=(null==n?void 0:n.attr("path"))||[],o=ua(r[0]||[],3),a=o[1],s=void 0===a?0:a,l=o[2],c=void 0===l?0:l,u=ua(i[0]||[],3),h=u[1],p=void 0===h?0:h,d=u[2];return{start:{x:s,y:c},end:{x:p,y:void 0===d?0:d}}},t.prototype.getDisAllowResizeInfo=function(){var e,t=this.getResizeInfo(),n=this.spreadsheet.options.interaction.resize,r=t.width,i=t.height,o=t.resizedWidth,a=t.resizedHeight,s=null===(e=null==n?void 0:n.disable)||void 0===e?void 0:e.call(n,t);return{displayWidth:s?r:o,displayHeight:s?i:a,isDisabled:s}},t.prototype.getResizeWidthDetail=function(){var e,t,n=this.getResizeInfo(),r=this.getDisAllowResizeInfo().displayWidth;switch(n.effect){case Jo.Field:return{eventType:Qi.LAYOUT_RESIZE_ROW_WIDTH,style:{rowCfg:{widthByField:(e={},e[n.id]=r,e)}}};case Jo.Tree:return{eventType:Qi.LAYOUT_RESIZE_TREE_WIDTH,style:{treeRowsWidth:r,rowCfg:{treeRowsWidth:r}}};case Jo.Cell:return{eventType:Qi.LAYOUT_RESIZE_COL_WIDTH,style:{colCfg:{widthByFieldValue:(t={},t[n.id]=r,t)}}};case Jo.Series:return{eventType:Qi.LAYOUT_RESIZE_SERIES_WIDTH,seriesNumberWidth:r};default:return null}},t.prototype.getResizeHeightDetail=function(){var e,t,n,r=this.spreadsheet.options,i=r.interaction.resize,o=r.style.rowCfg.heightByField,a=this.spreadsheet.theme.rowCell.cell.padding,s=this.getResizeInfo(),l=this.getDisAllowResizeInfo().displayHeight,c=l-a.top-a.bottom;switch(s.effect){case Jo.Field:return{eventType:Qi.LAYOUT_RESIZE_COL_HEIGHT,style:{colCfg:{heightByField:(e={},e[s.id]=l,e)}}};case Jo.Cell:return n=(null==o?void 0:o[String(s.id)])||(null==i?void 0:i.rowResizeType)===ea.CURRENT?{rowCfg:{heightByField:(t={},t[s.id]=c,t)}}:{cellCfg:{height:c}},{eventType:Qi.LAYOUT_RESIZE_ROW_HEIGHT,style:n};default:return null}},t.prototype.getResizeDetail=function(){return this.getResizeInfo().type===Qo.Horizontal?this.getResizeWidthDetail():this.getResizeHeightDetail()},t.prototype.showResizeGroup=function(){this.initResizeGroup(),this.resizeReferenceGroup.set("visible",!0)},t.prototype.hideResizeGroup=function(){this.resizeReferenceGroup.set("visible",!1)},t.prototype.bindMouseUp=function(){var e=this;this.spreadsheet.on(Qi.GLOBAL_MOUSE_UP,(function(){var t;e.setResizeMaskCursor("default"),e.resizeReferenceGroup&&!$g(null===(t=e.resizeReferenceGroup)||void 0===t?void 0:t.getChildren())&&(e.hideResizeGroup(),e.renderResizedResult())}))},t.prototype.updateResizeGuideLineTheme=function(e){var t=this.getResizeAreaTheme(),n=t.guideLineColor,r=t.guideLineDisableColor,i=this.getDisAllowResizeInfo().isDisabled;e.attr("stroke",i?r:n),this.setResizeMaskCursor(i?"no-drop":"default")},t.prototype.updateHorizontalResizingEndGuideLinePosition=function(e,t,n,r){var i=e.offsetX-this.resizeStartPosition.offsetX;t.width+i<28&&(i=-(t.width-28));var o=t.offsetX+t.width+i;n[1]=o,r[1]=o,this.resizeTarget.attr({x:o-t.size/2})},t.prototype.updateVerticalResizingEndGuideLinePosition=function(e,t,n,r){var i=e.offsetY-this.resizeStartPosition.offsetY;t.height+i<16&&(i=-(t.height-16));var o=t.offsetY+t.height+i;n[2]=o,r[2]=o,this.resizeTarget.attr({y:o-t.size/2})},t.prototype.renderResizedResult=function(){var e=this.getResizeInfo(),t=this.getResizeDetail()||{},n=t.style,r=t.seriesNumberWidth,i=t.eventType,o={info:e,style:n};this.spreadsheet.emit(Qi.LAYOUT_RESIZE,o),this.spreadsheet.emit(i,o),n&&this.spreadsheet.setOptions({style:n}),r&&this.spreadsheet.setTheme({rowCell:{seriesNumberWidth:r}}),this.spreadsheet.store.set("resized",!0),this.render()},t.prototype.getResizeInfo=function(){var e=this.getCellAppendInfo(this.resizeTarget),t=this.getResizeGuideLinePosition(),n=t.start,r=t.end,i=Math.floor(r.x-n.x),o=Math.floor(r.y-n.y);return sa(sa({},e),{resizedWidth:i,resizedHeight:o})},t.prototype.render=function(){this.resizeStartPosition={},this.resizeTarget=null,this.resizeReferenceGroup=null,this.spreadsheet.render(!1)},t}(cR),SR=[Yo.ARROW_LEFT,Yo.ARROW_RIGHT,Yo.ARROW_UP,Yo.ARROW_DOWN],CR=function(e){function t(t){return e.call(this,t)||this}return aa(t,e),t.prototype.isCanvasEffect=function(){return this.spreadsheet.interaction.eventController.isCanvasEffect},t.prototype.bindEvents=function(){var e=this;this.spreadsheet.on(Qi.GLOBAL_KEYBOARD_DOWN,(function(t){if(e.isCanvasEffect()){var n=t.shiftKey,r=t.metaKey,i=!1,o=!1,a=!1;SR.includes(t.key)&&(r&&n?(i=!1,o=!0,a=!1):r?(i=!0,o=!0,a=!0):n?(i=!1,o=!1,a=!1):(i=!0,o=!1,a=!0),e.handleMove({event:t,changeStartCell:i,isJumpMode:o,isSingleSelection:a}))}})),this.spreadsheet.on(Qi.DATA_CELL_CLICK,(function(t){var n=e.spreadsheet.getCell(t.target).getMeta();n&&(e.startCell=e.getCellMetaFromViewMeta(n),e.endCell=e.startCell)}))},t.prototype.getCellMetaFromViewMeta=function(e){return{rowIndex:e.rowIndex,colIndex:e.colIndex,id:e.id,type:Uo.DATA_CELL}},t.prototype.handleMove=function(e){var t=e.event,n=e.changeStartCell,r=e.isJumpMode,i=e.isSingleSelection,o=this,a=o.spreadsheet,s=o.startCell,l=o.endCell,c=n?s:l,u=this.getMoveInfo(t.key,c,r);if(u){var h=ua([u.row,u.col],2),p=h[0],d=h[1];this.scrollToActiveCell(a,p,d);var f=this.generateCellMeta(a,p,d),m=i?[f]:this.getRangeCells(a,s,f);!function(e,t){var n=e.interaction;n.changeState({stateName:Bo.SELECTED,cells:t}),e.emit(Qi.GLOBAL_SELECTED,n.getActiveCells())}(a,m),n&&(this.startCell=f),this.endCell=f,this.spreadsheet.emit(Qi.DATA_CELL_SELECT_MOVE,m)}},t.prototype.generateCellMeta=function(e,t,n){var r=e.isTableMode,i=e.facet.layoutResult,o=i.colLeafNodes,a=i.rowLeafNodes,s=r()?String(t):a[t].id,l=o[n].id;return{rowIndex:t,colIndex:n,id:_x(s,l),type:Uo.DATA_CELL}},t.prototype.getRangeCells=function(e,t,n){for(var r=ES(t,n),i=r.start,o=i.rowIndex,a=i.colIndex,s=r.end,l=s.rowIndex,c=s.colIndex,u=[],h=o;h<=l;h++)for(var p=a;p<=c;p++)u.push(this.generateCellMeta(e,h,p));return u},t.prototype.getMoveInfo=function(e,t,n){var r=this.spreadsheet,i=r.options,o=i.frozenColCount,a=void 0===o?0:o,s=i.frozenRowCount,l=void 0===s?0:s,c=i.frozenTrailingColCount,u=void 0===c?0:c,h=i.frozenTrailingRowCount,p=void 0===h?0:h,d=r.facet.layoutResult,f=d.rowLeafNodes,m=ua([0+a,d.colLeafNodes.length-u-1],2),g=m[0],y=m[1],v=ua([0+l,(r.isTableMode()?r.dataSet.getDisplayDataSet().length:f.length)-p-1],2),_=v[0],b=v[1];if(t)switch(e){case Yo.ARROW_RIGHT:if(t.colIndex+1>y)return;return{row:t.rowIndex,col:n?y:t.colIndex+1};case Yo.ARROW_LEFT:if(t.colIndex-1<g)return;return{row:t.rowIndex,col:n?g:t.colIndex-1};case Yo.ARROW_UP:if(t.rowIndex-1<_)return;return{row:n?_:t.rowIndex-1,col:t.colIndex};case Yo.ARROW_DOWN:if(t.rowIndex+1>b)return;return{row:n?b:t.rowIndex+1,col:t.colIndex}}},t.prototype.calculateOffset=function(e,t,n){var r=e.options,i=r.frozenRowCount,o=void 0===i?0:i,a=r.frozenTrailingRowCount,s=void 0===a?0:a,l=e.facet,c=e.frozenColGroup,u=e.frozenTrailingColGroup,h=e.frozenRowGroup,p=e.frozenTrailingRowGroup,d=l.layoutResult.colLeafNodes,f=l.getScrollOffset(),m=f.scrollX,g=f.scrollY,y=l.panelBBox,v=y.viewportHeight,_=y.viewportWidth,b=vu(e,"theme.splitLine"),E=c?Math.floor(c.getBBox().width-b.verticalBorderWidth/2):0,T=u?Math.floor(u.getBBox().width):0,x=h?Math.floor(h.getBBox().height-b.horizontalBorderWidth/2):0,S=p?Math.floor(p.getBBox().height):0,C=FE(m,g,l.viewCellWidths,l.viewCellHeights,{width:_-E-T,height:v-x-S,x:E,y:x},l.getRealScrollX(l.cornerBBox.width)),A=-1,R=-1,w=d.find((function(e){return e.colIndex===n}));return n<=C[0]?A=w.x-E:n>=C[1]&&n<d.length-s&&(A=w.x+w.width-_+T),t<=C[2]?R=l.viewCellHeights.getCellOffsetY(t-o):t>=C[3]&&(R=l.viewCellHeights.getCellOffsetY(t+1)+S-v),{offsetX:A,offsetY:R}},t.prototype.scrollToActiveCell=function(e,t,n){var r=this.calculateOffset(e,t,n),i=r.offsetX,o=r.offsetY,a=e.facet,s=e.facet.getScrollOffset(),l=s.scrollX,c=s.scrollY;a.scrollWithAnimation({offsetX:{value:i>-1?i:l},offsetY:{value:o>-1?o:c}})},t}(cR),AR=function(){function e(e){var t=this;this.interactions=new Map,this.intercepts=new Set,this.hoverTimer=null,this.defaultState={cells:[],force:!1},this.onTriggerInteractionsResetEffect=function(){t.interactions.forEach((function(e){e.reset()}))},this.selectAll=function(){t.changeState({stateName:Bo.ALL_SELECTED})},this.getCellChildrenNodes=function(e){var n,r=null===(n=null==e?void 0:e.getMeta)||void 0===n?void 0:n.call(e),i=(null==e?void 0:e.cellType)===Uo.ROW_CELL;return t.spreadsheet.isHierarchyTreeType()&&i?EE.getAllLeaveNodes(r).filter((function(e){return e.rowIndex===r.rowIndex})):EE.getAllChildrenNodes(r)},this.selectHeaderCell=function(e){var n;void 0===e&&(e={});var r=e.cell;if(!$g(r)){var i=null===(n=null==r?void 0:r.getMeta)||void 0===n?void 0:n.call(r);if(i&&!Jg(null==i?void 0:i.x)){t.addIntercepts([$o.HOVER]);var o=t.spreadsheet.isHierarchyTreeType(),a=(null==r?void 0:r.cellType)===Uo.COL_CELL,s=t.getState(),l=t.isSelectedCell(r),c=(null==e?void 0:e.isMultiSelection)&&t.isSelectedState(),u=l?[]:t.getCellChildrenNodes(r),h=l?[]:[bS(r)];if(c&&(h=Td(null==s?void 0:s.cells,h),u=Td(null==s?void 0:s.nodes,u),l&&(h=h.filter((function(e){return e.id!==i.id})),u=u.filter((function(e){return!(null==e?void 0:e.id.includes(i.id))})))),$g(h))return t.reset(),void t.spreadsheet.emit(Qi.GLOBAL_SELECTED,t.getActiveCells());var p=u.filter((function(e){return null==e?void 0:e.isLeaf}));t.changeState({cells:h,nodes:p,stateName:Bo.SELECTED});var d=h.map((function(e){return e.id}));return t.updateCells(t.getRowColActiveCells(d)),o&&!a||t.highlightNodes(u),t.spreadsheet.emit(Qi.GLOBAL_SELECTED,t.getActiveCells()),!0}}},this.highlightNodes=function(e){void 0===e&&(e=[]),e.forEach((function(e){var t;null===(t=null==e?void 0:e.belongsCell)||void 0===t||t.updateByState(Bo.SELECTED,e.belongsCell)}))},this.mergeCells=function(e,n){!function(e,t,n){var r,i=t||function(e){var t=e.interaction.getActiveCells(),n=[];return dm(t,(function(e,t){var r=e.getMeta(),i=0===t?{showText:!0}:{};n.push(sa(sa({},i),{colIndex:null==r?void 0:r.colIndex,rowIndex:null==r?void 0:r.rowIndex}))})),n}(e);if((null==i?void 0:i.length)<=1)console.error("then merged cells must be more than one");else{var o=e.interaction.getPanelGroupAllDataCells(),a=Cx(o,e,i),s=a.cells,l=a.viewMeta;if(!$g(s)){var c=(null===(r=e.options)||void 0===r?void 0:r.mergedCellsInfo)||[];c.push(i),e.setOptions({mergedCellsInfo:c});var u=n?void 0:l;e.panelScrollGroup.addMergeCell(Ax(e,s,u))}}}(t.spreadsheet,e,n)},this.unmergeCell=function(e){!function(e,t){var n,r,i;if(t&&t.cellType===Uo.MERGED_CELL){var o,a,s,l=(o=t,a=null===(n=e.options)||void 0===n?void 0:n.mergedCellsInfo,s=Wm(o.cells,(function(e){return{colIndex:e.getMeta().colIndex,rowIndex:e.getMeta().rowIndex}})),Dm(a,(function(e){return!Wg(e.map((function(e){return e.showText?{colIndex:e.colIndex,rowIndex:e.rowIndex}:e})),s)})));(null==l?void 0:l.length)!==(null===(i=null===(r=e.options)||void 0===r?void 0:r.mergedCellsInfo)||void 0===i?void 0:i.length)&&(e.setOptions({mergedCellsInfo:l}),t.remove(!0))}else console.error("unmergeCell: the ".concat(t," is not a MergedCell"))}(t.spreadsheet,e)},this.spreadsheet=e,this.registerEventController(),this.registerInteractions(),window.addEventListener("visibilitychange",this.onTriggerInteractionsResetEffect)}return e.prototype.destroy=function(){this.interactions.clear(),this.intercepts.clear(),this.eventController.clear(),this.clearHoverTimer(),this.resetState(),window.removeEventListener("visibilitychange",this.onTriggerInteractionsResetEffect)},e.prototype.reset=function(){this.clearState(),this.clearHoverTimer(),this.intercepts.clear(),this.spreadsheet.hideTooltip()},e.prototype.setState=function(e){!function(e,t){var n=null==t?void 0:t.stateName;e.interaction.isEqualStateName(n)||(CS(e),e.hideTooltip(),e.store.set(Ko,t))}(this.spreadsheet,e)},e.prototype.getState=function(){return this.spreadsheet.store.get(Ko)||this.defaultState},e.prototype.setInteractedCells=function(e){var t=this.getInteractedCells().concat([e]),n=this.getState();n.interactedCells=t,this.setState(n)},e.prototype.getInteractedCells=function(){var e=this.getState();return(null==e?void 0:e.interactedCells)||[]},e.prototype.resetState=function(){this.spreadsheet.store.set(Ko,this.defaultState)},e.prototype.getCurrentStateName=function(){return this.getState().stateName},e.prototype.isEqualStateName=function(e){return this.getCurrentStateName()===e},e.prototype.isStateOf=function(e){var t=this.getState();return(null==t?void 0:t.stateName)===e},e.prototype.isSelectedState=function(){return this.isStateOf(Bo.SELECTED)},e.prototype.isAllSelectedState=function(){return this.isStateOf(Bo.ALL_SELECTED)},e.prototype.isHoverFocusState=function(){return this.isStateOf(Bo.HOVER_FOCUS)},e.prototype.isHoverState=function(){return this.isStateOf(Bo.HOVER)},e.prototype.isActiveCell=function(e){return!!this.getCells().find((function(t){return e.getMeta().id===t.id}))},e.prototype.isSelectedCell=function(e){return this.isSelectedState()&&this.isActiveCell(e)},e.prototype.getCells=function(e){var t=this.getState(),n=(null==t?void 0:t.cells)||[];return Jg(e)?n:n.filter((function(t){return e.includes(t.type)}))},e.prototype.getActiveCells=function(){var e=this.getCells().map((function(e){return e.id})),t=this.getAllCells();return Wm(e,(function(e){return Hm(t,(function(t){var n;return(null===(n=null==t?void 0:t.getMeta())||void 0===n?void 0:n.id)===e}))})).filter((function(e){return e}))},e.prototype.clearStyleIndependent=function(){(this.isSelectedState()||this.isHoverState()||this.isAllSelectedState())&&this.getPanelGroupAllDataCells().forEach((function(e){e.hideInteractionShape()}))},e.prototype.getPanelGroupAllUnSelectedDataCells=function(){var e=this;return this.getPanelGroupAllDataCells().filter((function(t){return!e.isActiveCell(t)}))},e.prototype.getPanelGroupAllDataCells=function(){var e;return BA(null===(e=this.spreadsheet.panelGroup)||void 0===e?void 0:e.getChildren(),Ex)},e.prototype.getAllRowHeaderCells=function(){var e,t,n=((null===(e=this.spreadsheet.foregroundGroup)||void 0===e?void 0:e.getChildren())||[]).find((function(e){return e instanceof ZA})),r=(null===(t=null==n?void 0:n.cfg)||void 0===t?void 0:t.children)||[];return BA(r,pS).filter((function(e){return e.cellType===Uo.ROW_CELL}))},e.prototype.getAllColHeaderCells=function(){var e,t,n=((null===(e=this.spreadsheet.foregroundGroup)||void 0===e?void 0:e.getChildren())||[]).find((function(e){return e instanceof KA})),r=(null===(t=null==n?void 0:n.cfg)||void 0===t?void 0:t.children)||[];return BA(r,tS).filter((function(e){return e.cellType===Uo.COL_CELL}))},e.prototype.getRowColActiveCells=function(e){return Td(this.getAllRowHeaderCells(),this.getAllColHeaderCells()).filter((function(t){return e.includes(t.getMeta().id)}))},e.prototype.getAllCells=function(){return Td(this.getPanelGroupAllDataCells(),this.getAllRowHeaderCells(),this.getAllColHeaderCells())},e.prototype.hideColumns=function(e,t){void 0===e&&(e=[]),void 0===t&&(t=!0),Nx(this.spreadsheet,e,t)},e.prototype.getBrushSelectionInfo=function(e){var t,n,r;return Bg(e)?{dataBrushSelection:e,rowBrushSelection:e,colBrushSelection:e}:{dataBrushSelection:null!==(t=null==e?void 0:e.data)&&void 0!==t&&t,rowBrushSelection:null!==(n=null==e?void 0:e.row)&&void 0!==n&&n,colBrushSelection:null!==(r=null==e?void 0:e.col)&&void 0!==r&&r}},e.prototype.getDefaultInteractions=function(){var e=this.spreadsheet.options.interaction,t=e.resize,n=e.brushSelection,r=e.multiSelection,i=e.rangeSelection,o=e.selectedCellMove,a=this.getBrushSelectionInfo(n),s=a.dataBrushSelection,l=a.rowBrushSelection,c=a.colBrushSelection;return[{key:Ho.CORNER_CELL_CLICK,interaction:fR},{key:Ho.DATA_CELL_CLICK,interaction:uR},{key:Ho.ROW_COLUMN_CLICK,interaction:pR},{key:Ho.ROW_TEXT_CLICK,interaction:dR},{key:Ho.MERGED_CELLS_CLICK,interaction:hR},{key:Ho.HOVER,interaction:mR,enable:!vE()},{key:Ho.BRUSH_SELECTION,interaction:vR,enable:!vE()&&s},{key:Ho.ROW_BRUSH_SELECTION,interaction:_R,enable:!vE()&&l},{key:Ho.COL_BRUSH_SELECTION,interaction:yR,enable:!vE()&&c},{key:Ho.COL_ROW_RESIZE,interaction:xR,enable:!vE()&&t},{key:Ho.DATA_CELL_MULTI_SELECTION,interaction:bR,enable:!vE()&&r},{key:Ho.RANGE_SELECTION,interaction:TR,enable:!vE()&&i},{key:Ho.SELECTED_CELL_MOVE,interaction:CR,enable:!vE()&&o}]},e.prototype.registerInteractions=function(){var e=this,t=this.spreadsheet.options.interaction.customInteractions;this.interactions.clear(),this.getDefaultInteractions().forEach((function(t){var n=t.key,r=t.interaction;!1!==t.enable&&e.interactions.set(n,new r(e.spreadsheet))})),$g(t)||dm(t,(function(t){var n=t.interaction;e.interactions.set(t.key,new n(e.spreadsheet))}))},e.prototype.registerEventController=function(){this.eventController=new ER(this.spreadsheet)},e.prototype.draw=function(){this.spreadsheet.container.draw()},e.prototype.clearState=function(){CS(this.spreadsheet)&&this.draw()},e.prototype.changeState=function(e){var t=this,n=this.spreadsheet.interaction,r=e.cells,i=void 0===r?[]:r,o=e.force,a=e.stateName,s=e.onUpdateCells;if($g(i)&&a===Bo.SELECTED)o&&n.changeState({cells:[],stateName:Bo.UNSELECTED});else{this.getCurrentStateName()===Bo.ALL_SELECTED&&this.clearStyleIndependent(),this.clearState(),this.setState(e);var l=function(){t.updatePanelGroupAllDataCells()};s?s(this,l):l(),this.draw()}},e.prototype.updatePanelGroupAllDataCells=function(){this.updateCells(this.getPanelGroupAllDataCells())},e.prototype.updateCells=function(e){void 0===e&&(e=[]),e.forEach((function(e){e.update()}))},e.prototype.addIntercepts=function(e){var t=this;void 0===e&&(e=[]),e.forEach((function(e){t.intercepts.add(e)}))},e.prototype.hasIntercepts=function(e){var t=this;return void 0===e&&(e=[]),e.some((function(e){return t.intercepts.has(e)}))},e.prototype.removeIntercepts=function(e){var t=this;void 0===e&&(e=[]),e.forEach((function(e){t.intercepts.delete(e)}))},e.prototype.clearHoverTimer=function(){clearTimeout(this.hoverTimer)},e.prototype.setHoverTimer=function(e){this.hoverTimer=e},e.prototype.getHoverTimer=function(){return this.hoverTimer},e.prototype.getSelectedCellHighlight=function(){var e=this.spreadsheet.options.interaction.selectedCellHighlight;if(Bg(e))return{rowHeader:e,colHeader:e,currentRow:!1,currentCol:!1};var t=null!=e?e:{},n=t.rowHeader,r=void 0!==n&&n,i=t.colHeader,o=void 0!==i&&i,a=t.currentRow,s=void 0!==a&&a,l=t.currentCol;return{rowHeader:r,colHeader:o,currentRow:s,currentCol:void 0!==l&&l}},e.prototype.getHoverAfterScroll=function(){return this.spreadsheet.options.interaction.hoverAfterScroll},e.prototype.getHoverHighlight=function(){var e=this.spreadsheet.options.interaction.hoverHighlight;if(Bg(e))return{rowHeader:e,colHeader:e,currentRow:e,currentCol:e};var t=null!=e?e:{},n=t.rowHeader,r=void 0!==n&&n,i=t.colHeader,o=void 0!==i&&i,a=t.currentRow,s=void 0!==a&&a,l=t.currentCol;return{rowHeader:r,colHeader:o,currentRow:s,currentCol:void 0!==l&&l}},e}(),RR=function(){function e(e){var t=this;this.viewport=window,this.isDevicePixelRatioChange=!1,this.init=function(){t.initDevicePixelRatioListener(),t.initDeviceZoomListener()},this.destroy=function(){t.removeDevicePixelRatioListener(),t.removeDeviceZoomListener()},this.removeDevicePixelRatioListener=function(){var e;(null===(e=t.devicePixelRatioMedia)||void 0===e?void 0:e.removeEventListener)?t.devicePixelRatioMedia.removeEventListener("change",t.renderByDevicePixelRatioChanged):t.devicePixelRatioMedia.removeListener(t.renderByDevicePixelRatioChanged)},this.initDeviceZoomListener=function(){var e,n;vE()||null===(n=null===(e=t.viewport)||void 0===e?void 0:e.visualViewport)||void 0===n||n.addEventListener("resize",t.renderByZoomScaleWithoutResizeEffect)},this.removeDeviceZoomListener=function(){var e,n;vE()||null===(n=null===(e=t.viewport)||void 0===e?void 0:e.visualViewport)||void 0===n||n.removeEventListener("resize",t.renderByZoomScaleWithoutResizeEffect)},this.renderByZoomScaleWithoutResizeEffect=function(e){t.isDevicePixelRatioChange=!1,t.renderByZoomScale(e)},this.renderByDevicePixelRatioChanged=function(){t.isDevicePixelRatioChange=!0,t.renderByDevicePixelRatio()},this.renderByDevicePixelRatio=function(e){void 0===e&&(e=window.devicePixelRatio);var n=t.spreadsheet,r=n.container,i=n.options,o=i.width,a=i.height,s=i.devicePixelRatio,l=t.spreadsheet.getCanvasElement();if(r.get("pixelRatio")!==e&&l){var c=Math.max(e,s,1);r.set("pixelRatio",c),r.changeSize(o,a),t.spreadsheet.render(!1)}},this.renderByZoomScale=Pf((function(e){var n=Math.ceil(e.target.scale);n>=1&&!t.isDevicePixelRatioChange&&t.renderByDevicePixelRatio(n)}),350),this.spreadsheet=e}return e.prototype.initDevicePixelRatioListener=function(){var e;this.devicePixelRatioMedia=window.matchMedia("(resolution: ".concat(window.devicePixelRatio,"dppx)")),(null===(e=this.devicePixelRatioMedia)||void 0===e?void 0:e.addEventListener)?this.devicePixelRatioMedia.addEventListener("change",this.renderByDevicePixelRatioChanged):this.devicePixelRatioMedia.addListener(this.renderByDevicePixelRatioChanged)},e}(),wR=function(){function e(e){this.visible=!1,this.position={x:0,y:0},this.spreadsheet=e}return e.prototype.show=function(e){var t,n,r,i=e.position,o=e.options,a=e.content,s=e.event,l=yA(o).enterable,c=this.spreadsheet.options.tooltip||{},u=c.autoAdjustBoundary,h=c.adjustPosition;this.visible=!0,this.options=e;var p=this.getContainer();this.renderContent(a);var d=function(e){var t=e.spreadsheet,n=e.position,r=e.tooltipContainer,i=e.autoAdjustBoundary,o=t.getCanvasElement(),a=n.x+yE,s=n.y+10;if(!i||!o)return{x:a,y:s};var l="body"===i,c=t.facet.panelBBox,u=c.maxX,h=c.maxY,p=t.options,d=p.width,f=p.height,m=o.getBoundingClientRect(),g=m.top,y=m.left,v=r.getBoundingClientRect(),_=v.width,b=v.height,E=document.body.getBoundingClientRect(),T=E.width,x=E.height,S=l?T:Math.min(d,u)+y,C=l?x:Math.min(f,h)+g;return a+_>=S&&(a=S-_),s+b>=C&&(s=C-b),{x:a,y:s}}({spreadsheet:this.spreadsheet,position:i,tooltipContainer:p,autoAdjustBoundary:u}),f=d.x,m=d.y;this.position=null!==(t=null==h?void 0:h({position:{x:f,y:m},event:s}))&&void 0!==t?t:{x:f,y:m},_A(p,{style:{left:"".concat(null===(n=this.position)||void 0===n?void 0:n.x,"px"),top:"".concat(null===(r=this.position)||void 0===r?void 0:r.y,"px"),pointerEvents:l?"all":"none"},visible:!0})},e.prototype.hide=function(){this.visible=!1,this.container&&(_A(this.container,{style:{pointerEvents:"none"},visible:!1}),this.resetPosition())},e.prototype.destroy=function(){var e,t;this.visible=!1,this.container&&(this.resetPosition(),null===(t=(e=this.container).remove)||void 0===t||t.call(e),this.container=null)},e.prototype.renderContent=function(e){if(this.container){this.clearContent();var t=(this.spreadsheet.options.tooltip||{}).content,n=null!=e?e:t;Jg(n)||("string"!=typeof n?n instanceof Element&&this.container.appendChild(n):this.container.innerHTML=n)}},e.prototype.clearContent=function(){this.container&&(this.container.innerHTML="")},e.prototype.disablePointerEvent=function(){this.container&&"none"!==this.container.style.pointerEvents&&_A(this.container,{style:{pointerEvents:"none"}})},e.prototype.resetPosition=function(){this.position={x:0,y:0}},e.prototype.getContainer=function(){var e;if(!this.container){var t=this.spreadsheet.options.tooltip,n=(null===(e=t.getContainer)||void 0===e?void 0:e.call(t))||document.body,r=document.createElement("div");return _A(r,{style:t.style,className:[fE].concat(t.className)}),n.appendChild(r),this.container=r,this.container}return this.container},e}(),LR=function(e){function t(t,n,r){var i=e.call(this)||this;return i.store=new rT,i.untypedOn=i.on,i.untypedEmit=i.emit,i.on=function(e,t){return i.untypedOn(e,t)},i.emit=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return i.untypedEmit.apply(i,ha([e],ua(t),!1))},i.initHiddenColumnsDetail=function(){var e=i.options.interaction.hiddenColumnFields,t=i.store.get("hiddenColumnsDetail");$g(e)&&$g(t)||Nx(i,e,!0)},i.measureText=lu((function(e,t){var n;if(void 0===e&&(e=""),!t)return null;var r=null===(n=i.getCanvasElement())||void 0===n?void 0:n.getContext("2d"),o=t,a=o.fontSize,s=o.fontFamily,l=o.fontWeight,c=o.fontStyle,u=o.fontVariant;return r.font=[c,u,l,"".concat(a,"px"),s].join(" ").trim(),r.measureText(String(e))}),(function(e,t){return ha([e],ua(fg(t)),!1).join("")})),i.measureTextWidth=function(e,t){void 0===e&&(e="");var n=i.measureText(e,t);return(null==n?void 0:n.width)||0},i.measureTextHeight=function(e,t){void 0===e&&(e="");var n=i.measureText(e,t);return n?n.actualBoundingBoxAscent+n.actualBoundingBoxDescent:0},i.measureTextWidthRoughly=function(e,t){var n,r;void 0===t&&(t={});var o=i.measureTextWidth("a",t),a=i.measureTextWidth("蚂",t),s=0;if(!e)return s;try{for(var l=ca(e),c=l.next();!c.done;c=l.next()){var u=c.value.charCodeAt(0);s+=u>=0&&u<=255?o:a}}catch(e){n={error:e}}finally{try{c&&!c.done&&(r=l.return)&&r.call(l)}finally{if(n)throw n.error}}return s},i.dataCfg=RS(n),i.options=wS(r),i.dataSet=i.getDataSet(i.options),i.setDebug(),i.initTooltip(),i.initGroups(t),i.bindEvents(),i.initInteraction(),i.initTheme(),i.initHdAdapter(),i.registerIcons(),i.setOverscrollBehavior(),i}return aa(t,e),t.prototype.setOverscrollBehavior=function(){var e=this.options.interaction.overscrollBehavior,t=window.getComputedStyle(document.body).getPropertyValue("overscroll-behavior");t&&"auto"!==t?this.store.set("initOverscrollBehavior",t):e&&(document.body.style.overscrollBehavior=e)},t.prototype.restoreOverscrollBehavior=function(){document.body.style.overscrollBehavior=this.store.get("initOverscrollBehavior")||""},t.prototype.setDebug=function(){$E.getInstance().setDebug(this.options.debug)},t.prototype.initTheme=function(){this.setThemeCfg({name:"default"})},t.prototype.getMountContainer=function(e){var t=pg(e)?document.querySelector(e):e;if(!t)throw new Error("Target mount container is not a DOM element");return t},t.prototype.initHdAdapter=function(){this.options.hdAdapter&&(this.hdAdapter=new RR(this),this.hdAdapter.init())},t.prototype.initInteraction=function(){this.interaction=new AR(this)},t.prototype.initTooltip=function(){var e,t,n,r;null===(t=null===(e=this.tooltip)||void 0===e?void 0:e.destroy)||void 0===t||t.call(e),this.tooltip=this.renderTooltip(),this.tooltip instanceof wR||console.warn("[Custom Tooltip]: ".concat(null===(r=null===(n=this.tooltip)||void 0===n?void 0:n.constructor)||void 0===r?void 0:r.toString()," should be extends from BaseTooltip"))},t.prototype.renderTooltip=function(){var e,t;return(null===(t=null===(e=this.options.tooltip)||void 0===e?void 0:e.renderTooltip)||void 0===t?void 0:t.call(e,this))||new wR(this)},t.prototype.showTooltip=function(e){var t,n,r=e.content,i=e.event,o=this.getCell(null==i?void 0:i.target),a=is(r)?r(o,e):r;null===(n=(t=this.tooltip).show)||void 0===n||n.call(t,sa(sa({},e),{content:a}))},t.prototype.showTooltipWithInfo=function(e,t,n){var r,i=RA(this,e),o=i.showTooltip,a=i.content;if(o){var s=this.getCell(null==e?void 0:e.target),l=null!==(r=null==n?void 0:n.data)&&void 0!==r?r:CA({spreadsheet:this,cellInfos:t,targetCell:s,options:sa({enableFormat:!0},n)});this.showTooltip({data:l,position:{x:e.clientX,y:e.clientY},options:sa({enterable:!0},n),event:e,content:a})}},t.prototype.hideTooltip=function(){var e,t;null===(t=(e=this.tooltip).hide)||void 0===t||t.call(e)},t.prototype.destroyTooltip=function(){var e,t;null===(t=(e=this.tooltip).destroy)||void 0===t||t.call(e)},t.prototype.registerIcons=function(){var e=this.options.customSVGIcons;$g(e)||dm(e,(function(e){KE(e.name,e.svg)}))},t.prototype.setDataCfg=function(e,t){this.store.set("originalDataCfg",e),this.dataCfg=t?RS(e):RS(this.dataCfg,e),this.store.set(ko,Do)},t.prototype.setOptions=function(e,t){var n;this.hideTooltip(),this.options=t?wS(e):AS(this.options,e),(t||(null===(n=e.tooltip)||void 0===n?void 0:n.renderTooltip))&&this.initTooltip(),this.registerIcons()},t.prototype.render=function(e,t){if(void 0===e&&(e=!0),void 0===t&&(t={}),this.getCanvasElement()){var n=t.reBuildDataSet,r=void 0!==n&&n,i=t.reBuildHiddenColumnsDetail,o=void 0===i||i;this.emit(Qi.LAYOUT_BEFORE_RENDER),r&&(this.dataSet=this.getDataSet(this.options)),e&&(this.clearDrillDownData("",!0),this.dataSet.setDataCfg(this.dataCfg)),this.buildFacet(),o&&this.initHiddenColumnsDetail(),this.emit(Qi.LAYOUT_AFTER_RENDER)}},t.prototype.destroy=function(){var e,t,n,r,i;this.restoreOverscrollBehavior(),this.emit(Qi.LAYOUT_DESTROY),null===(e=this.facet)||void 0===e||e.destroy(),null===(t=this.hdAdapter)||void 0===t||t.destroy(),null===(n=this.interaction)||void 0===n||n.destroy(),null===(r=this.store)||void 0===r||r.clear(),this.destroyTooltip(),this.clearCanvasEvent(),null===(i=this.container)||void 0===i||i.destroy(),function(){var e;null===(e=document.getElementById(ET))||void 0===e||e.remove()}()},t.prototype.setThemeCfg=function(e){void 0===e&&(e={});var t=(null==e?void 0:e.theme)||{},n=function(e){var t,n,r,i,o,a=(null==e?void 0:e.palette)||bE(null==e?void 0:e.name),s=a.basicColors,l=a.semanticColors,c=a.others,u=null===(t=null==e?void 0:e.spreadsheet)||void 0===t?void 0:t.isTableMode(),h=_E()?"bold":700,p=function(){var e,t;return{bolderText:{fontFamily:sE,fontSize:12,fontWeight:h,fill:s[13],opacity:1,textAlign:"right",textBaseline:"middle",linkTextFill:s[6]},text:{fontFamily:sE,fontSize:12,fontWeight:"normal",fill:s[13],opacity:1,textAlign:"right",textBaseline:"middle",linkTextFill:s[6]},cell:{crossBackgroundColor:s[1],backgroundColor:s[8],backgroundColorOpacity:1,horizontalBorderColor:s[9],horizontalBorderColorOpacity:1,verticalBorderColor:s[9],verticalBorderColorOpacity:1,horizontalBorderWidth:1,verticalBorderWidth:1,padding:{top:8,right:8,bottom:8,left:8},interactionState:{hover:{backgroundColor:s[2],backgroundOpacity:.6},hoverFocus:{backgroundColor:s[2],backgroundOpacity:.6,borderColor:s[14],borderWidth:1,borderOpacity:1},selected:{backgroundColor:s[2],backgroundOpacity:.6},unselected:{backgroundOpacity:.3,textOpacity:.3,opacity:.3},searchResult:{backgroundColor:null!==(e=null==c?void 0:c.results)&&void 0!==e?e:s[2],backgroundOpacity:1},highlight:{backgroundColor:null!==(t=null==c?void 0:c.highlight)&&void 0!==t?t:s[6],backgroundOpacity:1},prepareSelect:{borderColor:s[14],borderOpacity:1,borderWidth:1}}},miniChart:{line:{point:{size:2.2,fill:s[6],opacity:1},linkLine:{size:1.5,fill:s[6],opacity:.6}},bar:{intervalPadding:4,fill:s[6],opacity:1},bullet:{progressBar:{widthPercent:.6,height:10,innerHeight:6},comparativeMeasure:{width:1,height:12,fill:s[13],opacity:.25},rangeColors:{good:null==l?void 0:l.green,satisfactory:l.yellow,bad:l.red},backgroundColor:"#E9E9E9"},interval:{height:12,fill:s[7]}},icon:{fill:s[13],downIconColor:l.red,upIconColor:l.green,size:10,margin:{right:4,left:4}}}};return{cornerCell:{bolderText:{fontFamily:sE,fontSize:12,fontWeight:h,fill:s[0],opacity:1,textAlign:u?"center":"left",textBaseline:"middle"},text:{fontFamily:sE,fontSize:12,fontWeight:h,fill:s[0],opacity:1,textAlign:"right",textBaseline:"middle"},cell:{backgroundColor:s[3],backgroundColorOpacity:1,horizontalBorderColor:s[10],horizontalBorderColorOpacity:1,verticalBorderColor:s[10],verticalBorderColorOpacity:1,horizontalBorderWidth:1,verticalBorderWidth:1,padding:{top:0,right:8,bottom:0,left:8}},icon:{fill:s[0],size:10,margin:{right:4,left:4}}},rowCell:{seriesText:{fontFamily:sE,fontSize:12,fontWeight:"normal",fill:s[14],linkTextFill:s[6],opacity:1,textBaseline:"middle",textAlign:"center"},measureText:{fontFamily:sE,fontSize:12,fontWeight:"normal",fill:s[14],linkTextFill:s[6],opacity:1,textAlign:u?"center":"left",textBaseline:"top"},bolderText:{fontFamily:sE,fontSize:12,fontWeight:h,fill:s[14],linkTextFill:s[6],opacity:1,textAlign:u?"center":"left",textBaseline:"top"},text:{fontFamily:sE,fontSize:12,fontWeight:"normal",fill:s[14],linkTextFill:s[6],opacity:1,textBaseline:"top",textAlign:u?"center":"left"},cell:{backgroundColor:s[1],backgroundColorOpacity:1,horizontalBorderColor:s[9],horizontalBorderColorOpacity:1,verticalBorderColor:s[9],verticalBorderColorOpacity:1,horizontalBorderWidth:1,verticalBorderWidth:1,padding:{top:0,right:8,bottom:0,left:8},interactionState:{hover:{backgroundColor:s[2],backgroundOpacity:.6},selected:{backgroundColor:s[2],backgroundOpacity:.6},unselected:{backgroundOpacity:.3,textOpacity:.3,opacity:.3},prepareSelect:{borderColor:s[14],borderOpacity:1,borderWidth:1},searchResult:{backgroundColor:null!==(n=null==c?void 0:c.results)&&void 0!==n?n:s[2],backgroundOpacity:1},highlight:{backgroundColor:null!==(r=null==c?void 0:c.highlight)&&void 0!==r?r:s[6],backgroundOpacity:1}}},icon:{fill:s[14],size:10,margin:{right:4,left:4}},seriesNumberWidth:80},colCell:{measureText:{fontFamily:sE,fontSize:12,fontWeight:"normal",fill:s[0],opacity:1,textAlign:"right",textBaseline:"middle"},bolderText:{fontFamily:sE,fontSize:12,fontWeight:h,fill:s[0],opacity:1,textAlign:"center",textBaseline:"middle"},text:{fontFamily:sE,fontSize:12,fontWeight:"normal",fill:s[0],opacity:1,textAlign:"center",textBaseline:"middle"},cell:{backgroundColor:s[3],backgroundColorOpacity:1,horizontalBorderColor:s[10],horizontalBorderColorOpacity:1,verticalBorderColor:s[10],verticalBorderColorOpacity:1,horizontalBorderWidth:1,verticalBorderWidth:1,padding:{top:0,right:8,bottom:0,left:8},interactionState:{hover:{backgroundColor:s[4],backgroundOpacity:.6},selected:{backgroundColor:s[4],backgroundOpacity:.6},unselected:{backgroundOpacity:.3,textOpacity:.3,opacity:.3},prepareSelect:{borderColor:s[14],borderOpacity:1,borderWidth:1},searchResult:{backgroundColor:null!==(i=null==c?void 0:c.results)&&void 0!==i?i:s[2],backgroundOpacity:1},highlight:{backgroundColor:null!==(o=null==c?void 0:c.highlight)&&void 0!==o?o:s[6],backgroundOpacity:1}}},icon:{fill:s[0],size:10,margin:{top:6,right:4,bottom:6,left:4}}},dataCell:p(),mergedCell:p(),resizeArea:{size:3,background:s[7],backgroundOpacity:0,guideLineColor:s[7],guideLineDisableColor:"rgba(0,0,0,0.25)",guideLineDash:[3,3],interactionState:{hover:{backgroundColor:s[7],backgroundOpacity:1}}},scrollBar:{trackColor:"rgba(0,0,0,0.01)",thumbHoverColor:"rgba(0,0,0,0.25)",thumbColor:"rgba(0,0,0,0.15)",thumbHorizontalMinSize:32,thumbVerticalMinSize:32,size:vE()?3:6,hoverSize:vE()?4:8,lineCap:"round"},splitLine:{horizontalBorderColor:s[12],horizontalBorderColorOpacity:.2,horizontalBorderWidth:2,verticalBorderColor:s[11],verticalBorderColorOpacity:.25,verticalBorderWidth:2,showShadow:!0,shadowWidth:8,shadowColors:{left:"rgba(0,0,0,0.1)",right:"rgba(0,0,0,0)"}},prepareSelectMask:{backgroundColor:s[5],backgroundOpacity:.3},background:{color:s[8],opacity:1}}}(sa(sa({},e),{spreadsheet:this}));this.theme=AS(n,t)},t.prototype.setTheme=function(e){this.theme=AS(this.theme,e)},t.prototype.updatePagination=function(e){this.options=AS(this.options,{pagination:e}),this.store.set("scrollX",0),this.store.set("scrollY",0)},t.prototype.getContentHeight=function(){return this.facet.getContentHeight()},t.prototype.changeSize=function(e,t){void 0===e&&(e=this.options.width),void 0===t&&(t=this.options.height),this.changeSheetSize(e,t)},t.prototype.changeSheetSize=function(e,t){void 0===e&&(e=this.options.width),void 0===t&&(t=this.options.height);var n=this.getCanvasElement(),r=this.container.get("width"),i=this.container.get("height");(e!==r||t!==i)&&n&&(this.options=AS(this.options,{width:e,height:t}),this.container.changeSize(e,t))},t.prototype.getCanvasElement=function(){return this.container.get("el")},t.prototype.getLayoutWidthType=function(){return this.options.style.layoutWidthType},t.prototype.getRowNodes=function(e){return void 0===e&&(e=-1),-1===e?this.facet.layoutResult.rowNodes:this.facet.layoutResult.rowNodes.filter((function(t){return t.level===e}))},t.prototype.getRowLeafNodes=function(){var e;return(null===(e=this.facet)||void 0===e?void 0:e.layoutResult.rowLeafNodes)||[]},t.prototype.getColumnNodes=function(e){var t;void 0===e&&(e=-1);var n=(null===(t=this.facet)||void 0===t?void 0:t.layoutResult.colNodes)||[];return-1===e?n:n.filter((function(t){return t.level===e}))},t.prototype.getColumnLeafNodes=function(){var e;return(null===(e=this.facet)||void 0===e?void 0:e.layoutResult.colLeafNodes)||[]},t.prototype.updateScrollOffset=function(e){this.facet.updateScrollOffset(AS({offsetX:{value:void 0,animate:!1},offsetY:{value:void 0,animate:!1},rowHeaderOffsetX:{value:void 0,animate:!1}},e))},t.prototype.getTooltipDataItemMappingCallback=function(){var e;return null===(e=this.options)||void 0===e?void 0:e.mappingDisplayDataItem},t.prototype.getCell=function(e){for(var t,n=e;n&&!(n instanceof Ji);){if(n instanceof gx)return n;n=null===(t=n.get)||void 0===t?void 0:t.call(n,"parent")}return null},t.prototype.getCellType=function(e){var t=this.getCell(e);return null==t?void 0:t.cellType},t.prototype.getTotalsConfig=function(e){var t=vu(this.options.totals,gg(this.dataSet.fields.rows,e)?"row":"col",{});return{showSubTotals:!(!t.showSubTotals||!gg(t.subTotalsDimensions,e))&&t.showSubTotals,showGrandTotals:t.showGrandTotals,reverseLayout:t.reverseLayout,reverseSubLayout:t.reverseSubLayout,label:t.label||pE("总计"),subLabel:t.subLabel||pE("小计")}},t.prototype.initGroups=function(e){var t=this.options,n=t.width,r=t.height,i=t.supportCSSTransform,o=t.devicePixelRatio;this.container=new Ji({container:this.getMountContainer(e),width:n,height:r,localRefresh:!1,supportCSSTransform:i,pixelRatio:Math.max(o,1)}),this.backgroundGroup=this.container.addGroup({name:"backGroundGroup",zIndex:0}),this.panelGroup=this.container.addGroup({name:"panelGroup",zIndex:1}),this.foregroundGroup=this.container.addGroup({name:"foreGroundGroup",zIndex:3}),this.initPanelGroupChildren(),this.updateContainerStyle()},t.prototype.updateContainerStyle=function(){var e=this.getCanvasElement();e&&(e.style.display="block")},t.prototype.initPanelGroupChildren=function(){this.panelScrollGroup=new lR({name:"panelScrollGroup",zIndex:1,s2:this}),this.panelGroup.add(this.panelScrollGroup)},t.prototype.getInitColumnLeafNodes=function(){return this.store.get("initColumnLeafNodes",[])},t.prototype.clearColumnLeafNodes=function(){this.store.set("initColumnLeafNodes",void 0)},t.prototype.clearCanvasEvent=function(){var e=this;Zm(this.getEvents(),(function(t,n){e.off(n)}))},t.prototype.updateSortMethodMap=function(e,t,n){var r;void 0===n&&(n=!1);var i=n?null:this.store.get("sortMethodMap");this.store.set("sortMethodMap",sa(sa({},i),((r={})[e]=t,r)))},t.prototype.getMenuDefaultSelectedKeys=function(e){var t=vu(this.store.get("sortMethodMap"),e);return t?[t]:[]},t}(pe),OR=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return aa(t,e),t.prototype.getDataSet=function(e){var t=e.dataSet,n=e.hierarchyType;return t?t(this):"customTree"===n?new kA(this):new NA(this)},t.prototype.isPivotMode=function(){return!0},t.prototype.isTableMode=function(){return!1},t.prototype.isHierarchyTreeType=function(){var e=this.options.hierarchyType;return"tree"===e||"customTree"===e},t.prototype.isScrollContainsRowHeader=function(){return!this.isFrozenRowHeader()},t.prototype.isFrozenRowHeader=function(){var e;return null===(e=this.options)||void 0===e?void 0:e.frozenRowHeader},t.prototype.isValueInCols=function(){return this.dataSet.fields.valueInCols},t.prototype.clearDrillDownData=function(e,t){this.dataSet instanceof NA&&(this.dataSet.clearDrillDownData(e),t||(this.interaction.reset(),this.render(!1)))},t.prototype.getFacetCfgFromDataSetAndOptions=function(){var e=this,t=this.dataSet,n=t.fields,r=t.meta,i=this.options,o=i.style,a=i.dataCell;return sa(sa(sa(sa({},this.options),n),o),{meta:r,spreadsheet:this,dataSet:this.dataSet,dataCell:null!=a?a:function(t){return new Ex(t,e)}})},t.prototype.buildFacet=function(){var e,t=this.getFacetCfgFromDataSetAndOptions();null===(e=this.facet)||void 0===e||e.destroy(),this.facet=new iR(t),this.facet.render()},t.prototype.bindEvents=function(){this.off(Qi.ROW_CELL_COLLAPSE_TREE_ROWS),this.off(Qi.LAYOUT_TREE_ROWS_COLLAPSE_ALL),this.on(Qi.ROW_CELL_COLLAPSE_TREE_ROWS,this.handleRowCellCollapseTreeRows),this.on(Qi.LAYOUT_TREE_ROWS_COLLAPSE_ALL,this.handleTreeRowsCollapseAll)},t.prototype.handleRowCellCollapseTreeRows=function(e){var t,n=e.id,r=e.isCollapsed,i={style:{collapsedRows:(t={},t[n]=r,t)}};this.emit(Qi.LAYOUT_COLLAPSE_ROWS,{collapsedRows:i.style.collapsedRows,meta:null==e?void 0:e.node}),this.setOptions(i),this.render(!1),this.emit(Qi.LAYOUT_AFTER_COLLAPSE_ROWS,{collapsedRows:i.style.collapsedRows,meta:null==e?void 0:e.node})},t.prototype.handleTreeRowsCollapseAll=function(e){var t={style:{hierarchyCollapse:!e,collapsedRows:null,rowExpandDepth:null}};this.setOptions(t),this.render(!1)},t.prototype.groupSortByMethod=function(e,t){var n=this.dataCfg.fields,r=n.rows,i=n.columns,o=this.options.style.colCfg.hideMeasureColumn,a=this.isValueInCols()?om(r):om(i),s=t.query,l=t.value,c=_d(s),u=l;o&&this.isValueInCols()&&(u=this.dataSet.fields.values[0],c[no]=u);var h={sortFieldId:a,sortMethod:e,sortByMeasure:u,query:c},p=this.dataCfg.sortParams.filter((function(e){return(null==e?void 0:e.sortFieldId)!==a}));this.updateSortMethodMap(t.id,e,!0);var d=ha(ha([],ua(p),!1),[h],!1);this.emit(Qi.RANGE_SORT,d),this.setDataCfg(sa(sa({},this.dataCfg),{sortParams:d})),this.render()},t.prototype.handleGroupSort=function(e,t){var n=this;e.stopPropagation(),this.interaction.addIntercepts([$o.HOVER]);var r=this.getMenuDefaultSelectedKeys(null==t?void 0:t.id),i={onClick:function(r){var i=r.key;n.groupSortByMethod(i,t),n.emit(Qi.RANGE_SORTED,e)},menus:[{key:"asc",icon:"groupAsc",text:pE("组内升序")},{key:"desc",icon:"groupDesc",text:pE("组内降序")},{key:"none",text:pE("不排序")}],defaultSelectedKeys:r};this.showTooltipWithInfo(e,[],{operator:i,onlyMenu:!0,forceRender:!0})},t}(LR),NR=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return aa(t,e),t}(sR),IR=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.onSortTooltipClick=function(e,n){var r=e.key,i={sortFieldId:n.field,sortMethod:r};t.updateSortMethodMap(n.id,r),t.emit(Qi.RANGE_SORT,[i])},t}return aa(t,e),t.prototype.getDataSet=function(e){var t=e.dataSet;return t?t(this):new IA(this)},t.prototype.isPivotMode=function(){return!1},t.prototype.isTableMode=function(){return!0},t.prototype.isHierarchyTreeType=function(){return!1},t.prototype.isScrollContainsRowHeader=function(){return!1},t.prototype.isFrozenRowHeader=function(){return!1},t.prototype.clearDrillDownData=function(){},t.prototype.isValueInCols=function(){return!1},t.prototype.bindEvents=function(){},t.prototype.initPanelGroupChildren=function(){var t,n=this;e.prototype.initPanelGroupChildren.call(this);var r={zIndex:2,s2:this};t=ua([so,lo,co,uo,ho,po].map((function(e){var t=new NR(sa({name:e},r));return n.panelGroup.add(t),t})),6),this.frozenRowGroup=t[0],this.frozenColGroup=t[1],this.frozenTrailingRowGroup=t[2],this.frozenTrailingColGroup=t[3],this.frozenTopGroup=t[4],this.frozenBottomGroup=t[5]},t.prototype.getFacetCfgFromDataSetAndOptions=function(){var e=this,t=this.dataSet,n=t.fields,r=t.meta,i=this.options,o=i.style,a=i.dataCell;return sa(sa(sa(sa({},this.options),n),o),{meta:r,spreadsheet:this,dataSet:this.dataSet,dataCell:null!=a?a:function(t){return e.options.showSeriesNumber&&0===t.colIndex?new yS(t,e):new gS(t,e)}})},t.prototype.buildFacet=function(){var e,t=this.getFacetCfgFromDataSetAndOptions();null===(e=this.facet)||void 0===e||e.destroy(),this.facet=new aR(t),this.facet.render()},t.prototype.clearFrozenGroups=function(){this.frozenRowGroup.set("children",[]),this.frozenColGroup.set("children",[]),this.frozenTrailingRowGroup.set("children",[]),this.frozenTrailingColGroup.set("children",[]),this.frozenTopGroup.set("children",[]),this.frozenBottomGroup.set("children",[])},t.prototype.destroy=function(){e.prototype.destroy.call(this),this.clearFrozenGroups(),this.off(Qi.RANGE_SORT),this.off(Qi.RANGE_FILTER)},t.prototype.handleGroupSort=function(e,t){var n=this;e.stopPropagation(),this.interaction.addIntercepts([$o.HOVER]);var r=this.getMenuDefaultSelectedKeys(null==t?void 0:t.id),i={onClick:function(e){var r=e.key;n.onSortTooltipClick({key:r},t)},menus:[{key:"asc",icon:"groupAsc",text:pE("升序")},{key:"desc",icon:"groupDesc",text:pE("降序")},{key:"none",text:pE("不排序")}],defaultSelectedKeys:r};this.showTooltipWithInfo(e,[],{operator:i,onlyMenu:!0,forceRender:!0})},t}(LR)},2752:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r={}.toString;const i=function(e,t){return r.call(e)==="[object "+t+"]"}},5093:(e,t,n)=>{"use strict";n.d(t,{Np:()=>We,JF:()=>d,_T:()=>at,S9:()=>et,ge:()=>tt,cW:()=>Ze,P4:()=>Qe,TE:()=>rt,Zm:()=>it,g:()=>nt,c_:()=>ot,Zj:()=>Je,aK:()=>Ke});var r,i=n(4808),o=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=this;this.buildListener=function(e){return function(t,n){for(var r=this,o=0;o<e.length;o++){var a=e[o];(0,i.LQ)(a)?a.call(this,t,n):(0,i.d8)(a)&&(0,i.LQ)(e[o+1])?(a===t.type&&e[o+1].call(this,t.payload,n),o++):(0,i.S6)(a,(function(e,o){if((0,i.LQ)(e)&&(0,i.d8)(o)&&o===t.type)return e.call(r,t.payload,n),!1}))}}},this.notify=function(e,t,r){(0,i.d8)(e)&&n.listener.call(r,{type:e,payload:t},r)},this.listener=this.buildListener(e)},a=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),s=function(e){function t(t){var n=void 0===t?{}:t,r=n.lifecycles,a=n.context,s=e.call(this)||this;return s.lifecycles=[],s.outerLifecycles=new Map,s.buildLifeCycles=function(e){return e.reduce((function(e,t){return t instanceof o?e.concat(t):(0,i.H1)(t)?s.buildLifeCycles(t):"object"==typeof t?(s.context=t,e):e}),[])},s.addLifeCycles=function(e,t){void 0===t&&(t=[]);var n=s.buildLifeCycles(t);n.length&&s.outerLifecycles.set(e,n)},s.hasLifeCycles=function(e){return s.outerLifecycles.has(e)},s.removeLifeCycles=function(e){s.outerLifecycles.delete(e)},s.setLifeCycles=function(e){void 0===e&&(e=[]),s.lifecycles=s.buildLifeCycles(e)},s.publish=function(e,t,n){(0,i.d8)(e)&&(s.lifecycles.forEach((function(r){r.notify(e,t,n||s.context)})),s.outerLifecycles.forEach((function(r){r.forEach((function(r){r.notify(e,t,n||s.context)}))})),s.notify({type:e,payload:t}))},s.clear=function(){s.lifecycles=[],s.outerLifecycles.clear(),s.unsubscribe()},s.lifecycles=s.buildLifeCycles(r||[]),s.context=a,s}return a(t,e),t}(i.lT),l=n(6196),c=function(e){return e instanceof $e},u=function(e){return e instanceof we||e instanceof Ge},h=function(e){return e instanceof He},p=function(e){return e instanceof Ue},d=function(e){return e instanceof Ge},f=function(e){return function(e){return e instanceof we}(e)||h(e)||p(e)},m=function(e){return e&&e instanceof xe},g=function(e){var t=this;this.getGraph=function(){var e={};return e[""]=t.form.getState(),(0,i.S6)(t.form.fields,(function(t,n){e[n]=t.getState()})),e},this.setGraph=function(e){var n=t.form;(0,i.S6)(e,(function(e,r){if(function(e){return!(0,i.LQ)(null==e?void 0:e.initialize)&&"Form"===(null==e?void 0:e.displayName)}(e))n.setState(e);else{var o=n.fields[r];o?o.setState(e):function(e,n){var r=i.Dm.parse(e),o=r.segments[r.segments.length-1],a=r.parent();return function(e){return!(0,i.LQ)(null==e?void 0:e.initialize)&&"Field"===(null==e?void 0:e.displayName)}(n)?t.form.createField({name:o,basePath:a}):function(e){return!(0,i.LQ)(null==e?void 0:e.initialize)&&"ArrayField"===(null==e?void 0:e.displayName)}(n)?t.form.createArrayField({name:o,basePath:a}):function(e){return!(0,i.LQ)(null==e?void 0:e.initialize)&&"ObjectField"===(null==e?void 0:e.displayName)}(n)?t.form.createObjectField({name:o,basePath:a}):t.form.createVoidField({name:o,basePath:a})}(r,e).setState(e)}}))},this.form=e,(0,l.Ou)(this,{setGraph:l.dC})},y=i.Dm.getIn,v=i.kk,_={locales:{messages:{},language:v.navigator&&(v.navigator.browserlanguage||v.navigator.language)||"en"},formats:{},rules:{},template:null},b=function(e,t){return void 0===t&&(t=_.locales.language),y(_.locales.messages,"".concat(function(e){var t=_.locales.language,n=(0,i.vl)(e);return _.locales.messages[e]?e:((0,i.S6)(_.locales.messages,(function(e,r){var o=(0,i.vl)(r);if(o.indexOf(n)>-1||n.indexOf(o)>-1)return t=r,!1})),t)}(t),".").concat(e))},E=function(e){return b(e)||b("pattern")||b("pattern","en")},T=function(e,t){var n=e.message;if((0,i.d8)(e.message)){var r=_.template;(0,i.LQ)(r)&&(e.message=r(n,t)),e.message=e.message.replace(/\{\{\s*([\w.]+)\s*\}\}/g,(function(e,n){return i.Dm.getIn(t,n)}))}return e},x=function(){return x=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},x.apply(this,arguments)},S=function(e){if(!e)return{};var t={};return(0,i.d8)(e)?t.format=e:(0,i.LQ)(e)?t.validator=e:t=Object.assign(t,e),t},C=function(e){return e?((0,i.H1)(e)?e:[e]).map((function(e){return S(e)})):[]},A=function(e){void 0===e&&(e={});var t=function(t,n){return function(r,o){return a=void 0,s=void 0,c=function(){var a,s,l;return function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}}(this,(function(c){switch(c.label){case 0:a=function(t,n){return x(x(x({},e),t),{value:n})}(o,r),c.label=1;case 1:return c.trys.push([1,3,,4]),[4,t(r,x(x({},e),{message:n}),a,(function(e,t){var n;return null===(n=T({type:"error",message:e},Object.assign(a,t)))||void 0===n?void 0:n.message}))];case 2:return s=c.sent(),(0,i.Bl)(s)?s?[2,{type:"error",message:void 0}]:[2,T({type:"error",message:n},a)]:s?(u=s).type&&u.message?[2,T(s,a)]:[2,T({type:"error",message:s},a)]:[2,{type:"error",message:void 0}];case 3:return[2,{type:"error",message:(null==(l=c.sent())?void 0:l.message)||l}];case 4:return[2]}var u}))},new((l=void 0)||(l=Promise))((function(e,t){function n(e){try{i(c.next(e))}catch(e){t(e)}}function r(e){try{i(c.throw(e))}catch(e){t(e)}}function i(t){t.done?e(t.value):function(e){return e instanceof l?e:new l((function(t){t(e)}))}(t.value).then(n,r)}i((c=c.apply(a,s||[])).next())}));var a,s,l,c}};return function(){var t=[];for(var n in"required"in e&&t.push("required"),e)"required"!==n&&"validator"!==n&&t.push(n);return"validator"in e&&t.push("validator"),t}().reduce((function(n,r){var i,o,a=function(e){return e?_.rules[e]:_.rules}(r);if(a){var s=t(a,(o=r,(i=e).format?i.message||E(i.format):i.message||E(o)));return n.concat(s)}return n}),[])};const R={url:new RegExp("^(?:(?:(?:https?|ftp|rtmp):)?//)(?:\\S+(?::\\S*)?@)?(?:(?!(?:10|127)(?:\\.\\d{1,3}){3})(?!(?:169\\.254|192\\.168)(?:\\.\\d{1,3}){2})(?!172\\.(?:1[6-9]|2\\d|3[0-1])(?:\\.\\d{1,3}){2})(?:22[0-3]|2[01]\\d|[1-9]\\d?|1\\d\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1?\\d{1,2})){2}(?:\\.(?:25[0-4]|2[0-4]\\d|1\\d\\d|[1-9]\\d?))|(?:(?:[a-z\\u00a1-\\uffff0-9_]-*)*[a-z\\u00a1-\\uffff0-9_]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9_]-*)*[a-z\\u00a1-\\uffff0-9_]+)*(?:\\.(?:[a-z\\u00a1-\\uffff_]{2,})))(?::\\d{2,5})?(?:/?\\S*)?$"),email:/^\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$/,ipv6:/^\s*((([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}))|:)))(%.+)?\s*$/,ipv4:/^((25[0-5]|2[0-4][0-9]|1[0-9]{2}|[0-9]{1,2})\.){3}(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[0-9]{1,2})$/,number:/^[+-]?\d+(\.\d+)?$/,integer:/^[+-]?\d+$/,qq:/^(\+?[1-9]\d*|0)$/,phone:/^\d{3}-\d{8}$|^\d{4}-\d{7}$|^\d{11}$/,idcard:/^\d{15}$|^\d{17}(\d|x|X)$/,money:/^([\u0024\u00A2\u00A3\u00A4\u20AC\u00A5\u20B1\u20B9\uFFE5]\s*)(\d+,?)+\.?\d*\s*$/,zh:/^[\u4e00-\u9fa5]+$/,date:/^[0-9]+[./-][0-9]+[./-][0-9]+\s*(?:[0-9]+\s*:\s*[0-9]+\s*:\s*[0-9]+)?$/,zip:/^[0-9]{6}$/};var w,L=function(){return L=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},L.apply(this,arguments)},O=function(e){var t;if((0,i.H1)(e)){for(var n=0;n<e.length;n++)if((0,i.JY)(e[n]))return!1;return!0}return(null==e?void 0:e.getCurrentContent)?!(null===(t=e.getCurrentContent())||void 0===t?void 0:t.hasText()):(0,i.xb)(e)},N=function(e){return(0,i.d8)(e)?(0,i.ug)(e):e?e.length:0},I={format:function(e,t){if(O(e))return"";if(t.format){var n=(r=t.format)?_.formats[r]:_.formats;if(n)return new RegExp(n).test(e)?"":t.message}var r;return""},required:function(e,t){return!1===t.required?"":O(e)?t.message:""},max:function(e,t){return O(e)?"":((0,i.e9)(e)?e:N(e))>Number(t.max)?t.message:""},min:function(e,t){return O(e)?"":((0,i.e9)(e)?e:N(e))<Number(t.min)?t.message:""},exclusiveMaximum:function(e,t){return O(e)?"":((0,i.e9)(e)?e:N(e))>=Number(t.exclusiveMaximum)?t.message:""},exclusiveMinimum:function(e,t){return O(e)?"":((0,i.e9)(e)?e:N(e))<=Number(t.exclusiveMinimum)?t.message:""},len:function(e,t){return O(e)?"":N(e)!==Number(t.len)?t.message:""},pattern:function(e,t){return O(e)||new RegExp(t.pattern).test(e)?"":t.message},validator:function(e,t,n,r){return o=this,a=void 0,l=function(){var o;return function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}}(this,(function(a){switch(a.label){case 0:return(0,i.LQ)(t.validator)?[4,Promise.resolve(t.validator(e,t,n,r))]:[3,2];case 1:return o=a.sent(),(0,i.Bl)(o)?[2,o?"":t.message]:[2,o];case 2:throw new Error("The rule's validator property must be a function.")}}))},new((s=void 0)||(s=Promise))((function(e,t){function n(e){try{i(l.next(e))}catch(e){t(e)}}function r(e){try{i(l.throw(e))}catch(e){t(e)}}function i(t){t.done?e(t.value):function(e){return e instanceof s?e:new s((function(t){t(e)}))}(t.value).then(n,r)}i((l=l.apply(o,a||[])).next())}));var o,a,s,l},whitespace:function(e,t){return O(e)?"":t.whitespace?/^\s+$/.test(e)?t.message:"":void 0},enum:function(e,t){return O(e)?"":-1===(0,i._K)(t.enum).indexOf(e)?t.message:""},const:function(e,t){return O(e)?"":t.const!==e?t.message:""},multipleOf:function(e,t){return O(e)?"":Number(e)%Number(t.multipleOf)!=0?t.message:""},uniqueItems:function(e,t){return O(e)||(e=(0,i._K)(e)).some((function(t,n){for(var r=0;r<e.length;r++)if(r!==n&&!(0,i.Xy)(e[r],t))return!1;return!0}))?"":t.message},maxProperties:function(e,t){return O(e)||Object.keys(e||{}).length<=Number(t.maxProperties)?"":t.message},minProperties:function(e,t){return O(e)||Object.keys(e||{}).length>=Number(t.minProperties)?"":t.message}};w=I,(0,i.S6)({maximum:"max",minimum:"min",maxItems:"max",minItems:"min",maxLength:"max",minLength:"min"},(function(e,t){w[t]=function(n,r){for(var i,o=[],a=2;a<arguments.length;a++)o[a-2]=arguments[a];return w[e].apply(w,function(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}([n,L(L({},r),(i={},i[e]=r[t],i))],function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}(o),!1))}}));!function(e){(0,i.S6)(e,(function(e,t){(0,i.LQ)(e)&&(_.rules[t]=e)}))}(I),_.locales.messages=(0,i.TS)(_.locales.messages,{en:{pattern:"This field is invalid",invalid:"This field is invalid",required:"The field value is required",number:"The field value is not a number",integer:"The field value is not an integer number",url:"The field value is a invalid url",email:"The field value is not a email format",ipv6:"The field value is not a ipv6 format",ipv4:"The field value is not a ipv4 format",idcard:"The field value is not an idcard format",qq:"The field value is not a qq number format",phone:"The field value is not a phone number format",money:"The field value is not a currency format",zh:"The field value is not a chinese string",date:"The field value is not a valid date format",zip:"The field value is not a zip format",len:"The length or number of entries must be {{len}}",min:"The length or number of entries must be at least {{min}}",minLength:"The length or number of entries must be at least {{minLength}}",minItems:"The length or number of entries must be at least {{minItems}}",maximum:"The field value cannot be greater than {{maximum}}",exclusiveMaximum:"The field value must be less than {{exclusiveMaximum}}",minimum:"The field value cannot be less than {{minimum}}",exclusiveMinimum:"The field value must be greater than {{exclusiveMinimum}}",max:"The field length or number of entries must be at most {{max}}",maxLength:"The field length or number of entries must be at most {{maxLength}}",maxItems:"The field length or number of entries must be at most {{maxItems}}",whitespace:"This field value cannot be blank string.",enum:"The field value must be one of {{enum}}",const:"The field value must be equal to {{const}}",multipleOf:"The field value must be divisible by {{multipleOf}}",maxProperties:"The number of field properties cannot be greater than {{maxProperties}}",minProperties:"The number of field properties cannot be less than {{maxProperties}}",uniqueItems:"Array elements are not unique"},zh:{pattern:"该字段不是一个合法的字段",invalid:"该字段不是一个合法的字段",required:"该字段是必填字段",number:"该字段不是合法的数字",integer:"该字段不是合法的整型数字",url:"该字段不是合法的url",email:"该字段不是合法的邮箱格式",ipv6:"该字段不是合法的ipv6格式",ipv4:"该字段不是合法的ipv4格式",idcard:"该字段不是合法的身份证格式",qq:"该字段不符合QQ号格式",phone:"该字段不是有效的手机号",money:"该字段不是有效货币格式",zh:"该字段不是合法的中文字符串",date:"该字段不是合法的日期格式",zip:"该字段不是合法的邮编格式",len:"长度或条目数必须为{{len}}",min:"长度或条目数不能小于{{min}}",minLength:"长度或条目数不能小于{{minLength}}",minItems:"长度或条目数不能小于{{minItems}}",max:"长度或条目数不能大于{{max}}",maxLength:"长度或条目数不能大于{{maxLength}}",maxItems:"长度或条目数不能大于{{maxItems}}",maximum:"数值不能大于{{maximum}}",exclusiveMaximum:"数值必须小于{{exclusiveMaximum}}",minimum:"数值不能小于{{minimum}}",exclusiveMinimum:"数值必须大于{{exclusiveMinimum}}",whitespace:"不能为纯空白字符串",enum:"字段值必须为{{enum}}其中一个",const:"字段值必须等于{{const}}",multipleOf:"字段值不能被{{multipleOf}}整除",maxProperties:"字段属性数量不能大于{{maxProperties}}",minProperties:"字段属性数量不能小于{{minProperties}}",uniqueItems:"数组元素不唯一"},"en-US":{pattern:"This field is invalid",invalid:"This field is invalid",required:"The field value is required",number:"The field value is not a number",integer:"The field value is not an integer number",url:"The field value is a invalid url",email:"The field value is not a email format",ipv6:"The field value is not a ipv6 format",ipv4:"The field value is not a ipv4 format",idcard:"The field value is not an idcard format",qq:"The field value is not a qq number format",phone:"The field value is not a phone number format",money:"The field value is not a currency format",zh:"The field value is not a chinese string",date:"The field value is not a valid date format",zip:"The field value is not a zip format",len:"The length or number of entries must be {{len}}",min:"The length or number of entries must be at least {{min}}",minLength:"The length or number of entries must be at least {{minLength}}",minItems:"The length or number of entries must be at least {{minItems}}",maximum:"The field value cannot be greater than {{maximum}}",exclusiveMaximum:"The field value must be less than {{exclusiveMaximum}}",minimum:"The field value cannot be less than {{minimum}}",exclusiveMinimum:"The field value must be greater than {{exclusiveMinimum}}",max:"The field length or number of entries must be at most {{max}}",maxLength:"The field length or number of entries must be at most {{maxLength}}",maxItems:"The field length or number of entries must be at most {{maxItems}}",whitespace:"This field value cannot be blank string.",enum:"The field value must be one of {{enum}}",const:"The field value must be equal to {{const}}",multipleOf:"The field value must be divisible by {{multipleOf}}",maxProperties:"The number of field properties cannot be greater than {{maxProperties}}",minProperties:"The number of field properties cannot be less than {{maxProperties}}",uniqueItems:"Array elements are not unique"},"zh-CN":{pattern:"该字段不是一个合法的字段",invalid:"该字段不是一个合法的字段",required:"该字段是必填字段",number:"该字段不是合法的数字",integer:"该字段不是合法的整型数字",url:"该字段不是合法的url",email:"该字段不是合法的邮箱格式",ipv6:"该字段不是合法的ipv6格式",ipv4:"该字段不是合法的ipv4格式",idcard:"该字段不是合法的身份证格式",qq:"该字段不符合QQ号格式",phone:"该字段不是有效的手机号",money:"该字段不是有效货币格式",zh:"该字段不是合法的中文字符串",date:"该字段不是合法的日期格式",zip:"该字段不是合法的邮编格式",len:"长度或条目数必须为{{len}}",min:"长度或条目数不能小于{{min}}",minLength:"长度或条目数不能小于{{minLength}}",minItems:"长度或条目数不能小于{{minItems}}",maxLength:"长度或条目数不能大于{{maxLength}}",maxItems:"长度或条目数不能大于{{maxItems}}",max:"长度或条目数不能大于{{max}}",maximum:"数值不能大于{{maximum}}",exclusiveMaximum:"数值必须小于{{exclusiveMaximum}}",minimum:"数值不能小于{{minimum}}",exclusiveMinimum:"数值必须大于{{exclusiveMinimum}}",whitespace:"不能为纯空白字符串",enum:"字段值必须为{{enum}}其中一个",const:"字段值必须等于{{const}}",multipleOf:"字段值不能被{{multipleOf}}整除",maxProperties:"字段属性数量不能大于{{maxProperties}}",minProperties:"字段属性数量不能小于{{minProperties}}",uniqueItems:"数组元素不唯一"},"zh-TW":{pattern:"該字段不是一個合法的字段",invalid:"該字段不是一個合法的字段",required:"該字段是必填字段",number:"該字段不是合法的數字",integer:"該字段不是合法的整型數字",url:"該字段不是合法的url",email:"該字段不是合法的郵箱格式",ipv6:"該字段不是合法的ipv6格式",ipv4:"該字段不是合法的ipv4格式",idcard:"該字段不是合法的身份證格式",qq:"該字段不符合QQ號格式",phone:"該字段不是有效的手機號",money:"該字段不是有效貨幣格式",zh:"該字段不是合法的中文字符串",date:"該字段不是合法的日期格式",zip:"該字段不是合法的郵編格式",len:"長度或條目數必須為{{len}}",min:"長度或條目數不能小於{{min}}",minItems:"長度或條目數不能小於{{minItems}}",minLength:"長度或條目數不能小於{{minLength}}",max:"長度或條目數不能大於{{max}}",maxItems:"長度或條目數不能大於{{maxItems}}",maxLength:"長度或條目數不能大於{{maxLength}}",maximum:"數值不能大於{{maximum}}",exclusiveMaximum:"數值必須小於{{exclusiveMaximum}}",minimum:"數值不能小於{{minimum}}",exclusiveMinimum:"數值必須大於{{exclusiveMinimum}}",whitespace:"不能為純空白字符串",enum:"字段值必須為{{enum}}其中一個",const:"字段值必須等於{{const}}",multipleOf:"字段值不能被{{multipleOf}}整除",maxProperties:"字段屬性數量不能大於{{maxProperties}}",minProperties:"字段屬性數量不能小於{{minProperties}}",uniqueItems:"數組元素不唯一"},ja:{url:"このフィールドは無効なURLです",whitespace:"このフィールドを空の文字列にすることはできません。",zh:"このフィールドは中国語の文字列ではありません",zip:"このフィールドはzip形式ではありません",date:"このフィールドは有効な日付形式ではありません",email:"このフィールドはメール形式ではありません",exclusiveMaximum:"値は{{exclusiveMaximum}}未満である必要があります",exclusiveMinimum:"値は{{exclusiveMinimum}}より大きい必要があります",idcard:"このフィールドはIDカード形式ではありません",integer:"このフィールドは整数ではありません",ipv4:"このフィールドはIPv4形式ではありません",ipv6:"このフィールドはIPv6形式ではありません",len:"エントリの長さまたは数は{{len}}でなければなりません",max:"エントリの長さまたは数は最大{{max}}でなければなりません",maxItems:"エントリの長さまたは数は最大{{maxItems}}でなければなりません",maxLength:"エントリの長さまたは数は最大{{maxLength}}でなければなりません",maximum:"値は{{最大}}を超えることはできません",min:"エントリの長さまたは数は、少なくとも{{min}}である必要があります",minItems:"エントリの長さまたは数は、少なくとも{{minItems}}である必要があります",minLength:"エントリの長さまたは数は、少なくとも{{minLength}}である必要があります",minimum:"値は{{minimum}}以上にする必要があります",money:"このフィールドは通貨形式ではありません",number:"このフィールドは数値ではありません",pattern:"このフィールドはどのパターンとも一致しません",invalid:"このフィールドはどのパターンとも一致しません",phone:"このフィールドは電話番号の形式ではありません",qq:"このフィールドはqq数値形式ではありません",required:"この項目は必須です",enum:"フィールド値は{{enum}}のいずれかである必要があります",cons:"フィールド値は{{const}}と等しくなければなりません",multipleOf:"フィールド値を{{multipleOf}}で割り切れない",maxProperties:"フィールドプロパティの数は{{maxProperties}}を超えることはできません",minProperties:"フィールドプロパティの数は{{minProperties}}未満にすることはできません",uniqueItems:"配列要素は一意ではありません"}}),function(e){(0,i.S6)(e,(function(e,t){((0,i.d8)(e)||e instanceof RegExp)&&(_.formats[t]=new RegExp(e))}))}(R);var k,D=function(e,t,n){return r=void 0,o=void 0,s=function(){var r,o,a,s,l,c;return function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}}(this,(function(u){switch(u.label){case 0:r=function(e,t){return void 0===t&&(t={}),e?((0,i.H1)(e)?e:[e]).reduce((function(e,n){var r,i=S(n),o=null!==(r=i.triggerType)&&void 0!==r?r:"onInput";return(null==t?void 0:t.triggerType)&&t.triggerType!==o?e:i?e.concat(A(i)):e}),[]):[]}(t,n),o={error:[],success:[],warning:[]},a=0,u.label=1;case 1:return a<r.length?[4,r[a](e,null==n?void 0:n.context)]:[3,4];case 2:if(s=u.sent(),l=s.type,c=s.message,o[l]=o[l]||[],c&&(o[l].push(c),null==n?void 0:n.validateFirst))return[3,4];u.label=3;case 3:return a++,[3,1];case 4:return[2,o]}}))},new((a=void 0)||(a=Promise))((function(e,t){function n(e){try{l(s.next(e))}catch(e){t(e)}}function i(e){try{l(s.throw(e))}catch(e){t(e)}}function l(t){t.done?e(t.value):function(e){return e instanceof a?e:new a((function(t){t(e)}))}(t.value).then(n,i)}l((s=s.apply(r,o||[])).next())}));var r,o,a,s};!function(e){e.ON_FORM_INIT="onFormInit",e.ON_FORM_MOUNT="onFormMount",e.ON_FORM_UNMOUNT="onFormUnmount",e.ON_FORM_INPUT_CHANGE="onFormInputChange",e.ON_FORM_VALUES_CHANGE="onFormValuesChange",e.ON_FORM_INITIAL_VALUES_CHANGE="onFormInitialValuesChange",e.ON_FORM_SUBMIT="onFormSubmit",e.ON_FORM_RESET="onFormReset",e.ON_FORM_SUBMIT_START="onFormSubmitStart",e.ON_FORM_SUBMITTING="onFormSubmitting",e.ON_FORM_SUBMIT_END="onFormSubmitEnd",e.ON_FORM_SUBMIT_VALIDATE_START="onFormSubmitValidateStart",e.ON_FORM_SUBMIT_VALIDATE_SUCCESS="onFormSubmitValidateSuccess",e.ON_FORM_SUBMIT_VALIDATE_FAILED="onFormSubmitValidateFailed",e.ON_FORM_SUBMIT_VALIDATE_END="onFormSubmitValidateEnd",e.ON_FORM_SUBMIT_SUCCESS="onFormSubmitSuccess",e.ON_FORM_SUBMIT_FAILED="onFormSubmitFailed",e.ON_FORM_VALIDATE_START="onFormValidateStart",e.ON_FORM_VALIDATING="onFormValidating",e.ON_FORM_VALIDATE_SUCCESS="onFormValidateSuccess",e.ON_FORM_VALIDATE_FAILED="onFormValidateFailed",e.ON_FORM_VALIDATE_END="onFormValidateEnd",e.ON_FORM_GRAPH_CHANGE="onFormGraphChange",e.ON_FORM_LOADING="onFormLoading",e.ON_FIELD_INIT="onFieldInit",e.ON_FIELD_INPUT_VALUE_CHANGE="onFieldInputValueChange",e.ON_FIELD_VALUE_CHANGE="onFieldValueChange",e.ON_FIELD_INITIAL_VALUE_CHANGE="onFieldInitialValueChange",e.ON_FIELD_SUBMIT="onFieldSubmit",e.ON_FIELD_SUBMIT_START="onFieldSubmitStart",e.ON_FIELD_SUBMITTING="onFieldSubmitting",e.ON_FIELD_SUBMIT_END="onFieldSubmitEnd",e.ON_FIELD_SUBMIT_VALIDATE_START="onFieldSubmitValidateStart",e.ON_FIELD_SUBMIT_VALIDATE_SUCCESS="onFieldSubmitValidateSuccess",e.ON_FIELD_SUBMIT_VALIDATE_FAILED="onFieldSubmitValidateFailed",e.ON_FIELD_SUBMIT_VALIDATE_END="onFieldSubmitValidateEnd",e.ON_FIELD_SUBMIT_SUCCESS="onFieldSubmitSuccess",e.ON_FIELD_SUBMIT_FAILED="onFieldSubmitFailed",e.ON_FIELD_VALIDATE_START="onFieldValidateStart",e.ON_FIELD_VALIDATING="onFieldValidating",e.ON_FIELD_VALIDATE_SUCCESS="onFieldValidateSuccess",e.ON_FIELD_VALIDATE_FAILED="onFieldValidateFailed",e.ON_FIELD_VALIDATE_END="onFieldValidateEnd",e.ON_FIELD_LOADING="onFieldLoading",e.ON_FIELD_RESET="onFieldReset",e.ON_FIELD_MOUNT="onFieldMount",e.ON_FIELD_UNMOUNT="onFieldUnmount"}(k||(k={}));var P,M={form:!0,parent:!0,props:!0,caches:!0,requests:!0,disposers:!0,heart:!0,graph:!0,indexes:!0,fields:!0,lifecycles:!0,componentType:!0,componentProps:!0,decoratorType:!0,decoratorProps:!0},F={address:!0,path:!0,valid:!0,invalid:!0,selfValid:!0,selfInvalid:!0,errors:!0,successes:!0,warnings:!0,validateStatus:!0},H="selfDisplay",B="selfPattern",U={pattern:B,editable:B,readOnly:B,readPretty:B,disabled:B,display:H,hidden:H,visible:H},j={lifecycles:[],context:[],effectStart:!1,effectEnd:!1,initializing:!1},G=/^\.(\d+)/,Y=function(){return Y=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},Y.apply(this,arguments)},z=function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){e.done?i(e.value):function(e){return e instanceof n?e:new n((function(t){t(e)}))}(e.value).then(a,s)}l((r=r.apply(e,t||[])).next())}))},$=function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}},W=Object.prototype.hasOwnProperty,V=function(e,t,n){c(e)?e.notify(t):e.notify(n)},K=function(e,t){var n;return void 0===t&&(t=!0),!(!(null==e?void 0:e.target)||!(0,i.JY)(e.target.value)&&!(0,i.JY)(e.target.checked)&&(e.target.tagName&&"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&"SELECT"!==e.target.tagName||(t&&(null===(n=e.stopPropagation)||void 0===n||n.call(e)),0)))},q=function(e,t){var n=!1,r=t.segments,o=r.reduce((function(t,o,a){var s=t.concat(o),l=r.slice(0,a+1),c=e[l.join(".")];if(n)return d(c)||(n=!1),t;if(a>=r.length-1)return s;if(d(c)){var u=r.slice(0,a),p=e[u.join(".")];return h(p)&&(0,i.sI)(o)?(n=!0,s):t}return n=!1,s}),[]);return new i.Dm(o)},X=function(e,t){return e.address=i.Dm.parse(t),e.path=function(e){return q(e.form.fields,e.address)}(e),e.form.indexes[e.path.toString()]=e.address.toString(),e},Z=function(e,t){t.forEach((function(t){var n=t.type,r=t.address,i=t.oldAddress,o=t.payload;"remove"===n?Q(e,r,!1):"update"===n&&(o&&(e[r]=o,e[i]===o&&delete e[i]),r&&o&&X(o,r))}))},Q=function(e,t,n){void 0===n&&(n=!0);var r=e[t];if(null==r||r.dispose(),f(r)&&n){var i=r.form,o=r.path;i.deleteValuesIn(o),i.deleteInitialValuesIn(o)}delete e[t]},J=function(e,t){return e.feedbacks.filter((function(n){var r,o,a;return!!(null===(r=n.messages)||void 0===r?void 0:r.length)&&function(e,t){return!(!e||!t||e.type&&e.type!==t.type||e.code&&e.code!==t.code||e.path&&t.path&&!i.Dm.parse(e.path).match(t.path)||e.address&&t.address&&!i.Dm.parse(e.address).match(t.address)||e.triggerType&&e.triggerType!==t.triggerType)}(t,Y(Y({},n),{address:null===(o=e.address)||void 0===o?void 0:o.toString(),path:null===(a=e.path)||void 0===a?void 0:a.toString()}))}))},ee=function(e,t){return e.feedbacks.length?J(e,t).reduce((function(e,t){return(0,i.xb)(t.messages)?e:e.concat(t.messages)}),[]):[]},te=function(e,t){return void 0===t&&(t="onInput"),z(void 0,void 0,void 0,(function(){var n,r;return $(this,(function(o){switch(o.label){case 0:return[4,D(e.value,e.validator,{triggerType:t,validateFirst:null!==(r=e.props.validateFirst)&&void 0!==r?r:e.form.props.validateFirst,context:{field:e,form:e.form}})];case 1:return n=o.sent(),(0,l.dC)((function(){(0,i.S6)(n,(function(n,r){e.setFeedback({triggerType:t,type:r,code:(0,i.Ho)("validate-".concat(r)),messages:n})}))})),[2,n]}}))}))},ne=function(e,t){var n=Y({startIndex:0,deleteCount:0,insertCount:0},t),r=n.startIndex,o=n.deleteCount,a=n.insertCount,s=e.address.toString(),c=s.length,u=e.form,h=u.fields,p=[],d=a-o;(0,l.dC)((function(){(0,i.S6)(h,(function(e,t){if(function(e){return 0===e.indexOf(s)&&e.length>c}(t)){if(function(e){var t,n=null===(t=e.substring(c).match(G))||void 0===t?void 0:t[1];return void 0!==n&&Number(n)>r+o-1}(t)){var n=function(e){var t;if(0===d)return e;var n=e.substring(0,c),r=e.substring(c),i=null===(t=r.match(G))||void 0===t?void 0:t[1];if(void 0===i)return e;var o=Number(i)+d;return"".concat(n).concat(r.replace(/^\.\d+/,".".concat(o)))}(t);p.push({type:"update",address:n,oldAddress:t,payload:e})}(function(e){var t,n=null===(t=e.substring(c).match(G))||void 0===t?void 0:t[1];if(void 0===n)return!1;var i=Number(n);return i>=r&&i<r+a}(t)||function(e){var t,n=e.substring(0,c),i=e.substring(c),a=null===(t=i.match(G))||void 0===t?void 0:t[1];if(void 0===a)return!1;var s=Number(a);return s>r&&!h["".concat(n).concat(i.replace(/^\.\d+/,".".concat(s+o)))]||s===r}(t))&&(f(e)&&u.deleteInitialValuesIn(e.path),p.push({type:"remove",address:t}))}})),Z(h,p)})),e.form.notify(k.ON_FORM_GRAPH_CHANGE)},re=function(e,t){var n=e.address.toString(),r=e.form.fields;(0,l.dC)((function(){(0,i.S6)(r,(function(e,r){(function(e){return 0===e.indexOf(n)&&e.length>n.length})(r)&&function(e){var r,i=null===(r=e.slice(n.length).match(G))||void 0===r?void 0:r[1];return void 0!==i&&Number(i)>=t}(r)&&e.destroy()}))}))},ie=l.dC.scope.bound((function(e){for(var t=e.form,n=i.Dm.ensureIn(t,"requests.updates",[]),r=i.Dm.ensureIn(t,"requests.updateIndexes",{}),o=0;o<n.length;o++){var a=n[o],s=a.pattern,l=a.callbacks,c=!1;e.match(s)&&(l.forEach((function(t){e.setState(t)})),s.isWildMatchPattern||s.isMatchPattern||(n.splice(o--,1),c=!0)),c?delete r[s.toString()]:r[s.toString()]=o}})),oe=function(e){var t,n=null===(t=e.address)||void 0===t?void 0:t.toString();return function(e){return 0===e.address.indexOf(n)}},ae=function(e){return l.dC.bound((function(t){return function(e,t){if(e){if((0,i.LQ)(t))t(e);else for(var n in t)if(W.call(t,n)&&!F[n]&&!M[n]){var r=U[n];if(!r||!W.call(t,r)||(0,i.JY)(t[r])){var o=t[n];(0,i.LQ)(o)||(e[n]=o)}}return e}}(e,t)}))},se=function(e){return function(t){return function(e,t){if((0,i.LQ)(t))return t(e);var n={};for(var r in e)if(W.call(e,r)&&!M[r])if("address"!==r&&"path"!==r){var o=e[r];(0,i.LQ)(o)||(n[r]=(0,l.ZN)(o))}else n[r]=e[r].toString();return n}(e,t)}},le=function(e,t){clearTimeout(e.requests.validate),t?(e.requests.validate=setTimeout((function(){(0,l.dC)((function(){e.validating=t,V(e,k.ON_FORM_VALIDATING,k.ON_FIELD_VALIDATING)}))}),100),V(e,k.ON_FORM_VALIDATE_START,k.ON_FIELD_VALIDATE_START)):(e.validating!==t&&(e.validating=t),V(e,k.ON_FORM_VALIDATE_END,k.ON_FIELD_VALIDATE_END))},ce=function(e,t){clearTimeout(e.requests.submit),t?(e.requests.submit=setTimeout((function(){(0,l.dC)((function(){e.submitting=t,V(e,k.ON_FORM_SUBMITTING,k.ON_FIELD_SUBMITTING)}))}),100),V(e,k.ON_FORM_SUBMIT_START,k.ON_FIELD_SUBMIT_START)):(e.submitting!==t&&(e.submitting=t),V(e,k.ON_FORM_SUBMIT_END,k.ON_FIELD_SUBMIT_END))},ue=function(e,t){clearTimeout(e.requests.loading),t?e.requests.loading=setTimeout((function(){(0,l.dC)((function(){e.loading=t,V(e,k.ON_FORM_LOADING,k.ON_FIELD_LOADING)}))}),100):e.loading!==t&&(e.loading=t)},he=function(e,t){return z(void 0,void 0,void 0,(function(){var n,r,o;return $(this,(function(a){switch(a.label){case 0:n=function(e){return c(e)?(0,l.ZN)(e.values):(0,l.ZN)(e.value)},e.setSubmitting(!0),a.label=1;case 1:return a.trys.push([1,3,,4]),V(e,k.ON_FORM_SUBMIT_VALIDATE_START,k.ON_FIELD_SUBMIT_VALIDATE_START),[4,e.validate()];case 2:return a.sent(),V(e,k.ON_FORM_SUBMIT_VALIDATE_SUCCESS,k.ON_FIELD_SUBMIT_VALIDATE_SUCCESS),[3,4];case 3:return a.sent(),V(e,k.ON_FORM_SUBMIT_VALIDATE_FAILED,k.ON_FIELD_SUBMIT_VALIDATE_FAILED),[3,4];case 4:V(e,k.ON_FORM_SUBMIT_VALIDATE_END,k.ON_FIELD_SUBMIT_VALIDATE_END),a.label=5;case 5:if(a.trys.push([5,9,,10]),e.invalid)throw e.errors;return(0,i.LQ)(t)?[4,t(n(e))]:[3,7];case 6:return r=a.sent(),[3,8];case 7:r=n(e),a.label=8;case 8:return V(e,k.ON_FORM_SUBMIT_SUCCESS,k.ON_FIELD_SUBMIT_SUCCESS),[3,10];case 9:throw o=a.sent(),e.setSubmitting(!1),V(e,k.ON_FORM_SUBMIT_FAILED,k.ON_FIELD_SUBMIT_FAILED),V(e,k.ON_FORM_SUBMIT,k.ON_FIELD_SUBMIT),o;case 10:return e.setSubmitting(!1),V(e,k.ON_FORM_SUBMIT,k.ON_FIELD_SUBMIT),[2,r]}}))}))},pe=function(e,t,n){return z(void 0,void 0,void 0,(function(){var r;return $(this,(function(i){switch(i.label){case 0:if(c(e))e.setValidating(!0);else if("editable"!==e.pattern||"visible"!==e.display)return[2];return r=[],e.query(t).forEach((function(t){d(t)||r.push(fe(t,n,t===e))})),[4,Promise.all(r)];case 1:if(i.sent(),c(e)&&e.setValidating(!1),e.invalid)throw V(e,k.ON_FORM_VALIDATE_FAILED,k.ON_FIELD_VALIDATE_FAILED),e.errors;return V(e,k.ON_FORM_VALIDATE_SUCCESS,k.ON_FIELD_VALIDATE_SUCCESS),[2]}}))}))},de=function(e,t,n){return z(void 0,void 0,void 0,(function(){var r;return $(this,(function(i){switch(i.label){case 0:return r=[],e.query(t).forEach((function(t){d(t)||r.push(me(t,n,e===t))})),c(e)&&(e.modified=!1),V(e,k.ON_FORM_RESET,k.ON_FIELD_RESET),[4,Promise.all(r)];case 1:return i.sent(),[2]}}))}))},fe=l.dC.bound((function(e,t,n){return void 0===n&&(n=!1),z(void 0,void 0,void 0,(function(){var r,o,a,s,l,c,u;return $(this,(function(h){switch(h.label){case 0:if(r=function(){le(e,!0)},o=function(){le(e,!1),n||(e.selfValid?e.notify(k.ON_FIELD_VALIDATE_SUCCESS):e.notify(k.ON_FIELD_VALIDATE_FAILED))},"editable"!==e.pattern||"visible"!==e.display)return[2,{}];if(r(),t)return[3,5];a=C(e.validator).reduce((function(e,t){return e.indexOf(t.triggerType)>-1?e:e.concat(t.triggerType)}),[]),s={},l=0,h.label=1;case 1:return l<a.length?[4,te(e,a[l])]:[3,4];case 2:c=h.sent(),(0,i.S6)(c,(function(e,t){s[t]=s[t]||[],s[t]=s[t].concat(e)})),h.label=3;case 3:return l++,[3,1];case 4:return o(),[2,s];case 5:return[4,te(e,t)];case 6:return u=h.sent(),o(),[2,u]}}))}))})),me=l.dC.bound((function(e,t,n){return void 0===n&&(n=!1),z(void 0,void 0,void 0,(function(){var r;return $(this,(function(o){switch(o.label){case 0:return r=h(a=e)?[]:p(a)?{}:void 0,e.modified=!1,e.selfModified=!1,e.visited=!1,e.feedbacks=[],e.inputValue=r,e.inputValues=[],e.caches={},(0,i.G7)(e.value)||((null==t?void 0:t.forceClear)?e.value=r:e.value=(0,l.ZN)((0,i.G7)(e.initialValue)?r:e.initialValue)),n||e.notify(k.ON_FIELD_RESET),(null==t?void 0:t.validate)?[4,fe(e)]:[3,2];case 1:return[2,o.sent()];case 2:return[2]}var a}))}))})),ge=function(e){return(0,l.bi)(e)?e:(0,i.d9)(e||{})},ye=function(e,t){var n=null!==e&&(0,i.xb)(e),r=null!==t&&(0,i.xb)(t),o=!(0,i.G7)(e),a=!(0,i.G7)(t);if(!o)return!!a;if(typeof e==typeof t){if(""===e)return!1;if(0===e)return!1}return!!n&&!r},ve=function(e){var t=(0,i._K)(e.props.reactions);e.form.addEffects(e,(function(){t.forEach((function(t){(0,i.LQ)(t)&&e.disposers.push((0,l.EH)(l.dC.scope.bound((function(){return t(e)}))))}))}))},_e=function(e,t){return(0,l.U5)(e,l.rg.bound(t))},be=function(){j.initializing=!0},Ee=function(){l.dC.endpoint((function(){j.initializing=!1}))},Te=function(e,t){if(e)return(0,i.LQ)(t)?t(e,e.address):e},xe=function(){function e(e){var t,n,r,o,a,s=this;if(this.addresses=[],this.pattern=i.Dm.parse(e.pattern,e.base),this.form=e.form,this.pattern.isMatchPattern)(0,i.S6)(this.form.fields,(function(e,t){e.match(s.pattern)&&s.addresses.push(t)}));else{var l=(t=this.form,n=(this.pattern.haveRelativePattern?q(e.form.fields,this.pattern):this.pattern).toString(),r=t.indexes[n],o=t.fields[n],a=t.fields[r],o?n:a?r:void 0);l&&(this.addresses=[l])}}return e.prototype.take=function(e){return Te(this.form.fields[this.addresses[0]],e)},e.prototype.map=function(e){var t=this;return this.addresses.map((function(n){return Te(t.form.fields[n],e)}))},e.prototype.forEach=function(e){var t=this;return this.addresses.forEach((function(n){return Te(t.form.fields[n],e)}))},e.prototype.reduce=function(e,t){var n=this;return this.addresses.reduce((function(t,r){return Te(n.form.fields[r],(function(n,r){return e(t,n,r)}))}),t)},e.prototype.get=function(e){var t=this.take();if(t)return t[e]},e.prototype.getIn=function(e){return i.Dm.getIn(this.take(),e)},e.prototype.value=function(){return this.get("value")},e.prototype.initialValue=function(){return this.get("initialValue")},e}(),Se=function(){function e(){var e=this;this.disposers=[],this.setTitle=function(t){e.title=t},this.setDescription=function(t){e.description=t},this.setDisplay=function(t){e.display=t},this.setPattern=function(t){e.pattern=t},this.setComponent=function(t,n){t&&(e.componentType=t),n&&(e.componentProps=e.componentProps||{},Object.assign(e.componentProps,n))},this.setComponentProps=function(t){t&&(e.componentProps=e.componentProps||{},Object.assign(e.componentProps,t))},this.setDecorator=function(t,n){t&&(e.decoratorType=t),n&&(e.decoratorProps=e.decoratorProps||{},Object.assign(e.decoratorProps,n))},this.setDecoratorProps=function(t){t&&(e.decoratorProps=e.decoratorProps||{},Object.assign(e.decoratorProps,t))},this.setData=function(t){e.data=t},this.setContent=function(t){e.content=t},this.onInit=function(){e.initialized=!0,ie(e),e.notify(k.ON_FIELD_INIT)},this.onMount=function(){e.mounted=!0,e.unmounted=!1,e.notify(k.ON_FIELD_MOUNT)},this.onUnmount=function(){e.mounted=!1,e.unmounted=!0,e.notify(k.ON_FIELD_UNMOUNT)},this.query=function(t){return new xe({pattern:t,base:e.address,form:e.form})},this.notify=function(t,n){return e.form.notify(t,null!=n?n:e)},this.dispose=function(){e.disposers.forEach((function(e){e()})),e.form.removeEffects(e)},this.destroy=function(t){void 0===t&&(t=!0),Q(e.form.fields,e.address.toString(),t)},this.match=function(t){return i.Dm.parse(t).matchAliasGroup(e.address,e.path)}}return e.prototype.locate=function(e){this.form.fields[e.toString()]=this,X(this,e)},Object.defineProperty(e.prototype,"indexes",{get:function(){return this.path.transform(/\d/,(function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e.map((function(e){return Number(e)}))}))},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"index",{get:function(){return this.indexes[this.indexes.length-1]},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"component",{get:function(){return[this.componentType,this.componentProps]},set:function(e){var t=(0,i._K)(e);this.componentType=t[0],this.componentProps=t[1]||{}},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"decorator",{get:function(){return[this.decoratorType,this.decoratorProps]},set:function(e){var t=(0,i._K)(e);this.decoratorType=t[0],this.decoratorProps=t[1]||{}},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"parent",{get:function(){for(var e=this.address.parent(),t=e.toString();!this.form.fields[t];)if(!(t=(e=e.parent()).toString()))return;return this.form.fields[t]},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"display",{get:function(){var e,t=null===(e=this.parent)||void 0===e?void 0:e.display;return t&&"visible"!==t?this.selfDisplay&&"visible"!==this.selfDisplay?this.selfDisplay:t:(0,i.JY)(this.selfDisplay)?this.selfDisplay:t||this.form.display||"visible"},set:function(e){this.selfDisplay=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"pattern",{get:function(){var e,t=null===(e=this.parent)||void 0===e?void 0:e.pattern;return(0,i.JY)(this.selfPattern)?this.selfPattern:t||this.form.pattern||"editable"},set:function(e){this.selfPattern=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"editable",{get:function(){return"editable"===this.pattern},set:function(e){(0,i.JY)(e)&&(this.pattern=e?"editable":"readPretty")},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"disabled",{get:function(){return"disabled"===this.pattern},set:function(e){(0,i.JY)(e)&&(this.pattern=e?"disabled":"editable")},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"readOnly",{get:function(){return"readOnly"===this.pattern},set:function(e){(0,i.JY)(e)&&(this.pattern=e?"readOnly":"editable")},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"readPretty",{get:function(){return"readPretty"===this.pattern},set:function(e){(0,i.JY)(e)&&(this.pattern=e?"readPretty":"editable")},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"hidden",{get:function(){return"hidden"===this.display},set:function(e){(0,i.JY)(e)&&(this.display=e?"hidden":"visible")},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"visible",{get:function(){return"visible"===this.display},set:function(e){(0,i.JY)(e)&&(this.display=e?"visible":"none")},enumerable:!1,configurable:!0}),e}(),Ce=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Ae=function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){e.done?i(e.value):function(e){return e instanceof n?e:new n((function(t){t(e)}))}(e.value).then(a,s)}l((r=r.apply(e,t||[])).next())}))},Re=function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}},we=function(e){function t(t,n,r,o){var a=e.call(this)||this;return a.displayName="Field",a.caches={},a.requests={},a.setDataSource=function(e){a.dataSource=e},a.setFeedback=function(e){!function(e,t){t&&(0,l.dC)((function(){var n,r;if(e.feedbacks.length){var i=J(e,t);if(i.length)return void(e.feedbacks=e.feedbacks.reduce((function(e,n){var r;return i.includes(n)?(null===(r=t.messages)||void 0===r?void 0:r.length)?(n.messages=t.messages,e.concat(n)):e:e.concat(n)}),[]));(null===(r=t.messages)||void 0===r?void 0:r.length)&&(e.feedbacks=e.feedbacks.concat(t))}else{if(!(null===(n=t.messages)||void 0===n?void 0:n.length))return;e.feedbacks=[t]}}))}(a,e)},a.setSelfErrors=function(e){a.selfErrors=e},a.setSelfWarnings=function(e){a.selfWarnings=e},a.setSelfSuccesses=function(e){a.selfSuccesses=e},a.setValidator=function(e){a.validator=e},a.setValidatorRule=function(e,t){!function(e,t,n){var r;if((0,i.JY)(n)){var o=C(e.validator),a=o.some((function(e){return t in e})),s=((r={})[t]=n,r);e.validator=a?o.map((function(e){return(0,i.Uk)(e)&&W.call(e,t)?(e[t]=n,e):e})):"required"===t?[s].concat(o):o.concat(s)}}(a,e,t)},a.setRequired=function(e){a.required=e},a.setValue=function(e){a.value=e},a.setInitialValue=function(e){a.initialValue=e},a.setLoading=function(e){ue(a,e)},a.setValidating=function(e){le(a,e)},a.setSubmitting=function(e){ce(a,e)},a.setState=ae(a),a.getState=se(a),a.onInput=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return Ae(a,void 0,void 0,(function(){var t,n,r;return Re(this,(function(o){switch(o.label){case 0:return(null===(r=e[0])||void 0===r?void 0:r.target)&&!K(e[0])?[2]:(t=function(e){return e.map((function(e){return(null==e?void 0:e.target)?(0,i.JY)(e.target.value)?e.target.value:(0,i.JY)(e.target.checked)?e.target.checked:void 0:e}))}(e),n=t[0],this.caches.inputting=!0,this.inputValue=n,this.inputValues=t,this.value=n,this.modify(),this.notify(k.ON_FIELD_INPUT_VALUE_CHANGE),this.notify(k.ON_FORM_INPUT_CHANGE,this.form),[4,fe(this,"onInput")]);case 1:return o.sent(),this.caches.inputting=!1,[2]}}))}))},a.onFocus=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return Ae(a,void 0,void 0,(function(){var t;return Re(this,(function(n){switch(n.label){case 0:return(null===(t=e[0])||void 0===t?void 0:t.target)&&!K(e[0],!1)?[2]:(this.active=!0,this.visited=!0,[4,fe(this,"onFocus")]);case 1:return n.sent(),[2]}}))}))},a.onBlur=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return Ae(a,void 0,void 0,(function(){var t;return Re(this,(function(n){switch(n.label){case 0:return(null===(t=e[0])||void 0===t?void 0:t.target)&&!K(e[0],!1)?[2]:(this.active=!1,[4,fe(this,"onBlur")]);case 1:return n.sent(),[2]}}))}))},a.validate=function(e){return pe(a,"".concat(a.address,".**"),e)},a.submit=function(e){return he(a,e)},a.reset=function(e){return de(a,"".concat(a.address,".**"),e)},a.queryFeedbacks=function(e){return J(a,e)},a.modify=function(){return function(e){if(!e.selfModified){e.selfModified=!0,e.modified=!0;for(var t=e.parent;t;){if(f(t)){if(t.modified)return;t.modified=!0}t=t.parent}e.form.modified=!0}}(a)},a.form=r,a.props=n,a.designable=o,be(),a.locate(t),a.initialize(),a.makeObservable(),a.makeReactive(),a.onInit(),Ee(),a}return Ce(t,e),t.prototype.initialize=function(){this.initialized=!1,this.loading=!1,this.validating=!1,this.submitting=!1,this.selfModified=!1,this.active=!1,this.visited=!1,this.mounted=!1,this.unmounted=!1,this.inputValues=[],this.inputValue=null,this.feedbacks=[],this.title=this.props.title,this.description=this.props.description,this.display=this.props.display,this.pattern=this.props.pattern,this.editable=this.props.editable,this.disabled=this.props.disabled,this.readOnly=this.props.readOnly,this.readPretty=this.props.readPretty,this.visible=this.props.visible,this.hidden=this.props.hidden,this.dataSource=this.props.dataSource,this.validator=this.props.validator,this.required=this.props.required,this.content=this.props.content,this.value=function(e,t){return ye(e,t)?(0,i.d9)(t):e}(this.props.value,this.props.initialValue),this.initialValue=this.props.initialValue,this.data=this.props.data,this.decorator=(0,i._K)(this.props.decorator),this.component=(0,i._K)(this.props.component)},t.prototype.makeObservable=function(){this.designable||(0,l.Ou)(this,{path:l.LO.ref,title:l.LO.ref,description:l.LO.ref,dataSource:l.LO.ref,selfDisplay:l.LO.ref,selfPattern:l.LO.ref,loading:l.LO.ref,validating:l.LO.ref,submitting:l.LO.ref,selfModified:l.LO.ref,modified:l.LO.ref,active:l.LO.ref,visited:l.LO.ref,initialized:l.LO.ref,mounted:l.LO.ref,unmounted:l.LO.ref,inputValue:l.LO.ref,inputValues:l.LO.ref,decoratorType:l.LO.ref,componentType:l.LO.ref,content:l.LO.ref,decoratorProps:l.LO,componentProps:l.LO,validator:l.LO.shallow,feedbacks:l.LO.shallow,data:l.LO.shallow,component:l.LO.computed,decorator:l.LO.computed,errors:l.LO.computed,warnings:l.LO.computed,successes:l.LO.computed,valid:l.LO.computed,invalid:l.LO.computed,selfErrors:l.LO.computed,selfWarnings:l.LO.computed,selfSuccesses:l.LO.computed,selfValid:l.LO.computed,selfInvalid:l.LO.computed,validateStatus:l.LO.computed,value:l.LO.computed,initialValue:l.LO.computed,display:l.LO.computed,pattern:l.LO.computed,required:l.LO.computed,hidden:l.LO.computed,visible:l.LO.computed,disabled:l.LO.computed,readOnly:l.LO.computed,readPretty:l.LO.computed,editable:l.LO.computed,indexes:l.LO.computed,setDisplay:l.aD,setTitle:l.aD,setDescription:l.aD,setDataSource:l.aD,setValue:l.aD,setPattern:l.aD,setInitialValue:l.aD,setLoading:l.aD,setValidating:l.aD,setFeedback:l.aD,setSelfErrors:l.aD,setSelfWarnings:l.aD,setSelfSuccesses:l.aD,setValidator:l.aD,setRequired:l.aD,setComponent:l.aD,setComponentProps:l.aD,setDecorator:l.aD,setDecoratorProps:l.aD,setData:l.aD,setContent:l.aD,validate:l.aD,reset:l.aD,onInit:l.dC,onInput:l.dC,onMount:l.dC,onUnmount:l.dC,onFocus:l.dC,onBlur:l.dC})},t.prototype.makeReactive=function(){var e=this;this.designable||(this.disposers.push(_e((function(){return e.value}),(function(t){e.notify(k.ON_FIELD_VALUE_CHANGE),(0,i.JY)(t)&&e.selfModified&&!e.caches.inputting&&fe(e)})),_e((function(){return e.initialValue}),(function(){e.notify(k.ON_FIELD_INITIAL_VALUE_CHANGE)})),_e((function(){return e.display}),(function(t){var n,r=e.value;"visible"===t?(0,i.xb)(r)&&(e.setValue(e.caches.value),e.caches.value=void 0):(e.caches.value=null!==(n=(0,l.ZN)(r))&&void 0!==n?n:(0,l.ZN)(e.initialValue),"none"===t&&e.form.deleteValuesIn(e.path)),"none"!==t&&"hidden"!==t||e.setFeedback({type:"error",messages:[]})})),_e((function(){return e.pattern}),(function(t){"editable"!==t&&e.setFeedback({type:"error",messages:[]})}))),ve(this))},Object.defineProperty(t.prototype,"selfErrors",{get:function(){return ee(this,{type:"error"})},set:function(e){this.setFeedback({type:"error",code:"EffectError",messages:e})},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"errors",{get:function(){return this.form.errors.filter(oe(this))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"selfWarnings",{get:function(){return ee(this,{type:"warning"})},set:function(e){this.setFeedback({type:"warning",code:"EffectWarning",messages:e})},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"warnings",{get:function(){return this.form.warnings.filter(oe(this))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"selfSuccesses",{get:function(){return ee(this,{type:"success"})},set:function(e){this.setFeedback({type:"success",code:"EffectSuccess",messages:e})},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"successes",{get:function(){return this.form.successes.filter(oe(this))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"selfValid",{get:function(){return!this.selfErrors.length},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"valid",{get:function(){return!this.errors.length},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"selfInvalid",{get:function(){return!this.selfValid},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"invalid",{get:function(){return!this.valid},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"value",{get:function(){return this.form.getValuesIn(this.path)},set:function(e){if(!this.initialized){if("none"===this.display)return void(this.caches.value=e);if(!ye(this.value,e)&&!this.designable)return}this.form.setValuesIn(this.path,e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"initialValue",{get:function(){return this.form.getInitialValuesIn(this.path)},set:function(e){(this.initialized||ye(this.initialValue,e)||this.designable)&&this.form.setInitialValuesIn(this.path,e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"required",{get:function(){return((0,i.H1)(this.validator)?this.validator:C(this.validator)).some((function(e){return!!(null==e?void 0:e.required)}))},set:function(e){this.required!==e&&this.setValidatorRule("required",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"validateStatus",{get:function(){return this.validating?"validating":this.selfInvalid?"error":this.selfWarnings.length?"warning":this.selfSuccesses.length?"success":void 0},enumerable:!1,configurable:!0}),t}(Se),Le=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a},Oe=function(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))},Ne=function(e,t){return function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];if(!j.effectStart)throw new Error("Effect hooks cannot be used in asynchronous function body");j.lifecycles.push(new o(e,(function(e,r){(0,i.LQ)(t)&&t.apply(void 0,Oe([e,r],Le(j.context),!1)).apply(void 0,Oe([],Le(n),!1))})))}},Ie=function(e){if(!j.effectStart)throw new Error("Provide method cannot be used in asynchronous function body");P=j.context.length,j.context[P]=(0,i.JY)(e)?e:undefined},ke=function(){if(!j.effectStart)throw new Error("Consume method cannot be used in asynchronous function body");return j.context[P]},De=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return j.lifecycles=[],j.context=[],j.effectStart=!0,j.effectEnd=!1,c(e)&&Ie(e),t.forEach((function(t){(0,i.LQ)(t)&&t(e)})),j.context=[],j.effectStart=!1,j.effectEnd=!0,j.lifecycles},Pe=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Me=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a},Fe=function(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))},He=function(e){function t(t,n,r,o){var a=e.call(this,t,n,r,o)||this;return a.displayName="ArrayField",a.push=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return(0,l.aD)((function(){var t;return(0,i.H1)(a.value)||(a.value=[]),(t=a.value).push.apply(t,Fe([],Me(e),!1)),a.onInput(a.value)}))},a.pop=function(){if((0,i.H1)(a.value))return(0,l.aD)((function(){var e=a.value.length-1;return ne(a,{startIndex:e,deleteCount:1}),a.value.pop(),a.onInput(a.value)}))},a.insert=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return(0,l.aD)((function(){var n;return(0,i.H1)(a.value)||(a.value=[]),ne(a,{startIndex:e,insertCount:t.length}),(n=a.value).splice.apply(n,Fe([e,0],Me(t),!1)),a.onInput(a.value)}))},a.remove=function(e){if((0,i.H1)(a.value))return(0,l.aD)((function(){return ne(a,{startIndex:e,deleteCount:1}),a.value.splice(e,1),a.onInput(a.value)}))},a.shift=function(){if((0,i.H1)(a.value))return(0,l.aD)((function(){return a.value.shift(),a.onInput(a.value)}))},a.unshift=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return(0,l.aD)((function(){var t;return(0,i.H1)(a.value)||(a.value=[]),ne(a,{startIndex:0,insertCount:e.length}),(t=a.value).unshift.apply(t,Fe([],Me(e),!1)),a.onInput(a.value)}))},a.move=function(e,t){if((0,i.H1)(a.value)&&e!==t)return(0,l.aD)((function(){var n=a.value[e];return a.value.splice(e,1),a.value.splice(t,0,n),function(e,t){var n=Y({fromIndex:0,toIndex:0},t),r=n.fromIndex,o=n.toIndex,a=e.address.toString(),s=e.form.fields,c=a.length,u=[],h=r<o;(0,l.dC)((function(){(0,i.S6)(s,(function(e,t){if(function(e){return 0===e.indexOf(a)&&e.length>c}(t)&&(function(e){var t,n=null===(t=e.slice(a.length).match(G))||void 0===t?void 0:t[1];if(void 0===n)return!1;var i=Number(n);return h?i>r&&i<=o:i<r&&i>=o}(t)||function(e){var t,n=null===(t=e.substring(c).match(G))||void 0===t?void 0:t[1];return void 0!==n&&Number(n)===r}(t))){var n=function(e){var t=e.substring(0,c),n=e.substring(c),i=n.match(G)[1],a=Number(i);return a===r?a=o:a+=h?-1:1,"".concat(t).concat(n.replace(/^\.\d+/,".".concat(a)))}(t);u.push({type:"update",address:n,oldAddress:t,payload:e}),s[n]||u.push({type:"remove",address:t})}})),Z(s,u)})),e.form.notify(k.ON_FORM_GRAPH_CHANGE)}(a,{fromIndex:e,toIndex:t}),a.onInput(a.value)}))},a.moveUp=function(e){if((0,i.H1)(a.value))return a.move(e,e-1<0?a.value.length-1:e-1)},a.moveDown=function(e){if((0,i.H1)(a.value))return a.move(e,e+1>=a.value.length?0:e+1)},a.makeAutoCleanable(),a}return Pe(t,e),t.prototype.makeAutoCleanable=function(){var e=this;this.disposers.push((0,l.U5)((function(){var t;return null===(t=e.value)||void 0===t?void 0:t.length}),(function(t,n){n&&!t?re(e,0):t<n&&re(e,t)})))},t}(we),Be=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Ue=function(e){function t(t,n,r,i){var o=e.call(this,t,n,r,i)||this;return o.displayName="ObjectField",o.additionalProperties=[],o.addProperty=function(e,t){return o.form.setValuesIn(o.path.concat(e),t),o.additionalProperties.push(e),o.onInput(o.value)},o.removeProperty=function(e){return o.form.deleteValuesIn(o.path.concat(e)),o.additionalProperties.splice(o.additionalProperties.indexOf(e),1),o.onInput(o.value)},o.existProperty=function(e){return o.form.existValuesIn(o.path.concat(e))},o.makeAutoCleanable(),o}return Be(t,e),t.prototype.makeAutoCleanable=function(){var e=this;this.disposers.push((0,l.U5)((function(){return Object.keys(e.value||{})}),(function(t){var n=e.additionalProperties.filter((function(e){return!t.includes(e)}));!function(e,t){if(0!==t.length){var n=e.address.toString(),r=e.form.fields;(0,l.dC)((function(){(0,i.S6)(r,(function(e,r){(function(e){return 0===e.indexOf(n)&&e.length>n.length})(r)&&function(e){var r,i=null===(r=e.slice(n.length).match(/^\.([^.]+)/))||void 0===r?void 0:r[1];return void 0!==i&&t.includes(i)}(r)&&e.destroy()}))}))}}(e,n)})))},t}(we),je=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Ge=function(e){function t(t,n,r,i){var o=e.call(this)||this;return o.displayName="VoidField",o.setState=ae(o),o.getState=se(o),o.form=r,o.props=n,o.designable=i,be(),o.locate(t),o.initialize(),o.makeObservable(),o.makeReactive(),o.onInit(),Ee(),o}return je(t,e),t.prototype.initialize=function(){this.mounted=!1,this.unmounted=!1,this.initialized=!1,this.title=this.props.title,this.description=this.props.description,this.pattern=this.props.pattern,this.display=this.props.display,this.hidden=this.props.hidden,this.editable=this.props.editable,this.disabled=this.props.disabled,this.readOnly=this.props.readOnly,this.readPretty=this.props.readPretty,this.visible=this.props.visible,this.content=this.props.content,this.data=this.props.data,this.decorator=(0,i._K)(this.props.decorator),this.component=(0,i._K)(this.props.component)},t.prototype.makeObservable=function(){this.designable||(0,l.Ou)(this,{path:l.LO.ref,title:l.LO.ref,description:l.LO.ref,selfDisplay:l.LO.ref,selfPattern:l.LO.ref,initialized:l.LO.ref,mounted:l.LO.ref,unmounted:l.LO.ref,decoratorType:l.LO.ref,componentType:l.LO.ref,content:l.LO.ref,data:l.LO.shallow,decoratorProps:l.LO,componentProps:l.LO,display:l.LO.computed,pattern:l.LO.computed,hidden:l.LO.computed,visible:l.LO.computed,disabled:l.LO.computed,readOnly:l.LO.computed,readPretty:l.LO.computed,editable:l.LO.computed,component:l.LO.computed,decorator:l.LO.computed,indexes:l.LO.computed,setTitle:l.aD,setDescription:l.aD,setDisplay:l.aD,setPattern:l.aD,setComponent:l.aD,setComponentProps:l.aD,setDecorator:l.aD,setDecoratorProps:l.aD,setData:l.aD,setContent:l.aD,onInit:l.dC,onMount:l.dC,onUnmount:l.dC})},t.prototype.makeReactive=function(){this.designable||ve(this)},t}(Se),Ye=function(){return Ye=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},Ye.apply(this,arguments)},ze="__FORMILY_DEV_TOOLS_HOOK__",$e=function(){function e(e){var t,n=this;this.displayName="Form",this.fields={},this.requests={},this.indexes={},this.disposers=[],this.createField=function(e){var t=i.Dm.parse(e.basePath).concat(e.name),r=t.toString();if(r)return n.fields[r]&&!n.props.designable||((0,l.dC)((function(){new we(t,e,n,n.props.designable)})),n.notify(k.ON_FORM_GRAPH_CHANGE)),n.fields[r]},this.createArrayField=function(e){var t=i.Dm.parse(e.basePath).concat(e.name),r=t.toString();if(r)return n.fields[r]&&!n.props.designable||((0,l.dC)((function(){new He(t,Ye(Ye({},e),{value:(0,i.H1)(e.value)?e.value:[]}),n,n.props.designable)})),n.notify(k.ON_FORM_GRAPH_CHANGE)),n.fields[r]},this.createObjectField=function(e){var t=i.Dm.parse(e.basePath).concat(e.name),r=t.toString();if(r)return n.fields[r]&&!n.props.designable||((0,l.dC)((function(){new Ue(t,Ye(Ye({},e),{value:(0,i.BP)(e.value)?e.value:{}}),n,n.props.designable)})),n.notify(k.ON_FORM_GRAPH_CHANGE)),n.fields[r]},this.createVoidField=function(e){var t=i.Dm.parse(e.basePath).concat(e.name),r=t.toString();if(r)return n.fields[r]&&!n.props.designable||((0,l.dC)((function(){new Ge(t,e,n,n.props.designable)})),n.notify(k.ON_FORM_GRAPH_CHANGE)),n.fields[r]},this.setValues=function(e,t){void 0===t&&(t="merge"),(0,i.Uk)(e)&&(n.values="merge"===t||"deepMerge"===t?(0,i.TS)(n.values,e,{arrayMerge:function(e,t){return t}}):"shallowMerge"===t?Object.assign(n.values,e):e)},this.setInitialValues=function(e,t){void 0===t&&(t="merge"),(0,i.Uk)(e)&&(n.initialValues="merge"===t||"deepMerge"===t?(0,i.TS)(n.initialValues,e,{arrayMerge:function(e,t){return t}}):"shallowMerge"===t?Object.assign(n.initialValues,e):e)},this.setValuesIn=function(e,t){i.Dm.setIn(n.values,e,t)},this.deleteValuesIn=function(e){i.Dm.deleteIn(n.values,e)},this.existValuesIn=function(e){return i.Dm.existIn(n.values,e)},this.getValuesIn=function(e){return i.Dm.getIn(n.values,e)},this.setInitialValuesIn=function(e,t){i.Dm.setIn(n.initialValues,e,t)},this.deleteInitialValuesIn=function(e){i.Dm.deleteIn(n.initialValues,e)},this.existInitialValuesIn=function(e){return i.Dm.existIn(n.initialValues,e)},this.getInitialValuesIn=function(e){return i.Dm.getIn(n.initialValues,e)},this.setLoading=function(e){ue(n,e)},this.setSubmitting=function(e){ce(n,e)},this.setValidating=function(e){le(n,e)},this.setDisplay=function(e){n.display=e},this.setPattern=function(e){n.pattern=e},this.addEffects=function(e,t){n.heart.hasLifeCycles(e)||n.heart.addLifeCycles(e,De(n,t))},this.removeEffects=function(e){n.heart.removeLifeCycles(e)},this.setEffects=function(e){n.heart.setLifeCycles(De(n,e))},this.clearErrors=function(e){void 0===e&&(e="*"),n.query(e).forEach((function(e){d(e)||e.setFeedback({type:"error",messages:[]})}))},this.clearWarnings=function(e){void 0===e&&(e="*"),n.query(e).forEach((function(e){d(e)||e.setFeedback({type:"warning",messages:[]})}))},this.clearSuccesses=function(e){void 0===e&&(e="*"),n.query(e).forEach((function(e){d(e)||e.setFeedback({type:"success",messages:[]})}))},this.query=function(e){return new xe({pattern:e,base:"",form:n})},this.queryFeedbacks=function(e){return n.query(e.address||e.path||"*").reduce((function(t,n){return d(n)?t:t.concat(n.queryFeedbacks(e).map((function(e){return Ye(Ye({},e),{address:n.address.toString(),path:n.path.toString()})})).filter((function(e){return e.messages.length>0})))}),[])},this.notify=function(e,t){n.heart.publish(e,null!=t?t:n)},this.subscribe=function(e){return n.heart.subscribe(e)},this.unsubscribe=function(e){n.heart.unsubscribe(e)},this.onInit=function(){n.initialized=!0,n.notify(k.ON_FORM_INIT)},this.onMount=function(){n.mounted=!0,n.notify(k.ON_FORM_MOUNT),i.kk[ze]&&!n.props.designable&&i.kk[ze].inject(n.id,n)},this.onUnmount=function(){n.notify(k.ON_FORM_UNMOUNT),n.query("*").forEach((function(e){return e.destroy(!1)})),n.disposers.forEach((function(e){return e()})),n.unmounted=!0,n.indexes={},n.heart.clear(),i.kk[ze]&&!n.props.designable&&i.kk[ze].unmount(n.id)},this.setState=ae(this),this.getState=se(this),this.setFormState=ae(this),this.getFormState=se(this),this.setFieldState=function(e){return l.dC.bound((function(t,n){if(m(t))t.forEach((function(e){e.setState(n)}));else if(u(t))t.setState(n);else{var r=0,o=i.Dm.parse(t);e.query(o).forEach((function(e){e.setState(n),r++})),(0===r||o.isWildMatchPattern)&&function(e,t,n){var r=i.Dm.ensureIn(e,"requests.updates",[]),o=i.Dm.ensureIn(e,"requests.updateIndexes",{}),a=t.toString(),s=o[a];(0,i.JY)(s)?r[s]&&!r[s].callbacks.some((function(e){return e.toString()===n.toString()&&e===n}))&&r[s].callbacks.push(n):(o[a]=r.length,r.push({pattern:t,callbacks:[n]}))}(e,o,n)}}))}(this),this.getFieldState=(t=this,function(e,n){return m(e)?e.take(n):u(e)?e.getState(n):t.query(e).take((function(e){return e.getState(n)}))}),this.getFormGraph=function(){return n.graph.getGraph()},this.setFormGraph=function(e){n.graph.setGraph(e)},this.clearFormGraph=function(e){void 0===e&&(e="*"),n.query(e).forEach((function(e){e.destroy()}))},this.validate=function(e){return void 0===e&&(e="*"),pe(n,e)},this.submit=function(e){return he(n,e)},this.reset=function(e,t){return void 0===e&&(e="*"),de(n,e,t)},this.initialize(e),this.makeObservable(),this.makeReactive(),this.makeValues(),this.onInit()}return e.prototype.initialize=function(e){this.id=(0,i.hQ)(),this.props=Ye({},e),this.initialized=!1,this.submitting=!1,this.validating=!1,this.loading=!1,this.modified=!1,this.mounted=!1,this.unmounted=!1,this.display=this.props.display||"visible",this.pattern=this.props.pattern||"editable",this.editable=this.props.editable,this.disabled=this.props.disabled,this.readOnly=this.props.readOnly,this.readPretty=this.props.readPretty,this.visible=this.props.visible,this.hidden=this.props.hidden,this.graph=new g(this),this.heart=new s({lifecycles:this.lifecycles,context:this})},e.prototype.makeValues=function(){this.values=ge(this.props.values),this.initialValues=ge(this.props.initialValues)},e.prototype.makeObservable=function(){(0,l.Ou)(this,{fields:l.LO.shallow,initialized:l.LO.ref,validating:l.LO.ref,submitting:l.LO.ref,loading:l.LO.ref,modified:l.LO.ref,pattern:l.LO.ref,display:l.LO.ref,mounted:l.LO.ref,unmounted:l.LO.ref,values:l.LO,initialValues:l.LO,valid:l.LO.computed,invalid:l.LO.computed,errors:l.LO.computed,warnings:l.LO.computed,successes:l.LO.computed,hidden:l.LO.computed,visible:l.LO.computed,editable:l.LO.computed,readOnly:l.LO.computed,readPretty:l.LO.computed,disabled:l.LO.computed,setValues:l.aD,setValuesIn:l.aD,setInitialValues:l.aD,setInitialValuesIn:l.aD,setPattern:l.aD,setDisplay:l.aD,setState:l.aD,deleteInitialValuesIn:l.aD,deleteValuesIn:l.aD,setSubmitting:l.aD,setValidating:l.aD,setFormGraph:l.aD,clearFormGraph:l.aD,reset:l.aD,submit:l.aD,validate:l.aD,onMount:l.dC,onUnmount:l.dC,onInit:l.dC})},e.prototype.makeReactive=function(){var e=this;this.disposers.push((0,l.N7)(this,(function(t){(function(e,t){var n=t.path;Array.isArray(t.object)&&"length"===t.key||((0,l.r3)(e.initialValues,t.object)||(0,l.r3)(e.initialValues,t.value))&&("add"!==t.type&&"set"!==t.type||function(e,t,n){var r=function(t,n){t.length?e.setValuesIn(t,(0,i.d9)(n)):Object.assign(e.values,(0,i.d9)(n))},o=function(t,n){void 0===n&&(n=[]);var a=e.getValuesIn(n),s=e.query(n).take();if(ye(a,t))r(n,t);else{if((0,i.xb)(t))return;if(j.initializing)return;(0,i.Uk)(a)&&(0,i.Uk)(t)?(0,i.S6)(t,(function(e,t){o(e,n.concat(t))})):s?d(s)||s.selfModified||r(n,t):e.initialized&&r(n,t)}};o(n,t)}(e,n.slice(1),t.value),e.initialized&&e.notify(k.ON_FORM_INITIAL_VALUES_CHANGE))})(e,t),function(e,t){Array.isArray(t.object)&&"length"===t.key||((0,l.r3)(e.values,t.object)||(0,l.r3)(e.values,t.value))&&e.initialized&&e.notify(k.ON_FORM_VALUES_CHANGE)}(e,t)}),!0))},Object.defineProperty(e.prototype,"valid",{get:function(){return!this.invalid},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"invalid",{get:function(){return this.errors.length>0},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"errors",{get:function(){return this.queryFeedbacks({type:"error"})},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"warnings",{get:function(){return this.queryFeedbacks({type:"warning"})},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"successes",{get:function(){return this.queryFeedbacks({type:"success"})},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"lifecycles",{get:function(){return De(this,this.props.effects)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"hidden",{get:function(){return"hidden"===this.display},set:function(e){(0,i.JY)(e)&&(this.display=e?"hidden":"visible")},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"visible",{get:function(){return"visible"===this.display},set:function(e){(0,i.JY)(e)&&(this.display=e?"visible":"none")},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"editable",{get:function(){return"editable"===this.pattern},set:function(e){(0,i.JY)(e)&&(this.pattern=e?"editable":"readPretty")},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"readOnly",{get:function(){return"readOnly"===this.pattern},set:function(e){(0,i.JY)(e)&&(this.pattern=e?"readOnly":"editable")},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"disabled",{get:function(){return"disabled"===this.pattern},set:function(e){(0,i.JY)(e)&&(this.pattern=e?"disabled":"editable")},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"readPretty",{get:function(){return"readPretty"===this.pattern},set:function(e){(0,i.JY)(e)&&(this.pattern=e?"readPretty":"editable")},enumerable:!1,configurable:!0}),e}(),We=function(e){return new $e(e)};function Ve(e){return Ne(e,(function(e){return function(t){(0,l.dC)((function(){t(e)}))}}))}Ve(k.ON_FORM_INIT),Ve(k.ON_FORM_MOUNT),Ve(k.ON_FORM_UNMOUNT),Ve(k.ON_FORM_VALUES_CHANGE),Ve(k.ON_FORM_INITIAL_VALUES_CHANGE);var Ke=Ve(k.ON_FORM_INPUT_CHANGE);function qe(e){return Ne(e,(function(e,t){return function(n,r){i.Dm.parse(n).matchAliasGroup(e.address,e.path)&&(0,l.dC)((function(){r(e,t)}))}}))}Ve(k.ON_FORM_SUBMIT),Ve(k.ON_FORM_RESET),Ve(k.ON_FORM_SUBMIT_START),Ve(k.ON_FORM_SUBMIT_END),Ve(k.ON_FORM_SUBMIT_SUCCESS),Ve(k.ON_FORM_SUBMIT_FAILED),Ve(k.ON_FORM_SUBMIT_VALIDATE_START),Ve(k.ON_FORM_SUBMIT_VALIDATE_SUCCESS),Ve(k.ON_FORM_SUBMIT_VALIDATE_FAILED),Ve(k.ON_FORM_SUBMIT_VALIDATE_END),Ve(k.ON_FORM_VALIDATE_START),Ve(k.ON_FORM_VALIDATE_SUCCESS),Ve(k.ON_FORM_VALIDATE_FAILED),Ve(k.ON_FORM_VALIDATE_END),Ve(k.ON_FORM_GRAPH_CHANGE),Ve(k.ON_FORM_LOADING);var Xe=qe(k.ON_FIELD_INIT),Ze=qe(k.ON_FIELD_MOUNT),Qe=qe(k.ON_FIELD_UNMOUNT),Je=qe(k.ON_FIELD_VALUE_CHANGE),et=qe(k.ON_FIELD_INITIAL_VALUE_CHANGE),tt=qe(k.ON_FIELD_INPUT_VALUE_CHANGE),nt=qe(k.ON_FIELD_VALIDATE_START),rt=qe(k.ON_FIELD_VALIDATE_END),it=(qe(k.ON_FIELD_VALIDATING),qe(k.ON_FIELD_VALIDATE_FAILED)),ot=qe(k.ON_FIELD_VALIDATE_SUCCESS);function at(e,t){var n=ke();0===n.query(e).reduce((function(e,r){return t(r,n),e+1}),0)&&Xe(e,t)}qe(k.ON_FIELD_SUBMIT),qe(k.ON_FIELD_SUBMIT_START),qe(k.ON_FIELD_SUBMIT_END),qe(k.ON_FIELD_SUBMIT_VALIDATE_START),qe(k.ON_FIELD_SUBMIT_VALIDATE_END),qe(k.ON_FIELD_SUBMIT_SUCCESS),qe(k.ON_FIELD_SUBMIT_FAILED),qe(k.ON_FIELD_SUBMIT_VALIDATE_SUCCESS),qe(k.ON_FIELD_SUBMIT_VALIDATE_FAILED),qe(k.ON_FIELD_RESET),qe(k.ON_FIELD_LOADING)},1397:(e,t,n)=>{"use strict";n.d(t,{Pl:()=>Me,RV:()=>ve,Uk:()=>De,$j:()=>ye,cA:()=>Ye,jM:()=>me,vl:()=>ge,Pi:()=>ue,U$:()=>pe,XA:()=>de});var r=n(4808),i=n(6196),o=Symbol.for("__REVA_ACTIONS"),a={parent:!0,root:!0,properties:!0,patternProperties:!0,additionalProperties:!0,items:!0,additionalItems:!0,"x-linkages":!0,"x-reactions":!0},s={title:"title",description:"description",default:"initialValue",enum:"dataSource",readOnly:"readOnly",writeOnly:"editable","x-content":"content","x-data":"data","x-value":"value","x-editable":"editable","x-disabled":"disabled","x-read-pretty":"readPretty","x-read-only":"readOnly","x-visible":"visible","x-hidden":"hidden","x-display":"display","x-pattern":"pattern","x-validator":"validator","x-decorator":"decoratorType","x-component":"componentType","x-decorator-props":"decoratorProps","x-component-props":"componentProps"},l={required:!0,format:!0,maxItems:!0,minItems:!0,maxLength:!0,minLength:!0,maximum:!0,minimum:!0,exclusiveMaximum:!0,exclusiveMinimum:!0,pattern:!0,const:!0,multipleOf:!0,maxProperties:!0,minProperties:!0,uniqueItems:!0},c=(Object.keys(s),Object.keys(l),Object.prototype.hasOwnProperty),u=function(e){return"$$typeof"in e&&"_owner"in e||!!e._isAMomentObject||!!j.isSchemaInstance(e)||!!e[o]||!!(0,r.LQ)(e.toJS)||!!(0,r.LQ)(e.toJSON)||!!(0,i.bi)(e)},h=/^\s*\{\{([\s\S]*)\}\}\s*$/,p={silent:!1,compile:function(e,t){if(void 0===t&&(t={}),!p.silent)return new Function("$root","with($root) { return (".concat(e,"); }"))(t);try{return new Function("$root","with($root) { return (".concat(e,"); }"))(t)}catch(e){}}},d=function(e){void 0===e&&(e=!0),p.silent=!!e},f=function(e){(0,r.LQ)(e)&&(p.compile=e)},m=function(e,t){if((0,r.d8)(e)){var n=e.match(h);return n?p.compile(n[1],t):e}return e},g=function(e,t){var n=[],i=function(e){if((0,r.d8)(e))return m(e,t);if((0,r.H1)(e))return e.map((function(e){return i(e)}));if((0,r.Uk)(e)){if(u(e))return e;if(n.indexOf(e)>-1)return e;var o=n.length;n.push(e);var a=(0,r.u4)(e,(function(e,t,n){return e[n]=i(t),e}),{});return n.splice(o,1),a}return e};return i(e)},y=function(e,t,n){var o,a,s,l,h;a=function(t,o){var a=r.Dm.parse(o),s=g(t,n),l=a.segments[0];void 0!==s&&c.call(e,l)&&(0,i.rg)((function(){return r.Dm.setIn(e,a,s)}))},s=[],l=o=t,h=function(e,t){if(void 0===t&&(t=[]),(0,r.Uk)(e)){if(s.indexOf(e)>-1)return;var n=s.length;if(s.push(e),u(e)&&l!==e)return void a(e,t);(0,r.S6)(e,(function(e,n){h(e,t.concat(n))})),s.splice(n,1)}else a(e,t)},h(o)},v=function(e,t,n,o){void 0===o&&(o=!1),function(e,t){void 0!==e["x-validator"]&&t(e["x-validator"],["x-validator"]);var n=[],i=e,o=function(e,s){if(void 0===s&&(s=[]),"x-validator"!==s[0]&&"version"!==s[0]&&"_isJSONSchemaObject"!==s[0]&&!(-1==String(s[0]).indexOf("x-")&&(0,r.LQ)(e)||a[s[0]]))if((0,r.Uk)(e)){if("default"===s[0]||"x-value"===s[0])return void t(e,s);if(n.indexOf(e)>-1)return;var l=n.length;if(n.push(e),u(e)&&i!==e)return void t(e,s);(0,r.S6)(e,(function(e,t){o(e,s.concat(t))})),n.splice(l,1)}else t(e,s)};o(e)}(t,(function(t,a){var c=t,u=(0,i.WV)((function(){c=g(t,n)}));void 0!==c&&(o&&!u&&e.initialized||function(e,t,n){(0,i.rg)((function(){var i,o,a=r.Dm.parse(t).segments,c=a[0],u="enum"===c&&(0,r.H1)(n),h=s[c];h?r.Dm.setIn(e,[h].concat(a.slice(1)),u?(o=n,(0,r._K)(o).map((function(e){return"object"==typeof e?e:{label:e,value:e}}))):n):l[c]&&(null===(i=e.setValidatorRule)||void 0===i||i.call(e,c,n))}))}(e,a,c))}))},_=n(5093),b=function(){return b=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},b.apply(this,arguments)},E={onFieldInit:_._T,onFieldMount:_.cW,onFieldUnmount:_.P4,onFieldValueChange:_.Zj,onFieldInputValueChange:_.ge,onFieldInitialValueChange:_.S9,onFieldValidateStart:_.g,onFieldValidateEnd:_.TE,onFieldValidateFailed:_.Zm,onFieldValidateSuccess:_.c_},T=["onFieldInit","onFieldValueChange"],x=function(e,t,n){var r=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}(String(t).split(/\s*#\s*/),2),i=r[0],o=r[1];return e.query(i).getIn(o||n||"value")},S=function(e,t){void 0===t&&(t=!1);var n=e||{},i=n.request,o=n.target,a=n.runner,s=n.field,l=n.scope;i&&(o?(i.state&&s.form.setFieldState(o,(function(e){return y(e,i.state,b(b({},l),{$target:e}))})),i.schema&&s.form.setFieldState(o,(function(e){return v(e,i.schema,b(b({},l),{$target:e}),t)})),(0,r.d8)(a)&&a&&s.form.setFieldState(o,(function(e){m("{{function(){".concat(a,"}}}"),b(b({},l),{$target:e}))()}))):(i.state&&s.setState((function(e){return y(e,i.state,l)})),i.schema&&s.setState((function(e){return v(e,i.schema,l,t)})),(0,r.d8)(a)&&a&&m("{{function(){".concat(a,"}}}"),l)()))},C=function(e,t){void 0===t&&(t={});var n=i.EH.effect,r=i.EH.memo,o=e,a=e.form,s=e.form.values;return b(b({},t.scope),{$form:a,$self:o,$observable:function(e,t){return i.EH.memo((function(){return(0,i.LO)(e)}),t)},$effect:n,$memo:r,$props:function(t){return e.setComponentProps(t)},$values:s})},A=function(e,t){return function(n){S({field:n,request:{schema:e},scope:C(n,t)},!0)}},R=function(e,t){return(0,r._K)(e["x-reactions"]).map((function(e){return function(n){var o=C(n,t),a=m(e,o);if(a){if((0,r.LQ)(a))return a(n,o);var s=a.when,l=a.fulfill,c=a.otherwise,u=a.target,h=a.effects,p=function(){var e=function(e,t){if((0,r.H1)(t)){var n=[];return t.forEach((function(t){(0,r.d8)(t)?n.push(x(e,t)):(0,r.Uk)(t)&&t.name&&t.source&&(n[t.name]=x(e,t.source,t.property))})),n}return(0,r.Uk)(t)?(0,r.u4)(t,(function(t,n,r){return t[r]=x(e,n),t}),{}):[]}(n,a.dependencies),t=e,i=b(b({},o),{$target:null,$deps:e,$dependencies:t}),h=m(s,i),p=!s||h,d=p?l:c,f=p?null==l?void 0:l.run:null==c?void 0:c.run;S({field:n,target:u,request:d,runner:f,scope:i})};u&&(a.effects=(null==h?void 0:h.length)?h:T),a.effects?i.EH.memo((function(){(0,i.rg)((function(){(0,r.S6)(a.effects,(function(e){E[e]&&E[e](n.address,p)}))}))}),[]):p()}}}))},w=function(){return w=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},w.apply(this,arguments)},L=[],O={},N=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];e.forEach((function(e){(0,r.LQ)(e)&&L.push(e)}))},I=function(e,t){e&&(0,r.LQ)(t)&&(O[e]=O[e]||[],O[e].push(t))},k=function(e){(0,r.H1)(e)&&e.forEach((function(e){(0,r.H1)(O[e])&&O[e].forEach((function(e){N(e)}))}))},D=function(){return D=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},D.apply(this,arguments)},P=["card","block","grid-col","grid-row","grid","layout","step","tab","text-box"],M={},F=function(e){if((0,r.d8)(e))return e.replace(/\$value/,"$self.value")},H=function(e){var t;return(0,r.JY)(e.editable)&&(e["x-editable"]=e["x-editable"]||e.editable,delete e.editable),(0,r.JY)(e.visible)&&(e["x-visible"]=e["x-visible"]||e.visible,delete e.visible),(0,r.JY)(e.display)&&(e["x-display"]=e["x-display"]||(e.display?"visible":"hidden"),delete e.display),(0,r.JY)(e["x-props"])&&(e["x-decorator-props"]=e["x-decorator-props"]||e["x-props"],delete e.display),e["x-linkages"]&&(e["x-reactions"]=(0,r._K)(e["x-reactions"]).concat((t=e["x-linkages"],(0,r.H1)(t)?t.reduce((function(e,t){return t?"value:visible"===t.type?e.concat({target:t.target,when:F(t.condition),fulfill:{state:{visible:!0}},otherwise:{state:{visible:!1}}}):"value:schema"===t.type?e.concat({target:t.target,when:F(t.condition),fulfill:{schema:H(D({version:"1.0"},t.schema))},otherwise:{schema:H(D({version:"1.0"},t.otherwise))}}):"value:state"===t.type?e.concat({target:t.target,when:F(t.condition),fulfill:{state:t.state},otherwise:{state:t.otherwise}}):void 0:e}),[]):[])),delete e["x-linkages"]),e["x-component"]?P.some((function(t){return(0,r.vl)(t)===(0,r.vl)(e["x-component"])}))&&(e.type="void"):M[e.type]&&(e["x-component"]=M[e.type]),e["x-decorator"]||"void"===e.type||"object"===e.type||(e["x-decorator"]=e["x-decorator"]||"FormItem"),e["x-rules"]&&(e["x-validator"]=[].concat(e["x-validator"]||[]).concat(e["x-rules"])),e};I("1.0",H);var B=function(e){P.push.apply(P,function(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}([],function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}(e),!1))},U=function(e){Object.assign(M,e)},j=function(){function e(t,n){var i=this;return this._isJSONSchemaObject=!0,this.version="2.0",this.addProperty=function(t,n){return i.properties=i.properties||{},i.properties[t]=new e(n,i),i.properties[t].name=t,i.properties[t]},this.removeProperty=function(e){var t=i.properties[e];return delete i.properties[e],t},this.setProperties=function(e){for(var t in e)i.addProperty(t,e[t]);return i},this.addPatternProperty=function(t,n){if(n)return i.patternProperties=i.patternProperties||{},i.patternProperties[t]=new e(n,i),i.patternProperties[t].name=t,i.patternProperties[t]},this.removePatternProperty=function(e){var t=i.patternProperties[e];return delete i.patternProperties[e],t},this.setPatternProperties=function(e){if(!e)return i;for(var t in e)i.addPatternProperty(t,e[t]);return i},this.setAdditionalProperties=function(t){if(t)return i.additionalProperties=new e(t),i.additionalProperties},this.setItems=function(t){if(t)return Array.isArray(t)?i.items=t.map((function(t){return new e(t,i)})):i.items=new e(t,i),i.items},this.setAdditionalItems=function(t){if(t)return i.additionalItems=new e(t,i),i.additionalItems},this.findDefinitions=function(e){if(e&&i.root&&(0,r.d8)(e)&&0===e.indexOf("#/"))return r.Dm.getIn(i.root,e.substring(2).split("/"))},this.mapProperties=function(t){return e.getOrderProperties(i).map((function(e,n){var r=e.schema,i=e.key;return t(r,i,n)}))},this.mapPatternProperties=function(t){return e.getOrderProperties(i,"patternProperties").map((function(e,n){var r=e.schema,i=e.key;return t(r,i,n)}))},this.reduceProperties=function(t,n){var r=n;return e.getOrderProperties(i,"properties").forEach((function(e,n){var i=e.schema,o=e.key;r=t(r,i,o,n)})),r},this.reducePatternProperties=function(t,n){var r=n;return e.getOrderProperties(i,"patternProperties").forEach((function(e,n){var i=e.schema,o=e.key;r=t(r,i,o,n)})),r},this.compile=function(t){var n=new e({},i.parent);return(0,r.S6)(i,(function(e,i){(0,r.LQ)(e)&&!i.includes("x-")||"parent"!==i&&"root"!==i&&(n[i]=a[i]?e?m(e,t):e:e?g(e,t):e)})),n},this.fromJSON=function(t){return t?e.isSchemaInstance(t)?t:((0,r.S6)((n=t,L.reduce((function(e,t){return t(e)}),w({},n))),(function(e,t){(0,r.LQ)(e)&&!t.includes("x-")||("properties"===t?i.setProperties(e):"patternProperties"===t?i.setPatternProperties(e):"additionalProperties"===t?i.setAdditionalProperties(e):"items"===t?i.setItems(e):"additionalItems"===t?i.setAdditionalItems(e):"$ref"===t?i.fromJSON(i.findDefinitions(e)):i[t]=e)})),i):i;var n},this.toJSON=function(e){void 0===e&&(e=!0);var t={};return(0,r.S6)(i,(function(n,i){var o,a;if((!(0,r.LQ)(n)||i.includes("x-"))&&"parent"!==i&&"root"!==i)if("properties"===i||"patternProperties"===i){if(!e)return;t[i]=(0,r.UI)(n,(function(e){var t;return null===(t=null==e?void 0:e.toJSON)||void 0===t?void 0:t.call(e)}))}else if("additionalProperties"===i||"additionalItems"===i){if(!e)return;t[i]=null===(o=null==n?void 0:n.toJSON)||void 0===o?void 0:o.call(n)}else if("items"===i){if(!e)return;Array.isArray(n)?t[i]=n.map((function(e){var t;return null===(t=null==e?void 0:e.toJSON)||void 0===t?void 0:t.call(e)})):t[i]=null===(a=null==n?void 0:n.toJSON)||void 0===a?void 0:a.call(n)}else t[i]=n})),t},this.toFieldProps=function(e){return function(e,t){return{name:e.name,reactions:[A(e,t)].concat(R(e,t))}}(i,e)},n?(this.parent=n,this.root=n.root):this.root=this,this.fromJSON(t)}return e.getOrderProperties=function(e,t){void 0===e&&(e={}),void 0===t&&(t="properties");var n=[],r=[];for(var i in e[t]){var o=e[t][i],a=o["x-index"];isNaN(a)?r.push({schema:o,key:i}):n[a]={schema:o,key:i}}return n.concat(r).filter((function(e){return!!e}))},e.compile=function(e,t){return g(e,t)},e.shallowCompile=function(e,t){return m(e,t)},e.isSchemaInstance=function(t){return(0,r.iw)(t,e)},e.registerCompiler=f,e.registerPatches=N,e.registerVoidComponents=B,e.registerTypeDefaultComponents=U,e.registerPolyfills=I,e.enablePolyfills=k,e.silent=d,e}(),G=n(1024),Y=n.n(G),z=function(e){var t=(0,G.useRef)(null);return(0,G.useEffect)((function(){return t.current&&e!==t.current&&t.current.onUnmount(),t.current=e,e.onMount(),function(){e.onUnmount()}}),[e]),e},$=(0,G.createContext)(null),W=(0,G.createContext)(null),V=(0,G.createContext)(null),K=(0,G.createContext)(null),q=(0,G.createContext)(null),X=(0,G.createContext)(null),Z=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return function(t){var n=t.children;return e.reduce((function(e,t){return Y().createElement(t.Provider,{value:void 0},e)}),n)}}(W,V,K,q,X),Q=n(63),J=n.n(Q),ee=function(){try{if("undefined"!=typeof self)return self}catch(e){}try{if("undefined"!=typeof window)return window}catch(e){}try{if(void 0!==n.g)return n.g}catch(e){}return Function("return this")()}(),te=ee.FinalizationRegistry&&new ee.FinalizationRegistry((function(e){var t;return null===(t=null==e?void 0:e.clean)||void 0===t?void 0:t.call(e)})),ne=function(){function e(e,t){void 0===t&&(t=1e4),this.token={clean:e},this.expireTime=t}return e.prototype.open=function(e){var t=this;te?te.register(e,this.token,this.token):this.request=setTimeout((function(){var e,n;null===(n=null===(e=t.token)||void 0===e?void 0:e.clean)||void 0===n||n.call(e)}),this.expireTime)},e.prototype.close=function(){te?te.unregister(this.token):clearTimeout(this.request)},e}(),re=[],ie={value:0},oe=new Set,ae=function(){};function se(){return new ae}var le=function(e,t){var n=function(){var e=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}((0,G.useState)([]),2)[1],t=(0,G.useRef)(!1);(0,G.useEffect)((function(){return t.current=!1,function(){t.current=!0}}),re);var n,r,i=(0,G.useCallback)((function(){t.current||e([])}),re),o=(0,G.useCallback)((function(){0===ie.value?i():oe.add(i)}),re);return ie.value++,n=function(){ie.value>0&&ie.value--,0===ie.value&&oe.forEach((function(e){oe.delete(e),e()}))},(r=(0,G.useRef)(null)).current=function(e){var t=!1;return Promise.resolve(0).then((function(){t?t=!1:e()})),function(){t=!0}}(n),(0,G.useLayoutEffect)((function(){r.current(),n()})),o}(),r=Y().useRef(!1),o=Y().useRef(null),a=Y().useRef(),s=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}(Y().useState(se),1)[0];return o.current||(o.current=new i.fX((function(){"function"==typeof(null==t?void 0:t.scheduler)?t.scheduler(n):n()}),null==t?void 0:t.displayName)),a.current||(a.current=new ne((function(){o.current&&o.current.dispose()})),a.current.open(s)),Y().useEffect((function(){return r.current=!1,a.current.close(),function(){r.current=!0,o.current&&(o.current.dispose(),o.current=null)}}),[]),o.current.track(e)},ce=function(){return ce=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},ce.apply(this,arguments)};function ue(e,t){var n=ce({forwardRef:!1},t),r=n.forwardRef?(0,G.forwardRef)((function(t,r){return le((function(){return e(ce(ce({},t),{ref:r}))}),n)})):function(t){return le((function(){return e(t)}),n)},i=(0,G.memo)(r);return J()(i,e),n.displayName&&(i.displayName=n.displayName),i}ue((function(e){var t="function"==typeof e.children?e.children():e.children;return Y().createElement(G.Fragment,{},t)}));var he=function(){return(0,G.useContext)($)},pe=function(){return(0,G.useContext)(W)},de=function(){return(0,G.useContext)(K)},fe=function(){return fe=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},fe.apply(this,arguments)};function me(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return function(t){return ue((function(n){var i=pe(),o=e.reduce((function(e,t){return(0,r.LQ)(t)?e=Object.assign(e,t(e,i)):(0,r.S6)(t,(function(t,n){var o=r.Dm.getIn(i,n),a=(0,r.d8)(t)?t:n,s=r.Dm.getIn(e,a);"value"===n&&t!==n&&delete e.value,(0,r.JY)(s)&&!(0,r.JY)(o)||r.Dm.setIn(e,a,o)})),e}),fe({},n));return Y().createElement(t,o)}),{forwardRef:!0})}}function ge(e,t){return function(n){return ue((function(r){var i=pe();return(0,_.JF)(i)||"readPretty"!==(null==i?void 0:i.pattern)?Y().createElement(n,r):Y().createElement(e,fe(fe({},t),r))}),{forwardRef:!0})}}function ye(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var r=t.reduce((function(e,t){return t(e)}),e),i=Y().forwardRef((function(e,t){return Y().createElement(r,fe(fe({},e),{ref:t}))}));return e&&J()(i,e),i}var ve=function(e){var t=z(e.form);return Y().createElement(Z,null,Y().createElement($.Provider,{value:t},e.children))};ve.displayName="FormProvider",ue((function(e){var t=(0,r.LQ)(e.children)?e.children(he()):null;return Y().createElement(G.Fragment,null,t)})).displayName="FormConsumer";var _e=function(){return _e=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},_e.apply(this,arguments)},be=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a},Ee=function(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))},Te=function(e,t,n){return(0,r.LQ)(e)?e(t,n):e},xe=function(e){var t,n=(0,G.useContext)(X);if(!e.field)return Y().createElement(G.Fragment,null,Te(e.children));var o=e.field,a=function(e,t){if((e||t)&&!(0,r.LQ)(e))return Y().createElement(G.Fragment,null,e,t)}(Te(e.children,o,o.form),null!==(t=o.content)&&void 0!==t?t:o.componentProps.children);return"visible"!==o.display?null:function(e){var t;if(!o.decoratorType)return Y().createElement(G.Fragment,null,e);var r=null!==(t=null==n?void 0:n.getComponent(o.decoratorType))&&void 0!==t?t:o.decoratorType;return Y().createElement(r,(0,i.ZN)(o.decoratorProps),e)}(function(){var e,t,r,s;if(!o.componentType)return a;var l=(0,_.JF)(o)?void 0:o.value,c=(0,_.JF)(o)?null===(e=o.componentProps)||void 0===e?void 0:e.onChange:function(){for(var e,t,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];o.onInput.apply(o,Ee([],be(n),!1)),null===(t=null===(e=o.componentProps)||void 0===e?void 0:e.onChange)||void 0===t||t.call.apply(t,Ee([e],be(n),!1))},u=(0,_.JF)(o)?null===(t=o.componentProps)||void 0===t?void 0:t.onFocus:function(){for(var e,t,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];o.onFocus.apply(o,Ee([],be(n),!1)),null===(t=null===(e=o.componentProps)||void 0===e?void 0:e.onFocus)||void 0===t||t.call.apply(t,Ee([e],be(n),!1))},h=(0,_.JF)(o)?null===(r=o.componentProps)||void 0===r?void 0:r.onBlur:function(){for(var e,t,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];o.onBlur.apply(o,Ee([],be(n),!1)),null===(t=null===(e=o.componentProps)||void 0===e?void 0:e.onBlur)||void 0===t||t.call.apply(t,Ee([e],be(n),!1))},p=(0,_.JF)(o)?void 0:"disabled"===o.pattern||"readPretty"===o.pattern,d=(0,_.JF)(o)?void 0:"readOnly"===o.pattern,f=null!==(s=null==n?void 0:n.getComponent(o.componentType))&&void 0!==s?s:o.componentType;return Y().createElement(f,_e(_e({disabled:p,readOnly:d},(0,i.ZN)(o.componentProps)),{value:l,onChange:c,onFocus:u,onBlur:h}),a)}())};xe.displayName="ReactiveField";var Se=ue(xe,{forwardRef:!0}),Ce=function(){return Ce=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},Ce.apply(this,arguments)},Ae=function(e){var t=he(),n=pe(),r=z(t.createArrayField(Ce({basePath:null==n?void 0:n.address},e)));return Y().createElement(W.Provider,{value:r},Y().createElement(Se,{field:r},e.children))};Ae.displayName="ArrayField";var Re=function(){return Re=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},Re.apply(this,arguments)},we=function(e){var t=he(),n=pe(),r=z(t.createObjectField(Re({basePath:null==n?void 0:n.address},e)));return Y().createElement(W.Provider,{value:r},Y().createElement(Se,{field:r},e.children))};we.displayName="ObjectField";var Le=function(){return Le=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},Le.apply(this,arguments)},Oe=function(e){var t=he(),n=pe(),r=z(t.createVoidField(Le({basePath:null==n?void 0:n.address},e)));return Y().createElement(W.Provider,{value:r},Y().createElement(Se,{field:r},e.children))};Oe.displayName="VoidField";var Ne=function(){return Ne=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},Ne.apply(this,arguments)},Ie=function(e){var t=he(),n=pe(),r=z(t.createField(Ne({basePath:null==n?void 0:n.address},e)));return Y().createElement(W.Provider,{value:r},Y().createElement(Se,{field:r},e.children))};Ie.displayName="Field";var ke=function(){return ke=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},ke.apply(this,arguments)},De=function(e){var t,n,i,o,a=function(e){var t=pe();return e.onlyRenderProperties?e.basePath||(null==t?void 0:t.address.concat(e.name)):e.basePath||(null==t?void 0:t.address)}(e),s=(0,G.useMemo)((function(){return new j(e.schema)}),[e.schema]),l=(t=s,n=(0,G.useContext)(X),i=(0,G.useContext)(q),(o=(0,G.useRef)()).current=i,t.toFieldProps(ke(ke({},n),{get scope(){return ke(ke({},n.scope),o.current)}}))),c=function(t){if(!e.onlyRenderSelf){var n=j.getOrderProperties(s);if(n.length)return Y().createElement(G.Fragment,null,n.map((function(n,i){var o=n.schema,s=n.key,l=(null==t?void 0:t.address)||a,c=o;if((0,r.LQ)(e.mapProperties)){var u=e.mapProperties(o,s);u&&(c=u)}return(0,r.LQ)(e.filterProperties)&&!1===e.filterProperties(c,s)?null:Y().createElement(De,{schema:c,key:"".concat(i,"-").concat(s),name:s,basePath:l})})))}};return s?Y().createElement(K.Provider,{value:s},(0,r.JY)(e.name)?"object"===s.type?e.onlyRenderProperties?c():Y().createElement(we,ke({},l,{name:e.name,basePath:a}),c):"array"===s.type?Y().createElement(Ae,ke({},l,{name:e.name,basePath:a})):"void"===s.type?e.onlyRenderProperties?c():Y().createElement(Oe,ke({},l,{name:e.name,basePath:a}),c):Y().createElement(Ie,ke({},l,{name:e.name,basePath:a})):c()):Y().createElement(G.Fragment,null)},Pe=function(){return Pe=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},Pe.apply(this,arguments)},Me=function(e){var t=(0,G.useContext)(q);return Y().createElement(q.Provider,{value:Pe(Pe({},t),e.value)},e.children)},Fe=n(314),He={portalDOM:null},Be=function(e){return r.kk.document?(He.portalDOM=He.portalDOM||r.kk.document.createElement("div"),(0,Fe.createPortal)(e,He.portalDOM)):Y().createElement("template",{},e)},Ue=function(){return Ue=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},Ue.apply(this,arguments)},je={nonameId:0},Ge=function(){return"NO_NAME_FIELD_$".concat(je.nonameId++)};function Ye(e){function t(t){var n=j.isSchemaInstance(t.schema)?t.schema:new j(Ue({type:"object"},t.schema));return Y().createElement(X.Provider,{value:Ue(Ue({},e),{getComponent:function(n){return r.Dm.getIn(t.components,n)||r.Dm.getIn(e.components,n)}})},Y().createElement(q.Provider,{value:Ue(Ue({},e.scope),t.scope)},(je.nonameId=0,t.schema?null:Be(Y().createElement(V.Provider,{value:n},t.children))),Y().createElement(De,Ue({},t,{schema:n}))))}function n(e){var t=(0,G.useContext)(V);if(!t)return Y().createElement(G.Fragment,null);var n=function(){return Y().createElement(Y().Fragment,null,e.children)},r=e.name||Ge();if("object"===t.type||"void"===t.type){var i=t.addProperty(r,e);return Y().createElement(V.Provider,{value:i},n())}return"array"===t.type?(i=function(n){return t.items?t.addProperty(r,n):t.setItems(e)}(e),Y().createElement(V.Provider,{value:Array.isArray(i)?i[0]:i},e.children)):n()}function i(e){return Y().createElement(n,Ue({},e,{type:"string"}))}function o(e){return Y().createElement(n,Ue({},e,{type:"object"}))}function a(e){return Y().createElement(n,Ue({},e,{type:"array"}))}function s(e){return Y().createElement(n,Ue({},e,{type:"boolean"}))}function l(e){return Y().createElement(n,Ue({},e,{type:"number"}))}function c(e){return Y().createElement(n,Ue({},e,{type:"date"}))}function u(e){return Y().createElement(n,Ue({},e,{type:"datetime"}))}function h(e){return Y().createElement(n,Ue({},e,{type:"void"}))}return void 0===e&&(e={}),t.displayName="SchemaField",n.displayName="MarkupField",i.displayName="StringField",o.displayName="ObjectField",a.displayName="ArrayField",s.displayName="BooleanField",l.displayName="NumberField",c.displayName="DateField",u.displayName="DateTimeField",h.displayName="VoidField",t.Markup=n,t.String=i,t.Object=o,t.Array=a,t.Boolean=s,t.Date=c,t.DateTime=u,t.Void=h,t.Number=l,t}},6196:(e,t,n)=>{"use strict";n.d(t,{fX:()=>Ge,aD:()=>Re,EH:()=>Ue,dC:()=>Ae,r3:()=>se,Ou:()=>He,WV:()=>le,bi:()=>re,LO:()=>Fe,N7:()=>Ye,U5:()=>je,ZN:()=>ae,rg:()=>we});var r,i=Object.prototype.toString,o=function(e){return e&&e instanceof Map},a=function(e){return e&&e instanceof Set},s=function(e){return e&&e instanceof WeakMap},l=function(e){return e&&e instanceof WeakSet},c=function(e){return"function"==typeof e},u=Array.isArray,h=function(e){return"[object Object]"===i.call(e)},p=function(e){return o(e)||s(e)||a(e)||l(e)},d=function(e){return h(e)||u(e)},f=function(e){return Array.isArray(e)?e:null!=e?[e]:[]},m=function(){function e(e){void 0===e&&(e=[]),this.batchDeleting=!1,this.value=e}return e.prototype.add=function(e){this.has(e)||this.value.push(e)},e.prototype.has=function(e){return this.value.indexOf(e)>-1},e.prototype.delete=function(e){if(!this.batchDeleting){var t=this.value.indexOf(e);t>-1&&this.value.splice(t,1)}},e.prototype.forEach=function(e){if(0!==this.value.length)for(var t=0,n=this.value.length;t<n;t++)e(this.value[t])},e.prototype.forEachDelete=function(e){if(0!==this.value.length){this.batchDeleting=!0;for(var t=0;t<this.value.length;t++){var n=this.value[t];this.value.splice(t,1),e(n),t--}this.batchDeleting=!1}},e.prototype.clear=function(){this.value.length=0},e}(),g=new WeakMap,y=new WeakMap,v=new WeakMap,_=new WeakMap,b=new WeakMap,E=[],T={value:0},x={value:0},S={value:!1},C={value:!1},A=new m,R=new m,w=new m,L=Symbol("MakeObservableSymbol"),O=new m,N=Symbol("iteration key"),I=function(e,t){var n=b.get(e),r=[];if(n){var i=n.get(t);i&&i.forEach((function(e){-1===r.indexOf(e)&&r.push(e)}))}return r},k=function(e,t){var n=I(e,t),r=x.value;x.value=0;for(var i=0,o=n.length;i<o;i++){var a=n[i];a._isComputed?a._scheduler(a):$()?R.add(a):z()?A.add(a):c(a._scheduler)?a._scheduler(a):a()}x.value=r},D=function(e){var t=e.key,n=e.type,r=e.target;"iterate"===n&&(t=N);var i=E[E.length-1];W()||i&&(C.value=!0,function(e,t){var n=e._reactionsSet;n?n.add(t):e._reactionsSet=new m([t])}(i,function(e,t,n){var r=b.get(e);if(r){var i=r.get(t);return i?i.add(n):r.set(t,new m([n])),r}var o=new Map([[t,new m([n])]]);return b.set(e,o),o}(r,t,i)))},P=function(e){var t=e.key,n=e.type,r=e.target,i=e.oldTarget;if(H(),function(e){O.forEach((function(t){return t(e)}))}(e),"clear"===n?i.forEach((function(e,t){k(r,t)})):k(r,t),"add"===n||"delete"===n||"clear"===n){var o=Array.isArray(r)?"length":N;k(r,o)}B()},M=function(e){var t;null===(t=e._reactionsSet)||void 0===t||t.forEach((function(t){t.forEach((function(t){t.delete(e)}))})),A.delete(e),R.delete(e),delete e._reactionsSet},F=function(e){e._disposed=!0,M(e),function(e){var t;null===(t=e._computesSet)||void 0===t||t.forEach((function(e){0===I(e._context,e._property).length&&(F(e),e._dirty=!0)}))}(e)},H=function(){T.value++},B=function(){if(T.value--,0===T.value){var e=x.value;x.value=0,V(),K(),x.value=e}},U=function(){S.value=!0},j=function(){var e=x.value;S.value=!1,x.value=0,R.forEachDelete((function(e){c(e._scheduler)?e._scheduler(e):e()})),x.value=e},G=function(){x.value++},Y=function(){x.value--},z=function(){return T.value>0},$=function(){return S.value},W=function(){return x.value>0},V=function(){A.forEachDelete((function(e){c(e._scheduler)?e._scheduler(e):e()}))},K=function(){w.forEachDelete((function(e){e()}))},q=function(e,t){return e!==t&&(e.length!==t.length||!!e.some((function(e,n){return e!==t[n]})))},X=function(e,t){this.key=e.key,this.type=e.type,this.object=e.target,this.value=e.value,this.oldValue=e.oldValue,this.path=t.path.concat(e.key)},Z=function(){function e(e,t,n){this.target=e,this.key=t,this.value=n}return Object.defineProperty(e.prototype,"path",{get:function(){return this.parent?this.parent.path.concat(this.key):this.key?[this.key]:[]},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"targetRaw",{get:function(){return g.get(this.target)||this.target},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"parent",{get:function(){if(this.target)return Q(this.targetRaw)},enumerable:!1,configurable:!0}),e.prototype.isEqual=function(e){return this.key?e.targetRaw===this.targetRaw&&e.key===this.key:e.value===this.value},e.prototype.contains=function(e){if(e===this)return!0;for(var t=e.parent;t;){if(this.isEqual(t))return!0;t=t.parent}return!1},e}(),Q=function(e){return _.get(e)},J=function(e,t,n){var r=g.get(n)||n,i=Q(r);if(i)return i;!function(e,t){_.set(e,t)}(r,new Z(e,t,n))},ee=Symbol("RAW_TYPE"),te=Symbol("OBSERVABLE_TYPE"),ne=Object.prototype.hasOwnProperty,re=function(e){return g.has(e)},ie=function(e){return e&&!!e[L]},oe=function(e){return!(null==e||!u(e)&&(h(e)?e[ee]||!e[te]&&("$$typeof"in e&&"_owner"in e||e._isAMomentObject||e._isJSONSchemaObject||c(e.toJS)||c(e.toJSON)):!(o(e)||s(e)||a(e)||l(e))))},ae=function(e){var t=new WeakSet,n=function(e){if(t.has(e))return e;if(e&&e[ee])return e;if(u(e)){if(re(e)){t.add(e);var r=[];return e.forEach((function(e){r.push(n(e))})),t.delete(e),r}}else if(h(e)&&re(e)){t.add(e);var i={};for(var o in e)ne.call(e,o)&&(i[o]=n(e[o]));return t.delete(e),i}return e};return n(e)},se=function(e,t){var n=g.get(e)||e,r=g.get(t)||t;if(n===r)return!0;var i=Q(n),o=Q(r);return!!i&&!!o&&i.contains(o)},le=function(e){return C.value=!1,null==e||e(),C.value},ce=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a},ue=function(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))},he=new Set(Object.getOwnPropertyNames(Symbol).map((function(e){return Symbol[e]})).filter((function(e){return"symbol"==typeof e}))),pe=Object.prototype.hasOwnProperty;function de(e,t,n){return y.get(n)||(!re(n)&&oe(n)?be(e,t,n):n)}function fe(e,t,n,r){var i=n.next;return n.next=function(){var o=i.call(n),a=o.done,s=o.value;return a||(r?s[1]=de(e,t,s[1]):s=de(e,t,s)),{done:a,value:s}},n}var me=((r={has:function(e){var t=g.get(this),n=Reflect.getPrototypeOf(this);return D({target:t,key:e,type:"has"}),n.has.apply(t,arguments)},get:function(e){var t=g.get(this),n=Reflect.getPrototypeOf(this);return D({target:t,key:e,type:"get"}),de(t,e,n.get.apply(t,arguments))},add:function(e){var t=g.get(this),n=Reflect.getPrototypeOf(this),r=n.has.call(t,e),i=n.add.apply(t,arguments);return r||P({target:t,key:e,value:e,type:"add"}),i},set:function(e,t){var n=g.get(this),r=Reflect.getPrototypeOf(this),i=r.has.call(n,e),o=r.get.call(n,e),a=r.set.apply(n,arguments);return i?t!==o&&P({target:n,key:e,value:t,oldValue:o,type:"set"}):P({target:n,key:e,value:t,type:"add"}),a},delete:function(e){var t=g.get(this),n=Reflect.getPrototypeOf(this),r=n.has.call(t,e),i=n.get?n.get.call(t,e):void 0,o=n.delete.apply(t,arguments);return r&&P({target:t,key:e,oldValue:i,type:"delete"}),o},clear:function(){var e=g.get(this),t=Reflect.getPrototypeOf(this),n=0!==e.size,r=e instanceof Map?new Map(e):new Set(e),i=t.clear.apply(e,arguments);return n&&P({target:e,oldTarget:r,type:"clear"}),i},forEach:function(e){for(var t,n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];var i=g.get(this),o=Reflect.getPrototypeOf(this);return D({target:i,type:"iterate"}),(t=o.forEach).call.apply(t,ue([i,function(t,n){for(var r=[],o=2;o<arguments.length;o++)r[o-2]=arguments[o];return e.apply(void 0,ue([de(i,n,t),n],ce(r),!1))}],ce(n),!1))},keys:function(){var e=g.get(this),t=Reflect.getPrototypeOf(this);return D({target:e,type:"iterate"}),t.keys.apply(e,arguments)},values:function(){var e=g.get(this),t=Reflect.getPrototypeOf(this);return D({target:e,type:"iterate"}),fe(e,"",t.values.apply(e,arguments),!1)},entries:function(){var e=g.get(this),t=Reflect.getPrototypeOf(this);return D({target:e,type:"iterate"}),fe(e,"",t.entries.apply(e,arguments),!0)}})[Symbol.iterator]=function(){var e=g.get(this),t=Reflect.getPrototypeOf(this);return D({target:e,type:"iterate"}),fe(e,"",t[Symbol.iterator].apply(e,arguments),e instanceof Map)},Object.defineProperty(r,"size",{get:function(){var e=g.get(this),t=Reflect.getPrototypeOf(this);return D({target:e,type:"iterate"}),Reflect.get(t,"size",e)},enumerable:!1,configurable:!0}),r),ge={get:function(e,t,n){return e=pe.call(me,t)?me:e,Reflect.get(e,t,n)}},ye={get:function(e,t,n){if(t){var r=e[t];if("symbol"==typeof t&&he.has(t))return r;D({target:e,key:t,receiver:n,type:"get"});var i=y.get(r);if(i)return i;if(!re(r)&&oe(r)){var o=Reflect.getOwnPropertyDescriptor(e,t);if(!o||!1!==o.writable||!1!==o.configurable)return be(e,t,r)}return r}},has:function(e,t){var n=Reflect.has(e,t);return D({target:e,key:t,type:"has"}),n},ownKeys:function(e){var t=Reflect.ownKeys(e);return D({target:e,type:"iterate"}),t},set:function(e,t,n,r){var i=pe.call(e,t),o=be(e,t,n),a=e[t];return e[t]=o,i?n!==a&&P({target:e,key:t,value:o,oldValue:a,receiver:r,type:"set"}):P({target:e,key:t,value:o,oldValue:a,receiver:r,type:"add"}),!0},deleteProperty:function(e,t){var n=e[t];return delete e[t],P({target:e,key:t,oldValue:n,type:"delete"}),!0}},ve=function(e,t){var n=new Proxy(e,ye);return g.set(n,e),t?v.set(e,n):y.set(e,n),n},_e=function(e,t){var n=new Proxy(e,ge);return g.set(n,e),t?v.set(e,n):y.set(e,n),n},be=function(e,t,n,r){if("object"!=typeof n)return n;var i=g.get(n);if(i){var o=Q(i);return o.target||(o.target=e),o.key=t,n}if(!oe(n))return n;if(e){var a=g.get(e)||e;if(v.get(a))return n}return J(e,t,n),r?function(e){return d(e)?ve(e,!0):p(e)?_e(e,!0):e}(n):d(n)?ve(n):p(n)?_e(n):n},Ee=function(e){var t=function(t){return e({value:t})};return c(e)&&(t[L]=e),t},Te=function(e){if(e[L])return e[L][L]?Te(e[L]):e[L]},xe=function(e,t){function n(n){var r;try{e(),c(n)&&(r=n())}finally{t()}return r}return n.bound=Se(n),n},Se=function(e){return function(t,n){return function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];return e((function(){return t.apply(n,r)}))}}},Ce=function(e,t){var n=xe(e,t),r=Ee((function(e){var t=e.target,r=e.key;return t[r]=n.bound(t[r],t),t}));return n[L]=r,n.bound[L]=r,n},Ae=Ce(H,B);Ae.scope=Ce(U,j),Ae.endpoint=function(e){c(e)&&(0===T.value?e():w.add(e))};var Re=Ce((function(){H(),G()}),(function(){Y(),B()}));Re.scope=Ce((function(){U(),G()}),(function(){Y(),j()}));var we=xe(G,Y),Le=Ee((function(e){var t=e.target,n=e.key,r=e.value,i={value:be(t,n,t?t[n]:r)};return t?(Object.defineProperty(t,n,{set:function(e){var r=i.value;e=be(t,n,e),i.value=e,r!==e&&P({target:t,key:n,type:"set",oldValue:r,value:e})},get:function(){return D({target:t,key:n,type:"get"}),i.value},enumerable:!0,configurable:!1}),t):i.value})),Oe=Ee((function(e){var t=e.target,n=e.key,r=e.value,i={value:t?t[n]:r},o={set:function(e){var t=i.value;i.value=e,t!==e&&P({target:i,key:n,type:"set",oldValue:t,value:e})},get:function(){return D({target:i,key:n,type:"get"}),i.value}};return g.set(o,i),y.set(i,o),J(t,n,i),t?(Object.defineProperty(t,n,{value:o,enumerable:!0,configurable:!1,writable:!1}),t):o})),Ne=Ee((function(e){var t=e.target,n=e.key,r=e.value,i={value:t?t[n]:r},o={},a=t||i,s=t?n:"value";function l(){return D({target:a,key:s,type:"get"}),i.value}function c(e){var t=i.value;i.value=e,t!==e&&P({target:a,key:s,type:"set",oldValue:t,value:e})}return t?(Object.defineProperty(t,n,{get:l,set:c,enumerable:!0}),t):(Object.defineProperty(o,"value",{set:c,get:l}),J(t,n,i),g.set(o,i),y.set(i,o),o)})),Ie=Ee((function(e){var t=e.target,n=e.key,r=e.value,i={value:be(t,n,t?t[n]:r,!0)};return t?(Object.defineProperty(t,n,{set:function(e){var r=i.value;e=be(t,n,e,!0),i.value=e,r!==e&&P({target:t,key:n,type:"set",oldValue:r,value:e})},get:function(){return D({target:t,key:n,type:"get"}),i.value},enumerable:!0,configurable:!1}),t):i.value})),ke=Object.getOwnPropertyDescriptor,De=Object.getPrototypeOf;function Pe(e,t,n){if(!e)return n?c(n)?[n]:[n.get,n.set]:[];var r=ke(e,t);return r?[r.get,r.set]:Pe(De(e),t,n)}var Me=Ee((function(e){var t=e.target,n=e.key,r=e.value,i={},o={},a=t||i,s=t?n:"value",l=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}(Pe(a,s,r),2),u=l[0],h=l[1];function p(){i.value=null==u?void 0:u.call(a)}function d(){if(-1===E.indexOf(d)){M(d);try{E.push(d),p()}finally{E.pop()}}}function f(){return E.length>0&&function(e){if(c(e)){var t=E[E.length-1];if(t){var n=t._computesSet;n?n.add(e):t._computesSet=new m([e])}}}(d),W()?p():d._dirty&&(d(),d._dirty=!1),D({target:a,key:s,type:"get"}),i.value}function v(e){try{H(),null==h||h.call(a,e)}finally{B()}}return d._name="ComputedReaction",d._scheduler=function(){d._dirty=!0,P({target:a,key:s,value:i.value,type:"set"})},d._isComputed=!0,d._dirty=!0,d._context=a,d._property=s,t?(Object.defineProperty(t,n,{get:f,set:v,enumerable:!0}),t):(Object.defineProperty(o,"value",{set:v,get:f}),J(t,n,i),g.set(o,i),y.set(i,o),o)}));function Fe(e){return be(null,null,e)}function He(e,t){if(re(e))return e;if(!oe(e))return e;for(var n in J(void 0,void 0,e),g.set(e,e),y.set(e,e),t){var r=t[n];ie(r)&&Te(r)({target:e,key:n})}return e}Fe.box=Oe,Fe.ref=Ne,Fe.deep=Le,Fe.shallow=Ie,Fe.computed=Me,Fe[L]=Le;var Be=function(){return Be=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},Be.apply(this,arguments)},Ue=function(e,t){void 0===t&&(t="AutoRun");var n=function(){if(c(e)&&!(n._boundary>0)&&-1===E.indexOf(n)){M(n);try{H(),E.push(n),e()}finally{E.pop(),n._boundary++,B(),n._boundary=0,n._memos.cursor=0,n._effects.cursor=0}}},r=function(){n._memos={queue:[],cursor:0},n._effects={queue:[],cursor:0}};return n._boundary=0,n._name=t,r(),n(),function(){F(n),function(e){if(e._effects)try{H(),e._effects.queue.forEach((function(e){e&&e.dispose&&e.dispose()}))}finally{B()}}(n),r()}};Ue.memo=function(e,t){if(c(e)){var n=E[E.length-1];if(!n||!n._memos)throw new Error("autorun.memo must used in autorun function body.");var r=f(t||[]),i=n._memos.cursor++,o=n._memos.queue[i];if(!o||q(r,o.deps)){var a=e();return n._memos.queue[i]={value:a,deps:r},a}return o.value}},Ue.effect=function(e,t){if(c(e)){var n=E[E.length-1];if(!n||!n._effects)throw new Error("autorun.effect must used in autorun function body.");var r=n._effects,i=f(t||[{}]),o=r.cursor++,a=r.queue[o];a&&!q(i,a.deps)||(Promise.resolve(0).then((function(){if(!n._disposed){var t=e();c(t)&&(r.queue[o].dispose=t)}})),r.queue[o]={deps:i})}};var je=function(e,t,n){var r=Be({name:"Reaction"},n),i={},o=function(){try{H(),c(t)&&t(i.currentValue,i.oldValue)}finally{B()}},a=function(){if(-1===E.indexOf(a)){M(a);try{E.push(a),i.currentValue=e()}finally{E.pop()}}};return a._scheduler=function(e){e(),(c(r.equals)?r.equals(i.oldValue,i.currentValue):i.oldValue===i.currentValue)||o(),i.oldValue=i.currentValue},a._name=r.name,a(),i.oldValue=i.currentValue,r.fireImmediately&&o(),function(){F(a)}},Ge=function(e,t){void 0===t&&(t="TrackerReaction");var n=this;this.track=function(e){if(!c(e))return n.results;if(!(n.track._boundary>0)){if(-1===E.indexOf(n.track)){M(n.track);try{E.push(n.track),n.results=e()}finally{E.pop(),n.track._boundary++,n.track._boundary=0}}return n.results}},this.dispose=function(){F(n.track)},this.track._scheduler=function(t){0===n.track._boundary&&n.dispose(),c(t)&&e(t)},this.track._name=t,this.track._boundary=0},Ye=function(e,t,n){if(void 0===n&&(n=!0),e&&"object"!=typeof e)throw Error("Can not observe ".concat(typeof e," type."));return function(e){var r=g.get(e)||e,i=Q(r),o=function(e){var r=g.get(e.target)||e.target,o=Q(r);(n&&i.contains(o)||i===o||i.targetRaw===r&&i.key===e.key)&&t(new X(e,o))};return i&&c(t)&&O.add(o),function(){O.delete(o)}}(e)}},4808:(e,t,n)=>{"use strict";n.d(t,{Dm:()=>ft,lT:()=>mt,d9:()=>C,S6:()=>m,kk:()=>v,iw:()=>_,H1:()=>s,Bl:()=>u,xb:()=>O,Xy:()=>S,LQ:()=>a,e9:()=>h,sI:()=>p,BP:()=>d,Uk:()=>l,d8:()=>c,G7:()=>w,JY:()=>L,vl:()=>I,UI:()=>g,TS:()=>Tt,Ho:()=>F,u4:()=>y,ug:()=>U,_K:()=>f,hQ:()=>Ct});var r=Object.prototype.toString,i=function(e){return function(t){return o(t)==="[object ".concat(e,"]")}},o=function(e){return r.call(e)},a=function(e){return"function"==typeof e},s=Array.isArray,l=i("Object"),c=i("String"),u=i("Boolean"),h=i("Number"),p=function(e){return h(e)||/^\d+$/.test(e)},d=function(e){return"object"==typeof e},f=(i("RegExp"),function(e){return s(e)?e:e?[e]:[]});function m(e,t,n){if(s(e)||c(e)){if(n){for(var r=e.length-1;r>=0;r--)if(!1===t(e[r],r))return}else for(r=0;r<e.length;r++)if(!1===t(e[r],r))return}else if(d(e)){var i=void 0;for(i in e)if(Object.hasOwnProperty.call(e,i)&&!1===t(e[i],i))return}}function g(e,t,n){var r=s(e)||c(e)?[]:{};return m(e,(function(e,n){var i=t(e,n);s(r)?r.push(i):r[n]=i}),n),r}function y(e,t,n,r){var i=n;return m(e,(function(e,n){i=t(i,e,n)}),r),i}var v=function(){try{if("undefined"!=typeof self)return self}catch(e){}try{if("undefined"!=typeof window)return window}catch(e){}try{if(void 0!==n.g)return n.g}catch(e){}return Function("return this")()}(),_=function(e,t){return a(t)?e instanceof t:!!c(t)&&!!v[t]&&e instanceof v[t]},b=s,E=Object.keys,T=Object.prototype.hasOwnProperty;function x(e,t){if(e===t)return!0;if(e&&t&&"object"==typeof e&&"object"==typeof t){var n,r=b(e),i=b(t),o=void 0,a=void 0;if(r&&i){if((n=e.length)!==t.length)return!1;for(o=n;0!=o--;)if(!x(e[o],t[o]))return!1;return!0}if(r!==i)return!1;var s=e&&e._isAMomentObject,l=t&&t._isAMomentObject;if(s!==l)return!1;if(s&&l)return e.isSame(t);var c=e&&e.toJS;if(c!==(t&&t.toJS))return!1;if(c)return e.is?e.is(t):e===t;var u=_(e,"Date"),h=_(t,"Date");if(u!==h)return!1;if(u&&h)return e.getTime()===t.getTime();var p=_(e,"RegExp"),d=_(t,"RegExp");if(p!==d)return!1;if(p&&d)return e.toString()===t.toString();var f=_(e,"URL"),m=_(t,"URL");if(f!==m)return!1;if(f&&m)return e.href===t.href;var g=e&&e.toJSON,y=t&&t.toJSON;if(g!==y)return!1;if(g&&y)return x(e.toJSON(),t.toJSON());var v=E(e);if((n=v.length)!==E(t).length)return!1;for(o=n;0!=o--;)if(!T.call(t,v[o]))return!1;for(o=n;0!=o--;)if(!("_owner"===(a=v[o])&&e.$$typeof||x(e[a],t[a])))return!1;return!0}return e!=e&&t!=t}var S=function(e,t){try{return x(e,t)}catch(e){if(e.message&&e.message.match(/stack|recursion/i)||-2146828260===e.number)return console.warn("Warning: react-fast-compare does not handle circular references.",e.name,e.message),!1;throw e}},C=function(e){if(Array.isArray(e)){var t=[];return e.forEach((function(e){t.push(C(e))})),t}if(l(e)){if("$$typeof"in e&&"_owner"in e)return e;if(e._isAMomentObject)return e;if(e._isJSONSchemaObject)return e;if(a(e.toJS))return e.toJS();if(a(e.toJSON))return e.toJSON();var n={};for(var r in e)Object.hasOwnProperty.call(e,r)&&(n[r]=C(e[r]));return n}return e},A=Object.prototype.hasOwnProperty,R=Object.prototype.toString,w=function(e){return void 0===e},L=function(e){return null!=e};function O(e,t){if(void 0===t&&(t=!1),null==e)return!0;if("boolean"==typeof e)return!1;if("number"==typeof e)return!1;if("string"==typeof e)return 0===e.length;if("function"==typeof e)return 0===e.length;if(Array.isArray(e)){if(0===e.length)return!0;for(var n=0;n<e.length;n++)if(t){if(void 0!==e[n]&&null!==e[n])return!1}else if(void 0!==e[n]&&null!==e[n]&&""!==e[n]&&0!==e[n])return!1;return!0}if(_(e,"Error"))return""===e.message;if(e.toString===R)switch(e.toString()){case"[object File]":case"[object Map]":case"[object Set]":return 0===e.size;case"[object Object]":for(var r in e)if(A.call(e,r))return!1;return!0}return!1}var N=function(){return N=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},N.apply(this,arguments)};function I(e){return e.toLowerCase()}Object.create,Object.create,"function"==typeof SuppressedError&&SuppressedError;var k=[/([a-z0-9])([A-Z])/g,/([A-Z])([A-Z][a-z])/g],D=/[^A-Z0-9]+/gi;function P(e,t,n){return t instanceof RegExp?e.replace(t,n):t.reduce((function(e,t){return e.replace(t,n)}),e)}function M(e,t){var n=e.charAt(0),r=e.substr(1).toLowerCase();return t>0&&n>="0"&&n<="9"?"_"+n+r:""+n.toUpperCase()+r}function F(e,t){return void 0===t&&(t={}),function(e,t){void 0===t&&(t={});for(var n=t.splitRegexp,r=void 0===n?k:n,i=t.stripRegexp,o=void 0===i?D:i,a=t.transform,s=void 0===a?I:a,l=t.delimiter,c=void 0===l?" ":l,u=P(P(e,r,"$1\0$2"),o,"\0"),h=0,p=u.length;"\0"===u.charAt(h);)h++;for(;"\0"===u.charAt(p-1);)p--;return u.slice(h,p).split("\0").map(s).join(c)}(e,N({delimiter:"",transform:M},t))}var H,B="[\ud800-\udbff][\udc00-\udfff]",U=function(e){return function(e){return"string"==typeof e?e.replace((t=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:[a-zA-Z\\d]*(?:;[a-zA-Z\\d]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PRZcf-ntqry=><~]))"].join("|"),new RegExp(t,"g")),""):e;var t}(e).replace(new RegExp(B,"g")," ").length},j=function(){return j=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},j.apply(this,arguments)},G=function(e,t){return j({flag:e},t)},Y=G("[]"),z=G("[\\d]"),$=G("[[]]"),W=G("()"),V=G("{}"),K=G("{x}"),q=function(){return q=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},q.apply(this,arguments)},X=function(e,t){return q({flag:e},t)},Z=X("name",{expectNext:function(e){return this.includesContext(K)?e===Z||e===he||e===ae||e===ie||e===ne:e===ee||e===he||e===fe||e===ae||e===ue||e===ne||e===de||e===oe}}),Q=X("*",{expectNext:function(e){return e===ee||e===ce||e===oe||e===fe||e===he||e===ue}}),J=X("**",{expectNext:function(e){return e===ee||e===ce||e===oe||e===fe||e===he||e===ue}}),ee=X(".",{expectNext:function(e){return e===ee||e===Z||e===se||e===Q||e===J||e===oe||e===re||e===fe},expectPrev:function(e){return e===ee||e===Z||e===le||e===Q||e===ue||e===ae||e===de||e===ie}}),te=X("!",{expectNext:function(e){return e===Z||e===se}}),ne=X(":",{expectNext:function(e){return this.includesContext(K)?e===Z||e===re||e===oe:e===Z||e===se||e===ae}}),re=X("{",{expectNext:function(e){return e===Z},expectPrev:function(e){return this.includesContext(K)?e===ne||e===he||e===oe:e===ee||e===ne||e===ce},updateContext:function(){this.state.context.push(V)}}),ie=X("}",{expectNext:function(e){return this.includesContext(K)?e===he||e===ie||e===fe||e===ae:e===ee||e===fe||e===he},expectPrev:function(e){return e===Z||e===ie||e===ae},updateContext:function(){this.state.context.pop(V)}}),oe=X("[",{expectNext:function(e){return this.includesContext(K)?e===Z||e===oe||e===re||e===ae:e===Z||e===se||e===ne||e===oe||e===pe||e===ae},expectPrev:function(e){return this.includesContext(K)?e===ne||e===he||e===oe:e===Q||e===oe||e===ee||e===Z||e===ce||e==he},updateContext:function(){this.state.context.push(Y)}}),ae=X("]",{expectNext:function(e){return this.includesContext(K)?e===he||e===ie||e===ae||e===fe:e===ee||e===fe||e===he||e===ue||e===ae},updateContext:function(){if(!this.includesContext(z)){if(!this.includesContext(Y))throw this.unexpect();this.state.context.pop()}}}),se=X("[[",{updateContext:function(){this.state.context.push($)}}),le=X("]]",{updateContext:function(){if(this.curContext()!==$)throw this.unexpect();this.state.context.pop()}}),ce=X("(",{expectNext:function(e){return e===Z||e===se||e===re||e===te||e===oe},expectPrev:function(e){return e===Q},updateContext:function(){this.state.context.push(W)}}),ue=X(")",{expectNext:function(e){return e===ee||e===fe||e===he||e===ue},updateContext:function(){if(this.curContext()!==W)throw this.unexpect();this.state.context.pop()}}),he=X(",",{expectNext:function(e){return e===Z||e===se||e===oe||e===re}}),pe=X("ignore",{expectNext:function(e){return e===le},expectPrev:function(e){return e==se}}),de=X("expandTok",{expectNext:function(e){return e===ee||e===fe||e===he||e===ue}}),fe=X("eof"),me=/[\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff]/,ge=function(e){return 42===e||46===e||33===e||91===e||93===e||40===e||41===e||44===e||58===e||126===e||123===e||125===e},ye=function(e,t){var n=new Error(e);return Object.assign(n,t),n},ve=function(e,t,n){for(var r="",i=t;i<n;i++){var o=e.charAt(i);"\\"!==o&&(r+=o)}return r},_e=function(){function e(e){this.input=e,this.state={context:[],type:null,pos:0},this.type_=null}return e.prototype.curContext=function(){return this.state.context[this.state.context.length-1]},e.prototype.includesContext=function(e){for(var t=this.state.context.length-1;t>=0;t--)if(this.state.context[t]===e)return!0;return!1},e.prototype.unexpect=function(e){return e=e||this.state.type,ye('Unexpect token "'.concat(e.flag,'" in ').concat(this.state.pos," char."),{pos:this.state.pos})},e.prototype.expectNext=function(e,t){if(e&&e.expectNext&&t&&!e.expectNext.call(this,t))throw ye('Unexpect token "'.concat(t.flag,'" token should not be behind "').concat(e.flag,'" token.(').concat(this.state.pos,"th char)"),{pos:this.state.pos})},e.prototype.expectPrev=function(e,t){if(e&&e.expectPrev&&t&&!e.expectPrev.call(this,t))throw ye('Unexpect token "'.concat(e.flag,'" should not be behind "').concat(t.flag,'"(').concat(this.state.pos,"th char)."),{pos:this.state.pos})},e.prototype.match=function(e){return this.state.type===e},e.prototype.skipSpace=function(){if(this.curContext()!==$)e:for(;this.state.pos<this.input.length;){var e=this.input.charCodeAt(this.state.pos);switch(e){case 32:case 160:++this.state.pos;break;case 13:10===this.input.charCodeAt(this.state.pos+1)&&++this.state.pos;case 10:case 8232:case 8233:++this.state.pos;break;default:if(!(e>8&&e<14||e>=5760&&me.test(String.fromCharCode(e))))break e;++this.state.pos}}},e.prototype.next=function(){if(this.type_=this.state.type,this.input.length<=this.state.pos)return this.finishToken(fe);this.skipSpace(),this.readToken(this.getCode(),this.state.pos>0?this.getCode(this.state.pos-1):-1/0)},e.prototype.getCode=function(e){return void 0===e&&(e=this.state.pos),function(e,t){if(String.fromCharCode)return e.codePointAt(t);var n=e.charCodeAt(t);return n<=55295||n>=57344?n:(n<<10)+e.charCodeAt(t+1)-56613888}(this.input,e)},e.prototype.eat=function(e){return!!this.match(e)&&(this.next(),!0)},e.prototype.readKeyWord=function(){for(var e=this.state.pos,t="";;){var n=this.getCode(),r=this.getCode(this.state.pos-1);if(this.input.length===this.state.pos){t=ve(this.input,e,this.state.pos+1);break}if(ge(n)&&92!==r){t=ve(this.input,e,this.state.pos);break}if(32===n||160===n||10===n||8232===n||8233===n){t=ve(this.input,e,this.state.pos);break}if(13===n&&10===this.input.charCodeAt(this.state.pos+1)){t=ve(this.input,e,this.state.pos);break}if(n>8&&n<14||n>=5760&&me.test(String.fromCharCode(n))){t=ve(this.input,e,this.state.pos);break}this.state.pos++}this.finishToken(Z,t)},e.prototype.readIngoreString=function(){for(var e,t=this.state.pos,n="";;){var r=this.getCode();if(this.state.pos>=this.input.length)break;if(91!==r&&93!==r||92!==e){if(93==r&&93===e){n=this.input.slice(t,this.state.pos-1).replace(/\\([\[\]])/g,"$1"),this.state.pos++;break}this.state.pos++,e=r}else this.state.pos++,e=""}this.finishToken(pe,n),this.finishToken(le)},e.prototype.finishToken=function(e,t){var n=this.state.type;this.state.type=e,void 0!==t&&(this.state.value=t),this.expectNext(n,e),this.expectPrev(e,n),e.updateContext&&e.updateContext.call(this,n)},e.prototype.readToken=function(e,t){if(92===t)return this.readKeyWord();if(this.input.length<=this.state.pos)this.finishToken(fe);else if(this.curContext()===$)this.readIngoreString();else if(123===e)this.state.pos++,this.finishToken(re);else if(125===e)this.state.pos++,this.finishToken(ie);else if(42===e){if(this.state.pos++,42===this.getCode())return this.state.pos++,this.finishToken(J);this.finishToken(Q)}else if(33===e)this.state.pos++,this.finishToken(te);else if(46===e)this.state.pos++,this.finishToken(ee);else if(91===e){if(this.state.pos++,91===this.getCode())return this.state.pos++,this.finishToken(se);this.finishToken(oe)}else 126===e?(this.state.pos++,this.finishToken(de)):93===e?(this.state.pos++,this.finishToken(ae)):40===e?(this.state.pos++,this.finishToken(ce)):41===e?(this.state.pos++,this.finishToken(ue)):44===e?(this.state.pos++,this.finishToken(he)):58===e?(this.state.pos++,this.finishToken(ne)):this.readKeyWord()},e}(),be=function(e){return function(t){return t&&t.type===e}},Ee=be("Identifier"),Te=be("IgnoreExpression"),xe=be("DotOperator"),Se=be("WildcardOperator"),Ce=be("ExpandOperator"),Ae=be("GroupExpression"),Re=be("RangeExpression"),we=be("DestructorExpression"),Le=be("ObjectPattern"),Oe=(be("ObjectPatternProperty"),be("ArrayPattern")),Ne=Object.prototype.toString,Ie=function(e){return function(t){return Ne.call(t)==="[object ".concat(e,"]")}},ke=Ie("Function"),De=Array.isArray||Ie("Array"),Pe=(Ie("Object"),Ie("String")),Me=(Ie("Boolean"),Ie("Number")),Fe=function(e){return"object"==typeof e},He=Ie("RegExp"),Be=function(e){return Me(e)||/^(\d+)(\.\d+)?$/.test(e)},Ue=De,je=Object.keys,Ge=Object.prototype.hasOwnProperty,Ye=function(e,t){if(e===t)return!0;if(e&&t&&"object"==typeof e&&"object"==typeof t){var n=Ue(e),r=Ue(t),i=void 0,o=void 0,a=void 0;if(n&&r){if((o=e.length)!==t.length)return!1;for(i=o;0!=i--;)if(!Ye(e[i],t[i]))return!1;return!0}if(n!==r)return!1;var s=je(e);if((o=s.length)!==je(t).length)return!1;for(i=o;0!=i--;)if(!Ge.call(t,s[i]))return!1;for(i=o;0!=i--;)if(a=s[i],!Ye(e[a],t[a]))return!1;return!0}return e!=e&&t!=t},ze=new Map,$e=function(e){return ze.get(e)},We=function(e){var t=[];if(Le(e)){var n=0;return e.properties.forEach((function(e){t[n]={path:[]},t[n].key=e.key.value,t[n].path.push(e.key.value),Ee(e.value)&&(t[n].key=e.value.value);var r=t[n].path,i=We(e.value),o=n;i.forEach((function(e){t[o]?(t[o].key=e.key,t[o].path=r.concat(e.path)):t[o]={key:e.key,path:r.concat(e.path)},o++})),o>n?n=o:n++})),t}if(Oe(e)){var r=0;return e.elements.forEach((function(e,n){t[r]={path:[]},t[r].key=n,t[r].path.push(n),Ee(e)&&(t[r].key=e.value);var i=t[r].path,o=We(e),a=r;o.forEach((function(e){t[a]?(t[a].key=e.key,t[a].path=i.concat(e.path)):t[a]={key:e.key,path:i.concat(e.path)},a++})),a>r?r=a:r++})),t}return we(e)?We(e.value):t},Ve=function(e,t,n,r){t.forEach((function(t){var i=t.key,o=t.path;r.setIn([i],e,r.getIn(o,n))}))},Ke=function(e,t,n){var r={};return t.length&&Me(t[0].path[0])&&(r=[]),e=null!=e?e:{},t.forEach((function(t){var i=t.key,o=t.path;n.setIn(o,r,e[i])})),r},qe=function(e,t,n){t.forEach((function(t){var r=t.key;n.deleteIn([r],e)}))},Xe=function(e,t,n,r){return t.every((function(t){var i=t.key;return r.existIn([i],e,n)}))},Ze=(H=function(e,t){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},H(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}H(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),Qe=function(e,t,n){if(Be(e)&&Be(t)){if("+"===n)return String(Number(e)+Number(t));if("-"===n)return String(Number(e)-Number(t));if("*"===n)return String(Number(e)*Number(t));if("/"===n)return String(Number(e)/Number(t))}else{if("+"===n)return String(e)+String(t);if("-"===n)return"NaN";if("*"===n)return"NaN";if("/"===n)return"NaN"}return String(Number(t))},Je=function(e){function t(t,n){var r=e.call(this,t)||this;return r.isMatchPattern=!1,r.isWildMatchPattern=!1,r.haveExcludePattern=!1,r.haveRelativePattern=!1,r.base=n,r}return Ze(t,e),t.prototype.parse=function(){var e;return this.data={segments:[]},this.eat(fe)||(this.next(),e=this.parseAtom(this.state.type)),this.data.tree=e,e},t.prototype.append=function(e,t){e&&t&&(e.after=t)},t.prototype.parseAtom=function(e){switch(e){case re:case oe:return this.includesContext(K)?e===re?this.parseObjectPattern():this.parseArrayPattern():this.parseDestructorExpression();case Z:return this.parseIdentifier();case de:return this.parseExpandOperator();case J:case Q:return this.parseWildcardOperator();case se:return this.parseIgnoreExpression();case ee:return this.parseDotOperator()}},t.prototype.pushSegments=function(e){this.data.segments.push(e)},t.prototype.parseIdentifier=function(){var e={type:"Identifier",value:this.state.value},t=!this.includesContext(K)&&!this.isMatchPattern&&!this.isWildMatchPattern;if(this.next(),this.includesContext(z)){if(this.state.type!==ae)throw this.unexpect();this.state.context.pop(),this.next()}else t&&this.pushSegments(e.value);if(this.state.type===oe){if(this.next(),this.state.type!==Z)throw this.unexpect();this.state.context.push(z);var n=!1;/^\d+$/.test(this.state.value)&&(n=!0);var r=this.state.value;this.pushSegments(n?Number(r):r);var i=this.parseAtom(this.state.type);n&&(i.arrayIndex=!0),this.append(e,i)}else this.append(e,this.parseAtom(this.state.type));return e},t.prototype.parseExpandOperator=function(){var e={type:"ExpandOperator"};return this.isMatchPattern=!0,this.isWildMatchPattern=!0,this.data.segments=[],this.next(),this.append(e,this.parseAtom(this.state.type)),e},t.prototype.parseWildcardOperator=function(){var e={type:"WildcardOperator"};return this.state.type===J&&(e.optional=!0),this.isMatchPattern=!0,this.isWildMatchPattern=!0,this.data.segments=[],this.next(),this.state.type===ce?e.filter=this.parseGroupExpression(e):this.state.type===oe&&(e.filter=this.parseRangeExpression(e)),this.append(e,this.parseAtom(this.state.type)),e},t.prototype.parseDestructorExpression=function(){var e=this,t={type:"DestructorExpression"};this.state.context.push(K);var n=this.state.pos-1;t.value=this.state.type===re?this.parseObjectPattern():this.parseArrayPattern();var r,i,o=this.state.pos;return this.state.context.pop(),t.source=this.input.substring(n,o).replace(/\[\s*([\+\-\*\/])?\s*([^,\]\s]*)\s*\]/,(function(t,n,r){return void 0!==e.relative?n?Qe(e.relative,r||1,n):r?Qe(e.relative,r,"+"):String(e.relative):t})).replace(/\s*\.\s*/g,"").replace(/\s*/g,""),void 0===this.relative&&(r=t.source,i=We(t),ze.set(r,i)),this.relative=void 0,this.pushSegments(t.source),this.next(),this.append(t,this.parseAtom(this.state.type)),t},t.prototype.parseArrayPattern=function(){var e={type:"ArrayPattern",elements:[]};return this.next(),e.elements=this.parseArrayPatternElements(),e},t.prototype.parseArrayPatternElements=function(){for(var e=[];this.state.type!==ae&&this.state.type!==fe;){if(e.push(this.parseAtom(this.state.type)),this.state.type===ae)return this.includesContext(K)&&this.next(),e;this.next()}return e},t.prototype.parseObjectPattern=function(){var e={type:"ObjectPattern",properties:[]};return this.next(),e.properties=this.parseObjectProperties(),e},t.prototype.parseObjectProperties=function(){for(var e=[];this.state.type!==ie&&this.state.type!==fe;){var t={type:"ObjectPatternProperty",key:this.parseAtom(this.state.type)};if(e.push(t),this.state.type===ne&&(this.next(),t.value=this.parseAtom(this.state.type)),this.state.type===ie)return this.includesContext(K)&&this.next(),e;this.next()}return e},t.prototype.parseDotOperator=function(){var e={type:"DotOperator"};if(!this.type_&&this.base){if(this.base.isMatchPattern)throw new Error("Base path must be an absolute path.");for(this.data.segments=this.base.toArr();this.state.type===ee;)this.relative=this.data.segments.pop(),this.haveRelativePattern=!0,this.next();return function(e,t){void 0===e&&(e=[]);var n=e.length,r=function(i){void 0===i&&(i=0);var o=i<n-1?r(i+1):t,a=o&&{type:"DotOperator",after:o};return{type:"Identifier",value:e[i],after:a}};return r()}(this.data.segments.slice(),this.parseAtom(this.state.type))}return this.next(),this.append(e,this.parseAtom(this.state.type)),e},t.prototype.parseIgnoreExpression=function(){this.next();var e=String(this.state.value).replace(/\s*/g,""),t={type:"IgnoreExpression",value:e};return this.pushSegments(e),this.next(),this.append(t,this.parseAtom(this.state.type)),this.next(),t},t.prototype.parseGroupExpression=function(e){var t={type:"GroupExpression",value:[]};this.isMatchPattern=!0,this.data.segments=[],this.next();e:for(;;)switch(this.state.type){case he:this.next();break;case te:t.isExclude=!0,this.haveExcludePattern=!0,this.next();break;case fe:case ue:break e;default:t.value.push(this.parseAtom(this.state.type))}return this.next(),this.append(e,this.parseAtom(this.state.type)),t},t.prototype.parseRangeExpression=function(e){var t={type:"RangeExpression"};this.next(),this.isMatchPattern=!0,this.data.segments=[];var n=!1,r=!1;e:for(;;)switch(this.state.type){case ne:r=!0,n=!0,this.next();break;case ae:r||t.end||(t.end=t.start);break e;case he:throw this.unexpect();case fe:break e;default:n?t.end=this.parseAtom(this.state.type):t.start=this.parseAtom(this.state.type)}return this.next(),this.append(e,this.parseAtom(this.state.type)),t},t}(_e),et=function(){function e(e,t){this.tree=e,this.stack=[],this.excluding=!1,this.wildcards=[],this.record=t}return e.prototype.next=function(e,t){var n=t===this.path.length-1;if(e.after)return this.matchNode(e.after,t);if(Se(e)&&!e.filter)return!(this.excluding||0!==t&&!e.optional&&!this.take(t));if(n)return!!this.take(t);var r=this.wildcards.pop();return!(!r||!r.after)&&this.next(r,t)},e.prototype.shot=function(){var e;(null===(e=this.record)||void 0===e?void 0:e.score)>=0&&this.record.score++},e.prototype.take=function(e){var t;return String(null!==(t=this.path[e])&&void 0!==t?t:"")},e.prototype.matchExcludeIdentifier=function(e,t,n){var r=n===this.path.length-1,i=n<this.path.length;if(t.after||(this.excluding=!1),e){if(t.after)return this.next(t,n);if(r)return!1}return!!r||i},e.prototype.matchIdentifier=function(e,t){var n=this.take(t),r=!1;return Ce(e.after)?(0===n.indexOf(e.value)&&(this.shot(),r=!0),this.excluding?this.matchExcludeIdentifier(r,e.after,t):r&&this.next(e.after,t)):(n===e.value&&(this.shot(),r=!0),this.excluding?this.matchExcludeIdentifier(r,e,t):r&&this.next(e,t))},e.prototype.matchIgnoreExpression=function(e,t){return Ye(e.value,this.take(t))&&this.next(e,t)},e.prototype.matchDestructorExpression=function(e,t){return Ye(e.source,this.take(t))&&this.next(e,t)},e.prototype.matchExpandOperator=function(e,t){return this.next(e,t)},e.prototype.matchWildcardOperator=function(e,t){var n=!1;return e.filter?(this.stack.push(e),n=this.matchNode(e.filter,t),this.stack.pop()):n=this.next(e,t),n},e.prototype.matchGroupExpression=function(e,t){var n,r=this,i=!1;return e.isExclude&&(i=!this.excluding),(n=e.value,Array.isArray(n)?n:void 0!==n?[n]:[])[i?"every":"some"]((function(e){return r.wildcards=r.stack.slice(),r.excluding=i,r.matchNode(e,t)}))},e.prototype.matchRangeExpression=function(e,t){var n=Number(this.take(t));return e.start?e.end?n>=Number(e.start.value)&&n<=Number(e.end.value):n>=Number(e.start.value):e.end?n<=Number(e.end.value):(this.wildcards=this.stack.slice(),this.next(e,t))},e.prototype.matchNode=function(e,t){return void 0===t&&(t=0),xe(e)?this.next(e,t+1):Ee(e)?this.matchIdentifier(e,t):Te(e)?this.matchIgnoreExpression(e,t):we(e)?this.matchDestructorExpression(e,t):Ce(e)?this.matchExpandOperator(e,t):Se(e)?this.matchWildcardOperator(e,t):Ae(e)?this.matchGroupExpression(e,t):!!Re(e)&&this.matchRangeExpression(e,t)},e.prototype.match=function(e){return this.path=e,{matched:this.matchNode(this.tree),record:this.record}},e.matchSegments=function(e,t,n){if(e.length!==t.length)return{matched:!1,record:n};var r=function(i){void 0===i&&(i=0);var o,a,s=(o=e[i],a=t[i],(o="symbol"==typeof o?o:"".concat(o))===("symbol"==typeof a?a:"".concat(a)));return(null==n?void 0:n.score)>=0&&n.score++,s&&(!(i<e.length-1)||r(i+1))};return{matched:r(),record:n}},e}(),tt=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a},nt=function(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))},rt=new Map,it=Symbol("PATH_MATCHER"),ot=function(e){return null!=e},at=function(e){return"object"==typeof e||"function"==typeof e},st=function(e,t){for(var n=0;n<e.length;n++){var r=e[n],i=$e(r);if(i){t=Ke(t,i,{setIn:lt,getIn:st});break}if(!ot(t)){if(n!==e.length-1)return t;break}t=t[r]}return t},lt=function(e,t,n){for(var r=0;r<e.length;r++){var i=e[r],o=$e(i);if(o){Ve(t,o,n,{setIn:lt,getIn:st});break}if(!ot(t)||!at(t))return;if(De(t)&&!(Pe(a=i)?/^\d+$/.test(a):Me(a)))return;if(!ot(t[i])){if(void 0===n)return void(null===t[i]&&(t[i]=n));r<e.length-1&&(t[i]=Me(e[r+1])?[]:{})}r===e.length-1&&(t[i]=n),t=t[i]}var a},ct=function(e,t){for(var n=0;n<e.length;n++){var r=e[n],i=$e(r);if(i){qe(t,i,{setIn:lt,getIn:st,deleteIn:ct});break}if(n===e.length-1&&ot(t))return void delete t[r];if(!ot(t)||!at(t))return;if(t=t[r],!Fe(t))return}},ut=Object.prototype.hasOwnProperty,ht=function(e,t,n){n instanceof ft&&(n=n.length);for(var r=n;r<e.length;r++){var i=e[r],o=$e(i);if(o)return Xe(t,o,n,{setIn:lt,getIn:st,deleteIn:ct,existIn:ht});if(r===e.length-1)return ut.call(t,i);if(!ot(t)||!at(t))return!1;if(t=t[i],!Fe(t))return!1}},pt=function(e,t){if(e instanceof ft)return{entire:e.entire,segments:e.segments.slice(),isRegExp:!1,haveRelativePattern:e.haveRelativePattern,isWildMatchPattern:e.isWildMatchPattern,isMatchPattern:e.isMatchPattern,haveExcludePattern:e.haveExcludePattern,tree:e.tree};if(Pe(e)){if(!e)return{entire:"",segments:[],isRegExp:!1,isWildMatchPattern:!1,haveExcludePattern:!1,isMatchPattern:!1};if(-1===(o=e).indexOf("*")&&-1===o.indexOf("~")&&-1===o.indexOf("[")&&-1===o.indexOf("]")&&-1===o.indexOf(",")&&-1===o.indexOf(":")&&-1===o.indexOf(" ")&&"."!==o[0])return{entire:e,segments:e.split("."),isRegExp:!1,isWildMatchPattern:!1,haveExcludePattern:!1,isMatchPattern:!1};var n=new Je(e,ft.parse(t)),r=n.parse();if(n.isMatchPattern)return{entire:e,segments:[],isRegExp:!1,haveRelativePattern:!1,isWildMatchPattern:n.isWildMatchPattern,haveExcludePattern:n.haveExcludePattern,isMatchPattern:!0,tree:r};var i=n.data.segments;return{entire:i.join("."),segments:i,tree:r,isRegExp:!1,haveRelativePattern:n.haveRelativePattern,isWildMatchPattern:!1,haveExcludePattern:!1,isMatchPattern:!1}}return ke(e)&&e[it]?pt(e.path):De(e)?{entire:e.join("."),segments:e.reduce((function(e,t){return e.concat(dt(t))}),[]),isRegExp:!1,haveRelativePattern:!1,isWildMatchPattern:!1,haveExcludePattern:!1,isMatchPattern:!1}:He(e)?{entire:e,segments:[],isRegExp:!0,haveRelativePattern:!1,isWildMatchPattern:!1,haveExcludePattern:!1,isMatchPattern:!0}:{entire:"",isRegExp:!1,segments:void 0!==e?[e]:[],haveRelativePattern:!1,isWildMatchPattern:!1,haveExcludePattern:!1,isMatchPattern:!1};var o},dt=function(e){if(Pe(e)){e=e.replace(/\s*/g,"");try{var t=pt(e),n=t.segments;return t.isMatchPattern?e:n}catch(t){return e}}else if(e instanceof ft)return e.segments;return e},ft=function(){function e(t,n){var r=this;this.concat=function(){for(var t,n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];if(r.isMatchPattern||r.isRegExp)throw new Error("".concat(r.entire," cannot be concat"));var o=new e("");return o.segments=(t=r.segments).concat.apply(t,nt([],tt(n.map((function(e){return dt(e)}))),!1)),o.entire=o.segments.join("."),o},this.slice=function(t,n){if(r.isMatchPattern||r.isRegExp)throw new Error("".concat(r.entire," cannot be slice"));var i=new e("");return i.segments=r.segments.slice(t,n),i.entire=i.segments.join("."),i},this.push=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return r.concat.apply(r,nt([],tt(e),!1))},this.pop=function(){if(r.isMatchPattern||r.isRegExp)throw new Error("".concat(r.entire," cannot be pop"));return new e(r.segments.slice(0,r.segments.length-1))},this.splice=function(t,n){for(var i=[],o=2;o<arguments.length;o++)i[o-2]=arguments[o];if(r.isMatchPattern||r.isRegExp)throw new Error("".concat(r.entire," cannot be splice"));i=i.reduce((function(e,t){return e.concat(dt(t))}),[]);var a=r.segments.slice();return a.splice.apply(a,nt([t,n],tt(i),!1)),new e(a)},this.forEach=function(e){if(r.isMatchPattern||r.isRegExp)throw new Error("".concat(r.entire," cannot be each"));r.segments.forEach(e)},this.map=function(e){if(r.isMatchPattern||r.isRegExp)throw new Error("".concat(r.entire," cannot be map"));return r.segments.map(e)},this.reduce=function(e,t){if(r.isMatchPattern||r.isRegExp)throw new Error("".concat(r.entire," cannot be reduce"));return r.segments.reduce(e,t)},this.parent=function(){return r.slice(0,r.length-1)},this.includes=function(t){var n=e.parse(t),i=n.entire,o=n.segments,a=n.isMatchPattern,s=r.includesCache.get(i);if(void 0!==s)return s;var l=function(e){return r.includesCache.set(i,e),e};if(r.isMatchPattern){if(a)throw new Error("".concat(r.entire," cannot be used to match ").concat(i));return l(r.match(o))}if(a)throw new Error("".concat(r.entire," cannot be used to match ").concat(i));if(o.length>r.segments.length)return l(!1);for(var c=0;c<o.length;c++)if(!Ye(String(o[c]),String(r.segments[c])))return l(!1);return l(!0)},this.transform=function(e,t){if(!ke(t))return"";if(r.isMatchPattern)throw new Error("".concat(r.entire," cannot be transformed"));var n=r.segments.reduce((function(t,n){return new RegExp(e).test(n)?t.concat(n):t}),[]);return t.apply(void 0,nt([],tt(n),!1))},this.match=function(t){var n,i,o=e.parse(t),a=r.matchCache.get(o.entire);if(void 0!==a)return a.record&&void 0!==a.record.score&&(r.matchScore=a.record.score),a.matched;var s=function(e){return r.matchCache.set(o.entire,e),e};if(o.isMatchPattern){if(r.isMatchPattern)throw new Error("".concat(o.entire," cannot match ").concat(r.entire));return r.matchScore=0,s(o.match(r.segments))}if(r.isMatchPattern){if(r.isRegExp)try{return null===(i=null===(n=r.entire)||void 0===n?void 0:n.test)||void 0===i?void 0:i.call(n,o.entire)}finally{r.entire.lastIndex=0}var l={score:0},c=s(new et(r.tree,l).match(o.segments));return r.matchScore=l.score,c.matched}return l={score:0},c=s(et.matchSegments(r.segments,o.segments,l)),r.matchScore=l.score,c.matched},this.matchAliasGroup=function(t,n){var i=e.parse(t),o=e.parse(n),a=r.match(i),s=r.matchScore,l=r.match(o),c=r.matchScore;return r.haveExcludePattern?s>=c?a:l:a||l},this.existIn=function(e,t){return void 0===t&&(t=0),ht(r.segments,e,t)},this.getIn=function(e){return st(r.segments,e)},this.setIn=function(e,t){return lt(r.segments,e,t),e},this.deleteIn=function(e){return ct(r.segments,e),e},this.ensureIn=function(e,t){var n=r.getIn(e);return void 0===n?(r.setIn(e,t),r.getIn(e)):n};var i=pt(t,n),o=i.tree,a=i.segments,s=i.entire,l=i.isRegExp,c=i.isMatchPattern,u=i.isWildMatchPattern,h=i.haveRelativePattern,p=i.haveExcludePattern;this.entire=s,this.segments=a,this.isMatchPattern=c,this.isWildMatchPattern=u,this.haveRelativePattern=h,this.isRegExp=l,this.haveExcludePattern=p,this.tree=o,this.matchCache=new Map,this.includesCache=new Map}return e.prototype.toString=function(){var e;return null===(e=this.entire)||void 0===e?void 0:e.toString()},e.prototype.toArr=function(){var e;return null===(e=this.segments)||void 0===e?void 0:e.slice()},Object.defineProperty(e.prototype,"length",{get:function(){return this.segments.length},enumerable:!1,configurable:!0}),e.match=function(t){var n=e.parse(t),r=function(e){return n.match(e)};return r[it]=!0,r.path=n,r},e.isPathPattern=function(e){return!!(Pe(e)||De(e)||He(e)||ke(e)&&e[it])},e.transform=function(t,n,r){return e.parse(t).transform(n,r)},e.parse=function(t,n){if(void 0===t&&(t=""),t instanceof e)return rt.get(t.entire)||(rt.set(t.entire,t),t);if(t&&t[it])return e.parse(t.path);var r=n?e.parse(n):"",i="".concat(t,":").concat(r);return rt.get(i)||(t=new e(t,n),rt.set(i,t),t)},e.getIn=function(t,n){return e.parse(n).getIn(t)},e.setIn=function(t,n,r){return e.parse(n).setIn(t,r)},e.deleteIn=function(t,n){return e.parse(n).deleteIn(t)},e.existIn=function(t,n,r){return e.parse(n).existIn(t,r)},e.ensureIn=function(t,n,r){return e.parse(n).ensureIn(t,r)},e}(),mt=function(){var e=this;this.subscribers={index:0},this.subscribe=function(t){if(a(t)){var n=e.subscribers.index+1;return e.subscribers[n]=t,e.subscribers.index++,n}},this.unsubscribe=function(t){e.subscribers[t]?delete e.subscribers[t]:t||(e.subscribers={index:0})},this.notify=function(t,n){e.subscription&&e.subscription&&a(e.subscription.notify)&&!1===e.subscription.notify.call(e,t)||n||m(e.subscribers,(function(n){a(n)&&n(function(t){return e.subscription&&a(e.subscription.filter)?e.subscription.filter.call(e,t):t}(t))}))}};function gt(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){return"$$typeof"in e&&"_owner"in e||(!!e._isAMomentObject||(!!e._isJSONSchemaObject||(!!a(e.toJS)||(!!a(e.toJSON)||!l(e)))))}(e)}function yt(e,t){return!1!==t.clone&&t.isMergeableObject(e)?Et((n=e,Array.isArray(n)?[]:{}),e,t):e;var n}function vt(e,t,n){return e.concat(t).map((function(e){return yt(e,n)}))}function _t(e){return L(e)?Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter((function(t){return e.propertyIsEnumerable(t)})):[]}(e)):[]}function bt(e,t){try{return t in e}catch(e){return!1}}function Et(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||vt,n.isMergeableObject=n.isMergeableObject||gt,n.cloneUnlessOtherwiseSpecified=yt;var r=Array.isArray(t);return r===Array.isArray(e)?r?n.arrayMerge(e,t,n):function(e,t,n){var r=n.assign&&e||{};return n.isMergeableObject(e)?(n.assign||_t(e).forEach((function(t){r[t]=yt(e[t],n)})),_t(t).forEach((function(i){(function(e,t){return bt(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))})(e,i)||(O(e[i])?r[i]=t[i]:bt(e,i)&&n.isMergeableObject(t[i])?r[i]=function(e,t){if(!t.customMerge)return Et;var n=t.customMerge(e);return"function"==typeof n?n:Et}(i,n)(e[i],t[i],n):r[i]=yt(t[i],n))})),r):e}(e,t,n):yt(t,n)}for(var Tt=Et,xt=36,St="";xt--;)St+=xt.toString(36);function Ct(e){for(var t="",n=e||11;n--;)t+=St[36*Math.random()|0];return t}},4431:(e,t,n)=>{"use strict";var r,i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=(r=n(1024))&&r.__esModule?r:{default:r};t.Z=function(e){var t=e.fill,n=void 0===t?"currentColor":t,r=e.width,a=void 0===r?24:r,s=e.height,l=void 0===s?24:s,c=e.style,u=void 0===c?{}:c,h=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["fill","width","height","style"]);return o.default.createElement("svg",i({viewBox:"0 0 24 24",style:i({fill:n,width:a,height:l},u)},h),o.default.createElement("path",{d:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"}))}},2357:(e,t,n)=>{"use strict";var r,i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=(r=n(1024))&&r.__esModule?r:{default:r};t.Z=function(e){var t=e.fill,n=void 0===t?"currentColor":t,r=e.width,a=void 0===r?24:r,s=e.height,l=void 0===s?24:s,c=e.style,u=void 0===c?{}:c,h=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["fill","width","height","style"]);return o.default.createElement("svg",i({viewBox:"0 0 24 24",style:i({fill:n,width:a,height:l},u)},h),o.default.createElement("path",{d:"M12,18.17L8.83,15L7.42,16.41L12,21L16.59,16.41L15.17,15M12,5.83L15.17,9L16.58,7.59L12,3L7.41,7.59L8.83,9L12,5.83Z"}))}},9412:function(e){e.exports=function(){"use strict";return function(e,t){if("undefined"==typeof document)return;const n=document.createElement("textarea");n.value=e,n.setAttribute("readonly",""),n.style={position:"absolute",left:"-9999px"},document.body.appendChild(n);const r=document.getSelection().rangeCount>0&&document.getSelection().getRangeAt(0);n.select();let i=!1;try{i=!!document.execCommand("copy")}catch(e){i=!1}document.body.removeChild(n),r&&document.getSelection&&(document.getSelection().removeAllRanges(),document.getSelection().addRange(r)),t&&t(i)}}()},9625:(e,t,n)=>{function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}!function(){var e=function(){return this}();e||"undefined"==typeof window||(e=window);var t=function e(t,n,r){"string"==typeof t?(2==arguments.length&&(r=n),e.modules[t]||(e.payloads[t]=r,e.modules[t]=null)):e.original?e.original.apply(this,arguments):(console.error("dropping module because define wasn't a string."),console.trace())};t.modules={},t.payloads={};var n,r,i=function(e,t,n){if("string"==typeof t){var r=s(e,t);if(null!=r)return n&&n(),r}else if("[object Array]"===Object.prototype.toString.call(t)){for(var i=[],a=0,l=t.length;a<l;++a){var c=s(e,t[a]);if(null==c&&o.original)return;i.push(c)}return n&&n.apply(null,i)||!0}},o=function e(t,n){var r=i("",t,n);return null==r&&e.original?e.original.apply(this,arguments):r},a=function e(t,n){if(-1!==n.indexOf("!")){var r=n.split("!");return e(t,r[0])+"!"+e(t,r[1])}if("."==n.charAt(0))for(n=t.split("/").slice(0,-1).join("/")+"/"+n;-1!==n.indexOf(".")&&i!=n;){var i=n;n=n.replace(/\/\.\//,"/").replace(/[^\/]+\/\.\.\//,"")}return n},s=function(e,n){n=a(e,n);var r=t.modules[n];if(!r){if("function"==typeof(r=t.payloads[n])){var o={},s={id:n,uri:"",exports:o,packaged:!0};o=r((function(e,t){return i(n,e,t)}),o,s)||s.exports,t.modules[n]=o,delete t.payloads[n]}r=t.modules[n]=o||r}return r};r=e,(n="ace")&&(e[n]||(e[n]={}),r=e[n]),r.define&&r.define.packaged||(t.original=r.define,r.define=t,r.define.packaged=!0),r.require&&r.require.packaged||(o.original=r.require,r.require=o,r.require.packaged=!0)}(),ace.define("ace/lib/regexp",["require","exports","module"],(function(e,t,n){"use strict";var r,i={exec:RegExp.prototype.exec,test:RegExp.prototype.test,match:String.prototype.match,replace:String.prototype.replace,split:String.prototype.split},o=void 0===i.exec.call(/()??/,"")[1],a=(r=/^/g,i.test.call(r,""),!r.lastIndex);a&&o||(RegExp.prototype.exec=function(e){var t,n,r,s=i.exec.apply(this,arguments);if("string"==typeof e&&s){if(!o&&s.length>1&&function(e,t,n){if(Array.prototype.indexOf)return e.indexOf("",n);for(var r=0;r<e.length;r++)if(""===e[r])return r;return-1}(s)>-1&&(n=RegExp(this.source,i.replace.call(((r=this).global?"g":"")+(r.ignoreCase?"i":"")+(r.multiline?"m":"")+(r.extended?"x":"")+(r.sticky?"y":""),"g","")),i.replace.call(e.slice(s.index),n,(function(){for(var e=1;e<arguments.length-2;e++)void 0===arguments[e]&&(s[e]=void 0)}))),this._xregexp&&this._xregexp.captureNames)for(var l=1;l<s.length;l++)(t=this._xregexp.captureNames[l-1])&&(s[t]=s[l]);!a&&this.global&&!s[0].length&&this.lastIndex>s.index&&this.lastIndex--}return s},a||(RegExp.prototype.test=function(e){var t=i.exec.call(this,e);return t&&this.global&&!t[0].length&&this.lastIndex>t.index&&this.lastIndex--,!!t}))})),ace.define("ace/lib/es5-shim",["require","exports","module"],(function(e,t,n){function i(){}Function.prototype.bind||(Function.prototype.bind=function(e){var t=this;if("function"!=typeof t)throw new TypeError("Function.prototype.bind called on incompatible "+t);var n=d.call(arguments,1),r=function r(){if(this instanceof r){var i=t.apply(this,n.concat(d.call(arguments)));return Object(i)===i?i:this}return t.apply(e,n.concat(d.call(arguments)))};return t.prototype&&(i.prototype=t.prototype,r.prototype=new i,i.prototype=null),r});var o,a,s,l,c,u=Function.prototype.call,h=Array.prototype,p=Object.prototype,d=h.slice,f=u.bind(p.toString),m=u.bind(p.hasOwnProperty);if((c=m(p,"__defineGetter__"))&&(o=u.bind(p.__defineGetter__),a=u.bind(p.__defineSetter__),s=u.bind(p.__lookupGetter__),l=u.bind(p.__lookupSetter__)),2!=[1,2].splice(0).length)if(function(){function e(e){var t=new Array(e+2);return t[0]=t[1]=0,t}var t,n=[];if(n.splice.apply(n,e(20)),n.splice.apply(n,e(26)),t=n.length,n.splice(5,0,"XXX"),n.length,t+1==n.length)return!0}()){var g=Array.prototype.splice;Array.prototype.splice=function(e,t){return arguments.length?g.apply(this,[void 0===e?0:e,void 0===t?this.length-e:t].concat(d.call(arguments,2))):[]}}else Array.prototype.splice=function(e,t){var n=this.length;e>0?e>n&&(e=n):null==e?e=0:e<0&&(e=Math.max(n+e,0)),e+t<n||(t=n-e);var r=this.slice(e,e+t),i=d.call(arguments,2),o=i.length;if(e===n)o&&this.push.apply(this,i);else{var a=Math.min(t,n-e),s=e+a,l=s+o-a,c=n-s,u=n-a;if(l<s)for(var h=0;h<c;++h)this[l+h]=this[s+h];else if(l>s)for(h=c;h--;)this[l+h]=this[s+h];if(o&&e===u)this.length=u,this.push.apply(this,i);else for(this.length=u+o,h=0;h<o;++h)this[e+h]=i[h]}return r};Array.isArray||(Array.isArray=function(e){return"[object Array]"==f(e)});var y,v,_=Object("a"),b="a"!=_[0]||!(0 in _);function E(e){try{return Object.defineProperty(e,"sentinel",{}),"sentinel"in e}catch(e){}}if(Array.prototype.forEach||(Array.prototype.forEach=function(e){var t=k(this),n=b&&"[object String]"==f(this)?this.split(""):t,r=arguments[1],i=-1,o=n.length>>>0;if("[object Function]"!=f(e))throw new TypeError;for(;++i<o;)i in n&&e.call(r,n[i],i,t)}),Array.prototype.map||(Array.prototype.map=function(e){var t=k(this),n=b&&"[object String]"==f(this)?this.split(""):t,r=n.length>>>0,i=Array(r),o=arguments[1];if("[object Function]"!=f(e))throw new TypeError(e+" is not a function");for(var a=0;a<r;a++)a in n&&(i[a]=e.call(o,n[a],a,t));return i}),Array.prototype.filter||(Array.prototype.filter=function(e){var t,n=k(this),r=b&&"[object String]"==f(this)?this.split(""):n,i=r.length>>>0,o=[],a=arguments[1];if("[object Function]"!=f(e))throw new TypeError(e+" is not a function");for(var s=0;s<i;s++)s in r&&(t=r[s],e.call(a,t,s,n)&&o.push(t));return o}),Array.prototype.every||(Array.prototype.every=function(e){var t=k(this),n=b&&"[object String]"==f(this)?this.split(""):t,r=n.length>>>0,i=arguments[1];if("[object Function]"!=f(e))throw new TypeError(e+" is not a function");for(var o=0;o<r;o++)if(o in n&&!e.call(i,n[o],o,t))return!1;return!0}),Array.prototype.some||(Array.prototype.some=function(e){var t=k(this),n=b&&"[object String]"==f(this)?this.split(""):t,r=n.length>>>0,i=arguments[1];if("[object Function]"!=f(e))throw new TypeError(e+" is not a function");for(var o=0;o<r;o++)if(o in n&&e.call(i,n[o],o,t))return!0;return!1}),Array.prototype.reduce||(Array.prototype.reduce=function(e){var t=k(this),n=b&&"[object String]"==f(this)?this.split(""):t,r=n.length>>>0;if("[object Function]"!=f(e))throw new TypeError(e+" is not a function");if(!r&&1==arguments.length)throw new TypeError("reduce of empty array with no initial value");var i,o=0;if(arguments.length>=2)i=arguments[1];else for(;;){if(o in n){i=n[o++];break}if(++o>=r)throw new TypeError("reduce of empty array with no initial value")}for(;o<r;o++)o in n&&(i=e.call(void 0,i,n[o],o,t));return i}),Array.prototype.reduceRight||(Array.prototype.reduceRight=function(e){var t=k(this),n=b&&"[object String]"==f(this)?this.split(""):t,r=n.length>>>0;if("[object Function]"!=f(e))throw new TypeError(e+" is not a function");if(!r&&1==arguments.length)throw new TypeError("reduceRight of empty array with no initial value");var i,o=r-1;if(arguments.length>=2)i=arguments[1];else for(;;){if(o in n){i=n[o--];break}if(--o<0)throw new TypeError("reduceRight of empty array with no initial value")}do{o in this&&(i=e.call(void 0,i,n[o],o,t))}while(o--);return i}),Array.prototype.indexOf&&-1==[0,1].indexOf(1,2)||(Array.prototype.indexOf=function(e){var t=b&&"[object String]"==f(this)?this.split(""):k(this),n=t.length>>>0;if(!n)return-1;var r=0;for(arguments.length>1&&(r=I(arguments[1])),r=r>=0?r:Math.max(0,n+r);r<n;r++)if(r in t&&t[r]===e)return r;return-1}),Array.prototype.lastIndexOf&&-1==[0,1].lastIndexOf(0,-3)||(Array.prototype.lastIndexOf=function(e){var t=b&&"[object String]"==f(this)?this.split(""):k(this),n=t.length>>>0;if(!n)return-1;var r=n-1;for(arguments.length>1&&(r=Math.min(r,I(arguments[1]))),r=r>=0?r:n-Math.abs(r);r>=0;r--)if(r in t&&e===t[r])return r;return-1}),Object.getPrototypeOf||(Object.getPrototypeOf=function(e){return e.__proto__||(e.constructor?e.constructor.prototype:p)}),Object.getOwnPropertyDescriptor||(Object.getOwnPropertyDescriptor=function(e,t){if("object"!=r(e)&&"function"!=typeof e||null===e)throw new TypeError("Object.getOwnPropertyDescriptor called on a non-object: "+e);if(m(e,t)){var n;if(n={enumerable:!0,configurable:!0},c){var i=e.__proto__;e.__proto__=p;var o=s(e,t),a=l(e,t);if(e.__proto__=i,o||a)return o&&(n.get=o),a&&(n.set=a),n}return n.value=e[t],n}}),Object.getOwnPropertyNames||(Object.getOwnPropertyNames=function(e){return Object.keys(e)}),Object.create||(y=null===Object.prototype.__proto__?function(){return{__proto__:null}}:function(){var e={};for(var t in e)e[t]=null;return e.constructor=e.hasOwnProperty=e.propertyIsEnumerable=e.isPrototypeOf=e.toLocaleString=e.toString=e.valueOf=e.__proto__=null,e},Object.create=function(e,t){var n;if(null===e)n=y();else{if("object"!=r(e))throw new TypeError("typeof prototype["+r(e)+"] != 'object'");var i=function(){};i.prototype=e,(n=new i).__proto__=e}return void 0!==t&&Object.defineProperties(n,t),n}),Object.defineProperty){var T=E({}),x="undefined"==typeof document||E(document.createElement("div"));if(!T||!x)var S=Object.defineProperty}Object.defineProperty&&!S||(Object.defineProperty=function(e,t,n){if("object"!=r(e)&&"function"!=typeof e||null===e)throw new TypeError("Object.defineProperty called on non-object: "+e);if("object"!=r(n)&&"function"!=typeof n||null===n)throw new TypeError("Property description must be an object: "+n);if(S)try{return S.call(Object,e,t,n)}catch(e){}if(m(n,"value"))if(c&&(s(e,t)||l(e,t))){var i=e.__proto__;e.__proto__=p,delete e[t],e[t]=n.value,e.__proto__=i}else e[t]=n.value;else{if(!c)throw new TypeError("getters & setters can not be defined on this javascript engine");m(n,"get")&&o(e,t,n.get),m(n,"set")&&a(e,t,n.set)}return e}),Object.defineProperties||(Object.defineProperties=function(e,t){for(var n in t)m(t,n)&&Object.defineProperty(e,n,t[n]);return e}),Object.seal||(Object.seal=function(e){return e}),Object.freeze||(Object.freeze=function(e){return e});try{Object.freeze((function(){}))}catch(e){Object.freeze=(v=Object.freeze,function(e){return"function"==typeof e?e:v(e)})}if(Object.preventExtensions||(Object.preventExtensions=function(e){return e}),Object.isSealed||(Object.isSealed=function(e){return!1}),Object.isFrozen||(Object.isFrozen=function(e){return!1}),Object.isExtensible||(Object.isExtensible=function(e){if(Object(e)===e)throw new TypeError;for(var t="";m(e,t);)t+="?";e[t]=!0;var n=m(e,t);return delete e[t],n}),!Object.keys){var C=!0,A=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],R=A.length;for(var w in{toString:null})C=!1;Object.keys=function(e){if("object"!=r(e)&&"function"!=typeof e||null===e)throw new TypeError("Object.keys called on a non-object");var t=[];for(var n in e)m(e,n)&&t.push(n);if(C)for(var i=0,o=R;i<o;i++){var a=A[i];m(e,a)&&t.push(a)}return t}}Date.now||(Date.now=function(){return(new Date).getTime()});var L="\t\n\v\f\r \u2028\u2029\ufeff";if(!String.prototype.trim||L.trim()){L="["+L+"]";var O=new RegExp("^"+L+L+"*"),N=new RegExp(L+L+"*$");String.prototype.trim=function(){return String(this).replace(O,"").replace(N,"")}}function I(e){return(e=+e)!=e?e=0:0!==e&&e!==1/0&&e!==-1/0&&(e=(e>0||-1)*Math.floor(Math.abs(e))),e}var k=function(e){if(null==e)throw new TypeError("can't convert "+e+" to object");return Object(e)}})),ace.define("ace/lib/fixoldbrowsers",["require","exports","module","ace/lib/regexp","ace/lib/es5-shim"],(function(e,t,n){"use strict";e("./regexp"),e("./es5-shim")})),ace.define("ace/lib/dom",["require","exports","module"],(function(e,t,n){"use strict";t.getDocumentHead=function(e){return e||(e=document),e.head||e.getElementsByTagName("head")[0]||e.documentElement},t.createElement=function(e,t){return document.createElementNS?document.createElementNS(t||"http://www.w3.org/1999/xhtml",e):document.createElement(e)},t.hasCssClass=function(e,t){return-1!==(e.className+"").split(/\s+/g).indexOf(t)},t.addCssClass=function(e,n){t.hasCssClass(e,n)||(e.className+=" "+n)},t.removeCssClass=function(e,t){for(var n=e.className.split(/\s+/g);;){var r=n.indexOf(t);if(-1==r)break;n.splice(r,1)}e.className=n.join(" ")},t.toggleCssClass=function(e,t){for(var n=e.className.split(/\s+/g),r=!0;;){var i=n.indexOf(t);if(-1==i)break;r=!1,n.splice(i,1)}return r&&n.push(t),e.className=n.join(" "),r},t.setCssClass=function(e,n,r){r?t.addCssClass(e,n):t.removeCssClass(e,n)},t.hasCssString=function(e,t){var n,r=0;if((t=t||document).createStyleSheet&&(n=t.styleSheets)){for(;r<n.length;)if(n[r++].owningElement.id===e)return!0}else if(n=t.getElementsByTagName("style"))for(;r<n.length;)if(n[r++].id===e)return!0;return!1},t.importCssString=function(e,n,r){if(r=r||document,n&&t.hasCssString(n,r))return null;var i;n&&(e+="\n/*# sourceURL=ace/css/"+n+" */"),r.createStyleSheet?((i=r.createStyleSheet()).cssText=e,n&&(i.owningElement.id=n)):((i=t.createElement("style")).appendChild(r.createTextNode(e)),n&&(i.id=n),t.getDocumentHead(r).appendChild(i))},t.importCssStylsheet=function(e,n){if(n.createStyleSheet)n.createStyleSheet(e);else{var r=t.createElement("link");r.rel="stylesheet",r.href=e,t.getDocumentHead(n).appendChild(r)}},t.getInnerWidth=function(e){return parseInt(t.computedStyle(e,"paddingLeft"),10)+parseInt(t.computedStyle(e,"paddingRight"),10)+e.clientWidth},t.getInnerHeight=function(e){return parseInt(t.computedStyle(e,"paddingTop"),10)+parseInt(t.computedStyle(e,"paddingBottom"),10)+e.clientHeight},t.scrollbarWidth=function(e){var n=t.createElement("ace_inner");n.style.width="100%",n.style.minWidth="0px",n.style.height="200px",n.style.display="block";var r=t.createElement("ace_outer"),i=r.style;i.position="absolute",i.left="-10000px",i.overflow="hidden",i.width="200px",i.minWidth="0px",i.height="150px",i.display="block",r.appendChild(n);var o=e.documentElement;o.appendChild(r);var a=n.offsetWidth;i.overflow="scroll";var s=n.offsetWidth;return a==s&&(s=r.clientWidth),o.removeChild(r),a-s},"undefined"!=typeof document?(void 0!==window.pageYOffset?(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(e,t){return t?(window.getComputedStyle(e,"")||{})[t]||"":window.getComputedStyle(e,"")||{}}:t.computedStyle=function(e,t){return t?e.currentStyle[t]:e.currentStyle},t.setInnerHtml=function(e,t){var n=e.cloneNode(!1);return n.innerHTML=t,e.parentNode.replaceChild(n,e),n},"textContent"in document.documentElement?(t.setInnerText=function(e,t){e.textContent=t},t.getInnerText=function(e){return e.textContent}):(t.setInnerText=function(e,t){e.innerText=t},t.getInnerText=function(e){return e.innerText}),t.getParentWindow=function(e){return e.defaultView||e.parentWindow}):t.importCssString=function(){}})),ace.define("ace/lib/oop",["require","exports","module"],(function(e,t,n){"use strict";t.inherits=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})},t.mixin=function(e,t){for(var n in t)e[n]=t[n];return e},t.implement=function(e,n){t.mixin(e,n)}})),ace.define("ace/lib/keys",["require","exports","module","ace/lib/fixoldbrowsers","ace/lib/oop"],(function(e,t,n){"use strict";e("./fixoldbrowsers");var r=e("./oop"),i=function(){var e,t,n={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:"*"}};for(t in n.FUNCTION_KEYS)e=n.FUNCTION_KEYS[t].toLowerCase(),n[e]=parseInt(t,10);for(t in n.PRINTABLE_KEYS)e=n.PRINTABLE_KEYS[t].toLowerCase(),n[e]=parseInt(t,10);return r.mixin(n,n.MODIFIER_KEYS),r.mixin(n,n.PRINTABLE_KEYS),r.mixin(n,n.FUNCTION_KEYS),n.enter=n.return,n.escape=n.esc,n.del=n.delete,n[173]="-",function(){for(var e=["cmd","ctrl","alt","shift"],t=Math.pow(2,e.length);t--;)n.KEY_MODS[t]=e.filter((function(e){return t&n.KEY_MODS[e]})).join("-")+"-"}(),n.KEY_MODS[0]="",n.KEY_MODS[-1]="input-",n}();r.mixin(t,i),t.keyCodeToString=function(e){var t=i[e];return"string"!=typeof t&&(t=String.fromCharCode(e)),t.toLowerCase()}})),ace.define("ace/lib/useragent",["require","exports","module"],(function(e,t,n){"use strict";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},"object"==("undefined"==typeof navigator?"undefined":r(navigator))){var i=(navigator.platform.match(/mac|win|linux/i)||["other"])[0].toLowerCase(),o=navigator.userAgent;t.isWin="win"==i,t.isMac="mac"==i,t.isLinux="linux"==i,t.isIE="Microsoft Internet Explorer"==navigator.appName||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)&&"Gecko"===window.navigator.product,t.isOldGecko=t.isGecko&&parseInt((o.match(/rv:(\d+)/)||[])[1],10)<4,t.isOpera=window.opera&&"[object Opera]"==Object.prototype.toString.call(window.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.isTouchPad=o.indexOf("TouchPad")>=0,t.isChromeOS=o.indexOf(" CrOS ")>=0}})),ace.define("ace/lib/event",["require","exports","module","ace/lib/keys","ace/lib/useragent"],(function(e,t,n){"use strict";var i=e("./keys"),o=e("./useragent"),a=null,s=0;t.addListener=function(e,t,n){if(e.addEventListener)return e.addEventListener(t,n,!1);if(e.attachEvent){var r=function(){n.call(e,window.event)};n._wrapper=r,e.attachEvent("on"+t,r)}},t.removeListener=function(e,t,n){if(e.removeEventListener)return e.removeEventListener(t,n,!1);e.detachEvent&&e.detachEvent("on"+t,n._wrapper||n)},t.stopEvent=function(e){return t.stopPropagation(e),t.preventDefault(e),!1},t.stopPropagation=function(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0},t.preventDefault=function(e){e.preventDefault?e.preventDefault():e.returnValue=!1},t.getButton=function(e){return"dblclick"==e.type?0:"contextmenu"==e.type||o.isMac&&e.ctrlKey&&!e.altKey&&!e.shiftKey?2:e.preventDefault?e.button:{1:0,2:2,4:1}[e.button]},t.capture=function(e,n,r){function i(e){n&&n(e),r&&r(e),t.removeListener(document,"mousemove",n,!0),t.removeListener(document,"mouseup",i,!0),t.removeListener(document,"dragstart",i,!0)}return t.addListener(document,"mousemove",n,!0),t.addListener(document,"mouseup",i,!0),t.addListener(document,"dragstart",i,!0),i},t.addTouchMoveListener=function(e,n){var r,i;"ontouchmove"in e&&(t.addListener(e,"touchstart",(function(e){var t=e.changedTouches[0];r=t.clientX,i=t.clientY})),t.addListener(e,"touchmove",(function(e){var t=e.changedTouches[0];e.wheelX=-(t.clientX-r)/1,e.wheelY=-(t.clientY-i)/1,r=t.clientX,i=t.clientY,n(e)})))},t.addMouseWheelListener=function(e,n){"onmousewheel"in e?t.addListener(e,"mousewheel",(function(e){void 0!==e.wheelDeltaX?(e.wheelX=-e.wheelDeltaX/8,e.wheelY=-e.wheelDeltaY/8):(e.wheelX=0,e.wheelY=-e.wheelDelta/8),n(e)})):"onwheel"in e?t.addListener(e,"wheel",(function(e){switch(e.deltaMode){case e.DOM_DELTA_PIXEL:e.wheelX=.35*e.deltaX||0,e.wheelY=.35*e.deltaY||0;break;case e.DOM_DELTA_LINE:case e.DOM_DELTA_PAGE:e.wheelX=5*(e.deltaX||0),e.wheelY=5*(e.deltaY||0)}n(e)})):t.addListener(e,"DOMMouseScroll",(function(e){e.axis&&e.axis==e.HORIZONTAL_AXIS?(e.wheelX=5*(e.detail||0),e.wheelY=0):(e.wheelX=0,e.wheelY=5*(e.detail||0)),n(e)}))},t.addMultiMouseDownListener=function(e,n,r,i){var a,s,l,c=0,u={2:"dblclick",3:"tripleclick",4:"quadclick"};function h(e){if(0!==t.getButton(e)?c=0:e.detail>1?++c>4&&(c=1):c=1,o.isIE){var h=Math.abs(e.clientX-a)>5||Math.abs(e.clientY-s)>5;l&&!h||(c=1),l&&clearTimeout(l),l=setTimeout((function(){l=null}),n[c-1]||600),1==c&&(a=e.clientX,s=e.clientY)}if(e._clicks=c,r[i]("mousedown",e),c>4)c=0;else if(c>1)return r[i](u[c],e)}function p(e){c=2,l&&clearTimeout(l),l=setTimeout((function(){l=null}),n[c-1]||600),r[i]("mousedown",e),r[i](u[c],e)}Array.isArray(e)||(e=[e]),e.forEach((function(e){t.addListener(e,"mousedown",h),o.isOldIE&&t.addListener(e,"dblclick",p)}))};var l=o.isMac&&o.isOpera&&!("KeyboardEvent"in window)?function(e){return 0|(e.metaKey?1:0)|(e.altKey?2:0)|(e.shiftKey?4:0)|(e.ctrlKey?8:0)}:function(e){return 0|(e.ctrlKey?1:0)|(e.altKey?2:0)|(e.shiftKey?4:0)|(e.metaKey?8:0)};function c(e,t,n){var r=l(t);if(!o.isMac&&a){if(t.getModifierState&&(t.getModifierState("OS")||t.getModifierState("Win"))&&(r|=8),a.altGr){if(3==(3&r))return;a.altGr=0}if(18===n||17===n){var c="location"in t?t.location:t.keyLocation;17===n&&1===c?1==a[n]&&(s=t.timeStamp):18===n&&3===r&&2===c&&t.timeStamp-s<50&&(a.altGr=!0)}}if(n in i.MODIFIER_KEYS&&(n=-1),8&r&&n>=91&&n<=93&&(n=-1),r||13!==n||3!==(c="location"in t?t.location:t.keyLocation)||(e(t,r,-n),!t.defaultPrevented)){if(o.isChromeOS&&8&r){if(e(t,r,n),t.defaultPrevented)return;r&=-9}return!!(r||n in i.FUNCTION_KEYS||n in i.PRINTABLE_KEYS)&&e(t,r,n)}}function u(){a=Object.create(null)}t.getModifierString=function(e){return i.KEY_MODS[l(e)]},t.addCommandKeyListener=function(e,n){var r=t.addListener;if(o.isOldGecko||o.isOpera&&!("KeyboardEvent"in window)){var i=null;r(e,"keydown",(function(e){i=e.keyCode})),r(e,"keypress",(function(e){return c(n,e,i)}))}else{var s=null;r(e,"keydown",(function(e){a[e.keyCode]=(a[e.keyCode]||0)+1;var t=c(n,e,e.keyCode);return s=e.defaultPrevented,t})),r(e,"keypress",(function(e){s&&(e.ctrlKey||e.altKey||e.shiftKey||e.metaKey)&&(t.stopEvent(e),s=null)})),r(e,"keyup",(function(e){a[e.keyCode]=null})),a||(u(),r(window,"focus",u))}},"object"==("undefined"==typeof window?"undefined":r(window))&&window.postMessage&&!o.isOldIE&&(t.nextTick=function(e,n){n=n||window;var r="zero-timeout-message-1";t.addListener(n,"message",(function i(o){o.data==r&&(t.stopPropagation(o),t.removeListener(n,"message",i),e())})),n.postMessage(r,"*")}),t.nextFrame="object"==("undefined"==typeof window?"undefined":r(window))&&(window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame||window.oRequestAnimationFrame),t.nextFrame?t.nextFrame=t.nextFrame.bind(window):t.nextFrame=function(e){setTimeout(e,17)}})),ace.define("ace/lib/lang",["require","exports","module"],(function(e,t,n){"use strict";t.last=function(e){return e[e.length-1]},t.stringReverse=function(e){return e.split("").reverse().join("")},t.stringRepeat=function(e,t){for(var n="";t>0;)1&t&&(n+=e),(t>>=1)&&(e+=e);return n};var i=/^\s\s*/,o=/\s\s*$/;t.stringTrimLeft=function(e){return e.replace(i,"")},t.stringTrimRight=function(e){return e.replace(o,"")},t.copyObject=function(e){var t={};for(var n in e)t[n]=e[n];return t},t.copyArray=function(e){for(var t=[],n=0,i=e.length;n<i;n++)e[n]&&"object"==r(e[n])?t[n]=this.copyObject(e[n]):t[n]=e[n];return t},t.deepCopy=function e(t){if("object"!==r(t)||!t)return t;var n;if(Array.isArray(t)){n=[];for(var i=0;i<t.length;i++)n[i]=e(t[i]);return n}if("[object Object]"!==Object.prototype.toString.call(t))return t;for(var i in n={},t)n[i]=e(t[i]);return n},t.arrayToMap=function(e){for(var t={},n=0;n<e.length;n++)t[e[n]]=1;return t},t.createMap=function(e){var t=Object.create(null);for(var n in e)t[n]=e[n];return t},t.arrayRemove=function(e,t){for(var n=0;n<=e.length;n++)t===e[n]&&e.splice(n,1)},t.escapeRegExp=function(e){return e.replace(/([.*+?^${}()|[\]\/\\])/g,"\\$1")},t.escapeHTML=function(e){return e.replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<")},t.getMatchOffsets=function(e,t){var n=[];return e.replace(t,(function(e){n.push({offset:arguments[arguments.length-2],length:e.length})})),n},t.deferredCall=function(e){var t=null,n=function(){t=null,e()},r=function e(r){return e.cancel(),t=setTimeout(n,r||0),e};return r.schedule=r,r.call=function(){return this.cancel(),e(),r},r.cancel=function(){return clearTimeout(t),t=null,r},r.isPending=function(){return t},r},t.delayedCall=function(e,t){var n=null,r=function(){n=null,e()},i=function(e){null==n&&(n=setTimeout(r,e||t))};return i.delay=function(e){n&&clearTimeout(n),n=setTimeout(r,e||t)},i.schedule=i,i.call=function(){this.cancel(),e()},i.cancel=function(){n&&clearTimeout(n),n=null},i.isPending=function(){return n},i}})),ace.define("ace/keyboard/textinput",["require","exports","module","ace/lib/event","ace/lib/useragent","ace/lib/dom","ace/lib/lang"],(function(e,t,n){"use strict";var r=e("../lib/event"),i=e("../lib/useragent"),o=e("../lib/dom"),a=e("../lib/lang"),s=i.isChrome<18,l=i.isIE;t.TextInput=function(e,t){var n=o.createElement("textarea");n.className="ace_text-input",n.setAttribute("wrap","off"),n.setAttribute("autocorrect","off"),n.setAttribute("autocapitalize","off"),n.setAttribute("spellcheck",!1),n.style.opacity="0",e.insertBefore(n,e.firstChild);var c="\u2028\u2028",u=!1,h=!1,p=!1,d="",f=!0;try{var m=document.activeElement===n}catch(e){}r.addListener(n,"blur",(function(e){t.onBlur(e),m=!1})),r.addListener(n,"focus",(function(e){m=!0,t.onFocus(e),v()})),this.focus=function(){if(d)return n.focus();var e=n.style.top;n.style.position="fixed",n.style.top="0px",n.focus(),setTimeout((function(){n.style.position="","0px"==n.style.top&&(n.style.top=e)}),0)},this.blur=function(){n.blur()},this.isFocused=function(){return m};var g=a.delayedCall((function(){m&&v(f)})),y=a.delayedCall((function(){p||(n.value=c,m&&v())}));function v(e){if(!p){if(p=!0,b)t=0,r=e?0:n.value.length-1;else var t=e?2:1,r=2;try{n.setSelectionRange(t,r)}catch(e){}p=!1}}function _(){p||(n.value=c,i.isWebKit&&y.schedule())}i.isWebKit||t.addEventListener("changeSelection",(function(){t.selection.isEmpty()!=f&&(f=!f,g.schedule())})),_(),m&&t.onFocus();var b=null;this.setInputHandler=function(e){b=e},this.getInputHandler=function(){return b};var E=!1,T=function(e){b&&(e=b(e),b=null),h?(v(),e&&t.onPaste(e),h=!1):e==c.charAt(0)?E?t.execCommand("del",{source:"ace"}):t.execCommand("backspace",{source:"ace"}):(e.substring(0,2)==c?e=e.substr(2):e.charAt(0)==c.charAt(0)?e=e.substr(1):e.charAt(e.length-1)==c.charAt(0)&&(e=e.slice(0,-1)),e.charAt(e.length-1)==c.charAt(0)&&(e=e.slice(0,-1)),e&&t.onTextInput(e)),E&&(E=!1)},x=function(e){if(!p){var t=n.value;T(t),_()}},S=function e(t,n,r){var i=t.clipboardData||window.clipboardData;if(i&&!s){var o=l||r?"Text":"text/plain";try{return n?!1!==i.setData(o,n):i.getData(o)}catch(t){if(!r)return e(t,n,!0)}}},C=function(e,i){var o=t.getCopyText();if(!o)return r.preventDefault(e);S(e,o)?(i?t.onCut():t.onCopy(),r.preventDefault(e)):(u=!0,n.value=o,n.select(),setTimeout((function(){u=!1,_(),v(),i?t.onCut():t.onCopy()})))},A=function(e){C(e,!0)},R=function(e){C(e,!1)},w=function(e){var o=S(e);"string"==typeof o?(o&&t.onPaste(o,e),i.isIE&&setTimeout(v),r.preventDefault(e)):(n.value="",h=!0)};r.addCommandKeyListener(n,t.onCommandKey.bind(t)),r.addListener(n,"select",(function(e){u?u=!1:function(e){return 0===e.selectionStart&&e.selectionEnd===e.value.length}(n)?(t.selectAll(),v()):b&&v(t.selection.isEmpty())})),r.addListener(n,"input",x),r.addListener(n,"cut",A),r.addListener(n,"copy",R),r.addListener(n,"paste",w),"oncut"in n&&"oncopy"in n&&"onpaste"in n||r.addListener(e,"keydown",(function(e){if((!i.isMac||e.metaKey)&&e.ctrlKey)switch(e.keyCode){case 67:R(e);break;case 86:w(e);break;case 88:A(e)}}));var L,O=function(){if(p&&t.onCompositionUpdate&&!t.$readOnly){var e=n.value.replace(/\x01/g,"");if(p.lastValue!==e&&(t.onCompositionUpdate(e),p.lastValue&&t.undo(),p.canUndo&&(p.lastValue=e),p.lastValue)){var r=t.selection.getRange();t.insert(p.lastValue),t.session.markUndoGroup(),p.range=t.selection.getRange(),t.selection.setRange(r),t.selection.clearSelection()}}},N=function e(r){if(t.onCompositionEnd&&!t.$readOnly){var o=p;p=!1;var a=setTimeout((function(){a=null;var e=n.value.replace(/\x01/g,"");p||(e==o.lastValue?_():!o.lastValue&&e&&(_(),T(e)))}));b=function(e){return a&&clearTimeout(a),(e=e.replace(/\x01/g,""))==o.lastValue?"":(o.lastValue&&a&&t.undo(),e)},t.onCompositionEnd(),t.removeListener("mousedown",e),"compositionend"==r.type&&o.range&&t.selection.setRange(o.range),(i.isChrome&&i.isChrome>=53||i.isWebKit&&i.isWebKit>=603)&&x()}},I=a.delayedCall(O,50);function k(){clearTimeout(L),L=setTimeout((function(){d&&(n.style.cssText=d,d=""),null==t.renderer.$keepTextAreaAtCursor&&(t.renderer.$keepTextAreaAtCursor=!0,t.renderer.$moveTextAreaToCursor())}),0)}r.addListener(n,"compositionstart",(function(e){p||!t.onCompositionStart||t.$readOnly||((p={}).canUndo=t.session.$undoManager,t.onCompositionStart(),setTimeout(O,0),t.on("mousedown",N),p.canUndo&&!t.selection.isEmpty()&&(t.insert(""),t.session.markUndoGroup(),t.selection.clearSelection()),t.session.markUndoGroup())})),i.isGecko?r.addListener(n,"text",(function(){I.schedule()})):(r.addListener(n,"keyup",(function(){I.schedule()})),r.addListener(n,"keydown",(function(){I.schedule()}))),r.addListener(n,"compositionend",N),this.getElement=function(){return n},this.setReadOnly=function(e){n.readOnly=e},this.onContextMenu=function(e){E=!0,v(t.selection.isEmpty()),t._emit("nativecontextmenu",{target:t,domEvent:e}),this.moveToMouse(e,!0)},this.moveToMouse=function(e,a){d||(d=n.style.cssText),n.style.cssText=(a?"z-index:100000;":"")+"height:"+n.style.height+";"+(i.isIE?"opacity:0.1;":"");var s=t.container.getBoundingClientRect(),l=o.computedStyle(t.container),c=s.top+(parseInt(l.borderTopWidth)||0),u=s.left+(parseInt(s.borderLeftWidth)||0),h=s.bottom-c-n.clientHeight-2,p=function(e){n.style.left=e.clientX-u-2+"px",n.style.top=Math.min(e.clientY-c-2,h)+"px"};p(e),"mousedown"==e.type&&(t.renderer.$keepTextAreaAtCursor&&(t.renderer.$keepTextAreaAtCursor=null),clearTimeout(L),i.isWin&&r.capture(t.container,p,k))},this.onContextMenuClose=k;var D=function(e){t.textInput.onContextMenu(e),k()};r.addListener(n,"mouseup",D),r.addListener(n,"mousedown",(function(e){e.preventDefault(),k()})),r.addListener(t.renderer.scroller,"contextmenu",D),r.addListener(n,"contextmenu",D)}})),ace.define("ace/mouse/default_handlers",["require","exports","module","ace/lib/dom","ace/lib/event","ace/lib/useragent"],(function(e,t,n){"use strict";e("../lib/dom"),e("../lib/event");var r=e("../lib/useragent");function i(e){e.$clickSelection=null;var t=e.editor;t.setDefaultHandler("mousedown",this.onMouseDown.bind(e)),t.setDefaultHandler("dblclick",this.onDoubleClick.bind(e)),t.setDefaultHandler("tripleclick",this.onTripleClick.bind(e)),t.setDefaultHandler("quadclick",this.onQuadClick.bind(e)),t.setDefaultHandler("mousewheel",this.onMouseWheel.bind(e)),t.setDefaultHandler("touchmove",this.onTouchMove.bind(e)),["select","startSelect","selectEnd","selectAllEnd","selectByWordsEnd","selectByLinesEnd","dragWait","dragWaitEnd","focusWait"].forEach((function(t){e[t]=this[t]}),this),e.selectByLines=this.extendSelectionBy.bind(e,"getLineRange"),e.selectByWords=this.extendSelectionBy.bind(e,"getWordRange")}function o(e,t){if(e.start.row==e.end.row)var n=2*t.column-e.start.column-e.end.column;else if(e.start.row!=e.end.row-1||e.start.column||e.end.column)n=2*t.row-e.start.row-e.end.row;else n=t.column-4;return n<0?{cursor:e.start,anchor:e.end}:{cursor:e.end,anchor:e.start}}(function(){this.onMouseDown=function(e){var t=e.inSelection(),n=e.getDocumentPosition();this.mousedownEvent=e;var i=this.editor,o=e.getButton();if(0!==o){var a=i.getSelectionRange().isEmpty();return i.$blockScrolling++,(a||1==o)&&i.selection.moveToPosition(n),i.$blockScrolling--,void(2==o&&(i.textInput.onContextMenu(e.domEvent),r.isMozilla||e.preventDefault()))}return this.mousedownEvent.time=Date.now(),!t||i.isFocused()||(i.focus(),!this.$focusTimout||this.$clickSelection||i.inMultiSelectMode)?(this.captureMouse(e),this.startSelect(n,e.domEvent._clicks>1),e.preventDefault()):(this.setState("focusWait"),void this.captureMouse(e))},this.startSelect=function(e,t){e=e||this.editor.renderer.screenToTextCoordinates(this.x,this.y);var n=this.editor;n.$blockScrolling++,this.mousedownEvent.getShiftKey()?n.selection.selectToPosition(e):t||n.selection.moveToPosition(e),t||this.select(),n.renderer.scroller.setCapture&&n.renderer.scroller.setCapture(),n.setStyle("ace_selecting"),this.setState("select"),n.$blockScrolling--},this.select=function(){var e,t=this.editor,n=t.renderer.screenToTextCoordinates(this.x,this.y);if(t.$blockScrolling++,this.$clickSelection){var r=this.$clickSelection.comparePoint(n);if(-1==r)e=this.$clickSelection.end;else if(1==r)e=this.$clickSelection.start;else{var i=o(this.$clickSelection,n);n=i.cursor,e=i.anchor}t.selection.setSelectionAnchor(e.row,e.column)}t.selection.selectToPosition(n),t.$blockScrolling--,t.renderer.scrollCursorIntoView()},this.extendSelectionBy=function(e){var t,n=this.editor,r=n.renderer.screenToTextCoordinates(this.x,this.y),i=n.selection[e](r.row,r.column);if(n.$blockScrolling++,this.$clickSelection){var a=this.$clickSelection.comparePoint(i.start),s=this.$clickSelection.comparePoint(i.end);if(-1==a&&s<=0)t=this.$clickSelection.end,i.end.row==r.row&&i.end.column==r.column||(r=i.start);else if(1==s&&a>=0)t=this.$clickSelection.start,i.start.row==r.row&&i.start.column==r.column||(r=i.end);else if(-1==a&&1==s)r=i.end,t=i.start;else{var l=o(this.$clickSelection,r);r=l.cursor,t=l.anchor}n.selection.setSelectionAnchor(t.row,t.column)}n.selection.selectToPosition(r),n.$blockScrolling--,n.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 e,t,n,r,i=(e=this.mousedownEvent.x,t=this.mousedownEvent.y,n=this.x,r=this.y,Math.sqrt(Math.pow(n-e,2)+Math.pow(r-t,2))),o=Date.now();(i>0||o-this.mousedownEvent.time>this.$focusTimout)&&this.startSelect(this.mousedownEvent.getDocumentPosition())},this.onDoubleClick=function(e){var t=e.getDocumentPosition(),n=this.editor,r=n.session.getBracketRange(t);r?(r.isEmpty()&&(r.start.column--,r.end.column++),this.setState("select")):(r=n.selection.getWordRange(t.row,t.column),this.setState("selectByWords")),this.$clickSelection=r,this.select()},this.onTripleClick=function(e){var t=e.getDocumentPosition(),n=this.editor;this.setState("selectByLines");var r=n.getSelectionRange();r.isMultiLine()&&r.contains(t.row,t.column)?(this.$clickSelection=n.selection.getLineRange(r.start.row),this.$clickSelection.end=n.selection.getLineRange(r.end.row).end):this.$clickSelection=n.selection.getLineRange(t.row),this.select()},this.onQuadClick=function(e){var t=this.editor;t.selectAll(),this.$clickSelection=t.getSelectionRange(),this.setState("selectAll")},this.onMouseWheel=function(e){if(!e.getAccelKey()){e.getShiftKey()&&e.wheelY&&!e.wheelX&&(e.wheelX=e.wheelY,e.wheelY=0);var t=e.domEvent.timeStamp,n=t-(this.$lastScrollTime||0),r=this.editor;return r.renderer.isScrollableBy(e.wheelX*e.speed,e.wheelY*e.speed)||n<200?(this.$lastScrollTime=t,r.renderer.scrollBy(e.wheelX*e.speed,e.wheelY*e.speed),e.stop()):void 0}},this.onTouchMove=function(e){var t=e.domEvent.timeStamp,n=t-(this.$lastScrollTime||0),r=this.editor;if(r.renderer.isScrollableBy(e.wheelX*e.speed,e.wheelY*e.speed)||n<200)return this.$lastScrollTime=t,r.renderer.scrollBy(e.wheelX*e.speed,e.wheelY*e.speed),e.stop()}}).call(i.prototype),t.DefaultHandlers=i})),ace.define("ace/tooltip",["require","exports","module","ace/lib/oop","ace/lib/dom"],(function(e,t,n){"use strict";e("./lib/oop");var r=e("./lib/dom");function i(e){this.isOpen=!1,this.$element=null,this.$parentNode=e}(function(){this.$init=function(){return this.$element=r.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(e){r.setInnerText(this.getElement(),e)},this.setHtml=function(e){this.getElement().innerHTML=e},this.setPosition=function(e,t){this.getElement().style.left=e+"px",this.getElement().style.top=t+"px"},this.setClassName=function(e){r.addCssClass(this.getElement(),e)},this.show=function(e,t,n){null!=e&&this.setText(e),null!=t&&null!=n&&this.setPosition(t,n),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(i.prototype),t.Tooltip=i})),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){"use strict";var r=e("../lib/dom"),i=e("../lib/oop"),o=e("../lib/event"),a=e("../tooltip").Tooltip;function s(e){a.call(this,e)}i.inherits(s,a),function(){this.setPosition=function(e,t){var n=window.innerWidth||document.documentElement.clientWidth,r=window.innerHeight||document.documentElement.clientHeight,i=this.getWidth(),o=this.getHeight();(e+=15)+i>n&&(e-=e+i-n),(t+=15)+o>r&&(t-=20+o),a.prototype.setPosition.call(this,e,t)}}.call(s.prototype),t.GutterHandler=function(e){var t,n,i,a=e.editor,l=a.renderer.$gutterLayer,c=new s(a.container);function u(){t&&(t=clearTimeout(t)),i&&(c.hide(),i=null,a._signal("hideGutterTooltip",c),a.removeEventListener("mousewheel",u))}function h(e){c.setPosition(e.x,e.y)}e.editor.setDefaultHandler("guttermousedown",(function(t){if(a.isFocused()&&0==t.getButton()&&"foldWidgets"!=l.getRegion(t)){var n=t.getDocumentPosition().row,r=a.session.selection;if(t.getShiftKey())r.selectTo(n,0);else{if(2==t.domEvent.detail)return a.selectAll(),t.preventDefault();e.$clickSelection=a.selection.getLineRange(n)}return e.setState("selectByLines"),e.captureMouse(t),t.preventDefault()}})),e.editor.setDefaultHandler("guttermousemove",(function(o){var s=o.domEvent.target||o.domEvent.srcElement;if(r.hasCssClass(s,"ace_fold-widget"))return u();i&&e.$tooltipFollowsMouse&&h(o),n=o,t||(t=setTimeout((function(){t=null,n&&!e.isMousePressed?function(){var t=n.getDocumentPosition().row,r=l.$annotations[t];if(!r)return u();if(t==a.session.getLength()){var o=a.renderer.pixelToScreenCoordinates(0,n.y).row,s=n.$pos;if(o>a.session.documentToScreenRow(s.row,s.column))return u()}if(i!=r)if(i=r.text.join("<br/>"),c.setHtml(i),c.show(),a._signal("showGutterTooltip",c),a.on("mousewheel",u),e.$tooltipFollowsMouse)h(n);else{var p=n.domEvent.target.getBoundingClientRect(),d=c.getElement().style;d.left=p.right+"px",d.top=p.bottom+"px"}}():u()}),50))})),o.addListener(a.renderer.$gutter,"mouseout",(function(e){n=null,i&&!t&&(t=setTimeout((function(){t=null,u()}),50))})),a.on("changeSession",u)}})),ace.define("ace/mouse/mouse_event",["require","exports","module","ace/lib/event","ace/lib/useragent"],(function(e,t,n){"use strict";var r=e("../lib/event"),i=e("../lib/useragent"),o=t.MouseEvent=function(e,t){this.domEvent=e,this.editor=t,this.x=this.clientX=e.clientX,this.y=this.clientY=e.clientY,this.$pos=null,this.$inSelection=null,this.propagationStopped=!1,this.defaultPrevented=!1};(function(){this.stopPropagation=function(){r.stopPropagation(this.domEvent),this.propagationStopped=!0},this.preventDefault=function(){r.preventDefault(this.domEvent),this.defaultPrevented=!0},this.stop=function(){this.stopPropagation(),this.preventDefault()},this.getDocumentPosition=function(){return this.$pos||(this.$pos=this.editor.renderer.screenToTextCoordinates(this.clientX,this.clientY)),this.$pos},this.inSelection=function(){if(null!==this.$inSelection)return this.$inSelection;var e=this.editor.getSelectionRange();if(e.isEmpty())this.$inSelection=!1;else{var t=this.getDocumentPosition();this.$inSelection=e.contains(t.row,t.column)}return this.$inSelection},this.getButton=function(){return r.getButton(this.domEvent)},this.getShiftKey=function(){return this.domEvent.shiftKey},this.getAccelKey=i.isMac?function(){return this.domEvent.metaKey}:function(){return this.domEvent.ctrlKey}}).call(o.prototype)})),ace.define("ace/mouse/dragdrop_handler",["require","exports","module","ace/lib/dom","ace/lib/event","ace/lib/useragent"],(function(e,t,n){"use strict";var r=e("../lib/dom"),i=e("../lib/event"),o=e("../lib/useragent");function a(e){var t=e.editor,n=r.createElement("img");n.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",o.isOpera&&(n.style.cssText="width:1px;height:1px;position:fixed;top:0;left:0;z-index:2147483647;opacity:0;"),["dragWait","dragWaitEnd","startDrag","dragReadyEnd","onMouseDrag"].forEach((function(t){e[t]=this[t]}),this),t.addEventListener("mousedown",this.onMouseDown.bind(e));var a,l,c,u,h,p,d,f,m,g,y,v=t.container,_=0;function b(){var e=p;(function(e,n){var r=Date.now(),i=!n||e.row!=n.row,o=!n||e.column!=n.column;!g||i||o?(t.$blockScrolling+=1,t.moveCursorToPosition(e),t.$blockScrolling-=1,g=r,y={x:l,y:c}):s(y.x,y.y,l,c)>5?g=null:r-g>=200&&(t.renderer.scrollCursorIntoView(),g=null)})(p=t.renderer.screenToTextCoordinates(l,c),e),function(e,n){var r=Date.now(),i=t.renderer.layerConfig.lineHeight,o=t.renderer.layerConfig.characterWidth,a=t.renderer.scroller.getBoundingClientRect(),s={x:{left:l-a.left,right:a.right-l},y:{top:c-a.top,bottom:a.bottom-c}},u=Math.min(s.x.left,s.x.right),h=Math.min(s.y.top,s.y.bottom),p={row:e.row,column:e.column};u/o<=2&&(p.column+=s.x.left<s.x.right?-3:2),h/i<=1&&(p.row+=s.y.top<s.y.bottom?-1:1);var d=e.row!=p.row,f=e.column!=p.column,g=!n||e.row!=n.row;d||f&&!g?m?r-m>=200&&t.renderer.scrollCursorIntoView(p):m=r:m=null}(p,e)}function E(){h=t.selection.toOrientedRange(),a=t.session.addMarker(h,"ace_selection",t.getSelectionStyle()),t.clearSelection(),t.isFocused()&&t.renderer.$cursorLayer.setBlinking(!1),clearInterval(u),b(),u=setInterval(b,20),_=0,i.addListener(document,"mousemove",S)}function T(){clearInterval(u),t.session.removeMarker(a),a=null,t.$blockScrolling+=1,t.selection.fromOrientedRange(h),t.$blockScrolling-=1,t.isFocused()&&!f&&t.renderer.$cursorLayer.setBlinking(!t.getReadOnly()),h=null,p=null,_=0,m=null,g=null,i.removeListener(document,"mousemove",S)}this.onDragStart=function(e){if(this.cancelDrag||!v.draggable){var r=this;return setTimeout((function(){r.startSelect(),r.captureMouse(e)}),0),e.preventDefault()}h=t.getSelectionRange();var i=e.dataTransfer;i.effectAllowed=t.getReadOnly()?"copy":"copyMove",o.isOpera&&(t.container.appendChild(n),n.scrollTop=0),i.setDragImage&&i.setDragImage(n,0,0),o.isOpera&&t.container.removeChild(n),i.clearData(),i.setData("Text",t.session.getTextRange()),f=!0,this.setState("drag")},this.onDragEnd=function(e){if(v.draggable=!1,f=!1,this.setState(null),!t.getReadOnly()){var n=e.dataTransfer.dropEffect;d||"move"!=n||t.session.remove(t.getSelectionRange()),t.renderer.$cursorLayer.setBlinking(!0)}this.editor.unsetStyle("ace_dragging"),this.editor.renderer.setCursorStyle("")},this.onDragEnter=function(e){if(!t.getReadOnly()&&C(e.dataTransfer))return l=e.clientX,c=e.clientY,a||E(),_++,e.dataTransfer.dropEffect=d=A(e),i.preventDefault(e)},this.onDragOver=function(e){if(!t.getReadOnly()&&C(e.dataTransfer))return l=e.clientX,c=e.clientY,a||(E(),_++),null!==x&&(x=null),e.dataTransfer.dropEffect=d=A(e),i.preventDefault(e)},this.onDragLeave=function(e){if(--_<=0&&a)return T(),d=null,i.preventDefault(e)},this.onDrop=function(e){if(p){var n=e.dataTransfer;if(f)switch(d){case"move":h=h.contains(p.row,p.column)?{start:p,end:p}:t.moveText(h,p);break;case"copy":h=t.moveText(h,p,!0)}else{var r=n.getData("Text");h={start:p,end:t.session.insert(p,r)},t.focus(),d=null}return T(),i.preventDefault(e)}},i.addListener(v,"dragstart",this.onDragStart.bind(e)),i.addListener(v,"dragend",this.onDragEnd.bind(e)),i.addListener(v,"dragenter",this.onDragEnter.bind(e)),i.addListener(v,"dragover",this.onDragOver.bind(e)),i.addListener(v,"dragleave",this.onDragLeave.bind(e)),i.addListener(v,"drop",this.onDrop.bind(e));var x=null;function S(){null==x&&(x=setTimeout((function(){null!=x&&a&&T()}),20))}function C(e){var t=e.types;return!t||Array.prototype.some.call(t,(function(e){return"text/plain"==e||"Text"==e}))}function A(e){var t=["copy","copymove","all","uninitialized"],n=o.isMac?e.altKey:e.ctrlKey,r="uninitialized";try{r=e.dataTransfer.effectAllowed.toLowerCase()}catch(e){}var i="none";return n&&t.indexOf(r)>=0?i="copy":["move","copymove","linkmove","all","uninitialized"].indexOf(r)>=0?i="move":t.indexOf(r)>=0&&(i="copy"),i}}function s(e,t,n,r){return Math.sqrt(Math.pow(n-e,2)+Math.pow(r-t,2))}(function(){this.dragWait=function(){Date.now()-this.mousedownEvent.time>this.editor.getDragDelay()&&this.startDrag()},this.dragWaitEnd=function(){this.editor.container.draggable=!1,this.startSelect(this.mousedownEvent.getDocumentPosition()),this.selectEnd()},this.dragReadyEnd=function(e){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 e=this.editor;e.container.draggable=!0,e.renderer.$cursorLayer.setBlinking(!1),e.setStyle("ace_dragging");var t=o.isWin?"default":"move";e.renderer.setCursorStyle(t),this.setState("dragReady")},this.onMouseDrag=function(e){var t=this.editor.container;o.isIE&&"dragReady"==this.state&&s(this.mousedownEvent.x,this.mousedownEvent.y,this.x,this.y)>3&&t.dragDrop(),"dragWait"===this.state&&s(this.mousedownEvent.x,this.mousedownEvent.y,this.x,this.y)>0&&(t.draggable=!1,this.startSelect(this.mousedownEvent.getDocumentPosition()))},this.onMouseDown=function(e){if(this.$dragEnabled){this.mousedownEvent=e;var t=this.editor,n=e.inSelection(),r=e.getButton();if(1===(e.domEvent.detail||1)&&0===r&&n){if(e.editor.inMultiSelectMode&&(e.getAccelKey()||e.getShiftKey()))return;this.mousedownEvent.time=Date.now();var i=e.domEvent.target||e.domEvent.srcElement;"unselectable"in i&&(i.unselectable="on"),t.getDragDelay()?(o.isWebKit&&(this.cancelDrag=!0,t.container.draggable=!0),this.setState("dragWait")):this.startDrag(),this.captureMouse(e,this.onMouseDrag.bind(this)),e.defaultPrevented=!0}}}}).call(a.prototype),t.DragdropHandler=a})),ace.define("ace/lib/net",["require","exports","module","ace/lib/dom"],(function(e,t,n){"use strict";var r=e("./dom");t.get=function(e,t){var n=new XMLHttpRequest;n.open("GET",e,!0),n.onreadystatechange=function(){4===n.readyState&&t(n.responseText)},n.send(null)},t.loadScript=function(e,t){var n=r.getDocumentHead(),i=document.createElement("script");i.src=e,n.appendChild(i),i.onload=i.onreadystatechange=function(e,n){!n&&i.readyState&&"loaded"!=i.readyState&&"complete"!=i.readyState||(i=i.onload=i.onreadystatechange=null,n||t())}},t.qualifyURL=function(e){var t=document.createElement("a");return t.href=e,t.href}})),ace.define("ace/lib/event_emitter",["require","exports","module"],(function(e,t,n){"use strict";var i={},o=function(){this.propagationStopped=!0},a=function(){this.defaultPrevented=!0};i._emit=i._dispatchEvent=function(e,t){this._eventRegistry||(this._eventRegistry={}),this._defaultHandlers||(this._defaultHandlers={});var n=this._eventRegistry[e]||[],i=this._defaultHandlers[e];if(n.length||i){"object"==r(t)&&t||(t={}),t.type||(t.type=e),t.stopPropagation||(t.stopPropagation=o),t.preventDefault||(t.preventDefault=a),n=n.slice();for(var s=0;s<n.length&&(n[s](t,this),!t.propagationStopped);s++);return i&&!t.defaultPrevented?i(t,this):void 0}},i._signal=function(e,t){var n=(this._eventRegistry||{})[e];if(n){n=n.slice();for(var r=0;r<n.length;r++)n[r](t,this)}},i.once=function(e,t){var n=this;t&&this.addEventListener(e,(function r(){n.removeEventListener(e,r),t.apply(null,arguments)}))},i.setDefaultHandler=function(e,t){var n=this._defaultHandlers;if(n||(n=this._defaultHandlers={_disabled_:{}}),n[e]){var r=n[e],i=n._disabled_[e];i||(n._disabled_[e]=i=[]),i.push(r);var o=i.indexOf(t);-1!=o&&i.splice(o,1)}n[e]=t},i.removeDefaultHandler=function(e,t){var n=this._defaultHandlers;if(n){var r=n._disabled_[e];if(n[e]==t)n[e],r&&this.setDefaultHandler(e,r.pop());else if(r){var i=r.indexOf(t);-1!=i&&r.splice(i,1)}}},i.on=i.addEventListener=function(e,t,n){this._eventRegistry=this._eventRegistry||{};var r=this._eventRegistry[e];return r||(r=this._eventRegistry[e]=[]),-1==r.indexOf(t)&&r[n?"unshift":"push"](t),t},i.off=i.removeListener=i.removeEventListener=function(e,t){this._eventRegistry=this._eventRegistry||{};var n=this._eventRegistry[e];if(n){var r=n.indexOf(t);-1!==r&&n.splice(r,1)}},i.removeAllListeners=function(e){this._eventRegistry&&(this._eventRegistry[e]=[])},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,a={setOptions:function(e){Object.keys(e).forEach((function(t){this.setOption(t,e[t])}),this)},getOptions:function(e){var t={};return e?Array.isArray(e)||(t=e,e=Object.keys(t)):e=Object.keys(this.$options),e.forEach((function(e){t[e]=this.getOption(e)}),this),t},setOption:function(e,t){if(this["$"+e]!==t){var n=this.$options[e];if(!n)return s('misspelled option "'+e+'"');if(n.forwardTo)return this[n.forwardTo]&&this[n.forwardTo].setOption(e,t);n.handlesSet||(this["$"+e]=t),n&&n.set&&n.set.call(this,t)}},getOption:function(e){var t=this.$options[e];return t?t.forwardTo?this[t.forwardTo]&&this[t.forwardTo].getOption(e):t&&t.get?t.get.call(this):this["$"+e]:s('misspelled option "'+e+'"')}};function s(e){"undefined"!=typeof console&&console.warn&&console.warn.apply(console,arguments)}function l(e,t){var n=new Error(e);n.data=t,"object"==("undefined"==typeof console?"undefined":r(console))&&console.error&&console.error(n),setTimeout((function(){throw n}))}var c=function(){this.$defaultOptions={}};(function(){i.implement(this,o),this.defineOptions=function(e,t,n){return e.$options||(this.$defaultOptions[t]=e.$options={}),Object.keys(n).forEach((function(t){var r=n[t];"string"==typeof r&&(r={forwardTo:r}),r.name||(r.name=t),e.$options[r.name]=r,"initialValue"in r&&(e["$"+r.name]=r.initialValue)})),i.implement(e,a),this},this.resetOptions=function(e){Object.keys(e.$options).forEach((function(t){var n=e.$options[t];"value"in n&&e.setOption(t,n.value)}))},this.setDefaultValue=function(e,t,n){var r=this.$defaultOptions[e]||(this.$defaultOptions[e]={});r[t]&&(r.forwardTo?this.setDefaultValue(r.forwardTo,t,n):r[t].value=n)},this.setDefaultValues=function(e,t){Object.keys(t).forEach((function(n){this.setDefaultValue(e,n,t[n])}),this)},this.warn=s,this.reportError=l}).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,r){var i=e("./lib/lang"),o=(e("./lib/oop"),e("./lib/net")),a=e("./lib/app_config").AppConfig;r.exports=t=new a;var s=function(){return this||"undefined"!=typeof window&&window}(),l={packaged:!1,workerPath:null,modePath:null,themePath:null,basePath:"",suffix:".js",$moduleUrls:{}};function c(i){if(s&&s.document){l.packaged=i||e.packaged||r.packaged||s.define&&n.amdD.packaged;for(var o,a={},c="",u=document.currentScript||document._currentScript,h=(u&&u.ownerDocument||document).getElementsByTagName("script"),p=0;p<h.length;p++){var d=h[p],f=d.src||d.getAttribute("src");if(f){for(var m=d.attributes,g=0,y=m.length;g<y;g++){var v=m[g];0===v.name.indexOf("data-ace-")&&(a[(o=v.name.replace(/^data-ace-/,""),o.replace(/-(.)/g,(function(e,t){return t.toUpperCase()})))]=v.value)}var _=f.match(/^(.*)\/ace(\-\w+)?\.js(\?|$)/);_&&(c=_[1])}}for(var b in c&&(a.base=a.base||c,a.packaged=!0),a.basePath=a.base,a.workerPath=a.workerPath||a.base,a.modePath=a.modePath||a.base,a.themePath=a.themePath||a.base,delete a.base,a)void 0!==a[b]&&t.set(b,a[b])}}t.get=function(e){if(!l.hasOwnProperty(e))throw new Error("Unknown config key: "+e);return l[e]},t.set=function(e,t){if(!l.hasOwnProperty(e))throw new Error("Unknown config key: "+e);l[e]=t},t.all=function(){return i.copyObject(l)},t.moduleUrl=function(e,t){if(l.$moduleUrls[e])return l.$moduleUrls[e];var n=e.split("/"),r="snippets"==(t=t||n[n.length-2]||"")?"/":"-",i=n[n.length-1];if("worker"==t&&"-"==r){var o=new RegExp("^"+t+"[\\-_]|[\\-_]"+t+"$","g");i=i.replace(o,"")}(!i||i==t)&&n.length>1&&(i=n[n.length-2]);var a=l[t+"Path"];return null==a?a=l.basePath:"/"==r&&(t=r=""),a&&"/"!=a.slice(-1)&&(a+="/"),a+t+r+i+this.get("suffix")},t.setModuleUrl=function(e,t){return l.$moduleUrls[e]=t},t.$loading={},t.loadModule=function(n,r){var i,a;Array.isArray(n)&&(a=n[0],n=n[1]);try{i=e(n)}catch(e){}if(i&&!t.$loading[n])return r&&r(i);if(t.$loading[n]||(t.$loading[n]=[]),t.$loading[n].push(r),!(t.$loading[n].length>1)){var s=function(){e([n],(function(e){t._emit("load.module",{name:n,module:e});var r=t.$loading[n];t.$loading[n]=null,r.forEach((function(t){t&&t(e)}))}))};if(!t.get("packaged"))return s();o.loadScript(t.moduleUrl(n,a),s)}},c(!0),t.init=c})),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){"use strict";var r=e("../lib/event"),i=e("../lib/useragent"),o=e("./default_handlers").DefaultHandlers,a=e("./default_gutter_handler").GutterHandler,s=e("./mouse_event").MouseEvent,l=e("./dragdrop_handler").DragdropHandler,c=e("../config"),u=function(e){var t=this;this.editor=e,new o(this),new a(this),new l(this);var n=function(t){(!document.hasFocus||!document.hasFocus()||!e.isFocused()&&document.activeElement==(e.textInput&&e.textInput.getElement()))&&window.focus(),e.focus()},s=e.renderer.getMouseEventTarget();r.addListener(s,"click",this.onMouseEvent.bind(this,"click")),r.addListener(s,"mousemove",this.onMouseMove.bind(this,"mousemove")),r.addMultiMouseDownListener([s,e.renderer.scrollBarV&&e.renderer.scrollBarV.inner,e.renderer.scrollBarH&&e.renderer.scrollBarH.inner,e.textInput&&e.textInput.getElement()].filter(Boolean),[400,300,250],this,"onMouseEvent"),r.addMouseWheelListener(e.container,this.onMouseWheel.bind(this,"mousewheel")),r.addTouchMoveListener(e.container,this.onTouchMove.bind(this,"touchmove"));var c=e.renderer.$gutter;r.addListener(c,"mousedown",this.onMouseEvent.bind(this,"guttermousedown")),r.addListener(c,"click",this.onMouseEvent.bind(this,"gutterclick")),r.addListener(c,"dblclick",this.onMouseEvent.bind(this,"gutterdblclick")),r.addListener(c,"mousemove",this.onMouseEvent.bind(this,"guttermousemove")),r.addListener(s,"mousedown",n),r.addListener(c,"mousedown",n),i.isIE&&e.renderer.scrollBarV&&(r.addListener(e.renderer.scrollBarV.element,"mousedown",n),r.addListener(e.renderer.scrollBarH.element,"mousedown",n)),e.on("mousemove",(function(n){if(!t.state&&!t.$dragDelay&&t.$dragEnabled){var r=e.renderer.screenToTextCoordinates(n.x,n.y),i=e.session.selection.getRange(),o=e.renderer;!i.isEmpty()&&i.insideStart(r.row,r.column)?o.setCursorStyle("default"):o.setCursorStyle("")}}))};(function(){this.onMouseEvent=function(e,t){this.editor._emit(e,new s(t,this.editor))},this.onMouseMove=function(e,t){var n=this.editor._eventRegistry&&this.editor._eventRegistry.mousemove;n&&n.length&&this.editor._emit(e,new s(t,this.editor))},this.onMouseWheel=function(e,t){var n=new s(t,this.editor);n.speed=2*this.$scrollSpeed,n.wheelX=t.wheelX,n.wheelY=t.wheelY,this.editor._emit(e,n)},this.onTouchMove=function(e,t){var n=new s(t,this.editor);n.speed=1,n.wheelX=t.wheelX,n.wheelY=t.wheelY,this.editor._emit(e,n)},this.setState=function(e){this.state=e},this.captureMouse=function(e,t){this.x=e.x,this.y=e.y,this.isMousePressed=!0;var n=this.editor.renderer;n.$keepTextAreaAtCursor&&(n.$keepTextAreaAtCursor=null);var o=this,a=function(e){if(e){if(i.isWebKit&&!e.which&&o.releaseMouse)return o.releaseMouse();o.x=e.clientX,o.y=e.clientY,t&&t(e),o.mouseEvent=new s(e,o.editor),o.$mouseMoved=!0}},l=function(e){clearInterval(u),c(),o[o.state+"End"]&&o[o.state+"End"](e),o.state="",null==n.$keepTextAreaAtCursor&&(n.$keepTextAreaAtCursor=!0,n.$moveTextAreaToCursor()),o.isMousePressed=!1,o.$onCaptureMouseMove=o.releaseMouse=null,e&&o.onMouseEvent("mouseup",e)},c=function(){o[o.state]&&o[o.state](),o.$mouseMoved=!1};if(i.isOldIE&&"dblclick"==e.domEvent.type)return setTimeout((function(){l(e)}));o.$onCaptureMouseMove=a,o.releaseMouse=r.capture(this.editor.container,a,l);var u=setInterval(c,20)},this.releaseMouse=null,this.cancelContextMenu=function(){var e=function(t){t&&t.domEvent&&"contextmenu"!=t.domEvent.type||(this.editor.off("nativecontextmenu",e),t&&t.domEvent&&r.stopEvent(t.domEvent))}.bind(this);setTimeout(e,10),this.editor.on("nativecontextmenu",e)}}).call(u.prototype),c.defineOptions(u.prototype,"mouseHandler",{scrollSpeed:{initialValue:2},dragDelay:{initialValue:i.isMac?150:0},dragEnabled:{initialValue:!0},focusTimout:{initialValue:0},tooltipFollowsMouse:{initialValue:!0}}),t.MouseHandler=u})),ace.define("ace/mouse/fold_handler",["require","exports","module"],(function(e,t,n){"use strict";t.FoldHandler=function(e){e.on("click",(function(t){var n=t.getDocumentPosition(),r=e.session,i=r.getFoldAt(n.row,n.column,1);i&&(t.getAccelKey()?r.removeFold(i):r.expandFold(i),t.stop())})),e.on("gutterclick",(function(t){if("foldWidgets"==e.renderer.$gutterLayer.getRegion(t)){var n=t.getDocumentPosition().row,r=e.session;r.foldWidgets&&r.foldWidgets[n]&&e.session.onFoldWidgetClick(n,t),e.isFocused()||e.focus(),t.stop()}})),e.on("gutterdblclick",(function(t){if("foldWidgets"==e.renderer.$gutterLayer.getRegion(t)){var n=t.getDocumentPosition().row,r=e.session,i=r.getParentFoldRangeData(n,!0),o=i.range||i.firstRange;if(o){n=o.start.row;var a=r.getFoldAt(n,r.getLine(n).length,1);a?r.removeFold(a):(r.addFold("...",o),e.renderer.scrollCursorIntoView({row:o.start.row,column:0}))}t.stop()}}))}})),ace.define("ace/keyboard/keybinding",["require","exports","module","ace/lib/keys","ace/lib/event"],(function(e,t,n){"use strict";var r=e("../lib/keys"),i=e("../lib/event"),o=function(e){this.$editor=e,this.$data={editor:e},this.$handlers=[],this.setDefaultHandler(e.commands)};(function(){this.setDefaultHandler=function(e){this.removeKeyboardHandler(this.$defaultHandler),this.$defaultHandler=e,this.addKeyboardHandler(e,0)},this.setKeyboardHandler=function(e){var t=this.$handlers;if(t[t.length-1]!=e){for(;t[t.length-1]&&t[t.length-1]!=this.$defaultHandler;)this.removeKeyboardHandler(t[t.length-1]);this.addKeyboardHandler(e,1)}},this.addKeyboardHandler=function(e,t){if(e){"function"!=typeof e||e.handleKeyboard||(e.handleKeyboard=e);var n=this.$handlers.indexOf(e);-1!=n&&this.$handlers.splice(n,1),null==t?this.$handlers.push(e):this.$handlers.splice(t,0,e),-1==n&&e.attach&&e.attach(this.$editor)}},this.removeKeyboardHandler=function(e){var t=this.$handlers.indexOf(e);return-1!=t&&(this.$handlers.splice(t,1),e.detach&&e.detach(this.$editor),!0)},this.getKeyboardHandler=function(){return this.$handlers[this.$handlers.length-1]},this.getStatusText=function(){var e=this.$data,t=e.editor;return this.$handlers.map((function(n){return n.getStatusText&&n.getStatusText(t,e)||""})).filter(Boolean).join(" ")},this.$callKeyboardHandlers=function(e,t,n,r){for(var o,a=!1,s=this.$editor.commands,l=this.$handlers.length;l--&&!((o=this.$handlers[l].handleKeyboard(this.$data,e,t,n,r))&&o.command&&((a="null"==o.command||s.exec(o.command,this.$editor,o.args,r))&&r&&-1!=e&&1!=o.passEvent&&1!=o.command.passEvent&&i.stopEvent(r),a)););return a||-1!=e||(o={command:"insertstring"},a=s.exec("insertstring",this.$editor,t)),a&&this.$editor._signal&&this.$editor._signal("keyboardActivity",o),a},this.onCommandKey=function(e,t,n){var i=r.keyCodeToString(n);this.$callKeyboardHandlers(t,i,n,e)},this.onTextInput=function(e){this.$callKeyboardHandlers(-1,e)}}).call(o.prototype),t.KeyBinding=o})),ace.define("ace/range",["require","exports","module"],(function(e,t,n){"use strict";var i=function(e,t,n,r){this.start={row:e,column:t},this.end={row:n,column:r}};(function(){this.isEqual=function(e){return this.start.row===e.start.row&&this.end.row===e.end.row&&this.start.column===e.start.column&&this.end.column===e.end.column},this.toString=function(){return"Range: ["+this.start.row+"/"+this.start.column+"] -> ["+this.end.row+"/"+this.end.column+"]"},this.contains=function(e,t){return 0==this.compare(e,t)},this.compareRange=function(e){var t,n=e.end,r=e.start;return 1==(t=this.compare(n.row,n.column))?1==(t=this.compare(r.row,r.column))?2:0==t?1:0:-1==t?-2:-1==(t=this.compare(r.row,r.column))?-1:1==t?42:0},this.comparePoint=function(e){return this.compare(e.row,e.column)},this.containsRange=function(e){return 0==this.comparePoint(e.start)&&0==this.comparePoint(e.end)},this.intersects=function(e){var t=this.compareRange(e);return-1==t||0==t||1==t},this.isEnd=function(e,t){return this.end.row==e&&this.end.column==t},this.isStart=function(e,t){return this.start.row==e&&this.start.column==t},this.setStart=function(e,t){"object"==r(e)?(this.start.column=e.column,this.start.row=e.row):(this.start.row=e,this.start.column=t)},this.setEnd=function(e,t){"object"==r(e)?(this.end.column=e.column,this.end.row=e.row):(this.end.row=e,this.end.column=t)},this.inside=function(e,t){return 0==this.compare(e,t)&&!this.isEnd(e,t)&&!this.isStart(e,t)},this.insideStart=function(e,t){return 0==this.compare(e,t)&&!this.isEnd(e,t)},this.insideEnd=function(e,t){return 0==this.compare(e,t)&&!this.isStart(e,t)},this.compare=function(e,t){return this.isMultiLine()||e!==this.start.row?e<this.start.row?-1:e>this.end.row?1:this.start.row===e?t>=this.start.column?0:-1:this.end.row===e?t<=this.end.column?0:1:0:t<this.start.column?-1:t>this.end.column?1:0},this.compareStart=function(e,t){return this.start.row==e&&this.start.column==t?-1:this.compare(e,t)},this.compareEnd=function(e,t){return this.end.row==e&&this.end.column==t?1:this.compare(e,t)},this.compareInside=function(e,t){return this.end.row==e&&this.end.column==t?1:this.start.row==e&&this.start.column==t?-1:this.compare(e,t)},this.clipRows=function(e,t){if(this.end.row>t)var n={row:t+1,column:0};else this.end.row<e&&(n={row:e,column:0});if(this.start.row>t)var r={row:t+1,column:0};else this.start.row<e&&(r={row:e,column:0});return i.fromPoints(r||this.start,n||this.end)},this.extend=function(e,t){var n=this.compare(e,t);if(0==n)return this;if(-1==n)var r={row:e,column:t};else var o={row:e,column:t};return i.fromPoints(r||this.start,o||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 i.fromPoints(this.start,this.end)},this.collapseRows=function(){return 0==this.end.column?new i(this.start.row,0,Math.max(this.start.row,this.end.row-1),0):new i(this.start.row,0,this.end.row,0)},this.toScreenRange=function(e){var t=e.documentToScreenPosition(this.start),n=e.documentToScreenPosition(this.end);return new i(t.row,t.column,n.row,n.column)},this.moveBy=function(e,t){this.start.row+=e,this.start.column+=t,this.end.row+=e,this.end.column+=t}}).call(i.prototype),i.fromPoints=function(e,t){return new i(e.row,e.column,t.row,t.column)},i.comparePoints=function(e,t){return e.row-t.row||e.column-t.column},i.comparePoints=function(e,t){return e.row-t.row||e.column-t.column},t.Range=i})),ace.define("ace/selection",["require","exports","module","ace/lib/oop","ace/lib/lang","ace/lib/event_emitter","ace/range"],(function(e,t,n){"use strict";var r=e("./lib/oop"),i=e("./lib/lang"),o=e("./lib/event_emitter").EventEmitter,a=e("./range").Range,s=function(e){this.session=e,this.doc=e.getDocument(),this.clearSelection(),this.lead=this.selectionLead=this.doc.createAnchor(0,0),this.anchor=this.selectionAnchor=this.doc.createAnchor(0,0);var t=this;this.lead.on("change",(function(e){t._emit("changeCursor"),t.$isEmpty||t._emit("changeSelection"),t.$keepDesiredColumnOnChange||e.old.column==e.value.column||(t.$desiredColumn=null)})),this.selectionAnchor.on("change",(function(){t.$isEmpty||t._emit("changeSelection")}))};(function(){r.implement(this,o),this.isEmpty=function(){return this.$isEmpty||this.anchor.row==this.lead.row&&this.anchor.column==this.lead.column},this.isMultiLine=function(){return!this.isEmpty()&&this.getRange().isMultiLine()},this.getCursor=function(){return this.lead.getPosition()},this.setSelectionAnchor=function(e,t){this.anchor.setPosition(e,t),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(e){if(this.$isEmpty)this.moveCursorTo(this.lead.row,this.lead.column+e);else{var t=this.getSelectionAnchor(),n=this.getSelectionLead(),r=this.isBackwards();r&&0===t.column||this.setSelectionAnchor(t.row,t.column+e),(r||0!==n.column)&&this.$moveSelection((function(){this.moveCursorTo(n.row,n.column+e)}))}},this.isBackwards=function(){var e=this.anchor,t=this.lead;return e.row>t.row||e.row==t.row&&e.column>t.column},this.getRange=function(){var e=this.anchor,t=this.lead;return this.isEmpty()?a.fromPoints(t,t):this.isBackwards()?a.fromPoints(t,e):a.fromPoints(e,t)},this.clearSelection=function(){this.$isEmpty||(this.$isEmpty=!0,this._emit("changeSelection"))},this.selectAll=function(){var e=this.doc.getLength()-1;this.setSelectionAnchor(0,0),this.moveCursorTo(e,this.doc.getLine(e).length)},this.setRange=this.setSelectionRange=function(e,t){t?(this.setSelectionAnchor(e.end.row,e.end.column),this.selectTo(e.start.row,e.start.column)):(this.setSelectionAnchor(e.start.row,e.start.column),this.selectTo(e.end.row,e.end.column)),this.getRange().isEmpty()&&(this.$isEmpty=!0),this.$desiredColumn=null},this.$moveSelection=function(e){var t=this.lead;this.$isEmpty&&this.setSelectionAnchor(t.row,t.column),e.call(this)},this.selectTo=function(e,t){this.$moveSelection((function(){this.moveCursorTo(e,t)}))},this.selectToPosition=function(e){this.$moveSelection((function(){this.moveCursorToPosition(e)}))},this.moveTo=function(e,t){this.clearSelection(),this.moveCursorTo(e,t)},this.moveToPosition=function(e){this.clearSelection(),this.moveCursorToPosition(e)},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(e,t){if(void 0===t){var n=e||this.lead;e=n.row,t=n.column}return this.session.getWordRange(e,t)},this.selectWord=function(){this.setSelectionRange(this.getWordRange())},this.selectAWord=function(){var e=this.getCursor(),t=this.session.getAWordRange(e.row,e.column);this.setSelectionRange(t)},this.getLineRange=function(e,t){var n,r="number"==typeof e?e:this.lead.row,i=this.session.getFoldLine(r);return i?(r=i.start.row,n=i.end.row):n=r,!0===t?new a(r,0,n,this.session.getLine(n).length):new a(r,0,n+1,0)},this.selectLine=function(){this.setSelectionRange(this.getLineRange())},this.moveCursorUp=function(){this.moveCursorBy(-1,0)},this.moveCursorDown=function(){this.moveCursorBy(1,0)},this.moveCursorLeft=function(){var e,t=this.lead.getPosition();if(e=this.session.getFoldAt(t.row,t.column,-1))this.moveCursorTo(e.start.row,e.start.column);else if(0===t.column)t.row>0&&this.moveCursorTo(t.row-1,this.doc.getLine(t.row-1).length);else{var n=this.session.getTabSize();this.session.isTabStop(t)&&this.doc.getLine(t.row).slice(t.column-n,t.column).split(" ").length-1==n?this.moveCursorBy(0,-n):this.moveCursorBy(0,-1)}},this.moveCursorRight=function(){var e,t=this.lead.getPosition();if(e=this.session.getFoldAt(t.row,t.column,1))this.moveCursorTo(e.end.row,e.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 n=this.session.getTabSize();t=this.lead,this.session.isTabStop(t)&&this.doc.getLine(t.row).slice(t.column,t.column+n).split(" ").length-1==n?this.moveCursorBy(0,n):this.moveCursorBy(0,1)}},this.moveCursorLineStart=function(){var e=this.lead.row,t=this.lead.column,n=this.session.documentToScreenRow(e,t),r=this.session.screenToDocumentPosition(n,0),i=this.session.getDisplayLine(e,null,r.row,r.column).match(/^\s*/);i[0].length==t||this.session.$useEmacsStyleLineStart||(r.column+=i[0].length),this.moveCursorToPosition(r)},this.moveCursorLineEnd=function(){var e=this.lead,t=this.session.getDocumentLastRowColumnPosition(e.row,e.column);if(this.lead.column==t.column){var n=this.session.getLine(t.row);if(t.column==n.length){var r=n.search(/\s+$/);r>0&&(t.column=r)}}this.moveCursorTo(t.row,t.column)},this.moveCursorFileEnd=function(){var e=this.doc.getLength()-1,t=this.doc.getLine(e).length;this.moveCursorTo(e,t)},this.moveCursorFileStart=function(){this.moveCursorTo(0,0)},this.moveCursorLongWordRight=function(){var e=this.lead.row,t=this.lead.column,n=this.doc.getLine(e),r=n.substring(t);this.session.nonTokenRe.lastIndex=0,this.session.tokenRe.lastIndex=0;var i=this.session.getFoldAt(e,t,1);if(i)this.moveCursorTo(i.end.row,i.end.column);else{if(this.session.nonTokenRe.exec(r)&&(t+=this.session.nonTokenRe.lastIndex,this.session.nonTokenRe.lastIndex=0,r=n.substring(t)),t>=n.length)return this.moveCursorTo(e,n.length),this.moveCursorRight(),void(e<this.doc.getLength()-1&&this.moveCursorWordRight());this.session.tokenRe.exec(r)&&(t+=this.session.tokenRe.lastIndex,this.session.tokenRe.lastIndex=0),this.moveCursorTo(e,t)}},this.moveCursorLongWordLeft=function(){var e,t=this.lead.row,n=this.lead.column;if(e=this.session.getFoldAt(t,n,-1))this.moveCursorTo(e.start.row,e.start.column);else{var r=this.session.getFoldStringAt(t,n,-1);null==r&&(r=this.doc.getLine(t).substring(0,n));var o=i.stringReverse(r);if(this.session.nonTokenRe.lastIndex=0,this.session.tokenRe.lastIndex=0,this.session.nonTokenRe.exec(o)&&(n-=this.session.nonTokenRe.lastIndex,o=o.slice(this.session.nonTokenRe.lastIndex),this.session.nonTokenRe.lastIndex=0),n<=0)return this.moveCursorTo(t,0),this.moveCursorLeft(),void(t>0&&this.moveCursorWordLeft());this.session.tokenRe.exec(o)&&(n-=this.session.tokenRe.lastIndex,this.session.tokenRe.lastIndex=0),this.moveCursorTo(t,n)}},this.$shortWordEndIndex=function(e){var t,n=0,r=/\s/,i=this.session.tokenRe;if(i.lastIndex=0,this.session.tokenRe.exec(e))n=this.session.tokenRe.lastIndex;else{for(;(t=e[n])&&r.test(t);)n++;if(n<1)for(i.lastIndex=0;(t=e[n])&&!i.test(t);)if(i.lastIndex=0,n++,r.test(t)){if(n>2){n--;break}for(;(t=e[n])&&r.test(t);)n++;if(n>2)break}}return i.lastIndex=0,n},this.moveCursorShortWordRight=function(){var e=this.lead.row,t=this.lead.column,n=this.doc.getLine(e),r=n.substring(t),i=this.session.getFoldAt(e,t,1);if(i)return this.moveCursorTo(i.end.row,i.end.column);if(t==n.length){var o=this.doc.getLength();do{e++,r=this.doc.getLine(e)}while(e<o&&/^\s*$/.test(r));/^\s+/.test(r)||(r=""),t=0}var a=this.$shortWordEndIndex(r);this.moveCursorTo(e,t+a)},this.moveCursorShortWordLeft=function(){var e,t=this.lead.row,n=this.lead.column;if(e=this.session.getFoldAt(t,n,-1))return this.moveCursorTo(e.start.row,e.start.column);var r=this.session.getLine(t).substring(0,n);if(0===n){do{t--,r=this.doc.getLine(t)}while(t>0&&/^\s*$/.test(r));n=r.length,/\s+$/.test(r)||(r="")}var o=i.stringReverse(r),a=this.$shortWordEndIndex(o);return this.moveCursorTo(t,n-a)},this.moveCursorWordRight=function(){this.session.$selectLongWords?this.moveCursorLongWordRight():this.moveCursorShortWordRight()},this.moveCursorWordLeft=function(){this.session.$selectLongWords?this.moveCursorLongWordLeft():this.moveCursorShortWordLeft()},this.moveCursorBy=function(e,t){var n=this.session.documentToScreenPosition(this.lead.row,this.lead.column);0===t&&(this.$desiredColumn?n.column=this.$desiredColumn:this.$desiredColumn=n.column);var r=this.session.screenToDocumentPosition(n.row+e,n.column);0!==e&&0===t&&r.row===this.lead.row&&r.column===this.lead.column&&this.session.lineWidgets&&this.session.lineWidgets[r.row]&&(r.row>0||e>0)&&r.row++,this.moveCursorTo(r.row,r.column+t,0===t)},this.moveCursorToPosition=function(e){this.moveCursorTo(e.row,e.column)},this.moveCursorTo=function(e,t,n){var r=this.session.getFoldAt(e,t,1);r&&(e=r.start.row,t=r.start.column),this.$keepDesiredColumnOnChange=!0,this.lead.setPosition(e,t),this.$keepDesiredColumnOnChange=!1,n||(this.$desiredColumn=null)},this.moveCursorToScreen=function(e,t,n){var r=this.session.screenToDocumentPosition(e,t);this.moveCursorTo(r.row,r.column,n)},this.detach=function(){this.lead.detach(),this.anchor.detach(),this.session=this.doc=null},this.fromOrientedRange=function(e){this.setSelectionRange(e,e.cursor==e.start),this.$desiredColumn=e.desiredColumn||this.$desiredColumn},this.toOrientedRange=function(e){var t=this.getRange();return e?(e.start.column=t.start.column,e.start.row=t.start.row,e.end.column=t.end.column,e.end.row=t.end.row):e=t,e.cursor=this.isBackwards()?e.start:e.end,e.desiredColumn=this.$desiredColumn,e},this.getRangeOfMovements=function(e){var t=this.getCursor();try{e(this);var n=this.getCursor();return a.fromPoints(t,n)}catch(e){return a.fromPoints(t,t)}finally{this.moveCursorToPosition(t)}},this.toJSON=function(){if(this.rangeCount)var e=this.ranges.map((function(e){var t=e.clone();return t.isBackwards=e.cursor==e.start,t}));else(e=this.getRange()).isBackwards=this.isBackwards();return e},this.fromJSON=function(e){if(null==e.start){if(this.rangeList){this.toSingleRange(e[0]);for(var t=e.length;t--;){var n=a.fromPoints(e[t].start,e[t].end);e[t].isBackwards&&(n.cursor=n.start),this.addRange(n,!0)}return}e=e[0]}this.rangeList&&this.toSingleRange(e),this.setSelectionRange(e,e.isBackwards)},this.isEqual=function(e){if((e.length||this.rangeCount)&&e.length!=this.rangeCount)return!1;if(!e.length||!this.ranges)return this.getRange().isEqual(e);for(var t=this.ranges.length;t--;)if(!this.ranges[t].isEqual(e[t]))return!1;return!0}}).call(s.prototype),t.Selection=s})),ace.define("ace/tokenizer",["require","exports","module","ace/config"],(function(e,t,n){"use strict";var r=e("./config"),i=2e3,o=function(e){for(var t in this.states=e,this.regExps={},this.matchMappings={},this.states){for(var n=this.states[t],r=[],i=0,o=this.matchMappings[t]={defaultToken:"text"},a="g",s=[],l=0;l<n.length;l++){var c=n[l];if(c.defaultToken&&(o.defaultToken=c.defaultToken),c.caseInsensitive&&(a="gi"),null!=c.regex){c.regex instanceof RegExp&&(c.regex=c.regex.toString().slice(1,-1));var u=c.regex,h=new RegExp("(?:("+u+")|(.))").exec("a").length-2;Array.isArray(c.token)?1==c.token.length||1==h?c.token=c.token[0]:h-1!=c.token.length?(this.reportError("number of classes and regexp groups doesn't match",{rule:c,groupCount:h-1}),c.token=c.token[0]):(c.tokenArray=c.token,c.token=null,c.onMatch=this.$arrayTokens):"function"!=typeof c.token||c.onMatch||(c.onMatch=h>1?this.$applyToken:c.token),h>1&&(/\\\d/.test(c.regex)?u=c.regex.replace(/\\([0-9]+)/g,(function(e,t){return"\\"+(parseInt(t,10)+i+1)})):(h=1,u=this.removeCapturingGroups(c.regex)),c.splitRegex||"string"==typeof c.token||s.push(c)),o[i]=l,i+=h,r.push(u),c.onMatch||(c.onMatch=null)}}r.length||(o[0]=0,r.push("$")),s.forEach((function(e){e.splitRegex=this.createSplitterRegexp(e.regex,a)}),this),this.regExps[t]=new RegExp("("+r.join(")|(")+")|($)",a)}};(function(){this.$setMaxTokenCount=function(e){i=0|e},this.$applyToken=function(e){var t=this.splitRegex.exec(e).slice(1),n=this.token.apply(this,t);if("string"==typeof n)return[{type:n,value:e}];for(var r=[],i=0,o=n.length;i<o;i++)t[i]&&(r[r.length]={type:n[i],value:t[i]});return r},this.$arrayTokens=function(e){if(!e)return[];var t=this.splitRegex.exec(e);if(!t)return"text";for(var n=[],r=this.tokenArray,i=0,o=r.length;i<o;i++)t[i+1]&&(n[n.length]={type:r[i],value:t[i+1]});return n},this.removeCapturingGroups=function(e){return e.replace(/\[(?:\\.|[^\]])*?\]|\\.|\(\?[:=!]|(\()/g,(function(e,t){return t?"(?:":e}))},this.createSplitterRegexp=function(e,t){if(-1!=e.indexOf("(?=")){var n=0,r=!1,i={};e.replace(/(\\.)|(\((?:\?[=!])?)|(\))|([\[\]])/g,(function(e,t,o,a,s,l){return r?r="]"!=s:s?r=!0:a?(n==i.stack&&(i.end=l+1,i.stack=-1),n--):o&&(n++,1!=o.length&&(i.stack=n,i.start=l)),e})),null!=i.end&&/^\)*$/.test(e.substr(i.end))&&(e=e.substring(0,i.start)+e.substr(i.end))}return"^"!=e.charAt(0)&&(e="^"+e),"$"!=e.charAt(e.length-1)&&(e+="$"),new RegExp(e,(t||"").replace("g",""))},this.getLineTokens=function(e,t){if(t&&"string"!=typeof t){var n=t.slice(0);"#tmp"===(t=n[0])&&(n.shift(),t=n.shift())}else n=[];var r=t||"start",o=this.states[r];o||(r="start",o=this.states[r]);var a=this.matchMappings[r],s=this.regExps[r];s.lastIndex=0;for(var l,c=[],u=0,h=0,p={type:null,value:""};l=s.exec(e);){var d=a.defaultToken,f=null,m=l[0],g=s.lastIndex;if(g-m.length>u){var y=e.substring(u,g-m.length);p.type==d?p.value+=y:(p.type&&c.push(p),p={type:d,value:y})}for(var v=0;v<l.length-2;v++)if(void 0!==l[v+1]){d=(f=o[a[v]]).onMatch?f.onMatch(m,r,n,e):f.token,f.next&&(r="string"==typeof f.next?f.next:f.next(r,n),(o=this.states[r])||(this.reportError("state doesn't exist",r),r="start",o=this.states[r]),a=this.matchMappings[r],u=g,(s=this.regExps[r]).lastIndex=g);break}if(m)if("string"==typeof d)f&&!1===f.merge||p.type!==d?(p.type&&c.push(p),p={type:d,value:m}):p.value+=m;else if(d)for(p.type&&c.push(p),p={type:null,value:""},v=0;v<d.length;v++)c.push(d[v]);if(u==e.length)break;if(u=g,h++>i){for(h>2*e.length&&this.reportError("infinite loop with in ace tokenizer",{startState:t,line:e});u<e.length;)p.type&&c.push(p),p={value:e.substring(u,u+=2e3),type:"overflow"};r="start",n=[];break}}return p.type&&c.push(p),n.length>1&&n[0]!==r&&n.unshift("#tmp",r),{tokens:c,state:n.length?n:r}},this.reportError=r.reportError}).call(o.prototype),t.Tokenizer=o})),ace.define("ace/mode/text_highlight_rules",["require","exports","module","ace/lib/lang"],(function(e,t,n){"use strict";var r=e("../lib/lang"),i=function(){this.$rules={start:[{token:"empty_line",regex:"^$"},{defaultToken:"text"}]}};(function(){this.addRules=function(e,t){if(t)for(var n in e){for(var r=e[n],i=0;i<r.length;i++){var o=r[i];(o.next||o.onMatch)&&("string"==typeof o.next&&0!==o.next.indexOf(t)&&(o.next=t+o.next),o.nextState&&0!==o.nextState.indexOf(t)&&(o.nextState=t+o.nextState))}this.$rules[t+n]=r}else for(var n in e)this.$rules[n]=e[n]},this.getRules=function(){return this.$rules},this.embedRules=function(e,t,n,i,o){var a="function"==typeof e?(new e).getRules():e;if(i)for(var s=0;s<i.length;s++)i[s]=t+i[s];else for(var l in i=[],a)i.push(t+l);if(this.addRules(a,t),n){var c=Array.prototype[o?"push":"unshift"];for(s=0;s<i.length;s++)c.apply(this.$rules[i[s]],r.deepCopy(n))}this.$embeds||(this.$embeds=[]),this.$embeds.push(t)},this.getEmbeds=function(){return this.$embeds};var e=function(e,t){return("start"!=e||t.length)&&t.unshift(this.nextState,e),this.nextState},t=function(e,t){return t.shift(),t.shift()||"start"};this.normalizeRules=function(){var n=0,r=this.$rules;Object.keys(r).forEach((function i(o){var a=r[o];a.processed=!0;for(var s=0;s<a.length;s++){var l=a[s],c=null;Array.isArray(l)&&(c=l,l={}),!l.regex&&l.start&&(l.regex=l.start,l.next||(l.next=[]),l.next.push({defaultToken:l.token},{token:l.token+".end",regex:l.end||l.start,next:"pop"}),l.token=l.token+".start",l.push=!0);var u=l.next||l.push;if(u&&Array.isArray(u)){var h=l.stateName;h||("string"!=typeof(h=l.token)&&(h=h[0]||""),r[h]&&(h+=n++)),r[h]=u,l.next=h,i(h)}else"pop"==u&&(l.next=t);if(l.push&&(l.nextState=l.next||l.push,l.next=e,delete l.push),l.rules)for(var p in l.rules)r[p]?r[p].push&&r[p].push.apply(r[p],l.rules[p]):r[p]=l.rules[p];var d="string"==typeof l?l:"string"==typeof l.include?l.include:"";if(d&&(c=r[d]),c){var f=[s,1].concat(c);l.noEscape&&(f=f.filter((function(e){return!e.next}))),a.splice.apply(a,f),s--}l.keywordMap&&(l.token=this.createKeywordMapper(l.keywordMap,l.defaultToken||"text",l.caseInsensitive),delete l.defaultToken)}}),this)},this.createKeywordMapper=function(e,t,n,r){var i=Object.create(null);return Object.keys(e).forEach((function(t){var o=e[t];n&&(o=o.toLowerCase());for(var a=o.split(r||"|"),s=a.length;s--;)i[a[s]]=t})),Object.getPrototypeOf(i)&&(i.__proto__=null),this.$keywordList=Object.keys(i),e=null,n?function(e){return i[e.toLowerCase()]||t}:function(e){return i[e]||t}},this.getKeywords=function(){return this.$keywords}}).call(i.prototype),t.TextHighlightRules=i})),ace.define("ace/mode/behaviour",["require","exports","module"],(function(e,t,n){"use strict";var r=function(){this.$behaviours={}};(function(){this.add=function(e,t,n){switch(void 0){case this.$behaviours:this.$behaviours={};case this.$behaviours[e]:this.$behaviours[e]={}}this.$behaviours[e][t]=n},this.addBehaviours=function(e){for(var t in e)for(var n in e[t])this.add(t,n,e[t][n])},this.remove=function(e){this.$behaviours&&this.$behaviours[e]&&delete this.$behaviours[e]},this.inherit=function(e,t){if("function"==typeof e)var n=(new e).getBehaviours(t);else n=e.getBehaviours(t);this.addBehaviours(n)},this.getBehaviours=function(e){if(e){for(var t={},n=0;n<e.length;n++)this.$behaviours[e[n]]&&(t[e[n]]=this.$behaviours[e[n]]);return t}return this.$behaviours}}).call(r.prototype),t.Behaviour=r})),ace.define("ace/token_iterator",["require","exports","module"],(function(e,t,n){"use strict";var r=function(e,t,n){this.$session=e,this.$row=t,this.$rowTokens=e.getTokens(t);var r=e.getTokenAt(t,n);this.$tokenIndex=r?r.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(){var e;for(this.$tokenIndex+=1;this.$tokenIndex>=this.$rowTokens.length;){if(this.$row+=1,e||(e=this.$session.getLength()),this.$row>=e)return this.$row=e-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 e=this.$rowTokens,t=this.$tokenIndex,n=e[t].start;if(void 0!==n)return n;for(n=0;t>0;)n+=e[t-=1].value.length;return n},this.getCurrentTokenPosition=function(){return{row:this.$row,column:this.getCurrentTokenColumn()}}}).call(r.prototype),t.TokenIterator=r})),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){"use strict";var r,i=e("../../lib/oop"),o=e("../behaviour").Behaviour,a=e("../../token_iterator").TokenIterator,s=e("../../lib/lang"),l=["text","paren.rparen","punctuation.operator"],c=["text","paren.rparen","punctuation.operator","comment"],u={},h=function(e){var t=-1;if(e.multiSelect&&(t=e.selection.index,u.rangeCount!=e.multiSelect.rangeCount&&(u={rangeCount:e.multiSelect.rangeCount})),u[t])return r=u[t];r=u[t]={autoInsertedBrackets:0,autoInsertedRow:-1,autoInsertedLineEnd:"",maybeInsertedBrackets:0,maybeInsertedRow:-1,maybeInsertedLineStart:"",maybeInsertedLineEnd:""}},p=function(e,t,n,r){var i=e.end.row-e.start.row;return{text:n+t+r,selection:[0,e.start.column+1,i,e.end.column+(i?0:1)]}},d=function e(t){this.add("braces","insertion",(function(n,i,o,a,l){var c=o.getCursorPosition(),u=a.doc.getLine(c.row);if("{"==l){h(o);var d=o.getSelectionRange(),f=a.doc.getTextRange(d);if(""!==f&&"{"!==f&&o.getWrapBehavioursEnabled())return p(d,f,"{","}");if(e.isSaneInsertion(o,a))return/[\]\}\)]/.test(u[c.column])||o.inMultiSelectMode||t&&t.braces?(e.recordAutoInsert(o,a,"}"),{text:"{}",selection:[1,1]}):(e.recordMaybeInsert(o,a,"{"),{text:"{",selection:[1,1]})}else if("}"==l){if(h(o),"}"==u.substring(c.column,c.column+1)&&null!==a.$findOpeningBracket("}",{column:c.column+1,row:c.row})&&e.isAutoInsertedClosing(c,u,l))return e.popAutoInsertedClosing(),{text:"",selection:[1,1]}}else{if("\n"==l||"\r\n"==l){h(o);var m="";if(e.isMaybeInsertedClosing(c,u)&&(m=s.stringRepeat("}",r.maybeInsertedBrackets),e.clearMaybeInsertedClosing()),"}"===u.substring(c.column,c.column+1)){var g=a.findMatchingBracket({row:c.row,column:c.column+1},"}");if(!g)return null;var y=this.$getIndent(a.getLine(g.row))}else{if(!m)return void e.clearMaybeInsertedClosing();y=this.$getIndent(u)}var v=y+a.getTabString();return{text:"\n"+v+"\n"+y+m,selection:[1,v.length,1,v.length]}}e.clearMaybeInsertedClosing()}})),this.add("braces","deletion",(function(e,t,n,i,o){var a=i.doc.getTextRange(o);if(!o.isMultiLine()&&"{"==a){if(h(n),"}"==i.doc.getLine(o.start.row).substring(o.end.column,o.end.column+1))return o.end.column++,o;r.maybeInsertedBrackets--}})),this.add("parens","insertion",(function(t,n,r,i,o){if("("==o){h(r);var a=r.getSelectionRange(),s=i.doc.getTextRange(a);if(""!==s&&r.getWrapBehavioursEnabled())return p(a,s,"(",")");if(e.isSaneInsertion(r,i))return e.recordAutoInsert(r,i,")"),{text:"()",selection:[1,1]}}else if(")"==o){h(r);var l=r.getCursorPosition(),c=i.doc.getLine(l.row);if(")"==c.substring(l.column,l.column+1)&&null!==i.$findOpeningBracket(")",{column:l.column+1,row:l.row})&&e.isAutoInsertedClosing(l,c,o))return e.popAutoInsertedClosing(),{text:"",selection:[1,1]}}})),this.add("parens","deletion",(function(e,t,n,r,i){var o=r.doc.getTextRange(i);if(!i.isMultiLine()&&"("==o&&(h(n),")"==r.doc.getLine(i.start.row).substring(i.start.column+1,i.start.column+2)))return i.end.column++,i})),this.add("brackets","insertion",(function(t,n,r,i,o){if("["==o){h(r);var a=r.getSelectionRange(),s=i.doc.getTextRange(a);if(""!==s&&r.getWrapBehavioursEnabled())return p(a,s,"[","]");if(e.isSaneInsertion(r,i))return e.recordAutoInsert(r,i,"]"),{text:"[]",selection:[1,1]}}else if("]"==o){h(r);var l=r.getCursorPosition(),c=i.doc.getLine(l.row);if("]"==c.substring(l.column,l.column+1)&&null!==i.$findOpeningBracket("]",{column:l.column+1,row:l.row})&&e.isAutoInsertedClosing(l,c,o))return e.popAutoInsertedClosing(),{text:"",selection:[1,1]}}})),this.add("brackets","deletion",(function(e,t,n,r,i){var o=r.doc.getTextRange(i);if(!i.isMultiLine()&&"["==o&&(h(n),"]"==r.doc.getLine(i.start.row).substring(i.start.column+1,i.start.column+2)))return i.end.column++,i})),this.add("string_dquotes","insertion",(function(e,t,n,r,i){if('"'==i||"'"==i){if(this.lineCommentStart&&-1!=this.lineCommentStart.indexOf(i))return;h(n);var o=i,a=n.getSelectionRange(),s=r.doc.getTextRange(a);if(""!==s&&"'"!==s&&'"'!=s&&n.getWrapBehavioursEnabled())return p(a,s,o,o);if(!s){var l=n.getCursorPosition(),c=r.doc.getLine(l.row),u=c.substring(l.column-1,l.column),d=c.substring(l.column,l.column+1),f=r.getTokenAt(l.row,l.column),m=r.getTokenAt(l.row,l.column+1);if("\\"==u&&f&&/escape/.test(f.type))return null;var g,y=f&&/string|escape/.test(f.type),v=!m||/string|escape/.test(m.type);if(d==o)(g=y!==v)&&/string\.end/.test(m.type)&&(g=!1);else{if(y&&!v)return null;if(y&&v)return null;var _=r.$mode.tokenRe;_.lastIndex=0;var b=_.test(u);_.lastIndex=0;var E=_.test(u);if(b||E)return null;if(d&&!/[\s;,.})\]\\]/.test(d))return null;g=!0}return{text:g?o+o:"",selection:[1,1]}}}})),this.add("string_dquotes","deletion",(function(e,t,n,r,i){var o=r.doc.getTextRange(i);if(!i.isMultiLine()&&('"'==o||"'"==o)&&(h(n),r.doc.getLine(i.start.row).substring(i.start.column+1,i.start.column+2)==o))return i.end.column++,i}))};d.isSaneInsertion=function(e,t){var n=e.getCursorPosition(),r=new a(t,n.row,n.column);if(!this.$matchTokenType(r.getCurrentToken()||"text",l)){var i=new a(t,n.row,n.column+1);if(!this.$matchTokenType(i.getCurrentToken()||"text",l))return!1}return r.stepForward(),r.getCurrentTokenRow()!==n.row||this.$matchTokenType(r.getCurrentToken()||"text",c)},d.$matchTokenType=function(e,t){return t.indexOf(e.type||e)>-1},d.recordAutoInsert=function(e,t,n){var i=e.getCursorPosition(),o=t.doc.getLine(i.row);this.isAutoInsertedClosing(i,o,r.autoInsertedLineEnd[0])||(r.autoInsertedBrackets=0),r.autoInsertedRow=i.row,r.autoInsertedLineEnd=n+o.substr(i.column),r.autoInsertedBrackets++},d.recordMaybeInsert=function(e,t,n){var i=e.getCursorPosition(),o=t.doc.getLine(i.row);this.isMaybeInsertedClosing(i,o)||(r.maybeInsertedBrackets=0),r.maybeInsertedRow=i.row,r.maybeInsertedLineStart=o.substr(0,i.column)+n,r.maybeInsertedLineEnd=o.substr(i.column),r.maybeInsertedBrackets++},d.isAutoInsertedClosing=function(e,t,n){return r.autoInsertedBrackets>0&&e.row===r.autoInsertedRow&&n===r.autoInsertedLineEnd[0]&&t.substr(e.column)===r.autoInsertedLineEnd},d.isMaybeInsertedClosing=function(e,t){return r.maybeInsertedBrackets>0&&e.row===r.maybeInsertedRow&&t.substr(e.column)===r.maybeInsertedLineEnd&&t.substr(0,e.column)==r.maybeInsertedLineStart},d.popAutoInsertedClosing=function(){r.autoInsertedLineEnd=r.autoInsertedLineEnd.substr(1),r.autoInsertedBrackets--},d.clearMaybeInsertedClosing=function(){r&&(r.maybeInsertedBrackets=0,r.maybeInsertedRow=-1)},i.inherits(d,o),t.CstyleBehaviour=d})),ace.define("ace/unicode",["require","exports","module"],(function(e,t,n){"use strict";t.packages={},function(e){var n=/\w{4}/g;for(var r in e)t.packages[r]=e[r].replace(n,"\\u$&")}({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"})})),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){"use strict";var i=e("../tokenizer").Tokenizer,o=e("./text_highlight_rules").TextHighlightRules,a=e("./behaviour/cstyle").CstyleBehaviour,s=e("../unicode"),l=e("../lib/lang"),c=e("../token_iterator").TokenIterator,u=e("../range").Range,h=function(){this.HighlightRules=o};(function(){this.$defaultBehaviour=new a,this.tokenRe=new RegExp("^["+s.packages.L+s.packages.Mn+s.packages.Mc+s.packages.Nd+s.packages.Pc+"\\$_]+","g"),this.nonTokenRe=new RegExp("^(?:[^"+s.packages.L+s.packages.Mn+s.packages.Mc+s.packages.Nd+s.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(e,t,n,r){var i=t.doc,o=!0,a=!0,s=1/0,c=t.getTabSize(),u=!1;if(this.lineCommentStart){Array.isArray(this.lineCommentStart)?(m=this.lineCommentStart.map(l.escapeRegExp).join("|"),d=this.lineCommentStart[0]):(m=l.escapeRegExp(this.lineCommentStart),d=this.lineCommentStart),m=new RegExp("^(\\s*)(?:"+m+") ?"),u=t.getUseSoftTabs(),v=function(e,t){var n=e.match(m);if(n){var r=n[1].length,o=n[0].length;p(e,r,o)||" "!=n[0][o-1]||o--,i.removeInLine(t,r,o)}};var h=d+" ",p=(y=function(e,t){o&&!/\S/.test(e)||(p(e,s,s)?i.insertInLine({row:t,column:s},h):i.insertInLine({row:t,column:s},d))},_=function(e,t){return m.test(e)},function(e,t,n){for(var r=0;t--&&" "==e.charAt(t);)r++;if(r%c!=0)return!1;for(r=0;" "==e.charAt(n++);)r++;return c>2?r%c!=c-1:r%c==0})}else{if(!this.blockComment)return!1;var d=this.blockComment.start,f=this.blockComment.end,m=new RegExp("^(\\s*)(?:"+l.escapeRegExp(d)+")"),g=new RegExp("(?:"+l.escapeRegExp(f)+")\\s*$"),y=function(e,t){_(e,t)||o&&!/\S/.test(e)||(i.insertInLine({row:t,column:e.length},f),i.insertInLine({row:t,column:s},d))},v=function(e,t){var n;(n=e.match(g))&&i.removeInLine(t,e.length-n[0].length,e.length),(n=e.match(m))&&i.removeInLine(t,n[1].length,n[0].length)},_=function(e,n){if(m.test(e))return!0;for(var r=t.getTokens(n),i=0;i<r.length;i++)if("comment"===r[i].type)return!0}}function b(e){for(var t=n;t<=r;t++)e(i.getLine(t),t)}var E=1/0;b((function(e,t){var n=e.search(/\S/);-1!==n?(n<s&&(s=n),a&&!_(e,t)&&(a=!1)):E>e.length&&(E=e.length)})),s==1/0&&(s=E,o=!1,a=!1),u&&s%c!=0&&(s=Math.floor(s/c)*c),b(a?v:y)},this.toggleBlockComment=function(e,t,n,r){var i=this.blockComment;if(i){!i.start&&i[0]&&(i=i[0]);var o,a,s=(m=new c(t,r.row,r.column)).getCurrentToken(),l=(t.selection,t.selection.toOrientedRange());if(s&&/comment/.test(s.type)){for(var h,p;s&&/comment/.test(s.type);){if(-1!=(g=s.value.indexOf(i.start))){var d=m.getCurrentTokenRow(),f=m.getCurrentTokenColumn()+g;h=new u(d,f,d,f+i.start.length);break}s=m.stepBackward()}var m;for(s=(m=new c(t,r.row,r.column)).getCurrentToken();s&&/comment/.test(s.type);){var g;if(-1!=(g=s.value.indexOf(i.end))){d=m.getCurrentTokenRow(),f=m.getCurrentTokenColumn()+g,p=new u(d,f,d,f+i.end.length);break}s=m.stepForward()}p&&t.remove(p),h&&(t.remove(h),o=h.start.row,a=-i.start.length)}else a=i.start.length,o=n.start.row,t.insert(n.end,i.end),t.insert(n.start,i.start);l.start.row==o&&(l.start.column+=a),l.end.row==o&&(l.end.column+=a),t.selection.fromOrientedRange(l)}},this.getNextLineIndent=function(e,t,n){return this.$getIndent(t)},this.checkOutdent=function(e,t,n){return!1},this.autoOutdent=function(e,t,n){},this.$getIndent=function(e){return e.match(/^\s*/)[0]},this.createWorker=function(e){return null},this.createModeDelegates=function(e){for(var t in this.$embeds=[],this.$modes={},e)e[t]&&(this.$embeds.push(t),this.$modes[t]=new e[t]);var n=["toggleBlockComment","toggleCommentLines","getNextLineIndent","checkOutdent","autoOutdent","transformAction","getCompletions"];for(t=0;t<n.length;t++)!function(e){var r=n[t],i=e[r];e[n[t]]=function(){return this.$delegator(r,arguments,i)}}(this)},this.$delegator=function(e,t,n){var r=t[0];"string"!=typeof r&&(r=r[0]);for(var i=0;i<this.$embeds.length;i++)if(this.$modes[this.$embeds[i]]){var o=r.split(this.$embeds[i]);if(!o[0]&&o[1]){t[0]=o[1];var a=this.$modes[this.$embeds[i]];return a[e].apply(a,t)}}var s=n.apply(this,t);return n?s:void 0},this.transformAction=function(e,t,n,r,i){if(this.$behaviour){var o=this.$behaviour.getBehaviours();for(var a in o)if(o[a][t]){var s=o[a][t].apply(this,arguments);if(s)return s}}},this.getKeywords=function(e){if(!this.completionKeywords){var t=this.$tokenizer.rules,n=[];for(var i in t)for(var o=t[i],a=0,s=o.length;a<s;a++)if("string"==typeof o[a].token)/keyword|support|storage/.test(o[a].token)&&n.push(o[a].regex);else if("object"===r(o[a].token))for(var l=0,c=o[a].token.length;l<c;l++)/keyword|support|storage/.test(o[a].token[l])&&(i=o[a].regex.match(/\(.+?\)/g)[l],n.push(i.substr(1,i.length-2)));this.completionKeywords=n}return e?n.concat(this.$keywordList||[]):this.$keywordList},this.$createKeywordList=function(){return this.$highlightRules||this.getTokenizer(),this.$keywordList=this.$highlightRules.$keywordList||[]},this.getCompletions=function(e,t,n,r){return(this.$keywordList||this.$createKeywordList()).map((function(e){return{name:e,value:e,score:0,meta:"keyword"}}))},this.$id="ace/mode/text"}).call(h.prototype),t.Mode=h})),ace.define("ace/apply_delta",["require","exports","module"],(function(e,t,n){"use strict";t.applyDelta=function(e,t,n){var r=t.start.row,i=t.start.column,o=e[r]||"";switch(t.action){case"insert":if(1===t.lines.length)e[r]=o.substring(0,i)+t.lines[0]+o.substring(i);else{var a=[r,1].concat(t.lines);e.splice.apply(e,a),e[r]=o.substring(0,i)+e[r],e[r+t.lines.length-1]+=o.substring(i)}break;case"remove":var s=t.end.column,l=t.end.row;r===l?e[r]=o.substring(0,i)+o.substring(s):e.splice(r,l-r+1,o.substring(0,i)+e[l].substring(s))}}})),ace.define("ace/anchor",["require","exports","module","ace/lib/oop","ace/lib/event_emitter"],(function(e,t,n){"use strict";var r=e("./lib/oop"),i=e("./lib/event_emitter").EventEmitter,o=t.Anchor=function(e,t,n){this.$onChange=this.onChange.bind(this),this.attach(e),void 0===n?this.setPosition(t.row,t.column):this.setPosition(t,n)};(function(){function e(e,t,n){var r=n?e.column<=t.column:e.column<t.column;return e.row<t.row||e.row==t.row&&r}r.implement(this,i),this.getPosition=function(){return this.$clipPositionToDocument(this.row,this.column)},this.getDocument=function(){return this.document},this.$insertRight=!1,this.onChange=function(t){if(!(t.start.row==t.end.row&&t.start.row!=this.row||t.start.row>this.row)){var n=function(t,n,r){var i="insert"==t.action,o=(i?1:-1)*(t.end.row-t.start.row),a=(i?1:-1)*(t.end.column-t.start.column),s=t.start,l=i?s:t.end;return e(n,s,r)?{row:n.row,column:n.column}:e(l,n,!r)?{row:n.row+o,column:n.column+(n.row==l.row?a:0)}:{row:s.row,column:s.column}}(t,{row:this.row,column:this.column},this.$insertRight);this.setPosition(n.row,n.column,!0)}},this.setPosition=function(e,t,n){var r;if(r=n?{row:e,column:t}:this.$clipPositionToDocument(e,t),this.row!=r.row||this.column!=r.column){var i={row:this.row,column:this.column};this.row=r.row,this.column=r.column,this._signal("change",{old:i,value:r})}},this.detach=function(){this.document.removeEventListener("change",this.$onChange)},this.attach=function(e){this.document=e||this.document,this.document.on("change",this.$onChange)},this.$clipPositionToDocument=function(e,t){var n={};return e>=this.document.getLength()?(n.row=Math.max(0,this.document.getLength()-1),n.column=this.document.getLine(n.row).length):e<0?(n.row=0,n.column=0):(n.row=e,n.column=Math.min(this.document.getLine(n.row).length,Math.max(0,t))),t<0&&(n.column=0),n}}).call(o.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){"use strict";var r=e("./lib/oop"),i=e("./apply_delta").applyDelta,o=e("./lib/event_emitter").EventEmitter,a=e("./range").Range,s=e("./anchor").Anchor,l=function(e){this.$lines=[""],0===e.length?this.$lines=[""]:Array.isArray(e)?this.insertMergedLines({row:0,column:0},e):this.insert({row:0,column:0},e)};(function(){r.implement(this,o),this.setValue=function(e){var t=this.getLength()-1;this.remove(new a(0,0,t,this.getLine(t).length)),this.insert({row:0,column:0},e)},this.getValue=function(){return this.getAllLines().join(this.getNewLineCharacter())},this.createAnchor=function(e,t){return new s(this,e,t)},0==="aaa".split(/a/).length?this.$split=function(e){return e.replace(/\r\n|\r/g,"\n").split("\n")}:this.$split=function(e){return e.split(/\r\n|\r|\n/)},this.$detectNewLine=function(e){var t=e.match(/^.*?(\r\n|\r|\n)/m);this.$autoNewLine=t?t[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(e){this.$newLineMode!==e&&(this.$newLineMode=e,this._signal("changeNewLineMode"))},this.getNewLineMode=function(){return this.$newLineMode},this.isNewLine=function(e){return"\r\n"==e||"\r"==e||"\n"==e},this.getLine=function(e){return this.$lines[e]||""},this.getLines=function(e,t){return this.$lines.slice(e,t+1)},this.getAllLines=function(){return this.getLines(0,this.getLength())},this.getLength=function(){return this.$lines.length},this.getTextRange=function(e){return this.getLinesForRange(e).join(this.getNewLineCharacter())},this.getLinesForRange=function(e){var t;if(e.start.row===e.end.row)t=[this.getLine(e.start.row).substring(e.start.column,e.end.column)];else{(t=this.getLines(e.start.row,e.end.row))[0]=(t[0]||"").substring(e.start.column);var n=t.length-1;e.end.row-e.start.row==n&&(t[n]=t[n].substring(0,e.end.column))}return t},this.insertLines=function(e,t){return console.warn("Use of document.insertLines is deprecated. Use the insertFullLines method instead."),this.insertFullLines(e,t)},this.removeLines=function(e,t){return console.warn("Use of document.removeLines is deprecated. Use the removeFullLines method instead."),this.removeFullLines(e,t)},this.insertNewLine=function(e){return console.warn("Use of document.insertNewLine is deprecated. Use insertMergedLines(position, ['', '']) instead."),this.insertMergedLines(e,["",""])},this.insert=function(e,t){return this.getLength()<=1&&this.$detectNewLine(t),this.insertMergedLines(e,this.$split(t))},this.insertInLine=function(e,t){var n=this.clippedPos(e.row,e.column),r=this.pos(e.row,e.column+t.length);return this.applyDelta({start:n,end:r,action:"insert",lines:[t]},!0),this.clonePos(r)},this.clippedPos=function(e,t){var n=this.getLength();void 0===e?e=n:e<0?e=0:e>=n&&(e=n-1,t=void 0);var r=this.getLine(e);return null==t&&(t=r.length),{row:e,column:t=Math.min(Math.max(t,0),r.length)}},this.clonePos=function(e){return{row:e.row,column:e.column}},this.pos=function(e,t){return{row:e,column:t}},this.$clipPosition=function(e){var t=this.getLength();return e.row>=t?(e.row=Math.max(0,t-1),e.column=this.getLine(t-1).length):(e.row=Math.max(0,e.row),e.column=Math.min(Math.max(e.column,0),this.getLine(e.row).length)),e},this.insertFullLines=function(e,t){var n=0;(e=Math.min(Math.max(e,0),this.getLength()))<this.getLength()?(t=t.concat([""]),n=0):(t=[""].concat(t),e--,n=this.$lines[e].length),this.insertMergedLines({row:e,column:n},t)},this.insertMergedLines=function(e,t){var n=this.clippedPos(e.row,e.column),r={row:n.row+t.length-1,column:(1==t.length?n.column:0)+t[t.length-1].length};return this.applyDelta({start:n,end:r,action:"insert",lines:t}),this.clonePos(r)},this.remove=function(e){var t=this.clippedPos(e.start.row,e.start.column),n=this.clippedPos(e.end.row,e.end.column);return this.applyDelta({start:t,end:n,action:"remove",lines:this.getLinesForRange({start:t,end:n})}),this.clonePos(t)},this.removeInLine=function(e,t,n){var r=this.clippedPos(e,t),i=this.clippedPos(e,n);return this.applyDelta({start:r,end:i,action:"remove",lines:this.getLinesForRange({start:r,end:i})},!0),this.clonePos(r)},this.removeFullLines=function(e,t){e=Math.min(Math.max(0,e),this.getLength()-1);var n=(t=Math.min(Math.max(0,t),this.getLength()-1))==this.getLength()-1&&e>0,r=t<this.getLength()-1,i=n?e-1:e,o=n?this.getLine(i).length:0,s=r?t+1:t,l=r?0:this.getLine(s).length,c=new a(i,o,s,l),u=this.$lines.slice(e,t+1);return this.applyDelta({start:c.start,end:c.end,action:"remove",lines:this.getLinesForRange(c)}),u},this.removeNewLine=function(e){e<this.getLength()-1&&e>=0&&this.applyDelta({start:this.pos(e,this.getLine(e).length),end:this.pos(e+1,0),action:"remove",lines:["",""]})},this.replace=function(e,t){return e instanceof a||(e=a.fromPoints(e.start,e.end)),0===t.length&&e.isEmpty()?e.start:t==this.getTextRange(e)?e.end:(this.remove(e),t?this.insert(e.start,t):e.start)},this.applyDeltas=function(e){for(var t=0;t<e.length;t++)this.applyDelta(e[t])},this.revertDeltas=function(e){for(var t=e.length-1;t>=0;t--)this.revertDelta(e[t])},this.applyDelta=function(e,t){var n="insert"==e.action;(n?e.lines.length<=1&&!e.lines[0]:!a.comparePoints(e.start,e.end))||(n&&e.lines.length>2e4&&this.$splitAndapplyLargeDelta(e,2e4),i(this.$lines,e,t),this._signal("change",e))},this.$splitAndapplyLargeDelta=function(e,t){for(var n=e.lines,r=n.length,i=e.start.row,o=e.start.column,a=0,s=0;;){a=s,s+=t-1;var l=n.slice(a,s);if(s>r){e.lines=l,e.start.row=i+a,e.start.column=o;break}l.push(""),this.applyDelta({start:this.pos(i+a,o),end:this.pos(i+s,o=0),action:e.action,lines:l},!0)}},this.revertDelta=function(e){this.applyDelta({start:this.clonePos(e.start),end:this.clonePos(e.end),action:"insert"==e.action?"remove":"insert",lines:e.lines.slice()})},this.indexToPosition=function(e,t){for(var n=this.$lines||this.getAllLines(),r=this.getNewLineCharacter().length,i=t||0,o=n.length;i<o;i++)if((e-=n[i].length+r)<0)return{row:i,column:e+n[i].length+r};return{row:o-1,column:n[o-1].length}},this.positionToIndex=function(e,t){for(var n=this.$lines||this.getAllLines(),r=this.getNewLineCharacter().length,i=0,o=Math.min(e.row,n.length),a=t||0;a<o;++a)i+=n[a].length+r;return i+e.column}}).call(l.prototype),t.Document=l})),ace.define("ace/background_tokenizer",["require","exports","module","ace/lib/oop","ace/lib/event_emitter"],(function(e,t,n){"use strict";var r=e("./lib/oop"),i=e("./lib/event_emitter").EventEmitter,o=function(e,t){this.running=!1,this.lines=[],this.states=[],this.currentLine=0,this.tokenizer=e;var n=this;this.$worker=function(){if(n.running){for(var e=new Date,t=n.currentLine,r=-1,i=n.doc,o=t;n.lines[t];)t++;var a=i.getLength(),s=0;for(n.running=!1;t<a;){n.$tokenizeRow(t),r=t;do{t++}while(n.lines[t]);if(++s%5==0&&new Date-e>20){n.running=setTimeout(n.$worker,20);break}}n.currentLine=t,-1==r&&(r=t),o<=r&&n.fireUpdateEvent(o,r)}}};(function(){r.implement(this,i),this.setTokenizer=function(e){this.tokenizer=e,this.lines=[],this.states=[],this.start(0)},this.setDocument=function(e){this.doc=e,this.lines=[],this.states=[],this.stop()},this.fireUpdateEvent=function(e,t){var n={first:e,last:t};this._signal("update",{data:n})},this.start=function(e){this.currentLine=Math.min(e||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(e){var t=e.start.row,n=e.end.row-t;if(0===n)this.lines[t]=null;else if("remove"==e.action)this.lines.splice(t,n+1,null),this.states.splice(t,n+1,null);else{var r=Array(n+1);r.unshift(t,1),this.lines.splice.apply(this.lines,r),this.states.splice.apply(this.states,r)}this.currentLine=Math.min(t,this.currentLine,this.doc.getLength()),this.stop()},this.stop=function(){this.running&&clearTimeout(this.running),this.running=!1},this.getTokens=function(e){return this.lines[e]||this.$tokenizeRow(e)},this.getState=function(e){return this.currentLine==e&&this.$tokenizeRow(e),this.states[e]||"start"},this.$tokenizeRow=function(e){var t=this.doc.getLine(e),n=this.states[e-1],r=this.tokenizer.getLineTokens(t,n,e);return this.states[e]+""!=r.state+""?(this.states[e]=r.state,this.lines[e+1]=null,this.currentLine>e+1&&(this.currentLine=e+1)):this.currentLine==e&&(this.currentLine=e+1),this.lines[e]=r.tokens}}).call(o.prototype),t.BackgroundTokenizer=o})),ace.define("ace/search_highlight",["require","exports","module","ace/lib/lang","ace/lib/oop","ace/range"],(function(e,t,n){"use strict";var r=e("./lib/lang"),i=(e("./lib/oop"),e("./range").Range),o=function(e,t,n){this.setRegexp(e),this.clazz=t,this.type=n||"text"};(function(){this.MAX_RANGES=500,this.setRegexp=function(e){this.regExp+""!=e+""&&(this.regExp=e,this.cache=[])},this.update=function(e,t,n,o){if(this.regExp)for(var a=o.firstRow,s=o.lastRow,l=a;l<=s;l++){var c=this.cache[l];null==c&&((c=r.getMatchOffsets(n.getLine(l),this.regExp)).length>this.MAX_RANGES&&(c=c.slice(0,this.MAX_RANGES)),c=c.map((function(e){return new i(l,e.offset,l,e.offset+e.length)})),this.cache[l]=c.length?c:"");for(var u=c.length;u--;)t.drawSingleLineMarker(e,c[u].toScreenRange(n),this.clazz,o)}}}).call(o.prototype),t.SearchHighlight=o})),ace.define("ace/edit_session/fold_line",["require","exports","module","ace/range"],(function(e,t,n){"use strict";var r=e("../range").Range;function i(e,t){this.foldData=e,Array.isArray(t)?this.folds=t:t=this.folds=[t];var n=t[t.length-1];this.range=new r(t[0].start.row,t[0].start.column,n.end.row,n.end.column),this.start=this.range.start,this.end=this.range.end,this.folds.forEach((function(e){e.setFoldLine(this)}),this)}(function(){this.shiftRow=function(e){this.start.row+=e,this.end.row+=e,this.folds.forEach((function(t){t.start.row+=e,t.end.row+=e}))},this.addFold=function(e){if(e.sameRow){if(e.start.row<this.startRow||e.endRow>this.endRow)throw new Error("Can't add a fold to this FoldLine as it has no connection");this.folds.push(e),this.folds.sort((function(e,t){return-e.range.compareEnd(t.start.row,t.start.column)})),this.range.compareEnd(e.start.row,e.start.column)>0?(this.end.row=e.end.row,this.end.column=e.end.column):this.range.compareStart(e.end.row,e.end.column)<0&&(this.start.row=e.start.row,this.start.column=e.start.column)}else if(e.start.row==this.end.row)this.folds.push(e),this.end.row=e.end.row,this.end.column=e.end.column;else{if(e.end.row!=this.start.row)throw new Error("Trying to add fold to FoldRow that doesn't have a matching row");this.folds.unshift(e),this.start.row=e.start.row,this.start.column=e.start.column}e.foldLine=this},this.containsRow=function(e){return e>=this.start.row&&e<=this.end.row},this.walk=function(e,t,n){var r,i,o=0,a=this.folds,s=!0;null==t&&(t=this.end.row,n=this.end.column);for(var l=0;l<a.length;l++){if(-1==(i=(r=a[l]).range.compareStart(t,n)))return void e(null,t,n,o,s);if(!e(null,r.start.row,r.start.column,o,s)&&e(r.placeholder,r.start.row,r.start.column,o)||0===i)return;s=!r.sameRow,o=r.end.column}e(null,t,n,o,s)},this.getNextFoldTo=function(e,t){for(var n,r,i=0;i<this.folds.length;i++){if(-1==(r=(n=this.folds[i]).range.compareEnd(e,t)))return{fold:n,kind:"after"};if(0===r)return{fold:n,kind:"inside"}}return null},this.addRemoveChars=function(e,t,n){var r,i,o=this.getNextFoldTo(e,t);if(o)if(r=o.fold,"inside"==o.kind&&r.start.column!=t&&r.start.row!=e)window.console&&window.console.log(e,t,r);else if(r.start.row==e){var a=(i=this.folds).indexOf(r);for(0===a&&(this.start.column+=n);a<i.length;a++){if((r=i[a]).start.column+=n,!r.sameRow)return;r.end.column+=n}this.end.column+=n}},this.split=function(e,t){var n=this.getNextFoldTo(e,t);if(!n||"inside"==n.kind)return null;var r=n.fold,o=this.folds,a=this.foldData,s=o.indexOf(r),l=o[s-1];this.end.row=l.end.row,this.end.column=l.end.column;var c=new i(a,o=o.splice(s,o.length-s));return a.splice(a.indexOf(this)+1,0,c),c},this.merge=function(e){for(var t=e.folds,n=0;n<t.length;n++)this.addFold(t[n]);var r=this.foldData;r.splice(r.indexOf(e),1)},this.toString=function(){var e=[this.range.toString()+": ["];return this.folds.forEach((function(t){e.push(" "+t.toString())})),e.push("]"),e.join("\n")},this.idxToPosition=function(e){for(var t=0,n=0;n<this.folds.length;n++){var r=this.folds[n];if((e-=r.start.column-t)<0)return{row:r.start.row,column:r.start.column+e};if((e-=r.placeholder.length)<0)return r.start;t=r.end.column}return{row:this.end.row,column:this.end.column+e}}}).call(i.prototype),t.FoldLine=i})),ace.define("ace/range_list",["require","exports","module","ace/range"],(function(e,t,n){"use strict";var r=e("./range").Range.comparePoints,i=function(){this.ranges=[]};(function(){this.comparePoints=r,this.pointIndex=function(e,t,n){for(var i=this.ranges,o=n||0;o<i.length;o++){var a=i[o],s=r(e,a.end);if(!(s>0)){var l=r(e,a.start);return 0===s?t&&0!==l?-o-2:o:l>0||0===l&&!t?o:-o-1}}return-o-1},this.add=function(e){var t=!e.isEmpty(),n=this.pointIndex(e.start,t);n<0&&(n=-n-1);var r=this.pointIndex(e.end,t,n);return r<0?r=-r-1:r++,this.ranges.splice(n,r-n,e)},this.addList=function(e){for(var t=[],n=e.length;n--;)t.push.apply(t,this.add(e[n]));return t},this.substractPoint=function(e){var t=this.pointIndex(e);if(t>=0)return this.ranges.splice(t,1)},this.merge=function(){for(var e,t=[],n=this.ranges,i=(n=n.sort((function(e,t){return r(e.start,t.start)})))[0],o=1;o<n.length;o++){e=i,i=n[o];var a=r(e.end,i.start);a<0||(0!=a||e.isEmpty()||i.isEmpty())&&(r(e.end,i.end)<0&&(e.end.row=i.end.row,e.end.column=i.end.column),n.splice(o,1),t.push(i),i=e,o--)}return this.ranges=n,t},this.contains=function(e,t){return this.pointIndex({row:e,column:t})>=0},this.containsPoint=function(e){return this.pointIndex(e)>=0},this.rangeAtPoint=function(e){var t=this.pointIndex(e);if(t>=0)return this.ranges[t]},this.clipRows=function(e,t){var n=this.ranges;if(n[0].start.row>t||n[n.length-1].start.row<e)return[];var r=this.pointIndex({row:e,column:0});r<0&&(r=-r-1);var i=this.pointIndex({row:t,column:0},r);i<0&&(i=-i-1);for(var o=[],a=r;a<i;a++)o.push(n[a]);return o},this.removeAll=function(){return this.ranges.splice(0,this.ranges.length)},this.attach=function(e){this.session&&this.detach(),this.session=e,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(e){if("insert"==e.action)var t=e.start,n=e.end;else n=e.start,t=e.end;for(var r=t.row,i=n.row-r,o=-t.column+n.column,a=this.ranges,s=0,l=a.length;s<l;s++)if(!((c=a[s]).end.row<r)){if(c.start.row>r)break;if(c.start.row==r&&c.start.column>=t.column&&(c.start.column==t.column&&this.$insertRight||(c.start.column+=o,c.start.row+=i)),c.end.row==r&&c.end.column>=t.column){if(c.end.column==t.column&&this.$insertRight)continue;c.end.column==t.column&&o>0&&s<l-1&&c.end.column>c.start.column&&c.end.column==a[s+1].start.column&&(c.end.column-=o),c.end.column+=o,c.end.row+=i}}if(0!=i&&s<l)for(;s<l;s++){var c;(c=a[s]).start.row+=i,c.end.row+=i}}}).call(i.prototype),t.RangeList=i})),ace.define("ace/edit_session/fold",["require","exports","module","ace/range","ace/range_list","ace/lib/oop"],(function(e,t,n){"use strict";e("../range").Range;var r=e("../range_list").RangeList,i=e("../lib/oop"),o=t.Fold=function(e,t){this.foldLine=null,this.placeholder=t,this.range=e,this.start=e.start,this.end=e.end,this.sameRow=e.start.row==e.end.row,this.subFolds=this.ranges=[]};function a(e,t){e.row-=t.row,0==e.row&&(e.column-=t.column)}function s(e,t){0==e.row&&(e.column+=t.column),e.row+=t.row}i.inherits(o,r),function(){this.toString=function(){return'"'+this.placeholder+'" '+this.range.toString()},this.setFoldLine=function(e){this.foldLine=e,this.subFolds.forEach((function(t){t.setFoldLine(e)}))},this.clone=function(){var e=this.range.clone(),t=new o(e,this.placeholder);return this.subFolds.forEach((function(e){t.subFolds.push(e.clone())})),t.collapseChildren=this.collapseChildren,t},this.addSubFold=function(e){if(!this.range.isEqual(e)){if(!this.range.containsRange(e))throw new Error("A fold can't intersect already existing fold"+e.range+this.range);var t,n;t=e,n=this.start,a(t.start,n),a(t.end,n);for(var r=e.start.row,i=e.start.column,o=0,s=-1;o<this.subFolds.length&&1==(s=this.subFolds[o].range.compare(r,i));o++);var l=this.subFolds[o];if(0==s)return l.addSubFold(e);r=e.range.end.row,i=e.range.end.column;var c=o;for(s=-1;c<this.subFolds.length&&1==(s=this.subFolds[c].range.compare(r,i));c++);if(this.subFolds[c],0==s)throw new Error("A fold can't intersect already existing fold"+e.range+this.range);return this.subFolds.splice(o,c-o,e),e.setFoldLine(this.foldLine),e}},this.restoreRange=function(e){return function(e,t){s(e.start,t),s(e.end,t)}(e,this.start)}}.call(o.prototype)})),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){"use strict";var r=e("../range").Range,i=e("./fold_line").FoldLine,o=e("./fold").Fold,a=e("../token_iterator").TokenIterator;t.Folding=function(){this.getFoldAt=function(e,t,n){var r=this.getFoldLine(e);if(!r)return null;for(var i=r.folds,o=0;o<i.length;o++){var a=i[o];if(a.range.contains(e,t)){if(1==n&&a.range.isEnd(e,t))continue;if(-1==n&&a.range.isStart(e,t))continue;return a}}},this.getFoldsInRange=function(e){var t=e.start,n=e.end,r=this.$foldData,i=[];t.column+=1,n.column-=1;for(var o=0;o<r.length;o++){var a=r[o].range.compareRange(e);if(2!=a){if(-2==a)break;for(var s=r[o].folds,l=0;l<s.length;l++){var c=s[l];if(-2==(a=c.range.compareRange(e)))break;if(2!=a){if(42==a)break;i.push(c)}}}}return t.column-=1,n.column+=1,i},this.getFoldsInRangeList=function(e){if(Array.isArray(e)){var t=[];e.forEach((function(e){t=t.concat(this.getFoldsInRange(e))}),this)}else t=this.getFoldsInRange(e);return t},this.getAllFolds=function(){for(var e=[],t=this.$foldData,n=0;n<t.length;n++)for(var r=0;r<t[n].folds.length;r++)e.push(t[n].folds[r]);return e},this.getFoldStringAt=function(e,t,n,r){if(!(r=r||this.getFoldLine(e)))return null;for(var i,o,a={end:{column:0}},s=0;s<r.folds.length;s++){var l=(o=r.folds[s]).range.compareEnd(e,t);if(-1==l){i=this.getLine(o.start.row).substring(a.end.column,o.start.column);break}if(0===l)return null;a=o}return i||(i=this.getLine(o.start.row).substring(a.end.column)),-1==n?i.substring(0,t-a.end.column):1==n?i.substring(t-a.end.column):i},this.getFoldLine=function(e,t){var n=this.$foldData,r=0;for(t&&(r=n.indexOf(t)),-1==r&&(r=0);r<n.length;r++){var i=n[r];if(i.start.row<=e&&i.end.row>=e)return i;if(i.end.row>e)return null}return null},this.getNextFoldLine=function(e,t){var n=this.$foldData,r=0;for(t&&(r=n.indexOf(t)),-1==r&&(r=0);r<n.length;r++){var i=n[r];if(i.end.row>=e)return i}return null},this.getFoldedRowCount=function(e,t){for(var n=this.$foldData,r=t-e+1,i=0;i<n.length;i++){var o=n[i],a=o.end.row,s=o.start.row;if(a>=t){s<t&&(s>=e?r-=t-s:r=0);break}a>=e&&(r-=s>=e?a-s:a-e+1)}return r},this.$addFoldLine=function(e){return this.$foldData.push(e),this.$foldData.sort((function(e,t){return e.start.row-t.start.row})),e},this.addFold=function(e,t){var n,r=this.$foldData,a=!1;e instanceof o?n=e:(n=new o(t,e)).collapseChildren=t.collapseChildren,this.$clipRangeToDocument(n.range);var s=n.start.row,l=n.start.column,c=n.end.row,u=n.end.column;if(!(s<c||s==c&&l<=u-2))throw new Error("The range has to be at least 2 characters width");var h=this.getFoldAt(s,l,1),p=this.getFoldAt(c,u,-1);if(h&&p==h)return h.addSubFold(n);h&&!h.range.isStart(s,l)&&this.removeFold(h),p&&!p.range.isEnd(c,u)&&this.removeFold(p);var d=this.getFoldsInRange(n.range);d.length>0&&(this.removeFolds(d),d.forEach((function(e){n.addSubFold(e)})));for(var f=0;f<r.length;f++){var m=r[f];if(c==m.start.row){m.addFold(n),a=!0;break}if(s==m.end.row){if(m.addFold(n),a=!0,!n.sameRow){var g=r[f+1];if(g&&g.start.row==c){m.merge(g);break}}break}if(c<=m.start.row)break}return a||(m=this.$addFoldLine(new i(this.$foldData,n))),this.$useWrapMode?this.$updateWrapData(m.start.row,m.start.row):this.$updateRowLengthCache(m.start.row,m.start.row),this.$modified=!0,this._signal("changeFold",{data:n,action:"add"}),n},this.addFolds=function(e){e.forEach((function(e){this.addFold(e)}),this)},this.removeFold=function(e){var t=e.foldLine,n=t.start.row,r=t.end.row,i=this.$foldData,o=t.folds;if(1==o.length)i.splice(i.indexOf(t),1);else if(t.range.isEnd(e.end.row,e.end.column))o.pop(),t.end.row=o[o.length-1].end.row,t.end.column=o[o.length-1].end.column;else if(t.range.isStart(e.start.row,e.start.column))o.shift(),t.start.row=o[0].start.row,t.start.column=o[0].start.column;else if(e.sameRow)o.splice(o.indexOf(e),1);else{var a=t.split(e.start.row,e.start.column);(o=a.folds).shift(),a.start.row=o[0].start.row,a.start.column=o[0].start.column}this.$updating||(this.$useWrapMode?this.$updateWrapData(n,r):this.$updateRowLengthCache(n,r)),this.$modified=!0,this._signal("changeFold",{data:e,action:"remove"})},this.removeFolds=function(e){for(var t=[],n=0;n<e.length;n++)t.push(e[n]);t.forEach((function(e){this.removeFold(e)}),this),this.$modified=!0},this.expandFold=function(e){this.removeFold(e),e.subFolds.forEach((function(t){e.restoreRange(t),this.addFold(t)}),this),e.collapseChildren>0&&this.foldAll(e.start.row+1,e.end.row,e.collapseChildren-1),e.subFolds=[]},this.expandFolds=function(e){e.forEach((function(e){this.expandFold(e)}),this)},this.unfold=function(e,t){var n,i;if(null==e?(n=new r(0,0,this.getLength(),0),t=!0):n="number"==typeof e?new r(e,0,e,this.getLine(e).length):"row"in e?r.fromPoints(e,e):e,i=this.getFoldsInRangeList(n),t)this.removeFolds(i);else for(var o=i;o.length;)this.expandFolds(o),o=this.getFoldsInRangeList(n);if(i.length)return i},this.isRowFolded=function(e,t){return!!this.getFoldLine(e,t)},this.getRowFoldEnd=function(e,t){var n=this.getFoldLine(e,t);return n?n.end.row:e},this.getRowFoldStart=function(e,t){var n=this.getFoldLine(e,t);return n?n.start.row:e},this.getFoldDisplayLine=function(e,t,n,r,i){null==r&&(r=e.start.row),null==i&&(i=0),null==t&&(t=e.end.row),null==n&&(n=this.getLine(t).length);var o=this.doc,a="";return e.walk((function(e,t,n,s){if(!(t<r)){if(t==r){if(n<i)return;s=Math.max(i,s)}a+=null!=e?e:o.getLine(t).substring(s,n)}}),t,n),a},this.getDisplayLine=function(e,t,n,r){var i,o=this.getFoldLine(e);return o?this.getFoldDisplayLine(o,e,t,n,r):(i=this.doc.getLine(e)).substring(r||0,t||i.length)},this.$cloneFoldData=function(){var e=[];return e=this.$foldData.map((function(t){var n=t.folds.map((function(e){return e.clone()}));return new i(e,n)}))},this.toggleFold=function(e){var t,n,r=this.selection.getRange();if(r.isEmpty()){var i=r.start;if(t=this.getFoldAt(i.row,i.column))return void this.expandFold(t);(n=this.findMatchingBracket(i))?1==r.comparePoint(n)?r.end=n:(r.start=n,r.start.column++,r.end.column--):(n=this.findMatchingBracket({row:i.row,column:i.column+1}))?(1==r.comparePoint(n)?r.end=n:r.start=n,r.start.column++):r=this.getCommentFoldRange(i.row,i.column)||r}else{var o=this.getFoldsInRange(r);if(e&&o.length)return void this.expandFolds(o);1==o.length&&(t=o[0])}if(t||(t=this.getFoldAt(r.start.row,r.start.column)),t&&t.range.toString()==r.toString())this.expandFold(t);else{var a="...";if(!r.isMultiLine()){if((a=this.getTextRange(r)).length<4)return;a=a.trim().substring(0,2)+".."}this.addFold(a,r)}},this.getCommentFoldRange=function(e,t,n){var i=new a(this,e,t),o=i.getCurrentToken(),s=o.type;if(o&&/^comment|string/.test(s)){"comment"==(s=s.match(/comment|string/)[0])&&(s+="|doc-start");var l=new RegExp(s),c=new r;if(1!=n){do{o=i.stepBackward()}while(o&&l.test(o.type));i.stepForward()}if(c.start.row=i.getCurrentTokenRow(),c.start.column=i.getCurrentTokenColumn()+2,i=new a(this,e,t),-1!=n){var u=-1;do{if(o=i.stepForward(),-1==u){var h=this.getState(i.$row);l.test(h)||(u=i.$row)}else if(i.$row>u)break}while(o&&l.test(o.type));o=i.stepBackward()}else o=i.getCurrentToken();return c.end.row=i.getCurrentTokenRow(),c.end.column=i.getCurrentTokenColumn()+o.value.length-2,c}},this.foldAll=function(e,t,n){null==n&&(n=1e5);var r=this.foldWidgets;if(r){t=t||this.getLength();for(var i=e=e||0;i<t;i++)if(null==r[i]&&(r[i]=this.getFoldWidget(i)),"start"==r[i]){var o=this.getFoldWidgetRange(i);if(o&&o.isMultiLine()&&o.end.row<=t&&o.start.row>=e){i=o.end.row;try{var a=this.addFold("...",o);a&&(a.collapseChildren=n)}catch(e){}}}}},this.$foldStyles={manual:1,markbegin:1,markbeginend:1},this.$foldStyle="markbegin",this.setFoldStyle=function(e){if(!this.$foldStyles[e])throw new Error("invalid fold style: "+e+"["+Object.keys(this.$foldStyles).join(", ")+"]");if(this.$foldStyle!=e){this.$foldStyle=e,"manual"==e&&this.unfold();var t=this.$foldMode;this.$setFolding(null),this.$setFolding(t)}},this.$setFolding=function(e){this.$foldMode!=e&&(this.$foldMode=e,this.off("change",this.$updateFoldWidgets),this.off("tokenizerUpdate",this.$tokenizerUpdateFoldWidgets),this._signal("changeAnnotation"),e&&"manual"!=this.$foldStyle?(this.foldWidgets=[],this.getFoldWidget=e.getFoldWidget.bind(e,this,this.$foldStyle),this.getFoldWidgetRange=e.getFoldWidgetRange.bind(e,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.foldWidgets=null)},this.getParentFoldRangeData=function(e,t){var n=this.foldWidgets;if(!n||t&&n[e])return{};for(var r,i=e-1;i>=0;){var o=n[i];if(null==o&&(o=n[i]=this.getFoldWidget(i)),"start"==o){var a=this.getFoldWidgetRange(i);if(r||(r=a),a&&a.end.row>=e)break}i--}return{range:-1!==i&&a,firstRange:r}},this.onFoldWidgetClick=function(e,t){var n={children:(t=t.domEvent).shiftKey,all:t.ctrlKey||t.metaKey,siblings:t.altKey};if(!this.$toggleFoldWidget(e,n)){var r=t.target||t.srcElement;r&&/ace_fold-widget/.test(r.className)&&(r.className+=" ace_invalid")}},this.$toggleFoldWidget=function(e,t){if(this.getFoldWidget){var n=this.getFoldWidget(e),r=this.getLine(e),i="end"===n?-1:1,o=this.getFoldAt(e,-1===i?0:r.length,i);if(o)return t.children||t.all?this.removeFold(o):this.expandFold(o),o;var a=this.getFoldWidgetRange(e,!0);if(a&&!a.isMultiLine()&&(o=this.getFoldAt(a.start.row,a.start.column,1))&&a.isEqual(o.range))return this.removeFold(o),o;if(t.siblings){var s=this.getParentFoldRangeData(e);if(s.range)var l=s.range.start.row+1,c=s.range.end.row;this.foldAll(l,c,t.all?1e4:0)}else t.children?(c=a?a.end.row:this.getLength(),this.foldAll(e+1,c,t.all?1e4:0)):a&&(t.all&&(a.collapseChildren=1e4),this.addFold("...",a));return a}},this.toggleFoldWidget=function(e){var t=this.selection.getCursor().row;t=this.getRowFoldStart(t);var n=this.$toggleFoldWidget(t,{});if(!n){var r=this.getParentFoldRangeData(t,!0);if(n=r.range||r.firstRange){t=n.start.row;var i=this.getFoldAt(t,this.getLine(t).length,1);i?this.removeFold(i):this.addFold("...",n)}}},this.updateFoldWidgets=function(e){var t=e.start.row,n=e.end.row-t;if(0===n)this.foldWidgets[t]=null;else if("remove"==e.action)this.foldWidgets.splice(t,n+1,null);else{var r=Array(n+1);r.unshift(t,1),this.foldWidgets.splice.apply(this.foldWidgets,r)}},this.tokenizerUpdateFoldWidgets=function(e){var t=e.data;t.first!=t.last&&this.foldWidgets.length>t.first&&this.foldWidgets.splice(t.first,this.foldWidgets.length)}}})),ace.define("ace/edit_session/bracket_match",["require","exports","module","ace/token_iterator","ace/range"],(function(e,t,n){"use strict";var r=e("../token_iterator").TokenIterator,i=e("../range").Range;t.BracketMatch=function(){this.findMatchingBracket=function(e,t){if(0==e.column)return null;var n=t||this.getLine(e.row).charAt(e.column-1);if(""==n)return null;var r=n.match(/([\(\[\{])|([\)\]\}])/);return r?r[1]?this.$findClosingBracket(r[1],e):this.$findOpeningBracket(r[2],e):null},this.getBracketRange=function(e){var t,n=this.getLine(e.row),r=!0,o=n.charAt(e.column-1),a=o&&o.match(/([\(\[\{])|([\)\]\}])/);if(a||(o=n.charAt(e.column),e={row:e.row,column:e.column+1},a=o&&o.match(/([\(\[\{])|([\)\]\}])/),r=!1),!a)return null;if(a[1]){if(!(s=this.$findClosingBracket(a[1],e)))return null;t=i.fromPoints(e,s),r||(t.end.column++,t.start.column--),t.cursor=t.end}else{var s;if(!(s=this.$findOpeningBracket(a[2],e)))return null;t=i.fromPoints(s,e),r||(t.start.column++,t.end.column--),t.cursor=t.start}return t},this.$brackets={")":"(","(":")","]":"[","[":"]","{":"}","}":"{"},this.$findOpeningBracket=function(e,t,n){var i=this.$brackets[e],o=1,a=new r(this,t.row,t.column),s=a.getCurrentToken();if(s||(s=a.stepForward()),s){n||(n=new RegExp("(\\.?"+s.type.replace(".","\\.").replace("rparen",".paren").replace(/\b(?:end)\b/,"(?:start|begin|end)")+")+"));for(var l=t.column-a.getCurrentTokenColumn()-2,c=s.value;;){for(;l>=0;){var u=c.charAt(l);if(u==i){if(0==(o-=1))return{row:a.getCurrentTokenRow(),column:l+a.getCurrentTokenColumn()}}else u==e&&(o+=1);l-=1}do{s=a.stepBackward()}while(s&&!n.test(s.type));if(null==s)break;l=(c=s.value).length-1}return null}},this.$findClosingBracket=function(e,t,n){var i=this.$brackets[e],o=1,a=new r(this,t.row,t.column),s=a.getCurrentToken();if(s||(s=a.stepForward()),s){n||(n=new RegExp("(\\.?"+s.type.replace(".","\\.").replace("lparen",".paren").replace(/\b(?:start|begin)\b/,"(?:start|begin|end)")+")+"));for(var l=t.column-a.getCurrentTokenColumn();;){for(var c=s.value,u=c.length;l<u;){var h=c.charAt(l);if(h==i){if(0==(o-=1))return{row:a.getCurrentTokenRow(),column:l+a.getCurrentTokenColumn()}}else h==e&&(o+=1);l+=1}do{s=a.stepForward()}while(s&&!n.test(s.type));if(null==s)break;l=0}return null}}}})),ace.define("ace/edit_session",["require","exports","module","ace/lib/oop","ace/lib/lang","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){"use strict";var i=e("./lib/oop"),o=e("./lib/lang"),a=e("./config"),s=e("./lib/event_emitter").EventEmitter,l=e("./selection").Selection,c=e("./mode/text").Mode,u=e("./range").Range,h=e("./document").Document,p=e("./background_tokenizer").BackgroundTokenizer,d=e("./search_highlight").SearchHighlight,f=function e(t,n){this.$breakpoints=[],this.$decorations=[],this.$frontMarkers={},this.$backMarkers={},this.$markerId=1,this.$undoSelect=!0,this.$foldData=[],this.id="session"+ ++e.$uid,this.$foldData.toString=function(){return this.join("\n")},this.on("changeFold",this.onChangeFold.bind(this)),this.$onChange=this.onChange.bind(this),"object"==r(t)&&t.getLine||(t=new h(t)),this.setDocument(t),this.selection=new l(this),a.resetOptions(this),this.setMode(n),a._signal("session",this)};f.$uid=0,function(){i.implement(this,s),this.setDocument=function(e){this.doc&&this.doc.removeListener("change",this.$onChange),this.doc=e,e.on("change",this.$onChange),this.bgTokenizer&&this.bgTokenizer.setDocument(this.getDocument()),this.resetCaches()},this.getDocument=function(){return this.doc},this.$resetRowCache=function(e){if(!e)return this.$docRowCache=[],void(this.$screenRowCache=[]);var t=this.$docRowCache.length,n=this.$getRowCacheIndex(this.$docRowCache,e)+1;t>n&&(this.$docRowCache.splice(n,t),this.$screenRowCache.splice(n,t))},this.$getRowCacheIndex=function(e,t){for(var n=0,r=e.length-1;n<=r;){var i=n+r>>1,o=e[i];if(t>o)n=i+1;else{if(!(t<o))return i;r=i-1}}return n-1},this.resetCaches=function(){this.$modified=!0,this.$wrapData=[],this.$rowLengthCache=[],this.$resetRowCache(0),this.bgTokenizer&&this.bgTokenizer.start(0)},this.onChangeFold=function(e){var t=e.data;this.$resetRowCache(t.start.row)},this.onChange=function(e){this.$modified=!0,this.$resetRowCache(e.start.row);var t=this.$updateInternalDataOnChange(e);this.$fromUndo||!this.$undoManager||e.ignore||(this.$deltasDoc.push(e),t&&0!=t.length&&this.$deltasFold.push({action:"removeFolds",folds:t}),this.$informUndoManager.schedule()),this.bgTokenizer&&this.bgTokenizer.$updateOnChange(e),this._signal("change",e)},this.setValue=function(e){this.doc.setValue(e),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(e){return this.bgTokenizer.getState(e)},this.getTokens=function(e){return this.bgTokenizer.getTokens(e)},this.getTokenAt=function(e,t){var n,r=this.bgTokenizer.getTokens(e),i=0;if(null==t)o=r.length-1,i=this.getLine(e).length;else for(var o=0;o<r.length&&!((i+=r[o].value.length)>=t);o++);return(n=r[o])?(n.index=o,n.start=i-n.value.length,n):null},this.setUndoManager=function(e){if(this.$undoManager=e,this.$deltas=[],this.$deltasDoc=[],this.$deltasFold=[],this.$informUndoManager&&this.$informUndoManager.cancel(),e){var t=this;this.$syncInformUndoManager=function(){t.$informUndoManager.cancel(),t.$deltasFold.length&&(t.$deltas.push({group:"fold",deltas:t.$deltasFold}),t.$deltasFold=[]),t.$deltasDoc.length&&(t.$deltas.push({group:"doc",deltas:t.$deltasDoc}),t.$deltasDoc=[]),t.$deltas.length>0&&e.execute({action:"aceupdate",args:[t.$deltas,t],merge:t.mergeUndoDeltas}),t.mergeUndoDeltas=!1,t.$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()):"\t"},this.setUseSoftTabs=function(e){this.setOption("useSoftTabs",e)},this.getUseSoftTabs=function(){return this.$useSoftTabs&&!this.$mode.$indentWithTabs},this.setTabSize=function(e){this.setOption("tabSize",e)},this.getTabSize=function(){return this.$tabSize},this.isTabStop=function(e){return this.$useSoftTabs&&e.column%this.$tabSize==0},this.$overwrite=!1,this.setOverwrite=function(e){this.setOption("overwrite",e)},this.getOverwrite=function(){return this.$overwrite},this.toggleOverwrite=function(){this.setOverwrite(!this.$overwrite)},this.addGutterDecoration=function(e,t){this.$decorations[e]||(this.$decorations[e]=""),this.$decorations[e]+=" "+t,this._signal("changeBreakpoint",{})},this.removeGutterDecoration=function(e,t){this.$decorations[e]=(this.$decorations[e]||"").replace(" "+t,""),this._signal("changeBreakpoint",{})},this.getBreakpoints=function(){return this.$breakpoints},this.setBreakpoints=function(e){this.$breakpoints=[];for(var t=0;t<e.length;t++)this.$breakpoints[e[t]]="ace_breakpoint";this._signal("changeBreakpoint",{})},this.clearBreakpoints=function(){this.$breakpoints=[],this._signal("changeBreakpoint",{})},this.setBreakpoint=function(e,t){void 0===t&&(t="ace_breakpoint"),t?this.$breakpoints[e]=t:delete this.$breakpoints[e],this._signal("changeBreakpoint",{})},this.clearBreakpoint=function(e){delete this.$breakpoints[e],this._signal("changeBreakpoint",{})},this.addMarker=function(e,t,n,r){var i=this.$markerId++,o={range:e,type:n||"line",renderer:"function"==typeof n?n:null,clazz:t,inFront:!!r,id:i};return r?(this.$frontMarkers[i]=o,this._signal("changeFrontMarker")):(this.$backMarkers[i]=o,this._signal("changeBackMarker")),i},this.addDynamicMarker=function(e,t){if(e.update){var n=this.$markerId++;return e.id=n,e.inFront=!!t,t?(this.$frontMarkers[n]=e,this._signal("changeFrontMarker")):(this.$backMarkers[n]=e,this._signal("changeBackMarker")),e}},this.removeMarker=function(e){var t=this.$frontMarkers[e]||this.$backMarkers[e];if(t){var n=t.inFront?this.$frontMarkers:this.$backMarkers;t&&(delete n[e],this._signal(t.inFront?"changeFrontMarker":"changeBackMarker"))}},this.getMarkers=function(e){return e?this.$frontMarkers:this.$backMarkers},this.highlight=function(e){if(!this.$searchHighlight){var t=new d(null,"ace_selected-word","text");this.$searchHighlight=this.addDynamicMarker(t)}this.$searchHighlight.setRegexp(e)},this.highlightLines=function(e,t,n,r){"number"!=typeof t&&(n=t,t=e),n||(n="ace_step");var i=new u(e,0,t,1/0);return i.id=this.addMarker(i,n,"fullLine",r),i},this.setAnnotations=function(e){this.$annotations=e,this._signal("changeAnnotation",{})},this.getAnnotations=function(){return this.$annotations||[]},this.clearAnnotations=function(){this.setAnnotations([])},this.$detectNewLine=function(e){var t=e.match(/^.*?(\r?\n)/m);this.$autoNewLine=t?t[1]:"\n"},this.getWordRange=function(e,t){var n=this.getLine(e),r=!1;if(t>0&&(r=!!n.charAt(t-1).match(this.tokenRe)),r||(r=!!n.charAt(t).match(this.tokenRe)),r)var i=this.tokenRe;else i=/^\s+$/.test(n.slice(t-1,t+1))?/\s/:this.nonTokenRe;var o=t;if(o>0){do{o--}while(o>=0&&n.charAt(o).match(i));o++}for(var a=t;a<n.length&&n.charAt(a).match(i);)a++;return new u(e,o,e,a)},this.getAWordRange=function(e,t){for(var n=this.getWordRange(e,t),r=this.getLine(n.end.row);r.charAt(n.end.column).match(/[ \t]/);)n.end.column+=1;return n},this.setNewLineMode=function(e){this.doc.setNewLineMode(e)},this.getNewLineMode=function(){return this.doc.getNewLineMode()},this.setUseWorker=function(e){this.setOption("useWorker",e)},this.getUseWorker=function(){return this.$useWorker},this.onReloadTokenizer=function(e){var t=e.data;this.bgTokenizer.start(t.first),this._signal("tokenizerUpdate",e)},this.$modes={},this.$mode=null,this.$modeId=null,this.setMode=function(e,t){if(e&&"object"===r(e)){if(e.getTokenizer)return this.$onChangeMode(e);var n=e,i=n.path}else i=e||"ace/mode/text";if(this.$modes["ace/mode/text"]||(this.$modes["ace/mode/text"]=new c),this.$modes[i]&&!n)return this.$onChangeMode(this.$modes[i]),void(t&&t());this.$modeId=i,a.loadModule(["mode",i],function(e){if(this.$modeId!==i)return t&&t();this.$modes[i]&&!n?this.$onChangeMode(this.$modes[i]):e&&e.Mode&&(e=new e.Mode(n),n||(this.$modes[i]=e,e.$id=i),this.$onChangeMode(e)),t&&t()}.bind(this)),this.$mode||this.$onChangeMode(this.$modes["ace/mode/text"],!0)},this.$onChangeMode=function(e,t){if(t||(this.$modeId=e.$id),this.$mode!==e){this.$mode=e,this.$stopWorker(),this.$useWorker&&this.$startWorker();var n=e.getTokenizer();if(void 0!==n.addEventListener){var r=this.onReloadTokenizer.bind(this);n.addEventListener("update",r)}if(this.bgTokenizer)this.bgTokenizer.setTokenizer(n);else{this.bgTokenizer=new p(n);var i=this;this.bgTokenizer.addEventListener("update",(function(e){i._signal("tokenizerUpdate",e)}))}this.bgTokenizer.setDocument(this.getDocument()),this.tokenRe=e.tokenRe,this.nonTokenRe=e.nonTokenRe,t||(e.attachToSession&&e.attachToSession(this),this.$options.wrapMethod.set.call(this,this.$wrapMethod),this.$setFolding(e.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(e){a.warn("Could not load worker",e),this.$worker=null}},this.getMode=function(){return this.$mode},this.$scrollTop=0,this.setScrollTop=function(e){this.$scrollTop===e||isNaN(e)||(this.$scrollTop=e,this._signal("changeScrollTop",e))},this.getScrollTop=function(){return this.$scrollTop},this.$scrollLeft=0,this.setScrollLeft=function(e){this.$scrollLeft===e||isNaN(e)||(this.$scrollLeft=e,this._signal("changeScrollLeft",e))},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(null!=this.lineWidgetsWidth)return this.lineWidgetsWidth;var e=0;return this.lineWidgets.forEach((function(t){t&&t.screenWidth>e&&(e=t.screenWidth)})),this.lineWidgetWidth=e},this.$computeWidth=function(e){if(this.$modified||e){if(this.$modified=!1,this.$useWrapMode)return this.screenWidth=this.$wrapLimit;for(var t=this.doc.getAllLines(),n=this.$rowLengthCache,r=0,i=0,o=this.$foldData[i],a=o?o.start.row:1/0,s=t.length,l=0;l<s;l++){if(l>a){if((l=o.end.row+1)>=s)break;a=(o=this.$foldData[i++])?o.start.row:1/0}null==n[l]&&(n[l]=this.$getStringScreenWidth(t[l])[0]),n[l]>r&&(r=n[l])}this.screenWidth=r}},this.getLine=function(e){return this.doc.getLine(e)},this.getLines=function(e,t){return this.doc.getLines(e,t)},this.getLength=function(){return this.doc.getLength()},this.getTextRange=function(e){return this.doc.getTextRange(e||this.selection.getRange())},this.insert=function(e,t){return this.doc.insert(e,t)},this.remove=function(e){return this.doc.remove(e)},this.removeFullLines=function(e,t){return this.doc.removeFullLines(e,t)},this.undoChanges=function(e,t){if(e.length){this.$fromUndo=!0;for(var n=null,r=e.length-1;-1!=r;r--){var i=e[r];"doc"==i.group?(this.doc.revertDeltas(i.deltas),n=this.$getUndoSelection(i.deltas,!0,n)):i.deltas.forEach((function(e){this.addFolds(e.folds)}),this)}return this.$fromUndo=!1,n&&this.$undoSelect&&!t&&this.selection.setSelectionRange(n),n}},this.redoChanges=function(e,t){if(e.length){this.$fromUndo=!0;for(var n=null,r=0;r<e.length;r++){var i=e[r];"doc"==i.group&&(this.doc.applyDeltas(i.deltas),n=this.$getUndoSelection(i.deltas,!1,n))}return this.$fromUndo=!1,n&&this.$undoSelect&&!t&&this.selection.setSelectionRange(n),n}},this.setUndoSelect=function(e){this.$undoSelect=e},this.$getUndoSelection=function(e,t,n){function r(e){return t?"insert"!==e.action:"insert"===e.action}var i,o,a=e[0];i=r(a)?u.fromPoints(a.start,a.end):u.fromPoints(a.start,a.start);for(var s=1;s<e.length;s++)r(a=e[s])?(o=a.start,-1==i.compare(o.row,o.column)&&i.setStart(o),o=a.end,1==i.compare(o.row,o.column)&&i.setEnd(o)):(o=a.start,-1==i.compare(o.row,o.column)&&(i=u.fromPoints(a.start,a.start)));if(null!=n){0===u.comparePoints(n.start,i.start)&&(n.start.column+=i.end.column-i.start.column,n.end.column+=i.end.column-i.start.column);var l=n.compareRange(i);1==l?i.setStart(n.start):-1==l&&i.setEnd(n.end)}return i},this.replace=function(e,t){return this.doc.replace(e,t)},this.moveText=function(e,t,n){var r=this.getTextRange(e),i=this.getFoldsInRange(e),o=u.fromPoints(t,t);if(!n){this.remove(e);var a=e.start.row-e.end.row;(c=a?-e.end.column:e.start.column-e.end.column)&&(o.start.row==e.end.row&&o.start.column>e.end.column&&(o.start.column+=c),o.end.row==e.end.row&&o.end.column>e.end.column&&(o.end.column+=c)),a&&o.start.row>=e.end.row&&(o.start.row+=a,o.end.row+=a)}if(o.end=this.insert(o.start,r),i.length){var s=e.start,l=o.start,c=(a=l.row-s.row,l.column-s.column);this.addFolds(i.map((function(e){return(e=e.clone()).start.row==s.row&&(e.start.column+=c),e.end.row==s.row&&(e.end.column+=c),e.start.row+=a,e.end.row+=a,e})))}return o},this.indentRows=function(e,t,n){n=n.replace(/\t/g,this.getTabString());for(var r=e;r<=t;r++)this.doc.insertInLine({row:r,column:0},n)},this.outdentRows=function(e){for(var t=e.collapseRows(),n=new u(0,0,0,0),r=this.getTabSize(),i=t.start.row;i<=t.end.row;++i){var o=this.getLine(i);n.start.row=i,n.end.row=i;for(var a=0;a<r&&" "==o.charAt(a);++a);a<r&&"\t"==o.charAt(a)?(n.start.column=a,n.end.column=a+1):(n.start.column=0,n.end.column=a),this.remove(n)}},this.$moveLines=function(e,t,n){if(e=this.getRowFoldStart(e),t=this.getRowFoldEnd(t),n<0){if((i=this.getRowFoldStart(e+n))<0)return 0;var r=i-e}else if(n>0){var i;if((i=this.getRowFoldEnd(t+n))>this.doc.getLength()-1)return 0;r=i-t}else e=this.$clipRowToDocument(e),r=(t=this.$clipRowToDocument(t))-e+1;var o=new u(e,0,t,Number.MAX_VALUE),a=this.getFoldsInRange(o).map((function(e){return(e=e.clone()).start.row+=r,e.end.row+=r,e})),s=0==n?this.doc.getLines(e,t):this.doc.removeFullLines(e,t);return this.doc.insertFullLines(e+r,s),a.length&&this.addFolds(a),r},this.moveLinesUp=function(e,t){return this.$moveLines(e,t,-1)},this.moveLinesDown=function(e,t){return this.$moveLines(e,t,1)},this.duplicateLines=function(e,t){return this.$moveLines(e,t,0)},this.$clipRowToDocument=function(e){return Math.max(0,Math.min(e,this.doc.getLength()-1))},this.$clipColumnToRow=function(e,t){return t<0?0:Math.min(this.doc.getLine(e).length,t)},this.$clipPositionToDocument=function(e,t){if(t=Math.max(0,t),e<0)e=0,t=0;else{var n=this.doc.getLength();e>=n?(e=n-1,t=this.doc.getLine(n-1).length):t=Math.min(this.doc.getLine(e).length,t)}return{row:e,column:t}},this.$clipRangeToDocument=function(e){e.start.row<0?(e.start.row=0,e.start.column=0):e.start.column=this.$clipColumnToRow(e.start.row,e.start.column);var t=this.doc.getLength()-1;return e.end.row>t?(e.end.row=t,e.end.column=this.doc.getLine(t).length):e.end.column=this.$clipColumnToRow(e.end.row,e.end.column),e},this.$wrapLimit=80,this.$useWrapMode=!1,this.$wrapLimitRange={min:null,max:null},this.setUseWrapMode=function(e){if(e!=this.$useWrapMode){if(this.$useWrapMode=e,this.$modified=!0,this.$resetRowCache(0),e){var t=this.getLength();this.$wrapData=Array(t),this.$updateWrapData(0,t-1)}this._signal("changeWrapMode")}},this.getUseWrapMode=function(){return this.$useWrapMode},this.setWrapLimitRange=function(e,t){this.$wrapLimitRange.min===e&&this.$wrapLimitRange.max===t||(this.$wrapLimitRange={min:e,max:t},this.$modified=!0,this.$useWrapMode&&this._signal("changeWrapMode"))},this.adjustWrapLimit=function(e,t){var n=this.$wrapLimitRange;n.max<0&&(n={min:t,max:t});var r=this.$constrainWrapLimit(e,n.min,n.max);return r!=this.$wrapLimit&&r>1&&(this.$wrapLimit=r,this.$modified=!0,this.$useWrapMode&&(this.$updateWrapData(0,this.getLength()-1),this.$resetRowCache(0),this._signal("changeWrapLimit")),!0)},this.$constrainWrapLimit=function(e,t,n){return t&&(e=Math.max(t,e)),n&&(e=Math.min(n,e)),e},this.getWrapLimit=function(){return this.$wrapLimit},this.setWrapLimit=function(e){this.setWrapLimitRange(e,e)},this.getWrapLimitRange=function(){return{min:this.$wrapLimitRange.min,max:this.$wrapLimitRange.max}},this.$updateInternalDataOnChange=function(e){var t=this.$useWrapMode,n=e.action,r=e.start,i=e.end,o=r.row,a=i.row,s=a-o,l=null;if(this.$updating=!0,0!=s)if("remove"===n){this[t?"$wrapData":"$rowLengthCache"].splice(o,s);var c=this.$foldData;l=this.getFoldsInRange(e),this.removeFolds(l);var u=0;if(m=this.getFoldLine(i.row)){m.addRemoveChars(i.row,i.column,r.column-i.column),m.shiftRow(-s);var h=this.getFoldLine(o);h&&h!==m&&(h.merge(m),m=h),u=c.indexOf(m)+1}for(;u<c.length;u++)(m=c[u]).start.row>=i.row&&m.shiftRow(-s);a=o}else{var p=Array(s);p.unshift(o,0);var d=t?this.$wrapData:this.$rowLengthCache;if(d.splice.apply(d,p),c=this.$foldData,u=0,m=this.getFoldLine(o)){var f=m.range.compareInside(r.row,r.column);0==f?(m=m.split(r.row,r.column))&&(m.shiftRow(s),m.addRemoveChars(a,0,i.column-r.column)):-1==f&&(m.addRemoveChars(o,0,i.column-r.column),m.shiftRow(s)),u=c.indexOf(m)+1}for(;u<c.length;u++){var m;(m=c[u]).start.row>=o&&m.shiftRow(s)}}else s=Math.abs(e.start.column-e.end.column),"remove"===n&&(l=this.getFoldsInRange(e),this.removeFolds(l),s=-s),(m=this.getFoldLine(o))&&m.addRemoveChars(o,r.column,s);return t&&this.$wrapData.length!=this.doc.getLength()&&console.error("doc.getLength() and $wrapData.length have to be the same!"),this.$updating=!1,t?this.$updateWrapData(o,a):this.$updateRowLengthCache(o,a),l},this.$updateRowLengthCache=function(e,t,n){this.$rowLengthCache[e]=null,this.$rowLengthCache[t]=null},this.$updateWrapData=function(n,r){var i,o,a=this.doc.getAllLines(),s=this.getTabSize(),l=this.$wrapData,c=this.$wrapLimit,u=n;for(r=Math.min(r,a.length-1);u<=r;)(o=this.getFoldLine(u,o))?(i=[],o.walk(function(n,r,o,s){var l;if(null!=n){(l=this.$getDisplayTokens(n,i.length))[0]=e;for(var c=1;c<l.length;c++)l[c]=t}else l=this.$getDisplayTokens(a[r].substring(s,o),i.length);i=i.concat(l)}.bind(this),o.end.row,a[o.end.row].length+1),l[o.start.row]=this.$computeWrapSplits(i,c,s),u=o.end.row+1):(i=this.$getDisplayTokens(a[u]),l[u]=this.$computeWrapSplits(i,c,s),u++)};var e=3,t=4;function n(e){return!(e<4352)&&(e>=4352&&e<=4447||e>=4515&&e<=4519||e>=4602&&e<=4607||e>=9001&&e<=9002||e>=11904&&e<=11929||e>=11931&&e<=12019||e>=12032&&e<=12245||e>=12272&&e<=12283||e>=12288&&e<=12350||e>=12353&&e<=12438||e>=12441&&e<=12543||e>=12549&&e<=12589||e>=12593&&e<=12686||e>=12688&&e<=12730||e>=12736&&e<=12771||e>=12784&&e<=12830||e>=12832&&e<=12871||e>=12880&&e<=13054||e>=13056&&e<=19903||e>=19968&&e<=42124||e>=42128&&e<=42182||e>=43360&&e<=43388||e>=44032&&e<=55203||e>=55216&&e<=55238||e>=55243&&e<=55291||e>=63744&&e<=64255||e>=65040&&e<=65049||e>=65072&&e<=65106||e>=65108&&e<=65126||e>=65128&&e<=65131||e>=65281&&e<=65376||e>=65504&&e<=65510)}this.$computeWrapSplits=function(n,r,i){if(0==n.length)return[];var o=[],a=n.length,s=0,l=0,c=this.$wrapAsCode,u=this.$indentedSoftWrap,h=r<=Math.max(2*i,8)||!1===u?0:Math.floor(r/2);function p(e){var t=n.slice(s,e),r=t.length;t.join("").replace(/12/g,(function(){r-=1})).replace(/2/g,(function(){r-=1})),o.length||(d=function(){var e=0;if(0===h)return e;if(u)for(var t=0;t<n.length;t++){var r=n[t];if(10==r)e+=1;else{if(11!=r){if(12==r)continue;break}e+=i}}return c&&!1!==u&&(e+=i),Math.min(e,h)}(),o.indent=d),l+=r,o.push(l),s=e}for(var d=0;a-s>r-d;){var f=s+r-d;if(n[f-1]>=10&&n[f]>=10)p(f);else if(n[f]!=e&&n[f]!=t){for(var m=Math.max(f-(r-(r>>2)),s-1);f>m&&n[f]<e;)f--;if(c){for(;f>m&&n[f]<e;)f--;for(;f>m&&9==n[f];)f--}else for(;f>m&&n[f]<10;)f--;f>m?p(++f):(2==n[f=s+r]&&f--,p(f-d))}else{for(;f!=s-1&&n[f]!=e;f--);if(f>s){p(f);continue}for(f=s+r;f<n.length&&n[f]==t;f++);if(f==n.length)break;p(f)}}return o},this.$getDisplayTokens=function(e,t){var r,i=[];t=t||0;for(var o=0;o<e.length;o++){var a=e.charCodeAt(o);if(9==a){r=this.getScreenTabSize(i.length+t),i.push(11);for(var s=1;s<r;s++)i.push(12)}else 32==a?i.push(10):a>39&&a<48||a>57&&a<64?i.push(9):a>=4352&&n(a)?i.push(1,2):i.push(1)}return i},this.$getStringScreenWidth=function(e,t,r){if(0==t)return[0,0];var i,o;for(null==t&&(t=1/0),r=r||0,o=0;o<e.length&&(9==(i=e.charCodeAt(o))?r+=this.getScreenTabSize(r):i>=4352&&n(i)?r+=2:r+=1,!(r>t));o++);return[r,o]},this.lineWidgets=null,this.getRowLength=function(e){if(this.lineWidgets)var t=this.lineWidgets[e]&&this.lineWidgets[e].rowCount||0;else t=0;return this.$useWrapMode&&this.$wrapData[e]?this.$wrapData[e].length+1+t:1+t},this.getRowLineCount=function(e){return this.$useWrapMode&&this.$wrapData[e]?this.$wrapData[e].length+1:1},this.getRowWrapIndent=function(e){if(this.$useWrapMode){var t=this.screenToDocumentPosition(e,Number.MAX_VALUE),n=this.$wrapData[t.row];return n.length&&n[0]<t.column?n.indent:0}return 0},this.getScreenLastRowColumn=function(e){var t=this.screenToDocumentPosition(e,Number.MAX_VALUE);return this.documentToScreenColumn(t.row,t.column)},this.getDocumentLastRowColumn=function(e,t){var n=this.documentToScreenRow(e,t);return this.getScreenLastRowColumn(n)},this.getDocumentLastRowColumnPosition=function(e,t){var n=this.documentToScreenRow(e,t);return this.screenToDocumentPosition(n,Number.MAX_VALUE/10)},this.getRowSplitData=function(e){return this.$useWrapMode?this.$wrapData[e]:void 0},this.getScreenTabSize=function(e){return this.$tabSize-e%this.$tabSize},this.screenToDocumentRow=function(e,t){return this.screenToDocumentPosition(e,t).row},this.screenToDocumentColumn=function(e,t){return this.screenToDocumentPosition(e,t).column},this.screenToDocumentPosition=function(e,t){if(e<0)return{row:0,column:0};var n,r,i=0,o=0,a=0,s=0,l=this.$screenRowCache,c=this.$getRowCacheIndex(l,e),u=l.length;if(u&&c>=0){a=l[c],i=this.$docRowCache[c];var h=e>l[u-1]}else h=!u;for(var p=this.getLength()-1,d=this.getNextFoldLine(i),f=d?d.start.row:1/0;a<=e&&!(a+(s=this.getRowLength(i))>e||i>=p);)a+=s,++i>f&&(i=d.end.row+1,f=(d=this.getNextFoldLine(i,d))?d.start.row:1/0),h&&(this.$docRowCache.push(i),this.$screenRowCache.push(a));if(d&&d.start.row<=i)n=this.getFoldDisplayLine(d),i=d.start.row;else{if(a+s<=e||i>p)return{row:p,column:this.getLine(p).length};n=this.getLine(i),d=null}var m=0;if(this.$useWrapMode){var g=this.$wrapData[i];if(g){var y=Math.floor(e-a);r=g[y],y>0&&g.length&&(m=g.indent,o=g[y-1]||g[g.length-1],n=n.substring(o))}}return o+=this.$getStringScreenWidth(n,t-m)[1],this.$useWrapMode&&o>=r&&(o=r-1),d?d.idxToPosition(o):{row:i,column:o}},this.documentToScreenPosition=function(e,t){if(void 0===t)var n=this.$clipPositionToDocument(e.row,e.column);else n=this.$clipPositionToDocument(e,t);e=n.row,t=n.column;var r,i=0,o=null;(r=this.getFoldAt(e,t,1))&&(e=r.start.row,t=r.start.column);var a,s=0,l=this.$docRowCache,c=this.$getRowCacheIndex(l,e),u=l.length;if(u&&c>=0){s=l[c],i=this.$screenRowCache[c];var h=e>l[u-1]}else h=!u;for(var p=this.getNextFoldLine(s),d=p?p.start.row:1/0;s<e;){if(s>=d){if((a=p.end.row+1)>e)break;d=(p=this.getNextFoldLine(a,p))?p.start.row:1/0}else a=s+1;i+=this.getRowLength(s),s=a,h&&(this.$docRowCache.push(s),this.$screenRowCache.push(i))}var f="";p&&s>=d?(f=this.getFoldDisplayLine(p,e,t),o=p.start.row):(f=this.getLine(e).substring(0,t),o=e);var m=0;if(this.$useWrapMode){var g=this.$wrapData[o];if(g){for(var y=0;f.length>=g[y];)i++,y++;f=f.substring(g[y-1]||0,f.length),m=y>0?g.indent:0}}return{row:i,column:m+this.$getStringScreenWidth(f)[0]}},this.documentToScreenColumn=function(e,t){return this.documentToScreenPosition(e,t).column},this.documentToScreenRow=function(e,t){return this.documentToScreenPosition(e,t).row},this.getScreenLength=function(){var e=0,t=null;if(this.$useWrapMode)for(var n=this.$wrapData.length,r=0,i=(s=0,(t=this.$foldData[s++])?t.start.row:1/0);r<n;){var o=this.$wrapData[r];e+=o?o.length+1:1,++r>i&&(r=t.end.row+1,i=(t=this.$foldData[s++])?t.start.row:1/0)}else{e=this.getLength();for(var a=this.$foldData,s=0;s<a.length;s++)e-=(t=a[s]).end.row-t.start.row}return this.lineWidgets&&(e+=this.$getWidgetScreenLength()),e},this.$setFontMetrics=function(e){this.$enableVarChar&&(this.$getStringScreenWidth=function(t,n,r){if(0===n)return[0,0];var i,o;for(n||(n=1/0),r=r||0,o=0;o<t.length&&!((r+="\t"===(i=t.charAt(o))?this.getScreenTabSize(r):e.getCharacterWidth(i))>n);o++);return[r,o]})},this.destroy=function(){this.bgTokenizer&&(this.bgTokenizer.setDocument(null),this.bgTokenizer=null),this.$stopWorker()}}.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(e){if(e&&"off"!=e?"free"==e?e=!0:"printMargin"==e?e=-1:"string"==typeof e&&(e=parseInt(e,10)||!1):e=!1,this.$wrap!=e)if(this.$wrap=e,e){var t="number"==typeof e?e:null;this.setWrapLimitRange(t,t),this.setUseWrapMode(!0)}else this.setUseWrapMode(!1)},get:function(){return this.getUseWrapMode()?-1==this.$wrap?"printMargin":this.getWrapLimitRange().min?this.$wrap:"free":"off"},handlesSet:!0},wrapMethod:{set:function(e){(e="auto"==e?"text"!=this.$mode.type:"text"!=e)!=this.$wrapAsCode&&(this.$wrapAsCode=e,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(e){this.$useWorker=e,this.$stopWorker(),e&&this.$startWorker()},initialValue:!0},useSoftTabs:{initialValue:!0},tabSize:{set:function(e){isNaN(e)||this.$tabSize===e||(this.$modified=!0,this.$rowLengthCache=[],this.$tabSize=e,this._signal("changeTabSize"))},initialValue:4,handlesSet:!0},overwrite:{set:function(e){this._signal("changeOverwrite")},initialValue:!1},newLineMode:{set:function(e){this.doc.setNewLineMode(e)},get:function(){return this.doc.getNewLineMode()},handlesSet:!0},mode:{set:function(e){this.setMode(e)},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){"use strict";var r=e("./lib/lang"),i=e("./lib/oop"),o=e("./range").Range,a=function(){this.$options={}};(function(){this.set=function(e){return i.mixin(this.$options,e),this},this.getOptions=function(){return r.copyObject(this.$options)},this.setOptions=function(e){this.$options=e},this.find=function(e){var t=this.$options,n=this.$matchIterator(e,t);if(!n)return!1;var r=null;return n.forEach((function(e,n,i){if(e.start)r=e;else{var a=e.offset+(i||0);if(r=new o(n,a,n,a+e.length),!e.length&&t.start&&t.start.start&&0!=t.skipCurrent&&r.isEqual(t.start))return r=null,!1}return!0})),r},this.findAll=function(e){var t=this.$options;if(!t.needle)return[];this.$assembleRegExp(t);var n=t.range,i=n?e.getLines(n.start.row,n.end.row):e.doc.getAllLines(),a=[],s=t.re;if(t.$isMultiLine){var l,c=s.length,u=i.length-c;e:for(var h=s.offset||0;h<=u;h++){for(var p=0;p<c;p++)if(-1==i[h+p].search(s[p]))continue e;var d=i[h],f=i[h+c-1],m=d.length-d.match(s[0])[0].length,g=f.match(s[c-1])[0].length;l&&l.end.row===h&&l.end.column>m||(a.push(l=new o(h,m,h+c-1,g)),c>2&&(h=h+c-2))}}else for(var y=0;y<i.length;y++){var v=r.getMatchOffsets(i[y],s);for(p=0;p<v.length;p++){var _=v[p];a.push(new o(y,_.offset,y,_.offset+_.length))}}if(n){var b=n.start.column,E=n.start.column;for(y=0,p=a.length-1;y<p&&a[y].start.column<b&&a[y].start.row==n.start.row;)y++;for(;y<p&&a[p].end.column>E&&a[p].end.row==n.end.row;)p--;for(a=a.slice(y,p+1),y=0,p=a.length;y<p;y++)a[y].start.row+=n.start.row,a[y].end.row+=n.start.row}return a},this.replace=function(e,t){var n=this.$options,r=this.$assembleRegExp(n);if(n.$isMultiLine)return t;if(r){var i=r.exec(e);if(!i||i[0].length!=e.length)return null;if(t=e.replace(r,t),n.preserveCase){t=t.split("");for(var o=Math.min(e.length,e.length);o--;){var a=e[o];a&&a.toLowerCase()!=a?t[o]=t[o].toUpperCase():t[o]=t[o].toLowerCase()}t=t.join("")}return t}},this.$matchIterator=function(e,t){var n,i=this.$assembleRegExp(t);if(!i)return!1;if(t.$isMultiLine)var a=i.length,s=function(t,r,s){var l=t.search(i[0]);if(-1!=l){for(var c=1;c<a;c++)if(-1==(t=e.getLine(r+c)).search(i[c]))return;var u=t.match(i[a-1])[0].length,h=new o(r,l,r+a-1,u);return 1==i.offset?(h.start.row--,h.start.column=Number.MAX_VALUE):s&&(h.start.column+=s),!!n(h)||void 0}};else s=t.backwards?function(e,t,o){for(var a=r.getMatchOffsets(e,i),s=a.length-1;s>=0;s--)if(n(a[s],t,o))return!0}:function(e,t,o){for(var a=r.getMatchOffsets(e,i),s=0;s<a.length;s++)if(n(a[s],t,o))return!0};var l=this.$lineIterator(e,t);return{forEach:function(e){n=e,l.forEach(s)}}},this.$assembleRegExp=function(e,t){if(e.needle instanceof RegExp)return e.re=e.needle;var n=e.needle;if(!e.needle)return e.re=!1;e.regExp||(n=r.escapeRegExp(n)),e.wholeWord&&(n=function(e,t){function n(e){return/\w/.test(e)||t.regExp?"\\b":""}return n(e[0])+e+n(e[e.length-1])}(n,e));var i=e.caseSensitive?"gm":"gmi";if(e.$isMultiLine=!t&&/[\n\r]/.test(n),e.$isMultiLine)return e.re=this.$assembleMultilineRegExp(n,i);try{var o=new RegExp(n,i)}catch(e){o=!1}return e.re=o},this.$assembleMultilineRegExp=function(e,t){for(var n=e.replace(/\r\n|\r|\n/g,"$\n^").split("\n"),r=[],i=0;i<n.length;i++)try{r.push(new RegExp(n[i],t))}catch(e){return!1}return""==n[0]?(r.shift(),r.offset=1):r.offset=0,r},this.$lineIterator=function(e,t){var n=1==t.backwards,r=0!=t.skipCurrent,i=t.range,o=t.start;o||(o=i?i[n?"end":"start"]:e.selection.getRange()),o.start&&(o=o[r!=n?"end":"start"]);var a=i?i.start.row:0,s=i?i.end.row:e.getLength()-1;return{forEach:n?function(n){var r=o.row;if(!n(e.getLine(r).substring(0,o.column),r)){for(r--;r>=a;r--)if(n(e.getLine(r),r))return;if(0!=t.wrap)for(r=s,a=o.row;r>=a;r--)if(n(e.getLine(r),r))return}}:function(n){var r=o.row;if(!n(e.getLine(r).substr(o.column),r,o.column)){for(r+=1;r<=s;r++)if(n(e.getLine(r),r))return;if(0!=t.wrap)for(r=a,s=o.row;r<=s;r++)if(n(e.getLine(r),r))return}}}}}).call(a.prototype),t.Search=a})),ace.define("ace/keyboard/hash_handler",["require","exports","module","ace/lib/keys","ace/lib/useragent"],(function(e,t,n){"use strict";var i=e("../lib/keys"),o=e("../lib/useragent"),a=i.KEY_MODS;function s(e,t){this.platform=t||(o.isMac?"mac":"win"),this.commands={},this.commandKeyBinding={},this.addCommands(e),this.$singleCommand=!0}function l(e,t){s.call(this,e,t),this.$singleCommand=!1}l.prototype=s.prototype,function(){function e(e){return"object"==r(e)&&e.bindKey&&e.bindKey.position||(e.isDefault?-100:0)}this.addCommand=function(e){this.commands[e.name]&&this.removeCommand(e),this.commands[e.name]=e,e.bindKey&&this._buildKeyHash(e)},this.removeCommand=function(e,t){var n=e&&("string"==typeof e?e:e.name);e=this.commands[n],t||delete this.commands[n];var r=this.commandKeyBinding;for(var i in r){var o=r[i];if(o==e)delete r[i];else if(Array.isArray(o)){var a=o.indexOf(e);-1!=a&&(o.splice(a,1),1==o.length&&(r[i]=o[0]))}}},this.bindKey=function(e,t,n){if("object"==r(e)&&e&&(null==n&&(n=e.position),e=e[this.platform]),e)return"function"==typeof t?this.addCommand({exec:t,bindKey:e,name:t.name||e}):void e.split("|").forEach((function(e){var r="";if(-1!=e.indexOf(" ")){var i=e.split(/\s+/);e=i.pop(),i.forEach((function(e){var t=this.parseKeys(e),n=a[t.hashId]+t.key;r+=(r?" ":"")+n,this._addCommandToBinding(r,"chainKeys")}),this),r+=" "}var o=this.parseKeys(e),s=a[o.hashId]+o.key;this._addCommandToBinding(r+s,t,n)}),this)},this._addCommandToBinding=function(t,n,r){var i,o=this.commandKeyBinding;if(n)if(!o[t]||this.$singleCommand)o[t]=n;else{Array.isArray(o[t])?-1!=(i=o[t].indexOf(n))&&o[t].splice(i,1):o[t]=[o[t]],"number"!=typeof r&&(r=e(n));var a=o[t];for(i=0;i<a.length&&!(e(a[i])>r);i++);a.splice(i,0,n)}else delete o[t]},this.addCommands=function(e){e&&Object.keys(e).forEach((function(t){var n=e[t];if(n){if("string"==typeof n)return this.bindKey(n,t);"function"==typeof n&&(n={exec:n}),"object"===r(n)&&(n.name||(n.name=t),this.addCommand(n))}}),this)},this.removeCommands=function(e){Object.keys(e).forEach((function(t){this.removeCommand(e[t])}),this)},this.bindKeys=function(e){Object.keys(e).forEach((function(t){this.bindKey(t,e[t])}),this)},this._buildKeyHash=function(e){this.bindKey(e.bindKey,e)},this.parseKeys=function(e){var t=e.toLowerCase().split(/[\-\+]([\-\+])?/).filter((function(e){return e})),n=t.pop(),r=i[n];if(i.FUNCTION_KEYS[r])n=i.FUNCTION_KEYS[r].toLowerCase();else{if(!t.length)return{key:n,hashId:-1};if(1==t.length&&"shift"==t[0])return{key:n.toUpperCase(),hashId:-1}}for(var o=0,a=t.length;a--;){var s=i.KEY_MODS[t[a]];if(null==s)return"undefined"!=typeof console&&console.error("invalid modifier "+t[a]+" in "+e),!1;o|=s}return{key:n,hashId:o}},this.findKeyCommand=function(e,t){var n=a[e]+t;return this.commandKeyBinding[n]},this.handleKeyboard=function(e,t,n,r){if(!(r<0)){var i=a[t]+n,o=this.commandKeyBinding[i];return e.$keyChain&&(e.$keyChain+=" "+i,o=this.commandKeyBinding[e.$keyChain]||o),!o||"chainKeys"!=o&&"chainKeys"!=o[o.length-1]?(e.$keyChain&&(t&&4!=t||1!=n.length?(-1==t||r>0)&&(e.$keyChain=""):e.$keyChain=e.$keyChain.slice(0,-i.length-1)),{command:o}):(e.$keyChain=e.$keyChain||i,{command:"null"})}},this.getStatusText=function(e,t){return t.$keyChain||""}}.call(s.prototype),t.HashHandler=s,t.MultiHashHandler=l})),ace.define("ace/commands/command_manager",["require","exports","module","ace/lib/oop","ace/keyboard/hash_handler","ace/lib/event_emitter"],(function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("../keyboard/hash_handler").MultiHashHandler,o=e("../lib/event_emitter").EventEmitter,a=function(e,t){i.call(this,t,e),this.byName=this.commands,this.setDefaultHandler("exec",(function(e){return e.command.exec(e.editor,e.args||{})}))};r.inherits(a,i),function(){r.implement(this,o),this.exec=function(e,t,n){if(Array.isArray(e)){for(var r=e.length;r--;)if(this.exec(e[r],t,n))return!0;return!1}if("string"==typeof e&&(e=this.commands[e]),!e)return!1;if(t&&t.$readOnly&&!e.readOnly)return!1;if(e.isAvailable&&!e.isAvailable(t))return!1;var i={editor:t,command:e,args:n};return i.returnValue=this._emit("exec",i),this._signal("afterExec",i),!1!==i.returnValue},this.toggleRecording=function(e){if(!this.$inReplay)return e&&e._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(e){this.macro.push([e.command,e.args])}.bind(this)),this.oldMacro=this.macro,this.macro=[],this.on("exec",this.$addCommandToMacro),this.recording=!0)},this.replay=function(e){if(!this.$inReplay&&this.macro){if(this.recording)return this.toggleRecording(e);try{this.$inReplay=!0,this.macro.forEach((function(t){"string"==typeof t?this.exec(t,e):this.exec(t[0],e,t[1])}),this)}finally{this.$inReplay=!1}}},this.trimMacro=function(e){return e.map((function(e){return"string"!=typeof e[0]&&(e[0]=e[0].name),e[1]||(e=e[0]),e}))}}.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){"use strict";var r=e("../lib/lang"),i=e("../config"),o=e("../range").Range;function a(e,t){return{win:e,mac:t}}t.commands=[{name:"showSettingsMenu",bindKey:a("Ctrl-,","Command-,"),exec:function(e){i.loadModule("ace/ext/settings_menu",(function(t){t.init(e),e.showSettingsMenu()}))},readOnly:!0},{name:"goToNextError",bindKey:a("Alt-E","F4"),exec:function(e){i.loadModule("ace/ext/error_marker",(function(t){t.showErrorMarker(e,1)}))},scrollIntoView:"animate",readOnly:!0},{name:"goToPreviousError",bindKey:a("Alt-Shift-E","Shift-F4"),exec:function(e){i.loadModule("ace/ext/error_marker",(function(t){t.showErrorMarker(e,-1)}))},scrollIntoView:"animate",readOnly:!0},{name:"selectall",bindKey:a("Ctrl-A","Command-A"),exec:function(e){e.selectAll()},readOnly:!0},{name:"centerselection",bindKey:a(null,"Ctrl-L"),exec:function(e){e.centerSelection()},readOnly:!0},{name:"gotoline",bindKey:a("Ctrl-L","Command-L"),exec:function(e){var t=parseInt(prompt("Enter line number:"),10);isNaN(t)||e.gotoLine(t)},readOnly:!0},{name:"fold",bindKey:a("Alt-L|Ctrl-F1","Command-Alt-L|Command-F1"),exec:function(e){e.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(e){e.session.toggleFold(!0)},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"toggleFoldWidget",bindKey:a("F2","F2"),exec:function(e){e.session.toggleFoldWidget()},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"toggleParentFoldWidget",bindKey:a("Alt-F2","Alt-F2"),exec:function(e){e.session.toggleFoldWidget(!0)},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"foldall",bindKey:a(null,"Ctrl-Command-Option-0"),exec:function(e){e.session.foldAll()},scrollIntoView:"center",readOnly:!0},{name:"foldOther",bindKey:a("Alt-0","Command-Option-0"),exec:function(e){e.session.foldAll(),e.session.unfold(e.selection.getAllRanges())},scrollIntoView:"center",readOnly:!0},{name:"unfoldall",bindKey:a("Alt-Shift-0","Command-Option-Shift-0"),exec:function(e){e.session.unfold()},scrollIntoView:"center",readOnly:!0},{name:"findnext",bindKey:a("Ctrl-K","Command-G"),exec:function(e){e.findNext()},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"findprevious",bindKey:a("Ctrl-Shift-K","Command-Shift-G"),exec:function(e){e.findPrevious()},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"selectOrFindNext",bindKey:a("Alt-K","Ctrl-G"),exec:function(e){e.selection.isEmpty()?e.selection.selectWord():e.findNext()},readOnly:!0},{name:"selectOrFindPrevious",bindKey:a("Alt-Shift-K","Ctrl-Shift-G"),exec:function(e){e.selection.isEmpty()?e.selection.selectWord():e.findPrevious()},readOnly:!0},{name:"find",bindKey:a("Ctrl-F","Command-F"),exec:function(e){i.loadModule("ace/ext/searchbox",(function(t){t.Search(e)}))},readOnly:!0},{name:"overwrite",bindKey:"Insert",exec:function(e){e.toggleOverwrite()},readOnly:!0},{name:"selecttostart",bindKey:a("Ctrl-Shift-Home","Command-Shift-Home|Command-Shift-Up"),exec:function(e){e.getSelection().selectFileStart()},multiSelectAction:"forEach",readOnly:!0,scrollIntoView:"animate",aceCommandGroup:"fileJump"},{name:"gotostart",bindKey:a("Ctrl-Home","Command-Home|Command-Up"),exec:function(e){e.navigateFileStart()},multiSelectAction:"forEach",readOnly:!0,scrollIntoView:"animate",aceCommandGroup:"fileJump"},{name:"selectup",bindKey:a("Shift-Up","Shift-Up|Ctrl-Shift-P"),exec:function(e){e.getSelection().selectUp()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"golineup",bindKey:a("Up","Up|Ctrl-P"),exec:function(e,t){e.navigateUp(t.times)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selecttoend",bindKey:a("Ctrl-Shift-End","Command-Shift-End|Command-Shift-Down"),exec:function(e){e.getSelection().selectFileEnd()},multiSelectAction:"forEach",readOnly:!0,scrollIntoView:"animate",aceCommandGroup:"fileJump"},{name:"gotoend",bindKey:a("Ctrl-End","Command-End|Command-Down"),exec:function(e){e.navigateFileEnd()},multiSelectAction:"forEach",readOnly:!0,scrollIntoView:"animate",aceCommandGroup:"fileJump"},{name:"selectdown",bindKey:a("Shift-Down","Shift-Down|Ctrl-Shift-N"),exec:function(e){e.getSelection().selectDown()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"golinedown",bindKey:a("Down","Down|Ctrl-N"),exec:function(e,t){e.navigateDown(t.times)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectwordleft",bindKey:a("Ctrl-Shift-Left","Option-Shift-Left"),exec:function(e){e.getSelection().selectWordLeft()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotowordleft",bindKey:a("Ctrl-Left","Option-Left"),exec:function(e){e.navigateWordLeft()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selecttolinestart",bindKey:a("Alt-Shift-Left","Command-Shift-Left|Ctrl-Shift-A"),exec:function(e){e.getSelection().selectLineStart()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotolinestart",bindKey:a("Alt-Left|Home","Command-Left|Home|Ctrl-A"),exec:function(e){e.navigateLineStart()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectleft",bindKey:a("Shift-Left","Shift-Left|Ctrl-Shift-B"),exec:function(e){e.getSelection().selectLeft()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotoleft",bindKey:a("Left","Left|Ctrl-B"),exec:function(e,t){e.navigateLeft(t.times)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectwordright",bindKey:a("Ctrl-Shift-Right","Option-Shift-Right"),exec:function(e){e.getSelection().selectWordRight()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotowordright",bindKey:a("Ctrl-Right","Option-Right"),exec:function(e){e.navigateWordRight()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selecttolineend",bindKey:a("Alt-Shift-Right","Command-Shift-Right|Shift-End|Ctrl-Shift-E"),exec:function(e){e.getSelection().selectLineEnd()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotolineend",bindKey:a("Alt-Right|End","Command-Right|End|Ctrl-E"),exec:function(e){e.navigateLineEnd()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectright",bindKey:a("Shift-Right","Shift-Right"),exec:function(e){e.getSelection().selectRight()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotoright",bindKey:a("Right","Right|Ctrl-F"),exec:function(e,t){e.navigateRight(t.times)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectpagedown",bindKey:"Shift-PageDown",exec:function(e){e.selectPageDown()},readOnly:!0},{name:"pagedown",bindKey:a(null,"Option-PageDown"),exec:function(e){e.scrollPageDown()},readOnly:!0},{name:"gotopagedown",bindKey:a("PageDown","PageDown|Ctrl-V"),exec:function(e){e.gotoPageDown()},readOnly:!0},{name:"selectpageup",bindKey:"Shift-PageUp",exec:function(e){e.selectPageUp()},readOnly:!0},{name:"pageup",bindKey:a(null,"Option-PageUp"),exec:function(e){e.scrollPageUp()},readOnly:!0},{name:"gotopageup",bindKey:"PageUp",exec:function(e){e.gotoPageUp()},readOnly:!0},{name:"scrollup",bindKey:a("Ctrl-Up",null),exec:function(e){e.renderer.scrollBy(0,-2*e.renderer.layerConfig.lineHeight)},readOnly:!0},{name:"scrolldown",bindKey:a("Ctrl-Down",null),exec:function(e){e.renderer.scrollBy(0,2*e.renderer.layerConfig.lineHeight)},readOnly:!0},{name:"selectlinestart",bindKey:"Shift-Home",exec:function(e){e.getSelection().selectLineStart()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectlineend",bindKey:"Shift-End",exec:function(e){e.getSelection().selectLineEnd()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"togglerecording",bindKey:a("Ctrl-Alt-E","Command-Option-E"),exec:function(e){e.commands.toggleRecording(e)},readOnly:!0},{name:"replaymacro",bindKey:a("Ctrl-Shift-E","Command-Shift-E"),exec:function(e){e.commands.replay(e)},readOnly:!0},{name:"jumptomatching",bindKey:a("Ctrl-P","Ctrl-P"),exec:function(e){e.jumpToMatching()},multiSelectAction:"forEach",scrollIntoView:"animate",readOnly:!0},{name:"selecttomatching",bindKey:a("Ctrl-Shift-P","Ctrl-Shift-P"),exec:function(e){e.jumpToMatching(!0)},multiSelectAction:"forEach",scrollIntoView:"animate",readOnly:!0},{name:"expandToMatching",bindKey:a("Ctrl-Shift-M","Ctrl-Shift-M"),exec:function(e){e.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(e){},readOnly:!0},{name:"cut",exec:function(e){var t=e.getSelectionRange();e._emit("cut",t),e.selection.isEmpty()||(e.session.remove(t),e.clearSelection())},scrollIntoView:"cursor",multiSelectAction:"forEach"},{name:"paste",exec:function(e,t){e.$handlePaste(t)},scrollIntoView:"cursor"},{name:"removeline",bindKey:a("Ctrl-D","Command-D"),exec:function(e){e.removeLines()},scrollIntoView:"cursor",multiSelectAction:"forEachLine"},{name:"duplicateSelection",bindKey:a("Ctrl-Shift-D","Command-Shift-D"),exec:function(e){e.duplicateSelection()},scrollIntoView:"cursor",multiSelectAction:"forEach"},{name:"sortlines",bindKey:a("Ctrl-Alt-S","Command-Alt-S"),exec:function(e){e.sortLines()},scrollIntoView:"selection",multiSelectAction:"forEachLine"},{name:"togglecomment",bindKey:a("Ctrl-/","Command-/"),exec:function(e){e.toggleCommentLines()},multiSelectAction:"forEachLine",scrollIntoView:"selectionPart"},{name:"toggleBlockComment",bindKey:a("Ctrl-Shift-/","Command-Shift-/"),exec:function(e){e.toggleBlockComment()},multiSelectAction:"forEach",scrollIntoView:"selectionPart"},{name:"modifyNumberUp",bindKey:a("Ctrl-Shift-Up","Alt-Shift-Up"),exec:function(e){e.modifyNumber(1)},scrollIntoView:"cursor",multiSelectAction:"forEach"},{name:"modifyNumberDown",bindKey:a("Ctrl-Shift-Down","Alt-Shift-Down"),exec:function(e){e.modifyNumber(-1)},scrollIntoView:"cursor",multiSelectAction:"forEach"},{name:"replace",bindKey:a("Ctrl-H","Command-Option-F"),exec:function(e){i.loadModule("ace/ext/searchbox",(function(t){t.Search(e,!0)}))}},{name:"undo",bindKey:a("Ctrl-Z","Command-Z"),exec:function(e){e.undo()}},{name:"redo",bindKey:a("Ctrl-Shift-Z|Ctrl-Y","Command-Shift-Z|Command-Y"),exec:function(e){e.redo()}},{name:"copylinesup",bindKey:a("Alt-Shift-Up","Command-Option-Up"),exec:function(e){e.copyLinesUp()},scrollIntoView:"cursor"},{name:"movelinesup",bindKey:a("Alt-Up","Option-Up"),exec:function(e){e.moveLinesUp()},scrollIntoView:"cursor"},{name:"copylinesdown",bindKey:a("Alt-Shift-Down","Command-Option-Down"),exec:function(e){e.copyLinesDown()},scrollIntoView:"cursor"},{name:"movelinesdown",bindKey:a("Alt-Down","Option-Down"),exec:function(e){e.moveLinesDown()},scrollIntoView:"cursor"},{name:"del",bindKey:a("Delete","Delete|Ctrl-D|Shift-Delete"),exec:function(e){e.remove("right")},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"backspace",bindKey:a("Shift-Backspace|Backspace","Ctrl-Backspace|Shift-Backspace|Backspace|Ctrl-H"),exec:function(e){e.remove("left")},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"cut_or_delete",bindKey:a("Shift-Delete",null),exec:function(e){if(!e.selection.isEmpty())return!1;e.remove("left")},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removetolinestart",bindKey:a("Alt-Backspace","Command-Backspace"),exec:function(e){e.removeToLineStart()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removetolineend",bindKey:a("Alt-Delete","Ctrl-K"),exec:function(e){e.removeToLineEnd()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removewordleft",bindKey:a("Ctrl-Backspace","Alt-Backspace|Ctrl-Alt-Backspace"),exec:function(e){e.removeWordLeft()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removewordright",bindKey:a("Ctrl-Delete","Alt-Delete"),exec:function(e){e.removeWordRight()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"outdent",bindKey:a("Shift-Tab","Shift-Tab"),exec:function(e){e.blockOutdent()},multiSelectAction:"forEach",scrollIntoView:"selectionPart"},{name:"indent",bindKey:a("Tab","Tab"),exec:function(e){e.indent()},multiSelectAction:"forEach",scrollIntoView:"selectionPart"},{name:"blockoutdent",bindKey:a("Ctrl-[","Ctrl-["),exec:function(e){e.blockOutdent()},multiSelectAction:"forEachLine",scrollIntoView:"selectionPart"},{name:"blockindent",bindKey:a("Ctrl-]","Ctrl-]"),exec:function(e){e.blockIndent()},multiSelectAction:"forEachLine",scrollIntoView:"selectionPart"},{name:"insertstring",exec:function(e,t){e.insert(t)},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"inserttext",exec:function(e,t){e.insert(r.stringRepeat(t.text||"",t.times||1))},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"splitline",bindKey:a(null,"Ctrl-O"),exec:function(e){e.splitLine()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"transposeletters",bindKey:a("Alt-Shift-X","Ctrl-T"),exec:function(e){e.transposeLetters()},multiSelectAction:function(e){e.transposeSelections(1)},scrollIntoView:"cursor"},{name:"touppercase",bindKey:a("Ctrl-U","Ctrl-U"),exec:function(e){e.toUpperCase()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"tolowercase",bindKey:a("Ctrl-Shift-U","Ctrl-Shift-U"),exec:function(e){e.toLowerCase()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"expandtoline",bindKey:a("Ctrl-Shift-L","Command-Shift-L"),exec:function(e){var t=e.selection.getRange();t.start.column=t.end.column=0,t.end.row++,e.selection.setRange(t,!1)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"joinlines",bindKey:a(null,null),exec:function(e){for(var t=e.selection.isBackwards(),n=t?e.selection.getSelectionLead():e.selection.getSelectionAnchor(),i=t?e.selection.getSelectionAnchor():e.selection.getSelectionLead(),a=e.session.doc.getLine(n.row).length,s=e.session.doc.getTextRange(e.selection.getRange()).replace(/\n\s*/," ").length,l=e.session.doc.getLine(n.row),c=n.row+1;c<=i.row+1;c++){var u=r.stringTrimLeft(r.stringTrimRight(e.session.doc.getLine(c)));0!==u.length&&(u=" "+u),l+=u}i.row+1<e.session.doc.getLength()-1&&(l+=e.session.doc.getNewLineCharacter()),e.clearSelection(),e.session.doc.replace(new o(n.row,0,i.row+2,0),l),s>0?(e.selection.moveCursorTo(n.row,n.column),e.selection.selectTo(n.row,n.column+s)):(a=e.session.doc.getLine(n.row).length>a?a+1:a,e.selection.moveCursorTo(n.row,a))},multiSelectAction:"forEach",readOnly:!0},{name:"invertSelection",bindKey:a(null,null),exec:function(e){var t=e.session.doc.getLength()-1,n=e.session.doc.getLine(t).length,r=e.selection.rangeList.ranges,i=[];r.length<1&&(r=[e.selection.getRange()]);for(var a=0;a<r.length;a++)a==r.length-1&&(r[a].end.row===t&&r[a].end.column===n||i.push(new o(r[a].end.row,r[a].end.column,t,n))),0===a?0===r[a].start.row&&0===r[a].start.column||i.push(new o(0,0,r[a].start.row,r[a].start.column)):i.push(new o(r[a-1].end.row,r[a-1].end.column,r[a].start.row,r[a].start.column));for(e.exitMultiSelectMode(),e.clearSelection(),a=0;a<i.length;a++)e.selection.addRange(i[a],!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){"use strict";e("./lib/fixoldbrowsers");var i=e("./lib/oop"),o=e("./lib/dom"),a=e("./lib/lang"),s=e("./lib/useragent"),l=e("./keyboard/textinput").TextInput,c=e("./mouse/mouse_handler").MouseHandler,u=e("./mouse/fold_handler").FoldHandler,h=e("./keyboard/keybinding").KeyBinding,p=e("./edit_session").EditSession,d=e("./search").Search,f=e("./range").Range,m=e("./lib/event_emitter").EventEmitter,g=e("./commands/command_manager").CommandManager,y=e("./commands/default_commands").commands,v=e("./config"),_=e("./token_iterator").TokenIterator,b=function e(t,n){var r=t.getContainerElement();this.container=r,this.renderer=t,this.id="editor"+ ++e.$uid,this.commands=new g(s.isMac?"mac":"win",y),this.textInput=new l(t.getTextAreaContainer(),this),this.renderer.textarea=this.textInput.getElement(),this.keyBinding=new h(this),this.$mouseHandler=new c(this),new u(this),this.$blockScrolling=0,this.$search=(new d).set({wrap:!0}),this.$historyTracker=this.$historyTracker.bind(this),this.commands.on("exec",this.$historyTracker),this.$initOperationListeners(),this._$emitInputEvent=a.delayedCall(function(){this._signal("input",{}),this.session&&this.session.bgTokenizer&&this.session.bgTokenizer.scheduleStart()}.bind(this)),this.on("change",(function(e,t){t._$emitInputEvent.schedule(31)})),this.setSession(n||new p("")),v.resetOptions(this),v._signal("editor",this)};b.$uid=0,function(){i.implement(this,m),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=a.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&&void 0!==this.curOp.command.scrollIntoView&&this.$blockScrolling++},this.endOperation=function(e){if(this.curOp){if(e&&!1===e.returnValue)return this.curOp=null;this._signal("beforeEndOperation");var t=this.curOp.command;t.name&&this.$blockScrolling>0&&this.$blockScrolling--;var n=t&&t.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 r=this.selection.getRange(),i=this.renderer.layerConfig;(r.start.row>=i.lastRow||r.end.row<=i.firstRow)&&this.renderer.scrollSelectionIntoView(this.selection.anchor,this.selection.lead)}"animate"==n&&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 t=this.prevOp,n=this.$mergeableCommands,r=t.command&&e.command.name==t.command.name;if("insertstring"==e.command.name){var i=e.args;void 0===this.mergeNextCommand&&(this.mergeNextCommand=!0),r=r&&this.mergeNextCommand&&(!/\s/.test(i)||/\s/.test(t.args)),this.mergeNextCommand=!0}else r=r&&-1!==n.indexOf(e.command.name);"always"!=this.$mergeUndoDeltas&&Date.now()-this.sequenceStartTime>2e3&&(r=!1),r?this.session.mergeUndoDeltas=!0:-1!==n.indexOf(e.command.name)&&(this.sequenceStartTime=Date.now())}},this.setKeyboardHandler=function(e,t){if(e&&"string"==typeof e){this.$keybindingId=e;var n=this;v.loadModule(["keybinding",e],(function(r){n.$keybindingId==e&&n.keyBinding.setKeyboardHandler(r&&r.handler),t&&t()}))}else this.$keybindingId=null,this.keyBinding.setKeyboardHandler(e),t&&t()},this.getKeyboardHandler=function(){return this.keyBinding.getKeyboardHandler()},this.setSession=function(e){if(this.session!=e){this.curOp&&this.endOperation(),this.curOp={};var t=this.session;if(t){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:t}),this.curOp=null,t&&t._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,t){return this.session.doc.setValue(e),t?1==t?this.navigateFileEnd():-1==t&&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,t){this.renderer.setTheme(e,t)},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 t=e.session;if(t&&t.bgTokenizer){var n=t.findMatchingBracket(e.getCursorPosition());if(n)var r=new f(n.row,n.column,n.row,n.column+1);else t.$mode.getMatching&&(r=t.$mode.getMatching(e.session));r&&(t.$bracketHighlight=t.addMarker(r,"ace_bracket","text"))}}),50)}},this.$highlightTags=function(){if(!this.$highlightTagPending){var e=this;this.$highlightTagPending=!0,setTimeout((function(){e.$highlightTagPending=!1;var t=e.session;if(t&&t.bgTokenizer){var n=e.getCursorPosition(),r=new _(e.session,n.row,n.column),i=r.getCurrentToken();if(!i||!/\b(?:tag-open|tag-name)/.test(i.type))return t.removeMarker(t.$tagHighlight),void(t.$tagHighlight=null);if(-1==i.type.indexOf("tag-open")||(i=r.stepForward())){var o=i.value,a=0,s=r.stepBackward();if("<"==s.value)do{s=i,(i=r.stepForward())&&i.value===o&&-1!==i.type.indexOf("tag-name")&&("<"===s.value?a++:"</"===s.value&&a--)}while(i&&a>=0);else{do{i=s,s=r.stepBackward(),i&&i.value===o&&-1!==i.type.indexOf("tag-name")&&("<"===s.value?a++:"</"===s.value&&a--)}while(s&&a<=0);r.stepForward()}if(!i)return t.removeMarker(t.$tagHighlight),void(t.$tagHighlight=null);var l=r.getCurrentTokenRow(),c=r.getCurrentTokenColumn(),u=new f(l,c,l,c+i.value.length),h=t.$backMarkers[t.$tagHighlight];t.$tagHighlight&&null!=h&&0!==u.compareRange(h.range)&&(t.removeMarker(t.$tagHighlight),t.$tagHighlight=null),u&&!t.$tagHighlight&&(t.$tagHighlight=t.addMarker(u,"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 t=this.session.$useWrapMode,n=e.start.row==e.end.row?e.end.row:1/0;this.renderer.updateLines(e.start.row,n,t),this._signal("change",e),this.$cursorChange(),this.$updateHighlightActiveLine()},this.onTokenizerUpdate=function(e){var t=e.data;this.renderer.updateLines(t.first,t.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||(v.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,t=this.getSession();if(this.$highlightActiveLine&&("line"==this.$selectionStyle&&this.selection.isMultiLine()||(e=this.getCursorPosition()),!this.renderer.$maxLines||1!==this.session.getLength()||this.renderer.$minLines>1||(e=!1)),t.$highlightLineMarker&&!e)t.removeMarker(t.$highlightLineMarker.id),t.$highlightLineMarker=null;else if(!t.$highlightLineMarker&&e){var n=new f(e.row,e.column,e.row,1/0);n.id=t.addMarker(n,"ace_active-line","screenLine"),t.$highlightLineMarker=n}else e&&(t.$highlightLineMarker.start.row=e.row,t.$highlightLineMarker.end.row=e.row,t.$highlightLineMarker.start.column=e.column,t._signal("changeBackMarker"))},this.onSelectionChange=function(e){var t=this.session;if(t.$selectionMarker&&t.removeMarker(t.$selectionMarker),t.$selectionMarker=null,this.selection.isEmpty())this.$updateHighlightActiveLine();else{var n=this.selection.getRange(),r=this.getSelectionStyle();t.$selectionMarker=t.addMarker(n,"ace_selection",r)}var i=this.$highlightSelectedWord&&this.$getSelectionHighLightRegexp();this.session.highlight(i),this._signal("changeSelection")},this.$getSelectionHighLightRegexp=function(){var e=this.session,t=this.getSelectionRange();if(!t.isEmpty()&&!t.isMultiLine()){var n=t.start.column-1,r=t.end.column+1,i=e.getLine(t.start.row),o=i.length,a=i.substring(Math.max(n,0),Math.min(r,o));if(!(n>=0&&/^[\w\d]/.test(a)||r<=o&&/[\w\d]$/.test(a))&&(a=i.substring(t.start.column,t.end.column),/^[\w\d]+$/.test(a)))return this.$search.$assembleRegExp({wholeWord:!0,caseSensitive:!0,needle:a})}},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,t){var n={text:e,event:t};this.commands.exec("paste",this,n)},this.$handlePaste=function(e){"string"==typeof e&&(e={text:e}),this._signal("paste",e);var t=e.text;if(!this.inMultiSelectMode||this.inVirtualSelectionMode)this.insert(t);else{var n=t.split(/\r\n|\r|\n/),r=this.selection.rangeList.ranges;if(n.length>r.length||n.length<2||!n[1])return this.commands.exec("insertstring",this,t);for(var i=r.length;i--;){var o=r[i];o.isEmpty()||this.session.remove(o),this.session.insert(o.start,n[i])}}},this.execCommand=function(e,t){return this.commands.exec(e,this,t)},this.insert=function(e,t){var n=this.session,r=n.getMode(),i=this.getCursorPosition();if(this.getBehavioursEnabled()&&!t){var o=r.transformAction(n.getState(i.row),"insertion",this,n,e);o&&(e!==o.text&&(this.session.mergeUndoDeltas=!1,this.$mergeNextCommand=!1),e=o.text)}if("\t"==e&&(e=this.session.getTabString()),this.selection.isEmpty())this.session.getOverwrite()&&((a=new f.fromPoints(i,i)).end.column+=e.length,this.session.remove(a));else{var a=this.getSelectionRange();i=this.session.remove(a),this.clearSelection()}if("\n"==e||"\r\n"==e){var s=n.getLine(i.row);if(i.column>s.search(/\S|$/)){var l=s.substr(i.column).search(/\S|$/);n.doc.removeInLine(i.row,i.column,i.column+l)}}this.clearSelection();var c=i.column,u=n.getState(i.row),h=(s=n.getLine(i.row),r.checkOutdent(u,s,e));if(n.insert(i,e),o&&o.selection&&(2==o.selection.length?this.selection.setSelectionRange(new f(i.row,c+o.selection[0],i.row,c+o.selection[1])):this.selection.setSelectionRange(new f(i.row+o.selection[0],o.selection[1],i.row+o.selection[2],o.selection[3]))),n.getDocument().isNewLine(e)){var p=r.getNextLineIndent(u,s.slice(0,i.column),n.getTabString());n.insert({row:i.row+1,column:0},p)}h&&r.autoOutdent(u,n,i.row)},this.onTextInput=function(e){this.keyBinding.onTextInput(e)},this.onCommandKey=function(e,t,n){this.keyBinding.onCommandKey(e,t,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()&&("left"==e?this.selection.selectLeft():this.selection.selectRight());var t=this.getSelectionRange();if(this.getBehavioursEnabled()){var n=this.session,r=n.getState(t.start.row),i=n.getMode().transformAction(r,"deletion",this,n,t);if(0===t.end.column){var o=n.getTextRange(t);if("\n"==o[o.length-1]){var a=n.getLine(t.end.row);/^\s+$/.test(a)&&(t.end.column=a.length)}}i&&(t=i)}this.session.remove(t),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("\n"),this.moveCursorToPosition(e)},this.transposeLetters=function(){if(this.selection.isEmpty()){var e=this.getCursorPosition(),t=e.column;if(0!==t){var n,r,i=this.session.getLine(e.row);t<i.length?(n=i.charAt(t)+i.charAt(t-1),r=new f(e.row,t-1,e.row,t+1)):(n=i.charAt(t-1)+i.charAt(t-2),r=new f(e.row,t-2,e.row,t)),this.session.replace(r,n),this.session.selection.moveToPosition(r.end)}}},this.toLowerCase=function(){var e=this.getSelectionRange();this.selection.isEmpty()&&this.selection.selectWord();var t=this.getSelectionRange(),n=this.session.getTextRange(t);this.session.replace(t,n.toLowerCase()),this.selection.setSelectionRange(e)},this.toUpperCase=function(){var e=this.getSelectionRange();this.selection.isEmpty()&&this.selection.selectWord();var t=this.getSelectionRange(),n=this.session.getTextRange(t);this.session.replace(t,n.toUpperCase()),this.selection.setSelectionRange(e)},this.indent=function(){var e=this.session,t=this.getSelectionRange();if(!(t.start.row<t.end.row)){if(t.start.column<t.end.column){var n=e.getTextRange(t);if(!/^\s+$/.test(n))return u=this.$getSelectedRows(),void e.indentRows(u.first,u.last,"\t")}var r=e.getLine(t.start.row),i=t.start,o=e.getTabSize(),s=e.documentToScreenColumn(i.row,i.column);if(this.session.getUseSoftTabs())var l=o-s%o,c=a.stringRepeat(" ",l);else{for(l=s%o;" "==r[t.start.column-1]&&l;)t.start.column--,l--;this.selection.setSelectionRange(t),c="\t"}return this.insert(c)}var u=this.$getSelectedRows();e.indentRows(u.first,u.last,"\t")},this.blockIndent=function(){var e=this.$getSelectedRows();this.session.indentRows(e.first,e.last,"\t")},this.blockOutdent=function(){var e=this.session.getSelection();this.session.outdentRows(e.getRange())},this.sortLines=function(){var e=this.$getSelectedRows(),t=this.session,n=[];for(i=e.first;i<=e.last;i++)n.push(t.getLine(i));n.sort((function(e,t){return e.toLowerCase()<t.toLowerCase()?-1:e.toLowerCase()>t.toLowerCase()?1:0}));for(var r=new f(0,0,0,0),i=e.first;i<=e.last;i++){var o=t.getLine(i);r.start.row=i,r.end.row=i,r.end.column=o.length,t.replace(r,n[i-e.first])}},this.toggleCommentLines=function(){var e=this.session.getState(this.getCursorPosition().row),t=this.$getSelectedRows();this.session.getMode().toggleCommentLines(e,this.session,t.first,t.last)},this.toggleBlockComment=function(){var e=this.getCursorPosition(),t=this.session.getState(e.row),n=this.getSelectionRange();this.session.getMode().toggleBlockComment(t,this.session,n,e)},this.getNumberAt=function(e,t){var n=/[\-]?[0-9]+(?:\.[0-9]+)?/g;n.lastIndex=0;for(var r=this.session.getLine(e);n.lastIndex<t;){var i=n.exec(r);if(i.index<=t&&i.index+i[0].length>=t)return{value:i[0],start:i.index,end:i.index+i[0].length}}return null},this.modifyNumber=function(e){var t=this.selection.getCursor().row,n=this.selection.getCursor().column,r=new f(t,n-1,t,n),i=this.session.getTextRange(r);if(!isNaN(parseFloat(i))&&isFinite(i)){var o=this.getNumberAt(t,n);if(o){var a=o.value.indexOf(".")>=0?o.start+o.value.indexOf(".")+1:o.end,s=o.start+o.value.length-a,l=parseFloat(o.value);l*=Math.pow(10,s),a!==o.end&&n<a?e*=Math.pow(10,o.end-n-1):e*=Math.pow(10,o.end-n),l+=e;var c=(l/=Math.pow(10,s)).toFixed(s),u=new f(t,o.start,t,o.end);this.session.replace(u,c),this.moveCursorTo(t,Math.max(o.start+1,n+c.length-o.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,t=this.session,n=e.getRange(),r=e.isBackwards();if(n.isEmpty()){var i=n.start.row;t.duplicateLines(i,i)}else{var o=r?n.start:n.end,a=t.insert(o,t.getTextRange(n),!1);n.start=o,n.end=a,e.setSelectionRange(n,r)}},this.moveLinesDown=function(){this.$moveLines(1,!1)},this.moveLinesUp=function(){this.$moveLines(-1,!1)},this.moveText=function(e,t,n){return this.session.moveText(e,t,n)},this.copyLinesUp=function(){this.$moveLines(-1,!0)},this.copyLinesDown=function(){this.$moveLines(1,!0)},this.$moveLines=function(e,t){var n,r,i=this.selection;if(!i.inMultiSelectMode||this.inVirtualSelectionMode){var o=i.toOrientedRange();n=this.$getSelectedRows(o),r=this.session.$moveLines(n.first,n.last,t?0:e),t&&-1==e&&(r=0),o.moveBy(r,0),i.fromOrientedRange(o)}else{var a=i.rangeList.ranges;i.rangeList.detach(this.session),this.inVirtualSelectionMode=!0;for(var s=0,l=0,c=a.length,u=0;u<c;u++){var h=u;a[u].moveBy(s,0);for(var p=(n=this.$getSelectedRows(a[u])).first,d=n.last;++u<c;){l&&a[u].moveBy(l,0);var f=this.$getSelectedRows(a[u]);if(t&&f.first!=d)break;if(!t&&f.first>d+1)break;d=f.last}for(u--,s=this.session.$moveLines(p,d,t?0:e),t&&-1==e&&(h=u+1);h<=u;)a[h].moveBy(s,0),h++;t||(s=0),l+=s}i.fromOrientedRange(i.ranges[0]),i.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,t){var n=this.renderer,r=this.renderer.layerConfig,i=e*Math.floor(r.height/r.lineHeight);this.$blockScrolling++,!0===t?this.selection.$moveSelection((function(){this.moveCursorBy(i,0)})):!1===t&&(this.selection.moveCursorBy(i,0),this.selection.clearSelection()),this.$blockScrolling--;var o=n.scrollTop;n.scrollBy(0,i*r.lineHeight),null!=t&&n.scrollCursorIntoView(null,.5),n.animateScrolling(o)},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,t,n,r){this.renderer.scrollToLine(e,t,n,r)},this.centerSelection=function(){var e=this.getSelectionRange(),t={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(t,.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,t){this.selection.moveCursorTo(e,t)},this.moveCursorToPosition=function(e){this.selection.moveCursorToPosition(e)},this.jumpToMatching=function(e,t){var n=this.getCursorPosition(),r=new _(this.session,n.row,n.column),i=r.getCurrentToken(),o=i||r.stepForward();if(o){var a,s,l=!1,c={},u=n.column-o.start,h={")":"(","(":"(","]":"[","[":"[","{":"{","}":"{"};do{if(o.value.match(/[{}()\[\]]/g)){for(;u<o.value.length&&!l;u++)if(h[o.value[u]])switch(s=h[o.value[u]]+"."+o.type.replace("rparen","lparen"),isNaN(c[s])&&(c[s]=0),o.value[u]){case"(":case"[":case"{":c[s]++;break;case")":case"]":case"}":c[s]--,-1===c[s]&&(a="bracket",l=!0)}}else o&&-1!==o.type.indexOf("tag-name")&&(isNaN(c[o.value])&&(c[o.value]=0),"<"===i.value?c[o.value]++:"</"===i.value&&c[o.value]--,-1===c[o.value]&&(a="tag",l=!0));l||(i=o,o=r.stepForward(),u=0)}while(o&&!l);if(a){var p,d;if("bracket"===a)(p=this.session.getBracketRange(n))||(d=(p=new f(r.getCurrentTokenRow(),r.getCurrentTokenColumn()+u-1,r.getCurrentTokenRow(),r.getCurrentTokenColumn()+u-1)).start,(t||d.row===n.row&&Math.abs(d.column-n.column)<2)&&(p=this.session.getBracketRange(d)));else if("tag"===a){if(!o||-1===o.type.indexOf("tag-name"))return;var m=o.value;if(0===(p=new f(r.getCurrentTokenRow(),r.getCurrentTokenColumn()-2,r.getCurrentTokenRow(),r.getCurrentTokenColumn()-2)).compare(n.row,n.column)){l=!1;do{o=i,(i=r.stepBackward())&&(-1!==i.type.indexOf("tag-close")&&p.setEnd(r.getCurrentTokenRow(),r.getCurrentTokenColumn()+1),o.value===m&&-1!==o.type.indexOf("tag-name")&&("<"===i.value?c[m]++:"</"===i.value&&c[m]--,0===c[m]&&(l=!0)))}while(i&&!l)}o&&o.type.indexOf("tag-name")&&(d=p.start).row==n.row&&Math.abs(d.column-n.column)<2&&(d=p.end)}(d=p&&p.cursor||d)&&(e?p&&t?this.selection.setRange(p):p&&p.isEqual(this.getSelectionRange())?this.clearSelection():this.selection.selectTo(d.row,d.column):this.selection.moveTo(d.row,d.column))}}},this.gotoLine=function(e,t,n){this.selection.clearSelection(),this.session.unfold({row:e-1,column:t||0}),this.$blockScrolling+=1,this.exitMultiSelectMode&&this.exitMultiSelectMode(),this.moveCursorTo(e-1,t||0),this.$blockScrolling-=1,this.isRowFullyVisible(e-1)||this.scrollToLine(e-1,!0,n)},this.navigateTo=function(e,t){this.selection.moveTo(e,t)},this.navigateUp=function(e){if(this.selection.isMultiLine()&&!this.selection.isBackwards()){var t=this.selection.anchor.getPosition();return this.moveCursorToPosition(t)}this.selection.clearSelection(),this.selection.moveCursorBy(-e||-1,0)},this.navigateDown=function(e){if(this.selection.isMultiLine()&&this.selection.isBackwards()){var t=this.selection.anchor.getPosition();return this.moveCursorToPosition(t)}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 t=this.getSelectionRange().start;this.moveCursorToPosition(t)}this.clearSelection()},this.navigateRight=function(e){if(this.selection.isEmpty())for(e=e||1;e--;)this.selection.moveCursorRight();else{var t=this.getSelectionRange().end;this.moveCursorToPosition(t)}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,t){t&&this.$search.set(t);var n=this.$search.find(this.session),r=0;return n?(this.$tryReplace(n,e)&&(r=1),null!==n&&(this.selection.setSelectionRange(n),this.renderer.scrollSelectionIntoView(n.start,n.end)),r):r},this.replaceAll=function(e,t){t&&this.$search.set(t);var n=this.$search.findAll(this.session),r=0;if(!n.length)return r;this.$blockScrolling+=1;var i=this.getSelectionRange();this.selection.moveTo(0,0);for(var o=n.length-1;o>=0;--o)this.$tryReplace(n[o],e)&&r++;return this.selection.setSelectionRange(i),this.$blockScrolling-=1,r},this.$tryReplace=function(e,t){var n=this.session.getTextRange(e);return null!==(t=this.$search.replace(n,t))?(e.end=this.session.replace(e,t),e):null},this.getLastSearchOptions=function(){return this.$search.getOptions()},this.find=function(e,t,n){t||(t={}),"string"==typeof e||e instanceof RegExp?t.needle=e:"object"==r(e)&&i.mixin(t,e);var o=this.selection.getRange();null==t.needle&&((e=this.session.getTextRange(o)||this.$search.$options.needle)||(o=this.session.getWordRange(o.start.row,o.start.column),e=this.session.getTextRange(o)),this.$search.set({needle:e})),this.$search.set(t),t.start||this.$search.set({start:o});var a=this.$search.find(this.session);return t.preventScroll?a:a?(this.revealRange(a,n),a):(t.backwards?o.start=o.end:o.end=o.start,void this.selection.setRange(o))},this.findNext=function(e,t){this.find({skipCurrent:!0,backwards:!1},e,t)},this.findPrevious=function(e,t){this.find(e,{skipCurrent:!0,backwards:!0},t)},this.revealRange=function(e,t){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),!1!==t&&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 t,n=this,r=!1;this.$scrollAnchor||(this.$scrollAnchor=document.createElement("div"));var i=this.$scrollAnchor;i.style.cssText="position:absolute",this.container.insertBefore(i,this.container.firstChild);var o=this.on("changeSelection",(function(){r=!0})),a=this.renderer.on("beforeRender",(function(){r&&(t=n.renderer.container.getBoundingClientRect())})),s=this.renderer.on("afterRender",(function(){if(r&&t&&(n.isFocused()||n.searchBox&&n.searchBox.isFocused())){var e=n.renderer,o=e.$cursorLayer.$pixelPos,a=e.layerConfig,s=o.top-a.offset;null!=(r=o.top>=0&&s+t.top<0||!(o.top<a.height&&o.top+t.top+a.lineHeight>window.innerHeight)&&null)&&(i.style.top=s+"px",i.style.left=o.left+"px",i.style.height=a.lineHeight+"px",i.scrollIntoView(r)),r=t=null}}));this.setAutoScrollEditorIntoView=function(e){e||(delete this.setAutoScrollEditorIntoView,this.off("changeSelection",o),this.renderer.off("afterRender",s),this.renderer.off("beforeRender",a))}}},this.$resetCursorStyle=function(){var e=this.$cursorStyle||"ace",t=this.renderer.$cursorLayer;t&&(t.setSmoothBlinking(/smooth/.test(e)),t.isBlinking=!this.$readOnly&&"wide"!=e,o.setCssClass(t.element,"ace_slim-cursors",/slim/.test(e)))}}.call(b.prototype),v.defineOptions(b.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=b})),ace.define("ace/undomanager",["require","exports","module"],(function(e,t,n){"use strict";var r=function(){this.reset()};(function(){function e(e){return{action:e.action,start:e.start,end:e.end,lines:1==e.lines.length?null:e.lines,text:1==e.lines.length?e.lines[0]:null}}function t(e){return{action:e.action,start:e.start,end:e.end,lines:e.lines||[e.text]}}function n(e,t){for(var n=new Array(e.length),r=0;r<e.length;r++){for(var i=e[r],o={group:i.group,deltas:new Array(i.length)},a=0;a<i.deltas.length;a++){var s=i.deltas[a];o.deltas[a]=t(s)}n[r]=o}return n}this.execute=function(e){var t=e.args[0];this.$doc=e.args[1],e.merge&&this.hasUndo()&&(this.dirtyCounter--,t=this.$undoStack.pop().concat(t)),this.$undoStack.push(t),this.$redoStack=[],this.dirtyCounter<0&&(this.dirtyCounter=NaN),this.dirtyCounter++},this.undo=function(e){var t=this.$undoStack.pop(),n=null;return t&&(n=this.$doc.undoChanges(t,e),this.$redoStack.push(t),this.dirtyCounter--),n},this.redo=function(e){var t=this.$redoStack.pop(),n=null;return t&&(n=this.$doc.redoChanges(this.$deserializeDeltas(t),e),this.$undoStack.push(t),this.dirtyCounter++),n},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 0===this.dirtyCounter},this.$serializeDeltas=function(t){return n(t,e)},this.$deserializeDeltas=function(e){return n(e,t)}}).call(r.prototype),t.UndoManager=r})),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){"use strict";var r=e("../lib/dom"),i=e("../lib/oop"),o=e("../lib/lang"),a=e("../lib/event_emitter").EventEmitter,s=function(e){this.element=r.createElement("div"),this.element.className="ace_layer ace_gutter-layer",e.appendChild(this.element),this.setShowFoldWidgets(this.$showFoldWidgets),this.gutterWidth=0,this.$annotations=[],this.$updateAnnotations=this.$updateAnnotations.bind(this),this.$cells=[]};(function(){i.implement(this,a),this.setSession=function(e){this.session&&this.session.removeEventListener("change",this.$updateAnnotations),this.session=e,e&&e.on("change",this.$updateAnnotations)},this.addGutterDecoration=function(e,t){window.console&&console.warn&&console.warn("deprecated use session.addGutterDecoration"),this.session.addGutterDecoration(e,t)},this.removeGutterDecoration=function(e,t){window.console&&console.warn&&console.warn("deprecated use session.removeGutterDecoration"),this.session.removeGutterDecoration(e,t)},this.setAnnotations=function(e){this.$annotations=[];for(var t=0;t<e.length;t++){var n=e[t],r=n.row,i=this.$annotations[r];i||(i=this.$annotations[r]={text:[]});var a=n.text;a=a?o.escapeHTML(a):n.html||"",-1===i.text.indexOf(a)&&i.text.push(a);var s=n.type;"error"==s?i.className=" ace_error":"warning"==s&&" ace_error"!=i.className?i.className=" ace_warning":"info"!=s||i.className||(i.className=" ace_info")}},this.$updateAnnotations=function(e){if(this.$annotations.length){var t=e.start.row,n=e.end.row-t;if(0===n);else if("remove"==e.action)this.$annotations.splice(t,n+1,null);else{var r=new Array(n+1);r.unshift(t,1),this.$annotations.splice.apply(this.$annotations,r)}}},this.update=function(e){for(var t=this.session,n=e.firstRow,i=Math.min(e.lastRow+e.gutterOffset,t.getLength()-1),o=t.getNextFoldLine(n),a=o?o.start.row:1/0,s=this.$showFoldWidgets&&t.foldWidgets,l=t.$breakpoints,c=t.$decorations,u=t.$firstLineNumber,h=0,p=t.gutterRenderer||this.$renderer,d=null,f=-1,m=n;;){if(m>a&&(m=o.end.row+1,a=(o=t.getNextFoldLine(m,o))?o.start.row:1/0),m>i){for(;this.$cells.length>f+1;)d=this.$cells.pop(),this.element.removeChild(d.element);break}(d=this.$cells[++f])||((d={element:null,textNode:null,foldWidget:null}).element=r.createElement("div"),d.textNode=document.createTextNode(""),d.element.appendChild(d.textNode),this.element.appendChild(d.element),this.$cells[f]=d);var g="ace_gutter-cell ";if(l[m]&&(g+=l[m]),c[m]&&(g+=c[m]),this.$annotations[m]&&(g+=this.$annotations[m].className),d.element.className!=g&&(d.element.className=g),(v=t.getRowLength(m)*e.lineHeight+"px")!=d.element.style.height&&(d.element.style.height=v),s){var y=s[m];null==y&&(y=s[m]=t.getFoldWidget(m))}if(y){d.foldWidget||(d.foldWidget=r.createElement("span"),d.element.appendChild(d.foldWidget)),g="ace_fold-widget ace_"+y,"start"==y&&m==a&&m<o.end.row?g+=" ace_closed":g+=" ace_open",d.foldWidget.className!=g&&(d.foldWidget.className=g);var v=e.lineHeight+"px";d.foldWidget.style.height!=v&&(d.foldWidget.style.height=v)}else d.foldWidget&&(d.element.removeChild(d.foldWidget),d.foldWidget=null);var _=h=p?p.getText(t,m):m+u;_!==d.textNode.data&&(d.textNode.data=_),m++}this.element.style.height=e.minHeight+"px",(this.$fixedWidth||t.$useWrapMode)&&(h=t.getLength()+u);var b=p?p.getWidth(t,h,e):h.toString().length*e.characterWidth,E=this.$padding||this.$computePadding();(b+=E.left+E.right)===this.gutterWidth||isNaN(b)||(this.gutterWidth=b,this.element.style.width=Math.ceil(this.gutterWidth)+"px",this._emit("changeGutterWidth",b))},this.$fixedWidth=!1,this.$showLineNumbers=!0,this.$renderer="",this.setShowLineNumbers=function(e){this.$renderer=!e&&{getWidth:function(){return""},getText:function(){return""}}},this.getShowLineNumbers=function(){return this.$showLineNumbers},this.$showFoldWidgets=!0,this.setShowFoldWidgets=function(e){e?r.addCssClass(this.element,"ace_folding-enabled"):r.removeCssClass(this.element,"ace_folding-enabled"),this.$showFoldWidgets=e,this.$padding=null},this.getShowFoldWidgets=function(){return this.$showFoldWidgets},this.$computePadding=function(){if(!this.element.firstChild)return{left:0,right:0};var e=r.computedStyle(this.element.firstChild);return this.$padding={},this.$padding.left=parseInt(e.paddingLeft)+1||0,this.$padding.right=parseInt(e.paddingRight)||0,this.$padding},this.getRegion=function(e){var t=this.$padding||this.$computePadding(),n=this.element.getBoundingClientRect();return e.x<t.left+n.left?"markers":this.$showFoldWidgets&&e.x>n.right-t.right?"foldWidgets":void 0}}).call(s.prototype),t.Gutter=s})),ace.define("ace/layer/marker",["require","exports","module","ace/range","ace/lib/dom"],(function(e,t,n){"use strict";var r=e("../range").Range,i=e("../lib/dom"),o=function(e){this.element=i.createElement("div"),this.element.className="ace_layer ace_marker-layer",e.appendChild(this.element)};(function(){this.$padding=0,this.setPadding=function(e){this.$padding=e},this.setSession=function(e){this.session=e},this.setMarkers=function(e){this.markers=e},this.update=function(e){if(e=e||this.config){this.config=e;var t=[];for(var n in this.markers){var r=this.markers[n];if(r.range){var i=r.range.clipRows(e.firstRow,e.lastRow);if(!i.isEmpty())if(i=i.toScreenRange(this.session),r.renderer){var o=this.$getTop(i.start.row,e),a=this.$padding+i.start.column*e.characterWidth;r.renderer(t,i,a,o,e)}else"fullLine"==r.type?this.drawFullLineMarker(t,i,r.clazz,e):"screenLine"==r.type?this.drawScreenLineMarker(t,i,r.clazz,e):i.isMultiLine()?"text"==r.type?this.drawTextMarker(t,i,r.clazz,e):this.drawMultiLineMarker(t,i,r.clazz,e):this.drawSingleLineMarker(t,i,r.clazz+" ace_start ace_br15",e)}else r.update(t,this,this.session,e)}this.element.innerHTML=t.join("")}},this.$getTop=function(e,t){return(e-t.firstRowScreen)*t.lineHeight},this.drawTextMarker=function(e,t,n,i,o){for(var a=this.session,s=t.start.row,l=t.end.row,c=s,u=0,h=0,p=a.getScreenLastRowColumn(c),d=new r(c,t.start.column,c,h);c<=l;c++)d.start.row=d.end.row=c,d.start.column=c==s?t.start.column:a.getRowWrapIndent(c),d.end.column=p,u=h,h=p,p=c+1<l?a.getScreenLastRowColumn(c+1):c==l?0:t.end.column,this.drawSingleLineMarker(e,d,n+(c==s?" ace_start":"")+" ace_br"+((c==s||c==s+1&&t.start.column?1:0)|(u<h?2:0)|(h>p?4:0)|(c==l?8:0)),i,c==l?0:1,o)},this.drawMultiLineMarker=function(e,t,n,r,i){var o=this.$padding,a=r.lineHeight,s=this.$getTop(t.start.row,r),l=o+t.start.column*r.characterWidth;i=i||"",e.push("<div class='",n," ace_br1 ace_start' style='","height:",a,"px;","right:0;","top:",s,"px;","left:",l,"px;",i,"'></div>"),s=this.$getTop(t.end.row,r);var c=t.end.column*r.characterWidth;if(e.push("<div class='",n," ace_br12' style='","height:",a,"px;","width:",c,"px;","top:",s,"px;","left:",o,"px;",i,"'></div>"),!((a=(t.end.row-t.start.row-1)*r.lineHeight)<=0)){s=this.$getTop(t.start.row+1,r);var u=(t.start.column?1:0)|(t.end.column?0:8);e.push("<div class='",n,u?" ace_br"+u:"","' style='","height:",a,"px;","right:0;","top:",s,"px;","left:",o,"px;",i,"'></div>")}},this.drawSingleLineMarker=function(e,t,n,r,i,o){var a=r.lineHeight,s=(t.end.column+(i||0)-t.start.column)*r.characterWidth,l=this.$getTop(t.start.row,r),c=this.$padding+t.start.column*r.characterWidth;e.push("<div class='",n,"' style='","height:",a,"px;","width:",s,"px;","top:",l,"px;","left:",c,"px;",o||"","'></div>")},this.drawFullLineMarker=function(e,t,n,r,i){var o=this.$getTop(t.start.row,r),a=r.lineHeight;t.start.row!=t.end.row&&(a+=this.$getTop(t.end.row,r)-o),e.push("<div class='",n,"' style='","height:",a,"px;","top:",o,"px;","left:0;right:0;",i||"","'></div>")},this.drawScreenLineMarker=function(e,t,n,r,i){var o=this.$getTop(t.start.row,r),a=r.lineHeight;e.push("<div class='",n,"' style='","height:",a,"px;","top:",o,"px;","left:0;right:0;",i||"","'></div>")}}).call(o.prototype),t.Marker=o})),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){"use strict";var r=e("../lib/oop"),i=e("../lib/dom"),o=e("../lib/lang"),a=(e("../lib/useragent"),e("../lib/event_emitter").EventEmitter),s=function(e){this.element=i.createElement("div"),this.element.className="ace_layer ace_text-layer",e.appendChild(this.element),this.$updateEolChar=this.$updateEolChar.bind(this)};(function(){r.implement(this,a),this.EOF_CHAR="¶",this.EOL_CHAR_LF="¬",this.EOL_CHAR_CRLF="¤",this.EOL_CHAR=this.EOL_CHAR_LF,this.TAB_CHAR="—",this.SPACE_CHAR="·",this.$padding=0,this.$updateEolChar=function(){var e="\n"==this.session.doc.getNewLineCharacter()?this.EOL_CHAR_LF:this.EOL_CHAR_CRLF;if(this.EOL_CHAR!=e)return this.EOL_CHAR=e,!0},this.setPadding=function(e){this.$padding=e,this.element.style.padding="0 "+e+"px"},this.getLineHeight=function(){return this.$fontMetrics.$characterSize.height||0},this.getCharacterWidth=function(){return this.$fontMetrics.$characterSize.width||0},this.$setFontMetrics=function(e){this.$fontMetrics=e,this.$fontMetrics.on("changeCharacterSize",function(e){this._signal("changeCharacterSize",e)}.bind(this)),this.$pollSizeChanges()},this.checkForSizeChanges=function(){this.$fontMetrics.checkForSizeChanges()},this.$pollSizeChanges=function(){return this.$pollSizeChangesTimer=this.$fontMetrics.$pollSizeChanges()},this.setSession=function(e){this.session=e,e&&this.$computeTabString()},this.showInvisibles=!1,this.setShowInvisibles=function(e){return this.showInvisibles!=e&&(this.showInvisibles=e,this.$computeTabString(),!0)},this.displayIndentGuides=!0,this.setDisplayIndentGuides=function(e){return this.displayIndentGuides!=e&&(this.displayIndentGuides=e,this.$computeTabString(),!0)},this.$tabStrings=[],this.onChangeTabSize=this.$computeTabString=function(){var e=this.session.getTabSize();this.tabSize=e;for(var t=this.$tabStrings=[0],n=1;n<e+1;n++)this.showInvisibles?t.push("<span class='ace_invisible ace_invisible_tab'>"+o.stringRepeat(this.TAB_CHAR,n)+"</span>"):t.push(o.stringRepeat(" ",n));if(this.displayIndentGuides){this.$indentGuideRe=/\s\S| \t|\t |\s$/;var r="ace_indent-guide",i="",a="";if(this.showInvisibles){r+=" ace_invisible",i=" ace_invisible_space",a=" ace_invisible_tab";var s=o.stringRepeat(this.SPACE_CHAR,this.tabSize),l=o.stringRepeat(this.TAB_CHAR,this.tabSize)}else l=s=o.stringRepeat(" ",this.tabSize);this.$tabStrings[" "]="<span class='"+r+i+"'>"+s+"</span>",this.$tabStrings["\t"]="<span class='"+r+a+"'>"+l+"</span>"}},this.updateLines=function(e,t,n){this.config.lastRow==e.lastRow&&this.config.firstRow==e.firstRow||this.scrollLines(e),this.config=e;for(var r=Math.max(t,e.firstRow),i=Math.min(n,e.lastRow),o=this.element.childNodes,a=0,s=e.firstRow;s<r;s++){if(l=this.session.getFoldLine(s)){if(l.containsRow(r)){r=l.start.row;break}s=l.end.row}a++}s=r;for(var l,c=(l=this.session.getNextFoldLine(s))?l.start.row:1/0;s>c&&(s=l.end.row+1,c=(l=this.session.getNextFoldLine(s,l))?l.start.row:1/0),!(s>i);){var u=o[a++];if(u){var h=[];this.$renderLine(h,s,!this.$useLineGroups(),s==c&&l),u.style.height=e.lineHeight*this.session.getRowLength(s)+"px",u.innerHTML=h.join("")}s++}},this.scrollLines=function(e){var t=this.config;if(this.config=e,!t||t.lastRow<e.firstRow)return this.update(e);if(e.lastRow<t.firstRow)return this.update(e);var n=this.element;if(t.firstRow<e.firstRow)for(var r=this.session.getFoldedRowCount(t.firstRow,e.firstRow-1);r>0;r--)n.removeChild(n.firstChild);if(t.lastRow>e.lastRow)for(r=this.session.getFoldedRowCount(e.lastRow+1,t.lastRow);r>0;r--)n.removeChild(n.lastChild);if(e.firstRow<t.firstRow){var i=this.$renderLinesFragment(e,e.firstRow,t.firstRow-1);n.firstChild?n.insertBefore(i,n.firstChild):n.appendChild(i)}e.lastRow>t.lastRow&&(i=this.$renderLinesFragment(e,t.lastRow+1,e.lastRow),n.appendChild(i))},this.$renderLinesFragment=function(e,t,n){for(var r=this.element.ownerDocument.createDocumentFragment(),o=t,a=this.session.getNextFoldLine(o),s=a?a.start.row:1/0;o>s&&(o=a.end.row+1,s=(a=this.session.getNextFoldLine(o,a))?a.start.row:1/0),!(o>n);){var l=i.createElement("div"),c=[];if(this.$renderLine(c,o,!1,o==s&&a),l.innerHTML=c.join(""),this.$useLineGroups())l.className="ace_line_group",r.appendChild(l),l.style.height=e.lineHeight*this.session.getRowLength(o)+"px";else for(;l.firstChild;)r.appendChild(l.firstChild);o++}return r},this.update=function(e){this.config=e;for(var t=[],n=e.firstRow,r=e.lastRow,i=n,o=this.session.getNextFoldLine(i),a=o?o.start.row:1/0;i>a&&(i=o.end.row+1,a=(o=this.session.getNextFoldLine(i,o))?o.start.row:1/0),!(i>r);)this.$useLineGroups()&&t.push("<div class='ace_line_group' style='height:",e.lineHeight*this.session.getRowLength(i),"px'>"),this.$renderLine(t,i,!1,i==a&&o),this.$useLineGroups()&&t.push("</div>"),i++;this.element.innerHTML=t.join("")},this.$textToken={text:!0,rparen:!0,lparen:!0},this.$renderToken=function(e,t,n,r){var i=this,a=r.replace(/\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]/g,(function(e,n,r,a,s){if(n)return i.showInvisibles?"<span class='ace_invisible ace_invisible_space'>"+o.stringRepeat(i.SPACE_CHAR,e.length)+"</span>":e;if("&"==e)return"&";if("<"==e)return"<";if(">"==e)return">";if("\t"==e){var l=i.session.getScreenTabSize(t+a);return t+=l-1,i.$tabStrings[l]}if(" "==e){var c=i.showInvisibles?"ace_cjk ace_invisible ace_invisible_space":"ace_cjk",u=i.showInvisibles?i.SPACE_CHAR:"";return t+=1,"<span class='"+c+"' style='width:"+2*i.config.characterWidth+"px'>"+u+"</span>"}return r?"<span class='ace_invisible ace_invisible_space ace_invalid'>"+i.SPACE_CHAR+"</span>":(t+=1,"<span class='ace_cjk' style='width:"+2*i.config.characterWidth+"px'>"+e+"</span>")}));if(this.$textToken[n.type])e.push(a);else{var s="ace_"+n.type.replace(/\./g," ace_"),l="";"fold"==n.type&&(l=" style='width:"+n.value.length*this.config.characterWidth+"px;' "),e.push("<span class='",s,"'",l,">",a,"</span>")}return t+r.length},this.renderIndentGuide=function(e,t,n){var r=t.search(this.$indentGuideRe);return r<=0||r>=n?t:" "==t[0]?(r-=r%this.tabSize,e.push(o.stringRepeat(this.$tabStrings[" "],r/this.tabSize)),t.substr(r)):"\t"==t[0]?(e.push(o.stringRepeat(this.$tabStrings["\t"],r)),t.substr(r)):t},this.$renderWrappedLine=function(e,t,n,r){for(var i=0,a=0,s=n[0],l=0,c=0;c<t.length;c++){var u=t[c],h=u.value;if(0==c&&this.displayIndentGuides){if(i=h.length,!(h=this.renderIndentGuide(e,h,s)))continue;i-=h.length}if(i+h.length<s)l=this.$renderToken(e,l,u,h),i+=h.length;else{for(;i+h.length>=s;)l=this.$renderToken(e,l,u,h.substring(0,s-i)),h=h.substring(s-i),i=s,r||e.push("</div>","<div class='ace_line' style='height:",this.config.lineHeight,"px'>"),e.push(o.stringRepeat(" ",n.indent)),l=0,s=n[++a]||Number.MAX_VALUE;0!=h.length&&(i+=h.length,l=this.$renderToken(e,l,u,h))}}},this.$renderSimpleLine=function(e,t){var n=0,r=t[0],i=r.value;this.displayIndentGuides&&(i=this.renderIndentGuide(e,i)),i&&(n=this.$renderToken(e,n,r,i));for(var o=1;o<t.length;o++)i=(r=t[o]).value,n=this.$renderToken(e,n,r,i)},this.$renderLine=function(e,t,n,r){if(r||0==r||(r=this.session.getFoldLine(t)),r)var i=this.$getFoldLineTokens(t,r);else i=this.session.getTokens(t);if(n||e.push("<div class='ace_line' style='height:",this.config.lineHeight*(this.$useLineGroups()?1:this.session.getRowLength(t)),"px'>"),i.length){var o=this.session.getRowSplitData(t);o&&o.length?this.$renderWrappedLine(e,i,o,n):this.$renderSimpleLine(e,i)}this.showInvisibles&&(r&&(t=r.end.row),e.push("<span class='ace_invisible ace_invisible_eol'>",t==this.session.getLength()-1?this.EOF_CHAR:this.EOL_CHAR,"</span>")),n||e.push("</div>")},this.$getFoldLineTokens=function(e,t){var n=this.session,r=[],i=n.getTokens(e);return t.walk((function(e,t,o,a,s){null!=e?r.push({type:"fold",value:e}):(s&&(i=n.getTokens(t)),i.length&&function(e,t,n){for(var i=0,o=0;o+e[i].value.length<t;)if(o+=e[i].value.length,++i==e.length)return;for(o!=t&&((a=e[i].value.substring(t-o)).length>n-t&&(a=a.substring(0,n-t)),r.push({type:e[i].type,value:a}),o=t+a.length,i+=1);o<n&&i<e.length;){var a;(a=e[i].value).length+o>n?r.push({type:e[i].type,value:a.substring(0,n-o)}):r.push(e[i]),o+=a.length,i+=1}}(i,a,o))}),t.end.row,this.session.getLine(t.end.row).length),r},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){"use strict";var r,i=e("../lib/dom"),o=function(e){this.element=i.createElement("div"),this.element.className="ace_layer ace_cursor-layer",e.appendChild(this.element),void 0===r&&(r=!("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=(r?this.$updateVisibility:this.$updateOpacity).bind(this)};(function(){this.$updateVisibility=function(e){for(var t=this.cursors,n=t.length;n--;)t[n].style.visibility=e?"":"hidden"},this.$updateOpacity=function(e){for(var t=this.cursors,n=t.length;n--;)t[n].style.opacity=e?"":"0"},this.$padding=0,this.setPadding=function(e){this.$padding=e},this.setSession=function(e){this.session=e},this.setBlinking=function(e){e!=this.isBlinking&&(this.isBlinking=e,this.restartTimer())},this.setBlinkInterval=function(e){e!=this.blinkInterval&&(this.blinkInterval=e,this.restartTimer())},this.setSmoothBlinking=function(e){e==this.smoothBlinking||r||(this.smoothBlinking=e,i.setCssClass(this.element,"ace_smooth-blinking",e),this.$updateCursors(!0),this.$updateCursors=this.$updateOpacity.bind(this),this.restartTimer())},this.addCursor=function(){var e=i.createElement("div");return e.className="ace_cursor",this.element.appendChild(e),this.cursors.push(e),e},this.removeCursor=function(){if(this.cursors.length>1){var e=this.cursors.pop();return e.parentNode.removeChild(e),e}},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 e=this.$updateCursors;if(clearInterval(this.intervalId),clearTimeout(this.timeoutId),this.smoothBlinking&&i.removeCssClass(this.element,"ace_smooth-blinking"),e(!0),this.isBlinking&&this.blinkInterval&&this.isVisible){this.smoothBlinking&&setTimeout(function(){i.addCssClass(this.element,"ace_smooth-blinking")}.bind(this));var t=function(){this.timeoutId=setTimeout((function(){e(!1)}),.6*this.blinkInterval)}.bind(this);this.intervalId=setInterval((function(){e(!0),t()}),this.blinkInterval),t()}},this.getPixelPosition=function(e,t){if(!this.config||!this.session)return{left:0,top:0};e||(e=this.session.selection.getCursor());var n=this.session.documentToScreenPosition(e);return{left:this.$padding+n.column*this.config.characterWidth,top:(n.row-(t?this.config.firstRowScreen:0))*this.config.lineHeight}},this.update=function(e){this.config=e;var t=this.session.$selectionMarkers,n=0,r=0;void 0!==t&&0!==t.length||(t=[{cursor:null}]),n=0;for(var i=t.length;n<i;n++){var o=this.getPixelPosition(t[n].cursor,!0);if(!((o.top>e.height+e.offset||o.top<0)&&n>1)){var a=(this.cursors[r++]||this.addCursor()).style;this.drawCursor?this.drawCursor(a,o,e,t[n],this.session):(a.left=o.left+"px",a.top=o.top+"px",a.width=e.characterWidth+"px",a.height=e.lineHeight+"px")}}for(;this.cursors.length>r;)this.removeCursor();var s=this.session.getOverwrite();this.$setOverwrite(s),this.$pixelPos=o,this.restartTimer()},this.drawCursor=null,this.$setOverwrite=function(e){e!=this.overwrite&&(this.overwrite=e,e?i.addCssClass(this.element,"ace_overwrite-cursors"):i.removeCssClass(this.element,"ace_overwrite-cursors"))},this.destroy=function(){clearInterval(this.intervalId),clearTimeout(this.timeoutId)}}).call(o.prototype),t.Cursor=o})),ace.define("ace/scrollbar",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/event","ace/lib/event_emitter"],(function(e,t,n){"use strict";var r=e("./lib/oop"),i=e("./lib/dom"),o=e("./lib/event"),a=e("./lib/event_emitter").EventEmitter,s=32768,l=function(e){this.element=i.createElement("div"),this.element.className="ace_scrollbar ace_scrollbar"+this.classSuffix,this.inner=i.createElement("div"),this.inner.className="ace_scrollbar-inner",this.element.appendChild(this.inner),e.appendChild(this.element),this.setVisible(!1),this.skipEvent=!1,o.addListener(this.element,"scroll",this.onScroll.bind(this)),o.addListener(this.element,"mousedown",o.preventDefault)};(function(){r.implement(this,a),this.setVisible=function(e){this.element.style.display=e?"":"none",this.isVisible=e,this.coeff=1}}).call(l.prototype);var c=function(e,t){l.call(this,e),this.scrollTop=0,this.scrollHeight=0,t.$scrollbarWidth=this.width=i.scrollbarWidth(e.ownerDocument),this.inner.style.width=this.element.style.width=(this.width||15)+5+"px"};r.inherits(c,l),function(){this.classSuffix="-v",this.onScroll=function(){if(!this.skipEvent){if(this.scrollTop=this.element.scrollTop,1!=this.coeff){var e=this.element.clientHeight/this.scrollHeight;this.scrollTop=this.scrollTop*(1-e)/(this.coeff-e)}this._emit("scroll",{data:this.scrollTop})}this.skipEvent=!1},this.getWidth=function(){return this.isVisible?this.width:0},this.setHeight=function(e){this.element.style.height=e+"px"},this.setInnerHeight=this.setScrollHeight=function(e){this.scrollHeight=e,e>s?(this.coeff=s/e,e=s):1!=this.coeff&&(this.coeff=1),this.inner.style.height=e+"px"},this.setScrollTop=function(e){this.scrollTop!=e&&(this.skipEvent=!0,this.scrollTop=e,this.element.scrollTop=e*this.coeff)}}.call(c.prototype);var u=function(e,t){l.call(this,e),this.scrollLeft=0,this.height=t.$scrollbarWidth,this.inner.style.height=this.element.style.height=(this.height||15)+5+"px"};r.inherits(u,l),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(e){this.element.style.width=e+"px"},this.setInnerWidth=function(e){this.inner.style.width=e+"px"},this.setScrollWidth=function(e){this.inner.style.width=e+"px"},this.setScrollLeft=function(e){this.scrollLeft!=e&&(this.skipEvent=!0,this.scrollLeft=this.element.scrollLeft=e)}}.call(u.prototype),t.ScrollBar=c,t.ScrollBarV=c,t.ScrollBarH=u,t.VScrollBar=c,t.HScrollBar=u})),ace.define("ace/renderloop",["require","exports","module","ace/lib/event"],(function(e,t,n){"use strict";var r=e("./lib/event"),i=function(e,t){this.onRender=e,this.pending=!1,this.changes=0,this.window=t||window};(function(){this.schedule=function(e){if(this.changes=this.changes|e,!this.pending&&this.changes){this.pending=!0;var t=this;r.nextFrame((function(){var e;for(t.pending=!1;e=t.changes;)t.changes=0,t.onRender(e)}),this.window)}}}).call(i.prototype),t.RenderLoop=i})),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 r=e("../lib/oop"),i=e("../lib/dom"),o=e("../lib/lang"),a=e("../lib/useragent"),s=e("../lib/event_emitter").EventEmitter,l=0,c=t.FontMetrics=function(e){this.el=i.createElement("div"),this.$setMeasureNodeStyles(this.el.style,!0),this.$main=i.createElement("div"),this.$setMeasureNodeStyles(this.$main.style),this.$measureNode=i.createElement("div"),this.$setMeasureNodeStyles(this.$measureNode.style),this.el.appendChild(this.$main),this.el.appendChild(this.$measureNode),e.appendChild(this.el),l||this.$testFractionalRect(),this.$measureNode.innerHTML=o.stringRepeat("X",l),this.$characterSize={width:0,height:0},this.checkForSizeChanges()};(function(){r.implement(this,s),this.$characterSize={width:0,height:0},this.$testFractionalRect=function(){var e=i.createElement("div");this.$setMeasureNodeStyles(e.style),e.style.width="0.2px",document.documentElement.appendChild(e);var t=e.getBoundingClientRect().width;l=t>0&&t<1?50:100,e.parentNode.removeChild(e)},this.$setMeasureNodeStyles=function(e,t){e.width=e.height="auto",e.left=e.top="0px",e.visibility="hidden",e.position="absolute",e.whiteSpace="pre",a.isIE<8?e["font-family"]="inherit":e.font="inherit",e.overflow=t?"hidden":"visible"},this.checkForSizeChanges=function(){var e=this.$measureSizes();if(e&&(this.$characterSize.width!==e.width||this.$characterSize.height!==e.height)){this.$measureNode.style.fontWeight="bold";var t=this.$measureSizes();this.$measureNode.style.fontWeight="",this.$characterSize=e,this.charSizes=Object.create(null),this.allowBoldFonts=t&&t.width===e.width&&t.height===e.height,this._emit("changeCharacterSize",{data:e})}},this.$pollSizeChanges=function(){if(this.$pollSizeChangesTimer)return this.$pollSizeChangesTimer;var e=this;return this.$pollSizeChangesTimer=setInterval((function(){e.checkForSizeChanges()}),500)},this.setPolling=function(e){e?this.$pollSizeChanges():this.$pollSizeChangesTimer&&(clearInterval(this.$pollSizeChangesTimer),this.$pollSizeChangesTimer=0)},this.$measureSizes=function(){if(50===l){var e=null;try{e=this.$measureNode.getBoundingClientRect()}catch(t){e={width:0,height:0}}var t={height:e.height,width:e.width/l}}else t={height:this.$measureNode.clientHeight,width:this.$measureNode.clientWidth/l};return 0===t.width||0===t.height?null:t},this.$measureCharWidth=function(e){return this.$main.innerHTML=o.stringRepeat(e,l),this.$main.getBoundingClientRect().width/l},this.getCharacterWidth=function(e){var t=this.charSizes[e];return void 0===t&&(t=this.charSizes[e]=this.$measureCharWidth(e)/this.$characterSize.width),t},this.destroy=function(){clearInterval(this.$pollSizeChangesTimer),this.el&&this.el.parentNode&&this.el.parentNode.removeChild(this.el)}}).call(c.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){"use strict";var r=e("./lib/oop"),i=e("./lib/dom"),o=e("./config"),a=e("./lib/useragent"),s=e("./layer/gutter").Gutter,l=e("./layer/marker").Marker,c=e("./layer/text").Text,u=e("./layer/cursor").Cursor,h=e("./scrollbar").HScrollBar,p=e("./scrollbar").VScrollBar,d=e("./renderloop").RenderLoop,f=e("./layer/font_metrics").FontMetrics,m=e("./lib/event_emitter").EventEmitter;i.importCssString('.ace_editor {position: relative;overflow: hidden;font: 12px/normal \'Monaco\', \'Menlo\', \'Ubuntu Mono\', \'Consolas\', \'source-code-pro\', monospace;direction: ltr;text-align: left;}.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_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_editor.ace_multiselect .ace_cursor {border-left-width: 1px;}.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_editor.css");var g=function(e,t){var n=this;this.container=e||i.createElement("div"),this.$keepTextAreaAtCursor=!a.isOldIE,i.addCssClass(this.container,"ace_editor"),this.setTheme(t),this.$gutter=i.createElement("div"),this.$gutter.className="ace_gutter",this.container.appendChild(this.$gutter),this.scroller=i.createElement("div"),this.scroller.className="ace_scroller",this.container.appendChild(this.scroller),this.content=i.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 l(this.content);var r=this.$textLayer=new c(this.content);this.canvas=r.element,this.$markerFront=new l(this.content),this.$cursorLayer=new u(this.content),this.$horizScroll=!1,this.$vScroll=!1,this.scrollBar=this.scrollBarV=new p(this.container,this),this.scrollBarH=new h(this.container,this),this.scrollBarV.addEventListener("scroll",(function(e){n.$scrollAnimation||n.session.setScrollTop(e.data-n.scrollMargin.top)})),this.scrollBarH.addEventListener("scroll",(function(e){n.$scrollAnimation||n.session.setScrollLeft(e.data-n.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(e){n.updateCharacterSize(),n.onResize(!0,n.gutterWidth,n.$size.width,n.$size.height),n._signal("changeCharacterSize",e)})),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 d(this.$renderChanges.bind(this),this.container.ownerDocument.defaultView),this.$loop.schedule(this.CHANGE_FULL),this.updateCharacterSize(),this.setPadding(4),o.resetOptions(this),o._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,r.implement(this,m),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(e){this.session&&this.session.doc.off("changeNewLineMode",this.onChangeNewLineMode),this.session=e,e&&this.scrollMargin.top&&e.getScrollTop()<=0&&e.setScrollTop(-this.scrollMargin.top),this.$cursorLayer.setSession(e),this.$markerBack.setSession(e),this.$markerFront.setSession(e),this.$gutterLayer.setSession(e),this.$textLayer.setSession(e),e&&(this.$loop.schedule(this.CHANGE_FULL),this.session.$setFontMetrics(this.$fontMetrics),this.scrollBarV.scrollLeft=this.scrollBarV.scrollTop=null,this.onChangeNewLineMode=this.onChangeNewLineMode.bind(this),this.onChangeNewLineMode(),this.session.doc.on("changeNewLineMode",this.onChangeNewLineMode))},this.updateLines=function(e,t,n){if(void 0===t&&(t=1/0),this.$changedLines?(this.$changedLines.firstRow>e&&(this.$changedLines.firstRow=e),this.$changedLines.lastRow<t&&(this.$changedLines.lastRow=t)):this.$changedLines={firstRow:e,lastRow:t},this.$changedLines.lastRow<this.layerConfig.firstRow){if(!n)return;this.$changedLines.lastRow=this.layerConfig.lastRow}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.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(e){e?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(e,t,n,r){if(!(this.resizing>2)){this.resizing>0?this.resizing++:this.resizing=e?1:0;var i=this.container;r||(r=i.clientHeight||i.scrollHeight),n||(n=i.clientWidth||i.scrollWidth);var o=this.$updateCachedSize(e,t,n,r);if(!this.$size.scrollerHeight||!n&&!r)return this.resizing=0;e&&(this.$gutterLayer.$padding=null),e?this.$renderChanges(o|this.$changes,!0):this.$loop.schedule(o|this.$changes),this.resizing&&(this.resizing=0),this.scrollBarV.scrollLeft=this.scrollBarV.scrollTop=null}},this.$updateCachedSize=function(e,t,n,r){r-=this.$extraHeight||0;var i=0,o=this.$size,a={width:o.width,height:o.height,scrollerHeight:o.scrollerHeight,scrollerWidth:o.scrollerWidth};return r&&(e||o.height!=r)&&(o.height=r,i|=this.CHANGE_SIZE,o.scrollerHeight=o.height,this.$horizScroll&&(o.scrollerHeight-=this.scrollBarH.getHeight()),this.scrollBarV.element.style.bottom=this.scrollBarH.getHeight()+"px",i|=this.CHANGE_SCROLL),n&&(e||o.width!=n)&&(i|=this.CHANGE_SIZE,o.width=n,null==t&&(t=this.$showGutter?this.$gutter.offsetWidth:0),this.gutterWidth=t,this.scrollBarH.element.style.left=this.scroller.style.left=t+"px",o.scrollerWidth=Math.max(0,n-t-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()||e)&&(i|=this.CHANGE_FULL)),o.$dirty=!n||!r,i&&this._signal("resize",a),i},this.onGutterResize=function(){var e=this.$showGutter?this.$gutter.offsetWidth:0;e!=this.gutterWidth&&(this.$changes|=this.$updateCachedSize(!0,e,this.$size.width,this.$size.height)),this.session.getUseWrapMode()&&this.adjustWrapLimit()||this.$size.$dirty?this.$loop.schedule(this.CHANGE_FULL):(this.$computeLayerConfig(),this.$loop.schedule(this.CHANGE_MARKER))},this.adjustWrapLimit=function(){var e=this.$size.scrollerWidth-2*this.$padding,t=Math.floor(e/this.characterWidth);return this.session.adjustWrapLimit(t,this.$showPrintMargin&&this.$printMarginColumn)},this.setAnimatedScroll=function(e){this.setOption("animatedScroll",e)},this.getAnimatedScroll=function(){return this.$animatedScroll},this.setShowInvisibles=function(e){this.setOption("showInvisibles",e)},this.getShowInvisibles=function(){return this.getOption("showInvisibles")},this.getDisplayIndentGuides=function(){return this.getOption("displayIndentGuides")},this.setDisplayIndentGuides=function(e){this.setOption("displayIndentGuides",e)},this.setShowPrintMargin=function(e){this.setOption("showPrintMargin",e)},this.getShowPrintMargin=function(){return this.getOption("showPrintMargin")},this.setPrintMarginColumn=function(e){this.setOption("printMarginColumn",e)},this.getPrintMarginColumn=function(){return this.getOption("printMarginColumn")},this.getShowGutter=function(){return this.getOption("showGutter")},this.setShowGutter=function(e){return this.setOption("showGutter",e)},this.getFadeFoldWidgets=function(){return this.getOption("fadeFoldWidgets")},this.setFadeFoldWidgets=function(e){this.setOption("fadeFoldWidgets",e)},this.setHighlightGutterLine=function(e){this.setOption("highlightGutterLine",e)},this.getHighlightGutterLine=function(){return this.getOption("highlightGutterLine")},this.$updateGutterLineHighlight=function(){var e=this.$cursorLayer.$pixelPos,t=this.layerConfig.lineHeight;if(this.session.getUseWrapMode()){var n=this.session.selection.getCursor();n.column=0,e=this.$cursorLayer.getPixelPosition(n,!0),t*=this.session.getRowLength(n.row)}this.$gutterLineHighlight.style.top=e.top-this.layerConfig.offset+"px",this.$gutterLineHighlight.style.height=t+"px"},this.$updatePrintMargin=function(){if(this.$showPrintMargin||this.$printMarginEl){if(!this.$printMarginEl){var e=i.createElement("div");e.className="ace_layer ace_print-margin-layer",this.$printMarginEl=i.createElement("div"),this.$printMarginEl.className="ace_print-margin",e.appendChild(this.$printMarginEl),this.content.insertBefore(e,this.content.firstChild)}var t=this.$printMarginEl.style;t.left=this.characterWidth*this.$printMarginColumn+this.$padding+"px",t.visibility=this.$showPrintMargin?"visible":"hidden",this.session&&-1==this.session.$wrap&&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 e=this.layerConfig,t=this.$cursorLayer.$pixelPos.top,n=this.$cursorLayer.$pixelPos.left;t-=e.offset;var r=this.textarea.style,i=this.lineHeight;if(t<0||t>e.height-i)r.top=r.left="0";else{var o=this.characterWidth;if(this.$composition){var a=this.textarea.value.replace(/^\x01+/,"");o*=this.session.$getStringScreenWidth(a)[0]+2,i+=2}(n-=this.scrollLeft)>this.$size.scrollerWidth-o&&(n=this.$size.scrollerWidth-o),n+=this.gutterWidth,r.height=i+"px",r.width=o+"px",r.left=Math.min(n,this.$size.scrollerWidth-o)+"px",r.top=Math.min(t,this.$size.height-i)+"px"}}},this.getFirstVisibleRow=function(){return this.layerConfig.firstRow},this.getFirstFullyVisibleRow=function(){return this.layerConfig.firstRow+(0===this.layerConfig.offset?0:1)},this.getLastFullyVisibleRow=function(){var e=this.layerConfig,t=e.lastRow;return this.session.documentToScreenRow(t,0)*e.lineHeight-this.session.getScrollTop()>e.height-e.lineHeight?t-1:t},this.getLastVisibleRow=function(){return this.layerConfig.lastRow},this.$padding=null,this.setPadding=function(e){this.$padding=e,this.$textLayer.setPadding(e),this.$cursorLayer.setPadding(e),this.$markerFront.setPadding(e),this.$markerBack.setPadding(e),this.$loop.schedule(this.CHANGE_FULL),this.$updatePrintMargin()},this.setScrollMargin=function(e,t,n,r){var i=this.scrollMargin;i.top=0|e,i.bottom=0|t,i.right=0|r,i.left=0|n,i.v=i.top+i.bottom,i.h=i.left+i.right,i.top&&this.scrollTop<=0&&this.session&&this.session.setScrollTop(-i.top),this.updateFull()},this.getHScrollBarAlwaysVisible=function(){return this.$hScrollBarAlwaysVisible},this.setHScrollBarAlwaysVisible=function(e){this.setOption("hScrollBarAlwaysVisible",e)},this.getVScrollBarAlwaysVisible=function(){return this.$vScrollBarAlwaysVisible},this.setVScrollBarAlwaysVisible=function(e){this.setOption("vScrollBarAlwaysVisible",e)},this.$updateScrollBarV=function(){var e=this.layerConfig.maxHeight,t=this.$size.scrollerHeight;!this.$maxLines&&this.$scrollPastEnd&&(e-=(t-this.lineHeight)*this.$scrollPastEnd,this.scrollTop>e-t&&(e=this.scrollTop+t,this.scrollBarV.scrollTop=null)),this.scrollBarV.setScrollHeight(e+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(e,t){if(this.$changes&&(e|=this.$changes,this.$changes=0),this.session&&this.container.offsetWidth&&!this.$frozen&&(e||t)){if(this.$size.$dirty)return this.$changes|=e,this.onResize(!0);this.lineHeight||this.$textLayer.checkForSizeChanges(),this._signal("beforeRender");var n=this.layerConfig;if(e&this.CHANGE_FULL||e&this.CHANGE_SIZE||e&this.CHANGE_TEXT||e&this.CHANGE_LINES||e&this.CHANGE_SCROLL||e&this.CHANGE_H_SCROLL){if(e|=this.$computeLayerConfig(),n.firstRow!=this.layerConfig.firstRow&&n.firstRowScreen==this.layerConfig.firstRowScreen){var r=this.scrollTop+(n.firstRow-this.layerConfig.firstRow)*this.lineHeight;r>0&&(this.scrollTop=r,e|=this.CHANGE_SCROLL,e|=this.$computeLayerConfig())}n=this.layerConfig,this.$updateScrollBarV(),e&this.CHANGE_H_SCROLL&&this.$updateScrollBarH(),this.$gutterLayer.element.style.marginTop=-n.offset+"px",this.content.style.marginTop=-n.offset+"px",this.content.style.width=n.width+2*this.$padding+"px",this.content.style.height=n.minHeight+"px"}if(e&this.CHANGE_H_SCROLL&&(this.content.style.marginLeft=-this.scrollLeft+"px",this.scroller.className=this.scrollLeft<=0?"ace_scroller":"ace_scroller ace_scroll-left"),e&this.CHANGE_FULL)return this.$textLayer.update(n),this.$showGutter&&this.$gutterLayer.update(n),this.$markerBack.update(n),this.$markerFront.update(n),this.$cursorLayer.update(n),this.$moveTextAreaToCursor(),this.$highlightGutterLine&&this.$updateGutterLineHighlight(),void this._signal("afterRender");if(e&this.CHANGE_SCROLL)return e&this.CHANGE_TEXT||e&this.CHANGE_LINES?this.$textLayer.update(n):this.$textLayer.scrollLines(n),this.$showGutter&&this.$gutterLayer.update(n),this.$markerBack.update(n),this.$markerFront.update(n),this.$cursorLayer.update(n),this.$highlightGutterLine&&this.$updateGutterLineHighlight(),this.$moveTextAreaToCursor(),void this._signal("afterRender");e&this.CHANGE_TEXT?(this.$textLayer.update(n),this.$showGutter&&this.$gutterLayer.update(n)):e&this.CHANGE_LINES?(this.$updateLines()||e&this.CHANGE_GUTTER&&this.$showGutter)&&this.$gutterLayer.update(n):(e&this.CHANGE_TEXT||e&this.CHANGE_GUTTER)&&this.$showGutter&&this.$gutterLayer.update(n),e&this.CHANGE_CURSOR&&(this.$cursorLayer.update(n),this.$moveTextAreaToCursor(),this.$highlightGutterLine&&this.$updateGutterLineHighlight()),e&(this.CHANGE_MARKER|this.CHANGE_MARKER_FRONT)&&this.$markerFront.update(n),e&(this.CHANGE_MARKER|this.CHANGE_MARKER_BACK)&&this.$markerBack.update(n),this._signal("afterRender")}else this.$changes|=e},this.$autosize=function(){var e=this.session.getScreenLength()*this.lineHeight,t=this.$maxLines*this.lineHeight,n=Math.min(t,Math.max((this.$minLines||1)*this.lineHeight,e))+this.scrollMargin.v+(this.$extraHeight||0);this.$horizScroll&&(n+=this.scrollBarH.getHeight()),this.$maxPixelHeight&&n>this.$maxPixelHeight&&(n=this.$maxPixelHeight);var r=e>t;if(n!=this.desiredHeight||this.$size.height!=this.desiredHeight||r!=this.$vScroll){r!=this.$vScroll&&(this.$vScroll=r,this.scrollBarV.setVisible(r));var i=this.container.clientWidth;this.container.style.height=n+"px",this.$updateCachedSize(!0,this.$gutterWidth,i,n),this.desiredHeight=n,this._signal("autosize")}},this.$computeLayerConfig=function(){var e=this.session,t=this.$size,n=t.height<=2*this.lineHeight,r=this.session.getScreenLength()*this.lineHeight,i=this.$getLongestLine(),o=!n&&(this.$hScrollBarAlwaysVisible||t.scrollerWidth-i-2*this.$padding<0),a=this.$horizScroll!==o;a&&(this.$horizScroll=o,this.scrollBarH.setVisible(o));var s=this.$vScroll;this.$maxLines&&this.lineHeight>1&&this.$autosize();var l=this.scrollTop%this.lineHeight,c=t.scrollerHeight+this.lineHeight,u=!this.$maxLines&&this.$scrollPastEnd?(t.scrollerHeight-this.lineHeight)*this.$scrollPastEnd:0;r+=u;var h=this.scrollMargin;this.session.setScrollTop(Math.max(-h.top,Math.min(this.scrollTop,r-t.scrollerHeight+h.bottom))),this.session.setScrollLeft(Math.max(-h.left,Math.min(this.scrollLeft,i+2*this.$padding-t.scrollerWidth+h.right)));var p=!n&&(this.$vScrollBarAlwaysVisible||t.scrollerHeight-r+u<0||this.scrollTop>h.top),d=s!==p;d&&(this.$vScroll=p,this.scrollBarV.setVisible(p));var f,m,g=Math.ceil(c/this.lineHeight)-1,y=Math.max(0,Math.round((this.scrollTop-l)/this.lineHeight)),v=y+g,_=this.lineHeight;y=e.screenToDocumentRow(y,0);var b=e.getFoldLine(y);b&&(y=b.start.row),f=e.documentToScreenRow(y,0),m=e.getRowLength(y)*_,v=Math.min(e.screenToDocumentRow(v,0),e.getLength()-1),c=t.scrollerHeight+e.getRowLength(v)*_+m,l=this.scrollTop-f*_;var E=0;return this.layerConfig.width!=i&&(E=this.CHANGE_H_SCROLL),(a||d)&&(E=this.$updateCachedSize(!0,this.gutterWidth,t.width,t.height),this._signal("scrollbarVisibilityChanged"),d&&(i=this.$getLongestLine())),this.layerConfig={width:i,padding:this.$padding,firstRow:y,firstRowScreen:f,lastRow:v,lineHeight:_,characterWidth:this.characterWidth,minHeight:c,maxHeight:r,offset:l,gutterOffset:_?Math.max(0,Math.ceil((l+t.height-t.scrollerHeight)/_)):0,height:this.$size.scrollerHeight},E},this.$updateLines=function(){var e=this.$changedLines.firstRow,t=this.$changedLines.lastRow;this.$changedLines=null;var n=this.layerConfig;if(!(e>n.lastRow+1||t<n.firstRow))return t===1/0?(this.$showGutter&&this.$gutterLayer.update(n),void this.$textLayer.update(n)):(this.$textLayer.updateLines(n,e,t),!0)},this.$getLongestLine=function(){var e=this.session.getScreenWidth();return this.showInvisibles&&!this.session.$useWrapMode&&(e+=1),Math.max(this.$size.scrollerWidth-2*this.$padding,Math.round(e*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(e,t){this.$gutterLayer.addGutterDecoration(e,t)},this.removeGutterDecoration=function(e,t){this.$gutterLayer.removeGutterDecoration(e,t)},this.updateBreakpoints=function(e){this.$loop.schedule(this.CHANGE_GUTTER)},this.setAnnotations=function(e){this.$gutterLayer.setAnnotations(e),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(e,t,n){this.scrollCursorIntoView(e,n),this.scrollCursorIntoView(t,n)},this.scrollCursorIntoView=function(e,t,n){if(0!==this.$size.scrollerHeight){var r=this.$cursorLayer.getPixelPosition(e),i=r.left,o=r.top,a=n&&n.top||0,s=n&&n.bottom||0,l=this.$scrollAnimation?this.session.getScrollTop():this.scrollTop;l+a>o?(t&&l+a>o+this.lineHeight&&(o-=t*this.$size.scrollerHeight),0===o&&(o=-this.scrollMargin.top),this.session.setScrollTop(o)):l+this.$size.scrollerHeight-s<o+this.lineHeight&&(t&&l+this.$size.scrollerHeight-s<o-this.lineHeight&&(o+=t*this.$size.scrollerHeight),this.session.setScrollTop(o+this.lineHeight-this.$size.scrollerHeight));var c=this.scrollLeft;c>i?(i<this.$padding+2*this.layerConfig.characterWidth&&(i=-this.scrollMargin.left),this.session.setScrollLeft(i)):c+this.$size.scrollerWidth<i+this.characterWidth?this.session.setScrollLeft(Math.round(i+this.characterWidth-this.$size.scrollerWidth)):c<=this.$padding&&i-c<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(e){this.session.setScrollTop(e*this.lineHeight)},this.alignCursor=function(e,t){"number"==typeof e&&(e={row:e,column:0});var n=this.$cursorLayer.getPixelPosition(e),r=this.$size.scrollerHeight-this.lineHeight,i=n.top-r*(t||0);return this.session.setScrollTop(i),i},this.STEPS=8,this.$calcSteps=function(e,t){var n,r,i=0,o=this.STEPS,a=[];for(i=0;i<o;++i)a.push((n=i/this.STEPS,r=e,(t-e)*(Math.pow(n-1,3)+1)+r));return a},this.scrollToLine=function(e,t,n,r){var i=this.$cursorLayer.getPixelPosition({row:e,column:0}).top;t&&(i-=this.$size.scrollerHeight/2);var o=this.scrollTop;this.session.setScrollTop(i),!1!==n&&this.animateScrolling(o,r)},this.animateScrolling=function(e,t){var n=this.scrollTop;if(this.$animatedScroll){var r=this;if(e!=n){if(this.$scrollAnimation){var i=this.$scrollAnimation.steps;if(i.length&&(e=i[0])==n)return}var o=r.$calcSteps(e,n);this.$scrollAnimation={from:e,to:n,steps:o},clearInterval(this.$timer),r.session.setScrollTop(o.shift()),r.session.$scrollTop=n,this.$timer=setInterval((function(){o.length?(r.session.setScrollTop(o.shift()),r.session.$scrollTop=n):null!=n?(r.session.$scrollTop=-1,r.session.setScrollTop(n),n=null):(r.$timer=clearInterval(r.$timer),r.$scrollAnimation=null,t&&t())}),10)}}},this.scrollToY=function(e){this.scrollTop!==e&&(this.$loop.schedule(this.CHANGE_SCROLL),this.scrollTop=e)},this.scrollToX=function(e){this.scrollLeft!==e&&(this.scrollLeft=e),this.$loop.schedule(this.CHANGE_H_SCROLL)},this.scrollTo=function(e,t){this.session.setScrollTop(t),this.session.setScrollLeft(t)},this.scrollBy=function(e,t){t&&this.session.setScrollTop(this.session.getScrollTop()+t),e&&this.session.setScrollLeft(this.session.getScrollLeft()+e)},this.isScrollableBy=function(e,t){return t<0&&this.session.getScrollTop()>=1-this.scrollMargin.top||t>0&&this.session.getScrollTop()+this.$size.scrollerHeight-this.layerConfig.maxHeight<-1+this.scrollMargin.bottom||e<0&&this.session.getScrollLeft()>=1-this.scrollMargin.left||e>0&&this.session.getScrollLeft()+this.$size.scrollerWidth-this.layerConfig.width<-1+this.scrollMargin.right||void 0},this.pixelToScreenCoordinates=function(e,t){var n=this.scroller.getBoundingClientRect(),r=(e+this.scrollLeft-n.left-this.$padding)/this.characterWidth,i=Math.floor((t+this.scrollTop-n.top)/this.lineHeight),o=Math.round(r);return{row:i,column:o,side:r-o>0?1:-1}},this.screenToTextCoordinates=function(e,t){var n=this.scroller.getBoundingClientRect(),r=Math.round((e+this.scrollLeft-n.left-this.$padding)/this.characterWidth),i=(t+this.scrollTop-n.top)/this.lineHeight;return this.session.screenToDocumentPosition(i,Math.max(r,0))},this.textToScreenCoordinates=function(e,t){var n=this.scroller.getBoundingClientRect(),r=this.session.documentToScreenPosition(e,t),i=this.$padding+Math.round(r.column*this.characterWidth),o=r.row*this.lineHeight;return{pageX:n.left+i-this.scrollLeft,pageY:n.top+o-this.scrollTop}},this.visualizeFocus=function(){i.addCssClass(this.container,"ace_focus")},this.visualizeBlur=function(){i.removeCssClass(this.container,"ace_focus")},this.showComposition=function(e){this.$composition||(this.$composition={keepTextAreaAtCursor:this.$keepTextAreaAtCursor,cssText:this.textarea.style.cssText}),this.$keepTextAreaAtCursor=!0,i.addCssClass(this.textarea,"ace_composition"),this.textarea.style.cssText="",this.$moveTextAreaToCursor()},this.setCompositionText=function(e){this.$moveTextAreaToCursor()},this.hideComposition=function(){this.$composition&&(i.removeCssClass(this.textarea,"ace_composition"),this.$keepTextAreaAtCursor=this.$composition.keepTextAreaAtCursor,this.textarea.style.cssText=this.$composition.cssText,this.$composition=null)},this.setTheme=function(e,t){var n=this;if(this.$themeId=e,n._dispatchEvent("themeChange",{theme:e}),e&&"string"!=typeof e)a(e);else{var r=e||this.$options.theme.initialValue;o.loadModule(["theme",r],a)}function a(r){if(n.$themeId!=e)return t&&t();if(!r||!r.cssClass)throw new Error("couldn't load module "+e+" or it didn't call define");i.importCssString(r.cssText,r.cssClass,n.container.ownerDocument),n.theme&&i.removeCssClass(n.container,n.theme.cssClass);var o="padding"in r?r.padding:"padding"in(n.theme||{})?4:n.$padding;n.$padding&&o!=n.$padding&&n.setPadding(o),n.$theme=r.cssClass,n.theme=r,i.addCssClass(n.container,r.cssClass),i.setCssClass(n.container,"ace_dark",r.isDark),n.$size&&(n.$size.width=0,n.$updateSizeAsync()),n._dispatchEvent("themeLoaded",{theme:r}),t&&t()}},this.getTheme=function(){return this.$themeId},this.setStyle=function(e,t){i.setCssClass(this.container,e,!1!==t)},this.unsetStyle=function(e){i.removeCssClass(this.container,e)},this.setCursorStyle=function(e){this.scroller.style.cursor!=e&&(this.scroller.style.cursor=e)},this.setMouseCursor=function(e){this.scroller.style.cursor=e},this.destroy=function(){this.$textLayer.destroy(),this.$cursorLayer.destroy()}}).call(g.prototype),o.defineOptions(g.prototype,"renderer",{animatedScroll:{initialValue:!1},showInvisibles:{set:function(e){this.$textLayer.setShowInvisibles(e)&&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(e){"number"==typeof e&&(this.$printMarginColumn=e),this.$showPrintMargin=!!e,this.$updatePrintMargin()},get:function(){return this.$showPrintMargin&&this.$printMarginColumn}},showGutter:{set:function(e){this.$gutter.style.display=e?"block":"none",this.$loop.schedule(this.CHANGE_FULL),this.onGutterResize()},initialValue:!0},fadeFoldWidgets:{set:function(e){i.setCssClass(this.$gutter,"ace_fade-fold-widgets",e)},initialValue:!1},showFoldWidgets:{set:function(e){this.$gutterLayer.setShowFoldWidgets(e)},initialValue:!0},showLineNumbers:{set:function(e){this.$gutterLayer.setShowLineNumbers(e),this.$loop.schedule(this.CHANGE_GUTTER)},initialValue:!0},displayIndentGuides:{set:function(e){this.$textLayer.setDisplayIndentGuides(e)&&this.$loop.schedule(this.CHANGE_TEXT)},initialValue:!0},highlightGutterLine:{set:function(e){if(!this.$gutterLineHighlight)return this.$gutterLineHighlight=i.createElement("div"),this.$gutterLineHighlight.className="ace_gutter-active-line",void this.$gutter.appendChild(this.$gutterLineHighlight);this.$gutterLineHighlight.style.display=e?"":"none",this.$cursorLayer.$pixelPos&&this.$updateGutterLineHighlight()},initialValue:!1,value:!0},hScrollBarAlwaysVisible:{set:function(e){this.$hScrollBarAlwaysVisible&&this.$horizScroll||this.$loop.schedule(this.CHANGE_SCROLL)},initialValue:!1},vScrollBarAlwaysVisible:{set:function(e){this.$vScrollBarAlwaysVisible&&this.$vScroll||this.$loop.schedule(this.CHANGE_SCROLL)},initialValue:!1},fontSize:{set:function(e){"number"==typeof e&&(e+="px"),this.container.style.fontSize=e,this.updateFontSize()},initialValue:12},fontFamily:{set:function(e){this.container.style.fontFamily=e,this.updateFontSize()}},maxLines:{set:function(e){this.updateFull()}},minLines:{set:function(e){this.updateFull()}},maxPixelHeight:{set:function(e){this.updateFull()},initialValue:0},scrollPastEnd:{set:function(e){e=+e||0,this.$scrollPastEnd!=e&&(this.$scrollPastEnd=e,this.$loop.schedule(this.CHANGE_SCROLL))},initialValue:0,handlesSet:!0},fixedWidthGutter:{set:function(e){this.$gutterLayer.$fixedWidth=!!e,this.$loop.schedule(this.CHANGE_GUTTER)}},theme:{set:function(e){this.setTheme(e)},get:function(){return this.$themeId||this.theme},initialValue:"./theme/textmate",handlesSet:!0}}),t.VirtualRenderer=g})),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){"use strict";var r=e("../lib/oop"),i=e("../lib/net"),o=e("../lib/event_emitter").EventEmitter,a=e("../config");function s(e){var t=function(e){var t="importScripts('"+i.qualifyURL(e)+"');";try{return new Blob([t],{type:"application/javascript"})}catch(e){var n=new(window.BlobBuilder||window.WebKitBlobBuilder||window.MozBlobBuilder);return n.append(t),n.getBlob("application/javascript")}}(e),n=(window.URL||window.webkitURL).createObjectURL(t);return new Worker(n)}var l=function(t,n,r,i,o){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)i=i||a.moduleUrl(n,"worker");else{var l=this.$normalizePath;i=i||l(e.toUrl("ace/worker/worker.js",null,"_"));var c={};t.forEach((function(t){c[t]=l(e.toUrl(t,null,"_").replace(/(\.js)?(\?.*)?$/,""))}))}this.$worker=s(i),o&&this.send("importScripts",o),this.$worker.postMessage({init:!0,tlns:c,module:n,classname:r}),this.callbackId=1,this.callbacks={},this.$worker.onmessage=this.onMessage};(function(){r.implement(this,o),this.onMessage=function(e){var t=e.data;switch(t.type){case"event":this._signal(t.name,{data:t.data});break;case"call":var n=this.callbacks[t.id];n&&(n(t.data),delete this.callbacks[t.id]);break;case"error":this.reportError(t.data);break;case"log":window.console&&console.log&&console.log.apply(console,t.data)}},this.reportError=function(e){window.console&&console.error&&console.error(e)},this.$normalizePath=function(e){return i.qualifyURL(e)},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(e,t){this.$worker.postMessage({command:e,args:t})},this.call=function(e,t,n){if(n){var r=this.callbackId++;this.callbacks[r]=n,t.push(r)}this.send(e,t)},this.emit=function(e,t){try{this.$worker.postMessage({event:e,data:{data:t.data}})}catch(e){console.error(e.stack)}},this.attachToDocument=function(e){this.$doc&&this.terminate(),this.$doc=e,this.call("setValue",[e.getValue()]),e.on("change",this.changeListener)},this.changeListener=function(e){this.deltaQueue||(this.deltaQueue=[],setTimeout(this.$sendDeltaQueue,0)),"insert"==e.action?this.deltaQueue.push(e.start,e.lines):this.deltaQueue.push(e.start,e.end)},this.$sendDeltaQueue=function(){var e=this.deltaQueue;e&&(this.deltaQueue=null,e.length>50&&e.length>this.$doc.getLength()>>1?this.call("setValue",[this.$doc.getValue()]):this.emit("change",{data:e}))}}).call(l.prototype);var c=function(e,t,n){this.$sendDeltaQueue=this.$sendDeltaQueue.bind(this),this.changeListener=this.changeListener.bind(this),this.callbackId=1,this.callbacks={},this.messageBuffer=[];var r=null,i=!1,s=Object.create(o),l=this;this.$worker={},this.$worker.terminate=function(){},this.$worker.postMessage=function(e){l.messageBuffer.push(e),r&&(i?setTimeout(c):c())},this.setEmitSync=function(e){i=e};var c=function(){var e=l.messageBuffer.shift();e.command?r[e.command].apply(r,e.args):e.event&&s._signal(e.event,e.data)};s.postMessage=function(e){l.onMessage({data:e})},s.callback=function(e,t){this.postMessage({type:"call",id:t,data:e})},s.emit=function(e,t){this.postMessage({type:"event",name:e,data:t})},a.loadModule(["worker",t],(function(e){for(r=new e[n](s);l.messageBuffer.length;)c()}))};c.prototype=l.prototype,t.UIWorkerClient=c,t.WorkerClient=l,t.createWorker=s})),ace.define("ace/placeholder",["require","exports","module","ace/range","ace/lib/event_emitter","ace/lib/oop"],(function(e,t,n){"use strict";var r=e("./range").Range,i=e("./lib/event_emitter").EventEmitter,o=e("./lib/oop"),a=function(e,t,n,r,i,o){var a=this;this.length=t,this.session=e,this.doc=e.getDocument(),this.mainClass=i,this.othersClass=o,this.$onUpdate=this.onUpdate.bind(this),this.doc.on("change",this.$onUpdate),this.$others=r,this.$onCursorChange=function(){setTimeout((function(){a.onCursorChange()}))},this.$pos=n;var s=e.getUndoManager().$undoStack||e.getUndoManager().$undostack||{length:-1};this.$undoStackDepth=s.length,this.setup(),e.selection.on("changeCursor",this.$onCursorChange)};(function(){o.implement(this,i),this.setup=function(){var e=this,t=this.doc,n=this.session;this.selectionBefore=n.selection.toJSON(),n.selection.inMultiSelectMode&&n.selection.toSingleRange(),this.pos=t.createAnchor(this.$pos.row,this.$pos.column);var i=this.pos;i.$insertRight=!0,i.detach(),i.markerId=n.addMarker(new r(i.row,i.column,i.row,i.column+this.length),this.mainClass,null,!1),this.others=[],this.$others.forEach((function(n){var r=t.createAnchor(n.row,n.column);r.$insertRight=!0,r.detach(),e.others.push(r)})),n.setUndoSelect(!1)},this.showOtherMarkers=function(){if(!this.othersActive){var e=this.session,t=this;this.othersActive=!0,this.others.forEach((function(n){n.markerId=e.addMarker(new r(n.row,n.column,n.row,n.column+t.length),t.othersClass,null,!1)}))}},this.hideOtherMarkers=function(){if(this.othersActive){this.othersActive=!1;for(var e=0;e<this.others.length;e++)this.session.removeMarker(this.others[e].markerId)}},this.onUpdate=function(e){if(this.$updating)return this.updateAnchors(e);var t=e;if(t.start.row===t.end.row&&t.start.row===this.pos.row){this.$updating=!0;var n="insert"===e.action?t.end.column-t.start.column:t.start.column-t.end.column,i=t.start.column>=this.pos.column&&t.start.column<=this.pos.column+this.length+1,o=t.start.column-this.pos.column;if(this.updateAnchors(e),i&&(this.length+=n),i&&!this.session.$fromUndo)if("insert"===e.action)for(var a=this.others.length-1;a>=0;a--){var s={row:(l=this.others[a]).row,column:l.column+o};this.doc.insertMergedLines(s,e.lines)}else if("remove"===e.action)for(a=this.others.length-1;a>=0;a--){var l;s={row:(l=this.others[a]).row,column:l.column+o},this.doc.remove(new r(s.row,s.column,s.row,s.column-n))}this.$updating=!1,this.updateMarkers()}},this.updateAnchors=function(e){this.pos.onChange(e);for(var t=this.others.length;t--;)this.others[t].onChange(e);this.updateMarkers()},this.updateMarkers=function(){if(!this.$updating){var e=this,t=this.session,n=function(n,i){t.removeMarker(n.markerId),n.markerId=t.addMarker(new r(n.row,n.column,n.row,n.column+e.length),i,null,!1)};n(this.pos,this.mainClass);for(var i=this.others.length;i--;)n(this.others[i],this.othersClass)}},this.onCursorChange=function(e){if(!this.$updating&&this.session){var t=this.session.selection.getCursor();t.row===this.pos.row&&t.column>=this.pos.column&&t.column<=this.pos.column+this.length?(this.showOtherMarkers(),this._emit("cursorEnter",e)):(this.hideOtherMarkers(),this._emit("cursorLeave",e))}},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(-1!==this.$undoStackDepth){for(var e=this.session.getUndoManager(),t=(e.$undoStack||e.$undostack).length-this.$undoStackDepth,n=0;n<t;n++)e.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 r=e("../lib/event"),i=e("../lib/useragent");function o(e,t){return e.row==t.row&&e.column==t.column}t.onMouseDown=function(e){var t=e.domEvent,n=t.altKey,a=t.shiftKey,s=t.ctrlKey,l=e.getAccelKey(),c=e.getButton();if(s&&i.isMac&&(c=t.button),e.editor.inMultiSelectMode&&2==c)e.editor.textInput.onContextMenu(e.domEvent);else if(s||n||l){if(0===c){var u,h=e.editor,p=h.selection,d=h.inMultiSelectMode,f=e.getDocumentPosition(),m=p.getCursor(),g=e.inSelection()||p.isEmpty()&&o(f,m),y=e.x,v=e.y,_=h.session,b=h.renderer.pixelToScreenCoordinates(y,v),E=b;if(h.$mouseHandler.$enableJumpToDef)s&&n||l&&n?u=a?"block":"add":n&&h.$blockSelectEnabled&&(u="block");else if(l&&!n){if(u="add",!d&&a)return}else n&&h.$blockSelectEnabled&&(u="block");if(u&&i.isMac&&t.ctrlKey&&h.$mouseHandler.cancelContextMenu(),"add"==u){if(!d&&g)return;if(!d){var T=p.toOrientedRange();h.addSelectionMarker(T)}var x=p.rangeList.rangeAtPoint(f);h.$blockScrolling++,h.inVirtualSelectionMode=!0,a&&(x=null,T=p.ranges[0]||T,h.removeSelectionMarker(T)),h.once("mouseup",(function(){var e=p.toOrientedRange();x&&e.isEmpty()&&o(x.cursor,e.cursor)?p.substractPoint(e.cursor):(a?p.substractPoint(T.cursor):T&&(h.removeSelectionMarker(T),p.addRange(T)),p.addRange(e)),h.$blockScrolling--,h.inVirtualSelectionMode=!1}))}else if("block"==u){var S;e.stop(),h.inVirtualSelectionMode=!0;var C=[];h.$blockScrolling++,d&&!l?p.toSingleRange():!d&&l&&(S=p.toOrientedRange(),h.addSelectionMarker(S)),a?b=_.documentToScreenPosition(p.lead):p.moveToPosition(f),h.$blockScrolling--,E={row:-1,column:-1};r.capture(h.container,(function(e){y=e.clientX,v=e.clientY}),(function(e){clearInterval(A),h.removeSelectionMarkers(C),C.length||(C=[p.toOrientedRange()]),h.$blockScrolling++,S&&(h.removeSelectionMarker(S),p.toSingleRange(S));for(var t=0;t<C.length;t++)p.addRange(C[t]);h.inVirtualSelectionMode=!1,h.$mouseHandler.$clickSelection=null,h.$blockScrolling--}));var A=setInterval((function(){!function(){var e=h.renderer.pixelToScreenCoordinates(y,v),t=_.screenToDocumentPosition(e.row,e.column);o(E,e)&&o(t,p.lead)||(E=e,h.$blockScrolling++,h.selection.moveToPosition(t),h.renderer.scrollCursorIntoView(),h.removeSelectionMarkers(C),C=p.rectangularRangeBlock(E,b),h.$mouseHandler.$clickSelection&&1==C.length&&C[0].isEmpty()&&(C[0]=h.$mouseHandler.$clickSelection.clone()),C.forEach(h.addSelectionMarker,h),h.updateSelectionMarkers(),h.$blockScrolling--)}()}),20);return e.preventDefault()}}}else 0===c&&e.editor.inMultiSelectMode&&e.editor.exitMultiSelectMode()}})),ace.define("ace/commands/multi_select_commands",["require","exports","module","ace/keyboard/hash_handler"],(function(e,t,n){t.defaultCommands=[{name:"addCursorAbove",exec:function(e){e.selectMoreLines(-1)},bindKey:{win:"Ctrl-Alt-Up",mac:"Ctrl-Alt-Up"},scrollIntoView:"cursor",readOnly:!0},{name:"addCursorBelow",exec:function(e){e.selectMoreLines(1)},bindKey:{win:"Ctrl-Alt-Down",mac:"Ctrl-Alt-Down"},scrollIntoView:"cursor",readOnly:!0},{name:"addCursorAboveSkipCurrent",exec:function(e){e.selectMoreLines(-1,!0)},bindKey:{win:"Ctrl-Alt-Shift-Up",mac:"Ctrl-Alt-Shift-Up"},scrollIntoView:"cursor",readOnly:!0},{name:"addCursorBelowSkipCurrent",exec:function(e){e.selectMoreLines(1,!0)},bindKey:{win:"Ctrl-Alt-Shift-Down",mac:"Ctrl-Alt-Shift-Down"},scrollIntoView:"cursor",readOnly:!0},{name:"selectMoreBefore",exec:function(e){e.selectMore(-1)},bindKey:{win:"Ctrl-Alt-Left",mac:"Ctrl-Alt-Left"},scrollIntoView:"cursor",readOnly:!0},{name:"selectMoreAfter",exec:function(e){e.selectMore(1)},bindKey:{win:"Ctrl-Alt-Right",mac:"Ctrl-Alt-Right"},scrollIntoView:"cursor",readOnly:!0},{name:"selectNextBefore",exec:function(e){e.selectMore(-1,!0)},bindKey:{win:"Ctrl-Alt-Shift-Left",mac:"Ctrl-Alt-Shift-Left"},scrollIntoView:"cursor",readOnly:!0},{name:"selectNextAfter",exec:function(e){e.selectMore(1,!0)},bindKey:{win:"Ctrl-Alt-Shift-Right",mac:"Ctrl-Alt-Shift-Right"},scrollIntoView:"cursor",readOnly:!0},{name:"splitIntoLines",exec:function(e){e.multiSelect.splitIntoLines()},bindKey:{win:"Ctrl-Alt-L",mac:"Ctrl-Alt-L"},readOnly:!0},{name:"alignCursors",exec:function(e){e.alignCursors()},bindKey:{win:"Ctrl-Alt-A",mac:"Ctrl-Alt-A"},scrollIntoView:"cursor"},{name:"findAll",exec:function(e){e.findAll()},bindKey:{win:"Ctrl-Alt-K",mac:"Ctrl-Alt-G"},scrollIntoView:"cursor",readOnly:!0}],t.multiSelectCommands=[{name:"singleSelection",bindKey:"esc",exec:function(e){e.exitMultiSelectMode()},scrollIntoView:"cursor",readOnly:!0,isAvailable:function(e){return e&&e.inMultiSelectMode}}];var r=e("../keyboard/hash_handler").HashHandler;t.keyboardHandler=new r(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 r=e("./range_list").RangeList,i=e("./range").Range,o=e("./selection").Selection,a=e("./mouse/multi_select_handler").onMouseDown,s=e("./lib/event"),l=e("./lib/lang"),c=e("./commands/multi_select_commands");t.commands=c.defaultCommands.concat(c.multiSelectCommands);var u=new(0,e("./search").Search),h=e("./edit_session").EditSession;(function(){this.getSelectionMarkers=function(){return this.$selectionMarkers}}).call(h.prototype),function(){this.ranges=null,this.rangeList=null,this.addRange=function(e,t){if(e){if(!this.inMultiSelectMode&&0===this.rangeCount){var n=this.toOrientedRange();if(this.rangeList.add(n),this.rangeList.add(e),2!=this.rangeList.ranges.length)return this.rangeList.removeAll(),t||this.fromOrientedRange(e);this.rangeList.removeAll(),this.rangeList.add(n),this.$onAddRange(n)}e.cursor||(e.cursor=e.end);var r=this.rangeList.add(e);return this.$onAddRange(e),r.length&&this.$onRemoveRange(r),this.rangeCount>1&&!this.inMultiSelectMode&&(this._signal("multiSelect"),this.inMultiSelectMode=!0,this.session.$undoSelect=!1,this.rangeList.attach(this.session)),t||this.fromOrientedRange(e)}},this.toSingleRange=function(e){e=e||this.ranges[0];var t=this.rangeList.removeAll();t.length&&this.$onRemoveRange(t),e&&this.fromOrientedRange(e)},this.substractPoint=function(e){var t=this.rangeList.substractPoint(e);if(t)return this.$onRemoveRange(t),t[0]},this.mergeOverlappingRanges=function(){var e=this.rangeList.merge();e.length?this.$onRemoveRange(e):this.ranges[0]&&this.fromOrientedRange(this.ranges[0])},this.$onAddRange=function(e){this.rangeCount=this.rangeList.ranges.length,this.ranges.unshift(e),this._signal("addRange",{range:e})},this.$onRemoveRange=function(e){if(this.rangeCount=this.rangeList.ranges.length,1==this.rangeCount&&this.inMultiSelectMode){var t=this.rangeList.ranges.pop();e.push(t),this.rangeCount=0}for(var n=e.length;n--;){var r=this.ranges.indexOf(e[n]);this.ranges.splice(r,1)}this._signal("removeRange",{ranges:e}),0===this.rangeCount&&this.inMultiSelectMode&&(this.inMultiSelectMode=!1,this._signal("singleSelect"),this.session.$undoSelect=!0,this.rangeList.detach(this.session)),(t=t||this.ranges[0])&&!t.isEqual(this.getRange())&&this.fromOrientedRange(t)},this.$initRangeList=function(){this.rangeList||(this.rangeList=new r,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 e=this.rangeList.ranges,t=e[e.length-1],n=i.fromPoints(e[0].start,t.end);this.toSingleRange(),this.setSelectionRange(n,t.cursor==t.start)}else{n=this.getRange();var r=this.isBackwards(),o=n.start.row,a=n.end.row;if(o==a){if(r)var s=n.end,l=n.start;else s=n.start,l=n.end;return this.addRange(i.fromPoints(l,l)),void this.addRange(i.fromPoints(s,s))}var c=[],u=this.getLineRange(o,!0);u.start.column=n.start.column,c.push(u);for(var h=o+1;h<a;h++)c.push(this.getLineRange(h,!0));(u=this.getLineRange(a,!0)).end.column=n.end.column,c.push(u),c.forEach(this.addRange,this)}},this.toggleBlockSelection=function(){if(this.rangeCount>1){var e=this.rangeList.ranges,t=e[e.length-1],n=i.fromPoints(e[0].start,t.end);this.toSingleRange(),this.setSelectionRange(n,t.cursor==t.start)}else{var r=this.session.documentToScreenPosition(this.selectionLead),o=this.session.documentToScreenPosition(this.selectionAnchor);this.rectangularRangeBlock(r,o).forEach(this.addRange,this)}},this.rectangularRangeBlock=function(e,t,n){var r=[],o=e.column<t.column;if(o)var a=e.column,s=t.column;else a=t.column,s=e.column;var l,c,u=e.row<t.row;if(u)var h=e.row,p=t.row;else h=t.row,p=e.row;a<0&&(a=0),h<0&&(h=0),h==p&&(n=!0);for(var d=h;d<=p;d++){var f=i.fromPoints(this.session.screenToDocumentPosition(d,a),this.session.screenToDocumentPosition(d,s));if(f.isEmpty()){if(m&&(c=m,(l=f.end).row==c.row&&l.column==c.column))break;var m=f.end}f.cursor=o?f.start:f.end,r.push(f)}if(u&&r.reverse(),!n){for(var g=r.length-1;r[g].isEmpty()&&g>0;)g--;if(g>0)for(var y=0;r[y].isEmpty();)y++;for(var v=g;v>=y;v--)r[v].isEmpty()&&r.splice(v,1)}return r}}.call(o.prototype);var p=e("./editor").Editor;function d(e){e.$multiselectOnSessionChange||(e.$onAddRange=e.$onAddRange.bind(e),e.$onRemoveRange=e.$onRemoveRange.bind(e),e.$onMultiSelect=e.$onMultiSelect.bind(e),e.$onSingleSelect=e.$onSingleSelect.bind(e),e.$multiselectOnSessionChange=t.onSessionChange.bind(e),e.$checkMultiselectChange=e.$checkMultiselectChange.bind(e),e.$multiselectOnSessionChange(e),e.on("changeSession",e.$multiselectOnSessionChange),e.on("mousedown",a),e.commands.addCommands(c.defaultCommands),function(e){var t=e.textInput.getElement(),n=!1;function r(t){n&&(e.renderer.setMouseCursor(""),n=!1)}s.addListener(t,"keydown",(function(t){var i=18==t.keyCode&&!(t.ctrlKey||t.shiftKey||t.metaKey);e.$blockSelectEnabled&&i?n||(e.renderer.setMouseCursor("crosshair"),n=!0):n&&r()})),s.addListener(t,"keyup",r),s.addListener(t,"blur",r)}(e))}(function(){this.updateSelectionMarkers=function(){this.renderer.updateCursor(),this.renderer.updateBackMarkers()},this.addSelectionMarker=function(e){e.cursor||(e.cursor=e.end);var t=this.getSelectionStyle();return e.marker=this.session.addMarker(e,"ace_selection",t),this.session.$selectionMarkers.push(e),this.session.selectionMarkerCount=this.session.$selectionMarkers.length,e},this.removeSelectionMarker=function(e){if(e.marker){this.session.removeMarker(e.marker);var t=this.session.$selectionMarkers.indexOf(e);-1!=t&&this.session.$selectionMarkers.splice(t,1),this.session.selectionMarkerCount=this.session.$selectionMarkers.length}},this.removeSelectionMarkers=function(e){for(var t=this.session.$selectionMarkers,n=e.length;n--;){var r=e[n];if(r.marker){this.session.removeMarker(r.marker);var i=t.indexOf(r);-1!=i&&t.splice(i,1)}}this.session.selectionMarkerCount=t.length},this.$onAddRange=function(e){this.addSelectionMarker(e.range),this.renderer.updateCursor(),this.renderer.updateBackMarkers()},this.$onRemoveRange=function(e){this.removeSelectionMarkers(e.ranges),this.renderer.updateCursor(),this.renderer.updateBackMarkers()},this.$onMultiSelect=function(e){this.inMultiSelectMode||(this.inMultiSelectMode=!0,this.setStyle("ace_multiselect"),this.keyBinding.addKeyboardHandler(c.keyboardHandler),this.commands.setDefaultHandler("exec",this.$onMultiSelectExec),this.renderer.updateCursor(),this.renderer.updateBackMarkers())},this.$onSingleSelect=function(e){this.session.multiSelect.inVirtualMode||(this.inMultiSelectMode=!1,this.unsetStyle("ace_multiselect"),this.keyBinding.removeKeyboardHandler(c.keyboardHandler),this.commands.removeDefaultHandler("exec",this.$onMultiSelectExec),this.renderer.updateCursor(),this.renderer.updateBackMarkers(),this._emit("changeSelection"))},this.$onMultiSelectExec=function(e){var t=e.command,n=e.editor;if(n.multiSelect){if(t.multiSelectAction)"forEach"==t.multiSelectAction?r=n.forEachSelection(t,e.args):"forEachLine"==t.multiSelectAction?r=n.forEachSelection(t,e.args,!0):"single"==t.multiSelectAction?(n.exitMultiSelectMode(),r=t.exec(n,e.args||{})):r=t.multiSelectAction(n,e.args||{});else{var r=t.exec(n,e.args||{});n.multiSelect.addRange(n.multiSelect.toOrientedRange()),n.multiSelect.mergeOverlappingRanges()}return r}},this.forEachSelection=function(e,t,n){if(!this.inVirtualSelectionMode){var r,i=n&&n.keepOrder,a=1==n||n&&n.$byLines,s=this.session,l=this.selection,c=l.rangeList,u=(i?l:c).ranges;if(!u.length)return e.exec?e.exec(this,t||{}):e(this,t||{});var h=l._eventRegistry;l._eventRegistry={};var p=new o(s);this.inVirtualSelectionMode=!0;for(var d=u.length;d--;){if(a)for(;d>0&&u[d].start.row==u[d-1].end.row;)d--;p.fromOrientedRange(u[d]),p.index=d,this.selection=s.selection=p;var f=e.exec?e.exec(this,t||{}):e(this,t||{});r||void 0===f||(r=f),p.toOrientedRange(u[d])}p.detach(),this.selection=s.selection=l,this.inVirtualSelectionMode=!1,l._eventRegistry=h,l.mergeOverlappingRanges();var m=this.renderer.$scrollAnimation;return this.onCursorChange(),this.onSelectionChange(),m&&m.from==m.to&&this.renderer.animateScrolling(m.from),r}},this.exitMultiSelectMode=function(){this.inMultiSelectMode&&!this.inVirtualSelectionMode&&this.multiSelect.toSingleRange()},this.getSelectedText=function(){var e="";if(this.inMultiSelectMode&&!this.inVirtualSelectionMode){for(var t=this.multiSelect.rangeList.ranges,n=[],r=0;r<t.length;r++)n.push(this.session.getTextRange(t[r]));var i=this.session.getDocument().getNewLineCharacter();(e=n.join(i)).length==(n.length-1)*i.length&&(e="")}else this.selection.isEmpty()||(e=this.session.getTextRange(this.getSelectionRange()));return e},this.$checkMultiselectChange=function(e,t){if(this.inMultiSelectMode&&!this.inVirtualSelectionMode){var n=this.multiSelect.ranges[0];if(this.multiSelect.isEmpty()&&t==this.multiSelect.anchor)return;var r=t==this.multiSelect.anchor?n.cursor==n.start?n.end:n.start:n.cursor;r.row==t.row&&this.session.$clipPositionToDocument(r.row,r.column).column==t.column||this.multiSelect.toSingleRange(this.multiSelect.toOrientedRange())}},this.findAll=function(e,t,n){if((t=t||{}).needle=e||t.needle,null==t.needle){var r=this.selection.isEmpty()?this.selection.getWordRange():this.selection.getRange();t.needle=this.session.getTextRange(r)}this.$search.set(t);var i=this.$search.findAll(this.session);if(!i.length)return 0;this.$blockScrolling+=1;var o=this.multiSelect;n||o.toSingleRange(i[0]);for(var a=i.length;a--;)o.addRange(i[a],!0);return r&&o.rangeList.rangeAtPoint(r.start)&&o.addRange(r,!0),this.$blockScrolling-=1,i.length},this.selectMoreLines=function(e,t){var n=this.selection.toOrientedRange(),r=n.cursor==n.end,o=this.session.documentToScreenPosition(n.cursor);this.selection.$desiredColumn&&(o.column=this.selection.$desiredColumn);var a,s=this.session.screenToDocumentPosition(o.row+e,o.column);if(n.isEmpty())c=s;else var l=this.session.documentToScreenPosition(r?n.end:n.start),c=this.session.screenToDocumentPosition(l.row+e,l.column);if(r?(a=i.fromPoints(s,c)).cursor=a.start:(a=i.fromPoints(c,s)).cursor=a.end,a.desiredColumn=o.column,this.selection.inMultiSelectMode){if(t)var u=n.cursor}else this.selection.addRange(n);this.selection.addRange(a),u&&this.selection.substractPoint(u)},this.transposeSelections=function(e){for(var t=this.session,n=t.multiSelect,r=n.ranges,i=r.length;i--;)if((s=r[i]).isEmpty()){var o=t.getWordRange(s.start.row,s.start.column);s.start.row=o.start.row,s.start.column=o.start.column,s.end.row=o.end.row,s.end.column=o.end.column}n.mergeOverlappingRanges();var a=[];for(i=r.length;i--;){var s=r[i];a.unshift(t.getTextRange(s))}for(e<0?a.unshift(a.pop()):a.push(a.shift()),i=r.length;i--;)o=(s=r[i]).clone(),t.replace(s,a[i]),s.start.row=o.start.row,s.start.column=o.start.column},this.selectMore=function(e,t,n){var r=this.session,i=r.multiSelect.toOrientedRange();if(!i.isEmpty()||((i=r.getWordRange(i.start.row,i.start.column)).cursor=-1==e?i.start:i.end,this.multiSelect.addRange(i),!n)){var o=r.getTextRange(i),a=function(e,t,n){return u.$options.wrap=!0,u.$options.needle=t,u.$options.backwards=-1==n,u.find(e)}(r,o,e);a&&(a.cursor=-1==e?a.start:a.end,this.$blockScrolling+=1,this.session.unfold(a),this.multiSelect.addRange(a),this.$blockScrolling-=1,this.renderer.scrollCursorIntoView(null,.5)),t&&this.multiSelect.substractPoint(i.cursor)}},this.alignCursors=function(){var e=this.session,t=e.multiSelect,n=t.ranges,r=-1,o=n.filter((function(e){if(e.cursor.row==r)return!0;r=e.cursor.row}));if(n.length&&o.length!=n.length-1){o.forEach((function(e){t.substractPoint(e.cursor)}));var a=0,s=1/0,c=n.map((function(t){var n=t.cursor,r=e.getLine(n.row).substr(n.column).search(/\S/g);return-1==r&&(r=0),n.column>a&&(a=n.column),r<s&&(s=r),r}));n.forEach((function(t,n){var r=t.cursor,o=a-r.column,u=c[n]-s;o>u?e.insert(r,l.stringRepeat(" ",o-u)):e.remove(new i(r.row,r.column,r.row,r.column-o+u)),t.start.column=t.end.column=a,t.start.row=t.end.row=r.row,t.cursor=t.end})),t.fromOrientedRange(n[0]),this.renderer.updateCursor(),this.renderer.updateBackMarkers()}else{var u=this.selection.getRange(),h=u.start.row,p=u.end.row,d=h==p;if(d){var f,m=this.session.getLength();do{f=this.session.getLine(p)}while(/[=:]/.test(f)&&++p<m);do{f=this.session.getLine(h)}while(/[=:]/.test(f)&&--h>0);h<0&&(h=0),p>=m&&(p=m-1)}var g=this.session.removeFullLines(h,p);g=this.$reAlignText(g,d),this.session.insert({row:h,column:0},g.join("\n")+"\n"),d||(u.start.column=0,u.end.column=g[g.length-1].length),this.selection.setRange(u)}},this.$reAlignText=function(e,t){var n,r,i,o=!0,a=!0;return e.map((function(e){var t=e.match(/(\s*)(.*?)(\s*)([=:].*)/);return t?null==n?(n=t[1].length,r=t[2].length,i=t[3].length,t):(n+r+i!=t[1].length+t[2].length+t[3].length&&(a=!1),n!=t[1].length&&(o=!1),n>t[1].length&&(n=t[1].length),r<t[2].length&&(r=t[2].length),i>t[3].length&&(i=t[3].length),t):[e]})).map(t?c:o?a?function(e){return e[2]?s(n+r-e[2].length)+e[2]+s(i)+e[4].replace(/^([=:])\s+/,"$1 "):e[0]}:c:function(e){return e[2]?s(n)+e[2]+s(i)+e[4].replace(/^([=:])\s+/,"$1 "):e[0]});function s(e){return l.stringRepeat(" ",e)}function c(e){return e[2]?s(n)+e[2]+s(r-e[2].length+i)+e[4].replace(/^([=:])\s+/,"$1 "):e[0]}}}).call(p.prototype),t.onSessionChange=function(e){var t=e.session;t&&!t.multiSelect&&(t.$selectionMarkers=[],t.selection.$initRangeList(),t.multiSelect=t.selection),this.multiSelect=t&&t.multiSelect;var n=e.oldSession;n&&(n.multiSelect.off("addRange",this.$onAddRange),n.multiSelect.off("removeRange",this.$onRemoveRange),n.multiSelect.off("multiSelect",this.$onMultiSelect),n.multiSelect.off("singleSelect",this.$onSingleSelect),n.multiSelect.lead.off("change",this.$checkMultiselectChange),n.multiSelect.anchor.off("change",this.$checkMultiselectChange)),t&&(t.multiSelect.on("addRange",this.$onAddRange),t.multiSelect.on("removeRange",this.$onRemoveRange),t.multiSelect.on("multiSelect",this.$onMultiSelect),t.multiSelect.on("singleSelect",this.$onSingleSelect),t.multiSelect.lead.on("change",this.$checkMultiselectChange),t.multiSelect.anchor.on("change",this.$checkMultiselectChange)),t&&this.inMultiSelectMode!=t.selection.inMultiSelectMode&&(t.selection.inMultiSelectMode?this.$onMultiSelect():this.$onSingleSelect())},t.MultiSelect=d,e("./config").defineOptions(p.prototype,"editor",{enableMultiselect:{set:function(e){d(this),e?(this.on("changeSession",this.$multiselectOnSessionChange),this.on("mousedown",a)):(this.off("changeSession",this.$multiselectOnSessionChange),this.off("mousedown",a))},value:!0},enableBlockSelect:{set:function(e){this.$blockSelectEnabled=e},value:!0}})})),ace.define("ace/mode/folding/fold_mode",["require","exports","module","ace/range"],(function(e,t,n){"use strict";var r=e("../../range").Range,i=t.FoldMode=function(){};(function(){this.foldingStartMarker=null,this.foldingStopMarker=null,this.getFoldWidget=function(e,t,n){var r=e.getLine(n);return this.foldingStartMarker.test(r)?"start":"markbeginend"==t&&this.foldingStopMarker&&this.foldingStopMarker.test(r)?"end":""},this.getFoldWidgetRange=function(e,t,n){return null},this.indentationBlock=function(e,t,n){var i=/\S/,o=e.getLine(t),a=o.search(i);if(-1!=a){for(var s=n||o.length,l=e.getLength(),c=t,u=t;++t<l;){var h=e.getLine(t).search(i);if(-1!=h){if(h<=a)break;u=t}}if(u>c){var p=e.getLine(u).length;return new r(c,s,u,p)}}},this.openingBracketBlock=function(e,t,n,i,o){var a={row:n,column:i+1},s=e.$findClosingBracket(t,a,o);if(s){var l=e.foldWidgets[s.row];return null==l&&(l=e.getFoldWidget(s.row)),"start"==l&&s.row>a.row&&(s.row--,s.column=e.getLine(s.row).length),r.fromPoints(a,s)}},this.closingBracketBlock=function(e,t,n,i,o){var a={row:n,column:i},s=e.$findOpeningBracket(t,a);if(s)return s.column++,a.column--,r.fromPoints(s,a)}}).call(i.prototype)})),ace.define("ace/theme/textmate",["require","exports","module","ace/lib/dom"],(function(e,t,n){"use strict";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;}',e("../lib/dom").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){"use strict";e("./lib/oop");var r=e("./lib/dom");function i(e){this.session=e,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)}e("./range").Range,function(){this.getRowLength=function(e){var t;return t=this.lineWidgets&&this.lineWidgets[e]&&this.lineWidgets[e].rowCount||0,this.$useWrapMode&&this.$wrapData[e]?this.$wrapData[e].length+1+t:1+t},this.$getWidgetScreenLength=function(){var e=0;return this.lineWidgets.forEach((function(t){t&&t.rowCount&&!t.hidden&&(e+=t.rowCount)})),e},this.$onChangeEditor=function(e){this.attach(e.editor)},this.attach=function(e){e&&e.widgetManager&&e.widgetManager!=this&&e.widgetManager.detach(),this.editor!=e&&(this.detach(),this.editor=e,e&&(e.widgetManager=this,e.renderer.on("beforeRender",this.measureWidgets),e.renderer.on("afterRender",this.renderWidgets)))},this.detach=function(e){var t=this.editor;if(t){this.editor=null,t.widgetManager=null,t.renderer.off("beforeRender",this.measureWidgets),t.renderer.off("afterRender",this.renderWidgets);var n=this.session.lineWidgets;n&&n.forEach((function(e){e&&e.el&&e.el.parentNode&&(e._inDocument=!1,e.el.parentNode.removeChild(e.el))}))}},this.updateOnFold=function(e,t){var n=t.lineWidgets;if(n&&e.action){for(var r=e.data,i=r.start.row,o=r.end.row,a="add"==e.action,s=i+1;s<o;s++)n[s]&&(n[s].hidden=a);n[o]&&(a?n[i]?n[o].hidden=a:n[i]=n[o]:(n[i]==n[o]&&(n[i]=void 0),n[o].hidden=a))}},this.updateOnChange=function(e){var t=this.session.lineWidgets;if(t){var n=e.start.row,r=e.end.row-n;if(0===r);else if("remove"==e.action)t.splice(n+1,r).forEach((function(e){e&&this.removeLineWidget(e)}),this),this.$updateRows();else{var i=new Array(r);i.unshift(n,0),t.splice.apply(t,i),this.$updateRows()}}},this.$updateRows=function(){var e=this.session.lineWidgets;if(e){var t=!0;e.forEach((function(e,n){if(e)for(t=!1,e.row=n;e.$oldWidget;)e.$oldWidget.row=n,e=e.$oldWidget})),t&&(this.session.lineWidgets=null)}},this.addLineWidget=function(e){this.session.lineWidgets||(this.session.lineWidgets=new Array(this.session.getLength()));var t=this.session.lineWidgets[e.row];t&&(e.$oldWidget=t,t.el&&t.el.parentNode&&(t.el.parentNode.removeChild(t.el),t._inDocument=!1)),this.session.lineWidgets[e.row]=e,e.session=this.session;var n=this.editor.renderer;e.html&&!e.el&&(e.el=r.createElement("div"),e.el.innerHTML=e.html),e.el&&(r.addCssClass(e.el,"ace_lineWidgetContainer"),e.el.style.position="absolute",e.el.style.zIndex=5,n.container.appendChild(e.el),e._inDocument=!0),e.coverGutter||(e.el.style.zIndex=3),null==e.pixelHeight&&(e.pixelHeight=e.el.offsetHeight),null==e.rowCount&&(e.rowCount=e.pixelHeight/n.layerConfig.lineHeight);var i=this.session.getFoldAt(e.row,0);if(e.$fold=i,i){var o=this.session.lineWidgets;e.row!=i.end.row||o[i.start.row]?e.hidden=!0:o[i.start.row]=e}return this.session._emit("changeFold",{data:{start:{row:e.row}}}),this.$updateRows(),this.renderWidgets(null,n),this.onWidgetChanged(e),e},this.removeLineWidget=function(e){if(e._inDocument=!1,e.session=null,e.el&&e.el.parentNode&&e.el.parentNode.removeChild(e.el),e.editor&&e.editor.destroy)try{e.editor.destroy()}catch(e){}if(this.session.lineWidgets){var t=this.session.lineWidgets[e.row];if(t==e)this.session.lineWidgets[e.row]=e.$oldWidget,e.$oldWidget&&this.onWidgetChanged(e.$oldWidget);else for(;t;){if(t.$oldWidget==e){t.$oldWidget=e.$oldWidget;break}t=t.$oldWidget}}this.session._emit("changeFold",{data:{start:{row:e.row}}}),this.$updateRows()},this.getWidgetsAtRow=function(e){for(var t=this.session.lineWidgets,n=t&&t[e],r=[];n;)r.push(n),n=n.$oldWidget;return r},this.onWidgetChanged=function(e){this.session._changedWidgets.push(e),this.editor&&this.editor.renderer.updateFull()},this.measureWidgets=function(e,t){var n=this.session._changedWidgets,r=t.layerConfig;if(n&&n.length){for(var i=1/0,o=0;o<n.length;o++){var a=n[o];if(a&&a.el&&a.session==this.session){if(!a._inDocument){if(this.session.lineWidgets[a.row]!=a)continue;a._inDocument=!0,t.container.appendChild(a.el)}a.h=a.el.offsetHeight,a.fixedWidth||(a.w=a.el.offsetWidth,a.screenWidth=Math.ceil(a.w/r.characterWidth));var s=a.h/r.lineHeight;a.coverLine&&(s-=this.session.getRowLineCount(a.row))<0&&(s=0),a.rowCount!=s&&(a.rowCount=s,a.row<i&&(i=a.row))}}i!=1/0&&(this.session._emit("changeFold",{data:{start:{row:i}}}),this.session.lineWidgetWidth=null),this.session._changedWidgets=[]}},this.renderWidgets=function(e,t){var n=t.layerConfig,r=this.session.lineWidgets;if(r){for(var i=Math.min(this.firstRow,n.firstRow),o=Math.max(this.lastRow,n.lastRow,r.length);i>0&&!r[i];)i--;this.firstRow=n.firstRow,this.lastRow=n.lastRow,t.$cursorLayer.config=n;for(var a=i;a<=o;a++){var s=r[a];if(s&&s.el)if(s.hidden)s.el.style.top=-100-(s.pixelHeight||0)+"px";else{s._inDocument||(s._inDocument=!0,t.container.appendChild(s.el));var l=t.$cursorLayer.getPixelPosition({row:a,column:0},!0).top;s.coverLine||(l+=n.lineHeight*this.session.getRowLineCount(s.row)),s.el.style.top=l-n.offset+"px";var c=s.coverGutter?0:t.gutterWidth;s.fixedWidth||(c-=t.scrollLeft),s.el.style.left=c+"px",s.fullWidth&&s.screenWidth&&(s.el.style.minWidth=n.width+2*n.padding+"px"),s.fixedWidth?s.el.style.right=t.scrollBar.getWidth()+"px":s.el.style.right=""}}}}}.call(i.prototype),t.LineWidgets=i})),ace.define("ace/ext/error_marker",["require","exports","module","ace/line_widgets","ace/lib/dom","ace/range"],(function(e,t,n){"use strict";var r=e("../line_widgets").LineWidgets,i=e("../lib/dom"),o=e("../range").Range;t.showErrorMarker=function(e,t){var n=e.session;n.widgetManager||(n.widgetManager=new r(n),n.widgetManager.attach(e));var a=e.getCursorPosition(),s=a.row,l=n.widgetManager.getWidgetsAtRow(s).filter((function(e){return"errorMarker"==e.type}))[0];l?l.destroy():s-=t;var c,u=function(e,t,n){var r=e.getAnnotations().sort(o.comparePoints);if(r.length){var i=function(e,t,n){for(var r=0,i=e.length-1;r<=i;){var o=r+i>>1,a=n(t,e[o]);if(a>0)r=o+1;else{if(!(a<0))return o;i=o-1}}return-(r+1)}(r,{row:t,column:-1},o.comparePoints);i<0&&(i=-i-1),i>=r.length?i=n>0?0:r.length-1:0===i&&n<0&&(i=r.length-1);var a=r[i];if(a&&n){if(a.row===t){do{a=r[i+=n]}while(a&&a.row===t);if(!a)return r.slice()}var s=[];t=a.row;do{s[n<0?"unshift":"push"](a),a=r[i+=n]}while(a&&a.row==t);return s.length&&s}}}(n,s,t);if(u){var h=u[0];a.column=(h.pos&&"number"!=typeof h.column?h.pos.sc:h.column)||0,a.row=h.row,c=e.renderer.$gutterLayer.$annotations[a.row]}else{if(l)return;c={text:["Looks good!"],className:"ace_ok"}}e.session.unfold(a.row),e.selection.moveToPosition(a);var p={row:a.row,fixedWidth:!0,coverGutter:!0,el:i.createElement("div"),type:"errorMarker"},d=p.el.appendChild(i.createElement("div")),f=p.el.appendChild(i.createElement("div"));f.className="error_widget_arrow "+c.className;var m=e.renderer.$cursorLayer.getPixelPosition(a).left;f.style.left=m+e.renderer.gutterWidth-5+"px",p.el.className="error_widget_wrapper",d.className="error_widget "+c.className,d.innerHTML=c.text.join("<br>"),d.appendChild(i.createElement("div"));var g=function(e,t,n){if(0===t&&("esc"===n||"return"===n))return p.destroy(),{command:"null"}};p.destroy=function(){e.$mouseHandler.isMousePressed||(e.keyBinding.removeKeyboardHandler(g),n.widgetManager.removeLineWidget(p),e.off("changeSelection",p.destroy),e.off("changeSession",p.destroy),e.off("mouseup",p.destroy),e.off("change",p.destroy))},e.keyBinding.addKeyboardHandler(g),e.on("changeSelection",p.destroy),e.on("changeSession",p.destroy),e.on("mouseup",p.destroy),e.on("change",p.destroy),e.session.widgetManager.addLineWidget(p),p.el.onmousedown=e.focus.bind(e),e.renderer.scrollCursorIntoView(null,.5,{bottom:p.el.offsetHeight})},i.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,r){"use strict";e("./lib/fixoldbrowsers");var i=e("./lib/dom"),o=e("./lib/event"),a=e("./editor").Editor,s=e("./edit_session").EditSession,l=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.require=e,t.define=n.amdD,t.edit=function(e){if("string"==typeof e){var n=e;if(!(e=document.getElementById(n)))throw new Error("ace.edit can't find div #"+n)}if(e&&e.env&&e.env.editor instanceof a)return e.env.editor;var r="";if(e&&/input|textarea/i.test(e.tagName)){var s=e;r=s.value,e=i.createElement("pre"),s.parentNode.replaceChild(e,s)}else e&&(r=i.getInnerText(e),e.innerHTML="");var l=t.createEditSession(r),u=new a(new c(e));u.setSession(l);var h={document:l,editor:u,onResize:u.resize.bind(u,null)};return s&&(h.textarea=s),o.addListener(window,"resize",h.onResize),u.on("destroy",(function(){o.removeListener(window,"resize",h.onResize),h.editor.container.env=null})),u.container.env=u.env=h,u},t.createEditSession=function(e,t){var n=new s(e,t);return n.setUndoManager(new l),n},t.EditSession=s,t.UndoManager=l,t.version="1.2.6"})),ace.require(["ace/ace"],(function(e){for(var t in e&&(e.config.init(!0),e.define=ace.define),window.ace||(window.ace=e),e)e.hasOwnProperty(t)&&(window.ace[t]=e[t])}))},651:()=>{function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e(t)}ace.define("ace/snippets",["require","exports","module","ace/lib/oop","ace/lib/event_emitter","ace/lib/lang","ace/range","ace/anchor","ace/keyboard/hash_handler","ace/tokenizer","ace/lib/dom","ace/editor"],(function(t,n,r){"use strict";var i=t("./lib/oop"),o=t("./lib/event_emitter").EventEmitter,a=t("./lib/lang"),s=t("./range").Range,l=t("./anchor").Anchor,c=t("./keyboard/hash_handler").HashHandler,u=t("./tokenizer").Tokenizer,h=s.comparePoints,p=function(){this.snippetMap={},this.snippetNameMap={}};(function(){i.implement(this,o),this.getTokenizer=function(){function e(e,t,n){return e=e.substr(1),/^\d+$/.test(e)&&!n.inFormatString?[{tabstopId:parseInt(e,10)}]:[{text:e}]}function t(e){return"(?:[^\\\\"+e+"]|\\\\.)"}return p.$tokenizer=new u({start:[{regex:/:/,onMatch:function(e,t,n){return n.length&&n[0].expectIf?(n[0].expectIf=!1,n[0].elseBranch=n[0],[n[0]]):":"}},{regex:/\\./,onMatch:function(e,t,n){var r=e[1];return"}"==r&&n.length||-1!="`$\\".indexOf(r)?e=r:n.inFormatString&&("n"==r||"t"==r?e="\n":-1!="ulULE".indexOf(r)&&(e={changeCase:r,local:r>"a"})),[e]}},{regex:/}/,onMatch:function(e,t,n){return[n.length?n.shift():e]}},{regex:/\$(?:\d+|\w+)/,onMatch:e},{regex:/\$\{[\dA-Z_a-z]+/,onMatch:function(t,n,r){var i=e(t.substr(1),0,r);return r.unshift(i[0]),i},next:"snippetVar"},{regex:/\n/,token:"newline",merge:!1}],snippetVar:[{regex:"\\|"+t("\\|")+"*\\|",onMatch:function(e,t,n){n[0].choices=e.slice(1,-1).split(",")},next:"start"},{regex:"/("+t("/")+"+)/(?:("+t("/")+"*)/)(\\w*):?",onMatch:function(e,t,n){var r=n[0];return r.fmtString=e,e=this.splitRegex.exec(e),r.guard=e[1],r.fmt=e[2],r.flag=e[3],""},next:"start"},{regex:"`"+t("`")+"*`",onMatch:function(e,t,n){return n[0].code=e.splice(1,-1),""},next:"start"},{regex:"\\?",onMatch:function(e,t,n){n[0]&&(n[0].expectIf=!0)},next:"start"},{regex:"([^:}\\\\]|\\\\.)*:?",token:"",next:"start"}],formatString:[{regex:"/("+t("/")+"+)/",token:"regex"},{regex:"",onMatch:function(e,t,n){n.inFormatString=!0},next:"start"}]}),p.prototype.getTokenizer=function(){return p.$tokenizer},p.$tokenizer},this.tokenizeTmSnippet=function(e,t){return this.getTokenizer().getLineTokens(e,t).tokens.map((function(e){return e.value||e}))},this.$getDefaultValue=function(e,t){if(/^[A-Z]\d+$/.test(t)){var n=t.substr(1);return(this.variables[t[0]+"__"]||{})[n]}if(/^\d+$/.test(t))return(this.variables.__||{})[t];if(t=t.replace(/^TM_/,""),e){var r=e.session;switch(t){case"CURRENT_WORD":var i=r.getWordRange();case"SELECTION":case"SELECTED_TEXT":return r.getTextRange(i);case"CURRENT_LINE":return r.getLine(e.getCursorPosition().row);case"PREV_LINE":return r.getLine(e.getCursorPosition().row-1);case"LINE_INDEX":return e.getCursorPosition().column;case"LINE_NUMBER":return e.getCursorPosition().row+1;case"SOFT_TABS":return r.getUseSoftTabs()?"YES":"NO";case"TAB_SIZE":return r.getTabSize();case"FILENAME":case"FILEPATH":return"";case"FULLNAME":return"Ace"}}},this.variables={},this.getVariableValue=function(e,t){return this.variables.hasOwnProperty(t)?this.variables[t](e,t)||"":this.$getDefaultValue(e,t)||""},this.tmStrFormat=function(t,n,r){var i=n.flag||"",o=n.guard;o=new RegExp(o,i.replace(/[^gi]/,""));var a=this.tokenizeTmSnippet(n.fmt,"formatString"),s=this,l=t.replace(o,(function(){s.variables.__=arguments;for(var t=s.resolveVariables(a,r),n="E",i=0;i<t.length;i++){var o=t[i];if("object"==e(o))if(t[i]="",o.changeCase&&o.local){var l=t[i+1];l&&"string"==typeof l&&("u"==o.changeCase?t[i]=l[0].toUpperCase():t[i]=l[0].toLowerCase(),t[i+1]=l.substr(1))}else o.changeCase&&(n=o.changeCase);else"U"==n?t[i]=o.toUpperCase():"L"==n&&(t[i]=o.toLowerCase())}return t.join("")}));return this.variables.__=null,l},this.resolveVariables=function(t,n){for(var r=[],i=0;i<t.length;i++){var o=t[i];if("string"==typeof o)r.push(o);else{if("object"!=e(o))continue;if(o.skip)s(o);else{if(o.processed<i)continue;if(o.text){var a=this.getVariableValue(n,o.text);a&&o.fmtString&&(a=this.tmStrFormat(a,o)),o.processed=i,null==o.expectIf?a&&(r.push(a),s(o)):a?o.skip=o.elseBranch:s(o)}else(null!=o.tabstopId||null!=o.changeCase)&&r.push(o)}}}function s(e){var n=t.indexOf(e,i+1);-1!=n&&(i=n)}return r},this.insertSnippetForSelection=function(t,n){var r=t.getCursorPosition(),i=t.session.getLine(r.row),o=t.session.getTabString(),a=i.match(/^\s*/)[0];r.column<a.length&&(a=a.slice(0,r.column)),n=n.replace(/\r/g,"");var s=this.tokenizeTmSnippet(n);s=(s=this.resolveVariables(s,t)).map((function(e){return"\n"==e?e+a:"string"==typeof e?e.replace(/\t/g,o):e}));var l=[];s.forEach((function(t,n){if("object"==e(t)){var r=t.tabstopId,i=l[r];if(i||((i=l[r]=[]).index=r,i.value=""),-1===i.indexOf(t)){i.push(t);var o=s.indexOf(t,n+1);if(-1!==o){var a=s.slice(n+1,o);a.some((function(t){return"object"===e(t)}))&&!i.value?i.value=a:!a.length||i.value&&"string"==typeof i.value||(i.value=a.join(""))}}}})),l.forEach((function(e){e.length=0}));var c={};function u(t){for(var n=[],r=0;r<t.length;r++){var i=t[r];if("object"==e(i)){if(c[i.tabstopId])continue;i=n[t.lastIndexOf(i,r-1)]||{tabstopId:i.tabstopId}}n[r]=i}return n}for(var h=0;h<s.length;h++){var p=s[h];if("object"==e(p)){var f=p.tabstopId,m=s.indexOf(p,h+1);if(c[f])c[f]===p&&(c[f]=null);else{var g=l[f],y="string"==typeof g.value?[g.value]:u(g.value);y.unshift(h+1,Math.max(0,m-h)),y.push(p),c[f]=p,s.splice.apply(s,y),-1===g.indexOf(p)&&g.push(p)}}}var v=0,_=0,b="";s.forEach((function(e){if("string"==typeof e){var t=e.split("\n");t.length>1?(_=t[t.length-1].length,v+=t.length-1):_+=e.length,b+=e}else e.start?e.end={row:v,column:_}:e.start={row:v,column:_}}));var E=t.getSelectionRange(),T=t.session.replace(E,b),x=new d(t),S=t.inVirtualSelectionMode&&t.selection.index;x.addTabstops(l,E.start,T,S)},this.insertSnippet=function(e,t){var n=this;if(e.inVirtualSelectionMode)return n.insertSnippetForSelection(e,t);e.forEachSelection((function(){n.insertSnippetForSelection(e,t)}),null,{keepOrder:!0}),e.tabstopManager&&e.tabstopManager.tabNext()},this.$getScope=function(t){var n=t.session.$mode.$id||"";if("html"===(n=n.split("/").pop())||"php"===n){"php"!==n||t.session.$mode.inlinePhp||(n="html");var r=t.getCursorPosition(),i=t.session.getState(r.row);"object"===e(i)&&(i=i[0]),i.substring&&("js-"==i.substring(0,3)?n="javascript":"css-"==i.substring(0,4)?n="css":"php-"==i.substring(0,4)&&(n="php"))}return n},this.getActiveScopes=function(e){var t=this.$getScope(e),n=[t],r=this.snippetMap;return r[t]&&r[t].includeScopes&&n.push.apply(n,r[t].includeScopes),n.push("_"),n},this.expandWithTab=function(e,t){var n=this,r=e.forEachSelection((function(){return n.expandSnippetForSelection(e,t)}),null,{keepOrder:!0});return r&&e.tabstopManager&&e.tabstopManager.tabNext(),r},this.expandSnippetForSelection=function(e,t){var n,r=e.getCursorPosition(),i=e.session.getLine(r.row),o=i.substring(0,r.column),a=i.substr(r.column),s=this.snippetMap;return this.getActiveScopes(e).some((function(e){var t=s[e];return t&&(n=this.findMatchingSnippet(t,o,a)),!!n}),this),!!n&&(t&&t.dryRun||(e.session.doc.removeInLine(r.row,r.column-n.replaceBefore.length,r.column+n.replaceAfter.length),this.variables.M__=n.matchBefore,this.variables.T__=n.matchAfter,this.insertSnippetForSelection(e,n.content),this.variables.M__=this.variables.T__=null),!0)},this.findMatchingSnippet=function(e,t,n){for(var r=e.length;r--;){var i=e[r];if((!i.startRe||i.startRe.test(t))&&(!i.endRe||i.endRe.test(n))&&(i.startRe||i.endRe))return i.matchBefore=i.startRe?i.startRe.exec(t):[""],i.matchAfter=i.endRe?i.endRe.exec(n):[""],i.replaceBefore=i.triggerRe?i.triggerRe.exec(t)[0]:"",i.replaceAfter=i.endTriggerRe?i.endTriggerRe.exec(n)[0]:"",i}},this.snippetMap={},this.snippetNameMap={},this.register=function(e,t){var n=this.snippetMap,r=this.snippetNameMap,i=this;function o(e){return e&&!/^\^?\(.*\)\$?$|^\\b$/.test(e)&&(e="(?:"+e+")"),e||""}function s(e,t,n){return e=o(e),t=o(t),n?(e=t+e)&&"$"!=e[e.length-1]&&(e+="$"):(e+=t)&&"^"!=e[0]&&(e="^"+e),new RegExp(e)}function l(e){e.scope||(e.scope=t||"_"),t=e.scope,n[t]||(n[t]=[],r[t]={});var o=r[t];if(e.name){var l=o[e.name];l&&i.unregister(l),o[e.name]=e}n[t].push(e),e.tabTrigger&&!e.trigger&&(!e.guard&&/^\w/.test(e.tabTrigger)&&(e.guard="\\b"),e.trigger=a.escapeRegExp(e.tabTrigger)),(e.trigger||e.guard||e.endTrigger||e.endGuard)&&(e.startRe=s(e.trigger,e.guard,!0),e.triggerRe=new RegExp(e.trigger,"",!0),e.endRe=s(e.endTrigger,e.endGuard,!0),e.endTriggerRe=new RegExp(e.endTrigger,"",!0))}e||(e=[]),e&&e.content?l(e):Array.isArray(e)&&e.forEach(l),this._signal("registerSnippets",{scope:t})},this.unregister=function(e,t){var n=this.snippetMap,r=this.snippetNameMap;function i(e){var i=r[e.scope||t];if(i&&i[e.name]){delete i[e.name];var o=n[e.scope||t],a=o&&o.indexOf(e);a>=0&&o.splice(a,1)}}e.content?i(e):Array.isArray(e)&&e.forEach(i)},this.parseSnippetFile=function(e){e=e.replace(/\r/g,"");for(var t,n=[],r={},i=/^#.*|^({[\s\S]*})\s*$|^(\S+) (.*)$|^((?:\n*\t.*)+)/gm;t=i.exec(e);){if(t[1])try{r=JSON.parse(t[1]),n.push(r)}catch(e){}if(t[4])r.content=t[4].replace(/^\t/gm,""),n.push(r),r={};else{var o=t[2],a=t[3];if("regex"==o){var s=/\/((?:[^\/\\]|\\.)*)|$/g;r.guard=s.exec(a)[1],r.trigger=s.exec(a)[1],r.endTrigger=s.exec(a)[1],r.endGuard=s.exec(a)[1]}else"snippet"==o?(r.tabTrigger=a.match(/^\S*/)[0],r.name||(r.name=a)):r[o]=a}}return n},this.getSnippetByName=function(e,t){var n,r=this.snippetNameMap;return this.getActiveScopes(t).some((function(t){var i=r[t];return i&&(n=i[e]),!!n}),this),n}}).call(p.prototype);var d=function(e){if(e.tabstopManager)return e.tabstopManager;e.tabstopManager=this,this.$onChange=this.onChange.bind(this),this.$onChangeSelection=a.delayedCall(this.onChangeSelection.bind(this)).schedule,this.$onChangeSession=this.onChangeSession.bind(this),this.$onAfterExec=this.onAfterExec.bind(this),this.attach(e)};(function(){this.attach=function(e){this.index=0,this.ranges=[],this.tabstops=[],this.$openTabstops=null,this.selectedTabstop=null,this.editor=e,this.editor.on("change",this.$onChange),this.editor.on("changeSelection",this.$onChangeSelection),this.editor.on("changeSession",this.$onChangeSession),this.editor.commands.on("afterExec",this.$onAfterExec),this.editor.keyBinding.addKeyboardHandler(this.keyboardHandler)},this.detach=function(){this.tabstops.forEach(this.removeTabstopMarkers,this),this.ranges=null,this.tabstops=null,this.selectedTabstop=null,this.editor.removeListener("change",this.$onChange),this.editor.removeListener("changeSelection",this.$onChangeSelection),this.editor.removeListener("changeSession",this.$onChangeSession),this.editor.commands.removeListener("afterExec",this.$onAfterExec),this.editor.keyBinding.removeKeyboardHandler(this.keyboardHandler),this.editor.tabstopManager=null,this.editor=null},this.onChange=function(e){var t="r"==e.action[0],n=e.start,r=e.end,i=n.row,o=r.row-i,a=r.column-n.column;if(t&&(o=-o,a=-a),!this.$inChange&&t){var s=this.selectedTabstop,l=s&&!s.some((function(e){return h(e.start,n)<=0&&h(e.end,r)>=0}));if(l)return this.detach()}for(var c=this.ranges,u=0;u<c.length;u++){var p=c[u];p.end.row<n.row||(t&&h(n,p.start)<0&&h(r,p.end)>0?(this.removeRange(p),u--):(p.start.row==i&&p.start.column>n.column&&(p.start.column+=a),p.end.row==i&&p.end.column>=n.column&&(p.end.column+=a),p.start.row>=i&&(p.start.row+=o),p.end.row>=i&&(p.end.row+=o),h(p.start,p.end)>0&&this.removeRange(p)))}c.length||this.detach()},this.updateLinkedFields=function(){var e=this.selectedTabstop;if(e&&e.hasLinkedRanges){this.$inChange=!0;for(var t=this.editor.session,r=t.getTextRange(e.firstNonLinked),i=e.length;i--;){var o=e[i];if(o.linked){var a=n.snippetManager.tmStrFormat(r,o.original);t.replace(o,a)}}this.$inChange=!1}},this.onAfterExec=function(e){e.command&&!e.command.readOnly&&this.updateLinkedFields()},this.onChangeSelection=function(){if(this.editor){for(var e=this.editor.selection.lead,t=this.editor.selection.anchor,n=this.editor.selection.isEmpty(),r=this.ranges.length;r--;)if(!this.ranges[r].linked){var i=this.ranges[r].contains(e.row,e.column),o=n||this.ranges[r].contains(t.row,t.column);if(i&&o)return}this.detach()}},this.onChangeSession=function(){this.detach()},this.tabNext=function(e){var t=this.tabstops.length,n=this.index+(e||1);(n=Math.min(Math.max(n,1),t))==t&&(n=0),this.selectTabstop(n),0===n&&this.detach()},this.selectTabstop=function(e){this.$openTabstops=null;var t=this.tabstops[this.index];if(t&&this.addTabstopMarkers(t),this.index=e,(t=this.tabstops[this.index])&&t.length){if(this.selectedTabstop=t,this.editor.inVirtualSelectionMode)this.editor.selection.setRange(t.firstNonLinked);else{var n=this.editor.multiSelect;n.toSingleRange(t.firstNonLinked.clone());for(var r=t.length;r--;)t.hasLinkedRanges&&t[r].linked||n.addRange(t[r].clone(),!0);n.ranges[0]&&n.addRange(n.ranges[0].clone())}this.editor.keyBinding.addKeyboardHandler(this.keyboardHandler)}},this.addTabstops=function(e,t,n){if(this.$openTabstops||(this.$openTabstops=[]),!e[0]){var r=s.fromPoints(n,n);g(r.start,t),g(r.end,t),e[0]=[r],e[0].index=0}var i=[this.index+1,0],o=this.ranges;e.forEach((function(e,n){for(var r=this.$openTabstops[n]||e,a=e.length;a--;){var l=e[a],c=s.fromPoints(l.start,l.end||l.start);m(c.start,t),m(c.end,t),c.original=l,c.tabstop=r,o.push(c),r!=e?r.unshift(c):r[a]=c,l.fmtString?(c.linked=!0,r.hasLinkedRanges=!0):r.firstNonLinked||(r.firstNonLinked=c)}r.firstNonLinked||(r.hasLinkedRanges=!1),r===e&&(i.push(r),this.$openTabstops[n]=r),this.addTabstopMarkers(r)}),this),i.length>2&&(this.tabstops.length&&i.push(i.splice(2,1)[0]),this.tabstops.splice.apply(this.tabstops,i))},this.addTabstopMarkers=function(e){var t=this.editor.session;e.forEach((function(e){e.markerId||(e.markerId=t.addMarker(e,"ace_snippet-marker","text"))}))},this.removeTabstopMarkers=function(e){var t=this.editor.session;e.forEach((function(e){t.removeMarker(e.markerId),e.markerId=null}))},this.removeRange=function(e){var t=e.tabstop.indexOf(e);e.tabstop.splice(t,1),t=this.ranges.indexOf(e),this.ranges.splice(t,1),this.editor.session.removeMarker(e.markerId),e.tabstop.length||(-1!=(t=this.tabstops.indexOf(e.tabstop))&&this.tabstops.splice(t,1),this.tabstops.length||this.detach())},this.keyboardHandler=new c,this.keyboardHandler.bindKeys({Tab:function(e){n.snippetManager&&n.snippetManager.expandWithTab(e)||e.tabstopManager.tabNext(1)},"Shift-Tab":function(e){e.tabstopManager.tabNext(-1)},Esc:function(e){e.tabstopManager.detach()},Return:function(e){return!1}})}).call(d.prototype);var f={};f.onChange=l.prototype.onChange,f.setPosition=function(e,t){this.pos.row=e,this.pos.column=t},f.update=function(e,t,n){this.$insertRight=n,this.pos=e,this.onChange(t)};var m=function(e,t){0==e.row&&(e.column+=t.column),e.row+=t.row},g=function(e,t){e.row==t.row&&(e.column-=t.column),e.row-=t.row};t("./lib/dom").importCssString(".ace_snippet-marker { -moz-box-sizing: border-box; box-sizing: border-box; background: rgba(194, 193, 208, 0.09); border: 1px dotted rgba(211, 208, 235, 0.62); position: absolute;}"),n.snippetManager=new p;var y=t("./editor").Editor;(function(){this.insertSnippet=function(e,t){return n.snippetManager.insertSnippet(this,e,t)},this.expandSnippet=function(e){return n.snippetManager.expandWithTab(this,e)}}).call(y.prototype)})),ace.define("ace/autocomplete/popup",["require","exports","module","ace/virtual_renderer","ace/editor","ace/range","ace/lib/event","ace/lib/lang","ace/lib/dom"],(function(e,t,n){"use strict";var r=e("../virtual_renderer").VirtualRenderer,i=e("../editor").Editor,o=e("../range").Range,a=e("../lib/event"),s=e("../lib/lang"),l=e("../lib/dom"),c=function(e){var t=new r(e);t.$maxLines=4;var n=new i(t);return n.setHighlightActiveLine(!1),n.setShowPrintMargin(!1),n.renderer.setShowGutter(!1),n.renderer.setHighlightGutterLine(!1),n.$mouseHandler.$focusWaitTimout=0,n.$highlightTagPending=!0,n};l.importCssString(".ace_editor.ace_autocomplete .ace_marker-layer .ace_active-line { background-color: #CAD6FA; z-index: 1;}.ace_editor.ace_autocomplete .ace_line-hover { border: 1px solid #abbffe; margin-top: -1px; background: rgba(233,233,253,0.4);}.ace_editor.ace_autocomplete .ace_line-hover { position: absolute; z-index: 2;}.ace_editor.ace_autocomplete .ace_scroller { background: none; border: none; box-shadow: none;}.ace_rightAlignedText { color: gray; display: inline-block; position: absolute; right: 4px; text-align: right; z-index: -1;}.ace_editor.ace_autocomplete .ace_completion-highlight{ color: darkviolet; text-shadow: 0 0 0.01em; font-weight: bold;}.ace_editor.ace_autocomplete { width: 280px; z-index: 200000; background: #fbfbfb; color: #444; border: 1px rgba(233,233,253,0.4) solid; position: fixed; box-shadow: 2px 3px 5px rgba(0,0,0,.2); line-height: 1.4;}"),t.AcePopup=function(e){var t=l.createElement("div"),n=new c(t);e&&e.appendChild(t),t.style.display="none",n.renderer.content.style.cursor="default",n.renderer.setStyle("ace_autocomplete"),n.setOption("displayIndentGuides",!1),n.setOption("dragDelay",150);var r,i=function(){};n.focus=i,n.$isFocused=!0,n.renderer.$cursorLayer.restartTimer=i,n.renderer.$cursorLayer.element.style.opacity=0,n.renderer.$maxLines=8,n.renderer.$keepTextAreaAtCursor=!1,n.setHighlightActiveLine(!1),n.session.highlight(""),n.session.$searchHighlight.clazz="ace_highlight-marker",n.on("mousedown",(function(e){var t=e.getDocumentPosition();n.selection.moveToPosition(t),h.start.row=h.end.row=t.row,e.stop()}));var u=new o(-1,0,-1,1/0),h=new o(-1,0,-1,1/0);h.id=n.session.addMarker(h,"ace_active-line","fullLine"),n.setSelectOnHover=function(e){e?u.id&&(n.session.removeMarker(u.id),u.id=null):u.id=n.session.addMarker(u,"ace_line-hover","fullLine")},n.setSelectOnHover(!1),n.on("mousemove",(function(e){if(r){if(r.x!=e.x||r.y!=e.y){(r=e).scrollTop=n.renderer.scrollTop;var t=r.getDocumentPosition().row;u.start.row!=t&&(u.id||n.setRow(t),d(t))}}else r=e})),n.renderer.on("beforeRender",(function(){if(r&&-1!=u.start.row){r.$pos=null;var e=r.getDocumentPosition().row;u.id||n.setRow(e),d(e,!0)}})),n.renderer.on("afterRender",(function(){var e=n.getRow(),t=n.renderer.$textLayer,r=t.element.childNodes[e-t.config.firstRow];r!=t.selectedNode&&(t.selectedNode&&l.removeCssClass(t.selectedNode,"ace_selected"),t.selectedNode=r,r&&l.addCssClass(r,"ace_selected"))}));var p=function(){d(-1)},d=function(e,t){e!==u.start.row&&(u.start.row=u.end.row=e,t||n.session._emit("changeBackMarker"),n._emit("changeHoverMarker"))};n.getHoveredRow=function(){return u.start.row},a.addListener(n.container,"mouseout",p),n.on("hide",p),n.on("changeSelection",p),n.session.doc.getLength=function(){return n.data.length},n.session.doc.getLine=function(e){var t=n.data[e];return"string"==typeof t?t:t&&t.value||""};var f=n.session.bgTokenizer;return f.$tokenizeRow=function(e){var t=n.data[e],r=[];if(!t)return r;"string"==typeof t&&(t={value:t}),t.caption||(t.caption=t.value||t.name);for(var i,o,a=-1,s=0;s<t.caption.length;s++)o=t.caption[s],a!==(i=t.matchMask&1<<s?1:0)?(r.push({type:t.className||(i?"completion-highlight":""),value:o}),a=i):r[r.length-1].value+=o;if(t.meta){var l=n.renderer.$size.scrollerWidth/n.renderer.layerConfig.characterWidth,c=t.meta;c.length+t.caption.length>l-2&&(c=c.substr(0,l-t.caption.length-3)+"…"),r.push({type:"rightAlignedText",value:c})}return r},f.$updateOnChange=i,f.start=i,n.session.$computeWidth=function(){return this.screenWidth=0},n.$blockScrolling=1/0,n.isOpen=!1,n.isTopdown=!1,n.data=[],n.setData=function(e){n.setValue(s.stringRepeat("\n",e.length),-1),n.data=e||[],n.setRow(0)},n.getData=function(e){return n.data[e]},n.getRow=function(){return h.start.row},n.setRow=function(e){e=Math.max(0,Math.min(this.data.length,e)),h.start.row!=e&&(n.selection.clearSelection(),h.start.row=h.end.row=e||0,n.session._emit("changeBackMarker"),n.moveCursorTo(e||0,0),n.isOpen&&n._signal("select"))},n.on("changeSelection",(function(){n.isOpen&&n.setRow(n.selection.lead.row),n.renderer.scrollCursorIntoView()})),n.hide=function(){this.container.style.display="none",this._signal("hide"),n.isOpen=!1},n.show=function(e,t,i){var o=this.container,a=window.innerHeight,s=window.innerWidth,l=this.renderer,c=l.$maxLines*t*1.4,u=e.top+this.$borderSize;u>a/2&&!i&&u+t+c>a?(l.$maxPixelHeight=u-2*this.$borderSize,o.style.top="",o.style.bottom=a-u+"px",n.isTopdown=!1):(u+=t,l.$maxPixelHeight=a-u-.2*t,o.style.top=u+"px",o.style.bottom="",n.isTopdown=!0),o.style.display="",this.renderer.$textLayer.checkForSizeChanges();var h=e.left;h+o.offsetWidth>s&&(h=s-o.offsetWidth),o.style.left=h+"px",this._signal("show"),r=null,n.isOpen=!0},n.getTextLeftOffset=function(){return this.$borderSize+this.renderer.$padding+this.$imageSize},n.$imageSize=0,n.$borderSize=1,n}})),ace.define("ace/autocomplete/util",["require","exports","module"],(function(e,t,n){"use strict";t.parForEach=function(e,t,n){var r=0,i=e.length;0===i&&n();for(var o=0;o<i;o++)t(e[o],(function(e,t){++r===i&&n(e,t)}))};var r=/[a-zA-Z_0-9\$\-\u00A2-\uFFFF]/;t.retrievePrecedingIdentifier=function(e,t,n){n=n||r;for(var i=[],o=t-1;o>=0&&n.test(e[o]);o--)i.push(e[o]);return i.reverse().join("")},t.retrieveFollowingIdentifier=function(e,t,n){n=n||r;for(var i=[],o=t;o<e.length&&n.test(e[o]);o++)i.push(e[o]);return i},t.getCompletionPrefix=function(e){var t,n=e.getCursorPosition(),r=e.session.getLine(n.row);return e.completers.forEach(function(e){e.identifierRegexps&&e.identifierRegexps.forEach(function(e){!t&&e&&(t=this.retrievePrecedingIdentifier(r,n.column,e))}.bind(this))}.bind(this)),t||this.retrievePrecedingIdentifier(r,n.column)}})),ace.define("ace/autocomplete",["require","exports","module","ace/keyboard/hash_handler","ace/autocomplete/popup","ace/autocomplete/util","ace/lib/event","ace/lib/lang","ace/lib/dom","ace/snippets"],(function(e,t,n){"use strict";var r=e("./keyboard/hash_handler").HashHandler,i=e("./autocomplete/popup").AcePopup,o=e("./autocomplete/util"),a=(e("./lib/event"),e("./lib/lang")),s=e("./lib/dom"),l=e("./snippets").snippetManager,c=function(){this.autoInsert=!1,this.autoSelect=!0,this.exactMatch=!1,this.gatherCompletionsId=0,this.keyboardHandler=new r,this.keyboardHandler.bindKeys(this.commands),this.blurListener=this.blurListener.bind(this),this.changeListener=this.changeListener.bind(this),this.mousedownListener=this.mousedownListener.bind(this),this.mousewheelListener=this.mousewheelListener.bind(this),this.changeTimer=a.delayedCall(function(){this.updateCompletions(!0)}.bind(this)),this.tooltipTimer=a.delayedCall(this.updateDocTooltip.bind(this),50)};(function(){this.$init=function(){return this.popup=new i(document.body||document.documentElement),this.popup.on("click",function(e){this.insertMatch(),e.stop()}.bind(this)),this.popup.focus=this.editor.focus.bind(this.editor),this.popup.on("show",this.tooltipTimer.bind(null,null)),this.popup.on("select",this.tooltipTimer.bind(null,null)),this.popup.on("changeHoverMarker",this.tooltipTimer.bind(null,null)),this.popup},this.getPopup=function(){return this.popup||this.$init()},this.openPopup=function(e,t,n){this.popup||this.$init(),this.popup.setData(this.completions.filtered),e.keyBinding.addKeyboardHandler(this.keyboardHandler);var r=e.renderer;if(this.popup.setRow(this.autoSelect?0:-1),n)n&&!t&&this.detach();else{this.popup.setTheme(e.getTheme()),this.popup.setFontSize(e.getFontSize());var i=r.layerConfig.lineHeight,o=r.$cursorLayer.getPixelPosition(this.base,!0);o.left-=this.popup.getTextLeftOffset();var a=e.container.getBoundingClientRect();o.top+=a.top-r.layerConfig.offset,o.left+=a.left-e.renderer.scrollLeft,o.left+=r.gutterWidth,this.popup.show(o,i)}},this.detach=function(){this.editor.keyBinding.removeKeyboardHandler(this.keyboardHandler),this.editor.off("changeSelection",this.changeListener),this.editor.off("blur",this.blurListener),this.editor.off("mousedown",this.mousedownListener),this.editor.off("mousewheel",this.mousewheelListener),this.changeTimer.cancel(),this.hideDocTooltip(),this.gatherCompletionsId+=1,this.popup&&this.popup.isOpen&&this.popup.hide(),this.base&&this.base.detach(),this.activated=!1,this.completions=this.base=null},this.changeListener=function(e){var t=this.editor.selection.lead;(t.row!=this.base.row||t.column<this.base.column)&&this.detach(),this.activated?this.changeTimer.schedule():this.detach()},this.blurListener=function(e){var t=document.activeElement,n=this.editor.textInput.getElement(),r=e.relatedTarget&&this.tooltipNode.contains(e.relatedTarget),i=this.popup&&this.popup.container;t==n||t.parentNode==i||r||t==this.tooltipNode||e.relatedTarget==n||this.detach()},this.mousedownListener=function(e){this.detach()},this.mousewheelListener=function(e){this.detach()},this.goTo=function(e){var t=this.popup.getRow(),n=this.popup.session.getLength()-1;switch(e){case"up":t=t<=0?n:t-1;break;case"down":t=t>=n?-1:t+1;break;case"start":t=0;break;case"end":t=n}this.popup.setRow(t)},this.insertMatch=function(e,t){if(e||(e=this.popup.getData(this.popup.getRow())),!e)return!1;if(e.completer&&e.completer.insertMatch)e.completer.insertMatch(this.editor,e);else{if(this.completions.filterText)for(var n,r=this.editor.selection.getAllRanges(),i=0;n=r[i];i++)n.start.column-=this.completions.filterText.length,this.editor.session.remove(n);e.snippet?l.insertSnippet(this.editor,e.snippet):this.editor.execCommand("insertstring",e.value||e)}this.detach()},this.commands={Up:function(e){e.completer.goTo("up")},Down:function(e){e.completer.goTo("down")},"Ctrl-Up|Ctrl-Home":function(e){e.completer.goTo("start")},"Ctrl-Down|Ctrl-End":function(e){e.completer.goTo("end")},Esc:function(e){e.completer.detach()},Return:function(e){return e.completer.insertMatch()},"Shift-Return":function(e){e.completer.insertMatch(null,{deleteSuffix:!0})},Tab:function(e){var t=e.completer.insertMatch();if(t||e.tabstopManager)return t;e.completer.goTo("down")},PageUp:function(e){e.completer.popup.gotoPageUp()},PageDown:function(e){e.completer.popup.gotoPageDown()}},this.gatherCompletions=function(e,t){var n=e.getSession(),r=e.getCursorPosition(),i=(n.getLine(r.row),o.getCompletionPrefix(e));this.base=n.doc.createAnchor(r.row,r.column-i.length),this.base.$insertRight=!0;var a=[],s=e.completers.length;return e.completers.forEach((function(o,l){o.getCompletions(e,n,r,i,(function(r,o){!r&&o&&(a=a.concat(o));var l=e.getCursorPosition();n.getLine(l.row),t(null,{prefix:i,matches:a,finished:0==--s})}))})),!0},this.showPopup=function(e){this.editor&&this.detach(),this.activated=!0,this.editor=e,e.completer!=this&&(e.completer&&e.completer.detach(),e.completer=this),e.on("changeSelection",this.changeListener),e.on("blur",this.blurListener),e.on("mousedown",this.mousedownListener),e.on("mousewheel",this.mousewheelListener),this.updateCompletions()},this.updateCompletions=function(e){if(e&&this.base&&this.completions){var t=this.editor.getCursorPosition(),n=this.editor.session.getTextRange({start:this.base,end:t});if(n==this.completions.filterText)return;return this.completions.setFilter(n),this.completions.filtered.length&&(1!=this.completions.filtered.length||this.completions.filtered[0].value!=n||this.completions.filtered[0].snippet)?void this.openPopup(this.editor,n,e):this.detach()}var r=this.gatherCompletionsId;this.gatherCompletions(this.editor,function(t,n){var i=function(){if(n.finished)return this.detach()}.bind(this),o=n.prefix,a=n&&n.matches;if(!a||!a.length)return i();if(0===o.indexOf(n.prefix)&&r==this.gatherCompletionsId){this.completions=new u(a),this.exactMatch&&(this.completions.exactMatch=!0),this.completions.setFilter(o);var s=this.completions.filtered;return s.length&&(1!=s.length||s[0].value!=o||s[0].snippet)?this.autoInsert&&1==s.length&&n.finished?this.insertMatch(s[0]):void this.openPopup(this.editor,o,e):i()}}.bind(this))},this.cancelContextMenu=function(){this.editor.$mouseHandler.cancelContextMenu()},this.updateDocTooltip=function(){var e=this.popup,t=e.data,n=t&&(t[e.getHoveredRow()]||t[e.getRow()]),r=null;return n&&this.editor&&this.popup.isOpen?(this.editor.completers.some((function(e){return e.getDocTooltip&&(r=e.getDocTooltip(n)),r})),r||(r=n),"string"==typeof r&&(r={docText:r}),r&&(r.docHTML||r.docText)?void this.showDocTooltip(r):this.hideDocTooltip()):this.hideDocTooltip()},this.showDocTooltip=function(e){this.tooltipNode||(this.tooltipNode=s.createElement("div"),this.tooltipNode.className="ace_tooltip ace_doc-tooltip",this.tooltipNode.style.margin=0,this.tooltipNode.style.pointerEvents="auto",this.tooltipNode.tabIndex=-1,this.tooltipNode.onblur=this.blurListener.bind(this),this.tooltipNode.onclick=this.onTooltipClick.bind(this));var t=this.tooltipNode;e.docHTML?t.innerHTML=e.docHTML:e.docText&&(t.textContent=e.docText),t.parentNode||document.body.appendChild(t);var n=this.popup,r=n.container.getBoundingClientRect();t.style.top=n.container.style.top,t.style.bottom=n.container.style.bottom,window.innerWidth-r.right<320?(t.style.right=window.innerWidth-r.left+"px",t.style.left=""):(t.style.left=r.right+1+"px",t.style.right=""),t.style.display="block"},this.hideDocTooltip=function(){if(this.tooltipTimer.cancel(),this.tooltipNode){var e=this.tooltipNode;this.editor.isFocused()||document.activeElement!=e||this.editor.focus(),this.tooltipNode=null,e.parentNode&&e.parentNode.removeChild(e)}},this.onTooltipClick=function(e){for(var t=e.target;t&&t!=this.tooltipNode;){if("A"==t.nodeName&&t.href){t.rel="noreferrer",t.target="_blank";break}t=t.parentNode}}}).call(c.prototype),c.startCommand={name:"startAutocomplete",exec:function(e){e.completer||(e.completer=new c),e.completer.autoInsert=!1,e.completer.autoSelect=!0,e.completer.showPopup(e),e.completer.cancelContextMenu()},bindKey:"Ctrl-Space|Ctrl-Shift-Space|Alt-Space"};var u=function(e,t){this.all=e,this.filtered=e,this.filterText=t||"",this.exactMatch=!1};(function(){this.setFilter=function(e){if(e.length>this.filterText&&0===e.lastIndexOf(this.filterText,0))var t=this.filtered;else t=this.all;this.filterText=e,t=(t=this.filterCompletions(t,this.filterText)).sort((function(e,t){return t.exactMatch-e.exactMatch||t.score-e.score}));var n=null;t=t.filter((function(e){var t=e.snippet||e.caption||e.value;return t!==n&&(n=t,!0)})),this.filtered=t},this.filterCompletions=function(e,t){var n=[],r=t.toUpperCase(),i=t.toLowerCase();e:for(var o,a=0;o=e[a];a++){var s=o.value||o.caption||o.snippet;if(s){var l,c,u=-1,h=0,p=0;if(this.exactMatch){if(t!==s.substr(0,t.length))continue e}else for(var d=0;d<t.length;d++){var f=s.indexOf(i[d],u+1),m=s.indexOf(r[d],u+1);if((l=f>=0&&(m<0||f<m)?f:m)<0)continue e;(c=l-u-1)>0&&(-1===u&&(p+=10),p+=c),h|=1<<l,u=l}o.matchMask=h,o.exactMatch=p?0:1,o.score=(o.score||0)-p,n.push(o)}}return n}}).call(u.prototype),t.Autocomplete=c,t.FilteredList=u})),ace.define("ace/autocomplete/text_completer",["require","exports","module","ace/range"],(function(e,t,n){var r=e("../range").Range,i=/[^a-zA-Z_0-9\$\-\u00C0-\u1FFF\u2C00-\uD7FF\w]+/;t.getCompletions=function(e,t,n,o,a){var s=function(e,t){var n=function(e,t){return e.getTextRange(r.fromPoints({row:0,column:0},t)).split(i).length-1}(e,t),o=e.getValue().split(i),a=Object.create(null),s=o[n];return o.forEach((function(e,t){if(e&&e!==s){var r=Math.abs(n-t),i=o.length-r;a[e]?a[e]=Math.max(i,a[e]):a[e]=i}})),a}(t,n);a(null,Object.keys(s).map((function(e){return{caption:e,value:e,score:s[e],meta:"local"}})))}})),ace.define("ace/ext/language_tools",["require","exports","module","ace/snippets","ace/autocomplete","ace/config","ace/lib/lang","ace/autocomplete/util","ace/autocomplete/text_completer","ace/editor","ace/config"],(function(e,t,n){"use strict";var r=e("../snippets").snippetManager,i=e("../autocomplete").Autocomplete,o=e("../config"),a=e("../lib/lang"),s=e("../autocomplete/util"),l=e("../autocomplete/text_completer"),c={getCompletions:function(e,t,n,r,i){if(t.$mode.completer)return t.$mode.completer.getCompletions(e,t,n,r,i);var o=e.session.getState(n.row);i(null,t.$mode.getCompletions(o,t,n,r))}},u={getCompletions:function(e,t,n,i,o){var a=r.snippetMap,s=[];r.getActiveScopes(e).forEach((function(e){for(var t=a[e]||[],n=t.length;n--;){var r=t[n],i=r.name||r.tabTrigger;i&&s.push({caption:i,snippet:r.content,meta:r.tabTrigger&&!r.name?r.tabTrigger+"⇥ ":"snippet",type:"snippet"})}}),this),o(null,s)},getDocTooltip:function(e){"snippet"!=e.type||e.docHTML||(e.docHTML=["<b>",a.escapeHTML(e.caption),"</b>","<hr></hr>",a.escapeHTML(e.snippet)].join(""))}},h=[u,l,c];t.setCompleters=function(e){h.length=0,e&&h.push.apply(h,e)},t.addCompleter=function(e){h.push(e)},t.textCompleter=l,t.keyWordCompleter=c,t.snippetCompleter=u;var p={name:"expandSnippet",exec:function(e){return r.expandWithTab(e)},bindKey:"Tab"},d=function(e,t){f(t.session.$mode)},f=function e(t){var n=t.$id;r.files||(r.files={}),m(n),t.modes&&t.modes.forEach(e)},m=function e(t){if(t&&!r.files[t]){var n=t.replace("mode","snippets");r.files[t]={},o.loadModule(n,(function(n){n&&(r.files[t]=n,!n.snippets&&n.snippetText&&(n.snippets=r.parseSnippetFile(n.snippetText)),r.register(n.snippets||[],n.scope),n.includeScopes&&(r.snippetMap[n.scope].includeScopes=n.includeScopes,n.includeScopes.forEach((function(t){e("ace/mode/"+t)}))))}))}},g=function(e){var t=e.editor,n=t.completer&&t.completer.activated;"backspace"===e.command.name?n&&!s.getCompletionPrefix(t)&&t.completer.detach():"insertstring"===e.command.name&&s.getCompletionPrefix(t)&&!n&&(t.completer||(t.completer=new i),t.completer.autoInsert=!1,t.completer.showPopup(t))},y=e("../editor").Editor;e("../config").defineOptions(y.prototype,"editor",{enableBasicAutocompletion:{set:function(e){e?(this.completers||(this.completers=Array.isArray(e)?e:h),this.commands.addCommand(i.startCommand)):this.commands.removeCommand(i.startCommand)},value:!1},enableLiveAutocompletion:{set:function(e){e?(this.completers||(this.completers=Array.isArray(e)?e:h),this.commands.on("afterExec",g)):this.commands.removeListener("afterExec",g)},value:!1},enableSnippets:{set:function(e){e?(this.commands.addCommand(p),this.on("changeMode",d),d(0,this)):(this.commands.removeCommand(p),this.off("changeMode",d))},value:!1}})})),ace.require(["ace/ext/language_tools"],(function(){}))},2902:()=>{ace.define("ace/mode/doc_comment_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],(function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("./text_highlight_rules").TextHighlightRules,o=function e(){this.$rules={start:[{token:"comment.doc.tag",regex:"@[\\w\\d_]+"},e.getTagRule(),{defaultToken:"comment.doc",caseInsensitive:!0}]}};r.inherits(o,i),o.getTagRule=function(e){return{token:"comment.doc.tag.storage.type",regex:"\\b(?:TODO|FIXME|XXX|HACK)\\b"}},o.getStartRule=function(e){return{token:"comment.doc",regex:"\\/\\*(?=\\*)",next:e}},o.getEndRule=function(e){return{token:"comment.doc",regex:"\\*\\/",next:e}},t.DocCommentHighlightRules=o})),ace.define("ace/mode/javascript_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/doc_comment_highlight_rules","ace/mode/text_highlight_rules"],(function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("./doc_comment_highlight_rules").DocCommentHighlightRules,o=e("./text_highlight_rules").TextHighlightRules,a="[a-zA-Z\\$_¡-][a-zA-Z\\d\\$_¡-]*",s=function(e){var t=this.createKeywordMapper({"variable.language":"Array|Boolean|Date|Function|Iterator|Number|Object|RegExp|String|Proxy|Namespace|QName|XML|XMLList|ArrayBuffer|Float32Array|Float64Array|Int16Array|Int32Array|Int8Array|Uint16Array|Uint32Array|Uint8Array|Uint8ClampedArray|Error|EvalError|InternalError|RangeError|ReferenceError|StopIteration|SyntaxError|TypeError|URIError|decodeURI|decodeURIComponent|encodeURI|encodeURIComponent|eval|isFinite|isNaN|parseFloat|parseInt|JSON|Math|this|arguments|prototype|window|document",keyword:"const|yield|import|get|set|async|await|break|case|catch|continue|default|delete|do|else|finally|for|function|if|in|of|instanceof|new|return|switch|throw|try|typeof|let|var|while|with|debugger|__parent__|__count__|escape|unescape|with|__proto__|class|enum|extends|super|export|implements|private|public|interface|package|protected|static","storage.type":"const|let|var|function","constant.language":"null|Infinity|NaN|undefined","support.function":"alert","constant.language.boolean":"true|false"},"identifier"),n="\\\\(?:x[0-9a-fA-F]{2}|u[0-9a-fA-F]{4}|u{[0-9a-fA-F]{1,6}}|[0-2][0-7]{0,2}|3[0-7][0-7]?|[4-7][0-7]?|.)";this.$rules={no_regex:[i.getStartRule("doc-start"),c("no_regex"),{token:"string",regex:"'(?=.)",next:"qstring"},{token:"string",regex:'"(?=.)',next:"qqstring"},{token:"constant.numeric",regex:/0(?:[xX][0-9a-fA-F]+|[bB][01]+)\b/},{token:"constant.numeric",regex:/[+-]?\d[\d_]*(?:(?:\.\d*)?(?:[eE][+-]?\d+)?)?\b/},{token:["storage.type","punctuation.operator","support.function","punctuation.operator","entity.name.function","text","keyword.operator"],regex:"("+a+")(\\.)(prototype)(\\.)("+a+")(\\s*)(=)",next:"function_arguments"},{token:["storage.type","punctuation.operator","entity.name.function","text","keyword.operator","text","storage.type","text","paren.lparen"],regex:"("+a+")(\\.)("+a+")(\\s*)(=)(\\s*)(function)(\\s*)(\\()",next:"function_arguments"},{token:["entity.name.function","text","keyword.operator","text","storage.type","text","paren.lparen"],regex:"("+a+")(\\s*)(=)(\\s*)(function)(\\s*)(\\()",next:"function_arguments"},{token:["storage.type","punctuation.operator","entity.name.function","text","keyword.operator","text","storage.type","text","entity.name.function","text","paren.lparen"],regex:"("+a+")(\\.)("+a+")(\\s*)(=)(\\s*)(function)(\\s+)(\\w+)(\\s*)(\\()",next:"function_arguments"},{token:["storage.type","text","entity.name.function","text","paren.lparen"],regex:"(function)(\\s+)("+a+")(\\s*)(\\()",next:"function_arguments"},{token:["entity.name.function","text","punctuation.operator","text","storage.type","text","paren.lparen"],regex:"("+a+")(\\s*)(:)(\\s*)(function)(\\s*)(\\()",next:"function_arguments"},{token:["text","text","storage.type","text","paren.lparen"],regex:"(:)(\\s*)(function)(\\s*)(\\()",next:"function_arguments"},{token:"keyword",regex:"from(?=\\s*('|\"))"},{token:"keyword",regex:"(?:case|do|else|finally|in|instanceof|return|throw|try|typeof|yield|void)\\b",next:"start"},{token:["support.constant"],regex:/that\b/},{token:["storage.type","punctuation.operator","support.function.firebug"],regex:/(console)(\.)(warn|info|log|error|time|trace|timeEnd|assert)\b/},{token:t,regex:a},{token:"punctuation.operator",regex:/[.](?![.])/,next:"property"},{token:"keyword.operator",regex:/--|\+\+|\.{3}|===|==|=|!=|!==|<+=?|>+=?|!|&&|\|\||\?:|[!$%&*+\-~\/^]=?/,next:"start"},{token:"punctuation.operator",regex:/[?:,;.]/,next:"start"},{token:"paren.lparen",regex:/[\[({]/,next:"start"},{token:"paren.rparen",regex:/[\])}]/},{token:"comment",regex:/^#!.*$/}],property:[{token:"text",regex:"\\s+"},{token:["storage.type","punctuation.operator","entity.name.function","text","keyword.operator","text","storage.type","text","entity.name.function","text","paren.lparen"],regex:"("+a+")(\\.)("+a+")(\\s*)(=)(\\s*)(function)(?:(\\s+)(\\w+))?(\\s*)(\\()",next:"function_arguments"},{token:"punctuation.operator",regex:/[.](?![.])/},{token:"support.function",regex:/(s(?:h(?:ift|ow(?:Mod(?:elessDialog|alDialog)|Help))|croll(?:X|By(?:Pages|Lines)?|Y|To)?|t(?:op|rike)|i(?:n|zeToContent|debar|gnText)|ort|u(?:p|b(?:str(?:ing)?)?)|pli(?:ce|t)|e(?:nd|t(?:Re(?:sizable|questHeader)|M(?:i(?:nutes|lliseconds)|onth)|Seconds|Ho(?:tKeys|urs)|Year|Cursor|Time(?:out)?|Interval|ZOptions|Date|UTC(?:M(?:i(?:nutes|lliseconds)|onth)|Seconds|Hours|Date|FullYear)|FullYear|Active)|arch)|qrt|lice|avePreferences|mall)|h(?:ome|andleEvent)|navigate|c(?:har(?:CodeAt|At)|o(?:s|n(?:cat|textual|firm)|mpile)|eil|lear(?:Timeout|Interval)?|a(?:ptureEvents|ll)|reate(?:StyleSheet|Popup|EventObject))|t(?:o(?:GMTString|S(?:tring|ource)|U(?:TCString|pperCase)|Lo(?:caleString|werCase))|est|a(?:n|int(?:Enabled)?))|i(?:s(?:NaN|Finite)|ndexOf|talics)|d(?:isableExternalCapture|ump|etachEvent)|u(?:n(?:shift|taint|escape|watch)|pdateCommands)|j(?:oin|avaEnabled)|p(?:o(?:p|w)|ush|lugins.refresh|a(?:ddings|rse(?:Int|Float)?)|r(?:int|ompt|eference))|e(?:scape|nableExternalCapture|val|lementFromPoint|x(?:p|ec(?:Script|Command)?))|valueOf|UTC|queryCommand(?:State|Indeterm|Enabled|Value)|f(?:i(?:nd|le(?:ModifiedDate|Size|CreatedDate|UpdatedDate)|xed)|o(?:nt(?:size|color)|rward)|loor|romCharCode)|watch|l(?:ink|o(?:ad|g)|astIndexOf)|a(?:sin|nchor|cos|t(?:tachEvent|ob|an(?:2)?)|pply|lert|b(?:s|ort))|r(?:ou(?:nd|teEvents)|e(?:size(?:By|To)|calc|turnValue|place|verse|l(?:oad|ease(?:Capture|Events)))|andom)|g(?:o|et(?:ResponseHeader|M(?:i(?:nutes|lliseconds)|onth)|Se(?:conds|lection)|Hours|Year|Time(?:zoneOffset)?|Da(?:y|te)|UTC(?:M(?:i(?:nutes|lliseconds)|onth)|Seconds|Hours|Da(?:y|te)|FullYear)|FullYear|A(?:ttention|llResponseHeaders)))|m(?:in|ove(?:B(?:y|elow)|To(?:Absolute)?|Above)|ergeAttributes|a(?:tch|rgins|x))|b(?:toa|ig|o(?:ld|rderWidths)|link|ack))\b(?=\()/},{token:"support.function.dom",regex:/(s(?:ub(?:stringData|mit)|plitText|e(?:t(?:NamedItem|Attribute(?:Node)?)|lect))|has(?:ChildNodes|Feature)|namedItem|c(?:l(?:ick|o(?:se|neNode))|reate(?:C(?:omment|DATASection|aption)|T(?:Head|extNode|Foot)|DocumentFragment|ProcessingInstruction|E(?:ntityReference|lement)|Attribute))|tabIndex|i(?:nsert(?:Row|Before|Cell|Data)|tem)|open|delete(?:Row|C(?:ell|aption)|T(?:Head|Foot)|Data)|focus|write(?:ln)?|a(?:dd|ppend(?:Child|Data))|re(?:set|place(?:Child|Data)|move(?:NamedItem|Child|Attribute(?:Node)?)?)|get(?:NamedItem|Element(?:sBy(?:Name|TagName|ClassName)|ById)|Attribute(?:Node)?)|blur)\b(?=\()/},{token:"support.constant",regex:/(s(?:ystemLanguage|cr(?:ipts|ollbars|een(?:X|Y|Top|Left))|t(?:yle(?:Sheets)?|atus(?:Text|bar)?)|ibling(?:Below|Above)|ource|uffixes|e(?:curity(?:Policy)?|l(?:ection|f)))|h(?:istory|ost(?:name)?|as(?:h|Focus))|y|X(?:MLDocument|SLDocument)|n(?:ext|ame(?:space(?:s|URI)|Prop))|M(?:IN_VALUE|AX_VALUE)|c(?:haracterSet|o(?:n(?:structor|trollers)|okieEnabled|lorDepth|mp(?:onents|lete))|urrent|puClass|l(?:i(?:p(?:boardData)?|entInformation)|osed|asses)|alle(?:e|r)|rypto)|t(?:o(?:olbar|p)|ext(?:Transform|Indent|Decoration|Align)|ags)|SQRT(?:1_2|2)|i(?:n(?:ner(?:Height|Width)|put)|ds|gnoreCase)|zIndex|o(?:scpu|n(?:readystatechange|Line)|uter(?:Height|Width)|p(?:sProfile|ener)|ffscreenBuffering)|NEGATIVE_INFINITY|d(?:i(?:splay|alog(?:Height|Top|Width|Left|Arguments)|rectories)|e(?:scription|fault(?:Status|Ch(?:ecked|arset)|View)))|u(?:ser(?:Profile|Language|Agent)|n(?:iqueID|defined)|pdateInterval)|_content|p(?:ixelDepth|ort|ersonalbar|kcs11|l(?:ugins|atform)|a(?:thname|dding(?:Right|Bottom|Top|Left)|rent(?:Window|Layer)?|ge(?:X(?:Offset)?|Y(?:Offset)?))|r(?:o(?:to(?:col|type)|duct(?:Sub)?|mpter)|e(?:vious|fix)))|e(?:n(?:coding|abledPlugin)|x(?:ternal|pando)|mbeds)|v(?:isibility|endor(?:Sub)?|Linkcolor)|URLUnencoded|P(?:I|OSITIVE_INFINITY)|f(?:ilename|o(?:nt(?:Size|Family|Weight)|rmName)|rame(?:s|Element)|gColor)|E|whiteSpace|l(?:i(?:stStyleType|n(?:eHeight|kColor))|o(?:ca(?:tion(?:bar)?|lName)|wsrc)|e(?:ngth|ft(?:Context)?)|a(?:st(?:M(?:odified|atch)|Index|Paren)|yer(?:s|X)|nguage))|a(?:pp(?:MinorVersion|Name|Co(?:deName|re)|Version)|vail(?:Height|Top|Width|Left)|ll|r(?:ity|guments)|Linkcolor|bove)|r(?:ight(?:Context)?|e(?:sponse(?:XML|Text)|adyState))|global|x|m(?:imeTypes|ultiline|enubar|argin(?:Right|Bottom|Top|Left))|L(?:N(?:10|2)|OG(?:10E|2E))|b(?:o(?:ttom|rder(?:Width|RightWidth|BottomWidth|Style|Color|TopWidth|LeftWidth))|ufferDepth|elow|ackground(?:Color|Image)))\b/},{token:"identifier",regex:a},{regex:"",token:"empty",next:"no_regex"}],start:[i.getStartRule("doc-start"),c("start"),{token:"string.regexp",regex:"\\/",next:"regex"},{token:"text",regex:"\\s+|^$",next:"start"},{token:"empty",regex:"",next:"no_regex"}],regex:[{token:"regexp.keyword.operator",regex:"\\\\(?:u[\\da-fA-F]{4}|x[\\da-fA-F]{2}|.)"},{token:"string.regexp",regex:"/[sxngimy]*",next:"no_regex"},{token:"invalid",regex:/\{\d+\b,?\d*\}[+*]|[+*$^?][+*]|[$^][?]|\?{3,}/},{token:"constant.language.escape",regex:/\(\?[:=!]|\)|\{\d+\b,?\d*\}|[+*]\?|[()$^+*?.]/},{token:"constant.language.delimiter",regex:/\|/},{token:"constant.language.escape",regex:/\[\^?/,next:"regex_character_class"},{token:"empty",regex:"$",next:"no_regex"},{defaultToken:"string.regexp"}],regex_character_class:[{token:"regexp.charclass.keyword.operator",regex:"\\\\(?:u[\\da-fA-F]{4}|x[\\da-fA-F]{2}|.)"},{token:"constant.language.escape",regex:"]",next:"regex"},{token:"constant.language.escape",regex:"-"},{token:"empty",regex:"$",next:"no_regex"},{defaultToken:"string.regexp.charachterclass"}],function_arguments:[{token:"variable.parameter",regex:a},{token:"punctuation.operator",regex:"[, ]+"},{token:"punctuation.operator",regex:"$"},{token:"empty",regex:"",next:"no_regex"}],qqstring:[{token:"constant.language.escape",regex:n},{token:"string",regex:"\\\\$",next:"qqstring"},{token:"string",regex:'"|$',next:"no_regex"},{defaultToken:"string"}],qstring:[{token:"constant.language.escape",regex:n},{token:"string",regex:"\\\\$",next:"qstring"},{token:"string",regex:"'|$",next:"no_regex"},{defaultToken:"string"}]},e&&e.noES6||(this.$rules.no_regex.unshift({regex:"[{}]",onMatch:function(e,t,n){if(this.next="{"==e?this.nextState:"","{"==e&&n.length)n.unshift("start",t);else if("}"==e&&n.length&&(n.shift(),this.next=n.shift(),-1!=this.next.indexOf("string")||-1!=this.next.indexOf("jsx")))return"paren.quasi.end";return"{"==e?"paren.lparen":"paren.rparen"},nextState:"start"},{token:"string.quasi.start",regex:/`/,push:[{token:"constant.language.escape",regex:n},{token:"paren.quasi.start",regex:/\${/,push:"start"},{token:"string.quasi.end",regex:/`/,next:"pop"},{defaultToken:"string.quasi"}]}),e&&0==e.jsx||l.call(this)),this.embedRules(i,"doc-",[i.getEndRule("no_regex")]),this.normalizeRules()};function l(){var e=a.replace("\\d","\\d\\-"),t={onMatch:function(e,t,n){var r="/"==e.charAt(1)?2:1;return 1==r?(t!=this.nextState?n.unshift(this.next,this.nextState,0):n.unshift(this.next),n[2]++):2==r&&t==this.nextState&&(n[1]--,(!n[1]||n[1]<0)&&(n.shift(),n.shift())),[{type:"meta.tag.punctuation."+(1==r?"":"end-")+"tag-open.xml",value:e.slice(0,r)},{type:"meta.tag.tag-name.xml",value:e.substr(r)}]},regex:"</?"+e,next:"jsxAttributes",nextState:"jsx"};this.$rules.start.unshift(t);var n={regex:"{",token:"paren.quasi.start",push:"start"};this.$rules.jsx=[n,t,{include:"reference"},{defaultToken:"string"}],this.$rules.jsxAttributes=[{token:"meta.tag.punctuation.tag-close.xml",regex:"/?>",onMatch:function(e,t,n){return t==n[0]&&n.shift(),2==e.length&&(n[0]==this.nextState&&n[1]--,(!n[1]||n[1]<0)&&n.splice(0,2)),this.next=n[0]||"start",[{type:this.token,value:e}]},nextState:"jsx"},n,c("jsxAttributes"),{token:"entity.other.attribute-name.xml",regex:e},{token:"keyword.operator.attribute-equals.xml",regex:"="},{token:"text.tag-whitespace.xml",regex:"\\s+"},{token:"string.attribute-value.xml",regex:"'",stateName:"jsx_attr_q",push:[{token:"string.attribute-value.xml",regex:"'",next:"pop"},{include:"reference"},{defaultToken:"string.attribute-value.xml"}]},{token:"string.attribute-value.xml",regex:'"',stateName:"jsx_attr_qq",push:[{token:"string.attribute-value.xml",regex:'"',next:"pop"},{include:"reference"},{defaultToken:"string.attribute-value.xml"}]},t],this.$rules.reference=[{token:"constant.language.escape.reference.xml",regex:"(?:&#[0-9]+;)|(?:&#x[0-9a-fA-F]+;)|(?:&[a-zA-Z0-9_:\\.-]+;)"}]}function c(e){return[{token:"comment",regex:/\/\*/,next:[i.getTagRule(),{token:"comment",regex:"\\*\\/",next:e||"pop"},{defaultToken:"comment",caseInsensitive:!0}]},{token:"comment",regex:"\\/\\/",next:[i.getTagRule(),{token:"comment",regex:"$|^",next:e||"pop"},{defaultToken:"comment",caseInsensitive:!0}]}]}r.inherits(s,o),t.JavaScriptHighlightRules=s})),ace.define("ace/mode/matching_brace_outdent",["require","exports","module","ace/range"],(function(e,t,n){"use strict";var r=e("../range").Range,i=function(){};(function(){this.checkOutdent=function(e,t){return!!/^\s+$/.test(e)&&/^\s*\}/.test(t)},this.autoOutdent=function(e,t){var n=e.getLine(t).match(/^(\s*\})/);if(!n)return 0;var i=n[1].length,o=e.findMatchingBracket({row:t,column:i});if(!o||o.row==t)return 0;var a=this.$getIndent(e.getLine(o.row));e.replace(new r(t,0,t,i-1),a)},this.$getIndent=function(e){return e.match(/^\s*/)[0]}}).call(i.prototype),t.MatchingBraceOutdent=i})),ace.define("ace/mode/folding/cstyle",["require","exports","module","ace/lib/oop","ace/range","ace/mode/folding/fold_mode"],(function(e,t,n){"use strict";var r=e("../../lib/oop"),i=e("../../range").Range,o=e("./fold_mode").FoldMode,a=t.FoldMode=function(e){e&&(this.foldingStartMarker=new RegExp(this.foldingStartMarker.source.replace(/\|[^|]*?$/,"|"+e.start)),this.foldingStopMarker=new RegExp(this.foldingStopMarker.source.replace(/\|[^|]*?$/,"|"+e.end)))};r.inherits(a,o),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(e,t,n){var r=e.getLine(n);if(this.singleLineBlockCommentRe.test(r)&&!this.startRegionRe.test(r)&&!this.tripleStarBlockCommentRe.test(r))return"";var i=this._getFoldWidgetBase(e,t,n);return!i&&this.startRegionRe.test(r)?"start":i},this.getFoldWidgetRange=function(e,t,n,r){var i,o=e.getLine(n);if(this.startRegionRe.test(o))return this.getCommentRegionBlock(e,o,n);if(i=o.match(this.foldingStartMarker)){var a=i.index;if(i[1])return this.openingBracketBlock(e,i[1],n,a);var s=e.getCommentFoldRange(n,a+i[0].length,1);return s&&!s.isMultiLine()&&(r?s=this.getSectionRange(e,n):"all"!=t&&(s=null)),s}return"markbegin"!==t&&(i=o.match(this.foldingStopMarker))?(a=i.index+i[0].length,i[1]?this.closingBracketBlock(e,i[1],n,a):e.getCommentFoldRange(n,a,-1)):void 0},this.getSectionRange=function(e,t){for(var n=e.getLine(t),r=n.search(/\S/),o=t,a=n.length,s=t+=1,l=e.getLength();++t<l;){var c=(n=e.getLine(t)).search(/\S/);if(-1!==c){if(r>c)break;var u=this.getFoldWidgetRange(e,"all",t);if(u){if(u.start.row<=o)break;if(u.isMultiLine())t=u.end.row;else if(r==c)break}s=t}}return new i(o,a,s,e.getLine(s).length)},this.getCommentRegionBlock=function(e,t,n){for(var r=t.search(/\s*$/),o=e.getLength(),a=n,s=/^\s*(?:\/\*|\/\/|--)#?(end)?region\b/,l=1;++n<o;){t=e.getLine(n);var c=s.exec(t);if(c&&(c[1]?l--:l++,!l))break}if(n>a)return new i(a,r,n,t.length)}}.call(a.prototype)})),ace.define("ace/mode/javascript",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/javascript_highlight_rules","ace/mode/matching_brace_outdent","ace/worker/worker_client","ace/mode/behaviour/cstyle","ace/mode/folding/cstyle"],(function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("./text").Mode,o=e("./javascript_highlight_rules").JavaScriptHighlightRules,a=e("./matching_brace_outdent").MatchingBraceOutdent,s=e("../worker/worker_client").WorkerClient,l=e("./behaviour/cstyle").CstyleBehaviour,c=e("./folding/cstyle").FoldMode,u=function(){this.HighlightRules=o,this.$outdent=new a,this.$behaviour=new l,this.foldingRules=new c};r.inherits(u,i),function(){this.lineCommentStart="//",this.blockComment={start:"/*",end:"*/"},this.getNextLineIndent=function(e,t,n){var r=this.$getIndent(t),i=this.getTokenizer().getLineTokens(t,e),o=i.tokens,a=i.state;if(o.length&&"comment"==o[o.length-1].type)return r;if("start"==e||"no_regex"==e)(s=t.match(/^.*(?:\bcase\b.*:|[\{\(\[])\s*$/))&&(r+=n);else if("doc-start"==e){if("start"==a||"no_regex"==a)return"";var s;(s=t.match(/^\s*(\/?)\*/))&&(s[1]&&(r+=" "),r+="* ")}return r},this.checkOutdent=function(e,t,n){return this.$outdent.checkOutdent(t,n)},this.autoOutdent=function(e,t,n){this.$outdent.autoOutdent(t,n)},this.createWorker=function(e){var t=new s(["ace"],"ace/mode/javascript_worker","JavaScriptWorker");return t.attachToDocument(e.getDocument()),t.on("annotate",(function(t){e.setAnnotations(t.data)})),t.on("terminate",(function(){e.clearAnnotations()})),t},this.$id="ace/mode/javascript"}.call(u.prototype),t.Mode=u})),ace.define("ace/mode/gremlin_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/doc_comment_highlight_rules","ace/mode/text_highlight_rules"],(function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("./doc_comment_highlight_rules").DocCommentHighlightRules,o=e("./text_highlight_rules").TextHighlightRules,a=function(){var e=this.createKeywordMapper({"variable.language":"this",keyword:"g|V|E|has|open|close|inV|inE|out|outV|outE|label|store|next|addVertex|clazz|limit|traversal|withBulk|values|schema|except|ifNotExist|addEdge|addVertex|property|io|filter|loops|readGraph|tree|properties|graph|value|bothE|addV|where|hidden|bothV|withoutboth|is|path|it|get|from|to|select|otherV|within|inside|outside|withSack","constant.language":"targetLabel|sourceLabel|indexLabel|indexLabels|edgeLabel|vertexLabel|propertyKey|getPropertyKey|getVertexLabel|getEdgeLabel|getIndexLabel|getPropertyKeys|getVertexLabels|getEdgeLabels|getIndexLabels|coin|count|coalesce|createIndex|hasLabel|getLabelId|create|build|append|eliminate|remove|rebuildIndex|constant|isDirected|desc|inject|profile|simplePath|eq|neq|gt|gte|lt|lte|queryType|indexFields|frequency|links|type|in|on|by|checkDataType|checkValue|validValue|secondary|drop|search|makeEdgeLabel|cyclicPath|hasKey|match|sack|aggregate|between|baseType|baseValue|indexType|rebuild|choose|aggregate|iterate|lte|dedup|identity|groupCount|until|barrier|fold|unfold|schemaId|checkName|makeIndexLabel|makeVertexLabel|makePropertyKey|sideEffect|hasNext|toList|toSet|cap|option|branch|choose|repeat|emit|order|mean|withComputer|subgraph|getObjectsAtDepth|hasValue|hasNot|hasId|nullableKey|nullableKeys|sortKeys|link|singleTime|multiTimes|enableLabelIndex|userdata|checkExist|linkWithLabel|directed|idStrategy|primaryKeys|primaryKey","storage.type":"int|numeric|decimal|date|varchar|char|bigint|float|double|bit|binary|text|set|timestamp|toString|primitive|money|real|number|integer|asInt|asText|dataType|cardinality|asText|asInt|asTimestamp|flatMap|valueMap|asByte|asBlob|asDouble|asDate|asFloat|asLong|valueSingle|asBoolean|valueList|valueSet|asUuid|null|Infinity|NaN|undefined"},"identifier");this.$rules={start:[{token:"comment",regex:"\\/\\/.*$"},i.getStartRule("doc-start"),{token:"comment",regex:"\\/\\*",next:"comment"},{token:"string.regexp",regex:"[/](?:(?:\\[(?:\\\\]|[^\\]])+\\])|(?:\\\\/|[^\\]/]))*[/]\\w*\\s*(?=[).,;]|$)"},{token:"string",regex:'"""',next:"qqstring"},{token:"string",regex:"'''",next:"qstring"},{token:"string",regex:'["](?:(?:\\\\.)|(?:[^"\\\\]))*?["]'},{token:"string",regex:"['](?:(?:\\\\.)|(?:[^'\\\\]))*?[']"},{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:e,regex:"[a-zA-Z_$][a-zA-Z0-9_$]*\\b"},{token:"keyword.operator",regex:"\\?:|\\?\\.|\\*\\.|<=>|=~|==~|\\.@|\\*\\.@|\\.&|as|in|is|!|\\$|%|&|\\*|\\-\\-|\\-|\\+\\+|\\+|~|===|==|=|!=|!==|<=|>=|<<=|>>=|>>>=|<>|<|>|!|&&|\\|\\||\\?\\:|\\*=|%=|\\+=|\\-=|&=|\\^=|\\b(?:in|instanceof|new|delete|typeof|void)"},{token:"lparen",regex:"[[({]"},{token:"rparen",regex:"[\\])}]"},{token:"text",regex:"\\s+"}],comment:[{token:"comment",regex:".*?\\*\\/",next:"start"},{token:"comment",regex:".+"}],qqstring:[{token:"constant.language.escape",regex:/\\(?:u[0-9A-Fa-f]{4}|.|$)/},{token:"constant.language.escape",regex:/\$[\w\d]+/},{token:"constant.language.escape",regex:/\$\{[^"\}]+\}?/},{token:"string",regex:'"{3,5}',next:"start"},{token:"string",regex:".+?"}],qstring:[{token:"constant.language.escape",regex:/\\(?:u[0-9A-Fa-f]{4}|.|$)/},{token:"string",regex:"'{3,5}",next:"start"},{token:"string",regex:".+?"}]},this.embedRules(i,"doc-",[i.getEndRule("start")])};r.inherits(a,o),t.GremlinHighlightRules=a})),ace.define("ace/mode/gremlin",["require","exports","module","ace/lib/oop","ace/mode/javascript","ace/mode/gremlin_highlight_rules"],(function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("./javascript").Mode,o=e("./gremlin_highlight_rules").GremlinHighlightRules,a=function(){i.call(this),this.HighlightRules=o};r.inherits(a,i),function(){this.createWorker=function(e){return null},this.$id="ace/mode/gremlin"}.call(a.prototype),t.Mode=a}))},5200:()=>{ace.define("ace/theme/chrome",["require","exports","module","ace/lib/dom"],(function(e,t,n){t.isDark=!1,t.cssClass="ace-chrome",t.cssText='.ace-chrome .ace_gutter {background: #ebebeb;color: #333;overflow : hidden;}.ace-chrome .ace_print-margin {width: 1px;background: #e8e8e8;}.ace-chrome {background-color: #FFFFFF;color: black;}.ace-chrome .ace_cursor {color: black;}.ace-chrome .ace_invisible {color: rgb(191, 191, 191);}.ace-chrome .ace_constant.ace_buildin {color: rgb(88, 72, 246);}.ace-chrome .ace_constant.ace_language {color: rgb(88, 92, 246);}.ace-chrome .ace_constant.ace_library {color: rgb(6, 150, 14);}.ace-chrome .ace_invalid {background-color: rgb(153, 0, 0);color: white;}.ace-chrome .ace_fold {}.ace-chrome .ace_support.ace_function {color: rgb(60, 76, 114);}.ace-chrome .ace_support.ace_constant {color: rgb(6, 150, 14);}.ace-chrome .ace_support.ace_type,.ace-chrome .ace_support.ace_class.ace-chrome .ace_support.ace_other {color: rgb(109, 121, 222);}.ace-chrome .ace_variable.ace_parameter {font-style:italic;color:#FD971F;}.ace-chrome .ace_keyword.ace_operator {color: rgb(104, 118, 135);}.ace-chrome .ace_comment {color: #236e24;}.ace-chrome .ace_comment.ace_doc {color: #236e24;}.ace-chrome .ace_comment.ace_doc.ace_tag {color: #236e24;}.ace-chrome .ace_constant.ace_numeric {color: rgb(0, 0, 205);}.ace-chrome .ace_variable {color: rgb(49, 132, 149);}.ace-chrome .ace_xml-pe {color: rgb(104, 104, 91);}.ace-chrome .ace_entity.ace_name.ace_function {color: #0000A2;}.ace-chrome .ace_heading {color: rgb(12, 7, 255);}.ace-chrome .ace_list {color:rgb(185, 6, 144);}.ace-chrome .ace_marker-layer .ace_selection {background: rgb(181, 213, 255);}.ace-chrome .ace_marker-layer .ace_step {background: rgb(252, 255, 0);}.ace-chrome .ace_marker-layer .ace_stack {background: rgb(164, 229, 101);}.ace-chrome .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid rgb(192, 192, 192);}.ace-chrome .ace_marker-layer .ace_active-line {background: rgba(0, 0, 0, 0.07);}.ace-chrome .ace_gutter-active-line {background-color : #dcdcdc;}.ace-chrome .ace_marker-layer .ace_selected-word {background: rgb(250, 250, 255);border: 1px solid rgb(200, 200, 250);}.ace-chrome .ace_storage,.ace-chrome .ace_keyword,.ace-chrome .ace_meta.ace_tag {color: rgb(147, 15, 128);}.ace-chrome .ace_string.ace_regex {color: rgb(255, 0, 0)}.ace-chrome .ace_string {color: #1A1AA6;}.ace-chrome .ace_entity.ace_other.ace_attribute-name {color: #994409;}.ace-chrome .ace_indent-guide {background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bLly//BwAmVgd1/w11/gAAAABJRU5ErkJggg==") right repeat-y;}',e("../lib/dom").importCssString(t.cssText,t.cssClass)}))},6484:()=>{ace.define("ace/theme/clouds",["require","exports","module","ace/lib/dom"],(function(e,t,n){t.isDark=!1,t.cssClass="ace-clouds",t.cssText='.ace-clouds .ace_gutter {background: #ebebeb;color: #333}.ace-clouds .ace_print-margin {width: 1px;background: #e8e8e8}.ace-clouds {background-color: #FFFFFF;color: #000000}.ace-clouds .ace_cursor {color: #000000}.ace-clouds .ace_marker-layer .ace_selection {background: #BDD5FC}.ace-clouds.ace_multiselect .ace_selection.ace_start {box-shadow: 0 0 3px 0px #FFFFFF;}.ace-clouds .ace_marker-layer .ace_step {background: rgb(255, 255, 0)}.ace-clouds .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid #BFBFBF}.ace-clouds .ace_marker-layer .ace_active-line {background: #FFFBD1}.ace-clouds .ace_gutter-active-line {background-color : #dcdcdc}.ace-clouds .ace_marker-layer .ace_selected-word {border: 1px solid #BDD5FC}.ace-clouds .ace_invisible {color: #BFBFBF}.ace-clouds .ace_keyword,.ace-clouds .ace_meta,.ace-clouds .ace_support.ace_constant.ace_property-value {color: #AF956F}.ace-clouds .ace_keyword.ace_operator {color: #484848}.ace-clouds .ace_keyword.ace_other.ace_unit {color: #96DC5F}.ace-clouds .ace_constant.ace_language {color: #39946A}.ace-clouds .ace_constant.ace_numeric {color: #46A609}.ace-clouds .ace_constant.ace_character.ace_entity {color: #BF78CC}.ace-clouds .ace_invalid {background-color: #FF002A}.ace-clouds .ace_fold {background-color: #AF956F;border-color: #000000}.ace-clouds .ace_storage,.ace-clouds .ace_support.ace_class,.ace-clouds .ace_support.ace_function,.ace-clouds .ace_support.ace_other,.ace-clouds .ace_support.ace_type {color: #C52727}.ace-clouds .ace_string {color: #5D90CD}.ace-clouds .ace_comment {color: #BCC8BA}.ace-clouds .ace_entity.ace_name.ace_tag,.ace-clouds .ace_entity.ace_other.ace_attribute-name {color: #606060}.ace-clouds .ace_indent-guide {background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bLly//BwAmVgd1/w11/gAAAABJRU5ErkJggg==") right repeat-y}',e("../lib/dom").importCssString(t.cssText,t.cssClass)}))},6087:()=>{ace.define("ace/theme/clouds_midnight",["require","exports","module","ace/lib/dom"],(function(e,t,n){t.isDark=!0,t.cssClass="ace-clouds-midnight",t.cssText=".ace-clouds-midnight .ace_gutter {background: #232323;color: #929292}.ace-clouds-midnight .ace_print-margin {width: 1px;background: #232323}.ace-clouds-midnight {background-color: #191919 !important;color: #929292 !important;}.ace-clouds-midnight .ace_cursor {color: #7DA5DC}.ace-clouds-midnight .ace_marker-layer .ace_selection {background: #000000}.ace-clouds-midnight.ace_multiselect .ace_selection.ace_start {box-shadow: 0 0 3px 0px #191919;}.ace-clouds-midnight .ace_marker-layer .ace_step {background: rgb(102, 82, 0)}.ace-clouds-midnight .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid #BFBFBF}.ace-clouds-midnight .ace_marker-layer .ace_active-line {background: rgba(215, 215, 215, 0.031)}.ace-clouds-midnight .ace_gutter-active-line {background-color: rgba(215, 215, 215, 0.031)}.ace-clouds-midnight .ace_marker-layer .ace_selected-word {border: 1px solid #000000}.ace-clouds-midnight .ace_invisible {color: #666}.ace-clouds-midnight .ace_keyword,.ace-clouds-midnight .ace_meta,.ace-clouds-midnight .ace_support.ace_constant.ace_property-value {color: #927C5D}.ace-clouds-midnight .ace_keyword.ace_operator {color: #4B4B4B}.ace-clouds-midnight .ace_keyword.ace_other.ace_unit {color: #366F1A}.ace-clouds-midnight .ace_constant.ace_language {color: #39946A}.ace-clouds-midnight .ace_constant.ace_numeric {color: #46A609}.ace-clouds-midnight .ace_constant.ace_character.ace_entity {color: #A165AC}.ace-clouds-midnight .ace_invalid {color: #FFFFFF;background-color: #E92E2E}.ace-clouds-midnight .ace_fold {background-color: #927C5D;border-color: #929292}.ace-clouds-midnight .ace_storage,.ace-clouds-midnight .ace_support.ace_class,.ace-clouds-midnight .ace_support.ace_function,.ace-clouds-midnight .ace_support.ace_other,.ace-clouds-midnight .ace_support.ace_type {color: #E92E2E}.ace-clouds-midnight .ace_string {color: #5D90CD}.ace-clouds-midnight .ace_comment {color: #3C403B}.ace-clouds-midnight .ace_entity.ace_name.ace_tag,.ace-clouds-midnight .ace_entity.ace_other.ace_attribute-name {color: #606060}.ace-clouds-midnight .ace_indent-guide {background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNgYGBgYHB3d/8PAAOIAdULw8qMAAAAAElFTkSuQmCC) right repeat-y}",e("../lib/dom").importCssString(t.cssText,t.cssClass)}))},6628:(e,t,n)=>{function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}e=n.nmd(e),ace.define("ace/theme/tomorrow",["require","exports","module","ace/lib/dom"],(function(e,t,n){t.isDark=!1,t.cssClass="ace-tomorrow",t.cssText=".ace-tomorrow .ace_gutter { background: #f6f6f6; color: #4D4D4C } .ace-tomorrow .ace_print-margin { width: 1px; background: #f6f6f6 } .ace-tomorrow { background-color: #FFFFFF; color: #4D4D4C } .ace-tomorrow .ace_cursor { color: #AEAFAD } .ace-tomorrow .ace_marker-layer .ace_selection { background: #D6D6D6 } .ace-tomorrow.ace_multiselect .ace_selection.ace_start { box-shadow: 0 0 3px 0px #FFFFFF; } .ace-tomorrow .ace_marker-layer .ace_step { background: rgb(255, 255, 0) } .ace-tomorrow .ace_marker-layer .ace_bracket { margin: -1px 0 0 -1px; border: 1px solid #D1D1D1 } .ace-tomorrow .ace_marker-layer .ace_active-line { background: #EFEFEF } .ace-tomorrow .ace_gutter-active-line { background-color : #dcdcdc } .ace-tomorrow .ace_marker-layer .ace_selected-word { border: 1px solid #D6D6D6 } .ace-tomorrow .ace_invisible { color: #D1D1D1 } .ace-tomorrow .ace_keyword, .ace-tomorrow .ace_meta, .ace-tomorrow .ace_storage, .ace-tomorrow .ace_storage.ace_type, .ace-tomorrow .ace_support.ace_type { color: #8959A8 } .ace-tomorrow .ace_keyword.ace_operator { color: #3E999F } .ace-tomorrow .ace_constant.ace_character, .ace-tomorrow .ace_constant.ace_language, .ace-tomorrow .ace_constant.ace_numeric, .ace-tomorrow .ace_keyword.ace_other.ace_unit, .ace-tomorrow .ace_support.ace_constant, .ace-tomorrow .ace_variable.ace_parameter { color: #F5871F } .ace-tomorrow .ace_constant.ace_other { color: #666969 } .ace-tomorrow .ace_invalid { color: #FFFFFF; background-color: #C82829 } .ace-tomorrow .ace_invalid.ace_deprecated { color: #FFFFFF; background-color: #8959A8 } .ace-tomorrow .ace_fold { background-color: #4271AE; border-color: #4D4D4C } .ace-tomorrow .ace_entity.ace_name.ace_function, .ace-tomorrow .ace_support.ace_function, .ace-tomorrow .ace_variable { color: #4271AE } .ace-tomorrow .ace_support.ace_class, .ace-tomorrow .ace_support.ace_type { color: #C99E00 } .ace-tomorrow .ace_heading, .ace-tomorrow .ace_markup.ace_heading, .ace-tomorrow .ace_string { color: #718C00 } .ace-tomorrow .ace_entity.ace_name.ace_tag, .ace-tomorrow .ace_entity.ace_other.ace_attribute-name, .ace-tomorrow .ace_meta.ace_tag, .ace-tomorrow .ace_string.ace_regexp, .ace-tomorrow .ace_variable { color: #C82829 } .ace-tomorrow .ace_comment { color: #8E908C } .ace-tomorrow .ace_indent-guide { background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bdu3f/BwAlfgctduB85QAAAABJRU5ErkJggg==) right repeat-y }",e("../lib/dom").importCssString(t.cssText,t.cssClass)})),ace.require(["ace/theme/tomorrow"],(function(n){"object"==r(e)&&"object"==r(t)&&e&&(e.exports=n)}))},5802:(e,t,n)=>{"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature,e.exports={"en-US":n(6744),"zh-CN":n(4623)}},805:(e,t,n)=>{"use strict";n.d(t,{Z:()=>y});var r,i=n(2721),o=n(1024),a=n.n(o),s=n(46),l=n(2176);function c(e,t){return f(e)||d(e,t)||h(e,t)||u()}function u(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function h(e,t){if(e){if("string"==typeof e)return p(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?p(e,t):void 0}}function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function d(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,s=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw i}}return s}}function f(e){if(Array.isArray(e))return e}e=n.hmd(e),(r="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&r(e);var m=function(e){var t,n=c((0,o.useState)(e.value),2),r=n[0],u=n[1];return a().createElement("div",{className:"color-input-container"},a().createElement(i.Input,{value:e.value,onChange:function(t){var n;u(t.target.value),null===(n=e.onChange)||void 0===n||n.call(e,t.target.value)},placeholder:l.Z.get({id:"common-components.CommonStyleSetting.ColorInput.PleaseSelectAColor",dm:"请选择颜色"}),prefix:a().createElement(i.Popover,{placement:"topLeft",trigger:"click",overlayInnerStyle:{padding:0},getPopupContainer:function(){return t},content:a().createElement(s.xS,{color:r,onChange:function(t){var n,r=t.rgb,i=t.hex,o="hex"===e.colorType?i:"rgba(".concat(r.r,",").concat(r.g,",").concat(r.b,",").concat(r.a,")");u(o),null===(n=e.onChange)||void 0===n||n.call(e,o)}})},a().createElement("div",{ref:function(e){t=e},className:"color-input-container-color-tips",style:{backgroundColor:r,border:"1px solid ".concat(r)}}))}))};("undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(e){return e})(m,"useState{_useState(props.value)}");var g=m;const y=g;var v,_;(v="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&(v.register(c,"_slicedToArray","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/CommonStyleSetting/ColorInput/index.js"),v.register(u,"_nonIterableRest","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/CommonStyleSetting/ColorInput/index.js"),v.register(h,"_unsupportedIterableToArray","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/CommonStyleSetting/ColorInput/index.js"),v.register(p,"_arrayLikeToArray","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/CommonStyleSetting/ColorInput/index.js"),v.register(d,"_iterableToArrayLimit","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/CommonStyleSetting/ColorInput/index.js"),v.register(f,"_arrayWithHoles","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/CommonStyleSetting/ColorInput/index.js"),v.register(m,"ColorInput","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/CommonStyleSetting/ColorInput/index.js"),v.register(g,"default","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/CommonStyleSetting/ColorInput/index.js")),(_="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&_(e)},3279:(e,t,n)=>{"use strict";n.d(t,{Z:()=>on});var r=n(3659),i=n(1024),o=n.n(i);const a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M766.4 744.3c43.7 0 79.4-36.2 79.4-80.5 0-53.5-79.4-140.8-79.4-140.8S687 610.3 687 663.8c0 44.3 35.7 80.5 79.4 80.5zm-377.1-44.1c7.1 7.1 18.6 7.1 25.6 0l256.1-256c7.1-7.1 7.1-18.6 0-25.6l-256-256c-.6-.6-1.3-1.2-2-1.7l-78.2-78.2a9.11 9.11 0 00-12.8 0l-48 48a9.11 9.11 0 000 12.8l67.2 67.2-207.8 207.9c-7.1 7.1-7.1 18.6 0 25.6l255.9 256zm12.9-448.6l178.9 178.9H223.4l178.8-178.9zM904 816H120c-4.4 0-8 3.6-8 8v80c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-80c0-4.4-3.6-8-8-8z"}}]},name:"bg-colors",theme:"outlined"};var s=n(2439),l=function(e,t){return i.createElement(s.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:a}))};l.displayName="BgColorsOutlined";const c=i.forwardRef(l);var u=n(2721),h=n(1397),p=n(4808),d=n(1838),f=n.n(d);const m={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M904 160H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8zm0 624H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8zm0-312H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8z"}}]},name:"menu",theme:"outlined"};var g=function(e,t){return i.createElement(s.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:m}))};g.displayName="MenuOutlined";const y=i.forwardRef(g);var v=n(5538),_=n(6840),b=n(3486),E=n(3747),T=n(3050),x=n(5162),S=n(6297);function C(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&r.push.apply(r,Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach((function(t){(0,S.Z)(e,t,n[t])}))}return e}var A=n(3192),R=n(6838),w=n(7743);function L(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function O(e,t){if(t&&("object"===(0,w.Z)(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return L(e)}function N(e){return N=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},N(e)}var I=n(8535);function k(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&(0,I.Z)(e,t)}var D=n(7862),P=n.n(D),M=n(314),F=n(1700),H=n.n(F),B=n(9908),U=function(){function e(){(0,A.Z)(this,e),(0,S.Z)(this,"refs",{})}return(0,R.Z)(e,[{key:"add",value:function(e,t){this.refs[e]||(this.refs[e]=[]),this.refs[e].push(t)}},{key:"remove",value:function(e,t){var n=this.getIndex(e,t);-1!==n&&this.refs[e].splice(n,1)}},{key:"isActive",value:function(){return this.active}},{key:"getActive",value:function(){var e=this;return this.refs[this.active.collection].find((function(t){return t.node.sortableInfo.index==e.active.index}))}},{key:"getIndex",value:function(e,t){return this.refs[e].indexOf(t)}},{key:"getOrderedRefs",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.active.collection;return this.refs[e].sort(j)}}]),e}();function j(e,t){return e.node.sortableInfo.index-t.node.sortableInfo.index}function G(e,t){return Object.keys(e).reduce((function(n,r){return-1===t.indexOf(r)&&(n[r]=e[r]),n}),{})}var Y={end:["touchend","touchcancel","mouseup"],move:["touchmove","mousemove"],start:["touchstart","mousedown"]},z=function(){if("undefined"==typeof window||"undefined"==typeof document)return"";var e=window.getComputedStyle(document.documentElement,"")||["-moz-hidden-iframe"],t=(Array.prototype.slice.call(e).join("").match(/-(moz|webkit|ms)-/)||""===e.OLink&&["","o"])[1];return"ms"===t?"ms":t&&t.length?t[0].toUpperCase()+t.substr(1):""}();function $(e,t){Object.keys(t).forEach((function(n){e.style[n]=t[n]}))}function W(e,t){e.style["".concat(z,"Transform")]=null==t?"":"translate3d(".concat(t.x,"px,").concat(t.y,"px,0)")}function V(e,t){e.style["".concat(z,"TransitionDuration")]=null==t?"":"".concat(t,"ms")}function K(e,t){for(;e;){if(t(e))return e;e=e.parentNode}return null}function q(e,t,n){return Math.max(e,Math.min(n,t))}function X(e){return"px"===e.substr(-2)?parseFloat(e):0}function Z(e,t){var n=t.displayName||t.name;return n?"".concat(e,"(").concat(n,")"):e}function Q(e,t){var n=e.getBoundingClientRect();return{top:n.top+t.top,left:n.left+t.left}}function J(e){return e.touches&&e.touches.length?{x:e.touches[0].pageX,y:e.touches[0].pageY}:e.changedTouches&&e.changedTouches.length?{x:e.changedTouches[0].pageX,y:e.changedTouches[0].pageY}:{x:e.pageX,y:e.pageY}}function ee(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{left:0,top:0};if(e){var r={left:n.left+e.offsetLeft,top:n.top+e.offsetTop};return e.parentNode===t?r:ee(e.parentNode,t,r)}}function te(e){var t=e.lockOffset,n=e.width,r=e.height,i=t,o=t,a="px";if("string"==typeof t){var s=/^[+-]?\d*(?:\.\d*)?(px|%)$/.exec(t);H()(null!==s,'lockOffset value should be a number or a string of a number followed by "px" or "%". Given %s',t),i=parseFloat(t),o=parseFloat(t),a=s[1]}return H()(isFinite(i)&&isFinite(o),"lockOffset value should be a finite. Given %s",t),"%"===a&&(i=i*n/100,o=o*r/100),{x:i,y:o}}function ne(e){return e instanceof HTMLElement?function(e){var t=window.getComputedStyle(e),n=/(auto|scroll)/;return["overflow","overflowX","overflowY"].find((function(e){return n.test(t[e])}))}(e)?e:ne(e.parentNode):null}var re={Anchor:"A",Button:"BUTTON",Canvas:"CANVAS",Input:"INPUT",Option:"OPTION",Textarea:"TEXTAREA",Select:"SELECT"};function ie(e){return null!=e.sortableHandle}var oe=function(){function e(t,n){(0,A.Z)(this,e),this.container=t,this.onScrollCallback=n}return(0,R.Z)(e,[{key:"clear",value:function(){null!=this.interval&&(clearInterval(this.interval),this.interval=null)}},{key:"update",value:function(e){var t=this,n=e.translate,r=e.minTranslate,i=e.maxTranslate,o=e.width,a=e.height,s={x:0,y:0},l={x:1,y:1},c=this.container,u=c.scrollTop,h=c.scrollLeft,p=c.scrollHeight,d=c.scrollWidth,f=0===u,m=p-u-c.clientHeight==0,g=0===h,y=d-h-c.clientWidth==0;n.y>=i.y-a/2&&!m?(s.y=1,l.y=10*Math.abs((i.y-a/2-n.y)/a)):n.x>=i.x-o/2&&!y?(s.x=1,l.x=10*Math.abs((i.x-o/2-n.x)/o)):n.y<=r.y+a/2&&!f?(s.y=-1,l.y=10*Math.abs((n.y-a/2-r.y)/a)):n.x<=r.x+o/2&&!g&&(s.x=-1,l.x=10*Math.abs((n.x-o/2-r.x)/o)),this.interval&&(this.clear(),this.isAutoScrolling=!1),0===s.x&&0===s.y||(this.interval=setInterval((function(){t.isAutoScrolling=!0;var e={left:l.x*s.x,top:l.y*s.y};t.container.scrollTop+=e.top,t.container.scrollLeft+=e.left,t.onScrollCallback(e)}),5))}}]),e}(),ae={axis:P().oneOf(["x","y","xy"]),contentWindow:P().any,disableAutoscroll:P().bool,distance:P().number,getContainer:P().func,getHelperDimensions:P().func,helperClass:P().string,helperContainer:P().oneOfType([P().func,"undefined"==typeof HTMLElement?P().any:P().instanceOf(HTMLElement)]),hideSortableGhost:P().bool,keyboardSortingTransitionDuration:P().number,lockAxis:P().string,lockOffset:P().oneOfType([P().number,P().string,P().arrayOf(P().oneOfType([P().number,P().string]))]),lockToContainerEdges:P().bool,onSortEnd:P().func,onSortMove:P().func,onSortOver:P().func,onSortStart:P().func,pressDelay:P().number,pressThreshold:P().number,keyCodes:P().shape({lift:P().arrayOf(P().number),drop:P().arrayOf(P().number),cancel:P().arrayOf(P().number),up:P().arrayOf(P().number),down:P().arrayOf(P().number)}),shouldCancelStart:P().func,transitionDuration:P().number,updateBeforeSortStart:P().func,useDragHandle:P().bool,useWindowAsScrollContainer:P().bool},se={lift:[32],drop:[32],cancel:[27],up:[38,37],down:[40,39]},le={axis:"y",disableAutoscroll:!1,distance:0,getHelperDimensions:function(e){var t=e.node;return{height:t.offsetHeight,width:t.offsetWidth}},hideSortableGhost:!0,lockOffset:"50%",lockToContainerEdges:!1,pressDelay:0,pressThreshold:5,keyCodes:se,shouldCancelStart:function(e){return-1!==[re.Input,re.Textarea,re.Select,re.Option,re.Button].indexOf(e.target.tagName)||!!K(e.target,(function(e){return"true"===e.contentEditable}))},transitionDuration:300,useWindowAsScrollContainer:!1},ce=Object.keys(ae),ue={index:P().number.isRequired,collection:P().oneOfType([P().number,P().string]),disabled:P().bool},he=Object.keys(ue),pe=function(e,t){var n;if("ConfigContext"in u.ConfigProvider)return(0,(0,i.useContext)(u.ConfigProvider.ConfigContext).getPrefixCls)(e,null==t?void 0:t.prefixCls);var r=null!==(n=null==t?void 0:t.prefixCls)&&void 0!==n?n:"ant-";return"".concat(r).concat(null!=e?e:"")},de=function(){return de=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},de.apply(this,arguments)},fe=(0,i.createContext)(null),me=(0,i.createContext)(null),ge=function(){return(0,i.useContext)(fe)},ye=function(e){var t=(0,i.useContext)(me);return t?t.index:e},ve=function(e){if("array"===(null==e?void 0:e.type))return[];if("object"===(null==e?void 0:e.type))return{};if("void"===(null==e?void 0:e.type))for(var t in e.properties){var n=ve(e.properties[t]);if((0,p.JY)(n))return n}},_e=function(e){var t=(0,h.U$)(),n=(0,h.XA)();return o().createElement(fe.Provider,{value:{field:t,schema:n,props:e}},e.children)};_e.Item=function(e){var t=e.children,n=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n}(e,["children"]);return o().createElement(me.Provider,{value:n},o().createElement(h.Pl,{value:{$record:n.record,$index:n.index}},t))};var be=function(e){var t,n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{withRef:!1};return n=t=function(t){function n(){return(0,A.Z)(this,n),O(this,N(n).apply(this,arguments))}return k(n,t),(0,R.Z)(n,[{key:"componentDidMount",value:function(){(0,M.findDOMNode)(this).sortableHandle=!0}},{key:"getWrappedInstance",value:function(){return H()(r.withRef,"To access the wrapped instance, you need to pass in {withRef: true} as the second argument of the SortableHandle() call"),this.refs.wrappedInstance}},{key:"render",value:function(){var t=r.withRef?"wrappedInstance":null;return(0,i.createElement)(e,(0,T.Z)({ref:t},this.props))}}]),n}(i.Component),(0,S.Z)(t,"displayName",Z("sortableHandle",e)),n}((function(e){var t=pe("formily-array-base");return o().createElement(y,de({},e,{className:f()("".concat(t,"-sort-handle"),e.className),style:de({},e.style)}))}));_e.SortHandle=function(e){var t,n=ge();return n?"editable"!==(null===(t=n.field)||void 0===t?void 0:t.pattern)?null:o().createElement(be,de({},e)):null},_e.Index=function(e){var t=ye(),n=pe("formily-array-base");return o().createElement("span",de({},e,{className:"".concat(n,"-index")}),"#",t+1,".")},_e.Addition=function(e){var t,n,r=(0,h.U$)(),i=ge(),a=pe("formily-array-base");return i?"editable"!==(null===(t=i.field)||void 0===t?void 0:t.pattern)&&"disabled"!==(null===(n=i.field)||void 0===n?void 0:n.pattern)?null:o().createElement(u.Button,de({type:"dashed",block:!0},e,{disabled:null==r?void 0:r.disabled,className:f()("".concat(a,"-addition"),e.className),onClick:function(t){var n,r,o,a,s,l,c,u,h,d,f;if(!(null===(n=i.props)||void 0===n?void 0:n.disabled)){var m=function(e,t){return(0,p.JY)(e)?(0,p.d9)(e):Array.isArray(null==t?void 0:t.items)?ve(t.items[0]):ve(t.items)}(e.defaultValue,i.schema);"unshift"===e.method?(null===(o=null===(r=i.field)||void 0===r?void 0:r.unshift)||void 0===o||o.call(r,m),null===(s=null===(a=i.props)||void 0===a?void 0:a.onAdd)||void 0===s||s.call(a,0)):(null===(c=null===(l=i.field)||void 0===l?void 0:l.push)||void 0===c||c.call(l,m),null===(h=null===(u=i.props)||void 0===u?void 0:u.onAdd)||void 0===h||h.call(u,(null===(f=null===(d=null==i?void 0:i.field)||void 0===d?void 0:d.value)||void 0===f?void 0:f.length)-1)),e.onClick&&e.onClick(t)}},icon:o().createElement(v.Z,null)}),e.title||r.title):null},_e.Remove=o().forwardRef((function(e,t){var n,r=ye(e.index),i=(0,h.U$)(),a=ge(),s=pe("formily-array-base");return a?"editable"!==(null===(n=a.field)||void 0===n?void 0:n.pattern)?null:o().createElement(_.Z,de({},e,{className:f()("".concat(s,"-remove"),(null==i?void 0:i.disabled)?"".concat(s,"-remove-disabled"):"",e.className),ref:t,onClick:function(t){var n,o,s,l;(null==i?void 0:i.disabled)||(t.stopPropagation(),null===(o=null===(n=a.field)||void 0===n?void 0:n.remove)||void 0===o||o.call(n,r),null===(l=null===(s=a.props)||void 0===s?void 0:s.onRemove)||void 0===l||l.call(s,r),e.onClick&&e.onClick(t))}})):null})),_e.MoveDown=o().forwardRef((function(e,t){var n,r=ye(e.index),i=(0,h.U$)(),a=ge(),s=pe("formily-array-base");return a?"editable"!==(null===(n=a.field)||void 0===n?void 0:n.pattern)?null:o().createElement(b.Z,de({},e,{className:f()("".concat(s,"-move-down"),(null==i?void 0:i.disabled)?"".concat(s,"-move-down-disabled"):"",e.className),ref:t,onClick:function(t){var n,o,s,l;(null==i?void 0:i.disabled)||(t.stopPropagation(),null===(o=null===(n=a.field)||void 0===n?void 0:n.moveDown)||void 0===o||o.call(n,r),null===(l=null===(s=a.props)||void 0===s?void 0:s.onMoveDown)||void 0===l||l.call(s,r),e.onClick&&e.onClick(t))}})):null})),_e.MoveUp=o().forwardRef((function(e,t){var n,r=ye(e.index),i=(0,h.U$)(),a=ge(),s=pe("formily-array-base");return a?"editable"!==(null===(n=a.field)||void 0===n?void 0:n.pattern)?null:o().createElement(E.Z,de({},e,{className:f()("".concat(s,"-move-up"),(null==i?void 0:i.disabled)?"".concat(s,"-move-up-disabled"):"",e.className),ref:t,onClick:function(t){var n,o,s;(null==i?void 0:i.disabled)||(t.stopPropagation(),null===(n=null==a?void 0:a.field)||void 0===n||n.moveUp(r),null===(s=null===(o=null==a?void 0:a.props)||void 0===o?void 0:o.onMoveUp)||void 0===s||s.call(o,r),e.onClick&&e.onClick(t))}})):null})),_e.useArray=ge,_e.useIndex=ye,_e.useRecord=function(e){var t=(0,i.useContext)(me);return t?t.record:e},_e.mixin=function(e){return e.Index=_e.Index,e.SortHandle=_e.SortHandle,e.Addition=_e.Addition,e.Remove=_e.Remove,e.MoveDown=_e.MoveDown,e.MoveUp=_e.MoveUp,e.useArray=_e.useArray,e.useIndex=_e.useIndex,e.useRecord=_e.useRecord,e};const Ee=_e;var Te=function(){return Te=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},Te.apply(this,arguments)},xe=function(e){var t;return(null===(t=e["x-component"])||void 0===t?void 0:t.indexOf("Addition"))>-1},Se=function(e){var t;return(null===(t=e["x-component"])||void 0===t?void 0:t.indexOf("Index"))>-1},Ce=function(e){return xe(e)||function(e){var t;return(null===(t=e["x-component"])||void 0===t?void 0:t.indexOf("Remove"))>-1}(e)||function(e){var t;return(null===(t=e["x-component"])||void 0===t?void 0:t.indexOf("MoveDown"))>-1}(e)||function(e){var t;return(null===(t=e["x-component"])||void 0===t?void 0:t.indexOf("MoveUp"))>-1}(e)},Ae=function(e,t){return n=e<t?e:t,Array.from({length:n}).map((function(e,t){return t}));var n},Re=(0,h.Pi)((function(e){var t=(0,h.U$)(),n=Array.isArray(t.value)?t.value:[],r=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}((0,i.useState)(Ae(n.length,e.defaultOpenPanelCount)),2),a=r[0],s=r[1],l=(0,h.XA)(),c=pe("formily-array-collapse",e);if((0,i.useEffect)((function(){!t.modified&&n.length&&s(Ae(n.length,e.defaultOpenPanelCount))}),[n.length,t]),!l)throw new Error("can not found schema object");return o().createElement(Ee,{onAdd:function(e){s(function(e,t){return e.length<=t?e.concat(t):e.reduce((function(e,n){return n<t?e.concat(n):n===t?e.concat([n,n+1]):e.concat(n+1)}),[])}(a,e))}},function(){if(!n.length)return o().createElement(u.Card,{className:f()("".concat(c,"-item"),e.className)},o().createElement(u.Empty,null))}(),o().createElement(u.Collapse,Te({},e,{activeKey:a,onChange:function(e){return s((0,p._K)(e).map(Number))},className:f()("".concat(c,"-item"),e.className)}),n.map((function(e,n){var r,i,a,s=Array.isArray(l.items)?l.items[n]||l.items[0]:l.items,c=t.query("".concat(t.address,".").concat(n)).get("componentProps"),p=s["x-component-props"],d=o().createElement(Ee.Item,{index:n,record:e},o().createElement(h.Uk,{schema:s,name:n,filterProperties:function(e){return!!Ce(e)},onlyRenderProperties:!0}),null==p?void 0:p.extra),f=o().createElement(h.Uk,{schema:s,name:n,filterProperties:function(e){return!Se(e)&&!Ce(e)}});return o().createElement(u.Collapse.Panel,Te({},p,c,{forceRender:!0,key:n,header:(r="".concat((null==c?void 0:c.header)||p.header||t.title),i=t.address.concat(n),a=t.form.queryFeedbacks({type:"error",address:"".concat(i,".**")}),o().createElement(Ee.Item,{index:n,record:e},o().createElement(h.Uk,{schema:s,name:n,filterProperties:function(e){return!!Se(e)},onlyRenderProperties:!0}),a.length?o().createElement(u.Badge,{size:"small",className:"errors-badge",count:a.length},r):r)),extra:d}),o().createElement(Ee.Item,{index:n,key:n,record:e},f))}))),l.reduceProperties((function(e,t,n){return xe(t)?o().createElement(h.Uk,{schema:t,name:n}):e}),null))})),we=function(e){var t=e.children;return o().createElement(i.Fragment,null,t)};we.displayName="CollapsePanel",Re.defaultProps={defaultOpenPanelCount:5},Re.displayName="ArrayCollapse",Re.CollapsePanel=we,Ee.mixin(Re);var Le=function(){return Le=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},Le.apply(this,arguments)},Oe=function(e){var t,n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{withRef:!1};return n=t=function(t){function n(){return(0,A.Z)(this,n),O(this,N(n).apply(this,arguments))}return k(n,t),(0,R.Z)(n,[{key:"componentDidMount",value:function(){this.register()}},{key:"componentDidUpdate",value:function(e){this.node&&(e.index!==this.props.index&&(this.node.sortableInfo.index=this.props.index),e.disabled!==this.props.disabled&&(this.node.sortableInfo.disabled=this.props.disabled)),e.collection!==this.props.collection&&(this.unregister(e.collection),this.register())}},{key:"componentWillUnmount",value:function(){this.unregister()}},{key:"register",value:function(){var e=this.props,t=e.collection,n=e.disabled,r=e.index,i=(0,M.findDOMNode)(this);i.sortableInfo={collection:t,disabled:n,index:r,manager:this.context.manager},this.node=i,this.ref={node:i},this.context.manager.add(t,this.ref)}},{key:"unregister",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props.collection;this.context.manager.remove(e,this.ref)}},{key:"getWrappedInstance",value:function(){return H()(r.withRef,"To access the wrapped instance, you need to pass in {withRef: true} as the second argument of the SortableElement() call"),this.refs.wrappedInstance}},{key:"render",value:function(){var t=r.withRef?"wrappedInstance":null;return(0,i.createElement)(e,(0,T.Z)({ref:t},G(this.props,he)))}}]),n}(i.Component),(0,S.Z)(t,"displayName",Z("sortableElement",e)),(0,S.Z)(t,"contextTypes",{manager:P().object.isRequired}),(0,S.Z)(t,"propTypes",ue),(0,S.Z)(t,"defaultProps",{collection:0}),n}((function(e){var t=pe("formily-array-items");return o().createElement("div",Le({},e,{className:f()("".concat(t,"-item"),e.className)}),e.children)})),Ne=function(e){var t,n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{withRef:!1};return n=t=function(t){function n(e){var t;return(0,A.Z)(this,n),t=O(this,N(n).call(this,e)),(0,S.Z)(L(L(t)),"state",{}),(0,S.Z)(L(L(t)),"handleStart",(function(e){var n=t.props,r=n.distance,i=n.shouldCancelStart;if(2!==e.button&&!i(e)){t.touched=!0,t.position=J(e);var o=K(e.target,(function(e){return null!=e.sortableInfo}));if(o&&o.sortableInfo&&t.nodeIsChild(o)&&!t.state.sorting){var a=t.props.useDragHandle,s=o.sortableInfo,l=s.index,c=s.collection;if(s.disabled)return;if(a&&!K(e.target,ie))return;t.manager.active={collection:c,index:l},function(e){return e.touches&&e.touches.length||e.changedTouches&&e.changedTouches.length}(e)||e.target.tagName!==re.Anchor||e.preventDefault(),r||(0===t.props.pressDelay?t.handlePress(e):t.pressTimer=setTimeout((function(){return t.handlePress(e)}),t.props.pressDelay))}}})),(0,S.Z)(L(L(t)),"nodeIsChild",(function(e){return e.sortableInfo.manager===t.manager})),(0,S.Z)(L(L(t)),"handleMove",(function(e){var n=t.props,r=n.distance,i=n.pressThreshold;if(!t.state.sorting&&t.touched&&!t._awaitingUpdateBeforeSortStart){var o=J(e),a={x:t.position.x-o.x,y:t.position.y-o.y},s=Math.abs(a.x)+Math.abs(a.y);t.delta=a,r||i&&!(s>=i)?r&&s>=r&&t.manager.isActive()&&t.handlePress(e):(clearTimeout(t.cancelTimer),t.cancelTimer=setTimeout(t.cancel,0))}})),(0,S.Z)(L(L(t)),"handleEnd",(function(){t.touched=!1,t.cancel()})),(0,S.Z)(L(L(t)),"cancel",(function(){var e=t.props.distance;t.state.sorting||(e||clearTimeout(t.pressTimer),t.manager.active=null)})),(0,S.Z)(L(L(t)),"handlePress",(function(e){try{var n=t.manager.getActive(),r=function(){if(n){var r=function(){var n,r,i,c,m,g,y=p.sortableInfo.index,v=(n=p,{bottom:X((r=window.getComputedStyle(n)).marginBottom),left:X(r.marginLeft),right:X(r.marginRight),top:X(r.marginTop)}),_=function(e){var t=window.getComputedStyle(e);return"grid"===t.display?{x:X(t.gridColumnGap),y:X(t.gridRowGap)}:{x:0,y:0}}(t.container),b=t.scrollContainer.getBoundingClientRect(),E=a({index:y,node:p,collection:d});if(t.node=p,t.margin=v,t.gridGap=_,t.width=E.width,t.height=E.height,t.marginOffset={x:t.margin.left+t.margin.right+t.gridGap.x,y:Math.max(t.margin.top,t.margin.bottom,t.gridGap.y)},t.boundingClientRect=p.getBoundingClientRect(),t.containerBoundingRect=b,t.index=y,t.newIndex=y,t.axis={x:o.indexOf("x")>=0,y:o.indexOf("y")>=0},t.offsetEdge=ee(p,t.container),t.initialOffset=J(f?C({},e,{pageX:t.boundingClientRect.left,pageY:t.boundingClientRect.top}):e),t.initialScroll={left:t.scrollContainer.scrollLeft,top:t.scrollContainer.scrollTop},t.initialWindowScroll={left:window.pageXOffset,top:window.pageYOffset},t.helper=t.helperContainer.appendChild((c="input, textarea, select, canvas, [contenteditable]",m=(i=p).querySelectorAll(c),g=i.cloneNode(!0),(0,B.Z)(g.querySelectorAll(c)).forEach((function(e,t){"file"!==e.type&&(e.value=m[t].value),"radio"===e.type&&e.name&&(e.name="__sortableClone__".concat(e.name)),e.tagName===re.Canvas&&m[t].width>0&&m[t].height>0&&e.getContext("2d").drawImage(m[t],0,0)})),g)),$(t.helper,{boxSizing:"border-box",height:"".concat(t.height,"px"),left:"".concat(t.boundingClientRect.left-v.left,"px"),pointerEvents:"none",position:"fixed",top:"".concat(t.boundingClientRect.top-v.top,"px"),width:"".concat(t.width,"px")}),f&&t.helper.focus(),l&&(t.sortableGhost=p,$(p,{opacity:0,visibility:"hidden"})),t.minTranslate={},t.maxTranslate={},f){var T=h?{top:0,left:0,width:t.contentWindow.innerWidth,height:t.contentWindow.innerHeight}:t.containerBoundingRect,x=T.top,S=T.left,A=T.width,R=x+T.height,w=S+A;t.axis.x&&(t.minTranslate.x=S-t.boundingClientRect.left,t.maxTranslate.x=w-(t.boundingClientRect.left+t.width)),t.axis.y&&(t.minTranslate.y=x-t.boundingClientRect.top,t.maxTranslate.y=R-(t.boundingClientRect.top+t.height))}else t.axis.x&&(t.minTranslate.x=(h?0:b.left)-t.boundingClientRect.left-t.width/2,t.maxTranslate.x=(h?t.contentWindow.innerWidth:b.left+b.width)-t.boundingClientRect.left-t.width/2),t.axis.y&&(t.minTranslate.y=(h?0:b.top)-t.boundingClientRect.top-t.height/2,t.maxTranslate.y=(h?t.contentWindow.innerHeight:b.top+b.height)-t.boundingClientRect.top-t.height/2);s&&s.split(" ").forEach((function(e){return t.helper.classList.add(e)})),t.listenerNode=e.touches?p:t.contentWindow,f?(t.listenerNode.addEventListener("wheel",t.handleKeyEnd,!0),t.listenerNode.addEventListener("mousedown",t.handleKeyEnd,!0),t.listenerNode.addEventListener("keydown",t.handleKeyDown)):(Y.move.forEach((function(e){return t.listenerNode.addEventListener(e,t.handleSortMove,!1)})),Y.end.forEach((function(e){return t.listenerNode.addEventListener(e,t.handleSortEnd,!1)}))),t.setState({sorting:!0,sortingIndex:y}),u&&u({node:p,index:y,collection:d,isKeySorting:f,nodes:t.manager.getOrderedRefs(),helper:t.helper},e),f&&t.keyMove(0)},i=t.props,o=i.axis,a=i.getHelperDimensions,s=i.helperClass,l=i.hideSortableGhost,c=i.updateBeforeSortStart,u=i.onSortStart,h=i.useWindowAsScrollContainer,p=n.node,d=n.collection,f=t.manager.isKeySorting,m=function(){if("function"==typeof c){t._awaitingUpdateBeforeSortStart=!0;var n=function(t,n){try{var r=(i=p.sortableInfo.index,Promise.resolve(c({collection:d,index:i,node:p,isKeySorting:f},e)).then((function(){})))}catch(e){return n(!0,e)}var i;return r&&r.then?r.then(n.bind(null,!1),n.bind(null,!0)):n(!1,value)}(0,(function(e,n){if(t._awaitingUpdateBeforeSortStart=!1,e)throw n;return n}));if(n&&n.then)return n.then((function(){}))}}();return m&&m.then?m.then(r):r()}}();return Promise.resolve(r&&r.then?r.then((function(){})):void 0)}catch(e){return Promise.reject(e)}})),(0,S.Z)(L(L(t)),"handleSortMove",(function(e){var n=t.props.onSortMove;"function"==typeof e.preventDefault&&e.preventDefault(),t.updateHelperPosition(e),t.animateNodes(),t.autoscroll(),n&&n(e)})),(0,S.Z)(L(L(t)),"handleSortEnd",(function(e){var n=t.props,r=n.hideSortableGhost,i=n.onSortEnd,o=t.manager,a=o.active.collection,s=o.isKeySorting,l=t.manager.getOrderedRefs();t.listenerNode&&(s?(t.listenerNode.removeEventListener("wheel",t.handleKeyEnd,!0),t.listenerNode.removeEventListener("mousedown",t.handleKeyEnd,!0),t.listenerNode.removeEventListener("keydown",t.handleKeyDown)):(Y.move.forEach((function(e){return t.listenerNode.removeEventListener(e,t.handleSortMove)})),Y.end.forEach((function(e){return t.listenerNode.removeEventListener(e,t.handleSortEnd)})))),t.helper.parentNode.removeChild(t.helper),r&&t.sortableGhost&&$(t.sortableGhost,{opacity:"",visibility:""});for(var c=0,u=l.length;c<u;c++){var h=l[c],p=h.node;h.edgeOffset=null,h.boundingClientRect=null,W(p,null),V(p,null),h.translate=null}t.autoScroller.clear(),t.manager.active=null,t.manager.isKeySorting=!1,t.setState({sorting:!1,sortingIndex:null}),"function"==typeof i&&i({collection:a,newIndex:t.newIndex,oldIndex:t.index,isKeySorting:s,nodes:l},e),t.touched=!1})),(0,S.Z)(L(L(t)),"autoscroll",(function(){var e=t.props.disableAutoscroll,n=t.manager.isKeySorting;if(e)t.autoScroller.clear();else{if(n){var r=C({},t.translate),i=0,o=0;return t.axis.x&&(r.x=Math.min(t.maxTranslate.x,Math.max(t.minTranslate.x,t.translate.x)),i=t.translate.x-r.x),t.axis.y&&(r.y=Math.min(t.maxTranslate.y,Math.max(t.minTranslate.y,t.translate.y)),o=t.translate.y-r.y),t.translate=r,W(t.helper,t.translate),t.scrollContainer.scrollLeft+=i,void(t.scrollContainer.scrollTop+=o)}t.autoScroller.update({height:t.height,maxTranslate:t.maxTranslate,minTranslate:t.minTranslate,translate:t.translate,width:t.width})}})),(0,S.Z)(L(L(t)),"onAutoScroll",(function(e){t.translate.x+=e.left,t.translate.y+=e.top,t.animateNodes()})),(0,S.Z)(L(L(t)),"handleKeyDown",(function(e){var n=e.keyCode,r=t.props,i=r.shouldCancelStart,o=r.keyCodes,a=C({},se,void 0===o?{}:o);t.manager.active&&!t.manager.isKeySorting||!(t.manager.active||a.lift.includes(n)&&!i(e)&&t.isValidSortingTarget(e))||(e.stopPropagation(),e.preventDefault(),a.lift.includes(n)&&!t.manager.active?t.keyLift(e):a.drop.includes(n)&&t.manager.active?t.keyDrop(e):a.cancel.includes(n)?(t.newIndex=t.manager.active.index,t.keyDrop(e)):a.up.includes(n)?t.keyMove(-1):a.down.includes(n)&&t.keyMove(1))})),(0,S.Z)(L(L(t)),"keyLift",(function(e){var n=e.target,r=K(n,(function(e){return null!=e.sortableInfo})).sortableInfo,i=r.index,o=r.collection;t.initialFocusedNode=n,t.manager.isKeySorting=!0,t.manager.active={index:i,collection:o},t.handlePress(e)})),(0,S.Z)(L(L(t)),"keyMove",(function(e){var n=t.manager.getOrderedRefs(),r=n[n.length-1].node.sortableInfo.index,i=t.newIndex+e,o=t.newIndex;if(!(i<0||i>r)){t.prevIndex=o,t.newIndex=i;var a=function(e,t,n){return e<n&&e>t?e-1:e>n&&e<t?e+1:e}(t.newIndex,t.prevIndex,t.index),s=n.find((function(e){return e.node.sortableInfo.index===a})),l=s.node,c=t.containerScrollDelta,u=s.boundingClientRect||Q(l,c),h=s.translate||{x:0,y:0},p=u.top+h.y-c.top,d=u.left+h.x-c.left,f=o<i,m=f&&t.axis.x?l.offsetWidth-t.width:0,g=f&&t.axis.y?l.offsetHeight-t.height:0;t.handleSortMove({pageX:d+m,pageY:p+g,ignoreTransition:0===e})}})),(0,S.Z)(L(L(t)),"keyDrop",(function(e){t.handleSortEnd(e),t.initialFocusedNode&&t.initialFocusedNode.focus()})),(0,S.Z)(L(L(t)),"handleKeyEnd",(function(e){t.manager.active&&t.keyDrop(e)})),(0,S.Z)(L(L(t)),"isValidSortingTarget",(function(e){var n=t.props.useDragHandle,r=e.target,i=K(r,(function(e){return null!=e.sortableInfo}));return i&&i.sortableInfo&&!i.sortableInfo.disabled&&(n?ie(r):r.sortableInfo)})),function(e){H()(!(e.distance&&e.pressDelay),"Attempted to set both `pressDelay` and `distance` on SortableContainer, you may only use one or the other, not both at the same time.")}(e),t.manager=new U,t.events={end:t.handleEnd,move:t.handleMove,start:t.handleStart},t}return k(n,t),(0,R.Z)(n,[{key:"getChildContext",value:function(){return{manager:this.manager}}},{key:"componentDidMount",value:function(){var e=this,t=this.props.useWindowAsScrollContainer,n=this.getContainer();Promise.resolve(n).then((function(n){e.container=n,e.document=e.container.ownerDocument||document;var r=e.props.contentWindow||e.document.defaultView||window;e.contentWindow="function"==typeof r?r():r,e.scrollContainer=t?e.document.scrollingElement||e.document.documentElement:ne(e.container)||e.container,e.autoScroller=new oe(e.scrollContainer,e.onAutoScroll),Object.keys(e.events).forEach((function(t){return Y[t].forEach((function(n){return e.container.addEventListener(n,e.events[t],!1)}))})),e.container.addEventListener("keydown",e.handleKeyDown)}))}},{key:"componentWillUnmount",value:function(){var e=this;this.helper&&this.helper.parentNode&&this.helper.parentNode.removeChild(this.helper),this.container&&(Object.keys(this.events).forEach((function(t){return Y[t].forEach((function(n){return e.container.removeEventListener(n,e.events[t])}))})),this.container.removeEventListener("keydown",this.handleKeyDown))}},{key:"updateHelperPosition",value:function(e){var t=this.props,n=t.lockAxis,r=t.lockOffset,i=t.lockToContainerEdges,o=t.transitionDuration,a=t.keyboardSortingTransitionDuration,s=void 0===a?o:a,l=this.manager.isKeySorting,c=e.ignoreTransition,u=J(e),h={x:u.x-this.initialOffset.x,y:u.y-this.initialOffset.y};if(h.y-=window.pageYOffset-this.initialWindowScroll.top,h.x-=window.pageXOffset-this.initialWindowScroll.left,this.translate=h,i){var p=function(e){var t=e.height,n=e.width,r=e.lockOffset,i=Array.isArray(r)?r:[r,r];H()(2===i.length,"lockOffset prop of SortableContainer should be a single value or an array of exactly two values. Given %s",r);var o=(0,x.Z)(i,2),a=o[0],s=o[1];return[te({height:t,lockOffset:a,width:n}),te({height:t,lockOffset:s,width:n})]}({height:this.height,lockOffset:r,width:this.width}),d=(0,x.Z)(p,2),f=d[0],m=d[1],g={x:this.width/2-f.x,y:this.height/2-f.y},y={x:this.width/2-m.x,y:this.height/2-m.y};h.x=q(this.minTranslate.x+g.x,this.maxTranslate.x-y.x,h.x),h.y=q(this.minTranslate.y+g.y,this.maxTranslate.y-y.y,h.y)}"x"===n?h.y=0:"y"===n&&(h.x=0),l&&s&&!c&&V(this.helper,s),W(this.helper,h)}},{key:"animateNodes",value:function(){var e=this.props,t=e.transitionDuration,n=e.hideSortableGhost,r=e.onSortOver,i=this.containerScrollDelta,o=this.windowScrollDelta,a=this.manager.getOrderedRefs(),s=this.offsetEdge.left+this.translate.x+i.left,l=this.offsetEdge.top+this.translate.y+i.top,c=this.manager.isKeySorting,u=this.newIndex;this.newIndex=null;for(var h=0,p=a.length;h<p;h++){var d=a[h].node,f=d.sortableInfo.index,m=d.offsetWidth,g=d.offsetHeight,y={height:this.height>g?g/2:this.height/2,width:this.width>m?m/2:this.width/2},v=c&&f>this.index&&f<=u,_=c&&f<this.index&&f>=u,b={x:0,y:0},E=a[h].edgeOffset;E||(E=ee(d,this.container),a[h].edgeOffset=E,c&&(a[h].boundingClientRect=Q(d,i)));var T=h<a.length-1&&a[h+1],x=h>0&&a[h-1];T&&!T.edgeOffset&&(T.edgeOffset=ee(T.node,this.container),c&&(T.boundingClientRect=Q(T.node,i))),f!==this.index?(t&&V(d,t),this.axis.x?this.axis.y?_||f<this.index&&(s+o.left-y.width<=E.left&&l+o.top<=E.top+y.height||l+o.top+y.height<=E.top)?(b.x=this.width+this.marginOffset.x,E.left+b.x>this.containerBoundingRect.width-y.width&&T&&(b.x=T.edgeOffset.left-E.left,b.y=T.edgeOffset.top-E.top),null===this.newIndex&&(this.newIndex=f)):(v||f>this.index&&(s+o.left+y.width>=E.left&&l+o.top+y.height>=E.top||l+o.top+y.height>=E.top+g))&&(b.x=-(this.width+this.marginOffset.x),E.left+b.x<this.containerBoundingRect.left+y.width&&x&&(b.x=x.edgeOffset.left-E.left,b.y=x.edgeOffset.top-E.top),this.newIndex=f):v||f>this.index&&s+o.left+y.width>=E.left?(b.x=-(this.width+this.marginOffset.x),this.newIndex=f):(_||f<this.index&&s+o.left<=E.left+y.width)&&(b.x=this.width+this.marginOffset.x,null==this.newIndex&&(this.newIndex=f)):this.axis.y&&(v||f>this.index&&l+o.top+y.height>=E.top?(b.y=-(this.height+this.marginOffset.y),this.newIndex=f):(_||f<this.index&&l+o.top<=E.top+y.height)&&(b.y=this.height+this.marginOffset.y,null==this.newIndex&&(this.newIndex=f))),W(d,b),a[h].translate=b):n&&(this.sortableGhost=d,$(d,{opacity:0,visibility:"hidden"}))}null==this.newIndex&&(this.newIndex=this.index),c&&(this.newIndex=u);var S=c?this.prevIndex:u;r&&this.newIndex!==S&&r({collection:this.manager.active.collection,index:this.index,newIndex:this.newIndex,oldIndex:S,isKeySorting:c,nodes:a,helper:this.helper})}},{key:"getWrappedInstance",value:function(){return H()(r.withRef,"To access the wrapped instance, you need to pass in {withRef: true} as the second argument of the SortableContainer() call"),this.refs.wrappedInstance}},{key:"getContainer",value:function(){var e=this.props.getContainer;return"function"!=typeof e?(0,M.findDOMNode)(this):e(r.withRef?this.getWrappedInstance():void 0)}},{key:"render",value:function(){var t=r.withRef?"wrappedInstance":null;return(0,i.createElement)(e,(0,T.Z)({ref:t},G(this.props,ce)))}},{key:"helperContainer",get:function(){var e=this.props.helperContainer;return"function"==typeof e?e():this.props.helperContainer||this.document.body}},{key:"containerScrollDelta",get:function(){return this.props.useWindowAsScrollContainer?{left:0,top:0}:{left:this.scrollContainer.scrollLeft-this.initialScroll.left,top:this.scrollContainer.scrollTop-this.initialScroll.top}}},{key:"windowScrollDelta",get:function(){return{left:this.contentWindow.pageXOffset-this.initialWindowScroll.left,top:this.contentWindow.pageYOffset-this.initialWindowScroll.top}}}]),n}(i.Component),(0,S.Z)(t,"displayName",Z("sortableList",e)),(0,S.Z)(t,"defaultProps",le),(0,S.Z)(t,"propTypes",ae),(0,S.Z)(t,"childContextTypes",{manager:P().object.isRequired}),n}((function(e){var t=pe("formily-array-items");return o().createElement("div",Le({},e,{className:f()("".concat(t,"-list"),e.className)}),e.children)})),Ie=(0,h.Pi)((function(e){var t=(0,h.U$)(),n=pe("formily-array-items"),r=(0,h.XA)(),i=(0,h.XA)().reduceProperties((function(e,t,n){return function(e){var t;return(null===(t=e["x-component"])||void 0===t?void 0:t.indexOf("Addition"))>-1}(t)?o().createElement(h.Uk,{schema:t,name:n}):e}),null),a=Array.isArray(t.value)?t.value:[];if(!r)throw new Error("can not found schema object");return o().createElement(_e,null,o().createElement("div",Le({},e,{onChange:function(){},className:f()(n,e.className)}),o().createElement(Ne,{useDragHandle:!0,lockAxis:"y",helperClass:"".concat(n,"-sort-helper"),onSortEnd:function(e){var n=e.oldIndex,r=e.newIndex;t.move(n,r)}},null==a?void 0:a.map((function(e,t){var i=Array.isArray(r.items)?r.items[t]||r.items[0]:r.items;return o().createElement(_e.Item,{key:t,index:t,record:e},o().createElement(Oe,{key:"item-".concat(t),index:t},o().createElement("div",{className:"".concat(n,"-item-inner")},o().createElement(h.Uk,{schema:i,name:t}))))}))),i))}));Ie.displayName="ArrayItems",Ie.Item=function(e){var t=pe("formily-array-items");return o().createElement("div",Le({},e,{onChange:function(){},className:f()("".concat(t,"-").concat(e.type||"card"),e.className)}),e.children)},_e.mixin(Ie);var ke=n(5093),De=function(){return De=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},De.apply(this,arguments)},Pe=function(e,t){return(0,p.JY)(e)?function(e,t){var n;return Array.isArray(e)?-1===t?e[0]:null!==(n=e[t])&&void 0!==n?n:e[e.length-1]:e}(e,t):e},Me=function(e){var t=(0,i.useRef)(null),n=e.breakpoints;if(!(0,p.H1)(n))return{ref:t,props:e};var r=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}((0,i.useState)(e),2),o=r[0],a=r[1],s=function(){t.current&&a(function(e,t){var n=e.clientWidth,r=t.breakpoints,i=t.layout,o=t.labelAlign,a=t.wrapperAlign,s=t.labelCol,l=t.wrapperCol,c=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n}(t,["breakpoints","layout","labelAlign","wrapperAlign","labelCol","wrapperCol"]),u=function(e,t){for(var n=0;n<e.length;n++)if(t<=e[n])return n}(r,n);return De({layout:Pe(i,u),labelAlign:Pe(o,u),wrapperAlign:Pe(a,u),labelCol:Pe(s,u),wrapperCol:Pe(l,u)},c)}(t.current,e))};return(0,i.useEffect)((function(){var e=new ResizeObserver((function(){s()}));return t.current&&e.observe(t.current),s(),function(){e.disconnect()}}),[]),{ref:t,props:o}},Fe=function(){return Fe=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},Fe.apply(this,arguments)},He=(0,i.createContext)(null),Be=(0,i.createContext)(null),Ue=function(){return(0,i.useContext)(He)},je=function(){return(0,i.useContext)(Be)},Ge=function(){return Fe(Fe({},Ue()),je())},Ye=function(e){var t,n,r=e.shallow,i=e.children,a=e.prefixCls,s=e.className,l=e.style,c=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n}(e,["shallow","children","prefixCls","className","style"]),u=Me(c),h=u.ref,p=u.props,d=Ue(),m=pe("form",{prefixCls:a}),g=pe("formily-layout",{prefixCls:a}),y=f()(g,((t={})["".concat(m,"-").concat(p.layout)]=!0,t["".concat(m,"-rtl")]="rtl"===p.direction,t["".concat(m,"-").concat(p.size)]=p.size,t),s);return o().createElement("div",{ref:h,className:y,style:l},(n=Fe({},d),r?(p.size&&(n.size=p.size),p.colon&&(n.colon=p.colon)):Object.assign(n,p),o().createElement(He.Provider,{value:n},o().createElement(Be.Provider,{value:r?p:void 0},i))))};Ye.defaultProps={shallow:!0},Ye.useFormDeepLayout=Ue,Ye.useFormShallowLayout=je,Ye.useFormLayout=Ge;const ze={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"question-circle",theme:"outlined"};var $e=function(e,t){return i.createElement(s.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:ze}))};$e.displayName="QuestionCircleOutlined";const We=i.forwardRef($e),Ve={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M685.4 354.8c0-4.4-3.6-8-8-8l-66 .3L512 465.6l-99.3-118.4-66.1-.3c-4.4 0-8 3.5-8 8 0 1.9.7 3.7 1.9 5.2l130.1 155L340.5 670a8.32 8.32 0 00-1.9 5.2c0 4.4 3.6 8 8 8l66.1-.3L512 564.4l99.3 118.4 66 .3c4.4 0 8-3.5 8-8 0-1.9-.7-3.7-1.9-5.2L553.5 515l130.1-155c1.2-1.4 1.8-3.3 1.8-5.2z"}},{tag:"path",attrs:{d:"M512 65C264.6 65 64 265.6 64 513s200.6 448 448 448 448-200.6 448-448S759.4 65 512 65zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]},name:"close-circle",theme:"outlined"};var Ke=function(e,t){return i.createElement(s.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:Ve}))};Ke.displayName="CloseCircleOutlined";const qe=i.forwardRef(Ke),Xe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M699 353h-46.9c-10.2 0-19.9 4.9-25.9 13.3L469 584.3l-71.2-98.8c-6-8.3-15.6-13.3-25.9-13.3H325c-6.5 0-10.3 7.4-6.5 12.7l124.6 172.8a31.8 31.8 0 0051.7 0l210.6-292c3.9-5.3.1-12.7-6.4-12.7z"}},{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]},name:"check-circle",theme:"outlined"};var Ze=function(e,t){return i.createElement(s.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:Xe}))};Ze.displayName="CheckCircleOutlined";const Qe=i.forwardRef(Ze),Je={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z"}}]},name:"exclamation-circle",theme:"outlined"};var et=function(e,t){return i.createElement(s.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:Je}))};et.displayName="ExclamationCircleOutlined";const tt=i.forwardRef(et);var nt=function(){return nt=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},nt.apply(this,arguments)},rt=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a},it={error:o().createElement(qe,null),success:o().createElement(Qe,null),warning:o().createElement(tt,null)},ot=function(e){var t,n,r,a,s,l=e.children,c=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n}(e,["children"]),h=rt((0,i.useState)(!1),2),p=h[0],d=h[1],m=function(e){var t,n,r,i,a,s,l,c,u,h,p,d,f,m,g,y,v,_,b,E,T,x,S,C,A=Ge();return nt(nt({},e),{layout:null!==(n=null!==(t=e.layout)&&void 0!==t?t:A.layout)&&void 0!==n?n:"horizontal",colon:null!==(r=e.colon)&&void 0!==r?r:A.colon,labelAlign:"vertical"===A.layout?null!==(a=null!==(i=e.labelAlign)&&void 0!==i?i:A.labelAlign)&&void 0!==a?a:"left":null!==(l=null!==(s=e.labelAlign)&&void 0!==s?s:A.labelAlign)&&void 0!==l?l:"right",labelWrap:null!==(c=e.labelWrap)&&void 0!==c?c:A.labelWrap,labelWidth:null!==(u=e.labelWidth)&&void 0!==u?u:A.labelWidth,wrapperWidth:null!==(h=e.wrapperWidth)&&void 0!==h?h:A.wrapperWidth,labelCol:null!==(p=e.labelCol)&&void 0!==p?p:A.labelCol,wrapperCol:null!==(d=e.wrapperCol)&&void 0!==d?d:A.wrapperCol,wrapperAlign:null!==(f=e.wrapperAlign)&&void 0!==f?f:A.wrapperAlign,wrapperWrap:null!==(m=e.wrapperWrap)&&void 0!==m?m:A.wrapperWrap,fullness:null!==(g=e.fullness)&&void 0!==g?g:A.fullness,size:null!==(y=e.size)&&void 0!==y?y:A.size,inset:null!==(v=e.inset)&&void 0!==v?v:A.inset,asterisk:e.asterisk,bordered:null!==(_=e.bordered)&&void 0!==_?_:A.bordered,feedbackIcon:e.feedbackIcon,feedbackLayout:null!==(E=null!==(b=e.feedbackLayout)&&void 0!==b?b:A.feedbackLayout)&&void 0!==E?E:"loose",tooltipLayout:null!==(x=null!==(T=e.tooltipLayout)&&void 0!==T?T:A.tooltipLayout)&&void 0!==x?x:"icon",tooltipIcon:null!==(C=null!==(S=e.tooltipIcon)&&void 0!==S?S:A.tooltipIcon)&&void 0!==C?C:o().createElement(We,null)})}(c),g=function(){var e=rt((0,i.useState)(!1),2),t=e[0],n=e[1],r=(0,i.useRef)(),o=(0,i.useRef)(),a=Ge(),s=JSON.stringify(a.labelCol);return(0,i.useEffect)((function(){requestAnimationFrame((function(){if(r.current&&o.current){var e=o.current.getBoundingClientRect().width,i=r.current.getBoundingClientRect().width;e&&i&&i<e?t||n(!0):t&&n(!1)}}))}),[s]),{overflow:t,containerRef:r,contentRef:o}}(),y=g.containerRef,v=g.contentRef,_=g.overflow,b=m.label,E=m.style,T=m.layout,x=m.colon,S=void 0===x||x,C=m.addonBefore,A=m.addonAfter,R=m.asterisk,w=m.feedbackStatus,L=m.extra,O=m.feedbackText,N=m.fullness,I=m.feedbackLayout,k=m.feedbackIcon,D=m.getPopupContainer,P=m.inset,M=m.bordered,F=void 0===M||M,H=m.labelWidth,B=m.wrapperWidth,U=m.labelCol,j=m.wrapperCol,G=m.labelAlign,Y=m.wrapperAlign,z=void 0===Y?"left":Y,$=m.size,W=m.labelWrap,V=m.wrapperWrap,K=m.tooltipLayout,q=m.tooltip,X=m.tooltipIcon,Z=nt({},m.labelStyle),Q=nt({},m.wrapperStyle),J=!1;(H||B)&&(H&&(Z.width="auto"===H?void 0:H,Z.maxWidth="auto"===H?void 0:H),B&&(Q.width="auto"===B?void 0:B,Q.maxWidth="auto"===B?void 0:B)),(U||j)&&(Z.width||Q.width||"vertical"===T||(J=!0));var ee=pe("formily-item",c),te="popover"===I?o().createElement(u.Popover,{autoAdjustOverflow:!0,placement:"top",content:o().createElement("div",{className:f()((t={},t["".concat(ee,"-").concat(w,"-help")]=!!w,t["".concat(ee,"-help")]=!0,t))},it[w]," ",O),visible:!!O,getPopupContainer:D},l):l;return o().createElement("div",nt({},function(e){void 0===e&&(e={});var t={};for(var n in e)n.indexOf("data-")>-1&&(t[n]=e[n]);return t}(c),{style:nt(nt({},E),{}),"data-grid-span":c.gridSpan,className:f()((n={},n["".concat(ee)]=!0,n["".concat(ee,"-layout-").concat(T)]=!0,n["".concat(ee,"-").concat(w)]=!!w,n["".concat(ee,"-feedback-has-text")]=!!O,n["".concat(ee,"-size-").concat($)]=!!$,n["".concat(ee,"-feedback-layout-").concat(I)]=!!I,n["".concat(ee,"-fullness")]=!!N||!!P||!!k,n["".concat(ee,"-inset")]=!!P,n["".concat(ee,"-active")]=p,n["".concat(ee,"-inset-active")]=!!P&&p,n["".concat(ee,"-label-align-").concat(G)]=!0,n["".concat(ee,"-control-align-").concat(z)]=!0,n["".concat(ee,"-label-wrap")]=!!W,n["".concat(ee,"-control-wrap")]=!!V,n["".concat(ee,"-bordered-none")]=!1===F||!!P||!!k,n[c.className]=!!c.className,n)),onFocus:function(){(k||P)&&d(!0)},onBlur:function(){(k||P)&&d(!1)}}),function(){var e,t;return b?o().createElement("div",{className:f()((e={},e["".concat(ee,"-label")]=!0,e["".concat(ee,"-label-tooltip")]=q&&"text"===K||_,e["".concat(ee,"-item-col-").concat(U)]=J&&!!U,e)),style:Z},(t=o().createElement("div",{className:"".concat(ee,"-label-content"),ref:y},o().createElement("span",{ref:v},R&&o().createElement("span",{className:"".concat(ee,"-asterisk")},"*"),o().createElement("label",null,b))),"text"===K&&q||_?o().createElement(u.Tooltip,{placement:"top",align:{offset:[0,10]},title:_?o().createElement("div",null,o().createElement("div",null,b),o().createElement("div",null,q)):q},t):t),function(){if(q&&"icon"===K&&!_)return o().createElement("span",{className:"".concat(ee,"-label-tooltip-icon")},o().createElement(u.Tooltip,{placement:"top",align:{offset:[0,2]},title:q},X))}()," "!==b&&o().createElement("span",{className:"".concat(ee,"-colon")},S?":":"")):null}(),o().createElement("div",{className:f()((r={},r["".concat(ee,"-control")]=!0,r["".concat(ee,"-item-col-").concat(j)]=J&&!!j&&b,r))},o().createElement("div",{className:f()("".concat(ee,"-control-content"))},C&&o().createElement("div",{className:f()("".concat(ee,"-addon-before"))},C),o().createElement("div",{style:Q,className:f()((a={},a["".concat(ee,"-control-content-component")]=!0,a["".concat(ee,"-control-content-component-has-feedback-icon")]=!!k,a))},o().createElement(Be.Provider,{value:void 0},te),k&&o().createElement("div",{className:f()("".concat(ee,"-feedback-icon"))},k)),A&&o().createElement("div",{className:f()("".concat(ee,"-addon-after"))},A)),!!O&&"popover"!==I&&"none"!==I&&o().createElement("div",{className:f()((s={},s["".concat(ee,"-").concat(w,"-help")]=!!w,s["".concat(ee,"-help")]=!0,s["".concat(ee,"-help-enter")]=!0,s["".concat(ee,"-help-enter-active")]=!0,s))},O),L&&o().createElement("div",{className:f()("".concat(ee,"-extra"))},L)))},at=(0,h.$j)(ot,(0,h.jM)((function(e,t){return(0,ke.JF)(t)?{label:t.title||e.label,asterisk:e.asterisk,extra:e.extra||t.description}:t?{label:e.label||t.title,feedbackStatus:t.validating?"pending":t.decoratorProps.feedbackStatus||t.validateStatus,feedbackText:function(){var n=function(e){return e.reduce((function(t,n,r){return n?r<e.length-1?t.concat([n,", "]):t.concat([n]):t}),[])};if(!t.validating)return e.feedbackText?e.feedbackText:t.selfErrors.length?n(t.selfErrors):t.selfWarnings.length?n(t.selfWarnings):t.selfSuccesses.length?n(t.selfSuccesses):void 0}(),asterisk:!(!t.required||"readPretty"===t.pattern)||"asterisk"in e&&e.asterisk,extra:e.extra||t.description}:e})));at.BaseItem=ot;var st=n(5914),lt=n.n(st),ct=function(e,t){return Array.isArray(e)?e.map((function(e){return lt()(e,t)})):e?lt()(e,t):e},ut=function(e,t,n){var r=function(e,t,r){if(void 0===r&&(r=0),!e)return n;if((0,p.H1)(t)){var i=t[r];return(0,p.LQ)(i)?i(e):(0,p.xb)(i)?e:lt()(e).format(i)}return(0,p.LQ)(t)?t(e):(0,p.xb)(t)?e:lt()(e).format(t)};return(0,p.H1)(e)?e.map((function(e,n){return r(e,t,n)})):e?r(e,t):e||n},ht=function(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))},pt=(0,i.createContext)("N/A"),dt=pt.Provider,ft=function(e){var t=(0,i.useContext)(pt)||"N/A";return(0,p.JY)(e)&&""!==e?e:t},mt=function(e,t,n,r){void 0===r&&(r=[]);var i,o=n||{},a=o.inputKey,s=void 0===a?"value":a,l=o.outputKey,c=void 0===l?"label":l,u=o.childrenKey,h=void 0===u?"children":u;if((0,p.H1)(e))return(0,p.H1)(t)?i=t.map((function(t){return mt(e,t,n,r)})):e.forEach((function(e){var o;if(void 0===i){var a=ht(ht([],function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}(r),!1),[null==e?void 0:e[c]],!1);(null==e?void 0:e[s])===t?i={leaf:null==e?void 0:e[c],whole:a}:(null===(o=null==e?void 0:e[h])||void 0===o?void 0:o.length)&&(i=mt(null==e?void 0:e[h],t,n,a))}})),i},gt=(0,h.Pi)((function(e){var t,n,r,i=(0,h.U$)(),a=pe("form-text",e),s=(null===(t=null==i?void 0:i.dataSource)||void 0===t?void 0:t.length)?i.dataSource:(null===(n=null==e?void 0:e.options)||void 0===n?void 0:n.length)?e.options:[],l=ft(),c=function(e){var t;return(null===(t=null==s?void 0:s.find((function(t){return t.value==(null==e?void 0:e.value)})))||void 0===t?void 0:t.label)||e.label||l};return o().createElement("div",{className:f()(a,e.className),style:e.style},(r=function(){var t=e.value;return"multiple"===e.mode||"tags"===e.mode?e.labelInValue?(0,p.H1)(t)?t:[]:(0,p.H1)(t)?t.map((function(e){return{label:e,value:e}})):[]:e.labelInValue?(0,p.JY)(t)?[t]:[]:(0,p.JY)(t)?[{label:t,value:t}]:[]}()).length?1===r.length?c(r[0]):r.map((function(e,t){return o().createElement(u.Tag,{key:t},c(e))})):l)})),yt=(0,h.Pi)((function(e){var t,n,r,i=(0,h.U$)(),a=ft(),s=pe("form-text",e),l=(null===(t=null==i?void 0:i.dataSource)||void 0===t?void 0:t.length)?i.dataSource:(null===(n=null==e?void 0:e.treeData)||void 0===n?void 0:n.length)?e.treeData:[],c=function(e,t,n){for(var r,i=0;i<(null==t?void 0:t.length);i++){var o=t[i];if((null==o?void 0:o.value)===e)return null!==(r=null==o?void 0:o.label)&&void 0!==r?r:o[n];var a=c(e,null==o?void 0:o.children,n);if(a)return a}};return o().createElement("div",{className:f()(s,e.className),style:e.style},(null==(r=function(){var t=e.value;return e.multiple?e.labelInValue?(0,p.H1)(t)?t:[]:(0,p.H1)(t)?t.map((function(e){return{label:e,value:e}})):[]:e.labelInValue?t?[t]:[]:t?[{label:t,value:t}]:[]}())?void 0:r.length)?r.map((function(t,n){var r=t.value,i=t.label;return o().createElement(u.Tag,{key:n},c(r,l,e.treeNodeLabelProp)||i||a)})):o().createElement(u.Tag,null,a))})),vt=(0,h.Pi)((function(e){var t,n,r=(0,h.U$)(),i=ft(),a=pe("form-text",e),s=(null===(t=null==r?void 0:r.dataSource)||void 0===t?void 0:t.length)?r.dataSource:(null===(n=null==e?void 0:e.options)||void 0===n?void 0:n.length)?e.options:[];return o().createElement("div",{className:f()(a,e.className),style:e.style},function(){var t,n,r,o=(r=(0,p._K)(e.value),e.multiple?r.map((function(e){return e[e.length-1]})):r.slice(r.length-1));return(null===(n=null===(t=mt(s,o))||void 0===t?void 0:t.filter((function(e){return(0,p.JY)(e)})))||void 0===n?void 0:n.map((function(e){var t;return null===(t=null==e?void 0:e.whole)||void 0===t?void 0:t.join("/")})).join(", "))||i}())})),_t=function(e){var t=pe("form-text",e);return o().createElement("div",{className:f()(t,e.className),style:e.style},ft(e.value))};_t.Input=function(e){var t=pe("form-text",e);return o().createElement(u.Space,{className:f()(t,e.className),style:e.style},e.addonBefore,e.prefix,ft(e.value),e.suffix,e.addonAfter)},_t.Select=gt,_t.TreeSelect=yt,_t.Cascader=vt,_t.DatePicker=function(e){var t,n=ft(),r=pe("form-text",e);return o().createElement("div",{className:f()(r,e.className)},(t=ut(e.value,e.format,n),(0,p.H1)(t)?t.join("~"):t))},_t.DateRangePicker=function(e){var t,n=ft(),r=pe("form-text",e);return o().createElement("div",{className:f()(r,e.className),style:e.style},(t=ut(e.value,e.format,n),(0,p.H1)(t)?t.join("~"):t))},_t.TimePicker=function(e){var t,n=ft(),r=pe("form-text",e);return o().createElement("div",{className:f()(r,e.className),style:e.style},(t=ut(e.value,e.format,n),(0,p.H1)(t)?t.join("~"):t))},_t.TimeRangePicker=function(e){var t,n=ft(),r=pe("form-text",e);return o().createElement("div",{className:f()(r,e.className),style:e.style},(t=ut(e.value,e.format,n),(0,p.H1)(t)?t.join("~"):t))},_t.Placeholder=dt,_t.usePlaceholder=ft;var bt=_t,Et=n(2720),Tt=function(){return Tt=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},Tt.apply(this,arguments)},xt=(0,h.$j)(u.Input,(0,h.jM)((function(e,t){return Tt(Tt({},e),{suffix:o().createElement("span",null,(null==t?void 0:t.loading)||(null==t?void 0:t.validating)?o().createElement(Et.Z,null):e.suffix)})})),(0,h.vl)(bt.Input));xt.TextArea=(0,h.$j)(u.Input.TextArea,(0,h.vl)(bt.Input));var St=function(){return St=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},St.apply(this,arguments)},Ct=(0,h.$j)(u.Select,(0,h.jM)({dataSource:"options",loading:!0},(function(e,t){return St(St({},e),{suffixIcon:(null==t?void 0:t.loading)||(null==t?void 0:t.validating)?o().createElement(Et.Z,null):e.suffixIcon})})),(0,h.vl)(bt.Select)),At=function(){return At=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},At.apply(this,arguments)},Rt=function(){return function(e){var t=e.format||function(e){return"month"===e.picker?"YYYY-MM":"quarter"===e.picker?"YYYY-\\QQ":"year"===e.picker?"YYYY":"week"===e.picker?"gggg-wo":e.showTime?"YYYY-MM-DD HH:mm:ss":"YYYY-MM-DD"}(e),n=e.onChange;return At(At({},e),{format:t,value:ct(e.value,"gggg-wo"===t?"gggg-ww":t),onChange:function(e){n&&n(ut(e,t))}})}},wt=(0,h.$j)(u.DatePicker,(0,h.jM)(Rt()),(0,h.vl)(bt.DatePicker));wt.RangePicker=(0,h.$j)(u.DatePicker.RangePicker,(0,h.jM)(Rt()),(0,h.vl)(bt.DateRangePicker));var Lt,Ot=(0,h.$j)(u.InputNumber,(0,h.vl)(bt.Input)),Nt=function(){return Nt=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},Nt.apply(this,arguments)},It=(0,h.$j)(u.Switch,(0,h.jM)({value:"checked"},(function(e){var t=e.onChange;return delete e.value,Nt(Nt({},e),{onChange:function(e){null==t||t(e,null)}})}))),kt=n(46),Dt=n(5430),Pt=n(4304),Mt=n(3631),Ft=n(330),Ht=n(805),Bt=n(9067),Ut=n(5711),jt=n(5064),Gt=n(2176);e=n.hmd(e),(Lt="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&Lt(e);var Yt="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(e){return e};function zt(e){return Vt(e)||Wt(e)||Xt(e)||$t()}function $t(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Wt(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function Vt(e){if(Array.isArray(e))return Zt(e)}function Kt(e,t){return Jt(e)||Qt(e,t)||Xt(e,t)||qt()}function qt(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Xt(e,t){if(e){if("string"==typeof e)return Zt(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Zt(e,t):void 0}}function Zt(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Qt(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,s=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw i}}return s}}function Jt(e){if(Array.isArray(e))return e}var en=u.Typography.Text,tn=(0,h.cA)({components:{ArrayCollapse:Re,ArrayItems:Ie,AssetCollapse:Dt.Z,ColorInput:Ht.Z,DatePicker:wt,FormCollapse:Pt.Z,FormItem:at,GroupSelect:Bt.Z,IconPicker:Ut.Z,IconSelector:jt.Z,Input:xt,NumberPicker:Ot,Offset:Mt.Z,Radio:u.Radio,Select:Ct,SketchPicker:kt.xS,Switch:It}}),nn=function(e){var t,n=e.onChange,r=e.elements,a=e.config,s=e.schemaData,l=e.elementType,p=(0,ke.Np)({initialValues:a.props,effects:function(){(0,ke.aK)((function(e){var t=e.values,r=JSON.parse(JSON.stringify(t));n&&(g.current.cacheConfigMap.set(g.current.elementId,r),n(r,g.current.elementId))}))}}),d=(null===Pt.Z||void 0===Pt.Z||Pt.Z.createFormCollapse(),Kt((0,i.useState)({elementId:a.id}),2)),f=d[0],m=d[1],g=o().useRef({elementId:a.id,cacheConfigMap:new Map}),y=f.elementId,v=r[y].meta,_=JSON.parse(JSON.stringify(v)),b=s[l][0],E="nodes"===l?"nodeType":"edgeType",T=b&&b["nodes"===l?"nodeTypeKeyFromProperties":"edgeTypeKeyFromProperties"],x=null===(t=a.expressions)||void 0===t?void 0:t.find((function(e){return!!e&&e.name===T}));if(x)try{var S,C=x.value,A=_.properties.label["x-component-props"].schemaData.filter((function(e){return e[E]===C}));_.properties.label["x-component-props"].schemaData.length=0,(S=_.properties.label["x-component-props"].schemaData).push.apply(S,zt(A))}catch(e){console.log(e)}var R=o().useMemo((function(){return r?Object.values(r).map((function(e){return e.info})):[]}),[r]);return o().createElement(o().Fragment,null,o().createElement("div",{className:"gi-assets-selector",style:{position:"absolute",right:"48px",top:"-34px"}},o().createElement(Ft.Z,{title:Gt.Z.get({id:"common-components.src.CommonStyleSetting.FormilyRenderForm.SelectElementAssets",dm:"选择元素资产"}),content:o().createElement(u.Radio.Group,{value:y,onChange:function(e){var t=e.target.value;m({elementId:t}),g.current.elementId=t;var r=g.current.cacheConfigMap.get(t);n(r,g.current.elementId)}},R.map((function(e){var t=e.id,n=e.name,r=e.cover;return o().createElement(u.Radio.Button,{value:t,key:t,style:{textAlign:"center",justifyContent:"center",padding:"8px 16px",margin:"12px",width:"90px",height:"90px"}},o().createElement("img",{src:r,alt:"",style:{display:"block",margin:"auto",width:"40px",height:"40px"}}),o().createElement(en,{ellipsis:{tooltip:n}},n))})))},o().createElement(u.Button,{type:"text",icon:o().createElement(c,null),size:"small"}))),o().createElement(h.RV,{form:p},o().createElement(tn,{schema:JSON.parse(JSON.stringify(_))})))};Yt(nn,"useState{_useState({\n elementId: config.id\n })}\nuseRef{ref}\nuseMemo{OPTIONS}");var rn=nn;const on=rn;var an,sn;(an="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&(an.register(zt,"_toConsumableArray","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/CommonStyleSetting/FormilyRenderForm.js"),an.register($t,"_nonIterableSpread","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/CommonStyleSetting/FormilyRenderForm.js"),an.register(Wt,"_iterableToArray","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/CommonStyleSetting/FormilyRenderForm.js"),an.register(Vt,"_arrayWithoutHoles","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/CommonStyleSetting/FormilyRenderForm.js"),an.register(Kt,"_slicedToArray","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/CommonStyleSetting/FormilyRenderForm.js"),an.register(qt,"_nonIterableRest","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/CommonStyleSetting/FormilyRenderForm.js"),an.register(Xt,"_unsupportedIterableToArray","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/CommonStyleSetting/FormilyRenderForm.js"),an.register(Zt,"_arrayLikeToArray","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/CommonStyleSetting/FormilyRenderForm.js"),an.register(Qt,"_iterableToArrayLimit","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/CommonStyleSetting/FormilyRenderForm.js"),an.register(Jt,"_arrayWithHoles","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/CommonStyleSetting/FormilyRenderForm.js"),an.register(en,"Text","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/CommonStyleSetting/FormilyRenderForm.js"),an.register(tn,"SchemaField","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/CommonStyleSetting/FormilyRenderForm.js"),an.register(nn,"RenderForm","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/CommonStyleSetting/FormilyRenderForm.js"),an.register(rn,"default","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/CommonStyleSetting/FormilyRenderForm.js")),(sn="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&sn(e)},9067:(e,t,n)=>{"use strict";n.d(t,{Z:()=>A});var r=n(8241),i=n(3659),o=n(1024),a=n.n(o);const s={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M872 394c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8H708V152c0-4.4-3.6-8-8-8h-64c-4.4 0-8 3.6-8 8v166H400V152c0-4.4-3.6-8-8-8h-64c-4.4 0-8 3.6-8 8v166H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h168v236H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h168v166c0 4.4 3.6 8 8 8h64c4.4 0 8-3.6 8-8V706h228v166c0 4.4 3.6 8 8 8h64c4.4 0 8-3.6 8-8V706h164c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8H708V394h164zM628 630H400V394h228v236z"}}]},name:"number",theme:"outlined"};var l=n(2439),c=function(e,t){return o.createElement(l.Z,(0,i.Z)((0,i.Z)({},e),{},{ref:t,icon:s}))};c.displayName="NumberOutlined";const u=o.forwardRef(c);var h,p=n(2721);e=n.hmd(e),(h="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&h(e);var d="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(e){return e};function f(e,t){return _(e)||v(e,t)||g(e,t)||m()}function m(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function g(e,t){if(e){if("string"==typeof e)return y(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?y(e,t):void 0}}function y(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function v(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,s=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw i}}return s}}function _(e){if(Array.isArray(e))return e}var b=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n},E={boolean:a().createElement(r.Z,{style:{color:"rgb(39, 110, 241)",marginRight:"4px"}}),string:a().createElement(r.Z,{style:{color:"rgb(39, 110, 241)",marginRight:"4px"}}),number:a().createElement(u,{style:{color:"rgb(255, 192, 67)",marginRight:"4px"}})},T=function(e,t){return e.toLocaleLowerCase().includes(t.toLocaleLowerCase())},x=function(e){return"nodeType"in e?e.nodeType:e.edgeType},S=function(e){var t=e.schemaData,n=e.onSearch,r=b(e,["schemaData","onSearch"]),i=f((0,o.useState)(""),2),s=i[0],l=i[1],c=(0,o.useMemo)((function(){return t.map((function(e){if(T(x(e),s))return e;var t=Object.entries(e.properties).filter((function(e){var t=f(e,1)[0];return T(t,s)}));return Object.assign(Object.assign({},e),{properties:Object.fromEntries(t)})})).filter((function(e){return Object.keys(e.properties).length>0}))}),[t,s]),u=(0,o.useMemo)((function(){return c.map((function(e){var t=e.properties,n=x(e);return{label:n,options:Object.entries(t).map((function(e){var t=f(e,2),r=t[0],i=t[1];return{label:a().createElement(a().Fragment,null,E[i],r),value:"".concat(n,"^^").concat(r)}}))}}))}),[c]);return a().createElement(p.Select,Object.assign({},r,{options:u,onSearch:function(e){return l(e),null==n?void 0:n(e)}}))};d(S,"useState{_useState('')}\nuseMemo{groups}\nuseMemo{options}");var C=S;const A=C;var R,w;(R="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&(R.register(f,"_slicedToArray","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/CommonStyleSetting/GroupSelect/index.js"),R.register(m,"_nonIterableRest","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/CommonStyleSetting/GroupSelect/index.js"),R.register(g,"_unsupportedIterableToArray","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/CommonStyleSetting/GroupSelect/index.js"),R.register(y,"_arrayLikeToArray","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/CommonStyleSetting/GroupSelect/index.js"),R.register(v,"_iterableToArrayLimit","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/CommonStyleSetting/GroupSelect/index.js"),R.register(_,"_arrayWithHoles","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/CommonStyleSetting/GroupSelect/index.js"),R.register(b,"__rest","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/CommonStyleSetting/GroupSelect/index.js"),R.register(E,"iconMap","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/CommonStyleSetting/GroupSelect/index.js"),R.register(T,"match","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/CommonStyleSetting/GroupSelect/index.js"),R.register(x,"getTypeName","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/CommonStyleSetting/GroupSelect/index.js"),R.register(S,"GroupSelect","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/CommonStyleSetting/GroupSelect/index.js"),R.register(C,"default","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/CommonStyleSetting/GroupSelect/index.js")),(w="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&w(e)},1378:(e,t,n)=>{"use strict";n.d(t,{Z:()=>C});var r,i=n(2721),o=n(1024),a=n.n(o),s=n(9143),l=n(2176);e=n.hmd(e),(r="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&r(e);var c="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(e){return e};function u(e,t){return m(e)||f(e,t)||p(e,t)||h()}function h(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function p(e,t){if(e){if("string"==typeof e)return d(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?d(e,t):void 0}}function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function f(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,s=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw i}}return s}}function m(e){if(Array.isArray(e))return e}var g=i.Input.Search,y=["user","team","location","file","home","bank","car","shop","comment","company","plus","minus","pause","contacts"],v=["desktop","wifi","phone","whatsapp","android-fill","apple-fill","appstore add","carryout","solution"],_=["alipay","taobao","amazon","yuque","alibaba","github-fill","medium","google","windows","zhihu"],b=["pushpin","star","attachment","fullscreen","fullscreen-exit","tags","like","unlike","rest","question","check","close","infomation","sound","lock","unlock"],E=function(e){return e.map((function(e){return{key:e,value:"icon-".concat(e)}}))},T=[{id:"basic",name:l.Z.get({id:"common-components.CommonStyleSetting.IconPicker.IconContent.Foundation",dm:"基础"}),options:E(y)},{id:"device",name:l.Z.get({id:"common-components.CommonStyleSetting.IconPicker.IconContent.Equipment",dm:"设备"}),options:E(v)},{id:"company",name:l.Z.get({id:"common-components.CommonStyleSetting.IconPicker.IconContent.Company",dm:"公司"}),options:E(_)},{id:"badges",name:l.Z.get({id:"common-components.CommonStyleSetting.IconPicker.IconContent.Logo",dm:"徽标"}),options:E(b)}],x=function(e){var t,n=e.onChange,r=e.updateState,o=e.activeCategory,c=e.activeIcon,h=u(a().useState(!1),2),p=h[0],d=h[1],f=function(e){var t=e.key;r((function(e){return Object.assign(Object.assign({},e),{activeIcon:t})})),n&&n(t)},m=s.pE.map((function(e){return{key:e.font_class,value:"icon-".concat(e.font_class)}})),g=null===(t=T.find((function(e){return e.id===o})))||void 0===t?void 0:t.options;return a().createElement("div",null,a().createElement(a().Fragment,null,a().createElement(i.Button,{size:"small",onClick:function(){d(!0)},type:"primary",style:{width:"100%",marginBottom:"8px"}},l.Z.get({id:"common-components.CommonStyleSetting.IconPicker.IconContent.ViewAllIcons",dm:"查看全部图标"}))),a().createElement("div",{className:"gi-icon-picker"},a().createElement(i.Menu,{className:"gi-icon-picker-menu",defaultSelectedKeys:["basic"],defaultOpenKeys:["basic"],mode:"vertical",onClick:function(e){var t=e.key;r((function(e){return Object.assign(Object.assign({},e),{activeCategory:t})}))}},T.map((function(e){return a().createElement(i.Menu.Item,{key:e.id},e.name)}))),a().createElement("div",{className:"gi-icon-picker-content"},null==g?void 0:g.map((function(e){return a().createElement(s.JO,{type:e.value,onClick:function(){return f({key:e.key})},style:{margin:"6px",fontSize:"22px",cursor:"pointer",color:c===e.key?"#2f54e0":"#000"}})})))),a().createElement(i.Modal,{width:"100%",title:l.Z.get({id:"common-components.CommonStyleSetting.IconPicker.IconContent.AllIcons",dm:"全部图标"}),open:p,onCancel:function(){d(!1)},onOk:function(){d(!1)}},a().createElement("div",null,null==m?void 0:m.map((function(e){return a().createElement(s.JO,{type:e.value,onClick:function(){f({key:e.key}),d(!1)},style:{margin:"6px",fontSize:"22px",cursor:"pointer",color:c===e.key?"#2f54e0":"#000"}})})))))};c(x,"useState{_React$useState(false)}");var S=x;const C=S;var A,R;(A="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&(A.register(u,"_slicedToArray","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/CommonStyleSetting/IconPicker/IconContent.js"),A.register(h,"_nonIterableRest","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/CommonStyleSetting/IconPicker/IconContent.js"),A.register(p,"_unsupportedIterableToArray","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/CommonStyleSetting/IconPicker/IconContent.js"),A.register(d,"_arrayLikeToArray","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/CommonStyleSetting/IconPicker/IconContent.js"),A.register(f,"_iterableToArrayLimit","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/CommonStyleSetting/IconPicker/IconContent.js"),A.register(m,"_arrayWithHoles","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/CommonStyleSetting/IconPicker/IconContent.js"),A.register(g,"Search","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/CommonStyleSetting/IconPicker/IconContent.js"),A.register(y,"basic","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/CommonStyleSetting/IconPicker/IconContent.js"),A.register(v,"device","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/CommonStyleSetting/IconPicker/IconContent.js"),A.register(_,"company","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/CommonStyleSetting/IconPicker/IconContent.js"),A.register(b,"badges","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/CommonStyleSetting/IconPicker/IconContent.js"),A.register(E,"getIconOptions","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/CommonStyleSetting/IconPicker/IconContent.js"),A.register(T,"category","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/CommonStyleSetting/IconPicker/IconContent.js"),A.register(x,"IconContent","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/CommonStyleSetting/IconPicker/IconContent.js"),A.register(S,"default","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/CommonStyleSetting/IconPicker/IconContent.js")),(R="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&R(e)},5711:(e,t,n)=>{"use strict";n.d(t,{Z:()=>v});var r,i=n(2721),o=n(1024),a=n.n(o),s=n(9143),l=n(1378),c=n(2176);function u(e,t){return m(e)||f(e,t)||p(e,t)||h()}function h(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function p(e,t){if(e){if("string"==typeof e)return d(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?d(e,t):void 0}}function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function f(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,s=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw i}}return s}}function m(e){if(Array.isArray(e))return e}e=n.hmd(e),(r="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&r(e);var g=function(e){var t=(0,o.useRef)(),n=e.value,r=e.onChange,h=u(a().useState({activeCategory:"basic",activeIcon:n||""}),2),p=h[0],d=h[1],f=p.activeCategory,m=p.activeIcon;return a().createElement("div",{className:"icon-input-container"},a().createElement(i.Input,{value:m,onChange:function(e){d((function(t){return Object.assign(Object.assign({},t),{activeIcon:e.target.value})})),r&&r(e.target.value)},placeholder:c.Z.get({id:"common-components.CommonStyleSetting.IconPicker.PleaseSelectTheIcon",dm:"请选择图标"}),prefix:a().createElement(i.Popover,{style:{},placement:"topLeft",trigger:"click",overlayInnerStyle:{padding:0},getPopupContainer:function(){return t.current},content:a().createElement(l.Z,{activeIcon:m,onChange:function(e){r&&r(e)},activeCategory:f,updateState:d})},a().createElement("div",{ref:t,className:"icon-input-container-icon-tips",style:{border:"1px solid #ddd"}},a().createElement(s.JO,{type:"icon-".concat(m),style:{color:"#2f54e0",fontSize:"18px",cursor:"pointer"}})))}))};("undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(e){return e})(g,"useRef{container}\nuseState{_React$useState({\n activeCategory: 'basic',\n activeIcon: value || ''\n })}");var y=g;const v=y;var _,b;(_="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&(_.register(u,"_slicedToArray","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/CommonStyleSetting/IconPicker/index.js"),_.register(h,"_nonIterableRest","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/CommonStyleSetting/IconPicker/index.js"),_.register(p,"_unsupportedIterableToArray","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/CommonStyleSetting/IconPicker/index.js"),_.register(d,"_arrayLikeToArray","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/CommonStyleSetting/IconPicker/index.js"),_.register(f,"_iterableToArrayLimit","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/CommonStyleSetting/IconPicker/index.js"),_.register(m,"_arrayWithHoles","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/CommonStyleSetting/IconPicker/index.js"),_.register(g,"IconPicker","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/CommonStyleSetting/IconPicker/index.js"),_.register(y,"default","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/CommonStyleSetting/IconPicker/index.js")),(b="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&b(e)},5064:(e,t,n)=>{"use strict";n.d(t,{Z:()=>b});var r,i=n(2721),o=n(1024),a=n.n(o),s=n(9143),l=n(2176);e=n.hmd(e),(r="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&r(e);var c="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(e){return e};function u(e,t){return m(e)||f(e,t)||p(e,t)||h()}function h(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function p(e,t){if(e){if("string"==typeof e)return d(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?d(e,t):void 0}}function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function f(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,s=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw i}}return s}}function m(e){if(Array.isArray(e))return e}var g=i.Input.Search,y={default:[{key:"user",value:"icon-user"},{key:"car",value:"icon-car"},{key:"phone",value:"icon-phone"}],all:[{key:"user",value:"icon-user"},{key:"lock",value:"icon-lock"},{key:"shop",value:"icon-shop"},{key:"contacts",value:"icon-contacts"},{key:"carryout",value:"icon-carryout"},{key:"car",value:"icon-car"},{key:"phone",value:"icon-phone"},{key:"solution",value:"icon-solution"},{key:"unlock",value:"icon-unlock"}]},v=function(e){var t=u((0,o.useState)("default"),2),n=t[0],r=t[1],c=u((0,o.useState)(y[n]),2),h=c[0],p=c[1];return a().createElement(i.Input.Group,{compact:!0},a().createElement(i.Form.Item,{noStyle:!0},a().createElement(i.Select,{showSearch:!0,style:{width:87},placeholder:l.Z.get({id:"common-components.CommonStyleSetting.IconSelector.SelectIconType",dm:"选择图标类型"}),onChange:function(e){r(e),p(y[e])},defaultValue:n},a().createElement(i.Select.Option,{value:"default"},l.Z.get({id:"common-components.CommonStyleSetting.IconSelector.CommonlyUsed",dm:"常用"})),a().createElement(i.Select.Option,{value:"all"},l.Z.get({id:"common-components.CommonStyleSetting.IconSelector.All",dm:"全部"})))),"all"===n&&a().createElement(i.Form.Item,{noStyle:!0},a().createElement(g,{placeholder:l.Z.get({id:"common-components.CommonStyleSetting.IconSelector.EnterAnIconNameTo",dm:"输入图标名称进行搜索"}),onChange:function(e){var t=y[n].filter((function(t){return t.key.includes(e.target.value)}));p(t)},style:{width:"65%"}})),a().createElement(i.Radio.Group,{optionType:"button",buttonStyle:"solid",style:{display:"block",marginTop:16},onChange:function(t){var n=e.onChange;n&&n(t.target.value)}},h.map((function(e){return a().createElement(i.Radio.Button,{key:e.key,value:e.key,style:{border:"none",lineHeight:"35px",padding:"0 4px"}},a().createElement(s.JO,{type:e.value,style:{fontSize:23,cursor:"pointer"}}))}))))};c(v,"useState{_useState('default')}\nuseState{_useState3(IconSet[iconSource])}");var _=v;const b=_;var E,T;(E="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&(E.register(u,"_slicedToArray","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/CommonStyleSetting/IconSelector/index.js"),E.register(h,"_nonIterableRest","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/CommonStyleSetting/IconSelector/index.js"),E.register(p,"_unsupportedIterableToArray","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/CommonStyleSetting/IconSelector/index.js"),E.register(d,"_arrayLikeToArray","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/CommonStyleSetting/IconSelector/index.js"),E.register(f,"_iterableToArrayLimit","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/CommonStyleSetting/IconSelector/index.js"),E.register(m,"_arrayWithHoles","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/CommonStyleSetting/IconSelector/index.js"),E.register(g,"Search","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/CommonStyleSetting/IconSelector/index.js"),E.register(y,"IconSet","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/CommonStyleSetting/IconSelector/index.js"),E.register(v,"IconSelector","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/CommonStyleSetting/IconSelector/index.js"),E.register(_,"default","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/CommonStyleSetting/IconSelector/index.js")),(T="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&T(e)},8494:(e,t,n)=>{"use strict";n.d(t,{Z:()=>g});var r=n(1024),i=n.n(r);var o,a=n(7407),s=n(3279);e=n.hmd(e),(o="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&o(e);var l="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(e){return e};function c(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=u(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function u(e,t){if(e){if("string"==typeof e)return h(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?h(e,t):void 0}}function h(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var p=function(e){return t=e,n=500,r=!1,function(){var e=this,o=arguments,a=r&&!i;clearTimeout(i),i=setTimeout((function(){i=null,r||t.apply(e,o)}),n),a&&t.apply(e,o)};var t,n,r,i},d={nodes:{id:"SimpleNode",logic:!0,expressions:[{name:"id",operator:"eql",value:""}],props:{color:"#ddd",size:26,label:[]}},edges:{id:"SimpleEdge",logic:!0,expressions:[{name:"id",operator:"eql",value:""}],props:{color:"#ddd",size:1,label:["source","target"]}}},f=function(e){var t=e.data,n=e.elementType,r=e.onChange,o=e.elements,l=e.config,u=e.schemaData,h=JSON.parse(JSON.stringify(l[n]||{})),f=i().useRef(h),m={nodes:{id:"SimpleNode",props:{}},edges:{id:"SimpleEdge",props:{}}},g=p((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2?arguments[2]:void 0;f.current[t]?(f.current[t].props=e,f.current[t].id=n):f.current[t]={props:e,groupName:"样式配置分组".concat(t+1),groupId:"default-group",id:n,expressions:[],rules:"and"},r&&r(f.current)})),y=p((function(e,t){var n,i,o=[],a=c(t.groups);try{var s=function(){var e=i.value,t=null===(n=f.current)||void 0===n?void 0:n.find((function(t){return t.groupId===e.groupId}));if(t){var r=Object.assign({},t,e);r.props=Object.assign({},t.props),o.push(r)}else o.push(e)};for(a.s();!(i=a.n()).done;)s()}catch(e){a.e(e)}finally{a.f()}f.current=o,r&&r(f.current)}));return i().createElement(a.Z,{elementType:n,schemaData:u,defaultGroupOption:d[n],initValues:{groups:h},data:t[n],valuesChange:y},(function(e){var t=h[e]||m[n];return i().createElement("div",null,i().createElement(s.Z,{elementType:n,schemaData:u,elements:o,config:t,onChange:function(t,n){return g(t,e,n)}}))}))};l(f,"useRef{preStyleGroup}");var m=f;const g=m;var y,v;(y="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&(y.register(c,"_createForOfIteratorHelper","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/CommonStyleSetting/index.js"),y.register(u,"_unsupportedIterableToArray","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/CommonStyleSetting/index.js"),y.register(h,"_arrayLikeToArray","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/CommonStyleSetting/index.js"),y.register(p,"debounce","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/CommonStyleSetting/index.js"),y.register(d,"defaultGroupOption","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/CommonStyleSetting/index.js"),y.register(f,"CommonStyleSetting","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/CommonStyleSetting/index.js"),y.register(m,"default","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/CommonStyleSetting/index.js")),(v="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&v(e)},5430:(e,t,n)=>{"use strict";n.d(t,{Z:()=>p});var r,i=n(703),o=n(2721),a=n(1024),s=n.n(a);e=n.hmd(e),(r="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&r(e),"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;var l=o.Collapse.Panel,c=function(e){var t=e.defaultActiveKey,n=e.children;return s().createElement(o.Collapse,Object.assign({},e,{bordered:!1,defaultActiveKey:t,expandIcon:function(e){var t=e.isActive;return s().createElement(i.Z,{rotate:t?90:0})},className:"site-collapse-custom-collapse"}),n)},u=function(e){var t=e.key,n=e.header,r=e.children;return s().createElement(l,Object.assign({},e,{header:n,key:t,className:"site-collapse-custom-panel"}),r)};c.Panel=u;var h=c;const p=h;var d,f;(d="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&(d.register(l,"Panel","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/FormilyForm/AssetCollapse/index.js"),d.register(c,"AssetCollapse","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/FormilyForm/AssetCollapse/index.js"),d.register(u,"AssetCollapsePanel","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/FormilyForm/AssetCollapse/index.js"),d.register(h,"default","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/FormilyForm/AssetCollapse/index.js")),(f="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&f(e)},4304:(e,t,n)=>{"use strict";n.d(t,{Z:()=>Bn});var r,i=n(703),o=n(1397),a=Object.prototype.toString,s=function(e){return e&&e instanceof Map},l=function(e){return e&&e instanceof Set},c=function(e){return e&&e instanceof WeakMap},u=function(e){return e&&e instanceof WeakSet},h=function(e){return"function"==typeof e},p=Array.isArray,d=function(e){return"[object Object]"===a.call(e)},f=function(e){return s(e)||c(e)||l(e)||u(e)},m=function(e){return d(e)||p(e)},g=function(e){return Array.isArray(e)?e:null!=e?[e]:[]},y=function(){function e(e){void 0===e&&(e=[]),this.forEachIndex=0,this.value=e}return e.prototype.add=function(e){this.has(e)||this.value.push(e)},e.prototype.has=function(e){return this.value.indexOf(e)>-1},e.prototype.delete=function(e){var t=this.value.indexOf(e);t>-1&&(this.value.splice(t,1),t<=this.forEachIndex&&(this.forEachIndex-=1))},e.prototype.forEach=function(e){if(0!==this.value.length)for(this.forEachIndex=0;this.forEachIndex<this.value.length;this.forEachIndex++)e(this.value[this.forEachIndex])},e.prototype.batchDelete=function(e){if(0!==this.value.length)for(this.forEachIndex=0;this.forEachIndex<this.value.length;this.forEachIndex++){var t=this.value[this.forEachIndex];this.value.splice(this.forEachIndex,1),this.forEachIndex--,e(t)}},e.prototype.clear=function(){this.value.length=0},e}(),v=new WeakMap,_=new WeakMap,b=new WeakMap,E=new WeakMap,T=new WeakMap,x=[],S={value:0},C={value:0},A={value:!1},R={value:!1},w=new y,L=new y,O=new y,N=Symbol("MakeObservableSymbol"),I=new y,k=Symbol("iteration key"),D=function(e,t){var n=T.get(e),r=[];if(n){var i=n.get(t);i&&i.forEach((function(e){-1===r.indexOf(e)&&r.push(e)}))}return r},P=function(e,t){var n=D(e,t),r=C.value;C.value=0;for(var i=0,o=n.length;i<o;i++){var a=n[i];a._isComputed?a._scheduler(a):V()?L.add(a):W()?w.add(a):h(a._scheduler)?a._scheduler(a):a()}C.value=r},M=function(e){var t=e.key,n=e.type,r=e.target;"iterate"===n&&(t=k);var i,o,a,s=x[x.length-1];K()||s&&(R.value=!0,i=s,o=function(e,t,n){var r=T.get(e);if(r){var i=r.get(t);return i?i.add(n):r.set(t,new y([n])),r}var o=new Map([[t,new y([n])]]);return T.set(e,o),o}(r,t,s),(a=i._reactionsSet)?a.add(o):i._reactionsSet=new y([o]))},F=function(e){var t=e.key,n=e.type,r=e.target,i=e.oldTarget;if(U(),function(e){I.forEach((function(t){return t(e)}))}(e),"clear"===n?i.forEach((function(e,t){P(r,t)})):P(r,t),"add"===n||"delete"===n||"clear"===n){var o=Array.isArray(r)?"length":k;P(r,o)}j()},H=function(e){var t;null===(t=e._reactionsSet)||void 0===t||t.forEach((function(t){t.forEach((function(t){t.delete(e)}))})),w.delete(e),L.delete(e),delete e._reactionsSet},B=function(e){e._disposed=!0,H(e),function(e){var t;null===(t=e._computesSet)||void 0===t||t.forEach((function(e){0===D(e._context,e._property).length&&(B(e),e._dirty=!0)}))}(e)},U=function(){S.value++},j=function(){if(S.value--,0===S.value){var e=C.value;C.value=0,q(),X(),C.value=e}},G=function(){A.value=!0},Y=function(){var e=C.value;A.value=!1,C.value=0,L.batchDelete((function(e){h(e._scheduler)?e._scheduler(e):e()})),C.value=e},z=function(){C.value++},$=function(){C.value--},W=function(){return S.value>0},V=function(){return A.value},K=function(){return C.value>0},q=function(){w.batchDelete((function(e){h(e._scheduler)?e._scheduler(e):e()}))},X=function(){O.batchDelete((function(e){e()}))},Z=function(e,t){return e!==t&&(e.length!==t.length||!!e.some((function(e,n){return e!==t[n]})))},Q=(Object.defineProperty(function(e,t){this.node=t,this.key=e.key,this.type=e.type,this.object=e.target,this.value=e.value,this.oldValue=e.oldValue}.prototype,"path",{get:function(){return this.node.path.concat(this.key)},enumerable:!1,configurable:!0}),function(){function e(e,t,n){this.target=e,this.key=t,this.value=n}return Object.defineProperty(e.prototype,"path",{get:function(){return this.parent?this.parent.path.concat(this.key):this.key?[this.key]:[]},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"targetRaw",{get:function(){return v.get(this.target)||this.target},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"parent",{get:function(){if(this.target)return J(this.targetRaw)},enumerable:!1,configurable:!0}),e.prototype.isEqual=function(e){return this.key?e.targetRaw===this.targetRaw&&e.key===this.key:e.value===this.value},e.prototype.contains=function(e){if(e===this)return!0;for(var t=e.parent;t;){if(this.isEqual(t))return!0;t=t.parent}return!1},e}()),J=function(e){return E.get(e)},ee=function(e,t,n){var r=v.get(n)||n,i=J(r);if(i)return i;!function(e,t){E.set(e,t)}(r,new Q(e,t,n))},te=Symbol("RAW_TYPE"),ne=Symbol("OBSERVABLE_TYPE"),re=(Object.prototype.hasOwnProperty,function(e){return v.has(e)}),ie=function(e){return e&&!!e[N]},oe=function(e){return!(null==e||!p(e)&&(d(e)?e[te]||!e[ne]&&("$$typeof"in e&&"_owner"in e||e._isAMomentObject||e._isJSONSchemaObject||h(e.toJS)||h(e.toJSON)):!(s(e)||c(e)||l(e)||u(e))))},ae=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a},se=function(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))},le=new Set(Object.getOwnPropertyNames(Symbol).map((function(e){return Symbol[e]})).filter((function(e){return"symbol"==typeof e}))),ce=Object.prototype.hasOwnProperty;function ue(e,t,n){return _.get(n)||(!re(n)&&oe(n)?ye(e,t,n):n)}function he(e,t,n,r){var i=n.next;return n.next=function(){var o=i.call(n),a=o.done,s=o.value;return a||(r?s[1]=ue(e,t,s[1]):s=ue(e,t,s)),{done:a,value:s}},n}var pe=((r={has:function(e){var t=v.get(this),n=Reflect.getPrototypeOf(this);return M({target:t,key:e,type:"has"}),n.has.apply(t,arguments)},get:function(e){var t=v.get(this),n=Reflect.getPrototypeOf(this);return M({target:t,key:e,type:"get"}),ue(t,e,n.get.apply(t,arguments))},add:function(e){var t=v.get(this),n=Reflect.getPrototypeOf(this),r=n.has.call(t,e),i=n.add.apply(t,arguments);return r||F({target:t,key:e,value:e,type:"add"}),i},set:function(e,t){var n=v.get(this),r=Reflect.getPrototypeOf(this),i=r.has.call(n,e),o=r.get.call(n,e),a=r.set.apply(n,arguments);return i?t!==o&&F({target:n,key:e,value:t,oldValue:o,type:"set"}):F({target:n,key:e,value:t,type:"add"}),a},delete:function(e){var t=v.get(this),n=Reflect.getPrototypeOf(this),r=n.has.call(t,e),i=n.get?n.get.call(t,e):void 0,o=n.delete.apply(t,arguments);return r&&F({target:t,key:e,oldValue:i,type:"delete"}),o},clear:function(){var e=v.get(this),t=Reflect.getPrototypeOf(this),n=0!==e.size,r=e instanceof Map?new Map(e):new Set(e),i=t.clear.apply(e,arguments);return n&&F({target:e,oldTarget:r,type:"clear"}),i},forEach:function(e){for(var t,n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];var i=v.get(this),o=Reflect.getPrototypeOf(this);return M({target:i,type:"iterate"}),(t=o.forEach).call.apply(t,se([i,function(t,n){for(var r=[],o=2;o<arguments.length;o++)r[o-2]=arguments[o];return e.apply(void 0,se([ue(i,n,t),n],ae(r),!1))}],ae(n),!1))},keys:function(){var e=v.get(this),t=Reflect.getPrototypeOf(this);return M({target:e,type:"iterate"}),t.keys.apply(e,arguments)},values:function(){var e=v.get(this),t=Reflect.getPrototypeOf(this);return M({target:e,type:"iterate"}),he(e,"",t.values.apply(e,arguments),!1)},entries:function(){var e=v.get(this),t=Reflect.getPrototypeOf(this);return M({target:e,type:"iterate"}),he(e,"",t.entries.apply(e,arguments),!0)}})[Symbol.iterator]=function(){var e=v.get(this),t=Reflect.getPrototypeOf(this);return M({target:e,type:"iterate"}),he(e,"",t[Symbol.iterator].apply(e,arguments),e instanceof Map)},Object.defineProperty(r,"size",{get:function(){var e=v.get(this),t=Reflect.getPrototypeOf(this);return M({target:e,type:"iterate"}),Reflect.get(t,"size",e)},enumerable:!1,configurable:!0}),r),de={get:function(e,t,n){return e=ce.call(pe,t)?pe:e,Reflect.get(e,t,n)}},fe={get:function(e,t,n){if(t){var r=e[t];if("symbol"==typeof t&&le.has(t))return r;M({target:e,key:t,receiver:n,type:"get"});var i=_.get(r);if(i)return i;if(!re(r)&&oe(r)){var o=Reflect.getOwnPropertyDescriptor(e,t);if(!o||!1!==o.writable||!1!==o.configurable)return ye(e,t,r)}return r}},has:function(e,t){var n=Reflect.has(e,t);return M({target:e,key:t,type:"has"}),n},ownKeys:function(e){var t=Reflect.ownKeys(e);return M({target:e,type:"iterate"}),t},set:function(e,t,n,r){var i=ce.call(e,t),o=ye(e,t,n),a=e[t];return e[t]=o,i?n!==a&&F({target:e,key:t,value:o,oldValue:a,receiver:r,type:"set"}):F({target:e,key:t,value:o,oldValue:a,receiver:r,type:"add"}),!0},deleteProperty:function(e,t){var n=e[t];return delete e[t],F({target:e,key:t,oldValue:n,type:"delete"}),!0}},me=function(e,t){var n=new Proxy(e,fe);return v.set(n,e),t?b.set(e,n):_.set(e,n),n},ge=function(e,t){var n=new Proxy(e,de);return v.set(n,e),t?b.set(e,n):_.set(e,n),n},ye=function(e,t,n,r){if("object"!=typeof n)return n;var i=v.get(n);if(i){var o=J(i);return o.target||(o.target=e),o.key=t,n}if(!oe(n))return n;if(e){var a=v.get(e)||e;if(b.get(a))return n}return ee(e,t,n),r?function(e){return m(e)?me(e,!0):f(e)?ge(e,!0):e}(n):m(n)?me(n):f(n)?ge(n):n},ve=function(e){var t=function(t){return e({value:t})};return h(e)&&(t[N]=e),t},_e=function(e){if(e[N])return e[N][N]?_e(e[N]):e[N]},be=function(e,t){function n(n){var r;try{e(),h(n)&&(r=n())}finally{t()}return r}return n.bound=Ee(n),n},Ee=function(e){return function(t,n){return function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];return e((function(){return t.apply(n,r)}))}}},Te=function(e,t){var n=be(e,t),r=ve((function(e){var t=e.target,r=e.key;return t[r]=n.bound(t[r],t),t}));return n[N]=r,n.bound[N]=r,n},xe=Te(U,j);xe.scope=Te(G,Y),xe.endpoint=function(e){h(e)&&(0===S.value?e():O.add(e))};var Se=Te((function(){U(),z()}),(function(){$(),j()}));Se.scope=Te((function(){G(),z()}),(function(){$(),Y()})),be(z,$);var Ce=ve((function(e){var t=e.target,n=e.key,r=e.value,i={value:ye(t,n,t?t[n]:r)};return t?(Object.defineProperty(t,n,{set:function(e){var r=i.value;e=ye(t,n,e),i.value=e,r!==e&&F({target:t,key:n,type:"set",oldValue:r,value:e})},get:function(){return M({target:t,key:n,type:"get"}),i.value},enumerable:!0,configurable:!1}),t):i.value})),Ae=ve((function(e){var t=e.target,n=e.key,r=e.value,i={value:t?t[n]:r},o={set:function(e){var t=i.value;i.value=e,t!==e&&F({target:i,key:n,type:"set",oldValue:t,value:e})},get:function(){return M({target:i,key:n,type:"get"}),i.value}};return v.set(o,i),_.set(i,o),ee(t,n,i),t?(Object.defineProperty(t,n,{value:o,enumerable:!0,configurable:!1,writable:!1}),t):o})),Re=ve((function(e){var t=e.target,n=e.key,r=e.value,i={value:t?t[n]:r},o={},a=t||i,s=t?n:"value";function l(){return M({target:a,key:s,type:"get"}),i.value}function c(e){var t=i.value;i.value=e,t!==e&&F({target:a,key:s,type:"set",oldValue:t,value:e})}return t?(Object.defineProperty(t,n,{get:l,set:c,enumerable:!0}),t):(Object.defineProperty(o,"value",{set:c,get:l}),ee(t,n,i),v.set(o,i),_.set(i,o),o)})),we=ve((function(e){var t=e.target,n=e.key,r=e.value,i={value:ye(t,n,t?t[n]:r,!0)};return t?(Object.defineProperty(t,n,{set:function(e){var r=i.value;e=ye(t,n,e,!0),i.value=e,r!==e&&F({target:t,key:n,type:"set",oldValue:r,value:e})},get:function(){return M({target:t,key:n,type:"get"}),i.value},enumerable:!0,configurable:!1}),t):i.value})),Le=Object.getOwnPropertyDescriptor,Oe=Object.getPrototypeOf,Ne=new WeakMap;function Ie(e,t){if(e)return Le(e,t)||Ie(Oe(e),t)}var ke=ve((function(e){var t=e.target,n=e.key,r=e.value,i={},o={},a=t||i,s=t?n:"value",l=function(e,t,n){if(!e)return n?h(n)?{get:n}:n:{};var r=function(e,t){var n=e.constructor;if(n===Object||n===Array)return Ie(e,t);var r=Ne.get(n)||{},i=r[t];if(i)return i;var o=Ie(e,t);return Ne.set(n,r),r[t]=o,o}(e,t);return r||{}}(t,s,r);function c(){var e;i.value=null===(e=l.get)||void 0===e?void 0:e.call(a)}function u(){if(-1===x.indexOf(u)){H(u);try{x.push(u),c()}finally{x.pop()}}}function p(){return x.length>0&&function(e){if(h(e)){var t=x[x.length-1];if(t){var n=t._computesSet;n?n.add(e):t._computesSet=new y([e])}}}(u),K()?c():u._dirty&&(u(),u._dirty=!1),M({target:a,key:s,type:"get"}),i.value}function d(e){var t;try{U(),null===(t=l.set)||void 0===t||t.call(a,e)}finally{j()}}return u._name="ComputedReaction",u._scheduler=function(){u._dirty=!0,F({target:a,key:s,value:i.value,type:"set"})},u._isComputed=!0,u._dirty=!0,u._context=a,u._property=s,t?(Object.defineProperty(t,n,{get:p,set:d,enumerable:!0}),t):(Object.defineProperty(o,"value",{set:d,get:p}),ee(t,n,i),v.set(o,i),_.set(i,o),o)}));function De(e){return ye(null,null,e)}De.box=Ae,De.ref=Re,De.deep=Ce,De.shallow=we,De.computed=ke,De[N]=Ce;var Pe=function(e,t){void 0===t&&(t="AutoRun");var n=function(){if(h(e)&&!(n._boundary>0)&&-1===x.indexOf(n)){H(n);try{U(),x.push(n),e()}finally{x.pop(),n._boundary++,j(),n._boundary=0,n._memos.cursor=0,n._effects.cursor=0}}},r=function(){n._memos={queue:[],cursor:0},n._effects={queue:[],cursor:0}};return n._boundary=0,n._name=t,r(),n(),function(){B(n),function(e){if(e._effects)try{U(),e._effects.queue.forEach((function(e){e&&e.dispose&&e.dispose()}))}finally{j()}}(n),r()}};Pe.memo=function(e,t){if(h(e)){var n=x[x.length-1];if(!n||!n._memos)throw new Error("autorun.memo must used in autorun function body.");var r=g(t||[]),i=n._memos.cursor++,o=n._memos.queue[i];if(!o||Z(r,o.deps)){var a=e();return n._memos.queue[i]={value:a,deps:r},a}return o.value}},Pe.effect=function(e,t){if(h(e)){var n=x[x.length-1];if(!n||!n._effects)throw new Error("autorun.effect must used in autorun function body.");var r=n._effects,i=g(t||[{}]),o=r.cursor++,a=r.queue[o];a&&!Z(i,a.deps)||(Promise.resolve(0).then((function(){if(!n._disposed){var t=e();h(t)&&(r.queue[o].dispose=t)}})),r.queue[o]={deps:i})}};var Me=Object.prototype.toString,Fe=function(e){return function(t){return He(t)==="[object ".concat(e,"]")}},He=function(e){return Me.call(e)},Be=Array.isArray;Fe("Object"),Fe("String"),Fe("Boolean"),Fe("Number"),Fe("RegExp"),function(){try{if("undefined"!=typeof self)return self}catch(e){}try{if("undefined"!=typeof window)return window}catch(e){}try{if(void 0!==n.g)return n.g}catch(e){}Function("return this")()}(),Object.keys,Object.prototype.hasOwnProperty,Object.prototype.hasOwnProperty,Object.prototype.toString;for(var Ue,je=function(){return je=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},je.apply(this,arguments)},Ge=function(e,t){return je({flag:e},t)},Ye=Ge("[]"),ze=Ge("[\\d]"),$e=Ge("[[]]"),We=Ge("()"),Ve=Ge("{}"),Ke=Ge("{x}"),qe=function(){return qe=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},qe.apply(this,arguments)},Xe=function(e,t){return qe({flag:e},t)},Ze=Xe("name",{expectNext:function(e){return this.includesContext(Ke)?e===Ze||e===ht||e===at||e===it||e===nt:e===et||e===ht||e===ft||e===at||e===ut||e===nt||e===dt||e===ot}}),Qe=Xe("*",{expectNext:function(e){return e===et||e===ct||e===ot||e===ft||e===ht||e===ut}}),Je=Xe("**",{expectNext:function(e){return e===et||e===ct||e===ot||e===ft||e===ht||e===ut}}),et=Xe(".",{expectNext:function(e){return e===et||e===Ze||e===st||e===Qe||e===Je||e===ot||e===rt||e===ft},expectPrev:function(e){return e===et||e===Ze||e===lt||e===Qe||e===ut||e===at||e===dt||e===it}}),tt=Xe("!",{expectNext:function(e){return e===Ze||e===st}}),nt=Xe(":",{expectNext:function(e){return this.includesContext(Ke)?e===Ze||e===rt||e===ot:e===Ze||e===st||e===at}}),rt=Xe("{",{expectNext:function(e){return e===Ze},expectPrev:function(e){return this.includesContext(Ke)?e===nt||e===ht||e===ot:e===et||e===nt||e===ct},updateContext:function(){this.state.context.push(Ve)}}),it=Xe("}",{expectNext:function(e){return this.includesContext(Ke)?e===ht||e===it||e===ft||e===at:e===et||e===ft||e===ht},expectPrev:function(e){return e===Ze||e===it||e===at},updateContext:function(){this.state.context.pop(Ve)}}),ot=Xe("[",{expectNext:function(e){return this.includesContext(Ke)?e===Ze||e===ot||e===rt||e===at:e===Ze||e===st||e===nt||e===ot||e===pt||e===at},expectPrev:function(e){return this.includesContext(Ke)?e===nt||e===ht||e===ot:e===Qe||e===ot||e===et||e===Ze||e===ct||e==ht},updateContext:function(){this.state.context.push(Ye)}}),at=Xe("]",{expectNext:function(e){return this.includesContext(Ke)?e===ht||e===it||e===at||e===ft:e===et||e===ft||e===ht||e===ut||e===at},updateContext:function(){if(!this.includesContext(ze)){if(!this.includesContext(Ye))throw this.unexpect();this.state.context.pop()}}}),st=Xe("[[",{updateContext:function(){this.state.context.push($e)}}),lt=Xe("]]",{updateContext:function(){if(this.curContext()!==$e)throw this.unexpect();this.state.context.pop()}}),ct=Xe("(",{expectNext:function(e){return e===Ze||e===st||e===rt||e===tt||e===ot},expectPrev:function(e){return e===Qe},updateContext:function(){this.state.context.push(We)}}),ut=Xe(")",{expectNext:function(e){return e===et||e===ft||e===ht||e===ut},updateContext:function(){if(this.curContext()!==We)throw this.unexpect();this.state.context.pop()}}),ht=Xe(",",{expectNext:function(e){return e===Ze||e===st||e===ot||e===rt}}),pt=Xe("ignore",{expectNext:function(e){return e===lt},expectPrev:function(e){return e==st}}),dt=Xe("expandTok",{expectNext:function(e){return e===et||e===ft||e===ht||e===ut}}),ft=Xe("eof"),mt=/[\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff]/,gt=function(e){return 42===e||46===e||33===e||91===e||93===e||40===e||41===e||44===e||58===e||126===e||123===e||125===e},yt=function(e,t){var n=new Error(e);return Object.assign(n,t),n},vt=function(e,t,n){for(var r="",i=t;i<n;i++){var o=e.charAt(i);"\\"!==o&&(r+=o)}return r},_t=function(){function e(e){this.input=e,this.state={context:[],type:null,pos:0},this.type_=null}return e.prototype.curContext=function(){return this.state.context[this.state.context.length-1]},e.prototype.includesContext=function(e){for(var t=this.state.context.length-1;t>=0;t--)if(this.state.context[t]===e)return!0;return!1},e.prototype.unexpect=function(e){return e=e||this.state.type,yt('Unexpect token "'.concat(e.flag,'" in ').concat(this.state.pos," char."),{pos:this.state.pos})},e.prototype.expectNext=function(e,t){if(e&&e.expectNext&&t&&!e.expectNext.call(this,t))throw yt('Unexpect token "'.concat(t.flag,'" token should not be behind "').concat(e.flag,'" token.(').concat(this.state.pos,"th char)"),{pos:this.state.pos})},e.prototype.expectPrev=function(e,t){if(e&&e.expectPrev&&t&&!e.expectPrev.call(this,t))throw yt('Unexpect token "'.concat(e.flag,'" should not be behind "').concat(t.flag,'"(').concat(this.state.pos,"th char)."),{pos:this.state.pos})},e.prototype.match=function(e){return this.state.type===e},e.prototype.skipSpace=function(){if(this.curContext()!==$e)e:for(;this.state.pos<this.input.length;){var e=this.input.charCodeAt(this.state.pos);switch(e){case 32:case 160:++this.state.pos;break;case 13:10===this.input.charCodeAt(this.state.pos+1)&&++this.state.pos;case 10:case 8232:case 8233:++this.state.pos;break;default:if(!(e>8&&e<14||e>=5760&&mt.test(String.fromCharCode(e))))break e;++this.state.pos}}},e.prototype.next=function(){if(this.type_=this.state.type,this.input.length<=this.state.pos)return this.finishToken(ft);this.skipSpace(),this.readToken(this.getCode(),this.state.pos>0?this.getCode(this.state.pos-1):-1/0)},e.prototype.getCode=function(e){return void 0===e&&(e=this.state.pos),function(e,t){if(String.fromCharCode)return e.codePointAt(t);var n=e.charCodeAt(t);return n<=55295||n>=57344?n:(n<<10)+e.charCodeAt(t+1)-56613888}(this.input,e)},e.prototype.eat=function(e){return!!this.match(e)&&(this.next(),!0)},e.prototype.readKeyWord=function(){for(var e=this.state.pos,t="";;){var n=this.getCode(),r=this.getCode(this.state.pos-1);if(this.input.length===this.state.pos){t=vt(this.input,e,this.state.pos+1);break}if(gt(n)&&92!==r){t=vt(this.input,e,this.state.pos);break}if(32===n||160===n||10===n||8232===n||8233===n){t=vt(this.input,e,this.state.pos);break}if(13===n&&10===this.input.charCodeAt(this.state.pos+1)){t=vt(this.input,e,this.state.pos);break}if(n>8&&n<14||n>=5760&&mt.test(String.fromCharCode(n))){t=vt(this.input,e,this.state.pos);break}this.state.pos++}this.finishToken(Ze,t)},e.prototype.readIngoreString=function(){for(var e,t=this.state.pos,n="";;){var r=this.getCode();if(this.state.pos>=this.input.length)break;if(91!==r&&93!==r||92!==e){if(93==r&&93===e){n=this.input.slice(t,this.state.pos-1).replace(/\\([\[\]])/g,"$1"),this.state.pos++;break}this.state.pos++,e=r}else this.state.pos++,e=""}this.finishToken(pt,n),this.finishToken(lt)},e.prototype.finishToken=function(e,t){var n=this.state.type;this.state.type=e,void 0!==t&&(this.state.value=t),this.expectNext(n,e),this.expectPrev(e,n),e.updateContext&&e.updateContext.call(this,n)},e.prototype.readToken=function(e,t){if(92===t)return this.readKeyWord();if(this.input.length<=this.state.pos)this.finishToken(ft);else if(this.curContext()===$e)this.readIngoreString();else if(123===e)this.state.pos++,this.finishToken(rt);else if(125===e)this.state.pos++,this.finishToken(it);else if(42===e){if(this.state.pos++,42===this.getCode())return this.state.pos++,this.finishToken(Je);this.finishToken(Qe)}else if(33===e)this.state.pos++,this.finishToken(tt);else if(46===e)this.state.pos++,this.finishToken(et);else if(91===e){if(this.state.pos++,91===this.getCode())return this.state.pos++,this.finishToken(st);this.finishToken(ot)}else 126===e?(this.state.pos++,this.finishToken(dt)):93===e?(this.state.pos++,this.finishToken(at)):40===e?(this.state.pos++,this.finishToken(ct)):41===e?(this.state.pos++,this.finishToken(ut)):44===e?(this.state.pos++,this.finishToken(ht)):58===e?(this.state.pos++,this.finishToken(nt)):this.readKeyWord()},e}(),bt=function(e){return function(t){return t&&t.type===e}},Et=bt("Identifier"),Tt=bt("IgnoreExpression"),xt=bt("DotOperator"),St=bt("WildcardOperator"),Ct=bt("ExpandOperator"),At=bt("GroupExpression"),Rt=bt("RangeExpression"),wt=bt("DestructorExpression"),Lt=bt("ObjectPattern"),Ot=(bt("ObjectPatternProperty"),bt("ArrayPattern")),Nt=Object.prototype.toString,It=function(e){return function(t){return Nt.call(t)==="[object ".concat(e,"]")}},kt=It("Function"),Dt=Array.isArray||It("Array"),Pt=(It("Object"),It("String")),Mt=(It("Boolean"),It("Number")),Ft=function(e){return"object"==typeof e},Ht=It("RegExp"),Bt=function(e){return Mt(e)||/^(\d+)(\.\d+)?$/.test(e)},Ut=Dt,jt=Object.keys,Gt=Object.prototype.hasOwnProperty,Yt=function(e,t){if(e===t)return!0;if(e&&t&&"object"==typeof e&&"object"==typeof t){var n=Ut(e),r=Ut(t),i=void 0,o=void 0,a=void 0;if(n&&r){if((o=e.length)!==t.length)return!1;for(i=o;0!=i--;)if(!Yt(e[i],t[i]))return!1;return!0}if(n!==r)return!1;var s=jt(e);if((o=s.length)!==jt(t).length)return!1;for(i=o;0!=i--;)if(!Gt.call(t,s[i]))return!1;for(i=o;0!=i--;)if(a=s[i],!Yt(e[a],t[a]))return!1;return!0}return e!=e&&t!=t},zt=new Map,$t=function(e){return zt.get(e)},Wt=function(e){var t=[];if(Lt(e)){var n=0;return e.properties.forEach((function(e){t[n]={path:[]},t[n].key=e.key.value,t[n].path.push(e.key.value),Et(e.value)&&(t[n].key=e.value.value);var r=t[n].path,i=Wt(e.value),o=n;i.forEach((function(e){t[o]?(t[o].key=e.key,t[o].path=r.concat(e.path)):t[o]={key:e.key,path:r.concat(e.path)},o++})),o>n?n=o:n++})),t}if(Ot(e)){var r=0;return e.elements.forEach((function(e,n){t[r]={path:[]},t[r].key=n,t[r].path.push(n),Et(e)&&(t[r].key=e.value);var i=t[r].path,o=Wt(e),a=r;o.forEach((function(e){t[a]?(t[a].key=e.key,t[a].path=i.concat(e.path)):t[a]={key:e.key,path:i.concat(e.path)},a++})),a>r?r=a:r++})),t}return wt(e)?Wt(e.value):t},Vt=function(e,t,n,r){t.forEach((function(t){var i=t.key,o=t.path;r.setIn([i],e,r.getIn(o,n))}))},Kt=function(e,t,n){var r={};return t.length&&Mt(t[0].path[0])&&(r=[]),e=null!=e?e:{},t.forEach((function(t){var i=t.key,o=t.path;n.setIn(o,r,e[i])})),r},qt=function(e,t,n){t.forEach((function(t){var r=t.key;n.deleteIn([r],e)}))},Xt=function(e,t,n,r){return t.every((function(t){var i=t.key;return r.existIn([i],e,n)}))},Zt=(Ue=function(e,t){return Ue=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},Ue(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}Ue(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),Qt=function(e,t,n){if(Bt(e)&&Bt(t)){if("+"===n)return String(Number(e)+Number(t));if("-"===n)return String(Number(e)-Number(t));if("*"===n)return String(Number(e)*Number(t));if("/"===n)return String(Number(e)/Number(t))}else{if("+"===n)return String(e)+String(t);if("-"===n)return"NaN";if("*"===n)return"NaN";if("/"===n)return"NaN"}return String(Number(t))},Jt=function(e){function t(t,n){var r=e.call(this,t)||this;return r.isMatchPattern=!1,r.isWildMatchPattern=!1,r.haveExcludePattern=!1,r.haveRelativePattern=!1,r.base=n,r}return Zt(t,e),t.prototype.parse=function(){var e;return this.data={segments:[]},this.eat(ft)||(this.next(),e=this.parseAtom(this.state.type)),this.data.tree=e,e},t.prototype.append=function(e,t){e&&t&&(e.after=t)},t.prototype.parseAtom=function(e){switch(e){case rt:case ot:return this.includesContext(Ke)?e===rt?this.parseObjectPattern():this.parseArrayPattern():this.parseDestructorExpression();case Ze:return this.parseIdentifier();case dt:return this.parseExpandOperator();case Je:case Qe:return this.parseWildcardOperator();case st:return this.parseIgnoreExpression();case et:return this.parseDotOperator()}},t.prototype.pushSegments=function(e){this.data.segments.push(e)},t.prototype.parseIdentifier=function(){var e={type:"Identifier",value:this.state.value},t=!this.includesContext(Ke)&&!this.isMatchPattern&&!this.isWildMatchPattern;if(this.next(),this.includesContext(ze)){if(this.state.type!==at)throw this.unexpect();this.state.context.pop(),this.next()}else t&&this.pushSegments(e.value);if(this.state.type===ot){if(this.next(),this.state.type!==Ze)throw this.unexpect();this.state.context.push(ze);var n=!1;/^\d+$/.test(this.state.value)&&(n=!0);var r=this.state.value;this.pushSegments(n?Number(r):r);var i=this.parseAtom(this.state.type);n&&(i.arrayIndex=!0),this.append(e,i)}else this.append(e,this.parseAtom(this.state.type));return e},t.prototype.parseExpandOperator=function(){var e={type:"ExpandOperator"};return this.isMatchPattern=!0,this.isWildMatchPattern=!0,this.data.segments=[],this.next(),this.append(e,this.parseAtom(this.state.type)),e},t.prototype.parseWildcardOperator=function(){var e={type:"WildcardOperator"};return this.state.type===Je&&(e.optional=!0),this.isMatchPattern=!0,this.isWildMatchPattern=!0,this.data.segments=[],this.next(),this.state.type===ct?e.filter=this.parseGroupExpression(e):this.state.type===ot&&(e.filter=this.parseRangeExpression(e)),this.append(e,this.parseAtom(this.state.type)),e},t.prototype.parseDestructorExpression=function(){var e=this,t={type:"DestructorExpression"};this.state.context.push(Ke);var n=this.state.pos-1;t.value=this.state.type===rt?this.parseObjectPattern():this.parseArrayPattern();var r,i,o=this.state.pos;return this.state.context.pop(),t.source=this.input.substring(n,o).replace(/\[\s*([\+\-\*\/])?\s*([^,\]\s]*)\s*\]/,(function(t,n,r){return void 0!==e.relative?n?Qt(e.relative,r||1,n):r?Qt(e.relative,r,"+"):String(e.relative):t})).replace(/\s*\.\s*/g,"").replace(/\s*/g,""),void 0===this.relative&&(r=t.source,i=Wt(t),zt.set(r,i)),this.relative=void 0,this.pushSegments(t.source),this.next(),this.append(t,this.parseAtom(this.state.type)),t},t.prototype.parseArrayPattern=function(){var e={type:"ArrayPattern",elements:[]};return this.next(),e.elements=this.parseArrayPatternElements(),e},t.prototype.parseArrayPatternElements=function(){for(var e=[];this.state.type!==at&&this.state.type!==ft;){if(e.push(this.parseAtom(this.state.type)),this.state.type===at)return this.includesContext(Ke)&&this.next(),e;this.next()}return e},t.prototype.parseObjectPattern=function(){var e={type:"ObjectPattern",properties:[]};return this.next(),e.properties=this.parseObjectProperties(),e},t.prototype.parseObjectProperties=function(){for(var e=[];this.state.type!==it&&this.state.type!==ft;){var t={type:"ObjectPatternProperty",key:this.parseAtom(this.state.type)};if(e.push(t),this.state.type===nt&&(this.next(),t.value=this.parseAtom(this.state.type)),this.state.type===it)return this.includesContext(Ke)&&this.next(),e;this.next()}return e},t.prototype.parseDotOperator=function(){var e={type:"DotOperator"};if(!this.type_&&this.base){if(this.base.isMatchPattern)throw new Error("Base path must be an absolute path.");for(this.data.segments=this.base.toArr();this.state.type===et;)this.relative=this.data.segments.pop(),this.haveRelativePattern=!0,this.next();return function(e,t){void 0===e&&(e=[]);var n=e.length,r=function(i){void 0===i&&(i=0);var o=i<n-1?r(i+1):t,a=o&&{type:"DotOperator",after:o};return{type:"Identifier",value:e[i],after:a}};return r()}(this.data.segments.slice(),this.parseAtom(this.state.type))}return this.next(),this.append(e,this.parseAtom(this.state.type)),e},t.prototype.parseIgnoreExpression=function(){this.next();var e=String(this.state.value).replace(/\s*/g,""),t={type:"IgnoreExpression",value:e};return this.pushSegments(e),this.next(),this.append(t,this.parseAtom(this.state.type)),this.next(),t},t.prototype.parseGroupExpression=function(e){var t={type:"GroupExpression",value:[]};this.isMatchPattern=!0,this.data.segments=[],this.next();e:for(;;)switch(this.state.type){case ht:this.next();break;case tt:t.isExclude=!0,this.haveExcludePattern=!0,this.next();break;case ft:case ut:break e;default:t.value.push(this.parseAtom(this.state.type))}return this.next(),this.append(e,this.parseAtom(this.state.type)),t},t.prototype.parseRangeExpression=function(e){var t={type:"RangeExpression"};this.next(),this.isMatchPattern=!0,this.data.segments=[];var n=!1,r=!1;e:for(;;)switch(this.state.type){case nt:r=!0,n=!0,this.next();break;case at:r||t.end||(t.end=t.start);break e;case ht:throw this.unexpect();case ft:break e;default:n?t.end=this.parseAtom(this.state.type):t.start=this.parseAtom(this.state.type)}return this.next(),this.append(e,this.parseAtom(this.state.type)),t},t}(_t),en=function(){function e(e,t){this.tree=e,this.stack=[],this.excluding=!1,this.wildcards=[],this.record=t}return e.prototype.next=function(e,t){var n=t===this.path.length-1;if(e.after)return this.matchNode(e.after,t);if(St(e)&&!e.filter)return!(this.excluding||0!==t&&!e.optional&&!this.take(t));if(n)return!!this.take(t);var r=this.wildcards.pop();return!(!r||!r.after)&&this.next(r,t)},e.prototype.shot=function(){var e;(null===(e=this.record)||void 0===e?void 0:e.score)>=0&&this.record.score++},e.prototype.take=function(e){var t;return String(null!==(t=this.path[e])&&void 0!==t?t:"")},e.prototype.matchExcludeIdentifier=function(e,t,n){var r=n===this.path.length-1,i=n<this.path.length;if(t.after||(this.excluding=!1),e){if(t.after)return this.next(t,n);if(r)return!1}return!!r||i},e.prototype.matchIdentifier=function(e,t){var n=this.take(t),r=!1;return Ct(e.after)?(0===n.indexOf(e.value)&&(this.shot(),r=!0),this.excluding?this.matchExcludeIdentifier(r,e.after,t):r&&this.next(e.after,t)):(n===e.value&&(this.shot(),r=!0),this.excluding?this.matchExcludeIdentifier(r,e,t):r&&this.next(e,t))},e.prototype.matchIgnoreExpression=function(e,t){return Yt(e.value,this.take(t))&&this.next(e,t)},e.prototype.matchDestructorExpression=function(e,t){return Yt(e.source,this.take(t))&&this.next(e,t)},e.prototype.matchExpandOperator=function(e,t){return this.next(e,t)},e.prototype.matchWildcardOperator=function(e,t){var n=!1;return e.filter?(this.stack.push(e),n=this.matchNode(e.filter,t),this.stack.pop()):n=this.next(e,t),n},e.prototype.matchGroupExpression=function(e,t){var n,r=this,i=!1;return e.isExclude&&(i=!this.excluding),(n=e.value,Array.isArray(n)?n:void 0!==n?[n]:[])[i?"every":"some"]((function(e){return r.wildcards=r.stack.slice(),r.excluding=i,r.matchNode(e,t)}))},e.prototype.matchRangeExpression=function(e,t){var n=Number(this.take(t));return e.start?e.end?n>=Number(e.start.value)&&n<=Number(e.end.value):n>=Number(e.start.value):e.end?n<=Number(e.end.value):(this.wildcards=this.stack.slice(),this.next(e,t))},e.prototype.matchNode=function(e,t){return void 0===t&&(t=0),xt(e)?this.next(e,t+1):Et(e)?this.matchIdentifier(e,t):Tt(e)?this.matchIgnoreExpression(e,t):wt(e)?this.matchDestructorExpression(e,t):Ct(e)?this.matchExpandOperator(e,t):St(e)?this.matchWildcardOperator(e,t):At(e)?this.matchGroupExpression(e,t):!!Rt(e)&&this.matchRangeExpression(e,t)},e.prototype.match=function(e){return this.path=e,{matched:this.matchNode(this.tree),record:this.record}},e.matchSegments=function(e,t,n){if(e.length!==t.length)return{matched:!1,record:n};var r=function(i){void 0===i&&(i=0);var o,a,s=(o=e[i],a=t[i],(o="symbol"==typeof o?o:"".concat(o))===("symbol"==typeof a?a:"".concat(a)));return(null==n?void 0:n.score)>=0&&n.score++,s&&(!(i<e.length-1)||r(i+1))};return{matched:r(),record:n}},e}(),tn=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a},nn=function(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))},rn=new Map,on=Symbol("PATH_MATCHER"),an=function(e){return null!=e},sn=function(e){return"object"==typeof e||"function"==typeof e},ln=function(e,t){for(var n=0;n<e.length;n++){var r=e[n],i=$t(r);if(i){t=Kt(t,i,{setIn:cn,getIn:ln});break}if(!an(t))return;t=t[r]}return t},cn=function(e,t,n){for(var r=0;r<e.length;r++){var i=e[r],o=$t(i);if(o){Vt(t,o,n,{setIn:cn,getIn:ln});break}if(!an(t)||!sn(t))return;if(Dt(t)&&!(Pt(a=i)?/^\d+$/.test(a):Mt(a)))return;if(!an(t[i])){if(void 0===n)return void(null===t[i]&&(t[i]=n));r<e.length-1&&(t[i]=Mt(e[r+1])?[]:{})}r===e.length-1&&(t[i]=n),t=t[i]}var a},un=function(e,t){for(var n=0;n<e.length;n++){var r=e[n],i=$t(r);if(i){qt(t,i,{setIn:cn,getIn:ln,deleteIn:un});break}if(n===e.length-1&&an(t))return void delete t[r];if(!an(t)||!sn(t))return;if(t=t[r],!Ft(t))return}},hn=Object.prototype.hasOwnProperty,pn=function(e,t,n){n instanceof mn&&(n=n.length);for(var r=n;r<e.length;r++){var i=e[r],o=$t(i);if(o)return Xt(t,o,n,{setIn:cn,getIn:ln,deleteIn:un,existIn:pn});if(r===e.length-1)return hn.call(t,i);if(!an(t)||!sn(t))return!1;if(t=t[i],!Ft(t))return!1}},dn=function(e,t){if(e instanceof mn)return{entire:e.entire,segments:e.segments.slice(),isRegExp:!1,haveRelativePattern:e.haveRelativePattern,isWildMatchPattern:e.isWildMatchPattern,isMatchPattern:e.isMatchPattern,haveExcludePattern:e.haveExcludePattern,tree:e.tree};if(Pt(e)){if(!e)return{entire:"",segments:[],isRegExp:!1,isWildMatchPattern:!1,haveExcludePattern:!1,isMatchPattern:!1};if(-1===(o=e).indexOf("*")&&-1===o.indexOf("~")&&-1===o.indexOf("[")&&-1===o.indexOf("]")&&-1===o.indexOf(",")&&-1===o.indexOf(":")&&-1===o.indexOf(" ")&&"."!==o[0])return{entire:e,segments:e.split("."),isRegExp:!1,isWildMatchPattern:!1,haveExcludePattern:!1,isMatchPattern:!1};var n=new Jt(e,mn.parse(t)),r=n.parse();if(n.isMatchPattern)return{entire:e,segments:[],isRegExp:!1,haveRelativePattern:!1,isWildMatchPattern:n.isWildMatchPattern,haveExcludePattern:n.haveExcludePattern,isMatchPattern:!0,tree:r};var i=n.data.segments;return{entire:i.join("."),segments:i,tree:r,isRegExp:!1,haveRelativePattern:n.haveRelativePattern,isWildMatchPattern:!1,haveExcludePattern:!1,isMatchPattern:!1}}return kt(e)&&e[on]?dn(e.path):Dt(e)?{entire:e.join("."),segments:e.reduce((function(e,t){return e.concat(fn(t))}),[]),isRegExp:!1,haveRelativePattern:!1,isWildMatchPattern:!1,haveExcludePattern:!1,isMatchPattern:!1}:Ht(e)?{entire:e,segments:[],isRegExp:!0,haveRelativePattern:!1,isWildMatchPattern:!1,haveExcludePattern:!1,isMatchPattern:!0}:{entire:"",isRegExp:!1,segments:void 0!==e?[e]:[],haveRelativePattern:!1,isWildMatchPattern:!1,haveExcludePattern:!1,isMatchPattern:!1};var o},fn=function(e){if(Pt(e)){e=e.replace(/\s*/g,"");try{var t=dn(e),n=t.segments;return t.isMatchPattern?e:n}catch(t){return e}}else if(e instanceof mn)return e.segments;return e},mn=function(){function e(t,n){var r=this;this.concat=function(){for(var t,n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];if(r.isMatchPattern||r.isRegExp)throw new Error("".concat(r.entire," cannot be concat"));var o=new e("");return o.segments=(t=r.segments).concat.apply(t,nn([],tn(n.map((function(e){return fn(e)}))),!1)),o.entire=o.segments.join("."),o},this.slice=function(t,n){if(r.isMatchPattern||r.isRegExp)throw new Error("".concat(r.entire," cannot be slice"));var i=new e("");return i.segments=r.segments.slice(t,n),i.entire=i.segments.join("."),i},this.push=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return r.concat.apply(r,nn([],tn(e),!1))},this.pop=function(){if(r.isMatchPattern||r.isRegExp)throw new Error("".concat(r.entire," cannot be pop"));return new e(r.segments.slice(0,r.segments.length-1))},this.splice=function(t,n){for(var i=[],o=2;o<arguments.length;o++)i[o-2]=arguments[o];if(r.isMatchPattern||r.isRegExp)throw new Error("".concat(r.entire," cannot be splice"));i=i.reduce((function(e,t){return e.concat(fn(t))}),[]);var a=r.segments.slice();return a.splice.apply(a,nn([t,n],tn(i),!1)),new e(a)},this.forEach=function(e){if(r.isMatchPattern||r.isRegExp)throw new Error("".concat(r.entire," cannot be each"));r.segments.forEach(e)},this.map=function(e){if(r.isMatchPattern||r.isRegExp)throw new Error("".concat(r.entire," cannot be map"));return r.segments.map(e)},this.reduce=function(e,t){if(r.isMatchPattern||r.isRegExp)throw new Error("".concat(r.entire," cannot be reduce"));return r.segments.reduce(e,t)},this.parent=function(){return r.slice(0,r.length-1)},this.includes=function(t){var n=e.parse(t),i=n.entire,o=n.segments,a=n.isMatchPattern,s=r.includesCache.get(i);if(void 0!==s)return s;var l=function(e){return r.includesCache.set(i,e),e};if(r.isMatchPattern){if(a)throw new Error("".concat(r.entire," cannot be used to match ").concat(i));return l(r.match(o))}if(a)throw new Error("".concat(r.entire," cannot be used to match ").concat(i));if(o.length>r.segments.length)return l(!1);for(var c=0;c<o.length;c++)if(!Yt(String(o[c]),String(r.segments[c])))return l(!1);return l(!0)},this.transform=function(e,t){if(!kt(t))return"";if(r.isMatchPattern)throw new Error("".concat(r.entire," cannot be transformed"));var n=r.segments.reduce((function(t,n){return new RegExp(e).test(n)?t.concat(n):t}),[]);return t.apply(void 0,nn([],tn(n),!1))},this.match=function(t){var n,i,o=e.parse(t),a=r.matchCache.get(o.entire);if(void 0!==a)return a.record&&void 0!==a.record.score&&(r.matchScore=a.record.score),a.matched;var s=function(e){return r.matchCache.set(o.entire,e),e};if(o.isMatchPattern){if(r.isMatchPattern)throw new Error("".concat(o.entire," cannot match ").concat(r.entire));return r.matchScore=0,s(o.match(r.segments))}if(r.isMatchPattern){if(r.isRegExp)try{return null===(i=null===(n=r.entire)||void 0===n?void 0:n.test)||void 0===i?void 0:i.call(n,o.entire)}finally{r.entire.lastIndex=0}var l={score:0},c=s(new en(r.tree,l).match(o.segments));return r.matchScore=l.score,c.matched}return l={score:0},c=s(en.matchSegments(r.segments,o.segments,l)),r.matchScore=l.score,c.matched},this.matchAliasGroup=function(t,n){var i=e.parse(t),o=e.parse(n),a=r.match(i),s=r.matchScore,l=r.match(o),c=r.matchScore;return r.haveExcludePattern?s>=c?a:l:a||l},this.existIn=function(e,t){return void 0===t&&(t=0),pn(r.segments,e,t)},this.getIn=function(e){return ln(r.segments,e)},this.setIn=function(e,t){return cn(r.segments,e,t),e},this.deleteIn=function(e){return un(r.segments,e),e},this.ensureIn=function(e,t){var n=r.getIn(e);return void 0===n?(r.setIn(e,t),r.getIn(e)):n};var i=dn(t,n),o=i.tree,a=i.segments,s=i.entire,l=i.isRegExp,c=i.isMatchPattern,u=i.isWildMatchPattern,h=i.haveRelativePattern,p=i.haveExcludePattern;this.entire=s,this.segments=a,this.isMatchPattern=c,this.isWildMatchPattern=u,this.haveRelativePattern=h,this.isRegExp=l,this.haveExcludePattern=p,this.tree=o,this.matchCache=new Map,this.includesCache=new Map}return e.prototype.toString=function(){var e;return null===(e=this.entire)||void 0===e?void 0:e.toString()},e.prototype.toArr=function(){var e;return null===(e=this.segments)||void 0===e?void 0:e.slice()},Object.defineProperty(e.prototype,"length",{get:function(){return this.segments.length},enumerable:!1,configurable:!0}),e.match=function(t){var n=e.parse(t),r=function(e){return n.match(e)};return r[on]=!0,r.path=n,r},e.isPathPattern=function(e){return!!(Pt(e)||Dt(e)||Ht(e)||kt(e)&&e[on])},e.transform=function(t,n,r){return e.parse(t).transform(n,r)},e.parse=function(t,n){if(void 0===t&&(t=""),t instanceof e)return rn.get(t.entire)||(rn.set(t.entire,t),t);if(t&&t[on])return e.parse(t.path);var r=n?e.parse(n):"",i="".concat(t,":").concat(r);return rn.get(i)||(t=new e(t,n),rn.set(i,t),t)},e.getIn=function(t,n){return e.parse(n).getIn(t)},e.setIn=function(t,n,r){return e.parse(n).setIn(t,r)},e.deleteIn=function(t,n){return e.parse(n).deleteIn(t)},e.existIn=function(t,n,r){return e.parse(n).existIn(t,r)},e.ensureIn=function(t,n,r){return e.parse(n).ensureIn(t,r)},e}(),gn=36;gn--;)gn.toString(36);var yn,vn=n(2721),_n=n(2752),bn=n(1838),En=n.n(bn),Tn=n(1024),xn=n.n(Tn),Sn=n(9143),Cn=n(7129);e=n.hmd(e),(yn="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&yn(e);var An="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(e){return e};function Rn(e,t){return In(e)||Nn(e,t)||Ln(e,t)||wn()}function wn(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Ln(e,t){if(e){if("string"==typeof e)return On(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?On(e,t):void 0}}function On(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Nn(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,s=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw i}}return s}}function In(e){if(Array.isArray(e))return e}var kn=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n},Dn=function(){var e=(0,o.U$)(),t=(0,o.XA)(),n=[];return t.mapProperties((function(t,r){var i,o,a=e.query(e.address.concat(r)).take();"none"!==(null==a?void 0:a.display)&&"hidden"!==(null==a?void 0:a.display)&&(null===(i=t["x-component"])||void 0===i?void 0:i.indexOf("CollapsePanel"))>-1&&n.push({name:r,props:Object.assign(Object.assign({},null==t?void 0:t["x-component-props"]),{key:(null===(o=null==t?void 0:t["x-component-props"])||void 0===o?void 0:o.key)||r}),schema:t})})),n};An(Dn,"useField{collapseField}\nuseFieldSchema{schema}",(function(){return[o.U$,o.XA]}));var Pn=function(e){var t,n,r=(t={activeKeys:e,setActiveKeys:function(e){r.activeKeys=e},hasActiveKey:function(e){if(Array.isArray(r.activeKeys)){if(r.activeKeys.includes(e))return!0}else if(r.activeKeys==e)return!0;return!1},addActiveKey:function(e){var t;r.hasActiveKey(e)||(r.activeKeys=(t=r.activeKeys,Be(t)?t:t?[t]:[]).concat(e))},removeActiveKey:function(e){Array.isArray(r.activeKeys)?r.activeKeys=r.activeKeys.filter((function(t){return t!=e})):r.activeKeys=""},toggleActiveKey:function(e){r.hasActiveKey(e)?r.removeActiveKey(e):r.addActiveKey(e)}},n=Object.keys(t||{}).reduce((function(e,n){var r=Object.getOwnPropertyDescriptor(t,n);return r&&r.get?e[n]=De.computed:h(t[n])?e[n]=Se:e[n]=De,e}),{}),function(e,t){if(re(e))return e;if(!oe(e))return e;for(var n in ee(void 0,void 0,e),v.set(e,e),_.set(e,e),t){var r=t[n];ie(r)&&_e(r)({target:e,key:n})}return e}(t,n));return function(e){if(e)return h(e)?e.prototype[te]=!0:e[te]=!0,e}(r)},Mn=(0,o.Pi)(An((function(e){var t=e.formCollapse,n=kn(e,["formCollapse"]),r=(0,o.U$)(),a=Dn(),s=(0,Cn.Z)("formily-collapse",n),l=(0,Tn.useMemo)((function(){return t||Pn()}),[]),c=Rn((0,Tn.useState)([]),2),u=c[0],h=c[1];return(0,Tn.useEffect)((function(){n.activeKey&&h(function(e){return Array.isArray?Array.isArray(e):(0,_n.Z)(e,"Array")}(n.activeKey)?n.activeKey:[n.activeKey])}),[n.activeKey]),(0,Tn.useEffect)((function(){(null==l?void 0:l.activeKeys)&&h(null==l?void 0:l.activeKeys)}),[null==l?void 0:l.activeKeys]),(0,Tn.useEffect)((function(){var e;n.accordion&&h(null===(e=a[0])||void 0===e?void 0:e.name)}),[n.accordion]),xn().createElement(vn.Collapse,Object.assign({},n,{className:En()(s,n.className),activeKey:u,expandIcon:function(e){var t=e.isActive;return xn().createElement(i.Z,{rotate:t?90:0})},onChange:function(e){var t,r;h(e),null===(t=null==n?void 0:n.onChange)||void 0===t||t.call(n,e),null===(r=null==l?void 0:l.setActiveKeys)||void 0===r||r.call(l,e)}}),a.map((function(e,t){var n=e.props,i=e.schema,a=e.name,s=n.icon,l=function(e,t){var n=r.form.queryFeedbacks({type:"error",address:"".concat(r.address.concat(e),".*")});return n.length?xn().createElement(vn.Badge,{size:"small",className:"errors-badge",count:n.length},t.header):t.header}(a,n);return s&&(l=xn().createElement("span",null,xn().createElement(Sn.JO,{type:s})," ",l)),xn().createElement(vn.Collapse.Panel,Object.assign({key:t},n,{header:l,forceRender:!0}),xn().createElement(o.Uk,{schema:i,name:a}))})))}),"useField{field}\nusePanels{panels}\nusePrefixCls{prefixCls}\nuseMemo{_formCollapse}\nuseState{_useState([])}\nuseEffect{}\nuseEffect{}\nuseEffect{}",(function(){return[o.U$,Dn,Cn.Z]}))),Fn=function(e){var t=e.children;return xn().createElement(Tn.Fragment,null,t)};Mn.CollapsePanel=Fn,Mn.createFormCollapse=Pn;var Hn=Mn;const Bn=Hn;var Un,jn;(Un="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&(Un.register(Rn,"_slicedToArray","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/FormilyForm/FormCollapse/index.js"),Un.register(wn,"_nonIterableRest","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/FormilyForm/FormCollapse/index.js"),Un.register(Ln,"_unsupportedIterableToArray","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/FormilyForm/FormCollapse/index.js"),Un.register(On,"_arrayLikeToArray","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/FormilyForm/FormCollapse/index.js"),Un.register(Nn,"_iterableToArrayLimit","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/FormilyForm/FormCollapse/index.js"),Un.register(In,"_arrayWithHoles","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/FormilyForm/FormCollapse/index.js"),Un.register(kn,"__rest","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/FormilyForm/FormCollapse/index.js"),Un.register(Dn,"usePanels","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/FormilyForm/FormCollapse/index.js"),Un.register(Pn,"createFormCollapse","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/FormilyForm/FormCollapse/index.js"),Un.register(Mn,"FormCollapse","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/FormilyForm/FormCollapse/index.js"),Un.register(Fn,"CollapsePanel","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/FormilyForm/FormCollapse/index.js"),Un.register(Hn,"default","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/FormilyForm/FormCollapse/index.js")),(jn="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&jn(e)},7129:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var r,i=n(2721),o=n(1024);e=n.hmd(e),(r="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&r(e);var a=function(e,t){var n;if("ConfigContext"in i.ConfigProvider)return(0,(0,o.useContext)(i.ConfigProvider.ConfigContext).getPrefixCls)(e,null==t?void 0:t.prefixCls);var r=null!==(n=null==t?void 0:t.prefixCls)&&void 0!==n?n:"ant-";return"".concat(r).concat(null!=e?e:"")};("undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(e){return e})(a,"useContext{_useContext}");var s=a;const l=s;var c,u;(c="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&(c.register(a,"usePrefixCls","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/FormilyForm/FormCollapse/usePrefixCls.js"),c.register(s,"default","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/FormilyForm/FormCollapse/usePrefixCls.js")),(u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&u(e)},3631:(e,t,n)=>{"use strict";n.d(t,{Z:()=>g});var r,i=n(2721),o=n(1024),a=n.n(o),s=n(2176);function l(e,t){return d(e)||p(e,t)||u(e,t)||c()}function c(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function u(e,t){if(e){if("string"==typeof e)return h(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?h(e,t):void 0}}function h(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function p(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,s=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw i}}return s}}function d(e){if(Array.isArray(e))return e}e=n.hmd(e),(r="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&r(e),"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;var f=function(e){var t=e.value,n=void 0===t?[100,100]:t,r=e.min,o=void 0===r?0:r,c=e.max,u=void 0===c?200:c,h=l(n,2),p=h[0],d=h[1];return a().createElement(i.Space,null,a().createElement(i.InputNumber,{size:"small",value:p,min:o,max:u,onChange:function(t){e.onChange([t,d])},placeholder:s.Z.get({id:"common-components.FormilyForm.Offset.XAxisOffset",dm:"X轴偏移量"})}),a().createElement(i.InputNumber,{size:"small",value:d,min:o,max:u,onChange:function(t){e.onChange([p,t])},placeholder:s.Z.get({id:"common-components.FormilyForm.Offset.YAxisOffset",dm:"Y轴偏移量"})}))},m=f;const g=m;var y,v;(y="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&(y.register(l,"_slicedToArray","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/FormilyForm/Offset/index.js"),y.register(c,"_nonIterableRest","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/FormilyForm/Offset/index.js"),y.register(u,"_unsupportedIterableToArray","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/FormilyForm/Offset/index.js"),y.register(h,"_arrayLikeToArray","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/FormilyForm/Offset/index.js"),y.register(p,"_iterableToArrayLimit","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/FormilyForm/Offset/index.js"),y.register(d,"_arrayWithHoles","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/FormilyForm/Offset/index.js"),y.register(f,"Offset","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/FormilyForm/Offset/index.js"),y.register(m,"default","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/FormilyForm/Offset/index.js")),(v="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&v(e)},6541:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var r,i=n(2721),o=n(1024),a=n.n(o);e=n.hmd(e),(r="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&r(e),"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;var s=function(e){var t=e.color;return a().createElement(i.Button,{size:"small",type:"text",style:{width:"24px",height:"24px",padding:" 0px 0px",fontSize:"14px",borderRadius:"2px",verticalAlign:"-3px"}},a().createElement("div",{style:{display:"block",width:"14px",height:"14px",background:t,borderRadius:"50%",marginLeft:"3px"}}))},l=s;const c=l;var u,h;(u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&(u.register(s,"DisplayColor","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/GroupContainer/DisplayColor.js"),u.register(l,"default","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/GroupContainer/DisplayColor.js")),(h="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&h(e)},9312:(e,t,n)=>{"use strict";n.d(t,{Z:()=>D});var r=n(8241),i=n(3659),o=n(1024),a=n.n(o);const s={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M508 280h-63.3c-3.3 0-6 2.7-6 6v340.2H433L197.4 282.6c-1.1-1.6-3-2.6-4.9-2.6H126c-3.3 0-6 2.7-6 6v464c0 3.3 2.7 6 6 6h62.7c3.3 0 6-2.7 6-6V405.1h5.7l238.2 348.3c1.1 1.6 3 2.6 5 2.6H508c3.3 0 6-2.7 6-6V286c0-3.3-2.7-6-6-6zm378 413H582c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h304c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zm-152.2-63c52.9 0 95.2-17.2 126.2-51.7 29.4-32.9 44-75.8 44-128.8 0-53.1-14.6-96.5-44-129.3-30.9-34.8-73.2-52.2-126.2-52.2-53.7 0-95.9 17.5-126.3 52.8-29.2 33.1-43.4 75.9-43.4 128.7 0 52.4 14.3 95.2 43.5 128.3 30.6 34.7 73 52.2 126.2 52.2zm-71.5-263.7c16.9-20.6 40.3-30.9 71.4-30.9 31.5 0 54.8 9.6 71 29.1 16.4 20.3 24.9 48.6 24.9 84.9 0 36.3-8.4 64.1-24.8 83.9-16.5 19.4-40 29.2-71.1 29.2-31.2 0-55-10.3-71.4-30.4-16.3-20.1-24.5-47.3-24.5-82.6.1-35.8 8.2-63 24.5-83.2z"}}]},name:"field-number",theme:"outlined"};var l=n(2439),c=function(e,t){return o.createElement(l.Z,(0,i.Z)((0,i.Z)({},e),{},{ref:t,icon:s}))};c.displayName="FieldNumberOutlined";const u=o.forwardRef(c),h={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494zM504 618H320c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM312 490v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H320c-4.4 0-8 3.6-8 8z"}}]},name:"file-text",theme:"outlined"};var p=function(e,t){return o.createElement(l.Z,(0,i.Z)((0,i.Z)({},e),{},{ref:t,icon:h}))};p.displayName="FileTextOutlined";const d=o.forwardRef(p);var f,m=n(6840),g=n(5538),y=n(2721),v=n(4510),_=n(2176);e=n.hmd(e),(f="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&f(e);var b="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(e){return e};function E(e){return S(e)||x(e)||R(e)||T()}function T(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function x(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function S(e){if(Array.isArray(e))return w(e)}function C(e,t){return O(e)||L(e,t)||R(e,t)||A()}function A(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function R(e,t){if(e){if("string"==typeof e)return w(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?w(e,t):void 0}}function w(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function L(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,s=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw i}}return s}}function O(e){if(Array.isArray(e))return e}var N=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n},I=function(e){var t=e.index,n=e.form,i=e.name,s=e.options,l=C((0,o.useState)(s),2),c=l[0],h=l[1],p=function(e){if(e){var t=s.filter((function(t){return t.value.includes(e)}));h([{label:e,value:e}].concat(E(t)))}else h(s)};(0,o.useEffect)((function(){(null==s?void 0:s.length)&&h(s)}),[s]);var f=a().createElement(y.Form.Item,{name:[i,"expressions"],label:_.Z.get({id:"common-components.src.GroupContainer.ExpressionGroup.PropertyFiltering",dm:"属性过滤"}),tooltip:_.Z.get({id:"common-components.src.GroupContainer.ExpressionGroup.CustomAttributePathsAreSupported",dm:"支持自定义属性路径,例: a.b.c"})},a().createElement(y.Form.List,{name:[i,"expressions"]},(function(e,i){var o=i.add,l=i.remove,h=(n.getFieldValue("groups")[t]||{}).expressions;return a().createElement(a().Fragment,null,e.map((function(e,t){var n=e.key,i=e.name,o=N(e,["key","name"]),f=function(e){var t;return(null===(t=s.find((function(t){return t.value===e})))||void 0===t?void 0:t.type)||"unknown"}((h[t]||{}).name);return a().createElement(y.Row,{align:"middle",gutter:8,className:"item",key:n},a().createElement(y.Col,{span:2},"string"===f&&a().createElement(r.Z,null),"number"===f&&a().createElement(u,null),"unknown"===f&&a().createElement(d,null)),a().createElement(y.Col,{span:7},a().createElement(y.Form.Item,Object.assign({},o,{name:[i,"name"]}),a().createElement(y.Select,{size:"small",showSearch:!0,onSearch:p,style:{width:"100%"},options:c}))),a().createElement(y.Col,{span:6},a().createElement(y.Form.Item,Object.assign({},o,{name:[i,"operator"]}),a().createElement(y.Select,{size:"small",options:(0,v.e)(f)}))),a().createElement(y.Col,{span:7},a().createElement(y.Form.Item,Object.assign({},o,{name:[i,"value"]}),"number"===f?a().createElement(y.InputNumber,{size:"small",style:{width:"100%"}}):a().createElement(y.Input,{size:"small"}))),0!==t&&a().createElement(y.Col,{span:2},a().createElement(m.Z,{onClick:function(){return l(i)}})))})),a().createElement(y.Row,{gutter:8},a().createElement(y.Col,{span:24},a().createElement(y.Button,{className:"addExpressionButton",size:"small",onClick:function(){o()},block:!0,icon:a().createElement(g.Z,null)},_.Z.get({id:"common-components.src.GroupContainer.ExpressionGroup.AddAttributes",dm:"添加属性"})))))})));return a().createElement("div",{className:"expressionGroupContainer"},f)};b(I,"useState{_useState(options)}\nuseEffect{}");var k=I;const D=k;var P,M;(P="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&(P.register(E,"_toConsumableArray","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/GroupContainer/ExpressionGroup.js"),P.register(T,"_nonIterableSpread","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/GroupContainer/ExpressionGroup.js"),P.register(x,"_iterableToArray","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/GroupContainer/ExpressionGroup.js"),P.register(S,"_arrayWithoutHoles","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/GroupContainer/ExpressionGroup.js"),P.register(C,"_slicedToArray","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/GroupContainer/ExpressionGroup.js"),P.register(A,"_nonIterableRest","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/GroupContainer/ExpressionGroup.js"),P.register(R,"_unsupportedIterableToArray","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/GroupContainer/ExpressionGroup.js"),P.register(w,"_arrayLikeToArray","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/GroupContainer/ExpressionGroup.js"),P.register(L,"_iterableToArrayLimit","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/GroupContainer/ExpressionGroup.js"),P.register(O,"_arrayWithHoles","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/GroupContainer/ExpressionGroup.js"),P.register(N,"__rest","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/GroupContainer/ExpressionGroup.js"),P.register(I,"ExpressionGroup","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/GroupContainer/ExpressionGroup.js"),P.register(k,"default","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/GroupContainer/ExpressionGroup.js")),(M="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&M(e)},330:(e,t,n)=>{"use strict";n.d(t,{Z:()=>f});var r,i=n(2721),o=n(1024);function a(e,t){return h(e)||u(e,t)||l(e,t)||s()}function s(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function l(e,t){if(e){if("string"==typeof e)return c(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?c(e,t):void 0}}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function u(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,s=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw i}}return s}}function h(e){if(Array.isArray(e))return e}e=n.hmd(e),(r="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&r(e);var p=function(e){var t=e.title,n=e.content,r=e.disabled,s=e.children,l=a(o.useState({visible:!1}),2),c=l[0],u=l[1],h=c.visible;return r?o.createElement(o.Fragment,null,s):o.createElement(i.Popover,{placement:"bottomRight",content:n,title:t,trigger:"click",visible:h,onVisibleChange:function(e){u({visible:e})}},s)};("undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(e){return e})(p,"useState{_React$useState({\n visible: false\n })}");var d=p;const f=d;var m,g;(m="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&(m.register(a,"_slicedToArray","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/GroupContainer/PopoverContainer.js"),m.register(s,"_nonIterableRest","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/GroupContainer/PopoverContainer.js"),m.register(l,"_unsupportedIterableToArray","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/GroupContainer/PopoverContainer.js"),m.register(c,"_arrayLikeToArray","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/GroupContainer/PopoverContainer.js"),m.register(u,"_iterableToArrayLimit","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/GroupContainer/PopoverContainer.js"),m.register(h,"_arrayWithHoles","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/GroupContainer/PopoverContainer.js"),m.register(p,"PopoverContainer","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/GroupContainer/PopoverContainer.js"),m.register(d,"default","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/GroupContainer/PopoverContainer.js")),(g="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&g(e)},7407:(e,t,n)=>{"use strict";n.d(t,{Z:()=>P});var r=n(5538),i=n(703),o=n(3659),a=n(1024),s=n.n(a);const l={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880.1 154H143.9c-24.5 0-39.8 26.7-27.5 48L349 597.4V838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V597.4L907.7 202c12.2-21.3-3.1-48-27.6-48zM603.4 798H420.6V642h182.9v156zm9.6-236.6l-9.5 16.6h-183l-9.5-16.6L212.7 226h598.6L613 561.4z"}}]},name:"filter",theme:"outlined"};var c=n(2439),u=function(e,t){return a.createElement(c.Z,(0,o.Z)((0,o.Z)({},e),{},{ref:t,icon:l}))};u.displayName="FilterOutlined";const h=a.forwardRef(u);var p,d=n(6840),f=n(2721),m=n(5157),g=n(9312),y=n(6541),v=n(330),_=n(2176);e=n.hmd(e),(p="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&p(e);var b="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(e){return e};function E(e){return S(e)||x(e)||R(e)||T()}function T(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function x(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function S(e){if(Array.isArray(e))return w(e)}function C(e,t){return O(e)||L(e,t)||R(e,t)||A()}function A(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function R(e,t){if(e){if("string"==typeof e)return w(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?w(e,t):void 0}}function w(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function L(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,s=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw i}}return s}}function O(e){if(Array.isArray(e))return e}var N=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n},I=f.Collapse.Panel,k=function(e){var t,n=e.children,o=e.valuesChange,l=e.initValues,c=e.defaultGroupOption,u=e.schemaData,p=e.elementType,b=C(f.Form.useForm(),1)[0],T=C((0,a.useState)(["0"]),2),x=T[0],S=T[1],A=function(e){S("string"==typeof e?[e]:e)},R=(0,a.useCallback)((function(e,t){o&&o(e,t)}),[]),w=null===(t=(0,m.o)(u,p))||void 0===t?void 0:t.map((function(e){var t=C(e,2),n=t[0];return{value:n,key:n,type:t[1]}}));l.groups=l.groups.map((function(e){return e.groupId?Object.assign({},e):Object.assign(Object.assign({},e),{groupId:Math.random().toString(36).slice(-8)})}));var L=function(){b.setFieldsValue({groups:[b.getFieldValue("groups")[0]]}),R({},b.getFieldsValue())};return s().createElement("div",{className:"gi-group-container",style:{transform:"scale(1)",height:"100%"}},s().createElement(f.Form,{initialValues:l,layout:"vertical",form:b,onValuesChange:R,className:"gi-style-form"},s().createElement(f.Form.Item,{name:"groups",shouldUpdate:function(){return!0},initialValue:[{groupName:_.Z.get({id:"common-components.src.GroupContainer.StyleConfigurationGroup",dm:"样式配置分组1"}),groupId:"default-group",id:"SimpleNode",props:{}}]},s().createElement(f.Form.List,{name:"groups"},(function(e,t){var o=t.add,a=t.remove;return s().createElement("div",{className:"gi-style-form-list"},s().createElement("div",{className:"gi-style-form-btn-group"},s().createElement(f.Button,{type:"primary",className:"gi-tour-style-add-group",onClick:function(){var t=e.length+1,n=Object.assign(Object.assign({},c),{groupId:Math.random().toString(36).slice(-8),groupName:_.Z.get({id:"common-components.src.GroupContainer.CustomStyleIdx",dm:"自定义样式 {idx}"},{idx:t})});o(n),S([].concat(E(x),["".concat(e.length)]))},icon:s().createElement(r.Z,null)},_.Z.get({id:"common-components.src.GroupContainer.AddStyleGroups",dm:"新增样式分组"})),s().createElement(f.Button,{onClick:L},_.Z.get({id:"common-components.src.GroupContainer.Reset",dm:"重置"}))),s().createElement(f.Collapse,{className:"gi-sidebar-collapse",bordered:!1,onChange:A,activeKey:x,expandIcon:function(e){var t=e.isActive;return s().createElement(i.Z,{rotate:t?90:0})}},e.map((function(e,t){var r,i=e.key,o=e.name,c=N(e,["key","name"]),u="".concat(i),p=-1!==x.indexOf(u),m=l.groups[i],E="#ddd";return m&&m.props&&(E=m.props.color),s().createElement(I,{className:"gi-group-container-panel",key:"".concat(i),extra:s().createElement("div",{style:{display:"flex",alignItems:"center",verticalAlign:"top",height:"32px",lineHeight:"32px"},onClick:function(e){e.stopPropagation()}},p?null:s().createElement(y.Z,{color:E}),s().createElement(v.Z,{title:_.Z.get({id:"common-components.src.GroupContainer.GroupingRules",dm:"分组规则"}),disabled:0===t,content:s().createElement(f.Row,null,s().createElement(f.Col,{span:24,className:"expression-group",style:{display:"flex"}},s().createElement(g.Z,{options:w,name:o,index:t,form:b}),s().createElement("div",{className:"switch-button-wrap"},s().createElement(f.Form.Item,{name:[o,"logic"]},s().createElement(f.Switch,{size:"small",className:"switch-button",checkedChildren:"and",unCheckedChildren:"or",defaultChecked:null===(r=null==l?void 0:l.groups[o])||void 0===r?void 0:r.logic})))))},s().createElement(f.Button,{className:"gi-tour-style-rule-".concat(t),disabled:0===t,type:"text",icon:s().createElement(h,null),size:"small"})),s().createElement(f.Button,{type:"text",disabled:0===t,icon:s().createElement(d.Z,{onClick:function(){a(o)}}),size:"small"})),header:s().createElement("div",null,s().createElement("div",{onClick:function(e){return e.stopPropagation()}},s().createElement(f.Form.Item,Object.assign({},c,{name:[o,"groupName"],className:"gi-group-container-panel-header"}),s().createElement(f.Input,{placeholder:_.Z.get({id:"common-components.src.GroupContainer.EnterAStyleGroupName",dm:"请输入样式分组名称"}),bordered:!1}))))},s().createElement(f.Col,{span:24,className:"xrender-form-container"},n&&n(t)))}))))})))))};b(k,"useForm{_Form$useForm}\nuseState{_useState(['0'])}\nuseCallback{onValuesChange}");var D=k;const P=D;var M,F;(M="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&(M.register(E,"_toConsumableArray","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/GroupContainer/index.js"),M.register(T,"_nonIterableSpread","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/GroupContainer/index.js"),M.register(x,"_iterableToArray","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/GroupContainer/index.js"),M.register(S,"_arrayWithoutHoles","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/GroupContainer/index.js"),M.register(C,"_slicedToArray","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/GroupContainer/index.js"),M.register(A,"_nonIterableRest","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/GroupContainer/index.js"),M.register(R,"_unsupportedIterableToArray","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/GroupContainer/index.js"),M.register(w,"_arrayLikeToArray","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/GroupContainer/index.js"),M.register(L,"_iterableToArrayLimit","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/GroupContainer/index.js"),M.register(O,"_arrayWithHoles","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/GroupContainer/index.js"),M.register(N,"__rest","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/GroupContainer/index.js"),M.register(I,"Panel","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/GroupContainer/index.js"),M.register(k,"GroupContainer","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/GroupContainer/index.js"),M.register(D,"default","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/GroupContainer/index.js")),(F="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&F(e)},4510:(e,t,n)=>{"use strict";n.d(t,{e:()=>s});var r,i=n(2176);e=n.hmd(e),(r="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&r(e),"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;var o,a,s=function(e){var t=[{label:i.Z.get({id:"common-components.src.GroupContainer.utils.Equal",dm:"等于"}),value:"eql"},{label:i.Z.get({id:"common-components.src.GroupContainer.utils.NotEqual",dm:"不等于"}),value:"not-eql"}],n=[{label:i.Z.get({id:"common-components.src.GroupContainer.utils.Include",dm:"包含"}),value:"contain"},{label:i.Z.get({id:"common-components.src.GroupContainer.utils.NotIncluded",dm:"不包含"}),value:"not-contain"}],r=[{label:i.Z.get({id:"common-components.src.GroupContainer.utils.Greater",dm:"大于"}),value:"gt"},{label:i.Z.get({id:"common-components.src.GroupContainer.utils.GreaterThanOrEqual",dm:"大于等于"}),value:"gte"},{label:i.Z.get({id:"common-components.src.GroupContainer.utils.Less",dm:"小于"}),value:"lt"},{label:i.Z.get({id:"common-components.src.GroupContainer.utils.LessThanOrEqual",dm:"小于等于"}),value:"lte"}];return"string"===e?[].concat(t,n):"number"===e?[].concat(t,r):"boolean"===e?t:[].concat(t,n,r)};(o="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&o.register(s,"getOperatorList","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/GroupContainer/utils.js"),(a="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&a(e)},9143:(e,t,n)=>{"use strict";n.d(t,{JO:()=>z,pE:()=>P});var r=n(3659),i=n(613),o=n(1024),a=n.n(o),s=n(6297),l=n(1838),c=n.n(l),u=n(5746),h=n(9536),p=["className","component","viewBox","spin","rotate","tabIndex","onClick","children"],d=o.forwardRef((function(e,t){var n=e.className,a=e.component,l=e.viewBox,d=e.spin,f=e.rotate,m=e.tabIndex,g=e.onClick,y=e.children,v=(0,i.Z)(e,p);(0,h.Kp)(Boolean(a||y),"Should have `component` prop or `children`."),(0,h.C3)();var _=o.useContext(u.Z).prefixCls,b=void 0===_?"anticon":_,E=c()(b,n),T=c()((0,s.Z)({},"".concat(b,"-spin"),!!d)),x=f?{msTransform:"rotate(".concat(f,"deg)"),transform:"rotate(".concat(f,"deg)")}:void 0,S=(0,r.Z)((0,r.Z)({},h.vD),{},{className:T,style:x,viewBox:l});l||delete S.viewBox;var C=m;return void 0===C&&g&&(C=-1),o.createElement("span",(0,r.Z)((0,r.Z)({role:"img"},v),{},{ref:t,tabIndex:C,onClick:g,className:E}),a?o.createElement(a,(0,r.Z)({},S),y):y?((0,h.Kp)(Boolean(l)||1===o.Children.count(y)&&o.isValidElement(y)&&"use"===o.Children.only(y).type,"Make sure that you provide correct `viewBox` prop (default `0 0 1024 1024`) to the icon."),o.createElement("svg",(0,r.Z)((0,r.Z)({},S),{},{viewBox:l}),y)):null)}));d.displayName="AntdIcon";const f=d;var m=["type","children"],g=new Set;function y(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=e[n];if(t=r,Boolean("string"==typeof t&&t.length&&!g.has(t))){var i=document.createElement("script");i.setAttribute("src",r),i.setAttribute("data-namespace",r),e.length>n+1&&(i.onload=function(){y(e,n+1)},i.onerror=function(){y(e,n+1)}),g.add(r),document.body.appendChild(i)}}function v(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.scriptUrl,n=e.extraCommonProps,a=void 0===n?{}:n;t&&"undefined"!=typeof document&&"undefined"!=typeof window&&"function"==typeof document.createElement&&(Array.isArray(t)?y(t.reverse()):y([t]));var s=o.forwardRef((function(e,t){var n=e.type,s=e.children,l=(0,i.Z)(e,m),c=null;return e.type&&(c=o.createElement("use",{xlinkHref:"#".concat(n)})),s&&(c=s),o.createElement(f,(0,r.Z)((0,r.Z)((0,r.Z)({},a),l),{},{ref:t}),c)}));return s.displayName="Iconfont",s}var _,b=n(4725),E=n.n(b),T=n(5721);function x(e){return x="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},x(e)}function S(){S=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,r=Object.defineProperty||function(e,t,n){e[t]=n.value},i="function"==typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function l(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{l({},"")}catch(e){l=function(e,t,n){return e[t]=n}}function c(e,t,n,i){var o=t&&t.prototype instanceof p?t:p,a=Object.create(o.prototype),s=new R(i||[]);return r(a,"_invoke",{value:E(e,n,s)}),a}function u(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=c;var h={};function p(){}function d(){}function f(){}var m={};l(m,o,(function(){return this}));var g=Object.getPrototypeOf,y=g&&g(g(w([])));y&&y!==t&&n.call(y,o)&&(m=y);var v=f.prototype=p.prototype=Object.create(m);function _(e){["next","throw","return"].forEach((function(t){l(e,t,(function(e){return this._invoke(t,e)}))}))}function b(e,t){function i(r,o,a,s){var l=u(e[r],e,o);if("throw"!==l.type){var c=l.arg,h=c.value;return h&&"object"==x(h)&&n.call(h,"__await")?t.resolve(h.__await).then((function(e){i("next",e,a,s)}),(function(e){i("throw",e,a,s)})):t.resolve(h).then((function(e){c.value=e,a(c)}),(function(e){return i("throw",e,a,s)}))}s(l.arg)}var o;r(this,"_invoke",{value:function(e,n){function r(){return new t((function(t,r){i(e,n,t,r)}))}return o=o?o.then(r,r):r()}})}function E(e,t,n){var r="suspendedStart";return function(i,o){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===i)throw o;return{value:void 0,done:!0}}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var s=T(a,n);if(s){if(s===h)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var l=u(e,t,n);if("normal"===l.type){if(r=n.done?"completed":"suspendedYield",l.arg===h)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r="completed",n.method="throw",n.arg=l.arg)}}}function T(e,t){var n=t.method,r=e.iterator[n];if(void 0===r)return t.delegate=null,"throw"===n&&e.iterator.return&&(t.method="return",t.arg=void 0,T(e,t),"throw"===t.method)||"return"!==n&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+n+"' method")),h;var i=u(r,e.iterator,t.arg);if("throw"===i.type)return t.method="throw",t.arg=i.arg,t.delegate=null,h;var o=i.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,h):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,h)}function C(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function R(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(C,this),this.reset(!0)}function w(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,i=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return i.next=i}}return{next:L}}function L(){return{value:void 0,done:!0}}return d.prototype=f,r(v,"constructor",{value:f,configurable:!0}),r(f,"constructor",{value:d,configurable:!0}),d.displayName=l(f,s,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===d||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,f):(e.__proto__=f,l(e,s,"GeneratorFunction")),e.prototype=Object.create(v),e},e.awrap=function(e){return{__await:e}},_(b.prototype),l(b.prototype,a,(function(){return this})),e.AsyncIterator=b,e.async=function(t,n,r,i,o){void 0===o&&(o=Promise);var a=new b(c(t,n,r,i),o);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},_(v),l(v,s,"Generator"),l(v,o,(function(){return this})),l(v,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},e.values=w,R.prototype={constructor:R,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(A),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],a=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var s=n.call(o,"catchLoc"),l=n.call(o,"finallyLoc");if(s&&l){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(s){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=e,a.arg=t,o?(this.method="next",this.next=o.finallyLoc,h):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),h},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),A(n),h}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;A(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:w(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),h}},e}function C(e){return L(e)||w(e)||R(e)||A()}function A(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function R(e,t){if(e){if("string"==typeof e)return O(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?O(e,t):void 0}}function w(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function L(e){if(Array.isArray(e))return O(e)}function O(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}e=n.hmd(e),(_="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&_(e),"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;var N=function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){e.done?i(e.value):function(e){return e instanceof n?e:new n((function(t){t(e)}))}(e.value).then(a,s)}l((r=r.apply(e,t||[])).next())}))},I=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n},k="iconfont",D=E().registerFontFamily((function(){return{fontFamily:k,glyphs:[]}})),P=[];function M(e){return N(this,void 0,void 0,S().mark((function t(){var n,r;return S().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Promise.all(e.map((function(e){return(0,T.d)(e)})));case 2:n=t.sent,r=n.reduce((function(e,t){return e.push.apply(e,C(t.glyphs)),e}),[]),P=r,D=E().registerFontFamily((function(){return{fontFamily:k,glyphs:r.map((function(e){return Object.assign(Object.assign({},e),{name:e.font_class})}))}}));case 6:case"end":return t.stop()}}),t)})))}var F=new Set,H="font_3381398_29c1c449r6f",B=function(e){return"//at.alicdn.com/t/a/".concat(e,".js")};function U(e){return N(this,void 0,void 0,S().mark((function t(){return S().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Promise.all(e.map((function(e){return(0,T.V)(e)})));case 2:case"end":return t.stop()}}),t)})))}function j(e){return N(this,void 0,void 0,S().mark((function t(){var n;return S().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if((n=e.filter((function(e){return!F.has(e)}))).length){t.next=3;break}return t.abrupt("return");case 3:return v({scriptUrl:n.map(B)}),t.next=6,Promise.all([U(n),M(n)]);case 6:n.forEach((function(e){return F.add(e)}));case 7:case"end":return t.stop()}}),t)})))}j([H]);var G,Y,z=a().forwardRef((function(e,t){var n=e.type,r=e.children,i=I(e,["type","children"]),o=null;return e.type&&(o=a().createElement("use",{xlinkHref:"#".concat(n)})),r&&(o=r),a().createElement(f,Object.assign({},i,{ref:t}),o)}));(G="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&(G.register(x,"_typeof","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/Icon/index.js"),G.register(S,"_regeneratorRuntime","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/Icon/index.js"),G.register(C,"_toConsumableArray","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/Icon/index.js"),G.register(A,"_nonIterableSpread","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/Icon/index.js"),G.register(R,"_unsupportedIterableToArray","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/Icon/index.js"),G.register(w,"_iterableToArray","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/Icon/index.js"),G.register(L,"_arrayWithoutHoles","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/Icon/index.js"),G.register(O,"_arrayLikeToArray","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/Icon/index.js"),G.register(N,"__awaiter","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/Icon/index.js"),G.register(I,"__rest","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/Icon/index.js"),G.register(k,"fontFamily","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/Icon/index.js"),G.register(D,"icons","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/Icon/index.js"),G.register(P,"glyphs","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/Icon/index.js"),G.register(M,"loadFontsJson","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/Icon/index.js"),G.register(F,"registeredIds","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/Icon/index.js"),G.register(H,"builtInIconFontId","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/Icon/index.js"),G.register(B,"getIconfontScriptUrl","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/Icon/index.js"),G.register(U,"loadUnicodeFonts","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/Icon/index.js"),G.register(j,"registerIconFonts","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/Icon/index.js"),G.register(z,"Icon","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/Icon/index.js")),(Y="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&Y(e)},5721:(e,t,n)=>{"use strict";var r;function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}function o(){o=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,r=Object.defineProperty||function(e,t,n){e[t]=n.value},a="function"==typeof Symbol?Symbol:{},s=a.iterator||"@@iterator",l=a.asyncIterator||"@@asyncIterator",c=a.toStringTag||"@@toStringTag";function u(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{u({},"")}catch(e){u=function(e,t,n){return e[t]=n}}function h(e,t,n,i){var o=t&&t.prototype instanceof f?t:f,a=Object.create(o.prototype),s=new R(i||[]);return r(a,"_invoke",{value:x(e,n,s)}),a}function p(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=h;var d={};function f(){}function m(){}function g(){}var y={};u(y,s,(function(){return this}));var v=Object.getPrototypeOf,_=v&&v(v(w([])));_&&_!==t&&n.call(_,s)&&(y=_);var b=g.prototype=f.prototype=Object.create(y);function E(e){["next","throw","return"].forEach((function(t){u(e,t,(function(e){return this._invoke(t,e)}))}))}function T(e,t){function o(r,a,s,l){var c=p(e[r],e,a);if("throw"!==c.type){var u=c.arg,h=u.value;return h&&"object"==i(h)&&n.call(h,"__await")?t.resolve(h.__await).then((function(e){o("next",e,s,l)}),(function(e){o("throw",e,s,l)})):t.resolve(h).then((function(e){u.value=e,s(u)}),(function(e){return o("throw",e,s,l)}))}l(c.arg)}var a;r(this,"_invoke",{value:function(e,n){function r(){return new t((function(t,r){o(e,n,t,r)}))}return a=a?a.then(r,r):r()}})}function x(e,t,n){var r="suspendedStart";return function(i,o){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===i)throw o;return{value:void 0,done:!0}}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var s=S(a,n);if(s){if(s===d)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var l=p(e,t,n);if("normal"===l.type){if(r=n.done?"completed":"suspendedYield",l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r="completed",n.method="throw",n.arg=l.arg)}}}function S(e,t){var n=t.method,r=e.iterator[n];if(void 0===r)return t.delegate=null,"throw"===n&&e.iterator.return&&(t.method="return",t.arg=void 0,S(e,t),"throw"===t.method)||"return"!==n&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=p(r,e.iterator,t.arg);if("throw"===i.type)return t.method="throw",t.arg=i.arg,t.delegate=null,d;var o=i.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,d):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,d)}function C(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function R(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(C,this),this.reset(!0)}function w(e){if(e){var t=e[s];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,i=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return i.next=i}}return{next:L}}function L(){return{value:void 0,done:!0}}return m.prototype=g,r(b,"constructor",{value:g,configurable:!0}),r(g,"constructor",{value:m,configurable:!0}),m.displayName=u(g,c,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===m||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,g):(e.__proto__=g,u(e,c,"GeneratorFunction")),e.prototype=Object.create(b),e},e.awrap=function(e){return{__await:e}},E(T.prototype),u(T.prototype,l,(function(){return this})),e.AsyncIterator=T,e.async=function(t,n,r,i,o){void 0===o&&(o=Promise);var a=new T(h(t,n,r,i),o);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},E(b),u(b,c,"Generator"),u(b,s,(function(){return this})),u(b,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},e.values=w,R.prototype={constructor:R,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(A),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],a=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var s=n.call(o,"catchLoc"),l=n.call(o,"finallyLoc");if(s&&l){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(s){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=e,a.arg=t,o?(this.method="next",this.next=o.finallyLoc,d):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),d},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),A(n),d}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;A(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:w(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),d}},e}n.d(t,{V:()=>u,d:()=>c}),e=n.hmd(e),(r="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&r(e),"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;var a,s,l=function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){e.done?i(e.value):function(e){return e instanceof n?e:new n((function(t){t(e)}))}(e.value).then(a,s)}l((r=r.apply(e,t||[])).next())}))};function c(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"online",n=arguments.length>2?arguments[2]:void 0;return l(this,void 0,void 0,o().mark((function r(){var i,a;return o().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if("online"!==t){r.next=6;break}return i=n||"https://at.alicdn.com/t/a/".concat(e,".json"),r.next=4,fetch(i).then((function(e){return e.json()}));case 4:return a=r.sent,r.abrupt("return",a);case 6:return r.abrupt("return",{id:"",name:"",font_family:"",css_prefix_text:"",description:"",glyphs:[]});case 7:case"end":return r.stop()}}),r)})))}function u(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"online";return l(this,void 0,void 0,o().mark((function n(){var r,i,a=this;return o().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if("online"!==t){n.next=7;break}return r=[{fontUrl:"//at.alicdn.com/t/a/".concat(e,".woff2"),format:"woff2"},{fontUrl:"//at.alicdn.com/t/a/".concat(e,".woff"),format:"woff"},{fontUrl:"//at.alicdn.com/t/a/".concat(e,".ttf"),format:"truetype"}],i=function(e,t){return l(a,void 0,void 0,o().mark((function n(){var r;return o().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return r=new FontFace(e,"url(".concat(t,")")),n.next=3,r.load();case 3:document.fonts.add(r);case 4:case"end":return n.stop()}}),n)})))},n.next=5,Promise.all(r.map((function(e){var t=e.fontUrl;return i("iconfont",t)})));case 5:n.next=7;break;case 7:case"end":return n.stop()}}),n)})))}(a="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&(a.register(i,"_typeof","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/Icon/loader.js"),a.register(o,"_regeneratorRuntime","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/Icon/loader.js"),a.register(l,"__awaiter","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/Icon/loader.js"),a.register(c,"loadFontJson","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/Icon/loader.js"),a.register(u,"loadUnicodeFont","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/Icon/loader.js")),(s="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&s(e)},5157:(e,t,n)=>{"use strict";var r;function i(e){return l(e)||s(e)||a(e)||o()}function o(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function a(e,t){if(e){if("string"==typeof e)return c(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?c(e,t):void 0}}function s(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function l(e){if(Array.isArray(e))return c(e)}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}n.d(t,{o:()=>p}),e=n.hmd(e),(r="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&r(e),"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;var u,h,p=function(e,t){try{var n=new Map;return n.set("nodes"===t?"nodeType":"edgeType","string"),e[t].forEach((function(e){Object.entries(e.properties).forEach((function(e){n.set.apply(n,i(e))}))})),Array.from(n)}catch(e){return[]}};(u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&(u.register(i,"_toConsumableArray","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/Utils/getAllkeysBySchema.js"),u.register(o,"_nonIterableSpread","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/Utils/getAllkeysBySchema.js"),u.register(a,"_unsupportedIterableToArray","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/Utils/getAllkeysBySchema.js"),u.register(s,"_iterableToArray","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/Utils/getAllkeysBySchema.js"),u.register(l,"_arrayWithoutHoles","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/Utils/getAllkeysBySchema.js"),u.register(c,"_arrayLikeToArray","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/Utils/getAllkeysBySchema.js"),u.register(p,"getAllkeysBySchema","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/Utils/getAllkeysBySchema.js")),(h="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&h(e)},2176:(e,t,n)=>{"use strict";n.d(t,{Z:()=>g});var r,i,o,a=n(5558),s=n.n(a),l=n(4959),c=n(6772),u=n.n(c);function h(e){return h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},h(e)}function p(){var e=s().getLocale().lang;i=e,o=l.ZP.init(e,u(),{name:"common-components"})}function d(e){s().setLang(e),p()}function f(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return o||p(),"string"==typeof e?l.ZP.format({id:e},t,{name:"common-components"}):("object"===h(e)&&e.dm&&(e.defaultMessage=e.dm),l.ZP.format({id:e.id,defaultString:e.dm},t,{name:"common-components"}))}e=n.hmd(e),(r="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&r(e),"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;var m={get:f,update:p,change:d,language:i};const g=m;var y,v;(y="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&(y.register(h,"_typeof","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/i18n/index.js"),y.register(i,"language","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/i18n/index.js"),y.register(o,"intl","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/i18n/index.js"),y.register(p,"update","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/i18n/index.js"),y.register(d,"change","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/i18n/index.js"),y.register(f,"get","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/i18n/index.js"),y.register(m,"default","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-common-components/es/i18n/index.js")),(v="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&v(e)},6772:(e,t,n)=>{"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature,e.exports={"en-US":n(3969),"zh-CN":n(7441)}},9909:(e,t,n)=>{"use strict";var r;function i(e){return s(e)||a(e)||u(e)||o()}function o(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function a(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function s(e){if(Array.isArray(e))return h(e)}function l(e,t){return d(e)||p(e,t)||u(e,t)||c()}function c(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function u(e,t){if(e){if("string"==typeof e)return h(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?h(e,t):void 0}}function h(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function p(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,s=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw i}}return s}}function d(e){if(Array.isArray(e))return e}e=n.nmd(e),(r="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&r(e),"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature,Object.defineProperty(t,"__esModule",{value:!0}),t.uniqueElementsBy=t.time=t.mergeObjectByRule=t.isStyles=t.isPosition=t.handleExpand=t.handleCollaspe=t.getService=t.getProjectContext=t.getPositionStyles=t.getKeysByData=t.getDefaultValues=t.debounce=t.createUuid=void 0;var f=function(e){return 0!==e.length&&e.every((function(e){return!window.isNaN(e.x)&&!window.isNaN(e.y)}))};t.isPosition=f;var m=function(e){return 0!==e.length&&e.every((function(e){return e.style}))};t.isStyles=m;var g=function(){return"xxxxxxxxxxxx".replace(/[x]/g,(function(e){var t=16*Math.random()|0;return("x"==e?t:3&t|8).toString(16)}))};t.createUuid=g;var y=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return function(){for(var r=this,i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];clearTimeout(t),t=setTimeout((function(){return e.apply(r,o)}),n)}};t.debounce=y;var v=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"LT",t={position:"absolute",top:"unset",left:"unset",right:"unset",bottom:"unset"},n=l(arguments.length>1&&void 0!==arguments[1]?arguments[1]:[24,64],2),r=n[0],i=n[1];return"RT"===e&&(t.right="".concat(r,"px"),t.top="".concat(i,"px")),"LT"===e&&(t.left="".concat(r,"px"),t.top="".concat(i,"px")),"LB"===e&&(t.left="".concat(r,"px"),t.bottom="".concat(i,"px")),"RB"===e&&(t.right="".concat(r,"px"),t.bottom="".concat(i,"px")),t};t.getPositionStyles=v;var _=function(e,t){return e.reduce((function(e,n){return e.some((function(e){return t(n,e)}))||e.push(n),e}),[])};t.uniqueElementsBy=_;var b=function(e){return e?new Date(new Date(e).valueOf()+288e5).toJSON().substr(0,16).replace("T"," ").replace(/-/g,"."):"Invalid Date"};t.time=b;var E=function(e,t){var n=t||{},r=n.nodes,o=void 0===r?[]:r,a=n.edges,s=void 0===a?[]:a;return{nodes:_([].concat(i(e.nodes),i(o)),(function(e,t){return e.id===t.id})),edges:_([].concat(i(e.edges),i(s)),(function(e,t){return e.id&&t.id?e.id===t.id:e.source===t.source&&e.target===t.target}))}};t.handleExpand=E;var T=function(e,t){var n=t.nodes.map((function(e){return e.id})),r=t.edges.map((function(e){return"".concat(e.source,"-").concat(e.target)}));return{nodes:e.nodes.filter((function(e){return-1===n.indexOf(e.id)})),edges:e.edges.filter((function(e){var t="".concat(e.source,"-").concat(e.target);return-1===r.indexOf(t)}))}};t.handleCollaspe=T;var x=function(e,t){return t?(e.find((function(e){return e.id===t}))||{}).service||(console.warn("Component need a service",t),null):(console.warn("not found serviceId",t),null)};t.getService=x;var S=function(e,t){var n="props",r={};return function e(n,r,i){try{if("GICC_LAYOUT"===t&&"containers"===i)return r[i]=[],void n.forEach((function(t,n){r[i].push({id:t.id,name:t.name,required:t.required}),Object.keys(t).forEach((function(o){"name"!==o&&"id"!==o&&"required"!==o&&e(t[o],r[i][n],o)}))}));var o=n.type,a=n.properties;if("void"===o)return void Object.keys(a).forEach((function(t){e(a[t],r,t)}));if("object"===o){r[i]={};var s=r[i];return void Object.keys(a).forEach((function(t){e(a[t],s,t)}))}r[i]=n.default}catch(e){return void console.log("error",n,r,i)}}(e,r,n),r[n]};t.getDefaultValues=S;var C=function(e){var t=[];return function e(n){Object.keys(n).forEach((function(r){var i=n[r];"[object Object]"===Object.prototype.toString.call(i)?e(i):t.push(r)}))}(e),i(new Set(t))},A=function(e,t){try{if("node"===t){var n=e.nodes[0]||{};return C(n)}if("edge"===t){var r=e.edges[0]||{};return C(r)}}catch(e){}return[]};t.getKeysByData=A;var R=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return[].concat(n).reverse().reduce((function(t,n,r){return Object.keys(n).forEach((function(r){t.hasOwnProperty(r)?e(t[r],n[r])&&(t[r]=n[r]):t[r]=n[r]})),t}),{})};t.mergeObjectByRule=R;var w,L,O=function(){var e=localStorage.getItem("SERVER_ENGINE_CONTEXT")||"{}";return JSON.parse(e)};t.getProjectContext=O,(w="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&(w.register(i,"_toConsumableArray","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-sdk/lib/process/common.js"),w.register(o,"_nonIterableSpread","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-sdk/lib/process/common.js"),w.register(a,"_iterableToArray","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-sdk/lib/process/common.js"),w.register(s,"_arrayWithoutHoles","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-sdk/lib/process/common.js"),w.register(l,"_slicedToArray","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-sdk/lib/process/common.js"),w.register(c,"_nonIterableRest","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-sdk/lib/process/common.js"),w.register(u,"_unsupportedIterableToArray","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-sdk/lib/process/common.js"),w.register(h,"_arrayLikeToArray","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-sdk/lib/process/common.js"),w.register(p,"_iterableToArrayLimit","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-sdk/lib/process/common.js"),w.register(d,"_arrayWithHoles","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-sdk/lib/process/common.js"),w.register(f,"isPosition","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-sdk/lib/process/common.js"),w.register(m,"isStyles","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-sdk/lib/process/common.js"),w.register(g,"createUuid","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-sdk/lib/process/common.js"),w.register(y,"debounce","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-sdk/lib/process/common.js"),w.register(v,"getPositionStyles","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-sdk/lib/process/common.js"),w.register(_,"uniqueElementsBy","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-sdk/lib/process/common.js"),w.register(b,"time","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-sdk/lib/process/common.js"),w.register(E,"handleExpand","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-sdk/lib/process/common.js"),w.register(T,"handleCollaspe","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-sdk/lib/process/common.js"),w.register(x,"getService","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-sdk/lib/process/common.js"),w.register(S,"getDefaultValues","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-sdk/lib/process/common.js"),w.register(C,"walkProperties","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-sdk/lib/process/common.js"),w.register(A,"getKeysByData","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-sdk/lib/process/common.js"),w.register(R,"mergeObjectByRule","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-sdk/lib/process/common.js"),w.register(O,"getProjectContext","/Users/pomelo/Desktop/github/GraphInsight/packages/gi-sdk/lib/process/common.js")),(L="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&L(e)},4397:e=>{e.exports={trueFunc:function(){return!0},falseFunc:function(){return!1}}},1838:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function i(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var o=typeof n;if("string"===o||"number"===o)e.push(n);else if(Array.isArray(n)&&n.length){var a=i.apply(null,n);a&&e.push(a)}else if("object"===o)for(var s in n)r.call(n,s)&&n[s]&&e.push(s)}}return e.join(" ")}e.exports?(i.default=i,e.exports=i):void 0===(n=function(){return i}.apply(t,[]))||(e.exports=n)}()},4517:(e,t,n)=>{"use strict";function r(e){var t,n,i="";if("string"==typeof e||"number"==typeof e)i+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=r(e[t]))&&(i&&(i+=" "),i+=n);else for(t in e)e[t]&&(i&&(i+=" "),i+=t);return i}function i(){for(var e,t,n=0,i="";n<arguments.length;)(e=arguments[n++])&&(t=r(e))&&(i&&(i+=" "),i+=t);return i}n.r(t),n.d(t,{clsx:()=>i,default:()=>o});const o=i},6713:(e,t,n)=>{!function(e){var t={pairs:"()[]{}''\"\"",triples:"",explode:"[]{}"},n=e.Pos;function r(e,n){return"pairs"==n&&"string"==typeof e?e:"object"==typeof e&&null!=e[n]?e[n]:t[n]}e.defineOption("autoCloseBrackets",!1,(function(t,n,r){r&&r!=e.Init&&(t.removeKeyMap(o),t.state.closeBrackets=null),n&&(t.state.closeBrackets=n,t.addKeyMap(o))}));for(var i=t.pairs+"`",o={Backspace:function(t){var i=l(t);if(!i||t.getOption("disableInput"))return e.Pass;for(var o=r(i,"pairs"),a=t.listSelections(),s=0;s<a.length;s++){if(!a[s].empty())return e.Pass;var c=h(t,a[s].head);if(!c||o.indexOf(c)%2!=0)return e.Pass}for(s=a.length-1;s>=0;s--){var u=a[s].head;t.replaceRange("",n(u.line,u.ch-1),n(u.line,u.ch+1),"+delete")}},Enter:function(t){var n=l(t),i=n&&r(n,"explode");if(!i||t.getOption("disableInput"))return e.Pass;for(var o=t.listSelections(),a=0;a<o.length;a++){if(!o[a].empty())return e.Pass;var s=h(t,o[a].head);if(!s||i.indexOf(s)%2!=0)return e.Pass}t.operation((function(){t.replaceSelection("\n\n",null),t.execCommand("goCharLeft"),o=t.listSelections();for(var e=0;e<o.length;e++){var n=o[e].head.line;t.indentLine(n,null,!0),t.indentLine(n+1,null,!0)}}))}},a=0;a<i.length;a++)o["'"+i.charAt(a)+"'"]=s(i.charAt(a));function s(t){return function(i){return function(t,i){var o=l(t);if(!o||t.getOption("disableInput"))return e.Pass;var a=r(o,"pairs"),s=a.indexOf(i);if(-1==s)return e.Pass;for(var h,f=r(o,"triples"),m=a.charAt(s+1)==i,g=t.listSelections(),y=s%2==0,v=0;v<g.length;v++){var _,b=g[v],E=b.head,T=t.getRange(E,n(E.line,E.ch+1));if(y&&!b.empty())_="surround";else if(!m&&y||T!=i)if(m&&E.ch>1&&f.indexOf(i)>=0&&t.getRange(n(E.line,E.ch-2),E)==i+i&&(E.ch<=2||t.getRange(n(E.line,E.ch-3),n(E.line,E.ch-2))!=i))_="addFour";else if(m){if(e.isWordChar(T)||!p(t,E,i))return e.Pass;_="both"}else{if(!y||t.getLine(E.line).length!=E.ch&&!u(T,a)&&!/\s/.test(T))return e.Pass;_="both"}else _=m&&d(t,E)?"both":f.indexOf(i)>=0&&t.getRange(E,n(E.line,E.ch+3))==i+i+i?"skipThree":"skip";if(h){if(h!=_)return e.Pass}else h=_}var x=s%2?a.charAt(s-1):i,S=s%2?i:a.charAt(s+1);t.operation((function(){if("skip"==h)t.execCommand("goCharRight");else if("skipThree"==h)for(var e=0;e<3;e++)t.execCommand("goCharRight");else if("surround"==h){var n=t.getSelections();for(e=0;e<n.length;e++)n[e]=x+n[e]+S;for(t.replaceSelections(n,"around"),n=t.listSelections().slice(),e=0;e<n.length;e++)n[e]=c(n[e]);t.setSelections(n)}else"both"==h?(t.replaceSelection(x+S,null),t.triggerElectric(x+S),t.execCommand("goCharLeft")):"addFour"==h&&(t.replaceSelection(x+x+x+x,"before"),t.execCommand("goCharRight"))}))}(i,t)}}function l(e){var t=e.state.closeBrackets;return!t||t.override?t:e.getModeAt(e.getCursor()).closeBrackets||t}function c(t){var r=e.cmpPos(t.anchor,t.head)>0;return{anchor:new n(t.anchor.line,t.anchor.ch+(r?-1:1)),head:new n(t.head.line,t.head.ch+(r?1:-1))}}function u(e,t){var n=t.lastIndexOf(e);return n>-1&&n%2==1}function h(e,t){var r=e.getRange(n(t.line,t.ch-1),n(t.line,t.ch+1));return 2==r.length?r:null}function p(t,n,r){var i=t.getLine(n.line),o=t.getTokenAt(n);if(/\bstring2?\b/.test(o.type)||d(t,n))return!1;var a=new e.StringStream(i.slice(0,n.ch)+r+i.slice(n.ch),4);for(a.pos=a.start=o.start;;){var s=t.getMode().token(a,o.state);if(a.pos>=n.ch+1)return/\bstring2?\b/.test(s);a.start=a.pos}}function d(e,t){var r=e.getTokenAt(n(t.line,t.ch+1));return/\bstring/.test(r.type)&&r.start==t.ch}}(n(3266))},5212:(e,t,n)=>{!function(e){"use strict";var t="CodeMirror-hint-active";function n(e,t){this.cm=e,this.options=t,this.widget=null,this.debounce=0,this.tick=0,this.startPos=this.cm.getCursor("start"),this.startLen=this.cm.getLine(this.startPos.line).length-this.cm.getSelection().length;var n=this;e.on("cursorActivity",this.activityFunc=function(){n.cursorActivity()})}e.showHint=function(e,t,n){if(!t)return e.showHint(n);n&&n.async&&(t.async=!0);var r={hint:t};if(n)for(var i in n)r[i]=n[i];return e.showHint(r)},e.defineExtension("showHint",(function(t){t=function(e,t,n){var r=e.options.hintOptions,i={};for(var o in c)i[o]=c[o];if(r)for(var o in r)void 0!==r[o]&&(i[o]=r[o]);if(n)for(var o in n)void 0!==n[o]&&(i[o]=n[o]);return i.hint.resolve&&(i.hint=i.hint.resolve(e,t)),i}(this,this.getCursor("start"),t);var r=this.listSelections();if(!(r.length>1)){if(this.somethingSelected()){if(!t.hint.supportsSelection)return;for(var i=0;i<r.length;i++)if(r[i].head.line!=r[i].anchor.line)return}this.state.completionActive&&this.state.completionActive.close();var o=this.state.completionActive=new n(this,t);o.options.hint&&(e.signal(this,"startCompletion",this),o.update(!0))}}));var r=window.requestAnimationFrame||function(e){return setTimeout(e,1e3/60)},i=window.cancelAnimationFrame||clearTimeout;function o(e){return"string"==typeof e?e:e.text}function a(e,t){for(;t&&t!=e;){if("LI"===t.nodeName.toUpperCase()&&t.parentNode==e)return t;t=t.parentNode}}function s(n,r){this.completion=n,this.data=r,this.picked=!1;var i=this,s=n.cm,l=this.hints=document.createElement("ul");l.className="CodeMirror-hints",this.selectedHint=r.selectedHint||0;for(var c=r.list,u=0;u<c.length;++u){var h=l.appendChild(document.createElement("li")),p=c[u],d="CodeMirror-hint"+(u!=this.selectedHint?"":" "+t);null!=p.className&&(d=p.className+" "+d),h.className=d,p.render?p.render(h,r,p):h.appendChild(document.createTextNode(p.displayText||o(p))),h.hintId=u}var f=s.cursorCoords(n.options.alignWithWord?r.from:null),m=f.left,g=f.bottom,y=!0;l.style.left=m+"px",l.style.top=g+"px";var v=window.innerWidth||Math.max(document.body.offsetWidth,document.documentElement.offsetWidth),_=window.innerHeight||Math.max(document.body.offsetHeight,document.documentElement.offsetHeight);(n.options.container||document.body).appendChild(l);var b=l.getBoundingClientRect(),E=b.bottom-_,T=l.scrollHeight>l.clientHeight+1,x=s.getScrollInfo();if(E>0){var S=b.bottom-b.top;if(f.top-(f.bottom-b.top)-S>0)l.style.top=(g=f.top-S)+"px",y=!1;else if(S>_){l.style.height=_-5+"px",l.style.top=(g=f.bottom-b.top)+"px";var C=s.getCursor();r.from.ch!=C.ch&&(f=s.cursorCoords(C),l.style.left=(m=f.left)+"px",b=l.getBoundingClientRect())}}var A,R=b.right-v;if(R>0&&(b.right-b.left>v&&(l.style.width=v-5+"px",R-=b.right-b.left-v),l.style.left=(m=f.left-R)+"px"),T)for(var w=l.firstChild;w;w=w.nextSibling)w.style.paddingRight=s.display.nativeBarWidth+"px";return s.addKeyMap(this.keyMap=function(e,t){var n={Up:function(){t.moveFocus(-1)},Down:function(){t.moveFocus(1)},PageUp:function(){t.moveFocus(1-t.menuSize(),!0)},PageDown:function(){t.moveFocus(t.menuSize()-1,!0)},Home:function(){t.setFocus(0)},End:function(){t.setFocus(t.length-1)},Enter:t.pick,Tab:t.pick,Esc:t.close},r=e.options.customKeys,i=r?{}:n;function o(e,r){var o;o="string"!=typeof r?function(e){return r(e,t)}:n.hasOwnProperty(r)?n[r]:r,i[e]=o}if(r)for(var a in r)r.hasOwnProperty(a)&&o(a,r[a]);var s=e.options.extraKeys;if(s)for(var a in s)s.hasOwnProperty(a)&&o(a,s[a]);return i}(n,{moveFocus:function(e,t){i.changeActive(i.selectedHint+e,t)},setFocus:function(e){i.changeActive(e)},menuSize:function(){return i.screenAmount()},length:c.length,close:function(){n.close()},pick:function(){i.pick()},data:r})),n.options.closeOnUnfocus&&(s.on("blur",this.onBlur=function(){A=setTimeout((function(){n.close()}),100)}),s.on("focus",this.onFocus=function(){clearTimeout(A)})),s.on("scroll",this.onScroll=function(){var e=s.getScrollInfo(),t=s.getWrapperElement().getBoundingClientRect(),r=g+x.top-e.top,i=r-(window.pageYOffset||(document.documentElement||document.body).scrollTop);if(y||(i+=l.offsetHeight),i<=t.top||i>=t.bottom)return n.close();l.style.top=r+"px",l.style.left=m+x.left-e.left+"px"}),e.on(l,"dblclick",(function(e){var t=a(l,e.target||e.srcElement);t&&null!=t.hintId&&(i.changeActive(t.hintId),i.pick())})),e.on(l,"click",(function(e){var t=a(l,e.target||e.srcElement);t&&null!=t.hintId&&(i.changeActive(t.hintId),n.options.completeOnSingleClick&&i.pick())})),e.on(l,"mousedown",(function(){setTimeout((function(){s.focus()}),20)})),e.signal(r,"select",c[0],l.firstChild),!0}function l(e,t,n,r){if(e.async)e(t,r,n);else{var i=e(t,n);i&&i.then?i.then(r):r(i)}}n.prototype={close:function(){this.active()&&(this.cm.state.completionActive=null,this.tick=null,this.cm.off("cursorActivity",this.activityFunc),this.widget&&this.data&&e.signal(this.data,"close"),this.widget&&this.widget.close(),e.signal(this.cm,"endCompletion",this.cm))},active:function(){return this.cm.state.completionActive==this},pick:function(t,n){var r=t.list[n];r.hint?r.hint(this.cm,t,r):this.cm.replaceRange(o(r),r.from||t.from,r.to||t.to,"complete"),e.signal(t,"pick",r),this.close()},cursorActivity:function(){this.debounce&&(i(this.debounce),this.debounce=0);var e=this.cm.getCursor(),t=this.cm.getLine(e.line);if(e.line!=this.startPos.line||t.length-e.ch!=this.startLen-this.startPos.ch||e.ch<this.startPos.ch||this.cm.somethingSelected()||e.ch&&this.options.closeCharacters.test(t.charAt(e.ch-1)))this.close();else{var n=this;this.debounce=r((function(){n.update()})),this.widget&&this.widget.disable()}},update:function(e){if(null!=this.tick){var t=this,n=++this.tick;l(this.options.hint,this.cm,this.options,(function(r){t.tick==n&&t.finishUpdate(r,e)}))}},finishUpdate:function(t,n){this.data&&e.signal(this.data,"update");var r,i,o=this.widget&&this.widget.picked||n&&this.options.completeSingle;this.widget&&this.widget.close(),t&&this.data&&(r=this.data,i=t,e.cmpPos(i.from,r.from)>0&&r.to.ch-r.from.ch!=i.to.ch-i.from.ch)||(this.data=t,t&&t.list.length&&(o&&1==t.list.length?this.pick(t,0):(this.widget=new s(this,t),e.signal(t,"shown"))))}},s.prototype={close:function(){if(this.completion.widget==this){this.completion.widget=null,this.hints.parentNode.removeChild(this.hints),this.completion.cm.removeKeyMap(this.keyMap);var e=this.completion.cm;this.completion.options.closeOnUnfocus&&(e.off("blur",this.onBlur),e.off("focus",this.onFocus)),e.off("scroll",this.onScroll)}},disable:function(){this.completion.cm.removeKeyMap(this.keyMap);var e=this;this.keyMap={Enter:function(){e.picked=!0}},this.completion.cm.addKeyMap(this.keyMap)},pick:function(){this.completion.pick(this.data,this.selectedHint)},changeActive:function(n,r){if(n>=this.data.list.length?n=r?this.data.list.length-1:0:n<0&&(n=r?0:this.data.list.length-1),this.selectedHint!=n){var i=this.hints.childNodes[this.selectedHint];i.className=i.className.replace(" "+t,""),(i=this.hints.childNodes[this.selectedHint=n]).className+=" "+t,i.offsetTop<this.hints.scrollTop?this.hints.scrollTop=i.offsetTop-3:i.offsetTop+i.offsetHeight>this.hints.scrollTop+this.hints.clientHeight&&(this.hints.scrollTop=i.offsetTop+i.offsetHeight-this.hints.clientHeight+3),e.signal(this.data,"select",this.data.list[this.selectedHint],i)}},screenAmount:function(){return Math.floor(this.hints.clientHeight/this.hints.firstChild.offsetHeight)||1}},e.registerHelper("hint","auto",{resolve:function(t,n){var r,i=t.getHelpers(n,"hint");if(i.length){var o=function(e,t,n){var r=function(e,t){if(!e.somethingSelected())return t;for(var n=[],r=0;r<t.length;r++)t[r].supportsSelection&&n.push(t[r]);return n}(e,i);!function i(o){if(o==r.length)return t(null);l(r[o],e,n,(function(e){e&&e.list.length>0?t(e):i(o+1)}))}(0)};return o.async=!0,o.supportsSelection=!0,o}return(r=t.getHelper(t.getCursor(),"hintWords"))?function(t){return e.hint.fromList(t,{words:r})}:e.hint.anyword?function(t,n){return e.hint.anyword(t,n)}:function(){}}}),e.registerHelper("hint","fromList",(function(t,n){var r=t.getCursor(),i=t.getTokenAt(r),o=e.Pos(r.line,i.end);if(i.string&&/\w/.test(i.string[i.string.length-1]))var a=i.string,s=e.Pos(r.line,i.start);else a="",s=o;for(var l=[],c=0;c<n.words.length;c++){var u=n.words[c];u.slice(0,a.length)==a&&l.push(u)}if(l.length)return{list:l,from:s,to:o}})),e.commands.autocomplete=e.showHint;var c={hint:e.hint.auto,completeSingle:!0,alignWithWord:!0,closeCharacters:/[\s()\[\]{};:>,]/,closeOnUnfocus:!0,completeOnSingleClick:!0,container:null,customKeys:null,extraKeys:null};e.defineOption("hintOptions",null)}(n(3266))},2580:(e,t,n)=>{!function(e){"use strict";var t="CodeMirror-lint-markers";function n(e){e.parentNode&&e.parentNode.removeChild(e)}function r(t,r,i){var o=function(t,n){var r=document.createElement("div");function i(t){if(!r.parentNode)return e.off(document,"mousemove",i);r.style.top=Math.max(0,t.clientY-r.offsetHeight-5)+"px",r.style.left=t.clientX+5+"px"}return r.className="CodeMirror-lint-tooltip",r.appendChild(n.cloneNode(!0)),document.body.appendChild(r),e.on(document,"mousemove",i),i(t),null!=r.style.opacity&&(r.style.opacity=1),r}(t,r);function a(){var t;e.off(i,"mouseout",a),o&&((t=o).parentNode&&(null==t.style.opacity&&n(t),t.style.opacity=0,setTimeout((function(){n(t)}),600)),o=null)}var s=setInterval((function(){if(o)for(var e=i;;e=e.parentNode){if(e&&11==e.nodeType&&(e=e.host),e==document.body)return;if(!e){a();break}}if(!o)return clearInterval(s)}),400);e.on(i,"mouseout",a)}function i(e,t,n){this.marked=[],this.options=t,this.timeout=null,this.hasGutter=n,this.onMouseOver=function(t){!function(e,t){var n=t.target||t.srcElement;if(/\bCodeMirror-lint-mark-/.test(n.className)){for(var i=n.getBoundingClientRect(),o=(i.left+i.right)/2,a=(i.top+i.bottom)/2,l=e.findMarksAt(e.coordsChar({left:o,top:a},"client")),c=[],u=0;u<l.length;++u){var h=l[u].__annotation;h&&c.push(h)}c.length&&function(e,t){for(var n=t.target||t.srcElement,i=document.createDocumentFragment(),o=0;o<e.length;o++){var a=e[o];i.appendChild(s(a))}r(t,i,n)}(c,t)}}(e,t)},this.waitingFor=0}function o(e){var n=e.state.lint;n.hasGutter&&e.clearGutter(t);for(var r=0;r<n.marked.length;++r)n.marked[r].clear();n.marked.length=0}function a(t,n,i,o){var a=document.createElement("div"),s=a;return a.className="CodeMirror-lint-marker-"+n,i&&((s=a.appendChild(document.createElement("div"))).className="CodeMirror-lint-marker-multiple"),0!=o&&e.on(s,"mouseover",(function(e){r(e,t,s)})),a}function s(e){var t=e.severity;t||(t="error");var n=document.createElement("div");return n.className="CodeMirror-lint-message-"+t,n.appendChild(document.createTextNode(e.message)),n}function l(t){var n=t.state.lint.options,r=n.options||n,i=n.getAnnotations||t.getHelper(e.Pos(0,0),"lint");if(i)if(n.async||i.async)!function(t,n,r){var i=t.state.lint,o=++i.waitingFor;function a(){o=-1,t.off("change",a)}t.on("change",a),n(t.getValue(),(function(n,r){t.off("change",a),i.waitingFor==o&&(r&&n instanceof e&&(n=r),c(t,n))}),r,t)}(t,i,r);else{var o=i(t.getValue(),r,t);o.then?o.then((function(e){c(t,e)})):c(t,o)}}function c(e,n){o(e);for(var r=e.state.lint,i=r.options,l=function(e){for(var t=[],n=0;n<e.length;++n){var r=e[n],i=r.from.line;(t[i]||(t[i]=[])).push(r)}return t}(n),c=0;c<l.length;++c){var u=l[c];if(u){for(var h=null,p=r.hasGutter&&document.createDocumentFragment(),d=0;d<u.length;++d){var f=u[d],m=f.severity;m||(m="error"),y=m,h="error"==(g=h)?g:y,i.formatAnnotation&&(f=i.formatAnnotation(f)),r.hasGutter&&p.appendChild(s(f)),f.to&&r.marked.push(e.markText(f.from,f.to,{className:"CodeMirror-lint-mark-"+m,__annotation:f}))}r.hasGutter&&e.setGutterMarker(c,t,a(p,h,u.length>1,r.options.tooltips))}}var g,y;i.onUpdateLinting&&i.onUpdateLinting(n,l,e)}function u(e){var t=e.state.lint;t&&(clearTimeout(t.timeout),t.timeout=setTimeout((function(){l(e)}),t.options.delay||500))}e.defineOption("lint",!1,(function(n,r,a){if(a&&a!=e.Init&&(o(n),!1!==n.state.lint.options.lintOnChange&&n.off("change",u),e.off(n.getWrapperElement(),"mouseover",n.state.lint.onMouseOver),clearTimeout(n.state.lint.timeout),delete n.state.lint),r){for(var s=n.getOption("gutters"),c=!1,h=0;h<s.length;++h)s[h]==t&&(c=!0);var p=n.state.lint=new i(n,(d=r)instanceof Function?{getAnnotations:d}:(d&&!0!==d||(d={}),d),c);!1!==p.options.lintOnChange&&n.on("change",u),0!=p.options.tooltips&&"gutter"!=p.options.tooltips&&e.on(n.getWrapperElement(),"mouseover",p.onMouseOver),l(n)}var d})),e.defineExtension("performLint",(function(){this.state.lint&&l(this)}))}(n(3266))},3266:function(e){e.exports=function(){"use strict";var e=navigator.userAgent,t=navigator.platform,n=/gecko\/\d/i.test(e),r=/MSIE \d/.test(e),i=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(e),o=/Edge\/(\d+)/.exec(e),a=r||i||o,s=a&&(r?document.documentMode||6:+(o||i)[1]),l=!o&&/WebKit\//.test(e),c=l&&/Qt\/\d+\.\d+/.test(e),u=!o&&/Chrome\//.test(e),h=/Opera\//.test(e),p=/Apple Computer/.test(navigator.vendor),d=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(e),f=/PhantomJS/.test(e),m=!o&&/AppleWebKit/.test(e)&&/Mobile\/\w+/.test(e),g=/Android/.test(e),y=m||g||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(e),v=m||/Mac/.test(t),_=/\bCrOS\b/.test(e),b=/win/i.test(t),E=h&&e.match(/Version\/(\d*\.\d*)/);E&&(E=Number(E[1])),E&&E>=15&&(h=!1,l=!0);var T=v&&(c||h&&(null==E||E<12.11)),x=n||a&&s>=9;function S(e){return new RegExp("(^|\\s)"+e+"(?:$|\\s)\\s*")}var C,A=function(e,t){var n=e.className,r=S(t).exec(n);if(r){var i=n.slice(r.index+r[0].length);e.className=n.slice(0,r.index)+(i?r[1]+i:"")}};function R(e){for(var t=e.childNodes.length;t>0;--t)e.removeChild(e.firstChild);return e}function w(e,t){return R(e).appendChild(t)}function L(e,t,n,r){var i=document.createElement(e);if(n&&(i.className=n),r&&(i.style.cssText=r),"string"==typeof t)i.appendChild(document.createTextNode(t));else if(t)for(var o=0;o<t.length;++o)i.appendChild(t[o]);return i}function O(e,t,n,r){var i=L(e,t,n,r);return i.setAttribute("role","presentation"),i}function N(e,t){if(3==t.nodeType&&(t=t.parentNode),e.contains)return e.contains(t);do{if(11==t.nodeType&&(t=t.host),t==e)return!0}while(t=t.parentNode)}function I(){var e;try{e=document.activeElement}catch(t){e=document.body||null}for(;e&&e.shadowRoot&&e.shadowRoot.activeElement;)e=e.shadowRoot.activeElement;return e}function k(e,t){var n=e.className;S(t).test(n)||(e.className+=(n?" ":"")+t)}function D(e,t){for(var n=e.split(" "),r=0;r<n.length;r++)n[r]&&!S(n[r]).test(t)&&(t+=" "+n[r]);return t}C=document.createRange?function(e,t,n,r){var i=document.createRange();return i.setEnd(r||e,n),i.setStart(e,t),i}:function(e,t,n){var r=document.body.createTextRange();try{r.moveToElementText(e.parentNode)}catch(e){return r}return r.collapse(!0),r.moveEnd("character",n),r.moveStart("character",t),r};var P=function(e){e.select()};function M(e){var t=Array.prototype.slice.call(arguments,1);return function(){return e.apply(null,t)}}function F(e,t,n){for(var r in t||(t={}),e)!e.hasOwnProperty(r)||!1===n&&t.hasOwnProperty(r)||(t[r]=e[r]);return t}function H(e,t,n,r,i){null==t&&-1==(t=e.search(/[^\s\u00a0]/))&&(t=e.length);for(var o=r||0,a=i||0;;){var s=e.indexOf("\t",o);if(s<0||s>=t)return a+(t-o);a+=s-o,a+=n-a%n,o=s+1}}m?P=function(e){e.selectionStart=0,e.selectionEnd=e.value.length}:a&&(P=function(e){try{e.select()}catch(e){}});var B=function(){this.id=null};function U(e,t){for(var n=0;n<e.length;++n)if(e[n]==t)return n;return-1}B.prototype.set=function(e,t){clearTimeout(this.id),this.id=setTimeout(t,e)};var j=30,G={toString:function(){return"CodeMirror.Pass"}},Y={scroll:!1},z={origin:"*mouse"},$={origin:"+move"};function W(e,t,n){for(var r=0,i=0;;){var o=e.indexOf("\t",r);-1==o&&(o=e.length);var a=o-r;if(o==e.length||i+a>=t)return r+Math.min(a,t-i);if(i+=o-r,r=o+1,(i+=n-i%n)>=t)return r}}var V=[""];function K(e){for(;V.length<=e;)V.push(q(V)+" ");return V[e]}function q(e){return e[e.length-1]}function X(e,t){for(var n=[],r=0;r<e.length;r++)n[r]=t(e[r],r);return n}function Z(){}function Q(e,t){var n;return Object.create?n=Object.create(e):(Z.prototype=e,n=new Z),t&&F(t,n),n}var J=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;function ee(e){return/\w/.test(e)||e>""&&(e.toUpperCase()!=e.toLowerCase()||J.test(e))}function te(e,t){return t?!!(t.source.indexOf("\\w")>-1&&ee(e))||t.test(e):ee(e)}function ne(e){for(var t in e)if(e.hasOwnProperty(t)&&e[t])return!1;return!0}var re=/[\u0300-\u036f\u0483-\u0489\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u065e\u0670\u06d6-\u06dc\u06de-\u06e4\u06e7\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0900-\u0902\u093c\u0941-\u0948\u094d\u0951-\u0955\u0962\u0963\u0981\u09bc\u09be\u09c1-\u09c4\u09cd\u09d7\u09e2\u09e3\u0a01\u0a02\u0a3c\u0a41\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a70\u0a71\u0a75\u0a81\u0a82\u0abc\u0ac1-\u0ac5\u0ac7\u0ac8\u0acd\u0ae2\u0ae3\u0b01\u0b3c\u0b3e\u0b3f\u0b41-\u0b44\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b82\u0bbe\u0bc0\u0bcd\u0bd7\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0cbc\u0cbf\u0cc2\u0cc6\u0ccc\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0d3e\u0d41-\u0d44\u0d4d\u0d57\u0d62\u0d63\u0dca\u0dcf\u0dd2-\u0dd4\u0dd6\u0ddf\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0f18\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86\u0f87\u0f90-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032-\u1037\u1039\u103a\u103d\u103e\u1058\u1059\u105e-\u1060\u1071-\u1074\u1082\u1085\u1086\u108d\u109d\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193b\u1a17\u1a18\u1a56\u1a58-\u1a5e\u1a60\u1a62\u1a65-\u1a6c\u1a73-\u1a7c\u1a7f\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1b80\u1b81\u1ba2-\u1ba5\u1ba8\u1ba9\u1c2c-\u1c33\u1c36\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1dc0-\u1de6\u1dfd-\u1dff\u200c\u200d\u20d0-\u20f0\u2cef-\u2cf1\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua66f-\ua672\ua67c\ua67d\ua6f0\ua6f1\ua802\ua806\ua80b\ua825\ua826\ua8c4\ua8e0-\ua8f1\ua926-\ua92d\ua947-\ua951\ua980-\ua982\ua9b3\ua9b6-\ua9b9\ua9bc\uaa29-\uaa2e\uaa31\uaa32\uaa35\uaa36\uaa43\uaa4c\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uabe5\uabe8\uabed\udc00-\udfff\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\uff9e\uff9f]/;function ie(e){return e.charCodeAt(0)>=768&&re.test(e)}function oe(e,t,n){for(;(n<0?t>0:t<e.length)&&ie(e.charAt(t));)t+=n;return t}function ae(e,t,n){for(;;){if(Math.abs(t-n)<=1)return e(t)?t:n;var r=Math.floor((t+n)/2);e(r)?n=r:t=r}}function se(e,t,r){var i=this;this.input=r,i.scrollbarFiller=L("div",null,"CodeMirror-scrollbar-filler"),i.scrollbarFiller.setAttribute("cm-not-content","true"),i.gutterFiller=L("div",null,"CodeMirror-gutter-filler"),i.gutterFiller.setAttribute("cm-not-content","true"),i.lineDiv=O("div",null,"CodeMirror-code"),i.selectionDiv=L("div",null,null,"position: relative; z-index: 1"),i.cursorDiv=L("div",null,"CodeMirror-cursors"),i.measure=L("div",null,"CodeMirror-measure"),i.lineMeasure=L("div",null,"CodeMirror-measure"),i.lineSpace=O("div",[i.measure,i.lineMeasure,i.selectionDiv,i.cursorDiv,i.lineDiv],null,"position: relative; outline: none");var o=O("div",[i.lineSpace],"CodeMirror-lines");i.mover=L("div",[o],null,"position: relative"),i.sizer=L("div",[i.mover],"CodeMirror-sizer"),i.sizerWidth=null,i.heightForcer=L("div",null,null,"position: absolute; height: "+j+"px; width: 1px;"),i.gutters=L("div",null,"CodeMirror-gutters"),i.lineGutter=null,i.scroller=L("div",[i.sizer,i.heightForcer,i.gutters],"CodeMirror-scroll"),i.scroller.setAttribute("tabIndex","-1"),i.wrapper=L("div",[i.scrollbarFiller,i.gutterFiller,i.scroller],"CodeMirror"),a&&s<8&&(i.gutters.style.zIndex=-1,i.scroller.style.paddingRight=0),l||n&&y||(i.scroller.draggable=!0),e&&(e.appendChild?e.appendChild(i.wrapper):e(i.wrapper)),i.viewFrom=i.viewTo=t.first,i.reportedViewFrom=i.reportedViewTo=t.first,i.view=[],i.renderedView=null,i.externalMeasured=null,i.viewOffset=0,i.lastWrapHeight=i.lastWrapWidth=0,i.updateLineNumbers=null,i.nativeBarWidth=i.barHeight=i.barWidth=0,i.scrollbarsClipped=!1,i.lineNumWidth=i.lineNumInnerWidth=i.lineNumChars=null,i.alignWidgets=!1,i.cachedCharWidth=i.cachedTextHeight=i.cachedPaddingH=null,i.maxLine=null,i.maxLineLength=0,i.maxLineChanged=!1,i.wheelDX=i.wheelDY=i.wheelStartX=i.wheelStartY=null,i.shift=!1,i.selForContextMenu=null,i.activeTouch=null,r.init(i)}function le(e,t){if((t-=e.first)<0||t>=e.size)throw new Error("There is no line "+(t+e.first)+" in the document.");for(var n=e;!n.lines;)for(var r=0;;++r){var i=n.children[r],o=i.chunkSize();if(t<o){n=i;break}t-=o}return n.lines[t]}function ce(e,t,n){var r=[],i=t.line;return e.iter(t.line,n.line+1,(function(e){var o=e.text;i==n.line&&(o=o.slice(0,n.ch)),i==t.line&&(o=o.slice(t.ch)),r.push(o),++i})),r}function ue(e,t,n){var r=[];return e.iter(t,n,(function(e){r.push(e.text)})),r}function he(e,t){var n=t-e.height;if(n)for(var r=e;r;r=r.parent)r.height+=n}function pe(e){if(null==e.parent)return null;for(var t=e.parent,n=U(t.lines,e),r=t.parent;r;t=r,r=r.parent)for(var i=0;r.children[i]!=t;++i)n+=r.children[i].chunkSize();return n+t.first}function de(e,t){var n=e.first;e:do{for(var r=0;r<e.children.length;++r){var i=e.children[r],o=i.height;if(t<o){e=i;continue e}t-=o,n+=i.chunkSize()}return n}while(!e.lines);for(var a=0;a<e.lines.length;++a){var s=e.lines[a].height;if(t<s)break;t-=s}return n+a}function fe(e,t){return t>=e.first&&t<e.first+e.size}function me(e,t){return String(e.lineNumberFormatter(t+e.firstLineNumber))}function ge(e,t,n){if(void 0===n&&(n=null),!(this instanceof ge))return new ge(e,t,n);this.line=e,this.ch=t,this.sticky=n}function ye(e,t){return e.line-t.line||e.ch-t.ch}function ve(e,t){return e.sticky==t.sticky&&0==ye(e,t)}function _e(e){return ge(e.line,e.ch)}function be(e,t){return ye(e,t)<0?t:e}function Ee(e,t){return ye(e,t)<0?e:t}function Te(e,t){return Math.max(e.first,Math.min(t,e.first+e.size-1))}function xe(e,t){if(t.line<e.first)return ge(e.first,0);var n=e.first+e.size-1;return t.line>n?ge(n,le(e,n).text.length):function(e,t){var n=e.ch;return null==n||n>t?ge(e.line,t):n<0?ge(e.line,0):e}(t,le(e,t.line).text.length)}function Se(e,t){for(var n=[],r=0;r<t.length;r++)n[r]=xe(e,t[r]);return n}var Ce=!1,Ae=!1;function Re(e,t,n){this.marker=e,this.from=t,this.to=n}function we(e,t){if(e)for(var n=0;n<e.length;++n){var r=e[n];if(r.marker==t)return r}}function Le(e,t){for(var n,r=0;r<e.length;++r)e[r]!=t&&(n||(n=[])).push(e[r]);return n}function Oe(e,t){if(t.full)return null;var n=fe(e,t.from.line)&&le(e,t.from.line).markedSpans,r=fe(e,t.to.line)&&le(e,t.to.line).markedSpans;if(!n&&!r)return null;var i=t.from.ch,o=t.to.ch,a=0==ye(t.from,t.to),s=function(e,t,n){var r;if(e)for(var i=0;i<e.length;++i){var o=e[i],a=o.marker;if(null==o.from||(a.inclusiveLeft?o.from<=t:o.from<t)||o.from==t&&"bookmark"==a.type&&(!n||!o.marker.insertLeft)){var s=null==o.to||(a.inclusiveRight?o.to>=t:o.to>t);(r||(r=[])).push(new Re(a,o.from,s?null:o.to))}}return r}(n,i,a),l=function(e,t,n){var r;if(e)for(var i=0;i<e.length;++i){var o=e[i],a=o.marker;if(null==o.to||(a.inclusiveRight?o.to>=t:o.to>t)||o.from==t&&"bookmark"==a.type&&(!n||o.marker.insertLeft)){var s=null==o.from||(a.inclusiveLeft?o.from<=t:o.from<t);(r||(r=[])).push(new Re(a,s?null:o.from-t,null==o.to?null:o.to-t))}}return r}(r,o,a),c=1==t.text.length,u=q(t.text).length+(c?i:0);if(s)for(var h=0;h<s.length;++h){var p=s[h];if(null==p.to){var d=we(l,p.marker);d?c&&(p.to=null==d.to?null:d.to+u):p.to=i}}if(l)for(var f=0;f<l.length;++f){var m=l[f];null!=m.to&&(m.to+=u),null==m.from?we(s,m.marker)||(m.from=u,c&&(s||(s=[])).push(m)):(m.from+=u,c&&(s||(s=[])).push(m))}s&&(s=Ne(s)),l&&l!=s&&(l=Ne(l));var g=[s];if(!c){var y,v=t.text.length-2;if(v>0&&s)for(var _=0;_<s.length;++_)null==s[_].to&&(y||(y=[])).push(new Re(s[_].marker,null,null));for(var b=0;b<v;++b)g.push(y);g.push(l)}return g}function Ne(e){for(var t=0;t<e.length;++t){var n=e[t];null!=n.from&&n.from==n.to&&!1!==n.marker.clearWhenEmpty&&e.splice(t--,1)}return e.length?e:null}function Ie(e){var t=e.markedSpans;if(t){for(var n=0;n<t.length;++n)t[n].marker.detachLine(e);e.markedSpans=null}}function ke(e,t){if(t){for(var n=0;n<t.length;++n)t[n].marker.attachLine(e);e.markedSpans=t}}function De(e){return e.inclusiveLeft?-1:0}function Pe(e){return e.inclusiveRight?1:0}function Me(e,t){var n=e.lines.length-t.lines.length;if(0!=n)return n;var r=e.find(),i=t.find(),o=ye(r.from,i.from)||De(e)-De(t);return o?-o:ye(r.to,i.to)||Pe(e)-Pe(t)||t.id-e.id}function Fe(e,t){var n,r=Ae&&e.markedSpans;if(r)for(var i=void 0,o=0;o<r.length;++o)(i=r[o]).marker.collapsed&&null==(t?i.from:i.to)&&(!n||Me(n,i.marker)<0)&&(n=i.marker);return n}function He(e){return Fe(e,!0)}function Be(e){return Fe(e,!1)}function Ue(e,t,n,r,i){var o=le(e,t),a=Ae&&o.markedSpans;if(a)for(var s=0;s<a.length;++s){var l=a[s];if(l.marker.collapsed){var c=l.marker.find(0),u=ye(c.from,n)||De(l.marker)-De(i),h=ye(c.to,r)||Pe(l.marker)-Pe(i);if(!(u>=0&&h<=0||u<=0&&h>=0)&&(u<=0&&(l.marker.inclusiveRight&&i.inclusiveLeft?ye(c.to,n)>=0:ye(c.to,n)>0)||u>=0&&(l.marker.inclusiveRight&&i.inclusiveLeft?ye(c.from,r)<=0:ye(c.from,r)<0)))return!0}}}function je(e){for(var t;t=He(e);)e=t.find(-1,!0).line;return e}function Ge(e,t){var n=le(e,t),r=je(n);return n==r?t:pe(r)}function Ye(e,t){if(t>e.lastLine())return t;var n,r=le(e,t);if(!ze(e,r))return t;for(;n=Be(r);)r=n.find(1,!0).line;return pe(r)+1}function ze(e,t){var n=Ae&&t.markedSpans;if(n)for(var r=void 0,i=0;i<n.length;++i)if((r=n[i]).marker.collapsed){if(null==r.from)return!0;if(!r.marker.widgetNode&&0==r.from&&r.marker.inclusiveLeft&&$e(e,t,r))return!0}}function $e(e,t,n){if(null==n.to){var r=n.marker.find(1,!0);return $e(e,r.line,we(r.line.markedSpans,n.marker))}if(n.marker.inclusiveRight&&n.to==t.text.length)return!0;for(var i=void 0,o=0;o<t.markedSpans.length;++o)if((i=t.markedSpans[o]).marker.collapsed&&!i.marker.widgetNode&&i.from==n.to&&(null==i.to||i.to!=n.from)&&(i.marker.inclusiveLeft||n.marker.inclusiveRight)&&$e(e,t,i))return!0}function We(e){for(var t=0,n=(e=je(e)).parent,r=0;r<n.lines.length;++r){var i=n.lines[r];if(i==e)break;t+=i.height}for(var o=n.parent;o;o=(n=o).parent)for(var a=0;a<o.children.length;++a){var s=o.children[a];if(s==n)break;t+=s.height}return t}function Ve(e){if(0==e.height)return 0;for(var t,n=e.text.length,r=e;t=He(r);){var i=t.find(0,!0);r=i.from.line,n+=i.from.ch-i.to.ch}for(r=e;t=Be(r);){var o=t.find(0,!0);n-=r.text.length-o.from.ch,n+=(r=o.to.line).text.length-o.to.ch}return n}function Ke(e){var t=e.display,n=e.doc;t.maxLine=le(n,n.first),t.maxLineLength=Ve(t.maxLine),t.maxLineChanged=!0,n.iter((function(e){var n=Ve(e);n>t.maxLineLength&&(t.maxLineLength=n,t.maxLine=e)}))}var qe=null;function Xe(e,t,n){var r;qe=null;for(var i=0;i<e.length;++i){var o=e[i];if(o.from<t&&o.to>t)return i;o.to==t&&(o.from!=o.to&&"before"==n?r=i:qe=i),o.from==t&&(o.from!=o.to&&"before"!=n?r=i:qe=i)}return null!=r?r:qe}var Ze=function(){var e=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,t=/[stwN]/,n=/[LRr]/,r=/[Lb1n]/,i=/[1n]/;function o(e,t,n){this.level=e,this.from=t,this.to=n}return function(a,s){var l,c="ltr"==s?"L":"R";if(0==a.length||"ltr"==s&&!e.test(a))return!1;for(var u=a.length,h=[],p=0;p<u;++p)h.push((l=a.charCodeAt(p))<=247?"bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN".charAt(l):1424<=l&&l<=1524?"R":1536<=l&&l<=1785?"nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111".charAt(l-1536):1774<=l&&l<=2220?"r":8192<=l&&l<=8203?"w":8204==l?"b":"L");for(var d=0,f=c;d<u;++d){var m=h[d];"m"==m?h[d]=f:f=m}for(var g=0,y=c;g<u;++g){var v=h[g];"1"==v&&"r"==y?h[g]="n":n.test(v)&&(y=v,"r"==v&&(h[g]="R"))}for(var _=1,b=h[0];_<u-1;++_){var E=h[_];"+"==E&&"1"==b&&"1"==h[_+1]?h[_]="1":","!=E||b!=h[_+1]||"1"!=b&&"n"!=b||(h[_]=b),b=E}for(var T=0;T<u;++T){var x=h[T];if(","==x)h[T]="N";else if("%"==x){var S=void 0;for(S=T+1;S<u&&"%"==h[S];++S);for(var C=T&&"!"==h[T-1]||S<u&&"1"==h[S]?"1":"N",A=T;A<S;++A)h[A]=C;T=S-1}}for(var R=0,w=c;R<u;++R){var L=h[R];"L"==w&&"1"==L?h[R]="L":n.test(L)&&(w=L)}for(var O=0;O<u;++O)if(t.test(h[O])){var N=void 0;for(N=O+1;N<u&&t.test(h[N]);++N);for(var I="L"==(O?h[O-1]:c),k=I==("L"==(N<u?h[N]:c))?I?"L":"R":c,D=O;D<N;++D)h[D]=k;O=N-1}for(var P,M=[],F=0;F<u;)if(r.test(h[F])){var H=F;for(++F;F<u&&r.test(h[F]);++F);M.push(new o(0,H,F))}else{var B=F,U=M.length;for(++F;F<u&&"L"!=h[F];++F);for(var j=B;j<F;)if(i.test(h[j])){B<j&&M.splice(U,0,new o(1,B,j));var G=j;for(++j;j<F&&i.test(h[j]);++j);M.splice(U,0,new o(2,G,j)),B=j}else++j;B<F&&M.splice(U,0,new o(1,B,F))}return 1==M[0].level&&(P=a.match(/^\s+/))&&(M[0].from=P[0].length,M.unshift(new o(0,0,P[0].length))),1==q(M).level&&(P=a.match(/\s+$/))&&(q(M).to-=P[0].length,M.push(new o(0,u-P[0].length,u))),"rtl"==s?M.reverse():M}}();function Qe(e,t){var n=e.order;return null==n&&(n=e.order=Ze(e.text,t)),n}function Je(e,t,n){var r=oe(e.text,t+n,n);return r<0||r>e.text.length?null:r}function et(e,t,n){var r=Je(e,t.ch,n);return null==r?null:new ge(t.line,r,n<0?"after":"before")}function tt(e,t,n,r,i){if(e){var o=Qe(n,t.doc.direction);if(o){var a,s=i<0?q(o):o[0],l=i<0==(1==s.level)?"after":"before";if(s.level>0){var c=Dn(t,n);a=i<0?n.text.length-1:0;var u=Pn(t,c,a).top;a=ae((function(e){return Pn(t,c,e).top==u}),i<0==(1==s.level)?s.from:s.to-1,a),"before"==l&&(a=Je(n,a,1))}else a=i<0?s.to:s.from;return new ge(r,a,l)}}return new ge(r,i<0?n.text.length:0,i<0?"before":"after")}function nt(e,t,n,r){var i=Qe(t,e.doc.direction);if(!i)return et(t,n,r);n.ch>=t.text.length?(n.ch=t.text.length,n.sticky="before"):n.ch<=0&&(n.ch=0,n.sticky="after");var o=Xe(i,n.ch,n.sticky),a=i[o];if("ltr"==e.doc.direction&&a.level%2==0&&(r>0?a.to>n.ch:a.from<n.ch))return et(t,n,r);var s,l=function(e,n){return Je(t,e instanceof ge?e.ch:e,n)},c=function(n){return e.options.lineWrapping?(s=s||Dn(e,t),Jn(e,t,s,n)):{begin:0,end:t.text.length}},u=c("before"==n.sticky?l(n,-1):n.ch);if("rtl"==e.doc.direction||1==a.level){var h=1==a.level==r<0,p=l(n,h?1:-1);if(null!=p&&(h?p<=a.to&&p<=u.end:p>=a.from&&p>=u.begin)){var d=h?"before":"after";return new ge(n.line,p,d)}}var f=function(e,t,r){for(var o=function(e,t){return t?new ge(n.line,l(e,1),"before"):new ge(n.line,e,"after")};e>=0&&e<i.length;e+=t){var a=i[e],s=t>0==(1!=a.level),c=s?r.begin:l(r.end,-1);if(a.from<=c&&c<a.to)return o(c,s);if(c=s?a.from:l(a.to,-1),r.begin<=c&&c<r.end)return o(c,s)}},m=f(o+r,r,u);if(m)return m;var g=r>0?u.end:l(u.begin,-1);return null==g||r>0&&g==t.text.length||!(m=f(r>0?0:i.length-1,r,c(g)))?null:m}var rt=[],it=function(e,t,n){if(e.addEventListener)e.addEventListener(t,n,!1);else if(e.attachEvent)e.attachEvent("on"+t,n);else{var r=e._handlers||(e._handlers={});r[t]=(r[t]||rt).concat(n)}};function ot(e,t){return e._handlers&&e._handlers[t]||rt}function at(e,t,n){if(e.removeEventListener)e.removeEventListener(t,n,!1);else if(e.detachEvent)e.detachEvent("on"+t,n);else{var r=e._handlers,i=r&&r[t];if(i){var o=U(i,n);o>-1&&(r[t]=i.slice(0,o).concat(i.slice(o+1)))}}}function st(e,t){var n=ot(e,t);if(n.length)for(var r=Array.prototype.slice.call(arguments,2),i=0;i<n.length;++i)n[i].apply(null,r)}function lt(e,t,n){return"string"==typeof t&&(t={type:t,preventDefault:function(){this.defaultPrevented=!0}}),st(e,n||t.type,e,t),ft(t)||t.codemirrorIgnore}function ct(e){var t=e._handlers&&e._handlers.cursorActivity;if(t)for(var n=e.curOp.cursorActivityHandlers||(e.curOp.cursorActivityHandlers=[]),r=0;r<t.length;++r)-1==U(n,t[r])&&n.push(t[r])}function ut(e,t){return ot(e,t).length>0}function ht(e){e.prototype.on=function(e,t){it(this,e,t)},e.prototype.off=function(e,t){at(this,e,t)}}function pt(e){e.preventDefault?e.preventDefault():e.returnValue=!1}function dt(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0}function ft(e){return null!=e.defaultPrevented?e.defaultPrevented:0==e.returnValue}function mt(e){pt(e),dt(e)}function gt(e){return e.target||e.srcElement}function yt(e){var t=e.which;return null==t&&(1&e.button?t=1:2&e.button?t=3:4&e.button&&(t=2)),v&&e.ctrlKey&&1==t&&(t=3),t}var vt,_t,bt=function(){if(a&&s<9)return!1;var e=L("div");return"draggable"in e||"dragDrop"in e}();function Et(e){if(null==vt){var t=L("span","");w(e,L("span",[t,document.createTextNode("x")])),0!=e.firstChild.offsetHeight&&(vt=t.offsetWidth<=1&&t.offsetHeight>2&&!(a&&s<8))}var n=vt?L("span",""):L("span"," ",null,"display: inline-block; width: 1px; margin-right: -1px");return n.setAttribute("cm-text",""),n}function Tt(e){if(null!=_t)return _t;var t=w(e,document.createTextNode("AخA")),n=C(t,0,1).getBoundingClientRect(),r=C(t,1,2).getBoundingClientRect();return R(e),!(!n||n.left==n.right)&&(_t=r.right-n.right<3)}var xt,St=3!="\n\nb".split(/\n/).length?function(e){for(var t=0,n=[],r=e.length;t<=r;){var i=e.indexOf("\n",t);-1==i&&(i=e.length);var o=e.slice(t,"\r"==e.charAt(i-1)?i-1:i),a=o.indexOf("\r");-1!=a?(n.push(o.slice(0,a)),t+=a+1):(n.push(o),t=i+1)}return n}:function(e){return e.split(/\r\n?|\n/)},Ct=window.getSelection?function(e){try{return e.selectionStart!=e.selectionEnd}catch(e){return!1}}:function(e){var t;try{t=e.ownerDocument.selection.createRange()}catch(e){}return!(!t||t.parentElement()!=e)&&0!=t.compareEndPoints("StartToEnd",t)},At="oncopy"in(xt=L("div"))||(xt.setAttribute("oncopy","return;"),"function"==typeof xt.oncopy),Rt=null;var wt={},Lt={};function Ot(e,t){arguments.length>2&&(t.dependencies=Array.prototype.slice.call(arguments,2)),wt[e]=t}function Nt(e){if("string"==typeof e&&Lt.hasOwnProperty(e))e=Lt[e];else if(e&&"string"==typeof e.name&&Lt.hasOwnProperty(e.name)){var t=Lt[e.name];"string"==typeof t&&(t={name:t}),(e=Q(t,e)).name=t.name}else{if("string"==typeof e&&/^[\w\-]+\/[\w\-]+\+xml$/.test(e))return Nt("application/xml");if("string"==typeof e&&/^[\w\-]+\/[\w\-]+\+json$/.test(e))return Nt("application/json")}return"string"==typeof e?{name:e}:e||{name:"null"}}function It(e,t){t=Nt(t);var n=wt[t.name];if(!n)return It(e,"text/plain");var r=n(e,t);if(kt.hasOwnProperty(t.name)){var i=kt[t.name];for(var o in i)i.hasOwnProperty(o)&&(r.hasOwnProperty(o)&&(r["_"+o]=r[o]),r[o]=i[o])}if(r.name=t.name,t.helperType&&(r.helperType=t.helperType),t.modeProps)for(var a in t.modeProps)r[a]=t.modeProps[a];return r}var kt={};function Dt(e,t){F(t,kt.hasOwnProperty(e)?kt[e]:kt[e]={})}function Pt(e,t){if(!0===t)return t;if(e.copyState)return e.copyState(t);var n={};for(var r in t){var i=t[r];i instanceof Array&&(i=i.concat([])),n[r]=i}return n}function Mt(e,t){for(var n;e.innerMode&&(n=e.innerMode(t))&&n.mode!=e;)t=n.state,e=n.mode;return n||{mode:e,state:t}}function Ft(e,t,n){return!e.startState||e.startState(t,n)}var Ht=function(e,t){this.pos=this.start=0,this.string=e,this.tabSize=t||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0};function Bt(e,t,n,r){var i=[e.state.modeGen],o={};Vt(e,t.text,e.doc.mode,n,(function(e,t){return i.push(e,t)}),o,r);for(var a=function(n){var r=e.state.overlays[n],a=1,s=0;Vt(e,t.text,r.mode,!0,(function(e,t){for(var n=a;s<e;){var o=i[a];o>e&&i.splice(a,1,e,i[a+1],o),a+=2,s=Math.min(e,o)}if(t)if(r.opaque)i.splice(n,a-n,e,"overlay "+t),a=n+2;else for(;n<a;n+=2){var l=i[n+1];i[n+1]=(l?l+" ":"")+"overlay "+t}}),o)},s=0;s<e.state.overlays.length;++s)a(s);return{styles:i,classes:o.bgClass||o.textClass?o:null}}function Ut(e,t,n){if(!t.styles||t.styles[0]!=e.state.modeGen){var r=jt(e,pe(t)),i=Bt(e,t,t.text.length>e.options.maxHighlightLength?Pt(e.doc.mode,r):r);t.stateAfter=r,t.styles=i.styles,i.classes?t.styleClasses=i.classes:t.styleClasses&&(t.styleClasses=null),n===e.doc.frontier&&e.doc.frontier++}return t.styles}function jt(e,t,n){var r=e.doc,i=e.display;if(!r.mode.startState)return!0;var o=function(e,t,n){for(var r,i,o=e.doc,a=n?-1:t-(e.doc.mode.innerMode?1e3:100),s=t;s>a;--s){if(s<=o.first)return o.first;var l=le(o,s-1);if(l.stateAfter&&(!n||s<=o.frontier))return s;var c=H(l.text,null,e.options.tabSize);(null==i||r>c)&&(i=s-1,r=c)}return i}(e,t,n),a=o>r.first&&le(r,o-1).stateAfter;return a=a?Pt(r.mode,a):Ft(r.mode),r.iter(o,t,(function(n){Gt(e,n.text,a);var s=o==t-1||o%5==0||o>=i.viewFrom&&o<i.viewTo;n.stateAfter=s?Pt(r.mode,a):null,++o})),n&&(r.frontier=o),a}function Gt(e,t,n,r){var i=e.doc.mode,o=new Ht(t,e.options.tabSize);for(o.start=o.pos=r||0,""==t&&Yt(i,n);!o.eol();)zt(i,o,n),o.start=o.pos}function Yt(e,t){if(e.blankLine)return e.blankLine(t);if(e.innerMode){var n=Mt(e,t);return n.mode.blankLine?n.mode.blankLine(n.state):void 0}}function zt(e,t,n,r){for(var i=0;i<10;i++){r&&(r[0]=Mt(e,n).mode);var o=e.token(t,n);if(t.pos>t.start)return o}throw new Error("Mode "+e.name+" failed to advance stream.")}function $t(e,t,n,r){var i,o=function(e){return{start:h.start,end:h.pos,string:h.current(),type:i||null,state:e?Pt(a.mode,u):u}},a=e.doc,s=a.mode;t=xe(a,t);var l,c=le(a,t.line),u=jt(e,t.line,n),h=new Ht(c.text,e.options.tabSize);for(r&&(l=[]);(r||h.pos<t.ch)&&!h.eol();)h.start=h.pos,i=zt(s,h,u),r&&l.push(o(!0));return r?l:o()}function Wt(e,t){if(e)for(;;){var n=e.match(/(?:^|\s+)line-(background-)?(\S+)/);if(!n)break;e=e.slice(0,n.index)+e.slice(n.index+n[0].length);var r=n[1]?"bgClass":"textClass";null==t[r]?t[r]=n[2]:new RegExp("(?:^|s)"+n[2]+"(?:$|s)").test(t[r])||(t[r]+=" "+n[2])}return e}function Vt(e,t,n,r,i,o,a){var s=n.flattenSpans;null==s&&(s=e.options.flattenSpans);var l,c=0,u=null,h=new Ht(t,e.options.tabSize),p=e.options.addModeClass&&[null];for(""==t&&Wt(Yt(n,r),o);!h.eol();){if(h.pos>e.options.maxHighlightLength?(s=!1,a&&Gt(e,t,r,h.pos),h.pos=t.length,l=null):l=Wt(zt(n,h,r,p),o),p){var d=p[0].name;d&&(l="m-"+(l?d+" "+l:d))}if(!s||u!=l){for(;c<h.start;)i(c=Math.min(h.start,c+5e3),u);u=l}h.start=h.pos}for(;c<h.pos;){var f=Math.min(h.pos,c+5e3);i(f,u),c=f}}Ht.prototype.eol=function(){return this.pos>=this.string.length},Ht.prototype.sol=function(){return this.pos==this.lineStart},Ht.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},Ht.prototype.next=function(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)},Ht.prototype.eat=function(e){var t=this.string.charAt(this.pos);if("string"==typeof e?t==e:t&&(e.test?e.test(t):e(t)))return++this.pos,t},Ht.prototype.eatWhile=function(e){for(var t=this.pos;this.eat(e););return this.pos>t},Ht.prototype.eatSpace=function(){for(var e=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>e},Ht.prototype.skipToEnd=function(){this.pos=this.string.length},Ht.prototype.skipTo=function(e){var t=this.string.indexOf(e,this.pos);if(t>-1)return this.pos=t,!0},Ht.prototype.backUp=function(e){this.pos-=e},Ht.prototype.column=function(){return this.lastColumnPos<this.start&&(this.lastColumnValue=H(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue-(this.lineStart?H(this.string,this.lineStart,this.tabSize):0)},Ht.prototype.indentation=function(){return H(this.string,null,this.tabSize)-(this.lineStart?H(this.string,this.lineStart,this.tabSize):0)},Ht.prototype.match=function(e,t,n){if("string"!=typeof e){var r=this.string.slice(this.pos).match(e);return r&&r.index>0?null:(r&&!1!==t&&(this.pos+=r[0].length),r)}var i=function(e){return n?e.toLowerCase():e};if(i(this.string.substr(this.pos,e.length))==i(e))return!1!==t&&(this.pos+=e.length),!0},Ht.prototype.current=function(){return this.string.slice(this.start,this.pos)},Ht.prototype.hideFirstChars=function(e,t){this.lineStart+=e;try{return t()}finally{this.lineStart-=e}};var Kt=function(e,t,n){this.text=e,ke(this,t),this.height=n?n(this):1};function qt(e){e.parent=null,Ie(e)}Kt.prototype.lineNo=function(){return pe(this)},ht(Kt);var Xt={},Zt={};function Qt(e,t){if(!e||/^\s*$/.test(e))return null;var n=t.addModeClass?Zt:Xt;return n[e]||(n[e]=e.replace(/\S+/g,"cm-$&"))}function Jt(e,t){var n=O("span",null,null,l?"padding-right: .1px":null),r={pre:O("pre",[n],"CodeMirror-line"),content:n,col:0,pos:0,cm:e,trailingSpace:!1,splitSpaces:(a||l)&&e.getOption("lineWrapping")};t.measure={};for(var i=0;i<=(t.rest?t.rest.length:0);i++){var o=i?t.rest[i-1]:t.line,s=void 0;r.pos=0,r.addToken=tn,Tt(e.display.measure)&&(s=Qe(o,e.doc.direction))&&(r.addToken=nn(r.addToken,s)),r.map=[],on(o,r,Ut(e,o,t!=e.display.externalMeasured&&pe(o))),o.styleClasses&&(o.styleClasses.bgClass&&(r.bgClass=D(o.styleClasses.bgClass,r.bgClass||"")),o.styleClasses.textClass&&(r.textClass=D(o.styleClasses.textClass,r.textClass||""))),0==r.map.length&&r.map.push(0,0,r.content.appendChild(Et(e.display.measure))),0==i?(t.measure.map=r.map,t.measure.cache={}):((t.measure.maps||(t.measure.maps=[])).push(r.map),(t.measure.caches||(t.measure.caches=[])).push({}))}if(l){var c=r.content.lastChild;(/\bcm-tab\b/.test(c.className)||c.querySelector&&c.querySelector(".cm-tab"))&&(r.content.className="cm-tab-wrap-hack")}return st(e,"renderLine",e,t.line,r.pre),r.pre.className&&(r.textClass=D(r.pre.className,r.textClass||"")),r}function en(e){var t=L("span","•","cm-invalidchar");return t.title="\\u"+e.charCodeAt(0).toString(16),t.setAttribute("aria-label",t.title),t}function tn(e,t,n,r,i,o,l){if(t){var c,u=e.splitSpaces?function(e,t){if(e.length>1&&!/ /.test(e))return e;for(var n=t,r="",i=0;i<e.length;i++){var o=e.charAt(i);" "!=o||!n||i!=e.length-1&&32!=e.charCodeAt(i+1)||(o=" "),r+=o,n=" "==o}return r}(t,e.trailingSpace):t,h=e.cm.state.specialChars,p=!1;if(h.test(t)){c=document.createDocumentFragment();for(var d=0;;){h.lastIndex=d;var f=h.exec(t),m=f?f.index-d:t.length-d;if(m){var g=document.createTextNode(u.slice(d,d+m));a&&s<9?c.appendChild(L("span",[g])):c.appendChild(g),e.map.push(e.pos,e.pos+m,g),e.col+=m,e.pos+=m}if(!f)break;d+=m+1;var y=void 0;if("\t"==f[0]){var v=e.cm.options.tabSize,_=v-e.col%v;(y=c.appendChild(L("span",K(_),"cm-tab"))).setAttribute("role","presentation"),y.setAttribute("cm-text","\t"),e.col+=_}else"\r"==f[0]||"\n"==f[0]?((y=c.appendChild(L("span","\r"==f[0]?"␍":"","cm-invalidchar"))).setAttribute("cm-text",f[0]),e.col+=1):((y=e.cm.options.specialCharPlaceholder(f[0])).setAttribute("cm-text",f[0]),a&&s<9?c.appendChild(L("span",[y])):c.appendChild(y),e.col+=1);e.map.push(e.pos,e.pos+1,y),e.pos++}}else e.col+=t.length,c=document.createTextNode(u),e.map.push(e.pos,e.pos+t.length,c),a&&s<9&&(p=!0),e.pos+=t.length;if(e.trailingSpace=32==u.charCodeAt(t.length-1),n||r||i||p||l){var b=n||"";r&&(b+=r),i&&(b+=i);var E=L("span",[c],b,l);return o&&(E.title=o),e.content.appendChild(E)}e.content.appendChild(c)}}function nn(e,t){return function(n,r,i,o,a,s,l){i=i?i+" cm-force-border":"cm-force-border";for(var c=n.pos,u=c+r.length;;){for(var h=void 0,p=0;p<t.length&&!((h=t[p]).to>c&&h.from<=c);p++);if(h.to>=u)return e(n,r,i,o,a,s,l);e(n,r.slice(0,h.to-c),i,o,null,s,l),o=null,r=r.slice(h.to-c),c=h.to}}}function rn(e,t,n,r){var i=!r&&n.widgetNode;i&&e.map.push(e.pos,e.pos+t,i),!r&&e.cm.display.input.needsContentAttribute&&(i||(i=e.content.appendChild(document.createElement("span"))),i.setAttribute("cm-marker",n.id)),i&&(e.cm.display.input.setUneditable(i),e.content.appendChild(i)),e.pos+=t,e.trailingSpace=!1}function on(e,t,n){var r=e.markedSpans,i=e.text,o=0;if(r)for(var a,s,l,c,u,h,p,d=i.length,f=0,m=1,g="",y=0;;){if(y==f){l=c=u=h=s="",p=null,y=1/0;for(var v=[],_=void 0,b=0;b<r.length;++b){var E=r[b],T=E.marker;"bookmark"==T.type&&E.from==f&&T.widgetNode?v.push(T):E.from<=f&&(null==E.to||E.to>f||T.collapsed&&E.to==f&&E.from==f)?(null!=E.to&&E.to!=f&&y>E.to&&(y=E.to,c=""),T.className&&(l+=" "+T.className),T.css&&(s=(s?s+";":"")+T.css),T.startStyle&&E.from==f&&(u+=" "+T.startStyle),T.endStyle&&E.to==y&&(_||(_=[])).push(T.endStyle,E.to),T.title&&!h&&(h=T.title),T.collapsed&&(!p||Me(p.marker,T)<0)&&(p=E)):E.from>f&&y>E.from&&(y=E.from)}if(_)for(var x=0;x<_.length;x+=2)_[x+1]==y&&(c+=" "+_[x]);if(!p||p.from==f)for(var S=0;S<v.length;++S)rn(t,0,v[S]);if(p&&(p.from||0)==f){if(rn(t,(null==p.to?d+1:p.to)-f,p.marker,null==p.from),null==p.to)return;p.to==f&&(p=!1)}}if(f>=d)break;for(var C=Math.min(d,y);;){if(g){var A=f+g.length;if(!p){var R=A>C?g.slice(0,C-f):g;t.addToken(t,R,a?a+l:l,u,f+R.length==y?c:"",h,s)}if(A>=C){g=g.slice(C-f),f=C;break}f=A,u=""}g=i.slice(o,o=n[m++]),a=Qt(n[m++],t.cm.options)}}else for(var w=1;w<n.length;w+=2)t.addToken(t,i.slice(o,o=n[w]),Qt(n[w+1],t.cm.options))}function an(e,t,n){this.line=t,this.rest=function(e){for(var t,n;t=Be(e);)e=t.find(1,!0).line,(n||(n=[])).push(e);return n}(t),this.size=this.rest?pe(q(this.rest))-n+1:1,this.node=this.text=null,this.hidden=ze(e,t)}function sn(e,t,n){for(var r,i=[],o=t;o<n;o=r){var a=new an(e.doc,le(e.doc,o),o);r=o+a.size,i.push(a)}return i}var ln=null;var cn=null;function un(e,t){var n=ot(e,t);if(n.length){var r,i=Array.prototype.slice.call(arguments,2);ln?r=ln.delayedCallbacks:cn?r=cn:(r=cn=[],setTimeout(hn,0));for(var o=function(e){r.push((function(){return n[e].apply(null,i)}))},a=0;a<n.length;++a)o(a)}}function hn(){var e=cn;cn=null;for(var t=0;t<e.length;++t)e[t]()}function pn(e,t,n,r){for(var i=0;i<t.changes.length;i++){var o=t.changes[i];"text"==o?mn(e,t):"gutter"==o?yn(e,t,n,r):"class"==o?gn(e,t):"widget"==o&&vn(e,t,r)}t.changes=null}function dn(e){return e.node==e.text&&(e.node=L("div",null,null,"position: relative"),e.text.parentNode&&e.text.parentNode.replaceChild(e.node,e.text),e.node.appendChild(e.text),a&&s<8&&(e.node.style.zIndex=2)),e.node}function fn(e,t){var n=e.display.externalMeasured;return n&&n.line==t.line?(e.display.externalMeasured=null,t.measure=n.measure,n.built):Jt(e,t)}function mn(e,t){var n=t.text.className,r=fn(e,t);t.text==t.node&&(t.node=r.pre),t.text.parentNode.replaceChild(r.pre,t.text),t.text=r.pre,r.bgClass!=t.bgClass||r.textClass!=t.textClass?(t.bgClass=r.bgClass,t.textClass=r.textClass,gn(e,t)):n&&(t.text.className=n)}function gn(e,t){(function(e,t){var n=t.bgClass?t.bgClass+" "+(t.line.bgClass||""):t.line.bgClass;if(n&&(n+=" CodeMirror-linebackground"),t.background)n?t.background.className=n:(t.background.parentNode.removeChild(t.background),t.background=null);else if(n){var r=dn(t);t.background=r.insertBefore(L("div",null,n),r.firstChild),e.display.input.setUneditable(t.background)}})(e,t),t.line.wrapClass?dn(t).className=t.line.wrapClass:t.node!=t.text&&(t.node.className="");var n=t.textClass?t.textClass+" "+(t.line.textClass||""):t.line.textClass;t.text.className=n||""}function yn(e,t,n,r){if(t.gutter&&(t.node.removeChild(t.gutter),t.gutter=null),t.gutterBackground&&(t.node.removeChild(t.gutterBackground),t.gutterBackground=null),t.line.gutterClass){var i=dn(t);t.gutterBackground=L("div",null,"CodeMirror-gutter-background "+t.line.gutterClass,"left: "+(e.options.fixedGutter?r.fixedPos:-r.gutterTotalWidth)+"px; width: "+r.gutterTotalWidth+"px"),e.display.input.setUneditable(t.gutterBackground),i.insertBefore(t.gutterBackground,t.text)}var o=t.line.gutterMarkers;if(e.options.lineNumbers||o){var a=dn(t),s=t.gutter=L("div",null,"CodeMirror-gutter-wrapper","left: "+(e.options.fixedGutter?r.fixedPos:-r.gutterTotalWidth)+"px");if(e.display.input.setUneditable(s),a.insertBefore(s,t.text),t.line.gutterClass&&(s.className+=" "+t.line.gutterClass),!e.options.lineNumbers||o&&o["CodeMirror-linenumbers"]||(t.lineNumber=s.appendChild(L("div",me(e.options,n),"CodeMirror-linenumber CodeMirror-gutter-elt","left: "+r.gutterLeft["CodeMirror-linenumbers"]+"px; width: "+e.display.lineNumInnerWidth+"px"))),o)for(var l=0;l<e.options.gutters.length;++l){var c=e.options.gutters[l],u=o.hasOwnProperty(c)&&o[c];u&&s.appendChild(L("div",[u],"CodeMirror-gutter-elt","left: "+r.gutterLeft[c]+"px; width: "+r.gutterWidth[c]+"px"))}}}function vn(e,t,n){t.alignable&&(t.alignable=null);for(var r=t.node.firstChild,i=void 0;r;r=i)i=r.nextSibling,"CodeMirror-linewidget"==r.className&&t.node.removeChild(r);bn(e,t,n)}function _n(e,t,n,r){var i=fn(e,t);return t.text=t.node=i.pre,i.bgClass&&(t.bgClass=i.bgClass),i.textClass&&(t.textClass=i.textClass),gn(e,t),yn(e,t,n,r),bn(e,t,r),t.node}function bn(e,t,n){if(En(e,t.line,t,n,!0),t.rest)for(var r=0;r<t.rest.length;r++)En(e,t.rest[r],t,n,!1)}function En(e,t,n,r,i){if(t.widgets)for(var o=dn(n),a=0,s=t.widgets;a<s.length;++a){var l=s[a],c=L("div",[l.node],"CodeMirror-linewidget");l.handleMouseEvents||c.setAttribute("cm-ignore-events","true"),Tn(l,c,n,r),e.display.input.setUneditable(c),i&&l.above?o.insertBefore(c,n.gutter||n.text):o.appendChild(c),un(l,"redraw")}}function Tn(e,t,n,r){if(e.noHScroll){(n.alignable||(n.alignable=[])).push(t);var i=r.wrapperWidth;t.style.left=r.fixedPos+"px",e.coverGutter||(i-=r.gutterTotalWidth,t.style.paddingLeft=r.gutterTotalWidth+"px"),t.style.width=i+"px"}e.coverGutter&&(t.style.zIndex=5,t.style.position="relative",e.noHScroll||(t.style.marginLeft=-r.gutterTotalWidth+"px"))}function xn(e){if(null!=e.height)return e.height;var t=e.doc.cm;if(!t)return 0;if(!N(document.body,e.node)){var n="position: relative;";e.coverGutter&&(n+="margin-left: -"+t.display.gutters.offsetWidth+"px;"),e.noHScroll&&(n+="width: "+t.display.wrapper.clientWidth+"px;"),w(t.display.measure,L("div",[e.node],null,n))}return e.height=e.node.parentNode.offsetHeight}function Sn(e,t){for(var n=gt(t);n!=e.wrapper;n=n.parentNode)if(!n||1==n.nodeType&&"true"==n.getAttribute("cm-ignore-events")||n.parentNode==e.sizer&&n!=e.mover)return!0}function Cn(e){return e.lineSpace.offsetTop}function An(e){return e.mover.offsetHeight-e.lineSpace.offsetHeight}function Rn(e){if(e.cachedPaddingH)return e.cachedPaddingH;var t=w(e.measure,L("pre","x")),n=window.getComputedStyle?window.getComputedStyle(t):t.currentStyle,r={left:parseInt(n.paddingLeft),right:parseInt(n.paddingRight)};return isNaN(r.left)||isNaN(r.right)||(e.cachedPaddingH=r),r}function wn(e){return j-e.display.nativeBarWidth}function Ln(e){return e.display.scroller.clientWidth-wn(e)-e.display.barWidth}function On(e){return e.display.scroller.clientHeight-wn(e)-e.display.barHeight}function Nn(e,t,n){if(e.line==t)return{map:e.measure.map,cache:e.measure.cache};for(var r=0;r<e.rest.length;r++)if(e.rest[r]==t)return{map:e.measure.maps[r],cache:e.measure.caches[r]};for(var i=0;i<e.rest.length;i++)if(pe(e.rest[i])>n)return{map:e.measure.maps[i],cache:e.measure.caches[i],before:!0}}function In(e,t,n,r){return Pn(e,Dn(e,t),n,r)}function kn(e,t){if(t>=e.display.viewFrom&&t<e.display.viewTo)return e.display.view[lr(e,t)];var n=e.display.externalMeasured;return n&&t>=n.lineN&&t<n.lineN+n.size?n:void 0}function Dn(e,t){var n=pe(t),r=kn(e,n);r&&!r.text?r=null:r&&r.changes&&(pn(e,r,n,rr(e)),e.curOp.forceUpdate=!0),r||(r=function(e,t){var n=pe(t=je(t)),r=e.display.externalMeasured=new an(e.doc,t,n);r.lineN=n;var i=r.built=Jt(e,r);return r.text=i.pre,w(e.display.lineMeasure,i.pre),r}(e,t));var i=Nn(r,t,n);return{line:t,view:r,rect:null,map:i.map,cache:i.cache,before:i.before,hasHeights:!1}}function Pn(e,t,n,r,i){t.before&&(n=-1);var o,l=n+(r||"");return t.cache.hasOwnProperty(l)?o=t.cache[l]:(t.rect||(t.rect=t.view.text.getBoundingClientRect()),t.hasHeights||(function(e,t,n){var r=e.options.lineWrapping,i=r&&Ln(e);if(!t.measure.heights||r&&t.measure.width!=i){var o=t.measure.heights=[];if(r){t.measure.width=i;for(var a=t.text.firstChild.getClientRects(),s=0;s<a.length-1;s++){var l=a[s],c=a[s+1];Math.abs(l.bottom-c.bottom)>2&&o.push((l.bottom+c.top)/2-n.top)}}o.push(n.bottom-n.top)}}(e,t.view,t.rect),t.hasHeights=!0),(o=function(e,t,n,r){var i,o=Hn(t.map,n,r),l=o.node,c=o.start,u=o.end,h=o.collapse;if(3==l.nodeType){for(var p=0;p<4;p++){for(;c&&ie(t.line.text.charAt(o.coverStart+c));)--c;for(;o.coverStart+u<o.coverEnd&&ie(t.line.text.charAt(o.coverStart+u));)++u;if((i=a&&s<9&&0==c&&u==o.coverEnd-o.coverStart?l.parentNode.getBoundingClientRect():Bn(C(l,c,u).getClientRects(),r)).left||i.right||0==c)break;u=c,c-=1,h="right"}a&&s<11&&(i=function(e,t){if(!window.screen||null==screen.logicalXDPI||screen.logicalXDPI==screen.deviceXDPI||!function(e){if(null!=Rt)return Rt;var t=w(e,L("span","x")),n=t.getBoundingClientRect(),r=C(t,0,1).getBoundingClientRect();return Rt=Math.abs(n.left-r.left)>1}(e))return t;var n=screen.logicalXDPI/screen.deviceXDPI,r=screen.logicalYDPI/screen.deviceYDPI;return{left:t.left*n,right:t.right*n,top:t.top*r,bottom:t.bottom*r}}(e.display.measure,i))}else{var d;c>0&&(h=r="right"),i=e.options.lineWrapping&&(d=l.getClientRects()).length>1?d["right"==r?d.length-1:0]:l.getBoundingClientRect()}if(a&&s<9&&!c&&(!i||!i.left&&!i.right)){var f=l.parentNode.getClientRects()[0];i=f?{left:f.left,right:f.left+nr(e.display),top:f.top,bottom:f.bottom}:Fn}for(var m=i.top-t.rect.top,g=i.bottom-t.rect.top,y=(m+g)/2,v=t.view.measure.heights,_=0;_<v.length-1&&!(y<v[_]);_++);var b=_?v[_-1]:0,E=v[_],T={left:("right"==h?i.right:i.left)-t.rect.left,right:("left"==h?i.left:i.right)-t.rect.left,top:b,bottom:E};return i.left||i.right||(T.bogus=!0),e.options.singleCursorHeightPerLine||(T.rtop=m,T.rbottom=g),T}(e,t,n,r)).bogus||(t.cache[l]=o)),{left:o.left,right:o.right,top:i?o.rtop:o.top,bottom:i?o.rbottom:o.bottom}}var Mn,Fn={left:0,right:0,top:0,bottom:0};function Hn(e,t,n){for(var r,i,o,a,s,l,c=0;c<e.length;c+=3)if(s=e[c],l=e[c+1],t<s?(i=0,o=1,a="left"):t<l?o=1+(i=t-s):(c==e.length-3||t==l&&e[c+3]>t)&&(i=(o=l-s)-1,t>=l&&(a="right")),null!=i){if(r=e[c+2],s==l&&n==(r.insertLeft?"left":"right")&&(a=n),"left"==n&&0==i)for(;c&&e[c-2]==e[c-3]&&e[c-1].insertLeft;)r=e[2+(c-=3)],a="left";if("right"==n&&i==l-s)for(;c<e.length-3&&e[c+3]==e[c+4]&&!e[c+5].insertLeft;)r=e[(c+=3)+2],a="right";break}return{node:r,start:i,end:o,collapse:a,coverStart:s,coverEnd:l}}function Bn(e,t){var n=Fn;if("left"==t)for(var r=0;r<e.length&&(n=e[r]).left==n.right;r++);else for(var i=e.length-1;i>=0&&(n=e[i]).left==n.right;i--);return n}function Un(e){if(e.measure&&(e.measure.cache={},e.measure.heights=null,e.rest))for(var t=0;t<e.rest.length;t++)e.measure.caches[t]={}}function jn(e){e.display.externalMeasure=null,R(e.display.lineMeasure);for(var t=0;t<e.display.view.length;t++)Un(e.display.view[t])}function Gn(e){jn(e),e.display.cachedCharWidth=e.display.cachedTextHeight=e.display.cachedPaddingH=null,e.options.lineWrapping||(e.display.maxLineChanged=!0),e.display.lineNumChars=null}function Yn(){return window.pageXOffset||(document.documentElement||document.body).scrollLeft}function zn(){return window.pageYOffset||(document.documentElement||document.body).scrollTop}function $n(e,t,n,r,i){if(!i&&t.widgets)for(var o=0;o<t.widgets.length;++o)if(t.widgets[o].above){var a=xn(t.widgets[o]);n.top+=a,n.bottom+=a}if("line"==r)return n;r||(r="local");var s=We(t);if("local"==r?s+=Cn(e.display):s-=e.display.viewOffset,"page"==r||"window"==r){var l=e.display.lineSpace.getBoundingClientRect();s+=l.top+("window"==r?0:zn());var c=l.left+("window"==r?0:Yn());n.left+=c,n.right+=c}return n.top+=s,n.bottom+=s,n}function Wn(e,t,n){if("div"==n)return t;var r=t.left,i=t.top;if("page"==n)r-=Yn(),i-=zn();else if("local"==n||!n){var o=e.display.sizer.getBoundingClientRect();r+=o.left,i+=o.top}var a=e.display.lineSpace.getBoundingClientRect();return{left:r-a.left,top:i-a.top}}function Vn(e,t,n,r,i){return r||(r=le(e.doc,t.line)),$n(e,r,In(e,r,t.ch,i),n)}function Kn(e,t,n,r,i,o){function a(t,a){var s=Pn(e,i,t,a?"right":"left",o);return a?s.left=s.right:s.right=s.left,$n(e,r,s,n)}r=r||le(e.doc,t.line),i||(i=Dn(e,r));var s=Qe(r,e.doc.direction),l=t.ch,c=t.sticky;if(l>=r.text.length?(l=r.text.length,c="before"):l<=0&&(l=0,c="after"),!s)return a("before"==c?l-1:l,"before"==c);function u(e,t,n){return a(n?e-1:e,s[t].level%2!=0!=n)}var h=Xe(s,l,c),p=qe,d=u(l,h,"before"==c);return null!=p&&(d.other=u(l,p,"before"!=c)),d}function qn(e,t){var n=0;t=xe(e.doc,t),e.options.lineWrapping||(n=nr(e.display)*t.ch);var r=le(e.doc,t.line),i=We(r)+Cn(e.display);return{left:n,right:n,top:i,bottom:i+r.height}}function Xn(e,t,n,r,i){var o=ge(e,t,n);return o.xRel=i,r&&(o.outside=!0),o}function Zn(e,t,n){var r=e.doc;if((n+=e.display.viewOffset)<0)return Xn(r.first,0,null,!0,-1);var i=de(r,n),o=r.first+r.size-1;if(i>o)return Xn(r.first+r.size-1,le(r,o).text.length,null,!0,1);t<0&&(t=0);for(var a=le(r,i);;){var s=er(e,a,i,t,n),l=Be(a),c=l&&l.find(0,!0);if(!l||!(s.ch>c.from.ch||s.ch==c.from.ch&&s.xRel>0))return s;i=pe(a=c.to.line)}}function Qn(e,t,n,r){var i=function(r){return $n(e,t,Pn(e,n,r),"line")},o=t.text.length,a=ae((function(e){return i(e-1).bottom<=r}),o,0);return{begin:a,end:o=ae((function(e){return i(e).top>r}),a,o)}}function Jn(e,t,n,r){return Qn(e,t,n,$n(e,t,Pn(e,n,r),"line").top)}function er(e,t,n,r,i){i-=We(t);var o,a=0,s=t.text.length,l=Dn(e,t);if(Qe(t,e.doc.direction)){var c;e.options.lineWrapping&&(a=(c=Qn(e,t,l,i)).begin,s=c.end),o=new ge(n,a);var u,h,p=Kn(e,o,"line",t,l).left,d=p<r?1:-1,f=p-r;do{if(u=f,h=o,null==(o=nt(e,t,o,d))||o.ch<a||s<=("before"==o.sticky?o.ch-1:o.ch)){o=h;break}f=Kn(e,o,"line",t,l).left-r}while(d<0!=f<0&&Math.abs(f)<=Math.abs(u));if(Math.abs(f)>Math.abs(u)){if(f<0==u<0)throw new Error("Broke out of infinite loop in coordsCharInner");o=h}}else{var m=ae((function(n){var o=$n(e,t,Pn(e,l,n),"line");return o.top>i?(s=Math.min(n,s),!0):!(o.bottom<=i)&&(o.left>r||!(o.right<r)&&r-o.left<o.right-r)}),a,s);o=new ge(n,m=oe(t.text,m,1),m==s?"before":"after")}var g=Kn(e,o,"line",t,l);return(i<g.top||g.bottom<i)&&(o.outside=!0),o.xRel=r<g.left?-1:r>g.right?1:0,o}function tr(e){if(null!=e.cachedTextHeight)return e.cachedTextHeight;if(null==Mn){Mn=L("pre");for(var t=0;t<49;++t)Mn.appendChild(document.createTextNode("x")),Mn.appendChild(L("br"));Mn.appendChild(document.createTextNode("x"))}w(e.measure,Mn);var n=Mn.offsetHeight/50;return n>3&&(e.cachedTextHeight=n),R(e.measure),n||1}function nr(e){if(null!=e.cachedCharWidth)return e.cachedCharWidth;var t=L("span","xxxxxxxxxx"),n=L("pre",[t]);w(e.measure,n);var r=t.getBoundingClientRect(),i=(r.right-r.left)/10;return i>2&&(e.cachedCharWidth=i),i||10}function rr(e){for(var t=e.display,n={},r={},i=t.gutters.clientLeft,o=t.gutters.firstChild,a=0;o;o=o.nextSibling,++a)n[e.options.gutters[a]]=o.offsetLeft+o.clientLeft+i,r[e.options.gutters[a]]=o.clientWidth;return{fixedPos:ir(t),gutterTotalWidth:t.gutters.offsetWidth,gutterLeft:n,gutterWidth:r,wrapperWidth:t.wrapper.clientWidth}}function ir(e){return e.scroller.getBoundingClientRect().left-e.sizer.getBoundingClientRect().left}function or(e){var t=tr(e.display),n=e.options.lineWrapping,r=n&&Math.max(5,e.display.scroller.clientWidth/nr(e.display)-3);return function(i){if(ze(e.doc,i))return 0;var o=0;if(i.widgets)for(var a=0;a<i.widgets.length;a++)i.widgets[a].height&&(o+=i.widgets[a].height);return n?o+(Math.ceil(i.text.length/r)||1)*t:o+t}}function ar(e){var t=e.doc,n=or(e);t.iter((function(e){var t=n(e);t!=e.height&&he(e,t)}))}function sr(e,t,n,r){var i=e.display;if(!n&&"true"==gt(t).getAttribute("cm-not-content"))return null;var o,a,s=i.lineSpace.getBoundingClientRect();try{o=t.clientX-s.left,a=t.clientY-s.top}catch(t){return null}var l,c=Zn(e,o,a);if(r&&1==c.xRel&&(l=le(e.doc,c.line).text).length==c.ch){var u=H(l,l.length,e.options.tabSize)-l.length;c=ge(c.line,Math.max(0,Math.round((o-Rn(e.display).left)/nr(e.display))-u))}return c}function lr(e,t){if(t>=e.display.viewTo)return null;if((t-=e.display.viewFrom)<0)return null;for(var n=e.display.view,r=0;r<n.length;r++)if((t-=n[r].size)<0)return r}function cr(e){e.display.input.showSelection(e.display.input.prepareSelection())}function ur(e,t){for(var n=e.doc,r={},i=r.cursors=document.createDocumentFragment(),o=r.selection=document.createDocumentFragment(),a=0;a<n.sel.ranges.length;a++)if(!1!==t||a!=n.sel.primIndex){var s=n.sel.ranges[a];if(!(s.from().line>=e.display.viewTo||s.to().line<e.display.viewFrom)){var l=s.empty();(l||e.options.showCursorWhenSelecting)&&hr(e,s.head,i),l||pr(e,s,o)}}return r}function hr(e,t,n){var r=Kn(e,t,"div",null,null,!e.options.singleCursorHeightPerLine),i=n.appendChild(L("div"," ","CodeMirror-cursor"));if(i.style.left=r.left+"px",i.style.top=r.top+"px",i.style.height=Math.max(0,r.bottom-r.top)*e.options.cursorHeight+"px",r.other){var o=n.appendChild(L("div"," ","CodeMirror-cursor CodeMirror-secondarycursor"));o.style.display="",o.style.left=r.other.left+"px",o.style.top=r.other.top+"px",o.style.height=.85*(r.other.bottom-r.other.top)+"px"}}function pr(e,t,n){var r=e.display,i=e.doc,o=document.createDocumentFragment(),a=Rn(e.display),s=a.left,l=Math.max(r.sizerWidth,Ln(e)-r.sizer.offsetLeft)-a.right;function c(e,t,n,r){t<0&&(t=0),t=Math.round(t),r=Math.round(r),o.appendChild(L("div",null,"CodeMirror-selected","position: absolute; left: "+e+"px;\n top: "+t+"px; width: "+(null==n?l-e:n)+"px;\n height: "+(r-t)+"px"))}function u(t,n,r){var o,a,u=le(i,t),h=u.text.length;function p(n,r){return Vn(e,ge(t,n),"div",u,r)}return function(e,t,n,r){if(!e)return r(t,n,"ltr");for(var i=!1,o=0;o<e.length;++o){var a=e[o];(a.from<n&&a.to>t||t==n&&a.to==t)&&(r(Math.max(a.from,t),Math.min(a.to,n),1==a.level?"rtl":"ltr"),i=!0)}i||r(t,n,"ltr")}(Qe(u,i.direction),n||0,null==r?h:r,(function(e,t,i){var u,d,f,m=p(e,"left");if(e==t)u=m,d=f=m.left;else{if(u=p(t-1,"right"),"rtl"==i){var g=m;m=u,u=g}d=m.left,f=u.right}null==n&&0==e&&(d=s),u.top-m.top>3&&(c(d,m.top,null,m.bottom),d=s,m.bottom<u.top&&c(d,m.bottom,null,u.top)),null==r&&t==h&&(f=l),(!o||m.top<o.top||m.top==o.top&&m.left<o.left)&&(o=m),(!a||u.bottom>a.bottom||u.bottom==a.bottom&&u.right>a.right)&&(a=u),d<s+1&&(d=s),c(d,u.top,f-d,u.bottom)})),{start:o,end:a}}var h=t.from(),p=t.to();if(h.line==p.line)u(h.line,h.ch,p.ch);else{var d=le(i,h.line),f=le(i,p.line),m=je(d)==je(f),g=u(h.line,h.ch,m?d.text.length+1:null).end,y=u(p.line,m?0:null,p.ch).start;m&&(g.top<y.top-2?(c(g.right,g.top,null,g.bottom),c(s,y.top,y.left,y.bottom)):c(g.right,g.top,y.left-g.right,g.bottom)),g.bottom<y.top&&c(s,g.bottom,null,y.top)}n.appendChild(o)}function dr(e){if(e.state.focused){var t=e.display;clearInterval(t.blinker);var n=!0;t.cursorDiv.style.visibility="",e.options.cursorBlinkRate>0?t.blinker=setInterval((function(){return t.cursorDiv.style.visibility=(n=!n)?"":"hidden"}),e.options.cursorBlinkRate):e.options.cursorBlinkRate<0&&(t.cursorDiv.style.visibility="hidden")}}function fr(e){e.state.focused||(e.display.input.focus(),mr(e))}function mr(e,t){e.state.delayingBlurEvent&&(e.state.delayingBlurEvent=!1),"nocursor"!=e.options.readOnly&&(e.state.focused||(st(e,"focus",e,t),e.state.focused=!0,k(e.display.wrapper,"CodeMirror-focused"),e.curOp||e.display.selForContextMenu==e.doc.sel||(e.display.input.reset(),l&&setTimeout((function(){return e.display.input.reset(!0)}),20)),e.display.input.receivedFocus()),dr(e))}function gr(e,t){e.state.delayingBlurEvent||(e.state.focused&&(st(e,"blur",e,t),e.state.focused=!1,A(e.display.wrapper,"CodeMirror-focused")),clearInterval(e.display.blinker),setTimeout((function(){e.state.focused||(e.display.shift=!1)}),150))}function yr(e){var t=e.display,n=t.view;if(t.alignWidgets||t.gutters.firstChild&&e.options.fixedGutter){for(var r=ir(t)-t.scroller.scrollLeft+e.doc.scrollLeft,i=t.gutters.offsetWidth,o=r+"px",a=0;a<n.length;a++)if(!n[a].hidden){e.options.fixedGutter&&(n[a].gutter&&(n[a].gutter.style.left=o),n[a].gutterBackground&&(n[a].gutterBackground.style.left=o));var s=n[a].alignable;if(s)for(var l=0;l<s.length;l++)s[l].style.left=o}e.options.fixedGutter&&(t.gutters.style.left=r+i+"px")}}function vr(e){if(!e.options.lineNumbers)return!1;var t=e.doc,n=me(e.options,t.first+t.size-1),r=e.display;if(n.length!=r.lineNumChars){var i=r.measure.appendChild(L("div",[L("div",n)],"CodeMirror-linenumber CodeMirror-gutter-elt")),o=i.firstChild.offsetWidth,a=i.offsetWidth-o;return r.lineGutter.style.width="",r.lineNumInnerWidth=Math.max(o,r.lineGutter.offsetWidth-a)+1,r.lineNumWidth=r.lineNumInnerWidth+a,r.lineNumChars=r.lineNumInnerWidth?n.length:-1,r.lineGutter.style.width=r.lineNumWidth+"px",ci(e),!0}return!1}function _r(e){for(var t=e.display,n=t.lineDiv.offsetTop,r=0;r<t.view.length;r++){var i=t.view[r],o=void 0;if(!i.hidden){if(a&&s<8){var l=i.node.offsetTop+i.node.offsetHeight;o=l-n,n=l}else{var c=i.node.getBoundingClientRect();o=c.bottom-c.top}var u=i.line.height-o;if(o<2&&(o=tr(t)),(u>.001||u<-.001)&&(he(i.line,o),br(i.line),i.rest))for(var h=0;h<i.rest.length;h++)br(i.rest[h])}}}function br(e){if(e.widgets)for(var t=0;t<e.widgets.length;++t)e.widgets[t].height=e.widgets[t].node.parentNode.offsetHeight}function Er(e,t,n){var r=n&&null!=n.top?Math.max(0,n.top):e.scroller.scrollTop;r=Math.floor(r-Cn(e));var i=n&&null!=n.bottom?n.bottom:r+e.wrapper.clientHeight,o=de(t,r),a=de(t,i);if(n&&n.ensure){var s=n.ensure.from.line,l=n.ensure.to.line;s<o?(o=s,a=de(t,We(le(t,s))+e.wrapper.clientHeight)):Math.min(l,t.lastLine())>=a&&(o=de(t,We(le(t,l))-e.wrapper.clientHeight),a=l)}return{from:o,to:Math.max(a,o+1)}}function Tr(e,t){Math.abs(e.doc.scrollTop-t)<2||(e.doc.scrollTop=t,n||li(e,{top:t}),e.display.scroller.scrollTop!=t&&(e.display.scroller.scrollTop=t),e.display.scrollbars.setScrollTop(t),n&&li(e),ri(e,100))}function xr(e,t,n){(n?t==e.doc.scrollLeft:Math.abs(e.doc.scrollLeft-t)<2)||(t=Math.min(t,e.display.scroller.scrollWidth-e.display.scroller.clientWidth),e.doc.scrollLeft=t,yr(e),e.display.scroller.scrollLeft!=t&&(e.display.scroller.scrollLeft=t),e.display.scrollbars.setScrollLeft(t))}var Sr=0,Cr=null;function Ar(e){var t=e.wheelDeltaX,n=e.wheelDeltaY;return null==t&&e.detail&&e.axis==e.HORIZONTAL_AXIS&&(t=e.detail),null==n&&e.detail&&e.axis==e.VERTICAL_AXIS?n=e.detail:null==n&&(n=e.wheelDelta),{x:t,y:n}}function Rr(e){var t=Ar(e);return t.x*=Cr,t.y*=Cr,t}function wr(e,t){var r=Ar(t),i=r.x,o=r.y,a=e.display,s=a.scroller,c=s.scrollWidth>s.clientWidth,u=s.scrollHeight>s.clientHeight;if(i&&c||o&&u){if(o&&v&&l)e:for(var p=t.target,d=a.view;p!=s;p=p.parentNode)for(var f=0;f<d.length;f++)if(d[f].node==p){e.display.currentWheelTarget=p;break e}if(i&&!n&&!h&&null!=Cr)return o&&u&&Tr(e,Math.max(0,Math.min(s.scrollTop+o*Cr,s.scrollHeight-s.clientHeight))),xr(e,Math.max(0,Math.min(s.scrollLeft+i*Cr,s.scrollWidth-s.clientWidth))),(!o||o&&u)&&pt(t),void(a.wheelStartX=null);if(o&&null!=Cr){var m=o*Cr,g=e.doc.scrollTop,y=g+a.wrapper.clientHeight;m<0?g=Math.max(0,g+m-50):y=Math.min(e.doc.height,y+m+50),li(e,{top:g,bottom:y})}Sr<20&&(null==a.wheelStartX?(a.wheelStartX=s.scrollLeft,a.wheelStartY=s.scrollTop,a.wheelDX=i,a.wheelDY=o,setTimeout((function(){if(null!=a.wheelStartX){var e=s.scrollLeft-a.wheelStartX,t=s.scrollTop-a.wheelStartY,n=t&&a.wheelDY&&t/a.wheelDY||e&&a.wheelDX&&e/a.wheelDX;a.wheelStartX=a.wheelStartY=null,n&&(Cr=(Cr*Sr+n)/(Sr+1),++Sr)}}),200)):(a.wheelDX+=i,a.wheelDY+=o))}}function Lr(e){var t=e.display,n=t.gutters.offsetWidth,r=Math.round(e.doc.height+An(e.display));return{clientHeight:t.scroller.clientHeight,viewHeight:t.wrapper.clientHeight,scrollWidth:t.scroller.scrollWidth,clientWidth:t.scroller.clientWidth,viewWidth:t.wrapper.clientWidth,barLeft:e.options.fixedGutter?n:0,docHeight:r,scrollHeight:r+wn(e)+t.barHeight,nativeBarWidth:t.nativeBarWidth,gutterWidth:n}}a?Cr=-.53:n?Cr=15:u?Cr=-.7:p&&(Cr=-1/3);var Or=function(e,t,n){this.cm=n;var r=this.vert=L("div",[L("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),i=this.horiz=L("div",[L("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");e(r),e(i),it(r,"scroll",(function(){r.clientHeight&&t(r.scrollTop,"vertical")})),it(i,"scroll",(function(){i.clientWidth&&t(i.scrollLeft,"horizontal")})),this.checkedZeroWidth=!1,a&&s<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};Or.prototype.update=function(e){var t=e.scrollWidth>e.clientWidth+1,n=e.scrollHeight>e.clientHeight+1,r=e.nativeBarWidth;if(n){this.vert.style.display="block",this.vert.style.bottom=t?r+"px":"0";var i=e.viewHeight-(t?r:0);this.vert.firstChild.style.height=Math.max(0,e.scrollHeight-e.clientHeight+i)+"px"}else this.vert.style.display="",this.vert.firstChild.style.height="0";if(t){this.horiz.style.display="block",this.horiz.style.right=n?r+"px":"0",this.horiz.style.left=e.barLeft+"px";var o=e.viewWidth-e.barLeft-(n?r:0);this.horiz.firstChild.style.width=Math.max(0,e.scrollWidth-e.clientWidth+o)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&e.clientHeight>0&&(0==r&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:n?r:0,bottom:t?r:0}},Or.prototype.setScrollLeft=function(e){this.horiz.scrollLeft!=e&&(this.horiz.scrollLeft=e),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz)},Or.prototype.setScrollTop=function(e){this.vert.scrollTop!=e&&(this.vert.scrollTop=e),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert)},Or.prototype.zeroWidthHack=function(){var e=v&&!d?"12px":"18px";this.horiz.style.height=this.vert.style.width=e,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new B,this.disableVert=new B},Or.prototype.enableZeroWidthBar=function(e,t){e.style.pointerEvents="auto",t.set(1e3,(function n(){var r=e.getBoundingClientRect();document.elementFromPoint(r.left+1,r.bottom-1)!=e?e.style.pointerEvents="none":t.set(1e3,n)}))},Or.prototype.clear=function(){var e=this.horiz.parentNode;e.removeChild(this.horiz),e.removeChild(this.vert)};var Nr=function(){};function Ir(e,t){t||(t=Lr(e));var n=e.display.barWidth,r=e.display.barHeight;kr(e,t);for(var i=0;i<4&&n!=e.display.barWidth||r!=e.display.barHeight;i++)n!=e.display.barWidth&&e.options.lineWrapping&&_r(e),kr(e,Lr(e)),n=e.display.barWidth,r=e.display.barHeight}function kr(e,t){var n=e.display,r=n.scrollbars.update(t);n.sizer.style.paddingRight=(n.barWidth=r.right)+"px",n.sizer.style.paddingBottom=(n.barHeight=r.bottom)+"px",n.heightForcer.style.borderBottom=r.bottom+"px solid transparent",r.right&&r.bottom?(n.scrollbarFiller.style.display="block",n.scrollbarFiller.style.height=r.bottom+"px",n.scrollbarFiller.style.width=r.right+"px"):n.scrollbarFiller.style.display="",r.bottom&&e.options.coverGutterNextToScrollbar&&e.options.fixedGutter?(n.gutterFiller.style.display="block",n.gutterFiller.style.height=r.bottom+"px",n.gutterFiller.style.width=t.gutterWidth+"px"):n.gutterFiller.style.display=""}Nr.prototype.update=function(){return{bottom:0,right:0}},Nr.prototype.setScrollLeft=function(){},Nr.prototype.setScrollTop=function(){},Nr.prototype.clear=function(){};var Dr={native:Or,null:Nr};function Pr(e){e.display.scrollbars&&(e.display.scrollbars.clear(),e.display.scrollbars.addClass&&A(e.display.wrapper,e.display.scrollbars.addClass)),e.display.scrollbars=new Dr[e.options.scrollbarStyle]((function(t){e.display.wrapper.insertBefore(t,e.display.scrollbarFiller),it(t,"mousedown",(function(){e.state.focused&&setTimeout((function(){return e.display.input.focus()}),0)})),t.setAttribute("cm-not-content","true")}),(function(t,n){"horizontal"==n?xr(e,t):Tr(e,t)}),e),e.display.scrollbars.addClass&&k(e.display.wrapper,e.display.scrollbars.addClass)}function Mr(e,t){var n=e.display,r=tr(e.display);t.top<0&&(t.top=0);var i=e.curOp&&null!=e.curOp.scrollTop?e.curOp.scrollTop:n.scroller.scrollTop,o=On(e),a={};t.bottom-t.top>o&&(t.bottom=t.top+o);var s=e.doc.height+An(n),l=t.top<r,c=t.bottom>s-r;if(t.top<i)a.scrollTop=l?0:t.top;else if(t.bottom>i+o){var u=Math.min(t.top,(c?s:t.bottom)-o);u!=i&&(a.scrollTop=u)}var h=e.curOp&&null!=e.curOp.scrollLeft?e.curOp.scrollLeft:n.scroller.scrollLeft,p=Ln(e)-(e.options.fixedGutter?n.gutters.offsetWidth:0),d=t.right-t.left>p;return d&&(t.right=t.left+p),t.left<10?a.scrollLeft=0:t.left<h?a.scrollLeft=Math.max(0,t.left-(d?0:10)):t.right>p+h-3&&(a.scrollLeft=t.right+(d?0:10)-p),a}function Fr(e,t,n){null==t&&null==n||Br(e),null!=t&&(e.curOp.scrollLeft=(null==e.curOp.scrollLeft?e.doc.scrollLeft:e.curOp.scrollLeft)+t),null!=n&&(e.curOp.scrollTop=(null==e.curOp.scrollTop?e.doc.scrollTop:e.curOp.scrollTop)+n)}function Hr(e){Br(e);var t=e.getCursor(),n=t,r=t;e.options.lineWrapping||(n=t.ch?ge(t.line,t.ch-1):t,r=ge(t.line,t.ch+1)),e.curOp.scrollToPos={from:n,to:r,margin:e.options.cursorScrollMargin}}function Br(e){var t=e.curOp.scrollToPos;if(t){e.curOp.scrollToPos=null;var n=qn(e,t.from),r=qn(e,t.to),i=Mr(e,{left:Math.min(n.left,r.left),top:Math.min(n.top,r.top)-t.margin,right:Math.max(n.right,r.right),bottom:Math.max(n.bottom,r.bottom)+t.margin});e.scrollTo(i.scrollLeft,i.scrollTop)}}var Ur=0;function jr(e){var t;e.curOp={cm:e,viewChanged:!1,startHeight:e.doc.height,forceUpdate:!1,updateInput:null,typing:!1,changeObjs:null,cursorActivityHandlers:null,cursorActivityCalled:0,selectionChanged:!1,updateMaxLine:!1,scrollLeft:null,scrollTop:null,scrollToPos:null,focus:!1,id:++Ur},t=e.curOp,ln?ln.ops.push(t):t.ownsGroup=ln={ops:[t],delayedCallbacks:[]}}function Gr(e){!function(e,t){var n=e.ownsGroup;if(n)try{!function(e){var t=e.delayedCallbacks,n=0;do{for(;n<t.length;n++)t[n].call(null);for(var r=0;r<e.ops.length;r++){var i=e.ops[r];if(i.cursorActivityHandlers)for(;i.cursorActivityCalled<i.cursorActivityHandlers.length;)i.cursorActivityHandlers[i.cursorActivityCalled++].call(null,i.cm)}}while(n<t.length)}(n)}finally{ln=null,t(n)}}(e.curOp,(function(e){for(var t=0;t<e.ops.length;t++)e.ops[t].cm.curOp=null;!function(e){for(var t=e.ops,n=0;n<t.length;n++)Yr(t[n]);for(var r=0;r<t.length;r++)zr(t[r]);for(var i=0;i<t.length;i++)$r(t[i]);for(var o=0;o<t.length;o++)Wr(t[o]);for(var a=0;a<t.length;a++)Vr(t[a])}(e)}))}function Yr(e){var t=e.cm,n=t.display;(function(e){var t=e.display;!t.scrollbarsClipped&&t.scroller.offsetWidth&&(t.nativeBarWidth=t.scroller.offsetWidth-t.scroller.clientWidth,t.heightForcer.style.height=wn(e)+"px",t.sizer.style.marginBottom=-t.nativeBarWidth+"px",t.sizer.style.borderRightWidth=wn(e)+"px",t.scrollbarsClipped=!0)})(t),e.updateMaxLine&&Ke(t),e.mustUpdate=e.viewChanged||e.forceUpdate||null!=e.scrollTop||e.scrollToPos&&(e.scrollToPos.from.line<n.viewFrom||e.scrollToPos.to.line>=n.viewTo)||n.maxLineChanged&&t.options.lineWrapping,e.update=e.mustUpdate&&new oi(t,e.mustUpdate&&{top:e.scrollTop,ensure:e.scrollToPos},e.forceUpdate)}function zr(e){e.updatedDisplay=e.mustUpdate&&ai(e.cm,e.update)}function $r(e){var t=e.cm,n=t.display;e.updatedDisplay&&_r(t),e.barMeasure=Lr(t),n.maxLineChanged&&!t.options.lineWrapping&&(e.adjustWidthTo=In(t,n.maxLine,n.maxLine.text.length).left+3,t.display.sizerWidth=e.adjustWidthTo,e.barMeasure.scrollWidth=Math.max(n.scroller.clientWidth,n.sizer.offsetLeft+e.adjustWidthTo+wn(t)+t.display.barWidth),e.maxScrollLeft=Math.max(0,n.sizer.offsetLeft+e.adjustWidthTo-Ln(t))),(e.updatedDisplay||e.selectionChanged)&&(e.preparedSelection=n.input.prepareSelection(e.focus))}function Wr(e){var t=e.cm;null!=e.adjustWidthTo&&(t.display.sizer.style.minWidth=e.adjustWidthTo+"px",e.maxScrollLeft<t.doc.scrollLeft&&xr(t,Math.min(t.display.scroller.scrollLeft,e.maxScrollLeft),!0),t.display.maxLineChanged=!1);var n=e.focus&&e.focus==I()&&(!document.hasFocus||document.hasFocus());e.preparedSelection&&t.display.input.showSelection(e.preparedSelection,n),(e.updatedDisplay||e.startHeight!=t.doc.height)&&Ir(t,e.barMeasure),e.updatedDisplay&&ui(t,e.barMeasure),e.selectionChanged&&dr(t),t.state.focused&&e.updateInput&&t.display.input.reset(e.typing),n&&fr(e.cm)}function Vr(e){var t=e.cm,n=t.display,r=t.doc;e.updatedDisplay&&si(t,e.update),null==n.wheelStartX||null==e.scrollTop&&null==e.scrollLeft&&!e.scrollToPos||(n.wheelStartX=n.wheelStartY=null),null==e.scrollTop||n.scroller.scrollTop==e.scrollTop&&!e.forceScroll||(r.scrollTop=Math.max(0,Math.min(n.scroller.scrollHeight-n.scroller.clientHeight,e.scrollTop)),n.scrollbars.setScrollTop(r.scrollTop),n.scroller.scrollTop=r.scrollTop),null==e.scrollLeft||n.scroller.scrollLeft==e.scrollLeft&&!e.forceScroll||(r.scrollLeft=Math.max(0,Math.min(n.scroller.scrollWidth-n.scroller.clientWidth,e.scrollLeft)),n.scrollbars.setScrollLeft(r.scrollLeft),n.scroller.scrollLeft=r.scrollLeft,yr(t)),e.scrollToPos&&function(e,t){if(!lt(e,"scrollCursorIntoView")){var n=e.display,r=n.sizer.getBoundingClientRect(),i=null;if(t.top+r.top<0?i=!0:t.bottom+r.top>(window.innerHeight||document.documentElement.clientHeight)&&(i=!1),null!=i&&!f){var o=L("div","",null,"position: absolute;\n top: "+(t.top-n.viewOffset-Cn(e.display))+"px;\n height: "+(t.bottom-t.top+wn(e)+n.barHeight)+"px;\n left: "+t.left+"px; width: "+Math.max(2,t.right-t.left)+"px;");e.display.lineSpace.appendChild(o),o.scrollIntoView(i),e.display.lineSpace.removeChild(o)}}}(t,function(e,t,n,r){var i;null==r&&(r=0);for(var o=0;o<5;o++){var a=!1,s=Kn(e,t),l=n&&n!=t?Kn(e,n):s,c=Mr(e,i={left:Math.min(s.left,l.left),top:Math.min(s.top,l.top)-r,right:Math.max(s.left,l.left),bottom:Math.max(s.bottom,l.bottom)+r}),u=e.doc.scrollTop,h=e.doc.scrollLeft;if(null!=c.scrollTop&&(Tr(e,c.scrollTop),Math.abs(e.doc.scrollTop-u)>1&&(a=!0)),null!=c.scrollLeft&&(xr(e,c.scrollLeft),Math.abs(e.doc.scrollLeft-h)>1&&(a=!0)),!a)break}return i}(t,xe(r,e.scrollToPos.from),xe(r,e.scrollToPos.to),e.scrollToPos.margin));var i=e.maybeHiddenMarkers,o=e.maybeUnhiddenMarkers;if(i)for(var a=0;a<i.length;++a)i[a].lines.length||st(i[a],"hide");if(o)for(var s=0;s<o.length;++s)o[s].lines.length&&st(o[s],"unhide");n.wrapper.offsetHeight&&(r.scrollTop=t.display.scroller.scrollTop),e.changeObjs&&st(t,"changes",t,e.changeObjs),e.update&&e.update.finish()}function Kr(e,t){if(e.curOp)return t();jr(e);try{return t()}finally{Gr(e)}}function qr(e,t){return function(){if(e.curOp)return t.apply(e,arguments);jr(e);try{return t.apply(e,arguments)}finally{Gr(e)}}}function Xr(e){return function(){if(this.curOp)return e.apply(this,arguments);jr(this);try{return e.apply(this,arguments)}finally{Gr(this)}}}function Zr(e){return function(){var t=this.cm;if(!t||t.curOp)return e.apply(this,arguments);jr(t);try{return e.apply(this,arguments)}finally{Gr(t)}}}function Qr(e,t,n,r){null==t&&(t=e.doc.first),null==n&&(n=e.doc.first+e.doc.size),r||(r=0);var i=e.display;if(r&&n<i.viewTo&&(null==i.updateLineNumbers||i.updateLineNumbers>t)&&(i.updateLineNumbers=t),e.curOp.viewChanged=!0,t>=i.viewTo)Ae&&Ge(e.doc,t)<i.viewTo&&ei(e);else if(n<=i.viewFrom)Ae&&Ye(e.doc,n+r)>i.viewFrom?ei(e):(i.viewFrom+=r,i.viewTo+=r);else if(t<=i.viewFrom&&n>=i.viewTo)ei(e);else if(t<=i.viewFrom){var o=ti(e,n,n+r,1);o?(i.view=i.view.slice(o.index),i.viewFrom=o.lineN,i.viewTo+=r):ei(e)}else if(n>=i.viewTo){var a=ti(e,t,t,-1);a?(i.view=i.view.slice(0,a.index),i.viewTo=a.lineN):ei(e)}else{var s=ti(e,t,t,-1),l=ti(e,n,n+r,1);s&&l?(i.view=i.view.slice(0,s.index).concat(sn(e,s.lineN,l.lineN)).concat(i.view.slice(l.index)),i.viewTo+=r):ei(e)}var c=i.externalMeasured;c&&(n<c.lineN?c.lineN+=r:t<c.lineN+c.size&&(i.externalMeasured=null))}function Jr(e,t,n){e.curOp.viewChanged=!0;var r=e.display,i=e.display.externalMeasured;if(i&&t>=i.lineN&&t<i.lineN+i.size&&(r.externalMeasured=null),!(t<r.viewFrom||t>=r.viewTo)){var o=r.view[lr(e,t)];if(null!=o.node){var a=o.changes||(o.changes=[]);-1==U(a,n)&&a.push(n)}}}function ei(e){e.display.viewFrom=e.display.viewTo=e.doc.first,e.display.view=[],e.display.viewOffset=0}function ti(e,t,n,r){var i,o=lr(e,t),a=e.display.view;if(!Ae||n==e.doc.first+e.doc.size)return{index:o,lineN:n};for(var s=e.display.viewFrom,l=0;l<o;l++)s+=a[l].size;if(s!=t){if(r>0){if(o==a.length-1)return null;i=s+a[o].size-t,o++}else i=s-t;t+=i,n+=i}for(;Ge(e.doc,n)!=n;){if(o==(r<0?0:a.length-1))return null;n+=r*a[o-(r<0?1:0)].size,o+=r}return{index:o,lineN:n}}function ni(e){for(var t=e.display.view,n=0,r=0;r<t.length;r++){var i=t[r];i.hidden||i.node&&!i.changes||++n}return n}function ri(e,t){e.doc.mode.startState&&e.doc.frontier<e.display.viewTo&&e.state.highlight.set(t,M(ii,e))}function ii(e){var t=e.doc;if(t.frontier<t.first&&(t.frontier=t.first),!(t.frontier>=e.display.viewTo)){var n=+new Date+e.options.workTime,r=Pt(t.mode,jt(e,t.frontier)),i=[];t.iter(t.frontier,Math.min(t.first+t.size,e.display.viewTo+500),(function(o){if(t.frontier>=e.display.viewFrom){var a=o.styles,s=o.text.length>e.options.maxHighlightLength,l=Bt(e,o,s?Pt(t.mode,r):r,!0);o.styles=l.styles;var c=o.styleClasses,u=l.classes;u?o.styleClasses=u:c&&(o.styleClasses=null);for(var h=!a||a.length!=o.styles.length||c!=u&&(!c||!u||c.bgClass!=u.bgClass||c.textClass!=u.textClass),p=0;!h&&p<a.length;++p)h=a[p]!=o.styles[p];h&&i.push(t.frontier),o.stateAfter=s?r:Pt(t.mode,r)}else o.text.length<=e.options.maxHighlightLength&&Gt(e,o.text,r),o.stateAfter=t.frontier%5==0?Pt(t.mode,r):null;if(++t.frontier,+new Date>n)return ri(e,e.options.workDelay),!0})),i.length&&Kr(e,(function(){for(var t=0;t<i.length;t++)Jr(e,i[t],"text")}))}}var oi=function(e,t,n){var r=e.display;this.viewport=t,this.visible=Er(r,e.doc,t),this.editorIsHidden=!r.wrapper.offsetWidth,this.wrapperHeight=r.wrapper.clientHeight,this.wrapperWidth=r.wrapper.clientWidth,this.oldDisplayWidth=Ln(e),this.force=n,this.dims=rr(e),this.events=[]};function ai(e,t){var n=e.display,r=e.doc;if(t.editorIsHidden)return ei(e),!1;if(!t.force&&t.visible.from>=n.viewFrom&&t.visible.to<=n.viewTo&&(null==n.updateLineNumbers||n.updateLineNumbers>=n.viewTo)&&n.renderedView==n.view&&0==ni(e))return!1;vr(e)&&(ei(e),t.dims=rr(e));var i=r.first+r.size,o=Math.max(t.visible.from-e.options.viewportMargin,r.first),a=Math.min(i,t.visible.to+e.options.viewportMargin);n.viewFrom<o&&o-n.viewFrom<20&&(o=Math.max(r.first,n.viewFrom)),n.viewTo>a&&n.viewTo-a<20&&(a=Math.min(i,n.viewTo)),Ae&&(o=Ge(e.doc,o),a=Ye(e.doc,a));var s=o!=n.viewFrom||a!=n.viewTo||n.lastWrapHeight!=t.wrapperHeight||n.lastWrapWidth!=t.wrapperWidth;(function(e,t,n){var r=e.display;0==r.view.length||t>=r.viewTo||n<=r.viewFrom?(r.view=sn(e,t,n),r.viewFrom=t):(r.viewFrom>t?r.view=sn(e,t,r.viewFrom).concat(r.view):r.viewFrom<t&&(r.view=r.view.slice(lr(e,t))),r.viewFrom=t,r.viewTo<n?r.view=r.view.concat(sn(e,r.viewTo,n)):r.viewTo>n&&(r.view=r.view.slice(0,lr(e,n)))),r.viewTo=n})(e,o,a),n.viewOffset=We(le(e.doc,n.viewFrom)),e.display.mover.style.top=n.viewOffset+"px";var c=ni(e);if(!s&&0==c&&!t.force&&n.renderedView==n.view&&(null==n.updateLineNumbers||n.updateLineNumbers>=n.viewTo))return!1;var u=I();return c>4&&(n.lineDiv.style.display="none"),function(e,t,n){var r=e.display,i=e.options.lineNumbers,o=r.lineDiv,a=o.firstChild;function s(t){var n=t.nextSibling;return l&&v&&e.display.currentWheelTarget==t?t.style.display="none":t.parentNode.removeChild(t),n}for(var c=r.view,u=r.viewFrom,h=0;h<c.length;h++){var p=c[h];if(p.hidden);else if(p.node&&p.node.parentNode==o){for(;a!=p.node;)a=s(a);var d=i&&null!=t&&t<=u&&p.lineNumber;p.changes&&(U(p.changes,"gutter")>-1&&(d=!1),pn(e,p,u,n)),d&&(R(p.lineNumber),p.lineNumber.appendChild(document.createTextNode(me(e.options,u)))),a=p.node.nextSibling}else{var f=_n(e,p,u,n);o.insertBefore(f,a)}u+=p.size}for(;a;)a=s(a)}(e,n.updateLineNumbers,t.dims),c>4&&(n.lineDiv.style.display=""),n.renderedView=n.view,u&&I()!=u&&u.offsetHeight&&u.focus(),R(n.cursorDiv),R(n.selectionDiv),n.gutters.style.height=n.sizer.style.minHeight=0,s&&(n.lastWrapHeight=t.wrapperHeight,n.lastWrapWidth=t.wrapperWidth,ri(e,400)),n.updateLineNumbers=null,!0}function si(e,t){for(var n=t.viewport,r=!0;(r&&e.options.lineWrapping&&t.oldDisplayWidth!=Ln(e)||(n&&null!=n.top&&(n={top:Math.min(e.doc.height+An(e.display)-On(e),n.top)}),t.visible=Er(e.display,e.doc,n),!(t.visible.from>=e.display.viewFrom&&t.visible.to<=e.display.viewTo)))&&ai(e,t);r=!1){_r(e);var i=Lr(e);cr(e),Ir(e,i),ui(e,i)}t.signal(e,"update",e),e.display.viewFrom==e.display.reportedViewFrom&&e.display.viewTo==e.display.reportedViewTo||(t.signal(e,"viewportChange",e,e.display.viewFrom,e.display.viewTo),e.display.reportedViewFrom=e.display.viewFrom,e.display.reportedViewTo=e.display.viewTo)}function li(e,t){var n=new oi(e,t);if(ai(e,n)){_r(e),si(e,n);var r=Lr(e);cr(e),Ir(e,r),ui(e,r),n.finish()}}function ci(e){var t=e.display.gutters.offsetWidth;e.display.sizer.style.marginLeft=t+"px"}function ui(e,t){e.display.sizer.style.minHeight=t.docHeight+"px",e.display.heightForcer.style.top=t.docHeight+"px",e.display.gutters.style.height=t.docHeight+e.display.barHeight+wn(e)+"px"}function hi(e){var t=e.display.gutters,n=e.options.gutters;R(t);for(var r=0;r<n.length;++r){var i=n[r],o=t.appendChild(L("div",null,"CodeMirror-gutter "+i));"CodeMirror-linenumbers"==i&&(e.display.lineGutter=o,o.style.width=(e.display.lineNumWidth||1)+"px")}t.style.display=r?"":"none",ci(e)}function pi(e){var t=U(e.gutters,"CodeMirror-linenumbers");-1==t&&e.lineNumbers?e.gutters=e.gutters.concat(["CodeMirror-linenumbers"]):t>-1&&!e.lineNumbers&&(e.gutters=e.gutters.slice(0),e.gutters.splice(t,1))}oi.prototype.signal=function(e,t){ut(e,t)&&this.events.push(arguments)},oi.prototype.finish=function(){for(var e=0;e<this.events.length;e++)st.apply(null,this.events[e])};var di=function(e,t){this.ranges=e,this.primIndex=t};di.prototype.primary=function(){return this.ranges[this.primIndex]},di.prototype.equals=function(e){if(e==this)return!0;if(e.primIndex!=this.primIndex||e.ranges.length!=this.ranges.length)return!1;for(var t=0;t<this.ranges.length;t++){var n=this.ranges[t],r=e.ranges[t];if(!ve(n.anchor,r.anchor)||!ve(n.head,r.head))return!1}return!0},di.prototype.deepCopy=function(){for(var e=[],t=0;t<this.ranges.length;t++)e[t]=new fi(_e(this.ranges[t].anchor),_e(this.ranges[t].head));return new di(e,this.primIndex)},di.prototype.somethingSelected=function(){for(var e=0;e<this.ranges.length;e++)if(!this.ranges[e].empty())return!0;return!1},di.prototype.contains=function(e,t){t||(t=e);for(var n=0;n<this.ranges.length;n++){var r=this.ranges[n];if(ye(t,r.from())>=0&&ye(e,r.to())<=0)return n}return-1};var fi=function(e,t){this.anchor=e,this.head=t};function mi(e,t){var n=e[t];e.sort((function(e,t){return ye(e.from(),t.from())})),t=U(e,n);for(var r=1;r<e.length;r++){var i=e[r],o=e[r-1];if(ye(o.to(),i.from())>=0){var a=Ee(o.from(),i.from()),s=be(o.to(),i.to()),l=o.empty()?i.from()==i.head:o.from()==o.head;r<=t&&--t,e.splice(--r,2,new fi(l?s:a,l?a:s))}}return new di(e,t)}function gi(e,t){return new di([new fi(e,t||e)],0)}function yi(e){return e.text?ge(e.from.line+e.text.length-1,q(e.text).length+(1==e.text.length?e.from.ch:0)):e.to}function vi(e,t){if(ye(e,t.from)<0)return e;if(ye(e,t.to)<=0)return yi(t);var n=e.line+t.text.length-(t.to.line-t.from.line)-1,r=e.ch;return e.line==t.to.line&&(r+=yi(t).ch-t.to.ch),ge(n,r)}function _i(e,t){for(var n=[],r=0;r<e.sel.ranges.length;r++){var i=e.sel.ranges[r];n.push(new fi(vi(i.anchor,t),vi(i.head,t)))}return mi(n,e.sel.primIndex)}function bi(e,t,n){return e.line==t.line?ge(n.line,e.ch-t.ch+n.ch):ge(n.line+(e.line-t.line),e.ch)}function Ei(e){e.doc.mode=It(e.options,e.doc.modeOption),Ti(e)}function Ti(e){e.doc.iter((function(e){e.stateAfter&&(e.stateAfter=null),e.styles&&(e.styles=null)})),e.doc.frontier=e.doc.first,ri(e,100),e.state.modeGen++,e.curOp&&Qr(e)}function xi(e,t){return 0==t.from.ch&&0==t.to.ch&&""==q(t.text)&&(!e.cm||e.cm.options.wholeLineUpdateBefore)}function Si(e,t,n,r){function i(e){return n?n[e]:null}function o(e,n,i){(function(e,t,n,r){e.text=t,e.stateAfter&&(e.stateAfter=null),e.styles&&(e.styles=null),null!=e.order&&(e.order=null),Ie(e),ke(e,n);var i=r?r(e):1;i!=e.height&&he(e,i)})(e,n,i,r),un(e,"change",e,t)}function a(e,t){for(var n=[],o=e;o<t;++o)n.push(new Kt(c[o],i(o),r));return n}var s=t.from,l=t.to,c=t.text,u=le(e,s.line),h=le(e,l.line),p=q(c),d=i(c.length-1),f=l.line-s.line;if(t.full)e.insert(0,a(0,c.length)),e.remove(c.length,e.size-c.length);else if(xi(e,t)){var m=a(0,c.length-1);o(h,h.text,d),f&&e.remove(s.line,f),m.length&&e.insert(s.line,m)}else if(u==h)if(1==c.length)o(u,u.text.slice(0,s.ch)+p+u.text.slice(l.ch),d);else{var g=a(1,c.length-1);g.push(new Kt(p+u.text.slice(l.ch),d,r)),o(u,u.text.slice(0,s.ch)+c[0],i(0)),e.insert(s.line+1,g)}else if(1==c.length)o(u,u.text.slice(0,s.ch)+c[0]+h.text.slice(l.ch),i(0)),e.remove(s.line+1,f);else{o(u,u.text.slice(0,s.ch)+c[0],i(0)),o(h,p+h.text.slice(l.ch),d);var y=a(1,c.length-1);f>1&&e.remove(s.line+1,f-1),e.insert(s.line+1,y)}un(e,"change",e,t)}function Ci(e,t,n){!function e(r,i,o){if(r.linked)for(var a=0;a<r.linked.length;++a){var s=r.linked[a];if(s.doc!=i){var l=o&&s.sharedHist;n&&!l||(t(s.doc,l),e(s.doc,r,l))}}}(e,null,!0)}function Ai(e,t){if(t.cm)throw new Error("This document is already in use.");e.doc=t,t.cm=e,ar(e),Ei(e),Ri(e),e.options.lineWrapping||Ke(e),e.options.mode=t.modeOption,Qr(e)}function Ri(e){("rtl"==e.doc.direction?k:A)(e.display.lineDiv,"CodeMirror-rtl")}function wi(e){this.done=[],this.undone=[],this.undoDepth=1/0,this.lastModTime=this.lastSelTime=0,this.lastOp=this.lastSelOp=null,this.lastOrigin=this.lastSelOrigin=null,this.generation=this.maxGeneration=e||1}function Li(e,t){var n={from:_e(t.from),to:yi(t),text:ce(e,t.from,t.to)};return Di(e,n,t.from.line,t.to.line+1),Ci(e,(function(e){return Di(e,n,t.from.line,t.to.line+1)}),!0),n}function Oi(e){for(;e.length&&q(e).ranges;)e.pop()}function Ni(e,t,n,r){var i=e.history;i.undone.length=0;var o,a,s=+new Date;if((i.lastOp==r||i.lastOrigin==t.origin&&t.origin&&("+"==t.origin.charAt(0)&&e.cm&&i.lastModTime>s-e.cm.options.historyEventDelay||"*"==t.origin.charAt(0)))&&(o=function(e,t){return t?(Oi(e.done),q(e.done)):e.done.length&&!q(e.done).ranges?q(e.done):e.done.length>1&&!e.done[e.done.length-2].ranges?(e.done.pop(),q(e.done)):void 0}(i,i.lastOp==r)))a=q(o.changes),0==ye(t.from,t.to)&&0==ye(t.from,a.to)?a.to=yi(t):o.changes.push(Li(e,t));else{var l=q(i.done);for(l&&l.ranges||ki(e.sel,i.done),o={changes:[Li(e,t)],generation:i.generation},i.done.push(o);i.done.length>i.undoDepth;)i.done.shift(),i.done[0].ranges||i.done.shift()}i.done.push(n),i.generation=++i.maxGeneration,i.lastModTime=i.lastSelTime=s,i.lastOp=i.lastSelOp=r,i.lastOrigin=i.lastSelOrigin=t.origin,a||st(e,"historyAdded")}function Ii(e,t,n,r){var i=e.history,o=r&&r.origin;n==i.lastSelOp||o&&i.lastSelOrigin==o&&(i.lastModTime==i.lastSelTime&&i.lastOrigin==o||function(e,t,n,r){var i=t.charAt(0);return"*"==i||"+"==i&&n.ranges.length==r.ranges.length&&n.somethingSelected()==r.somethingSelected()&&new Date-e.history.lastSelTime<=(e.cm?e.cm.options.historyEventDelay:500)}(e,o,q(i.done),t))?i.done[i.done.length-1]=t:ki(t,i.done),i.lastSelTime=+new Date,i.lastSelOrigin=o,i.lastSelOp=n,r&&!1!==r.clearRedo&&Oi(i.undone)}function ki(e,t){var n=q(t);n&&n.ranges&&n.equals(e)||t.push(e)}function Di(e,t,n,r){var i=t["spans_"+e.id],o=0;e.iter(Math.max(e.first,n),Math.min(e.first+e.size,r),(function(n){n.markedSpans&&((i||(i=t["spans_"+e.id]={}))[o]=n.markedSpans),++o}))}function Pi(e){if(!e)return null;for(var t,n=0;n<e.length;++n)e[n].marker.explicitlyCleared?t||(t=e.slice(0,n)):t&&t.push(e[n]);return t?t.length?t:null:e}function Mi(e,t){var n=function(e,t){var n=t["spans_"+e.id];if(!n)return null;for(var r=[],i=0;i<t.text.length;++i)r.push(Pi(n[i]));return r}(e,t),r=Oe(e,t);if(!n)return r;if(!r)return n;for(var i=0;i<n.length;++i){var o=n[i],a=r[i];if(o&&a)e:for(var s=0;s<a.length;++s){for(var l=a[s],c=0;c<o.length;++c)if(o[c].marker==l.marker)continue e;o.push(l)}else a&&(n[i]=a)}return n}function Fi(e,t,n){for(var r=[],i=0;i<e.length;++i){var o=e[i];if(o.ranges)r.push(n?di.prototype.deepCopy.call(o):o);else{var a=o.changes,s=[];r.push({changes:s});for(var l=0;l<a.length;++l){var c=a[l],u=void 0;if(s.push({from:c.from,to:c.to,text:c.text}),t)for(var h in c)(u=h.match(/^spans_(\d+)$/))&&U(t,Number(u[1]))>-1&&(q(s)[h]=c[h],delete c[h])}}}return r}function Hi(e,t,n,r){if(e.cm&&e.cm.display.shift||e.extend){var i=t.anchor;if(r){var o=ye(n,i)<0;o!=ye(r,i)<0?(i=n,n=r):o!=ye(n,r)<0&&(n=r)}return new fi(i,n)}return new fi(r||n,n)}function Bi(e,t,n,r){zi(e,new di([Hi(e,e.sel.primary(),t,n)],0),r)}function Ui(e,t,n){for(var r=[],i=0;i<e.sel.ranges.length;i++)r[i]=Hi(e,e.sel.ranges[i],t[i],null);zi(e,mi(r,e.sel.primIndex),n)}function ji(e,t,n,r){var i=e.sel.ranges.slice(0);i[t]=n,zi(e,mi(i,e.sel.primIndex),r)}function Gi(e,t,n,r){zi(e,gi(t,n),r)}function Yi(e,t,n){var r=e.history.done,i=q(r);i&&i.ranges?(r[r.length-1]=t,$i(e,t,n)):zi(e,t,n)}function zi(e,t,n){$i(e,t,n),Ii(e,e.sel,e.cm?e.cm.curOp.id:NaN,n)}function $i(e,t,n){(ut(e,"beforeSelectionChange")||e.cm&&ut(e.cm,"beforeSelectionChange"))&&(t=function(e,t,n){var r={ranges:t.ranges,update:function(t){this.ranges=[];for(var n=0;n<t.length;n++)this.ranges[n]=new fi(xe(e,t[n].anchor),xe(e,t[n].head))},origin:n&&n.origin};return st(e,"beforeSelectionChange",e,r),e.cm&&st(e.cm,"beforeSelectionChange",e.cm,r),r.ranges!=t.ranges?mi(r.ranges,r.ranges.length-1):t}(e,t,n));var r=n&&n.bias||(ye(t.primary().head,e.sel.primary().head)<0?-1:1);Wi(e,Ki(e,t,r,!0)),n&&!1===n.scroll||!e.cm||Hr(e.cm)}function Wi(e,t){t.equals(e.sel)||(e.sel=t,e.cm&&(e.cm.curOp.updateInput=e.cm.curOp.selectionChanged=!0,ct(e.cm)),un(e,"cursorActivity",e))}function Vi(e){Wi(e,Ki(e,e.sel,null,!1))}function Ki(e,t,n,r){for(var i,o=0;o<t.ranges.length;o++){var a=t.ranges[o],s=t.ranges.length==e.sel.ranges.length&&e.sel.ranges[o],l=Xi(e,a.anchor,s&&s.anchor,n,r),c=Xi(e,a.head,s&&s.head,n,r);(i||l!=a.anchor||c!=a.head)&&(i||(i=t.ranges.slice(0,o)),i[o]=new fi(l,c))}return i?mi(i,t.primIndex):t}function qi(e,t,n,r,i){var o=le(e,t.line);if(o.markedSpans)for(var a=0;a<o.markedSpans.length;++a){var s=o.markedSpans[a],l=s.marker;if((null==s.from||(l.inclusiveLeft?s.from<=t.ch:s.from<t.ch))&&(null==s.to||(l.inclusiveRight?s.to>=t.ch:s.to>t.ch))){if(i&&(st(l,"beforeCursorEnter"),l.explicitlyCleared)){if(o.markedSpans){--a;continue}break}if(!l.atomic)continue;if(n){var c=l.find(r<0?1:-1),u=void 0;if((r<0?l.inclusiveRight:l.inclusiveLeft)&&(c=Zi(e,c,-r,c&&c.line==t.line?o:null)),c&&c.line==t.line&&(u=ye(c,n))&&(r<0?u<0:u>0))return qi(e,c,t,r,i)}var h=l.find(r<0?-1:1);return(r<0?l.inclusiveLeft:l.inclusiveRight)&&(h=Zi(e,h,r,h.line==t.line?o:null)),h?qi(e,h,t,r,i):null}}return t}function Xi(e,t,n,r,i){var o=r||1;return qi(e,t,n,o,i)||!i&&qi(e,t,n,o,!0)||qi(e,t,n,-o,i)||!i&&qi(e,t,n,-o,!0)||(e.cantEdit=!0,ge(e.first,0))}function Zi(e,t,n,r){return n<0&&0==t.ch?t.line>e.first?xe(e,ge(t.line-1)):null:n>0&&t.ch==(r||le(e,t.line)).text.length?t.line<e.first+e.size-1?ge(t.line+1,0):null:new ge(t.line,t.ch+n)}function Qi(e){e.setSelection(ge(e.firstLine(),0),ge(e.lastLine()),Y)}function Ji(e,t,n){var r={canceled:!1,from:t.from,to:t.to,text:t.text,origin:t.origin,cancel:function(){return r.canceled=!0}};return n&&(r.update=function(t,n,i,o){t&&(r.from=xe(e,t)),n&&(r.to=xe(e,n)),i&&(r.text=i),void 0!==o&&(r.origin=o)}),st(e,"beforeChange",e,r),e.cm&&st(e.cm,"beforeChange",e.cm,r),r.canceled?null:{from:r.from,to:r.to,text:r.text,origin:r.origin}}function eo(e,t,n){if(e.cm){if(!e.cm.curOp)return qr(e.cm,eo)(e,t,n);if(e.cm.state.suppressEdits)return}if(!(ut(e,"beforeChange")||e.cm&&ut(e.cm,"beforeChange"))||(t=Ji(e,t,!0))){var r=Ce&&!n&&function(e,t,n){var r=null;if(e.iter(t.line,n.line+1,(function(e){if(e.markedSpans)for(var t=0;t<e.markedSpans.length;++t){var n=e.markedSpans[t].marker;!n.readOnly||r&&-1!=U(r,n)||(r||(r=[])).push(n)}})),!r)return null;for(var i=[{from:t,to:n}],o=0;o<r.length;++o)for(var a=r[o],s=a.find(0),l=0;l<i.length;++l){var c=i[l];if(!(ye(c.to,s.from)<0||ye(c.from,s.to)>0)){var u=[l,1],h=ye(c.from,s.from),p=ye(c.to,s.to);(h<0||!a.inclusiveLeft&&!h)&&u.push({from:c.from,to:s.from}),(p>0||!a.inclusiveRight&&!p)&&u.push({from:s.to,to:c.to}),i.splice.apply(i,u),l+=u.length-3}}return i}(e,t.from,t.to);if(r)for(var i=r.length-1;i>=0;--i)to(e,{from:r[i].from,to:r[i].to,text:i?[""]:t.text});else to(e,t)}}function to(e,t){if(1!=t.text.length||""!=t.text[0]||0!=ye(t.from,t.to)){var n=_i(e,t);Ni(e,t,n,e.cm?e.cm.curOp.id:NaN),io(e,t,n,Oe(e,t));var r=[];Ci(e,(function(e,n){n||-1!=U(r,e.history)||(lo(e.history,t),r.push(e.history)),io(e,t,null,Oe(e,t))}))}}function no(e,t,n){if(!e.cm||!e.cm.state.suppressEdits||n){for(var r,i=e.history,o=e.sel,a="undo"==t?i.done:i.undone,s="undo"==t?i.undone:i.done,l=0;l<a.length&&(r=a[l],n?!r.ranges||r.equals(e.sel):r.ranges);l++);if(l!=a.length){for(i.lastOrigin=i.lastSelOrigin=null;(r=a.pop()).ranges;){if(ki(r,s),n&&!r.equals(e.sel))return void zi(e,r,{clearRedo:!1});o=r}var c=[];ki(o,s),s.push({changes:c,generation:i.generation}),i.generation=r.generation||++i.maxGeneration;for(var u=ut(e,"beforeChange")||e.cm&&ut(e.cm,"beforeChange"),h=function(n){var i=r.changes[n];if(i.origin=t,u&&!Ji(e,i,!1))return a.length=0,{};c.push(Li(e,i));var o=n?_i(e,i):q(a);io(e,i,o,Mi(e,i)),!n&&e.cm&&e.cm.scrollIntoView({from:i.from,to:yi(i)});var s=[];Ci(e,(function(e,t){t||-1!=U(s,e.history)||(lo(e.history,i),s.push(e.history)),io(e,i,null,Mi(e,i))}))},p=r.changes.length-1;p>=0;--p){var d=h(p);if(d)return d.v}}}}function ro(e,t){if(0!=t&&(e.first+=t,e.sel=new di(X(e.sel.ranges,(function(e){return new fi(ge(e.anchor.line+t,e.anchor.ch),ge(e.head.line+t,e.head.ch))})),e.sel.primIndex),e.cm)){Qr(e.cm,e.first,e.first-t,t);for(var n=e.cm.display,r=n.viewFrom;r<n.viewTo;r++)Jr(e.cm,r,"gutter")}}function io(e,t,n,r){if(e.cm&&!e.cm.curOp)return qr(e.cm,io)(e,t,n,r);if(t.to.line<e.first)ro(e,t.text.length-1-(t.to.line-t.from.line));else if(!(t.from.line>e.lastLine())){if(t.from.line<e.first){var i=t.text.length-1-(e.first-t.from.line);ro(e,i),t={from:ge(e.first,0),to:ge(t.to.line+i,t.to.ch),text:[q(t.text)],origin:t.origin}}var o=e.lastLine();t.to.line>o&&(t={from:t.from,to:ge(o,le(e,o).text.length),text:[t.text[0]],origin:t.origin}),t.removed=ce(e,t.from,t.to),n||(n=_i(e,t)),e.cm?function(e,t,n){var r=e.doc,i=e.display,o=t.from,a=t.to,s=!1,l=o.line;e.options.lineWrapping||(l=pe(je(le(r,o.line))),r.iter(l,a.line+1,(function(e){if(e==i.maxLine)return s=!0,!0}))),r.sel.contains(t.from,t.to)>-1&&ct(e),Si(r,t,n,or(e)),e.options.lineWrapping||(r.iter(l,o.line+t.text.length,(function(e){var t=Ve(e);t>i.maxLineLength&&(i.maxLine=e,i.maxLineLength=t,i.maxLineChanged=!0,s=!1)})),s&&(e.curOp.updateMaxLine=!0)),r.frontier=Math.min(r.frontier,o.line),ri(e,400);var c=t.text.length-(a.line-o.line)-1;t.full?Qr(e):o.line!=a.line||1!=t.text.length||xi(e.doc,t)?Qr(e,o.line,a.line+1,c):Jr(e,o.line,"text");var u=ut(e,"changes"),h=ut(e,"change");if(h||u){var p={from:o,to:a,text:t.text,removed:t.removed,origin:t.origin};h&&un(e,"change",e,p),u&&(e.curOp.changeObjs||(e.curOp.changeObjs=[])).push(p)}e.display.selForContextMenu=null}(e.cm,t,r):Si(e,t,r),$i(e,n,Y)}}function oo(e,t,n,r,i){if(r||(r=n),ye(r,n)<0){var o=r;r=n,n=o}"string"==typeof t&&(t=e.splitLines(t)),eo(e,{from:n,to:r,text:t,origin:i})}function ao(e,t,n,r){n<e.line?e.line+=r:t<e.line&&(e.line=t,e.ch=0)}function so(e,t,n,r){for(var i=0;i<e.length;++i){var o=e[i],a=!0;if(o.ranges){o.copied||((o=e[i]=o.deepCopy()).copied=!0);for(var s=0;s<o.ranges.length;s++)ao(o.ranges[s].anchor,t,n,r),ao(o.ranges[s].head,t,n,r)}else{for(var l=0;l<o.changes.length;++l){var c=o.changes[l];if(n<c.from.line)c.from=ge(c.from.line+r,c.from.ch),c.to=ge(c.to.line+r,c.to.ch);else if(t<=c.to.line){a=!1;break}}a||(e.splice(0,i+1),i=0)}}}function lo(e,t){var n=t.from.line,r=t.to.line,i=t.text.length-(r-n)-1;so(e.done,n,r,i),so(e.undone,n,r,i)}function co(e,t,n,r){var i=t,o=t;return"number"==typeof t?o=le(e,Te(e,t)):i=pe(t),null==i?null:(r(o,i)&&e.cm&&Jr(e.cm,i,n),o)}fi.prototype.from=function(){return Ee(this.anchor,this.head)},fi.prototype.to=function(){return be(this.anchor,this.head)},fi.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch};var uo=function(e){this.lines=e,this.parent=null;for(var t=0,n=0;n<e.length;++n)e[n].parent=this,t+=e[n].height;this.height=t};uo.prototype.chunkSize=function(){return this.lines.length},uo.prototype.removeInner=function(e,t){for(var n=e,r=e+t;n<r;++n){var i=this.lines[n];this.height-=i.height,qt(i),un(i,"delete")}this.lines.splice(e,t)},uo.prototype.collapse=function(e){e.push.apply(e,this.lines)},uo.prototype.insertInner=function(e,t,n){this.height+=n,this.lines=this.lines.slice(0,e).concat(t).concat(this.lines.slice(e));for(var r=0;r<t.length;++r)t[r].parent=this},uo.prototype.iterN=function(e,t,n){for(var r=e+t;e<r;++e)if(n(this.lines[e]))return!0};var ho=function(e){this.children=e;for(var t=0,n=0,r=0;r<e.length;++r){var i=e[r];t+=i.chunkSize(),n+=i.height,i.parent=this}this.size=t,this.height=n,this.parent=null};ho.prototype.chunkSize=function(){return this.size},ho.prototype.removeInner=function(e,t){var n=this;this.size-=t;for(var r=0;r<this.children.length;++r){var i=n.children[r],o=i.chunkSize();if(e<o){var a=Math.min(t,o-e),s=i.height;if(i.removeInner(e,a),n.height-=s-i.height,o==a&&(n.children.splice(r--,1),i.parent=null),0==(t-=a))break;e=0}else e-=o}if(this.size-t<25&&(this.children.length>1||!(this.children[0]instanceof uo))){var l=[];this.collapse(l),this.children=[new uo(l)],this.children[0].parent=this}},ho.prototype.collapse=function(e){for(var t=0;t<this.children.length;++t)this.children[t].collapse(e)},ho.prototype.insertInner=function(e,t,n){var r=this;this.size+=t.length,this.height+=n;for(var i=0;i<this.children.length;++i){var o=r.children[i],a=o.chunkSize();if(e<=a){if(o.insertInner(e,t,n),o.lines&&o.lines.length>50){for(var s=o.lines.length%25+25,l=s;l<o.lines.length;){var c=new uo(o.lines.slice(l,l+=25));o.height-=c.height,r.children.splice(++i,0,c),c.parent=r}o.lines=o.lines.slice(0,s),r.maybeSpill()}break}e-=a}},ho.prototype.maybeSpill=function(){if(!(this.children.length<=10)){var e=this;do{var t=e.children.splice(e.children.length-5,5),n=new ho(t);if(e.parent){e.size-=n.size,e.height-=n.height;var r=U(e.parent.children,e);e.parent.children.splice(r+1,0,n)}else{var i=new ho(e.children);i.parent=e,e.children=[i,n],e=i}n.parent=e.parent}while(e.children.length>10);e.parent.maybeSpill()}},ho.prototype.iterN=function(e,t,n){for(var r=0;r<this.children.length;++r){var i=this.children[r],o=i.chunkSize();if(e<o){var a=Math.min(t,o-e);if(i.iterN(e,a,n))return!0;if(0==(t-=a))break;e=0}else e-=o}};var po=function(e,t,n){if(n)for(var r in n)n.hasOwnProperty(r)&&(this[r]=n[r]);this.doc=e,this.node=t};function fo(e,t,n){We(t)<(e.curOp&&e.curOp.scrollTop||e.doc.scrollTop)&&Fr(e,null,n)}po.prototype.clear=function(){var e=this.doc.cm,t=this.line.widgets,n=this.line,r=pe(n);if(null!=r&&t){for(var i=0;i<t.length;++i)t[i]==this&&t.splice(i--,1);t.length||(n.widgets=null);var o=xn(this);he(n,Math.max(0,n.height-o)),e&&(Kr(e,(function(){fo(e,n,-o),Jr(e,r,"widget")})),un(e,"lineWidgetCleared",e,this,r))}},po.prototype.changed=function(){var e=this,t=this.height,n=this.doc.cm,r=this.line;this.height=null;var i=xn(this)-t;i&&(he(r,r.height+i),n&&Kr(n,(function(){n.curOp.forceUpdate=!0,fo(n,r,i),un(n,"lineWidgetChanged",n,e,pe(r))})))},ht(po);var mo=0,go=function(e,t){this.lines=[],this.type=t,this.doc=e,this.id=++mo};function yo(e,t,n,r,i){if(r&&r.shared)return function(e,t,n,r,i){(r=F(r)).shared=!1;var o=[yo(e,t,n,r,i)],a=o[0],s=r.widgetNode;return Ci(e,(function(e){s&&(r.widgetNode=s.cloneNode(!0)),o.push(yo(e,xe(e,t),xe(e,n),r,i));for(var l=0;l<e.linked.length;++l)if(e.linked[l].isParent)return;a=q(o)})),new vo(o,a)}(e,t,n,r,i);if(e.cm&&!e.cm.curOp)return qr(e.cm,yo)(e,t,n,r,i);var o=new go(e,i),a=ye(t,n);if(r&&F(r,o,!1),a>0||0==a&&!1!==o.clearWhenEmpty)return o;if(o.replacedWith&&(o.collapsed=!0,o.widgetNode=O("span",[o.replacedWith],"CodeMirror-widget"),r.handleMouseEvents||o.widgetNode.setAttribute("cm-ignore-events","true"),r.insertLeft&&(o.widgetNode.insertLeft=!0)),o.collapsed){if(Ue(e,t.line,t,n,o)||t.line!=n.line&&Ue(e,n.line,t,n,o))throw new Error("Inserting collapsed marker partially overlapping an existing one");Ae=!0}o.addToHistory&&Ni(e,{from:t,to:n,origin:"markText"},e.sel,NaN);var s,l=t.line,c=e.cm;if(e.iter(l,n.line+1,(function(e){c&&o.collapsed&&!c.options.lineWrapping&&je(e)==c.display.maxLine&&(s=!0),o.collapsed&&l!=t.line&&he(e,0),function(e,t){e.markedSpans=e.markedSpans?e.markedSpans.concat([t]):[t],t.marker.attachLine(e)}(e,new Re(o,l==t.line?t.ch:null,l==n.line?n.ch:null)),++l})),o.collapsed&&e.iter(t.line,n.line+1,(function(t){ze(e,t)&&he(t,0)})),o.clearOnEnter&&it(o,"beforeCursorEnter",(function(){return o.clear()})),o.readOnly&&(Ce=!0,(e.history.done.length||e.history.undone.length)&&e.clearHistory()),o.collapsed&&(o.id=++mo,o.atomic=!0),c){if(s&&(c.curOp.updateMaxLine=!0),o.collapsed)Qr(c,t.line,n.line+1);else if(o.className||o.title||o.startStyle||o.endStyle||o.css)for(var u=t.line;u<=n.line;u++)Jr(c,u,"text");o.atomic&&Vi(c.doc),un(c,"markerAdded",c,o)}return o}go.prototype.clear=function(){var e=this;if(!this.explicitlyCleared){var t=this.doc.cm,n=t&&!t.curOp;if(n&&jr(t),ut(this,"clear")){var r=this.find();r&&un(this,"clear",r.from,r.to)}for(var i=null,o=null,a=0;a<this.lines.length;++a){var s=e.lines[a],l=we(s.markedSpans,e);t&&!e.collapsed?Jr(t,pe(s),"text"):t&&(null!=l.to&&(o=pe(s)),null!=l.from&&(i=pe(s))),s.markedSpans=Le(s.markedSpans,l),null==l.from&&e.collapsed&&!ze(e.doc,s)&&t&&he(s,tr(t.display))}if(t&&this.collapsed&&!t.options.lineWrapping)for(var c=0;c<this.lines.length;++c){var u=je(e.lines[c]),h=Ve(u);h>t.display.maxLineLength&&(t.display.maxLine=u,t.display.maxLineLength=h,t.display.maxLineChanged=!0)}null!=i&&t&&this.collapsed&&Qr(t,i,o+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,t&&Vi(t.doc)),t&&un(t,"markerCleared",t,this,i,o),n&&Gr(t),this.parent&&this.parent.clear()}},go.prototype.find=function(e,t){var n,r;null==e&&"bookmark"==this.type&&(e=1);for(var i=0;i<this.lines.length;++i){var o=this.lines[i],a=we(o.markedSpans,this);if(null!=a.from&&(n=ge(t?o:pe(o),a.from),-1==e))return n;if(null!=a.to&&(r=ge(t?o:pe(o),a.to),1==e))return r}return n&&{from:n,to:r}},go.prototype.changed=function(){var e=this,t=this.find(-1,!0),n=this,r=this.doc.cm;t&&r&&Kr(r,(function(){var i=t.line,o=pe(t.line),a=kn(r,o);if(a&&(Un(a),r.curOp.selectionChanged=r.curOp.forceUpdate=!0),r.curOp.updateMaxLine=!0,!ze(n.doc,i)&&null!=n.height){var s=n.height;n.height=null;var l=xn(n)-s;l&&he(i,i.height+l)}un(r,"markerChanged",r,e)}))},go.prototype.attachLine=function(e){if(!this.lines.length&&this.doc.cm){var t=this.doc.cm.curOp;t.maybeHiddenMarkers&&-1!=U(t.maybeHiddenMarkers,this)||(t.maybeUnhiddenMarkers||(t.maybeUnhiddenMarkers=[])).push(this)}this.lines.push(e)},go.prototype.detachLine=function(e){if(this.lines.splice(U(this.lines,e),1),!this.lines.length&&this.doc.cm){var t=this.doc.cm.curOp;(t.maybeHiddenMarkers||(t.maybeHiddenMarkers=[])).push(this)}},ht(go);var vo=function(e,t){this.markers=e,this.primary=t;for(var n=0;n<e.length;++n)e[n].parent=this};function _o(e){return e.findMarks(ge(e.first,0),e.clipPos(ge(e.lastLine())),(function(e){return e.parent}))}function bo(e){for(var t=function(t){var n=e[t],r=[n.primary.doc];Ci(n.primary.doc,(function(e){return r.push(e)}));for(var i=0;i<n.markers.length;i++){var o=n.markers[i];-1==U(r,o.doc)&&(o.parent=null,n.markers.splice(i--,1))}},n=0;n<e.length;n++)t(n)}vo.prototype.clear=function(){if(!this.explicitlyCleared){this.explicitlyCleared=!0;for(var e=0;e<this.markers.length;++e)this.markers[e].clear();un(this,"clear")}},vo.prototype.find=function(e,t){return this.primary.find(e,t)},ht(vo);var Eo=0,To=function(e,t,n,r,i){if(!(this instanceof To))return new To(e,t,n,r,i);null==n&&(n=0),ho.call(this,[new uo([new Kt("",null)])]),this.first=n,this.scrollTop=this.scrollLeft=0,this.cantEdit=!1,this.cleanGeneration=1,this.frontier=n;var o=ge(n,0);this.sel=gi(o),this.history=new wi(null),this.id=++Eo,this.modeOption=t,this.lineSep=r,this.direction="rtl"==i?"rtl":"ltr",this.extend=!1,"string"==typeof e&&(e=this.splitLines(e)),Si(this,{from:o,to:o,text:e}),zi(this,gi(o),Y)};To.prototype=Q(ho.prototype,{constructor:To,iter:function(e,t,n){n?this.iterN(e-this.first,t-e,n):this.iterN(this.first,this.first+this.size,e)},insert:function(e,t){for(var n=0,r=0;r<t.length;++r)n+=t[r].height;this.insertInner(e-this.first,t,n)},remove:function(e,t){this.removeInner(e-this.first,t)},getValue:function(e){var t=ue(this,this.first,this.first+this.size);return!1===e?t:t.join(e||this.lineSeparator())},setValue:Zr((function(e){var t=ge(this.first,0),n=this.first+this.size-1;eo(this,{from:t,to:ge(n,le(this,n).text.length),text:this.splitLines(e),origin:"setValue",full:!0},!0),zi(this,gi(t))})),replaceRange:function(e,t,n,r){oo(this,e,t=xe(this,t),n=n?xe(this,n):t,r)},getRange:function(e,t,n){var r=ce(this,xe(this,e),xe(this,t));return!1===n?r:r.join(n||this.lineSeparator())},getLine:function(e){var t=this.getLineHandle(e);return t&&t.text},getLineHandle:function(e){if(fe(this,e))return le(this,e)},getLineNumber:function(e){return pe(e)},getLineHandleVisualStart:function(e){return"number"==typeof e&&(e=le(this,e)),je(e)},lineCount:function(){return this.size},firstLine:function(){return this.first},lastLine:function(){return this.first+this.size-1},clipPos:function(e){return xe(this,e)},getCursor:function(e){var t=this.sel.primary();return null==e||"head"==e?t.head:"anchor"==e?t.anchor:"end"==e||"to"==e||!1===e?t.to():t.from()},listSelections:function(){return this.sel.ranges},somethingSelected:function(){return this.sel.somethingSelected()},setCursor:Zr((function(e,t,n){Gi(this,xe(this,"number"==typeof e?ge(e,t||0):e),null,n)})),setSelection:Zr((function(e,t,n){Gi(this,xe(this,e),xe(this,t||e),n)})),extendSelection:Zr((function(e,t,n){Bi(this,xe(this,e),t&&xe(this,t),n)})),extendSelections:Zr((function(e,t){Ui(this,Se(this,e),t)})),extendSelectionsBy:Zr((function(e,t){Ui(this,Se(this,X(this.sel.ranges,e)),t)})),setSelections:Zr((function(e,t,n){if(e.length){for(var r=[],i=0;i<e.length;i++)r[i]=new fi(xe(this,e[i].anchor),xe(this,e[i].head));null==t&&(t=Math.min(e.length-1,this.sel.primIndex)),zi(this,mi(r,t),n)}})),addSelection:Zr((function(e,t,n){var r=this.sel.ranges.slice(0);r.push(new fi(xe(this,e),xe(this,t||e))),zi(this,mi(r,r.length-1),n)})),getSelection:function(e){for(var t,n=this.sel.ranges,r=0;r<n.length;r++){var i=ce(this,n[r].from(),n[r].to());t=t?t.concat(i):i}return!1===e?t:t.join(e||this.lineSeparator())},getSelections:function(e){for(var t=[],n=this.sel.ranges,r=0;r<n.length;r++){var i=ce(this,n[r].from(),n[r].to());!1!==e&&(i=i.join(e||this.lineSeparator())),t[r]=i}return t},replaceSelection:function(e,t,n){for(var r=[],i=0;i<this.sel.ranges.length;i++)r[i]=e;this.replaceSelections(r,t,n||"+input")},replaceSelections:Zr((function(e,t,n){for(var r=[],i=this.sel,o=0;o<i.ranges.length;o++){var a=i.ranges[o];r[o]={from:a.from(),to:a.to(),text:this.splitLines(e[o]),origin:n}}for(var s=t&&"end"!=t&&function(e,t,n){for(var r=[],i=ge(e.first,0),o=i,a=0;a<t.length;a++){var s=t[a],l=bi(s.from,i,o),c=bi(yi(s),i,o);if(i=s.to,o=c,"around"==n){var u=e.sel.ranges[a],h=ye(u.head,u.anchor)<0;r[a]=new fi(h?c:l,h?l:c)}else r[a]=new fi(l,l)}return new di(r,e.sel.primIndex)}(this,r,t),l=r.length-1;l>=0;l--)eo(this,r[l]);s?Yi(this,s):this.cm&&Hr(this.cm)})),undo:Zr((function(){no(this,"undo")})),redo:Zr((function(){no(this,"redo")})),undoSelection:Zr((function(){no(this,"undo",!0)})),redoSelection:Zr((function(){no(this,"redo",!0)})),setExtending:function(e){this.extend=e},getExtending:function(){return this.extend},historySize:function(){for(var e=this.history,t=0,n=0,r=0;r<e.done.length;r++)e.done[r].ranges||++t;for(var i=0;i<e.undone.length;i++)e.undone[i].ranges||++n;return{undo:t,redo:n}},clearHistory:function(){this.history=new wi(this.history.maxGeneration)},markClean:function(){this.cleanGeneration=this.changeGeneration(!0)},changeGeneration:function(e){return e&&(this.history.lastOp=this.history.lastSelOp=this.history.lastOrigin=null),this.history.generation},isClean:function(e){return this.history.generation==(e||this.cleanGeneration)},getHistory:function(){return{done:Fi(this.history.done),undone:Fi(this.history.undone)}},setHistory:function(e){var t=this.history=new wi(this.history.maxGeneration);t.done=Fi(e.done.slice(0),null,!0),t.undone=Fi(e.undone.slice(0),null,!0)},setGutterMarker:Zr((function(e,t,n){return co(this,e,"gutter",(function(e){var r=e.gutterMarkers||(e.gutterMarkers={});return r[t]=n,!n&&ne(r)&&(e.gutterMarkers=null),!0}))})),clearGutter:Zr((function(e){var t=this;this.iter((function(n){n.gutterMarkers&&n.gutterMarkers[e]&&co(t,n,"gutter",(function(){return n.gutterMarkers[e]=null,ne(n.gutterMarkers)&&(n.gutterMarkers=null),!0}))}))})),lineInfo:function(e){var t;if("number"==typeof e){if(!fe(this,e))return null;if(t=e,!(e=le(this,e)))return null}else if(null==(t=pe(e)))return null;return{line:t,handle:e,text:e.text,gutterMarkers:e.gutterMarkers,textClass:e.textClass,bgClass:e.bgClass,wrapClass:e.wrapClass,widgets:e.widgets}},addLineClass:Zr((function(e,t,n){return co(this,e,"gutter"==t?"gutter":"class",(function(e){var r="text"==t?"textClass":"background"==t?"bgClass":"gutter"==t?"gutterClass":"wrapClass";if(e[r]){if(S(n).test(e[r]))return!1;e[r]+=" "+n}else e[r]=n;return!0}))})),removeLineClass:Zr((function(e,t,n){return co(this,e,"gutter"==t?"gutter":"class",(function(e){var r="text"==t?"textClass":"background"==t?"bgClass":"gutter"==t?"gutterClass":"wrapClass",i=e[r];if(!i)return!1;if(null==n)e[r]=null;else{var o=i.match(S(n));if(!o)return!1;var a=o.index+o[0].length;e[r]=i.slice(0,o.index)+(o.index&&a!=i.length?" ":"")+i.slice(a)||null}return!0}))})),addLineWidget:Zr((function(e,t,n){return function(e,t,n,r){var i=new po(e,n,r),o=e.cm;return o&&i.noHScroll&&(o.display.alignWidgets=!0),co(e,t,"widget",(function(t){var n=t.widgets||(t.widgets=[]);if(null==i.insertAt?n.push(i):n.splice(Math.min(n.length-1,Math.max(0,i.insertAt)),0,i),i.line=t,o&&!ze(e,t)){var r=We(t)<e.scrollTop;he(t,t.height+xn(i)),r&&Fr(o,null,i.height),o.curOp.forceUpdate=!0}return!0})),un(o,"lineWidgetAdded",o,i,"number"==typeof t?t:pe(t)),i}(this,e,t,n)})),removeLineWidget:function(e){e.clear()},markText:function(e,t,n){return yo(this,xe(this,e),xe(this,t),n,n&&n.type||"range")},setBookmark:function(e,t){var n={replacedWith:t&&(null==t.nodeType?t.widget:t),insertLeft:t&&t.insertLeft,clearWhenEmpty:!1,shared:t&&t.shared,handleMouseEvents:t&&t.handleMouseEvents};return yo(this,e=xe(this,e),e,n,"bookmark")},findMarksAt:function(e){var t=[],n=le(this,(e=xe(this,e)).line).markedSpans;if(n)for(var r=0;r<n.length;++r){var i=n[r];(null==i.from||i.from<=e.ch)&&(null==i.to||i.to>=e.ch)&&t.push(i.marker.parent||i.marker)}return t},findMarks:function(e,t,n){e=xe(this,e),t=xe(this,t);var r=[],i=e.line;return this.iter(e.line,t.line+1,(function(o){var a=o.markedSpans;if(a)for(var s=0;s<a.length;s++){var l=a[s];null!=l.to&&i==e.line&&e.ch>=l.to||null==l.from&&i!=e.line||null!=l.from&&i==t.line&&l.from>=t.ch||n&&!n(l.marker)||r.push(l.marker.parent||l.marker)}++i})),r},getAllMarks:function(){var e=[];return this.iter((function(t){var n=t.markedSpans;if(n)for(var r=0;r<n.length;++r)null!=n[r].from&&e.push(n[r].marker)})),e},posFromIndex:function(e){var t,n=this.first,r=this.lineSeparator().length;return this.iter((function(i){var o=i.text.length+r;if(o>e)return t=e,!0;e-=o,++n})),xe(this,ge(n,t))},indexFromPos:function(e){var t=(e=xe(this,e)).ch;if(e.line<this.first||e.ch<0)return 0;var n=this.lineSeparator().length;return this.iter(this.first,e.line,(function(e){t+=e.text.length+n})),t},copy:function(e){var t=new To(ue(this,this.first,this.first+this.size),this.modeOption,this.first,this.lineSep,this.direction);return t.scrollTop=this.scrollTop,t.scrollLeft=this.scrollLeft,t.sel=this.sel,t.extend=!1,e&&(t.history.undoDepth=this.history.undoDepth,t.setHistory(this.getHistory())),t},linkedDoc:function(e){e||(e={});var t=this.first,n=this.first+this.size;null!=e.from&&e.from>t&&(t=e.from),null!=e.to&&e.to<n&&(n=e.to);var r=new To(ue(this,t,n),e.mode||this.modeOption,t,this.lineSep,this.direction);return e.sharedHist&&(r.history=this.history),(this.linked||(this.linked=[])).push({doc:r,sharedHist:e.sharedHist}),r.linked=[{doc:this,isParent:!0,sharedHist:e.sharedHist}],function(e,t){for(var n=0;n<t.length;n++){var r=t[n],i=r.find(),o=e.clipPos(i.from),a=e.clipPos(i.to);if(ye(o,a)){var s=yo(e,o,a,r.primary,r.primary.type);r.markers.push(s),s.parent=r}}}(r,_o(this)),r},unlinkDoc:function(e){var t=this;if(e instanceof pa&&(e=e.doc),this.linked)for(var n=0;n<this.linked.length;++n)if(t.linked[n].doc==e){t.linked.splice(n,1),e.unlinkDoc(t),bo(_o(t));break}if(e.history==this.history){var r=[e.id];Ci(e,(function(e){return r.push(e.id)}),!0),e.history=new wi(null),e.history.done=Fi(this.history.done,r),e.history.undone=Fi(this.history.undone,r)}},iterLinkedDocs:function(e){Ci(this,e)},getMode:function(){return this.mode},getEditor:function(){return this.cm},splitLines:function(e){return this.lineSep?e.split(this.lineSep):St(e)},lineSeparator:function(){return this.lineSep||"\n"},setDirection:Zr((function(e){var t;"rtl"!=e&&(e="ltr"),e!=this.direction&&(this.direction=e,this.iter((function(e){return e.order=null})),this.cm&&Kr(t=this.cm,(function(){Ri(t),Qr(t)})))}))}),To.prototype.eachLine=To.prototype.iter;var xo=0;function So(e){var t=this;if(Co(t),!lt(t,e)&&!Sn(t.display,e)){pt(e),a&&(xo=+new Date);var n=sr(t,e,!0),r=e.dataTransfer.files;if(n&&!t.isReadOnly())if(r&&r.length&&window.FileReader&&window.File)for(var i=r.length,o=Array(i),s=0,l=function(e,r){if(!t.options.allowDropFileTypes||-1!=U(t.options.allowDropFileTypes,e.type)){var a=new FileReader;a.onload=qr(t,(function(){var e=a.result;if(/[\x00-\x08\x0e-\x1f]{2}/.test(e)&&(e=""),o[r]=e,++s==i){var l={from:n=xe(t.doc,n),to:n,text:t.doc.splitLines(o.join(t.doc.lineSeparator())),origin:"paste"};eo(t.doc,l),Yi(t.doc,gi(n,yi(l)))}})),a.readAsText(e)}},c=0;c<i;++c)l(r[c],c);else{if(t.state.draggingText&&t.doc.sel.contains(n)>-1)return t.state.draggingText(e),void setTimeout((function(){return t.display.input.focus()}),20);try{var u=e.dataTransfer.getData("Text");if(u){var h;if(t.state.draggingText&&!t.state.draggingText.copy&&(h=t.listSelections()),$i(t.doc,gi(n,n)),h)for(var p=0;p<h.length;++p)oo(t.doc,"",h[p].anchor,h[p].head,"drag");t.replaceSelection(u,"around","paste"),t.display.input.focus()}}catch(e){}}}}function Co(e){e.display.dragCursor&&(e.display.lineSpace.removeChild(e.display.dragCursor),e.display.dragCursor=null)}function Ao(e){if(document.body.getElementsByClassName)for(var t=document.body.getElementsByClassName("CodeMirror"),n=0;n<t.length;n++){var r=t[n].CodeMirror;r&&e(r)}}var Ro=!1;function wo(){var e;Ro||(it(window,"resize",(function(){null==e&&(e=setTimeout((function(){e=null,Ao(Lo)}),100))})),it(window,"blur",(function(){return Ao(gr)})),Ro=!0)}function Lo(e){var t=e.display;t.lastWrapHeight==t.wrapper.clientHeight&&t.lastWrapWidth==t.wrapper.clientWidth||(t.cachedCharWidth=t.cachedTextHeight=t.cachedPaddingH=null,t.scrollbarsClipped=!1,e.setSize())}for(var Oo={3:"Enter",8:"Backspace",9:"Tab",13:"Enter",16:"Shift",17:"Ctrl",18:"Alt",19:"Pause",20:"CapsLock",27:"Esc",32:"Space",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"Left",38:"Up",39:"Right",40:"Down",44:"PrintScrn",45:"Insert",46:"Delete",59:";",61:"=",91:"Mod",92:"Mod",93:"Mod",106:"*",107:"=",109:"-",110:".",111:"/",127:"Delete",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'",63232:"Up",63233:"Down",63234:"Left",63235:"Right",63272:"Delete",63273:"Home",63275:"End",63276:"PageUp",63277:"PageDown",63302:"Insert"},No=0;No<10;No++)Oo[No+48]=Oo[No+96]=String(No);for(var Io=65;Io<=90;Io++)Oo[Io]=String.fromCharCode(Io);for(var ko=1;ko<=12;ko++)Oo[ko+111]=Oo[ko+63235]="F"+ko;var Do={};function Po(e){var t,n,r,i,o=e.split(/-(?!$)/);e=o[o.length-1];for(var a=0;a<o.length-1;a++){var s=o[a];if(/^(cmd|meta|m)$/i.test(s))i=!0;else if(/^a(lt)?$/i.test(s))t=!0;else if(/^(c|ctrl|control)$/i.test(s))n=!0;else{if(!/^s(hift)?$/i.test(s))throw new Error("Unrecognized modifier name: "+s);r=!0}}return t&&(e="Alt-"+e),n&&(e="Ctrl-"+e),i&&(e="Cmd-"+e),r&&(e="Shift-"+e),e}function Mo(e){var t={};for(var n in e)if(e.hasOwnProperty(n)){var r=e[n];if(/^(name|fallthrough|(de|at)tach)$/.test(n))continue;if("..."==r){delete e[n];continue}for(var i=X(n.split(" "),Po),o=0;o<i.length;o++){var a=void 0,s=void 0;o==i.length-1?(s=i.join(" "),a=r):(s=i.slice(0,o+1).join(" "),a="...");var l=t[s];if(l){if(l!=a)throw new Error("Inconsistent bindings for "+s)}else t[s]=a}delete e[n]}for(var c in t)e[c]=t[c];return e}function Fo(e,t,n,r){var i=(t=Uo(t)).call?t.call(e,r):t[e];if(!1===i)return"nothing";if("..."===i)return"multi";if(null!=i&&n(i))return"handled";if(t.fallthrough){if("[object Array]"!=Object.prototype.toString.call(t.fallthrough))return Fo(e,t.fallthrough,n,r);for(var o=0;o<t.fallthrough.length;o++){var a=Fo(e,t.fallthrough[o],n,r);if(a)return a}}}function Ho(e){var t="string"==typeof e?e:Oo[e.keyCode];return"Ctrl"==t||"Alt"==t||"Shift"==t||"Mod"==t}function Bo(e,t){if(h&&34==e.keyCode&&e.char)return!1;var n=Oo[e.keyCode],r=n;return null!=r&&!e.altGraphKey&&(e.altKey&&"Alt"!=n&&(r="Alt-"+r),(T?e.metaKey:e.ctrlKey)&&"Ctrl"!=n&&(r="Ctrl-"+r),(T?e.ctrlKey:e.metaKey)&&"Cmd"!=n&&(r="Cmd-"+r),!t&&e.shiftKey&&"Shift"!=n&&(r="Shift-"+r),r)}function Uo(e){return"string"==typeof e?Do[e]:e}function jo(e,t){for(var n=e.doc.sel.ranges,r=[],i=0;i<n.length;i++){for(var o=t(n[i]);r.length&&ye(o.from,q(r).to)<=0;){var a=r.pop();if(ye(a.from,o.from)<0){o.from=a.from;break}}r.push(o)}Kr(e,(function(){for(var t=r.length-1;t>=0;t--)oo(e.doc,"",r[t].from,r[t].to,"+delete");Hr(e)}))}Do.basic={Left:"goCharLeft",Right:"goCharRight",Up:"goLineUp",Down:"goLineDown",End:"goLineEnd",Home:"goLineStartSmart",PageUp:"goPageUp",PageDown:"goPageDown",Delete:"delCharAfter",Backspace:"delCharBefore","Shift-Backspace":"delCharBefore",Tab:"defaultTab","Shift-Tab":"indentAuto",Enter:"newlineAndIndent",Insert:"toggleOverwrite",Esc:"singleSelection"},Do.pcDefault={"Ctrl-A":"selectAll","Ctrl-D":"deleteLine","Ctrl-Z":"undo","Shift-Ctrl-Z":"redo","Ctrl-Y":"redo","Ctrl-Home":"goDocStart","Ctrl-End":"goDocEnd","Ctrl-Up":"goLineUp","Ctrl-Down":"goLineDown","Ctrl-Left":"goGroupLeft","Ctrl-Right":"goGroupRight","Alt-Left":"goLineStart","Alt-Right":"goLineEnd","Ctrl-Backspace":"delGroupBefore","Ctrl-Delete":"delGroupAfter","Ctrl-S":"save","Ctrl-F":"find","Ctrl-G":"findNext","Shift-Ctrl-G":"findPrev","Shift-Ctrl-F":"replace","Shift-Ctrl-R":"replaceAll","Ctrl-[":"indentLess","Ctrl-]":"indentMore","Ctrl-U":"undoSelection","Shift-Ctrl-U":"redoSelection","Alt-U":"redoSelection",fallthrough:"basic"},Do.emacsy={"Ctrl-F":"goCharRight","Ctrl-B":"goCharLeft","Ctrl-P":"goLineUp","Ctrl-N":"goLineDown","Alt-F":"goWordRight","Alt-B":"goWordLeft","Ctrl-A":"goLineStart","Ctrl-E":"goLineEnd","Ctrl-V":"goPageDown","Shift-Ctrl-V":"goPageUp","Ctrl-D":"delCharAfter","Ctrl-H":"delCharBefore","Alt-D":"delWordAfter","Alt-Backspace":"delWordBefore","Ctrl-K":"killLine","Ctrl-T":"transposeChars","Ctrl-O":"openLine"},Do.macDefault={"Cmd-A":"selectAll","Cmd-D":"deleteLine","Cmd-Z":"undo","Shift-Cmd-Z":"redo","Cmd-Y":"redo","Cmd-Home":"goDocStart","Cmd-Up":"goDocStart","Cmd-End":"goDocEnd","Cmd-Down":"goDocEnd","Alt-Left":"goGroupLeft","Alt-Right":"goGroupRight","Cmd-Left":"goLineLeft","Cmd-Right":"goLineRight","Alt-Backspace":"delGroupBefore","Ctrl-Alt-Backspace":"delGroupAfter","Alt-Delete":"delGroupAfter","Cmd-S":"save","Cmd-F":"find","Cmd-G":"findNext","Shift-Cmd-G":"findPrev","Cmd-Alt-F":"replace","Shift-Cmd-Alt-F":"replaceAll","Cmd-[":"indentLess","Cmd-]":"indentMore","Cmd-Backspace":"delWrappedLineLeft","Cmd-Delete":"delWrappedLineRight","Cmd-U":"undoSelection","Shift-Cmd-U":"redoSelection","Ctrl-Up":"goDocStart","Ctrl-Down":"goDocEnd",fallthrough:["basic","emacsy"]},Do.default=v?Do.macDefault:Do.pcDefault;var Go={selectAll:Qi,singleSelection:function(e){return e.setSelection(e.getCursor("anchor"),e.getCursor("head"),Y)},killLine:function(e){return jo(e,(function(t){if(t.empty()){var n=le(e.doc,t.head.line).text.length;return t.head.ch==n&&t.head.line<e.lastLine()?{from:t.head,to:ge(t.head.line+1,0)}:{from:t.head,to:ge(t.head.line,n)}}return{from:t.from(),to:t.to()}}))},deleteLine:function(e){return jo(e,(function(t){return{from:ge(t.from().line,0),to:xe(e.doc,ge(t.to().line+1,0))}}))},delLineLeft:function(e){return jo(e,(function(e){return{from:ge(e.from().line,0),to:e.from()}}))},delWrappedLineLeft:function(e){return jo(e,(function(t){var n=e.charCoords(t.head,"div").top+5;return{from:e.coordsChar({left:0,top:n},"div"),to:t.from()}}))},delWrappedLineRight:function(e){return jo(e,(function(t){var n=e.charCoords(t.head,"div").top+5,r=e.coordsChar({left:e.display.lineDiv.offsetWidth+100,top:n},"div");return{from:t.from(),to:r}}))},undo:function(e){return e.undo()},redo:function(e){return e.redo()},undoSelection:function(e){return e.undoSelection()},redoSelection:function(e){return e.redoSelection()},goDocStart:function(e){return e.extendSelection(ge(e.firstLine(),0))},goDocEnd:function(e){return e.extendSelection(ge(e.lastLine()))},goLineStart:function(e){return e.extendSelectionsBy((function(t){return Yo(e,t.head.line)}),{origin:"+move",bias:1})},goLineStartSmart:function(e){return e.extendSelectionsBy((function(t){return zo(e,t.head)}),{origin:"+move",bias:1})},goLineEnd:function(e){return e.extendSelectionsBy((function(t){return function(e,t){var n=le(e.doc,t),r=function(e){for(var t;t=Be(e);)e=t.find(1,!0).line;return e}(n);return r!=n&&(t=pe(r)),tt(!0,e,n,t,-1)}(e,t.head.line)}),{origin:"+move",bias:-1})},goLineRight:function(e){return e.extendSelectionsBy((function(t){var n=e.charCoords(t.head,"div").top+5;return e.coordsChar({left:e.display.lineDiv.offsetWidth+100,top:n},"div")}),$)},goLineLeft:function(e){return e.extendSelectionsBy((function(t){var n=e.charCoords(t.head,"div").top+5;return e.coordsChar({left:0,top:n},"div")}),$)},goLineLeftSmart:function(e){return e.extendSelectionsBy((function(t){var n=e.charCoords(t.head,"div").top+5,r=e.coordsChar({left:0,top:n},"div");return r.ch<e.getLine(r.line).search(/\S/)?zo(e,t.head):r}),$)},goLineUp:function(e){return e.moveV(-1,"line")},goLineDown:function(e){return e.moveV(1,"line")},goPageUp:function(e){return e.moveV(-1,"page")},goPageDown:function(e){return e.moveV(1,"page")},goCharLeft:function(e){return e.moveH(-1,"char")},goCharRight:function(e){return e.moveH(1,"char")},goColumnLeft:function(e){return e.moveH(-1,"column")},goColumnRight:function(e){return e.moveH(1,"column")},goWordLeft:function(e){return e.moveH(-1,"word")},goGroupRight:function(e){return e.moveH(1,"group")},goGroupLeft:function(e){return e.moveH(-1,"group")},goWordRight:function(e){return e.moveH(1,"word")},delCharBefore:function(e){return e.deleteH(-1,"char")},delCharAfter:function(e){return e.deleteH(1,"char")},delWordBefore:function(e){return e.deleteH(-1,"word")},delWordAfter:function(e){return e.deleteH(1,"word")},delGroupBefore:function(e){return e.deleteH(-1,"group")},delGroupAfter:function(e){return e.deleteH(1,"group")},indentAuto:function(e){return e.indentSelection("smart")},indentMore:function(e){return e.indentSelection("add")},indentLess:function(e){return e.indentSelection("subtract")},insertTab:function(e){return e.replaceSelection("\t")},insertSoftTab:function(e){for(var t=[],n=e.listSelections(),r=e.options.tabSize,i=0;i<n.length;i++){var o=n[i].from(),a=H(e.getLine(o.line),o.ch,r);t.push(K(r-a%r))}e.replaceSelections(t)},defaultTab:function(e){e.somethingSelected()?e.indentSelection("add"):e.execCommand("insertTab")},transposeChars:function(e){return Kr(e,(function(){for(var t=e.listSelections(),n=[],r=0;r<t.length;r++)if(t[r].empty()){var i=t[r].head,o=le(e.doc,i.line).text;if(o)if(i.ch==o.length&&(i=new ge(i.line,i.ch-1)),i.ch>0)i=new ge(i.line,i.ch+1),e.replaceRange(o.charAt(i.ch-1)+o.charAt(i.ch-2),ge(i.line,i.ch-2),i,"+transpose");else if(i.line>e.doc.first){var a=le(e.doc,i.line-1).text;a&&(i=new ge(i.line,1),e.replaceRange(o.charAt(0)+e.doc.lineSeparator()+a.charAt(a.length-1),ge(i.line-1,a.length-1),i,"+transpose"))}n.push(new fi(i,i))}e.setSelections(n)}))},newlineAndIndent:function(e){return Kr(e,(function(){for(var t=e.listSelections(),n=t.length-1;n>=0;n--)e.replaceRange(e.doc.lineSeparator(),t[n].anchor,t[n].head,"+input");t=e.listSelections();for(var r=0;r<t.length;r++)e.indentLine(t[r].from().line,null,!0);Hr(e)}))},openLine:function(e){return e.replaceSelection("\n","start")},toggleOverwrite:function(e){return e.toggleOverwrite()}};function Yo(e,t){var n=le(e.doc,t),r=je(n);return r!=n&&(t=pe(r)),tt(!0,e,r,t,1)}function zo(e,t){var n=Yo(e,t.line),r=le(e.doc,n.line),i=Qe(r,e.doc.direction);if(!i||0==i[0].level){var o=Math.max(0,r.text.search(/\S/)),a=t.line==n.line&&t.ch<=o&&t.ch;return ge(n.line,a?0:o,n.sticky)}return n}function $o(e,t,n){if("string"==typeof t&&!(t=Go[t]))return!1;e.display.input.ensurePolled();var r=e.display.shift,i=!1;try{e.isReadOnly()&&(e.state.suppressEdits=!0),n&&(e.display.shift=!1),i=t(e)!=G}finally{e.display.shift=r,e.state.suppressEdits=!1}return i}var Wo=new B;function Vo(e,t,n,r){var i=e.state.keySeq;if(i){if(Ho(t))return"handled";Wo.set(50,(function(){e.state.keySeq==i&&(e.state.keySeq=null,e.display.input.reset())})),t=i+" "+t}var o=function(e,t,n){for(var r=0;r<e.state.keyMaps.length;r++){var i=Fo(t,e.state.keyMaps[r],n,e);if(i)return i}return e.options.extraKeys&&Fo(t,e.options.extraKeys,n,e)||Fo(t,e.options.keyMap,n,e)}(e,t,r);return"multi"==o&&(e.state.keySeq=t),"handled"==o&&un(e,"keyHandled",e,t,n),"handled"!=o&&"multi"!=o||(pt(n),dr(e)),i&&!o&&/\'$/.test(t)?(pt(n),!0):!!o}function Ko(e,t){var n=Bo(t,!0);return!!n&&(t.shiftKey&&!e.state.keySeq?Vo(e,"Shift-"+n,t,(function(t){return $o(e,t,!0)}))||Vo(e,n,t,(function(t){if("string"==typeof t?/^go[A-Z]/.test(t):t.motion)return $o(e,t)})):Vo(e,n,t,(function(t){return $o(e,t)})))}var qo,Xo,Zo=null;function Qo(e){var t=this;if(t.curOp.focus=I(),!lt(t,e)){a&&s<11&&27==e.keyCode&&(e.returnValue=!1);var n=e.keyCode;t.display.shift=16==n||e.shiftKey;var r=Ko(t,e);h&&(Zo=r?n:null,r||88!=n||At||!(v?e.metaKey:e.ctrlKey)||t.replaceSelection("",null,"cut")),18!=n||/\bCodeMirror-crosshair\b/.test(t.display.lineDiv.className)||function(e){var t=e.display.lineDiv;function n(e){18!=e.keyCode&&e.altKey||(A(t,"CodeMirror-crosshair"),at(document,"keyup",n),at(document,"mouseover",n))}k(t,"CodeMirror-crosshair"),it(document,"keyup",n),it(document,"mouseover",n)}(t)}}function Jo(e){16==e.keyCode&&(this.doc.sel.shift=!1),lt(this,e)}function ea(e){var t=this;if(!(Sn(t.display,e)||lt(t,e)||e.ctrlKey&&!e.altKey||v&&e.metaKey)){var n=e.keyCode,r=e.charCode;if(h&&n==Zo)return Zo=null,void pt(e);if(!h||e.which&&!(e.which<10)||!Ko(t,e)){var i=String.fromCharCode(null==r?n:r);"\b"!=i&&(function(e,t,n){return Vo(e,"'"+n+"'",t,(function(t){return $o(e,t,!0)}))}(t,e,i)||t.display.input.onKeyPress(e))}}}function ta(e){var t=this,n=t.display;if(!(lt(t,e)||n.activeTouch&&n.input.supportsTouch()))if(n.input.ensurePolled(),n.shift=e.shiftKey,Sn(n,e))l||(n.scroller.draggable=!1,setTimeout((function(){return n.scroller.draggable=!0}),100));else if(!ra(t,e)){var r=sr(t,e);switch(window.focus(),yt(e)){case 1:t.state.selectingText?t.state.selectingText(e):r?function(e,t,n){a?setTimeout(M(fr,e),0):e.curOp.focus=I();var r,i=+new Date;Xo&&Xo.time>i-400&&0==ye(Xo.pos,n)?r="triple":qo&&qo.time>i-400&&0==ye(qo.pos,n)?(r="double",Xo={time:i,pos:n}):(r="single",qo={time:i,pos:n});var o,c=e.doc.sel,u=v?t.metaKey:t.ctrlKey;e.options.dragDrop&&bt&&!e.isReadOnly()&&"single"==r&&(o=c.contains(n))>-1&&(ye((o=c.ranges[o]).from(),n)<0||n.xRel>0)&&(ye(o.to(),n)>0||n.xRel<0)?function(e,t,n,r){var i=e.display,o=+new Date,c=qr(e,(function(u){l&&(i.scroller.draggable=!1),e.state.draggingText=!1,at(document,"mouseup",c),at(i.scroller,"drop",c),Math.abs(t.clientX-u.clientX)+Math.abs(t.clientY-u.clientY)<10&&(pt(u),!r&&+new Date-200<o&&Bi(e.doc,n),l||a&&9==s?setTimeout((function(){document.body.focus(),i.input.focus()}),20):i.input.focus())}));l&&(i.scroller.draggable=!0),e.state.draggingText=c,c.copy=v?t.altKey:t.ctrlKey,i.scroller.dragDrop&&i.scroller.dragDrop(),it(document,"mouseup",c),it(i.scroller,"drop",c)}(e,t,n,u):function(e,t,n,r,i){var o=e.display,a=e.doc;pt(t);var s,l,c=a.sel,u=c.ranges;if(i&&!t.shiftKey?(l=a.sel.contains(n),s=l>-1?u[l]:new fi(n,n)):(s=a.sel.primary(),l=a.sel.primIndex),_?t.shiftKey&&t.metaKey:t.altKey)r="rect",i||(s=new fi(n,n)),n=sr(e,t,!0,!0),l=-1;else if("double"==r){var h=e.findWordAt(n);s=e.display.shift||a.extend?Hi(a,s,h.anchor,h.head):h}else if("triple"==r){var p=new fi(ge(n.line,0),xe(a,ge(n.line+1,0)));s=e.display.shift||a.extend?Hi(a,s,p.anchor,p.head):p}else s=Hi(a,s,n);i?-1==l?(l=u.length,zi(a,mi(u.concat([s]),l),{scroll:!1,origin:"*mouse"})):u.length>1&&u[l].empty()&&"single"==r&&!t.shiftKey?(zi(a,mi(u.slice(0,l).concat(u.slice(l+1)),0),{scroll:!1,origin:"*mouse"}),c=a.sel):ji(a,l,s,z):(l=0,zi(a,new di([s],0),z),c=a.sel);var d=n;function f(t){if(0!=ye(d,t))if(d=t,"rect"==r){for(var i=[],o=e.options.tabSize,u=H(le(a,n.line).text,n.ch,o),h=H(le(a,t.line).text,t.ch,o),p=Math.min(u,h),f=Math.max(u,h),m=Math.min(n.line,t.line),g=Math.min(e.lastLine(),Math.max(n.line,t.line));m<=g;m++){var y=le(a,m).text,v=W(y,p,o);p==f?i.push(new fi(ge(m,v),ge(m,v))):y.length>v&&i.push(new fi(ge(m,v),ge(m,W(y,f,o))))}i.length||i.push(new fi(n,n)),zi(a,mi(c.ranges.slice(0,l).concat(i),l),{origin:"*mouse",scroll:!1}),e.scrollIntoView(t)}else{var _,b=s,E=b.anchor,T=t;"single"!=r&&(ye((_="double"==r?e.findWordAt(t):new fi(ge(t.line,0),xe(a,ge(t.line+1,0)))).anchor,E)>0?(T=_.head,E=Ee(b.from(),_.anchor)):(T=_.anchor,E=be(b.to(),_.head)));var x=c.ranges.slice(0);x[l]=new fi(xe(a,E),T),zi(a,mi(x,l),z)}}var m=o.wrapper.getBoundingClientRect(),g=0;function y(t){var n=++g,i=sr(e,t,!0,"rect"==r);if(i)if(0!=ye(i,d)){e.curOp.focus=I(),f(i);var s=Er(o,a);(i.line>=s.to||i.line<s.from)&&setTimeout(qr(e,(function(){g==n&&y(t)})),150)}else{var l=t.clientY<m.top?-20:t.clientY>m.bottom?20:0;l&&setTimeout(qr(e,(function(){g==n&&(o.scroller.scrollTop+=l,y(t))})),50)}}function v(t){e.state.selectingText=!1,g=1/0,pt(t),o.input.focus(),at(document,"mousemove",b),at(document,"mouseup",E),a.history.lastSelOrigin=null}var b=qr(e,(function(e){yt(e)?y(e):v(e)})),E=qr(e,v);e.state.selectingText=E,it(document,"mousemove",b),it(document,"mouseup",E)}(e,t,n,r,u)}(t,e,r):gt(e)==n.scroller&&pt(e);break;case 2:l&&(t.state.lastMiddleDown=+new Date),r&&Bi(t.doc,r),setTimeout((function(){return n.input.focus()}),20),pt(e);break;case 3:x?ia(t,e):function(e){e.state.delayingBlurEvent=!0,setTimeout((function(){e.state.delayingBlurEvent&&(e.state.delayingBlurEvent=!1,gr(e))}),100)}(t)}}}function na(e,t,n,r){var i,o;try{i=t.clientX,o=t.clientY}catch(t){return!1}if(i>=Math.floor(e.display.gutters.getBoundingClientRect().right))return!1;r&&pt(t);var a=e.display,s=a.lineDiv.getBoundingClientRect();if(o>s.bottom||!ut(e,n))return ft(t);o-=s.top-a.viewOffset;for(var l=0;l<e.options.gutters.length;++l){var c=a.gutters.childNodes[l];if(c&&c.getBoundingClientRect().right>=i)return st(e,n,e,de(e.doc,o),e.options.gutters[l],t),ft(t)}}function ra(e,t){return na(e,t,"gutterClick",!0)}function ia(e,t){Sn(e.display,t)||function(e,t){return!!ut(e,"gutterContextMenu")&&na(e,t,"gutterContextMenu",!1)}(e,t)||lt(e,t,"contextmenu")||e.display.input.onContextMenu(t)}function oa(e){e.display.wrapper.className=e.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+e.options.theme.replace(/(^|\s)\s*/g," cm-s-"),Gn(e)}var aa={toString:function(){return"CodeMirror.Init"}},sa={},la={};function ca(e){hi(e),Qr(e),yr(e)}function ua(e,t,n){if(!t!=!(n&&n!=aa)){var r=e.display.dragFunctions,i=t?it:at;i(e.display.scroller,"dragstart",r.start),i(e.display.scroller,"dragenter",r.enter),i(e.display.scroller,"dragover",r.over),i(e.display.scroller,"dragleave",r.leave),i(e.display.scroller,"drop",r.drop)}}function ha(e){e.options.lineWrapping?(k(e.display.wrapper,"CodeMirror-wrap"),e.display.sizer.style.minWidth="",e.display.sizerWidth=null):(A(e.display.wrapper,"CodeMirror-wrap"),Ke(e)),ar(e),Qr(e),Gn(e),setTimeout((function(){return Ir(e)}),100)}function pa(e,t){var n=this;if(!(this instanceof pa))return new pa(e,t);this.options=t=t?F(t):{},F(sa,t,!1),pi(t);var r=t.value;"string"==typeof r&&(r=new To(r,t.mode,null,t.lineSeparator,t.direction)),this.doc=r;var i=new pa.inputStyles[t.inputStyle](this),o=this.display=new se(e,r,i);for(var c in o.wrapper.CodeMirror=this,hi(this),oa(this),t.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),Pr(this),this.state={keyMaps:[],overlays:[],modeGen:0,overwrite:!1,delayingBlurEvent:!1,focused:!1,suppressEdits:!1,pasteIncoming:!1,cutIncoming:!1,selectingText:!1,draggingText:!1,highlight:new B,keySeq:null,specialChars:null},t.autofocus&&!y&&o.input.focus(),a&&s<11&&setTimeout((function(){return n.display.input.reset(!0)}),20),function(e){var t=e.display;it(t.scroller,"mousedown",qr(e,ta)),it(t.scroller,"dblclick",a&&s<11?qr(e,(function(t){if(!lt(e,t)){var n=sr(e,t);if(n&&!ra(e,t)&&!Sn(e.display,t)){pt(t);var r=e.findWordAt(n);Bi(e.doc,r.anchor,r.head)}}})):function(t){return lt(e,t)||pt(t)}),x||it(t.scroller,"contextmenu",(function(t){return ia(e,t)}));var n,r={end:0};function i(){t.activeTouch&&(n=setTimeout((function(){return t.activeTouch=null}),1e3),(r=t.activeTouch).end=+new Date)}function o(e){if(1!=e.touches.length)return!1;var t=e.touches[0];return t.radiusX<=1&&t.radiusY<=1}function l(e,t){if(null==t.left)return!0;var n=t.left-e.left,r=t.top-e.top;return n*n+r*r>400}it(t.scroller,"touchstart",(function(i){if(!lt(e,i)&&!o(i)){t.input.ensurePolled(),clearTimeout(n);var a=+new Date;t.activeTouch={start:a,moved:!1,prev:a-r.end<=300?r:null},1==i.touches.length&&(t.activeTouch.left=i.touches[0].pageX,t.activeTouch.top=i.touches[0].pageY)}})),it(t.scroller,"touchmove",(function(){t.activeTouch&&(t.activeTouch.moved=!0)})),it(t.scroller,"touchend",(function(n){var r=t.activeTouch;if(r&&!Sn(t,n)&&null!=r.left&&!r.moved&&new Date-r.start<300){var o,a=e.coordsChar(t.activeTouch,"page");o=!r.prev||l(r,r.prev)?new fi(a,a):!r.prev.prev||l(r,r.prev.prev)?e.findWordAt(a):new fi(ge(a.line,0),xe(e.doc,ge(a.line+1,0))),e.setSelection(o.anchor,o.head),e.focus(),pt(n)}i()})),it(t.scroller,"touchcancel",i),it(t.scroller,"scroll",(function(){t.scroller.clientHeight&&(Tr(e,t.scroller.scrollTop),xr(e,t.scroller.scrollLeft,!0),st(e,"scroll",e))})),it(t.scroller,"mousewheel",(function(t){return wr(e,t)})),it(t.scroller,"DOMMouseScroll",(function(t){return wr(e,t)})),it(t.wrapper,"scroll",(function(){return t.wrapper.scrollTop=t.wrapper.scrollLeft=0})),t.dragFunctions={enter:function(t){lt(e,t)||mt(t)},over:function(t){lt(e,t)||(function(e,t){var n=sr(e,t);if(n){var r=document.createDocumentFragment();hr(e,n,r),e.display.dragCursor||(e.display.dragCursor=L("div",null,"CodeMirror-cursors CodeMirror-dragcursors"),e.display.lineSpace.insertBefore(e.display.dragCursor,e.display.cursorDiv)),w(e.display.dragCursor,r)}}(e,t),mt(t))},start:function(t){return function(e,t){if(a&&(!e.state.draggingText||+new Date-xo<100))mt(t);else if(!lt(e,t)&&!Sn(e.display,t)&&(t.dataTransfer.setData("Text",e.getSelection()),t.dataTransfer.effectAllowed="copyMove",t.dataTransfer.setDragImage&&!p)){var n=L("img",null,null,"position: fixed; left: 0; top: 0;");n.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",h&&(n.width=n.height=1,e.display.wrapper.appendChild(n),n._top=n.offsetTop),t.dataTransfer.setDragImage(n,0,0),h&&n.parentNode.removeChild(n)}}(e,t)},drop:qr(e,So),leave:function(t){lt(e,t)||Co(e)}};var c=t.input.getField();it(c,"keyup",(function(t){return Jo.call(e,t)})),it(c,"keydown",qr(e,Qo)),it(c,"keypress",qr(e,ea)),it(c,"focus",(function(t){return mr(e,t)})),it(c,"blur",(function(t){return gr(e,t)}))}(this),wo(),jr(this),this.curOp.forceUpdate=!0,Ai(this,r),t.autofocus&&!y||this.hasFocus()?setTimeout(M(mr,this),20):gr(this),la)la.hasOwnProperty(c)&&la[c](n,t[c],aa);vr(this),t.finishInit&&t.finishInit(this);for(var u=0;u<da.length;++u)da[u](n);Gr(this),l&&t.lineWrapping&&"optimizelegibility"==getComputedStyle(o.lineDiv).textRendering&&(o.lineDiv.style.textRendering="auto")}pa.defaults=sa,pa.optionHandlers=la;var da=[];function fa(e,t,n,r){var i,o=e.doc;null==n&&(n="add"),"smart"==n&&(o.mode.indent?i=jt(e,t):n="prev");var a=e.options.tabSize,s=le(o,t),l=H(s.text,null,a);s.stateAfter&&(s.stateAfter=null);var c,u=s.text.match(/^\s*/)[0];if(r||/\S/.test(s.text)){if("smart"==n&&((c=o.mode.indent(i,s.text.slice(u.length),s.text))==G||c>150)){if(!r)return;n="prev"}}else c=0,n="not";"prev"==n?c=t>o.first?H(le(o,t-1).text,null,a):0:"add"==n?c=l+e.options.indentUnit:"subtract"==n?c=l-e.options.indentUnit:"number"==typeof n&&(c=l+n),c=Math.max(0,c);var h="",p=0;if(e.options.indentWithTabs)for(var d=Math.floor(c/a);d;--d)p+=a,h+="\t";if(p<c&&(h+=K(c-p)),h!=u)return oo(o,h,ge(t,0),ge(t,u.length),"+input"),s.stateAfter=null,!0;for(var f=0;f<o.sel.ranges.length;f++){var m=o.sel.ranges[f];if(m.head.line==t&&m.head.ch<u.length){var g=ge(t,u.length);ji(o,f,new fi(g,g));break}}}pa.defineInitHook=function(e){return da.push(e)};var ma=null;function ga(e){ma=e}function ya(e,t,n,r,i){var o=e.doc;e.display.shift=!1,r||(r=o.sel);var a,s=e.state.pasteIncoming||"paste"==i,l=St(t),c=null;if(s&&r.ranges.length>1)if(ma&&ma.text.join("\n")==t){if(r.ranges.length%ma.text.length==0){c=[];for(var u=0;u<ma.text.length;u++)c.push(o.splitLines(ma.text[u]))}}else l.length==r.ranges.length&&(c=X(l,(function(e){return[e]})));for(var h=r.ranges.length-1;h>=0;h--){var p=r.ranges[h],d=p.from(),f=p.to();p.empty()&&(n&&n>0?d=ge(d.line,d.ch-n):e.state.overwrite&&!s?f=ge(f.line,Math.min(le(o,f.line).text.length,f.ch+q(l).length)):ma&&ma.lineWise&&ma.text.join("\n")==t&&(d=f=ge(d.line,0))),a=e.curOp.updateInput;var m={from:d,to:f,text:c?c[h%c.length]:l,origin:i||(s?"paste":e.state.cutIncoming?"cut":"+input")};eo(e.doc,m),un(e,"inputRead",e,m)}t&&!s&&_a(e,t),Hr(e),e.curOp.updateInput=a,e.curOp.typing=!0,e.state.pasteIncoming=e.state.cutIncoming=!1}function va(e,t){var n=e.clipboardData&&e.clipboardData.getData("Text");if(n)return e.preventDefault(),t.isReadOnly()||t.options.disableInput||Kr(t,(function(){return ya(t,n,0,null,"paste")})),!0}function _a(e,t){if(e.options.electricChars&&e.options.smartIndent)for(var n=e.doc.sel,r=n.ranges.length-1;r>=0;r--){var i=n.ranges[r];if(!(i.head.ch>100||r&&n.ranges[r-1].head.line==i.head.line)){var o=e.getModeAt(i.head),a=!1;if(o.electricChars){for(var s=0;s<o.electricChars.length;s++)if(t.indexOf(o.electricChars.charAt(s))>-1){a=fa(e,i.head.line,"smart");break}}else o.electricInput&&o.electricInput.test(le(e.doc,i.head.line).text.slice(0,i.head.ch))&&(a=fa(e,i.head.line,"smart"));a&&un(e,"electricInput",e,i.head.line)}}}function ba(e){for(var t=[],n=[],r=0;r<e.doc.sel.ranges.length;r++){var i=e.doc.sel.ranges[r].head.line,o={anchor:ge(i,0),head:ge(i+1,0)};n.push(o),t.push(e.getRange(o.anchor,o.head))}return{text:t,ranges:n}}function Ea(e,t){e.setAttribute("autocorrect","off"),e.setAttribute("autocapitalize","off"),e.setAttribute("spellcheck",!!t)}function Ta(){var e=L("textarea",null,null,"position: absolute; bottom: -1em; padding: 0; width: 1px; height: 1em; outline: none"),t=L("div",[e],null,"overflow: hidden; position: relative; width: 3px; height: 0px;");return l?e.style.width="1000px":e.setAttribute("wrap","off"),m&&(e.style.border="1px solid black"),Ea(e),t}function xa(e,t,n,r,i){var o=t,a=n,s=le(e,t.line);function l(r){var o,a;if(null==(o=i?nt(e.cm,s,t,n):et(s,t,n))){if(r||((a=t.line+n)<e.first||a>=e.first+e.size||(t=new ge(a,t.ch,t.sticky),!(s=le(e,a)))))return!1;t=tt(i,e.cm,s,t.line,n)}else t=o;return!0}if("char"==r)l();else if("column"==r)l(!0);else if("word"==r||"group"==r)for(var c=null,u="group"==r,h=e.cm&&e.cm.getHelper(t,"wordChars"),p=!0;!(n<0)||l(!p);p=!1){var d=s.text.charAt(t.ch)||"\n",f=te(d,h)?"w":u&&"\n"==d?"n":!u||/\s/.test(d)?null:"p";if(!u||p||f||(f="s"),c&&c!=f){n<0&&(n=1,l(),t.sticky="after");break}if(f&&(c=f),n>0&&!l(!p))break}var m=Xi(e,t,o,a,!0);return ve(o,m)&&(m.hitSide=!0),m}function Sa(e,t,n,r){var i,o,a=e.doc,s=t.left;if("page"==r){var l=Math.min(e.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),c=Math.max(l-.5*tr(e.display),3);i=(n>0?t.bottom:t.top)+n*c}else"line"==r&&(i=n>0?t.bottom+3:t.top-3);for(;(o=Zn(e,s,i)).outside;){if(n<0?i<=0:i>=a.height){o.hitSide=!0;break}i+=5*n}return o}var Ca=function(e){this.cm=e,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new B,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};function Aa(e,t){var n=kn(e,t.line);if(!n||n.hidden)return null;var r=le(e.doc,t.line),i=Nn(n,r,t.line),o=Qe(r,e.doc.direction),a="left";o&&(a=Xe(o,t.ch)%2?"right":"left");var s=Hn(i.map,t.ch,a);return s.offset="right"==s.collapse?s.end:s.start,s}function Ra(e,t){return t&&(e.bad=!0),e}function wa(e,t,n){var r;if(t==e.display.lineDiv){if(!(r=e.display.lineDiv.childNodes[n]))return Ra(e.clipPos(ge(e.display.viewTo-1)),!0);t=null,n=0}else for(r=t;;r=r.parentNode){if(!r||r==e.display.lineDiv)return null;if(r.parentNode&&r.parentNode==e.display.lineDiv)break}for(var i=0;i<e.display.view.length;i++){var o=e.display.view[i];if(o.node==r)return La(o,t,n)}}function La(e,t,n){var r=e.text.firstChild,i=!1;if(!t||!N(r,t))return Ra(ge(pe(e.line),0),!0);if(t==r&&(i=!0,t=r.childNodes[n],n=0,!t)){var o=e.rest?q(e.rest):e.line;return Ra(ge(pe(o),o.text.length),i)}var a=3==t.nodeType?t:null,s=t;for(a||1!=t.childNodes.length||3!=t.firstChild.nodeType||(a=t.firstChild,n&&(n=a.nodeValue.length));s.parentNode!=r;)s=s.parentNode;var l=e.measure,c=l.maps;function u(t,n,r){for(var i=-1;i<(c?c.length:0);i++)for(var o=i<0?l.map:c[i],a=0;a<o.length;a+=3){var s=o[a+2];if(s==t||s==n){var u=pe(i<0?e.line:e.rest[i]),h=o[a]+r;return(r<0||s!=t)&&(h=o[a+(r?1:0)]),ge(u,h)}}}var h=u(a,s,n);if(h)return Ra(h,i);for(var p=s.nextSibling,d=a?a.nodeValue.length-n:0;p;p=p.nextSibling){if(h=u(p,p.firstChild,0))return Ra(ge(h.line,h.ch-d),i);d+=p.textContent.length}for(var f=s.previousSibling,m=n;f;f=f.previousSibling){if(h=u(f,f.firstChild,-1))return Ra(ge(h.line,h.ch+m),i);m+=f.textContent.length}}Ca.prototype.init=function(e){var t=this,n=this,r=n.cm,i=n.div=e.lineDiv;function o(e){if(!lt(r,e)){if(r.somethingSelected())ga({lineWise:!1,text:r.getSelections()}),"cut"==e.type&&r.replaceSelection("",null,"cut");else{if(!r.options.lineWiseCopyCut)return;var t=ba(r);ga({lineWise:!0,text:t.text}),"cut"==e.type&&r.operation((function(){r.setSelections(t.ranges,0,Y),r.replaceSelection("",null,"cut")}))}if(e.clipboardData){e.clipboardData.clearData();var o=ma.text.join("\n");if(e.clipboardData.setData("Text",o),e.clipboardData.getData("Text")==o)return void e.preventDefault()}var a=Ta(),s=a.firstChild;r.display.lineSpace.insertBefore(a,r.display.lineSpace.firstChild),s.value=ma.text.join("\n");var l=document.activeElement;P(s),setTimeout((function(){r.display.lineSpace.removeChild(a),l.focus(),l==i&&n.showPrimarySelection()}),50)}}Ea(i,r.options.spellcheck),it(i,"paste",(function(e){lt(r,e)||va(e,r)||s<=11&&setTimeout(qr(r,(function(){return t.updateFromDOM()})),20)})),it(i,"compositionstart",(function(e){t.composing={data:e.data,done:!1}})),it(i,"compositionupdate",(function(e){t.composing||(t.composing={data:e.data,done:!1})})),it(i,"compositionend",(function(e){t.composing&&(e.data!=t.composing.data&&t.readFromDOMSoon(),t.composing.done=!0)})),it(i,"touchstart",(function(){return n.forceCompositionEnd()})),it(i,"input",(function(){t.composing||t.readFromDOMSoon()})),it(i,"copy",o),it(i,"cut",o)},Ca.prototype.prepareSelection=function(){var e=ur(this.cm,!1);return e.focus=this.cm.state.focused,e},Ca.prototype.showSelection=function(e,t){e&&this.cm.display.view.length&&((e.focus||t)&&this.showPrimarySelection(),this.showMultipleSelections(e))},Ca.prototype.showPrimarySelection=function(){var e=window.getSelection(),t=this.cm.doc.sel.primary(),r=wa(this.cm,e.anchorNode,e.anchorOffset),i=wa(this.cm,e.focusNode,e.focusOffset);if(!r||r.bad||!i||i.bad||0!=ye(Ee(r,i),t.from())||0!=ye(be(r,i),t.to())){var o=Aa(this.cm,t.from()),a=Aa(this.cm,t.to());if(o||a){var s,l=this.cm.display.view,c=e.rangeCount&&e.getRangeAt(0);if(o){if(!a){var u=l[l.length-1].measure,h=u.maps?u.maps[u.maps.length-1]:u.map;a={node:h[h.length-1],offset:h[h.length-2]-h[h.length-3]}}}else o={node:l[0].measure.map[2],offset:0};try{s=C(o.node,o.offset,a.offset,a.node)}catch(e){}s&&(!n&&this.cm.state.focused?(e.collapse(o.node,o.offset),s.collapsed||(e.removeAllRanges(),e.addRange(s))):(e.removeAllRanges(),e.addRange(s)),c&&null==e.anchorNode?e.addRange(c):n&&this.startGracePeriod()),this.rememberSelection()}else e.removeAllRanges()}},Ca.prototype.startGracePeriod=function(){var e=this;clearTimeout(this.gracePeriod),this.gracePeriod=setTimeout((function(){e.gracePeriod=!1,e.selectionChanged()&&e.cm.operation((function(){return e.cm.curOp.selectionChanged=!0}))}),20)},Ca.prototype.showMultipleSelections=function(e){w(this.cm.display.cursorDiv,e.cursors),w(this.cm.display.selectionDiv,e.selection)},Ca.prototype.rememberSelection=function(){var e=window.getSelection();this.lastAnchorNode=e.anchorNode,this.lastAnchorOffset=e.anchorOffset,this.lastFocusNode=e.focusNode,this.lastFocusOffset=e.focusOffset},Ca.prototype.selectionInEditor=function(){var e=window.getSelection();if(!e.rangeCount)return!1;var t=e.getRangeAt(0).commonAncestorContainer;return N(this.div,t)},Ca.prototype.focus=function(){"nocursor"!=this.cm.options.readOnly&&(this.selectionInEditor()||this.showSelection(this.prepareSelection(),!0),this.div.focus())},Ca.prototype.blur=function(){this.div.blur()},Ca.prototype.getField=function(){return this.div},Ca.prototype.supportsTouch=function(){return!0},Ca.prototype.receivedFocus=function(){var e=this;this.selectionInEditor()?this.pollSelection():Kr(this.cm,(function(){return e.cm.curOp.selectionChanged=!0})),this.polling.set(this.cm.options.pollInterval,(function t(){e.cm.state.focused&&(e.pollSelection(),e.polling.set(e.cm.options.pollInterval,t))}))},Ca.prototype.selectionChanged=function(){var e=window.getSelection();return e.anchorNode!=this.lastAnchorNode||e.anchorOffset!=this.lastAnchorOffset||e.focusNode!=this.lastFocusNode||e.focusOffset!=this.lastFocusOffset},Ca.prototype.pollSelection=function(){if(null==this.readDOMTimeout&&!this.gracePeriod&&this.selectionChanged()){var e=window.getSelection(),t=this.cm;if(g&&u&&this.cm.options.gutters.length&&function(e){for(var t=e;t;t=t.parentNode)if(/CodeMirror-gutter-wrapper/.test(t.className))return!0;return!1}(e.anchorNode))return this.cm.triggerOnKeyDown({type:"keydown",keyCode:8,preventDefault:Math.abs}),this.blur(),void this.focus();if(!this.composing){this.rememberSelection();var n=wa(t,e.anchorNode,e.anchorOffset),r=wa(t,e.focusNode,e.focusOffset);n&&r&&Kr(t,(function(){zi(t.doc,gi(n,r),Y),(n.bad||r.bad)&&(t.curOp.selectionChanged=!0)}))}}},Ca.prototype.pollContent=function(){null!=this.readDOMTimeout&&(clearTimeout(this.readDOMTimeout),this.readDOMTimeout=null);var e,t,n,r=this.cm,i=r.display,o=r.doc.sel.primary(),a=o.from(),s=o.to();if(0==a.ch&&a.line>r.firstLine()&&(a=ge(a.line-1,le(r.doc,a.line-1).length)),s.ch==le(r.doc,s.line).text.length&&s.line<r.lastLine()&&(s=ge(s.line+1,0)),a.line<i.viewFrom||s.line>i.viewTo-1)return!1;a.line==i.viewFrom||0==(e=lr(r,a.line))?(t=pe(i.view[0].line),n=i.view[0].node):(t=pe(i.view[e].line),n=i.view[e-1].node.nextSibling);var l,c,u=lr(r,s.line);if(u==i.view.length-1?(l=i.viewTo-1,c=i.lineDiv.lastChild):(l=pe(i.view[u+1].line)-1,c=i.view[u+1].node.previousSibling),!n)return!1;for(var h=r.doc.splitLines(function(e,t,n,r,i){var o="",a=!1,s=e.doc.lineSeparator();function l(){a&&(o+=s,a=!1)}function c(e){e&&(l(),o+=e)}function u(t){if(1==t.nodeType){var n=t.getAttribute("cm-text");if(null!=n)return void c(n||t.textContent.replace(/\u200b/g,""));var o,h=t.getAttribute("cm-marker");if(h){var p=e.findMarks(ge(r,0),ge(i+1,0),(m=+h,function(e){return e.id==m}));return void(p.length&&(o=p[0].find())&&c(ce(e.doc,o.from,o.to).join(s)))}if("false"==t.getAttribute("contenteditable"))return;var d=/^(pre|div|p)$/i.test(t.nodeName);d&&l();for(var f=0;f<t.childNodes.length;f++)u(t.childNodes[f]);d&&(a=!0)}else 3==t.nodeType&&c(t.nodeValue);var m}for(;u(t),t!=n;)t=t.nextSibling;return o}(r,n,c,t,l)),p=ce(r.doc,ge(t,0),ge(l,le(r.doc,l).text.length));h.length>1&&p.length>1;)if(q(h)==q(p))h.pop(),p.pop(),l--;else{if(h[0]!=p[0])break;h.shift(),p.shift(),t++}for(var d=0,f=0,m=h[0],g=p[0],y=Math.min(m.length,g.length);d<y&&m.charCodeAt(d)==g.charCodeAt(d);)++d;for(var v=q(h),_=q(p),b=Math.min(v.length-(1==h.length?d:0),_.length-(1==p.length?d:0));f<b&&v.charCodeAt(v.length-f-1)==_.charCodeAt(_.length-f-1);)++f;if(1==h.length&&1==p.length&&t==a.line)for(;d&&d>a.ch&&v.charCodeAt(v.length-f-1)==_.charCodeAt(_.length-f-1);)d--,f++;h[h.length-1]=v.slice(0,v.length-f).replace(/^\u200b+/,""),h[0]=h[0].slice(d).replace(/\u200b+$/,"");var E=ge(t,d),T=ge(l,p.length?q(p).length-f:0);return h.length>1||h[0]||ye(E,T)?(oo(r.doc,h,E,T,"+input"),!0):void 0},Ca.prototype.ensurePolled=function(){this.forceCompositionEnd()},Ca.prototype.reset=function(){this.forceCompositionEnd()},Ca.prototype.forceCompositionEnd=function(){this.composing&&(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},Ca.prototype.readFromDOMSoon=function(){var e=this;null==this.readDOMTimeout&&(this.readDOMTimeout=setTimeout((function(){if(e.readDOMTimeout=null,e.composing){if(!e.composing.done)return;e.composing=null}e.updateFromDOM()}),80))},Ca.prototype.updateFromDOM=function(){var e=this;!this.cm.isReadOnly()&&this.pollContent()||Kr(this.cm,(function(){return Qr(e.cm)}))},Ca.prototype.setUneditable=function(e){e.contentEditable="false"},Ca.prototype.onKeyPress=function(e){0!=e.charCode&&(e.preventDefault(),this.cm.isReadOnly()||qr(this.cm,ya)(this.cm,String.fromCharCode(null==e.charCode?e.keyCode:e.charCode),0))},Ca.prototype.readOnlyChanged=function(e){this.div.contentEditable=String("nocursor"!=e)},Ca.prototype.onContextMenu=function(){},Ca.prototype.resetPosition=function(){},Ca.prototype.needsContentAttribute=!0;var Oa=function(e){this.cm=e,this.prevInput="",this.pollingFast=!1,this.polling=new B,this.inaccurateSelection=!1,this.hasSelection=!1,this.composing=null};Oa.prototype.init=function(e){var t=this,n=this,r=this.cm,i=this.wrapper=Ta(),o=this.textarea=i.firstChild;function l(e){if(!lt(r,e)){if(r.somethingSelected())ga({lineWise:!1,text:r.getSelections()}),n.inaccurateSelection&&(n.prevInput="",n.inaccurateSelection=!1,o.value=ma.text.join("\n"),P(o));else{if(!r.options.lineWiseCopyCut)return;var t=ba(r);ga({lineWise:!0,text:t.text}),"cut"==e.type?r.setSelections(t.ranges,null,Y):(n.prevInput="",o.value=t.text.join("\n"),P(o))}"cut"==e.type&&(r.state.cutIncoming=!0)}}e.wrapper.insertBefore(i,e.wrapper.firstChild),m&&(o.style.width="0px"),it(o,"input",(function(){a&&s>=9&&t.hasSelection&&(t.hasSelection=null),n.poll()})),it(o,"paste",(function(e){lt(r,e)||va(e,r)||(r.state.pasteIncoming=!0,n.fastPoll())})),it(o,"cut",l),it(o,"copy",l),it(e.scroller,"paste",(function(t){Sn(e,t)||lt(r,t)||(r.state.pasteIncoming=!0,n.focus())})),it(e.lineSpace,"selectstart",(function(t){Sn(e,t)||pt(t)})),it(o,"compositionstart",(function(){var e=r.getCursor("from");n.composing&&n.composing.range.clear(),n.composing={start:e,range:r.markText(e,r.getCursor("to"),{className:"CodeMirror-composing"})}})),it(o,"compositionend",(function(){n.composing&&(n.poll(),n.composing.range.clear(),n.composing=null)}))},Oa.prototype.prepareSelection=function(){var e=this.cm,t=e.display,n=e.doc,r=ur(e);if(e.options.moveInputWithCursor){var i=Kn(e,n.sel.primary().head,"div"),o=t.wrapper.getBoundingClientRect(),a=t.lineDiv.getBoundingClientRect();r.teTop=Math.max(0,Math.min(t.wrapper.clientHeight-10,i.top+a.top-o.top)),r.teLeft=Math.max(0,Math.min(t.wrapper.clientWidth-10,i.left+a.left-o.left))}return r},Oa.prototype.showSelection=function(e){var t=this.cm.display;w(t.cursorDiv,e.cursors),w(t.selectionDiv,e.selection),null!=e.teTop&&(this.wrapper.style.top=e.teTop+"px",this.wrapper.style.left=e.teLeft+"px")},Oa.prototype.reset=function(e){if(!this.contextMenuPending){var t,n,r=this.cm,i=r.doc;if(r.somethingSelected()){this.prevInput="";var o=i.sel.primary(),l=(t=At&&(o.to().line-o.from().line>100||(n=r.getSelection()).length>1e3))?"-":n||r.getSelection();this.textarea.value=l,r.state.focused&&P(this.textarea),a&&s>=9&&(this.hasSelection=l)}else e||(this.prevInput=this.textarea.value="",a&&s>=9&&(this.hasSelection=null));this.inaccurateSelection=t}},Oa.prototype.getField=function(){return this.textarea},Oa.prototype.supportsTouch=function(){return!1},Oa.prototype.focus=function(){if("nocursor"!=this.cm.options.readOnly&&(!y||I()!=this.textarea))try{this.textarea.focus()}catch(e){}},Oa.prototype.blur=function(){this.textarea.blur()},Oa.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},Oa.prototype.receivedFocus=function(){this.slowPoll()},Oa.prototype.slowPoll=function(){var e=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,(function(){e.poll(),e.cm.state.focused&&e.slowPoll()}))},Oa.prototype.fastPoll=function(){var e=!1,t=this;t.pollingFast=!0,t.polling.set(20,(function n(){t.poll()||e?(t.pollingFast=!1,t.slowPoll()):(e=!0,t.polling.set(60,n))}))},Oa.prototype.poll=function(){var e=this,t=this.cm,n=this.textarea,r=this.prevInput;if(this.contextMenuPending||!t.state.focused||Ct(n)&&!r&&!this.composing||t.isReadOnly()||t.options.disableInput||t.state.keySeq)return!1;var i=n.value;if(i==r&&!t.somethingSelected())return!1;if(a&&s>=9&&this.hasSelection===i||v&&/[\uf700-\uf7ff]/.test(i))return t.display.input.reset(),!1;if(t.doc.sel==t.display.selForContextMenu){var o=i.charCodeAt(0);if(8203!=o||r||(r=""),8666==o)return this.reset(),this.cm.execCommand("undo")}for(var l=0,c=Math.min(r.length,i.length);l<c&&r.charCodeAt(l)==i.charCodeAt(l);)++l;return Kr(t,(function(){ya(t,i.slice(l),r.length-l,null,e.composing?"*compose":null),i.length>1e3||i.indexOf("\n")>-1?n.value=e.prevInput="":e.prevInput=i,e.composing&&(e.composing.range.clear(),e.composing.range=t.markText(e.composing.start,t.getCursor("to"),{className:"CodeMirror-composing"}))})),!0},Oa.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},Oa.prototype.onKeyPress=function(){a&&s>=9&&(this.hasSelection=null),this.fastPoll()},Oa.prototype.onContextMenu=function(e){var t=this,n=t.cm,r=n.display,i=t.textarea,o=sr(n,e),c=r.scroller.scrollTop;if(o&&!h){n.options.resetSelectionOnContextMenu&&-1==n.doc.sel.contains(o)&&qr(n,zi)(n.doc,gi(o),Y);var u=i.style.cssText,p=t.wrapper.style.cssText;t.wrapper.style.cssText="position: absolute";var d,f=t.wrapper.getBoundingClientRect();if(i.style.cssText="position: absolute; width: 30px; height: 30px;\n top: "+(e.clientY-f.top-5)+"px; left: "+(e.clientX-f.left-5)+"px;\n z-index: 1000; background: "+(a?"rgba(255, 255, 255, .05)":"transparent")+";\n outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);",l&&(d=window.scrollY),r.input.focus(),l&&window.scrollTo(null,d),r.input.reset(),n.somethingSelected()||(i.value=t.prevInput=" "),t.contextMenuPending=!0,r.selForContextMenu=n.doc.sel,clearTimeout(r.detectingSelectAll),a&&s>=9&&g(),x){mt(e);var m=function(){at(window,"mouseup",m),setTimeout(y,20)};it(window,"mouseup",m)}else setTimeout(y,50)}function g(){if(null!=i.selectionStart){var e=n.somethingSelected(),o=""+(e?i.value:"");i.value="⇚",i.value=o,t.prevInput=e?"":"",i.selectionStart=1,i.selectionEnd=o.length,r.selForContextMenu=n.doc.sel}}function y(){if(t.contextMenuPending=!1,t.wrapper.style.cssText=p,i.style.cssText=u,a&&s<9&&r.scrollbars.setScrollTop(r.scroller.scrollTop=c),null!=i.selectionStart){(!a||a&&s<9)&&g();var e=0,o=function(){r.selForContextMenu==n.doc.sel&&0==i.selectionStart&&i.selectionEnd>0&&""==t.prevInput?qr(n,Qi)(n):e++<10?r.detectingSelectAll=setTimeout(o,500):(r.selForContextMenu=null,r.input.reset())};r.detectingSelectAll=setTimeout(o,200)}}},Oa.prototype.readOnlyChanged=function(e){e||this.reset()},Oa.prototype.setUneditable=function(){},Oa.prototype.needsContentAttribute=!1,function(e){var t=e.optionHandlers;function n(n,r,i,o){e.defaults[n]=r,i&&(t[n]=o?function(e,t,n){n!=aa&&i(e,t,n)}:i)}e.defineOption=n,e.Init=aa,n("value","",(function(e,t){return e.setValue(t)}),!0),n("mode",null,(function(e,t){e.doc.modeOption=t,Ei(e)}),!0),n("indentUnit",2,Ei,!0),n("indentWithTabs",!1),n("smartIndent",!0),n("tabSize",4,(function(e){Ti(e),Gn(e),Qr(e)}),!0),n("lineSeparator",null,(function(e,t){if(e.doc.lineSep=t,t){var n=[],r=e.doc.first;e.doc.iter((function(e){for(var i=0;;){var o=e.text.indexOf(t,i);if(-1==o)break;i=o+t.length,n.push(ge(r,o))}r++}));for(var i=n.length-1;i>=0;i--)oo(e.doc,t,n[i],ge(n[i].line,n[i].ch+t.length))}})),n("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b-\u200f\u2028\u2029\ufeff]/g,(function(e,t,n){e.state.specialChars=new RegExp(t.source+(t.test("\t")?"":"|\t"),"g"),n!=aa&&e.refresh()})),n("specialCharPlaceholder",en,(function(e){return e.refresh()}),!0),n("electricChars",!0),n("inputStyle",y?"contenteditable":"textarea",(function(){throw new Error("inputStyle can not (yet) be changed in a running editor")}),!0),n("spellcheck",!1,(function(e,t){return e.getInputField().spellcheck=t}),!0),n("rtlMoveVisually",!b),n("wholeLineUpdateBefore",!0),n("theme","default",(function(e){oa(e),ca(e)}),!0),n("keyMap","default",(function(e,t,n){var r=Uo(t),i=n!=aa&&Uo(n);i&&i.detach&&i.detach(e,r),r.attach&&r.attach(e,i||null)})),n("extraKeys",null),n("lineWrapping",!1,ha,!0),n("gutters",[],(function(e){pi(e.options),ca(e)}),!0),n("fixedGutter",!0,(function(e,t){e.display.gutters.style.left=t?ir(e.display)+"px":"0",e.refresh()}),!0),n("coverGutterNextToScrollbar",!1,(function(e){return Ir(e)}),!0),n("scrollbarStyle","native",(function(e){Pr(e),Ir(e),e.display.scrollbars.setScrollTop(e.doc.scrollTop),e.display.scrollbars.setScrollLeft(e.doc.scrollLeft)}),!0),n("lineNumbers",!1,(function(e){pi(e.options),ca(e)}),!0),n("firstLineNumber",1,ca,!0),n("lineNumberFormatter",(function(e){return e}),ca,!0),n("showCursorWhenSelecting",!1,cr,!0),n("resetSelectionOnContextMenu",!0),n("lineWiseCopyCut",!0),n("readOnly",!1,(function(e,t){"nocursor"==t?(gr(e),e.display.input.blur(),e.display.disabled=!0):e.display.disabled=!1,e.display.input.readOnlyChanged(t)})),n("disableInput",!1,(function(e,t){t||e.display.input.reset()}),!0),n("dragDrop",!0,ua),n("allowDropFileTypes",null),n("cursorBlinkRate",530),n("cursorScrollMargin",0),n("cursorHeight",1,cr,!0),n("singleCursorHeightPerLine",!0,cr,!0),n("workTime",100),n("workDelay",100),n("flattenSpans",!0,Ti,!0),n("addModeClass",!1,Ti,!0),n("pollInterval",100),n("undoDepth",200,(function(e,t){return e.doc.history.undoDepth=t})),n("historyEventDelay",1250),n("viewportMargin",10,(function(e){return e.refresh()}),!0),n("maxHighlightLength",1e4,Ti,!0),n("moveInputWithCursor",!0,(function(e,t){t||e.display.input.resetPosition()})),n("tabindex",null,(function(e,t){return e.display.input.getField().tabIndex=t||""})),n("autofocus",null),n("direction","ltr",(function(e,t){return e.doc.setDirection(t)}),!0)}(pa),function(e){var t=e.optionHandlers,n=e.helpers={};e.prototype={constructor:e,focus:function(){window.focus(),this.display.input.focus()},setOption:function(e,n){var r=this.options,i=r[e];r[e]==n&&"mode"!=e||(r[e]=n,t.hasOwnProperty(e)&&qr(this,t[e])(this,n,i),st(this,"optionChange",this,e))},getOption:function(e){return this.options[e]},getDoc:function(){return this.doc},addKeyMap:function(e,t){this.state.keyMaps[t?"push":"unshift"](Uo(e))},removeKeyMap:function(e){for(var t=this.state.keyMaps,n=0;n<t.length;++n)if(t[n]==e||t[n].name==e)return t.splice(n,1),!0},addOverlay:Xr((function(t,n){var r=t.token?t:e.getMode(this.options,t);if(r.startState)throw new Error("Overlays may not be stateful.");(function(e,t,n){for(var r=0,i=n(t);r<e.length&&n(e[r])<=i;)r++;e.splice(r,0,t)})(this.state.overlays,{mode:r,modeSpec:t,opaque:n&&n.opaque,priority:n&&n.priority||0},(function(e){return e.priority})),this.state.modeGen++,Qr(this)})),removeOverlay:Xr((function(e){for(var t=this.state.overlays,n=0;n<t.length;++n){var r=t[n].modeSpec;if(r==e||"string"==typeof e&&r.name==e)return t.splice(n,1),this.state.modeGen++,void Qr(this)}})),indentLine:Xr((function(e,t,n){"string"!=typeof t&&"number"!=typeof t&&(t=null==t?this.options.smartIndent?"smart":"prev":t?"add":"subtract"),fe(this.doc,e)&&fa(this,e,t,n)})),indentSelection:Xr((function(e){for(var t=this,n=this.doc.sel.ranges,r=-1,i=0;i<n.length;i++){var o=n[i];if(o.empty())o.head.line>r&&(fa(t,o.head.line,e,!0),r=o.head.line,i==t.doc.sel.primIndex&&Hr(t));else{var a=o.from(),s=o.to(),l=Math.max(r,a.line);r=Math.min(t.lastLine(),s.line-(s.ch?0:1))+1;for(var c=l;c<r;++c)fa(t,c,e);var u=t.doc.sel.ranges;0==a.ch&&n.length==u.length&&u[i].from().ch>0&&ji(t.doc,i,new fi(a,u[i].to()),Y)}}})),getTokenAt:function(e,t){return $t(this,e,t)},getLineTokens:function(e,t){return $t(this,ge(e),t,!0)},getTokenTypeAt:function(e){e=xe(this.doc,e);var t,n=Ut(this,le(this.doc,e.line)),r=0,i=(n.length-1)/2,o=e.ch;if(0==o)t=n[2];else for(;;){var a=r+i>>1;if((a?n[2*a-1]:0)>=o)i=a;else{if(!(n[2*a+1]<o)){t=n[2*a+2];break}r=a+1}}var s=t?t.indexOf("overlay "):-1;return s<0?t:0==s?null:t.slice(0,s-1)},getModeAt:function(t){var n=this.doc.mode;return n.innerMode?e.innerMode(n,this.getTokenAt(t).state).mode:n},getHelper:function(e,t){return this.getHelpers(e,t)[0]},getHelpers:function(e,t){var r=[];if(!n.hasOwnProperty(t))return r;var i=n[t],o=this.getModeAt(e);if("string"==typeof o[t])i[o[t]]&&r.push(i[o[t]]);else if(o[t])for(var a=0;a<o[t].length;a++){var s=i[o[t][a]];s&&r.push(s)}else o.helperType&&i[o.helperType]?r.push(i[o.helperType]):i[o.name]&&r.push(i[o.name]);for(var l=0;l<i._global.length;l++){var c=i._global[l];c.pred(o,this)&&-1==U(r,c.val)&&r.push(c.val)}return r},getStateAfter:function(e,t){var n=this.doc;return jt(this,(e=Te(n,null==e?n.first+n.size-1:e))+1,t)},cursorCoords:function(e,t){var n=this.doc.sel.primary();return Kn(this,null==e?n.head:"object"==typeof e?xe(this.doc,e):e?n.from():n.to(),t||"page")},charCoords:function(e,t){return Vn(this,xe(this.doc,e),t||"page")},coordsChar:function(e,t){return Zn(this,(e=Wn(this,e,t||"page")).left,e.top)},lineAtHeight:function(e,t){return e=Wn(this,{top:e,left:0},t||"page").top,de(this.doc,e+this.display.viewOffset)},heightAtLine:function(e,t,n){var r,i=!1;if("number"==typeof e){var o=this.doc.first+this.doc.size-1;e<this.doc.first?e=this.doc.first:e>o&&(e=o,i=!0),r=le(this.doc,e)}else r=e;return $n(this,r,{top:0,left:0},t||"page",n||i).top+(i?this.doc.height-We(r):0)},defaultTextHeight:function(){return tr(this.display)},defaultCharWidth:function(){return nr(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(e,t,n,r,i){var o,a,s,l=this.display,c=(e=Kn(this,xe(this.doc,e))).bottom,u=e.left;if(t.style.position="absolute",t.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(t),l.sizer.appendChild(t),"over"==r)c=e.top;else if("above"==r||"near"==r){var h=Math.max(l.wrapper.clientHeight,this.doc.height),p=Math.max(l.sizer.clientWidth,l.lineSpace.clientWidth);("above"==r||e.bottom+t.offsetHeight>h)&&e.top>t.offsetHeight?c=e.top-t.offsetHeight:e.bottom+t.offsetHeight<=h&&(c=e.bottom),u+t.offsetWidth>p&&(u=p-t.offsetWidth)}t.style.top=c+"px",t.style.left=t.style.right="","right"==i?(u=l.sizer.clientWidth-t.offsetWidth,t.style.right="0px"):("left"==i?u=0:"middle"==i&&(u=(l.sizer.clientWidth-t.offsetWidth)/2),t.style.left=u+"px"),n&&(o=this,a={left:u,top:c,right:u+t.offsetWidth,bottom:c+t.offsetHeight},null!=(s=Mr(o,a)).scrollTop&&Tr(o,s.scrollTop),null!=s.scrollLeft&&xr(o,s.scrollLeft))},triggerOnKeyDown:Xr(Qo),triggerOnKeyPress:Xr(ea),triggerOnKeyUp:Jo,execCommand:function(e){if(Go.hasOwnProperty(e))return Go[e].call(null,this)},triggerElectric:Xr((function(e){_a(this,e)})),findPosH:function(e,t,n,r){var i=1;t<0&&(i=-1,t=-t);for(var o=xe(this.doc,e),a=0;a<t&&!(o=xa(this.doc,o,i,n,r)).hitSide;++a);return o},moveH:Xr((function(e,t){var n=this;this.extendSelectionsBy((function(r){return n.display.shift||n.doc.extend||r.empty()?xa(n.doc,r.head,e,t,n.options.rtlMoveVisually):e<0?r.from():r.to()}),$)})),deleteH:Xr((function(e,t){var n=this.doc.sel,r=this.doc;n.somethingSelected()?r.replaceSelection("",null,"+delete"):jo(this,(function(n){var i=xa(r,n.head,e,t,!1);return e<0?{from:i,to:n.head}:{from:n.head,to:i}}))})),findPosV:function(e,t,n,r){var i=1,o=r;t<0&&(i=-1,t=-t);for(var a=xe(this.doc,e),s=0;s<t;++s){var l=Kn(this,a,"div");if(null==o?o=l.left:l.left=o,(a=Sa(this,l,i,n)).hitSide)break}return a},moveV:Xr((function(e,t){var n=this,r=this.doc,i=[],o=!this.display.shift&&!r.extend&&r.sel.somethingSelected();if(r.extendSelectionsBy((function(a){if(o)return e<0?a.from():a.to();var s=Kn(n,a.head,"div");null!=a.goalColumn&&(s.left=a.goalColumn),i.push(s.left);var l=Sa(n,s,e,t);return"page"==t&&a==r.sel.primary()&&Fr(n,null,Vn(n,l,"div").top-s.top),l}),$),i.length)for(var a=0;a<r.sel.ranges.length;a++)r.sel.ranges[a].goalColumn=i[a]})),findWordAt:function(e){var t=le(this.doc,e.line).text,n=e.ch,r=e.ch;if(t){var i=this.getHelper(e,"wordChars");"before"!=e.sticky&&r!=t.length||!n?++r:--n;for(var o=t.charAt(n),a=te(o,i)?function(e){return te(e,i)}:/\s/.test(o)?function(e){return/\s/.test(e)}:function(e){return!/\s/.test(e)&&!te(e)};n>0&&a(t.charAt(n-1));)--n;for(;r<t.length&&a(t.charAt(r));)++r}return new fi(ge(e.line,n),ge(e.line,r))},toggleOverwrite:function(e){null!=e&&e==this.state.overwrite||((this.state.overwrite=!this.state.overwrite)?k(this.display.cursorDiv,"CodeMirror-overwrite"):A(this.display.cursorDiv,"CodeMirror-overwrite"),st(this,"overwriteToggle",this,this.state.overwrite))},hasFocus:function(){return this.display.input.getField()==I()},isReadOnly:function(){return!(!this.options.readOnly&&!this.doc.cantEdit)},scrollTo:Xr((function(e,t){null==e&&null==t||Br(this),null!=e&&(this.curOp.scrollLeft=e),null!=t&&(this.curOp.scrollTop=t)})),getScrollInfo:function(){var e=this.display.scroller;return{left:e.scrollLeft,top:e.scrollTop,height:e.scrollHeight-wn(this)-this.display.barHeight,width:e.scrollWidth-wn(this)-this.display.barWidth,clientHeight:On(this),clientWidth:Ln(this)}},scrollIntoView:Xr((function(e,t){if(null==e?(e={from:this.doc.sel.primary().head,to:null},null==t&&(t=this.options.cursorScrollMargin)):"number"==typeof e?e={from:ge(e,0),to:null}:null==e.from&&(e={from:e,to:null}),e.to||(e.to=e.from),e.margin=t||0,null!=e.from.line)Br(this),this.curOp.scrollToPos=e;else{var n=Mr(this,{left:Math.min(e.from.left,e.to.left),top:Math.min(e.from.top,e.to.top)-e.margin,right:Math.max(e.from.right,e.to.right),bottom:Math.max(e.from.bottom,e.to.bottom)+e.margin});this.scrollTo(n.scrollLeft,n.scrollTop)}})),setSize:Xr((function(e,t){var n=this,r=function(e){return"number"==typeof e||/^\d+$/.test(String(e))?e+"px":e};null!=e&&(this.display.wrapper.style.width=r(e)),null!=t&&(this.display.wrapper.style.height=r(t)),this.options.lineWrapping&&jn(this);var i=this.display.viewFrom;this.doc.iter(i,this.display.viewTo,(function(e){if(e.widgets)for(var t=0;t<e.widgets.length;t++)if(e.widgets[t].noHScroll){Jr(n,i,"widget");break}++i})),this.curOp.forceUpdate=!0,st(this,"refresh",this)})),operation:function(e){return Kr(this,e)},refresh:Xr((function(){var e=this.display.cachedTextHeight;Qr(this),this.curOp.forceUpdate=!0,Gn(this),this.scrollTo(this.doc.scrollLeft,this.doc.scrollTop),ci(this),(null==e||Math.abs(e-tr(this.display))>.5)&&ar(this),st(this,"refresh",this)})),swapDoc:Xr((function(e){var t=this.doc;return t.cm=null,Ai(this,e),Gn(this),this.display.input.reset(),this.scrollTo(e.scrollLeft,e.scrollTop),this.curOp.forceScroll=!0,un(this,"swapDoc",this,t),t})),getInputField:function(){return this.display.input.getField()},getWrapperElement:function(){return this.display.wrapper},getScrollerElement:function(){return this.display.scroller},getGutterElement:function(){return this.display.gutters}},ht(e),e.registerHelper=function(t,r,i){n.hasOwnProperty(t)||(n[t]=e[t]={_global:[]}),n[t][r]=i},e.registerGlobalHelper=function(t,r,i,o){e.registerHelper(t,r,o),n[t]._global.push({pred:i,val:o})}}(pa);var Na,Ia="iter insert remove copy getEditor constructor".split(" ");for(var ka in To.prototype)To.prototype.hasOwnProperty(ka)&&U(Ia,ka)<0&&(pa.prototype[ka]=function(e){return function(){return e.apply(this.doc,arguments)}}(To.prototype[ka]));return ht(To),pa.inputStyles={textarea:Oa,contenteditable:Ca},pa.defineMode=function(e){pa.defaults.mode||"null"==e||(pa.defaults.mode=e),Ot.apply(this,arguments)},pa.defineMIME=function(e,t){Lt[e]=t},pa.defineMode("null",(function(){return{token:function(e){return e.skipToEnd()}}})),pa.defineMIME("text/plain","null"),pa.defineExtension=function(e,t){pa.prototype[e]=t},pa.defineDocExtension=function(e,t){To.prototype[e]=t},pa.fromTextArea=function(e,t){if((t=t?F(t):{}).value=e.value,!t.tabindex&&e.tabIndex&&(t.tabindex=e.tabIndex),!t.placeholder&&e.placeholder&&(t.placeholder=e.placeholder),null==t.autofocus){var n=I();t.autofocus=n==e||null!=e.getAttribute("autofocus")&&n==document.body}function r(){e.value=s.getValue()}var i;if(e.form&&(it(e.form,"submit",r),!t.leaveSubmitMethodAlone)){var o=e.form;i=o.submit;try{var a=o.submit=function(){r(),o.submit=i,o.submit(),o.submit=a}}catch(e){}}t.finishInit=function(t){t.save=r,t.getTextArea=function(){return e},t.toTextArea=function(){t.toTextArea=isNaN,r(),e.parentNode.removeChild(t.getWrapperElement()),e.style.display="",e.form&&(at(e.form,"submit",r),"function"==typeof e.form.submit&&(e.form.submit=i))}},e.style.display="none";var s=pa((function(t){return e.parentNode.insertBefore(t,e.nextSibling)}),t);return s},(Na=pa).off=at,Na.on=it,Na.wheelEventPixels=Rr,Na.Doc=To,Na.splitLines=St,Na.countColumn=H,Na.findColumn=W,Na.isWordChar=ee,Na.Pass=G,Na.signal=st,Na.Line=Kt,Na.changeEnd=yi,Na.scrollbarModel=Dr,Na.Pos=ge,Na.cmpPos=ye,Na.modes=wt,Na.mimeModes=Lt,Na.resolveMode=Nt,Na.getMode=It,Na.modeExtensions=kt,Na.extendMode=Dt,Na.copyState=Pt,Na.startState=Ft,Na.innerMode=Mt,Na.commands=Go,Na.keyMap=Do,Na.keyName=Bo,Na.isModifierKey=Ho,Na.lookupKey=Fo,Na.normalizeKeyMap=Mo,Na.StringStream=Ht,Na.SharedTextMarker=vo,Na.TextMarker=go,Na.LineWidget=po,Na.e_preventDefault=pt,Na.e_stopPropagation=dt,Na.e_stop=mt,Na.addClass=k,Na.contains=N,Na.rmClass=A,Na.keyNames=Oo,pa.version="5.25.0",pa}()},142:(e,t,n)=>{"use strict";var r=n(907),i=n(2478),o=function(){function e(){this.pseudos={},this.attrEqualityMods={},this.ruleNestingOperators={},this.substitutesEnabled=!1}return e.prototype.registerSelectorPseudos=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=0,r=e;n<r.length;n++){var i=r[n];this.pseudos[i]="selector"}return this},e.prototype.unregisterSelectorPseudos=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=0,r=e;n<r.length;n++){var i=r[n];delete this.pseudos[i]}return this},e.prototype.registerNumericPseudos=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=0,r=e;n<r.length;n++){var i=r[n];this.pseudos[i]="numeric"}return this},e.prototype.unregisterNumericPseudos=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=0,r=e;n<r.length;n++){var i=r[n];delete this.pseudos[i]}return this},e.prototype.registerNestingOperators=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=0,r=e;n<r.length;n++){var i=r[n];this.ruleNestingOperators[i]=!0}return this},e.prototype.unregisterNestingOperators=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=0,r=e;n<r.length;n++){var i=r[n];delete this.ruleNestingOperators[i]}return this},e.prototype.registerAttrEqualityMods=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=0,r=e;n<r.length;n++){var i=r[n];this.attrEqualityMods[i]=!0}return this},e.prototype.unregisterAttrEqualityMods=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=0,r=e;n<r.length;n++){var i=r[n];delete this.attrEqualityMods[i]}return this},e.prototype.enableSubstitutes=function(){return this.substitutesEnabled=!0,this},e.prototype.disableSubstitutes=function(){return this.substitutesEnabled=!1,this},e.prototype.parse=function(e){return r.parseCssSelector(e,0,this.pseudos,this.attrEqualityMods,this.ruleNestingOperators,this.substitutesEnabled)},e.prototype.render=function(e){return i.renderEntity(e).trim()},e}();t.N=o},907:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(30);t.parseCssSelector=function(e,t,n,i,o,a){var s=e.length,l="";function c(n,i){var o="";for(t++,l=e.charAt(t);t<s;){if(l===n)return t++,o;if("\\"===l){t++;var a=void 0;if((l=e.charAt(t))===n)o+=n;else if(void 0!==(a=i[l]))o+=a;else{if(r.isHex(l)){var c=l;for(t++,l=e.charAt(t);r.isHex(l);)c+=l,t++,l=e.charAt(t);" "===l&&(t++,l=e.charAt(t)),o+=String.fromCharCode(parseInt(c,16));continue}o+=l}}else o+=l;t++,l=e.charAt(t)}return o}function u(){var n="";for(l=e.charAt(t);t<s;){if(r.isIdent(l))n+=l;else{if("\\"!==l)return n;if(++t>=s)throw Error("Expected symbol but end of file reached.");if(l=e.charAt(t),r.identSpecialChars[l])n+=l;else{if(r.isHex(l)){var i=l;for(t++,l=e.charAt(t);r.isHex(l);)i+=l,t++,l=e.charAt(t);" "===l&&(t++,l=e.charAt(t)),n+=String.fromCharCode(parseInt(i,16));continue}n+=l}}t++,l=e.charAt(t)}return n}function h(){l=e.charAt(t);for(var n=!1;" "===l||"\t"===l||"\n"===l||"\r"===l||"\f"===l;)n=!0,t++,l=e.charAt(t);return n}function p(){var n=d();if(!n)return null;var r=n;for(l=e.charAt(t);","===l;){if(t++,h(),"selectors"!==r.type&&(r={type:"selectors",selectors:[n]}),!(n=d()))throw Error('Rule expected after ",".');r.selectors.push(n)}return r}function d(){h();var n={type:"ruleSet"},r=f();if(!r)return null;for(var i=n;r&&(r.type="rule",i.rule=r,i=r,h(),l=e.charAt(t),!(t>=s||","===l||")"===l));)if(o[l]){var a=l;if(t++,h(),!(r=f()))throw Error('Rule expected after "'+a+'".');r.nestingOperator=a}else(r=f())&&(r.nestingOperator=null);return n}function f(){for(var o=null;t<s;)if("*"===(l=e.charAt(t)))t++,(o=o||{}).tagName="*";else if(r.isIdentStart(l)||"\\"===l)(o=o||{}).tagName=u();else if("."===l)t++,((o=o||{}).classNames=o.classNames||[]).push(u());else if("#"===l)t++,(o=o||{}).id=u();else if("["===l){t++,h();var d={name:u()};if(h(),"]"===l)t++;else{var f="";if(i[l]&&(f=l,t++,l=e.charAt(t)),t>=s)throw Error('Expected "=" but end of file reached.');if("="!==l)throw Error('Expected "=" but "'+l+'" found.');d.operator=f+"=",t++,h();var m="";if(d.valueType="string",'"'===l)m=c('"',r.doubleQuotesEscapeChars);else if("'"===l)m=c("'",r.singleQuoteEscapeChars);else if(a&&"$"===l)t++,m=u(),d.valueType="substitute";else{for(;t<s&&"]"!==l;)m+=l,t++,l=e.charAt(t);m=m.trim()}if(h(),t>=s)throw Error('Expected "]" but end of file reached.');if("]"!==l)throw Error('Expected "]" but "'+l+'" found.');t++,d.value=m}((o=o||{}).attrs=o.attrs||[]).push(d)}else{if(":"!==l)break;t++;var g=u(),y={name:g};if("("===l){t++;var v="";if(h(),"selector"===n[g])y.valueType="selector",v=p();else{if(y.valueType=n[g]||"string",'"'===l)v=c('"',r.doubleQuotesEscapeChars);else if("'"===l)v=c("'",r.singleQuoteEscapeChars);else if(a&&"$"===l)t++,v=u(),y.valueType="substitute";else{for(;t<s&&")"!==l;)v+=l,t++,l=e.charAt(t);v=v.trim()}h()}if(t>=s)throw Error('Expected ")" but end of file reached.');if(")"!==l)throw Error('Expected ")" but "'+l+'" found.');t++,y.value=v}((o=o||{}).pseudos=o.pseudos||[]).push(y)}return o}return function(){var n=p();if(t<s)throw Error('Rule expected but "'+e.charAt(t)+'" found.');return n}()}},2478:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(30);t.renderEntity=function e(t){var n="";switch(t.type){case"ruleSet":for(var i=t.rule,o=[];i;)i.nestingOperator&&o.push(i.nestingOperator),o.push(e(i)),i=i.rule;n=o.join(" ");break;case"selectors":n=t.selectors.map(e).join(", ");break;case"rule":t.tagName&&(n="*"===t.tagName?"*":r.escapeIdentifier(t.tagName)),t.id&&(n+="#"+r.escapeIdentifier(t.id)),t.classNames&&(n+=t.classNames.map((function(e){return"."+r.escapeIdentifier(e)})).join("")),t.attrs&&(n+=t.attrs.map((function(e){return"operator"in e?"substitute"===e.valueType?"["+r.escapeIdentifier(e.name)+e.operator+"$"+e.value+"]":"["+r.escapeIdentifier(e.name)+e.operator+r.escapeStr(e.value)+"]":"["+r.escapeIdentifier(e.name)+"]"})).join("")),t.pseudos&&(n+=t.pseudos.map((function(t){return t.valueType?"selector"===t.valueType?":"+r.escapeIdentifier(t.name)+"("+e(t.value)+")":"substitute"===t.valueType?":"+r.escapeIdentifier(t.name)+"($"+t.value+")":"numeric"===t.valueType?":"+r.escapeIdentifier(t.name)+"("+t.value+")":":"+r.escapeIdentifier(t.name)+"("+r.escapeIdentifier(t.value)+")":":"+r.escapeIdentifier(t.name)})).join(""));break;default:throw Error('Unknown entity type: "'+t.type+'".')}return n}},30:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isIdentStart=function(e){return e>="a"&&e<="z"||e>="A"&&e<="Z"||"-"===e||"_"===e},t.isIdent=function(e){return e>="a"&&e<="z"||e>="A"&&e<="Z"||e>="0"&&e<="9"||"-"===e||"_"===e},t.isHex=function(e){return e>="a"&&e<="f"||e>="A"&&e<="F"||e>="0"&&e<="9"},t.escapeIdentifier=function(e){for(var n=e.length,r="",i=0;i<n;){var o=e.charAt(i);if(t.identSpecialChars[o])r+="\\"+o;else if("_"===o||"-"===o||o>="A"&&o<="Z"||o>="a"&&o<="z"||0!==i&&o>="0"&&o<="9")r+=o;else{var a=o.charCodeAt(0);if(55296==(63488&a)){var s=e.charCodeAt(i++);if(55296!=(64512&a)||56320!=(64512&s))throw Error("UCS-2(decode): illegal sequence");a=((1023&a)<<10)+(1023&s)+65536}r+="\\"+a.toString(16)+" "}i++}return r},t.escapeStr=function(e){for(var n,r=e.length,i="",o=0;o<r;){var a=e.charAt(o);'"'===a?a='\\"':"\\"===a?a="\\\\":void 0!==(n=t.strReplacementsRev[a])&&(a=n),i+=a,o++}return'"'+i+'"'},t.identSpecialChars={"!":!0,'"':!0,"#":!0,$:!0,"%":!0,"&":!0,"'":!0,"(":!0,")":!0,"*":!0,"+":!0,",":!0,".":!0,"/":!0,";":!0,"<":!0,"=":!0,">":!0,"?":!0,"@":!0,"[":!0,"\\":!0,"]":!0,"^":!0,"`":!0,"{":!0,"|":!0,"}":!0,"~":!0},t.strReplacementsRev={"\n":"\\n","\r":"\\r","\t":"\\t","\f":"\\f","\v":"\\v"},t.singleQuoteEscapeChars={n:"\n",r:"\r",t:"\t",f:"\f","\\":"\\","'":"'"},t.doubleQuotesEscapeChars={n:"\n",r:"\r",t:"\t",f:"\f","\\":"\\",'"':'"'}},5535:function(e){var t;t=function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:r})},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=45)}([function(e,t){function n(e){return"["+e.join(", ")+"]"}function r(e,t){return e.equals(t)}function i(e){return e.hashCode()}function o(e,t){return this.data={},this.hashFunction=e||i,this.equalsFunction=t||r,this}function a(){return this.data=[],this}function s(e,t){return this.data={},this.hashFunction=e||i,this.equalsFunction=t||r,this}function l(){return this.data={},this}function c(){return this}function u(){return this.count=0,this.hash=0,this}String.prototype.seed=String.prototype.seed||Math.round(Math.random()*Math.pow(2,32)),String.prototype.hashCode=function(){var e,t,n,r,i,o,a,s,l=this.toString();for(e=3&l.length,t=l.length-e,n=String.prototype.seed,i=3432918353,o=461845907,s=0;s<t;)a=255&l.charCodeAt(s)|(255&l.charCodeAt(++s))<<8|(255&l.charCodeAt(++s))<<16|(255&l.charCodeAt(++s))<<24,++s,n=27492+(65535&(r=5*(65535&(n=(n^=a=(65535&(a=(a=(65535&a)*i+(((a>>>16)*i&65535)<<16)&4294967295)<<15|a>>>17))*o+(((a>>>16)*o&65535)<<16)&4294967295)<<13|n>>>19))+((5*(n>>>16)&65535)<<16)&4294967295))+((58964+(r>>>16)&65535)<<16);switch(a=0,e){case 3:a^=(255&l.charCodeAt(s+2))<<16;case 2:a^=(255&l.charCodeAt(s+1))<<8;case 1:n^=a=(65535&(a=(a=(65535&(a^=255&l.charCodeAt(s)))*i+(((a>>>16)*i&65535)<<16)&4294967295)<<15|a>>>17))*o+(((a>>>16)*o&65535)<<16)&4294967295}return n^=l.length,n=2246822507*(65535&(n^=n>>>16))+((2246822507*(n>>>16)&65535)<<16)&4294967295,n=3266489909*(65535&(n^=n>>>13))+((3266489909*(n>>>16)&65535)<<16)&4294967295,(n^=n>>>16)>>>0},Object.defineProperty(o.prototype,"length",{get:function(){var e=0;for(var t in this.data)0===t.indexOf("hash_")&&(e+=this.data[t].length);return e}}),o.prototype.add=function(e){var t="hash_"+this.hashFunction(e);if(t in this.data){for(var n=this.data[t],r=0;r<n.length;r++)if(this.equalsFunction(e,n[r]))return n[r];return n.push(e),e}return this.data[t]=[e],e},o.prototype.contains=function(e){return null!=this.get(e)},o.prototype.get=function(e){var t="hash_"+this.hashFunction(e);if(t in this.data)for(var n=this.data[t],r=0;r<n.length;r++)if(this.equalsFunction(e,n[r]))return n[r];return null},o.prototype.values=function(){var e=[];for(var t in this.data)0===t.indexOf("hash_")&&(e=e.concat(this.data[t]));return e},o.prototype.toString=function(){return n(this.values())},a.prototype.add=function(e){this.data[e]=!0},a.prototype.or=function(e){var t=this;Object.keys(e.data).map((function(e){t.add(e)}))},a.prototype.remove=function(e){delete this.data[e]},a.prototype.contains=function(e){return!0===this.data[e]},a.prototype.values=function(){return Object.keys(this.data)},a.prototype.minValue=function(){return Math.min.apply(null,this.values())},a.prototype.hashCode=function(){var e=new u;return e.update(this.values()),e.finish()},a.prototype.equals=function(e){return e instanceof a&&this.hashCode()===e.hashCode()},Object.defineProperty(a.prototype,"length",{get:function(){return this.values().length}}),a.prototype.toString=function(){return"{"+this.values().join(", ")+"}"},Object.defineProperty(s.prototype,"length",{get:function(){var e=0;for(var t in this.data)0===t.indexOf("hash_")&&(e+=this.data[t].length);return e}}),s.prototype.put=function(e,t){var n="hash_"+this.hashFunction(e);if(n in this.data){for(var r=this.data[n],i=0;i<r.length;i++){var o=r[i];if(this.equalsFunction(e,o.key)){var a=o.value;return o.value=t,a}}return r.push({key:e,value:t}),t}return this.data[n]=[{key:e,value:t}],t},s.prototype.containsKey=function(e){var t="hash_"+this.hashFunction(e);if(t in this.data)for(var n=this.data[t],r=0;r<n.length;r++){var i=n[r];if(this.equalsFunction(e,i.key))return!0}return!1},s.prototype.get=function(e){var t="hash_"+this.hashFunction(e);if(t in this.data)for(var n=this.data[t],r=0;r<n.length;r++){var i=n[r];if(this.equalsFunction(e,i.key))return i.value}return null},s.prototype.entries=function(){var e=[];for(var t in this.data)0===t.indexOf("hash_")&&(e=e.concat(this.data[t]));return e},s.prototype.getKeys=function(){return this.entries().map((function(e){return e.key}))},s.prototype.getValues=function(){return this.entries().map((function(e){return e.value}))},s.prototype.toString=function(){return"["+this.entries().map((function(e){return"{"+e.key+":"+e.value+"}"})).join(", ")+"]"},l.prototype.get=function(e){return(e="k-"+e)in this.data?this.data[e]:null},l.prototype.put=function(e,t){e="k-"+e,this.data[e]=t},l.prototype.values=function(){var e=this.data;return Object.keys(this.data).map((function(t){return e[t]}))},u.prototype.update=function(){for(var e=0;e<arguments.length;e++){var t=arguments[e];if(null!=t)if(Array.isArray(t))this.update.apply(t);else{var n=0;switch(typeof t){case"undefined":case"function":continue;case"number":case"boolean":n=t;break;case"string":n=t.hashCode();break;default:t.updateHashCode(this);continue}n=(n*=3432918353)<<15|n>>>17,n*=461845907,this.count=this.count+1;var r=this.hash^n;r=5*(r=r<<13|r>>>19)+3864292196,this.hash=r}}},u.prototype.finish=function(){var e=this.hash^4*this.count;return e^=e>>>16,e*=2246822507,e^=e>>>13,(e*=3266489909)^e>>>16},c.prototype.get=function(e,t){var n=this[e]||null;return null===n?null:n[t]||null},c.prototype.set=function(e,t,n){var r=this[e]||null;null===r&&(r={},this[e]=r),r[t]=n},t.Hash=u,t.Set=o,t.Map=s,t.BitSet=a,t.AltDict=l,t.DoubleDict=c,t.hashStuff=function(){var e=new u;return e.update.apply(arguments),e.finish()},t.escapeWhitespace=function(e,t){return e=(e=(e=e.replace("\t","\\t")).replace("\n","\\n")).replace("\r","\\r"),t&&(e=e.replace(" ","·")),e},t.arrayToString=n,t.titleCase=function(e){return e.replace(/\w\S*/g,(function(e){return e.charAt(0).toUpperCase()+e.substr(1)}))},t.equalArrays=function(e,t){if(!Array.isArray(e)||!Array.isArray(t))return!1;if(e==t)return!0;if(e.length!=t.length)return!1;for(var n=0;n<e.length;n++)if(e[n]!=t[n]&&!e[n].equals(t[n]))return!1;return!0}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SYMBOLIC_CONTEXTS=t.COMPLETION_CANDIDATES=t.SYMBOLIC_NAME_CONTEXT=t.QUERY_CONTEXT=t.ATOM_CONTEXT=t.STRING_LITERAL_CONTEXT=t.MAP_LITERAL_ENTRY=t.PROPERTIES_CONTEXT=t.MAP_LITERAL_CONTEXT=t.PROPERTY_LOOKUP_CONTEXT=t.RELATIONSHIP_PATTERN_CONTEXT=t.RELATIONSHIP_TYPES_CONTEXT=t.RELATIONSHIP_TYPE_OPTIONAL_COLON_CONTEXT=t.RELATIONSHIP_TYPE_CONTEXT=t.NODE_LABELS_CONTEXT=t.NODE_LABEL_CONTEXT=t.NODE_PATTERN_CONTEXT=t.PATTERN_ELEMENT_CONTEXT=t.EXPRESSION_CONTEXT=t.CALL_CONTEXT=t.EXISTS_FUNCTION_NAME_CONTEXT=t.FILTER_FUNCTION_NAME_CONTEXT=t.ALL_SHORTEST_PATH_FUNCTION_NAME_CONTEXT=t.SHORTEST_PATH_FUNCTION_NAME_CONTEXT=t.REDUCE_FUNCTION_NAME_CONTEXT=t.EXTRACT_FUNCTION_NAME_CONTEXT=t.NONE_FUNCTION_NAME_CONTEXT=t.SINGLE_FUNCTION_NAME_CONTEXT=t.ANY_FUNCTION_NAME_CONTEXT=t.ALL_FUNCTION_NAME_CONTEXT=t.PROCEDURE_RESULTS_CONTEXT=t.PROCEDURE_OUTPUT_CONTEXT=t.CONSOLE_COMMAND_PATH_CONTEXT=t.CONSOLE_COMMAND_SUBCOMMAND_CONTEXT=t.CONSOLE_COMMAND_PARAMETER_CONTEXT=t.CONSOLE_COMMAND_PARAMETERS_CONTEXT=t.CONSOLE_COMMAND_CONTEXT=t.CONSOLE_COMMAND_NAME_CONTEXT=t.PROCEDURE_NAME_CONTEXT=t.FUNCTION_NAME_CONTEXT=t.PARAMETER_CONTEXT=t.PARAMETER_NAME_CONTEXT=t.PROPERTY_KEY_NAME_CONTEXT=t.RELATIONSHIP_TYPE_NAME_CONTEXT=t.LABEL_NAME_CONTEXT=t.VARIABLE_CONTEXT=void 0;var r=n(25),i=t.VARIABLE_CONTEXT=r.CypherParser.VariableContext.prototype.constructor.name,o=t.LABEL_NAME_CONTEXT=r.CypherParser.LabelNameContext.prototype.constructor.name,a=t.RELATIONSHIP_TYPE_NAME_CONTEXT=r.CypherParser.RelTypeNameContext.prototype.constructor.name,s=t.PROPERTY_KEY_NAME_CONTEXT=r.CypherParser.PropertyKeyNameContext.prototype.constructor.name,l=t.PARAMETER_NAME_CONTEXT=r.CypherParser.ParameterNameContext.prototype.constructor.name,c=(t.PARAMETER_CONTEXT=r.CypherParser.ParameterContext.prototype.constructor.name,t.FUNCTION_NAME_CONTEXT=r.CypherParser.FunctionInvocationBodyContext.prototype.constructor.name),u=t.PROCEDURE_NAME_CONTEXT=r.CypherParser.ProcedureInvocationBodyContext.prototype.constructor.name,h=t.CONSOLE_COMMAND_NAME_CONTEXT=r.CypherParser.CypherConsoleCommandNameContext.prototype.constructor.name,p=(t.CONSOLE_COMMAND_CONTEXT=r.CypherParser.CypherConsoleCommandContext.prototype.constructor.name,t.CONSOLE_COMMAND_PARAMETERS_CONTEXT=r.CypherParser.CypherConsoleCommandParametersContext.prototype.constructor.name,t.CONSOLE_COMMAND_PARAMETER_CONTEXT=r.CypherParser.CypherConsoleCommandParameterContext.prototype.constructor.name,t.CONSOLE_COMMAND_SUBCOMMAND_CONTEXT=r.CypherParser.SubCommandContext.prototype.constructor.name,t.CONSOLE_COMMAND_PATH_CONTEXT=r.CypherParser.CommandPathContext.prototype.constructor.name,t.PROCEDURE_OUTPUT_CONTEXT=r.CypherParser.ProcedureOutputContext.prototype.constructor.name,t.PROCEDURE_RESULTS_CONTEXT=r.CypherParser.ProcedureResultsContext.prototype.constructor.name,t.ALL_FUNCTION_NAME_CONTEXT=r.CypherParser.AllFunctionNameContext.prototype.constructor.name,t.ANY_FUNCTION_NAME_CONTEXT=r.CypherParser.AnyFunctionNameContext.prototype.constructor.name,t.SINGLE_FUNCTION_NAME_CONTEXT=r.CypherParser.SingleFunctionNameContext.prototype.constructor.name,t.NONE_FUNCTION_NAME_CONTEXT=r.CypherParser.NoneFunctionNameContext.prototype.constructor.name,t.EXTRACT_FUNCTION_NAME_CONTEXT=r.CypherParser.ExtractFunctionNameContext.prototype.constructor.name,t.REDUCE_FUNCTION_NAME_CONTEXT=r.CypherParser.ReduceFunctionNameContext.prototype.constructor.name,t.SHORTEST_PATH_FUNCTION_NAME_CONTEXT=r.CypherParser.ShortestPathFunctionNameContext.prototype.constructor.name,t.ALL_SHORTEST_PATH_FUNCTION_NAME_CONTEXT=r.CypherParser.AllShortestPathFunctionNameContext.prototype.constructor.name,t.FILTER_FUNCTION_NAME_CONTEXT=r.CypherParser.FilterFunctionNameContext.prototype.constructor.name,t.EXISTS_FUNCTION_NAME_CONTEXT=r.CypherParser.ExistsFunctionNameContext.prototype.constructor.name,t.CALL_CONTEXT=r.CypherParser.CallContext.prototype.constructor.name,t.EXPRESSION_CONTEXT=r.CypherParser.ExpressionContext.prototype.constructor.name,t.PATTERN_ELEMENT_CONTEXT=r.CypherParser.PatternElementContext.prototype.constructor.name,t.NODE_PATTERN_CONTEXT=r.CypherParser.NodePatternContext.prototype.constructor.name,t.NODE_LABEL_CONTEXT=r.CypherParser.NodeLabelContext.prototype.constructor.name),d=(t.NODE_LABELS_CONTEXT=r.CypherParser.NodeLabelsContext.prototype.constructor.name,t.RELATIONSHIP_TYPE_CONTEXT=r.CypherParser.RelationshipTypeContext.prototype.constructor.name),f=t.RELATIONSHIP_TYPE_OPTIONAL_COLON_CONTEXT=r.CypherParser.RelationshipTypeOptionalColonContext.prototype.constructor.name,m=(t.RELATIONSHIP_TYPES_CONTEXT=r.CypherParser.RelationshipTypesContext.prototype.constructor.name,t.RELATIONSHIP_PATTERN_CONTEXT=r.CypherParser.RelationshipPatternContext.prototype.constructor.name,t.PROPERTY_LOOKUP_CONTEXT=r.CypherParser.PropertyLookupContext.prototype.constructor.name,t.MAP_LITERAL_CONTEXT=r.CypherParser.MapLiteralContext.prototype.constructor.name,t.PROPERTIES_CONTEXT=r.CypherParser.PropertiesContext.prototype.constructor.name,t.MAP_LITERAL_ENTRY=r.CypherParser.LiteralEntryContext.prototype.constructor.name,t.STRING_LITERAL_CONTEXT=r.CypherParser.StringLiteralContext.prototype.constructor.name);t.ATOM_CONTEXT=r.CypherParser.AtomContext.prototype.constructor.name,t.QUERY_CONTEXT=r.CypherParser.CypherQueryContext.prototype.constructor.name,t.SYMBOLIC_NAME_CONTEXT=r.CypherParser.SymbolicNameContext.prototype.constructor.name,t.COMPLETION_CANDIDATES=[m,i,u,c,h,p,d,f],t.SYMBOLIC_CONTEXTS=[i,o,a,s,l]},function(e,t){function n(){return this.source=null,this.type=null,this.channel=null,this.start=null,this.stop=null,this.tokenIndex=null,this.line=null,this.column=null,this._text=null,this}function r(e,t,i,o,a){return n.call(this),this.source=void 0!==e?e:r.EMPTY_SOURCE,this.type=void 0!==t?t:null,this.channel=void 0!==i?i:n.DEFAULT_CHANNEL,this.start=void 0!==o?o:-1,this.stop=void 0!==a?a:-1,this.tokenIndex=-1,null!==this.source[0]?(this.line=e[0].line,this.column=e[0].column):this.column=-1,this}n.INVALID_TYPE=0,n.EPSILON=-2,n.MIN_USER_TOKEN_TYPE=1,n.EOF=-1,n.DEFAULT_CHANNEL=0,n.HIDDEN_CHANNEL=1,Object.defineProperty(n.prototype,"text",{get:function(){return this._text},set:function(e){this._text=e}}),n.prototype.getTokenSource=function(){return this.source[0]},n.prototype.getInputStream=function(){return this.source[1]},r.prototype=Object.create(n.prototype),r.prototype.constructor=r,r.EMPTY_SOURCE=[null,null],r.prototype.clone=function(){var e=new r(this.source,this.type,this.channel,this.start,this.stop);return e.tokenIndex=this.tokenIndex,e.line=this.line,e.column=this.column,e.text=this.text,e},Object.defineProperty(r.prototype,"text",{get:function(){if(null!==this._text)return this._text;var e=this.getInputStream();if(null===e)return null;var t=e.size;return this.start<t&&this.stop<t?e.getText(this.start,this.stop):"<EOF>"},set:function(e){this._text=e}}),r.prototype.toString=function(){var e=this.text;return e=null!==e?e.replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t"):"<no text>","[@"+this.tokenIndex+","+this.start+":"+this.stop+"='"+e+"',<"+this.type+">"+(this.channel>0?",channel="+this.channel:"")+","+this.line+":"+this.column+"]"},t.Token=n,t.CommonToken=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=t.KEYWORD="keyword",i=(t.LABEL="label",t.VARIABLE="variable"),o=t.PARAMETER="parameter",a=t.PROPERTY_KEY="propertyKey",s=(t.RELATIONSHIP_TYPE="relationshipType",t.FUNCTION_NAME="function");t.PROCEDURE_NAME="procedure",t.CONSOLE_COMMAND_NAME="consoleCommand",t.CONSOLE_COMMAND_SUBCOMMAND="consoleCommandSubcommand",t.PROCEDURE_OUTPUT="procedureOutput",t.NOOP="noop",t.ALL=[i,o,a,s,r].map((function(e){return{type:e}}))},function(e,t,n){var r=n(2).Token;function i(e,t){return this.start=e,this.stop=t,this}function o(){this.intervals=null,this.readOnly=!1}i.prototype.contains=function(e){return e>=this.start&&e<this.stop},i.prototype.toString=function(){return this.start===this.stop-1?this.start.toString():this.start.toString()+".."+(this.stop-1).toString()},Object.defineProperty(i.prototype,"length",{get:function(){return this.stop-this.start}}),o.prototype.first=function(e){return null===this.intervals||0===this.intervals.length?r.INVALID_TYPE:this.intervals[0].start},o.prototype.addOne=function(e){this.addInterval(new i(e,e+1))},o.prototype.addRange=function(e,t){this.addInterval(new i(e,t+1))},o.prototype.addInterval=function(e){if(null===this.intervals)this.intervals=[],this.intervals.push(e);else{for(var t=0;t<this.intervals.length;t++){var n=this.intervals[t];if(e.stop<n.start)return void this.intervals.splice(t,0,e);if(e.stop===n.start)return void(this.intervals[t].start=e.start);if(e.start<=n.stop)return this.intervals[t]=new i(Math.min(n.start,e.start),Math.max(n.stop,e.stop)),void this.reduce(t)}this.intervals.push(e)}},o.prototype.addSet=function(e){if(null!==e.intervals)for(var t=0;t<e.intervals.length;t++){var n=e.intervals[t];this.addInterval(new i(n.start,n.stop))}return this},o.prototype.reduce=function(e){if(e<this.intervalslength-1){var t=this.intervals[e],n=this.intervals[e+1];t.stop>=n.stop?(this.intervals.pop(e+1),this.reduce(e)):t.stop>=n.start&&(this.intervals[e]=new i(t.start,n.stop),this.intervals.pop(e+1))}},o.prototype.complement=function(e,t){var n=new o;n.addInterval(new i(e,t+1));for(var r=0;r<this.intervals.length;r++)n.removeRange(this.intervals[r]);return n},o.prototype.contains=function(e){if(null===this.intervals)return!1;for(var t=0;t<this.intervals.length;t++)if(this.intervals[t].contains(e))return!0;return!1},Object.defineProperty(o.prototype,"length",{get:function(){var e=0;return this.intervals.map((function(t){e+=t.length})),e}}),o.prototype.removeRange=function(e){if(e.start===e.stop-1)this.removeOne(e.start);else if(null!==this.intervals)for(var t=0,n=0;n<this.intervals.length;n++){var r=this.intervals[t];if(e.stop<=r.start)return;if(e.start>r.start&&e.stop<r.stop){this.intervals[t]=new i(r.start,e.start);var o=new i(e.stop,r.stop);return void this.intervals.splice(t,0,o)}e.start<=r.start&&e.stop>=r.stop?(this.intervals.splice(t,1),t-=1):e.start<r.stop?this.intervals[t]=new i(r.start,e.start):e.stop<r.stop&&(this.intervals[t]=new i(e.stop,r.stop)),t+=1}},o.prototype.removeOne=function(e){if(null!==this.intervals)for(var t=0;t<this.intervals.length;t++){var n=this.intervals[t];if(e<n.start)return;if(e===n.start&&e===n.stop-1)return void this.intervals.splice(t,1);if(e===n.start)return void(this.intervals[t]=new i(n.start+1,n.stop));if(e===n.stop-1)return void(this.intervals[t]=new i(n.start,n.stop-1));if(e<n.stop-1){var r=new i(n.start,e);return n.start=e+1,void this.intervals.splice(t,0,r)}}},o.prototype.toString=function(e,t,n){return e=e||null,t=t||null,n=n||!1,null===this.intervals?"{}":null!==e||null!==t?this.toTokenString(e,t):n?this.toCharString():this.toIndexString()},o.prototype.toCharString=function(){for(var e=[],t=0;t<this.intervals.length;t++){var n=this.intervals[t];n.stop===n.start+1?n.start===r.EOF?e.push("<EOF>"):e.push("'"+String.fromCharCode(n.start)+"'"):e.push("'"+String.fromCharCode(n.start)+"'..'"+String.fromCharCode(n.stop-1)+"'")}return e.length>1?"{"+e.join(", ")+"}":e[0]},o.prototype.toIndexString=function(){for(var e=[],t=0;t<this.intervals.length;t++){var n=this.intervals[t];n.stop===n.start+1?n.start===r.EOF?e.push("<EOF>"):e.push(n.start.toString()):e.push(n.start.toString()+".."+(n.stop-1).toString())}return e.length>1?"{"+e.join(", ")+"}":e[0]},o.prototype.toTokenString=function(e,t){for(var n=[],r=0;r<this.intervals.length;r++)for(var i=this.intervals[r],o=i.start;o<i.stop;o++)n.push(this.elementName(e,t,o));return n.length>1?"{"+n.join(", ")+"}":n[0]},o.prototype.elementName=function(e,t,n){return n===r.EOF?"<EOF>":n===r.EPSILON?"<EPSILON>":e[n]||t[n]},t.Interval=i,t.IntervalSet=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t.TreeUtils=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return r(e,null,[{key:"findParent",value:function(e,t){for(var n=e;;){if(null==n)return null;if(n.constructor.name===t)return n;n=n.parentCtx}}},{key:"findAnyParent",value:function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=e;;){if(null==n)return null;if(t.indexOf(n.constructor.name)>-1)return n;n=n.parentCtx}}},{key:"findChild",value:function(t,n){if(null==t)return null;if(t.constructor.name===n)return t;if(null!=t.children)for(var r=0;r<t.children.length;r+=1){var i=t.children[r],o=e.findChild(i,n);if(null!=o)return o}return null}},{key:"getPosition",value:function(e){if(null!=e){var t=e.start,n=e.stop,r=e.symbol;if(null!=r)return{start:r.start,stop:r.stop};if(null!=t&&null!=n)return{start:t.start,stop:n.stop}}return null}},{key:"hasErrorNode",value:function(t){if(null==t)return!1;if(t.isErrorNode&&t.isErrorNode())return!0;if(null!=t.children)for(var n=0;n<t.children.length;n+=1){var r=t.children[n];if(e.hasErrorNode(r))return!0}return!1}}]),e}()},function(e,t,n){t.atn=n(50),t.codepointat=n(33),t.dfa=n(57),t.fromcodepoint=n(34),t.tree=n(59),t.error=n(60),t.Token=n(2).Token,t.CharStreams=n(62).CharStreams,t.CommonToken=n(2).CommonToken,t.InputStream=n(22).InputStream,t.FileStream=n(63).FileStream,t.CommonTokenStream=n(64).CommonTokenStream,t.Lexer=n(18).Lexer,t.Parser=n(66).Parser;var r=n(10);t.PredictionContextCache=r.PredictionContextCache,t.ParserRuleContext=n(21).ParserRuleContext,t.Interval=n(4).Interval,t.Utils=n(0)},function(e,t){function n(){return this.atn=null,this.stateNumber=n.INVALID_STATE_NUMBER,this.stateType=null,this.ruleIndex=0,this.epsilonOnlyTransitions=!1,this.transitions=[],this.nextTokenWithinRule=null,this}function r(){return n.call(this),this.stateType=n.BASIC,this}function i(){return n.call(this),this.decision=-1,this.nonGreedy=!1,this}function o(){return i.call(this),this.endState=null,this}function a(){return o.call(this),this.stateType=n.BLOCK_START,this}function s(){return n.call(this),this.stateType=n.BLOCK_END,this.startState=null,this}function l(){return n.call(this),this.stateType=n.RULE_STOP,this}function c(){return n.call(this),this.stateType=n.RULE_START,this.stopState=null,this.isPrecedenceRule=!1,this}function u(){return i.call(this),this.stateType=n.PLUS_LOOP_BACK,this}function h(){return o.call(this),this.stateType=n.PLUS_BLOCK_START,this.loopBackState=null,this}function p(){return o.call(this),this.stateType=n.STAR_BLOCK_START,this}function d(){return n.call(this),this.stateType=n.STAR_LOOP_BACK,this}function f(){return i.call(this),this.stateType=n.STAR_LOOP_ENTRY,this.loopBackState=null,this.isPrecedenceDecision=null,this}function m(){return n.call(this),this.stateType=n.LOOP_END,this.loopBackState=null,this}function g(){return i.call(this),this.stateType=n.TOKEN_START,this}n.INVALID_TYPE=0,n.BASIC=1,n.RULE_START=2,n.BLOCK_START=3,n.PLUS_BLOCK_START=4,n.STAR_BLOCK_START=5,n.TOKEN_START=6,n.RULE_STOP=7,n.BLOCK_END=8,n.STAR_LOOP_BACK=9,n.STAR_LOOP_ENTRY=10,n.PLUS_LOOP_BACK=11,n.LOOP_END=12,n.serializationNames=["INVALID","BASIC","RULE_START","BLOCK_START","PLUS_BLOCK_START","STAR_BLOCK_START","TOKEN_START","RULE_STOP","BLOCK_END","STAR_LOOP_BACK","STAR_LOOP_ENTRY","PLUS_LOOP_BACK","LOOP_END"],n.INVALID_STATE_NUMBER=-1,n.prototype.toString=function(){return this.stateNumber},n.prototype.equals=function(e){return e instanceof n&&this.stateNumber===e.stateNumber},n.prototype.isNonGreedyExitState=function(){return!1},n.prototype.addTransition=function(e,t){void 0===t&&(t=-1),0===this.transitions.length?this.epsilonOnlyTransitions=e.isEpsilon:this.epsilonOnlyTransitions!==e.isEpsilon&&(this.epsilonOnlyTransitions=!1),-1===t?this.transitions.push(e):this.transitions.splice(t,1,e)},r.prototype=Object.create(n.prototype),r.prototype.constructor=r,i.prototype=Object.create(n.prototype),i.prototype.constructor=i,o.prototype=Object.create(i.prototype),o.prototype.constructor=o,a.prototype=Object.create(o.prototype),a.prototype.constructor=a,s.prototype=Object.create(n.prototype),s.prototype.constructor=s,l.prototype=Object.create(n.prototype),l.prototype.constructor=l,c.prototype=Object.create(n.prototype),c.prototype.constructor=c,u.prototype=Object.create(i.prototype),u.prototype.constructor=u,h.prototype=Object.create(o.prototype),h.prototype.constructor=h,p.prototype=Object.create(o.prototype),p.prototype.constructor=p,d.prototype=Object.create(n.prototype),d.prototype.constructor=d,f.prototype=Object.create(i.prototype),f.prototype.constructor=f,m.prototype=Object.create(n.prototype),m.prototype.constructor=m,g.prototype=Object.create(i.prototype),g.prototype.constructor=g,t.ATNState=n,t.BasicState=r,t.DecisionState=i,t.BlockStartState=o,t.BlockEndState=s,t.LoopEndState=m,t.RuleStartState=c,t.RuleStopState=l,t.TokensStartState=g,t.PlusLoopbackState=u,t.StarLoopbackState=d,t.StarLoopEntryState=f,t.PlusBlockStartState=h,t.StarBlockStartState=p,t.BasicBlockStartState=a},function(e,t,n){var r=n(2).Token,i=n(4).Interval,o=new i(-1,-2);function a(){return this}function s(){return a.call(this),this}function l(){return s.call(this),this}function c(){return l.call(this),this}function u(){return l.call(this),this}function h(){return u.call(this),this}function p(){return this}function d(){return this}function f(e){return u.call(this),this.parentCtx=null,this.symbol=e,this}function m(e){return f.call(this,e),this}function g(){return this}n(0),s.prototype=Object.create(a.prototype),s.prototype.constructor=s,l.prototype=Object.create(s.prototype),l.prototype.constructor=l,c.prototype=Object.create(l.prototype),c.prototype.constructor=c,u.prototype=Object.create(l.prototype),u.prototype.constructor=u,h.prototype=Object.create(u.prototype),h.prototype.constructor=h,p.prototype.visit=function(e){return Array.isArray(e)?e.map((function(e){return e.accept(this)}),this):e.accept(this)},p.prototype.visitChildren=function(e){return this.visit(e.children)},p.prototype.visitTerminal=function(e){},p.prototype.visitErrorNode=function(e){},d.prototype.visitTerminal=function(e){},d.prototype.visitErrorNode=function(e){},d.prototype.enterEveryRule=function(e){},d.prototype.exitEveryRule=function(e){},f.prototype=Object.create(u.prototype),f.prototype.constructor=f,f.prototype.getChild=function(e){return null},f.prototype.getSymbol=function(){return this.symbol},f.prototype.getParent=function(){return this.parentCtx},f.prototype.getPayload=function(){return this.symbol},f.prototype.getSourceInterval=function(){if(null===this.symbol)return o;var e=this.symbol.tokenIndex;return new i(e,e)},f.prototype.getChildCount=function(){return 0},f.prototype.accept=function(e){return e.visitTerminal(this)},f.prototype.getText=function(){return this.symbol.text},f.prototype.toString=function(){return this.symbol.type===r.EOF?"<EOF>":this.symbol.text},m.prototype=Object.create(f.prototype),m.prototype.constructor=m,m.prototype.isErrorNode=function(){return!0},m.prototype.accept=function(e){return e.visitErrorNode(this)},g.prototype.walk=function(e,t){if(t instanceof h||void 0!==t.isErrorNode&&t.isErrorNode())e.visitErrorNode(t);else if(t instanceof u)e.visitTerminal(t);else{this.enterRule(e,t);for(var n=0;n<t.getChildCount();n++){var r=t.getChild(n);this.walk(e,r)}this.exitRule(e,t)}},g.prototype.enterRule=function(e,t){var n=t.getRuleContext();e.enterEveryRule(n),n.enterRule(e)},g.prototype.exitRule=function(e,t){var n=t.getRuleContext();n.exitRule(e),e.exitEveryRule(n)},g.DEFAULT=new g,t.RuleNode=c,t.ErrorNode=h,t.TerminalNode=u,t.ErrorNodeImpl=m,t.TerminalNodeImpl=f,t.ParseTreeListener=d,t.ParseTreeVisitor=p,t.ParseTreeWalker=g,t.INVALID_INTERVAL=o},function(e,t,n){var r=n(12).PredicateTransition;function i(e){return Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,i):(new Error).stack,this.message=e.message,this.recognizer=e.recognizer,this.input=e.input,this.ctx=e.ctx,this.offendingToken=null,this.offendingState=-1,null!==this.recognizer&&(this.offendingState=this.recognizer.state),this}function o(e,t,n,r){return i.call(this,{message:"",recognizer:e,input:t,ctx:null}),this.startIndex=n,this.deadEndConfigs=r,this}function a(e,t,n,r,o,a){a=a||e._ctx,r=r||e.getCurrentToken(),n=n||e.getCurrentToken(),t=t||e.getInputStream(),i.call(this,{message:"",recognizer:e,input:t,ctx:a}),this.deadEndConfigs=o,this.startToken=n,this.offendingToken=r}function s(e){i.call(this,{message:"",recognizer:e,input:e.getInputStream(),ctx:e._ctx}),this.offendingToken=e.getCurrentToken()}function l(e,t,n){i.call(this,{message:this.formatMessage(t,n||null),recognizer:e,input:e.getInputStream(),ctx:e._ctx});var o=e._interp.atn.states[e.state].transitions[0];return o instanceof r?(this.ruleIndex=o.ruleIndex,this.predicateIndex=o.predIndex):(this.ruleIndex=0,this.predicateIndex=0),this.predicate=t,this.offendingToken=e.getCurrentToken(),this}function c(){return Error.call(this),Error.captureStackTrace(this,c),this}i.prototype=Object.create(Error.prototype),i.prototype.constructor=i,i.prototype.getExpectedTokens=function(){return null!==this.recognizer?this.recognizer.atn.getExpectedTokens(this.offendingState,this.ctx):null},i.prototype.toString=function(){return this.message},o.prototype=Object.create(i.prototype),o.prototype.constructor=o,o.prototype.toString=function(){var e="";return this.startIndex>=0&&this.startIndex<this.input.size&&(e=this.input.getText((this.startIndex,this.startIndex))),"LexerNoViableAltException"+e},a.prototype=Object.create(i.prototype),a.prototype.constructor=a,s.prototype=Object.create(i.prototype),s.prototype.constructor=s,l.prototype=Object.create(i.prototype),l.prototype.constructor=l,l.prototype.formatMessage=function(e,t){return null!==t?t:"failed predicate: {"+e+"}?"},c.prototype=Object.create(Error.prototype),c.prototype.constructor=c,t.RecognitionException=i,t.NoViableAltException=a,t.LexerNoViableAltException=o,t.InputMismatchException=s,t.FailedPredicateException=l,t.ParseCancellationException=c},function(e,t,n){var r=n(17).RuleContext,i=n(0).Hash;function o(e){this.cachedHashCode=e}function a(){return this.cache={},this}function s(e,t){var n=0;if(null!==e){var r=new i;r.update(e,t),n=r.finish()}o.call(this,n),this.parentCtx=e,this.returnState=t}function l(){return s.call(this,null,o.EMPTY_RETURN_STATE),this}function c(e,t){var n=new i;n.update(e,t);var r=n.finish();return o.call(this,r),this.parents=e,this.returnStates=t,this}o.EMPTY=null,o.EMPTY_RETURN_STATE=2147483647,o.globalNodeCount=1,o.id=o.globalNodeCount,o.prototype.isEmpty=function(){return this===o.EMPTY},o.prototype.hasEmptyPath=function(){return this.getReturnState(this.length-1)===o.EMPTY_RETURN_STATE},o.prototype.hashCode=function(){return this.cachedHashCode},o.prototype.updateHashCode=function(e){e.update(this.cachedHashCode)},a.prototype.add=function(e){if(e===o.EMPTY)return o.EMPTY;var t=this.cache[e]||null;return null!==t?t:(this.cache[e]=e,e)},a.prototype.get=function(e){return this.cache[e]||null},Object.defineProperty(a.prototype,"length",{get:function(){return this.cache.length}}),s.prototype=Object.create(o.prototype),s.prototype.contructor=s,s.create=function(e,t){return t===o.EMPTY_RETURN_STATE&&null===e?o.EMPTY:new s(e,t)},Object.defineProperty(s.prototype,"length",{get:function(){return 1}}),s.prototype.getParent=function(e){return this.parentCtx},s.prototype.getReturnState=function(e){return this.returnState},s.prototype.equals=function(e){return this===e||e instanceof s&&this.hashCode()===e.hashCode()&&this.returnState===e.returnState&&(null==this.parentCtx?null==e.parentCtx:this.parentCtx.equals(e.parentCtx))},s.prototype.toString=function(){var e=null===this.parentCtx?"":this.parentCtx.toString();return 0===e.length?this.returnState===o.EMPTY_RETURN_STATE?"$":""+this.returnState:this.returnState+" "+e},l.prototype=Object.create(s.prototype),l.prototype.constructor=l,l.prototype.isEmpty=function(){return!0},l.prototype.getParent=function(e){return null},l.prototype.getReturnState=function(e){return this.returnState},l.prototype.equals=function(e){return this===e},l.prototype.toString=function(){return"$"},o.EMPTY=new l,c.prototype=Object.create(o.prototype),c.prototype.constructor=c,c.prototype.isEmpty=function(){return this.returnStates[0]===o.EMPTY_RETURN_STATE},Object.defineProperty(c.prototype,"length",{get:function(){return this.returnStates.length}}),c.prototype.getParent=function(e){return this.parents[e]},c.prototype.getReturnState=function(e){return this.returnStates[e]},c.prototype.equals=function(e){return this===e||e instanceof c&&this.hashCode()===e.hashCode()&&this.returnStates===e.returnStates&&this.parents===e.parents},c.prototype.toString=function(){if(this.isEmpty())return"[]";for(var e="[",t=0;t<this.returnStates.length;t++)t>0&&(e+=", "),this.returnStates[t]!==o.EMPTY_RETURN_STATE?(e+=this.returnStates[t],null!==this.parents[t]?e=e+" "+this.parents[t]:e+="null"):e+="$";return e+"]"},t.merge=function e(t,n,r,i){if(t===n)return t;if(t instanceof s&&n instanceof s)return function(t,n,r,i){if(null!==i){var a=i.get(t,n);if(null!==a)return a;if(null!==(a=i.get(n,t)))return a}var l=function(e,t,n){if(n){if(e===o.EMPTY)return o.EMPTY;if(t===o.EMPTY)return o.EMPTY}else{if(e===o.EMPTY&&t===o.EMPTY)return o.EMPTY;if(e===o.EMPTY){var r=[t.returnState,o.EMPTY_RETURN_STATE];return new c([t.parentCtx,null],r)}if(t===o.EMPTY)return r=[e.returnState,o.EMPTY_RETURN_STATE],new c([e.parentCtx,null],r)}return null}(t,n,r);if(null!==l)return null!==i&&i.set(t,n,l),l;if(t.returnState===n.returnState){var u=e(t.parentCtx,n.parentCtx,r,i);if(u===t.parentCtx)return t;if(u===n.parentCtx)return n;var h=s.create(u,t.returnState);return null!==i&&i.set(t,n,h),h}var p=null;if((t===n||null!==t.parentCtx&&t.parentCtx===n.parentCtx)&&(p=t.parentCtx),null!==p){var d=[t.returnState,n.returnState];t.returnState>n.returnState&&(d[0]=n.returnState,d[1]=t.returnState);var f=new c(m=[p,p],d);return null!==i&&i.set(t,n,f),f}d=[t.returnState,n.returnState];var m=[t.parentCtx,n.parentCtx];t.returnState>n.returnState&&(d[0]=n.returnState,d[1]=t.returnState,m=[n.parentCtx,t.parentCtx]);var g=new c(m,d);return null!==i&&i.set(t,n,g),g}(t,n,r,i);if(r){if(t instanceof l)return t;if(n instanceof l)return n}return t instanceof s&&(t=new c([t.getParent()],[t.returnState])),n instanceof s&&(n=new c([n.getParent()],[n.returnState])),function(t,n,r,i){if(null!==i){var a=i.get(t,n);if(null!==a)return a;if(null!==(a=i.get(n,t)))return a}for(var l=0,u=0,h=0,p=[],d=[];l<t.returnStates.length&&u<n.returnStates.length;){var f=t.parents[l],m=n.parents[u];if(t.returnStates[l]===n.returnStates[u]){var g=t.returnStates[l];if(g===o.EMPTY_RETURN_STATE&&null===f&&null===m||null!==f&&null!==m&&f===m)d[h]=f,p[h]=g;else{var y=e(f,m,r,i);d[h]=y,p[h]=g}l+=1,u+=1}else t.returnStates[l]<n.returnStates[u]?(d[h]=f,p[h]=t.returnStates[l],l+=1):(d[h]=m,p[h]=n.returnStates[u],u+=1);h+=1}if(l<t.returnStates.length)for(var v=l;v<t.returnStates.length;v++)d[h]=t.parents[v],p[h]=t.returnStates[v],h+=1;else for(v=u;v<n.returnStates.length;v++)d[h]=n.parents[v],p[h]=n.returnStates[v],h+=1;if(h<d.length){if(1===h){var _=s.create(d[0],p[0]);return null!==i&&i.set(t,n,_),_}d=d.slice(0,h),p=p.slice(0,h)}var b=new c(d,p);return b===t?(null!==i&&i.set(t,n,t),t):b===n?(null!==i&&i.set(t,n,n),n):(function(e){for(var t={},n=0;n<e.length;n++){var r=e[n];r in t||(t[r]=r)}for(var i=0;i<e.length;i++)e[i]=t[e[i]]}(d),null!==i&&i.set(t,n,b),b)}(t,n,r,i)},t.PredictionContext=o,t.PredictionContextCache=a,t.SingletonPredictionContext=s,t.predictionContextFromRuleContext=function e(t,n){if(null==n&&(n=r.EMPTY),null===n.parentCtx||n===r.EMPTY)return o.EMPTY;var i=e(t,n.parentCtx),a=t.states[n.invokingState].transitions[0];return s.create(i,a.followState.stateNumber)},t.getCachedPredictionContext=function e(t,n,r){if(t.isEmpty())return t;var i=r[t]||null;if(null!==i)return i;if(null!==(i=n.get(t)))return r[t]=i,i;for(var a=!1,l=[],u=0;u<l.length;u++){var h=e(t.getParent(u),n,r);if(a||h!==t.getParent(u)){if(!a){l=[];for(var p=0;p<t.length;p++)l[p]=t.getParent(p);a=!0}l[u]=h}}if(!a)return n.add(t),r[t]=t,t;var d;return d=0===l.length?o.EMPTY:1===l.length?s.create(l[0],t.getReturnState(0)):new c(l,t.returnStates),n.add(d),r[d]=d,r[t]=d,d}},function(e,t,n){var r=n(51).LL1Analyzer,i=n(4).IntervalSet;function o(e,t){return this.grammarType=e,this.maxTokenType=t,this.states=[],this.decisionToState=[],this.ruleToStartState=[],this.ruleToStopState=null,this.modeNameToStartState={},this.ruleToTokenType=null,this.lexerActions=null,this.modeToStartState=[],this}o.prototype.nextTokensInContext=function(e,t){return new r(this).LOOK(e,null,t)},o.prototype.nextTokensNoContext=function(e){return null!==e.nextTokenWithinRule||(e.nextTokenWithinRule=this.nextTokensInContext(e,null),e.nextTokenWithinRule.readOnly=!0),e.nextTokenWithinRule},o.prototype.nextTokens=function(e,t){return void 0===t?this.nextTokensNoContext(e):this.nextTokensInContext(e,t)},o.prototype.addState=function(e){null!==e&&(e.atn=this,e.stateNumber=this.states.length),this.states.push(e)},o.prototype.removeState=function(e){this.states[e.stateNumber]=null},o.prototype.defineDecisionState=function(e){return this.decisionToState.push(e),e.decision=this.decisionToState.length-1,e.decision},o.prototype.getDecisionState=function(e){return 0===this.decisionToState.length?null:this.decisionToState[e]};var a=n(2).Token;o.prototype.getExpectedTokens=function(e,t){if(e<0||e>=this.states.length)throw"Invalid state number.";var n=this.states[e],r=this.nextTokens(n);if(!r.contains(a.EPSILON))return r;var o=new i;for(o.addSet(r),o.removeOne(a.EPSILON);null!==t&&t.invokingState>=0&&r.contains(a.EPSILON);){var s=this.states[t.invokingState].transitions[0];r=this.nextTokens(s.followState),o.addSet(r),o.removeOne(a.EPSILON),t=t.parentCtx}return r.contains(a.EPSILON)&&o.addOne(a.EOF),o},o.INVALID_ALT_NUMBER=0,t.ATN=o},function(e,t,n){var r=n(2).Token,i=(n(4).Interval,n(4).IntervalSet),o=n(14).Predicate,a=n(14).PrecedencePredicate;function s(e){if(null==e)throw"target cannot be null.";return this.target=e,this.isEpsilon=!1,this.label=null,this}function l(e,t){return s.call(this,e),this.label_=t,this.label=this.makeLabel(),this.serializationType=s.ATOM,this}function c(e,t,n,r){return s.call(this,e),this.ruleIndex=t,this.precedence=n,this.followState=r,this.serializationType=s.RULE,this.isEpsilon=!0,this}function u(e,t){return s.call(this,e),this.serializationType=s.EPSILON,this.isEpsilon=!0,this.outermostPrecedenceReturn=t,this}function h(e,t,n){return s.call(this,e),this.serializationType=s.RANGE,this.start=t,this.stop=n,this.label=this.makeLabel(),this}function p(e){return s.call(this,e),this}function d(e,t,n,r){return p.call(this,e),this.serializationType=s.PREDICATE,this.ruleIndex=t,this.predIndex=n,this.isCtxDependent=r,this.isEpsilon=!0,this}function f(e,t,n,r){return s.call(this,e),this.serializationType=s.ACTION,this.ruleIndex=t,this.actionIndex=void 0===n?-1:n,this.isCtxDependent=void 0!==r&&r,this.isEpsilon=!0,this}function m(e,t){return s.call(this,e),this.serializationType=s.SET,null!=t?this.label=t:(this.label=new i,this.label.addOne(r.INVALID_TYPE)),this}function g(e,t){return m.call(this,e,t),this.serializationType=s.NOT_SET,this}function y(e){return s.call(this,e),this.serializationType=s.WILDCARD,this}function v(e,t){return p.call(this,e),this.serializationType=s.PRECEDENCE,this.precedence=t,this.isEpsilon=!0,this}s.EPSILON=1,s.RANGE=2,s.RULE=3,s.PREDICATE=4,s.ATOM=5,s.ACTION=6,s.SET=7,s.NOT_SET=8,s.WILDCARD=9,s.PRECEDENCE=10,s.serializationNames=["INVALID","EPSILON","RANGE","RULE","PREDICATE","ATOM","ACTION","SET","NOT_SET","WILDCARD","PRECEDENCE"],s.serializationTypes={EpsilonTransition:s.EPSILON,RangeTransition:s.RANGE,RuleTransition:s.RULE,PredicateTransition:s.PREDICATE,AtomTransition:s.ATOM,ActionTransition:s.ACTION,SetTransition:s.SET,NotSetTransition:s.NOT_SET,WildcardTransition:s.WILDCARD,PrecedencePredicateTransition:s.PRECEDENCE},l.prototype=Object.create(s.prototype),l.prototype.constructor=l,l.prototype.makeLabel=function(){var e=new i;return e.addOne(this.label_),e},l.prototype.matches=function(e,t,n){return this.label_===e},l.prototype.toString=function(){return this.label_},c.prototype=Object.create(s.prototype),c.prototype.constructor=c,c.prototype.matches=function(e,t,n){return!1},u.prototype=Object.create(s.prototype),u.prototype.constructor=u,u.prototype.matches=function(e,t,n){return!1},u.prototype.toString=function(){return"epsilon"},h.prototype=Object.create(s.prototype),h.prototype.constructor=h,h.prototype.makeLabel=function(){var e=new i;return e.addRange(this.start,this.stop),e},h.prototype.matches=function(e,t,n){return e>=this.start&&e<=this.stop},h.prototype.toString=function(){return"'"+String.fromCharCode(this.start)+"'..'"+String.fromCharCode(this.stop)+"'"},p.prototype=Object.create(s.prototype),p.prototype.constructor=p,d.prototype=Object.create(p.prototype),d.prototype.constructor=d,d.prototype.matches=function(e,t,n){return!1},d.prototype.getPredicate=function(){return new o(this.ruleIndex,this.predIndex,this.isCtxDependent)},d.prototype.toString=function(){return"pred_"+this.ruleIndex+":"+this.predIndex},f.prototype=Object.create(s.prototype),f.prototype.constructor=f,f.prototype.matches=function(e,t,n){return!1},f.prototype.toString=function(){return"action_"+this.ruleIndex+":"+this.actionIndex},m.prototype=Object.create(s.prototype),m.prototype.constructor=m,m.prototype.matches=function(e,t,n){return this.label.contains(e)},m.prototype.toString=function(){return this.label.toString()},g.prototype=Object.create(m.prototype),g.prototype.constructor=g,g.prototype.matches=function(e,t,n){return e>=t&&e<=n&&!m.prototype.matches.call(this,e,t,n)},g.prototype.toString=function(){return"~"+m.prototype.toString.call(this)},y.prototype=Object.create(s.prototype),y.prototype.constructor=y,y.prototype.matches=function(e,t,n){return e>=t&&e<=n},y.prototype.toString=function(){return"."},v.prototype=Object.create(p.prototype),v.prototype.constructor=v,v.prototype.matches=function(e,t,n){return!1},v.prototype.getPredicate=function(){return new a(this.precedence)},v.prototype.toString=function(){return this.precedence+" >= _p"},t.Transition=s,t.AtomTransition=l,t.SetTransition=m,t.NotSetTransition=g,t.RuleTransition=c,t.ActionTransition=f,t.EpsilonTransition=u,t.RangeTransition=h,t.WildcardTransition=y,t.PredicateTransition=d,t.PrecedencePredicateTransition=v,t.AbstractPredicateTransition=p},function(e,t,n){var r=n(11).ATN,i=n(0),o=i.Hash,a=i.Set,s=n(14).SemanticContext,l=n(10).merge;function c(e){return e.hashCodeForConfigSet()}function u(e,t){return e===t||null!==e&&null!==t&&e.equalsForConfigSet(t)}function h(e){return this.configLookup=new a(c,u),this.fullCtx=void 0===e||e,this.readOnly=!1,this.configs=[],this.uniqueAlt=0,this.conflictingAlts=null,this.hasSemanticContext=!1,this.dipsIntoOuterContext=!1,this.cachedHashCode=-1,this}function p(){return h.call(this),this.configLookup=new a,this}h.prototype.add=function(e,t){if(void 0===t&&(t=null),this.readOnly)throw"This set is readonly";e.semanticContext!==s.NONE&&(this.hasSemanticContext=!0),e.reachesIntoOuterContext>0&&(this.dipsIntoOuterContext=!0);var n=this.configLookup.add(e);if(n===e)return this.cachedHashCode=-1,this.configs.push(e),!0;var r=!this.fullCtx,i=l(n.context,e.context,r,t);return n.reachesIntoOuterContext=Math.max(n.reachesIntoOuterContext,e.reachesIntoOuterContext),e.precedenceFilterSuppressed&&(n.precedenceFilterSuppressed=!0),n.context=i,!0},h.prototype.getStates=function(){for(var e=new a,t=0;t<this.configs.length;t++)e.add(this.configs[t].state);return e},h.prototype.getPredicates=function(){for(var e=[],t=0;t<this.configs.length;t++){var n=this.configs[t].semanticContext;n!==s.NONE&&e.push(n.semanticContext)}return e},Object.defineProperty(h.prototype,"items",{get:function(){return this.configs}}),h.prototype.optimizeConfigs=function(e){if(this.readOnly)throw"This set is readonly";if(0!==this.configLookup.length)for(var t=0;t<this.configs.length;t++){var n=this.configs[t];n.context=e.getCachedContext(n.context)}},h.prototype.addAll=function(e){for(var t=0;t<e.length;t++)this.add(e[t]);return!1},h.prototype.equals=function(e){return this===e||e instanceof h&&i.equalArrays(this.configs,e.configs)&&this.fullCtx===e.fullCtx&&this.uniqueAlt===e.uniqueAlt&&this.conflictingAlts===e.conflictingAlts&&this.hasSemanticContext===e.hasSemanticContext&&this.dipsIntoOuterContext===e.dipsIntoOuterContext},h.prototype.hashCode=function(){var e=new o;return this.updateHashCode(e),e.finish()},h.prototype.updateHashCode=function(e){this.readOnly?(-1===this.cachedHashCode&&((e=new o).update(this.configs),this.cachedHashCode=e.finish()),e.update(this.cachedHashCode)):e.update(this.configs)},Object.defineProperty(h.prototype,"length",{get:function(){return this.configs.length}}),h.prototype.isEmpty=function(){return 0===this.configs.length},h.prototype.contains=function(e){if(null===this.configLookup)throw"This method is not implemented for readonly sets.";return this.configLookup.contains(e)},h.prototype.containsFast=function(e){if(null===this.configLookup)throw"This method is not implemented for readonly sets.";return this.configLookup.containsFast(e)},h.prototype.clear=function(){if(this.readOnly)throw"This set is readonly";this.configs=[],this.cachedHashCode=-1,this.configLookup=new a},h.prototype.setReadonly=function(e){this.readOnly=e,e&&(this.configLookup=null)},h.prototype.toString=function(){return i.arrayToString(this.configs)+(this.hasSemanticContext?",hasSemanticContext="+this.hasSemanticContext:"")+(this.uniqueAlt!==r.INVALID_ALT_NUMBER?",uniqueAlt="+this.uniqueAlt:"")+(null!==this.conflictingAlts?",conflictingAlts="+this.conflictingAlts:"")+(this.dipsIntoOuterContext?",dipsIntoOuterContext":"")},p.prototype=Object.create(h.prototype),p.prototype.constructor=p,t.ATNConfigSet=h,t.OrderedATNConfigSet=p},function(e,t,n){var r=n(0).Set,i=n(0).Hash;function o(){return this}function a(e,t,n){return o.call(this),this.ruleIndex=void 0===e?-1:e,this.predIndex=void 0===t?-1:t,this.isCtxDependent=void 0!==n&&n,this}function s(e){o.call(this),this.precedence=void 0===e?0:e}function l(e,t){o.call(this);var n=new r;e instanceof l?e.opnds.map((function(e){n.add(e)})):n.add(e),t instanceof l?t.opnds.map((function(e){n.add(e)})):n.add(t);var i=s.filterPrecedencePredicates(n);if(i.length>0){var a=null;i.map((function(e){(null===a||e.precedence<a.precedence)&&(a=e)})),n.add(a)}return this.opnds=n.values(),this}function c(e,t){o.call(this);var n=new r;e instanceof c?e.opnds.map((function(e){n.add(e)})):n.add(e),t instanceof c?t.opnds.map((function(e){n.add(e)})):n.add(t);var i=s.filterPrecedencePredicates(n);if(i.length>0){var a=i.sort((function(e,t){return e.compareTo(t)})),l=a[a.length-1];n.add(l)}return this.opnds=n.values(),this}o.prototype.hashCode=function(){var e=new i;return this.updateHashCode(e),e.finish()},o.prototype.evaluate=function(e,t){},o.prototype.evalPrecedence=function(e,t){return this},o.andContext=function(e,t){if(null===e||e===o.NONE)return t;if(null===t||t===o.NONE)return e;var n=new l(e,t);return 1===n.opnds.length?n.opnds[0]:n},o.orContext=function(e,t){if(null===e)return t;if(null===t)return e;if(e===o.NONE||t===o.NONE)return o.NONE;var n=new c(e,t);return 1===n.opnds.length?n.opnds[0]:n},a.prototype=Object.create(o.prototype),a.prototype.constructor=a,o.NONE=new a,a.prototype.evaluate=function(e,t){var n=this.isCtxDependent?t:null;return e.sempred(n,this.ruleIndex,this.predIndex)},a.prototype.updateHashCode=function(e){e.update(this.ruleIndex,this.predIndex,this.isCtxDependent)},a.prototype.equals=function(e){return this===e||e instanceof a&&this.ruleIndex===e.ruleIndex&&this.predIndex===e.predIndex&&this.isCtxDependent===e.isCtxDependent},a.prototype.toString=function(){return"{"+this.ruleIndex+":"+this.predIndex+"}?"},s.prototype=Object.create(o.prototype),s.prototype.constructor=s,s.prototype.evaluate=function(e,t){return e.precpred(t,this.precedence)},s.prototype.evalPrecedence=function(e,t){return e.precpred(t,this.precedence)?o.NONE:null},s.prototype.compareTo=function(e){return this.precedence-e.precedence},s.prototype.updateHashCode=function(e){e.update(31)},s.prototype.equals=function(e){return this===e||e instanceof s&&this.precedence===e.precedence},s.prototype.toString=function(){return"{"+this.precedence+">=prec}?"},s.filterPrecedencePredicates=function(e){var t=[];return e.values().map((function(e){e instanceof s&&t.push(e)})),t},l.prototype=Object.create(o.prototype),l.prototype.constructor=l,l.prototype.equals=function(e){return this===e||e instanceof l&&this.opnds===e.opnds},l.prototype.updateHashCode=function(e){e.update(this.opnds,"AND")},l.prototype.evaluate=function(e,t){for(var n=0;n<this.opnds.length;n++)if(!this.opnds[n].evaluate(e,t))return!1;return!0},l.prototype.evalPrecedence=function(e,t){for(var n=!1,r=[],i=0;i<this.opnds.length;i++){var a=this.opnds[i],s=a.evalPrecedence(e,t);if(n|=s!==a,null===s)return null;s!==o.NONE&&r.push(s)}if(!n)return this;if(0===r.length)return o.NONE;var l=null;return r.map((function(e){l=null===l?e:o.andContext(l,e)})),l},l.prototype.toString=function(){var e="";return this.opnds.map((function(t){e+="&& "+t.toString()})),e.length>3?e.slice(3):e},c.prototype=Object.create(o.prototype),c.prototype.constructor=c,c.prototype.constructor=function(e){return this===e||e instanceof c&&this.opnds===e.opnds},c.prototype.updateHashCode=function(e){e.update(this.opnds,"OR")},c.prototype.evaluate=function(e,t){for(var n=0;n<this.opnds.length;n++)if(this.opnds[n].evaluate(e,t))return!0;return!1},c.prototype.evalPrecedence=function(e,t){for(var n=!1,r=[],i=0;i<this.opnds.length;i++){var a=this.opnds[i],s=a.evalPrecedence(e,t);if(n|=s!==a,s===o.NONE)return o.NONE;null!==s&&r.push(s)}if(!n)return this;if(0===r.length)return null;return r.map((function(e){return e})),null},c.prototype.toString=function(){var e="";return this.opnds.map((function(t){e+="|| "+t.toString()})),e.length>3?e.slice(3):e},t.SemanticContext=o,t.PrecedencePredicate=s,t.Predicate=a},function(e,t,n){var r=n(13).ATNConfigSet,i=n(0),o=i.Hash,a=i.Set;function s(e,t){return this.alt=t,this.pred=e,this}function l(e,t){return null===e&&(e=-1),null===t&&(t=new r),this.stateNumber=e,this.configs=t,this.edges=null,this.isAcceptState=!1,this.prediction=0,this.lexerActionExecutor=null,this.requiresFullContext=!1,this.predicates=null,this}s.prototype.toString=function(){return"("+this.pred+", "+this.alt+")"},l.prototype.getAltSet=function(){var e=new a;if(null!==this.configs)for(var t=0;t<this.configs.length;t++){var n=this.configs[t];e.add(n.alt)}return 0===e.length?null:e},l.prototype.equals=function(e){return this===e||e instanceof l&&this.configs.equals(e.configs)},l.prototype.toString=function(){var e=this.stateNumber+":"+this.configs;return this.isAcceptState&&(e+="=>",null!==this.predicates?e+=this.predicates:e+=this.prediction),e},l.prototype.hashCode=function(){var e=new o;return e.update(this.configs),this.isAcceptState&&(null!==this.predicates?e.update(this.predicates):e.update(this.prediction)),e.finish()},t.DFAState=l,t.PredPrediction=s},function(e,t,n){var r=n(7).DecisionState,i=n(14).SemanticContext,o=n(0).Hash;function a(e,t){if(null===e){var n={state:null,alt:null,context:null,semanticContext:null};return t&&(n.reachesIntoOuterContext=0),n}var r={};return r.state=e.state||null,r.alt=void 0===e.alt?null:e.alt,r.context=e.context||null,r.semanticContext=e.semanticContext||null,t&&(r.reachesIntoOuterContext=e.reachesIntoOuterContext||0,r.precedenceFilterSuppressed=e.precedenceFilterSuppressed||!1),r}function s(e,t){return this.checkContext(e,t),e=a(e),t=a(t,!0),this.state=null!==e.state?e.state:t.state,this.alt=null!==e.alt?e.alt:t.alt,this.context=null!==e.context?e.context:t.context,this.semanticContext=null!==e.semanticContext?e.semanticContext:null!==t.semanticContext?t.semanticContext:i.NONE,this.reachesIntoOuterContext=t.reachesIntoOuterContext,this.precedenceFilterSuppressed=t.precedenceFilterSuppressed,this}function l(e,t){s.call(this,e,t);var n=e.lexerActionExecutor||null;return this.lexerActionExecutor=n||(null!==t?t.lexerActionExecutor:null),this.passedThroughNonGreedyDecision=null!==t&&this.checkNonGreedyDecision(t,this.state),this}s.prototype.checkContext=function(e,t){null!==e.context&&void 0!==e.context||null!==t&&null!==t.context&&void 0!==t.context||(this.context=null)},s.prototype.hashCode=function(){var e=new o;return this.updateHashCode(e),e.finish()},s.prototype.updateHashCode=function(e){e.update(this.state.stateNumber,this.alt,this.context,this.semanticContext)},s.prototype.equals=function(e){return this===e||e instanceof s&&this.state.stateNumber===e.state.stateNumber&&this.alt===e.alt&&(null===this.context?null===e.context:this.context.equals(e.context))&&this.semanticContext.equals(e.semanticContext)&&this.precedenceFilterSuppressed===e.precedenceFilterSuppressed},s.prototype.hashCodeForConfigSet=function(){var e=new o;return e.update(this.state.stateNumber,this.alt,this.semanticContext),e.finish()},s.prototype.equalsForConfigSet=function(e){return this===e||e instanceof s&&this.state.stateNumber===e.state.stateNumber&&this.alt===e.alt&&this.semanticContext.equals(e.semanticContext)},s.prototype.toString=function(){return"("+this.state+","+this.alt+(null!==this.context?",["+this.context.toString()+"]":"")+(this.semanticContext!==i.NONE?","+this.semanticContext.toString():"")+(this.reachesIntoOuterContext>0?",up="+this.reachesIntoOuterContext:"")+")"},l.prototype=Object.create(s.prototype),l.prototype.constructor=l,l.prototype.updateHashCode=function(e){e.update(this.state.stateNumber,this.alt,this.context,this.semanticContext,this.passedThroughNonGreedyDecision,this.lexerActionExecutor)},l.prototype.equals=function(e){return this===e||e instanceof l&&this.passedThroughNonGreedyDecision==e.passedThroughNonGreedyDecision&&(this.lexerActionExecutor?this.lexerActionExecutor.equals(e.lexerActionExecutor):!e.lexerActionExecutor)&&s.prototype.equals.call(this,e)},l.prototype.hashCodeForConfigSet=l.prototype.hashCode,l.prototype.equalsForConfigSet=l.prototype.equals,l.prototype.checkNonGreedyDecision=function(e,t){return e.passedThroughNonGreedyDecision||t instanceof r&&t.nonGreedy},t.ATNConfig=s,t.LexerATNConfig=l},function(e,t,n){var r=n(8).RuleNode,i=n(8).INVALID_INTERVAL,o=n(11).INVALID_ALT_NUMBER;function a(e,t){return r.call(this),this.parentCtx=e||null,this.invokingState=t||-1,this}a.prototype=Object.create(r.prototype),a.prototype.constructor=a,a.prototype.depth=function(){for(var e=0,t=this;null!==t;)t=t.parentCtx,e+=1;return e},a.prototype.isEmpty=function(){return-1===this.invokingState},a.prototype.getSourceInterval=function(){return i},a.prototype.getRuleContext=function(){return this},a.prototype.getPayload=function(){return this},a.prototype.getText=function(){return 0===this.getChildCount()?"":this.children.map((function(e){return e.getText()})).join("")},a.prototype.getAltNumber=function(){return o},a.prototype.setAltNumber=function(e){},a.prototype.getChild=function(e){return null},a.prototype.getChildCount=function(){return 0},a.prototype.accept=function(e){return e.visitChildren(this)},t.RuleContext=a;var s=n(26).Trees;a.prototype.toStringTree=function(e,t){return s.toStringTree(this,e,t)},a.prototype.toString=function(e,t){e=e||null,t=t||null;for(var n=this,r="[";null!==n&&n!==t;){if(null===e)n.isEmpty()||(r+=n.invokingState);else{var i=n.ruleIndex;r+=i>=0&&i<e.length?e[i]:""+i}null===n.parentCtx||null===e&&n.parentCtx.isEmpty()||(r+=" "),n=n.parentCtx}return r+"]"}},function(e,t,n){var r=n(2).Token,i=n(30).Recognizer,o=n(54).CommonTokenFactory,a=n(9).RecognitionException,s=n(9).LexerNoViableAltException;function l(e){return i.call(this),this._input=e,this._factory=o.DEFAULT,this._tokenFactorySourcePair=[this,e],this._interp=null,this._token=null,this._tokenStartCharIndex=-1,this._tokenStartLine=-1,this._tokenStartColumn=-1,this._hitEOF=!1,this._channel=r.DEFAULT_CHANNEL,this._type=r.INVALID_TYPE,this._modeStack=[],this._mode=l.DEFAULT_MODE,this._text=null,this}l.prototype=Object.create(i.prototype),l.prototype.constructor=l,l.DEFAULT_MODE=0,l.MORE=-2,l.SKIP=-3,l.DEFAULT_TOKEN_CHANNEL=r.DEFAULT_CHANNEL,l.HIDDEN=r.HIDDEN_CHANNEL,l.MIN_CHAR_VALUE=0,l.MAX_CHAR_VALUE=1114111,l.prototype.reset=function(){null!==this._input&&this._input.seek(0),this._token=null,this._type=r.INVALID_TYPE,this._channel=r.DEFAULT_CHANNEL,this._tokenStartCharIndex=-1,this._tokenStartColumn=-1,this._tokenStartLine=-1,this._text=null,this._hitEOF=!1,this._mode=l.DEFAULT_MODE,this._modeStack=[],this._interp.reset()},l.prototype.nextToken=function(){if(null===this._input)throw"nextToken requires a non-null input stream.";var e=this._input.mark();try{for(;;){if(this._hitEOF)return this.emitEOF(),this._token;this._token=null,this._channel=r.DEFAULT_CHANNEL,this._tokenStartCharIndex=this._input.index,this._tokenStartColumn=this._interp.column,this._tokenStartLine=this._interp.line,this._text=null;for(var t=!1;;){this._type=r.INVALID_TYPE;var n=l.SKIP;try{n=this._interp.match(this._input,this._mode)}catch(e){if(!(e instanceof a))throw console.log(e.stack),e;this.notifyListeners(e),this.recover(e)}if(this._input.LA(1)===r.EOF&&(this._hitEOF=!0),this._type===r.INVALID_TYPE&&(this._type=n),this._type===l.SKIP){t=!0;break}if(this._type!==l.MORE)break}if(!t)return null===this._token&&this.emit(),this._token}}finally{this._input.release(e)}},l.prototype.skip=function(){this._type=l.SKIP},l.prototype.more=function(){this._type=l.MORE},l.prototype.mode=function(e){this._mode=e},l.prototype.pushMode=function(e){this._interp.debug&&console.log("pushMode "+e),this._modeStack.push(this._mode),this.mode(e)},l.prototype.popMode=function(){if(0===this._modeStack.length)throw"Empty Stack";return this._interp.debug&&console.log("popMode back to "+this._modeStack.slice(0,-1)),this.mode(this._modeStack.pop()),this._mode},Object.defineProperty(l.prototype,"inputStream",{get:function(){return this._input},set:function(e){this._input=null,this._tokenFactorySourcePair=[this,this._input],this.reset(),this._input=e,this._tokenFactorySourcePair=[this,this._input]}}),Object.defineProperty(l.prototype,"sourceName",{get:function(){return this._input.sourceName}}),l.prototype.emitToken=function(e){this._token=e},l.prototype.emit=function(){var e=this._factory.create(this._tokenFactorySourcePair,this._type,this._text,this._channel,this._tokenStartCharIndex,this.getCharIndex()-1,this._tokenStartLine,this._tokenStartColumn);return this.emitToken(e),e},l.prototype.emitEOF=function(){var e=this.column,t=this.line,n=this._factory.create(this._tokenFactorySourcePair,r.EOF,null,r.DEFAULT_CHANNEL,this._input.index,this._input.index-1,t,e);return this.emitToken(n),n},Object.defineProperty(l.prototype,"type",{get:function(){return this.type},set:function(e){this._type=e}}),Object.defineProperty(l.prototype,"line",{get:function(){return this._interp.line},set:function(e){this._interp.line=e}}),Object.defineProperty(l.prototype,"column",{get:function(){return this._interp.column},set:function(e){this._interp.column=e}}),l.prototype.getCharIndex=function(){return this._input.index},Object.defineProperty(l.prototype,"text",{get:function(){return null!==this._text?this._text:this._interp.getText(this._input)},set:function(e){this._text=e}}),l.prototype.getAllTokens=function(){for(var e=[],t=this.nextToken();t.type!==r.EOF;)e.push(t),t=this.nextToken();return e},l.prototype.notifyListeners=function(e){var t=this._tokenStartCharIndex,n=this._input.index,r=this._input.getText(t,n),i="token recognition error at: '"+this.getErrorDisplay(r)+"'";this.getErrorListenerDispatch().syntaxError(this,null,this._tokenStartLine,this._tokenStartColumn,i,e)},l.prototype.getErrorDisplay=function(e){for(var t=[],n=0;n<e.length;n++)t.push(e[n]);return t.join("")},l.prototype.getErrorDisplayForChar=function(e){return e.charCodeAt(0)===r.EOF?"<EOF>":"\n"===e?"\\n":"\t"===e?"\\t":"\r"===e?"\\r":e},l.prototype.getCharErrorDisplay=function(e){return"'"+this.getErrorDisplayForChar(e)+"'"},l.prototype.recover=function(e){this._input.LA(1)!==r.EOF&&(e instanceof s?this._interp.consume(this._input):this._input.consume())},t.Lexer=l},function(e,t){function n(){return this}function r(){return n.call(this),this}function i(e){if(n.call(this),null===e)throw"delegates";return this.delegates=e,this}n.prototype.syntaxError=function(e,t,n,r,i,o){},n.prototype.reportAmbiguity=function(e,t,n,r,i,o,a){},n.prototype.reportAttemptingFullContext=function(e,t,n,r,i,o){},n.prototype.reportContextSensitivity=function(e,t,n,r,i,o){},r.prototype=Object.create(n.prototype),r.prototype.constructor=r,r.INSTANCE=new r,r.prototype.syntaxError=function(e,t,n,r,i,o){console.error("line "+n+":"+r+" "+i)},i.prototype=Object.create(n.prototype),i.prototype.constructor=i,i.prototype.syntaxError=function(e,t,n,r,i,o){this.delegates.map((function(a){a.syntaxError(e,t,n,r,i,o)}))},i.prototype.reportAmbiguity=function(e,t,n,r,i,o,a){this.delegates.map((function(s){s.reportAmbiguity(e,t,n,r,i,o,a)}))},i.prototype.reportAttemptingFullContext=function(e,t,n,r,i,o){this.delegates.map((function(a){a.reportAttemptingFullContext(e,t,n,r,i,o)}))},i.prototype.reportContextSensitivity=function(e,t,n,r,i,o){this.delegates.map((function(a){a.reportContextSensitivity(e,t,n,r,i,o)}))},t.ErrorListener=n,t.ConsoleErrorListener=r,t.ProxyErrorListener=i},function(e,t){function n(e,t,n){return this.dfa=e,this.literalNames=t||[],this.symbolicNames=n||[],this}function r(e){return n.call(this,e,null),this}n.prototype.toString=function(){if(null===this.dfa.s0)return null;for(var e="",t=this.dfa.sortedStates(),n=0;n<t.length;n++){var r=t[n];if(null!==r.edges)for(var i=r.edges.length,o=0;o<i;o++){var a=r.edges[o]||null;null!==a&&2147483647!==a.stateNumber&&(e=(e=(e=(e=(e=(e=e.concat(this.getStateString(r))).concat("-")).concat(this.getEdgeLabel(o))).concat("->")).concat(this.getStateString(a))).concat("\n"))}}return 0===e.length?null:e},n.prototype.getEdgeLabel=function(e){return 0===e?"EOF":null!==this.literalNames||null!==this.symbolicNames?this.literalNames[e-1]||this.symbolicNames[e-1]:String.fromCharCode(e-1)},n.prototype.getStateString=function(e){var t=(e.isAcceptState?":":"")+"s"+e.stateNumber+(e.requiresFullContext?"^":"");return e.isAcceptState?null!==e.predicates?t+"=>"+e.predicates.toString():t+"=>"+e.prediction.toString():t},r.prototype=Object.create(n.prototype),r.prototype.constructor=r,r.prototype.getEdgeLabel=function(e){return"'"+String.fromCharCode(e)+"'"},t.DFASerializer=n,t.LexerDFASerializer=r},function(e,t,n){var r=n(17).RuleContext,i=n(8),o=i.INVALID_INTERVAL,a=i.TerminalNode,s=i.TerminalNodeImpl,l=i.ErrorNodeImpl,c=n(4).Interval;function u(e,t){e=e||null,t=t||null,r.call(this,e,t),this.ruleIndex=-1,this.children=null,this.start=null,this.stop=null,this.exception=null}function h(e,t,n){return u.call(e,t),this.ruleIndex=n,this}u.prototype=Object.create(r.prototype),u.prototype.constructor=u,u.prototype.copyFrom=function(e){this.parentCtx=e.parentCtx,this.invokingState=e.invokingState,this.children=null,this.start=e.start,this.stop=e.stop,e.children&&(this.children=[],e.children.map((function(e){e instanceof l&&(this.children.push(e),e.parentCtx=this)}),this))},u.prototype.enterRule=function(e){},u.prototype.exitRule=function(e){},u.prototype.addChild=function(e){return null===this.children&&(this.children=[]),this.children.push(e),e},u.prototype.removeLastChild=function(){null!==this.children&&this.children.pop()},u.prototype.addTokenNode=function(e){var t=new s(e);return this.addChild(t),t.parentCtx=this,t},u.prototype.addErrorNode=function(e){var t=new l(e);return this.addChild(t),t.parentCtx=this,t},u.prototype.getChild=function(e,t){if(t=t||null,null===this.children||e<0||e>=this.children.length)return null;if(null===t)return this.children[e];for(var n=0;n<this.children.length;n++){var r=this.children[n];if(r instanceof t){if(0===e)return r;e-=1}}return null},u.prototype.getToken=function(e,t){if(null===this.children||t<0||t>=this.children.length)return null;for(var n=0;n<this.children.length;n++){var r=this.children[n];if(r instanceof a&&r.symbol.type===e){if(0===t)return r;t-=1}}return null},u.prototype.getTokens=function(e){if(null===this.children)return[];for(var t=[],n=0;n<this.children.length;n++){var r=this.children[n];r instanceof a&&r.symbol.type===e&&t.push(r)}return t},u.prototype.getTypedRuleContext=function(e,t){return this.getChild(t,e)},u.prototype.getTypedRuleContexts=function(e){if(null===this.children)return[];for(var t=[],n=0;n<this.children.length;n++){var r=this.children[n];r instanceof e&&t.push(r)}return t},u.prototype.getChildCount=function(){return null===this.children?0:this.children.length},u.prototype.getSourceInterval=function(){return null===this.start||null===this.stop?o:new c(this.start.tokenIndex,this.stop.tokenIndex)},r.EMPTY=new u,h.prototype=Object.create(u.prototype),h.prototype.constructor=h,t.ParserRuleContext=u},function(e,t,n){var r=n(2).Token;function i(e,t){return this.name="<empty>",this.strdata=e,this.decodeToUnicodeCodePoints=t||!1,function(e,t){if(e._index=0,e.data=[],e.decodeToUnicodeCodePoints)for(var n=0;n<e.strdata.length;){var r=e.strdata.codePointAt(n);e.data.push(r),n+=r<=65535?1:2}else for(n=0;n<e.strdata.length;n++){var i=e.strdata.charCodeAt(n);e.data.push(i)}e._size=e.data.length}(this),this}n(33),n(34),Object.defineProperty(i.prototype,"index",{get:function(){return this._index}}),Object.defineProperty(i.prototype,"size",{get:function(){return this._size}}),i.prototype.reset=function(){this._index=0},i.prototype.consume=function(){if(this._index>=this._size)throw"cannot consume EOF";this._index+=1},i.prototype.LA=function(e){if(0===e)return 0;e<0&&(e+=1);var t=this._index+e-1;return t<0||t>=this._size?r.EOF:this.data[t]},i.prototype.LT=function(e){return this.LA(e)},i.prototype.mark=function(){return-1},i.prototype.release=function(e){},i.prototype.seek=function(e){e<=this._index?this._index=e:this._index=Math.min(e,this._size)},i.prototype.getText=function(e,t){if(t>=this._size&&(t=this._size-1),e>=this._size)return"";if(this.decodeToUnicodeCodePoints){for(var n="",r=e;r<=t;r++)n+=String.fromCodePoint(this.data[r]);return n}return this.strdata.slice(e,t+1)},i.prototype.toString=function(){return this.strdata},t.InputStream=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=["ACCESS","ACTIVE","ADMIN","ADMINISTRATOR","ALL","ALLSHORTESTPATHS","ALTER","AND","ANY","AS","ASC","ASCENDING","ASSERT","ASSIGN","BOOSTED","BRIEF","BTREE","BUILT","BY","CALL","CASE","CATALOG","CHANGE","COMMIT","CONSTRAINT","CONSTRAINTS","CONTAINS","COPY","COUNT","CREATE","CSV","CURRENT","CYPHER","DATABASE","DATABASES","DBMS","DEFAULT","DEFINED","DELETE","DENY","DESC","DESCENDING","DETACH","DISTINCT","DROP","EACH","ELEMENT","ELEMENTS","ELSE","END","ENDS","EXECUTABLE","EXECUTE","EXIST","EXISTENCE","EXISTS","EXPLAIN","EXTRACT","FALSE","FIELDTERMINATOR","FILTER","FOR","FOREACH","FROM","FULLTEXT","FUNCTION","FUNCTIONS","GRANT","GRAPH","GRAPHS","HEADERS","HOME","IF","IN","INDEX","INDEXES","IS","JOIN","KEY","LABEL","LABELS","LIMIT","LOAD","LOOKUP","MANAGEMENT","MATCH","MERGE","NAME","NAMES","NEW","NODE","NODES","NONE","NOT","NULL","OF","ON","OPTIONAL","OPTIONS","OR","ORDER","OUTPUT","PASSWORD","PERIODIC","POPULATED","PRIVILEGES","PROCEDURE","PROCEDURES","PROFILE","PROPERTY","READ","REDUCE","REL","RELATIONSHIP","RELATIONSHIPS","REMOVE","RENAME","REPLACE","REQUIRED","RETURN","REVOKE","ROLE","ROLES","SCAN","SET","SHORTESTPATH","SHOW","SINGLE","SKIP","START","STARTS","STATUS","STOP","SUSPENDED","THEN","TO","TRAVERSE","TRUE","TYPE","TYPES","UNION","UNIQUE","UNWIND","USER","USERS","USING","VERBOSE","WHEN","WHERE","WITH","WRITE","XOR","YIELD"]},function(e,t,n){(function(e){function n(e,t){for(var n=0,r=e.length-1;r>=0;r--){var i=e[r];"."===i?e.splice(r,1):".."===i?(e.splice(r,1),n++):n&&(e.splice(r,1),n--)}if(t)for(;n--;n)e.unshift("..");return e}var r=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,i=function(e){return r.exec(e).slice(1)};function o(e,t){if(e.filter)return e.filter(t);for(var n=[],r=0;r<e.length;r++)t(e[r],r,e)&&n.push(e[r]);return n}t.resolve=function(){for(var t="",r=!1,i=arguments.length-1;i>=-1&&!r;i--){var a=i>=0?arguments[i]:e.cwd();if("string"!=typeof a)throw new TypeError("Arguments to path.resolve must be strings");a&&(t=a+"/"+t,r="/"===a.charAt(0))}return(r?"/":"")+(t=n(o(t.split("/"),(function(e){return!!e})),!r).join("/"))||"."},t.normalize=function(e){var r=t.isAbsolute(e),i="/"===a(e,-1);return(e=n(o(e.split("/"),(function(e){return!!e})),!r).join("/"))||r||(e="."),e&&i&&(e+="/"),(r?"/":"")+e},t.isAbsolute=function(e){return"/"===e.charAt(0)},t.join=function(){var e=Array.prototype.slice.call(arguments,0);return t.normalize(o(e,(function(e,t){if("string"!=typeof e)throw new TypeError("Arguments to path.join must be strings");return e})).join("/"))},t.relative=function(e,n){function r(e){for(var t=0;t<e.length&&""===e[t];t++);for(var n=e.length-1;n>=0&&""===e[n];n--);return t>n?[]:e.slice(t,n-t+1)}e=t.resolve(e).substr(1),n=t.resolve(n).substr(1);for(var i=r(e.split("/")),o=r(n.split("/")),a=Math.min(i.length,o.length),s=a,l=0;l<a;l++)if(i[l]!==o[l]){s=l;break}var c=[];for(l=s;l<i.length;l++)c.push("..");return(c=c.concat(o.slice(s))).join("/")},t.sep="/",t.delimiter=":",t.dirname=function(e){var t=i(e),n=t[0],r=t[1];return n||r?(r&&(r=r.substr(0,r.length-1)),n+r):"."},t.basename=function(e,t){var n=i(e)[2];return t&&n.substr(-1*t.length)===t&&(n=n.substr(0,n.length-t.length)),n},t.extname=function(e){return i(e)[3]};var a=function(e,t,n){return e.substr(t,n)}}).call(t,n(83))},function(e,t,n){"use strict";var r=n(6),i=n(37).CypherListener,o=["悋Ꜫ脳맭䅼㯧瞆奤","¬\t\t","\t\t\t\t","\b\t\b\t\t\t\n\t\n\v\t\v\f\t\f","\r\t\r\t\t\t","\t\t\t","\t\t\t\t","\t\t\t","\t\t\t\t",'\t \t !\t!"\t"#\t#',"$\t$%\t%&\t&'\t'(\t()\t)*\t*","+\t+,\t,-\t-.\t./\t/0\t01\t1","2\t23\t34\t45\t56\t67\t78\t8","9\t9:\t:;\t;<\t<=\t=>\t>?\t?","@\t@A\tAB\tBC\tCD\tDE\tEF\tF","G\tGH\tHI\tIJ\tJK\tKL\tLM\tM","N\tNO\tOP\tPQ\tQR\tRS\tST\tT","U\tUV\tVW\tWX\tXY\tYZ\tZ[\t[","\\\t\\]\t]^\t^_\t_`\t`a\tab\tb","c\tcd\tde\tef\tfg\tgh\thi\ti","j\tjk\tkl\tlm\tmn\tno\top\tp","q\tqr\trs\tst\ttu\tuv\tvw\tw","x\txy\tyz\tz{\t{|\t|}\t}~\t~","\t\t\t\t","\t\t
\t
","\t\t\t\t","\t\t\t","\t\t\t\t","\t\t\t","\t\t\t\t","\t\t\t","\t\t\t\t","\t \t ¡\t¡","¢\t¢£\t£¤\t¤¥\t","¥¦\t¦§\t§¨\t¨","©\t©ª\tª«\t«¬\t","¬\t®\t®¯\t¯","°\t°±\t±²\t²³\t","³´\t´µ\tµ¶\t¶","·\t·¸\t¸¹\t¹º\t","º»\t»¼\t¼½\t½","¾\t¾¿\t¿À\tÀÁ\t","ÁÂ\tÂÃ\tÃÄ\tÄ","Å\tÅÆ\tÆÇ\tÇÈ\t","ÈÉ\tÉÊ\tÊË\tË","Ì\tÌÍ\tÍ","ƞ\n\fơ\v","Ƥ\n","Ʃ\nƭ","\nư\n","Ƶ\n","ƻ\n\fƾ","\vǃ\n","\fdž\v","","ǒ\n\b\b","\bǖ\n\b\b\b\bǚ\n\b\b\b","\t\t\n\n\n\nǣ\n\n\n\n","\n\nǨ\n\n\n\n\nǬ\n\n\n","\nǯ\n\n\n\nDz\n\n\v\v","\f\fǷ\n\f\f\f\fǻ\n\f\r","\r\r\rȀ\n\r\f\r\rȃ\v\r","","","Ȓ\n\fȕ\v","","","","ȩ\n\fȬ\v","ȳ\n","ȵ\n","ȹ\nȼ\n\f","ȿ\vɂ\n\r","Ƀ","Ɋ\nɎ\n","ɒ\n","ɖ\nɘ\n\f","ɛ\v","ɡ\nɤ\n","ɨ\n","ɬ\n","ɲ\nɶ","\nɺ\n","ɾ\nʀ\n\f","ʃ\v","ʉ\nʌ\n","","ʔ\n","ʝ\n"," ʢ\n ʤ\n \r ʥ"," ʩ\n !!!!ʮ\n!\f!",'!ʱ\v!"""###ʸ\n',"##ʺ\n#\f##ʽ\v#$$$","$˂\n$%%%%ˇ\n%%%","%ˋ\n%\f%%ˎ\v%&&''","(()))˘\n))))˜\n",")))***ˢ\n*+++˦","\n+,,,˪\n,,,˭\n,\f,,˰","\v,---˴\n---..",".˺\n...˽\n.\f..̀\v./","///////̉\n/00","0̍\n000̐\n0\f00̓\v01","1111̙\n11111̞\n","111̡\n1222222","222222222̱\n2","3333333333","3̽\n344445555","6666777788","889999::::",";;;;<<<<==","==>>>>>ͫ\n>>>",">ͯ\n>>>>ͳ\n>>>>ͷ","\n>>>?????Ϳ\n?","???\n?????Έ\n?","???Ό\n???????","??@@@@@Κ\n@@@","@Ξ\n@@@@@Σ\n@@@","@Χ\n@@@@@@έ\n@@","@@α\n@@@@@@@@","@AAAAAο\nAAAA","AAAφ\nAAAAAAό\n","AAAAABBBBBϖ","\nBBBBϚ\nBBBBB","BϠ\nBBBBBCCCϨ\n","CCCCCCCCCC","Cϳ\nCCCCCCϹ\nCC","CCCCCCCCCCЅ","\nCCCCCCЋ\nCCC","CCCCCCCCCЗ\nC","CCCЛ\nCDDDDDD","DDDХ\nDDDDDDD","DDDDDDв\nDEEEж","\nEEEEк\nEEEEо\nE\fE","Eс\vEEEф\nEEEч\nEF","FFы\nFFFFFFF","GGGѕ\nGGGGGњ\nG\fG","Gѝ\vGHHHHHHH","HHHHѩ\nHIIIѭ\nI","IIJJJJJѵ\nJJJ","KKKѻ\nKKKKѿ\nKK","KK҃\nKKK҆\nK\fKK҉\vK","LLLҍ\nLLLLґ\nLL","LLLLҗ\nLLLLқ\nL","LLLLLҡ\nLLLLҥ\n","LLLLLLҫ\nLLLLү","\nLMMMҳ\nMMMMҷ\nM","MMMһ\nMMMMҿ\nMM","Mӂ\nM\fMMӅ\vMNNNN","NӋ\nNNNNӏ\nNNNӒ\nN\fN","Nӕ\vNOOOOOӛ\nOP","PPӟ\nPPPPӣ\nPPP","PPPPPӫ\nPPPPPӰ","\nP\rPPӱPPӵ\nPPPQ","QQӻ\nQQQӾ\nQQQQ","Qԃ\nQQQԆ\nQRRRԊ\nR","RRԍ\nRRRԐ\nRRRS","SSSԗ\nSSSSԛ\nSS","SSԟ\nSTTTԣ\nTTTԦ","\nTUUUԪ\nUUUUԮ\nU","UUԱ\nU\fUUԴ\vUUUUԸ","\nUUUUԼ\nUUUԿ\nU\fUUՂ","\vUUUՅ\nUVVVVV","VVVՎ\nVWWWWWՔ\n","WWW\nWXXX՛\nXX","X՞\nXYYYZZZե\nZ","ZZը\nZZZի\nZZZZկ","\nZZZղ\nZ\fZZյ\vZZZո","\nZZZ[[[[[ր\n[","[[[ք\n[[[և\n[\f[[֊\v","[[[[֎\n[\\\\\\֒\n\\","]]]]]]^^__","```````֤\n```","`֨\n```֫\n`\f``֮\v`a","aaabbbbcccֺ","\ncccc־\ncc׀\ncdd׃","\nddddddddd\n","ddddא\nddddה\nd","dddddddddd","dנ\nddddפ\ndddק\nd\fd","dת\vdddddddd","d׳\ndeeeee\nee","ee\neee\ne\fee\ve","ee؆\nefff؊\nfff","f؎\nfffgggؔ\ngh","hhؘ\nhhhhh؝\nhi","iiiiأ\nijjjjj","jjjج\njjjkkkk","kkص\nkkklllllؽ","\nlllmmmك\nmmm","mه\nmmmي\nm\fmmٍ\vmn","nnnoooٕ\nooooٙ","\noooٜ\no\fooٟ\vopp","p٣\npppp٧\npppp","p٬\npqqqٰ\nqrrrٴ","\nrrrٷ\nr\frrٺ\vrrr","rrrڀ\nrsssڄ\nss","ssڈ\nssڊ\nssssڎ\ns","sڐ\nssssڔ\nssږ\nss","stttڜ\ntttuuuڢ","\nuuuڥ\nuuuڨ\nuuu","vvvڮ\nvvvvvڳ\nv","wwwڷ\nwwwwwڼ\nw","xxxۀ\nxxxxۄ\nxxۆ","\nxxxxۊ\nxxی\nxxxۏ","\nxxxxۓ\nxxە\nxxx","yyyۛ\nyzzz۟\nzz","z{{{ۥ\n{{{{۩\n{\f{","{۬\v{|||}}۲\n}}","}~~~۸\n~~~ۻ\n~\f~~۾","\v~","܅\n܉","\n܋\n","\nܓ\n","ܕ\nܗ\n","","ܤ\n\f","ܧ\v
","
ܮ\n
\f
ܱ","\v
","ܸ\n\fܻ\v","ܿ\n݁\n","\f݄\v","݊\n","ݍ\n\fݐ\v","ݔ\n","ݘ\nݜ\n","ݠ\n","ݣ\n\fݦ\v","ݪ\n","ݮ\nݲ\n","ݶ\n","ݺ\nݾ","\nށ\n\fބ","\vވ\n","ތ\n","ޏ\n\fޒ\v","ޖ\nޘ\n\f","ޛ\v","ޡ\n","ި\n","ެ\nް","\n\n","","","߃\n߆\n","","ߓ","\n\fߖ\v","ߚ\nߞ","\nߠ\n\fߣ\v","ߧ\n","߫\n","߯\n","߷\n","\n߿","\n","ࠇ\n","ࠋ\nࠏ\n","","ࠗ\nࠛ","\nࠟ\n","","ࠧ\nࠫ\n","\n","࠷\n","࠻\n","\n","ࡇ\n","ࡋ\n","ࡏ\n","ࡓ\nࡖ\n","࡙\n","ࡡ\n","ࡥ\n","ࡩ\n\n","ࡱ\n","ࡵ\nࡹ","\nࡽ\n","ࢁ\n","ࢉ\n","ࢍ\n","\n","\n","࢛\n࢟\n","ࢣ\n "," ¡¡¢¢¢","¢¢¢ࢮ\n¢¢¢","¢ࢲ\n¢¢¢¢ࢶ","\n¢¢¢¢¢¢","¢¢¢¢¢¢","¢¢¢¢¢¢","ࣈ\n¢££££","££££࣑\n£¤","¤¥¥¦¦¦","ࣙ\n¦¦¦¦ࣝ\n¦","¦¦¦࣡\n¦¦¦","¦ࣥ\n¦¦ࣧ\n¦\f¦¦","࣪\v¦¦࣬\n¦¦¦","§§§ࣲ\n§§","§§§ࣷ\n§§§","§§ࣼ\n§§§","§§ँ\n§§§§","§आ\n§§§§","§ऋ\n§§§§§","ऐ\n§§§ओ\n§¨","¨¨ग\n¨¨¨¨","छ\n¨¨¨©©","©ड\n©©©त\n©\r©","©थªªªप\nª","ªªभ\nª«««","«««¬¬¬","ष\n¬¬¬¬ऻ\n¬","¬¬¬ि\n¬¬ु\n¬","¬¬¬ॅ\n¬¬","¬¬ॉ\n¬¬¬¬","्\n¬¬ॏ\n¬\f¬¬॒\v","¬¬॔\n¬¬¬","®®¯¯","°°°ॡ\n°°","°°॥\n°°°°","३\n°°°६\n°°","°९\n°°°±±","±ॵ\n±±±±ॹ","\n±±±±ॽ\n±±","ॿ\n±±±±ঃ\n±","±±±ই\n±±±","±ঋ\n±±\n±±","±±\n±±±±","ক\n±±±²²","²ছ\n²²²³³","³ড\n³³³ত\n³\r³","³থ³³³প\n³","³³³ম\n³³","³\n³\r³³ল³\n³","³³স\n³³³","³়\n³³³ি\n³³","³ূ\n³³³´","´´ৈ\n´´´´","ৌ\n´´´´\n´","´´µµ¶¶","¶\n¶···ড়\n·","···ৠ\n··","··\n····","২\n··৪\n·\f··৭\v","··৯\n···¸","¸¸৵\n¸¸¸","¸৹\n¸¸¸ৼ\n¸¸","¸\n¸¸¸¸ਃ","\n¸¸¸ਆ\n¸\f¸¸ਉ","\v¸¸¸\n¸¸","¸¹¹¹¹¹ਔ","\n¹ºººਘ\nºº","ººਜ\nººº","»»»¼¼½","½½¾¾¾ਪ\n¾","¿¿¿ਮ\n¿¿","¿¿ਲ\n¿¿¿À","ÀÀÁÁÁ\n","ÁÂÂÂਿ\nÂÂ","ÂÂ\nÂÂÂ","\nÂ\fÂÂ\vÂÃÃ","Ã੍\nÃÃÃ\nÃ\rÃ","ÃੑÄÄÄ\nÄ","ÄÄÄਗ਼\nÄÄ","Ä\nÄ\fÄÄ\vÄÅ","ÅÆÆÇÇÈ","ÈÈÈ੫\nÈ\fÈÈ","੮\vÈÉÉÊÊ","ËËÌÌÌÌ","Ì\nÌÍÍÍȽ","Î\b\n\f",' "$&(*,.02468:<>@BDFHJLNPRTVXZ\\^`bdfhjlnprtvxz|',"~"," ¢¤¦¨ª¬","®°²´¶¸º¼¾ÀÂÄ","ÆÈÊÌÎÐÒÔÖØÚÜ","Þàâäæèêìîðòô","öøúüþĀĂĄĆĈĊČ","ĎĐĒĔĖĘĚĜĞĠĢĤ","ĦĨĪĬĮİIJĴĶĸĺļ","ľŀłńņňŊŌŎŐŒŔ","ŖŘŚŜŞŠŢŤŦŨŪŬ","ŮŰŲŴŶŸźżžƀƂƄ","ƆƈƊƌƎƐƒƔƖƘ","\t\t`chi","{|uu¥¥¨","¨£¤ "," %(!!),-78","ƚƨ","Ʊ\bƶ","\nƿ\fǑ","Ǔǝ","ǟdz","ǶǼ","ȄȌ","Ȏ Ȗ",'"Ș$ȝ&ȟ',"(Ȣ*ȥ",",ȭ.ȶ","0Ɂ2Ʌ","4ɣ6ɥ","8ʋ:ʓ<ʕ",">ʣ@ʪ","BʲDʻ","FˁH˃","JˏLˑ","N˓P˕Rˡ","T˥V˧","X˱Z˷","\\́^̊","`̠b̰","d̼f̾h͂","j͆l͊","n͎p͒","r͖t͚","v͞x͢","zͦ|ͺ~Ε","κϑ","КМ","еш","ђѨ","ѪѰ","ѸҮ","Ҳӆ","ӚӜ"," Ӹ¢ԇ","¤ԓ¦Ԡ","¨ՄªՍ","¬Տ®","°՟²բ","´ջ¶֑","¸֓º֙","¼֛¾֝","À֯Âֳ","ÄַÆׂ","È״Ê؇","ÌؓÎؕ","Ð؞Òؤ","ÔدÖظ","ØـÚَ","ÜْÞ٫","àٯâٿ","äځæڙ","èڟêڲ","ìڻîڽ","ðۚòۜ","ôۢöۭ","ø۱ú۵","üۿþ܂","ĀܘĂܚ","ĄܜĆܞ","ĈܨĊܲ","Č݂Ď݇","ĐݑĒݧ","ĔޅĖޙ","ĘޞĚߗ","ĜߤĞ߲","ĠߴĢࠂ","ĤࠄĦࠒ","ĨࠔĪࠢ","ĬࠤĮ࠲","İ࠴IJࡂ","ĴࡄĶ","ĸ࡞ĺࢄ","ļࢢľࢤ","ŀࢦłࣇ","ń࣐ņ࣒","ňࣔŊࣖ","ŌऒŎऔ","ŐञŒध","ŔमŖऴ","ŘॗŚग़","Ŝड़Şफ़","ŠॲŢঘ","ŤŦ","ŨŪৗ","ŬŮ৲","ŰਓŲਕ","ŴਟŶਢ","Ÿਤź","żਫžਵ","ƀƂ਼","ƄƆ","ƈƊ","ƌƎ੬","Ɛ੯ƒੱ","ƔੳƖ","ƘƚƟ","ƛƜƜƞ","Ɲƛƞơ","ƟƝƟƠ","ƠƣơƟ","ƢƤƣƢ","ƣƤƤƥ","ƥƦƦ","ƧƩ©ƨƧ","ƨƩƩƬ",'ƪƭB"ƫƭ',"ƬƪƬƫ","ƭƯƮư","©ƯƮƯư","ưƱƴ","\bƲƳ©ƳƵ","\nƴƲƴƵ","ƵƶƷ","ƷƼƖÌƸƹ","ƹƻƖÌƺƸ","ƻƾƼƺ","Ƽƽƽ\t","ƾƼƿDŽ","\fǀǁ©ǁǃ","\fǂǀǃdž","DŽǂDŽDž","Dž\vdžDŽ","LJǒ\tLjǒ","2ljǒ\bNJǒŬ","·Njǒ<njǒņ","¤ǍǒŪ¶ǎǒň","¥Ǐǒ@!ǐǒ> Ǒ","LJǑLjǑ","ljǑNJǑ","NjǑnjǑ","ǍǑǎǑ","ǏǑǐǒ","\rǓǕƖÌǔ","ǖ©ǕǔǕ","ǖǖǗǗ","Ǚǘǚ©Ǚ","ǘǙǚǚ","ǛǛǜĄǜ","ǝǞ\nǞ","ǟǠ\vǠ",'Ǣǡǣ"Ǣ',"ǡǢǣǣ","ǤǤǧ\fǥ","ǦǦǨǧ","ǥǧǨǨ","ǫǩǪ\bǪ","Ǭǫǩǫ","ǬǬǮǭ","ǯ(ǮǭǮ","ǯǯDZǰ","Dz&DZǰDZ","DzDzdz","Ǵ.Ǵǵ","Ƿ\bǶǵǶ","ǷǷǺǸ","ǻ\rǹǻǺ","ǸǺǹǻ","Ǽȁ.ǽ","Ǿ\tǾȀ.ǿǽ","Ȁȃȁǿ","ȁȂȂ","ȃȁȄȅ","0ȅȆ\tȆȇ","0ȇȈ\tȈȉ0","ȉȊ\tȊȋ0","ȋȌȍ0","ȍȎȓ.","ȏȐ\bȐȒ.ȑ","ȏȒȕȓ","ȑȓȔȔ","ȕȓȖ","ȗ.ȗ!Șș"," șȚȚț","$țȜ\nȜ#","ȝȞ.Ȟ%","ȟȠ\vȠȡ.","ȡ'Ȣȣ\f","ȣȤ*Ȥ)ȥ","Ȫ,Ȧȧ\rȧȩ",",ȨȦȩȬ","ȪȨȪȫ","ȫ+ȬȪ","ȭȴ.ȮȲ","ȯȳ.Ȱȳ","0ȱȳȲȯ","ȲȰȲȱ","ȳȵȴȮ","ȴȵȵ-","ȶȽƖÌȷȹ","\tȸȷȸȹ","ȹȺȺȼ","ƖÌȻȸȼȿ","ȽȾȽȻ","Ⱦ/ȿȽ","ɀɂƊÆɁɀ","ɂɃɃɁ","ɃɄɄ1","ɅɆ:Ɇ3","ɇɉɈɊ","©ɉɈɉɊ","Ɋɋɋɍ","6ɌɎ©ɍɌ","ɍɎɎə","ɏɑɐɒ","©ɑɐɑɒ","ɒɓɓɕ","6ɔɖ©ɕɔ","ɕɖɖɘ","ɗɏɘɛ","əɗəɚ","ɚɜɛə","ɜɝɝɤ","ɞɠɟɡ","©ɠɟɠɡ","ɡɢɢɤ","ɣɇɣɞ","ɤ5ɥɧ","ņ¤ɦɨ©ɧɦ","ɧɨɨɩ","ɩɫɪɬ","©ɫɪɫɬ","ɬɭɭɮ",":ɮ7ɯɱ","ɰɲ©ɱɰ","ɱɲɲɳ","ɳɵ:ɴɶ©","ɵɴɵɶ","ɶʁɷɹ","ɸɺ©ɹɸ","ɹɺɺɻ","ɻɽ:ɼɾ©","ɽɼɽɾ","ɾʀɿɷ","ʀʃʁɿ","ʁʂʂʄ","ʃʁʄʅ","ʅʌʆʈ","ʇʉ©ʈʇ","ʈʉʉʊ","ʊʌʋɯ","ʋʆʌ9","ʍʔņ¤ʎʔŪ","¶ʏʔ4ʐʔ8","ʑʔň¥ʒʔt","ʓʍʓʎ","ʓʏʓʐ","ʓʑʓʒ","ʔ;ʕʖŨµ","ʖʗʗʜ©","ʘʝʙʝŪ¶","ʚʝň¥ʛʝƖÌ","ʜʘʜʙ","ʜʚʜʛ","ʝ=ʞʡ\b","ʟʢƖÌʠʢŪ¶","ʡʟʡʠ","ʢʤʣʞ","ʤʥʥʣ","ʥʦʦʨ","ʧʩ\bʨʧ","ʨʩʩ?","ʪʯƖÌʫʬ","ʬʮƖÌʭʫ","ʮʱʯʭ","ʯʰʰA","ʱʯʲʳD#ʳ","ʴR*ʴCʵʷ","F$ʶʸ©ʷʶ","ʷʸʸʺ","ʹʵʺʽ","ʻʹʻʼ","ʼEʽʻ","ʾ˂H%ʿ˂L'ˀ","˂N(ˁʾˁʿ","ˁˀ˂G","˃ˆ8˄˅","©˅ˇJ&ˆ˄","ˆˇˇˌ","ˈˉ©ˉˋ","P)ˊˈˋˎ","ˌˊˌˍ","ˍIˎˌ","ˏː¤ːK","ˑ˒9˒M","˓˔:˔O","˕˗ƖÌ˖˘©","˗˖˗˘","˘˙˙˛","˚˜©˛˚","˛˜˜˝","˝˞ƖÌ˞Q","˟ˢd3ˠˢT+ˡ˟","ˡˠˢS","ˣ˦V,ˤ˦X-","˥ˣ˥ˤ","˦U˧ˮZ.˨˪","©˩˨˩˪","˪˫˫˭","`1ˬ˩˭˰","ˮˬˮ˯","˯W˰ˮ","˱˳\\/˲˴©","˳˲˳˴","˴˵˵˶^","0˶Y˷˾b2˸","˺©˹˸˹","˺˺˻˻","˽b2˼˹˽̀","˾˼˾˿","˿[̀˾","́̂;̂̃","©̃̄<̄̅","©̅̈=̆̇","©̇̉ƊÆ̈̆","̈̉̉]","̊̑D̋̍","©̌̋̌̍","̍̎̎̐","b2̏̌̐̓","̑̏̑̒","̒_̓̑","̔̕>̖̕","©̖̘?̗̙","©̘̗̘̙","̡̙̚̚","Z.̛̝>̜̞©","̝̜̝̞","̡̞̟̟Z.","̛̠̠̔","̡a̢̱Ḍ","̱Èe̤̱E̥̱","F̦̱Ģ̱","Į̱J̩̱","K̪̱M̫̱N","̬̱P̭̱ Q̮","̱¢R̯̱¬W̢̰","̰̣̰̤","̰̥̰̦","̧̨̰̰","̰̩̰̪","̰̫̰̬","̰̭̰̮","̰̯̱c","̲̽n8̳̽","x=̴̽f4̵̽p9̶̽","h5̷̽r:̸̽j6̹","̽t;̺̽l7̻̽v<","̼̲̼̳","̴̵̼̼","̶̷̼̼","̸̼̼̹","̼̺̼̻","̽e̾̿@̿","̀©̀́|?́g","͂̓@̓̈́","©̈́ͅ~@ͅi","͇͆@͇͈©","͈͉A͉k","͊͋@͋͌©","͍͌B͍m͎","͏@͏͐©͐","͑z>͑o͓͒","A͓͔©͔͕","|?͕q͖͗A","͗͘©͙͘~@͙","s͚͛A͛͜","©͜͝A͝u","͟͞A͟͠","©͠͡B͡w","ͣ͢Aͣͤ©","ͤͥz>ͥy","ͦͧBͧͨ©","ͨͪCͩͫ©","ͪͩͪͫ","ͫͬͬͮü","ͭͯ©ͮͭ","ͮͯͯͰ","ͰͲͱͳ©","ͲͱͲͳ","ͳʹʹͶƆÄ","͵ͷ©Ͷ͵","Ͷͷͷ","{","ͺͻDͻͼ©","ͼ;CͽͿ©",";ͽ;Ϳ","Ϳ","©","΄","΄΅Ũµ΅·ü","ΆΈ©·Ά","·ΈΈΉ","ΉΊΌ©","ΊΌ","ΌΎE","ΎΏ©ΏΐƄÃ","ΐΑ©ΑΒF","ΒΓ©ΓΔG","Δ}ΕΖDΖ","Η©ΗΙCΘ","Κ©ΙΘΙ","ΚΚΛΛ","ΝΜΞ©Ν","ΜΝΞΞ","ΟΟΠŨµΠ","üΡΣ©","ΡΣΣ","ΤΤΦΥ","Χ©ΦΥΦ","ΧΧΨΨ","ΩEΩΪ©Ϊ","άΫέ©ά","Ϋάέέ","ήήΰƂÂί","α©ΰίΰ","ααββ","γγδ©δ","εFεζ©ζ","ηgηθ©θ","ι
ικ","λDλμ©μ","ξCνο©ξ","νξοο","ππρρ","ςŨµςσüσ","υτφ©υ","τυφφ","χχψEψ","ω©ωϋHϊ","ό©ϋϊϋ","όόύύ","ώώϏƄÃϏ","ϐϐϑ","ϒDϒϓ©ϓ","ϕCϔϖ©ϕ","ϔϕϖϖ","ϗϗϙCϘ","Ϛ©ϙϘϙ","ϚϚϛϛ","ϜEϜϝ©ϝ","ϟHϞϠ©ϟ","ϞϟϠϠ","ϡϡϢϢ","ϣƄÃϣϤϤ","ϥϧϦ","Ϩ©ϧϦϧ","ϨϨϩϩ","ϪϪϫƔËϫ","ϬϬϭŨµϭ","ϮòzϮϯϯ","ϰƔËϰϲϱ","ϳ©ϲϱϲ","ϳϳϴϴ","ϵϵЛ϶","ϸϷϹ©ϸ","ϷϸϹϹ","ϺϺϻϻ","ϼƔËϼϽϽ","ϾŨµϾϿòzϿ","ЀЀЁƔËЁ","ЂƒÊЂЄЃ","Ѕ©ЄЃЄ","ЅЅІІ","ЇЇЛЈ","ЊЉЋ©Њ","ЉЊЋЋ","ЌЌЍЍ","ЎƐÉЎЏƔËЏ","ААБŨµБ","ВòzВГГ","ДƔËДЖЕ","З©ЖЕЖ","ЗЗИИ","ЙЙЛК","ϥК϶К","ЈЛ
М","НIНО©О","ПJПФ©Р","СKСТ©Т","УLУХ©Ф","РФХХ","ЦЦЧMЧ","Ш©ШЩĄЩ","Ъ©ЪЫNЫ","Ь©ЬЭŨµЭ","б©ЮЯOЯ","а©авб","Юбвв","гдPд","ж©еге","жжзз","йQик©й","ийкк","ллпÜoм","оÆdнмо","спнп","ррцс","птф©у","туфф","ххчÚnц","уцчч","шъRщ","ы©ъщъ","ыыьь","эĄэю©ю","яNяѐ©ѐ","ёŨµёђ","єSѓѕ©є","ѓєѕѕ","ііћÞpї","ј©јњHљ","їњѝћ","љћќќ","ѝћў","џCџѠ©Ѡ","ѡQѡѢ©Ѣ","ѩKѣѤCѤѥ","©ѥѦ@Ѧѧ","©ѧѩKѨў","Ѩѣѩ","ѪѬ@ѫѭ","©ѬѫѬѭ","ѭѮѮѯ","ÜoѯѰѱ","@ѱѲ©ѲѴ","Gѳѵ©Ѵѳ","ѴѵѵѶ","ѶѷÜoѷ","ѸѺTѹѻ","©ѺѹѺѻ","ѻѼѼ҇","Lѽѿ©Ѿѽ","ѾѿѿҀ","Ҁ҂ҁ҃","©҂ҁ҂҃","҃҄҄҆","L҅Ѿ҆҉","҇҅҇҈","҈҉҇","ҊҌƄÃҋҍ","©ҌҋҌҍ","ҍҎҎҐ","ҏґ©Ґҏ","ҐґґҒ","ҒғĄғү","ҔҖŨµҕҗ","©ҖҕҖҗ","җҘҘҚ","ҙқ©Қҙ","ҚққҜ","ҜҝĄҝү","ҞҠŨµҟҡ","©ҠҟҠҡ","ҡҢҢҤ","ңҥ©Ҥң","ҤҥҥҦ","ҦҧĄҧү","ҨҪŨµҩҫ","©ҪҩҪҫ","ҫҬҬҭ","ú~ҭүҮҊ","ҮҔҮҞ","ҮҨү","ҰұUұҳ","©ҲҰҲҳ","ҳҴҴҶ","Vҵҷ©Ҷҵ","ҶҷҷҸ","ҸӃĄҹһ","©ҺҹҺһ","һҼҼҾ","ҽҿ©Ҿҽ","ҾҿҿӀ","ӀӂĄӁҺ","ӂӅӃӁ","Ӄӄӄ","ӅӃӆӇ","WӇӈ©ӈӓ","OӉӋ©ӊӉ","ӊӋӋӌ","ӌӎӍӏ","©ӎӍӎӏ","ӏӐӐӒ","OӑӊӒӕ","ӓӑӓӔ","Ӕӕӓ","ӖӗŨµӗӘ","ú~Әӛәӛ","ƄÃӚӖӚә","ӛӜӞ","Xӝӟ©Ӟӝ","ӞӟӟӠ","ӠӢӡӣ","©ӢӡӢӣ","ӣӤӤӥ","ŨµӥӦ©Ӧӧ","YӧӨ©ӨӪ","Ąөӫ©Ӫө","ӪӫӫӬ","ӬӯӭӮ","©ӮӰb2ӯӭ","Ӱӱӱӯ","ӱӲӲӴ","ӳӵ©Ӵӳ","ӴӵӵӶ","Ӷӷӷ","ӸӽKӹӻ","©ӺӹӺӻ","ӻӼӼӾ","ZӽӺӽӾ","ӾӿӿԀ","©Ԁԅ¤Sԁԃ","©ԂԁԂԃ","ԃԄԄԆ","ÚnԅԂԅԆ","Ԇ¡ԇԌ","[ԈԊ©ԉԈ","ԉԊԊԋ","ԋԍZԌԉ","Ԍԍԍԏ","ԎԐ©ԏԎ","ԏԐԐԑ","ԑԒ¤SԒ£","ԓԖ¨UԔԕ","©ԕԗ¾`ԖԔ","ԖԗԗԚ","Ԙԙ©ԙԛ","ÀaԚԘԚԛ","ԛԞԜԝ","©ԝԟÂbԞԜ","Ԟԟԟ¥","ԠԢ®Xԡԣ","©ԢԡԢԣ","ԣԥԤԦ","´[ԥԤԥԦ","Ԧ§ԧԲ","ԨԪ©ԩԨ","ԩԪԪԫ","ԫԭԬԮ","©ԭԬԭԮ","ԮԯԯԱ","ªVԩԱԴ","ԲԲԳ","ԳՅԴԲ","ԵՀªVԶԸ","©ԷԶԷԸ","ԸԹԹԻ","ԺԼ©ԻԺ","ԻԼԼԽ","ԽԿªVԾԷ","ԿՂՀԾ","ՀՁՁՅ","ՂՀՃՅ","¦TՄԧՄԵ","ՄՃՅ©","ՆՇĄՇՈ","©ՈՉNՉՊ","©ՊՋŨµՋՎ","ՌՎĄՍՆ","ՍՌՎ«","ՏՐՐՑ","©ՑՓ®XՒՔ","©ՓՒՓՔ","ՔՖՕ","´[ՖՕՖ","՚","°Yՙ՛©՚ՙ","՚՛՛՝","՜՞²Z՝՜","՝՞՞¯","՟ՠƎÈՠա","Ŝ¯ա±բդ","գե©դգ","դեեէ","զըĄէզ","էըըճ","թի©ժթ","ժիիլ","լծխկ","©ծխծկ","կհհղ","Ąձժղյ","ճձճմ","մշյճ","նո©շն","շոոչ","չպպ³","ջռռս","©սֈ¶\\վր","©տվտր","րցցփ","ւք©փւ","փքքօ","օև¶\\ֆտ","և֊ֈֆ","ֈ։։֍","֊ֈ","©֎Ún֍","֍֎֎µ","֏֒¸]֒","º^֑֏֑","֒·֓֔","¼_֔֕©֖֕","N֖֗©֗֘","Ũµ֘¹֚֙","¼_֚»֛֜","ƖÌ֜½֝֞","\\֞֟©֟֠","]֠֡©֡֬","Äc֢֤©֣֢","֣֤֤֥","֥֧֦֨","©֧֦֧֨","֨֩֩֫","Äc֪֣֮֫","֪֭֬֬","֭¿֮֬","ְ֯^ְֱ","©ֱֲĄֲÁ","ֳִ_ִֵ","©ֵֶĄֶÃ","ַֿĄָֺ","©ָֹֹֺ","ֺֻֻֽ\t","ּ־©ּֽ","ֽ־־׀","ֹֿֿ׀","׀Åׁ׃","©ׁׂׂ׃","׃ײׅׄ",";ׅ׆©׆ׇ","Bׇ©","Ũµü","©","","א©","אאב","בדƆÄגה","©דגדה","הווז","ז׳חט",";טי©יך","dךכ©כל","Cלם©םר","Ũµמנ©ןמ","ןננס","סףעפ","©ףעףפ","פץץק","Ũµצןקת","רצרש","ש׳תר",";","©eׯ","©ׯװŨµװױ","üױ׳ײׄ","ײחײ","׳Ç״","f©","Êf©","","","©","","Êf","","","؆Ún","؆؆É","؇؉Ũµ؈؊","©؉؈؉؊","؊؋؋؍","،؎©؍،","؍؎؎؏","؏ؐÌgؐË","ؑؔÎhؒؔ","Ðiؓؑؓؒ","ؔÍؕؗ","gؘؖ©ؗؖ","ؘؘؗ","ؙ؝Òjؚ؝","Ôk؛؝Ölؙ","ؚ؛","؝Ï؞آ\t","؟أÒjؠأÔ","kءأÖlآ؟","آؠآء","أÑؤإ","إئƖÌئا","ابƖÌبث","ةجتجź¾","ثةثت","جححخ","خÓدذ","ذرƖÌرش","زصسصź¾","شزشس","صضضط","طÕظؼ","عؽØmغؽź¾","ػؽؼع","ؼغؼػ","ؽؾؾؿ","ؿ×ـًƊÆ","فك©قف","قككل","لنمه©","نمنه","هوويƊÆ","ىقيٍ","ًىًٌ","ٌÙًٍ","َُjُِ©","ِّĄّÛ","ْٝÞpٕٓ©","ٕٔٓٔ","ٕٖٖ٘","ٗٙ©٘ٗ","٘ٙٙٚ","ٜٚÞpٛٔ","ٜٟٝٛ","ٝٞٞÝ","ٟٝ٠٢Ũµ","١٣©٢١","٢٣٣٤","٤٦٥٧©","٦٥٦٧","٧٨٨٩àq","٩٬٪٬àq","٫٠٫٪","٬ß٭ٰļ","ٮٰârٯ٭","ٯٮٰá","ٱٸäsٲٴ©","ٳٲٳٴ","ٴٵٵٷæt","ٶٳٷٺ","ٸٶٸٹ","ٹڀٺٸ","ٻټټٽâr","ٽپپڀ","ٿٱٿٻ","ڀãځڃ","ڂڄ©ڃڂ","ڃڄڄډ","څڇŨµچڈ©","ڇچڇڈ","ڈڊډڅ","ډڊڊڏ","ڋڍú~ڌڎ©","ڍڌڍڎ","ڎڐڏڋ","ڏڐڐڕ","ڑړðyڒڔ©","ړڒړڔ","ڔږڕڑ","ڕږږڗ","ڗژژå","ڙڛèuښڜ©","ڛښڛڜ","ڜڝڝڞäs","ڞçڟڡêv","ڠڢ©ڡڠ","ڡڢڢڤ","ڣڥîxڤڣ","ڤڥڥڧ","ڦڨ©ڧڦ","ڧڨڨک","کڪìwڪé","ګڭƐÉڬڮ©","ڭڬڭڮ","ڮگگڰƔË","ڰڳڱڳƔË","ڲګڲڱ","ڳëڴڶƔË","ڵڷ©ڶڵ","ڶڷڷڸ","ڸڹƒÊڹڼ","ںڼƔËڻڴ","ڻںڼí","ڽڿھۀ©","ڿھڿۀ","ۀۅہۃŨµ","ۂۄ©ۃۂ","ۃۄۄۆ","ۅہۅۆ","ۆۋۇۉô{","ۈۊ©ۉۈ","ۉۊۊی","ۋۇۋی","یێۍۏþ","ێۍێۏ","ۏ۔ېےðy","ۑۓ©ےۑ","ےۓۓە","۔ې۔ە","ەۖۖۗ","ۗïۘۛŬ·","ۙۛź¾ۚۘ","ۚۙۛñ","ۜ۞۟©","۞۞۟","۟۠۠ۡĂ","ۡó۪ۢö|","ۣۥ©ۣۤ","ۤۥۥۦ","ۦۧۧ۩ø}","ۨۤ۩۬","۪۪ۨ۫","۫õ۪۬","ۭۮۮۯĂ","ۯ÷۰۲","۱۰۱۲","۲۳۳۴Ă","۴ù۵ۼü","۶۸©۷۶","۷۸۸۹","۹ۻüۺ۷","ۻ۾ۼۺ","ۼ۽۽û","۾ۼۿ܀","܀܁Ā܁ý","܂܄܃܅©","܄܃܄܅","܅܊܆܈ƊÆ","܇܉©܈܇","܈܉܉܋","܊܆܊܋","܋ܖ܌","܍©܍","ܔ","ܐܒƊÆܑܓ©","ܒܑܒܓ","ܓܕܔܐ","ܔܕܕܗ","ܖ܌ܖܗ","ܗÿܘܙƖÌ","ܙāܚܛƖÌ","ܛăܜܝĆ","ܝąܞܥĈ
","ܟܠ©ܠܡm","ܡܢ©ܢܤĈ
","ܣܟܤܧ","ܥܣܥܦ","ܦćܧܥ","ܨܯĊܩܪ©","ܪܫnܫܬ©","ܬܮĊܭܩ","ܮܱܯܭ","ܯܰܰĉ","ܱܯܹܲČ","ܴܳ©ܴܵo","ܵܶ©ܸܶČ","ܷܸܻܳ","ܹܷܹܺ","ܺċܻܹ","ܼܾpܽܿ©","ܾܾܽܿ","ܼܿ݁݀","݄݂݁݀","݂݃݃݅","݄݂݆݅Ď","݆č݇ݎĐ","݈݊©݈݉","݉݊݊","ݍŌ§݉","ݍݐݎ","ݎݏݏď","ݐݎݑݤĒ","ݒݔ©ݓݒ","ݓݔݔݕ","ݕݗݖݘ©","ݗݖݗݘ","ݘݙݙݣĒ","ݚݜ©ݛݚ","ݛݜݜݝ","ݝݟݞݠ©","ݟݞݟݠ","ݠݡݡݣĒ","ݢݓݢݛ","ݣݦݤݢ","ݤݥݥđ","ݦݤݧނĔ","ݨݪ©ݩݨ","ݩݪݪݫ","ݫݭݬݮ©","ݭݬݭݮ","ݮݯݯށĔ","ݰݲ©ݱݰ","ݱݲݲݳ","ݳݵ\bݴݶ©","ݵݴݵݶ","ݶݷݷށĔ","ݸݺ©ݹݸ","ݹݺݺݻ","ݻݽݼݾ©","ݽݼݽݾ","ݾݿݿށĔ","ހݩހݱ","ހݹށބ","ނހނރ","ރēބނ","ޅސĖކވ©","އކއވ","ވމމދ","ފތ©ދފ","ދތތލ","ލޏĖގއ","ޏޒސގ","ސޑޑĕ","ޒސޓޕ\t","ޔޖ©ޕޔ","ޕޖޖޘ","ޗޓޘޛ","ޙޗޙޚ","ޚޜޛޙ","ޜޝĘޝė","ޞߔĚޟޡ©","ޠޟޠޡ","ޡޢޢޣ","ޣޤĄޤޥ","ޥߓަި©","ާަާި","ިީީޫ","ުެĄޫު","ޫެެޭ","ޭޯޮްĄ","ޯޮޯް","ްޱޱߓ","©","","߃©","߃Y©","q©","߃K©","r©","߃K߀߁©","߁߃s߂","߂߂","߂߂߀","߃߅߄߆©","߅߄߅߆","߆߇߇ߓĚ","߈߉©߉ߊF","ߊߋ©ߋߓt","ߌߍ©ߍߎF","ߎߏ©ߏߐp","ߐߑ©ߑߓt","ߒޠߒާ","ߒ߂ߒ߈","ߒߌߓߖ","ߔߒߔߕ","ߕęߖߔ","ߗߡł¢ߘߚ©","ߙߘߙߚ","ߚߝߛߞŢ²","ߜߞú~ߝߛ","ߝߜߞߠ","ߟߙߠߣ","ߡߟߡߢ","ߢěߣߡ","ߤߦĞߥߧ©","ߦߥߦߧ","ߧߨߨߪ","ߩ߫©ߪߩ","ߪ߫߫߬","߬߮Œª߭߯©","߮߭߮߯","߯߰߰߱","߱ĝ߲߳v","߳ğߴ߶Ģ","ߵ߷©߶ߵ","߶߷߷߸","߸ߺ߹©","ߺ߹ߺ","߾Ą","߽߿©߾߽","߾߿߿ࠀ","ࠀࠁࠁġ","ࠂࠃHࠃģ","ࠄࠆĦࠅࠇ©","ࠆࠅࠆࠇ","ࠇࠈࠈࠊ","ࠉࠋ©ࠊࠉ","ࠊࠋࠋࠌ","ࠌࠎŒªࠍࠏ©","ࠎࠍࠎࠏ","ࠏࠐࠐࠑ","ࠑĥࠒࠓ?","ࠓħࠔࠖĪ","ࠕࠗ©ࠖࠕ","ࠖࠗࠗ࠘","࠘ࠚ࠙ࠛ©","ࠚ࠙ࠚࠛ","ࠛࠜࠜࠞŒª","ࠝࠟ©ࠞࠝ","ࠞࠟࠟࠠ","ࠠࠡࠡĩ","ࠢࠣxࠣī","ࠤࠦĮࠥࠧ©","ࠦࠥࠦࠧ","ࠧࠨࠨࠪ","ࠩࠫ©ࠪࠩ","ࠪࠫࠫࠬ","ࠬŒª࠭©","࠭","࠰࠰࠱","࠱ĭ࠲࠳y","࠳į࠴࠶IJ","࠵࠷©࠶࠵","࠶࠷࠷࠸","࠸࠺࠹࠻©","࠺࠹࠺࠻","࠻࠼࠼࠾Œª","࠽©࠾࠽","࠾ࡀ","ࡀࡁࡁı","ࡂࡃzࡃij","ࡄࡆĶࡅࡇ©","ࡆࡅࡆࡇ","ࡇࡈࡈࡊ","ࡉࡋ©ࡊࡉ","ࡊࡋࡋࡌ","ࡌࡕŒªࡍࡏ©","ࡎࡍࡎࡏ","ࡏࡐࡐࡒ","ࡑࡓ©ࡒࡑ","ࡒࡓࡓࡔ","ࡔࡖĄࡕࡎ","ࡕࡖࡖࡘ","ࡗ࡙©ࡘࡗ","ࡘ࡙࡙࡚","࡚࡛࡛ĵ","wķ","࡞ࡠĺࡡ©","ࡠࡠࡡ","ࡡࡢࡢࡤ","ࡣࡥ©ࡤࡣ","ࡤࡥࡥࡦ","ࡦࡨŨµࡧࡩ©","ࡨࡧࡨࡩ","ࡩࡪࡪ","©","","ࡰĄࡱ©","ࡰࡰࡱ","ࡱࡲࡲࡴ","ࡳࡵ©ࡴࡳ","ࡴࡵࡵࡶ","ࡶࡸŔ«ࡷࡹ©","ࡸࡷࡸࡹ","ࡹࡺࡺࡼ","ࡻࡽ©ࡼࡻ","ࡼࡽࡽࡾ","ࡾࢀĄࡿࢁ©","ࢀࡿࢀࢁ","ࢁࢂࢂࢃ","ࢃĹࢄࢅ}","ࢅĻࢆ࢈ľ ","ࢇࢉ©࢈ࢇ","࢈ࢉࢉࢊ","ࢊࢌࢋࢍ©","ࢌࢋࢌࢍ","ࢍࢎࢎâr","©","","ࢣ","ŀ¡©","","࢚࢘࢘","࢙࢛©࢚࢙","࢚࢛࢛࢜","࢜࢞âr࢝࢟©","࢞࢝࢞࢟","࢟ࢠࢠࢡ","ࢡࢣࢢࢆ","ࢢࢣĽ","ࢤࢥkࢥĿ","ࢦࢧlࢧŁ","ࢨࣈń£ࢩࣈź¾","ࢪࣈŤ³ࢫࢭu","ࢬࢮ©ࢭࢬ","ࢭࢮࢮࢯ","ࢯࢱࢰࢲ©","ࢱࢰࢱࢲ","ࢲࢳࢳࢵ","ࢴࢶ©ࢵࢴ","ࢵࢶࢶࢷ","ࢷࣈࢸࣈŞ°","ࢹࣈŠ±ࢺࣈĜ","ࢻࣈĴࢼࣈĸ","ࢽࣈĤࢾࣈĨ","ࢿࣈĬࣀࣈİ","ࣁࣈĠࣂࣈļ","ࣃࣈŐ©ࣄࣈŎ¨","ࣅࣈŖ¬ࣆࣈŨµ","ࣇࢨࣇࢩ","ࣇࢪࣇࢫ","ࣇࢸࣇࢹ","ࣇࢺࣇࢻ","ࣇࢼࣇࢽ","ࣇࢾࣇࢿ","ࣇࣀࣇࣁ","ࣇࣂࣇࣃ","ࣇࣄࣇࣅ","ࣇࣆࣈŃ","ࣉ࣑Ū¶࣑࣊ņ¤","࣑࣋ň¥࣑࣌t","࣑࣍Ŭ·࣑࣎Ŋ¦","࣏࣑ٸ࣐ࣉ","࣐࣐࣊࣋","࣐࣐࣌࣍","࣐࣐࣏࣎","࣑Ņ࣒࣓","࣓Ňࣔࣕ\t","ࣕʼnࣖࣘ","ࣗࣙ©ࣘࣗ","ࣘࣙࣙ࣫","ࣚࣜĄࣛࣝ©","ࣜࣛࣜࣝ","ࣝࣨࣞ࣠","ࣟ࣡©࣠ࣟ","࣠࣡࣡","ࣤĄࣣࣥ©","ࣣࣤࣤࣥ","ࣦࣥࣧࣞ","ࣦࣧ࣪ࣨ","ࣩࣩࣨ࣬","࣪ࣨ࣫ࣚ","࣭࣫࣬࣬","࣭࣮࣮ŋ","ࣰࣱࣲ࣯©","ࣰࣱࣱࣲ","ࣲࣳࣳओĐ","ࣶࣴࣵࣷ©","ࣶࣶࣵࣷ","ࣷࣸࣸओĐ","ࣹࣺࣻࣼ©","ࣺࣻࣻࣼ","ࣼࣽࣽओĐ","ࣾऀ ࣿँ©","ऀࣿऀँ","ँंंओĐ","ःअ!ऄआ©","अऄअआ","आइइओĐ",'ईऊ"उऋ©',"ऊउऊऋ","ऋऌऌओĐ","ऍए#ऎऐ©","एऎएऐ","ऐऑऑओĐ","ऒ࣯ऒࣴ","ऒࣹऒࣾ","ऒःऒई","ऒऍओō","औखकग©","खकखग","गघघचĄ","ङछ©चङ","चछछज","जझझŏ","ञणäsटड©","ठटठड","डढढतæt","णठतथ","थणथद","दőधबŔ«","नप©ऩन","ऩपपफ","फभÚnबऩ","बभभœ","मयŨµयर©","रऱYऱल©","लळĄळŕ","ऴशŘवष©","शवशष","षससऺ","हऻ©ऺह","ऺऻऻी","़ाZऽि©","ाऽाि","िुी़","ीुु॓","ूॄĄृॅ©","ॄृॄॅ","ॅॐॆै","ेॉ©ैे","ैॉॉॊ","ॊौĄो्©","ौोौ्","्ॏॎॆ","ॏ॒ॐॎ","ॐ॑॑॔","॒ॐ॓ू","॓॔॔ॕ","ॕॖॖŗ","ॗक़ƎÈक़ख़Ś®","ख़řग़ज़\t","ज़śड़ढ़ƖÌ","ढ़ŝफ़ॠ","य़ॡ©ॠय़","ॠॡॡॢ","ॢ५Œªॣ॥©","।ॣ।॥","॥००२","१३©२१","२३३४","४६Ą५।","५६६८","७९©८७","८९९॰","॰ॱॱş","ॲॴॳॵ©","ॴॳॴॵ","ॵॾॶॸŨµ","ॷॹ©ॸॷ","ॸॹॹॺ","ॺॼॻॽ©","ॼॻॼॽ","ॽॿॾॶ","ॾॿॿঀ","ঀংŐ©ঁঃ©","ংঁংঃ","ঃঌআj","অই©আঅ","আইইঈ","ঈঊĄউঋ©","ঊউঊঋ","ঋঌ","ঌ","ঐএ©","ঐএঐ","ঔĄ","ওক©ঔও","ঔককখ","খগগš","ঘচ\tঙছ©","চঙচছ","ছজজঝƈÅ","ঝţঞণ~","টড©ঠট","ঠডডঢ","ঢতŦ´ণঠ","তথথণ","থদদ","ধ~নপ©","নপ","পফফরĄ","বম©ভব","ভমময","যŦ´রভ","ললর","ল","ঞধ","াশস©","ষশষস","সহহ","়©","়়ঽ","ঽিĄাষ","ািিু","ীূ©ুী","ুূূৃ","ৃৄৄť","েৈ©","েেৈ","ৈোĄ","ৌ©ো","োৌৌ্","্ৎ©","ৎ","Ą","ŧƖÌ","ũƌÇ","ƊÆৗ","ৗū","ড়©","ড়","ড়৮ঢ়য়Ųº","ৠ©য়","য়ৠৠ৫","ৡৣৢ©","ৣৢৣ","১Ųº","০২©১০","১২২৪","৩ৡ৪৭","৫৩৫৬","৬৯৭৫","৮ঢ়৮৯","৯ৰৰৱ","ৱŭ৲৴Ũµ","৳৵©৴৳","৴৵৵৶","৶৸৷৹©","৸৷৸৹","৹৻৺ৼŰ¹","৻৺৻ৼ","ৼਇ৽©","৾৽৾","ਂ","ਁਃ©ਂਁ","ਂਃਃ","ਆŰ¹ਅ৾","ਆਉਇਅ","ਇਈਈ","ਉਇਊ©","ਊ","","ůਏਔŲº","ਐਔŴ»ਔŶ¼","ਔŸ½ਓਏ","ਓਐਓ","ਓਔű","ਕਗƈÅਖਘ©","ਗਖਗਘ","ਘਙਙਛ","ਚਜ©ਛਚ","ਛਜਜਝ","ਝਞĄਞų","ਟਠ\tਠਡŨµ","ਡŵਢਣŨµ","ਣŷਤਥ\t","ਥਦਦŹ","ਧਪż¿ਨਪžÀ","ਧਨ","ਪŻਫਭ","ਬਮ©ਭਬ","ਭਮਮਯ","ਯƀÁਰਲ©","ਰਲ","ਲਲ਼ਲ਼","Žਵਸ਼$","ਸ਼ƀÁſ","ਸƖÌਹ","ਸਹ","Ɓ਼ੇƄÃ","ਿ©ਾ","ਾਿਿੀ","ੀੂੁ©","ੂੁੂ","ƄÃ","ਾ","ੇੇੈ","ੈƃੇ","ł¢ੋ੍©","ੌੋੌ੍","੍Ţ²","ੌੑ","ੑੑ","ƅਫ਼ƈÅ","©","","ਖ਼ਗ਼©","ਖ਼ਖ਼ਗ਼","ਗ਼ਜ਼ਜ਼ƈÅ","ੜ","ਫ਼ੜਫ਼","Ƈਫ਼","ƖÌƉ","\t\bƋ","੦\t\t੦ƍ੧","੨ƖÌ੨੩\t੩","੫੪੧੫","੮੬੪੬","੭੭Ə੮","੬੯ੰ\t\nੰƑ","ੱੲ\t\vੲƓ","ੳੴ\t\fੴƕ","ੵƘÍ੶","¥¨","ੵ੶","","Ɨ\t","\rƙƦƟƣ","ƨƬƯƴƼDŽǑǕǙǢǧǫ","ǮDZǶǺȁȓȪȲȴȸȽɃ","ɉɍɑɕəɠɣɧɫɱɵɹ","ɽʁʈʋʓʜʡʥʨʯʷʻ","ˁˆˌ˗˛ˡ˥˩ˮ˳˹˾","̘̝̠̰̼̈̌̑ͪͮͲͶ",";·ΙΝΦάΰξυ","ϋϕϙϟϧϲϸЄЊЖКФ","бейпуцъєћѨѬѴ","ѺѾ҂҇ҌҐҖҚҠҤҪҮ","ҲҶҺҾӃӊӎӓӚӞӢӪ","ӱӴӺӽԂԅԉԌԏԖԚԞ","ԢԥԩԭԲԷԻՀՄՍՓՖ","՚՝դէժծճշտփֈ֍","ֹֽֿׂ֑֣֧֬דן","ףרײ؉؍ؓؗ","آثشؼقنًٔ٘ٝ٢٦","٫ٯٳٸٿڃڇډڍڏړڕ","ڛڡڤڧڭڲڶڻڿۃۅۉ","ۋێے۔ۚ۞۪ۤ۱۷ۼ܄","܈܊ܒܔܖܥܯܹܾ݂݉","ݎݓݗݛݟݢݤݩݭݱݵݹ","ݽހނއދސޕޙޠާޫޯ","߂߅ߒߔߙߝߡߦߪ߮߶","ߺ߾ࠆࠊࠎࠖࠚࠞࠦࠪ࠶","࠺࠾ࡆࡊࡎࡒࡕࡘࡠࡤࡨ","ࡰࡴࡸࡼࢀ࢈ࢌ࢚࢞ࢢ","ࢭࢱࢵࣇࣱ࣐ࣘࣜ࣠ࣤࣨ࣫","ࣶࣻऀअऊएऒखचठथऩ","बशऺाीॄैौॐ॓ॠ।","२५८ॴॸॼॾংআঊঌঐ","ঔচঠথভলষাু","েোৗয়ৣ১৫৮৴৸","৻৾ਂਇਓਗਛਭ","ਾੂੇੌੑਖ਼ਫ਼੬"].join(""),a=(new r.atn.ATNDeserializer).deserialize(o),s=a.decisionToState.map((function(e,t){return new r.dfa.DFA(e,t)})),l=new r.PredictionContextCache,c=[null,"';'","':'","'-'","'=>'","'://'","'/'","'.'","'@'","'#'","'?'","'&'","'='","'+'","'{'","','","'}'","'['","']'","'('","')'","'+='","'|'","'*'","'..'","'%'","'^'","'=~'","'<>'","'!='","'<'","'>'","'<='","'>='","'$'","'⟨'","'〈'","'﹤'","'<'","'⟩'","'〉'","'﹥'","'>'","''","'‐'","'‑'","'‒'","'–'","'—'","'―'","'−'","'﹘'","'﹣'","'-'",null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"'0'"],u=[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"CYPHER","EXPLAIN","PROFILE","USING","PERIODIC","COMMIT","UNION","ALL","CREATE","DROP","INDEX","ON","CONSTRAINT","ASSERT","IS","UNIQUE","EXISTS","LOAD","CSV","WITH","HEADERS","FROM","AS","FIELDTERMINATOR","OPTIONAL","MATCH","UNWIND","MERGE","SET","DETACH","DELETE","REMOVE","FOREACH","IN","DISTINCT","RETURN","ORDER","BY","L_SKIP","LIMIT","ASCENDING","ASC","DESCENDING","DESC","JOIN","SCAN","START","NODE","RELATIONSHIP","REL","WHERE","SHORTESTPATH","ALLSHORTESTPATHS","OR","XOR","AND","NOT","STARTS","ENDS","CONTAINS","NULL","COUNT","FILTER","EXTRACT","ANY","NONE","SINGLE","TRUE","FALSE","REDUCE","CASE","ELSE","END","WHEN","THEN","CALL","YIELD","KEY","BTREE","EXIST","FOR","OPTIONS","EXECUTE","DEFINED","FUNCTION","FUNCTIONS","BOOSTED","PROCEDURE","PROCEDURES","ADMIN","ADMINISTRATOR","BRIEF","VERBOSE","OUTPUT","StringLiteral","UrlHex","EscapedChar","HexInteger","DecimalInteger","OctalInteger","HexLetter","HexDigit","Digit","NonZeroDigit","NonZeroOctDigit","OctDigit","ZeroDigit","ExponentDecimalReal","RegularDecimalReal","UnescapedSymbolicName","IdentifierStart","IdentifierPart","EscapedSymbolicName","SP","WHITESPACE","Comment","ERROR_TOKEN"],h=["cypher","cypherPart","cypherConsoleCommand","cypherConsoleCommandName","cypherConsoleCommandParameters","cypherConsoleCommandParameter","arrowExpression","url","uri","scheme","host","hostname","hostnumber","port","path","user","login","password","frag","urlQuery","search","searchparameter","string","urlDigits","json","obj","pair","array","value","keyValueLiteral","commandPath","subCommand","cypherQuery","queryOptions","anyCypherOption","cypherOption","versionNumber","explain","profile","configurationOption","statement","query","regularQuery","bulkImportQuery","singleQuery","periodicCommitHint","loadCSVQuery","union","clause","command","createUniqueConstraint","createNodeKeyConstraint","createNodePropertyExistenceConstraint","createRelationshipPropertyExistenceConstraint","createIndex","dropUniqueConstraint","dropNodeKeyConstraint","dropNodePropertyExistenceConstraint","dropRelationshipPropertyExistenceConstraint","dropIndex","index","uniqueConstraint","nodeKeyConstraint","nodePropertyExistenceConstraint","relationshipPropertyExistenceConstraint","relationshipPatternSyntax","loadCSVClause","matchClause","unwindClause","mergeClause","mergeAction","createClause","createUniqueClause","setClause","setItem","deleteClause","removeClause","removeItem","foreachClause","withClause","returnClause","returnBody","func","returnItems","returnItem","call","procedureInvocation","procedureInvocationBody","procedureArguments","procedureResults","procedureResult","aliasedProcedureResult","simpleProcedureResult","procedureOutput","order","skip","limit","sortItem","hint","startClause","startPoint","lookup","nodeLookup","relationshipLookup","identifiedIndexLookup","indexQuery","idLookup","literalIds","where","pattern","patternPart","anonymousPatternPart","patternElement","nodePattern","patternElementChain","relationshipPattern","relationshipPatternStart","relationshipPatternEnd","relationshipDetail","properties","relType","relationshipTypes","relationshipType","relationshipTypeOptionalColon","nodeLabels","nodeLabel","rangeLiteral","labelName","relTypeName","expression","orExpression","xorExpression","andExpression","notExpression","comparisonExpression","addOrSubtractExpression","multiplyDivideModuloExpression","powerOfExpression","unaryAddOrSubtractExpression","stringListNullOperatorExpression","propertyOrLabelsExpression","filterFunction","filterFunctionName","existsFunction","existsFunctionName","allFunction","allFunctionName","anyFunction","anyFunctionName","noneFunction","noneFunctionName","singleFunction","singleFunctionName","extractFunction","extractFunctionName","reduceFunction","reduceFunctionName","shortestPathPatternFunction","shortestPathFunctionName","allShortestPathFunctionName","atom","literal","stringLiteral","booleanLiteral","listLiteral","partialComparisonExpression","parenthesizedExpression","relationshipsPattern","filterExpression","idInColl","functionInvocation","functionInvocationBody","functionName","procedureName","listComprehension","patternComprehension","propertyLookup","caseExpression","caseAlternatives","variable","numberLiteral","mapLiteral","mapProjection","mapProjectionVariants","literalEntry","propertySelector","variableSelector","allPropertiesSelector","parameter","legacyParameter","newParameter","parameterName","propertyExpressions","propertyExpression","propertyKeys","propertyKeyName","integerLiteral","doubleLiteral","namespace","leftArrowHead","rightArrowHead","dash","symbolicName","keyword"];function p(e){return r.Parser.call(this,e),this._interp=new r.atn.ParserATNSimulator(this,a,s,l),this.ruleNames=h,this.literalNames=c,this.symbolicNames=u,this}function d(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_cypher,this}function f(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_cypherPart,this}function m(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_cypherConsoleCommand,this}function g(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_cypherConsoleCommandName,this}function y(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_cypherConsoleCommandParameters,this}function v(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_cypherConsoleCommandParameter,this}function _(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_arrowExpression,this}function b(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_url,this}function E(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_uri,this}function T(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_scheme,this}function x(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_host,this}function S(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_hostname,this}function C(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_hostnumber,this}function A(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_port,this}function R(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_path,this}function w(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_user,this}function L(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_login,this}function O(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_password,this}function N(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_frag,this}function I(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_urlQuery,this}function k(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_search,this}function D(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_searchparameter,this}function P(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_string,this}function M(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_urlDigits,this}function F(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_json,this}function H(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_obj,this}function B(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_pair,this}function U(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_array,this}function j(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_value,this}function G(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_keyValueLiteral,this}function Y(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_commandPath,this}function z(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_subCommand,this}function $(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_cypherQuery,this}function W(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_queryOptions,this}function V(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_anyCypherOption,this}function K(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_cypherOption,this}function q(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_versionNumber,this}function X(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_explain,this}function Z(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_profile,this}function Q(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_configurationOption,this}function J(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_statement,this}function ee(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_query,this}function te(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_regularQuery,this}function ne(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_bulkImportQuery,this}function re(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_singleQuery,this}function ie(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_periodicCommitHint,this}function oe(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_loadCSVQuery,this}function ae(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_union,this}function se(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_clause,this}function le(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_command,this}function ce(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_createUniqueConstraint,this}function ue(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_createNodeKeyConstraint,this}function he(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_createNodePropertyExistenceConstraint,this}function pe(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_createRelationshipPropertyExistenceConstraint,this}function de(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_createIndex,this}function fe(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_dropUniqueConstraint,this}function me(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_dropNodeKeyConstraint,this}function ge(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_dropNodePropertyExistenceConstraint,this}function ye(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_dropRelationshipPropertyExistenceConstraint,this}function ve(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_dropIndex,this}function _e(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_index,this}function be(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_uniqueConstraint,this}function Ee(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_nodeKeyConstraint,this}function Te(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_nodePropertyExistenceConstraint,this}function xe(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_relationshipPropertyExistenceConstraint,this}function Se(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_relationshipPatternSyntax,this}function Ce(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_loadCSVClause,this}function Ae(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_matchClause,this}function Re(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_unwindClause,this}function we(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_mergeClause,this}function Le(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_mergeAction,this}function Oe(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_createClause,this}function Ne(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_createUniqueClause,this}function Ie(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_setClause,this}function ke(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_setItem,this}function De(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_deleteClause,this}function Pe(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_removeClause,this}function Me(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_removeItem,this}function Fe(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_foreachClause,this}function He(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_withClause,this}function Be(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_returnClause,this}function Ue(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_returnBody,this}function je(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_func,this}function Ge(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_returnItems,this}function Ye(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_returnItem,this}function ze(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_call,this}function $e(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_procedureInvocation,this}function We(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_procedureInvocationBody,this}function Ve(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_procedureArguments,this}function Ke(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_procedureResults,this}function qe(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_procedureResult,this}function Xe(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_aliasedProcedureResult,this}function Ze(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_simpleProcedureResult,this}function Qe(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_procedureOutput,this}function Je(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_order,this}function et(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_skip,this}function tt(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_limit,this}function nt(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_sortItem,this}function rt(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_hint,this}function it(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_startClause,this}function ot(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_startPoint,this}function at(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_lookup,this}function st(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_nodeLookup,this}function lt(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_relationshipLookup,this}function ct(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_identifiedIndexLookup,this}function ut(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_indexQuery,this}function ht(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_idLookup,this}function pt(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_literalIds,this}function dt(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_where,this}function ft(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_pattern,this}function mt(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_patternPart,this}function gt(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_anonymousPatternPart,this}function yt(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_patternElement,this}function vt(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_nodePattern,this}function _t(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_patternElementChain,this}function bt(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_relationshipPattern,this}function Et(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_relationshipPatternStart,this}function Tt(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_relationshipPatternEnd,this}function xt(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_relationshipDetail,this}function St(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_properties,this}function Ct(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_relType,this}function At(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_relationshipTypes,this}function Rt(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_relationshipType,this}function wt(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_relationshipTypeOptionalColon,this}function Lt(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_nodeLabels,this}function Ot(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_nodeLabel,this}function Nt(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_rangeLiteral,this}function It(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_labelName,this}function kt(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_relTypeName,this}function Dt(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_expression,this}function Pt(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_orExpression,this}function Mt(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_xorExpression,this}function Ft(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_andExpression,this}function Ht(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_notExpression,this}function Bt(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_comparisonExpression,this}function Ut(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_addOrSubtractExpression,this}function jt(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_multiplyDivideModuloExpression,this}function Gt(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_powerOfExpression,this}function Yt(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_unaryAddOrSubtractExpression,this}function zt(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_stringListNullOperatorExpression,this}function $t(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_propertyOrLabelsExpression,this}function Wt(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_filterFunction,this}function Vt(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_filterFunctionName,this}function Kt(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_existsFunction,this}function qt(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_existsFunctionName,this}function Xt(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_allFunction,this}function Zt(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_allFunctionName,this}function Qt(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_anyFunction,this}function Jt(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_anyFunctionName,this}function en(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_noneFunction,this}function tn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_noneFunctionName,this}function nn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_singleFunction,this}function rn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_singleFunctionName,this}function on(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_extractFunction,this}function an(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_extractFunctionName,this}function sn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_reduceFunction,this}function ln(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_reduceFunctionName,this}function cn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_shortestPathPatternFunction,this}function un(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_shortestPathFunctionName,this}function hn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_allShortestPathFunctionName,this}function pn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_atom,this}function dn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_literal,this}function fn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_stringLiteral,this}function mn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_booleanLiteral,this}function gn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_listLiteral,this}function yn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_partialComparisonExpression,this}function vn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_parenthesizedExpression,this}function _n(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_relationshipsPattern,this}function bn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_filterExpression,this}function En(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_idInColl,this}function Tn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_functionInvocation,this}function xn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_functionInvocationBody,this}function Sn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_functionName,this}function Cn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_procedureName,this}function An(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_listComprehension,this}function Rn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_patternComprehension,this}function wn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_propertyLookup,this}function Ln(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_caseExpression,this}function On(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_caseAlternatives,this}function Nn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_variable,this}function In(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_numberLiteral,this}function kn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_mapLiteral,this}function Dn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_mapProjection,this}function Pn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_mapProjectionVariants,this}function Mn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_literalEntry,this}function Fn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_propertySelector,this}function Hn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_variableSelector,this}function Bn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_allPropertiesSelector,this}function Un(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_parameter,this}function jn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_legacyParameter,this}function Gn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_newParameter,this}function Yn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_parameterName,this}function zn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_propertyExpressions,this}function $n(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_propertyExpression,this}function Wn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_propertyKeys,this}function Vn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_propertyKeyName,this}function Kn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_integerLiteral,this}function qn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_doubleLiteral,this}function Xn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_namespace,this}function Zn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_leftArrowHead,this}function Qn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_rightArrowHead,this}function Jn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_dash,this}function er(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_symbolicName,this}function tr(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_keyword,this}p.prototype=Object.create(r.Parser.prototype),p.prototype.constructor=p,Object.defineProperty(p.prototype,"atn",{get:function(){return a}}),p.EOF=r.Token.EOF,p.T__0=1,p.T__1=2,p.T__2=3,p.T__3=4,p.T__4=5,p.T__5=6,p.T__6=7,p.T__7=8,p.T__8=9,p.T__9=10,p.T__10=11,p.T__11=12,p.T__12=13,p.T__13=14,p.T__14=15,p.T__15=16,p.T__16=17,p.T__17=18,p.T__18=19,p.T__19=20,p.T__20=21,p.T__21=22,p.T__22=23,p.T__23=24,p.T__24=25,p.T__25=26,p.T__26=27,p.T__27=28,p.T__28=29,p.T__29=30,p.T__30=31,p.T__31=32,p.T__32=33,p.T__33=34,p.T__34=35,p.T__35=36,p.T__36=37,p.T__37=38,p.T__38=39,p.T__39=40,p.T__40=41,p.T__41=42,p.T__42=43,p.T__43=44,p.T__44=45,p.T__45=46,p.T__46=47,p.T__47=48,p.T__48=49,p.T__49=50,p.T__50=51,p.T__51=52,p.T__52=53,p.CYPHER=54,p.EXPLAIN=55,p.PROFILE=56,p.USING=57,p.PERIODIC=58,p.COMMIT=59,p.UNION=60,p.ALL=61,p.CREATE=62,p.DROP=63,p.INDEX=64,p.ON=65,p.CONSTRAINT=66,p.ASSERT=67,p.IS=68,p.UNIQUE=69,p.EXISTS=70,p.LOAD=71,p.CSV=72,p.WITH=73,p.HEADERS=74,p.FROM=75,p.AS=76,p.FIELDTERMINATOR=77,p.OPTIONAL=78,p.MATCH=79,p.UNWIND=80,p.MERGE=81,p.SET=82,p.DETACH=83,p.DELETE=84,p.REMOVE=85,p.FOREACH=86,p.IN=87,p.DISTINCT=88,p.RETURN=89,p.ORDER=90,p.BY=91,p.L_SKIP=92,p.LIMIT=93,p.ASCENDING=94,p.ASC=95,p.DESCENDING=96,p.DESC=97,p.JOIN=98,p.SCAN=99,p.START=100,p.NODE=101,p.RELATIONSHIP=102,p.REL=103,p.WHERE=104,p.SHORTESTPATH=105,p.ALLSHORTESTPATHS=106,p.OR=107,p.XOR=108,p.AND=109,p.NOT=110,p.STARTS=111,p.ENDS=112,p.CONTAINS=113,p.NULL=114,p.COUNT=115,p.FILTER=116,p.EXTRACT=117,p.ANY=118,p.NONE=119,p.SINGLE=120,p.TRUE=121,p.FALSE=122,p.REDUCE=123,p.CASE=124,p.ELSE=125,p.END=126,p.WHEN=127,p.THEN=128,p.CALL=129,p.YIELD=130,p.KEY=131,p.BTREE=132,p.EXIST=133,p.FOR=134,p.OPTIONS=135,p.EXECUTE=136,p.DEFINED=137,p.FUNCTION=138,p.FUNCTIONS=139,p.BOOSTED=140,p.PROCEDURE=141,p.PROCEDURES=142,p.ADMIN=143,p.ADMINISTRATOR=144,p.BRIEF=145,p.VERBOSE=146,p.OUTPUT=147,p.StringLiteral=148,p.UrlHex=149,p.EscapedChar=150,p.HexInteger=151,p.DecimalInteger=152,p.OctalInteger=153,p.HexLetter=154,p.HexDigit=155,p.Digit=156,p.NonZeroDigit=157,p.NonZeroOctDigit=158,p.OctDigit=159,p.ZeroDigit=160,p.ExponentDecimalReal=161,p.RegularDecimalReal=162,p.UnescapedSymbolicName=163,p.IdentifierStart=164,p.IdentifierPart=165,p.EscapedSymbolicName=166,p.SP=167,p.WHITESPACE=168,p.Comment=169,p.ERROR_TOKEN=170,p.RULE_cypher=0,p.RULE_cypherPart=1,p.RULE_cypherConsoleCommand=2,p.RULE_cypherConsoleCommandName=3,p.RULE_cypherConsoleCommandParameters=4,p.RULE_cypherConsoleCommandParameter=5,p.RULE_arrowExpression=6,p.RULE_url=7,p.RULE_uri=8,p.RULE_scheme=9,p.RULE_host=10,p.RULE_hostname=11,p.RULE_hostnumber=12,p.RULE_port=13,p.RULE_path=14,p.RULE_user=15,p.RULE_login=16,p.RULE_password=17,p.RULE_frag=18,p.RULE_urlQuery=19,p.RULE_search=20,p.RULE_searchparameter=21,p.RULE_string=22,p.RULE_urlDigits=23,p.RULE_json=24,p.RULE_obj=25,p.RULE_pair=26,p.RULE_array=27,p.RULE_value=28,p.RULE_keyValueLiteral=29,p.RULE_commandPath=30,p.RULE_subCommand=31,p.RULE_cypherQuery=32,p.RULE_queryOptions=33,p.RULE_anyCypherOption=34,p.RULE_cypherOption=35,p.RULE_versionNumber=36,p.RULE_explain=37,p.RULE_profile=38,p.RULE_configurationOption=39,p.RULE_statement=40,p.RULE_query=41,p.RULE_regularQuery=42,p.RULE_bulkImportQuery=43,p.RULE_singleQuery=44,p.RULE_periodicCommitHint=45,p.RULE_loadCSVQuery=46,p.RULE_union=47,p.RULE_clause=48,p.RULE_command=49,p.RULE_createUniqueConstraint=50,p.RULE_createNodeKeyConstraint=51,p.RULE_createNodePropertyExistenceConstraint=52,p.RULE_createRelationshipPropertyExistenceConstraint=53,p.RULE_createIndex=54,p.RULE_dropUniqueConstraint=55,p.RULE_dropNodeKeyConstraint=56,p.RULE_dropNodePropertyExistenceConstraint=57,p.RULE_dropRelationshipPropertyExistenceConstraint=58,p.RULE_dropIndex=59,p.RULE_index=60,p.RULE_uniqueConstraint=61,p.RULE_nodeKeyConstraint=62,p.RULE_nodePropertyExistenceConstraint=63,p.RULE_relationshipPropertyExistenceConstraint=64,p.RULE_relationshipPatternSyntax=65,p.RULE_loadCSVClause=66,p.RULE_matchClause=67,p.RULE_unwindClause=68,p.RULE_mergeClause=69,p.RULE_mergeAction=70,p.RULE_createClause=71,p.RULE_createUniqueClause=72,p.RULE_setClause=73,p.RULE_setItem=74,p.RULE_deleteClause=75,p.RULE_removeClause=76,p.RULE_removeItem=77,p.RULE_foreachClause=78,p.RULE_withClause=79,p.RULE_returnClause=80,p.RULE_returnBody=81,p.RULE_func=82,p.RULE_returnItems=83,p.RULE_returnItem=84,p.RULE_call=85,p.RULE_procedureInvocation=86,p.RULE_procedureInvocationBody=87,p.RULE_procedureArguments=88,p.RULE_procedureResults=89,p.RULE_procedureResult=90,p.RULE_aliasedProcedureResult=91,p.RULE_simpleProcedureResult=92,p.RULE_procedureOutput=93,p.RULE_order=94,p.RULE_skip=95,p.RULE_limit=96,p.RULE_sortItem=97,p.RULE_hint=98,p.RULE_startClause=99,p.RULE_startPoint=100,p.RULE_lookup=101,p.RULE_nodeLookup=102,p.RULE_relationshipLookup=103,p.RULE_identifiedIndexLookup=104,p.RULE_indexQuery=105,p.RULE_idLookup=106,p.RULE_literalIds=107,p.RULE_where=108,p.RULE_pattern=109,p.RULE_patternPart=110,p.RULE_anonymousPatternPart=111,p.RULE_patternElement=112,p.RULE_nodePattern=113,p.RULE_patternElementChain=114,p.RULE_relationshipPattern=115,p.RULE_relationshipPatternStart=116,p.RULE_relationshipPatternEnd=117,p.RULE_relationshipDetail=118,p.RULE_properties=119,p.RULE_relType=120,p.RULE_relationshipTypes=121,p.RULE_relationshipType=122,p.RULE_relationshipTypeOptionalColon=123,p.RULE_nodeLabels=124,p.RULE_nodeLabel=125,p.RULE_rangeLiteral=126,p.RULE_labelName=127,p.RULE_relTypeName=128,p.RULE_expression=129,p.RULE_orExpression=130,p.RULE_xorExpression=131,p.RULE_andExpression=132,p.RULE_notExpression=133,p.RULE_comparisonExpression=134,p.RULE_addOrSubtractExpression=135,p.RULE_multiplyDivideModuloExpression=136,p.RULE_powerOfExpression=137,p.RULE_unaryAddOrSubtractExpression=138,p.RULE_stringListNullOperatorExpression=139,p.RULE_propertyOrLabelsExpression=140,p.RULE_filterFunction=141,p.RULE_filterFunctionName=142,p.RULE_existsFunction=143,p.RULE_existsFunctionName=144,p.RULE_allFunction=145,p.RULE_allFunctionName=146,p.RULE_anyFunction=147,p.RULE_anyFunctionName=148,p.RULE_noneFunction=149,p.RULE_noneFunctionName=150,p.RULE_singleFunction=151,p.RULE_singleFunctionName=152,p.RULE_extractFunction=153,p.RULE_extractFunctionName=154,p.RULE_reduceFunction=155,p.RULE_reduceFunctionName=156,p.RULE_shortestPathPatternFunction=157,p.RULE_shortestPathFunctionName=158,p.RULE_allShortestPathFunctionName=159,p.RULE_atom=160,p.RULE_literal=161,p.RULE_stringLiteral=162,p.RULE_booleanLiteral=163,p.RULE_listLiteral=164,p.RULE_partialComparisonExpression=165,p.RULE_parenthesizedExpression=166,p.RULE_relationshipsPattern=167,p.RULE_filterExpression=168,p.RULE_idInColl=169,p.RULE_functionInvocation=170,p.RULE_functionInvocationBody=171,p.RULE_functionName=172,p.RULE_procedureName=173,p.RULE_listComprehension=174,p.RULE_patternComprehension=175,p.RULE_propertyLookup=176,p.RULE_caseExpression=177,p.RULE_caseAlternatives=178,p.RULE_variable=179,p.RULE_numberLiteral=180,p.RULE_mapLiteral=181,p.RULE_mapProjection=182,p.RULE_mapProjectionVariants=183,p.RULE_literalEntry=184,p.RULE_propertySelector=185,p.RULE_variableSelector=186,p.RULE_allPropertiesSelector=187,p.RULE_parameter=188,p.RULE_legacyParameter=189,p.RULE_newParameter=190,p.RULE_parameterName=191,p.RULE_propertyExpressions=192,p.RULE_propertyExpression=193,p.RULE_propertyKeys=194,p.RULE_propertyKeyName=195,p.RULE_integerLiteral=196,p.RULE_doubleLiteral=197,p.RULE_namespace=198,p.RULE_leftArrowHead=199,p.RULE_rightArrowHead=200,p.RULE_dash=201,p.RULE_symbolicName=202,p.RULE_keyword=203,d.prototype=Object.create(r.ParserRuleContext.prototype),d.prototype.constructor=d,d.prototype.cypherPart=function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(f):this.getTypedRuleContext(f,e)},d.prototype.EOF=function(){return this.getToken(p.EOF,0)},d.prototype.enterRule=function(e){e instanceof i&&e.enterCypher(this)},d.prototype.exitRule=function(e){e instanceof i&&e.exitCypher(this)},p.CypherContext=d,p.prototype.cypher=function(){var e=new d(this,this._ctx,this.state);this.enterRule(e,0,p.RULE_cypher);try{this.enterOuterAlt(e,1),this.state=408,this.cypherPart(),this.state=413,this._errHandler.sync(this);for(var t=this._interp.adaptivePredict(this._input,0,this._ctx);2!=t&&t!=r.atn.ATN.INVALID_ALT_NUMBER;)1===t&&(this.state=409,this.match(p.T__0),this.state=410,this.cypherPart()),this.state=415,this._errHandler.sync(this),t=this._interp.adaptivePredict(this._input,0,this._ctx);this.state=417,this._errHandler.sync(this),this._input.LA(1)===p.T__0&&(this.state=416,this.match(p.T__0)),this.state=419,this.match(p.EOF)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},f.prototype=Object.create(r.ParserRuleContext.prototype),f.prototype.constructor=f,f.prototype.cypherQuery=function(){return this.getTypedRuleContext($,0)},f.prototype.cypherConsoleCommand=function(){return this.getTypedRuleContext(m,0)},f.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},f.prototype.enterRule=function(e){e instanceof i&&e.enterCypherPart(this)},f.prototype.exitRule=function(e){e instanceof i&&e.exitCypherPart(this)},p.CypherPartContext=f,p.prototype.cypherPart=function(){var e=new f(this,this._ctx,this.state);this.enterRule(e,2,p.RULE_cypherPart);try{switch(this.enterOuterAlt(e,1),this.state=422,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=421,this.match(p.SP)),this.state=426,this._errHandler.sync(this),this._input.LA(1)){case p.CYPHER:case p.EXPLAIN:case p.PROFILE:case p.USING:case p.CREATE:case p.DROP:case p.LOAD:case p.WITH:case p.OPTIONAL:case p.MATCH:case p.UNWIND:case p.MERGE:case p.SET:case p.DETACH:case p.DELETE:case p.REMOVE:case p.FOREACH:case p.RETURN:case p.START:case p.CALL:this.state=424,this.cypherQuery();break;case p.T__1:this.state=425,this.cypherConsoleCommand();break;default:throw new r.error.NoViableAltException(this)}this.state=429,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=428,this.match(p.SP))}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},m.prototype=Object.create(r.ParserRuleContext.prototype),m.prototype.constructor=m,m.prototype.cypherConsoleCommandName=function(){return this.getTypedRuleContext(g,0)},m.prototype.SP=function(){return this.getToken(p.SP,0)},m.prototype.cypherConsoleCommandParameters=function(){return this.getTypedRuleContext(y,0)},m.prototype.enterRule=function(e){e instanceof i&&e.enterCypherConsoleCommand(this)},m.prototype.exitRule=function(e){e instanceof i&&e.exitCypherConsoleCommand(this)},p.CypherConsoleCommandContext=m,p.prototype.cypherConsoleCommand=function(){var e=new m(this,this._ctx,this.state);this.enterRule(e,4,p.RULE_cypherConsoleCommand);try{this.enterOuterAlt(e,1),this.state=431,this.cypherConsoleCommandName(),this.state=434,this._errHandler.sync(this),1===this._interp.adaptivePredict(this._input,5,this._ctx)&&(this.state=432,this.match(p.SP),this.state=433,this.cypherConsoleCommandParameters())}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},g.prototype=Object.create(r.ParserRuleContext.prototype),g.prototype.constructor=g,g.prototype.symbolicName=function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(er):this.getTypedRuleContext(er,e)},g.prototype.enterRule=function(e){e instanceof i&&e.enterCypherConsoleCommandName(this)},g.prototype.exitRule=function(e){e instanceof i&&e.exitCypherConsoleCommandName(this)},p.CypherConsoleCommandNameContext=g,p.prototype.cypherConsoleCommandName=function(){var e=new g(this,this._ctx,this.state);this.enterRule(e,6,p.RULE_cypherConsoleCommandName);var t=0;try{for(this.enterOuterAlt(e,1),this.state=436,this.match(p.T__1),this.state=437,this.symbolicName(),this.state=442,this._errHandler.sync(this),t=this._input.LA(1);t===p.T__2;)this.state=438,this.match(p.T__2),this.state=439,this.symbolicName(),this.state=444,this._errHandler.sync(this),t=this._input.LA(1)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},y.prototype=Object.create(r.ParserRuleContext.prototype),y.prototype.constructor=y,y.prototype.cypherConsoleCommandParameter=function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(v):this.getTypedRuleContext(v,e)},y.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},y.prototype.enterRule=function(e){e instanceof i&&e.enterCypherConsoleCommandParameters(this)},y.prototype.exitRule=function(e){e instanceof i&&e.exitCypherConsoleCommandParameters(this)},p.CypherConsoleCommandParametersContext=y,p.prototype.cypherConsoleCommandParameters=function(){var e=new y(this,this._ctx,this.state);this.enterRule(e,8,p.RULE_cypherConsoleCommandParameters);try{this.enterOuterAlt(e,1),this.state=445,this.cypherConsoleCommandParameter(),this.state=450,this._errHandler.sync(this);for(var t=this._interp.adaptivePredict(this._input,7,this._ctx);2!=t&&t!=r.atn.ATN.INVALID_ALT_NUMBER;)1===t&&(this.state=446,this.match(p.SP),this.state=447,this.cypherConsoleCommandParameter()),this.state=452,this._errHandler.sync(this),t=this._interp.adaptivePredict(this._input,7,this._ctx)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},v.prototype=Object.create(r.ParserRuleContext.prototype),v.prototype.constructor=v,v.prototype.url=function(){return this.getTypedRuleContext(b,0)},v.prototype.json=function(){return this.getTypedRuleContext(F,0)},v.prototype.arrowExpression=function(){return this.getTypedRuleContext(_,0)},v.prototype.mapLiteral=function(){return this.getTypedRuleContext(kn,0)},v.prototype.keyValueLiteral=function(){return this.getTypedRuleContext(G,0)},v.prototype.stringLiteral=function(){return this.getTypedRuleContext(fn,0)},v.prototype.numberLiteral=function(){return this.getTypedRuleContext(In,0)},v.prototype.booleanLiteral=function(){return this.getTypedRuleContext(mn,0)},v.prototype.subCommand=function(){return this.getTypedRuleContext(z,0)},v.prototype.commandPath=function(){return this.getTypedRuleContext(Y,0)},v.prototype.enterRule=function(e){e instanceof i&&e.enterCypherConsoleCommandParameter(this)},v.prototype.exitRule=function(e){e instanceof i&&e.exitCypherConsoleCommandParameter(this)},p.CypherConsoleCommandParameterContext=v,p.prototype.cypherConsoleCommandParameter=function(){var e=new v(this,this._ctx,this.state);this.enterRule(e,10,p.RULE_cypherConsoleCommandParameter);try{switch(this.state=463,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,8,this._ctx)){case 1:this.enterOuterAlt(e,1),this.state=453,this.url();break;case 2:this.enterOuterAlt(e,2),this.state=454,this.json();break;case 3:this.enterOuterAlt(e,3),this.state=455,this.arrowExpression();break;case 4:this.enterOuterAlt(e,4),this.state=456,this.mapLiteral();break;case 5:this.enterOuterAlt(e,5),this.state=457,this.keyValueLiteral();break;case 6:this.enterOuterAlt(e,6),this.state=458,this.stringLiteral();break;case 7:this.enterOuterAlt(e,7),this.state=459,this.numberLiteral();break;case 8:this.enterOuterAlt(e,8),this.state=460,this.booleanLiteral();break;case 9:this.enterOuterAlt(e,9),this.state=461,this.subCommand();break;case 10:this.enterOuterAlt(e,10),this.state=462,this.commandPath()}}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},_.prototype=Object.create(r.ParserRuleContext.prototype),_.prototype.constructor=_,_.prototype.symbolicName=function(){return this.getTypedRuleContext(er,0)},_.prototype.expression=function(){return this.getTypedRuleContext(Dt,0)},_.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},_.prototype.enterRule=function(e){e instanceof i&&e.enterArrowExpression(this)},_.prototype.exitRule=function(e){e instanceof i&&e.exitArrowExpression(this)},p.ArrowExpressionContext=_,p.prototype.arrowExpression=function(){var e=new _(this,this._ctx,this.state);this.enterRule(e,12,p.RULE_arrowExpression);try{this.enterOuterAlt(e,1),this.state=465,this.symbolicName(),this.state=467,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=466,this.match(p.SP)),this.state=469,this.match(p.T__3),this.state=471,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=470,this.match(p.SP)),this.state=473,this.expression()}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},b.prototype=Object.create(r.ParserRuleContext.prototype),b.prototype.constructor=b,b.prototype.uri=function(){return this.getTypedRuleContext(E,0)},b.prototype.enterRule=function(e){e instanceof i&&e.enterUrl(this)},b.prototype.exitRule=function(e){e instanceof i&&e.exitUrl(this)},p.UrlContext=b,p.prototype.url=function(){var e=new b(this,this._ctx,this.state);this.enterRule(e,14,p.RULE_url);try{this.enterOuterAlt(e,1),this.state=475,this.uri()}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},E.prototype=Object.create(r.ParserRuleContext.prototype),E.prototype.constructor=E,E.prototype.scheme=function(){return this.getTypedRuleContext(T,0)},E.prototype.host=function(){return this.getTypedRuleContext(x,0)},E.prototype.login=function(){return this.getTypedRuleContext(L,0)},E.prototype.port=function(){return this.getTypedRuleContext(A,0)},E.prototype.path=function(){return this.getTypedRuleContext(R,0)},E.prototype.urlQuery=function(){return this.getTypedRuleContext(I,0)},E.prototype.frag=function(){return this.getTypedRuleContext(N,0)},E.prototype.enterRule=function(e){e instanceof i&&e.enterUri(this)},E.prototype.exitRule=function(e){e instanceof i&&e.exitUri(this)},p.UriContext=E,p.prototype.uri=function(){var e=new E(this,this._ctx,this.state);this.enterRule(e,16,p.RULE_uri);try{this.enterOuterAlt(e,1),this.state=477,this.scheme(),this.state=478,this.match(p.T__4),this.state=480,this._errHandler.sync(this),1===this._interp.adaptivePredict(this._input,11,this._ctx)&&(this.state=479,this.login()),this.state=482,this.host(),this.state=485,this._errHandler.sync(this),this._input.LA(1)===p.T__1&&(this.state=483,this.match(p.T__1),this.state=484,this.port()),this.state=489,this._errHandler.sync(this),this._input.LA(1)===p.T__5&&(this.state=487,this.match(p.T__5),this.state=488,this.path()),this.state=492,this._errHandler.sync(this),this._input.LA(1)===p.T__9&&(this.state=491,this.urlQuery()),this.state=495,this._errHandler.sync(this),this._input.LA(1)===p.T__8&&(this.state=494,this.frag())}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},T.prototype=Object.create(r.ParserRuleContext.prototype),T.prototype.constructor=T,T.prototype.string=function(){return this.getTypedRuleContext(P,0)},T.prototype.enterRule=function(e){e instanceof i&&e.enterScheme(this)},T.prototype.exitRule=function(e){e instanceof i&&e.exitScheme(this)},p.SchemeContext=T,p.prototype.scheme=function(){var e=new T(this,this._ctx,this.state);this.enterRule(e,18,p.RULE_scheme);try{this.enterOuterAlt(e,1),this.state=497,this.string()}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},x.prototype=Object.create(r.ParserRuleContext.prototype),x.prototype.constructor=x,x.prototype.hostname=function(){return this.getTypedRuleContext(S,0)},x.prototype.hostnumber=function(){return this.getTypedRuleContext(C,0)},x.prototype.enterRule=function(e){e instanceof i&&e.enterHost(this)},x.prototype.exitRule=function(e){e instanceof i&&e.exitHost(this)},p.HostContext=x,p.prototype.host=function(){var e=new x(this,this._ctx,this.state);this.enterRule(e,20,p.RULE_host);try{switch(this.enterOuterAlt(e,1),this.state=500,this._errHandler.sync(this),this._input.LA(1)===p.T__5&&(this.state=499,this.match(p.T__5)),this.state=504,this._errHandler.sync(this),this._input.LA(1)){case p.CYPHER:case p.EXPLAIN:case p.PROFILE:case p.USING:case p.PERIODIC:case p.COMMIT:case p.UNION:case p.ALL:case p.CREATE:case p.DROP:case p.INDEX:case p.ON:case p.CONSTRAINT:case p.ASSERT:case p.IS:case p.UNIQUE:case p.EXISTS:case p.LOAD:case p.CSV:case p.WITH:case p.HEADERS:case p.FROM:case p.AS:case p.FIELDTERMINATOR:case p.OPTIONAL:case p.MATCH:case p.UNWIND:case p.MERGE:case p.SET:case p.DETACH:case p.DELETE:case p.REMOVE:case p.FOREACH:case p.IN:case p.DISTINCT:case p.RETURN:case p.ORDER:case p.BY:case p.L_SKIP:case p.LIMIT:case p.ASCENDING:case p.ASC:case p.DESCENDING:case p.DESC:case p.JOIN:case p.SCAN:case p.START:case p.NODE:case p.RELATIONSHIP:case p.REL:case p.WHERE:case p.SHORTESTPATH:case p.ALLSHORTESTPATHS:case p.OR:case p.XOR:case p.AND:case p.NOT:case p.STARTS:case p.ENDS:case p.CONTAINS:case p.NULL:case p.COUNT:case p.FILTER:case p.EXTRACT:case p.ANY:case p.NONE:case p.SINGLE:case p.TRUE:case p.FALSE:case p.REDUCE:case p.CASE:case p.ELSE:case p.END:case p.WHEN:case p.THEN:case p.CALL:case p.YIELD:case p.KEY:case p.BTREE:case p.EXIST:case p.FOR:case p.OPTIONS:case p.EXECUTE:case p.DEFINED:case p.FUNCTION:case p.FUNCTIONS:case p.BOOSTED:case p.PROCEDURE:case p.PROCEDURES:case p.ADMIN:case p.ADMINISTRATOR:case p.BRIEF:case p.VERBOSE:case p.OUTPUT:case p.HexLetter:case p.UnescapedSymbolicName:case p.EscapedSymbolicName:this.state=502,this.hostname();break;case p.HexInteger:case p.DecimalInteger:case p.OctalInteger:this.state=503,this.hostnumber();break;default:throw new r.error.NoViableAltException(this)}}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},S.prototype=Object.create(r.ParserRuleContext.prototype),S.prototype.constructor=S,S.prototype.string=function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(P):this.getTypedRuleContext(P,e)},S.prototype.enterRule=function(e){e instanceof i&&e.enterHostname(this)},S.prototype.exitRule=function(e){e instanceof i&&e.exitHostname(this)},p.HostnameContext=S,p.prototype.hostname=function(){var e=new S(this,this._ctx,this.state);this.enterRule(e,22,p.RULE_hostname);var t=0;try{for(this.enterOuterAlt(e,1),this.state=506,this.string(),this.state=511,this._errHandler.sync(this),t=this._input.LA(1);t===p.T__6;)this.state=507,this.match(p.T__6),this.state=508,this.string(),this.state=513,this._errHandler.sync(this),t=this._input.LA(1)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},C.prototype=Object.create(r.ParserRuleContext.prototype),C.prototype.constructor=C,C.prototype.urlDigits=function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(M):this.getTypedRuleContext(M,e)},C.prototype.enterRule=function(e){e instanceof i&&e.enterHostnumber(this)},C.prototype.exitRule=function(e){e instanceof i&&e.exitHostnumber(this)},p.HostnumberContext=C,p.prototype.hostnumber=function(){var e=new C(this,this._ctx,this.state);this.enterRule(e,24,p.RULE_hostnumber);try{this.enterOuterAlt(e,1),this.state=514,this.urlDigits(),this.state=515,this.match(p.T__6),this.state=516,this.urlDigits(),this.state=517,this.match(p.T__6),this.state=518,this.urlDigits(),this.state=519,this.match(p.T__6),this.state=520,this.urlDigits()}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},A.prototype=Object.create(r.ParserRuleContext.prototype),A.prototype.constructor=A,A.prototype.urlDigits=function(){return this.getTypedRuleContext(M,0)},A.prototype.enterRule=function(e){e instanceof i&&e.enterPort(this)},A.prototype.exitRule=function(e){e instanceof i&&e.exitPort(this)},p.PortContext=A,p.prototype.port=function(){var e=new A(this,this._ctx,this.state);this.enterRule(e,26,p.RULE_port);try{this.enterOuterAlt(e,1),this.state=522,this.urlDigits()}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},R.prototype=Object.create(r.ParserRuleContext.prototype),R.prototype.constructor=R,R.prototype.string=function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(P):this.getTypedRuleContext(P,e)},R.prototype.enterRule=function(e){e instanceof i&&e.enterPath(this)},R.prototype.exitRule=function(e){e instanceof i&&e.exitPath(this)},p.PathContext=R,p.prototype.path=function(){var e=new R(this,this._ctx,this.state);this.enterRule(e,28,p.RULE_path);var t=0;try{for(this.enterOuterAlt(e,1),this.state=524,this.string(),this.state=529,this._errHandler.sync(this),t=this._input.LA(1);t===p.T__5;)this.state=525,this.match(p.T__5),this.state=526,this.string(),this.state=531,this._errHandler.sync(this),t=this._input.LA(1)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},w.prototype=Object.create(r.ParserRuleContext.prototype),w.prototype.constructor=w,w.prototype.string=function(){return this.getTypedRuleContext(P,0)},w.prototype.enterRule=function(e){e instanceof i&&e.enterUser(this)},w.prototype.exitRule=function(e){e instanceof i&&e.exitUser(this)},p.UserContext=w,p.prototype.user=function(){var e=new w(this,this._ctx,this.state);this.enterRule(e,30,p.RULE_user);try{this.enterOuterAlt(e,1),this.state=532,this.string()}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},L.prototype=Object.create(r.ParserRuleContext.prototype),L.prototype.constructor=L,L.prototype.user=function(){return this.getTypedRuleContext(w,0)},L.prototype.password=function(){return this.getTypedRuleContext(O,0)},L.prototype.enterRule=function(e){e instanceof i&&e.enterLogin(this)},L.prototype.exitRule=function(e){e instanceof i&&e.exitLogin(this)},p.LoginContext=L,p.prototype.login=function(){var e=new L(this,this._ctx,this.state);this.enterRule(e,32,p.RULE_login);try{this.enterOuterAlt(e,1),this.state=534,this.user(),this.state=535,this.match(p.T__1),this.state=536,this.password(),this.state=537,this.match(p.T__7)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},O.prototype=Object.create(r.ParserRuleContext.prototype),O.prototype.constructor=O,O.prototype.string=function(){return this.getTypedRuleContext(P,0)},O.prototype.enterRule=function(e){e instanceof i&&e.enterPassword(this)},O.prototype.exitRule=function(e){e instanceof i&&e.exitPassword(this)},p.PasswordContext=O,p.prototype.password=function(){var e=new O(this,this._ctx,this.state);this.enterRule(e,34,p.RULE_password);try{this.enterOuterAlt(e,1),this.state=539,this.string()}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},N.prototype=Object.create(r.ParserRuleContext.prototype),N.prototype.constructor=N,N.prototype.string=function(){return this.getTypedRuleContext(P,0)},N.prototype.enterRule=function(e){e instanceof i&&e.enterFrag(this)},N.prototype.exitRule=function(e){e instanceof i&&e.exitFrag(this)},p.FragContext=N,p.prototype.frag=function(){var e=new N(this,this._ctx,this.state);this.enterRule(e,36,p.RULE_frag);try{this.enterOuterAlt(e,1),this.state=541,this.match(p.T__8),this.state=542,this.string()}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},I.prototype=Object.create(r.ParserRuleContext.prototype),I.prototype.constructor=I,I.prototype.search=function(){return this.getTypedRuleContext(k,0)},I.prototype.enterRule=function(e){e instanceof i&&e.enterUrlQuery(this)},I.prototype.exitRule=function(e){e instanceof i&&e.exitUrlQuery(this)},p.UrlQueryContext=I,p.prototype.urlQuery=function(){var e=new I(this,this._ctx,this.state);this.enterRule(e,38,p.RULE_urlQuery);try{this.enterOuterAlt(e,1),this.state=544,this.match(p.T__9),this.state=545,this.search()}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},k.prototype=Object.create(r.ParserRuleContext.prototype),k.prototype.constructor=k,k.prototype.searchparameter=function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(D):this.getTypedRuleContext(D,e)},k.prototype.enterRule=function(e){e instanceof i&&e.enterSearch(this)},k.prototype.exitRule=function(e){e instanceof i&&e.exitSearch(this)},p.SearchContext=k,p.prototype.search=function(){var e=new k(this,this._ctx,this.state);this.enterRule(e,40,p.RULE_search);var t=0;try{for(this.enterOuterAlt(e,1),this.state=547,this.searchparameter(),this.state=552,this._errHandler.sync(this),t=this._input.LA(1);t===p.T__10;)this.state=548,this.match(p.T__10),this.state=549,this.searchparameter(),this.state=554,this._errHandler.sync(this),t=this._input.LA(1)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},D.prototype=Object.create(r.ParserRuleContext.prototype),D.prototype.constructor=D,D.prototype.string=function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(P):this.getTypedRuleContext(P,e)},D.prototype.urlDigits=function(){return this.getTypedRuleContext(M,0)},D.prototype.UrlHex=function(){return this.getToken(p.UrlHex,0)},D.prototype.enterRule=function(e){e instanceof i&&e.enterSearchparameter(this)},D.prototype.exitRule=function(e){e instanceof i&&e.exitSearchparameter(this)},p.SearchparameterContext=D,p.prototype.searchparameter=function(){var e=new D(this,this._ctx,this.state);this.enterRule(e,42,p.RULE_searchparameter);try{if(this.enterOuterAlt(e,1),this.state=555,this.string(),this.state=562,this._errHandler.sync(this),this._input.LA(1)===p.T__11)switch(this.state=556,this.match(p.T__11),this.state=560,this._errHandler.sync(this),this._input.LA(1)){case p.CYPHER:case p.EXPLAIN:case p.PROFILE:case p.USING:case p.PERIODIC:case p.COMMIT:case p.UNION:case p.ALL:case p.CREATE:case p.DROP:case p.INDEX:case p.ON:case p.CONSTRAINT:case p.ASSERT:case p.IS:case p.UNIQUE:case p.EXISTS:case p.LOAD:case p.CSV:case p.WITH:case p.HEADERS:case p.FROM:case p.AS:case p.FIELDTERMINATOR:case p.OPTIONAL:case p.MATCH:case p.UNWIND:case p.MERGE:case p.SET:case p.DETACH:case p.DELETE:case p.REMOVE:case p.FOREACH:case p.IN:case p.DISTINCT:case p.RETURN:case p.ORDER:case p.BY:case p.L_SKIP:case p.LIMIT:case p.ASCENDING:case p.ASC:case p.DESCENDING:case p.DESC:case p.JOIN:case p.SCAN:case p.START:case p.NODE:case p.RELATIONSHIP:case p.REL:case p.WHERE:case p.SHORTESTPATH:case p.ALLSHORTESTPATHS:case p.OR:case p.XOR:case p.AND:case p.NOT:case p.STARTS:case p.ENDS:case p.CONTAINS:case p.NULL:case p.COUNT:case p.FILTER:case p.EXTRACT:case p.ANY:case p.NONE:case p.SINGLE:case p.TRUE:case p.FALSE:case p.REDUCE:case p.CASE:case p.ELSE:case p.END:case p.WHEN:case p.THEN:case p.CALL:case p.YIELD:case p.KEY:case p.BTREE:case p.EXIST:case p.FOR:case p.OPTIONS:case p.EXECUTE:case p.DEFINED:case p.FUNCTION:case p.FUNCTIONS:case p.BOOSTED:case p.PROCEDURE:case p.PROCEDURES:case p.ADMIN:case p.ADMINISTRATOR:case p.BRIEF:case p.VERBOSE:case p.OUTPUT:case p.HexLetter:case p.UnescapedSymbolicName:case p.EscapedSymbolicName:this.state=557,this.string();break;case p.HexInteger:case p.DecimalInteger:case p.OctalInteger:this.state=558,this.urlDigits();break;case p.UrlHex:this.state=559,this.match(p.UrlHex);break;default:throw new r.error.NoViableAltException(this)}}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},P.prototype=Object.create(r.ParserRuleContext.prototype),P.prototype.constructor=P,P.prototype.symbolicName=function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(er):this.getTypedRuleContext(er,e)},P.prototype.enterRule=function(e){e instanceof i&&e.enterString(this)},P.prototype.exitRule=function(e){e instanceof i&&e.exitString(this)},p.StringContext=P,p.prototype.string=function(){var e=new P(this,this._ctx,this.state);this.enterRule(e,44,p.RULE_string);var t=0;try{this.enterOuterAlt(e,1),this.state=564,this.symbolicName(),this.state=571,this._errHandler.sync(this);for(var n=this._interp.adaptivePredict(this._input,24,this._ctx);1!=n&&n!=r.atn.ATN.INVALID_ALT_NUMBER;)2===n&&(this.state=566,this._errHandler.sync(this),(t=this._input.LA(1))!==p.T__6&&t!==p.T__12||(this.state=565,(t=this._input.LA(1))!==p.T__6&&t!==p.T__12?this._errHandler.recoverInline(this):(this._errHandler.reportMatch(this),this.consume())),this.state=568,this.symbolicName()),this.state=573,this._errHandler.sync(this),n=this._interp.adaptivePredict(this._input,24,this._ctx)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},M.prototype=Object.create(r.ParserRuleContext.prototype),M.prototype.constructor=M,M.prototype.integerLiteral=function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(Kn):this.getTypedRuleContext(Kn,e)},M.prototype.enterRule=function(e){e instanceof i&&e.enterUrlDigits(this)},M.prototype.exitRule=function(e){e instanceof i&&e.exitUrlDigits(this)},p.UrlDigitsContext=M,p.prototype.urlDigits=function(){var e=new M(this,this._ctx,this.state);this.enterRule(e,46,p.RULE_urlDigits);var t=0;try{this.enterOuterAlt(e,1),this.state=575,this._errHandler.sync(this),t=this._input.LA(1);do{this.state=574,this.integerLiteral(),this.state=577,this._errHandler.sync(this),t=this._input.LA(1)}while(0==(t-151&-32)&&0!=(1<<t-151&(1<<p.HexInteger-151|1<<p.DecimalInteger-151|1<<p.OctalInteger-151)))}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},F.prototype=Object.create(r.ParserRuleContext.prototype),F.prototype.constructor=F,F.prototype.value=function(){return this.getTypedRuleContext(j,0)},F.prototype.enterRule=function(e){e instanceof i&&e.enterJson(this)},F.prototype.exitRule=function(e){e instanceof i&&e.exitJson(this)},p.JsonContext=F,p.prototype.json=function(){var e=new F(this,this._ctx,this.state);this.enterRule(e,48,p.RULE_json);try{this.enterOuterAlt(e,1),this.state=579,this.value()}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},H.prototype=Object.create(r.ParserRuleContext.prototype),H.prototype.constructor=H,H.prototype.pair=function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(B):this.getTypedRuleContext(B,e)},H.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},H.prototype.enterRule=function(e){e instanceof i&&e.enterObj(this)},H.prototype.exitRule=function(e){e instanceof i&&e.exitObj(this)},p.ObjContext=H,p.prototype.obj=function(){var e=new H(this,this._ctx,this.state);this.enterRule(e,50,p.RULE_obj);var t=0;try{switch(this.state=609,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,32,this._ctx)){case 1:for(this.enterOuterAlt(e,1),this.state=581,this.match(p.T__13),this.state=583,this._errHandler.sync(this),(t=this._input.LA(1))===p.SP&&(this.state=582,this.match(p.SP)),this.state=585,this.pair(),this.state=587,this._errHandler.sync(this),(t=this._input.LA(1))===p.SP&&(this.state=586,this.match(p.SP)),this.state=599,this._errHandler.sync(this),t=this._input.LA(1);t===p.T__14;)this.state=589,this.match(p.T__14),this.state=591,this._errHandler.sync(this),(t=this._input.LA(1))===p.SP&&(this.state=590,this.match(p.SP)),this.state=593,this.pair(),this.state=595,this._errHandler.sync(this),(t=this._input.LA(1))===p.SP&&(this.state=594,this.match(p.SP)),this.state=601,this._errHandler.sync(this),t=this._input.LA(1);this.state=602,this.match(p.T__15);break;case 2:this.enterOuterAlt(e,2),this.state=604,this.match(p.T__13),this.state=606,this._errHandler.sync(this),(t=this._input.LA(1))===p.SP&&(this.state=605,this.match(p.SP)),this.state=608,this.match(p.T__15)}}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},B.prototype=Object.create(r.ParserRuleContext.prototype),B.prototype.constructor=B,B.prototype.stringLiteral=function(){return this.getTypedRuleContext(fn,0)},B.prototype.value=function(){return this.getTypedRuleContext(j,0)},B.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},B.prototype.enterRule=function(e){e instanceof i&&e.enterPair(this)},B.prototype.exitRule=function(e){e instanceof i&&e.exitPair(this)},p.PairContext=B,p.prototype.pair=function(){var e=new B(this,this._ctx,this.state);this.enterRule(e,52,p.RULE_pair);try{this.enterOuterAlt(e,1),this.state=611,this.stringLiteral(),this.state=613,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=612,this.match(p.SP)),this.state=615,this.match(p.T__1),this.state=617,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=616,this.match(p.SP)),this.state=619,this.value()}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},U.prototype=Object.create(r.ParserRuleContext.prototype),U.prototype.constructor=U,U.prototype.value=function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(j):this.getTypedRuleContext(j,e)},U.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},U.prototype.enterRule=function(e){e instanceof i&&e.enterArray(this)},U.prototype.exitRule=function(e){e instanceof i&&e.exitArray(this)},p.ArrayContext=U,p.prototype.array=function(){var e=new U(this,this._ctx,this.state);this.enterRule(e,54,p.RULE_array);var t=0;try{switch(this.state=649,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,41,this._ctx)){case 1:for(this.enterOuterAlt(e,1),this.state=621,this.match(p.T__16),this.state=623,this._errHandler.sync(this),(t=this._input.LA(1))===p.SP&&(this.state=622,this.match(p.SP)),this.state=625,this.value(),this.state=627,this._errHandler.sync(this),(t=this._input.LA(1))===p.SP&&(this.state=626,this.match(p.SP)),this.state=639,this._errHandler.sync(this),t=this._input.LA(1);t===p.T__14;)this.state=629,this.match(p.T__14),this.state=631,this._errHandler.sync(this),(t=this._input.LA(1))===p.SP&&(this.state=630,this.match(p.SP)),this.state=633,this.value(),this.state=635,this._errHandler.sync(this),(t=this._input.LA(1))===p.SP&&(this.state=634,this.match(p.SP)),this.state=641,this._errHandler.sync(this),t=this._input.LA(1);this.state=642,this.match(p.T__17);break;case 2:this.enterOuterAlt(e,2),this.state=644,this.match(p.T__16),this.state=646,this._errHandler.sync(this),(t=this._input.LA(1))===p.SP&&(this.state=645,this.match(p.SP)),this.state=648,this.match(p.T__17)}}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},j.prototype=Object.create(r.ParserRuleContext.prototype),j.prototype.constructor=j,j.prototype.stringLiteral=function(){return this.getTypedRuleContext(fn,0)},j.prototype.numberLiteral=function(){return this.getTypedRuleContext(In,0)},j.prototype.obj=function(){return this.getTypedRuleContext(H,0)},j.prototype.array=function(){return this.getTypedRuleContext(U,0)},j.prototype.booleanLiteral=function(){return this.getTypedRuleContext(mn,0)},j.prototype.NULL=function(){return this.getToken(p.NULL,0)},j.prototype.enterRule=function(e){e instanceof i&&e.enterValue(this)},j.prototype.exitRule=function(e){e instanceof i&&e.exitValue(this)},p.ValueContext=j,p.prototype.value=function(){var e=new j(this,this._ctx,this.state);this.enterRule(e,56,p.RULE_value);try{switch(this.state=657,this._errHandler.sync(this),this._input.LA(1)){case p.StringLiteral:this.enterOuterAlt(e,1),this.state=651,this.stringLiteral();break;case p.HexInteger:case p.DecimalInteger:case p.OctalInteger:case p.ExponentDecimalReal:case p.RegularDecimalReal:this.enterOuterAlt(e,2),this.state=652,this.numberLiteral();break;case p.T__13:this.enterOuterAlt(e,3),this.state=653,this.obj();break;case p.T__16:this.enterOuterAlt(e,4),this.state=654,this.array();break;case p.TRUE:case p.FALSE:this.enterOuterAlt(e,5),this.state=655,this.booleanLiteral();break;case p.NULL:this.enterOuterAlt(e,6),this.state=656,this.match(p.NULL);break;default:throw new r.error.NoViableAltException(this)}}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},G.prototype=Object.create(r.ParserRuleContext.prototype),G.prototype.constructor=G,G.prototype.variable=function(){return this.getTypedRuleContext(Nn,0)},G.prototype.SP=function(){return this.getToken(p.SP,0)},G.prototype.StringLiteral=function(){return this.getToken(p.StringLiteral,0)},G.prototype.numberLiteral=function(){return this.getTypedRuleContext(In,0)},G.prototype.booleanLiteral=function(){return this.getTypedRuleContext(mn,0)},G.prototype.symbolicName=function(){return this.getTypedRuleContext(er,0)},G.prototype.enterRule=function(e){e instanceof i&&e.enterKeyValueLiteral(this)},G.prototype.exitRule=function(e){e instanceof i&&e.exitKeyValueLiteral(this)},p.KeyValueLiteralContext=G,p.prototype.keyValueLiteral=function(){var e=new G(this,this._ctx,this.state);this.enterRule(e,58,p.RULE_keyValueLiteral);try{switch(this.enterOuterAlt(e,1),this.state=659,this.variable(),this.state=660,this.match(p.T__1),this.state=661,this.match(p.SP),this.state=666,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,43,this._ctx)){case 1:this.state=662,this.match(p.StringLiteral);break;case 2:this.state=663,this.numberLiteral();break;case 3:this.state=664,this.booleanLiteral();break;case 4:this.state=665,this.symbolicName()}}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},Y.prototype=Object.create(r.ParserRuleContext.prototype),Y.prototype.constructor=Y,Y.prototype.symbolicName=function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(er):this.getTypedRuleContext(er,e)},Y.prototype.numberLiteral=function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(In):this.getTypedRuleContext(In,e)},Y.prototype.enterRule=function(e){e instanceof i&&e.enterCommandPath(this)},Y.prototype.exitRule=function(e){e instanceof i&&e.exitCommandPath(this)},p.CommandPathContext=Y,p.prototype.commandPath=function(){var e=new Y(this,this._ctx,this.state);this.enterRule(e,60,p.RULE_commandPath);try{this.enterOuterAlt(e,1),this.state=673,this._errHandler.sync(this);var t=1;do{if(1!==t)throw new r.error.NoViableAltException(this);switch(this.state=668,this.match(p.T__5),this.state=671,this._errHandler.sync(this),this._input.LA(1)){case p.CYPHER:case p.EXPLAIN:case p.PROFILE:case p.USING:case p.PERIODIC:case p.COMMIT:case p.UNION:case p.ALL:case p.CREATE:case p.DROP:case p.INDEX:case p.ON:case p.CONSTRAINT:case p.ASSERT:case p.IS:case p.UNIQUE:case p.EXISTS:case p.LOAD:case p.CSV:case p.WITH:case p.HEADERS:case p.FROM:case p.AS:case p.FIELDTERMINATOR:case p.OPTIONAL:case p.MATCH:case p.UNWIND:case p.MERGE:case p.SET:case p.DETACH:case p.DELETE:case p.REMOVE:case p.FOREACH:case p.IN:case p.DISTINCT:case p.RETURN:case p.ORDER:case p.BY:case p.L_SKIP:case p.LIMIT:case p.ASCENDING:case p.ASC:case p.DESCENDING:case p.DESC:case p.JOIN:case p.SCAN:case p.START:case p.NODE:case p.RELATIONSHIP:case p.REL:case p.WHERE:case p.SHORTESTPATH:case p.ALLSHORTESTPATHS:case p.OR:case p.XOR:case p.AND:case p.NOT:case p.STARTS:case p.ENDS:case p.CONTAINS:case p.NULL:case p.COUNT:case p.FILTER:case p.EXTRACT:case p.ANY:case p.NONE:case p.SINGLE:case p.TRUE:case p.FALSE:case p.REDUCE:case p.CASE:case p.ELSE:case p.END:case p.WHEN:case p.THEN:case p.CALL:case p.YIELD:case p.KEY:case p.BTREE:case p.EXIST:case p.FOR:case p.OPTIONS:case p.EXECUTE:case p.DEFINED:case p.FUNCTION:case p.FUNCTIONS:case p.BOOSTED:case p.PROCEDURE:case p.PROCEDURES:case p.ADMIN:case p.ADMINISTRATOR:case p.BRIEF:case p.VERBOSE:case p.OUTPUT:case p.HexLetter:case p.UnescapedSymbolicName:case p.EscapedSymbolicName:this.state=669,this.symbolicName();break;case p.HexInteger:case p.DecimalInteger:case p.OctalInteger:case p.ExponentDecimalReal:case p.RegularDecimalReal:this.state=670,this.numberLiteral();break;default:throw new r.error.NoViableAltException(this)}this.state=675,this._errHandler.sync(this),t=this._interp.adaptivePredict(this._input,45,this._ctx)}while(2!=t&&t!=r.atn.ATN.INVALID_ALT_NUMBER);this.state=678,this._errHandler.sync(this),this._input.LA(1)===p.T__5&&(this.state=677,this.match(p.T__5))}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},z.prototype=Object.create(r.ParserRuleContext.prototype),z.prototype.constructor=z,z.prototype.symbolicName=function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(er):this.getTypedRuleContext(er,e)},z.prototype.enterRule=function(e){e instanceof i&&e.enterSubCommand(this)},z.prototype.exitRule=function(e){e instanceof i&&e.exitSubCommand(this)},p.SubCommandContext=z,p.prototype.subCommand=function(){var e=new z(this,this._ctx,this.state);this.enterRule(e,62,p.RULE_subCommand);var t=0;try{for(this.enterOuterAlt(e,1),this.state=680,this.symbolicName(),this.state=685,this._errHandler.sync(this),t=this._input.LA(1);t===p.T__2;)this.state=681,this.match(p.T__2),this.state=682,this.symbolicName(),this.state=687,this._errHandler.sync(this),t=this._input.LA(1)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},$.prototype=Object.create(r.ParserRuleContext.prototype),$.prototype.constructor=$,$.prototype.queryOptions=function(){return this.getTypedRuleContext(W,0)},$.prototype.statement=function(){return this.getTypedRuleContext(J,0)},$.prototype.enterRule=function(e){e instanceof i&&e.enterCypherQuery(this)},$.prototype.exitRule=function(e){e instanceof i&&e.exitCypherQuery(this)},p.CypherQueryContext=$,p.prototype.cypherQuery=function(){var e=new $(this,this._ctx,this.state);this.enterRule(e,64,p.RULE_cypherQuery);try{this.enterOuterAlt(e,1),this.state=688,this.queryOptions(),this.state=689,this.statement()}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},W.prototype=Object.create(r.ParserRuleContext.prototype),W.prototype.constructor=W,W.prototype.anyCypherOption=function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(V):this.getTypedRuleContext(V,e)},W.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},W.prototype.enterRule=function(e){e instanceof i&&e.enterQueryOptions(this)},W.prototype.exitRule=function(e){e instanceof i&&e.exitQueryOptions(this)},p.QueryOptionsContext=W,p.prototype.queryOptions=function(){var e=new W(this,this._ctx,this.state);this.enterRule(e,66,p.RULE_queryOptions);var t=0;try{for(this.enterOuterAlt(e,1),this.state=697,this._errHandler.sync(this),t=this._input.LA(1);0==(t-54&-32)&&0!=(1<<t-54&(1<<p.CYPHER-54|1<<p.EXPLAIN-54|1<<p.PROFILE-54));)this.state=691,this.anyCypherOption(),this.state=693,this._errHandler.sync(this),(t=this._input.LA(1))===p.SP&&(this.state=692,this.match(p.SP)),this.state=699,this._errHandler.sync(this),t=this._input.LA(1)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},V.prototype=Object.create(r.ParserRuleContext.prototype),V.prototype.constructor=V,V.prototype.cypherOption=function(){return this.getTypedRuleContext(K,0)},V.prototype.explain=function(){return this.getTypedRuleContext(X,0)},V.prototype.profile=function(){return this.getTypedRuleContext(Z,0)},V.prototype.enterRule=function(e){e instanceof i&&e.enterAnyCypherOption(this)},V.prototype.exitRule=function(e){e instanceof i&&e.exitAnyCypherOption(this)},p.AnyCypherOptionContext=V,p.prototype.anyCypherOption=function(){var e=new V(this,this._ctx,this.state);this.enterRule(e,68,p.RULE_anyCypherOption);try{switch(this.state=703,this._errHandler.sync(this),this._input.LA(1)){case p.CYPHER:this.enterOuterAlt(e,1),this.state=700,this.cypherOption();break;case p.EXPLAIN:this.enterOuterAlt(e,2),this.state=701,this.explain();break;case p.PROFILE:this.enterOuterAlt(e,3),this.state=702,this.profile();break;default:throw new r.error.NoViableAltException(this)}}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},K.prototype=Object.create(r.ParserRuleContext.prototype),K.prototype.constructor=K,K.prototype.CYPHER=function(){return this.getToken(p.CYPHER,0)},K.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},K.prototype.versionNumber=function(){return this.getTypedRuleContext(q,0)},K.prototype.configurationOption=function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(Q):this.getTypedRuleContext(Q,e)},K.prototype.enterRule=function(e){e instanceof i&&e.enterCypherOption(this)},K.prototype.exitRule=function(e){e instanceof i&&e.exitCypherOption(this)},p.CypherOptionContext=K,p.prototype.cypherOption=function(){var e=new K(this,this._ctx,this.state);this.enterRule(e,70,p.RULE_cypherOption);try{this.enterOuterAlt(e,1),this.state=705,this.match(p.CYPHER),this.state=708,this._errHandler.sync(this),1===this._interp.adaptivePredict(this._input,51,this._ctx)&&(this.state=706,this.match(p.SP),this.state=707,this.versionNumber()),this.state=714,this._errHandler.sync(this);for(var t=this._interp.adaptivePredict(this._input,52,this._ctx);2!=t&&t!=r.atn.ATN.INVALID_ALT_NUMBER;)1===t&&(this.state=710,this.match(p.SP),this.state=711,this.configurationOption()),this.state=716,this._errHandler.sync(this),t=this._interp.adaptivePredict(this._input,52,this._ctx)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},q.prototype=Object.create(r.ParserRuleContext.prototype),q.prototype.constructor=q,q.prototype.RegularDecimalReal=function(){return this.getToken(p.RegularDecimalReal,0)},q.prototype.enterRule=function(e){e instanceof i&&e.enterVersionNumber(this)},q.prototype.exitRule=function(e){e instanceof i&&e.exitVersionNumber(this)},p.VersionNumberContext=q,p.prototype.versionNumber=function(){var e=new q(this,this._ctx,this.state);this.enterRule(e,72,p.RULE_versionNumber);try{this.enterOuterAlt(e,1),this.state=717,this.match(p.RegularDecimalReal)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},X.prototype=Object.create(r.ParserRuleContext.prototype),X.prototype.constructor=X,X.prototype.EXPLAIN=function(){return this.getToken(p.EXPLAIN,0)},X.prototype.enterRule=function(e){e instanceof i&&e.enterExplain(this)},X.prototype.exitRule=function(e){e instanceof i&&e.exitExplain(this)},p.ExplainContext=X,p.prototype.explain=function(){var e=new X(this,this._ctx,this.state);this.enterRule(e,74,p.RULE_explain);try{this.enterOuterAlt(e,1),this.state=719,this.match(p.EXPLAIN)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},Z.prototype=Object.create(r.ParserRuleContext.prototype),Z.prototype.constructor=Z,Z.prototype.PROFILE=function(){return this.getToken(p.PROFILE,0)},Z.prototype.enterRule=function(e){e instanceof i&&e.enterProfile(this)},Z.prototype.exitRule=function(e){e instanceof i&&e.exitProfile(this)},p.ProfileContext=Z,p.prototype.profile=function(){var e=new Z(this,this._ctx,this.state);this.enterRule(e,76,p.RULE_profile);try{this.enterOuterAlt(e,1),this.state=721,this.match(p.PROFILE)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},Q.prototype=Object.create(r.ParserRuleContext.prototype),Q.prototype.constructor=Q,Q.prototype.symbolicName=function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(er):this.getTypedRuleContext(er,e)},Q.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},Q.prototype.enterRule=function(e){e instanceof i&&e.enterConfigurationOption(this)},Q.prototype.exitRule=function(e){e instanceof i&&e.exitConfigurationOption(this)},p.ConfigurationOptionContext=Q,p.prototype.configurationOption=function(){var e=new Q(this,this._ctx,this.state);this.enterRule(e,78,p.RULE_configurationOption);try{this.enterOuterAlt(e,1),this.state=723,this.symbolicName(),this.state=725,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=724,this.match(p.SP)),this.state=727,this.match(p.T__11),this.state=729,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=728,this.match(p.SP)),this.state=731,this.symbolicName()}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},J.prototype=Object.create(r.ParserRuleContext.prototype),J.prototype.constructor=J,J.prototype.command=function(){return this.getTypedRuleContext(le,0)},J.prototype.query=function(){return this.getTypedRuleContext(ee,0)},J.prototype.enterRule=function(e){e instanceof i&&e.enterStatement(this)},J.prototype.exitRule=function(e){e instanceof i&&e.exitStatement(this)},p.StatementContext=J,p.prototype.statement=function(){var e=new J(this,this._ctx,this.state);this.enterRule(e,80,p.RULE_statement);try{switch(this.state=735,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,55,this._ctx)){case 1:this.enterOuterAlt(e,1),this.state=733,this.command();break;case 2:this.enterOuterAlt(e,2),this.state=734,this.query()}}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},ee.prototype=Object.create(r.ParserRuleContext.prototype),ee.prototype.constructor=ee,ee.prototype.regularQuery=function(){return this.getTypedRuleContext(te,0)},ee.prototype.bulkImportQuery=function(){return this.getTypedRuleContext(ne,0)},ee.prototype.enterRule=function(e){e instanceof i&&e.enterQuery(this)},ee.prototype.exitRule=function(e){e instanceof i&&e.exitQuery(this)},p.QueryContext=ee,p.prototype.query=function(){var e=new ee(this,this._ctx,this.state);this.enterRule(e,82,p.RULE_query);try{switch(this.state=739,this._errHandler.sync(this),this._input.LA(1)){case p.CREATE:case p.LOAD:case p.WITH:case p.OPTIONAL:case p.MATCH:case p.UNWIND:case p.MERGE:case p.SET:case p.DETACH:case p.DELETE:case p.REMOVE:case p.FOREACH:case p.RETURN:case p.START:case p.CALL:this.enterOuterAlt(e,1),this.state=737,this.regularQuery();break;case p.USING:this.enterOuterAlt(e,2),this.state=738,this.bulkImportQuery();break;default:throw new r.error.NoViableAltException(this)}}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},te.prototype=Object.create(r.ParserRuleContext.prototype),te.prototype.constructor=te,te.prototype.singleQuery=function(){return this.getTypedRuleContext(re,0)},te.prototype.union=function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(ae):this.getTypedRuleContext(ae,e)},te.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},te.prototype.enterRule=function(e){e instanceof i&&e.enterRegularQuery(this)},te.prototype.exitRule=function(e){e instanceof i&&e.exitRegularQuery(this)},p.RegularQueryContext=te,p.prototype.regularQuery=function(){var e=new te(this,this._ctx,this.state);this.enterRule(e,84,p.RULE_regularQuery);try{this.enterOuterAlt(e,1),this.state=741,this.singleQuery(),this.state=748,this._errHandler.sync(this);for(var t=this._interp.adaptivePredict(this._input,58,this._ctx);2!=t&&t!=r.atn.ATN.INVALID_ALT_NUMBER;)1===t&&(this.state=743,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=742,this.match(p.SP)),this.state=745,this.union()),this.state=750,this._errHandler.sync(this),t=this._interp.adaptivePredict(this._input,58,this._ctx)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},ne.prototype=Object.create(r.ParserRuleContext.prototype),ne.prototype.constructor=ne,ne.prototype.periodicCommitHint=function(){return this.getTypedRuleContext(ie,0)},ne.prototype.loadCSVQuery=function(){return this.getTypedRuleContext(oe,0)},ne.prototype.SP=function(){return this.getToken(p.SP,0)},ne.prototype.enterRule=function(e){e instanceof i&&e.enterBulkImportQuery(this)},ne.prototype.exitRule=function(e){e instanceof i&&e.exitBulkImportQuery(this)},p.BulkImportQueryContext=ne,p.prototype.bulkImportQuery=function(){var e=new ne(this,this._ctx,this.state);this.enterRule(e,86,p.RULE_bulkImportQuery);try{this.enterOuterAlt(e,1),this.state=751,this.periodicCommitHint(),this.state=753,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=752,this.match(p.SP)),this.state=755,this.loadCSVQuery()}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},re.prototype=Object.create(r.ParserRuleContext.prototype),re.prototype.constructor=re,re.prototype.clause=function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(se):this.getTypedRuleContext(se,e)},re.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},re.prototype.enterRule=function(e){e instanceof i&&e.enterSingleQuery(this)},re.prototype.exitRule=function(e){e instanceof i&&e.exitSingleQuery(this)},p.SingleQueryContext=re,p.prototype.singleQuery=function(){var e=new re(this,this._ctx,this.state);this.enterRule(e,88,p.RULE_singleQuery);try{this.enterOuterAlt(e,1),this.state=757,this.clause(),this.state=764,this._errHandler.sync(this);for(var t=this._interp.adaptivePredict(this._input,61,this._ctx);2!=t&&t!=r.atn.ATN.INVALID_ALT_NUMBER;)1===t&&(this.state=759,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=758,this.match(p.SP)),this.state=761,this.clause()),this.state=766,this._errHandler.sync(this),t=this._interp.adaptivePredict(this._input,61,this._ctx)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},ie.prototype=Object.create(r.ParserRuleContext.prototype),ie.prototype.constructor=ie,ie.prototype.USING=function(){return this.getToken(p.USING,0)},ie.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},ie.prototype.PERIODIC=function(){return this.getToken(p.PERIODIC,0)},ie.prototype.COMMIT=function(){return this.getToken(p.COMMIT,0)},ie.prototype.integerLiteral=function(){return this.getTypedRuleContext(Kn,0)},ie.prototype.enterRule=function(e){e instanceof i&&e.enterPeriodicCommitHint(this)},ie.prototype.exitRule=function(e){e instanceof i&&e.exitPeriodicCommitHint(this)},p.PeriodicCommitHintContext=ie,p.prototype.periodicCommitHint=function(){var e=new ie(this,this._ctx,this.state);this.enterRule(e,90,p.RULE_periodicCommitHint);try{this.enterOuterAlt(e,1),this.state=767,this.match(p.USING),this.state=768,this.match(p.SP),this.state=769,this.match(p.PERIODIC),this.state=770,this.match(p.SP),this.state=771,this.match(p.COMMIT),this.state=774,this._errHandler.sync(this),1===this._interp.adaptivePredict(this._input,62,this._ctx)&&(this.state=772,this.match(p.SP),this.state=773,this.integerLiteral())}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},oe.prototype=Object.create(r.ParserRuleContext.prototype),oe.prototype.constructor=oe,oe.prototype.loadCSVClause=function(){return this.getTypedRuleContext(Ce,0)},oe.prototype.clause=function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(se):this.getTypedRuleContext(se,e)},oe.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},oe.prototype.enterRule=function(e){e instanceof i&&e.enterLoadCSVQuery(this)},oe.prototype.exitRule=function(e){e instanceof i&&e.exitLoadCSVQuery(this)},p.LoadCSVQueryContext=oe,p.prototype.loadCSVQuery=function(){var e=new oe(this,this._ctx,this.state);this.enterRule(e,92,p.RULE_loadCSVQuery);try{this.enterOuterAlt(e,1),this.state=776,this.loadCSVClause(),this.state=783,this._errHandler.sync(this);for(var t=this._interp.adaptivePredict(this._input,64,this._ctx);2!=t&&t!=r.atn.ATN.INVALID_ALT_NUMBER;)1===t&&(this.state=778,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=777,this.match(p.SP)),this.state=780,this.clause()),this.state=785,this._errHandler.sync(this),t=this._interp.adaptivePredict(this._input,64,this._ctx)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},ae.prototype=Object.create(r.ParserRuleContext.prototype),ae.prototype.constructor=ae,ae.prototype.UNION=function(){return this.getToken(p.UNION,0)},ae.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},ae.prototype.ALL=function(){return this.getToken(p.ALL,0)},ae.prototype.singleQuery=function(){return this.getTypedRuleContext(re,0)},ae.prototype.enterRule=function(e){e instanceof i&&e.enterUnion(this)},ae.prototype.exitRule=function(e){e instanceof i&&e.exitUnion(this)},p.UnionContext=ae,p.prototype.union=function(){var e=new ae(this,this._ctx,this.state);this.enterRule(e,94,p.RULE_union);try{switch(this.state=798,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,67,this._ctx)){case 1:this.enterOuterAlt(e,1),this.state=786,this.match(p.UNION),this.state=787,this.match(p.SP),this.state=788,this.match(p.ALL),this.state=790,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=789,this.match(p.SP)),this.state=792,this.singleQuery();break;case 2:this.enterOuterAlt(e,2),this.state=793,this.match(p.UNION),this.state=795,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=794,this.match(p.SP)),this.state=797,this.singleQuery()}}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},se.prototype=Object.create(r.ParserRuleContext.prototype),se.prototype.constructor=se,se.prototype.loadCSVClause=function(){return this.getTypedRuleContext(Ce,0)},se.prototype.startClause=function(){return this.getTypedRuleContext(it,0)},se.prototype.matchClause=function(){return this.getTypedRuleContext(Ae,0)},se.prototype.unwindClause=function(){return this.getTypedRuleContext(Re,0)},se.prototype.mergeClause=function(){return this.getTypedRuleContext(we,0)},se.prototype.createClause=function(){return this.getTypedRuleContext(Oe,0)},se.prototype.createUniqueClause=function(){return this.getTypedRuleContext(Ne,0)},se.prototype.setClause=function(){return this.getTypedRuleContext(Ie,0)},se.prototype.deleteClause=function(){return this.getTypedRuleContext(De,0)},se.prototype.removeClause=function(){return this.getTypedRuleContext(Pe,0)},se.prototype.foreachClause=function(){return this.getTypedRuleContext(Fe,0)},se.prototype.withClause=function(){return this.getTypedRuleContext(He,0)},se.prototype.returnClause=function(){return this.getTypedRuleContext(Be,0)},se.prototype.call=function(){return this.getTypedRuleContext(ze,0)},se.prototype.enterRule=function(e){e instanceof i&&e.enterClause(this)},se.prototype.exitRule=function(e){e instanceof i&&e.exitClause(this)},p.ClauseContext=se,p.prototype.clause=function(){var e=new se(this,this._ctx,this.state);this.enterRule(e,96,p.RULE_clause);try{switch(this.state=814,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,68,this._ctx)){case 1:this.enterOuterAlt(e,1),this.state=800,this.loadCSVClause();break;case 2:this.enterOuterAlt(e,2),this.state=801,this.startClause();break;case 3:this.enterOuterAlt(e,3),this.state=802,this.matchClause();break;case 4:this.enterOuterAlt(e,4),this.state=803,this.unwindClause();break;case 5:this.enterOuterAlt(e,5),this.state=804,this.mergeClause();break;case 6:this.enterOuterAlt(e,6),this.state=805,this.createClause();break;case 7:this.enterOuterAlt(e,7),this.state=806,this.createUniqueClause();break;case 8:this.enterOuterAlt(e,8),this.state=807,this.setClause();break;case 9:this.enterOuterAlt(e,9),this.state=808,this.deleteClause();break;case 10:this.enterOuterAlt(e,10),this.state=809,this.removeClause();break;case 11:this.enterOuterAlt(e,11),this.state=810,this.foreachClause();break;case 12:this.enterOuterAlt(e,12),this.state=811,this.withClause();break;case 13:this.enterOuterAlt(e,13),this.state=812,this.returnClause();break;case 14:this.enterOuterAlt(e,14),this.state=813,this.call()}}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e};le.prototype=Object.create(r.ParserRuleContext.prototype),le.prototype.constructor=le,le.prototype.createIndex=function(){return this.getTypedRuleContext(de,0)},le.prototype.dropIndex=function(){return this.getTypedRuleContext(ve,0)},le.prototype.createUniqueConstraint=function(){return this.getTypedRuleContext(ce,0)},le.prototype.dropUniqueConstraint=function(){return this.getTypedRuleContext(fe,0)},le.prototype.createNodeKeyConstraint=function(){return this.getTypedRuleContext(ue,0)},le.prototype.dropNodeKeyConstraint=function(){return this.getTypedRuleContext(me,0)},le.prototype.createNodePropertyExistenceConstraint=function(){return this.getTypedRuleContext(he,0)},le.prototype.dropNodePropertyExistenceConstraint=function(){return this.getTypedRuleContext(ge,0)},le.prototype.createRelationshipPropertyExistenceConstraint=function(){return this.getTypedRuleContext(pe,0)},le.prototype.dropRelationshipPropertyExistenceConstraint=function(){return this.getTypedRuleContext(ye,0)},le.prototype.enterRule=function(e){e instanceof i&&e.enterCommand(this)},le.prototype.exitRule=function(e){e instanceof i&&e.exitCommand(this)},p.CommandContext=le,p.prototype.command=function(){var e=new le(this,this._ctx,this.state);this.enterRule(e,98,p.RULE_command);try{switch(this.state=826,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,69,this._ctx)){case 1:this.enterOuterAlt(e,1),this.state=816,this.createIndex();break;case 2:this.enterOuterAlt(e,2),this.state=817,this.dropIndex();break;case 3:this.enterOuterAlt(e,3),this.state=818,this.createUniqueConstraint();break;case 4:this.enterOuterAlt(e,4),this.state=819,this.dropUniqueConstraint();break;case 5:this.enterOuterAlt(e,5),this.state=820,this.createNodeKeyConstraint();break;case 6:this.enterOuterAlt(e,6),this.state=821,this.dropNodeKeyConstraint();break;case 7:this.enterOuterAlt(e,7),this.state=822,this.createNodePropertyExistenceConstraint();break;case 8:this.enterOuterAlt(e,8),this.state=823,this.dropNodePropertyExistenceConstraint();break;case 9:this.enterOuterAlt(e,9),this.state=824,this.createRelationshipPropertyExistenceConstraint();break;case 10:this.enterOuterAlt(e,10),this.state=825,this.dropRelationshipPropertyExistenceConstraint()}}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},ce.prototype=Object.create(r.ParserRuleContext.prototype),ce.prototype.constructor=ce,ce.prototype.CREATE=function(){return this.getToken(p.CREATE,0)},ce.prototype.SP=function(){return this.getToken(p.SP,0)},ce.prototype.uniqueConstraint=function(){return this.getTypedRuleContext(be,0)},ce.prototype.enterRule=function(e){e instanceof i&&e.enterCreateUniqueConstraint(this)},ce.prototype.exitRule=function(e){e instanceof i&&e.exitCreateUniqueConstraint(this)},p.CreateUniqueConstraintContext=ce,p.prototype.createUniqueConstraint=function(){var e=new ce(this,this._ctx,this.state);this.enterRule(e,100,p.RULE_createUniqueConstraint);try{this.enterOuterAlt(e,1),this.state=828,this.match(p.CREATE),this.state=829,this.match(p.SP),this.state=830,this.uniqueConstraint()}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},ue.prototype=Object.create(r.ParserRuleContext.prototype),ue.prototype.constructor=ue,ue.prototype.CREATE=function(){return this.getToken(p.CREATE,0)},ue.prototype.SP=function(){return this.getToken(p.SP,0)},ue.prototype.nodeKeyConstraint=function(){return this.getTypedRuleContext(Ee,0)},ue.prototype.enterRule=function(e){e instanceof i&&e.enterCreateNodeKeyConstraint(this)},ue.prototype.exitRule=function(e){e instanceof i&&e.exitCreateNodeKeyConstraint(this)},p.CreateNodeKeyConstraintContext=ue,p.prototype.createNodeKeyConstraint=function(){var e=new ue(this,this._ctx,this.state);this.enterRule(e,102,p.RULE_createNodeKeyConstraint);try{this.enterOuterAlt(e,1),this.state=832,this.match(p.CREATE),this.state=833,this.match(p.SP),this.state=834,this.nodeKeyConstraint()}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},he.prototype=Object.create(r.ParserRuleContext.prototype),he.prototype.constructor=he,he.prototype.CREATE=function(){return this.getToken(p.CREATE,0)},he.prototype.SP=function(){return this.getToken(p.SP,0)},he.prototype.nodePropertyExistenceConstraint=function(){return this.getTypedRuleContext(Te,0)},he.prototype.enterRule=function(e){e instanceof i&&e.enterCreateNodePropertyExistenceConstraint(this)},he.prototype.exitRule=function(e){e instanceof i&&e.exitCreateNodePropertyExistenceConstraint(this)},p.CreateNodePropertyExistenceConstraintContext=he,p.prototype.createNodePropertyExistenceConstraint=function(){var e=new he(this,this._ctx,this.state);this.enterRule(e,104,p.RULE_createNodePropertyExistenceConstraint);try{this.enterOuterAlt(e,1),this.state=836,this.match(p.CREATE),this.state=837,this.match(p.SP),this.state=838,this.nodePropertyExistenceConstraint()}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},pe.prototype=Object.create(r.ParserRuleContext.prototype),pe.prototype.constructor=pe,pe.prototype.CREATE=function(){return this.getToken(p.CREATE,0)},pe.prototype.SP=function(){return this.getToken(p.SP,0)},pe.prototype.relationshipPropertyExistenceConstraint=function(){return this.getTypedRuleContext(xe,0)},pe.prototype.enterRule=function(e){e instanceof i&&e.enterCreateRelationshipPropertyExistenceConstraint(this)},pe.prototype.exitRule=function(e){e instanceof i&&e.exitCreateRelationshipPropertyExistenceConstraint(this)},p.CreateRelationshipPropertyExistenceConstraintContext=pe,p.prototype.createRelationshipPropertyExistenceConstraint=function(){var e=new pe(this,this._ctx,this.state);this.enterRule(e,106,p.RULE_createRelationshipPropertyExistenceConstraint);try{this.enterOuterAlt(e,1),this.state=840,this.match(p.CREATE),this.state=841,this.match(p.SP),this.state=842,this.relationshipPropertyExistenceConstraint()}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},de.prototype=Object.create(r.ParserRuleContext.prototype),de.prototype.constructor=de,de.prototype.CREATE=function(){return this.getToken(p.CREATE,0)},de.prototype.SP=function(){return this.getToken(p.SP,0)},de.prototype.index=function(){return this.getTypedRuleContext(_e,0)},de.prototype.enterRule=function(e){e instanceof i&&e.enterCreateIndex(this)},de.prototype.exitRule=function(e){e instanceof i&&e.exitCreateIndex(this)},p.CreateIndexContext=de,p.prototype.createIndex=function(){var e=new de(this,this._ctx,this.state);this.enterRule(e,108,p.RULE_createIndex);try{this.enterOuterAlt(e,1),this.state=844,this.match(p.CREATE),this.state=845,this.match(p.SP),this.state=846,this.index()}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},fe.prototype=Object.create(r.ParserRuleContext.prototype),fe.prototype.constructor=fe,fe.prototype.DROP=function(){return this.getToken(p.DROP,0)},fe.prototype.SP=function(){return this.getToken(p.SP,0)},fe.prototype.uniqueConstraint=function(){return this.getTypedRuleContext(be,0)},fe.prototype.enterRule=function(e){e instanceof i&&e.enterDropUniqueConstraint(this)},fe.prototype.exitRule=function(e){e instanceof i&&e.exitDropUniqueConstraint(this)},p.DropUniqueConstraintContext=fe,p.prototype.dropUniqueConstraint=function(){var e=new fe(this,this._ctx,this.state);this.enterRule(e,110,p.RULE_dropUniqueConstraint);try{this.enterOuterAlt(e,1),this.state=848,this.match(p.DROP),this.state=849,this.match(p.SP),this.state=850,this.uniqueConstraint()}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},me.prototype=Object.create(r.ParserRuleContext.prototype),me.prototype.constructor=me,me.prototype.DROP=function(){return this.getToken(p.DROP,0)},me.prototype.SP=function(){return this.getToken(p.SP,0)},me.prototype.nodeKeyConstraint=function(){return this.getTypedRuleContext(Ee,0)},me.prototype.enterRule=function(e){e instanceof i&&e.enterDropNodeKeyConstraint(this)},me.prototype.exitRule=function(e){e instanceof i&&e.exitDropNodeKeyConstraint(this)},p.DropNodeKeyConstraintContext=me,p.prototype.dropNodeKeyConstraint=function(){var e=new me(this,this._ctx,this.state);this.enterRule(e,112,p.RULE_dropNodeKeyConstraint);try{this.enterOuterAlt(e,1),this.state=852,this.match(p.DROP),this.state=853,this.match(p.SP),this.state=854,this.nodeKeyConstraint()}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},ge.prototype=Object.create(r.ParserRuleContext.prototype),ge.prototype.constructor=ge,ge.prototype.DROP=function(){return this.getToken(p.DROP,0)},ge.prototype.SP=function(){return this.getToken(p.SP,0)},ge.prototype.nodePropertyExistenceConstraint=function(){return this.getTypedRuleContext(Te,0)},ge.prototype.enterRule=function(e){e instanceof i&&e.enterDropNodePropertyExistenceConstraint(this)},ge.prototype.exitRule=function(e){e instanceof i&&e.exitDropNodePropertyExistenceConstraint(this)},p.DropNodePropertyExistenceConstraintContext=ge,p.prototype.dropNodePropertyExistenceConstraint=function(){var e=new ge(this,this._ctx,this.state);this.enterRule(e,114,p.RULE_dropNodePropertyExistenceConstraint);try{this.enterOuterAlt(e,1),this.state=856,this.match(p.DROP),this.state=857,this.match(p.SP),this.state=858,this.nodePropertyExistenceConstraint()}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},ye.prototype=Object.create(r.ParserRuleContext.prototype),ye.prototype.constructor=ye,ye.prototype.DROP=function(){return this.getToken(p.DROP,0)},ye.prototype.SP=function(){return this.getToken(p.SP,0)},ye.prototype.relationshipPropertyExistenceConstraint=function(){return this.getTypedRuleContext(xe,0)},ye.prototype.enterRule=function(e){e instanceof i&&e.enterDropRelationshipPropertyExistenceConstraint(this)},ye.prototype.exitRule=function(e){e instanceof i&&e.exitDropRelationshipPropertyExistenceConstraint(this)},p.DropRelationshipPropertyExistenceConstraintContext=ye,p.prototype.dropRelationshipPropertyExistenceConstraint=function(){var e=new ye(this,this._ctx,this.state);this.enterRule(e,116,p.RULE_dropRelationshipPropertyExistenceConstraint);try{this.enterOuterAlt(e,1),this.state=860,this.match(p.DROP),this.state=861,this.match(p.SP),this.state=862,this.relationshipPropertyExistenceConstraint()}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},ve.prototype=Object.create(r.ParserRuleContext.prototype),ve.prototype.constructor=ve,ve.prototype.DROP=function(){return this.getToken(p.DROP,0)},ve.prototype.SP=function(){return this.getToken(p.SP,0)},ve.prototype.index=function(){return this.getTypedRuleContext(_e,0)},ve.prototype.enterRule=function(e){e instanceof i&&e.enterDropIndex(this)},ve.prototype.exitRule=function(e){e instanceof i&&e.exitDropIndex(this)},p.DropIndexContext=ve,p.prototype.dropIndex=function(){var e=new ve(this,this._ctx,this.state);this.enterRule(e,118,p.RULE_dropIndex);try{this.enterOuterAlt(e,1),this.state=864,this.match(p.DROP),this.state=865,this.match(p.SP),this.state=866,this.index()}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},_e.prototype=Object.create(r.ParserRuleContext.prototype),_e.prototype.constructor=_e,_e.prototype.INDEX=function(){return this.getToken(p.INDEX,0)},_e.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},_e.prototype.ON=function(){return this.getToken(p.ON,0)},_e.prototype.nodeLabel=function(){return this.getTypedRuleContext(Ot,0)},_e.prototype.propertyKeys=function(){return this.getTypedRuleContext(Wn,0)},_e.prototype.enterRule=function(e){e instanceof i&&e.enterIndex(this)},_e.prototype.exitRule=function(e){e instanceof i&&e.exitIndex(this)},p.IndexContext=_e,p.prototype.index=function(){var e=new _e(this,this._ctx,this.state);this.enterRule(e,120,p.RULE_index);try{this.enterOuterAlt(e,1),this.state=868,this.match(p.INDEX),this.state=869,this.match(p.SP),this.state=870,this.match(p.ON),this.state=872,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=871,this.match(p.SP)),this.state=874,this.nodeLabel(),this.state=876,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=875,this.match(p.SP)),this.state=878,this.match(p.T__18),this.state=880,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=879,this.match(p.SP)),this.state=882,this.propertyKeys(),this.state=884,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=883,this.match(p.SP)),this.state=886,this.match(p.T__19)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},be.prototype=Object.create(r.ParserRuleContext.prototype),be.prototype.constructor=be,be.prototype.CONSTRAINT=function(){return this.getToken(p.CONSTRAINT,0)},be.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},be.prototype.ON=function(){return this.getToken(p.ON,0)},be.prototype.variable=function(){return this.getTypedRuleContext(Nn,0)},be.prototype.nodeLabel=function(){return this.getTypedRuleContext(Ot,0)},be.prototype.ASSERT=function(){return this.getToken(p.ASSERT,0)},be.prototype.propertyExpression=function(){return this.getTypedRuleContext($n,0)},be.prototype.IS=function(){return this.getToken(p.IS,0)},be.prototype.UNIQUE=function(){return this.getToken(p.UNIQUE,0)},be.prototype.enterRule=function(e){e instanceof i&&e.enterUniqueConstraint(this)},be.prototype.exitRule=function(e){e instanceof i&&e.exitUniqueConstraint(this)},p.UniqueConstraintContext=be,p.prototype.uniqueConstraint=function(){var e=new be(this,this._ctx,this.state);this.enterRule(e,122,p.RULE_uniqueConstraint);try{this.enterOuterAlt(e,1),this.state=888,this.match(p.CONSTRAINT),this.state=889,this.match(p.SP),this.state=890,this.match(p.ON),this.state=892,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=891,this.match(p.SP)),this.state=894,this.match(p.T__18),this.state=896,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=895,this.match(p.SP)),this.state=898,this.variable(),this.state=899,this.nodeLabel(),this.state=901,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=900,this.match(p.SP)),this.state=903,this.match(p.T__19),this.state=905,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=904,this.match(p.SP)),this.state=907,this.match(p.ASSERT),this.state=908,this.match(p.SP),this.state=909,this.propertyExpression(),this.state=910,this.match(p.SP),this.state=911,this.match(p.IS),this.state=912,this.match(p.SP),this.state=913,this.match(p.UNIQUE)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},Ee.prototype=Object.create(r.ParserRuleContext.prototype),Ee.prototype.constructor=Ee,Ee.prototype.CONSTRAINT=function(){return this.getToken(p.CONSTRAINT,0)},Ee.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},Ee.prototype.ON=function(){return this.getToken(p.ON,0)},Ee.prototype.variable=function(){return this.getTypedRuleContext(Nn,0)},Ee.prototype.nodeLabel=function(){return this.getTypedRuleContext(Ot,0)},Ee.prototype.ASSERT=function(){return this.getToken(p.ASSERT,0)},Ee.prototype.propertyExpressions=function(){return this.getTypedRuleContext(zn,0)},Ee.prototype.IS=function(){return this.getToken(p.IS,0)},Ee.prototype.NODE=function(){return this.getToken(p.NODE,0)},Ee.prototype.KEY=function(){return this.getToken(p.KEY,0)},Ee.prototype.enterRule=function(e){e instanceof i&&e.enterNodeKeyConstraint(this)},Ee.prototype.exitRule=function(e){e instanceof i&&e.exitNodeKeyConstraint(this)},p.NodeKeyConstraintContext=Ee,p.prototype.nodeKeyConstraint=function(){var e=new Ee(this,this._ctx,this.state);this.enterRule(e,124,p.RULE_nodeKeyConstraint);try{this.enterOuterAlt(e,1),this.state=915,this.match(p.CONSTRAINT),this.state=916,this.match(p.SP),this.state=917,this.match(p.ON),this.state=919,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=918,this.match(p.SP)),this.state=921,this.match(p.T__18),this.state=923,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=922,this.match(p.SP)),this.state=925,this.variable(),this.state=926,this.nodeLabel(),this.state=928,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=927,this.match(p.SP)),this.state=930,this.match(p.T__19),this.state=932,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=931,this.match(p.SP)),this.state=934,this.match(p.ASSERT),this.state=935,this.match(p.SP),this.state=936,this.match(p.T__18),this.state=938,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=937,this.match(p.SP)),this.state=940,this.propertyExpressions(),this.state=942,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=941,this.match(p.SP)),this.state=944,this.match(p.T__19),this.state=945,this.match(p.SP),this.state=946,this.match(p.IS),this.state=947,this.match(p.SP),this.state=948,this.match(p.NODE),this.state=949,this.match(p.SP),this.state=950,this.match(p.KEY)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},Te.prototype=Object.create(r.ParserRuleContext.prototype),Te.prototype.constructor=Te,Te.prototype.CONSTRAINT=function(){return this.getToken(p.CONSTRAINT,0)},Te.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},Te.prototype.ON=function(){return this.getToken(p.ON,0)},Te.prototype.variable=function(){return this.getTypedRuleContext(Nn,0)},Te.prototype.nodeLabel=function(){return this.getTypedRuleContext(Ot,0)},Te.prototype.ASSERT=function(){return this.getToken(p.ASSERT,0)},Te.prototype.EXISTS=function(){return this.getToken(p.EXISTS,0)},Te.prototype.propertyExpression=function(){return this.getTypedRuleContext($n,0)},Te.prototype.enterRule=function(e){e instanceof i&&e.enterNodePropertyExistenceConstraint(this)},Te.prototype.exitRule=function(e){e instanceof i&&e.exitNodePropertyExistenceConstraint(this)},p.NodePropertyExistenceConstraintContext=Te,p.prototype.nodePropertyExistenceConstraint=function(){var e=new Te(this,this._ctx,this.state);this.enterRule(e,126,p.RULE_nodePropertyExistenceConstraint);try{this.enterOuterAlt(e,1),this.state=952,this.match(p.CONSTRAINT),this.state=953,this.match(p.SP),this.state=954,this.match(p.ON),this.state=956,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=955,this.match(p.SP)),this.state=958,this.match(p.T__18),this.state=959,this.variable(),this.state=960,this.nodeLabel(),this.state=961,this.match(p.T__19),this.state=963,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=962,this.match(p.SP)),this.state=965,this.match(p.ASSERT),this.state=966,this.match(p.SP),this.state=967,this.match(p.EXISTS),this.state=969,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=968,this.match(p.SP)),this.state=971,this.match(p.T__18),this.state=972,this.propertyExpression(),this.state=973,this.match(p.T__19)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},xe.prototype=Object.create(r.ParserRuleContext.prototype),xe.prototype.constructor=xe,xe.prototype.CONSTRAINT=function(){return this.getToken(p.CONSTRAINT,0)},xe.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},xe.prototype.ON=function(){return this.getToken(p.ON,0)},xe.prototype.relationshipPatternSyntax=function(){return this.getTypedRuleContext(Se,0)},xe.prototype.ASSERT=function(){return this.getToken(p.ASSERT,0)},xe.prototype.EXISTS=function(){return this.getToken(p.EXISTS,0)},xe.prototype.propertyExpression=function(){return this.getTypedRuleContext($n,0)},xe.prototype.enterRule=function(e){e instanceof i&&e.enterRelationshipPropertyExistenceConstraint(this)},xe.prototype.exitRule=function(e){e instanceof i&&e.exitRelationshipPropertyExistenceConstraint(this)},p.RelationshipPropertyExistenceConstraintContext=xe,p.prototype.relationshipPropertyExistenceConstraint=function(){var e=new xe(this,this._ctx,this.state);this.enterRule(e,128,p.RULE_relationshipPropertyExistenceConstraint);try{this.enterOuterAlt(e,1),this.state=975,this.match(p.CONSTRAINT),this.state=976,this.match(p.SP),this.state=977,this.match(p.ON),this.state=979,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=978,this.match(p.SP)),this.state=981,this.relationshipPatternSyntax(),this.state=983,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=982,this.match(p.SP)),this.state=985,this.match(p.ASSERT),this.state=986,this.match(p.SP),this.state=987,this.match(p.EXISTS),this.state=989,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=988,this.match(p.SP)),this.state=991,this.match(p.T__18),this.state=992,this.propertyExpression(),this.state=993,this.match(p.T__19)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},Se.prototype=Object.create(r.ParserRuleContext.prototype),Se.prototype.constructor=Se,Se.prototype.dash=function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(Jn):this.getTypedRuleContext(Jn,e)},Se.prototype.variable=function(){return this.getTypedRuleContext(Nn,0)},Se.prototype.relType=function(){return this.getTypedRuleContext(Ct,0)},Se.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},Se.prototype.rightArrowHead=function(){return this.getTypedRuleContext(Qn,0)},Se.prototype.leftArrowHead=function(){return this.getTypedRuleContext(Zn,0)},Se.prototype.enterRule=function(e){e instanceof i&&e.enterRelationshipPatternSyntax(this)},Se.prototype.exitRule=function(e){e instanceof i&&e.exitRelationshipPatternSyntax(this)},p.RelationshipPatternSyntaxContext=Se,p.prototype.relationshipPatternSyntax=function(){var e=new Se(this,this._ctx,this.state);this.enterRule(e,130,p.RULE_relationshipPatternSyntax);try{switch(this.state=1048,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,96,this._ctx)){case 1:this.enterOuterAlt(e,1),this.state=995,this.match(p.T__18),this.state=997,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=996,this.match(p.SP)),this.state=999,this.match(p.T__19),this.state=1e3,this.dash(),this.state=1001,this.match(p.T__16),this.state=1002,this.variable(),this.state=1003,this.relType(),this.state=1004,this.match(p.T__17),this.state=1005,this.dash(),this.state=1006,this.match(p.T__18),this.state=1008,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1007,this.match(p.SP)),this.state=1010,this.match(p.T__19);break;case 2:this.enterOuterAlt(e,2),this.state=1012,this.match(p.T__18),this.state=1014,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1013,this.match(p.SP)),this.state=1016,this.match(p.T__19),this.state=1017,this.dash(),this.state=1018,this.match(p.T__16),this.state=1019,this.variable(),this.state=1020,this.relType(),this.state=1021,this.match(p.T__17),this.state=1022,this.dash(),this.state=1023,this.rightArrowHead(),this.state=1024,this.match(p.T__18),this.state=1026,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1025,this.match(p.SP)),this.state=1028,this.match(p.T__19);break;case 3:this.enterOuterAlt(e,3),this.state=1030,this.match(p.T__18),this.state=1032,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1031,this.match(p.SP)),this.state=1034,this.match(p.T__19),this.state=1035,this.leftArrowHead(),this.state=1036,this.dash(),this.state=1037,this.match(p.T__16),this.state=1038,this.variable(),this.state=1039,this.relType(),this.state=1040,this.match(p.T__17),this.state=1041,this.dash(),this.state=1042,this.match(p.T__18),this.state=1044,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1043,this.match(p.SP)),this.state=1046,this.match(p.T__19)}}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},Ce.prototype=Object.create(r.ParserRuleContext.prototype),Ce.prototype.constructor=Ce,Ce.prototype.LOAD=function(){return this.getToken(p.LOAD,0)},Ce.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},Ce.prototype.CSV=function(){return this.getToken(p.CSV,0)},Ce.prototype.FROM=function(){return this.getToken(p.FROM,0)},Ce.prototype.expression=function(){return this.getTypedRuleContext(Dt,0)},Ce.prototype.AS=function(){return this.getToken(p.AS,0)},Ce.prototype.variable=function(){return this.getTypedRuleContext(Nn,0)},Ce.prototype.WITH=function(){return this.getToken(p.WITH,0)},Ce.prototype.HEADERS=function(){return this.getToken(p.HEADERS,0)},Ce.prototype.FIELDTERMINATOR=function(){return this.getToken(p.FIELDTERMINATOR,0)},Ce.prototype.StringLiteral=function(){return this.getToken(p.StringLiteral,0)},Ce.prototype.enterRule=function(e){e instanceof i&&e.enterLoadCSVClause(this)},Ce.prototype.exitRule=function(e){e instanceof i&&e.exitLoadCSVClause(this)},p.LoadCSVClauseContext=Ce,p.prototype.loadCSVClause=function(){var e=new Ce(this,this._ctx,this.state);this.enterRule(e,132,p.RULE_loadCSVClause);try{this.enterOuterAlt(e,1),this.state=1050,this.match(p.LOAD),this.state=1051,this.match(p.SP),this.state=1052,this.match(p.CSV),this.state=1053,this.match(p.SP),this.state=1058,this._errHandler.sync(this),this._input.LA(1)===p.WITH&&(this.state=1054,this.match(p.WITH),this.state=1055,this.match(p.SP),this.state=1056,this.match(p.HEADERS),this.state=1057,this.match(p.SP)),this.state=1060,this.match(p.FROM),this.state=1061,this.match(p.SP),this.state=1062,this.expression(),this.state=1063,this.match(p.SP),this.state=1064,this.match(p.AS),this.state=1065,this.match(p.SP),this.state=1066,this.variable(),this.state=1067,this.match(p.SP),this.state=1071,this._errHandler.sync(this),this._input.LA(1)===p.FIELDTERMINATOR&&(this.state=1068,this.match(p.FIELDTERMINATOR),this.state=1069,this.match(p.SP),this.state=1070,this.match(p.StringLiteral))}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},Ae.prototype=Object.create(r.ParserRuleContext.prototype),Ae.prototype.constructor=Ae,Ae.prototype.MATCH=function(){return this.getToken(p.MATCH,0)},Ae.prototype.pattern=function(){return this.getTypedRuleContext(ft,0)},Ae.prototype.OPTIONAL=function(){return this.getToken(p.OPTIONAL,0)},Ae.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},Ae.prototype.hint=function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(rt):this.getTypedRuleContext(rt,e)},Ae.prototype.where=function(){return this.getTypedRuleContext(dt,0)},Ae.prototype.enterRule=function(e){e instanceof i&&e.enterMatchClause(this)},Ae.prototype.exitRule=function(e){e instanceof i&&e.exitMatchClause(this)},p.MatchClauseContext=Ae,p.prototype.matchClause=function(){var e=new Ae(this,this._ctx,this.state);this.enterRule(e,134,p.RULE_matchClause);try{this.enterOuterAlt(e,1),this.state=1075,this._errHandler.sync(this),this._input.LA(1)===p.OPTIONAL&&(this.state=1073,this.match(p.OPTIONAL),this.state=1074,this.match(p.SP)),this.state=1077,this.match(p.MATCH),this.state=1079,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1078,this.match(p.SP)),this.state=1081,this.pattern(),this.state=1085,this._errHandler.sync(this);for(var t=this._interp.adaptivePredict(this._input,101,this._ctx);2!=t&&t!=r.atn.ATN.INVALID_ALT_NUMBER;)1===t&&(this.state=1082,this.hint()),this.state=1087,this._errHandler.sync(this),t=this._interp.adaptivePredict(this._input,101,this._ctx);this.state=1092,this._errHandler.sync(this),1===this._interp.adaptivePredict(this._input,103,this._ctx)&&(this.state=1089,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1088,this.match(p.SP)),this.state=1091,this.where())}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},Re.prototype=Object.create(r.ParserRuleContext.prototype),Re.prototype.constructor=Re,Re.prototype.UNWIND=function(){return this.getToken(p.UNWIND,0)},Re.prototype.expression=function(){return this.getTypedRuleContext(Dt,0)},Re.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},Re.prototype.AS=function(){return this.getToken(p.AS,0)},Re.prototype.variable=function(){return this.getTypedRuleContext(Nn,0)},Re.prototype.enterRule=function(e){e instanceof i&&e.enterUnwindClause(this)},Re.prototype.exitRule=function(e){e instanceof i&&e.exitUnwindClause(this)},p.UnwindClauseContext=Re,p.prototype.unwindClause=function(){var e=new Re(this,this._ctx,this.state);this.enterRule(e,136,p.RULE_unwindClause);try{this.enterOuterAlt(e,1),this.state=1094,this.match(p.UNWIND),this.state=1096,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1095,this.match(p.SP)),this.state=1098,this.expression(),this.state=1099,this.match(p.SP),this.state=1100,this.match(p.AS),this.state=1101,this.match(p.SP),this.state=1102,this.variable()}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},we.prototype=Object.create(r.ParserRuleContext.prototype),we.prototype.constructor=we,we.prototype.MERGE=function(){return this.getToken(p.MERGE,0)},we.prototype.patternPart=function(){return this.getTypedRuleContext(mt,0)},we.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},we.prototype.mergeAction=function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(Le):this.getTypedRuleContext(Le,e)},we.prototype.enterRule=function(e){e instanceof i&&e.enterMergeClause(this)},we.prototype.exitRule=function(e){e instanceof i&&e.exitMergeClause(this)},p.MergeClauseContext=we,p.prototype.mergeClause=function(){var e=new we(this,this._ctx,this.state);this.enterRule(e,138,p.RULE_mergeClause);try{this.enterOuterAlt(e,1),this.state=1104,this.match(p.MERGE),this.state=1106,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1105,this.match(p.SP)),this.state=1108,this.patternPart(),this.state=1113,this._errHandler.sync(this);for(var t=this._interp.adaptivePredict(this._input,106,this._ctx);2!=t&&t!=r.atn.ATN.INVALID_ALT_NUMBER;)1===t&&(this.state=1109,this.match(p.SP),this.state=1110,this.mergeAction()),this.state=1115,this._errHandler.sync(this),t=this._interp.adaptivePredict(this._input,106,this._ctx)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},Le.prototype=Object.create(r.ParserRuleContext.prototype),Le.prototype.constructor=Le,Le.prototype.ON=function(){return this.getToken(p.ON,0)},Le.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},Le.prototype.MATCH=function(){return this.getToken(p.MATCH,0)},Le.prototype.setClause=function(){return this.getTypedRuleContext(Ie,0)},Le.prototype.CREATE=function(){return this.getToken(p.CREATE,0)},Le.prototype.enterRule=function(e){e instanceof i&&e.enterMergeAction(this)},Le.prototype.exitRule=function(e){e instanceof i&&e.exitMergeAction(this)},p.MergeActionContext=Le,p.prototype.mergeAction=function(){var e=new Le(this,this._ctx,this.state);this.enterRule(e,140,p.RULE_mergeAction);try{switch(this.state=1126,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,107,this._ctx)){case 1:this.enterOuterAlt(e,1),this.state=1116,this.match(p.ON),this.state=1117,this.match(p.SP),this.state=1118,this.match(p.MATCH),this.state=1119,this.match(p.SP),this.state=1120,this.setClause();break;case 2:this.enterOuterAlt(e,2),this.state=1121,this.match(p.ON),this.state=1122,this.match(p.SP),this.state=1123,this.match(p.CREATE),this.state=1124,this.match(p.SP),this.state=1125,this.setClause()}}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},Oe.prototype=Object.create(r.ParserRuleContext.prototype),Oe.prototype.constructor=Oe,Oe.prototype.CREATE=function(){return this.getToken(p.CREATE,0)},Oe.prototype.pattern=function(){return this.getTypedRuleContext(ft,0)},Oe.prototype.SP=function(){return this.getToken(p.SP,0)},Oe.prototype.enterRule=function(e){e instanceof i&&e.enterCreateClause(this)},Oe.prototype.exitRule=function(e){e instanceof i&&e.exitCreateClause(this)},p.CreateClauseContext=Oe,p.prototype.createClause=function(){var e=new Oe(this,this._ctx,this.state);this.enterRule(e,142,p.RULE_createClause);try{this.enterOuterAlt(e,1),this.state=1128,this.match(p.CREATE),this.state=1130,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1129,this.match(p.SP)),this.state=1132,this.pattern()}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},Ne.prototype=Object.create(r.ParserRuleContext.prototype),Ne.prototype.constructor=Ne,Ne.prototype.CREATE=function(){return this.getToken(p.CREATE,0)},Ne.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},Ne.prototype.UNIQUE=function(){return this.getToken(p.UNIQUE,0)},Ne.prototype.pattern=function(){return this.getTypedRuleContext(ft,0)},Ne.prototype.enterRule=function(e){e instanceof i&&e.enterCreateUniqueClause(this)},Ne.prototype.exitRule=function(e){e instanceof i&&e.exitCreateUniqueClause(this)},p.CreateUniqueClauseContext=Ne,p.prototype.createUniqueClause=function(){var e=new Ne(this,this._ctx,this.state);this.enterRule(e,144,p.RULE_createUniqueClause);try{this.enterOuterAlt(e,1),this.state=1134,this.match(p.CREATE),this.state=1135,this.match(p.SP),this.state=1136,this.match(p.UNIQUE),this.state=1138,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1137,this.match(p.SP)),this.state=1140,this.pattern()}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},Ie.prototype=Object.create(r.ParserRuleContext.prototype),Ie.prototype.constructor=Ie,Ie.prototype.SET=function(){return this.getToken(p.SET,0)},Ie.prototype.setItem=function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(ke):this.getTypedRuleContext(ke,e)},Ie.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},Ie.prototype.enterRule=function(e){e instanceof i&&e.enterSetClause(this)},Ie.prototype.exitRule=function(e){e instanceof i&&e.exitSetClause(this)},p.SetClauseContext=Ie,p.prototype.setClause=function(){var e=new Ie(this,this._ctx,this.state);this.enterRule(e,146,p.RULE_setClause);try{this.enterOuterAlt(e,1),this.state=1142,this.match(p.SET),this.state=1144,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1143,this.match(p.SP)),this.state=1146,this.setItem(),this.state=1157,this._errHandler.sync(this);for(var t=this._interp.adaptivePredict(this._input,113,this._ctx);2!=t&&t!=r.atn.ATN.INVALID_ALT_NUMBER;)1===t&&(this.state=1148,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1147,this.match(p.SP)),this.state=1150,this.match(p.T__14),this.state=1152,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1151,this.match(p.SP)),this.state=1154,this.setItem()),this.state=1159,this._errHandler.sync(this),t=this._interp.adaptivePredict(this._input,113,this._ctx)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},ke.prototype=Object.create(r.ParserRuleContext.prototype),ke.prototype.constructor=ke,ke.prototype.propertyExpression=function(){return this.getTypedRuleContext($n,0)},ke.prototype.expression=function(){return this.getTypedRuleContext(Dt,0)},ke.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},ke.prototype.variable=function(){return this.getTypedRuleContext(Nn,0)},ke.prototype.nodeLabels=function(){return this.getTypedRuleContext(Lt,0)},ke.prototype.enterRule=function(e){e instanceof i&&e.enterSetItem(this)},ke.prototype.exitRule=function(e){e instanceof i&&e.exitSetItem(this)},p.SetItemContext=ke,p.prototype.setItem=function(){var e=new ke(this,this._ctx,this.state);this.enterRule(e,148,p.RULE_setItem);try{switch(this.state=1196,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,121,this._ctx)){case 1:this.enterOuterAlt(e,1),this.state=1160,this.propertyExpression(),this.state=1162,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1161,this.match(p.SP)),this.state=1164,this.match(p.T__11),this.state=1166,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1165,this.match(p.SP)),this.state=1168,this.expression();break;case 2:this.enterOuterAlt(e,2),this.state=1170,this.variable(),this.state=1172,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1171,this.match(p.SP)),this.state=1174,this.match(p.T__11),this.state=1176,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1175,this.match(p.SP)),this.state=1178,this.expression();break;case 3:this.enterOuterAlt(e,3),this.state=1180,this.variable(),this.state=1182,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1181,this.match(p.SP)),this.state=1184,this.match(p.T__20),this.state=1186,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1185,this.match(p.SP)),this.state=1188,this.expression();break;case 4:this.enterOuterAlt(e,4),this.state=1190,this.variable(),this.state=1192,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1191,this.match(p.SP)),this.state=1194,this.nodeLabels()}}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},De.prototype=Object.create(r.ParserRuleContext.prototype),De.prototype.constructor=De,De.prototype.DELETE=function(){return this.getToken(p.DELETE,0)},De.prototype.expression=function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(Dt):this.getTypedRuleContext(Dt,e)},De.prototype.DETACH=function(){return this.getToken(p.DETACH,0)},De.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},De.prototype.enterRule=function(e){e instanceof i&&e.enterDeleteClause(this)},De.prototype.exitRule=function(e){e instanceof i&&e.exitDeleteClause(this)},p.DeleteClauseContext=De,p.prototype.deleteClause=function(){var e=new De(this,this._ctx,this.state);this.enterRule(e,150,p.RULE_deleteClause);try{this.enterOuterAlt(e,1),this.state=1200,this._errHandler.sync(this),this._input.LA(1)===p.DETACH&&(this.state=1198,this.match(p.DETACH),this.state=1199,this.match(p.SP)),this.state=1202,this.match(p.DELETE),this.state=1204,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1203,this.match(p.SP)),this.state=1206,this.expression(),this.state=1217,this._errHandler.sync(this);for(var t=this._interp.adaptivePredict(this._input,126,this._ctx);2!=t&&t!=r.atn.ATN.INVALID_ALT_NUMBER;)1===t&&(this.state=1208,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1207,this.match(p.SP)),this.state=1210,this.match(p.T__14),this.state=1212,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1211,this.match(p.SP)),this.state=1214,this.expression()),this.state=1219,this._errHandler.sync(this),t=this._interp.adaptivePredict(this._input,126,this._ctx)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},Pe.prototype=Object.create(r.ParserRuleContext.prototype),Pe.prototype.constructor=Pe,Pe.prototype.REMOVE=function(){return this.getToken(p.REMOVE,0)},Pe.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},Pe.prototype.removeItem=function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(Me):this.getTypedRuleContext(Me,e)},Pe.prototype.enterRule=function(e){e instanceof i&&e.enterRemoveClause(this)},Pe.prototype.exitRule=function(e){e instanceof i&&e.exitRemoveClause(this)},p.RemoveClauseContext=Pe,p.prototype.removeClause=function(){var e=new Pe(this,this._ctx,this.state);this.enterRule(e,152,p.RULE_removeClause);try{this.enterOuterAlt(e,1),this.state=1220,this.match(p.REMOVE),this.state=1221,this.match(p.SP),this.state=1222,this.removeItem(),this.state=1233,this._errHandler.sync(this);for(var t=this._interp.adaptivePredict(this._input,129,this._ctx);2!=t&&t!=r.atn.ATN.INVALID_ALT_NUMBER;)1===t&&(this.state=1224,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1223,this.match(p.SP)),this.state=1226,this.match(p.T__14),this.state=1228,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1227,this.match(p.SP)),this.state=1230,this.removeItem()),this.state=1235,this._errHandler.sync(this),t=this._interp.adaptivePredict(this._input,129,this._ctx)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},Me.prototype=Object.create(r.ParserRuleContext.prototype),Me.prototype.constructor=Me,Me.prototype.variable=function(){return this.getTypedRuleContext(Nn,0)},Me.prototype.nodeLabels=function(){return this.getTypedRuleContext(Lt,0)},Me.prototype.propertyExpression=function(){return this.getTypedRuleContext($n,0)},Me.prototype.enterRule=function(e){e instanceof i&&e.enterRemoveItem(this)},Me.prototype.exitRule=function(e){e instanceof i&&e.exitRemoveItem(this)},p.RemoveItemContext=Me,p.prototype.removeItem=function(){var e=new Me(this,this._ctx,this.state);this.enterRule(e,154,p.RULE_removeItem);try{switch(this.state=1240,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,130,this._ctx)){case 1:this.enterOuterAlt(e,1),this.state=1236,this.variable(),this.state=1237,this.nodeLabels();break;case 2:this.enterOuterAlt(e,2),this.state=1239,this.propertyExpression()}}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},Fe.prototype=Object.create(r.ParserRuleContext.prototype),Fe.prototype.constructor=Fe,Fe.prototype.FOREACH=function(){return this.getToken(p.FOREACH,0)},Fe.prototype.variable=function(){return this.getTypedRuleContext(Nn,0)},Fe.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},Fe.prototype.IN=function(){return this.getToken(p.IN,0)},Fe.prototype.expression=function(){return this.getTypedRuleContext(Dt,0)},Fe.prototype.clause=function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(se):this.getTypedRuleContext(se,e)},Fe.prototype.enterRule=function(e){e instanceof i&&e.enterForeachClause(this)},Fe.prototype.exitRule=function(e){e instanceof i&&e.exitForeachClause(this)},p.ForeachClauseContext=Fe,p.prototype.foreachClause=function(){var e=new Fe(this,this._ctx,this.state);this.enterRule(e,156,p.RULE_foreachClause);try{this.enterOuterAlt(e,1),this.state=1242,this.match(p.FOREACH),this.state=1244,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1243,this.match(p.SP)),this.state=1246,this.match(p.T__18),this.state=1248,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1247,this.match(p.SP)),this.state=1250,this.variable(),this.state=1251,this.match(p.SP),this.state=1252,this.match(p.IN),this.state=1253,this.match(p.SP),this.state=1254,this.expression(),this.state=1256,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1255,this.match(p.SP)),this.state=1258,this.match(p.T__21),this.state=1261,this._errHandler.sync(this);var t=1;do{if(1!==t)throw new r.error.NoViableAltException(this);this.state=1259,this.match(p.SP),this.state=1260,this.clause(),this.state=1263,this._errHandler.sync(this),t=this._interp.adaptivePredict(this._input,134,this._ctx)}while(2!=t&&t!=r.atn.ATN.INVALID_ALT_NUMBER);this.state=1266,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1265,this.match(p.SP)),this.state=1268,this.match(p.T__19)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},He.prototype=Object.create(r.ParserRuleContext.prototype),He.prototype.constructor=He,He.prototype.WITH=function(){return this.getToken(p.WITH,0)},He.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},He.prototype.returnBody=function(){return this.getTypedRuleContext(Ue,0)},He.prototype.DISTINCT=function(){return this.getToken(p.DISTINCT,0)},He.prototype.where=function(){return this.getTypedRuleContext(dt,0)},He.prototype.enterRule=function(e){e instanceof i&&e.enterWithClause(this)},He.prototype.exitRule=function(e){e instanceof i&&e.exitWithClause(this)},p.WithClauseContext=He,p.prototype.withClause=function(){var e=new He(this,this._ctx,this.state);this.enterRule(e,158,p.RULE_withClause);try{this.enterOuterAlt(e,1),this.state=1270,this.match(p.WITH),this.state=1275,this._errHandler.sync(this),1===this._interp.adaptivePredict(this._input,137,this._ctx)&&(this.state=1272,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1271,this.match(p.SP)),this.state=1274,this.match(p.DISTINCT)),this.state=1277,this.match(p.SP),this.state=1278,this.returnBody(),this.state=1283,this._errHandler.sync(this),1===this._interp.adaptivePredict(this._input,139,this._ctx)&&(this.state=1280,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1279,this.match(p.SP)),this.state=1282,this.where())}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},Be.prototype=Object.create(r.ParserRuleContext.prototype),Be.prototype.constructor=Be,Be.prototype.RETURN=function(){return this.getToken(p.RETURN,0)},Be.prototype.returnBody=function(){return this.getTypedRuleContext(Ue,0)},Be.prototype.DISTINCT=function(){return this.getToken(p.DISTINCT,0)},Be.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},Be.prototype.enterRule=function(e){e instanceof i&&e.enterReturnClause(this)},Be.prototype.exitRule=function(e){e instanceof i&&e.exitReturnClause(this)},p.ReturnClauseContext=Be,p.prototype.returnClause=function(){var e=new Be(this,this._ctx,this.state);this.enterRule(e,160,p.RULE_returnClause);try{this.enterOuterAlt(e,1),this.state=1285,this.match(p.RETURN),this.state=1290,this._errHandler.sync(this),1===this._interp.adaptivePredict(this._input,141,this._ctx)&&(this.state=1287,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1286,this.match(p.SP)),this.state=1289,this.match(p.DISTINCT)),this.state=1293,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1292,this.match(p.SP)),this.state=1295,this.returnBody()}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},Ue.prototype=Object.create(r.ParserRuleContext.prototype),Ue.prototype.constructor=Ue,Ue.prototype.returnItems=function(){return this.getTypedRuleContext(Ge,0)},Ue.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},Ue.prototype.order=function(){return this.getTypedRuleContext(Je,0)},Ue.prototype.skip=function(){return this.getTypedRuleContext(et,0)},Ue.prototype.limit=function(){return this.getTypedRuleContext(tt,0)},Ue.prototype.enterRule=function(e){e instanceof i&&e.enterReturnBody(this)},Ue.prototype.exitRule=function(e){e instanceof i&&e.exitReturnBody(this)},p.ReturnBodyContext=Ue,p.prototype.returnBody=function(){var e=new Ue(this,this._ctx,this.state);this.enterRule(e,162,p.RULE_returnBody);try{this.enterOuterAlt(e,1),this.state=1297,this.returnItems(),this.state=1300,this._errHandler.sync(this),1===this._interp.adaptivePredict(this._input,143,this._ctx)&&(this.state=1298,this.match(p.SP),this.state=1299,this.order()),this.state=1304,this._errHandler.sync(this),1===this._interp.adaptivePredict(this._input,144,this._ctx)&&(this.state=1302,this.match(p.SP),this.state=1303,this.skip()),this.state=1308,this._errHandler.sync(this),1===this._interp.adaptivePredict(this._input,145,this._ctx)&&(this.state=1306,this.match(p.SP),this.state=1307,this.limit())}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},je.prototype=Object.create(r.ParserRuleContext.prototype),je.prototype.constructor=je,je.prototype.procedureInvocation=function(){return this.getTypedRuleContext($e,0)},je.prototype.SP=function(){return this.getToken(p.SP,0)},je.prototype.procedureResults=function(){return this.getTypedRuleContext(Ke,0)},je.prototype.enterRule=function(e){e instanceof i&&e.enterFunc(this)},je.prototype.exitRule=function(e){e instanceof i&&e.exitFunc(this)},p.FuncContext=je,p.prototype.func=function(){var e=new je(this,this._ctx,this.state);this.enterRule(e,164,p.RULE_func);try{this.enterOuterAlt(e,1),this.state=1310,this.procedureInvocation(),this.state=1312,this._errHandler.sync(this),1===this._interp.adaptivePredict(this._input,146,this._ctx)&&(this.state=1311,this.match(p.SP)),this.state=1315,this._errHandler.sync(this),this._input.LA(1)===p.YIELD&&(this.state=1314,this.procedureResults())}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},Ge.prototype=Object.create(r.ParserRuleContext.prototype),Ge.prototype.constructor=Ge,Ge.prototype.returnItem=function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(Ye):this.getTypedRuleContext(Ye,e)},Ge.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},Ge.prototype.func=function(){return this.getTypedRuleContext(je,0)},Ge.prototype.enterRule=function(e){e instanceof i&&e.enterReturnItems(this)},Ge.prototype.exitRule=function(e){e instanceof i&&e.exitReturnItems(this)},p.ReturnItemsContext=Ge,p.prototype.returnItems=function(){var e=new Ge(this,this._ctx,this.state);this.enterRule(e,166,p.RULE_returnItems);try{switch(this.state=1346,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,154,this._ctx)){case 1:this.enterOuterAlt(e,1),this.state=1317,this.match(p.T__22),this.state=1328,this._errHandler.sync(this);for(var t=this._interp.adaptivePredict(this._input,150,this._ctx);2!=t&&t!=r.atn.ATN.INVALID_ALT_NUMBER;)1===t&&(this.state=1319,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1318,this.match(p.SP)),this.state=1321,this.match(p.T__14),this.state=1323,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1322,this.match(p.SP)),this.state=1325,this.returnItem()),this.state=1330,this._errHandler.sync(this),t=this._interp.adaptivePredict(this._input,150,this._ctx);break;case 2:for(this.enterOuterAlt(e,2),this.state=1331,this.returnItem(),this.state=1342,this._errHandler.sync(this),t=this._interp.adaptivePredict(this._input,153,this._ctx);2!=t&&t!=r.atn.ATN.INVALID_ALT_NUMBER;)1===t&&(this.state=1333,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1332,this.match(p.SP)),this.state=1335,this.match(p.T__14),this.state=1337,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1336,this.match(p.SP)),this.state=1339,this.returnItem()),this.state=1344,this._errHandler.sync(this),t=this._interp.adaptivePredict(this._input,153,this._ctx);break;case 3:this.enterOuterAlt(e,3),this.state=1345,this.func()}}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},Ye.prototype=Object.create(r.ParserRuleContext.prototype),Ye.prototype.constructor=Ye,Ye.prototype.expression=function(){return this.getTypedRuleContext(Dt,0)},Ye.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},Ye.prototype.AS=function(){return this.getToken(p.AS,0)},Ye.prototype.variable=function(){return this.getTypedRuleContext(Nn,0)},Ye.prototype.enterRule=function(e){e instanceof i&&e.enterReturnItem(this)},Ye.prototype.exitRule=function(e){e instanceof i&&e.exitReturnItem(this)},p.ReturnItemContext=Ye,p.prototype.returnItem=function(){var e=new Ye(this,this._ctx,this.state);this.enterRule(e,168,p.RULE_returnItem);try{switch(this.state=1355,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,155,this._ctx)){case 1:this.enterOuterAlt(e,1),this.state=1348,this.expression(),this.state=1349,this.match(p.SP),this.state=1350,this.match(p.AS),this.state=1351,this.match(p.SP),this.state=1352,this.variable();break;case 2:this.enterOuterAlt(e,2),this.state=1354,this.expression()}}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},ze.prototype=Object.create(r.ParserRuleContext.prototype),ze.prototype.constructor=ze,ze.prototype.CALL=function(){return this.getToken(p.CALL,0)},ze.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},ze.prototype.procedureInvocation=function(){return this.getTypedRuleContext($e,0)},ze.prototype.procedureResults=function(){return this.getTypedRuleContext(Ke,0)},ze.prototype.enterRule=function(e){e instanceof i&&e.enterCall(this)},ze.prototype.exitRule=function(e){e instanceof i&&e.exitCall(this)},p.CallContext=ze,p.prototype.call=function(){var e=new ze(this,this._ctx,this.state);this.enterRule(e,170,p.RULE_call);try{this.enterOuterAlt(e,1),this.state=1357,this.match(p.CALL),this.state=1358,this.match(p.SP),this.state=1359,this.procedureInvocation(),this.state=1361,this._errHandler.sync(this),1===this._interp.adaptivePredict(this._input,156,this._ctx)&&(this.state=1360,this.match(p.SP)),this.state=1364,this._errHandler.sync(this),this._input.LA(1)===p.YIELD&&(this.state=1363,this.procedureResults())}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},$e.prototype=Object.create(r.ParserRuleContext.prototype),$e.prototype.constructor=$e,$e.prototype.procedureInvocationBody=function(){return this.getTypedRuleContext(We,0)},$e.prototype.SP=function(){return this.getToken(p.SP,0)},$e.prototype.procedureArguments=function(){return this.getTypedRuleContext(Ve,0)},$e.prototype.enterRule=function(e){e instanceof i&&e.enterProcedureInvocation(this)},$e.prototype.exitRule=function(e){e instanceof i&&e.exitProcedureInvocation(this)},p.ProcedureInvocationContext=$e,p.prototype.procedureInvocation=function(){var e=new $e(this,this._ctx,this.state);this.enterRule(e,172,p.RULE_procedureInvocation);try{this.enterOuterAlt(e,1),this.state=1366,this.procedureInvocationBody(),this.state=1368,this._errHandler.sync(this),1===this._interp.adaptivePredict(this._input,158,this._ctx)&&(this.state=1367,this.match(p.SP)),this.state=1371,this._errHandler.sync(this),this._input.LA(1)===p.T__18&&(this.state=1370,this.procedureArguments())}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},We.prototype=Object.create(r.ParserRuleContext.prototype),We.prototype.constructor=We,We.prototype.namespace=function(){return this.getTypedRuleContext(Xn,0)},We.prototype.procedureName=function(){return this.getTypedRuleContext(Cn,0)},We.prototype.enterRule=function(e){e instanceof i&&e.enterProcedureInvocationBody(this)},We.prototype.exitRule=function(e){e instanceof i&&e.exitProcedureInvocationBody(this)},p.ProcedureInvocationBodyContext=We,p.prototype.procedureInvocationBody=function(){var e=new We(this,this._ctx,this.state);this.enterRule(e,174,p.RULE_procedureInvocationBody);try{this.enterOuterAlt(e,1),this.state=1373,this.namespace(),this.state=1374,this.procedureName()}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},Ve.prototype=Object.create(r.ParserRuleContext.prototype),Ve.prototype.constructor=Ve,Ve.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},Ve.prototype.expression=function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(Dt):this.getTypedRuleContext(Dt,e)},Ve.prototype.enterRule=function(e){e instanceof i&&e.enterProcedureArguments(this)},Ve.prototype.exitRule=function(e){e instanceof i&&e.exitProcedureArguments(this)},p.ProcedureArgumentsContext=Ve,p.prototype.procedureArguments=function(){var e=new Ve(this,this._ctx,this.state);this.enterRule(e,176,p.RULE_procedureArguments);var t=0;try{this.enterOuterAlt(e,1),this.state=1376,this.match(p.T__18),this.state=1378,this._errHandler.sync(this),1===this._interp.adaptivePredict(this._input,160,this._ctx)&&(this.state=1377,this.match(p.SP)),this.state=1381,this._errHandler.sync(this),(0==((t=this._input.LA(1))-3&-32)&&0!=(1<<t-3&(1<<p.T__2-3|1<<p.T__12-3|1<<p.T__13-3|1<<p.T__16-3|1<<p.T__18-3|1<<p.T__33-3))||0==(t-54&-32)&&0!=(1<<t-54&(1<<p.CYPHER-54|1<<p.EXPLAIN-54|1<<p.PROFILE-54|1<<p.USING-54|1<<p.PERIODIC-54|1<<p.COMMIT-54|1<<p.UNION-54|1<<p.ALL-54|1<<p.CREATE-54|1<<p.DROP-54|1<<p.INDEX-54|1<<p.ON-54|1<<p.CONSTRAINT-54|1<<p.ASSERT-54|1<<p.IS-54|1<<p.UNIQUE-54|1<<p.EXISTS-54|1<<p.LOAD-54|1<<p.CSV-54|1<<p.WITH-54|1<<p.HEADERS-54|1<<p.FROM-54|1<<p.AS-54|1<<p.FIELDTERMINATOR-54|1<<p.OPTIONAL-54|1<<p.MATCH-54|1<<p.UNWIND-54|1<<p.MERGE-54|1<<p.SET-54|1<<p.DETACH-54|1<<p.DELETE-54|1<<p.REMOVE-54))||0==(t-86&-32)&&0!=(1<<t-86&(1<<p.FOREACH-86|1<<p.IN-86|1<<p.DISTINCT-86|1<<p.RETURN-86|1<<p.ORDER-86|1<<p.BY-86|1<<p.L_SKIP-86|1<<p.LIMIT-86|1<<p.ASCENDING-86|1<<p.ASC-86|1<<p.DESCENDING-86|1<<p.DESC-86|1<<p.JOIN-86|1<<p.SCAN-86|1<<p.START-86|1<<p.NODE-86|1<<p.RELATIONSHIP-86|1<<p.REL-86|1<<p.WHERE-86|1<<p.SHORTESTPATH-86|1<<p.ALLSHORTESTPATHS-86|1<<p.OR-86|1<<p.XOR-86|1<<p.AND-86|1<<p.NOT-86|1<<p.STARTS-86|1<<p.ENDS-86|1<<p.CONTAINS-86|1<<p.NULL-86|1<<p.COUNT-86|1<<p.FILTER-86|1<<p.EXTRACT-86))||0==(t-118&-32)&&0!=(1<<t-118&(1<<p.ANY-118|1<<p.NONE-118|1<<p.SINGLE-118|1<<p.TRUE-118|1<<p.FALSE-118|1<<p.REDUCE-118|1<<p.CASE-118|1<<p.ELSE-118|1<<p.END-118|1<<p.WHEN-118|1<<p.THEN-118|1<<p.CALL-118|1<<p.YIELD-118|1<<p.KEY-118|1<<p.BTREE-118|1<<p.EXIST-118|1<<p.FOR-118|1<<p.OPTIONS-118|1<<p.EXECUTE-118|1<<p.DEFINED-118|1<<p.FUNCTION-118|1<<p.FUNCTIONS-118|1<<p.BOOSTED-118|1<<p.PROCEDURE-118|1<<p.PROCEDURES-118|1<<p.ADMIN-118|1<<p.ADMINISTRATOR-118|1<<p.BRIEF-118|1<<p.VERBOSE-118|1<<p.OUTPUT-118|1<<p.StringLiteral-118))||0==(t-151&-32)&&0!=(1<<t-151&(1<<p.HexInteger-151|1<<p.DecimalInteger-151|1<<p.OctalInteger-151|1<<p.HexLetter-151|1<<p.ExponentDecimalReal-151|1<<p.RegularDecimalReal-151|1<<p.UnescapedSymbolicName-151|1<<p.EscapedSymbolicName-151)))&&(this.state=1380,this.expression()),this.state=1393,this._errHandler.sync(this);for(var n=this._interp.adaptivePredict(this._input,164,this._ctx);2!=n&&n!=r.atn.ATN.INVALID_ALT_NUMBER;)1===n&&(this.state=1384,this._errHandler.sync(this),(t=this._input.LA(1))===p.SP&&(this.state=1383,this.match(p.SP)),this.state=1386,this.match(p.T__14),this.state=1388,this._errHandler.sync(this),(t=this._input.LA(1))===p.SP&&(this.state=1387,this.match(p.SP)),this.state=1390,this.expression()),this.state=1395,this._errHandler.sync(this),n=this._interp.adaptivePredict(this._input,164,this._ctx);this.state=1397,this._errHandler.sync(this),(t=this._input.LA(1))===p.SP&&(this.state=1396,this.match(p.SP)),this.state=1399,this.match(p.T__19)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},Ke.prototype=Object.create(r.ParserRuleContext.prototype),Ke.prototype.constructor=Ke,Ke.prototype.YIELD=function(){return this.getToken(p.YIELD,0)},Ke.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},Ke.prototype.procedureResult=function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(qe):this.getTypedRuleContext(qe,e)},Ke.prototype.where=function(){return this.getTypedRuleContext(dt,0)},Ke.prototype.enterRule=function(e){e instanceof i&&e.enterProcedureResults(this)},Ke.prototype.exitRule=function(e){e instanceof i&&e.exitProcedureResults(this)},p.ProcedureResultsContext=Ke,p.prototype.procedureResults=function(){var e=new Ke(this,this._ctx,this.state);this.enterRule(e,178,p.RULE_procedureResults);try{this.enterOuterAlt(e,1),this.state=1401,this.match(p.YIELD),this.state=1402,this.match(p.SP),this.state=1403,this.procedureResult(),this.state=1414,this._errHandler.sync(this);for(var t=this._interp.adaptivePredict(this._input,168,this._ctx);2!=t&&t!=r.atn.ATN.INVALID_ALT_NUMBER;)1===t&&(this.state=1405,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1404,this.match(p.SP)),this.state=1407,this.match(p.T__14),this.state=1409,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1408,this.match(p.SP)),this.state=1411,this.procedureResult()),this.state=1416,this._errHandler.sync(this),t=this._interp.adaptivePredict(this._input,168,this._ctx);this.state=1419,this._errHandler.sync(this),1===this._interp.adaptivePredict(this._input,169,this._ctx)&&(this.state=1417,this.match(p.SP),this.state=1418,this.where())}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},qe.prototype=Object.create(r.ParserRuleContext.prototype),qe.prototype.constructor=qe,qe.prototype.aliasedProcedureResult=function(){return this.getTypedRuleContext(Xe,0)},qe.prototype.simpleProcedureResult=function(){return this.getTypedRuleContext(Ze,0)},qe.prototype.enterRule=function(e){e instanceof i&&e.enterProcedureResult(this)},qe.prototype.exitRule=function(e){e instanceof i&&e.exitProcedureResult(this)},p.ProcedureResultContext=qe,p.prototype.procedureResult=function(){var e=new qe(this,this._ctx,this.state);this.enterRule(e,180,p.RULE_procedureResult);try{switch(this.state=1423,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,170,this._ctx)){case 1:this.enterOuterAlt(e,1),this.state=1421,this.aliasedProcedureResult();break;case 2:this.enterOuterAlt(e,2),this.state=1422,this.simpleProcedureResult()}}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},Xe.prototype=Object.create(r.ParserRuleContext.prototype),Xe.prototype.constructor=Xe,Xe.prototype.procedureOutput=function(){return this.getTypedRuleContext(Qe,0)},Xe.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},Xe.prototype.AS=function(){return this.getToken(p.AS,0)},Xe.prototype.variable=function(){return this.getTypedRuleContext(Nn,0)},Xe.prototype.enterRule=function(e){e instanceof i&&e.enterAliasedProcedureResult(this)},Xe.prototype.exitRule=function(e){e instanceof i&&e.exitAliasedProcedureResult(this)},p.AliasedProcedureResultContext=Xe,p.prototype.aliasedProcedureResult=function(){var e=new Xe(this,this._ctx,this.state);this.enterRule(e,182,p.RULE_aliasedProcedureResult);try{this.enterOuterAlt(e,1),this.state=1425,this.procedureOutput(),this.state=1426,this.match(p.SP),this.state=1427,this.match(p.AS),this.state=1428,this.match(p.SP),this.state=1429,this.variable()}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},Ze.prototype=Object.create(r.ParserRuleContext.prototype),Ze.prototype.constructor=Ze,Ze.prototype.procedureOutput=function(){return this.getTypedRuleContext(Qe,0)},Ze.prototype.enterRule=function(e){e instanceof i&&e.enterSimpleProcedureResult(this)},Ze.prototype.exitRule=function(e){e instanceof i&&e.exitSimpleProcedureResult(this)},p.SimpleProcedureResultContext=Ze,p.prototype.simpleProcedureResult=function(){var e=new Ze(this,this._ctx,this.state);this.enterRule(e,184,p.RULE_simpleProcedureResult);try{this.enterOuterAlt(e,1),this.state=1431,this.procedureOutput()}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},Qe.prototype=Object.create(r.ParserRuleContext.prototype),Qe.prototype.constructor=Qe,Qe.prototype.symbolicName=function(){return this.getTypedRuleContext(er,0)},Qe.prototype.enterRule=function(e){e instanceof i&&e.enterProcedureOutput(this)},Qe.prototype.exitRule=function(e){e instanceof i&&e.exitProcedureOutput(this)},p.ProcedureOutputContext=Qe,p.prototype.procedureOutput=function(){var e=new Qe(this,this._ctx,this.state);this.enterRule(e,186,p.RULE_procedureOutput);try{this.enterOuterAlt(e,1),this.state=1433,this.symbolicName()}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},Je.prototype=Object.create(r.ParserRuleContext.prototype),Je.prototype.constructor=Je,Je.prototype.ORDER=function(){return this.getToken(p.ORDER,0)},Je.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},Je.prototype.BY=function(){return this.getToken(p.BY,0)},Je.prototype.sortItem=function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(nt):this.getTypedRuleContext(nt,e)},Je.prototype.enterRule=function(e){e instanceof i&&e.enterOrder(this)},Je.prototype.exitRule=function(e){e instanceof i&&e.exitOrder(this)},p.OrderContext=Je,p.prototype.order=function(){var e=new Je(this,this._ctx,this.state);this.enterRule(e,188,p.RULE_order);try{this.enterOuterAlt(e,1),this.state=1435,this.match(p.ORDER),this.state=1436,this.match(p.SP),this.state=1437,this.match(p.BY),this.state=1438,this.match(p.SP),this.state=1439,this.sortItem(),this.state=1450,this._errHandler.sync(this);for(var t=this._interp.adaptivePredict(this._input,173,this._ctx);2!=t&&t!=r.atn.ATN.INVALID_ALT_NUMBER;)1===t&&(this.state=1441,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1440,this.match(p.SP)),this.state=1443,this.match(p.T__14),this.state=1445,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1444,this.match(p.SP)),this.state=1447,this.sortItem()),this.state=1452,this._errHandler.sync(this),t=this._interp.adaptivePredict(this._input,173,this._ctx)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},et.prototype=Object.create(r.ParserRuleContext.prototype),et.prototype.constructor=et,et.prototype.L_SKIP=function(){return this.getToken(p.L_SKIP,0)},et.prototype.SP=function(){return this.getToken(p.SP,0)},et.prototype.expression=function(){return this.getTypedRuleContext(Dt,0)},et.prototype.enterRule=function(e){e instanceof i&&e.enterSkip(this)},et.prototype.exitRule=function(e){e instanceof i&&e.exitSkip(this)},p.SkipContext=et,p.prototype.skip=function(){var e=new et(this,this._ctx,this.state);this.enterRule(e,190,p.RULE_skip);try{this.enterOuterAlt(e,1),this.state=1453,this.match(p.L_SKIP),this.state=1454,this.match(p.SP),this.state=1455,this.expression()}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},tt.prototype=Object.create(r.ParserRuleContext.prototype),tt.prototype.constructor=tt,tt.prototype.LIMIT=function(){return this.getToken(p.LIMIT,0)},tt.prototype.SP=function(){return this.getToken(p.SP,0)},tt.prototype.expression=function(){return this.getTypedRuleContext(Dt,0)},tt.prototype.enterRule=function(e){e instanceof i&&e.enterLimit(this)},tt.prototype.exitRule=function(e){e instanceof i&&e.exitLimit(this)},p.LimitContext=tt,p.prototype.limit=function(){var e=new tt(this,this._ctx,this.state);this.enterRule(e,192,p.RULE_limit);try{this.enterOuterAlt(e,1),this.state=1457,this.match(p.LIMIT),this.state=1458,this.match(p.SP),this.state=1459,this.expression()}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},nt.prototype=Object.create(r.ParserRuleContext.prototype),nt.prototype.constructor=nt,nt.prototype.expression=function(){return this.getTypedRuleContext(Dt,0)},nt.prototype.ASCENDING=function(){return this.getToken(p.ASCENDING,0)},nt.prototype.ASC=function(){return this.getToken(p.ASC,0)},nt.prototype.DESCENDING=function(){return this.getToken(p.DESCENDING,0)},nt.prototype.DESC=function(){return this.getToken(p.DESC,0)},nt.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},nt.prototype.enterRule=function(e){e instanceof i&&e.enterSortItem(this)},nt.prototype.exitRule=function(e){e instanceof i&&e.exitSortItem(this)},p.SortItemContext=nt,p.prototype.sortItem=function(){var e=new nt(this,this._ctx,this.state);this.enterRule(e,194,p.RULE_sortItem);var t=0;try{this.enterOuterAlt(e,1),this.state=1461,this.expression(),this.state=1469,this._errHandler.sync(this),1===this._interp.adaptivePredict(this._input,176,this._ctx)&&(this.state=1463,this._errHandler.sync(this),(t=this._input.LA(1))===p.SP&&(this.state=1462,this.match(p.SP)),this.state=1465,0!=((t=this._input.LA(1))-94&-32)||0==(1<<t-94&(1<<p.ASCENDING-94|1<<p.ASC-94|1<<p.DESCENDING-94|1<<p.DESC-94))?this._errHandler.recoverInline(this):(this._errHandler.reportMatch(this),this.consume()),this.state=1467,this._errHandler.sync(this),1===this._interp.adaptivePredict(this._input,175,this._ctx)&&(this.state=1466,this.match(p.SP)))}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},rt.prototype=Object.create(r.ParserRuleContext.prototype),rt.prototype.constructor=rt,rt.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},rt.prototype.USING=function(){return this.getToken(p.USING,0)},rt.prototype.INDEX=function(){return this.getToken(p.INDEX,0)},rt.prototype.variable=function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(Nn):this.getTypedRuleContext(Nn,e)},rt.prototype.nodeLabel=function(){return this.getTypedRuleContext(Ot,0)},rt.prototype.propertyKeys=function(){return this.getTypedRuleContext(Wn,0)},rt.prototype.JOIN=function(){return this.getToken(p.JOIN,0)},rt.prototype.ON=function(){return this.getToken(p.ON,0)},rt.prototype.SCAN=function(){return this.getToken(p.SCAN,0)},rt.prototype.enterRule=function(e){e instanceof i&&e.enterHint(this)},rt.prototype.exitRule=function(e){e instanceof i&&e.exitHint(this)},p.HintContext=rt,p.prototype.hint=function(){var e=new rt(this,this._ctx,this.state);this.enterRule(e,196,p.RULE_hint);try{switch(this.enterOuterAlt(e,1),this.state=1472,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1471,this.match(p.SP)),this.state=1520,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,184,this._ctx)){case 1:this.state=1474,this.match(p.USING),this.state=1475,this.match(p.SP),this.state=1476,this.match(p.INDEX),this.state=1477,this.match(p.SP),this.state=1478,this.variable(),this.state=1479,this.nodeLabel(),this.state=1481,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1480,this.match(p.SP)),this.state=1483,this.match(p.T__18),this.state=1485,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1484,this.match(p.SP)),this.state=1487,this.propertyKeys(),this.state=1489,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1488,this.match(p.SP)),this.state=1491,this.match(p.T__19);break;case 2:this.state=1493,this.match(p.USING),this.state=1494,this.match(p.SP),this.state=1495,this.match(p.JOIN),this.state=1496,this.match(p.SP),this.state=1497,this.match(p.ON),this.state=1498,this.match(p.SP),this.state=1499,this.variable(),this.state=1510,this._errHandler.sync(this);for(var t=this._interp.adaptivePredict(this._input,183,this._ctx);2!=t&&t!=r.atn.ATN.INVALID_ALT_NUMBER;)1===t&&(this.state=1501,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1500,this.match(p.SP)),this.state=1503,this.match(p.T__14),this.state=1505,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1504,this.match(p.SP)),this.state=1507,this.variable()),this.state=1512,this._errHandler.sync(this),t=this._interp.adaptivePredict(this._input,183,this._ctx);break;case 3:this.state=1513,this.match(p.USING),this.state=1514,this.match(p.SP),this.state=1515,this.match(p.SCAN),this.state=1516,this.match(p.SP),this.state=1517,this.variable(),this.state=1518,this.nodeLabel()}}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},it.prototype=Object.create(r.ParserRuleContext.prototype),it.prototype.constructor=it,it.prototype.START=function(){return this.getToken(p.START,0)},it.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},it.prototype.startPoint=function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(ot):this.getTypedRuleContext(ot,e)},it.prototype.where=function(){return this.getTypedRuleContext(dt,0)},it.prototype.enterRule=function(e){e instanceof i&&e.enterStartClause(this)},it.prototype.exitRule=function(e){e instanceof i&&e.exitStartClause(this)},p.StartClauseContext=it,p.prototype.startClause=function(){var e=new it(this,this._ctx,this.state);this.enterRule(e,198,p.RULE_startClause);try{this.enterOuterAlt(e,1),this.state=1522,this.match(p.START),this.state=1523,this.match(p.SP),this.state=1524,this.startPoint(),this.state=1535,this._errHandler.sync(this);for(var t=this._interp.adaptivePredict(this._input,187,this._ctx);2!=t&&t!=r.atn.ATN.INVALID_ALT_NUMBER;)1===t&&(this.state=1526,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1525,this.match(p.SP)),this.state=1528,this.match(p.T__14),this.state=1530,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1529,this.match(p.SP)),this.state=1532,this.startPoint()),this.state=1537,this._errHandler.sync(this),t=this._interp.adaptivePredict(this._input,187,this._ctx);this.state=1539,this._errHandler.sync(this),this._input.LA(1)===p.WHERE&&(this.state=1538,this.where())}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},ot.prototype=Object.create(r.ParserRuleContext.prototype),ot.prototype.constructor=ot,ot.prototype.variable=function(){return this.getTypedRuleContext(Nn,0)},ot.prototype.lookup=function(){return this.getTypedRuleContext(at,0)},ot.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},ot.prototype.enterRule=function(e){e instanceof i&&e.enterStartPoint(this)},ot.prototype.exitRule=function(e){e instanceof i&&e.exitStartPoint(this)},p.StartPointContext=ot,p.prototype.startPoint=function(){var e=new ot(this,this._ctx,this.state);this.enterRule(e,200,p.RULE_startPoint);try{this.enterOuterAlt(e,1),this.state=1541,this.variable(),this.state=1543,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1542,this.match(p.SP)),this.state=1545,this.match(p.T__11),this.state=1547,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1546,this.match(p.SP)),this.state=1549,this.lookup()}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},at.prototype=Object.create(r.ParserRuleContext.prototype),at.prototype.constructor=at,at.prototype.nodeLookup=function(){return this.getTypedRuleContext(st,0)},at.prototype.relationshipLookup=function(){return this.getTypedRuleContext(lt,0)},at.prototype.enterRule=function(e){e instanceof i&&e.enterLookup(this)},at.prototype.exitRule=function(e){e instanceof i&&e.exitLookup(this)},p.LookupContext=at,p.prototype.lookup=function(){var e=new at(this,this._ctx,this.state);this.enterRule(e,202,p.RULE_lookup);try{switch(this.state=1553,this._errHandler.sync(this),this._input.LA(1)){case p.NODE:this.enterOuterAlt(e,1),this.state=1551,this.nodeLookup();break;case p.RELATIONSHIP:case p.REL:this.enterOuterAlt(e,2),this.state=1552,this.relationshipLookup();break;default:throw new r.error.NoViableAltException(this)}}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},st.prototype=Object.create(r.ParserRuleContext.prototype),st.prototype.constructor=st,st.prototype.NODE=function(){return this.getToken(p.NODE,0)},st.prototype.identifiedIndexLookup=function(){return this.getTypedRuleContext(ct,0)},st.prototype.indexQuery=function(){return this.getTypedRuleContext(ut,0)},st.prototype.idLookup=function(){return this.getTypedRuleContext(ht,0)},st.prototype.SP=function(){return this.getToken(p.SP,0)},st.prototype.enterRule=function(e){e instanceof i&&e.enterNodeLookup(this)},st.prototype.exitRule=function(e){e instanceof i&&e.exitNodeLookup(this)},p.NodeLookupContext=st,p.prototype.nodeLookup=function(){var e=new st(this,this._ctx,this.state);this.enterRule(e,204,p.RULE_nodeLookup);try{switch(this.enterOuterAlt(e,1),this.state=1555,this.match(p.NODE),this.state=1557,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1556,this.match(p.SP)),this.state=1562,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,193,this._ctx)){case 1:this.state=1559,this.identifiedIndexLookup();break;case 2:this.state=1560,this.indexQuery();break;case 3:this.state=1561,this.idLookup()}}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},lt.prototype=Object.create(r.ParserRuleContext.prototype),lt.prototype.constructor=lt,lt.prototype.RELATIONSHIP=function(){return this.getToken(p.RELATIONSHIP,0)},lt.prototype.REL=function(){return this.getToken(p.REL,0)},lt.prototype.identifiedIndexLookup=function(){return this.getTypedRuleContext(ct,0)},lt.prototype.indexQuery=function(){return this.getTypedRuleContext(ut,0)},lt.prototype.idLookup=function(){return this.getTypedRuleContext(ht,0)},lt.prototype.enterRule=function(e){e instanceof i&&e.enterRelationshipLookup(this)},lt.prototype.exitRule=function(e){e instanceof i&&e.exitRelationshipLookup(this)},p.RelationshipLookupContext=lt,p.prototype.relationshipLookup=function(){var e=new lt(this,this._ctx,this.state);this.enterRule(e,206,p.RULE_relationshipLookup);var t=0;try{switch(this.enterOuterAlt(e,1),this.state=1564,(t=this._input.LA(1))!==p.RELATIONSHIP&&t!==p.REL?this._errHandler.recoverInline(this):(this._errHandler.reportMatch(this),this.consume()),this.state=1568,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,194,this._ctx)){case 1:this.state=1565,this.identifiedIndexLookup();break;case 2:this.state=1566,this.indexQuery();break;case 3:this.state=1567,this.idLookup()}}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},ct.prototype=Object.create(r.ParserRuleContext.prototype),ct.prototype.constructor=ct,ct.prototype.symbolicName=function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(er):this.getTypedRuleContext(er,e)},ct.prototype.StringLiteral=function(){return this.getToken(p.StringLiteral,0)},ct.prototype.parameter=function(){return this.getTypedRuleContext(Un,0)},ct.prototype.enterRule=function(e){e instanceof i&&e.enterIdentifiedIndexLookup(this)},ct.prototype.exitRule=function(e){e instanceof i&&e.exitIdentifiedIndexLookup(this)},p.IdentifiedIndexLookupContext=ct,p.prototype.identifiedIndexLookup=function(){var e=new ct(this,this._ctx,this.state);this.enterRule(e,208,p.RULE_identifiedIndexLookup);try{switch(this.enterOuterAlt(e,1),this.state=1570,this.match(p.T__1),this.state=1571,this.symbolicName(),this.state=1572,this.match(p.T__18),this.state=1573,this.symbolicName(),this.state=1574,this.match(p.T__11),this.state=1577,this._errHandler.sync(this),this._input.LA(1)){case p.StringLiteral:this.state=1575,this.match(p.StringLiteral);break;case p.T__13:case p.T__33:this.state=1576,this.parameter();break;default:throw new r.error.NoViableAltException(this)}this.state=1579,this.match(p.T__19)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},ut.prototype=Object.create(r.ParserRuleContext.prototype),ut.prototype.constructor=ut,ut.prototype.symbolicName=function(){return this.getTypedRuleContext(er,0)},ut.prototype.StringLiteral=function(){return this.getToken(p.StringLiteral,0)},ut.prototype.parameter=function(){return this.getTypedRuleContext(Un,0)},ut.prototype.enterRule=function(e){e instanceof i&&e.enterIndexQuery(this)},ut.prototype.exitRule=function(e){e instanceof i&&e.exitIndexQuery(this)},p.IndexQueryContext=ut,p.prototype.indexQuery=function(){var e=new ut(this,this._ctx,this.state);this.enterRule(e,210,p.RULE_indexQuery);try{switch(this.enterOuterAlt(e,1),this.state=1581,this.match(p.T__1),this.state=1582,this.symbolicName(),this.state=1583,this.match(p.T__18),this.state=1586,this._errHandler.sync(this),this._input.LA(1)){case p.StringLiteral:this.state=1584,this.match(p.StringLiteral);break;case p.T__13:case p.T__33:this.state=1585,this.parameter();break;default:throw new r.error.NoViableAltException(this)}this.state=1588,this.match(p.T__19)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},ht.prototype=Object.create(r.ParserRuleContext.prototype),ht.prototype.constructor=ht,ht.prototype.literalIds=function(){return this.getTypedRuleContext(pt,0)},ht.prototype.parameter=function(){return this.getTypedRuleContext(Un,0)},ht.prototype.enterRule=function(e){e instanceof i&&e.enterIdLookup(this)},ht.prototype.exitRule=function(e){e instanceof i&&e.exitIdLookup(this)},p.IdLookupContext=ht,p.prototype.idLookup=function(){var e=new ht(this,this._ctx,this.state);this.enterRule(e,212,p.RULE_idLookup);try{switch(this.enterOuterAlt(e,1),this.state=1590,this.match(p.T__18),this.state=1594,this._errHandler.sync(this),this._input.LA(1)){case p.HexInteger:case p.DecimalInteger:case p.OctalInteger:this.state=1591,this.literalIds();break;case p.T__13:case p.T__33:this.state=1592,this.parameter();break;case p.T__22:this.state=1593,this.match(p.T__22);break;default:throw new r.error.NoViableAltException(this)}this.state=1596,this.match(p.T__19)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},pt.prototype=Object.create(r.ParserRuleContext.prototype),pt.prototype.constructor=pt,pt.prototype.integerLiteral=function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(Kn):this.getTypedRuleContext(Kn,e)},pt.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},pt.prototype.enterRule=function(e){e instanceof i&&e.enterLiteralIds(this)},pt.prototype.exitRule=function(e){e instanceof i&&e.exitLiteralIds(this)},p.LiteralIdsContext=pt,p.prototype.literalIds=function(){var e=new pt(this,this._ctx,this.state);this.enterRule(e,214,p.RULE_literalIds);var t=0;try{for(this.enterOuterAlt(e,1),this.state=1598,this.integerLiteral(),this.state=1609,this._errHandler.sync(this),t=this._input.LA(1);t===p.T__14||t===p.SP;)this.state=1600,this._errHandler.sync(this),(t=this._input.LA(1))===p.SP&&(this.state=1599,this.match(p.SP)),this.state=1602,this.match(p.T__14),this.state=1604,this._errHandler.sync(this),(t=this._input.LA(1))===p.SP&&(this.state=1603,this.match(p.SP)),this.state=1606,this.integerLiteral(),this.state=1611,this._errHandler.sync(this),t=this._input.LA(1)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},dt.prototype=Object.create(r.ParserRuleContext.prototype),dt.prototype.constructor=dt,dt.prototype.WHERE=function(){return this.getToken(p.WHERE,0)},dt.prototype.SP=function(){return this.getToken(p.SP,0)},dt.prototype.expression=function(){return this.getTypedRuleContext(Dt,0)},dt.prototype.enterRule=function(e){e instanceof i&&e.enterWhere(this)},dt.prototype.exitRule=function(e){e instanceof i&&e.exitWhere(this)},p.WhereContext=dt,p.prototype.where=function(){var e=new dt(this,this._ctx,this.state);this.enterRule(e,216,p.RULE_where);try{this.enterOuterAlt(e,1),this.state=1612,this.match(p.WHERE),this.state=1613,this.match(p.SP),this.state=1614,this.expression()}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},ft.prototype=Object.create(r.ParserRuleContext.prototype),ft.prototype.constructor=ft,ft.prototype.patternPart=function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(mt):this.getTypedRuleContext(mt,e)},ft.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},ft.prototype.enterRule=function(e){e instanceof i&&e.enterPattern(this)},ft.prototype.exitRule=function(e){e instanceof i&&e.exitPattern(this)},p.PatternContext=ft,p.prototype.pattern=function(){var e=new ft(this,this._ctx,this.state);this.enterRule(e,218,p.RULE_pattern);try{this.enterOuterAlt(e,1),this.state=1616,this.patternPart(),this.state=1627,this._errHandler.sync(this);for(var t=this._interp.adaptivePredict(this._input,203,this._ctx);2!=t&&t!=r.atn.ATN.INVALID_ALT_NUMBER;)1===t&&(this.state=1618,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1617,this.match(p.SP)),this.state=1620,this.match(p.T__14),this.state=1622,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1621,this.match(p.SP)),this.state=1624,this.patternPart()),this.state=1629,this._errHandler.sync(this),t=this._interp.adaptivePredict(this._input,203,this._ctx)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},mt.prototype=Object.create(r.ParserRuleContext.prototype),mt.prototype.constructor=mt,mt.prototype.variable=function(){return this.getTypedRuleContext(Nn,0)},mt.prototype.anonymousPatternPart=function(){return this.getTypedRuleContext(gt,0)},mt.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},mt.prototype.enterRule=function(e){e instanceof i&&e.enterPatternPart(this)},mt.prototype.exitRule=function(e){e instanceof i&&e.exitPatternPart(this)},p.PatternPartContext=mt,p.prototype.patternPart=function(){var e=new mt(this,this._ctx,this.state);this.enterRule(e,220,p.RULE_patternPart);try{switch(this.state=1641,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,206,this._ctx)){case 1:this.enterOuterAlt(e,1),this.state=1630,this.variable(),this.state=1632,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1631,this.match(p.SP)),this.state=1634,this.match(p.T__11),this.state=1636,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1635,this.match(p.SP)),this.state=1638,this.anonymousPatternPart();break;case 2:this.enterOuterAlt(e,2),this.state=1640,this.anonymousPatternPart()}}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},gt.prototype=Object.create(r.ParserRuleContext.prototype),gt.prototype.constructor=gt,gt.prototype.shortestPathPatternFunction=function(){return this.getTypedRuleContext(cn,0)},gt.prototype.patternElement=function(){return this.getTypedRuleContext(yt,0)},gt.prototype.enterRule=function(e){e instanceof i&&e.enterAnonymousPatternPart(this)},gt.prototype.exitRule=function(e){e instanceof i&&e.exitAnonymousPatternPart(this)},p.AnonymousPatternPartContext=gt,p.prototype.anonymousPatternPart=function(){var e=new gt(this,this._ctx,this.state);this.enterRule(e,222,p.RULE_anonymousPatternPart);try{switch(this.state=1645,this._errHandler.sync(this),this._input.LA(1)){case p.SHORTESTPATH:case p.ALLSHORTESTPATHS:this.enterOuterAlt(e,1),this.state=1643,this.shortestPathPatternFunction();break;case p.T__18:this.enterOuterAlt(e,2),this.state=1644,this.patternElement();break;default:throw new r.error.NoViableAltException(this)}}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},yt.prototype=Object.create(r.ParserRuleContext.prototype),yt.prototype.constructor=yt,yt.prototype.nodePattern=function(){return this.getTypedRuleContext(vt,0)},yt.prototype.patternElementChain=function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(_t):this.getTypedRuleContext(_t,e)},yt.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},yt.prototype.patternElement=function(){return this.getTypedRuleContext(yt,0)},yt.prototype.enterRule=function(e){e instanceof i&&e.enterPatternElement(this)},yt.prototype.exitRule=function(e){e instanceof i&&e.exitPatternElement(this)},p.PatternElementContext=yt,p.prototype.patternElement=function(){var e=new yt(this,this._ctx,this.state);this.enterRule(e,224,p.RULE_patternElement);try{switch(this.state=1661,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,210,this._ctx)){case 1:this.enterOuterAlt(e,1),this.state=1647,this.nodePattern(),this.state=1654,this._errHandler.sync(this);for(var t=this._interp.adaptivePredict(this._input,209,this._ctx);2!=t&&t!=r.atn.ATN.INVALID_ALT_NUMBER;)1===t&&(this.state=1649,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1648,this.match(p.SP)),this.state=1651,this.patternElementChain()),this.state=1656,this._errHandler.sync(this),t=this._interp.adaptivePredict(this._input,209,this._ctx);break;case 2:this.enterOuterAlt(e,2),this.state=1657,this.match(p.T__18),this.state=1658,this.patternElement(),this.state=1659,this.match(p.T__19)}}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},vt.prototype=Object.create(r.ParserRuleContext.prototype),vt.prototype.constructor=vt,vt.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},vt.prototype.variable=function(){return this.getTypedRuleContext(Nn,0)},vt.prototype.nodeLabels=function(){return this.getTypedRuleContext(Lt,0)},vt.prototype.properties=function(){return this.getTypedRuleContext(St,0)},vt.prototype.enterRule=function(e){e instanceof i&&e.enterNodePattern(this)},vt.prototype.exitRule=function(e){e instanceof i&&e.exitNodePattern(this)},p.NodePatternContext=vt,p.prototype.nodePattern=function(){var e=new vt(this,this._ctx,this.state);this.enterRule(e,226,p.RULE_nodePattern);var t=0;try{this.enterOuterAlt(e,1),this.state=1663,this.match(p.T__18),this.state=1665,this._errHandler.sync(this),(t=this._input.LA(1))===p.SP&&(this.state=1664,this.match(p.SP)),this.state=1671,this._errHandler.sync(this),(0==((t=this._input.LA(1))-54&-32)&&0!=(1<<t-54&(1<<p.CYPHER-54|1<<p.EXPLAIN-54|1<<p.PROFILE-54|1<<p.USING-54|1<<p.PERIODIC-54|1<<p.COMMIT-54|1<<p.UNION-54|1<<p.ALL-54|1<<p.CREATE-54|1<<p.DROP-54|1<<p.INDEX-54|1<<p.ON-54|1<<p.CONSTRAINT-54|1<<p.ASSERT-54|1<<p.IS-54|1<<p.UNIQUE-54|1<<p.EXISTS-54|1<<p.LOAD-54|1<<p.CSV-54|1<<p.WITH-54|1<<p.HEADERS-54|1<<p.FROM-54|1<<p.AS-54|1<<p.FIELDTERMINATOR-54|1<<p.OPTIONAL-54|1<<p.MATCH-54|1<<p.UNWIND-54|1<<p.MERGE-54|1<<p.SET-54|1<<p.DETACH-54|1<<p.DELETE-54|1<<p.REMOVE-54))||0==(t-86&-32)&&0!=(1<<t-86&(1<<p.FOREACH-86|1<<p.IN-86|1<<p.DISTINCT-86|1<<p.RETURN-86|1<<p.ORDER-86|1<<p.BY-86|1<<p.L_SKIP-86|1<<p.LIMIT-86|1<<p.ASCENDING-86|1<<p.ASC-86|1<<p.DESCENDING-86|1<<p.DESC-86|1<<p.JOIN-86|1<<p.SCAN-86|1<<p.START-86|1<<p.NODE-86|1<<p.RELATIONSHIP-86|1<<p.REL-86|1<<p.WHERE-86|1<<p.SHORTESTPATH-86|1<<p.ALLSHORTESTPATHS-86|1<<p.OR-86|1<<p.XOR-86|1<<p.AND-86|1<<p.NOT-86|1<<p.STARTS-86|1<<p.ENDS-86|1<<p.CONTAINS-86|1<<p.NULL-86|1<<p.COUNT-86|1<<p.FILTER-86|1<<p.EXTRACT-86))||0==(t-118&-32)&&0!=(1<<t-118&(1<<p.ANY-118|1<<p.NONE-118|1<<p.SINGLE-118|1<<p.TRUE-118|1<<p.FALSE-118|1<<p.REDUCE-118|1<<p.CASE-118|1<<p.ELSE-118|1<<p.END-118|1<<p.WHEN-118|1<<p.THEN-118|1<<p.CALL-118|1<<p.YIELD-118|1<<p.KEY-118|1<<p.BTREE-118|1<<p.EXIST-118|1<<p.FOR-118|1<<p.OPTIONS-118|1<<p.EXECUTE-118|1<<p.DEFINED-118|1<<p.FUNCTION-118|1<<p.FUNCTIONS-118|1<<p.BOOSTED-118|1<<p.PROCEDURE-118|1<<p.PROCEDURES-118|1<<p.ADMIN-118|1<<p.ADMINISTRATOR-118|1<<p.BRIEF-118|1<<p.VERBOSE-118|1<<p.OUTPUT-118))||0==(t-154&-32)&&0!=(1<<t-154&(1<<p.HexLetter-154|1<<p.UnescapedSymbolicName-154|1<<p.EscapedSymbolicName-154)))&&(this.state=1667,this.variable(),this.state=1669,this._errHandler.sync(this),(t=this._input.LA(1))===p.SP&&(this.state=1668,this.match(p.SP))),this.state=1677,this._errHandler.sync(this),(t=this._input.LA(1))===p.T__1&&(this.state=1673,this.nodeLabels(),this.state=1675,this._errHandler.sync(this),(t=this._input.LA(1))===p.SP&&(this.state=1674,this.match(p.SP))),this.state=1683,this._errHandler.sync(this),(t=this._input.LA(1))!==p.T__13&&t!==p.T__33||(this.state=1679,this.properties(),this.state=1681,this._errHandler.sync(this),(t=this._input.LA(1))===p.SP&&(this.state=1680,this.match(p.SP))),this.state=1685,this.match(p.T__19)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},_t.prototype=Object.create(r.ParserRuleContext.prototype),_t.prototype.constructor=_t,_t.prototype.relationshipPattern=function(){return this.getTypedRuleContext(bt,0)},_t.prototype.nodePattern=function(){return this.getTypedRuleContext(vt,0)},_t.prototype.SP=function(){return this.getToken(p.SP,0)},_t.prototype.enterRule=function(e){e instanceof i&&e.enterPatternElementChain(this)},_t.prototype.exitRule=function(e){e instanceof i&&e.exitPatternElementChain(this)},p.PatternElementChainContext=_t,p.prototype.patternElementChain=function(){var e=new _t(this,this._ctx,this.state);this.enterRule(e,228,p.RULE_patternElementChain);try{this.enterOuterAlt(e,1),this.state=1687,this.relationshipPattern(),this.state=1689,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1688,this.match(p.SP)),this.state=1691,this.nodePattern()}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},bt.prototype=Object.create(r.ParserRuleContext.prototype),bt.prototype.constructor=bt,bt.prototype.relationshipPatternStart=function(){return this.getTypedRuleContext(Et,0)},bt.prototype.relationshipPatternEnd=function(){return this.getTypedRuleContext(Tt,0)},bt.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},bt.prototype.relationshipDetail=function(){return this.getTypedRuleContext(xt,0)},bt.prototype.enterRule=function(e){e instanceof i&&e.enterRelationshipPattern(this)},bt.prototype.exitRule=function(e){e instanceof i&&e.exitRelationshipPattern(this)},p.RelationshipPatternContext=bt,p.prototype.relationshipPattern=function(){var e=new bt(this,this._ctx,this.state);this.enterRule(e,230,p.RULE_relationshipPattern);try{this.enterOuterAlt(e,1),this.state=1693,this.relationshipPatternStart(),this.state=1695,this._errHandler.sync(this),1===this._interp.adaptivePredict(this._input,219,this._ctx)&&(this.state=1694,this.match(p.SP)),this.state=1698,this._errHandler.sync(this),this._input.LA(1)===p.T__16&&(this.state=1697,this.relationshipDetail()),this.state=1701,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1700,this.match(p.SP)),this.state=1703,this.relationshipPatternEnd()}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},Et.prototype=Object.create(r.ParserRuleContext.prototype),Et.prototype.constructor=Et,Et.prototype.leftArrowHead=function(){return this.getTypedRuleContext(Zn,0)},Et.prototype.dash=function(){return this.getTypedRuleContext(Jn,0)},Et.prototype.SP=function(){return this.getToken(p.SP,0)},Et.prototype.enterRule=function(e){e instanceof i&&e.enterRelationshipPatternStart(this)},Et.prototype.exitRule=function(e){e instanceof i&&e.exitRelationshipPatternStart(this)},p.RelationshipPatternStartContext=Et,p.prototype.relationshipPatternStart=function(){var e=new Et(this,this._ctx,this.state);this.enterRule(e,232,p.RULE_relationshipPatternStart);try{switch(this.state=1712,this._errHandler.sync(this),this._input.LA(1)){case p.T__29:case p.T__34:case p.T__35:case p.T__36:case p.T__37:this.enterOuterAlt(e,1),this.state=1705,this.leftArrowHead(),this.state=1707,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1706,this.match(p.SP)),this.state=1709,this.dash();break;case p.T__2:case p.T__42:case p.T__43:case p.T__44:case p.T__45:case p.T__46:case p.T__47:case p.T__48:case p.T__49:case p.T__50:case p.T__51:case p.T__52:this.enterOuterAlt(e,2),this.state=1711,this.dash();break;default:throw new r.error.NoViableAltException(this)}}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},Tt.prototype=Object.create(r.ParserRuleContext.prototype),Tt.prototype.constructor=Tt,Tt.prototype.dash=function(){return this.getTypedRuleContext(Jn,0)},Tt.prototype.rightArrowHead=function(){return this.getTypedRuleContext(Qn,0)},Tt.prototype.SP=function(){return this.getToken(p.SP,0)},Tt.prototype.enterRule=function(e){e instanceof i&&e.enterRelationshipPatternEnd(this)},Tt.prototype.exitRule=function(e){e instanceof i&&e.exitRelationshipPatternEnd(this)},p.RelationshipPatternEndContext=Tt,p.prototype.relationshipPatternEnd=function(){var e=new Tt(this,this._ctx,this.state);this.enterRule(e,234,p.RULE_relationshipPatternEnd);try{switch(this.state=1721,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,225,this._ctx)){case 1:this.enterOuterAlt(e,1),this.state=1714,this.dash(),this.state=1716,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1715,this.match(p.SP)),this.state=1718,this.rightArrowHead();break;case 2:this.enterOuterAlt(e,2),this.state=1720,this.dash()}}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},xt.prototype=Object.create(r.ParserRuleContext.prototype),xt.prototype.constructor=xt,xt.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},xt.prototype.variable=function(){return this.getTypedRuleContext(Nn,0)},xt.prototype.relationshipTypes=function(){return this.getTypedRuleContext(At,0)},xt.prototype.rangeLiteral=function(){return this.getTypedRuleContext(Nt,0)},xt.prototype.properties=function(){return this.getTypedRuleContext(St,0)},xt.prototype.enterRule=function(e){e instanceof i&&e.enterRelationshipDetail(this)},xt.prototype.exitRule=function(e){e instanceof i&&e.exitRelationshipDetail(this)},p.RelationshipDetailContext=xt,p.prototype.relationshipDetail=function(){var e=new xt(this,this._ctx,this.state);this.enterRule(e,236,p.RULE_relationshipDetail);var t=0;try{this.enterOuterAlt(e,1),this.state=1723,this.match(p.T__16),this.state=1725,this._errHandler.sync(this),(t=this._input.LA(1))===p.SP&&(this.state=1724,this.match(p.SP)),this.state=1731,this._errHandler.sync(this),(0==((t=this._input.LA(1))-54&-32)&&0!=(1<<t-54&(1<<p.CYPHER-54|1<<p.EXPLAIN-54|1<<p.PROFILE-54|1<<p.USING-54|1<<p.PERIODIC-54|1<<p.COMMIT-54|1<<p.UNION-54|1<<p.ALL-54|1<<p.CREATE-54|1<<p.DROP-54|1<<p.INDEX-54|1<<p.ON-54|1<<p.CONSTRAINT-54|1<<p.ASSERT-54|1<<p.IS-54|1<<p.UNIQUE-54|1<<p.EXISTS-54|1<<p.LOAD-54|1<<p.CSV-54|1<<p.WITH-54|1<<p.HEADERS-54|1<<p.FROM-54|1<<p.AS-54|1<<p.FIELDTERMINATOR-54|1<<p.OPTIONAL-54|1<<p.MATCH-54|1<<p.UNWIND-54|1<<p.MERGE-54|1<<p.SET-54|1<<p.DETACH-54|1<<p.DELETE-54|1<<p.REMOVE-54))||0==(t-86&-32)&&0!=(1<<t-86&(1<<p.FOREACH-86|1<<p.IN-86|1<<p.DISTINCT-86|1<<p.RETURN-86|1<<p.ORDER-86|1<<p.BY-86|1<<p.L_SKIP-86|1<<p.LIMIT-86|1<<p.ASCENDING-86|1<<p.ASC-86|1<<p.DESCENDING-86|1<<p.DESC-86|1<<p.JOIN-86|1<<p.SCAN-86|1<<p.START-86|1<<p.NODE-86|1<<p.RELATIONSHIP-86|1<<p.REL-86|1<<p.WHERE-86|1<<p.SHORTESTPATH-86|1<<p.ALLSHORTESTPATHS-86|1<<p.OR-86|1<<p.XOR-86|1<<p.AND-86|1<<p.NOT-86|1<<p.STARTS-86|1<<p.ENDS-86|1<<p.CONTAINS-86|1<<p.NULL-86|1<<p.COUNT-86|1<<p.FILTER-86|1<<p.EXTRACT-86))||0==(t-118&-32)&&0!=(1<<t-118&(1<<p.ANY-118|1<<p.NONE-118|1<<p.SINGLE-118|1<<p.TRUE-118|1<<p.FALSE-118|1<<p.REDUCE-118|1<<p.CASE-118|1<<p.ELSE-118|1<<p.END-118|1<<p.WHEN-118|1<<p.THEN-118|1<<p.CALL-118|1<<p.YIELD-118|1<<p.KEY-118|1<<p.BTREE-118|1<<p.EXIST-118|1<<p.FOR-118|1<<p.OPTIONS-118|1<<p.EXECUTE-118|1<<p.DEFINED-118|1<<p.FUNCTION-118|1<<p.FUNCTIONS-118|1<<p.BOOSTED-118|1<<p.PROCEDURE-118|1<<p.PROCEDURES-118|1<<p.ADMIN-118|1<<p.ADMINISTRATOR-118|1<<p.BRIEF-118|1<<p.VERBOSE-118|1<<p.OUTPUT-118))||0==(t-154&-32)&&0!=(1<<t-154&(1<<p.HexLetter-154|1<<p.UnescapedSymbolicName-154|1<<p.EscapedSymbolicName-154)))&&(this.state=1727,this.variable(),this.state=1729,this._errHandler.sync(this),(t=this._input.LA(1))===p.SP&&(this.state=1728,this.match(p.SP))),this.state=1737,this._errHandler.sync(this),(t=this._input.LA(1))===p.T__1&&(this.state=1733,this.relationshipTypes(),this.state=1735,this._errHandler.sync(this),(t=this._input.LA(1))===p.SP&&(this.state=1734,this.match(p.SP))),this.state=1740,this._errHandler.sync(this),(t=this._input.LA(1))===p.T__22&&(this.state=1739,this.rangeLiteral()),this.state=1746,this._errHandler.sync(this),(t=this._input.LA(1))!==p.T__13&&t!==p.T__33||(this.state=1742,this.properties(),this.state=1744,this._errHandler.sync(this),(t=this._input.LA(1))===p.SP&&(this.state=1743,this.match(p.SP))),this.state=1748,this.match(p.T__17)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},St.prototype=Object.create(r.ParserRuleContext.prototype),St.prototype.constructor=St,St.prototype.mapLiteral=function(){return this.getTypedRuleContext(kn,0)},St.prototype.parameter=function(){return this.getTypedRuleContext(Un,0)},St.prototype.enterRule=function(e){e instanceof i&&e.enterProperties(this)},St.prototype.exitRule=function(e){e instanceof i&&e.exitProperties(this)},p.PropertiesContext=St,p.prototype.properties=function(){var e=new St(this,this._ctx,this.state);this.enterRule(e,238,p.RULE_properties);try{switch(this.state=1752,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,234,this._ctx)){case 1:this.enterOuterAlt(e,1),this.state=1750,this.mapLiteral();break;case 2:this.enterOuterAlt(e,2),this.state=1751,this.parameter()}}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},Ct.prototype=Object.create(r.ParserRuleContext.prototype),Ct.prototype.constructor=Ct,Ct.prototype.relTypeName=function(){return this.getTypedRuleContext(kt,0)},Ct.prototype.SP=function(){return this.getToken(p.SP,0)},Ct.prototype.enterRule=function(e){e instanceof i&&e.enterRelType(this)},Ct.prototype.exitRule=function(e){e instanceof i&&e.exitRelType(this)},p.RelTypeContext=Ct,p.prototype.relType=function(){var e=new Ct(this,this._ctx,this.state);this.enterRule(e,240,p.RULE_relType);try{this.enterOuterAlt(e,1),this.state=1754,this.match(p.T__1),this.state=1756,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1755,this.match(p.SP)),this.state=1758,this.relTypeName()}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},At.prototype=Object.create(r.ParserRuleContext.prototype),At.prototype.constructor=At,At.prototype.relationshipType=function(){return this.getTypedRuleContext(Rt,0)},At.prototype.relationshipTypeOptionalColon=function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(wt):this.getTypedRuleContext(wt,e)},At.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},At.prototype.enterRule=function(e){e instanceof i&&e.enterRelationshipTypes(this)},At.prototype.exitRule=function(e){e instanceof i&&e.exitRelationshipTypes(this)},p.RelationshipTypesContext=At,p.prototype.relationshipTypes=function(){var e=new At(this,this._ctx,this.state);this.enterRule(e,242,p.RULE_relationshipTypes);try{this.enterOuterAlt(e,1),this.state=1760,this.relationshipType(),this.state=1768,this._errHandler.sync(this);for(var t=this._interp.adaptivePredict(this._input,237,this._ctx);2!=t&&t!=r.atn.ATN.INVALID_ALT_NUMBER;)1===t&&(this.state=1762,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1761,this.match(p.SP)),this.state=1764,this.match(p.T__21),this.state=1765,this.relationshipTypeOptionalColon()),this.state=1770,this._errHandler.sync(this),t=this._interp.adaptivePredict(this._input,237,this._ctx)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},Rt.prototype=Object.create(r.ParserRuleContext.prototype),Rt.prototype.constructor=Rt,Rt.prototype.relTypeName=function(){return this.getTypedRuleContext(kt,0)},Rt.prototype.enterRule=function(e){e instanceof i&&e.enterRelationshipType(this)},Rt.prototype.exitRule=function(e){e instanceof i&&e.exitRelationshipType(this)},p.RelationshipTypeContext=Rt,p.prototype.relationshipType=function(){var e=new Rt(this,this._ctx,this.state);this.enterRule(e,244,p.RULE_relationshipType);try{this.enterOuterAlt(e,1),this.state=1771,this.match(p.T__1),this.state=1772,this.relTypeName()}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},wt.prototype=Object.create(r.ParserRuleContext.prototype),wt.prototype.constructor=wt,wt.prototype.relTypeName=function(){return this.getTypedRuleContext(kt,0)},wt.prototype.enterRule=function(e){e instanceof i&&e.enterRelationshipTypeOptionalColon(this)},wt.prototype.exitRule=function(e){e instanceof i&&e.exitRelationshipTypeOptionalColon(this)},p.RelationshipTypeOptionalColonContext=wt,p.prototype.relationshipTypeOptionalColon=function(){var e=new wt(this,this._ctx,this.state);this.enterRule(e,246,p.RULE_relationshipTypeOptionalColon);try{this.enterOuterAlt(e,1),this.state=1775,this._errHandler.sync(this),this._input.LA(1)===p.T__1&&(this.state=1774,this.match(p.T__1)),this.state=1777,this.relTypeName()}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},Lt.prototype=Object.create(r.ParserRuleContext.prototype),Lt.prototype.constructor=Lt,Lt.prototype.nodeLabel=function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(Ot):this.getTypedRuleContext(Ot,e)},Lt.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},Lt.prototype.enterRule=function(e){e instanceof i&&e.enterNodeLabels(this)},Lt.prototype.exitRule=function(e){e instanceof i&&e.exitNodeLabels(this)},p.NodeLabelsContext=Lt,p.prototype.nodeLabels=function(){var e=new Lt(this,this._ctx,this.state);this.enterRule(e,248,p.RULE_nodeLabels);try{this.enterOuterAlt(e,1),this.state=1779,this.nodeLabel(),this.state=1786,this._errHandler.sync(this);for(var t=this._interp.adaptivePredict(this._input,240,this._ctx);2!=t&&t!=r.atn.ATN.INVALID_ALT_NUMBER;)1===t&&(this.state=1781,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1780,this.match(p.SP)),this.state=1783,this.nodeLabel()),this.state=1788,this._errHandler.sync(this),t=this._interp.adaptivePredict(this._input,240,this._ctx)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},Ot.prototype=Object.create(r.ParserRuleContext.prototype),Ot.prototype.constructor=Ot,Ot.prototype.labelName=function(){return this.getTypedRuleContext(It,0)},Ot.prototype.enterRule=function(e){e instanceof i&&e.enterNodeLabel(this)},Ot.prototype.exitRule=function(e){e instanceof i&&e.exitNodeLabel(this)},p.NodeLabelContext=Ot,p.prototype.nodeLabel=function(){var e=new Ot(this,this._ctx,this.state);this.enterRule(e,250,p.RULE_nodeLabel);try{this.enterOuterAlt(e,1),this.state=1789,this.match(p.T__1),this.state=1790,this.labelName()}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},Nt.prototype=Object.create(r.ParserRuleContext.prototype),Nt.prototype.constructor=Nt,Nt.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},Nt.prototype.integerLiteral=function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(Kn):this.getTypedRuleContext(Kn,e)},Nt.prototype.enterRule=function(e){e instanceof i&&e.enterRangeLiteral(this)},Nt.prototype.exitRule=function(e){e instanceof i&&e.exitRangeLiteral(this)},p.RangeLiteralContext=Nt,p.prototype.rangeLiteral=function(){var e=new Nt(this,this._ctx,this.state);this.enterRule(e,252,p.RULE_rangeLiteral);var t=0;try{this.enterOuterAlt(e,1),this.state=1792,this.match(p.T__22),this.state=1794,this._errHandler.sync(this),(t=this._input.LA(1))===p.SP&&(this.state=1793,this.match(p.SP)),this.state=1800,this._errHandler.sync(this),0==((t=this._input.LA(1))-151&-32)&&0!=(1<<t-151&(1<<p.HexInteger-151|1<<p.DecimalInteger-151|1<<p.OctalInteger-151))&&(this.state=1796,this.integerLiteral(),this.state=1798,this._errHandler.sync(this),(t=this._input.LA(1))===p.SP&&(this.state=1797,this.match(p.SP))),this.state=1812,this._errHandler.sync(this),(t=this._input.LA(1))===p.T__23&&(this.state=1802,this.match(p.T__23),this.state=1804,this._errHandler.sync(this),(t=this._input.LA(1))===p.SP&&(this.state=1803,this.match(p.SP)),this.state=1810,this._errHandler.sync(this),0==((t=this._input.LA(1))-151&-32)&&0!=(1<<t-151&(1<<p.HexInteger-151|1<<p.DecimalInteger-151|1<<p.OctalInteger-151))&&(this.state=1806,this.integerLiteral(),this.state=1808,this._errHandler.sync(this),(t=this._input.LA(1))===p.SP&&(this.state=1807,this.match(p.SP))))}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},It.prototype=Object.create(r.ParserRuleContext.prototype),It.prototype.constructor=It,It.prototype.symbolicName=function(){return this.getTypedRuleContext(er,0)},It.prototype.enterRule=function(e){e instanceof i&&e.enterLabelName(this)},It.prototype.exitRule=function(e){e instanceof i&&e.exitLabelName(this)},p.LabelNameContext=It,p.prototype.labelName=function(){var e=new It(this,this._ctx,this.state);this.enterRule(e,254,p.RULE_labelName);try{this.enterOuterAlt(e,1),this.state=1814,this.symbolicName()}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},kt.prototype=Object.create(r.ParserRuleContext.prototype),kt.prototype.constructor=kt,kt.prototype.symbolicName=function(){return this.getTypedRuleContext(er,0)},kt.prototype.enterRule=function(e){e instanceof i&&e.enterRelTypeName(this)},kt.prototype.exitRule=function(e){e instanceof i&&e.exitRelTypeName(this)},p.RelTypeNameContext=kt,p.prototype.relTypeName=function(){var e=new kt(this,this._ctx,this.state);this.enterRule(e,256,p.RULE_relTypeName);try{this.enterOuterAlt(e,1),this.state=1816,this.symbolicName()}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},Dt.prototype=Object.create(r.ParserRuleContext.prototype),Dt.prototype.constructor=Dt,Dt.prototype.orExpression=function(){return this.getTypedRuleContext(Pt,0)},Dt.prototype.enterRule=function(e){e instanceof i&&e.enterExpression(this)},Dt.prototype.exitRule=function(e){e instanceof i&&e.exitExpression(this)},p.ExpressionContext=Dt,p.prototype.expression=function(){var e=new Dt(this,this._ctx,this.state);this.enterRule(e,258,p.RULE_expression);try{this.enterOuterAlt(e,1),this.state=1818,this.orExpression()}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},Pt.prototype=Object.create(r.ParserRuleContext.prototype),Pt.prototype.constructor=Pt,Pt.prototype.xorExpression=function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(Mt):this.getTypedRuleContext(Mt,e)},Pt.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},Pt.prototype.OR=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.OR):this.getToken(p.OR,e)},Pt.prototype.enterRule=function(e){e instanceof i&&e.enterOrExpression(this)},Pt.prototype.exitRule=function(e){e instanceof i&&e.exitOrExpression(this)},p.OrExpressionContext=Pt,p.prototype.orExpression=function(){var e=new Pt(this,this._ctx,this.state);this.enterRule(e,260,p.RULE_orExpression);try{this.enterOuterAlt(e,1),this.state=1820,this.xorExpression(),this.state=1827,this._errHandler.sync(this);for(var t=this._interp.adaptivePredict(this._input,248,this._ctx);2!=t&&t!=r.atn.ATN.INVALID_ALT_NUMBER;)1===t&&(this.state=1821,this.match(p.SP),this.state=1822,this.match(p.OR),this.state=1823,this.match(p.SP),this.state=1824,this.xorExpression()),this.state=1829,this._errHandler.sync(this),t=this._interp.adaptivePredict(this._input,248,this._ctx)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},Mt.prototype=Object.create(r.ParserRuleContext.prototype),Mt.prototype.constructor=Mt,Mt.prototype.andExpression=function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(Ft):this.getTypedRuleContext(Ft,e)},Mt.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)};Mt.prototype.XOR=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.XOR):this.getToken(p.XOR,e)},Mt.prototype.enterRule=function(e){e instanceof i&&e.enterXorExpression(this)},Mt.prototype.exitRule=function(e){e instanceof i&&e.exitXorExpression(this)},p.XorExpressionContext=Mt,p.prototype.xorExpression=function(){var e=new Mt(this,this._ctx,this.state);this.enterRule(e,262,p.RULE_xorExpression);try{this.enterOuterAlt(e,1),this.state=1830,this.andExpression(),this.state=1837,this._errHandler.sync(this);for(var t=this._interp.adaptivePredict(this._input,249,this._ctx);2!=t&&t!=r.atn.ATN.INVALID_ALT_NUMBER;)1===t&&(this.state=1831,this.match(p.SP),this.state=1832,this.match(p.XOR),this.state=1833,this.match(p.SP),this.state=1834,this.andExpression()),this.state=1839,this._errHandler.sync(this),t=this._interp.adaptivePredict(this._input,249,this._ctx)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},Ft.prototype=Object.create(r.ParserRuleContext.prototype),Ft.prototype.constructor=Ft,Ft.prototype.notExpression=function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(Ht):this.getTypedRuleContext(Ht,e)},Ft.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},Ft.prototype.AND=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.AND):this.getToken(p.AND,e)},Ft.prototype.enterRule=function(e){e instanceof i&&e.enterAndExpression(this)},Ft.prototype.exitRule=function(e){e instanceof i&&e.exitAndExpression(this)},p.AndExpressionContext=Ft,p.prototype.andExpression=function(){var e=new Ft(this,this._ctx,this.state);this.enterRule(e,264,p.RULE_andExpression);try{this.enterOuterAlt(e,1),this.state=1840,this.notExpression(),this.state=1847,this._errHandler.sync(this);for(var t=this._interp.adaptivePredict(this._input,250,this._ctx);2!=t&&t!=r.atn.ATN.INVALID_ALT_NUMBER;)1===t&&(this.state=1841,this.match(p.SP),this.state=1842,this.match(p.AND),this.state=1843,this.match(p.SP),this.state=1844,this.notExpression()),this.state=1849,this._errHandler.sync(this),t=this._interp.adaptivePredict(this._input,250,this._ctx)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},Ht.prototype=Object.create(r.ParserRuleContext.prototype),Ht.prototype.constructor=Ht,Ht.prototype.comparisonExpression=function(){return this.getTypedRuleContext(Bt,0)},Ht.prototype.NOT=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.NOT):this.getToken(p.NOT,e)},Ht.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},Ht.prototype.enterRule=function(e){e instanceof i&&e.enterNotExpression(this)},Ht.prototype.exitRule=function(e){e instanceof i&&e.exitNotExpression(this)},p.NotExpressionContext=Ht,p.prototype.notExpression=function(){var e=new Ht(this,this._ctx,this.state);this.enterRule(e,266,p.RULE_notExpression);try{this.enterOuterAlt(e,1),this.state=1856,this._errHandler.sync(this);for(var t=this._interp.adaptivePredict(this._input,252,this._ctx);2!=t&&t!=r.atn.ATN.INVALID_ALT_NUMBER;)1===t&&(this.state=1850,this.match(p.NOT),this.state=1852,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1851,this.match(p.SP))),this.state=1858,this._errHandler.sync(this),t=this._interp.adaptivePredict(this._input,252,this._ctx);this.state=1859,this.comparisonExpression()}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},Bt.prototype=Object.create(r.ParserRuleContext.prototype),Bt.prototype.constructor=Bt,Bt.prototype.addOrSubtractExpression=function(){return this.getTypedRuleContext(Ut,0)},Bt.prototype.partialComparisonExpression=function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(yn):this.getTypedRuleContext(yn,e)},Bt.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},Bt.prototype.enterRule=function(e){e instanceof i&&e.enterComparisonExpression(this)},Bt.prototype.exitRule=function(e){e instanceof i&&e.exitComparisonExpression(this)},p.ComparisonExpressionContext=Bt,p.prototype.comparisonExpression=function(){var e=new Bt(this,this._ctx,this.state);this.enterRule(e,268,p.RULE_comparisonExpression);try{this.enterOuterAlt(e,1),this.state=1861,this.addOrSubtractExpression(),this.state=1868,this._errHandler.sync(this);for(var t=this._interp.adaptivePredict(this._input,254,this._ctx);2!=t&&t!=r.atn.ATN.INVALID_ALT_NUMBER;)1===t&&(this.state=1863,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1862,this.match(p.SP)),this.state=1865,this.partialComparisonExpression()),this.state=1870,this._errHandler.sync(this),t=this._interp.adaptivePredict(this._input,254,this._ctx)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},Ut.prototype=Object.create(r.ParserRuleContext.prototype),Ut.prototype.constructor=Ut,Ut.prototype.multiplyDivideModuloExpression=function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(jt):this.getTypedRuleContext(jt,e)},Ut.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},Ut.prototype.enterRule=function(e){e instanceof i&&e.enterAddOrSubtractExpression(this)},Ut.prototype.exitRule=function(e){e instanceof i&&e.exitAddOrSubtractExpression(this)},p.AddOrSubtractExpressionContext=Ut,p.prototype.addOrSubtractExpression=function(){var e=new Ut(this,this._ctx,this.state);this.enterRule(e,270,p.RULE_addOrSubtractExpression);try{this.enterOuterAlt(e,1),this.state=1871,this.multiplyDivideModuloExpression(),this.state=1890,this._errHandler.sync(this);for(var t=this._interp.adaptivePredict(this._input,260,this._ctx);2!=t&&t!=r.atn.ATN.INVALID_ALT_NUMBER;){if(1===t)switch(this.state=1888,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,259,this._ctx)){case 1:this.state=1873,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1872,this.match(p.SP)),this.state=1875,this.match(p.T__12),this.state=1877,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1876,this.match(p.SP)),this.state=1879,this.multiplyDivideModuloExpression();break;case 2:this.state=1881,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1880,this.match(p.SP)),this.state=1883,this.match(p.T__2),this.state=1885,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1884,this.match(p.SP)),this.state=1887,this.multiplyDivideModuloExpression()}this.state=1892,this._errHandler.sync(this),t=this._interp.adaptivePredict(this._input,260,this._ctx)}}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},jt.prototype=Object.create(r.ParserRuleContext.prototype),jt.prototype.constructor=jt,jt.prototype.powerOfExpression=function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(Gt):this.getTypedRuleContext(Gt,e)},jt.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},jt.prototype.enterRule=function(e){e instanceof i&&e.enterMultiplyDivideModuloExpression(this)},jt.prototype.exitRule=function(e){e instanceof i&&e.exitMultiplyDivideModuloExpression(this)},p.MultiplyDivideModuloExpressionContext=jt,p.prototype.multiplyDivideModuloExpression=function(){var e=new jt(this,this._ctx,this.state);this.enterRule(e,272,p.RULE_multiplyDivideModuloExpression);try{this.enterOuterAlt(e,1),this.state=1893,this.powerOfExpression(),this.state=1920,this._errHandler.sync(this);for(var t=this._interp.adaptivePredict(this._input,268,this._ctx);2!=t&&t!=r.atn.ATN.INVALID_ALT_NUMBER;){if(1===t)switch(this.state=1918,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,267,this._ctx)){case 1:this.state=1895,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1894,this.match(p.SP)),this.state=1897,this.match(p.T__22),this.state=1899,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1898,this.match(p.SP)),this.state=1901,this.powerOfExpression();break;case 2:this.state=1903,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1902,this.match(p.SP)),this.state=1905,this.match(p.T__5),this.state=1907,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1906,this.match(p.SP)),this.state=1909,this.powerOfExpression();break;case 3:this.state=1911,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1910,this.match(p.SP)),this.state=1913,this.match(p.T__24),this.state=1915,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1914,this.match(p.SP)),this.state=1917,this.powerOfExpression()}this.state=1922,this._errHandler.sync(this),t=this._interp.adaptivePredict(this._input,268,this._ctx)}}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},Gt.prototype=Object.create(r.ParserRuleContext.prototype),Gt.prototype.constructor=Gt,Gt.prototype.unaryAddOrSubtractExpression=function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(Yt):this.getTypedRuleContext(Yt,e)},Gt.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},Gt.prototype.enterRule=function(e){e instanceof i&&e.enterPowerOfExpression(this)},Gt.prototype.exitRule=function(e){e instanceof i&&e.exitPowerOfExpression(this)},p.PowerOfExpressionContext=Gt,p.prototype.powerOfExpression=function(){var e=new Gt(this,this._ctx,this.state);this.enterRule(e,274,p.RULE_powerOfExpression);try{this.enterOuterAlt(e,1),this.state=1923,this.unaryAddOrSubtractExpression(),this.state=1934,this._errHandler.sync(this);for(var t=this._interp.adaptivePredict(this._input,271,this._ctx);2!=t&&t!=r.atn.ATN.INVALID_ALT_NUMBER;)1===t&&(this.state=1925,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1924,this.match(p.SP)),this.state=1927,this.match(p.T__25),this.state=1929,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1928,this.match(p.SP)),this.state=1931,this.unaryAddOrSubtractExpression()),this.state=1936,this._errHandler.sync(this),t=this._interp.adaptivePredict(this._input,271,this._ctx)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},Yt.prototype=Object.create(r.ParserRuleContext.prototype),Yt.prototype.constructor=Yt,Yt.prototype.stringListNullOperatorExpression=function(){return this.getTypedRuleContext(zt,0)},Yt.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},Yt.prototype.enterRule=function(e){e instanceof i&&e.enterUnaryAddOrSubtractExpression(this)},Yt.prototype.exitRule=function(e){e instanceof i&&e.exitUnaryAddOrSubtractExpression(this)},p.UnaryAddOrSubtractExpressionContext=Yt,p.prototype.unaryAddOrSubtractExpression=function(){var e=new Yt(this,this._ctx,this.state);this.enterRule(e,276,p.RULE_unaryAddOrSubtractExpression);var t=0;try{for(this.enterOuterAlt(e,1),this.state=1943,this._errHandler.sync(this),t=this._input.LA(1);t===p.T__2||t===p.T__12;)this.state=1937,(t=this._input.LA(1))!==p.T__2&&t!==p.T__12?this._errHandler.recoverInline(this):(this._errHandler.reportMatch(this),this.consume()),this.state=1939,this._errHandler.sync(this),(t=this._input.LA(1))===p.SP&&(this.state=1938,this.match(p.SP)),this.state=1945,this._errHandler.sync(this),t=this._input.LA(1);this.state=1946,this.stringListNullOperatorExpression()}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},zt.prototype=Object.create(r.ParserRuleContext.prototype),zt.prototype.constructor=zt,zt.prototype.propertyOrLabelsExpression=function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts($t):this.getTypedRuleContext($t,e)},zt.prototype.expression=function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(Dt):this.getTypedRuleContext(Dt,e)},zt.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},zt.prototype.IS=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.IS):this.getToken(p.IS,e)},zt.prototype.NULL=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.NULL):this.getToken(p.NULL,e)},zt.prototype.NOT=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.NOT):this.getToken(p.NOT,e)},zt.prototype.IN=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.IN):this.getToken(p.IN,e)},zt.prototype.STARTS=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.STARTS):this.getToken(p.STARTS,e)},zt.prototype.WITH=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.WITH):this.getToken(p.WITH,e)},zt.prototype.ENDS=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.ENDS):this.getToken(p.ENDS,e)},zt.prototype.CONTAINS=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.CONTAINS):this.getToken(p.CONTAINS,e)},zt.prototype.enterRule=function(e){e instanceof i&&e.enterStringListNullOperatorExpression(this)},zt.prototype.exitRule=function(e){e instanceof i&&e.exitStringListNullOperatorExpression(this)},p.StringListNullOperatorExpressionContext=zt,p.prototype.stringListNullOperatorExpression=function(){var e=new zt(this,this._ctx,this.state);this.enterRule(e,278,p.RULE_stringListNullOperatorExpression);var t=0;try{this.enterOuterAlt(e,1),this.state=1948,this.propertyOrLabelsExpression(),this.state=2002,this._errHandler.sync(this);for(var n=this._interp.adaptivePredict(this._input,282,this._ctx);2!=n&&n!=r.atn.ATN.INVALID_ALT_NUMBER;){if(1===n)switch(this.state=2e3,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,281,this._ctx)){case 1:this.state=1950,this._errHandler.sync(this),(t=this._input.LA(1))===p.SP&&(this.state=1949,this.match(p.SP)),this.state=1952,this.match(p.T__16),this.state=1953,this.expression(),this.state=1954,this.match(p.T__17);break;case 2:this.state=1957,this._errHandler.sync(this),(t=this._input.LA(1))===p.SP&&(this.state=1956,this.match(p.SP)),this.state=1959,this.match(p.T__16),this.state=1961,this._errHandler.sync(this),(0==((t=this._input.LA(1))-3&-32)&&0!=(1<<t-3&(1<<p.T__2-3|1<<p.T__12-3|1<<p.T__13-3|1<<p.T__16-3|1<<p.T__18-3|1<<p.T__33-3))||0==(t-54&-32)&&0!=(1<<t-54&(1<<p.CYPHER-54|1<<p.EXPLAIN-54|1<<p.PROFILE-54|1<<p.USING-54|1<<p.PERIODIC-54|1<<p.COMMIT-54|1<<p.UNION-54|1<<p.ALL-54|1<<p.CREATE-54|1<<p.DROP-54|1<<p.INDEX-54|1<<p.ON-54|1<<p.CONSTRAINT-54|1<<p.ASSERT-54|1<<p.IS-54|1<<p.UNIQUE-54|1<<p.EXISTS-54|1<<p.LOAD-54|1<<p.CSV-54|1<<p.WITH-54|1<<p.HEADERS-54|1<<p.FROM-54|1<<p.AS-54|1<<p.FIELDTERMINATOR-54|1<<p.OPTIONAL-54|1<<p.MATCH-54|1<<p.UNWIND-54|1<<p.MERGE-54|1<<p.SET-54|1<<p.DETACH-54|1<<p.DELETE-54|1<<p.REMOVE-54))||0==(t-86&-32)&&0!=(1<<t-86&(1<<p.FOREACH-86|1<<p.IN-86|1<<p.DISTINCT-86|1<<p.RETURN-86|1<<p.ORDER-86|1<<p.BY-86|1<<p.L_SKIP-86|1<<p.LIMIT-86|1<<p.ASCENDING-86|1<<p.ASC-86|1<<p.DESCENDING-86|1<<p.DESC-86|1<<p.JOIN-86|1<<p.SCAN-86|1<<p.START-86|1<<p.NODE-86|1<<p.RELATIONSHIP-86|1<<p.REL-86|1<<p.WHERE-86|1<<p.SHORTESTPATH-86|1<<p.ALLSHORTESTPATHS-86|1<<p.OR-86|1<<p.XOR-86|1<<p.AND-86|1<<p.NOT-86|1<<p.STARTS-86|1<<p.ENDS-86|1<<p.CONTAINS-86|1<<p.NULL-86|1<<p.COUNT-86|1<<p.FILTER-86|1<<p.EXTRACT-86))||0==(t-118&-32)&&0!=(1<<t-118&(1<<p.ANY-118|1<<p.NONE-118|1<<p.SINGLE-118|1<<p.TRUE-118|1<<p.FALSE-118|1<<p.REDUCE-118|1<<p.CASE-118|1<<p.ELSE-118|1<<p.END-118|1<<p.WHEN-118|1<<p.THEN-118|1<<p.CALL-118|1<<p.YIELD-118|1<<p.KEY-118|1<<p.BTREE-118|1<<p.EXIST-118|1<<p.FOR-118|1<<p.OPTIONS-118|1<<p.EXECUTE-118|1<<p.DEFINED-118|1<<p.FUNCTION-118|1<<p.FUNCTIONS-118|1<<p.BOOSTED-118|1<<p.PROCEDURE-118|1<<p.PROCEDURES-118|1<<p.ADMIN-118|1<<p.ADMINISTRATOR-118|1<<p.BRIEF-118|1<<p.VERBOSE-118|1<<p.OUTPUT-118|1<<p.StringLiteral-118))||0==(t-151&-32)&&0!=(1<<t-151&(1<<p.HexInteger-151|1<<p.DecimalInteger-151|1<<p.OctalInteger-151|1<<p.HexLetter-151|1<<p.ExponentDecimalReal-151|1<<p.RegularDecimalReal-151|1<<p.UnescapedSymbolicName-151|1<<p.EscapedSymbolicName-151)))&&(this.state=1960,this.expression()),this.state=1963,this.match(p.T__23),this.state=1965,this._errHandler.sync(this),(0==((t=this._input.LA(1))-3&-32)&&0!=(1<<t-3&(1<<p.T__2-3|1<<p.T__12-3|1<<p.T__13-3|1<<p.T__16-3|1<<p.T__18-3|1<<p.T__33-3))||0==(t-54&-32)&&0!=(1<<t-54&(1<<p.CYPHER-54|1<<p.EXPLAIN-54|1<<p.PROFILE-54|1<<p.USING-54|1<<p.PERIODIC-54|1<<p.COMMIT-54|1<<p.UNION-54|1<<p.ALL-54|1<<p.CREATE-54|1<<p.DROP-54|1<<p.INDEX-54|1<<p.ON-54|1<<p.CONSTRAINT-54|1<<p.ASSERT-54|1<<p.IS-54|1<<p.UNIQUE-54|1<<p.EXISTS-54|1<<p.LOAD-54|1<<p.CSV-54|1<<p.WITH-54|1<<p.HEADERS-54|1<<p.FROM-54|1<<p.AS-54|1<<p.FIELDTERMINATOR-54|1<<p.OPTIONAL-54|1<<p.MATCH-54|1<<p.UNWIND-54|1<<p.MERGE-54|1<<p.SET-54|1<<p.DETACH-54|1<<p.DELETE-54|1<<p.REMOVE-54))||0==(t-86&-32)&&0!=(1<<t-86&(1<<p.FOREACH-86|1<<p.IN-86|1<<p.DISTINCT-86|1<<p.RETURN-86|1<<p.ORDER-86|1<<p.BY-86|1<<p.L_SKIP-86|1<<p.LIMIT-86|1<<p.ASCENDING-86|1<<p.ASC-86|1<<p.DESCENDING-86|1<<p.DESC-86|1<<p.JOIN-86|1<<p.SCAN-86|1<<p.START-86|1<<p.NODE-86|1<<p.RELATIONSHIP-86|1<<p.REL-86|1<<p.WHERE-86|1<<p.SHORTESTPATH-86|1<<p.ALLSHORTESTPATHS-86|1<<p.OR-86|1<<p.XOR-86|1<<p.AND-86|1<<p.NOT-86|1<<p.STARTS-86|1<<p.ENDS-86|1<<p.CONTAINS-86|1<<p.NULL-86|1<<p.COUNT-86|1<<p.FILTER-86|1<<p.EXTRACT-86))||0==(t-118&-32)&&0!=(1<<t-118&(1<<p.ANY-118|1<<p.NONE-118|1<<p.SINGLE-118|1<<p.TRUE-118|1<<p.FALSE-118|1<<p.REDUCE-118|1<<p.CASE-118|1<<p.ELSE-118|1<<p.END-118|1<<p.WHEN-118|1<<p.THEN-118|1<<p.CALL-118|1<<p.YIELD-118|1<<p.KEY-118|1<<p.BTREE-118|1<<p.EXIST-118|1<<p.FOR-118|1<<p.OPTIONS-118|1<<p.EXECUTE-118|1<<p.DEFINED-118|1<<p.FUNCTION-118|1<<p.FUNCTIONS-118|1<<p.BOOSTED-118|1<<p.PROCEDURE-118|1<<p.PROCEDURES-118|1<<p.ADMIN-118|1<<p.ADMINISTRATOR-118|1<<p.BRIEF-118|1<<p.VERBOSE-118|1<<p.OUTPUT-118|1<<p.StringLiteral-118))||0==(t-151&-32)&&0!=(1<<t-151&(1<<p.HexInteger-151|1<<p.DecimalInteger-151|1<<p.OctalInteger-151|1<<p.HexLetter-151|1<<p.ExponentDecimalReal-151|1<<p.RegularDecimalReal-151|1<<p.UnescapedSymbolicName-151|1<<p.EscapedSymbolicName-151)))&&(this.state=1964,this.expression()),this.state=1967,this.match(p.T__17);break;case 3:switch(this.state=1984,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,279,this._ctx)){case 1:this.state=1969,this._errHandler.sync(this),(t=this._input.LA(1))===p.SP&&(this.state=1968,this.match(p.SP)),this.state=1971,this.match(p.T__26);break;case 2:this.state=1972,this.match(p.SP),this.state=1973,this.match(p.IN);break;case 3:this.state=1974,this.match(p.SP),this.state=1975,this.match(p.STARTS),this.state=1976,this.match(p.SP),this.state=1977,this.match(p.WITH);break;case 4:this.state=1978,this.match(p.SP),this.state=1979,this.match(p.ENDS),this.state=1980,this.match(p.SP),this.state=1981,this.match(p.WITH);break;case 5:this.state=1982,this.match(p.SP),this.state=1983,this.match(p.CONTAINS)}this.state=1987,this._errHandler.sync(this),(t=this._input.LA(1))===p.SP&&(this.state=1986,this.match(p.SP)),this.state=1989,this.propertyOrLabelsExpression();break;case 4:this.state=1990,this.match(p.SP),this.state=1991,this.match(p.IS),this.state=1992,this.match(p.SP),this.state=1993,this.match(p.NULL);break;case 5:this.state=1994,this.match(p.SP),this.state=1995,this.match(p.IS),this.state=1996,this.match(p.SP),this.state=1997,this.match(p.NOT),this.state=1998,this.match(p.SP),this.state=1999,this.match(p.NULL)}this.state=2004,this._errHandler.sync(this),n=this._interp.adaptivePredict(this._input,282,this._ctx)}}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},$t.prototype=Object.create(r.ParserRuleContext.prototype),$t.prototype.constructor=$t,$t.prototype.atom=function(){return this.getTypedRuleContext(pn,0)},$t.prototype.propertyLookup=function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(wn):this.getTypedRuleContext(wn,e)},$t.prototype.nodeLabels=function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(Lt):this.getTypedRuleContext(Lt,e)},$t.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},$t.prototype.enterRule=function(e){e instanceof i&&e.enterPropertyOrLabelsExpression(this)},$t.prototype.exitRule=function(e){e instanceof i&&e.exitPropertyOrLabelsExpression(this)},p.PropertyOrLabelsExpressionContext=$t,p.prototype.propertyOrLabelsExpression=function(){var e=new $t(this,this._ctx,this.state);this.enterRule(e,280,p.RULE_propertyOrLabelsExpression);try{this.enterOuterAlt(e,1),this.state=2005,this.atom(),this.state=2015,this._errHandler.sync(this);for(var t=this._interp.adaptivePredict(this._input,285,this._ctx);2!=t&&t!=r.atn.ATN.INVALID_ALT_NUMBER;){if(1===t)switch(this.state=2007,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=2006,this.match(p.SP)),this.state=2011,this._errHandler.sync(this),this._input.LA(1)){case p.T__6:this.state=2009,this.propertyLookup();break;case p.T__1:this.state=2010,this.nodeLabels();break;default:throw new r.error.NoViableAltException(this)}this.state=2017,this._errHandler.sync(this),t=this._interp.adaptivePredict(this._input,285,this._ctx)}}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},Wt.prototype=Object.create(r.ParserRuleContext.prototype),Wt.prototype.constructor=Wt,Wt.prototype.filterFunctionName=function(){return this.getTypedRuleContext(Vt,0)},Wt.prototype.filterExpression=function(){return this.getTypedRuleContext(bn,0)},Wt.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},Wt.prototype.enterRule=function(e){e instanceof i&&e.enterFilterFunction(this)},Wt.prototype.exitRule=function(e){e instanceof i&&e.exitFilterFunction(this)},p.FilterFunctionContext=Wt,p.prototype.filterFunction=function(){var e=new Wt(this,this._ctx,this.state);this.enterRule(e,282,p.RULE_filterFunction);try{this.enterOuterAlt(e,1),this.state=2018,this.filterFunctionName(),this.state=2020,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=2019,this.match(p.SP)),this.state=2022,this.match(p.T__18),this.state=2024,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=2023,this.match(p.SP)),this.state=2026,this.filterExpression(),this.state=2028,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=2027,this.match(p.SP)),this.state=2030,this.match(p.T__19)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},Vt.prototype=Object.create(r.ParserRuleContext.prototype),Vt.prototype.constructor=Vt,Vt.prototype.FILTER=function(){return this.getToken(p.FILTER,0)},Vt.prototype.enterRule=function(e){e instanceof i&&e.enterFilterFunctionName(this)},Vt.prototype.exitRule=function(e){e instanceof i&&e.exitFilterFunctionName(this)},p.FilterFunctionNameContext=Vt,p.prototype.filterFunctionName=function(){var e=new Vt(this,this._ctx,this.state);this.enterRule(e,284,p.RULE_filterFunctionName);try{this.enterOuterAlt(e,1),this.state=2032,this.match(p.FILTER)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},Kt.prototype=Object.create(r.ParserRuleContext.prototype),Kt.prototype.constructor=Kt,Kt.prototype.existsFunctionName=function(){return this.getTypedRuleContext(qt,0)},Kt.prototype.expression=function(){return this.getTypedRuleContext(Dt,0)},Kt.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},Kt.prototype.enterRule=function(e){e instanceof i&&e.enterExistsFunction(this)},Kt.prototype.exitRule=function(e){e instanceof i&&e.exitExistsFunction(this)},p.ExistsFunctionContext=Kt,p.prototype.existsFunction=function(){var e=new Kt(this,this._ctx,this.state);this.enterRule(e,286,p.RULE_existsFunction);try{this.enterOuterAlt(e,1),this.state=2034,this.existsFunctionName(),this.state=2036,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=2035,this.match(p.SP)),this.state=2038,this.match(p.T__18),this.state=2040,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=2039,this.match(p.SP)),this.state=2042,this.expression(),this.state=2044,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=2043,this.match(p.SP)),this.state=2046,this.match(p.T__19)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},qt.prototype=Object.create(r.ParserRuleContext.prototype),qt.prototype.constructor=qt,qt.prototype.EXISTS=function(){return this.getToken(p.EXISTS,0)},qt.prototype.enterRule=function(e){e instanceof i&&e.enterExistsFunctionName(this)},qt.prototype.exitRule=function(e){e instanceof i&&e.exitExistsFunctionName(this)},p.ExistsFunctionNameContext=qt,p.prototype.existsFunctionName=function(){var e=new qt(this,this._ctx,this.state);this.enterRule(e,288,p.RULE_existsFunctionName);try{this.enterOuterAlt(e,1),this.state=2048,this.match(p.EXISTS)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},Xt.prototype=Object.create(r.ParserRuleContext.prototype),Xt.prototype.constructor=Xt,Xt.prototype.allFunctionName=function(){return this.getTypedRuleContext(Zt,0)},Xt.prototype.filterExpression=function(){return this.getTypedRuleContext(bn,0)},Xt.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},Xt.prototype.enterRule=function(e){e instanceof i&&e.enterAllFunction(this)},Xt.prototype.exitRule=function(e){e instanceof i&&e.exitAllFunction(this)},p.AllFunctionContext=Xt,p.prototype.allFunction=function(){var e=new Xt(this,this._ctx,this.state);this.enterRule(e,290,p.RULE_allFunction);try{this.enterOuterAlt(e,1),this.state=2050,this.allFunctionName(),this.state=2052,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=2051,this.match(p.SP)),this.state=2054,this.match(p.T__18),this.state=2056,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=2055,this.match(p.SP)),this.state=2058,this.filterExpression(),this.state=2060,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=2059,this.match(p.SP)),this.state=2062,this.match(p.T__19)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},Zt.prototype=Object.create(r.ParserRuleContext.prototype),Zt.prototype.constructor=Zt,Zt.prototype.ALL=function(){return this.getToken(p.ALL,0)},Zt.prototype.enterRule=function(e){e instanceof i&&e.enterAllFunctionName(this)},Zt.prototype.exitRule=function(e){e instanceof i&&e.exitAllFunctionName(this)},p.AllFunctionNameContext=Zt,p.prototype.allFunctionName=function(){var e=new Zt(this,this._ctx,this.state);this.enterRule(e,292,p.RULE_allFunctionName);try{this.enterOuterAlt(e,1),this.state=2064,this.match(p.ALL)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},Qt.prototype=Object.create(r.ParserRuleContext.prototype),Qt.prototype.constructor=Qt,Qt.prototype.anyFunctionName=function(){return this.getTypedRuleContext(Jt,0)},Qt.prototype.filterExpression=function(){return this.getTypedRuleContext(bn,0)},Qt.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},Qt.prototype.enterRule=function(e){e instanceof i&&e.enterAnyFunction(this)},Qt.prototype.exitRule=function(e){e instanceof i&&e.exitAnyFunction(this)},p.AnyFunctionContext=Qt,p.prototype.anyFunction=function(){var e=new Qt(this,this._ctx,this.state);this.enterRule(e,294,p.RULE_anyFunction);try{this.enterOuterAlt(e,1),this.state=2066,this.anyFunctionName(),this.state=2068,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=2067,this.match(p.SP)),this.state=2070,this.match(p.T__18),this.state=2072,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=2071,this.match(p.SP)),this.state=2074,this.filterExpression(),this.state=2076,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=2075,this.match(p.SP)),this.state=2078,this.match(p.T__19)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},Jt.prototype=Object.create(r.ParserRuleContext.prototype),Jt.prototype.constructor=Jt,Jt.prototype.ANY=function(){return this.getToken(p.ANY,0)},Jt.prototype.enterRule=function(e){e instanceof i&&e.enterAnyFunctionName(this)},Jt.prototype.exitRule=function(e){e instanceof i&&e.exitAnyFunctionName(this)},p.AnyFunctionNameContext=Jt,p.prototype.anyFunctionName=function(){var e=new Jt(this,this._ctx,this.state);this.enterRule(e,296,p.RULE_anyFunctionName);try{this.enterOuterAlt(e,1),this.state=2080,this.match(p.ANY)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},en.prototype=Object.create(r.ParserRuleContext.prototype),en.prototype.constructor=en,en.prototype.noneFunctionName=function(){return this.getTypedRuleContext(tn,0)},en.prototype.filterExpression=function(){return this.getTypedRuleContext(bn,0)},en.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},en.prototype.enterRule=function(e){e instanceof i&&e.enterNoneFunction(this)},en.prototype.exitRule=function(e){e instanceof i&&e.exitNoneFunction(this)},p.NoneFunctionContext=en,p.prototype.noneFunction=function(){var e=new en(this,this._ctx,this.state);this.enterRule(e,298,p.RULE_noneFunction);try{this.enterOuterAlt(e,1),this.state=2082,this.noneFunctionName(),this.state=2084,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=2083,this.match(p.SP)),this.state=2086,this.match(p.T__18),this.state=2088,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=2087,this.match(p.SP)),this.state=2090,this.filterExpression(),this.state=2092,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=2091,this.match(p.SP)),this.state=2094,this.match(p.T__19)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},tn.prototype=Object.create(r.ParserRuleContext.prototype),tn.prototype.constructor=tn,tn.prototype.NONE=function(){return this.getToken(p.NONE,0)},tn.prototype.enterRule=function(e){e instanceof i&&e.enterNoneFunctionName(this)},tn.prototype.exitRule=function(e){e instanceof i&&e.exitNoneFunctionName(this)},p.NoneFunctionNameContext=tn,p.prototype.noneFunctionName=function(){var e=new tn(this,this._ctx,this.state);this.enterRule(e,300,p.RULE_noneFunctionName);try{this.enterOuterAlt(e,1),this.state=2096,this.match(p.NONE)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},nn.prototype=Object.create(r.ParserRuleContext.prototype),nn.prototype.constructor=nn,nn.prototype.singleFunctionName=function(){return this.getTypedRuleContext(rn,0)},nn.prototype.filterExpression=function(){return this.getTypedRuleContext(bn,0)},nn.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},nn.prototype.enterRule=function(e){e instanceof i&&e.enterSingleFunction(this)},nn.prototype.exitRule=function(e){e instanceof i&&e.exitSingleFunction(this)},p.SingleFunctionContext=nn,p.prototype.singleFunction=function(){var e=new nn(this,this._ctx,this.state);this.enterRule(e,302,p.RULE_singleFunction);try{this.enterOuterAlt(e,1),this.state=2098,this.singleFunctionName(),this.state=2100,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=2099,this.match(p.SP)),this.state=2102,this.match(p.T__18),this.state=2104,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=2103,this.match(p.SP)),this.state=2106,this.filterExpression(),this.state=2108,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=2107,this.match(p.SP)),this.state=2110,this.match(p.T__19)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},rn.prototype=Object.create(r.ParserRuleContext.prototype),rn.prototype.constructor=rn,rn.prototype.SINGLE=function(){return this.getToken(p.SINGLE,0)},rn.prototype.enterRule=function(e){e instanceof i&&e.enterSingleFunctionName(this)},rn.prototype.exitRule=function(e){e instanceof i&&e.exitSingleFunctionName(this)},p.SingleFunctionNameContext=rn,p.prototype.singleFunctionName=function(){var e=new rn(this,this._ctx,this.state);this.enterRule(e,304,p.RULE_singleFunctionName);try{this.enterOuterAlt(e,1),this.state=2112,this.match(p.SINGLE)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},on.prototype=Object.create(r.ParserRuleContext.prototype),on.prototype.constructor=on,on.prototype.extractFunctionName=function(){return this.getTypedRuleContext(an,0)},on.prototype.filterExpression=function(){return this.getTypedRuleContext(bn,0)},on.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},on.prototype.expression=function(){return this.getTypedRuleContext(Dt,0)},on.prototype.enterRule=function(e){e instanceof i&&e.enterExtractFunction(this)},on.prototype.exitRule=function(e){e instanceof i&&e.exitExtractFunction(this)},p.ExtractFunctionContext=on,p.prototype.extractFunction=function(){var e=new on(this,this._ctx,this.state);this.enterRule(e,306,p.RULE_extractFunction);try{this.enterOuterAlt(e,1),this.state=2114,this.extractFunctionName(),this.state=2116,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=2115,this.match(p.SP)),this.state=2118,this.match(p.T__18),this.state=2120,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=2119,this.match(p.SP)),this.state=2122,this.filterExpression(),this.state=2131,this._errHandler.sync(this),1===this._interp.adaptivePredict(this._input,308,this._ctx)&&(this.state=2124,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=2123,this.match(p.SP)),this.state=2126,this.match(p.T__21),this.state=2128,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=2127,this.match(p.SP)),this.state=2130,this.expression()),this.state=2134,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=2133,this.match(p.SP)),this.state=2136,this.match(p.T__19)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},an.prototype=Object.create(r.ParserRuleContext.prototype),an.prototype.constructor=an,an.prototype.EXTRACT=function(){return this.getToken(p.EXTRACT,0)},an.prototype.enterRule=function(e){e instanceof i&&e.enterExtractFunctionName(this)},an.prototype.exitRule=function(e){e instanceof i&&e.exitExtractFunctionName(this)},p.ExtractFunctionNameContext=an,p.prototype.extractFunctionName=function(){var e=new an(this,this._ctx,this.state);this.enterRule(e,308,p.RULE_extractFunctionName);try{this.enterOuterAlt(e,1),this.state=2138,this.match(p.EXTRACT)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},sn.prototype=Object.create(r.ParserRuleContext.prototype),sn.prototype.constructor=sn,sn.prototype.reduceFunctionName=function(){return this.getTypedRuleContext(ln,0)},sn.prototype.variable=function(){return this.getTypedRuleContext(Nn,0)},sn.prototype.expression=function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(Dt):this.getTypedRuleContext(Dt,e)},sn.prototype.idInColl=function(){return this.getTypedRuleContext(En,0)},sn.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},sn.prototype.enterRule=function(e){e instanceof i&&e.enterReduceFunction(this)},sn.prototype.exitRule=function(e){e instanceof i&&e.exitReduceFunction(this)},p.ReduceFunctionContext=sn,p.prototype.reduceFunction=function(){var e=new sn(this,this._ctx,this.state);this.enterRule(e,310,p.RULE_reduceFunction);try{this.enterOuterAlt(e,1),this.state=2140,this.reduceFunctionName(),this.state=2142,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=2141,this.match(p.SP)),this.state=2144,this.match(p.T__18),this.state=2146,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=2145,this.match(p.SP)),this.state=2148,this.variable(),this.state=2150,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=2149,this.match(p.SP)),this.state=2152,this.match(p.T__11),this.state=2154,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=2153,this.match(p.SP)),this.state=2156,this.expression(),this.state=2158,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=2157,this.match(p.SP)),this.state=2160,this.match(p.T__14),this.state=2162,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=2161,this.match(p.SP)),this.state=2164,this.idInColl(),this.state=2166,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=2165,this.match(p.SP)),this.state=2168,this.match(p.T__21),this.state=2170,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=2169,this.match(p.SP)),this.state=2172,this.expression(),this.state=2174,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=2173,this.match(p.SP)),this.state=2176,this.match(p.T__19)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},ln.prototype=Object.create(r.ParserRuleContext.prototype),ln.prototype.constructor=ln,ln.prototype.REDUCE=function(){return this.getToken(p.REDUCE,0)},ln.prototype.enterRule=function(e){e instanceof i&&e.enterReduceFunctionName(this)},ln.prototype.exitRule=function(e){e instanceof i&&e.exitReduceFunctionName(this)},p.ReduceFunctionNameContext=ln,p.prototype.reduceFunctionName=function(){var e=new ln(this,this._ctx,this.state);this.enterRule(e,312,p.RULE_reduceFunctionName);try{this.enterOuterAlt(e,1),this.state=2178,this.match(p.REDUCE)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},cn.prototype=Object.create(r.ParserRuleContext.prototype),cn.prototype.constructor=cn,cn.prototype.shortestPathFunctionName=function(){return this.getTypedRuleContext(un,0)},cn.prototype.patternElement=function(){return this.getTypedRuleContext(yt,0)},cn.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},cn.prototype.allShortestPathFunctionName=function(){return this.getTypedRuleContext(hn,0)},cn.prototype.enterRule=function(e){e instanceof i&&e.enterShortestPathPatternFunction(this)},cn.prototype.exitRule=function(e){e instanceof i&&e.exitShortestPathPatternFunction(this)},p.ShortestPathPatternFunctionContext=cn,p.prototype.shortestPathPatternFunction=function(){var e=new cn(this,this._ctx,this.state);this.enterRule(e,314,p.RULE_shortestPathPatternFunction);try{switch(this.state=2208,this._errHandler.sync(this),this._input.LA(1)){case p.SHORTESTPATH:this.enterOuterAlt(e,1),this.state=2180,this.shortestPathFunctionName(),this.state=2182,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=2181,this.match(p.SP)),this.state=2184,this.match(p.T__18),this.state=2186,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=2185,this.match(p.SP)),this.state=2188,this.patternElement(),this.state=2190,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=2189,this.match(p.SP)),this.state=2192,this.match(p.T__19);break;case p.ALLSHORTESTPATHS:this.enterOuterAlt(e,2),this.state=2194,this.allShortestPathFunctionName(),this.state=2196,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=2195,this.match(p.SP)),this.state=2198,this.match(p.T__18),this.state=2200,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=2199,this.match(p.SP)),this.state=2202,this.patternElement(),this.state=2204,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=2203,this.match(p.SP)),this.state=2206,this.match(p.T__19);break;default:throw new r.error.NoViableAltException(this)}}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},un.prototype=Object.create(r.ParserRuleContext.prototype),un.prototype.constructor=un,un.prototype.SHORTESTPATH=function(){return this.getToken(p.SHORTESTPATH,0)},un.prototype.enterRule=function(e){e instanceof i&&e.enterShortestPathFunctionName(this)},un.prototype.exitRule=function(e){e instanceof i&&e.exitShortestPathFunctionName(this)},p.ShortestPathFunctionNameContext=un,p.prototype.shortestPathFunctionName=function(){var e=new un(this,this._ctx,this.state);this.enterRule(e,316,p.RULE_shortestPathFunctionName);try{this.enterOuterAlt(e,1),this.state=2210,this.match(p.SHORTESTPATH)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},hn.prototype=Object.create(r.ParserRuleContext.prototype),hn.prototype.constructor=hn,hn.prototype.ALLSHORTESTPATHS=function(){return this.getToken(p.ALLSHORTESTPATHS,0)},hn.prototype.enterRule=function(e){e instanceof i&&e.enterAllShortestPathFunctionName(this)},hn.prototype.exitRule=function(e){e instanceof i&&e.exitAllShortestPathFunctionName(this)},p.AllShortestPathFunctionNameContext=hn,p.prototype.allShortestPathFunctionName=function(){var e=new hn(this,this._ctx,this.state);this.enterRule(e,318,p.RULE_allShortestPathFunctionName);try{this.enterOuterAlt(e,1),this.state=2212,this.match(p.ALLSHORTESTPATHS)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},pn.prototype=Object.create(r.ParserRuleContext.prototype),pn.prototype.constructor=pn,pn.prototype.literal=function(){return this.getTypedRuleContext(dn,0)},pn.prototype.parameter=function(){return this.getTypedRuleContext(Un,0)},pn.prototype.caseExpression=function(){return this.getTypedRuleContext(Ln,0)},pn.prototype.COUNT=function(){return this.getToken(p.COUNT,0)},pn.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},pn.prototype.listComprehension=function(){return this.getTypedRuleContext(An,0)},pn.prototype.patternComprehension=function(){return this.getTypedRuleContext(Rn,0)},pn.prototype.filterFunction=function(){return this.getTypedRuleContext(Wt,0)},pn.prototype.extractFunction=function(){return this.getTypedRuleContext(on,0)},pn.prototype.reduceFunction=function(){return this.getTypedRuleContext(sn,0)},pn.prototype.allFunction=function(){return this.getTypedRuleContext(Xt,0)},pn.prototype.anyFunction=function(){return this.getTypedRuleContext(Qt,0)},pn.prototype.noneFunction=function(){return this.getTypedRuleContext(en,0)},pn.prototype.singleFunction=function(){return this.getTypedRuleContext(nn,0)},pn.prototype.existsFunction=function(){return this.getTypedRuleContext(Kt,0)},pn.prototype.shortestPathPatternFunction=function(){return this.getTypedRuleContext(cn,0)},pn.prototype.relationshipsPattern=function(){return this.getTypedRuleContext(_n,0)},pn.prototype.parenthesizedExpression=function(){return this.getTypedRuleContext(vn,0)},pn.prototype.functionInvocation=function(){return this.getTypedRuleContext(Tn,0)},pn.prototype.variable=function(){return this.getTypedRuleContext(Nn,0)},pn.prototype.enterRule=function(e){e instanceof i&&e.enterAtom(this)},pn.prototype.exitRule=function(e){e instanceof i&&e.exitAtom(this)},p.AtomContext=pn,p.prototype.atom=function(){var e=new pn(this,this._ctx,this.state);this.enterRule(e,320,p.RULE_atom);try{switch(this.state=2245,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,329,this._ctx)){case 1:this.enterOuterAlt(e,1),this.state=2214,this.literal();break;case 2:this.enterOuterAlt(e,2),this.state=2215,this.parameter();break;case 3:this.enterOuterAlt(e,3),this.state=2216,this.caseExpression();break;case 4:this.enterOuterAlt(e,4),this.state=2217,this.match(p.COUNT),this.state=2219,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=2218,this.match(p.SP)),this.state=2221,this.match(p.T__18),this.state=2223,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=2222,this.match(p.SP)),this.state=2225,this.match(p.T__22),this.state=2227,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=2226,this.match(p.SP)),this.state=2229,this.match(p.T__19);break;case 5:this.enterOuterAlt(e,5),this.state=2230,this.listComprehension();break;case 6:this.enterOuterAlt(e,6),this.state=2231,this.patternComprehension();break;case 7:this.enterOuterAlt(e,7),this.state=2232,this.filterFunction();break;case 8:this.enterOuterAlt(e,8),this.state=2233,this.extractFunction();break;case 9:this.enterOuterAlt(e,9),this.state=2234,this.reduceFunction();break;case 10:this.enterOuterAlt(e,10),this.state=2235,this.allFunction();break;case 11:this.enterOuterAlt(e,11),this.state=2236,this.anyFunction();break;case 12:this.enterOuterAlt(e,12),this.state=2237,this.noneFunction();break;case 13:this.enterOuterAlt(e,13),this.state=2238,this.singleFunction();break;case 14:this.enterOuterAlt(e,14),this.state=2239,this.existsFunction();break;case 15:this.enterOuterAlt(e,15),this.state=2240,this.shortestPathPatternFunction();break;case 16:this.enterOuterAlt(e,16),this.state=2241,this.relationshipsPattern();break;case 17:this.enterOuterAlt(e,17),this.state=2242,this.parenthesizedExpression();break;case 18:this.enterOuterAlt(e,18),this.state=2243,this.functionInvocation();break;case 19:this.enterOuterAlt(e,19),this.state=2244,this.variable()}}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},dn.prototype=Object.create(r.ParserRuleContext.prototype),dn.prototype.constructor=dn,dn.prototype.numberLiteral=function(){return this.getTypedRuleContext(In,0)},dn.prototype.stringLiteral=function(){return this.getTypedRuleContext(fn,0)},dn.prototype.booleanLiteral=function(){return this.getTypedRuleContext(mn,0)},dn.prototype.NULL=function(){return this.getToken(p.NULL,0)},dn.prototype.mapLiteral=function(){return this.getTypedRuleContext(kn,0)},dn.prototype.listLiteral=function(){return this.getTypedRuleContext(gn,0)},dn.prototype.mapProjection=function(){return this.getTypedRuleContext(Dn,0)},dn.prototype.enterRule=function(e){e instanceof i&&e.enterLiteral(this)},dn.prototype.exitRule=function(e){e instanceof i&&e.exitLiteral(this)},p.LiteralContext=dn,p.prototype.literal=function(){var e=new dn(this,this._ctx,this.state);this.enterRule(e,322,p.RULE_literal);try{switch(this.state=2254,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,330,this._ctx)){case 1:this.enterOuterAlt(e,1),this.state=2247,this.numberLiteral();break;case 2:this.enterOuterAlt(e,2),this.state=2248,this.stringLiteral();break;case 3:this.enterOuterAlt(e,3),this.state=2249,this.booleanLiteral();break;case 4:this.enterOuterAlt(e,4),this.state=2250,this.match(p.NULL);break;case 5:this.enterOuterAlt(e,5),this.state=2251,this.mapLiteral();break;case 6:this.enterOuterAlt(e,6),this.state=2252,this.listLiteral();break;case 7:this.enterOuterAlt(e,7),this.state=2253,this.mapProjection()}}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},fn.prototype=Object.create(r.ParserRuleContext.prototype),fn.prototype.constructor=fn,fn.prototype.StringLiteral=function(){return this.getToken(p.StringLiteral,0)},fn.prototype.enterRule=function(e){e instanceof i&&e.enterStringLiteral(this)},fn.prototype.exitRule=function(e){e instanceof i&&e.exitStringLiteral(this)},p.StringLiteralContext=fn,p.prototype.stringLiteral=function(){var e=new fn(this,this._ctx,this.state);this.enterRule(e,324,p.RULE_stringLiteral);try{this.enterOuterAlt(e,1),this.state=2256,this.match(p.StringLiteral)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},mn.prototype=Object.create(r.ParserRuleContext.prototype),mn.prototype.constructor=mn,mn.prototype.TRUE=function(){return this.getToken(p.TRUE,0)},mn.prototype.FALSE=function(){return this.getToken(p.FALSE,0)},mn.prototype.enterRule=function(e){e instanceof i&&e.enterBooleanLiteral(this)},mn.prototype.exitRule=function(e){e instanceof i&&e.exitBooleanLiteral(this)},p.BooleanLiteralContext=mn,p.prototype.booleanLiteral=function(){var e=new mn(this,this._ctx,this.state);this.enterRule(e,326,p.RULE_booleanLiteral);var t=0;try{this.enterOuterAlt(e,1),this.state=2258,(t=this._input.LA(1))!==p.TRUE&&t!==p.FALSE?this._errHandler.recoverInline(this):(this._errHandler.reportMatch(this),this.consume())}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},gn.prototype=Object.create(r.ParserRuleContext.prototype),gn.prototype.constructor=gn,gn.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},gn.prototype.expression=function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(Dt):this.getTypedRuleContext(Dt,e)},gn.prototype.enterRule=function(e){e instanceof i&&e.enterListLiteral(this)},gn.prototype.exitRule=function(e){e instanceof i&&e.exitListLiteral(this)},p.ListLiteralContext=gn,p.prototype.listLiteral=function(){var e=new gn(this,this._ctx,this.state);this.enterRule(e,328,p.RULE_listLiteral);var t=0;try{if(this.enterOuterAlt(e,1),this.state=2260,this.match(p.T__16),this.state=2262,this._errHandler.sync(this),(t=this._input.LA(1))===p.SP&&(this.state=2261,this.match(p.SP)),this.state=2281,this._errHandler.sync(this),0==((t=this._input.LA(1))-3&-32)&&0!=(1<<t-3&(1<<p.T__2-3|1<<p.T__12-3|1<<p.T__13-3|1<<p.T__16-3|1<<p.T__18-3|1<<p.T__33-3))||0==(t-54&-32)&&0!=(1<<t-54&(1<<p.CYPHER-54|1<<p.EXPLAIN-54|1<<p.PROFILE-54|1<<p.USING-54|1<<p.PERIODIC-54|1<<p.COMMIT-54|1<<p.UNION-54|1<<p.ALL-54|1<<p.CREATE-54|1<<p.DROP-54|1<<p.INDEX-54|1<<p.ON-54|1<<p.CONSTRAINT-54|1<<p.ASSERT-54|1<<p.IS-54|1<<p.UNIQUE-54|1<<p.EXISTS-54|1<<p.LOAD-54|1<<p.CSV-54|1<<p.WITH-54|1<<p.HEADERS-54|1<<p.FROM-54|1<<p.AS-54|1<<p.FIELDTERMINATOR-54|1<<p.OPTIONAL-54|1<<p.MATCH-54|1<<p.UNWIND-54|1<<p.MERGE-54|1<<p.SET-54|1<<p.DETACH-54|1<<p.DELETE-54|1<<p.REMOVE-54))||0==(t-86&-32)&&0!=(1<<t-86&(1<<p.FOREACH-86|1<<p.IN-86|1<<p.DISTINCT-86|1<<p.RETURN-86|1<<p.ORDER-86|1<<p.BY-86|1<<p.L_SKIP-86|1<<p.LIMIT-86|1<<p.ASCENDING-86|1<<p.ASC-86|1<<p.DESCENDING-86|1<<p.DESC-86|1<<p.JOIN-86|1<<p.SCAN-86|1<<p.START-86|1<<p.NODE-86|1<<p.RELATIONSHIP-86|1<<p.REL-86|1<<p.WHERE-86|1<<p.SHORTESTPATH-86|1<<p.ALLSHORTESTPATHS-86|1<<p.OR-86|1<<p.XOR-86|1<<p.AND-86|1<<p.NOT-86|1<<p.STARTS-86|1<<p.ENDS-86|1<<p.CONTAINS-86|1<<p.NULL-86|1<<p.COUNT-86|1<<p.FILTER-86|1<<p.EXTRACT-86))||0==(t-118&-32)&&0!=(1<<t-118&(1<<p.ANY-118|1<<p.NONE-118|1<<p.SINGLE-118|1<<p.TRUE-118|1<<p.FALSE-118|1<<p.REDUCE-118|1<<p.CASE-118|1<<p.ELSE-118|1<<p.END-118|1<<p.WHEN-118|1<<p.THEN-118|1<<p.CALL-118|1<<p.YIELD-118|1<<p.KEY-118|1<<p.BTREE-118|1<<p.EXIST-118|1<<p.FOR-118|1<<p.OPTIONS-118|1<<p.EXECUTE-118|1<<p.DEFINED-118|1<<p.FUNCTION-118|1<<p.FUNCTIONS-118|1<<p.BOOSTED-118|1<<p.PROCEDURE-118|1<<p.PROCEDURES-118|1<<p.ADMIN-118|1<<p.ADMINISTRATOR-118|1<<p.BRIEF-118|1<<p.VERBOSE-118|1<<p.OUTPUT-118|1<<p.StringLiteral-118))||0==(t-151&-32)&&0!=(1<<t-151&(1<<p.HexInteger-151|1<<p.DecimalInteger-151|1<<p.OctalInteger-151|1<<p.HexLetter-151|1<<p.ExponentDecimalReal-151|1<<p.RegularDecimalReal-151|1<<p.UnescapedSymbolicName-151|1<<p.EscapedSymbolicName-151)))for(this.state=2264,this.expression(),this.state=2266,this._errHandler.sync(this),(t=this._input.LA(1))===p.SP&&(this.state=2265,this.match(p.SP)),this.state=2278,this._errHandler.sync(this),t=this._input.LA(1);t===p.T__14;)this.state=2268,this.match(p.T__14),this.state=2270,this._errHandler.sync(this),(t=this._input.LA(1))===p.SP&&(this.state=2269,this.match(p.SP)),this.state=2272,this.expression(),this.state=2274,this._errHandler.sync(this),(t=this._input.LA(1))===p.SP&&(this.state=2273,this.match(p.SP)),this.state=2280,this._errHandler.sync(this),t=this._input.LA(1);this.state=2283,this.match(p.T__17)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},yn.prototype=Object.create(r.ParserRuleContext.prototype),yn.prototype.constructor=yn,yn.prototype.addOrSubtractExpression=function(){return this.getTypedRuleContext(Ut,0)},yn.prototype.SP=function(){return this.getToken(p.SP,0)},yn.prototype.enterRule=function(e){e instanceof i&&e.enterPartialComparisonExpression(this)},yn.prototype.exitRule=function(e){e instanceof i&&e.exitPartialComparisonExpression(this)},p.PartialComparisonExpressionContext=yn,p.prototype.partialComparisonExpression=function(){var e=new yn(this,this._ctx,this.state);this.enterRule(e,330,p.RULE_partialComparisonExpression);try{switch(this.state=2320,this._errHandler.sync(this),this._input.LA(1)){case p.T__11:this.enterOuterAlt(e,1),this.state=2285,this.match(p.T__11),this.state=2287,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=2286,this.match(p.SP)),this.state=2289,this.addOrSubtractExpression();break;case p.T__27:this.enterOuterAlt(e,2),this.state=2290,this.match(p.T__27),this.state=2292,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=2291,this.match(p.SP)),this.state=2294,this.addOrSubtractExpression();break;case p.T__28:this.enterOuterAlt(e,3),this.state=2295,this.match(p.T__28),this.state=2297,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=2296,this.match(p.SP)),this.state=2299,this.addOrSubtractExpression();break;case p.T__29:this.enterOuterAlt(e,4),this.state=2300,this.match(p.T__29),this.state=2302,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=2301,this.match(p.SP)),this.state=2304,this.addOrSubtractExpression();break;case p.T__30:this.enterOuterAlt(e,5),this.state=2305,this.match(p.T__30),this.state=2307,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=2306,this.match(p.SP)),this.state=2309,this.addOrSubtractExpression();break;case p.T__31:this.enterOuterAlt(e,6),this.state=2310,this.match(p.T__31),this.state=2312,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=2311,this.match(p.SP)),this.state=2314,this.addOrSubtractExpression();break;case p.T__32:this.enterOuterAlt(e,7),this.state=2315,this.match(p.T__32),this.state=2317,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=2316,this.match(p.SP)),this.state=2319,this.addOrSubtractExpression();break;default:throw new r.error.NoViableAltException(this)}}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},vn.prototype=Object.create(r.ParserRuleContext.prototype),vn.prototype.constructor=vn,vn.prototype.expression=function(){return this.getTypedRuleContext(Dt,0)},vn.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},vn.prototype.enterRule=function(e){e instanceof i&&e.enterParenthesizedExpression(this)},vn.prototype.exitRule=function(e){e instanceof i&&e.exitParenthesizedExpression(this)},p.ParenthesizedExpressionContext=vn,p.prototype.parenthesizedExpression=function(){var e=new vn(this,this._ctx,this.state);this.enterRule(e,332,p.RULE_parenthesizedExpression);try{this.enterOuterAlt(e,1),this.state=2322,this.match(p.T__18),this.state=2324,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=2323,this.match(p.SP)),this.state=2326,this.expression(),this.state=2328,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=2327,this.match(p.SP)),this.state=2330,this.match(p.T__19)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},_n.prototype=Object.create(r.ParserRuleContext.prototype),_n.prototype.constructor=_n,_n.prototype.nodePattern=function(){return this.getTypedRuleContext(vt,0)},_n.prototype.patternElementChain=function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(_t):this.getTypedRuleContext(_t,e)},_n.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},_n.prototype.enterRule=function(e){e instanceof i&&e.enterRelationshipsPattern(this)},_n.prototype.exitRule=function(e){e instanceof i&&e.exitRelationshipsPattern(this)},p.RelationshipsPatternContext=_n,p.prototype.relationshipsPattern=function(){var e=new _n(this,this._ctx,this.state);this.enterRule(e,334,p.RULE_relationshipsPattern);try{this.enterOuterAlt(e,1),this.state=2332,this.nodePattern(),this.state=2337,this._errHandler.sync(this);var t=1;do{if(1!==t)throw new r.error.NoViableAltException(this);this.state=2334,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=2333,this.match(p.SP)),this.state=2336,this.patternElementChain(),this.state=2339,this._errHandler.sync(this),t=this._interp.adaptivePredict(this._input,348,this._ctx)}while(2!=t&&t!=r.atn.ATN.INVALID_ALT_NUMBER)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},bn.prototype=Object.create(r.ParserRuleContext.prototype),bn.prototype.constructor=bn,bn.prototype.idInColl=function(){return this.getTypedRuleContext(En,0)},bn.prototype.where=function(){return this.getTypedRuleContext(dt,0)},bn.prototype.SP=function(){return this.getToken(p.SP,0)},bn.prototype.enterRule=function(e){e instanceof i&&e.enterFilterExpression(this)},bn.prototype.exitRule=function(e){e instanceof i&&e.exitFilterExpression(this)},p.FilterExpressionContext=bn,p.prototype.filterExpression=function(){var e=new bn(this,this._ctx,this.state);this.enterRule(e,336,p.RULE_filterExpression);try{this.enterOuterAlt(e,1),this.state=2341,this.idInColl(),this.state=2346,this._errHandler.sync(this),1===this._interp.adaptivePredict(this._input,350,this._ctx)&&(this.state=2343,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=2342,this.match(p.SP)),this.state=2345,this.where())}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},En.prototype=Object.create(r.ParserRuleContext.prototype),En.prototype.constructor=En,En.prototype.variable=function(){return this.getTypedRuleContext(Nn,0)},En.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},En.prototype.IN=function(){return this.getToken(p.IN,0)},En.prototype.expression=function(){return this.getTypedRuleContext(Dt,0)},En.prototype.enterRule=function(e){e instanceof i&&e.enterIdInColl(this)},En.prototype.exitRule=function(e){e instanceof i&&e.exitIdInColl(this)},p.IdInCollContext=En,p.prototype.idInColl=function(){var e=new En(this,this._ctx,this.state);this.enterRule(e,338,p.RULE_idInColl);try{this.enterOuterAlt(e,1),this.state=2348,this.variable(),this.state=2349,this.match(p.SP),this.state=2350,this.match(p.IN),this.state=2351,this.match(p.SP),this.state=2352,this.expression()}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},Tn.prototype=Object.create(r.ParserRuleContext.prototype),Tn.prototype.constructor=Tn,Tn.prototype.functionInvocationBody=function(){return this.getTypedRuleContext(xn,0)},Tn.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},Tn.prototype.DISTINCT=function(){return this.getToken(p.DISTINCT,0)},Tn.prototype.expression=function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(Dt):this.getTypedRuleContext(Dt,e)},Tn.prototype.enterRule=function(e){e instanceof i&&e.enterFunctionInvocation(this)},Tn.prototype.exitRule=function(e){e instanceof i&&e.exitFunctionInvocation(this)},p.FunctionInvocationContext=Tn,p.prototype.functionInvocation=function(){var e=new Tn(this,this._ctx,this.state);this.enterRule(e,340,p.RULE_functionInvocation);var t=0;try{if(this.enterOuterAlt(e,1),this.state=2354,this.functionInvocationBody(),this.state=2356,this._errHandler.sync(this),(t=this._input.LA(1))===p.SP&&(this.state=2355,this.match(p.SP)),this.state=2358,this.match(p.T__18),this.state=2360,this._errHandler.sync(this),(t=this._input.LA(1))===p.SP&&(this.state=2359,this.match(p.SP)),this.state=2366,this._errHandler.sync(this),1===this._interp.adaptivePredict(this._input,354,this._ctx)&&(this.state=2362,this.match(p.DISTINCT),this.state=2364,this._errHandler.sync(this),(t=this._input.LA(1))===p.SP&&(this.state=2363,this.match(p.SP))),this.state=2385,this._errHandler.sync(this),0==((t=this._input.LA(1))-3&-32)&&0!=(1<<t-3&(1<<p.T__2-3|1<<p.T__12-3|1<<p.T__13-3|1<<p.T__16-3|1<<p.T__18-3|1<<p.T__33-3))||0==(t-54&-32)&&0!=(1<<t-54&(1<<p.CYPHER-54|1<<p.EXPLAIN-54|1<<p.PROFILE-54|1<<p.USING-54|1<<p.PERIODIC-54|1<<p.COMMIT-54|1<<p.UNION-54|1<<p.ALL-54|1<<p.CREATE-54|1<<p.DROP-54|1<<p.INDEX-54|1<<p.ON-54|1<<p.CONSTRAINT-54|1<<p.ASSERT-54|1<<p.IS-54|1<<p.UNIQUE-54|1<<p.EXISTS-54|1<<p.LOAD-54|1<<p.CSV-54|1<<p.WITH-54|1<<p.HEADERS-54|1<<p.FROM-54|1<<p.AS-54|1<<p.FIELDTERMINATOR-54|1<<p.OPTIONAL-54|1<<p.MATCH-54|1<<p.UNWIND-54|1<<p.MERGE-54|1<<p.SET-54|1<<p.DETACH-54|1<<p.DELETE-54|1<<p.REMOVE-54))||0==(t-86&-32)&&0!=(1<<t-86&(1<<p.FOREACH-86|1<<p.IN-86|1<<p.DISTINCT-86|1<<p.RETURN-86|1<<p.ORDER-86|1<<p.BY-86|1<<p.L_SKIP-86|1<<p.LIMIT-86|1<<p.ASCENDING-86|1<<p.ASC-86|1<<p.DESCENDING-86|1<<p.DESC-86|1<<p.JOIN-86|1<<p.SCAN-86|1<<p.START-86|1<<p.NODE-86|1<<p.RELATIONSHIP-86|1<<p.REL-86|1<<p.WHERE-86|1<<p.SHORTESTPATH-86|1<<p.ALLSHORTESTPATHS-86|1<<p.OR-86|1<<p.XOR-86|1<<p.AND-86|1<<p.NOT-86|1<<p.STARTS-86|1<<p.ENDS-86|1<<p.CONTAINS-86|1<<p.NULL-86|1<<p.COUNT-86|1<<p.FILTER-86|1<<p.EXTRACT-86))||0==(t-118&-32)&&0!=(1<<t-118&(1<<p.ANY-118|1<<p.NONE-118|1<<p.SINGLE-118|1<<p.TRUE-118|1<<p.FALSE-118|1<<p.REDUCE-118|1<<p.CASE-118|1<<p.ELSE-118|1<<p.END-118|1<<p.WHEN-118|1<<p.THEN-118|1<<p.CALL-118|1<<p.YIELD-118|1<<p.KEY-118|1<<p.BTREE-118|1<<p.EXIST-118|1<<p.FOR-118|1<<p.OPTIONS-118|1<<p.EXECUTE-118|1<<p.DEFINED-118|1<<p.FUNCTION-118|1<<p.FUNCTIONS-118|1<<p.BOOSTED-118|1<<p.PROCEDURE-118|1<<p.PROCEDURES-118|1<<p.ADMIN-118|1<<p.ADMINISTRATOR-118|1<<p.BRIEF-118|1<<p.VERBOSE-118|1<<p.OUTPUT-118|1<<p.StringLiteral-118))||0==(t-151&-32)&&0!=(1<<t-151&(1<<p.HexInteger-151|1<<p.DecimalInteger-151|1<<p.OctalInteger-151|1<<p.HexLetter-151|1<<p.ExponentDecimalReal-151|1<<p.RegularDecimalReal-151|1<<p.UnescapedSymbolicName-151|1<<p.EscapedSymbolicName-151)))for(this.state=2368,this.expression(),this.state=2370,this._errHandler.sync(this),(t=this._input.LA(1))===p.SP&&(this.state=2369,this.match(p.SP)),this.state=2382,this._errHandler.sync(this),t=this._input.LA(1);t===p.T__14;)this.state=2372,this.match(p.T__14),this.state=2374,this._errHandler.sync(this),(t=this._input.LA(1))===p.SP&&(this.state=2373,this.match(p.SP)),this.state=2376,this.expression(),this.state=2378,this._errHandler.sync(this),(t=this._input.LA(1))===p.SP&&(this.state=2377,this.match(p.SP)),this.state=2384,this._errHandler.sync(this),t=this._input.LA(1);this.state=2387,this.match(p.T__19)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},xn.prototype=Object.create(r.ParserRuleContext.prototype),xn.prototype.constructor=xn,xn.prototype.namespace=function(){return this.getTypedRuleContext(Xn,0)},xn.prototype.functionName=function(){return this.getTypedRuleContext(Sn,0)},xn.prototype.enterRule=function(e){e instanceof i&&e.enterFunctionInvocationBody(this)},xn.prototype.exitRule=function(e){e instanceof i&&e.exitFunctionInvocationBody(this)},p.FunctionInvocationBodyContext=xn,p.prototype.functionInvocationBody=function(){var e=new xn(this,this._ctx,this.state);this.enterRule(e,342,p.RULE_functionInvocationBody);try{this.enterOuterAlt(e,1),this.state=2389,this.namespace(),this.state=2390,this.functionName()}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},Sn.prototype=Object.create(r.ParserRuleContext.prototype),Sn.prototype.constructor=Sn,Sn.prototype.UnescapedSymbolicName=function(){return this.getToken(p.UnescapedSymbolicName,0)},Sn.prototype.EscapedSymbolicName=function(){return this.getToken(p.EscapedSymbolicName,0)},Sn.prototype.COUNT=function(){return this.getToken(p.COUNT,0)},Sn.prototype.enterRule=function(e){e instanceof i&&e.enterFunctionName(this)},Sn.prototype.exitRule=function(e){e instanceof i&&e.exitFunctionName(this)},p.FunctionNameContext=Sn,p.prototype.functionName=function(){var e=new Sn(this,this._ctx,this.state);this.enterRule(e,344,p.RULE_functionName);var t=0;try{this.enterOuterAlt(e,1),this.state=2392,(t=this._input.LA(1))!==p.COUNT&&t!==p.UnescapedSymbolicName&&t!==p.EscapedSymbolicName?this._errHandler.recoverInline(this):(this._errHandler.reportMatch(this),this.consume())}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},Cn.prototype=Object.create(r.ParserRuleContext.prototype),Cn.prototype.constructor=Cn,Cn.prototype.symbolicName=function(){return this.getTypedRuleContext(er,0)},Cn.prototype.enterRule=function(e){e instanceof i&&e.enterProcedureName(this)},Cn.prototype.exitRule=function(e){e instanceof i&&e.exitProcedureName(this)},p.ProcedureNameContext=Cn,p.prototype.procedureName=function(){var e=new Cn(this,this._ctx,this.state);this.enterRule(e,346,p.RULE_procedureName);try{this.enterOuterAlt(e,1),this.state=2394,this.symbolicName()}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},An.prototype=Object.create(r.ParserRuleContext.prototype),An.prototype.constructor=An,An.prototype.filterExpression=function(){return this.getTypedRuleContext(bn,0)},An.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},An.prototype.expression=function(){return this.getTypedRuleContext(Dt,0)},An.prototype.enterRule=function(e){e instanceof i&&e.enterListComprehension(this)},An.prototype.exitRule=function(e){e instanceof i&&e.exitListComprehension(this)},p.ListComprehensionContext=An,p.prototype.listComprehension=function(){var e=new An(this,this._ctx,this.state);this.enterRule(e,348,p.RULE_listComprehension);try{this.enterOuterAlt(e,1),this.state=2396,this.match(p.T__16),this.state=2398,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=2397,this.match(p.SP)),this.state=2400,this.filterExpression(),this.state=2409,this._errHandler.sync(this),1===this._interp.adaptivePredict(this._input,363,this._ctx)&&(this.state=2402,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=2401,this.match(p.SP)),this.state=2404,this.match(p.T__21),this.state=2406,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=2405,this.match(p.SP)),this.state=2408,this.expression()),this.state=2412,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=2411,this.match(p.SP)),this.state=2414,this.match(p.T__17)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},Rn.prototype=Object.create(r.ParserRuleContext.prototype),Rn.prototype.constructor=Rn,Rn.prototype.relationshipsPattern=function(){return this.getTypedRuleContext(_n,0)},Rn.prototype.expression=function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(Dt):this.getTypedRuleContext(Dt,e)},Rn.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},Rn.prototype.variable=function(){return this.getTypedRuleContext(Nn,0)},Rn.prototype.WHERE=function(){return this.getToken(p.WHERE,0)},Rn.prototype.enterRule=function(e){e instanceof i&&e.enterPatternComprehension(this)},Rn.prototype.exitRule=function(e){e instanceof i&&e.exitPatternComprehension(this)},p.PatternComprehensionContext=Rn,p.prototype.patternComprehension=function(){var e=new Rn(this,this._ctx,this.state);this.enterRule(e,350,p.RULE_patternComprehension);var t=0;try{this.enterOuterAlt(e,1),this.state=2416,this.match(p.T__16),this.state=2418,this._errHandler.sync(this),(t=this._input.LA(1))===p.SP&&(this.state=2417,this.match(p.SP)),this.state=2428,this._errHandler.sync(this),(0==((t=this._input.LA(1))-54&-32)&&0!=(1<<t-54&(1<<p.CYPHER-54|1<<p.EXPLAIN-54|1<<p.PROFILE-54|1<<p.USING-54|1<<p.PERIODIC-54|1<<p.COMMIT-54|1<<p.UNION-54|1<<p.ALL-54|1<<p.CREATE-54|1<<p.DROP-54|1<<p.INDEX-54|1<<p.ON-54|1<<p.CONSTRAINT-54|1<<p.ASSERT-54|1<<p.IS-54|1<<p.UNIQUE-54|1<<p.EXISTS-54|1<<p.LOAD-54|1<<p.CSV-54|1<<p.WITH-54|1<<p.HEADERS-54|1<<p.FROM-54|1<<p.AS-54|1<<p.FIELDTERMINATOR-54|1<<p.OPTIONAL-54|1<<p.MATCH-54|1<<p.UNWIND-54|1<<p.MERGE-54|1<<p.SET-54|1<<p.DETACH-54|1<<p.DELETE-54|1<<p.REMOVE-54))||0==(t-86&-32)&&0!=(1<<t-86&(1<<p.FOREACH-86|1<<p.IN-86|1<<p.DISTINCT-86|1<<p.RETURN-86|1<<p.ORDER-86|1<<p.BY-86|1<<p.L_SKIP-86|1<<p.LIMIT-86|1<<p.ASCENDING-86|1<<p.ASC-86|1<<p.DESCENDING-86|1<<p.DESC-86|1<<p.JOIN-86|1<<p.SCAN-86|1<<p.START-86|1<<p.NODE-86|1<<p.RELATIONSHIP-86|1<<p.REL-86|1<<p.WHERE-86|1<<p.SHORTESTPATH-86|1<<p.ALLSHORTESTPATHS-86|1<<p.OR-86|1<<p.XOR-86|1<<p.AND-86|1<<p.NOT-86|1<<p.STARTS-86|1<<p.ENDS-86|1<<p.CONTAINS-86|1<<p.NULL-86|1<<p.COUNT-86|1<<p.FILTER-86|1<<p.EXTRACT-86))||0==(t-118&-32)&&0!=(1<<t-118&(1<<p.ANY-118|1<<p.NONE-118|1<<p.SINGLE-118|1<<p.TRUE-118|1<<p.FALSE-118|1<<p.REDUCE-118|1<<p.CASE-118|1<<p.ELSE-118|1<<p.END-118|1<<p.WHEN-118|1<<p.THEN-118|1<<p.CALL-118|1<<p.YIELD-118|1<<p.KEY-118|1<<p.BTREE-118|1<<p.EXIST-118|1<<p.FOR-118|1<<p.OPTIONS-118|1<<p.EXECUTE-118|1<<p.DEFINED-118|1<<p.FUNCTION-118|1<<p.FUNCTIONS-118|1<<p.BOOSTED-118|1<<p.PROCEDURE-118|1<<p.PROCEDURES-118|1<<p.ADMIN-118|1<<p.ADMINISTRATOR-118|1<<p.BRIEF-118|1<<p.VERBOSE-118|1<<p.OUTPUT-118))||0==(t-154&-32)&&0!=(1<<t-154&(1<<p.HexLetter-154|1<<p.UnescapedSymbolicName-154|1<<p.EscapedSymbolicName-154)))&&(this.state=2420,this.variable(),this.state=2422,this._errHandler.sync(this),(t=this._input.LA(1))===p.SP&&(this.state=2421,this.match(p.SP)),this.state=2424,this.match(p.T__11),this.state=2426,this._errHandler.sync(this),(t=this._input.LA(1))===p.SP&&(this.state=2425,this.match(p.SP))),this.state=2430,this.relationshipsPattern(),this.state=2432,this._errHandler.sync(this),(t=this._input.LA(1))===p.SP&&(this.state=2431,this.match(p.SP)),this.state=2442,this._errHandler.sync(this),(t=this._input.LA(1))===p.WHERE&&(this.state=2434,this.match(p.WHERE),this.state=2436,this._errHandler.sync(this),(t=this._input.LA(1))===p.SP&&(this.state=2435,this.match(p.SP)),this.state=2438,this.expression(),this.state=2440,this._errHandler.sync(this),(t=this._input.LA(1))===p.SP&&(this.state=2439,this.match(p.SP))),this.state=2444,this.match(p.T__21),this.state=2446,this._errHandler.sync(this),(t=this._input.LA(1))===p.SP&&(this.state=2445,this.match(p.SP)),this.state=2448,this.expression(),this.state=2450,this._errHandler.sync(this),(t=this._input.LA(1))===p.SP&&(this.state=2449,this.match(p.SP)),this.state=2452,this.match(p.T__17)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},wn.prototype=Object.create(r.ParserRuleContext.prototype),wn.prototype.constructor=wn,wn.prototype.propertyKeyName=function(){return this.getTypedRuleContext(Vn,0)},wn.prototype.SP=function(){return this.getToken(p.SP,0)},wn.prototype.enterRule=function(e){e instanceof i&&e.enterPropertyLookup(this)},wn.prototype.exitRule=function(e){e instanceof i&&e.exitPropertyLookup(this)},p.PropertyLookupContext=wn,p.prototype.propertyLookup=function(){var e=new wn(this,this._ctx,this.state);this.enterRule(e,352,p.RULE_propertyLookup);try{this.enterOuterAlt(e,1),this.state=2454,this.match(p.T__6),this.state=2456,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=2455,this.match(p.SP)),this.state=2458,this.propertyKeyName()}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},Ln.prototype=Object.create(r.ParserRuleContext.prototype),Ln.prototype.constructor=Ln,Ln.prototype.END=function(){return this.getToken(p.END,0)},Ln.prototype.ELSE=function(){return this.getToken(p.ELSE,0)},Ln.prototype.expression=function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(Dt):this.getTypedRuleContext(Dt,e)},Ln.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},Ln.prototype.CASE=function(){return this.getToken(p.CASE,0)},Ln.prototype.caseAlternatives=function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(On):this.getTypedRuleContext(On,e)},Ln.prototype.enterRule=function(e){e instanceof i&&e.enterCaseExpression(this)},Ln.prototype.exitRule=function(e){e instanceof i&&e.exitCaseExpression(this)},p.CaseExpressionContext=Ln,p.prototype.caseExpression=function(){var e=new Ln(this,this._ctx,this.state);this.enterRule(e,354,p.RULE_caseExpression);try{switch(this.enterOuterAlt(e,1),this.state=2482,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,381,this._ctx)){case 1:this.state=2460,this.match(p.CASE),this.state=2465,this._errHandler.sync(this);var t=1;do{if(1!==t)throw new r.error.NoViableAltException(this);this.state=2462,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=2461,this.match(p.SP)),this.state=2464,this.caseAlternatives(),this.state=2467,this._errHandler.sync(this),t=this._interp.adaptivePredict(this._input,377,this._ctx)}while(2!=t&&t!=r.atn.ATN.INVALID_ALT_NUMBER);break;case 2:this.state=2469,this.match(p.CASE),this.state=2471,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=2470,this.match(p.SP)),this.state=2473,this.expression(),this.state=2478,this._errHandler.sync(this),t=1;do{if(1!==t)throw new r.error.NoViableAltException(this);this.state=2475,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=2474,this.match(p.SP)),this.state=2477,this.caseAlternatives(),this.state=2480,this._errHandler.sync(this),t=this._interp.adaptivePredict(this._input,380,this._ctx)}while(2!=t&&t!=r.atn.ATN.INVALID_ALT_NUMBER)}this.state=2492,this._errHandler.sync(this),1===this._interp.adaptivePredict(this._input,384,this._ctx)&&(this.state=2485,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=2484,this.match(p.SP)),this.state=2487,this.match(p.ELSE),this.state=2489,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=2488,this.match(p.SP)),this.state=2491,this.expression()),this.state=2495,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=2494,this.match(p.SP)),this.state=2497,this.match(p.END)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},On.prototype=Object.create(r.ParserRuleContext.prototype),On.prototype.constructor=On,On.prototype.WHEN=function(){return this.getToken(p.WHEN,0)},On.prototype.expression=function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(Dt):this.getTypedRuleContext(Dt,e)},On.prototype.THEN=function(){return this.getToken(p.THEN,0)},On.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},On.prototype.enterRule=function(e){e instanceof i&&e.enterCaseAlternatives(this)},On.prototype.exitRule=function(e){e instanceof i&&e.exitCaseAlternatives(this)},p.CaseAlternativesContext=On,p.prototype.caseAlternatives=function(){var e=new On(this,this._ctx,this.state);this.enterRule(e,356,p.RULE_caseAlternatives);try{this.enterOuterAlt(e,1),this.state=2499,this.match(p.WHEN),this.state=2501,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=2500,this.match(p.SP)),this.state=2503,this.expression(),this.state=2505,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=2504,this.match(p.SP)),this.state=2507,this.match(p.THEN),this.state=2509,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=2508,this.match(p.SP)),this.state=2511,this.expression()}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},Nn.prototype=Object.create(r.ParserRuleContext.prototype),Nn.prototype.constructor=Nn,Nn.prototype.symbolicName=function(){return this.getTypedRuleContext(er,0)},Nn.prototype.enterRule=function(e){e instanceof i&&e.enterVariable(this)},Nn.prototype.exitRule=function(e){e instanceof i&&e.exitVariable(this)},p.VariableContext=Nn,p.prototype.variable=function(){var e=new Nn(this,this._ctx,this.state);this.enterRule(e,358,p.RULE_variable);try{this.enterOuterAlt(e,1),this.state=2513,this.symbolicName()}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},In.prototype=Object.create(r.ParserRuleContext.prototype),In.prototype.constructor=In,In.prototype.doubleLiteral=function(){return this.getTypedRuleContext(qn,0)},In.prototype.integerLiteral=function(){return this.getTypedRuleContext(Kn,0)},In.prototype.enterRule=function(e){e instanceof i&&e.enterNumberLiteral(this)},In.prototype.exitRule=function(e){e instanceof i&&e.exitNumberLiteral(this)},p.NumberLiteralContext=In,p.prototype.numberLiteral=function(){var e=new In(this,this._ctx,this.state);this.enterRule(e,360,p.RULE_numberLiteral);try{switch(this.state=2517,this._errHandler.sync(this),this._input.LA(1)){case p.ExponentDecimalReal:case p.RegularDecimalReal:this.enterOuterAlt(e,1),this.state=2515,this.doubleLiteral();break;case p.HexInteger:case p.DecimalInteger:case p.OctalInteger:this.enterOuterAlt(e,2),this.state=2516,this.integerLiteral();break;default:throw new r.error.NoViableAltException(this)}}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},kn.prototype=Object.create(r.ParserRuleContext.prototype),kn.prototype.constructor=kn,kn.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},kn.prototype.literalEntry=function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(Mn):this.getTypedRuleContext(Mn,e)},kn.prototype.enterRule=function(e){e instanceof i&&e.enterMapLiteral(this)},kn.prototype.exitRule=function(e){e instanceof i&&e.exitMapLiteral(this)},p.MapLiteralContext=kn,p.prototype.mapLiteral=function(){var e=new kn(this,this._ctx,this.state);this.enterRule(e,362,p.RULE_mapLiteral);var t=0;try{if(this.enterOuterAlt(e,1),this.state=2519,this.match(p.T__13),this.state=2521,this._errHandler.sync(this),(t=this._input.LA(1))===p.SP&&(this.state=2520,this.match(p.SP)),this.state=2540,this._errHandler.sync(this),0==((t=this._input.LA(1))-54&-32)&&0!=(1<<t-54&(1<<p.CYPHER-54|1<<p.EXPLAIN-54|1<<p.PROFILE-54|1<<p.USING-54|1<<p.PERIODIC-54|1<<p.COMMIT-54|1<<p.UNION-54|1<<p.ALL-54|1<<p.CREATE-54|1<<p.DROP-54|1<<p.INDEX-54|1<<p.ON-54|1<<p.CONSTRAINT-54|1<<p.ASSERT-54|1<<p.IS-54|1<<p.UNIQUE-54|1<<p.EXISTS-54|1<<p.LOAD-54|1<<p.CSV-54|1<<p.WITH-54|1<<p.HEADERS-54|1<<p.FROM-54|1<<p.AS-54|1<<p.FIELDTERMINATOR-54|1<<p.OPTIONAL-54|1<<p.MATCH-54|1<<p.UNWIND-54|1<<p.MERGE-54|1<<p.SET-54|1<<p.DETACH-54|1<<p.DELETE-54|1<<p.REMOVE-54))||0==(t-86&-32)&&0!=(1<<t-86&(1<<p.FOREACH-86|1<<p.IN-86|1<<p.DISTINCT-86|1<<p.RETURN-86|1<<p.ORDER-86|1<<p.BY-86|1<<p.L_SKIP-86|1<<p.LIMIT-86|1<<p.ASCENDING-86|1<<p.ASC-86|1<<p.DESCENDING-86|1<<p.DESC-86|1<<p.JOIN-86|1<<p.SCAN-86|1<<p.START-86|1<<p.NODE-86|1<<p.RELATIONSHIP-86|1<<p.REL-86|1<<p.WHERE-86|1<<p.SHORTESTPATH-86|1<<p.ALLSHORTESTPATHS-86|1<<p.OR-86|1<<p.XOR-86|1<<p.AND-86|1<<p.NOT-86|1<<p.STARTS-86|1<<p.ENDS-86|1<<p.CONTAINS-86|1<<p.NULL-86|1<<p.COUNT-86|1<<p.FILTER-86|1<<p.EXTRACT-86))||0==(t-118&-32)&&0!=(1<<t-118&(1<<p.ANY-118|1<<p.NONE-118|1<<p.SINGLE-118|1<<p.TRUE-118|1<<p.FALSE-118|1<<p.REDUCE-118|1<<p.CASE-118|1<<p.ELSE-118|1<<p.END-118|1<<p.WHEN-118|1<<p.THEN-118|1<<p.CALL-118|1<<p.YIELD-118|1<<p.KEY-118|1<<p.BTREE-118|1<<p.EXIST-118|1<<p.FOR-118|1<<p.OPTIONS-118|1<<p.EXECUTE-118|1<<p.DEFINED-118|1<<p.FUNCTION-118|1<<p.FUNCTIONS-118|1<<p.BOOSTED-118|1<<p.PROCEDURE-118|1<<p.PROCEDURES-118|1<<p.ADMIN-118|1<<p.ADMINISTRATOR-118|1<<p.BRIEF-118|1<<p.VERBOSE-118|1<<p.OUTPUT-118))||0==(t-154&-32)&&0!=(1<<t-154&(1<<p.HexLetter-154|1<<p.UnescapedSymbolicName-154|1<<p.EscapedSymbolicName-154)))for(this.state=2523,this.literalEntry(),this.state=2525,this._errHandler.sync(this),(t=this._input.LA(1))===p.SP&&(this.state=2524,this.match(p.SP)),this.state=2537,this._errHandler.sync(this),t=this._input.LA(1);t===p.T__14;)this.state=2527,this.match(p.T__14),this.state=2529,this._errHandler.sync(this),(t=this._input.LA(1))===p.SP&&(this.state=2528,this.match(p.SP)),this.state=2531,this.literalEntry(),this.state=2533,this._errHandler.sync(this),(t=this._input.LA(1))===p.SP&&(this.state=2532,this.match(p.SP)),this.state=2539,this._errHandler.sync(this),t=this._input.LA(1);this.state=2542,this.match(p.T__15)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},Dn.prototype=Object.create(r.ParserRuleContext.prototype),Dn.prototype.constructor=Dn,Dn.prototype.variable=function(){return this.getTypedRuleContext(Nn,0)},Dn.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},Dn.prototype.mapProjectionVariants=function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(Pn):this.getTypedRuleContext(Pn,e)},Dn.prototype.enterRule=function(e){e instanceof i&&e.enterMapProjection(this)},Dn.prototype.exitRule=function(e){e instanceof i&&e.exitMapProjection(this)},p.MapProjectionContext=Dn,p.prototype.mapProjection=function(){var e=new Dn(this,this._ctx,this.state);this.enterRule(e,364,p.RULE_mapProjection);var t=0;try{this.enterOuterAlt(e,1),this.state=2544,this.variable(),this.state=2546,this._errHandler.sync(this),(t=this._input.LA(1))===p.SP&&(this.state=2545,this.match(p.SP)),this.state=2548,this.match(p.T__13),this.state=2550,this._errHandler.sync(this),1===this._interp.adaptivePredict(this._input,397,this._ctx)&&(this.state=2549,this.match(p.SP)),this.state=2553,this._errHandler.sync(this),((t=this._input.LA(1))===p.T__6||0==(t-54&-32)&&0!=(1<<t-54&(1<<p.CYPHER-54|1<<p.EXPLAIN-54|1<<p.PROFILE-54|1<<p.USING-54|1<<p.PERIODIC-54|1<<p.COMMIT-54|1<<p.UNION-54|1<<p.ALL-54|1<<p.CREATE-54|1<<p.DROP-54|1<<p.INDEX-54|1<<p.ON-54|1<<p.CONSTRAINT-54|1<<p.ASSERT-54|1<<p.IS-54|1<<p.UNIQUE-54|1<<p.EXISTS-54|1<<p.LOAD-54|1<<p.CSV-54|1<<p.WITH-54|1<<p.HEADERS-54|1<<p.FROM-54|1<<p.AS-54|1<<p.FIELDTERMINATOR-54|1<<p.OPTIONAL-54|1<<p.MATCH-54|1<<p.UNWIND-54|1<<p.MERGE-54|1<<p.SET-54|1<<p.DETACH-54|1<<p.DELETE-54|1<<p.REMOVE-54))||0==(t-86&-32)&&0!=(1<<t-86&(1<<p.FOREACH-86|1<<p.IN-86|1<<p.DISTINCT-86|1<<p.RETURN-86|1<<p.ORDER-86|1<<p.BY-86|1<<p.L_SKIP-86|1<<p.LIMIT-86|1<<p.ASCENDING-86|1<<p.ASC-86|1<<p.DESCENDING-86|1<<p.DESC-86|1<<p.JOIN-86|1<<p.SCAN-86|1<<p.START-86|1<<p.NODE-86|1<<p.RELATIONSHIP-86|1<<p.REL-86|1<<p.WHERE-86|1<<p.SHORTESTPATH-86|1<<p.ALLSHORTESTPATHS-86|1<<p.OR-86|1<<p.XOR-86|1<<p.AND-86|1<<p.NOT-86|1<<p.STARTS-86|1<<p.ENDS-86|1<<p.CONTAINS-86|1<<p.NULL-86|1<<p.COUNT-86|1<<p.FILTER-86|1<<p.EXTRACT-86))||0==(t-118&-32)&&0!=(1<<t-118&(1<<p.ANY-118|1<<p.NONE-118|1<<p.SINGLE-118|1<<p.TRUE-118|1<<p.FALSE-118|1<<p.REDUCE-118|1<<p.CASE-118|1<<p.ELSE-118|1<<p.END-118|1<<p.WHEN-118|1<<p.THEN-118|1<<p.CALL-118|1<<p.YIELD-118|1<<p.KEY-118|1<<p.BTREE-118|1<<p.EXIST-118|1<<p.FOR-118|1<<p.OPTIONS-118|1<<p.EXECUTE-118|1<<p.DEFINED-118|1<<p.FUNCTION-118|1<<p.FUNCTIONS-118|1<<p.BOOSTED-118|1<<p.PROCEDURE-118|1<<p.PROCEDURES-118|1<<p.ADMIN-118|1<<p.ADMINISTRATOR-118|1<<p.BRIEF-118|1<<p.VERBOSE-118|1<<p.OUTPUT-118))||0==(t-154&-32)&&0!=(1<<t-154&(1<<p.HexLetter-154|1<<p.UnescapedSymbolicName-154|1<<p.EscapedSymbolicName-154)))&&(this.state=2552,this.mapProjectionVariants()),this.state=2565,this._errHandler.sync(this);for(var n=this._interp.adaptivePredict(this._input,401,this._ctx);2!=n&&n!=r.atn.ATN.INVALID_ALT_NUMBER;)1===n&&(this.state=2556,this._errHandler.sync(this),(t=this._input.LA(1))===p.SP&&(this.state=2555,this.match(p.SP)),this.state=2558,this.match(p.T__14),this.state=2560,this._errHandler.sync(this),(t=this._input.LA(1))===p.SP&&(this.state=2559,this.match(p.SP)),this.state=2562,this.mapProjectionVariants()),this.state=2567,this._errHandler.sync(this),n=this._interp.adaptivePredict(this._input,401,this._ctx);this.state=2569,this._errHandler.sync(this),(t=this._input.LA(1))===p.SP&&(this.state=2568,this.match(p.SP)),this.state=2571,this.match(p.T__15)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},Pn.prototype=Object.create(r.ParserRuleContext.prototype),Pn.prototype.constructor=Pn,Pn.prototype.literalEntry=function(){return this.getTypedRuleContext(Mn,0)},Pn.prototype.propertySelector=function(){return this.getTypedRuleContext(Fn,0)},Pn.prototype.variableSelector=function(){return this.getTypedRuleContext(Hn,0)},Pn.prototype.allPropertiesSelector=function(){return this.getTypedRuleContext(Bn,0)},Pn.prototype.enterRule=function(e){e instanceof i&&e.enterMapProjectionVariants(this)},Pn.prototype.exitRule=function(e){e instanceof i&&e.exitMapProjectionVariants(this)},p.MapProjectionVariantsContext=Pn,p.prototype.mapProjectionVariants=function(){var e=new Pn(this,this._ctx,this.state);this.enterRule(e,366,p.RULE_mapProjectionVariants);try{switch(this.enterOuterAlt(e,1),this.state=2577,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,403,this._ctx)){case 1:this.state=2573,this.literalEntry();break;case 2:this.state=2574,this.propertySelector();break;case 3:this.state=2575,this.variableSelector();break;case 4:this.state=2576,this.allPropertiesSelector()}}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},Mn.prototype=Object.create(r.ParserRuleContext.prototype),Mn.prototype.constructor=Mn,Mn.prototype.propertyKeyName=function(){return this.getTypedRuleContext(Vn,0)},Mn.prototype.expression=function(){return this.getTypedRuleContext(Dt,0)},Mn.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},Mn.prototype.enterRule=function(e){e instanceof i&&e.enterLiteralEntry(this)},Mn.prototype.exitRule=function(e){e instanceof i&&e.exitLiteralEntry(this)},p.LiteralEntryContext=Mn,p.prototype.literalEntry=function(){var e=new Mn(this,this._ctx,this.state);this.enterRule(e,368,p.RULE_literalEntry);try{this.enterOuterAlt(e,1),this.state=2579,this.propertyKeyName(),this.state=2581,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=2580,this.match(p.SP)),this.state=2583,this.match(p.T__1),this.state=2585,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=2584,this.match(p.SP)),this.state=2587,this.expression()}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},Fn.prototype=Object.create(r.ParserRuleContext.prototype),Fn.prototype.constructor=Fn,Fn.prototype.variable=function(){return this.getTypedRuleContext(Nn,0)},Fn.prototype.enterRule=function(e){e instanceof i&&e.enterPropertySelector(this)},Fn.prototype.exitRule=function(e){e instanceof i&&e.exitPropertySelector(this)},p.PropertySelectorContext=Fn,p.prototype.propertySelector=function(){var e=new Fn(this,this._ctx,this.state);this.enterRule(e,370,p.RULE_propertySelector);try{this.enterOuterAlt(e,1),this.state=2589,this.match(p.T__6),this.state=2590,this.variable()}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},Hn.prototype=Object.create(r.ParserRuleContext.prototype),Hn.prototype.constructor=Hn,Hn.prototype.variable=function(){return this.getTypedRuleContext(Nn,0)},Hn.prototype.enterRule=function(e){e instanceof i&&e.enterVariableSelector(this)},Hn.prototype.exitRule=function(e){e instanceof i&&e.exitVariableSelector(this)},p.VariableSelectorContext=Hn,p.prototype.variableSelector=function(){var e=new Hn(this,this._ctx,this.state);this.enterRule(e,372,p.RULE_variableSelector);try{this.enterOuterAlt(e,1),this.state=2592,this.variable()}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},Bn.prototype=Object.create(r.ParserRuleContext.prototype),Bn.prototype.constructor=Bn,Bn.prototype.enterRule=function(e){e instanceof i&&e.enterAllPropertiesSelector(this)},Bn.prototype.exitRule=function(e){e instanceof i&&e.exitAllPropertiesSelector(this)},p.AllPropertiesSelectorContext=Bn,p.prototype.allPropertiesSelector=function(){var e=new Bn(this,this._ctx,this.state);this.enterRule(e,374,p.RULE_allPropertiesSelector);try{this.enterOuterAlt(e,1),this.state=2594,this.match(p.T__6),this.state=2595,this.match(p.T__22)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},Un.prototype=Object.create(r.ParserRuleContext.prototype),Un.prototype.constructor=Un,Un.prototype.legacyParameter=function(){return this.getTypedRuleContext(jn,0)},Un.prototype.newParameter=function(){return this.getTypedRuleContext(Gn,0)},Un.prototype.enterRule=function(e){e instanceof i&&e.enterParameter(this)},Un.prototype.exitRule=function(e){e instanceof i&&e.exitParameter(this)},p.ParameterContext=Un,p.prototype.parameter=function(){var e=new Un(this,this._ctx,this.state);this.enterRule(e,376,p.RULE_parameter);try{switch(this.state=2599,this._errHandler.sync(this),this._input.LA(1)){case p.T__13:this.enterOuterAlt(e,1),this.state=2597,this.legacyParameter();break;case p.T__33:this.enterOuterAlt(e,2),this.state=2598,this.newParameter();break;default:throw new r.error.NoViableAltException(this)}}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},jn.prototype=Object.create(r.ParserRuleContext.prototype),jn.prototype.constructor=jn,jn.prototype.parameterName=function(){return this.getTypedRuleContext(Yn,0)},jn.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},jn.prototype.enterRule=function(e){e instanceof i&&e.enterLegacyParameter(this)},jn.prototype.exitRule=function(e){e instanceof i&&e.exitLegacyParameter(this)},p.LegacyParameterContext=jn,p.prototype.legacyParameter=function(){var e=new jn(this,this._ctx,this.state);this.enterRule(e,378,p.RULE_legacyParameter);try{this.enterOuterAlt(e,1),this.state=2601,this.match(p.T__13),this.state=2603,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=2602,this.match(p.SP)),this.state=2605,this.parameterName(),this.state=2607,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=2606,this.match(p.SP)),this.state=2609,this.match(p.T__15)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},Gn.prototype=Object.create(r.ParserRuleContext.prototype),Gn.prototype.constructor=Gn,Gn.prototype.parameterName=function(){return this.getTypedRuleContext(Yn,0)},Gn.prototype.enterRule=function(e){e instanceof i&&e.enterNewParameter(this)},Gn.prototype.exitRule=function(e){e instanceof i&&e.exitNewParameter(this)},p.NewParameterContext=Gn,p.prototype.newParameter=function(){var e=new Gn(this,this._ctx,this.state);this.enterRule(e,380,p.RULE_newParameter);try{this.enterOuterAlt(e,1),this.state=2611,this.match(p.T__33),this.state=2612,this.parameterName()}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},Yn.prototype=Object.create(r.ParserRuleContext.prototype),Yn.prototype.constructor=Yn,Yn.prototype.symbolicName=function(){return this.getTypedRuleContext(er,0)},Yn.prototype.DecimalInteger=function(){return this.getToken(p.DecimalInteger,0)},Yn.prototype.enterRule=function(e){e instanceof i&&e.enterParameterName(this)},Yn.prototype.exitRule=function(e){e instanceof i&&e.exitParameterName(this)},p.ParameterNameContext=Yn,p.prototype.parameterName=function(){var e=new Yn(this,this._ctx,this.state);this.enterRule(e,382,p.RULE_parameterName);try{switch(this.state=2616,this._errHandler.sync(this),this._input.LA(1)){case p.CYPHER:case p.EXPLAIN:case p.PROFILE:case p.USING:case p.PERIODIC:case p.COMMIT:case p.UNION:case p.ALL:case p.CREATE:case p.DROP:case p.INDEX:case p.ON:case p.CONSTRAINT:case p.ASSERT:case p.IS:case p.UNIQUE:case p.EXISTS:case p.LOAD:case p.CSV:case p.WITH:case p.HEADERS:case p.FROM:case p.AS:case p.FIELDTERMINATOR:case p.OPTIONAL:case p.MATCH:case p.UNWIND:case p.MERGE:case p.SET:case p.DETACH:case p.DELETE:case p.REMOVE:case p.FOREACH:case p.IN:case p.DISTINCT:case p.RETURN:case p.ORDER:case p.BY:case p.L_SKIP:case p.LIMIT:case p.ASCENDING:case p.ASC:case p.DESCENDING:case p.DESC:case p.JOIN:case p.SCAN:case p.START:case p.NODE:case p.RELATIONSHIP:case p.REL:case p.WHERE:case p.SHORTESTPATH:case p.ALLSHORTESTPATHS:case p.OR:case p.XOR:case p.AND:case p.NOT:case p.STARTS:case p.ENDS:case p.CONTAINS:case p.NULL:case p.COUNT:case p.FILTER:case p.EXTRACT:case p.ANY:case p.NONE:case p.SINGLE:case p.TRUE:case p.FALSE:case p.REDUCE:case p.CASE:case p.ELSE:case p.END:case p.WHEN:case p.THEN:case p.CALL:case p.YIELD:case p.KEY:case p.BTREE:case p.EXIST:case p.FOR:case p.OPTIONS:case p.EXECUTE:case p.DEFINED:case p.FUNCTION:case p.FUNCTIONS:case p.BOOSTED:case p.PROCEDURE:case p.PROCEDURES:case p.ADMIN:case p.ADMINISTRATOR:case p.BRIEF:case p.VERBOSE:case p.OUTPUT:case p.HexLetter:case p.UnescapedSymbolicName:case p.EscapedSymbolicName:this.enterOuterAlt(e,1),this.state=2614,this.symbolicName();break;case p.DecimalInteger:this.enterOuterAlt(e,2),this.state=2615,this.match(p.DecimalInteger);break;default:throw new r.error.NoViableAltException(this)}}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},zn.prototype=Object.create(r.ParserRuleContext.prototype),zn.prototype.constructor=zn,zn.prototype.propertyExpression=function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts($n):this.getTypedRuleContext($n,e)},zn.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},zn.prototype.enterRule=function(e){e instanceof i&&e.enterPropertyExpressions(this)},zn.prototype.exitRule=function(e){e instanceof i&&e.exitPropertyExpressions(this)},p.PropertyExpressionsContext=zn,p.prototype.propertyExpressions=function(){var e=new zn(this,this._ctx,this.state);this.enterRule(e,384,p.RULE_propertyExpressions);try{this.enterOuterAlt(e,1),this.state=2618,this.propertyExpression(),this.state=2629,this._errHandler.sync(this);for(var t=this._interp.adaptivePredict(this._input,412,this._ctx);2!=t&&t!=r.atn.ATN.INVALID_ALT_NUMBER;)1===t&&(this.state=2620,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=2619,this.match(p.SP)),this.state=2622,this.match(p.T__14),this.state=2624,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=2623,this.match(p.SP)),this.state=2626,this.propertyExpression()),this.state=2631,this._errHandler.sync(this),t=this._interp.adaptivePredict(this._input,412,this._ctx)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},$n.prototype=Object.create(r.ParserRuleContext.prototype),$n.prototype.constructor=$n,$n.prototype.atom=function(){return this.getTypedRuleContext(pn,0)},$n.prototype.propertyLookup=function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(wn):this.getTypedRuleContext(wn,e)},$n.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},$n.prototype.enterRule=function(e){e instanceof i&&e.enterPropertyExpression(this)},$n.prototype.exitRule=function(e){e instanceof i&&e.exitPropertyExpression(this)},p.PropertyExpressionContext=$n,p.prototype.propertyExpression=function(){var e=new $n(this,this._ctx,this.state);this.enterRule(e,386,p.RULE_propertyExpression);try{this.enterOuterAlt(e,1),this.state=2632,this.atom(),this.state=2637,this._errHandler.sync(this);var t=1;do{if(1!==t)throw new r.error.NoViableAltException(this);this.state=2634,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=2633,this.match(p.SP)),this.state=2636,this.propertyLookup(),this.state=2639,this._errHandler.sync(this),t=this._interp.adaptivePredict(this._input,414,this._ctx)}while(2!=t&&t!=r.atn.ATN.INVALID_ALT_NUMBER)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},Wn.prototype=Object.create(r.ParserRuleContext.prototype),Wn.prototype.constructor=Wn,Wn.prototype.propertyKeyName=function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(Vn):this.getTypedRuleContext(Vn,e)},Wn.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},Wn.prototype.enterRule=function(e){e instanceof i&&e.enterPropertyKeys(this)},Wn.prototype.exitRule=function(e){e instanceof i&&e.exitPropertyKeys(this)},p.PropertyKeysContext=Wn,p.prototype.propertyKeys=function(){var e=new Wn(this,this._ctx,this.state);this.enterRule(e,388,p.RULE_propertyKeys);try{this.enterOuterAlt(e,1),this.state=2641,this.propertyKeyName(),this.state=2652,this._errHandler.sync(this);for(var t=this._interp.adaptivePredict(this._input,417,this._ctx);2!=t&&t!=r.atn.ATN.INVALID_ALT_NUMBER;)1===t&&(this.state=2643,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=2642,this.match(p.SP)),this.state=2645,this.match(p.T__14),this.state=2647,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=2646,this.match(p.SP)),this.state=2649,this.propertyKeyName()),this.state=2654,this._errHandler.sync(this),t=this._interp.adaptivePredict(this._input,417,this._ctx)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},Vn.prototype=Object.create(r.ParserRuleContext.prototype),Vn.prototype.constructor=Vn,Vn.prototype.symbolicName=function(){return this.getTypedRuleContext(er,0)},Vn.prototype.enterRule=function(e){e instanceof i&&e.enterPropertyKeyName(this)},Vn.prototype.exitRule=function(e){e instanceof i&&e.exitPropertyKeyName(this)},p.PropertyKeyNameContext=Vn,p.prototype.propertyKeyName=function(){var e=new Vn(this,this._ctx,this.state);this.enterRule(e,390,p.RULE_propertyKeyName);try{this.enterOuterAlt(e,1),this.state=2655,this.symbolicName()}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},Kn.prototype=Object.create(r.ParserRuleContext.prototype),Kn.prototype.constructor=Kn,Kn.prototype.HexInteger=function(){return this.getToken(p.HexInteger,0)},Kn.prototype.OctalInteger=function(){return this.getToken(p.OctalInteger,0)},Kn.prototype.DecimalInteger=function(){return this.getToken(p.DecimalInteger,0)},Kn.prototype.enterRule=function(e){e instanceof i&&e.enterIntegerLiteral(this)},Kn.prototype.exitRule=function(e){e instanceof i&&e.exitIntegerLiteral(this)},p.IntegerLiteralContext=Kn,p.prototype.integerLiteral=function(){var e=new Kn(this,this._ctx,this.state);this.enterRule(e,392,p.RULE_integerLiteral);var t=0;try{this.enterOuterAlt(e,1),this.state=2657,0!=((t=this._input.LA(1))-151&-32)||0==(1<<t-151&(1<<p.HexInteger-151|1<<p.DecimalInteger-151|1<<p.OctalInteger-151))?this._errHandler.recoverInline(this):(this._errHandler.reportMatch(this),this.consume())}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},qn.prototype=Object.create(r.ParserRuleContext.prototype),qn.prototype.constructor=qn,qn.prototype.ExponentDecimalReal=function(){return this.getToken(p.ExponentDecimalReal,0)},qn.prototype.RegularDecimalReal=function(){return this.getToken(p.RegularDecimalReal,0)},qn.prototype.enterRule=function(e){e instanceof i&&e.enterDoubleLiteral(this)},qn.prototype.exitRule=function(e){e instanceof i&&e.exitDoubleLiteral(this)},p.DoubleLiteralContext=qn,p.prototype.doubleLiteral=function(){var e=new qn(this,this._ctx,this.state);this.enterRule(e,394,p.RULE_doubleLiteral);var t=0;try{this.enterOuterAlt(e,1),this.state=2659,(t=this._input.LA(1))!==p.ExponentDecimalReal&&t!==p.RegularDecimalReal?this._errHandler.recoverInline(this):(this._errHandler.reportMatch(this),this.consume())}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},Xn.prototype=Object.create(r.ParserRuleContext.prototype),Xn.prototype.constructor=Xn,Xn.prototype.symbolicName=function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(er):this.getTypedRuleContext(er,e)},Xn.prototype.enterRule=function(e){e instanceof i&&e.enterNamespace(this)},Xn.prototype.exitRule=function(e){e instanceof i&&e.exitNamespace(this)},p.NamespaceContext=Xn,p.prototype.namespace=function(){var e=new Xn(this,this._ctx,this.state);this.enterRule(e,396,p.RULE_namespace);try{this.enterOuterAlt(e,1),this.state=2666,this._errHandler.sync(this);for(var t=this._interp.adaptivePredict(this._input,418,this._ctx);2!=t&&t!=r.atn.ATN.INVALID_ALT_NUMBER;)1===t&&(this.state=2661,this.symbolicName(),this.state=2662,this.match(p.T__6)),this.state=2668,this._errHandler.sync(this),t=this._interp.adaptivePredict(this._input,418,this._ctx)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},Zn.prototype=Object.create(r.ParserRuleContext.prototype),Zn.prototype.constructor=Zn,Zn.prototype.enterRule=function(e){e instanceof i&&e.enterLeftArrowHead(this)},Zn.prototype.exitRule=function(e){e instanceof i&&e.exitLeftArrowHead(this)},p.LeftArrowHeadContext=Zn,p.prototype.leftArrowHead=function(){var e=new Zn(this,this._ctx,this.state);this.enterRule(e,398,p.RULE_leftArrowHead);var t=0;try{this.enterOuterAlt(e,1),this.state=2669,0!=((t=this._input.LA(1))-30&-32)||0==(1<<t-30&(1<<p.T__29-30|1<<p.T__34-30|1<<p.T__35-30|1<<p.T__36-30|1<<p.T__37-30))?this._errHandler.recoverInline(this):(this._errHandler.reportMatch(this),this.consume())}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},Qn.prototype=Object.create(r.ParserRuleContext.prototype),Qn.prototype.constructor=Qn,Qn.prototype.enterRule=function(e){e instanceof i&&e.enterRightArrowHead(this)},Qn.prototype.exitRule=function(e){e instanceof i&&e.exitRightArrowHead(this)},p.RightArrowHeadContext=Qn,p.prototype.rightArrowHead=function(){var e=new Qn(this,this._ctx,this.state);this.enterRule(e,400,p.RULE_rightArrowHead);var t=0;try{this.enterOuterAlt(e,1),this.state=2671,0!=((t=this._input.LA(1))-31&-32)||0==(1<<t-31&(1<<p.T__30-31|1<<p.T__38-31|1<<p.T__39-31|1<<p.T__40-31|1<<p.T__41-31))?this._errHandler.recoverInline(this):(this._errHandler.reportMatch(this),this.consume())}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},Jn.prototype=Object.create(r.ParserRuleContext.prototype),Jn.prototype.constructor=Jn,Jn.prototype.enterRule=function(e){e instanceof i&&e.enterDash(this)},Jn.prototype.exitRule=function(e){e instanceof i&&e.exitDash(this)},p.DashContext=Jn,p.prototype.dash=function(){var e=new Jn(this,this._ctx,this.state);this.enterRule(e,402,p.RULE_dash);var t=0;try{this.enterOuterAlt(e,1),this.state=2673,(t=this._input.LA(1))===p.T__2||0==(t-43&-32)&&0!=(1<<t-43&(1<<p.T__42-43|1<<p.T__43-43|1<<p.T__44-43|1<<p.T__45-43|1<<p.T__46-43|1<<p.T__47-43|1<<p.T__48-43|1<<p.T__49-43|1<<p.T__50-43|1<<p.T__51-43|1<<p.T__52-43))?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},er.prototype=Object.create(r.ParserRuleContext.prototype),er.prototype.constructor=er,er.prototype.keyword=function(){return this.getTypedRuleContext(tr,0)},er.prototype.UnescapedSymbolicName=function(){return this.getToken(p.UnescapedSymbolicName,0)},er.prototype.EscapedSymbolicName=function(){return this.getToken(p.EscapedSymbolicName,0)},er.prototype.HexLetter=function(){return this.getToken(p.HexLetter,0)},er.prototype.enterRule=function(e){e instanceof i&&e.enterSymbolicName(this)},er.prototype.exitRule=function(e){e instanceof i&&e.exitSymbolicName(this)},p.SymbolicNameContext=er,p.prototype.symbolicName=function(){var e=new er(this,this._ctx,this.state);this.enterRule(e,404,p.RULE_symbolicName);try{switch(this.state=2679,this._errHandler.sync(this),this._input.LA(1)){case p.CYPHER:case p.EXPLAIN:case p.PROFILE:case p.USING:case p.PERIODIC:case p.COMMIT:case p.UNION:case p.ALL:case p.CREATE:case p.DROP:case p.INDEX:case p.ON:case p.CONSTRAINT:case p.ASSERT:case p.IS:case p.UNIQUE:case p.EXISTS:case p.LOAD:case p.CSV:case p.WITH:case p.HEADERS:case p.FROM:case p.AS:case p.FIELDTERMINATOR:case p.OPTIONAL:case p.MATCH:case p.UNWIND:case p.MERGE:case p.SET:case p.DETACH:case p.DELETE:case p.REMOVE:case p.FOREACH:case p.IN:case p.DISTINCT:case p.RETURN:case p.ORDER:case p.BY:case p.L_SKIP:case p.LIMIT:case p.ASCENDING:case p.ASC:case p.DESCENDING:case p.DESC:case p.JOIN:case p.SCAN:case p.START:case p.NODE:case p.RELATIONSHIP:case p.REL:case p.WHERE:case p.SHORTESTPATH:case p.ALLSHORTESTPATHS:case p.OR:case p.XOR:case p.AND:case p.NOT:case p.STARTS:case p.ENDS:case p.CONTAINS:case p.NULL:case p.COUNT:case p.FILTER:case p.EXTRACT:case p.ANY:case p.NONE:case p.SINGLE:case p.TRUE:case p.FALSE:case p.REDUCE:case p.CASE:case p.ELSE:case p.END:case p.WHEN:case p.THEN:case p.CALL:case p.YIELD:case p.KEY:case p.BTREE:case p.EXIST:case p.FOR:case p.OPTIONS:case p.EXECUTE:case p.DEFINED:case p.FUNCTION:case p.FUNCTIONS:case p.BOOSTED:case p.PROCEDURE:case p.PROCEDURES:case p.ADMIN:case p.ADMINISTRATOR:case p.BRIEF:case p.VERBOSE:case p.OUTPUT:this.enterOuterAlt(e,1),this.state=2675,this.keyword();break;case p.UnescapedSymbolicName:this.enterOuterAlt(e,2),this.state=2676,this.match(p.UnescapedSymbolicName);break;case p.EscapedSymbolicName:this.enterOuterAlt(e,3),this.state=2677,this.match(p.EscapedSymbolicName);break;case p.HexLetter:this.enterOuterAlt(e,4),this.state=2678,this.match(p.HexLetter);break;default:throw new r.error.NoViableAltException(this)}}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},tr.prototype=Object.create(r.ParserRuleContext.prototype),tr.prototype.constructor=tr,tr.prototype.CYPHER=function(){return this.getToken(p.CYPHER,0)},tr.prototype.EXPLAIN=function(){return this.getToken(p.EXPLAIN,0)},tr.prototype.PROFILE=function(){return this.getToken(p.PROFILE,0)},tr.prototype.USING=function(){return this.getToken(p.USING,0)},tr.prototype.PERIODIC=function(){return this.getToken(p.PERIODIC,0)},tr.prototype.COMMIT=function(){return this.getToken(p.COMMIT,0)},tr.prototype.UNION=function(){return this.getToken(p.UNION,0)},tr.prototype.ALL=function(){return this.getToken(p.ALL,0)},tr.prototype.CREATE=function(){return this.getToken(p.CREATE,0)},tr.prototype.DROP=function(){return this.getToken(p.DROP,0)},tr.prototype.INDEX=function(){return this.getToken(p.INDEX,0)},tr.prototype.ON=function(){return this.getToken(p.ON,0)},tr.prototype.CONSTRAINT=function(){return this.getToken(p.CONSTRAINT,0)},tr.prototype.ASSERT=function(){return this.getToken(p.ASSERT,0)},tr.prototype.IS=function(){return this.getToken(p.IS,0)},tr.prototype.UNIQUE=function(){return this.getToken(p.UNIQUE,0)},tr.prototype.EXISTS=function(){return this.getToken(p.EXISTS,0)},tr.prototype.LOAD=function(){return this.getToken(p.LOAD,0)},tr.prototype.CSV=function(){return this.getToken(p.CSV,0)},tr.prototype.WITH=function(){return this.getToken(p.WITH,0)},tr.prototype.HEADERS=function(){return this.getToken(p.HEADERS,0)},tr.prototype.FROM=function(){return this.getToken(p.FROM,0)},tr.prototype.AS=function(){return this.getToken(p.AS,0)},tr.prototype.FIELDTERMINATOR=function(){return this.getToken(p.FIELDTERMINATOR,0)},tr.prototype.OPTIONAL=function(){return this.getToken(p.OPTIONAL,0)},tr.prototype.MATCH=function(){return this.getToken(p.MATCH,0)},tr.prototype.UNWIND=function(){return this.getToken(p.UNWIND,0)},tr.prototype.MERGE=function(){return this.getToken(p.MERGE,0)},tr.prototype.SET=function(){return this.getToken(p.SET,0)},tr.prototype.DETACH=function(){return this.getToken(p.DETACH,0)},tr.prototype.DELETE=function(){return this.getToken(p.DELETE,0)},tr.prototype.REMOVE=function(){return this.getToken(p.REMOVE,0)},tr.prototype.FOREACH=function(){return this.getToken(p.FOREACH,0)},tr.prototype.IN=function(){return this.getToken(p.IN,0)},tr.prototype.DISTINCT=function(){return this.getToken(p.DISTINCT,0)},tr.prototype.RETURN=function(){return this.getToken(p.RETURN,0)},tr.prototype.ORDER=function(){return this.getToken(p.ORDER,0)},tr.prototype.BY=function(){return this.getToken(p.BY,0)},tr.prototype.L_SKIP=function(){return this.getToken(p.L_SKIP,0)},tr.prototype.LIMIT=function(){return this.getToken(p.LIMIT,0)},tr.prototype.ASCENDING=function(){return this.getToken(p.ASCENDING,0)},tr.prototype.ASC=function(){return this.getToken(p.ASC,0)},tr.prototype.DESCENDING=function(){return this.getToken(p.DESCENDING,0)},tr.prototype.DESC=function(){return this.getToken(p.DESC,0)},tr.prototype.JOIN=function(){return this.getToken(p.JOIN,0)},tr.prototype.SCAN=function(){return this.getToken(p.SCAN,0)},tr.prototype.START=function(){return this.getToken(p.START,0)},tr.prototype.NODE=function(){return this.getToken(p.NODE,0)},tr.prototype.RELATIONSHIP=function(){return this.getToken(p.RELATIONSHIP,0)},tr.prototype.REL=function(){return this.getToken(p.REL,0)},tr.prototype.WHERE=function(){return this.getToken(p.WHERE,0)},tr.prototype.SHORTESTPATH=function(){return this.getToken(p.SHORTESTPATH,0)},tr.prototype.ALLSHORTESTPATHS=function(){return this.getToken(p.ALLSHORTESTPATHS,0)},tr.prototype.OR=function(){return this.getToken(p.OR,0)},tr.prototype.XOR=function(){return this.getToken(p.XOR,0)},tr.prototype.AND=function(){return this.getToken(p.AND,0)},tr.prototype.NOT=function(){return this.getToken(p.NOT,0)},tr.prototype.STARTS=function(){return this.getToken(p.STARTS,0)},tr.prototype.ENDS=function(){return this.getToken(p.ENDS,0)},tr.prototype.CONTAINS=function(){return this.getToken(p.CONTAINS,0)},tr.prototype.NULL=function(){return this.getToken(p.NULL,0)},tr.prototype.COUNT=function(){return this.getToken(p.COUNT,0)},tr.prototype.FILTER=function(){return this.getToken(p.FILTER,0)},tr.prototype.EXTRACT=function(){return this.getToken(p.EXTRACT,0)},tr.prototype.ANY=function(){return this.getToken(p.ANY,0)},tr.prototype.NONE=function(){return this.getToken(p.NONE,0)},tr.prototype.SINGLE=function(){return this.getToken(p.SINGLE,0)},tr.prototype.TRUE=function(){return this.getToken(p.TRUE,0)},tr.prototype.FALSE=function(){return this.getToken(p.FALSE,0)},tr.prototype.REDUCE=function(){return this.getToken(p.REDUCE,0)},tr.prototype.CASE=function(){return this.getToken(p.CASE,0)},tr.prototype.ELSE=function(){return this.getToken(p.ELSE,0)},tr.prototype.END=function(){return this.getToken(p.END,0)},tr.prototype.WHEN=function(){return this.getToken(p.WHEN,0)},tr.prototype.THEN=function(){return this.getToken(p.THEN,0)},tr.prototype.CALL=function(){return this.getToken(p.CALL,0)},tr.prototype.YIELD=function(){return this.getToken(p.YIELD,0)},tr.prototype.KEY=function(){return this.getToken(p.KEY,0)},tr.prototype.BTREE=function(){return this.getToken(p.BTREE,0)},tr.prototype.EXIST=function(){return this.getToken(p.EXIST,0)},tr.prototype.FOR=function(){return this.getToken(p.FOR,0)},tr.prototype.OPTIONS=function(){return this.getToken(p.OPTIONS,0)},tr.prototype.EXECUTE=function(){return this.getToken(p.EXECUTE,0)},tr.prototype.DEFINED=function(){return this.getToken(p.DEFINED,0)},tr.prototype.FUNCTION=function(){return this.getToken(p.FUNCTION,0)},tr.prototype.FUNCTIONS=function(){return this.getToken(p.FUNCTIONS,0)},tr.prototype.BOOSTED=function(){return this.getToken(p.BOOSTED,0)},tr.prototype.PROCEDURE=function(){return this.getToken(p.PROCEDURE,0)},tr.prototype.PROCEDURES=function(){return this.getToken(p.PROCEDURES,0)},tr.prototype.ADMIN=function(){return this.getToken(p.ADMIN,0)},tr.prototype.ADMINISTRATOR=function(){return this.getToken(p.ADMINISTRATOR,0)},tr.prototype.BRIEF=function(){return this.getToken(p.BRIEF,0)},tr.prototype.VERBOSE=function(){return this.getToken(p.VERBOSE,0)},tr.prototype.OUTPUT=function(){return this.getToken(p.OUTPUT,0)},tr.prototype.enterRule=function(e){e instanceof i&&e.enterKeyword(this)},tr.prototype.exitRule=function(e){e instanceof i&&e.exitKeyword(this)},p.KeywordContext=tr,p.prototype.keyword=function(){var e=new tr(this,this._ctx,this.state);this.enterRule(e,406,p.RULE_keyword);var t=0;try{this.enterOuterAlt(e,1),this.state=2681,0==((t=this._input.LA(1))-54&-32)&&0!=(1<<t-54&(1<<p.CYPHER-54|1<<p.EXPLAIN-54|1<<p.PROFILE-54|1<<p.USING-54|1<<p.PERIODIC-54|1<<p.COMMIT-54|1<<p.UNION-54|1<<p.ALL-54|1<<p.CREATE-54|1<<p.DROP-54|1<<p.INDEX-54|1<<p.ON-54|1<<p.CONSTRAINT-54|1<<p.ASSERT-54|1<<p.IS-54|1<<p.UNIQUE-54|1<<p.EXISTS-54|1<<p.LOAD-54|1<<p.CSV-54|1<<p.WITH-54|1<<p.HEADERS-54|1<<p.FROM-54|1<<p.AS-54|1<<p.FIELDTERMINATOR-54|1<<p.OPTIONAL-54|1<<p.MATCH-54|1<<p.UNWIND-54|1<<p.MERGE-54|1<<p.SET-54|1<<p.DETACH-54|1<<p.DELETE-54|1<<p.REMOVE-54))||0==(t-86&-32)&&0!=(1<<t-86&(1<<p.FOREACH-86|1<<p.IN-86|1<<p.DISTINCT-86|1<<p.RETURN-86|1<<p.ORDER-86|1<<p.BY-86|1<<p.L_SKIP-86|1<<p.LIMIT-86|1<<p.ASCENDING-86|1<<p.ASC-86|1<<p.DESCENDING-86|1<<p.DESC-86|1<<p.JOIN-86|1<<p.SCAN-86|1<<p.START-86|1<<p.NODE-86|1<<p.RELATIONSHIP-86|1<<p.REL-86|1<<p.WHERE-86|1<<p.SHORTESTPATH-86|1<<p.ALLSHORTESTPATHS-86|1<<p.OR-86|1<<p.XOR-86|1<<p.AND-86|1<<p.NOT-86|1<<p.STARTS-86|1<<p.ENDS-86|1<<p.CONTAINS-86|1<<p.NULL-86|1<<p.COUNT-86|1<<p.FILTER-86|1<<p.EXTRACT-86))||0==(t-118&-32)&&0!=(1<<t-118&(1<<p.ANY-118|1<<p.NONE-118|1<<p.SINGLE-118|1<<p.TRUE-118|1<<p.FALSE-118|1<<p.REDUCE-118|1<<p.CASE-118|1<<p.ELSE-118|1<<p.END-118|1<<p.WHEN-118|1<<p.THEN-118|1<<p.CALL-118|1<<p.YIELD-118|1<<p.KEY-118|1<<p.BTREE-118|1<<p.EXIST-118|1<<p.FOR-118|1<<p.OPTIONS-118|1<<p.EXECUTE-118|1<<p.DEFINED-118|1<<p.FUNCTION-118|1<<p.FUNCTIONS-118|1<<p.BOOSTED-118|1<<p.PROCEDURE-118|1<<p.PROCEDURES-118|1<<p.ADMIN-118|1<<p.ADMINISTRATOR-118|1<<p.BRIEF-118|1<<p.VERBOSE-118|1<<p.OUTPUT-118))?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},t.CypherParser=p},function(e,t,n){var r=n(0),i=n(2).Token,o=(n(8).RuleNode,n(8).ErrorNode),a=n(8).TerminalNode,s=n(21).ParserRuleContext,l=n(17).RuleContext,c=n(11).INVALID_ALT_NUMBER;function u(){}u.toStringTree=function(e,t,n){t=t||null,null!==(n=n||null)&&(t=n.ruleNames);var i=u.getNodeText(e,t);i=r.escapeWhitespace(i,!1);var o=e.getChildCount();if(0===o)return i;var a="("+i+" ";o>0&&(i=u.toStringTree(e.getChild(0),t),a=a.concat(i));for(var s=1;s<o;s++)i=u.toStringTree(e.getChild(s),t),a=a.concat(" "+i);return a.concat(")")},u.getNodeText=function(e,t,n){if(t=t||null,null!==(n=n||null)&&(t=n.ruleNames),null!==t){if(e instanceof l){var r=e.getAltNumber();return r!=c?t[e.ruleIndex]+":"+r:t[e.ruleIndex]}if(e instanceof o)return e.toString();if(e instanceof a&&null!==e.symbol)return e.symbol.text}var s=e.getPayload();return s instanceof i?s.text:e.getPayload().toString()},u.getChildren=function(e){for(var t=[],n=0;n<e.getChildCount();n++)t.push(e.getChild(n));return t},u.getAncestors=function(e){var t=[];for(e=e.getParent();null!==e;)t=[e].concat(t),e=e.getParent();return t},u.findAllTokenNodes=function(e,t){return u.findAllNodes(e,t,!0)},u.findAllRuleNodes=function(e,t){return u.findAllNodes(e,t,!1)},u.findAllNodes=function(e,t,n){var r=[];return u._findAllNodes(e,t,n,r),r},u._findAllNodes=function(e,t,n,r){n&&e instanceof a?e.symbol.type===t&&r.push(e):!n&&e instanceof s&&e.ruleIndex===t&&r.push(e);for(var i=0;i<e.getChildCount();i++)u._findAllNodes(e.getChild(i),t,n,r)},u.descendants=function(e){for(var t=[e],n=0;n<e.getChildCount();n++)t=t.concat(u.descendants(e.getChild(n)));return t},t.Trees=u},function(e,t,n){var r=n(2).Token,i=n(11).ATN,o=n(52).ATNType,a=n(7),s=a.ATNState,l=a.BasicState,c=a.DecisionState,u=a.BlockStartState,h=a.BlockEndState,p=a.LoopEndState,d=a.RuleStartState,f=a.RuleStopState,m=a.TokensStartState,g=a.PlusLoopbackState,y=a.StarLoopbackState,v=a.StarLoopEntryState,_=a.PlusBlockStartState,b=a.StarBlockStartState,E=a.BasicBlockStartState,T=n(12),x=T.Transition,S=T.AtomTransition,C=T.SetTransition,A=T.NotSetTransition,R=T.RuleTransition,w=T.RangeTransition,L=T.ActionTransition,O=T.EpsilonTransition,N=T.WildcardTransition,I=T.PredicateTransition,k=T.PrecedencePredicateTransition,D=n(4).IntervalSet,P=(n(4).Interval,n(28).ATNDeserializationOptions),M=n(29),F=M.LexerActionType,H=M.LexerSkipAction,B=M.LexerChannelAction,U=M.LexerCustomAction,j=M.LexerMoreAction,G=M.LexerTypeAction,Y=M.LexerPushModeAction,z=M.LexerPopModeAction,$=M.LexerModeAction,W="59627784-3BE5-417A-B9EB-8131A7286089",V=["AADB8D7E-AEEF-4415-AD2B-8204D6CF042E",W],K=W;function q(e,t){var n=[];return n[e-1]=t,n.map((function(e){return t}))}function X(e){return null==e&&(e=P.defaultOptions),this.deserializationOptions=e,this.stateFactories=null,this.actionFactories=null,this}X.prototype.isFeatureSupported=function(e,t){var n=V.indexOf(e);return!(n<0)&&V.indexOf(t)>=n},X.prototype.deserialize=function(e){this.reset(e),this.checkVersion(),this.checkUUID();var t=this.readATN();this.readStates(t),this.readRules(t),this.readModes(t);var n=[];return this.readSets(t,n,this.readInt.bind(this)),this.isFeatureSupported(W,this.uuid)&&this.readSets(t,n,this.readInt32.bind(this)),this.readEdges(t,n),this.readDecisions(t),this.readLexerActions(t),this.markPrecedenceDecisions(t),this.verifyATN(t),this.deserializationOptions.generateRuleBypassTransitions&&t.grammarType===o.PARSER&&(this.generateRuleBypassTransitions(t),this.verifyATN(t)),t},X.prototype.reset=function(e){var t=e.split("").map((function(e){var t=e.charCodeAt(0);return t>1?t-2:-1}));t[0]=e.charCodeAt(0),this.data=t,this.pos=0},X.prototype.checkVersion=function(){var e=this.readInt();if(3!==e)throw"Could not deserialize ATN with version "+e+" (expected 3)."},X.prototype.checkUUID=function(){var e=this.readUUID();if(V.indexOf(e)<0)throw K;this.uuid=e},X.prototype.readATN=function(){var e=this.readInt(),t=this.readInt();return new i(e,t)},X.prototype.readStates=function(e){for(var t,n,r,i=[],o=[],a=this.readInt(),l=0;l<a;l++){var c=this.readInt();if(c!==s.INVALID_TYPE){var h=this.readInt();65535===h&&(h=-1);var p=this.stateFactory(c,h);if(c===s.LOOP_END){var d=this.readInt();i.push([p,d])}else if(p instanceof u){var f=this.readInt();o.push([p,f])}e.addState(p)}else e.addState(null)}for(t=0;t<i.length;t++)(n=i[t])[0].loopBackState=e.states[n[1]];for(t=0;t<o.length;t++)(n=o[t])[0].endState=e.states[n[1]];var m=this.readInt();for(t=0;t<m;t++)r=this.readInt(),e.states[r].nonGreedy=!0;var g=this.readInt();for(t=0;t<g;t++)r=this.readInt(),e.states[r].isPrecedenceRule=!0},X.prototype.readRules=function(e){var t,n=this.readInt();for(e.grammarType===o.LEXER&&(e.ruleToTokenType=q(n,0)),e.ruleToStartState=q(n,0),t=0;t<n;t++){var i=this.readInt(),a=e.states[i];if(e.ruleToStartState[t]=a,e.grammarType===o.LEXER){var s=this.readInt();65535===s&&(s=r.EOF),e.ruleToTokenType[t]=s}}for(e.ruleToStopState=q(n,0),t=0;t<e.states.length;t++){var l=e.states[t];l instanceof f&&(e.ruleToStopState[l.ruleIndex]=l,e.ruleToStartState[l.ruleIndex].stopState=l)}},X.prototype.readModes=function(e){for(var t=this.readInt(),n=0;n<t;n++){var r=this.readInt();e.modeToStartState.push(e.states[r])}},X.prototype.readSets=function(e,t,n){for(var r=this.readInt(),i=0;i<r;i++){var o=new D;t.push(o);var a=this.readInt();0!==this.readInt()&&o.addOne(-1);for(var s=0;s<a;s++){var l=n(),c=n();o.addRange(l,c)}}},X.prototype.readEdges=function(e,t){var n,r,i,o,a,s=this.readInt();for(n=0;n<s;n++){var l=this.readInt(),c=this.readInt(),h=this.readInt(),p=this.readInt(),d=this.readInt(),f=this.readInt();o=this.edgeFactory(e,h,l,c,p,d,f,t),e.states[l].addTransition(o)}for(n=0;n<e.states.length;n++)for(i=e.states[n],r=0;r<i.transitions.length;r++){var m=i.transitions[r];if(m instanceof R){var b=-1;e.ruleToStartState[m.target.ruleIndex].isPrecedenceRule&&0===m.precedence&&(b=m.target.ruleIndex),o=new O(m.followState,b),e.ruleToStopState[m.target.ruleIndex].addTransition(o)}}for(n=0;n<e.states.length;n++){if((i=e.states[n])instanceof u){if(null===i.endState)throw"IllegalState";if(null!==i.endState.startState)throw"IllegalState";i.endState.startState=i}if(i instanceof g)for(r=0;r<i.transitions.length;r++)(a=i.transitions[r].target)instanceof _&&(a.loopBackState=i);else if(i instanceof y)for(r=0;r<i.transitions.length;r++)(a=i.transitions[r].target)instanceof v&&(a.loopBackState=i)}},X.prototype.readDecisions=function(e){for(var t=this.readInt(),n=0;n<t;n++){var r=this.readInt(),i=e.states[r];e.decisionToState.push(i),i.decision=n}},X.prototype.readLexerActions=function(e){if(e.grammarType===o.LEXER){var t=this.readInt();e.lexerActions=q(t,null);for(var n=0;n<t;n++){var r=this.readInt(),i=this.readInt();65535===i&&(i=-1);var a=this.readInt();65535===a&&(a=-1);var s=this.lexerActionFactory(r,i,a);e.lexerActions[n]=s}}},X.prototype.generateRuleBypassTransitions=function(e){var t,n=e.ruleToStartState.length;for(t=0;t<n;t++)e.ruleToTokenType[t]=e.maxTokenType+t+1;for(t=0;t<n;t++)this.generateRuleBypassTransition(e,t)},X.prototype.generateRuleBypassTransition=function(e,t){var n,r,i=new E;i.ruleIndex=t,e.addState(i);var o=new h;o.ruleIndex=t,e.addState(o),i.endState=o,e.defineDecisionState(i),o.startState=i;var a=null,s=null;if(e.ruleToStartState[t].isPrecedenceRule){for(s=null,n=0;n<e.states.length;n++)if(r=e.states[n],this.stateIsEndStateFor(r,t)){s=r,a=r.loopBackState.transitions[0];break}if(null===a)throw"Couldn't identify final state of the precedence rule prefix section."}else s=e.ruleToStopState[t];for(n=0;n<e.states.length;n++){r=e.states[n];for(var c=0;c<r.transitions.length;c++){var u=r.transitions[c];u!==a&&u.target===s&&(u.target=o)}}for(var p=e.ruleToStartState[t],d=p.transitions.length;d>0;)i.addTransition(p.transitions[d-1]),p.transitions=p.transitions.slice(-1);e.ruleToStartState[t].addTransition(new O(i)),o.addTransition(new O(s));var f=new l;e.addState(f),f.addTransition(new S(o,e.ruleToTokenType[t])),i.addTransition(new O(f))},X.prototype.stateIsEndStateFor=function(e,t){if(e.ruleIndex!==t)return null;if(!(e instanceof v))return null;var n=e.transitions[e.transitions.length-1].target;return n instanceof p&&n.epsilonOnlyTransitions&&n.transitions[0].target instanceof f?e:null},X.prototype.markPrecedenceDecisions=function(e){for(var t=0;t<e.states.length;t++){var n=e.states[t];if(n instanceof v&&e.ruleToStartState[n.ruleIndex].isPrecedenceRule){var r=n.transitions[n.transitions.length-1].target;r instanceof p&&r.epsilonOnlyTransitions&&r.transitions[0].target instanceof f&&(n.isPrecedenceDecision=!0)}}},X.prototype.verifyATN=function(e){if(this.deserializationOptions.verifyATN)for(var t=0;t<e.states.length;t++){var n=e.states[t];if(null!==n)if(this.checkCondition(n.epsilonOnlyTransitions||n.transitions.length<=1),n instanceof _)this.checkCondition(null!==n.loopBackState);else if(n instanceof v)if(this.checkCondition(null!==n.loopBackState),this.checkCondition(2===n.transitions.length),n.transitions[0].target instanceof b)this.checkCondition(n.transitions[1].target instanceof p),this.checkCondition(!n.nonGreedy);else{if(!(n.transitions[0].target instanceof p))throw"IllegalState";this.checkCondition(n.transitions[1].target instanceof b),this.checkCondition(n.nonGreedy)}else n instanceof y?(this.checkCondition(1===n.transitions.length),this.checkCondition(n.transitions[0].target instanceof v)):n instanceof p?this.checkCondition(null!==n.loopBackState):n instanceof d?this.checkCondition(null!==n.stopState):n instanceof u?this.checkCondition(null!==n.endState):n instanceof h?this.checkCondition(null!==n.startState):n instanceof c?this.checkCondition(n.transitions.length<=1||n.decision>=0):this.checkCondition(n.transitions.length<=1||n instanceof f)}},X.prototype.checkCondition=function(e,t){if(!e)throw null==t&&(t="IllegalState"),t},X.prototype.readInt=function(){return this.data[this.pos++]},X.prototype.readInt32=function(){return this.readInt()|this.readInt()<<16},X.prototype.readLong=function(){return 4294967295&this.readInt32()|this.readInt32()<<32};var Z=function(){for(var e=[],t=0;t<256;t++)e[t]=(t+256).toString(16).substr(1).toUpperCase();return e}();X.prototype.readUUID=function(){for(var e=[],t=7;t>=0;t--){var n=this.readInt();e[2*t+1]=255&n,e[2*t]=n>>8&255}return Z[e[0]]+Z[e[1]]+Z[e[2]]+Z[e[3]]+"-"+Z[e[4]]+Z[e[5]]+"-"+Z[e[6]]+Z[e[7]]+"-"+Z[e[8]]+Z[e[9]]+"-"+Z[e[10]]+Z[e[11]]+Z[e[12]]+Z[e[13]]+Z[e[14]]+Z[e[15]]},X.prototype.edgeFactory=function(e,t,n,i,o,a,s,l){var c=e.states[i];switch(t){case x.EPSILON:return new O(c);case x.RANGE:return new w(c,0!==s?r.EOF:o,a);case x.RULE:return new R(e.states[o],a,s,c);case x.PREDICATE:return new I(c,o,a,0!==s);case x.PRECEDENCE:return new k(c,o);case x.ATOM:return new S(c,0!==s?r.EOF:o);case x.ACTION:return new L(c,o,a,0!==s);case x.SET:return new C(c,l[o]);case x.NOT_SET:return new A(c,l[o]);case x.WILDCARD:return new N(c);default:throw"The specified transition type: "+t+" is not valid."}},X.prototype.stateFactory=function(e,t){if(null===this.stateFactories){var n=[];n[s.INVALID_TYPE]=null,n[s.BASIC]=function(){return new l},n[s.RULE_START]=function(){return new d},n[s.BLOCK_START]=function(){return new E},n[s.PLUS_BLOCK_START]=function(){return new _},n[s.STAR_BLOCK_START]=function(){return new b},n[s.TOKEN_START]=function(){return new m},n[s.RULE_STOP]=function(){return new f},n[s.BLOCK_END]=function(){return new h},n[s.STAR_LOOP_BACK]=function(){return new y},n[s.STAR_LOOP_ENTRY]=function(){return new v},n[s.PLUS_LOOP_BACK]=function(){return new g},n[s.LOOP_END]=function(){return new p},this.stateFactories=n}if(e>this.stateFactories.length||null===this.stateFactories[e])throw"The specified state type "+e+" is not valid.";var r=this.stateFactories[e]();if(null!==r)return r.ruleIndex=t,r},X.prototype.lexerActionFactory=function(e,t,n){if(null===this.actionFactories){var r=[];r[F.CHANNEL]=function(e,t){return new B(e)},r[F.CUSTOM]=function(e,t){return new U(e,t)},r[F.MODE]=function(e,t){return new $(e)},r[F.MORE]=function(e,t){return j.INSTANCE},r[F.POP_MODE]=function(e,t){return z.INSTANCE},r[F.PUSH_MODE]=function(e,t){return new Y(e)},r[F.SKIP]=function(e,t){return H.INSTANCE},r[F.TYPE]=function(e,t){return new G(e)},this.actionFactories=r}if(e>this.actionFactories.length||null===this.actionFactories[e])throw"The specified lexer action type "+e+" is not valid.";return this.actionFactories[e](t,n)},t.ATNDeserializer=X},function(e,t){function n(e){return void 0===e&&(e=null),this.readOnly=!1,this.verifyATN=null===e||e.verifyATN,this.generateRuleBypassTransitions=null!==e&&e.generateRuleBypassTransitions,this}n.defaultOptions=new n,n.defaultOptions.readOnly=!0,t.ATNDeserializationOptions=n},function(e,t){function n(){}function r(e){return this.actionType=e,this.isPositionDependent=!1,this}function i(){return r.call(this,n.SKIP),this}function o(e){return r.call(this,n.TYPE),this.type=e,this}function a(e){return r.call(this,n.PUSH_MODE),this.mode=e,this}function s(){return r.call(this,n.POP_MODE),this}function l(){return r.call(this,n.MORE),this}function c(e){return r.call(this,n.MODE),this.mode=e,this}function u(e,t){return r.call(this,n.CUSTOM),this.ruleIndex=e,this.actionIndex=t,this.isPositionDependent=!0,this}function h(e){return r.call(this,n.CHANNEL),this.channel=e,this}function p(e,t){return r.call(this,t.actionType),this.offset=e,this.action=t,this.isPositionDependent=!0,this}n.CHANNEL=0,n.CUSTOM=1,n.MODE=2,n.MORE=3,n.POP_MODE=4,n.PUSH_MODE=5,n.SKIP=6,n.TYPE=7,r.prototype.hashCode=function(){var e=new Hash;return this.updateHashCode(e),e.finish()},r.prototype.updateHashCode=function(e){e.update(this.actionType)},r.prototype.equals=function(e){return this===e},i.prototype=Object.create(r.prototype),i.prototype.constructor=i,i.INSTANCE=new i,i.prototype.execute=function(e){e.skip()},i.prototype.toString=function(){return"skip"},o.prototype=Object.create(r.prototype),o.prototype.constructor=o,o.prototype.execute=function(e){e.type=this.type},o.prototype.updateHashCode=function(e){e.update(this.actionType,this.type)},o.prototype.equals=function(e){return this===e||e instanceof o&&this.type===e.type},o.prototype.toString=function(){return"type("+this.type+")"},a.prototype=Object.create(r.prototype),a.prototype.constructor=a,a.prototype.execute=function(e){e.pushMode(this.mode)},a.prototype.updateHashCode=function(e){e.update(this.actionType,this.mode)},a.prototype.equals=function(e){return this===e||e instanceof a&&this.mode===e.mode},a.prototype.toString=function(){return"pushMode("+this.mode+")"},s.prototype=Object.create(r.prototype),s.prototype.constructor=s,s.INSTANCE=new s,s.prototype.execute=function(e){e.popMode()},s.prototype.toString=function(){return"popMode"},l.prototype=Object.create(r.prototype),l.prototype.constructor=l,l.INSTANCE=new l,l.prototype.execute=function(e){e.more()},l.prototype.toString=function(){return"more"},c.prototype=Object.create(r.prototype),c.prototype.constructor=c,c.prototype.execute=function(e){e.mode(this.mode)},c.prototype.updateHashCode=function(e){e.update(this.actionType,this.mode)},c.prototype.equals=function(e){return this===e||e instanceof c&&this.mode===e.mode},c.prototype.toString=function(){return"mode("+this.mode+")"},u.prototype=Object.create(r.prototype),u.prototype.constructor=u,u.prototype.execute=function(e){e.action(null,this.ruleIndex,this.actionIndex)},u.prototype.updateHashCode=function(e){e.update(this.actionType,this.ruleIndex,this.actionIndex)},u.prototype.equals=function(e){return this===e||e instanceof u&&this.ruleIndex===e.ruleIndex&&this.actionIndex===e.actionIndex},h.prototype=Object.create(r.prototype),h.prototype.constructor=h,h.prototype.execute=function(e){e._channel=this.channel},h.prototype.updateHashCode=function(e){e.update(this.actionType,this.channel)},h.prototype.equals=function(e){return this===e||e instanceof h&&this.channel===e.channel},h.prototype.toString=function(){return"channel("+this.channel+")"},p.prototype=Object.create(r.prototype),p.prototype.constructor=p,p.prototype.execute=function(e){this.action.execute(e)},p.prototype.updateHashCode=function(e){e.update(this.actionType,this.offset,this.action)},p.prototype.equals=function(e){return this===e||e instanceof p&&this.offset===e.offset&&this.action===e.action},t.LexerActionType=n,t.LexerSkipAction=i,t.LexerChannelAction=h,t.LexerCustomAction=u,t.LexerIndexedCustomAction=p,t.LexerMoreAction=l,t.LexerTypeAction=o,t.LexerPushModeAction=a,t.LexerPopModeAction=s,t.LexerModeAction=c},function(e,t,n){var r=n(2).Token,i=n(19).ConsoleErrorListener,o=n(19).ProxyErrorListener;function a(){return this._listeners=[i.INSTANCE],this._interp=null,this._stateNumber=-1,this}a.tokenTypeMapCache={},a.ruleIndexMapCache={},a.prototype.checkVersion=function(e){"4.7"!==e&&console.log("ANTLR runtime and generated code versions disagree: 4.7!="+e)},a.prototype.addErrorListener=function(e){this._listeners.push(e)},a.prototype.removeErrorListeners=function(){this._listeners=[]},a.prototype.getTokenTypeMap=function(){var e=this.getTokenNames();if(null===e)throw"The current recognizer does not provide a list of token names.";var t=this.tokenTypeMapCache[e];return void 0===t&&((t=e.reduce((function(e,t,n){e[t]=n}))).EOF=r.EOF,this.tokenTypeMapCache[e]=t),t},a.prototype.getRuleIndexMap=function(){var e=this.ruleNames;if(null===e)throw"The current recognizer does not provide a list of rule names.";var t=this.ruleIndexMapCache[e];return void 0===t&&(t=e.reduce((function(e,t,n){e[t]=n})),this.ruleIndexMapCache[e]=t),t},a.prototype.getTokenType=function(e){var t=this.getTokenTypeMap()[e];return void 0!==t?t:r.INVALID_TYPE},a.prototype.getErrorHeader=function(e){return"line "+e.getOffendingToken().line+":"+e.getOffendingToken().column},a.prototype.getTokenErrorDisplay=function(e){if(null===e)return"<no token>";var t=e.text;return null===t&&(t=e.type===r.EOF?"<EOF>":"<"+e.type+">"),"'"+(t=t.replace("\n","\\n").replace("\r","\\r").replace("\t","\\t"))+"'"},a.prototype.getErrorListenerDispatch=function(){return new o(this._listeners)},a.prototype.sempred=function(e,t,n){return!0},a.prototype.precpred=function(e,t){return!0},Object.defineProperty(a.prototype,"state",{get:function(){return this._stateNumber},set:function(e){this._stateNumber=e}}),t.Recognizer=a},function(e,t,n){var r=n(15).DFAState,i=n(13).ATNConfigSet,o=n(10).getCachedPredictionContext;function a(e,t){return this.atn=e,this.sharedContextCache=t,this}a.ERROR=new r(2147483647,new i),a.prototype.getCachedContext=function(e){return null===this.sharedContextCache?e:o(e,this.sharedContextCache,{})},t.ATNSimulator=a},function(e,t,n){n(0).Set;var r=n(0).Map,i=n(0).BitSet,o=n(0).AltDict,a=n(11).ATN,s=n(7).RuleStopState,l=n(13).ATNConfigSet,c=n(16).ATNConfig,u=n(14).SemanticContext,h=(n(0).Hash,n(0).hashStuff);function p(){return this}n(0).equalArrays,p.SLL=0,p.LL=1,p.LL_EXACT_AMBIG_DETECTION=2,p.hasSLLConflictTerminatingPrediction=function(e,t){if(p.allConfigsInRuleStopStates(t))return!0;if(e===p.SLL&&t.hasSemanticContext){for(var n=new l,r=0;r<t.items.length;r++){var i=t.items[r];i=new c({semanticContext:u.NONE},i),n.add(i)}t=n}var o=p.getConflictingAltSubsets(t);return p.hasConflictingAltSet(o)&&!p.hasStateAssociatedWithOneAlt(t)},p.hasConfigInRuleStopState=function(e){for(var t=0;t<e.items.length;t++)if(e.items[t].state instanceof s)return!0;return!1},p.allConfigsInRuleStopStates=function(e){for(var t=0;t<e.items.length;t++)if(!(e.items[t].state instanceof s))return!1;return!0},p.resolvesToJustOneViableAlt=function(e){return p.getSingleViableAlt(e)},p.allSubsetsConflict=function(e){return!p.hasNonConflictingAltSet(e)},p.hasNonConflictingAltSet=function(e){for(var t=0;t<e.length;t++)if(1===e[t].length)return!0;return!1},p.hasConflictingAltSet=function(e){for(var t=0;t<e.length;t++)if(e[t].length>1)return!0;return!1},p.allSubsetsEqual=function(e){for(var t=null,n=0;n<e.length;n++){var r=e[n];if(null===t)t=r;else if(r!==t)return!1}return!0},p.getUniqueAlt=function(e){var t=p.getAlts(e);return 1===t.length?t.minValue():a.INVALID_ALT_NUMBER},p.getAlts=function(e){var t=new i;return e.map((function(e){t.or(e)})),t},p.getConflictingAltSubsets=function(e){var t=new r;return t.hashFunction=function(e){h(e.state.stateNumber,e.context)},t.equalsFunction=function(e,t){return e.state.stateNumber==t.state.stateNumber&&e.context.equals(t.context)},e.items.map((function(e){var n=t.get(e);null===n&&(n=new i,t.put(e,n)),n.add(e.alt)})),t.getValues()},p.getStateToAltMap=function(e){var t=new o;return e.items.map((function(e){var n=t.get(e.state);null===n&&(n=new i,t.put(e.state,n)),n.add(e.alt)})),t},p.hasStateAssociatedWithOneAlt=function(e){for(var t=p.getStateToAltMap(e).values(),n=0;n<t.length;n++)if(1===t[n].length)return!0;return!1},p.getSingleViableAlt=function(e){for(var t=null,n=0;n<e.length;n++){var r=e[n].minValue();if(null===t)t=r;else if(t!==r)return a.INVALID_ALT_NUMBER}return t},t.PredictionMode=p},function(e,t){String.prototype.codePointAt||function(){"use strict";var e=function(){try{var e={},t=Object.defineProperty,n=t(e,e,e)&&t}catch(e){}return n}(),t=function(e){if(null==this)throw TypeError();var t=String(this),n=t.length,r=e?Number(e):0;if(r!=r&&(r=0),!(r<0||r>=n)){var i,o=t.charCodeAt(r);return o>=55296&&o<=56319&&n>r+1&&(i=t.charCodeAt(r+1))>=56320&&i<=57343?1024*(o-55296)+i-56320+65536:o}};e?e(String.prototype,"codePointAt",{value:t,configurable:!0,writable:!0}):String.prototype.codePointAt=t}()},function(e,t){var n,r,i,o;String.fromCodePoint||(n=function(){try{var e={},t=Object.defineProperty,n=t(e,e,e)&&t}catch(e){}return n}(),r=String.fromCharCode,i=Math.floor,o=function(e){var t,n,o=[],a=-1,s=arguments.length;if(!s)return"";for(var l="";++a<s;){var c=Number(arguments[a]);if(!isFinite(c)||c<0||c>1114111||i(c)!=c)throw RangeError("Invalid code point: "+c);c<=65535?o.push(c):(t=55296+((c-=65536)>>10),n=c%1024+56320,o.push(t,n)),(a+1==s||o.length>16384)&&(l+=r.apply(null,o),o.length=0)}return l},n?n(String,"fromCodePoint",{value:o,configurable:!0,writable:!0}):String.fromCodePoint=o)},function(e,t,n){var r=n(2).Token,i=n(9),o=i.NoViableAltException,a=i.InputMismatchException,s=i.FailedPredicateException,l=i.ParseCancellationException,c=n(7).ATNState,u=n(4).Interval,h=n(4).IntervalSet;function p(){}function d(){return p.call(this),this.errorRecoveryMode=!1,this.lastErrorIndex=-1,this.lastErrorStates=null,this}function f(){return d.call(this),this}p.prototype.reset=function(e){},p.prototype.recoverInline=function(e){},p.prototype.recover=function(e,t){},p.prototype.sync=function(e){},p.prototype.inErrorRecoveryMode=function(e){},p.prototype.reportError=function(e){},d.prototype=Object.create(p.prototype),d.prototype.constructor=d,d.prototype.reset=function(e){this.endErrorCondition(e)},d.prototype.beginErrorCondition=function(e){this.errorRecoveryMode=!0},d.prototype.inErrorRecoveryMode=function(e){return this.errorRecoveryMode},d.prototype.endErrorCondition=function(e){this.errorRecoveryMode=!1,this.lastErrorStates=null,this.lastErrorIndex=-1},d.prototype.reportMatch=function(e){this.endErrorCondition(e)},d.prototype.reportError=function(e,t){this.inErrorRecoveryMode(e)||(this.beginErrorCondition(e),t instanceof o?this.reportNoViableAlternative(e,t):t instanceof a?this.reportInputMismatch(e,t):t instanceof s?this.reportFailedPredicate(e,t):(console.log("unknown recognition error type: "+t.constructor.name),console.log(t.stack),e.notifyErrorListeners(t.getOffendingToken(),t.getMessage(),t)))},d.prototype.recover=function(e,t){this.lastErrorIndex===e.getInputStream().index&&null!==this.lastErrorStates&&this.lastErrorStates.indexOf(e.state)>=0&&e.consume(),this.lastErrorIndex=e._input.index,null===this.lastErrorStates&&(this.lastErrorStates=[]),this.lastErrorStates.push(e.state);var n=this.getErrorRecoverySet(e);this.consumeUntil(e,n)},d.prototype.sync=function(e){if(!this.inErrorRecoveryMode(e)){var t=e._interp.atn.states[e.state],n=e.getTokenStream().LA(1),i=e.atn.nextTokens(t);if(!i.contains(r.EPSILON)&&!i.contains(n))switch(t.stateType){case c.BLOCK_START:case c.STAR_BLOCK_START:case c.PLUS_BLOCK_START:case c.STAR_LOOP_ENTRY:if(null!==this.singleTokenDeletion(e))return;throw new a(e);case c.PLUS_LOOP_BACK:case c.STAR_LOOP_BACK:this.reportUnwantedToken(e);var o=new h;o.addSet(e.getExpectedTokens());var s=o.addSet(this.getErrorRecoverySet(e));this.consumeUntil(e,s)}}},d.prototype.reportNoViableAlternative=function(e,t){var n,i=e.getTokenStream();n=null!==i?t.startToken.type===r.EOF?"<EOF>":i.getText(new u(t.startToken,t.offendingToken)):"<unknown input>";var o="no viable alternative at input "+this.escapeWSAndQuote(n);e.notifyErrorListeners(o,t.offendingToken,t)},d.prototype.reportInputMismatch=function(e,t){var n="mismatched input "+this.getTokenErrorDisplay(t.offendingToken)+" expecting "+t.getExpectedTokens().toString(e.literalNames,e.symbolicNames);e.notifyErrorListeners(n,t.offendingToken,t)},d.prototype.reportFailedPredicate=function(e,t){var n="rule "+e.ruleNames[e._ctx.ruleIndex]+" "+t.message;e.notifyErrorListeners(n,t.offendingToken,t)},d.prototype.reportUnwantedToken=function(e){if(!this.inErrorRecoveryMode(e)){this.beginErrorCondition(e);var t=e.getCurrentToken(),n="extraneous input "+this.getTokenErrorDisplay(t)+" expecting "+this.getExpectedTokens(e).toString(e.literalNames,e.symbolicNames);e.notifyErrorListeners(n,t,null)}},d.prototype.reportMissingToken=function(e){if(!this.inErrorRecoveryMode(e)){this.beginErrorCondition(e);var t=e.getCurrentToken(),n="missing "+this.getExpectedTokens(e).toString(e.literalNames,e.symbolicNames)+" at "+this.getTokenErrorDisplay(t);e.notifyErrorListeners(n,t,null)}},d.prototype.recoverInline=function(e){var t=this.singleTokenDeletion(e);if(null!==t)return e.consume(),t;if(this.singleTokenInsertion(e))return this.getMissingSymbol(e);throw new a(e)},d.prototype.singleTokenInsertion=function(e){var t=e.getTokenStream().LA(1),n=e._interp.atn,r=n.states[e.state].transitions[0].target;return!!n.nextTokens(r,e._ctx).contains(t)&&(this.reportMissingToken(e),!0)},d.prototype.singleTokenDeletion=function(e){var t=e.getTokenStream().LA(2);if(this.getExpectedTokens(e).contains(t)){this.reportUnwantedToken(e),e.consume();var n=e.getCurrentToken();return this.reportMatch(e),n}return null},d.prototype.getMissingSymbol=function(e){var t,n=e.getCurrentToken(),i=this.getExpectedTokens(e).first();t=i===r.EOF?"<missing EOF>":"<missing "+e.literalNames[i]+">";var o=n,a=e.getTokenStream().LT(-1);return o.type===r.EOF&&null!==a&&(o=a),e.getTokenFactory().create(o.source,i,t,r.DEFAULT_CHANNEL,-1,-1,o.line,o.column)},d.prototype.getExpectedTokens=function(e){return e.getExpectedTokens()},d.prototype.getTokenErrorDisplay=function(e){if(null===e)return"<no token>";var t=e.text;return null===t&&(t=e.type===r.EOF?"<EOF>":"<"+e.type+">"),this.escapeWSAndQuote(t)},d.prototype.escapeWSAndQuote=function(e){return"'"+(e=(e=(e=e.replace(/\n/g,"\\n")).replace(/\r/g,"\\r")).replace(/\t/g,"\\t"))+"'"},d.prototype.getErrorRecoverySet=function(e){for(var t=e._interp.atn,n=e._ctx,i=new h;null!==n&&n.invokingState>=0;){var o=t.states[n.invokingState].transitions[0],a=t.nextTokens(o.followState);i.addSet(a),n=n.parentCtx}return i.removeOne(r.EPSILON),i},d.prototype.consumeUntil=function(e,t){for(var n=e.getTokenStream().LA(1);n!==r.EOF&&!t.contains(n);)e.consume(),n=e.getTokenStream().LA(1)},f.prototype=Object.create(d.prototype),f.prototype.constructor=f,f.prototype.recover=function(e,t){for(var n=e._ctx;null!==n;)n.exception=t,n=n.parentCtx;throw new l(t)},f.prototype.recoverInline=function(e){this.recover(e,new a(e))},f.prototype.sync=function(e){},t.BailErrorStrategy=f,t.DefaultErrorStrategy=d},function(e,t){},function(e,t,n){"use strict";var r=n(6);function i(){return r.tree.ParseTreeListener.call(this),this}i.prototype=Object.create(r.tree.ParseTreeListener.prototype),i.prototype.constructor=i,i.prototype.enterCypher=function(e){},i.prototype.exitCypher=function(e){},i.prototype.enterCypherPart=function(e){},i.prototype.exitCypherPart=function(e){},i.prototype.enterCypherConsoleCommand=function(e){},i.prototype.exitCypherConsoleCommand=function(e){},i.prototype.enterCypherConsoleCommandName=function(e){},i.prototype.exitCypherConsoleCommandName=function(e){},i.prototype.enterCypherConsoleCommandParameters=function(e){},i.prototype.exitCypherConsoleCommandParameters=function(e){},i.prototype.enterCypherConsoleCommandParameter=function(e){},i.prototype.exitCypherConsoleCommandParameter=function(e){},i.prototype.enterArrowExpression=function(e){},i.prototype.exitArrowExpression=function(e){},i.prototype.enterUrl=function(e){},i.prototype.exitUrl=function(e){},i.prototype.enterUri=function(e){},i.prototype.exitUri=function(e){},i.prototype.enterScheme=function(e){},i.prototype.exitScheme=function(e){},i.prototype.enterHost=function(e){},i.prototype.exitHost=function(e){},i.prototype.enterHostname=function(e){},i.prototype.exitHostname=function(e){},i.prototype.enterHostnumber=function(e){},i.prototype.exitHostnumber=function(e){},i.prototype.enterPort=function(e){},i.prototype.exitPort=function(e){},i.prototype.enterPath=function(e){},i.prototype.exitPath=function(e){},i.prototype.enterUser=function(e){},i.prototype.exitUser=function(e){},i.prototype.enterLogin=function(e){},i.prototype.exitLogin=function(e){},i.prototype.enterPassword=function(e){},i.prototype.exitPassword=function(e){},i.prototype.enterFrag=function(e){},i.prototype.exitFrag=function(e){},i.prototype.enterUrlQuery=function(e){},i.prototype.exitUrlQuery=function(e){},i.prototype.enterSearch=function(e){},i.prototype.exitSearch=function(e){},i.prototype.enterSearchparameter=function(e){},i.prototype.exitSearchparameter=function(e){},i.prototype.enterString=function(e){},i.prototype.exitString=function(e){},i.prototype.enterUrlDigits=function(e){},i.prototype.exitUrlDigits=function(e){},i.prototype.enterJson=function(e){},i.prototype.exitJson=function(e){},i.prototype.enterObj=function(e){},i.prototype.exitObj=function(e){},i.prototype.enterPair=function(e){},i.prototype.exitPair=function(e){},i.prototype.enterArray=function(e){},i.prototype.exitArray=function(e){},i.prototype.enterValue=function(e){},i.prototype.exitValue=function(e){},i.prototype.enterKeyValueLiteral=function(e){},i.prototype.exitKeyValueLiteral=function(e){},i.prototype.enterCommandPath=function(e){},i.prototype.exitCommandPath=function(e){},i.prototype.enterSubCommand=function(e){},i.prototype.exitSubCommand=function(e){},i.prototype.enterCypherQuery=function(e){},i.prototype.exitCypherQuery=function(e){},i.prototype.enterQueryOptions=function(e){},i.prototype.exitQueryOptions=function(e){},i.prototype.enterAnyCypherOption=function(e){},i.prototype.exitAnyCypherOption=function(e){},i.prototype.enterCypherOption=function(e){},i.prototype.exitCypherOption=function(e){},i.prototype.enterVersionNumber=function(e){},i.prototype.exitVersionNumber=function(e){},i.prototype.enterExplain=function(e){},i.prototype.exitExplain=function(e){},i.prototype.enterProfile=function(e){},i.prototype.exitProfile=function(e){},i.prototype.enterConfigurationOption=function(e){},i.prototype.exitConfigurationOption=function(e){},i.prototype.enterStatement=function(e){},i.prototype.exitStatement=function(e){},i.prototype.enterQuery=function(e){},i.prototype.exitQuery=function(e){},i.prototype.enterRegularQuery=function(e){},i.prototype.exitRegularQuery=function(e){},i.prototype.enterBulkImportQuery=function(e){},i.prototype.exitBulkImportQuery=function(e){},i.prototype.enterSingleQuery=function(e){},i.prototype.exitSingleQuery=function(e){},i.prototype.enterPeriodicCommitHint=function(e){},i.prototype.exitPeriodicCommitHint=function(e){},i.prototype.enterLoadCSVQuery=function(e){},i.prototype.exitLoadCSVQuery=function(e){},i.prototype.enterUnion=function(e){},i.prototype.exitUnion=function(e){},i.prototype.enterClause=function(e){},i.prototype.exitClause=function(e){},i.prototype.enterCommand=function(e){},i.prototype.exitCommand=function(e){},i.prototype.enterCreateUniqueConstraint=function(e){},i.prototype.exitCreateUniqueConstraint=function(e){},i.prototype.enterCreateNodeKeyConstraint=function(e){},i.prototype.exitCreateNodeKeyConstraint=function(e){},i.prototype.enterCreateNodePropertyExistenceConstraint=function(e){},i.prototype.exitCreateNodePropertyExistenceConstraint=function(e){},i.prototype.enterCreateRelationshipPropertyExistenceConstraint=function(e){},i.prototype.exitCreateRelationshipPropertyExistenceConstraint=function(e){},i.prototype.enterCreateIndex=function(e){},i.prototype.exitCreateIndex=function(e){},i.prototype.enterDropUniqueConstraint=function(e){},i.prototype.exitDropUniqueConstraint=function(e){},i.prototype.enterDropNodeKeyConstraint=function(e){},i.prototype.exitDropNodeKeyConstraint=function(e){},i.prototype.enterDropNodePropertyExistenceConstraint=function(e){},i.prototype.exitDropNodePropertyExistenceConstraint=function(e){},i.prototype.enterDropRelationshipPropertyExistenceConstraint=function(e){},i.prototype.exitDropRelationshipPropertyExistenceConstraint=function(e){},i.prototype.enterDropIndex=function(e){},i.prototype.exitDropIndex=function(e){},i.prototype.enterIndex=function(e){},i.prototype.exitIndex=function(e){},i.prototype.enterUniqueConstraint=function(e){},i.prototype.exitUniqueConstraint=function(e){},i.prototype.enterNodeKeyConstraint=function(e){},i.prototype.exitNodeKeyConstraint=function(e){},i.prototype.enterNodePropertyExistenceConstraint=function(e){},i.prototype.exitNodePropertyExistenceConstraint=function(e){},i.prototype.enterRelationshipPropertyExistenceConstraint=function(e){},i.prototype.exitRelationshipPropertyExistenceConstraint=function(e){},i.prototype.enterRelationshipPatternSyntax=function(e){},i.prototype.exitRelationshipPatternSyntax=function(e){},i.prototype.enterLoadCSVClause=function(e){},i.prototype.exitLoadCSVClause=function(e){},i.prototype.enterMatchClause=function(e){},i.prototype.exitMatchClause=function(e){},i.prototype.enterUnwindClause=function(e){},i.prototype.exitUnwindClause=function(e){},i.prototype.enterMergeClause=function(e){},i.prototype.exitMergeClause=function(e){},i.prototype.enterMergeAction=function(e){},i.prototype.exitMergeAction=function(e){},i.prototype.enterCreateClause=function(e){},i.prototype.exitCreateClause=function(e){},i.prototype.enterCreateUniqueClause=function(e){},i.prototype.exitCreateUniqueClause=function(e){},i.prototype.enterSetClause=function(e){},i.prototype.exitSetClause=function(e){},i.prototype.enterSetItem=function(e){},i.prototype.exitSetItem=function(e){},i.prototype.enterDeleteClause=function(e){},i.prototype.exitDeleteClause=function(e){},i.prototype.enterRemoveClause=function(e){},i.prototype.exitRemoveClause=function(e){},i.prototype.enterRemoveItem=function(e){},i.prototype.exitRemoveItem=function(e){},i.prototype.enterForeachClause=function(e){},i.prototype.exitForeachClause=function(e){},i.prototype.enterWithClause=function(e){},i.prototype.exitWithClause=function(e){},i.prototype.enterReturnClause=function(e){},i.prototype.exitReturnClause=function(e){},i.prototype.enterReturnBody=function(e){},i.prototype.exitReturnBody=function(e){},i.prototype.enterFunc=function(e){},i.prototype.exitFunc=function(e){},i.prototype.enterReturnItems=function(e){},i.prototype.exitReturnItems=function(e){},i.prototype.enterReturnItem=function(e){},i.prototype.exitReturnItem=function(e){},i.prototype.enterCall=function(e){},i.prototype.exitCall=function(e){},i.prototype.enterProcedureInvocation=function(e){},i.prototype.exitProcedureInvocation=function(e){},i.prototype.enterProcedureInvocationBody=function(e){},i.prototype.exitProcedureInvocationBody=function(e){},i.prototype.enterProcedureArguments=function(e){},i.prototype.exitProcedureArguments=function(e){},i.prototype.enterProcedureResults=function(e){},i.prototype.exitProcedureResults=function(e){},i.prototype.enterProcedureResult=function(e){},i.prototype.exitProcedureResult=function(e){},i.prototype.enterAliasedProcedureResult=function(e){},i.prototype.exitAliasedProcedureResult=function(e){},i.prototype.enterSimpleProcedureResult=function(e){},i.prototype.exitSimpleProcedureResult=function(e){},i.prototype.enterProcedureOutput=function(e){},i.prototype.exitProcedureOutput=function(e){},i.prototype.enterOrder=function(e){},i.prototype.exitOrder=function(e){},i.prototype.enterSkip=function(e){},i.prototype.exitSkip=function(e){},i.prototype.enterLimit=function(e){},i.prototype.exitLimit=function(e){},i.prototype.enterSortItem=function(e){},i.prototype.exitSortItem=function(e){},i.prototype.enterHint=function(e){},i.prototype.exitHint=function(e){},i.prototype.enterStartClause=function(e){},i.prototype.exitStartClause=function(e){},i.prototype.enterStartPoint=function(e){},i.prototype.exitStartPoint=function(e){},i.prototype.enterLookup=function(e){},i.prototype.exitLookup=function(e){},i.prototype.enterNodeLookup=function(e){},i.prototype.exitNodeLookup=function(e){},i.prototype.enterRelationshipLookup=function(e){},i.prototype.exitRelationshipLookup=function(e){},i.prototype.enterIdentifiedIndexLookup=function(e){},i.prototype.exitIdentifiedIndexLookup=function(e){},i.prototype.enterIndexQuery=function(e){},i.prototype.exitIndexQuery=function(e){},i.prototype.enterIdLookup=function(e){},i.prototype.exitIdLookup=function(e){},i.prototype.enterLiteralIds=function(e){},i.prototype.exitLiteralIds=function(e){},i.prototype.enterWhere=function(e){},i.prototype.exitWhere=function(e){},i.prototype.enterPattern=function(e){},i.prototype.exitPattern=function(e){},i.prototype.enterPatternPart=function(e){},i.prototype.exitPatternPart=function(e){},i.prototype.enterAnonymousPatternPart=function(e){},i.prototype.exitAnonymousPatternPart=function(e){},i.prototype.enterPatternElement=function(e){},i.prototype.exitPatternElement=function(e){},i.prototype.enterNodePattern=function(e){},i.prototype.exitNodePattern=function(e){},i.prototype.enterPatternElementChain=function(e){},i.prototype.exitPatternElementChain=function(e){},i.prototype.enterRelationshipPattern=function(e){},i.prototype.exitRelationshipPattern=function(e){},i.prototype.enterRelationshipPatternStart=function(e){},i.prototype.exitRelationshipPatternStart=function(e){},i.prototype.enterRelationshipPatternEnd=function(e){},i.prototype.exitRelationshipPatternEnd=function(e){},i.prototype.enterRelationshipDetail=function(e){},i.prototype.exitRelationshipDetail=function(e){},i.prototype.enterProperties=function(e){},i.prototype.exitProperties=function(e){},i.prototype.enterRelType=function(e){},i.prototype.exitRelType=function(e){},i.prototype.enterRelationshipTypes=function(e){},i.prototype.exitRelationshipTypes=function(e){},i.prototype.enterRelationshipType=function(e){},i.prototype.exitRelationshipType=function(e){},i.prototype.enterRelationshipTypeOptionalColon=function(e){},i.prototype.exitRelationshipTypeOptionalColon=function(e){},i.prototype.enterNodeLabels=function(e){},i.prototype.exitNodeLabels=function(e){},i.prototype.enterNodeLabel=function(e){},i.prototype.exitNodeLabel=function(e){},i.prototype.enterRangeLiteral=function(e){},i.prototype.exitRangeLiteral=function(e){},i.prototype.enterLabelName=function(e){},i.prototype.exitLabelName=function(e){},i.prototype.enterRelTypeName=function(e){},i.prototype.exitRelTypeName=function(e){},i.prototype.enterExpression=function(e){},i.prototype.exitExpression=function(e){},i.prototype.enterOrExpression=function(e){},i.prototype.exitOrExpression=function(e){},i.prototype.enterXorExpression=function(e){},i.prototype.exitXorExpression=function(e){},i.prototype.enterAndExpression=function(e){},i.prototype.exitAndExpression=function(e){},i.prototype.enterNotExpression=function(e){},i.prototype.exitNotExpression=function(e){},i.prototype.enterComparisonExpression=function(e){},i.prototype.exitComparisonExpression=function(e){},i.prototype.enterAddOrSubtractExpression=function(e){},i.prototype.exitAddOrSubtractExpression=function(e){},i.prototype.enterMultiplyDivideModuloExpression=function(e){},i.prototype.exitMultiplyDivideModuloExpression=function(e){},i.prototype.enterPowerOfExpression=function(e){},i.prototype.exitPowerOfExpression=function(e){},i.prototype.enterUnaryAddOrSubtractExpression=function(e){},i.prototype.exitUnaryAddOrSubtractExpression=function(e){},i.prototype.enterStringListNullOperatorExpression=function(e){},i.prototype.exitStringListNullOperatorExpression=function(e){},i.prototype.enterPropertyOrLabelsExpression=function(e){},i.prototype.exitPropertyOrLabelsExpression=function(e){},i.prototype.enterFilterFunction=function(e){},i.prototype.exitFilterFunction=function(e){},i.prototype.enterFilterFunctionName=function(e){},i.prototype.exitFilterFunctionName=function(e){},i.prototype.enterExistsFunction=function(e){},i.prototype.exitExistsFunction=function(e){},i.prototype.enterExistsFunctionName=function(e){},i.prototype.exitExistsFunctionName=function(e){},i.prototype.enterAllFunction=function(e){},i.prototype.exitAllFunction=function(e){},i.prototype.enterAllFunctionName=function(e){},i.prototype.exitAllFunctionName=function(e){},i.prototype.enterAnyFunction=function(e){},i.prototype.exitAnyFunction=function(e){},i.prototype.enterAnyFunctionName=function(e){},i.prototype.exitAnyFunctionName=function(e){},i.prototype.enterNoneFunction=function(e){},i.prototype.exitNoneFunction=function(e){},i.prototype.enterNoneFunctionName=function(e){},i.prototype.exitNoneFunctionName=function(e){},i.prototype.enterSingleFunction=function(e){},i.prototype.exitSingleFunction=function(e){},i.prototype.enterSingleFunctionName=function(e){},i.prototype.exitSingleFunctionName=function(e){},i.prototype.enterExtractFunction=function(e){},i.prototype.exitExtractFunction=function(e){},i.prototype.enterExtractFunctionName=function(e){},i.prototype.exitExtractFunctionName=function(e){},i.prototype.enterReduceFunction=function(e){},i.prototype.exitReduceFunction=function(e){},i.prototype.enterReduceFunctionName=function(e){},i.prototype.exitReduceFunctionName=function(e){},i.prototype.enterShortestPathPatternFunction=function(e){},i.prototype.exitShortestPathPatternFunction=function(e){},i.prototype.enterShortestPathFunctionName=function(e){},i.prototype.exitShortestPathFunctionName=function(e){},i.prototype.enterAllShortestPathFunctionName=function(e){},i.prototype.exitAllShortestPathFunctionName=function(e){},i.prototype.enterAtom=function(e){},i.prototype.exitAtom=function(e){},i.prototype.enterLiteral=function(e){},i.prototype.exitLiteral=function(e){},i.prototype.enterStringLiteral=function(e){},i.prototype.exitStringLiteral=function(e){},i.prototype.enterBooleanLiteral=function(e){},i.prototype.exitBooleanLiteral=function(e){},i.prototype.enterListLiteral=function(e){},i.prototype.exitListLiteral=function(e){},i.prototype.enterPartialComparisonExpression=function(e){},i.prototype.exitPartialComparisonExpression=function(e){},i.prototype.enterParenthesizedExpression=function(e){},i.prototype.exitParenthesizedExpression=function(e){},i.prototype.enterRelationshipsPattern=function(e){},i.prototype.exitRelationshipsPattern=function(e){},i.prototype.enterFilterExpression=function(e){},i.prototype.exitFilterExpression=function(e){},i.prototype.enterIdInColl=function(e){},i.prototype.exitIdInColl=function(e){},i.prototype.enterFunctionInvocation=function(e){},i.prototype.exitFunctionInvocation=function(e){},i.prototype.enterFunctionInvocationBody=function(e){},i.prototype.exitFunctionInvocationBody=function(e){},i.prototype.enterFunctionName=function(e){},i.prototype.exitFunctionName=function(e){},i.prototype.enterProcedureName=function(e){},i.prototype.exitProcedureName=function(e){},i.prototype.enterListComprehension=function(e){},i.prototype.exitListComprehension=function(e){},i.prototype.enterPatternComprehension=function(e){},i.prototype.exitPatternComprehension=function(e){},i.prototype.enterPropertyLookup=function(e){},i.prototype.exitPropertyLookup=function(e){},i.prototype.enterCaseExpression=function(e){},i.prototype.exitCaseExpression=function(e){},i.prototype.enterCaseAlternatives=function(e){},i.prototype.exitCaseAlternatives=function(e){},i.prototype.enterVariable=function(e){},i.prototype.exitVariable=function(e){},i.prototype.enterNumberLiteral=function(e){},i.prototype.exitNumberLiteral=function(e){},i.prototype.enterMapLiteral=function(e){},i.prototype.exitMapLiteral=function(e){},i.prototype.enterMapProjection=function(e){},i.prototype.exitMapProjection=function(e){},i.prototype.enterMapProjectionVariants=function(e){},i.prototype.exitMapProjectionVariants=function(e){},i.prototype.enterLiteralEntry=function(e){},i.prototype.exitLiteralEntry=function(e){},i.prototype.enterPropertySelector=function(e){},i.prototype.exitPropertySelector=function(e){},i.prototype.enterVariableSelector=function(e){},i.prototype.exitVariableSelector=function(e){},i.prototype.enterAllPropertiesSelector=function(e){},i.prototype.exitAllPropertiesSelector=function(e){},i.prototype.enterParameter=function(e){},i.prototype.exitParameter=function(e){},i.prototype.enterLegacyParameter=function(e){},i.prototype.exitLegacyParameter=function(e){},i.prototype.enterNewParameter=function(e){},i.prototype.exitNewParameter=function(e){},i.prototype.enterParameterName=function(e){},i.prototype.exitParameterName=function(e){},i.prototype.enterPropertyExpressions=function(e){},i.prototype.exitPropertyExpressions=function(e){},i.prototype.enterPropertyExpression=function(e){},i.prototype.exitPropertyExpression=function(e){},i.prototype.enterPropertyKeys=function(e){},i.prototype.exitPropertyKeys=function(e){},i.prototype.enterPropertyKeyName=function(e){},i.prototype.exitPropertyKeyName=function(e){},i.prototype.enterIntegerLiteral=function(e){},i.prototype.exitIntegerLiteral=function(e){},i.prototype.enterDoubleLiteral=function(e){},i.prototype.exitDoubleLiteral=function(e){},i.prototype.enterNamespace=function(e){},i.prototype.exitNamespace=function(e){},i.prototype.enterLeftArrowHead=function(e){},i.prototype.exitLeftArrowHead=function(e){},i.prototype.enterRightArrowHead=function(e){},i.prototype.exitRightArrowHead=function(e){},i.prototype.enterDash=function(e){},i.prototype.exitDash=function(e){},i.prototype.enterSymbolicName=function(e){},i.prototype.exitSymbolicName=function(e){},i.prototype.enterKeyword=function(e){},i.prototype.exitKeyword=function(e){},t.CypherListener=i},function(e,t,n){(function(e,r){var i;(function(){var o,a="Expected a function",s="__lodash_hash_undefined__",l="__lodash_placeholder__",c=32,u=128,h=1/0,p=9007199254740991,d=NaN,f=4294967295,m=[["ary",u],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",c],["partialRight",64],["rearg",256]],g="[object Arguments]",y="[object Array]",v="[object Boolean]",_="[object Date]",b="[object Error]",E="[object Function]",T="[object GeneratorFunction]",x="[object Map]",S="[object Number]",C="[object Object]",A="[object Promise]",R="[object RegExp]",w="[object Set]",L="[object String]",O="[object Symbol]",N="[object WeakMap]",I="[object ArrayBuffer]",k="[object DataView]",D="[object Float32Array]",P="[object Float64Array]",M="[object Int8Array]",F="[object Int16Array]",H="[object Int32Array]",B="[object Uint8Array]",U="[object Uint8ClampedArray]",j="[object Uint16Array]",G="[object Uint32Array]",Y=/\b__p \+= '';/g,z=/\b(__p \+=) '' \+/g,$=/(__e\(.*?\)|\b__t\)) \+\n'';/g,W=/&(?:amp|lt|gt|quot|#39);/g,V=/[&<>"']/g,K=RegExp(W.source),q=RegExp(V.source),X=/<%-([\s\S]+?)%>/g,Z=/<%([\s\S]+?)%>/g,Q=/<%=([\s\S]+?)%>/g,J=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ee=/^\w*$/,te=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ne=/[\\^$.*+?()[\]{}|]/g,re=RegExp(ne.source),ie=/^\s+|\s+$/g,oe=/^\s+/,ae=/\s+$/,se=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,le=/\{\n\/\* \[wrapped with (.+)\] \*/,ce=/,? & /,ue=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,he=/\\(\\)?/g,pe=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,de=/\w*$/,fe=/^[-+]0x[0-9a-f]+$/i,me=/^0b[01]+$/i,ge=/^\[object .+?Constructor\]$/,ye=/^0o[0-7]+$/i,ve=/^(?:0|[1-9]\d*)$/,_e=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,be=/($^)/,Ee=/['\n\r\u2028\u2029\\]/g,Te="\\ud800-\\udfff",xe="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",Se="\\u2700-\\u27bf",Ce="a-z\\xdf-\\xf6\\xf8-\\xff",Ae="A-Z\\xc0-\\xd6\\xd8-\\xde",Re="\\ufe0e\\ufe0f",we="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Le="["+Te+"]",Oe="["+we+"]",Ne="["+xe+"]",Ie="\\d+",ke="["+Se+"]",De="["+Ce+"]",Pe="[^"+Te+we+Ie+Se+Ce+Ae+"]",Me="\\ud83c[\\udffb-\\udfff]",Fe="[^"+Te+"]",He="(?:\\ud83c[\\udde6-\\uddff]){2}",Be="[\\ud800-\\udbff][\\udc00-\\udfff]",Ue="["+Ae+"]",je="\\u200d",Ge="(?:"+De+"|"+Pe+")",Ye="(?:"+Ue+"|"+Pe+")",ze="(?:['’](?:d|ll|m|re|s|t|ve))?",$e="(?:['’](?:D|LL|M|RE|S|T|VE))?",We="(?:"+Ne+"|"+Me+")?",Ve="["+Re+"]?",Ke=Ve+We+"(?:"+je+"(?:"+[Fe,He,Be].join("|")+")"+Ve+We+")*",qe="(?:"+[ke,He,Be].join("|")+")"+Ke,Xe="(?:"+[Fe+Ne+"?",Ne,He,Be,Le].join("|")+")",Ze=RegExp("['’]","g"),Qe=RegExp(Ne,"g"),Je=RegExp(Me+"(?="+Me+")|"+Xe+Ke,"g"),et=RegExp([Ue+"?"+De+"+"+ze+"(?="+[Oe,Ue,"$"].join("|")+")",Ye+"+"+$e+"(?="+[Oe,Ue+Ge,"$"].join("|")+")",Ue+"?"+Ge+"+"+ze,Ue+"+"+$e,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Ie,qe].join("|"),"g"),tt=RegExp("["+je+Te+xe+Re+"]"),nt=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,rt=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],it=-1,ot={};ot[D]=ot[P]=ot[M]=ot[F]=ot[H]=ot[B]=ot[U]=ot[j]=ot[G]=!0,ot[g]=ot[y]=ot[I]=ot[v]=ot[k]=ot[_]=ot[b]=ot[E]=ot[x]=ot[S]=ot[C]=ot[R]=ot[w]=ot[L]=ot[N]=!1;var at={};at[g]=at[y]=at[I]=at[k]=at[v]=at[_]=at[D]=at[P]=at[M]=at[F]=at[H]=at[x]=at[S]=at[C]=at[R]=at[w]=at[L]=at[O]=at[B]=at[U]=at[j]=at[G]=!0,at[b]=at[E]=at[N]=!1;var st={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},lt=parseFloat,ct=parseInt,ut="object"==typeof e&&e&&e.Object===Object&&e,ht="object"==typeof self&&self&&self.Object===Object&&self,pt=ut||ht||Function("return this")(),dt="object"==typeof t&&t&&!t.nodeType&&t,ft=dt&&"object"==typeof r&&r&&!r.nodeType&&r,mt=ft&&ft.exports===dt,gt=mt&&ut.process,yt=function(){try{return ft&&ft.require&&ft.require("util").types||gt&>.binding&>.binding("util")}catch(e){}}(),vt=yt&&yt.isArrayBuffer,_t=yt&&yt.isDate,bt=yt&&yt.isMap,Et=yt&&yt.isRegExp,Tt=yt&&yt.isSet,xt=yt&&yt.isTypedArray;function St(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function Ct(e,t,n,r){for(var i=-1,o=null==e?0:e.length;++i<o;){var a=e[i];t(r,a,n(a),e)}return r}function At(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}function Rt(e,t){for(var n=null==e?0:e.length;n--&&!1!==t(e[n],n,e););return e}function wt(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(!t(e[n],n,e))return!1;return!0}function Lt(e,t){for(var n=-1,r=null==e?0:e.length,i=0,o=[];++n<r;){var a=e[n];t(a,n,e)&&(o[i++]=a)}return o}function Ot(e,t){return!(null==e||!e.length)&&Ut(e,t,0)>-1}function Nt(e,t,n){for(var r=-1,i=null==e?0:e.length;++r<i;)if(n(t,e[r]))return!0;return!1}function It(e,t){for(var n=-1,r=null==e?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}function kt(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}function Dt(e,t,n,r){var i=-1,o=null==e?0:e.length;for(r&&o&&(n=e[++i]);++i<o;)n=t(n,e[i],i,e);return n}function Pt(e,t,n,r){var i=null==e?0:e.length;for(r&&i&&(n=e[--i]);i--;)n=t(n,e[i],i,e);return n}function Mt(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}var Ft=zt("length");function Ht(e,t,n){var r;return n(e,(function(e,n,i){if(t(e,n,i))return r=n,!1})),r}function Bt(e,t,n,r){for(var i=e.length,o=n+(r?1:-1);r?o--:++o<i;)if(t(e[o],o,e))return o;return-1}function Ut(e,t,n){return t==t?function(e,t,n){for(var r=n-1,i=e.length;++r<i;)if(e[r]===t)return r;return-1}(e,t,n):Bt(e,Gt,n)}function jt(e,t,n,r){for(var i=n-1,o=e.length;++i<o;)if(r(e[i],t))return i;return-1}function Gt(e){return e!=e}function Yt(e,t){var n=null==e?0:e.length;return n?Vt(e,t)/n:d}function zt(e){return function(t){return null==t?o:t[e]}}function $t(e){return function(t){return null==e?o:e[t]}}function Wt(e,t,n,r,i){return i(e,(function(e,i,o){n=r?(r=!1,e):t(n,e,i,o)})),n}function Vt(e,t){for(var n,r=-1,i=e.length;++r<i;){var a=t(e[r]);a!==o&&(n=n===o?a:n+a)}return n}function Kt(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}function qt(e){return function(t){return e(t)}}function Xt(e,t){return It(t,(function(t){return e[t]}))}function Zt(e,t){return e.has(t)}function Qt(e,t){for(var n=-1,r=e.length;++n<r&&Ut(t,e[n],0)>-1;);return n}function Jt(e,t){for(var n=e.length;n--&&Ut(t,e[n],0)>-1;);return n}var en=$t({À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"}),tn=$t({"&":"&","<":"<",">":">",'"':""","'":"'"});function nn(e){return"\\"+st[e]}function rn(e){return tt.test(e)}function on(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function an(e,t){return function(n){return e(t(n))}}function sn(e,t){for(var n=-1,r=e.length,i=0,o=[];++n<r;){var a=e[n];a!==t&&a!==l||(e[n]=l,o[i++]=n)}return o}function ln(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}function cn(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=[e,e]})),n}function un(e){return rn(e)?function(e){for(var t=Je.lastIndex=0;Je.test(e);)++t;return t}(e):Ft(e)}function hn(e){return rn(e)?function(e){return e.match(Je)||[]}(e):function(e){return e.split("")}(e)}var pn=$t({"&":"&","<":"<",">":">",""":'"',"'":"'"}),dn=function e(t){var n,r=(t=null==t?pt:dn.defaults(pt.Object(),t,dn.pick(pt,rt))).Array,i=t.Date,Te=t.Error,xe=t.Function,Se=t.Math,Ce=t.Object,Ae=t.RegExp,Re=t.String,we=t.TypeError,Le=r.prototype,Oe=xe.prototype,Ne=Ce.prototype,Ie=t["__core-js_shared__"],ke=Oe.toString,De=Ne.hasOwnProperty,Pe=0,Me=(n=/[^.]+$/.exec(Ie&&Ie.keys&&Ie.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",Fe=Ne.toString,He=ke.call(Ce),Be=pt._,Ue=Ae("^"+ke.call(De).replace(ne,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),je=mt?t.Buffer:o,Ge=t.Symbol,Ye=t.Uint8Array,ze=je?je.allocUnsafe:o,$e=an(Ce.getPrototypeOf,Ce),We=Ce.create,Ve=Ne.propertyIsEnumerable,Ke=Le.splice,qe=Ge?Ge.isConcatSpreadable:o,Xe=Ge?Ge.iterator:o,Je=Ge?Ge.toStringTag:o,tt=function(){try{var e=so(Ce,"defineProperty");return e({},"",{}),e}catch(e){}}(),st=t.clearTimeout!==pt.clearTimeout&&t.clearTimeout,ut=i&&i.now!==pt.Date.now&&i.now,ht=t.setTimeout!==pt.setTimeout&&t.setTimeout,dt=Se.ceil,ft=Se.floor,gt=Ce.getOwnPropertySymbols,yt=je?je.isBuffer:o,Ft=t.isFinite,$t=Le.join,fn=an(Ce.keys,Ce),mn=Se.max,gn=Se.min,yn=i.now,vn=t.parseInt,_n=Se.random,bn=Le.reverse,En=so(t,"DataView"),Tn=so(t,"Map"),xn=so(t,"Promise"),Sn=so(t,"Set"),Cn=so(t,"WeakMap"),An=so(Ce,"create"),Rn=Cn&&new Cn,wn={},Ln=Mo(En),On=Mo(Tn),Nn=Mo(xn),In=Mo(Sn),kn=Mo(Cn),Dn=Ge?Ge.prototype:o,Pn=Dn?Dn.valueOf:o,Mn=Dn?Dn.toString:o;function Fn(e){if(Ja(e)&&!Ga(e)&&!(e instanceof jn)){if(e instanceof Un)return e;if(De.call(e,"__wrapped__"))return Fo(e)}return new Un(e)}var Hn=function(){function e(){}return function(t){if(!Qa(t))return{};if(We)return We(t);e.prototype=t;var n=new e;return e.prototype=o,n}}();function Bn(){}function Un(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=o}function jn(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=f,this.__views__=[]}function Gn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Yn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function zn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function $n(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new zn;++t<n;)this.add(e[t])}function Wn(e){var t=this.__data__=new Yn(e);this.size=t.size}function Vn(e,t){var n=Ga(e),r=!n&&ja(e),i=!n&&!r&&Wa(e),o=!n&&!r&&!i&&ss(e),a=n||r||i||o,s=a?Kt(e.length,Re):[],l=s.length;for(var c in e)!t&&!De.call(e,c)||a&&("length"==c||i&&("offset"==c||"parent"==c)||o&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||mo(c,l))||s.push(c);return s}function Kn(e){var t=e.length;return t?e[zr(0,t-1)]:o}function qn(e,t){return No(Ci(e),ir(t,0,e.length))}function Xn(e){return No(Ci(e))}function Zn(e,t,n){(n!==o&&!Ha(e[t],n)||n===o&&!(t in e))&&nr(e,t,n)}function Qn(e,t,n){var r=e[t];De.call(e,t)&&Ha(r,n)&&(n!==o||t in e)||nr(e,t,n)}function Jn(e,t){for(var n=e.length;n--;)if(Ha(e[n][0],t))return n;return-1}function er(e,t,n,r){return cr(e,(function(e,i,o){t(r,e,n(e),o)})),r}function tr(e,t){return e&&Ai(t,Ls(t),e)}function nr(e,t,n){"__proto__"==t&&tt?tt(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function rr(e,t){for(var n=-1,i=t.length,a=r(i),s=null==e;++n<i;)a[n]=s?o:Ss(e,t[n]);return a}function ir(e,t,n){return e==e&&(n!==o&&(e=e<=n?e:n),t!==o&&(e=e>=t?e:t)),e}function or(e,t,n,r,i,a){var s,l=1&t,c=2&t,u=4&t;if(n&&(s=i?n(e,r,i,a):n(e)),s!==o)return s;if(!Qa(e))return e;var h=Ga(e);if(h){if(s=function(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&&De.call(e,"index")&&(n.index=e.index,n.input=e.input),n}(e),!l)return Ci(e,s)}else{var p=uo(e),d=p==E||p==T;if(Wa(e))return _i(e,l);if(p==C||p==g||d&&!i){if(s=c||d?{}:po(e),!l)return c?function(e,t){return Ai(e,co(e),t)}(e,function(e,t){return e&&Ai(t,Os(t),e)}(s,e)):function(e,t){return Ai(e,lo(e),t)}(e,tr(s,e))}else{if(!at[p])return i?e:{};s=function(e,t,n){var r,i=e.constructor;switch(t){case I:return bi(e);case v:case _:return new i(+e);case k:return function(e,t){var n=t?bi(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,n);case D:case P:case M:case F:case H:case B:case U:case j:case G:return Ei(e,n);case x:return new i;case S:case L:return new i(e);case R:return function(e){var t=new e.constructor(e.source,de.exec(e));return t.lastIndex=e.lastIndex,t}(e);case w:return new i;case O:return r=e,Pn?Ce(Pn.call(r)):{}}}(e,p,l)}}a||(a=new Wn);var f=a.get(e);if(f)return f;a.set(e,s),is(e)?e.forEach((function(r){s.add(or(r,t,n,r,e,a))})):es(e)&&e.forEach((function(r,i){s.set(i,or(r,t,n,i,e,a))}));var m=h?o:(u?c?eo:Ji:c?Os:Ls)(e);return At(m||e,(function(r,i){m&&(r=e[i=r]),Qn(s,i,or(r,t,n,i,e,a))})),s}function ar(e,t,n){var r=n.length;if(null==e)return!r;for(e=Ce(e);r--;){var i=n[r],a=t[i],s=e[i];if(s===o&&!(i in e)||!a(s))return!1}return!0}function sr(e,t,n){if("function"!=typeof e)throw new we(a);return Ro((function(){e.apply(o,n)}),t)}function lr(e,t,n,r){var i=-1,o=Ot,a=!0,s=e.length,l=[],c=t.length;if(!s)return l;n&&(t=It(t,qt(n))),r?(o=Nt,a=!1):t.length>=200&&(o=Zt,a=!1,t=new $n(t));e:for(;++i<s;){var u=e[i],h=null==n?u:n(u);if(u=r||0!==u?u:0,a&&h==h){for(var p=c;p--;)if(t[p]===h)continue e;l.push(u)}else o(t,h,r)||l.push(u)}return l}Fn.templateSettings={escape:X,evaluate:Z,interpolate:Q,variable:"",imports:{_:Fn}},Fn.prototype=Bn.prototype,Fn.prototype.constructor=Fn,Un.prototype=Hn(Bn.prototype),Un.prototype.constructor=Un,jn.prototype=Hn(Bn.prototype),jn.prototype.constructor=jn,Gn.prototype.clear=function(){this.__data__=An?An(null):{},this.size=0},Gn.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},Gn.prototype.get=function(e){var t=this.__data__;if(An){var n=t[e];return n===s?o:n}return De.call(t,e)?t[e]:o},Gn.prototype.has=function(e){var t=this.__data__;return An?t[e]!==o:De.call(t,e)},Gn.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=An&&t===o?s:t,this},Yn.prototype.clear=function(){this.__data__=[],this.size=0},Yn.prototype.delete=function(e){var t=this.__data__,n=Jn(t,e);return!(n<0||(n==t.length-1?t.pop():Ke.call(t,n,1),--this.size,0))},Yn.prototype.get=function(e){var t=this.__data__,n=Jn(t,e);return n<0?o:t[n][1]},Yn.prototype.has=function(e){return Jn(this.__data__,e)>-1},Yn.prototype.set=function(e,t){var n=this.__data__,r=Jn(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},zn.prototype.clear=function(){this.size=0,this.__data__={hash:new Gn,map:new(Tn||Yn),string:new Gn}},zn.prototype.delete=function(e){var t=oo(this,e).delete(e);return this.size-=t?1:0,t},zn.prototype.get=function(e){return oo(this,e).get(e)},zn.prototype.has=function(e){return oo(this,e).has(e)},zn.prototype.set=function(e,t){var n=oo(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},$n.prototype.add=$n.prototype.push=function(e){return this.__data__.set(e,s),this},$n.prototype.has=function(e){return this.__data__.has(e)},Wn.prototype.clear=function(){this.__data__=new Yn,this.size=0},Wn.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},Wn.prototype.get=function(e){return this.__data__.get(e)},Wn.prototype.has=function(e){return this.__data__.has(e)},Wn.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Yn){var r=n.__data__;if(!Tn||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new zn(r)}return n.set(e,t),this.size=n.size,this};var cr=Li(yr),ur=Li(vr,!0);function hr(e,t){var n=!0;return cr(e,(function(e,r,i){return n=!!t(e,r,i)})),n}function pr(e,t,n){for(var r=-1,i=e.length;++r<i;){var a=e[r],s=t(a);if(null!=s&&(l===o?s==s&&!as(s):n(s,l)))var l=s,c=a}return c}function dr(e,t){var n=[];return cr(e,(function(e,r,i){t(e,r,i)&&n.push(e)})),n}function fr(e,t,n,r,i){var o=-1,a=e.length;for(n||(n=fo),i||(i=[]);++o<a;){var s=e[o];t>0&&n(s)?t>1?fr(s,t-1,n,r,i):kt(i,s):r||(i[i.length]=s)}return i}var mr=Oi(),gr=Oi(!0);function yr(e,t){return e&&mr(e,t,Ls)}function vr(e,t){return e&&gr(e,t,Ls)}function _r(e,t){return Lt(t,(function(t){return qa(e[t])}))}function br(e,t){for(var n=0,r=(t=mi(t,e)).length;null!=e&&n<r;)e=e[Po(t[n++])];return n&&n==r?e:o}function Er(e,t,n){var r=t(e);return Ga(e)?r:kt(r,n(e))}function Tr(e){return null==e?e===o?"[object Undefined]":"[object Null]":Je&&Je in Ce(e)?function(e){var t=De.call(e,Je),n=e[Je];try{e[Je]=o;var r=!0}catch(e){}var i=Fe.call(e);return r&&(t?e[Je]=n:delete e[Je]),i}(e):function(e){return Fe.call(e)}(e)}function xr(e,t){return e>t}function Sr(e,t){return null!=e&&De.call(e,t)}function Cr(e,t){return null!=e&&t in Ce(e)}function Ar(e,t,n){for(var i=n?Nt:Ot,a=e[0].length,s=e.length,l=s,c=r(s),u=1/0,h=[];l--;){var p=e[l];l&&t&&(p=It(p,qt(t))),u=gn(p.length,u),c[l]=!n&&(t||a>=120&&p.length>=120)?new $n(l&&p):o}p=e[0];var d=-1,f=c[0];e:for(;++d<a&&h.length<u;){var m=p[d],g=t?t(m):m;if(m=n||0!==m?m:0,!(f?Zt(f,g):i(h,g,n))){for(l=s;--l;){var y=c[l];if(!(y?Zt(y,g):i(e[l],g,n)))continue e}f&&f.push(g),h.push(m)}}return h}function Rr(e,t,n){var r=null==(e=So(e,t=mi(t,e)))?e:e[Po(Ko(t))];return null==r?o:St(r,e,n)}function wr(e){return Ja(e)&&Tr(e)==g}function Lr(e,t,n,r,i){return e===t||(null==e||null==t||!Ja(e)&&!Ja(t)?e!=e&&t!=t:function(e,t,n,r,i,a){var s=Ga(e),l=Ga(t),c=s?y:uo(e),u=l?y:uo(t),h=(c=c==g?C:c)==C,p=(u=u==g?C:u)==C,d=c==u;if(d&&Wa(e)){if(!Wa(t))return!1;s=!0,h=!1}if(d&&!h)return a||(a=new Wn),s||ss(e)?Zi(e,t,n,r,i,a):function(e,t,n,r,i,o,a){switch(n){case k:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case I:return!(e.byteLength!=t.byteLength||!o(new Ye(e),new Ye(t)));case v:case _:case S:return Ha(+e,+t);case b:return e.name==t.name&&e.message==t.message;case R:case L:return e==t+"";case x:var s=on;case w:var l=1&r;if(s||(s=ln),e.size!=t.size&&!l)return!1;var c=a.get(e);if(c)return c==t;r|=2,a.set(e,t);var u=Zi(s(e),s(t),r,i,o,a);return a.delete(e),u;case O:if(Pn)return Pn.call(e)==Pn.call(t)}return!1}(e,t,c,n,r,i,a);if(!(1&n)){var f=h&&De.call(e,"__wrapped__"),m=p&&De.call(t,"__wrapped__");if(f||m){var E=f?e.value():e,T=m?t.value():t;return a||(a=new Wn),i(E,T,n,r,a)}}return!!d&&(a||(a=new Wn),function(e,t,n,r,i,a){var s=1&n,l=Ji(e),c=l.length;if(c!=Ji(t).length&&!s)return!1;for(var u=c;u--;){var h=l[u];if(!(s?h in t:De.call(t,h)))return!1}var p=a.get(e);if(p&&a.get(t))return p==t;var d=!0;a.set(e,t),a.set(t,e);for(var f=s;++u<c;){var m=e[h=l[u]],g=t[h];if(r)var y=s?r(g,m,h,t,e,a):r(m,g,h,e,t,a);if(!(y===o?m===g||i(m,g,n,r,a):y)){d=!1;break}f||(f="constructor"==h)}if(d&&!f){var v=e.constructor,_=t.constructor;v==_||!("constructor"in e)||!("constructor"in t)||"function"==typeof v&&v instanceof v&&"function"==typeof _&&_ instanceof _||(d=!1)}return a.delete(e),a.delete(t),d}(e,t,n,r,i,a))}(e,t,n,r,Lr,i))}function Or(e,t,n,r){var i=n.length,a=i,s=!r;if(null==e)return!a;for(e=Ce(e);i--;){var l=n[i];if(s&&l[2]?l[1]!==e[l[0]]:!(l[0]in e))return!1}for(;++i<a;){var c=(l=n[i])[0],u=e[c],h=l[1];if(s&&l[2]){if(u===o&&!(c in e))return!1}else{var p=new Wn;if(r)var d=r(u,h,c,e,t,p);if(!(d===o?Lr(h,u,3,r,p):d))return!1}}return!0}function Nr(e){return!(!Qa(e)||(t=e,Me&&Me in t))&&(qa(e)?Ue:ge).test(Mo(e));var t}function Ir(e){return"function"==typeof e?e:null==e?tl:"object"==typeof e?Ga(e)?Fr(e[0],e[1]):Mr(e):ul(e)}function kr(e){if(!bo(e))return fn(e);var t=[];for(var n in Ce(e))De.call(e,n)&&"constructor"!=n&&t.push(n);return t}function Dr(e,t){return e<t}function Pr(e,t){var n=-1,i=za(e)?r(e.length):[];return cr(e,(function(e,r,o){i[++n]=t(e,r,o)})),i}function Mr(e){var t=ao(e);return 1==t.length&&t[0][2]?To(t[0][0],t[0][1]):function(n){return n===e||Or(n,e,t)}}function Fr(e,t){return yo(e)&&Eo(t)?To(Po(e),t):function(n){var r=Ss(n,e);return r===o&&r===t?Cs(n,e):Lr(t,r,3)}}function Hr(e,t,n,r,i){e!==t&&mr(t,(function(a,s){if(i||(i=new Wn),Qa(a))!function(e,t,n,r,i,a,s){var l=Co(e,n),c=Co(t,n),u=s.get(c);if(u)Zn(e,n,u);else{var h=a?a(l,c,n+"",e,t,s):o,p=h===o;if(p){var d=Ga(c),f=!d&&Wa(c),m=!d&&!f&&ss(c);h=c,d||f||m?Ga(l)?h=l:$a(l)?h=Ci(l):f?(p=!1,h=_i(c,!0)):m?(p=!1,h=Ei(c,!0)):h=[]:ns(c)||ja(c)?(h=l,ja(l)?h=ms(l):Qa(l)&&!qa(l)||(h=po(c))):p=!1}p&&(s.set(c,h),i(h,c,r,a,s),s.delete(c)),Zn(e,n,h)}}(e,t,s,n,Hr,r,i);else{var l=r?r(Co(e,s),a,s+"",e,t,i):o;l===o&&(l=a),Zn(e,s,l)}}),Os)}function Br(e,t){var n=e.length;if(n)return mo(t+=t<0?n:0,n)?e[t]:o}function Ur(e,t,n){var r=-1;t=It(t.length?t:[tl],qt(io()));var i=Pr(e,(function(e,n,i){var o=It(t,(function(t){return t(e)}));return{criteria:o,index:++r,value:e}}));return function(e,t){var r=e.length;for(e.sort((function(e,t){return function(e,t,n){for(var r=-1,i=e.criteria,o=t.criteria,a=i.length,s=n.length;++r<a;){var l=Ti(i[r],o[r]);if(l)return r>=s?l:l*("desc"==n[r]?-1:1)}return e.index-t.index}(e,t,n)}));r--;)e[r]=e[r].value;return e}(i)}function jr(e,t,n){for(var r=-1,i=t.length,o={};++r<i;){var a=t[r],s=br(e,a);n(s,a)&&qr(o,mi(a,e),s)}return o}function Gr(e,t,n,r){var i=r?jt:Ut,o=-1,a=t.length,s=e;for(e===t&&(t=Ci(t)),n&&(s=It(e,qt(n)));++o<a;)for(var l=0,c=t[o],u=n?n(c):c;(l=i(s,u,l,r))>-1;)s!==e&&Ke.call(s,l,1),Ke.call(e,l,1);return e}function Yr(e,t){for(var n=e?t.length:0,r=n-1;n--;){var i=t[n];if(n==r||i!==o){var o=i;mo(i)?Ke.call(e,i,1):si(e,i)}}return e}function zr(e,t){return e+ft(_n()*(t-e+1))}function $r(e,t){var n="";if(!e||t<1||t>p)return n;do{t%2&&(n+=e),(t=ft(t/2))&&(e+=e)}while(t);return n}function Wr(e,t){return wo(xo(e,t,tl),e+"")}function Vr(e){return Kn(Hs(e))}function Kr(e,t){var n=Hs(e);return No(n,ir(t,0,n.length))}function qr(e,t,n,r){if(!Qa(e))return e;for(var i=-1,a=(t=mi(t,e)).length,s=a-1,l=e;null!=l&&++i<a;){var c=Po(t[i]),u=n;if(i!=s){var h=l[c];(u=r?r(h,c,l):o)===o&&(u=Qa(h)?h:mo(t[i+1])?[]:{})}Qn(l,c,u),l=l[c]}return e}var Xr=Rn?function(e,t){return Rn.set(e,t),e}:tl,Zr=tt?function(e,t){return tt(e,"toString",{configurable:!0,enumerable:!1,value:Qs(t),writable:!0})}:tl;function Qr(e){return No(Hs(e))}function Jr(e,t,n){var i=-1,o=e.length;t<0&&(t=-t>o?0:o+t),(n=n>o?o:n)<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var a=r(o);++i<o;)a[i]=e[i+t];return a}function ei(e,t){var n;return cr(e,(function(e,r,i){return!(n=t(e,r,i))})),!!n}function ti(e,t,n){var r=0,i=null==e?r:e.length;if("number"==typeof t&&t==t&&i<=2147483647){for(;r<i;){var o=r+i>>>1,a=e[o];null!==a&&!as(a)&&(n?a<=t:a<t)?r=o+1:i=o}return i}return ni(e,t,tl,n)}function ni(e,t,n,r){t=n(t);for(var i=0,a=null==e?0:e.length,s=t!=t,l=null===t,c=as(t),u=t===o;i<a;){var h=ft((i+a)/2),p=n(e[h]),d=p!==o,f=null===p,m=p==p,g=as(p);if(s)var y=r||m;else y=u?m&&(r||d):l?m&&d&&(r||!f):c?m&&d&&!f&&(r||!g):!f&&!g&&(r?p<=t:p<t);y?i=h+1:a=h}return gn(a,4294967294)}function ri(e,t){for(var n=-1,r=e.length,i=0,o=[];++n<r;){var a=e[n],s=t?t(a):a;if(!n||!Ha(s,l)){var l=s;o[i++]=0===a?0:a}}return o}function ii(e){return"number"==typeof e?e:as(e)?d:+e}function oi(e){if("string"==typeof e)return e;if(Ga(e))return It(e,oi)+"";if(as(e))return Mn?Mn.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function ai(e,t,n){var r=-1,i=Ot,o=e.length,a=!0,s=[],l=s;if(n)a=!1,i=Nt;else if(o>=200){var c=t?null:$i(e);if(c)return ln(c);a=!1,i=Zt,l=new $n}else l=t?[]:s;e:for(;++r<o;){var u=e[r],h=t?t(u):u;if(u=n||0!==u?u:0,a&&h==h){for(var p=l.length;p--;)if(l[p]===h)continue e;t&&l.push(h),s.push(u)}else i(l,h,n)||(l!==s&&l.push(h),s.push(u))}return s}function si(e,t){return null==(e=So(e,t=mi(t,e)))||delete e[Po(Ko(t))]}function li(e,t,n,r){return qr(e,t,n(br(e,t)),r)}function ci(e,t,n,r){for(var i=e.length,o=r?i:-1;(r?o--:++o<i)&&t(e[o],o,e););return n?Jr(e,r?0:o,r?o+1:i):Jr(e,r?o+1:0,r?i:o)}function ui(e,t){var n=e;return n instanceof jn&&(n=n.value()),Dt(t,(function(e,t){return t.func.apply(t.thisArg,kt([e],t.args))}),n)}function hi(e,t,n){var i=e.length;if(i<2)return i?ai(e[0]):[];for(var o=-1,a=r(i);++o<i;)for(var s=e[o],l=-1;++l<i;)l!=o&&(a[o]=lr(a[o]||s,e[l],t,n));return ai(fr(a,1),t,n)}function pi(e,t,n){for(var r=-1,i=e.length,a=t.length,s={};++r<i;){var l=r<a?t[r]:o;n(s,e[r],l)}return s}function di(e){return $a(e)?e:[]}function fi(e){return"function"==typeof e?e:tl}function mi(e,t){return Ga(e)?e:yo(e,t)?[e]:Do(gs(e))}var gi=Wr;function yi(e,t,n){var r=e.length;return n=n===o?r:n,!t&&n>=r?e:Jr(e,t,n)}var vi=st||function(e){return pt.clearTimeout(e)};function _i(e,t){if(t)return e.slice();var n=e.length,r=ze?ze(n):new e.constructor(n);return e.copy(r),r}function bi(e){var t=new e.constructor(e.byteLength);return new Ye(t).set(new Ye(e)),t}function Ei(e,t){var n=t?bi(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function Ti(e,t){if(e!==t){var n=e!==o,r=null===e,i=e==e,a=as(e),s=t!==o,l=null===t,c=t==t,u=as(t);if(!l&&!u&&!a&&e>t||a&&s&&c&&!l&&!u||r&&s&&c||!n&&c||!i)return 1;if(!r&&!a&&!u&&e<t||u&&n&&i&&!r&&!a||l&&n&&i||!s&&i||!c)return-1}return 0}function xi(e,t,n,i){for(var o=-1,a=e.length,s=n.length,l=-1,c=t.length,u=mn(a-s,0),h=r(c+u),p=!i;++l<c;)h[l]=t[l];for(;++o<s;)(p||o<a)&&(h[n[o]]=e[o]);for(;u--;)h[l++]=e[o++];return h}function Si(e,t,n,i){for(var o=-1,a=e.length,s=-1,l=n.length,c=-1,u=t.length,h=mn(a-l,0),p=r(h+u),d=!i;++o<h;)p[o]=e[o];for(var f=o;++c<u;)p[f+c]=t[c];for(;++s<l;)(d||o<a)&&(p[f+n[s]]=e[o++]);return p}function Ci(e,t){var n=-1,i=e.length;for(t||(t=r(i));++n<i;)t[n]=e[n];return t}function Ai(e,t,n,r){var i=!n;n||(n={});for(var a=-1,s=t.length;++a<s;){var l=t[a],c=r?r(n[l],e[l],l,n,e):o;c===o&&(c=e[l]),i?nr(n,l,c):Qn(n,l,c)}return n}function Ri(e,t){return function(n,r){var i=Ga(n)?Ct:er,o=t?t():{};return i(n,e,io(r,2),o)}}function wi(e){return Wr((function(t,n){var r=-1,i=n.length,a=i>1?n[i-1]:o,s=i>2?n[2]:o;for(a=e.length>3&&"function"==typeof a?(i--,a):o,s&&go(n[0],n[1],s)&&(a=i<3?o:a,i=1),t=Ce(t);++r<i;){var l=n[r];l&&e(t,l,r,a)}return t}))}function Li(e,t){return function(n,r){if(null==n)return n;if(!za(n))return e(n,r);for(var i=n.length,o=t?i:-1,a=Ce(n);(t?o--:++o<i)&&!1!==r(a[o],o,a););return n}}function Oi(e){return function(t,n,r){for(var i=-1,o=Ce(t),a=r(t),s=a.length;s--;){var l=a[e?s:++i];if(!1===n(o[l],l,o))break}return t}}function Ni(e){return function(t){var n=rn(t=gs(t))?hn(t):o,r=n?n[0]:t.charAt(0),i=n?yi(n,1).join(""):t.slice(1);return r[e]()+i}}function Ii(e){return function(t){return Dt(qs(js(t).replace(Ze,"")),e,"")}}function ki(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=Hn(e.prototype),r=e.apply(n,t);return Qa(r)?r:n}}function Di(e){return function(t,n,r){var i=Ce(t);if(!za(t)){var a=io(n,3);t=Ls(t),n=function(e){return a(i[e],e,i)}}var s=e(t,n,r);return s>-1?i[a?t[s]:s]:o}}function Pi(e){return Qi((function(t){var n=t.length,r=n,i=Un.prototype.thru;for(e&&t.reverse();r--;){var s=t[r];if("function"!=typeof s)throw new we(a);if(i&&!l&&"wrapper"==no(s))var l=new Un([],!0)}for(r=l?r:n;++r<n;){var c=no(s=t[r]),u="wrapper"==c?to(s):o;l=u&&vo(u[0])&&424==u[1]&&!u[4].length&&1==u[9]?l[no(u[0])].apply(l,u[3]):1==s.length&&vo(s)?l[c]():l.thru(s)}return function(){var e=arguments,r=e[0];if(l&&1==e.length&&Ga(r))return l.plant(r).value();for(var i=0,o=n?t[i].apply(this,e):r;++i<n;)o=t[i].call(this,o);return o}}))}function Mi(e,t,n,i,a,s,l,c,h,p){var d=t&u,f=1&t,m=2&t,g=24&t,y=512&t,v=m?o:ki(e);return function u(){for(var _=arguments.length,b=r(_),E=_;E--;)b[E]=arguments[E];if(g)var T=ro(u),x=function(e,t){for(var n=e.length,r=0;n--;)e[n]===t&&++r;return r}(b,T);if(i&&(b=xi(b,i,a,g)),s&&(b=Si(b,s,l,g)),_-=x,g&&_<p){var S=sn(b,T);return Yi(e,t,Mi,u.placeholder,n,b,S,c,h,p-_)}var C=f?n:this,A=m?C[e]:e;return _=b.length,c?b=function(e,t){for(var n=e.length,r=gn(t.length,n),i=Ci(e);r--;){var a=t[r];e[r]=mo(a,n)?i[a]:o}return e}(b,c):y&&_>1&&b.reverse(),d&&h<_&&(b.length=h),this&&this!==pt&&this instanceof u&&(A=v||ki(A)),A.apply(C,b)}}function Fi(e,t){return function(n,r){return function(e,t,n,r){return yr(e,(function(e,i,o){t(r,n(e),i,o)})),r}(n,e,t(r),{})}}function Hi(e,t){return function(n,r){var i;if(n===o&&r===o)return t;if(n!==o&&(i=n),r!==o){if(i===o)return r;"string"==typeof n||"string"==typeof r?(n=oi(n),r=oi(r)):(n=ii(n),r=ii(r)),i=e(n,r)}return i}}function Bi(e){return Qi((function(t){return t=It(t,qt(io())),Wr((function(n){var r=this;return e(t,(function(e){return St(e,r,n)}))}))}))}function Ui(e,t){var n=(t=t===o?" ":oi(t)).length;if(n<2)return n?$r(t,e):t;var r=$r(t,dt(e/un(t)));return rn(t)?yi(hn(r),0,e).join(""):r.slice(0,e)}function ji(e){return function(t,n,i){return i&&"number"!=typeof i&&go(t,n,i)&&(n=i=o),t=hs(t),n===o?(n=t,t=0):n=hs(n),function(e,t,n,i){for(var o=-1,a=mn(dt((t-e)/(n||1)),0),s=r(a);a--;)s[i?a:++o]=e,e+=n;return s}(t,n,i=i===o?t<n?1:-1:hs(i),e)}}function Gi(e){return function(t,n){return"string"==typeof t&&"string"==typeof n||(t=fs(t),n=fs(n)),e(t,n)}}function Yi(e,t,n,r,i,a,s,l,u,h){var p=8&t;t|=p?c:64,4&(t&=~(p?64:c))||(t&=-4);var d=[e,t,i,p?a:o,p?s:o,p?o:a,p?o:s,l,u,h],f=n.apply(o,d);return vo(e)&&Ao(f,d),f.placeholder=r,Lo(f,e,t)}function zi(e){var t=Se[e];return function(e,n){if(e=fs(e),(n=null==n?0:gn(ps(n),292))&&Ft(e)){var r=(gs(e)+"e").split("e");return+((r=(gs(t(r[0]+"e"+(+r[1]+n)))+"e").split("e"))[0]+"e"+(+r[1]-n))}return t(e)}}var $i=Sn&&1/ln(new Sn([,-0]))[1]==h?function(e){return new Sn(e)}:al;function Wi(e){return function(t){var n=uo(t);return n==x?on(t):n==w?cn(t):function(e,t){return It(t,(function(t){return[t,e[t]]}))}(t,e(t))}}function Vi(e,t,n,i,s,h,p,d){var f=2&t;if(!f&&"function"!=typeof e)throw new we(a);var m=i?i.length:0;if(m||(t&=-97,i=s=o),p=p===o?p:mn(ps(p),0),d=d===o?d:ps(d),m-=s?s.length:0,64&t){var g=i,y=s;i=s=o}var v=f?o:to(e),_=[e,t,n,i,s,g,y,h,p,d];if(v&&function(e,t){var n=e[1],r=t[1],i=n|r,o=i<131,a=r==u&&8==n||r==u&&256==n&&e[7].length<=t[8]||384==r&&t[7].length<=t[8]&&8==n;if(!o&&!a)return e;1&r&&(e[2]=t[2],i|=1&n?0:4);var s=t[3];if(s){var c=e[3];e[3]=c?xi(c,s,t[4]):s,e[4]=c?sn(e[3],l):t[4]}(s=t[5])&&(c=e[5],e[5]=c?Si(c,s,t[6]):s,e[6]=c?sn(e[5],l):t[6]),(s=t[7])&&(e[7]=s),r&u&&(e[8]=null==e[8]?t[8]:gn(e[8],t[8])),null==e[9]&&(e[9]=t[9]),e[0]=t[0],e[1]=i}(_,v),e=_[0],t=_[1],n=_[2],i=_[3],s=_[4],!(d=_[9]=_[9]===o?f?0:e.length:mn(_[9]-m,0))&&24&t&&(t&=-25),t&&1!=t)b=8==t||16==t?function(e,t,n){var i=ki(e);return function a(){for(var s=arguments.length,l=r(s),c=s,u=ro(a);c--;)l[c]=arguments[c];var h=s<3&&l[0]!==u&&l[s-1]!==u?[]:sn(l,u);return(s-=h.length)<n?Yi(e,t,Mi,a.placeholder,o,l,h,o,o,n-s):St(this&&this!==pt&&this instanceof a?i:e,this,l)}}(e,t,d):t!=c&&33!=t||s.length?Mi.apply(o,_):function(e,t,n,i){var o=1&t,a=ki(e);return function t(){for(var s=-1,l=arguments.length,c=-1,u=i.length,h=r(u+l),p=this&&this!==pt&&this instanceof t?a:e;++c<u;)h[c]=i[c];for(;l--;)h[c++]=arguments[++s];return St(p,o?n:this,h)}}(e,t,n,i);else var b=function(e,t,n){var r=1&t,i=ki(e);return function t(){return(this&&this!==pt&&this instanceof t?i:e).apply(r?n:this,arguments)}}(e,t,n);return Lo((v?Xr:Ao)(b,_),e,t)}function Ki(e,t,n,r){return e===o||Ha(e,Ne[n])&&!De.call(r,n)?t:e}function qi(e,t,n,r,i,a){return Qa(e)&&Qa(t)&&(a.set(t,e),Hr(e,t,o,qi,a),a.delete(t)),e}function Xi(e){return ns(e)?o:e}function Zi(e,t,n,r,i,a){var s=1&n,l=e.length,c=t.length;if(l!=c&&!(s&&c>l))return!1;var u=a.get(e);if(u&&a.get(t))return u==t;var h=-1,p=!0,d=2&n?new $n:o;for(a.set(e,t),a.set(t,e);++h<l;){var f=e[h],m=t[h];if(r)var g=s?r(m,f,h,t,e,a):r(f,m,h,e,t,a);if(g!==o){if(g)continue;p=!1;break}if(d){if(!Mt(t,(function(e,t){if(!Zt(d,t)&&(f===e||i(f,e,n,r,a)))return d.push(t)}))){p=!1;break}}else if(f!==m&&!i(f,m,n,r,a)){p=!1;break}}return a.delete(e),a.delete(t),p}function Qi(e){return wo(xo(e,o,Yo),e+"")}function Ji(e){return Er(e,Ls,lo)}function eo(e){return Er(e,Os,co)}var to=Rn?function(e){return Rn.get(e)}:al;function no(e){for(var t=e.name+"",n=wn[t],r=De.call(wn,t)?n.length:0;r--;){var i=n[r],o=i.func;if(null==o||o==e)return i.name}return t}function ro(e){return(De.call(Fn,"placeholder")?Fn:e).placeholder}function io(){var e=Fn.iteratee||nl;return e=e===nl?Ir:e,arguments.length?e(arguments[0],arguments[1]):e}function oo(e,t){var n=e.__data__;return function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}(t)?n["string"==typeof t?"string":"hash"]:n.map}function ao(e){for(var t=Ls(e),n=t.length;n--;){var r=t[n],i=e[r];t[n]=[r,i,Eo(i)]}return t}function so(e,t){var n=function(e,t){return null==e?o:e[t]}(e,t);return Nr(n)?n:o}var lo=gt?function(e){return null==e?[]:(e=Ce(e),Lt(gt(e),(function(t){return Ve.call(e,t)})))}:dl,co=gt?function(e){for(var t=[];e;)kt(t,lo(e)),e=$e(e);return t}:dl,uo=Tr;function ho(e,t,n){for(var r=-1,i=(t=mi(t,e)).length,o=!1;++r<i;){var a=Po(t[r]);if(!(o=null!=e&&n(e,a)))break;e=e[a]}return o||++r!=i?o:!!(i=null==e?0:e.length)&&Za(i)&&mo(a,i)&&(Ga(e)||ja(e))}function po(e){return"function"!=typeof e.constructor||bo(e)?{}:Hn($e(e))}function fo(e){return Ga(e)||ja(e)||!!(qe&&e&&e[qe])}function mo(e,t){var n=typeof e;return!!(t=null==t?p:t)&&("number"==n||"symbol"!=n&&ve.test(e))&&e>-1&&e%1==0&&e<t}function go(e,t,n){if(!Qa(n))return!1;var r=typeof t;return!!("number"==r?za(n)&&mo(t,n.length):"string"==r&&t in n)&&Ha(n[t],e)}function yo(e,t){if(Ga(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!as(e))||ee.test(e)||!J.test(e)||null!=t&&e in Ce(t)}function vo(e){var t=no(e),n=Fn[t];if("function"!=typeof n||!(t in jn.prototype))return!1;if(e===n)return!0;var r=to(n);return!!r&&e===r[0]}(En&&uo(new En(new ArrayBuffer(1)))!=k||Tn&&uo(new Tn)!=x||xn&&uo(xn.resolve())!=A||Sn&&uo(new Sn)!=w||Cn&&uo(new Cn)!=N)&&(uo=function(e){var t=Tr(e),n=t==C?e.constructor:o,r=n?Mo(n):"";if(r)switch(r){case Ln:return k;case On:return x;case Nn:return A;case In:return w;case kn:return N}return t});var _o=Ie?qa:fl;function bo(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||Ne)}function Eo(e){return e==e&&!Qa(e)}function To(e,t){return function(n){return null!=n&&n[e]===t&&(t!==o||e in Ce(n))}}function xo(e,t,n){return t=mn(t===o?e.length-1:t,0),function(){for(var i=arguments,o=-1,a=mn(i.length-t,0),s=r(a);++o<a;)s[o]=i[t+o];o=-1;for(var l=r(t+1);++o<t;)l[o]=i[o];return l[t]=n(s),St(e,this,l)}}function So(e,t){return t.length<2?e:br(e,Jr(t,0,-1))}function Co(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}var Ao=Oo(Xr),Ro=ht||function(e,t){return pt.setTimeout(e,t)},wo=Oo(Zr);function Lo(e,t,n){var r=t+"";return wo(e,function(e,t){var n=t.length;if(!n)return e;var r=n-1;return t[r]=(n>1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace(se,"{\n/* [wrapped with "+t+"] */\n")}(r,function(e,t){return At(m,(function(n){var r="_."+n[0];t&n[1]&&!Ot(e,r)&&e.push(r)})),e.sort()}(function(e){var t=e.match(le);return t?t[1].split(ce):[]}(r),n)))}function Oo(e){var t=0,n=0;return function(){var r=yn(),i=16-(r-n);if(n=r,i>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(o,arguments)}}function No(e,t){var n=-1,r=e.length,i=r-1;for(t=t===o?r:t;++n<t;){var a=zr(n,i),s=e[a];e[a]=e[n],e[n]=s}return e.length=t,e}var Io,ko,Do=(Io=Ia((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(te,(function(e,n,r,i){t.push(r?i.replace(he,"$1"):n||e)})),t}),(function(e){return 500===ko.size&&ko.clear(),e})),ko=Io.cache,Io);function Po(e){if("string"==typeof e||as(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function Mo(e){if(null!=e){try{return ke.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function Fo(e){if(e instanceof jn)return e.clone();var t=new Un(e.__wrapped__,e.__chain__);return t.__actions__=Ci(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}var Ho=Wr((function(e,t){return $a(e)?lr(e,fr(t,1,$a,!0)):[]})),Bo=Wr((function(e,t){var n=Ko(t);return $a(n)&&(n=o),$a(e)?lr(e,fr(t,1,$a,!0),io(n,2)):[]})),Uo=Wr((function(e,t){var n=Ko(t);return $a(n)&&(n=o),$a(e)?lr(e,fr(t,1,$a,!0),o,n):[]}));function jo(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=null==n?0:ps(n);return i<0&&(i=mn(r+i,0)),Bt(e,io(t,3),i)}function Go(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=r-1;return n!==o&&(i=ps(n),i=n<0?mn(r+i,0):gn(i,r-1)),Bt(e,io(t,3),i,!0)}function Yo(e){return null!=e&&e.length?fr(e,1):[]}function zo(e){return e&&e.length?e[0]:o}var $o=Wr((function(e){var t=It(e,di);return t.length&&t[0]===e[0]?Ar(t):[]})),Wo=Wr((function(e){var t=Ko(e),n=It(e,di);return t===Ko(n)?t=o:n.pop(),n.length&&n[0]===e[0]?Ar(n,io(t,2)):[]})),Vo=Wr((function(e){var t=Ko(e),n=It(e,di);return(t="function"==typeof t?t:o)&&n.pop(),n.length&&n[0]===e[0]?Ar(n,o,t):[]}));function Ko(e){var t=null==e?0:e.length;return t?e[t-1]:o}var qo=Wr(Xo);function Xo(e,t){return e&&e.length&&t&&t.length?Gr(e,t):e}var Zo=Qi((function(e,t){var n=null==e?0:e.length,r=rr(e,t);return Yr(e,It(t,(function(e){return mo(e,n)?+e:e})).sort(Ti)),r}));function Qo(e){return null==e?e:bn.call(e)}var Jo=Wr((function(e){return ai(fr(e,1,$a,!0))})),ea=Wr((function(e){var t=Ko(e);return $a(t)&&(t=o),ai(fr(e,1,$a,!0),io(t,2))})),ta=Wr((function(e){var t=Ko(e);return t="function"==typeof t?t:o,ai(fr(e,1,$a,!0),o,t)}));function na(e){if(!e||!e.length)return[];var t=0;return e=Lt(e,(function(e){if($a(e))return t=mn(e.length,t),!0})),Kt(t,(function(t){return It(e,zt(t))}))}function ra(e,t){if(!e||!e.length)return[];var n=na(e);return null==t?n:It(n,(function(e){return St(t,o,e)}))}var ia=Wr((function(e,t){return $a(e)?lr(e,t):[]})),oa=Wr((function(e){return hi(Lt(e,$a))})),aa=Wr((function(e){var t=Ko(e);return $a(t)&&(t=o),hi(Lt(e,$a),io(t,2))})),sa=Wr((function(e){var t=Ko(e);return t="function"==typeof t?t:o,hi(Lt(e,$a),o,t)})),la=Wr(na),ca=Wr((function(e){var t=e.length,n=t>1?e[t-1]:o;return n="function"==typeof n?(e.pop(),n):o,ra(e,n)}));function ua(e){var t=Fn(e);return t.__chain__=!0,t}function ha(e,t){return t(e)}var pa=Qi((function(e){var t=e.length,n=t?e[0]:0,r=this.__wrapped__,i=function(t){return rr(t,e)};return!(t>1||this.__actions__.length)&&r instanceof jn&&mo(n)?((r=r.slice(n,+n+(t?1:0))).__actions__.push({func:ha,args:[i],thisArg:o}),new Un(r,this.__chain__).thru((function(e){return t&&!e.length&&e.push(o),e}))):this.thru(i)})),da=Ri((function(e,t,n){De.call(e,n)?++e[n]:nr(e,n,1)})),fa=Di(jo),ma=Di(Go);function ga(e,t){return(Ga(e)?At:cr)(e,io(t,3))}function ya(e,t){return(Ga(e)?Rt:ur)(e,io(t,3))}var va=Ri((function(e,t,n){De.call(e,n)?e[n].push(t):nr(e,n,[t])})),_a=Wr((function(e,t,n){var i=-1,o="function"==typeof t,a=za(e)?r(e.length):[];return cr(e,(function(e){a[++i]=o?St(t,e,n):Rr(e,t,n)})),a})),ba=Ri((function(e,t,n){nr(e,n,t)}));function Ea(e,t){return(Ga(e)?It:Pr)(e,io(t,3))}var Ta=Ri((function(e,t,n){e[n?0:1].push(t)}),(function(){return[[],[]]})),xa=Wr((function(e,t){if(null==e)return[];var n=t.length;return n>1&&go(e,t[0],t[1])?t=[]:n>2&&go(t[0],t[1],t[2])&&(t=[t[0]]),Ur(e,fr(t,1),[])})),Sa=ut||function(){return pt.Date.now()};function Ca(e,t,n){return t=n?o:t,t=e&&null==t?e.length:t,Vi(e,u,o,o,o,o,t)}function Aa(e,t){var n;if("function"!=typeof t)throw new we(a);return e=ps(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=o),n}}var Ra=Wr((function(e,t,n){var r=1;if(n.length){var i=sn(n,ro(Ra));r|=c}return Vi(e,r,t,n,i)})),wa=Wr((function(e,t,n){var r=3;if(n.length){var i=sn(n,ro(wa));r|=c}return Vi(t,r,e,n,i)}));function La(e,t,n){var r,i,s,l,c,u,h=0,p=!1,d=!1,f=!0;if("function"!=typeof e)throw new we(a);function m(t){var n=r,a=i;return r=i=o,h=t,l=e.apply(a,n)}function g(e){var n=e-u;return u===o||n>=t||n<0||d&&e-h>=s}function y(){var e=Sa();if(g(e))return v(e);c=Ro(y,function(e){var n=t-(e-u);return d?gn(n,s-(e-h)):n}(e))}function v(e){return c=o,f&&r?m(e):(r=i=o,l)}function _(){var e=Sa(),n=g(e);if(r=arguments,i=this,u=e,n){if(c===o)return function(e){return h=e,c=Ro(y,t),p?m(e):l}(u);if(d)return vi(c),c=Ro(y,t),m(u)}return c===o&&(c=Ro(y,t)),l}return t=fs(t)||0,Qa(n)&&(p=!!n.leading,s=(d="maxWait"in n)?mn(fs(n.maxWait)||0,t):s,f="trailing"in n?!!n.trailing:f),_.cancel=function(){c!==o&&vi(c),h=0,r=u=i=c=o},_.flush=function(){return c===o?l:v(Sa())},_}var Oa=Wr((function(e,t){return sr(e,1,t)})),Na=Wr((function(e,t,n){return sr(e,fs(t)||0,n)}));function Ia(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new we(a);var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=e.apply(this,r);return n.cache=o.set(i,a)||o,a};return n.cache=new(Ia.Cache||zn),n}function ka(e){if("function"!=typeof e)throw new we(a);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}Ia.Cache=zn;var Da=gi((function(e,t){var n=(t=1==t.length&&Ga(t[0])?It(t[0],qt(io())):It(fr(t,1),qt(io()))).length;return Wr((function(r){for(var i=-1,o=gn(r.length,n);++i<o;)r[i]=t[i].call(this,r[i]);return St(e,this,r)}))})),Pa=Wr((function(e,t){var n=sn(t,ro(Pa));return Vi(e,c,o,t,n)})),Ma=Wr((function(e,t){var n=sn(t,ro(Ma));return Vi(e,64,o,t,n)})),Fa=Qi((function(e,t){return Vi(e,256,o,o,o,t)}));function Ha(e,t){return e===t||e!=e&&t!=t}var Ba=Gi(xr),Ua=Gi((function(e,t){return e>=t})),ja=wr(function(){return arguments}())?wr:function(e){return Ja(e)&&De.call(e,"callee")&&!Ve.call(e,"callee")},Ga=r.isArray,Ya=vt?qt(vt):function(e){return Ja(e)&&Tr(e)==I};function za(e){return null!=e&&Za(e.length)&&!qa(e)}function $a(e){return Ja(e)&&za(e)}var Wa=yt||fl,Va=_t?qt(_t):function(e){return Ja(e)&&Tr(e)==_};function Ka(e){if(!Ja(e))return!1;var t=Tr(e);return t==b||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!ns(e)}function qa(e){if(!Qa(e))return!1;var t=Tr(e);return t==E||t==T||"[object AsyncFunction]"==t||"[object Proxy]"==t}function Xa(e){return"number"==typeof e&&e==ps(e)}function Za(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=p}function Qa(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function Ja(e){return null!=e&&"object"==typeof e}var es=bt?qt(bt):function(e){return Ja(e)&&uo(e)==x};function ts(e){return"number"==typeof e||Ja(e)&&Tr(e)==S}function ns(e){if(!Ja(e)||Tr(e)!=C)return!1;var t=$e(e);if(null===t)return!0;var n=De.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&ke.call(n)==He}var rs=Et?qt(Et):function(e){return Ja(e)&&Tr(e)==R},is=Tt?qt(Tt):function(e){return Ja(e)&&uo(e)==w};function os(e){return"string"==typeof e||!Ga(e)&&Ja(e)&&Tr(e)==L}function as(e){return"symbol"==typeof e||Ja(e)&&Tr(e)==O}var ss=xt?qt(xt):function(e){return Ja(e)&&Za(e.length)&&!!ot[Tr(e)]},ls=Gi(Dr),cs=Gi((function(e,t){return e<=t}));function us(e){if(!e)return[];if(za(e))return os(e)?hn(e):Ci(e);if(Xe&&e[Xe])return function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}(e[Xe]());var t=uo(e);return(t==x?on:t==w?ln:Hs)(e)}function hs(e){return e?(e=fs(e))===h||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}function ps(e){var t=hs(e),n=t%1;return t==t?n?t-n:t:0}function ds(e){return e?ir(ps(e),0,f):0}function fs(e){if("number"==typeof e)return e;if(as(e))return d;if(Qa(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=Qa(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(ie,"");var n=me.test(e);return n||ye.test(e)?ct(e.slice(2),n?2:8):fe.test(e)?d:+e}function ms(e){return Ai(e,Os(e))}function gs(e){return null==e?"":oi(e)}var ys=wi((function(e,t){if(bo(t)||za(t))Ai(t,Ls(t),e);else for(var n in t)De.call(t,n)&&Qn(e,n,t[n])})),vs=wi((function(e,t){Ai(t,Os(t),e)})),_s=wi((function(e,t,n,r){Ai(t,Os(t),e,r)})),bs=wi((function(e,t,n,r){Ai(t,Ls(t),e,r)})),Es=Qi(rr),Ts=Wr((function(e,t){e=Ce(e);var n=-1,r=t.length,i=r>2?t[2]:o;for(i&&go(t[0],t[1],i)&&(r=1);++n<r;)for(var a=t[n],s=Os(a),l=-1,c=s.length;++l<c;){var u=s[l],h=e[u];(h===o||Ha(h,Ne[u])&&!De.call(e,u))&&(e[u]=a[u])}return e})),xs=Wr((function(e){return e.push(o,qi),St(Is,o,e)}));function Ss(e,t,n){var r=null==e?o:br(e,t);return r===o?n:r}function Cs(e,t){return null!=e&&ho(e,t,Cr)}var As=Fi((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=Fe.call(t)),e[t]=n}),Qs(tl)),Rs=Fi((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=Fe.call(t)),De.call(e,t)?e[t].push(n):e[t]=[n]}),io),ws=Wr(Rr);function Ls(e){return za(e)?Vn(e):kr(e)}function Os(e){return za(e)?Vn(e,!0):function(e){if(!Qa(e))return function(e){var t=[];if(null!=e)for(var n in Ce(e))t.push(n);return t}(e);var t=bo(e),n=[];for(var r in e)("constructor"!=r||!t&&De.call(e,r))&&n.push(r);return n}(e)}var Ns=wi((function(e,t,n){Hr(e,t,n)})),Is=wi((function(e,t,n,r){Hr(e,t,n,r)})),ks=Qi((function(e,t){var n={};if(null==e)return n;var r=!1;t=It(t,(function(t){return t=mi(t,e),r||(r=t.length>1),t})),Ai(e,eo(e),n),r&&(n=or(n,7,Xi));for(var i=t.length;i--;)si(n,t[i]);return n})),Ds=Qi((function(e,t){return null==e?{}:function(e,t){return jr(e,t,(function(t,n){return Cs(e,n)}))}(e,t)}));function Ps(e,t){if(null==e)return{};var n=It(eo(e),(function(e){return[e]}));return t=io(t),jr(e,n,(function(e,n){return t(e,n[0])}))}var Ms=Wi(Ls),Fs=Wi(Os);function Hs(e){return null==e?[]:Xt(e,Ls(e))}var Bs=Ii((function(e,t,n){return t=t.toLowerCase(),e+(n?Us(t):t)}));function Us(e){return Ks(gs(e).toLowerCase())}function js(e){return(e=gs(e))&&e.replace(_e,en).replace(Qe,"")}var Gs=Ii((function(e,t,n){return e+(n?"-":"")+t.toLowerCase()})),Ys=Ii((function(e,t,n){return e+(n?" ":"")+t.toLowerCase()})),zs=Ni("toLowerCase"),$s=Ii((function(e,t,n){return e+(n?"_":"")+t.toLowerCase()})),Ws=Ii((function(e,t,n){return e+(n?" ":"")+Ks(t)})),Vs=Ii((function(e,t,n){return e+(n?" ":"")+t.toUpperCase()})),Ks=Ni("toUpperCase");function qs(e,t,n){return e=gs(e),(t=n?o:t)===o?function(e){return nt.test(e)}(e)?function(e){return e.match(et)||[]}(e):function(e){return e.match(ue)||[]}(e):e.match(t)||[]}var Xs=Wr((function(e,t){try{return St(e,o,t)}catch(e){return Ka(e)?e:new Te(e)}})),Zs=Qi((function(e,t){return At(t,(function(t){t=Po(t),nr(e,t,Ra(e[t],e))})),e}));function Qs(e){return function(){return e}}var Js=Pi(),el=Pi(!0);function tl(e){return e}function nl(e){return Ir("function"==typeof e?e:or(e,1))}var rl=Wr((function(e,t){return function(n){return Rr(n,e,t)}})),il=Wr((function(e,t){return function(n){return Rr(e,n,t)}}));function ol(e,t,n){var r=Ls(t),i=_r(t,r);null!=n||Qa(t)&&(i.length||!r.length)||(n=t,t=e,e=this,i=_r(t,Ls(t)));var o=!(Qa(n)&&"chain"in n&&!n.chain),a=qa(e);return At(i,(function(n){var r=t[n];e[n]=r,a&&(e.prototype[n]=function(){var t=this.__chain__;if(o||t){var n=e(this.__wrapped__);return(n.__actions__=Ci(this.__actions__)).push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,kt([this.value()],arguments))})})),e}function al(){}var sl=Bi(It),ll=Bi(wt),cl=Bi(Mt);function ul(e){return yo(e)?zt(Po(e)):function(e){return function(t){return br(t,e)}}(e)}var hl=ji(),pl=ji(!0);function dl(){return[]}function fl(){return!1}var ml,gl=Hi((function(e,t){return e+t}),0),yl=zi("ceil"),vl=Hi((function(e,t){return e/t}),1),_l=zi("floor"),bl=Hi((function(e,t){return e*t}),1),El=zi("round"),Tl=Hi((function(e,t){return e-t}),0);return Fn.after=function(e,t){if("function"!=typeof t)throw new we(a);return e=ps(e),function(){if(--e<1)return t.apply(this,arguments)}},Fn.ary=Ca,Fn.assign=ys,Fn.assignIn=vs,Fn.assignInWith=_s,Fn.assignWith=bs,Fn.at=Es,Fn.before=Aa,Fn.bind=Ra,Fn.bindAll=Zs,Fn.bindKey=wa,Fn.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return Ga(e)?e:[e]},Fn.chain=ua,Fn.chunk=function(e,t,n){t=(n?go(e,t,n):t===o)?1:mn(ps(t),0);var i=null==e?0:e.length;if(!i||t<1)return[];for(var a=0,s=0,l=r(dt(i/t));a<i;)l[s++]=Jr(e,a,a+=t);return l},Fn.compact=function(e){for(var t=-1,n=null==e?0:e.length,r=0,i=[];++t<n;){var o=e[t];o&&(i[r++]=o)}return i},Fn.concat=function(){var e=arguments.length;if(!e)return[];for(var t=r(e-1),n=arguments[0],i=e;i--;)t[i-1]=arguments[i];return kt(Ga(n)?Ci(n):[n],fr(t,1))},Fn.cond=function(e){var t=null==e?0:e.length,n=io();return e=t?It(e,(function(e){if("function"!=typeof e[1])throw new we(a);return[n(e[0]),e[1]]})):[],Wr((function(n){for(var r=-1;++r<t;){var i=e[r];if(St(i[0],this,n))return St(i[1],this,n)}}))},Fn.conforms=function(e){return function(e){var t=Ls(e);return function(n){return ar(n,e,t)}}(or(e,1))},Fn.constant=Qs,Fn.countBy=da,Fn.create=function(e,t){var n=Hn(e);return null==t?n:tr(n,t)},Fn.curry=function e(t,n,r){var i=Vi(t,8,o,o,o,o,o,n=r?o:n);return i.placeholder=e.placeholder,i},Fn.curryRight=function e(t,n,r){var i=Vi(t,16,o,o,o,o,o,n=r?o:n);return i.placeholder=e.placeholder,i},Fn.debounce=La,Fn.defaults=Ts,Fn.defaultsDeep=xs,Fn.defer=Oa,Fn.delay=Na,Fn.difference=Ho,Fn.differenceBy=Bo,Fn.differenceWith=Uo,Fn.drop=function(e,t,n){var r=null==e?0:e.length;return r?Jr(e,(t=n||t===o?1:ps(t))<0?0:t,r):[]},Fn.dropRight=function(e,t,n){var r=null==e?0:e.length;return r?Jr(e,0,(t=r-(t=n||t===o?1:ps(t)))<0?0:t):[]},Fn.dropRightWhile=function(e,t){return e&&e.length?ci(e,io(t,3),!0,!0):[]},Fn.dropWhile=function(e,t){return e&&e.length?ci(e,io(t,3),!0):[]},Fn.fill=function(e,t,n,r){var i=null==e?0:e.length;return i?(n&&"number"!=typeof n&&go(e,t,n)&&(n=0,r=i),function(e,t,n,r){var i=e.length;for((n=ps(n))<0&&(n=-n>i?0:i+n),(r=r===o||r>i?i:ps(r))<0&&(r+=i),r=n>r?0:ds(r);n<r;)e[n++]=t;return e}(e,t,n,r)):[]},Fn.filter=function(e,t){return(Ga(e)?Lt:dr)(e,io(t,3))},Fn.flatMap=function(e,t){return fr(Ea(e,t),1)},Fn.flatMapDeep=function(e,t){return fr(Ea(e,t),h)},Fn.flatMapDepth=function(e,t,n){return n=n===o?1:ps(n),fr(Ea(e,t),n)},Fn.flatten=Yo,Fn.flattenDeep=function(e){return null!=e&&e.length?fr(e,h):[]},Fn.flattenDepth=function(e,t){return null!=e&&e.length?fr(e,t=t===o?1:ps(t)):[]},Fn.flip=function(e){return Vi(e,512)},Fn.flow=Js,Fn.flowRight=el,Fn.fromPairs=function(e){for(var t=-1,n=null==e?0:e.length,r={};++t<n;){var i=e[t];r[i[0]]=i[1]}return r},Fn.functions=function(e){return null==e?[]:_r(e,Ls(e))},Fn.functionsIn=function(e){return null==e?[]:_r(e,Os(e))},Fn.groupBy=va,Fn.initial=function(e){return null!=e&&e.length?Jr(e,0,-1):[]},Fn.intersection=$o,Fn.intersectionBy=Wo,Fn.intersectionWith=Vo,Fn.invert=As,Fn.invertBy=Rs,Fn.invokeMap=_a,Fn.iteratee=nl,Fn.keyBy=ba,Fn.keys=Ls,Fn.keysIn=Os,Fn.map=Ea,Fn.mapKeys=function(e,t){var n={};return t=io(t,3),yr(e,(function(e,r,i){nr(n,t(e,r,i),e)})),n},Fn.mapValues=function(e,t){var n={};return t=io(t,3),yr(e,(function(e,r,i){nr(n,r,t(e,r,i))})),n},Fn.matches=function(e){return Mr(or(e,1))},Fn.matchesProperty=function(e,t){return Fr(e,or(t,1))},Fn.memoize=Ia,Fn.merge=Ns,Fn.mergeWith=Is,Fn.method=rl,Fn.methodOf=il,Fn.mixin=ol,Fn.negate=ka,Fn.nthArg=function(e){return e=ps(e),Wr((function(t){return Br(t,e)}))},Fn.omit=ks,Fn.omitBy=function(e,t){return Ps(e,ka(io(t)))},Fn.once=function(e){return Aa(2,e)},Fn.orderBy=function(e,t,n,r){return null==e?[]:(Ga(t)||(t=null==t?[]:[t]),Ga(n=r?o:n)||(n=null==n?[]:[n]),Ur(e,t,n))},Fn.over=sl,Fn.overArgs=Da,Fn.overEvery=ll,Fn.overSome=cl,Fn.partial=Pa,Fn.partialRight=Ma,Fn.partition=Ta,Fn.pick=Ds,Fn.pickBy=Ps,Fn.property=ul,Fn.propertyOf=function(e){return function(t){return null==e?o:br(e,t)}},Fn.pull=qo,Fn.pullAll=Xo,Fn.pullAllBy=function(e,t,n){return e&&e.length&&t&&t.length?Gr(e,t,io(n,2)):e},Fn.pullAllWith=function(e,t,n){return e&&e.length&&t&&t.length?Gr(e,t,o,n):e},Fn.pullAt=Zo,Fn.range=hl,Fn.rangeRight=pl,Fn.rearg=Fa,Fn.reject=function(e,t){return(Ga(e)?Lt:dr)(e,ka(io(t,3)))},Fn.remove=function(e,t){var n=[];if(!e||!e.length)return n;var r=-1,i=[],o=e.length;for(t=io(t,3);++r<o;){var a=e[r];t(a,r,e)&&(n.push(a),i.push(r))}return Yr(e,i),n},Fn.rest=function(e,t){if("function"!=typeof e)throw new we(a);return Wr(e,t=t===o?t:ps(t))},Fn.reverse=Qo,Fn.sampleSize=function(e,t,n){return t=(n?go(e,t,n):t===o)?1:ps(t),(Ga(e)?qn:Kr)(e,t)},Fn.set=function(e,t,n){return null==e?e:qr(e,t,n)},Fn.setWith=function(e,t,n,r){return r="function"==typeof r?r:o,null==e?e:qr(e,t,n,r)},Fn.shuffle=function(e){return(Ga(e)?Xn:Qr)(e)},Fn.slice=function(e,t,n){var r=null==e?0:e.length;return r?(n&&"number"!=typeof n&&go(e,t,n)?(t=0,n=r):(t=null==t?0:ps(t),n=n===o?r:ps(n)),Jr(e,t,n)):[]},Fn.sortBy=xa,Fn.sortedUniq=function(e){return e&&e.length?ri(e):[]},Fn.sortedUniqBy=function(e,t){return e&&e.length?ri(e,io(t,2)):[]},Fn.split=function(e,t,n){return n&&"number"!=typeof n&&go(e,t,n)&&(t=n=o),(n=n===o?f:n>>>0)?(e=gs(e))&&("string"==typeof t||null!=t&&!rs(t))&&!(t=oi(t))&&rn(e)?yi(hn(e),0,n):e.split(t,n):[]},Fn.spread=function(e,t){if("function"!=typeof e)throw new we(a);return t=null==t?0:mn(ps(t),0),Wr((function(n){var r=n[t],i=yi(n,0,t);return r&&kt(i,r),St(e,this,i)}))},Fn.tail=function(e){var t=null==e?0:e.length;return t?Jr(e,1,t):[]},Fn.take=function(e,t,n){return e&&e.length?Jr(e,0,(t=n||t===o?1:ps(t))<0?0:t):[]},Fn.takeRight=function(e,t,n){var r=null==e?0:e.length;return r?Jr(e,(t=r-(t=n||t===o?1:ps(t)))<0?0:t,r):[]},Fn.takeRightWhile=function(e,t){return e&&e.length?ci(e,io(t,3),!1,!0):[]},Fn.takeWhile=function(e,t){return e&&e.length?ci(e,io(t,3)):[]},Fn.tap=function(e,t){return t(e),e},Fn.throttle=function(e,t,n){var r=!0,i=!0;if("function"!=typeof e)throw new we(a);return Qa(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),La(e,t,{leading:r,maxWait:t,trailing:i})},Fn.thru=ha,Fn.toArray=us,Fn.toPairs=Ms,Fn.toPairsIn=Fs,Fn.toPath=function(e){return Ga(e)?It(e,Po):as(e)?[e]:Ci(Do(gs(e)))},Fn.toPlainObject=ms,Fn.transform=function(e,t,n){var r=Ga(e),i=r||Wa(e)||ss(e);if(t=io(t,4),null==n){var o=e&&e.constructor;n=i?r?new o:[]:Qa(e)&&qa(o)?Hn($e(e)):{}}return(i?At:yr)(e,(function(e,r,i){return t(n,e,r,i)})),n},Fn.unary=function(e){return Ca(e,1)},Fn.union=Jo,Fn.unionBy=ea,Fn.unionWith=ta,Fn.uniq=function(e){return e&&e.length?ai(e):[]},Fn.uniqBy=function(e,t){return e&&e.length?ai(e,io(t,2)):[]},Fn.uniqWith=function(e,t){return t="function"==typeof t?t:o,e&&e.length?ai(e,o,t):[]},Fn.unset=function(e,t){return null==e||si(e,t)},Fn.unzip=na,Fn.unzipWith=ra,Fn.update=function(e,t,n){return null==e?e:li(e,t,fi(n))},Fn.updateWith=function(e,t,n,r){return r="function"==typeof r?r:o,null==e?e:li(e,t,fi(n),r)},Fn.values=Hs,Fn.valuesIn=function(e){return null==e?[]:Xt(e,Os(e))},Fn.without=ia,Fn.words=qs,Fn.wrap=function(e,t){return Pa(fi(t),e)},Fn.xor=oa,Fn.xorBy=aa,Fn.xorWith=sa,Fn.zip=la,Fn.zipObject=function(e,t){return pi(e||[],t||[],Qn)},Fn.zipObjectDeep=function(e,t){return pi(e||[],t||[],qr)},Fn.zipWith=ca,Fn.entries=Ms,Fn.entriesIn=Fs,Fn.extend=vs,Fn.extendWith=_s,ol(Fn,Fn),Fn.add=gl,Fn.attempt=Xs,Fn.camelCase=Bs,Fn.capitalize=Us,Fn.ceil=yl,Fn.clamp=function(e,t,n){return n===o&&(n=t,t=o),n!==o&&(n=(n=fs(n))==n?n:0),t!==o&&(t=(t=fs(t))==t?t:0),ir(fs(e),t,n)},Fn.clone=function(e){return or(e,4)},Fn.cloneDeep=function(e){return or(e,5)},Fn.cloneDeepWith=function(e,t){return or(e,5,t="function"==typeof t?t:o)},Fn.cloneWith=function(e,t){return or(e,4,t="function"==typeof t?t:o)},Fn.conformsTo=function(e,t){return null==t||ar(e,t,Ls(t))},Fn.deburr=js,Fn.defaultTo=function(e,t){return null==e||e!=e?t:e},Fn.divide=vl,Fn.endsWith=function(e,t,n){e=gs(e),t=oi(t);var r=e.length,i=n=n===o?r:ir(ps(n),0,r);return(n-=t.length)>=0&&e.slice(n,i)==t},Fn.eq=Ha,Fn.escape=function(e){return(e=gs(e))&&q.test(e)?e.replace(V,tn):e},Fn.escapeRegExp=function(e){return(e=gs(e))&&re.test(e)?e.replace(ne,"\\$&"):e},Fn.every=function(e,t,n){var r=Ga(e)?wt:hr;return n&&go(e,t,n)&&(t=o),r(e,io(t,3))},Fn.find=fa,Fn.findIndex=jo,Fn.findKey=function(e,t){return Ht(e,io(t,3),yr)},Fn.findLast=ma,Fn.findLastIndex=Go,Fn.findLastKey=function(e,t){return Ht(e,io(t,3),vr)},Fn.floor=_l,Fn.forEach=ga,Fn.forEachRight=ya,Fn.forIn=function(e,t){return null==e?e:mr(e,io(t,3),Os)},Fn.forInRight=function(e,t){return null==e?e:gr(e,io(t,3),Os)},Fn.forOwn=function(e,t){return e&&yr(e,io(t,3))},Fn.forOwnRight=function(e,t){return e&&vr(e,io(t,3))},Fn.get=Ss,Fn.gt=Ba,Fn.gte=Ua,Fn.has=function(e,t){return null!=e&&ho(e,t,Sr)},Fn.hasIn=Cs,Fn.head=zo,Fn.identity=tl,Fn.includes=function(e,t,n,r){e=za(e)?e:Hs(e),n=n&&!r?ps(n):0;var i=e.length;return n<0&&(n=mn(i+n,0)),os(e)?n<=i&&e.indexOf(t,n)>-1:!!i&&Ut(e,t,n)>-1},Fn.indexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=null==n?0:ps(n);return i<0&&(i=mn(r+i,0)),Ut(e,t,i)},Fn.inRange=function(e,t,n){return t=hs(t),n===o?(n=t,t=0):n=hs(n),function(e,t,n){return e>=gn(t,n)&&e<mn(t,n)}(e=fs(e),t,n)},Fn.invoke=ws,Fn.isArguments=ja,Fn.isArray=Ga,Fn.isArrayBuffer=Ya,Fn.isArrayLike=za,Fn.isArrayLikeObject=$a,Fn.isBoolean=function(e){return!0===e||!1===e||Ja(e)&&Tr(e)==v},Fn.isBuffer=Wa,Fn.isDate=Va,Fn.isElement=function(e){return Ja(e)&&1===e.nodeType&&!ns(e)},Fn.isEmpty=function(e){if(null==e)return!0;if(za(e)&&(Ga(e)||"string"==typeof e||"function"==typeof e.splice||Wa(e)||ss(e)||ja(e)))return!e.length;var t=uo(e);if(t==x||t==w)return!e.size;if(bo(e))return!kr(e).length;for(var n in e)if(De.call(e,n))return!1;return!0},Fn.isEqual=function(e,t){return Lr(e,t)},Fn.isEqualWith=function(e,t,n){var r=(n="function"==typeof n?n:o)?n(e,t):o;return r===o?Lr(e,t,o,n):!!r},Fn.isError=Ka,Fn.isFinite=function(e){return"number"==typeof e&&Ft(e)},Fn.isFunction=qa,Fn.isInteger=Xa,Fn.isLength=Za,Fn.isMap=es,Fn.isMatch=function(e,t){return e===t||Or(e,t,ao(t))},Fn.isMatchWith=function(e,t,n){return n="function"==typeof n?n:o,Or(e,t,ao(t),n)},Fn.isNaN=function(e){return ts(e)&&e!=+e},Fn.isNative=function(e){if(_o(e))throw new Te("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return Nr(e)},Fn.isNil=function(e){return null==e},Fn.isNull=function(e){return null===e},Fn.isNumber=ts,Fn.isObject=Qa,Fn.isObjectLike=Ja,Fn.isPlainObject=ns,Fn.isRegExp=rs,Fn.isSafeInteger=function(e){return Xa(e)&&e>=-9007199254740991&&e<=p},Fn.isSet=is,Fn.isString=os,Fn.isSymbol=as,Fn.isTypedArray=ss,Fn.isUndefined=function(e){return e===o},Fn.isWeakMap=function(e){return Ja(e)&&uo(e)==N},Fn.isWeakSet=function(e){return Ja(e)&&"[object WeakSet]"==Tr(e)},Fn.join=function(e,t){return null==e?"":$t.call(e,t)},Fn.kebabCase=Gs,Fn.last=Ko,Fn.lastIndexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=r;return n!==o&&(i=(i=ps(n))<0?mn(r+i,0):gn(i,r-1)),t==t?function(e,t,n){for(var r=n+1;r--;)if(e[r]===t)return r;return r}(e,t,i):Bt(e,Gt,i,!0)},Fn.lowerCase=Ys,Fn.lowerFirst=zs,Fn.lt=ls,Fn.lte=cs,Fn.max=function(e){return e&&e.length?pr(e,tl,xr):o},Fn.maxBy=function(e,t){return e&&e.length?pr(e,io(t,2),xr):o},Fn.mean=function(e){return Yt(e,tl)},Fn.meanBy=function(e,t){return Yt(e,io(t,2))},Fn.min=function(e){return e&&e.length?pr(e,tl,Dr):o},Fn.minBy=function(e,t){return e&&e.length?pr(e,io(t,2),Dr):o},Fn.stubArray=dl,Fn.stubFalse=fl,Fn.stubObject=function(){return{}},Fn.stubString=function(){return""},Fn.stubTrue=function(){return!0},Fn.multiply=bl,Fn.nth=function(e,t){return e&&e.length?Br(e,ps(t)):o},Fn.noConflict=function(){return pt._===this&&(pt._=Be),this},Fn.noop=al,Fn.now=Sa,Fn.pad=function(e,t,n){e=gs(e);var r=(t=ps(t))?un(e):0;if(!t||r>=t)return e;var i=(t-r)/2;return Ui(ft(i),n)+e+Ui(dt(i),n)},Fn.padEnd=function(e,t,n){e=gs(e);var r=(t=ps(t))?un(e):0;return t&&r<t?e+Ui(t-r,n):e},Fn.padStart=function(e,t,n){e=gs(e);var r=(t=ps(t))?un(e):0;return t&&r<t?Ui(t-r,n)+e:e},Fn.parseInt=function(e,t,n){return n||null==t?t=0:t&&(t=+t),vn(gs(e).replace(oe,""),t||0)},Fn.random=function(e,t,n){if(n&&"boolean"!=typeof n&&go(e,t,n)&&(t=n=o),n===o&&("boolean"==typeof t?(n=t,t=o):"boolean"==typeof e&&(n=e,e=o)),e===o&&t===o?(e=0,t=1):(e=hs(e),t===o?(t=e,e=0):t=hs(t)),e>t){var r=e;e=t,t=r}if(n||e%1||t%1){var i=_n();return gn(e+i*(t-e+lt("1e-"+((i+"").length-1))),t)}return zr(e,t)},Fn.reduce=function(e,t,n){var r=Ga(e)?Dt:Wt,i=arguments.length<3;return r(e,io(t,4),n,i,cr)},Fn.reduceRight=function(e,t,n){var r=Ga(e)?Pt:Wt,i=arguments.length<3;return r(e,io(t,4),n,i,ur)},Fn.repeat=function(e,t,n){return t=(n?go(e,t,n):t===o)?1:ps(t),$r(gs(e),t)},Fn.replace=function(){var e=arguments,t=gs(e[0]);return e.length<3?t:t.replace(e[1],e[2])},Fn.result=function(e,t,n){var r=-1,i=(t=mi(t,e)).length;for(i||(i=1,e=o);++r<i;){var a=null==e?o:e[Po(t[r])];a===o&&(r=i,a=n),e=qa(a)?a.call(e):a}return e},Fn.round=El,Fn.runInContext=e,Fn.sample=function(e){return(Ga(e)?Kn:Vr)(e)},Fn.size=function(e){if(null==e)return 0;if(za(e))return os(e)?un(e):e.length;var t=uo(e);return t==x||t==w?e.size:kr(e).length},Fn.snakeCase=$s,Fn.some=function(e,t,n){var r=Ga(e)?Mt:ei;return n&&go(e,t,n)&&(t=o),r(e,io(t,3))},Fn.sortedIndex=function(e,t){return ti(e,t)},Fn.sortedIndexBy=function(e,t,n){return ni(e,t,io(n,2))},Fn.sortedIndexOf=function(e,t){var n=null==e?0:e.length;if(n){var r=ti(e,t);if(r<n&&Ha(e[r],t))return r}return-1},Fn.sortedLastIndex=function(e,t){return ti(e,t,!0)},Fn.sortedLastIndexBy=function(e,t,n){return ni(e,t,io(n,2),!0)},Fn.sortedLastIndexOf=function(e,t){if(null!=e&&e.length){var n=ti(e,t,!0)-1;if(Ha(e[n],t))return n}return-1},Fn.startCase=Ws,Fn.startsWith=function(e,t,n){return e=gs(e),n=null==n?0:ir(ps(n),0,e.length),t=oi(t),e.slice(n,n+t.length)==t},Fn.subtract=Tl,Fn.sum=function(e){return e&&e.length?Vt(e,tl):0},Fn.sumBy=function(e,t){return e&&e.length?Vt(e,io(t,2)):0},Fn.template=function(e,t,n){var r=Fn.templateSettings;n&&go(e,t,n)&&(t=o),e=gs(e),t=_s({},t,r,Ki);var i,a,s=_s({},t.imports,r.imports,Ki),l=Ls(s),c=Xt(s,l),u=0,h=t.interpolate||be,p="__p += '",d=Ae((t.escape||be).source+"|"+h.source+"|"+(h===Q?pe:be).source+"|"+(t.evaluate||be).source+"|$","g"),f="//# sourceURL="+(De.call(t,"sourceURL")?(t.sourceURL+"").replace(/[\r\n]/g," "):"lodash.templateSources["+ ++it+"]")+"\n";e.replace(d,(function(t,n,r,o,s,l){return r||(r=o),p+=e.slice(u,l).replace(Ee,nn),n&&(i=!0,p+="' +\n__e("+n+") +\n'"),s&&(a=!0,p+="';\n"+s+";\n__p += '"),r&&(p+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),u=l+t.length,t})),p+="';\n";var m=De.call(t,"variable")&&t.variable;m||(p="with (obj) {\n"+p+"\n}\n"),p=(a?p.replace(Y,""):p).replace(z,"$1").replace($,"$1;"),p="function("+(m||"obj")+") {\n"+(m?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(i?", __e = _.escape":"")+(a?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+p+"return __p\n}";var g=Xs((function(){return xe(l,f+"return "+p).apply(o,c)}));if(g.source=p,Ka(g))throw g;return g},Fn.times=function(e,t){if((e=ps(e))<1||e>p)return[];var n=f,r=gn(e,f);t=io(t),e-=f;for(var i=Kt(r,t);++n<e;)t(n);return i},Fn.toFinite=hs,Fn.toInteger=ps,Fn.toLength=ds,Fn.toLower=function(e){return gs(e).toLowerCase()},Fn.toNumber=fs,Fn.toSafeInteger=function(e){return e?ir(ps(e),-9007199254740991,p):0===e?e:0},Fn.toString=gs,Fn.toUpper=function(e){return gs(e).toUpperCase()},Fn.trim=function(e,t,n){if((e=gs(e))&&(n||t===o))return e.replace(ie,"");if(!e||!(t=oi(t)))return e;var r=hn(e),i=hn(t);return yi(r,Qt(r,i),Jt(r,i)+1).join("")},Fn.trimEnd=function(e,t,n){if((e=gs(e))&&(n||t===o))return e.replace(ae,"");if(!e||!(t=oi(t)))return e;var r=hn(e);return yi(r,0,Jt(r,hn(t))+1).join("")},Fn.trimStart=function(e,t,n){if((e=gs(e))&&(n||t===o))return e.replace(oe,"");if(!e||!(t=oi(t)))return e;var r=hn(e);return yi(r,Qt(r,hn(t))).join("")},Fn.truncate=function(e,t){var n=30,r="...";if(Qa(t)){var i="separator"in t?t.separator:i;n="length"in t?ps(t.length):n,r="omission"in t?oi(t.omission):r}var a=(e=gs(e)).length;if(rn(e)){var s=hn(e);a=s.length}if(n>=a)return e;var l=n-un(r);if(l<1)return r;var c=s?yi(s,0,l).join(""):e.slice(0,l);if(i===o)return c+r;if(s&&(l+=c.length-l),rs(i)){if(e.slice(l).search(i)){var u,h=c;for(i.global||(i=Ae(i.source,gs(de.exec(i))+"g")),i.lastIndex=0;u=i.exec(h);)var p=u.index;c=c.slice(0,p===o?l:p)}}else if(e.indexOf(oi(i),l)!=l){var d=c.lastIndexOf(i);d>-1&&(c=c.slice(0,d))}return c+r},Fn.unescape=function(e){return(e=gs(e))&&K.test(e)?e.replace(W,pn):e},Fn.uniqueId=function(e){var t=++Pe;return gs(e)+t},Fn.upperCase=Vs,Fn.upperFirst=Ks,Fn.each=ga,Fn.eachRight=ya,Fn.first=zo,ol(Fn,(ml={},yr(Fn,(function(e,t){De.call(Fn.prototype,t)||(ml[t]=e)})),ml),{chain:!1}),Fn.VERSION="4.17.15",At(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){Fn[e].placeholder=Fn})),At(["drop","take"],(function(e,t){jn.prototype[e]=function(n){n=n===o?1:mn(ps(n),0);var r=this.__filtered__&&!t?new jn(this):this.clone();return r.__filtered__?r.__takeCount__=gn(n,r.__takeCount__):r.__views__.push({size:gn(n,f),type:e+(r.__dir__<0?"Right":"")}),r},jn.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}})),At(["filter","map","takeWhile"],(function(e,t){var n=t+1,r=1==n||3==n;jn.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:io(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}})),At(["head","last"],(function(e,t){var n="take"+(t?"Right":"");jn.prototype[e]=function(){return this[n](1).value()[0]}})),At(["initial","tail"],(function(e,t){var n="drop"+(t?"":"Right");jn.prototype[e]=function(){return this.__filtered__?new jn(this):this[n](1)}})),jn.prototype.compact=function(){return this.filter(tl)},jn.prototype.find=function(e){return this.filter(e).head()},jn.prototype.findLast=function(e){return this.reverse().find(e)},jn.prototype.invokeMap=Wr((function(e,t){return"function"==typeof e?new jn(this):this.map((function(n){return Rr(n,e,t)}))})),jn.prototype.reject=function(e){return this.filter(ka(io(e)))},jn.prototype.slice=function(e,t){e=ps(e);var n=this;return n.__filtered__&&(e>0||t<0)?new jn(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),t!==o&&(n=(t=ps(t))<0?n.dropRight(-t):n.take(t-e)),n)},jn.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},jn.prototype.toArray=function(){return this.take(f)},yr(jn.prototype,(function(e,t){var n=/^(?:filter|find|map|reject)|While$/.test(t),r=/^(?:head|last)$/.test(t),i=Fn[r?"take"+("last"==t?"Right":""):t],a=r||/^find/.test(t);i&&(Fn.prototype[t]=function(){var t=this.__wrapped__,s=r?[1]:arguments,l=t instanceof jn,c=s[0],u=l||Ga(t),h=function(e){var t=i.apply(Fn,kt([e],s));return r&&p?t[0]:t};u&&n&&"function"==typeof c&&1!=c.length&&(l=u=!1);var p=this.__chain__,d=!!this.__actions__.length,f=a&&!p,m=l&&!d;if(!a&&u){t=m?t:new jn(this);var g=e.apply(t,s);return g.__actions__.push({func:ha,args:[h],thisArg:o}),new Un(g,p)}return f&&m?e.apply(this,s):(g=this.thru(h),f?r?g.value()[0]:g.value():g)})})),At(["pop","push","shift","sort","splice","unshift"],(function(e){var t=Le[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",r=/^(?:pop|shift)$/.test(e);Fn.prototype[e]=function(){var e=arguments;if(r&&!this.__chain__){var i=this.value();return t.apply(Ga(i)?i:[],e)}return this[n]((function(n){return t.apply(Ga(n)?n:[],e)}))}})),yr(jn.prototype,(function(e,t){var n=Fn[t];if(n){var r=n.name+"";De.call(wn,r)||(wn[r]=[]),wn[r].push({name:t,func:n})}})),wn[Mi(o,2).name]=[{name:"wrapper",func:o}],jn.prototype.clone=function(){var e=new jn(this.__wrapped__);return e.__actions__=Ci(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=Ci(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=Ci(this.__views__),e},jn.prototype.reverse=function(){if(this.__filtered__){var e=new jn(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},jn.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,n=Ga(e),r=t<0,i=n?e.length:0,o=function(e,t,n){for(var r=-1,i=n.length;++r<i;){var o=n[r],a=o.size;switch(o.type){case"drop":e+=a;break;case"dropRight":t-=a;break;case"take":t=gn(t,e+a);break;case"takeRight":e=mn(e,t-a)}}return{start:e,end:t}}(0,i,this.__views__),a=o.start,s=o.end,l=s-a,c=r?s:a-1,u=this.__iteratees__,h=u.length,p=0,d=gn(l,this.__takeCount__);if(!n||!r&&i==l&&d==l)return ui(e,this.__actions__);var f=[];e:for(;l--&&p<d;){for(var m=-1,g=e[c+=t];++m<h;){var y=u[m],v=y.iteratee,_=y.type,b=v(g);if(2==_)g=b;else if(!b){if(1==_)continue e;break e}}f[p++]=g}return f},Fn.prototype.at=pa,Fn.prototype.chain=function(){return ua(this)},Fn.prototype.commit=function(){return new Un(this.value(),this.__chain__)},Fn.prototype.next=function(){this.__values__===o&&(this.__values__=us(this.value()));var e=this.__index__>=this.__values__.length;return{done:e,value:e?o:this.__values__[this.__index__++]}},Fn.prototype.plant=function(e){for(var t,n=this;n instanceof Bn;){var r=Fo(n);r.__index__=0,r.__values__=o,t?i.__wrapped__=r:t=r;var i=r;n=n.__wrapped__}return i.__wrapped__=e,t},Fn.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof jn){var t=e;return this.__actions__.length&&(t=new jn(this)),(t=t.reverse()).__actions__.push({func:ha,args:[Qo],thisArg:o}),new Un(t,this.__chain__)}return this.thru(Qo)},Fn.prototype.toJSON=Fn.prototype.valueOf=Fn.prototype.value=function(){return ui(this.__wrapped__,this.__actions__)},Fn.prototype.first=Fn.prototype.head,Xe&&(Fn.prototype[Xe]=function(){return this}),Fn}();pt._=dn,(i=function(){return dn}.call(t,n,t,r))===o||(r.exports=i)}).call(this)}).call(t,n(71),n(72)(e))},function(e,t,n){(function(){var e,r;e=n(24).sep,t.basenameScore=function(n,r,i){var o,a,s,l,c;for(a=n.length-1;n[a]===e;)a--;for(c=0,s=a,o=null;a>=0;)n[a]===e?(c++,null==o&&(o=n.substring(a+1,s+1))):0===a&&(s<n.length-1?null==o&&(o=n.substring(0,s+1)):null==o&&(o=n)),a--;return o===n?i*=2:o&&(i+=t.score(o,r)),l=c+1,i*(.01*Math.max(1,10-l))},t.score=function(t,n){var i,o,a,s,l,c,u,h,p,d,f,m;if(t===n)return 1;if(r(t,n))return 1;for(d=0,u=n.length,p=t.length,a=0,s=0;a<u;){if(i=n[a++],l=t.indexOf(i.toLowerCase()),f=t.indexOf(i.toUpperCase()),-1===(c=Math.min(l,f))&&(c=Math.max(l,f)),-1===(s=c))return 0;o=.1,t[s]===i&&(o+=.1),0===s||t[s-1]===e?o+=.8:"-"!==(m=t[s-1])&&"_"!==m&&" "!==m||(o+=.7),t=t.substring(s+1,p),d+=o}return((h=d/u)*(u/p)+h)/2},r=function(t,n){if(t[t.length-n.length-1]===e)return t.lastIndexOf(n)===t.length-n.length}}).call(this)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parse=void 0;var r,i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=(r=n(6))&&r.__esModule?r:{default:r},a=n(41),s=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(1)),l=n(25),c=n(90),u=n(42),h=n(91);t.parse=function(e){var t=new h.ReferencesListener,n=new u.ErrorListener,r=new o.default.InputStream(e),p=new c.CypherLexer(r);p.removeErrorListeners(),p.addErrorListener(n);var d=new o.default.CommonTokenStream(p),f=new l.CypherParser(d);f.buildParseTrees=!0,f.removeErrorListeners(),f.addErrorListener(n),f.addParseListener(t);var m=f.cypher(),g=t.queries,y=t.indexes,v=s.SYMBOLIC_CONTEXTS.reduce((function(e,t){return i({},e,function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},t,new a.ReferencesProvider(g,y[t])))}),{});return{parseTree:m,referencesListener:t,errorListener:n,referencesProviders:v}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t.ReferencesProvider=function(){function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.queries=[],this.index={};var r=n.names,i=n.namesByQuery,o=n.referencesByName,a=n.referencesByQueryAndName;this.queries=t,this.index={names:Object.keys(r),namesByQuery:i.map((function(e){return Object.keys(e)})),referencesByName:o,referencesByQueryAndName:a}}return r(e,[{key:"getReferences",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(null==t)return this.index.referencesByName[e];var n=this.queries.indexOf(t);return(this.index.referencesByQueryAndName[n]||{})[e]}},{key:"getNames",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;if(null==e)return this.index.names;var t=this.queries.indexOf(e);return this.index.namesByQuery[t]||[]}}]),e}()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ErrorListener=void 0;var r,i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=(r=n(6))&&r.__esModule?r:{default:r};function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}t.ErrorListener=function(e){function t(){var e,n,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var i=arguments.length,o=Array(i),s=0;s<i;s++)o[s]=arguments[s];return n=r=a(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(o))),r.errors=[],a(r,n)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),i(t,[{key:"syntaxError",value:function(e,t,n,r,i,o){"mismatched input '<EOF>' expecting {';', SP}"!==i&&"missing ';' at '<EOF>'"!==i&&"mismatched input '<EOF>' expecting {':', CYPHER, EXPLAIN, PROFILE, USING, CREATE, DROP, LOAD, WITH, OPTIONAL, MATCH, UNWIND, MERGE, SET, DETACH, DELETE, REMOVE, FOREACH, RETURN, START, CALL}"!==i&&this.errors.push({line:n,col:r,msg:i})}}]),t}(o.default.error.ErrorListener)},function(e,t,n){"use strict";var r=n(6);function i(){return r.tree.ParseTreeListener.call(this),this}i.prototype=Object.create(r.tree.ParseTreeListener.prototype),i.prototype.constructor=i,i.prototype.enterRaw=function(e){},i.prototype.exitRaw=function(e){},i.prototype.enterCypher=function(e){},i.prototype.exitCypher=function(e){},i.prototype.enterCypherPart=function(e){},i.prototype.exitCypherPart=function(e){},i.prototype.enterCypherConsoleCommand=function(e){},i.prototype.exitCypherConsoleCommand=function(e){},i.prototype.enterCypherConsoleCommandName=function(e){},i.prototype.exitCypherConsoleCommandName=function(e){},i.prototype.enterCypherConsoleCommandParameters=function(e){},i.prototype.exitCypherConsoleCommandParameters=function(e){},i.prototype.enterCypherConsoleCommandParameter=function(e){},i.prototype.exitCypherConsoleCommandParameter=function(e){},i.prototype.enterArrowExpression=function(e){},i.prototype.exitArrowExpression=function(e){},i.prototype.enterUrl=function(e){},i.prototype.exitUrl=function(e){},i.prototype.enterUri=function(e){},i.prototype.exitUri=function(e){},i.prototype.enterScheme=function(e){},i.prototype.exitScheme=function(e){},i.prototype.enterHost=function(e){},i.prototype.exitHost=function(e){},i.prototype.enterHostname=function(e){},i.prototype.exitHostname=function(e){},i.prototype.enterHostnumber=function(e){},i.prototype.exitHostnumber=function(e){},i.prototype.enterPort=function(e){},i.prototype.exitPort=function(e){},i.prototype.enterPath=function(e){},i.prototype.exitPath=function(e){},i.prototype.enterUser=function(e){},i.prototype.exitUser=function(e){},i.prototype.enterLogin=function(e){},i.prototype.exitLogin=function(e){},i.prototype.enterPassword=function(e){},i.prototype.exitPassword=function(e){},i.prototype.enterFrag=function(e){},i.prototype.exitFrag=function(e){},i.prototype.enterUrlQuery=function(e){},i.prototype.exitUrlQuery=function(e){},i.prototype.enterSearch=function(e){},i.prototype.exitSearch=function(e){},i.prototype.enterSearchparameter=function(e){},i.prototype.exitSearchparameter=function(e){},i.prototype.enterString=function(e){},i.prototype.exitString=function(e){},i.prototype.enterUrlDigits=function(e){},i.prototype.exitUrlDigits=function(e){},i.prototype.enterJson=function(e){},i.prototype.exitJson=function(e){},i.prototype.enterObj=function(e){},i.prototype.exitObj=function(e){},i.prototype.enterPair=function(e){},i.prototype.exitPair=function(e){},i.prototype.enterArray=function(e){},i.prototype.exitArray=function(e){},i.prototype.enterValue=function(e){},i.prototype.exitValue=function(e){},i.prototype.enterKeyValueLiteral=function(e){},i.prototype.exitKeyValueLiteral=function(e){},i.prototype.enterCommandPath=function(e){},i.prototype.exitCommandPath=function(e){},i.prototype.enterSubCommand=function(e){},i.prototype.exitSubCommand=function(e){},i.prototype.enterCypherQuery=function(e){},i.prototype.exitCypherQuery=function(e){},i.prototype.enterQueryOptions=function(e){},i.prototype.exitQueryOptions=function(e){},i.prototype.enterAnyCypherOption=function(e){},i.prototype.exitAnyCypherOption=function(e){},i.prototype.enterCypherOption=function(e){},i.prototype.exitCypherOption=function(e){},i.prototype.enterVersionNumber=function(e){},i.prototype.exitVersionNumber=function(e){},i.prototype.enterExplain=function(e){},i.prototype.exitExplain=function(e){},i.prototype.enterProfile=function(e){},i.prototype.exitProfile=function(e){},i.prototype.enterConfigurationOption=function(e){},i.prototype.exitConfigurationOption=function(e){},i.prototype.enterStatement=function(e){},i.prototype.exitStatement=function(e){},i.prototype.enterQuery=function(e){},i.prototype.exitQuery=function(e){},i.prototype.enterRegularQuery=function(e){},i.prototype.exitRegularQuery=function(e){},i.prototype.enterBulkImportQuery=function(e){},i.prototype.exitBulkImportQuery=function(e){},i.prototype.enterSingleQuery=function(e){},i.prototype.exitSingleQuery=function(e){},i.prototype.enterPeriodicCommitHint=function(e){},i.prototype.exitPeriodicCommitHint=function(e){},i.prototype.enterLoadCSVQuery=function(e){},i.prototype.exitLoadCSVQuery=function(e){},i.prototype.enterUnion=function(e){},i.prototype.exitUnion=function(e){},i.prototype.enterClause=function(e){},i.prototype.exitClause=function(e){},i.prototype.enterCommand=function(e){},i.prototype.exitCommand=function(e){},i.prototype.enterCreateUniqueConstraint=function(e){},i.prototype.exitCreateUniqueConstraint=function(e){},i.prototype.enterCreateNodeKeyConstraint=function(e){},i.prototype.exitCreateNodeKeyConstraint=function(e){},i.prototype.enterCreateNodePropertyExistenceConstraint=function(e){},i.prototype.exitCreateNodePropertyExistenceConstraint=function(e){},i.prototype.enterCreateRelationshipPropertyExistenceConstraint=function(e){},i.prototype.exitCreateRelationshipPropertyExistenceConstraint=function(e){},i.prototype.enterCreateIndex=function(e){},i.prototype.exitCreateIndex=function(e){},i.prototype.enterDropUniqueConstraint=function(e){},i.prototype.exitDropUniqueConstraint=function(e){},i.prototype.enterDropNodeKeyConstraint=function(e){},i.prototype.exitDropNodeKeyConstraint=function(e){},i.prototype.enterDropNodePropertyExistenceConstraint=function(e){},i.prototype.exitDropNodePropertyExistenceConstraint=function(e){},i.prototype.enterDropRelationshipPropertyExistenceConstraint=function(e){},i.prototype.exitDropRelationshipPropertyExistenceConstraint=function(e){},i.prototype.enterDropIndex=function(e){},i.prototype.exitDropIndex=function(e){},i.prototype.enterIndex=function(e){},i.prototype.exitIndex=function(e){},i.prototype.enterUniqueConstraint=function(e){},i.prototype.exitUniqueConstraint=function(e){},i.prototype.enterNodeKeyConstraint=function(e){},i.prototype.exitNodeKeyConstraint=function(e){},i.prototype.enterNodePropertyExistenceConstraint=function(e){},i.prototype.exitNodePropertyExistenceConstraint=function(e){},i.prototype.enterRelationshipPropertyExistenceConstraint=function(e){},i.prototype.exitRelationshipPropertyExistenceConstraint=function(e){},i.prototype.enterRelationshipPatternSyntax=function(e){},i.prototype.exitRelationshipPatternSyntax=function(e){},i.prototype.enterLoadCSVClause=function(e){},i.prototype.exitLoadCSVClause=function(e){},i.prototype.enterMatchClause=function(e){},i.prototype.exitMatchClause=function(e){},i.prototype.enterUnwindClause=function(e){},i.prototype.exitUnwindClause=function(e){},i.prototype.enterMergeClause=function(e){},i.prototype.exitMergeClause=function(e){},i.prototype.enterMergeAction=function(e){},i.prototype.exitMergeAction=function(e){},i.prototype.enterCreateClause=function(e){},i.prototype.exitCreateClause=function(e){},i.prototype.enterCreateUniqueClause=function(e){},i.prototype.exitCreateUniqueClause=function(e){},i.prototype.enterSetClause=function(e){},i.prototype.exitSetClause=function(e){},i.prototype.enterSetItem=function(e){},i.prototype.exitSetItem=function(e){},i.prototype.enterDeleteClause=function(e){},i.prototype.exitDeleteClause=function(e){},i.prototype.enterRemoveClause=function(e){},i.prototype.exitRemoveClause=function(e){},i.prototype.enterRemoveItem=function(e){},i.prototype.exitRemoveItem=function(e){},i.prototype.enterForeachClause=function(e){},i.prototype.exitForeachClause=function(e){},i.prototype.enterWithClause=function(e){},i.prototype.exitWithClause=function(e){},i.prototype.enterReturnClause=function(e){},i.prototype.exitReturnClause=function(e){},i.prototype.enterReturnBody=function(e){},i.prototype.exitReturnBody=function(e){},i.prototype.enterFunc=function(e){},i.prototype.exitFunc=function(e){},i.prototype.enterReturnItems=function(e){},i.prototype.exitReturnItems=function(e){},i.prototype.enterReturnItem=function(e){},i.prototype.exitReturnItem=function(e){},i.prototype.enterCall=function(e){},i.prototype.exitCall=function(e){},i.prototype.enterProcedureInvocation=function(e){},i.prototype.exitProcedureInvocation=function(e){},i.prototype.enterProcedureInvocationBody=function(e){},i.prototype.exitProcedureInvocationBody=function(e){},i.prototype.enterProcedureArguments=function(e){},i.prototype.exitProcedureArguments=function(e){},i.prototype.enterProcedureResults=function(e){},i.prototype.exitProcedureResults=function(e){},i.prototype.enterProcedureResult=function(e){},i.prototype.exitProcedureResult=function(e){},i.prototype.enterAliasedProcedureResult=function(e){},i.prototype.exitAliasedProcedureResult=function(e){},i.prototype.enterSimpleProcedureResult=function(e){},i.prototype.exitSimpleProcedureResult=function(e){},i.prototype.enterProcedureOutput=function(e){},i.prototype.exitProcedureOutput=function(e){},i.prototype.enterOrder=function(e){},i.prototype.exitOrder=function(e){},i.prototype.enterSkip=function(e){},i.prototype.exitSkip=function(e){},i.prototype.enterLimit=function(e){},i.prototype.exitLimit=function(e){},i.prototype.enterSortItem=function(e){},i.prototype.exitSortItem=function(e){},i.prototype.enterHint=function(e){},i.prototype.exitHint=function(e){},i.prototype.enterStartClause=function(e){},i.prototype.exitStartClause=function(e){},i.prototype.enterStartPoint=function(e){},i.prototype.exitStartPoint=function(e){},i.prototype.enterLookup=function(e){},i.prototype.exitLookup=function(e){},i.prototype.enterNodeLookup=function(e){},i.prototype.exitNodeLookup=function(e){},i.prototype.enterRelationshipLookup=function(e){},i.prototype.exitRelationshipLookup=function(e){},i.prototype.enterIdentifiedIndexLookup=function(e){},i.prototype.exitIdentifiedIndexLookup=function(e){},i.prototype.enterIndexQuery=function(e){},i.prototype.exitIndexQuery=function(e){},i.prototype.enterIdLookup=function(e){},i.prototype.exitIdLookup=function(e){},i.prototype.enterLiteralIds=function(e){},i.prototype.exitLiteralIds=function(e){},i.prototype.enterWhere=function(e){},i.prototype.exitWhere=function(e){},i.prototype.enterPattern=function(e){},i.prototype.exitPattern=function(e){},i.prototype.enterPatternPart=function(e){},i.prototype.exitPatternPart=function(e){},i.prototype.enterAnonymousPatternPart=function(e){},i.prototype.exitAnonymousPatternPart=function(e){},i.prototype.enterPatternElement=function(e){},i.prototype.exitPatternElement=function(e){},i.prototype.enterNodePattern=function(e){},i.prototype.exitNodePattern=function(e){},i.prototype.enterPatternElementChain=function(e){},i.prototype.exitPatternElementChain=function(e){},i.prototype.enterRelationshipPattern=function(e){},i.prototype.exitRelationshipPattern=function(e){},i.prototype.enterRelationshipPatternStart=function(e){},i.prototype.exitRelationshipPatternStart=function(e){},i.prototype.enterRelationshipPatternEnd=function(e){},i.prototype.exitRelationshipPatternEnd=function(e){},i.prototype.enterRelationshipDetail=function(e){},i.prototype.exitRelationshipDetail=function(e){},i.prototype.enterProperties=function(e){},i.prototype.exitProperties=function(e){},i.prototype.enterRelType=function(e){},i.prototype.exitRelType=function(e){},i.prototype.enterRelationshipTypes=function(e){},i.prototype.exitRelationshipTypes=function(e){},i.prototype.enterRelationshipType=function(e){},i.prototype.exitRelationshipType=function(e){},i.prototype.enterRelationshipTypeOptionalColon=function(e){},i.prototype.exitRelationshipTypeOptionalColon=function(e){},i.prototype.enterNodeLabels=function(e){},i.prototype.exitNodeLabels=function(e){},i.prototype.enterNodeLabel=function(e){},i.prototype.exitNodeLabel=function(e){},i.prototype.enterRangeLiteral=function(e){},i.prototype.exitRangeLiteral=function(e){},i.prototype.enterLabelName=function(e){},i.prototype.exitLabelName=function(e){},i.prototype.enterRelTypeName=function(e){},i.prototype.exitRelTypeName=function(e){},i.prototype.enterExpression=function(e){},i.prototype.exitExpression=function(e){},i.prototype.enterOrExpression=function(e){},i.prototype.exitOrExpression=function(e){},i.prototype.enterXorExpression=function(e){},i.prototype.exitXorExpression=function(e){},i.prototype.enterAndExpression=function(e){},i.prototype.exitAndExpression=function(e){},i.prototype.enterNotExpression=function(e){},i.prototype.exitNotExpression=function(e){},i.prototype.enterComparisonExpression=function(e){},i.prototype.exitComparisonExpression=function(e){},i.prototype.enterAddOrSubtractExpression=function(e){},i.prototype.exitAddOrSubtractExpression=function(e){},i.prototype.enterMultiplyDivideModuloExpression=function(e){},i.prototype.exitMultiplyDivideModuloExpression=function(e){},i.prototype.enterPowerOfExpression=function(e){},i.prototype.exitPowerOfExpression=function(e){},i.prototype.enterUnaryAddOrSubtractExpression=function(e){},i.prototype.exitUnaryAddOrSubtractExpression=function(e){},i.prototype.enterStringListNullOperatorExpression=function(e){},i.prototype.exitStringListNullOperatorExpression=function(e){},i.prototype.enterPropertyOrLabelsExpression=function(e){},i.prototype.exitPropertyOrLabelsExpression=function(e){},i.prototype.enterFilterFunction=function(e){},i.prototype.exitFilterFunction=function(e){},i.prototype.enterFilterFunctionName=function(e){},i.prototype.exitFilterFunctionName=function(e){},i.prototype.enterExistsFunction=function(e){},i.prototype.exitExistsFunction=function(e){},i.prototype.enterExistsFunctionName=function(e){},i.prototype.exitExistsFunctionName=function(e){},i.prototype.enterAllFunction=function(e){},i.prototype.exitAllFunction=function(e){},i.prototype.enterAllFunctionName=function(e){},i.prototype.exitAllFunctionName=function(e){},i.prototype.enterAnyFunction=function(e){},i.prototype.exitAnyFunction=function(e){},i.prototype.enterAnyFunctionName=function(e){},i.prototype.exitAnyFunctionName=function(e){},i.prototype.enterNoneFunction=function(e){},i.prototype.exitNoneFunction=function(e){},i.prototype.enterNoneFunctionName=function(e){},i.prototype.exitNoneFunctionName=function(e){},i.prototype.enterSingleFunction=function(e){},i.prototype.exitSingleFunction=function(e){},i.prototype.enterSingleFunctionName=function(e){},i.prototype.exitSingleFunctionName=function(e){},i.prototype.enterExtractFunction=function(e){},i.prototype.exitExtractFunction=function(e){},i.prototype.enterExtractFunctionName=function(e){},i.prototype.exitExtractFunctionName=function(e){},i.prototype.enterReduceFunction=function(e){},i.prototype.exitReduceFunction=function(e){},i.prototype.enterReduceFunctionName=function(e){},i.prototype.exitReduceFunctionName=function(e){},i.prototype.enterShortestPathPatternFunction=function(e){},i.prototype.exitShortestPathPatternFunction=function(e){},i.prototype.enterShortestPathFunctionName=function(e){},i.prototype.exitShortestPathFunctionName=function(e){},i.prototype.enterAllShortestPathFunctionName=function(e){},i.prototype.exitAllShortestPathFunctionName=function(e){},i.prototype.enterAtom=function(e){},i.prototype.exitAtom=function(e){},i.prototype.enterLiteral=function(e){},i.prototype.exitLiteral=function(e){},i.prototype.enterStringLiteral=function(e){},i.prototype.exitStringLiteral=function(e){},i.prototype.enterBooleanLiteral=function(e){},i.prototype.exitBooleanLiteral=function(e){},i.prototype.enterListLiteral=function(e){},i.prototype.exitListLiteral=function(e){},i.prototype.enterPartialComparisonExpression=function(e){},i.prototype.exitPartialComparisonExpression=function(e){},i.prototype.enterParenthesizedExpression=function(e){},i.prototype.exitParenthesizedExpression=function(e){},i.prototype.enterRelationshipsPattern=function(e){},i.prototype.exitRelationshipsPattern=function(e){},i.prototype.enterFilterExpression=function(e){},i.prototype.exitFilterExpression=function(e){},i.prototype.enterIdInColl=function(e){},i.prototype.exitIdInColl=function(e){},i.prototype.enterFunctionInvocation=function(e){},i.prototype.exitFunctionInvocation=function(e){},i.prototype.enterFunctionInvocationBody=function(e){},i.prototype.exitFunctionInvocationBody=function(e){},i.prototype.enterFunctionName=function(e){},i.prototype.exitFunctionName=function(e){},i.prototype.enterProcedureName=function(e){},i.prototype.exitProcedureName=function(e){},i.prototype.enterListComprehension=function(e){},i.prototype.exitListComprehension=function(e){},i.prototype.enterPatternComprehension=function(e){},i.prototype.exitPatternComprehension=function(e){},i.prototype.enterPropertyLookup=function(e){},i.prototype.exitPropertyLookup=function(e){},i.prototype.enterCaseExpression=function(e){},i.prototype.exitCaseExpression=function(e){},i.prototype.enterCaseAlternatives=function(e){},i.prototype.exitCaseAlternatives=function(e){},i.prototype.enterVariable=function(e){},i.prototype.exitVariable=function(e){},i.prototype.enterNumberLiteral=function(e){},i.prototype.exitNumberLiteral=function(e){},i.prototype.enterMapLiteral=function(e){},i.prototype.exitMapLiteral=function(e){},i.prototype.enterMapProjection=function(e){},i.prototype.exitMapProjection=function(e){},i.prototype.enterMapProjectionVariants=function(e){},i.prototype.exitMapProjectionVariants=function(e){},i.prototype.enterLiteralEntry=function(e){},i.prototype.exitLiteralEntry=function(e){},i.prototype.enterPropertySelector=function(e){},i.prototype.exitPropertySelector=function(e){},i.prototype.enterVariableSelector=function(e){},i.prototype.exitVariableSelector=function(e){},i.prototype.enterAllPropertiesSelector=function(e){},i.prototype.exitAllPropertiesSelector=function(e){},i.prototype.enterParameter=function(e){},i.prototype.exitParameter=function(e){},i.prototype.enterLegacyParameter=function(e){},i.prototype.exitLegacyParameter=function(e){},i.prototype.enterNewParameter=function(e){},i.prototype.exitNewParameter=function(e){},i.prototype.enterParameterName=function(e){},i.prototype.exitParameterName=function(e){},i.prototype.enterPropertyExpressions=function(e){},i.prototype.exitPropertyExpressions=function(e){},i.prototype.enterPropertyExpression=function(e){},i.prototype.exitPropertyExpression=function(e){},i.prototype.enterPropertyKeys=function(e){},i.prototype.exitPropertyKeys=function(e){},i.prototype.enterPropertyKeyName=function(e){},i.prototype.exitPropertyKeyName=function(e){},i.prototype.enterIntegerLiteral=function(e){},i.prototype.exitIntegerLiteral=function(e){},i.prototype.enterDoubleLiteral=function(e){},i.prototype.exitDoubleLiteral=function(e){},i.prototype.enterNamespace=function(e){},i.prototype.exitNamespace=function(e){},i.prototype.enterLeftArrowHead=function(e){},i.prototype.exitLeftArrowHead=function(e){},i.prototype.enterRightArrowHead=function(e){},i.prototype.exitRightArrowHead=function(e){},i.prototype.enterDash=function(e){},i.prototype.exitDash=function(e){},i.prototype.enterSymbolicName=function(e){},i.prototype.exitSymbolicName=function(e){},i.prototype.enterKeyword=function(e){},i.prototype.exitKeyword=function(e){},t.CypherListener=i},function(e,t,n){"use strict";var r=n(6),i=["悋Ꜫ脳맭䅼㯧瞆奤","¬ְ\b\t\t","\t\t\t\t","\b\t\b\t\t\t\n\t\n\v\t\v","\f\t\f\r\t\r\t\t","\t\t\t\t","\t\t\t","\t\t\t\t","\t\t\t",'\t\t \t !\t!"\t"#',"\t#$\t$%\t%&\t&'\t'(\t()\t)","*\t*+\t+,\t,-\t-.\t./\t/0\t0","1\t12\t23\t34\t45\t56\t67\t7","8\t89\t9:\t:;\t;<\t<=\t=>\t>","?\t?@\t@A\tAB\tBC\tCD\tDE\tE","F\tFG\tGH\tHI\tIJ\tJK\tKL\tL","M\tMN\tNO\tOP\tPQ\tQR\tRS\tS","T\tTU\tUV\tVW\tWX\tXY\tYZ\tZ","[\t[\\\t\\]\t]^\t^_\t_`\t`a\ta","b\tbc\tcd\tde\tef\tfg\tgh\th","i\tij\tjk\tkl\tlm\tmn\tno\to","p\tpq\tqr\trs\tst\ttu\tuv\tv","w\twx\txy\tyz\tz{\t{|\t|}\t}","~\t~\t\t\t","\t\t\t
\t","
\t\t\t","\t\t\t\t","\t\t\t","\t\t\t\t","\t\t\t","\t\t\t\t","\t\t\t","\t\t \t ¡\t","¡¢\t¢£\t£¤\t¤","¥\t¥¦\t¦§\t§¨\t","¨©\t©ª\tª«\t«","¬\t¬\t®\t®¯\t","¯°\t°±\t±²\t²","³\t³´\t´µ\tµ¶\t","¶·\t·¸\t¸¹\t¹","º\tº»\t»¼\t¼½\t","½¾\t¾¿\t¿À\tÀ","Á\tÁÂ\tÂÃ\tÃÄ\t","ÄÅ\tÅÆ\tÆÇ\tÇ","È\tÈÉ\tÉÊ\tÊË\t","ËÌ\tÌÍ\tÍÎ\tÎ","Ï\tÏÐ\tÐÑ\tÑÒ\t","Ò","","\b\b\t","\t\n\n\v\v\f\f\r","\r","","","","","","",' !!!"""##',"$$%%&&''(","())**++,,-","-..//00112","2334455667","7777778888","8888999999","99::::::;;",";;;;;;;<<<","<<<<======",">>>>??????","?@@@@@AAAA","AABBBCCCCC","CCCCCCDDDD","DDDEEEFFFF","FFFGGGGGGG","HHHHHIIIIJ","JJJJKKKKKK","KKLLLLLMMM","NNNNNNNNNN","NNNNNNOOOO","OOOOOPPPPP","PQQQQQQQRR","RRRRSSSSTT","TTTTTUUUUU","UUVVVVVVVW","WWWWWWWXXX","YYYYYYYYYZ","ZZZZZZ[[[[","[[\\\\\\]]]]]","^^^^^^___","_______```","`aaaaaaaaa","aabbbbbccc","ccdddddeee","eeefffffgg","gggggggggg","ghhhhiiiii","ijjjjjjjjj","jjjjkkkkkk","kkkkkkkkkk","klllmmmmnn","nnoooopppp","pppqqqqqrr","rrrrrrrsss","ssttttttuu","uuuuuvvvvv","vvvwwwwxxx","xxyyyyyyyz","zzzz{{{{{{","|||||||}}}","}}~~~~~","","","","","
","
","","","","","","","","","","","","","","","","","","","","","","Ґ\nҒ\n\fҕ\v","","ҝ\nҟ\n\f","Ң\vҥ\n","Ҫ\n\r","ҫ","","","Ӏ\n","ӆ\n\rӇ","Ӎ\n\f","Ӑ\vӒ\n","Ӗ\n\rӗ","ӛ\n","ӟ\nӣ\n","ӧ\n"," ӭ\n ¡","¡¢¢Ӳ\n¢\r¢¢ӳ","¢¢ӷ\n¢\r¢¢Ӹ","¢¢¢ӽ\n¢\r¢¢Ӿ","¢¢¢ԃ\n¢\r¢¢","Ԅ¢ԇ\n¢¢¢¢","ԋ\n¢¢¢Ԏ\n¢\r¢¢","ԏ££ԓ\n£\f££Ԗ","\v££££Ԛ\n£\r£","£ԛ¤¤¤Ԡ\n¤","\f¤¤ԣ\v¤¥¥","¥ԧ\n¥¦¦¦ԫ\n¦","§§§§§Ա\n","§\f§§Դ\v§§§","¨¨Թ\n¨\r¨¨Ժ","©©©©©©","©©©©©©","©Չ\n©ªªªª","ªՏ\nª\fªªՒ\vª","ªªªªªª","ª՚\nª\fªª՝\vªª","՟\nª««¬¬","®®¯¯","°°±±²²","³³´´µµ","¶¶··¸¸","¹¹ºº»»","¼¼½½¾¾","¿¿ÀÀÁÁ","ÂÂÃÃÄÄ","ÅÅÆÆÇÇ","ÈÈÉÉÊÊ","ËËÌÌÍÍ","ÎÎÏÏÐÐ","ÑÑÒÒՐÓ","\t\v\r\b\t","\n\v\f\r","!#%')+-/1","3579;= ?!A\"C#E$G%I&K'M(O)Q*S+U,W-Y.","[/]0_1a2c3e4g5i6k7m8o9q:s;u<w=y>{?}@ABC
D","EFGHIJKLMN","OPQ¡R£S¥T§U©V«WX¯","Y±Z³[µ\\·]¹^»_½`¿aÁbÃ","cÅdÇeÉfËgÍhÏiÑjÓkÕl×","mÙnÛoÝpßqárãsåtçuévë","wíxïyñzó{õ|÷}ù~ûý","ÿāăąć
ĉ","ċčďđēĕ","ėęěĝğġ","ģĥħĩīĭ","įıijĵķĹ","ĻĽ Ŀ¡Ł¢Ń£Ņ","¤Ň¥ʼn¦ŋ§ō¨ŏ©ő","ªœ«ŕ¬ŗřśŝ","şšţťŧũ","ūŭůűųŵ","ŷŹŻŽſƁ","ƃƅƇƉƋƍ","ƏƑƓƕƗƙ","ƛƝƟơƣ","2$$^^))^^2;CHch","$$))DDHHPPTTVV^^ddhhppttvvWWwwCHch","GGgg\baa⁁⁂⁖⁖︵︶﹏﹑a","abb\n¢¢ᚂᚂ᠐᠐ ","‱‱。。\f","\f Ư2;C","\\aac|¬¬··¹¹¼¼ÂØÚ","øú˃ˈ˓ˢ˦ˮˮ˰˰̂","ͶͼͿΈΌΎΎΐΣΥ","ϷϹ҃҅҉ҌԩԳ՛՛գ","։ֿׁׁ֓׃ׄ׆ׇג","ײ״ؒآ٫ٰەۗ۞ۡ","۪۬۾܁܁ܒݏ߂߷","ࠂࡂࢢࢢࢤࢮࣦऀं","॥२ॱॳॹॻঁঃঅই","কপবলসা","্য়ৡ২৳ਃ","ਅਇਕਪਬਲਵ","ਸਾਾੀ੍","ਜ਼ਫ਼੨ઃઅઇએઑ","ઓકપબલવષાેૉ","ો્ૢ૨૱ଃଅଇ","କପବଲଵଷା","୍ୟୡ୨","ୱ୳୳அஇஐஒஔ","ஜஞஞபரீ","ைொௌ௨௱ః","అఇఎఐఒఔపబవషి","ెైొౌౘౚౢ౨","಄ಅಇಎಐಒಔಪಬವಷ","ಾೆೈೊೌೠೠೢ","೨ೱೳഄഅഇഎഐഒഔ","഼ിെൈൊൌ൙൙ൢ൨","൱ർඁඅඇගඳඵල","ෂෑූෘෘේ෴","ฃโ๐๒๛ຄຆຆຉ","ຊຌຌຏຏຖນປມຣລວ","ວຩຩຬອຯົຽໂໆ່","່໊໒ໞ༂༂༚༛༢","༫༹༹༷༷༻༻ཀཉཋཱི","྆ྈྙྛ྾࿈࿈ဂ။ၒ႟Ⴂ","Ⴧგჼჾቊቌቒ","ቘቚቚቜቢኊኌኒኲኴ","ኺዀዂዂዄዊዘዚጒጔ","ጚ፟፡፫፳ᎂ᎑Ꭲᐃ","᙮ᙱᚁᚃ᚜ᚢ᛬ᛰᛲᜂᜎᜐ","ᜢ᜶ᝂᝢᝮᝰᝲគ","៕៙៙២᠍᠏᠒ᠢ","ᢂᢲᤂᤞᤢᤲ᥈","ᥲᦂᦲ᧒ᨂᨢ","᩠ᩢ᪁᪒᪩᪩ᬂ᭒","᭛᭭᭵ᮂᰂ᱂ᱏ᱿᳒","᳔᳖᳸ᴂᷨ᷾ἚἢὊ","ὒὙὛὛὝὝὟὟὡᾂ","ᾶᾸι῀῀ῄῆῈ῎ῒῘ","῝ῢ΅ῴῶῸ῾⁁⁂⁖⁖","₁₁ₒ⃒⃞⃣⃣⃧℄","℄℉℉ℌℕ℗℗ℚ℟ΩΩℨ","ℨKKℬ℻ℾ⅁ⅇ⅋⅐⅐Ⅲ","↊ⰂⰰⰲⱠⱢ⳦Ⳮⴂⴧ","ⴲⶁⶢⶨⶪ","ⶰⶲⶸⶺⷀⷂⷈⷊⷐⷒⷘⷚ","ⷠⷢ⸁〇〉〣〱〳〷〺〾ぃ","゛ァィーヾㄇㄯㄳ㆐ㆢ","ㆼㇲ㈁㐂䶷丂鿎ꀂꓒ꓿ꔂ","꘎ꘒꙂ꙱ꙶꙿꚁꚙꚡ꛳ꜙ","꜡Ꜥ꞊ꞍꞐꞒꞕꞢꞬꟺ꠩ꡂ","꡵ꢂ꣒꣢꣹ꣽꣽ꤂꤯ꤲ","ꥢꦂ꧂꧑ꨂꩂ꩒","ꩢ꩸ꩼꩽꪂꫝ꫟ꫢ꫱ꫴ","ꬃꬋꬓꬢꬨꬪꬰꯂ","꯬꯲갂ힲퟍ車","全flﬕײַשׁשּׁטּךּ","מּנּנּףּצּרּ﮳ﯕ﴿ﵒ","ﶔﷲ﷽︂︑︨︢︵︶﹏","﹑ﹲﹶﹸ2;C\aac","|ィᅣᅩᅯᅵ","","&&¤§֑֑؍؍৴৵৽৽","แแ៝៝₢₼","﷾﷾﹫﹫&&¬ ̄│",'""\v\v\f\f\r\r',"!!ŴC\\c|¬¬··¼¼ÂØ","Úøú˃ˈ˓ˢ˦ˮˮ˰˰","ͲͶͼͿΈΈΊΌΎΎ","ΐΣΥϷϹ҃ҌԩԳ՛՛","գ։גײ״آٌٰٱٳە","ۗۗۧۨ۰۱ۼ۾܁܁ܒܒ","ܔܱݏާߌ߬߶߷","ࠂࠗࠜࠜࠦࠦࠪࠪࡂ࡚ࢢࢢ","ࢤࢮआऻिि॒॒ग़ॣॳॹ","ॻঁইকপবল","সিিয়ৡৣ৲৳","ਇਕਪਬਲਵਸ","ਜ਼ਫ਼ੴ੶ઇએઑઓ","કપબલવષિિ","ૢૣଇକପବଲଵ","ଷିିୟୡୣ୳୳அஅ","இஐஒஔஜஞஞ","பரఇఎఐఒ","ఔపబవషిిౚౢౣ","ಇಎಐಒಔಪಬವಷಿಿ","ೠೠೢೣೳഇഎഐഒഔ഼","ിിൢൣർඁඇගඳ","ඵලෂฃาิีโ่","ຄຆຆຉຊຌຌຏຏຖນ","ປມຣລວວຩຩຬອຯາ","ິີໂໆ່່ໞ༂༂","གཉཋྊྎဂာ၁၁ၒၗ","ၜၟၣၣၧၨၰၲၷႃ႐႐","ႢჇგჼჾቊቌ","ቒቘቚቚቜቢኊኌኒኲ","ኴኺዀዂዂዄዊዘዚጒ","ጔጚᎂ᎑Ꭲᐃ᙮ᙱᚁ","ᚃ᚜ᚢ᛬ᛰᛲᜂᜎᜐᜓᜢᜳ","ᝂᝓᝢᝮᝰᝲគ឵៙៙","ᠢᢂᢪᢲᤂᤞᥒ","ᥲᦂᧃᧉᨂᨘᨢᩖ᪩᪩","ᬈᭇᮅᮢ᮰᮱ᮼᯧᰂᰥ","ᱏ᱑ᱜ᱿ᳫᳮᳰᳳ᳷᳸ᴂ᷁","ḂἚἢὊὒὙὛὛ","ὝὝὟὟὡᾂᾶᾸι῀῀","ῄῆῈ῎ῒῘ῝ῢ΅ῴῶ","Ὸ῾₁₁ₒ℄℄℉℉","ℌℕ℗℗ℚ℟ΩΩℨℨKK","ℬ℻ℾ⅁ⅇ⅋⅐⅐Ⅲ↊Ⰲⰰ","ⰲⱠⱢ⳦Ⳮ⳰ⴂⴧ","ⴲⶂⶢⶨⶪⶰ","ⶲⶸⶺⷀⷂⷈⷊⷐⷒⷘⷚⷠ","〇〉〣〫〳〷〺〾ぃゝァ","ィーヾㄇㄯㄳ㆐ㆢㆼㇲ㈁","㐂䶷丂鿎ꀂꓒ꓿ꔂ꘎ꘒ꘡","Ꙃ꙰ꚁꚙꚢ꛱ꜙ꜡Ꜥ꞊","ꞍꞐꞒꞕꞢꞬꟺꠃꠅꠇꠉꠌ","ꠎꠤꡂ꡵ꢄꢵꣴ꣹ꣽꣽꤌꤧ","ꤲꥈꥢꦆꦴ꧑꧑ꨂꨪꩂꩄ","ꩆꩍꩢ꩸ꩼꩼꪂꪱꪳꪳꪷꪸ","ꪻ꪿ꫂꫂꫝ꫟ꫢꫬꫴ꫶","ꬃꬋꬓꬢꬨꬪꬰꯂꯤ","갂ힲퟍ車全fl","ﬕײַײַﬡשׁשּׁטּךּמּנּנּ","ףּצּרּ﮳ﯕ﴿ﵒﶔ","ﷲ﷽ﹲﹶﹸC\c|ィ","ᅣᅩᅯᅵCCcc","DDddEEeeFFffHHhh","IIiiJJjjKKkkLLllMMm","mNNnnOOooPPppQQqq","RRrrSSssTTttUUuu","VVvvXXxxYYyyZZzz[[{","{\\\\||ָ","","\t\v","\r","","","","","!#","%')","+-","/1","35","79",";=?","AC","EG","IK","MO","QSU","WY","[]","_a","ce","gik","mo","qs","uw","y{","}","","
","","","","","","","¡£","¥§","©«","¯","±³","µ·","¹»","½¿","ÁÃ","ÅÇ","ÉË","ÍÏ","ÑÓ","Õ×","ÙÛ","Ýß","áã","åç","éë","íï","ñó","õ÷","ùû","ýÿ","āă","ąć","ĉċ","čď","đē","ĕė","ęě","ĝğ","ġģ","ĥħ","ĩī","ĭį","ıij","ĵķ","ĹĻ","ĽĿ","ŁŃ","ŅŇ","ʼnŋ","ōŏ","őœ","ŕƥ","ƧƩ\t","ƫ\vƮ\r","Ʋƴ","ƶƸ","ƺƼ","ƾǀ","ǂDŽ!","dž#Lj%NJ","'nj)ǎ","+ǐ-Ǔ","/Ǖ1Ǘ","3ǚ5ǜ","7Ǟ9ǡ;Ǥ","=ǧ?ǩ","AǫCǮ","EDZGdz","IǵKǷ","MǹOǻQǽ","SǿUȁ","WȃYȅ","[ȇ]ȉ","_ȋaȍ","cȏeȑgȓ","iȕkȗ","mșoȠ","qȨsȰ","uȶwȿ","yɆ{Ɍ}ɐ","ɗɜ","ɢ
ɥ","ɰɷ","ɺʁ","ʈʍ","ʑʖ","ʞʣ","ʦʶ","ʿ¡˅","£ˌ¥˒","§˖©˝","«ˤ˫","¯˳±˶","³˿µ̆","·̌¹̏","»̔½̚","¿̤Ą́","Ã̳Å̸","Ç̽É͂","Ë͈Í͍","Ï͚Ñ͞","ÓͤÕͱ","×Ù΅","ÛΉÝ","ßΑáΘ","ãΝåΦ","çΫéα","ëθíπ","ïτñω","óϐõϕ","÷ϛùϢ","ûϧýϬ","ÿϰāϵ","ăϺąϿ","ćЅĉЉ","ċЏčЕ","ďЙđС","ēЩĕб","ėкęф","ěьĝі","ğѡġѧ","ģѵĥѻ","ħ҃ĩҤ","īҩĭҭ","įӁıӑ","ijӓĵӚ","ķӞĹӢ","ĻӦĽӨ","ĿӬŁӮ","ŃԆŅԔ","ŇԝʼnԦ","ŋԪōԬ","ŏԸőՈ","œ՞ŕՠ","ŗբřդ","śզŝը","şժšլ","ţծťհ","ŧղũմ","ūնŭո","ůպűռ","ųվŵր","ŷւŹք","ŻֆŽֈ","ſ֊Ɓ","ƃ֎ƅ","Ƈ֒Ɖ֔","Ƌ֖ƍ֘","Ə֚Ƒ֜","Ɠ֞ƕ֠","Ɨ֢ƙ֤","ƛ֦Ɲ֨","Ɵ֪ơ֬","ƣ֮ƥƦ","=ƦƧƨ","<ƨƩƪ","/ƪ\bƫƬ","?Ƭƭ@ƭ\n","ƮƯ<Ưư1","ưƱ1Ʊ\fƲ","Ƴ1Ƴƴ","Ƶ0Ƶƶ","ƷBƷƸ","ƹ%ƹƺ","ƻAƻƼ","ƽ(ƽƾ","ƿ?ƿǀ","ǁ-ǁǂ","ǃ}ǃDŽ","Dž.Dž džLJ",'LJ"Ljlj',"]lj$NJNj","_Nj&njǍ*","Ǎ(ǎǏ+","Ǐ*ǐǑ-Ǒ","ǒ?ǒ,Ǔǔ","~ǔ.Ǖǖ",",ǖ0Ǘǘ0","ǘǙ0Ǚ2","ǚǛ'Ǜ4ǜ","ǝ`ǝ6Ǟǟ","?ǟǠǠ8","ǡǢ>Ǣǣ","@ǣ:Ǥǥ#","ǥǦ?Ǧ<","ǧǨ>Ǩ>ǩ","Ǫ@Ǫ@ǫǬ",">Ǭǭ?ǭB","Ǯǯ@ǯǰ?","ǰDDZDz&","DzFdzǴ⟪","ǴHǵǶ《","ǶJǷǸ﹦","ǸLǹǺ>","ǺNǻǼ⟫","ǼPǽǾ》","ǾRǿȀ","ȀTȁȂ@","ȂVȃȄ¯","ȄXȅȆ‒","ȆZȇȈ–","Ȉ\\ȉȊ—","Ȋ^ȋȌ―","Ȍ`ȍȎ‖","ȎbȏȐ‗","ȐdȑȒ∔","ȒfȓȔ﹚","ȔhȕȖ﹥","ȖjȗȘ/","ȘlșȚŵ»","ȚțơÑțȜƏÈ","ȜȝſÀȝȞŹ½","ȞȟƓÊȟn","ȠȡŹ½ȡȢƟÐ","ȢȣƏÈȣȤƇÄ","Ȥȥű¹ȥȦƁÁ","ȦȧƋÆȧp","ȨȩƏÈȩȪƓÊ","ȪȫƍÇȫȬŻ¾","ȬȭƁÁȭȮƇÄ","ȮȯŹ½ȯr","ȰȱƙÍȱȲƕË","ȲȳƁÁȳȴƋÆ","ȴȵŽ¿ȵt","ȶȷƏÈȷȸŹ½","ȸȹƓÊȹȺƁÁ","ȺȻƍÇȻȼŷ¼","ȼȽƁÁȽȾŵ»","Ⱦvȿɀŵ»","ɀɁƍÇɁɂƉÅ","ɂɃƉÅɃɄƁÁ","ɄɅƗÌɅx","ɆɇƙÍɇɈƋÆ","ɈɉƁÁɉɊƍÇ","ɊɋƋÆɋz","Ɍɍű¹ɍɎƇÄ","ɎɏƇÄɏ|","ɐɑŵ»ɑɒƓÊ","ɒɓŹ½ɓɔű¹","ɔɕƗÌɕɖŹ½","ɖ~ɗɘŷ¼","ɘəƓÊəɚƍÇ","ɚɛƏÈɛ","ɜɝƁÁɝɞƋÆ","ɞɟŷ¼ɟɠŹ½","ɠɡƟÐɡ","ɢɣƍÇɣɤƋÆ","ɤɥɦŵ»","ɦɧƍÇɧɨƋÆ","ɨɩƕËɩɪƗÌ","ɪɫƓÊɫɬű¹","ɬɭƁÁɭɮƋÆ","ɮɯƗÌɯ","ɰɱű¹ɱɲƕË","ɲɳƕËɳɴŹ½","ɴɵƓÊɵɶƗÌ","ɶɷɸƁÁ","ɸɹƕËɹ","ɺɻƙÍɻɼƋÆ","ɼɽƁÁɽɾƑÉ","ɾɿƙÍɿʀŹ½","ʀʁʂŹ½","ʂʃƟÐʃʄƁÁ","ʄʅƕËʅʆƗÌ","ʆʇƕËʇ","ʈʉƇÄʉʊƍÇ","ʊʋű¹ʋʌŷ¼","ʌʍʎŵ»","ʎʏƕËʏʐƛÎ","ʐʑʒƝÏ","ʒʓƁÁʓʔƗÌ","ʔʕſÀʕ","ʖʗſÀʗʘŹ½","ʘʙű¹ʙʚŷ¼","ʚʛŹ½ʛʜƓÊ","ʜʝƕËʝ","ʞʟŻ¾ʟʠƓÊ","ʠʡƍÇʡʢƉÅ","ʢʣʤű¹","ʤʥƕËʥ","ʦʧŻ¾ʧʨƁÁ","ʨʩŹ½ʩʪƇÄ","ʪʫŷ¼ʫʬƗÌ","ʬʭŹ½ʭʮƓÊ","ʮʯƉÅʯʰƁÁ","ʰʱƋÆʱʲű¹","ʲʳƗÌʳʴƍÇ","ʴʵƓÊʵ","ʶʷƍÇʷʸƏÈ","ʸʹƗÌʹʺƁÁ","ʺʻƍÇʻʼƋÆ","ʼʽű¹ʽʾƇÄ","ʾʿˀƉÅ","ˀˁű¹ˁ˂ƗÌ","˂˃ŵ»˃˄ſÀ","˄ ˅ˆƙÍ","ˆˇƋÆˇˈƝÏ","ˈˉƁÁˉˊƋÆ","ˊˋŷ¼ˋ¢","ˌˍƉÅˍˎŹ½","ˎˏƓÊˏːŽ¿","ːˑŹ½ˑ¤","˒˓ƕË˓˔Ź½","˔˕ƗÌ˕¦","˖˗ŷ¼˗˘Ź½","˘˙ƗÌ˙˚ű¹","˚˛ŵ»˛˜ſÀ","˜¨˝˞ŷ¼","˞˟Ź½˟ˠƇÄ","ˠˡŹ½ˡˢƗÌ","ˢˣŹ½ˣª","ˤ˥ƓÊ˥˦Ź½","˦˧ƉÅ˧˨ƍÇ","˨˩ƛÎ˩˪Ź½","˪¬˫ˬŻ¾","ˬ˭ƍÇ˭ˮƓÊ","ˮ˯Ź½˯˰ű¹","˰˱ŵ»˱˲ſÀ","˲®˳˴ƁÁ","˴˵ƋÆ˵°","˶˷ŷ¼˷˸ƁÁ","˸˹ƕË˹˺ƗÌ","˺˻ƁÁ˻˼ƋÆ","˼˽ŵ»˽˾ƗÌ","˾²˿̀ƓÊ","̀́Ź½́̂ƗÌ","̂̃ƙÍ̃̄ƓÊ","̄̅ƋÆ̅´","̆̇ƍÇ̇̈ƓÊ","̈̉ŷ¼̉̊Ź½","̊̋ƓÊ̋¶","̌̍ųº̍̎ơÑ","̎¸̏̐ƕË","̐̑ƅÃ̑̒ƁÁ","̒̓ƏÈ̓º","̔̕ƇÄ̖̕ƁÁ","̖̗ƉÅ̗̘ƁÁ","̘̙ƗÌ̙¼","̛̚ű¹̛̜ƕË","̜̝ŵ»̝̞Ź½","̞̟ƋÆ̟̠ŷ¼","̡̠ƁÁ̡̢ƋÆ","̢̣Ž¿̣¾","̤̥ű¹̥̦ƕË","̧̦ŵ»̧À","̨̩ŷ¼̩̪Ź½","̪̫ƕË̫̬ŵ»","̬̭Ź½̭̮ƋÆ","̮̯ŷ¼̯̰ƁÁ","̰̱ƋÆ̱̲Ž¿","̲Â̴̳ŷ¼","̴̵Ź½̵̶ƕË","̶̷ŵ»̷Ä","̸̹ƃÂ̹̺ƍÇ","̺̻ƁÁ̻̼ƋÆ","̼Æ̽̾ƕË","̾̿ŵ»̿̀ű¹","̀́ƋǼÈ","͂̓ƕË̓̈́ƗÌ","̈́ͅű¹͆ͅƓÊ","͇͆ƗÌ͇Ê","͈͉ƋÆ͉͊ƍÇ","͊͋ŷ¼͋͌Ź½","͌Ì͍͎ƓÊ","͎͏Ź½͏͐ƇÄ","͐͑ű¹͑͒ƗÌ","͓͒ƁÁ͓͔ƍÇ","͔͕ƋÆ͕͖ƕË","͖͗ſÀ͗͘ƁÁ","͙͘ƏÈ͙Î","͚͛ƓÊ͛͜Ź½","͜͝ƇÄ͝Ð","͟͞ƝÏ͟͠ſÀ","͠͡Ź½͢͡ƓÊ","ͣ͢Ź½ͣÒ","ͤͥƕËͥͦſÀ","ͦͧƍÇͧͨƓÊ","ͨͩƗÌͩͪŹ½","ͪͫƕËͫͬƗÌ","ͬͭƏÈͭͮű¹","ͮͯƗÌͯͰſÀ","ͰÔͱͲű¹","ͲͳƇÄͳʹƇÄ","ʹ͵ƕË͵ͶſÀ","ͶͷƍÇͷƓÊ","ƗÌͺŹ½","ͺͻƕËͻͼƗÌ","ͼͽƏÈͽ;ű¹",";ͿƗÌͿſÀ","ƕËÖ","ƍÇ΄ƓÊ","΄Ø΅ΆƟÐ","Ά·ƍÇ·ΈƓÊ","ΈÚΉΊű¹","ΊƋÆΌŷ¼","ΌÜΎƋÆ","ΎΏƍÇΏΐƗÌ","ΐÞΑΒƕË","ΒΓƗÌΓΔű¹","ΔΕƓÊΕΖƗÌ","ΖΗƕËΗà","ΘΙŹ½ΙΚƋÆ","ΚΛŷ¼ΛΜƕË","ΜâΝΞŵ»","ΞΟƍÇΟΠƋÆ","ΠΡƗÌΡű¹","ΣƁÁΣΤƋÆ","ΤΥƕËΥä","ΦΧƋÆΧΨƙÍ","ΨΩƇÄΩΪƇÄ","ΪæΫάŵ»","άέƍÇέήƙÍ","ήίƋÆίΰƗÌ","ΰèαβŻ¾","βγƁÁγδƇÄ","δεƗÌεζŹ½","ζηƓÊηê","θιŹ½ικƟÐ","κλƗÌλμƓÊ","μνű¹νξŵ»","ξοƗÌοì","πρű¹ρςƋÆ","ςσơÑσî","τυƋÆυφƍÇ","φχƋÆχψŹ½","ψðωϊƕË","ϊϋƁÁϋόƋÆ","όύŽ¿ύώƇÄ","ώϏŹ½Ϗò","ϐϑƗÌϑϒƓÊ","ϒϓƙÍϓϔŹ½","ϔôϕϖŻ¾","ϖϗű¹ϗϘƇÄ","ϘϙƕËϙϚŹ½","ϚöϛϜƓÊ","ϜϝŹ½ϝϞŷ¼","ϞϟƙÍϟϠŵ»","ϠϡŹ½ϡø","Ϣϣŵ»ϣϤű¹","ϤϥƕËϥϦŹ½","ϦúϧϨŹ½","ϨϩƇÄϩϪƕË","ϪϫŹ½ϫü","ϬϭŹ½ϭϮƋÆ","Ϯϯŷ¼ϯþ","ϰϱƝÏϱϲſÀ","ϲϳŹ½ϳϴƋÆ","ϴĀϵ϶ƗÌ","϶ϷſÀϷϸŹ½","ϸϹƋÆϹĂ","Ϻϻŵ»ϻϼű¹","ϼϽƇÄϽϾƇÄ","ϾĄϿЀơÑ","ЀЁƁÁЁЂŹ½","ЂЃƇÄЃЄŷ¼","ЄĆЅІƅÃ","ІЇŹ½ЇЈơÑ","ЈĈЉЊųº","ЊЋƗÌЋЌƓÊ","ЌЍŹ½ЍЎŹ½","ЎĊЏАŹ½","АБƟÐБВƁÁ","ВГƕËГДƗÌ","ДČЕЖŻ¾","ЖЗƍÇЗИƓÊ","ИĎЙКƍÇ","КЛƏÈЛМƗÌ","МНƁÁНОƍÇ","ОПƋÆПРƕË","РĐСТŹ½","ТУƟÐУФŹ½","ФХŵ»ХЦƙÍ","ЦЧƗÌЧШŹ½","ШĒЩЪŷ¼","ЪЫŹ½ЫЬŻ¾","ЬЭƁÁЭЮƋÆ","ЮЯŹ½Яаŷ¼","аĔбвŻ¾","вгƙÍгдƋÆ","деŵ»ежƗÌ","жзƁÁзиƍÇ","ийƋÆйĖ","клŻ¾лмƙÍ","мнƋÆноŵ»","опƗÌпрƁÁ","рсƍÇстƋÆ","туƕËуĘ","фхųºхцƍÇ","цчƍÇчшƕË","шщƗÌщъŹ½","ъыŷ¼ыĚ","ьэƏÈэюƓÊ","юяƍÇяѐŵ»","ѐёŹ½ёђŷ¼","ђѓƙÍѓєƓÊ","єѕŹ½ѕĜ","іїƏÈїјƓÊ","јљƍÇљњŵ»","њћŹ½ћќŷ¼","ќѝƙÍѝўƓÊ","ўџŹ½џѠƕË","ѠĞѡѢű¹","Ѣѣŷ¼ѣѤƉÅ","ѤѥƁÁѥѦƋÆ","ѦĠѧѨű¹","Ѩѩŷ¼ѩѪƉÅ","ѪѫƁÁѫѬƋÆ","ѬѭƁÁѭѮƕË","ѮѯƗÌѯѰƓÊ","Ѱѱű¹ѱѲƗÌ","ѲѳƍÇѳѴƓÊ","ѴĢѵѶųº","ѶѷƓÊѷѸƁÁ","ѸѹŹ½ѹѺŻ¾","ѺĤѻѼƛÎ","ѼѽŹ½ѽѾƓÊ","ѾѿųºѿҀƍÇ","ҀҁƕËҁ҂Ź½","҂Ħ҃҄ƍÇ","҄҅ƙÍ҅҆ƗÌ","҆҇ƏÈ҇҈ƙÍ","҈҉ƗÌ҉Ĩ","Ҋғ$ҋҒ\nҌ","ҏ^ҍҐ\vҎ","Ґҏҍҏ","ҎҐҒґ","ҋґҌҒ","ҕғґғ","ҔҔҖҕ","ғҖҥ$җ","Ҡ)Ҙҟ\nҙҜ","^Қҝ\vқҝ","ҜҚҜқ","ҝҟҞҘ","ҞҙҟҢ","ҠҞҠҡ","ҡңҢҠ","ңҥ)ҤҊ","ҤҗҥĪ","Ҧҧ'ҧҨ","\tҨҪ\tҩҦ","Ҫҫҫҩ","ҫҬҬĬ","ҭҿ^ҮӀ\t","үҰ\tҰұķ","ұҲķҲҳķ","ҳҴķҴӀ","ҵҶ\tҶҷķ","ҷҸķҸҹķ","ҹҺķҺһķ","һҼķҼҽķ","ҽҾķҾӀ","ҿҮҿү","ҿҵӀĮ","Ӂӂ2ӂӃz","ӃӅӄӆķ","ӅӄӆӇ","ӇӅӇӈ","ӈİӉӒŁ¡","ӊӎĻӋӍĹ","ӌӋӍӐ","ӎӌӎӏ","ӏӒӐӎ","ӑӉӑӊ","ӒIJӓӕŁ¡","ӔӖĿ ӕӔ","Ӗӗӗӕ","ӗӘӘĴ","әӛ\tӚә","ӛĶӜӟĹ","ӝӟĵӞӜ","Ӟӝӟĸ","ӠӣŁ¡ӡӣĻ","ӢӠӢӡ","ӣĺӤӧĽ","ӥӧ:;ӦӤ","Ӧӥӧļ","Өө39өľӪ","ӭŁ¡ӫӭĽӬ","ӪӬӫӭ","ŀӮӯ2ӯ","łӰӲĹӱ","ӰӲӳӳ","ӱӳӴӴ","ԇӵӷĹӶ","ӵӷӸӸ","ӶӸӹӹ","ӺӺӼ0ӻ","ӽĹӼӻӽ","ӾӾӼӾ","ӿӿԇԀ","Ԃ0ԁԃĹԂ","ԁԃԄԄ","ԂԄԅԅ","ԇԆӱԆ","ӶԆԀԇ","ԈԈԊ\t\bԉԋ","/ԊԉԊԋ","ԋԍԌԎ","ĹԍԌԎԏ","ԏԍԏԐ","Ԑńԑԓ","ĹԒԑԓԖ","ԔԒԔԕ","ԕԗԖԔ","ԗԙ0ԘԚ","ĹԙԘԚԛ","ԛԙԛԜ","Ԝņԝԡ","ʼn¥ԞԠŋ¦ԟԞ","Ԡԣԡԟ","ԡԢԢň","ԣԡԤԧ","ů¸ԥԧ\t\tԦԤ","ԦԥԧŊ","Ԩԫś®ԩԫ","ţ²ԪԨԪԩ","ԫŌԬԲ","bԭԱ\n\nԮԯb","ԯԱbԭ","ԮԱԴ","ԲԲԳ","ԳԵԴԲ","ԵԶbԶŎ","ԷԹő©ԸԷ","ԹԺԺԸ","ԺԻԻŐ","ԼՉť³ԽՉŧ´","ԾՉũµԿՉū¶","ՀՉŗ¬ՁՉš±","ՂՉş°ՃՉŝ¯","ՄՉřՅՉŭ·","ՆՉ\t\vՇՉœª","ՈԼՈԽ","ՈԾՈԿ","ՈՀՈՁ","ՈՂՈՃ","ՈՄՈՅ","ՈՆՈՇ","ՉŒՊՋ1","ՋՌ,ՌՐ","ՍՏ\vՎՍ","ՏՒՐՑ","ՐՎՑՓ","ՒՐՓՔ,","Ք՟1ՕՖ1Ֆ","1՛","՚\n\fՙ՚՝","՛ՙ՛՜","՜՟՝՛","՞Պ՞Օ","՟Ŕՠա","\vաŖբգ","\t\rգŘդե\t","եŚզէ\t","էŜըթ\t","թŞժի\t","իŠլխ\t","խŢծկ\t","կŤհձ\t","ձŦղճ\t","ճŨմյ\t","յŪնշ\t","շŬոչ\t","չŮպջ\t","ջŰռս\t","սŲվտ\t","տŴրց\t","ցŶւփ\t","փŸքօ\t\b","օźֆև\t","ևżֈ։\t","։ž֊\t ","ƀ֍\t!֍",'Ƃ֎֏\t"֏Ƅ',"֑\t#֑Ɔ","֒֓\t$֓ƈ","֔֕\t%֕Ɗ","֖֗\t&֗ƌ","֘֙\t'֙Ǝ֚","֛\t(֛Ɛ֜֝","\t)֝ƒ֞֟\t*","֟Ɣ֠֡\t+","֡Ɩ֢֣\t,֣","Ƙ֤֥\t֥","ƚ֦֧\t-֧Ɯ","֨֩\t.֩ƞ","֪֫\t/֫Ơ","֭֬\t0֭Ƣ","֮֯\t1֯Ƥ","(ҏґғҜҞҠҤҫҿӇ","ӎӑӗӚӞӢӦӬӳӸӾԄ","ԆԊԏԔԛԡԦԪԲԺՈ","Ր՛՞"].join(""),o=(new r.atn.ATNDeserializer).deserialize(i),a=o.decisionToState.map((function(e,t){return new r.dfa.DFA(e,t)}));function s(e){return r.Lexer.call(this,e),this._interp=new r.atn.LexerATNSimulator(this,o,a,new r.PredictionContextCache),this}s.prototype=Object.create(r.Lexer.prototype),s.prototype.constructor=s,s.EOF=r.Token.EOF,s.T__0=1,s.T__1=2,s.T__2=3,s.T__3=4,s.T__4=5,s.T__5=6,s.T__6=7,s.T__7=8,s.T__8=9,s.T__9=10,s.T__10=11,s.T__11=12,s.T__12=13,s.T__13=14,s.T__14=15,s.T__15=16,s.T__16=17,s.T__17=18,s.T__18=19,s.T__19=20,s.T__20=21,s.T__21=22,s.T__22=23,s.T__23=24,s.T__24=25,s.T__25=26,s.T__26=27,s.T__27=28,s.T__28=29,s.T__29=30,s.T__30=31,s.T__31=32,s.T__32=33,s.T__33=34,s.T__34=35,s.T__35=36,s.T__36=37,s.T__37=38,s.T__38=39,s.T__39=40,s.T__40=41,s.T__41=42,s.T__42=43,s.T__43=44,s.T__44=45,s.T__45=46,s.T__46=47,s.T__47=48,s.T__48=49,s.T__49=50,s.T__50=51,s.T__51=52,s.T__52=53,s.CYPHER=54,s.EXPLAIN=55,s.PROFILE=56,s.USING=57,s.PERIODIC=58,s.COMMIT=59,s.UNION=60,s.ALL=61,s.CREATE=62,s.DROP=63,s.INDEX=64,s.ON=65,s.CONSTRAINT=66,s.ASSERT=67,s.IS=68,s.UNIQUE=69,s.EXISTS=70,s.LOAD=71,s.CSV=72,s.WITH=73,s.HEADERS=74,s.FROM=75,s.AS=76,s.FIELDTERMINATOR=77,s.OPTIONAL=78,s.MATCH=79,s.UNWIND=80,s.MERGE=81,s.SET=82,s.DETACH=83,s.DELETE=84,s.REMOVE=85,s.FOREACH=86,s.IN=87,s.DISTINCT=88,s.RETURN=89,s.ORDER=90,s.BY=91,s.L_SKIP=92,s.LIMIT=93,s.ASCENDING=94,s.ASC=95,s.DESCENDING=96,s.DESC=97,s.JOIN=98,s.SCAN=99,s.START=100,s.NODE=101,s.RELATIONSHIP=102,s.REL=103,s.WHERE=104,s.SHORTESTPATH=105,s.ALLSHORTESTPATHS=106,s.OR=107,s.XOR=108,s.AND=109,s.NOT=110,s.STARTS=111,s.ENDS=112,s.CONTAINS=113,s.NULL=114,s.COUNT=115,s.FILTER=116,s.EXTRACT=117,s.ANY=118,s.NONE=119,s.SINGLE=120,s.TRUE=121,s.FALSE=122,s.REDUCE=123,s.CASE=124,s.ELSE=125,s.END=126,s.WHEN=127,s.THEN=128,s.CALL=129,s.YIELD=130,s.KEY=131,s.BTREE=132,s.EXIST=133,s.FOR=134,s.OPTIONS=135,s.EXECUTE=136,s.DEFINED=137,s.FUNCTION=138,s.FUNCTIONS=139,s.BOOSTED=140,s.PROCEDURE=141,s.PROCEDURES=142,s.ADMIN=143,s.ADMINISTRATOR=144,s.BRIEF=145,s.VERBOSE=146,s.OUTPUT=147,s.StringLiteral=148,s.UrlHex=149,s.EscapedChar=150,s.HexInteger=151,s.DecimalInteger=152,s.OctalInteger=153,s.HexLetter=154,s.HexDigit=155,s.Digit=156,s.NonZeroDigit=157,s.NonZeroOctDigit=158,s.OctDigit=159,s.ZeroDigit=160,s.ExponentDecimalReal=161,s.RegularDecimalReal=162,s.UnescapedSymbolicName=163,s.IdentifierStart=164,s.IdentifierPart=165,s.EscapedSymbolicName=166,s.SP=167,s.WHITESPACE=168,s.Comment=169,s.ERROR_TOKEN=170,s.prototype.channelNames=["DEFAULT_TOKEN_CHANNEL","HIDDEN"],s.prototype.modeNames=["DEFAULT_MODE"],s.prototype.literalNames=[null,"';'","':'","'-'","'=>'","'://'","'/'","'.'","'@'","'#'","'?'","'&'","'='","'+'","'{'","','","'}'","'['","']'","'('","')'","'+='","'|'","'*'","'..'","'%'","'^'","'=~'","'<>'","'!='","'<'","'>'","'<='","'>='","'$'","'⟨'","'〈'","'﹤'","'<'","'⟩'","'〉'","'﹥'","'>'","''","'‐'","'‑'","'‒'","'–'","'—'","'―'","'−'","'﹘'","'﹣'","'-'",null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"'0'"],s.prototype.symbolicNames=[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"CYPHER","EXPLAIN","PROFILE","USING","PERIODIC","COMMIT","UNION","ALL","CREATE","DROP","INDEX","ON","CONSTRAINT","ASSERT","IS","UNIQUE","EXISTS","LOAD","CSV","WITH","HEADERS","FROM","AS","FIELDTERMINATOR","OPTIONAL","MATCH","UNWIND","MERGE","SET","DETACH","DELETE","REMOVE","FOREACH","IN","DISTINCT","RETURN","ORDER","BY","L_SKIP","LIMIT","ASCENDING","ASC","DESCENDING","DESC","JOIN","SCAN","START","NODE","RELATIONSHIP","REL","WHERE","SHORTESTPATH","ALLSHORTESTPATHS","OR","XOR","AND","NOT","STARTS","ENDS","CONTAINS","NULL","COUNT","FILTER","EXTRACT","ANY","NONE","SINGLE","TRUE","FALSE","REDUCE","CASE","ELSE","END","WHEN","THEN","CALL","YIELD","KEY","BTREE","EXIST","FOR","OPTIONS","EXECUTE","DEFINED","FUNCTION","FUNCTIONS","BOOSTED","PROCEDURE","PROCEDURES","ADMIN","ADMINISTRATOR","BRIEF","VERBOSE","OUTPUT","StringLiteral","UrlHex","EscapedChar","HexInteger","DecimalInteger","OctalInteger","HexLetter","HexDigit","Digit","NonZeroDigit","NonZeroOctDigit","OctDigit","ZeroDigit","ExponentDecimalReal","RegularDecimalReal","UnescapedSymbolicName","IdentifierStart","IdentifierPart","EscapedSymbolicName","SP","WHITESPACE","Comment","ERROR_TOKEN"],s.prototype.ruleNames=["T__0","T__1","T__2","T__3","T__4","T__5","T__6","T__7","T__8","T__9","T__10","T__11","T__12","T__13","T__14","T__15","T__16","T__17","T__18","T__19","T__20","T__21","T__22","T__23","T__24","T__25","T__26","T__27","T__28","T__29","T__30","T__31","T__32","T__33","T__34","T__35","T__36","T__37","T__38","T__39","T__40","T__41","T__42","T__43","T__44","T__45","T__46","T__47","T__48","T__49","T__50","T__51","T__52","CYPHER","EXPLAIN","PROFILE","USING","PERIODIC","COMMIT","UNION","ALL","CREATE","DROP","INDEX","ON","CONSTRAINT","ASSERT","IS","UNIQUE","EXISTS","LOAD","CSV","WITH","HEADERS","FROM","AS","FIELDTERMINATOR","OPTIONAL","MATCH","UNWIND","MERGE","SET","DETACH","DELETE","REMOVE","FOREACH","IN","DISTINCT","RETURN","ORDER","BY","L_SKIP","LIMIT","ASCENDING","ASC","DESCENDING","DESC","JOIN","SCAN","START","NODE","RELATIONSHIP","REL","WHERE","SHORTESTPATH","ALLSHORTESTPATHS","OR","XOR","AND","NOT","STARTS","ENDS","CONTAINS","NULL","COUNT","FILTER","EXTRACT","ANY","NONE","SINGLE","TRUE","FALSE","REDUCE","CASE","ELSE","END","WHEN","THEN","CALL","YIELD","KEY","BTREE","EXIST","FOR","OPTIONS","EXECUTE","DEFINED","FUNCTION","FUNCTIONS","BOOSTED","PROCEDURE","PROCEDURES","ADMIN","ADMINISTRATOR","BRIEF","VERBOSE","OUTPUT","StringLiteral","UrlHex","EscapedChar","HexInteger","DecimalInteger","OctalInteger","HexLetter","HexDigit","Digit","NonZeroDigit","NonZeroOctDigit","OctDigit","ZeroDigit","ExponentDecimalReal","RegularDecimalReal","UnescapedSymbolicName","IdentifierStart","IdentifierPart","EscapedSymbolicName","SP","WHITESPACE","Comment","ERROR_TOKEN","FF","RS","ID_Continue","GS","FS","CR","Sc","SPACE","TAB","LF","VT","US","ID_Start","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],s.prototype.grammarFileName="Cypher.g4",t.CypherLexer=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createCypherLexer=t.extractStatements=t.parse=t.TreeUtils=t.CypherKeywords=t.CypherTypes=t.CypherEditorSupport=void 0;var r,i=n(46),o=n(5),a=n(40),s=n(92),l=n(95),c=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(1)),u=(r=n(23))&&r.__esModule?r:{default:r};t.CypherEditorSupport=i.CypherEditorSupport,t.CypherTypes=c,t.CypherKeywords=u.default,t.TreeUtils=o.TreeUtils,t.parse=a.parse,t.extractStatements=s.extractStatements,t.createCypherLexer=l.createCypherLexer},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CypherEditorSupport=void 0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=n(47),a=n(81),s=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(1)),l=n(87),c=n(5),u=n(88),h=n(89),p=n(40);t.CypherEditorSupport=function(){function e(){var t=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.schema={},this.input=null,this.positionConverter=new u.PositionConverter(""),this.parseTree=null,this.parseErrors=[],this.referencesProviders={},this.completion=new a.AutoCompletion,this.queriesAndCommands=[],this.statements=[],this.listeners=[],this.version=0,this.ensureVersion=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:30,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:5;return(0,h.retryOperation)((function(){return new Promise((function(n,r){return e===t.version?n():r()}))}),n,r)},this.update(n)}return i(e,[{key:"on",value:function(e,t){this.listeners[e]=Array.isArray(this.listeners[e])?this.listeners[e].concat([t]):this.listeners[e]=[t]}},{key:"off",value:function(e,t){if(this.listeners[e]){var n=this.listeners[e].indexOf(t);n>-1&&this.listeners[e].splice(n,1)}}},{key:"trigger",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];this.listeners[e]&&this.listeners[e].forEach((function(e){return e.apply(void 0,function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(t))}))}},{key:"update",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments[1];if(this.trigger("update"),e===this.input)return this.version=t||this.version,void this.trigger("updated",[{queriesAndCommands:this.queriesAndCommands,referencesProviders:this.referencesProviders}]);this.positionConverter=new u.PositionConverter(e),this.input=e;var n=(0,p.parse)(e),r=n.parseTree,i=n.referencesListener,o=n.errorListener,a=n.referencesProviders;this.parseTree=r,this.parseErrors=o.errors;var s=i.queriesAndCommands,l=i.statements;this.statements=l,this.queriesAndCommands=s,this.referencesProviders=a,this.completion.updateReferenceProviders(this.referencesProviders),this.version=t||this.version,this.trigger("updated",[{queriesAndCommands:this.queriesAndCommands,referencesProviders:this.referencesProviders}])}},{key:"setSchema",value:function(e){this.schema=e,this.completion.updateSchema(this.schema)}},{key:"getElement",value:function(e,t){var n=this.positionConverter.toAbsolute(e,t);return function e(t){var r=c.TreeUtils.getPosition(t);if(null!=r&&(n<r.start||n>r.stop))return null;var i=t.getChildCount();if(0===i&&null!=r)return t;for(var o=0;o<i;o+=1){var a=e(t.getChild(o));if(null!=a)return a}return null!=r?t:null}(this.parseTree)}},{key:"getReferences",value:function(e,t){var n=c.TreeUtils.findAnyParent(this.getElement(e,t),s.SYMBOLIC_CONTEXTS);if(null==n)return[];var r=n.constructor.name,i=r===s.VARIABLE_CONTEXT?c.TreeUtils.findAnyParent(n,[s.QUERY_CONTEXT]):null;return this.referencesProviders[r].getReferences(n.getText(),i)}},{key:"getCompletionInfo",value:function(e,t){var n=this.getElementForCompletion(e,t),r=c.TreeUtils.findAnyParent(n,[s.QUERY_CONTEXT]),i=o.CompletionTypeResolver.getTypes(n);return{element:n,query:r,found:i.found,types:i.types}}},{key:"getElementForCompletion",value:function(e,t){var n=this.getElement(e,t);return c.TreeUtils.findAnyParent(n,s.COMPLETION_CANDIDATES)||n}},{key:"getCompletion",value:function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],i=this.getCompletionInfo(e,t);if(!i.found&&t>0){var o=this.getCompletionInfo(e,t-1);o.found&&(i=o)}var s=i,l=s.element,u=s.query,h=s.found,p=s.types,d={from:{line:e,column:t},to:{line:e,column:t}},f=null,m=a.AutoCompletion.shouldBeReplaced(l);if(h&&m){var g=c.TreeUtils.getPosition(l),y=g.start,v=g.stop,_=a.AutoCompletion.calculateSmartReplaceRange(l,y,v);_?(d.from=this.positionConverter.toRelative(_.start),d.to=this.positionConverter.toRelative(_.stop+1),_.filterText&&(f=_.filterText)):(d.from=this.positionConverter.toRelative(y),d.to=this.positionConverter.toRelative(v+1))}return null===f&&(f=n&&h&&m?l.getText():""),r({items:this.completion.getItems(p,{filter:f,query:u,elementType:l?l.constructor.name:"unknown"})},d)}},{key:"applyHighlighthing",value:function(e){l.CypherSyntaxHighlight.process(this.parseTree,e)}}]),e}()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CompletionTypeResolver=void 0;var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=a(n(3)),o=a(n(48));function a(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}var s=[o.ruleNoop,o.ruleVariableInExpressionPossibleFunction,o.ruleLiteralEntry,o.rulePropInMapLiteral,o.ruleParamStartsWithDollar,o.ruleSpecificParent,o.ruleNodePattern,o.ruleRelationshipPattern,o.ruleProcedureOutputsInCallClause,o.ruleCallClauseBeginning,o.ruleConsoleCommandSubcommands,o.rulePropertyLookup,o.rulePossibleKeyword];t.CompletionTypeResolver=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return r(e,null,[{key:"getTypes",value:function(e){if(null==e)return{found:!1,types:i.ALL};var t=function(e){for(var t=0;t<s.length;t+=1){var n=(0,s[t])(e);if(n.length>0)return n}return[]}(e);return t.length>0?{found:!0,types:t}:{found:!1,types:i.ALL}}}]),e}()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ruleParamStartsWithDollar=t.ruleNoop=t.ruleConsoleCommandSubcommands=t.ruleLiteralEntry=t.rulePropInMapLiteral=t.rulePropertyLookup=t.ruleNodePattern=t.ruleRelationshipPattern=t.rulePossibleKeyword=t.ruleCallClauseBeginning=t.ruleProcedureOutputsInCallClause=t.ruleVariableInExpressionPossibleFunction=t.ruleSpecificParent=void 0;var r=g(n(49)),i=g(n(67)),o=g(n(68)),a=g(n(69)),s=g(n(70)),l=g(n(73)),c=g(n(74)),u=g(n(75)),h=g(n(76)),p=g(n(77)),d=g(n(78)),f=g(n(79)),m=g(n(80));function g(e){return e&&e.__esModule?e:{default:e}}t.ruleSpecificParent=r.default,t.ruleVariableInExpressionPossibleFunction=i.default,t.ruleProcedureOutputsInCallClause=o.default,t.ruleCallClauseBeginning=a.default,t.rulePossibleKeyword=s.default,t.ruleRelationshipPattern=l.default,t.ruleNodePattern=c.default,t.rulePropertyLookup=u.default,t.rulePropInMapLiteral=h.default,t.ruleLiteralEntry=p.default,t.ruleConsoleCommandSubcommands=d.default,t.ruleNoop=f.default,t.ruleParamStartsWithDollar=m.default},function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0});var i=s(n(1)),o=s(n(3)),a=n(5);function s(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var c=(l(r={},i.VARIABLE_CONTEXT,[{type:o.VARIABLE}]),l(r,i.PARAMETER_NAME_CONTEXT,[{type:o.PARAMETER}]),l(r,i.PROPERTY_KEY_NAME_CONTEXT,[{type:o.PROPERTY_KEY}]),l(r,i.FUNCTION_NAME_CONTEXT,[{type:o.FUNCTION_NAME}]),l(r,i.PROCEDURE_NAME_CONTEXT,[{type:o.PROCEDURE_NAME}]),l(r,i.NODE_LABEL_CONTEXT,[{type:o.LABEL}]),l(r,i.RELATIONSHIP_TYPE_CONTEXT,[{type:o.RELATIONSHIP_TYPE}]),l(r,i.RELATIONSHIP_TYPE_OPTIONAL_COLON_CONTEXT,[{type:o.RELATIONSHIP_TYPE}]),l(r,i.CONSOLE_COMMAND_NAME_CONTEXT,[{type:o.CONSOLE_COMMAND_NAME}]),l(r,i.NODE_LABELS_CONTEXT,[{type:o.LABEL}]),l(r,i.RELATIONSHIP_TYPES_CONTEXT,[{type:o.RELATIONSHIP_TYPE}]),r);t.default=function(e){var t=a.TreeUtils.findAnyParent(e,Object.keys(c));return null!=t?c[t.constructor.name]:[]}},function(e,t,n){t.ATN=n(11).ATN,t.ATNDeserializer=n(27).ATNDeserializer,t.LexerATNSimulator=n(53).LexerATNSimulator,t.ParserATNSimulator=n(56).ParserATNSimulator,t.PredictionMode=n(32).PredictionMode},function(e,t,n){var r=n(0).Set,i=n(0).BitSet,o=n(2).Token,a=n(16).ATNConfig,s=(n(4).Interval,n(4).IntervalSet),l=n(7).RuleStopState,c=n(12).RuleTransition,u=n(12).NotSetTransition,h=n(12).WildcardTransition,p=n(12).AbstractPredicateTransition,d=n(10),f=d.predictionContextFromRuleContext,m=d.PredictionContext,g=d.SingletonPredictionContext;function y(e){this.atn=e}y.HIT_PRED=o.INVALID_TYPE,y.prototype.getDecisionLookahead=function(e){if(null===e)return null;for(var t=e.transitions.length,n=[],o=0;o<t;o++){n[o]=new s;var a=new r;this._LOOK(e.transition(o).target,null,m.EMPTY,n[o],a,new i,!1,!1),(0===n[o].length||n[o].contains(y.HIT_PRED))&&(n[o]=null)}return n},y.prototype.LOOK=function(e,t,n){var o=new s,a=null!==(n=n||null)?f(e.atn,n):null;return this._LOOK(e,t,a,o,new r,new i,!0,!0),o},y.prototype._LOOK=function(e,t,n,r,i,s,d,f){var v=new a({state:e,alt:0,context:n},null);if(!i.contains(v)){if(i.add(v),e===t){if(null===n)return void r.addOne(o.EPSILON);if(n.isEmpty()&&f)return void r.addOne(o.EOF)}if(e instanceof l){if(null===n)return void r.addOne(o.EPSILON);if(n.isEmpty()&&f)return void r.addOne(o.EOF);if(n!==m.EMPTY){for(var _=0;_<n.length;_++){var b=this.atn.states[n.getReturnState(_)],E=s.contains(b.ruleIndex);try{s.remove(b.ruleIndex),this._LOOK(b,t,n.getParent(_),r,i,s,d,f)}finally{E&&s.add(b.ruleIndex)}}return}}for(var T=0;T<e.transitions.length;T++){var x=e.transitions[T];if(x.constructor===c){if(s.contains(x.target.ruleIndex))continue;var S=g.create(n,x.followState.stateNumber);try{s.add(x.target.ruleIndex),this._LOOK(x.target,t,S,r,i,s,d,f)}finally{s.remove(x.target.ruleIndex)}}else if(x instanceof p)d?this._LOOK(x.target,t,n,r,i,s,d,f):r.addOne(y.HIT_PRED);else if(x.isEpsilon)this._LOOK(x.target,t,n,r,i,s,d,f);else if(x.constructor===h)r.addRange(o.MIN_USER_TOKEN_TYPE,this.atn.maxTokenType);else{var C=x.label;null!==C&&(x instanceof u&&(C=C.complement(o.MIN_USER_TOKEN_TYPE,this.atn.maxTokenType)),r.addSet(C))}}}},t.LL1Analyzer=y},function(e,t){function n(){}n.LEXER=0,n.PARSER=1,t.ATNType=n},function(e,t,n){var r=n(2).Token,i=n(18).Lexer,o=n(11).ATN,a=n(31).ATNSimulator,s=n(15).DFAState,l=(n(13).ATNConfigSet,n(13).OrderedATNConfigSet),c=n(10).PredictionContext,u=n(10).SingletonPredictionContext,h=n(7).RuleStopState,p=n(16).LexerATNConfig,d=n(12).Transition,f=n(55).LexerActionExecutor,m=n(9).LexerNoViableAltException;function g(e){e.index=-1,e.line=0,e.column=-1,e.dfaState=null}function y(){return g(this),this}function v(e,t,n,r){return a.call(this,t,r),this.decisionToDFA=n,this.recog=e,this.startIndex=-1,this.line=1,this.column=0,this.mode=i.DEFAULT_MODE,this.prevAccept=new y,this}y.prototype.reset=function(){g(this)},v.prototype=Object.create(a.prototype),v.prototype.constructor=v,v.debug=!1,v.dfa_debug=!1,v.MIN_DFA_EDGE=0,v.MAX_DFA_EDGE=127,v.match_calls=0,v.prototype.copyState=function(e){this.column=e.column,this.line=e.line,this.mode=e.mode,this.startIndex=e.startIndex},v.prototype.match=function(e,t){this.match_calls+=1,this.mode=t;var n=e.mark();try{this.startIndex=e.index,this.prevAccept.reset();var r=this.decisionToDFA[t];return null===r.s0?this.matchATN(e):this.execATN(e,r.s0)}finally{e.release(n)}},v.prototype.reset=function(){this.prevAccept.reset(),this.startIndex=-1,this.line=1,this.column=0,this.mode=i.DEFAULT_MODE},v.prototype.matchATN=function(e){var t=this.atn.modeToStartState[this.mode];v.debug&&console.log("matchATN mode "+this.mode+" start: "+t);var n=this.mode,r=this.computeStartState(e,t),i=r.hasSemanticContext;r.hasSemanticContext=!1;var o=this.addDFAState(r);i||(this.decisionToDFA[this.mode].s0=o);var a=this.execATN(e,o);return v.debug&&console.log("DFA after matchATN: "+this.decisionToDFA[n].toLexerString()),a},v.prototype.execATN=function(e,t){v.debug&&console.log("start state closure="+t.configs),t.isAcceptState&&this.captureSimState(this.prevAccept,e,t);for(var n=e.LA(1),i=t;;){v.debug&&console.log("execATN loop starting closure: "+i.configs);var o=this.getExistingTargetState(i,n);if(null===o&&(o=this.computeTargetState(e,i,n)),o===a.ERROR)break;if(n!==r.EOF&&this.consume(e),o.isAcceptState&&(this.captureSimState(this.prevAccept,e,o),n===r.EOF))break;n=e.LA(1),i=o}return this.failOrAccept(this.prevAccept,e,i.configs,n)},v.prototype.getExistingTargetState=function(e,t){if(null===e.edges||t<v.MIN_DFA_EDGE||t>v.MAX_DFA_EDGE)return null;var n=e.edges[t-v.MIN_DFA_EDGE];return void 0===n&&(n=null),v.debug&&null!==n&&console.log("reuse state "+e.stateNumber+" edge to "+n.stateNumber),n},v.prototype.computeTargetState=function(e,t,n){var r=new l;return this.getReachableConfigSet(e,t.configs,r,n),0===r.items.length?(r.hasSemanticContext||this.addDFAEdge(t,n,a.ERROR),a.ERROR):this.addDFAEdge(t,n,null,r)},v.prototype.failOrAccept=function(e,t,n,i){if(null!==this.prevAccept.dfaState){var o=e.dfaState.lexerActionExecutor;return this.accept(t,o,this.startIndex,e.index,e.line,e.column),e.dfaState.prediction}if(i===r.EOF&&t.index===this.startIndex)return r.EOF;throw new m(this.recog,t,this.startIndex,n)},v.prototype.getReachableConfigSet=function(e,t,n,i){for(var a=o.INVALID_ALT_NUMBER,s=0;s<t.items.length;s++){var l=t.items[s],c=l.alt===a;if(!c||!l.passedThroughNonGreedyDecision){v.debug&&console.log("testing %s at %s\n",this.getTokenName(i),l.toString(this.recog,!0));for(var u=0;u<l.state.transitions.length;u++){var h=l.state.transitions[u],d=this.getReachableTarget(h,i);if(null!==d){var f=l.lexerActionExecutor;null!==f&&(f=f.fixOffsetBeforeMatch(e.index-this.startIndex));var m=i===r.EOF,g=new p({state:d,lexerActionExecutor:f},l);this.closure(e,g,n,c,!0,m)&&(a=l.alt)}}}}},v.prototype.accept=function(e,t,n,r,i,o){v.debug&&console.log("ACTION %s\n",t),e.seek(r),this.line=i,this.column=o,null!==t&&null!==this.recog&&t.execute(this.recog,e,n)},v.prototype.getReachableTarget=function(e,t){return e.matches(t,0,i.MAX_CHAR_VALUE)?e.target:null},v.prototype.computeStartState=function(e,t){for(var n=c.EMPTY,r=new l,i=0;i<t.transitions.length;i++){var o=t.transitions[i].target,a=new p({state:o,alt:i+1,context:n},null);this.closure(e,a,r,!1,!1,!1)}return r},v.prototype.closure=function(e,t,n,r,i,o){var a=null;if(v.debug&&console.log("closure("+t.toString(this.recog,!0)+")"),t.state instanceof h){if(v.debug&&(null!==this.recog?console.log("closure at %s rule stop %s\n",this.recog.ruleNames[t.state.ruleIndex],t):console.log("closure at rule stop %s\n",t)),null===t.context||t.context.hasEmptyPath()){if(null===t.context||t.context.isEmpty())return n.add(t),!0;n.add(new p({state:t.state,context:c.EMPTY},t)),r=!0}if(null!==t.context&&!t.context.isEmpty())for(var s=0;s<t.context.length;s++)if(t.context.getReturnState(s)!==c.EMPTY_RETURN_STATE){var l=t.context.getParent(s),u=this.atn.states[t.context.getReturnState(s)];a=new p({state:u,context:l},t),r=this.closure(e,a,n,r,i,o)}return r}t.state.epsilonOnlyTransitions||r&&t.passedThroughNonGreedyDecision||n.add(t);for(var d=0;d<t.state.transitions.length;d++){var f=t.state.transitions[d];null!==(a=this.getEpsilonTarget(e,t,f,n,i,o))&&(r=this.closure(e,a,n,r,i,o))}return r},v.prototype.getEpsilonTarget=function(e,t,n,o,a,s){var l=null;if(n.serializationType===d.RULE){var c=u.create(t.context,n.followState.stateNumber);l=new p({state:n.target,context:c},t)}else{if(n.serializationType===d.PRECEDENCE)throw"Precedence predicates are not supported in lexers.";if(n.serializationType===d.PREDICATE)v.debug&&console.log("EVAL rule "+n.ruleIndex+":"+n.predIndex),o.hasSemanticContext=!0,this.evaluatePredicate(e,n.ruleIndex,n.predIndex,a)&&(l=new p({state:n.target},t));else if(n.serializationType===d.ACTION)if(null===t.context||t.context.hasEmptyPath()){var h=f.append(t.lexerActionExecutor,this.atn.lexerActions[n.actionIndex]);l=new p({state:n.target,lexerActionExecutor:h},t)}else l=new p({state:n.target},t);else n.serializationType===d.EPSILON?l=new p({state:n.target},t):n.serializationType!==d.ATOM&&n.serializationType!==d.RANGE&&n.serializationType!==d.SET||s&&n.matches(r.EOF,0,i.MAX_CHAR_VALUE)&&(l=new p({state:n.target},t))}return l},v.prototype.evaluatePredicate=function(e,t,n,r){if(null===this.recog)return!0;if(!r)return this.recog.sempred(null,t,n);var i=this.column,o=this.line,a=e.index,s=e.mark();try{return this.consume(e),this.recog.sempred(null,t,n)}finally{this.column=i,this.line=o,e.seek(a),e.release(s)}},v.prototype.captureSimState=function(e,t,n){e.index=t.index,e.line=this.line,e.column=this.column,e.dfaState=n},v.prototype.addDFAEdge=function(e,t,n,r){if(void 0===n&&(n=null),void 0===r&&(r=null),null===n&&null!==r){var i=r.hasSemanticContext;if(r.hasSemanticContext=!1,n=this.addDFAState(r),i)return n}return t<v.MIN_DFA_EDGE||t>v.MAX_DFA_EDGE||(v.debug&&console.log("EDGE "+e+" -> "+n+" upon "+t),null===e.edges&&(e.edges=[]),e.edges[t-v.MIN_DFA_EDGE]=n),n},v.prototype.addDFAState=function(e){for(var t=new s(null,e),n=null,r=0;r<e.items.length;r++){var i=e.items[r];if(i.state instanceof h){n=i;break}}null!==n&&(t.isAcceptState=!0,t.lexerActionExecutor=n.lexerActionExecutor,t.prediction=this.atn.ruleToTokenType[n.state.ruleIndex]);var o=this.decisionToDFA[this.mode],a=o.states.get(t);if(null!==a)return a;var l=t;return l.stateNumber=o.states.length,e.setReadonly(!0),l.configs=e,o.states.add(l),l},v.prototype.getDFA=function(e){return this.decisionToDFA[e]},v.prototype.getText=function(e){return e.getText(this.startIndex,e.index-1)},v.prototype.consume=function(e){e.LA(1)==="\n".charCodeAt(0)?(this.line+=1,this.column=0):this.column+=1,e.consume()},v.prototype.getTokenName=function(e){return-1===e?"EOF":"'"+String.fromCharCode(e)+"'"},t.LexerATNSimulator=v},function(e,t,n){var r=n(2).CommonToken;function i(){return this}function o(e){return i.call(this),this.copyText=void 0!==e&&e,this}o.prototype=Object.create(i.prototype),o.prototype.constructor=o,o.DEFAULT=new o,o.prototype.create=function(e,t,n,i,o,a,s,l){var c=new r(e,t,i,o,a);return c.line=s,c.column=l,null!==n?c.text=n:this.copyText&&null!==e[1]&&(c.text=e[1].getText(o,a)),c},o.prototype.createThin=function(e,t){var n=new r(null,e);return n.text=t,n},t.CommonTokenFactory=o},function(e,t,n){var r=n(0).hashStuff,i=n(29).LexerIndexedCustomAction;function o(e){return this.lexerActions=null===e?[]:e,this.cachedHashCode=r(e),this}o.append=function(e,t){return new o(null===e?[t]:e.lexerActions.concat([t]))},o.prototype.fixOffsetBeforeMatch=function(e){for(var t=null,n=0;n<this.lexerActions.length;n++)!this.lexerActions[n].isPositionDependent||this.lexerActions[n]instanceof i||(null===t&&(t=this.lexerActions.concat([])),t[n]=new i(e,this.lexerActions[n]));return null===t?this:new o(t)},o.prototype.execute=function(e,t,n){var r=!1,o=t.index;try{for(var a=0;a<this.lexerActions.length;a++){var s=this.lexerActions[a];if(s instanceof i){var l=s.offset;t.seek(n+l),s=s.action,r=n+l!==o}else s.isPositionDependent&&(t.seek(o),r=!1);s.execute(e)}}finally{r&&t.seek(o)}},o.prototype.hashCode=function(){return this.cachedHashCode},o.prototype.updateHashCode=function(e){e.update(this.cachedHashCode)},o.prototype.equals=function(e){if(this===e)return!0;if(e instanceof o){if(this.cachedHashCode!=e.cachedHashCode)return!1;if(this.lexerActions.length!=e.lexerActions.length)return!1;for(var t=this.lexerActions.length,n=0;n<t;++n)if(!this.lexerActions[n].equals(e.lexerActions[n]))return!1;return!0}return!1},t.LexerActionExecutor=o},function(e,t,n){var r=n(0),i=r.Set,o=r.BitSet,a=r.DoubleDict,s=n(11).ATN,l=n(7).ATNState,c=n(16).ATNConfig,u=n(13).ATNConfigSet,h=n(2).Token,p=n(15).DFAState,d=n(15).PredPrediction,f=n(31).ATNSimulator,m=n(32).PredictionMode,g=n(17).RuleContext,y=(n(21).ParserRuleContext,n(14).SemanticContext),v=(n(7).StarLoopEntryState,n(7).RuleStopState),_=n(10).PredictionContext,b=n(4).Interval,E=n(12),T=E.Transition,x=E.SetTransition,S=E.NotSetTransition,C=E.RuleTransition,A=E.ActionTransition,R=n(9).NoViableAltException,w=n(10).SingletonPredictionContext,L=n(10).predictionContextFromRuleContext;function O(e,t,n,r){return f.call(this,t,r),this.parser=e,this.decisionToDFA=n,this.predictionMode=m.LL,this._input=null,this._startIndex=0,this._outerContext=null,this._dfa=null,this.mergeCache=null,this}O.prototype=Object.create(f.prototype),O.prototype.constructor=O,O.prototype.debug=!1,O.prototype.debug_closure=!1,O.prototype.debug_add=!1,O.prototype.debug_list_atn_decisions=!1,O.prototype.dfa_debug=!1,O.prototype.retry_debug=!1,O.prototype.reset=function(){},O.prototype.adaptivePredict=function(e,t,n){(this.debug||this.debug_list_atn_decisions)&&console.log("adaptivePredict decision "+t+" exec LA(1)=="+this.getLookaheadName(e)+" line "+e.LT(1).line+":"+e.LT(1).column),this._input=e,this._startIndex=e.index,this._outerContext=n;var r=this.decisionToDFA[t];this._dfa=r;var i=e.mark(),o=e.index;try{var a;if(null===(a=r.precedenceDfa?r.getPrecedenceStartState(this.parser.getPrecedence()):r.s0)){null===n&&(n=g.EMPTY),(this.debug||this.debug_list_atn_decisions)&&console.log("predictATN decision "+r.decision+" exec LA(1)=="+this.getLookaheadName(e)+", outerContext="+n.toString(this.parser.ruleNames));var s=this.computeStartState(r.atnStartState,g.EMPTY,!1);r.precedenceDfa?(r.s0.configs=s,s=this.applyPrecedenceFilter(s),a=this.addDFAState(r,new p(null,s)),r.setPrecedenceStartState(this.parser.getPrecedence(),a)):(a=this.addDFAState(r,new p(null,s)),r.s0=a)}var l=this.execATN(r,a,e,o,n);return this.debug&&console.log("DFA after predictATN: "+r.toString(this.parser.literalNames)),l}finally{this._dfa=null,this.mergeCache=null,e.seek(o),e.release(i)}},O.prototype.execATN=function(e,t,n,r,i){var o;(this.debug||this.debug_list_atn_decisions)&&console.log("execATN decision "+e.decision+" exec LA(1)=="+this.getLookaheadName(n)+" line "+n.LT(1).line+":"+n.LT(1).column);var a=t;this.debug&&console.log("s0 = "+t);for(var l=n.LA(1);;){var c=this.getExistingTargetState(a,l);if(null===c&&(c=this.computeTargetState(e,a,l)),c===f.ERROR){var u=this.noViableAlt(n,i,a.configs,r);if(n.seek(r),(o=this.getSynValidOrSemInvalidAltThatFinishedDecisionEntryRule(a.configs,i))!==s.INVALID_ALT_NUMBER)return o;throw u}if(c.requiresFullContext&&this.predictionMode!==m.SLL){var p=null;if(null!==c.predicates){this.debug&&console.log("DFA state has preds in DFA sim LL failover");var d=n.index;if(d!==r&&n.seek(r),1===(p=this.evalSemanticContext(c.predicates,i,!0)).length)return this.debug&&console.log("Full LL avoided"),p.minValue();d!==r&&n.seek(d)}this.dfa_debug&&console.log("ctx sensitive state "+i+" in "+c);var g=this.computeStartState(e.atnStartState,i,!0);return this.reportAttemptingFullContext(e,p,c.configs,r,n.index),this.execATNWithFullContext(e,c,g,n,r,i)}if(c.isAcceptState){if(null===c.predicates)return c.prediction;var y=n.index;n.seek(r);var v=this.evalSemanticContext(c.predicates,i,!0);if(0===v.length)throw this.noViableAlt(n,i,c.configs,r);return 1===v.length||this.reportAmbiguity(e,c,r,y,!1,v,c.configs),v.minValue()}a=c,l!==h.EOF&&(n.consume(),l=n.LA(1))}},O.prototype.getExistingTargetState=function(e,t){var n=e.edges;return null===n?null:n[t+1]||null},O.prototype.computeTargetState=function(e,t,n){var i=this.computeReachSet(t.configs,n,!1);if(null===i)return this.addDFAEdge(e,t,n,f.ERROR),f.ERROR;var o=new p(null,i),a=this.getUniqueAlt(i);if(this.debug){var l=m.getConflictingAltSubsets(i);console.log("SLL altSubSets="+r.arrayToString(l)+", previous="+t.configs+", configs="+i+", predict="+a+", allSubsetsConflict="+m.allSubsetsConflict(l)+", conflictingAlts="+this.getConflictingAlts(i))}return a!==s.INVALID_ALT_NUMBER?(o.isAcceptState=!0,o.configs.uniqueAlt=a,o.prediction=a):m.hasSLLConflictTerminatingPrediction(this.predictionMode,i)&&(o.configs.conflictingAlts=this.getConflictingAlts(i),o.requiresFullContext=!0,o.isAcceptState=!0,o.prediction=o.configs.conflictingAlts.minValue()),o.isAcceptState&&o.configs.hasSemanticContext&&(this.predicateDFAState(o,this.atn.getDecisionState(e.decision)),null!==o.predicates&&(o.prediction=s.INVALID_ALT_NUMBER)),this.addDFAEdge(e,t,n,o)},O.prototype.predicateDFAState=function(e,t){var n=t.transitions.length,r=this.getConflictingAltsOrUniqueAlt(e.configs),i=this.getPredsForAmbigAlts(r,e.configs,n);null!==i?(e.predicates=this.getPredicatePredictions(r,i),e.prediction=s.INVALID_ALT_NUMBER):e.prediction=r.minValue()},O.prototype.execATNWithFullContext=function(e,t,n,r,i,o){(this.debug||this.debug_list_atn_decisions)&&console.log("execATNWithFullContext "+n);var a=!1,l=null,c=n;r.seek(i);for(var u=r.LA(1),p=-1;;){if(null===(l=this.computeReachSet(c,u,!0))){var d=this.noViableAlt(r,o,c,i);r.seek(i);var f=this.getSynValidOrSemInvalidAltThatFinishedDecisionEntryRule(c,o);if(f!==s.INVALID_ALT_NUMBER)return f;throw d}var g=m.getConflictingAltSubsets(l);if(this.debug&&console.log("LL altSubSets="+g+", predict="+m.getUniqueAlt(g)+", resolvesToJustOneViableAlt="+m.resolvesToJustOneViableAlt(g)),l.uniqueAlt=this.getUniqueAlt(l),l.uniqueAlt!==s.INVALID_ALT_NUMBER){p=l.uniqueAlt;break}if(this.predictionMode!==m.LL_EXACT_AMBIG_DETECTION){if((p=m.resolvesToJustOneViableAlt(g))!==s.INVALID_ALT_NUMBER)break}else if(m.allSubsetsConflict(g)&&m.allSubsetsEqual(g)){a=!0,p=m.getSingleViableAlt(g);break}c=l,u!==h.EOF&&(r.consume(),u=r.LA(1))}return l.uniqueAlt!==s.INVALID_ALT_NUMBER?(this.reportContextSensitivity(e,p,l,i,r.index),p):(this.reportAmbiguity(e,t,i,r.index,a,null,l),p)},O.prototype.computeReachSet=function(e,t,n){this.debug&&console.log("in computeReachSet, starting closure: "+e),null===this.mergeCache&&(this.mergeCache=new a);for(var r=new u(n),o=null,l=0;l<e.items.length;l++){var p=e.items[l];if(this.debug_add&&console.log("testing "+this.getTokenName(t)+" at "+p),p.state instanceof v)(n||t===h.EOF)&&(null===o&&(o=[]),o.push(p),this.debug_add&&console.log("added "+p+" to skippedStopStates"));else for(var d=0;d<p.state.transitions.length;d++){var f=p.state.transitions[d],g=this.getReachableTarget(f,t);if(null!==g){var y=new c({state:g},p);r.add(y,this.mergeCache),this.debug_add&&console.log("added "+y+" to intermediate")}}}var _=null;if(null===o&&t!==h.EOF&&(1===r.items.length||this.getUniqueAlt(r)!==s.INVALID_ALT_NUMBER)&&(_=r),null===_){_=new u(n);for(var b=new i,E=t===h.EOF,T=0;T<r.items.length;T++)this.closure(r.items[T],_,b,!1,n,E)}if(t===h.EOF&&(_=this.removeAllConfigsNotInRuleStopState(_,_===r)),!(null===o||n&&m.hasConfigInRuleStopState(_)))for(var x=0;x<o.length;x++)_.add(o[x],this.mergeCache);return 0===_.items.length?null:_},O.prototype.removeAllConfigsNotInRuleStopState=function(e,t){if(m.allConfigsInRuleStopStates(e))return e;for(var n=new u(e.fullCtx),r=0;r<e.items.length;r++){var i=e.items[r];if(i.state instanceof v)n.add(i,this.mergeCache);else if(t&&i.state.epsilonOnlyTransitions&&this.atn.nextTokens(i.state).contains(h.EPSILON)){var o=this.atn.ruleToStopState[i.state.ruleIndex];n.add(new c({state:o},i),this.mergeCache)}}return n},O.prototype.computeStartState=function(e,t,n){for(var r=L(this.atn,t),o=new u(n),a=0;a<e.transitions.length;a++){var s=e.transitions[a].target,l=new c({state:s,alt:a+1,context:r},null),h=new i;this.closure(l,o,h,!0,n,!1)}return o},O.prototype.applyPrecedenceFilter=function(e){for(var t,n=[],r=new u(e.fullCtx),i=0;i<e.items.length;i++)if(1===(t=e.items[i]).alt){var o=t.semanticContext.evalPrecedence(this.parser,this._outerContext);null!==o&&(n[t.state.stateNumber]=t.context,o!==t.semanticContext?r.add(new c({semanticContext:o},t),this.mergeCache):r.add(t,this.mergeCache))}for(i=0;i<e.items.length;i++)if(1!==(t=e.items[i]).alt){if(!t.precedenceFilterSuppressed){var a=n[t.state.stateNumber]||null;if(null!==a&&a.equals(t.context))continue}r.add(t,this.mergeCache)}return r},O.prototype.getReachableTarget=function(e,t){return e.matches(t,0,this.atn.maxTokenType)?e.target:null},O.prototype.getPredsForAmbigAlts=function(e,t,n){for(var i=[],o=0;o<t.items.length;o++){var a=t.items[o];e.contains(a.alt)&&(i[a.alt]=y.orContext(i[a.alt]||null,a.semanticContext))}var s=0;for(o=1;o<n+1;o++){var l=i[o]||null;null===l?i[o]=y.NONE:l!==y.NONE&&(s+=1)}return 0===s&&(i=null),this.debug&&console.log("getPredsForAmbigAlts result "+r.arrayToString(i)),i},O.prototype.getPredicatePredictions=function(e,t){for(var n=[],r=!1,i=1;i<t.length;i++){var o=t[i];null!==e&&e.contains(i)&&n.push(new d(o,i)),o!==y.NONE&&(r=!0)}return r?n:null},O.prototype.getSynValidOrSemInvalidAltThatFinishedDecisionEntryRule=function(e,t){var n=this.splitAccordingToSemanticValidity(e,t),r=n[0],i=n[1],o=this.getAltThatFinishedDecisionEntryRule(r);return o!==s.INVALID_ALT_NUMBER||i.items.length>0&&(o=this.getAltThatFinishedDecisionEntryRule(i))!==s.INVALID_ALT_NUMBER?o:s.INVALID_ALT_NUMBER},O.prototype.getAltThatFinishedDecisionEntryRule=function(e){for(var t=[],n=0;n<e.items.length;n++){var r=e.items[n];(r.reachesIntoOuterContext>0||r.state instanceof v&&r.context.hasEmptyPath())&&t.indexOf(r.alt)<0&&t.push(r.alt)}return 0===t.length?s.INVALID_ALT_NUMBER:Math.min.apply(null,t)},O.prototype.splitAccordingToSemanticValidity=function(e,t){for(var n=new u(e.fullCtx),r=new u(e.fullCtx),i=0;i<e.items.length;i++){var o=e.items[i];o.semanticContext!==y.NONE?o.semanticContext.evaluate(this.parser,t)?n.add(o):r.add(o):n.add(o)}return[n,r]},O.prototype.evalSemanticContext=function(e,t,n){for(var r=new o,i=0;i<e.length;i++){var a=e[i];if(a.pred!==y.NONE){var s=a.pred.evaluate(this.parser,t);if((this.debug||this.dfa_debug)&&console.log("eval pred "+a+"="+s),s&&((this.debug||this.dfa_debug)&&console.log("PREDICT "+a.alt),r.add(a.alt),!n))break}else if(r.add(a.alt),!n)break}return r},O.prototype.closure=function(e,t,n,r,i,o){this.closureCheckingStopState(e,t,n,r,i,0,o)},O.prototype.closureCheckingStopState=function(e,t,n,r,i,o,a){if((this.debug||this.debug_closure)&&(console.log("closure("+e.toString(this.parser,!0)+")"),e.reachesIntoOuterContext>50))throw"problem";if(e.state instanceof v){if(!e.context.isEmpty()){for(var s=0;s<e.context.length;s++)if(e.context.getReturnState(s)!==_.EMPTY_RETURN_STATE){var l=this.atn.states[e.context.getReturnState(s)],u=e.context.getParent(s),h={state:l,alt:e.alt,context:u,semanticContext:e.semanticContext},p=new c(h,null);p.reachesIntoOuterContext=e.reachesIntoOuterContext,this.closureCheckingStopState(p,t,n,r,i,o-1,a)}else{if(i){t.add(new c({state:e.state,context:_.EMPTY},e),this.mergeCache);continue}this.debug&&console.log("FALLING off rule "+this.getRuleName(e.state.ruleIndex)),this.closure_(e,t,n,r,i,o,a)}return}if(i)return void t.add(e,this.mergeCache);this.debug&&console.log("FALLING off rule "+this.getRuleName(e.state.ruleIndex))}this.closure_(e,t,n,r,i,o,a)},O.prototype.closure_=function(e,t,n,r,i,o,a){var s=e.state;s.epsilonOnlyTransitions||t.add(e,this.mergeCache);for(var l=0;l<s.transitions.length;l++)if(0!=l||!this.canDropLoopEntryEdgeInLeftRecursiveRule(e)){var c=s.transitions[l],u=r&&!(c instanceof A),h=this.getEpsilonTarget(e,c,u,0===o,i,a);if(null!==h){if(!c.isEpsilon&&n.add(h)!==h)continue;var p=o;if(e.state instanceof v){if(n.add(h)!==h)continue;null!==this._dfa&&this._dfa.precedenceDfa&&c.outermostPrecedenceReturn===this._dfa.atnStartState.ruleIndex&&(h.precedenceFilterSuppressed=!0),h.reachesIntoOuterContext+=1,t.dipsIntoOuterContext=!0,p-=1,this.debug&&console.log("dips into outer ctx: "+h)}else c instanceof C&&p>=0&&(p+=1);this.closureCheckingStopState(h,t,n,u,i,p,a)}}},O.prototype.canDropLoopEntryEdgeInLeftRecursiveRule=function(e){var t=e.state;if(t.stateType!=l.STAR_LOOP_ENTRY)return!1;if(t.stateType!=l.STAR_LOOP_ENTRY||!t.isPrecedenceDecision||e.context.isEmpty()||e.context.hasEmptyPath())return!1;for(var n=e.context.length,r=0;r<n;r++)if((a=this.atn.states[e.context.getReturnState(r)]).ruleIndex!=t.ruleIndex)return!1;var i=t.transitions[0].target.endState.stateNumber,o=this.atn.states[i];for(r=0;r<n;r++){var a,s=e.context.getReturnState(r);if(1!=(a=this.atn.states[s]).transitions.length||!a.transitions[0].isEpsilon)return!1;var c=a.transitions[0].target;if(!(a.stateType==l.BLOCK_END&&c==t||a==o||c==o||c.stateType==l.BLOCK_END&&1==c.transitions.length&&c.transitions[0].isEpsilon&&c.transitions[0].target==t))return!1}return!0},O.prototype.getRuleName=function(e){return null!==this.parser&&e>=0?this.parser.ruleNames[e]:"<rule "+e+">"},O.prototype.getEpsilonTarget=function(e,t,n,r,i,o){switch(t.serializationType){case T.RULE:return this.ruleTransition(e,t);case T.PRECEDENCE:return this.precedenceTransition(e,t,n,r,i);case T.PREDICATE:return this.predTransition(e,t,n,r,i);case T.ACTION:return this.actionTransition(e,t);case T.EPSILON:return new c({state:t.target},e);case T.ATOM:case T.RANGE:case T.SET:return o&&t.matches(h.EOF,0,1)?new c({state:t.target},e):null;default:return null}},O.prototype.actionTransition=function(e,t){if(this.debug){var n=-1==t.actionIndex?65535:t.actionIndex;console.log("ACTION edge "+t.ruleIndex+":"+n)}return new c({state:t.target},e)},O.prototype.precedenceTransition=function(e,t,n,i,o){this.debug&&(console.log("PRED (collectPredicates="+n+") "+t.precedence+">=_p, ctx dependent=true"),null!==this.parser&&console.log("context surrounding pred is "+r.arrayToString(this.parser.getRuleInvocationStack())));var a=null;if(n&&i)if(o){var s=this._input.index;this._input.seek(this._startIndex);var l=t.getPredicate().evaluate(this.parser,this._outerContext);this._input.seek(s),l&&(a=new c({state:t.target},e))}else{var u=y.andContext(e.semanticContext,t.getPredicate());a=new c({state:t.target,semanticContext:u},e)}else a=new c({state:t.target},e);return this.debug&&console.log("config from pred transition="+a),a},O.prototype.predTransition=function(e,t,n,i,o){this.debug&&(console.log("PRED (collectPredicates="+n+") "+t.ruleIndex+":"+t.predIndex+", ctx dependent="+t.isCtxDependent),null!==this.parser&&console.log("context surrounding pred is "+r.arrayToString(this.parser.getRuleInvocationStack())));var a=null;if(n&&(t.isCtxDependent&&i||!t.isCtxDependent))if(o){var s=this._input.index;this._input.seek(this._startIndex);var l=t.getPredicate().evaluate(this.parser,this._outerContext);this._input.seek(s),l&&(a=new c({state:t.target},e))}else{var u=y.andContext(e.semanticContext,t.getPredicate());a=new c({state:t.target,semanticContext:u},e)}else a=new c({state:t.target},e);return this.debug&&console.log("config from pred transition="+a),a},O.prototype.ruleTransition=function(e,t){this.debug&&console.log("CALL rule "+this.getRuleName(t.target.ruleIndex)+", ctx="+e.context);var n=t.followState,r=w.create(e.context,n.stateNumber);return new c({state:t.target,context:r},e)},O.prototype.getConflictingAlts=function(e){var t=m.getConflictingAltSubsets(e);return m.getAlts(t)},O.prototype.getConflictingAltsOrUniqueAlt=function(e){var t=null;return e.uniqueAlt!==s.INVALID_ALT_NUMBER?(t=new o).add(e.uniqueAlt):t=e.conflictingAlts,t},O.prototype.getTokenName=function(e){if(e===h.EOF)return"EOF";if(null!==this.parser&&null!==this.parser.literalNames){if(!(e>=this.parser.literalNames.length&&e>=this.parser.symbolicNames.length))return(this.parser.literalNames[e]||this.parser.symbolicNames[e])+"<"+e+">";console.log(e+" ttype out of range: "+this.parser.literalNames),console.log(""+this.parser.getInputStream().getTokens())}return""+e},O.prototype.getLookaheadName=function(e){return this.getTokenName(e.LA(1))},O.prototype.dumpDeadEndConfigs=function(e){console.log("dead end configs: ");for(var t=e.getDeadEndConfigs(),n=0;n<t.length;n++){var r=t[n],i="no edges";if(r.state.transitions.length>0){var o=r.state.transitions[0];o instanceof AtomTransition?i="Atom "+this.getTokenName(o.label):o instanceof x&&(i=(o instanceof S?"~":"")+"Set "+o.set)}console.error(r.toString(this.parser,!0)+":"+i)}},O.prototype.noViableAlt=function(e,t,n,r){return new R(this.parser,e,e.get(r),e.LT(1),n,t)},O.prototype.getUniqueAlt=function(e){for(var t=s.INVALID_ALT_NUMBER,n=0;n<e.items.length;n++){var r=e.items[n];if(t===s.INVALID_ALT_NUMBER)t=r.alt;else if(r.alt!==t)return s.INVALID_ALT_NUMBER}return t},O.prototype.addDFAEdge=function(e,t,n,r){if(this.debug&&console.log("EDGE "+t+" -> "+r+" upon "+this.getTokenName(n)),null===r)return null;if(r=this.addDFAState(e,r),null===t||n<-1||n>this.atn.maxTokenType)return r;if(null===t.edges&&(t.edges=[]),t.edges[n+1]=r,this.debug){var i=null===this.parser?null:this.parser.literalNames,o=null===this.parser?null:this.parser.symbolicNames;console.log("DFA=\n"+e.toString(i,o))}return r},O.prototype.addDFAState=function(e,t){if(t==f.ERROR)return t;var n=e.states.get(t);return null!==n?n:(t.stateNumber=e.states.length,t.configs.readOnly||(t.configs.optimizeConfigs(this),t.configs.setReadonly(!0)),e.states.add(t),this.debug&&console.log("adding new DFA state: "+t),t)},O.prototype.reportAttemptingFullContext=function(e,t,n,r,i){if(this.debug||this.retry_debug){var o=new b(r,i+1);console.log("reportAttemptingFullContext decision="+e.decision+":"+n+", input="+this.parser.getTokenStream().getText(o))}null!==this.parser&&this.parser.getErrorListenerDispatch().reportAttemptingFullContext(this.parser,e,r,i,t,n)},O.prototype.reportContextSensitivity=function(e,t,n,r,i){if(this.debug||this.retry_debug){var o=new b(r,i+1);console.log("reportContextSensitivity decision="+e.decision+":"+n+", input="+this.parser.getTokenStream().getText(o))}null!==this.parser&&this.parser.getErrorListenerDispatch().reportContextSensitivity(this.parser,e,r,i,t,n)},O.prototype.reportAmbiguity=function(e,t,n,r,i,o,a){if(this.debug||this.retry_debug){var s=new b(n,r+1);console.log("reportAmbiguity "+o+":"+a+", input="+this.parser.getTokenStream().getText(s))}null!==this.parser&&this.parser.getErrorListenerDispatch().reportAmbiguity(this.parser,e,n,r,i,o,a)},t.ParserATNSimulator=O},function(e,t,n){t.DFA=n(58).DFA,t.DFASerializer=n(20).DFASerializer,t.LexerDFASerializer=n(20).LexerDFASerializer,t.PredPrediction=n(15).PredPrediction},function(e,t,n){var r=n(0).Set,i=n(15).DFAState,o=n(7).StarLoopEntryState,a=n(13).ATNConfigSet,s=n(20).DFASerializer,l=n(20).LexerDFASerializer;function c(e,t){if(void 0===t&&(t=0),this.atnStartState=e,this.decision=t,this._states=new r,this.s0=null,this.precedenceDfa=!1,e instanceof o&&e.isPrecedenceDecision){this.precedenceDfa=!0;var n=new i(null,new a);n.edges=[],n.isAcceptState=!1,n.requiresFullContext=!1,this.s0=n}return this}c.prototype.getPrecedenceStartState=function(e){if(!this.precedenceDfa)throw"Only precedence DFAs may contain a precedence start state.";return e<0||e>=this.s0.edges.length?null:this.s0.edges[e]||null},c.prototype.setPrecedenceStartState=function(e,t){if(!this.precedenceDfa)throw"Only precedence DFAs may contain a precedence start state.";e<0||(this.s0.edges[e]=t)},c.prototype.setPrecedenceDfa=function(e){if(this.precedenceDfa!==e){if(this._states=new DFAStatesSet,e){var t=new i(null,new a);t.edges=[],t.isAcceptState=!1,t.requiresFullContext=!1,this.s0=t}else this.s0=null;this.precedenceDfa=e}},Object.defineProperty(c.prototype,"states",{get:function(){return this._states}}),c.prototype.sortedStates=function(){return this._states.values().sort((function(e,t){return e.stateNumber-t.stateNumber}))},c.prototype.toString=function(e,t){return e=e||null,t=t||null,null===this.s0?"":new s(this,e,t).toString()},c.prototype.toLexerString=function(){return null===this.s0?"":new l(this).toString()},t.DFA=c},function(e,t,n){var r=n(8);t.Trees=n(26).Trees,t.RuleNode=r.RuleNode,t.ParseTreeListener=r.ParseTreeListener,t.ParseTreeVisitor=r.ParseTreeVisitor,t.ParseTreeWalker=r.ParseTreeWalker},function(e,t,n){t.RecognitionException=n(9).RecognitionException,t.NoViableAltException=n(9).NoViableAltException,t.LexerNoViableAltException=n(9).LexerNoViableAltException,t.InputMismatchException=n(9).InputMismatchException,t.FailedPredicateException=n(9).FailedPredicateException,t.DiagnosticErrorListener=n(61).DiagnosticErrorListener,t.BailErrorStrategy=n(35).BailErrorStrategy,t.ErrorListener=n(19).ErrorListener},function(e,t,n){var r=n(0).BitSet,i=n(19).ErrorListener,o=n(4).Interval;function a(e){return i.call(this),e=e||!0,this.exactOnly=e,this}a.prototype=Object.create(i.prototype),a.prototype.constructor=a,a.prototype.reportAmbiguity=function(e,t,n,r,i,a,s){if(!this.exactOnly||i){var l="reportAmbiguity d="+this.getDecisionDescription(e,t)+": ambigAlts="+this.getConflictingAlts(a,s)+", input='"+e.getTokenStream().getText(new o(n,r))+"'";e.notifyErrorListeners(l)}},a.prototype.reportAttemptingFullContext=function(e,t,n,r,i,a){var s="reportAttemptingFullContext d="+this.getDecisionDescription(e,t)+", input='"+e.getTokenStream().getText(new o(n,r))+"'";e.notifyErrorListeners(s)},a.prototype.reportContextSensitivity=function(e,t,n,r,i,a){var s="reportContextSensitivity d="+this.getDecisionDescription(e,t)+", input='"+e.getTokenStream().getText(new o(n,r))+"'";e.notifyErrorListeners(s)},a.prototype.getDecisionDescription=function(e,t){var n=t.decision,r=t.atnStartState.ruleIndex,i=e.ruleNames;if(r<0||r>=i.length)return""+n;var o=i[r]||null;return null===o||0===o.length?""+n:n+" ("+o+")"},a.prototype.getConflictingAlts=function(e,t){if(null!==e)return e;for(var n=new r,i=0;i<t.items.length;i++)n.add(t.items[i].alt);return"{"+n.values().join(", ")+"}"},t.DiagnosticErrorListener=a},function(e,t,n){var r=n(22).InputStream,i="undefined"==typeof window&&"undefined"==typeof importScripts?n(36):null,o={fromString:function(e){return r(e,!0)},fromBlob:function(e,t,n,i){var o=FileReader();o.onload=function(e){var t=r(e.target.result,!0);n(t)},o.onerror=i,o.readAsText(e,t)},fromBuffer:function(e,t){return r(e.toString(t),!0)},fromPath:function(e,t,n){i.readFile(e,t,(function(e,t){var i=null;null!==t&&(i=r(t,!0)),n(e,i)}))},fromPathSync:function(e,t){var n=i.readFileSync(e,t);return r(n,!0)}};t.CharStreams=o},function(e,t,n){var r=n(22).InputStream,i="undefined"==typeof window&&"undefined"==typeof importScripts?n(36):null;function o(e,t){var n=i.readFileSync(e,"utf8");return r.call(this,n,t),this.fileName=e,this}o.prototype=Object.create(r.prototype),o.prototype.constructor=o,t.FileStream=o},function(e,t,n){var r=n(2).Token,i=n(65).BufferedTokenStream;function o(e,t){return i.call(this,e),this.channel=void 0===t?r.DEFAULT_CHANNEL:t,this}o.prototype=Object.create(i.prototype),o.prototype.constructor=o,o.prototype.adjustSeekIndex=function(e){return this.nextTokenOnChannel(e,this.channel)},o.prototype.LB=function(e){if(0===e||this.index-e<0)return null;for(var t=this.index,n=1;n<=e;)t=this.previousTokenOnChannel(t-1,this.channel),n+=1;return t<0?null:this.tokens[t]},o.prototype.LT=function(e){if(this.lazyInit(),0===e)return null;if(e<0)return this.LB(-e);for(var t=this.index,n=1;n<e;)this.sync(t+1)&&(t=this.nextTokenOnChannel(t+1,this.channel)),n+=1;return this.tokens[t]},o.prototype.getNumberOfOnChannelTokens=function(){var e=0;this.fill();for(var t=0;t<this.tokens.length;t++){var n=this.tokens[t];if(n.channel===this.channel&&(e+=1),n.type===r.EOF)break}return e},t.CommonTokenStream=o},function(e,t,n){var r=n(2).Token,i=n(18).Lexer,o=n(4).Interval;function a(){return this}function s(e){return a.call(this),this.tokenSource=e,this.tokens=[],this.index=-1,this.fetchedEOF=!1,this}s.prototype=Object.create(a.prototype),s.prototype.constructor=s,s.prototype.mark=function(){return 0},s.prototype.release=function(e){},s.prototype.reset=function(){this.seek(0)},s.prototype.seek=function(e){this.lazyInit(),this.index=this.adjustSeekIndex(e)},s.prototype.get=function(e){return this.lazyInit(),this.tokens[e]},s.prototype.consume=function(){if(!(this.index>=0&&(this.fetchedEOF?this.index<this.tokens.length-1:this.index<this.tokens.length))&&this.LA(1)===r.EOF)throw"cannot consume EOF";this.sync(this.index+1)&&(this.index=this.adjustSeekIndex(this.index+1))},s.prototype.sync=function(e){var t=e-this.tokens.length+1;return!(t>0)||this.fetch(t)>=t},s.prototype.fetch=function(e){if(this.fetchedEOF)return 0;for(var t=0;t<e;t++){var n=this.tokenSource.nextToken();if(n.tokenIndex=this.tokens.length,this.tokens.push(n),n.type===r.EOF)return this.fetchedEOF=!0,t+1}return e},s.prototype.getTokens=function(e,t,n){if(void 0===n&&(n=null),e<0||t<0)return null;this.lazyInit();var i=[];t>=this.tokens.length&&(t=this.tokens.length-1);for(var o=e;o<t;o++){var a=this.tokens[o];if(a.type===r.EOF)break;(null===n||n.contains(a.type))&&i.push(a)}return i},s.prototype.LA=function(e){return this.LT(e).type},s.prototype.LB=function(e){return this.index-e<0?null:this.tokens[this.index-e]},s.prototype.LT=function(e){if(this.lazyInit(),0===e)return null;if(e<0)return this.LB(-e);var t=this.index+e-1;return this.sync(t),t>=this.tokens.length?this.tokens[this.tokens.length-1]:this.tokens[t]},s.prototype.adjustSeekIndex=function(e){return e},s.prototype.lazyInit=function(){-1===this.index&&this.setup()},s.prototype.setup=function(){this.sync(0),this.index=this.adjustSeekIndex(0)},s.prototype.setTokenSource=function(e){this.tokenSource=e,this.tokens=[],this.index=-1,this.fetchedEOF=!1},s.prototype.nextTokenOnChannel=function(e,t){if(this.sync(e),e>=this.tokens.length)return-1;for(var n=this.tokens[e];n.channel!==this.channel;){if(n.type===r.EOF)return-1;e+=1,this.sync(e),n=this.tokens[e]}return e},s.prototype.previousTokenOnChannel=function(e,t){for(;e>=0&&this.tokens[e].channel!==t;)e-=1;return e},s.prototype.getHiddenTokensToRight=function(e,t){if(void 0===t&&(t=-1),this.lazyInit(),e<0||e>=this.tokens.length)throw e+" not in 0.."+this.tokens.length-1;var n=this.nextTokenOnChannel(e+1,i.DEFAULT_TOKEN_CHANNEL),r=e+1,o=-1===n?this.tokens.length-1:n;return this.filterForChannel(r,o,t)},s.prototype.getHiddenTokensToLeft=function(e,t){if(void 0===t&&(t=-1),this.lazyInit(),e<0||e>=this.tokens.length)throw e+" not in 0.."+this.tokens.length-1;var n=this.previousTokenOnChannel(e-1,i.DEFAULT_TOKEN_CHANNEL);if(n===e-1)return null;var r=n+1,o=e-1;return this.filterForChannel(r,o,t)},s.prototype.filterForChannel=function(e,t,n){for(var r=[],o=e;o<t+1;o++){var a=this.tokens[o];-1===n?a.channel!==i.DEFAULT_TOKEN_CHANNEL&&r.push(a):a.channel===n&&r.push(a)}return 0===r.length?null:r},s.prototype.getSourceName=function(){return this.tokenSource.getSourceName()},s.prototype.getText=function(e){this.lazyInit(),this.fill(),null==e&&(e=new o(0,this.tokens.length-1));var t=e.start;t instanceof r&&(t=t.tokenIndex);var n=e.stop;if(n instanceof r&&(n=n.tokenIndex),null===t||null===n||t<0||n<0)return"";n>=this.tokens.length&&(n=this.tokens.length-1);for(var i="",a=t;a<n+1;a++){var s=this.tokens[a];if(s.type===r.EOF)break;i+=s.text}return i},s.prototype.fill=function(){for(this.lazyInit();1e3===this.fetch(1e3););},t.BufferedTokenStream=s},function(e,t,n){var r=n(2).Token,i=n(8).ParseTreeListener,o=n(30).Recognizer,a=n(35).DefaultErrorStrategy,s=n(27).ATNDeserializer,l=n(28).ATNDeserializationOptions,c=n(8).TerminalNode,u=n(8).ErrorNode;function h(e){return i.call(this),this.parser=e,this}function p(e){return o.call(this),this._input=null,this._errHandler=new a,this._precedenceStack=[],this._precedenceStack.push(0),this._ctx=null,this.buildParseTrees=!0,this._tracer=null,this._parseListeners=null,this._syntaxErrors=0,this.setInputStream(e),this}h.prototype=Object.create(i.prototype),h.prototype.constructor=h,h.prototype.enterEveryRule=function(e){console.log("enter "+this.parser.ruleNames[e.ruleIndex]+", LT(1)="+this.parser._input.LT(1).text)},h.prototype.visitTerminal=function(e){console.log("consume "+e.symbol+" rule "+this.parser.ruleNames[this.parser._ctx.ruleIndex])},h.prototype.exitEveryRule=function(e){console.log("exit "+this.parser.ruleNames[e.ruleIndex]+", LT(1)="+this.parser._input.LT(1).text)},p.prototype=Object.create(o.prototype),p.prototype.contructor=p,p.bypassAltsAtnCache={},p.prototype.reset=function(){null!==this._input&&this._input.seek(0),this._errHandler.reset(this),this._ctx=null,this._syntaxErrors=0,this.setTrace(!1),this._precedenceStack=[],this._precedenceStack.push(0),null!==this._interp&&this._interp.reset()},p.prototype.match=function(e){var t=this.getCurrentToken();return t.type===e?(this._errHandler.reportMatch(this),this.consume()):(t=this._errHandler.recoverInline(this),this.buildParseTrees&&-1===t.tokenIndex&&this._ctx.addErrorNode(t)),t},p.prototype.matchWildcard=function(){var e=this.getCurrentToken();return e.type>0?(this._errHandler.reportMatch(this),this.consume()):(e=this._errHandler.recoverInline(this),this._buildParseTrees&&-1===e.tokenIndex&&this._ctx.addErrorNode(e)),e},p.prototype.getParseListeners=function(){return this._parseListeners||[]},p.prototype.addParseListener=function(e){if(null===e)throw"listener";null===this._parseListeners&&(this._parseListeners=[]),this._parseListeners.push(e)},p.prototype.removeParseListener=function(e){if(null!==this._parseListeners){var t=this._parseListeners.indexOf(e);t>=0&&this._parseListeners.splice(t,1),0===this._parseListeners.length&&(this._parseListeners=null)}},p.prototype.removeParseListeners=function(){this._parseListeners=null},p.prototype.triggerEnterRuleEvent=function(){if(null!==this._parseListeners){var e=this._ctx;this._parseListeners.map((function(t){t.enterEveryRule(e),e.enterRule(t)}))}},p.prototype.triggerExitRuleEvent=function(){if(null!==this._parseListeners){var e=this._ctx;this._parseListeners.slice(0).reverse().map((function(t){e.exitRule(t),t.exitEveryRule(e)}))}},p.prototype.getTokenFactory=function(){return this._input.tokenSource._factory},p.prototype.setTokenFactory=function(e){this._input.tokenSource._factory=e},p.prototype.getATNWithBypassAlts=function(){var e=this.getSerializedATN();if(null===e)throw"The current parser does not support an ATN with bypass alternatives.";var t=this.bypassAltsAtnCache[e];if(null===t){var n=new l;n.generateRuleBypassTransitions=!0,t=new s(n).deserialize(e),this.bypassAltsAtnCache[e]=t}return t};var d=n(18).Lexer;p.prototype.compileParseTreePattern=function(e,t,n){if(null===(n=n||null)&&null!==this.getTokenStream()){var r=this.getTokenStream().tokenSource;r instanceof d&&(n=r)}if(null===n)throw"Parser can't discover a lexer to use";return new ParseTreePatternMatcher(n,this).compile(e,t)},p.prototype.getInputStream=function(){return this.getTokenStream()},p.prototype.setInputStream=function(e){this.setTokenStream(e)},p.prototype.getTokenStream=function(){return this._input},p.prototype.setTokenStream=function(e){this._input=null,this.reset(),this._input=e},p.prototype.getCurrentToken=function(){return this._input.LT(1)},p.prototype.notifyErrorListeners=function(e,t,n){n=n||null,null===(t=t||null)&&(t=this.getCurrentToken()),this._syntaxErrors+=1;var r=t.line,i=t.column;this.getErrorListenerDispatch().syntaxError(this,t,r,i,e,n)},p.prototype.consume=function(){var e=this.getCurrentToken();e.type!==r.EOF&&this.getInputStream().consume();var t,n=null!==this._parseListeners&&this._parseListeners.length>0;return(this.buildParseTrees||n)&&((t=this._errHandler.inErrorRecoveryMode(this)?this._ctx.addErrorNode(e):this._ctx.addTokenNode(e)).invokingState=this.state,n&&this._parseListeners.map((function(e){t instanceof u||void 0!==t.isErrorNode&&t.isErrorNode()?e.visitErrorNode(t):t instanceof c&&e.visitTerminal(t)}))),e},p.prototype.addContextToParseTree=function(){null!==this._ctx.parentCtx&&this._ctx.parentCtx.addChild(this._ctx)},p.prototype.enterRule=function(e,t,n){this.state=t,this._ctx=e,this._ctx.start=this._input.LT(1),this.buildParseTrees&&this.addContextToParseTree(),null!==this._parseListeners&&this.triggerEnterRuleEvent()},p.prototype.exitRule=function(){this._ctx.stop=this._input.LT(-1),null!==this._parseListeners&&this.triggerExitRuleEvent(),this.state=this._ctx.invokingState,this._ctx=this._ctx.parentCtx},p.prototype.enterOuterAlt=function(e,t){e.setAltNumber(t),this.buildParseTrees&&this._ctx!==e&&null!==this._ctx.parentCtx&&(this._ctx.parentCtx.removeLastChild(),this._ctx.parentCtx.addChild(e)),this._ctx=e},p.prototype.getPrecedence=function(){return 0===this._precedenceStack.length?-1:this._precedenceStack[this._precedenceStack.length-1]},p.prototype.enterRecursionRule=function(e,t,n,r){this.state=t,this._precedenceStack.push(r),this._ctx=e,this._ctx.start=this._input.LT(1),null!==this._parseListeners&&this.triggerEnterRuleEvent()},p.prototype.pushNewRecursionContext=function(e,t,n){var r=this._ctx;r.parentCtx=e,r.invokingState=t,r.stop=this._input.LT(-1),this._ctx=e,this._ctx.start=r.start,this.buildParseTrees&&this._ctx.addChild(r),null!==this._parseListeners&&this.triggerEnterRuleEvent()},p.prototype.unrollRecursionContexts=function(e){this._precedenceStack.pop(),this._ctx.stop=this._input.LT(-1);var t=this._ctx;if(null!==this._parseListeners)for(;this._ctx!==e;)this.triggerExitRuleEvent(),this._ctx=this._ctx.parentCtx;else this._ctx=e;t.parentCtx=e,this.buildParseTrees&&null!==e&&e.addChild(t)},p.prototype.getInvokingContext=function(e){for(var t=this._ctx;null!==t;){if(t.ruleIndex===e)return t;t=t.parentCtx}return null},p.prototype.precpred=function(e,t){return t>=this._precedenceStack[this._precedenceStack.length-1]},p.prototype.inContext=function(e){return!1},p.prototype.isExpectedToken=function(e){var t=this._interp.atn,n=this._ctx,i=t.states[this.state],o=t.nextTokens(i);if(o.contains(e))return!0;if(!o.contains(r.EPSILON))return!1;for(;null!==n&&n.invokingState>=0&&o.contains(r.EPSILON);){var a=t.states[n.invokingState].transitions[0];if((o=t.nextTokens(a.followState)).contains(e))return!0;n=n.parentCtx}return!(!o.contains(r.EPSILON)||e!==r.EOF)},p.prototype.getExpectedTokens=function(){return this._interp.atn.getExpectedTokens(this.state,this._ctx)},p.prototype.getExpectedTokensWithinCurrentRule=function(){var e=this._interp.atn,t=e.states[this.state];return e.nextTokens(t)},p.prototype.getRuleIndex=function(e){var t=this.getRuleIndexMap()[e];return null!==t?t:-1},p.prototype.getRuleInvocationStack=function(e){null===(e=e||null)&&(e=this._ctx);for(var t=[];null!==e;){var n=e.ruleIndex;n<0?t.push("n/a"):t.push(this.ruleNames[n]),e=e.parentCtx}return t},p.prototype.getDFAStrings=function(){return this._interp.decisionToDFA.toString()},p.prototype.dumpDFA=function(){for(var e=!1,t=0;t<this._interp.decisionToDFA.length;t++){var n=this._interp.decisionToDFA[t];n.states.length>0&&(e&&console.log(),this.printer.println("Decision "+n.decision+":"),this.printer.print(n.toString(this.literalNames,this.symbolicNames)),e=!0)}},p.prototype.getSourceName=function(){return this._input.sourceName},p.prototype.setTrace=function(e){e?(null!==this._tracer&&this.removeParseListener(this._tracer),this._tracer=new h(this),this.addParseListener(this._tracer)):(this.removeParseListener(this._tracer),this._tracer=null)},t.Parser=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=a(n(1)),i=a(n(3)),o=n(5);function a(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}t.default=function(e){var t=o.TreeUtils.findAnyParent(e,[r.VARIABLE_CONTEXT]),n=o.TreeUtils.findAnyParent(t,[r.EXPRESSION_CONTEXT]);return null!=t&&null!=n?[{type:i.VARIABLE},{type:i.FUNCTION_NAME}]:[]}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=a(n(1)),i=a(n(3)),o=n(5);function a(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}t.default=function(e){var t=o.TreeUtils.findAnyParent(e,[r.CALL_CONTEXT]);if(null!=t){var n=o.TreeUtils.findChild(t,r.PROCEDURE_NAME_CONTEXT),a=o.TreeUtils.findAnyParent(e,r.PROCEDURE_RESULTS_CONTEXT);return null==n||null==a?[]:[{type:i.PROCEDURE_OUTPUT,name:n.getText()}]}return[]}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(n(1)),i=o(n(3));function o(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}t.default=function(e){var t=e.parentCtx;return t&&t.constructor.name===r.CALL_CONTEXT&&t.getChild(1)===e?[{type:i.PROCEDURE_NAME}]:[]}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=a(n(38)),i=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(3)),o=a(n(23));function a(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){var t=e.getText().toLowerCase();return o.default.find((function(e){return r.default.includes(e.toLowerCase(),t)}))?i.ALL:[]}},function(e,t){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=a(n(1)),i=a(n(3)),o=n(5);function a(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}t.default=function(e){if(o.TreeUtils.findParent(e,r.RELATIONSHIP_PATTERN_CONTEXT)){if("["===e.getText())return[{type:i.VARIABLE},{type:i.RELATIONSHIP_TYPE}];if("]"===e.getText())return[]}return[]}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(n(1)),i=o(n(3));function o(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}t.default=function(e){var t=e.getParent(),n=e.getText();if(t){if(t.constructor.name===r.PATTERN_ELEMENT_CONTEXT&&"("===n)return[{type:i.VARIABLE},{type:i.LABEL}];if(t.constructor.name===r.NODE_PATTERN_CONTEXT){if("("===n)return[{type:i.VARIABLE},{type:i.LABEL}];if(":"===n)return[{type:i.LABEL}]}}return[]}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(n(1)),i=o(n(3));function o(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}t.default=function(e){var t=e.getParent(),n=e.getText();return t&&t.constructor.name===r.PROPERTY_LOOKUP_CONTEXT&&"."===n?[{type:i.PROPERTY_KEY}]:[]}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=a(n(1)),i=a(n(3)),o=n(5);function a(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}t.default=function(e){var t=o.TreeUtils.findParent(e,r.MAP_LITERAL_CONTEXT),n=o.TreeUtils.findParent(e,r.PROPERTIES_CONTEXT);if(t)return"}"===e.getText()?[]:[{type:i.PROPERTY_KEY}];if(n){var a=e.getText();return"}"===a||/\s+/.test(a)?[]:[{type:i.PROPERTY_KEY},{type:i.PARAMETER}]}return[]}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=a(n(1)),i=a(n(3)),o=n(5);function a(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}t.default=function(e){var t=o.TreeUtils.findParent(e,r.MAP_LITERAL_ENTRY);if(!t)return[];var n=t.getChild(1),a=t.getChild(2);return n===e||a===e?i.ALL:[]}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=a(n(1)),i=a(n(3)),o=n(5);function a(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}t.default=function(e){var t=o.TreeUtils.findParent(e.parentCtx,r.CONSOLE_COMMAND_CONTEXT),n=!1;if(!t){var a=e.parentCtx,s=o.TreeUtils.findChild(a.children[0],r.CONSOLE_COMMAND_CONTEXT),l=a.children[1];if(!s||!l||l!==e)return[];t=s,n=!0}for(var c=o.TreeUtils.findParent(e,r.CONSOLE_COMMAND_PARAMETER_CONTEXT)||e,u=[],h=!1,p=0;p<t.children.length;p+=1){var d=t.children[p];if(d.constructor.name===r.CONSOLE_COMMAND_NAME_CONTEXT&&u.push(d.getText()),d.constructor.name===r.CONSOLE_COMMAND_PARAMETERS_CONTEXT)for(var f=0;f<d.children.length;f+=1){var m=d.children[f];if(m.constructor.name===r.CONSOLE_COMMAND_PARAMETER_CONTEXT?(u.push(m.getText()),h=!0):h=!1,m===c)break}}var g;return g=!n&&h,[{type:i.CONSOLE_COMMAND_SUBCOMMAND,path:u,filterLastElement:g}]}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(n(1)),i=o(n(3));function o(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}t.default=function(e){return e.constructor.name===r.STRING_LITERAL_CONTEXT?[{type:i.NOOP}]:[]}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(3));t.default=function(e){return"$"===e.getText()?[{type:r.PARAMETER}]:[]}},function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.AutoCompletion=t.KEYWORD_ITEMS=void 0;var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=n(82),a=d(n(38)),s=p(n(1)),l=p(n(3)),c=d(n(23)),u=n(5),h=n(86);function p(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function d(e){return e&&e.__esModule?e:{default:e}}function f(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function m(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function g(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function y(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function v(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var _=t.KEYWORD_ITEMS=c.default.map((function(e){return{type:l.KEYWORD,view:e,content:e,postfix:null}})),b=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};v(this,e),this.cache={},this.cache=t}return i(e,[{key:"calculateItems",value:function(e){return[]}},{key:"complete",value:function(e,t){var n=this;return e.map((function(e){var r=n.cache[e.type];return null!=r?r:n.calculateItems(e,t)})).reduce((function(e,t){return[].concat(y(e),y(t))}),[])}}]),e}(),E=function(e){function t(){var e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};v(this,t);var r=m(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,(f(e={},l.KEYWORD,_),f(e,l.LABEL,(n.labels||[]).map((function(e){return{type:l.LABEL,view:e,content:(0,h.ecsapeCypher)(e),postfix:null}}))),f(e,l.RELATIONSHIP_TYPE,(n.relationshipTypes||[]).map((function(e){return{type:l.RELATIONSHIP_TYPE,view:e,content:(0,h.ecsapeCypher)(e),postfix:null}}))),f(e,l.PROPERTY_KEY,(n.propertyKeys||[]).map((function(e){return{type:l.PROPERTY_KEY,view:e,content:(0,h.ecsapeCypher)(e),postfix:null}}))),f(e,l.FUNCTION_NAME,(n.functions||[]).map((function(e){var t=e.name,n=e.signature;return{type:l.FUNCTION_NAME,view:t,content:(0,h.ecsapeCypher)(t),postfix:n}}))),f(e,l.PROCEDURE_NAME,(n.procedures||[]).map((function(e){var t=e.name,n=e.signature;return{type:l.PROCEDURE_NAME,view:t,content:t,postfix:n}}))),f(e,l.CONSOLE_COMMAND_NAME,(n.consoleCommands||[]).map((function(e){return{type:l.CONSOLE_COMMAND_NAME,view:e.name,content:e.name,postfix:e.description||null}}))),f(e,l.PARAMETER,(n.parameters||[]).map((function(e){return{type:l.PARAMETER,view:e,content:e,postfix:null}}))),e)));return T.call(r),r.schema=n,r}return g(t,e),i(t,[{key:"calculateItems",value:function(e){return(t.providers[e.type]||function(){return[]})(this.schema,e)}}]),t}(b);E.providers=(f(r={},l.PROCEDURE_OUTPUT,(function(e,t){var n=a.default.find(e.procedures,(function(e){return e.name===t.name&&e.returnItems!==[]}));return n?n.returnItems.map((function(e){var t=e.name,n=e.signature;return{type:l.PROCEDURE_OUTPUT,view:t,content:t,postfix:" :: "+n}})):[]})),f(r,l.CONSOLE_COMMAND_SUBCOMMAND,(function(e,t){for(var n=t.filterLastElement,r=t.path,i=n?r.length-1:r.length,o=e.consoleCommands,s=0;s<i;s+=1){var c=a.default.find(o,["name",r[s]]);if(!c)return[];o=c.commands||[]}return o.map((function(e){var t=e.name,n=e.description;return{type:l.CONSOLE_COMMAND_SUBCOMMAND,view:t,content:t,postfix:n||null}}))})),r);var T=function(){this.schema={}},x=function(e){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};v(this,t);var n=m(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return n.providers={},n.emptyProvider={getNames:function(){return[]}},n.providers=f({},l.VARIABLE,(function(t){return(e[s.VARIABLE_CONTEXT]||n.emptyProvider).getNames(t).map((function(e){return{type:l.VARIABLE,view:e,content:e,postfix:null}}))})),n}return g(t,e),i(t,[{key:"calculateItems",value:function(e,t){return(this.providers[e.type]||function(){return[]})(t)}}]),t}(b);t.AutoCompletion=function(){function e(){v(this,e),this.queryBased=null,this.schemaBased=null,this.updateSchema({})}return i(e,[{key:"getItems",value:function(t,n){var r=n.query,i=void 0===r?null:r,a=n.filter,s=(void 0===a?"":a).toLowerCase(),l=e.filterText(s),c=[this.queryBased,this.schemaBased].filter((function(e){return null!=e})).map((function(e){return e.complete(t,i)})).reduce((function(e,t){return[].concat(y(e),y(t))}),[]).filter((function(){return!0}));return l?(0,o.filter)(c,l,{key:"view"}):s?(0,o.filter)(c,s,{key:"view"}):c}},{key:"updateSchema",value:function(e){this.schemaBased=new E(e)}},{key:"updateReferenceProviders",value:function(e){this.queryBased=new x(e)}}],[{key:"shouldBeReplaced",value:function(e){if(null==e)return!1;var t=e.getText(),n=e.parentCtx;return!/^\s+$/.test(t)&&"["!==t&&"("!==t&&"."!==t&&"{"!==t&&"$"!==t&&(":"!==t||null==n||n.constructor.name!==s.MAP_LITERAL_ENTRY)}},{key:"filterText",value:function(e){return e.startsWith("$")?e.slice(1):e}},{key:"calculateSmartReplaceRange",value:function(e,t,n){return e.constructor.name!==s.RELATIONSHIP_TYPE_CONTEXT&&e.constructor.name!==s.NODE_LABEL_CONTEXT||!u.TreeUtils.hasErrorNode(e)?null:{filterText:":",start:t,stop:t}}}]),e}()},function(e,t,n){(function(){var t,r,i,o,a;a=n(39),i=n(84),o=n(85),t=n(24).sep,r=/\ /g,e.exports={filter:function(e,n,o){var a;return n&&(a=-1!==n.indexOf(t),n=n.replace(r,"")),i(e,n,a,o)},score:function(e,n){var i,o;return e&&n?e===n?2:(i=-1!==n.indexOf(t),n=n.replace(r,""),o=a.score(e,n),i||(o=a.basenameScore(e,n,o)),o):0},match:function(e,n){var i,a,s,l,c,u;if(!e)return[];if(!n)return[];if(e===n)return function(){u=[];for(var t=0,n=e.length;0<=n?t<n:t>n;0<=n?t++:t--)u.push(t);return u}.apply(this);if(l=-1!==n.indexOf(t),n=n.replace(r,""),s=o.match(e,n),!l)for(i=o.basenameMatch(e,n),s=s.concat(i).sort((function(e,t){return e-t})),c=null,a=0;a<s.length;)a&&c===s[a]?s.splice(a,1):(c=s[a],a++);return s}}}).call(this)},function(e,t){var n,r,i=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(e){if(n===setTimeout)return setTimeout(e,0);if((n===o||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:o}catch(e){n=o}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(e){r=a}}();var l,c=[],u=!1,h=-1;function p(){u&&l&&(u=!1,l.length?c=l.concat(c):h=-1,c.length&&d())}function d(){if(!u){var e=s(p);u=!0;for(var t=c.length;t;){for(l=c,c=[];++h<t;)l&&l[h].run();h=-1,t=c.length}l=null,u=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===a||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{return r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function f(e,t){this.fun=e,this.array=t}function m(){}i.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];c.push(new f(e,t)),1!==c.length||u||s(d)},f.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=m,i.addListener=m,i.once=m,i.off=m,i.removeListener=m,i.removeAllListeners=m,i.emit=m,i.prependListener=m,i.prependOnceListener=m,i.listeners=function(e){return[]},i.binding=function(e){throw new Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(e){throw new Error("process.chdir is not supported")},i.umask=function(){return 0}},function(e,t,n){(function(){var t,r,i;r=n(39),t=function(e){return e.candidate},i=function(e,t){return t.score-e.score},e.exports=function(e,n,o,a){var s,l,c,u,h,p,d,f,m;if(l=(m=null!=a?a:{}).key,c=m.maxResults,n){for(h=[],d=0,f=e.length;d<f;d++)s=e[d],(p=null!=l?s[l]:s)&&(u=r.score(p,n,o),o||(u=r.basenameScore(p,n,u)),u>0&&h.push({candidate:s,score:u}));h.sort(i),e=h.map(t)}return null!=c&&(e=e.slice(0,c)),e}}).call(this)},function(e,t,n){(function(){var e;e=n(24).sep,t.basenameMatch=function(n,r){var i,o,a;for(o=n.length-1;n[o]===e;)o--;for(a=o,i=null;o>=0;)n[o]===e?null==i&&(i=n.substring(o+1,a+1)):0===o&&(a<n.length-1?null==i&&(i=n.substring(0,a+1)):null==i&&(i=n)),o--;return t.match(i,r,n.length-i.length)},t.match=function(e,t,n){var r,i,o,a,s,l,c,u,h,p;if(null==n&&(n=0),e===t)return function(){p=[];for(var t=n,r=n+e.length;n<=r?t<r:t>r;n<=r?t++:t--)p.push(t);return p}.apply(this);for(c=t.length,u=e.length,i=0,o=0,s=[];i<c;){if(r=t[i++],a=e.indexOf(r.toLowerCase()),h=e.indexOf(r.toUpperCase()),-1===(l=Math.min(a,h))&&(l=Math.max(a,h)),-1===(o=l))return[];s.push(n+o),n+=o+1,e=e.substring(o+1,u)}return s}}).call(this)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ecsapeCypher=function(e){var t=e.startsWith(":")?":":"",n=e;return t.length>0&&(n=e.substring(1)),/^[A-Za-z][A-Za-z0-9_]*$/.test(n)?t+n:t+"`"+n.replace(/`/g,"``")+"`"}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CypherSyntaxHighlight=void 0;var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n(5),o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(1));function a(e,t){if(!t(e)){var n=e.getChildCount();if(0!==n)for(var r=0;r<n;r+=1)a(e.getChild(r),t)}}t.CypherSyntaxHighlight=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return r(e,null,[{key:"process",value:function(e,t){a(e,(function(e){var n=i.TreeUtils.getPosition(e)||{start:0,stop:0};return!(n.start>n.stop||(e.constructor.name===o.VARIABLE_CONTEXT?(t(e,"variable"),0):e.constructor.name===o.NODE_LABEL_CONTEXT?(t(e,"label"),0):e.constructor.name===o.RELATIONSHIP_TYPE_CONTEXT||e.constructor.name===o.RELATIONSHIP_TYPE_OPTIONAL_COLON_CONTEXT?(t(e,"relationshipType"),0):e.constructor.name===o.PROPERTY_KEY_NAME_CONTEXT?(t(e,"property"),0):e.constructor.name===o.PROCEDURE_NAME_CONTEXT?(t(e,"procedure"),0):e.constructor.name===o.PROCEDURE_OUTPUT_CONTEXT?(t(e,"procedureOutput"),0):e.constructor.name===o.FUNCTION_NAME_CONTEXT||e.constructor.name===o.ALL_FUNCTION_NAME_CONTEXT||e.constructor.name===o.REDUCE_FUNCTION_NAME_CONTEXT||e.constructor.name===o.FILTER_FUNCTION_NAME_CONTEXT||e.constructor.name===o.NONE_FUNCTION_NAME_CONTEXT||e.constructor.name===o.EXTRACT_FUNCTION_NAME_CONTEXT||e.constructor.name===o.SHORTEST_PATH_FUNCTION_NAME_CONTEXT||e.constructor.name===o.ALL_SHORTEST_PATH_FUNCTION_NAME_CONTEXT||e.constructor.name===o.SINGLE_FUNCTION_NAME_CONTEXT||e.constructor.name===o.EXISTS_FUNCTION_NAME_CONTEXT||e.constructor.name===o.ANY_FUNCTION_NAME_CONTEXT?(t(e,"function"),0):e.constructor.name===o.PARAMETER_CONTEXT?(t(e,"parameter"),0):e.constructor.name===o.CONSOLE_COMMAND_NAME_CONTEXT?(t(e,"consoleCommand"),0):e.constructor.name!==o.CONSOLE_COMMAND_SUBCOMMAND_CONTEXT&&e.constructor.name!==o.CONSOLE_COMMAND_PATH_CONTEXT||(t(e,"property"),0)))}))}}]),e}()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t.PositionConverter=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.newLines=[];for(var n=0;n<t.length;n+=1)"\n"===t[n]&&this.newLines.push(n)}return r(e,[{key:"toAbsolute",value:function(e,t){return(this.newLines[e-2]||-1)+t+1}},{key:"toRelative",value:function(e){for(var t=this.newLines.length-1;t>=0;t-=1){var n=e-this.newLines[t];if(n>=1)return{line:t+2,column:n-1}}return{line:1,column:e}}}]),e}()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.retryOperation=function e(t,n,r){return new Promise((function(i,o){return t().then(i).catch((function(a){return r-1>0?(s=n,new Promise((function(e){return setTimeout(e,s)}))).then(e.bind(null,t,n,r-1)).then(i).catch(o):o(a);var s}))}))}},function(e,t,n){"use strict";var r=n(6),i=["悋Ꜫ脳맭䅼㯧瞆奤","¬ְ\b\t\t","\t\t\t\t","\b\t\b\t\t\t\n\t\n\v\t\v","\f\t\f\r\t\r\t\t","\t\t\t\t","\t\t\t","\t\t\t\t","\t\t\t",'\t\t \t !\t!"\t"#',"\t#$\t$%\t%&\t&'\t'(\t()\t)","*\t*+\t+,\t,-\t-.\t./\t/0\t0","1\t12\t23\t34\t45\t56\t67\t7","8\t89\t9:\t:;\t;<\t<=\t=>\t>","?\t?@\t@A\tAB\tBC\tCD\tDE\tE","F\tFG\tGH\tHI\tIJ\tJK\tKL\tL","M\tMN\tNO\tOP\tPQ\tQR\tRS\tS","T\tTU\tUV\tVW\tWX\tXY\tYZ\tZ","[\t[\\\t\\]\t]^\t^_\t_`\t`a\ta","b\tbc\tcd\tde\tef\tfg\tgh\th","i\tij\tjk\tkl\tlm\tmn\tno\to","p\tpq\tqr\trs\tst\ttu\tuv\tv","w\twx\txy\tyz\tz{\t{|\t|}\t}","~\t~\t\t\t","\t\t\t
\t","
\t\t\t","\t\t\t\t","\t\t\t","\t\t\t\t","\t\t\t","\t\t\t\t","\t\t\t","\t\t \t ¡\t","¡¢\t¢£\t£¤\t¤","¥\t¥¦\t¦§\t§¨\t","¨©\t©ª\tª«\t«","¬\t¬\t®\t®¯\t","¯°\t°±\t±²\t²","³\t³´\t´µ\tµ¶\t","¶·\t·¸\t¸¹\t¹","º\tº»\t»¼\t¼½\t","½¾\t¾¿\t¿À\tÀ","Á\tÁÂ\tÂÃ\tÃÄ\t","ÄÅ\tÅÆ\tÆÇ\tÇ","È\tÈÉ\tÉÊ\tÊË\t","ËÌ\tÌÍ\tÍÎ\tÎ","Ï\tÏÐ\tÐÑ\tÑÒ\t","Ò","","\b\b\t","\t\n\n\v\v\f\f\r","\r","","","","","","",' !!!"""##',"$$%%&&''(","())**++,,-","-..//00112","2334455667","7777778888","8888999999","99::::::;;",";;;;;;;<<<","<<<<======",">>>>??????","?@@@@@AAAA","AABBBCCCCC","CCCCCCDDDD","DDDEEEFFFF","FFFGGGGGGG","HHHHHIIIIJ","JJJJKKKKKK","KKLLLLLMMM","NNNNNNNNNN","NNNNNNOOOO","OOOOOPPPPP","PQQQQQQQRR","RRRRSSSSTT","TTTTTUUUUU","UUVVVVVVVW","WWWWWWWXXX","YYYYYYYYYZ","ZZZZZZ[[[[","[[\\\\\\]]]]]","^^^^^^___","_______```","`aaaaaaaaa","aabbbbbccc","ccdddddeee","eeefffffgg","gggggggggg","ghhhhiiiii","ijjjjjjjjj","jjjjkkkkkk","kkkkkkkkkk","klllmmmmnn","nnoooopppp","pppqqqqqrr","rrrrrrrsss","ssttttttuu","uuuuuvvvvv","vvvwwwwxxx","xxyyyyyyyz","zzzz{{{{{{","|||||||}}}","}}~~~~~","","","","","
","
","","","","","","","","","","","","","","","","","","","","","","Ґ\nҒ\n\fҕ\v","","ҝ\nҟ\n\f","Ң\vҥ\n","Ҫ\n\r","ҫ","","","Ӏ\n","ӆ\n\rӇ","Ӎ\n\f","Ӑ\vӒ\n","Ӗ\n\rӗ","ӛ\n","ӟ\nӣ\n","ӧ\n"," ӭ\n ¡","¡¢¢Ӳ\n¢\r¢¢ӳ","¢¢ӷ\n¢\r¢¢Ӹ","¢¢¢ӽ\n¢\r¢¢Ӿ","¢¢¢ԃ\n¢\r¢¢","Ԅ¢ԇ\n¢¢¢¢","ԋ\n¢¢¢Ԏ\n¢\r¢¢","ԏ££ԓ\n£\f££Ԗ","\v££££Ԛ\n£\r£","£ԛ¤¤¤Ԡ\n¤","\f¤¤ԣ\v¤¥¥","¥ԧ\n¥¦¦¦ԫ\n¦","§§§§§Ա\n","§\f§§Դ\v§§§","¨¨Թ\n¨\r¨¨Ժ","©©©©©©","©©©©©©","©Չ\n©ªªªª","ªՏ\nª\fªªՒ\vª","ªªªªªª","ª՚\nª\fªª՝\vªª","՟\nª««¬¬","®®¯¯","°°±±²²","³³´´µµ","¶¶··¸¸","¹¹ºº»»","¼¼½½¾¾","¿¿ÀÀÁÁ","ÂÂÃÃÄÄ","ÅÅÆÆÇÇ","ÈÈÉÉÊÊ","ËËÌÌÍÍ","ÎÎÏÏÐÐ","ÑÑÒÒՐÓ","\t\v\r\b\t","\n\v\f\r","!#%')+-/1","3579;= ?!A\"C#E$G%I&K'M(O)Q*S+U,W-Y.","[/]0_1a2c3e4g5i6k7m8o9q:s;u<w=y>{?}@ABC
D","EFGHIJKLMN","OPQ¡R£S¥T§U©V«WX¯","Y±Z³[µ\\·]¹^»_½`¿aÁbÃ","cÅdÇeÉfËgÍhÏiÑjÓkÕl×","mÙnÛoÝpßqárãsåtçuévë","wíxïyñzó{õ|÷}ù~ûý","ÿāăąć
ĉ","ċčďđēĕ","ėęěĝğġ","ģĥħĩīĭ","įıijĵķĹ","ĻĽ Ŀ¡Ł¢Ń£Ņ","¤Ň¥ʼn¦ŋ§ō¨ŏ©ő","ªœ«ŕ¬ŗřśŝ","şšţťŧũ","ūŭůűųŵ","ŷŹŻŽſƁ","ƃƅƇƉƋƍ","ƏƑƓƕƗƙ","ƛƝƟơƣ","2$$^^))^^2;CHch","$$))DDHHPPTTVV^^ddhhppttvvWWwwCHch","GGgg\baa⁁⁂⁖⁖︵︶﹏﹑a","abb\n¢¢ᚂᚂ᠐᠐ ","‱‱。。\f","\f Ư2;C","\\aac|¬¬··¹¹¼¼ÂØÚ","øú˃ˈ˓ˢ˦ˮˮ˰˰̂","ͶͼͿΈΌΎΎΐΣΥ","ϷϹ҃҅҉ҌԩԳ՛՛գ","։ֿׁׁ֓׃ׄ׆ׇג","ײ״ؒآ٫ٰەۗ۞ۡ","۪۬۾܁܁ܒݏ߂߷","ࠂࡂࢢࢢࢤࢮࣦऀं","॥२ॱॳॹॻঁঃঅই","কপবলসা","্য়ৡ২৳ਃ","ਅਇਕਪਬਲਵ","ਸਾਾੀ੍","ਜ਼ਫ਼੨ઃઅઇએઑ","ઓકપબલવષાેૉ","ો્ૢ૨૱ଃଅଇ","କପବଲଵଷା","୍ୟୡ୨","ୱ୳୳அஇஐஒஔ","ஜஞஞபரீ","ைொௌ௨௱ః","అఇఎఐఒఔపబవషి","ెైొౌౘౚౢ౨","಄ಅಇಎಐಒಔಪಬವಷ","ಾೆೈೊೌೠೠೢ","೨ೱೳഄഅഇഎഐഒഔ","഼ിെൈൊൌ൙൙ൢ൨","൱ർඁඅඇගඳඵල","ෂෑූෘෘේ෴","ฃโ๐๒๛ຄຆຆຉ","ຊຌຌຏຏຖນປມຣລວ","ວຩຩຬອຯົຽໂໆ່","່໊໒ໞ༂༂༚༛༢","༫༹༹༷༷༻༻ཀཉཋཱི","྆ྈྙྛ྾࿈࿈ဂ။ၒ႟Ⴂ","Ⴧგჼჾቊቌቒ","ቘቚቚቜቢኊኌኒኲኴ","ኺዀዂዂዄዊዘዚጒጔ","ጚ፟፡፫፳ᎂ᎑Ꭲᐃ","᙮ᙱᚁᚃ᚜ᚢ᛬ᛰᛲᜂᜎᜐ","ᜢ᜶ᝂᝢᝮᝰᝲគ","៕៙៙២᠍᠏᠒ᠢ","ᢂᢲᤂᤞᤢᤲ᥈","ᥲᦂᦲ᧒ᨂᨢ","᩠ᩢ᪁᪒᪩᪩ᬂ᭒","᭛᭭᭵ᮂᰂ᱂ᱏ᱿᳒","᳔᳖᳸ᴂᷨ᷾ἚἢὊ","ὒὙὛὛὝὝὟὟὡᾂ","ᾶᾸι῀῀ῄῆῈ῎ῒῘ","῝ῢ΅ῴῶῸ῾⁁⁂⁖⁖","₁₁ₒ⃒⃞⃣⃣⃧℄","℄℉℉ℌℕ℗℗ℚ℟ΩΩℨ","ℨKKℬ℻ℾ⅁ⅇ⅋⅐⅐Ⅲ","↊ⰂⰰⰲⱠⱢ⳦Ⳮⴂⴧ","ⴲⶁⶢⶨⶪ","ⶰⶲⶸⶺⷀⷂⷈⷊⷐⷒⷘⷚ","ⷠⷢ⸁〇〉〣〱〳〷〺〾ぃ","゛ァィーヾㄇㄯㄳ㆐ㆢ","ㆼㇲ㈁㐂䶷丂鿎ꀂꓒ꓿ꔂ","꘎ꘒꙂ꙱ꙶꙿꚁꚙꚡ꛳ꜙ","꜡Ꜥ꞊ꞍꞐꞒꞕꞢꞬꟺ꠩ꡂ","꡵ꢂ꣒꣢꣹ꣽꣽ꤂꤯ꤲ","ꥢꦂ꧂꧑ꨂꩂ꩒","ꩢ꩸ꩼꩽꪂꫝ꫟ꫢ꫱ꫴ","ꬃꬋꬓꬢꬨꬪꬰꯂ","꯬꯲갂ힲퟍ車","全flﬕײַשׁשּׁטּךּ","מּנּנּףּצּרּ﮳ﯕ﴿ﵒ","ﶔﷲ﷽︂︑︨︢︵︶﹏","﹑ﹲﹶﹸ2;C\aac","|ィᅣᅩᅯᅵ","","&&¤§֑֑؍؍৴৵৽৽","แแ៝៝₢₼","﷾﷾﹫﹫&&¬ ̄│",'""\v\v\f\f\r\r',"!!ŴC\\c|¬¬··¼¼ÂØ","Úøú˃ˈ˓ˢ˦ˮˮ˰˰","ͲͶͼͿΈΈΊΌΎΎ","ΐΣΥϷϹ҃ҌԩԳ՛՛","գ։גײ״آٌٰٱٳە","ۗۗۧۨ۰۱ۼ۾܁܁ܒܒ","ܔܱݏާߌ߬߶߷","ࠂࠗࠜࠜࠦࠦࠪࠪࡂ࡚ࢢࢢ","ࢤࢮआऻिि॒॒ग़ॣॳॹ","ॻঁইকপবল","সিিয়ৡৣ৲৳","ਇਕਪਬਲਵਸ","ਜ਼ਫ਼ੴ੶ઇએઑઓ","કપબલવષિિ","ૢૣଇକପବଲଵ","ଷିିୟୡୣ୳୳அஅ","இஐஒஔஜஞஞ","பரఇఎఐఒ","ఔపబవషిిౚౢౣ","ಇಎಐಒಔಪಬವಷಿಿ","ೠೠೢೣೳഇഎഐഒഔ഼","ിിൢൣർඁඇගඳ","ඵලෂฃาิีโ่","ຄຆຆຉຊຌຌຏຏຖນ","ປມຣລວວຩຩຬອຯາ","ິີໂໆ່່ໞ༂༂","གཉཋྊྎဂာ၁၁ၒၗ","ၜၟၣၣၧၨၰၲၷႃ႐႐","ႢჇგჼჾቊቌ","ቒቘቚቚቜቢኊኌኒኲ","ኴኺዀዂዂዄዊዘዚጒ","ጔጚᎂ᎑Ꭲᐃ᙮ᙱᚁ","ᚃ᚜ᚢ᛬ᛰᛲᜂᜎᜐᜓᜢᜳ","ᝂᝓᝢᝮᝰᝲគ឵៙៙","ᠢᢂᢪᢲᤂᤞᥒ","ᥲᦂᧃᧉᨂᨘᨢᩖ᪩᪩","ᬈᭇᮅᮢ᮰᮱ᮼᯧᰂᰥ","ᱏ᱑ᱜ᱿ᳫᳮᳰᳳ᳷᳸ᴂ᷁","ḂἚἢὊὒὙὛὛ","ὝὝὟὟὡᾂᾶᾸι῀῀","ῄῆῈ῎ῒῘ῝ῢ΅ῴῶ","Ὸ῾₁₁ₒ℄℄℉℉","ℌℕ℗℗ℚ℟ΩΩℨℨKK","ℬ℻ℾ⅁ⅇ⅋⅐⅐Ⅲ↊Ⰲⰰ","ⰲⱠⱢ⳦Ⳮ⳰ⴂⴧ","ⴲⶂⶢⶨⶪⶰ","ⶲⶸⶺⷀⷂⷈⷊⷐⷒⷘⷚⷠ","〇〉〣〫〳〷〺〾ぃゝァ","ィーヾㄇㄯㄳ㆐ㆢㆼㇲ㈁","㐂䶷丂鿎ꀂꓒ꓿ꔂ꘎ꘒ꘡","Ꙃ꙰ꚁꚙꚢ꛱ꜙ꜡Ꜥ꞊","ꞍꞐꞒꞕꞢꞬꟺꠃꠅꠇꠉꠌ","ꠎꠤꡂ꡵ꢄꢵꣴ꣹ꣽꣽꤌꤧ","ꤲꥈꥢꦆꦴ꧑꧑ꨂꨪꩂꩄ","ꩆꩍꩢ꩸ꩼꩼꪂꪱꪳꪳꪷꪸ","ꪻ꪿ꫂꫂꫝ꫟ꫢꫬꫴ꫶","ꬃꬋꬓꬢꬨꬪꬰꯂꯤ","갂ힲퟍ車全fl","ﬕײַײַﬡשׁשּׁטּךּמּנּנּ","ףּצּרּ﮳ﯕ﴿ﵒﶔ","ﷲ﷽ﹲﹶﹸC\c|ィ","ᅣᅩᅯᅵCCcc","DDddEEeeFFffHHhh","IIiiJJjjKKkkLLllMMm","mNNnnOOooPPppQQqq","RRrrSSssTTttUUuu","VVvvXXxxYYyyZZzz[[{","{\\\\||ָ","","\t\v","\r","","","","","!#","%')","+-","/1","35","79",";=?","AC","EG","IK","MO","QSU","WY","[]","_a","ce","gik","mo","qs","uw","y{","}","","
","","","","","","","¡£","¥§","©«","¯","±³","µ·","¹»","½¿","ÁÃ","ÅÇ","ÉË","ÍÏ","ÑÓ","Õ×","ÙÛ","Ýß","áã","åç","éë","íï","ñó","õ÷","ùû","ýÿ","āă","ąć","ĉċ","čď","đē","ĕė","ęě","ĝğ","ġģ","ĥħ","ĩī","ĭį","ıij","ĵķ","ĹĻ","ĽĿ","ŁŃ","ŅŇ","ʼnŋ","ōŏ","őœ","ŕƥ","ƧƩ\t","ƫ\vƮ\r","Ʋƴ","ƶƸ","ƺƼ","ƾǀ","ǂDŽ!","dž#Lj%NJ","'nj)ǎ","+ǐ-Ǔ","/Ǖ1Ǘ","3ǚ5ǜ","7Ǟ9ǡ;Ǥ","=ǧ?ǩ","AǫCǮ","EDZGdz","IǵKǷ","MǹOǻQǽ","SǿUȁ","WȃYȅ","[ȇ]ȉ","_ȋaȍ","cȏeȑgȓ","iȕkȗ","mșoȠ","qȨsȰ","uȶwȿ","yɆ{Ɍ}ɐ","ɗɜ","ɢ
ɥ","ɰɷ","ɺʁ","ʈʍ","ʑʖ","ʞʣ","ʦʶ","ʿ¡˅","£ˌ¥˒","§˖©˝","«ˤ˫","¯˳±˶","³˿µ̆","·̌¹̏","»̔½̚","¿̤Ą́","Ã̳Å̸","Ç̽É͂","Ë͈Í͍","Ï͚Ñ͞","ÓͤÕͱ","×Ù΅","ÛΉÝ","ßΑáΘ","ãΝåΦ","çΫéα","ëθíπ","ïτñω","óϐõϕ","÷ϛùϢ","ûϧýϬ","ÿϰāϵ","ăϺąϿ","ćЅĉЉ","ċЏčЕ","ďЙđС","ēЩĕб","ėкęф","ěьĝі","ğѡġѧ","ģѵĥѻ","ħ҃ĩҤ","īҩĭҭ","įӁıӑ","ijӓĵӚ","ķӞĹӢ","ĻӦĽӨ","ĿӬŁӮ","ŃԆŅԔ","ŇԝʼnԦ","ŋԪōԬ","ŏԸőՈ","œ՞ŕՠ","ŗբřդ","śզŝը","şժšլ","ţծťհ","ŧղũմ","ūնŭո","ůպűռ","ųվŵր","ŷւŹք","ŻֆŽֈ","ſ֊Ɓ","ƃ֎ƅ","Ƈ֒Ɖ֔","Ƌ֖ƍ֘","Ə֚Ƒ֜","Ɠ֞ƕ֠","Ɨ֢ƙ֤","ƛ֦Ɲ֨","Ɵ֪ơ֬","ƣ֮ƥƦ","=ƦƧƨ","<ƨƩƪ","/ƪ\bƫƬ","?Ƭƭ@ƭ\n","ƮƯ<Ưư1","ưƱ1Ʊ\fƲ","Ƴ1Ƴƴ","Ƶ0Ƶƶ","ƷBƷƸ","ƹ%ƹƺ","ƻAƻƼ","ƽ(ƽƾ","ƿ?ƿǀ","ǁ-ǁǂ","ǃ}ǃDŽ","Dž.Dž džLJ",'LJ"Ljlj',"]lj$NJNj","_Nj&njǍ*","Ǎ(ǎǏ+","Ǐ*ǐǑ-Ǒ","ǒ?ǒ,Ǔǔ","~ǔ.Ǖǖ",",ǖ0Ǘǘ0","ǘǙ0Ǚ2","ǚǛ'Ǜ4ǜ","ǝ`ǝ6Ǟǟ","?ǟǠǠ8","ǡǢ>Ǣǣ","@ǣ:Ǥǥ#","ǥǦ?Ǧ<","ǧǨ>Ǩ>ǩ","Ǫ@Ǫ@ǫǬ",">Ǭǭ?ǭB","Ǯǯ@ǯǰ?","ǰDDZDz&","DzFdzǴ⟪","ǴHǵǶ《","ǶJǷǸ﹦","ǸLǹǺ>","ǺNǻǼ⟫","ǼPǽǾ》","ǾRǿȀ","ȀTȁȂ@","ȂVȃȄ¯","ȄXȅȆ‒","ȆZȇȈ–","Ȉ\\ȉȊ—","Ȋ^ȋȌ―","Ȍ`ȍȎ‖","ȎbȏȐ‗","ȐdȑȒ∔","ȒfȓȔ﹚","ȔhȕȖ﹥","ȖjȗȘ/","ȘlșȚŵ»","ȚțơÑțȜƏÈ","ȜȝſÀȝȞŹ½","ȞȟƓÊȟn","ȠȡŹ½ȡȢƟÐ","ȢȣƏÈȣȤƇÄ","Ȥȥű¹ȥȦƁÁ","ȦȧƋÆȧp","ȨȩƏÈȩȪƓÊ","ȪȫƍÇȫȬŻ¾","ȬȭƁÁȭȮƇÄ","ȮȯŹ½ȯr","ȰȱƙÍȱȲƕË","ȲȳƁÁȳȴƋÆ","ȴȵŽ¿ȵt","ȶȷƏÈȷȸŹ½","ȸȹƓÊȹȺƁÁ","ȺȻƍÇȻȼŷ¼","ȼȽƁÁȽȾŵ»","Ⱦvȿɀŵ»","ɀɁƍÇɁɂƉÅ","ɂɃƉÅɃɄƁÁ","ɄɅƗÌɅx","ɆɇƙÍɇɈƋÆ","ɈɉƁÁɉɊƍÇ","ɊɋƋÆɋz","Ɍɍű¹ɍɎƇÄ","ɎɏƇÄɏ|","ɐɑŵ»ɑɒƓÊ","ɒɓŹ½ɓɔű¹","ɔɕƗÌɕɖŹ½","ɖ~ɗɘŷ¼","ɘəƓÊəɚƍÇ","ɚɛƏÈɛ","ɜɝƁÁɝɞƋÆ","ɞɟŷ¼ɟɠŹ½","ɠɡƟÐɡ","ɢɣƍÇɣɤƋÆ","ɤɥɦŵ»","ɦɧƍÇɧɨƋÆ","ɨɩƕËɩɪƗÌ","ɪɫƓÊɫɬű¹","ɬɭƁÁɭɮƋÆ","ɮɯƗÌɯ","ɰɱű¹ɱɲƕË","ɲɳƕËɳɴŹ½","ɴɵƓÊɵɶƗÌ","ɶɷɸƁÁ","ɸɹƕËɹ","ɺɻƙÍɻɼƋÆ","ɼɽƁÁɽɾƑÉ","ɾɿƙÍɿʀŹ½","ʀʁʂŹ½","ʂʃƟÐʃʄƁÁ","ʄʅƕËʅʆƗÌ","ʆʇƕËʇ","ʈʉƇÄʉʊƍÇ","ʊʋű¹ʋʌŷ¼","ʌʍʎŵ»","ʎʏƕËʏʐƛÎ","ʐʑʒƝÏ","ʒʓƁÁʓʔƗÌ","ʔʕſÀʕ","ʖʗſÀʗʘŹ½","ʘʙű¹ʙʚŷ¼","ʚʛŹ½ʛʜƓÊ","ʜʝƕËʝ","ʞʟŻ¾ʟʠƓÊ","ʠʡƍÇʡʢƉÅ","ʢʣʤű¹","ʤʥƕËʥ","ʦʧŻ¾ʧʨƁÁ","ʨʩŹ½ʩʪƇÄ","ʪʫŷ¼ʫʬƗÌ","ʬʭŹ½ʭʮƓÊ","ʮʯƉÅʯʰƁÁ","ʰʱƋÆʱʲű¹","ʲʳƗÌʳʴƍÇ","ʴʵƓÊʵ","ʶʷƍÇʷʸƏÈ","ʸʹƗÌʹʺƁÁ","ʺʻƍÇʻʼƋÆ","ʼʽű¹ʽʾƇÄ","ʾʿˀƉÅ","ˀˁű¹ˁ˂ƗÌ","˂˃ŵ»˃˄ſÀ","˄ ˅ˆƙÍ","ˆˇƋÆˇˈƝÏ","ˈˉƁÁˉˊƋÆ","ˊˋŷ¼ˋ¢","ˌˍƉÅˍˎŹ½","ˎˏƓÊˏːŽ¿","ːˑŹ½ˑ¤","˒˓ƕË˓˔Ź½","˔˕ƗÌ˕¦","˖˗ŷ¼˗˘Ź½","˘˙ƗÌ˙˚ű¹","˚˛ŵ»˛˜ſÀ","˜¨˝˞ŷ¼","˞˟Ź½˟ˠƇÄ","ˠˡŹ½ˡˢƗÌ","ˢˣŹ½ˣª","ˤ˥ƓÊ˥˦Ź½","˦˧ƉÅ˧˨ƍÇ","˨˩ƛÎ˩˪Ź½","˪¬˫ˬŻ¾","ˬ˭ƍÇ˭ˮƓÊ","ˮ˯Ź½˯˰ű¹","˰˱ŵ»˱˲ſÀ","˲®˳˴ƁÁ","˴˵ƋÆ˵°","˶˷ŷ¼˷˸ƁÁ","˸˹ƕË˹˺ƗÌ","˺˻ƁÁ˻˼ƋÆ","˼˽ŵ»˽˾ƗÌ","˾²˿̀ƓÊ","̀́Ź½́̂ƗÌ","̂̃ƙÍ̃̄ƓÊ","̄̅ƋÆ̅´","̆̇ƍÇ̇̈ƓÊ","̈̉ŷ¼̉̊Ź½","̊̋ƓÊ̋¶","̌̍ųº̍̎ơÑ","̎¸̏̐ƕË","̐̑ƅÃ̑̒ƁÁ","̒̓ƏÈ̓º","̔̕ƇÄ̖̕ƁÁ","̖̗ƉÅ̗̘ƁÁ","̘̙ƗÌ̙¼","̛̚ű¹̛̜ƕË","̜̝ŵ»̝̞Ź½","̞̟ƋÆ̟̠ŷ¼","̡̠ƁÁ̡̢ƋÆ","̢̣Ž¿̣¾","̤̥ű¹̥̦ƕË","̧̦ŵ»̧À","̨̩ŷ¼̩̪Ź½","̪̫ƕË̫̬ŵ»","̬̭Ź½̭̮ƋÆ","̮̯ŷ¼̯̰ƁÁ","̰̱ƋÆ̱̲Ž¿","̲Â̴̳ŷ¼","̴̵Ź½̵̶ƕË","̶̷ŵ»̷Ä","̸̹ƃÂ̹̺ƍÇ","̺̻ƁÁ̻̼ƋÆ","̼Æ̽̾ƕË","̾̿ŵ»̿̀ű¹","̀́ƋǼÈ","͂̓ƕË̓̈́ƗÌ","̈́ͅű¹͆ͅƓÊ","͇͆ƗÌ͇Ê","͈͉ƋÆ͉͊ƍÇ","͊͋ŷ¼͋͌Ź½","͌Ì͍͎ƓÊ","͎͏Ź½͏͐ƇÄ","͐͑ű¹͑͒ƗÌ","͓͒ƁÁ͓͔ƍÇ","͔͕ƋÆ͕͖ƕË","͖͗ſÀ͗͘ƁÁ","͙͘ƏÈ͙Î","͚͛ƓÊ͛͜Ź½","͜͝ƇÄ͝Ð","͟͞ƝÏ͟͠ſÀ","͠͡Ź½͢͡ƓÊ","ͣ͢Ź½ͣÒ","ͤͥƕËͥͦſÀ","ͦͧƍÇͧͨƓÊ","ͨͩƗÌͩͪŹ½","ͪͫƕËͫͬƗÌ","ͬͭƏÈͭͮű¹","ͮͯƗÌͯͰſÀ","ͰÔͱͲű¹","ͲͳƇÄͳʹƇÄ","ʹ͵ƕË͵ͶſÀ","ͶͷƍÇͷƓÊ","ƗÌͺŹ½","ͺͻƕËͻͼƗÌ","ͼͽƏÈͽ;ű¹",";ͿƗÌͿſÀ","ƕËÖ","ƍÇ΄ƓÊ","΄Ø΅ΆƟÐ","Ά·ƍÇ·ΈƓÊ","ΈÚΉΊű¹","ΊƋÆΌŷ¼","ΌÜΎƋÆ","ΎΏƍÇΏΐƗÌ","ΐÞΑΒƕË","ΒΓƗÌΓΔű¹","ΔΕƓÊΕΖƗÌ","ΖΗƕËΗà","ΘΙŹ½ΙΚƋÆ","ΚΛŷ¼ΛΜƕË","ΜâΝΞŵ»","ΞΟƍÇΟΠƋÆ","ΠΡƗÌΡű¹","ΣƁÁΣΤƋÆ","ΤΥƕËΥä","ΦΧƋÆΧΨƙÍ","ΨΩƇÄΩΪƇÄ","ΪæΫάŵ»","άέƍÇέήƙÍ","ήίƋÆίΰƗÌ","ΰèαβŻ¾","βγƁÁγδƇÄ","δεƗÌεζŹ½","ζηƓÊηê","θιŹ½ικƟÐ","κλƗÌλμƓÊ","μνű¹νξŵ»","ξοƗÌοì","πρű¹ρςƋÆ","ςσơÑσî","τυƋÆυφƍÇ","φχƋÆχψŹ½","ψðωϊƕË","ϊϋƁÁϋόƋÆ","όύŽ¿ύώƇÄ","ώϏŹ½Ϗò","ϐϑƗÌϑϒƓÊ","ϒϓƙÍϓϔŹ½","ϔôϕϖŻ¾","ϖϗű¹ϗϘƇÄ","ϘϙƕËϙϚŹ½","ϚöϛϜƓÊ","ϜϝŹ½ϝϞŷ¼","ϞϟƙÍϟϠŵ»","ϠϡŹ½ϡø","Ϣϣŵ»ϣϤű¹","ϤϥƕËϥϦŹ½","ϦúϧϨŹ½","ϨϩƇÄϩϪƕË","ϪϫŹ½ϫü","ϬϭŹ½ϭϮƋÆ","Ϯϯŷ¼ϯþ","ϰϱƝÏϱϲſÀ","ϲϳŹ½ϳϴƋÆ","ϴĀϵ϶ƗÌ","϶ϷſÀϷϸŹ½","ϸϹƋÆϹĂ","Ϻϻŵ»ϻϼű¹","ϼϽƇÄϽϾƇÄ","ϾĄϿЀơÑ","ЀЁƁÁЁЂŹ½","ЂЃƇÄЃЄŷ¼","ЄĆЅІƅÃ","ІЇŹ½ЇЈơÑ","ЈĈЉЊųº","ЊЋƗÌЋЌƓÊ","ЌЍŹ½ЍЎŹ½","ЎĊЏАŹ½","АБƟÐБВƁÁ","ВГƕËГДƗÌ","ДČЕЖŻ¾","ЖЗƍÇЗИƓÊ","ИĎЙКƍÇ","КЛƏÈЛМƗÌ","МНƁÁНОƍÇ","ОПƋÆПРƕË","РĐСТŹ½","ТУƟÐУФŹ½","ФХŵ»ХЦƙÍ","ЦЧƗÌЧШŹ½","ШĒЩЪŷ¼","ЪЫŹ½ЫЬŻ¾","ЬЭƁÁЭЮƋÆ","ЮЯŹ½Яаŷ¼","аĔбвŻ¾","вгƙÍгдƋÆ","деŵ»ежƗÌ","жзƁÁзиƍÇ","ийƋÆйĖ","клŻ¾лмƙÍ","мнƋÆноŵ»","опƗÌпрƁÁ","рсƍÇстƋÆ","туƕËуĘ","фхųºхцƍÇ","цчƍÇчшƕË","шщƗÌщъŹ½","ъыŷ¼ыĚ","ьэƏÈэюƓÊ","юяƍÇяѐŵ»","ѐёŹ½ёђŷ¼","ђѓƙÍѓєƓÊ","єѕŹ½ѕĜ","іїƏÈїјƓÊ","јљƍÇљњŵ»","њћŹ½ћќŷ¼","ќѝƙÍѝўƓÊ","ўџŹ½џѠƕË","ѠĞѡѢű¹","Ѣѣŷ¼ѣѤƉÅ","ѤѥƁÁѥѦƋÆ","ѦĠѧѨű¹","Ѩѩŷ¼ѩѪƉÅ","ѪѫƁÁѫѬƋÆ","ѬѭƁÁѭѮƕË","ѮѯƗÌѯѰƓÊ","Ѱѱű¹ѱѲƗÌ","ѲѳƍÇѳѴƓÊ","ѴĢѵѶųº","ѶѷƓÊѷѸƁÁ","ѸѹŹ½ѹѺŻ¾","ѺĤѻѼƛÎ","ѼѽŹ½ѽѾƓÊ","ѾѿųºѿҀƍÇ","ҀҁƕËҁ҂Ź½","҂Ħ҃҄ƍÇ","҄҅ƙÍ҅҆ƗÌ","҆҇ƏÈ҇҈ƙÍ","҈҉ƗÌ҉Ĩ","Ҋғ$ҋҒ\nҌ","ҏ^ҍҐ\vҎ","Ґҏҍҏ","ҎҐҒґ","ҋґҌҒ","ҕғґғ","ҔҔҖҕ","ғҖҥ$җ","Ҡ)Ҙҟ\nҙҜ","^Қҝ\vқҝ","ҜҚҜқ","ҝҟҞҘ","ҞҙҟҢ","ҠҞҠҡ","ҡңҢҠ","ңҥ)ҤҊ","ҤҗҥĪ","Ҧҧ'ҧҨ","\tҨҪ\tҩҦ","Ҫҫҫҩ","ҫҬҬĬ","ҭҿ^ҮӀ\t","үҰ\tҰұķ","ұҲķҲҳķ","ҳҴķҴӀ","ҵҶ\tҶҷķ","ҷҸķҸҹķ","ҹҺķҺһķ","һҼķҼҽķ","ҽҾķҾӀ","ҿҮҿү","ҿҵӀĮ","Ӂӂ2ӂӃz","ӃӅӄӆķ","ӅӄӆӇ","ӇӅӇӈ","ӈİӉӒŁ¡","ӊӎĻӋӍĹ","ӌӋӍӐ","ӎӌӎӏ","ӏӒӐӎ","ӑӉӑӊ","ӒIJӓӕŁ¡","ӔӖĿ ӕӔ","Ӗӗӗӕ","ӗӘӘĴ","әӛ\tӚә","ӛĶӜӟĹ","ӝӟĵӞӜ","Ӟӝӟĸ","ӠӣŁ¡ӡӣĻ","ӢӠӢӡ","ӣĺӤӧĽ","ӥӧ:;ӦӤ","Ӧӥӧļ","Өө39өľӪ","ӭŁ¡ӫӭĽӬ","ӪӬӫӭ","ŀӮӯ2ӯ","łӰӲĹӱ","ӰӲӳӳ","ӱӳӴӴ","ԇӵӷĹӶ","ӵӷӸӸ","ӶӸӹӹ","ӺӺӼ0ӻ","ӽĹӼӻӽ","ӾӾӼӾ","ӿӿԇԀ","Ԃ0ԁԃĹԂ","ԁԃԄԄ","ԂԄԅԅ","ԇԆӱԆ","ӶԆԀԇ","ԈԈԊ\t\bԉԋ","/ԊԉԊԋ","ԋԍԌԎ","ĹԍԌԎԏ","ԏԍԏԐ","Ԑńԑԓ","ĹԒԑԓԖ","ԔԒԔԕ","ԕԗԖԔ","ԗԙ0ԘԚ","ĹԙԘԚԛ","ԛԙԛԜ","Ԝņԝԡ","ʼn¥ԞԠŋ¦ԟԞ","Ԡԣԡԟ","ԡԢԢň","ԣԡԤԧ","ů¸ԥԧ\t\tԦԤ","ԦԥԧŊ","Ԩԫś®ԩԫ","ţ²ԪԨԪԩ","ԫŌԬԲ","bԭԱ\n\nԮԯb","ԯԱbԭ","ԮԱԴ","ԲԲԳ","ԳԵԴԲ","ԵԶbԶŎ","ԷԹő©ԸԷ","ԹԺԺԸ","ԺԻԻŐ","ԼՉť³ԽՉŧ´","ԾՉũµԿՉū¶","ՀՉŗ¬ՁՉš±","ՂՉş°ՃՉŝ¯","ՄՉřՅՉŭ·","ՆՉ\t\vՇՉœª","ՈԼՈԽ","ՈԾՈԿ","ՈՀՈՁ","ՈՂՈՃ","ՈՄՈՅ","ՈՆՈՇ","ՉŒՊՋ1","ՋՌ,ՌՐ","ՍՏ\vՎՍ","ՏՒՐՑ","ՐՎՑՓ","ՒՐՓՔ,","Ք՟1ՕՖ1Ֆ","1՛","՚\n\fՙ՚՝","՛ՙ՛՜","՜՟՝՛","՞Պ՞Օ","՟Ŕՠա","\vաŖբգ","\t\rգŘդե\t","եŚզէ\t","էŜըթ\t","թŞժի\t","իŠլխ\t","խŢծկ\t","կŤհձ\t","ձŦղճ\t","ճŨմյ\t","յŪնշ\t","շŬոչ\t","չŮպջ\t","ջŰռս\t","սŲվտ\t","տŴրց\t","ցŶւփ\t","փŸքօ\t\b","օźֆև\t","ևżֈ։\t","։ž֊\t ","ƀ֍\t!֍",'Ƃ֎֏\t"֏Ƅ',"֑\t#֑Ɔ","֒֓\t$֓ƈ","֔֕\t%֕Ɗ","֖֗\t&֗ƌ","֘֙\t'֙Ǝ֚","֛\t(֛Ɛ֜֝","\t)֝ƒ֞֟\t*","֟Ɣ֠֡\t+","֡Ɩ֢֣\t,֣","Ƙ֤֥\t֥","ƚ֦֧\t-֧Ɯ","֨֩\t.֩ƞ","֪֫\t/֫Ơ","֭֬\t0֭Ƣ","֮֯\t1֯Ƥ","(ҏґғҜҞҠҤҫҿӇ","ӎӑӗӚӞӢӦӬӳӸӾԄ","ԆԊԏԔԛԡԦԪԲԺՈ","Ր՛՞"].join(""),o=(new r.atn.ATNDeserializer).deserialize(i),a=o.decisionToState.map((function(e,t){return new r.dfa.DFA(e,t)}));function s(e){return r.Lexer.call(this,e),this._interp=new r.atn.LexerATNSimulator(this,o,a,new r.PredictionContextCache),this}s.prototype=Object.create(r.Lexer.prototype),s.prototype.constructor=s,s.EOF=r.Token.EOF,s.T__0=1,s.T__1=2,s.T__2=3,s.T__3=4,s.T__4=5,s.T__5=6,s.T__6=7,s.T__7=8,s.T__8=9,s.T__9=10,s.T__10=11,s.T__11=12,s.T__12=13,s.T__13=14,s.T__14=15,s.T__15=16,s.T__16=17,s.T__17=18,s.T__18=19,s.T__19=20,s.T__20=21,s.T__21=22,s.T__22=23,s.T__23=24,s.T__24=25,s.T__25=26,s.T__26=27,s.T__27=28,s.T__28=29,s.T__29=30,s.T__30=31,s.T__31=32,s.T__32=33,s.T__33=34,s.T__34=35,s.T__35=36,s.T__36=37,s.T__37=38,s.T__38=39,s.T__39=40,s.T__40=41,s.T__41=42,s.T__42=43,s.T__43=44,s.T__44=45,s.T__45=46,s.T__46=47,s.T__47=48,s.T__48=49,s.T__49=50,s.T__50=51,s.T__51=52,s.T__52=53,s.CYPHER=54,s.EXPLAIN=55,s.PROFILE=56,s.USING=57,s.PERIODIC=58,s.COMMIT=59,s.UNION=60,s.ALL=61,s.CREATE=62,s.DROP=63,s.INDEX=64,s.ON=65,s.CONSTRAINT=66,s.ASSERT=67,s.IS=68,s.UNIQUE=69,s.EXISTS=70,s.LOAD=71,s.CSV=72,s.WITH=73,s.HEADERS=74,s.FROM=75,s.AS=76,s.FIELDTERMINATOR=77,s.OPTIONAL=78,s.MATCH=79,s.UNWIND=80,s.MERGE=81,s.SET=82,s.DETACH=83,s.DELETE=84,s.REMOVE=85,s.FOREACH=86,s.IN=87,s.DISTINCT=88,s.RETURN=89,s.ORDER=90,s.BY=91,s.L_SKIP=92,s.LIMIT=93,s.ASCENDING=94,s.ASC=95,s.DESCENDING=96,s.DESC=97,s.JOIN=98,s.SCAN=99,s.START=100,s.NODE=101,s.RELATIONSHIP=102,s.REL=103,s.WHERE=104,s.SHORTESTPATH=105,s.ALLSHORTESTPATHS=106,s.OR=107,s.XOR=108,s.AND=109,s.NOT=110,s.STARTS=111,s.ENDS=112,s.CONTAINS=113,s.NULL=114,s.COUNT=115,s.FILTER=116,s.EXTRACT=117,s.ANY=118,s.NONE=119,s.SINGLE=120,s.TRUE=121,s.FALSE=122,s.REDUCE=123,s.CASE=124,s.ELSE=125,s.END=126,s.WHEN=127,s.THEN=128,s.CALL=129,s.YIELD=130,s.KEY=131,s.BTREE=132,s.EXIST=133,s.FOR=134,s.OPTIONS=135,s.EXECUTE=136,s.DEFINED=137,s.FUNCTION=138,s.FUNCTIONS=139,s.BOOSTED=140,s.PROCEDURE=141,s.PROCEDURES=142,s.ADMIN=143,s.ADMINISTRATOR=144,s.BRIEF=145,s.VERBOSE=146,s.OUTPUT=147,s.StringLiteral=148,s.UrlHex=149,s.EscapedChar=150,s.HexInteger=151,s.DecimalInteger=152,s.OctalInteger=153,s.HexLetter=154,s.HexDigit=155,s.Digit=156,s.NonZeroDigit=157,s.NonZeroOctDigit=158,s.OctDigit=159,s.ZeroDigit=160,s.ExponentDecimalReal=161,s.RegularDecimalReal=162,s.UnescapedSymbolicName=163,s.IdentifierStart=164,s.IdentifierPart=165,s.EscapedSymbolicName=166,s.SP=167,s.WHITESPACE=168,s.Comment=169,s.ERROR_TOKEN=170,s.prototype.channelNames=["DEFAULT_TOKEN_CHANNEL","HIDDEN"],s.prototype.modeNames=["DEFAULT_MODE"],s.prototype.literalNames=[null,"';'","':'","'-'","'=>'","'://'","'/'","'.'","'@'","'#'","'?'","'&'","'='","'+'","'{'","','","'}'","'['","']'","'('","')'","'+='","'|'","'*'","'..'","'%'","'^'","'=~'","'<>'","'!='","'<'","'>'","'<='","'>='","'$'","'⟨'","'〈'","'﹤'","'<'","'⟩'","'〉'","'﹥'","'>'","''","'‐'","'‑'","'‒'","'–'","'—'","'―'","'−'","'﹘'","'﹣'","'-'",null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"'0'"],s.prototype.symbolicNames=[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"CYPHER","EXPLAIN","PROFILE","USING","PERIODIC","COMMIT","UNION","ALL","CREATE","DROP","INDEX","ON","CONSTRAINT","ASSERT","IS","UNIQUE","EXISTS","LOAD","CSV","WITH","HEADERS","FROM","AS","FIELDTERMINATOR","OPTIONAL","MATCH","UNWIND","MERGE","SET","DETACH","DELETE","REMOVE","FOREACH","IN","DISTINCT","RETURN","ORDER","BY","L_SKIP","LIMIT","ASCENDING","ASC","DESCENDING","DESC","JOIN","SCAN","START","NODE","RELATIONSHIP","REL","WHERE","SHORTESTPATH","ALLSHORTESTPATHS","OR","XOR","AND","NOT","STARTS","ENDS","CONTAINS","NULL","COUNT","FILTER","EXTRACT","ANY","NONE","SINGLE","TRUE","FALSE","REDUCE","CASE","ELSE","END","WHEN","THEN","CALL","YIELD","KEY","BTREE","EXIST","FOR","OPTIONS","EXECUTE","DEFINED","FUNCTION","FUNCTIONS","BOOSTED","PROCEDURE","PROCEDURES","ADMIN","ADMINISTRATOR","BRIEF","VERBOSE","OUTPUT","StringLiteral","UrlHex","EscapedChar","HexInteger","DecimalInteger","OctalInteger","HexLetter","HexDigit","Digit","NonZeroDigit","NonZeroOctDigit","OctDigit","ZeroDigit","ExponentDecimalReal","RegularDecimalReal","UnescapedSymbolicName","IdentifierStart","IdentifierPart","EscapedSymbolicName","SP","WHITESPACE","Comment","ERROR_TOKEN"],s.prototype.ruleNames=["T__0","T__1","T__2","T__3","T__4","T__5","T__6","T__7","T__8","T__9","T__10","T__11","T__12","T__13","T__14","T__15","T__16","T__17","T__18","T__19","T__20","T__21","T__22","T__23","T__24","T__25","T__26","T__27","T__28","T__29","T__30","T__31","T__32","T__33","T__34","T__35","T__36","T__37","T__38","T__39","T__40","T__41","T__42","T__43","T__44","T__45","T__46","T__47","T__48","T__49","T__50","T__51","T__52","CYPHER","EXPLAIN","PROFILE","USING","PERIODIC","COMMIT","UNION","ALL","CREATE","DROP","INDEX","ON","CONSTRAINT","ASSERT","IS","UNIQUE","EXISTS","LOAD","CSV","WITH","HEADERS","FROM","AS","FIELDTERMINATOR","OPTIONAL","MATCH","UNWIND","MERGE","SET","DETACH","DELETE","REMOVE","FOREACH","IN","DISTINCT","RETURN","ORDER","BY","L_SKIP","LIMIT","ASCENDING","ASC","DESCENDING","DESC","JOIN","SCAN","START","NODE","RELATIONSHIP","REL","WHERE","SHORTESTPATH","ALLSHORTESTPATHS","OR","XOR","AND","NOT","STARTS","ENDS","CONTAINS","NULL","COUNT","FILTER","EXTRACT","ANY","NONE","SINGLE","TRUE","FALSE","REDUCE","CASE","ELSE","END","WHEN","THEN","CALL","YIELD","KEY","BTREE","EXIST","FOR","OPTIONS","EXECUTE","DEFINED","FUNCTION","FUNCTIONS","BOOSTED","PROCEDURE","PROCEDURES","ADMIN","ADMINISTRATOR","BRIEF","VERBOSE","OUTPUT","StringLiteral","UrlHex","EscapedChar","HexInteger","DecimalInteger","OctalInteger","HexLetter","HexDigit","Digit","NonZeroDigit","NonZeroOctDigit","OctDigit","ZeroDigit","ExponentDecimalReal","RegularDecimalReal","UnescapedSymbolicName","IdentifierStart","IdentifierPart","EscapedSymbolicName","SP","WHITESPACE","Comment","ERROR_TOKEN","FF","RS","ID_Continue","GS","FS","CR","Sc","SPACE","TAB","LF","VT","US","ID_Start","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],s.prototype.grammarFileName="Cypher.g4",t.CypherLexer=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ReferencesListener=void 0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=n(37),a=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(1));function s(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function l(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var u=function(){function e(){c(this,e),this.names={},this.namesByQuery=[],this.referencesByName={},this.referencesByQueryAndName=[]}return i(e,[{key:"addQuery",value:function(){this.namesByQuery.push([]),this.referencesByQueryAndName.push({})}},{key:"add",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=this.namesByQuery.length-1,r=e.getText();t&&(this.names[r]=!0,this.namesByQuery[n][r]=!0),this.referencesByName[r]=[].concat(l(this.referencesByName[r]||[]),[e]);var i=this.referencesByQueryAndName[n];i[r]=[].concat(l(i[r]||[]),[e])}},{key:"addVariable",value:function(e){var t=!0,n=e.parentCtx;n&&n.constructor.name===a.ATOM_CONTEXT&&(t=!1),this.add(e,t)}}]),e}();t.ReferencesListener=function(e){function t(){var e,n,i;c(this,t);for(var o=arguments.length,l=Array(o),h=0;h<o;h++)l[h]=arguments[h];return n=i=s(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(l))),i.queries=[],i.queriesAndCommands=[],i.statements=[],i.raw=[],i.indexes=a.SYMBOLIC_CONTEXTS.reduce((function(e,t){return r({},e,function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},t,new u(t)))}),{}),i.inConsoleCommand=!1,s(i,n)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),i(t,[{key:"enterRaw",value:function(e){this.raw.push(e)}},{key:"exitRaw",value:function(e){0===this.raw.length&&this.raw.push(e)}},{key:"enterCypherPart",value:function(e){this.statements.push(e)}},{key:"exitCypher",value:function(e){0===this.statements.length&&this.statements.push(e)}},{key:"enterCypherConsoleCommand",value:function(e){var t=this;this.queriesAndCommands.push(e),Object.keys(this.indexes).forEach((function(e){return t.indexes[e].addQuery()})),this.inConsoleCommand=!0}},{key:"exitCypherConsoleCommand",value:function(){this.inConsoleCommand=!1}},{key:"enterCypherQuery",value:function(e){var t=this;this.queries.push(e),this.queriesAndCommands.push(e),Object.keys(this.indexes).forEach((function(e){return t.indexes[e].addQuery()}))}},{key:"exitVariable",value:function(e){this.inConsoleCommand||this.indexes[a.VARIABLE_CONTEXT].addVariable(e)}},{key:"exitLabelName",value:function(e){this.inConsoleCommand||this.indexes[a.LABEL_NAME_CONTEXT].add(e)}},{key:"exitRelTypeName",value:function(e){this.inConsoleCommand||this.indexes[a.RELATIONSHIP_TYPE_NAME_CONTEXT].add(e)}},{key:"exitPropertyKeyName",value:function(e){this.inConsoleCommand||this.indexes[a.PROPERTY_KEY_NAME_CONTEXT].add(e)}},{key:"exitParameterName",value:function(e){this.inConsoleCommand||this.indexes[a.PARAMETER_NAME_CONTEXT].add(e)}}]),t}(o.CypherListener)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.extractStatements=void 0;var r,i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=(r=n(6))&&r.__esModule?r:{default:r},a=n(41),s=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(1)),l=n(93),c=n(44),u=n(42),h=n(94);t.extractStatements=function(e){var t=new h.ReferencesListener,n=new u.ErrorListener,r=new o.default.InputStream(e),p=new c.CypherLexer(r);p.removeErrorListeners(),p.addErrorListener(n);var d=new o.default.CommonTokenStream(p),f=new l.CypherParser(d);f.buildParseTrees=!0,f.removeErrorListeners(),f.addErrorListener(n),f.addParseListener(t);var m=f.cypher(),g=t.queries,y=t.indexes,v=s.SYMBOLIC_CONTEXTS.reduce((function(e,t){return i({},e,function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},t,new a.ReferencesProvider(g,y[t])))}),{});return{parseTree:m,referencesListener:t,errorListener:n,referencesProviders:v}}},function(e,t,n){"use strict";var r=n(6),i=n(43).CypherListener,o=["悋Ꜫ脳맭䅼㯧瞆奤","¬ઉ\t\t","\t\t\t\t","\b\t\b\t\t\t\n\t\n\v\t\v\f\t\f","\r\t\r\t\t\t","\t\t\t","\t\t\t\t","\t\t\t","\t\t\t\t",'\t \t !\t!"\t"#\t#',"$\t$%\t%&\t&'\t'(\t()\t)*\t*","+\t+,\t,-\t-.\t./\t/0\t01\t1","2\t23\t34\t45\t56\t67\t78\t8","9\t9:\t:;\t;<\t<=\t=>\t>?\t?","@\t@A\tAB\tBC\tCD\tDE\tEF\tF","G\tGH\tHI\tIJ\tJK\tKL\tLM\tM","N\tNO\tOP\tPQ\tQR\tRS\tST\tT","U\tUV\tVW\tWX\tXY\tYZ\tZ[\t[","\\\t\\]\t]^\t^_\t_`\t`a\tab\tb","c\tcd\tde\tef\tfg\tgh\thi\ti","j\tjk\tkl\tlm\tmn\tno\top\tp","q\tqr\trs\tst\ttu\tuv\tvw\tw","x\txy\tyz\tz{\t{|\t|}\t}~\t~","\t\t\t\t","\t\t
\t
","\t\t\t\t","\t\t\t","\t\t\t\t","\t\t\t","\t\t\t\t","\t\t\t","\t\t\t\t","\t \t ¡\t¡","¢\t¢£\t£¤\t¤¥\t","¥¦\t¦§\t§¨\t¨","©\t©ª\tª«\t«¬\t","¬\t®\t®¯\t¯","°\t°±\t±²\t²³\t","³´\t´µ\tµ¶\t¶","·\t·¸\t¸¹\t¹º\t","º»\t»¼\t¼½\t½","¾\t¾¿\t¿À\tÀÁ\t","ÁÂ\tÂÃ\tÃÄ\tÄ","Å\tÅÆ\tÆÇ\tÇÈ\t","ÈÉ\tÉÊ\tÊË\tË","Ì\tÌÍ\tÍÎ\tÎ","ƞ\n\fơ\v","Ƥ\n","Ʃ\n\fƬ\v","Ư\n","ƴ\nƸ\n","ƻ\n","ǀ\n","dž\n\flj\v","ǎ\n","\fǑ\v\b\b\b","\b\b\b\b\b\b\b\bǝ\n\b","\t\t\tǡ\n\t\t\t\tǥ\n\t","\t\t\n\n\v\v\v","\vǮ\n\v\v\v\v","\vdz\n\v\v\v\vǷ\n\v","\v\vǺ\n\v\v\vǽ","\n\v\f\f\r\rȂ\n\r\r\r","\rȆ\n\rȋ\n","\fȎ\v","","","ȝ\n\fȠ\v","","","ȴ","\n\fȷ\v","Ⱦ\n","ɀ\nɄ\n","ɇ\n\fɊ\v","ɍ\n\rɎ","ɕ\n","ə\n","ɝ\n","ɡ\nɣ\n\fɦ","\v","ɬ\nɯ\n","ɳ\n","ɷ\n","ɽ\nʁ\n","ʅ\n","ʉ\nʋ\n\f","ʎ\v","ʔ\nʗ\n","","ʟ\n "," ʨ\n !!!!ʭ\n!!ʯ",'\n!\r!!ʰ!!ʴ\n!"""','"ʹ\n"\f""ʼ\v"###$',"$$˃\n$$˅\n$\f$$ˈ\v$%","%%%ˍ\n%&&&&˒\n&","&&&˖\n&\f&&˙\v&''","(())***ˣ\n***","*˧\n***+++˭\n+,",",,˱\n,---˵\n---˸","\n-\f--˻\v-...˿\n..",".///̅\n///̈\n/\f//̋","\v/00000000̔","\n0111̘\n111̛\n1\f11̞","\v122222̤\n222","22̩\n222̬\n2333","3333333333","33̼\n34444444","4444͈\n455556","6667777888","89999::::;",";;;<<<<===","=>>>>?????Ͷ","\n????ͺ\n????;\n?","???\n???@@@@","@Ί\n@@@@Ύ\n@@@@","@Γ\n@@@@Η\n@@@@","@@@@@AAAAAΥ","\nAAAAΩ\nAAAAAή","\nAAAAβ\nAAAAA","Aθ\nAAAAμ\nAAAA","AAAAABBBBBϊ","\nBBBBBBBϑ\nBB","BBBBϗ\nBBBBBC","CCCCϡ\nCCCCϥ\nC","CCCCCϫ\nCCCCC","DDDϳ\nDDDDDDD","DDDDϾ\nDDDDDDЄ","\nDDDDDDDDDD","DDА\nDDDDDDЖ\nD","DDDDDDDDDD","DТ\nDDDDЦ\nDEEE","EEEEEEа\nEEEE","EEEEEEEEEн\nE","FFFс\nFFFFх\nFF","FFщ\nF\fFFь\vFFFя\nF","FFђ\nFGGGі\nGGG","GGGGHHHѠ\nHHH","HHѥ\nH\fHHѨ\vHIII","IIIIIIIIѴ\nIJ","JJѸ\nJJJKKKKKҀ","\nKKKLLL҆\nLLL","LҊ\nLLLLҎ\nLLLґ\nL\fL","LҔ\vLMMMҘ\nMMMMҜ","\nMMMMMMҢ\nMMM","MҦ\nMMMMMMҬ\nMM","MMҰ\nMMMMMMҶ\nM","MMMҺ\nMNNNҾ\nNN","NNӂ\nNNNNӆ\nNNN","Nӊ\nNNNӍ\nN\fNNӐ\vNO","OOOOӖ\nOOOOӚ\nO","OOӝ\nO\fOOӠ\vOPPP","PPӦ\nPQQQӪ\nQQQ","QӮ\nQQQQQQQQӶ\n","QQQQQӻ\nQ\rQQӼQ","QԀ\nQQQRRRԆ\nRR","Rԉ\nRRRRRԎ\nRRRԑ","\nRSSSԕ\nSSSԘ\nSS","Sԛ\nSSSTTTTԢ\nT","TTTԦ\nTTTTԪ\nTU","UUԮ\nUUUԱ\nUVVVԵ","\nVVVVԹ\nVVVԼ\nV\fVVԿ","\vVVVVՃ\nVVVVՇ\nV","VVՊ\nV\fVVՍ\vVVVՐ\n","VWWWWWWWWՙ\nW","XXXXX՟\nXXXբ\nX","YYYզ\nYYYթ\nYZZ","Z[[[հ\n[[[ճ\n[[","[ն\n[[[[պ\n[[[ս\n[\f[","[ր\v[[[փ\n[[[\\\\","\\\\\\\n\\\\\\\\֏\n\\","\\\\֒\n\\\f\\\\֕\v\\\\\\","\\֙\n\\]]]֝\n]^^","^^^^__``aa","aaaaa֯\naaaaֳ\n","aaaֶ\na\faaֹ\vabb","bbccccdddׅ\nd","ddd\ndd\ndee\ne","eeeeeeeeח\nee","eeכ\neeeeן\neee","eeeeeeeee\ne","eeeׯ\neeeײ\ne\fee\v","eeeeeeeee\ne","fffff\nffff؈\n","fff؋\nf\fff؎\vfffؑ","\nfgggؕ\nggggؙ\ng","gghhh؟\nhiiiأ\n","iiiiiب\nijjjj","jخ\njkkkkkkkkط","\nkkkllllllـ\n","lllmmmmmو\nmm","mnnnَ\nnnnnْ\nn","nnٕ\nn\fnn٘\vnooo","oppp٠\npppp٤\np","pp٧\np\fpp٪\vpqqqٮ","\nqqqqٲ\nqqqqqٷ","\nqrrrٻ\nrsssٿ\ns","ssڂ\ns\fssڅ\vssss","ssڋ\nstttڏ\nttt","tړ\nttڕ\nttttڙ\nttڛ","\nttttڟ\nttڡ\nttt","uuuڧ\nuuuvvvڭ\n","vvvڰ\nvvvڳ\nvvv","wwwڹ\nwwwwwھ\nw","xxxۂ\nxxxxxۇ\nx","yyyۋ\nyyyyۏ\nyyۑ","\nyyyyە\nyyۗ\nyyyۚ","\nyyyy۞\nyy۠\nyyy","zzzۦ\nz{{{۪\n{{","{|||۰\n||||۴\n|\f|","|۷\v|}}}~~۽\n~~","~܃\n","܆\n\f܉\v","ܐ\n","ܔ\n","ܖ\nܚ\n","ܞ\nܠ\n","ܢ\n","
","
ܯ\n
\f
ܲ","\v
","ܹ\n\fܼ\v","݃","\n\f݆\v","݊\n\n\f","ݏ\v","ݕ\nݘ\n\f","ݛ\vݟ\n","ݣ\n","ݧ\n","ݫ\nݮ\n\f","ݱ\vݵ\n","ݹ\n","ݽ\n","ށ\nޅ\n","މ\n","ތ\n\fޏ\v","ޓ\n","ޗ\nޚ\n\f","ޝ\vޡ\n","ޣ\n\fަ\v","ެ\n","","\n\n","\n","\n","","ߎ\n","ߑ\n","","ߞ\n\f","ߡ\vߥ","\nߩ\n","߫\n\f߮\v","߲\n","߶\nߺ\n","","ࠂ\nࠆ\n","ࠊ\n","ࠒ","\nࠖ\n","ࠚ\n","ࠢ\n","ࠦ\n","ࠪ\n","࠲\n","࠶\n","࠺\n","ࡂ\n","ࡆ\n","ࡊ\n","ࡒ\n","ࡖ\n","࡚\n࡞\n","ࡡ\nࡤ\n","","\nࡰ","\nࡴ\n","ࡸ\n","ࡼ\nࢀ\n","ࢄ\n","࢈\n","ࢌ\n"," \n "," ࢘\n ࢜","\n ","ࢢ\n ࢦ\n "," ࢪ\n "," ࢮ\n ¡¡¢","¢£££££","£ࢹ\n££££ࢽ\n£","£££ࣁ\n££","££££££","££££££","££££࣓\n£¤","¤¤¤¤¤¤","¤ࣜ\n¤¥¥¦","¦§§§ࣤ\n§§","§§ࣨ\n§§§","§࣬\n§§§§ࣰ\n§","§ࣲ\n§\f§§ࣵ\v§","§ࣷ\n§§§¨¨","¨ࣽ\n¨¨¨¨","¨ं\n¨¨¨¨¨","इ\n¨¨¨¨¨ऌ","\n¨¨¨¨¨ऑ\n¨","¨¨¨¨ख\n¨","¨¨¨¨छ\n¨¨","¨ञ\n¨©©©ढ","\n©©©©द\n©©","©ªªªब\nª","ªªय\nª\rªªर«","««व\n«««स","\n«¬¬¬¬¬","¬ू\n","ॆ\n","ॊ\nौ\n","ॐ\n","॔\nक़\n","ग़\n\fढ़\v","य़\n®®","®¯¯°°±","±±६\n±±±±","॰\n±±±±ॴ\n±","±±ॷ\n±±±ॺ\n±","±±²²²ঀ\n","²²²²\n²²","²²ঈ\n²²ঊ\n²","²²²\n²²²","²\n²²²²খ","\n²²ঘ\n²²²²","জ\n²²²²ঠ\n²","²²³³³দ\n³","³³´´´ব\n","´´´য\n´\r´´র","´´´\n´´","´´হ\n´´´়\n´","\r´´ঽ´ী\n´´","´ৃ\n´´´´ে\n´","´´\n´´´্","\n´´´µµµ","\nµµµµৗ\nµ","µµµ\nµµµ","¶¶···ৣ\n","·¸¸¸১\n¸¸","¸¸৫\n¸¸¸","¸৯\n¸¸¸¸৳\n¸","¸৵\n¸\f¸¸৸\v¸","¸৺\n¸¸¸¹¹","¹\n¹¹¹¹","\n¹¹¹ਇ\n¹¹¹","ਊ\n¹¹¹¹\n¹","¹¹\n¹\f¹¹ਔ\v¹","¹¹ਗ\n¹¹¹","ºººººਟ\nº","»»»ਣ\n»»","»»ਧ\n»»»¼","¼¼½½¾¾","¾¿¿¿ਵ\n¿","ÀÀÀਹ\nÀÀÀ","À\nÀÀÀÁ","ÁÁÂÂÂ\nÂ","ÃÃÃ\nÃÃ","ÃÃ\nÃÃÃੑ\nÃ","\fÃÃ\vÃÄÄ","Ä\nÄÄÄਜ਼\nÄ\rÄ","ÄੜÅÅÅ\nÅ","ÅÅÅ\nÅÅÅ","੨\nÅ\fÅÅ੫\vÅÆ","ÆÇÇÈÈÉ","ÉÉÉ੶\nÉ\fÉÉ","\vÉÊÊËËÌ","ÌÍÍÍÍÍ","અ\nÍÎÎÎƟɈ","Ï\b\n\f",' "$&(*,.02468:<>@BDFHJLNPRTVXZ\\^`bdfhjlnprtvxz|',"~"," ¢¤¦¨ª¬","®°²´¶¸º¼¾ÀÂÄ","ÆÈÊÌÎÐÒÔÖØÚÜ","Þàâäæèêìîðòô","öøúüþĀĂĄĆĈĊČ","ĎĐĒĔĖĘĚĜĞĠĢĤ","ĦĨĪĬĮİIJĴĶĸĺļ","ľŀłńņňŊŌŎŐŒŔ","ŖŘŚŜŞŠŢŤŦŨŪŬ","ŮŰŲŴŶŸźżžƀƂƄ","ƆƈƊƌƎƐƒƔƖƘƚ","\t\t`chi","{|uu¥¥","¨¨£¤"," %(!!),-78","ளƣƥ","Ƴ\bƼ","\nǁ\fNJ","ǜǞ","ǨǪ","Ǿȁ","ȇȏ","ȗ ș",'"ȡ$ȣ&Ȩ',"(Ȫ*ȭ",",Ȱ.ȸ","0Ɂ2Ɍ","4ɐ6ɮ","8ɰ:ʖ<ʞ",">ʠ@ʮ","BʵDʽ","FˆHˌ","JˎL˚","N˜P˞Rˠ","TˬV˰","X˲Z˼","\\̂^̌","`̕b̫","d̻f͇h͉","j͍l͑","n͕p͙","r͝t͡","vͥxͩ","zͭ|ͱ~΅","Πυ","ϜХ","Чр","ѓѝ","ѳѵ","ѻ҃","ҹҽ","ӑӥ"," ӧ¢ԃ","¤Ԓ¦Ԟ","¨ԫªՏ","¬®՚","°գ²ժ","´խ¶ֆ","¸֜º֞","¼֤¾֦","À֨Âֺ","Ä־Æׂ","ÈÊ","ÌؒÎ؞","ÐؠÒة","ÔدÖغ","ØكÚً","ÜٙÞٝ","àٶâٺ","äڊæڌ","èڤêڪ","ìڽîۆ","ðۈòۥ","ôۧöۭ","ø۸úۼ","ü܀þ܊","Ā܍Ăܣ","ĄܥĆܧ","ĈܩĊܳ","ČܽĎݍ","ĐݒĒݜ","ĔݲĖސ","ĘޤĚީ","ĜߢĞ߯","Ġ߽Ģ߿","ĤࠍĦࠏ","ĨࠝĪࠟ","Ĭ࠭Į","İ࠽IJ","ĴࡍĶࡏ","ĸࡧĺࡩ","ļľࢭ","ŀࢯłࢱ","ń࣒ņࣛ","ňࣝŊࣟ","Ō࣡Ŏझ","ŐटŒऩ","ŔलŖह","ŘिŚॢ","Ŝ॥Ş१","Š३Ţॽ","ŤণŦি","ŨŪ","ŬৢŮ","Ű৽Ųਞ","ŴਠŶਪ","Ÿਭźਯ","żžਸ਼","ƀੀƂ","ƄੇƆ","ƈਫ਼Ɗ੬","ƌ੮Ǝੰ","Ɛƒ","ƔƖ","Ƙƚઆ","Ɯƞ\vƝƜ","ƞơƟƠ","ƟƝƠƤ","ơƟƢƤ","ƣƟƣƢ","Ƥƥƪ","ƦƧƧƩ","ƨƦƩƬ","ƪƨƪƫ","ƫƮƬƪ","ƭƯƮƭ","ƮƯƯư","ưƱƱ","Ʋƴ©ƳƲ","ƳƴƴƷ","ƵƸD#ƶƸ","\bƷƵƷƶ","Ƹƺƹƻ","©ƺƹƺƻ","ƻƼƿ","\nƽƾ©ƾǀ","\fƿƽƿǀ","ǀ\tǁǂ","ǂLJƘÍǃDŽ","DŽdžƘÍDžǃ","džljLJDž","LJLjLj\v","ljLJNJǏ","\bNjnj©njǎ","\bǍNjǎǑ","ǏǍǏǐ","ǐ\rǑǏ","ǒǝ\nǓǝ","4ǔǝ\tǕǝŮ","¸ǖǝ> Ǘǝň¥","ǘǝŬ·ǙǝŊ¦",'ǚǝB"Ǜǝ@!ǜǒ',"ǜǓǜǔ","ǜǕǜǖ","ǜǗǜǘ","ǜǙǜǚ","ǜǛǝ","ǞǠƘÍǟǡ","©ǠǟǠǡ","ǡǢǢǤ","ǣǥ©Ǥǣ","ǤǥǥǦ","ǦǧĆǧ","Ǩǩ\vǩ","Ǫǫ\fǫǭ","ǬǮ$ǭǬ","ǭǮǮǯ","ǯDz\rǰDZ","DZdzDzǰ","DzdzdzǶ","Ǵǵ\bǵǷ"," ǶǴǶǷ","ǷǹǸǺ","*ǹǸǹǺ","ǺǼǻǽ","(ǼǻǼǽ","ǽǾǿ","0ǿȀȂ","\bȁȀȁȂ","ȂȅȃȆ","ȄȆȅȃ","ȅȄȆ","ȇȌ0Ȉȉ","\tȉȋ0ȊȈ","ȋȎȌȊ","Ȍȍȍ","ȎȌȏȐ","2Ȑȑ\tȑȒ2","Ȓȓ\tȓȔ2","Ȕȕ\tȕȖ2Ȗ","ȗȘ2Ș","șȞ0Ț","ț\bțȝ0ȜȚ","ȝȠȞȜ","Ȟȟȟ!","ȠȞȡȢ","0Ȣ#ȣȤ",'"ȤȥȥȦ',"&Ȧȧ\nȧ%","Ȩȩ0ȩ'","Ȫȫ\vȫȬ0","Ȭ)ȭȮ\fȮ","ȯ,ȯ+Ȱȵ",".ȱȲ\rȲȴ",".ȳȱȴȷ","ȵȳȵȶ","ȶ-ȷȵ","ȸȿ0ȹȽ","ȺȾ0ȻȾ","2ȼȾȽȺ","ȽȻȽȼ","Ⱦɀȿȹ","ȿɀɀ/","ɁɈƘÍɂɄ\t","ɃɂɃɄ","ɄɅɅɇ","ƘÍɆɃɇɊ","ɈɉɈɆ","ɉ1ɊɈ","ɋɍƌÇɌɋ","ɍɎɎɌ","Ɏɏɏ3","ɐɑ<ɑ5","ɒɔɓɕ©","ɔɓɔɕ","ɕɖɖɘ8","ɗə©ɘɗ","ɘəəɤ","ɚɜɛɝ©","ɜɛɜɝ","ɝɞɞɠ8","ɟɡ©ɠɟ","ɠɡɡɣ","ɢɚɣɦ","ɤɢɤɥ","ɥɧɦɤ","ɧɨɨɯ","ɩɫɪɬ©","ɫɪɫɬ","ɬɭɭɯ","ɮɒɮɩ","ɯ7ɰɲň","¥ɱɳ©ɲɱ","ɲɳɳɴ","ɴɶɵɷ©","ɶɵɶɷ","ɷɸɸɹ<","ɹ9ɺɼ","ɻɽ©ɼɻ","ɼɽɽɾ","ɾʀ<ɿʁ©","ʀɿʀʁ","ʁʌʂʄ","ʃʅ©ʄʃ","ʄʅʅʆ","ʆʈ<ʇʉ©","ʈʇʈʉ","ʉʋʊʂ","ʋʎʌʊ","ʌʍʍʏ","ʎʌʏʐ","ʐʗʑʓ","ʒʔ©ʓʒ","ʓʔʔʕ","ʕʗʖɺ","ʖʑʗ;","ʘʟň¥ʙʟŬ","·ʚʟ6ʛʟ:","ʜʟŊ¦ʝʟt","ʞʘʞʙ","ʞʚʞʛ","ʞʜʞʝ","ʟ=ʠʡŪ¶","ʡʢʢʧ©","ʣʨʤʨŬ·","ʥʨŊ¦ʦʨƘÍ","ʧʣʧʤ","ʧʥʧʦ","ʨ?ʩʬ\b","ʪʭƘÍʫʭŬ·","ʬʪʬʫ","ʭʯʮʩ","ʯʰʰʮ","ʰʱʱʳ","ʲʴ\bʳʲ","ʳʴʴA","ʵʺƘÍʶʷ","ʷʹƘÍʸʶ","ʹʼʺʸ","ʺʻʻC","ʼʺʽʾF$ʾ","ʿT+ʿEˀ˂","H%ˁ˃©˂ˁ","˂˃˃˅","˄ˀ˅ˈ","ˆ˄ˆˇ","ˇGˈˆ","ˉˍJ&ˊˍN(ˋ","ˍP)ˌˉˌˊ","ˌˋˍI","ˎˑ8ˏː","©ː˒L'ˑˏ","ˑ˒˒˗","˓˔©˔˖","R*˕˓˖˙","˗˕˗˘","˘K˙˗","˚˛¤˛M","˜˝9˝O","˞˟:˟Q","ˠˢƘÍˡˣ©","ˢˡˢˣ","ˣˤˤ˦","˥˧©˦˥","˦˧˧˨","˨˩ƘÍ˩S","˪˭f4˫˭V,ˬ˪","ˬ˫˭U","ˮ˱X-˯˱Z.","˰ˮ˰˯","˱W˲˹\\/˳˵","©˴˳˴˵","˵˶˶˸","b2˷˴˸˻","˹˷˹˺","˺Y˻˹","˼˾^0˽˿©","˾˽˾˿","˿̀̀́`","1́[̂̉d3̃","̅©̄̃̄","̅̅̆̆","̈d3̇̄̈̋","̉̇̉̊","̊]̋̉","̌̍;̍̎","©̎̏<̏̐","©̐̓=̑̒","©̒̔ƌÇ̓̑","̓̔̔_","̜̕E̖̘","©̗̖̗̘","̛̘̙̙","d3̛̗̞̚","̜̜̝̚","̝a̞̜","̟̠>̡̠","©̡̣?̢̤","©̢̣̣̤","̤̥̥̬","\\/̨̦>̧̩©","̨̧̨̩","̩̪̪̬\\/","̫̟̫̦","̬c̭̼E̮","̼Êf̯̼F̰̼","G̱̼H̲̼","J̳̼K̴̼","L̵̼N̶̼O","̷̼ Q̸̼¢R̹","̼¤S̺̼®X̻̭","̻̮̻̯","̻̰̻̱","̻̲̻̳","̴̵̻̻","̶̷̻̻","̸̻̻̹","̻̺̼e","͈̽p9͈̾","z>͈̿h5͈̀r:͈́","j6͈͂t;͈̓l7̈́","͈v<͈ͅn8͈͆x=","͇͇̽̾","͇͇̿̀","͇͇́͂","͇͇̓̈́","͇͇͆ͅ","͈g͉͊@͊","͋©͋͌~@͌i","͍͎@͎͏","©͏͐A͐k","͑͒@͓͒©","͓͔B͔m","͕͖@͖͗©","͗͘C͘o","͙͚@͚͛©","͛͜|?͜q͝͞","A͟͞©͟͠","~@͠s͢͡A","ͣ͢©ͣͤA","ͤuͥͦA","ͦͧ©ͧͨB","ͨwͩͪAͪ","ͫ©ͫͬCͬ","yͭͮAͮͯ","©ͯͰ|?Ͱ{","ͱͲBͲͳ©","ͳ͵CʹͶ©","͵ʹ͵Ͷ","Ͷͷͷþ","ͺ©","ͺͺͻ","ͻͽͼ;©","ͽͼͽ;",";ͿͿƈ","Å©","","΄΄}","΅ΆDΆ·©","·ΉCΈΊ©","ΉΈΉΊ","Ί","ΌΎ©Ό","ΎΎΏ","ΏΐŪ¶ΐΒþ","ΑΓ©ΒΑ","ΒΓΓΔ","ΔΖΕΗ©","ΖΕΖΗ","ΗΘΘΙE","ΙΚ©ΚΛƆ","ÄΛΜ©ΜΝF","ΝΞ©ΞΟG","ΟΠΡD","Ρ©ΤC","ΣΥ©ΤΣ","ΤΥΥΦ","ΦΨΧΩ©","ΨΧΨΩ","ΩΪΪΫŪ","¶Ϋέþάή©","έάέή","ήίία","ΰβ©αΰ","αββγ","γδEδε©","εηζθ©","ηζηθ","θιιλƄ","Ãκμ©λκ","λμμν","νξξο©","οπFπρ©","ρςgςσ©","στ
τ","υφDφχ©","χωCψϊ©","ωψωϊ","ϊϋϋό","όύŪ¶ύώþ","ώϐϏϑ©","ϐϏϐϑ","ϑϒϒϓE","ϓϔ©ϔϖH","ϕϗ©ϖϕ","ϖϗϗϘ","ϘϙϙϚƆ","ÄϚϛϛ","ϜϝDϝϞ©","ϞϠCϟϡ©","ϠϟϠϡ","ϡϢϢϤ","Dϣϥ©Ϥϣ","ϤϥϥϦ","ϦϧEϧϨ©","ϨϪHϩϫ©","ϪϩϪϫ","ϫϬϬϭ","ϭϮƆÄϮϯ","ϯ
ϰϲ","ϱϳ©ϲϱ","ϲϳϳϴ","ϴϵϵ϶Ɩ","Ì϶ϷϷϸŪ","¶ϸϹô{ϹϺ","ϺϻƖÌϻϽ","ϼϾ©Ͻϼ","ϽϾϾϿ","ϿЀЀЦ","ЁЃЂЄ©","ЃЂЃЄ","ЄЅЅІ","ІЇƖÌЇЈ","ЈЉŪ¶ЉЊô","{ЊЋЋЌƖ","ÌЌЍƔËЍЏ","ЎА©ЏЎ","ЏААБ","БВВЦ","ГЕДЖ©","ЕДЕЖ","ЖЗЗИ","ИЙƒÊЙКƖ","ÌКЛЛМŪ","¶МНô{НО","ОПƖÌПС","РТ©СР","СТТУ","УФФЦ","ХϰХЁ","ХГЦ","ЧШIШЩ©","ЩЪJЪЯ©","ЫЬKЬЭ©","ЭЮLЮа©","ЯЫЯа","аббвM","вг©гдĆ","де©ежN","жз©зиŪ","¶им©йкO","кл©лн","мймн","нопP","пс©ро","рсст","тфQух©","фуфх","хццъÞ","pчщÈeшч","щьъш","ъыыё","ьъэя©","юэюя","яѐѐђÜo","ёюёђ","ђѓѕR","єі©ѕє","ѕіії","їјĆјљ©","љњNњћ©","ћќŪ¶ќ","ѝџSўѠ©","џўџѠ","ѠѡѡѦàq","Ѣѣ©ѣѥI","ѤѢѥѨ","ѦѤѦѧ","ѧѨѦ","ѩѪCѪѫ©","ѫѬQѬѭ©","ѭѴLѮѯC","ѯѰ©Ѱѱ@","ѱѲ©ѲѴL","ѳѩѳѮ","Ѵѵѷ@","ѶѸ©ѷѶ","ѷѸѸѹ","ѹѺÞpѺ","ѻѼ@Ѽѽ©","ѽѿGѾҀ©","ѿѾѿҀ","Ҁҁҁ҂Þp","҂҃҅T","҄҆©҅҄","҅҆҆҇","҇ҒM҈Ҋ©","҉҈҉Ҋ","Ҋҋҋҍ","ҌҎ©ҍҌ","ҍҎҎҏ","ҏґMҐ҉","ґҔҒҐ","Ғғғ","ҔҒҕҗƆÄ","ҖҘ©җҖ","җҘҘҙ","ҙқҚҜ©","қҚқҜ","ҜҝҝҞĆ","ҞҺҟҡŪ¶","ҠҢ©ҡҠ","ҡҢҢң","ңҥҤҦ©","ҥҤҥҦ","ҦҧҧҨĆ","ҨҺҩҫŪ¶","ҪҬ©ҫҪ","ҫҬҬҭ","ҭүҮҰ©","үҮүҰ","ҰұұҲĆ","ҲҺҳҵŪ¶","ҴҶ©ҵҴ","ҵҶҶҷ","ҷҸüҸҺ","ҹҕҹҟ","ҹҩҹҳ","ҺһҼU","ҼҾ©ҽһ","ҽҾҾҿ","ҿӁVӀӂ©","ӁӀӁӂ","ӂӃӃӎĆ","ӄӆ©Ӆӄ","ӅӆӆӇ","ӇӉӈӊ©","ӉӈӉӊ","ӊӋӋӍĆ","ӌӅӍӐ","ӎӌӎӏ","ӏӐӎ","ӑӒWӒӓ©","ӓӞPӔӖ©","ӕӔӕӖ","Ӗӗӗә","ӘӚ©әӘ","әӚӚӛ","ӛӝPӜӕ","ӝӠӞӜ","Ӟӟӟ","ӠӞӡӢŪ¶","ӢӣüӣӦ","ӤӦƆÄӥӡ","ӥӤӦ","ӧөXӨӪ©","өӨөӪ","Ӫӫӫӭ","ӬӮ©ӭӬ","ӭӮӮӯ","ӯӰŪ¶Ӱӱ©","ӱӲYӲӳ©","ӳӵĆӴӶ©","ӵӴӵӶ","ӶӷӷӺ","Ӹӹ©ӹӻd3Ӻ","ӸӻӼӼ","ӺӼӽӽ","ӿӾԀ©ӿ","ӾӿԀԀ","ԁԁԂԂ","¡ԃԈKԄ","Ԇ©ԅԄԅ","ԆԆԇԇ","ԉZԈԅԈ","ԉԉԊԊ","ԋ©ԋԐ¦TԌ","Ԏ©ԍԌԍ","ԎԎԏԏ","ԑÜoԐԍԐ","ԑԑ£Ԓ","ԗ[ԓԕ©Ԕ","ԓԔԕԕ","ԖԖԘZԗ","ԔԗԘԘ","Ԛԙԛ©Ԛ","ԙԚԛԛ","ԜԜԝ¦Tԝ","¥ԞԡªVԟ","Ԡ©ԠԢÀaԡ","ԟԡԢԢ","ԥԣԤ©Ԥ","ԦÂbԥԣԥ","ԦԦԩԧ","Ԩ©ԨԪÄcԩ","ԧԩԪԪ","§ԫԭ°YԬ","Ԯ©ԭԬԭ","ԮԮԯ","Ա¶\\ԯ","ԱԱ©Բ","ԽԳԵ©Դ","ԳԴԵԵ","ԶԶԸԷ","Թ©ԸԷԸ","ԹԹԺԺ","Լ¬WԻԴԼ","ԿԽԻԽ","ԾԾՐԿ","ԽՀՋ¬WՁ","Ճ©ՂՁՂ","ՃՃՄՄ","ՆՅՇ©Ն","ՅՆՇՇ","ՈՈՊ¬WՉ","ՂՊՍՋ","ՉՋՌՌ","ՐՍՋՎ","Ր¨UՏԲՏ","ՀՏՎՐ","«ՑՒĆՒ","Փ©ՓՔNՔ","Օ©ՕՖŪ¶Ֆ","ՙՙĆ","Ցՙ","՚՛՛","՜©՜՞°Y՝","՟©՞՝՞","՟՟աՠ","բ¶\\աՠա","բբ¯գ","ե²Zդզ©ե","դեզզ","ըէթ´[ը","էըթթ","±ժիƐÉի","լŞ°լ³խ","կծհ©կ","ծկհհ","ղձճĆղ","ձղճճ","վմն©յ","մյնն","շշչո","պ©չոչ","պպջջ","սĆռյս","րվռվ","տտւր","վցփ©ւ","ցւփփ","քքօօ","µֆևև","ֈ©ֈ֓¸]։","©֊։֊","","֎֍֏©֎","֍֎֏֏","֒¸]֑","֊֒֕֓","֑֓֔֔","֖֘֕֓","֗©֗֙Üo֘","֖֘֙֙","·֚֝º^֛","֝¼_֚֜֜","֛֝¹֞","֟¾`֟֠©֠","֡N֢֡©֢","֣Ū¶֣»֤","֥¾`֥½֦","֧ƘÍ֧¿֨","֩\\֪֩©֪","֫]֫֬©֬","ַÆd֭֯©֮","֭֮֯֯","ְְֱֲ","ֳ©ֱֲֲ","ֳֳִִ","ֶÆdֵֶ֮","ֵַַֹ","ָָÁֹ","ַֺֻ^ֻ","ּ©ּֽĆֽ","Ã־ֿ_ֿ","׀©׀ׁĆׁ","ÅׂĆ׃","ׅ©ׄ׃ׄ","ׅׅ׆׆","\tׇ©","ׇ","ׄ","Ç","©","","א;אב©ב","גBגד©ד","הŪ¶הזþו","ח©זוז","חחטט","ךיכ©ך","יךככ","ללמƈÅם","ן©מםמ","ןןננ","ססע","ף;ףפ©פ","ץdץצ©צ","קCקר©ר","׳Ū¶ש©ת","שת","","ׯ©","ׯׯװװ","ײŪ¶ױתײ","׳ױ׳","״״","׳;","©e","©Ū¶","þ","ע","É","f©","،Ìg©","","؇؆","؈©؇؆؇","؈؈؉؉","؋Ìg؊؋","؎،؊،","؍؍ؐ؎","،؏ؑÜoؐ","؏ؐؑؑ","ËؒؔŪ¶ؓ","ؕ©ؔؓؔ","ؕؕؖؖ","ؘؙؗ©ؘ","ؘؙؙؗ","ؚؚ؛Îh؛","Í؟Ði؝","؟Òj؞؞","؝؟Ïؠ","آgءأ©آ","ءآأأ","اؤبÔkإ","بÖlئبØmاؤ","اإائ","بÑةح","\tتخÔkثخ","ÖlجخØmحت","حثحج","خÓدذ","ذرƘÍرز","زسƘÍسض","شطصطż","¿ضشضص","طظظع","عÕغػ","ػؼƘÍؼؿ","ؽـؾـż","¿ؿؽؿؾ","ـففق","ق×كه","لوÚnموż","¿نوهل","همهن","وىىي","يÙًٖƌ","Çٌَ©ٌٍ","ٍََُ","ُِّْ©","ِّّْ","ْٕٓٓƌ","Çٍٕٔ٘","ٖٖٔٗ","ٗÛٖ٘","ٙٚjٚٛ©","ٜٛĆٜÝ","ٝ٨àqٞ٠©","ٟٟٞ٠","٠١١٣","٢٤©٣٢","٣٤٤٥","٥٧àq٦ٟ","٧٪٨٦","٨٩٩ß","٪٨٫٭Ū","¶٬ٮ©٭٬","٭ٮٮٯ","ٯٱٰٲ©","ٱٰٱٲ","ٲٳٳٴâ","rٴٷٵٷâ","rٶ٫ٶٵ","ٷáٸٻľ"," ٹٻäsٺٸ","ٺٹٻã","ټڃætٽٿ©","پٽپٿ","ٿڀڀڂè","uځپڂڅ","ڃځڃڄ","ڄڋڅڃ","چڇڇڈä","sڈډډڋ","ڊټڊچ","ڋåڌڎ","ڍڏ©ڎڍ","ڎڏڏڔ","ڐڒŪ¶ڑړ©","ڒڑڒړ","ړڕڔڐ","ڔڕڕښ","ږژüڗڙ©","ژڗژڙ","ڙڛښږ","ښڛڛڠ","ڜڞòzڝڟ©","ڞڝڞڟ","ڟڡڠڜ","ڠڡڡڢ","ڢڣڣç","ڤڦêvڥڧ©","ڦڥڦڧ","ڧڨڨکæ","tکéڪڬì","wګڭ©ڬګ","ڬڭڭگ","ڮڰðyگڮ","گڰڰڲ","ڱڳ©ڲڱ","ڲڳڳڴ","ڴڵîxڵë","ڶڸƒÊڷڹ©","ڸڷڸڹ","ڹںںڻƖ","ÌڻھڼھƖ","Ìڽڶڽڼ","ھíڿہƖ","Ìۀۂ©ہۀ","ہۂۂۃ","ۃۄƔËۄۇ","ۅۇƖÌۆڿ","ۆۅۇï","ۈۊۉۋ©","ۊۉۊۋ","ۋېیێŪ","¶ۍۏ©ێۍ","ێۏۏۑ","ېیېۑ","ۑۖے۔ö","|ۓە©۔ۓ","۔ەەۗ","ۖےۖۗ","ۗۙۘۚĀ","ۙۘۙۚ","ۚ۟ۛò","zۜ۞©ۜ","۞۞۠","۟ۛ۟۠","۠ۡۡۢ","ۢñۣۦŮ","¸ۤۦż¿ۥۣ","ۥۤۦó","ۧ۩۪ۨ©","۩ۨ۩۪","۪۫۫۬Ą","۬õۭ۵ø","}ۮ۰©ۯۮ","ۯ۰۰۱","۱۲۲۴ú","~۳ۯ۴۷","۵۳۵۶","۶÷۷۵","۸۹۹ۺĄ","ۺùۻ۽","ۼۻۼ۽","۽۾۾ۿĄ","ۿû܀܇þ","܁܃©܂܁","܂܃܃܄","܄܆þ܅܂","܆܉܇܅","܇܈܈ý","܉܇܊܋","܋܌Ă܌ÿ","܍ܐ©","ܐ","ܐܕܑܓƌ","Çܒܔ©ܓܒ","ܓܔܔܖ","ܕܑܕܖ","ܖܡܗܙ","ܘܚ©ܙܘ","ܙܚܚܟ","ܛܝƌÇܜܞ©","ܝܜܝܞ","ܞܠܟܛ","ܟܠܠܢ","ܡܗܡܢ","ܢāܣܤƘ","ÍܤăܥܦƘ","ÍܦąܧܨĈ","
ܨćܩܰĊ","ܪܫ©ܫܬm","ܬܭ©ܭܯĊ","ܮܪܯܲ","ܰܮܱܰ","ܱĉܲܰ","ܳܺČܴܵ©","ܵܶnܷܶ©","ܷܹČܸܴ","ܹܼܸܺ","ܻܻܺċ","ܼ݄ܺܽĎ","ܾܿ©ܿ݀o","݀݁©݁݃Ď","݂ܾ݆݃","݄݂݄݅","݅č݆݄","݇݉p݈݊©","݈݉݉݊","݊݇","ݏݍ","ݍݎݎݐ","ݏݍݐݑĐ","ݑďݒݙĒ","ݓݕ©ݔݓ","ݔݕݕݖ","ݖݘŎ¨ݗݔ","ݘݛݙݗ","ݙݚݚđ","ݛݙݜݯĔ","ݝݟ©ݞݝ","ݞݟݟݠ","ݠݢݡݣ©","ݢݡݢݣ","ݣݤݤݮĔ","ݥݧ©ݦݥ","ݦݧݧݨ","ݨݪݩݫ©","ݪݩݪݫ","ݫݬݬݮĔ","ݭݞݭݦ","ݮݱݯݭ","ݯݰݰē","ݱݯݲލĖ","ݳݵ©ݴݳ","ݴݵݵݶ","ݶݸݷݹ©","ݸݷݸݹ","ݹݺݺތĖ","ݻݽ©ݼݻ","ݼݽݽݾ","ݾހ\bݿށ©","ހݿހށ","ށނނތĖ","ރޅ©ބރ","ބޅޅކ","ކވއމ©","ވއވމ","މފފތĖ","ދݴދݼ","ދބތޏ","ލދލގ","ގĕޏލ","ސޛĘޑޓ©","ޒޑޒޓ","ޓޔޔޖ","ޕޗ©ޖޕ","ޖޗޗޘ","ޘޚĘޙޒ","ޚޝޛޙ","ޛޜޜė","ޝޛޞޠ\t","ޟޡ©ޠޟ","ޠޡޡޣ","ޢޞޣަ","ޤޢޤޥ","ޥާަޤ","ާިĚިę","ީߟĜުެ©","ޫުޫެ","ެޭޭޮ","ޮޯĆޯް","ްߞޱ©","ޱ","","Ć","","Ć","","ߞ","©","߀","߀ߎ߁߂©","߂ߎY߃߄©","߄߅q߅߆©","߆ߎK߇߈©","߈߉r߉ߊ©","ߊߎKߋߌ©","ߌߎsߍ","ߍ߁ߍ߃","ߍ߇ߍߋ","ߎߐߏߑ©","ߐߏߐߑ","ߑߒߒߞĜ","ߓߔ©ߔߕF","ߕߖ©ߖߞt","ߗߘ©ߘߙF","ߙߚ©ߚߛp","ߛߜ©ߜߞt","ߝޫߝ","ߝߍߝߓ","ߝߗߞߡ","ߟߝߟߠ","ߠěߡߟ","ߢ߬ń£ߣߥ©","ߤߣߤߥ","ߥߨߦߩŤ","³ߧߩüߨߦ","ߨߧߩ߫","ߪߤ߫߮","߬ߪ߬߭","߭ĝ߮߬","߯߱Ġ߲߰©","߲߱߰߱","߲߳߳ߵ","ߴ߶©ߵߴ","ߵ߶߶߷","߷߹Ŕ«߸ߺ©","߹߸߹ߺ","ߺ","ğ߽߾v","߾ġ߿ࠁĤ","ࠀࠂ©ࠁࠀ","ࠁࠂࠂࠃ","ࠃࠅࠄࠆ©","ࠅࠄࠅࠆ","ࠆࠇࠇࠉĆ","ࠈࠊ©ࠉࠈ","ࠉࠊࠊࠋ","ࠋࠌࠌģ","ࠍࠎHࠎĥ","ࠏࠑĨࠐࠒ©","ࠑࠐࠑࠒ","ࠒࠓࠓࠕ","ࠔࠖ©ࠕࠔ","ࠕࠖࠖࠗ","ࠗ࠙Ŕ«࠘ࠚ©","࠙࠘࠙ࠚ","ࠚࠛࠛࠜ","ࠜħࠝࠞ?","ࠞĩࠟࠡĬ","ࠠࠢ©ࠡࠠ","ࠡࠢࠢࠣ","ࠣࠥࠤࠦ©","ࠥࠤࠥࠦ","ࠦࠧࠧࠩŔ","«ࠨࠪ©ࠩࠨ","ࠩࠪࠪࠫ","ࠫࠬࠬī","࠭xĭ","࠱İ࠰࠲©","࠱࠰࠱࠲","࠲࠳࠳࠵","࠴࠶©࠵࠴","࠵࠶࠶࠷","࠷࠹Ŕ«࠸࠺©","࠹࠸࠹࠺","࠺࠻࠻࠼","࠼į࠽࠾y","࠾ıࡁĴ","ࡀࡂ©ࡁࡀ","ࡁࡂࡂࡃ","ࡃࡅࡄࡆ©","ࡅࡄࡅࡆ","ࡆࡇࡇࡉŔ","«ࡈࡊ©ࡉࡈ","ࡉࡊࡊࡋ","ࡋࡌࡌij","ࡍࡎzࡎĵ","ࡏࡑĸࡐࡒ©","ࡑࡐࡑࡒ","ࡒࡓࡓࡕ","ࡔࡖ©ࡕࡔ","ࡕࡖࡖࡗ","ࡗࡠŔ«ࡘ࡚©","࡙ࡘ࡙࡚","࡚࡛࡛","࡞©","࡞࡞","ࡡĆࡠ࡙","ࡠࡡࡡࡣ","ࡢࡤ©ࡣࡢ","ࡣࡤࡤࡥ","ࡥࡦࡦķ","ࡧࡨwࡨĹ","ࡩļࡪ©","ࡪ","","ࡰ©","ࡰࡰࡱ","ࡱࡳŪ¶ࡲࡴ©","ࡳࡲࡳࡴ","ࡴࡵࡵࡷ","ࡶࡸ©ࡷࡶ","ࡷࡸࡸࡹ","ࡹࡻĆࡺࡼ©","ࡻࡺࡻࡼ","ࡼࡽࡽࡿ","ࡾࢀ©ࡿࡾ","ࡿࢀࢀࢁ","ࢁࢃŖ¬ࢂࢄ©","ࢃࢂࢃࢄ","ࢄࢅࢅࢇ","ࢆ࢈©ࢇࢆ","ࢇ࢈࢈ࢉ","ࢉࢋĆࢊࢌ©","ࢋࢊࢋࢌ","ࢌࢍࢍࢎ","ࢎĻ}","Ľŀ","¡©","","࢘©","࢘","࢙࢙࢛࢘ä","s࢚࢜©࢛࢚","࢛࢜࢜࢝","࢝࢞࢞ࢮ","࢟ࢡł¢ࢠࢢ©","ࢡࢠࢡࢢ","ࢢࢣࢣࢥ","ࢤࢦ©ࢥࢤ","ࢥࢦࢦࢧ","ࢧࢩäsࢨࢪ©","ࢩࢨࢩࢪ","ࢪࢫࢫࢬ","ࢬࢮࢭ","ࢭ࢟ࢮĿ","ࢯࢰkࢰŁ","ࢱࢲlࢲŃ","ࢳ࣓ņ¤ࢴ࣓ż","¿ࢵ࣓Ŧ´ࢶࢸu","ࢷࢹ©ࢸࢷ","ࢸࢹࢹࢺ","ࢺࢼࢻࢽ©","ࢼࢻࢼࢽ","ࢽࢾࢾࣀ","ࢿࣁ©ࣀࢿ","ࣀࣁࣁࣂ","ࣂ࣓ࣃ࣓Š","±ࣄ࣓Ţ²ࣅ࣓Ğ","ࣆ࣓Ķࣇ࣓ĺ","ࣈ࣓Ħࣉ࣓Ī","࣓࣊Į࣓࣋IJ","࣓࣌Ģ࣓࣍ľ"," ࣓࣎Œª࣏࣓Ő","©࣐࣓Ř࣑࣓Ū","¶࣒ࢳ࣒ࢴ","࣒ࢵ࣒ࢶ","࣒ࣃ࣒ࣄ","࣒ࣅ࣒ࣆ","࣒ࣇ࣒ࣈ","࣒ࣉ࣒࣊","࣒࣒࣋࣌","࣒࣒࣍࣎","࣒࣏࣒࣐","࣒࣑࣓Ņ","ࣔࣜŬ·ࣕࣜň","¥ࣖࣜŊ¦ࣗࣜt","ࣘࣜٸࣙࣜŌ","§ࣚࣜŰ¹ࣛࣔ","ࣛࣕࣛࣖ","ࣛࣗࣛࣘ","ࣛࣙࣛࣚ","ࣜŇࣝࣞ","ࣞʼnࣟ࣠\t","࣠ŋࣣ࣡","ࣤ©ࣣ","ࣣࣶࣤࣤ","ࣥࣧĆࣦࣨ©","ࣦࣧࣧࣨ","ࣩࣨࣳ࣫","࣪࣬©࣫࣪","࣭࣫࣬࣬","࣭࣯Ćࣰ࣮©","ࣰ࣯࣮࣯","ࣰࣱࣲࣩ","ࣱࣲࣵࣳ","ࣳࣴࣴࣷ","ࣶࣵࣳࣥ","ࣶࣷࣷࣸ","ࣹࣹࣸō","ࣺࣼࣻࣽ©","ࣼࣻࣼࣽ","ࣽࣾࣾञĒ","ࣿँऀं©","ँऀँं","ंःःञĒ","ऄआअइ©","आअआइ","इईईञĒ","उऋ ऊऌ©","ऋऊऋऌ","ऌऍऍञĒ","ऎऐ!एऑ©","ऐएऐऑ","ऑऒऒञĒ",'ओक"औख©',"कऔकख","खगगञĒ","घच#ङछ©","चङचछ","छजजञĒ","झࣺझࣿ","झऄझउ","झऎझओ","झघञŏ","टडठढ©","डठडढ","ढणणथĆ","तद©थत","थददध","धननő","ऩमætपब©","फपफब","बभभयè","uमफयर","रमरऱ","ऱœलषŖ","¬ळव©ऴळ","ऴववश","शसÜoषऴ","षससŕ","हऺŪ¶ऺऻ©","ऻ़Y़ऽ©","ऽाĆाŗ","िुŚ®ीू©","ुीुू","ूृृॅ","ॄॆ©ॅॄ","ॅॆॆो","ेॉZैॊ©","ॉैॉॊ","ॊौोे","ोौौफ़","्ॏĆॎॐ©","ॏॎॏॐ","ॐज़॑॓","॒॔©॒॓","॓॔॔ॕ","ॕॗĆॖक़©","ॗॖॗक़","क़ग़ख़॑","ग़ढ़ज़ख़","ज़ड़ड़य़","ढ़ज़फ़्","फ़य़य़ॠ","ॠॡॡř","ॢॣƐÉॣ।Ŝ","¯।ś॥०\t","०ŝ१२Ƙ","Í२ş३५","४६©५४","५६६७","७ॶŔ«८॰©","९८९॰","॰ॱॱॳ","ॲॴ©ॳॲ","ॳॴॴॵ","ॵॷĆॶ९","ॶॷॷॹ","ॸॺ©ॹॸ","ॹॺॺॻ","ॻॼॼš","ॽॿॾঀ©","ॿॾॿঀ","ঀউঁঃŪ","¶ং©ঃং","ঃঅ","অইআঈ©","ইআইঈ","ঈঊউঁ","উঊঊঋ","ঋŒªঌ©","ঌ","গএj","ঐ©ঐ","ও","ওকĆঔখ©","কঔকখ","খঘগএ","গঘঘঙ","ঙছচজ©","ছচছজ","জঝঝটĆ","ঞঠ©টঞ","টঠঠড","ডঢঢţ","ণথ\tতদ©","থতথদ","দধধনƊ","Æনťম~","পব©ফপ","ফববভ","ভযŨµমফ","যররম","রী","ল~©","","শশĆ","ষহ©সষ","সহহ","়Ũµস","়ঽঽ","ঽাাী","িিল","ীুৃ©","ূুূৃ","ৃৄৄ","ে©","েেৈ","ৈĆূ","ৌ","ো্©ৌো","ৌ্্ৎ","ৎŧ","©","","Ć","ৗ©","ৗৗ","©","","ড়ড়ঢ়Ć","ঢ়ũয়Ƙ","Íয়ūৠৣƎ","ÈৡৣƌÇৢৠ","ৢৡৣŭ","০১©","০০১","১৹২৪Ŵ","»৩৫©৪৩","৪৫৫৶","৬৮৭৯©","৮৭৮৯","৯ৰৰ৲Ŵ","»ৱ৳©৲ৱ","৲৳৳৵","৴৬৵৸","৶৴৶৷","৷৺৸৶","৹২৹৺","৺৻৻ৼ","ৼů৽Ū","¶৾©৾","ਁ","ਁਃਂ©","ਃਂਃ","ਆਅਇŲ","ºਆਅਆਇ","ਇਈਊ©","ਉਈਉਊ","ਊ","©","ਏ","ਏŲºਐਉ","ਔਐ","ਓਓਖ","ਔਕਗ©","ਖਕਖਗ","ਗਘਘਙ","ਙűਚਟŴ","»ਛਟŶ¼ਜਟŸ","½ਝਟź¾ਞਚ","ਞਛਞਜ","ਞਝਟų","ਠਢƊÆਡਣ©","ਢਡਢਣ","ਣਤਤਦ","ਥਧ©ਦਥ","ਦਧਧਨ","ਨĆŵ","ਪਫ\tਫਬŪ","¶ਬŷਭਮŪ","¶ਮŹਯਰ\t","ਰŻ","ਲਵžÀਲ਼ਵƀ","Áਲਲ਼","ਵŽਸ਼ਸ","ਹ©ਸ","ਸਹਹ","਼Ƃ©","਼਼","ਾਾਿ","ਿſੀੁ$","ੁੂƂÂੂƁ","ƘÍ","","ƃੇƆ","Äੈ©ੈ","ੋ","ੋ੍ੌ©","੍ੌ੍","ੑƆ","Äੑ","","ƅ","ਗ਼ń£©","","ਖ਼ਖ਼ਜ਼Ť","³ਗ਼ਜ਼ੜ","ੜਗ਼ੜ","Ƈਫ਼੩Ɗ","Æ©","","©","","੦੦੨Ɗ","Æ੧੨੫","੩੧੩੪","੪Ɖ੫੩","੬੭ƘÍ੭Ƌ","੮੯\t\b੯ƍ","ੰੱ\t\tੱƏ","ੲੳƘÍੳੴ\t","ੴ੶ੵੲ","੶ੵ","Ƒ","\t\n","Ɠ\t\v","ƕ\t\fƗ","અƚÎઁઅ","¥ંઅ¨ઃઅ","ઁ","ંઃ","અƙઆઇ","\t\rઇƛƨƟƣ","ƪƮƳƷƺƿLJǏǜǠǤǭ","DzǶǹǼȁȅȌȞȵȽȿɃ","ɈɎɔɘɜɠɤɫɮɲɶɼ","ʀʄʈʌʓʖʞʧʬʰʳʺ","˂ˆˌˑ˗ˢ˦ˬ˰˴˹˾","̨̗̜̣̫̻͇̄̉̓͵","ͽΉΒΖΤΨέαηλ","ωϐϖϠϤϪϲϽЃЏЕС","ХЯмрфъюёѕџѦѳ","ѷѿ҅҉ҍҒҗқҡҥҫү","ҵҹҽӁӅӉӎӕәӞӥө","ӭӵӼӿԅԈԍԐԔԗԚԡ","ԥԩԭԴԸԽՂՆՋՏ","՞աեըկղյչվւ֊֎","ֲַ֮֓֘֜ׄזך","מת׳؇،ؘؐؔ؞","آاحضؿهٍّٖٟ٣٨","٭ٱٶٺپڃڊڎڒڔژښ","ڞڠڦڬگڲڸڽہۆۊێ","ې۔ۖۙ۟ۥ۩ۯ۵ۼ܂","܇ܓܕܙܝܟܡ݄ܰܺ݉","ݍݔݙݞݢݦݪݭݯݴݸݼ","ހބވދލޒޖޛޠޤޫ","ߍߐߝߟߤߨ߬߱ߵ","߹ࠁࠅࠉࠑࠕ࠙ࠡࠥࠩ࠱࠵","࠹ࡁࡅࡉࡑࡕ࡙ࡠࡣ","ࡳࡷࡻࡿࢃࢇࢋ࢛ࢡࢥ","ࢩࢭࢸࢼࣀ࣒ࣣ࣯ࣛࣧ࣫ࣳ","ࣶࣼँआऋऐकचझडथफ","रऴषुॅॉोॏ॓ॗज़फ़","५९ॳॶॹॿঃইউক","গছটথফরসঽিূ","ৌৢ০৪৮৲৶৹","ਃਆਉਖਞਢਦਸ","਼੍ੜ੩"].join(""),a=(new r.atn.ATNDeserializer).deserialize(o),s=a.decisionToState.map((function(e,t){return new r.dfa.DFA(e,t)})),l=new r.PredictionContextCache,c=[null,"';'","':'","'-'","'=>'","'://'","'/'","'.'","'@'","'#'","'?'","'&'","'='","'+'","'{'","','","'}'","'['","']'","'('","')'","'+='","'|'","'*'","'..'","'%'","'^'","'=~'","'<>'","'!='","'<'","'>'","'<='","'>='","'$'","'⟨'","'〈'","'﹤'","'<'","'⟩'","'〉'","'﹥'","'>'","''","'‐'","'‑'","'‒'","'–'","'—'","'―'","'−'","'﹘'","'﹣'","'-'",null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"'0'"],u=[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"CYPHER","EXPLAIN","PROFILE","USING","PERIODIC","COMMIT","UNION","ALL","CREATE","DROP","INDEX","ON","CONSTRAINT","ASSERT","IS","UNIQUE","EXISTS","LOAD","CSV","WITH","HEADERS","FROM","AS","FIELDTERMINATOR","OPTIONAL","MATCH","UNWIND","MERGE","SET","DETACH","DELETE","REMOVE","FOREACH","IN","DISTINCT","RETURN","ORDER","BY","L_SKIP","LIMIT","ASCENDING","ASC","DESCENDING","DESC","JOIN","SCAN","START","NODE","RELATIONSHIP","REL","WHERE","SHORTESTPATH","ALLSHORTESTPATHS","OR","XOR","AND","NOT","STARTS","ENDS","CONTAINS","NULL","COUNT","FILTER","EXTRACT","ANY","NONE","SINGLE","TRUE","FALSE","REDUCE","CASE","ELSE","END","WHEN","THEN","CALL","YIELD","KEY","BTREE","EXIST","FOR","OPTIONS","EXECUTE","DEFINED","FUNCTION","FUNCTIONS","BOOSTED","PROCEDURE","PROCEDURES","ADMIN","ADMINISTRATOR","BRIEF","VERBOSE","OUTPUT","StringLiteral","UrlHex","EscapedChar","HexInteger","DecimalInteger","OctalInteger","HexLetter","HexDigit","Digit","NonZeroDigit","NonZeroOctDigit","OctDigit","ZeroDigit","ExponentDecimalReal","RegularDecimalReal","UnescapedSymbolicName","IdentifierStart","IdentifierPart","EscapedSymbolicName","SP","WHITESPACE","Comment","ERROR_TOKEN"],h=["raw","cypher","cypherPart","cypherConsoleCommand","cypherConsoleCommandName","cypherConsoleCommandParameters","cypherConsoleCommandParameter","arrowExpression","url","uri","scheme","host","hostname","hostnumber","port","path","user","login","password","frag","urlQuery","search","searchparameter","string","urlDigits","json","obj","pair","array","value","keyValueLiteral","commandPath","subCommand","cypherQuery","queryOptions","anyCypherOption","cypherOption","versionNumber","explain","profile","configurationOption","statement","query","regularQuery","bulkImportQuery","singleQuery","periodicCommitHint","loadCSVQuery","union","clause","command","createUniqueConstraint","createNodeKeyConstraint","createNodePropertyExistenceConstraint","createRelationshipPropertyExistenceConstraint","createIndex","dropUniqueConstraint","dropNodeKeyConstraint","dropNodePropertyExistenceConstraint","dropRelationshipPropertyExistenceConstraint","dropIndex","index","uniqueConstraint","nodeKeyConstraint","nodePropertyExistenceConstraint","relationshipPropertyExistenceConstraint","relationshipPatternSyntax","loadCSVClause","matchClause","unwindClause","mergeClause","mergeAction","createClause","createUniqueClause","setClause","setItem","deleteClause","removeClause","removeItem","foreachClause","withClause","returnClause","returnBody","func","returnItems","returnItem","call","procedureInvocation","procedureInvocationBody","procedureArguments","procedureResults","procedureResult","aliasedProcedureResult","simpleProcedureResult","procedureOutput","order","skip","limit","sortItem","hint","startClause","startPoint","lookup","nodeLookup","relationshipLookup","identifiedIndexLookup","indexQuery","idLookup","literalIds","where","pattern","patternPart","anonymousPatternPart","patternElement","nodePattern","patternElementChain","relationshipPattern","relationshipPatternStart","relationshipPatternEnd","relationshipDetail","properties","relType","relationshipTypes","relationshipType","relationshipTypeOptionalColon","nodeLabels","nodeLabel","rangeLiteral","labelName","relTypeName","expression","orExpression","xorExpression","andExpression","notExpression","comparisonExpression","addOrSubtractExpression","multiplyDivideModuloExpression","powerOfExpression","unaryAddOrSubtractExpression","stringListNullOperatorExpression","propertyOrLabelsExpression","filterFunction","filterFunctionName","existsFunction","existsFunctionName","allFunction","allFunctionName","anyFunction","anyFunctionName","noneFunction","noneFunctionName","singleFunction","singleFunctionName","extractFunction","extractFunctionName","reduceFunction","reduceFunctionName","shortestPathPatternFunction","shortestPathFunctionName","allShortestPathFunctionName","atom","literal","stringLiteral","booleanLiteral","listLiteral","partialComparisonExpression","parenthesizedExpression","relationshipsPattern","filterExpression","idInColl","functionInvocation","functionInvocationBody","functionName","procedureName","listComprehension","patternComprehension","propertyLookup","caseExpression","caseAlternatives","variable","numberLiteral","mapLiteral","mapProjection","mapProjectionVariants","literalEntry","propertySelector","variableSelector","allPropertiesSelector","parameter","legacyParameter","newParameter","parameterName","propertyExpressions","propertyExpression","propertyKeys","propertyKeyName","integerLiteral","doubleLiteral","namespace","leftArrowHead","rightArrowHead","dash","symbolicName","keyword"];function p(e){return r.Parser.call(this,e),this._interp=new r.atn.ParserATNSimulator(this,a,s,l),this.ruleNames=h,this.literalNames=c,this.symbolicNames=u,this}function d(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_raw,this}function f(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_cypher,this}function m(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_cypherPart,this}function g(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_cypherConsoleCommand,this}function y(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_cypherConsoleCommandName,this}function v(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_cypherConsoleCommandParameters,this}function _(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_cypherConsoleCommandParameter,this}function b(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_arrowExpression,this}function E(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_url,this}function T(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_uri,this}function x(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_scheme,this}function S(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_host,this}function C(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_hostname,this}function A(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_hostnumber,this}function R(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_port,this}function w(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_path,this}function L(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_user,this}function O(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_login,this}function N(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_password,this}function I(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_frag,this}function k(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_urlQuery,this}function D(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_search,this}function P(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_searchparameter,this}function M(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_string,this}function F(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_urlDigits,this}function H(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_json,this}function B(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_obj,this}function U(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_pair,this}function j(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_array,this}function G(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_value,this}function Y(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_keyValueLiteral,this}function z(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_commandPath,this}function $(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_subCommand,this}function W(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_cypherQuery,this}function V(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_queryOptions,this}function K(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_anyCypherOption,this}function q(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_cypherOption,this}function X(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_versionNumber,this}function Z(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_explain,this}function Q(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_profile,this}function J(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_configurationOption,this}function ee(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_statement,this}function te(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_query,this}function ne(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_regularQuery,this}function re(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_bulkImportQuery,this}function ie(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_singleQuery,this}function oe(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_periodicCommitHint,this}function ae(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_loadCSVQuery,this}function se(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_union,this}function le(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_clause,this}function ce(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_command,this}function ue(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_createUniqueConstraint,this}function he(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_createNodeKeyConstraint,this}function pe(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_createNodePropertyExistenceConstraint,this}function de(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_createRelationshipPropertyExistenceConstraint,this}function fe(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_createIndex,this}function me(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_dropUniqueConstraint,this}function ge(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_dropNodeKeyConstraint,this}function ye(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_dropNodePropertyExistenceConstraint,this}function ve(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_dropRelationshipPropertyExistenceConstraint,this}function _e(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_dropIndex,this}function be(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_index,this}function Ee(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_uniqueConstraint,this}function Te(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_nodeKeyConstraint,this}function xe(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_nodePropertyExistenceConstraint,this}function Se(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_relationshipPropertyExistenceConstraint,this}function Ce(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_relationshipPatternSyntax,this}function Ae(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_loadCSVClause,this}function Re(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_matchClause,this}function we(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_unwindClause,this}function Le(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_mergeClause,this}function Oe(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_mergeAction,this}function Ne(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_createClause,this}function Ie(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_createUniqueClause,this}function ke(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_setClause,this}function De(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_setItem,this}function Pe(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_deleteClause,this}function Me(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_removeClause,this}function Fe(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_removeItem,this}function He(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_foreachClause,this}function Be(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_withClause,this}function Ue(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_returnClause,this}function je(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_returnBody,this}function Ge(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_func,this}function Ye(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_returnItems,this}function ze(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_returnItem,this}function $e(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_call,this}function We(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_procedureInvocation,this}function Ve(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_procedureInvocationBody,this}function Ke(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_procedureArguments,this}function qe(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_procedureResults,this}function Xe(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_procedureResult,this}function Ze(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_aliasedProcedureResult,this}function Qe(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_simpleProcedureResult,this}function Je(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_procedureOutput,this}function et(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_order,this}function tt(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_skip,this}function nt(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_limit,this}function rt(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_sortItem,this}function it(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_hint,this}function ot(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_startClause,this}function at(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_startPoint,this}function st(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_lookup,this}function lt(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_nodeLookup,this}function ct(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_relationshipLookup,this}function ut(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_identifiedIndexLookup,this}function ht(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_indexQuery,this}function pt(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_idLookup,this}function dt(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_literalIds,this}function ft(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_where,this}function mt(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_pattern,this}function gt(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_patternPart,this}function yt(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_anonymousPatternPart,this}function vt(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_patternElement,this}function _t(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_nodePattern,this}function bt(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_patternElementChain,this}function Et(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_relationshipPattern,this}function Tt(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_relationshipPatternStart,this}function xt(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_relationshipPatternEnd,this}function St(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_relationshipDetail,this}function Ct(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_properties,this}function At(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_relType,this}function Rt(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_relationshipTypes,this}function wt(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_relationshipType,this}function Lt(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_relationshipTypeOptionalColon,this}function Ot(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_nodeLabels,this}function Nt(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_nodeLabel,this}function It(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_rangeLiteral,this}function kt(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_labelName,this}function Dt(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_relTypeName,this}function Pt(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_expression,this}function Mt(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_orExpression,this}function Ft(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_xorExpression,this}function Ht(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_andExpression,this}function Bt(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_notExpression,this}function Ut(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_comparisonExpression,this}function jt(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_addOrSubtractExpression,this}function Gt(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_multiplyDivideModuloExpression,this}function Yt(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_powerOfExpression,this}function zt(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_unaryAddOrSubtractExpression,this}function $t(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_stringListNullOperatorExpression,this}function Wt(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_propertyOrLabelsExpression,this}function Vt(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_filterFunction,this}function Kt(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_filterFunctionName,this}function qt(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_existsFunction,this}function Xt(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_existsFunctionName,this}function Zt(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_allFunction,this}function Qt(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_allFunctionName,this}function Jt(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_anyFunction,this}function en(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_anyFunctionName,this}function tn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_noneFunction,this}function nn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_noneFunctionName,this}function rn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_singleFunction,this}function on(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_singleFunctionName,this}function an(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_extractFunction,this}function sn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_extractFunctionName,this}function ln(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_reduceFunction,this}function cn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_reduceFunctionName,this}function un(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_shortestPathPatternFunction,this}function hn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_shortestPathFunctionName,this}function pn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_allShortestPathFunctionName,this}function dn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_atom,this}function fn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_literal,this}function mn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_stringLiteral,this}function gn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_booleanLiteral,this}function yn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_listLiteral,this}function vn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_partialComparisonExpression,this}function _n(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_parenthesizedExpression,this}function bn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_relationshipsPattern,this}function En(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_filterExpression,this}function Tn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_idInColl,this}function xn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_functionInvocation,this}function Sn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_functionInvocationBody,this}function Cn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_functionName,this}function An(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_procedureName,this}function Rn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_listComprehension,this}function wn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_patternComprehension,this}function Ln(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_propertyLookup,this}function On(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_caseExpression,this}function Nn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_caseAlternatives,this}function In(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_variable,this}function kn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_numberLiteral,this}function Dn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_mapLiteral,this}function Pn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_mapProjection,this}function Mn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_mapProjectionVariants,this}function Fn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_literalEntry,this}function Hn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_propertySelector,this}function Bn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_variableSelector,this}function Un(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_allPropertiesSelector,this}function jn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_parameter,this}function Gn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_legacyParameter,this}function Yn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_newParameter,this}function zn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_parameterName,this}function $n(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_propertyExpressions,this}function Wn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_propertyExpression,this}function Vn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_propertyKeys,this}function Kn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_propertyKeyName,this}function qn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_integerLiteral,this}function Xn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_doubleLiteral,this}function Zn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_namespace,this}function Qn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_leftArrowHead,this}function Jn(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_rightArrowHead,this}function er(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_dash,this}function tr(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_symbolicName,this}function nr(e,t,n){return void 0===t&&(t=null),null==n&&(n=-1),r.ParserRuleContext.call(this,t,n),this.parser=e,this.ruleIndex=p.RULE_keyword,this}p.prototype=Object.create(r.Parser.prototype),p.prototype.constructor=p,Object.defineProperty(p.prototype,"atn",{get:function(){return a}}),p.EOF=r.Token.EOF,p.T__0=1,p.T__1=2,p.T__2=3,p.T__3=4,p.T__4=5,p.T__5=6,p.T__6=7,p.T__7=8,p.T__8=9,p.T__9=10,p.T__10=11,p.T__11=12,p.T__12=13,p.T__13=14,p.T__14=15,p.T__15=16,p.T__16=17,p.T__17=18,p.T__18=19,p.T__19=20,p.T__20=21,p.T__21=22,p.T__22=23,p.T__23=24,p.T__24=25,p.T__25=26,p.T__26=27,p.T__27=28,p.T__28=29,p.T__29=30,p.T__30=31,p.T__31=32,p.T__32=33,p.T__33=34,p.T__34=35,p.T__35=36,p.T__36=37,p.T__37=38,p.T__38=39,p.T__39=40,p.T__40=41,p.T__41=42,p.T__42=43,p.T__43=44,p.T__44=45,p.T__45=46,p.T__46=47,p.T__47=48,p.T__48=49,p.T__49=50,p.T__50=51,p.T__51=52,p.T__52=53,p.CYPHER=54,p.EXPLAIN=55,p.PROFILE=56,p.USING=57,p.PERIODIC=58,p.COMMIT=59,p.UNION=60,p.ALL=61,p.CREATE=62,p.DROP=63,p.INDEX=64,p.ON=65,p.CONSTRAINT=66,p.ASSERT=67,p.IS=68,p.UNIQUE=69,p.EXISTS=70,p.LOAD=71,p.CSV=72,p.WITH=73,p.HEADERS=74,p.FROM=75,p.AS=76,p.FIELDTERMINATOR=77,p.OPTIONAL=78,p.MATCH=79,p.UNWIND=80,p.MERGE=81,p.SET=82,p.DETACH=83,p.DELETE=84,p.REMOVE=85,p.FOREACH=86,p.IN=87,p.DISTINCT=88,p.RETURN=89,p.ORDER=90,p.BY=91,p.L_SKIP=92,p.LIMIT=93,p.ASCENDING=94,p.ASC=95,p.DESCENDING=96,p.DESC=97,p.JOIN=98,p.SCAN=99,p.START=100,p.NODE=101,p.RELATIONSHIP=102,p.REL=103,p.WHERE=104,p.SHORTESTPATH=105,p.ALLSHORTESTPATHS=106,p.OR=107,p.XOR=108,p.AND=109,p.NOT=110,p.STARTS=111,p.ENDS=112,p.CONTAINS=113,p.NULL=114,p.COUNT=115,p.FILTER=116,p.EXTRACT=117,p.ANY=118,p.NONE=119,p.SINGLE=120,p.TRUE=121,p.FALSE=122,p.REDUCE=123,p.CASE=124,p.ELSE=125,p.END=126,p.WHEN=127,p.THEN=128,p.CALL=129,p.YIELD=130,p.KEY=131,p.BTREE=132,p.EXIST=133,p.FOR=134,p.OPTIONS=135,p.EXECUTE=136,p.DEFINED=137,p.FUNCTION=138,p.FUNCTIONS=139,p.BOOSTED=140,p.PROCEDURE=141,p.PROCEDURES=142,p.ADMIN=143,p.ADMINISTRATOR=144,p.BRIEF=145,p.VERBOSE=146,p.OUTPUT=147,p.StringLiteral=148,p.UrlHex=149,p.EscapedChar=150,p.HexInteger=151,p.DecimalInteger=152,p.OctalInteger=153,p.HexLetter=154,p.HexDigit=155,p.Digit=156,p.NonZeroDigit=157,p.NonZeroOctDigit=158,p.OctDigit=159,p.ZeroDigit=160,p.ExponentDecimalReal=161,p.RegularDecimalReal=162,p.UnescapedSymbolicName=163,p.IdentifierStart=164,p.IdentifierPart=165,p.EscapedSymbolicName=166,p.SP=167,p.WHITESPACE=168,p.Comment=169,p.ERROR_TOKEN=170,p.RULE_raw=0,p.RULE_cypher=1,p.RULE_cypherPart=2,p.RULE_cypherConsoleCommand=3,p.RULE_cypherConsoleCommandName=4,p.RULE_cypherConsoleCommandParameters=5,p.RULE_cypherConsoleCommandParameter=6,p.RULE_arrowExpression=7,p.RULE_url=8,p.RULE_uri=9,p.RULE_scheme=10,p.RULE_host=11,p.RULE_hostname=12,p.RULE_hostnumber=13,p.RULE_port=14,p.RULE_path=15,p.RULE_user=16,p.RULE_login=17,p.RULE_password=18,p.RULE_frag=19,p.RULE_urlQuery=20,p.RULE_search=21,p.RULE_searchparameter=22,p.RULE_string=23,p.RULE_urlDigits=24,p.RULE_json=25,p.RULE_obj=26,p.RULE_pair=27,p.RULE_array=28,p.RULE_value=29,p.RULE_keyValueLiteral=30,p.RULE_commandPath=31,p.RULE_subCommand=32,p.RULE_cypherQuery=33,p.RULE_queryOptions=34,p.RULE_anyCypherOption=35,p.RULE_cypherOption=36,p.RULE_versionNumber=37,p.RULE_explain=38,p.RULE_profile=39,p.RULE_configurationOption=40,p.RULE_statement=41,p.RULE_query=42,p.RULE_regularQuery=43,p.RULE_bulkImportQuery=44,p.RULE_singleQuery=45,p.RULE_periodicCommitHint=46,p.RULE_loadCSVQuery=47,p.RULE_union=48,p.RULE_clause=49,p.RULE_command=50,p.RULE_createUniqueConstraint=51,p.RULE_createNodeKeyConstraint=52,p.RULE_createNodePropertyExistenceConstraint=53,p.RULE_createRelationshipPropertyExistenceConstraint=54,p.RULE_createIndex=55,p.RULE_dropUniqueConstraint=56,p.RULE_dropNodeKeyConstraint=57,p.RULE_dropNodePropertyExistenceConstraint=58,p.RULE_dropRelationshipPropertyExistenceConstraint=59,p.RULE_dropIndex=60,p.RULE_index=61,p.RULE_uniqueConstraint=62,p.RULE_nodeKeyConstraint=63,p.RULE_nodePropertyExistenceConstraint=64,p.RULE_relationshipPropertyExistenceConstraint=65,p.RULE_relationshipPatternSyntax=66,p.RULE_loadCSVClause=67,p.RULE_matchClause=68,p.RULE_unwindClause=69,p.RULE_mergeClause=70,p.RULE_mergeAction=71,p.RULE_createClause=72,p.RULE_createUniqueClause=73,p.RULE_setClause=74,p.RULE_setItem=75,p.RULE_deleteClause=76,p.RULE_removeClause=77,p.RULE_removeItem=78,p.RULE_foreachClause=79,p.RULE_withClause=80,p.RULE_returnClause=81,p.RULE_returnBody=82,p.RULE_func=83,p.RULE_returnItems=84,p.RULE_returnItem=85,p.RULE_call=86,p.RULE_procedureInvocation=87,p.RULE_procedureInvocationBody=88,p.RULE_procedureArguments=89,p.RULE_procedureResults=90,p.RULE_procedureResult=91,p.RULE_aliasedProcedureResult=92,p.RULE_simpleProcedureResult=93,p.RULE_procedureOutput=94,p.RULE_order=95,p.RULE_skip=96,p.RULE_limit=97,p.RULE_sortItem=98,p.RULE_hint=99,p.RULE_startClause=100,p.RULE_startPoint=101,p.RULE_lookup=102,p.RULE_nodeLookup=103,p.RULE_relationshipLookup=104,p.RULE_identifiedIndexLookup=105,p.RULE_indexQuery=106,p.RULE_idLookup=107,p.RULE_literalIds=108,p.RULE_where=109,p.RULE_pattern=110,p.RULE_patternPart=111,p.RULE_anonymousPatternPart=112,p.RULE_patternElement=113,p.RULE_nodePattern=114,p.RULE_patternElementChain=115,p.RULE_relationshipPattern=116,p.RULE_relationshipPatternStart=117,p.RULE_relationshipPatternEnd=118,p.RULE_relationshipDetail=119,p.RULE_properties=120,p.RULE_relType=121,p.RULE_relationshipTypes=122,p.RULE_relationshipType=123,p.RULE_relationshipTypeOptionalColon=124,p.RULE_nodeLabels=125,p.RULE_nodeLabel=126,p.RULE_rangeLiteral=127,p.RULE_labelName=128,p.RULE_relTypeName=129,p.RULE_expression=130,p.RULE_orExpression=131,p.RULE_xorExpression=132,p.RULE_andExpression=133,p.RULE_notExpression=134,p.RULE_comparisonExpression=135,p.RULE_addOrSubtractExpression=136,p.RULE_multiplyDivideModuloExpression=137,p.RULE_powerOfExpression=138,p.RULE_unaryAddOrSubtractExpression=139,p.RULE_stringListNullOperatorExpression=140,p.RULE_propertyOrLabelsExpression=141,p.RULE_filterFunction=142,p.RULE_filterFunctionName=143,p.RULE_existsFunction=144,p.RULE_existsFunctionName=145,p.RULE_allFunction=146,p.RULE_allFunctionName=147,p.RULE_anyFunction=148,p.RULE_anyFunctionName=149,p.RULE_noneFunction=150,p.RULE_noneFunctionName=151,p.RULE_singleFunction=152,p.RULE_singleFunctionName=153,p.RULE_extractFunction=154,p.RULE_extractFunctionName=155,p.RULE_reduceFunction=156,p.RULE_reduceFunctionName=157,p.RULE_shortestPathPatternFunction=158,p.RULE_shortestPathFunctionName=159,p.RULE_allShortestPathFunctionName=160,p.RULE_atom=161,p.RULE_literal=162,p.RULE_stringLiteral=163,p.RULE_booleanLiteral=164,p.RULE_listLiteral=165,p.RULE_partialComparisonExpression=166,p.RULE_parenthesizedExpression=167,p.RULE_relationshipsPattern=168,p.RULE_filterExpression=169,p.RULE_idInColl=170,p.RULE_functionInvocation=171,p.RULE_functionInvocationBody=172,p.RULE_functionName=173,p.RULE_procedureName=174,p.RULE_listComprehension=175,p.RULE_patternComprehension=176,p.RULE_propertyLookup=177,p.RULE_caseExpression=178,p.RULE_caseAlternatives=179,p.RULE_variable=180,p.RULE_numberLiteral=181,p.RULE_mapLiteral=182,p.RULE_mapProjection=183,p.RULE_mapProjectionVariants=184,p.RULE_literalEntry=185,p.RULE_propertySelector=186,p.RULE_variableSelector=187,p.RULE_allPropertiesSelector=188,p.RULE_parameter=189,p.RULE_legacyParameter=190,p.RULE_newParameter=191,p.RULE_parameterName=192,p.RULE_propertyExpressions=193,p.RULE_propertyExpression=194,p.RULE_propertyKeys=195,p.RULE_propertyKeyName=196,p.RULE_integerLiteral=197,p.RULE_doubleLiteral=198,p.RULE_namespace=199,p.RULE_leftArrowHead=200,p.RULE_rightArrowHead=201,p.RULE_dash=202,p.RULE_symbolicName=203,p.RULE_keyword=204,d.prototype=Object.create(r.ParserRuleContext.prototype),d.prototype.constructor=d,d.prototype.cypherPart=function(){return this.getTypedRuleContext(m,0)},d.prototype.enterRule=function(e){e instanceof i&&e.enterRaw(this)},d.prototype.exitRule=function(e){e instanceof i&&e.exitRaw(this)},p.RawContext=d,p.prototype.raw=function(){var e=new d(this,this._ctx,this.state);this.enterRule(e,0,p.RULE_raw);try{switch(this.enterOuterAlt(e,1),this.state=417,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,1,this._ctx)){case 1:this.state=413,this._errHandler.sync(this);for(var t=this._interp.adaptivePredict(this._input,0,this._ctx);1!=t&&t!=r.atn.ATN.INVALID_ALT_NUMBER;)2===t&&(this.state=410,this.matchWildcard()),this.state=415,this._errHandler.sync(this),t=this._interp.adaptivePredict(this._input,0,this._ctx);break;case 2:this.state=416,this.cypherPart()}}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},f.prototype=Object.create(r.ParserRuleContext.prototype),f.prototype.constructor=f,f.prototype.raw=function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(d):this.getTypedRuleContext(d,e)},f.prototype.EOF=function(){return this.getToken(p.EOF,0)},f.prototype.enterRule=function(e){e instanceof i&&e.enterCypher(this)},f.prototype.exitRule=function(e){e instanceof i&&e.exitCypher(this)},p.CypherContext=f,p.prototype.cypher=function(){var e=new f(this,this._ctx,this.state);this.enterRule(e,2,p.RULE_cypher);try{this.enterOuterAlt(e,1),this.state=419,this.raw(),this.state=424,this._errHandler.sync(this);for(var t=this._interp.adaptivePredict(this._input,2,this._ctx);2!=t&&t!=r.atn.ATN.INVALID_ALT_NUMBER;)1===t&&(this.state=420,this.match(p.T__0),this.state=421,this.raw()),this.state=426,this._errHandler.sync(this),t=this._interp.adaptivePredict(this._input,2,this._ctx);this.state=428,this._errHandler.sync(this),this._input.LA(1)===p.T__0&&(this.state=427,this.match(p.T__0)),this.state=430,this.match(p.EOF)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},m.prototype=Object.create(r.ParserRuleContext.prototype),m.prototype.constructor=m,m.prototype.cypherQuery=function(){return this.getTypedRuleContext(W,0)},m.prototype.cypherConsoleCommand=function(){return this.getTypedRuleContext(g,0)},m.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},m.prototype.enterRule=function(e){e instanceof i&&e.enterCypherPart(this)},m.prototype.exitRule=function(e){e instanceof i&&e.exitCypherPart(this)},p.CypherPartContext=m,p.prototype.cypherPart=function(){var e=new m(this,this._ctx,this.state);this.enterRule(e,4,p.RULE_cypherPart);try{switch(this.enterOuterAlt(e,1),this.state=433,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=432,this.match(p.SP)),this.state=437,this._errHandler.sync(this),this._input.LA(1)){case p.CYPHER:case p.EXPLAIN:case p.PROFILE:case p.USING:case p.CREATE:case p.DROP:case p.LOAD:case p.WITH:case p.OPTIONAL:case p.MATCH:case p.UNWIND:case p.MERGE:case p.SET:case p.DETACH:case p.DELETE:case p.REMOVE:case p.FOREACH:case p.RETURN:case p.START:case p.CALL:this.state=435,this.cypherQuery();break;case p.T__1:this.state=436,this.cypherConsoleCommand();break;default:throw new r.error.NoViableAltException(this)}this.state=440,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=439,this.match(p.SP))}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},g.prototype=Object.create(r.ParserRuleContext.prototype),g.prototype.constructor=g,g.prototype.cypherConsoleCommandName=function(){return this.getTypedRuleContext(y,0)},g.prototype.SP=function(){return this.getToken(p.SP,0)},g.prototype.cypherConsoleCommandParameters=function(){return this.getTypedRuleContext(v,0)},g.prototype.enterRule=function(e){e instanceof i&&e.enterCypherConsoleCommand(this)},g.prototype.exitRule=function(e){e instanceof i&&e.exitCypherConsoleCommand(this)},p.CypherConsoleCommandContext=g,p.prototype.cypherConsoleCommand=function(){var e=new g(this,this._ctx,this.state);this.enterRule(e,6,p.RULE_cypherConsoleCommand);try{this.enterOuterAlt(e,1),this.state=442,this.cypherConsoleCommandName(),this.state=445,this._errHandler.sync(this),1===this._interp.adaptivePredict(this._input,7,this._ctx)&&(this.state=443,this.match(p.SP),this.state=444,this.cypherConsoleCommandParameters())}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},y.prototype=Object.create(r.ParserRuleContext.prototype),y.prototype.constructor=y,y.prototype.symbolicName=function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(tr):this.getTypedRuleContext(tr,e)},y.prototype.enterRule=function(e){e instanceof i&&e.enterCypherConsoleCommandName(this)},y.prototype.exitRule=function(e){e instanceof i&&e.exitCypherConsoleCommandName(this)},p.CypherConsoleCommandNameContext=y,p.prototype.cypherConsoleCommandName=function(){var e=new y(this,this._ctx,this.state);this.enterRule(e,8,p.RULE_cypherConsoleCommandName);var t=0;try{for(this.enterOuterAlt(e,1),this.state=447,this.match(p.T__1),this.state=448,this.symbolicName(),this.state=453,this._errHandler.sync(this),t=this._input.LA(1);t===p.T__2;)this.state=449,this.match(p.T__2),this.state=450,this.symbolicName(),this.state=455,this._errHandler.sync(this),t=this._input.LA(1)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},v.prototype=Object.create(r.ParserRuleContext.prototype),v.prototype.constructor=v,v.prototype.cypherConsoleCommandParameter=function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(_):this.getTypedRuleContext(_,e)},v.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},v.prototype.enterRule=function(e){e instanceof i&&e.enterCypherConsoleCommandParameters(this)},v.prototype.exitRule=function(e){e instanceof i&&e.exitCypherConsoleCommandParameters(this)},p.CypherConsoleCommandParametersContext=v,p.prototype.cypherConsoleCommandParameters=function(){var e=new v(this,this._ctx,this.state);this.enterRule(e,10,p.RULE_cypherConsoleCommandParameters);try{this.enterOuterAlt(e,1),this.state=456,this.cypherConsoleCommandParameter(),this.state=461,this._errHandler.sync(this);for(var t=this._interp.adaptivePredict(this._input,9,this._ctx);2!=t&&t!=r.atn.ATN.INVALID_ALT_NUMBER;)1===t&&(this.state=457,this.match(p.SP),this.state=458,this.cypherConsoleCommandParameter()),this.state=463,this._errHandler.sync(this),t=this._interp.adaptivePredict(this._input,9,this._ctx)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},_.prototype=Object.create(r.ParserRuleContext.prototype),_.prototype.constructor=_,_.prototype.url=function(){return this.getTypedRuleContext(E,0)},_.prototype.json=function(){return this.getTypedRuleContext(H,0)},_.prototype.arrowExpression=function(){return this.getTypedRuleContext(b,0)},_.prototype.mapLiteral=function(){return this.getTypedRuleContext(Dn,0)},_.prototype.keyValueLiteral=function(){return this.getTypedRuleContext(Y,0)},_.prototype.stringLiteral=function(){return this.getTypedRuleContext(mn,0)},_.prototype.numberLiteral=function(){return this.getTypedRuleContext(kn,0)},_.prototype.booleanLiteral=function(){return this.getTypedRuleContext(gn,0)},_.prototype.subCommand=function(){return this.getTypedRuleContext($,0)},_.prototype.commandPath=function(){return this.getTypedRuleContext(z,0)},_.prototype.enterRule=function(e){e instanceof i&&e.enterCypherConsoleCommandParameter(this)},_.prototype.exitRule=function(e){e instanceof i&&e.exitCypherConsoleCommandParameter(this)},p.CypherConsoleCommandParameterContext=_,p.prototype.cypherConsoleCommandParameter=function(){var e=new _(this,this._ctx,this.state);this.enterRule(e,12,p.RULE_cypherConsoleCommandParameter);try{switch(this.state=474,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,10,this._ctx)){case 1:this.enterOuterAlt(e,1),this.state=464,this.url();break;case 2:this.enterOuterAlt(e,2),this.state=465,this.json();break;case 3:this.enterOuterAlt(e,3),this.state=466,this.arrowExpression();break;case 4:this.enterOuterAlt(e,4),this.state=467,this.mapLiteral();break;case 5:this.enterOuterAlt(e,5),this.state=468,this.keyValueLiteral();break;case 6:this.enterOuterAlt(e,6),this.state=469,this.stringLiteral();break;case 7:this.enterOuterAlt(e,7),this.state=470,this.numberLiteral();break;case 8:this.enterOuterAlt(e,8),this.state=471,this.booleanLiteral();break;case 9:this.enterOuterAlt(e,9),this.state=472,this.subCommand();break;case 10:this.enterOuterAlt(e,10),this.state=473,this.commandPath()}}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},b.prototype=Object.create(r.ParserRuleContext.prototype),b.prototype.constructor=b,b.prototype.symbolicName=function(){return this.getTypedRuleContext(tr,0)},b.prototype.expression=function(){return this.getTypedRuleContext(Pt,0)},b.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},b.prototype.enterRule=function(e){e instanceof i&&e.enterArrowExpression(this)},b.prototype.exitRule=function(e){e instanceof i&&e.exitArrowExpression(this)},p.ArrowExpressionContext=b,p.prototype.arrowExpression=function(){var e=new b(this,this._ctx,this.state);this.enterRule(e,14,p.RULE_arrowExpression);try{this.enterOuterAlt(e,1),this.state=476,this.symbolicName(),this.state=478,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=477,this.match(p.SP)),this.state=480,this.match(p.T__3),this.state=482,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=481,this.match(p.SP)),this.state=484,this.expression()}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},E.prototype=Object.create(r.ParserRuleContext.prototype),E.prototype.constructor=E,E.prototype.uri=function(){return this.getTypedRuleContext(T,0)},E.prototype.enterRule=function(e){e instanceof i&&e.enterUrl(this)},E.prototype.exitRule=function(e){e instanceof i&&e.exitUrl(this)},p.UrlContext=E,p.prototype.url=function(){var e=new E(this,this._ctx,this.state);this.enterRule(e,16,p.RULE_url);try{this.enterOuterAlt(e,1),this.state=486,this.uri()}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},T.prototype=Object.create(r.ParserRuleContext.prototype),T.prototype.constructor=T,T.prototype.scheme=function(){return this.getTypedRuleContext(x,0)},T.prototype.host=function(){return this.getTypedRuleContext(S,0)},T.prototype.login=function(){return this.getTypedRuleContext(O,0)},T.prototype.port=function(){return this.getTypedRuleContext(R,0)},T.prototype.path=function(){return this.getTypedRuleContext(w,0)},T.prototype.urlQuery=function(){return this.getTypedRuleContext(k,0)},T.prototype.frag=function(){return this.getTypedRuleContext(I,0)},T.prototype.enterRule=function(e){e instanceof i&&e.enterUri(this)},T.prototype.exitRule=function(e){e instanceof i&&e.exitUri(this)},p.UriContext=T,p.prototype.uri=function(){var e=new T(this,this._ctx,this.state);this.enterRule(e,18,p.RULE_uri);try{this.enterOuterAlt(e,1),this.state=488,this.scheme(),this.state=489,this.match(p.T__4),this.state=491,this._errHandler.sync(this),1===this._interp.adaptivePredict(this._input,13,this._ctx)&&(this.state=490,this.login()),this.state=493,this.host(),this.state=496,this._errHandler.sync(this),this._input.LA(1)===p.T__1&&(this.state=494,this.match(p.T__1),this.state=495,this.port()),this.state=500,this._errHandler.sync(this),this._input.LA(1)===p.T__5&&(this.state=498,this.match(p.T__5),this.state=499,this.path()),this.state=503,this._errHandler.sync(this),this._input.LA(1)===p.T__9&&(this.state=502,this.urlQuery()),this.state=506,this._errHandler.sync(this),this._input.LA(1)===p.T__8&&(this.state=505,this.frag())}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},x.prototype=Object.create(r.ParserRuleContext.prototype),x.prototype.constructor=x,x.prototype.string=function(){return this.getTypedRuleContext(M,0)},x.prototype.enterRule=function(e){e instanceof i&&e.enterScheme(this)},x.prototype.exitRule=function(e){e instanceof i&&e.exitScheme(this)},p.SchemeContext=x,p.prototype.scheme=function(){var e=new x(this,this._ctx,this.state);this.enterRule(e,20,p.RULE_scheme);try{this.enterOuterAlt(e,1),this.state=508,this.string()}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},S.prototype=Object.create(r.ParserRuleContext.prototype),S.prototype.constructor=S,S.prototype.hostname=function(){return this.getTypedRuleContext(C,0)},S.prototype.hostnumber=function(){return this.getTypedRuleContext(A,0)},S.prototype.enterRule=function(e){e instanceof i&&e.enterHost(this)},S.prototype.exitRule=function(e){e instanceof i&&e.exitHost(this)},p.HostContext=S,p.prototype.host=function(){var e=new S(this,this._ctx,this.state);this.enterRule(e,22,p.RULE_host);try{switch(this.enterOuterAlt(e,1),this.state=511,this._errHandler.sync(this),this._input.LA(1)===p.T__5&&(this.state=510,this.match(p.T__5)),this.state=515,this._errHandler.sync(this),this._input.LA(1)){case p.CYPHER:case p.EXPLAIN:case p.PROFILE:case p.USING:case p.PERIODIC:case p.COMMIT:case p.UNION:case p.ALL:case p.CREATE:case p.DROP:case p.INDEX:case p.ON:case p.CONSTRAINT:case p.ASSERT:case p.IS:case p.UNIQUE:case p.EXISTS:case p.LOAD:case p.CSV:case p.WITH:case p.HEADERS:case p.FROM:case p.AS:case p.FIELDTERMINATOR:case p.OPTIONAL:case p.MATCH:case p.UNWIND:case p.MERGE:case p.SET:case p.DETACH:case p.DELETE:case p.REMOVE:case p.FOREACH:case p.IN:case p.DISTINCT:case p.RETURN:case p.ORDER:case p.BY:case p.L_SKIP:case p.LIMIT:case p.ASCENDING:case p.ASC:case p.DESCENDING:case p.DESC:case p.JOIN:case p.SCAN:case p.START:case p.NODE:case p.RELATIONSHIP:case p.REL:case p.WHERE:case p.SHORTESTPATH:case p.ALLSHORTESTPATHS:case p.OR:case p.XOR:case p.AND:case p.NOT:case p.STARTS:case p.ENDS:case p.CONTAINS:case p.NULL:case p.COUNT:case p.FILTER:case p.EXTRACT:case p.ANY:case p.NONE:case p.SINGLE:case p.TRUE:case p.FALSE:case p.REDUCE:case p.CASE:case p.ELSE:case p.END:case p.WHEN:case p.THEN:case p.CALL:case p.YIELD:case p.KEY:case p.BTREE:case p.EXIST:case p.FOR:case p.OPTIONS:case p.EXECUTE:case p.DEFINED:case p.FUNCTION:case p.FUNCTIONS:case p.BOOSTED:case p.PROCEDURE:case p.PROCEDURES:case p.ADMIN:case p.ADMINISTRATOR:case p.BRIEF:case p.VERBOSE:case p.OUTPUT:case p.HexLetter:case p.UnescapedSymbolicName:case p.EscapedSymbolicName:this.state=513,this.hostname();break;case p.HexInteger:case p.DecimalInteger:case p.OctalInteger:this.state=514,this.hostnumber();break;default:throw new r.error.NoViableAltException(this)}}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},C.prototype=Object.create(r.ParserRuleContext.prototype),C.prototype.constructor=C,C.prototype.string=function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(M):this.getTypedRuleContext(M,e)},C.prototype.enterRule=function(e){e instanceof i&&e.enterHostname(this)},C.prototype.exitRule=function(e){e instanceof i&&e.exitHostname(this)},p.HostnameContext=C,p.prototype.hostname=function(){var e=new C(this,this._ctx,this.state);this.enterRule(e,24,p.RULE_hostname);var t=0;try{for(this.enterOuterAlt(e,1),this.state=517,this.string(),this.state=522,this._errHandler.sync(this),t=this._input.LA(1);t===p.T__6;)this.state=518,this.match(p.T__6),this.state=519,this.string(),this.state=524,this._errHandler.sync(this),t=this._input.LA(1)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},A.prototype=Object.create(r.ParserRuleContext.prototype),A.prototype.constructor=A,A.prototype.urlDigits=function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(F):this.getTypedRuleContext(F,e)},A.prototype.enterRule=function(e){e instanceof i&&e.enterHostnumber(this)},A.prototype.exitRule=function(e){e instanceof i&&e.exitHostnumber(this)},p.HostnumberContext=A,p.prototype.hostnumber=function(){var e=new A(this,this._ctx,this.state);this.enterRule(e,26,p.RULE_hostnumber);try{this.enterOuterAlt(e,1),this.state=525,this.urlDigits(),this.state=526,this.match(p.T__6),this.state=527,this.urlDigits(),this.state=528,this.match(p.T__6),this.state=529,this.urlDigits(),this.state=530,this.match(p.T__6),this.state=531,this.urlDigits()}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},R.prototype=Object.create(r.ParserRuleContext.prototype),R.prototype.constructor=R,R.prototype.urlDigits=function(){return this.getTypedRuleContext(F,0)},R.prototype.enterRule=function(e){e instanceof i&&e.enterPort(this)},R.prototype.exitRule=function(e){e instanceof i&&e.exitPort(this)},p.PortContext=R,p.prototype.port=function(){var e=new R(this,this._ctx,this.state);this.enterRule(e,28,p.RULE_port);try{this.enterOuterAlt(e,1),this.state=533,this.urlDigits()}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},w.prototype=Object.create(r.ParserRuleContext.prototype),w.prototype.constructor=w,w.prototype.string=function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(M):this.getTypedRuleContext(M,e)},w.prototype.enterRule=function(e){e instanceof i&&e.enterPath(this)},w.prototype.exitRule=function(e){e instanceof i&&e.exitPath(this)},p.PathContext=w,p.prototype.path=function(){var e=new w(this,this._ctx,this.state);this.enterRule(e,30,p.RULE_path);var t=0;try{for(this.enterOuterAlt(e,1),this.state=535,this.string(),this.state=540,this._errHandler.sync(this),t=this._input.LA(1);t===p.T__5;)this.state=536,this.match(p.T__5),this.state=537,this.string(),this.state=542,this._errHandler.sync(this),t=this._input.LA(1)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},L.prototype=Object.create(r.ParserRuleContext.prototype),L.prototype.constructor=L,L.prototype.string=function(){return this.getTypedRuleContext(M,0)},L.prototype.enterRule=function(e){e instanceof i&&e.enterUser(this)},L.prototype.exitRule=function(e){e instanceof i&&e.exitUser(this)},p.UserContext=L,p.prototype.user=function(){var e=new L(this,this._ctx,this.state);this.enterRule(e,32,p.RULE_user);try{this.enterOuterAlt(e,1),this.state=543,this.string()}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},O.prototype=Object.create(r.ParserRuleContext.prototype),O.prototype.constructor=O,O.prototype.user=function(){return this.getTypedRuleContext(L,0)},O.prototype.password=function(){return this.getTypedRuleContext(N,0)},O.prototype.enterRule=function(e){e instanceof i&&e.enterLogin(this)},O.prototype.exitRule=function(e){e instanceof i&&e.exitLogin(this)},p.LoginContext=O,p.prototype.login=function(){var e=new O(this,this._ctx,this.state);this.enterRule(e,34,p.RULE_login);try{this.enterOuterAlt(e,1),this.state=545,this.user(),this.state=546,this.match(p.T__1),this.state=547,this.password(),this.state=548,this.match(p.T__7)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},N.prototype=Object.create(r.ParserRuleContext.prototype),N.prototype.constructor=N,N.prototype.string=function(){return this.getTypedRuleContext(M,0)},N.prototype.enterRule=function(e){e instanceof i&&e.enterPassword(this)},N.prototype.exitRule=function(e){e instanceof i&&e.exitPassword(this)},p.PasswordContext=N,p.prototype.password=function(){var e=new N(this,this._ctx,this.state);this.enterRule(e,36,p.RULE_password);try{this.enterOuterAlt(e,1),this.state=550,this.string()}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},I.prototype=Object.create(r.ParserRuleContext.prototype),I.prototype.constructor=I,I.prototype.string=function(){return this.getTypedRuleContext(M,0)},I.prototype.enterRule=function(e){e instanceof i&&e.enterFrag(this)},I.prototype.exitRule=function(e){e instanceof i&&e.exitFrag(this)},p.FragContext=I,p.prototype.frag=function(){var e=new I(this,this._ctx,this.state);this.enterRule(e,38,p.RULE_frag);try{this.enterOuterAlt(e,1),this.state=552,this.match(p.T__8),this.state=553,this.string()}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},k.prototype=Object.create(r.ParserRuleContext.prototype),k.prototype.constructor=k,k.prototype.search=function(){return this.getTypedRuleContext(D,0)},k.prototype.enterRule=function(e){e instanceof i&&e.enterUrlQuery(this)},k.prototype.exitRule=function(e){e instanceof i&&e.exitUrlQuery(this)},p.UrlQueryContext=k,p.prototype.urlQuery=function(){var e=new k(this,this._ctx,this.state);this.enterRule(e,40,p.RULE_urlQuery);try{this.enterOuterAlt(e,1),this.state=555,this.match(p.T__9),this.state=556,this.search()}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},D.prototype=Object.create(r.ParserRuleContext.prototype),D.prototype.constructor=D,D.prototype.searchparameter=function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(P):this.getTypedRuleContext(P,e)},D.prototype.enterRule=function(e){e instanceof i&&e.enterSearch(this)},D.prototype.exitRule=function(e){e instanceof i&&e.exitSearch(this)},p.SearchContext=D,p.prototype.search=function(){var e=new D(this,this._ctx,this.state);this.enterRule(e,42,p.RULE_search);var t=0;try{for(this.enterOuterAlt(e,1),this.state=558,this.searchparameter(),this.state=563,this._errHandler.sync(this),t=this._input.LA(1);t===p.T__10;)this.state=559,this.match(p.T__10),this.state=560,this.searchparameter(),this.state=565,this._errHandler.sync(this),t=this._input.LA(1)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},P.prototype=Object.create(r.ParserRuleContext.prototype),P.prototype.constructor=P,P.prototype.string=function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(M):this.getTypedRuleContext(M,e)},P.prototype.urlDigits=function(){return this.getTypedRuleContext(F,0)},P.prototype.UrlHex=function(){return this.getToken(p.UrlHex,0)},P.prototype.enterRule=function(e){e instanceof i&&e.enterSearchparameter(this)},P.prototype.exitRule=function(e){e instanceof i&&e.exitSearchparameter(this)},p.SearchparameterContext=P,p.prototype.searchparameter=function(){var e=new P(this,this._ctx,this.state);this.enterRule(e,44,p.RULE_searchparameter);try{if(this.enterOuterAlt(e,1),this.state=566,this.string(),this.state=573,this._errHandler.sync(this),this._input.LA(1)===p.T__11)switch(this.state=567,this.match(p.T__11),this.state=571,this._errHandler.sync(this),this._input.LA(1)){case p.CYPHER:case p.EXPLAIN:case p.PROFILE:case p.USING:case p.PERIODIC:case p.COMMIT:case p.UNION:case p.ALL:case p.CREATE:case p.DROP:case p.INDEX:case p.ON:case p.CONSTRAINT:case p.ASSERT:case p.IS:case p.UNIQUE:case p.EXISTS:case p.LOAD:case p.CSV:case p.WITH:case p.HEADERS:case p.FROM:case p.AS:case p.FIELDTERMINATOR:case p.OPTIONAL:case p.MATCH:case p.UNWIND:case p.MERGE:case p.SET:case p.DETACH:case p.DELETE:case p.REMOVE:case p.FOREACH:case p.IN:case p.DISTINCT:case p.RETURN:case p.ORDER:case p.BY:case p.L_SKIP:case p.LIMIT:case p.ASCENDING:case p.ASC:case p.DESCENDING:case p.DESC:case p.JOIN:case p.SCAN:case p.START:case p.NODE:case p.RELATIONSHIP:case p.REL:case p.WHERE:case p.SHORTESTPATH:case p.ALLSHORTESTPATHS:case p.OR:case p.XOR:case p.AND:case p.NOT:case p.STARTS:case p.ENDS:case p.CONTAINS:case p.NULL:case p.COUNT:case p.FILTER:case p.EXTRACT:case p.ANY:case p.NONE:case p.SINGLE:case p.TRUE:case p.FALSE:case p.REDUCE:case p.CASE:case p.ELSE:case p.END:case p.WHEN:case p.THEN:case p.CALL:case p.YIELD:case p.KEY:case p.BTREE:case p.EXIST:case p.FOR:case p.OPTIONS:case p.EXECUTE:case p.DEFINED:case p.FUNCTION:case p.FUNCTIONS:case p.BOOSTED:case p.PROCEDURE:case p.PROCEDURES:case p.ADMIN:case p.ADMINISTRATOR:case p.BRIEF:case p.VERBOSE:case p.OUTPUT:case p.HexLetter:case p.UnescapedSymbolicName:case p.EscapedSymbolicName:this.state=568,this.string();break;case p.HexInteger:case p.DecimalInteger:case p.OctalInteger:this.state=569,this.urlDigits();break;case p.UrlHex:this.state=570,this.match(p.UrlHex);break;default:throw new r.error.NoViableAltException(this)}}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},M.prototype=Object.create(r.ParserRuleContext.prototype),M.prototype.constructor=M,M.prototype.symbolicName=function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(tr):this.getTypedRuleContext(tr,e)},M.prototype.enterRule=function(e){e instanceof i&&e.enterString(this)},M.prototype.exitRule=function(e){e instanceof i&&e.exitString(this)},p.StringContext=M,p.prototype.string=function(){var e=new M(this,this._ctx,this.state);this.enterRule(e,46,p.RULE_string);var t=0;try{this.enterOuterAlt(e,1),this.state=575,this.symbolicName(),this.state=582,this._errHandler.sync(this);for(var n=this._interp.adaptivePredict(this._input,26,this._ctx);1!=n&&n!=r.atn.ATN.INVALID_ALT_NUMBER;)2===n&&(this.state=577,this._errHandler.sync(this),(t=this._input.LA(1))!==p.T__6&&t!==p.T__12||(this.state=576,(t=this._input.LA(1))!==p.T__6&&t!==p.T__12?this._errHandler.recoverInline(this):(this._errHandler.reportMatch(this),this.consume())),this.state=579,this.symbolicName()),this.state=584,this._errHandler.sync(this),n=this._interp.adaptivePredict(this._input,26,this._ctx)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},F.prototype=Object.create(r.ParserRuleContext.prototype),F.prototype.constructor=F,F.prototype.integerLiteral=function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(qn):this.getTypedRuleContext(qn,e)},F.prototype.enterRule=function(e){e instanceof i&&e.enterUrlDigits(this)},F.prototype.exitRule=function(e){e instanceof i&&e.exitUrlDigits(this)},p.UrlDigitsContext=F,p.prototype.urlDigits=function(){var e=new F(this,this._ctx,this.state);this.enterRule(e,48,p.RULE_urlDigits);var t=0;try{this.enterOuterAlt(e,1),this.state=586,this._errHandler.sync(this),t=this._input.LA(1);do{this.state=585,this.integerLiteral(),this.state=588,this._errHandler.sync(this),t=this._input.LA(1)}while(0==(t-151&-32)&&0!=(1<<t-151&(1<<p.HexInteger-151|1<<p.DecimalInteger-151|1<<p.OctalInteger-151)))}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},H.prototype=Object.create(r.ParserRuleContext.prototype),H.prototype.constructor=H,H.prototype.value=function(){return this.getTypedRuleContext(G,0)},H.prototype.enterRule=function(e){e instanceof i&&e.enterJson(this)},H.prototype.exitRule=function(e){e instanceof i&&e.exitJson(this)},p.JsonContext=H,p.prototype.json=function(){var e=new H(this,this._ctx,this.state);this.enterRule(e,50,p.RULE_json);try{this.enterOuterAlt(e,1),this.state=590,this.value()}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},B.prototype=Object.create(r.ParserRuleContext.prototype),B.prototype.constructor=B,B.prototype.pair=function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(U):this.getTypedRuleContext(U,e)},B.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},B.prototype.enterRule=function(e){e instanceof i&&e.enterObj(this)},B.prototype.exitRule=function(e){e instanceof i&&e.exitObj(this)},p.ObjContext=B,p.prototype.obj=function(){var e=new B(this,this._ctx,this.state);this.enterRule(e,52,p.RULE_obj);var t=0;try{switch(this.state=620,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,34,this._ctx)){case 1:for(this.enterOuterAlt(e,1),this.state=592,this.match(p.T__13),this.state=594,this._errHandler.sync(this),(t=this._input.LA(1))===p.SP&&(this.state=593,this.match(p.SP)),this.state=596,this.pair(),this.state=598,this._errHandler.sync(this),(t=this._input.LA(1))===p.SP&&(this.state=597,this.match(p.SP)),this.state=610,this._errHandler.sync(this),t=this._input.LA(1);t===p.T__14;)this.state=600,this.match(p.T__14),this.state=602,this._errHandler.sync(this),(t=this._input.LA(1))===p.SP&&(this.state=601,this.match(p.SP)),this.state=604,this.pair(),this.state=606,this._errHandler.sync(this),(t=this._input.LA(1))===p.SP&&(this.state=605,this.match(p.SP)),this.state=612,this._errHandler.sync(this),t=this._input.LA(1);this.state=613,this.match(p.T__15);break;case 2:this.enterOuterAlt(e,2),this.state=615,this.match(p.T__13),this.state=617,this._errHandler.sync(this),(t=this._input.LA(1))===p.SP&&(this.state=616,this.match(p.SP)),this.state=619,this.match(p.T__15)}}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},U.prototype=Object.create(r.ParserRuleContext.prototype),U.prototype.constructor=U,U.prototype.stringLiteral=function(){return this.getTypedRuleContext(mn,0)},U.prototype.value=function(){return this.getTypedRuleContext(G,0)},U.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},U.prototype.enterRule=function(e){e instanceof i&&e.enterPair(this)},U.prototype.exitRule=function(e){e instanceof i&&e.exitPair(this)},p.PairContext=U,p.prototype.pair=function(){var e=new U(this,this._ctx,this.state);this.enterRule(e,54,p.RULE_pair);try{this.enterOuterAlt(e,1),this.state=622,this.stringLiteral(),this.state=624,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=623,this.match(p.SP)),this.state=626,this.match(p.T__1),this.state=628,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=627,this.match(p.SP)),this.state=630,this.value()}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},j.prototype=Object.create(r.ParserRuleContext.prototype),j.prototype.constructor=j,j.prototype.value=function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(G):this.getTypedRuleContext(G,e)},j.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},j.prototype.enterRule=function(e){e instanceof i&&e.enterArray(this)},j.prototype.exitRule=function(e){e instanceof i&&e.exitArray(this)},p.ArrayContext=j,p.prototype.array=function(){var e=new j(this,this._ctx,this.state);this.enterRule(e,56,p.RULE_array);var t=0;try{switch(this.state=660,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,43,this._ctx)){case 1:for(this.enterOuterAlt(e,1),this.state=632,this.match(p.T__16),this.state=634,this._errHandler.sync(this),(t=this._input.LA(1))===p.SP&&(this.state=633,this.match(p.SP)),this.state=636,this.value(),this.state=638,this._errHandler.sync(this),(t=this._input.LA(1))===p.SP&&(this.state=637,this.match(p.SP)),this.state=650,this._errHandler.sync(this),t=this._input.LA(1);t===p.T__14;)this.state=640,this.match(p.T__14),this.state=642,this._errHandler.sync(this),(t=this._input.LA(1))===p.SP&&(this.state=641,this.match(p.SP)),this.state=644,this.value(),this.state=646,this._errHandler.sync(this),(t=this._input.LA(1))===p.SP&&(this.state=645,this.match(p.SP)),this.state=652,this._errHandler.sync(this),t=this._input.LA(1);this.state=653,this.match(p.T__17);break;case 2:this.enterOuterAlt(e,2),this.state=655,this.match(p.T__16),this.state=657,this._errHandler.sync(this),(t=this._input.LA(1))===p.SP&&(this.state=656,this.match(p.SP)),this.state=659,this.match(p.T__17)}}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},G.prototype=Object.create(r.ParserRuleContext.prototype),G.prototype.constructor=G,G.prototype.stringLiteral=function(){return this.getTypedRuleContext(mn,0)},G.prototype.numberLiteral=function(){return this.getTypedRuleContext(kn,0)},G.prototype.obj=function(){return this.getTypedRuleContext(B,0)},G.prototype.array=function(){return this.getTypedRuleContext(j,0)},G.prototype.booleanLiteral=function(){return this.getTypedRuleContext(gn,0)},G.prototype.NULL=function(){return this.getToken(p.NULL,0)},G.prototype.enterRule=function(e){e instanceof i&&e.enterValue(this)},G.prototype.exitRule=function(e){e instanceof i&&e.exitValue(this)},p.ValueContext=G,p.prototype.value=function(){var e=new G(this,this._ctx,this.state);this.enterRule(e,58,p.RULE_value);try{switch(this.state=668,this._errHandler.sync(this),this._input.LA(1)){case p.StringLiteral:this.enterOuterAlt(e,1),this.state=662,this.stringLiteral();break;case p.HexInteger:case p.DecimalInteger:case p.OctalInteger:case p.ExponentDecimalReal:case p.RegularDecimalReal:this.enterOuterAlt(e,2),this.state=663,this.numberLiteral();break;case p.T__13:this.enterOuterAlt(e,3),this.state=664,this.obj();break;case p.T__16:this.enterOuterAlt(e,4),this.state=665,this.array();break;case p.TRUE:case p.FALSE:this.enterOuterAlt(e,5),this.state=666,this.booleanLiteral();break;case p.NULL:this.enterOuterAlt(e,6),this.state=667,this.match(p.NULL);break;default:throw new r.error.NoViableAltException(this)}}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},Y.prototype=Object.create(r.ParserRuleContext.prototype),Y.prototype.constructor=Y,Y.prototype.variable=function(){return this.getTypedRuleContext(In,0)},Y.prototype.SP=function(){return this.getToken(p.SP,0)},Y.prototype.StringLiteral=function(){return this.getToken(p.StringLiteral,0)},Y.prototype.numberLiteral=function(){return this.getTypedRuleContext(kn,0)},Y.prototype.booleanLiteral=function(){return this.getTypedRuleContext(gn,0)},Y.prototype.symbolicName=function(){return this.getTypedRuleContext(tr,0)},Y.prototype.enterRule=function(e){e instanceof i&&e.enterKeyValueLiteral(this)},Y.prototype.exitRule=function(e){e instanceof i&&e.exitKeyValueLiteral(this)},p.KeyValueLiteralContext=Y,p.prototype.keyValueLiteral=function(){var e=new Y(this,this._ctx,this.state);this.enterRule(e,60,p.RULE_keyValueLiteral);try{switch(this.enterOuterAlt(e,1),this.state=670,this.variable(),this.state=671,this.match(p.T__1),this.state=672,this.match(p.SP),this.state=677,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,45,this._ctx)){case 1:this.state=673,this.match(p.StringLiteral);break;case 2:this.state=674,this.numberLiteral();break;case 3:this.state=675,this.booleanLiteral();break;case 4:this.state=676,this.symbolicName()}}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},z.prototype=Object.create(r.ParserRuleContext.prototype),z.prototype.constructor=z,z.prototype.symbolicName=function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(tr):this.getTypedRuleContext(tr,e)},z.prototype.numberLiteral=function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(kn):this.getTypedRuleContext(kn,e)},z.prototype.enterRule=function(e){e instanceof i&&e.enterCommandPath(this)},z.prototype.exitRule=function(e){e instanceof i&&e.exitCommandPath(this)},p.CommandPathContext=z,p.prototype.commandPath=function(){var e=new z(this,this._ctx,this.state);this.enterRule(e,62,p.RULE_commandPath);try{this.enterOuterAlt(e,1),this.state=684,this._errHandler.sync(this);var t=1;do{if(1!==t)throw new r.error.NoViableAltException(this);switch(this.state=679,this.match(p.T__5),this.state=682,this._errHandler.sync(this),this._input.LA(1)){case p.CYPHER:case p.EXPLAIN:case p.PROFILE:case p.USING:case p.PERIODIC:case p.COMMIT:case p.UNION:case p.ALL:case p.CREATE:case p.DROP:case p.INDEX:case p.ON:case p.CONSTRAINT:case p.ASSERT:case p.IS:case p.UNIQUE:case p.EXISTS:case p.LOAD:case p.CSV:case p.WITH:case p.HEADERS:case p.FROM:case p.AS:case p.FIELDTERMINATOR:case p.OPTIONAL:case p.MATCH:case p.UNWIND:case p.MERGE:case p.SET:case p.DETACH:case p.DELETE:case p.REMOVE:case p.FOREACH:case p.IN:case p.DISTINCT:case p.RETURN:case p.ORDER:case p.BY:case p.L_SKIP:case p.LIMIT:case p.ASCENDING:case p.ASC:case p.DESCENDING:case p.DESC:case p.JOIN:case p.SCAN:case p.START:case p.NODE:case p.RELATIONSHIP:case p.REL:case p.WHERE:case p.SHORTESTPATH:case p.ALLSHORTESTPATHS:case p.OR:case p.XOR:case p.AND:case p.NOT:case p.STARTS:case p.ENDS:case p.CONTAINS:case p.NULL:case p.COUNT:case p.FILTER:case p.EXTRACT:case p.ANY:case p.NONE:case p.SINGLE:case p.TRUE:case p.FALSE:case p.REDUCE:case p.CASE:case p.ELSE:case p.END:case p.WHEN:case p.THEN:case p.CALL:case p.YIELD:case p.KEY:case p.BTREE:case p.EXIST:case p.FOR:case p.OPTIONS:case p.EXECUTE:case p.DEFINED:case p.FUNCTION:case p.FUNCTIONS:case p.BOOSTED:case p.PROCEDURE:case p.PROCEDURES:case p.ADMIN:case p.ADMINISTRATOR:case p.BRIEF:case p.VERBOSE:case p.OUTPUT:case p.HexLetter:case p.UnescapedSymbolicName:case p.EscapedSymbolicName:this.state=680,this.symbolicName();break;case p.HexInteger:case p.DecimalInteger:case p.OctalInteger:case p.ExponentDecimalReal:case p.RegularDecimalReal:this.state=681,this.numberLiteral();break;default:throw new r.error.NoViableAltException(this)}this.state=686,this._errHandler.sync(this),t=this._interp.adaptivePredict(this._input,47,this._ctx)}while(2!=t&&t!=r.atn.ATN.INVALID_ALT_NUMBER);this.state=689,this._errHandler.sync(this),this._input.LA(1)===p.T__5&&(this.state=688,this.match(p.T__5))}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},$.prototype=Object.create(r.ParserRuleContext.prototype),$.prototype.constructor=$,$.prototype.symbolicName=function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(tr):this.getTypedRuleContext(tr,e)},$.prototype.enterRule=function(e){e instanceof i&&e.enterSubCommand(this)},$.prototype.exitRule=function(e){e instanceof i&&e.exitSubCommand(this)},p.SubCommandContext=$,p.prototype.subCommand=function(){var e=new $(this,this._ctx,this.state);this.enterRule(e,64,p.RULE_subCommand);var t=0;try{for(this.enterOuterAlt(e,1),this.state=691,this.symbolicName(),this.state=696,this._errHandler.sync(this),t=this._input.LA(1);t===p.T__2;)this.state=692,this.match(p.T__2),this.state=693,this.symbolicName(),this.state=698,this._errHandler.sync(this),t=this._input.LA(1)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},W.prototype=Object.create(r.ParserRuleContext.prototype),W.prototype.constructor=W,W.prototype.queryOptions=function(){return this.getTypedRuleContext(V,0)},W.prototype.statement=function(){return this.getTypedRuleContext(ee,0)},W.prototype.enterRule=function(e){e instanceof i&&e.enterCypherQuery(this)},W.prototype.exitRule=function(e){e instanceof i&&e.exitCypherQuery(this)},p.CypherQueryContext=W,p.prototype.cypherQuery=function(){var e=new W(this,this._ctx,this.state);this.enterRule(e,66,p.RULE_cypherQuery);try{this.enterOuterAlt(e,1),this.state=699,this.queryOptions(),this.state=700,this.statement()}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},V.prototype=Object.create(r.ParserRuleContext.prototype),V.prototype.constructor=V,V.prototype.anyCypherOption=function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(K):this.getTypedRuleContext(K,e)},V.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},V.prototype.enterRule=function(e){e instanceof i&&e.enterQueryOptions(this)},V.prototype.exitRule=function(e){e instanceof i&&e.exitQueryOptions(this)},p.QueryOptionsContext=V,p.prototype.queryOptions=function(){var e=new V(this,this._ctx,this.state);this.enterRule(e,68,p.RULE_queryOptions);var t=0;try{for(this.enterOuterAlt(e,1),this.state=708,this._errHandler.sync(this),t=this._input.LA(1);0==(t-54&-32)&&0!=(1<<t-54&(1<<p.CYPHER-54|1<<p.EXPLAIN-54|1<<p.PROFILE-54));)this.state=702,this.anyCypherOption(),this.state=704,this._errHandler.sync(this),(t=this._input.LA(1))===p.SP&&(this.state=703,this.match(p.SP)),this.state=710,this._errHandler.sync(this),t=this._input.LA(1)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},K.prototype=Object.create(r.ParserRuleContext.prototype),K.prototype.constructor=K,K.prototype.cypherOption=function(){return this.getTypedRuleContext(q,0)},K.prototype.explain=function(){return this.getTypedRuleContext(Z,0)},K.prototype.profile=function(){return this.getTypedRuleContext(Q,0)},K.prototype.enterRule=function(e){e instanceof i&&e.enterAnyCypherOption(this)},K.prototype.exitRule=function(e){e instanceof i&&e.exitAnyCypherOption(this)},p.AnyCypherOptionContext=K,p.prototype.anyCypherOption=function(){var e=new K(this,this._ctx,this.state);this.enterRule(e,70,p.RULE_anyCypherOption);try{switch(this.state=714,this._errHandler.sync(this),this._input.LA(1)){case p.CYPHER:this.enterOuterAlt(e,1),this.state=711,this.cypherOption();break;case p.EXPLAIN:this.enterOuterAlt(e,2),this.state=712,this.explain();break;case p.PROFILE:this.enterOuterAlt(e,3),this.state=713,this.profile();break;default:throw new r.error.NoViableAltException(this)}}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},q.prototype=Object.create(r.ParserRuleContext.prototype),q.prototype.constructor=q,q.prototype.CYPHER=function(){return this.getToken(p.CYPHER,0)},q.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},q.prototype.versionNumber=function(){return this.getTypedRuleContext(X,0)},q.prototype.configurationOption=function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(J):this.getTypedRuleContext(J,e)},q.prototype.enterRule=function(e){e instanceof i&&e.enterCypherOption(this)},q.prototype.exitRule=function(e){e instanceof i&&e.exitCypherOption(this)},p.CypherOptionContext=q,p.prototype.cypherOption=function(){var e=new q(this,this._ctx,this.state);this.enterRule(e,72,p.RULE_cypherOption);try{this.enterOuterAlt(e,1),this.state=716,this.match(p.CYPHER),this.state=719,this._errHandler.sync(this),1===this._interp.adaptivePredict(this._input,53,this._ctx)&&(this.state=717,this.match(p.SP),this.state=718,this.versionNumber()),this.state=725,this._errHandler.sync(this);for(var t=this._interp.adaptivePredict(this._input,54,this._ctx);2!=t&&t!=r.atn.ATN.INVALID_ALT_NUMBER;)1===t&&(this.state=721,this.match(p.SP),this.state=722,this.configurationOption()),this.state=727,this._errHandler.sync(this),t=this._interp.adaptivePredict(this._input,54,this._ctx)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},X.prototype=Object.create(r.ParserRuleContext.prototype),X.prototype.constructor=X,X.prototype.RegularDecimalReal=function(){return this.getToken(p.RegularDecimalReal,0)},X.prototype.enterRule=function(e){e instanceof i&&e.enterVersionNumber(this)},X.prototype.exitRule=function(e){e instanceof i&&e.exitVersionNumber(this)},p.VersionNumberContext=X,p.prototype.versionNumber=function(){var e=new X(this,this._ctx,this.state);this.enterRule(e,74,p.RULE_versionNumber);try{this.enterOuterAlt(e,1),this.state=728,this.match(p.RegularDecimalReal)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},Z.prototype=Object.create(r.ParserRuleContext.prototype),Z.prototype.constructor=Z,Z.prototype.EXPLAIN=function(){return this.getToken(p.EXPLAIN,0)},Z.prototype.enterRule=function(e){e instanceof i&&e.enterExplain(this)},Z.prototype.exitRule=function(e){e instanceof i&&e.exitExplain(this)},p.ExplainContext=Z,p.prototype.explain=function(){var e=new Z(this,this._ctx,this.state);this.enterRule(e,76,p.RULE_explain);try{this.enterOuterAlt(e,1),this.state=730,this.match(p.EXPLAIN)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},Q.prototype=Object.create(r.ParserRuleContext.prototype),Q.prototype.constructor=Q,Q.prototype.PROFILE=function(){return this.getToken(p.PROFILE,0)},Q.prototype.enterRule=function(e){e instanceof i&&e.enterProfile(this)},Q.prototype.exitRule=function(e){e instanceof i&&e.exitProfile(this)},p.ProfileContext=Q,p.prototype.profile=function(){var e=new Q(this,this._ctx,this.state);this.enterRule(e,78,p.RULE_profile);try{this.enterOuterAlt(e,1),this.state=732,this.match(p.PROFILE)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},J.prototype=Object.create(r.ParserRuleContext.prototype),J.prototype.constructor=J,J.prototype.symbolicName=function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(tr):this.getTypedRuleContext(tr,e)},J.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},J.prototype.enterRule=function(e){e instanceof i&&e.enterConfigurationOption(this)},J.prototype.exitRule=function(e){e instanceof i&&e.exitConfigurationOption(this)},p.ConfigurationOptionContext=J,p.prototype.configurationOption=function(){var e=new J(this,this._ctx,this.state);this.enterRule(e,80,p.RULE_configurationOption);try{this.enterOuterAlt(e,1),this.state=734,this.symbolicName(),this.state=736,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=735,this.match(p.SP)),this.state=738,this.match(p.T__11),this.state=740,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=739,this.match(p.SP)),this.state=742,this.symbolicName()}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},ee.prototype=Object.create(r.ParserRuleContext.prototype),ee.prototype.constructor=ee,ee.prototype.command=function(){return this.getTypedRuleContext(ce,0)},ee.prototype.query=function(){return this.getTypedRuleContext(te,0)},ee.prototype.enterRule=function(e){e instanceof i&&e.enterStatement(this)},ee.prototype.exitRule=function(e){e instanceof i&&e.exitStatement(this)},p.StatementContext=ee,p.prototype.statement=function(){var e=new ee(this,this._ctx,this.state);this.enterRule(e,82,p.RULE_statement);try{switch(this.state=746,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,57,this._ctx)){case 1:this.enterOuterAlt(e,1),this.state=744,this.command();break;case 2:this.enterOuterAlt(e,2),this.state=745,this.query()}}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},te.prototype=Object.create(r.ParserRuleContext.prototype),te.prototype.constructor=te,te.prototype.regularQuery=function(){return this.getTypedRuleContext(ne,0)},te.prototype.bulkImportQuery=function(){return this.getTypedRuleContext(re,0)},te.prototype.enterRule=function(e){e instanceof i&&e.enterQuery(this)},te.prototype.exitRule=function(e){e instanceof i&&e.exitQuery(this)},p.QueryContext=te,p.prototype.query=function(){var e=new te(this,this._ctx,this.state);this.enterRule(e,84,p.RULE_query);try{switch(this.state=750,this._errHandler.sync(this),this._input.LA(1)){case p.CREATE:case p.LOAD:case p.WITH:case p.OPTIONAL:case p.MATCH:case p.UNWIND:case p.MERGE:case p.SET:case p.DETACH:case p.DELETE:case p.REMOVE:case p.FOREACH:case p.RETURN:case p.START:case p.CALL:this.enterOuterAlt(e,1),this.state=748,this.regularQuery();break;case p.USING:this.enterOuterAlt(e,2),this.state=749,this.bulkImportQuery();break;default:throw new r.error.NoViableAltException(this)}}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},ne.prototype=Object.create(r.ParserRuleContext.prototype),ne.prototype.constructor=ne,ne.prototype.singleQuery=function(){return this.getTypedRuleContext(ie,0)},ne.prototype.union=function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(se):this.getTypedRuleContext(se,e)},ne.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},ne.prototype.enterRule=function(e){e instanceof i&&e.enterRegularQuery(this)},ne.prototype.exitRule=function(e){e instanceof i&&e.exitRegularQuery(this)},p.RegularQueryContext=ne,p.prototype.regularQuery=function(){var e=new ne(this,this._ctx,this.state);this.enterRule(e,86,p.RULE_regularQuery);try{this.enterOuterAlt(e,1),this.state=752,this.singleQuery(),this.state=759,this._errHandler.sync(this);for(var t=this._interp.adaptivePredict(this._input,60,this._ctx);2!=t&&t!=r.atn.ATN.INVALID_ALT_NUMBER;)1===t&&(this.state=754,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=753,this.match(p.SP)),this.state=756,this.union()),this.state=761,this._errHandler.sync(this),t=this._interp.adaptivePredict(this._input,60,this._ctx)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},re.prototype=Object.create(r.ParserRuleContext.prototype),re.prototype.constructor=re,re.prototype.periodicCommitHint=function(){return this.getTypedRuleContext(oe,0)},re.prototype.loadCSVQuery=function(){return this.getTypedRuleContext(ae,0)},re.prototype.SP=function(){return this.getToken(p.SP,0)},re.prototype.enterRule=function(e){e instanceof i&&e.enterBulkImportQuery(this)},re.prototype.exitRule=function(e){e instanceof i&&e.exitBulkImportQuery(this)},p.BulkImportQueryContext=re,p.prototype.bulkImportQuery=function(){var e=new re(this,this._ctx,this.state);this.enterRule(e,88,p.RULE_bulkImportQuery);try{this.enterOuterAlt(e,1),this.state=762,this.periodicCommitHint(),this.state=764,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=763,this.match(p.SP)),this.state=766,this.loadCSVQuery()}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},ie.prototype=Object.create(r.ParserRuleContext.prototype),ie.prototype.constructor=ie,ie.prototype.clause=function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(le):this.getTypedRuleContext(le,e)},ie.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},ie.prototype.enterRule=function(e){e instanceof i&&e.enterSingleQuery(this)},ie.prototype.exitRule=function(e){e instanceof i&&e.exitSingleQuery(this)},p.SingleQueryContext=ie,p.prototype.singleQuery=function(){var e=new ie(this,this._ctx,this.state);this.enterRule(e,90,p.RULE_singleQuery);try{this.enterOuterAlt(e,1),this.state=768,this.clause(),this.state=775,this._errHandler.sync(this);for(var t=this._interp.adaptivePredict(this._input,63,this._ctx);2!=t&&t!=r.atn.ATN.INVALID_ALT_NUMBER;)1===t&&(this.state=770,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=769,this.match(p.SP)),this.state=772,this.clause()),this.state=777,this._errHandler.sync(this),t=this._interp.adaptivePredict(this._input,63,this._ctx)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},oe.prototype=Object.create(r.ParserRuleContext.prototype),oe.prototype.constructor=oe,oe.prototype.USING=function(){return this.getToken(p.USING,0)},oe.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},oe.prototype.PERIODIC=function(){return this.getToken(p.PERIODIC,0)},oe.prototype.COMMIT=function(){return this.getToken(p.COMMIT,0)},oe.prototype.integerLiteral=function(){return this.getTypedRuleContext(qn,0)},oe.prototype.enterRule=function(e){e instanceof i&&e.enterPeriodicCommitHint(this)},oe.prototype.exitRule=function(e){e instanceof i&&e.exitPeriodicCommitHint(this)},p.PeriodicCommitHintContext=oe,p.prototype.periodicCommitHint=function(){var e=new oe(this,this._ctx,this.state);this.enterRule(e,92,p.RULE_periodicCommitHint);try{this.enterOuterAlt(e,1),this.state=778,this.match(p.USING),this.state=779,this.match(p.SP),this.state=780,this.match(p.PERIODIC),this.state=781,this.match(p.SP),this.state=782,this.match(p.COMMIT),this.state=785,this._errHandler.sync(this),1===this._interp.adaptivePredict(this._input,64,this._ctx)&&(this.state=783,this.match(p.SP),this.state=784,this.integerLiteral())}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},ae.prototype=Object.create(r.ParserRuleContext.prototype),ae.prototype.constructor=ae,ae.prototype.loadCSVClause=function(){return this.getTypedRuleContext(Ae,0)},ae.prototype.clause=function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(le):this.getTypedRuleContext(le,e)},ae.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},ae.prototype.enterRule=function(e){e instanceof i&&e.enterLoadCSVQuery(this)},ae.prototype.exitRule=function(e){e instanceof i&&e.exitLoadCSVQuery(this)},p.LoadCSVQueryContext=ae,p.prototype.loadCSVQuery=function(){var e=new ae(this,this._ctx,this.state);this.enterRule(e,94,p.RULE_loadCSVQuery);try{this.enterOuterAlt(e,1),this.state=787,this.loadCSVClause(),this.state=794,this._errHandler.sync(this);for(var t=this._interp.adaptivePredict(this._input,66,this._ctx);2!=t&&t!=r.atn.ATN.INVALID_ALT_NUMBER;)1===t&&(this.state=789,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=788,this.match(p.SP)),this.state=791,this.clause()),this.state=796,this._errHandler.sync(this),t=this._interp.adaptivePredict(this._input,66,this._ctx)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},se.prototype=Object.create(r.ParserRuleContext.prototype),se.prototype.constructor=se,se.prototype.UNION=function(){return this.getToken(p.UNION,0)},se.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},se.prototype.ALL=function(){return this.getToken(p.ALL,0)},se.prototype.singleQuery=function(){return this.getTypedRuleContext(ie,0)},se.prototype.enterRule=function(e){e instanceof i&&e.enterUnion(this)},se.prototype.exitRule=function(e){e instanceof i&&e.exitUnion(this)},p.UnionContext=se,p.prototype.union=function(){var e=new se(this,this._ctx,this.state);this.enterRule(e,96,p.RULE_union);try{switch(this.state=809,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,69,this._ctx)){case 1:this.enterOuterAlt(e,1),this.state=797,this.match(p.UNION),this.state=798,this.match(p.SP),this.state=799,this.match(p.ALL),this.state=801,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=800,this.match(p.SP)),this.state=803,this.singleQuery();break;case 2:this.enterOuterAlt(e,2),this.state=804,this.match(p.UNION),this.state=806,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=805,this.match(p.SP)),this.state=808,this.singleQuery()}}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},le.prototype=Object.create(r.ParserRuleContext.prototype),le.prototype.constructor=le,le.prototype.loadCSVClause=function(){return this.getTypedRuleContext(Ae,0)},le.prototype.startClause=function(){return this.getTypedRuleContext(ot,0)},le.prototype.matchClause=function(){return this.getTypedRuleContext(Re,0)},le.prototype.unwindClause=function(){return this.getTypedRuleContext(we,0)},le.prototype.mergeClause=function(){return this.getTypedRuleContext(Le,0)},le.prototype.createClause=function(){return this.getTypedRuleContext(Ne,0)},le.prototype.createUniqueClause=function(){return this.getTypedRuleContext(Ie,0)},le.prototype.setClause=function(){return this.getTypedRuleContext(ke,0)},le.prototype.deleteClause=function(){return this.getTypedRuleContext(Pe,0)},le.prototype.removeClause=function(){return this.getTypedRuleContext(Me,0)};le.prototype.foreachClause=function(){return this.getTypedRuleContext(He,0)},le.prototype.withClause=function(){return this.getTypedRuleContext(Be,0)},le.prototype.returnClause=function(){return this.getTypedRuleContext(Ue,0)},le.prototype.call=function(){return this.getTypedRuleContext($e,0)},le.prototype.enterRule=function(e){e instanceof i&&e.enterClause(this)},le.prototype.exitRule=function(e){e instanceof i&&e.exitClause(this)},p.ClauseContext=le,p.prototype.clause=function(){var e=new le(this,this._ctx,this.state);this.enterRule(e,98,p.RULE_clause);try{switch(this.state=825,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,70,this._ctx)){case 1:this.enterOuterAlt(e,1),this.state=811,this.loadCSVClause();break;case 2:this.enterOuterAlt(e,2),this.state=812,this.startClause();break;case 3:this.enterOuterAlt(e,3),this.state=813,this.matchClause();break;case 4:this.enterOuterAlt(e,4),this.state=814,this.unwindClause();break;case 5:this.enterOuterAlt(e,5),this.state=815,this.mergeClause();break;case 6:this.enterOuterAlt(e,6),this.state=816,this.createClause();break;case 7:this.enterOuterAlt(e,7),this.state=817,this.createUniqueClause();break;case 8:this.enterOuterAlt(e,8),this.state=818,this.setClause();break;case 9:this.enterOuterAlt(e,9),this.state=819,this.deleteClause();break;case 10:this.enterOuterAlt(e,10),this.state=820,this.removeClause();break;case 11:this.enterOuterAlt(e,11),this.state=821,this.foreachClause();break;case 12:this.enterOuterAlt(e,12),this.state=822,this.withClause();break;case 13:this.enterOuterAlt(e,13),this.state=823,this.returnClause();break;case 14:this.enterOuterAlt(e,14),this.state=824,this.call()}}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},ce.prototype=Object.create(r.ParserRuleContext.prototype),ce.prototype.constructor=ce,ce.prototype.createIndex=function(){return this.getTypedRuleContext(fe,0)},ce.prototype.dropIndex=function(){return this.getTypedRuleContext(_e,0)},ce.prototype.createUniqueConstraint=function(){return this.getTypedRuleContext(ue,0)},ce.prototype.dropUniqueConstraint=function(){return this.getTypedRuleContext(me,0)},ce.prototype.createNodeKeyConstraint=function(){return this.getTypedRuleContext(he,0)},ce.prototype.dropNodeKeyConstraint=function(){return this.getTypedRuleContext(ge,0)},ce.prototype.createNodePropertyExistenceConstraint=function(){return this.getTypedRuleContext(pe,0)},ce.prototype.dropNodePropertyExistenceConstraint=function(){return this.getTypedRuleContext(ye,0)},ce.prototype.createRelationshipPropertyExistenceConstraint=function(){return this.getTypedRuleContext(de,0)},ce.prototype.dropRelationshipPropertyExistenceConstraint=function(){return this.getTypedRuleContext(ve,0)},ce.prototype.enterRule=function(e){e instanceof i&&e.enterCommand(this)},ce.prototype.exitRule=function(e){e instanceof i&&e.exitCommand(this)},p.CommandContext=ce,p.prototype.command=function(){var e=new ce(this,this._ctx,this.state);this.enterRule(e,100,p.RULE_command);try{switch(this.state=837,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,71,this._ctx)){case 1:this.enterOuterAlt(e,1),this.state=827,this.createIndex();break;case 2:this.enterOuterAlt(e,2),this.state=828,this.dropIndex();break;case 3:this.enterOuterAlt(e,3),this.state=829,this.createUniqueConstraint();break;case 4:this.enterOuterAlt(e,4),this.state=830,this.dropUniqueConstraint();break;case 5:this.enterOuterAlt(e,5),this.state=831,this.createNodeKeyConstraint();break;case 6:this.enterOuterAlt(e,6),this.state=832,this.dropNodeKeyConstraint();break;case 7:this.enterOuterAlt(e,7),this.state=833,this.createNodePropertyExistenceConstraint();break;case 8:this.enterOuterAlt(e,8),this.state=834,this.dropNodePropertyExistenceConstraint();break;case 9:this.enterOuterAlt(e,9),this.state=835,this.createRelationshipPropertyExistenceConstraint();break;case 10:this.enterOuterAlt(e,10),this.state=836,this.dropRelationshipPropertyExistenceConstraint()}}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},ue.prototype=Object.create(r.ParserRuleContext.prototype),ue.prototype.constructor=ue,ue.prototype.CREATE=function(){return this.getToken(p.CREATE,0)},ue.prototype.SP=function(){return this.getToken(p.SP,0)},ue.prototype.uniqueConstraint=function(){return this.getTypedRuleContext(Ee,0)},ue.prototype.enterRule=function(e){e instanceof i&&e.enterCreateUniqueConstraint(this)},ue.prototype.exitRule=function(e){e instanceof i&&e.exitCreateUniqueConstraint(this)},p.CreateUniqueConstraintContext=ue,p.prototype.createUniqueConstraint=function(){var e=new ue(this,this._ctx,this.state);this.enterRule(e,102,p.RULE_createUniqueConstraint);try{this.enterOuterAlt(e,1),this.state=839,this.match(p.CREATE),this.state=840,this.match(p.SP),this.state=841,this.uniqueConstraint()}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},he.prototype=Object.create(r.ParserRuleContext.prototype),he.prototype.constructor=he,he.prototype.CREATE=function(){return this.getToken(p.CREATE,0)},he.prototype.SP=function(){return this.getToken(p.SP,0)},he.prototype.nodeKeyConstraint=function(){return this.getTypedRuleContext(Te,0)},he.prototype.enterRule=function(e){e instanceof i&&e.enterCreateNodeKeyConstraint(this)},he.prototype.exitRule=function(e){e instanceof i&&e.exitCreateNodeKeyConstraint(this)},p.CreateNodeKeyConstraintContext=he,p.prototype.createNodeKeyConstraint=function(){var e=new he(this,this._ctx,this.state);this.enterRule(e,104,p.RULE_createNodeKeyConstraint);try{this.enterOuterAlt(e,1),this.state=843,this.match(p.CREATE),this.state=844,this.match(p.SP),this.state=845,this.nodeKeyConstraint()}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},pe.prototype=Object.create(r.ParserRuleContext.prototype),pe.prototype.constructor=pe,pe.prototype.CREATE=function(){return this.getToken(p.CREATE,0)},pe.prototype.SP=function(){return this.getToken(p.SP,0)},pe.prototype.nodePropertyExistenceConstraint=function(){return this.getTypedRuleContext(xe,0)},pe.prototype.enterRule=function(e){e instanceof i&&e.enterCreateNodePropertyExistenceConstraint(this)},pe.prototype.exitRule=function(e){e instanceof i&&e.exitCreateNodePropertyExistenceConstraint(this)},p.CreateNodePropertyExistenceConstraintContext=pe,p.prototype.createNodePropertyExistenceConstraint=function(){var e=new pe(this,this._ctx,this.state);this.enterRule(e,106,p.RULE_createNodePropertyExistenceConstraint);try{this.enterOuterAlt(e,1),this.state=847,this.match(p.CREATE),this.state=848,this.match(p.SP),this.state=849,this.nodePropertyExistenceConstraint()}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},de.prototype=Object.create(r.ParserRuleContext.prototype),de.prototype.constructor=de,de.prototype.CREATE=function(){return this.getToken(p.CREATE,0)},de.prototype.SP=function(){return this.getToken(p.SP,0)},de.prototype.relationshipPropertyExistenceConstraint=function(){return this.getTypedRuleContext(Se,0)},de.prototype.enterRule=function(e){e instanceof i&&e.enterCreateRelationshipPropertyExistenceConstraint(this)},de.prototype.exitRule=function(e){e instanceof i&&e.exitCreateRelationshipPropertyExistenceConstraint(this)},p.CreateRelationshipPropertyExistenceConstraintContext=de,p.prototype.createRelationshipPropertyExistenceConstraint=function(){var e=new de(this,this._ctx,this.state);this.enterRule(e,108,p.RULE_createRelationshipPropertyExistenceConstraint);try{this.enterOuterAlt(e,1),this.state=851,this.match(p.CREATE),this.state=852,this.match(p.SP),this.state=853,this.relationshipPropertyExistenceConstraint()}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},fe.prototype=Object.create(r.ParserRuleContext.prototype),fe.prototype.constructor=fe,fe.prototype.CREATE=function(){return this.getToken(p.CREATE,0)},fe.prototype.SP=function(){return this.getToken(p.SP,0)},fe.prototype.index=function(){return this.getTypedRuleContext(be,0)},fe.prototype.enterRule=function(e){e instanceof i&&e.enterCreateIndex(this)},fe.prototype.exitRule=function(e){e instanceof i&&e.exitCreateIndex(this)},p.CreateIndexContext=fe,p.prototype.createIndex=function(){var e=new fe(this,this._ctx,this.state);this.enterRule(e,110,p.RULE_createIndex);try{this.enterOuterAlt(e,1),this.state=855,this.match(p.CREATE),this.state=856,this.match(p.SP),this.state=857,this.index()}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},me.prototype=Object.create(r.ParserRuleContext.prototype),me.prototype.constructor=me,me.prototype.DROP=function(){return this.getToken(p.DROP,0)},me.prototype.SP=function(){return this.getToken(p.SP,0)},me.prototype.uniqueConstraint=function(){return this.getTypedRuleContext(Ee,0)},me.prototype.enterRule=function(e){e instanceof i&&e.enterDropUniqueConstraint(this)},me.prototype.exitRule=function(e){e instanceof i&&e.exitDropUniqueConstraint(this)},p.DropUniqueConstraintContext=me,p.prototype.dropUniqueConstraint=function(){var e=new me(this,this._ctx,this.state);this.enterRule(e,112,p.RULE_dropUniqueConstraint);try{this.enterOuterAlt(e,1),this.state=859,this.match(p.DROP),this.state=860,this.match(p.SP),this.state=861,this.uniqueConstraint()}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},ge.prototype=Object.create(r.ParserRuleContext.prototype),ge.prototype.constructor=ge,ge.prototype.DROP=function(){return this.getToken(p.DROP,0)},ge.prototype.SP=function(){return this.getToken(p.SP,0)},ge.prototype.nodeKeyConstraint=function(){return this.getTypedRuleContext(Te,0)},ge.prototype.enterRule=function(e){e instanceof i&&e.enterDropNodeKeyConstraint(this)},ge.prototype.exitRule=function(e){e instanceof i&&e.exitDropNodeKeyConstraint(this)},p.DropNodeKeyConstraintContext=ge,p.prototype.dropNodeKeyConstraint=function(){var e=new ge(this,this._ctx,this.state);this.enterRule(e,114,p.RULE_dropNodeKeyConstraint);try{this.enterOuterAlt(e,1),this.state=863,this.match(p.DROP),this.state=864,this.match(p.SP),this.state=865,this.nodeKeyConstraint()}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},ye.prototype=Object.create(r.ParserRuleContext.prototype),ye.prototype.constructor=ye,ye.prototype.DROP=function(){return this.getToken(p.DROP,0)},ye.prototype.SP=function(){return this.getToken(p.SP,0)},ye.prototype.nodePropertyExistenceConstraint=function(){return this.getTypedRuleContext(xe,0)},ye.prototype.enterRule=function(e){e instanceof i&&e.enterDropNodePropertyExistenceConstraint(this)},ye.prototype.exitRule=function(e){e instanceof i&&e.exitDropNodePropertyExistenceConstraint(this)},p.DropNodePropertyExistenceConstraintContext=ye,p.prototype.dropNodePropertyExistenceConstraint=function(){var e=new ye(this,this._ctx,this.state);this.enterRule(e,116,p.RULE_dropNodePropertyExistenceConstraint);try{this.enterOuterAlt(e,1),this.state=867,this.match(p.DROP),this.state=868,this.match(p.SP),this.state=869,this.nodePropertyExistenceConstraint()}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},ve.prototype=Object.create(r.ParserRuleContext.prototype),ve.prototype.constructor=ve,ve.prototype.DROP=function(){return this.getToken(p.DROP,0)},ve.prototype.SP=function(){return this.getToken(p.SP,0)},ve.prototype.relationshipPropertyExistenceConstraint=function(){return this.getTypedRuleContext(Se,0)},ve.prototype.enterRule=function(e){e instanceof i&&e.enterDropRelationshipPropertyExistenceConstraint(this)},ve.prototype.exitRule=function(e){e instanceof i&&e.exitDropRelationshipPropertyExistenceConstraint(this)},p.DropRelationshipPropertyExistenceConstraintContext=ve,p.prototype.dropRelationshipPropertyExistenceConstraint=function(){var e=new ve(this,this._ctx,this.state);this.enterRule(e,118,p.RULE_dropRelationshipPropertyExistenceConstraint);try{this.enterOuterAlt(e,1),this.state=871,this.match(p.DROP),this.state=872,this.match(p.SP),this.state=873,this.relationshipPropertyExistenceConstraint()}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},_e.prototype=Object.create(r.ParserRuleContext.prototype),_e.prototype.constructor=_e,_e.prototype.DROP=function(){return this.getToken(p.DROP,0)},_e.prototype.SP=function(){return this.getToken(p.SP,0)},_e.prototype.index=function(){return this.getTypedRuleContext(be,0)},_e.prototype.enterRule=function(e){e instanceof i&&e.enterDropIndex(this)},_e.prototype.exitRule=function(e){e instanceof i&&e.exitDropIndex(this)},p.DropIndexContext=_e,p.prototype.dropIndex=function(){var e=new _e(this,this._ctx,this.state);this.enterRule(e,120,p.RULE_dropIndex);try{this.enterOuterAlt(e,1),this.state=875,this.match(p.DROP),this.state=876,this.match(p.SP),this.state=877,this.index()}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},be.prototype=Object.create(r.ParserRuleContext.prototype),be.prototype.constructor=be,be.prototype.INDEX=function(){return this.getToken(p.INDEX,0)},be.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},be.prototype.ON=function(){return this.getToken(p.ON,0)},be.prototype.nodeLabel=function(){return this.getTypedRuleContext(Nt,0)},be.prototype.propertyKeys=function(){return this.getTypedRuleContext(Vn,0)},be.prototype.enterRule=function(e){e instanceof i&&e.enterIndex(this)},be.prototype.exitRule=function(e){e instanceof i&&e.exitIndex(this)},p.IndexContext=be,p.prototype.index=function(){var e=new be(this,this._ctx,this.state);this.enterRule(e,122,p.RULE_index);try{this.enterOuterAlt(e,1),this.state=879,this.match(p.INDEX),this.state=880,this.match(p.SP),this.state=881,this.match(p.ON),this.state=883,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=882,this.match(p.SP)),this.state=885,this.nodeLabel(),this.state=887,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=886,this.match(p.SP)),this.state=889,this.match(p.T__18),this.state=891,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=890,this.match(p.SP)),this.state=893,this.propertyKeys(),this.state=895,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=894,this.match(p.SP)),this.state=897,this.match(p.T__19)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},Ee.prototype=Object.create(r.ParserRuleContext.prototype),Ee.prototype.constructor=Ee,Ee.prototype.CONSTRAINT=function(){return this.getToken(p.CONSTRAINT,0)},Ee.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},Ee.prototype.ON=function(){return this.getToken(p.ON,0)},Ee.prototype.variable=function(){return this.getTypedRuleContext(In,0)},Ee.prototype.nodeLabel=function(){return this.getTypedRuleContext(Nt,0)},Ee.prototype.ASSERT=function(){return this.getToken(p.ASSERT,0)},Ee.prototype.propertyExpression=function(){return this.getTypedRuleContext(Wn,0)},Ee.prototype.IS=function(){return this.getToken(p.IS,0)},Ee.prototype.UNIQUE=function(){return this.getToken(p.UNIQUE,0)},Ee.prototype.enterRule=function(e){e instanceof i&&e.enterUniqueConstraint(this)},Ee.prototype.exitRule=function(e){e instanceof i&&e.exitUniqueConstraint(this)},p.UniqueConstraintContext=Ee,p.prototype.uniqueConstraint=function(){var e=new Ee(this,this._ctx,this.state);this.enterRule(e,124,p.RULE_uniqueConstraint);try{this.enterOuterAlt(e,1),this.state=899,this.match(p.CONSTRAINT),this.state=900,this.match(p.SP),this.state=901,this.match(p.ON),this.state=903,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=902,this.match(p.SP)),this.state=905,this.match(p.T__18),this.state=907,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=906,this.match(p.SP)),this.state=909,this.variable(),this.state=910,this.nodeLabel(),this.state=912,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=911,this.match(p.SP)),this.state=914,this.match(p.T__19),this.state=916,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=915,this.match(p.SP)),this.state=918,this.match(p.ASSERT),this.state=919,this.match(p.SP),this.state=920,this.propertyExpression(),this.state=921,this.match(p.SP),this.state=922,this.match(p.IS),this.state=923,this.match(p.SP),this.state=924,this.match(p.UNIQUE)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},Te.prototype=Object.create(r.ParserRuleContext.prototype),Te.prototype.constructor=Te,Te.prototype.CONSTRAINT=function(){return this.getToken(p.CONSTRAINT,0)},Te.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},Te.prototype.ON=function(){return this.getToken(p.ON,0)},Te.prototype.variable=function(){return this.getTypedRuleContext(In,0)},Te.prototype.nodeLabel=function(){return this.getTypedRuleContext(Nt,0)},Te.prototype.ASSERT=function(){return this.getToken(p.ASSERT,0)},Te.prototype.propertyExpressions=function(){return this.getTypedRuleContext($n,0)},Te.prototype.IS=function(){return this.getToken(p.IS,0)},Te.prototype.NODE=function(){return this.getToken(p.NODE,0)},Te.prototype.KEY=function(){return this.getToken(p.KEY,0)},Te.prototype.enterRule=function(e){e instanceof i&&e.enterNodeKeyConstraint(this)},Te.prototype.exitRule=function(e){e instanceof i&&e.exitNodeKeyConstraint(this)},p.NodeKeyConstraintContext=Te,p.prototype.nodeKeyConstraint=function(){var e=new Te(this,this._ctx,this.state);this.enterRule(e,126,p.RULE_nodeKeyConstraint);try{this.enterOuterAlt(e,1),this.state=926,this.match(p.CONSTRAINT),this.state=927,this.match(p.SP),this.state=928,this.match(p.ON),this.state=930,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=929,this.match(p.SP)),this.state=932,this.match(p.T__18),this.state=934,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=933,this.match(p.SP)),this.state=936,this.variable(),this.state=937,this.nodeLabel(),this.state=939,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=938,this.match(p.SP)),this.state=941,this.match(p.T__19),this.state=943,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=942,this.match(p.SP)),this.state=945,this.match(p.ASSERT),this.state=946,this.match(p.SP),this.state=947,this.match(p.T__18),this.state=949,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=948,this.match(p.SP)),this.state=951,this.propertyExpressions(),this.state=953,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=952,this.match(p.SP)),this.state=955,this.match(p.T__19),this.state=956,this.match(p.SP),this.state=957,this.match(p.IS),this.state=958,this.match(p.SP),this.state=959,this.match(p.NODE),this.state=960,this.match(p.SP),this.state=961,this.match(p.KEY)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},xe.prototype=Object.create(r.ParserRuleContext.prototype),xe.prototype.constructor=xe,xe.prototype.CONSTRAINT=function(){return this.getToken(p.CONSTRAINT,0)},xe.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},xe.prototype.ON=function(){return this.getToken(p.ON,0)},xe.prototype.variable=function(){return this.getTypedRuleContext(In,0)},xe.prototype.nodeLabel=function(){return this.getTypedRuleContext(Nt,0)},xe.prototype.ASSERT=function(){return this.getToken(p.ASSERT,0)},xe.prototype.EXISTS=function(){return this.getToken(p.EXISTS,0)},xe.prototype.propertyExpression=function(){return this.getTypedRuleContext(Wn,0)},xe.prototype.enterRule=function(e){e instanceof i&&e.enterNodePropertyExistenceConstraint(this)},xe.prototype.exitRule=function(e){e instanceof i&&e.exitNodePropertyExistenceConstraint(this)},p.NodePropertyExistenceConstraintContext=xe,p.prototype.nodePropertyExistenceConstraint=function(){var e=new xe(this,this._ctx,this.state);this.enterRule(e,128,p.RULE_nodePropertyExistenceConstraint);try{this.enterOuterAlt(e,1),this.state=963,this.match(p.CONSTRAINT),this.state=964,this.match(p.SP),this.state=965,this.match(p.ON),this.state=967,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=966,this.match(p.SP)),this.state=969,this.match(p.T__18),this.state=970,this.variable(),this.state=971,this.nodeLabel(),this.state=972,this.match(p.T__19),this.state=974,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=973,this.match(p.SP)),this.state=976,this.match(p.ASSERT),this.state=977,this.match(p.SP),this.state=978,this.match(p.EXISTS),this.state=980,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=979,this.match(p.SP)),this.state=982,this.match(p.T__18),this.state=983,this.propertyExpression(),this.state=984,this.match(p.T__19)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},Se.prototype=Object.create(r.ParserRuleContext.prototype),Se.prototype.constructor=Se,Se.prototype.CONSTRAINT=function(){return this.getToken(p.CONSTRAINT,0)},Se.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},Se.prototype.ON=function(){return this.getToken(p.ON,0)},Se.prototype.relationshipPatternSyntax=function(){return this.getTypedRuleContext(Ce,0)},Se.prototype.ASSERT=function(){return this.getToken(p.ASSERT,0)},Se.prototype.EXISTS=function(){return this.getToken(p.EXISTS,0)},Se.prototype.propertyExpression=function(){return this.getTypedRuleContext(Wn,0)},Se.prototype.enterRule=function(e){e instanceof i&&e.enterRelationshipPropertyExistenceConstraint(this)},Se.prototype.exitRule=function(e){e instanceof i&&e.exitRelationshipPropertyExistenceConstraint(this)},p.RelationshipPropertyExistenceConstraintContext=Se,p.prototype.relationshipPropertyExistenceConstraint=function(){var e=new Se(this,this._ctx,this.state);this.enterRule(e,130,p.RULE_relationshipPropertyExistenceConstraint);try{this.enterOuterAlt(e,1),this.state=986,this.match(p.CONSTRAINT),this.state=987,this.match(p.SP),this.state=988,this.match(p.ON),this.state=990,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=989,this.match(p.SP)),this.state=992,this.relationshipPatternSyntax(),this.state=994,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=993,this.match(p.SP)),this.state=996,this.match(p.ASSERT),this.state=997,this.match(p.SP),this.state=998,this.match(p.EXISTS),this.state=1e3,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=999,this.match(p.SP)),this.state=1002,this.match(p.T__18),this.state=1003,this.propertyExpression(),this.state=1004,this.match(p.T__19)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},Ce.prototype=Object.create(r.ParserRuleContext.prototype),Ce.prototype.constructor=Ce,Ce.prototype.dash=function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(er):this.getTypedRuleContext(er,e)},Ce.prototype.variable=function(){return this.getTypedRuleContext(In,0)},Ce.prototype.relType=function(){return this.getTypedRuleContext(At,0)},Ce.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},Ce.prototype.rightArrowHead=function(){return this.getTypedRuleContext(Jn,0)},Ce.prototype.leftArrowHead=function(){return this.getTypedRuleContext(Qn,0)},Ce.prototype.enterRule=function(e){e instanceof i&&e.enterRelationshipPatternSyntax(this)},Ce.prototype.exitRule=function(e){e instanceof i&&e.exitRelationshipPatternSyntax(this)},p.RelationshipPatternSyntaxContext=Ce,p.prototype.relationshipPatternSyntax=function(){var e=new Ce(this,this._ctx,this.state);this.enterRule(e,132,p.RULE_relationshipPatternSyntax);try{switch(this.state=1059,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,98,this._ctx)){case 1:this.enterOuterAlt(e,1),this.state=1006,this.match(p.T__18),this.state=1008,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1007,this.match(p.SP)),this.state=1010,this.match(p.T__19),this.state=1011,this.dash(),this.state=1012,this.match(p.T__16),this.state=1013,this.variable(),this.state=1014,this.relType(),this.state=1015,this.match(p.T__17),this.state=1016,this.dash(),this.state=1017,this.match(p.T__18),this.state=1019,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1018,this.match(p.SP)),this.state=1021,this.match(p.T__19);break;case 2:this.enterOuterAlt(e,2),this.state=1023,this.match(p.T__18),this.state=1025,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1024,this.match(p.SP)),this.state=1027,this.match(p.T__19),this.state=1028,this.dash(),this.state=1029,this.match(p.T__16),this.state=1030,this.variable(),this.state=1031,this.relType(),this.state=1032,this.match(p.T__17),this.state=1033,this.dash(),this.state=1034,this.rightArrowHead(),this.state=1035,this.match(p.T__18),this.state=1037,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1036,this.match(p.SP)),this.state=1039,this.match(p.T__19);break;case 3:this.enterOuterAlt(e,3),this.state=1041,this.match(p.T__18),this.state=1043,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1042,this.match(p.SP)),this.state=1045,this.match(p.T__19),this.state=1046,this.leftArrowHead(),this.state=1047,this.dash(),this.state=1048,this.match(p.T__16),this.state=1049,this.variable(),this.state=1050,this.relType(),this.state=1051,this.match(p.T__17),this.state=1052,this.dash(),this.state=1053,this.match(p.T__18),this.state=1055,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1054,this.match(p.SP)),this.state=1057,this.match(p.T__19)}}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},Ae.prototype=Object.create(r.ParserRuleContext.prototype),Ae.prototype.constructor=Ae,Ae.prototype.LOAD=function(){return this.getToken(p.LOAD,0)},Ae.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},Ae.prototype.CSV=function(){return this.getToken(p.CSV,0)},Ae.prototype.FROM=function(){return this.getToken(p.FROM,0)},Ae.prototype.expression=function(){return this.getTypedRuleContext(Pt,0)},Ae.prototype.AS=function(){return this.getToken(p.AS,0)},Ae.prototype.variable=function(){return this.getTypedRuleContext(In,0)},Ae.prototype.WITH=function(){return this.getToken(p.WITH,0)},Ae.prototype.HEADERS=function(){return this.getToken(p.HEADERS,0)},Ae.prototype.FIELDTERMINATOR=function(){return this.getToken(p.FIELDTERMINATOR,0)},Ae.prototype.StringLiteral=function(){return this.getToken(p.StringLiteral,0)},Ae.prototype.enterRule=function(e){e instanceof i&&e.enterLoadCSVClause(this)},Ae.prototype.exitRule=function(e){e instanceof i&&e.exitLoadCSVClause(this)},p.LoadCSVClauseContext=Ae,p.prototype.loadCSVClause=function(){var e=new Ae(this,this._ctx,this.state);this.enterRule(e,134,p.RULE_loadCSVClause);try{this.enterOuterAlt(e,1),this.state=1061,this.match(p.LOAD),this.state=1062,this.match(p.SP),this.state=1063,this.match(p.CSV),this.state=1064,this.match(p.SP),this.state=1069,this._errHandler.sync(this),this._input.LA(1)===p.WITH&&(this.state=1065,this.match(p.WITH),this.state=1066,this.match(p.SP),this.state=1067,this.match(p.HEADERS),this.state=1068,this.match(p.SP)),this.state=1071,this.match(p.FROM),this.state=1072,this.match(p.SP),this.state=1073,this.expression(),this.state=1074,this.match(p.SP),this.state=1075,this.match(p.AS),this.state=1076,this.match(p.SP),this.state=1077,this.variable(),this.state=1078,this.match(p.SP),this.state=1082,this._errHandler.sync(this),this._input.LA(1)===p.FIELDTERMINATOR&&(this.state=1079,this.match(p.FIELDTERMINATOR),this.state=1080,this.match(p.SP),this.state=1081,this.match(p.StringLiteral))}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},Re.prototype=Object.create(r.ParserRuleContext.prototype),Re.prototype.constructor=Re,Re.prototype.MATCH=function(){return this.getToken(p.MATCH,0)},Re.prototype.pattern=function(){return this.getTypedRuleContext(mt,0)},Re.prototype.OPTIONAL=function(){return this.getToken(p.OPTIONAL,0)},Re.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},Re.prototype.hint=function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(it):this.getTypedRuleContext(it,e)},Re.prototype.where=function(){return this.getTypedRuleContext(ft,0)},Re.prototype.enterRule=function(e){e instanceof i&&e.enterMatchClause(this)},Re.prototype.exitRule=function(e){e instanceof i&&e.exitMatchClause(this)},p.MatchClauseContext=Re,p.prototype.matchClause=function(){var e=new Re(this,this._ctx,this.state);this.enterRule(e,136,p.RULE_matchClause);try{this.enterOuterAlt(e,1),this.state=1086,this._errHandler.sync(this),this._input.LA(1)===p.OPTIONAL&&(this.state=1084,this.match(p.OPTIONAL),this.state=1085,this.match(p.SP)),this.state=1088,this.match(p.MATCH),this.state=1090,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1089,this.match(p.SP)),this.state=1092,this.pattern(),this.state=1096,this._errHandler.sync(this);for(var t=this._interp.adaptivePredict(this._input,103,this._ctx);2!=t&&t!=r.atn.ATN.INVALID_ALT_NUMBER;)1===t&&(this.state=1093,this.hint()),this.state=1098,this._errHandler.sync(this),t=this._interp.adaptivePredict(this._input,103,this._ctx);this.state=1103,this._errHandler.sync(this),1===this._interp.adaptivePredict(this._input,105,this._ctx)&&(this.state=1100,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1099,this.match(p.SP)),this.state=1102,this.where())}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},we.prototype=Object.create(r.ParserRuleContext.prototype),we.prototype.constructor=we,we.prototype.UNWIND=function(){return this.getToken(p.UNWIND,0)},we.prototype.expression=function(){return this.getTypedRuleContext(Pt,0)},we.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},we.prototype.AS=function(){return this.getToken(p.AS,0)},we.prototype.variable=function(){return this.getTypedRuleContext(In,0)},we.prototype.enterRule=function(e){e instanceof i&&e.enterUnwindClause(this)},we.prototype.exitRule=function(e){e instanceof i&&e.exitUnwindClause(this)},p.UnwindClauseContext=we,p.prototype.unwindClause=function(){var e=new we(this,this._ctx,this.state);this.enterRule(e,138,p.RULE_unwindClause);try{this.enterOuterAlt(e,1),this.state=1105,this.match(p.UNWIND),this.state=1107,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1106,this.match(p.SP)),this.state=1109,this.expression(),this.state=1110,this.match(p.SP),this.state=1111,this.match(p.AS),this.state=1112,this.match(p.SP),this.state=1113,this.variable()}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},Le.prototype=Object.create(r.ParserRuleContext.prototype),Le.prototype.constructor=Le,Le.prototype.MERGE=function(){return this.getToken(p.MERGE,0)},Le.prototype.patternPart=function(){return this.getTypedRuleContext(gt,0)},Le.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},Le.prototype.mergeAction=function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(Oe):this.getTypedRuleContext(Oe,e)},Le.prototype.enterRule=function(e){e instanceof i&&e.enterMergeClause(this)},Le.prototype.exitRule=function(e){e instanceof i&&e.exitMergeClause(this)},p.MergeClauseContext=Le,p.prototype.mergeClause=function(){var e=new Le(this,this._ctx,this.state);this.enterRule(e,140,p.RULE_mergeClause);try{this.enterOuterAlt(e,1),this.state=1115,this.match(p.MERGE),this.state=1117,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1116,this.match(p.SP)),this.state=1119,this.patternPart(),this.state=1124,this._errHandler.sync(this);for(var t=this._interp.adaptivePredict(this._input,108,this._ctx);2!=t&&t!=r.atn.ATN.INVALID_ALT_NUMBER;)1===t&&(this.state=1120,this.match(p.SP),this.state=1121,this.mergeAction()),this.state=1126,this._errHandler.sync(this),t=this._interp.adaptivePredict(this._input,108,this._ctx)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},Oe.prototype=Object.create(r.ParserRuleContext.prototype),Oe.prototype.constructor=Oe,Oe.prototype.ON=function(){return this.getToken(p.ON,0)},Oe.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},Oe.prototype.MATCH=function(){return this.getToken(p.MATCH,0)},Oe.prototype.setClause=function(){return this.getTypedRuleContext(ke,0)},Oe.prototype.CREATE=function(){return this.getToken(p.CREATE,0)},Oe.prototype.enterRule=function(e){e instanceof i&&e.enterMergeAction(this)},Oe.prototype.exitRule=function(e){e instanceof i&&e.exitMergeAction(this)},p.MergeActionContext=Oe,p.prototype.mergeAction=function(){var e=new Oe(this,this._ctx,this.state);this.enterRule(e,142,p.RULE_mergeAction);try{switch(this.state=1137,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,109,this._ctx)){case 1:this.enterOuterAlt(e,1),this.state=1127,this.match(p.ON),this.state=1128,this.match(p.SP),this.state=1129,this.match(p.MATCH),this.state=1130,this.match(p.SP),this.state=1131,this.setClause();break;case 2:this.enterOuterAlt(e,2),this.state=1132,this.match(p.ON),this.state=1133,this.match(p.SP),this.state=1134,this.match(p.CREATE),this.state=1135,this.match(p.SP),this.state=1136,this.setClause()}}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},Ne.prototype=Object.create(r.ParserRuleContext.prototype),Ne.prototype.constructor=Ne,Ne.prototype.CREATE=function(){return this.getToken(p.CREATE,0)},Ne.prototype.pattern=function(){return this.getTypedRuleContext(mt,0)},Ne.prototype.SP=function(){return this.getToken(p.SP,0)},Ne.prototype.enterRule=function(e){e instanceof i&&e.enterCreateClause(this)},Ne.prototype.exitRule=function(e){e instanceof i&&e.exitCreateClause(this)},p.CreateClauseContext=Ne,p.prototype.createClause=function(){var e=new Ne(this,this._ctx,this.state);this.enterRule(e,144,p.RULE_createClause);try{this.enterOuterAlt(e,1),this.state=1139,this.match(p.CREATE),this.state=1141,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1140,this.match(p.SP)),this.state=1143,this.pattern()}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},Ie.prototype=Object.create(r.ParserRuleContext.prototype),Ie.prototype.constructor=Ie,Ie.prototype.CREATE=function(){return this.getToken(p.CREATE,0)},Ie.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},Ie.prototype.UNIQUE=function(){return this.getToken(p.UNIQUE,0)},Ie.prototype.pattern=function(){return this.getTypedRuleContext(mt,0)},Ie.prototype.enterRule=function(e){e instanceof i&&e.enterCreateUniqueClause(this)},Ie.prototype.exitRule=function(e){e instanceof i&&e.exitCreateUniqueClause(this)},p.CreateUniqueClauseContext=Ie,p.prototype.createUniqueClause=function(){var e=new Ie(this,this._ctx,this.state);this.enterRule(e,146,p.RULE_createUniqueClause);try{this.enterOuterAlt(e,1),this.state=1145,this.match(p.CREATE),this.state=1146,this.match(p.SP),this.state=1147,this.match(p.UNIQUE),this.state=1149,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1148,this.match(p.SP)),this.state=1151,this.pattern()}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},ke.prototype=Object.create(r.ParserRuleContext.prototype),ke.prototype.constructor=ke,ke.prototype.SET=function(){return this.getToken(p.SET,0)},ke.prototype.setItem=function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(De):this.getTypedRuleContext(De,e)},ke.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},ke.prototype.enterRule=function(e){e instanceof i&&e.enterSetClause(this)},ke.prototype.exitRule=function(e){e instanceof i&&e.exitSetClause(this)},p.SetClauseContext=ke,p.prototype.setClause=function(){var e=new ke(this,this._ctx,this.state);this.enterRule(e,148,p.RULE_setClause);try{this.enterOuterAlt(e,1),this.state=1153,this.match(p.SET),this.state=1155,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1154,this.match(p.SP)),this.state=1157,this.setItem(),this.state=1168,this._errHandler.sync(this);for(var t=this._interp.adaptivePredict(this._input,115,this._ctx);2!=t&&t!=r.atn.ATN.INVALID_ALT_NUMBER;)1===t&&(this.state=1159,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1158,this.match(p.SP)),this.state=1161,this.match(p.T__14),this.state=1163,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1162,this.match(p.SP)),this.state=1165,this.setItem()),this.state=1170,this._errHandler.sync(this),t=this._interp.adaptivePredict(this._input,115,this._ctx)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},De.prototype=Object.create(r.ParserRuleContext.prototype),De.prototype.constructor=De,De.prototype.propertyExpression=function(){return this.getTypedRuleContext(Wn,0)},De.prototype.expression=function(){return this.getTypedRuleContext(Pt,0)},De.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},De.prototype.variable=function(){return this.getTypedRuleContext(In,0)},De.prototype.nodeLabels=function(){return this.getTypedRuleContext(Ot,0)},De.prototype.enterRule=function(e){e instanceof i&&e.enterSetItem(this)},De.prototype.exitRule=function(e){e instanceof i&&e.exitSetItem(this)},p.SetItemContext=De,p.prototype.setItem=function(){var e=new De(this,this._ctx,this.state);this.enterRule(e,150,p.RULE_setItem);try{switch(this.state=1207,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,123,this._ctx)){case 1:this.enterOuterAlt(e,1),this.state=1171,this.propertyExpression(),this.state=1173,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1172,this.match(p.SP)),this.state=1175,this.match(p.T__11),this.state=1177,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1176,this.match(p.SP)),this.state=1179,this.expression();break;case 2:this.enterOuterAlt(e,2),this.state=1181,this.variable(),this.state=1183,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1182,this.match(p.SP)),this.state=1185,this.match(p.T__11),this.state=1187,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1186,this.match(p.SP)),this.state=1189,this.expression();break;case 3:this.enterOuterAlt(e,3),this.state=1191,this.variable(),this.state=1193,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1192,this.match(p.SP)),this.state=1195,this.match(p.T__20),this.state=1197,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1196,this.match(p.SP)),this.state=1199,this.expression();break;case 4:this.enterOuterAlt(e,4),this.state=1201,this.variable(),this.state=1203,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1202,this.match(p.SP)),this.state=1205,this.nodeLabels()}}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},Pe.prototype=Object.create(r.ParserRuleContext.prototype),Pe.prototype.constructor=Pe,Pe.prototype.DELETE=function(){return this.getToken(p.DELETE,0)},Pe.prototype.expression=function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(Pt):this.getTypedRuleContext(Pt,e)},Pe.prototype.DETACH=function(){return this.getToken(p.DETACH,0)},Pe.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},Pe.prototype.enterRule=function(e){e instanceof i&&e.enterDeleteClause(this)},Pe.prototype.exitRule=function(e){e instanceof i&&e.exitDeleteClause(this)},p.DeleteClauseContext=Pe,p.prototype.deleteClause=function(){var e=new Pe(this,this._ctx,this.state);this.enterRule(e,152,p.RULE_deleteClause);try{this.enterOuterAlt(e,1),this.state=1211,this._errHandler.sync(this),this._input.LA(1)===p.DETACH&&(this.state=1209,this.match(p.DETACH),this.state=1210,this.match(p.SP)),this.state=1213,this.match(p.DELETE),this.state=1215,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1214,this.match(p.SP)),this.state=1217,this.expression(),this.state=1228,this._errHandler.sync(this);for(var t=this._interp.adaptivePredict(this._input,128,this._ctx);2!=t&&t!=r.atn.ATN.INVALID_ALT_NUMBER;)1===t&&(this.state=1219,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1218,this.match(p.SP)),this.state=1221,this.match(p.T__14),this.state=1223,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1222,this.match(p.SP)),this.state=1225,this.expression()),this.state=1230,this._errHandler.sync(this),t=this._interp.adaptivePredict(this._input,128,this._ctx)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},Me.prototype=Object.create(r.ParserRuleContext.prototype),Me.prototype.constructor=Me,Me.prototype.REMOVE=function(){return this.getToken(p.REMOVE,0)},Me.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},Me.prototype.removeItem=function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(Fe):this.getTypedRuleContext(Fe,e)},Me.prototype.enterRule=function(e){e instanceof i&&e.enterRemoveClause(this)},Me.prototype.exitRule=function(e){e instanceof i&&e.exitRemoveClause(this)},p.RemoveClauseContext=Me,p.prototype.removeClause=function(){var e=new Me(this,this._ctx,this.state);this.enterRule(e,154,p.RULE_removeClause);try{this.enterOuterAlt(e,1),this.state=1231,this.match(p.REMOVE),this.state=1232,this.match(p.SP),this.state=1233,this.removeItem(),this.state=1244,this._errHandler.sync(this);for(var t=this._interp.adaptivePredict(this._input,131,this._ctx);2!=t&&t!=r.atn.ATN.INVALID_ALT_NUMBER;)1===t&&(this.state=1235,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1234,this.match(p.SP)),this.state=1237,this.match(p.T__14),this.state=1239,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1238,this.match(p.SP)),this.state=1241,this.removeItem()),this.state=1246,this._errHandler.sync(this),t=this._interp.adaptivePredict(this._input,131,this._ctx)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},Fe.prototype=Object.create(r.ParserRuleContext.prototype),Fe.prototype.constructor=Fe,Fe.prototype.variable=function(){return this.getTypedRuleContext(In,0)},Fe.prototype.nodeLabels=function(){return this.getTypedRuleContext(Ot,0)},Fe.prototype.propertyExpression=function(){return this.getTypedRuleContext(Wn,0)},Fe.prototype.enterRule=function(e){e instanceof i&&e.enterRemoveItem(this)},Fe.prototype.exitRule=function(e){e instanceof i&&e.exitRemoveItem(this)},p.RemoveItemContext=Fe,p.prototype.removeItem=function(){var e=new Fe(this,this._ctx,this.state);this.enterRule(e,156,p.RULE_removeItem);try{switch(this.state=1251,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,132,this._ctx)){case 1:this.enterOuterAlt(e,1),this.state=1247,this.variable(),this.state=1248,this.nodeLabels();break;case 2:this.enterOuterAlt(e,2),this.state=1250,this.propertyExpression()}}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},He.prototype=Object.create(r.ParserRuleContext.prototype),He.prototype.constructor=He,He.prototype.FOREACH=function(){return this.getToken(p.FOREACH,0)},He.prototype.variable=function(){return this.getTypedRuleContext(In,0)},He.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},He.prototype.IN=function(){return this.getToken(p.IN,0)},He.prototype.expression=function(){return this.getTypedRuleContext(Pt,0)},He.prototype.clause=function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(le):this.getTypedRuleContext(le,e)},He.prototype.enterRule=function(e){e instanceof i&&e.enterForeachClause(this)},He.prototype.exitRule=function(e){e instanceof i&&e.exitForeachClause(this)},p.ForeachClauseContext=He,p.prototype.foreachClause=function(){var e=new He(this,this._ctx,this.state);this.enterRule(e,158,p.RULE_foreachClause);try{this.enterOuterAlt(e,1),this.state=1253,this.match(p.FOREACH),this.state=1255,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1254,this.match(p.SP)),this.state=1257,this.match(p.T__18),this.state=1259,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1258,this.match(p.SP)),this.state=1261,this.variable(),this.state=1262,this.match(p.SP),this.state=1263,this.match(p.IN),this.state=1264,this.match(p.SP),this.state=1265,this.expression(),this.state=1267,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1266,this.match(p.SP)),this.state=1269,this.match(p.T__21),this.state=1272,this._errHandler.sync(this);var t=1;do{if(1!==t)throw new r.error.NoViableAltException(this);this.state=1270,this.match(p.SP),this.state=1271,this.clause(),this.state=1274,this._errHandler.sync(this),t=this._interp.adaptivePredict(this._input,136,this._ctx)}while(2!=t&&t!=r.atn.ATN.INVALID_ALT_NUMBER);this.state=1277,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1276,this.match(p.SP)),this.state=1279,this.match(p.T__19)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},Be.prototype=Object.create(r.ParserRuleContext.prototype),Be.prototype.constructor=Be,Be.prototype.WITH=function(){return this.getToken(p.WITH,0)},Be.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},Be.prototype.returnBody=function(){return this.getTypedRuleContext(je,0)},Be.prototype.DISTINCT=function(){return this.getToken(p.DISTINCT,0)},Be.prototype.where=function(){return this.getTypedRuleContext(ft,0)},Be.prototype.enterRule=function(e){e instanceof i&&e.enterWithClause(this)},Be.prototype.exitRule=function(e){e instanceof i&&e.exitWithClause(this)},p.WithClauseContext=Be,p.prototype.withClause=function(){var e=new Be(this,this._ctx,this.state);this.enterRule(e,160,p.RULE_withClause);try{this.enterOuterAlt(e,1),this.state=1281,this.match(p.WITH),this.state=1286,this._errHandler.sync(this),1===this._interp.adaptivePredict(this._input,139,this._ctx)&&(this.state=1283,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1282,this.match(p.SP)),this.state=1285,this.match(p.DISTINCT)),this.state=1288,this.match(p.SP),this.state=1289,this.returnBody(),this.state=1294,this._errHandler.sync(this),1===this._interp.adaptivePredict(this._input,141,this._ctx)&&(this.state=1291,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1290,this.match(p.SP)),this.state=1293,this.where())}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},Ue.prototype=Object.create(r.ParserRuleContext.prototype),Ue.prototype.constructor=Ue,Ue.prototype.RETURN=function(){return this.getToken(p.RETURN,0)},Ue.prototype.returnBody=function(){return this.getTypedRuleContext(je,0)},Ue.prototype.DISTINCT=function(){return this.getToken(p.DISTINCT,0)},Ue.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},Ue.prototype.enterRule=function(e){e instanceof i&&e.enterReturnClause(this)},Ue.prototype.exitRule=function(e){e instanceof i&&e.exitReturnClause(this)},p.ReturnClauseContext=Ue,p.prototype.returnClause=function(){var e=new Ue(this,this._ctx,this.state);this.enterRule(e,162,p.RULE_returnClause);try{this.enterOuterAlt(e,1),this.state=1296,this.match(p.RETURN),this.state=1301,this._errHandler.sync(this),1===this._interp.adaptivePredict(this._input,143,this._ctx)&&(this.state=1298,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1297,this.match(p.SP)),this.state=1300,this.match(p.DISTINCT)),this.state=1304,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1303,this.match(p.SP)),this.state=1306,this.returnBody()}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},je.prototype=Object.create(r.ParserRuleContext.prototype),je.prototype.constructor=je,je.prototype.returnItems=function(){return this.getTypedRuleContext(Ye,0)},je.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},je.prototype.order=function(){return this.getTypedRuleContext(et,0)},je.prototype.skip=function(){return this.getTypedRuleContext(tt,0)},je.prototype.limit=function(){return this.getTypedRuleContext(nt,0)},je.prototype.enterRule=function(e){e instanceof i&&e.enterReturnBody(this)},je.prototype.exitRule=function(e){e instanceof i&&e.exitReturnBody(this)},p.ReturnBodyContext=je,p.prototype.returnBody=function(){var e=new je(this,this._ctx,this.state);this.enterRule(e,164,p.RULE_returnBody);try{this.enterOuterAlt(e,1),this.state=1308,this.returnItems(),this.state=1311,this._errHandler.sync(this),1===this._interp.adaptivePredict(this._input,145,this._ctx)&&(this.state=1309,this.match(p.SP),this.state=1310,this.order()),this.state=1315,this._errHandler.sync(this),1===this._interp.adaptivePredict(this._input,146,this._ctx)&&(this.state=1313,this.match(p.SP),this.state=1314,this.skip()),this.state=1319,this._errHandler.sync(this),1===this._interp.adaptivePredict(this._input,147,this._ctx)&&(this.state=1317,this.match(p.SP),this.state=1318,this.limit())}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},Ge.prototype=Object.create(r.ParserRuleContext.prototype),Ge.prototype.constructor=Ge,Ge.prototype.procedureInvocation=function(){return this.getTypedRuleContext(We,0)},Ge.prototype.SP=function(){return this.getToken(p.SP,0)},Ge.prototype.procedureResults=function(){return this.getTypedRuleContext(qe,0)},Ge.prototype.enterRule=function(e){e instanceof i&&e.enterFunc(this)},Ge.prototype.exitRule=function(e){e instanceof i&&e.exitFunc(this)},p.FuncContext=Ge,p.prototype.func=function(){var e=new Ge(this,this._ctx,this.state);this.enterRule(e,166,p.RULE_func);try{this.enterOuterAlt(e,1),this.state=1321,this.procedureInvocation(),this.state=1323,this._errHandler.sync(this),1===this._interp.adaptivePredict(this._input,148,this._ctx)&&(this.state=1322,this.match(p.SP)),this.state=1326,this._errHandler.sync(this),this._input.LA(1)===p.YIELD&&(this.state=1325,this.procedureResults())}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},Ye.prototype=Object.create(r.ParserRuleContext.prototype),Ye.prototype.constructor=Ye,Ye.prototype.returnItem=function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(ze):this.getTypedRuleContext(ze,e)},Ye.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},Ye.prototype.func=function(){return this.getTypedRuleContext(Ge,0)},Ye.prototype.enterRule=function(e){e instanceof i&&e.enterReturnItems(this)},Ye.prototype.exitRule=function(e){e instanceof i&&e.exitReturnItems(this)},p.ReturnItemsContext=Ye,p.prototype.returnItems=function(){var e=new Ye(this,this._ctx,this.state);this.enterRule(e,168,p.RULE_returnItems);try{switch(this.state=1357,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,156,this._ctx)){case 1:this.enterOuterAlt(e,1),this.state=1328,this.match(p.T__22),this.state=1339,this._errHandler.sync(this);for(var t=this._interp.adaptivePredict(this._input,152,this._ctx);2!=t&&t!=r.atn.ATN.INVALID_ALT_NUMBER;)1===t&&(this.state=1330,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1329,this.match(p.SP)),this.state=1332,this.match(p.T__14),this.state=1334,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1333,this.match(p.SP)),this.state=1336,this.returnItem()),this.state=1341,this._errHandler.sync(this),t=this._interp.adaptivePredict(this._input,152,this._ctx);break;case 2:for(this.enterOuterAlt(e,2),this.state=1342,this.returnItem(),this.state=1353,this._errHandler.sync(this),t=this._interp.adaptivePredict(this._input,155,this._ctx);2!=t&&t!=r.atn.ATN.INVALID_ALT_NUMBER;)1===t&&(this.state=1344,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1343,this.match(p.SP)),this.state=1346,this.match(p.T__14),this.state=1348,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1347,this.match(p.SP)),this.state=1350,this.returnItem()),this.state=1355,this._errHandler.sync(this),t=this._interp.adaptivePredict(this._input,155,this._ctx);break;case 3:this.enterOuterAlt(e,3),this.state=1356,this.func()}}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},ze.prototype=Object.create(r.ParserRuleContext.prototype),ze.prototype.constructor=ze,ze.prototype.expression=function(){return this.getTypedRuleContext(Pt,0)},ze.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},ze.prototype.AS=function(){return this.getToken(p.AS,0)},ze.prototype.variable=function(){return this.getTypedRuleContext(In,0)},ze.prototype.enterRule=function(e){e instanceof i&&e.enterReturnItem(this)},ze.prototype.exitRule=function(e){e instanceof i&&e.exitReturnItem(this)},p.ReturnItemContext=ze,p.prototype.returnItem=function(){var e=new ze(this,this._ctx,this.state);this.enterRule(e,170,p.RULE_returnItem);try{switch(this.state=1366,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,157,this._ctx)){case 1:this.enterOuterAlt(e,1),this.state=1359,this.expression(),this.state=1360,this.match(p.SP),this.state=1361,this.match(p.AS),this.state=1362,this.match(p.SP),this.state=1363,this.variable();break;case 2:this.enterOuterAlt(e,2),this.state=1365,this.expression()}}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},$e.prototype=Object.create(r.ParserRuleContext.prototype),$e.prototype.constructor=$e,$e.prototype.CALL=function(){return this.getToken(p.CALL,0)},$e.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},$e.prototype.procedureInvocation=function(){return this.getTypedRuleContext(We,0)},$e.prototype.procedureResults=function(){return this.getTypedRuleContext(qe,0)},$e.prototype.enterRule=function(e){e instanceof i&&e.enterCall(this)},$e.prototype.exitRule=function(e){e instanceof i&&e.exitCall(this)},p.CallContext=$e,p.prototype.call=function(){var e=new $e(this,this._ctx,this.state);this.enterRule(e,172,p.RULE_call);try{this.enterOuterAlt(e,1),this.state=1368,this.match(p.CALL),this.state=1369,this.match(p.SP),this.state=1370,this.procedureInvocation(),this.state=1372,this._errHandler.sync(this),1===this._interp.adaptivePredict(this._input,158,this._ctx)&&(this.state=1371,this.match(p.SP)),this.state=1375,this._errHandler.sync(this),this._input.LA(1)===p.YIELD&&(this.state=1374,this.procedureResults())}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},We.prototype=Object.create(r.ParserRuleContext.prototype),We.prototype.constructor=We,We.prototype.procedureInvocationBody=function(){return this.getTypedRuleContext(Ve,0)},We.prototype.SP=function(){return this.getToken(p.SP,0)},We.prototype.procedureArguments=function(){return this.getTypedRuleContext(Ke,0)},We.prototype.enterRule=function(e){e instanceof i&&e.enterProcedureInvocation(this)},We.prototype.exitRule=function(e){e instanceof i&&e.exitProcedureInvocation(this)},p.ProcedureInvocationContext=We,p.prototype.procedureInvocation=function(){var e=new We(this,this._ctx,this.state);this.enterRule(e,174,p.RULE_procedureInvocation);try{this.enterOuterAlt(e,1),this.state=1377,this.procedureInvocationBody(),this.state=1379,this._errHandler.sync(this),1===this._interp.adaptivePredict(this._input,160,this._ctx)&&(this.state=1378,this.match(p.SP)),this.state=1382,this._errHandler.sync(this),this._input.LA(1)===p.T__18&&(this.state=1381,this.procedureArguments())}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},Ve.prototype=Object.create(r.ParserRuleContext.prototype),Ve.prototype.constructor=Ve,Ve.prototype.namespace=function(){return this.getTypedRuleContext(Zn,0)},Ve.prototype.procedureName=function(){return this.getTypedRuleContext(An,0)},Ve.prototype.enterRule=function(e){e instanceof i&&e.enterProcedureInvocationBody(this)},Ve.prototype.exitRule=function(e){e instanceof i&&e.exitProcedureInvocationBody(this)},p.ProcedureInvocationBodyContext=Ve,p.prototype.procedureInvocationBody=function(){var e=new Ve(this,this._ctx,this.state);this.enterRule(e,176,p.RULE_procedureInvocationBody);try{this.enterOuterAlt(e,1),this.state=1384,this.namespace(),this.state=1385,this.procedureName()}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},Ke.prototype=Object.create(r.ParserRuleContext.prototype),Ke.prototype.constructor=Ke,Ke.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},Ke.prototype.expression=function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(Pt):this.getTypedRuleContext(Pt,e)},Ke.prototype.enterRule=function(e){e instanceof i&&e.enterProcedureArguments(this)},Ke.prototype.exitRule=function(e){e instanceof i&&e.exitProcedureArguments(this)},p.ProcedureArgumentsContext=Ke,p.prototype.procedureArguments=function(){var e=new Ke(this,this._ctx,this.state);this.enterRule(e,178,p.RULE_procedureArguments);var t=0;try{this.enterOuterAlt(e,1),this.state=1387,this.match(p.T__18),this.state=1389,this._errHandler.sync(this),1===this._interp.adaptivePredict(this._input,162,this._ctx)&&(this.state=1388,this.match(p.SP)),this.state=1392,this._errHandler.sync(this),(0==((t=this._input.LA(1))-3&-32)&&0!=(1<<t-3&(1<<p.T__2-3|1<<p.T__12-3|1<<p.T__13-3|1<<p.T__16-3|1<<p.T__18-3|1<<p.T__33-3))||0==(t-54&-32)&&0!=(1<<t-54&(1<<p.CYPHER-54|1<<p.EXPLAIN-54|1<<p.PROFILE-54|1<<p.USING-54|1<<p.PERIODIC-54|1<<p.COMMIT-54|1<<p.UNION-54|1<<p.ALL-54|1<<p.CREATE-54|1<<p.DROP-54|1<<p.INDEX-54|1<<p.ON-54|1<<p.CONSTRAINT-54|1<<p.ASSERT-54|1<<p.IS-54|1<<p.UNIQUE-54|1<<p.EXISTS-54|1<<p.LOAD-54|1<<p.CSV-54|1<<p.WITH-54|1<<p.HEADERS-54|1<<p.FROM-54|1<<p.AS-54|1<<p.FIELDTERMINATOR-54|1<<p.OPTIONAL-54|1<<p.MATCH-54|1<<p.UNWIND-54|1<<p.MERGE-54|1<<p.SET-54|1<<p.DETACH-54|1<<p.DELETE-54|1<<p.REMOVE-54))||0==(t-86&-32)&&0!=(1<<t-86&(1<<p.FOREACH-86|1<<p.IN-86|1<<p.DISTINCT-86|1<<p.RETURN-86|1<<p.ORDER-86|1<<p.BY-86|1<<p.L_SKIP-86|1<<p.LIMIT-86|1<<p.ASCENDING-86|1<<p.ASC-86|1<<p.DESCENDING-86|1<<p.DESC-86|1<<p.JOIN-86|1<<p.SCAN-86|1<<p.START-86|1<<p.NODE-86|1<<p.RELATIONSHIP-86|1<<p.REL-86|1<<p.WHERE-86|1<<p.SHORTESTPATH-86|1<<p.ALLSHORTESTPATHS-86|1<<p.OR-86|1<<p.XOR-86|1<<p.AND-86|1<<p.NOT-86|1<<p.STARTS-86|1<<p.ENDS-86|1<<p.CONTAINS-86|1<<p.NULL-86|1<<p.COUNT-86|1<<p.FILTER-86|1<<p.EXTRACT-86))||0==(t-118&-32)&&0!=(1<<t-118&(1<<p.ANY-118|1<<p.NONE-118|1<<p.SINGLE-118|1<<p.TRUE-118|1<<p.FALSE-118|1<<p.REDUCE-118|1<<p.CASE-118|1<<p.ELSE-118|1<<p.END-118|1<<p.WHEN-118|1<<p.THEN-118|1<<p.CALL-118|1<<p.YIELD-118|1<<p.KEY-118|1<<p.BTREE-118|1<<p.EXIST-118|1<<p.FOR-118|1<<p.OPTIONS-118|1<<p.EXECUTE-118|1<<p.DEFINED-118|1<<p.FUNCTION-118|1<<p.FUNCTIONS-118|1<<p.BOOSTED-118|1<<p.PROCEDURE-118|1<<p.PROCEDURES-118|1<<p.ADMIN-118|1<<p.ADMINISTRATOR-118|1<<p.BRIEF-118|1<<p.VERBOSE-118|1<<p.OUTPUT-118|1<<p.StringLiteral-118))||0==(t-151&-32)&&0!=(1<<t-151&(1<<p.HexInteger-151|1<<p.DecimalInteger-151|1<<p.OctalInteger-151|1<<p.HexLetter-151|1<<p.ExponentDecimalReal-151|1<<p.RegularDecimalReal-151|1<<p.UnescapedSymbolicName-151|1<<p.EscapedSymbolicName-151)))&&(this.state=1391,this.expression()),this.state=1404,this._errHandler.sync(this);for(var n=this._interp.adaptivePredict(this._input,166,this._ctx);2!=n&&n!=r.atn.ATN.INVALID_ALT_NUMBER;)1===n&&(this.state=1395,this._errHandler.sync(this),(t=this._input.LA(1))===p.SP&&(this.state=1394,this.match(p.SP)),this.state=1397,this.match(p.T__14),this.state=1399,this._errHandler.sync(this),(t=this._input.LA(1))===p.SP&&(this.state=1398,this.match(p.SP)),this.state=1401,this.expression()),this.state=1406,this._errHandler.sync(this),n=this._interp.adaptivePredict(this._input,166,this._ctx);this.state=1408,this._errHandler.sync(this),(t=this._input.LA(1))===p.SP&&(this.state=1407,this.match(p.SP)),this.state=1410,this.match(p.T__19)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},qe.prototype=Object.create(r.ParserRuleContext.prototype),qe.prototype.constructor=qe,qe.prototype.YIELD=function(){return this.getToken(p.YIELD,0)},qe.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},qe.prototype.procedureResult=function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(Xe):this.getTypedRuleContext(Xe,e)},qe.prototype.where=function(){return this.getTypedRuleContext(ft,0)},qe.prototype.enterRule=function(e){e instanceof i&&e.enterProcedureResults(this)},qe.prototype.exitRule=function(e){e instanceof i&&e.exitProcedureResults(this)},p.ProcedureResultsContext=qe,p.prototype.procedureResults=function(){var e=new qe(this,this._ctx,this.state);this.enterRule(e,180,p.RULE_procedureResults);try{this.enterOuterAlt(e,1),this.state=1412,this.match(p.YIELD),this.state=1413,this.match(p.SP),this.state=1414,this.procedureResult(),this.state=1425,this._errHandler.sync(this);for(var t=this._interp.adaptivePredict(this._input,170,this._ctx);2!=t&&t!=r.atn.ATN.INVALID_ALT_NUMBER;)1===t&&(this.state=1416,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1415,this.match(p.SP)),this.state=1418,this.match(p.T__14),this.state=1420,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1419,this.match(p.SP)),this.state=1422,this.procedureResult()),this.state=1427,this._errHandler.sync(this),t=this._interp.adaptivePredict(this._input,170,this._ctx);this.state=1430,this._errHandler.sync(this),1===this._interp.adaptivePredict(this._input,171,this._ctx)&&(this.state=1428,this.match(p.SP),this.state=1429,this.where())}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},Xe.prototype=Object.create(r.ParserRuleContext.prototype),Xe.prototype.constructor=Xe,Xe.prototype.aliasedProcedureResult=function(){return this.getTypedRuleContext(Ze,0)},Xe.prototype.simpleProcedureResult=function(){return this.getTypedRuleContext(Qe,0)},Xe.prototype.enterRule=function(e){e instanceof i&&e.enterProcedureResult(this)},Xe.prototype.exitRule=function(e){e instanceof i&&e.exitProcedureResult(this)},p.ProcedureResultContext=Xe,p.prototype.procedureResult=function(){var e=new Xe(this,this._ctx,this.state);this.enterRule(e,182,p.RULE_procedureResult);try{switch(this.state=1434,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,172,this._ctx)){case 1:this.enterOuterAlt(e,1),this.state=1432,this.aliasedProcedureResult();break;case 2:this.enterOuterAlt(e,2),this.state=1433,this.simpleProcedureResult()}}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},Ze.prototype=Object.create(r.ParserRuleContext.prototype),Ze.prototype.constructor=Ze,Ze.prototype.procedureOutput=function(){return this.getTypedRuleContext(Je,0)},Ze.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},Ze.prototype.AS=function(){return this.getToken(p.AS,0)},Ze.prototype.variable=function(){return this.getTypedRuleContext(In,0)},Ze.prototype.enterRule=function(e){e instanceof i&&e.enterAliasedProcedureResult(this)},Ze.prototype.exitRule=function(e){e instanceof i&&e.exitAliasedProcedureResult(this)},p.AliasedProcedureResultContext=Ze,p.prototype.aliasedProcedureResult=function(){var e=new Ze(this,this._ctx,this.state);this.enterRule(e,184,p.RULE_aliasedProcedureResult);try{this.enterOuterAlt(e,1),this.state=1436,this.procedureOutput(),this.state=1437,this.match(p.SP),this.state=1438,this.match(p.AS),this.state=1439,this.match(p.SP),this.state=1440,this.variable()}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},Qe.prototype=Object.create(r.ParserRuleContext.prototype),Qe.prototype.constructor=Qe,Qe.prototype.procedureOutput=function(){return this.getTypedRuleContext(Je,0)},Qe.prototype.enterRule=function(e){e instanceof i&&e.enterSimpleProcedureResult(this)},Qe.prototype.exitRule=function(e){e instanceof i&&e.exitSimpleProcedureResult(this)},p.SimpleProcedureResultContext=Qe,p.prototype.simpleProcedureResult=function(){var e=new Qe(this,this._ctx,this.state);this.enterRule(e,186,p.RULE_simpleProcedureResult);try{this.enterOuterAlt(e,1),this.state=1442,this.procedureOutput()}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},Je.prototype=Object.create(r.ParserRuleContext.prototype),Je.prototype.constructor=Je,Je.prototype.symbolicName=function(){return this.getTypedRuleContext(tr,0)},Je.prototype.enterRule=function(e){e instanceof i&&e.enterProcedureOutput(this)},Je.prototype.exitRule=function(e){e instanceof i&&e.exitProcedureOutput(this)},p.ProcedureOutputContext=Je,p.prototype.procedureOutput=function(){var e=new Je(this,this._ctx,this.state);this.enterRule(e,188,p.RULE_procedureOutput);try{this.enterOuterAlt(e,1),this.state=1444,this.symbolicName()}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},et.prototype=Object.create(r.ParserRuleContext.prototype),et.prototype.constructor=et,et.prototype.ORDER=function(){return this.getToken(p.ORDER,0)},et.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},et.prototype.BY=function(){return this.getToken(p.BY,0)},et.prototype.sortItem=function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(rt):this.getTypedRuleContext(rt,e)},et.prototype.enterRule=function(e){e instanceof i&&e.enterOrder(this)},et.prototype.exitRule=function(e){e instanceof i&&e.exitOrder(this)},p.OrderContext=et,p.prototype.order=function(){var e=new et(this,this._ctx,this.state);this.enterRule(e,190,p.RULE_order);try{this.enterOuterAlt(e,1),this.state=1446,this.match(p.ORDER),this.state=1447,this.match(p.SP),this.state=1448,this.match(p.BY),this.state=1449,this.match(p.SP),this.state=1450,this.sortItem(),this.state=1461,this._errHandler.sync(this);for(var t=this._interp.adaptivePredict(this._input,175,this._ctx);2!=t&&t!=r.atn.ATN.INVALID_ALT_NUMBER;)1===t&&(this.state=1452,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1451,this.match(p.SP)),this.state=1454,this.match(p.T__14),this.state=1456,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1455,this.match(p.SP)),this.state=1458,this.sortItem()),this.state=1463,this._errHandler.sync(this),t=this._interp.adaptivePredict(this._input,175,this._ctx)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},tt.prototype=Object.create(r.ParserRuleContext.prototype),tt.prototype.constructor=tt,tt.prototype.L_SKIP=function(){return this.getToken(p.L_SKIP,0)},tt.prototype.SP=function(){return this.getToken(p.SP,0)},tt.prototype.expression=function(){return this.getTypedRuleContext(Pt,0)},tt.prototype.enterRule=function(e){e instanceof i&&e.enterSkip(this)},tt.prototype.exitRule=function(e){e instanceof i&&e.exitSkip(this)},p.SkipContext=tt,p.prototype.skip=function(){var e=new tt(this,this._ctx,this.state);this.enterRule(e,192,p.RULE_skip);try{this.enterOuterAlt(e,1),this.state=1464,this.match(p.L_SKIP),this.state=1465,this.match(p.SP),this.state=1466,this.expression()}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},nt.prototype=Object.create(r.ParserRuleContext.prototype),nt.prototype.constructor=nt,nt.prototype.LIMIT=function(){return this.getToken(p.LIMIT,0)},nt.prototype.SP=function(){return this.getToken(p.SP,0)},nt.prototype.expression=function(){return this.getTypedRuleContext(Pt,0)},nt.prototype.enterRule=function(e){e instanceof i&&e.enterLimit(this)},nt.prototype.exitRule=function(e){e instanceof i&&e.exitLimit(this)},p.LimitContext=nt,p.prototype.limit=function(){var e=new nt(this,this._ctx,this.state);this.enterRule(e,194,p.RULE_limit);try{this.enterOuterAlt(e,1),this.state=1468,this.match(p.LIMIT),this.state=1469,this.match(p.SP),this.state=1470,this.expression()}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},rt.prototype=Object.create(r.ParserRuleContext.prototype),rt.prototype.constructor=rt,rt.prototype.expression=function(){return this.getTypedRuleContext(Pt,0)},rt.prototype.ASCENDING=function(){return this.getToken(p.ASCENDING,0)},rt.prototype.ASC=function(){return this.getToken(p.ASC,0)},rt.prototype.DESCENDING=function(){return this.getToken(p.DESCENDING,0)},rt.prototype.DESC=function(){return this.getToken(p.DESC,0)},rt.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},rt.prototype.enterRule=function(e){e instanceof i&&e.enterSortItem(this)},rt.prototype.exitRule=function(e){e instanceof i&&e.exitSortItem(this)},p.SortItemContext=rt,p.prototype.sortItem=function(){var e=new rt(this,this._ctx,this.state);this.enterRule(e,196,p.RULE_sortItem);var t=0;try{this.enterOuterAlt(e,1),this.state=1472,this.expression(),this.state=1480,this._errHandler.sync(this),1===this._interp.adaptivePredict(this._input,178,this._ctx)&&(this.state=1474,this._errHandler.sync(this),(t=this._input.LA(1))===p.SP&&(this.state=1473,this.match(p.SP)),this.state=1476,0!=((t=this._input.LA(1))-94&-32)||0==(1<<t-94&(1<<p.ASCENDING-94|1<<p.ASC-94|1<<p.DESCENDING-94|1<<p.DESC-94))?this._errHandler.recoverInline(this):(this._errHandler.reportMatch(this),this.consume()),this.state=1478,this._errHandler.sync(this),1===this._interp.adaptivePredict(this._input,177,this._ctx)&&(this.state=1477,this.match(p.SP)))}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},it.prototype=Object.create(r.ParserRuleContext.prototype),it.prototype.constructor=it,it.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},it.prototype.USING=function(){return this.getToken(p.USING,0)},it.prototype.INDEX=function(){return this.getToken(p.INDEX,0)},it.prototype.variable=function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(In):this.getTypedRuleContext(In,e)},it.prototype.nodeLabel=function(){return this.getTypedRuleContext(Nt,0)},it.prototype.propertyKeys=function(){return this.getTypedRuleContext(Vn,0)},it.prototype.JOIN=function(){return this.getToken(p.JOIN,0)},it.prototype.ON=function(){return this.getToken(p.ON,0)},it.prototype.SCAN=function(){return this.getToken(p.SCAN,0)},it.prototype.enterRule=function(e){e instanceof i&&e.enterHint(this)},it.prototype.exitRule=function(e){e instanceof i&&e.exitHint(this)},p.HintContext=it,p.prototype.hint=function(){var e=new it(this,this._ctx,this.state);this.enterRule(e,198,p.RULE_hint);try{switch(this.enterOuterAlt(e,1),this.state=1483,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1482,this.match(p.SP)),this.state=1531,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,186,this._ctx)){case 1:this.state=1485,this.match(p.USING),this.state=1486,this.match(p.SP),this.state=1487,this.match(p.INDEX),this.state=1488,this.match(p.SP),this.state=1489,this.variable(),this.state=1490,this.nodeLabel(),this.state=1492,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1491,this.match(p.SP)),this.state=1494,this.match(p.T__18),this.state=1496,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1495,this.match(p.SP)),this.state=1498,this.propertyKeys(),this.state=1500,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1499,this.match(p.SP)),this.state=1502,this.match(p.T__19);break;case 2:this.state=1504,this.match(p.USING),this.state=1505,this.match(p.SP),this.state=1506,this.match(p.JOIN),this.state=1507,this.match(p.SP),this.state=1508,this.match(p.ON),this.state=1509,this.match(p.SP),this.state=1510,this.variable(),this.state=1521,this._errHandler.sync(this);for(var t=this._interp.adaptivePredict(this._input,185,this._ctx);2!=t&&t!=r.atn.ATN.INVALID_ALT_NUMBER;)1===t&&(this.state=1512,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1511,this.match(p.SP)),this.state=1514,this.match(p.T__14),this.state=1516,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1515,this.match(p.SP)),this.state=1518,this.variable()),this.state=1523,this._errHandler.sync(this),t=this._interp.adaptivePredict(this._input,185,this._ctx);break;case 3:this.state=1524,this.match(p.USING),this.state=1525,this.match(p.SP),this.state=1526,this.match(p.SCAN),this.state=1527,this.match(p.SP),this.state=1528,this.variable(),this.state=1529,this.nodeLabel()}}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},ot.prototype=Object.create(r.ParserRuleContext.prototype),ot.prototype.constructor=ot,ot.prototype.START=function(){return this.getToken(p.START,0)},ot.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},ot.prototype.startPoint=function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(at):this.getTypedRuleContext(at,e)},ot.prototype.where=function(){return this.getTypedRuleContext(ft,0)},ot.prototype.enterRule=function(e){e instanceof i&&e.enterStartClause(this)},ot.prototype.exitRule=function(e){e instanceof i&&e.exitStartClause(this)},p.StartClauseContext=ot,p.prototype.startClause=function(){var e=new ot(this,this._ctx,this.state);this.enterRule(e,200,p.RULE_startClause);try{this.enterOuterAlt(e,1),this.state=1533,this.match(p.START),this.state=1534,this.match(p.SP),this.state=1535,this.startPoint(),this.state=1546,this._errHandler.sync(this);for(var t=this._interp.adaptivePredict(this._input,189,this._ctx);2!=t&&t!=r.atn.ATN.INVALID_ALT_NUMBER;)1===t&&(this.state=1537,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1536,this.match(p.SP)),this.state=1539,this.match(p.T__14),this.state=1541,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1540,this.match(p.SP)),this.state=1543,this.startPoint()),this.state=1548,this._errHandler.sync(this),t=this._interp.adaptivePredict(this._input,189,this._ctx);this.state=1550,this._errHandler.sync(this),this._input.LA(1)===p.WHERE&&(this.state=1549,this.where())}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},at.prototype=Object.create(r.ParserRuleContext.prototype),at.prototype.constructor=at,at.prototype.variable=function(){return this.getTypedRuleContext(In,0)},at.prototype.lookup=function(){return this.getTypedRuleContext(st,0)},at.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},at.prototype.enterRule=function(e){e instanceof i&&e.enterStartPoint(this)},at.prototype.exitRule=function(e){e instanceof i&&e.exitStartPoint(this)},p.StartPointContext=at,p.prototype.startPoint=function(){var e=new at(this,this._ctx,this.state);this.enterRule(e,202,p.RULE_startPoint);try{this.enterOuterAlt(e,1),this.state=1552,this.variable(),this.state=1554,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1553,this.match(p.SP)),this.state=1556,this.match(p.T__11),this.state=1558,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1557,this.match(p.SP)),this.state=1560,this.lookup()}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},st.prototype=Object.create(r.ParserRuleContext.prototype),st.prototype.constructor=st,st.prototype.nodeLookup=function(){return this.getTypedRuleContext(lt,0)},st.prototype.relationshipLookup=function(){return this.getTypedRuleContext(ct,0)},st.prototype.enterRule=function(e){e instanceof i&&e.enterLookup(this)},st.prototype.exitRule=function(e){e instanceof i&&e.exitLookup(this)},p.LookupContext=st,p.prototype.lookup=function(){var e=new st(this,this._ctx,this.state);this.enterRule(e,204,p.RULE_lookup);try{switch(this.state=1564,this._errHandler.sync(this),this._input.LA(1)){case p.NODE:this.enterOuterAlt(e,1),this.state=1562,this.nodeLookup();break;case p.RELATIONSHIP:case p.REL:this.enterOuterAlt(e,2),this.state=1563,this.relationshipLookup();break;default:throw new r.error.NoViableAltException(this)}}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},lt.prototype=Object.create(r.ParserRuleContext.prototype),lt.prototype.constructor=lt,lt.prototype.NODE=function(){return this.getToken(p.NODE,0)},lt.prototype.identifiedIndexLookup=function(){return this.getTypedRuleContext(ut,0)},lt.prototype.indexQuery=function(){return this.getTypedRuleContext(ht,0)},lt.prototype.idLookup=function(){return this.getTypedRuleContext(pt,0)},lt.prototype.SP=function(){return this.getToken(p.SP,0)},lt.prototype.enterRule=function(e){e instanceof i&&e.enterNodeLookup(this)},lt.prototype.exitRule=function(e){e instanceof i&&e.exitNodeLookup(this)},p.NodeLookupContext=lt,p.prototype.nodeLookup=function(){var e=new lt(this,this._ctx,this.state);this.enterRule(e,206,p.RULE_nodeLookup);try{switch(this.enterOuterAlt(e,1),this.state=1566,this.match(p.NODE),this.state=1568,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1567,this.match(p.SP)),this.state=1573,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,195,this._ctx)){case 1:this.state=1570,this.identifiedIndexLookup();break;case 2:this.state=1571,this.indexQuery();break;case 3:this.state=1572,this.idLookup()}}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},ct.prototype=Object.create(r.ParserRuleContext.prototype),ct.prototype.constructor=ct,ct.prototype.RELATIONSHIP=function(){return this.getToken(p.RELATIONSHIP,0)},ct.prototype.REL=function(){return this.getToken(p.REL,0)},ct.prototype.identifiedIndexLookup=function(){return this.getTypedRuleContext(ut,0)},ct.prototype.indexQuery=function(){return this.getTypedRuleContext(ht,0)},ct.prototype.idLookup=function(){return this.getTypedRuleContext(pt,0)},ct.prototype.enterRule=function(e){e instanceof i&&e.enterRelationshipLookup(this)},ct.prototype.exitRule=function(e){e instanceof i&&e.exitRelationshipLookup(this)},p.RelationshipLookupContext=ct,p.prototype.relationshipLookup=function(){var e=new ct(this,this._ctx,this.state);this.enterRule(e,208,p.RULE_relationshipLookup);var t=0;try{switch(this.enterOuterAlt(e,1),this.state=1575,(t=this._input.LA(1))!==p.RELATIONSHIP&&t!==p.REL?this._errHandler.recoverInline(this):(this._errHandler.reportMatch(this),this.consume()),this.state=1579,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,196,this._ctx)){case 1:this.state=1576,this.identifiedIndexLookup();break;case 2:this.state=1577,this.indexQuery();break;case 3:this.state=1578,this.idLookup()}}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},ut.prototype=Object.create(r.ParserRuleContext.prototype),ut.prototype.constructor=ut,ut.prototype.symbolicName=function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(tr):this.getTypedRuleContext(tr,e)},ut.prototype.StringLiteral=function(){return this.getToken(p.StringLiteral,0)},ut.prototype.parameter=function(){return this.getTypedRuleContext(jn,0)},ut.prototype.enterRule=function(e){e instanceof i&&e.enterIdentifiedIndexLookup(this)},ut.prototype.exitRule=function(e){e instanceof i&&e.exitIdentifiedIndexLookup(this)},p.IdentifiedIndexLookupContext=ut,p.prototype.identifiedIndexLookup=function(){var e=new ut(this,this._ctx,this.state);this.enterRule(e,210,p.RULE_identifiedIndexLookup);try{switch(this.enterOuterAlt(e,1),this.state=1581,this.match(p.T__1),this.state=1582,this.symbolicName(),this.state=1583,this.match(p.T__18),this.state=1584,this.symbolicName(),this.state=1585,this.match(p.T__11),this.state=1588,this._errHandler.sync(this),this._input.LA(1)){case p.StringLiteral:this.state=1586,this.match(p.StringLiteral);break;case p.T__13:case p.T__33:this.state=1587,this.parameter();break;default:throw new r.error.NoViableAltException(this)}this.state=1590,this.match(p.T__19)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},ht.prototype=Object.create(r.ParserRuleContext.prototype),ht.prototype.constructor=ht,ht.prototype.symbolicName=function(){return this.getTypedRuleContext(tr,0)},ht.prototype.StringLiteral=function(){return this.getToken(p.StringLiteral,0)},ht.prototype.parameter=function(){return this.getTypedRuleContext(jn,0)},ht.prototype.enterRule=function(e){e instanceof i&&e.enterIndexQuery(this)},ht.prototype.exitRule=function(e){e instanceof i&&e.exitIndexQuery(this)},p.IndexQueryContext=ht,p.prototype.indexQuery=function(){var e=new ht(this,this._ctx,this.state);this.enterRule(e,212,p.RULE_indexQuery);try{switch(this.enterOuterAlt(e,1),this.state=1592,this.match(p.T__1),this.state=1593,this.symbolicName(),this.state=1594,this.match(p.T__18),this.state=1597,this._errHandler.sync(this),this._input.LA(1)){case p.StringLiteral:this.state=1595,this.match(p.StringLiteral);break;case p.T__13:case p.T__33:this.state=1596,this.parameter();break;default:throw new r.error.NoViableAltException(this)}this.state=1599,this.match(p.T__19)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},pt.prototype=Object.create(r.ParserRuleContext.prototype),pt.prototype.constructor=pt,pt.prototype.literalIds=function(){return this.getTypedRuleContext(dt,0)},pt.prototype.parameter=function(){return this.getTypedRuleContext(jn,0)},pt.prototype.enterRule=function(e){e instanceof i&&e.enterIdLookup(this)},pt.prototype.exitRule=function(e){e instanceof i&&e.exitIdLookup(this)},p.IdLookupContext=pt,p.prototype.idLookup=function(){var e=new pt(this,this._ctx,this.state);this.enterRule(e,214,p.RULE_idLookup);try{switch(this.enterOuterAlt(e,1),this.state=1601,this.match(p.T__18),this.state=1605,this._errHandler.sync(this),this._input.LA(1)){case p.HexInteger:case p.DecimalInteger:case p.OctalInteger:this.state=1602,this.literalIds();break;case p.T__13:case p.T__33:this.state=1603,this.parameter();break;case p.T__22:this.state=1604,this.match(p.T__22);break;default:throw new r.error.NoViableAltException(this)}this.state=1607,this.match(p.T__19)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},dt.prototype=Object.create(r.ParserRuleContext.prototype),dt.prototype.constructor=dt,dt.prototype.integerLiteral=function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(qn):this.getTypedRuleContext(qn,e)},dt.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},dt.prototype.enterRule=function(e){e instanceof i&&e.enterLiteralIds(this)},dt.prototype.exitRule=function(e){e instanceof i&&e.exitLiteralIds(this)},p.LiteralIdsContext=dt,p.prototype.literalIds=function(){var e=new dt(this,this._ctx,this.state);this.enterRule(e,216,p.RULE_literalIds);var t=0;try{for(this.enterOuterAlt(e,1),this.state=1609,this.integerLiteral(),this.state=1620,this._errHandler.sync(this),t=this._input.LA(1);t===p.T__14||t===p.SP;)this.state=1611,this._errHandler.sync(this),(t=this._input.LA(1))===p.SP&&(this.state=1610,this.match(p.SP)),this.state=1613,this.match(p.T__14),this.state=1615,this._errHandler.sync(this),(t=this._input.LA(1))===p.SP&&(this.state=1614,this.match(p.SP)),this.state=1617,this.integerLiteral(),this.state=1622,this._errHandler.sync(this),t=this._input.LA(1)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},ft.prototype=Object.create(r.ParserRuleContext.prototype),ft.prototype.constructor=ft,ft.prototype.WHERE=function(){return this.getToken(p.WHERE,0)},ft.prototype.SP=function(){return this.getToken(p.SP,0)},ft.prototype.expression=function(){return this.getTypedRuleContext(Pt,0)},ft.prototype.enterRule=function(e){e instanceof i&&e.enterWhere(this)},ft.prototype.exitRule=function(e){e instanceof i&&e.exitWhere(this)},p.WhereContext=ft,p.prototype.where=function(){var e=new ft(this,this._ctx,this.state);this.enterRule(e,218,p.RULE_where);try{this.enterOuterAlt(e,1),this.state=1623,this.match(p.WHERE),this.state=1624,this.match(p.SP),this.state=1625,this.expression()}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},mt.prototype=Object.create(r.ParserRuleContext.prototype),mt.prototype.constructor=mt,mt.prototype.patternPart=function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(gt):this.getTypedRuleContext(gt,e)},mt.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},mt.prototype.enterRule=function(e){e instanceof i&&e.enterPattern(this)},mt.prototype.exitRule=function(e){e instanceof i&&e.exitPattern(this)},p.PatternContext=mt,p.prototype.pattern=function(){var e=new mt(this,this._ctx,this.state);this.enterRule(e,220,p.RULE_pattern);try{this.enterOuterAlt(e,1),this.state=1627,this.patternPart(),this.state=1638,this._errHandler.sync(this);for(var t=this._interp.adaptivePredict(this._input,205,this._ctx);2!=t&&t!=r.atn.ATN.INVALID_ALT_NUMBER;)1===t&&(this.state=1629,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1628,this.match(p.SP)),this.state=1631,this.match(p.T__14),this.state=1633,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1632,this.match(p.SP)),this.state=1635,this.patternPart()),this.state=1640,this._errHandler.sync(this),t=this._interp.adaptivePredict(this._input,205,this._ctx)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},gt.prototype=Object.create(r.ParserRuleContext.prototype),gt.prototype.constructor=gt,gt.prototype.variable=function(){return this.getTypedRuleContext(In,0)},gt.prototype.anonymousPatternPart=function(){return this.getTypedRuleContext(yt,0)},gt.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},gt.prototype.enterRule=function(e){e instanceof i&&e.enterPatternPart(this)},gt.prototype.exitRule=function(e){e instanceof i&&e.exitPatternPart(this)},p.PatternPartContext=gt,p.prototype.patternPart=function(){var e=new gt(this,this._ctx,this.state);this.enterRule(e,222,p.RULE_patternPart);try{switch(this.state=1652,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,208,this._ctx)){case 1:this.enterOuterAlt(e,1),this.state=1641,this.variable(),this.state=1643,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1642,this.match(p.SP)),this.state=1645,this.match(p.T__11),this.state=1647,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1646,this.match(p.SP)),this.state=1649,this.anonymousPatternPart();break;case 2:this.enterOuterAlt(e,2),this.state=1651,this.anonymousPatternPart()}}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},yt.prototype=Object.create(r.ParserRuleContext.prototype),yt.prototype.constructor=yt,yt.prototype.shortestPathPatternFunction=function(){return this.getTypedRuleContext(un,0)},yt.prototype.patternElement=function(){return this.getTypedRuleContext(vt,0)},yt.prototype.enterRule=function(e){e instanceof i&&e.enterAnonymousPatternPart(this)},yt.prototype.exitRule=function(e){e instanceof i&&e.exitAnonymousPatternPart(this)},p.AnonymousPatternPartContext=yt,p.prototype.anonymousPatternPart=function(){var e=new yt(this,this._ctx,this.state);this.enterRule(e,224,p.RULE_anonymousPatternPart);try{switch(this.state=1656,this._errHandler.sync(this),this._input.LA(1)){case p.SHORTESTPATH:case p.ALLSHORTESTPATHS:this.enterOuterAlt(e,1),this.state=1654,this.shortestPathPatternFunction();break;case p.T__18:this.enterOuterAlt(e,2),this.state=1655,this.patternElement();break;default:throw new r.error.NoViableAltException(this)}}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},vt.prototype=Object.create(r.ParserRuleContext.prototype),vt.prototype.constructor=vt,vt.prototype.nodePattern=function(){return this.getTypedRuleContext(_t,0)},vt.prototype.patternElementChain=function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(bt):this.getTypedRuleContext(bt,e)},vt.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},vt.prototype.patternElement=function(){return this.getTypedRuleContext(vt,0)},vt.prototype.enterRule=function(e){e instanceof i&&e.enterPatternElement(this)},vt.prototype.exitRule=function(e){e instanceof i&&e.exitPatternElement(this)},p.PatternElementContext=vt,p.prototype.patternElement=function(){var e=new vt(this,this._ctx,this.state);this.enterRule(e,226,p.RULE_patternElement);try{switch(this.state=1672,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,212,this._ctx)){case 1:this.enterOuterAlt(e,1),this.state=1658,this.nodePattern(),this.state=1665,this._errHandler.sync(this);for(var t=this._interp.adaptivePredict(this._input,211,this._ctx);2!=t&&t!=r.atn.ATN.INVALID_ALT_NUMBER;)1===t&&(this.state=1660,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1659,this.match(p.SP)),this.state=1662,this.patternElementChain()),this.state=1667,this._errHandler.sync(this),t=this._interp.adaptivePredict(this._input,211,this._ctx);break;case 2:this.enterOuterAlt(e,2),this.state=1668,this.match(p.T__18),this.state=1669,this.patternElement(),this.state=1670,this.match(p.T__19)}}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},_t.prototype=Object.create(r.ParserRuleContext.prototype),_t.prototype.constructor=_t,_t.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},_t.prototype.variable=function(){return this.getTypedRuleContext(In,0)},_t.prototype.nodeLabels=function(){return this.getTypedRuleContext(Ot,0)},_t.prototype.properties=function(){return this.getTypedRuleContext(Ct,0)},_t.prototype.enterRule=function(e){e instanceof i&&e.enterNodePattern(this)},_t.prototype.exitRule=function(e){e instanceof i&&e.exitNodePattern(this)},p.NodePatternContext=_t,p.prototype.nodePattern=function(){var e=new _t(this,this._ctx,this.state);this.enterRule(e,228,p.RULE_nodePattern);var t=0;try{this.enterOuterAlt(e,1),this.state=1674,this.match(p.T__18),this.state=1676,this._errHandler.sync(this),(t=this._input.LA(1))===p.SP&&(this.state=1675,this.match(p.SP)),this.state=1682,this._errHandler.sync(this),(0==((t=this._input.LA(1))-54&-32)&&0!=(1<<t-54&(1<<p.CYPHER-54|1<<p.EXPLAIN-54|1<<p.PROFILE-54|1<<p.USING-54|1<<p.PERIODIC-54|1<<p.COMMIT-54|1<<p.UNION-54|1<<p.ALL-54|1<<p.CREATE-54|1<<p.DROP-54|1<<p.INDEX-54|1<<p.ON-54|1<<p.CONSTRAINT-54|1<<p.ASSERT-54|1<<p.IS-54|1<<p.UNIQUE-54|1<<p.EXISTS-54|1<<p.LOAD-54|1<<p.CSV-54|1<<p.WITH-54|1<<p.HEADERS-54|1<<p.FROM-54|1<<p.AS-54|1<<p.FIELDTERMINATOR-54|1<<p.OPTIONAL-54|1<<p.MATCH-54|1<<p.UNWIND-54|1<<p.MERGE-54|1<<p.SET-54|1<<p.DETACH-54|1<<p.DELETE-54|1<<p.REMOVE-54))||0==(t-86&-32)&&0!=(1<<t-86&(1<<p.FOREACH-86|1<<p.IN-86|1<<p.DISTINCT-86|1<<p.RETURN-86|1<<p.ORDER-86|1<<p.BY-86|1<<p.L_SKIP-86|1<<p.LIMIT-86|1<<p.ASCENDING-86|1<<p.ASC-86|1<<p.DESCENDING-86|1<<p.DESC-86|1<<p.JOIN-86|1<<p.SCAN-86|1<<p.START-86|1<<p.NODE-86|1<<p.RELATIONSHIP-86|1<<p.REL-86|1<<p.WHERE-86|1<<p.SHORTESTPATH-86|1<<p.ALLSHORTESTPATHS-86|1<<p.OR-86|1<<p.XOR-86|1<<p.AND-86|1<<p.NOT-86|1<<p.STARTS-86|1<<p.ENDS-86|1<<p.CONTAINS-86|1<<p.NULL-86|1<<p.COUNT-86|1<<p.FILTER-86|1<<p.EXTRACT-86))||0==(t-118&-32)&&0!=(1<<t-118&(1<<p.ANY-118|1<<p.NONE-118|1<<p.SINGLE-118|1<<p.TRUE-118|1<<p.FALSE-118|1<<p.REDUCE-118|1<<p.CASE-118|1<<p.ELSE-118|1<<p.END-118|1<<p.WHEN-118|1<<p.THEN-118|1<<p.CALL-118|1<<p.YIELD-118|1<<p.KEY-118|1<<p.BTREE-118|1<<p.EXIST-118|1<<p.FOR-118|1<<p.OPTIONS-118|1<<p.EXECUTE-118|1<<p.DEFINED-118|1<<p.FUNCTION-118|1<<p.FUNCTIONS-118|1<<p.BOOSTED-118|1<<p.PROCEDURE-118|1<<p.PROCEDURES-118|1<<p.ADMIN-118|1<<p.ADMINISTRATOR-118|1<<p.BRIEF-118|1<<p.VERBOSE-118|1<<p.OUTPUT-118))||0==(t-154&-32)&&0!=(1<<t-154&(1<<p.HexLetter-154|1<<p.UnescapedSymbolicName-154|1<<p.EscapedSymbolicName-154)))&&(this.state=1678,this.variable(),this.state=1680,this._errHandler.sync(this),(t=this._input.LA(1))===p.SP&&(this.state=1679,this.match(p.SP))),this.state=1688,this._errHandler.sync(this),(t=this._input.LA(1))===p.T__1&&(this.state=1684,this.nodeLabels(),this.state=1686,this._errHandler.sync(this),(t=this._input.LA(1))===p.SP&&(this.state=1685,this.match(p.SP))),this.state=1694,this._errHandler.sync(this),(t=this._input.LA(1))!==p.T__13&&t!==p.T__33||(this.state=1690,this.properties(),this.state=1692,this._errHandler.sync(this),(t=this._input.LA(1))===p.SP&&(this.state=1691,this.match(p.SP))),this.state=1696,this.match(p.T__19)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},bt.prototype=Object.create(r.ParserRuleContext.prototype),bt.prototype.constructor=bt,bt.prototype.relationshipPattern=function(){return this.getTypedRuleContext(Et,0)},bt.prototype.nodePattern=function(){return this.getTypedRuleContext(_t,0)},bt.prototype.SP=function(){return this.getToken(p.SP,0)},bt.prototype.enterRule=function(e){e instanceof i&&e.enterPatternElementChain(this)},bt.prototype.exitRule=function(e){e instanceof i&&e.exitPatternElementChain(this)},p.PatternElementChainContext=bt,p.prototype.patternElementChain=function(){var e=new bt(this,this._ctx,this.state);this.enterRule(e,230,p.RULE_patternElementChain);try{this.enterOuterAlt(e,1),this.state=1698,this.relationshipPattern(),this.state=1700,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1699,this.match(p.SP)),this.state=1702,this.nodePattern()}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},Et.prototype=Object.create(r.ParserRuleContext.prototype),Et.prototype.constructor=Et,Et.prototype.relationshipPatternStart=function(){return this.getTypedRuleContext(Tt,0)},Et.prototype.relationshipPatternEnd=function(){return this.getTypedRuleContext(xt,0)},Et.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},Et.prototype.relationshipDetail=function(){return this.getTypedRuleContext(St,0)},Et.prototype.enterRule=function(e){e instanceof i&&e.enterRelationshipPattern(this)},Et.prototype.exitRule=function(e){e instanceof i&&e.exitRelationshipPattern(this)},p.RelationshipPatternContext=Et,p.prototype.relationshipPattern=function(){var e=new Et(this,this._ctx,this.state);this.enterRule(e,232,p.RULE_relationshipPattern);try{this.enterOuterAlt(e,1),this.state=1704,this.relationshipPatternStart(),this.state=1706,this._errHandler.sync(this),1===this._interp.adaptivePredict(this._input,221,this._ctx)&&(this.state=1705,this.match(p.SP)),this.state=1709,this._errHandler.sync(this),this._input.LA(1)===p.T__16&&(this.state=1708,this.relationshipDetail()),this.state=1712,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1711,this.match(p.SP)),this.state=1714,this.relationshipPatternEnd()}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},Tt.prototype=Object.create(r.ParserRuleContext.prototype),Tt.prototype.constructor=Tt,Tt.prototype.leftArrowHead=function(){return this.getTypedRuleContext(Qn,0)},Tt.prototype.dash=function(){return this.getTypedRuleContext(er,0)},Tt.prototype.SP=function(){return this.getToken(p.SP,0)},Tt.prototype.enterRule=function(e){e instanceof i&&e.enterRelationshipPatternStart(this)},Tt.prototype.exitRule=function(e){e instanceof i&&e.exitRelationshipPatternStart(this)},p.RelationshipPatternStartContext=Tt,p.prototype.relationshipPatternStart=function(){var e=new Tt(this,this._ctx,this.state);this.enterRule(e,234,p.RULE_relationshipPatternStart);try{switch(this.state=1723,this._errHandler.sync(this),this._input.LA(1)){case p.T__29:case p.T__34:case p.T__35:case p.T__36:case p.T__37:this.enterOuterAlt(e,1),this.state=1716,this.leftArrowHead(),this.state=1718,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1717,this.match(p.SP)),this.state=1720,this.dash();break;case p.T__2:case p.T__42:case p.T__43:case p.T__44:case p.T__45:case p.T__46:case p.T__47:case p.T__48:case p.T__49:case p.T__50:case p.T__51:case p.T__52:this.enterOuterAlt(e,2),this.state=1722,this.dash();break;default:throw new r.error.NoViableAltException(this)}}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},xt.prototype=Object.create(r.ParserRuleContext.prototype),xt.prototype.constructor=xt,xt.prototype.dash=function(){return this.getTypedRuleContext(er,0)},xt.prototype.rightArrowHead=function(){return this.getTypedRuleContext(Jn,0)},xt.prototype.SP=function(){return this.getToken(p.SP,0)},xt.prototype.enterRule=function(e){e instanceof i&&e.enterRelationshipPatternEnd(this)},xt.prototype.exitRule=function(e){e instanceof i&&e.exitRelationshipPatternEnd(this)},p.RelationshipPatternEndContext=xt,p.prototype.relationshipPatternEnd=function(){var e=new xt(this,this._ctx,this.state);this.enterRule(e,236,p.RULE_relationshipPatternEnd);try{switch(this.state=1732,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,227,this._ctx)){case 1:this.enterOuterAlt(e,1),this.state=1725,this.dash(),this.state=1727,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1726,this.match(p.SP)),this.state=1729,this.rightArrowHead();break;case 2:this.enterOuterAlt(e,2),this.state=1731,this.dash()}}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},St.prototype=Object.create(r.ParserRuleContext.prototype),St.prototype.constructor=St,St.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},St.prototype.variable=function(){return this.getTypedRuleContext(In,0)},St.prototype.relationshipTypes=function(){return this.getTypedRuleContext(Rt,0)},St.prototype.rangeLiteral=function(){return this.getTypedRuleContext(It,0)},St.prototype.properties=function(){return this.getTypedRuleContext(Ct,0)},St.prototype.enterRule=function(e){e instanceof i&&e.enterRelationshipDetail(this)},St.prototype.exitRule=function(e){e instanceof i&&e.exitRelationshipDetail(this)},p.RelationshipDetailContext=St,p.prototype.relationshipDetail=function(){var e=new St(this,this._ctx,this.state);this.enterRule(e,238,p.RULE_relationshipDetail);var t=0;try{this.enterOuterAlt(e,1),this.state=1734,this.match(p.T__16),this.state=1736,this._errHandler.sync(this),(t=this._input.LA(1))===p.SP&&(this.state=1735,this.match(p.SP)),this.state=1742,this._errHandler.sync(this),(0==((t=this._input.LA(1))-54&-32)&&0!=(1<<t-54&(1<<p.CYPHER-54|1<<p.EXPLAIN-54|1<<p.PROFILE-54|1<<p.USING-54|1<<p.PERIODIC-54|1<<p.COMMIT-54|1<<p.UNION-54|1<<p.ALL-54|1<<p.CREATE-54|1<<p.DROP-54|1<<p.INDEX-54|1<<p.ON-54|1<<p.CONSTRAINT-54|1<<p.ASSERT-54|1<<p.IS-54|1<<p.UNIQUE-54|1<<p.EXISTS-54|1<<p.LOAD-54|1<<p.CSV-54|1<<p.WITH-54|1<<p.HEADERS-54|1<<p.FROM-54|1<<p.AS-54|1<<p.FIELDTERMINATOR-54|1<<p.OPTIONAL-54|1<<p.MATCH-54|1<<p.UNWIND-54|1<<p.MERGE-54|1<<p.SET-54|1<<p.DETACH-54|1<<p.DELETE-54|1<<p.REMOVE-54))||0==(t-86&-32)&&0!=(1<<t-86&(1<<p.FOREACH-86|1<<p.IN-86|1<<p.DISTINCT-86|1<<p.RETURN-86|1<<p.ORDER-86|1<<p.BY-86|1<<p.L_SKIP-86|1<<p.LIMIT-86|1<<p.ASCENDING-86|1<<p.ASC-86|1<<p.DESCENDING-86|1<<p.DESC-86|1<<p.JOIN-86|1<<p.SCAN-86|1<<p.START-86|1<<p.NODE-86|1<<p.RELATIONSHIP-86|1<<p.REL-86|1<<p.WHERE-86|1<<p.SHORTESTPATH-86|1<<p.ALLSHORTESTPATHS-86|1<<p.OR-86|1<<p.XOR-86|1<<p.AND-86|1<<p.NOT-86|1<<p.STARTS-86|1<<p.ENDS-86|1<<p.CONTAINS-86|1<<p.NULL-86|1<<p.COUNT-86|1<<p.FILTER-86|1<<p.EXTRACT-86))||0==(t-118&-32)&&0!=(1<<t-118&(1<<p.ANY-118|1<<p.NONE-118|1<<p.SINGLE-118|1<<p.TRUE-118|1<<p.FALSE-118|1<<p.REDUCE-118|1<<p.CASE-118|1<<p.ELSE-118|1<<p.END-118|1<<p.WHEN-118|1<<p.THEN-118|1<<p.CALL-118|1<<p.YIELD-118|1<<p.KEY-118|1<<p.BTREE-118|1<<p.EXIST-118|1<<p.FOR-118|1<<p.OPTIONS-118|1<<p.EXECUTE-118|1<<p.DEFINED-118|1<<p.FUNCTION-118|1<<p.FUNCTIONS-118|1<<p.BOOSTED-118|1<<p.PROCEDURE-118|1<<p.PROCEDURES-118|1<<p.ADMIN-118|1<<p.ADMINISTRATOR-118|1<<p.BRIEF-118|1<<p.VERBOSE-118|1<<p.OUTPUT-118))||0==(t-154&-32)&&0!=(1<<t-154&(1<<p.HexLetter-154|1<<p.UnescapedSymbolicName-154|1<<p.EscapedSymbolicName-154)))&&(this.state=1738,this.variable(),this.state=1740,this._errHandler.sync(this),(t=this._input.LA(1))===p.SP&&(this.state=1739,this.match(p.SP))),this.state=1748,this._errHandler.sync(this),(t=this._input.LA(1))===p.T__1&&(this.state=1744,this.relationshipTypes(),this.state=1746,this._errHandler.sync(this),(t=this._input.LA(1))===p.SP&&(this.state=1745,this.match(p.SP))),this.state=1751,this._errHandler.sync(this),(t=this._input.LA(1))===p.T__22&&(this.state=1750,this.rangeLiteral()),this.state=1757,this._errHandler.sync(this),(t=this._input.LA(1))!==p.T__13&&t!==p.T__33||(this.state=1753,this.properties(),this.state=1755,this._errHandler.sync(this),(t=this._input.LA(1))===p.SP&&(this.state=1754,this.match(p.SP))),this.state=1759,this.match(p.T__17)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},Ct.prototype=Object.create(r.ParserRuleContext.prototype),Ct.prototype.constructor=Ct,Ct.prototype.mapLiteral=function(){return this.getTypedRuleContext(Dn,0)},Ct.prototype.parameter=function(){return this.getTypedRuleContext(jn,0)},Ct.prototype.enterRule=function(e){e instanceof i&&e.enterProperties(this)},Ct.prototype.exitRule=function(e){e instanceof i&&e.exitProperties(this)},p.PropertiesContext=Ct,p.prototype.properties=function(){var e=new Ct(this,this._ctx,this.state);this.enterRule(e,240,p.RULE_properties);try{switch(this.state=1763,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,236,this._ctx)){case 1:this.enterOuterAlt(e,1),this.state=1761,this.mapLiteral();break;case 2:this.enterOuterAlt(e,2),this.state=1762,this.parameter()}}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},At.prototype=Object.create(r.ParserRuleContext.prototype),At.prototype.constructor=At,At.prototype.relTypeName=function(){return this.getTypedRuleContext(Dt,0)},At.prototype.SP=function(){return this.getToken(p.SP,0)},At.prototype.enterRule=function(e){e instanceof i&&e.enterRelType(this)},At.prototype.exitRule=function(e){e instanceof i&&e.exitRelType(this)},p.RelTypeContext=At,p.prototype.relType=function(){var e=new At(this,this._ctx,this.state);this.enterRule(e,242,p.RULE_relType);try{this.enterOuterAlt(e,1),this.state=1765,this.match(p.T__1),this.state=1767,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1766,this.match(p.SP)),this.state=1769,this.relTypeName()}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},Rt.prototype=Object.create(r.ParserRuleContext.prototype),Rt.prototype.constructor=Rt,Rt.prototype.relationshipType=function(){return this.getTypedRuleContext(wt,0)},Rt.prototype.relationshipTypeOptionalColon=function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(Lt):this.getTypedRuleContext(Lt,e)},Rt.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},Rt.prototype.enterRule=function(e){e instanceof i&&e.enterRelationshipTypes(this)},Rt.prototype.exitRule=function(e){e instanceof i&&e.exitRelationshipTypes(this)},p.RelationshipTypesContext=Rt,p.prototype.relationshipTypes=function(){var e=new Rt(this,this._ctx,this.state);this.enterRule(e,244,p.RULE_relationshipTypes);try{this.enterOuterAlt(e,1),this.state=1771,this.relationshipType(),this.state=1779,this._errHandler.sync(this);for(var t=this._interp.adaptivePredict(this._input,239,this._ctx);2!=t&&t!=r.atn.ATN.INVALID_ALT_NUMBER;)1===t&&(this.state=1773,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1772,this.match(p.SP)),this.state=1775,this.match(p.T__21),this.state=1776,this.relationshipTypeOptionalColon()),this.state=1781,this._errHandler.sync(this),t=this._interp.adaptivePredict(this._input,239,this._ctx)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},wt.prototype=Object.create(r.ParserRuleContext.prototype),wt.prototype.constructor=wt,wt.prototype.relTypeName=function(){return this.getTypedRuleContext(Dt,0)},wt.prototype.enterRule=function(e){e instanceof i&&e.enterRelationshipType(this)},wt.prototype.exitRule=function(e){e instanceof i&&e.exitRelationshipType(this)},p.RelationshipTypeContext=wt,p.prototype.relationshipType=function(){var e=new wt(this,this._ctx,this.state);this.enterRule(e,246,p.RULE_relationshipType);try{this.enterOuterAlt(e,1),this.state=1782,this.match(p.T__1),this.state=1783,this.relTypeName()}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},Lt.prototype=Object.create(r.ParserRuleContext.prototype),Lt.prototype.constructor=Lt,Lt.prototype.relTypeName=function(){return this.getTypedRuleContext(Dt,0)},Lt.prototype.enterRule=function(e){e instanceof i&&e.enterRelationshipTypeOptionalColon(this)},Lt.prototype.exitRule=function(e){e instanceof i&&e.exitRelationshipTypeOptionalColon(this)},p.RelationshipTypeOptionalColonContext=Lt,p.prototype.relationshipTypeOptionalColon=function(){var e=new Lt(this,this._ctx,this.state);this.enterRule(e,248,p.RULE_relationshipTypeOptionalColon);try{this.enterOuterAlt(e,1),this.state=1786,this._errHandler.sync(this),this._input.LA(1)===p.T__1&&(this.state=1785,this.match(p.T__1)),this.state=1788,this.relTypeName()}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},Ot.prototype=Object.create(r.ParserRuleContext.prototype),Ot.prototype.constructor=Ot,Ot.prototype.nodeLabel=function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(Nt):this.getTypedRuleContext(Nt,e)},Ot.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},Ot.prototype.enterRule=function(e){e instanceof i&&e.enterNodeLabels(this)},Ot.prototype.exitRule=function(e){e instanceof i&&e.exitNodeLabels(this)},p.NodeLabelsContext=Ot,p.prototype.nodeLabels=function(){var e=new Ot(this,this._ctx,this.state);this.enterRule(e,250,p.RULE_nodeLabels);try{this.enterOuterAlt(e,1),this.state=1790,this.nodeLabel(),this.state=1797,this._errHandler.sync(this);for(var t=this._interp.adaptivePredict(this._input,242,this._ctx);2!=t&&t!=r.atn.ATN.INVALID_ALT_NUMBER;)1===t&&(this.state=1792,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1791,this.match(p.SP)),this.state=1794,this.nodeLabel()),this.state=1799,this._errHandler.sync(this),t=this._interp.adaptivePredict(this._input,242,this._ctx)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},Nt.prototype=Object.create(r.ParserRuleContext.prototype),Nt.prototype.constructor=Nt,Nt.prototype.labelName=function(){return this.getTypedRuleContext(kt,0)},Nt.prototype.enterRule=function(e){e instanceof i&&e.enterNodeLabel(this)},Nt.prototype.exitRule=function(e){e instanceof i&&e.exitNodeLabel(this)},p.NodeLabelContext=Nt,p.prototype.nodeLabel=function(){var e=new Nt(this,this._ctx,this.state);this.enterRule(e,252,p.RULE_nodeLabel);try{this.enterOuterAlt(e,1),this.state=1800,this.match(p.T__1),this.state=1801,this.labelName()}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},It.prototype=Object.create(r.ParserRuleContext.prototype),It.prototype.constructor=It,It.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},It.prototype.integerLiteral=function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(qn):this.getTypedRuleContext(qn,e)},It.prototype.enterRule=function(e){e instanceof i&&e.enterRangeLiteral(this)},It.prototype.exitRule=function(e){e instanceof i&&e.exitRangeLiteral(this)},p.RangeLiteralContext=It,p.prototype.rangeLiteral=function(){var e=new It(this,this._ctx,this.state);this.enterRule(e,254,p.RULE_rangeLiteral);var t=0;try{this.enterOuterAlt(e,1),this.state=1803,this.match(p.T__22),this.state=1805,this._errHandler.sync(this),(t=this._input.LA(1))===p.SP&&(this.state=1804,this.match(p.SP)),this.state=1811,this._errHandler.sync(this),0==((t=this._input.LA(1))-151&-32)&&0!=(1<<t-151&(1<<p.HexInteger-151|1<<p.DecimalInteger-151|1<<p.OctalInteger-151))&&(this.state=1807,this.integerLiteral(),this.state=1809,this._errHandler.sync(this),(t=this._input.LA(1))===p.SP&&(this.state=1808,this.match(p.SP))),this.state=1823,this._errHandler.sync(this),(t=this._input.LA(1))===p.T__23&&(this.state=1813,this.match(p.T__23),this.state=1815,this._errHandler.sync(this),(t=this._input.LA(1))===p.SP&&(this.state=1814,this.match(p.SP)),this.state=1821,this._errHandler.sync(this),0==((t=this._input.LA(1))-151&-32)&&0!=(1<<t-151&(1<<p.HexInteger-151|1<<p.DecimalInteger-151|1<<p.OctalInteger-151))&&(this.state=1817,this.integerLiteral(),this.state=1819,this._errHandler.sync(this),(t=this._input.LA(1))===p.SP&&(this.state=1818,this.match(p.SP))))}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},kt.prototype=Object.create(r.ParserRuleContext.prototype),kt.prototype.constructor=kt,kt.prototype.symbolicName=function(){return this.getTypedRuleContext(tr,0)},kt.prototype.enterRule=function(e){e instanceof i&&e.enterLabelName(this)},kt.prototype.exitRule=function(e){e instanceof i&&e.exitLabelName(this)},p.LabelNameContext=kt,p.prototype.labelName=function(){var e=new kt(this,this._ctx,this.state);this.enterRule(e,256,p.RULE_labelName);try{this.enterOuterAlt(e,1),this.state=1825,this.symbolicName()}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},Dt.prototype=Object.create(r.ParserRuleContext.prototype),Dt.prototype.constructor=Dt,Dt.prototype.symbolicName=function(){return this.getTypedRuleContext(tr,0)},Dt.prototype.enterRule=function(e){e instanceof i&&e.enterRelTypeName(this)},Dt.prototype.exitRule=function(e){e instanceof i&&e.exitRelTypeName(this)},p.RelTypeNameContext=Dt,p.prototype.relTypeName=function(){var e=new Dt(this,this._ctx,this.state);this.enterRule(e,258,p.RULE_relTypeName);try{this.enterOuterAlt(e,1),this.state=1827,this.symbolicName()}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},Pt.prototype=Object.create(r.ParserRuleContext.prototype),Pt.prototype.constructor=Pt,Pt.prototype.orExpression=function(){return this.getTypedRuleContext(Mt,0)},Pt.prototype.enterRule=function(e){e instanceof i&&e.enterExpression(this)},Pt.prototype.exitRule=function(e){e instanceof i&&e.exitExpression(this)},p.ExpressionContext=Pt,p.prototype.expression=function(){var e=new Pt(this,this._ctx,this.state);this.enterRule(e,260,p.RULE_expression);try{this.enterOuterAlt(e,1),this.state=1829,this.orExpression()}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},Mt.prototype=Object.create(r.ParserRuleContext.prototype),Mt.prototype.constructor=Mt,Mt.prototype.xorExpression=function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(Ft):this.getTypedRuleContext(Ft,e)},Mt.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},Mt.prototype.OR=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.OR):this.getToken(p.OR,e)};Mt.prototype.enterRule=function(e){e instanceof i&&e.enterOrExpression(this)},Mt.prototype.exitRule=function(e){e instanceof i&&e.exitOrExpression(this)},p.OrExpressionContext=Mt,p.prototype.orExpression=function(){var e=new Mt(this,this._ctx,this.state);this.enterRule(e,262,p.RULE_orExpression);try{this.enterOuterAlt(e,1),this.state=1831,this.xorExpression(),this.state=1838,this._errHandler.sync(this);for(var t=this._interp.adaptivePredict(this._input,250,this._ctx);2!=t&&t!=r.atn.ATN.INVALID_ALT_NUMBER;)1===t&&(this.state=1832,this.match(p.SP),this.state=1833,this.match(p.OR),this.state=1834,this.match(p.SP),this.state=1835,this.xorExpression()),this.state=1840,this._errHandler.sync(this),t=this._interp.adaptivePredict(this._input,250,this._ctx)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},Ft.prototype=Object.create(r.ParserRuleContext.prototype),Ft.prototype.constructor=Ft,Ft.prototype.andExpression=function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(Ht):this.getTypedRuleContext(Ht,e)},Ft.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},Ft.prototype.XOR=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.XOR):this.getToken(p.XOR,e)},Ft.prototype.enterRule=function(e){e instanceof i&&e.enterXorExpression(this)},Ft.prototype.exitRule=function(e){e instanceof i&&e.exitXorExpression(this)},p.XorExpressionContext=Ft,p.prototype.xorExpression=function(){var e=new Ft(this,this._ctx,this.state);this.enterRule(e,264,p.RULE_xorExpression);try{this.enterOuterAlt(e,1),this.state=1841,this.andExpression(),this.state=1848,this._errHandler.sync(this);for(var t=this._interp.adaptivePredict(this._input,251,this._ctx);2!=t&&t!=r.atn.ATN.INVALID_ALT_NUMBER;)1===t&&(this.state=1842,this.match(p.SP),this.state=1843,this.match(p.XOR),this.state=1844,this.match(p.SP),this.state=1845,this.andExpression()),this.state=1850,this._errHandler.sync(this),t=this._interp.adaptivePredict(this._input,251,this._ctx)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},Ht.prototype=Object.create(r.ParserRuleContext.prototype),Ht.prototype.constructor=Ht,Ht.prototype.notExpression=function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(Bt):this.getTypedRuleContext(Bt,e)},Ht.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},Ht.prototype.AND=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.AND):this.getToken(p.AND,e)},Ht.prototype.enterRule=function(e){e instanceof i&&e.enterAndExpression(this)},Ht.prototype.exitRule=function(e){e instanceof i&&e.exitAndExpression(this)},p.AndExpressionContext=Ht,p.prototype.andExpression=function(){var e=new Ht(this,this._ctx,this.state);this.enterRule(e,266,p.RULE_andExpression);try{this.enterOuterAlt(e,1),this.state=1851,this.notExpression(),this.state=1858,this._errHandler.sync(this);for(var t=this._interp.adaptivePredict(this._input,252,this._ctx);2!=t&&t!=r.atn.ATN.INVALID_ALT_NUMBER;)1===t&&(this.state=1852,this.match(p.SP),this.state=1853,this.match(p.AND),this.state=1854,this.match(p.SP),this.state=1855,this.notExpression()),this.state=1860,this._errHandler.sync(this),t=this._interp.adaptivePredict(this._input,252,this._ctx)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},Bt.prototype=Object.create(r.ParserRuleContext.prototype),Bt.prototype.constructor=Bt,Bt.prototype.comparisonExpression=function(){return this.getTypedRuleContext(Ut,0)},Bt.prototype.NOT=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.NOT):this.getToken(p.NOT,e)},Bt.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},Bt.prototype.enterRule=function(e){e instanceof i&&e.enterNotExpression(this)},Bt.prototype.exitRule=function(e){e instanceof i&&e.exitNotExpression(this)},p.NotExpressionContext=Bt,p.prototype.notExpression=function(){var e=new Bt(this,this._ctx,this.state);this.enterRule(e,268,p.RULE_notExpression);try{this.enterOuterAlt(e,1),this.state=1867,this._errHandler.sync(this);for(var t=this._interp.adaptivePredict(this._input,254,this._ctx);2!=t&&t!=r.atn.ATN.INVALID_ALT_NUMBER;)1===t&&(this.state=1861,this.match(p.NOT),this.state=1863,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1862,this.match(p.SP))),this.state=1869,this._errHandler.sync(this),t=this._interp.adaptivePredict(this._input,254,this._ctx);this.state=1870,this.comparisonExpression()}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},Ut.prototype=Object.create(r.ParserRuleContext.prototype),Ut.prototype.constructor=Ut,Ut.prototype.addOrSubtractExpression=function(){return this.getTypedRuleContext(jt,0)},Ut.prototype.partialComparisonExpression=function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(vn):this.getTypedRuleContext(vn,e)},Ut.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},Ut.prototype.enterRule=function(e){e instanceof i&&e.enterComparisonExpression(this)},Ut.prototype.exitRule=function(e){e instanceof i&&e.exitComparisonExpression(this)},p.ComparisonExpressionContext=Ut,p.prototype.comparisonExpression=function(){var e=new Ut(this,this._ctx,this.state);this.enterRule(e,270,p.RULE_comparisonExpression);try{this.enterOuterAlt(e,1),this.state=1872,this.addOrSubtractExpression(),this.state=1879,this._errHandler.sync(this);for(var t=this._interp.adaptivePredict(this._input,256,this._ctx);2!=t&&t!=r.atn.ATN.INVALID_ALT_NUMBER;)1===t&&(this.state=1874,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1873,this.match(p.SP)),this.state=1876,this.partialComparisonExpression()),this.state=1881,this._errHandler.sync(this),t=this._interp.adaptivePredict(this._input,256,this._ctx)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},jt.prototype=Object.create(r.ParserRuleContext.prototype),jt.prototype.constructor=jt,jt.prototype.multiplyDivideModuloExpression=function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(Gt):this.getTypedRuleContext(Gt,e)},jt.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},jt.prototype.enterRule=function(e){e instanceof i&&e.enterAddOrSubtractExpression(this)},jt.prototype.exitRule=function(e){e instanceof i&&e.exitAddOrSubtractExpression(this)},p.AddOrSubtractExpressionContext=jt,p.prototype.addOrSubtractExpression=function(){var e=new jt(this,this._ctx,this.state);this.enterRule(e,272,p.RULE_addOrSubtractExpression);try{this.enterOuterAlt(e,1),this.state=1882,this.multiplyDivideModuloExpression(),this.state=1901,this._errHandler.sync(this);for(var t=this._interp.adaptivePredict(this._input,262,this._ctx);2!=t&&t!=r.atn.ATN.INVALID_ALT_NUMBER;){if(1===t)switch(this.state=1899,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,261,this._ctx)){case 1:this.state=1884,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1883,this.match(p.SP)),this.state=1886,this.match(p.T__12),this.state=1888,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1887,this.match(p.SP)),this.state=1890,this.multiplyDivideModuloExpression();break;case 2:this.state=1892,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1891,this.match(p.SP)),this.state=1894,this.match(p.T__2),this.state=1896,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1895,this.match(p.SP)),this.state=1898,this.multiplyDivideModuloExpression()}this.state=1903,this._errHandler.sync(this),t=this._interp.adaptivePredict(this._input,262,this._ctx)}}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},Gt.prototype=Object.create(r.ParserRuleContext.prototype),Gt.prototype.constructor=Gt,Gt.prototype.powerOfExpression=function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(Yt):this.getTypedRuleContext(Yt,e)},Gt.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},Gt.prototype.enterRule=function(e){e instanceof i&&e.enterMultiplyDivideModuloExpression(this)},Gt.prototype.exitRule=function(e){e instanceof i&&e.exitMultiplyDivideModuloExpression(this)},p.MultiplyDivideModuloExpressionContext=Gt,p.prototype.multiplyDivideModuloExpression=function(){var e=new Gt(this,this._ctx,this.state);this.enterRule(e,274,p.RULE_multiplyDivideModuloExpression);try{this.enterOuterAlt(e,1),this.state=1904,this.powerOfExpression(),this.state=1931,this._errHandler.sync(this);for(var t=this._interp.adaptivePredict(this._input,270,this._ctx);2!=t&&t!=r.atn.ATN.INVALID_ALT_NUMBER;){if(1===t)switch(this.state=1929,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,269,this._ctx)){case 1:this.state=1906,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1905,this.match(p.SP)),this.state=1908,this.match(p.T__22),this.state=1910,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1909,this.match(p.SP)),this.state=1912,this.powerOfExpression();break;case 2:this.state=1914,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1913,this.match(p.SP)),this.state=1916,this.match(p.T__5),this.state=1918,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1917,this.match(p.SP)),this.state=1920,this.powerOfExpression();break;case 3:this.state=1922,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1921,this.match(p.SP)),this.state=1924,this.match(p.T__24),this.state=1926,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1925,this.match(p.SP)),this.state=1928,this.powerOfExpression()}this.state=1933,this._errHandler.sync(this),t=this._interp.adaptivePredict(this._input,270,this._ctx)}}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},Yt.prototype=Object.create(r.ParserRuleContext.prototype),Yt.prototype.constructor=Yt,Yt.prototype.unaryAddOrSubtractExpression=function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(zt):this.getTypedRuleContext(zt,e)},Yt.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},Yt.prototype.enterRule=function(e){e instanceof i&&e.enterPowerOfExpression(this)},Yt.prototype.exitRule=function(e){e instanceof i&&e.exitPowerOfExpression(this)},p.PowerOfExpressionContext=Yt,p.prototype.powerOfExpression=function(){var e=new Yt(this,this._ctx,this.state);this.enterRule(e,276,p.RULE_powerOfExpression);try{this.enterOuterAlt(e,1),this.state=1934,this.unaryAddOrSubtractExpression(),this.state=1945,this._errHandler.sync(this);for(var t=this._interp.adaptivePredict(this._input,273,this._ctx);2!=t&&t!=r.atn.ATN.INVALID_ALT_NUMBER;)1===t&&(this.state=1936,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1935,this.match(p.SP)),this.state=1938,this.match(p.T__25),this.state=1940,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=1939,this.match(p.SP)),this.state=1942,this.unaryAddOrSubtractExpression()),this.state=1947,this._errHandler.sync(this),t=this._interp.adaptivePredict(this._input,273,this._ctx)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},zt.prototype=Object.create(r.ParserRuleContext.prototype),zt.prototype.constructor=zt,zt.prototype.stringListNullOperatorExpression=function(){return this.getTypedRuleContext($t,0)},zt.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},zt.prototype.enterRule=function(e){e instanceof i&&e.enterUnaryAddOrSubtractExpression(this)},zt.prototype.exitRule=function(e){e instanceof i&&e.exitUnaryAddOrSubtractExpression(this)},p.UnaryAddOrSubtractExpressionContext=zt,p.prototype.unaryAddOrSubtractExpression=function(){var e=new zt(this,this._ctx,this.state);this.enterRule(e,278,p.RULE_unaryAddOrSubtractExpression);var t=0;try{for(this.enterOuterAlt(e,1),this.state=1954,this._errHandler.sync(this),t=this._input.LA(1);t===p.T__2||t===p.T__12;)this.state=1948,(t=this._input.LA(1))!==p.T__2&&t!==p.T__12?this._errHandler.recoverInline(this):(this._errHandler.reportMatch(this),this.consume()),this.state=1950,this._errHandler.sync(this),(t=this._input.LA(1))===p.SP&&(this.state=1949,this.match(p.SP)),this.state=1956,this._errHandler.sync(this),t=this._input.LA(1);this.state=1957,this.stringListNullOperatorExpression()}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},$t.prototype=Object.create(r.ParserRuleContext.prototype),$t.prototype.constructor=$t,$t.prototype.propertyOrLabelsExpression=function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(Wt):this.getTypedRuleContext(Wt,e)},$t.prototype.expression=function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(Pt):this.getTypedRuleContext(Pt,e)},$t.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},$t.prototype.IS=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.IS):this.getToken(p.IS,e)},$t.prototype.NULL=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.NULL):this.getToken(p.NULL,e)},$t.prototype.NOT=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.NOT):this.getToken(p.NOT,e)},$t.prototype.IN=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.IN):this.getToken(p.IN,e)},$t.prototype.STARTS=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.STARTS):this.getToken(p.STARTS,e)},$t.prototype.WITH=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.WITH):this.getToken(p.WITH,e)},$t.prototype.ENDS=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.ENDS):this.getToken(p.ENDS,e)},$t.prototype.CONTAINS=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.CONTAINS):this.getToken(p.CONTAINS,e)},$t.prototype.enterRule=function(e){e instanceof i&&e.enterStringListNullOperatorExpression(this)},$t.prototype.exitRule=function(e){e instanceof i&&e.exitStringListNullOperatorExpression(this)},p.StringListNullOperatorExpressionContext=$t,p.prototype.stringListNullOperatorExpression=function(){var e=new $t(this,this._ctx,this.state);this.enterRule(e,280,p.RULE_stringListNullOperatorExpression);var t=0;try{this.enterOuterAlt(e,1),this.state=1959,this.propertyOrLabelsExpression(),this.state=2013,this._errHandler.sync(this);for(var n=this._interp.adaptivePredict(this._input,284,this._ctx);2!=n&&n!=r.atn.ATN.INVALID_ALT_NUMBER;){if(1===n)switch(this.state=2011,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,283,this._ctx)){case 1:this.state=1961,this._errHandler.sync(this),(t=this._input.LA(1))===p.SP&&(this.state=1960,this.match(p.SP)),this.state=1963,this.match(p.T__16),this.state=1964,this.expression(),this.state=1965,this.match(p.T__17);break;case 2:this.state=1968,this._errHandler.sync(this),(t=this._input.LA(1))===p.SP&&(this.state=1967,this.match(p.SP)),this.state=1970,this.match(p.T__16),this.state=1972,this._errHandler.sync(this),(0==((t=this._input.LA(1))-3&-32)&&0!=(1<<t-3&(1<<p.T__2-3|1<<p.T__12-3|1<<p.T__13-3|1<<p.T__16-3|1<<p.T__18-3|1<<p.T__33-3))||0==(t-54&-32)&&0!=(1<<t-54&(1<<p.CYPHER-54|1<<p.EXPLAIN-54|1<<p.PROFILE-54|1<<p.USING-54|1<<p.PERIODIC-54|1<<p.COMMIT-54|1<<p.UNION-54|1<<p.ALL-54|1<<p.CREATE-54|1<<p.DROP-54|1<<p.INDEX-54|1<<p.ON-54|1<<p.CONSTRAINT-54|1<<p.ASSERT-54|1<<p.IS-54|1<<p.UNIQUE-54|1<<p.EXISTS-54|1<<p.LOAD-54|1<<p.CSV-54|1<<p.WITH-54|1<<p.HEADERS-54|1<<p.FROM-54|1<<p.AS-54|1<<p.FIELDTERMINATOR-54|1<<p.OPTIONAL-54|1<<p.MATCH-54|1<<p.UNWIND-54|1<<p.MERGE-54|1<<p.SET-54|1<<p.DETACH-54|1<<p.DELETE-54|1<<p.REMOVE-54))||0==(t-86&-32)&&0!=(1<<t-86&(1<<p.FOREACH-86|1<<p.IN-86|1<<p.DISTINCT-86|1<<p.RETURN-86|1<<p.ORDER-86|1<<p.BY-86|1<<p.L_SKIP-86|1<<p.LIMIT-86|1<<p.ASCENDING-86|1<<p.ASC-86|1<<p.DESCENDING-86|1<<p.DESC-86|1<<p.JOIN-86|1<<p.SCAN-86|1<<p.START-86|1<<p.NODE-86|1<<p.RELATIONSHIP-86|1<<p.REL-86|1<<p.WHERE-86|1<<p.SHORTESTPATH-86|1<<p.ALLSHORTESTPATHS-86|1<<p.OR-86|1<<p.XOR-86|1<<p.AND-86|1<<p.NOT-86|1<<p.STARTS-86|1<<p.ENDS-86|1<<p.CONTAINS-86|1<<p.NULL-86|1<<p.COUNT-86|1<<p.FILTER-86|1<<p.EXTRACT-86))||0==(t-118&-32)&&0!=(1<<t-118&(1<<p.ANY-118|1<<p.NONE-118|1<<p.SINGLE-118|1<<p.TRUE-118|1<<p.FALSE-118|1<<p.REDUCE-118|1<<p.CASE-118|1<<p.ELSE-118|1<<p.END-118|1<<p.WHEN-118|1<<p.THEN-118|1<<p.CALL-118|1<<p.YIELD-118|1<<p.KEY-118|1<<p.BTREE-118|1<<p.EXIST-118|1<<p.FOR-118|1<<p.OPTIONS-118|1<<p.EXECUTE-118|1<<p.DEFINED-118|1<<p.FUNCTION-118|1<<p.FUNCTIONS-118|1<<p.BOOSTED-118|1<<p.PROCEDURE-118|1<<p.PROCEDURES-118|1<<p.ADMIN-118|1<<p.ADMINISTRATOR-118|1<<p.BRIEF-118|1<<p.VERBOSE-118|1<<p.OUTPUT-118|1<<p.StringLiteral-118))||0==(t-151&-32)&&0!=(1<<t-151&(1<<p.HexInteger-151|1<<p.DecimalInteger-151|1<<p.OctalInteger-151|1<<p.HexLetter-151|1<<p.ExponentDecimalReal-151|1<<p.RegularDecimalReal-151|1<<p.UnescapedSymbolicName-151|1<<p.EscapedSymbolicName-151)))&&(this.state=1971,this.expression()),this.state=1974,this.match(p.T__23),this.state=1976,this._errHandler.sync(this),(0==((t=this._input.LA(1))-3&-32)&&0!=(1<<t-3&(1<<p.T__2-3|1<<p.T__12-3|1<<p.T__13-3|1<<p.T__16-3|1<<p.T__18-3|1<<p.T__33-3))||0==(t-54&-32)&&0!=(1<<t-54&(1<<p.CYPHER-54|1<<p.EXPLAIN-54|1<<p.PROFILE-54|1<<p.USING-54|1<<p.PERIODIC-54|1<<p.COMMIT-54|1<<p.UNION-54|1<<p.ALL-54|1<<p.CREATE-54|1<<p.DROP-54|1<<p.INDEX-54|1<<p.ON-54|1<<p.CONSTRAINT-54|1<<p.ASSERT-54|1<<p.IS-54|1<<p.UNIQUE-54|1<<p.EXISTS-54|1<<p.LOAD-54|1<<p.CSV-54|1<<p.WITH-54|1<<p.HEADERS-54|1<<p.FROM-54|1<<p.AS-54|1<<p.FIELDTERMINATOR-54|1<<p.OPTIONAL-54|1<<p.MATCH-54|1<<p.UNWIND-54|1<<p.MERGE-54|1<<p.SET-54|1<<p.DETACH-54|1<<p.DELETE-54|1<<p.REMOVE-54))||0==(t-86&-32)&&0!=(1<<t-86&(1<<p.FOREACH-86|1<<p.IN-86|1<<p.DISTINCT-86|1<<p.RETURN-86|1<<p.ORDER-86|1<<p.BY-86|1<<p.L_SKIP-86|1<<p.LIMIT-86|1<<p.ASCENDING-86|1<<p.ASC-86|1<<p.DESCENDING-86|1<<p.DESC-86|1<<p.JOIN-86|1<<p.SCAN-86|1<<p.START-86|1<<p.NODE-86|1<<p.RELATIONSHIP-86|1<<p.REL-86|1<<p.WHERE-86|1<<p.SHORTESTPATH-86|1<<p.ALLSHORTESTPATHS-86|1<<p.OR-86|1<<p.XOR-86|1<<p.AND-86|1<<p.NOT-86|1<<p.STARTS-86|1<<p.ENDS-86|1<<p.CONTAINS-86|1<<p.NULL-86|1<<p.COUNT-86|1<<p.FILTER-86|1<<p.EXTRACT-86))||0==(t-118&-32)&&0!=(1<<t-118&(1<<p.ANY-118|1<<p.NONE-118|1<<p.SINGLE-118|1<<p.TRUE-118|1<<p.FALSE-118|1<<p.REDUCE-118|1<<p.CASE-118|1<<p.ELSE-118|1<<p.END-118|1<<p.WHEN-118|1<<p.THEN-118|1<<p.CALL-118|1<<p.YIELD-118|1<<p.KEY-118|1<<p.BTREE-118|1<<p.EXIST-118|1<<p.FOR-118|1<<p.OPTIONS-118|1<<p.EXECUTE-118|1<<p.DEFINED-118|1<<p.FUNCTION-118|1<<p.FUNCTIONS-118|1<<p.BOOSTED-118|1<<p.PROCEDURE-118|1<<p.PROCEDURES-118|1<<p.ADMIN-118|1<<p.ADMINISTRATOR-118|1<<p.BRIEF-118|1<<p.VERBOSE-118|1<<p.OUTPUT-118|1<<p.StringLiteral-118))||0==(t-151&-32)&&0!=(1<<t-151&(1<<p.HexInteger-151|1<<p.DecimalInteger-151|1<<p.OctalInteger-151|1<<p.HexLetter-151|1<<p.ExponentDecimalReal-151|1<<p.RegularDecimalReal-151|1<<p.UnescapedSymbolicName-151|1<<p.EscapedSymbolicName-151)))&&(this.state=1975,this.expression()),this.state=1978,this.match(p.T__17);break;case 3:switch(this.state=1995,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,281,this._ctx)){case 1:this.state=1980,this._errHandler.sync(this),(t=this._input.LA(1))===p.SP&&(this.state=1979,this.match(p.SP)),this.state=1982,this.match(p.T__26);break;case 2:this.state=1983,this.match(p.SP),this.state=1984,this.match(p.IN);break;case 3:this.state=1985,this.match(p.SP),this.state=1986,this.match(p.STARTS),this.state=1987,this.match(p.SP),this.state=1988,this.match(p.WITH);break;case 4:this.state=1989,this.match(p.SP),this.state=1990,this.match(p.ENDS),this.state=1991,this.match(p.SP),this.state=1992,this.match(p.WITH);break;case 5:this.state=1993,this.match(p.SP),this.state=1994,this.match(p.CONTAINS)}this.state=1998,this._errHandler.sync(this),(t=this._input.LA(1))===p.SP&&(this.state=1997,this.match(p.SP)),this.state=2e3,this.propertyOrLabelsExpression();break;case 4:this.state=2001,this.match(p.SP),this.state=2002,this.match(p.IS),this.state=2003,this.match(p.SP),this.state=2004,this.match(p.NULL);break;case 5:this.state=2005,this.match(p.SP),this.state=2006,this.match(p.IS),this.state=2007,this.match(p.SP),this.state=2008,this.match(p.NOT),this.state=2009,this.match(p.SP),this.state=2010,this.match(p.NULL)}this.state=2015,this._errHandler.sync(this),n=this._interp.adaptivePredict(this._input,284,this._ctx)}}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},Wt.prototype=Object.create(r.ParserRuleContext.prototype),Wt.prototype.constructor=Wt,Wt.prototype.atom=function(){return this.getTypedRuleContext(dn,0)},Wt.prototype.propertyLookup=function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(Ln):this.getTypedRuleContext(Ln,e)},Wt.prototype.nodeLabels=function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(Ot):this.getTypedRuleContext(Ot,e)},Wt.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},Wt.prototype.enterRule=function(e){e instanceof i&&e.enterPropertyOrLabelsExpression(this)},Wt.prototype.exitRule=function(e){e instanceof i&&e.exitPropertyOrLabelsExpression(this)},p.PropertyOrLabelsExpressionContext=Wt,p.prototype.propertyOrLabelsExpression=function(){var e=new Wt(this,this._ctx,this.state);this.enterRule(e,282,p.RULE_propertyOrLabelsExpression);try{this.enterOuterAlt(e,1),this.state=2016,this.atom(),this.state=2026,this._errHandler.sync(this);for(var t=this._interp.adaptivePredict(this._input,287,this._ctx);2!=t&&t!=r.atn.ATN.INVALID_ALT_NUMBER;){if(1===t)switch(this.state=2018,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=2017,this.match(p.SP)),this.state=2022,this._errHandler.sync(this),this._input.LA(1)){case p.T__6:this.state=2020,this.propertyLookup();break;case p.T__1:this.state=2021,this.nodeLabels();break;default:throw new r.error.NoViableAltException(this)}this.state=2028,this._errHandler.sync(this),t=this._interp.adaptivePredict(this._input,287,this._ctx)}}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},Vt.prototype=Object.create(r.ParserRuleContext.prototype),Vt.prototype.constructor=Vt,Vt.prototype.filterFunctionName=function(){return this.getTypedRuleContext(Kt,0)},Vt.prototype.filterExpression=function(){return this.getTypedRuleContext(En,0)},Vt.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},Vt.prototype.enterRule=function(e){e instanceof i&&e.enterFilterFunction(this)},Vt.prototype.exitRule=function(e){e instanceof i&&e.exitFilterFunction(this)},p.FilterFunctionContext=Vt,p.prototype.filterFunction=function(){var e=new Vt(this,this._ctx,this.state);this.enterRule(e,284,p.RULE_filterFunction);try{this.enterOuterAlt(e,1),this.state=2029,this.filterFunctionName(),this.state=2031,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=2030,this.match(p.SP)),this.state=2033,this.match(p.T__18),this.state=2035,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=2034,this.match(p.SP)),this.state=2037,this.filterExpression(),this.state=2039,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=2038,this.match(p.SP)),this.state=2041,this.match(p.T__19)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},Kt.prototype=Object.create(r.ParserRuleContext.prototype),Kt.prototype.constructor=Kt,Kt.prototype.FILTER=function(){return this.getToken(p.FILTER,0)},Kt.prototype.enterRule=function(e){e instanceof i&&e.enterFilterFunctionName(this)},Kt.prototype.exitRule=function(e){e instanceof i&&e.exitFilterFunctionName(this)},p.FilterFunctionNameContext=Kt,p.prototype.filterFunctionName=function(){var e=new Kt(this,this._ctx,this.state);this.enterRule(e,286,p.RULE_filterFunctionName);try{this.enterOuterAlt(e,1),this.state=2043,this.match(p.FILTER)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},qt.prototype=Object.create(r.ParserRuleContext.prototype),qt.prototype.constructor=qt,qt.prototype.existsFunctionName=function(){return this.getTypedRuleContext(Xt,0)},qt.prototype.expression=function(){return this.getTypedRuleContext(Pt,0)},qt.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},qt.prototype.enterRule=function(e){e instanceof i&&e.enterExistsFunction(this)},qt.prototype.exitRule=function(e){e instanceof i&&e.exitExistsFunction(this)},p.ExistsFunctionContext=qt,p.prototype.existsFunction=function(){var e=new qt(this,this._ctx,this.state);this.enterRule(e,288,p.RULE_existsFunction);try{this.enterOuterAlt(e,1),this.state=2045,this.existsFunctionName(),this.state=2047,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=2046,this.match(p.SP)),this.state=2049,this.match(p.T__18),this.state=2051,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=2050,this.match(p.SP)),this.state=2053,this.expression(),this.state=2055,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=2054,this.match(p.SP)),this.state=2057,this.match(p.T__19)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},Xt.prototype=Object.create(r.ParserRuleContext.prototype),Xt.prototype.constructor=Xt,Xt.prototype.EXISTS=function(){return this.getToken(p.EXISTS,0)},Xt.prototype.enterRule=function(e){e instanceof i&&e.enterExistsFunctionName(this)},Xt.prototype.exitRule=function(e){e instanceof i&&e.exitExistsFunctionName(this)},p.ExistsFunctionNameContext=Xt,p.prototype.existsFunctionName=function(){var e=new Xt(this,this._ctx,this.state);this.enterRule(e,290,p.RULE_existsFunctionName);try{this.enterOuterAlt(e,1),this.state=2059,this.match(p.EXISTS)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},Zt.prototype=Object.create(r.ParserRuleContext.prototype),Zt.prototype.constructor=Zt,Zt.prototype.allFunctionName=function(){return this.getTypedRuleContext(Qt,0)},Zt.prototype.filterExpression=function(){return this.getTypedRuleContext(En,0)},Zt.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},Zt.prototype.enterRule=function(e){e instanceof i&&e.enterAllFunction(this)},Zt.prototype.exitRule=function(e){e instanceof i&&e.exitAllFunction(this)},p.AllFunctionContext=Zt,p.prototype.allFunction=function(){var e=new Zt(this,this._ctx,this.state);this.enterRule(e,292,p.RULE_allFunction);try{this.enterOuterAlt(e,1),this.state=2061,this.allFunctionName(),this.state=2063,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=2062,this.match(p.SP)),this.state=2065,this.match(p.T__18),this.state=2067,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=2066,this.match(p.SP)),this.state=2069,this.filterExpression(),this.state=2071,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=2070,this.match(p.SP)),this.state=2073,this.match(p.T__19)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},Qt.prototype=Object.create(r.ParserRuleContext.prototype),Qt.prototype.constructor=Qt,Qt.prototype.ALL=function(){return this.getToken(p.ALL,0)},Qt.prototype.enterRule=function(e){e instanceof i&&e.enterAllFunctionName(this)},Qt.prototype.exitRule=function(e){e instanceof i&&e.exitAllFunctionName(this)},p.AllFunctionNameContext=Qt,p.prototype.allFunctionName=function(){var e=new Qt(this,this._ctx,this.state);this.enterRule(e,294,p.RULE_allFunctionName);try{this.enterOuterAlt(e,1),this.state=2075,this.match(p.ALL)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},Jt.prototype=Object.create(r.ParserRuleContext.prototype),Jt.prototype.constructor=Jt,Jt.prototype.anyFunctionName=function(){return this.getTypedRuleContext(en,0)},Jt.prototype.filterExpression=function(){return this.getTypedRuleContext(En,0)},Jt.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},Jt.prototype.enterRule=function(e){e instanceof i&&e.enterAnyFunction(this)},Jt.prototype.exitRule=function(e){e instanceof i&&e.exitAnyFunction(this)},p.AnyFunctionContext=Jt,p.prototype.anyFunction=function(){var e=new Jt(this,this._ctx,this.state);this.enterRule(e,296,p.RULE_anyFunction);try{this.enterOuterAlt(e,1),this.state=2077,this.anyFunctionName(),this.state=2079,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=2078,this.match(p.SP)),this.state=2081,this.match(p.T__18),this.state=2083,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=2082,this.match(p.SP)),this.state=2085,this.filterExpression(),this.state=2087,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=2086,this.match(p.SP)),this.state=2089,this.match(p.T__19)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},en.prototype=Object.create(r.ParserRuleContext.prototype),en.prototype.constructor=en,en.prototype.ANY=function(){return this.getToken(p.ANY,0)},en.prototype.enterRule=function(e){e instanceof i&&e.enterAnyFunctionName(this)},en.prototype.exitRule=function(e){e instanceof i&&e.exitAnyFunctionName(this)},p.AnyFunctionNameContext=en,p.prototype.anyFunctionName=function(){var e=new en(this,this._ctx,this.state);this.enterRule(e,298,p.RULE_anyFunctionName);try{this.enterOuterAlt(e,1),this.state=2091,this.match(p.ANY)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},tn.prototype=Object.create(r.ParserRuleContext.prototype),tn.prototype.constructor=tn,tn.prototype.noneFunctionName=function(){return this.getTypedRuleContext(nn,0)},tn.prototype.filterExpression=function(){return this.getTypedRuleContext(En,0)},tn.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},tn.prototype.enterRule=function(e){e instanceof i&&e.enterNoneFunction(this)},tn.prototype.exitRule=function(e){e instanceof i&&e.exitNoneFunction(this)},p.NoneFunctionContext=tn,p.prototype.noneFunction=function(){var e=new tn(this,this._ctx,this.state);this.enterRule(e,300,p.RULE_noneFunction);try{this.enterOuterAlt(e,1),this.state=2093,this.noneFunctionName(),this.state=2095,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=2094,this.match(p.SP)),this.state=2097,this.match(p.T__18),this.state=2099,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=2098,this.match(p.SP)),this.state=2101,this.filterExpression(),this.state=2103,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=2102,this.match(p.SP)),this.state=2105,this.match(p.T__19)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},nn.prototype=Object.create(r.ParserRuleContext.prototype),nn.prototype.constructor=nn,nn.prototype.NONE=function(){return this.getToken(p.NONE,0)},nn.prototype.enterRule=function(e){e instanceof i&&e.enterNoneFunctionName(this)},nn.prototype.exitRule=function(e){e instanceof i&&e.exitNoneFunctionName(this)},p.NoneFunctionNameContext=nn,p.prototype.noneFunctionName=function(){var e=new nn(this,this._ctx,this.state);this.enterRule(e,302,p.RULE_noneFunctionName);try{this.enterOuterAlt(e,1),this.state=2107,this.match(p.NONE)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},rn.prototype=Object.create(r.ParserRuleContext.prototype),rn.prototype.constructor=rn,rn.prototype.singleFunctionName=function(){return this.getTypedRuleContext(on,0)},rn.prototype.filterExpression=function(){return this.getTypedRuleContext(En,0)},rn.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},rn.prototype.enterRule=function(e){e instanceof i&&e.enterSingleFunction(this)},rn.prototype.exitRule=function(e){e instanceof i&&e.exitSingleFunction(this)},p.SingleFunctionContext=rn,p.prototype.singleFunction=function(){var e=new rn(this,this._ctx,this.state);this.enterRule(e,304,p.RULE_singleFunction);try{this.enterOuterAlt(e,1),this.state=2109,this.singleFunctionName(),this.state=2111,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=2110,this.match(p.SP)),this.state=2113,this.match(p.T__18),this.state=2115,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=2114,this.match(p.SP)),this.state=2117,this.filterExpression(),this.state=2119,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=2118,this.match(p.SP)),this.state=2121,this.match(p.T__19)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},on.prototype=Object.create(r.ParserRuleContext.prototype),on.prototype.constructor=on,on.prototype.SINGLE=function(){return this.getToken(p.SINGLE,0)},on.prototype.enterRule=function(e){e instanceof i&&e.enterSingleFunctionName(this)},on.prototype.exitRule=function(e){e instanceof i&&e.exitSingleFunctionName(this)},p.SingleFunctionNameContext=on,p.prototype.singleFunctionName=function(){var e=new on(this,this._ctx,this.state);this.enterRule(e,306,p.RULE_singleFunctionName);try{this.enterOuterAlt(e,1),this.state=2123,this.match(p.SINGLE)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},an.prototype=Object.create(r.ParserRuleContext.prototype),an.prototype.constructor=an,an.prototype.extractFunctionName=function(){return this.getTypedRuleContext(sn,0)},an.prototype.filterExpression=function(){return this.getTypedRuleContext(En,0)},an.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},an.prototype.expression=function(){return this.getTypedRuleContext(Pt,0)},an.prototype.enterRule=function(e){e instanceof i&&e.enterExtractFunction(this)},an.prototype.exitRule=function(e){e instanceof i&&e.exitExtractFunction(this)},p.ExtractFunctionContext=an,p.prototype.extractFunction=function(){var e=new an(this,this._ctx,this.state);this.enterRule(e,308,p.RULE_extractFunction);try{this.enterOuterAlt(e,1),this.state=2125,this.extractFunctionName(),this.state=2127,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=2126,this.match(p.SP)),this.state=2129,this.match(p.T__18),this.state=2131,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=2130,this.match(p.SP)),this.state=2133,this.filterExpression(),this.state=2142,this._errHandler.sync(this),1===this._interp.adaptivePredict(this._input,310,this._ctx)&&(this.state=2135,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=2134,this.match(p.SP)),this.state=2137,this.match(p.T__21),this.state=2139,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=2138,this.match(p.SP)),this.state=2141,this.expression()),this.state=2145,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=2144,this.match(p.SP)),this.state=2147,this.match(p.T__19)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},sn.prototype=Object.create(r.ParserRuleContext.prototype),sn.prototype.constructor=sn,sn.prototype.EXTRACT=function(){return this.getToken(p.EXTRACT,0)},sn.prototype.enterRule=function(e){e instanceof i&&e.enterExtractFunctionName(this)},sn.prototype.exitRule=function(e){e instanceof i&&e.exitExtractFunctionName(this)},p.ExtractFunctionNameContext=sn,p.prototype.extractFunctionName=function(){var e=new sn(this,this._ctx,this.state);this.enterRule(e,310,p.RULE_extractFunctionName);try{this.enterOuterAlt(e,1),this.state=2149,this.match(p.EXTRACT)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},ln.prototype=Object.create(r.ParserRuleContext.prototype),ln.prototype.constructor=ln,ln.prototype.reduceFunctionName=function(){return this.getTypedRuleContext(cn,0)},ln.prototype.variable=function(){return this.getTypedRuleContext(In,0)},ln.prototype.expression=function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(Pt):this.getTypedRuleContext(Pt,e)},ln.prototype.idInColl=function(){return this.getTypedRuleContext(Tn,0)},ln.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},ln.prototype.enterRule=function(e){e instanceof i&&e.enterReduceFunction(this)},ln.prototype.exitRule=function(e){e instanceof i&&e.exitReduceFunction(this)},p.ReduceFunctionContext=ln,p.prototype.reduceFunction=function(){var e=new ln(this,this._ctx,this.state);this.enterRule(e,312,p.RULE_reduceFunction);try{this.enterOuterAlt(e,1),this.state=2151,this.reduceFunctionName(),this.state=2153,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=2152,this.match(p.SP)),this.state=2155,this.match(p.T__18),this.state=2157,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=2156,this.match(p.SP)),this.state=2159,this.variable(),this.state=2161,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=2160,this.match(p.SP)),this.state=2163,this.match(p.T__11),this.state=2165,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=2164,this.match(p.SP)),this.state=2167,this.expression(),this.state=2169,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=2168,this.match(p.SP)),this.state=2171,this.match(p.T__14),this.state=2173,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=2172,this.match(p.SP)),this.state=2175,this.idInColl(),this.state=2177,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=2176,this.match(p.SP)),this.state=2179,this.match(p.T__21),this.state=2181,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=2180,this.match(p.SP)),this.state=2183,this.expression(),this.state=2185,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=2184,this.match(p.SP)),this.state=2187,this.match(p.T__19)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},cn.prototype=Object.create(r.ParserRuleContext.prototype),cn.prototype.constructor=cn,cn.prototype.REDUCE=function(){return this.getToken(p.REDUCE,0)},cn.prototype.enterRule=function(e){e instanceof i&&e.enterReduceFunctionName(this)},cn.prototype.exitRule=function(e){e instanceof i&&e.exitReduceFunctionName(this)},p.ReduceFunctionNameContext=cn,p.prototype.reduceFunctionName=function(){var e=new cn(this,this._ctx,this.state);this.enterRule(e,314,p.RULE_reduceFunctionName);try{this.enterOuterAlt(e,1),this.state=2189,this.match(p.REDUCE)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},un.prototype=Object.create(r.ParserRuleContext.prototype),un.prototype.constructor=un,un.prototype.shortestPathFunctionName=function(){return this.getTypedRuleContext(hn,0)},un.prototype.patternElement=function(){return this.getTypedRuleContext(vt,0)},un.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},un.prototype.allShortestPathFunctionName=function(){return this.getTypedRuleContext(pn,0)},un.prototype.enterRule=function(e){e instanceof i&&e.enterShortestPathPatternFunction(this)},un.prototype.exitRule=function(e){e instanceof i&&e.exitShortestPathPatternFunction(this)},p.ShortestPathPatternFunctionContext=un,p.prototype.shortestPathPatternFunction=function(){var e=new un(this,this._ctx,this.state);this.enterRule(e,316,p.RULE_shortestPathPatternFunction);try{switch(this.state=2219,this._errHandler.sync(this),this._input.LA(1)){case p.SHORTESTPATH:this.enterOuterAlt(e,1),this.state=2191,this.shortestPathFunctionName(),this.state=2193,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=2192,this.match(p.SP)),this.state=2195,this.match(p.T__18),this.state=2197,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=2196,this.match(p.SP)),this.state=2199,this.patternElement(),this.state=2201,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=2200,this.match(p.SP)),this.state=2203,this.match(p.T__19);break;case p.ALLSHORTESTPATHS:this.enterOuterAlt(e,2),this.state=2205,this.allShortestPathFunctionName(),this.state=2207,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=2206,this.match(p.SP)),this.state=2209,this.match(p.T__18),this.state=2211,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=2210,this.match(p.SP)),this.state=2213,this.patternElement(),this.state=2215,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=2214,this.match(p.SP)),this.state=2217,this.match(p.T__19);break;default:throw new r.error.NoViableAltException(this)}}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},hn.prototype=Object.create(r.ParserRuleContext.prototype),hn.prototype.constructor=hn,hn.prototype.SHORTESTPATH=function(){return this.getToken(p.SHORTESTPATH,0)},hn.prototype.enterRule=function(e){e instanceof i&&e.enterShortestPathFunctionName(this)},hn.prototype.exitRule=function(e){e instanceof i&&e.exitShortestPathFunctionName(this)},p.ShortestPathFunctionNameContext=hn,p.prototype.shortestPathFunctionName=function(){var e=new hn(this,this._ctx,this.state);this.enterRule(e,318,p.RULE_shortestPathFunctionName);try{this.enterOuterAlt(e,1),this.state=2221,this.match(p.SHORTESTPATH)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},pn.prototype=Object.create(r.ParserRuleContext.prototype),pn.prototype.constructor=pn,pn.prototype.ALLSHORTESTPATHS=function(){return this.getToken(p.ALLSHORTESTPATHS,0)},pn.prototype.enterRule=function(e){e instanceof i&&e.enterAllShortestPathFunctionName(this)},pn.prototype.exitRule=function(e){e instanceof i&&e.exitAllShortestPathFunctionName(this)},p.AllShortestPathFunctionNameContext=pn,p.prototype.allShortestPathFunctionName=function(){var e=new pn(this,this._ctx,this.state);this.enterRule(e,320,p.RULE_allShortestPathFunctionName);try{this.enterOuterAlt(e,1),this.state=2223,this.match(p.ALLSHORTESTPATHS)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},dn.prototype=Object.create(r.ParserRuleContext.prototype),dn.prototype.constructor=dn,dn.prototype.literal=function(){return this.getTypedRuleContext(fn,0)},dn.prototype.parameter=function(){return this.getTypedRuleContext(jn,0)},dn.prototype.caseExpression=function(){return this.getTypedRuleContext(On,0)},dn.prototype.COUNT=function(){return this.getToken(p.COUNT,0)},dn.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},dn.prototype.listComprehension=function(){return this.getTypedRuleContext(Rn,0)},dn.prototype.patternComprehension=function(){return this.getTypedRuleContext(wn,0)},dn.prototype.filterFunction=function(){return this.getTypedRuleContext(Vt,0)},dn.prototype.extractFunction=function(){return this.getTypedRuleContext(an,0)},dn.prototype.reduceFunction=function(){return this.getTypedRuleContext(ln,0)},dn.prototype.allFunction=function(){return this.getTypedRuleContext(Zt,0)},dn.prototype.anyFunction=function(){return this.getTypedRuleContext(Jt,0)},dn.prototype.noneFunction=function(){return this.getTypedRuleContext(tn,0)},dn.prototype.singleFunction=function(){return this.getTypedRuleContext(rn,0)},dn.prototype.existsFunction=function(){return this.getTypedRuleContext(qt,0)},dn.prototype.shortestPathPatternFunction=function(){return this.getTypedRuleContext(un,0)},dn.prototype.relationshipsPattern=function(){return this.getTypedRuleContext(bn,0)},dn.prototype.parenthesizedExpression=function(){return this.getTypedRuleContext(_n,0)},dn.prototype.functionInvocation=function(){return this.getTypedRuleContext(xn,0)},dn.prototype.variable=function(){return this.getTypedRuleContext(In,0)},dn.prototype.enterRule=function(e){e instanceof i&&e.enterAtom(this)},dn.prototype.exitRule=function(e){e instanceof i&&e.exitAtom(this)},p.AtomContext=dn,p.prototype.atom=function(){var e=new dn(this,this._ctx,this.state);this.enterRule(e,322,p.RULE_atom);try{switch(this.state=2256,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,331,this._ctx)){case 1:this.enterOuterAlt(e,1),this.state=2225,this.literal();break;case 2:this.enterOuterAlt(e,2),this.state=2226,this.parameter();break;case 3:this.enterOuterAlt(e,3),this.state=2227,this.caseExpression();break;case 4:this.enterOuterAlt(e,4),this.state=2228,this.match(p.COUNT),this.state=2230,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=2229,this.match(p.SP)),this.state=2232,this.match(p.T__18),this.state=2234,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=2233,this.match(p.SP)),this.state=2236,this.match(p.T__22),this.state=2238,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=2237,this.match(p.SP)),this.state=2240,this.match(p.T__19);break;case 5:this.enterOuterAlt(e,5),this.state=2241,this.listComprehension();break;case 6:this.enterOuterAlt(e,6),this.state=2242,this.patternComprehension();break;case 7:this.enterOuterAlt(e,7),this.state=2243,this.filterFunction();break;case 8:this.enterOuterAlt(e,8),this.state=2244,this.extractFunction();break;case 9:this.enterOuterAlt(e,9),this.state=2245,this.reduceFunction();break;case 10:this.enterOuterAlt(e,10),this.state=2246,this.allFunction();break;case 11:this.enterOuterAlt(e,11),this.state=2247,this.anyFunction();break;case 12:this.enterOuterAlt(e,12),this.state=2248,this.noneFunction();break;case 13:this.enterOuterAlt(e,13),this.state=2249,this.singleFunction();break;case 14:this.enterOuterAlt(e,14),this.state=2250,this.existsFunction();break;case 15:this.enterOuterAlt(e,15),this.state=2251,this.shortestPathPatternFunction();break;case 16:this.enterOuterAlt(e,16),this.state=2252,this.relationshipsPattern();break;case 17:this.enterOuterAlt(e,17),this.state=2253,this.parenthesizedExpression();break;case 18:this.enterOuterAlt(e,18),this.state=2254,this.functionInvocation();break;case 19:this.enterOuterAlt(e,19),this.state=2255,this.variable()}}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},fn.prototype=Object.create(r.ParserRuleContext.prototype),fn.prototype.constructor=fn,fn.prototype.numberLiteral=function(){return this.getTypedRuleContext(kn,0)},fn.prototype.stringLiteral=function(){return this.getTypedRuleContext(mn,0)},fn.prototype.booleanLiteral=function(){return this.getTypedRuleContext(gn,0)},fn.prototype.NULL=function(){return this.getToken(p.NULL,0)},fn.prototype.mapLiteral=function(){return this.getTypedRuleContext(Dn,0)},fn.prototype.listLiteral=function(){return this.getTypedRuleContext(yn,0)},fn.prototype.mapProjection=function(){return this.getTypedRuleContext(Pn,0)},fn.prototype.enterRule=function(e){e instanceof i&&e.enterLiteral(this)},fn.prototype.exitRule=function(e){e instanceof i&&e.exitLiteral(this)},p.LiteralContext=fn,p.prototype.literal=function(){var e=new fn(this,this._ctx,this.state);this.enterRule(e,324,p.RULE_literal);try{switch(this.state=2265,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,332,this._ctx)){case 1:this.enterOuterAlt(e,1),this.state=2258,this.numberLiteral();break;case 2:this.enterOuterAlt(e,2),this.state=2259,this.stringLiteral();break;case 3:this.enterOuterAlt(e,3),this.state=2260,this.booleanLiteral();break;case 4:this.enterOuterAlt(e,4),this.state=2261,this.match(p.NULL);break;case 5:this.enterOuterAlt(e,5),this.state=2262,this.mapLiteral();break;case 6:this.enterOuterAlt(e,6),this.state=2263,this.listLiteral();break;case 7:this.enterOuterAlt(e,7),this.state=2264,this.mapProjection()}}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},mn.prototype=Object.create(r.ParserRuleContext.prototype),mn.prototype.constructor=mn,mn.prototype.StringLiteral=function(){return this.getToken(p.StringLiteral,0)},mn.prototype.enterRule=function(e){e instanceof i&&e.enterStringLiteral(this)},mn.prototype.exitRule=function(e){e instanceof i&&e.exitStringLiteral(this)},p.StringLiteralContext=mn,p.prototype.stringLiteral=function(){var e=new mn(this,this._ctx,this.state);this.enterRule(e,326,p.RULE_stringLiteral);try{this.enterOuterAlt(e,1),this.state=2267,this.match(p.StringLiteral)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},gn.prototype=Object.create(r.ParserRuleContext.prototype),gn.prototype.constructor=gn,gn.prototype.TRUE=function(){return this.getToken(p.TRUE,0)},gn.prototype.FALSE=function(){return this.getToken(p.FALSE,0)},gn.prototype.enterRule=function(e){e instanceof i&&e.enterBooleanLiteral(this)},gn.prototype.exitRule=function(e){e instanceof i&&e.exitBooleanLiteral(this)},p.BooleanLiteralContext=gn,p.prototype.booleanLiteral=function(){var e=new gn(this,this._ctx,this.state);this.enterRule(e,328,p.RULE_booleanLiteral);var t=0;try{this.enterOuterAlt(e,1),this.state=2269,(t=this._input.LA(1))!==p.TRUE&&t!==p.FALSE?this._errHandler.recoverInline(this):(this._errHandler.reportMatch(this),this.consume())}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},yn.prototype=Object.create(r.ParserRuleContext.prototype),yn.prototype.constructor=yn,yn.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},yn.prototype.expression=function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(Pt):this.getTypedRuleContext(Pt,e)},yn.prototype.enterRule=function(e){e instanceof i&&e.enterListLiteral(this)},yn.prototype.exitRule=function(e){e instanceof i&&e.exitListLiteral(this)},p.ListLiteralContext=yn,p.prototype.listLiteral=function(){var e=new yn(this,this._ctx,this.state);this.enterRule(e,330,p.RULE_listLiteral);var t=0;try{if(this.enterOuterAlt(e,1),this.state=2271,this.match(p.T__16),this.state=2273,this._errHandler.sync(this),(t=this._input.LA(1))===p.SP&&(this.state=2272,this.match(p.SP)),this.state=2292,this._errHandler.sync(this),0==((t=this._input.LA(1))-3&-32)&&0!=(1<<t-3&(1<<p.T__2-3|1<<p.T__12-3|1<<p.T__13-3|1<<p.T__16-3|1<<p.T__18-3|1<<p.T__33-3))||0==(t-54&-32)&&0!=(1<<t-54&(1<<p.CYPHER-54|1<<p.EXPLAIN-54|1<<p.PROFILE-54|1<<p.USING-54|1<<p.PERIODIC-54|1<<p.COMMIT-54|1<<p.UNION-54|1<<p.ALL-54|1<<p.CREATE-54|1<<p.DROP-54|1<<p.INDEX-54|1<<p.ON-54|1<<p.CONSTRAINT-54|1<<p.ASSERT-54|1<<p.IS-54|1<<p.UNIQUE-54|1<<p.EXISTS-54|1<<p.LOAD-54|1<<p.CSV-54|1<<p.WITH-54|1<<p.HEADERS-54|1<<p.FROM-54|1<<p.AS-54|1<<p.FIELDTERMINATOR-54|1<<p.OPTIONAL-54|1<<p.MATCH-54|1<<p.UNWIND-54|1<<p.MERGE-54|1<<p.SET-54|1<<p.DETACH-54|1<<p.DELETE-54|1<<p.REMOVE-54))||0==(t-86&-32)&&0!=(1<<t-86&(1<<p.FOREACH-86|1<<p.IN-86|1<<p.DISTINCT-86|1<<p.RETURN-86|1<<p.ORDER-86|1<<p.BY-86|1<<p.L_SKIP-86|1<<p.LIMIT-86|1<<p.ASCENDING-86|1<<p.ASC-86|1<<p.DESCENDING-86|1<<p.DESC-86|1<<p.JOIN-86|1<<p.SCAN-86|1<<p.START-86|1<<p.NODE-86|1<<p.RELATIONSHIP-86|1<<p.REL-86|1<<p.WHERE-86|1<<p.SHORTESTPATH-86|1<<p.ALLSHORTESTPATHS-86|1<<p.OR-86|1<<p.XOR-86|1<<p.AND-86|1<<p.NOT-86|1<<p.STARTS-86|1<<p.ENDS-86|1<<p.CONTAINS-86|1<<p.NULL-86|1<<p.COUNT-86|1<<p.FILTER-86|1<<p.EXTRACT-86))||0==(t-118&-32)&&0!=(1<<t-118&(1<<p.ANY-118|1<<p.NONE-118|1<<p.SINGLE-118|1<<p.TRUE-118|1<<p.FALSE-118|1<<p.REDUCE-118|1<<p.CASE-118|1<<p.ELSE-118|1<<p.END-118|1<<p.WHEN-118|1<<p.THEN-118|1<<p.CALL-118|1<<p.YIELD-118|1<<p.KEY-118|1<<p.BTREE-118|1<<p.EXIST-118|1<<p.FOR-118|1<<p.OPTIONS-118|1<<p.EXECUTE-118|1<<p.DEFINED-118|1<<p.FUNCTION-118|1<<p.FUNCTIONS-118|1<<p.BOOSTED-118|1<<p.PROCEDURE-118|1<<p.PROCEDURES-118|1<<p.ADMIN-118|1<<p.ADMINISTRATOR-118|1<<p.BRIEF-118|1<<p.VERBOSE-118|1<<p.OUTPUT-118|1<<p.StringLiteral-118))||0==(t-151&-32)&&0!=(1<<t-151&(1<<p.HexInteger-151|1<<p.DecimalInteger-151|1<<p.OctalInteger-151|1<<p.HexLetter-151|1<<p.ExponentDecimalReal-151|1<<p.RegularDecimalReal-151|1<<p.UnescapedSymbolicName-151|1<<p.EscapedSymbolicName-151)))for(this.state=2275,this.expression(),this.state=2277,this._errHandler.sync(this),(t=this._input.LA(1))===p.SP&&(this.state=2276,this.match(p.SP)),this.state=2289,this._errHandler.sync(this),t=this._input.LA(1);t===p.T__14;)this.state=2279,this.match(p.T__14),this.state=2281,this._errHandler.sync(this),(t=this._input.LA(1))===p.SP&&(this.state=2280,this.match(p.SP)),this.state=2283,this.expression(),this.state=2285,this._errHandler.sync(this),(t=this._input.LA(1))===p.SP&&(this.state=2284,this.match(p.SP)),this.state=2291,this._errHandler.sync(this),t=this._input.LA(1);this.state=2294,this.match(p.T__17)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},vn.prototype=Object.create(r.ParserRuleContext.prototype),vn.prototype.constructor=vn,vn.prototype.addOrSubtractExpression=function(){return this.getTypedRuleContext(jt,0)},vn.prototype.SP=function(){return this.getToken(p.SP,0)},vn.prototype.enterRule=function(e){e instanceof i&&e.enterPartialComparisonExpression(this)},vn.prototype.exitRule=function(e){e instanceof i&&e.exitPartialComparisonExpression(this)},p.PartialComparisonExpressionContext=vn,p.prototype.partialComparisonExpression=function(){var e=new vn(this,this._ctx,this.state);this.enterRule(e,332,p.RULE_partialComparisonExpression);try{switch(this.state=2331,this._errHandler.sync(this),this._input.LA(1)){case p.T__11:this.enterOuterAlt(e,1),this.state=2296,this.match(p.T__11),this.state=2298,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=2297,this.match(p.SP)),this.state=2300,this.addOrSubtractExpression();break;case p.T__27:this.enterOuterAlt(e,2),this.state=2301,this.match(p.T__27),this.state=2303,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=2302,this.match(p.SP)),this.state=2305,this.addOrSubtractExpression();break;case p.T__28:this.enterOuterAlt(e,3),this.state=2306,this.match(p.T__28),this.state=2308,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=2307,this.match(p.SP)),this.state=2310,this.addOrSubtractExpression();break;case p.T__29:this.enterOuterAlt(e,4),this.state=2311,this.match(p.T__29),this.state=2313,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=2312,this.match(p.SP)),this.state=2315,this.addOrSubtractExpression();break;case p.T__30:this.enterOuterAlt(e,5),this.state=2316,this.match(p.T__30),this.state=2318,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=2317,this.match(p.SP)),this.state=2320,this.addOrSubtractExpression();break;case p.T__31:this.enterOuterAlt(e,6),this.state=2321,this.match(p.T__31),this.state=2323,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=2322,this.match(p.SP)),this.state=2325,this.addOrSubtractExpression();break;case p.T__32:this.enterOuterAlt(e,7),this.state=2326,this.match(p.T__32),this.state=2328,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=2327,this.match(p.SP)),this.state=2330,this.addOrSubtractExpression();break;default:throw new r.error.NoViableAltException(this)}}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},_n.prototype=Object.create(r.ParserRuleContext.prototype),_n.prototype.constructor=_n,_n.prototype.expression=function(){return this.getTypedRuleContext(Pt,0)},_n.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},_n.prototype.enterRule=function(e){e instanceof i&&e.enterParenthesizedExpression(this)},_n.prototype.exitRule=function(e){e instanceof i&&e.exitParenthesizedExpression(this)},p.ParenthesizedExpressionContext=_n,p.prototype.parenthesizedExpression=function(){var e=new _n(this,this._ctx,this.state);this.enterRule(e,334,p.RULE_parenthesizedExpression);try{this.enterOuterAlt(e,1),this.state=2333,this.match(p.T__18),this.state=2335,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=2334,this.match(p.SP)),this.state=2337,this.expression(),this.state=2339,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=2338,this.match(p.SP)),this.state=2341,this.match(p.T__19)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},bn.prototype=Object.create(r.ParserRuleContext.prototype),bn.prototype.constructor=bn,bn.prototype.nodePattern=function(){return this.getTypedRuleContext(_t,0)},bn.prototype.patternElementChain=function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(bt):this.getTypedRuleContext(bt,e)},bn.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},bn.prototype.enterRule=function(e){e instanceof i&&e.enterRelationshipsPattern(this)},bn.prototype.exitRule=function(e){e instanceof i&&e.exitRelationshipsPattern(this)},p.RelationshipsPatternContext=bn,p.prototype.relationshipsPattern=function(){var e=new bn(this,this._ctx,this.state);this.enterRule(e,336,p.RULE_relationshipsPattern);try{this.enterOuterAlt(e,1),this.state=2343,this.nodePattern(),this.state=2348,this._errHandler.sync(this);var t=1;do{if(1!==t)throw new r.error.NoViableAltException(this);this.state=2345,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=2344,this.match(p.SP)),this.state=2347,this.patternElementChain(),this.state=2350,this._errHandler.sync(this),t=this._interp.adaptivePredict(this._input,350,this._ctx)}while(2!=t&&t!=r.atn.ATN.INVALID_ALT_NUMBER)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},En.prototype=Object.create(r.ParserRuleContext.prototype),En.prototype.constructor=En,En.prototype.idInColl=function(){return this.getTypedRuleContext(Tn,0)},En.prototype.where=function(){return this.getTypedRuleContext(ft,0)},En.prototype.SP=function(){return this.getToken(p.SP,0)},En.prototype.enterRule=function(e){e instanceof i&&e.enterFilterExpression(this)},En.prototype.exitRule=function(e){e instanceof i&&e.exitFilterExpression(this)},p.FilterExpressionContext=En,p.prototype.filterExpression=function(){var e=new En(this,this._ctx,this.state);this.enterRule(e,338,p.RULE_filterExpression);try{this.enterOuterAlt(e,1),this.state=2352,this.idInColl(),this.state=2357,this._errHandler.sync(this),1===this._interp.adaptivePredict(this._input,352,this._ctx)&&(this.state=2354,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=2353,this.match(p.SP)),this.state=2356,this.where())}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},Tn.prototype=Object.create(r.ParserRuleContext.prototype),Tn.prototype.constructor=Tn,Tn.prototype.variable=function(){return this.getTypedRuleContext(In,0)},Tn.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},Tn.prototype.IN=function(){return this.getToken(p.IN,0)},Tn.prototype.expression=function(){return this.getTypedRuleContext(Pt,0)},Tn.prototype.enterRule=function(e){e instanceof i&&e.enterIdInColl(this)},Tn.prototype.exitRule=function(e){e instanceof i&&e.exitIdInColl(this)},p.IdInCollContext=Tn,p.prototype.idInColl=function(){var e=new Tn(this,this._ctx,this.state);this.enterRule(e,340,p.RULE_idInColl);try{this.enterOuterAlt(e,1),this.state=2359,this.variable(),this.state=2360,this.match(p.SP),this.state=2361,this.match(p.IN),this.state=2362,this.match(p.SP),this.state=2363,this.expression()}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},xn.prototype=Object.create(r.ParserRuleContext.prototype),xn.prototype.constructor=xn,xn.prototype.functionInvocationBody=function(){return this.getTypedRuleContext(Sn,0)},xn.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},xn.prototype.DISTINCT=function(){return this.getToken(p.DISTINCT,0)},xn.prototype.expression=function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(Pt):this.getTypedRuleContext(Pt,e)},xn.prototype.enterRule=function(e){e instanceof i&&e.enterFunctionInvocation(this)},xn.prototype.exitRule=function(e){e instanceof i&&e.exitFunctionInvocation(this)},p.FunctionInvocationContext=xn,p.prototype.functionInvocation=function(){var e=new xn(this,this._ctx,this.state);this.enterRule(e,342,p.RULE_functionInvocation);var t=0;try{if(this.enterOuterAlt(e,1),this.state=2365,this.functionInvocationBody(),this.state=2367,this._errHandler.sync(this),(t=this._input.LA(1))===p.SP&&(this.state=2366,this.match(p.SP)),this.state=2369,this.match(p.T__18),this.state=2371,this._errHandler.sync(this),(t=this._input.LA(1))===p.SP&&(this.state=2370,this.match(p.SP)),this.state=2377,this._errHandler.sync(this),1===this._interp.adaptivePredict(this._input,356,this._ctx)&&(this.state=2373,this.match(p.DISTINCT),this.state=2375,this._errHandler.sync(this),(t=this._input.LA(1))===p.SP&&(this.state=2374,this.match(p.SP))),this.state=2396,this._errHandler.sync(this),0==((t=this._input.LA(1))-3&-32)&&0!=(1<<t-3&(1<<p.T__2-3|1<<p.T__12-3|1<<p.T__13-3|1<<p.T__16-3|1<<p.T__18-3|1<<p.T__33-3))||0==(t-54&-32)&&0!=(1<<t-54&(1<<p.CYPHER-54|1<<p.EXPLAIN-54|1<<p.PROFILE-54|1<<p.USING-54|1<<p.PERIODIC-54|1<<p.COMMIT-54|1<<p.UNION-54|1<<p.ALL-54|1<<p.CREATE-54|1<<p.DROP-54|1<<p.INDEX-54|1<<p.ON-54|1<<p.CONSTRAINT-54|1<<p.ASSERT-54|1<<p.IS-54|1<<p.UNIQUE-54|1<<p.EXISTS-54|1<<p.LOAD-54|1<<p.CSV-54|1<<p.WITH-54|1<<p.HEADERS-54|1<<p.FROM-54|1<<p.AS-54|1<<p.FIELDTERMINATOR-54|1<<p.OPTIONAL-54|1<<p.MATCH-54|1<<p.UNWIND-54|1<<p.MERGE-54|1<<p.SET-54|1<<p.DETACH-54|1<<p.DELETE-54|1<<p.REMOVE-54))||0==(t-86&-32)&&0!=(1<<t-86&(1<<p.FOREACH-86|1<<p.IN-86|1<<p.DISTINCT-86|1<<p.RETURN-86|1<<p.ORDER-86|1<<p.BY-86|1<<p.L_SKIP-86|1<<p.LIMIT-86|1<<p.ASCENDING-86|1<<p.ASC-86|1<<p.DESCENDING-86|1<<p.DESC-86|1<<p.JOIN-86|1<<p.SCAN-86|1<<p.START-86|1<<p.NODE-86|1<<p.RELATIONSHIP-86|1<<p.REL-86|1<<p.WHERE-86|1<<p.SHORTESTPATH-86|1<<p.ALLSHORTESTPATHS-86|1<<p.OR-86|1<<p.XOR-86|1<<p.AND-86|1<<p.NOT-86|1<<p.STARTS-86|1<<p.ENDS-86|1<<p.CONTAINS-86|1<<p.NULL-86|1<<p.COUNT-86|1<<p.FILTER-86|1<<p.EXTRACT-86))||0==(t-118&-32)&&0!=(1<<t-118&(1<<p.ANY-118|1<<p.NONE-118|1<<p.SINGLE-118|1<<p.TRUE-118|1<<p.FALSE-118|1<<p.REDUCE-118|1<<p.CASE-118|1<<p.ELSE-118|1<<p.END-118|1<<p.WHEN-118|1<<p.THEN-118|1<<p.CALL-118|1<<p.YIELD-118|1<<p.KEY-118|1<<p.BTREE-118|1<<p.EXIST-118|1<<p.FOR-118|1<<p.OPTIONS-118|1<<p.EXECUTE-118|1<<p.DEFINED-118|1<<p.FUNCTION-118|1<<p.FUNCTIONS-118|1<<p.BOOSTED-118|1<<p.PROCEDURE-118|1<<p.PROCEDURES-118|1<<p.ADMIN-118|1<<p.ADMINISTRATOR-118|1<<p.BRIEF-118|1<<p.VERBOSE-118|1<<p.OUTPUT-118|1<<p.StringLiteral-118))||0==(t-151&-32)&&0!=(1<<t-151&(1<<p.HexInteger-151|1<<p.DecimalInteger-151|1<<p.OctalInteger-151|1<<p.HexLetter-151|1<<p.ExponentDecimalReal-151|1<<p.RegularDecimalReal-151|1<<p.UnescapedSymbolicName-151|1<<p.EscapedSymbolicName-151)))for(this.state=2379,this.expression(),this.state=2381,this._errHandler.sync(this),(t=this._input.LA(1))===p.SP&&(this.state=2380,this.match(p.SP)),this.state=2393,this._errHandler.sync(this),t=this._input.LA(1);t===p.T__14;)this.state=2383,this.match(p.T__14),this.state=2385,this._errHandler.sync(this),(t=this._input.LA(1))===p.SP&&(this.state=2384,this.match(p.SP)),this.state=2387,this.expression(),this.state=2389,this._errHandler.sync(this),(t=this._input.LA(1))===p.SP&&(this.state=2388,this.match(p.SP)),this.state=2395,this._errHandler.sync(this),t=this._input.LA(1);this.state=2398,this.match(p.T__19)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},Sn.prototype=Object.create(r.ParserRuleContext.prototype),Sn.prototype.constructor=Sn,Sn.prototype.namespace=function(){return this.getTypedRuleContext(Zn,0)},Sn.prototype.functionName=function(){return this.getTypedRuleContext(Cn,0)},Sn.prototype.enterRule=function(e){e instanceof i&&e.enterFunctionInvocationBody(this)},Sn.prototype.exitRule=function(e){e instanceof i&&e.exitFunctionInvocationBody(this)},p.FunctionInvocationBodyContext=Sn,p.prototype.functionInvocationBody=function(){var e=new Sn(this,this._ctx,this.state);this.enterRule(e,344,p.RULE_functionInvocationBody);try{this.enterOuterAlt(e,1),this.state=2400,this.namespace(),this.state=2401,this.functionName()}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},Cn.prototype=Object.create(r.ParserRuleContext.prototype),Cn.prototype.constructor=Cn,Cn.prototype.UnescapedSymbolicName=function(){return this.getToken(p.UnescapedSymbolicName,0)},Cn.prototype.EscapedSymbolicName=function(){return this.getToken(p.EscapedSymbolicName,0)},Cn.prototype.COUNT=function(){return this.getToken(p.COUNT,0)},Cn.prototype.enterRule=function(e){e instanceof i&&e.enterFunctionName(this)},Cn.prototype.exitRule=function(e){e instanceof i&&e.exitFunctionName(this)},p.FunctionNameContext=Cn,p.prototype.functionName=function(){var e=new Cn(this,this._ctx,this.state);this.enterRule(e,346,p.RULE_functionName);var t=0;try{this.enterOuterAlt(e,1),this.state=2403,(t=this._input.LA(1))!==p.COUNT&&t!==p.UnescapedSymbolicName&&t!==p.EscapedSymbolicName?this._errHandler.recoverInline(this):(this._errHandler.reportMatch(this),this.consume())}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},An.prototype=Object.create(r.ParserRuleContext.prototype),An.prototype.constructor=An,An.prototype.symbolicName=function(){return this.getTypedRuleContext(tr,0)},An.prototype.enterRule=function(e){e instanceof i&&e.enterProcedureName(this)},An.prototype.exitRule=function(e){e instanceof i&&e.exitProcedureName(this)},p.ProcedureNameContext=An,p.prototype.procedureName=function(){var e=new An(this,this._ctx,this.state);this.enterRule(e,348,p.RULE_procedureName);try{this.enterOuterAlt(e,1),this.state=2405,this.symbolicName()}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},Rn.prototype=Object.create(r.ParserRuleContext.prototype),Rn.prototype.constructor=Rn,Rn.prototype.filterExpression=function(){return this.getTypedRuleContext(En,0)},Rn.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},Rn.prototype.expression=function(){return this.getTypedRuleContext(Pt,0)},Rn.prototype.enterRule=function(e){e instanceof i&&e.enterListComprehension(this)},Rn.prototype.exitRule=function(e){e instanceof i&&e.exitListComprehension(this)},p.ListComprehensionContext=Rn,p.prototype.listComprehension=function(){var e=new Rn(this,this._ctx,this.state);this.enterRule(e,350,p.RULE_listComprehension);try{this.enterOuterAlt(e,1),this.state=2407,this.match(p.T__16),this.state=2409,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=2408,this.match(p.SP)),this.state=2411,this.filterExpression(),this.state=2420,this._errHandler.sync(this),1===this._interp.adaptivePredict(this._input,365,this._ctx)&&(this.state=2413,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=2412,this.match(p.SP)),this.state=2415,this.match(p.T__21),this.state=2417,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=2416,this.match(p.SP)),this.state=2419,this.expression()),this.state=2423,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=2422,this.match(p.SP)),this.state=2425,this.match(p.T__17)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},wn.prototype=Object.create(r.ParserRuleContext.prototype),wn.prototype.constructor=wn,wn.prototype.relationshipsPattern=function(){return this.getTypedRuleContext(bn,0)},wn.prototype.expression=function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(Pt):this.getTypedRuleContext(Pt,e)},wn.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},wn.prototype.variable=function(){return this.getTypedRuleContext(In,0)},wn.prototype.WHERE=function(){return this.getToken(p.WHERE,0)},wn.prototype.enterRule=function(e){e instanceof i&&e.enterPatternComprehension(this)},wn.prototype.exitRule=function(e){e instanceof i&&e.exitPatternComprehension(this)},p.PatternComprehensionContext=wn,p.prototype.patternComprehension=function(){var e=new wn(this,this._ctx,this.state);this.enterRule(e,352,p.RULE_patternComprehension);var t=0;try{this.enterOuterAlt(e,1),this.state=2427,this.match(p.T__16),this.state=2429,this._errHandler.sync(this),(t=this._input.LA(1))===p.SP&&(this.state=2428,this.match(p.SP)),this.state=2439,this._errHandler.sync(this),(0==((t=this._input.LA(1))-54&-32)&&0!=(1<<t-54&(1<<p.CYPHER-54|1<<p.EXPLAIN-54|1<<p.PROFILE-54|1<<p.USING-54|1<<p.PERIODIC-54|1<<p.COMMIT-54|1<<p.UNION-54|1<<p.ALL-54|1<<p.CREATE-54|1<<p.DROP-54|1<<p.INDEX-54|1<<p.ON-54|1<<p.CONSTRAINT-54|1<<p.ASSERT-54|1<<p.IS-54|1<<p.UNIQUE-54|1<<p.EXISTS-54|1<<p.LOAD-54|1<<p.CSV-54|1<<p.WITH-54|1<<p.HEADERS-54|1<<p.FROM-54|1<<p.AS-54|1<<p.FIELDTERMINATOR-54|1<<p.OPTIONAL-54|1<<p.MATCH-54|1<<p.UNWIND-54|1<<p.MERGE-54|1<<p.SET-54|1<<p.DETACH-54|1<<p.DELETE-54|1<<p.REMOVE-54))||0==(t-86&-32)&&0!=(1<<t-86&(1<<p.FOREACH-86|1<<p.IN-86|1<<p.DISTINCT-86|1<<p.RETURN-86|1<<p.ORDER-86|1<<p.BY-86|1<<p.L_SKIP-86|1<<p.LIMIT-86|1<<p.ASCENDING-86|1<<p.ASC-86|1<<p.DESCENDING-86|1<<p.DESC-86|1<<p.JOIN-86|1<<p.SCAN-86|1<<p.START-86|1<<p.NODE-86|1<<p.RELATIONSHIP-86|1<<p.REL-86|1<<p.WHERE-86|1<<p.SHORTESTPATH-86|1<<p.ALLSHORTESTPATHS-86|1<<p.OR-86|1<<p.XOR-86|1<<p.AND-86|1<<p.NOT-86|1<<p.STARTS-86|1<<p.ENDS-86|1<<p.CONTAINS-86|1<<p.NULL-86|1<<p.COUNT-86|1<<p.FILTER-86|1<<p.EXTRACT-86))||0==(t-118&-32)&&0!=(1<<t-118&(1<<p.ANY-118|1<<p.NONE-118|1<<p.SINGLE-118|1<<p.TRUE-118|1<<p.FALSE-118|1<<p.REDUCE-118|1<<p.CASE-118|1<<p.ELSE-118|1<<p.END-118|1<<p.WHEN-118|1<<p.THEN-118|1<<p.CALL-118|1<<p.YIELD-118|1<<p.KEY-118|1<<p.BTREE-118|1<<p.EXIST-118|1<<p.FOR-118|1<<p.OPTIONS-118|1<<p.EXECUTE-118|1<<p.DEFINED-118|1<<p.FUNCTION-118|1<<p.FUNCTIONS-118|1<<p.BOOSTED-118|1<<p.PROCEDURE-118|1<<p.PROCEDURES-118|1<<p.ADMIN-118|1<<p.ADMINISTRATOR-118|1<<p.BRIEF-118|1<<p.VERBOSE-118|1<<p.OUTPUT-118))||0==(t-154&-32)&&0!=(1<<t-154&(1<<p.HexLetter-154|1<<p.UnescapedSymbolicName-154|1<<p.EscapedSymbolicName-154)))&&(this.state=2431,this.variable(),this.state=2433,this._errHandler.sync(this),(t=this._input.LA(1))===p.SP&&(this.state=2432,this.match(p.SP)),this.state=2435,this.match(p.T__11),this.state=2437,this._errHandler.sync(this),(t=this._input.LA(1))===p.SP&&(this.state=2436,this.match(p.SP))),this.state=2441,this.relationshipsPattern(),this.state=2443,this._errHandler.sync(this),(t=this._input.LA(1))===p.SP&&(this.state=2442,this.match(p.SP)),this.state=2453,this._errHandler.sync(this),(t=this._input.LA(1))===p.WHERE&&(this.state=2445,this.match(p.WHERE),this.state=2447,this._errHandler.sync(this),(t=this._input.LA(1))===p.SP&&(this.state=2446,this.match(p.SP)),this.state=2449,this.expression(),this.state=2451,this._errHandler.sync(this),(t=this._input.LA(1))===p.SP&&(this.state=2450,this.match(p.SP))),this.state=2455,this.match(p.T__21),this.state=2457,this._errHandler.sync(this),(t=this._input.LA(1))===p.SP&&(this.state=2456,this.match(p.SP)),this.state=2459,this.expression(),this.state=2461,this._errHandler.sync(this),(t=this._input.LA(1))===p.SP&&(this.state=2460,this.match(p.SP)),this.state=2463,this.match(p.T__17)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},Ln.prototype=Object.create(r.ParserRuleContext.prototype),Ln.prototype.constructor=Ln,Ln.prototype.propertyKeyName=function(){return this.getTypedRuleContext(Kn,0)},Ln.prototype.SP=function(){return this.getToken(p.SP,0)},Ln.prototype.enterRule=function(e){e instanceof i&&e.enterPropertyLookup(this)},Ln.prototype.exitRule=function(e){e instanceof i&&e.exitPropertyLookup(this)},p.PropertyLookupContext=Ln,p.prototype.propertyLookup=function(){var e=new Ln(this,this._ctx,this.state);this.enterRule(e,354,p.RULE_propertyLookup);try{this.enterOuterAlt(e,1),this.state=2465,this.match(p.T__6),this.state=2467,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=2466,this.match(p.SP)),this.state=2469,this.propertyKeyName()}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},On.prototype=Object.create(r.ParserRuleContext.prototype),On.prototype.constructor=On,On.prototype.END=function(){return this.getToken(p.END,0)},On.prototype.ELSE=function(){return this.getToken(p.ELSE,0)},On.prototype.expression=function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(Pt):this.getTypedRuleContext(Pt,e)},On.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},On.prototype.CASE=function(){return this.getToken(p.CASE,0)},On.prototype.caseAlternatives=function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(Nn):this.getTypedRuleContext(Nn,e)},On.prototype.enterRule=function(e){e instanceof i&&e.enterCaseExpression(this)},On.prototype.exitRule=function(e){e instanceof i&&e.exitCaseExpression(this)},p.CaseExpressionContext=On,p.prototype.caseExpression=function(){var e=new On(this,this._ctx,this.state);this.enterRule(e,356,p.RULE_caseExpression);try{switch(this.enterOuterAlt(e,1),this.state=2493,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,383,this._ctx)){case 1:this.state=2471,this.match(p.CASE),this.state=2476,this._errHandler.sync(this);var t=1;do{if(1!==t)throw new r.error.NoViableAltException(this);this.state=2473,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=2472,this.match(p.SP)),this.state=2475,this.caseAlternatives(),this.state=2478,this._errHandler.sync(this),t=this._interp.adaptivePredict(this._input,379,this._ctx)}while(2!=t&&t!=r.atn.ATN.INVALID_ALT_NUMBER);break;case 2:this.state=2480,this.match(p.CASE),this.state=2482,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=2481,this.match(p.SP)),this.state=2484,this.expression(),this.state=2489,this._errHandler.sync(this),t=1;do{if(1!==t)throw new r.error.NoViableAltException(this);this.state=2486,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=2485,this.match(p.SP)),this.state=2488,this.caseAlternatives(),this.state=2491,this._errHandler.sync(this),t=this._interp.adaptivePredict(this._input,382,this._ctx)}while(2!=t&&t!=r.atn.ATN.INVALID_ALT_NUMBER)}this.state=2503,this._errHandler.sync(this),1===this._interp.adaptivePredict(this._input,386,this._ctx)&&(this.state=2496,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=2495,this.match(p.SP)),this.state=2498,this.match(p.ELSE),this.state=2500,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=2499,this.match(p.SP)),this.state=2502,this.expression()),this.state=2506,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=2505,this.match(p.SP)),this.state=2508,this.match(p.END)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},Nn.prototype=Object.create(r.ParserRuleContext.prototype),Nn.prototype.constructor=Nn,Nn.prototype.WHEN=function(){return this.getToken(p.WHEN,0)},Nn.prototype.expression=function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(Pt):this.getTypedRuleContext(Pt,e)},Nn.prototype.THEN=function(){return this.getToken(p.THEN,0)},Nn.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},Nn.prototype.enterRule=function(e){e instanceof i&&e.enterCaseAlternatives(this)},Nn.prototype.exitRule=function(e){e instanceof i&&e.exitCaseAlternatives(this)},p.CaseAlternativesContext=Nn,p.prototype.caseAlternatives=function(){var e=new Nn(this,this._ctx,this.state);this.enterRule(e,358,p.RULE_caseAlternatives);try{this.enterOuterAlt(e,1),this.state=2510,this.match(p.WHEN),this.state=2512,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=2511,this.match(p.SP)),this.state=2514,this.expression(),this.state=2516,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=2515,this.match(p.SP)),this.state=2518,this.match(p.THEN),this.state=2520,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=2519,this.match(p.SP)),this.state=2522,this.expression()}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},In.prototype=Object.create(r.ParserRuleContext.prototype),In.prototype.constructor=In,In.prototype.symbolicName=function(){return this.getTypedRuleContext(tr,0)},In.prototype.enterRule=function(e){e instanceof i&&e.enterVariable(this)},In.prototype.exitRule=function(e){e instanceof i&&e.exitVariable(this)},p.VariableContext=In,p.prototype.variable=function(){var e=new In(this,this._ctx,this.state);this.enterRule(e,360,p.RULE_variable);try{this.enterOuterAlt(e,1),this.state=2524,this.symbolicName()}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},kn.prototype=Object.create(r.ParserRuleContext.prototype),kn.prototype.constructor=kn,kn.prototype.doubleLiteral=function(){return this.getTypedRuleContext(Xn,0)},kn.prototype.integerLiteral=function(){return this.getTypedRuleContext(qn,0)},kn.prototype.enterRule=function(e){e instanceof i&&e.enterNumberLiteral(this)},kn.prototype.exitRule=function(e){e instanceof i&&e.exitNumberLiteral(this)},p.NumberLiteralContext=kn,p.prototype.numberLiteral=function(){var e=new kn(this,this._ctx,this.state);this.enterRule(e,362,p.RULE_numberLiteral);try{switch(this.state=2528,this._errHandler.sync(this),this._input.LA(1)){case p.ExponentDecimalReal:case p.RegularDecimalReal:this.enterOuterAlt(e,1),this.state=2526,this.doubleLiteral();break;case p.HexInteger:case p.DecimalInteger:case p.OctalInteger:this.enterOuterAlt(e,2),this.state=2527,this.integerLiteral();break;default:throw new r.error.NoViableAltException(this)}}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},Dn.prototype=Object.create(r.ParserRuleContext.prototype),Dn.prototype.constructor=Dn,Dn.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},Dn.prototype.literalEntry=function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(Fn):this.getTypedRuleContext(Fn,e)},Dn.prototype.enterRule=function(e){e instanceof i&&e.enterMapLiteral(this)},Dn.prototype.exitRule=function(e){e instanceof i&&e.exitMapLiteral(this)},p.MapLiteralContext=Dn,p.prototype.mapLiteral=function(){var e=new Dn(this,this._ctx,this.state);this.enterRule(e,364,p.RULE_mapLiteral);var t=0;try{if(this.enterOuterAlt(e,1),this.state=2530,this.match(p.T__13),this.state=2532,this._errHandler.sync(this),(t=this._input.LA(1))===p.SP&&(this.state=2531,this.match(p.SP)),this.state=2551,this._errHandler.sync(this),0==((t=this._input.LA(1))-54&-32)&&0!=(1<<t-54&(1<<p.CYPHER-54|1<<p.EXPLAIN-54|1<<p.PROFILE-54|1<<p.USING-54|1<<p.PERIODIC-54|1<<p.COMMIT-54|1<<p.UNION-54|1<<p.ALL-54|1<<p.CREATE-54|1<<p.DROP-54|1<<p.INDEX-54|1<<p.ON-54|1<<p.CONSTRAINT-54|1<<p.ASSERT-54|1<<p.IS-54|1<<p.UNIQUE-54|1<<p.EXISTS-54|1<<p.LOAD-54|1<<p.CSV-54|1<<p.WITH-54|1<<p.HEADERS-54|1<<p.FROM-54|1<<p.AS-54|1<<p.FIELDTERMINATOR-54|1<<p.OPTIONAL-54|1<<p.MATCH-54|1<<p.UNWIND-54|1<<p.MERGE-54|1<<p.SET-54|1<<p.DETACH-54|1<<p.DELETE-54|1<<p.REMOVE-54))||0==(t-86&-32)&&0!=(1<<t-86&(1<<p.FOREACH-86|1<<p.IN-86|1<<p.DISTINCT-86|1<<p.RETURN-86|1<<p.ORDER-86|1<<p.BY-86|1<<p.L_SKIP-86|1<<p.LIMIT-86|1<<p.ASCENDING-86|1<<p.ASC-86|1<<p.DESCENDING-86|1<<p.DESC-86|1<<p.JOIN-86|1<<p.SCAN-86|1<<p.START-86|1<<p.NODE-86|1<<p.RELATIONSHIP-86|1<<p.REL-86|1<<p.WHERE-86|1<<p.SHORTESTPATH-86|1<<p.ALLSHORTESTPATHS-86|1<<p.OR-86|1<<p.XOR-86|1<<p.AND-86|1<<p.NOT-86|1<<p.STARTS-86|1<<p.ENDS-86|1<<p.CONTAINS-86|1<<p.NULL-86|1<<p.COUNT-86|1<<p.FILTER-86|1<<p.EXTRACT-86))||0==(t-118&-32)&&0!=(1<<t-118&(1<<p.ANY-118|1<<p.NONE-118|1<<p.SINGLE-118|1<<p.TRUE-118|1<<p.FALSE-118|1<<p.REDUCE-118|1<<p.CASE-118|1<<p.ELSE-118|1<<p.END-118|1<<p.WHEN-118|1<<p.THEN-118|1<<p.CALL-118|1<<p.YIELD-118|1<<p.KEY-118|1<<p.BTREE-118|1<<p.EXIST-118|1<<p.FOR-118|1<<p.OPTIONS-118|1<<p.EXECUTE-118|1<<p.DEFINED-118|1<<p.FUNCTION-118|1<<p.FUNCTIONS-118|1<<p.BOOSTED-118|1<<p.PROCEDURE-118|1<<p.PROCEDURES-118|1<<p.ADMIN-118|1<<p.ADMINISTRATOR-118|1<<p.BRIEF-118|1<<p.VERBOSE-118|1<<p.OUTPUT-118))||0==(t-154&-32)&&0!=(1<<t-154&(1<<p.HexLetter-154|1<<p.UnescapedSymbolicName-154|1<<p.EscapedSymbolicName-154)))for(this.state=2534,this.literalEntry(),this.state=2536,this._errHandler.sync(this),(t=this._input.LA(1))===p.SP&&(this.state=2535,this.match(p.SP)),this.state=2548,this._errHandler.sync(this),t=this._input.LA(1);t===p.T__14;)this.state=2538,this.match(p.T__14),this.state=2540,this._errHandler.sync(this),(t=this._input.LA(1))===p.SP&&(this.state=2539,this.match(p.SP)),this.state=2542,this.literalEntry(),this.state=2544,this._errHandler.sync(this),(t=this._input.LA(1))===p.SP&&(this.state=2543,this.match(p.SP)),this.state=2550,this._errHandler.sync(this),t=this._input.LA(1);this.state=2553,this.match(p.T__15)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},Pn.prototype=Object.create(r.ParserRuleContext.prototype),Pn.prototype.constructor=Pn,Pn.prototype.variable=function(){return this.getTypedRuleContext(In,0)},Pn.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},Pn.prototype.mapProjectionVariants=function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(Mn):this.getTypedRuleContext(Mn,e)},Pn.prototype.enterRule=function(e){e instanceof i&&e.enterMapProjection(this)},Pn.prototype.exitRule=function(e){e instanceof i&&e.exitMapProjection(this)},p.MapProjectionContext=Pn,p.prototype.mapProjection=function(){var e=new Pn(this,this._ctx,this.state);this.enterRule(e,366,p.RULE_mapProjection);var t=0;try{this.enterOuterAlt(e,1),this.state=2555,this.variable(),this.state=2557,this._errHandler.sync(this),(t=this._input.LA(1))===p.SP&&(this.state=2556,this.match(p.SP)),this.state=2559,this.match(p.T__13),this.state=2561,this._errHandler.sync(this),1===this._interp.adaptivePredict(this._input,399,this._ctx)&&(this.state=2560,this.match(p.SP)),this.state=2564,this._errHandler.sync(this),((t=this._input.LA(1))===p.T__6||0==(t-54&-32)&&0!=(1<<t-54&(1<<p.CYPHER-54|1<<p.EXPLAIN-54|1<<p.PROFILE-54|1<<p.USING-54|1<<p.PERIODIC-54|1<<p.COMMIT-54|1<<p.UNION-54|1<<p.ALL-54|1<<p.CREATE-54|1<<p.DROP-54|1<<p.INDEX-54|1<<p.ON-54|1<<p.CONSTRAINT-54|1<<p.ASSERT-54|1<<p.IS-54|1<<p.UNIQUE-54|1<<p.EXISTS-54|1<<p.LOAD-54|1<<p.CSV-54|1<<p.WITH-54|1<<p.HEADERS-54|1<<p.FROM-54|1<<p.AS-54|1<<p.FIELDTERMINATOR-54|1<<p.OPTIONAL-54|1<<p.MATCH-54|1<<p.UNWIND-54|1<<p.MERGE-54|1<<p.SET-54|1<<p.DETACH-54|1<<p.DELETE-54|1<<p.REMOVE-54))||0==(t-86&-32)&&0!=(1<<t-86&(1<<p.FOREACH-86|1<<p.IN-86|1<<p.DISTINCT-86|1<<p.RETURN-86|1<<p.ORDER-86|1<<p.BY-86|1<<p.L_SKIP-86|1<<p.LIMIT-86|1<<p.ASCENDING-86|1<<p.ASC-86|1<<p.DESCENDING-86|1<<p.DESC-86|1<<p.JOIN-86|1<<p.SCAN-86|1<<p.START-86|1<<p.NODE-86|1<<p.RELATIONSHIP-86|1<<p.REL-86|1<<p.WHERE-86|1<<p.SHORTESTPATH-86|1<<p.ALLSHORTESTPATHS-86|1<<p.OR-86|1<<p.XOR-86|1<<p.AND-86|1<<p.NOT-86|1<<p.STARTS-86|1<<p.ENDS-86|1<<p.CONTAINS-86|1<<p.NULL-86|1<<p.COUNT-86|1<<p.FILTER-86|1<<p.EXTRACT-86))||0==(t-118&-32)&&0!=(1<<t-118&(1<<p.ANY-118|1<<p.NONE-118|1<<p.SINGLE-118|1<<p.TRUE-118|1<<p.FALSE-118|1<<p.REDUCE-118|1<<p.CASE-118|1<<p.ELSE-118|1<<p.END-118|1<<p.WHEN-118|1<<p.THEN-118|1<<p.CALL-118|1<<p.YIELD-118|1<<p.KEY-118|1<<p.BTREE-118|1<<p.EXIST-118|1<<p.FOR-118|1<<p.OPTIONS-118|1<<p.EXECUTE-118|1<<p.DEFINED-118|1<<p.FUNCTION-118|1<<p.FUNCTIONS-118|1<<p.BOOSTED-118|1<<p.PROCEDURE-118|1<<p.PROCEDURES-118|1<<p.ADMIN-118|1<<p.ADMINISTRATOR-118|1<<p.BRIEF-118|1<<p.VERBOSE-118|1<<p.OUTPUT-118))||0==(t-154&-32)&&0!=(1<<t-154&(1<<p.HexLetter-154|1<<p.UnescapedSymbolicName-154|1<<p.EscapedSymbolicName-154)))&&(this.state=2563,this.mapProjectionVariants()),this.state=2576,this._errHandler.sync(this);for(var n=this._interp.adaptivePredict(this._input,403,this._ctx);2!=n&&n!=r.atn.ATN.INVALID_ALT_NUMBER;)1===n&&(this.state=2567,this._errHandler.sync(this),(t=this._input.LA(1))===p.SP&&(this.state=2566,this.match(p.SP)),this.state=2569,this.match(p.T__14),this.state=2571,this._errHandler.sync(this),(t=this._input.LA(1))===p.SP&&(this.state=2570,this.match(p.SP)),this.state=2573,this.mapProjectionVariants()),this.state=2578,this._errHandler.sync(this),n=this._interp.adaptivePredict(this._input,403,this._ctx);this.state=2580,this._errHandler.sync(this),(t=this._input.LA(1))===p.SP&&(this.state=2579,this.match(p.SP)),this.state=2582,this.match(p.T__15)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},Mn.prototype=Object.create(r.ParserRuleContext.prototype),Mn.prototype.constructor=Mn,Mn.prototype.literalEntry=function(){return this.getTypedRuleContext(Fn,0)},Mn.prototype.propertySelector=function(){return this.getTypedRuleContext(Hn,0)},Mn.prototype.variableSelector=function(){return this.getTypedRuleContext(Bn,0)},Mn.prototype.allPropertiesSelector=function(){return this.getTypedRuleContext(Un,0)},Mn.prototype.enterRule=function(e){e instanceof i&&e.enterMapProjectionVariants(this)},Mn.prototype.exitRule=function(e){e instanceof i&&e.exitMapProjectionVariants(this)},p.MapProjectionVariantsContext=Mn,p.prototype.mapProjectionVariants=function(){var e=new Mn(this,this._ctx,this.state);this.enterRule(e,368,p.RULE_mapProjectionVariants);try{switch(this.enterOuterAlt(e,1),this.state=2588,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,405,this._ctx)){case 1:this.state=2584,this.literalEntry();break;case 2:this.state=2585,this.propertySelector();break;case 3:this.state=2586,this.variableSelector();break;case 4:this.state=2587,this.allPropertiesSelector()}}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},Fn.prototype=Object.create(r.ParserRuleContext.prototype),Fn.prototype.constructor=Fn,Fn.prototype.propertyKeyName=function(){return this.getTypedRuleContext(Kn,0)},Fn.prototype.expression=function(){return this.getTypedRuleContext(Pt,0)},Fn.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},Fn.prototype.enterRule=function(e){e instanceof i&&e.enterLiteralEntry(this)},Fn.prototype.exitRule=function(e){e instanceof i&&e.exitLiteralEntry(this)},p.LiteralEntryContext=Fn,p.prototype.literalEntry=function(){var e=new Fn(this,this._ctx,this.state);this.enterRule(e,370,p.RULE_literalEntry);try{this.enterOuterAlt(e,1),this.state=2590,this.propertyKeyName(),this.state=2592,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=2591,this.match(p.SP)),this.state=2594,this.match(p.T__1),this.state=2596,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=2595,this.match(p.SP)),this.state=2598,this.expression()}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},Hn.prototype=Object.create(r.ParserRuleContext.prototype),Hn.prototype.constructor=Hn,Hn.prototype.variable=function(){return this.getTypedRuleContext(In,0)},Hn.prototype.enterRule=function(e){e instanceof i&&e.enterPropertySelector(this)},Hn.prototype.exitRule=function(e){e instanceof i&&e.exitPropertySelector(this)},p.PropertySelectorContext=Hn,p.prototype.propertySelector=function(){var e=new Hn(this,this._ctx,this.state);this.enterRule(e,372,p.RULE_propertySelector);try{this.enterOuterAlt(e,1),this.state=2600,this.match(p.T__6),this.state=2601,this.variable()}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},Bn.prototype=Object.create(r.ParserRuleContext.prototype),Bn.prototype.constructor=Bn,Bn.prototype.variable=function(){return this.getTypedRuleContext(In,0)},Bn.prototype.enterRule=function(e){e instanceof i&&e.enterVariableSelector(this)},Bn.prototype.exitRule=function(e){e instanceof i&&e.exitVariableSelector(this)},p.VariableSelectorContext=Bn,p.prototype.variableSelector=function(){var e=new Bn(this,this._ctx,this.state);this.enterRule(e,374,p.RULE_variableSelector);try{this.enterOuterAlt(e,1),this.state=2603,this.variable()}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},Un.prototype=Object.create(r.ParserRuleContext.prototype),Un.prototype.constructor=Un,Un.prototype.enterRule=function(e){e instanceof i&&e.enterAllPropertiesSelector(this)},Un.prototype.exitRule=function(e){e instanceof i&&e.exitAllPropertiesSelector(this)},p.AllPropertiesSelectorContext=Un,p.prototype.allPropertiesSelector=function(){var e=new Un(this,this._ctx,this.state);this.enterRule(e,376,p.RULE_allPropertiesSelector);try{this.enterOuterAlt(e,1),this.state=2605,this.match(p.T__6),this.state=2606,this.match(p.T__22)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},jn.prototype=Object.create(r.ParserRuleContext.prototype),jn.prototype.constructor=jn,jn.prototype.legacyParameter=function(){return this.getTypedRuleContext(Gn,0)},jn.prototype.newParameter=function(){return this.getTypedRuleContext(Yn,0)},jn.prototype.enterRule=function(e){e instanceof i&&e.enterParameter(this)},jn.prototype.exitRule=function(e){e instanceof i&&e.exitParameter(this)},p.ParameterContext=jn,p.prototype.parameter=function(){var e=new jn(this,this._ctx,this.state);this.enterRule(e,378,p.RULE_parameter);try{switch(this.state=2610,this._errHandler.sync(this),this._input.LA(1)){case p.T__13:this.enterOuterAlt(e,1),this.state=2608,this.legacyParameter();break;case p.T__33:this.enterOuterAlt(e,2),this.state=2609,this.newParameter();break;default:throw new r.error.NoViableAltException(this)}}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},Gn.prototype=Object.create(r.ParserRuleContext.prototype),Gn.prototype.constructor=Gn,Gn.prototype.parameterName=function(){return this.getTypedRuleContext(zn,0)},Gn.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},Gn.prototype.enterRule=function(e){e instanceof i&&e.enterLegacyParameter(this)},Gn.prototype.exitRule=function(e){e instanceof i&&e.exitLegacyParameter(this)},p.LegacyParameterContext=Gn,p.prototype.legacyParameter=function(){var e=new Gn(this,this._ctx,this.state);this.enterRule(e,380,p.RULE_legacyParameter);try{this.enterOuterAlt(e,1),this.state=2612,this.match(p.T__13),this.state=2614,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=2613,this.match(p.SP)),this.state=2616,this.parameterName(),this.state=2618,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=2617,this.match(p.SP)),this.state=2620,this.match(p.T__15)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},Yn.prototype=Object.create(r.ParserRuleContext.prototype),Yn.prototype.constructor=Yn,Yn.prototype.parameterName=function(){return this.getTypedRuleContext(zn,0)},Yn.prototype.enterRule=function(e){e instanceof i&&e.enterNewParameter(this)},Yn.prototype.exitRule=function(e){e instanceof i&&e.exitNewParameter(this)},p.NewParameterContext=Yn,p.prototype.newParameter=function(){var e=new Yn(this,this._ctx,this.state);this.enterRule(e,382,p.RULE_newParameter);try{this.enterOuterAlt(e,1),this.state=2622,this.match(p.T__33),this.state=2623,this.parameterName()}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},zn.prototype=Object.create(r.ParserRuleContext.prototype),zn.prototype.constructor=zn,zn.prototype.symbolicName=function(){return this.getTypedRuleContext(tr,0)},zn.prototype.DecimalInteger=function(){return this.getToken(p.DecimalInteger,0)},zn.prototype.enterRule=function(e){e instanceof i&&e.enterParameterName(this)},zn.prototype.exitRule=function(e){e instanceof i&&e.exitParameterName(this)},p.ParameterNameContext=zn,p.prototype.parameterName=function(){var e=new zn(this,this._ctx,this.state);this.enterRule(e,384,p.RULE_parameterName);try{switch(this.state=2627,this._errHandler.sync(this),this._input.LA(1)){case p.CYPHER:case p.EXPLAIN:case p.PROFILE:case p.USING:case p.PERIODIC:case p.COMMIT:case p.UNION:case p.ALL:case p.CREATE:case p.DROP:case p.INDEX:case p.ON:case p.CONSTRAINT:case p.ASSERT:case p.IS:case p.UNIQUE:case p.EXISTS:case p.LOAD:case p.CSV:case p.WITH:case p.HEADERS:case p.FROM:case p.AS:case p.FIELDTERMINATOR:case p.OPTIONAL:case p.MATCH:case p.UNWIND:case p.MERGE:case p.SET:case p.DETACH:case p.DELETE:case p.REMOVE:case p.FOREACH:case p.IN:case p.DISTINCT:case p.RETURN:case p.ORDER:case p.BY:case p.L_SKIP:case p.LIMIT:case p.ASCENDING:case p.ASC:case p.DESCENDING:case p.DESC:case p.JOIN:case p.SCAN:case p.START:case p.NODE:case p.RELATIONSHIP:case p.REL:case p.WHERE:case p.SHORTESTPATH:case p.ALLSHORTESTPATHS:case p.OR:case p.XOR:case p.AND:case p.NOT:case p.STARTS:case p.ENDS:case p.CONTAINS:case p.NULL:case p.COUNT:case p.FILTER:case p.EXTRACT:case p.ANY:case p.NONE:case p.SINGLE:case p.TRUE:case p.FALSE:case p.REDUCE:case p.CASE:case p.ELSE:case p.END:case p.WHEN:case p.THEN:case p.CALL:case p.YIELD:case p.KEY:case p.BTREE:case p.EXIST:case p.FOR:case p.OPTIONS:case p.EXECUTE:case p.DEFINED:case p.FUNCTION:case p.FUNCTIONS:case p.BOOSTED:case p.PROCEDURE:case p.PROCEDURES:case p.ADMIN:case p.ADMINISTRATOR:case p.BRIEF:case p.VERBOSE:case p.OUTPUT:case p.HexLetter:case p.UnescapedSymbolicName:case p.EscapedSymbolicName:this.enterOuterAlt(e,1),this.state=2625,this.symbolicName();break;case p.DecimalInteger:this.enterOuterAlt(e,2),this.state=2626,this.match(p.DecimalInteger);break;default:throw new r.error.NoViableAltException(this)}}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},$n.prototype=Object.create(r.ParserRuleContext.prototype),$n.prototype.constructor=$n,$n.prototype.propertyExpression=function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(Wn):this.getTypedRuleContext(Wn,e)},$n.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},$n.prototype.enterRule=function(e){e instanceof i&&e.enterPropertyExpressions(this)},$n.prototype.exitRule=function(e){e instanceof i&&e.exitPropertyExpressions(this)},p.PropertyExpressionsContext=$n,p.prototype.propertyExpressions=function(){var e=new $n(this,this._ctx,this.state);this.enterRule(e,386,p.RULE_propertyExpressions);try{this.enterOuterAlt(e,1),this.state=2629,this.propertyExpression(),this.state=2640,this._errHandler.sync(this);for(var t=this._interp.adaptivePredict(this._input,414,this._ctx);2!=t&&t!=r.atn.ATN.INVALID_ALT_NUMBER;)1===t&&(this.state=2631,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=2630,this.match(p.SP)),this.state=2633,this.match(p.T__14),this.state=2635,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=2634,this.match(p.SP)),this.state=2637,this.propertyExpression()),this.state=2642,this._errHandler.sync(this),t=this._interp.adaptivePredict(this._input,414,this._ctx)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},Wn.prototype=Object.create(r.ParserRuleContext.prototype),Wn.prototype.constructor=Wn,Wn.prototype.atom=function(){return this.getTypedRuleContext(dn,0)},Wn.prototype.propertyLookup=function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(Ln):this.getTypedRuleContext(Ln,e)},Wn.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},Wn.prototype.enterRule=function(e){e instanceof i&&e.enterPropertyExpression(this)},Wn.prototype.exitRule=function(e){e instanceof i&&e.exitPropertyExpression(this)},p.PropertyExpressionContext=Wn,p.prototype.propertyExpression=function(){var e=new Wn(this,this._ctx,this.state);this.enterRule(e,388,p.RULE_propertyExpression);try{this.enterOuterAlt(e,1),this.state=2643,this.atom(),this.state=2648,this._errHandler.sync(this);var t=1;do{if(1!==t)throw new r.error.NoViableAltException(this);this.state=2645,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=2644,this.match(p.SP)),this.state=2647,this.propertyLookup(),this.state=2650,this._errHandler.sync(this),t=this._interp.adaptivePredict(this._input,416,this._ctx)}while(2!=t&&t!=r.atn.ATN.INVALID_ALT_NUMBER)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},Vn.prototype=Object.create(r.ParserRuleContext.prototype),Vn.prototype.constructor=Vn,Vn.prototype.propertyKeyName=function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(Kn):this.getTypedRuleContext(Kn,e)},Vn.prototype.SP=function(e){return void 0===e&&(e=null),null===e?this.getTokens(p.SP):this.getToken(p.SP,e)},Vn.prototype.enterRule=function(e){e instanceof i&&e.enterPropertyKeys(this)},Vn.prototype.exitRule=function(e){e instanceof i&&e.exitPropertyKeys(this)},p.PropertyKeysContext=Vn,p.prototype.propertyKeys=function(){var e=new Vn(this,this._ctx,this.state);this.enterRule(e,390,p.RULE_propertyKeys);try{this.enterOuterAlt(e,1),this.state=2652,this.propertyKeyName(),this.state=2663,this._errHandler.sync(this);for(var t=this._interp.adaptivePredict(this._input,419,this._ctx);2!=t&&t!=r.atn.ATN.INVALID_ALT_NUMBER;)1===t&&(this.state=2654,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=2653,this.match(p.SP)),this.state=2656,this.match(p.T__14),this.state=2658,this._errHandler.sync(this),this._input.LA(1)===p.SP&&(this.state=2657,this.match(p.SP)),this.state=2660,this.propertyKeyName()),this.state=2665,this._errHandler.sync(this),t=this._interp.adaptivePredict(this._input,419,this._ctx)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},Kn.prototype=Object.create(r.ParserRuleContext.prototype),Kn.prototype.constructor=Kn,Kn.prototype.symbolicName=function(){return this.getTypedRuleContext(tr,0)},Kn.prototype.enterRule=function(e){e instanceof i&&e.enterPropertyKeyName(this)},Kn.prototype.exitRule=function(e){e instanceof i&&e.exitPropertyKeyName(this)},p.PropertyKeyNameContext=Kn,p.prototype.propertyKeyName=function(){var e=new Kn(this,this._ctx,this.state);this.enterRule(e,392,p.RULE_propertyKeyName);try{this.enterOuterAlt(e,1),this.state=2666,this.symbolicName()}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},qn.prototype=Object.create(r.ParserRuleContext.prototype),qn.prototype.constructor=qn,qn.prototype.HexInteger=function(){return this.getToken(p.HexInteger,0)},qn.prototype.OctalInteger=function(){return this.getToken(p.OctalInteger,0)},qn.prototype.DecimalInteger=function(){return this.getToken(p.DecimalInteger,0)},qn.prototype.enterRule=function(e){e instanceof i&&e.enterIntegerLiteral(this)},qn.prototype.exitRule=function(e){e instanceof i&&e.exitIntegerLiteral(this)},p.IntegerLiteralContext=qn,p.prototype.integerLiteral=function(){var e=new qn(this,this._ctx,this.state);this.enterRule(e,394,p.RULE_integerLiteral);var t=0;try{this.enterOuterAlt(e,1),this.state=2668,0!=((t=this._input.LA(1))-151&-32)||0==(1<<t-151&(1<<p.HexInteger-151|1<<p.DecimalInteger-151|1<<p.OctalInteger-151))?this._errHandler.recoverInline(this):(this._errHandler.reportMatch(this),this.consume())}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},Xn.prototype=Object.create(r.ParserRuleContext.prototype),Xn.prototype.constructor=Xn,Xn.prototype.ExponentDecimalReal=function(){return this.getToken(p.ExponentDecimalReal,0)},Xn.prototype.RegularDecimalReal=function(){return this.getToken(p.RegularDecimalReal,0)},Xn.prototype.enterRule=function(e){e instanceof i&&e.enterDoubleLiteral(this)},Xn.prototype.exitRule=function(e){e instanceof i&&e.exitDoubleLiteral(this)},p.DoubleLiteralContext=Xn,p.prototype.doubleLiteral=function(){var e=new Xn(this,this._ctx,this.state);this.enterRule(e,396,p.RULE_doubleLiteral);var t=0;try{this.enterOuterAlt(e,1),this.state=2670,(t=this._input.LA(1))!==p.ExponentDecimalReal&&t!==p.RegularDecimalReal?this._errHandler.recoverInline(this):(this._errHandler.reportMatch(this),this.consume())}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},Zn.prototype=Object.create(r.ParserRuleContext.prototype),Zn.prototype.constructor=Zn,Zn.prototype.symbolicName=function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(tr):this.getTypedRuleContext(tr,e)},Zn.prototype.enterRule=function(e){e instanceof i&&e.enterNamespace(this)},Zn.prototype.exitRule=function(e){e instanceof i&&e.exitNamespace(this)},p.NamespaceContext=Zn,p.prototype.namespace=function(){var e=new Zn(this,this._ctx,this.state);this.enterRule(e,398,p.RULE_namespace);try{this.enterOuterAlt(e,1),this.state=2677,this._errHandler.sync(this);for(var t=this._interp.adaptivePredict(this._input,420,this._ctx);2!=t&&t!=r.atn.ATN.INVALID_ALT_NUMBER;)1===t&&(this.state=2672,this.symbolicName(),this.state=2673,this.match(p.T__6)),this.state=2679,this._errHandler.sync(this),t=this._interp.adaptivePredict(this._input,420,this._ctx)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},Qn.prototype=Object.create(r.ParserRuleContext.prototype),Qn.prototype.constructor=Qn,Qn.prototype.enterRule=function(e){e instanceof i&&e.enterLeftArrowHead(this)},Qn.prototype.exitRule=function(e){e instanceof i&&e.exitLeftArrowHead(this)},p.LeftArrowHeadContext=Qn,p.prototype.leftArrowHead=function(){var e=new Qn(this,this._ctx,this.state);this.enterRule(e,400,p.RULE_leftArrowHead);var t=0;try{this.enterOuterAlt(e,1),this.state=2680,0!=((t=this._input.LA(1))-30&-32)||0==(1<<t-30&(1<<p.T__29-30|1<<p.T__34-30|1<<p.T__35-30|1<<p.T__36-30|1<<p.T__37-30))?this._errHandler.recoverInline(this):(this._errHandler.reportMatch(this),this.consume())}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},Jn.prototype=Object.create(r.ParserRuleContext.prototype),Jn.prototype.constructor=Jn,Jn.prototype.enterRule=function(e){e instanceof i&&e.enterRightArrowHead(this)},Jn.prototype.exitRule=function(e){e instanceof i&&e.exitRightArrowHead(this)},p.RightArrowHeadContext=Jn,p.prototype.rightArrowHead=function(){var e=new Jn(this,this._ctx,this.state);this.enterRule(e,402,p.RULE_rightArrowHead);var t=0;try{this.enterOuterAlt(e,1),this.state=2682,0!=((t=this._input.LA(1))-31&-32)||0==(1<<t-31&(1<<p.T__30-31|1<<p.T__38-31|1<<p.T__39-31|1<<p.T__40-31|1<<p.T__41-31))?this._errHandler.recoverInline(this):(this._errHandler.reportMatch(this),this.consume())}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},er.prototype=Object.create(r.ParserRuleContext.prototype),er.prototype.constructor=er,er.prototype.enterRule=function(e){e instanceof i&&e.enterDash(this)},er.prototype.exitRule=function(e){e instanceof i&&e.exitDash(this)},p.DashContext=er,p.prototype.dash=function(){var e=new er(this,this._ctx,this.state);this.enterRule(e,404,p.RULE_dash);var t=0;try{this.enterOuterAlt(e,1),this.state=2684,(t=this._input.LA(1))===p.T__2||0==(t-43&-32)&&0!=(1<<t-43&(1<<p.T__42-43|1<<p.T__43-43|1<<p.T__44-43|1<<p.T__45-43|1<<p.T__46-43|1<<p.T__47-43|1<<p.T__48-43|1<<p.T__49-43|1<<p.T__50-43|1<<p.T__51-43|1<<p.T__52-43))?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},tr.prototype=Object.create(r.ParserRuleContext.prototype),tr.prototype.constructor=tr,tr.prototype.keyword=function(){return this.getTypedRuleContext(nr,0)},tr.prototype.UnescapedSymbolicName=function(){return this.getToken(p.UnescapedSymbolicName,0)},tr.prototype.EscapedSymbolicName=function(){return this.getToken(p.EscapedSymbolicName,0)},tr.prototype.HexLetter=function(){return this.getToken(p.HexLetter,0)},tr.prototype.enterRule=function(e){e instanceof i&&e.enterSymbolicName(this)},tr.prototype.exitRule=function(e){e instanceof i&&e.exitSymbolicName(this)},p.SymbolicNameContext=tr,p.prototype.symbolicName=function(){var e=new tr(this,this._ctx,this.state);this.enterRule(e,406,p.RULE_symbolicName);try{switch(this.state=2690,this._errHandler.sync(this),this._input.LA(1)){case p.CYPHER:case p.EXPLAIN:case p.PROFILE:case p.USING:case p.PERIODIC:case p.COMMIT:case p.UNION:case p.ALL:case p.CREATE:case p.DROP:case p.INDEX:case p.ON:case p.CONSTRAINT:case p.ASSERT:case p.IS:case p.UNIQUE:case p.EXISTS:case p.LOAD:case p.CSV:case p.WITH:case p.HEADERS:case p.FROM:case p.AS:case p.FIELDTERMINATOR:case p.OPTIONAL:case p.MATCH:case p.UNWIND:case p.MERGE:case p.SET:case p.DETACH:case p.DELETE:case p.REMOVE:case p.FOREACH:case p.IN:case p.DISTINCT:case p.RETURN:case p.ORDER:case p.BY:case p.L_SKIP:case p.LIMIT:case p.ASCENDING:case p.ASC:case p.DESCENDING:case p.DESC:case p.JOIN:case p.SCAN:case p.START:case p.NODE:case p.RELATIONSHIP:case p.REL:case p.WHERE:case p.SHORTESTPATH:case p.ALLSHORTESTPATHS:case p.OR:case p.XOR:case p.AND:case p.NOT:case p.STARTS:case p.ENDS:case p.CONTAINS:case p.NULL:case p.COUNT:case p.FILTER:case p.EXTRACT:case p.ANY:case p.NONE:case p.SINGLE:case p.TRUE:case p.FALSE:case p.REDUCE:case p.CASE:case p.ELSE:case p.END:case p.WHEN:case p.THEN:case p.CALL:case p.YIELD:case p.KEY:case p.BTREE:case p.EXIST:case p.FOR:case p.OPTIONS:case p.EXECUTE:case p.DEFINED:case p.FUNCTION:case p.FUNCTIONS:case p.BOOSTED:case p.PROCEDURE:case p.PROCEDURES:case p.ADMIN:case p.ADMINISTRATOR:case p.BRIEF:case p.VERBOSE:case p.OUTPUT:this.enterOuterAlt(e,1),this.state=2686,this.keyword();break;case p.UnescapedSymbolicName:this.enterOuterAlt(e,2),this.state=2687,this.match(p.UnescapedSymbolicName);break;case p.EscapedSymbolicName:this.enterOuterAlt(e,3),this.state=2688,this.match(p.EscapedSymbolicName);break;case p.HexLetter:this.enterOuterAlt(e,4),this.state=2689,this.match(p.HexLetter);break;default:throw new r.error.NoViableAltException(this)}}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},nr.prototype=Object.create(r.ParserRuleContext.prototype),nr.prototype.constructor=nr,nr.prototype.CYPHER=function(){return this.getToken(p.CYPHER,0)},nr.prototype.EXPLAIN=function(){return this.getToken(p.EXPLAIN,0)},nr.prototype.PROFILE=function(){return this.getToken(p.PROFILE,0)},nr.prototype.USING=function(){return this.getToken(p.USING,0)},nr.prototype.PERIODIC=function(){return this.getToken(p.PERIODIC,0)},nr.prototype.COMMIT=function(){return this.getToken(p.COMMIT,0)},nr.prototype.UNION=function(){return this.getToken(p.UNION,0)},nr.prototype.ALL=function(){return this.getToken(p.ALL,0)},nr.prototype.CREATE=function(){return this.getToken(p.CREATE,0)},nr.prototype.DROP=function(){return this.getToken(p.DROP,0)},nr.prototype.INDEX=function(){return this.getToken(p.INDEX,0)},nr.prototype.ON=function(){return this.getToken(p.ON,0)},nr.prototype.CONSTRAINT=function(){return this.getToken(p.CONSTRAINT,0)},nr.prototype.ASSERT=function(){return this.getToken(p.ASSERT,0)},nr.prototype.IS=function(){return this.getToken(p.IS,0)},nr.prototype.UNIQUE=function(){return this.getToken(p.UNIQUE,0)},nr.prototype.EXISTS=function(){return this.getToken(p.EXISTS,0)},nr.prototype.LOAD=function(){return this.getToken(p.LOAD,0)},nr.prototype.CSV=function(){return this.getToken(p.CSV,0)},nr.prototype.WITH=function(){return this.getToken(p.WITH,0)},nr.prototype.HEADERS=function(){return this.getToken(p.HEADERS,0)},nr.prototype.FROM=function(){return this.getToken(p.FROM,0)},nr.prototype.AS=function(){return this.getToken(p.AS,0)},nr.prototype.FIELDTERMINATOR=function(){return this.getToken(p.FIELDTERMINATOR,0)},nr.prototype.OPTIONAL=function(){return this.getToken(p.OPTIONAL,0)},nr.prototype.MATCH=function(){return this.getToken(p.MATCH,0)},nr.prototype.UNWIND=function(){return this.getToken(p.UNWIND,0)},nr.prototype.MERGE=function(){return this.getToken(p.MERGE,0)},nr.prototype.SET=function(){return this.getToken(p.SET,0)},nr.prototype.DETACH=function(){return this.getToken(p.DETACH,0)},nr.prototype.DELETE=function(){return this.getToken(p.DELETE,0)},nr.prototype.REMOVE=function(){return this.getToken(p.REMOVE,0)},nr.prototype.FOREACH=function(){return this.getToken(p.FOREACH,0)},nr.prototype.IN=function(){return this.getToken(p.IN,0)},nr.prototype.DISTINCT=function(){return this.getToken(p.DISTINCT,0)},nr.prototype.RETURN=function(){return this.getToken(p.RETURN,0)},nr.prototype.ORDER=function(){return this.getToken(p.ORDER,0)},nr.prototype.BY=function(){return this.getToken(p.BY,0)},nr.prototype.L_SKIP=function(){return this.getToken(p.L_SKIP,0)},nr.prototype.LIMIT=function(){return this.getToken(p.LIMIT,0)},nr.prototype.ASCENDING=function(){return this.getToken(p.ASCENDING,0)},nr.prototype.ASC=function(){return this.getToken(p.ASC,0)},nr.prototype.DESCENDING=function(){return this.getToken(p.DESCENDING,0)},nr.prototype.DESC=function(){return this.getToken(p.DESC,0)},nr.prototype.JOIN=function(){return this.getToken(p.JOIN,0)},nr.prototype.SCAN=function(){return this.getToken(p.SCAN,0)},nr.prototype.START=function(){return this.getToken(p.START,0)},nr.prototype.NODE=function(){return this.getToken(p.NODE,0)},nr.prototype.RELATIONSHIP=function(){return this.getToken(p.RELATIONSHIP,0)},nr.prototype.REL=function(){return this.getToken(p.REL,0)},nr.prototype.WHERE=function(){return this.getToken(p.WHERE,0)},nr.prototype.SHORTESTPATH=function(){return this.getToken(p.SHORTESTPATH,0)},nr.prototype.ALLSHORTESTPATHS=function(){return this.getToken(p.ALLSHORTESTPATHS,0)},nr.prototype.OR=function(){return this.getToken(p.OR,0)},nr.prototype.XOR=function(){return this.getToken(p.XOR,0)},nr.prototype.AND=function(){return this.getToken(p.AND,0)},nr.prototype.NOT=function(){return this.getToken(p.NOT,0)},nr.prototype.STARTS=function(){return this.getToken(p.STARTS,0)},nr.prototype.ENDS=function(){return this.getToken(p.ENDS,0)},nr.prototype.CONTAINS=function(){return this.getToken(p.CONTAINS,0)},nr.prototype.NULL=function(){return this.getToken(p.NULL,0)},nr.prototype.COUNT=function(){return this.getToken(p.COUNT,0)},nr.prototype.FILTER=function(){return this.getToken(p.FILTER,0)},nr.prototype.EXTRACT=function(){return this.getToken(p.EXTRACT,0)},nr.prototype.ANY=function(){return this.getToken(p.ANY,0)},nr.prototype.NONE=function(){return this.getToken(p.NONE,0)},nr.prototype.SINGLE=function(){return this.getToken(p.SINGLE,0)},nr.prototype.TRUE=function(){return this.getToken(p.TRUE,0)},nr.prototype.FALSE=function(){return this.getToken(p.FALSE,0)},nr.prototype.REDUCE=function(){return this.getToken(p.REDUCE,0)},nr.prototype.CASE=function(){return this.getToken(p.CASE,0)},nr.prototype.ELSE=function(){return this.getToken(p.ELSE,0)},nr.prototype.END=function(){return this.getToken(p.END,0)},nr.prototype.WHEN=function(){return this.getToken(p.WHEN,0)},nr.prototype.THEN=function(){return this.getToken(p.THEN,0)},nr.prototype.CALL=function(){return this.getToken(p.CALL,0)},nr.prototype.YIELD=function(){return this.getToken(p.YIELD,0)},nr.prototype.KEY=function(){return this.getToken(p.KEY,0)},nr.prototype.BTREE=function(){return this.getToken(p.BTREE,0)},nr.prototype.EXIST=function(){return this.getToken(p.EXIST,0)},nr.prototype.FOR=function(){return this.getToken(p.FOR,0)},nr.prototype.OPTIONS=function(){return this.getToken(p.OPTIONS,0)},nr.prototype.EXECUTE=function(){return this.getToken(p.EXECUTE,0)},nr.prototype.DEFINED=function(){return this.getToken(p.DEFINED,0)},nr.prototype.FUNCTION=function(){return this.getToken(p.FUNCTION,0)},nr.prototype.FUNCTIONS=function(){return this.getToken(p.FUNCTIONS,0)},nr.prototype.BOOSTED=function(){return this.getToken(p.BOOSTED,0)},nr.prototype.PROCEDURE=function(){return this.getToken(p.PROCEDURE,0)},nr.prototype.PROCEDURES=function(){return this.getToken(p.PROCEDURES,0)},nr.prototype.ADMIN=function(){return this.getToken(p.ADMIN,0)},nr.prototype.ADMINISTRATOR=function(){return this.getToken(p.ADMINISTRATOR,0)},nr.prototype.BRIEF=function(){return this.getToken(p.BRIEF,0)},nr.prototype.VERBOSE=function(){return this.getToken(p.VERBOSE,0)},nr.prototype.OUTPUT=function(){return this.getToken(p.OUTPUT,0)},nr.prototype.enterRule=function(e){e instanceof i&&e.enterKeyword(this)},nr.prototype.exitRule=function(e){e instanceof i&&e.exitKeyword(this)},p.KeywordContext=nr,p.prototype.keyword=function(){var e=new nr(this,this._ctx,this.state);this.enterRule(e,408,p.RULE_keyword);var t=0;try{this.enterOuterAlt(e,1),this.state=2692,0==((t=this._input.LA(1))-54&-32)&&0!=(1<<t-54&(1<<p.CYPHER-54|1<<p.EXPLAIN-54|1<<p.PROFILE-54|1<<p.USING-54|1<<p.PERIODIC-54|1<<p.COMMIT-54|1<<p.UNION-54|1<<p.ALL-54|1<<p.CREATE-54|1<<p.DROP-54|1<<p.INDEX-54|1<<p.ON-54|1<<p.CONSTRAINT-54|1<<p.ASSERT-54|1<<p.IS-54|1<<p.UNIQUE-54|1<<p.EXISTS-54|1<<p.LOAD-54|1<<p.CSV-54|1<<p.WITH-54|1<<p.HEADERS-54|1<<p.FROM-54|1<<p.AS-54|1<<p.FIELDTERMINATOR-54|1<<p.OPTIONAL-54|1<<p.MATCH-54|1<<p.UNWIND-54|1<<p.MERGE-54|1<<p.SET-54|1<<p.DETACH-54|1<<p.DELETE-54|1<<p.REMOVE-54))||0==(t-86&-32)&&0!=(1<<t-86&(1<<p.FOREACH-86|1<<p.IN-86|1<<p.DISTINCT-86|1<<p.RETURN-86|1<<p.ORDER-86|1<<p.BY-86|1<<p.L_SKIP-86|1<<p.LIMIT-86|1<<p.ASCENDING-86|1<<p.ASC-86|1<<p.DESCENDING-86|1<<p.DESC-86|1<<p.JOIN-86|1<<p.SCAN-86|1<<p.START-86|1<<p.NODE-86|1<<p.RELATIONSHIP-86|1<<p.REL-86|1<<p.WHERE-86|1<<p.SHORTESTPATH-86|1<<p.ALLSHORTESTPATHS-86|1<<p.OR-86|1<<p.XOR-86|1<<p.AND-86|1<<p.NOT-86|1<<p.STARTS-86|1<<p.ENDS-86|1<<p.CONTAINS-86|1<<p.NULL-86|1<<p.COUNT-86|1<<p.FILTER-86|1<<p.EXTRACT-86))||0==(t-118&-32)&&0!=(1<<t-118&(1<<p.ANY-118|1<<p.NONE-118|1<<p.SINGLE-118|1<<p.TRUE-118|1<<p.FALSE-118|1<<p.REDUCE-118|1<<p.CASE-118|1<<p.ELSE-118|1<<p.END-118|1<<p.WHEN-118|1<<p.THEN-118|1<<p.CALL-118|1<<p.YIELD-118|1<<p.KEY-118|1<<p.BTREE-118|1<<p.EXIST-118|1<<p.FOR-118|1<<p.OPTIONS-118|1<<p.EXECUTE-118|1<<p.DEFINED-118|1<<p.FUNCTION-118|1<<p.FUNCTIONS-118|1<<p.BOOSTED-118|1<<p.PROCEDURE-118|1<<p.PROCEDURES-118|1<<p.ADMIN-118|1<<p.ADMINISTRATOR-118|1<<p.BRIEF-118|1<<p.VERBOSE-118|1<<p.OUTPUT-118))?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this)}catch(t){if(!(t instanceof r.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e},t.CypherParser=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ReferencesListener=void 0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=n(43),a=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(1));function s(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function l(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var u=function(){function e(){c(this,e),this.names={},this.namesByQuery=[],this.referencesByName={},this.referencesByQueryAndName=[]}return i(e,[{key:"addQuery",value:function(){this.namesByQuery.push([]),this.referencesByQueryAndName.push({})}},{key:"add",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=this.namesByQuery.length-1,r=e.getText();t&&(this.names[r]=!0,this.namesByQuery[n][r]=!0),this.referencesByName[r]=[].concat(l(this.referencesByName[r]||[]),[e]);var i=this.referencesByQueryAndName[n];i[r]=[].concat(l(i[r]||[]),[e])}},{key:"addVariable",value:function(e){var t=!0,n=e.parentCtx;n&&n.constructor.name===a.ATOM_CONTEXT&&(t=!1),this.add(e,t)}}]),e}();t.ReferencesListener=function(e){function t(){var e,n,i;c(this,t);for(var o=arguments.length,l=Array(o),h=0;h<o;h++)l[h]=arguments[h];return n=i=s(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(l))),i.queries=[],i.queriesAndCommands=[],i.statements=[],i.raw=[],i.indexes=a.SYMBOLIC_CONTEXTS.reduce((function(e,t){return r({},e,function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},t,new u(t)))}),{}),i.inConsoleCommand=!1,s(i,n)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),i(t,[{key:"enterRaw",value:function(e){this.raw.push(e)}},{key:"exitRaw",value:function(e){0===this.raw.length&&this.raw.push(e)}},{key:"enterCypherPart",value:function(e){this.statements.push(e)}},{key:"exitCypher",value:function(e){0===this.statements.length&&this.statements.push(e)}},{key:"enterCypherConsoleCommand",value:function(e){var t=this;this.queriesAndCommands.push(e),Object.keys(this.indexes).forEach((function(e){return t.indexes[e].addQuery()})),this.inConsoleCommand=!0}},{key:"exitCypherConsoleCommand",value:function(){this.inConsoleCommand=!1}},{key:"enterCypherQuery",value:function(e){var t=this;this.queries.push(e),this.queriesAndCommands.push(e),Object.keys(this.indexes).forEach((function(e){return t.indexes[e].addQuery()}))}},{key:"exitVariable",value:function(e){this.inConsoleCommand||this.indexes[a.VARIABLE_CONTEXT].addVariable(e)}},{key:"exitLabelName",value:function(e){this.inConsoleCommand||this.indexes[a.LABEL_NAME_CONTEXT].add(e)}},{key:"exitRelTypeName",value:function(e){this.inConsoleCommand||this.indexes[a.RELATIONSHIP_TYPE_NAME_CONTEXT].add(e)}},{key:"exitPropertyKeyName",value:function(e){this.inConsoleCommand||this.indexes[a.PROPERTY_KEY_NAME_CONTEXT].add(e)}},{key:"exitParameterName",value:function(e){this.inConsoleCommand||this.indexes[a.PARAMETER_NAME_CONTEXT].add(e)}}]),t}(o.CypherListener)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createCypherLexer=void 0;var r,i=(r=n(6))&&r.__esModule?r:{default:r},o=n(44);t.createCypherLexer=function(e){var t=new i.default.InputStream(e);return new o.CypherLexer(t)}}])},e.exports=t()},3405:e=>{"use strict";var t=Object.prototype.hasOwnProperty,n=Object.prototype.toString,r=Object.defineProperty,i=Object.getOwnPropertyDescriptor,o=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===n.call(e)},a=function(e){if(!e||"[object Object]"!==n.call(e))return!1;var r,i=t.call(e,"constructor"),o=e.constructor&&e.constructor.prototype&&t.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!i&&!o)return!1;for(r in e);return void 0===r||t.call(e,r)},s=function(e,t){r&&"__proto__"===t.name?r(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},l=function(e,n){if("__proto__"===n){if(!t.call(e,n))return;if(i)return i(e,n).value}return e[n]};e.exports=function e(){var t,n,r,i,c,u,h=arguments[0],p=1,d=arguments.length,f=!1;for("boolean"==typeof h&&(f=h,h=arguments[1]||{},p=2),(null==h||"object"!=typeof h&&"function"!=typeof h)&&(h={});p<d;++p)if(null!=(t=arguments[p]))for(n in t)r=l(h,n),h!==(i=l(t,n))&&(f&&i&&(a(i)||(c=o(i)))?(c?(c=!1,u=r&&o(r)?r:[]):u=r&&a(r)?r:{},s(h,{name:n,newValue:e(f,u,i)})):void 0!==i&&s(h,{name:n,newValue:i}));return h}},63:(e,t,n)=>{"use strict";var r=n(9415),i={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return r.isMemo(e)?a:s[e.$$typeof]||i}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=a;var c=Object.defineProperty,u=Object.getOwnPropertyNames,h=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,d=Object.getPrototypeOf,f=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(f){var i=d(n);i&&i!==f&&e(t,i,r)}var a=u(n);h&&(a=a.concat(h(n)));for(var s=l(t),m=l(n),g=0;g<a.length;++g){var y=a[g];if(!(o[y]||r&&r[y]||m&&m[y]||s&&s[y])){var v=p(n,y);try{c(t,y,v)}catch(e){}}}}return t}},158:e=>{var t=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,n=/\n/g,r=/^\s*/,i=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,o=/^:\s*/,a=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,s=/^[;\s]*/,l=/^\s+|\s+$/g,c="";function u(e){return e?e.replace(l,c):c}e.exports=function(e,l){if("string"!=typeof e)throw new TypeError("First argument must be a string");if(!e)return[];l=l||{};var h=1,p=1;function d(e){var t=e.match(n);t&&(h+=t.length);var r=e.lastIndexOf("\n");p=~r?e.length-r:p+e.length}function f(){var e={line:h,column:p};return function(t){return t.position=new m(e),_(),t}}function m(e){this.start=e,this.end={line:h,column:p},this.source=l.source}m.prototype.content=e;var g=[];function y(t){var n=new Error(l.source+":"+h+":"+p+": "+t);if(n.reason=t,n.filename=l.source,n.line=h,n.column=p,n.source=e,!l.silent)throw n;g.push(n)}function v(t){var n=t.exec(e);if(n){var r=n[0];return d(r),e=e.slice(r.length),n}}function _(){v(r)}function b(e){var t;for(e=e||[];t=E();)!1!==t&&e.push(t);return e}function E(){var t=f();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var n=2;c!=e.charAt(n)&&("*"!=e.charAt(n)||"/"!=e.charAt(n+1));)++n;if(n+=2,c===e.charAt(n-1))return y("End of comment missing");var r=e.slice(2,n-2);return p+=2,d(r),e=e.slice(n),p+=2,t({type:"comment",comment:r})}}function T(){var e=f(),n=v(i);if(n){if(E(),!v(o))return y("property missing ':'");var r=v(a),l=e({type:"declaration",property:u(n[0].replace(t,c)),value:r?u(r[0].replace(t,c)):c});return v(s),l}}return _(),function(){var e,t=[];for(b(t);e=T();)!1!==e&&(t.push(e),b(t));return t}()}},2791:e=>{var t=[],n=[];function r(e,r){if(r=r||{},void 0===e)throw new Error("insert-css: You need to provide a CSS string. Usage: insertCss(cssString[, options]).");var i,o=!0===r.prepend?"prepend":"append",a=void 0!==r.container?r.container:document.querySelector("head"),s=t.indexOf(a);return-1===s&&(s=t.push(a)-1,n[s]={}),void 0!==n[s]&&void 0!==n[s][o]?i=n[s][o]:(i=n[s][o]=function(){var e=document.createElement("style");return e.setAttribute("type","text/css"),e}(),"prepend"===o?a.insertBefore(i,a.childNodes[0]):a.appendChild(i)),65279===e.charCodeAt(0)&&(e=e.substr(1,e.length)),i.styleSheet?i.styleSheet.cssText+=e:i.textContent+=e,i}e.exports=r,e.exports.insertCss=r},6486:(e,t,n)=>{"use strict";(t=e.exports=n(6656).default).default=t},6656:(e,t)=>{"use strict";t.default=function(){function e(t,n,r,i){this.message=t,this.expected=n,this.found=r,this.location=i,this.name="SyntaxError","function"==typeof Error.captureStackTrace&&Error.captureStackTrace(this,e)}return function(e,t){function n(){this.constructor=e}n.prototype=t.prototype,e.prototype=new n}(e,Error),{SyntaxError:e,parse:function(t){var n,r=arguments.length>1?arguments[1]:{},i={},o={start:Le},a=Le,s=function(e){return{type:"messageFormatPattern",elements:e,location:Ce()}},l=function(e){var t,n,r,i,o,a="";for(t=0,r=e.length;t<r;t+=1)for(n=0,o=(i=e[t]).length;n<o;n+=1)a+=i[n];return a},c=function(e){return{type:"messageTextElement",value:e,location:Ce()}},u=/^[^ \t\n\r,.+={}#]/,h={type:"class",value:"[^ \\t\\n\\r,.+={}#]",description:"[^ \\t\\n\\r,.+={}#]"},p="{",d={type:"literal",value:"{",description:'"{"'},f=",",m={type:"literal",value:",",description:'","'},g="}",y={type:"literal",value:"}",description:'"}"'},v=function(e,t){return{type:"argumentElement",id:e,format:t&&t[2],location:Ce()}},_="number",b={type:"literal",value:"number",description:'"number"'},E="date",T={type:"literal",value:"date",description:'"date"'},x="time",S={type:"literal",value:"time",description:'"time"'},C=function(e,t){return{type:e+"Format",style:t&&t[2],location:Ce()}},A="plural",R={type:"literal",value:"plural",description:'"plural"'},w=function(e){return{type:e.type,ordinal:!1,offset:e.offset||0,options:e.options,location:Ce()}},L="selectordinal",O={type:"literal",value:"selectordinal",description:'"selectordinal"'},N=function(e){return{type:e.type,ordinal:!0,offset:e.offset||0,options:e.options,location:Ce()}},I="select",k={type:"literal",value:"select",description:'"select"'},D=function(e){return{type:"selectFormat",options:e,location:Ce()}},P="=",M={type:"literal",value:"=",description:'"="'},F=function(e,t){return{type:"optionalFormatPattern",selector:e,value:t,location:Ce()}},H="offset:",B={type:"literal",value:"offset:",description:'"offset:"'},U=function(e){return e},j=function(e,t){return{type:"pluralFormat",offset:e,options:t,location:Ce()}},G={type:"other",description:"whitespace"},Y=/^[ \t\n\r]/,z={type:"class",value:"[ \\t\\n\\r]",description:"[ \\t\\n\\r]"},$={type:"other",description:"optionalWhitespace"},W=/^[0-9]/,V={type:"class",value:"[0-9]",description:"[0-9]"},K=/^[0-9a-f]/i,q={type:"class",value:"[0-9a-f]i",description:"[0-9a-f]i"},X="0",Z={type:"literal",value:"0",description:'"0"'},Q=/^[1-9]/,J={type:"class",value:"[1-9]",description:"[1-9]"},ee=function(e){return parseInt(e,10)},te=/^[^{}\\\0-\x1F \t\n\r]/,ne={type:"class",value:"[^{}\\\\\\0-\\x1F\\x7f \\t\\n\\r]",description:"[^{}\\\\\\0-\\x1F\\x7f \\t\\n\\r]"},re="\\\\",ie={type:"literal",value:"\\\\",description:'"\\\\\\\\"'},oe=function(){return"\\"},ae="\\#",se={type:"literal",value:"\\#",description:'"\\\\#"'},le=function(){return"\\#"},ce="\\{",ue={type:"literal",value:"\\{",description:'"\\\\{"'},he=function(){return"{"},pe="\\}",de={type:"literal",value:"\\}",description:'"\\\\}"'},fe=function(){return"}"},me="\\u",ge={type:"literal",value:"\\u",description:'"\\\\u"'},ye=function(e){return String.fromCharCode(parseInt(e,16))},ve=function(e){return e.join("")},_e=0,be=0,Ee=[{line:1,column:1,seenCR:!1}],Te=0,xe=[],Se=0;if("startRule"in r){if(!(r.startRule in o))throw new Error("Can't start parsing from rule \""+r.startRule+'".');a=o[r.startRule]}function Ce(){return Re(be,_e)}function Ae(e){var n,r,i=Ee[e];if(i)return i;for(n=e-1;!Ee[n];)n--;for(i={line:(i=Ee[n]).line,column:i.column,seenCR:i.seenCR};n<e;)"\n"===(r=t.charAt(n))?(i.seenCR||i.line++,i.column=1,i.seenCR=!1):"\r"===r||"\u2028"===r||"\u2029"===r?(i.line++,i.column=1,i.seenCR=!0):(i.column++,i.seenCR=!1),n++;return Ee[e]=i,i}function Re(e,t){var n=Ae(e),r=Ae(t);return{start:{offset:e,line:n.line,column:n.column},end:{offset:t,line:r.line,column:r.column}}}function we(e){_e<Te||(_e>Te&&(Te=_e,xe=[]),xe.push(e))}function Le(){return Oe()}function Oe(){var e,t,n;for(e=_e,t=[],n=Ne();n!==i;)t.push(n),n=Ne();return t!==i&&(be=e,t=s(t)),t}function Ne(){var e;return(e=function(){var e,n;return e=_e,n=function(){var e,n,r,o,a,s;if(e=_e,n=[],r=_e,(o=Pe())!==i&&(a=Ue())!==i&&(s=Pe())!==i?r=o=[o,a,s]:(_e=r,r=i),r!==i)for(;r!==i;)n.push(r),r=_e,(o=Pe())!==i&&(a=Ue())!==i&&(s=Pe())!==i?r=o=[o,a,s]:(_e=r,r=i);else n=i;return n!==i&&(be=e,n=l(n)),(e=n)===i&&(e=_e,e=(n=De())!==i?t.substring(e,_e):n),e}(),n!==i&&(be=e,n=c(n)),e=n}())===i&&(e=function(){var e,n,r,o,a,s,l;return e=_e,123===t.charCodeAt(_e)?(n=p,_e++):(n=i,0===Se&&we(d)),n!==i&&Pe()!==i?(r=function(){var e,n,r;if((e=He())===i){if(e=_e,n=[],u.test(t.charAt(_e))?(r=t.charAt(_e),_e++):(r=i,0===Se&&we(h)),r!==i)for(;r!==i;)n.push(r),u.test(t.charAt(_e))?(r=t.charAt(_e),_e++):(r=i,0===Se&&we(h));else n=i;e=n!==i?t.substring(e,_e):n}return e}(),r!==i&&Pe()!==i?(o=_e,44===t.charCodeAt(_e)?(a=f,_e++):(a=i,0===Se&&we(m)),a!==i&&(s=Pe())!==i?(l=function(){var e;return e=function(){var e,n,r,o,a,s;return e=_e,t.substr(_e,6)===_?(n=_,_e+=6):(n=i,0===Se&&we(b)),n===i&&(t.substr(_e,4)===E?(n=E,_e+=4):(n=i,0===Se&&we(T)),n===i&&(t.substr(_e,4)===x?(n=x,_e+=4):(n=i,0===Se&&we(S)))),n!==i&&Pe()!==i?(r=_e,44===t.charCodeAt(_e)?(o=f,_e++):(o=i,0===Se&&we(m)),o!==i&&(a=Pe())!==i&&(s=Ue())!==i?r=o=[o,a,s]:(_e=r,r=i),r===i&&(r=null),r!==i?(be=e,e=n=C(n,r)):(_e=e,e=i)):(_e=e,e=i),e}(),e===i&&(e=function(){var e,n,r,o;return e=_e,t.substr(_e,6)===A?(n=A,_e+=6):(n=i,0===Se&&we(R)),n!==i&&Pe()!==i?(44===t.charCodeAt(_e)?(r=f,_e++):(r=i,0===Se&&we(m)),r!==i&&Pe()!==i&&(o=ke())!==i?(be=e,e=n=w(o)):(_e=e,e=i)):(_e=e,e=i),e}(),e===i&&(e=function(){var e,n,r,o;return e=_e,t.substr(_e,13)===L?(n=L,_e+=13):(n=i,0===Se&&we(O)),n!==i&&Pe()!==i?(44===t.charCodeAt(_e)?(r=f,_e++):(r=i,0===Se&&we(m)),r!==i&&Pe()!==i&&(o=ke())!==i?(be=e,e=n=N(o)):(_e=e,e=i)):(_e=e,e=i),e}(),e===i&&(e=function(){var e,n,r,o,a;if(e=_e,t.substr(_e,6)===I?(n=I,_e+=6):(n=i,0===Se&&we(k)),n!==i)if(Pe()!==i)if(44===t.charCodeAt(_e)?(r=f,_e++):(r=i,0===Se&&we(m)),r!==i)if(Pe()!==i){if(o=[],(a=Ie())!==i)for(;a!==i;)o.push(a),a=Ie();else o=i;o!==i?(be=e,e=n=D(o)):(_e=e,e=i)}else _e=e,e=i;else _e=e,e=i;else _e=e,e=i;else _e=e,e=i;return e}()))),e}(),l!==i?o=a=[a,s,l]:(_e=o,o=i)):(_e=o,o=i),o===i&&(o=null),o!==i&&(a=Pe())!==i?(125===t.charCodeAt(_e)?(s=g,_e++):(s=i,0===Se&&we(y)),s!==i?(be=e,e=n=v(r,o)):(_e=e,e=i)):(_e=e,e=i)):(_e=e,e=i)):(_e=e,e=i),e}()),e}function Ie(){var e,n,r,o,a;return e=_e,Pe()!==i?(n=function(){var e,n,r,o;return e=_e,n=_e,61===t.charCodeAt(_e)?(r=P,_e++):(r=i,0===Se&&we(M)),r!==i&&(o=He())!==i?n=r=[r,o]:(_e=n,n=i),(e=n!==i?t.substring(e,_e):n)===i&&(e=Ue()),e}(),n!==i&&Pe()!==i?(123===t.charCodeAt(_e)?(r=p,_e++):(r=i,0===Se&&we(d)),r!==i&&Pe()!==i&&(o=Oe())!==i&&Pe()!==i?(125===t.charCodeAt(_e)?(a=g,_e++):(a=i,0===Se&&we(y)),a!==i?(be=e,e=F(n,o)):(_e=e,e=i)):(_e=e,e=i)):(_e=e,e=i)):(_e=e,e=i),e}function ke(){var e,n,r,o;if(e=_e,n=function(){var e,n,r;return e=_e,t.substr(_e,7)===H?(n=H,_e+=7):(n=i,0===Se&&we(B)),n!==i&&Pe()!==i&&(r=He())!==i?(be=e,e=n=U(r)):(_e=e,e=i),e}(),n===i&&(n=null),n!==i)if(Pe()!==i){if(r=[],(o=Ie())!==i)for(;o!==i;)r.push(o),o=Ie();else r=i;r!==i?(be=e,e=n=j(n,r)):(_e=e,e=i)}else _e=e,e=i;else _e=e,e=i;return e}function De(){var e,n;if(Se++,e=[],Y.test(t.charAt(_e))?(n=t.charAt(_e),_e++):(n=i,0===Se&&we(z)),n!==i)for(;n!==i;)e.push(n),Y.test(t.charAt(_e))?(n=t.charAt(_e),_e++):(n=i,0===Se&&we(z));else e=i;return Se--,e===i&&(n=i,0===Se&&we(G)),e}function Pe(){var e,n,r;for(Se++,e=_e,n=[],r=De();r!==i;)n.push(r),r=De();return e=n!==i?t.substring(e,_e):n,Se--,e===i&&(n=i,0===Se&&we($)),e}function Me(){var e;return W.test(t.charAt(_e))?(e=t.charAt(_e),_e++):(e=i,0===Se&&we(V)),e}function Fe(){var e;return K.test(t.charAt(_e))?(e=t.charAt(_e),_e++):(e=i,0===Se&&we(q)),e}function He(){var e,n,r,o,a,s;if(e=_e,48===t.charCodeAt(_e)?(n=X,_e++):(n=i,0===Se&&we(Z)),n===i){if(n=_e,r=_e,Q.test(t.charAt(_e))?(o=t.charAt(_e),_e++):(o=i,0===Se&&we(J)),o!==i){for(a=[],s=Me();s!==i;)a.push(s),s=Me();a!==i?r=o=[o,a]:(_e=r,r=i)}else _e=r,r=i;n=r!==i?t.substring(n,_e):r}return n!==i&&(be=e,n=ee(n)),n}function Be(){var e,n,r,o,a,s,l,c;return te.test(t.charAt(_e))?(e=t.charAt(_e),_e++):(e=i,0===Se&&we(ne)),e===i&&(e=_e,t.substr(_e,2)===re?(n=re,_e+=2):(n=i,0===Se&&we(ie)),n!==i&&(be=e,n=oe()),(e=n)===i&&(e=_e,t.substr(_e,2)===ae?(n=ae,_e+=2):(n=i,0===Se&&we(se)),n!==i&&(be=e,n=le()),(e=n)===i&&(e=_e,t.substr(_e,2)===ce?(n=ce,_e+=2):(n=i,0===Se&&we(ue)),n!==i&&(be=e,n=he()),(e=n)===i&&(e=_e,t.substr(_e,2)===pe?(n=pe,_e+=2):(n=i,0===Se&&we(de)),n!==i&&(be=e,n=fe()),(e=n)===i&&(e=_e,t.substr(_e,2)===me?(n=me,_e+=2):(n=i,0===Se&&we(ge)),n!==i?(r=_e,o=_e,(a=Fe())!==i&&(s=Fe())!==i&&(l=Fe())!==i&&(c=Fe())!==i?o=a=[a,s,l,c]:(_e=o,o=i),(r=o!==i?t.substring(r,_e):o)!==i?(be=e,e=n=ye(r)):(_e=e,e=i)):(_e=e,e=i)))))),e}function Ue(){var e,t,n;if(e=_e,t=[],(n=Be())!==i)for(;n!==i;)t.push(n),n=Be();else t=i;return t!==i&&(be=e,t=ve(t)),t}if((n=a())!==i&&_e===t.length)return n;throw n!==i&&_e<t.length&&we({type:"end",description:"end of input"}),function(t,n,r,i){return null!==n&&function(e){var t=1;for(e.sort((function(e,t){return e.description<t.description?-1:e.description>t.description?1:0}));t<e.length;)e[t-1]===e[t]?e.splice(t,1):t++}(n),new e(null!==t?t:function(e,t){var n,r=new Array(e.length);for(n=0;n<e.length;n++)r[n]=e[n].description;return"Expected "+(e.length>1?r.slice(0,-1).join(", ")+" or "+r[e.length-1]:r[0])+" but "+(t?'"'+function(e){function t(e){return e.charCodeAt(0).toString(16).toUpperCase()}return e.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\x08/g,"\\b").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\f/g,"\\f").replace(/\r/g,"\\r").replace(/[\x00-\x07\x0B\x0E\x0F]/g,(function(e){return"\\x0"+t(e)})).replace(/[\x10-\x1F\x80-\xFF]/g,(function(e){return"\\x"+t(e)})).replace(/[\u0100-\u0FFF]/g,(function(e){return"\\u0"+t(e)})).replace(/[\u1000-\uFFFF]/g,(function(e){return"\\u"+t(e)}))}(t)+'"':"end of input")+" found."}(n,r),n,r,i)}(null,xe,Te<t.length?t.charAt(Te):null,Te<t.length?Re(Te,Te+1):Re(Te,Te))}}}()},2462:(e,t,n)=>{"use strict";var r=n(5478).Z;n(3321),(t=e.exports=r).default=t},4419:(e,t)=>{"use strict";function n(e,t,n){this.locales=e,this.formats=t,this.pluralFn=n}function r(e){this.id=e}function i(e,t,n,r,i){this.id=e,this.useOrdinal=t,this.offset=n,this.options=r,this.pluralFn=i}function o(e,t,n,r){this.id=e,this.offset=t,this.numberFormat=n,this.string=r}function a(e,t){this.id=e,this.options=t}t.default=n,n.prototype.compile=function(e){return this.pluralStack=[],this.currentPlural=null,this.pluralNumberFormat=null,this.compileMessage(e)},n.prototype.compileMessage=function(e){if(!e||"messageFormatPattern"!==e.type)throw new Error('Message AST is not of type: "messageFormatPattern"');var t,n,r,i=e.elements,o=[];for(t=0,n=i.length;t<n;t+=1)switch((r=i[t]).type){case"messageTextElement":o.push(this.compileMessageText(r));break;case"argumentElement":o.push(this.compileArgument(r));break;default:throw new Error("Message element does not have a valid type")}return o},n.prototype.compileMessageText=function(e){return this.currentPlural&&/(^|[^\\])#/g.test(e.value)?(this.pluralNumberFormat||(this.pluralNumberFormat=new Intl.NumberFormat(this.locales)),new o(this.currentPlural.id,this.currentPlural.format.offset,this.pluralNumberFormat,e.value)):e.value.replace(/\\#/g,"#")},n.prototype.compileArgument=function(e){var t=e.format;if(!t)return new r(e.id);var n,o=this.formats,s=this.locales,l=this.pluralFn;switch(t.type){case"numberFormat":return n=o.number[t.style],{id:e.id,format:new Intl.NumberFormat(s,n).format};case"dateFormat":return n=o.date[t.style],{id:e.id,format:new Intl.DateTimeFormat(s,n).format};case"timeFormat":return n=o.time[t.style],{id:e.id,format:new Intl.DateTimeFormat(s,n).format};case"pluralFormat":return n=this.compileOptions(e),new i(e.id,t.ordinal,t.offset,n,l);case"selectFormat":return n=this.compileOptions(e),new a(e.id,n);default:throw new Error("Message element does not have a valid format type")}},n.prototype.compileOptions=function(e){var t,n,r,i=e.format,o=i.options,a={};for(this.pluralStack.push(this.currentPlural),this.currentPlural="pluralFormat"===i.type?e:null,t=0,n=o.length;t<n;t+=1)a[(r=o[t]).selector]=this.compileMessage(r.value);return this.currentPlural=this.pluralStack.pop(),a},r.prototype.format=function(e){return e||"number"==typeof e?"string"==typeof e?e:String(e):""},i.prototype.getOption=function(e){var t=this.options;return t["="+e]||t[this.pluralFn(e-this.offset,this.useOrdinal)]||t.other},o.prototype.format=function(e){var t=this.numberFormat.format(e-this.offset);return this.string.replace(/(^|[^\\])#/g,"$1"+t).replace(/\\#/g,"#")},a.prototype.getOption=function(e){var t=this.options;return t[e]||t.other}},2873:(e,t,n)=>{"use strict";var r=n(5303),i=n(4996),o=n(4419),a=n(6486);function s(e,t,n){var r="string"==typeof e?s.__parse(e):e;if(!r||"messageFormatPattern"!==r.type)throw new TypeError("A message must be provided as a String or AST.");n=this._mergeFormats(s.formats,n),i.defineProperty(this,"_locale",{value:this._resolveLocale(t)});var o=this._findPluralRuleFunction(this._locale),a=this._compilePattern(r,t,n,o),l=this;this.format=function(t){try{return l._format(a,t)}catch(t){throw t.variableId?new Error("The intl string context variable '"+t.variableId+"' was not provided to the string '"+e+"'"):t}}}t.default=s,i.defineProperty(s,"formats",{enumerable:!0,value:{number:{currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}}}),i.defineProperty(s,"__localeData__",{value:i.objCreate(null)}),i.defineProperty(s,"__addLocaleData",{value:function(e){if(!e||!e.locale)throw new Error("Locale data provided to IntlMessageFormat is missing a `locale` property");s.__localeData__[e.locale.toLowerCase()]=e}}),i.defineProperty(s,"__parse",{value:a.default.parse}),i.defineProperty(s,"defaultLocale",{enumerable:!0,writable:!0,value:void 0}),s.prototype.resolvedOptions=function(){return{locale:this._locale}},s.prototype._compilePattern=function(e,t,n,r){return new o.default(t,n,r).compile(e)},s.prototype._findPluralRuleFunction=function(e){for(var t=s.__localeData__,n=t[e.toLowerCase()];n;){if(n.pluralRuleFunction)return n.pluralRuleFunction;n=n.parentLocale&&t[n.parentLocale.toLowerCase()]}throw new Error("Locale data added to IntlMessageFormat is missing a `pluralRuleFunction` for :"+e)},s.prototype._format=function(e,t){var n,i,o,a,s,l,c="";for(n=0,i=e.length;n<i;n+=1)if("string"!=typeof(o=e[n])){if(a=o.id,!t||!r.hop.call(t,a))throw(l=new Error("A value must be provided for: "+a)).variableId=a,l;s=t[a],o.options?c+=this._format(o.getOption(s),t):c+=o.format(s)}else c+=o;return c},s.prototype._mergeFormats=function(e,t){var n,o,a={};for(n in e)r.hop.call(e,n)&&(a[n]=o=i.objCreate(e[n]),t&&r.hop.call(t,n)&&r.extend(o,t[n]));return a},s.prototype._resolveLocale=function(e){"string"==typeof e&&(e=[e]),e=(e||[]).concat(s.defaultLocale);var t,n,r,i,o=s.__localeData__;for(t=0,n=e.length;t<n;t+=1)for(r=e[t].toLowerCase().split("-");r.length;){if(i=o[r.join("-")])return i.locale;r.pop()}var a=e.pop();throw new Error("No locale data has been added to IntlMessageFormat for: "+e.join(", ")+", or the default locale: "+a)}},9531:(e,t)=>{"use strict";t.default={locale:"en",pluralRuleFunction:function(e,t){var n=String(e).split("."),r=!n[1],i=Number(n[0])==e,o=i&&n[0].slice(-1),a=i&&n[0].slice(-2);return t?1==o&&11!=a?"one":2==o&&12!=a?"two":3==o&&13!=a?"few":"other":1==e&&r?"one":"other"}}},4996:(e,t,n)=>{"use strict";var r=n(5303),i=function(){try{return!!Object.defineProperty({},"a",{})}catch(e){return!1}}(),o=(!i&&Object.prototype.__defineGetter__,i?Object.defineProperty:function(e,t,n){"get"in n&&e.__defineGetter__?e.__defineGetter__(t,n.get):r.hop.call(e,t)&&!("value"in n)||(e[t]=n.value)}),a=Object.create||function(e,t){var n,i;function a(){}for(i in a.prototype=e,n=new a,t)r.hop.call(t,i)&&o(n,i,t[i]);return n};t.defineProperty=o,t.objCreate=a},5478:(e,t,n)=>{"use strict";var r=n(2873),i=n(9531);r.default.__addLocaleData(i.default),r.default.defaultLocale="en",t.Z=r.default},5303:(e,t)=>{"use strict";t.extend=function(e){var t,r,i,o,a=Array.prototype.slice.call(arguments,1);for(t=0,r=a.length;t<r;t+=1)if(i=a[t])for(o in i)n.call(i,o)&&(e[o]=i[o]);return e};var n=Object.prototype.hasOwnProperty;t.hop=n},1700:e=>{"use strict";e.exports=function(e,t,n,r,i,o,a,s){if(!e){var l;if(void 0===t)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,i,o,a,s],u=0;(l=new Error(t.replace(/%s/g,(function(){return c[u++]})))).name="Invariant Violation"}throw l.framesToPop=1,l}}},4853:e=>{e.exports=function(e){return null!=e&&null!=e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}},4466:(e,t,n)=>{var r=n(5234)(n(3250),"DataView");e.exports=r},5208:(e,t,n)=>{var r=n(4440),i=n(4108),o=n(1085),a=n(7706),s=n(8636);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}l.prototype.clear=r,l.prototype.delete=i,l.prototype.get=o,l.prototype.has=a,l.prototype.set=s,e.exports=l},1998:(e,t,n)=>{var r=n(266),i=n(2875),o=n(5828),a=n(4115),s=n(7690);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}l.prototype.clear=r,l.prototype.delete=i,l.prototype.get=o,l.prototype.has=a,l.prototype.set=s,e.exports=l},2887:(e,t,n)=>{var r=n(5234)(n(3250),"Map");e.exports=r},5678:(e,t,n)=>{var r=n(9016),i=n(2363),o=n(4348),a=n(3062),s=n(2590);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}l.prototype.clear=r,l.prototype.delete=i,l.prototype.get=o,l.prototype.has=a,l.prototype.set=s,e.exports=l},5747:(e,t,n)=>{var r=n(5234)(n(3250),"Promise");e.exports=r},6616:(e,t,n)=>{var r=n(5234)(n(3250),"Set");e.exports=r},4546:(e,t,n)=>{var r=n(5678),i=n(3937),o=n(5009);function a(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new r;++t<n;)this.add(e[t])}a.prototype.add=a.prototype.push=i,a.prototype.has=o,e.exports=a},9549:(e,t,n)=>{var r=n(1998),i=n(3210),o=n(8603),a=n(8947),s=n(885),l=n(8938);function c(e){var t=this.__data__=new r(e);this.size=t.size}c.prototype.clear=i,c.prototype.delete=o,c.prototype.get=a,c.prototype.has=s,c.prototype.set=l,e.exports=c},861:(e,t,n)=>{var r=n(3250).Symbol;e.exports=r},3526:(e,t,n)=>{var r=n(3250).Uint8Array;e.exports=r},8001:(e,t,n)=>{var r=n(5234)(n(3250),"WeakMap");e.exports=r},4004:e=>{e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}},2493:e=>{e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,i=0,o=[];++n<r;){var a=e[n];t(a,n,e)&&(o[i++]=a)}return o}},5825:(e,t,n)=>{var r=n(8509),i=n(8390),o=n(5589),a=n(5778),s=n(5023),l=n(922),c=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=o(e),u=!n&&i(e),h=!n&&!u&&a(e),p=!n&&!u&&!h&&l(e),d=n||u||h||p,f=d?r(e.length,String):[],m=f.length;for(var g in e)!t&&!c.call(e,g)||d&&("length"==g||h&&("offset"==g||"parent"==g)||p&&("buffer"==g||"byteLength"==g||"byteOffset"==g)||s(g,m))||f.push(g);return f}},9233:e=>{e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}},111:e=>{e.exports=function(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}},1831:e=>{e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}},5376:(e,t,n)=>{var r=n(7500),i=n(8260),o=Object.prototype.hasOwnProperty;e.exports=function(e,t,n){var a=e[t];o.call(e,t)&&i(a,n)&&(void 0!==n||t in e)||r(e,t,n)}},8498:(e,t,n)=>{var r=n(8260);e.exports=function(e,t){for(var n=e.length;n--;)if(r(e[n][0],t))return n;return-1}},4265:(e,t,n)=>{var r=n(8618),i=n(2096);e.exports=function(e,t){return e&&r(t,i(t),e)}},1629:(e,t,n)=>{var r=n(8618),i=n(9882);e.exports=function(e,t){return e&&r(t,i(t),e)}},7500:(e,t,n)=>{var r=n(5595);e.exports=function(e,t,n){"__proto__"==t&&r?r(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}},8361:(e,t,n)=>{var r=n(9549),i=n(4004),o=n(5376),a=n(4265),s=n(1629),l=n(6502),c=n(2166),u=n(7272),h=n(2066),p=n(4357),d=n(5713),f=n(7493),m=n(2865),g=n(1908),y=n(4046),v=n(5589),_=n(5778),b=n(7613),E=n(3702),T=n(693),x=n(2096),S=n(9882),C="[object Arguments]",A="[object Function]",R="[object Object]",w={};w[C]=w["[object Array]"]=w["[object ArrayBuffer]"]=w["[object DataView]"]=w["[object Boolean]"]=w["[object Date]"]=w["[object Float32Array]"]=w["[object Float64Array]"]=w["[object Int8Array]"]=w["[object Int16Array]"]=w["[object Int32Array]"]=w["[object Map]"]=w["[object Number]"]=w[R]=w["[object RegExp]"]=w["[object Set]"]=w["[object String]"]=w["[object Symbol]"]=w["[object Uint8Array]"]=w["[object Uint8ClampedArray]"]=w["[object Uint16Array]"]=w["[object Uint32Array]"]=!0,w["[object Error]"]=w[A]=w["[object WeakMap]"]=!1,e.exports=function e(t,n,L,O,N,I){var k,D=1&n,P=2&n,M=4&n;if(L&&(k=N?L(t,O,N,I):L(t)),void 0!==k)return k;if(!E(t))return t;var F=v(t);if(F){if(k=m(t),!D)return c(t,k)}else{var H=f(t),B=H==A||"[object GeneratorFunction]"==H;if(_(t))return l(t,D);if(H==R||H==C||B&&!N){if(k=P||B?{}:y(t),!D)return P?h(t,s(k,t)):u(t,a(k,t))}else{if(!w[H])return N?t:{};k=g(t,H,D)}}I||(I=new r);var U=I.get(t);if(U)return U;I.set(t,k),T(t)?t.forEach((function(r){k.add(e(r,n,L,r,t,I))})):b(t)&&t.forEach((function(r,i){k.set(i,e(r,n,L,i,t,I))}));var j=F?void 0:(M?P?d:p:P?S:x)(t);return i(j||t,(function(r,i){j&&(r=t[i=r]),o(k,i,e(r,n,L,i,t,I))})),k}},7890:(e,t,n)=>{var r=n(3702),i=Object.create,o=function(){function e(){}return function(t){if(!r(t))return{};if(i)return i(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();e.exports=o},1701:(e,t,n)=>{var r=n(4003),i=n(6313)(r);e.exports=i},9943:(e,t,n)=>{var r=n(2545)();e.exports=r},4003:(e,t,n)=>{var r=n(9943),i=n(2096);e.exports=function(e,t){return e&&r(e,t,i)}},548:(e,t,n)=>{var r=n(4007),i=n(6040);e.exports=function(e,t){for(var n=0,o=(t=r(t,e)).length;null!=e&&n<o;)e=e[i(t[n++])];return n&&n==o?e:void 0}},4468:(e,t,n)=>{var r=n(111),i=n(5589);e.exports=function(e,t,n){var o=t(e);return i(e)?o:r(o,n(e))}},9823:(e,t,n)=>{var r=n(861),i=n(1339),o=n(5151),a=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":a&&a in Object(e)?i(e):o(e)}},636:e=>{e.exports=function(e,t){return null!=e&&t in Object(e)}},3016:(e,t,n)=>{var r=n(9823),i=n(440);e.exports=function(e){return i(e)&&"[object Arguments]"==r(e)}},4662:(e,t,n)=>{var r=n(8968),i=n(440);e.exports=function e(t,n,o,a,s){return t===n||(null==t||null==n||!i(t)&&!i(n)?t!=t&&n!=n:r(t,n,o,a,e,s))}},8968:(e,t,n)=>{var r=n(9549),i=n(4952),o=n(1080),a=n(6524),s=n(7493),l=n(5589),c=n(5778),u=n(922),h="[object Arguments]",p="[object Array]",d="[object Object]",f=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,m,g,y){var v=l(e),_=l(t),b=v?p:s(e),E=_?p:s(t),T=(b=b==h?d:b)==d,x=(E=E==h?d:E)==d,S=b==E;if(S&&c(e)){if(!c(t))return!1;v=!0,T=!1}if(S&&!T)return y||(y=new r),v||u(e)?i(e,t,n,m,g,y):o(e,t,b,n,m,g,y);if(!(1&n)){var C=T&&f.call(e,"__wrapped__"),A=x&&f.call(t,"__wrapped__");if(C||A){var R=C?e.value():e,w=A?t.value():t;return y||(y=new r),g(R,w,n,m,y)}}return!!S&&(y||(y=new r),a(e,t,n,m,g,y))}},2275:(e,t,n)=>{var r=n(7493),i=n(440);e.exports=function(e){return i(e)&&"[object Map]"==r(e)}},2972:(e,t,n)=>{var r=n(9549),i=n(4662);e.exports=function(e,t,n,o){var a=n.length,s=a,l=!o;if(null==e)return!s;for(e=Object(e);a--;){var c=n[a];if(l&&c[2]?c[1]!==e[c[0]]:!(c[0]in e))return!1}for(;++a<s;){var u=(c=n[a])[0],h=e[u],p=c[1];if(l&&c[2]){if(void 0===h&&!(u in e))return!1}else{var d=new r;if(o)var f=o(h,p,u,e,t,d);if(!(void 0===f?i(p,h,3,o,d):f))return!1}}return!0}},9817:(e,t,n)=>{var r=n(5563),i=n(8597),o=n(3702),a=n(5784),s=/^\[object .+?Constructor\]$/,l=Function.prototype,c=Object.prototype,u=l.toString,h=c.hasOwnProperty,p=RegExp("^"+u.call(h).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!o(e)||i(e))&&(r(e)?p:s).test(a(e))}},7170:(e,t,n)=>{var r=n(7493),i=n(440);e.exports=function(e){return i(e)&&"[object Set]"==r(e)}},2448:(e,t,n)=>{var r=n(9823),i=n(6052),o=n(440),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,e.exports=function(e){return o(e)&&i(e.length)&&!!a[r(e)]}},5833:(e,t,n)=>{var r=n(5640),i=n(9906),o=n(229),a=n(5589),s=n(4437);e.exports=function(e){return"function"==typeof e?e:null==e?o:"object"==typeof e?a(e)?i(e[0],e[1]):r(e):s(e)}},1351:(e,t,n)=>{var r=n(2840),i=n(2825),o=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return i(e);var t=[];for(var n in Object(e))o.call(e,n)&&"constructor"!=n&&t.push(n);return t}},1309:(e,t,n)=>{var r=n(3702),i=n(2840),o=n(4866),a=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return o(e);var t=i(e),n=[];for(var s in e)("constructor"!=s||!t&&a.call(e,s))&&n.push(s);return n}},8068:(e,t,n)=>{var r=n(1701),i=n(568);e.exports=function(e,t){var n=-1,o=i(e)?Array(e.length):[];return r(e,(function(e,r,i){o[++n]=t(e,r,i)})),o}},5640:(e,t,n)=>{var r=n(2972),i=n(2198),o=n(4656);e.exports=function(e){var t=i(e);return 1==t.length&&t[0][2]?o(t[0][0],t[0][1]):function(n){return n===e||r(n,e,t)}}},9906:(e,t,n)=>{var r=n(4662),i=n(3546),o=n(6708),a=n(5130),s=n(8802),l=n(4656),c=n(6040);e.exports=function(e,t){return a(e)&&s(t)?l(c(e),t):function(n){var a=i(n,e);return void 0===a&&a===t?o(n,e):r(t,a,3)}}},6174:e=>{e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},3293:(e,t,n)=>{var r=n(548);e.exports=function(e){return function(t){return r(t,e)}}},8509:e=>{e.exports=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}},6245:(e,t,n)=>{var r=n(861),i=n(9233),o=n(5589),a=n(2624),s=r?r.prototype:void 0,l=s?s.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(o(t))return i(t,e)+"";if(a(t))return l?l.call(t):"";var n=t+"";return"0"==n&&1/t==-1/0?"-0":n}},1525:e=>{e.exports=function(e){return function(t){return e(t)}}},7026:e=>{e.exports=function(e,t){return e.has(t)}},4781:(e,t,n)=>{var r=n(229);e.exports=function(e){return"function"==typeof e?e:r}},4007:(e,t,n)=>{var r=n(5589),i=n(5130),o=n(4041),a=n(4347);e.exports=function(e,t){return r(e)?e:i(e,t)?[e]:o(a(e))}},2962:(e,t,n)=>{var r=n(3526);e.exports=function(e){var t=new e.constructor(e.byteLength);return new r(t).set(new r(e)),t}},6502:(e,t,n)=>{e=n.nmd(e);var r=n(3250),i=t&&!t.nodeType&&t,o=i&&e&&!e.nodeType&&e,a=o&&o.exports===i?r.Buffer:void 0,s=a?a.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var n=e.length,r=s?s(n):new e.constructor(n);return e.copy(r),r}},7037:(e,t,n)=>{var r=n(2962);e.exports=function(e,t){var n=t?r(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}},3429:e=>{var t=/\w*$/;e.exports=function(e){var n=new e.constructor(e.source,t.exec(e));return n.lastIndex=e.lastIndex,n}},9349:(e,t,n)=>{var r=n(861),i=r?r.prototype:void 0,o=i?i.valueOf:void 0;e.exports=function(e){return o?Object(o.call(e)):{}}},1327:(e,t,n)=>{var r=n(2962);e.exports=function(e,t){var n=t?r(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}},2166:e=>{e.exports=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}},8618:(e,t,n)=>{var r=n(5376),i=n(7500);e.exports=function(e,t,n,o){var a=!n;n||(n={});for(var s=-1,l=t.length;++s<l;){var c=t[s],u=o?o(n[c],e[c],c,n,e):void 0;void 0===u&&(u=e[c]),a?i(n,c,u):r(n,c,u)}return n}},7272:(e,t,n)=>{var r=n(8618),i=n(4450);e.exports=function(e,t){return r(e,i(e),t)}},2066:(e,t,n)=>{var r=n(8618),i=n(4969);e.exports=function(e,t){return r(e,i(e),t)}},1622:(e,t,n)=>{var r=n(3250)["__core-js_shared__"];e.exports=r},6313:(e,t,n)=>{var r=n(568);e.exports=function(e,t){return function(n,i){if(null==n)return n;if(!r(n))return e(n,i);for(var o=n.length,a=t?o:-1,s=Object(n);(t?a--:++a<o)&&!1!==i(s[a],a,s););return n}}},2545:e=>{e.exports=function(e){return function(t,n,r){for(var i=-1,o=Object(t),a=r(t),s=a.length;s--;){var l=a[e?s:++i];if(!1===n(o[l],l,o))break}return t}}},5595:(e,t,n)=>{var r=n(5234),i=function(){try{var e=r(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=i},4952:(e,t,n)=>{var r=n(4546),i=n(1831),o=n(7026);e.exports=function(e,t,n,a,s,l){var c=1&n,u=e.length,h=t.length;if(u!=h&&!(c&&h>u))return!1;var p=l.get(e),d=l.get(t);if(p&&d)return p==t&&d==e;var f=-1,m=!0,g=2&n?new r:void 0;for(l.set(e,t),l.set(t,e);++f<u;){var y=e[f],v=t[f];if(a)var _=c?a(v,y,f,t,e,l):a(y,v,f,e,t,l);if(void 0!==_){if(_)continue;m=!1;break}if(g){if(!i(t,(function(e,t){if(!o(g,t)&&(y===e||s(y,e,n,a,l)))return g.push(t)}))){m=!1;break}}else if(y!==v&&!s(y,v,n,a,l)){m=!1;break}}return l.delete(e),l.delete(t),m}},1080:(e,t,n)=>{var r=n(861),i=n(3526),o=n(8260),a=n(4952),s=n(1140),l=n(7969),c=r?r.prototype:void 0,u=c?c.valueOf:void 0;e.exports=function(e,t,n,r,c,h,p){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!h(new i(e),new i(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return o(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var d=s;case"[object Set]":var f=1&r;if(d||(d=l),e.size!=t.size&&!f)return!1;var m=p.get(e);if(m)return m==t;r|=2,p.set(e,t);var g=a(d(e),d(t),r,c,h,p);return p.delete(e),g;case"[object Symbol]":if(u)return u.call(e)==u.call(t)}return!1}},6524:(e,t,n)=>{var r=n(4357),i=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,o,a,s){var l=1&n,c=r(e),u=c.length;if(u!=r(t).length&&!l)return!1;for(var h=u;h--;){var p=c[h];if(!(l?p in t:i.call(t,p)))return!1}var d=s.get(e),f=s.get(t);if(d&&f)return d==t&&f==e;var m=!0;s.set(e,t),s.set(t,e);for(var g=l;++h<u;){var y=e[p=c[h]],v=t[p];if(o)var _=l?o(v,y,p,t,e,s):o(y,v,p,e,t,s);if(!(void 0===_?y===v||a(y,v,n,o,s):_)){m=!1;break}g||(g="constructor"==p)}if(m&&!g){var b=e.constructor,E=t.constructor;b==E||!("constructor"in e)||!("constructor"in t)||"function"==typeof b&&b instanceof b&&"function"==typeof E&&E instanceof E||(m=!1)}return s.delete(e),s.delete(t),m}},302:(e,t,n)=>{var r="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;e.exports=r},4357:(e,t,n)=>{var r=n(4468),i=n(4450),o=n(2096);e.exports=function(e){return r(e,o,i)}},5713:(e,t,n)=>{var r=n(4468),i=n(4969),o=n(9882);e.exports=function(e){return r(e,o,i)}},7570:(e,t,n)=>{var r=n(8949);e.exports=function(e,t){var n=e.__data__;return r(t)?n["string"==typeof t?"string":"hash"]:n.map}},2198:(e,t,n)=>{var r=n(8802),i=n(2096);e.exports=function(e){for(var t=i(e),n=t.length;n--;){var o=t[n],a=e[o];t[n]=[o,a,r(a)]}return t}},5234:(e,t,n)=>{var r=n(9817),i=n(7736);e.exports=function(e,t){var n=i(e,t);return r(n)?n:void 0}},8490:(e,t,n)=>{var r=n(3540)(Object.getPrototypeOf,Object);e.exports=r},1339:(e,t,n)=>{var r=n(861),i=Object.prototype,o=i.hasOwnProperty,a=i.toString,s=r?r.toStringTag:void 0;e.exports=function(e){var t=o.call(e,s),n=e[s];try{e[s]=void 0;var r=!0}catch(e){}var i=a.call(e);return r&&(t?e[s]=n:delete e[s]),i}},4450:(e,t,n)=>{var r=n(2493),i=n(4506),o=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols,s=a?function(e){return null==e?[]:(e=Object(e),r(a(e),(function(t){return o.call(e,t)})))}:i;e.exports=s},4969:(e,t,n)=>{var r=n(111),i=n(8490),o=n(4450),a=n(4506),s=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)r(t,o(e)),e=i(e);return t}:a;e.exports=s},7493:(e,t,n)=>{var r=n(4466),i=n(2887),o=n(5747),a=n(6616),s=n(8001),l=n(9823),c=n(5784),u="[object Map]",h="[object Promise]",p="[object Set]",d="[object WeakMap]",f="[object DataView]",m=c(r),g=c(i),y=c(o),v=c(a),_=c(s),b=l;(r&&b(new r(new ArrayBuffer(1)))!=f||i&&b(new i)!=u||o&&b(o.resolve())!=h||a&&b(new a)!=p||s&&b(new s)!=d)&&(b=function(e){var t=l(e),n="[object Object]"==t?e.constructor:void 0,r=n?c(n):"";if(r)switch(r){case m:return f;case g:return u;case y:return h;case v:return p;case _:return d}return t}),e.exports=b},7736:e=>{e.exports=function(e,t){return null==e?void 0:e[t]}},3544:(e,t,n)=>{var r=n(4007),i=n(8390),o=n(5589),a=n(5023),s=n(6052),l=n(6040);e.exports=function(e,t,n){for(var c=-1,u=(t=r(t,e)).length,h=!1;++c<u;){var p=l(t[c]);if(!(h=null!=e&&n(e,p)))break;e=e[p]}return h||++c!=u?h:!!(u=null==e?0:e.length)&&s(u)&&a(p,u)&&(o(e)||i(e))}},4440:(e,t,n)=>{var r=n(4545);e.exports=function(){this.__data__=r?r(null):{},this.size=0}},4108:e=>{e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},1085:(e,t,n)=>{var r=n(4545),i=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(r){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return i.call(t,e)?t[e]:void 0}},7706:(e,t,n)=>{var r=n(4545),i=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return r?void 0!==t[e]:i.call(t,e)}},8636:(e,t,n)=>{var r=n(4545);e.exports=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=r&&void 0===t?"__lodash_hash_undefined__":t,this}},2865:e=>{var t=Object.prototype.hasOwnProperty;e.exports=function(e){var n=e.length,r=new e.constructor(n);return n&&"string"==typeof e[0]&&t.call(e,"index")&&(r.index=e.index,r.input=e.input),r}},1908:(e,t,n)=>{var r=n(2962),i=n(7037),o=n(3429),a=n(9349),s=n(1327);e.exports=function(e,t,n){var l=e.constructor;switch(t){case"[object ArrayBuffer]":return r(e);case"[object Boolean]":case"[object Date]":return new l(+e);case"[object DataView]":return i(e,n);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return s(e,n);case"[object Map]":case"[object Set]":return new l;case"[object Number]":case"[object String]":return new l(e);case"[object RegExp]":return o(e);case"[object Symbol]":return a(e)}}},4046:(e,t,n)=>{var r=n(7890),i=n(8490),o=n(2840);e.exports=function(e){return"function"!=typeof e.constructor||o(e)?{}:r(i(e))}},5023:e=>{var t=/^(?:0|[1-9]\d*)$/;e.exports=function(e,n){var r=typeof e;return!!(n=null==n?9007199254740991:n)&&("number"==r||"symbol"!=r&&t.test(e))&&e>-1&&e%1==0&&e<n}},5130:(e,t,n)=>{var r=n(5589),i=n(2624),o=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;e.exports=function(e,t){if(r(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!i(e))||a.test(e)||!o.test(e)||null!=t&&e in Object(t)}},8949:e=>{e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},8597:(e,t,n)=>{var r,i=n(1622),o=(r=/[^.]+$/.exec(i&&i.keys&&i.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"";e.exports=function(e){return!!o&&o in e}},2840:e=>{var t=Object.prototype;e.exports=function(e){var n=e&&e.constructor;return e===("function"==typeof n&&n.prototype||t)}},8802:(e,t,n)=>{var r=n(3702);e.exports=function(e){return e==e&&!r(e)}},266:e=>{e.exports=function(){this.__data__=[],this.size=0}},2875:(e,t,n)=>{var r=n(8498),i=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=r(t,e);return!(n<0||(n==t.length-1?t.pop():i.call(t,n,1),--this.size,0))}},5828:(e,t,n)=>{var r=n(8498);e.exports=function(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]}},4115:(e,t,n)=>{var r=n(8498);e.exports=function(e){return r(this.__data__,e)>-1}},7690:(e,t,n)=>{var r=n(8498);e.exports=function(e,t){var n=this.__data__,i=r(n,e);return i<0?(++this.size,n.push([e,t])):n[i][1]=t,this}},9016:(e,t,n)=>{var r=n(5208),i=n(1998),o=n(2887);e.exports=function(){this.size=0,this.__data__={hash:new r,map:new(o||i),string:new r}}},2363:(e,t,n)=>{var r=n(7570);e.exports=function(e){var t=r(this,e).delete(e);return this.size-=t?1:0,t}},4348:(e,t,n)=>{var r=n(7570);e.exports=function(e){return r(this,e).get(e)}},3062:(e,t,n)=>{var r=n(7570);e.exports=function(e){return r(this,e).has(e)}},2590:(e,t,n)=>{var r=n(7570);e.exports=function(e,t){var n=r(this,e),i=n.size;return n.set(e,t),this.size+=n.size==i?0:1,this}},1140:e=>{e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}},4656:e=>{e.exports=function(e,t){return function(n){return null!=n&&n[e]===t&&(void 0!==t||e in Object(n))}}},2924:(e,t,n)=>{var r=n(7997);e.exports=function(e){var t=r(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}},4545:(e,t,n)=>{var r=n(5234)(Object,"create");e.exports=r},2825:(e,t,n)=>{var r=n(3540)(Object.keys,Object);e.exports=r},4866:e=>{e.exports=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}},8690:(e,t,n)=>{e=n.nmd(e);var r=n(302),i=t&&!t.nodeType&&t,o=i&&e&&!e.nodeType&&e,a=o&&o.exports===i&&r.process,s=function(){try{return o&&o.require&&o.require("util").types||a&&a.binding&&a.binding("util")}catch(e){}}();e.exports=s},5151:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},3540:e=>{e.exports=function(e,t){return function(n){return e(t(n))}}},3250:(e,t,n)=>{var r=n(302),i="object"==typeof self&&self&&self.Object===Object&&self,o=r||i||Function("return this")();e.exports=o},3937:e=>{e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},5009:e=>{e.exports=function(e){return this.__data__.has(e)}},7969:e=>{e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}},3210:(e,t,n)=>{var r=n(1998);e.exports=function(){this.__data__=new r,this.size=0}},8603:e=>{e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},8947:e=>{e.exports=function(e){return this.__data__.get(e)}},885:e=>{e.exports=function(e){return this.__data__.has(e)}},8938:(e,t,n)=>{var r=n(1998),i=n(2887),o=n(5678);e.exports=function(e,t){var n=this.__data__;if(n instanceof r){var a=n.__data__;if(!i||a.length<199)return a.push([e,t]),this.size=++n.size,this;n=this.__data__=new o(a)}return n.set(e,t),this.size=n.size,this}},4041:(e,t,n)=>{var r=n(2924),i=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,o=/\\(\\)?/g,a=r((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(i,(function(e,n,r,i){t.push(r?i.replace(o,"$1"):n||e)})),t}));e.exports=a},6040:(e,t,n)=>{var r=n(2624);e.exports=function(e){if("string"==typeof e||r(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}},5784:e=>{var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},7179:(e,t,n)=>{var r=n(8361);e.exports=function(e){return r(e,5)}},8260:e=>{e.exports=function(e,t){return e===t||e!=e&&t!=t}},4802:(e,t,n)=>{var r=n(4003),i=n(4781);e.exports=function(e,t){return e&&r(e,i(t))}},3546:(e,t,n)=>{var r=n(548);e.exports=function(e,t,n){var i=null==e?void 0:r(e,t);return void 0===i?n:i}},6708:(e,t,n)=>{var r=n(636),i=n(3544);e.exports=function(e,t){return null!=e&&i(e,t,r)}},229:e=>{e.exports=function(e){return e}},8390:(e,t,n)=>{var r=n(3016),i=n(440),o=Object.prototype,a=o.hasOwnProperty,s=o.propertyIsEnumerable,l=r(function(){return arguments}())?r:function(e){return i(e)&&a.call(e,"callee")&&!s.call(e,"callee")};e.exports=l},5589:e=>{var t=Array.isArray;e.exports=t},568:(e,t,n)=>{var r=n(5563),i=n(6052);e.exports=function(e){return null!=e&&i(e.length)&&!r(e)}},5778:(e,t,n)=>{e=n.nmd(e);var r=n(3250),i=n(7999),o=t&&!t.nodeType&&t,a=o&&e&&!e.nodeType&&e,s=a&&a.exports===o?r.Buffer:void 0,l=(s?s.isBuffer:void 0)||i;e.exports=l},5563:(e,t,n)=>{var r=n(9823),i=n(3702);e.exports=function(e){if(!i(e))return!1;var t=r(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},6052:e=>{e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},7613:(e,t,n)=>{var r=n(2275),i=n(1525),o=n(8690),a=o&&o.isMap,s=a?i(a):r;e.exports=s},3224:(e,t,n)=>{var r=n(9823),i=n(440);e.exports=function(e){return"number"==typeof e||i(e)&&"[object Number]"==r(e)}},3702:e=>{e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},440:e=>{e.exports=function(e){return null!=e&&"object"==typeof e}},4256:(e,t,n)=>{var r=n(9823),i=n(8490),o=n(440),a=Function.prototype,s=Object.prototype,l=a.toString,c=s.hasOwnProperty,u=l.call(Object);e.exports=function(e){if(!o(e)||"[object Object]"!=r(e))return!1;var t=i(e);if(null===t)return!0;var n=c.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&l.call(n)==u}},693:(e,t,n)=>{var r=n(7170),i=n(1525),o=n(8690),a=o&&o.isSet,s=a?i(a):r;e.exports=s},6705:(e,t,n)=>{var r=n(9823),i=n(5589),o=n(440);e.exports=function(e){return"string"==typeof e||!i(e)&&o(e)&&"[object String]"==r(e)}},2624:(e,t,n)=>{var r=n(9823),i=n(440);e.exports=function(e){return"symbol"==typeof e||i(e)&&"[object Symbol]"==r(e)}},922:(e,t,n)=>{var r=n(2448),i=n(1525),o=n(8690),a=o&&o.isTypedArray,s=a?i(a):r;e.exports=s},2096:(e,t,n)=>{var r=n(5825),i=n(1351),o=n(568);e.exports=function(e){return o(e)?r(e):i(e)}},9882:(e,t,n)=>{var r=n(5825),i=n(1309),o=n(568);e.exports=function(e){return o(e)?r(e,!0):i(e)}},9107:(e,t,n)=>{var r=n(9233),i=n(5833),o=n(8068),a=n(5589);e.exports=function(e,t){return(a(e)?r:o)(e,i(t,3))}},7997:(e,t,n)=>{var r=n(5678);function i(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=e.apply(this,r);return n.cache=o.set(i,a)||o,a};return n.cache=new(i.Cache||r),n}i.Cache=r,e.exports=i},4437:(e,t,n)=>{var r=n(6174),i=n(3293),o=n(5130),a=n(6040);e.exports=function(e){return o(e)?r(a(e)):i(e)}},4506:e=>{e.exports=function(){return[]}},7999:e=>{e.exports=function(){return!1}},4347:(e,t,n)=>{var r=n(6245);e.exports=function(e){return null==e?"":r(e)}},570:function(e,t,n){!function(e){"use strict";e.defineLocale("af",{months:"Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des".split("_"),weekdays:"Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag".split("_"),weekdaysShort:"Son_Maa_Din_Woe_Don_Vry_Sat".split("_"),weekdaysMin:"So_Ma_Di_Wo_Do_Vr_Sa".split("_"),meridiemParse:/vm|nm/i,isPM:function(e){return/^nm$/i.test(e)},meridiem:function(e,t,n){return e<12?n?"vm":"VM":n?"nm":"NM"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Vandag om] LT",nextDay:"[Môre om] LT",nextWeek:"dddd [om] LT",lastDay:"[Gister om] LT",lastWeek:"[Laas] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oor %s",past:"%s gelede",s:"'n paar sekondes",ss:"%d sekondes",m:"'n minuut",mm:"%d minute",h:"'n uur",hh:"%d ure",d:"'n dag",dd:"%d dae",M:"'n maand",MM:"%d maande",y:"'n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(n(5914))},8481:function(e,t,n){!function(e){"use strict";var t=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},n={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},r=function(e){return function(r,i,o,a){var s=t(r),l=n[e][t(r)];return 2===s&&(l=l[i?0:1]),l.replace(/%d/i,r)}},i=["جانفي","فيفري","مارس","أفريل","ماي","جوان","جويلية","أوت","سبتمبر","أكتوبر","نوفمبر","ديسمبر"];e.defineLocale("ar-dz",{months:i,monthsShort:i,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,n){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:r("s"),ss:r("s"),m:r("m"),mm:r("m"),h:r("h"),hh:r("h"),d:r("d"),dd:r("d"),M:r("M"),MM:r("M"),y:r("y"),yy:r("y")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:0,doy:4}})}(n(5914))},8251:function(e,t,n){!function(e){"use strict";e.defineLocale("ar-kw",{months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdays:"الأحد_الإتنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اتنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:0,doy:12}})}(n(5914))},6913:function(e,t,n){!function(e){"use strict";var t={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},n=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},r={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},i=function(e){return function(t,i,o,a){var s=n(t),l=r[e][n(t)];return 2===s&&(l=l[i?0:1]),l.replace(/%d/i,t)}},o=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"];e.defineLocale("ar-ly",{months:o,monthsShort:o,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,n){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:i("s"),ss:i("s"),m:i("m"),mm:i("m"),h:i("h"),hh:i("h"),d:i("d"),dd:i("d"),M:i("M"),MM:i("M"),y:i("y"),yy:i("y")},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"،")},week:{dow:6,doy:12}})}(n(5914))},8338:function(e,t,n){!function(e){"use strict";e.defineLocale("ar-ma",{months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اثنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:1,doy:4}})}(n(5914))},7574:function(e,t,n){!function(e){"use strict";var t={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},n={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"};e.defineLocale("ar-sa",{months:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,n){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},preparse:function(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,(function(e){return n[e]})).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"،")},week:{dow:0,doy:6}})}(n(5914))},6617:function(e,t,n){!function(e){"use strict";e.defineLocale("ar-tn",{months:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:1,doy:4}})}(n(5914))},3508:function(e,t,n){!function(e){"use strict";var t={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},n={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},r=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},i={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},o=function(e){return function(t,n,o,a){var s=r(t),l=i[e][r(t)];return 2===s&&(l=l[n?0:1]),l.replace(/%d/i,t)}},a=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"];e.defineLocale("ar",{months:a,monthsShort:a,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,n){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:o("s"),ss:o("s"),m:o("m"),mm:o("m"),h:o("h"),hh:o("h"),d:o("d"),dd:o("d"),M:o("M"),MM:o("M"),y:o("y"),yy:o("y")},preparse:function(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,(function(e){return n[e]})).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"،")},week:{dow:6,doy:12}})}(n(5914))},8415:function(e,t,n){!function(e){"use strict";var t={1:"-inci",5:"-inci",8:"-inci",70:"-inci",80:"-inci",2:"-nci",7:"-nci",20:"-nci",50:"-nci",3:"-üncü",4:"-üncü",100:"-üncü",6:"-ncı",9:"-uncu",10:"-uncu",30:"-uncu",60:"-ıncı",90:"-ıncı"};e.defineLocale("az",{months:"yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr".split("_"),monthsShort:"yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek".split("_"),weekdays:"Bazar_Bazar ertəsi_Çərşənbə axşamı_Çərşənbə_Cümə axşamı_Cümə_Şənbə".split("_"),weekdaysShort:"Baz_BzE_ÇAx_Çər_CAx_Cüm_Şən".split("_"),weekdaysMin:"Bz_BE_ÇA_Çə_CA_Cü_Şə".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[sabah saat] LT",nextWeek:"[gələn həftə] dddd [saat] LT",lastDay:"[dünən] LT",lastWeek:"[keçən həftə] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s əvvəl",s:"bir neçə saniyə",ss:"%d saniyə",m:"bir dəqiqə",mm:"%d dəqiqə",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir il",yy:"%d il"},meridiemParse:/gecə|səhər|gündüz|axşam/,isPM:function(e){return/^(gündüz|axşam)$/.test(e)},meridiem:function(e,t,n){return e<4?"gecə":e<12?"səhər":e<17?"gündüz":"axşam"},dayOfMonthOrdinalParse:/\d{1,2}-(ıncı|inci|nci|üncü|ncı|uncu)/,ordinal:function(e){if(0===e)return e+"-ıncı";var n=e%10;return e+(t[n]||t[e%100-n]||t[e>=100?100:null])},week:{dow:1,doy:7}})}(n(5914))},9750:function(e,t,n){!function(e){"use strict";function t(e,t,n){return"m"===n?t?"хвіліна":"хвіліну":"h"===n?t?"гадзіна":"гадзіну":e+" "+(r=+e,i={ss:t?"секунда_секунды_секунд":"секунду_секунды_секунд",mm:t?"хвіліна_хвіліны_хвілін":"хвіліну_хвіліны_хвілін",hh:t?"гадзіна_гадзіны_гадзін":"гадзіну_гадзіны_гадзін",dd:"дзень_дні_дзён",MM:"месяц_месяцы_месяцаў",yy:"год_гады_гадоў"}[n].split("_"),r%10==1&&r%100!=11?i[0]:r%10>=2&&r%10<=4&&(r%100<10||r%100>=20)?i[1]:i[2]);var r,i}e.defineLocale("be",{months:{format:"студзеня_лютага_сакавіка_красавіка_траўня_чэрвеня_ліпеня_жніўня_верасня_кастрычніка_лістапада_снежня".split("_"),standalone:"студзень_люты_сакавік_красавік_травень_чэрвень_ліпень_жнівень_верасень_кастрычнік_лістапад_снежань".split("_")},monthsShort:"студ_лют_сак_крас_трав_чэрв_ліп_жнів_вер_каст_ліст_снеж".split("_"),weekdays:{format:"нядзелю_панядзелак_аўторак_сераду_чацвер_пятніцу_суботу".split("_"),standalone:"нядзеля_панядзелак_аўторак_серада_чацвер_пятніца_субота".split("_"),isFormat:/\[ ?[Ууў] ?(?:мінулую|наступную)? ?\] ?dddd/},weekdaysShort:"нд_пн_ат_ср_чц_пт_сб".split("_"),weekdaysMin:"нд_пн_ат_ср_чц_пт_сб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., HH:mm",LLLL:"dddd, D MMMM YYYY г., HH:mm"},calendar:{sameDay:"[Сёння ў] LT",nextDay:"[Заўтра ў] LT",lastDay:"[Учора ў] LT",nextWeek:function(){return"[У] dddd [ў] LT"},lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return"[У мінулую] dddd [ў] LT";case 1:case 2:case 4:return"[У мінулы] dddd [ў] LT"}},sameElse:"L"},relativeTime:{future:"праз %s",past:"%s таму",s:"некалькі секунд",m:t,mm:t,h:t,hh:t,d:"дзень",dd:t,M:"месяц",MM:t,y:"год",yy:t},meridiemParse:/ночы|раніцы|дня|вечара/,isPM:function(e){return/^(дня|вечара)$/.test(e)},meridiem:function(e,t,n){return e<4?"ночы":e<12?"раніцы":e<17?"дня":"вечара"},dayOfMonthOrdinalParse:/\d{1,2}-(і|ы|га)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":case"w":case"W":return e%10!=2&&e%10!=3||e%100==12||e%100==13?e+"-ы":e+"-і";case"D":return e+"-га";default:return e}},week:{dow:1,doy:7}})}(n(5914))},6259:function(e,t,n){!function(e){"use strict";e.defineLocale("bg",{months:"януари_февруари_март_април_май_юни_юли_август_септември_октомври_ноември_декември".split("_"),monthsShort:"яну_фев_мар_апр_май_юни_юли_авг_сеп_окт_ное_дек".split("_"),weekdays:"неделя_понеделник_вторник_сряда_четвъртък_петък_събота".split("_"),weekdaysShort:"нед_пон_вто_сря_чет_пет_съб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[Днес в] LT",nextDay:"[Утре в] LT",nextWeek:"dddd [в] LT",lastDay:"[Вчера в] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[Миналата] dddd [в] LT";case 1:case 2:case 4:case 5:return"[Миналия] dddd [в] LT"}},sameElse:"L"},relativeTime:{future:"след %s",past:"преди %s",s:"няколко секунди",ss:"%d секунди",m:"минута",mm:"%d минути",h:"час",hh:"%d часа",d:"ден",dd:"%d дена",w:"седмица",ww:"%d седмици",M:"месец",MM:"%d месеца",y:"година",yy:"%d години"},dayOfMonthOrdinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(e){var t=e%10,n=e%100;return 0===e?e+"-ев":0===n?e+"-ен":n>10&&n<20?e+"-ти":1===t?e+"-ви":2===t?e+"-ри":7===t||8===t?e+"-ми":e+"-ти"},week:{dow:1,doy:7}})}(n(5914))},6055:function(e,t,n){!function(e){"use strict";e.defineLocale("bm",{months:"Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_Mɛkalo_Zuwɛnkalo_Zuluyekalo_Utikalo_Sɛtanburukalo_ɔkutɔburukalo_Nowanburukalo_Desanburukalo".split("_"),monthsShort:"Zan_Few_Mar_Awi_Mɛ_Zuw_Zul_Uti_Sɛt_ɔku_Now_Des".split("_"),weekdays:"Kari_Ntɛnɛn_Tarata_Araba_Alamisa_Juma_Sibiri".split("_"),weekdaysShort:"Kar_Ntɛ_Tar_Ara_Ala_Jum_Sib".split("_"),weekdaysMin:"Ka_Nt_Ta_Ar_Al_Ju_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"MMMM [tile] D [san] YYYY",LLL:"MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm",LLLL:"dddd MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm"},calendar:{sameDay:"[Bi lɛrɛ] LT",nextDay:"[Sini lɛrɛ] LT",nextWeek:"dddd [don lɛrɛ] LT",lastDay:"[Kunu lɛrɛ] LT",lastWeek:"dddd [tɛmɛnen lɛrɛ] LT",sameElse:"L"},relativeTime:{future:"%s kɔnɔ",past:"a bɛ %s bɔ",s:"sanga dama dama",ss:"sekondi %d",m:"miniti kelen",mm:"miniti %d",h:"lɛrɛ kelen",hh:"lɛrɛ %d",d:"tile kelen",dd:"tile %d",M:"kalo kelen",MM:"kalo %d",y:"san kelen",yy:"san %d"},week:{dow:1,doy:4}})}(n(5914))},5974:function(e,t,n){!function(e){"use strict";var t={1:"১",2:"২",3:"৩",4:"৪",5:"৫",6:"৬",7:"৭",8:"৮",9:"৯",0:"০"},n={"১":"1","২":"2","৩":"3","৪":"4","৫":"5","৬":"6","৭":"7","৮":"8","৯":"9","০":"0"};e.defineLocale("bn-bd",{months:"জানুয়ারি_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর".split("_"),monthsShort:"জানু_ফেব্রু_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্ট_অক্টো_নভে_ডিসে".split("_"),weekdays:"রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার".split("_"),weekdaysShort:"রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি".split("_"),weekdaysMin:"রবি_সোম_মঙ্গল_বুধ_বৃহ_শুক্র_শনি".split("_"),longDateFormat:{LT:"A h:mm সময়",LTS:"A h:mm:ss সময়",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm সময়",LLLL:"dddd, D MMMM YYYY, A h:mm সময়"},calendar:{sameDay:"[আজ] LT",nextDay:"[আগামীকাল] LT",nextWeek:"dddd, LT",lastDay:"[গতকাল] LT",lastWeek:"[গত] dddd, LT",sameElse:"L"},relativeTime:{future:"%s পরে",past:"%s আগে",s:"কয়েক সেকেন্ড",ss:"%d সেকেন্ড",m:"এক মিনিট",mm:"%d মিনিট",h:"এক ঘন্টা",hh:"%d ঘন্টা",d:"এক দিন",dd:"%d দিন",M:"এক মাস",MM:"%d মাস",y:"এক বছর",yy:"%d বছর"},preparse:function(e){return e.replace(/[১২৩৪৫৬৭৮৯০]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/রাত|ভোর|সকাল|দুপুর|বিকাল|সন্ধ্যা|রাত/,meridiemHour:function(e,t){return 12===e&&(e=0),"রাত"===t?e<4?e:e+12:"ভোর"===t||"সকাল"===t?e:"দুপুর"===t?e>=3?e:e+12:"বিকাল"===t||"সন্ধ্যা"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"রাত":e<6?"ভোর":e<12?"সকাল":e<15?"দুপুর":e<18?"বিকাল":e<20?"সন্ধ্যা":"রাত"},week:{dow:0,doy:6}})}(n(5914))},3428:function(e,t,n){!function(e){"use strict";var t={1:"১",2:"২",3:"৩",4:"৪",5:"৫",6:"৬",7:"৭",8:"৮",9:"৯",0:"০"},n={"১":"1","২":"2","৩":"3","৪":"4","৫":"5","৬":"6","৭":"7","৮":"8","৯":"9","০":"0"};e.defineLocale("bn",{months:"জানুয়ারি_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর".split("_"),monthsShort:"জানু_ফেব্রু_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্ট_অক্টো_নভে_ডিসে".split("_"),weekdays:"রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার".split("_"),weekdaysShort:"রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি".split("_"),weekdaysMin:"রবি_সোম_মঙ্গল_বুধ_বৃহ_শুক্র_শনি".split("_"),longDateFormat:{LT:"A h:mm সময়",LTS:"A h:mm:ss সময়",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm সময়",LLLL:"dddd, D MMMM YYYY, A h:mm সময়"},calendar:{sameDay:"[আজ] LT",nextDay:"[আগামীকাল] LT",nextWeek:"dddd, LT",lastDay:"[গতকাল] LT",lastWeek:"[গত] dddd, LT",sameElse:"L"},relativeTime:{future:"%s পরে",past:"%s আগে",s:"কয়েক সেকেন্ড",ss:"%d সেকেন্ড",m:"এক মিনিট",mm:"%d মিনিট",h:"এক ঘন্টা",hh:"%d ঘন্টা",d:"এক দিন",dd:"%d দিন",M:"এক মাস",MM:"%d মাস",y:"এক বছর",yy:"%d বছর"},preparse:function(e){return e.replace(/[১২৩৪৫৬৭৮৯০]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/রাত|সকাল|দুপুর|বিকাল|রাত/,meridiemHour:function(e,t){return 12===e&&(e=0),"রাত"===t&&e>=4||"দুপুর"===t&&e<5||"বিকাল"===t?e+12:e},meridiem:function(e,t,n){return e<4?"রাত":e<10?"সকাল":e<17?"দুপুর":e<20?"বিকাল":"রাত"},week:{dow:0,doy:6}})}(n(5914))},9671:function(e,t,n){!function(e){"use strict";var t={1:"༡",2:"༢",3:"༣",4:"༤",5:"༥",6:"༦",7:"༧",8:"༨",9:"༩",0:"༠"},n={"༡":"1","༢":"2","༣":"3","༤":"4","༥":"5","༦":"6","༧":"7","༨":"8","༩":"9","༠":"0"};e.defineLocale("bo",{months:"ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ".split("_"),monthsShort:"ཟླ་1_ཟླ་2_ཟླ་3_ཟླ་4_ཟླ་5_ཟླ་6_ཟླ་7_ཟླ་8_ཟླ་9_ཟླ་10_ཟླ་11_ཟླ་12".split("_"),monthsShortRegex:/^(ཟླ་\d{1,2})/,monthsParseExact:!0,weekdays:"གཟའ་ཉི་མ་_གཟའ་ཟླ་བ་_གཟའ་མིག་དམར་_གཟའ་ལྷག་པ་_གཟའ་ཕུར་བུ_གཟའ་པ་སངས་_གཟའ་སྤེན་པ་".split("_"),weekdaysShort:"ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་".split("_"),weekdaysMin:"ཉི_ཟླ_མིག_ལྷག_ཕུར_སངས_སྤེན".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[དི་རིང] LT",nextDay:"[སང་ཉིན] LT",nextWeek:"[བདུན་ཕྲག་རྗེས་མ], LT",lastDay:"[ཁ་སང] LT",lastWeek:"[བདུན་ཕྲག་མཐའ་མ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ལ་",past:"%s སྔན་ལ",s:"ལམ་སང",ss:"%d སྐར་ཆ།",m:"སྐར་མ་གཅིག",mm:"%d སྐར་མ",h:"ཆུ་ཚོད་གཅིག",hh:"%d ཆུ་ཚོད",d:"ཉིན་གཅིག",dd:"%d ཉིན་",M:"ཟླ་བ་གཅིག",MM:"%d ཟླ་བ",y:"ལོ་གཅིག",yy:"%d ལོ"},preparse:function(e){return e.replace(/[༡༢༣༤༥༦༧༨༩༠]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/མཚན་མོ|ཞོགས་ཀས|ཉིན་གུང|དགོང་དག|མཚན་མོ/,meridiemHour:function(e,t){return 12===e&&(e=0),"མཚན་མོ"===t&&e>=4||"ཉིན་གུང"===t&&e<5||"དགོང་དག"===t?e+12:e},meridiem:function(e,t,n){return e<4?"མཚན་མོ":e<10?"ཞོགས་ཀས":e<17?"ཉིན་གུང":e<20?"དགོང་དག":"མཚན་མོ"},week:{dow:0,doy:6}})}(n(5914))},4477:function(e,t,n){!function(e){"use strict";function t(e,t,n){return e+" "+function(e,t){return 2===t?function(e){var t={m:"v",b:"v",d:"z"};return void 0===t[e.charAt(0)]?e:t[e.charAt(0)]+e.substring(1)}(e):e}({mm:"munutenn",MM:"miz",dd:"devezh"}[n],e)}function n(e){return e>9?n(e%10):e}var r=[/^gen/i,/^c[ʼ\']hwe/i,/^meu/i,/^ebr/i,/^mae/i,/^(mez|eve)/i,/^gou/i,/^eos/i,/^gwe/i,/^her/i,/^du/i,/^ker/i],i=/^(genver|c[ʼ\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu|gen|c[ʼ\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,o=[/^Su/i,/^Lu/i,/^Me([^r]|$)/i,/^Mer/i,/^Ya/i,/^Gw/i,/^Sa/i];e.defineLocale("br",{months:"Genver_Cʼhwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsShort:"Gen_Cʼhwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdays:"Sul_Lun_Meurzh_Mercʼher_Yaou_Gwener_Sadorn".split("_"),weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),weekdaysParse:o,fullWeekdaysParse:[/^sul/i,/^lun/i,/^meurzh/i,/^merc[ʼ\']her/i,/^yaou/i,/^gwener/i,/^sadorn/i],shortWeekdaysParse:[/^Sul/i,/^Lun/i,/^Meu/i,/^Mer/i,/^Yao/i,/^Gwe/i,/^Sad/i],minWeekdaysParse:o,monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(genver|c[ʼ\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu)/i,monthsShortStrictRegex:/^(gen|c[ʼ\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,monthsParse:r,longMonthsParse:r,shortMonthsParse:r,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY HH:mm",LLLL:"dddd, D [a viz] MMMM YYYY HH:mm"},calendar:{sameDay:"[Hiziv da] LT",nextDay:"[Warcʼhoazh da] LT",nextWeek:"dddd [da] LT",lastDay:"[Decʼh da] LT",lastWeek:"dddd [paset da] LT",sameElse:"L"},relativeTime:{future:"a-benn %s",past:"%s ʼzo",s:"un nebeud segondennoù",ss:"%d eilenn",m:"ur vunutenn",mm:t,h:"un eur",hh:"%d eur",d:"un devezh",dd:t,M:"ur miz",MM:t,y:"ur bloaz",yy:function(e){switch(n(e)){case 1:case 3:case 4:case 5:case 9:return e+" bloaz";default:return e+" vloaz"}}},dayOfMonthOrdinalParse:/\d{1,2}(añ|vet)/,ordinal:function(e){return e+(1===e?"añ":"vet")},week:{dow:1,doy:4},meridiemParse:/a.m.|g.m./,isPM:function(e){return"g.m."===e},meridiem:function(e,t,n){return e<12?"a.m.":"g.m."}})}(n(5914))},7668:function(e,t,n){!function(e){"use strict";function t(e,t,n){var r=e+" ";switch(n){case"ss":return r+(1===e?"sekunda":2===e||3===e||4===e?"sekunde":"sekundi");case"m":return t?"jedna minuta":"jedne minute";case"mm":return r+(1===e?"minuta":2===e||3===e||4===e?"minute":"minuta");case"h":return t?"jedan sat":"jednog sata";case"hh":return r+(1===e?"sat":2===e||3===e||4===e?"sata":"sati");case"dd":return r+(1===e?"dan":"dana");case"MM":return r+(1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci");case"yy":return r+(1===e?"godina":2===e||3===e||4===e?"godine":"godina")}}e.defineLocale("bs",{months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[jučer u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[prošlu] dddd [u] LT";case 6:return"[prošle] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[prošli] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:t,m:t,mm:t,h:t,hh:t,d:"dan",dd:t,M:"mjesec",MM:t,y:"godinu",yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(5914))},3930:function(e,t,n){!function(e){"use strict";e.defineLocale("ca",{months:{standalone:"gener_febrer_març_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),format:"de gener_de febrer_de març_d'abril_de maig_de juny_de juliol_d'agost_de setembre_d'octubre_de novembre_de desembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._març_abr._maig_juny_jul._ag._set._oct._nov._des.".split("_"),monthsParseExact:!0,weekdays:"diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dt._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dt_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a les] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a les] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:function(){return"[avui a "+(1!==this.hours()?"les":"la")+"] LT"},nextDay:function(){return"[demà a "+(1!==this.hours()?"les":"la")+"] LT"},nextWeek:function(){return"dddd [a "+(1!==this.hours()?"les":"la")+"] LT"},lastDay:function(){return"[ahir a "+(1!==this.hours()?"les":"la")+"] LT"},lastWeek:function(){return"[el] dddd [passat a "+(1!==this.hours()?"les":"la")+"] LT"},sameElse:"L"},relativeTime:{future:"d'aquí %s",past:"fa %s",s:"uns segons",ss:"%d segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|è|a)/,ordinal:function(e,t){var n=1===e?"r":2===e?"n":3===e?"r":4===e?"t":"è";return"w"!==t&&"W"!==t||(n="a"),e+n},week:{dow:1,doy:4}})}(n(5914))},1001:function(e,t,n){!function(e){"use strict";var t="leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec".split("_"),n="led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro".split("_"),r=[/^led/i,/^úno/i,/^bře/i,/^dub/i,/^kvě/i,/^(čvn|červen$|června)/i,/^(čvc|červenec|července)/i,/^srp/i,/^zář/i,/^říj/i,/^lis/i,/^pro/i],i=/^(leden|únor|březen|duben|květen|červenec|července|červen|června|srpen|září|říjen|listopad|prosinec|led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i;function o(e){return e>1&&e<5&&1!=~~(e/10)}function a(e,t,n,r){var i=e+" ";switch(n){case"s":return t||r?"pár sekund":"pár sekundami";case"ss":return t||r?i+(o(e)?"sekundy":"sekund"):i+"sekundami";case"m":return t?"minuta":r?"minutu":"minutou";case"mm":return t||r?i+(o(e)?"minuty":"minut"):i+"minutami";case"h":return t?"hodina":r?"hodinu":"hodinou";case"hh":return t||r?i+(o(e)?"hodiny":"hodin"):i+"hodinami";case"d":return t||r?"den":"dnem";case"dd":return t||r?i+(o(e)?"dny":"dní"):i+"dny";case"M":return t||r?"měsíc":"měsícem";case"MM":return t||r?i+(o(e)?"měsíce":"měsíců"):i+"měsíci";case"y":return t||r?"rok":"rokem";case"yy":return t||r?i+(o(e)?"roky":"let"):i+"lety"}}e.defineLocale("cs",{months:t,monthsShort:n,monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(leden|ledna|února|únor|březen|března|duben|dubna|květen|května|červenec|července|červen|června|srpen|srpna|září|říjen|října|listopadu|listopad|prosinec|prosince)/i,monthsShortStrictRegex:/^(led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i,monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota".split("_"),weekdaysShort:"ne_po_út_st_čt_pá_so".split("_"),weekdaysMin:"ne_po_út_st_čt_pá_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},calendar:{sameDay:"[dnes v] LT",nextDay:"[zítra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v neděli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve středu v] LT";case 4:return"[ve čtvrtek v] LT";case 5:return"[v pátek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[včera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou neděli v] LT";case 1:case 2:return"[minulé] dddd [v] LT";case 3:return"[minulou středu v] LT";case 4:case 5:return"[minulý] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"před %s",s:a,ss:a,m:a,mm:a,h:a,hh:a,d:a,dd:a,M:a,MM:a,y:a,yy:a},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(5914))},2104:function(e,t,n){!function(e){"use strict";e.defineLocale("cv",{months:"кӑрлач_нарӑс_пуш_ака_май_ҫӗртме_утӑ_ҫурла_авӑн_юпа_чӳк_раштав".split("_"),monthsShort:"кӑр_нар_пуш_ака_май_ҫӗр_утӑ_ҫур_авн_юпа_чӳк_раш".split("_"),weekdays:"вырсарникун_тунтикун_ытларикун_юнкун_кӗҫнерникун_эрнекун_шӑматкун".split("_"),weekdaysShort:"выр_тун_ытл_юн_кӗҫ_эрн_шӑм".split("_"),weekdaysMin:"вр_тн_ыт_юн_кҫ_эр_шм".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ]",LLL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm",LLLL:"dddd, YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm"},calendar:{sameDay:"[Паян] LT [сехетре]",nextDay:"[Ыран] LT [сехетре]",lastDay:"[Ӗнер] LT [сехетре]",nextWeek:"[Ҫитес] dddd LT [сехетре]",lastWeek:"[Иртнӗ] dddd LT [сехетре]",sameElse:"L"},relativeTime:{future:function(e){return e+(/сехет$/i.exec(e)?"рен":/ҫул$/i.exec(e)?"тан":"ран")},past:"%s каялла",s:"пӗр-ик ҫеккунт",ss:"%d ҫеккунт",m:"пӗр минут",mm:"%d минут",h:"пӗр сехет",hh:"%d сехет",d:"пӗр кун",dd:"%d кун",M:"пӗр уйӑх",MM:"%d уйӑх",y:"пӗр ҫул",yy:"%d ҫул"},dayOfMonthOrdinalParse:/\d{1,2}-мӗш/,ordinal:"%d-мӗш",week:{dow:1,doy:7}})}(n(5914))},2621:function(e,t,n){!function(e){"use strict";e.defineLocale("cy",{months:"Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr".split("_"),monthsShort:"Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag".split("_"),weekdays:"Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn".split("_"),weekdaysShort:"Sul_Llun_Maw_Mer_Iau_Gwe_Sad".split("_"),weekdaysMin:"Su_Ll_Ma_Me_Ia_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Heddiw am] LT",nextDay:"[Yfory am] LT",nextWeek:"dddd [am] LT",lastDay:"[Ddoe am] LT",lastWeek:"dddd [diwethaf am] LT",sameElse:"L"},relativeTime:{future:"mewn %s",past:"%s yn ôl",s:"ychydig eiliadau",ss:"%d eiliad",m:"munud",mm:"%d munud",h:"awr",hh:"%d awr",d:"diwrnod",dd:"%d diwrnod",M:"mis",MM:"%d mis",y:"blwyddyn",yy:"%d flynedd"},dayOfMonthOrdinalParse:/\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,ordinal:function(e){var t="";return e>20?t=40===e||50===e||60===e||80===e||100===e?"fed":"ain":e>0&&(t=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"][e]),e+t},week:{dow:1,doy:4}})}(n(5914))},9283:function(e,t,n){!function(e){"use strict";e.defineLocale("da",{months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"søn_man_tir_ons_tor_fre_lør".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"på dddd [kl.] LT",lastDay:"[i går kl.] LT",lastWeek:"[i] dddd[s kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"få sekunder",ss:"%d sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en måned",MM:"%d måneder",y:"et år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(5914))},1183:function(e,t,n){!function(e){"use strict";function t(e,t,n,r){var i={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?i[n][0]:i[n][1]}e.defineLocale("de-at",{months:"Jänner_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jän._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,w:t,ww:"%d Wochen",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(5914))},3305:function(e,t,n){!function(e){"use strict";function t(e,t,n,r){var i={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?i[n][0]:i[n][1]}e.defineLocale("de-ch",{months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,w:t,ww:"%d Wochen",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(5914))},1863:function(e,t,n){!function(e){"use strict";function t(e,t,n,r){var i={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?i[n][0]:i[n][1]}e.defineLocale("de",{months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,w:t,ww:"%d Wochen",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(5914))},6888:function(e,t,n){!function(e){"use strict";var t=["ޖެނުއަރީ","ފެބްރުއަރީ","މާރިޗު","އޭޕްރީލު","މޭ","ޖޫން","ޖުލައި","އޯގަސްޓު","ސެޕްޓެމްބަރު","އޮކްޓޯބަރު","ނޮވެމްބަރު","ޑިސެމްބަރު"],n=["އާދިއްތަ","ހޯމަ","އަންގާރަ","ބުދަ","ބުރާސްފަތި","ހުކުރު","ހޮނިހިރު"];e.defineLocale("dv",{months:t,monthsShort:t,weekdays:n,weekdaysShort:n,weekdaysMin:"އާދި_ހޯމަ_އަން_ބުދަ_ބުރާ_ހުކު_ހޮނި".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/މކ|މފ/,isPM:function(e){return"މފ"===e},meridiem:function(e,t,n){return e<12?"މކ":"މފ"},calendar:{sameDay:"[މިއަދު] LT",nextDay:"[މާދަމާ] LT",nextWeek:"dddd LT",lastDay:"[އިއްޔެ] LT",lastWeek:"[ފާއިތުވި] dddd LT",sameElse:"L"},relativeTime:{future:"ތެރޭގައި %s",past:"ކުރިން %s",s:"ސިކުންތުކޮޅެއް",ss:"d% ސިކުންތު",m:"މިނިޓެއް",mm:"މިނިޓު %d",h:"ގަޑިއިރެއް",hh:"ގަޑިއިރު %d",d:"ދުވަހެއް",dd:"ދުވަސް %d",M:"މަހެއް",MM:"މަސް %d",y:"އަހަރެއް",yy:"އަހަރު %d"},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:7,doy:12}})}(n(5914))},7258:function(e,t,n){!function(e){"use strict";e.defineLocale("el",{monthsNominativeEl:"Ιανουάριος_Φεβρουάριος_Μάρτιος_Απρίλιος_Μάιος_Ιούνιος_Ιούλιος_Αύγουστος_Σεπτέμβριος_Οκτώβριος_Νοέμβριος_Δεκέμβριος".split("_"),monthsGenitiveEl:"Ιανουαρίου_Φεβρουαρίου_Μαρτίου_Απριλίου_Μαΐου_Ιουνίου_Ιουλίου_Αυγούστου_Σεπτεμβρίου_Οκτωβρίου_Νοεμβρίου_Δεκεμβρίου".split("_"),months:function(e,t){return e?"string"==typeof t&&/D/.test(t.substring(0,t.indexOf("MMMM")))?this._monthsGenitiveEl[e.month()]:this._monthsNominativeEl[e.month()]:this._monthsNominativeEl},monthsShort:"Ιαν_Φεβ_Μαρ_Απρ_Μαϊ_Ιουν_Ιουλ_Αυγ_Σεπ_Οκτ_Νοε_Δεκ".split("_"),weekdays:"Κυριακή_Δευτέρα_Τρίτη_Τετάρτη_Πέμπτη_Παρασκευή_Σάββατο".split("_"),weekdaysShort:"Κυρ_Δευ_Τρι_Τετ_Πεμ_Παρ_Σαβ".split("_"),weekdaysMin:"Κυ_Δε_Τρ_Τε_Πε_Πα_Σα".split("_"),meridiem:function(e,t,n){return e>11?n?"μμ":"ΜΜ":n?"πμ":"ΠΜ"},isPM:function(e){return"μ"===(e+"").toLowerCase()[0]},meridiemParse:/[ΠΜ]\.?Μ?\.?/i,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendarEl:{sameDay:"[Σήμερα {}] LT",nextDay:"[Αύριο {}] LT",nextWeek:"dddd [{}] LT",lastDay:"[Χθες {}] LT",lastWeek:function(){return 6===this.day()?"[το προηγούμενο] dddd [{}] LT":"[την προηγούμενη] dddd [{}] LT"},sameElse:"L"},calendar:function(e,t){var n,r=this._calendarEl[e],i=t&&t.hours();return n=r,("undefined"!=typeof Function&&n instanceof Function||"[object Function]"===Object.prototype.toString.call(n))&&(r=r.apply(t)),r.replace("{}",i%12==1?"στη":"στις")},relativeTime:{future:"σε %s",past:"%s πριν",s:"λίγα δευτερόλεπτα",ss:"%d δευτερόλεπτα",m:"ένα λεπτό",mm:"%d λεπτά",h:"μία ώρα",hh:"%d ώρες",d:"μία μέρα",dd:"%d μέρες",M:"ένας μήνας",MM:"%d μήνες",y:"ένας χρόνος",yy:"%d χρόνια"},dayOfMonthOrdinalParse:/\d{1,2}η/,ordinal:"%dη",week:{dow:1,doy:4}})}(n(5914))},4129:function(e,t,n){!function(e){"use strict";e.defineLocale("en-au",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:0,doy:4}})}(n(5914))},5610:function(e,t,n){!function(e){"use strict";e.defineLocale("en-ca",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}})}(n(5914))},2874:function(e,t,n){!function(e){"use strict";e.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(5914))},4585:function(e,t,n){!function(e){"use strict";e.defineLocale("en-ie",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(5914))},1557:function(e,t,n){!function(e){"use strict";e.defineLocale("en-il",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}})}(n(5914))},3256:function(e,t,n){!function(e){"use strict";e.defineLocale("en-in",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:0,doy:6}})}(n(5914))},937:function(e,t,n){!function(e){"use strict";e.defineLocale("en-nz",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(5914))},8745:function(e,t,n){!function(e){"use strict";e.defineLocale("en-sg",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(5914))},8569:function(e,t,n){!function(e){"use strict";e.defineLocale("eo",{months:"januaro_februaro_marto_aprilo_majo_junio_julio_aŭgusto_septembro_oktobro_novembro_decembro".split("_"),monthsShort:"jan_feb_mart_apr_maj_jun_jul_aŭg_sept_okt_nov_dec".split("_"),weekdays:"dimanĉo_lundo_mardo_merkredo_ĵaŭdo_vendredo_sabato".split("_"),weekdaysShort:"dim_lun_mard_merk_ĵaŭ_ven_sab".split("_"),weekdaysMin:"di_lu_ma_me_ĵa_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"[la] D[-an de] MMMM, YYYY",LLL:"[la] D[-an de] MMMM, YYYY HH:mm",LLLL:"dddd[n], [la] D[-an de] MMMM, YYYY HH:mm",llll:"ddd, [la] D[-an de] MMM, YYYY HH:mm"},meridiemParse:/[ap]\.t\.m/i,isPM:function(e){return"p"===e.charAt(0).toLowerCase()},meridiem:function(e,t,n){return e>11?n?"p.t.m.":"P.T.M.":n?"a.t.m.":"A.T.M."},calendar:{sameDay:"[Hodiaŭ je] LT",nextDay:"[Morgaŭ je] LT",nextWeek:"dddd[n je] LT",lastDay:"[Hieraŭ je] LT",lastWeek:"[pasintan] dddd[n je] LT",sameElse:"L"},relativeTime:{future:"post %s",past:"antaŭ %s",s:"kelkaj sekundoj",ss:"%d sekundoj",m:"unu minuto",mm:"%d minutoj",h:"unu horo",hh:"%d horoj",d:"unu tago",dd:"%d tagoj",M:"unu monato",MM:"%d monatoj",y:"unu jaro",yy:"%d jaroj"},dayOfMonthOrdinalParse:/\d{1,2}a/,ordinal:"%da",week:{dow:1,doy:7}})}(n(5914))},3598:function(e,t,n){!function(e){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),r=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],i=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;e.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,r){return e?/-MMM-/.test(r)?n[e.month()]:t[e.month()]:t},monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n(5914))},6892:function(e,t,n){!function(e){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),r=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],i=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;e.defineLocale("es-mx",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,r){return e?/-MMM-/.test(r)?n[e.month()]:t[e.month()]:t},monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:0,doy:4},invalidDate:"Fecha inválida"})}(n(5914))},5530:function(e,t,n){!function(e){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),r=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],i=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;e.defineLocale("es-us",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,r){return e?/-MMM-/.test(r)?n[e.month()]:t[e.month()]:t},monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"MM/DD/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:0,doy:6}})}(n(5914))},2882:function(e,t,n){!function(e){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),r=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],i=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;e.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,r){return e?/-MMM-/.test(r)?n[e.month()]:t[e.month()]:t},monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4},invalidDate:"Fecha inválida"})}(n(5914))},814:function(e,t,n){!function(e){"use strict";function t(e,t,n,r){var i={s:["mõne sekundi","mõni sekund","paar sekundit"],ss:[e+"sekundi",e+"sekundit"],m:["ühe minuti","üks minut"],mm:[e+" minuti",e+" minutit"],h:["ühe tunni","tund aega","üks tund"],hh:[e+" tunni",e+" tundi"],d:["ühe päeva","üks päev"],M:["kuu aja","kuu aega","üks kuu"],MM:[e+" kuu",e+" kuud"],y:["ühe aasta","aasta","üks aasta"],yy:[e+" aasta",e+" aastat"]};return t?i[n][2]?i[n][2]:i[n][1]:r?i[n][0]:i[n][1]}e.defineLocale("et",{months:"jaanuar_veebruar_märts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_märts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),weekdays:"pühapäev_esmaspäev_teisipäev_kolmapäev_neljapäev_reede_laupäev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[Täna,] LT",nextDay:"[Homme,] LT",nextWeek:"[Järgmine] dddd LT",lastDay:"[Eile,] LT",lastWeek:"[Eelmine] dddd LT",sameElse:"L"},relativeTime:{future:"%s pärast",past:"%s tagasi",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:"%d päeva",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(5914))},5602:function(e,t,n){!function(e){"use strict";e.defineLocale("eu",{months:"urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),monthsShort:"urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),monthsParseExact:!0,weekdays:"igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"),weekdaysShort:"ig._al._ar._az._og._ol._lr.".split("_"),weekdaysMin:"ig_al_ar_az_og_ol_lr".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY[ko] MMMM[ren] D[a]",LLL:"YYYY[ko] MMMM[ren] D[a] HH:mm",LLLL:"dddd, YYYY[ko] MMMM[ren] D[a] HH:mm",l:"YYYY-M-D",ll:"YYYY[ko] MMM D[a]",lll:"YYYY[ko] MMM D[a] HH:mm",llll:"ddd, YYYY[ko] MMM D[a] HH:mm"},calendar:{sameDay:"[gaur] LT[etan]",nextDay:"[bihar] LT[etan]",nextWeek:"dddd LT[etan]",lastDay:"[atzo] LT[etan]",lastWeek:"[aurreko] dddd LT[etan]",sameElse:"L"},relativeTime:{future:"%s barru",past:"duela %s",s:"segundo batzuk",ss:"%d segundo",m:"minutu bat",mm:"%d minutu",h:"ordu bat",hh:"%d ordu",d:"egun bat",dd:"%d egun",M:"hilabete bat",MM:"%d hilabete",y:"urte bat",yy:"%d urte"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(5914))},5757:function(e,t,n){!function(e){"use strict";var t={1:"۱",2:"۲",3:"۳",4:"۴",5:"۵",6:"۶",7:"۷",8:"۸",9:"۹",0:"۰"},n={"۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9","۰":"0"};e.defineLocale("fa",{months:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),monthsShort:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),weekdays:"یکشنبه_دوشنبه_سهشنبه_چهارشنبه_پنجشنبه_جمعه_شنبه".split("_"),weekdaysShort:"یکشنبه_دوشنبه_سهشنبه_چهارشنبه_پنجشنبه_جمعه_شنبه".split("_"),weekdaysMin:"ی_د_س_چ_پ_ج_ش".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/قبل از ظهر|بعد از ظهر/,isPM:function(e){return/بعد از ظهر/.test(e)},meridiem:function(e,t,n){return e<12?"قبل از ظهر":"بعد از ظهر"},calendar:{sameDay:"[امروز ساعت] LT",nextDay:"[فردا ساعت] LT",nextWeek:"dddd [ساعت] LT",lastDay:"[دیروز ساعت] LT",lastWeek:"dddd [پیش] [ساعت] LT",sameElse:"L"},relativeTime:{future:"در %s",past:"%s پیش",s:"چند ثانیه",ss:"%d ثانیه",m:"یک دقیقه",mm:"%d دقیقه",h:"یک ساعت",hh:"%d ساعت",d:"یک روز",dd:"%d روز",M:"یک ماه",MM:"%d ماه",y:"یک سال",yy:"%d سال"},preparse:function(e){return e.replace(/[۰-۹]/g,(function(e){return n[e]})).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"،")},dayOfMonthOrdinalParse:/\d{1,2}م/,ordinal:"%dم",week:{dow:6,doy:12}})}(n(5914))},2671:function(e,t,n){!function(e){"use strict";var t="nolla yksi kaksi kolme neljä viisi kuusi seitsemän kahdeksan yhdeksän".split(" "),n=["nolla","yhden","kahden","kolmen","neljän","viiden","kuuden",t[7],t[8],t[9]];function r(e,r,i,o){var a="";switch(i){case"s":return o?"muutaman sekunnin":"muutama sekunti";case"ss":a=o?"sekunnin":"sekuntia";break;case"m":return o?"minuutin":"minuutti";case"mm":a=o?"minuutin":"minuuttia";break;case"h":return o?"tunnin":"tunti";case"hh":a=o?"tunnin":"tuntia";break;case"d":return o?"päivän":"päivä";case"dd":a=o?"päivän":"päivää";break;case"M":return o?"kuukauden":"kuukausi";case"MM":a=o?"kuukauden":"kuukautta";break;case"y":return o?"vuoden":"vuosi";case"yy":a=o?"vuoden":"vuotta"}return function(e,r){return e<10?r?n[e]:t[e]:e}(e,o)+" "+a}e.defineLocale("fi",{months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kesäkuu_heinäkuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kesä_heinä_elo_syys_loka_marras_joulu".split("_"),weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"Do MMMM[ta] YYYY",LLL:"Do MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, Do MMMM[ta] YYYY, [klo] HH.mm",l:"D.M.YYYY",ll:"Do MMM YYYY",lll:"Do MMM YYYY, [klo] HH.mm",llll:"ddd, Do MMM YYYY, [klo] HH.mm"},calendar:{sameDay:"[tänään] [klo] LT",nextDay:"[huomenna] [klo] LT",nextWeek:"dddd [klo] LT",lastDay:"[eilen] [klo] LT",lastWeek:"[viime] dddd[na] [klo] LT",sameElse:"L"},relativeTime:{future:"%s päästä",past:"%s sitten",s:r,ss:r,m:r,mm:r,h:r,hh:r,d:r,dd:r,M:r,MM:r,y:r,yy:r},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(5914))},6917:function(e,t,n){!function(e){"use strict";e.defineLocale("fil",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}})}(n(5914))},4411:function(e,t,n){!function(e){"use strict";e.defineLocale("fo",{months:"januar_februar_mars_apríl_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sunnudagur_mánadagur_týsdagur_mikudagur_hósdagur_fríggjadagur_leygardagur".split("_"),weekdaysShort:"sun_mán_týs_mik_hós_frí_ley".split("_"),weekdaysMin:"su_má_tý_mi_hó_fr_le".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D. MMMM, YYYY HH:mm"},calendar:{sameDay:"[Í dag kl.] LT",nextDay:"[Í morgin kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[Í gjár kl.] LT",lastWeek:"[síðstu] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"um %s",past:"%s síðani",s:"fá sekund",ss:"%d sekundir",m:"ein minuttur",mm:"%d minuttir",h:"ein tími",hh:"%d tímar",d:"ein dagur",dd:"%d dagar",M:"ein mánaður",MM:"%d mánaðir",y:"eitt ár",yy:"%d ár"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(5914))},7806:function(e,t,n){!function(e){"use strict";e.defineLocale("fr-ca",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(e,t){switch(t){default:case"M":case"Q":case"D":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}}})}(n(5914))},6263:function(e,t,n){!function(e){"use strict";e.defineLocale("fr-ch",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(e,t){switch(t){default:case"M":case"Q":case"D":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}},week:{dow:1,doy:4}})}(n(5914))},5462:function(e,t,n){!function(e){"use strict";var t=/(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?|janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,n=[/^janv/i,/^févr/i,/^mars/i,/^avr/i,/^mai/i,/^juin/i,/^juil/i,/^août/i,/^sept/i,/^oct/i,/^nov/i,/^déc/i];e.defineLocale("fr",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsRegex:t,monthsShortRegex:t,monthsStrictRegex:/^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,monthsShortStrictRegex:/(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?)/i,monthsParse:n,longMonthsParse:n,shortMonthsParse:n,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",w:"une semaine",ww:"%d semaines",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|)/,ordinal:function(e,t){switch(t){case"D":return e+(1===e?"er":"");default:case"M":case"Q":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}},week:{dow:1,doy:4}})}(n(5914))},3724:function(e,t,n){!function(e){"use strict";var t="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),n="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_");e.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(e,r){return e?/-MMM-/.test(r)?n[e.month()]:t[e.month()]:t},monthsParseExact:!0,weekdays:"snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon".split("_"),weekdaysShort:"si._mo._ti._wo._to._fr._so.".split("_"),weekdaysMin:"Si_Mo_Ti_Wo_To_Fr_So".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[hjoed om] LT",nextDay:"[moarn om] LT",nextWeek:"dddd [om] LT",lastDay:"[juster om] LT",lastWeek:"[ôfrûne] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oer %s",past:"%s lyn",s:"in pear sekonden",ss:"%d sekonden",m:"ien minút",mm:"%d minuten",h:"ien oere",hh:"%d oeren",d:"ien dei",dd:"%d dagen",M:"ien moanne",MM:"%d moannen",y:"ien jier",yy:"%d jierren"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(n(5914))},969:function(e,t,n){!function(e){"use strict";e.defineLocale("ga",{months:["Eanáir","Feabhra","Márta","Aibreán","Bealtaine","Meitheamh","Iúil","Lúnasa","Meán Fómhair","Deireadh Fómhair","Samhain","Nollaig"],monthsShort:["Ean","Feabh","Márt","Aib","Beal","Meith","Iúil","Lún","M.F.","D.F.","Samh","Noll"],monthsParseExact:!0,weekdays:["Dé Domhnaigh","Dé Luain","Dé Máirt","Dé Céadaoin","Déardaoin","Dé hAoine","Dé Sathairn"],weekdaysShort:["Domh","Luan","Máirt","Céad","Déar","Aoine","Sath"],weekdaysMin:["Do","Lu","Má","Cé","Dé","A","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Inniu ag] LT",nextDay:"[Amárach ag] LT",nextWeek:"dddd [ag] LT",lastDay:"[Inné ag] LT",lastWeek:"dddd [seo caite] [ag] LT",sameElse:"L"},relativeTime:{future:"i %s",past:"%s ó shin",s:"cúpla soicind",ss:"%d soicind",m:"nóiméad",mm:"%d nóiméad",h:"uair an chloig",hh:"%d uair an chloig",d:"lá",dd:"%d lá",M:"mí",MM:"%d míonna",y:"bliain",yy:"%d bliain"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(e){return e+(1===e?"d":e%10==2?"na":"mh")},week:{dow:1,doy:4}})}(n(5914))},2506:function(e,t,n){!function(e){"use strict";e.defineLocale("gd",{months:["Am Faoilleach","An Gearran","Am Màrt","An Giblean","An Cèitean","An t-Ògmhios","An t-Iuchar","An Lùnastal","An t-Sultain","An Dàmhair","An t-Samhain","An Dùbhlachd"],monthsShort:["Faoi","Gear","Màrt","Gibl","Cèit","Ògmh","Iuch","Lùn","Sult","Dàmh","Samh","Dùbh"],monthsParseExact:!0,weekdays:["Didòmhnaich","Diluain","Dimàirt","Diciadain","Diardaoin","Dihaoine","Disathairne"],weekdaysShort:["Did","Dil","Dim","Dic","Dia","Dih","Dis"],weekdaysMin:["Dò","Lu","Mà","Ci","Ar","Ha","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[An-diugh aig] LT",nextDay:"[A-màireach aig] LT",nextWeek:"dddd [aig] LT",lastDay:"[An-dè aig] LT",lastWeek:"dddd [seo chaidh] [aig] LT",sameElse:"L"},relativeTime:{future:"ann an %s",past:"bho chionn %s",s:"beagan diogan",ss:"%d diogan",m:"mionaid",mm:"%d mionaidean",h:"uair",hh:"%d uairean",d:"latha",dd:"%d latha",M:"mìos",MM:"%d mìosan",y:"bliadhna",yy:"%d bliadhna"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(e){return e+(1===e?"d":e%10==2?"na":"mh")},week:{dow:1,doy:4}})}(n(5914))},1101:function(e,t,n){!function(e){"use strict";e.defineLocale("gl",{months:"xaneiro_febreiro_marzo_abril_maio_xuño_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),monthsShort:"xan._feb._mar._abr._mai._xuñ._xul._ago._set._out._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"domingo_luns_martes_mércores_xoves_venres_sábado".split("_"),weekdaysShort:"dom._lun._mar._mér._xov._ven._sáb.".split("_"),weekdaysMin:"do_lu_ma_mé_xo_ve_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoxe "+(1!==this.hours()?"ás":"á")+"] LT"},nextDay:function(){return"[mañá "+(1!==this.hours()?"ás":"á")+"] LT"},nextWeek:function(){return"dddd ["+(1!==this.hours()?"ás":"a")+"] LT"},lastDay:function(){return"[onte "+(1!==this.hours()?"á":"a")+"] LT"},lastWeek:function(){return"[o] dddd [pasado "+(1!==this.hours()?"ás":"a")+"] LT"},sameElse:"L"},relativeTime:{future:function(e){return 0===e.indexOf("un")?"n"+e:"en "+e},past:"hai %s",s:"uns segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n(5914))},1515:function(e,t,n){!function(e){"use strict";function t(e,t,n,r){var i={s:["थोडया सॅकंडांनी","थोडे सॅकंड"],ss:[e+" सॅकंडांनी",e+" सॅकंड"],m:["एका मिणटान","एक मिनूट"],mm:[e+" मिणटांनी",e+" मिणटां"],h:["एका वरान","एक वर"],hh:[e+" वरांनी",e+" वरां"],d:["एका दिसान","एक दीस"],dd:[e+" दिसांनी",e+" दीस"],M:["एका म्हयन्यान","एक म्हयनो"],MM:[e+" म्हयन्यानी",e+" म्हयने"],y:["एका वर्सान","एक वर्स"],yy:[e+" वर्सांनी",e+" वर्सां"]};return r?i[n][0]:i[n][1]}e.defineLocale("gom-deva",{months:{standalone:"जानेवारी_फेब्रुवारी_मार्च_एप्रील_मे_जून_जुलय_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर".split("_"),format:"जानेवारीच्या_फेब्रुवारीच्या_मार्चाच्या_एप्रीलाच्या_मेयाच्या_जूनाच्या_जुलयाच्या_ऑगस्टाच्या_सप्टेंबराच्या_ऑक्टोबराच्या_नोव्हेंबराच्या_डिसेंबराच्या".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"जाने._फेब्रु._मार्च_एप्री._मे_जून_जुल._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.".split("_"),monthsParseExact:!0,weekdays:"आयतार_सोमार_मंगळार_बुधवार_बिरेस्तार_सुक्रार_शेनवार".split("_"),weekdaysShort:"आयत._सोम._मंगळ._बुध._ब्रेस्त._सुक्र._शेन.".split("_"),weekdaysMin:"आ_सो_मं_बु_ब्रे_सु_शे".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [वाजतां]",LTS:"A h:mm:ss [वाजतां]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [वाजतां]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [वाजतां]",llll:"ddd, D MMM YYYY, A h:mm [वाजतां]"},calendar:{sameDay:"[आयज] LT",nextDay:"[फाल्यां] LT",nextWeek:"[फुडलो] dddd[,] LT",lastDay:"[काल] LT",lastWeek:"[फाटलो] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s आदीं",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}(वेर)/,ordinal:function(e,t){return"D"===t?e+"वेर":e},week:{dow:0,doy:3},meridiemParse:/राती|सकाळीं|दनपारां|सांजे/,meridiemHour:function(e,t){return 12===e&&(e=0),"राती"===t?e<4?e:e+12:"सकाळीं"===t?e:"दनपारां"===t?e>12?e:e+12:"सांजे"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"राती":e<12?"सकाळीं":e<16?"दनपारां":e<20?"सांजे":"राती"}})}(n(5914))},6749:function(e,t,n){!function(e){"use strict";function t(e,t,n,r){var i={s:["thoddea sekondamni","thodde sekond"],ss:[e+" sekondamni",e+" sekond"],m:["eka mintan","ek minut"],mm:[e+" mintamni",e+" mintam"],h:["eka voran","ek vor"],hh:[e+" voramni",e+" voram"],d:["eka disan","ek dis"],dd:[e+" disamni",e+" dis"],M:["eka mhoinean","ek mhoino"],MM:[e+" mhoineamni",e+" mhoine"],y:["eka vorsan","ek voros"],yy:[e+" vorsamni",e+" vorsam"]};return r?i[n][0]:i[n][1]}e.defineLocale("gom-latn",{months:{standalone:"Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr".split("_"),format:"Janerachea_Febrerachea_Marsachea_Abrilachea_Maiachea_Junachea_Julaiachea_Agostachea_Setembrachea_Otubrachea_Novembrachea_Dezembrachea".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Aitar_Somar_Mongllar_Budhvar_Birestar_Sukrar_Son'var".split("_"),weekdaysShort:"Ait._Som._Mon._Bud._Bre._Suk._Son.".split("_"),weekdaysMin:"Ai_Sm_Mo_Bu_Br_Su_Sn".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [vazta]",LTS:"A h:mm:ss [vazta]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [vazta]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [vazta]",llll:"ddd, D MMM YYYY, A h:mm [vazta]"},calendar:{sameDay:"[Aiz] LT",nextDay:"[Faleam] LT",nextWeek:"[Fuddlo] dddd[,] LT",lastDay:"[Kal] LT",lastWeek:"[Fattlo] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s adim",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(e,t){return"D"===t?e+"er":e},week:{dow:0,doy:3},meridiemParse:/rati|sokallim|donparam|sanje/,meridiemHour:function(e,t){return 12===e&&(e=0),"rati"===t?e<4?e:e+12:"sokallim"===t?e:"donparam"===t?e>12?e:e+12:"sanje"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"rati":e<12?"sokallim":e<16?"donparam":e<20?"sanje":"rati"}})}(n(5914))},275:function(e,t,n){!function(e){"use strict";var t={1:"૧",2:"૨",3:"૩",4:"૪",5:"૫",6:"૬",7:"૭",8:"૮",9:"૯",0:"૦"},n={"૧":"1","૨":"2","૩":"3","૪":"4","૫":"5","૬":"6","૭":"7","૮":"8","૯":"9","૦":"0"};e.defineLocale("gu",{months:"જાન્યુઆરી_ફેબ્રુઆરી_માર્ચ_એપ્રિલ_મે_જૂન_જુલાઈ_ઑગસ્ટ_સપ્ટેમ્બર_ઑક્ટ્બર_નવેમ્બર_ડિસેમ્બર".split("_"),monthsShort:"જાન્યુ._ફેબ્રુ._માર્ચ_એપ્રિ._મે_જૂન_જુલા._ઑગ._સપ્ટે._ઑક્ટ્._નવે._ડિસે.".split("_"),monthsParseExact:!0,weekdays:"રવિવાર_સોમવાર_મંગળવાર_બુધ્વાર_ગુરુવાર_શુક્રવાર_શનિવાર".split("_"),weekdaysShort:"રવિ_સોમ_મંગળ_બુધ્_ગુરુ_શુક્ર_શનિ".split("_"),weekdaysMin:"ર_સો_મં_બુ_ગુ_શુ_શ".split("_"),longDateFormat:{LT:"A h:mm વાગ્યે",LTS:"A h:mm:ss વાગ્યે",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm વાગ્યે",LLLL:"dddd, D MMMM YYYY, A h:mm વાગ્યે"},calendar:{sameDay:"[આજ] LT",nextDay:"[કાલે] LT",nextWeek:"dddd, LT",lastDay:"[ગઇકાલે] LT",lastWeek:"[પાછલા] dddd, LT",sameElse:"L"},relativeTime:{future:"%s મા",past:"%s પહેલા",s:"અમુક પળો",ss:"%d સેકંડ",m:"એક મિનિટ",mm:"%d મિનિટ",h:"એક કલાક",hh:"%d કલાક",d:"એક દિવસ",dd:"%d દિવસ",M:"એક મહિનો",MM:"%d મહિનો",y:"એક વર્ષ",yy:"%d વર્ષ"},preparse:function(e){return e.replace(/[૧૨૩૪૫૬૭૮૯૦]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/રાત|બપોર|સવાર|સાંજ/,meridiemHour:function(e,t){return 12===e&&(e=0),"રાત"===t?e<4?e:e+12:"સવાર"===t?e:"બપોર"===t?e>=10?e:e+12:"સાંજ"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"રાત":e<10?"સવાર":e<17?"બપોર":e<20?"સાંજ":"રાત"},week:{dow:0,doy:6}})}(n(5914))},4074:function(e,t,n){!function(e){"use strict";e.defineLocale("he",{months:"ינואר_פברואר_מרץ_אפריל_מאי_יוני_יולי_אוגוסט_ספטמבר_אוקטובר_נובמבר_דצמבר".split("_"),monthsShort:"ינו׳_פבר׳_מרץ_אפר׳_מאי_יוני_יולי_אוג׳_ספט׳_אוק׳_נוב׳_דצמ׳".split("_"),weekdays:"ראשון_שני_שלישי_רביעי_חמישי_שישי_שבת".split("_"),weekdaysShort:"א׳_ב׳_ג׳_ד׳_ה׳_ו׳_ש׳".split("_"),weekdaysMin:"א_ב_ג_ד_ה_ו_ש".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [ב]MMMM YYYY",LLL:"D [ב]MMMM YYYY HH:mm",LLLL:"dddd, D [ב]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[היום ב־]LT",nextDay:"[מחר ב־]LT",nextWeek:"dddd [בשעה] LT",lastDay:"[אתמול ב־]LT",lastWeek:"[ביום] dddd [האחרון בשעה] LT",sameElse:"L"},relativeTime:{future:"בעוד %s",past:"לפני %s",s:"מספר שניות",ss:"%d שניות",m:"דקה",mm:"%d דקות",h:"שעה",hh:function(e){return 2===e?"שעתיים":e+" שעות"},d:"יום",dd:function(e){return 2===e?"יומיים":e+" ימים"},M:"חודש",MM:function(e){return 2===e?"חודשיים":e+" חודשים"},y:"שנה",yy:function(e){return 2===e?"שנתיים":e%10==0&&10!==e?e+" שנה":e+" שנים"}},meridiemParse:/אחה"צ|לפנה"צ|אחרי הצהריים|לפני הצהריים|לפנות בוקר|בבוקר|בערב/i,isPM:function(e){return/^(אחה"צ|אחרי הצהריים|בערב)$/.test(e)},meridiem:function(e,t,n){return e<5?"לפנות בוקר":e<10?"בבוקר":e<12?n?'לפנה"צ':"לפני הצהריים":e<18?n?'אחה"צ':"אחרי הצהריים":"בערב"}})}(n(5914))},5079:function(e,t,n){!function(e){"use strict";var t={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},n={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"},r=[/^जन/i,/^फ़र|फर/i,/^मार्च/i,/^अप्रै/i,/^मई/i,/^जून/i,/^जुल/i,/^अग/i,/^सितं|सित/i,/^अक्टू/i,/^नव|नवं/i,/^दिसं|दिस/i];e.defineLocale("hi",{months:{format:"जनवरी_फ़रवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितम्बर_अक्टूबर_नवम्बर_दिसम्बर".split("_"),standalone:"जनवरी_फरवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितंबर_अक्टूबर_नवंबर_दिसंबर".split("_")},monthsShort:"जन._फ़र._मार्च_अप्रै._मई_जून_जुल._अग._सित._अक्टू._नव._दिस.".split("_"),weekdays:"रविवार_सोमवार_मंगलवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),weekdaysShort:"रवि_सोम_मंगल_बुध_गुरू_शुक्र_शनि".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),longDateFormat:{LT:"A h:mm बजे",LTS:"A h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm बजे",LLLL:"dddd, D MMMM YYYY, A h:mm बजे"},monthsParse:r,longMonthsParse:r,shortMonthsParse:[/^जन/i,/^फ़र/i,/^मार्च/i,/^अप्रै/i,/^मई/i,/^जून/i,/^जुल/i,/^अग/i,/^सित/i,/^अक्टू/i,/^नव/i,/^दिस/i],monthsRegex:/^(जनवरी|जन\.?|फ़रवरी|फरवरी|फ़र\.?|मार्च?|अप्रैल|अप्रै\.?|मई?|जून?|जुलाई|जुल\.?|अगस्त|अग\.?|सितम्बर|सितंबर|सित\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर|नव\.?|दिसम्बर|दिसंबर|दिस\.?)/i,monthsShortRegex:/^(जनवरी|जन\.?|फ़रवरी|फरवरी|फ़र\.?|मार्च?|अप्रैल|अप्रै\.?|मई?|जून?|जुलाई|जुल\.?|अगस्त|अग\.?|सितम्बर|सितंबर|सित\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर|नव\.?|दिसम्बर|दिसंबर|दिस\.?)/i,monthsStrictRegex:/^(जनवरी?|फ़रवरी|फरवरी?|मार्च?|अप्रैल?|मई?|जून?|जुलाई?|अगस्त?|सितम्बर|सितंबर|सित?\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर?|दिसम्बर|दिसंबर?)/i,monthsShortStrictRegex:/^(जन\.?|फ़र\.?|मार्च?|अप्रै\.?|मई?|जून?|जुल\.?|अग\.?|सित\.?|अक्टू\.?|नव\.?|दिस\.?)/i,calendar:{sameDay:"[आज] LT",nextDay:"[कल] LT",nextWeek:"dddd, LT",lastDay:"[कल] LT",lastWeek:"[पिछले] dddd, LT",sameElse:"L"},relativeTime:{future:"%s में",past:"%s पहले",s:"कुछ ही क्षण",ss:"%d सेकंड",m:"एक मिनट",mm:"%d मिनट",h:"एक घंटा",hh:"%d घंटे",d:"एक दिन",dd:"%d दिन",M:"एक महीने",MM:"%d महीने",y:"एक वर्ष",yy:"%d वर्ष"},preparse:function(e){return e.replace(/[१२३४५६७८९०]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/रात|सुबह|दोपहर|शाम/,meridiemHour:function(e,t){return 12===e&&(e=0),"रात"===t?e<4?e:e+12:"सुबह"===t?e:"दोपहर"===t?e>=10?e:e+12:"शाम"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"रात":e<10?"सुबह":e<17?"दोपहर":e<20?"शाम":"रात"},week:{dow:0,doy:6}})}(n(5914))},8562:function(e,t,n){!function(e){"use strict";function t(e,t,n){var r=e+" ";switch(n){case"ss":return r+(1===e?"sekunda":2===e||3===e||4===e?"sekunde":"sekundi");case"m":return t?"jedna minuta":"jedne minute";case"mm":return r+(1===e?"minuta":2===e||3===e||4===e?"minute":"minuta");case"h":return t?"jedan sat":"jednog sata";case"hh":return r+(1===e?"sat":2===e||3===e||4===e?"sata":"sati");case"dd":return r+(1===e?"dan":"dana");case"MM":return r+(1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci");case"yy":return r+(1===e?"godina":2===e||3===e||4===e?"godine":"godina")}}e.defineLocale("hr",{months:{format:"siječnja_veljače_ožujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca".split("_"),standalone:"siječanj_veljača_ožujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_")},monthsShort:"sij._velj._ožu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"Do MMMM YYYY",LLL:"Do MMMM YYYY H:mm",LLLL:"dddd, Do MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[jučer u] LT",lastWeek:function(){switch(this.day()){case 0:return"[prošlu] [nedjelju] [u] LT";case 3:return"[prošlu] [srijedu] [u] LT";case 6:return"[prošle] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[prošli] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:t,m:t,mm:t,h:t,hh:t,d:"dan",dd:t,M:"mjesec",MM:t,y:"godinu",yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(5914))},7778:function(e,t,n){!function(e){"use strict";var t="vasárnap hétfőn kedden szerdán csütörtökön pénteken szombaton".split(" ");function n(e,t,n,r){var i=e;switch(n){case"s":return r||t?"néhány másodperc":"néhány másodperce";case"ss":return i+(r||t)?" másodperc":" másodperce";case"m":return"egy"+(r||t?" perc":" perce");case"mm":return i+(r||t?" perc":" perce");case"h":return"egy"+(r||t?" óra":" órája");case"hh":return i+(r||t?" óra":" órája");case"d":return"egy"+(r||t?" nap":" napja");case"dd":return i+(r||t?" nap":" napja");case"M":return"egy"+(r||t?" hónap":" hónapja");case"MM":return i+(r||t?" hónap":" hónapja");case"y":return"egy"+(r||t?" év":" éve");case"yy":return i+(r||t?" év":" éve")}return""}function r(e){return(e?"":"[múlt] ")+"["+t[this.day()]+"] LT[-kor]"}e.defineLocale("hu",{months:"január_február_március_április_május_június_július_augusztus_szeptember_október_november_december".split("_"),monthsShort:"jan._feb._márc._ápr._máj._jún._júl._aug._szept._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat".split("_"),weekdaysShort:"vas_hét_kedd_sze_csüt_pén_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"},meridiemParse:/de|du/i,isPM:function(e){return"u"===e.charAt(1).toLowerCase()},meridiem:function(e,t,n){return e<12?!0===n?"de":"DE":!0===n?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return r.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return r.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s múlva",past:"%s",s:n,ss:n,m:n,mm:n,h:n,hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(5914))},8732:function(e,t,n){!function(e){"use strict";e.defineLocale("hy-am",{months:{format:"հունվարի_փետրվարի_մարտի_ապրիլի_մայիսի_հունիսի_հուլիսի_օգոստոսի_սեպտեմբերի_հոկտեմբերի_նոյեմբերի_դեկտեմբերի".split("_"),standalone:"հունվար_փետրվար_մարտ_ապրիլ_մայիս_հունիս_հուլիս_օգոստոս_սեպտեմբեր_հոկտեմբեր_նոյեմբեր_դեկտեմբեր".split("_")},monthsShort:"հնվ_փտր_մրտ_ապր_մյս_հնս_հլս_օգս_սպտ_հկտ_նմբ_դկտ".split("_"),weekdays:"կիրակի_երկուշաբթի_երեքշաբթի_չորեքշաբթի_հինգշաբթի_ուրբաթ_շաբաթ".split("_"),weekdaysShort:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),weekdaysMin:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY թ.",LLL:"D MMMM YYYY թ., HH:mm",LLLL:"dddd, D MMMM YYYY թ., HH:mm"},calendar:{sameDay:"[այսօր] LT",nextDay:"[վաղը] LT",lastDay:"[երեկ] LT",nextWeek:function(){return"dddd [օրը ժամը] LT"},lastWeek:function(){return"[անցած] dddd [օրը ժամը] LT"},sameElse:"L"},relativeTime:{future:"%s հետո",past:"%s առաջ",s:"մի քանի վայրկյան",ss:"%d վայրկյան",m:"րոպե",mm:"%d րոպե",h:"ժամ",hh:"%d ժամ",d:"օր",dd:"%d օր",M:"ամիս",MM:"%d ամիս",y:"տարի",yy:"%d տարի"},meridiemParse:/գիշերվա|առավոտվա|ցերեկվա|երեկոյան/,isPM:function(e){return/^(ցերեկվա|երեկոյան)$/.test(e)},meridiem:function(e){return e<4?"գիշերվա":e<12?"առավոտվա":e<17?"ցերեկվա":"երեկոյան"},dayOfMonthOrdinalParse:/\d{1,2}|\d{1,2}-(ին|րդ)/,ordinal:function(e,t){switch(t){case"DDD":case"w":case"W":case"DDDo":return 1===e?e+"-ին":e+"-րդ";default:return e}},week:{dow:1,doy:7}})}(n(5914))},4654:function(e,t,n){!function(e){"use strict";e.defineLocale("id",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des".split("_"),weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|siang|sore|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"siang"===t?e>=11?e:e+12:"sore"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"pagi":e<15?"siang":e<19?"sore":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Besok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kemarin pukul] LT",lastWeek:"dddd [lalu pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",ss:"%d detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:0,doy:6}})}(n(5914))},3330:function(e,t,n){!function(e){"use strict";function t(e){return e%100==11||e%10!=1}function n(e,n,r,i){var o=e+" ";switch(r){case"s":return n||i?"nokkrar sekúndur":"nokkrum sekúndum";case"ss":return t(e)?o+(n||i?"sekúndur":"sekúndum"):o+"sekúnda";case"m":return n?"mínúta":"mínútu";case"mm":return t(e)?o+(n||i?"mínútur":"mínútum"):n?o+"mínúta":o+"mínútu";case"hh":return t(e)?o+(n||i?"klukkustundir":"klukkustundum"):o+"klukkustund";case"d":return n?"dagur":i?"dag":"degi";case"dd":return t(e)?n?o+"dagar":o+(i?"daga":"dögum"):n?o+"dagur":o+(i?"dag":"degi");case"M":return n?"mánuður":i?"mánuð":"mánuði";case"MM":return t(e)?n?o+"mánuðir":o+(i?"mánuði":"mánuðum"):n?o+"mánuður":o+(i?"mánuð":"mánuði");case"y":return n||i?"ár":"ári";case"yy":return t(e)?o+(n||i?"ár":"árum"):o+(n||i?"ár":"ári")}}e.defineLocale("is",{months:"janúar_febrúar_mars_apríl_maí_júní_júlí_ágúst_september_október_nóvember_desember".split("_"),monthsShort:"jan_feb_mar_apr_maí_jún_júl_ágú_sep_okt_nóv_des".split("_"),weekdays:"sunnudagur_mánudagur_þriðjudagur_miðvikudagur_fimmtudagur_föstudagur_laugardagur".split("_"),weekdaysShort:"sun_mán_þri_mið_fim_fös_lau".split("_"),weekdaysMin:"Su_Má_Þr_Mi_Fi_Fö_La".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd, D. MMMM YYYY [kl.] H:mm"},calendar:{sameDay:"[í dag kl.] LT",nextDay:"[á morgun kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[í gær kl.] LT",lastWeek:"[síðasta] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"eftir %s",past:"fyrir %s síðan",s:n,ss:n,m:n,mm:n,h:"klukkustund",hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(5914))},42:function(e,t,n){!function(e){"use strict";e.defineLocale("it-ch",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){return 0===this.day()?"[la scorsa] dddd [alle] LT":"[lo scorso] dddd [alle] LT"},sameElse:"L"},relativeTime:{future:function(e){return(/^[0-9].+$/.test(e)?"tra":"in")+" "+e},past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n(5914))},9455:function(e,t,n){!function(e){"use strict";e.defineLocale("it",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:function(){return"[Oggi a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextDay:function(){return"[Domani a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextWeek:function(){return"dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastDay:function(){return"[Ieri a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastWeek:function(){return 0===this.day()?"[La scorsa] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT":"[Lo scorso] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},sameElse:"L"},relativeTime:{future:"tra %s",past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",w:"una settimana",ww:"%d settimane",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n(5914))},3709:function(e,t,n){!function(e){"use strict";e.defineLocale("ja",{eras:[{since:"2019-05-01",offset:1,name:"令和",narrow:"㋿",abbr:"R"},{since:"1989-01-08",until:"2019-04-30",offset:1,name:"平成",narrow:"㍻",abbr:"H"},{since:"1926-12-25",until:"1989-01-07",offset:1,name:"昭和",narrow:"㍼",abbr:"S"},{since:"1912-07-30",until:"1926-12-24",offset:1,name:"大正",narrow:"㍽",abbr:"T"},{since:"1873-01-01",until:"1912-07-29",offset:6,name:"明治",narrow:"㍾",abbr:"M"},{since:"0001-01-01",until:"1873-12-31",offset:1,name:"西暦",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"紀元前",narrow:"BC",abbr:"BC"}],eraYearOrdinalRegex:/(元|\d+)年/,eraYearOrdinalParse:function(e,t){return"元"===t[1]?1:parseInt(t[1]||e,10)},months:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日".split("_"),weekdaysShort:"日_月_火_水_木_金_土".split("_"),weekdaysMin:"日_月_火_水_木_金_土".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日(ddd) HH:mm"},meridiemParse:/午前|午後/i,isPM:function(e){return"午後"===e},meridiem:function(e,t,n){return e<12?"午前":"午後"},calendar:{sameDay:"[今日] LT",nextDay:"[明日] LT",nextWeek:function(e){return e.week()!==this.week()?"[来週]dddd LT":"dddd LT"},lastDay:"[昨日] LT",lastWeek:function(e){return this.week()!==e.week()?"[先週]dddd LT":"dddd LT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}日/,ordinal:function(e,t){switch(t){case"y":return 1===e?"元年":e+"年";case"d":case"D":case"DDD":return e+"日";default:return e}},relativeTime:{future:"%s後",past:"%s前",s:"数秒",ss:"%d秒",m:"1分",mm:"%d分",h:"1時間",hh:"%d時間",d:"1日",dd:"%d日",M:"1ヶ月",MM:"%dヶ月",y:"1年",yy:"%d年"}})}(n(5914))},776:function(e,t,n){!function(e){"use strict";e.defineLocale("jv",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des".split("_"),weekdays:"Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu".split("_"),weekdaysShort:"Min_Sen_Sel_Reb_Kem_Jem_Sep".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sp".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/enjing|siyang|sonten|ndalu/,meridiemHour:function(e,t){return 12===e&&(e=0),"enjing"===t?e:"siyang"===t?e>=11?e:e+12:"sonten"===t||"ndalu"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"enjing":e<15?"siyang":e<19?"sonten":"ndalu"},calendar:{sameDay:"[Dinten puniko pukul] LT",nextDay:"[Mbenjang pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kala wingi pukul] LT",lastWeek:"dddd [kepengker pukul] LT",sameElse:"L"},relativeTime:{future:"wonten ing %s",past:"%s ingkang kepengker",s:"sawetawis detik",ss:"%d detik",m:"setunggal menit",mm:"%d menit",h:"setunggal jam",hh:"%d jam",d:"sedinten",dd:"%d dinten",M:"sewulan",MM:"%d wulan",y:"setaun",yy:"%d taun"},week:{dow:1,doy:7}})}(n(5914))},5686:function(e,t,n){!function(e){"use strict";e.defineLocale("ka",{months:"იანვარი_თებერვალი_მარტი_აპრილი_მაისი_ივნისი_ივლისი_აგვისტო_სექტემბერი_ოქტომბერი_ნოემბერი_დეკემბერი".split("_"),monthsShort:"იან_თებ_მარ_აპრ_მაი_ივნ_ივლ_აგვ_სექ_ოქტ_ნოე_დეკ".split("_"),weekdays:{standalone:"კვირა_ორშაბათი_სამშაბათი_ოთხშაბათი_ხუთშაბათი_პარასკევი_შაბათი".split("_"),format:"კვირას_ორშაბათს_სამშაბათს_ოთხშაბათს_ხუთშაბათს_პარასკევს_შაბათს".split("_"),isFormat:/(წინა|შემდეგ)/},weekdaysShort:"კვი_ორშ_სამ_ოთხ_ხუთ_პარ_შაბ".split("_"),weekdaysMin:"კვ_ორ_სა_ოთ_ხუ_პა_შა".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[დღეს] LT[-ზე]",nextDay:"[ხვალ] LT[-ზე]",lastDay:"[გუშინ] LT[-ზე]",nextWeek:"[შემდეგ] dddd LT[-ზე]",lastWeek:"[წინა] dddd LT-ზე",sameElse:"L"},relativeTime:{future:function(e){return e.replace(/(წამ|წუთ|საათ|წელ|დღ|თვ)(ი|ე)/,(function(e,t,n){return"ი"===n?t+"ში":t+n+"ში"}))},past:function(e){return/(წამი|წუთი|საათი|დღე|თვე)/.test(e)?e.replace(/(ი|ე)$/,"ის წინ"):/წელი/.test(e)?e.replace(/წელი$/,"წლის წინ"):e},s:"რამდენიმე წამი",ss:"%d წამი",m:"წუთი",mm:"%d წუთი",h:"საათი",hh:"%d საათი",d:"დღე",dd:"%d დღე",M:"თვე",MM:"%d თვე",y:"წელი",yy:"%d წელი"},dayOfMonthOrdinalParse:/0|1-ლი|მე-\d{1,2}|\d{1,2}-ე/,ordinal:function(e){return 0===e?e:1===e?e+"-ლი":e<20||e<=100&&e%20==0||e%100==0?"მე-"+e:e+"-ე"},week:{dow:1,doy:7}})}(n(5914))},6867:function(e,t,n){!function(e){"use strict";var t={0:"-ші",1:"-ші",2:"-ші",3:"-ші",4:"-ші",5:"-ші",6:"-шы",7:"-ші",8:"-ші",9:"-шы",10:"-шы",20:"-шы",30:"-шы",40:"-шы",50:"-ші",60:"-шы",70:"-ші",80:"-ші",90:"-шы",100:"-ші"};e.defineLocale("kk",{months:"қаңтар_ақпан_наурыз_сәуір_мамыр_маусым_шілде_тамыз_қыркүйек_қазан_қараша_желтоқсан".split("_"),monthsShort:"қаң_ақп_нау_сәу_мам_мау_шіл_там_қыр_қаз_қар_жел".split("_"),weekdays:"жексенбі_дүйсенбі_сейсенбі_сәрсенбі_бейсенбі_жұма_сенбі".split("_"),weekdaysShort:"жек_дүй_сей_сәр_бей_жұм_сен".split("_"),weekdaysMin:"жк_дй_сй_ср_бй_жм_сн".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Бүгін сағат] LT",nextDay:"[Ертең сағат] LT",nextWeek:"dddd [сағат] LT",lastDay:"[Кеше сағат] LT",lastWeek:"[Өткен аптаның] dddd [сағат] LT",sameElse:"L"},relativeTime:{future:"%s ішінде",past:"%s бұрын",s:"бірнеше секунд",ss:"%d секунд",m:"бір минут",mm:"%d минут",h:"бір сағат",hh:"%d сағат",d:"бір күн",dd:"%d күн",M:"бір ай",MM:"%d ай",y:"бір жыл",yy:"%d жыл"},dayOfMonthOrdinalParse:/\d{1,2}-(ші|шы)/,ordinal:function(e){return e+(t[e]||t[e%10]||t[e>=100?100:null])},week:{dow:1,doy:7}})}(n(5914))},2504:function(e,t,n){!function(e){"use strict";var t={1:"១",2:"២",3:"៣",4:"៤",5:"៥",6:"៦",7:"៧",8:"៨",9:"៩",0:"០"},n={"១":"1","២":"2","៣":"3","៤":"4","៥":"5","៦":"6","៧":"7","៨":"8","៩":"9","០":"0"};e.defineLocale("km",{months:"មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ".split("_"),monthsShort:"មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ".split("_"),weekdays:"អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍".split("_"),weekdaysShort:"អា_ច_អ_ព_ព្រ_សុ_ស".split("_"),weekdaysMin:"អា_ច_អ_ព_ព្រ_សុ_ស".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/ព្រឹក|ល្ងាច/,isPM:function(e){return"ល្ងាច"===e},meridiem:function(e,t,n){return e<12?"ព្រឹក":"ល្ងាច"},calendar:{sameDay:"[ថ្ងៃនេះ ម៉ោង] LT",nextDay:"[ស្អែក ម៉ោង] LT",nextWeek:"dddd [ម៉ោង] LT",lastDay:"[ម្សិលមិញ ម៉ោង] LT",lastWeek:"dddd [សប្តាហ៍មុន] [ម៉ោង] LT",sameElse:"L"},relativeTime:{future:"%sទៀត",past:"%sមុន",s:"ប៉ុន្មានវិនាទី",ss:"%d វិនាទី",m:"មួយនាទី",mm:"%d នាទី",h:"មួយម៉ោង",hh:"%d ម៉ោង",d:"មួយថ្ងៃ",dd:"%d ថ្ងៃ",M:"មួយខែ",MM:"%d ខែ",y:"មួយឆ្នាំ",yy:"%d ឆ្នាំ"},dayOfMonthOrdinalParse:/ទី\d{1,2}/,ordinal:"ទី%d",preparse:function(e){return e.replace(/[១២៣៤៥៦៧៨៩០]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},week:{dow:1,doy:4}})}(n(5914))},9010:function(e,t,n){!function(e){"use strict";var t={1:"೧",2:"೨",3:"೩",4:"೪",5:"೫",6:"೬",7:"೭",8:"೮",9:"೯",0:"೦"},n={"೧":"1","೨":"2","೩":"3","೪":"4","೫":"5","೬":"6","೭":"7","೮":"8","೯":"9","೦":"0"};e.defineLocale("kn",{months:"ಜನವರಿ_ಫೆಬ್ರವರಿ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂಬರ್_ಅಕ್ಟೋಬರ್_ನವೆಂಬರ್_ಡಿಸೆಂಬರ್".split("_"),monthsShort:"ಜನ_ಫೆಬ್ರ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂ_ಅಕ್ಟೋ_ನವೆಂ_ಡಿಸೆಂ".split("_"),monthsParseExact:!0,weekdays:"ಭಾನುವಾರ_ಸೋಮವಾರ_ಮಂಗಳವಾರ_ಬುಧವಾರ_ಗುರುವಾರ_ಶುಕ್ರವಾರ_ಶನಿವಾರ".split("_"),weekdaysShort:"ಭಾನು_ಸೋಮ_ಮಂಗಳ_ಬುಧ_ಗುರು_ಶುಕ್ರ_ಶನಿ".split("_"),weekdaysMin:"ಭಾ_ಸೋ_ಮಂ_ಬು_ಗು_ಶು_ಶ".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[ಇಂದು] LT",nextDay:"[ನಾಳೆ] LT",nextWeek:"dddd, LT",lastDay:"[ನಿನ್ನೆ] LT",lastWeek:"[ಕೊನೆಯ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ನಂತರ",past:"%s ಹಿಂದೆ",s:"ಕೆಲವು ಕ್ಷಣಗಳು",ss:"%d ಸೆಕೆಂಡುಗಳು",m:"ಒಂದು ನಿಮಿಷ",mm:"%d ನಿಮಿಷ",h:"ಒಂದು ಗಂಟೆ",hh:"%d ಗಂಟೆ",d:"ಒಂದು ದಿನ",dd:"%d ದಿನ",M:"ಒಂದು ತಿಂಗಳು",MM:"%d ತಿಂಗಳು",y:"ಒಂದು ವರ್ಷ",yy:"%d ವರ್ಷ"},preparse:function(e){return e.replace(/[೧೨೩೪೫೬೭೮೯೦]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/ರಾತ್ರಿ|ಬೆಳಿಗ್ಗೆ|ಮಧ್ಯಾಹ್ನ|ಸಂಜೆ/,meridiemHour:function(e,t){return 12===e&&(e=0),"ರಾತ್ರಿ"===t?e<4?e:e+12:"ಬೆಳಿಗ್ಗೆ"===t?e:"ಮಧ್ಯಾಹ್ನ"===t?e>=10?e:e+12:"ಸಂಜೆ"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"ರಾತ್ರಿ":e<10?"ಬೆಳಿಗ್ಗೆ":e<17?"ಮಧ್ಯಾಹ್ನ":e<20?"ಸಂಜೆ":"ರಾತ್ರಿ"},dayOfMonthOrdinalParse:/\d{1,2}(ನೇ)/,ordinal:function(e){return e+"ನೇ"},week:{dow:0,doy:6}})}(n(5914))},7697:function(e,t,n){!function(e){"use strict";e.defineLocale("ko",{months:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),monthsShort:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),weekdays:"일요일_월요일_화요일_수요일_목요일_금요일_토요일".split("_"),weekdaysShort:"일_월_화_수_목_금_토".split("_"),weekdaysMin:"일_월_화_수_목_금_토".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY년 MMMM D일",LLL:"YYYY년 MMMM D일 A h:mm",LLLL:"YYYY년 MMMM D일 dddd A h:mm",l:"YYYY.MM.DD.",ll:"YYYY년 MMMM D일",lll:"YYYY년 MMMM D일 A h:mm",llll:"YYYY년 MMMM D일 dddd A h:mm"},calendar:{sameDay:"오늘 LT",nextDay:"내일 LT",nextWeek:"dddd LT",lastDay:"어제 LT",lastWeek:"지난주 dddd LT",sameElse:"L"},relativeTime:{future:"%s 후",past:"%s 전",s:"몇 초",ss:"%d초",m:"1분",mm:"%d분",h:"한 시간",hh:"%d시간",d:"하루",dd:"%d일",M:"한 달",MM:"%d달",y:"일 년",yy:"%d년"},dayOfMonthOrdinalParse:/\d{1,2}(일|월|주)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"일";case"M":return e+"월";case"w":case"W":return e+"주";default:return e}},meridiemParse:/오전|오후/,isPM:function(e){return"오후"===e},meridiem:function(e,t,n){return e<12?"오전":"오후"}})}(n(5914))},1486:function(e,t,n){!function(e){"use strict";var t={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},n={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},r=["کانونی دووەم","شوبات","ئازار","نیسان","ئایار","حوزەیران","تەمموز","ئاب","ئەیلوول","تشرینی یەكەم","تشرینی دووەم","كانونی یەکەم"];e.defineLocale("ku",{months:r,monthsShort:r,weekdays:"یهكشهممه_دووشهممه_سێشهممه_چوارشهممه_پێنجشهممه_ههینی_شهممه".split("_"),weekdaysShort:"یهكشهم_دووشهم_سێشهم_چوارشهم_پێنجشهم_ههینی_شهممه".split("_"),weekdaysMin:"ی_د_س_چ_پ_ه_ش".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/ئێواره|بهیانی/,isPM:function(e){return/ئێواره/.test(e)},meridiem:function(e,t,n){return e<12?"بهیانی":"ئێواره"},calendar:{sameDay:"[ئهمرۆ كاتژمێر] LT",nextDay:"[بهیانی كاتژمێر] LT",nextWeek:"dddd [كاتژمێر] LT",lastDay:"[دوێنێ كاتژمێر] LT",lastWeek:"dddd [كاتژمێر] LT",sameElse:"L"},relativeTime:{future:"له %s",past:"%s",s:"چهند چركهیهك",ss:"چركه %d",m:"یهك خولهك",mm:"%d خولهك",h:"یهك كاتژمێر",hh:"%d كاتژمێر",d:"یهك ڕۆژ",dd:"%d ڕۆژ",M:"یهك مانگ",MM:"%d مانگ",y:"یهك ساڵ",yy:"%d ساڵ"},preparse:function(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,(function(e){return n[e]})).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"،")},week:{dow:6,doy:12}})}(n(5914))},2604:function(e,t,n){!function(e){"use strict";var t={0:"-чү",1:"-чи",2:"-чи",3:"-чү",4:"-чү",5:"-чи",6:"-чы",7:"-чи",8:"-чи",9:"-чу",10:"-чу",20:"-чы",30:"-чу",40:"-чы",50:"-чү",60:"-чы",70:"-чи",80:"-чи",90:"-чу",100:"-чү"};e.defineLocale("ky",{months:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_"),monthsShort:"янв_фев_март_апр_май_июнь_июль_авг_сен_окт_ноя_дек".split("_"),weekdays:"Жекшемби_Дүйшөмбү_Шейшемби_Шаршемби_Бейшемби_Жума_Ишемби".split("_"),weekdaysShort:"Жек_Дүй_Шей_Шар_Бей_Жум_Ише".split("_"),weekdaysMin:"Жк_Дй_Шй_Шр_Бй_Жм_Иш".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Бүгүн саат] LT",nextDay:"[Эртең саат] LT",nextWeek:"dddd [саат] LT",lastDay:"[Кечээ саат] LT",lastWeek:"[Өткөн аптанын] dddd [күнү] [саат] LT",sameElse:"L"},relativeTime:{future:"%s ичинде",past:"%s мурун",s:"бирнече секунд",ss:"%d секунд",m:"бир мүнөт",mm:"%d мүнөт",h:"бир саат",hh:"%d саат",d:"бир күн",dd:"%d күн",M:"бир ай",MM:"%d ай",y:"бир жыл",yy:"%d жыл"},dayOfMonthOrdinalParse:/\d{1,2}-(чи|чы|чү|чу)/,ordinal:function(e){return e+(t[e]||t[e%10]||t[e>=100?100:null])},week:{dow:1,doy:7}})}(n(5914))},9707:function(e,t,n){!function(e){"use strict";function t(e,t,n,r){var i={m:["eng Minutt","enger Minutt"],h:["eng Stonn","enger Stonn"],d:["een Dag","engem Dag"],M:["ee Mount","engem Mount"],y:["ee Joer","engem Joer"]};return t?i[n][0]:i[n][1]}function n(e){if(e=parseInt(e,10),isNaN(e))return!1;if(e<0)return!0;if(e<10)return 4<=e&&e<=7;if(e<100){var t=e%10;return n(0===t?e/10:t)}if(e<1e4){for(;e>=10;)e/=10;return n(e)}return n(e/=1e3)}e.defineLocale("lb",{months:"Januar_Februar_Mäerz_Abrëll_Mee_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonndeg_Méindeg_Dënschdeg_Mëttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),weekdaysShort:"So._Mé._Dë._Më._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mé_Dë_Më_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm [Auer]",LTS:"H:mm:ss [Auer]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm [Auer]",LLLL:"dddd, D. MMMM YYYY H:mm [Auer]"},calendar:{sameDay:"[Haut um] LT",sameElse:"L",nextDay:"[Muer um] LT",nextWeek:"dddd [um] LT",lastDay:"[Gëschter um] LT",lastWeek:function(){switch(this.day()){case 2:case 4:return"[Leschten] dddd [um] LT";default:return"[Leschte] dddd [um] LT"}}},relativeTime:{future:function(e){return n(e.substr(0,e.indexOf(" ")))?"a "+e:"an "+e},past:function(e){return n(e.substr(0,e.indexOf(" ")))?"viru "+e:"virun "+e},s:"e puer Sekonnen",ss:"%d Sekonnen",m:t,mm:"%d Minutten",h:t,hh:"%d Stonnen",d:t,dd:"%d Deeg",M:t,MM:"%d Méint",y:t,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(5914))},1931:function(e,t,n){!function(e){"use strict";e.defineLocale("lo",{months:"ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ".split("_"),monthsShort:"ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ".split("_"),weekdays:"ອາທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ".split("_"),weekdaysShort:"ທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ".split("_"),weekdaysMin:"ທ_ຈ_ອຄ_ພ_ພຫ_ສກ_ສ".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"ວັນdddd D MMMM YYYY HH:mm"},meridiemParse:/ຕອນເຊົ້າ|ຕອນແລງ/,isPM:function(e){return"ຕອນແລງ"===e},meridiem:function(e,t,n){return e<12?"ຕອນເຊົ້າ":"ຕອນແລງ"},calendar:{sameDay:"[ມື້ນີ້ເວລາ] LT",nextDay:"[ມື້ອື່ນເວລາ] LT",nextWeek:"[ວັນ]dddd[ໜ້າເວລາ] LT",lastDay:"[ມື້ວານນີ້ເວລາ] LT",lastWeek:"[ວັນ]dddd[ແລ້ວນີ້ເວລາ] LT",sameElse:"L"},relativeTime:{future:"ອີກ %s",past:"%sຜ່ານມາ",s:"ບໍ່ເທົ່າໃດວິນາທີ",ss:"%d ວິນາທີ",m:"1 ນາທີ",mm:"%d ນາທີ",h:"1 ຊົ່ວໂມງ",hh:"%d ຊົ່ວໂມງ",d:"1 ມື້",dd:"%d ມື້",M:"1 ເດືອນ",MM:"%d ເດືອນ",y:"1 ປີ",yy:"%d ປີ"},dayOfMonthOrdinalParse:/(ທີ່)\d{1,2}/,ordinal:function(e){return"ທີ່"+e}})}(n(5914))},5045:function(e,t,n){!function(e){"use strict";var t={ss:"sekundė_sekundžių_sekundes",m:"minutė_minutės_minutę",mm:"minutės_minučių_minutes",h:"valanda_valandos_valandą",hh:"valandos_valandų_valandas",d:"diena_dienos_dieną",dd:"dienos_dienų_dienas",M:"mėnuo_mėnesio_mėnesį",MM:"mėnesiai_mėnesių_mėnesius",y:"metai_metų_metus",yy:"metai_metų_metus"};function n(e,t,n,r){return t?i(n)[0]:r?i(n)[1]:i(n)[2]}function r(e){return e%10==0||e>10&&e<20}function i(e){return t[e].split("_")}function o(e,t,o,a){var s=e+" ";return 1===e?s+n(0,t,o[0],a):t?s+(r(e)?i(o)[1]:i(o)[0]):a?s+i(o)[1]:s+(r(e)?i(o)[1]:i(o)[2])}e.defineLocale("lt",{months:{format:"sausio_vasario_kovo_balandžio_gegužės_birželio_liepos_rugpjūčio_rugsėjo_spalio_lapkričio_gruodžio".split("_"),standalone:"sausis_vasaris_kovas_balandis_gegužė_birželis_liepa_rugpjūtis_rugsėjis_spalis_lapkritis_gruodis".split("_"),isFormat:/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/},monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),weekdays:{format:"sekmadienį_pirmadienį_antradienį_trečiadienį_ketvirtadienį_penktadienį_šeštadienį".split("_"),standalone:"sekmadienis_pirmadienis_antradienis_trečiadienis_ketvirtadienis_penktadienis_šeštadienis".split("_"),isFormat:/dddd HH:mm/},weekdaysShort:"Sek_Pir_Ant_Tre_Ket_Pen_Šeš".split("_"),weekdaysMin:"S_P_A_T_K_Pn_Š".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},calendar:{sameDay:"[Šiandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[Vakar] LT",lastWeek:"[Praėjusį] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prieš %s",s:function(e,t,n,r){return t?"kelios sekundės":r?"kelių sekundžių":"kelias sekundes"},ss:o,m:n,mm:o,h:n,hh:o,d:n,dd:o,M:n,MM:o,y:n,yy:o},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(e){return e+"-oji"},week:{dow:1,doy:4}})}(n(5914))},3827:function(e,t,n){!function(e){"use strict";var t={ss:"sekundes_sekundēm_sekunde_sekundes".split("_"),m:"minūtes_minūtēm_minūte_minūtes".split("_"),mm:"minūtes_minūtēm_minūte_minūtes".split("_"),h:"stundas_stundām_stunda_stundas".split("_"),hh:"stundas_stundām_stunda_stundas".split("_"),d:"dienas_dienām_diena_dienas".split("_"),dd:"dienas_dienām_diena_dienas".split("_"),M:"mēneša_mēnešiem_mēnesis_mēneši".split("_"),MM:"mēneša_mēnešiem_mēnesis_mēneši".split("_"),y:"gada_gadiem_gads_gadi".split("_"),yy:"gada_gadiem_gads_gadi".split("_")};function n(e,t,n){return n?t%10==1&&t%100!=11?e[2]:e[3]:t%10==1&&t%100!=11?e[0]:e[1]}function r(e,r,i){return e+" "+n(t[i],e,r)}function i(e,r,i){return n(t[i],e,r)}e.defineLocale("lv",{months:"janvāris_februāris_marts_aprīlis_maijs_jūnijs_jūlijs_augusts_septembris_oktobris_novembris_decembris".split("_"),monthsShort:"jan_feb_mar_apr_mai_jūn_jūl_aug_sep_okt_nov_dec".split("_"),weekdays:"svētdiena_pirmdiena_otrdiena_trešdiena_ceturtdiena_piektdiena_sestdiena".split("_"),weekdaysShort:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysMin:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY.",LL:"YYYY. [gada] D. MMMM",LLL:"YYYY. [gada] D. MMMM, HH:mm",LLLL:"YYYY. [gada] D. MMMM, dddd, HH:mm"},calendar:{sameDay:"[Šodien pulksten] LT",nextDay:"[Rīt pulksten] LT",nextWeek:"dddd [pulksten] LT",lastDay:"[Vakar pulksten] LT",lastWeek:"[Pagājušā] dddd [pulksten] LT",sameElse:"L"},relativeTime:{future:"pēc %s",past:"pirms %s",s:function(e,t){return t?"dažas sekundes":"dažām sekundēm"},ss:r,m:i,mm:r,h:i,hh:r,d:i,dd:r,M:i,MM:r,y:i,yy:r},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(5914))},1827:function(e,t,n){!function(e){"use strict";var t={words:{ss:["sekund","sekunda","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mjesec","mjeseca","mjeseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(e,t){return 1===e?t[0]:e>=2&&e<=4?t[1]:t[2]},translate:function(e,n,r){var i=t.words[r];return 1===r.length?n?i[0]:i[1]:e+" "+t.correctGrammaticalCase(e,i)}};e.defineLocale("me",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sjutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juče u] LT",lastWeek:function(){return["[prošle] [nedjelje] [u] LT","[prošlog] [ponedjeljka] [u] LT","[prošlog] [utorka] [u] LT","[prošle] [srijede] [u] LT","[prošlog] [četvrtka] [u] LT","[prošlog] [petka] [u] LT","[prošle] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"nekoliko sekundi",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:"dan",dd:t.translate,M:"mjesec",MM:t.translate,y:"godinu",yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(5914))},3165:function(e,t,n){!function(e){"use strict";e.defineLocale("mi",{months:"Kohi-tāte_Hui-tanguru_Poutū-te-rangi_Paenga-whāwhā_Haratua_Pipiri_Hōngoingoi_Here-turi-kōkā_Mahuru_Whiringa-ā-nuku_Whiringa-ā-rangi_Hakihea".split("_"),monthsShort:"Kohi_Hui_Pou_Pae_Hara_Pipi_Hōngoi_Here_Mahu_Whi-nu_Whi-ra_Haki".split("_"),monthsRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i,weekdays:"Rātapu_Mane_Tūrei_Wenerei_Tāite_Paraire_Hātarei".split("_"),weekdaysShort:"Ta_Ma_Tū_We_Tāi_Pa_Hā".split("_"),weekdaysMin:"Ta_Ma_Tū_We_Tāi_Pa_Hā".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [i] HH:mm",LLLL:"dddd, D MMMM YYYY [i] HH:mm"},calendar:{sameDay:"[i teie mahana, i] LT",nextDay:"[apopo i] LT",nextWeek:"dddd [i] LT",lastDay:"[inanahi i] LT",lastWeek:"dddd [whakamutunga i] LT",sameElse:"L"},relativeTime:{future:"i roto i %s",past:"%s i mua",s:"te hēkona ruarua",ss:"%d hēkona",m:"he meneti",mm:"%d meneti",h:"te haora",hh:"%d haora",d:"he ra",dd:"%d ra",M:"he marama",MM:"%d marama",y:"he tau",yy:"%d tau"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n(5914))},4061:function(e,t,n){!function(e){"use strict";e.defineLocale("mk",{months:"јануари_февруари_март_април_мај_јуни_јули_август_септември_октомври_ноември_декември".split("_"),monthsShort:"јан_фев_мар_апр_мај_јун_јул_авг_сеп_окт_ное_дек".split("_"),weekdays:"недела_понеделник_вторник_среда_четврток_петок_сабота".split("_"),weekdaysShort:"нед_пон_вто_сре_чет_пет_саб".split("_"),weekdaysMin:"нe_пo_вт_ср_че_пе_сa".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[Денес во] LT",nextDay:"[Утре во] LT",nextWeek:"[Во] dddd [во] LT",lastDay:"[Вчера во] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[Изминатата] dddd [во] LT";case 1:case 2:case 4:case 5:return"[Изминатиот] dddd [во] LT"}},sameElse:"L"},relativeTime:{future:"за %s",past:"пред %s",s:"неколку секунди",ss:"%d секунди",m:"една минута",mm:"%d минути",h:"еден час",hh:"%d часа",d:"еден ден",dd:"%d дена",M:"еден месец",MM:"%d месеци",y:"една година",yy:"%d години"},dayOfMonthOrdinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(e){var t=e%10,n=e%100;return 0===e?e+"-ев":0===n?e+"-ен":n>10&&n<20?e+"-ти":1===t?e+"-ви":2===t?e+"-ри":7===t||8===t?e+"-ми":e+"-ти"},week:{dow:1,doy:7}})}(n(5914))},2488:function(e,t,n){!function(e){"use strict";e.defineLocale("ml",{months:"ജനുവരി_ഫെബ്രുവരി_മാർച്ച്_ഏപ്രിൽ_മേയ്_ജൂൺ_ജൂലൈ_ഓഗസ്റ്റ്_സെപ്റ്റംബർ_ഒക്ടോബർ_നവംബർ_ഡിസംബർ".split("_"),monthsShort:"ജനു._ഫെബ്രു._മാർ._ഏപ്രി._മേയ്_ജൂൺ_ജൂലൈ._ഓഗ._സെപ്റ്റ._ഒക്ടോ._നവം._ഡിസം.".split("_"),monthsParseExact:!0,weekdays:"ഞായറാഴ്ച_തിങ്കളാഴ്ച_ചൊവ്വാഴ്ച_ബുധനാഴ്ച_വ്യാഴാഴ്ച_വെള്ളിയാഴ്ച_ശനിയാഴ്ച".split("_"),weekdaysShort:"ഞായർ_തിങ്കൾ_ചൊവ്വ_ബുധൻ_വ്യാഴം_വെള്ളി_ശനി".split("_"),weekdaysMin:"ഞാ_തി_ചൊ_ബു_വ്യാ_വെ_ശ".split("_"),longDateFormat:{LT:"A h:mm -നു",LTS:"A h:mm:ss -നു",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm -നു",LLLL:"dddd, D MMMM YYYY, A h:mm -നു"},calendar:{sameDay:"[ഇന്ന്] LT",nextDay:"[നാളെ] LT",nextWeek:"dddd, LT",lastDay:"[ഇന്നലെ] LT",lastWeek:"[കഴിഞ്ഞ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s കഴിഞ്ഞ്",past:"%s മുൻപ്",s:"അൽപ നിമിഷങ്ങൾ",ss:"%d സെക്കൻഡ്",m:"ഒരു മിനിറ്റ്",mm:"%d മിനിറ്റ്",h:"ഒരു മണിക്കൂർ",hh:"%d മണിക്കൂർ",d:"ഒരു ദിവസം",dd:"%d ദിവസം",M:"ഒരു മാസം",MM:"%d മാസം",y:"ഒരു വർഷം",yy:"%d വർഷം"},meridiemParse:/രാത്രി|രാവിലെ|ഉച്ച കഴിഞ്ഞ്|വൈകുന്നേരം|രാത്രി/i,meridiemHour:function(e,t){return 12===e&&(e=0),"രാത്രി"===t&&e>=4||"ഉച്ച കഴിഞ്ഞ്"===t||"വൈകുന്നേരം"===t?e+12:e},meridiem:function(e,t,n){return e<4?"രാത്രി":e<12?"രാവിലെ":e<17?"ഉച്ച കഴിഞ്ഞ്":e<20?"വൈകുന്നേരം":"രാത്രി"}})}(n(5914))},9326:function(e,t,n){!function(e){"use strict";function t(e,t,n,r){switch(n){case"s":return t?"хэдхэн секунд":"хэдхэн секундын";case"ss":return e+(t?" секунд":" секундын");case"m":case"mm":return e+(t?" минут":" минутын");case"h":case"hh":return e+(t?" цаг":" цагийн");case"d":case"dd":return e+(t?" өдөр":" өдрийн");case"M":case"MM":return e+(t?" сар":" сарын");case"y":case"yy":return e+(t?" жил":" жилийн");default:return e}}e.defineLocale("mn",{months:"Нэгдүгээр сар_Хоёрдугаар сар_Гуравдугаар сар_Дөрөвдүгээр сар_Тавдугаар сар_Зургадугаар сар_Долдугаар сар_Наймдугаар сар_Есдүгээр сар_Аравдугаар сар_Арван нэгдүгээр сар_Арван хоёрдугаар сар".split("_"),monthsShort:"1 сар_2 сар_3 сар_4 сар_5 сар_6 сар_7 сар_8 сар_9 сар_10 сар_11 сар_12 сар".split("_"),monthsParseExact:!0,weekdays:"Ням_Даваа_Мягмар_Лхагва_Пүрэв_Баасан_Бямба".split("_"),weekdaysShort:"Ням_Дав_Мяг_Лха_Пүр_Баа_Бям".split("_"),weekdaysMin:"Ня_Да_Мя_Лх_Пү_Ба_Бя".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY оны MMMMын D",LLL:"YYYY оны MMMMын D HH:mm",LLLL:"dddd, YYYY оны MMMMын D HH:mm"},meridiemParse:/ҮӨ|ҮХ/i,isPM:function(e){return"ҮХ"===e},meridiem:function(e,t,n){return e<12?"ҮӨ":"ҮХ"},calendar:{sameDay:"[Өнөөдөр] LT",nextDay:"[Маргааш] LT",nextWeek:"[Ирэх] dddd LT",lastDay:"[Өчигдөр] LT",lastWeek:"[Өнгөрсөн] dddd LT",sameElse:"L"},relativeTime:{future:"%s дараа",past:"%s өмнө",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2} өдөр/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+" өдөр";default:return e}}})}(n(5914))},1382:function(e,t,n){!function(e){"use strict";var t={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},n={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"};function r(e,t,n,r){var i="";if(t)switch(n){case"s":i="काही सेकंद";break;case"ss":i="%d सेकंद";break;case"m":i="एक मिनिट";break;case"mm":i="%d मिनिटे";break;case"h":i="एक तास";break;case"hh":i="%d तास";break;case"d":i="एक दिवस";break;case"dd":i="%d दिवस";break;case"M":i="एक महिना";break;case"MM":i="%d महिने";break;case"y":i="एक वर्ष";break;case"yy":i="%d वर्षे"}else switch(n){case"s":i="काही सेकंदां";break;case"ss":i="%d सेकंदां";break;case"m":i="एका मिनिटा";break;case"mm":i="%d मिनिटां";break;case"h":i="एका तासा";break;case"hh":i="%d तासां";break;case"d":i="एका दिवसा";break;case"dd":i="%d दिवसां";break;case"M":i="एका महिन्या";break;case"MM":i="%d महिन्यां";break;case"y":i="एका वर्षा";break;case"yy":i="%d वर्षां"}return i.replace(/%d/i,e)}e.defineLocale("mr",{months:"जानेवारी_फेब्रुवारी_मार्च_एप्रिल_मे_जून_जुलै_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर".split("_"),monthsShort:"जाने._फेब्रु._मार्च._एप्रि._मे._जून._जुलै._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.".split("_"),monthsParseExact:!0,weekdays:"रविवार_सोमवार_मंगळवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),weekdaysShort:"रवि_सोम_मंगळ_बुध_गुरू_शुक्र_शनि".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),longDateFormat:{LT:"A h:mm वाजता",LTS:"A h:mm:ss वाजता",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm वाजता",LLLL:"dddd, D MMMM YYYY, A h:mm वाजता"},calendar:{sameDay:"[आज] LT",nextDay:"[उद्या] LT",nextWeek:"dddd, LT",lastDay:"[काल] LT",lastWeek:"[मागील] dddd, LT",sameElse:"L"},relativeTime:{future:"%sमध्ये",past:"%sपूर्वी",s:r,ss:r,m:r,mm:r,h:r,hh:r,d:r,dd:r,M:r,MM:r,y:r,yy:r},preparse:function(e){return e.replace(/[१२३४५६७८९०]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/पहाटे|सकाळी|दुपारी|सायंकाळी|रात्री/,meridiemHour:function(e,t){return 12===e&&(e=0),"पहाटे"===t||"सकाळी"===t?e:"दुपारी"===t||"सायंकाळी"===t||"रात्री"===t?e>=12?e:e+12:void 0},meridiem:function(e,t,n){return e>=0&&e<6?"पहाटे":e<12?"सकाळी":e<17?"दुपारी":e<20?"सायंकाळी":"रात्री"},week:{dow:0,doy:6}})}(n(5914))},1729:function(e,t,n){!function(e){"use strict";e.defineLocale("ms-my",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"tengahari"===t?e>=11?e:e+12:"petang"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"pagi":e<15?"tengahari":e<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(n(5914))},2348:function(e,t,n){!function(e){"use strict";e.defineLocale("ms",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"tengahari"===t?e>=11?e:e+12:"petang"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"pagi":e<15?"tengahari":e<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(n(5914))},5428:function(e,t,n){!function(e){"use strict";e.defineLocale("mt",{months:"Jannar_Frar_Marzu_April_Mejju_Ġunju_Lulju_Awwissu_Settembru_Ottubru_Novembru_Diċembru".split("_"),monthsShort:"Jan_Fra_Mar_Apr_Mej_Ġun_Lul_Aww_Set_Ott_Nov_Diċ".split("_"),weekdays:"Il-Ħadd_It-Tnejn_It-Tlieta_L-Erbgħa_Il-Ħamis_Il-Ġimgħa_Is-Sibt".split("_"),weekdaysShort:"Ħad_Tne_Tli_Erb_Ħam_Ġim_Sib".split("_"),weekdaysMin:"Ħa_Tn_Tl_Er_Ħa_Ġi_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Illum fil-]LT",nextDay:"[Għada fil-]LT",nextWeek:"dddd [fil-]LT",lastDay:"[Il-bieraħ fil-]LT",lastWeek:"dddd [li għadda] [fil-]LT",sameElse:"L"},relativeTime:{future:"f’ %s",past:"%s ilu",s:"ftit sekondi",ss:"%d sekondi",m:"minuta",mm:"%d minuti",h:"siegħa",hh:"%d siegħat",d:"ġurnata",dd:"%d ġranet",M:"xahar",MM:"%d xhur",y:"sena",yy:"%d sni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n(5914))},211:function(e,t,n){!function(e){"use strict";var t={1:"၁",2:"၂",3:"၃",4:"၄",5:"၅",6:"၆",7:"၇",8:"၈",9:"၉",0:"၀"},n={"၁":"1","၂":"2","၃":"3","၄":"4","၅":"5","၆":"6","၇":"7","၈":"8","၉":"9","၀":"0"};e.defineLocale("my",{months:"ဇန်နဝါရီ_ဖေဖော်ဝါရီ_မတ်_ဧပြီ_မေ_ဇွန်_ဇူလိုင်_သြဂုတ်_စက်တင်ဘာ_အောက်တိုဘာ_နိုဝင်ဘာ_ဒီဇင်ဘာ".split("_"),monthsShort:"ဇန်_ဖေ_မတ်_ပြီ_မေ_ဇွန်_လိုင်_သြ_စက်_အောက်_နို_ဒီ".split("_"),weekdays:"တနင်္ဂနွေ_တနင်္လာ_အင်္ဂါ_ဗုဒ္ဓဟူး_ကြာသပတေး_သောကြာ_စနေ".split("_"),weekdaysShort:"နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ".split("_"),weekdaysMin:"နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[ယနေ.] LT [မှာ]",nextDay:"[မနက်ဖြန်] LT [မှာ]",nextWeek:"dddd LT [မှာ]",lastDay:"[မနေ.က] LT [မှာ]",lastWeek:"[ပြီးခဲ့သော] dddd LT [မှာ]",sameElse:"L"},relativeTime:{future:"လာမည့် %s မှာ",past:"လွန်ခဲ့သော %s က",s:"စက္ကန်.အနည်းငယ်",ss:"%d စက္ကန့်",m:"တစ်မိနစ်",mm:"%d မိနစ်",h:"တစ်နာရီ",hh:"%d နာရီ",d:"တစ်ရက်",dd:"%d ရက်",M:"တစ်လ",MM:"%d လ",y:"တစ်နှစ်",yy:"%d နှစ်"},preparse:function(e){return e.replace(/[၁၂၃၄၅၆၇၈၉၀]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},week:{dow:1,doy:4}})}(n(5914))},148:function(e,t,n){!function(e){"use strict";e.defineLocale("nb",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"sø._ma._ti._on._to._fr._lø.".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] HH:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[i går kl.] LT",lastWeek:"[forrige] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"noen sekunder",ss:"%d sekunder",m:"ett minutt",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dager",w:"en uke",ww:"%d uker",M:"en måned",MM:"%d måneder",y:"ett år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(5914))},7722:function(e,t,n){!function(e){"use strict";var t={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},n={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"};e.defineLocale("ne",{months:"जनवरी_फेब्रुवरी_मार्च_अप्रिल_मई_जुन_जुलाई_अगष्ट_सेप्टेम्बर_अक्टोबर_नोभेम्बर_डिसेम्बर".split("_"),monthsShort:"जन._फेब्रु._मार्च_अप्रि._मई_जुन_जुलाई._अग._सेप्ट._अक्टो._नोभे._डिसे.".split("_"),monthsParseExact:!0,weekdays:"आइतबार_सोमबार_मङ्गलबार_बुधबार_बिहिबार_शुक्रबार_शनिबार".split("_"),weekdaysShort:"आइत._सोम._मङ्गल._बुध._बिहि._शुक्र._शनि.".split("_"),weekdaysMin:"आ._सो._मं._बु._बि._शु._श.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"Aको h:mm बजे",LTS:"Aको h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, Aको h:mm बजे",LLLL:"dddd, D MMMM YYYY, Aको h:mm बजे"},preparse:function(e){return e.replace(/[१२३४५६७८९०]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/राति|बिहान|दिउँसो|साँझ/,meridiemHour:function(e,t){return 12===e&&(e=0),"राति"===t?e<4?e:e+12:"बिहान"===t?e:"दिउँसो"===t?e>=10?e:e+12:"साँझ"===t?e+12:void 0},meridiem:function(e,t,n){return e<3?"राति":e<12?"बिहान":e<16?"दिउँसो":e<20?"साँझ":"राति"},calendar:{sameDay:"[आज] LT",nextDay:"[भोलि] LT",nextWeek:"[आउँदो] dddd[,] LT",lastDay:"[हिजो] LT",lastWeek:"[गएको] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%sमा",past:"%s अगाडि",s:"केही क्षण",ss:"%d सेकेण्ड",m:"एक मिनेट",mm:"%d मिनेट",h:"एक घण्टा",hh:"%d घण्टा",d:"एक दिन",dd:"%d दिन",M:"एक महिना",MM:"%d महिना",y:"एक बर्ष",yy:"%d बर्ष"},week:{dow:0,doy:6}})}(n(5914))},4543:function(e,t,n){!function(e){"use strict";var t="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),n="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),r=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],i=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;e.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(e,r){return e?/-MMM-/.test(r)?n[e.month()]:t[e.month()]:t},monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(n(5914))},9911:function(e,t,n){!function(e){"use strict";var t="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),n="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),r=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],i=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;e.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(e,r){return e?/-MMM-/.test(r)?n[e.month()]:t[e.month()]:t},monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",w:"één week",ww:"%d weken",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(n(5914))},7509:function(e,t,n){!function(e){"use strict";e.defineLocale("nn",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"sundag_måndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"su._må._ty._on._to._fr._lau.".split("_"),weekdaysMin:"su_må_ty_on_to_fr_la".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[I dag klokka] LT",nextDay:"[I morgon klokka] LT",nextWeek:"dddd [klokka] LT",lastDay:"[I går klokka] LT",lastWeek:"[Føregåande] dddd [klokka] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s sidan",s:"nokre sekund",ss:"%d sekund",m:"eit minutt",mm:"%d minutt",h:"ein time",hh:"%d timar",d:"ein dag",dd:"%d dagar",w:"ei veke",ww:"%d veker",M:"ein månad",MM:"%d månader",y:"eit år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(5914))},262:function(e,t,n){!function(e){"use strict";e.defineLocale("oc-lnc",{months:{standalone:"genièr_febrièr_març_abril_mai_junh_julhet_agost_setembre_octòbre_novembre_decembre".split("_"),format:"de genièr_de febrièr_de març_d'abril_de mai_de junh_de julhet_d'agost_de setembre_d'octòbre_de novembre_de decembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._març_abr._mai_junh_julh._ago._set._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"dimenge_diluns_dimars_dimècres_dijòus_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dm._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dm_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:"[uèi a] LT",nextDay:"[deman a] LT",nextWeek:"dddd [a] LT",lastDay:"[ièr a] LT",lastWeek:"dddd [passat a] LT",sameElse:"L"},relativeTime:{future:"d'aquí %s",past:"fa %s",s:"unas segondas",ss:"%d segondas",m:"una minuta",mm:"%d minutas",h:"una ora",hh:"%d oras",d:"un jorn",dd:"%d jorns",M:"un mes",MM:"%d meses",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|è|a)/,ordinal:function(e,t){var n=1===e?"r":2===e?"n":3===e?"r":4===e?"t":"è";return"w"!==t&&"W"!==t||(n="a"),e+n},week:{dow:1,doy:4}})}(n(5914))},9866:function(e,t,n){!function(e){"use strict";var t={1:"੧",2:"੨",3:"੩",4:"੪",5:"੫",6:"੬",7:"੭",8:"੮",9:"੯",0:"੦"},n={"੧":"1","੨":"2","੩":"3","੪":"4","੫":"5","੬":"6","੭":"7","੮":"8","੯":"9","੦":"0"};e.defineLocale("pa-in",{months:"ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),monthsShort:"ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),weekdays:"ਐਤਵਾਰ_ਸੋਮਵਾਰ_ਮੰਗਲਵਾਰ_ਬੁਧਵਾਰ_ਵੀਰਵਾਰ_ਸ਼ੁੱਕਰਵਾਰ_ਸ਼ਨੀਚਰਵਾਰ".split("_"),weekdaysShort:"ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ".split("_"),weekdaysMin:"ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ".split("_"),longDateFormat:{LT:"A h:mm ਵਜੇ",LTS:"A h:mm:ss ਵਜੇ",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm ਵਜੇ",LLLL:"dddd, D MMMM YYYY, A h:mm ਵਜੇ"},calendar:{sameDay:"[ਅਜ] LT",nextDay:"[ਕਲ] LT",nextWeek:"[ਅਗਲਾ] dddd, LT",lastDay:"[ਕਲ] LT",lastWeek:"[ਪਿਛਲੇ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ਵਿੱਚ",past:"%s ਪਿਛਲੇ",s:"ਕੁਝ ਸਕਿੰਟ",ss:"%d ਸਕਿੰਟ",m:"ਇਕ ਮਿੰਟ",mm:"%d ਮਿੰਟ",h:"ਇੱਕ ਘੰਟਾ",hh:"%d ਘੰਟੇ",d:"ਇੱਕ ਦਿਨ",dd:"%d ਦਿਨ",M:"ਇੱਕ ਮਹੀਨਾ",MM:"%d ਮਹੀਨੇ",y:"ਇੱਕ ਸਾਲ",yy:"%d ਸਾਲ"},preparse:function(e){return e.replace(/[੧੨੩੪੫੬੭੮੯੦]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/ਰਾਤ|ਸਵੇਰ|ਦੁਪਹਿਰ|ਸ਼ਾਮ/,meridiemHour:function(e,t){return 12===e&&(e=0),"ਰਾਤ"===t?e<4?e:e+12:"ਸਵੇਰ"===t?e:"ਦੁਪਹਿਰ"===t?e>=10?e:e+12:"ਸ਼ਾਮ"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"ਰਾਤ":e<10?"ਸਵੇਰ":e<17?"ਦੁਪਹਿਰ":e<20?"ਸ਼ਾਮ":"ਰਾਤ"},week:{dow:0,doy:6}})}(n(5914))},2698:function(e,t,n){!function(e){"use strict";var t="styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień".split("_"),n="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia".split("_"),r=[/^sty/i,/^lut/i,/^mar/i,/^kwi/i,/^maj/i,/^cze/i,/^lip/i,/^sie/i,/^wrz/i,/^paź/i,/^lis/i,/^gru/i];function i(e){return e%10<5&&e%10>1&&~~(e/10)%10!=1}function o(e,t,n){var r=e+" ";switch(n){case"ss":return r+(i(e)?"sekundy":"sekund");case"m":return t?"minuta":"minutę";case"mm":return r+(i(e)?"minuty":"minut");case"h":return t?"godzina":"godzinę";case"hh":return r+(i(e)?"godziny":"godzin");case"ww":return r+(i(e)?"tygodnie":"tygodni");case"MM":return r+(i(e)?"miesiące":"miesięcy");case"yy":return r+(i(e)?"lata":"lat")}}e.defineLocale("pl",{months:function(e,r){return e?/D MMMM/.test(r)?n[e.month()]:t[e.month()]:t},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru".split("_"),monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"niedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_śr_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_Śr_Cz_Pt_So".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Dziś o] LT",nextDay:"[Jutro o] LT",nextWeek:function(){switch(this.day()){case 0:return"[W niedzielę o] LT";case 2:return"[We wtorek o] LT";case 3:return"[W środę o] LT";case 6:return"[W sobotę o] LT";default:return"[W] dddd [o] LT"}},lastDay:"[Wczoraj o] LT",lastWeek:function(){switch(this.day()){case 0:return"[W zeszłą niedzielę o] LT";case 3:return"[W zeszłą środę o] LT";case 6:return"[W zeszłą sobotę o] LT";default:return"[W zeszły] dddd [o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",ss:o,m:o,mm:o,h:o,hh:o,d:"1 dzień",dd:"%d dni",w:"tydzień",ww:o,M:"miesiąc",MM:o,y:"rok",yy:o},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(5914))},6999:function(e,t,n){!function(e){"use strict";e.defineLocale("pt-br",{months:"janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"domingo_segunda-feira_terça-feira_quarta-feira_quinta-feira_sexta-feira_sábado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_sáb".split("_"),weekdaysMin:"do_2ª_3ª_4ª_5ª_6ª_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [às] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [às] HH:mm"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"há %s",s:"poucos segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",invalidDate:"Data inválida"})}(n(5914))},4913:function(e,t,n){!function(e){"use strict";e.defineLocale("pt",{months:"janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_Sáb".split("_"),weekdaysMin:"Do_2ª_3ª_4ª_5ª_6ª_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY HH:mm"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"há %s",s:"segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",w:"uma semana",ww:"%d semanas",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n(5914))},4474:function(e,t,n){!function(e){"use strict";function t(e,t,n){var r=" ";return(e%100>=20||e>=100&&e%100==0)&&(r=" de "),e+r+{ss:"secunde",mm:"minute",hh:"ore",dd:"zile",ww:"săptămâni",MM:"luni",yy:"ani"}[n]}e.defineLocale("ro",{months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._feb._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"duminică_luni_marți_miercuri_joi_vineri_sâmbătă".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_Sâm".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_Sâ".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[azi la] LT",nextDay:"[mâine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s în urmă",s:"câteva secunde",ss:t,m:"un minut",mm:t,h:"o oră",hh:t,d:"o zi",dd:t,w:"o săptămână",ww:t,M:"o lună",MM:t,y:"un an",yy:t},week:{dow:1,doy:7}})}(n(5914))},5936:function(e,t,n){!function(e){"use strict";function t(e,t,n){return"m"===n?t?"минута":"минуту":e+" "+(r=+e,i={ss:t?"секунда_секунды_секунд":"секунду_секунды_секунд",mm:t?"минута_минуты_минут":"минуту_минуты_минут",hh:"час_часа_часов",dd:"день_дня_дней",ww:"неделя_недели_недель",MM:"месяц_месяца_месяцев",yy:"год_года_лет"}[n].split("_"),r%10==1&&r%100!=11?i[0]:r%10>=2&&r%10<=4&&(r%100<10||r%100>=20)?i[1]:i[2]);var r,i}var n=[/^янв/i,/^фев/i,/^мар/i,/^апр/i,/^ма[йя]/i,/^июн/i,/^июл/i,/^авг/i,/^сен/i,/^окт/i,/^ноя/i,/^дек/i];e.defineLocale("ru",{months:{format:"января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря".split("_"),standalone:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_")},monthsShort:{format:"янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.".split("_"),standalone:"янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.".split("_")},weekdays:{standalone:"воскресенье_понедельник_вторник_среда_четверг_пятница_суббота".split("_"),format:"воскресенье_понедельник_вторник_среду_четверг_пятницу_субботу".split("_"),isFormat:/\[ ?[Вв] ?(?:прошлую|следующую|эту)? ?] ?dddd/},weekdaysShort:"вс_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"вс_пн_вт_ср_чт_пт_сб".split("_"),monthsParse:n,longMonthsParse:n,shortMonthsParse:n,monthsRegex:/^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,monthsShortRegex:/^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,monthsStrictRegex:/^(январ[яь]|феврал[яь]|марта?|апрел[яь]|ма[яй]|июн[яь]|июл[яь]|августа?|сентябр[яь]|октябр[яь]|ноябр[яь]|декабр[яь])/i,monthsShortStrictRegex:/^(янв\.|февр?\.|мар[т.]|апр\.|ма[яй]|июн[ья.]|июл[ья.]|авг\.|сент?\.|окт\.|нояб?\.|дек\.)/i,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., H:mm",LLLL:"dddd, D MMMM YYYY г., H:mm"},calendar:{sameDay:"[Сегодня, в] LT",nextDay:"[Завтра, в] LT",lastDay:"[Вчера, в] LT",nextWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[Во] dddd, [в] LT":"[В] dddd, [в] LT";switch(this.day()){case 0:return"[В следующее] dddd, [в] LT";case 1:case 2:case 4:return"[В следующий] dddd, [в] LT";case 3:case 5:case 6:return"[В следующую] dddd, [в] LT"}},lastWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[Во] dddd, [в] LT":"[В] dddd, [в] LT";switch(this.day()){case 0:return"[В прошлое] dddd, [в] LT";case 1:case 2:case 4:return"[В прошлый] dddd, [в] LT";case 3:case 5:case 6:return"[В прошлую] dddd, [в] LT"}},sameElse:"L"},relativeTime:{future:"через %s",past:"%s назад",s:"несколько секунд",ss:t,m:t,mm:t,h:"час",hh:t,d:"день",dd:t,w:"неделя",ww:t,M:"месяц",MM:t,y:"год",yy:t},meridiemParse:/ночи|утра|дня|вечера/i,isPM:function(e){return/^(дня|вечера)$/.test(e)},meridiem:function(e,t,n){return e<4?"ночи":e<12?"утра":e<17?"дня":"вечера"},dayOfMonthOrdinalParse:/\d{1,2}-(й|го|я)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":return e+"-й";case"D":return e+"-го";case"w":case"W":return e+"-я";default:return e}},week:{dow:1,doy:4}})}(n(5914))},4664:function(e,t,n){!function(e){"use strict";var t=["جنوري","فيبروري","مارچ","اپريل","مئي","جون","جولاءِ","آگسٽ","سيپٽمبر","آڪٽوبر","نومبر","ڊسمبر"],n=["آچر","سومر","اڱارو","اربع","خميس","جمع","ڇنڇر"];e.defineLocale("sd",{months:t,monthsShort:t,weekdays:n,weekdaysShort:n,weekdaysMin:n,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd، D MMMM YYYY HH:mm"},meridiemParse:/صبح|شام/,isPM:function(e){return"شام"===e},meridiem:function(e,t,n){return e<12?"صبح":"شام"},calendar:{sameDay:"[اڄ] LT",nextDay:"[سڀاڻي] LT",nextWeek:"dddd [اڳين هفتي تي] LT",lastDay:"[ڪالهه] LT",lastWeek:"[گزريل هفتي] dddd [تي] LT",sameElse:"L"},relativeTime:{future:"%s پوء",past:"%s اڳ",s:"چند سيڪنڊ",ss:"%d سيڪنڊ",m:"هڪ منٽ",mm:"%d منٽ",h:"هڪ ڪلاڪ",hh:"%d ڪلاڪ",d:"هڪ ڏينهن",dd:"%d ڏينهن",M:"هڪ مهينو",MM:"%d مهينا",y:"هڪ سال",yy:"%d سال"},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:1,doy:4}})}(n(5914))},3100:function(e,t,n){!function(e){"use strict";e.defineLocale("se",{months:"ođđajagemánnu_guovvamánnu_njukčamánnu_cuoŋománnu_miessemánnu_geassemánnu_suoidnemánnu_borgemánnu_čakčamánnu_golggotmánnu_skábmamánnu_juovlamánnu".split("_"),monthsShort:"ođđj_guov_njuk_cuo_mies_geas_suoi_borg_čakč_golg_skáb_juov".split("_"),weekdays:"sotnabeaivi_vuossárga_maŋŋebárga_gaskavahkku_duorastat_bearjadat_lávvardat".split("_"),weekdaysShort:"sotn_vuos_maŋ_gask_duor_bear_láv".split("_"),weekdaysMin:"s_v_m_g_d_b_L".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"MMMM D. [b.] YYYY",LLL:"MMMM D. [b.] YYYY [ti.] HH:mm",LLLL:"dddd, MMMM D. [b.] YYYY [ti.] HH:mm"},calendar:{sameDay:"[otne ti] LT",nextDay:"[ihttin ti] LT",nextWeek:"dddd [ti] LT",lastDay:"[ikte ti] LT",lastWeek:"[ovddit] dddd [ti] LT",sameElse:"L"},relativeTime:{future:"%s geažes",past:"maŋit %s",s:"moadde sekunddat",ss:"%d sekunddat",m:"okta minuhta",mm:"%d minuhtat",h:"okta diimmu",hh:"%d diimmut",d:"okta beaivi",dd:"%d beaivvit",M:"okta mánnu",MM:"%d mánut",y:"okta jahki",yy:"%d jagit"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(5914))},4709:function(e,t,n){!function(e){"use strict";e.defineLocale("si",{months:"ජනවාරි_පෙබරවාරි_මාර්තු_අප්රේල්_මැයි_ජූනි_ජූලි_අගෝස්තු_සැප්තැම්බර්_ඔක්තෝබර්_නොවැම්බර්_දෙසැම්බර්".split("_"),monthsShort:"ජන_පෙබ_මාර්_අප්_මැයි_ජූනි_ජූලි_අගෝ_සැප්_ඔක්_නොවැ_දෙසැ".split("_"),weekdays:"ඉරිදා_සඳුදා_අඟහරුවාදා_බදාදා_බ්රහස්පතින්දා_සිකුරාදා_සෙනසුරාදා".split("_"),weekdaysShort:"ඉරි_සඳු_අඟ_බදා_බ්රහ_සිකු_සෙන".split("_"),weekdaysMin:"ඉ_ස_අ_බ_බ්ර_සි_සෙ".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"a h:mm",LTS:"a h:mm:ss",L:"YYYY/MM/DD",LL:"YYYY MMMM D",LLL:"YYYY MMMM D, a h:mm",LLLL:"YYYY MMMM D [වැනි] dddd, a h:mm:ss"},calendar:{sameDay:"[අද] LT[ට]",nextDay:"[හෙට] LT[ට]",nextWeek:"dddd LT[ට]",lastDay:"[ඊයේ] LT[ට]",lastWeek:"[පසුගිය] dddd LT[ට]",sameElse:"L"},relativeTime:{future:"%sකින්",past:"%sකට පෙර",s:"තත්පර කිහිපය",ss:"තත්පර %d",m:"මිනිත්තුව",mm:"මිනිත්තු %d",h:"පැය",hh:"පැය %d",d:"දිනය",dd:"දින %d",M:"මාසය",MM:"මාස %d",y:"වසර",yy:"වසර %d"},dayOfMonthOrdinalParse:/\d{1,2} වැනි/,ordinal:function(e){return e+" වැනි"},meridiemParse:/පෙර වරු|පස් වරු|පෙ.ව|ප.ව./,isPM:function(e){return"ප.ව."===e||"පස් වරු"===e},meridiem:function(e,t,n){return e>11?n?"ප.ව.":"පස් වරු":n?"පෙ.ව.":"පෙර වරු"}})}(n(5914))},9210:function(e,t,n){!function(e){"use strict";var t="január_február_marec_apríl_máj_jún_júl_august_september_október_november_december".split("_"),n="jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec".split("_");function r(e){return e>1&&e<5}function i(e,t,n,i){var o=e+" ";switch(n){case"s":return t||i?"pár sekúnd":"pár sekundami";case"ss":return t||i?o+(r(e)?"sekundy":"sekúnd"):o+"sekundami";case"m":return t?"minúta":i?"minútu":"minútou";case"mm":return t||i?o+(r(e)?"minúty":"minút"):o+"minútami";case"h":return t?"hodina":i?"hodinu":"hodinou";case"hh":return t||i?o+(r(e)?"hodiny":"hodín"):o+"hodinami";case"d":return t||i?"deň":"dňom";case"dd":return t||i?o+(r(e)?"dni":"dní"):o+"dňami";case"M":return t||i?"mesiac":"mesiacom";case"MM":return t||i?o+(r(e)?"mesiace":"mesiacov"):o+"mesiacmi";case"y":return t||i?"rok":"rokom";case"yy":return t||i?o+(r(e)?"roky":"rokov"):o+"rokmi"}}e.defineLocale("sk",{months:t,monthsShort:n,weekdays:"nedeľa_pondelok_utorok_streda_štvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_št_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_št_pi_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm"},calendar:{sameDay:"[dnes o] LT",nextDay:"[zajtra o] LT",nextWeek:function(){switch(this.day()){case 0:return"[v nedeľu o] LT";case 1:case 2:return"[v] dddd [o] LT";case 3:return"[v stredu o] LT";case 4:return"[vo štvrtok o] LT";case 5:return"[v piatok o] LT";case 6:return"[v sobotu o] LT"}},lastDay:"[včera o] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulú nedeľu o] LT";case 1:case 2:case 4:case 5:return"[minulý] dddd [o] LT";case 3:return"[minulú stredu o] LT";case 6:return"[minulú sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pred %s",s:i,ss:i,m:i,mm:i,h:i,hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(5914))},3462:function(e,t,n){!function(e){"use strict";function t(e,t,n,r){var i=e+" ";switch(n){case"s":return t||r?"nekaj sekund":"nekaj sekundami";case"ss":return i+(1===e?t?"sekundo":"sekundi":2===e?t||r?"sekundi":"sekundah":e<5?t||r?"sekunde":"sekundah":"sekund");case"m":return t?"ena minuta":"eno minuto";case"mm":return i+(1===e?t?"minuta":"minuto":2===e?t||r?"minuti":"minutama":e<5?t||r?"minute":"minutami":t||r?"minut":"minutami");case"h":return t?"ena ura":"eno uro";case"hh":return i+(1===e?t?"ura":"uro":2===e?t||r?"uri":"urama":e<5?t||r?"ure":"urami":t||r?"ur":"urami");case"d":return t||r?"en dan":"enim dnem";case"dd":return i+(1===e?t||r?"dan":"dnem":2===e?t||r?"dni":"dnevoma":t||r?"dni":"dnevi");case"M":return t||r?"en mesec":"enim mesecem";case"MM":return i+(1===e?t||r?"mesec":"mesecem":2===e?t||r?"meseca":"mesecema":e<5?t||r?"mesece":"meseci":t||r?"mesecev":"meseci");case"y":return t||r?"eno leto":"enim letom";case"yy":return i+(1===e?t||r?"leto":"letom":2===e?t||r?"leti":"letoma":e<5?t||r?"leta":"leti":t||r?"let":"leti")}}e.defineLocale("sl",{months:"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljek_torek_sreda_četrtek_petek_sobota".split("_"),weekdaysShort:"ned._pon._tor._sre._čet._pet._sob.".split("_"),weekdaysMin:"ne_po_to_sr_če_pe_so".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD. MM. YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danes ob] LT",nextDay:"[jutri ob] LT",nextWeek:function(){switch(this.day()){case 0:return"[v] [nedeljo] [ob] LT";case 3:return"[v] [sredo] [ob] LT";case 6:return"[v] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[v] dddd [ob] LT"}},lastDay:"[včeraj ob] LT",lastWeek:function(){switch(this.day()){case 0:return"[prejšnjo] [nedeljo] [ob] LT";case 3:return"[prejšnjo] [sredo] [ob] LT";case 6:return"[prejšnjo] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[prejšnji] dddd [ob] LT"}},sameElse:"L"},relativeTime:{future:"čez %s",past:"pred %s",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(5914))},3369:function(e,t,n){!function(e){"use strict";e.defineLocale("sq",{months:"Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_Nëntor_Dhjetor".split("_"),monthsShort:"Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_Nën_Dhj".split("_"),weekdays:"E Diel_E Hënë_E Martë_E Mërkurë_E Enjte_E Premte_E Shtunë".split("_"),weekdaysShort:"Die_Hën_Mar_Mër_Enj_Pre_Sht".split("_"),weekdaysMin:"D_H_Ma_Më_E_P_Sh".split("_"),weekdaysParseExact:!0,meridiemParse:/PD|MD/,isPM:function(e){return"M"===e.charAt(0)},meridiem:function(e,t,n){return e<12?"PD":"MD"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Sot në] LT",nextDay:"[Nesër në] LT",nextWeek:"dddd [në] LT",lastDay:"[Dje në] LT",lastWeek:"dddd [e kaluar në] LT",sameElse:"L"},relativeTime:{future:"në %s",past:"%s më parë",s:"disa sekonda",ss:"%d sekonda",m:"një minutë",mm:"%d minuta",h:"një orë",hh:"%d orë",d:"një ditë",dd:"%d ditë",M:"një muaj",MM:"%d muaj",y:"një vit",yy:"%d vite"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(5914))},1687:function(e,t,n){!function(e){"use strict";var t={words:{ss:["секунда","секунде","секунди"],m:["један минут","једне минуте"],mm:["минут","минуте","минута"],h:["један сат","једног сата"],hh:["сат","сата","сати"],dd:["дан","дана","дана"],MM:["месец","месеца","месеци"],yy:["година","године","година"]},correctGrammaticalCase:function(e,t){return 1===e?t[0]:e>=2&&e<=4?t[1]:t[2]},translate:function(e,n,r){var i=t.words[r];return 1===r.length?n?i[0]:i[1]:e+" "+t.correctGrammaticalCase(e,i)}};e.defineLocale("sr-cyrl",{months:"јануар_фебруар_март_април_мај_јун_јул_август_септембар_октобар_новембар_децембар".split("_"),monthsShort:"јан._феб._мар._апр._мај_јун_јул_авг._сеп._окт._нов._дец.".split("_"),monthsParseExact:!0,weekdays:"недеља_понедељак_уторак_среда_четвртак_петак_субота".split("_"),weekdaysShort:"нед._пон._уто._сре._чет._пет._суб.".split("_"),weekdaysMin:"не_по_ут_ср_че_пе_су".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[данас у] LT",nextDay:"[сутра у] LT",nextWeek:function(){switch(this.day()){case 0:return"[у] [недељу] [у] LT";case 3:return"[у] [среду] [у] LT";case 6:return"[у] [суботу] [у] LT";case 1:case 2:case 4:case 5:return"[у] dddd [у] LT"}},lastDay:"[јуче у] LT",lastWeek:function(){return["[прошле] [недеље] [у] LT","[прошлог] [понедељка] [у] LT","[прошлог] [уторка] [у] LT","[прошле] [среде] [у] LT","[прошлог] [четвртка] [у] LT","[прошлог] [петка] [у] LT","[прошле] [суботе] [у] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"за %s",past:"пре %s",s:"неколико секунди",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:"дан",dd:t.translate,M:"месец",MM:t.translate,y:"годину",yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(5914))},8548:function(e,t,n){!function(e){"use strict";var t={words:{ss:["sekunda","sekunde","sekundi"],m:["jedan minut","jedne minute"],mm:["minut","minute","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mesec","meseca","meseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(e,t){return 1===e?t[0]:e>=2&&e<=4?t[1]:t[2]},translate:function(e,n,r){var i=t.words[r];return 1===r.length?n?i[0]:i[1]:e+" "+t.correctGrammaticalCase(e,i)}};e.defineLocale("sr",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljak_utorak_sreda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sre._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedelju] [u] LT";case 3:return"[u] [sredu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juče u] LT",lastWeek:function(){return["[prošle] [nedelje] [u] LT","[prošlog] [ponedeljka] [u] LT","[prošlog] [utorka] [u] LT","[prošle] [srede] [u] LT","[prošlog] [četvrtka] [u] LT","[prošlog] [petka] [u] LT","[prošle] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:"dan",dd:t.translate,M:"mesec",MM:t.translate,y:"godinu",yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(5914))},3111:function(e,t,n){!function(e){"use strict";e.defineLocale("ss",{months:"Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split("_"),monthsShort:"Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo".split("_"),weekdays:"Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo".split("_"),weekdaysShort:"Lis_Umb_Lsb_Les_Lsi_Lsh_Umg".split("_"),weekdaysMin:"Li_Us_Lb_Lt_Ls_Lh_Ug".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Namuhla nga] LT",nextDay:"[Kusasa nga] LT",nextWeek:"dddd [nga] LT",lastDay:"[Itolo nga] LT",lastWeek:"dddd [leliphelile] [nga] LT",sameElse:"L"},relativeTime:{future:"nga %s",past:"wenteka nga %s",s:"emizuzwana lomcane",ss:"%d mzuzwana",m:"umzuzu",mm:"%d emizuzu",h:"lihora",hh:"%d emahora",d:"lilanga",dd:"%d emalanga",M:"inyanga",MM:"%d tinyanga",y:"umnyaka",yy:"%d iminyaka"},meridiemParse:/ekuseni|emini|entsambama|ebusuku/,meridiem:function(e,t,n){return e<11?"ekuseni":e<15?"emini":e<19?"entsambama":"ebusuku"},meridiemHour:function(e,t){return 12===e&&(e=0),"ekuseni"===t?e:"emini"===t?e>=11?e:e+12:"entsambama"===t||"ebusuku"===t?0===e?0:e+12:void 0},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}})}(n(5914))},2021:function(e,t,n){!function(e){"use strict";e.defineLocale("sv",{months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"söndag_måndag_tisdag_onsdag_torsdag_fredag_lördag".split("_"),weekdaysShort:"sön_mån_tis_ons_tor_fre_lör".split("_"),weekdaysMin:"sö_må_ti_on_to_fr_lö".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},calendar:{sameDay:"[Idag] LT",nextDay:"[Imorgon] LT",lastDay:"[Igår] LT",nextWeek:"[På] dddd LT",lastWeek:"[I] dddd[s] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"för %s sedan",s:"några sekunder",ss:"%d sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en månad",MM:"%d månader",y:"ett år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}(\:e|\:a)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?":e":1===t||2===t?":a":":e")},week:{dow:1,doy:4}})}(n(5914))},173:function(e,t,n){!function(e){"use strict";e.defineLocale("sw",{months:"Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des".split("_"),weekdays:"Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi".split("_"),weekdaysShort:"Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos".split("_"),weekdaysMin:"J2_J3_J4_J5_Al_Ij_J1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"hh:mm A",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[leo saa] LT",nextDay:"[kesho saa] LT",nextWeek:"[wiki ijayo] dddd [saat] LT",lastDay:"[jana] LT",lastWeek:"[wiki iliyopita] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s baadaye",past:"tokea %s",s:"hivi punde",ss:"sekunde %d",m:"dakika moja",mm:"dakika %d",h:"saa limoja",hh:"masaa %d",d:"siku moja",dd:"siku %d",M:"mwezi mmoja",MM:"miezi %d",y:"mwaka mmoja",yy:"miaka %d"},week:{dow:1,doy:7}})}(n(5914))},1683:function(e,t,n){!function(e){"use strict";var t={1:"௧",2:"௨",3:"௩",4:"௪",5:"௫",6:"௬",7:"௭",8:"௮",9:"௯",0:"௦"},n={"௧":"1","௨":"2","௩":"3","௪":"4","௫":"5","௬":"6","௭":"7","௮":"8","௯":"9","௦":"0"};e.defineLocale("ta",{months:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),monthsShort:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),weekdays:"ஞாயிற்றுக்கிழமை_திங்கட்கிழமை_செவ்வாய்கிழமை_புதன்கிழமை_வியாழக்கிழமை_வெள்ளிக்கிழமை_சனிக்கிழமை".split("_"),weekdaysShort:"ஞாயிறு_திங்கள்_செவ்வாய்_புதன்_வியாழன்_வெள்ளி_சனி".split("_"),weekdaysMin:"ஞா_தி_செ_பு_வி_வெ_ச".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, HH:mm",LLLL:"dddd, D MMMM YYYY, HH:mm"},calendar:{sameDay:"[இன்று] LT",nextDay:"[நாளை] LT",nextWeek:"dddd, LT",lastDay:"[நேற்று] LT",lastWeek:"[கடந்த வாரம்] dddd, LT",sameElse:"L"},relativeTime:{future:"%s இல்",past:"%s முன்",s:"ஒரு சில விநாடிகள்",ss:"%d விநாடிகள்",m:"ஒரு நிமிடம்",mm:"%d நிமிடங்கள்",h:"ஒரு மணி நேரம்",hh:"%d மணி நேரம்",d:"ஒரு நாள்",dd:"%d நாட்கள்",M:"ஒரு மாதம்",MM:"%d மாதங்கள்",y:"ஒரு வருடம்",yy:"%d ஆண்டுகள்"},dayOfMonthOrdinalParse:/\d{1,2}வது/,ordinal:function(e){return e+"வது"},preparse:function(e){return e.replace(/[௧௨௩௪௫௬௭௮௯௦]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/யாமம்|வைகறை|காலை|நண்பகல்|எற்பாடு|மாலை/,meridiem:function(e,t,n){return e<2?" யாமம்":e<6?" வைகறை":e<10?" காலை":e<14?" நண்பகல்":e<18?" எற்பாடு":e<22?" மாலை":" யாமம்"},meridiemHour:function(e,t){return 12===e&&(e=0),"யாமம்"===t?e<2?e:e+12:"வைகறை"===t||"காலை"===t||"நண்பகல்"===t&&e>=10?e:e+12},week:{dow:0,doy:6}})}(n(5914))},1893:function(e,t,n){!function(e){"use strict";e.defineLocale("te",{months:"జనవరి_ఫిబ్రవరి_మార్చి_ఏప్రిల్_మే_జూన్_జులై_ఆగస్టు_సెప్టెంబర్_అక్టోబర్_నవంబర్_డిసెంబర్".split("_"),monthsShort:"జన._ఫిబ్ర._మార్చి_ఏప్రి._మే_జూన్_జులై_ఆగ._సెప్._అక్టో._నవ._డిసె.".split("_"),monthsParseExact:!0,weekdays:"ఆదివారం_సోమవారం_మంగళవారం_బుధవారం_గురువారం_శుక్రవారం_శనివారం".split("_"),weekdaysShort:"ఆది_సోమ_మంగళ_బుధ_గురు_శుక్ర_శని".split("_"),weekdaysMin:"ఆ_సో_మం_బు_గు_శు_శ".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[నేడు] LT",nextDay:"[రేపు] LT",nextWeek:"dddd, LT",lastDay:"[నిన్న] LT",lastWeek:"[గత] dddd, LT",sameElse:"L"},relativeTime:{future:"%s లో",past:"%s క్రితం",s:"కొన్ని క్షణాలు",ss:"%d సెకన్లు",m:"ఒక నిమిషం",mm:"%d నిమిషాలు",h:"ఒక గంట",hh:"%d గంటలు",d:"ఒక రోజు",dd:"%d రోజులు",M:"ఒక నెల",MM:"%d నెలలు",y:"ఒక సంవత్సరం",yy:"%d సంవత్సరాలు"},dayOfMonthOrdinalParse:/\d{1,2}వ/,ordinal:"%dవ",meridiemParse:/రాత్రి|ఉదయం|మధ్యాహ్నం|సాయంత్రం/,meridiemHour:function(e,t){return 12===e&&(e=0),"రాత్రి"===t?e<4?e:e+12:"ఉదయం"===t?e:"మధ్యాహ్నం"===t?e>=10?e:e+12:"సాయంత్రం"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"రాత్రి":e<10?"ఉదయం":e<17?"మధ్యాహ్నం":e<20?"సాయంత్రం":"రాత్రి"},week:{dow:0,doy:6}})}(n(5914))},2931:function(e,t,n){!function(e){"use strict";e.defineLocale("tet",{months:"Janeiru_Fevereiru_Marsu_Abril_Maiu_Juñu_Jullu_Agustu_Setembru_Outubru_Novembru_Dezembru".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingu_Segunda_Tersa_Kuarta_Kinta_Sesta_Sabadu".split("_"),weekdaysShort:"Dom_Seg_Ters_Kua_Kint_Sest_Sab".split("_"),weekdaysMin:"Do_Seg_Te_Ku_Ki_Ses_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Ohin iha] LT",nextDay:"[Aban iha] LT",nextWeek:"dddd [iha] LT",lastDay:"[Horiseik iha] LT",lastWeek:"dddd [semana kotuk] [iha] LT",sameElse:"L"},relativeTime:{future:"iha %s",past:"%s liuba",s:"segundu balun",ss:"segundu %d",m:"minutu ida",mm:"minutu %d",h:"oras ida",hh:"oras %d",d:"loron ida",dd:"loron %d",M:"fulan ida",MM:"fulan %d",y:"tinan ida",yy:"tinan %d"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(5914))},7936:function(e,t,n){!function(e){"use strict";var t={0:"-ум",1:"-ум",2:"-юм",3:"-юм",4:"-ум",5:"-ум",6:"-ум",7:"-ум",8:"-ум",9:"-ум",10:"-ум",12:"-ум",13:"-ум",20:"-ум",30:"-юм",40:"-ум",50:"-ум",60:"-ум",70:"-ум",80:"-ум",90:"-ум",100:"-ум"};e.defineLocale("tg",{months:{format:"январи_феврали_марти_апрели_майи_июни_июли_августи_сентябри_октябри_ноябри_декабри".split("_"),standalone:"январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр".split("_")},monthsShort:"янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек".split("_"),weekdays:"якшанбе_душанбе_сешанбе_чоршанбе_панҷшанбе_ҷумъа_шанбе".split("_"),weekdaysShort:"яшб_дшб_сшб_чшб_пшб_ҷум_шнб".split("_"),weekdaysMin:"яш_дш_сш_чш_пш_ҷм_шб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Имрӯз соати] LT",nextDay:"[Фардо соати] LT",lastDay:"[Дирӯз соати] LT",nextWeek:"dddd[и] [ҳафтаи оянда соати] LT",lastWeek:"dddd[и] [ҳафтаи гузашта соати] LT",sameElse:"L"},relativeTime:{future:"баъди %s",past:"%s пеш",s:"якчанд сония",m:"як дақиқа",mm:"%d дақиқа",h:"як соат",hh:"%d соат",d:"як рӯз",dd:"%d рӯз",M:"як моҳ",MM:"%d моҳ",y:"як сол",yy:"%d сол"},meridiemParse:/шаб|субҳ|рӯз|бегоҳ/,meridiemHour:function(e,t){return 12===e&&(e=0),"шаб"===t?e<4?e:e+12:"субҳ"===t?e:"рӯз"===t?e>=11?e:e+12:"бегоҳ"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"шаб":e<11?"субҳ":e<16?"рӯз":e<19?"бегоҳ":"шаб"},dayOfMonthOrdinalParse:/\d{1,2}-(ум|юм)/,ordinal:function(e){return e+(t[e]||t[e%10]||t[e>=100?100:null])},week:{dow:1,doy:7}})}(n(5914))},4162:function(e,t,n){!function(e){"use strict";e.defineLocale("th",{months:"มกราคม_กุมภาพันธ์_มีนาคม_เมษายน_พฤษภาคม_มิถุนายน_กรกฎาคม_สิงหาคม_กันยายน_ตุลาคม_พฤศจิกายน_ธันวาคม".split("_"),monthsShort:"ม.ค._ก.พ._มี.ค._เม.ย._พ.ค._มิ.ย._ก.ค._ส.ค._ก.ย._ต.ค._พ.ย._ธ.ค.".split("_"),monthsParseExact:!0,weekdays:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัสบดี_ศุกร์_เสาร์".split("_"),weekdaysShort:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัส_ศุกร์_เสาร์".split("_"),weekdaysMin:"อา._จ._อ._พ._พฤ._ศ._ส.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY เวลา H:mm",LLLL:"วันddddที่ D MMMM YYYY เวลา H:mm"},meridiemParse:/ก่อนเที่ยง|หลังเที่ยง/,isPM:function(e){return"หลังเที่ยง"===e},meridiem:function(e,t,n){return e<12?"ก่อนเที่ยง":"หลังเที่ยง"},calendar:{sameDay:"[วันนี้ เวลา] LT",nextDay:"[พรุ่งนี้ เวลา] LT",nextWeek:"dddd[หน้า เวลา] LT",lastDay:"[เมื่อวานนี้ เวลา] LT",lastWeek:"[วัน]dddd[ที่แล้ว เวลา] LT",sameElse:"L"},relativeTime:{future:"อีก %s",past:"%sที่แล้ว",s:"ไม่กี่วินาที",ss:"%d วินาที",m:"1 นาที",mm:"%d นาที",h:"1 ชั่วโมง",hh:"%d ชั่วโมง",d:"1 วัน",dd:"%d วัน",w:"1 สัปดาห์",ww:"%d สัปดาห์",M:"1 เดือน",MM:"%d เดือน",y:"1 ปี",yy:"%d ปี"}})}(n(5914))},62:function(e,t,n){!function(e){"use strict";var t={1:"'inji",5:"'inji",8:"'inji",70:"'inji",80:"'inji",2:"'nji",7:"'nji",20:"'nji",50:"'nji",3:"'ünji",4:"'ünji",100:"'ünji",6:"'njy",9:"'unjy",10:"'unjy",30:"'unjy",60:"'ynjy",90:"'ynjy"};e.defineLocale("tk",{months:"Ýanwar_Fewral_Mart_Aprel_Maý_Iýun_Iýul_Awgust_Sentýabr_Oktýabr_Noýabr_Dekabr".split("_"),monthsShort:"Ýan_Few_Mar_Apr_Maý_Iýn_Iýl_Awg_Sen_Okt_Noý_Dek".split("_"),weekdays:"Ýekşenbe_Duşenbe_Sişenbe_Çarşenbe_Penşenbe_Anna_Şenbe".split("_"),weekdaysShort:"Ýek_Duş_Siş_Çar_Pen_Ann_Şen".split("_"),weekdaysMin:"Ýk_Dş_Sş_Çr_Pn_An_Şn".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün sagat] LT",nextDay:"[ertir sagat] LT",nextWeek:"[indiki] dddd [sagat] LT",lastDay:"[düýn] LT",lastWeek:"[geçen] dddd [sagat] LT",sameElse:"L"},relativeTime:{future:"%s soň",past:"%s öň",s:"birnäçe sekunt",m:"bir minut",mm:"%d minut",h:"bir sagat",hh:"%d sagat",d:"bir gün",dd:"%d gün",M:"bir aý",MM:"%d aý",y:"bir ýyl",yy:"%d ýyl"},ordinal:function(e,n){switch(n){case"d":case"D":case"Do":case"DD":return e;default:if(0===e)return e+"'unjy";var r=e%10;return e+(t[r]||t[e%100-r]||t[e>=100?100:null])}},week:{dow:1,doy:7}})}(n(5914))},5779:function(e,t,n){!function(e){"use strict";e.defineLocale("tl-ph",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}})}(n(5914))},4702:function(e,t,n){!function(e){"use strict";var t="pagh_wa’_cha’_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");function n(e,n,r,i){var o=function(e){var n=Math.floor(e%1e3/100),r=Math.floor(e%100/10),i=e%10,o="";return n>0&&(o+=t[n]+"vatlh"),r>0&&(o+=(""!==o?" ":"")+t[r]+"maH"),i>0&&(o+=(""!==o?" ":"")+t[i]),""===o?"pagh":o}(e);switch(r){case"ss":return o+" lup";case"mm":return o+" tup";case"hh":return o+" rep";case"dd":return o+" jaj";case"MM":return o+" jar";case"yy":return o+" DIS"}}e.defineLocale("tlh",{months:"tera’ jar wa’_tera’ jar cha’_tera’ jar wej_tera’ jar loS_tera’ jar vagh_tera’ jar jav_tera’ jar Soch_tera’ jar chorgh_tera’ jar Hut_tera’ jar wa’maH_tera’ jar wa’maH wa’_tera’ jar wa’maH cha’".split("_"),monthsShort:"jar wa’_jar cha’_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa’maH_jar wa’maH wa’_jar wa’maH cha’".split("_"),monthsParseExact:!0,weekdays:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysShort:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysMin:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[DaHjaj] LT",nextDay:"[wa’leS] LT",nextWeek:"LLL",lastDay:"[wa’Hu’] LT",lastWeek:"LLL",sameElse:"L"},relativeTime:{future:function(e){var t=e;return-1!==e.indexOf("jaj")?t.slice(0,-3)+"leS":-1!==e.indexOf("jar")?t.slice(0,-3)+"waQ":-1!==e.indexOf("DIS")?t.slice(0,-3)+"nem":t+" pIq"},past:function(e){var t=e;return-1!==e.indexOf("jaj")?t.slice(0,-3)+"Hu’":-1!==e.indexOf("jar")?t.slice(0,-3)+"wen":-1!==e.indexOf("DIS")?t.slice(0,-3)+"ben":t+" ret"},s:"puS lup",ss:n,m:"wa’ tup",mm:n,h:"wa’ rep",hh:n,d:"wa’ jaj",dd:n,M:"wa’ jar",MM:n,y:"wa’ DIS",yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(5914))},2442:function(e,t,n){!function(e){"use strict";var t={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'üncü",4:"'üncü",100:"'üncü",6:"'ncı",9:"'uncu",10:"'uncu",30:"'uncu",60:"'ıncı",90:"'ıncı"};e.defineLocale("tr",{months:"Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık".split("_"),monthsShort:"Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pts_Sal_Çar_Per_Cum_Cts".split("_"),weekdaysMin:"Pz_Pt_Sa_Ça_Pe_Cu_Ct".split("_"),meridiem:function(e,t,n){return e<12?n?"öö":"ÖÖ":n?"ös":"ÖS"},meridiemParse:/öö|ÖÖ|ös|ÖS/,isPM:function(e){return"ös"===e||"ÖS"===e},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[yarın saat] LT",nextWeek:"[gelecek] dddd [saat] LT",lastDay:"[dün] LT",lastWeek:"[geçen] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s önce",s:"birkaç saniye",ss:"%d saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",w:"bir hafta",ww:"%d hafta",M:"bir ay",MM:"%d ay",y:"bir yıl",yy:"%d yıl"},ordinal:function(e,n){switch(n){case"d":case"D":case"Do":case"DD":return e;default:if(0===e)return e+"'ıncı";var r=e%10;return e+(t[r]||t[e%100-r]||t[e>=100?100:null])}},week:{dow:1,doy:7}})}(n(5914))},8166:function(e,t,n){!function(e){"use strict";function t(e,t,n,r){var i={s:["viensas secunds","'iensas secunds"],ss:[e+" secunds",e+" secunds"],m:["'n míut","'iens míut"],mm:[e+" míuts",e+" míuts"],h:["'n þora","'iensa þora"],hh:[e+" þoras",e+" þoras"],d:["'n ziua","'iensa ziua"],dd:[e+" ziuas",e+" ziuas"],M:["'n mes","'iens mes"],MM:[e+" mesen",e+" mesen"],y:["'n ar","'iens ar"],yy:[e+" ars",e+" ars"]};return r||t?i[n][0]:i[n][1]}e.defineLocale("tzl",{months:"Januar_Fevraglh_Març_Avrïu_Mai_Gün_Julia_Guscht_Setemvar_Listopäts_Noemvar_Zecemvar".split("_"),monthsShort:"Jan_Fev_Mar_Avr_Mai_Gün_Jul_Gus_Set_Lis_Noe_Zec".split("_"),weekdays:"Súladi_Lúneçi_Maitzi_Márcuri_Xhúadi_Viénerçi_Sáturi".split("_"),weekdaysShort:"Súl_Lún_Mai_Már_Xhú_Vié_Sát".split("_"),weekdaysMin:"Sú_Lú_Ma_Má_Xh_Vi_Sá".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM [dallas] YYYY",LLL:"D. MMMM [dallas] YYYY HH.mm",LLLL:"dddd, [li] D. MMMM [dallas] YYYY HH.mm"},meridiemParse:/d\'o|d\'a/i,isPM:function(e){return"d'o"===e.toLowerCase()},meridiem:function(e,t,n){return e>11?n?"d'o":"D'O":n?"d'a":"D'A"},calendar:{sameDay:"[oxhi à] LT",nextDay:"[demà à] LT",nextWeek:"dddd [à] LT",lastDay:"[ieiri à] LT",lastWeek:"[sür el] dddd [lasteu à] LT",sameElse:"L"},relativeTime:{future:"osprei %s",past:"ja%s",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(5914))},1654:function(e,t,n){!function(e){"use strict";e.defineLocale("tzm-latn",{months:"innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),monthsShort:"innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),weekdays:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),weekdaysShort:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),weekdaysMin:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[asdkh g] LT",nextDay:"[aska g] LT",nextWeek:"dddd [g] LT",lastDay:"[assant g] LT",lastWeek:"dddd [g] LT",sameElse:"L"},relativeTime:{future:"dadkh s yan %s",past:"yan %s",s:"imik",ss:"%d imik",m:"minuḍ",mm:"%d minuḍ",h:"saɛa",hh:"%d tassaɛin",d:"ass",dd:"%d ossan",M:"ayowr",MM:"%d iyyirn",y:"asgas",yy:"%d isgasn"},week:{dow:6,doy:12}})}(n(5914))},2503:function(e,t,n){!function(e){"use strict";e.defineLocale("tzm",{months:"ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),monthsShort:"ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),weekdays:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),weekdaysShort:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),weekdaysMin:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[ⴰⵙⴷⵅ ⴴ] LT",nextDay:"[ⴰⵙⴽⴰ ⴴ] LT",nextWeek:"dddd [ⴴ] LT",lastDay:"[ⴰⵚⴰⵏⵜ ⴴ] LT",lastWeek:"dddd [ⴴ] LT",sameElse:"L"},relativeTime:{future:"ⴷⴰⴷⵅ ⵙ ⵢⴰⵏ %s",past:"ⵢⴰⵏ %s",s:"ⵉⵎⵉⴽ",ss:"%d ⵉⵎⵉⴽ",m:"ⵎⵉⵏⵓⴺ",mm:"%d ⵎⵉⵏⵓⴺ",h:"ⵙⴰⵄⴰ",hh:"%d ⵜⴰⵙⵙⴰⵄⵉⵏ",d:"ⴰⵙⵙ",dd:"%d oⵙⵙⴰⵏ",M:"ⴰⵢoⵓⵔ",MM:"%d ⵉⵢⵢⵉⵔⵏ",y:"ⴰⵙⴳⴰⵙ",yy:"%d ⵉⵙⴳⴰⵙⵏ"},week:{dow:6,doy:12}})}(n(5914))},6937:function(e,t,n){!function(e){"use strict";e.defineLocale("ug-cn",{months:"يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر".split("_"),monthsShort:"يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر".split("_"),weekdays:"يەكشەنبە_دۈشەنبە_سەيشەنبە_چارشەنبە_پەيشەنبە_جۈمە_شەنبە".split("_"),weekdaysShort:"يە_دۈ_سە_چا_پە_جۈ_شە".split("_"),weekdaysMin:"يە_دۈ_سە_چا_پە_جۈ_شە".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY-يىلىM-ئاينىڭD-كۈنى",LLL:"YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm",LLLL:"dddd، YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm"},meridiemParse:/يېرىم كېچە|سەھەر|چۈشتىن بۇرۇن|چۈش|چۈشتىن كېيىن|كەچ/,meridiemHour:function(e,t){return 12===e&&(e=0),"يېرىم كېچە"===t||"سەھەر"===t||"چۈشتىن بۇرۇن"===t?e:"چۈشتىن كېيىن"===t||"كەچ"===t?e+12:e>=11?e:e+12},meridiem:function(e,t,n){var r=100*e+t;return r<600?"يېرىم كېچە":r<900?"سەھەر":r<1130?"چۈشتىن بۇرۇن":r<1230?"چۈش":r<1800?"چۈشتىن كېيىن":"كەچ"},calendar:{sameDay:"[بۈگۈن سائەت] LT",nextDay:"[ئەتە سائەت] LT",nextWeek:"[كېلەركى] dddd [سائەت] LT",lastDay:"[تۆنۈگۈن] LT",lastWeek:"[ئالدىنقى] dddd [سائەت] LT",sameElse:"L"},relativeTime:{future:"%s كېيىن",past:"%s بۇرۇن",s:"نەچچە سېكونت",ss:"%d سېكونت",m:"بىر مىنۇت",mm:"%d مىنۇت",h:"بىر سائەت",hh:"%d سائەت",d:"بىر كۈن",dd:"%d كۈن",M:"بىر ئاي",MM:"%d ئاي",y:"بىر يىل",yy:"%d يىل"},dayOfMonthOrdinalParse:/\d{1,2}(-كۈنى|-ئاي|-ھەپتە)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"-كۈنى";case"w":case"W":return e+"-ھەپتە";default:return e}},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:1,doy:7}})}(n(5914))},2695:function(e,t,n){!function(e){"use strict";function t(e,t,n){return"m"===n?t?"хвилина":"хвилину":"h"===n?t?"година":"годину":e+" "+(r=+e,i={ss:t?"секунда_секунди_секунд":"секунду_секунди_секунд",mm:t?"хвилина_хвилини_хвилин":"хвилину_хвилини_хвилин",hh:t?"година_години_годин":"годину_години_годин",dd:"день_дні_днів",MM:"місяць_місяці_місяців",yy:"рік_роки_років"}[n].split("_"),r%10==1&&r%100!=11?i[0]:r%10>=2&&r%10<=4&&(r%100<10||r%100>=20)?i[1]:i[2]);var r,i}function n(e){return function(){return e+"о"+(11===this.hours()?"б":"")+"] LT"}}e.defineLocale("uk",{months:{format:"січня_лютого_березня_квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня".split("_"),standalone:"січень_лютий_березень_квітень_травень_червень_липень_серпень_вересень_жовтень_листопад_грудень".split("_")},monthsShort:"січ_лют_бер_квіт_трав_черв_лип_серп_вер_жовт_лист_груд".split("_"),weekdays:function(e,t){var n={nominative:"неділя_понеділок_вівторок_середа_четвер_п’ятниця_субота".split("_"),accusative:"неділю_понеділок_вівторок_середу_четвер_п’ятницю_суботу".split("_"),genitive:"неділі_понеділка_вівторка_середи_четверга_п’ятниці_суботи".split("_")};return!0===e?n.nominative.slice(1,7).concat(n.nominative.slice(0,1)):e?n[/(\[[ВвУу]\]) ?dddd/.test(t)?"accusative":/\[?(?:минулої|наступної)? ?\] ?dddd/.test(t)?"genitive":"nominative"][e.day()]:n.nominative},weekdaysShort:"нд_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY р.",LLL:"D MMMM YYYY р., HH:mm",LLLL:"dddd, D MMMM YYYY р., HH:mm"},calendar:{sameDay:n("[Сьогодні "),nextDay:n("[Завтра "),lastDay:n("[Вчора "),nextWeek:n("[У] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return n("[Минулої] dddd [").call(this);case 1:case 2:case 4:return n("[Минулого] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"за %s",past:"%s тому",s:"декілька секунд",ss:t,m:t,mm:t,h:"годину",hh:t,d:"день",dd:t,M:"місяць",MM:t,y:"рік",yy:t},meridiemParse:/ночі|ранку|дня|вечора/,isPM:function(e){return/^(дня|вечора)$/.test(e)},meridiem:function(e,t,n){return e<4?"ночі":e<12?"ранку":e<17?"дня":"вечора"},dayOfMonthOrdinalParse:/\d{1,2}-(й|го)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":case"w":case"W":return e+"-й";case"D":return e+"-го";default:return e}},week:{dow:1,doy:7}})}(n(5914))},5431:function(e,t,n){!function(e){"use strict";var t=["جنوری","فروری","مارچ","اپریل","مئی","جون","جولائی","اگست","ستمبر","اکتوبر","نومبر","دسمبر"],n=["اتوار","پیر","منگل","بدھ","جمعرات","جمعہ","ہفتہ"];e.defineLocale("ur",{months:t,monthsShort:t,weekdays:n,weekdaysShort:n,weekdaysMin:n,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd، D MMMM YYYY HH:mm"},meridiemParse:/صبح|شام/,isPM:function(e){return"شام"===e},meridiem:function(e,t,n){return e<12?"صبح":"شام"},calendar:{sameDay:"[آج بوقت] LT",nextDay:"[کل بوقت] LT",nextWeek:"dddd [بوقت] LT",lastDay:"[گذشتہ روز بوقت] LT",lastWeek:"[گذشتہ] dddd [بوقت] LT",sameElse:"L"},relativeTime:{future:"%s بعد",past:"%s قبل",s:"چند سیکنڈ",ss:"%d سیکنڈ",m:"ایک منٹ",mm:"%d منٹ",h:"ایک گھنٹہ",hh:"%d گھنٹے",d:"ایک دن",dd:"%d دن",M:"ایک ماہ",MM:"%d ماہ",y:"ایک سال",yy:"%d سال"},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:1,doy:4}})}(n(5914))},2461:function(e,t,n){!function(e){"use strict";e.defineLocale("uz-latn",{months:"Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr".split("_"),monthsShort:"Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek".split("_"),weekdays:"Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba".split("_"),weekdaysShort:"Yak_Dush_Sesh_Chor_Pay_Jum_Shan".split("_"),weekdaysMin:"Ya_Du_Se_Cho_Pa_Ju_Sha".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Bugun soat] LT [da]",nextDay:"[Ertaga] LT [da]",nextWeek:"dddd [kuni soat] LT [da]",lastDay:"[Kecha soat] LT [da]",lastWeek:"[O'tgan] dddd [kuni soat] LT [da]",sameElse:"L"},relativeTime:{future:"Yaqin %s ichida",past:"Bir necha %s oldin",s:"soniya",ss:"%d soniya",m:"bir daqiqa",mm:"%d daqiqa",h:"bir soat",hh:"%d soat",d:"bir kun",dd:"%d kun",M:"bir oy",MM:"%d oy",y:"bir yil",yy:"%d yil"},week:{dow:1,doy:7}})}(n(5914))},1399:function(e,t,n){!function(e){"use strict";e.defineLocale("uz",{months:"январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр".split("_"),monthsShort:"янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек".split("_"),weekdays:"Якшанба_Душанба_Сешанба_Чоршанба_Пайшанба_Жума_Шанба".split("_"),weekdaysShort:"Якш_Душ_Сеш_Чор_Пай_Жум_Шан".split("_"),weekdaysMin:"Як_Ду_Се_Чо_Па_Жу_Ша".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Бугун соат] LT [да]",nextDay:"[Эртага] LT [да]",nextWeek:"dddd [куни соат] LT [да]",lastDay:"[Кеча соат] LT [да]",lastWeek:"[Утган] dddd [куни соат] LT [да]",sameElse:"L"},relativeTime:{future:"Якин %s ичида",past:"Бир неча %s олдин",s:"фурсат",ss:"%d фурсат",m:"бир дакика",mm:"%d дакика",h:"бир соат",hh:"%d соат",d:"бир кун",dd:"%d кун",M:"бир ой",MM:"%d ой",y:"бир йил",yy:"%d йил"},week:{dow:1,doy:7}})}(n(5914))},3856:function(e,t,n){!function(e){"use strict";e.defineLocale("vi",{months:"tháng 1_tháng 2_tháng 3_tháng 4_tháng 5_tháng 6_tháng 7_tháng 8_tháng 9_tháng 10_tháng 11_tháng 12".split("_"),monthsShort:"Thg 01_Thg 02_Thg 03_Thg 04_Thg 05_Thg 06_Thg 07_Thg 08_Thg 09_Thg 10_Thg 11_Thg 12".split("_"),monthsParseExact:!0,weekdays:"chủ nhật_thứ hai_thứ ba_thứ tư_thứ năm_thứ sáu_thứ bảy".split("_"),weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysParseExact:!0,meridiemParse:/sa|ch/i,isPM:function(e){return/^ch$/i.test(e)},meridiem:function(e,t,n){return e<12?n?"sa":"SA":n?"ch":"CH"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [năm] YYYY",LLL:"D MMMM [năm] YYYY HH:mm",LLLL:"dddd, D MMMM [năm] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[Hôm nay lúc] LT",nextDay:"[Ngày mai lúc] LT",nextWeek:"dddd [tuần tới lúc] LT",lastDay:"[Hôm qua lúc] LT",lastWeek:"dddd [tuần trước lúc] LT",sameElse:"L"},relativeTime:{future:"%s tới",past:"%s trước",s:"vài giây",ss:"%d giây",m:"một phút",mm:"%d phút",h:"một giờ",hh:"%d giờ",d:"một ngày",dd:"%d ngày",w:"một tuần",ww:"%d tuần",M:"một tháng",MM:"%d tháng",y:"một năm",yy:"%d năm"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}})}(n(5914))},5017:function(e,t,n){!function(e){"use strict";e.defineLocale("x-pseudo",{months:"J~áñúá~rý_F~ébrú~árý_~Márc~h_Áp~ríl_~Máý_~Júñé~_Júl~ý_Áú~gúst~_Sép~témb~ér_Ó~ctób~ér_Ñ~óvém~bér_~Décé~mbér".split("_"),monthsShort:"J~áñ_~Féb_~Már_~Ápr_~Máý_~Júñ_~Júl_~Áúg_~Sép_~Óct_~Ñóv_~Déc".split("_"),monthsParseExact:!0,weekdays:"S~úñdá~ý_Mó~ñdáý~_Túé~sdáý~_Wéd~ñésd~áý_T~húrs~dáý_~Fríd~áý_S~átúr~dáý".split("_"),weekdaysShort:"S~úñ_~Móñ_~Túé_~Wéd_~Thú_~Frí_~Sát".split("_"),weekdaysMin:"S~ú_Mó~_Tú_~Wé_T~h_Fr~_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[T~ódá~ý át] LT",nextDay:"[T~ómó~rró~w át] LT",nextWeek:"dddd [át] LT",lastDay:"[Ý~ést~érdá~ý át] LT",lastWeek:"[L~ást] dddd [át] LT",sameElse:"L"},relativeTime:{future:"í~ñ %s",past:"%s á~gó",s:"á ~féw ~sécó~ñds",ss:"%d s~écóñ~ds",m:"á ~míñ~úté",mm:"%d m~íñú~tés",h:"á~ñ hó~úr",hh:"%d h~óúrs",d:"á ~dáý",dd:"%d d~áýs",M:"á ~móñ~th",MM:"%d m~óñt~hs",y:"á ~ýéár",yy:"%d ý~éárs"},dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(5914))},7501:function(e,t,n){!function(e){"use strict";e.defineLocale("yo",{months:"Sẹ́rẹ́_Èrèlè_Ẹrẹ̀nà_Ìgbé_Èbibi_Òkùdu_Agẹmo_Ògún_Owewe_Ọ̀wàrà_Bélú_Ọ̀pẹ̀̀".split("_"),monthsShort:"Sẹ́r_Èrl_Ẹrn_Ìgb_Èbi_Òkù_Agẹ_Ògú_Owe_Ọ̀wà_Bél_Ọ̀pẹ̀̀".split("_"),weekdays:"Àìkú_Ajé_Ìsẹ́gun_Ọjọ́rú_Ọjọ́bọ_Ẹtì_Àbámẹ́ta".split("_"),weekdaysShort:"Àìk_Ajé_Ìsẹ́_Ọjr_Ọjb_Ẹtì_Àbá".split("_"),weekdaysMin:"Àì_Aj_Ìs_Ọr_Ọb_Ẹt_Àb".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Ònì ni] LT",nextDay:"[Ọ̀la ni] LT",nextWeek:"dddd [Ọsẹ̀ tón'bọ] [ni] LT",lastDay:"[Àna ni] LT",lastWeek:"dddd [Ọsẹ̀ tólọ́] [ni] LT",sameElse:"L"},relativeTime:{future:"ní %s",past:"%s kọjá",s:"ìsẹjú aayá die",ss:"aayá %d",m:"ìsẹjú kan",mm:"ìsẹjú %d",h:"wákati kan",hh:"wákati %d",d:"ọjọ́ kan",dd:"ọjọ́ %d",M:"osù kan",MM:"osù %d",y:"ọdún kan",yy:"ọdún %d"},dayOfMonthOrdinalParse:/ọjọ́\s\d{1,2}/,ordinal:"ọjọ́ %d",week:{dow:1,doy:4}})}(n(5914))},6131:function(e,t,n){!function(e){"use strict";e.defineLocale("zh-cn",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah点mm分",LLLL:"YYYY年M月D日ddddAh点mm分",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"下午"===t||"晚上"===t?e+12:e>=11?e:e+12},meridiem:function(e,t,n){var r=100*e+t;return r<600?"凌晨":r<900?"早上":r<1130?"上午":r<1230?"中午":r<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:function(e){return e.week()!==this.week()?"[下]dddLT":"[本]dddLT"},lastDay:"[昨天]LT",lastWeek:function(e){return this.week()!==e.week()?"[上]dddLT":"[本]dddLT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|周)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"周";default:return e}},relativeTime:{future:"%s后",past:"%s前",s:"几秒",ss:"%d 秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",w:"1 周",ww:"%d 周",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},week:{dow:1,doy:4}})}(n(5914))},6023:function(e,t,n){!function(e){"use strict";e.defineLocale("zh-hk",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"中午"===t?e>=11?e:e+12:"下午"===t||"晚上"===t?e+12:void 0},meridiem:function(e,t,n){var r=100*e+t;return r<600?"凌晨":r<900?"早上":r<1200?"上午":1200===r?"中午":r<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:"[下]ddddLT",lastDay:"[昨天]LT",lastWeek:"[上]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},relativeTime:{future:"%s後",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}})}(n(5914))},5221:function(e,t,n){!function(e){"use strict";e.defineLocale("zh-mo",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"D/M/YYYY",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"中午"===t?e>=11?e:e+12:"下午"===t||"晚上"===t?e+12:void 0},meridiem:function(e,t,n){var r=100*e+t;return r<600?"凌晨":r<900?"早上":r<1130?"上午":r<1230?"中午":r<1800?"下午":"晚上"},calendar:{sameDay:"[今天] LT",nextDay:"[明天] LT",nextWeek:"[下]dddd LT",lastDay:"[昨天] LT",lastWeek:"[上]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}})}(n(5914))},9611:function(e,t,n){!function(e){"use strict";e.defineLocale("zh-tw",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"中午"===t?e>=11?e:e+12:"下午"===t||"晚上"===t?e+12:void 0},meridiem:function(e,t,n){var r=100*e+t;return r<600?"凌晨":r<900?"早上":r<1130?"上午":r<1230?"中午":r<1800?"下午":"晚上"},calendar:{sameDay:"[今天] LT",nextDay:"[明天] LT",nextWeek:"[下]dddd LT",lastDay:"[昨天] LT",lastWeek:"[上]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},relativeTime:{future:"%s後",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}})}(n(5914))},4532:(e,t,n)=>{var r={"./af":570,"./af.js":570,"./ar":3508,"./ar-dz":8481,"./ar-dz.js":8481,"./ar-kw":8251,"./ar-kw.js":8251,"./ar-ly":6913,"./ar-ly.js":6913,"./ar-ma":8338,"./ar-ma.js":8338,"./ar-sa":7574,"./ar-sa.js":7574,"./ar-tn":6617,"./ar-tn.js":6617,"./ar.js":3508,"./az":8415,"./az.js":8415,"./be":9750,"./be.js":9750,"./bg":6259,"./bg.js":6259,"./bm":6055,"./bm.js":6055,"./bn":3428,"./bn-bd":5974,"./bn-bd.js":5974,"./bn.js":3428,"./bo":9671,"./bo.js":9671,"./br":4477,"./br.js":4477,"./bs":7668,"./bs.js":7668,"./ca":3930,"./ca.js":3930,"./cs":1001,"./cs.js":1001,"./cv":2104,"./cv.js":2104,"./cy":2621,"./cy.js":2621,"./da":9283,"./da.js":9283,"./de":1863,"./de-at":1183,"./de-at.js":1183,"./de-ch":3305,"./de-ch.js":3305,"./de.js":1863,"./dv":6888,"./dv.js":6888,"./el":7258,"./el.js":7258,"./en-au":4129,"./en-au.js":4129,"./en-ca":5610,"./en-ca.js":5610,"./en-gb":2874,"./en-gb.js":2874,"./en-ie":4585,"./en-ie.js":4585,"./en-il":1557,"./en-il.js":1557,"./en-in":3256,"./en-in.js":3256,"./en-nz":937,"./en-nz.js":937,"./en-sg":8745,"./en-sg.js":8745,"./eo":8569,"./eo.js":8569,"./es":2882,"./es-do":3598,"./es-do.js":3598,"./es-mx":6892,"./es-mx.js":6892,"./es-us":5530,"./es-us.js":5530,"./es.js":2882,"./et":814,"./et.js":814,"./eu":5602,"./eu.js":5602,"./fa":5757,"./fa.js":5757,"./fi":2671,"./fi.js":2671,"./fil":6917,"./fil.js":6917,"./fo":4411,"./fo.js":4411,"./fr":5462,"./fr-ca":7806,"./fr-ca.js":7806,"./fr-ch":6263,"./fr-ch.js":6263,"./fr.js":5462,"./fy":3724,"./fy.js":3724,"./ga":969,"./ga.js":969,"./gd":2506,"./gd.js":2506,"./gl":1101,"./gl.js":1101,"./gom-deva":1515,"./gom-deva.js":1515,"./gom-latn":6749,"./gom-latn.js":6749,"./gu":275,"./gu.js":275,"./he":4074,"./he.js":4074,"./hi":5079,"./hi.js":5079,"./hr":8562,"./hr.js":8562,"./hu":7778,"./hu.js":7778,"./hy-am":8732,"./hy-am.js":8732,"./id":4654,"./id.js":4654,"./is":3330,"./is.js":3330,"./it":9455,"./it-ch":42,"./it-ch.js":42,"./it.js":9455,"./ja":3709,"./ja.js":3709,"./jv":776,"./jv.js":776,"./ka":5686,"./ka.js":5686,"./kk":6867,"./kk.js":6867,"./km":2504,"./km.js":2504,"./kn":9010,"./kn.js":9010,"./ko":7697,"./ko.js":7697,"./ku":1486,"./ku.js":1486,"./ky":2604,"./ky.js":2604,"./lb":9707,"./lb.js":9707,"./lo":1931,"./lo.js":1931,"./lt":5045,"./lt.js":5045,"./lv":3827,"./lv.js":3827,"./me":1827,"./me.js":1827,"./mi":3165,"./mi.js":3165,"./mk":4061,"./mk.js":4061,"./ml":2488,"./ml.js":2488,"./mn":9326,"./mn.js":9326,"./mr":1382,"./mr.js":1382,"./ms":2348,"./ms-my":1729,"./ms-my.js":1729,"./ms.js":2348,"./mt":5428,"./mt.js":5428,"./my":211,"./my.js":211,"./nb":148,"./nb.js":148,"./ne":7722,"./ne.js":7722,"./nl":9911,"./nl-be":4543,"./nl-be.js":4543,"./nl.js":9911,"./nn":7509,"./nn.js":7509,"./oc-lnc":262,"./oc-lnc.js":262,"./pa-in":9866,"./pa-in.js":9866,"./pl":2698,"./pl.js":2698,"./pt":4913,"./pt-br":6999,"./pt-br.js":6999,"./pt.js":4913,"./ro":4474,"./ro.js":4474,"./ru":5936,"./ru.js":5936,"./sd":4664,"./sd.js":4664,"./se":3100,"./se.js":3100,"./si":4709,"./si.js":4709,"./sk":9210,"./sk.js":9210,"./sl":3462,"./sl.js":3462,"./sq":3369,"./sq.js":3369,"./sr":8548,"./sr-cyrl":1687,"./sr-cyrl.js":1687,"./sr.js":8548,"./ss":3111,"./ss.js":3111,"./sv":2021,"./sv.js":2021,"./sw":173,"./sw.js":173,"./ta":1683,"./ta.js":1683,"./te":1893,"./te.js":1893,"./tet":2931,"./tet.js":2931,"./tg":7936,"./tg.js":7936,"./th":4162,"./th.js":4162,"./tk":62,"./tk.js":62,"./tl-ph":5779,"./tl-ph.js":5779,"./tlh":4702,"./tlh.js":4702,"./tr":2442,"./tr.js":2442,"./tzl":8166,"./tzl.js":8166,"./tzm":2503,"./tzm-latn":1654,"./tzm-latn.js":1654,"./tzm.js":2503,"./ug-cn":6937,"./ug-cn.js":6937,"./uk":2695,"./uk.js":2695,"./ur":5431,"./ur.js":5431,"./uz":1399,"./uz-latn":2461,"./uz-latn.js":2461,"./uz.js":1399,"./vi":3856,"./vi.js":3856,"./x-pseudo":5017,"./x-pseudo.js":5017,"./yo":7501,"./yo.js":7501,"./zh-cn":6131,"./zh-cn.js":6131,"./zh-hk":6023,"./zh-hk.js":6023,"./zh-mo":5221,"./zh-mo.js":5221,"./zh-tw":9611,"./zh-tw.js":9611};function i(e){var t=o(e);return n(t)}function o(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}i.keys=function(){return Object.keys(r)},i.resolve=o,e.exports=i,i.id=4532},5914:function(e,t,n){(e=n.nmd(e)).exports=function(){"use strict";var t,r;function i(){return t.apply(null,arguments)}function o(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function a(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function s(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function l(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(s(e,t))return!1;return!0}function c(e){return void 0===e}function u(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function h(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function p(e,t){var n,r=[];for(n=0;n<e.length;++n)r.push(t(e[n],n));return r}function d(e,t){for(var n in t)s(t,n)&&(e[n]=t[n]);return s(t,"toString")&&(e.toString=t.toString),s(t,"valueOf")&&(e.valueOf=t.valueOf),e}function f(e,t,n,r){return Dt(e,t,n,r,!0).utc()}function m(e){return null==e._pf&&(e._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}),e._pf}function g(e){if(null==e._isValid){var t=m(e),n=r.call(t.parsedDateParts,(function(e){return null!=e})),i=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n);if(e._strict&&(i=i&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return i;e._isValid=i}return e._isValid}function y(e){var t=f(NaN);return null!=e?d(m(t),e):m(t).userInvalidated=!0,t}r=Array.prototype.some?Array.prototype.some:function(e){var t,n=Object(this),r=n.length>>>0;for(t=0;t<r;t++)if(t in n&&e.call(this,n[t],t,n))return!0;return!1};var v=i.momentProperties=[],_=!1;function b(e,t){var n,r,i;if(c(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),c(t._i)||(e._i=t._i),c(t._f)||(e._f=t._f),c(t._l)||(e._l=t._l),c(t._strict)||(e._strict=t._strict),c(t._tzm)||(e._tzm=t._tzm),c(t._isUTC)||(e._isUTC=t._isUTC),c(t._offset)||(e._offset=t._offset),c(t._pf)||(e._pf=m(t)),c(t._locale)||(e._locale=t._locale),v.length>0)for(n=0;n<v.length;n++)c(i=t[r=v[n]])||(e[r]=i);return e}function E(e){b(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===_&&(_=!0,i.updateOffset(this),_=!1)}function T(e){return e instanceof E||null!=e&&null!=e._isAMomentObject}function x(e){!1===i.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function S(e,t){var n=!0;return d((function(){if(null!=i.deprecationHandler&&i.deprecationHandler(null,e),n){var r,o,a,l=[];for(o=0;o<arguments.length;o++){if(r="","object"==typeof arguments[o]){for(a in r+="\n["+o+"] ",arguments[0])s(arguments[0],a)&&(r+=a+": "+arguments[0][a]+", ");r=r.slice(0,-2)}else r=arguments[o];l.push(r)}x(e+"\nArguments: "+Array.prototype.slice.call(l).join("")+"\n"+(new Error).stack),n=!1}return t.apply(this,arguments)}),t)}var C,A={};function R(e,t){null!=i.deprecationHandler&&i.deprecationHandler(e,t),A[e]||(x(t),A[e]=!0)}function w(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function L(e,t){var n,r=d({},e);for(n in t)s(t,n)&&(a(e[n])&&a(t[n])?(r[n]={},d(r[n],e[n]),d(r[n],t[n])):null!=t[n]?r[n]=t[n]:delete r[n]);for(n in e)s(e,n)&&!s(t,n)&&a(e[n])&&(r[n]=d({},r[n]));return r}function O(e){null!=e&&this.set(e)}i.suppressDeprecationWarnings=!1,i.deprecationHandler=null,C=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)s(e,t)&&n.push(t);return n};function N(e,t,n){var r=""+Math.abs(e),i=t-r.length;return(e>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+r}var I=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,k=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,D={},P={};function M(e,t,n,r){var i=r;"string"==typeof r&&(i=function(){return this[r]()}),e&&(P[e]=i),t&&(P[t[0]]=function(){return N(i.apply(this,arguments),t[1],t[2])}),n&&(P[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function F(e,t){return e.isValid()?(t=H(t,e.localeData()),D[t]=D[t]||function(e){var t,n,r,i=e.match(I);for(t=0,n=i.length;t<n;t++)P[i[t]]?i[t]=P[i[t]]:i[t]=(r=i[t]).match(/\[[\s\S]/)?r.replace(/^\[|\]$/g,""):r.replace(/\\/g,"");return function(t){var r,o="";for(r=0;r<n;r++)o+=w(i[r])?i[r].call(t,e):i[r];return o}}(t),D[t](e)):e.localeData().invalidDate()}function H(e,t){var n=5;function r(e){return t.longDateFormat(e)||e}for(k.lastIndex=0;n>=0&&k.test(e);)e=e.replace(k,r),k.lastIndex=0,n-=1;return e}var B={};function U(e,t){var n=e.toLowerCase();B[n]=B[n+"s"]=B[t]=e}function j(e){return"string"==typeof e?B[e]||B[e.toLowerCase()]:void 0}function G(e){var t,n,r={};for(n in e)s(e,n)&&(t=j(n))&&(r[t]=e[n]);return r}var Y={};function z(e,t){Y[e]=t}function $(e){return e%4==0&&e%100!=0||e%400==0}function W(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function V(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=W(t)),n}function K(e,t){return function(n){return null!=n?(X(this,e,n),i.updateOffset(this,t),this):q(this,e)}}function q(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function X(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&$(e.year())&&1===e.month()&&29===e.date()?(n=V(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),Ne(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}var Z,Q=/\d/,J=/\d\d/,ee=/\d{3}/,te=/\d{4}/,ne=/[+-]?\d{6}/,re=/\d\d?/,ie=/\d\d\d\d?/,oe=/\d\d\d\d\d\d?/,ae=/\d{1,3}/,se=/\d{1,4}/,le=/[+-]?\d{1,6}/,ce=/\d+/,ue=/[+-]?\d+/,he=/Z|[+-]\d\d:?\d\d/gi,pe=/Z|[+-]\d\d(?::?\d\d)?/gi,de=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function fe(e,t,n){Z[e]=w(t)?t:function(e,r){return e&&n?n:t}}function me(e,t){return s(Z,e)?Z[e](t._strict,t._locale):new RegExp(ge(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,n,r,i){return t||n||r||i}))))}function ge(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}Z={};var ye={};function ve(e,t){var n,r=t;for("string"==typeof e&&(e=[e]),u(t)&&(r=function(e,n){n[t]=V(e)}),n=0;n<e.length;n++)ye[e[n]]=r}function _e(e,t){ve(e,(function(e,n,r,i){r._w=r._w||{},t(e,r._w,r,i)}))}function be(e,t,n){null!=t&&s(ye,e)&&ye[e](t,n._a,n,e)}var Ee,Te=0,xe=1,Se=2,Ce=3,Ae=4,Re=5,we=6,Le=7,Oe=8;function Ne(e,t){if(isNaN(e)||isNaN(t))return NaN;var n,r=(t%(n=12)+n)%n;return e+=(t-r)/12,1===r?$(e)?29:28:31-r%7%2}Ee=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1},M("M",["MM",2],"Mo",(function(){return this.month()+1})),M("MMM",0,0,(function(e){return this.localeData().monthsShort(this,e)})),M("MMMM",0,0,(function(e){return this.localeData().months(this,e)})),U("month","M"),z("month",8),fe("M",re),fe("MM",re,J),fe("MMM",(function(e,t){return t.monthsShortRegex(e)})),fe("MMMM",(function(e,t){return t.monthsRegex(e)})),ve(["M","MM"],(function(e,t){t[xe]=V(e)-1})),ve(["MMM","MMMM"],(function(e,t,n,r){var i=n._locale.monthsParse(e,r,n._strict);null!=i?t[xe]=i:m(n).invalidMonth=e}));var Ie="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ke="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),De=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Pe=de,Me=de;function Fe(e,t,n){var r,i,o,a=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)o=f([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(o,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(o,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(i=Ee.call(this._shortMonthsParse,a))?i:null:-1!==(i=Ee.call(this._longMonthsParse,a))?i:null:"MMM"===t?-1!==(i=Ee.call(this._shortMonthsParse,a))||-1!==(i=Ee.call(this._longMonthsParse,a))?i:null:-1!==(i=Ee.call(this._longMonthsParse,a))||-1!==(i=Ee.call(this._shortMonthsParse,a))?i:null}function He(e,t){var n;if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=V(t);else if(!u(t=e.localeData().monthsParse(t)))return e;return n=Math.min(e.date(),Ne(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function Be(e){return null!=e?(He(this,e),i.updateOffset(this,!0),this):q(this,"Month")}function Ue(){function e(e,t){return t.length-e.length}var t,n,r=[],i=[],o=[];for(t=0;t<12;t++)n=f([2e3,t]),r.push(this.monthsShort(n,"")),i.push(this.months(n,"")),o.push(this.months(n,"")),o.push(this.monthsShort(n,""));for(r.sort(e),i.sort(e),o.sort(e),t=0;t<12;t++)r[t]=ge(r[t]),i[t]=ge(i[t]);for(t=0;t<24;t++)o[t]=ge(o[t]);this._monthsRegex=new RegExp("^("+o.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+r.join("|")+")","i")}function je(e){return $(e)?366:365}M("Y",0,0,(function(){var e=this.year();return e<=9999?N(e,4):"+"+e})),M(0,["YY",2],0,(function(){return this.year()%100})),M(0,["YYYY",4],0,"year"),M(0,["YYYYY",5],0,"year"),M(0,["YYYYYY",6,!0],0,"year"),U("year","y"),z("year",1),fe("Y",ue),fe("YY",re,J),fe("YYYY",se,te),fe("YYYYY",le,ne),fe("YYYYYY",le,ne),ve(["YYYYY","YYYYYY"],Te),ve("YYYY",(function(e,t){t[Te]=2===e.length?i.parseTwoDigitYear(e):V(e)})),ve("YY",(function(e,t){t[Te]=i.parseTwoDigitYear(e)})),ve("Y",(function(e,t){t[Te]=parseInt(e,10)})),i.parseTwoDigitYear=function(e){return V(e)+(V(e)>68?1900:2e3)};var Ge=K("FullYear",!0);function Ye(e,t,n,r,i,o,a){var s;return e<100&&e>=0?(s=new Date(e+400,t,n,r,i,o,a),isFinite(s.getFullYear())&&s.setFullYear(e)):s=new Date(e,t,n,r,i,o,a),s}function ze(e){var t,n;return e<100&&e>=0?((n=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function $e(e,t,n){var r=7+t-n;return-(7+ze(e,0,r).getUTCDay()-t)%7+r-1}function We(e,t,n,r,i){var o,a,s=1+7*(t-1)+(7+n-r)%7+$e(e,r,i);return s<=0?a=je(o=e-1)+s:s>je(e)?(o=e+1,a=s-je(e)):(o=e,a=s),{year:o,dayOfYear:a}}function Ve(e,t,n){var r,i,o=$e(e.year(),t,n),a=Math.floor((e.dayOfYear()-o-1)/7)+1;return a<1?r=a+Ke(i=e.year()-1,t,n):a>Ke(e.year(),t,n)?(r=a-Ke(e.year(),t,n),i=e.year()+1):(i=e.year(),r=a),{week:r,year:i}}function Ke(e,t,n){var r=$e(e,t,n),i=$e(e+1,t,n);return(je(e)-r+i)/7}M("w",["ww",2],"wo","week"),M("W",["WW",2],"Wo","isoWeek"),U("week","w"),U("isoWeek","W"),z("week",5),z("isoWeek",5),fe("w",re),fe("ww",re,J),fe("W",re),fe("WW",re,J),_e(["w","ww","W","WW"],(function(e,t,n,r){t[r.substr(0,1)]=V(e)}));function qe(e,t){return e.slice(t,7).concat(e.slice(0,t))}M("d",0,"do","day"),M("dd",0,0,(function(e){return this.localeData().weekdaysMin(this,e)})),M("ddd",0,0,(function(e){return this.localeData().weekdaysShort(this,e)})),M("dddd",0,0,(function(e){return this.localeData().weekdays(this,e)})),M("e",0,0,"weekday"),M("E",0,0,"isoWeekday"),U("day","d"),U("weekday","e"),U("isoWeekday","E"),z("day",11),z("weekday",11),z("isoWeekday",11),fe("d",re),fe("e",re),fe("E",re),fe("dd",(function(e,t){return t.weekdaysMinRegex(e)})),fe("ddd",(function(e,t){return t.weekdaysShortRegex(e)})),fe("dddd",(function(e,t){return t.weekdaysRegex(e)})),_e(["dd","ddd","dddd"],(function(e,t,n,r){var i=n._locale.weekdaysParse(e,r,n._strict);null!=i?t.d=i:m(n).invalidWeekday=e})),_e(["d","e","E"],(function(e,t,n,r){t[r]=V(e)}));var Xe="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Ze="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Qe="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Je=de,et=de,tt=de;function nt(e,t,n){var r,i,o,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)o=f([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(o,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(i=Ee.call(this._weekdaysParse,a))?i:null:"ddd"===t?-1!==(i=Ee.call(this._shortWeekdaysParse,a))?i:null:-1!==(i=Ee.call(this._minWeekdaysParse,a))?i:null:"dddd"===t?-1!==(i=Ee.call(this._weekdaysParse,a))||-1!==(i=Ee.call(this._shortWeekdaysParse,a))||-1!==(i=Ee.call(this._minWeekdaysParse,a))?i:null:"ddd"===t?-1!==(i=Ee.call(this._shortWeekdaysParse,a))||-1!==(i=Ee.call(this._weekdaysParse,a))||-1!==(i=Ee.call(this._minWeekdaysParse,a))?i:null:-1!==(i=Ee.call(this._minWeekdaysParse,a))||-1!==(i=Ee.call(this._weekdaysParse,a))||-1!==(i=Ee.call(this._shortWeekdaysParse,a))?i:null}function rt(){function e(e,t){return t.length-e.length}var t,n,r,i,o,a=[],s=[],l=[],c=[];for(t=0;t<7;t++)n=f([2e3,1]).day(t),r=ge(this.weekdaysMin(n,"")),i=ge(this.weekdaysShort(n,"")),o=ge(this.weekdays(n,"")),a.push(r),s.push(i),l.push(o),c.push(r),c.push(i),c.push(o);a.sort(e),s.sort(e),l.sort(e),c.sort(e),this._weekdaysRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function it(){return this.hours()%12||12}function ot(e,t){M(e,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)}))}function at(e,t){return t._meridiemParse}M("H",["HH",2],0,"hour"),M("h",["hh",2],0,it),M("k",["kk",2],0,(function(){return this.hours()||24})),M("hmm",0,0,(function(){return""+it.apply(this)+N(this.minutes(),2)})),M("hmmss",0,0,(function(){return""+it.apply(this)+N(this.minutes(),2)+N(this.seconds(),2)})),M("Hmm",0,0,(function(){return""+this.hours()+N(this.minutes(),2)})),M("Hmmss",0,0,(function(){return""+this.hours()+N(this.minutes(),2)+N(this.seconds(),2)})),ot("a",!0),ot("A",!1),U("hour","h"),z("hour",13),fe("a",at),fe("A",at),fe("H",re),fe("h",re),fe("k",re),fe("HH",re,J),fe("hh",re,J),fe("kk",re,J),fe("hmm",ie),fe("hmmss",oe),fe("Hmm",ie),fe("Hmmss",oe),ve(["H","HH"],Ce),ve(["k","kk"],(function(e,t,n){var r=V(e);t[Ce]=24===r?0:r})),ve(["a","A"],(function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e})),ve(["h","hh"],(function(e,t,n){t[Ce]=V(e),m(n).bigHour=!0})),ve("hmm",(function(e,t,n){var r=e.length-2;t[Ce]=V(e.substr(0,r)),t[Ae]=V(e.substr(r)),m(n).bigHour=!0})),ve("hmmss",(function(e,t,n){var r=e.length-4,i=e.length-2;t[Ce]=V(e.substr(0,r)),t[Ae]=V(e.substr(r,2)),t[Re]=V(e.substr(i)),m(n).bigHour=!0})),ve("Hmm",(function(e,t,n){var r=e.length-2;t[Ce]=V(e.substr(0,r)),t[Ae]=V(e.substr(r))})),ve("Hmmss",(function(e,t,n){var r=e.length-4,i=e.length-2;t[Ce]=V(e.substr(0,r)),t[Ae]=V(e.substr(r,2)),t[Re]=V(e.substr(i))}));var st=K("Hours",!0);var lt,ct={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Ie,monthsShort:ke,week:{dow:0,doy:6},weekdays:Xe,weekdaysMin:Qe,weekdaysShort:Ze,meridiemParse:/[ap]\.?m?\.?/i},ut={},ht={};function pt(e,t){var n,r=Math.min(e.length,t.length);for(n=0;n<r;n+=1)if(e[n]!==t[n])return n;return r}function dt(e){return e?e.toLowerCase().replace("_","-"):e}function ft(t){var r=null;if(void 0===ut[t]&&e&&e.exports)try{r=lt._abbr,n(4532)("./"+t),mt(r)}catch(e){ut[t]=null}return ut[t]}function mt(e,t){var n;return e&&((n=c(t)?yt(e):gt(e,t))?lt=n:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),lt._abbr}function gt(e,t){if(null!==t){var n,r=ct;if(t.abbr=e,null!=ut[e])R("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),r=ut[e]._config;else if(null!=t.parentLocale)if(null!=ut[t.parentLocale])r=ut[t.parentLocale]._config;else{if(null==(n=ft(t.parentLocale)))return ht[t.parentLocale]||(ht[t.parentLocale]=[]),ht[t.parentLocale].push({name:e,config:t}),null;r=n._config}return ut[e]=new O(L(r,t)),ht[e]&&ht[e].forEach((function(e){gt(e.name,e.config)})),mt(e),ut[e]}return delete ut[e],null}function yt(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return lt;if(!o(e)){if(t=ft(e))return t;e=[e]}return function(e){for(var t,n,r,i,o=0;o<e.length;){for(t=(i=dt(e[o]).split("-")).length,n=(n=dt(e[o+1]))?n.split("-"):null;t>0;){if(r=ft(i.slice(0,t).join("-")))return r;if(n&&n.length>=t&&pt(i,n)>=t-1)break;t--}o++}return lt}(e)}function vt(e){var t,n=e._a;return n&&-2===m(e).overflow&&(t=n[xe]<0||n[xe]>11?xe:n[Se]<1||n[Se]>Ne(n[Te],n[xe])?Se:n[Ce]<0||n[Ce]>24||24===n[Ce]&&(0!==n[Ae]||0!==n[Re]||0!==n[we])?Ce:n[Ae]<0||n[Ae]>59?Ae:n[Re]<0||n[Re]>59?Re:n[we]<0||n[we]>999?we:-1,m(e)._overflowDayOfYear&&(t<Te||t>Se)&&(t=Se),m(e)._overflowWeeks&&-1===t&&(t=Le),m(e)._overflowWeekday&&-1===t&&(t=Oe),m(e).overflow=t),e}var _t=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,bt=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Et=/Z|[+-]\d\d(?::?\d\d)?/,Tt=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],xt=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],St=/^\/?Date\((-?\d+)/i,Ct=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,At={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Rt(e){var t,n,r,i,o,a,s=e._i,l=_t.exec(s)||bt.exec(s);if(l){for(m(e).iso=!0,t=0,n=Tt.length;t<n;t++)if(Tt[t][1].exec(l[1])){i=Tt[t][0],r=!1!==Tt[t][2];break}if(null==i)return void(e._isValid=!1);if(l[3]){for(t=0,n=xt.length;t<n;t++)if(xt[t][1].exec(l[3])){o=(l[2]||" ")+xt[t][0];break}if(null==o)return void(e._isValid=!1)}if(!r&&null!=o)return void(e._isValid=!1);if(l[4]){if(!Et.exec(l[4]))return void(e._isValid=!1);a="Z"}e._f=i+(o||"")+(a||""),It(e)}else e._isValid=!1}function wt(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function Lt(e){var t,n,r,i,o,a,s,l,c=Ct.exec(e._i.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));if(c){if(n=c[4],r=c[3],i=c[2],o=c[5],a=c[6],s=c[7],l=[wt(n),ke.indexOf(r),parseInt(i,10),parseInt(o,10),parseInt(a,10)],s&&l.push(parseInt(s,10)),t=l,!function(e,t,n){return!e||Ze.indexOf(e)===new Date(t[0],t[1],t[2]).getDay()||(m(n).weekdayMismatch=!0,n._isValid=!1,!1)}(c[1],t,e))return;e._a=t,e._tzm=function(e,t,n){if(e)return At[e];if(t)return 0;var r=parseInt(n,10),i=r%100;return(r-i)/100*60+i}(c[8],c[9],c[10]),e._d=ze.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),m(e).rfc2822=!0}else e._isValid=!1}function Ot(e,t,n){return null!=e?e:null!=t?t:n}function Nt(e){var t,n,r,o,a,s=[];if(!e._d){for(r=function(e){var t=new Date(i.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}(e),e._w&&null==e._a[Se]&&null==e._a[xe]&&function(e){var t,n,r,i,o,a,s,l,c;null!=(t=e._w).GG||null!=t.W||null!=t.E?(o=1,a=4,n=Ot(t.GG,e._a[Te],Ve(Pt(),1,4).year),r=Ot(t.W,1),((i=Ot(t.E,1))<1||i>7)&&(l=!0)):(o=e._locale._week.dow,a=e._locale._week.doy,c=Ve(Pt(),o,a),n=Ot(t.gg,e._a[Te],c.year),r=Ot(t.w,c.week),null!=t.d?((i=t.d)<0||i>6)&&(l=!0):null!=t.e?(i=t.e+o,(t.e<0||t.e>6)&&(l=!0)):i=o),r<1||r>Ke(n,o,a)?m(e)._overflowWeeks=!0:null!=l?m(e)._overflowWeekday=!0:(s=We(n,r,i,o,a),e._a[Te]=s.year,e._dayOfYear=s.dayOfYear)}(e),null!=e._dayOfYear&&(a=Ot(e._a[Te],r[Te]),(e._dayOfYear>je(a)||0===e._dayOfYear)&&(m(e)._overflowDayOfYear=!0),n=ze(a,0,e._dayOfYear),e._a[xe]=n.getUTCMonth(),e._a[Se]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=s[t]=r[t];for(;t<7;t++)e._a[t]=s[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[Ce]&&0===e._a[Ae]&&0===e._a[Re]&&0===e._a[we]&&(e._nextDay=!0,e._a[Ce]=0),e._d=(e._useUTC?ze:Ye).apply(null,s),o=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[Ce]=24),e._w&&void 0!==e._w.d&&e._w.d!==o&&(m(e).weekdayMismatch=!0)}}function It(e){if(e._f!==i.ISO_8601)if(e._f!==i.RFC_2822){e._a=[],m(e).empty=!0;var t,n,r,o,a,s,l=""+e._i,c=l.length,u=0;for(r=H(e._f,e._locale).match(I)||[],t=0;t<r.length;t++)o=r[t],(n=(l.match(me(o,e))||[])[0])&&((a=l.substr(0,l.indexOf(n))).length>0&&m(e).unusedInput.push(a),l=l.slice(l.indexOf(n)+n.length),u+=n.length),P[o]?(n?m(e).empty=!1:m(e).unusedTokens.push(o),be(o,n,e)):e._strict&&!n&&m(e).unusedTokens.push(o);m(e).charsLeftOver=c-u,l.length>0&&m(e).unusedInput.push(l),e._a[Ce]<=12&&!0===m(e).bigHour&&e._a[Ce]>0&&(m(e).bigHour=void 0),m(e).parsedDateParts=e._a.slice(0),m(e).meridiem=e._meridiem,e._a[Ce]=function(e,t,n){var r;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?((r=e.isPM(n))&&t<12&&(t+=12),r||12!==t||(t=0),t):t}(e._locale,e._a[Ce],e._meridiem),null!==(s=m(e).era)&&(e._a[Te]=e._locale.erasConvertYear(s,e._a[Te])),Nt(e),vt(e)}else Lt(e);else Rt(e)}function kt(e){var t=e._i,n=e._f;return e._locale=e._locale||yt(e._l),null===t||void 0===n&&""===t?y({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),T(t)?new E(vt(t)):(h(t)?e._d=t:o(n)?function(e){var t,n,r,i,o,a,s=!1;if(0===e._f.length)return m(e).invalidFormat=!0,void(e._d=new Date(NaN));for(i=0;i<e._f.length;i++)o=0,a=!1,t=b({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[i],It(t),g(t)&&(a=!0),o+=m(t).charsLeftOver,o+=10*m(t).unusedTokens.length,m(t).score=o,s?o<r&&(r=o,n=t):(null==r||o<r||a)&&(r=o,n=t,a&&(s=!0));d(e,n||t)}(e):n?It(e):function(e){var t=e._i;c(t)?e._d=new Date(i.now()):h(t)?e._d=new Date(t.valueOf()):"string"==typeof t?function(e){var t=St.exec(e._i);null===t?(Rt(e),!1===e._isValid&&(delete e._isValid,Lt(e),!1===e._isValid&&(delete e._isValid,e._strict?e._isValid=!1:i.createFromInputFallback(e)))):e._d=new Date(+t[1])}(e):o(t)?(e._a=p(t.slice(0),(function(e){return parseInt(e,10)})),Nt(e)):a(t)?function(e){if(!e._d){var t=G(e._i),n=void 0===t.day?t.date:t.day;e._a=p([t.year,t.month,n,t.hour,t.minute,t.second,t.millisecond],(function(e){return e&&parseInt(e,10)})),Nt(e)}}(e):u(t)?e._d=new Date(t):i.createFromInputFallback(e)}(e),g(e)||(e._d=null),e))}function Dt(e,t,n,r,i){var s,c={};return!0!==t&&!1!==t||(r=t,t=void 0),!0!==n&&!1!==n||(r=n,n=void 0),(a(e)&&l(e)||o(e)&&0===e.length)&&(e=void 0),c._isAMomentObject=!0,c._useUTC=c._isUTC=i,c._l=n,c._i=e,c._f=t,c._strict=r,(s=new E(vt(kt(c))))._nextDay&&(s.add(1,"d"),s._nextDay=void 0),s}function Pt(e,t,n,r){return Dt(e,t,n,r,!1)}i.createFromInputFallback=S("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",(function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))})),i.ISO_8601=function(){},i.RFC_2822=function(){};var Mt=S("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=Pt.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:y()})),Ft=S("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=Pt.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:y()}));function Ht(e,t){var n,r;if(1===t.length&&o(t[0])&&(t=t[0]),!t.length)return Pt();for(n=t[0],r=1;r<t.length;++r)t[r].isValid()&&!t[r][e](n)||(n=t[r]);return n}var Bt=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Ut(e){var t=G(e),n=t.year||0,r=t.quarter||0,i=t.month||0,o=t.week||t.isoWeek||0,a=t.day||0,l=t.hour||0,c=t.minute||0,u=t.second||0,h=t.millisecond||0;this._isValid=function(e){var t,n,r=!1;for(t in e)if(s(e,t)&&(-1===Ee.call(Bt,t)||null!=e[t]&&isNaN(e[t])))return!1;for(n=0;n<Bt.length;++n)if(e[Bt[n]]){if(r)return!1;parseFloat(e[Bt[n]])!==V(e[Bt[n]])&&(r=!0)}return!0}(t),this._milliseconds=+h+1e3*u+6e4*c+1e3*l*60*60,this._days=+a+7*o,this._months=+i+3*r+12*n,this._data={},this._locale=yt(),this._bubble()}function jt(e){return e instanceof Ut}function Gt(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function Yt(e,t){M(e,0,0,(function(){var e=this.utcOffset(),n="+";return e<0&&(e=-e,n="-"),n+N(~~(e/60),2)+t+N(~~e%60,2)}))}Yt("Z",":"),Yt("ZZ",""),fe("Z",pe),fe("ZZ",pe),ve(["Z","ZZ"],(function(e,t,n){n._useUTC=!0,n._tzm=$t(pe,e)}));var zt=/([\+\-]|\d\d)/gi;function $t(e,t){var n,r,i=(t||"").match(e);return null===i?null:0===(r=60*(n=((i[i.length-1]||[])+"").match(zt)||["-",0,0])[1]+V(n[2]))?0:"+"===n[0]?r:-r}function Wt(e,t){var n,r;return t._isUTC?(n=t.clone(),r=(T(e)||h(e)?e.valueOf():Pt(e).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+r),i.updateOffset(n,!1),n):Pt(e).local()}function Vt(e){return-Math.round(e._d.getTimezoneOffset())}function Kt(){return!!this.isValid()&&this._isUTC&&0===this._offset}i.updateOffset=function(){};var qt=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Xt=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Zt(e,t){var n,r,i,o,a,l,c=e,h=null;return jt(e)?c={ms:e._milliseconds,d:e._days,M:e._months}:u(e)||!isNaN(+e)?(c={},t?c[t]=+e:c.milliseconds=+e):(h=qt.exec(e))?(n="-"===h[1]?-1:1,c={y:0,d:V(h[Se])*n,h:V(h[Ce])*n,m:V(h[Ae])*n,s:V(h[Re])*n,ms:V(Gt(1e3*h[we]))*n}):(h=Xt.exec(e))?(n="-"===h[1]?-1:1,c={y:Qt(h[2],n),M:Qt(h[3],n),w:Qt(h[4],n),d:Qt(h[5],n),h:Qt(h[6],n),m:Qt(h[7],n),s:Qt(h[8],n)}):null==c?c={}:"object"==typeof c&&("from"in c||"to"in c)&&(o=Pt(c.from),a=Pt(c.to),i=o.isValid()&&a.isValid()?(a=Wt(a,o),o.isBefore(a)?l=Jt(o,a):((l=Jt(a,o)).milliseconds=-l.milliseconds,l.months=-l.months),l):{milliseconds:0,months:0},(c={}).ms=i.milliseconds,c.M=i.months),r=new Ut(c),jt(e)&&s(e,"_locale")&&(r._locale=e._locale),jt(e)&&s(e,"_isValid")&&(r._isValid=e._isValid),r}function Qt(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Jt(e,t){var n={};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function en(e,t){return function(n,r){var i;return null===r||isNaN(+r)||(R(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),i=n,n=r,r=i),tn(this,Zt(n,r),e),this}}function tn(e,t,n,r){var o=t._milliseconds,a=Gt(t._days),s=Gt(t._months);e.isValid()&&(r=null==r||r,s&&He(e,q(e,"Month")+s*n),a&&X(e,"Date",q(e,"Date")+a*n),o&&e._d.setTime(e._d.valueOf()+o*n),r&&i.updateOffset(e,a||s))}Zt.fn=Ut.prototype,Zt.invalid=function(){return Zt(NaN)};var nn=en(1,"add"),rn=en(-1,"subtract");function on(e){return"string"==typeof e||e instanceof String}function an(e){return T(e)||h(e)||on(e)||u(e)||function(e){var t=o(e),n=!1;return t&&(n=0===e.filter((function(t){return!u(t)&&on(e)})).length),t&&n}(e)||function(e){var t,n,r=a(e)&&!l(e),i=!1,o=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"];for(t=0;t<o.length;t+=1)n=o[t],i=i||s(e,n);return r&&i}(e)||null==e}function sn(e,t){if(e.date()<t.date())return-sn(t,e);var n=12*(t.year()-e.year())+(t.month()-e.month()),r=e.clone().add(n,"months");return-(n+(t-r<0?(t-r)/(r-e.clone().add(n-1,"months")):(t-r)/(e.clone().add(n+1,"months")-r)))||0}function ln(e){var t;return void 0===e?this._locale._abbr:(null!=(t=yt(e))&&(this._locale=t),this)}i.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",i.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var cn=S("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",(function(e){return void 0===e?this.localeData():this.locale(e)}));function un(){return this._locale}var hn=1e3,pn=6e4,dn=36e5,fn=126227808e5;function mn(e,t){return(e%t+t)%t}function gn(e,t,n){return e<100&&e>=0?new Date(e+400,t,n)-fn:new Date(e,t,n).valueOf()}function yn(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-fn:Date.UTC(e,t,n)}function vn(e,t){return t.erasAbbrRegex(e)}function _n(){var e,t,n=[],r=[],i=[],o=[],a=this.eras();for(e=0,t=a.length;e<t;++e)r.push(ge(a[e].name)),n.push(ge(a[e].abbr)),i.push(ge(a[e].narrow)),o.push(ge(a[e].name)),o.push(ge(a[e].abbr)),o.push(ge(a[e].narrow));this._erasRegex=new RegExp("^("+o.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+r.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+n.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+i.join("|")+")","i")}function bn(e,t){M(0,[e,e.length],0,t)}function En(e,t,n,r,i){var o;return null==e?Ve(this,r,i).year:(t>(o=Ke(e,r,i))&&(t=o),Tn.call(this,e,t,n,r,i))}function Tn(e,t,n,r,i){var o=We(e,t,n,r,i),a=ze(o.year,0,o.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}M("N",0,0,"eraAbbr"),M("NN",0,0,"eraAbbr"),M("NNN",0,0,"eraAbbr"),M("NNNN",0,0,"eraName"),M("NNNNN",0,0,"eraNarrow"),M("y",["y",1],"yo","eraYear"),M("y",["yy",2],0,"eraYear"),M("y",["yyy",3],0,"eraYear"),M("y",["yyyy",4],0,"eraYear"),fe("N",vn),fe("NN",vn),fe("NNN",vn),fe("NNNN",(function(e,t){return t.erasNameRegex(e)})),fe("NNNNN",(function(e,t){return t.erasNarrowRegex(e)})),ve(["N","NN","NNN","NNNN","NNNNN"],(function(e,t,n,r){var i=n._locale.erasParse(e,r,n._strict);i?m(n).era=i:m(n).invalidEra=e})),fe("y",ce),fe("yy",ce),fe("yyy",ce),fe("yyyy",ce),fe("yo",(function(e,t){return t._eraYearOrdinalRegex||ce})),ve(["y","yy","yyy","yyyy"],Te),ve(["yo"],(function(e,t,n,r){var i;n._locale._eraYearOrdinalRegex&&(i=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[Te]=n._locale.eraYearOrdinalParse(e,i):t[Te]=parseInt(e,10)})),M(0,["gg",2],0,(function(){return this.weekYear()%100})),M(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),bn("gggg","weekYear"),bn("ggggg","weekYear"),bn("GGGG","isoWeekYear"),bn("GGGGG","isoWeekYear"),U("weekYear","gg"),U("isoWeekYear","GG"),z("weekYear",1),z("isoWeekYear",1),fe("G",ue),fe("g",ue),fe("GG",re,J),fe("gg",re,J),fe("GGGG",se,te),fe("gggg",se,te),fe("GGGGG",le,ne),fe("ggggg",le,ne),_e(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,n,r){t[r.substr(0,2)]=V(e)})),_e(["gg","GG"],(function(e,t,n,r){t[r]=i.parseTwoDigitYear(e)})),M("Q",0,"Qo","quarter"),U("quarter","Q"),z("quarter",7),fe("Q",Q),ve("Q",(function(e,t){t[xe]=3*(V(e)-1)})),M("D",["DD",2],"Do","date"),U("date","D"),z("date",9),fe("D",re),fe("DD",re,J),fe("Do",(function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient})),ve(["D","DD"],Se),ve("Do",(function(e,t){t[Se]=V(e.match(re)[0])}));var xn=K("Date",!0);M("DDD",["DDDD",3],"DDDo","dayOfYear"),U("dayOfYear","DDD"),z("dayOfYear",4),fe("DDD",ae),fe("DDDD",ee),ve(["DDD","DDDD"],(function(e,t,n){n._dayOfYear=V(e)})),M("m",["mm",2],0,"minute"),U("minute","m"),z("minute",14),fe("m",re),fe("mm",re,J),ve(["m","mm"],Ae);var Sn=K("Minutes",!1);M("s",["ss",2],0,"second"),U("second","s"),z("second",15),fe("s",re),fe("ss",re,J),ve(["s","ss"],Re);var Cn,An,Rn=K("Seconds",!1);for(M("S",0,0,(function(){return~~(this.millisecond()/100)})),M(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),M(0,["SSS",3],0,"millisecond"),M(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),M(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),M(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),M(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),M(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),M(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),U("millisecond","ms"),z("millisecond",16),fe("S",ae,Q),fe("SS",ae,J),fe("SSS",ae,ee),Cn="SSSS";Cn.length<=9;Cn+="S")fe(Cn,ce);function wn(e,t){t[we]=V(1e3*("0."+e))}for(Cn="S";Cn.length<=9;Cn+="S")ve(Cn,wn);An=K("Milliseconds",!1),M("z",0,0,"zoneAbbr"),M("zz",0,0,"zoneName");var Ln=E.prototype;function On(e){return e}Ln.add=nn,Ln.calendar=function(e,t){1===arguments.length&&(arguments[0]?an(arguments[0])?(e=arguments[0],t=void 0):function(e){var t,n=a(e)&&!l(e),r=!1,i=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(t=0;t<i.length;t+=1)r=r||s(e,i[t]);return n&&r}(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var n=e||Pt(),r=Wt(n,this).startOf("day"),o=i.calendarFormat(this,r)||"sameElse",c=t&&(w(t[o])?t[o].call(this,n):t[o]);return this.format(c||this.localeData().calendar(o,this,Pt(n)))},Ln.clone=function(){return new E(this)},Ln.diff=function(e,t,n){var r,i,o;if(!this.isValid())return NaN;if(!(r=Wt(e,this)).isValid())return NaN;switch(i=6e4*(r.utcOffset()-this.utcOffset()),t=j(t)){case"year":o=sn(this,r)/12;break;case"month":o=sn(this,r);break;case"quarter":o=sn(this,r)/3;break;case"second":o=(this-r)/1e3;break;case"minute":o=(this-r)/6e4;break;case"hour":o=(this-r)/36e5;break;case"day":o=(this-r-i)/864e5;break;case"week":o=(this-r-i)/6048e5;break;default:o=this-r}return n?o:W(o)},Ln.endOf=function(e){var t,n;if(void 0===(e=j(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?yn:gn,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=dn-mn(t+(this._isUTC?0:this.utcOffset()*pn),dn)-1;break;case"minute":t=this._d.valueOf(),t+=pn-mn(t,pn)-1;break;case"second":t=this._d.valueOf(),t+=hn-mn(t,hn)-1}return this._d.setTime(t),i.updateOffset(this,!0),this},Ln.format=function(e){e||(e=this.isUtc()?i.defaultFormatUtc:i.defaultFormat);var t=F(this,e);return this.localeData().postformat(t)},Ln.from=function(e,t){return this.isValid()&&(T(e)&&e.isValid()||Pt(e).isValid())?Zt({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},Ln.fromNow=function(e){return this.from(Pt(),e)},Ln.to=function(e,t){return this.isValid()&&(T(e)&&e.isValid()||Pt(e).isValid())?Zt({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},Ln.toNow=function(e){return this.to(Pt(),e)},Ln.get=function(e){return w(this[e=j(e)])?this[e]():this},Ln.invalidAt=function(){return m(this).overflow},Ln.isAfter=function(e,t){var n=T(e)?e:Pt(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=j(t)||"millisecond")?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf())},Ln.isBefore=function(e,t){var n=T(e)?e:Pt(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=j(t)||"millisecond")?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf())},Ln.isBetween=function(e,t,n,r){var i=T(e)?e:Pt(e),o=T(t)?t:Pt(t);return!!(this.isValid()&&i.isValid()&&o.isValid())&&("("===(r=r||"()")[0]?this.isAfter(i,n):!this.isBefore(i,n))&&(")"===r[1]?this.isBefore(o,n):!this.isAfter(o,n))},Ln.isSame=function(e,t){var n,r=T(e)?e:Pt(e);return!(!this.isValid()||!r.isValid())&&("millisecond"===(t=j(t)||"millisecond")?this.valueOf()===r.valueOf():(n=r.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf()))},Ln.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},Ln.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},Ln.isValid=function(){return g(this)},Ln.lang=cn,Ln.locale=ln,Ln.localeData=un,Ln.max=Ft,Ln.min=Mt,Ln.parsingFlags=function(){return d({},m(this))},Ln.set=function(e,t){if("object"==typeof e){var n,r=function(e){var t,n=[];for(t in e)s(e,t)&&n.push({unit:t,priority:Y[t]});return n.sort((function(e,t){return e.priority-t.priority})),n}(e=G(e));for(n=0;n<r.length;n++)this[r[n].unit](e[r[n].unit])}else if(w(this[e=j(e)]))return this[e](t);return this},Ln.startOf=function(e){var t,n;if(void 0===(e=j(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?yn:gn,e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=mn(t+(this._isUTC?0:this.utcOffset()*pn),dn);break;case"minute":t=this._d.valueOf(),t-=mn(t,pn);break;case"second":t=this._d.valueOf(),t-=mn(t,hn)}return this._d.setTime(t),i.updateOffset(this,!0),this},Ln.subtract=rn,Ln.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},Ln.toObject=function(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}},Ln.toDate=function(){return new Date(this.valueOf())},Ln.toISOString=function(e){if(!this.isValid())return null;var t=!0!==e,n=t?this.clone().utc():this;return n.year()<0||n.year()>9999?F(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):w(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",F(n,"Z")):F(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},Ln.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t,n,r="moment",i="";return this.isLocal()||(r=0===this.utcOffset()?"moment.utc":"moment.parseZone",i="Z"),e="["+r+'("]',t=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY","-MM-DD[T]HH:mm:ss.SSS",n=i+'[")]',this.format(e+t+"-MM-DD[T]HH:mm:ss.SSS"+n)},"undefined"!=typeof Symbol&&null!=Symbol.for&&(Ln[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),Ln.toJSON=function(){return this.isValid()?this.toISOString():null},Ln.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},Ln.unix=function(){return Math.floor(this.valueOf()/1e3)},Ln.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},Ln.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},Ln.eraName=function(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e){if(n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until)return r[e].name;if(r[e].until<=n&&n<=r[e].since)return r[e].name}return""},Ln.eraNarrow=function(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e){if(n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until)return r[e].narrow;if(r[e].until<=n&&n<=r[e].since)return r[e].narrow}return""},Ln.eraAbbr=function(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e){if(n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until)return r[e].abbr;if(r[e].until<=n&&n<=r[e].since)return r[e].abbr}return""},Ln.eraYear=function(){var e,t,n,r,o=this.localeData().eras();for(e=0,t=o.length;e<t;++e)if(n=o[e].since<=o[e].until?1:-1,r=this.clone().startOf("day").valueOf(),o[e].since<=r&&r<=o[e].until||o[e].until<=r&&r<=o[e].since)return(this.year()-i(o[e].since).year())*n+o[e].offset;return this.year()},Ln.year=Ge,Ln.isLeapYear=function(){return $(this.year())},Ln.weekYear=function(e){return En.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},Ln.isoWeekYear=function(e){return En.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},Ln.quarter=Ln.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},Ln.month=Be,Ln.daysInMonth=function(){return Ne(this.year(),this.month())},Ln.week=Ln.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},Ln.isoWeek=Ln.isoWeeks=function(e){var t=Ve(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},Ln.weeksInYear=function(){var e=this.localeData()._week;return Ke(this.year(),e.dow,e.doy)},Ln.weeksInWeekYear=function(){var e=this.localeData()._week;return Ke(this.weekYear(),e.dow,e.doy)},Ln.isoWeeksInYear=function(){return Ke(this.year(),1,4)},Ln.isoWeeksInISOWeekYear=function(){return Ke(this.isoWeekYear(),1,4)},Ln.date=xn,Ln.day=Ln.days=function(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=function(e,t){return"string"!=typeof e?e:isNaN(e)?"number"==typeof(e=t.weekdaysParse(e))?e:null:parseInt(e,10)}(e,this.localeData()),this.add(e-t,"d")):t},Ln.weekday=function(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")},Ln.isoWeekday=function(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=function(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7},Ln.dayOfYear=function(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")},Ln.hour=Ln.hours=st,Ln.minute=Ln.minutes=Sn,Ln.second=Ln.seconds=Rn,Ln.millisecond=Ln.milliseconds=An,Ln.utcOffset=function(e,t,n){var r,o=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"==typeof e){if(null===(e=$t(pe,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(r=Vt(this)),this._offset=e,this._isUTC=!0,null!=r&&this.add(r,"m"),o!==e&&(!t||this._changeInProgress?tn(this,Zt(e-o,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,i.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?o:Vt(this)},Ln.utc=function(e){return this.utcOffset(0,e)},Ln.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Vt(this),"m")),this},Ln.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=$t(he,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this},Ln.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?Pt(e).utcOffset():0,(this.utcOffset()-e)%60==0)},Ln.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},Ln.isLocal=function(){return!!this.isValid()&&!this._isUTC},Ln.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},Ln.isUtc=Kt,Ln.isUTC=Kt,Ln.zoneAbbr=function(){return this._isUTC?"UTC":""},Ln.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},Ln.dates=S("dates accessor is deprecated. Use date instead.",xn),Ln.months=S("months accessor is deprecated. Use month instead",Be),Ln.years=S("years accessor is deprecated. Use year instead",Ge),Ln.zone=S("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",(function(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()})),Ln.isDSTShifted=S("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",(function(){if(!c(this._isDSTShifted))return this._isDSTShifted;var e,t={};return b(t,this),(t=kt(t))._a?(e=t._isUTC?f(t._a):Pt(t._a),this._isDSTShifted=this.isValid()&&function(e,t,n){var r,i=Math.min(e.length,t.length),o=Math.abs(e.length-t.length),a=0;for(r=0;r<i;r++)(n&&e[r]!==t[r]||!n&&V(e[r])!==V(t[r]))&&a++;return a+o}(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}));var Nn=O.prototype;function In(e,t,n,r){var i=yt(),o=f().set(r,t);return i[n](o,e)}function kn(e,t,n){if(u(e)&&(t=e,e=void 0),e=e||"",null!=t)return In(e,t,n,"month");var r,i=[];for(r=0;r<12;r++)i[r]=In(e,r,n,"month");return i}function Dn(e,t,n,r){"boolean"==typeof e?(u(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,u(t)&&(n=t,t=void 0),t=t||"");var i,o=yt(),a=e?o._week.dow:0,s=[];if(null!=n)return In(t,(n+a)%7,r,"day");for(i=0;i<7;i++)s[i]=In(t,(i+a)%7,r,"day");return s}Nn.calendar=function(e,t,n){var r=this._calendar[e]||this._calendar.sameElse;return w(r)?r.call(t,n):r},Nn.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(I).map((function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e})).join(""),this._longDateFormat[e])},Nn.invalidDate=function(){return this._invalidDate},Nn.ordinal=function(e){return this._ordinal.replace("%d",e)},Nn.preparse=On,Nn.postformat=On,Nn.relativeTime=function(e,t,n,r){var i=this._relativeTime[n];return w(i)?i(e,t,n,r):i.replace(/%d/i,e)},Nn.pastFuture=function(e,t){var n=this._relativeTime[e>0?"future":"past"];return w(n)?n(t):n.replace(/%s/i,t)},Nn.set=function(e){var t,n;for(n in e)s(e,n)&&(w(t=e[n])?this[n]=t:this["_"+n]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},Nn.eras=function(e,t){var n,r,o,a=this._eras||yt("en")._eras;for(n=0,r=a.length;n<r;++n)switch("string"==typeof a[n].since&&(o=i(a[n].since).startOf("day"),a[n].since=o.valueOf()),typeof a[n].until){case"undefined":a[n].until=1/0;break;case"string":o=i(a[n].until).startOf("day").valueOf(),a[n].until=o.valueOf()}return a},Nn.erasParse=function(e,t,n){var r,i,o,a,s,l=this.eras();for(e=e.toUpperCase(),r=0,i=l.length;r<i;++r)if(o=l[r].name.toUpperCase(),a=l[r].abbr.toUpperCase(),s=l[r].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(a===e)return l[r];break;case"NNNN":if(o===e)return l[r];break;case"NNNNN":if(s===e)return l[r]}else if([o,a,s].indexOf(e)>=0)return l[r]},Nn.erasConvertYear=function(e,t){var n=e.since<=e.until?1:-1;return void 0===t?i(e.since).year():i(e.since).year()+(t-e.offset)*n},Nn.erasAbbrRegex=function(e){return s(this,"_erasAbbrRegex")||_n.call(this),e?this._erasAbbrRegex:this._erasRegex},Nn.erasNameRegex=function(e){return s(this,"_erasNameRegex")||_n.call(this),e?this._erasNameRegex:this._erasRegex},Nn.erasNarrowRegex=function(e){return s(this,"_erasNarrowRegex")||_n.call(this),e?this._erasNarrowRegex:this._erasRegex},Nn.months=function(e,t){return e?o(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||De).test(t)?"format":"standalone"][e.month()]:o(this._months)?this._months:this._months.standalone},Nn.monthsShort=function(e,t){return e?o(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[De.test(t)?"format":"standalone"][e.month()]:o(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},Nn.monthsParse=function(e,t,n){var r,i,o;if(this._monthsParseExact)return Fe.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(i=f([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(o="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[r]=new RegExp(o.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[r].test(e))return r;if(n&&"MMM"===t&&this._shortMonthsParse[r].test(e))return r;if(!n&&this._monthsParse[r].test(e))return r}},Nn.monthsRegex=function(e){return this._monthsParseExact?(s(this,"_monthsRegex")||Ue.call(this),e?this._monthsStrictRegex:this._monthsRegex):(s(this,"_monthsRegex")||(this._monthsRegex=Me),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},Nn.monthsShortRegex=function(e){return this._monthsParseExact?(s(this,"_monthsRegex")||Ue.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(s(this,"_monthsShortRegex")||(this._monthsShortRegex=Pe),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},Nn.week=function(e){return Ve(e,this._week.dow,this._week.doy).week},Nn.firstDayOfYear=function(){return this._week.doy},Nn.firstDayOfWeek=function(){return this._week.dow},Nn.weekdays=function(e,t){var n=o(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?qe(n,this._week.dow):e?n[e.day()]:n},Nn.weekdaysMin=function(e){return!0===e?qe(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},Nn.weekdaysShort=function(e){return!0===e?qe(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},Nn.weekdaysParse=function(e,t,n){var r,i,o;if(this._weekdaysParseExact)return nt.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(i=f([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(i,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(i,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(i,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(o="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[r]=new RegExp(o.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[r].test(e))return r;if(n&&"ddd"===t&&this._shortWeekdaysParse[r].test(e))return r;if(n&&"dd"===t&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}},Nn.weekdaysRegex=function(e){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||rt.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(s(this,"_weekdaysRegex")||(this._weekdaysRegex=Je),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},Nn.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||rt.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(s(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=et),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},Nn.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||rt.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(s(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=tt),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},Nn.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},Nn.meridiem=function(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"},mt("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===V(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),i.lang=S("moment.lang is deprecated. Use moment.locale instead.",mt),i.langData=S("moment.langData is deprecated. Use moment.localeData instead.",yt);var Pn=Math.abs;function Mn(e,t,n,r){var i=Zt(t,n);return e._milliseconds+=r*i._milliseconds,e._days+=r*i._days,e._months+=r*i._months,e._bubble()}function Fn(e){return e<0?Math.floor(e):Math.ceil(e)}function Hn(e){return 4800*e/146097}function Bn(e){return 146097*e/4800}function Un(e){return function(){return this.as(e)}}var jn=Un("ms"),Gn=Un("s"),Yn=Un("m"),zn=Un("h"),$n=Un("d"),Wn=Un("w"),Vn=Un("M"),Kn=Un("Q"),qn=Un("y");function Xn(e){return function(){return this.isValid()?this._data[e]:NaN}}var Zn=Xn("milliseconds"),Qn=Xn("seconds"),Jn=Xn("minutes"),er=Xn("hours"),tr=Xn("days"),nr=Xn("months"),rr=Xn("years");var ir=Math.round,or={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function ar(e,t,n,r,i){return i.relativeTime(t||1,!!n,e,r)}var sr=Math.abs;function lr(e){return(e>0)-(e<0)||+e}function cr(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,r,i,o,a,s,l=sr(this._milliseconds)/1e3,c=sr(this._days),u=sr(this._months),h=this.asSeconds();return h?(e=W(l/60),t=W(e/60),l%=60,e%=60,n=W(u/12),u%=12,r=l?l.toFixed(3).replace(/\.?0+$/,""):"",i=h<0?"-":"",o=lr(this._months)!==lr(h)?"-":"",a=lr(this._days)!==lr(h)?"-":"",s=lr(this._milliseconds)!==lr(h)?"-":"",i+"P"+(n?o+n+"Y":"")+(u?o+u+"M":"")+(c?a+c+"D":"")+(t||e||l?"T":"")+(t?s+t+"H":"")+(e?s+e+"M":"")+(l?s+r+"S":"")):"P0D"}var ur=Ut.prototype;return ur.isValid=function(){return this._isValid},ur.abs=function(){var e=this._data;return this._milliseconds=Pn(this._milliseconds),this._days=Pn(this._days),this._months=Pn(this._months),e.milliseconds=Pn(e.milliseconds),e.seconds=Pn(e.seconds),e.minutes=Pn(e.minutes),e.hours=Pn(e.hours),e.months=Pn(e.months),e.years=Pn(e.years),this},ur.add=function(e,t){return Mn(this,e,t,1)},ur.subtract=function(e,t){return Mn(this,e,t,-1)},ur.as=function(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if("month"===(e=j(e))||"quarter"===e||"year"===e)switch(t=this._days+r/864e5,n=this._months+Hn(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(Bn(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return 24*t+r/36e5;case"minute":return 1440*t+r/6e4;case"second":return 86400*t+r/1e3;case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}},ur.asMilliseconds=jn,ur.asSeconds=Gn,ur.asMinutes=Yn,ur.asHours=zn,ur.asDays=$n,ur.asWeeks=Wn,ur.asMonths=Vn,ur.asQuarters=Kn,ur.asYears=qn,ur.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*V(this._months/12):NaN},ur._bubble=function(){var e,t,n,r,i,o=this._milliseconds,a=this._days,s=this._months,l=this._data;return o>=0&&a>=0&&s>=0||o<=0&&a<=0&&s<=0||(o+=864e5*Fn(Bn(s)+a),a=0,s=0),l.milliseconds=o%1e3,e=W(o/1e3),l.seconds=e%60,t=W(e/60),l.minutes=t%60,n=W(t/60),l.hours=n%24,a+=W(n/24),s+=i=W(Hn(a)),a-=Fn(Bn(i)),r=W(s/12),s%=12,l.days=a,l.months=s,l.years=r,this},ur.clone=function(){return Zt(this)},ur.get=function(e){return e=j(e),this.isValid()?this[e+"s"]():NaN},ur.milliseconds=Zn,ur.seconds=Qn,ur.minutes=Jn,ur.hours=er,ur.days=tr,ur.weeks=function(){return W(this.days()/7)},ur.months=nr,ur.years=rr,ur.humanize=function(e,t){if(!this.isValid())return this.localeData().invalidDate();var n,r,i=!1,o=or;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(i=e),"object"==typeof t&&(o=Object.assign({},or,t),null!=t.s&&null==t.ss&&(o.ss=t.s-1)),r=function(e,t,n,r){var i=Zt(e).abs(),o=ir(i.as("s")),a=ir(i.as("m")),s=ir(i.as("h")),l=ir(i.as("d")),c=ir(i.as("M")),u=ir(i.as("w")),h=ir(i.as("y")),p=o<=n.ss&&["s",o]||o<n.s&&["ss",o]||a<=1&&["m"]||a<n.m&&["mm",a]||s<=1&&["h"]||s<n.h&&["hh",s]||l<=1&&["d"]||l<n.d&&["dd",l];return null!=n.w&&(p=p||u<=1&&["w"]||u<n.w&&["ww",u]),(p=p||c<=1&&["M"]||c<n.M&&["MM",c]||h<=1&&["y"]||["yy",h])[2]=t,p[3]=+e>0,p[4]=r,ar.apply(null,p)}(this,!i,o,n=this.localeData()),i&&(r=n.pastFuture(+this,r)),n.postformat(r)},ur.toISOString=cr,ur.toString=cr,ur.toJSON=cr,ur.locale=ln,ur.localeData=un,ur.toIsoString=S("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",cr),ur.lang=cn,M("X",0,0,"unix"),M("x",0,0,"valueOf"),fe("x",ue),fe("X",/[+-]?\d+(\.\d{1,3})?/),ve("X",(function(e,t,n){n._d=new Date(1e3*parseFloat(e))})),ve("x",(function(e,t,n){n._d=new Date(V(e))})),i.version="2.29.1",t=Pt,i.fn=Ln,i.min=function(){return Ht("isBefore",[].slice.call(arguments,0))},i.max=function(){return Ht("isAfter",[].slice.call(arguments,0))},i.now=function(){return Date.now?Date.now():+new Date},i.utc=f,i.unix=function(e){return Pt(1e3*e)},i.months=function(e,t){return kn(e,t,"months")},i.isDate=h,i.locale=mt,i.invalid=y,i.duration=Zt,i.isMoment=T,i.weekdays=function(e,t,n){return Dn(e,t,n,"weekdays")},i.parseZone=function(){return Pt.apply(null,arguments).parseZone()},i.localeData=yt,i.isDuration=jt,i.monthsShort=function(e,t){return kn(e,t,"monthsShort")},i.weekdaysMin=function(e,t,n){return Dn(e,t,n,"weekdaysMin")},i.defineLocale=gt,i.updateLocale=function(e,t){if(null!=t){var n,r,i=ct;null!=ut[e]&&null!=ut[e].parentLocale?ut[e].set(L(ut[e]._config,t)):(null!=(r=ft(e))&&(i=r._config),t=L(i,t),null==r&&(t.abbr=e),(n=new O(t)).parentLocale=ut[e],ut[e]=n),mt(e)}else null!=ut[e]&&(null!=ut[e].parentLocale?(ut[e]=ut[e].parentLocale,e===mt()&&mt(e)):null!=ut[e]&&delete ut[e]);return ut[e]},i.locales=function(){return C(ut)},i.weekdaysShort=function(e,t,n){return Dn(e,t,n,"weekdaysShort")},i.normalizeUnits=j,i.relativeTimeRounding=function(e){return void 0===e?ir:"function"==typeof e&&(ir=e,!0)},i.relativeTimeThreshold=function(e,t){return void 0!==or[e]&&(void 0===t?or[e]:(or[e]=t,"s"===e&&(or.ss=t-1),!0))},i.calendarFormat=function(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"},i.prototype=Ln,i.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},i}()},2458:e=>{"use strict";var t=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,i){for(var o,a,s=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),l=1;l<arguments.length;l++){for(var c in o=Object(arguments[l]))n.call(o,c)&&(s[c]=o[c]);if(t){a=t(o);for(var u=0;u<a.length;u++)r.call(o,a[u])&&(s[a[u]]=o[a[u]])}}return s}},2613:(e,t)=>{function n(e){let t,n=[];for(let r of e.split(",").map((e=>e.trim())))if(/^-?\d+$/.test(r))n.push(parseInt(r,10));else if(t=r.match(/^(-?\d+)(-|\.\.\.?|\u2025|\u2026|\u22EF)(-?\d+)$/)){let[e,r,i,o]=t;if(r&&o){r=parseInt(r),o=parseInt(o);const e=r<o?1:-1;"-"!==i&&".."!==i&&"‥"!==i||(o+=e);for(let t=r;t!==o;t+=e)n.push(t)}}return n}t.default=n,e.exports=n},5635:(e,t,n)=>{"use strict";const{DOCUMENT_MODE:r}=n(162),i="html",o=["+//silmaril//dtd html pro v0r11 19970101//","-//as//dtd html 3.0 aswedit + extensions//","-//advasoft ltd//dtd html 3.0 aswedit + extensions//","-//ietf//dtd html 2.0 level 1//","-//ietf//dtd html 2.0 level 2//","-//ietf//dtd html 2.0 strict level 1//","-//ietf//dtd html 2.0 strict level 2//","-//ietf//dtd html 2.0 strict//","-//ietf//dtd html 2.0//","-//ietf//dtd html 2.1e//","-//ietf//dtd html 3.0//","-//ietf//dtd html 3.2 final//","-//ietf//dtd html 3.2//","-//ietf//dtd html 3//","-//ietf//dtd html level 0//","-//ietf//dtd html level 1//","-//ietf//dtd html level 2//","-//ietf//dtd html level 3//","-//ietf//dtd html strict level 0//","-//ietf//dtd html strict level 1//","-//ietf//dtd html strict level 2//","-//ietf//dtd html strict level 3//","-//ietf//dtd html strict//","-//ietf//dtd html//","-//metrius//dtd metrius presentational//","-//microsoft//dtd internet explorer 2.0 html strict//","-//microsoft//dtd internet explorer 2.0 html//","-//microsoft//dtd internet explorer 2.0 tables//","-//microsoft//dtd internet explorer 3.0 html strict//","-//microsoft//dtd internet explorer 3.0 html//","-//microsoft//dtd internet explorer 3.0 tables//","-//netscape comm. corp.//dtd html//","-//netscape comm. corp.//dtd strict html//","-//o'reilly and associates//dtd html 2.0//","-//o'reilly and associates//dtd html extended 1.0//","-//o'reilly and associates//dtd html extended relaxed 1.0//","-//sq//dtd html 2.0 hotmetal + extensions//","-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//","-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//","-//spyglass//dtd html 2.0 extended//","-//sun microsystems corp.//dtd hotjava html//","-//sun microsystems corp.//dtd hotjava strict html//","-//w3c//dtd html 3 1995-03-24//","-//w3c//dtd html 3.2 draft//","-//w3c//dtd html 3.2 final//","-//w3c//dtd html 3.2//","-//w3c//dtd html 3.2s draft//","-//w3c//dtd html 4.0 frameset//","-//w3c//dtd html 4.0 transitional//","-//w3c//dtd html experimental 19960712//","-//w3c//dtd html experimental 970421//","-//w3c//dtd w3 html//","-//w3o//dtd w3 html 3.0//","-//webtechs//dtd mozilla html 2.0//","-//webtechs//dtd mozilla html//"],a=o.concat(["-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"]),s=["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"],l=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],c=l.concat(["-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"]);function u(e){const t=-1!==e.indexOf('"')?"'":'"';return t+e+t}function h(e,t){for(let n=0;n<t.length;n++)if(0===e.indexOf(t[n]))return!0;return!1}t.isConforming=function(e){return e.name===i&&null===e.publicId&&(null===e.systemId||"about:legacy-compat"===e.systemId)},t.getDocumentMode=function(e){if(e.name!==i)return r.QUIRKS;const t=e.systemId;if(t&&"http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd"===t.toLowerCase())return r.QUIRKS;let n=e.publicId;if(null!==n){if(n=n.toLowerCase(),s.indexOf(n)>-1)return r.QUIRKS;let e=null===t?a:o;if(h(n,e))return r.QUIRKS;if(e=null===t?l:c,h(n,e))return r.LIMITED_QUIRKS}return r.NO_QUIRKS},t.serializeContent=function(e,t,n){let r="!DOCTYPE ";return e&&(r+=e),t?r+=" PUBLIC "+u(t):n&&(r+=" SYSTEM"),null!==n&&(r+=" "+u(n)),r}},1302:e=>{"use strict";e.exports={controlCharacterInInputStream:"control-character-in-input-stream",noncharacterInInputStream:"noncharacter-in-input-stream",surrogateInInputStream:"surrogate-in-input-stream",nonVoidHtmlElementStartTagWithTrailingSolidus:"non-void-html-element-start-tag-with-trailing-solidus",endTagWithAttributes:"end-tag-with-attributes",endTagWithTrailingSolidus:"end-tag-with-trailing-solidus",unexpectedSolidusInTag:"unexpected-solidus-in-tag",unexpectedNullCharacter:"unexpected-null-character",unexpectedQuestionMarkInsteadOfTagName:"unexpected-question-mark-instead-of-tag-name",invalidFirstCharacterOfTagName:"invalid-first-character-of-tag-name",unexpectedEqualsSignBeforeAttributeName:"unexpected-equals-sign-before-attribute-name",missingEndTagName:"missing-end-tag-name",unexpectedCharacterInAttributeName:"unexpected-character-in-attribute-name",unknownNamedCharacterReference:"unknown-named-character-reference",missingSemicolonAfterCharacterReference:"missing-semicolon-after-character-reference",unexpectedCharacterAfterDoctypeSystemIdentifier:"unexpected-character-after-doctype-system-identifier",unexpectedCharacterInUnquotedAttributeValue:"unexpected-character-in-unquoted-attribute-value",eofBeforeTagName:"eof-before-tag-name",eofInTag:"eof-in-tag",missingAttributeValue:"missing-attribute-value",missingWhitespaceBetweenAttributes:"missing-whitespace-between-attributes",missingWhitespaceAfterDoctypePublicKeyword:"missing-whitespace-after-doctype-public-keyword",missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers:"missing-whitespace-between-doctype-public-and-system-identifiers",missingWhitespaceAfterDoctypeSystemKeyword:"missing-whitespace-after-doctype-system-keyword",missingQuoteBeforeDoctypePublicIdentifier:"missing-quote-before-doctype-public-identifier",missingQuoteBeforeDoctypeSystemIdentifier:"missing-quote-before-doctype-system-identifier",missingDoctypePublicIdentifier:"missing-doctype-public-identifier",missingDoctypeSystemIdentifier:"missing-doctype-system-identifier",abruptDoctypePublicIdentifier:"abrupt-doctype-public-identifier",abruptDoctypeSystemIdentifier:"abrupt-doctype-system-identifier",cdataInHtmlContent:"cdata-in-html-content",incorrectlyOpenedComment:"incorrectly-opened-comment",eofInScriptHtmlCommentLikeText:"eof-in-script-html-comment-like-text",eofInDoctype:"eof-in-doctype",nestedComment:"nested-comment",abruptClosingOfEmptyComment:"abrupt-closing-of-empty-comment",eofInComment:"eof-in-comment",incorrectlyClosedComment:"incorrectly-closed-comment",eofInCdata:"eof-in-cdata",absenceOfDigitsInNumericCharacterReference:"absence-of-digits-in-numeric-character-reference",nullCharacterReference:"null-character-reference",surrogateCharacterReference:"surrogate-character-reference",characterReferenceOutsideUnicodeRange:"character-reference-outside-unicode-range",controlCharacterReference:"control-character-reference",noncharacterCharacterReference:"noncharacter-character-reference",missingWhitespaceBeforeDoctypeName:"missing-whitespace-before-doctype-name",missingDoctypeName:"missing-doctype-name",invalidCharacterSequenceAfterDoctypeName:"invalid-character-sequence-after-doctype-name",duplicateAttribute:"duplicate-attribute",nonConformingDoctype:"non-conforming-doctype",missingDoctype:"missing-doctype",misplacedDoctype:"misplaced-doctype",endTagWithoutMatchingOpenElement:"end-tag-without-matching-open-element",closingOfElementWithOpenChildElements:"closing-of-element-with-open-child-elements",disallowedContentInNoscriptInHead:"disallowed-content-in-noscript-in-head",openElementsLeftAfterEof:"open-elements-left-after-eof",abandonedHeadElementChild:"abandoned-head-element-child",misplacedStartTagForHeadElement:"misplaced-start-tag-for-head-element",nestedNoscriptInHead:"nested-noscript-in-head",eofInElementThatCanContainOnlyText:"eof-in-element-that-can-contain-only-text"}},2994:(e,t,n)=>{"use strict";const r=n(3102),i=n(162),o=i.TAG_NAMES,a=i.NAMESPACES,s=i.ATTRS,l={attributename:"attributeName",attributetype:"attributeType",basefrequency:"baseFrequency",baseprofile:"baseProfile",calcmode:"calcMode",clippathunits:"clipPathUnits",diffuseconstant:"diffuseConstant",edgemode:"edgeMode",filterunits:"filterUnits",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",limitingconeangle:"limitingConeAngle",markerheight:"markerHeight",markerunits:"markerUnits",markerwidth:"markerWidth",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",numoctaves:"numOctaves",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",refx:"refX",refy:"refY",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",specularconstant:"specularConstant",specularexponent:"specularExponent",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stitchtiles:"stitchTiles",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textlength:"textLength",viewbox:"viewBox",viewtarget:"viewTarget",xchannelselector:"xChannelSelector",ychannelselector:"yChannelSelector",zoomandpan:"zoomAndPan"},c={"xlink:actuate":{prefix:"xlink",name:"actuate",namespace:a.XLINK},"xlink:arcrole":{prefix:"xlink",name:"arcrole",namespace:a.XLINK},"xlink:href":{prefix:"xlink",name:"href",namespace:a.XLINK},"xlink:role":{prefix:"xlink",name:"role",namespace:a.XLINK},"xlink:show":{prefix:"xlink",name:"show",namespace:a.XLINK},"xlink:title":{prefix:"xlink",name:"title",namespace:a.XLINK},"xlink:type":{prefix:"xlink",name:"type",namespace:a.XLINK},"xml:base":{prefix:"xml",name:"base",namespace:a.XML},"xml:lang":{prefix:"xml",name:"lang",namespace:a.XML},"xml:space":{prefix:"xml",name:"space",namespace:a.XML},xmlns:{prefix:"",name:"xmlns",namespace:a.XMLNS},"xmlns:xlink":{prefix:"xmlns",name:"xlink",namespace:a.XMLNS}},u=t.SVG_TAG_NAMES_ADJUSTMENT_MAP={altglyph:"altGlyph",altglyphdef:"altGlyphDef",altglyphitem:"altGlyphItem",animatecolor:"animateColor",animatemotion:"animateMotion",animatetransform:"animateTransform",clippath:"clipPath",feblend:"feBlend",fecolormatrix:"feColorMatrix",fecomponenttransfer:"feComponentTransfer",fecomposite:"feComposite",feconvolvematrix:"feConvolveMatrix",fediffuselighting:"feDiffuseLighting",fedisplacementmap:"feDisplacementMap",fedistantlight:"feDistantLight",feflood:"feFlood",fefunca:"feFuncA",fefuncb:"feFuncB",fefuncg:"feFuncG",fefuncr:"feFuncR",fegaussianblur:"feGaussianBlur",feimage:"feImage",femerge:"feMerge",femergenode:"feMergeNode",femorphology:"feMorphology",feoffset:"feOffset",fepointlight:"fePointLight",fespecularlighting:"feSpecularLighting",fespotlight:"feSpotLight",fetile:"feTile",feturbulence:"feTurbulence",foreignobject:"foreignObject",glyphref:"glyphRef",lineargradient:"linearGradient",radialgradient:"radialGradient",textpath:"textPath"},h={[o.B]:!0,[o.BIG]:!0,[o.BLOCKQUOTE]:!0,[o.BODY]:!0,[o.BR]:!0,[o.CENTER]:!0,[o.CODE]:!0,[o.DD]:!0,[o.DIV]:!0,[o.DL]:!0,[o.DT]:!0,[o.EM]:!0,[o.EMBED]:!0,[o.H1]:!0,[o.H2]:!0,[o.H3]:!0,[o.H4]:!0,[o.H5]:!0,[o.H6]:!0,[o.HEAD]:!0,[o.HR]:!0,[o.I]:!0,[o.IMG]:!0,[o.LI]:!0,[o.LISTING]:!0,[o.MENU]:!0,[o.META]:!0,[o.NOBR]:!0,[o.OL]:!0,[o.P]:!0,[o.PRE]:!0,[o.RUBY]:!0,[o.S]:!0,[o.SMALL]:!0,[o.SPAN]:!0,[o.STRONG]:!0,[o.STRIKE]:!0,[o.SUB]:!0,[o.SUP]:!0,[o.TABLE]:!0,[o.TT]:!0,[o.U]:!0,[o.UL]:!0,[o.VAR]:!0};t.causesExit=function(e){const t=e.tagName;return!(t!==o.FONT||null===r.getTokenAttr(e,s.COLOR)&&null===r.getTokenAttr(e,s.SIZE)&&null===r.getTokenAttr(e,s.FACE))||h[t]},t.adjustTokenMathMLAttrs=function(e){for(let t=0;t<e.attrs.length;t++)if("definitionurl"===e.attrs[t].name){e.attrs[t].name="definitionURL";break}},t.adjustTokenSVGAttrs=function(e){for(let t=0;t<e.attrs.length;t++){const n=l[e.attrs[t].name];n&&(e.attrs[t].name=n)}},t.adjustTokenXMLAttrs=function(e){for(let t=0;t<e.attrs.length;t++){const n=c[e.attrs[t].name];n&&(e.attrs[t].prefix=n.prefix,e.attrs[t].name=n.name,e.attrs[t].namespace=n.namespace)}},t.adjustTokenSVGTagName=function(e){const t=u[e.tagName];t&&(e.tagName=t)},t.isIntegrationPoint=function(e,t,n,r){return!(r&&r!==a.HTML||!function(e,t,n){if(t===a.MATHML&&e===o.ANNOTATION_XML)for(let e=0;e<n.length;e++)if(n[e].name===s.ENCODING){const t=n[e].value.toLowerCase();return"text/html"===t||"application/xhtml+xml"===t}return t===a.SVG&&(e===o.FOREIGN_OBJECT||e===o.DESC||e===o.TITLE)}(e,t,n))||!(r&&r!==a.MATHML||!function(e,t){return t===a.MATHML&&(e===o.MI||e===o.MO||e===o.MN||e===o.MS||e===o.MTEXT)}(e,t))}},162:(e,t)=>{"use strict";const n=t.NAMESPACES={HTML:"http://www.w3.org/1999/xhtml",MATHML:"http://www.w3.org/1998/Math/MathML",SVG:"http://www.w3.org/2000/svg",XLINK:"http://www.w3.org/1999/xlink",XML:"http://www.w3.org/XML/1998/namespace",XMLNS:"http://www.w3.org/2000/xmlns/"};t.ATTRS={TYPE:"type",ACTION:"action",ENCODING:"encoding",PROMPT:"prompt",NAME:"name",COLOR:"color",FACE:"face",SIZE:"size"},t.DOCUMENT_MODE={NO_QUIRKS:"no-quirks",QUIRKS:"quirks",LIMITED_QUIRKS:"limited-quirks"};const r=t.TAG_NAMES={A:"a",ADDRESS:"address",ANNOTATION_XML:"annotation-xml",APPLET:"applet",AREA:"area",ARTICLE:"article",ASIDE:"aside",B:"b",BASE:"base",BASEFONT:"basefont",BGSOUND:"bgsound",BIG:"big",BLOCKQUOTE:"blockquote",BODY:"body",BR:"br",BUTTON:"button",CAPTION:"caption",CENTER:"center",CODE:"code",COL:"col",COLGROUP:"colgroup",DD:"dd",DESC:"desc",DETAILS:"details",DIALOG:"dialog",DIR:"dir",DIV:"div",DL:"dl",DT:"dt",EM:"em",EMBED:"embed",FIELDSET:"fieldset",FIGCAPTION:"figcaption",FIGURE:"figure",FONT:"font",FOOTER:"footer",FOREIGN_OBJECT:"foreignObject",FORM:"form",FRAME:"frame",FRAMESET:"frameset",H1:"h1",H2:"h2",H3:"h3",H4:"h4",H5:"h5",H6:"h6",HEAD:"head",HEADER:"header",HGROUP:"hgroup",HR:"hr",HTML:"html",I:"i",IMG:"img",IMAGE:"image",INPUT:"input",IFRAME:"iframe",KEYGEN:"keygen",LABEL:"label",LI:"li",LINK:"link",LISTING:"listing",MAIN:"main",MALIGNMARK:"malignmark",MARQUEE:"marquee",MATH:"math",MENU:"menu",META:"meta",MGLYPH:"mglyph",MI:"mi",MO:"mo",MN:"mn",MS:"ms",MTEXT:"mtext",NAV:"nav",NOBR:"nobr",NOFRAMES:"noframes",NOEMBED:"noembed",NOSCRIPT:"noscript",OBJECT:"object",OL:"ol",OPTGROUP:"optgroup",OPTION:"option",P:"p",PARAM:"param",PLAINTEXT:"plaintext",PRE:"pre",RB:"rb",RP:"rp",RT:"rt",RTC:"rtc",RUBY:"ruby",S:"s",SCRIPT:"script",SECTION:"section",SELECT:"select",SOURCE:"source",SMALL:"small",SPAN:"span",STRIKE:"strike",STRONG:"strong",STYLE:"style",SUB:"sub",SUMMARY:"summary",SUP:"sup",TABLE:"table",TBODY:"tbody",TEMPLATE:"template",TEXTAREA:"textarea",TFOOT:"tfoot",TD:"td",TH:"th",THEAD:"thead",TITLE:"title",TR:"tr",TRACK:"track",TT:"tt",U:"u",UL:"ul",SVG:"svg",VAR:"var",WBR:"wbr",XMP:"xmp"};t.SPECIAL_ELEMENTS={[n.HTML]:{[r.ADDRESS]:!0,[r.APPLET]:!0,[r.AREA]:!0,[r.ARTICLE]:!0,[r.ASIDE]:!0,[r.BASE]:!0,[r.BASEFONT]:!0,[r.BGSOUND]:!0,[r.BLOCKQUOTE]:!0,[r.BODY]:!0,[r.BR]:!0,[r.BUTTON]:!0,[r.CAPTION]:!0,[r.CENTER]:!0,[r.COL]:!0,[r.COLGROUP]:!0,[r.DD]:!0,[r.DETAILS]:!0,[r.DIR]:!0,[r.DIV]:!0,[r.DL]:!0,[r.DT]:!0,[r.EMBED]:!0,[r.FIELDSET]:!0,[r.FIGCAPTION]:!0,[r.FIGURE]:!0,[r.FOOTER]:!0,[r.FORM]:!0,[r.FRAME]:!0,[r.FRAMESET]:!0,[r.H1]:!0,[r.H2]:!0,[r.H3]:!0,[r.H4]:!0,[r.H5]:!0,[r.H6]:!0,[r.HEAD]:!0,[r.HEADER]:!0,[r.HGROUP]:!0,[r.HR]:!0,[r.HTML]:!0,[r.IFRAME]:!0,[r.IMG]:!0,[r.INPUT]:!0,[r.LI]:!0,[r.LINK]:!0,[r.LISTING]:!0,[r.MAIN]:!0,[r.MARQUEE]:!0,[r.MENU]:!0,[r.META]:!0,[r.NAV]:!0,[r.NOEMBED]:!0,[r.NOFRAMES]:!0,[r.NOSCRIPT]:!0,[r.OBJECT]:!0,[r.OL]:!0,[r.P]:!0,[r.PARAM]:!0,[r.PLAINTEXT]:!0,[r.PRE]:!0,[r.SCRIPT]:!0,[r.SECTION]:!0,[r.SELECT]:!0,[r.SOURCE]:!0,[r.STYLE]:!0,[r.SUMMARY]:!0,[r.TABLE]:!0,[r.TBODY]:!0,[r.TD]:!0,[r.TEMPLATE]:!0,[r.TEXTAREA]:!0,[r.TFOOT]:!0,[r.TH]:!0,[r.THEAD]:!0,[r.TITLE]:!0,[r.TR]:!0,[r.TRACK]:!0,[r.UL]:!0,[r.WBR]:!0,[r.XMP]:!0},[n.MATHML]:{[r.MI]:!0,[r.MO]:!0,[r.MN]:!0,[r.MS]:!0,[r.MTEXT]:!0,[r.ANNOTATION_XML]:!0},[n.SVG]:{[r.TITLE]:!0,[r.FOREIGN_OBJECT]:!0,[r.DESC]:!0}}},7616:(e,t)=>{"use strict";const n=[65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111];t.REPLACEMENT_CHARACTER="�",t.CODE_POINTS={EOF:-1,NULL:0,TABULATION:9,CARRIAGE_RETURN:13,LINE_FEED:10,FORM_FEED:12,SPACE:32,EXCLAMATION_MARK:33,QUOTATION_MARK:34,NUMBER_SIGN:35,AMPERSAND:38,APOSTROPHE:39,HYPHEN_MINUS:45,SOLIDUS:47,DIGIT_0:48,DIGIT_9:57,SEMICOLON:59,LESS_THAN_SIGN:60,EQUALS_SIGN:61,GREATER_THAN_SIGN:62,QUESTION_MARK:63,LATIN_CAPITAL_A:65,LATIN_CAPITAL_F:70,LATIN_CAPITAL_X:88,LATIN_CAPITAL_Z:90,RIGHT_SQUARE_BRACKET:93,GRAVE_ACCENT:96,LATIN_SMALL_A:97,LATIN_SMALL_F:102,LATIN_SMALL_X:120,LATIN_SMALL_Z:122,REPLACEMENT_CHARACTER:65533},t.CODE_POINT_SEQUENCES={DASH_DASH_STRING:[45,45],DOCTYPE_STRING:[68,79,67,84,89,80,69],CDATA_START_STRING:[91,67,68,65,84,65,91],SCRIPT_STRING:[115,99,114,105,112,116],PUBLIC_STRING:[80,85,66,76,73,67],SYSTEM_STRING:[83,89,83,84,69,77]},t.isSurrogate=function(e){return e>=55296&&e<=57343},t.isSurrogatePair=function(e){return e>=56320&&e<=57343},t.getSurrogatePairCodePoint=function(e,t){return 1024*(e-55296)+9216+t},t.isControlCodePoint=function(e){return 32!==e&&10!==e&&13!==e&&9!==e&&12!==e&&e>=1&&e<=31||e>=127&&e<=159},t.isUndefinedCodePoint=function(e){return e>=64976&&e<=65007||n.indexOf(e)>-1}},8721:(e,t,n)=>{"use strict";const r=n(1405);e.exports=class extends r{constructor(e,t){super(e),this.posTracker=null,this.onParseError=t.onParseError}_setErrorLocation(e){e.startLine=e.endLine=this.posTracker.line,e.startCol=e.endCol=this.posTracker.col,e.startOffset=e.endOffset=this.posTracker.offset}_reportError(e){const t={code:e,startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1};this._setErrorLocation(t),this.onParseError(t)}_getOverriddenMethods(e){return{_err(t){e._reportError(t)}}}}},4548:(e,t,n)=>{"use strict";const r=n(8721),i=n(736),o=n(4182),a=n(1405);e.exports=class extends r{constructor(e,t){super(e,t),this.opts=t,this.ctLoc=null,this.locBeforeToken=!1}_setErrorLocation(e){this.ctLoc&&(e.startLine=this.ctLoc.startLine,e.startCol=this.ctLoc.startCol,e.startOffset=this.ctLoc.startOffset,e.endLine=this.locBeforeToken?this.ctLoc.startLine:this.ctLoc.endLine,e.endCol=this.locBeforeToken?this.ctLoc.startCol:this.ctLoc.endCol,e.endOffset=this.locBeforeToken?this.ctLoc.startOffset:this.ctLoc.endOffset)}_getOverriddenMethods(e,t){return{_bootstrap(n,r){t._bootstrap.call(this,n,r),a.install(this.tokenizer,i,e.opts),a.install(this.tokenizer,o)},_processInputToken(n){e.ctLoc=n.location,t._processInputToken.call(this,n)},_err(t,n){e.locBeforeToken=n&&n.beforeToken,e._reportError(t)}}}}},9109:(e,t,n)=>{"use strict";const r=n(8721),i=n(5485),o=n(1405);e.exports=class extends r{constructor(e,t){super(e,t),this.posTracker=o.install(e,i),this.lastErrOffset=-1}_reportError(e){this.lastErrOffset!==this.posTracker.offset&&(this.lastErrOffset=this.posTracker.offset,super._reportError(e))}}},736:(e,t,n)=>{"use strict";const r=n(8721),i=n(9109),o=n(1405);e.exports=class extends r{constructor(e,t){super(e,t);const n=o.install(e.preprocessor,i,t);this.posTracker=n.posTracker}}},8462:(e,t,n)=>{"use strict";const r=n(1405);e.exports=class extends r{constructor(e,t){super(e),this.onItemPop=t.onItemPop}_getOverriddenMethods(e,t){return{pop(){e.onItemPop(this.current),t.pop.call(this)},popAllUpToHtmlElement(){for(let t=this.stackTop;t>0;t--)e.onItemPop(this.items[t]);t.popAllUpToHtmlElement.call(this)},remove(n){e.onItemPop(this.current),t.remove.call(this,n)}}}}},5608:(e,t,n)=>{"use strict";const r=n(1405),i=n(3102),o=n(4182),a=n(8462),s=n(162).TAG_NAMES;e.exports=class extends r{constructor(e){super(e),this.parser=e,this.treeAdapter=this.parser.treeAdapter,this.posTracker=null,this.lastStartTagToken=null,this.lastFosterParentingLocation=null,this.currentToken=null}_setStartLocation(e){let t=null;this.lastStartTagToken&&(t=Object.assign({},this.lastStartTagToken.location),t.startTag=this.lastStartTagToken.location),this.treeAdapter.setNodeSourceCodeLocation(e,t)}_setEndLocation(e,t){if(this.treeAdapter.getNodeSourceCodeLocation(e)&&t.location){const n=t.location,r=this.treeAdapter.getTagName(e),o={};t.type===i.END_TAG_TOKEN&&r===t.tagName?(o.endTag=Object.assign({},n),o.endLine=n.endLine,o.endCol=n.endCol,o.endOffset=n.endOffset):(o.endLine=n.startLine,o.endCol=n.startCol,o.endOffset=n.startOffset),this.treeAdapter.updateNodeSourceCodeLocation(e,o)}}_getOverriddenMethods(e,t){return{_bootstrap(n,i){t._bootstrap.call(this,n,i),e.lastStartTagToken=null,e.lastFosterParentingLocation=null,e.currentToken=null;const s=r.install(this.tokenizer,o);e.posTracker=s.posTracker,r.install(this.openElements,a,{onItemPop:function(t){e._setEndLocation(t,e.currentToken)}})},_runParsingLoop(n){t._runParsingLoop.call(this,n);for(let t=this.openElements.stackTop;t>=0;t--)e._setEndLocation(this.openElements.items[t],e.currentToken)},_processTokenInForeignContent(n){e.currentToken=n,t._processTokenInForeignContent.call(this,n)},_processToken(n){if(e.currentToken=n,t._processToken.call(this,n),n.type===i.END_TAG_TOKEN&&(n.tagName===s.HTML||n.tagName===s.BODY&&this.openElements.hasInScope(s.BODY)))for(let t=this.openElements.stackTop;t>=0;t--){const r=this.openElements.items[t];if(this.treeAdapter.getTagName(r)===n.tagName){e._setEndLocation(r,n);break}}},_setDocumentType(e){t._setDocumentType.call(this,e);const n=this.treeAdapter.getChildNodes(this.document),r=n.length;for(let t=0;t<r;t++){const r=n[t];if(this.treeAdapter.isDocumentTypeNode(r)){this.treeAdapter.setNodeSourceCodeLocation(r,e.location);break}}},_attachElementToTree(n){e._setStartLocation(n),e.lastStartTagToken=null,t._attachElementToTree.call(this,n)},_appendElement(n,r){e.lastStartTagToken=n,t._appendElement.call(this,n,r)},_insertElement(n,r){e.lastStartTagToken=n,t._insertElement.call(this,n,r)},_insertTemplate(n){e.lastStartTagToken=n,t._insertTemplate.call(this,n);const r=this.treeAdapter.getTemplateContent(this.openElements.current);this.treeAdapter.setNodeSourceCodeLocation(r,null)},_insertFakeRootElement(){t._insertFakeRootElement.call(this),this.treeAdapter.setNodeSourceCodeLocation(this.openElements.current,null)},_appendCommentNode(e,n){t._appendCommentNode.call(this,e,n);const r=this.treeAdapter.getChildNodes(n),i=r[r.length-1];this.treeAdapter.setNodeSourceCodeLocation(i,e.location)},_findFosterParentingLocation(){return e.lastFosterParentingLocation=t._findFosterParentingLocation.call(this),e.lastFosterParentingLocation},_insertCharacters(n){t._insertCharacters.call(this,n);const r=this._shouldFosterParentOnInsertion(),i=r&&e.lastFosterParentingLocation.parent||this.openElements.currentTmplContent||this.openElements.current,o=this.treeAdapter.getChildNodes(i),a=r&&e.lastFosterParentingLocation.beforeElement?o.indexOf(e.lastFosterParentingLocation.beforeElement)-1:o.length-1,s=o[a];if(this.treeAdapter.getNodeSourceCodeLocation(s)){const{endLine:e,endCol:t,endOffset:r}=n.location;this.treeAdapter.updateNodeSourceCodeLocation(s,{endLine:e,endCol:t,endOffset:r})}else this.treeAdapter.setNodeSourceCodeLocation(s,n.location)}}}}},4182:(e,t,n)=>{"use strict";const r=n(1405),i=n(3102),o=n(5485);e.exports=class extends r{constructor(e){super(e),this.tokenizer=e,this.posTracker=r.install(e.preprocessor,o),this.currentAttrLocation=null,this.ctLoc=null}_getCurrentLocation(){return{startLine:this.posTracker.line,startCol:this.posTracker.col,startOffset:this.posTracker.offset,endLine:-1,endCol:-1,endOffset:-1}}_attachCurrentAttrLocationInfo(){this.currentAttrLocation.endLine=this.posTracker.line,this.currentAttrLocation.endCol=this.posTracker.col,this.currentAttrLocation.endOffset=this.posTracker.offset;const e=this.tokenizer.currentToken,t=this.tokenizer.currentAttr;e.location.attrs||(e.location.attrs=Object.create(null)),e.location.attrs[t.name]=this.currentAttrLocation}_getOverriddenMethods(e,t){const n={_createStartTagToken(){t._createStartTagToken.call(this),this.currentToken.location=e.ctLoc},_createEndTagToken(){t._createEndTagToken.call(this),this.currentToken.location=e.ctLoc},_createCommentToken(){t._createCommentToken.call(this),this.currentToken.location=e.ctLoc},_createDoctypeToken(n){t._createDoctypeToken.call(this,n),this.currentToken.location=e.ctLoc},_createCharacterToken(n,r){t._createCharacterToken.call(this,n,r),this.currentCharacterToken.location=e.ctLoc},_createEOFToken(){t._createEOFToken.call(this),this.currentToken.location=e._getCurrentLocation()},_createAttr(n){t._createAttr.call(this,n),e.currentAttrLocation=e._getCurrentLocation()},_leaveAttrName(n){t._leaveAttrName.call(this,n),e._attachCurrentAttrLocationInfo()},_leaveAttrValue(n){t._leaveAttrValue.call(this,n),e._attachCurrentAttrLocationInfo()},_emitCurrentToken(){const n=this.currentToken.location;this.currentCharacterToken&&(this.currentCharacterToken.location.endLine=n.startLine,this.currentCharacterToken.location.endCol=n.startCol,this.currentCharacterToken.location.endOffset=n.startOffset),this.currentToken.type===i.EOF_TOKEN?(n.endLine=n.startLine,n.endCol=n.startCol,n.endOffset=n.startOffset):(n.endLine=e.posTracker.line,n.endCol=e.posTracker.col+1,n.endOffset=e.posTracker.offset+1),t._emitCurrentToken.call(this)},_emitCurrentCharacterToken(){const n=this.currentCharacterToken&&this.currentCharacterToken.location;n&&-1===n.endOffset&&(n.endLine=e.posTracker.line,n.endCol=e.posTracker.col,n.endOffset=e.posTracker.offset),t._emitCurrentCharacterToken.call(this)}};return Object.keys(i.MODE).forEach((r=>{const o=i.MODE[r];n[o]=function(n){e.ctLoc=e._getCurrentLocation(),t[o].call(this,n)}})),n}}},5485:(e,t,n)=>{"use strict";const r=n(1405);e.exports=class extends r{constructor(e){super(e),this.preprocessor=e,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.offset=0,this.col=0,this.line=1}_getOverriddenMethods(e,t){return{advance(){const n=this.pos+1,r=this.html[n];return e.isEol&&(e.isEol=!1,e.line++,e.lineStartPos=n),("\n"===r||"\r"===r&&"\n"!==this.html[n+1])&&(e.isEol=!0),e.col=n-e.lineStartPos+1,e.offset=e.droppedBufferSize+n,t.advance.call(this)},retreat(){t.retreat.call(this),e.isEol=!1,e.col=this.pos-e.lineStartPos+1},dropParsedChunk(){const n=this.pos;t.dropParsedChunk.call(this);const r=n-this.pos;e.lineStartPos-=r,e.droppedBufferSize+=r,e.offset=e.droppedBufferSize+this.pos}}}}},3155:e=>{"use strict";class t{constructor(e){this.length=0,this.entries=[],this.treeAdapter=e,this.bookmark=null}_getNoahArkConditionCandidates(e){const n=[];if(this.length>=3){const r=this.treeAdapter.getAttrList(e).length,i=this.treeAdapter.getTagName(e),o=this.treeAdapter.getNamespaceURI(e);for(let e=this.length-1;e>=0;e--){const a=this.entries[e];if(a.type===t.MARKER_ENTRY)break;const s=a.element,l=this.treeAdapter.getAttrList(s);this.treeAdapter.getTagName(s)===i&&this.treeAdapter.getNamespaceURI(s)===o&&l.length===r&&n.push({idx:e,attrs:l})}}return n.length<3?[]:n}_ensureNoahArkCondition(e){const t=this._getNoahArkConditionCandidates(e);let n=t.length;if(n){const r=this.treeAdapter.getAttrList(e),i=r.length,o=Object.create(null);for(let e=0;e<i;e++){const t=r[e];o[t.name]=t.value}for(let e=0;e<i;e++)for(let r=0;r<n;r++){const i=t[r].attrs[e];if(o[i.name]!==i.value&&(t.splice(r,1),n--),t.length<3)return}for(let e=n-1;e>=2;e--)this.entries.splice(t[e].idx,1),this.length--}}insertMarker(){this.entries.push({type:t.MARKER_ENTRY}),this.length++}pushElement(e,n){this._ensureNoahArkCondition(e),this.entries.push({type:t.ELEMENT_ENTRY,element:e,token:n}),this.length++}insertElementAfterBookmark(e,n){let r=this.length-1;for(;r>=0&&this.entries[r]!==this.bookmark;r--);this.entries.splice(r+1,0,{type:t.ELEMENT_ENTRY,element:e,token:n}),this.length++}removeEntry(e){for(let t=this.length-1;t>=0;t--)if(this.entries[t]===e){this.entries.splice(t,1),this.length--;break}}clearToLastMarker(){for(;this.length;){const e=this.entries.pop();if(this.length--,e.type===t.MARKER_ENTRY)break}}getElementEntryInScopeWithTagName(e){for(let n=this.length-1;n>=0;n--){const r=this.entries[n];if(r.type===t.MARKER_ENTRY)return null;if(this.treeAdapter.getTagName(r.element)===e)return r}return null}getElementEntry(e){for(let n=this.length-1;n>=0;n--){const r=this.entries[n];if(r.type===t.ELEMENT_ENTRY&&r.element===e)return r}return null}}t.MARKER_ENTRY="MARKER_ENTRY",t.ELEMENT_ENTRY="ELEMENT_ENTRY",e.exports=t},6956:(e,t,n)=>{"use strict";const r=n(3102),i=n(5331),o=n(3155),a=n(5608),s=n(4548),l=n(1405),c=n(9012),u=n(3070),h=n(5635),p=n(2994),d=n(1302),f=n(7616),m=n(162),g=m.TAG_NAMES,y=m.NAMESPACES,v=m.ATTRS,_={scriptingEnabled:!0,sourceCodeLocationInfo:!1,onParseError:null,treeAdapter:c},b="hidden",E=8,T=3,x="INITIAL_MODE",S="BEFORE_HTML_MODE",C="BEFORE_HEAD_MODE",A="IN_HEAD_MODE",R="IN_HEAD_NO_SCRIPT_MODE",w="AFTER_HEAD_MODE",L="IN_BODY_MODE",O="TEXT_MODE",N="IN_TABLE_MODE",I="IN_TABLE_TEXT_MODE",k="IN_CAPTION_MODE",D="IN_COLUMN_GROUP_MODE",P="IN_TABLE_BODY_MODE",M="IN_ROW_MODE",F="IN_CELL_MODE",H="IN_SELECT_MODE",B="IN_SELECT_IN_TABLE_MODE",U="IN_TEMPLATE_MODE",j="AFTER_BODY_MODE",G="IN_FRAMESET_MODE",Y="AFTER_FRAMESET_MODE",z="AFTER_AFTER_BODY_MODE",$="AFTER_AFTER_FRAMESET_MODE",W={[g.TR]:M,[g.TBODY]:P,[g.THEAD]:P,[g.TFOOT]:P,[g.CAPTION]:k,[g.COLGROUP]:D,[g.TABLE]:N,[g.BODY]:L,[g.FRAMESET]:G},V={[g.CAPTION]:N,[g.COLGROUP]:N,[g.TBODY]:N,[g.TFOOT]:N,[g.THEAD]:N,[g.COL]:D,[g.TR]:P,[g.TD]:M,[g.TH]:M},K={[x]:{[r.CHARACTER_TOKEN]:le,[r.NULL_CHARACTER_TOKEN]:le,[r.WHITESPACE_CHARACTER_TOKEN]:ne,[r.COMMENT_TOKEN]:ie,[r.DOCTYPE_TOKEN]:function(e,t){e._setDocumentType(t);const n=t.forceQuirks?m.DOCUMENT_MODE.QUIRKS:h.getDocumentMode(t);h.isConforming(t)||e._err(d.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,n),e.insertionMode=S},[r.START_TAG_TOKEN]:le,[r.END_TAG_TOKEN]:le,[r.EOF_TOKEN]:le},[S]:{[r.CHARACTER_TOKEN]:ce,[r.NULL_CHARACTER_TOKEN]:ce,[r.WHITESPACE_CHARACTER_TOKEN]:ne,[r.COMMENT_TOKEN]:ie,[r.DOCTYPE_TOKEN]:ne,[r.START_TAG_TOKEN]:function(e,t){t.tagName===g.HTML?(e._insertElement(t,y.HTML),e.insertionMode=C):ce(e,t)},[r.END_TAG_TOKEN]:function(e,t){const n=t.tagName;n!==g.HTML&&n!==g.HEAD&&n!==g.BODY&&n!==g.BR||ce(e,t)},[r.EOF_TOKEN]:ce},[C]:{[r.CHARACTER_TOKEN]:ue,[r.NULL_CHARACTER_TOKEN]:ue,[r.WHITESPACE_CHARACTER_TOKEN]:ne,[r.COMMENT_TOKEN]:ie,[r.DOCTYPE_TOKEN]:re,[r.START_TAG_TOKEN]:function(e,t){const n=t.tagName;n===g.HTML?we(e,t):n===g.HEAD?(e._insertElement(t,y.HTML),e.headElement=e.openElements.current,e.insertionMode=A):ue(e,t)},[r.END_TAG_TOKEN]:function(e,t){const n=t.tagName;n===g.HEAD||n===g.BODY||n===g.HTML||n===g.BR?ue(e,t):e._err(d.endTagWithoutMatchingOpenElement)},[r.EOF_TOKEN]:ue},[A]:{[r.CHARACTER_TOKEN]:de,[r.NULL_CHARACTER_TOKEN]:de,[r.WHITESPACE_CHARACTER_TOKEN]:ae,[r.COMMENT_TOKEN]:ie,[r.DOCTYPE_TOKEN]:re,[r.START_TAG_TOKEN]:he,[r.END_TAG_TOKEN]:pe,[r.EOF_TOKEN]:de},[R]:{[r.CHARACTER_TOKEN]:fe,[r.NULL_CHARACTER_TOKEN]:fe,[r.WHITESPACE_CHARACTER_TOKEN]:ae,[r.COMMENT_TOKEN]:ie,[r.DOCTYPE_TOKEN]:re,[r.START_TAG_TOKEN]:function(e,t){const n=t.tagName;n===g.HTML?we(e,t):n===g.BASEFONT||n===g.BGSOUND||n===g.HEAD||n===g.LINK||n===g.META||n===g.NOFRAMES||n===g.STYLE?he(e,t):n===g.NOSCRIPT?e._err(d.nestedNoscriptInHead):fe(e,t)},[r.END_TAG_TOKEN]:function(e,t){const n=t.tagName;n===g.NOSCRIPT?(e.openElements.pop(),e.insertionMode=A):n===g.BR?fe(e,t):e._err(d.endTagWithoutMatchingOpenElement)},[r.EOF_TOKEN]:fe},[w]:{[r.CHARACTER_TOKEN]:me,[r.NULL_CHARACTER_TOKEN]:me,[r.WHITESPACE_CHARACTER_TOKEN]:ae,[r.COMMENT_TOKEN]:ie,[r.DOCTYPE_TOKEN]:re,[r.START_TAG_TOKEN]:function(e,t){const n=t.tagName;n===g.HTML?we(e,t):n===g.BODY?(e._insertElement(t,y.HTML),e.framesetOk=!1,e.insertionMode=L):n===g.FRAMESET?(e._insertElement(t,y.HTML),e.insertionMode=G):n===g.BASE||n===g.BASEFONT||n===g.BGSOUND||n===g.LINK||n===g.META||n===g.NOFRAMES||n===g.SCRIPT||n===g.STYLE||n===g.TEMPLATE||n===g.TITLE?(e._err(d.abandonedHeadElementChild),e.openElements.push(e.headElement),he(e,t),e.openElements.remove(e.headElement)):n===g.HEAD?e._err(d.misplacedStartTagForHeadElement):me(e,t)},[r.END_TAG_TOKEN]:function(e,t){const n=t.tagName;n===g.BODY||n===g.HTML||n===g.BR?me(e,t):n===g.TEMPLATE?pe(e,t):e._err(d.endTagWithoutMatchingOpenElement)},[r.EOF_TOKEN]:me},[L]:{[r.CHARACTER_TOKEN]:ye,[r.NULL_CHARACTER_TOKEN]:ne,[r.WHITESPACE_CHARACTER_TOKEN]:ge,[r.COMMENT_TOKEN]:ie,[r.DOCTYPE_TOKEN]:ne,[r.START_TAG_TOKEN]:we,[r.END_TAG_TOKEN]:Ie,[r.EOF_TOKEN]:ke},[O]:{[r.CHARACTER_TOKEN]:ae,[r.NULL_CHARACTER_TOKEN]:ae,[r.WHITESPACE_CHARACTER_TOKEN]:ae,[r.COMMENT_TOKEN]:ne,[r.DOCTYPE_TOKEN]:ne,[r.START_TAG_TOKEN]:ne,[r.END_TAG_TOKEN]:function(e,t){t.tagName===g.SCRIPT&&(e.pendingScript=e.openElements.current),e.openElements.pop(),e.insertionMode=e.originalInsertionMode},[r.EOF_TOKEN]:function(e,t){e._err(d.eofInElementThatCanContainOnlyText),e.openElements.pop(),e.insertionMode=e.originalInsertionMode,e._processToken(t)}},[N]:{[r.CHARACTER_TOKEN]:De,[r.NULL_CHARACTER_TOKEN]:De,[r.WHITESPACE_CHARACTER_TOKEN]:De,[r.COMMENT_TOKEN]:ie,[r.DOCTYPE_TOKEN]:ne,[r.START_TAG_TOKEN]:Pe,[r.END_TAG_TOKEN]:Me,[r.EOF_TOKEN]:ke},[I]:{[r.CHARACTER_TOKEN]:function(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0},[r.NULL_CHARACTER_TOKEN]:ne,[r.WHITESPACE_CHARACTER_TOKEN]:function(e,t){e.pendingCharacterTokens.push(t)},[r.COMMENT_TOKEN]:He,[r.DOCTYPE_TOKEN]:He,[r.START_TAG_TOKEN]:He,[r.END_TAG_TOKEN]:He,[r.EOF_TOKEN]:He},[k]:{[r.CHARACTER_TOKEN]:ye,[r.NULL_CHARACTER_TOKEN]:ne,[r.WHITESPACE_CHARACTER_TOKEN]:ge,[r.COMMENT_TOKEN]:ie,[r.DOCTYPE_TOKEN]:ne,[r.START_TAG_TOKEN]:function(e,t){const n=t.tagName;n===g.CAPTION||n===g.COL||n===g.COLGROUP||n===g.TBODY||n===g.TD||n===g.TFOOT||n===g.TH||n===g.THEAD||n===g.TR?e.openElements.hasInTableScope(g.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(g.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=N,e._processToken(t)):we(e,t)},[r.END_TAG_TOKEN]:function(e,t){const n=t.tagName;n===g.CAPTION||n===g.TABLE?e.openElements.hasInTableScope(g.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(g.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=N,n===g.TABLE&&e._processToken(t)):n!==g.BODY&&n!==g.COL&&n!==g.COLGROUP&&n!==g.HTML&&n!==g.TBODY&&n!==g.TD&&n!==g.TFOOT&&n!==g.TH&&n!==g.THEAD&&n!==g.TR&&Ie(e,t)},[r.EOF_TOKEN]:ke},[D]:{[r.CHARACTER_TOKEN]:Be,[r.NULL_CHARACTER_TOKEN]:Be,[r.WHITESPACE_CHARACTER_TOKEN]:ae,[r.COMMENT_TOKEN]:ie,[r.DOCTYPE_TOKEN]:ne,[r.START_TAG_TOKEN]:function(e,t){const n=t.tagName;n===g.HTML?we(e,t):n===g.COL?(e._appendElement(t,y.HTML),t.ackSelfClosing=!0):n===g.TEMPLATE?he(e,t):Be(e,t)},[r.END_TAG_TOKEN]:function(e,t){const n=t.tagName;n===g.COLGROUP?e.openElements.currentTagName===g.COLGROUP&&(e.openElements.pop(),e.insertionMode=N):n===g.TEMPLATE?pe(e,t):n!==g.COL&&Be(e,t)},[r.EOF_TOKEN]:ke},[P]:{[r.CHARACTER_TOKEN]:De,[r.NULL_CHARACTER_TOKEN]:De,[r.WHITESPACE_CHARACTER_TOKEN]:De,[r.COMMENT_TOKEN]:ie,[r.DOCTYPE_TOKEN]:ne,[r.START_TAG_TOKEN]:function(e,t){const n=t.tagName;n===g.TR?(e.openElements.clearBackToTableBodyContext(),e._insertElement(t,y.HTML),e.insertionMode=M):n===g.TH||n===g.TD?(e.openElements.clearBackToTableBodyContext(),e._insertFakeElement(g.TR),e.insertionMode=M,e._processToken(t)):n===g.CAPTION||n===g.COL||n===g.COLGROUP||n===g.TBODY||n===g.TFOOT||n===g.THEAD?e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=N,e._processToken(t)):Pe(e,t)},[r.END_TAG_TOKEN]:function(e,t){const n=t.tagName;n===g.TBODY||n===g.TFOOT||n===g.THEAD?e.openElements.hasInTableScope(n)&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=N):n===g.TABLE?e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=N,e._processToken(t)):(n!==g.BODY&&n!==g.CAPTION&&n!==g.COL&&n!==g.COLGROUP||n!==g.HTML&&n!==g.TD&&n!==g.TH&&n!==g.TR)&&Me(e,t)},[r.EOF_TOKEN]:ke},[M]:{[r.CHARACTER_TOKEN]:De,[r.NULL_CHARACTER_TOKEN]:De,[r.WHITESPACE_CHARACTER_TOKEN]:De,[r.COMMENT_TOKEN]:ie,[r.DOCTYPE_TOKEN]:ne,[r.START_TAG_TOKEN]:function(e,t){const n=t.tagName;n===g.TH||n===g.TD?(e.openElements.clearBackToTableRowContext(),e._insertElement(t,y.HTML),e.insertionMode=F,e.activeFormattingElements.insertMarker()):n===g.CAPTION||n===g.COL||n===g.COLGROUP||n===g.TBODY||n===g.TFOOT||n===g.THEAD||n===g.TR?e.openElements.hasInTableScope(g.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=P,e._processToken(t)):Pe(e,t)},[r.END_TAG_TOKEN]:function(e,t){const n=t.tagName;n===g.TR?e.openElements.hasInTableScope(g.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=P):n===g.TABLE?e.openElements.hasInTableScope(g.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=P,e._processToken(t)):n===g.TBODY||n===g.TFOOT||n===g.THEAD?(e.openElements.hasInTableScope(n)||e.openElements.hasInTableScope(g.TR))&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=P,e._processToken(t)):(n!==g.BODY&&n!==g.CAPTION&&n!==g.COL&&n!==g.COLGROUP||n!==g.HTML&&n!==g.TD&&n!==g.TH)&&Me(e,t)},[r.EOF_TOKEN]:ke},[F]:{[r.CHARACTER_TOKEN]:ye,[r.NULL_CHARACTER_TOKEN]:ne,[r.WHITESPACE_CHARACTER_TOKEN]:ge,[r.COMMENT_TOKEN]:ie,[r.DOCTYPE_TOKEN]:ne,[r.START_TAG_TOKEN]:function(e,t){const n=t.tagName;n===g.CAPTION||n===g.COL||n===g.COLGROUP||n===g.TBODY||n===g.TD||n===g.TFOOT||n===g.TH||n===g.THEAD||n===g.TR?(e.openElements.hasInTableScope(g.TD)||e.openElements.hasInTableScope(g.TH))&&(e._closeTableCell(),e._processToken(t)):we(e,t)},[r.END_TAG_TOKEN]:function(e,t){const n=t.tagName;n===g.TD||n===g.TH?e.openElements.hasInTableScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=M):n===g.TABLE||n===g.TBODY||n===g.TFOOT||n===g.THEAD||n===g.TR?e.openElements.hasInTableScope(n)&&(e._closeTableCell(),e._processToken(t)):n!==g.BODY&&n!==g.CAPTION&&n!==g.COL&&n!==g.COLGROUP&&n!==g.HTML&&Ie(e,t)},[r.EOF_TOKEN]:ke},[H]:{[r.CHARACTER_TOKEN]:ae,[r.NULL_CHARACTER_TOKEN]:ne,[r.WHITESPACE_CHARACTER_TOKEN]:ae,[r.COMMENT_TOKEN]:ie,[r.DOCTYPE_TOKEN]:ne,[r.START_TAG_TOKEN]:Ue,[r.END_TAG_TOKEN]:je,[r.EOF_TOKEN]:ke},[B]:{[r.CHARACTER_TOKEN]:ae,[r.NULL_CHARACTER_TOKEN]:ne,[r.WHITESPACE_CHARACTER_TOKEN]:ae,[r.COMMENT_TOKEN]:ie,[r.DOCTYPE_TOKEN]:ne,[r.START_TAG_TOKEN]:function(e,t){const n=t.tagName;n===g.CAPTION||n===g.TABLE||n===g.TBODY||n===g.TFOOT||n===g.THEAD||n===g.TR||n===g.TD||n===g.TH?(e.openElements.popUntilTagNamePopped(g.SELECT),e._resetInsertionMode(),e._processToken(t)):Ue(e,t)},[r.END_TAG_TOKEN]:function(e,t){const n=t.tagName;n===g.CAPTION||n===g.TABLE||n===g.TBODY||n===g.TFOOT||n===g.THEAD||n===g.TR||n===g.TD||n===g.TH?e.openElements.hasInTableScope(n)&&(e.openElements.popUntilTagNamePopped(g.SELECT),e._resetInsertionMode(),e._processToken(t)):je(e,t)},[r.EOF_TOKEN]:ke},[U]:{[r.CHARACTER_TOKEN]:ye,[r.NULL_CHARACTER_TOKEN]:ne,[r.WHITESPACE_CHARACTER_TOKEN]:ge,[r.COMMENT_TOKEN]:ie,[r.DOCTYPE_TOKEN]:ne,[r.START_TAG_TOKEN]:function(e,t){const n=t.tagName;if(n===g.BASE||n===g.BASEFONT||n===g.BGSOUND||n===g.LINK||n===g.META||n===g.NOFRAMES||n===g.SCRIPT||n===g.STYLE||n===g.TEMPLATE||n===g.TITLE)he(e,t);else{const r=V[n]||L;e._popTmplInsertionMode(),e._pushTmplInsertionMode(r),e.insertionMode=r,e._processToken(t)}},[r.END_TAG_TOKEN]:function(e,t){t.tagName===g.TEMPLATE&&pe(e,t)},[r.EOF_TOKEN]:Ge},[j]:{[r.CHARACTER_TOKEN]:Ye,[r.NULL_CHARACTER_TOKEN]:Ye,[r.WHITESPACE_CHARACTER_TOKEN]:ge,[r.COMMENT_TOKEN]:function(e,t){e._appendCommentNode(t,e.openElements.items[0])},[r.DOCTYPE_TOKEN]:ne,[r.START_TAG_TOKEN]:function(e,t){t.tagName===g.HTML?we(e,t):Ye(e,t)},[r.END_TAG_TOKEN]:function(e,t){t.tagName===g.HTML?e.fragmentContext||(e.insertionMode=z):Ye(e,t)},[r.EOF_TOKEN]:se},[G]:{[r.CHARACTER_TOKEN]:ne,[r.NULL_CHARACTER_TOKEN]:ne,[r.WHITESPACE_CHARACTER_TOKEN]:ae,[r.COMMENT_TOKEN]:ie,[r.DOCTYPE_TOKEN]:ne,[r.START_TAG_TOKEN]:function(e,t){const n=t.tagName;n===g.HTML?we(e,t):n===g.FRAMESET?e._insertElement(t,y.HTML):n===g.FRAME?(e._appendElement(t,y.HTML),t.ackSelfClosing=!0):n===g.NOFRAMES&&he(e,t)},[r.END_TAG_TOKEN]:function(e,t){t.tagName!==g.FRAMESET||e.openElements.isRootHtmlElementCurrent()||(e.openElements.pop(),e.fragmentContext||e.openElements.currentTagName===g.FRAMESET||(e.insertionMode=Y))},[r.EOF_TOKEN]:se},[Y]:{[r.CHARACTER_TOKEN]:ne,[r.NULL_CHARACTER_TOKEN]:ne,[r.WHITESPACE_CHARACTER_TOKEN]:ae,[r.COMMENT_TOKEN]:ie,[r.DOCTYPE_TOKEN]:ne,[r.START_TAG_TOKEN]:function(e,t){const n=t.tagName;n===g.HTML?we(e,t):n===g.NOFRAMES&&he(e,t)},[r.END_TAG_TOKEN]:function(e,t){t.tagName===g.HTML&&(e.insertionMode=$)},[r.EOF_TOKEN]:se},[z]:{[r.CHARACTER_TOKEN]:ze,[r.NULL_CHARACTER_TOKEN]:ze,[r.WHITESPACE_CHARACTER_TOKEN]:ge,[r.COMMENT_TOKEN]:oe,[r.DOCTYPE_TOKEN]:ne,[r.START_TAG_TOKEN]:function(e,t){t.tagName===g.HTML?we(e,t):ze(e,t)},[r.END_TAG_TOKEN]:ze,[r.EOF_TOKEN]:se},[$]:{[r.CHARACTER_TOKEN]:ne,[r.NULL_CHARACTER_TOKEN]:ne,[r.WHITESPACE_CHARACTER_TOKEN]:ge,[r.COMMENT_TOKEN]:oe,[r.DOCTYPE_TOKEN]:ne,[r.START_TAG_TOKEN]:function(e,t){const n=t.tagName;n===g.HTML?we(e,t):n===g.NOFRAMES&&he(e,t)},[r.END_TAG_TOKEN]:ne,[r.EOF_TOKEN]:se}};function q(e,t){let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(t.tagName);return n?e.openElements.contains(n.element)?e.openElements.hasInScope(t.tagName)||(n=null):(e.activeFormattingElements.removeEntry(n),n=null):Ne(e,t),n}function X(e,t){let n=null;for(let r=e.openElements.stackTop;r>=0;r--){const i=e.openElements.items[r];if(i===t.element)break;e._isSpecialElement(i)&&(n=i)}return n||(e.openElements.popUntilElementPopped(t.element),e.activeFormattingElements.removeEntry(t)),n}function Z(e,t,n){let r=t,i=e.openElements.getCommonAncestor(t);for(let o=0,a=i;a!==n;o++,a=i){i=e.openElements.getCommonAncestor(a);const n=e.activeFormattingElements.getElementEntry(a),s=n&&o>=T;!n||s?(s&&e.activeFormattingElements.removeEntry(n),e.openElements.remove(a)):(a=Q(e,n),r===t&&(e.activeFormattingElements.bookmark=n),e.treeAdapter.detachNode(r),e.treeAdapter.appendChild(a,r),r=a)}return r}function Q(e,t){const n=e.treeAdapter.getNamespaceURI(t.element),r=e.treeAdapter.createElement(t.token.tagName,n,t.token.attrs);return e.openElements.replace(t.element,r),t.element=r,r}function J(e,t,n){if(e._isElementCausesFosterParenting(t))e._fosterParentElement(n);else{const r=e.treeAdapter.getTagName(t),i=e.treeAdapter.getNamespaceURI(t);r===g.TEMPLATE&&i===y.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,n)}}function ee(e,t,n){const r=e.treeAdapter.getNamespaceURI(n.element),i=n.token,o=e.treeAdapter.createElement(i.tagName,r,i.attrs);e._adoptNodes(t,o),e.treeAdapter.appendChild(t,o),e.activeFormattingElements.insertElementAfterBookmark(o,n.token),e.activeFormattingElements.removeEntry(n),e.openElements.remove(n.element),e.openElements.insertAfter(t,o)}function te(e,t){let n;for(let r=0;r<E&&(n=q(e,t),n);r++){const t=X(e,n);if(!t)break;e.activeFormattingElements.bookmark=n;const r=Z(e,t,n.element),i=e.openElements.getCommonAncestor(n.element);e.treeAdapter.detachNode(r),J(e,i,r),ee(e,t,n)}}function ne(){}function re(e){e._err(d.misplacedDoctype)}function ie(e,t){e._appendCommentNode(t,e.openElements.currentTmplContent||e.openElements.current)}function oe(e,t){e._appendCommentNode(t,e.document)}function ae(e,t){e._insertCharacters(t)}function se(e){e.stopped=!0}function le(e,t){e._err(d.missingDoctype,{beforeToken:!0}),e.treeAdapter.setDocumentMode(e.document,m.DOCUMENT_MODE.QUIRKS),e.insertionMode=S,e._processToken(t)}function ce(e,t){e._insertFakeRootElement(),e.insertionMode=C,e._processToken(t)}function ue(e,t){e._insertFakeElement(g.HEAD),e.headElement=e.openElements.current,e.insertionMode=A,e._processToken(t)}function he(e,t){const n=t.tagName;n===g.HTML?we(e,t):n===g.BASE||n===g.BASEFONT||n===g.BGSOUND||n===g.LINK||n===g.META?(e._appendElement(t,y.HTML),t.ackSelfClosing=!0):n===g.TITLE?e._switchToTextParsing(t,r.MODE.RCDATA):n===g.NOSCRIPT?e.options.scriptingEnabled?e._switchToTextParsing(t,r.MODE.RAWTEXT):(e._insertElement(t,y.HTML),e.insertionMode=R):n===g.NOFRAMES||n===g.STYLE?e._switchToTextParsing(t,r.MODE.RAWTEXT):n===g.SCRIPT?e._switchToTextParsing(t,r.MODE.SCRIPT_DATA):n===g.TEMPLATE?(e._insertTemplate(t,y.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=U,e._pushTmplInsertionMode(U)):n===g.HEAD?e._err(d.misplacedStartTagForHeadElement):de(e,t)}function pe(e,t){const n=t.tagName;n===g.HEAD?(e.openElements.pop(),e.insertionMode=w):n===g.BODY||n===g.BR||n===g.HTML?de(e,t):n===g.TEMPLATE&&e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagName!==g.TEMPLATE&&e._err(d.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(g.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e._popTmplInsertionMode(),e._resetInsertionMode()):e._err(d.endTagWithoutMatchingOpenElement)}function de(e,t){e.openElements.pop(),e.insertionMode=w,e._processToken(t)}function fe(e,t){const n=t.type===r.EOF_TOKEN?d.openElementsLeftAfterEof:d.disallowedContentInNoscriptInHead;e._err(n),e.openElements.pop(),e.insertionMode=A,e._processToken(t)}function me(e,t){e._insertFakeElement(g.BODY),e.insertionMode=L,e._processToken(t)}function ge(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function ye(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function ve(e,t){e.openElements.hasInButtonScope(g.P)&&e._closePElement(),e._insertElement(t,y.HTML)}function _e(e,t){e.openElements.hasInButtonScope(g.P)&&e._closePElement(),e._insertElement(t,y.HTML),e.skipNextNewLine=!0,e.framesetOk=!1}function be(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,y.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function Ee(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,y.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1}function Te(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,y.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function xe(e,t){e._appendElement(t,y.HTML),t.ackSelfClosing=!0}function Se(e,t){e._switchToTextParsing(t,r.MODE.RAWTEXT)}function Ce(e,t){e.openElements.currentTagName===g.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,y.HTML)}function Ae(e,t){e.openElements.hasInScope(g.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,y.HTML)}function Re(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,y.HTML)}function we(e,t){const n=t.tagName;switch(n.length){case 1:n===g.I||n===g.S||n===g.B||n===g.U?be(e,t):n===g.P?ve(e,t):n===g.A?function(e,t){const n=e.activeFormattingElements.getElementEntryInScopeWithTagName(g.A);n&&(te(e,t),e.openElements.remove(n.element),e.activeFormattingElements.removeEntry(n)),e._reconstructActiveFormattingElements(),e._insertElement(t,y.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}(e,t):Re(e,t);break;case 2:n===g.DL||n===g.OL||n===g.UL?ve(e,t):n===g.H1||n===g.H2||n===g.H3||n===g.H4||n===g.H5||n===g.H6?function(e,t){e.openElements.hasInButtonScope(g.P)&&e._closePElement();const n=e.openElements.currentTagName;n!==g.H1&&n!==g.H2&&n!==g.H3&&n!==g.H4&&n!==g.H5&&n!==g.H6||e.openElements.pop(),e._insertElement(t,y.HTML)}(e,t):n===g.LI||n===g.DD||n===g.DT?function(e,t){e.framesetOk=!1;const n=t.tagName;for(let t=e.openElements.stackTop;t>=0;t--){const r=e.openElements.items[t],i=e.treeAdapter.getTagName(r);let o=null;if(n===g.LI&&i===g.LI?o=g.LI:n!==g.DD&&n!==g.DT||i!==g.DD&&i!==g.DT||(o=i),o){e.openElements.generateImpliedEndTagsWithExclusion(o),e.openElements.popUntilTagNamePopped(o);break}if(i!==g.ADDRESS&&i!==g.DIV&&i!==g.P&&e._isSpecialElement(r))break}e.openElements.hasInButtonScope(g.P)&&e._closePElement(),e._insertElement(t,y.HTML)}(e,t):n===g.EM||n===g.TT?be(e,t):n===g.BR?Te(e,t):n===g.HR?function(e,t){e.openElements.hasInButtonScope(g.P)&&e._closePElement(),e._appendElement(t,y.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}(e,t):n===g.RB?Ae(e,t):n===g.RT||n===g.RP?function(e,t){e.openElements.hasInScope(g.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(g.RTC),e._insertElement(t,y.HTML)}(e,t):n!==g.TH&&n!==g.TD&&n!==g.TR&&Re(e,t);break;case 3:n===g.DIV||n===g.DIR||n===g.NAV?ve(e,t):n===g.PRE?_e(e,t):n===g.BIG?be(e,t):n===g.IMG||n===g.WBR?Te(e,t):n===g.XMP?function(e,t){e.openElements.hasInButtonScope(g.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,r.MODE.RAWTEXT)}(e,t):n===g.SVG?function(e,t){e._reconstructActiveFormattingElements(),p.adjustTokenSVGAttrs(t),p.adjustTokenXMLAttrs(t),t.selfClosing?e._appendElement(t,y.SVG):e._insertElement(t,y.SVG),t.ackSelfClosing=!0}(e,t):n===g.RTC?Ae(e,t):n!==g.COL&&Re(e,t);break;case 4:n===g.HTML?function(e,t){0===e.openElements.tmplCount&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs)}(e,t):n===g.BASE||n===g.LINK||n===g.META?he(e,t):n===g.BODY?function(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();n&&0===e.openElements.tmplCount&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(n,t.attrs))}(e,t):n===g.MAIN||n===g.MENU?ve(e,t):n===g.FORM?function(e,t){const n=e.openElements.tmplCount>0;e.formElement&&!n||(e.openElements.hasInButtonScope(g.P)&&e._closePElement(),e._insertElement(t,y.HTML),n||(e.formElement=e.openElements.current))}(e,t):n===g.CODE||n===g.FONT?be(e,t):n===g.NOBR?function(e,t){e._reconstructActiveFormattingElements(),e.openElements.hasInScope(g.NOBR)&&(te(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,y.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}(e,t):n===g.AREA?Te(e,t):n===g.MATH?function(e,t){e._reconstructActiveFormattingElements(),p.adjustTokenMathMLAttrs(t),p.adjustTokenXMLAttrs(t),t.selfClosing?e._appendElement(t,y.MATHML):e._insertElement(t,y.MATHML),t.ackSelfClosing=!0}(e,t):n===g.MENU?function(e,t){e.openElements.hasInButtonScope(g.P)&&e._closePElement(),e._insertElement(t,y.HTML)}(e,t):n!==g.HEAD&&Re(e,t);break;case 5:n===g.STYLE||n===g.TITLE?he(e,t):n===g.ASIDE?ve(e,t):n===g.SMALL?be(e,t):n===g.TABLE?function(e,t){e.treeAdapter.getDocumentMode(e.document)!==m.DOCUMENT_MODE.QUIRKS&&e.openElements.hasInButtonScope(g.P)&&e._closePElement(),e._insertElement(t,y.HTML),e.framesetOk=!1,e.insertionMode=N}(e,t):n===g.EMBED?Te(e,t):n===g.INPUT?function(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,y.HTML);const n=r.getTokenAttr(t,v.TYPE);n&&n.toLowerCase()===b||(e.framesetOk=!1),t.ackSelfClosing=!0}(e,t):n===g.PARAM||n===g.TRACK?xe(e,t):n===g.IMAGE?function(e,t){t.tagName=g.IMG,Te(e,t)}(e,t):n!==g.FRAME&&n!==g.TBODY&&n!==g.TFOOT&&n!==g.THEAD&&Re(e,t);break;case 6:n===g.SCRIPT?he(e,t):n===g.CENTER||n===g.FIGURE||n===g.FOOTER||n===g.HEADER||n===g.HGROUP||n===g.DIALOG?ve(e,t):n===g.BUTTON?function(e,t){e.openElements.hasInScope(g.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(g.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,y.HTML),e.framesetOk=!1}(e,t):n===g.STRIKE||n===g.STRONG?be(e,t):n===g.APPLET||n===g.OBJECT?Ee(e,t):n===g.KEYGEN?Te(e,t):n===g.SOURCE?xe(e,t):n===g.IFRAME?function(e,t){e.framesetOk=!1,e._switchToTextParsing(t,r.MODE.RAWTEXT)}(e,t):n===g.SELECT?function(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,y.HTML),e.framesetOk=!1,e.insertionMode===N||e.insertionMode===k||e.insertionMode===P||e.insertionMode===M||e.insertionMode===F?e.insertionMode=B:e.insertionMode=H}(e,t):n===g.OPTION?Ce(e,t):Re(e,t);break;case 7:n===g.BGSOUND?he(e,t):n===g.DETAILS||n===g.ADDRESS||n===g.ARTICLE||n===g.SECTION||n===g.SUMMARY?ve(e,t):n===g.LISTING?_e(e,t):n===g.MARQUEE?Ee(e,t):n===g.NOEMBED?Se(e,t):n!==g.CAPTION&&Re(e,t);break;case 8:n===g.BASEFONT?he(e,t):n===g.FRAMESET?function(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&n&&(e.treeAdapter.detachNode(n),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,y.HTML),e.insertionMode=G)}(e,t):n===g.FIELDSET?ve(e,t):n===g.TEXTAREA?function(e,t){e._insertElement(t,y.HTML),e.skipNextNewLine=!0,e.tokenizer.state=r.MODE.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=O}(e,t):n===g.TEMPLATE?he(e,t):n===g.NOSCRIPT?e.options.scriptingEnabled?Se(e,t):Re(e,t):n===g.OPTGROUP?Ce(e,t):n!==g.COLGROUP&&Re(e,t);break;case 9:n===g.PLAINTEXT?function(e,t){e.openElements.hasInButtonScope(g.P)&&e._closePElement(),e._insertElement(t,y.HTML),e.tokenizer.state=r.MODE.PLAINTEXT}(e,t):Re(e,t);break;case 10:n===g.BLOCKQUOTE||n===g.FIGCAPTION?ve(e,t):Re(e,t);break;default:Re(e,t)}}function Le(e,t){const n=t.tagName;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n))}function Oe(e,t){const n=t.tagName;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker())}function Ne(e,t){const n=t.tagName;for(let t=e.openElements.stackTop;t>0;t--){const r=e.openElements.items[t];if(e.treeAdapter.getTagName(r)===n){e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilElementPopped(r);break}if(e._isSpecialElement(r))break}}function Ie(e,t){const n=t.tagName;switch(n.length){case 1:n===g.A||n===g.B||n===g.I||n===g.S||n===g.U?te(e,t):n===g.P?function(e){e.openElements.hasInButtonScope(g.P)||e._insertFakeElement(g.P),e._closePElement()}(e):Ne(e,t);break;case 2:n===g.DL||n===g.UL||n===g.OL?Le(e,t):n===g.LI?function(e){e.openElements.hasInListItemScope(g.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(g.LI),e.openElements.popUntilTagNamePopped(g.LI))}(e):n===g.DD||n===g.DT?function(e,t){const n=t.tagName;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilTagNamePopped(n))}(e,t):n===g.H1||n===g.H2||n===g.H3||n===g.H4||n===g.H5||n===g.H6?function(e){e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped())}(e):n===g.BR?function(e){e._reconstructActiveFormattingElements(),e._insertFakeElement(g.BR),e.openElements.pop(),e.framesetOk=!1}(e):n===g.EM||n===g.TT?te(e,t):Ne(e,t);break;case 3:n===g.BIG?te(e,t):n===g.DIR||n===g.DIV||n===g.NAV||n===g.PRE?Le(e,t):Ne(e,t);break;case 4:n===g.BODY?function(e){e.openElements.hasInScope(g.BODY)&&(e.insertionMode=j)}(e):n===g.HTML?function(e,t){e.openElements.hasInScope(g.BODY)&&(e.insertionMode=j,e._processToken(t))}(e,t):n===g.FORM?function(e){const t=e.openElements.tmplCount>0,n=e.formElement;t||(e.formElement=null),(n||t)&&e.openElements.hasInScope(g.FORM)&&(e.openElements.generateImpliedEndTags(),t?e.openElements.popUntilTagNamePopped(g.FORM):e.openElements.remove(n))}(e):n===g.CODE||n===g.FONT||n===g.NOBR?te(e,t):n===g.MAIN||n===g.MENU?Le(e,t):Ne(e,t);break;case 5:n===g.ASIDE?Le(e,t):n===g.SMALL?te(e,t):Ne(e,t);break;case 6:n===g.CENTER||n===g.FIGURE||n===g.FOOTER||n===g.HEADER||n===g.HGROUP||n===g.DIALOG?Le(e,t):n===g.APPLET||n===g.OBJECT?Oe(e,t):n===g.STRIKE||n===g.STRONG?te(e,t):Ne(e,t);break;case 7:n===g.ADDRESS||n===g.ARTICLE||n===g.DETAILS||n===g.SECTION||n===g.SUMMARY||n===g.LISTING?Le(e,t):n===g.MARQUEE?Oe(e,t):Ne(e,t);break;case 8:n===g.FIELDSET?Le(e,t):n===g.TEMPLATE?pe(e,t):Ne(e,t);break;case 10:n===g.BLOCKQUOTE||n===g.FIGCAPTION?Le(e,t):Ne(e,t);break;default:Ne(e,t)}}function ke(e,t){e.tmplInsertionModeStackTop>-1?Ge(e,t):e.stopped=!0}function De(e,t){const n=e.openElements.currentTagName;n===g.TABLE||n===g.TBODY||n===g.TFOOT||n===g.THEAD||n===g.TR?(e.pendingCharacterTokens=[],e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=I,e._processToken(t)):Fe(e,t)}function Pe(e,t){const n=t.tagName;switch(n.length){case 2:n===g.TD||n===g.TH||n===g.TR?function(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(g.TBODY),e.insertionMode=P,e._processToken(t)}(e,t):Fe(e,t);break;case 3:n===g.COL?function(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(g.COLGROUP),e.insertionMode=D,e._processToken(t)}(e,t):Fe(e,t);break;case 4:n===g.FORM?function(e,t){e.formElement||0!==e.openElements.tmplCount||(e._insertElement(t,y.HTML),e.formElement=e.openElements.current,e.openElements.pop())}(e,t):Fe(e,t);break;case 5:n===g.TABLE?function(e,t){e.openElements.hasInTableScope(g.TABLE)&&(e.openElements.popUntilTagNamePopped(g.TABLE),e._resetInsertionMode(),e._processToken(t))}(e,t):n===g.STYLE?he(e,t):n===g.TBODY||n===g.TFOOT||n===g.THEAD?function(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,y.HTML),e.insertionMode=P}(e,t):n===g.INPUT?function(e,t){const n=r.getTokenAttr(t,v.TYPE);n&&n.toLowerCase()===b?e._appendElement(t,y.HTML):Fe(e,t),t.ackSelfClosing=!0}(e,t):Fe(e,t);break;case 6:n===g.SCRIPT?he(e,t):Fe(e,t);break;case 7:n===g.CAPTION?function(e,t){e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,y.HTML),e.insertionMode=k}(e,t):Fe(e,t);break;case 8:n===g.COLGROUP?function(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,y.HTML),e.insertionMode=D}(e,t):n===g.TEMPLATE?he(e,t):Fe(e,t);break;default:Fe(e,t)}}function Me(e,t){const n=t.tagName;n===g.TABLE?e.openElements.hasInTableScope(g.TABLE)&&(e.openElements.popUntilTagNamePopped(g.TABLE),e._resetInsertionMode()):n===g.TEMPLATE?pe(e,t):n!==g.BODY&&n!==g.CAPTION&&n!==g.COL&&n!==g.COLGROUP&&n!==g.HTML&&n!==g.TBODY&&n!==g.TD&&n!==g.TFOOT&&n!==g.TH&&n!==g.THEAD&&n!==g.TR&&Fe(e,t)}function Fe(e,t){const n=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,e._processTokenInBodyMode(t),e.fosterParentingEnabled=n}function He(e,t){let n=0;if(e.hasNonWhitespacePendingCharacterToken)for(;n<e.pendingCharacterTokens.length;n++)Fe(e,e.pendingCharacterTokens[n]);else for(;n<e.pendingCharacterTokens.length;n++)e._insertCharacters(e.pendingCharacterTokens[n]);e.insertionMode=e.originalInsertionMode,e._processToken(t)}function Be(e,t){e.openElements.currentTagName===g.COLGROUP&&(e.openElements.pop(),e.insertionMode=N,e._processToken(t))}function Ue(e,t){const n=t.tagName;n===g.HTML?we(e,t):n===g.OPTION?(e.openElements.currentTagName===g.OPTION&&e.openElements.pop(),e._insertElement(t,y.HTML)):n===g.OPTGROUP?(e.openElements.currentTagName===g.OPTION&&e.openElements.pop(),e.openElements.currentTagName===g.OPTGROUP&&e.openElements.pop(),e._insertElement(t,y.HTML)):n===g.INPUT||n===g.KEYGEN||n===g.TEXTAREA||n===g.SELECT?e.openElements.hasInSelectScope(g.SELECT)&&(e.openElements.popUntilTagNamePopped(g.SELECT),e._resetInsertionMode(),n!==g.SELECT&&e._processToken(t)):n!==g.SCRIPT&&n!==g.TEMPLATE||he(e,t)}function je(e,t){const n=t.tagName;if(n===g.OPTGROUP){const t=e.openElements.items[e.openElements.stackTop-1],n=t&&e.treeAdapter.getTagName(t);e.openElements.currentTagName===g.OPTION&&n===g.OPTGROUP&&e.openElements.pop(),e.openElements.currentTagName===g.OPTGROUP&&e.openElements.pop()}else n===g.OPTION?e.openElements.currentTagName===g.OPTION&&e.openElements.pop():n===g.SELECT&&e.openElements.hasInSelectScope(g.SELECT)?(e.openElements.popUntilTagNamePopped(g.SELECT),e._resetInsertionMode()):n===g.TEMPLATE&&pe(e,t)}function Ge(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(g.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e._popTmplInsertionMode(),e._resetInsertionMode(),e._processToken(t)):e.stopped=!0}function Ye(e,t){e.insertionMode=L,e._processToken(t)}function ze(e,t){e.insertionMode=L,e._processToken(t)}e.exports=class{constructor(e){this.options=u(_,e),this.treeAdapter=this.options.treeAdapter,this.pendingScript=null,this.options.sourceCodeLocationInfo&&l.install(this,a),this.options.onParseError&&l.install(this,s,{onParseError:this.options.onParseError})}parse(e){const t=this.treeAdapter.createDocument();return this._bootstrap(t,null),this.tokenizer.write(e,!0),this._runParsingLoop(null),t}parseFragment(e,t){t||(t=this.treeAdapter.createElement(g.TEMPLATE,y.HTML,[]));const n=this.treeAdapter.createElement("documentmock",y.HTML,[]);this._bootstrap(n,t),this.treeAdapter.getTagName(t)===g.TEMPLATE&&this._pushTmplInsertionMode(U),this._initTokenizerForFragmentParsing(),this._insertFakeRootElement(),this._resetInsertionMode(),this._findFormInFragmentContext(),this.tokenizer.write(e,!0),this._runParsingLoop(null);const r=this.treeAdapter.getFirstChild(n),i=this.treeAdapter.createDocumentFragment();return this._adoptNodes(r,i),i}_bootstrap(e,t){this.tokenizer=new r(this.options),this.stopped=!1,this.insertionMode=x,this.originalInsertionMode="",this.document=e,this.fragmentContext=t,this.headElement=null,this.formElement=null,this.openElements=new i(this.document,this.treeAdapter),this.activeFormattingElements=new o(this.treeAdapter),this.tmplInsertionModeStack=[],this.tmplInsertionModeStackTop=-1,this.currentTmplInsertionMode=null,this.pendingCharacterTokens=[],this.hasNonWhitespacePendingCharacterToken=!1,this.framesetOk=!0,this.skipNextNewLine=!1,this.fosterParentingEnabled=!1}_err(){}_runParsingLoop(e){for(;!this.stopped;){this._setupTokenizerCDATAMode();const t=this.tokenizer.getNextToken();if(t.type===r.HIBERNATION_TOKEN)break;if(this.skipNextNewLine&&(this.skipNextNewLine=!1,t.type===r.WHITESPACE_CHARACTER_TOKEN&&"\n"===t.chars[0])){if(1===t.chars.length)continue;t.chars=t.chars.substr(1)}if(this._processInputToken(t),e&&this.pendingScript)break}}runParsingLoopForCurrentChunk(e,t){if(this._runParsingLoop(t),t&&this.pendingScript){const e=this.pendingScript;return this.pendingScript=null,void t(e)}e&&e()}_setupTokenizerCDATAMode(){const e=this._getAdjustedCurrentElement();this.tokenizer.allowCDATA=e&&e!==this.document&&this.treeAdapter.getNamespaceURI(e)!==y.HTML&&!this._isIntegrationPoint(e)}_switchToTextParsing(e,t){this._insertElement(e,y.HTML),this.tokenizer.state=t,this.originalInsertionMode=this.insertionMode,this.insertionMode=O}switchToPlaintextParsing(){this.insertionMode=O,this.originalInsertionMode=L,this.tokenizer.state=r.MODE.PLAINTEXT}_getAdjustedCurrentElement(){return 0===this.openElements.stackTop&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let e=this.fragmentContext;do{if(this.treeAdapter.getTagName(e)===g.FORM){this.formElement=e;break}e=this.treeAdapter.getParentNode(e)}while(e)}_initTokenizerForFragmentParsing(){if(this.treeAdapter.getNamespaceURI(this.fragmentContext)===y.HTML){const e=this.treeAdapter.getTagName(this.fragmentContext);e===g.TITLE||e===g.TEXTAREA?this.tokenizer.state=r.MODE.RCDATA:e===g.STYLE||e===g.XMP||e===g.IFRAME||e===g.NOEMBED||e===g.NOFRAMES||e===g.NOSCRIPT?this.tokenizer.state=r.MODE.RAWTEXT:e===g.SCRIPT?this.tokenizer.state=r.MODE.SCRIPT_DATA:e===g.PLAINTEXT&&(this.tokenizer.state=r.MODE.PLAINTEXT)}}_setDocumentType(e){const t=e.name||"",n=e.publicId||"",r=e.systemId||"";this.treeAdapter.setDocumentType(this.document,t,n,r)}_attachElementToTree(e){if(this._shouldFosterParentOnInsertion())this._fosterParentElement(e);else{const t=this.openElements.currentTmplContent||this.openElements.current;this.treeAdapter.appendChild(t,e)}}_appendElement(e,t){const n=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(n)}_insertElement(e,t){const n=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(n),this.openElements.push(n)}_insertFakeElement(e){const t=this.treeAdapter.createElement(e,y.HTML,[]);this._attachElementToTree(t),this.openElements.push(t)}_insertTemplate(e){const t=this.treeAdapter.createElement(e.tagName,y.HTML,e.attrs),n=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(t,n),this._attachElementToTree(t),this.openElements.push(t)}_insertFakeRootElement(){const e=this.treeAdapter.createElement(g.HTML,y.HTML,[]);this.treeAdapter.appendChild(this.openElements.current,e),this.openElements.push(e)}_appendCommentNode(e,t){const n=this.treeAdapter.createCommentNode(e.data);this.treeAdapter.appendChild(t,n)}_insertCharacters(e){if(this._shouldFosterParentOnInsertion())this._fosterParentText(e.chars);else{const t=this.openElements.currentTmplContent||this.openElements.current;this.treeAdapter.insertText(t,e.chars)}}_adoptNodes(e,t){for(let n=this.treeAdapter.getFirstChild(e);n;n=this.treeAdapter.getFirstChild(e))this.treeAdapter.detachNode(n),this.treeAdapter.appendChild(t,n)}_shouldProcessTokenInForeignContent(e){const t=this._getAdjustedCurrentElement();if(!t||t===this.document)return!1;const n=this.treeAdapter.getNamespaceURI(t);if(n===y.HTML)return!1;if(this.treeAdapter.getTagName(t)===g.ANNOTATION_XML&&n===y.MATHML&&e.type===r.START_TAG_TOKEN&&e.tagName===g.SVG)return!1;const i=e.type===r.CHARACTER_TOKEN||e.type===r.NULL_CHARACTER_TOKEN||e.type===r.WHITESPACE_CHARACTER_TOKEN;return!((e.type===r.START_TAG_TOKEN&&e.tagName!==g.MGLYPH&&e.tagName!==g.MALIGNMARK||i)&&this._isIntegrationPoint(t,y.MATHML)||(e.type===r.START_TAG_TOKEN||i)&&this._isIntegrationPoint(t,y.HTML)||e.type===r.EOF_TOKEN)}_processToken(e){K[this.insertionMode][e.type](this,e)}_processTokenInBodyMode(e){K[L][e.type](this,e)}_processTokenInForeignContent(e){e.type===r.CHARACTER_TOKEN?function(e,t){e._insertCharacters(t),e.framesetOk=!1}(this,e):e.type===r.NULL_CHARACTER_TOKEN?function(e,t){t.chars=f.REPLACEMENT_CHARACTER,e._insertCharacters(t)}(this,e):e.type===r.WHITESPACE_CHARACTER_TOKEN?ae(this,e):e.type===r.COMMENT_TOKEN?ie(this,e):e.type===r.START_TAG_TOKEN?function(e,t){if(p.causesExit(t)&&!e.fragmentContext){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==y.HTML&&!e._isIntegrationPoint(e.openElements.current);)e.openElements.pop();e._processToken(t)}else{const n=e._getAdjustedCurrentElement(),r=e.treeAdapter.getNamespaceURI(n);r===y.MATHML?p.adjustTokenMathMLAttrs(t):r===y.SVG&&(p.adjustTokenSVGTagName(t),p.adjustTokenSVGAttrs(t)),p.adjustTokenXMLAttrs(t),t.selfClosing?e._appendElement(t,r):e._insertElement(t,r),t.ackSelfClosing=!0}}(this,e):e.type===r.END_TAG_TOKEN&&function(e,t){for(let n=e.openElements.stackTop;n>0;n--){const r=e.openElements.items[n];if(e.treeAdapter.getNamespaceURI(r)===y.HTML){e._processToken(t);break}if(e.treeAdapter.getTagName(r).toLowerCase()===t.tagName){e.openElements.popUntilElementPopped(r);break}}}(this,e)}_processInputToken(e){this._shouldProcessTokenInForeignContent(e)?this._processTokenInForeignContent(e):this._processToken(e),e.type===r.START_TAG_TOKEN&&e.selfClosing&&!e.ackSelfClosing&&this._err(d.nonVoidHtmlElementStartTagWithTrailingSolidus)}_isIntegrationPoint(e,t){const n=this.treeAdapter.getTagName(e),r=this.treeAdapter.getNamespaceURI(e),i=this.treeAdapter.getAttrList(e);return p.isIntegrationPoint(n,r,i,t)}_reconstructActiveFormattingElements(){const e=this.activeFormattingElements.length;if(e){let t=e,n=null;do{if(t--,n=this.activeFormattingElements.entries[t],n.type===o.MARKER_ENTRY||this.openElements.contains(n.element)){t++;break}}while(t>0);for(let r=t;r<e;r++)n=this.activeFormattingElements.entries[r],this._insertElement(n.token,this.treeAdapter.getNamespaceURI(n.element)),n.element=this.openElements.current}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=M}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(g.P),this.openElements.popUntilTagNamePopped(g.P)}_resetInsertionMode(){for(let e=this.openElements.stackTop,t=!1;e>=0;e--){let n=this.openElements.items[e];0===e&&(t=!0,this.fragmentContext&&(n=this.fragmentContext));const r=this.treeAdapter.getTagName(n),i=W[r];if(i){this.insertionMode=i;break}if(!(t||r!==g.TD&&r!==g.TH)){this.insertionMode=F;break}if(!t&&r===g.HEAD){this.insertionMode=A;break}if(r===g.SELECT){this._resetInsertionModeForSelect(e);break}if(r===g.TEMPLATE){this.insertionMode=this.currentTmplInsertionMode;break}if(r===g.HTML){this.insertionMode=this.headElement?w:C;break}if(t){this.insertionMode=L;break}}}_resetInsertionModeForSelect(e){if(e>0)for(let t=e-1;t>0;t--){const e=this.openElements.items[t],n=this.treeAdapter.getTagName(e);if(n===g.TEMPLATE)break;if(n===g.TABLE)return void(this.insertionMode=B)}this.insertionMode=H}_pushTmplInsertionMode(e){this.tmplInsertionModeStack.push(e),this.tmplInsertionModeStackTop++,this.currentTmplInsertionMode=e}_popTmplInsertionMode(){this.tmplInsertionModeStack.pop(),this.tmplInsertionModeStackTop--,this.currentTmplInsertionMode=this.tmplInsertionModeStack[this.tmplInsertionModeStackTop]}_isElementCausesFosterParenting(e){const t=this.treeAdapter.getTagName(e);return t===g.TABLE||t===g.TBODY||t===g.TFOOT||t===g.THEAD||t===g.TR}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this._isElementCausesFosterParenting(this.openElements.current)}_findFosterParentingLocation(){const e={parent:null,beforeElement:null};for(let t=this.openElements.stackTop;t>=0;t--){const n=this.openElements.items[t],r=this.treeAdapter.getTagName(n),i=this.treeAdapter.getNamespaceURI(n);if(r===g.TEMPLATE&&i===y.HTML){e.parent=this.treeAdapter.getTemplateContent(n);break}if(r===g.TABLE){e.parent=this.treeAdapter.getParentNode(n),e.parent?e.beforeElement=n:e.parent=this.openElements.items[t-1];break}}return e.parent||(e.parent=this.openElements.items[0]),e}_fosterParentElement(e){const t=this._findFosterParentingLocation();t.beforeElement?this.treeAdapter.insertBefore(t.parent,e,t.beforeElement):this.treeAdapter.appendChild(t.parent,e)}_fosterParentText(e){const t=this._findFosterParentingLocation();t.beforeElement?this.treeAdapter.insertTextBefore(t.parent,e,t.beforeElement):this.treeAdapter.insertText(t.parent,e)}_isSpecialElement(e){const t=this.treeAdapter.getTagName(e),n=this.treeAdapter.getNamespaceURI(e);return m.SPECIAL_ELEMENTS[n][t]}}},5331:(e,t,n)=>{"use strict";const r=n(162),i=r.TAG_NAMES,o=r.NAMESPACES;function a(e){switch(e.length){case 1:return e===i.P;case 2:return e===i.RB||e===i.RP||e===i.RT||e===i.DD||e===i.DT||e===i.LI;case 3:return e===i.RTC;case 6:return e===i.OPTION;case 8:return e===i.OPTGROUP}return!1}function s(e){switch(e.length){case 1:return e===i.P;case 2:return e===i.RB||e===i.RP||e===i.RT||e===i.DD||e===i.DT||e===i.LI||e===i.TD||e===i.TH||e===i.TR;case 3:return e===i.RTC;case 5:return e===i.TBODY||e===i.TFOOT||e===i.THEAD;case 6:return e===i.OPTION;case 7:return e===i.CAPTION;case 8:return e===i.OPTGROUP||e===i.COLGROUP}return!1}function l(e,t){switch(e.length){case 2:if(e===i.TD||e===i.TH)return t===o.HTML;if(e===i.MI||e===i.MO||e===i.MN||e===i.MS)return t===o.MATHML;break;case 4:if(e===i.HTML)return t===o.HTML;if(e===i.DESC)return t===o.SVG;break;case 5:if(e===i.TABLE)return t===o.HTML;if(e===i.MTEXT)return t===o.MATHML;if(e===i.TITLE)return t===o.SVG;break;case 6:return(e===i.APPLET||e===i.OBJECT)&&t===o.HTML;case 7:return(e===i.CAPTION||e===i.MARQUEE)&&t===o.HTML;case 8:return e===i.TEMPLATE&&t===o.HTML;case 13:return e===i.FOREIGN_OBJECT&&t===o.SVG;case 14:return e===i.ANNOTATION_XML&&t===o.MATHML}return!1}e.exports=class{constructor(e,t){this.stackTop=-1,this.items=[],this.current=e,this.currentTagName=null,this.currentTmplContent=null,this.tmplCount=0,this.treeAdapter=t}_indexOf(e){let t=-1;for(let n=this.stackTop;n>=0;n--)if(this.items[n]===e){t=n;break}return t}_isInTemplate(){return this.currentTagName===i.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===o.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagName=this.current&&this.treeAdapter.getTagName(this.current),this.currentTmplContent=this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):null}push(e){this.items[++this.stackTop]=e,this._updateCurrentElement(),this._isInTemplate()&&this.tmplCount++}pop(){this.stackTop--,this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this._updateCurrentElement()}replace(e,t){const n=this._indexOf(e);this.items[n]=t,n===this.stackTop&&this._updateCurrentElement()}insertAfter(e,t){const n=this._indexOf(e)+1;this.items.splice(n,0,t),n===++this.stackTop&&this._updateCurrentElement()}popUntilTagNamePopped(e){for(;this.stackTop>-1;){const t=this.currentTagName,n=this.treeAdapter.getNamespaceURI(this.current);if(this.pop(),t===e&&n===o.HTML)break}}popUntilElementPopped(e){for(;this.stackTop>-1;){const t=this.current;if(this.pop(),t===e)break}}popUntilNumberedHeaderPopped(){for(;this.stackTop>-1;){const e=this.currentTagName,t=this.treeAdapter.getNamespaceURI(this.current);if(this.pop(),e===i.H1||e===i.H2||e===i.H3||e===i.H4||e===i.H5||e===i.H6&&t===o.HTML)break}}popUntilTableCellPopped(){for(;this.stackTop>-1;){const e=this.currentTagName,t=this.treeAdapter.getNamespaceURI(this.current);if(this.pop(),e===i.TD||e===i.TH&&t===o.HTML)break}}popAllUpToHtmlElement(){this.stackTop=0,this._updateCurrentElement()}clearBackToTableContext(){for(;this.currentTagName!==i.TABLE&&this.currentTagName!==i.TEMPLATE&&this.currentTagName!==i.HTML||this.treeAdapter.getNamespaceURI(this.current)!==o.HTML;)this.pop()}clearBackToTableBodyContext(){for(;this.currentTagName!==i.TBODY&&this.currentTagName!==i.TFOOT&&this.currentTagName!==i.THEAD&&this.currentTagName!==i.TEMPLATE&&this.currentTagName!==i.HTML||this.treeAdapter.getNamespaceURI(this.current)!==o.HTML;)this.pop()}clearBackToTableRowContext(){for(;this.currentTagName!==i.TR&&this.currentTagName!==i.TEMPLATE&&this.currentTagName!==i.HTML||this.treeAdapter.getNamespaceURI(this.current)!==o.HTML;)this.pop()}remove(e){for(let t=this.stackTop;t>=0;t--)if(this.items[t]===e){this.items.splice(t,1),this.stackTop--,this._updateCurrentElement();break}}tryPeekProperlyNestedBodyElement(){const e=this.items[1];return e&&this.treeAdapter.getTagName(e)===i.BODY?e:null}contains(e){return this._indexOf(e)>-1}getCommonAncestor(e){let t=this._indexOf(e);return--t>=0?this.items[t]:null}isRootHtmlElementCurrent(){return 0===this.stackTop&&this.currentTagName===i.HTML}hasInScope(e){for(let t=this.stackTop;t>=0;t--){const n=this.treeAdapter.getTagName(this.items[t]),r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===o.HTML)return!0;if(l(n,r))return!1}return!0}hasNumberedHeaderInScope(){for(let e=this.stackTop;e>=0;e--){const t=this.treeAdapter.getTagName(this.items[e]),n=this.treeAdapter.getNamespaceURI(this.items[e]);if((t===i.H1||t===i.H2||t===i.H3||t===i.H4||t===i.H5||t===i.H6)&&n===o.HTML)return!0;if(l(t,n))return!1}return!0}hasInListItemScope(e){for(let t=this.stackTop;t>=0;t--){const n=this.treeAdapter.getTagName(this.items[t]),r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===o.HTML)return!0;if((n===i.UL||n===i.OL)&&r===o.HTML||l(n,r))return!1}return!0}hasInButtonScope(e){for(let t=this.stackTop;t>=0;t--){const n=this.treeAdapter.getTagName(this.items[t]),r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===o.HTML)return!0;if(n===i.BUTTON&&r===o.HTML||l(n,r))return!1}return!0}hasInTableScope(e){for(let t=this.stackTop;t>=0;t--){const n=this.treeAdapter.getTagName(this.items[t]);if(this.treeAdapter.getNamespaceURI(this.items[t])===o.HTML){if(n===e)return!0;if(n===i.TABLE||n===i.TEMPLATE||n===i.HTML)return!1}}return!0}hasTableBodyContextInTableScope(){for(let e=this.stackTop;e>=0;e--){const t=this.treeAdapter.getTagName(this.items[e]);if(this.treeAdapter.getNamespaceURI(this.items[e])===o.HTML){if(t===i.TBODY||t===i.THEAD||t===i.TFOOT)return!0;if(t===i.TABLE||t===i.HTML)return!1}}return!0}hasInSelectScope(e){for(let t=this.stackTop;t>=0;t--){const n=this.treeAdapter.getTagName(this.items[t]);if(this.treeAdapter.getNamespaceURI(this.items[t])===o.HTML){if(n===e)return!0;if(n!==i.OPTION&&n!==i.OPTGROUP)return!1}}return!0}generateImpliedEndTags(){for(;a(this.currentTagName);)this.pop()}generateImpliedEndTagsThoroughly(){for(;s(this.currentTagName);)this.pop()}generateImpliedEndTagsWithExclusion(e){for(;a(this.currentTagName)&&this.currentTagName!==e;)this.pop()}}},3102:(e,t,n)=>{"use strict";const r=n(5168),i=n(7616),o=n(1051),a=n(1302),s=i.CODE_POINTS,l=i.CODE_POINT_SEQUENCES,c={128:8364,130:8218,131:402,132:8222,133:8230,134:8224,135:8225,136:710,137:8240,138:352,139:8249,140:338,142:381,145:8216,146:8217,147:8220,148:8221,149:8226,150:8211,151:8212,152:732,153:8482,154:353,155:8250,156:339,158:382,159:376},u="DATA_STATE",h="RCDATA_STATE",p="RAWTEXT_STATE",d="SCRIPT_DATA_STATE",f="PLAINTEXT_STATE",m="TAG_OPEN_STATE",g="END_TAG_OPEN_STATE",y="TAG_NAME_STATE",v="RCDATA_LESS_THAN_SIGN_STATE",_="RCDATA_END_TAG_OPEN_STATE",b="RCDATA_END_TAG_NAME_STATE",E="RAWTEXT_LESS_THAN_SIGN_STATE",T="RAWTEXT_END_TAG_OPEN_STATE",x="RAWTEXT_END_TAG_NAME_STATE",S="SCRIPT_DATA_LESS_THAN_SIGN_STATE",C="SCRIPT_DATA_END_TAG_OPEN_STATE",A="SCRIPT_DATA_END_TAG_NAME_STATE",R="SCRIPT_DATA_ESCAPE_START_STATE",w="SCRIPT_DATA_ESCAPE_START_DASH_STATE",L="SCRIPT_DATA_ESCAPED_STATE",O="SCRIPT_DATA_ESCAPED_DASH_STATE",N="SCRIPT_DATA_ESCAPED_DASH_DASH_STATE",I="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN_STATE",k="SCRIPT_DATA_ESCAPED_END_TAG_OPEN_STATE",D="SCRIPT_DATA_ESCAPED_END_TAG_NAME_STATE",P="SCRIPT_DATA_DOUBLE_ESCAPE_START_STATE",M="SCRIPT_DATA_DOUBLE_ESCAPED_STATE",F="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_STATE",H="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH_STATE",B="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN_STATE",U="SCRIPT_DATA_DOUBLE_ESCAPE_END_STATE",j="BEFORE_ATTRIBUTE_NAME_STATE",G="ATTRIBUTE_NAME_STATE",Y="AFTER_ATTRIBUTE_NAME_STATE",z="BEFORE_ATTRIBUTE_VALUE_STATE",$="ATTRIBUTE_VALUE_DOUBLE_QUOTED_STATE",W="ATTRIBUTE_VALUE_SINGLE_QUOTED_STATE",V="ATTRIBUTE_VALUE_UNQUOTED_STATE",K="AFTER_ATTRIBUTE_VALUE_QUOTED_STATE",q="SELF_CLOSING_START_TAG_STATE",X="BOGUS_COMMENT_STATE",Z="MARKUP_DECLARATION_OPEN_STATE",Q="COMMENT_START_STATE",J="COMMENT_START_DASH_STATE",ee="COMMENT_STATE",te="COMMENT_LESS_THAN_SIGN_STATE",ne="COMMENT_LESS_THAN_SIGN_BANG_STATE",re="COMMENT_LESS_THAN_SIGN_BANG_DASH_STATE",ie="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH_STATE",oe="COMMENT_END_DASH_STATE",ae="COMMENT_END_STATE",se="COMMENT_END_BANG_STATE",le="DOCTYPE_STATE",ce="BEFORE_DOCTYPE_NAME_STATE",ue="DOCTYPE_NAME_STATE",he="AFTER_DOCTYPE_NAME_STATE",pe="AFTER_DOCTYPE_PUBLIC_KEYWORD_STATE",de="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER_STATE",fe="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED_STATE",me="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED_STATE",ge="AFTER_DOCTYPE_PUBLIC_IDENTIFIER_STATE",ye="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS_STATE",ve="AFTER_DOCTYPE_SYSTEM_KEYWORD_STATE",_e="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER_STATE",be="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED_STATE",Ee="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED_STATE",Te="AFTER_DOCTYPE_SYSTEM_IDENTIFIER_STATE",xe="BOGUS_DOCTYPE_STATE",Se="CDATA_SECTION_STATE",Ce="CDATA_SECTION_BRACKET_STATE",Ae="CDATA_SECTION_END_STATE",Re="CHARACTER_REFERENCE_STATE",we="NAMED_CHARACTER_REFERENCE_STATE",Le="AMBIGUOS_AMPERSAND_STATE",Oe="NUMERIC_CHARACTER_REFERENCE_STATE",Ne="HEXADEMICAL_CHARACTER_REFERENCE_START_STATE",Ie="DECIMAL_CHARACTER_REFERENCE_START_STATE",ke="HEXADEMICAL_CHARACTER_REFERENCE_STATE",De="DECIMAL_CHARACTER_REFERENCE_STATE",Pe="NUMERIC_CHARACTER_REFERENCE_END_STATE";function Me(e){return e===s.SPACE||e===s.LINE_FEED||e===s.TABULATION||e===s.FORM_FEED}function Fe(e){return e>=s.DIGIT_0&&e<=s.DIGIT_9}function He(e){return e>=s.LATIN_CAPITAL_A&&e<=s.LATIN_CAPITAL_Z}function Be(e){return e>=s.LATIN_SMALL_A&&e<=s.LATIN_SMALL_Z}function Ue(e){return Be(e)||He(e)}function je(e){return Ue(e)||Fe(e)}function Ge(e){return e>=s.LATIN_CAPITAL_A&&e<=s.LATIN_CAPITAL_F}function Ye(e){return e>=s.LATIN_SMALL_A&&e<=s.LATIN_SMALL_F}function ze(e){return e+32}function $e(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode(e>>>10&1023|55296)+String.fromCharCode(56320|1023&e))}function We(e){return String.fromCharCode(ze(e))}function Ve(e,t){const n=o[++e];let r=++e,i=r+n-1;for(;r<=i;){const e=r+i>>>1,a=o[e];if(a<t)r=e+1;else{if(!(a>t))return o[e+n];i=e-1}}return-1}class Ke{constructor(){this.preprocessor=new r,this.tokenQueue=[],this.allowCDATA=!1,this.state=u,this.returnState="",this.charRefCode=-1,this.tempBuff=[],this.lastStartTagName="",this.consumedAfterSnapshot=-1,this.active=!1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr=null}_err(){}_errOnNextCodePoint(e){this._consume(),this._err(e),this._unconsume()}getNextToken(){for(;!this.tokenQueue.length&&this.active;){this.consumedAfterSnapshot=0;const e=this._consume();this._ensureHibernation()||this[this.state](e)}return this.tokenQueue.shift()}write(e,t){this.active=!0,this.preprocessor.write(e,t)}insertHtmlAtCurrentPos(e){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(e)}_ensureHibernation(){if(this.preprocessor.endOfChunkHit){for(;this.consumedAfterSnapshot>0;this.consumedAfterSnapshot--)this.preprocessor.retreat();return this.active=!1,this.tokenQueue.push({type:Ke.HIBERNATION_TOKEN}),!0}return!1}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_unconsume(){this.consumedAfterSnapshot--,this.preprocessor.retreat()}_reconsumeInState(e){this.state=e,this._unconsume()}_consumeSequenceIfMatch(e,t,n){let r=0,i=!0;const o=e.length;let a,l=0,c=t;for(;l<o;l++){if(l>0&&(c=this._consume(),r++),c===s.EOF){i=!1;break}if(a=e[l],c!==a&&(n||c!==ze(a))){i=!1;break}}if(!i)for(;r--;)this._unconsume();return i}_isTempBufferEqualToScriptString(){if(this.tempBuff.length!==l.SCRIPT_STRING.length)return!1;for(let e=0;e<this.tempBuff.length;e++)if(this.tempBuff[e]!==l.SCRIPT_STRING[e])return!1;return!0}_createStartTagToken(){this.currentToken={type:Ke.START_TAG_TOKEN,tagName:"",selfClosing:!1,ackSelfClosing:!1,attrs:[]}}_createEndTagToken(){this.currentToken={type:Ke.END_TAG_TOKEN,tagName:"",selfClosing:!1,attrs:[]}}_createCommentToken(){this.currentToken={type:Ke.COMMENT_TOKEN,data:""}}_createDoctypeToken(e){this.currentToken={type:Ke.DOCTYPE_TOKEN,name:e,forceQuirks:!1,publicId:null,systemId:null}}_createCharacterToken(e,t){this.currentCharacterToken={type:e,chars:t}}_createEOFToken(){this.currentToken={type:Ke.EOF_TOKEN}}_createAttr(e){this.currentAttr={name:e,value:""}}_leaveAttrName(e){null===Ke.getTokenAttr(this.currentToken,this.currentAttr.name)?this.currentToken.attrs.push(this.currentAttr):this._err(a.duplicateAttribute),this.state=e}_leaveAttrValue(e){this.state=e}_emitCurrentToken(){this._emitCurrentCharacterToken();const e=this.currentToken;this.currentToken=null,e.type===Ke.START_TAG_TOKEN?this.lastStartTagName=e.tagName:e.type===Ke.END_TAG_TOKEN&&(e.attrs.length>0&&this._err(a.endTagWithAttributes),e.selfClosing&&this._err(a.endTagWithTrailingSolidus)),this.tokenQueue.push(e)}_emitCurrentCharacterToken(){this.currentCharacterToken&&(this.tokenQueue.push(this.currentCharacterToken),this.currentCharacterToken=null)}_emitEOFToken(){this._createEOFToken(),this._emitCurrentToken()}_appendCharToCurrentCharacterToken(e,t){this.currentCharacterToken&&this.currentCharacterToken.type!==e&&this._emitCurrentCharacterToken(),this.currentCharacterToken?this.currentCharacterToken.chars+=t:this._createCharacterToken(e,t)}_emitCodePoint(e){let t=Ke.CHARACTER_TOKEN;Me(e)?t=Ke.WHITESPACE_CHARACTER_TOKEN:e===s.NULL&&(t=Ke.NULL_CHARACTER_TOKEN),this._appendCharToCurrentCharacterToken(t,$e(e))}_emitSeveralCodePoints(e){for(let t=0;t<e.length;t++)this._emitCodePoint(e[t])}_emitChars(e){this._appendCharToCurrentCharacterToken(Ke.CHARACTER_TOKEN,e)}_matchNamedCharacterReference(e){let t=null,n=1,r=Ve(0,e);for(this.tempBuff.push(e);r>-1;){const e=o[r],i=e<7;i&&1&e&&(t=2&e?[o[++r],o[++r]]:[o[++r]],n=0);const a=this._consume();if(this.tempBuff.push(a),n++,a===s.EOF)break;r=i?4&e?Ve(r,a):-1:a===e?++r:-1}for(;n--;)this.tempBuff.pop(),this._unconsume();return t}_isCharacterReferenceInAttribute(){return this.returnState===$||this.returnState===W||this.returnState===V}_isCharacterReferenceAttributeQuirk(e){if(!e&&this._isCharacterReferenceInAttribute()){const e=this._consume();return this._unconsume(),e===s.EQUALS_SIGN||je(e)}return!1}_flushCodePointsConsumedAsCharacterReference(){if(this._isCharacterReferenceInAttribute())for(let e=0;e<this.tempBuff.length;e++)this.currentAttr.value+=$e(this.tempBuff[e]);else this._emitSeveralCodePoints(this.tempBuff);this.tempBuff=[]}[u](e){this.preprocessor.dropParsedChunk(),e===s.LESS_THAN_SIGN?this.state=m:e===s.AMPERSAND?(this.returnState=u,this.state=Re):e===s.NULL?(this._err(a.unexpectedNullCharacter),this._emitCodePoint(e)):e===s.EOF?this._emitEOFToken():this._emitCodePoint(e)}[h](e){this.preprocessor.dropParsedChunk(),e===s.AMPERSAND?(this.returnState=h,this.state=Re):e===s.LESS_THAN_SIGN?this.state=v:e===s.NULL?(this._err(a.unexpectedNullCharacter),this._emitChars(i.REPLACEMENT_CHARACTER)):e===s.EOF?this._emitEOFToken():this._emitCodePoint(e)}[p](e){this.preprocessor.dropParsedChunk(),e===s.LESS_THAN_SIGN?this.state=E:e===s.NULL?(this._err(a.unexpectedNullCharacter),this._emitChars(i.REPLACEMENT_CHARACTER)):e===s.EOF?this._emitEOFToken():this._emitCodePoint(e)}[d](e){this.preprocessor.dropParsedChunk(),e===s.LESS_THAN_SIGN?this.state=S:e===s.NULL?(this._err(a.unexpectedNullCharacter),this._emitChars(i.REPLACEMENT_CHARACTER)):e===s.EOF?this._emitEOFToken():this._emitCodePoint(e)}[f](e){this.preprocessor.dropParsedChunk(),e===s.NULL?(this._err(a.unexpectedNullCharacter),this._emitChars(i.REPLACEMENT_CHARACTER)):e===s.EOF?this._emitEOFToken():this._emitCodePoint(e)}[m](e){e===s.EXCLAMATION_MARK?this.state=Z:e===s.SOLIDUS?this.state=g:Ue(e)?(this._createStartTagToken(),this._reconsumeInState(y)):e===s.QUESTION_MARK?(this._err(a.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(),this._reconsumeInState(X)):e===s.EOF?(this._err(a.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken()):(this._err(a.invalidFirstCharacterOfTagName),this._emitChars("<"),this._reconsumeInState(u))}[g](e){Ue(e)?(this._createEndTagToken(),this._reconsumeInState(y)):e===s.GREATER_THAN_SIGN?(this._err(a.missingEndTagName),this.state=u):e===s.EOF?(this._err(a.eofBeforeTagName),this._emitChars("</"),this._emitEOFToken()):(this._err(a.invalidFirstCharacterOfTagName),this._createCommentToken(),this._reconsumeInState(X))}[y](e){Me(e)?this.state=j:e===s.SOLIDUS?this.state=q:e===s.GREATER_THAN_SIGN?(this.state=u,this._emitCurrentToken()):He(e)?this.currentToken.tagName+=We(e):e===s.NULL?(this._err(a.unexpectedNullCharacter),this.currentToken.tagName+=i.REPLACEMENT_CHARACTER):e===s.EOF?(this._err(a.eofInTag),this._emitEOFToken()):this.currentToken.tagName+=$e(e)}[v](e){e===s.SOLIDUS?(this.tempBuff=[],this.state=_):(this._emitChars("<"),this._reconsumeInState(h))}[_](e){Ue(e)?(this._createEndTagToken(),this._reconsumeInState(b)):(this._emitChars("</"),this._reconsumeInState(h))}[b](e){if(He(e))this.currentToken.tagName+=We(e),this.tempBuff.push(e);else if(Be(e))this.currentToken.tagName+=$e(e),this.tempBuff.push(e);else{if(this.lastStartTagName===this.currentToken.tagName){if(Me(e))return void(this.state=j);if(e===s.SOLIDUS)return void(this.state=q);if(e===s.GREATER_THAN_SIGN)return this.state=u,void this._emitCurrentToken()}this._emitChars("</"),this._emitSeveralCodePoints(this.tempBuff),this._reconsumeInState(h)}}[E](e){e===s.SOLIDUS?(this.tempBuff=[],this.state=T):(this._emitChars("<"),this._reconsumeInState(p))}[T](e){Ue(e)?(this._createEndTagToken(),this._reconsumeInState(x)):(this._emitChars("</"),this._reconsumeInState(p))}[x](e){if(He(e))this.currentToken.tagName+=We(e),this.tempBuff.push(e);else if(Be(e))this.currentToken.tagName+=$e(e),this.tempBuff.push(e);else{if(this.lastStartTagName===this.currentToken.tagName){if(Me(e))return void(this.state=j);if(e===s.SOLIDUS)return void(this.state=q);if(e===s.GREATER_THAN_SIGN)return this._emitCurrentToken(),void(this.state=u)}this._emitChars("</"),this._emitSeveralCodePoints(this.tempBuff),this._reconsumeInState(p)}}[S](e){e===s.SOLIDUS?(this.tempBuff=[],this.state=C):e===s.EXCLAMATION_MARK?(this.state=R,this._emitChars("<!")):(this._emitChars("<"),this._reconsumeInState(d))}[C](e){Ue(e)?(this._createEndTagToken(),this._reconsumeInState(A)):(this._emitChars("</"),this._reconsumeInState(d))}[A](e){if(He(e))this.currentToken.tagName+=We(e),this.tempBuff.push(e);else if(Be(e))this.currentToken.tagName+=$e(e),this.tempBuff.push(e);else{if(this.lastStartTagName===this.currentToken.tagName){if(Me(e))return void(this.state=j);if(e===s.SOLIDUS)return void(this.state=q);if(e===s.GREATER_THAN_SIGN)return this._emitCurrentToken(),void(this.state=u)}this._emitChars("</"),this._emitSeveralCodePoints(this.tempBuff),this._reconsumeInState(d)}}[R](e){e===s.HYPHEN_MINUS?(this.state=w,this._emitChars("-")):this._reconsumeInState(d)}[w](e){e===s.HYPHEN_MINUS?(this.state=N,this._emitChars("-")):this._reconsumeInState(d)}[L](e){e===s.HYPHEN_MINUS?(this.state=O,this._emitChars("-")):e===s.LESS_THAN_SIGN?this.state=I:e===s.NULL?(this._err(a.unexpectedNullCharacter),this._emitChars(i.REPLACEMENT_CHARACTER)):e===s.EOF?(this._err(a.eofInScriptHtmlCommentLikeText),this._emitEOFToken()):this._emitCodePoint(e)}[O](e){e===s.HYPHEN_MINUS?(this.state=N,this._emitChars("-")):e===s.LESS_THAN_SIGN?this.state=I:e===s.NULL?(this._err(a.unexpectedNullCharacter),this.state=L,this._emitChars(i.REPLACEMENT_CHARACTER)):e===s.EOF?(this._err(a.eofInScriptHtmlCommentLikeText),this._emitEOFToken()):(this.state=L,this._emitCodePoint(e))}[N](e){e===s.HYPHEN_MINUS?this._emitChars("-"):e===s.LESS_THAN_SIGN?this.state=I:e===s.GREATER_THAN_SIGN?(this.state=d,this._emitChars(">")):e===s.NULL?(this._err(a.unexpectedNullCharacter),this.state=L,this._emitChars(i.REPLACEMENT_CHARACTER)):e===s.EOF?(this._err(a.eofInScriptHtmlCommentLikeText),this._emitEOFToken()):(this.state=L,this._emitCodePoint(e))}[I](e){e===s.SOLIDUS?(this.tempBuff=[],this.state=k):Ue(e)?(this.tempBuff=[],this._emitChars("<"),this._reconsumeInState(P)):(this._emitChars("<"),this._reconsumeInState(L))}[k](e){Ue(e)?(this._createEndTagToken(),this._reconsumeInState(D)):(this._emitChars("</"),this._reconsumeInState(L))}[D](e){if(He(e))this.currentToken.tagName+=We(e),this.tempBuff.push(e);else if(Be(e))this.currentToken.tagName+=$e(e),this.tempBuff.push(e);else{if(this.lastStartTagName===this.currentToken.tagName){if(Me(e))return void(this.state=j);if(e===s.SOLIDUS)return void(this.state=q);if(e===s.GREATER_THAN_SIGN)return this._emitCurrentToken(),void(this.state=u)}this._emitChars("</"),this._emitSeveralCodePoints(this.tempBuff),this._reconsumeInState(L)}}[P](e){Me(e)||e===s.SOLIDUS||e===s.GREATER_THAN_SIGN?(this.state=this._isTempBufferEqualToScriptString()?M:L,this._emitCodePoint(e)):He(e)?(this.tempBuff.push(ze(e)),this._emitCodePoint(e)):Be(e)?(this.tempBuff.push(e),this._emitCodePoint(e)):this._reconsumeInState(L)}[M](e){e===s.HYPHEN_MINUS?(this.state=F,this._emitChars("-")):e===s.LESS_THAN_SIGN?(this.state=B,this._emitChars("<")):e===s.NULL?(this._err(a.unexpectedNullCharacter),this._emitChars(i.REPLACEMENT_CHARACTER)):e===s.EOF?(this._err(a.eofInScriptHtmlCommentLikeText),this._emitEOFToken()):this._emitCodePoint(e)}[F](e){e===s.HYPHEN_MINUS?(this.state=H,this._emitChars("-")):e===s.LESS_THAN_SIGN?(this.state=B,this._emitChars("<")):e===s.NULL?(this._err(a.unexpectedNullCharacter),this.state=M,this._emitChars(i.REPLACEMENT_CHARACTER)):e===s.EOF?(this._err(a.eofInScriptHtmlCommentLikeText),this._emitEOFToken()):(this.state=M,this._emitCodePoint(e))}[H](e){e===s.HYPHEN_MINUS?this._emitChars("-"):e===s.LESS_THAN_SIGN?(this.state=B,this._emitChars("<")):e===s.GREATER_THAN_SIGN?(this.state=d,this._emitChars(">")):e===s.NULL?(this._err(a.unexpectedNullCharacter),this.state=M,this._emitChars(i.REPLACEMENT_CHARACTER)):e===s.EOF?(this._err(a.eofInScriptHtmlCommentLikeText),this._emitEOFToken()):(this.state=M,this._emitCodePoint(e))}[B](e){e===s.SOLIDUS?(this.tempBuff=[],this.state=U,this._emitChars("/")):this._reconsumeInState(M)}[U](e){Me(e)||e===s.SOLIDUS||e===s.GREATER_THAN_SIGN?(this.state=this._isTempBufferEqualToScriptString()?L:M,this._emitCodePoint(e)):He(e)?(this.tempBuff.push(ze(e)),this._emitCodePoint(e)):Be(e)?(this.tempBuff.push(e),this._emitCodePoint(e)):this._reconsumeInState(M)}[j](e){Me(e)||(e===s.SOLIDUS||e===s.GREATER_THAN_SIGN||e===s.EOF?this._reconsumeInState(Y):e===s.EQUALS_SIGN?(this._err(a.unexpectedEqualsSignBeforeAttributeName),this._createAttr("="),this.state=G):(this._createAttr(""),this._reconsumeInState(G)))}[G](e){Me(e)||e===s.SOLIDUS||e===s.GREATER_THAN_SIGN||e===s.EOF?(this._leaveAttrName(Y),this._unconsume()):e===s.EQUALS_SIGN?this._leaveAttrName(z):He(e)?this.currentAttr.name+=We(e):e===s.QUOTATION_MARK||e===s.APOSTROPHE||e===s.LESS_THAN_SIGN?(this._err(a.unexpectedCharacterInAttributeName),this.currentAttr.name+=$e(e)):e===s.NULL?(this._err(a.unexpectedNullCharacter),this.currentAttr.name+=i.REPLACEMENT_CHARACTER):this.currentAttr.name+=$e(e)}[Y](e){Me(e)||(e===s.SOLIDUS?this.state=q:e===s.EQUALS_SIGN?this.state=z:e===s.GREATER_THAN_SIGN?(this.state=u,this._emitCurrentToken()):e===s.EOF?(this._err(a.eofInTag),this._emitEOFToken()):(this._createAttr(""),this._reconsumeInState(G)))}[z](e){Me(e)||(e===s.QUOTATION_MARK?this.state=$:e===s.APOSTROPHE?this.state=W:e===s.GREATER_THAN_SIGN?(this._err(a.missingAttributeValue),this.state=u,this._emitCurrentToken()):this._reconsumeInState(V))}[$](e){e===s.QUOTATION_MARK?this.state=K:e===s.AMPERSAND?(this.returnState=$,this.state=Re):e===s.NULL?(this._err(a.unexpectedNullCharacter),this.currentAttr.value+=i.REPLACEMENT_CHARACTER):e===s.EOF?(this._err(a.eofInTag),this._emitEOFToken()):this.currentAttr.value+=$e(e)}[W](e){e===s.APOSTROPHE?this.state=K:e===s.AMPERSAND?(this.returnState=W,this.state=Re):e===s.NULL?(this._err(a.unexpectedNullCharacter),this.currentAttr.value+=i.REPLACEMENT_CHARACTER):e===s.EOF?(this._err(a.eofInTag),this._emitEOFToken()):this.currentAttr.value+=$e(e)}[V](e){Me(e)?this._leaveAttrValue(j):e===s.AMPERSAND?(this.returnState=V,this.state=Re):e===s.GREATER_THAN_SIGN?(this._leaveAttrValue(u),this._emitCurrentToken()):e===s.NULL?(this._err(a.unexpectedNullCharacter),this.currentAttr.value+=i.REPLACEMENT_CHARACTER):e===s.QUOTATION_MARK||e===s.APOSTROPHE||e===s.LESS_THAN_SIGN||e===s.EQUALS_SIGN||e===s.GRAVE_ACCENT?(this._err(a.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=$e(e)):e===s.EOF?(this._err(a.eofInTag),this._emitEOFToken()):this.currentAttr.value+=$e(e)}[K](e){Me(e)?this._leaveAttrValue(j):e===s.SOLIDUS?this._leaveAttrValue(q):e===s.GREATER_THAN_SIGN?(this._leaveAttrValue(u),this._emitCurrentToken()):e===s.EOF?(this._err(a.eofInTag),this._emitEOFToken()):(this._err(a.missingWhitespaceBetweenAttributes),this._reconsumeInState(j))}[q](e){e===s.GREATER_THAN_SIGN?(this.currentToken.selfClosing=!0,this.state=u,this._emitCurrentToken()):e===s.EOF?(this._err(a.eofInTag),this._emitEOFToken()):(this._err(a.unexpectedSolidusInTag),this._reconsumeInState(j))}[X](e){e===s.GREATER_THAN_SIGN?(this.state=u,this._emitCurrentToken()):e===s.EOF?(this._emitCurrentToken(),this._emitEOFToken()):e===s.NULL?(this._err(a.unexpectedNullCharacter),this.currentToken.data+=i.REPLACEMENT_CHARACTER):this.currentToken.data+=$e(e)}[Z](e){this._consumeSequenceIfMatch(l.DASH_DASH_STRING,e,!0)?(this._createCommentToken(),this.state=Q):this._consumeSequenceIfMatch(l.DOCTYPE_STRING,e,!1)?this.state=le:this._consumeSequenceIfMatch(l.CDATA_START_STRING,e,!0)?this.allowCDATA?this.state=Se:(this._err(a.cdataInHtmlContent),this._createCommentToken(),this.currentToken.data="[CDATA[",this.state=X):this._ensureHibernation()||(this._err(a.incorrectlyOpenedComment),this._createCommentToken(),this._reconsumeInState(X))}[Q](e){e===s.HYPHEN_MINUS?this.state=J:e===s.GREATER_THAN_SIGN?(this._err(a.abruptClosingOfEmptyComment),this.state=u,this._emitCurrentToken()):this._reconsumeInState(ee)}[J](e){e===s.HYPHEN_MINUS?this.state=ae:e===s.GREATER_THAN_SIGN?(this._err(a.abruptClosingOfEmptyComment),this.state=u,this._emitCurrentToken()):e===s.EOF?(this._err(a.eofInComment),this._emitCurrentToken(),this._emitEOFToken()):(this.currentToken.data+="-",this._reconsumeInState(ee))}[ee](e){e===s.HYPHEN_MINUS?this.state=oe:e===s.LESS_THAN_SIGN?(this.currentToken.data+="<",this.state=te):e===s.NULL?(this._err(a.unexpectedNullCharacter),this.currentToken.data+=i.REPLACEMENT_CHARACTER):e===s.EOF?(this._err(a.eofInComment),this._emitCurrentToken(),this._emitEOFToken()):this.currentToken.data+=$e(e)}[te](e){e===s.EXCLAMATION_MARK?(this.currentToken.data+="!",this.state=ne):e===s.LESS_THAN_SIGN?this.currentToken.data+="!":this._reconsumeInState(ee)}[ne](e){e===s.HYPHEN_MINUS?this.state=re:this._reconsumeInState(ee)}[re](e){e===s.HYPHEN_MINUS?this.state=ie:this._reconsumeInState(oe)}[ie](e){e!==s.GREATER_THAN_SIGN&&e!==s.EOF&&this._err(a.nestedComment),this._reconsumeInState(ae)}[oe](e){e===s.HYPHEN_MINUS?this.state=ae:e===s.EOF?(this._err(a.eofInComment),this._emitCurrentToken(),this._emitEOFToken()):(this.currentToken.data+="-",this._reconsumeInState(ee))}[ae](e){e===s.GREATER_THAN_SIGN?(this.state=u,this._emitCurrentToken()):e===s.EXCLAMATION_MARK?this.state=se:e===s.HYPHEN_MINUS?this.currentToken.data+="-":e===s.EOF?(this._err(a.eofInComment),this._emitCurrentToken(),this._emitEOFToken()):(this.currentToken.data+="--",this._reconsumeInState(ee))}[se](e){e===s.HYPHEN_MINUS?(this.currentToken.data+="--!",this.state=oe):e===s.GREATER_THAN_SIGN?(this._err(a.incorrectlyClosedComment),this.state=u,this._emitCurrentToken()):e===s.EOF?(this._err(a.eofInComment),this._emitCurrentToken(),this._emitEOFToken()):(this.currentToken.data+="--!",this._reconsumeInState(ee))}[le](e){Me(e)?this.state=ce:e===s.GREATER_THAN_SIGN?this._reconsumeInState(ce):e===s.EOF?(this._err(a.eofInDoctype),this._createDoctypeToken(null),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(a.missingWhitespaceBeforeDoctypeName),this._reconsumeInState(ce))}[ce](e){Me(e)||(He(e)?(this._createDoctypeToken(We(e)),this.state=ue):e===s.NULL?(this._err(a.unexpectedNullCharacter),this._createDoctypeToken(i.REPLACEMENT_CHARACTER),this.state=ue):e===s.GREATER_THAN_SIGN?(this._err(a.missingDoctypeName),this._createDoctypeToken(null),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this.state=u):e===s.EOF?(this._err(a.eofInDoctype),this._createDoctypeToken(null),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._createDoctypeToken($e(e)),this.state=ue))}[ue](e){Me(e)?this.state=he:e===s.GREATER_THAN_SIGN?(this.state=u,this._emitCurrentToken()):He(e)?this.currentToken.name+=We(e):e===s.NULL?(this._err(a.unexpectedNullCharacter),this.currentToken.name+=i.REPLACEMENT_CHARACTER):e===s.EOF?(this._err(a.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):this.currentToken.name+=$e(e)}[he](e){Me(e)||(e===s.GREATER_THAN_SIGN?(this.state=u,this._emitCurrentToken()):e===s.EOF?(this._err(a.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):this._consumeSequenceIfMatch(l.PUBLIC_STRING,e,!1)?this.state=pe:this._consumeSequenceIfMatch(l.SYSTEM_STRING,e,!1)?this.state=ve:this._ensureHibernation()||(this._err(a.invalidCharacterSequenceAfterDoctypeName),this.currentToken.forceQuirks=!0,this._reconsumeInState(xe)))}[pe](e){Me(e)?this.state=de:e===s.QUOTATION_MARK?(this._err(a.missingWhitespaceAfterDoctypePublicKeyword),this.currentToken.publicId="",this.state=fe):e===s.APOSTROPHE?(this._err(a.missingWhitespaceAfterDoctypePublicKeyword),this.currentToken.publicId="",this.state=me):e===s.GREATER_THAN_SIGN?(this._err(a.missingDoctypePublicIdentifier),this.currentToken.forceQuirks=!0,this.state=u,this._emitCurrentToken()):e===s.EOF?(this._err(a.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(a.missingQuoteBeforeDoctypePublicIdentifier),this.currentToken.forceQuirks=!0,this._reconsumeInState(xe))}[de](e){Me(e)||(e===s.QUOTATION_MARK?(this.currentToken.publicId="",this.state=fe):e===s.APOSTROPHE?(this.currentToken.publicId="",this.state=me):e===s.GREATER_THAN_SIGN?(this._err(a.missingDoctypePublicIdentifier),this.currentToken.forceQuirks=!0,this.state=u,this._emitCurrentToken()):e===s.EOF?(this._err(a.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(a.missingQuoteBeforeDoctypePublicIdentifier),this.currentToken.forceQuirks=!0,this._reconsumeInState(xe)))}[fe](e){e===s.QUOTATION_MARK?this.state=ge:e===s.NULL?(this._err(a.unexpectedNullCharacter),this.currentToken.publicId+=i.REPLACEMENT_CHARACTER):e===s.GREATER_THAN_SIGN?(this._err(a.abruptDoctypePublicIdentifier),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this.state=u):e===s.EOF?(this._err(a.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):this.currentToken.publicId+=$e(e)}[me](e){e===s.APOSTROPHE?this.state=ge:e===s.NULL?(this._err(a.unexpectedNullCharacter),this.currentToken.publicId+=i.REPLACEMENT_CHARACTER):e===s.GREATER_THAN_SIGN?(this._err(a.abruptDoctypePublicIdentifier),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this.state=u):e===s.EOF?(this._err(a.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):this.currentToken.publicId+=$e(e)}[ge](e){Me(e)?this.state=ye:e===s.GREATER_THAN_SIGN?(this.state=u,this._emitCurrentToken()):e===s.QUOTATION_MARK?(this._err(a.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),this.currentToken.systemId="",this.state=be):e===s.APOSTROPHE?(this._err(a.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),this.currentToken.systemId="",this.state=Ee):e===s.EOF?(this._err(a.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(a.missingQuoteBeforeDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this._reconsumeInState(xe))}[ye](e){Me(e)||(e===s.GREATER_THAN_SIGN?(this._emitCurrentToken(),this.state=u):e===s.QUOTATION_MARK?(this.currentToken.systemId="",this.state=be):e===s.APOSTROPHE?(this.currentToken.systemId="",this.state=Ee):e===s.EOF?(this._err(a.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(a.missingQuoteBeforeDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this._reconsumeInState(xe)))}[ve](e){Me(e)?this.state=_e:e===s.QUOTATION_MARK?(this._err(a.missingWhitespaceAfterDoctypeSystemKeyword),this.currentToken.systemId="",this.state=be):e===s.APOSTROPHE?(this._err(a.missingWhitespaceAfterDoctypeSystemKeyword),this.currentToken.systemId="",this.state=Ee):e===s.GREATER_THAN_SIGN?(this._err(a.missingDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this.state=u,this._emitCurrentToken()):e===s.EOF?(this._err(a.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(a.missingQuoteBeforeDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this._reconsumeInState(xe))}[_e](e){Me(e)||(e===s.QUOTATION_MARK?(this.currentToken.systemId="",this.state=be):e===s.APOSTROPHE?(this.currentToken.systemId="",this.state=Ee):e===s.GREATER_THAN_SIGN?(this._err(a.missingDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this.state=u,this._emitCurrentToken()):e===s.EOF?(this._err(a.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(a.missingQuoteBeforeDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this._reconsumeInState(xe)))}[be](e){e===s.QUOTATION_MARK?this.state=Te:e===s.NULL?(this._err(a.unexpectedNullCharacter),this.currentToken.systemId+=i.REPLACEMENT_CHARACTER):e===s.GREATER_THAN_SIGN?(this._err(a.abruptDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this.state=u):e===s.EOF?(this._err(a.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):this.currentToken.systemId+=$e(e)}[Ee](e){e===s.APOSTROPHE?this.state=Te:e===s.NULL?(this._err(a.unexpectedNullCharacter),this.currentToken.systemId+=i.REPLACEMENT_CHARACTER):e===s.GREATER_THAN_SIGN?(this._err(a.abruptDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this.state=u):e===s.EOF?(this._err(a.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):this.currentToken.systemId+=$e(e)}[Te](e){Me(e)||(e===s.GREATER_THAN_SIGN?(this._emitCurrentToken(),this.state=u):e===s.EOF?(this._err(a.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(a.unexpectedCharacterAfterDoctypeSystemIdentifier),this._reconsumeInState(xe)))}[xe](e){e===s.GREATER_THAN_SIGN?(this._emitCurrentToken(),this.state=u):e===s.NULL?this._err(a.unexpectedNullCharacter):e===s.EOF&&(this._emitCurrentToken(),this._emitEOFToken())}[Se](e){e===s.RIGHT_SQUARE_BRACKET?this.state=Ce:e===s.EOF?(this._err(a.eofInCdata),this._emitEOFToken()):this._emitCodePoint(e)}[Ce](e){e===s.RIGHT_SQUARE_BRACKET?this.state=Ae:(this._emitChars("]"),this._reconsumeInState(Se))}[Ae](e){e===s.GREATER_THAN_SIGN?this.state=u:e===s.RIGHT_SQUARE_BRACKET?this._emitChars("]"):(this._emitChars("]]"),this._reconsumeInState(Se))}[Re](e){this.tempBuff=[s.AMPERSAND],e===s.NUMBER_SIGN?(this.tempBuff.push(e),this.state=Oe):je(e)?this._reconsumeInState(we):(this._flushCodePointsConsumedAsCharacterReference(),this._reconsumeInState(this.returnState))}[we](e){const t=this._matchNamedCharacterReference(e);if(this._ensureHibernation())this.tempBuff=[s.AMPERSAND];else if(t){const e=this.tempBuff[this.tempBuff.length-1]===s.SEMICOLON;this._isCharacterReferenceAttributeQuirk(e)||(e||this._errOnNextCodePoint(a.missingSemicolonAfterCharacterReference),this.tempBuff=t),this._flushCodePointsConsumedAsCharacterReference(),this.state=this.returnState}else this._flushCodePointsConsumedAsCharacterReference(),this.state=Le}[Le](e){je(e)?this._isCharacterReferenceInAttribute()?this.currentAttr.value+=$e(e):this._emitCodePoint(e):(e===s.SEMICOLON&&this._err(a.unknownNamedCharacterReference),this._reconsumeInState(this.returnState))}[Oe](e){this.charRefCode=0,e===s.LATIN_SMALL_X||e===s.LATIN_CAPITAL_X?(this.tempBuff.push(e),this.state=Ne):this._reconsumeInState(Ie)}[Ne](e){!function(e){return Fe(e)||Ge(e)||Ye(e)}(e)?(this._err(a.absenceOfDigitsInNumericCharacterReference),this._flushCodePointsConsumedAsCharacterReference(),this._reconsumeInState(this.returnState)):this._reconsumeInState(ke)}[Ie](e){Fe(e)?this._reconsumeInState(De):(this._err(a.absenceOfDigitsInNumericCharacterReference),this._flushCodePointsConsumedAsCharacterReference(),this._reconsumeInState(this.returnState))}[ke](e){Ge(e)?this.charRefCode=16*this.charRefCode+e-55:Ye(e)?this.charRefCode=16*this.charRefCode+e-87:Fe(e)?this.charRefCode=16*this.charRefCode+e-48:e===s.SEMICOLON?this.state=Pe:(this._err(a.missingSemicolonAfterCharacterReference),this._reconsumeInState(Pe))}[De](e){Fe(e)?this.charRefCode=10*this.charRefCode+e-48:e===s.SEMICOLON?this.state=Pe:(this._err(a.missingSemicolonAfterCharacterReference),this._reconsumeInState(Pe))}[Pe](){if(this.charRefCode===s.NULL)this._err(a.nullCharacterReference),this.charRefCode=s.REPLACEMENT_CHARACTER;else if(this.charRefCode>1114111)this._err(a.characterReferenceOutsideUnicodeRange),this.charRefCode=s.REPLACEMENT_CHARACTER;else if(i.isSurrogate(this.charRefCode))this._err(a.surrogateCharacterReference),this.charRefCode=s.REPLACEMENT_CHARACTER;else if(i.isUndefinedCodePoint(this.charRefCode))this._err(a.noncharacterCharacterReference);else if(i.isControlCodePoint(this.charRefCode)||this.charRefCode===s.CARRIAGE_RETURN){this._err(a.controlCharacterReference);const e=c[this.charRefCode];e&&(this.charRefCode=e)}this.tempBuff=[this.charRefCode],this._flushCodePointsConsumedAsCharacterReference(),this._reconsumeInState(this.returnState)}}Ke.CHARACTER_TOKEN="CHARACTER_TOKEN",Ke.NULL_CHARACTER_TOKEN="NULL_CHARACTER_TOKEN",Ke.WHITESPACE_CHARACTER_TOKEN="WHITESPACE_CHARACTER_TOKEN",Ke.START_TAG_TOKEN="START_TAG_TOKEN",Ke.END_TAG_TOKEN="END_TAG_TOKEN",Ke.COMMENT_TOKEN="COMMENT_TOKEN",Ke.DOCTYPE_TOKEN="DOCTYPE_TOKEN",Ke.EOF_TOKEN="EOF_TOKEN",Ke.HIBERNATION_TOKEN="HIBERNATION_TOKEN",Ke.MODE={DATA:u,RCDATA:h,RAWTEXT:p,SCRIPT_DATA:d,PLAINTEXT:f},Ke.getTokenAttr=function(e,t){for(let n=e.attrs.length-1;n>=0;n--)if(e.attrs[n].name===t)return e.attrs[n].value;return null},e.exports=Ke},1051:e=>{"use strict";e.exports=new Uint16Array([4,52,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,106,303,412,810,1432,1701,1796,1987,2114,2360,2420,2484,3170,3251,4140,4393,4575,4610,5106,5512,5728,6117,6274,6315,6345,6427,6516,7002,7910,8733,9323,9870,10170,10631,10893,11318,11386,11467,12773,13092,14474,14922,15448,15542,16419,17666,18166,18611,19004,19095,19298,19397,4,16,69,77,97,98,99,102,103,108,109,110,111,112,114,115,116,117,140,150,158,169,176,194,199,210,216,222,226,242,256,266,283,294,108,105,103,5,198,1,59,148,1,198,80,5,38,1,59,156,1,38,99,117,116,101,5,193,1,59,167,1,193,114,101,118,101,59,1,258,4,2,105,121,182,191,114,99,5,194,1,59,189,1,194,59,1,1040,114,59,3,55349,56580,114,97,118,101,5,192,1,59,208,1,192,112,104,97,59,1,913,97,99,114,59,1,256,100,59,1,10835,4,2,103,112,232,237,111,110,59,1,260,102,59,3,55349,56632,112,108,121,70,117,110,99,116,105,111,110,59,1,8289,105,110,103,5,197,1,59,264,1,197,4,2,99,115,272,277,114,59,3,55349,56476,105,103,110,59,1,8788,105,108,100,101,5,195,1,59,292,1,195,109,108,5,196,1,59,301,1,196,4,8,97,99,101,102,111,114,115,117,321,350,354,383,388,394,400,405,4,2,99,114,327,336,107,115,108,97,115,104,59,1,8726,4,2,118,119,342,345,59,1,10983,101,100,59,1,8966,121,59,1,1041,4,3,99,114,116,362,369,379,97,117,115,101,59,1,8757,110,111,117,108,108,105,115,59,1,8492,97,59,1,914,114,59,3,55349,56581,112,102,59,3,55349,56633,101,118,101,59,1,728,99,114,59,1,8492,109,112,101,113,59,1,8782,4,14,72,79,97,99,100,101,102,104,105,108,111,114,115,117,442,447,456,504,542,547,569,573,577,616,678,784,790,796,99,121,59,1,1063,80,89,5,169,1,59,454,1,169,4,3,99,112,121,464,470,497,117,116,101,59,1,262,4,2,59,105,476,478,1,8914,116,97,108,68,105,102,102,101,114,101,110,116,105,97,108,68,59,1,8517,108,101,121,115,59,1,8493,4,4,97,101,105,111,514,520,530,535,114,111,110,59,1,268,100,105,108,5,199,1,59,528,1,199,114,99,59,1,264,110,105,110,116,59,1,8752,111,116,59,1,266,4,2,100,110,553,560,105,108,108,97,59,1,184,116,101,114,68,111,116,59,1,183,114,59,1,8493,105,59,1,935,114,99,108,101,4,4,68,77,80,84,591,596,603,609,111,116,59,1,8857,105,110,117,115,59,1,8854,108,117,115,59,1,8853,105,109,101,115,59,1,8855,111,4,2,99,115,623,646,107,119,105,115,101,67,111,110,116,111,117,114,73,110,116,101,103,114,97,108,59,1,8754,101,67,117,114,108,121,4,2,68,81,658,671,111,117,98,108,101,81,117,111,116,101,59,1,8221,117,111,116,101,59,1,8217,4,4,108,110,112,117,688,701,736,753,111,110,4,2,59,101,696,698,1,8759,59,1,10868,4,3,103,105,116,709,717,722,114,117,101,110,116,59,1,8801,110,116,59,1,8751,111,117,114,73,110,116,101,103,114,97,108,59,1,8750,4,2,102,114,742,745,59,1,8450,111,100,117,99,116,59,1,8720,110,116,101,114,67,108,111,99,107,119,105,115,101,67,111,110,116,111,117,114,73,110,116,101,103,114,97,108,59,1,8755,111,115,115,59,1,10799,99,114,59,3,55349,56478,112,4,2,59,67,803,805,1,8915,97,112,59,1,8781,4,11,68,74,83,90,97,99,101,102,105,111,115,834,850,855,860,865,888,903,916,921,1011,1415,4,2,59,111,840,842,1,8517,116,114,97,104,100,59,1,10513,99,121,59,1,1026,99,121,59,1,1029,99,121,59,1,1039,4,3,103,114,115,873,879,883,103,101,114,59,1,8225,114,59,1,8609,104,118,59,1,10980,4,2,97,121,894,900,114,111,110,59,1,270,59,1,1044,108,4,2,59,116,910,912,1,8711,97,59,1,916,114,59,3,55349,56583,4,2,97,102,927,998,4,2,99,109,933,992,114,105,116,105,99,97,108,4,4,65,68,71,84,950,957,978,985,99,117,116,101,59,1,180,111,4,2,116,117,964,967,59,1,729,98,108,101,65,99,117,116,101,59,1,733,114,97,118,101,59,1,96,105,108,100,101,59,1,732,111,110,100,59,1,8900,102,101,114,101,110,116,105,97,108,68,59,1,8518,4,4,112,116,117,119,1021,1026,1048,1249,102,59,3,55349,56635,4,3,59,68,69,1034,1036,1041,1,168,111,116,59,1,8412,113,117,97,108,59,1,8784,98,108,101,4,6,67,68,76,82,85,86,1065,1082,1101,1189,1211,1236,111,110,116,111,117,114,73,110,116,101,103,114,97,108,59,1,8751,111,4,2,116,119,1089,1092,59,1,168,110,65,114,114,111,119,59,1,8659,4,2,101,111,1107,1141,102,116,4,3,65,82,84,1117,1124,1136,114,114,111,119,59,1,8656,105,103,104,116,65,114,114,111,119,59,1,8660,101,101,59,1,10980,110,103,4,2,76,82,1149,1177,101,102,116,4,2,65,82,1158,1165,114,114,111,119,59,1,10232,105,103,104,116,65,114,114,111,119,59,1,10234,105,103,104,116,65,114,114,111,119,59,1,10233,105,103,104,116,4,2,65,84,1199,1206,114,114,111,119,59,1,8658,101,101,59,1,8872,112,4,2,65,68,1218,1225,114,114,111,119,59,1,8657,111,119,110,65,114,114,111,119,59,1,8661,101,114,116,105,99,97,108,66,97,114,59,1,8741,110,4,6,65,66,76,82,84,97,1264,1292,1299,1352,1391,1408,114,114,111,119,4,3,59,66,85,1276,1278,1283,1,8595,97,114,59,1,10515,112,65,114,114,111,119,59,1,8693,114,101,118,101,59,1,785,101,102,116,4,3,82,84,86,1310,1323,1334,105,103,104,116,86,101,99,116,111,114,59,1,10576,101,101,86,101,99,116,111,114,59,1,10590,101,99,116,111,114,4,2,59,66,1345,1347,1,8637,97,114,59,1,10582,105,103,104,116,4,2,84,86,1362,1373,101,101,86,101,99,116,111,114,59,1,10591,101,99,116,111,114,4,2,59,66,1384,1386,1,8641,97,114,59,1,10583,101,101,4,2,59,65,1399,1401,1,8868,114,114,111,119,59,1,8615,114,114,111,119,59,1,8659,4,2,99,116,1421,1426,114,59,3,55349,56479,114,111,107,59,1,272,4,16,78,84,97,99,100,102,103,108,109,111,112,113,115,116,117,120,1466,1470,1478,1489,1515,1520,1525,1536,1544,1593,1609,1617,1650,1664,1668,1677,71,59,1,330,72,5,208,1,59,1476,1,208,99,117,116,101,5,201,1,59,1487,1,201,4,3,97,105,121,1497,1503,1512,114,111,110,59,1,282,114,99,5,202,1,59,1510,1,202,59,1,1069,111,116,59,1,278,114,59,3,55349,56584,114,97,118,101,5,200,1,59,1534,1,200,101,109,101,110,116,59,1,8712,4,2,97,112,1550,1555,99,114,59,1,274,116,121,4,2,83,86,1563,1576,109,97,108,108,83,113,117,97,114,101,59,1,9723,101,114,121,83,109,97,108,108,83,113,117,97,114,101,59,1,9643,4,2,103,112,1599,1604,111,110,59,1,280,102,59,3,55349,56636,115,105,108,111,110,59,1,917,117,4,2,97,105,1624,1640,108,4,2,59,84,1631,1633,1,10869,105,108,100,101,59,1,8770,108,105,98,114,105,117,109,59,1,8652,4,2,99,105,1656,1660,114,59,1,8496,109,59,1,10867,97,59,1,919,109,108,5,203,1,59,1675,1,203,4,2,105,112,1683,1689,115,116,115,59,1,8707,111,110,101,110,116,105,97,108,69,59,1,8519,4,5,99,102,105,111,115,1713,1717,1722,1762,1791,121,59,1,1060,114,59,3,55349,56585,108,108,101,100,4,2,83,86,1732,1745,109,97,108,108,83,113,117,97,114,101,59,1,9724,101,114,121,83,109,97,108,108,83,113,117,97,114,101,59,1,9642,4,3,112,114,117,1770,1775,1781,102,59,3,55349,56637,65,108,108,59,1,8704,114,105,101,114,116,114,102,59,1,8497,99,114,59,1,8497,4,12,74,84,97,98,99,100,102,103,111,114,115,116,1822,1827,1834,1848,1855,1877,1882,1887,1890,1896,1978,1984,99,121,59,1,1027,5,62,1,59,1832,1,62,109,109,97,4,2,59,100,1843,1845,1,915,59,1,988,114,101,118,101,59,1,286,4,3,101,105,121,1863,1869,1874,100,105,108,59,1,290,114,99,59,1,284,59,1,1043,111,116,59,1,288,114,59,3,55349,56586,59,1,8921,112,102,59,3,55349,56638,101,97,116,101,114,4,6,69,70,71,76,83,84,1915,1933,1944,1953,1959,1971,113,117,97,108,4,2,59,76,1925,1927,1,8805,101,115,115,59,1,8923,117,108,108,69,113,117,97,108,59,1,8807,114,101,97,116,101,114,59,1,10914,101,115,115,59,1,8823,108,97,110,116,69,113,117,97,108,59,1,10878,105,108,100,101,59,1,8819,99,114,59,3,55349,56482,59,1,8811,4,8,65,97,99,102,105,111,115,117,2005,2012,2026,2032,2036,2049,2073,2089,82,68,99,121,59,1,1066,4,2,99,116,2018,2023,101,107,59,1,711,59,1,94,105,114,99,59,1,292,114,59,1,8460,108,98,101,114,116,83,112,97,99,101,59,1,8459,4,2,112,114,2055,2059,102,59,1,8461,105,122,111,110,116,97,108,76,105,110,101,59,1,9472,4,2,99,116,2079,2083,114,59,1,8459,114,111,107,59,1,294,109,112,4,2,68,69,2097,2107,111,119,110,72,117,109,112,59,1,8782,113,117,97,108,59,1,8783,4,14,69,74,79,97,99,100,102,103,109,110,111,115,116,117,2144,2149,2155,2160,2171,2189,2194,2198,2209,2245,2307,2329,2334,2341,99,121,59,1,1045,108,105,103,59,1,306,99,121,59,1,1025,99,117,116,101,5,205,1,59,2169,1,205,4,2,105,121,2177,2186,114,99,5,206,1,59,2184,1,206,59,1,1048,111,116,59,1,304,114,59,1,8465,114,97,118,101,5,204,1,59,2207,1,204,4,3,59,97,112,2217,2219,2238,1,8465,4,2,99,103,2225,2229,114,59,1,298,105,110,97,114,121,73,59,1,8520,108,105,101,115,59,1,8658,4,2,116,118,2251,2281,4,2,59,101,2257,2259,1,8748,4,2,103,114,2265,2271,114,97,108,59,1,8747,115,101,99,116,105,111,110,59,1,8898,105,115,105,98,108,101,4,2,67,84,2293,2300,111,109,109,97,59,1,8291,105,109,101,115,59,1,8290,4,3,103,112,116,2315,2320,2325,111,110,59,1,302,102,59,3,55349,56640,97,59,1,921,99,114,59,1,8464,105,108,100,101,59,1,296,4,2,107,109,2347,2352,99,121,59,1,1030,108,5,207,1,59,2358,1,207,4,5,99,102,111,115,117,2372,2386,2391,2397,2414,4,2,105,121,2378,2383,114,99,59,1,308,59,1,1049,114,59,3,55349,56589,112,102,59,3,55349,56641,4,2,99,101,2403,2408,114,59,3,55349,56485,114,99,121,59,1,1032,107,99,121,59,1,1028,4,7,72,74,97,99,102,111,115,2436,2441,2446,2452,2467,2472,2478,99,121,59,1,1061,99,121,59,1,1036,112,112,97,59,1,922,4,2,101,121,2458,2464,100,105,108,59,1,310,59,1,1050,114,59,3,55349,56590,112,102,59,3,55349,56642,99,114,59,3,55349,56486,4,11,74,84,97,99,101,102,108,109,111,115,116,2508,2513,2520,2562,2585,2981,2986,3004,3011,3146,3167,99,121,59,1,1033,5,60,1,59,2518,1,60,4,5,99,109,110,112,114,2532,2538,2544,2548,2558,117,116,101,59,1,313,98,100,97,59,1,923,103,59,1,10218,108,97,99,101,116,114,102,59,1,8466,114,59,1,8606,4,3,97,101,121,2570,2576,2582,114,111,110,59,1,317,100,105,108,59,1,315,59,1,1051,4,2,102,115,2591,2907,116,4,10,65,67,68,70,82,84,85,86,97,114,2614,2663,2672,2728,2735,2760,2820,2870,2888,2895,4,2,110,114,2620,2633,103,108,101,66,114,97,99,107,101,116,59,1,10216,114,111,119,4,3,59,66,82,2644,2646,2651,1,8592,97,114,59,1,8676,105,103,104,116,65,114,114,111,119,59,1,8646,101,105,108,105,110,103,59,1,8968,111,4,2,117,119,2679,2692,98,108,101,66,114,97,99,107,101,116,59,1,10214,110,4,2,84,86,2699,2710,101,101,86,101,99,116,111,114,59,1,10593,101,99,116,111,114,4,2,59,66,2721,2723,1,8643,97,114,59,1,10585,108,111,111,114,59,1,8970,105,103,104,116,4,2,65,86,2745,2752,114,114,111,119,59,1,8596,101,99,116,111,114,59,1,10574,4,2,101,114,2766,2792,101,4,3,59,65,86,2775,2777,2784,1,8867,114,114,111,119,59,1,8612,101,99,116,111,114,59,1,10586,105,97,110,103,108,101,4,3,59,66,69,2806,2808,2813,1,8882,97,114,59,1,10703,113,117,97,108,59,1,8884,112,4,3,68,84,86,2829,2841,2852,111,119,110,86,101,99,116,111,114,59,1,10577,101,101,86,101,99,116,111,114,59,1,10592,101,99,116,111,114,4,2,59,66,2863,2865,1,8639,97,114,59,1,10584,101,99,116,111,114,4,2,59,66,2881,2883,1,8636,97,114,59,1,10578,114,114,111,119,59,1,8656,105,103,104,116,97,114,114,111,119,59,1,8660,115,4,6,69,70,71,76,83,84,2922,2936,2947,2956,2962,2974,113,117,97,108,71,114,101,97,116,101,114,59,1,8922,117,108,108,69,113,117,97,108,59,1,8806,114,101,97,116,101,114,59,1,8822,101,115,115,59,1,10913,108,97,110,116,69,113,117,97,108,59,1,10877,105,108,100,101,59,1,8818,114,59,3,55349,56591,4,2,59,101,2992,2994,1,8920,102,116,97,114,114,111,119,59,1,8666,105,100,111,116,59,1,319,4,3,110,112,119,3019,3110,3115,103,4,4,76,82,108,114,3030,3058,3070,3098,101,102,116,4,2,65,82,3039,3046,114,114,111,119,59,1,10229,105,103,104,116,65,114,114,111,119,59,1,10231,105,103,104,116,65,114,114,111,119,59,1,10230,101,102,116,4,2,97,114,3079,3086,114,114,111,119,59,1,10232,105,103,104,116,97,114,114,111,119,59,1,10234,105,103,104,116,97,114,114,111,119,59,1,10233,102,59,3,55349,56643,101,114,4,2,76,82,3123,3134,101,102,116,65,114,114,111,119,59,1,8601,105,103,104,116,65,114,114,111,119,59,1,8600,4,3,99,104,116,3154,3158,3161,114,59,1,8466,59,1,8624,114,111,107,59,1,321,59,1,8810,4,8,97,99,101,102,105,111,115,117,3188,3192,3196,3222,3227,3237,3243,3248,112,59,1,10501,121,59,1,1052,4,2,100,108,3202,3213,105,117,109,83,112,97,99,101,59,1,8287,108,105,110,116,114,102,59,1,8499,114,59,3,55349,56592,110,117,115,80,108,117,115,59,1,8723,112,102,59,3,55349,56644,99,114,59,1,8499,59,1,924,4,9,74,97,99,101,102,111,115,116,117,3271,3276,3283,3306,3422,3427,4120,4126,4137,99,121,59,1,1034,99,117,116,101,59,1,323,4,3,97,101,121,3291,3297,3303,114,111,110,59,1,327,100,105,108,59,1,325,59,1,1053,4,3,103,115,119,3314,3380,3415,97,116,105,118,101,4,3,77,84,86,3327,3340,3365,101,100,105,117,109,83,112,97,99,101,59,1,8203,104,105,4,2,99,110,3348,3357,107,83,112,97,99,101,59,1,8203,83,112,97,99,101,59,1,8203,101,114,121,84,104,105,110,83,112,97,99,101,59,1,8203,116,101,100,4,2,71,76,3389,3405,114,101,97,116,101,114,71,114,101,97,116,101,114,59,1,8811,101,115,115,76,101,115,115,59,1,8810,76,105,110,101,59,1,10,114,59,3,55349,56593,4,4,66,110,112,116,3437,3444,3460,3464,114,101,97,107,59,1,8288,66,114,101,97,107,105,110,103,83,112,97,99,101,59,1,160,102,59,1,8469,4,13,59,67,68,69,71,72,76,78,80,82,83,84,86,3492,3494,3517,3536,3578,3657,3685,3784,3823,3860,3915,4066,4107,1,10988,4,2,111,117,3500,3510,110,103,114,117,101,110,116,59,1,8802,112,67,97,112,59,1,8813,111,117,98,108,101,86,101,114,116,105,99,97,108,66,97,114,59,1,8742,4,3,108,113,120,3544,3552,3571,101,109,101,110,116,59,1,8713,117,97,108,4,2,59,84,3561,3563,1,8800,105,108,100,101,59,3,8770,824,105,115,116,115,59,1,8708,114,101,97,116,101,114,4,7,59,69,70,71,76,83,84,3600,3602,3609,3621,3631,3637,3650,1,8815,113,117,97,108,59,1,8817,117,108,108,69,113,117,97,108,59,3,8807,824,114,101,97,116,101,114,59,3,8811,824,101,115,115,59,1,8825,108,97,110,116,69,113,117,97,108,59,3,10878,824,105,108,100,101,59,1,8821,117,109,112,4,2,68,69,3666,3677,111,119,110,72,117,109,112,59,3,8782,824,113,117,97,108,59,3,8783,824,101,4,2,102,115,3692,3724,116,84,114,105,97,110,103,108,101,4,3,59,66,69,3709,3711,3717,1,8938,97,114,59,3,10703,824,113,117,97,108,59,1,8940,115,4,6,59,69,71,76,83,84,3739,3741,3748,3757,3764,3777,1,8814,113,117,97,108,59,1,8816,114,101,97,116,101,114,59,1,8824,101,115,115,59,3,8810,824,108,97,110,116,69,113,117,97,108,59,3,10877,824,105,108,100,101,59,1,8820,101,115,116,101,100,4,2,71,76,3795,3812,114,101,97,116,101,114,71,114,101,97,116,101,114,59,3,10914,824,101,115,115,76,101,115,115,59,3,10913,824,114,101,99,101,100,101,115,4,3,59,69,83,3838,3840,3848,1,8832,113,117,97,108,59,3,10927,824,108,97,110,116,69,113,117,97,108,59,1,8928,4,2,101,105,3866,3881,118,101,114,115,101,69,108,101,109,101,110,116,59,1,8716,103,104,116,84,114,105,97,110,103,108,101,4,3,59,66,69,3900,3902,3908,1,8939,97,114,59,3,10704,824,113,117,97,108,59,1,8941,4,2,113,117,3921,3973,117,97,114,101,83,117,4,2,98,112,3933,3952,115,101,116,4,2,59,69,3942,3945,3,8847,824,113,117,97,108,59,1,8930,101,114,115,101,116,4,2,59,69,3963,3966,3,8848,824,113,117,97,108,59,1,8931,4,3,98,99,112,3981,4e3,4045,115,101,116,4,2,59,69,3990,3993,3,8834,8402,113,117,97,108,59,1,8840,99,101,101,100,115,4,4,59,69,83,84,4015,4017,4025,4037,1,8833,113,117,97,108,59,3,10928,824,108,97,110,116,69,113,117,97,108,59,1,8929,105,108,100,101,59,3,8831,824,101,114,115,101,116,4,2,59,69,4056,4059,3,8835,8402,113,117,97,108,59,1,8841,105,108,100,101,4,4,59,69,70,84,4080,4082,4089,4100,1,8769,113,117,97,108,59,1,8772,117,108,108,69,113,117,97,108,59,1,8775,105,108,100,101,59,1,8777,101,114,116,105,99,97,108,66,97,114,59,1,8740,99,114,59,3,55349,56489,105,108,100,101,5,209,1,59,4135,1,209,59,1,925,4,14,69,97,99,100,102,103,109,111,112,114,115,116,117,118,4170,4176,4187,4205,4212,4217,4228,4253,4259,4292,4295,4316,4337,4346,108,105,103,59,1,338,99,117,116,101,5,211,1,59,4185,1,211,4,2,105,121,4193,4202,114,99,5,212,1,59,4200,1,212,59,1,1054,98,108,97,99,59,1,336,114,59,3,55349,56594,114,97,118,101,5,210,1,59,4226,1,210,4,3,97,101,105,4236,4241,4246,99,114,59,1,332,103,97,59,1,937,99,114,111,110,59,1,927,112,102,59,3,55349,56646,101,110,67,117,114,108,121,4,2,68,81,4272,4285,111,117,98,108,101,81,117,111,116,101,59,1,8220,117,111,116,101,59,1,8216,59,1,10836,4,2,99,108,4301,4306,114,59,3,55349,56490,97,115,104,5,216,1,59,4314,1,216,105,4,2,108,109,4323,4332,100,101,5,213,1,59,4330,1,213,101,115,59,1,10807,109,108,5,214,1,59,4344,1,214,101,114,4,2,66,80,4354,4380,4,2,97,114,4360,4364,114,59,1,8254,97,99,4,2,101,107,4372,4375,59,1,9182,101,116,59,1,9140,97,114,101,110,116,104,101,115,105,115,59,1,9180,4,9,97,99,102,104,105,108,111,114,115,4413,4422,4426,4431,4435,4438,4448,4471,4561,114,116,105,97,108,68,59,1,8706,121,59,1,1055,114,59,3,55349,56595,105,59,1,934,59,1,928,117,115,77,105,110,117,115,59,1,177,4,2,105,112,4454,4467,110,99,97,114,101,112,108,97,110,101,59,1,8460,102,59,1,8473,4,4,59,101,105,111,4481,4483,4526,4531,1,10939,99,101,100,101,115,4,4,59,69,83,84,4498,4500,4507,4519,1,8826,113,117,97,108,59,1,10927,108,97,110,116,69,113,117,97,108,59,1,8828,105,108,100,101,59,1,8830,109,101,59,1,8243,4,2,100,112,4537,4543,117,99,116,59,1,8719,111,114,116,105,111,110,4,2,59,97,4555,4557,1,8759,108,59,1,8733,4,2,99,105,4567,4572,114,59,3,55349,56491,59,1,936,4,4,85,102,111,115,4585,4594,4599,4604,79,84,5,34,1,59,4592,1,34,114,59,3,55349,56596,112,102,59,1,8474,99,114,59,3,55349,56492,4,12,66,69,97,99,101,102,104,105,111,114,115,117,4636,4642,4650,4681,4704,4763,4767,4771,5047,5069,5081,5094,97,114,114,59,1,10512,71,5,174,1,59,4648,1,174,4,3,99,110,114,4658,4664,4668,117,116,101,59,1,340,103,59,1,10219,114,4,2,59,116,4675,4677,1,8608,108,59,1,10518,4,3,97,101,121,4689,4695,4701,114,111,110,59,1,344,100,105,108,59,1,342,59,1,1056,4,2,59,118,4710,4712,1,8476,101,114,115,101,4,2,69,85,4722,4748,4,2,108,113,4728,4736,101,109,101,110,116,59,1,8715,117,105,108,105,98,114,105,117,109,59,1,8651,112,69,113,117,105,108,105,98,114,105,117,109,59,1,10607,114,59,1,8476,111,59,1,929,103,104,116,4,8,65,67,68,70,84,85,86,97,4792,4840,4849,4905,4912,4972,5022,5040,4,2,110,114,4798,4811,103,108,101,66,114,97,99,107,101,116,59,1,10217,114,111,119,4,3,59,66,76,4822,4824,4829,1,8594,97,114,59,1,8677,101,102,116,65,114,114,111,119,59,1,8644,101,105,108,105,110,103,59,1,8969,111,4,2,117,119,4856,4869,98,108,101,66,114,97,99,107,101,116,59,1,10215,110,4,2,84,86,4876,4887,101,101,86,101,99,116,111,114,59,1,10589,101,99,116,111,114,4,2,59,66,4898,4900,1,8642,97,114,59,1,10581,108,111,111,114,59,1,8971,4,2,101,114,4918,4944,101,4,3,59,65,86,4927,4929,4936,1,8866,114,114,111,119,59,1,8614,101,99,116,111,114,59,1,10587,105,97,110,103,108,101,4,3,59,66,69,4958,4960,4965,1,8883,97,114,59,1,10704,113,117,97,108,59,1,8885,112,4,3,68,84,86,4981,4993,5004,111,119,110,86,101,99,116,111,114,59,1,10575,101,101,86,101,99,116,111,114,59,1,10588,101,99,116,111,114,4,2,59,66,5015,5017,1,8638,97,114,59,1,10580,101,99,116,111,114,4,2,59,66,5033,5035,1,8640,97,114,59,1,10579,114,114,111,119,59,1,8658,4,2,112,117,5053,5057,102,59,1,8477,110,100,73,109,112,108,105,101,115,59,1,10608,105,103,104,116,97,114,114,111,119,59,1,8667,4,2,99,104,5087,5091,114,59,1,8475,59,1,8625,108,101,68,101,108,97,121,101,100,59,1,10740,4,13,72,79,97,99,102,104,105,109,111,113,115,116,117,5134,5150,5157,5164,5198,5203,5259,5265,5277,5283,5374,5380,5385,4,2,67,99,5140,5146,72,99,121,59,1,1065,121,59,1,1064,70,84,99,121,59,1,1068,99,117,116,101,59,1,346,4,5,59,97,101,105,121,5176,5178,5184,5190,5195,1,10940,114,111,110,59,1,352,100,105,108,59,1,350,114,99,59,1,348,59,1,1057,114,59,3,55349,56598,111,114,116,4,4,68,76,82,85,5216,5227,5238,5250,111,119,110,65,114,114,111,119,59,1,8595,101,102,116,65,114,114,111,119,59,1,8592,105,103,104,116,65,114,114,111,119,59,1,8594,112,65,114,114,111,119,59,1,8593,103,109,97,59,1,931,97,108,108,67,105,114,99,108,101,59,1,8728,112,102,59,3,55349,56650,4,2,114,117,5289,5293,116,59,1,8730,97,114,101,4,4,59,73,83,85,5306,5308,5322,5367,1,9633,110,116,101,114,115,101,99,116,105,111,110,59,1,8851,117,4,2,98,112,5329,5347,115,101,116,4,2,59,69,5338,5340,1,8847,113,117,97,108,59,1,8849,101,114,115,101,116,4,2,59,69,5358,5360,1,8848,113,117,97,108,59,1,8850,110,105,111,110,59,1,8852,99,114,59,3,55349,56494,97,114,59,1,8902,4,4,98,99,109,112,5395,5420,5475,5478,4,2,59,115,5401,5403,1,8912,101,116,4,2,59,69,5411,5413,1,8912,113,117,97,108,59,1,8838,4,2,99,104,5426,5468,101,101,100,115,4,4,59,69,83,84,5440,5442,5449,5461,1,8827,113,117,97,108,59,1,10928,108,97,110,116,69,113,117,97,108,59,1,8829,105,108,100,101,59,1,8831,84,104,97,116,59,1,8715,59,1,8721,4,3,59,101,115,5486,5488,5507,1,8913,114,115,101,116,4,2,59,69,5498,5500,1,8835,113,117,97,108,59,1,8839,101,116,59,1,8913,4,11,72,82,83,97,99,102,104,105,111,114,115,5536,5546,5552,5567,5579,5602,5607,5655,5695,5701,5711,79,82,78,5,222,1,59,5544,1,222,65,68,69,59,1,8482,4,2,72,99,5558,5563,99,121,59,1,1035,121,59,1,1062,4,2,98,117,5573,5576,59,1,9,59,1,932,4,3,97,101,121,5587,5593,5599,114,111,110,59,1,356,100,105,108,59,1,354,59,1,1058,114,59,3,55349,56599,4,2,101,105,5613,5631,4,2,114,116,5619,5627,101,102,111,114,101,59,1,8756,97,59,1,920,4,2,99,110,5637,5647,107,83,112,97,99,101,59,3,8287,8202,83,112,97,99,101,59,1,8201,108,100,101,4,4,59,69,70,84,5668,5670,5677,5688,1,8764,113,117,97,108,59,1,8771,117,108,108,69,113,117,97,108,59,1,8773,105,108,100,101,59,1,8776,112,102,59,3,55349,56651,105,112,108,101,68,111,116,59,1,8411,4,2,99,116,5717,5722,114,59,3,55349,56495,114,111,107,59,1,358,4,14,97,98,99,100,102,103,109,110,111,112,114,115,116,117,5758,5789,5805,5823,5830,5835,5846,5852,5921,5937,6089,6095,6101,6108,4,2,99,114,5764,5774,117,116,101,5,218,1,59,5772,1,218,114,4,2,59,111,5781,5783,1,8607,99,105,114,59,1,10569,114,4,2,99,101,5796,5800,121,59,1,1038,118,101,59,1,364,4,2,105,121,5811,5820,114,99,5,219,1,59,5818,1,219,59,1,1059,98,108,97,99,59,1,368,114,59,3,55349,56600,114,97,118,101,5,217,1,59,5844,1,217,97,99,114,59,1,362,4,2,100,105,5858,5905,101,114,4,2,66,80,5866,5892,4,2,97,114,5872,5876,114,59,1,95,97,99,4,2,101,107,5884,5887,59,1,9183,101,116,59,1,9141,97,114,101,110,116,104,101,115,105,115,59,1,9181,111,110,4,2,59,80,5913,5915,1,8899,108,117,115,59,1,8846,4,2,103,112,5927,5932,111,110,59,1,370,102,59,3,55349,56652,4,8,65,68,69,84,97,100,112,115,5955,5985,5996,6009,6026,6033,6044,6075,114,114,111,119,4,3,59,66,68,5967,5969,5974,1,8593,97,114,59,1,10514,111,119,110,65,114,114,111,119,59,1,8645,111,119,110,65,114,114,111,119,59,1,8597,113,117,105,108,105,98,114,105,117,109,59,1,10606,101,101,4,2,59,65,6017,6019,1,8869,114,114,111,119,59,1,8613,114,114,111,119,59,1,8657,111,119,110,97,114,114,111,119,59,1,8661,101,114,4,2,76,82,6052,6063,101,102,116,65,114,114,111,119,59,1,8598,105,103,104,116,65,114,114,111,119,59,1,8599,105,4,2,59,108,6082,6084,1,978,111,110,59,1,933,105,110,103,59,1,366,99,114,59,3,55349,56496,105,108,100,101,59,1,360,109,108,5,220,1,59,6115,1,220,4,9,68,98,99,100,101,102,111,115,118,6137,6143,6148,6152,6166,6250,6255,6261,6267,97,115,104,59,1,8875,97,114,59,1,10987,121,59,1,1042,97,115,104,4,2,59,108,6161,6163,1,8873,59,1,10982,4,2,101,114,6172,6175,59,1,8897,4,3,98,116,121,6183,6188,6238,97,114,59,1,8214,4,2,59,105,6194,6196,1,8214,99,97,108,4,4,66,76,83,84,6209,6214,6220,6231,97,114,59,1,8739,105,110,101,59,1,124,101,112,97,114,97,116,111,114,59,1,10072,105,108,100,101,59,1,8768,84,104,105,110,83,112,97,99,101,59,1,8202,114,59,3,55349,56601,112,102,59,3,55349,56653,99,114,59,3,55349,56497,100,97,115,104,59,1,8874,4,5,99,101,102,111,115,6286,6292,6298,6303,6309,105,114,99,59,1,372,100,103,101,59,1,8896,114,59,3,55349,56602,112,102,59,3,55349,56654,99,114,59,3,55349,56498,4,4,102,105,111,115,6325,6330,6333,6339,114,59,3,55349,56603,59,1,926,112,102,59,3,55349,56655,99,114,59,3,55349,56499,4,9,65,73,85,97,99,102,111,115,117,6365,6370,6375,6380,6391,6405,6410,6416,6422,99,121,59,1,1071,99,121,59,1,1031,99,121,59,1,1070,99,117,116,101,5,221,1,59,6389,1,221,4,2,105,121,6397,6402,114,99,59,1,374,59,1,1067,114,59,3,55349,56604,112,102,59,3,55349,56656,99,114,59,3,55349,56500,109,108,59,1,376,4,8,72,97,99,100,101,102,111,115,6445,6450,6457,6472,6477,6501,6505,6510,99,121,59,1,1046,99,117,116,101,59,1,377,4,2,97,121,6463,6469,114,111,110,59,1,381,59,1,1047,111,116,59,1,379,4,2,114,116,6483,6497,111,87,105,100,116,104,83,112,97,99,101,59,1,8203,97,59,1,918,114,59,1,8488,112,102,59,1,8484,99,114,59,3,55349,56501,4,16,97,98,99,101,102,103,108,109,110,111,112,114,115,116,117,119,6550,6561,6568,6612,6622,6634,6645,6672,6699,6854,6870,6923,6933,6963,6974,6983,99,117,116,101,5,225,1,59,6559,1,225,114,101,118,101,59,1,259,4,6,59,69,100,105,117,121,6582,6584,6588,6591,6600,6609,1,8766,59,3,8766,819,59,1,8767,114,99,5,226,1,59,6598,1,226,116,101,5,180,1,59,6607,1,180,59,1,1072,108,105,103,5,230,1,59,6620,1,230,4,2,59,114,6628,6630,1,8289,59,3,55349,56606,114,97,118,101,5,224,1,59,6643,1,224,4,2,101,112,6651,6667,4,2,102,112,6657,6663,115,121,109,59,1,8501,104,59,1,8501,104,97,59,1,945,4,2,97,112,6678,6692,4,2,99,108,6684,6688,114,59,1,257,103,59,1,10815,5,38,1,59,6697,1,38,4,2,100,103,6705,6737,4,5,59,97,100,115,118,6717,6719,6724,6727,6734,1,8743,110,100,59,1,10837,59,1,10844,108,111,112,101,59,1,10840,59,1,10842,4,7,59,101,108,109,114,115,122,6753,6755,6758,6762,6814,6835,6848,1,8736,59,1,10660,101,59,1,8736,115,100,4,2,59,97,6770,6772,1,8737,4,8,97,98,99,100,101,102,103,104,6790,6793,6796,6799,6802,6805,6808,6811,59,1,10664,59,1,10665,59,1,10666,59,1,10667,59,1,10668,59,1,10669,59,1,10670,59,1,10671,116,4,2,59,118,6821,6823,1,8735,98,4,2,59,100,6830,6832,1,8894,59,1,10653,4,2,112,116,6841,6845,104,59,1,8738,59,1,197,97,114,114,59,1,9084,4,2,103,112,6860,6865,111,110,59,1,261,102,59,3,55349,56658,4,7,59,69,97,101,105,111,112,6886,6888,6891,6897,6900,6904,6908,1,8776,59,1,10864,99,105,114,59,1,10863,59,1,8778,100,59,1,8779,115,59,1,39,114,111,120,4,2,59,101,6917,6919,1,8776,113,59,1,8778,105,110,103,5,229,1,59,6931,1,229,4,3,99,116,121,6941,6946,6949,114,59,3,55349,56502,59,1,42,109,112,4,2,59,101,6957,6959,1,8776,113,59,1,8781,105,108,100,101,5,227,1,59,6972,1,227,109,108,5,228,1,59,6981,1,228,4,2,99,105,6989,6997,111,110,105,110,116,59,1,8755,110,116,59,1,10769,4,16,78,97,98,99,100,101,102,105,107,108,110,111,112,114,115,117,7036,7041,7119,7135,7149,7155,7219,7224,7347,7354,7463,7489,7786,7793,7814,7866,111,116,59,1,10989,4,2,99,114,7047,7094,107,4,4,99,101,112,115,7058,7064,7073,7080,111,110,103,59,1,8780,112,115,105,108,111,110,59,1,1014,114,105,109,101,59,1,8245,105,109,4,2,59,101,7088,7090,1,8765,113,59,1,8909,4,2,118,119,7100,7105,101,101,59,1,8893,101,100,4,2,59,103,7113,7115,1,8965,101,59,1,8965,114,107,4,2,59,116,7127,7129,1,9141,98,114,107,59,1,9142,4,2,111,121,7141,7146,110,103,59,1,8780,59,1,1073,113,117,111,59,1,8222,4,5,99,109,112,114,116,7167,7181,7188,7193,7199,97,117,115,4,2,59,101,7176,7178,1,8757,59,1,8757,112,116,121,118,59,1,10672,115,105,59,1,1014,110,111,117,59,1,8492,4,3,97,104,119,7207,7210,7213,59,1,946,59,1,8502,101,101,110,59,1,8812,114,59,3,55349,56607,103,4,7,99,111,115,116,117,118,119,7241,7262,7288,7305,7328,7335,7340,4,3,97,105,117,7249,7253,7258,112,59,1,8898,114,99,59,1,9711,112,59,1,8899,4,3,100,112,116,7270,7275,7281,111,116,59,1,10752,108,117,115,59,1,10753,105,109,101,115,59,1,10754,4,2,113,116,7294,7300,99,117,112,59,1,10758,97,114,59,1,9733,114,105,97,110,103,108,101,4,2,100,117,7318,7324,111,119,110,59,1,9661,112,59,1,9651,112,108,117,115,59,1,10756,101,101,59,1,8897,101,100,103,101,59,1,8896,97,114,111,119,59,1,10509,4,3,97,107,111,7362,7436,7458,4,2,99,110,7368,7432,107,4,3,108,115,116,7377,7386,7394,111,122,101,110,103,101,59,1,10731,113,117,97,114,101,59,1,9642,114,105,97,110,103,108,101,4,4,59,100,108,114,7411,7413,7419,7425,1,9652,111,119,110,59,1,9662,101,102,116,59,1,9666,105,103,104,116,59,1,9656,107,59,1,9251,4,2,49,51,7442,7454,4,2,50,52,7448,7451,59,1,9618,59,1,9617,52,59,1,9619,99,107,59,1,9608,4,2,101,111,7469,7485,4,2,59,113,7475,7478,3,61,8421,117,105,118,59,3,8801,8421,116,59,1,8976,4,4,112,116,119,120,7499,7504,7517,7523,102,59,3,55349,56659,4,2,59,116,7510,7512,1,8869,111,109,59,1,8869,116,105,101,59,1,8904,4,12,68,72,85,86,98,100,104,109,112,116,117,118,7549,7571,7597,7619,7655,7660,7682,7708,7715,7721,7728,7750,4,4,76,82,108,114,7559,7562,7565,7568,59,1,9559,59,1,9556,59,1,9558,59,1,9555,4,5,59,68,85,100,117,7583,7585,7588,7591,7594,1,9552,59,1,9574,59,1,9577,59,1,9572,59,1,9575,4,4,76,82,108,114,7607,7610,7613,7616,59,1,9565,59,1,9562,59,1,9564,59,1,9561,4,7,59,72,76,82,104,108,114,7635,7637,7640,7643,7646,7649,7652,1,9553,59,1,9580,59,1,9571,59,1,9568,59,1,9579,59,1,9570,59,1,9567,111,120,59,1,10697,4,4,76,82,108,114,7670,7673,7676,7679,59,1,9557,59,1,9554,59,1,9488,59,1,9484,4,5,59,68,85,100,117,7694,7696,7699,7702,7705,1,9472,59,1,9573,59,1,9576,59,1,9516,59,1,9524,105,110,117,115,59,1,8863,108,117,115,59,1,8862,105,109,101,115,59,1,8864,4,4,76,82,108,114,7738,7741,7744,7747,59,1,9563,59,1,9560,59,1,9496,59,1,9492,4,7,59,72,76,82,104,108,114,7766,7768,7771,7774,7777,7780,7783,1,9474,59,1,9578,59,1,9569,59,1,9566,59,1,9532,59,1,9508,59,1,9500,114,105,109,101,59,1,8245,4,2,101,118,7799,7804,118,101,59,1,728,98,97,114,5,166,1,59,7812,1,166,4,4,99,101,105,111,7824,7829,7834,7846,114,59,3,55349,56503,109,105,59,1,8271,109,4,2,59,101,7841,7843,1,8765,59,1,8909,108,4,3,59,98,104,7855,7857,7860,1,92,59,1,10693,115,117,98,59,1,10184,4,2,108,109,7872,7885,108,4,2,59,101,7879,7881,1,8226,116,59,1,8226,112,4,3,59,69,101,7894,7896,7899,1,8782,59,1,10926,4,2,59,113,7905,7907,1,8783,59,1,8783,4,15,97,99,100,101,102,104,105,108,111,114,115,116,117,119,121,7942,8021,8075,8080,8121,8126,8157,8279,8295,8430,8446,8485,8491,8707,8726,4,3,99,112,114,7950,7956,8007,117,116,101,59,1,263,4,6,59,97,98,99,100,115,7970,7972,7977,7984,7998,8003,1,8745,110,100,59,1,10820,114,99,117,112,59,1,10825,4,2,97,117,7990,7994,112,59,1,10827,112,59,1,10823,111,116,59,1,10816,59,3,8745,65024,4,2,101,111,8013,8017,116,59,1,8257,110,59,1,711,4,4,97,101,105,117,8031,8046,8056,8061,4,2,112,114,8037,8041,115,59,1,10829,111,110,59,1,269,100,105,108,5,231,1,59,8054,1,231,114,99,59,1,265,112,115,4,2,59,115,8069,8071,1,10828,109,59,1,10832,111,116,59,1,267,4,3,100,109,110,8088,8097,8104,105,108,5,184,1,59,8095,1,184,112,116,121,118,59,1,10674,116,5,162,2,59,101,8112,8114,1,162,114,100,111,116,59,1,183,114,59,3,55349,56608,4,3,99,101,105,8134,8138,8154,121,59,1,1095,99,107,4,2,59,109,8146,8148,1,10003,97,114,107,59,1,10003,59,1,967,114,4,7,59,69,99,101,102,109,115,8174,8176,8179,8258,8261,8268,8273,1,9675,59,1,10691,4,3,59,101,108,8187,8189,8193,1,710,113,59,1,8791,101,4,2,97,100,8200,8223,114,114,111,119,4,2,108,114,8210,8216,101,102,116,59,1,8634,105,103,104,116,59,1,8635,4,5,82,83,97,99,100,8235,8238,8241,8246,8252,59,1,174,59,1,9416,115,116,59,1,8859,105,114,99,59,1,8858,97,115,104,59,1,8861,59,1,8791,110,105,110,116,59,1,10768,105,100,59,1,10991,99,105,114,59,1,10690,117,98,115,4,2,59,117,8288,8290,1,9827,105,116,59,1,9827,4,4,108,109,110,112,8305,8326,8376,8400,111,110,4,2,59,101,8313,8315,1,58,4,2,59,113,8321,8323,1,8788,59,1,8788,4,2,109,112,8332,8344,97,4,2,59,116,8339,8341,1,44,59,1,64,4,3,59,102,108,8352,8354,8358,1,8705,110,59,1,8728,101,4,2,109,120,8365,8371,101,110,116,59,1,8705,101,115,59,1,8450,4,2,103,105,8382,8395,4,2,59,100,8388,8390,1,8773,111,116,59,1,10861,110,116,59,1,8750,4,3,102,114,121,8408,8412,8417,59,3,55349,56660,111,100,59,1,8720,5,169,2,59,115,8424,8426,1,169,114,59,1,8471,4,2,97,111,8436,8441,114,114,59,1,8629,115,115,59,1,10007,4,2,99,117,8452,8457,114,59,3,55349,56504,4,2,98,112,8463,8474,4,2,59,101,8469,8471,1,10959,59,1,10961,4,2,59,101,8480,8482,1,10960,59,1,10962,100,111,116,59,1,8943,4,7,100,101,108,112,114,118,119,8507,8522,8536,8550,8600,8697,8702,97,114,114,4,2,108,114,8516,8519,59,1,10552,59,1,10549,4,2,112,115,8528,8532,114,59,1,8926,99,59,1,8927,97,114,114,4,2,59,112,8545,8547,1,8630,59,1,10557,4,6,59,98,99,100,111,115,8564,8566,8573,8587,8592,8596,1,8746,114,99,97,112,59,1,10824,4,2,97,117,8579,8583,112,59,1,10822,112,59,1,10826,111,116,59,1,8845,114,59,1,10821,59,3,8746,65024,4,4,97,108,114,118,8610,8623,8663,8672,114,114,4,2,59,109,8618,8620,1,8631,59,1,10556,121,4,3,101,118,119,8632,8651,8656,113,4,2,112,115,8639,8645,114,101,99,59,1,8926,117,99,99,59,1,8927,101,101,59,1,8910,101,100,103,101,59,1,8911,101,110,5,164,1,59,8670,1,164,101,97,114,114,111,119,4,2,108,114,8684,8690,101,102,116,59,1,8630,105,103,104,116,59,1,8631,101,101,59,1,8910,101,100,59,1,8911,4,2,99,105,8713,8721,111,110,105,110,116,59,1,8754,110,116,59,1,8753,108,99,116,121,59,1,9005,4,19,65,72,97,98,99,100,101,102,104,105,106,108,111,114,115,116,117,119,122,8773,8778,8783,8821,8839,8854,8887,8914,8930,8944,9036,9041,9058,9197,9227,9258,9281,9297,9305,114,114,59,1,8659,97,114,59,1,10597,4,4,103,108,114,115,8793,8799,8805,8809,103,101,114,59,1,8224,101,116,104,59,1,8504,114,59,1,8595,104,4,2,59,118,8816,8818,1,8208,59,1,8867,4,2,107,108,8827,8834,97,114,111,119,59,1,10511,97,99,59,1,733,4,2,97,121,8845,8851,114,111,110,59,1,271,59,1,1076,4,3,59,97,111,8862,8864,8880,1,8518,4,2,103,114,8870,8876,103,101,114,59,1,8225,114,59,1,8650,116,115,101,113,59,1,10871,4,3,103,108,109,8895,8902,8907,5,176,1,59,8900,1,176,116,97,59,1,948,112,116,121,118,59,1,10673,4,2,105,114,8920,8926,115,104,116,59,1,10623,59,3,55349,56609,97,114,4,2,108,114,8938,8941,59,1,8643,59,1,8642,4,5,97,101,103,115,118,8956,8986,8989,8996,9001,109,4,3,59,111,115,8965,8967,8983,1,8900,110,100,4,2,59,115,8975,8977,1,8900,117,105,116,59,1,9830,59,1,9830,59,1,168,97,109,109,97,59,1,989,105,110,59,1,8946,4,3,59,105,111,9009,9011,9031,1,247,100,101,5,247,2,59,111,9020,9022,1,247,110,116,105,109,101,115,59,1,8903,110,120,59,1,8903,99,121,59,1,1106,99,4,2,111,114,9048,9053,114,110,59,1,8990,111,112,59,1,8973,4,5,108,112,116,117,119,9070,9076,9081,9130,9144,108,97,114,59,1,36,102,59,3,55349,56661,4,5,59,101,109,112,115,9093,9095,9109,9116,9122,1,729,113,4,2,59,100,9102,9104,1,8784,111,116,59,1,8785,105,110,117,115,59,1,8760,108,117,115,59,1,8724,113,117,97,114,101,59,1,8865,98,108,101,98,97,114,119,101,100,103,101,59,1,8966,110,4,3,97,100,104,9153,9160,9172,114,114,111,119,59,1,8595,111,119,110,97,114,114,111,119,115,59,1,8650,97,114,112,111,111,110,4,2,108,114,9184,9190,101,102,116,59,1,8643,105,103,104,116,59,1,8642,4,2,98,99,9203,9211,107,97,114,111,119,59,1,10512,4,2,111,114,9217,9222,114,110,59,1,8991,111,112,59,1,8972,4,3,99,111,116,9235,9248,9252,4,2,114,121,9241,9245,59,3,55349,56505,59,1,1109,108,59,1,10742,114,111,107,59,1,273,4,2,100,114,9264,9269,111,116,59,1,8945,105,4,2,59,102,9276,9278,1,9663,59,1,9662,4,2,97,104,9287,9292,114,114,59,1,8693,97,114,59,1,10607,97,110,103,108,101,59,1,10662,4,2,99,105,9311,9315,121,59,1,1119,103,114,97,114,114,59,1,10239,4,18,68,97,99,100,101,102,103,108,109,110,111,112,113,114,115,116,117,120,9361,9376,9398,9439,9444,9447,9462,9495,9531,9585,9598,9614,9659,9755,9771,9792,9808,9826,4,2,68,111,9367,9372,111,116,59,1,10871,116,59,1,8785,4,2,99,115,9382,9392,117,116,101,5,233,1,59,9390,1,233,116,101,114,59,1,10862,4,4,97,105,111,121,9408,9414,9430,9436,114,111,110,59,1,283,114,4,2,59,99,9421,9423,1,8790,5,234,1,59,9428,1,234,108,111,110,59,1,8789,59,1,1101,111,116,59,1,279,59,1,8519,4,2,68,114,9453,9458,111,116,59,1,8786,59,3,55349,56610,4,3,59,114,115,9470,9472,9482,1,10906,97,118,101,5,232,1,59,9480,1,232,4,2,59,100,9488,9490,1,10902,111,116,59,1,10904,4,4,59,105,108,115,9505,9507,9515,9518,1,10905,110,116,101,114,115,59,1,9191,59,1,8467,4,2,59,100,9524,9526,1,10901,111,116,59,1,10903,4,3,97,112,115,9539,9544,9564,99,114,59,1,275,116,121,4,3,59,115,118,9554,9556,9561,1,8709,101,116,59,1,8709,59,1,8709,112,4,2,49,59,9571,9583,4,2,51,52,9577,9580,59,1,8196,59,1,8197,1,8195,4,2,103,115,9591,9594,59,1,331,112,59,1,8194,4,2,103,112,9604,9609,111,110,59,1,281,102,59,3,55349,56662,4,3,97,108,115,9622,9635,9640,114,4,2,59,115,9629,9631,1,8917,108,59,1,10723,117,115,59,1,10865,105,4,3,59,108,118,9649,9651,9656,1,949,111,110,59,1,949,59,1,1013,4,4,99,115,117,118,9669,9686,9716,9747,4,2,105,111,9675,9680,114,99,59,1,8790,108,111,110,59,1,8789,4,2,105,108,9692,9696,109,59,1,8770,97,110,116,4,2,103,108,9705,9710,116,114,59,1,10902,101,115,115,59,1,10901,4,3,97,101,105,9724,9729,9734,108,115,59,1,61,115,116,59,1,8799,118,4,2,59,68,9741,9743,1,8801,68,59,1,10872,112,97,114,115,108,59,1,10725,4,2,68,97,9761,9766,111,116,59,1,8787,114,114,59,1,10609,4,3,99,100,105,9779,9783,9788,114,59,1,8495,111,116,59,1,8784,109,59,1,8770,4,2,97,104,9798,9801,59,1,951,5,240,1,59,9806,1,240,4,2,109,114,9814,9822,108,5,235,1,59,9820,1,235,111,59,1,8364,4,3,99,105,112,9834,9838,9843,108,59,1,33,115,116,59,1,8707,4,2,101,111,9849,9859,99,116,97,116,105,111,110,59,1,8496,110,101,110,116,105,97,108,101,59,1,8519,4,12,97,99,101,102,105,106,108,110,111,112,114,115,9896,9910,9914,9921,9954,9960,9967,9989,9994,10027,10036,10164,108,108,105,110,103,100,111,116,115,101,113,59,1,8786,121,59,1,1092,109,97,108,101,59,1,9792,4,3,105,108,114,9929,9935,9950,108,105,103,59,1,64259,4,2,105,108,9941,9945,103,59,1,64256,105,103,59,1,64260,59,3,55349,56611,108,105,103,59,1,64257,108,105,103,59,3,102,106,4,3,97,108,116,9975,9979,9984,116,59,1,9837,105,103,59,1,64258,110,115,59,1,9649,111,102,59,1,402,4,2,112,114,1e4,10005,102,59,3,55349,56663,4,2,97,107,10011,10016,108,108,59,1,8704,4,2,59,118,10022,10024,1,8916,59,1,10969,97,114,116,105,110,116,59,1,10765,4,2,97,111,10042,10159,4,2,99,115,10048,10155,4,6,49,50,51,52,53,55,10062,10102,10114,10135,10139,10151,4,6,50,51,52,53,54,56,10076,10083,10086,10093,10096,10099,5,189,1,59,10081,1,189,59,1,8531,5,188,1,59,10091,1,188,59,1,8533,59,1,8537,59,1,8539,4,2,51,53,10108,10111,59,1,8532,59,1,8534,4,3,52,53,56,10122,10129,10132,5,190,1,59,10127,1,190,59,1,8535,59,1,8540,53,59,1,8536,4,2,54,56,10145,10148,59,1,8538,59,1,8541,56,59,1,8542,108,59,1,8260,119,110,59,1,8994,99,114,59,3,55349,56507,4,17,69,97,98,99,100,101,102,103,105,106,108,110,111,114,115,116,118,10206,10217,10247,10254,10268,10273,10358,10363,10374,10380,10385,10406,10458,10464,10470,10497,10610,4,2,59,108,10212,10214,1,8807,59,1,10892,4,3,99,109,112,10225,10231,10244,117,116,101,59,1,501,109,97,4,2,59,100,10239,10241,1,947,59,1,989,59,1,10886,114,101,118,101,59,1,287,4,2,105,121,10260,10265,114,99,59,1,285,59,1,1075,111,116,59,1,289,4,4,59,108,113,115,10283,10285,10288,10308,1,8805,59,1,8923,4,3,59,113,115,10296,10298,10301,1,8805,59,1,8807,108,97,110,116,59,1,10878,4,4,59,99,100,108,10318,10320,10324,10345,1,10878,99,59,1,10921,111,116,4,2,59,111,10332,10334,1,10880,4,2,59,108,10340,10342,1,10882,59,1,10884,4,2,59,101,10351,10354,3,8923,65024,115,59,1,10900,114,59,3,55349,56612,4,2,59,103,10369,10371,1,8811,59,1,8921,109,101,108,59,1,8503,99,121,59,1,1107,4,4,59,69,97,106,10395,10397,10400,10403,1,8823,59,1,10898,59,1,10917,59,1,10916,4,4,69,97,101,115,10416,10419,10434,10453,59,1,8809,112,4,2,59,112,10426,10428,1,10890,114,111,120,59,1,10890,4,2,59,113,10440,10442,1,10888,4,2,59,113,10448,10450,1,10888,59,1,8809,105,109,59,1,8935,112,102,59,3,55349,56664,97,118,101,59,1,96,4,2,99,105,10476,10480,114,59,1,8458,109,4,3,59,101,108,10489,10491,10494,1,8819,59,1,10894,59,1,10896,5,62,6,59,99,100,108,113,114,10512,10514,10527,10532,10538,10545,1,62,4,2,99,105,10520,10523,59,1,10919,114,59,1,10874,111,116,59,1,8919,80,97,114,59,1,10645,117,101,115,116,59,1,10876,4,5,97,100,101,108,115,10557,10574,10579,10599,10605,4,2,112,114,10563,10570,112,114,111,120,59,1,10886,114,59,1,10616,111,116,59,1,8919,113,4,2,108,113,10586,10592,101,115,115,59,1,8923,108,101,115,115,59,1,10892,101,115,115,59,1,8823,105,109,59,1,8819,4,2,101,110,10616,10626,114,116,110,101,113,113,59,3,8809,65024,69,59,3,8809,65024,4,10,65,97,98,99,101,102,107,111,115,121,10653,10658,10713,10718,10724,10760,10765,10786,10850,10875,114,114,59,1,8660,4,4,105,108,109,114,10668,10674,10678,10684,114,115,112,59,1,8202,102,59,1,189,105,108,116,59,1,8459,4,2,100,114,10690,10695,99,121,59,1,1098,4,3,59,99,119,10703,10705,10710,1,8596,105,114,59,1,10568,59,1,8621,97,114,59,1,8463,105,114,99,59,1,293,4,3,97,108,114,10732,10748,10754,114,116,115,4,2,59,117,10741,10743,1,9829,105,116,59,1,9829,108,105,112,59,1,8230,99,111,110,59,1,8889,114,59,3,55349,56613,115,4,2,101,119,10772,10779,97,114,111,119,59,1,10533,97,114,111,119,59,1,10534,4,5,97,109,111,112,114,10798,10803,10809,10839,10844,114,114,59,1,8703,116,104,116,59,1,8763,107,4,2,108,114,10816,10827,101,102,116,97,114,114,111,119,59,1,8617,105,103,104,116,97,114,114,111,119,59,1,8618,102,59,3,55349,56665,98,97,114,59,1,8213,4,3,99,108,116,10858,10863,10869,114,59,3,55349,56509,97,115,104,59,1,8463,114,111,107,59,1,295,4,2,98,112,10881,10887,117,108,108,59,1,8259,104,101,110,59,1,8208,4,15,97,99,101,102,103,105,106,109,110,111,112,113,115,116,117,10925,10936,10958,10977,10990,11001,11039,11045,11101,11192,11220,11226,11237,11285,11299,99,117,116,101,5,237,1,59,10934,1,237,4,3,59,105,121,10944,10946,10955,1,8291,114,99,5,238,1,59,10953,1,238,59,1,1080,4,2,99,120,10964,10968,121,59,1,1077,99,108,5,161,1,59,10975,1,161,4,2,102,114,10983,10986,59,1,8660,59,3,55349,56614,114,97,118,101,5,236,1,59,10999,1,236,4,4,59,105,110,111,11011,11013,11028,11034,1,8520,4,2,105,110,11019,11024,110,116,59,1,10764,116,59,1,8749,102,105,110,59,1,10716,116,97,59,1,8489,108,105,103,59,1,307,4,3,97,111,112,11053,11092,11096,4,3,99,103,116,11061,11065,11088,114,59,1,299,4,3,101,108,112,11073,11076,11082,59,1,8465,105,110,101,59,1,8464,97,114,116,59,1,8465,104,59,1,305,102,59,1,8887,101,100,59,1,437,4,5,59,99,102,111,116,11113,11115,11121,11136,11142,1,8712,97,114,101,59,1,8453,105,110,4,2,59,116,11129,11131,1,8734,105,101,59,1,10717,100,111,116,59,1,305,4,5,59,99,101,108,112,11154,11156,11161,11179,11186,1,8747,97,108,59,1,8890,4,2,103,114,11167,11173,101,114,115,59,1,8484,99,97,108,59,1,8890,97,114,104,107,59,1,10775,114,111,100,59,1,10812,4,4,99,103,112,116,11202,11206,11211,11216,121,59,1,1105,111,110,59,1,303,102,59,3,55349,56666,97,59,1,953,114,111,100,59,1,10812,117,101,115,116,5,191,1,59,11235,1,191,4,2,99,105,11243,11248,114,59,3,55349,56510,110,4,5,59,69,100,115,118,11261,11263,11266,11271,11282,1,8712,59,1,8953,111,116,59,1,8949,4,2,59,118,11277,11279,1,8948,59,1,8947,59,1,8712,4,2,59,105,11291,11293,1,8290,108,100,101,59,1,297,4,2,107,109,11305,11310,99,121,59,1,1110,108,5,239,1,59,11316,1,239,4,6,99,102,109,111,115,117,11332,11346,11351,11357,11363,11380,4,2,105,121,11338,11343,114,99,59,1,309,59,1,1081,114,59,3,55349,56615,97,116,104,59,1,567,112,102,59,3,55349,56667,4,2,99,101,11369,11374,114,59,3,55349,56511,114,99,121,59,1,1112,107,99,121,59,1,1108,4,8,97,99,102,103,104,106,111,115,11404,11418,11433,11438,11445,11450,11455,11461,112,112,97,4,2,59,118,11413,11415,1,954,59,1,1008,4,2,101,121,11424,11430,100,105,108,59,1,311,59,1,1082,114,59,3,55349,56616,114,101,101,110,59,1,312,99,121,59,1,1093,99,121,59,1,1116,112,102,59,3,55349,56668,99,114,59,3,55349,56512,4,23,65,66,69,72,97,98,99,100,101,102,103,104,106,108,109,110,111,112,114,115,116,117,118,11515,11538,11544,11555,11560,11721,11780,11818,11868,12136,12160,12171,12203,12208,12246,12275,12327,12509,12523,12569,12641,12732,12752,4,3,97,114,116,11523,11528,11532,114,114,59,1,8666,114,59,1,8656,97,105,108,59,1,10523,97,114,114,59,1,10510,4,2,59,103,11550,11552,1,8806,59,1,10891,97,114,59,1,10594,4,9,99,101,103,109,110,112,113,114,116,11580,11586,11594,11600,11606,11624,11627,11636,11694,117,116,101,59,1,314,109,112,116,121,118,59,1,10676,114,97,110,59,1,8466,98,100,97,59,1,955,103,4,3,59,100,108,11615,11617,11620,1,10216,59,1,10641,101,59,1,10216,59,1,10885,117,111,5,171,1,59,11634,1,171,114,4,8,59,98,102,104,108,112,115,116,11655,11657,11669,11673,11677,11681,11685,11690,1,8592,4,2,59,102,11663,11665,1,8676,115,59,1,10527,115,59,1,10525,107,59,1,8617,112,59,1,8619,108,59,1,10553,105,109,59,1,10611,108,59,1,8610,4,3,59,97,101,11702,11704,11709,1,10923,105,108,59,1,10521,4,2,59,115,11715,11717,1,10925,59,3,10925,65024,4,3,97,98,114,11729,11734,11739,114,114,59,1,10508,114,107,59,1,10098,4,2,97,107,11745,11758,99,4,2,101,107,11752,11755,59,1,123,59,1,91,4,2,101,115,11764,11767,59,1,10635,108,4,2,100,117,11774,11777,59,1,10639,59,1,10637,4,4,97,101,117,121,11790,11796,11811,11815,114,111,110,59,1,318,4,2,100,105,11802,11807,105,108,59,1,316,108,59,1,8968,98,59,1,123,59,1,1083,4,4,99,113,114,115,11828,11832,11845,11864,97,59,1,10550,117,111,4,2,59,114,11840,11842,1,8220,59,1,8222,4,2,100,117,11851,11857,104,97,114,59,1,10599,115,104,97,114,59,1,10571,104,59,1,8626,4,5,59,102,103,113,115,11880,11882,12008,12011,12031,1,8804,116,4,5,97,104,108,114,116,11895,11913,11935,11947,11996,114,114,111,119,4,2,59,116,11905,11907,1,8592,97,105,108,59,1,8610,97,114,112,111,111,110,4,2,100,117,11925,11931,111,119,110,59,1,8637,112,59,1,8636,101,102,116,97,114,114,111,119,115,59,1,8647,105,103,104,116,4,3,97,104,115,11959,11974,11984,114,114,111,119,4,2,59,115,11969,11971,1,8596,59,1,8646,97,114,112,111,111,110,115,59,1,8651,113,117,105,103,97,114,114,111,119,59,1,8621,104,114,101,101,116,105,109,101,115,59,1,8907,59,1,8922,4,3,59,113,115,12019,12021,12024,1,8804,59,1,8806,108,97,110,116,59,1,10877,4,5,59,99,100,103,115,12043,12045,12049,12070,12083,1,10877,99,59,1,10920,111,116,4,2,59,111,12057,12059,1,10879,4,2,59,114,12065,12067,1,10881,59,1,10883,4,2,59,101,12076,12079,3,8922,65024,115,59,1,10899,4,5,97,100,101,103,115,12095,12103,12108,12126,12131,112,112,114,111,120,59,1,10885,111,116,59,1,8918,113,4,2,103,113,12115,12120,116,114,59,1,8922,103,116,114,59,1,10891,116,114,59,1,8822,105,109,59,1,8818,4,3,105,108,114,12144,12150,12156,115,104,116,59,1,10620,111,111,114,59,1,8970,59,3,55349,56617,4,2,59,69,12166,12168,1,8822,59,1,10897,4,2,97,98,12177,12198,114,4,2,100,117,12184,12187,59,1,8637,4,2,59,108,12193,12195,1,8636,59,1,10602,108,107,59,1,9604,99,121,59,1,1113,4,5,59,97,99,104,116,12220,12222,12227,12235,12241,1,8810,114,114,59,1,8647,111,114,110,101,114,59,1,8990,97,114,100,59,1,10603,114,105,59,1,9722,4,2,105,111,12252,12258,100,111,116,59,1,320,117,115,116,4,2,59,97,12267,12269,1,9136,99,104,101,59,1,9136,4,4,69,97,101,115,12285,12288,12303,12322,59,1,8808,112,4,2,59,112,12295,12297,1,10889,114,111,120,59,1,10889,4,2,59,113,12309,12311,1,10887,4,2,59,113,12317,12319,1,10887,59,1,8808,105,109,59,1,8934,4,8,97,98,110,111,112,116,119,122,12345,12359,12364,12421,12446,12467,12474,12490,4,2,110,114,12351,12355,103,59,1,10220,114,59,1,8701,114,107,59,1,10214,103,4,3,108,109,114,12373,12401,12409,101,102,116,4,2,97,114,12382,12389,114,114,111,119,59,1,10229,105,103,104,116,97,114,114,111,119,59,1,10231,97,112,115,116,111,59,1,10236,105,103,104,116,97,114,114,111,119,59,1,10230,112,97,114,114,111,119,4,2,108,114,12433,12439,101,102,116,59,1,8619,105,103,104,116,59,1,8620,4,3,97,102,108,12454,12458,12462,114,59,1,10629,59,3,55349,56669,117,115,59,1,10797,105,109,101,115,59,1,10804,4,2,97,98,12480,12485,115,116,59,1,8727,97,114,59,1,95,4,3,59,101,102,12498,12500,12506,1,9674,110,103,101,59,1,9674,59,1,10731,97,114,4,2,59,108,12517,12519,1,40,116,59,1,10643,4,5,97,99,104,109,116,12535,12540,12548,12561,12564,114,114,59,1,8646,111,114,110,101,114,59,1,8991,97,114,4,2,59,100,12556,12558,1,8651,59,1,10605,59,1,8206,114,105,59,1,8895,4,6,97,99,104,105,113,116,12583,12589,12594,12597,12614,12635,113,117,111,59,1,8249,114,59,3,55349,56513,59,1,8624,109,4,3,59,101,103,12606,12608,12611,1,8818,59,1,10893,59,1,10895,4,2,98,117,12620,12623,59,1,91,111,4,2,59,114,12630,12632,1,8216,59,1,8218,114,111,107,59,1,322,5,60,8,59,99,100,104,105,108,113,114,12660,12662,12675,12680,12686,12692,12698,12705,1,60,4,2,99,105,12668,12671,59,1,10918,114,59,1,10873,111,116,59,1,8918,114,101,101,59,1,8907,109,101,115,59,1,8905,97,114,114,59,1,10614,117,101,115,116,59,1,10875,4,2,80,105,12711,12716,97,114,59,1,10646,4,3,59,101,102,12724,12726,12729,1,9667,59,1,8884,59,1,9666,114,4,2,100,117,12739,12746,115,104,97,114,59,1,10570,104,97,114,59,1,10598,4,2,101,110,12758,12768,114,116,110,101,113,113,59,3,8808,65024,69,59,3,8808,65024,4,14,68,97,99,100,101,102,104,105,108,110,111,112,115,117,12803,12809,12893,12908,12914,12928,12933,12937,13011,13025,13032,13049,13052,13069,68,111,116,59,1,8762,4,4,99,108,112,114,12819,12827,12849,12887,114,5,175,1,59,12825,1,175,4,2,101,116,12833,12836,59,1,9794,4,2,59,101,12842,12844,1,10016,115,101,59,1,10016,4,2,59,115,12855,12857,1,8614,116,111,4,4,59,100,108,117,12869,12871,12877,12883,1,8614,111,119,110,59,1,8615,101,102,116,59,1,8612,112,59,1,8613,107,101,114,59,1,9646,4,2,111,121,12899,12905,109,109,97,59,1,10793,59,1,1084,97,115,104,59,1,8212,97,115,117,114,101,100,97,110,103,108,101,59,1,8737,114,59,3,55349,56618,111,59,1,8487,4,3,99,100,110,12945,12954,12985,114,111,5,181,1,59,12952,1,181,4,4,59,97,99,100,12964,12966,12971,12976,1,8739,115,116,59,1,42,105,114,59,1,10992,111,116,5,183,1,59,12983,1,183,117,115,4,3,59,98,100,12995,12997,13e3,1,8722,59,1,8863,4,2,59,117,13006,13008,1,8760,59,1,10794,4,2,99,100,13017,13021,112,59,1,10971,114,59,1,8230,112,108,117,115,59,1,8723,4,2,100,112,13038,13044,101,108,115,59,1,8871,102,59,3,55349,56670,59,1,8723,4,2,99,116,13058,13063,114,59,3,55349,56514,112,111,115,59,1,8766,4,3,59,108,109,13077,13079,13087,1,956,116,105,109,97,112,59,1,8888,97,112,59,1,8888,4,24,71,76,82,86,97,98,99,100,101,102,103,104,105,106,108,109,111,112,114,115,116,117,118,119,13142,13165,13217,13229,13247,13330,13359,13414,13420,13508,13513,13579,13602,13626,13631,13762,13767,13855,13936,13995,14214,14285,14312,14432,4,2,103,116,13148,13152,59,3,8921,824,4,2,59,118,13158,13161,3,8811,8402,59,3,8811,824,4,3,101,108,116,13173,13200,13204,102,116,4,2,97,114,13181,13188,114,114,111,119,59,1,8653,105,103,104,116,97,114,114,111,119,59,1,8654,59,3,8920,824,4,2,59,118,13210,13213,3,8810,8402,59,3,8810,824,105,103,104,116,97,114,114,111,119,59,1,8655,4,2,68,100,13235,13241,97,115,104,59,1,8879,97,115,104,59,1,8878,4,5,98,99,110,112,116,13259,13264,13270,13275,13308,108,97,59,1,8711,117,116,101,59,1,324,103,59,3,8736,8402,4,5,59,69,105,111,112,13287,13289,13293,13298,13302,1,8777,59,3,10864,824,100,59,3,8779,824,115,59,1,329,114,111,120,59,1,8777,117,114,4,2,59,97,13316,13318,1,9838,108,4,2,59,115,13325,13327,1,9838,59,1,8469,4,2,115,117,13336,13344,112,5,160,1,59,13342,1,160,109,112,4,2,59,101,13352,13355,3,8782,824,59,3,8783,824,4,5,97,101,111,117,121,13371,13385,13391,13407,13411,4,2,112,114,13377,13380,59,1,10819,111,110,59,1,328,100,105,108,59,1,326,110,103,4,2,59,100,13399,13401,1,8775,111,116,59,3,10861,824,112,59,1,10818,59,1,1085,97,115,104,59,1,8211,4,7,59,65,97,100,113,115,120,13436,13438,13443,13466,13472,13478,13494,1,8800,114,114,59,1,8663,114,4,2,104,114,13450,13454,107,59,1,10532,4,2,59,111,13460,13462,1,8599,119,59,1,8599,111,116,59,3,8784,824,117,105,118,59,1,8802,4,2,101,105,13484,13489,97,114,59,1,10536,109,59,3,8770,824,105,115,116,4,2,59,115,13503,13505,1,8708,59,1,8708,114,59,3,55349,56619,4,4,69,101,115,116,13523,13527,13563,13568,59,3,8807,824,4,3,59,113,115,13535,13537,13559,1,8817,4,3,59,113,115,13545,13547,13551,1,8817,59,3,8807,824,108,97,110,116,59,3,10878,824,59,3,10878,824,105,109,59,1,8821,4,2,59,114,13574,13576,1,8815,59,1,8815,4,3,65,97,112,13587,13592,13597,114,114,59,1,8654,114,114,59,1,8622,97,114,59,1,10994,4,3,59,115,118,13610,13612,13623,1,8715,4,2,59,100,13618,13620,1,8956,59,1,8954,59,1,8715,99,121,59,1,1114,4,7,65,69,97,100,101,115,116,13647,13652,13656,13661,13665,13737,13742,114,114,59,1,8653,59,3,8806,824,114,114,59,1,8602,114,59,1,8229,4,4,59,102,113,115,13675,13677,13703,13725,1,8816,116,4,2,97,114,13684,13691,114,114,111,119,59,1,8602,105,103,104,116,97,114,114,111,119,59,1,8622,4,3,59,113,115,13711,13713,13717,1,8816,59,3,8806,824,108,97,110,116,59,3,10877,824,4,2,59,115,13731,13734,3,10877,824,59,1,8814,105,109,59,1,8820,4,2,59,114,13748,13750,1,8814,105,4,2,59,101,13757,13759,1,8938,59,1,8940,105,100,59,1,8740,4,2,112,116,13773,13778,102,59,3,55349,56671,5,172,3,59,105,110,13787,13789,13829,1,172,110,4,4,59,69,100,118,13800,13802,13806,13812,1,8713,59,3,8953,824,111,116,59,3,8949,824,4,3,97,98,99,13820,13823,13826,59,1,8713,59,1,8951,59,1,8950,105,4,2,59,118,13836,13838,1,8716,4,3,97,98,99,13846,13849,13852,59,1,8716,59,1,8958,59,1,8957,4,3,97,111,114,13863,13892,13899,114,4,4,59,97,115,116,13874,13876,13883,13888,1,8742,108,108,101,108,59,1,8742,108,59,3,11005,8421,59,3,8706,824,108,105,110,116,59,1,10772,4,3,59,99,101,13907,13909,13914,1,8832,117,101,59,1,8928,4,2,59,99,13920,13923,3,10927,824,4,2,59,101,13929,13931,1,8832,113,59,3,10927,824,4,4,65,97,105,116,13946,13951,13971,13982,114,114,59,1,8655,114,114,4,3,59,99,119,13961,13963,13967,1,8603,59,3,10547,824,59,3,8605,824,103,104,116,97,114,114,111,119,59,1,8603,114,105,4,2,59,101,13990,13992,1,8939,59,1,8941,4,7,99,104,105,109,112,113,117,14011,14036,14060,14080,14085,14090,14106,4,4,59,99,101,114,14021,14023,14028,14032,1,8833,117,101,59,1,8929,59,3,10928,824,59,3,55349,56515,111,114,116,4,2,109,112,14045,14050,105,100,59,1,8740,97,114,97,108,108,101,108,59,1,8742,109,4,2,59,101,14067,14069,1,8769,4,2,59,113,14075,14077,1,8772,59,1,8772,105,100,59,1,8740,97,114,59,1,8742,115,117,4,2,98,112,14098,14102,101,59,1,8930,101,59,1,8931,4,3,98,99,112,14114,14157,14171,4,4,59,69,101,115,14124,14126,14130,14133,1,8836,59,3,10949,824,59,1,8840,101,116,4,2,59,101,14141,14144,3,8834,8402,113,4,2,59,113,14151,14153,1,8840,59,3,10949,824,99,4,2,59,101,14164,14166,1,8833,113,59,3,10928,824,4,4,59,69,101,115,14181,14183,14187,14190,1,8837,59,3,10950,824,59,1,8841,101,116,4,2,59,101,14198,14201,3,8835,8402,113,4,2,59,113,14208,14210,1,8841,59,3,10950,824,4,4,103,105,108,114,14224,14228,14238,14242,108,59,1,8825,108,100,101,5,241,1,59,14236,1,241,103,59,1,8824,105,97,110,103,108,101,4,2,108,114,14254,14269,101,102,116,4,2,59,101,14263,14265,1,8938,113,59,1,8940,105,103,104,116,4,2,59,101,14279,14281,1,8939,113,59,1,8941,4,2,59,109,14291,14293,1,957,4,3,59,101,115,14301,14303,14308,1,35,114,111,59,1,8470,112,59,1,8199,4,9,68,72,97,100,103,105,108,114,115,14332,14338,14344,14349,14355,14369,14376,14408,14426,97,115,104,59,1,8877,97,114,114,59,1,10500,112,59,3,8781,8402,97,115,104,59,1,8876,4,2,101,116,14361,14365,59,3,8805,8402,59,3,62,8402,110,102,105,110,59,1,10718,4,3,65,101,116,14384,14389,14393,114,114,59,1,10498,59,3,8804,8402,4,2,59,114,14399,14402,3,60,8402,105,101,59,3,8884,8402,4,2,65,116,14414,14419,114,114,59,1,10499,114,105,101,59,3,8885,8402,105,109,59,3,8764,8402,4,3,65,97,110,14440,14445,14468,114,114,59,1,8662,114,4,2,104,114,14452,14456,107,59,1,10531,4,2,59,111,14462,14464,1,8598,119,59,1,8598,101,97,114,59,1,10535,4,18,83,97,99,100,101,102,103,104,105,108,109,111,112,114,115,116,117,118,14512,14515,14535,14560,14597,14603,14618,14643,14657,14662,14701,14741,14747,14769,14851,14877,14907,14916,59,1,9416,4,2,99,115,14521,14531,117,116,101,5,243,1,59,14529,1,243,116,59,1,8859,4,2,105,121,14541,14557,114,4,2,59,99,14548,14550,1,8858,5,244,1,59,14555,1,244,59,1,1086,4,5,97,98,105,111,115,14572,14577,14583,14587,14591,115,104,59,1,8861,108,97,99,59,1,337,118,59,1,10808,116,59,1,8857,111,108,100,59,1,10684,108,105,103,59,1,339,4,2,99,114,14609,14614,105,114,59,1,10687,59,3,55349,56620,4,3,111,114,116,14626,14630,14640,110,59,1,731,97,118,101,5,242,1,59,14638,1,242,59,1,10689,4,2,98,109,14649,14654,97,114,59,1,10677,59,1,937,110,116,59,1,8750,4,4,97,99,105,116,14672,14677,14693,14698,114,114,59,1,8634,4,2,105,114,14683,14687,114,59,1,10686,111,115,115,59,1,10683,110,101,59,1,8254,59,1,10688,4,3,97,101,105,14709,14714,14719,99,114,59,1,333,103,97,59,1,969,4,3,99,100,110,14727,14733,14736,114,111,110,59,1,959,59,1,10678,117,115,59,1,8854,112,102,59,3,55349,56672,4,3,97,101,108,14755,14759,14764,114,59,1,10679,114,112,59,1,10681,117,115,59,1,8853,4,7,59,97,100,105,111,115,118,14785,14787,14792,14831,14837,14841,14848,1,8744,114,114,59,1,8635,4,4,59,101,102,109,14802,14804,14817,14824,1,10845,114,4,2,59,111,14811,14813,1,8500,102,59,1,8500,5,170,1,59,14822,1,170,5,186,1,59,14829,1,186,103,111,102,59,1,8886,114,59,1,10838,108,111,112,101,59,1,10839,59,1,10843,4,3,99,108,111,14859,14863,14873,114,59,1,8500,97,115,104,5,248,1,59,14871,1,248,108,59,1,8856,105,4,2,108,109,14884,14893,100,101,5,245,1,59,14891,1,245,101,115,4,2,59,97,14901,14903,1,8855,115,59,1,10806,109,108,5,246,1,59,14914,1,246,98,97,114,59,1,9021,4,12,97,99,101,102,104,105,108,109,111,114,115,117,14948,14992,14996,15033,15038,15068,15090,15189,15192,15222,15427,15441,114,4,4,59,97,115,116,14959,14961,14976,14989,1,8741,5,182,2,59,108,14968,14970,1,182,108,101,108,59,1,8741,4,2,105,108,14982,14986,109,59,1,10995,59,1,11005,59,1,8706,121,59,1,1087,114,4,5,99,105,109,112,116,15009,15014,15019,15024,15027,110,116,59,1,37,111,100,59,1,46,105,108,59,1,8240,59,1,8869,101,110,107,59,1,8241,114,59,3,55349,56621,4,3,105,109,111,15046,15057,15063,4,2,59,118,15052,15054,1,966,59,1,981,109,97,116,59,1,8499,110,101,59,1,9742,4,3,59,116,118,15076,15078,15087,1,960,99,104,102,111,114,107,59,1,8916,59,1,982,4,2,97,117,15096,15119,110,4,2,99,107,15103,15115,107,4,2,59,104,15110,15112,1,8463,59,1,8462,118,59,1,8463,115,4,9,59,97,98,99,100,101,109,115,116,15140,15142,15148,15151,15156,15168,15171,15179,15184,1,43,99,105,114,59,1,10787,59,1,8862,105,114,59,1,10786,4,2,111,117,15162,15165,59,1,8724,59,1,10789,59,1,10866,110,5,177,1,59,15177,1,177,105,109,59,1,10790,119,111,59,1,10791,59,1,177,4,3,105,112,117,15200,15208,15213,110,116,105,110,116,59,1,10773,102,59,3,55349,56673,110,100,5,163,1,59,15220,1,163,4,10,59,69,97,99,101,105,110,111,115,117,15244,15246,15249,15253,15258,15334,15347,15367,15416,15421,1,8826,59,1,10931,112,59,1,10935,117,101,59,1,8828,4,2,59,99,15264,15266,1,10927,4,6,59,97,99,101,110,115,15280,15282,15290,15299,15303,15329,1,8826,112,112,114,111,120,59,1,10935,117,114,108,121,101,113,59,1,8828,113,59,1,10927,4,3,97,101,115,15311,15319,15324,112,112,114,111,120,59,1,10937,113,113,59,1,10933,105,109,59,1,8936,105,109,59,1,8830,109,101,4,2,59,115,15342,15344,1,8242,59,1,8473,4,3,69,97,115,15355,15358,15362,59,1,10933,112,59,1,10937,105,109,59,1,8936,4,3,100,102,112,15375,15378,15404,59,1,8719,4,3,97,108,115,15386,15392,15398,108,97,114,59,1,9006,105,110,101,59,1,8978,117,114,102,59,1,8979,4,2,59,116,15410,15412,1,8733,111,59,1,8733,105,109,59,1,8830,114,101,108,59,1,8880,4,2,99,105,15433,15438,114,59,3,55349,56517,59,1,968,110,99,115,112,59,1,8200,4,6,102,105,111,112,115,117,15462,15467,15472,15478,15485,15491,114,59,3,55349,56622,110,116,59,1,10764,112,102,59,3,55349,56674,114,105,109,101,59,1,8279,99,114,59,3,55349,56518,4,3,97,101,111,15499,15520,15534,116,4,2,101,105,15506,15515,114,110,105,111,110,115,59,1,8461,110,116,59,1,10774,115,116,4,2,59,101,15528,15530,1,63,113,59,1,8799,116,5,34,1,59,15540,1,34,4,21,65,66,72,97,98,99,100,101,102,104,105,108,109,110,111,112,114,115,116,117,120,15586,15609,15615,15620,15796,15855,15893,15931,15977,16001,16039,16183,16204,16222,16228,16285,16312,16318,16363,16408,16416,4,3,97,114,116,15594,15599,15603,114,114,59,1,8667,114,59,1,8658,97,105,108,59,1,10524,97,114,114,59,1,10511,97,114,59,1,10596,4,7,99,100,101,110,113,114,116,15636,15651,15656,15664,15687,15696,15770,4,2,101,117,15642,15646,59,3,8765,817,116,101,59,1,341,105,99,59,1,8730,109,112,116,121,118,59,1,10675,103,4,4,59,100,101,108,15675,15677,15680,15683,1,10217,59,1,10642,59,1,10661,101,59,1,10217,117,111,5,187,1,59,15694,1,187,114,4,11,59,97,98,99,102,104,108,112,115,116,119,15721,15723,15727,15739,15742,15746,15750,15754,15758,15763,15767,1,8594,112,59,1,10613,4,2,59,102,15733,15735,1,8677,115,59,1,10528,59,1,10547,115,59,1,10526,107,59,1,8618,112,59,1,8620,108,59,1,10565,105,109,59,1,10612,108,59,1,8611,59,1,8605,4,2,97,105,15776,15781,105,108,59,1,10522,111,4,2,59,110,15788,15790,1,8758,97,108,115,59,1,8474,4,3,97,98,114,15804,15809,15814,114,114,59,1,10509,114,107,59,1,10099,4,2,97,107,15820,15833,99,4,2,101,107,15827,15830,59,1,125,59,1,93,4,2,101,115,15839,15842,59,1,10636,108,4,2,100,117,15849,15852,59,1,10638,59,1,10640,4,4,97,101,117,121,15865,15871,15886,15890,114,111,110,59,1,345,4,2,100,105,15877,15882,105,108,59,1,343,108,59,1,8969,98,59,1,125,59,1,1088,4,4,99,108,113,115,15903,15907,15914,15927,97,59,1,10551,100,104,97,114,59,1,10601,117,111,4,2,59,114,15922,15924,1,8221,59,1,8221,104,59,1,8627,4,3,97,99,103,15939,15966,15970,108,4,4,59,105,112,115,15950,15952,15957,15963,1,8476,110,101,59,1,8475,97,114,116,59,1,8476,59,1,8477,116,59,1,9645,5,174,1,59,15975,1,174,4,3,105,108,114,15985,15991,15997,115,104,116,59,1,10621,111,111,114,59,1,8971,59,3,55349,56623,4,2,97,111,16007,16028,114,4,2,100,117,16014,16017,59,1,8641,4,2,59,108,16023,16025,1,8640,59,1,10604,4,2,59,118,16034,16036,1,961,59,1,1009,4,3,103,110,115,16047,16167,16171,104,116,4,6,97,104,108,114,115,116,16063,16081,16103,16130,16143,16155,114,114,111,119,4,2,59,116,16073,16075,1,8594,97,105,108,59,1,8611,97,114,112,111,111,110,4,2,100,117,16093,16099,111,119,110,59,1,8641,112,59,1,8640,101,102,116,4,2,97,104,16112,16120,114,114,111,119,115,59,1,8644,97,114,112,111,111,110,115,59,1,8652,105,103,104,116,97,114,114,111,119,115,59,1,8649,113,117,105,103,97,114,114,111,119,59,1,8605,104,114,101,101,116,105,109,101,115,59,1,8908,103,59,1,730,105,110,103,100,111,116,115,101,113,59,1,8787,4,3,97,104,109,16191,16196,16201,114,114,59,1,8644,97,114,59,1,8652,59,1,8207,111,117,115,116,4,2,59,97,16214,16216,1,9137,99,104,101,59,1,9137,109,105,100,59,1,10990,4,4,97,98,112,116,16238,16252,16257,16278,4,2,110,114,16244,16248,103,59,1,10221,114,59,1,8702,114,107,59,1,10215,4,3,97,102,108,16265,16269,16273,114,59,1,10630,59,3,55349,56675,117,115,59,1,10798,105,109,101,115,59,1,10805,4,2,97,112,16291,16304,114,4,2,59,103,16298,16300,1,41,116,59,1,10644,111,108,105,110,116,59,1,10770,97,114,114,59,1,8649,4,4,97,99,104,113,16328,16334,16339,16342,113,117,111,59,1,8250,114,59,3,55349,56519,59,1,8625,4,2,98,117,16348,16351,59,1,93,111,4,2,59,114,16358,16360,1,8217,59,1,8217,4,3,104,105,114,16371,16377,16383,114,101,101,59,1,8908,109,101,115,59,1,8906,105,4,4,59,101,102,108,16394,16396,16399,16402,1,9657,59,1,8885,59,1,9656,116,114,105,59,1,10702,108,117,104,97,114,59,1,10600,59,1,8478,4,19,97,98,99,100,101,102,104,105,108,109,111,112,113,114,115,116,117,119,122,16459,16466,16472,16572,16590,16672,16687,16746,16844,16850,16924,16963,16988,17115,17121,17154,17206,17614,17656,99,117,116,101,59,1,347,113,117,111,59,1,8218,4,10,59,69,97,99,101,105,110,112,115,121,16494,16496,16499,16513,16518,16531,16536,16556,16564,16569,1,8827,59,1,10932,4,2,112,114,16505,16508,59,1,10936,111,110,59,1,353,117,101,59,1,8829,4,2,59,100,16524,16526,1,10928,105,108,59,1,351,114,99,59,1,349,4,3,69,97,115,16544,16547,16551,59,1,10934,112,59,1,10938,105,109,59,1,8937,111,108,105,110,116,59,1,10771,105,109,59,1,8831,59,1,1089,111,116,4,3,59,98,101,16582,16584,16587,1,8901,59,1,8865,59,1,10854,4,7,65,97,99,109,115,116,120,16606,16611,16634,16642,16646,16652,16668,114,114,59,1,8664,114,4,2,104,114,16618,16622,107,59,1,10533,4,2,59,111,16628,16630,1,8600,119,59,1,8600,116,5,167,1,59,16640,1,167,105,59,1,59,119,97,114,59,1,10537,109,4,2,105,110,16659,16665,110,117,115,59,1,8726,59,1,8726,116,59,1,10038,114,4,2,59,111,16679,16682,3,55349,56624,119,110,59,1,8994,4,4,97,99,111,121,16697,16702,16716,16739,114,112,59,1,9839,4,2,104,121,16708,16713,99,121,59,1,1097,59,1,1096,114,116,4,2,109,112,16724,16729,105,100,59,1,8739,97,114,97,108,108,101,108,59,1,8741,5,173,1,59,16744,1,173,4,2,103,109,16752,16770,109,97,4,3,59,102,118,16762,16764,16767,1,963,59,1,962,59,1,962,4,8,59,100,101,103,108,110,112,114,16788,16790,16795,16806,16817,16828,16832,16838,1,8764,111,116,59,1,10858,4,2,59,113,16801,16803,1,8771,59,1,8771,4,2,59,69,16812,16814,1,10910,59,1,10912,4,2,59,69,16823,16825,1,10909,59,1,10911,101,59,1,8774,108,117,115,59,1,10788,97,114,114,59,1,10610,97,114,114,59,1,8592,4,4,97,101,105,116,16860,16883,16891,16904,4,2,108,115,16866,16878,108,115,101,116,109,105,110,117,115,59,1,8726,104,112,59,1,10803,112,97,114,115,108,59,1,10724,4,2,100,108,16897,16900,59,1,8739,101,59,1,8995,4,2,59,101,16910,16912,1,10922,4,2,59,115,16918,16920,1,10924,59,3,10924,65024,4,3,102,108,112,16932,16938,16958,116,99,121,59,1,1100,4,2,59,98,16944,16946,1,47,4,2,59,97,16952,16954,1,10692,114,59,1,9023,102,59,3,55349,56676,97,4,2,100,114,16970,16985,101,115,4,2,59,117,16978,16980,1,9824,105,116,59,1,9824,59,1,8741,4,3,99,115,117,16996,17028,17089,4,2,97,117,17002,17015,112,4,2,59,115,17009,17011,1,8851,59,3,8851,65024,112,4,2,59,115,17022,17024,1,8852,59,3,8852,65024,117,4,2,98,112,17035,17062,4,3,59,101,115,17043,17045,17048,1,8847,59,1,8849,101,116,4,2,59,101,17056,17058,1,8847,113,59,1,8849,4,3,59,101,115,17070,17072,17075,1,8848,59,1,8850,101,116,4,2,59,101,17083,17085,1,8848,113,59,1,8850,4,3,59,97,102,17097,17099,17112,1,9633,114,4,2,101,102,17106,17109,59,1,9633,59,1,9642,59,1,9642,97,114,114,59,1,8594,4,4,99,101,109,116,17131,17136,17142,17148,114,59,3,55349,56520,116,109,110,59,1,8726,105,108,101,59,1,8995,97,114,102,59,1,8902,4,2,97,114,17160,17172,114,4,2,59,102,17167,17169,1,9734,59,1,9733,4,2,97,110,17178,17202,105,103,104,116,4,2,101,112,17188,17197,112,115,105,108,111,110,59,1,1013,104,105,59,1,981,115,59,1,175,4,5,98,99,109,110,112,17218,17351,17420,17423,17427,4,9,59,69,100,101,109,110,112,114,115,17238,17240,17243,17248,17261,17267,17279,17285,17291,1,8834,59,1,10949,111,116,59,1,10941,4,2,59,100,17254,17256,1,8838,111,116,59,1,10947,117,108,116,59,1,10945,4,2,69,101,17273,17276,59,1,10955,59,1,8842,108,117,115,59,1,10943,97,114,114,59,1,10617,4,3,101,105,117,17299,17335,17339,116,4,3,59,101,110,17308,17310,17322,1,8834,113,4,2,59,113,17317,17319,1,8838,59,1,10949,101,113,4,2,59,113,17330,17332,1,8842,59,1,10955,109,59,1,10951,4,2,98,112,17345,17348,59,1,10965,59,1,10963,99,4,6,59,97,99,101,110,115,17366,17368,17376,17385,17389,17415,1,8827,112,112,114,111,120,59,1,10936,117,114,108,121,101,113,59,1,8829,113,59,1,10928,4,3,97,101,115,17397,17405,17410,112,112,114,111,120,59,1,10938,113,113,59,1,10934,105,109,59,1,8937,105,109,59,1,8831,59,1,8721,103,59,1,9834,4,13,49,50,51,59,69,100,101,104,108,109,110,112,115,17455,17462,17469,17476,17478,17481,17496,17509,17524,17530,17536,17548,17554,5,185,1,59,17460,1,185,5,178,1,59,17467,1,178,5,179,1,59,17474,1,179,1,8835,59,1,10950,4,2,111,115,17487,17491,116,59,1,10942,117,98,59,1,10968,4,2,59,100,17502,17504,1,8839,111,116,59,1,10948,115,4,2,111,117,17516,17520,108,59,1,10185,98,59,1,10967,97,114,114,59,1,10619,117,108,116,59,1,10946,4,2,69,101,17542,17545,59,1,10956,59,1,8843,108,117,115,59,1,10944,4,3,101,105,117,17562,17598,17602,116,4,3,59,101,110,17571,17573,17585,1,8835,113,4,2,59,113,17580,17582,1,8839,59,1,10950,101,113,4,2,59,113,17593,17595,1,8843,59,1,10956,109,59,1,10952,4,2,98,112,17608,17611,59,1,10964,59,1,10966,4,3,65,97,110,17622,17627,17650,114,114,59,1,8665,114,4,2,104,114,17634,17638,107,59,1,10534,4,2,59,111,17644,17646,1,8601,119,59,1,8601,119,97,114,59,1,10538,108,105,103,5,223,1,59,17664,1,223,4,13,97,98,99,100,101,102,104,105,111,112,114,115,119,17694,17709,17714,17737,17742,17749,17754,17860,17905,17957,17964,18090,18122,4,2,114,117,17700,17706,103,101,116,59,1,8982,59,1,964,114,107,59,1,9140,4,3,97,101,121,17722,17728,17734,114,111,110,59,1,357,100,105,108,59,1,355,59,1,1090,111,116,59,1,8411,108,114,101,99,59,1,8981,114,59,3,55349,56625,4,4,101,105,107,111,17764,17805,17836,17851,4,2,114,116,17770,17786,101,4,2,52,102,17777,17780,59,1,8756,111,114,101,59,1,8756,97,4,3,59,115,118,17795,17797,17802,1,952,121,109,59,1,977,59,1,977,4,2,99,110,17811,17831,107,4,2,97,115,17818,17826,112,112,114,111,120,59,1,8776,105,109,59,1,8764,115,112,59,1,8201,4,2,97,115,17842,17846,112,59,1,8776,105,109,59,1,8764,114,110,5,254,1,59,17858,1,254,4,3,108,109,110,17868,17873,17901,100,101,59,1,732,101,115,5,215,3,59,98,100,17884,17886,17898,1,215,4,2,59,97,17892,17894,1,8864,114,59,1,10801,59,1,10800,116,59,1,8749,4,3,101,112,115,17913,17917,17953,97,59,1,10536,4,4,59,98,99,102,17927,17929,17934,17939,1,8868,111,116,59,1,9014,105,114,59,1,10993,4,2,59,111,17945,17948,3,55349,56677,114,107,59,1,10970,97,59,1,10537,114,105,109,101,59,1,8244,4,3,97,105,112,17972,17977,18082,100,101,59,1,8482,4,7,97,100,101,109,112,115,116,17993,18051,18056,18059,18066,18072,18076,110,103,108,101,4,5,59,100,108,113,114,18009,18011,18017,18032,18035,1,9653,111,119,110,59,1,9663,101,102,116,4,2,59,101,18026,18028,1,9667,113,59,1,8884,59,1,8796,105,103,104,116,4,2,59,101,18045,18047,1,9657,113,59,1,8885,111,116,59,1,9708,59,1,8796,105,110,117,115,59,1,10810,108,117,115,59,1,10809,98,59,1,10701,105,109,101,59,1,10811,101,122,105,117,109,59,1,9186,4,3,99,104,116,18098,18111,18116,4,2,114,121,18104,18108,59,3,55349,56521,59,1,1094,99,121,59,1,1115,114,111,107,59,1,359,4,2,105,111,18128,18133,120,116,59,1,8812,104,101,97,100,4,2,108,114,18143,18154,101,102,116,97,114,114,111,119,59,1,8606,105,103,104,116,97,114,114,111,119,59,1,8608,4,18,65,72,97,98,99,100,102,103,104,108,109,111,112,114,115,116,117,119,18204,18209,18214,18234,18250,18268,18292,18308,18319,18343,18379,18397,18413,18504,18547,18553,18584,18603,114,114,59,1,8657,97,114,59,1,10595,4,2,99,114,18220,18230,117,116,101,5,250,1,59,18228,1,250,114,59,1,8593,114,4,2,99,101,18241,18245,121,59,1,1118,118,101,59,1,365,4,2,105,121,18256,18265,114,99,5,251,1,59,18263,1,251,59,1,1091,4,3,97,98,104,18276,18281,18287,114,114,59,1,8645,108,97,99,59,1,369,97,114,59,1,10606,4,2,105,114,18298,18304,115,104,116,59,1,10622,59,3,55349,56626,114,97,118,101,5,249,1,59,18317,1,249,4,2,97,98,18325,18338,114,4,2,108,114,18332,18335,59,1,8639,59,1,8638,108,107,59,1,9600,4,2,99,116,18349,18374,4,2,111,114,18355,18369,114,110,4,2,59,101,18363,18365,1,8988,114,59,1,8988,111,112,59,1,8975,114,105,59,1,9720,4,2,97,108,18385,18390,99,114,59,1,363,5,168,1,59,18395,1,168,4,2,103,112,18403,18408,111,110,59,1,371,102,59,3,55349,56678,4,6,97,100,104,108,115,117,18427,18434,18445,18470,18475,18494,114,114,111,119,59,1,8593,111,119,110,97,114,114,111,119,59,1,8597,97,114,112,111,111,110,4,2,108,114,18457,18463,101,102,116,59,1,8639,105,103,104,116,59,1,8638,117,115,59,1,8846,105,4,3,59,104,108,18484,18486,18489,1,965,59,1,978,111,110,59,1,965,112,97,114,114,111,119,115,59,1,8648,4,3,99,105,116,18512,18537,18542,4,2,111,114,18518,18532,114,110,4,2,59,101,18526,18528,1,8989,114,59,1,8989,111,112,59,1,8974,110,103,59,1,367,114,105,59,1,9721,99,114,59,3,55349,56522,4,3,100,105,114,18561,18566,18572,111,116,59,1,8944,108,100,101,59,1,361,105,4,2,59,102,18579,18581,1,9653,59,1,9652,4,2,97,109,18590,18595,114,114,59,1,8648,108,5,252,1,59,18601,1,252,97,110,103,108,101,59,1,10663,4,15,65,66,68,97,99,100,101,102,108,110,111,112,114,115,122,18643,18648,18661,18667,18847,18851,18857,18904,18909,18915,18931,18937,18943,18949,18996,114,114,59,1,8661,97,114,4,2,59,118,18656,18658,1,10984,59,1,10985,97,115,104,59,1,8872,4,2,110,114,18673,18679,103,114,116,59,1,10652,4,7,101,107,110,112,114,115,116,18695,18704,18711,18720,18742,18754,18810,112,115,105,108,111,110,59,1,1013,97,112,112,97,59,1,1008,111,116,104,105,110,103,59,1,8709,4,3,104,105,114,18728,18732,18735,105,59,1,981,59,1,982,111,112,116,111,59,1,8733,4,2,59,104,18748,18750,1,8597,111,59,1,1009,4,2,105,117,18760,18766,103,109,97,59,1,962,4,2,98,112,18772,18791,115,101,116,110,101,113,4,2,59,113,18784,18787,3,8842,65024,59,3,10955,65024,115,101,116,110,101,113,4,2,59,113,18803,18806,3,8843,65024,59,3,10956,65024,4,2,104,114,18816,18822,101,116,97,59,1,977,105,97,110,103,108,101,4,2,108,114,18834,18840,101,102,116,59,1,8882,105,103,104,116,59,1,8883,121,59,1,1074,97,115,104,59,1,8866,4,3,101,108,114,18865,18884,18890,4,3,59,98,101,18873,18875,18880,1,8744,97,114,59,1,8891,113,59,1,8794,108,105,112,59,1,8942,4,2,98,116,18896,18901,97,114,59,1,124,59,1,124,114,59,3,55349,56627,116,114,105,59,1,8882,115,117,4,2,98,112,18923,18927,59,3,8834,8402,59,3,8835,8402,112,102,59,3,55349,56679,114,111,112,59,1,8733,116,114,105,59,1,8883,4,2,99,117,18955,18960,114,59,3,55349,56523,4,2,98,112,18966,18981,110,4,2,69,101,18973,18977,59,3,10955,65024,59,3,8842,65024,110,4,2,69,101,18988,18992,59,3,10956,65024,59,3,8843,65024,105,103,122,97,103,59,1,10650,4,7,99,101,102,111,112,114,115,19020,19026,19061,19066,19072,19075,19089,105,114,99,59,1,373,4,2,100,105,19032,19055,4,2,98,103,19038,19043,97,114,59,1,10847,101,4,2,59,113,19050,19052,1,8743,59,1,8793,101,114,112,59,1,8472,114,59,3,55349,56628,112,102,59,3,55349,56680,59,1,8472,4,2,59,101,19081,19083,1,8768,97,116,104,59,1,8768,99,114,59,3,55349,56524,4,14,99,100,102,104,105,108,109,110,111,114,115,117,118,119,19125,19146,19152,19157,19173,19176,19192,19197,19202,19236,19252,19269,19286,19291,4,3,97,105,117,19133,19137,19142,112,59,1,8898,114,99,59,1,9711,112,59,1,8899,116,114,105,59,1,9661,114,59,3,55349,56629,4,2,65,97,19163,19168,114,114,59,1,10234,114,114,59,1,10231,59,1,958,4,2,65,97,19182,19187,114,114,59,1,10232,114,114,59,1,10229,97,112,59,1,10236,105,115,59,1,8955,4,3,100,112,116,19210,19215,19230,111,116,59,1,10752,4,2,102,108,19221,19225,59,3,55349,56681,117,115,59,1,10753,105,109,101,59,1,10754,4,2,65,97,19242,19247,114,114,59,1,10233,114,114,59,1,10230,4,2,99,113,19258,19263,114,59,3,55349,56525,99,117,112,59,1,10758,4,2,112,116,19275,19281,108,117,115,59,1,10756,114,105,59,1,9651,101,101,59,1,8897,101,100,103,101,59,1,8896,4,8,97,99,101,102,105,111,115,117,19316,19335,19349,19357,19362,19367,19373,19379,99,4,2,117,121,19323,19332,116,101,5,253,1,59,19330,1,253,59,1,1103,4,2,105,121,19341,19346,114,99,59,1,375,59,1,1099,110,5,165,1,59,19355,1,165,114,59,3,55349,56630,99,121,59,1,1111,112,102,59,3,55349,56682,99,114,59,3,55349,56526,4,2,99,109,19385,19389,121,59,1,1102,108,5,255,1,59,19395,1,255,4,10,97,99,100,101,102,104,105,111,115,119,19419,19426,19441,19446,19462,19467,19472,19480,19486,19492,99,117,116,101,59,1,378,4,2,97,121,19432,19438,114,111,110,59,1,382,59,1,1079,111,116,59,1,380,4,2,101,116,19452,19458,116,114,102,59,1,8488,97,59,1,950,114,59,3,55349,56631,99,121,59,1,1078,103,114,97,114,114,59,1,8669,112,102,59,3,55349,56683,99,114,59,3,55349,56527,4,2,106,110,19498,19501,59,1,8205,106,59,1,8204])},5168:(e,t,n)=>{"use strict";const r=n(7616),i=n(1302),o=r.CODE_POINTS;e.exports=class{constructor(){this.html=null,this.pos=-1,this.lastGapPos=-1,this.lastCharPos=-1,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=65536}_err(){}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(e){if(this.pos!==this.lastCharPos){const t=this.html.charCodeAt(this.pos+1);if(r.isSurrogatePair(t))return this.pos++,this._addGap(),r.getSurrogatePairCodePoint(e,t)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,o.EOF;return this._err(i.surrogateInInputStream),e}dropParsedChunk(){this.pos>this.bufferWaterline&&(this.lastCharPos-=this.pos,this.html=this.html.substring(this.pos),this.pos=0,this.lastGapPos=-1,this.gapStack=[])}write(e,t){this.html?this.html+=e:this.html=e,this.lastCharPos=this.html.length-1,this.endOfChunkHit=!1,this.lastChunkWritten=t}insertHtmlAtCurrentPos(e){this.html=this.html.substring(0,this.pos+1)+e+this.html.substring(this.pos+1,this.html.length),this.lastCharPos=this.html.length-1,this.endOfChunkHit=!1}advance(){if(this.pos++,this.pos>this.lastCharPos)return this.endOfChunkHit=!this.lastChunkWritten,o.EOF;let e=this.html.charCodeAt(this.pos);return this.skipNextNewLine&&e===o.LINE_FEED?(this.skipNextNewLine=!1,this._addGap(),this.advance()):e===o.CARRIAGE_RETURN?(this.skipNextNewLine=!0,o.LINE_FEED):(this.skipNextNewLine=!1,r.isSurrogate(e)&&(e=this._processSurrogate(e)),e>31&&e<127||e===o.LINE_FEED||e===o.CARRIAGE_RETURN||e>159&&e<64976||this._checkForProblematicCharacters(e),e)}_checkForProblematicCharacters(e){r.isControlCodePoint(e)?this._err(i.controlCharacterInInputStream):r.isUndefinedCodePoint(e)&&this._err(i.noncharacterInInputStream)}retreat(){this.pos===this.lastGapPos&&(this.lastGapPos=this.gapStack.pop(),this.pos--),this.pos--}}},9012:(e,t,n)=>{"use strict";const{DOCUMENT_MODE:r}=n(162);t.createDocument=function(){return{nodeName:"#document",mode:r.NO_QUIRKS,childNodes:[]}},t.createDocumentFragment=function(){return{nodeName:"#document-fragment",childNodes:[]}},t.createElement=function(e,t,n){return{nodeName:e,tagName:e,attrs:n,namespaceURI:t,childNodes:[],parentNode:null}},t.createCommentNode=function(e){return{nodeName:"#comment",data:e,parentNode:null}};const i=function(e){return{nodeName:"#text",value:e,parentNode:null}},o=t.appendChild=function(e,t){e.childNodes.push(t),t.parentNode=e},a=t.insertBefore=function(e,t,n){const r=e.childNodes.indexOf(n);e.childNodes.splice(r,0,t),t.parentNode=e};t.setTemplateContent=function(e,t){e.content=t},t.getTemplateContent=function(e){return e.content},t.setDocumentType=function(e,t,n,r){let i=null;for(let t=0;t<e.childNodes.length;t++)if("#documentType"===e.childNodes[t].nodeName){i=e.childNodes[t];break}i?(i.name=t,i.publicId=n,i.systemId=r):o(e,{nodeName:"#documentType",name:t,publicId:n,systemId:r})},t.setDocumentMode=function(e,t){e.mode=t},t.getDocumentMode=function(e){return e.mode},t.detachNode=function(e){if(e.parentNode){const t=e.parentNode.childNodes.indexOf(e);e.parentNode.childNodes.splice(t,1),e.parentNode=null}},t.insertText=function(e,t){if(e.childNodes.length){const n=e.childNodes[e.childNodes.length-1];if("#text"===n.nodeName)return void(n.value+=t)}o(e,i(t))},t.insertTextBefore=function(e,t,n){const r=e.childNodes[e.childNodes.indexOf(n)-1];r&&"#text"===r.nodeName?r.value+=t:a(e,i(t),n)},t.adoptAttributes=function(e,t){const n=[];for(let t=0;t<e.attrs.length;t++)n.push(e.attrs[t].name);for(let r=0;r<t.length;r++)-1===n.indexOf(t[r].name)&&e.attrs.push(t[r])},t.getFirstChild=function(e){return e.childNodes[0]},t.getChildNodes=function(e){return e.childNodes},t.getParentNode=function(e){return e.parentNode},t.getAttrList=function(e){return e.attrs},t.getTagName=function(e){return e.tagName},t.getNamespaceURI=function(e){return e.namespaceURI},t.getTextNodeContent=function(e){return e.value},t.getCommentNodeContent=function(e){return e.data},t.getDocumentTypeNodeName=function(e){return e.name},t.getDocumentTypeNodePublicId=function(e){return e.publicId},t.getDocumentTypeNodeSystemId=function(e){return e.systemId},t.isTextNode=function(e){return"#text"===e.nodeName},t.isCommentNode=function(e){return"#comment"===e.nodeName},t.isDocumentTypeNode=function(e){return"#documentType"===e.nodeName},t.isElementNode=function(e){return!!e.tagName},t.setNodeSourceCodeLocation=function(e,t){e.sourceCodeLocation=t},t.getNodeSourceCodeLocation=function(e){return e.sourceCodeLocation},t.updateNodeSourceCodeLocation=function(e,t){e.sourceCodeLocation=Object.assign(e.sourceCodeLocation,t)}},3070:e=>{"use strict";e.exports=function(e,t){return[e,t=t||Object.create(null)].reduce(((e,t)=>(Object.keys(t).forEach((n=>{e[n]=t[n]})),e)),Object.create(null))}},1405:e=>{"use strict";class t{constructor(e){const t={},n=this._getOverriddenMethods(this,t);for(const r of Object.keys(n))"function"==typeof n[r]&&(t[r]=e[r],e[r]=n[r])}_getOverriddenMethods(){throw new Error("Not implemented")}}t.install=function(e,t,n){e.__mixins||(e.__mixins=[]);for(let n=0;n<e.__mixins.length;n++)if(e.__mixins[n].constructor===t)return e.__mixins[n];const r=new t(e,n);return e.__mixins.push(r),r},e.exports=t},3656:e=>{var t,n,r=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function a(e){if(t===setTimeout)return setTimeout(e,0);if((t===i||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(n){try{return t.call(null,e,0)}catch(n){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:i}catch(e){t=i}try{n="function"==typeof clearTimeout?clearTimeout:o}catch(e){n=o}}();var s,l=[],c=!1,u=-1;function h(){c&&s&&(c=!1,s.length?l=s.concat(l):u=-1,l.length&&p())}function p(){if(!c){var e=a(h);c=!0;for(var t=l.length;t;){for(s=l,l=[];++u<t;)s&&s[u].run();u=-1,t=l.length}s=null,c=!1,function(e){if(n===clearTimeout)return clearTimeout(e);if((n===o||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(e);try{return n(e)}catch(t){try{return n.call(null,e)}catch(t){return n.call(this,e)}}}(e)}}function d(e,t){this.fun=e,this.array=t}function f(){}r.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];l.push(new d(e,t)),1!==l.length||c||a(p)},d.prototype.run=function(){this.fun.apply(null,this.array)},r.title="browser",r.browser=!0,r.env={},r.argv=[],r.version="",r.versions={},r.on=f,r.addListener=f,r.once=f,r.off=f,r.removeListener=f,r.removeAllListeners=f,r.emit=f,r.prependListener=f,r.prependOnceListener=f,r.listeners=function(e){return[]},r.binding=function(e){throw new Error("process.binding is not supported")},r.cwd=function(){return"/"},r.chdir=function(e){throw new Error("process.chdir is not supported")},r.umask=function(){return 0}},1772:(e,t,n)=>{"use strict";var r=n(5148);function i(){}function o(){}o.resetWarningCache=i,e.exports=function(){function e(e,t,n,i,o,a){if(a!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:i};return n.PropTypes=n,n}},7862:(e,t,n)=>{e.exports=n(1772)()},5148:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},46:(e,t,n)=>{"use strict";n.d(t,{xS:()=>ha});var r=n(1024),i=n.n(r),o=n(6410),a={},s=function(e,t,n,r){var i=e+"-"+t+"-"+n+(r?"-server":"");if(a[i])return a[i];var o=function(e,t,n,r){if("undefined"==typeof document&&!r)return null;var i=r?new r:document.createElement("canvas");i.width=2*n,i.height=2*n;var o=i.getContext("2d");return o?(o.fillStyle=e,o.fillRect(0,0,i.width,i.height),o.fillStyle=t,o.fillRect(0,0,n,n),o.translate(n,n),o.fillRect(0,0,n,n),i.toDataURL()):null}(e,t,n,r);return a[i]=o,o},l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},c=function(e){var t=e.white,n=e.grey,a=e.size,c=e.renderers,u=e.borderRadius,h=e.boxShadow,p=e.children,d=(0,o.ZP)({default:{grid:{borderRadius:u,boxShadow:h,absolute:"0px 0px 0px 0px",background:"url("+s(t,n,a,c.canvas)+") center left"}}});return(0,r.isValidElement)(p)?i().cloneElement(p,l({},p.props,{style:l({},p.props.style,d.grid)})):i().createElement("div",{style:d.grid})};c.defaultProps={size:8,white:"transparent",grey:"rgba(0,0,0,.08)",renderers:{}};const u=c;var h=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},p=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function d(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}const f=function(e){function t(){var e,n,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var i=arguments.length,o=Array(i),a=0;a<i;a++)o[a]=arguments[a];return n=r=d(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(o))),r.handleChange=function(e){var t=function(e,t,n,r,i){var o=i.clientWidth,a=i.clientHeight,s="number"==typeof e.pageX?e.pageX:e.touches[0].pageX,l="number"==typeof e.pageY?e.pageY:e.touches[0].pageY,c=s-(i.getBoundingClientRect().left+window.pageXOffset),u=l-(i.getBoundingClientRect().top+window.pageYOffset);if("vertical"===n){var h;if(h=u<0?0:u>a?1:Math.round(100*u/a)/100,t.a!==h)return{h:t.h,s:t.s,l:t.l,a:h,source:"rgb"}}else{var p;if(r!==(p=c<0?0:c>o?1:Math.round(100*c/o)/100))return{h:t.h,s:t.s,l:t.l,a:p,source:"rgb"}}return null}(e,r.props.hsl,r.props.direction,r.props.a,r.container);t&&"function"==typeof r.props.onChange&&r.props.onChange(t,e)},r.handleMouseDown=function(e){r.handleChange(e),window.addEventListener("mousemove",r.handleChange),window.addEventListener("mouseup",r.handleMouseUp)},r.handleMouseUp=function(){r.unbindEventListeners()},r.unbindEventListeners=function(){window.removeEventListener("mousemove",r.handleChange),window.removeEventListener("mouseup",r.handleMouseUp)},d(r,n)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),p(t,[{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"render",value:function(){var e=this,t=this.props.rgb,n=(0,o.ZP)({default:{alpha:{absolute:"0px 0px 0px 0px",borderRadius:this.props.radius},checkboard:{absolute:"0px 0px 0px 0px",overflow:"hidden",borderRadius:this.props.radius},gradient:{absolute:"0px 0px 0px 0px",background:"linear-gradient(to right, rgba("+t.r+","+t.g+","+t.b+", 0) 0%,\n rgba("+t.r+","+t.g+","+t.b+", 1) 100%)",boxShadow:this.props.shadow,borderRadius:this.props.radius},container:{position:"relative",height:"100%",margin:"0 3px"},pointer:{position:"absolute",left:100*t.a+"%"},slider:{width:"4px",borderRadius:"1px",height:"8px",boxShadow:"0 0 2px rgba(0, 0, 0, .6)",background:"#fff",marginTop:"1px",transform:"translateX(-2px)"}},vertical:{gradient:{background:"linear-gradient(to bottom, rgba("+t.r+","+t.g+","+t.b+", 0) 0%,\n rgba("+t.r+","+t.g+","+t.b+", 1) 100%)"},pointer:{left:0,top:100*t.a+"%"}},overwrite:h({},this.props.style)},{vertical:"vertical"===this.props.direction,overwrite:!0});return i().createElement("div",{style:n.alpha},i().createElement("div",{style:n.checkboard},i().createElement(u,{renderers:this.props.renderers})),i().createElement("div",{style:n.gradient}),i().createElement("div",{style:n.container,ref:function(t){return e.container=t},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},i().createElement("div",{style:n.pointer},this.props.pointer?i().createElement(this.props.pointer,this.props):i().createElement("div",{style:n.slider}))))}}]),t}(r.PureComponent||r.Component);var m=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),g=[38,40],y=1;const v=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return n.handleBlur=function(){n.state.blurValue&&n.setState({value:n.state.blurValue,blurValue:null})},n.handleChange=function(e){n.setUpdatedValue(e.target.value,e)},n.handleKeyDown=function(e){var t,r=function(e){return Number(String(e).replace(/%/g,""))}(e.target.value);if(!isNaN(r)&&(t=e.keyCode,g.indexOf(t)>-1)){var i=n.getArrowOffset(),o=38===e.keyCode?r+i:r-i;n.setUpdatedValue(o,e)}},n.handleDrag=function(e){if(n.props.dragLabel){var t=Math.round(n.props.value+e.movementX);t>=0&&t<=n.props.dragMax&&n.props.onChange&&n.props.onChange(n.getValueObjectWithLabel(t),e)}},n.handleMouseDown=function(e){n.props.dragLabel&&(e.preventDefault(),n.handleDrag(e),window.addEventListener("mousemove",n.handleDrag),window.addEventListener("mouseup",n.handleMouseUp))},n.handleMouseUp=function(){n.unbindEventListeners()},n.unbindEventListeners=function(){window.removeEventListener("mousemove",n.handleDrag),window.removeEventListener("mouseup",n.handleMouseUp)},n.state={value:String(e.value).toUpperCase(),blurValue:String(e.value).toUpperCase()},n.inputId="rc-editable-input-"+y++,n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),m(t,[{key:"componentDidUpdate",value:function(e,t){this.props.value===this.state.value||e.value===this.props.value&&t.value===this.state.value||(this.input===document.activeElement?this.setState({blurValue:String(this.props.value).toUpperCase()}):this.setState({value:String(this.props.value).toUpperCase(),blurValue:!this.state.blurValue&&String(this.props.value).toUpperCase()}))}},{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"getValueObjectWithLabel",value:function(e){return function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},this.props.label,e)}},{key:"getArrowOffset",value:function(){return this.props.arrowOffset||1}},{key:"setUpdatedValue",value:function(e,t){var n=this.props.label?this.getValueObjectWithLabel(e):e;this.props.onChange&&this.props.onChange(n,t),this.setState({value:e})}},{key:"render",value:function(){var e=this,t=(0,o.ZP)({default:{wrap:{position:"relative"}},"user-override":{wrap:this.props.style&&this.props.style.wrap?this.props.style.wrap:{},input:this.props.style&&this.props.style.input?this.props.style.input:{},label:this.props.style&&this.props.style.label?this.props.style.label:{}},"dragLabel-true":{label:{cursor:"ew-resize"}}},{"user-override":!0},this.props);return i().createElement("div",{style:t.wrap},i().createElement("input",{id:this.inputId,style:t.input,ref:function(t){return e.input=t},value:this.state.value,onKeyDown:this.handleKeyDown,onChange:this.handleChange,onBlur:this.handleBlur,placeholder:this.props.placeholder,spellCheck:"false"}),this.props.label&&!this.props.hideLabel?i().createElement("label",{htmlFor:this.inputId,style:t.label,onMouseDown:this.handleMouseDown},this.props.label):null)}}]),t}(r.PureComponent||r.Component);var _=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function b(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}const E=function(e){function t(){var e,n,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var i=arguments.length,o=Array(i),a=0;a<i;a++)o[a]=arguments[a];return n=r=b(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(o))),r.handleChange=function(e){var t=function(e,t,n,r){var i=r.clientWidth,o=r.clientHeight,a="number"==typeof e.pageX?e.pageX:e.touches[0].pageX,s="number"==typeof e.pageY?e.pageY:e.touches[0].pageY,l=a-(r.getBoundingClientRect().left+window.pageXOffset),c=s-(r.getBoundingClientRect().top+window.pageYOffset);if("vertical"===t){var u;if(u=c<0?359:c>o?0:360*(-100*c/o+100)/100,n.h!==u)return{h:u,s:n.s,l:n.l,a:n.a,source:"hsl"}}else{var h;if(h=l<0?0:l>i?359:100*l/i*360/100,n.h!==h)return{h,s:n.s,l:n.l,a:n.a,source:"hsl"}}return null}(e,r.props.direction,r.props.hsl,r.container);t&&"function"==typeof r.props.onChange&&r.props.onChange(t,e)},r.handleMouseDown=function(e){r.handleChange(e),window.addEventListener("mousemove",r.handleChange),window.addEventListener("mouseup",r.handleMouseUp)},r.handleMouseUp=function(){r.unbindEventListeners()},b(r,n)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),_(t,[{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"unbindEventListeners",value:function(){window.removeEventListener("mousemove",this.handleChange),window.removeEventListener("mouseup",this.handleMouseUp)}},{key:"render",value:function(){var e=this,t=this.props.direction,n=void 0===t?"horizontal":t,r=(0,o.ZP)({default:{hue:{absolute:"0px 0px 0px 0px",borderRadius:this.props.radius,boxShadow:this.props.shadow},container:{padding:"0 2px",position:"relative",height:"100%",borderRadius:this.props.radius},pointer:{position:"absolute",left:100*this.props.hsl.h/360+"%"},slider:{marginTop:"1px",width:"4px",borderRadius:"1px",height:"8px",boxShadow:"0 0 2px rgba(0, 0, 0, .6)",background:"#fff",transform:"translateX(-2px)"}},vertical:{pointer:{left:"0px",top:-100*this.props.hsl.h/360+100+"%"}}},{vertical:"vertical"===n});return i().createElement("div",{style:r.hue},i().createElement("div",{className:"hue-"+n,style:r.container,ref:function(t){return e.container=t},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},i().createElement("style",null,"\n .hue-horizontal {\n background: linear-gradient(to right, #f00 0%, #ff0 17%, #0f0\n 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n background: -webkit-linear-gradient(to right, #f00 0%, #ff0\n 17%, #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n }\n\n .hue-vertical {\n background: linear-gradient(to top, #f00 0%, #ff0 17%, #0f0 33%,\n #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n background: -webkit-linear-gradient(to top, #f00 0%, #ff0 17%,\n #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n }\n "),i().createElement("div",{style:r.pointer},this.props.pointer?i().createElement(this.props.pointer,this.props):i().createElement("div",{style:r.slider}))))}}]),t}(r.PureComponent||r.Component);var T=n(7862),x=n.n(T);const S=function(e,t){return e===t||e!=e&&t!=t},C=function(e,t){for(var n=e.length;n--;)if(S(e[n][0],t))return n;return-1};var A=Array.prototype.splice;function R(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}R.prototype.clear=function(){this.__data__=[],this.size=0},R.prototype.delete=function(e){var t=this.__data__,n=C(t,e);return!(n<0||(n==t.length-1?t.pop():A.call(t,n,1),--this.size,0))},R.prototype.get=function(e){var t=this.__data__,n=C(t,e);return n<0?void 0:t[n][1]},R.prototype.has=function(e){return C(this.__data__,e)>-1},R.prototype.set=function(e,t){var n=this.__data__,r=C(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this};const w=R,L="object"==typeof global&&global&&global.Object===Object&&global;var O="object"==typeof self&&self&&self.Object===Object&&self;const N=L||O||Function("return this")(),I=N.Symbol;var k=Object.prototype,D=k.hasOwnProperty,P=k.toString,M=I?I.toStringTag:void 0;var F=Object.prototype.toString;var H=I?I.toStringTag:void 0;const B=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":H&&H in Object(e)?function(e){var t=D.call(e,M),n=e[M];try{e[M]=void 0;var r=!0}catch(e){}var i=P.call(e);return r&&(t?e[M]=n:delete e[M]),i}(e):function(e){return F.call(e)}(e)},U=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)},j=function(e){if(!U(e))return!1;var t=B(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t},G=N["__core-js_shared__"];var Y,z=(Y=/[^.]+$/.exec(G&&G.keys&&G.keys.IE_PROTO||""))?"Symbol(src)_1."+Y:"";var $=Function.prototype.toString;const W=function(e){if(null!=e){try{return $.call(e)}catch(e){}try{return e+""}catch(e){}}return""};var V=/^\[object .+?Constructor\]$/,K=Function.prototype,q=Object.prototype,X=K.toString,Z=q.hasOwnProperty,Q=RegExp("^"+X.call(Z).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");const J=function(e){return!(!U(e)||(t=e,z&&z in t))&&(j(e)?Q:V).test(W(e));var t},ee=function(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return J(n)?n:void 0},te=ee(N,"Map"),ne=ee(Object,"create");var re=Object.prototype.hasOwnProperty;var ie=Object.prototype.hasOwnProperty;function oe(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}oe.prototype.clear=function(){this.__data__=ne?ne(null):{},this.size=0},oe.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},oe.prototype.get=function(e){var t=this.__data__;if(ne){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return re.call(t,e)?t[e]:void 0},oe.prototype.has=function(e){var t=this.__data__;return ne?void 0!==t[e]:ie.call(t,e)},oe.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=ne&&void 0===t?"__lodash_hash_undefined__":t,this};const ae=oe,se=function(e,t){var n=e.__data__;return function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}(t)?n["string"==typeof t?"string":"hash"]:n.map};function le(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}le.prototype.clear=function(){this.size=0,this.__data__={hash:new ae,map:new(te||w),string:new ae}},le.prototype.delete=function(e){var t=se(this,e).delete(e);return this.size-=t?1:0,t},le.prototype.get=function(e){return se(this,e).get(e)},le.prototype.has=function(e){return se(this,e).has(e)},le.prototype.set=function(e,t){var n=se(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this};const ce=le;function ue(e){var t=this.__data__=new w(e);this.size=t.size}ue.prototype.clear=function(){this.__data__=new w,this.size=0},ue.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},ue.prototype.get=function(e){return this.__data__.get(e)},ue.prototype.has=function(e){return this.__data__.has(e)},ue.prototype.set=function(e,t){var n=this.__data__;if(n instanceof w){var r=n.__data__;if(!te||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new ce(r)}return n.set(e,t),this.size=n.size,this};const he=ue,pe=function(){try{var e=ee(Object,"defineProperty");return e({},"",{}),e}catch(e){}}(),de=function(e,t,n){"__proto__"==t&&pe?pe(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n},fe=function(e,t,n){(void 0!==n&&!S(e[t],n)||void 0===n&&!(t in e))&&de(e,t,n)},me=function(e,t,n){for(var r=-1,i=Object(e),o=n(e),a=o.length;a--;){var s=o[++r];if(!1===t(i[s],s,i))break}return e};var ge="object"==typeof exports&&exports&&!exports.nodeType&&exports,ye=ge&&"object"==typeof module&&module&&!module.nodeType&&module,ve=ye&&ye.exports===ge?N.Buffer:void 0,_e=ve?ve.allocUnsafe:void 0;const be=N.Uint8Array,Ee=function(e,t){var n,r,i=t?(n=e.buffer,r=new n.constructor(n.byteLength),new be(r).set(new be(n)),r):e.buffer;return new e.constructor(i,e.byteOffset,e.length)};var Te=Object.create;const xe=function(){function e(){}return function(t){if(!U(t))return{};if(Te)return Te(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}(),Se=function(e,t){return function(n){return e(t(n))}},Ce=Se(Object.getPrototypeOf,Object);var Ae=Object.prototype;const Re=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||Ae)},we=function(e){return null!=e&&"object"==typeof e},Le=function(e){return we(e)&&"[object Arguments]"==B(e)};var Oe=Object.prototype,Ne=Oe.hasOwnProperty,Ie=Oe.propertyIsEnumerable;const ke=Le(function(){return arguments}())?Le:function(e){return we(e)&&Ne.call(e,"callee")&&!Ie.call(e,"callee")},De=Array.isArray,Pe=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991},Me=function(e){return null!=e&&Pe(e.length)&&!j(e)};var Fe="object"==typeof exports&&exports&&!exports.nodeType&&exports,He=Fe&&"object"==typeof module&&module&&!module.nodeType&&module,Be=He&&He.exports===Fe?N.Buffer:void 0;const Ue=(Be?Be.isBuffer:void 0)||function(){return!1};var je=Function.prototype,Ge=Object.prototype,Ye=je.toString,ze=Ge.hasOwnProperty,$e=Ye.call(Object);var We={};We["[object Float32Array]"]=We["[object Float64Array]"]=We["[object Int8Array]"]=We["[object Int16Array]"]=We["[object Int32Array]"]=We["[object Uint8Array]"]=We["[object Uint8ClampedArray]"]=We["[object Uint16Array]"]=We["[object Uint32Array]"]=!0,We["[object Arguments]"]=We["[object Array]"]=We["[object ArrayBuffer]"]=We["[object Boolean]"]=We["[object DataView]"]=We["[object Date]"]=We["[object Error]"]=We["[object Function]"]=We["[object Map]"]=We["[object Number]"]=We["[object Object]"]=We["[object RegExp]"]=We["[object Set]"]=We["[object String]"]=We["[object WeakMap]"]=!1;var Ve="object"==typeof exports&&exports&&!exports.nodeType&&exports,Ke=Ve&&"object"==typeof module&&module&&!module.nodeType&&module,qe=Ke&&Ke.exports===Ve&&L.process,Xe=function(){try{return Ke&&Ke.require&&Ke.require("util").types||qe&&qe.binding&&qe.binding("util")}catch(e){}}(),Ze=Xe&&Xe.isTypedArray;const Qe=Ze?(Je=Ze,function(e){return Je(e)}):function(e){return we(e)&&Pe(e.length)&&!!We[B(e)]};var Je;const et=function(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]};var tt=Object.prototype.hasOwnProperty;const nt=function(e,t,n){var r=e[t];tt.call(e,t)&&S(r,n)&&(void 0!==n||t in e)||de(e,t,n)};var rt=/^(?:0|[1-9]\d*)$/;const it=function(e,t){var n=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==n||"symbol"!=n&&rt.test(e))&&e>-1&&e%1==0&&e<t};var ot=Object.prototype.hasOwnProperty;const at=function(e,t){var n=De(e),r=!n&&ke(e),i=!n&&!r&&Ue(e),o=!n&&!r&&!i&&Qe(e),a=n||r||i||o,s=a?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],l=s.length;for(var c in e)!t&&!ot.call(e,c)||a&&("length"==c||i&&("offset"==c||"parent"==c)||o&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||it(c,l))||s.push(c);return s};var st=Object.prototype.hasOwnProperty;const lt=function(e){if(!U(e))return function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}(e);var t=Re(e),n=[];for(var r in e)("constructor"!=r||!t&&st.call(e,r))&&n.push(r);return n},ct=function(e){return Me(e)?at(e,!0):lt(e)},ut=function(e){return function(e,t,n,r){var i=!n;n||(n={});for(var o=-1,a=t.length;++o<a;){var s=t[o],l=r?r(n[s],e[s],s,n,e):void 0;void 0===l&&(l=e[s]),i?de(n,s,l):nt(n,s,l)}return n}(e,ct(e))},ht=function(e,t,n,r,i,o,a){var s=et(e,n),l=et(t,n),c=a.get(l);if(c)fe(e,n,c);else{var u=o?o(s,l,n+"",e,t,a):void 0,h=void 0===u;if(h){var p=De(l),d=!p&&Ue(l),f=!p&&!d&&Qe(l);u=l,p||d||f?De(s)?u=s:function(e){return we(e)&&Me(e)}(s)?u=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}(s):d?(h=!1,u=function(e,t){if(t)return e.slice();var n=e.length,r=_e?_e(n):new e.constructor(n);return e.copy(r),r}(l,!0)):f?(h=!1,u=Ee(l,!0)):u=[]:function(e){if(!we(e)||"[object Object]"!=B(e))return!1;var t=Ce(e);if(null===t)return!0;var n=ze.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&Ye.call(n)==$e}(l)||ke(l)?(u=s,ke(s)?u=ut(s):U(s)&&!j(s)||(u=function(e){return"function"!=typeof e.constructor||Re(e)?{}:xe(Ce(e))}(l))):h=!1}h&&(a.set(l,u),i(u,l,r,o,a),a.delete(l)),fe(e,n,u)}},pt=function e(t,n,r,i,o){t!==n&&me(n,(function(a,s){if(o||(o=new he),U(a))ht(t,n,s,r,e,i,o);else{var l=i?i(et(t,s),a,s+"",t,n,o):void 0;void 0===l&&(l=a),fe(t,s,l)}}),ct)},dt=function(e){return e};var ft=Math.max;const mt=function(e){return function(){return e}},gt=pe?function(e,t){return pe(e,"toString",{configurable:!0,enumerable:!1,value:mt(t),writable:!0})}:dt;var yt=Date.now;const vt=function(e){var t=0,n=0;return function(){var r=yt(),i=16-(r-n);if(n=r,i>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}(gt),_t=function(e,t){return vt(function(e,t,n){return t=ft(void 0===t?e.length-1:t,0),function(){for(var r=arguments,i=-1,o=ft(r.length-t,0),a=Array(o);++i<o;)a[i]=r[t+i];i=-1;for(var s=Array(t+1);++i<t;)s[i]=r[i];return s[t]=n(a),function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}(e,this,s)}}(e,t,dt),e+"")},bt=(Et=function(e,t,n){pt(e,t,n)},_t((function(e,t){var n=-1,r=t.length,i=r>1?t[r-1]:void 0,o=r>2?t[2]:void 0;for(i=Et.length>3&&"function"==typeof i?(r--,i):void 0,o&&function(e,t,n){if(!U(n))return!1;var r=typeof t;return!!("number"==r?Me(n)&&it(t,n.length):"string"==r&&t in n)&&S(n[t],e)}(t[0],t[1],o)&&(i=r<3?void 0:i,r=1),e=Object(e);++n<r;){var a=t[n];a&&Et(e,a,n)}return e})));var Et,Tt=function(e){var t=e.zDepth,n=e.radius,r=e.background,a=e.children,s=e.styles,l=void 0===s?{}:s,c=(0,o.ZP)(bt({default:{wrap:{position:"relative",display:"inline-block"},content:{position:"relative"},bg:{absolute:"0px 0px 0px 0px",boxShadow:"0 "+t+"px "+4*t+"px rgba(0,0,0,.24)",borderRadius:n,background:r}},"zDepth-0":{bg:{boxShadow:"none"}},"zDepth-1":{bg:{boxShadow:"0 2px 10px rgba(0,0,0,.12), 0 2px 5px rgba(0,0,0,.16)"}},"zDepth-2":{bg:{boxShadow:"0 6px 20px rgba(0,0,0,.19), 0 8px 17px rgba(0,0,0,.2)"}},"zDepth-3":{bg:{boxShadow:"0 17px 50px rgba(0,0,0,.19), 0 12px 15px rgba(0,0,0,.24)"}},"zDepth-4":{bg:{boxShadow:"0 25px 55px rgba(0,0,0,.21), 0 16px 28px rgba(0,0,0,.22)"}},"zDepth-5":{bg:{boxShadow:"0 40px 77px rgba(0,0,0,.22), 0 27px 24px rgba(0,0,0,.2)"}},square:{bg:{borderRadius:"0"}},circle:{bg:{borderRadius:"50%"}}},l),{"zDepth-1":1===t});return i().createElement("div",{style:c.wrap},i().createElement("div",{style:c.bg}),i().createElement("div",{style:c.content},a))};Tt.propTypes={background:x().string,zDepth:x().oneOf([0,1,2,3,4,5]),radius:x().number,styles:x().object},Tt.defaultProps={background:"#fff",zDepth:1,radius:2,styles:{}};const xt=Tt,St=function(){return N.Date.now()};var Ct=/\s/;var At=/^\s+/;const Rt=function(e){return e?e.slice(0,function(e){for(var t=e.length;t--&&Ct.test(e.charAt(t)););return t}(e)+1).replace(At,""):e},wt=function(e){return"symbol"==typeof e||we(e)&&"[object Symbol]"==B(e)};var Lt=/^[-+]0x[0-9a-f]+$/i,Ot=/^0b[01]+$/i,Nt=/^0o[0-7]+$/i,It=parseInt;const kt=function(e){if("number"==typeof e)return e;if(wt(e))return NaN;if(U(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=U(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=Rt(e);var n=Ot.test(e);return n||Nt.test(e)?It(e.slice(2),n?2:8):Lt.test(e)?NaN:+e};var Dt=Math.max,Pt=Math.min;const Mt=function(e,t,n){var r,i,o,a,s,l,c=0,u=!1,h=!1,p=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function d(t){var n=r,o=i;return r=i=void 0,c=t,a=e.apply(o,n)}function f(e){var n=e-l;return void 0===l||n>=t||n<0||h&&e-c>=o}function m(){var e=St();if(f(e))return g(e);s=setTimeout(m,function(e){var n=t-(e-l);return h?Pt(n,o-(e-c)):n}(e))}function g(e){return s=void 0,p&&r?d(e):(r=i=void 0,a)}function y(){var e=St(),n=f(e);if(r=arguments,i=this,l=e,n){if(void 0===s)return function(e){return c=e,s=setTimeout(m,t),u?d(e):a}(l);if(h)return clearTimeout(s),s=setTimeout(m,t),d(l)}return void 0===s&&(s=setTimeout(m,t)),a}return t=kt(t)||0,U(n)&&(u=!!n.leading,o=(h="maxWait"in n)?Dt(kt(n.maxWait)||0,t):o,p="trailing"in n?!!n.trailing:p),y.cancel=function(){void 0!==s&&clearTimeout(s),c=0,r=l=i=s=void 0},y.flush=function(){return void 0===s?a:g(St())},y};var Ft=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),Ht=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.handleChange=function(e){"function"==typeof n.props.onChange&&n.throttle(n.props.onChange,function(e,t,n){var r=n.getBoundingClientRect(),i=r.width,o=r.height,a="number"==typeof e.pageX?e.pageX:e.touches[0].pageX,s="number"==typeof e.pageY?e.pageY:e.touches[0].pageY,l=a-(n.getBoundingClientRect().left+window.pageXOffset),c=s-(n.getBoundingClientRect().top+window.pageYOffset);l<0?l=0:l>i&&(l=i),c<0?c=0:c>o&&(c=o);var u=l/i,h=1-c/o;return{h:t.h,s:u,v:h,a:t.a,source:"hsv"}}(e,n.props.hsl,n.container),e)},n.handleMouseDown=function(e){n.handleChange(e);var t=n.getContainerRenderWindow();t.addEventListener("mousemove",n.handleChange),t.addEventListener("mouseup",n.handleMouseUp)},n.handleMouseUp=function(){n.unbindEventListeners()},n.throttle=function(e,t,n){var r=!0,i=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return U(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),Mt(e,t,{leading:r,maxWait:t,trailing:i})}((function(e,t,n){e(t,n)}),50),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),Ft(t,[{key:"componentWillUnmount",value:function(){this.throttle.cancel(),this.unbindEventListeners()}},{key:"getContainerRenderWindow",value:function(){for(var e=this.container,t=window;!t.document.contains(e)&&t.parent!==t;)t=t.parent;return t}},{key:"unbindEventListeners",value:function(){var e=this.getContainerRenderWindow();e.removeEventListener("mousemove",this.handleChange),e.removeEventListener("mouseup",this.handleMouseUp)}},{key:"render",value:function(){var e=this,t=this.props.style||{},n=t.color,r=t.white,a=t.black,s=t.pointer,l=t.circle,c=(0,o.ZP)({default:{color:{absolute:"0px 0px 0px 0px",background:"hsl("+this.props.hsl.h+",100%, 50%)",borderRadius:this.props.radius},white:{absolute:"0px 0px 0px 0px",borderRadius:this.props.radius},black:{absolute:"0px 0px 0px 0px",boxShadow:this.props.shadow,borderRadius:this.props.radius},pointer:{position:"absolute",top:-100*this.props.hsv.v+100+"%",left:100*this.props.hsv.s+"%",cursor:"default"},circle:{width:"4px",height:"4px",boxShadow:"0 0 0 1.5px #fff, inset 0 0 1px 1px rgba(0,0,0,.3),\n 0 0 1px 2px rgba(0,0,0,.4)",borderRadius:"50%",cursor:"hand",transform:"translate(-2px, -2px)"}},custom:{color:n,white:r,black:a,pointer:s,circle:l}},{custom:!!this.props.style});return i().createElement("div",{style:c.color,ref:function(t){return e.container=t},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},i().createElement("style",null,"\n .saturation-white {\n background: -webkit-linear-gradient(to right, #fff, rgba(255,255,255,0));\n background: linear-gradient(to right, #fff, rgba(255,255,255,0));\n }\n .saturation-black {\n background: -webkit-linear-gradient(to top, #000, rgba(0,0,0,0));\n background: linear-gradient(to top, #000, rgba(0,0,0,0));\n }\n "),i().createElement("div",{style:c.white,className:"saturation-white"},i().createElement("div",{style:c.black,className:"saturation-black"}),i().createElement("div",{style:c.pointer},this.props.pointer?i().createElement(this.props.pointer,this.props):i().createElement("div",{style:c.circle}))))}}]),t}(r.PureComponent||r.Component);const Bt=Ht,Ut=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e},jt=Se(Object.keys,Object);var Gt=Object.prototype.hasOwnProperty;const Yt=function(e){return Me(e)?at(e):function(e){if(!Re(e))return jt(e);var t=[];for(var n in Object(e))Gt.call(e,n)&&"constructor"!=n&&t.push(n);return t}(e)},zt=function(e,t){if(null==e)return e;if(!Me(e))return function(e,t){return e&&me(e,t,Yt)}(e,t);for(var n=e.length,r=-1,i=Object(e);++r<n&&!1!==t(i[r],r,i););return e},$t=function(e,t){return(De(e)?Ut:zt)(e,function(e){return"function"==typeof e?e:dt}(t))};function Wt(e){return Wt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Wt(e)}var Vt=/^\s+/,Kt=/\s+$/;function qt(e,t){if(t=t||{},(e=e||"")instanceof qt)return e;if(!(this instanceof qt))return new qt(e,t);var n=function(e){var t,n,r,i={r:0,g:0,b:0},o=1,a=null,s=null,l=null,c=!1,u=!1;return"string"==typeof e&&(e=function(e){e=e.replace(Vt,"").replace(Kt,"").toLowerCase();var t,n=!1;if(dn[e])e=dn[e],n=!0;else if("transparent"==e)return{r:0,g:0,b:0,a:0,format:"name"};return(t=An.rgb.exec(e))?{r:t[1],g:t[2],b:t[3]}:(t=An.rgba.exec(e))?{r:t[1],g:t[2],b:t[3],a:t[4]}:(t=An.hsl.exec(e))?{h:t[1],s:t[2],l:t[3]}:(t=An.hsla.exec(e))?{h:t[1],s:t[2],l:t[3],a:t[4]}:(t=An.hsv.exec(e))?{h:t[1],s:t[2],v:t[3]}:(t=An.hsva.exec(e))?{h:t[1],s:t[2],v:t[3],a:t[4]}:(t=An.hex8.exec(e))?{r:vn(t[1]),g:vn(t[2]),b:vn(t[3]),a:Tn(t[4]),format:n?"name":"hex8"}:(t=An.hex6.exec(e))?{r:vn(t[1]),g:vn(t[2]),b:vn(t[3]),format:n?"name":"hex"}:(t=An.hex4.exec(e))?{r:vn(t[1]+""+t[1]),g:vn(t[2]+""+t[2]),b:vn(t[3]+""+t[3]),a:Tn(t[4]+""+t[4]),format:n?"name":"hex8"}:!!(t=An.hex3.exec(e))&&{r:vn(t[1]+""+t[1]),g:vn(t[2]+""+t[2]),b:vn(t[3]+""+t[3]),format:n?"name":"hex"}}(e)),"object"==Wt(e)&&(Rn(e.r)&&Rn(e.g)&&Rn(e.b)?(t=e.r,n=e.g,r=e.b,i={r:255*gn(t,255),g:255*gn(n,255),b:255*gn(r,255)},c=!0,u="%"===String(e.r).substr(-1)?"prgb":"rgb"):Rn(e.h)&&Rn(e.s)&&Rn(e.v)?(a=bn(e.s),s=bn(e.v),i=function(e,t,n){e=6*gn(e,360),t=gn(t,100),n=gn(n,100);var r=Math.floor(e),i=e-r,o=n*(1-t),a=n*(1-i*t),s=n*(1-(1-i)*t),l=r%6;return{r:255*[n,a,o,o,s,n][l],g:255*[s,n,n,a,o,o][l],b:255*[o,o,s,n,n,a][l]}}(e.h,a,s),c=!0,u="hsv"):Rn(e.h)&&Rn(e.s)&&Rn(e.l)&&(a=bn(e.s),l=bn(e.l),i=function(e,t,n){var r,i,o;function a(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}if(e=gn(e,360),t=gn(t,100),n=gn(n,100),0===t)r=i=o=n;else{var s=n<.5?n*(1+t):n+t-n*t,l=2*n-s;r=a(l,s,e+1/3),i=a(l,s,e),o=a(l,s,e-1/3)}return{r:255*r,g:255*i,b:255*o}}(e.h,a,l),c=!0,u="hsl"),e.hasOwnProperty("a")&&(o=e.a)),o=mn(o),{ok:c,format:e.format||u,r:Math.min(255,Math.max(i.r,0)),g:Math.min(255,Math.max(i.g,0)),b:Math.min(255,Math.max(i.b,0)),a:o}}(e);this._originalInput=e,this._r=n.r,this._g=n.g,this._b=n.b,this._a=n.a,this._roundA=Math.round(100*this._a)/100,this._format=t.format||n.format,this._gradientType=t.gradientType,this._r<1&&(this._r=Math.round(this._r)),this._g<1&&(this._g=Math.round(this._g)),this._b<1&&(this._b=Math.round(this._b)),this._ok=n.ok}function Xt(e,t,n){e=gn(e,255),t=gn(t,255),n=gn(n,255);var r,i,o=Math.max(e,t,n),a=Math.min(e,t,n),s=(o+a)/2;if(o==a)r=i=0;else{var l=o-a;switch(i=s>.5?l/(2-o-a):l/(o+a),o){case e:r=(t-n)/l+(t<n?6:0);break;case t:r=(n-e)/l+2;break;case n:r=(e-t)/l+4}r/=6}return{h:r,s:i,l:s}}function Zt(e,t,n){e=gn(e,255),t=gn(t,255),n=gn(n,255);var r,i,o=Math.max(e,t,n),a=Math.min(e,t,n),s=o,l=o-a;if(i=0===o?0:l/o,o==a)r=0;else{switch(o){case e:r=(t-n)/l+(t<n?6:0);break;case t:r=(n-e)/l+2;break;case n:r=(e-t)/l+4}r/=6}return{h:r,s:i,v:s}}function Qt(e,t,n,r){var i=[_n(Math.round(e).toString(16)),_n(Math.round(t).toString(16)),_n(Math.round(n).toString(16))];return r&&i[0].charAt(0)==i[0].charAt(1)&&i[1].charAt(0)==i[1].charAt(1)&&i[2].charAt(0)==i[2].charAt(1)?i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0):i.join("")}function Jt(e,t,n,r){return[_n(En(r)),_n(Math.round(e).toString(16)),_n(Math.round(t).toString(16)),_n(Math.round(n).toString(16))].join("")}function en(e,t){t=0===t?0:t||10;var n=qt(e).toHsl();return n.s-=t/100,n.s=yn(n.s),qt(n)}function tn(e,t){t=0===t?0:t||10;var n=qt(e).toHsl();return n.s+=t/100,n.s=yn(n.s),qt(n)}function nn(e){return qt(e).desaturate(100)}function rn(e,t){t=0===t?0:t||10;var n=qt(e).toHsl();return n.l+=t/100,n.l=yn(n.l),qt(n)}function on(e,t){t=0===t?0:t||10;var n=qt(e).toRgb();return n.r=Math.max(0,Math.min(255,n.r-Math.round(-t/100*255))),n.g=Math.max(0,Math.min(255,n.g-Math.round(-t/100*255))),n.b=Math.max(0,Math.min(255,n.b-Math.round(-t/100*255))),qt(n)}function an(e,t){t=0===t?0:t||10;var n=qt(e).toHsl();return n.l-=t/100,n.l=yn(n.l),qt(n)}function sn(e,t){var n=qt(e).toHsl(),r=(n.h+t)%360;return n.h=r<0?360+r:r,qt(n)}function ln(e){var t=qt(e).toHsl();return t.h=(t.h+180)%360,qt(t)}function cn(e,t){if(isNaN(t)||t<=0)throw new Error("Argument to polyad must be a positive number");for(var n=qt(e).toHsl(),r=[qt(e)],i=360/t,o=1;o<t;o++)r.push(qt({h:(n.h+o*i)%360,s:n.s,l:n.l}));return r}function un(e){var t=qt(e).toHsl(),n=t.h;return[qt(e),qt({h:(n+72)%360,s:t.s,l:t.l}),qt({h:(n+216)%360,s:t.s,l:t.l})]}function hn(e,t,n){t=t||6,n=n||30;var r=qt(e).toHsl(),i=360/n,o=[qt(e)];for(r.h=(r.h-(i*t>>1)+720)%360;--t;)r.h=(r.h+i)%360,o.push(qt(r));return o}function pn(e,t){t=t||6;for(var n=qt(e).toHsv(),r=n.h,i=n.s,o=n.v,a=[],s=1/t;t--;)a.push(qt({h:r,s:i,v:o})),o=(o+s)%1;return a}qt.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},getLuminance:function(){var e,t,n,r=this.toRgb();return e=r.r/255,t=r.g/255,n=r.b/255,.2126*(e<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4))+.7152*(t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4))+.0722*(n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4))},setAlpha:function(e){return this._a=mn(e),this._roundA=Math.round(100*this._a)/100,this},toHsv:function(){var e=Zt(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=Zt(this._r,this._g,this._b),t=Math.round(360*e.h),n=Math.round(100*e.s),r=Math.round(100*e.v);return 1==this._a?"hsv("+t+", "+n+"%, "+r+"%)":"hsva("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHsl:function(){var e=Xt(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=Xt(this._r,this._g,this._b),t=Math.round(360*e.h),n=Math.round(100*e.s),r=Math.round(100*e.l);return 1==this._a?"hsl("+t+", "+n+"%, "+r+"%)":"hsla("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHex:function(e){return Qt(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){return function(e,t,n,r,i){var o=[_n(Math.round(e).toString(16)),_n(Math.round(t).toString(16)),_n(Math.round(n).toString(16)),_n(En(r))];return i&&o[0].charAt(0)==o[0].charAt(1)&&o[1].charAt(0)==o[1].charAt(1)&&o[2].charAt(0)==o[2].charAt(1)&&o[3].charAt(0)==o[3].charAt(1)?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0)+o[3].charAt(0):o.join("")}(this._r,this._g,this._b,this._a,e)},toHex8String:function(e){return"#"+this.toHex8(e)},toRgb:function(){return{r:Math.round(this._r),g:Math.round(this._g),b:Math.round(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+")":"rgba("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:Math.round(100*gn(this._r,255))+"%",g:Math.round(100*gn(this._g,255))+"%",b:Math.round(100*gn(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+Math.round(100*gn(this._r,255))+"%, "+Math.round(100*gn(this._g,255))+"%, "+Math.round(100*gn(this._b,255))+"%)":"rgba("+Math.round(100*gn(this._r,255))+"%, "+Math.round(100*gn(this._g,255))+"%, "+Math.round(100*gn(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(fn[Qt(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+Jt(this._r,this._g,this._b,this._a),n=t,r=this._gradientType?"GradientType = 1, ":"";if(e){var i=qt(e);n="#"+Jt(i._r,i._g,i._b,i._a)}return"progid:DXImageTransform.Microsoft.gradient("+r+"startColorstr="+t+",endColorstr="+n+")"},toString:function(e){var t=!!e;e=e||this._format;var n=!1,r=this._a<1&&this._a>=0;return t||!r||"hex"!==e&&"hex6"!==e&&"hex3"!==e&&"hex4"!==e&&"hex8"!==e&&"name"!==e?("rgb"===e&&(n=this.toRgbString()),"prgb"===e&&(n=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(n=this.toHexString()),"hex3"===e&&(n=this.toHexString(!0)),"hex4"===e&&(n=this.toHex8String(!0)),"hex8"===e&&(n=this.toHex8String()),"name"===e&&(n=this.toName()),"hsl"===e&&(n=this.toHslString()),"hsv"===e&&(n=this.toHsvString()),n||this.toHexString()):"name"===e&&0===this._a?this.toName():this.toRgbString()},clone:function(){return qt(this.toString())},_applyModification:function(e,t){var n=e.apply(null,[this].concat([].slice.call(t)));return this._r=n._r,this._g=n._g,this._b=n._b,this.setAlpha(n._a),this},lighten:function(){return this._applyModification(rn,arguments)},brighten:function(){return this._applyModification(on,arguments)},darken:function(){return this._applyModification(an,arguments)},desaturate:function(){return this._applyModification(en,arguments)},saturate:function(){return this._applyModification(tn,arguments)},greyscale:function(){return this._applyModification(nn,arguments)},spin:function(){return this._applyModification(sn,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(hn,arguments)},complement:function(){return this._applyCombination(ln,arguments)},monochromatic:function(){return this._applyCombination(pn,arguments)},splitcomplement:function(){return this._applyCombination(un,arguments)},triad:function(){return this._applyCombination(cn,[3])},tetrad:function(){return this._applyCombination(cn,[4])}},qt.fromRatio=function(e,t){if("object"==Wt(e)){var n={};for(var r in e)e.hasOwnProperty(r)&&(n[r]="a"===r?e[r]:bn(e[r]));e=n}return qt(e,t)},qt.equals=function(e,t){return!(!e||!t)&&qt(e).toRgbString()==qt(t).toRgbString()},qt.random=function(){return qt.fromRatio({r:Math.random(),g:Math.random(),b:Math.random()})},qt.mix=function(e,t,n){n=0===n?0:n||50;var r=qt(e).toRgb(),i=qt(t).toRgb(),o=n/100;return qt({r:(i.r-r.r)*o+r.r,g:(i.g-r.g)*o+r.g,b:(i.b-r.b)*o+r.b,a:(i.a-r.a)*o+r.a})},qt.readability=function(e,t){var n=qt(e),r=qt(t);return(Math.max(n.getLuminance(),r.getLuminance())+.05)/(Math.min(n.getLuminance(),r.getLuminance())+.05)},qt.isReadable=function(e,t,n){var r,i,o,a,s,l=qt.readability(e,t);switch(i=!1,(o=n,"AA"!==(a=((o=o||{level:"AA",size:"small"}).level||"AA").toUpperCase())&&"AAA"!==a&&(a="AA"),"small"!==(s=(o.size||"small").toLowerCase())&&"large"!==s&&(s="small"),r={level:a,size:s}).level+r.size){case"AAsmall":case"AAAlarge":i=l>=4.5;break;case"AAlarge":i=l>=3;break;case"AAAsmall":i=l>=7}return i},qt.mostReadable=function(e,t,n){var r,i,o,a,s=null,l=0;i=(n=n||{}).includeFallbackColors,o=n.level,a=n.size;for(var c=0;c<t.length;c++)(r=qt.readability(e,t[c]))>l&&(l=r,s=qt(t[c]));return qt.isReadable(e,s,{level:o,size:a})||!i?s:(n.includeFallbackColors=!1,qt.mostReadable(e,["#fff","#000"],n))};var dn=qt.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},fn=qt.hexNames=function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}(dn);function mn(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function gn(e,t){(function(e){return"string"==typeof e&&-1!=e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var n=function(e){return"string"==typeof e&&-1!=e.indexOf("%")}(e);return e=Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(e*t,10)/100),Math.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function yn(e){return Math.min(1,Math.max(0,e))}function vn(e){return parseInt(e,16)}function _n(e){return 1==e.length?"0"+e:""+e}function bn(e){return e<=1&&(e=100*e+"%"),e}function En(e){return Math.round(255*parseFloat(e)).toString(16)}function Tn(e){return vn(e)/255}var xn,Sn,Cn,An=(Sn="[\\s|\\(]+("+(xn="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+xn+")[,|\\s]+("+xn+")\\s*\\)?",Cn="[\\s|\\(]+("+xn+")[,|\\s]+("+xn+")[,|\\s]+("+xn+")[,|\\s]+("+xn+")\\s*\\)?",{CSS_UNIT:new RegExp(xn),rgb:new RegExp("rgb"+Sn),rgba:new RegExp("rgba"+Cn),hsl:new RegExp("hsl"+Sn),hsla:new RegExp("hsla"+Cn),hsv:new RegExp("hsv"+Sn),hsva:new RegExp("hsva"+Cn),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/});function Rn(e){return!!An.CSS_UNIT.exec(e)}var wn=function(e){var t=0,n=0;return $t(["r","g","b","a","h","s","l","v"],(function(r){e[r]&&(t+=1,isNaN(e[r])||(n+=1),"s"===r||"l"===r)&&/^\d+%$/.test(e[r])&&(n+=1)})),t===n&&e},Ln=function(e,t){var n=e.hex?qt(e.hex):qt(e),r=n.toHsl(),i=n.toHsv(),o=n.toRgb(),a=n.toHex();return 0===r.s&&(r.h=t||0,i.h=t||0),{hsl:r,hex:"000000"===a&&0===o.a?"transparent":"#"+a,rgb:o,hsv:i,oldHue:e.h||t||r.h,source:e.source}},On=function(e){if("transparent"===e)return!0;var t="#"===String(e).charAt(0)?1:0;return e.length!==4+t&&e.length<7+t&&qt(e).isValid()},Nn=function(e){if(!e)return"#fff";var t=Ln(e);return"transparent"===t.hex?"rgba(0,0,0,0.4)":(299*t.rgb.r+587*t.rgb.g+114*t.rgb.b)/1e3>=128?"#000":"#fff"},In=function(e,t){return qt(t+" ("+e.replace("°","")+")")._ok},kn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Dn=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();const Pn=function(e){var t=function(t){function n(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n);var t=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(n.__proto__||Object.getPrototypeOf(n)).call(this));return t.handleChange=function(e,n){if(wn(e)){var r=Ln(e,e.h||t.state.oldHue);t.setState(r),t.props.onChangeComplete&&t.debounce(t.props.onChangeComplete,r,n),t.props.onChange&&t.props.onChange(r,n)}},t.handleSwatchHover=function(e,n){if(wn(e)){var r=Ln(e,e.h||t.state.oldHue);t.props.onSwatchHover&&t.props.onSwatchHover(r,n)}},t.state=kn({},Ln(e.color,0)),t.debounce=Mt((function(e,t,n){e(t,n)}),100),t}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(n,t),Dn(n,[{key:"render",value:function(){var t={};return this.props.onSwatchHover&&(t.onSwatchHover=this.handleSwatchHover),i().createElement(e,kn({},this.props,this.state,{onChange:this.handleChange},t))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return kn({},Ln(e.color,t.oldHue))}}]),n}(r.PureComponent||r.Component);return t.propTypes=kn({},e.propTypes),t.defaultProps=kn({},e.defaultProps,{color:{h:250,s:.5,l:.2,a:1}}),t};var Mn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Fn=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function Hn(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var Bn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};const Un=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"span";return function(n){function r(){var e,t,n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,r);for(var i=arguments.length,o=Array(i),a=0;a<i;a++)o[a]=arguments[a];return t=n=Hn(this,(e=r.__proto__||Object.getPrototypeOf(r)).call.apply(e,[this].concat(o))),n.state={focus:!1},n.handleFocus=function(){return n.setState({focus:!0})},n.handleBlur=function(){return n.setState({focus:!1})},Hn(n,t)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(r,n),Fn(r,[{key:"render",value:function(){return i().createElement(t,{onFocus:this.handleFocus,onBlur:this.handleBlur},i().createElement(e,Mn({},this.props,this.state)))}}]),r}(i().Component)}((function(e){var t=e.color,n=e.style,r=e.onClick,a=void 0===r?function(){}:r,s=e.onHover,l=e.title,c=void 0===l?t:l,h=e.children,p=e.focus,d=e.focusStyle,f=void 0===d?{}:d,m="transparent"===t,g=(0,o.ZP)({default:{swatch:Bn({background:t,height:"100%",width:"100%",cursor:"pointer",position:"relative",outline:"none"},n,p?f:{})}}),y={};return s&&(y.onMouseOver=function(e){return s(t,e)}),i().createElement("div",Bn({style:g.swatch,onClick:function(e){return a(t,e)},title:c,tabIndex:0,onKeyDown:function(e){return 13===e.keyCode&&a(t,e)}},y),h,m&&i().createElement(u,{borderRadius:g.swatch.borderRadius,boxShadow:"inset 0 0 0 1px rgba(0,0,0,0.1)"}))}));var jn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Gn=function(e){var t=e.rgb,n=e.hsl,r=e.width,a=e.height,s=e.onChange,l=e.direction,c=e.style,u=e.renderers,h=e.pointer,p=e.className,d=void 0===p?"":p,m=(0,o.ZP)({default:{picker:{position:"relative",width:r,height:a},alpha:{radius:"2px",style:c}}});return i().createElement("div",{style:m.picker,className:"alpha-picker "+d},i().createElement(f,jn({},m.alpha,{rgb:t,hsl:n,pointer:h,renderers:u,onChange:s,direction:l})))};Gn.defaultProps={width:"316px",height:"16px",direction:"horizontal",pointer:function(e){var t=e.direction,n=(0,o.ZP)({default:{picker:{width:"18px",height:"18px",borderRadius:"50%",transform:"translate(-9px, -1px)",backgroundColor:"rgb(248, 248, 248)",boxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.37)"}},vertical:{picker:{transform:"translate(-3px, -9px)"}}},{vertical:"vertical"===t});return i().createElement("div",{style:n.picker})}},Pn(Gn);const Yn=function(e,t){for(var n=-1,r=null==e?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i};function zn(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new ce;++t<n;)this.add(e[t])}zn.prototype.add=zn.prototype.push=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this},zn.prototype.has=function(e){return this.__data__.has(e)};const $n=zn,Wn=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1},Vn=function(e,t,n,r,i,o){var a=1&n,s=e.length,l=t.length;if(s!=l&&!(a&&l>s))return!1;var c=o.get(e),u=o.get(t);if(c&&u)return c==t&&u==e;var h=-1,p=!0,d=2&n?new $n:void 0;for(o.set(e,t),o.set(t,e);++h<s;){var f=e[h],m=t[h];if(r)var g=a?r(m,f,h,t,e,o):r(f,m,h,e,t,o);if(void 0!==g){if(g)continue;p=!1;break}if(d){if(!Wn(t,(function(e,t){if(a=t,!d.has(a)&&(f===e||i(f,e,n,r,o)))return d.push(t);var a}))){p=!1;break}}else if(f!==m&&!i(f,m,n,r,o)){p=!1;break}}return o.delete(e),o.delete(t),p},Kn=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n},qn=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n};var Xn=I?I.prototype:void 0,Zn=Xn?Xn.valueOf:void 0;var Qn=Object.prototype.propertyIsEnumerable,Jn=Object.getOwnPropertySymbols;const er=Jn?function(e){return null==e?[]:(e=Object(e),function(e,t){for(var n=-1,r=null==e?0:e.length,i=0,o=[];++n<r;){var a=e[n];t(a,n,e)&&(o[i++]=a)}return o}(Jn(e),(function(t){return Qn.call(e,t)})))}:function(){return[]},tr=function(e){return function(e,t,n){var r=t(e);return De(e)?r:function(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}(r,n(e))}(e,Yt,er)};var nr=Object.prototype.hasOwnProperty;const rr=ee(N,"DataView"),ir=ee(N,"Promise"),or=ee(N,"Set"),ar=ee(N,"WeakMap");var sr="[object Map]",lr="[object Promise]",cr="[object Set]",ur="[object WeakMap]",hr="[object DataView]",pr=W(rr),dr=W(te),fr=W(ir),mr=W(or),gr=W(ar),yr=B;(rr&&yr(new rr(new ArrayBuffer(1)))!=hr||te&&yr(new te)!=sr||ir&&yr(ir.resolve())!=lr||or&&yr(new or)!=cr||ar&&yr(new ar)!=ur)&&(yr=function(e){var t=B(e),n="[object Object]"==t?e.constructor:void 0,r=n?W(n):"";if(r)switch(r){case pr:return hr;case dr:return sr;case fr:return lr;case mr:return cr;case gr:return ur}return t});const vr=yr;var _r="[object Arguments]",br="[object Array]",Er="[object Object]",Tr=Object.prototype.hasOwnProperty;const xr=function(e,t,n,r,i,o){var a=De(e),s=De(t),l=a?br:vr(e),c=s?br:vr(t),u=(l=l==_r?Er:l)==Er,h=(c=c==_r?Er:c)==Er,p=l==c;if(p&&Ue(e)){if(!Ue(t))return!1;a=!0,u=!1}if(p&&!u)return o||(o=new he),a||Qe(e)?Vn(e,t,n,r,i,o):function(e,t,n,r,i,o,a){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!o(new be(e),new be(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return S(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var s=Kn;case"[object Set]":var l=1&r;if(s||(s=qn),e.size!=t.size&&!l)return!1;var c=a.get(e);if(c)return c==t;r|=2,a.set(e,t);var u=Vn(s(e),s(t),r,i,o,a);return a.delete(e),u;case"[object Symbol]":if(Zn)return Zn.call(e)==Zn.call(t)}return!1}(e,t,l,n,r,i,o);if(!(1&n)){var d=u&&Tr.call(e,"__wrapped__"),f=h&&Tr.call(t,"__wrapped__");if(d||f){var m=d?e.value():e,g=f?t.value():t;return o||(o=new he),i(m,g,n,r,o)}}return!!p&&(o||(o=new he),function(e,t,n,r,i,o){var a=1&n,s=tr(e),l=s.length;if(l!=tr(t).length&&!a)return!1;for(var c=l;c--;){var u=s[c];if(!(a?u in t:nr.call(t,u)))return!1}var h=o.get(e),p=o.get(t);if(h&&p)return h==t&&p==e;var d=!0;o.set(e,t),o.set(t,e);for(var f=a;++c<l;){var m=e[u=s[c]],g=t[u];if(r)var y=a?r(g,m,u,t,e,o):r(m,g,u,e,t,o);if(!(void 0===y?m===g||i(m,g,n,r,o):y)){d=!1;break}f||(f="constructor"==u)}if(d&&!f){var v=e.constructor,_=t.constructor;v==_||!("constructor"in e)||!("constructor"in t)||"function"==typeof v&&v instanceof v&&"function"==typeof _&&_ instanceof _||(d=!1)}return o.delete(e),o.delete(t),d}(e,t,n,r,i,o))},Sr=function e(t,n,r,i,o){return t===n||(null==t||null==n||!we(t)&&!we(n)?t!=t&&n!=n:xr(t,n,r,i,e,o))},Cr=function(e){return e==e&&!U(e)},Ar=function(e,t){return function(n){return null!=n&&n[e]===t&&(void 0!==t||e in Object(n))}},Rr=function(e){var t=function(e){for(var t=Yt(e),n=t.length;n--;){var r=t[n],i=e[r];t[n]=[r,i,Cr(i)]}return t}(e);return 1==t.length&&t[0][2]?Ar(t[0][0],t[0][1]):function(n){return n===e||function(e,t,n,r){var i=n.length,o=i,a=!r;if(null==e)return!o;for(e=Object(e);i--;){var s=n[i];if(a&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++i<o;){var l=(s=n[i])[0],c=e[l],u=s[1];if(a&&s[2]){if(void 0===c&&!(l in e))return!1}else{var h=new he;if(r)var p=r(c,u,l,e,t,h);if(!(void 0===p?Sr(u,c,3,r,h):p))return!1}}return!0}(n,e,t)}};var wr=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Lr=/^\w*$/;const Or=function(e,t){if(De(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!wt(e))||Lr.test(e)||!wr.test(e)||null!=t&&e in Object(t)};function Nr(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=e.apply(this,r);return n.cache=o.set(i,a)||o,a};return n.cache=new(Nr.Cache||ce),n}Nr.Cache=ce;var Ir=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,kr=/\\(\\)?/g;const Dr=(Pr=Nr((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(Ir,(function(e,n,r,i){t.push(r?i.replace(kr,"$1"):n||e)})),t}),(function(e){return 500===Mr.size&&Mr.clear(),e})),Mr=Pr.cache,Pr);var Pr,Mr,Fr=I?I.prototype:void 0,Hr=Fr?Fr.toString:void 0;const Br=function e(t){if("string"==typeof t)return t;if(De(t))return Yn(t,e)+"";if(wt(t))return Hr?Hr.call(t):"";var n=t+"";return"0"==n&&1/t==-1/0?"-0":n},Ur=function(e){return null==e?"":Br(e)},jr=function(e,t){return De(e)?e:Or(e,t)?[e]:Dr(Ur(e))},Gr=function(e){if("string"==typeof e||wt(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t},Yr=function(e,t){for(var n=0,r=(t=jr(t,e)).length;null!=e&&n<r;)e=e[Gr(t[n++])];return n&&n==r?e:void 0},zr=function(e,t){return null!=e&&t in Object(e)},$r=function(e,t){return null!=e&&function(e,t,n){for(var r=-1,i=(t=jr(t,e)).length,o=!1;++r<i;){var a=Gr(t[r]);if(!(o=null!=e&&n(e,a)))break;e=e[a]}return o||++r!=i?o:!!(i=null==e?0:e.length)&&Pe(i)&&it(a,i)&&(De(e)||ke(e))}(e,t,zr)},Wr=function(e,t){return Or(e)&&Cr(t)?Ar(Gr(e),t):function(n){var r=function(e,t,n){var r=null==e?void 0:Yr(e,t);return void 0===r?n:r}(n,e);return void 0===r&&r===t?$r(n,e):Sr(t,r,3)}},Vr=function(e){return Or(e)?(t=Gr(e),function(e){return null==e?void 0:e[t]}):function(e){return function(t){return Yr(t,e)}}(e);var t},Kr=function(e,t){var n=-1,r=Me(e)?Array(e.length):[];return zt(e,(function(e,i,o){r[++n]=t(e,i,o)})),r},qr=function(e,t){return(De(e)?Yn:Kr)(e,function(e){return"function"==typeof e?e:null==e?dt:"object"==typeof e?De(e)?Wr(e[0],e[1]):Rr(e):Vr(e)}(t))},Xr=function(e){var t=e.colors,n=e.onClick,r=e.onSwatchHover,a=(0,o.ZP)({default:{swatches:{marginRight:"-10px"},swatch:{width:"22px",height:"22px",float:"left",marginRight:"10px",marginBottom:"10px",borderRadius:"4px"},clear:{clear:"both"}}});return i().createElement("div",{style:a.swatches},qr(t,(function(e){return i().createElement(Un,{key:e,color:e,style:a.swatch,onClick:n,onHover:r,focusStyle:{boxShadow:"0 0 4px "+e}})})),i().createElement("div",{style:a.clear}))};var Zr=function(e){var t=e.onChange,n=e.onSwatchHover,r=e.hex,a=e.colors,s=e.width,l=e.triangle,c=e.styles,h=void 0===c?{}:c,p=e.className,d=void 0===p?"":p,f="transparent"===r,m=function(e,n){On(e)&&t({hex:e,source:"hex"},n)},g=(0,o.ZP)(bt({default:{card:{width:s,background:"#fff",boxShadow:"0 1px rgba(0,0,0,.1)",borderRadius:"6px",position:"relative"},head:{height:"110px",background:r,borderRadius:"6px 6px 0 0",display:"flex",alignItems:"center",justifyContent:"center",position:"relative"},body:{padding:"10px"},label:{fontSize:"18px",color:Nn(r),position:"relative"},triangle:{width:"0px",height:"0px",borderStyle:"solid",borderWidth:"0 10px 10px 10px",borderColor:"transparent transparent "+r+" transparent",position:"absolute",top:"-10px",left:"50%",marginLeft:"-10px"},input:{width:"100%",fontSize:"12px",color:"#666",border:"0px",outline:"none",height:"22px",boxShadow:"inset 0 0 0 1px #ddd",borderRadius:"4px",padding:"0 7px",boxSizing:"border-box"}},"hide-triangle":{triangle:{display:"none"}}},h),{"hide-triangle":"hide"===l});return i().createElement("div",{style:g.card,className:"block-picker "+d},i().createElement("div",{style:g.triangle}),i().createElement("div",{style:g.head},f&&i().createElement(u,{borderRadius:"6px 6px 0 0"}),i().createElement("div",{style:g.label},r)),i().createElement("div",{style:g.body},i().createElement(Xr,{colors:a,onClick:m,onSwatchHover:n}),i().createElement(v,{style:{input:g.input},value:r,onChange:m})))};Zr.propTypes={width:x().oneOfType([x().string,x().number]),colors:x().arrayOf(x().string),triangle:x().oneOf(["top","hide"]),styles:x().object},Zr.defaultProps={width:170,colors:["#D9E3F0","#F47373","#697689","#37D67A","#2CCCE4","#555555","#dce775","#ff8a65","#ba68c8"],triangle:"top",styles:{}},Pn(Zr);var Qr="#ffcdd2",Jr="#e57373",ei="#f44336",ti="#d32f2f",ni="#b71c1c",ri="#f8bbd0",ii="#f06292",oi="#e91e63",ai="#c2185b",si="#880e4f",li="#e1bee7",ci="#ba68c8",ui="#9c27b0",hi="#7b1fa2",pi="#4a148c",di="#d1c4e9",fi="#9575cd",mi="#673ab7",gi="#512da8",yi="#311b92",vi="#c5cae9",_i="#7986cb",bi="#3f51b5",Ei="#303f9f",Ti="#1a237e",xi="#bbdefb",Si="#64b5f6",Ci="#2196f3",Ai="#1976d2",Ri="#0d47a1",wi="#b3e5fc",Li="#4fc3f7",Oi="#03a9f4",Ni="#0288d1",Ii="#01579b",ki="#b2ebf2",Di="#4dd0e1",Pi="#00bcd4",Mi="#0097a7",Fi="#006064",Hi="#b2dfdb",Bi="#4db6ac",Ui="#009688",ji="#00796b",Gi="#004d40",Yi="#c8e6c9",zi="#81c784",$i="#4caf50",Wi="#388e3c",Vi="#dcedc8",Ki="#aed581",qi="#8bc34a",Xi="#689f38",Zi="#33691e",Qi="#f0f4c3",Ji="#dce775",eo="#cddc39",to="#afb42b",no="#827717",ro="#fff9c4",io="#fff176",oo="#ffeb3b",ao="#fbc02d",so="#f57f17",lo="#ffecb3",co="#ffd54f",uo="#ffc107",ho="#ffa000",po="#ff6f00",fo="#ffe0b2",mo="#ffb74d",go="#ff9800",yo="#f57c00",vo="#e65100",_o="#ffccbc",bo="#ff8a65",Eo="#ff5722",To="#e64a19",xo="#bf360c",So="#d7ccc8",Co="#a1887f",Ao="#795548",Ro="#5d4037",wo="#3e2723",Lo="#cfd8dc",Oo="#90a4ae",No="#607d8b",Io="#455a64",ko="#263238",Do=function(e){var t=e.color,n=e.onClick,r=e.onSwatchHover,a=e.hover,s=e.active,l=e.circleSize,c=e.circleSpacing,u=(0,o.ZP)({default:{swatch:{width:l,height:l,marginRight:c,marginBottom:c,transform:"scale(1)",transition:"100ms transform ease"},Swatch:{borderRadius:"50%",background:"transparent",boxShadow:"inset 0 0 0 "+(l/2+1)+"px "+t,transition:"100ms box-shadow ease"}},hover:{swatch:{transform:"scale(1.2)"}},active:{Swatch:{boxShadow:"inset 0 0 0 3px "+t}}},{hover:a,active:s});return i().createElement("div",{style:u.swatch},i().createElement(Un,{style:u.Swatch,color:t,onClick:n,onHover:r,focusStyle:{boxShadow:u.Swatch.boxShadow+", 0 0 5px "+t}}))};Do.defaultProps={circleSize:28,circleSpacing:14};const Po=(0,o.tz)(Do);var Mo=function(e){var t=e.width,n=e.onChange,r=e.onSwatchHover,a=e.colors,s=e.hex,l=e.circleSize,c=e.styles,u=void 0===c?{}:c,h=e.circleSpacing,p=e.className,d=void 0===p?"":p,f=(0,o.ZP)(bt({default:{card:{width:t,display:"flex",flexWrap:"wrap",marginRight:-h,marginBottom:-h}}},u)),m=function(e,t){return n({hex:e,source:"hex"},t)};return i().createElement("div",{style:f.card,className:"circle-picker "+d},qr(a,(function(e){return i().createElement(Po,{key:e,color:e,onClick:m,onSwatchHover:r,active:s===e.toLowerCase(),circleSize:l,circleSpacing:h})})))};Mo.propTypes={width:x().oneOfType([x().string,x().number]),circleSize:x().number,circleSpacing:x().number,styles:x().object},Mo.defaultProps={width:252,circleSize:28,circleSpacing:14,colors:[ei,oi,ui,mi,bi,Ci,Oi,Pi,Ui,$i,qi,eo,oo,uo,go,Eo,Ao,No],styles:{}},Pn(Mo);const Fo=function(e){return void 0===e};var Ho=n(2357),Bo=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),Uo=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return n.toggleViews=function(){"hex"===n.state.view?n.setState({view:"rgb"}):"rgb"===n.state.view?n.setState({view:"hsl"}):"hsl"===n.state.view&&(1===n.props.hsl.a?n.setState({view:"hex"}):n.setState({view:"rgb"}))},n.handleChange=function(e,t){e.hex?On(e.hex)&&n.props.onChange({hex:e.hex,source:"hex"},t):e.r||e.g||e.b?n.props.onChange({r:e.r||n.props.rgb.r,g:e.g||n.props.rgb.g,b:e.b||n.props.rgb.b,source:"rgb"},t):e.a?(e.a<0?e.a=0:e.a>1&&(e.a=1),n.props.onChange({h:n.props.hsl.h,s:n.props.hsl.s,l:n.props.hsl.l,a:Math.round(100*e.a)/100,source:"rgb"},t)):(e.h||e.s||e.l)&&("string"==typeof e.s&&e.s.includes("%")&&(e.s=e.s.replace("%","")),"string"==typeof e.l&&e.l.includes("%")&&(e.l=e.l.replace("%","")),1==e.s?e.s=.01:1==e.l&&(e.l=.01),n.props.onChange({h:e.h||n.props.hsl.h,s:Number(Fo(e.s)?n.props.hsl.s:e.s),l:Number(Fo(e.l)?n.props.hsl.l:e.l),source:"hsl"},t))},n.showHighlight=function(e){e.currentTarget.style.background="#eee"},n.hideHighlight=function(e){e.currentTarget.style.background="transparent"},1!==e.hsl.a&&"hex"===e.view?n.state={view:"rgb"}:n.state={view:e.view},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),Bo(t,[{key:"render",value:function(){var e=this,t=(0,o.ZP)({default:{wrap:{paddingTop:"16px",display:"flex"},fields:{flex:"1",display:"flex",marginLeft:"-6px"},field:{paddingLeft:"6px",width:"100%"},alpha:{paddingLeft:"6px",width:"100%"},toggle:{width:"32px",textAlign:"right",position:"relative"},icon:{marginRight:"-4px",marginTop:"12px",cursor:"pointer",position:"relative"},iconHighlight:{position:"absolute",width:"24px",height:"28px",background:"#eee",borderRadius:"4px",top:"10px",left:"12px",display:"none"},input:{fontSize:"11px",color:"#333",width:"100%",borderRadius:"2px",border:"none",boxShadow:"inset 0 0 0 1px #dadada",height:"21px",textAlign:"center"},label:{textTransform:"uppercase",fontSize:"11px",lineHeight:"11px",color:"#969696",textAlign:"center",display:"block",marginTop:"12px"},svg:{fill:"#333",width:"24px",height:"24px",border:"1px transparent solid",borderRadius:"5px"}},disableAlpha:{alpha:{display:"none"}}},this.props,this.state),n=void 0;return"hex"===this.state.view?n=i().createElement("div",{style:t.fields,className:"flexbox-fix"},i().createElement("div",{style:t.field},i().createElement(v,{style:{input:t.input,label:t.label},label:"hex",value:this.props.hex,onChange:this.handleChange}))):"rgb"===this.state.view?n=i().createElement("div",{style:t.fields,className:"flexbox-fix"},i().createElement("div",{style:t.field},i().createElement(v,{style:{input:t.input,label:t.label},label:"r",value:this.props.rgb.r,onChange:this.handleChange})),i().createElement("div",{style:t.field},i().createElement(v,{style:{input:t.input,label:t.label},label:"g",value:this.props.rgb.g,onChange:this.handleChange})),i().createElement("div",{style:t.field},i().createElement(v,{style:{input:t.input,label:t.label},label:"b",value:this.props.rgb.b,onChange:this.handleChange})),i().createElement("div",{style:t.alpha},i().createElement(v,{style:{input:t.input,label:t.label},label:"a",value:this.props.rgb.a,arrowOffset:.01,onChange:this.handleChange}))):"hsl"===this.state.view&&(n=i().createElement("div",{style:t.fields,className:"flexbox-fix"},i().createElement("div",{style:t.field},i().createElement(v,{style:{input:t.input,label:t.label},label:"h",value:Math.round(this.props.hsl.h),onChange:this.handleChange})),i().createElement("div",{style:t.field},i().createElement(v,{style:{input:t.input,label:t.label},label:"s",value:Math.round(100*this.props.hsl.s)+"%",onChange:this.handleChange})),i().createElement("div",{style:t.field},i().createElement(v,{style:{input:t.input,label:t.label},label:"l",value:Math.round(100*this.props.hsl.l)+"%",onChange:this.handleChange})),i().createElement("div",{style:t.alpha},i().createElement(v,{style:{input:t.input,label:t.label},label:"a",value:this.props.hsl.a,arrowOffset:.01,onChange:this.handleChange})))),i().createElement("div",{style:t.wrap,className:"flexbox-fix"},n,i().createElement("div",{style:t.toggle},i().createElement("div",{style:t.icon,onClick:this.toggleViews,ref:function(t){return e.icon=t}},i().createElement(Ho.Z,{style:t.svg,onMouseOver:this.showHighlight,onMouseEnter:this.showHighlight,onMouseOut:this.hideHighlight}))))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return 1!==e.hsl.a&&"hex"===t.view?{view:"rgb"}:null}}]),t}(i().Component);Uo.defaultProps={view:"hex"};const jo=Uo,Go=function(){var e=(0,o.ZP)({default:{picker:{width:"12px",height:"12px",borderRadius:"6px",transform:"translate(-6px, -1px)",backgroundColor:"rgb(248, 248, 248)",boxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.37)"}}});return i().createElement("div",{style:e.picker})},Yo=function(){var e=(0,o.ZP)({default:{picker:{width:"12px",height:"12px",borderRadius:"6px",boxShadow:"inset 0 0 0 1px #fff",transform:"translate(-6px, -6px)"}}});return i().createElement("div",{style:e.picker})};var zo=function(e){var t=e.width,n=e.onChange,r=e.disableAlpha,a=e.rgb,s=e.hsl,l=e.hsv,c=e.hex,h=e.renderers,p=e.styles,d=void 0===p?{}:p,m=e.className,g=void 0===m?"":m,y=e.defaultView,v=(0,o.ZP)(bt({default:{picker:{width:t,background:"#fff",borderRadius:"2px",boxShadow:"0 0 2px rgba(0,0,0,.3), 0 4px 8px rgba(0,0,0,.3)",boxSizing:"initial",fontFamily:"Menlo"},saturation:{width:"100%",paddingBottom:"55%",position:"relative",borderRadius:"2px 2px 0 0",overflow:"hidden"},Saturation:{radius:"2px 2px 0 0"},body:{padding:"16px 16px 12px"},controls:{display:"flex"},color:{width:"32px"},swatch:{marginTop:"6px",width:"16px",height:"16px",borderRadius:"8px",position:"relative",overflow:"hidden"},active:{absolute:"0px 0px 0px 0px",borderRadius:"8px",boxShadow:"inset 0 0 0 1px rgba(0,0,0,.1)",background:"rgba("+a.r+", "+a.g+", "+a.b+", "+a.a+")",zIndex:"2"},toggles:{flex:"1"},hue:{height:"10px",position:"relative",marginBottom:"8px"},Hue:{radius:"2px"},alpha:{height:"10px",position:"relative"},Alpha:{radius:"2px"}},disableAlpha:{color:{width:"22px"},alpha:{display:"none"},hue:{marginBottom:"0px"},swatch:{width:"10px",height:"10px",marginTop:"0px"}}},d),{disableAlpha:r});return i().createElement("div",{style:v.picker,className:"chrome-picker "+g},i().createElement("div",{style:v.saturation},i().createElement(Bt,{style:v.Saturation,hsl:s,hsv:l,pointer:Yo,onChange:n})),i().createElement("div",{style:v.body},i().createElement("div",{style:v.controls,className:"flexbox-fix"},i().createElement("div",{style:v.color},i().createElement("div",{style:v.swatch},i().createElement("div",{style:v.active}),i().createElement(u,{renderers:h}))),i().createElement("div",{style:v.toggles},i().createElement("div",{style:v.hue},i().createElement(E,{style:v.Hue,hsl:s,pointer:Go,onChange:n})),i().createElement("div",{style:v.alpha},i().createElement(f,{style:v.Alpha,rgb:a,hsl:s,pointer:Go,renderers:h,onChange:n})))),i().createElement(jo,{rgb:a,hsl:s,hex:c,view:y,onChange:n,disableAlpha:r})))};zo.propTypes={width:x().oneOfType([x().string,x().number]),disableAlpha:x().bool,styles:x().object,defaultView:x().oneOf(["hex","rgb","hsl"])},zo.defaultProps={width:225,disableAlpha:!1,styles:{}},Pn(zo);const $o=function(e){var t=e.color,n=e.onClick,r=void 0===n?function(){}:n,a=e.onSwatchHover,s=e.active,l=(0,o.ZP)({default:{color:{background:t,width:"15px",height:"15px",float:"left",marginRight:"5px",marginBottom:"5px",position:"relative",cursor:"pointer"},dot:{absolute:"5px 5px 5px 5px",background:Nn(t),borderRadius:"50%",opacity:"0"}},active:{dot:{opacity:"1"}},"color-#FFFFFF":{color:{boxShadow:"inset 0 0 0 1px #ddd"},dot:{background:"#000"}},transparent:{dot:{background:"#000"}}},{active:s,"color-#FFFFFF":"#FFFFFF"===t,transparent:"transparent"===t});return i().createElement(Un,{style:l.color,color:t,onClick:r,onHover:a,focusStyle:{boxShadow:"0 0 4px "+t}},i().createElement("div",{style:l.dot}))},Wo=function(e){var t=e.hex,n=e.rgb,r=e.onChange,a=(0,o.ZP)({default:{fields:{display:"flex",paddingBottom:"6px",paddingRight:"5px",position:"relative"},active:{position:"absolute",top:"6px",left:"5px",height:"9px",width:"9px",background:t},HEXwrap:{flex:"6",position:"relative"},HEXinput:{width:"80%",padding:"0px",paddingLeft:"20%",border:"none",outline:"none",background:"none",fontSize:"12px",color:"#333",height:"16px"},HEXlabel:{display:"none"},RGBwrap:{flex:"3",position:"relative"},RGBinput:{width:"70%",padding:"0px",paddingLeft:"30%",border:"none",outline:"none",background:"none",fontSize:"12px",color:"#333",height:"16px"},RGBlabel:{position:"absolute",top:"3px",left:"0px",lineHeight:"16px",textTransform:"uppercase",fontSize:"12px",color:"#999"}}}),s=function(e,t){e.r||e.g||e.b?r({r:e.r||n.r,g:e.g||n.g,b:e.b||n.b,source:"rgb"},t):r({hex:e.hex,source:"hex"},t)};return i().createElement("div",{style:a.fields,className:"flexbox-fix"},i().createElement("div",{style:a.active}),i().createElement(v,{style:{wrap:a.HEXwrap,input:a.HEXinput,label:a.HEXlabel},label:"hex",value:t,onChange:s}),i().createElement(v,{style:{wrap:a.RGBwrap,input:a.RGBinput,label:a.RGBlabel},label:"r",value:n.r,onChange:s}),i().createElement(v,{style:{wrap:a.RGBwrap,input:a.RGBinput,label:a.RGBlabel},label:"g",value:n.g,onChange:s}),i().createElement(v,{style:{wrap:a.RGBwrap,input:a.RGBinput,label:a.RGBlabel},label:"b",value:n.b,onChange:s}))};var Vo=function(e){var t=e.onChange,n=e.onSwatchHover,r=e.colors,a=e.hex,s=e.rgb,l=e.styles,c=void 0===l?{}:l,u=e.className,h=void 0===u?"":u,p=(0,o.ZP)(bt({default:{Compact:{background:"#f6f6f6",radius:"4px"},compact:{paddingTop:"5px",paddingLeft:"5px",boxSizing:"initial",width:"240px"},clear:{clear:"both"}}},c)),d=function(e,n){e.hex?On(e.hex)&&t({hex:e.hex,source:"hex"},n):t(e,n)};return i().createElement(xt,{style:p.Compact,styles:c},i().createElement("div",{style:p.compact,className:"compact-picker "+h},i().createElement("div",null,qr(r,(function(e){return i().createElement($o,{key:e,color:e,active:e.toLowerCase()===a,onClick:d,onSwatchHover:n})})),i().createElement("div",{style:p.clear})),i().createElement(Wo,{hex:a,rgb:s,onChange:d})))};Vo.propTypes={colors:x().arrayOf(x().string),styles:x().object},Vo.defaultProps={colors:["#4D4D4D","#999999","#FFFFFF","#F44E3B","#FE9200","#FCDC00","#DBDF00","#A4DD00","#68CCCA","#73D8FF","#AEA1FF","#FDA1FF","#333333","#808080","#cccccc","#D33115","#E27300","#FCC400","#B0BC00","#68BC00","#16A5A5","#009CE0","#7B64FF","#FA28FF","#000000","#666666","#B3B3B3","#9F0500","#C45100","#FB9E00","#808900","#194D33","#0C797D","#0062B1","#653294","#AB149E"],styles:{}},Pn(Vo);const Ko=(0,o.tz)((function(e){var t=e.hover,n=e.color,r=e.onClick,a=e.onSwatchHover,s={position:"relative",zIndex:"2",outline:"2px solid #fff",boxShadow:"0 0 5px 2px rgba(0,0,0,0.25)"},l=(0,o.ZP)({default:{swatch:{width:"25px",height:"25px",fontSize:"0"}},hover:{swatch:s}},{hover:t});return i().createElement("div",{style:l.swatch},i().createElement(Un,{color:n,onClick:r,onHover:a,focusStyle:s}))}));var qo=function(e){var t=e.width,n=e.colors,r=e.onChange,a=e.onSwatchHover,s=e.triangle,l=e.styles,c=void 0===l?{}:l,u=e.className,h=void 0===u?"":u,p=(0,o.ZP)(bt({default:{card:{width:t,background:"#fff",border:"1px solid rgba(0,0,0,0.2)",boxShadow:"0 3px 12px rgba(0,0,0,0.15)",borderRadius:"4px",position:"relative",padding:"5px",display:"flex",flexWrap:"wrap"},triangle:{position:"absolute",border:"7px solid transparent",borderBottomColor:"#fff"},triangleShadow:{position:"absolute",border:"8px solid transparent",borderBottomColor:"rgba(0,0,0,0.15)"}},"hide-triangle":{triangle:{display:"none"},triangleShadow:{display:"none"}},"top-left-triangle":{triangle:{top:"-14px",left:"10px"},triangleShadow:{top:"-16px",left:"9px"}},"top-right-triangle":{triangle:{top:"-14px",right:"10px"},triangleShadow:{top:"-16px",right:"9px"}},"bottom-left-triangle":{triangle:{top:"35px",left:"10px",transform:"rotate(180deg)"},triangleShadow:{top:"37px",left:"9px",transform:"rotate(180deg)"}},"bottom-right-triangle":{triangle:{top:"35px",right:"10px",transform:"rotate(180deg)"},triangleShadow:{top:"37px",right:"9px",transform:"rotate(180deg)"}}},c),{"hide-triangle":"hide"===s,"top-left-triangle":"top-left"===s,"top-right-triangle":"top-right"===s,"bottom-left-triangle":"bottom-left"===s,"bottom-right-triangle":"bottom-right"===s}),d=function(e,t){return r({hex:e,source:"hex"},t)};return i().createElement("div",{style:p.card,className:"github-picker "+h},i().createElement("div",{style:p.triangleShadow}),i().createElement("div",{style:p.triangle}),qr(n,(function(e){return i().createElement(Ko,{color:e,key:e,onClick:d,onSwatchHover:a})})))};qo.propTypes={width:x().oneOfType([x().string,x().number]),colors:x().arrayOf(x().string),triangle:x().oneOf(["hide","top-left","top-right","bottom-left","bottom-right"]),styles:x().object},qo.defaultProps={width:200,colors:["#B80000","#DB3E00","#FCCB00","#008B02","#006B76","#1273DE","#004DCF","#5300EB","#EB9694","#FAD0C3","#FEF3BD","#C1E1C5","#BEDADC","#C4DEF6","#BED3F3","#D4C4FB"],triangle:"top-left",styles:{}},Pn(qo);var Xo=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Zo=function(e){var t=e.width,n=e.height,r=e.onChange,a=e.hsl,s=e.direction,l=e.pointer,c=e.styles,u=void 0===c?{}:c,h=e.className,p=void 0===h?"":h,d=(0,o.ZP)(bt({default:{picker:{position:"relative",width:t,height:n},hue:{radius:"2px"}}},u));return i().createElement("div",{style:d.picker,className:"hue-picker "+p},i().createElement(E,Xo({},d.hue,{hsl:a,pointer:l,onChange:function(e){return r({a:1,h:e.h,l:.5,s:1})},direction:s})))};Zo.propTypes={styles:x().object},Zo.defaultProps={width:"316px",height:"16px",direction:"horizontal",pointer:function(e){var t=e.direction,n=(0,o.ZP)({default:{picker:{width:"18px",height:"18px",borderRadius:"50%",transform:"translate(-9px, -1px)",backgroundColor:"rgb(248, 248, 248)",boxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.37)"}},vertical:{picker:{transform:"translate(-3px, -9px)"}}},{vertical:"vertical"===t});return i().createElement("div",{style:n.picker})},styles:{}},Pn(Zo),Pn((function(e){var t=e.onChange,n=e.hex,r=e.rgb,a=e.styles,s=void 0===a?{}:a,l=e.className,c=void 0===l?"":l,u=(0,o.ZP)(bt({default:{material:{width:"98px",height:"98px",padding:"16px",fontFamily:"Roboto"},HEXwrap:{position:"relative"},HEXinput:{width:"100%",marginTop:"12px",fontSize:"15px",color:"#333",padding:"0px",border:"0px",borderBottom:"2px solid "+n,outline:"none",height:"30px"},HEXlabel:{position:"absolute",top:"0px",left:"0px",fontSize:"11px",color:"#999999",textTransform:"capitalize"},Hex:{style:{}},RGBwrap:{position:"relative"},RGBinput:{width:"100%",marginTop:"12px",fontSize:"15px",color:"#333",padding:"0px",border:"0px",borderBottom:"1px solid #eee",outline:"none",height:"30px"},RGBlabel:{position:"absolute",top:"0px",left:"0px",fontSize:"11px",color:"#999999",textTransform:"capitalize"},split:{display:"flex",marginRight:"-10px",paddingTop:"11px"},third:{flex:"1",paddingRight:"10px"}}},s)),h=function(e,n){e.hex?On(e.hex)&&t({hex:e.hex,source:"hex"},n):(e.r||e.g||e.b)&&t({r:e.r||r.r,g:e.g||r.g,b:e.b||r.b,source:"rgb"},n)};return i().createElement(xt,{styles:s},i().createElement("div",{style:u.material,className:"material-picker "+c},i().createElement(v,{style:{wrap:u.HEXwrap,input:u.HEXinput,label:u.HEXlabel},label:"hex",value:n,onChange:h}),i().createElement("div",{style:u.split,className:"flexbox-fix"},i().createElement("div",{style:u.third},i().createElement(v,{style:{wrap:u.RGBwrap,input:u.RGBinput,label:u.RGBlabel},label:"r",value:r.r,onChange:h})),i().createElement("div",{style:u.third},i().createElement(v,{style:{wrap:u.RGBwrap,input:u.RGBinput,label:u.RGBlabel},label:"g",value:r.g,onChange:h})),i().createElement("div",{style:u.third},i().createElement(v,{style:{wrap:u.RGBwrap,input:u.RGBinput,label:u.RGBlabel},label:"b",value:r.b,onChange:h})))))}));const Qo=function(e){var t=e.onChange,n=e.rgb,r=e.hsv,a=e.hex,s=(0,o.ZP)({default:{fields:{paddingTop:"5px",paddingBottom:"9px",width:"80px",position:"relative"},divider:{height:"5px"},RGBwrap:{position:"relative"},RGBinput:{marginLeft:"40%",width:"40%",height:"18px",border:"1px solid #888888",boxShadow:"inset 0 1px 1px rgba(0,0,0,.1), 0 1px 0 0 #ECECEC",marginBottom:"5px",fontSize:"13px",paddingLeft:"3px",marginRight:"10px"},RGBlabel:{left:"0px",top:"0px",width:"34px",textTransform:"uppercase",fontSize:"13px",height:"18px",lineHeight:"22px",position:"absolute"},HEXwrap:{position:"relative"},HEXinput:{marginLeft:"20%",width:"80%",height:"18px",border:"1px solid #888888",boxShadow:"inset 0 1px 1px rgba(0,0,0,.1), 0 1px 0 0 #ECECEC",marginBottom:"6px",fontSize:"13px",paddingLeft:"3px"},HEXlabel:{position:"absolute",top:"0px",left:"0px",width:"14px",textTransform:"uppercase",fontSize:"13px",height:"18px",lineHeight:"22px"},fieldSymbols:{position:"absolute",top:"5px",right:"-7px",fontSize:"13px"},symbol:{height:"20px",lineHeight:"22px",paddingBottom:"7px"}}}),l=function(e,i){e["#"]?On(e["#"])&&t({hex:e["#"],source:"hex"},i):e.r||e.g||e.b?t({r:e.r||n.r,g:e.g||n.g,b:e.b||n.b,source:"rgb"},i):(e.h||e.s||e.v)&&t({h:e.h||r.h,s:e.s||r.s,v:e.v||r.v,source:"hsv"},i)};return i().createElement("div",{style:s.fields},i().createElement(v,{style:{wrap:s.RGBwrap,input:s.RGBinput,label:s.RGBlabel},label:"h",value:Math.round(r.h),onChange:l}),i().createElement(v,{style:{wrap:s.RGBwrap,input:s.RGBinput,label:s.RGBlabel},label:"s",value:Math.round(100*r.s),onChange:l}),i().createElement(v,{style:{wrap:s.RGBwrap,input:s.RGBinput,label:s.RGBlabel},label:"v",value:Math.round(100*r.v),onChange:l}),i().createElement("div",{style:s.divider}),i().createElement(v,{style:{wrap:s.RGBwrap,input:s.RGBinput,label:s.RGBlabel},label:"r",value:n.r,onChange:l}),i().createElement(v,{style:{wrap:s.RGBwrap,input:s.RGBinput,label:s.RGBlabel},label:"g",value:n.g,onChange:l}),i().createElement(v,{style:{wrap:s.RGBwrap,input:s.RGBinput,label:s.RGBlabel},label:"b",value:n.b,onChange:l}),i().createElement("div",{style:s.divider}),i().createElement(v,{style:{wrap:s.HEXwrap,input:s.HEXinput,label:s.HEXlabel},label:"#",value:a.replace("#",""),onChange:l}),i().createElement("div",{style:s.fieldSymbols},i().createElement("div",{style:s.symbol},"°"),i().createElement("div",{style:s.symbol},"%"),i().createElement("div",{style:s.symbol},"%")))},Jo=function(e){var t=e.hsl,n=(0,o.ZP)({default:{picker:{width:"12px",height:"12px",borderRadius:"6px",boxShadow:"inset 0 0 0 1px #fff",transform:"translate(-6px, -6px)"}},"black-outline":{picker:{boxShadow:"inset 0 0 0 1px #000"}}},{"black-outline":t.l>.5});return i().createElement("div",{style:n.picker})},ea=function(){var e=(0,o.ZP)({default:{triangle:{width:0,height:0,borderStyle:"solid",borderWidth:"4px 0 4px 6px",borderColor:"transparent transparent transparent #fff",position:"absolute",top:"1px",left:"1px"},triangleBorder:{width:0,height:0,borderStyle:"solid",borderWidth:"5px 0 5px 8px",borderColor:"transparent transparent transparent #555"},left:{Extend:"triangleBorder",transform:"translate(-13px, -4px)"},leftInside:{Extend:"triangle",transform:"translate(-8px, -5px)"},right:{Extend:"triangleBorder",transform:"translate(20px, -14px) rotate(180deg)"},rightInside:{Extend:"triangle",transform:"translate(-8px, -5px)"}}});return i().createElement("div",{style:e.pointer},i().createElement("div",{style:e.left},i().createElement("div",{style:e.leftInside})),i().createElement("div",{style:e.right},i().createElement("div",{style:e.rightInside})))},ta=function(e){var t=e.onClick,n=e.label,r=e.children,a=e.active,s=(0,o.ZP)({default:{button:{backgroundImage:"linear-gradient(-180deg, #FFFFFF 0%, #E6E6E6 100%)",border:"1px solid #878787",borderRadius:"2px",height:"20px",boxShadow:"0 1px 0 0 #EAEAEA",fontSize:"14px",color:"#000",lineHeight:"20px",textAlign:"center",marginBottom:"10px",cursor:"pointer"}},active:{button:{boxShadow:"0 0 0 1px #878787"}}},{active:a});return i().createElement("div",{style:s.button,onClick:t},n||r)},na=function(e){var t=e.rgb,n=e.currentColor,r=(0,o.ZP)({default:{swatches:{border:"1px solid #B3B3B3",borderBottom:"1px solid #F0F0F0",marginBottom:"2px",marginTop:"1px"},new:{height:"34px",background:"rgb("+t.r+","+t.g+", "+t.b+")",boxShadow:"inset 1px 0 0 #000, inset -1px 0 0 #000, inset 0 1px 0 #000"},current:{height:"34px",background:n,boxShadow:"inset 1px 0 0 #000, inset -1px 0 0 #000, inset 0 -1px 0 #000"},label:{fontSize:"14px",color:"#000",textAlign:"center"}}});return i().createElement("div",null,i().createElement("div",{style:r.label},"new"),i().createElement("div",{style:r.swatches},i().createElement("div",{style:r.new}),i().createElement("div",{style:r.current})),i().createElement("div",{style:r.label},"current"))};var ra=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),ia=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return n.state={currentColor:e.hex},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),ra(t,[{key:"render",value:function(){var e=this.props,t=e.styles,n=void 0===t?{}:t,r=e.className,a=void 0===r?"":r,s=(0,o.ZP)(bt({default:{picker:{background:"#DCDCDC",borderRadius:"4px",boxShadow:"0 0 0 1px rgba(0,0,0,.25), 0 8px 16px rgba(0,0,0,.15)",boxSizing:"initial",width:"513px"},head:{backgroundImage:"linear-gradient(-180deg, #F0F0F0 0%, #D4D4D4 100%)",borderBottom:"1px solid #B1B1B1",boxShadow:"inset 0 1px 0 0 rgba(255,255,255,.2), inset 0 -1px 0 0 rgba(0,0,0,.02)",height:"23px",lineHeight:"24px",borderRadius:"4px 4px 0 0",fontSize:"13px",color:"#4D4D4D",textAlign:"center"},body:{padding:"15px 15px 0",display:"flex"},saturation:{width:"256px",height:"256px",position:"relative",border:"2px solid #B3B3B3",borderBottom:"2px solid #F0F0F0",overflow:"hidden"},hue:{position:"relative",height:"256px",width:"19px",marginLeft:"10px",border:"2px solid #B3B3B3",borderBottom:"2px solid #F0F0F0"},controls:{width:"180px",marginLeft:"10px"},top:{display:"flex"},previews:{width:"60px"},actions:{flex:"1",marginLeft:"20px"}}},n));return i().createElement("div",{style:s.picker,className:"photoshop-picker "+a},i().createElement("div",{style:s.head},this.props.header),i().createElement("div",{style:s.body,className:"flexbox-fix"},i().createElement("div",{style:s.saturation},i().createElement(Bt,{hsl:this.props.hsl,hsv:this.props.hsv,pointer:Jo,onChange:this.props.onChange})),i().createElement("div",{style:s.hue},i().createElement(E,{direction:"vertical",hsl:this.props.hsl,pointer:ea,onChange:this.props.onChange})),i().createElement("div",{style:s.controls},i().createElement("div",{style:s.top,className:"flexbox-fix"},i().createElement("div",{style:s.previews},i().createElement(na,{rgb:this.props.rgb,currentColor:this.state.currentColor})),i().createElement("div",{style:s.actions},i().createElement(ta,{label:"OK",onClick:this.props.onAccept,active:!0}),i().createElement(ta,{label:"Cancel",onClick:this.props.onCancel}),i().createElement(Qo,{onChange:this.props.onChange,rgb:this.props.rgb,hsv:this.props.hsv,hex:this.props.hex}))))))}}]),t}(i().Component);ia.propTypes={header:x().string,styles:x().object},ia.defaultProps={header:"Color Picker",styles:{}},Pn(ia);const oa=function(e){var t=e.onChange,n=e.rgb,r=e.hsl,a=e.hex,s=e.disableAlpha,l=(0,o.ZP)({default:{fields:{display:"flex",paddingTop:"4px"},single:{flex:"1",paddingLeft:"6px"},alpha:{flex:"1",paddingLeft:"6px"},double:{flex:"2"},input:{width:"80%",padding:"4px 10% 3px",border:"none",boxShadow:"inset 0 0 0 1px #ccc",fontSize:"11px"},label:{display:"block",textAlign:"center",fontSize:"11px",color:"#222",paddingTop:"3px",paddingBottom:"4px",textTransform:"capitalize"}},disableAlpha:{alpha:{display:"none"}}},{disableAlpha:s}),c=function(e,i){e.hex?On(e.hex)&&t({hex:e.hex,source:"hex"},i):e.r||e.g||e.b?t({r:e.r||n.r,g:e.g||n.g,b:e.b||n.b,a:n.a,source:"rgb"},i):e.a&&(e.a<0?e.a=0:e.a>100&&(e.a=100),e.a/=100,t({h:r.h,s:r.s,l:r.l,a:e.a,source:"rgb"},i))};return i().createElement("div",{style:l.fields,className:"flexbox-fix"},i().createElement("div",{style:l.double},i().createElement(v,{style:{input:l.input,label:l.label},label:"hex",value:a.replace("#",""),onChange:c})),i().createElement("div",{style:l.single},i().createElement(v,{style:{input:l.input,label:l.label},label:"r",value:n.r,onChange:c,dragLabel:"true",dragMax:"255"})),i().createElement("div",{style:l.single},i().createElement(v,{style:{input:l.input,label:l.label},label:"g",value:n.g,onChange:c,dragLabel:"true",dragMax:"255"})),i().createElement("div",{style:l.single},i().createElement(v,{style:{input:l.input,label:l.label},label:"b",value:n.b,onChange:c,dragLabel:"true",dragMax:"255"})),i().createElement("div",{style:l.alpha},i().createElement(v,{style:{input:l.input,label:l.label},label:"a",value:Math.round(100*n.a),onChange:c,dragLabel:"true",dragMax:"100"})))};var aa=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},sa=function(e){var t=e.colors,n=e.onClick,r=void 0===n?function(){}:n,a=e.onSwatchHover,s=(0,o.ZP)({default:{colors:{margin:"0 -10px",padding:"10px 0 0 10px",borderTop:"1px solid #eee",display:"flex",flexWrap:"wrap",position:"relative"},swatchWrap:{width:"16px",height:"16px",margin:"0 10px 10px 0"},swatch:{borderRadius:"3px",boxShadow:"inset 0 0 0 1px rgba(0,0,0,.15)"}},"no-presets":{colors:{display:"none"}}},{"no-presets":!t||!t.length}),l=function(e,t){r({hex:e,source:"hex"},t)};return i().createElement("div",{style:s.colors,className:"flexbox-fix"},t.map((function(e){var t="string"==typeof e?{color:e}:e,n=""+t.color+(t.title||"");return i().createElement("div",{key:n,style:s.swatchWrap},i().createElement(Un,aa({},t,{style:s.swatch,onClick:l,onHover:a,focusStyle:{boxShadow:"inset 0 0 0 1px rgba(0,0,0,.15), 0 0 4px "+t.color}})))})))};sa.propTypes={colors:x().arrayOf(x().oneOfType([x().string,x().shape({color:x().string,title:x().string})])).isRequired};const la=sa;var ca=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ua=function(e){var t=e.width,n=e.rgb,r=e.hex,a=e.hsv,s=e.hsl,l=e.onChange,c=e.onSwatchHover,h=e.disableAlpha,p=e.presetColors,d=e.renderers,m=e.styles,g=void 0===m?{}:m,y=e.className,v=void 0===y?"":y,_=(0,o.ZP)(bt({default:ca({picker:{width:t,padding:"10px 10px 0",boxSizing:"initial",background:"#fff",borderRadius:"4px",boxShadow:"0 0 0 1px rgba(0,0,0,.15), 0 8px 16px rgba(0,0,0,.15)"},saturation:{width:"100%",paddingBottom:"75%",position:"relative",overflow:"hidden"},Saturation:{radius:"3px",shadow:"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)"},controls:{display:"flex"},sliders:{padding:"4px 0",flex:"1"},color:{width:"24px",height:"24px",position:"relative",marginTop:"4px",marginLeft:"4px",borderRadius:"3px"},activeColor:{absolute:"0px 0px 0px 0px",borderRadius:"2px",background:"rgba("+n.r+","+n.g+","+n.b+","+n.a+")",boxShadow:"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)"},hue:{position:"relative",height:"10px",overflow:"hidden"},Hue:{radius:"2px",shadow:"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)"},alpha:{position:"relative",height:"10px",marginTop:"4px",overflow:"hidden"},Alpha:{radius:"2px",shadow:"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)"}},g),disableAlpha:{color:{height:"10px"},hue:{height:"10px"},alpha:{display:"none"}}},g),{disableAlpha:h});return i().createElement("div",{style:_.picker,className:"sketch-picker "+v},i().createElement("div",{style:_.saturation},i().createElement(Bt,{style:_.Saturation,hsl:s,hsv:a,onChange:l})),i().createElement("div",{style:_.controls,className:"flexbox-fix"},i().createElement("div",{style:_.sliders},i().createElement("div",{style:_.hue},i().createElement(E,{style:_.Hue,hsl:s,onChange:l})),i().createElement("div",{style:_.alpha},i().createElement(f,{style:_.Alpha,rgb:n,hsl:s,renderers:d,onChange:l}))),i().createElement("div",{style:_.color},i().createElement(u,null),i().createElement("div",{style:_.activeColor}))),i().createElement(oa,{rgb:n,hsl:s,hex:r,onChange:l,disableAlpha:h}),i().createElement(la,{colors:p,onClick:l,onSwatchHover:c}))};ua.propTypes={disableAlpha:x().bool,width:x().oneOfType([x().string,x().number]),styles:x().object},ua.defaultProps={disableAlpha:!1,width:200,styles:{},presetColors:["#D0021B","#F5A623","#F8E71C","#8B572A","#7ED321","#417505","#BD10E0","#9013FE","#4A90E2","#50E3C2","#B8E986","#000000","#4A4A4A","#9B9B9B","#FFFFFF"]};const ha=Pn(ua),pa=function(e){var t=e.hsl,n=e.offset,r=e.onClick,a=void 0===r?function(){}:r,s=e.active,l=e.first,c=e.last,u=(0,o.ZP)({default:{swatch:{height:"12px",background:"hsl("+t.h+", 50%, "+100*n+"%)",cursor:"pointer"}},first:{swatch:{borderRadius:"2px 0 0 2px"}},last:{swatch:{borderRadius:"0 2px 2px 0"}},active:{swatch:{transform:"scaleY(1.8)",borderRadius:"3.6px/2px"}}},{active:s,first:l,last:c});return i().createElement("div",{style:u.swatch,onClick:function(e){return a({h:t.h,s:.5,l:n,source:"hsl"},e)}})},da=function(e){var t=e.onClick,n=e.hsl,r=(0,o.ZP)({default:{swatches:{marginTop:"20px"},swatch:{boxSizing:"border-box",width:"20%",paddingRight:"1px",float:"left"},clear:{clear:"both"}}}),a=.1;return i().createElement("div",{style:r.swatches},i().createElement("div",{style:r.swatch},i().createElement(pa,{hsl:n,offset:".80",active:Math.abs(n.l-.8)<a&&Math.abs(n.s-.5)<a,onClick:t,first:!0})),i().createElement("div",{style:r.swatch},i().createElement(pa,{hsl:n,offset:".65",active:Math.abs(n.l-.65)<a&&Math.abs(n.s-.5)<a,onClick:t})),i().createElement("div",{style:r.swatch},i().createElement(pa,{hsl:n,offset:".50",active:Math.abs(n.l-.5)<a&&Math.abs(n.s-.5)<a,onClick:t})),i().createElement("div",{style:r.swatch},i().createElement(pa,{hsl:n,offset:".35",active:Math.abs(n.l-.35)<a&&Math.abs(n.s-.5)<a,onClick:t})),i().createElement("div",{style:r.swatch},i().createElement(pa,{hsl:n,offset:".20",active:Math.abs(n.l-.2)<a&&Math.abs(n.s-.5)<a,onClick:t,last:!0})),i().createElement("div",{style:r.clear}))};var fa=function(e){var t=e.hsl,n=e.onChange,r=e.pointer,a=e.styles,s=void 0===a?{}:a,l=e.className,c=void 0===l?"":l,u=(0,o.ZP)(bt({default:{hue:{height:"12px",position:"relative"},Hue:{radius:"2px"}}},s));return i().createElement("div",{style:u.wrap||{},className:"slider-picker "+c},i().createElement("div",{style:u.hue},i().createElement(E,{style:u.Hue,hsl:t,pointer:r,onChange:n})),i().createElement("div",{style:u.swatches},i().createElement(da,{hsl:t,onClick:n})))};fa.propTypes={styles:x().object},fa.defaultProps={pointer:function(){var e=(0,o.ZP)({default:{picker:{width:"14px",height:"14px",borderRadius:"6px",transform:"translate(-7px, -1px)",backgroundColor:"rgb(248, 248, 248)",boxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.37)"}}});return i().createElement("div",{style:e.picker})},styles:{}},Pn(fa);var ma=n(4431);const ga=function(e){var t=e.color,n=e.onClick,r=void 0===n?function(){}:n,a=e.onSwatchHover,s=e.first,l=e.last,c=e.active,u=(0,o.ZP)({default:{color:{width:"40px",height:"24px",cursor:"pointer",background:t,marginBottom:"1px"},check:{color:Nn(t),marginLeft:"8px",display:"none"}},first:{color:{overflow:"hidden",borderRadius:"2px 2px 0 0"}},last:{color:{overflow:"hidden",borderRadius:"0 0 2px 2px"}},active:{check:{display:"block"}},"color-#FFFFFF":{color:{boxShadow:"inset 0 0 0 1px #ddd"},check:{color:"#333"}},transparent:{check:{color:"#333"}}},{first:s,last:l,active:c,"color-#FFFFFF":"#FFFFFF"===t,transparent:"transparent"===t});return i().createElement(Un,{color:t,style:u.color,onClick:r,onHover:a,focusStyle:{boxShadow:"0 0 4px "+t}},i().createElement("div",{style:u.check},i().createElement(ma.Z,null)))},ya=function(e){var t=e.onClick,n=e.onSwatchHover,r=e.group,a=e.active,s=(0,o.ZP)({default:{group:{paddingBottom:"10px",width:"40px",float:"left",marginRight:"10px"}}});return i().createElement("div",{style:s.group},qr(r,(function(e,o){return i().createElement(ga,{key:e,color:e,active:e.toLowerCase()===a,first:0===o,last:o===r.length-1,onClick:t,onSwatchHover:n})})))};var va=function(e){var t=e.width,n=e.height,r=e.onChange,a=e.onSwatchHover,s=e.colors,l=e.hex,c=e.styles,u=void 0===c?{}:c,h=e.className,p=void 0===h?"":h,d=(0,o.ZP)(bt({default:{picker:{width:t,height:n},overflow:{height:n,overflowY:"scroll"},body:{padding:"16px 0 6px 16px"},clear:{clear:"both"}}},u)),f=function(e,t){return r({hex:e,source:"hex"},t)};return i().createElement("div",{style:d.picker,className:"swatches-picker "+p},i().createElement(xt,null,i().createElement("div",{style:d.overflow},i().createElement("div",{style:d.body},qr(s,(function(e){return i().createElement(ya,{key:e.toString(),group:e,active:l,onClick:f,onSwatchHover:a})})),i().createElement("div",{style:d.clear})))))};va.propTypes={width:x().oneOfType([x().string,x().number]),height:x().oneOfType([x().string,x().number]),colors:x().arrayOf(x().arrayOf(x().string)),styles:x().object},va.defaultProps={width:320,height:240,colors:[[ni,ti,ei,Jr,Qr],[si,ai,oi,ii,ri],[pi,hi,ui,ci,li],[yi,gi,mi,fi,di],[Ti,Ei,bi,_i,vi],[Ri,Ai,Ci,Si,xi],[Ii,Ni,Oi,Li,wi],[Fi,Mi,Pi,Di,ki],[Gi,ji,Ui,Bi,Hi],["#194D33",Wi,$i,zi,Yi],[Zi,Xi,qi,Ki,Vi],[no,to,eo,Ji,Qi],[so,ao,oo,io,ro],[po,ho,uo,co,lo],[vo,yo,go,mo,fo],[xo,To,Eo,bo,_o],[wo,Ro,Ao,Co,So],[ko,Io,No,Oo,Lo],["#000000","#525252","#969696","#D9D9D9","#FFFFFF"]],styles:{}},Pn(va);var _a=function(e){var t=e.onChange,n=e.onSwatchHover,r=e.hex,a=e.colors,s=e.width,l=e.triangle,c=e.styles,u=void 0===c?{}:c,h=e.className,p=void 0===h?"":h,d=(0,o.ZP)(bt({default:{card:{width:s,background:"#fff",border:"0 solid rgba(0,0,0,0.25)",boxShadow:"0 1px 4px rgba(0,0,0,0.25)",borderRadius:"4px",position:"relative"},body:{padding:"15px 9px 9px 15px"},label:{fontSize:"18px",color:"#fff"},triangle:{width:"0px",height:"0px",borderStyle:"solid",borderWidth:"0 9px 10px 9px",borderColor:"transparent transparent #fff transparent",position:"absolute"},triangleShadow:{width:"0px",height:"0px",borderStyle:"solid",borderWidth:"0 9px 10px 9px",borderColor:"transparent transparent rgba(0,0,0,.1) transparent",position:"absolute"},hash:{background:"#F0F0F0",height:"30px",width:"30px",borderRadius:"4px 0 0 4px",float:"left",color:"#98A1A4",display:"flex",alignItems:"center",justifyContent:"center"},input:{width:"100px",fontSize:"14px",color:"#666",border:"0px",outline:"none",height:"28px",boxShadow:"inset 0 0 0 1px #F0F0F0",boxSizing:"content-box",borderRadius:"0 4px 4px 0",float:"left",paddingLeft:"8px"},swatch:{width:"30px",height:"30px",float:"left",borderRadius:"4px",margin:"0 6px 6px 0"},clear:{clear:"both"}},"hide-triangle":{triangle:{display:"none"},triangleShadow:{display:"none"}},"top-left-triangle":{triangle:{top:"-10px",left:"12px"},triangleShadow:{top:"-11px",left:"12px"}},"top-right-triangle":{triangle:{top:"-10px",right:"12px"},triangleShadow:{top:"-11px",right:"12px"}}},u),{"hide-triangle":"hide"===l,"top-left-triangle":"top-left"===l,"top-right-triangle":"top-right"===l}),f=function(e,n){On(e)&&t({hex:e,source:"hex"},n)};return i().createElement("div",{style:d.card,className:"twitter-picker "+p},i().createElement("div",{style:d.triangleShadow}),i().createElement("div",{style:d.triangle}),i().createElement("div",{style:d.body},qr(a,(function(e,t){return i().createElement(Un,{key:t,color:e,hex:e,style:d.swatch,onClick:f,onHover:n,focusStyle:{boxShadow:"0 0 4px "+e}})})),i().createElement("div",{style:d.hash},"#"),i().createElement(v,{label:null,style:{input:d.input},value:r.replace("#",""),onChange:f}),i().createElement("div",{style:d.clear})))};_a.propTypes={width:x().oneOfType([x().string,x().number]),triangle:x().oneOf(["hide","top-left","top-right"]),colors:x().arrayOf(x().string),styles:x().object},_a.defaultProps={width:276,colors:["#FF6900","#FCB900","#7BDCB5","#00D084","#8ED1FC","#0693E3","#ABB8C3","#EB144C","#F78DA7","#9900EF"],triangle:"top-left",styles:{}},Pn(_a);var ba=function(e){var t=(0,o.ZP)({default:{picker:{width:"20px",height:"20px",borderRadius:"22px",border:"2px #fff solid",transform:"translate(-12px, -13px)",background:"hsl("+Math.round(e.hsl.h)+", "+Math.round(100*e.hsl.s)+"%, "+Math.round(100*e.hsl.l)+"%)"}}});return i().createElement("div",{style:t.picker})};ba.propTypes={hsl:x().shape({h:x().number,s:x().number,l:x().number,a:x().number})},ba.defaultProps={hsl:{a:1,h:249.94,l:.2,s:.5}};const Ea=ba;var Ta=function(e){var t=(0,o.ZP)({default:{picker:{width:"20px",height:"20px",borderRadius:"22px",transform:"translate(-10px, -7px)",background:"hsl("+Math.round(e.hsl.h)+", 100%, 50%)",border:"2px white solid"}}});return i().createElement("div",{style:t.picker})};Ta.propTypes={hsl:x().shape({h:x().number,s:x().number,l:x().number,a:x().number})},Ta.defaultProps={hsl:{a:1,h:249.94,l:.2,s:.5}};const xa=Ta,Sa=function(e){var t=e.onChange,n=e.rgb,r=e.hsl,a=e.hex,s=e.hsv,l=function(e,n){if(e.hex)On(e.hex)&&t({hex:e.hex,source:"hex"},n);else if(e.rgb){var r=e.rgb.split(",");In(e.rgb,"rgb")&&t({r:r[0],g:r[1],b:r[2],a:1,source:"rgb"},n)}else if(e.hsv){var i=e.hsv.split(",");In(e.hsv,"hsv")&&(i[2]=i[2].replace("%",""),i[1]=i[1].replace("%",""),i[0]=i[0].replace("°",""),1==i[1]?i[1]=.01:1==i[2]&&(i[2]=.01),t({h:Number(i[0]),s:Number(i[1]),v:Number(i[2]),source:"hsv"},n))}else if(e.hsl){var o=e.hsl.split(",");In(e.hsl,"hsl")&&(o[2]=o[2].replace("%",""),o[1]=o[1].replace("%",""),o[0]=o[0].replace("°",""),1==p[1]?p[1]=.01:1==p[2]&&(p[2]=.01),t({h:Number(o[0]),s:Number(o[1]),v:Number(o[2]),source:"hsl"},n))}},c=(0,o.ZP)({default:{wrap:{display:"flex",height:"100px",marginTop:"4px"},fields:{width:"100%"},column:{paddingTop:"10px",display:"flex",justifyContent:"space-between"},double:{padding:"0px 4.4px",boxSizing:"border-box"},input:{width:"100%",height:"38px",boxSizing:"border-box",padding:"4px 10% 3px",textAlign:"center",border:"1px solid #dadce0",fontSize:"11px",textTransform:"lowercase",borderRadius:"5px",outline:"none",fontFamily:"Roboto,Arial,sans-serif"},input2:{height:"38px",width:"100%",border:"1px solid #dadce0",boxSizing:"border-box",fontSize:"11px",textTransform:"lowercase",borderRadius:"5px",outline:"none",paddingLeft:"10px",fontFamily:"Roboto,Arial,sans-serif"},label:{textAlign:"center",fontSize:"12px",background:"#fff",position:"absolute",textTransform:"uppercase",color:"#3c4043",width:"35px",top:"-6px",left:"0",right:"0",marginLeft:"auto",marginRight:"auto",fontFamily:"Roboto,Arial,sans-serif"},label2:{left:"10px",textAlign:"center",fontSize:"12px",background:"#fff",position:"absolute",textTransform:"uppercase",color:"#3c4043",width:"32px",top:"-6px",fontFamily:"Roboto,Arial,sans-serif"},single:{flexGrow:"1",margin:"0px 4.4px"}}}),u=n.r+", "+n.g+", "+n.b,h=Math.round(r.h)+"°, "+Math.round(100*r.s)+"%, "+Math.round(100*r.l)+"%",p=Math.round(s.h)+"°, "+Math.round(100*s.s)+"%, "+Math.round(100*s.v)+"%";return i().createElement("div",{style:c.wrap,className:"flexbox-fix"},i().createElement("div",{style:c.fields},i().createElement("div",{style:c.double},i().createElement(v,{style:{input:c.input,label:c.label},label:"hex",value:a,onChange:l})),i().createElement("div",{style:c.column},i().createElement("div",{style:c.single},i().createElement(v,{style:{input:c.input2,label:c.label2},label:"rgb",value:u,onChange:l})),i().createElement("div",{style:c.single},i().createElement(v,{style:{input:c.input2,label:c.label2},label:"hsv",value:p,onChange:l})),i().createElement("div",{style:c.single},i().createElement(v,{style:{input:c.input2,label:c.label2},label:"hsl",value:h,onChange:l})))))};var Ca=function(e){var t=e.width,n=e.onChange,r=e.rgb,a=e.hsl,s=e.hsv,l=e.hex,c=e.header,u=e.styles,h=void 0===u?{}:u,p=e.className,d=void 0===p?"":p,f=(0,o.ZP)(bt({default:{picker:{width:t,background:"#fff",border:"1px solid #dfe1e5",boxSizing:"initial",display:"flex",flexWrap:"wrap",borderRadius:"8px 8px 0px 0px"},head:{height:"57px",width:"100%",paddingTop:"16px",paddingBottom:"16px",paddingLeft:"16px",fontSize:"20px",boxSizing:"border-box",fontFamily:"Roboto-Regular,HelveticaNeue,Arial,sans-serif"},saturation:{width:"70%",padding:"0px",position:"relative",overflow:"hidden"},swatch:{width:"30%",height:"228px",padding:"0px",background:"rgba("+r.r+", "+r.g+", "+r.b+", 1)",position:"relative",overflow:"hidden"},body:{margin:"auto",width:"95%"},controls:{display:"flex",boxSizing:"border-box",height:"52px",paddingTop:"22px"},color:{width:"32px"},hue:{height:"8px",position:"relative",margin:"0px 16px 0px 16px",width:"100%"},Hue:{radius:"2px"}}},h));return i().createElement("div",{style:f.picker,className:"google-picker "+d},i().createElement("div",{style:f.head},c),i().createElement("div",{style:f.swatch}),i().createElement("div",{style:f.saturation},i().createElement(Bt,{hsl:a,hsv:s,pointer:Ea,onChange:n})),i().createElement("div",{style:f.body},i().createElement("div",{style:f.controls,className:"flexbox-fix"},i().createElement("div",{style:f.hue},i().createElement(E,{style:f.Hue,hsl:a,radius:"4px",pointer:xa,onChange:n}))),i().createElement(Sa,{rgb:r,hsl:a,hex:l,hsv:s,onChange:n})))};Ca.propTypes={width:x().oneOfType([x().string,x().number]),styles:x().object,header:x().string},Ca.defaultProps={width:652,styles:{},header:"Color picker"},Pn(Ca)},2733:(e,t,n)=>{"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"DraggableCore",{enumerable:!0,get:function(){return h.default}}),t.default=void 0;var i=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var n=m(t);if(n&&n.has(e))return n.get(e);var i={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(i,a,s):i[a]=e[a]}return i.default=e,n&&n.set(e,i),i}(n(1024)),o=f(n(7862)),a=f(n(314)),s=f(n(4517)),l=n(3041),c=n(576),u=n(6747),h=f(n(1953)),p=f(n(1661)),d=["axis","bounds","children","defaultPosition","defaultClassName","defaultClassNameDragging","defaultClassNameDragged","position","positionOffset","scale"];function f(e){return e&&e.__esModule?e:{default:e}}function m(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(m=function(e){return e?n:t})(e)}function g(){return g=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},g.apply(this,arguments)}function y(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function v(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?y(Object(n),!0).forEach((function(t){S(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):y(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function _(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function b(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function E(e,t){return E=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},E(e,t)}function T(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function x(e){return x=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},x(e)}function S(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var C=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&E(e,t)}(y,e);var t,n,o,u,f,m=(u=y,f=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=x(u);if(f){var n=x(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return function(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return T(e)}(this,e)});function y(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,y),S(T(t=m.call(this,e)),"onDragStart",(function(e,n){if((0,p.default)("Draggable: onDragStart: %j",n),!1===t.props.onStart(e,(0,c.createDraggableData)(T(t),n)))return!1;t.setState({dragging:!0,dragged:!0})})),S(T(t),"onDrag",(function(e,n){if(!t.state.dragging)return!1;(0,p.default)("Draggable: onDrag: %j",n);var r,i,o=(0,c.createDraggableData)(T(t),n),a={x:o.x,y:o.y};if(t.props.bounds){var s=a.x,l=a.y;a.x+=t.state.slackX,a.y+=t.state.slackY;var u=(r=(0,c.getBoundPosition)(T(t),a.x,a.y),i=2,function(e){if(Array.isArray(e))return e}(r)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);a=!0);}catch(e){s=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw i}}return o}}(r,i)||function(e,t){if(e){if("string"==typeof e)return _(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_(e,t):void 0}}(r,i)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),h=u[0],d=u[1];a.x=h,a.y=d,a.slackX=t.state.slackX+(s-a.x),a.slackY=t.state.slackY+(l-a.y),o.x=a.x,o.y=a.y,o.deltaX=a.x-t.state.x,o.deltaY=a.y-t.state.y}if(!1===t.props.onDrag(e,o))return!1;t.setState(a)})),S(T(t),"onDragStop",(function(e,n){if(!t.state.dragging)return!1;if(!1===t.props.onStop(e,(0,c.createDraggableData)(T(t),n)))return!1;(0,p.default)("Draggable: onDragStop: %j",n);var r={dragging:!1,slackX:0,slackY:0};if(Boolean(t.props.position)){var i=t.props.position,o=i.x,a=i.y;r.x=o,r.y=a}t.setState(r)})),t.state={dragging:!1,dragged:!1,x:e.position?e.position.x:e.defaultPosition.x,y:e.position?e.position.y:e.defaultPosition.y,prevPropsPosition:v({},e.position),slackX:0,slackY:0,isElementSVG:!1},!e.position||e.onDrag||e.onStop||console.warn("A `position` was applied to this <Draggable>, without drag handlers. This will make this component effectively undraggable. Please attach `onDrag` or `onStop` handlers so you can adjust the `position` of this element."),t}return t=y,o=[{key:"getDerivedStateFromProps",value:function(e,t){var n=e.position,r=t.prevPropsPosition;return!n||r&&n.x===r.x&&n.y===r.y?null:((0,p.default)("Draggable: getDerivedStateFromProps %j",{position:n,prevPropsPosition:r}),{x:n.x,y:n.y,prevPropsPosition:v({},n)})}}],(n=[{key:"componentDidMount",value:function(){void 0!==window.SVGElement&&this.findDOMNode()instanceof window.SVGElement&&this.setState({isElementSVG:!0})}},{key:"componentWillUnmount",value:function(){this.setState({dragging:!1})}},{key:"findDOMNode",value:function(){var e,t,n;return null!==(e=null===(t=this.props)||void 0===t||null===(n=t.nodeRef)||void 0===n?void 0:n.current)&&void 0!==e?e:a.default.findDOMNode(this)}},{key:"render",value:function(){var e,t=this.props,n=(t.axis,t.bounds,t.children),r=t.defaultPosition,o=t.defaultClassName,a=t.defaultClassNameDragging,u=t.defaultClassNameDragged,p=t.position,f=t.positionOffset,m=(t.scale,function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(t,d)),y={},_=null,b=!Boolean(p)||this.state.dragging,E=p||r,T={x:(0,c.canDragX)(this)&&b?this.state.x:E.x,y:(0,c.canDragY)(this)&&b?this.state.y:E.y};this.state.isElementSVG?_=(0,l.createSVGTransform)(T,f):y=(0,l.createCSSTransform)(T,f);var x=(0,s.default)(n.props.className||"",o,(S(e={},a,this.state.dragging),S(e,u,this.state.dragged),e));return i.createElement(h.default,g({},m,{onStart:this.onDragStart,onDrag:this.onDrag,onStop:this.onDragStop}),i.cloneElement(i.Children.only(n),{className:x,style:v(v({},n.props.style),y),transform:_}))}}])&&b(t.prototype,n),o&&b(t,o),Object.defineProperty(t,"prototype",{writable:!1}),y}(i.Component);t.default=C,S(C,"displayName","Draggable"),S(C,"propTypes",v(v({},h.default.propTypes),{},{axis:o.default.oneOf(["both","x","y","none"]),bounds:o.default.oneOfType([o.default.shape({left:o.default.number,right:o.default.number,top:o.default.number,bottom:o.default.number}),o.default.string,o.default.oneOf([!1])]),defaultClassName:o.default.string,defaultClassNameDragging:o.default.string,defaultClassNameDragged:o.default.string,defaultPosition:o.default.shape({x:o.default.number,y:o.default.number}),positionOffset:o.default.shape({x:o.default.oneOfType([o.default.number,o.default.string]),y:o.default.oneOfType([o.default.number,o.default.string])}),position:o.default.shape({x:o.default.number,y:o.default.number}),className:u.dontSetMe,style:u.dontSetMe,transform:u.dontSetMe})),S(C,"defaultProps",v(v({},h.default.defaultProps),{},{axis:"both",bounds:!1,defaultClassName:"react-draggable",defaultClassNameDragging:"react-draggable-dragging",defaultClassNameDragged:"react-draggable-dragged",defaultPosition:{x:0,y:0},scale:1}))},1953:(e,t,n)=>{"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var n=p(t);if(n&&n.has(e))return n.get(e);var i={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(i,a,s):i[a]=e[a]}return i.default=e,n&&n.set(e,i),i}(n(1024)),o=h(n(7862)),a=h(n(314)),s=n(3041),l=n(576),c=n(6747),u=h(n(1661));function h(e){return e&&e.__esModule?e:{default:e}}function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(p=function(e){return e?n:t})(e)}function d(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);a=!0);}catch(e){s=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw i}}return o}}(e,t)||function(e,t){if(e){if("string"==typeof e)return f(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?f(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function m(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function g(e,t){return g=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},g(e,t)}function y(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function v(e){return v=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},v(e)}function _(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var b={start:"touchstart",move:"touchmove",stop:"touchend"},E={start:"mousedown",move:"mousemove",stop:"mouseup"},T=E,x=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&g(e,t)}(p,e);var t,n,o,c,h=(o=p,c=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=v(o);if(c){var n=v(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return function(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return y(e)}(this,e)});function p(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,p);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return _(y(e=h.call.apply(h,[this].concat(n))),"state",{dragging:!1,lastX:NaN,lastY:NaN,touchIdentifier:null}),_(y(e),"mounted",!1),_(y(e),"handleDragStart",(function(t){if(e.props.onMouseDown(t),!e.props.allowAnyClick&&"number"==typeof t.button&&0!==t.button)return!1;var n=e.findDOMNode();if(!n||!n.ownerDocument||!n.ownerDocument.body)throw new Error("<DraggableCore> not mounted on DragStart!");var r=n.ownerDocument;if(!(e.props.disabled||!(t.target instanceof r.defaultView.Node)||e.props.handle&&!(0,s.matchesSelectorAndParentsTo)(t.target,e.props.handle,n)||e.props.cancel&&(0,s.matchesSelectorAndParentsTo)(t.target,e.props.cancel,n))){"touchstart"===t.type&&t.preventDefault();var i=(0,s.getTouchIdentifier)(t);e.setState({touchIdentifier:i});var o=(0,l.getControlPosition)(t,i,y(e));if(null!=o){var a=o.x,c=o.y,h=(0,l.createCoreData)(y(e),a,c);(0,u.default)("DraggableCore: handleDragStart: %j",h),(0,u.default)("calling",e.props.onStart),!1!==e.props.onStart(t,h)&&!1!==e.mounted&&(e.props.enableUserSelectHack&&(0,s.addUserSelectStyles)(r),e.setState({dragging:!0,lastX:a,lastY:c}),(0,s.addEvent)(r,T.move,e.handleDrag),(0,s.addEvent)(r,T.stop,e.handleDragStop))}}})),_(y(e),"handleDrag",(function(t){var n=(0,l.getControlPosition)(t,e.state.touchIdentifier,y(e));if(null!=n){var r=n.x,i=n.y;if(Array.isArray(e.props.grid)){var o=r-e.state.lastX,a=i-e.state.lastY,s=d((0,l.snapToGrid)(e.props.grid,o,a),2);if(o=s[0],a=s[1],!o&&!a)return;r=e.state.lastX+o,i=e.state.lastY+a}var c=(0,l.createCoreData)(y(e),r,i);if((0,u.default)("DraggableCore: handleDrag: %j",c),!1!==e.props.onDrag(t,c)&&!1!==e.mounted)e.setState({lastX:r,lastY:i});else try{e.handleDragStop(new MouseEvent("mouseup"))}catch(t){var h=document.createEvent("MouseEvents");h.initMouseEvent("mouseup",!0,!0,window,0,0,0,0,0,!1,!1,!1,!1,0,null),e.handleDragStop(h)}}})),_(y(e),"handleDragStop",(function(t){if(e.state.dragging){var n=(0,l.getControlPosition)(t,e.state.touchIdentifier,y(e));if(null!=n){var r=n.x,i=n.y;if(Array.isArray(e.props.grid)){var o=r-e.state.lastX||0,a=i-e.state.lastY||0,c=d((0,l.snapToGrid)(e.props.grid,o,a),2);o=c[0],a=c[1],r=e.state.lastX+o,i=e.state.lastY+a}var h=(0,l.createCoreData)(y(e),r,i);if(!1===e.props.onStop(t,h)||!1===e.mounted)return!1;var p=e.findDOMNode();p&&e.props.enableUserSelectHack&&(0,s.removeUserSelectStyles)(p.ownerDocument),(0,u.default)("DraggableCore: handleDragStop: %j",h),e.setState({dragging:!1,lastX:NaN,lastY:NaN}),p&&((0,u.default)("DraggableCore: Removing handlers"),(0,s.removeEvent)(p.ownerDocument,T.move,e.handleDrag),(0,s.removeEvent)(p.ownerDocument,T.stop,e.handleDragStop))}}})),_(y(e),"onMouseDown",(function(t){return T=E,e.handleDragStart(t)})),_(y(e),"onMouseUp",(function(t){return T=E,e.handleDragStop(t)})),_(y(e),"onTouchStart",(function(t){return T=b,e.handleDragStart(t)})),_(y(e),"onTouchEnd",(function(t){return T=b,e.handleDragStop(t)})),e}return t=p,(n=[{key:"componentDidMount",value:function(){this.mounted=!0;var e=this.findDOMNode();e&&(0,s.addEvent)(e,b.start,this.onTouchStart,{passive:!1})}},{key:"componentWillUnmount",value:function(){this.mounted=!1;var e=this.findDOMNode();if(e){var t=e.ownerDocument;(0,s.removeEvent)(t,E.move,this.handleDrag),(0,s.removeEvent)(t,b.move,this.handleDrag),(0,s.removeEvent)(t,E.stop,this.handleDragStop),(0,s.removeEvent)(t,b.stop,this.handleDragStop),(0,s.removeEvent)(e,b.start,this.onTouchStart,{passive:!1}),this.props.enableUserSelectHack&&(0,s.removeUserSelectStyles)(t)}}},{key:"findDOMNode",value:function(){var e,t,n;return null!==(e=this.props)&&void 0!==e&&e.nodeRef?null===(t=this.props)||void 0===t||null===(n=t.nodeRef)||void 0===n?void 0:n.current:a.default.findDOMNode(this)}},{key:"render",value:function(){return i.cloneElement(i.Children.only(this.props.children),{onMouseDown:this.onMouseDown,onMouseUp:this.onMouseUp,onTouchEnd:this.onTouchEnd})}}])&&m(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),p}(i.Component);t.default=x,_(x,"displayName","DraggableCore"),_(x,"propTypes",{allowAnyClick:o.default.bool,disabled:o.default.bool,enableUserSelectHack:o.default.bool,offsetParent:function(e,t){if(e[t]&&1!==e[t].nodeType)throw new Error("Draggable's offsetParent must be a DOM Node.")},grid:o.default.arrayOf(o.default.number),handle:o.default.string,cancel:o.default.string,nodeRef:o.default.object,onStart:o.default.func,onDrag:o.default.func,onStop:o.default.func,onMouseDown:o.default.func,scale:o.default.number,className:c.dontSetMe,style:c.dontSetMe,transform:c.dontSetMe}),_(x,"defaultProps",{allowAnyClick:!1,disabled:!1,enableUserSelectHack:!0,onStart:function(){},onDrag:function(){},onStop:function(){},onMouseDown:function(){},scale:1})},8078:(e,t,n)=>{"use strict";var r=n(2733),i=r.default,o=r.DraggableCore;e.exports=i,e.exports.default=i,e.exports.DraggableCore=o},3041:(e,t,n)=>{"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.addClassName=d,t.addEvent=function(e,t,n,r){if(e){var i=l({capture:!0},r);e.addEventListener?e.addEventListener(t,n,i):e.attachEvent?e.attachEvent("on"+t,n):e["on"+t]=n}},t.addUserSelectStyles=function(e){if(e){var t=e.getElementById("react-draggable-style-el");t||((t=e.createElement("style")).type="text/css",t.id="react-draggable-style-el",t.innerHTML=".react-draggable-transparent-selection *::-moz-selection {all: inherit;}\n",t.innerHTML+=".react-draggable-transparent-selection *::selection {all: inherit;}\n",e.getElementsByTagName("head")[0].appendChild(t)),e.body&&d(e.body,"react-draggable-transparent-selection")}},t.createCSSTransform=function(e,t){var n=p(e,t,"px");return c({},(0,o.browserPrefixToKey)("transform",o.default),n)},t.createSVGTransform=function(e,t){return p(e,t,"")},t.getTouch=function(e,t){return e.targetTouches&&(0,i.findInArray)(e.targetTouches,(function(e){return t===e.identifier}))||e.changedTouches&&(0,i.findInArray)(e.changedTouches,(function(e){return t===e.identifier}))},t.getTouchIdentifier=function(e){return e.targetTouches&&e.targetTouches[0]?e.targetTouches[0].identifier:e.changedTouches&&e.changedTouches[0]?e.changedTouches[0].identifier:void 0},t.getTranslation=p,t.innerHeight=function(e){var t=e.clientHeight,n=e.ownerDocument.defaultView.getComputedStyle(e);return(t-=(0,i.int)(n.paddingTop))-(0,i.int)(n.paddingBottom)},t.innerWidth=function(e){var t=e.clientWidth,n=e.ownerDocument.defaultView.getComputedStyle(e);return(t-=(0,i.int)(n.paddingLeft))-(0,i.int)(n.paddingRight)},t.matchesSelector=h,t.matchesSelectorAndParentsTo=function(e,t,n){var r=e;do{if(h(r,t))return!0;if(r===n)return!1;r=r.parentNode}while(r);return!1},t.offsetXYFromParent=function(e,t,n){var r=t===t.ownerDocument.body?{left:0,top:0}:t.getBoundingClientRect();return{x:(e.clientX+t.scrollLeft-r.left)/n,y:(e.clientY+t.scrollTop-r.top)/n}},t.outerHeight=function(e){var t=e.clientHeight,n=e.ownerDocument.defaultView.getComputedStyle(e);return(t+=(0,i.int)(n.borderTopWidth))+(0,i.int)(n.borderBottomWidth)},t.outerWidth=function(e){var t=e.clientWidth,n=e.ownerDocument.defaultView.getComputedStyle(e);return(t+=(0,i.int)(n.borderLeftWidth))+(0,i.int)(n.borderRightWidth)},t.removeClassName=f,t.removeEvent=function(e,t,n,r){if(e){var i=l({capture:!0},r);e.removeEventListener?e.removeEventListener(t,n,i):e.detachEvent?e.detachEvent("on"+t,n):e["on"+t]=null}},t.removeUserSelectStyles=function(e){if(e)try{if(e.body&&f(e.body,"react-draggable-transparent-selection"),e.selection)e.selection.empty();else{var t=(e.defaultView||window).getSelection();t&&"Caret"!==t.type&&t.removeAllRanges()}}catch(e){}};var i=n(6747),o=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var n=a(t);if(n&&n.has(e))return n.get(e);var i={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e)if("default"!==s&&Object.prototype.hasOwnProperty.call(e,s)){var l=o?Object.getOwnPropertyDescriptor(e,s):null;l&&(l.get||l.set)?Object.defineProperty(i,s,l):i[s]=e[s]}return i.default=e,n&&n.set(e,i),i}(n(1422));function a(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(a=function(e){return e?n:t})(e)}function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){c(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var u="";function h(e,t){return u||(u=(0,i.findInArray)(["matches","webkitMatchesSelector","mozMatchesSelector","msMatchesSelector","oMatchesSelector"],(function(t){return(0,i.isFunction)(e[t])}))),!!(0,i.isFunction)(e[u])&&e[u](t)}function p(e,t,n){var r=e.x,i=e.y,o="translate(".concat(r).concat(n,",").concat(i).concat(n,")");if(t){var a="".concat("string"==typeof t.x?t.x:t.x+n),s="".concat("string"==typeof t.y?t.y:t.y+n);o="translate(".concat(a,", ").concat(s,")")+o}return o}function d(e,t){e.classList?e.classList.add(t):e.className.match(new RegExp("(?:^|\\s)".concat(t,"(?!\\S)")))||(e.className+=" ".concat(t))}function f(e,t){e.classList?e.classList.remove(t):e.className=e.className.replace(new RegExp("(?:^|\\s)".concat(t,"(?!\\S)"),"g"),"")}},1422:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.browserPrefixToKey=i,t.browserPrefixToStyle=function(e,t){return t?"-".concat(t.toLowerCase(),"-").concat(e):e},t.default=void 0,t.getPrefix=r;var n=["Moz","Webkit","O","ms"];function r(){var e,t,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"transform";if("undefined"==typeof window)return"";var o=null===(e=window.document)||void 0===e||null===(t=e.documentElement)||void 0===t?void 0:t.style;if(!o)return"";if(r in o)return"";for(var a=0;a<n.length;a++)if(i(r,n[a])in o)return n[a];return""}function i(e,t){return t?"".concat(t).concat(function(e){for(var t="",n=!0,r=0;r<e.length;r++)n?(t+=e[r].toUpperCase(),n=!1):"-"===e[r]?n=!0:t+=e[r];return t}(e)):e}var o=r();t.default=o},1661:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){}},576:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.canDragX=function(e){return"both"===e.props.axis||"x"===e.props.axis},t.canDragY=function(e){return"both"===e.props.axis||"y"===e.props.axis},t.createCoreData=function(e,t,n){var i=e.state,a=!(0,r.isNum)(i.lastX),s=o(e);return a?{node:s,deltaX:0,deltaY:0,lastX:t,lastY:n,x:t,y:n}:{node:s,deltaX:t-i.lastX,deltaY:n-i.lastY,lastX:i.lastX,lastY:i.lastY,x:t,y:n}},t.createDraggableData=function(e,t){var n=e.props.scale;return{node:t.node,x:e.state.x+t.deltaX/n,y:e.state.y+t.deltaY/n,deltaX:t.deltaX/n,deltaY:t.deltaY/n,lastX:e.state.x,lastY:e.state.y}},t.getBoundPosition=function(e,t,n){if(!e.props.bounds)return[t,n];var a=e.props.bounds;a="string"==typeof a?a:function(e){return{left:e.left,top:e.top,right:e.right,bottom:e.bottom}}(a);var s=o(e);if("string"==typeof a){var l,c=s.ownerDocument,u=c.defaultView;if(!((l="parent"===a?s.parentNode:c.querySelector(a))instanceof u.HTMLElement))throw new Error('Bounds selector "'+a+'" could not find an element.');var h=l,p=u.getComputedStyle(s),d=u.getComputedStyle(h);a={left:-s.offsetLeft+(0,r.int)(d.paddingLeft)+(0,r.int)(p.marginLeft),top:-s.offsetTop+(0,r.int)(d.paddingTop)+(0,r.int)(p.marginTop),right:(0,i.innerWidth)(h)-(0,i.outerWidth)(s)-s.offsetLeft+(0,r.int)(d.paddingRight)-(0,r.int)(p.marginRight),bottom:(0,i.innerHeight)(h)-(0,i.outerHeight)(s)-s.offsetTop+(0,r.int)(d.paddingBottom)-(0,r.int)(p.marginBottom)}}return(0,r.isNum)(a.right)&&(t=Math.min(t,a.right)),(0,r.isNum)(a.bottom)&&(n=Math.min(n,a.bottom)),(0,r.isNum)(a.left)&&(t=Math.max(t,a.left)),(0,r.isNum)(a.top)&&(n=Math.max(n,a.top)),[t,n]},t.getControlPosition=function(e,t,n){var r="number"==typeof t?(0,i.getTouch)(e,t):null;if("number"==typeof t&&!r)return null;var a=o(n),s=n.props.offsetParent||a.offsetParent||a.ownerDocument.body;return(0,i.offsetXYFromParent)(r||e,s,n.props.scale)},t.snapToGrid=function(e,t,n){return[Math.round(t/e[0])*e[0],Math.round(n/e[1])*e[1]]};var r=n(6747),i=n(3041);function o(e){var t=e.findDOMNode();if(!t)throw new Error("<DraggableCore>: Unmounted during event!");return t}},6747:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.dontSetMe=function(e,t,n){if(e[t])return new Error("Invalid prop ".concat(t," passed to ").concat(n," - do not set this, set it on the child."))},t.findInArray=function(e,t){for(var n=0,r=e.length;n<r;n++)if(t.apply(t,[e[n],n,e]))return e[n]},t.int=function(e){return parseInt(e,10)},t.isFunction=function(e){return"function"==typeof e||"[object Function]"===Object.prototype.toString.call(e)},t.isNum=function(e){return"number"==typeof e&&!isNaN(e)}},4507:(e,t)=>{"use strict";var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,i=n?Symbol.for("react.portal"):60106,o=n?Symbol.for("react.fragment"):60107,a=n?Symbol.for("react.strict_mode"):60108,s=n?Symbol.for("react.profiler"):60114,l=n?Symbol.for("react.provider"):60109,c=n?Symbol.for("react.context"):60110,u=n?Symbol.for("react.async_mode"):60111,h=n?Symbol.for("react.concurrent_mode"):60111,p=n?Symbol.for("react.forward_ref"):60112,d=n?Symbol.for("react.suspense"):60113,f=n?Symbol.for("react.suspense_list"):60120,m=n?Symbol.for("react.memo"):60115,g=n?Symbol.for("react.lazy"):60116,y=n?Symbol.for("react.block"):60121,v=n?Symbol.for("react.fundamental"):60117,_=n?Symbol.for("react.responder"):60118,b=n?Symbol.for("react.scope"):60119;function E(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case u:case h:case o:case s:case a:case d:return e;default:switch(e=e&&e.$$typeof){case c:case p:case g:case m:case l:return e;default:return t}}case i:return t}}}function T(e){return E(e)===h}t.AsyncMode=u,t.ConcurrentMode=h,t.ContextConsumer=c,t.ContextProvider=l,t.Element=r,t.ForwardRef=p,t.Fragment=o,t.Lazy=g,t.Memo=m,t.Portal=i,t.Profiler=s,t.StrictMode=a,t.Suspense=d,t.isAsyncMode=function(e){return T(e)||E(e)===u},t.isConcurrentMode=T,t.isContextConsumer=function(e){return E(e)===c},t.isContextProvider=function(e){return E(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return E(e)===p},t.isFragment=function(e){return E(e)===o},t.isLazy=function(e){return E(e)===g},t.isMemo=function(e){return E(e)===m},t.isPortal=function(e){return E(e)===i},t.isProfiler=function(e){return E(e)===s},t.isStrictMode=function(e){return E(e)===a},t.isSuspense=function(e){return E(e)===d},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===h||e===s||e===a||e===d||e===f||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===m||e.$$typeof===l||e.$$typeof===c||e.$$typeof===p||e.$$typeof===v||e.$$typeof===_||e.$$typeof===b||e.$$typeof===y)},t.typeOf=E},9415:(e,t,n)=>{"use strict";e.exports=n(4507)},208:(e,t)=>{"use strict";var n,r=Symbol.for("react.element"),i=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),c=Symbol.for("react.context"),u=Symbol.for("react.server_context"),h=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),f=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),g=Symbol.for("react.offscreen");function y(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case o:case s:case a:case p:case d:return e;default:switch(e=e&&e.$$typeof){case u:case c:case h:case m:case f:case l:return e;default:return t}}case i:return t}}}n=Symbol.for("react.module.reference"),t.ContextConsumer=c,t.ContextProvider=l,t.Element=r,t.ForwardRef=h,t.Fragment=o,t.Lazy=m,t.Memo=f,t.Portal=i,t.Profiler=s,t.StrictMode=a,t.Suspense=p,t.SuspenseList=d,t.isAsyncMode=function(){return!1},t.isConcurrentMode=function(){return!1},t.isContextConsumer=function(e){return y(e)===c},t.isContextProvider=function(e){return y(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return y(e)===h},t.isFragment=function(e){return y(e)===o},t.isLazy=function(e){return y(e)===m},t.isMemo=function(e){return y(e)===f},t.isPortal=function(e){return y(e)===i},t.isProfiler=function(e){return y(e)===s},t.isStrictMode=function(e){return y(e)===a},t.isSuspense=function(e){return y(e)===p},t.isSuspenseList=function(e){return y(e)===d},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===s||e===a||e===p||e===d||e===g||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===f||e.$$typeof===l||e.$$typeof===c||e.$$typeof===h||e.$$typeof===n||void 0!==e.getModuleId)},t.typeOf=y},9999:(e,t,n)=>{"use strict";e.exports=n(208)},640:function(e,t,n){var r;e.exports=(r=n(1024),function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=48)}([function(e,t){e.exports=r},function(e,t){var n=e.exports={version:"2.6.12"};"number"==typeof __e&&(__e=n)},function(e,t,n){var r=n(26)("wks"),i=n(17),o=n(3).Symbol,a="function"==typeof o;(e.exports=function(e){return r[e]||(r[e]=a&&o[e]||(a?o:i)("Symbol."+e))}).store=r},function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t,n){e.exports=!n(8)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var r=n(7),i=n(16);e.exports=n(4)?function(e,t,n){return r.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var r=n(10),i=n(35),o=n(23),a=Object.defineProperty;t.f=n(4)?Object.defineProperty:function(e,t,n){if(r(e),t=o(t,!0),r(n),i)try{return a(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){var r=n(40),i=n(22);e.exports=function(e){return r(i(e))}},function(e,t,n){var r=n(11);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t){e.exports={}},function(e,t,n){var r=n(39),i=n(27);e.exports=Object.keys||function(e){return r(e,i)}},function(e,t){e.exports=!0},function(e,t,n){var r=n(3),i=n(1),o=n(53),a=n(6),s=n(5),l=function(e,t,n){var c,u,h,p=e&l.F,d=e&l.G,f=e&l.S,m=e&l.P,g=e&l.B,y=e&l.W,v=d?i:i[t]||(i[t]={}),_=v.prototype,b=d?r:f?r[t]:(r[t]||{}).prototype;for(c in d&&(n=t),n)(u=!p&&b&&void 0!==b[c])&&s(v,c)||(h=u?b[c]:n[c],v[c]=d&&"function"!=typeof b[c]?n[c]:g&&u?o(h,r):y&&b[c]==h?function(e){var t=function(t,n,r){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,r)}return e.apply(this,arguments)};return t.prototype=e.prototype,t}(h):m&&"function"==typeof h?o(Function.call,h):h,m&&((v.virtual||(v.virtual={}))[c]=h,e&l.R&&_&&!_[c]&&a(_,c,h)))};l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,e.exports=l},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},function(e,t,n){var r=n(22);e.exports=function(e){return Object(r(e))}},function(e,t){t.f={}.propertyIsEnumerable},function(e,t,n){"use strict";var r=n(52)(!0);n(34)(String,"String",(function(e){this._t=String(e),this._i=0}),(function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})}))},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){var r=n(11);e.exports=function(e,t){if(!r(e))return e;var n,i;if(t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;if("function"==typeof(n=e.valueOf)&&!r(i=n.call(e)))return i;if(!t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t,n){var r=n(26)("keys"),i=n(17);e.exports=function(e){return r[e]||(r[e]=i(e))}},function(e,t,n){var r=n(1),i=n(3),o=i["__core-js_shared__"]||(i["__core-js_shared__"]={});(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:r.version,mode:n(14)?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t,n){var r=n(7).f,i=n(5),o=n(2)("toStringTag");e.exports=function(e,t,n){e&&!i(e=n?e:e.prototype,o)&&r(e,o,{configurable:!0,value:t})}},function(e,t,n){n(62);for(var r=n(3),i=n(6),o=n(12),a=n(2)("toStringTag"),s="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),l=0;l<s.length;l++){var c=s[l],u=r[c],h=u&&u.prototype;h&&!h[a]&&i(h,a,c),o[c]=o.Array}},function(e,t,n){t.f=n(2)},function(e,t,n){var r=n(3),i=n(1),o=n(14),a=n(30),s=n(7).f;e.exports=function(e){var t=i.Symbol||(i.Symbol=o?{}:r.Symbol||{});"_"==e.charAt(0)||e in t||s(t,e,{value:a.f(e)})}},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t){e.exports=function(e,t,n){return Math.min(Math.max(e,t),n)}},function(e,t,n){"use strict";var r=n(14),i=n(15),o=n(37),a=n(6),s=n(12),l=n(55),c=n(28),u=n(61),h=n(2)("iterator"),p=!([].keys&&"next"in[].keys()),d=function(){return this};e.exports=function(e,t,n,f,m,g,y){l(n,t,f);var v,_,b,E=function(e){if(!p&&e in C)return C[e];switch(e){case"keys":case"values":return function(){return new n(this,e)}}return function(){return new n(this,e)}},T=t+" Iterator",x="values"==m,S=!1,C=e.prototype,A=C[h]||C["@@iterator"]||m&&C[m],R=A||E(m),w=m?x?E("entries"):R:void 0,L="Array"==t&&C.entries||A;if(L&&(b=u(L.call(new e)))!==Object.prototype&&b.next&&(c(b,T,!0),r||"function"==typeof b[h]||a(b,h,d)),x&&A&&"values"!==A.name&&(S=!0,R=function(){return A.call(this)}),r&&!y||!p&&!S&&C[h]||a(C,h,R),s[t]=R,s[T]=d,m)if(v={values:x?R:E("values"),keys:g?R:E("keys"),entries:w},y)for(_ in v)_ in C||o(C,_,v[_]);else i(i.P+i.F*(p||S),t,v);return v}},function(e,t,n){e.exports=!n(4)&&!n(8)((function(){return 7!=Object.defineProperty(n(36)("div"),"a",{get:function(){return 7}}).a}))},function(e,t,n){var r=n(11),i=n(3).document,o=r(i)&&r(i.createElement);e.exports=function(e){return o?i.createElement(e):{}}},function(e,t,n){e.exports=n(6)},function(e,t,n){var r=n(10),i=n(56),o=n(27),a=n(25)("IE_PROTO"),s=function(){},l=function(){var e,t=n(36)("iframe"),r=o.length;for(t.style.display="none",n(60).appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),l=e.F;r--;)delete l.prototype[o[r]];return l()};e.exports=Object.create||function(e,t){var n;return null!==e?(s.prototype=r(e),n=new s,s.prototype=null,n[a]=e):n=l(),void 0===t?n:i(n,t)}},function(e,t,n){var r=n(5),i=n(9),o=n(57)(!1),a=n(25)("IE_PROTO");e.exports=function(e,t){var n,s=i(e),l=0,c=[];for(n in s)n!=a&&r(s,n)&&c.push(n);for(;t.length>l;)r(s,n=t[l++])&&(~o(c,n)||c.push(n));return c}},function(e,t,n){var r=n(24);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},function(e,t,n){var r=n(39),i=n(27).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,i)}},function(e,t,n){var r=n(24),i=n(2)("toStringTag"),o="Arguments"==r(function(){return arguments}());e.exports=function(e){var t,n,a;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),i))?n:o?r(t):"Object"==(a=r(t))&&"function"==typeof t.callee?"Arguments":a}},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t){var n=/-?\d+(\.\d+)?%?/g;e.exports=function(e){return e.match(n)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getBase16Theme=t.createStyling=t.invertTheme=void 0;var r=d(n(49)),i=d(n(76)),o=d(n(81)),a=d(n(89)),s=d(n(93)),l=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(94)),c=d(n(132)),u=d(n(133)),h=d(n(138)),p=n(139);function d(e){return e&&e.__esModule?e:{default:e}}var f=l.default,m=(0,a.default)(f),g=(0,h.default)(u.default,p.rgb2yuv,(function(e){var t,n=(0,o.default)(e,3);return[(t=n[0],t<.25?1:t<.5?.9-t:1.1-t),n[1],n[2]]}),p.yuv2rgb,c.default),y=function(e){return function(t){return{className:[t.className,e.className].filter(Boolean).join(" "),style:(0,i.default)({},t.style||{},e.style||{})}}},v=function(e,t){var n=(0,a.default)(t);for(var o in e)-1===n.indexOf(o)&&n.push(o);return n.reduce((function(n,o){return n[o]=function(e,t){if(void 0===e)return t;if(void 0===t)return e;var n=void 0===e?"undefined":(0,r.default)(e),o=void 0===t?"undefined":(0,r.default)(t);switch(n){case"string":switch(o){case"string":return[t,e].filter(Boolean).join(" ");case"object":return y({className:e,style:t});case"function":return function(n){for(var r=arguments.length,i=Array(r>1?r-1:0),o=1;o<r;o++)i[o-1]=arguments[o];return y({className:e})(t.apply(void 0,[n].concat(i)))}}case"object":switch(o){case"string":return y({className:t,style:e});case"object":return(0,i.default)({},t,e);case"function":return function(n){for(var r=arguments.length,i=Array(r>1?r-1:0),o=1;o<r;o++)i[o-1]=arguments[o];return y({style:e})(t.apply(void 0,[n].concat(i)))}}case"function":switch(o){case"string":return function(n){for(var r=arguments.length,i=Array(r>1?r-1:0),o=1;o<r;o++)i[o-1]=arguments[o];return e.apply(void 0,[y(n)({className:t})].concat(i))};case"object":return function(n){for(var r=arguments.length,i=Array(r>1?r-1:0),o=1;o<r;o++)i[o-1]=arguments[o];return e.apply(void 0,[y(n)({style:t})].concat(i))};case"function":return function(n){for(var r=arguments.length,i=Array(r>1?r-1:0),o=1;o<r;o++)i[o-1]=arguments[o];return e.apply(void 0,[t.apply(void 0,[n].concat(i))].concat(i))}}}}(e[o],t[o]),n}),{})},_=function(e,t){for(var n=arguments.length,o=Array(n>2?n-2:0),s=2;s<n;s++)o[s-2]=arguments[s];if(null===t)return e;Array.isArray(t)||(t=[t]);var l=t.map((function(t){return e[t]})).filter(Boolean).reduce((function(e,t){return"string"==typeof t?e.className=[e.className,t].filter(Boolean).join(" "):"object"===(void 0===t?"undefined":(0,r.default)(t))?e.style=(0,i.default)({},e.style,t):"function"==typeof t&&(e=(0,i.default)({},e,t.apply(void 0,[e].concat(o)))),e}),{className:"",style:{}});return l.className||delete l.className,0===(0,a.default)(l.style).length&&delete l.style,l},b=t.invertTheme=function(e){return(0,a.default)(e).reduce((function(t,n){return t[n]=/^base/.test(n)?g(e[n]):"scheme"===n?e[n]+":inverted":e[n],t}),{})},E=(t.createStyling=(0,s.default)((function(e){for(var t=arguments.length,n=Array(t>3?t-3:0),r=3;r<t;r++)n[r-3]=arguments[r];var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},c=o.defaultBase16,u=void 0===c?f:c,h=o.base16Themes,p=E(l,void 0===h?null:h);p&&(l=(0,i.default)({},p,l));var d=m.reduce((function(e,t){return e[t]=l[t]||u[t],e}),{}),g=(0,a.default)(l).reduce((function(e,t){return-1===m.indexOf(t)?(e[t]=l[t],e):e}),{}),y=e(d),b=v(g,y);return(0,s.default)(_,2).apply(void 0,[b].concat(n))}),3),t.getBase16Theme=function(e,t){if(e&&e.extend&&(e=e.extend),"string"==typeof e){var n=e.split(":"),r=(0,o.default)(n,2),i=r[0],a=r[1];e=(t||{})[i]||l[i],"inverted"===a&&(e=b(e))}return e&&e.hasOwnProperty("base00")?e:void 0})},function(e,t,n){"use strict";var r,i="object"==typeof Reflect?Reflect:null,o=i&&"function"==typeof i.apply?i.apply:function(e,t,n){return Function.prototype.apply.call(e,t,n)};r=i&&"function"==typeof i.ownKeys?i.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var a=Number.isNaN||function(e){return e!=e};function s(){s.init.call(this)}e.exports=s,e.exports.once=function(e,t){return new Promise((function(n,r){function i(){void 0!==o&&e.removeListener("error",o),n([].slice.call(arguments))}var o;"error"!==t&&(o=function(n){e.removeListener(t,i),r(n)},e.once("error",o)),e.once(t,i)}))},s.EventEmitter=s,s.prototype._events=void 0,s.prototype._eventsCount=0,s.prototype._maxListeners=void 0;var l=10;function c(e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function u(e){return void 0===e._maxListeners?s.defaultMaxListeners:e._maxListeners}function h(e,t,n,r){var i,o,a,s;if(c(n),void 0===(o=e._events)?(o=e._events=Object.create(null),e._eventsCount=0):(void 0!==o.newListener&&(e.emit("newListener",t,n.listener?n.listener:n),o=e._events),a=o[t]),void 0===a)a=o[t]=n,++e._eventsCount;else if("function"==typeof a?a=o[t]=r?[n,a]:[a,n]:r?a.unshift(n):a.push(n),(i=u(e))>0&&a.length>i&&!a.warned){a.warned=!0;var l=new Error("Possible EventEmitter memory leak detected. "+a.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");l.name="MaxListenersExceededWarning",l.emitter=e,l.type=t,l.count=a.length,s=l,console&&console.warn&&console.warn(s)}return e}function p(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function d(e,t,n){var r={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},i=p.bind(r);return i.listener=n,r.wrapFn=i,i}function f(e,t,n){var r=e._events;if(void 0===r)return[];var i=r[t];return void 0===i?[]:"function"==typeof i?n?[i.listener||i]:[i]:n?function(e){for(var t=new Array(e.length),n=0;n<t.length;++n)t[n]=e[n].listener||e[n];return t}(i):g(i,i.length)}function m(e){var t=this._events;if(void 0!==t){var n=t[e];if("function"==typeof n)return 1;if(void 0!==n)return n.length}return 0}function g(e,t){for(var n=new Array(t),r=0;r<t;++r)n[r]=e[r];return n}Object.defineProperty(s,"defaultMaxListeners",{enumerable:!0,get:function(){return l},set:function(e){if("number"!=typeof e||e<0||a(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");l=e}}),s.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},s.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||a(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},s.prototype.getMaxListeners=function(){return u(this)},s.prototype.emit=function(e){for(var t=[],n=1;n<arguments.length;n++)t.push(arguments[n]);var r="error"===e,i=this._events;if(void 0!==i)r=r&&void 0===i.error;else if(!r)return!1;if(r){var a;if(t.length>0&&(a=t[0]),a instanceof Error)throw a;var s=new Error("Unhandled error."+(a?" ("+a.message+")":""));throw s.context=a,s}var l=i[e];if(void 0===l)return!1;if("function"==typeof l)o(l,this,t);else{var c=l.length,u=g(l,c);for(n=0;n<c;++n)o(u[n],this,t)}return!0},s.prototype.addListener=function(e,t){return h(this,e,t,!1)},s.prototype.on=s.prototype.addListener,s.prototype.prependListener=function(e,t){return h(this,e,t,!0)},s.prototype.once=function(e,t){return c(t),this.on(e,d(this,e,t)),this},s.prototype.prependOnceListener=function(e,t){return c(t),this.prependListener(e,d(this,e,t)),this},s.prototype.removeListener=function(e,t){var n,r,i,o,a;if(c(t),void 0===(r=this._events))return this;if(void 0===(n=r[e]))return this;if(n===t||n.listener===t)0==--this._eventsCount?this._events=Object.create(null):(delete r[e],r.removeListener&&this.emit("removeListener",e,n.listener||t));else if("function"!=typeof n){for(i=-1,o=n.length-1;o>=0;o--)if(n[o]===t||n[o].listener===t){a=n[o].listener,i=o;break}if(i<0)return this;0===i?n.shift():function(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}(n,i),1===n.length&&(r[e]=n[0]),void 0!==r.removeListener&&this.emit("removeListener",e,a||t)}return this},s.prototype.off=s.prototype.removeListener,s.prototype.removeAllListeners=function(e){var t,n,r;if(void 0===(n=this._events))return this;if(void 0===n.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==n[e]&&(0==--this._eventsCount?this._events=Object.create(null):delete n[e]),this;if(0===arguments.length){var i,o=Object.keys(n);for(r=0;r<o.length;++r)"removeListener"!==(i=o[r])&&this.removeAllListeners(i);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(t=n[e]))this.removeListener(e,t);else if(void 0!==t)for(r=t.length-1;r>=0;r--)this.removeListener(e,t[r]);return this},s.prototype.listeners=function(e){return f(this,e,!0)},s.prototype.rawListeners=function(e){return f(this,e,!1)},s.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):m.call(e,t)},s.prototype.listenerCount=m,s.prototype.eventNames=function(){return this._eventsCount>0?r(this._events):[]}},function(e,t,n){e.exports.Dispatcher=n(140)},function(e,t,n){e.exports=n(142)},function(e,t,n){"use strict";t.__esModule=!0;var r=a(n(50)),i=a(n(65)),o="function"==typeof i.default&&"symbol"==typeof r.default?function(e){return typeof e}:function(e){return e&&"function"==typeof i.default&&e.constructor===i.default&&e!==i.default.prototype?"symbol":typeof e};function a(e){return e&&e.__esModule?e:{default:e}}t.default="function"==typeof i.default&&"symbol"===o(r.default)?function(e){return void 0===e?"undefined":o(e)}:function(e){return e&&"function"==typeof i.default&&e.constructor===i.default&&e!==i.default.prototype?"symbol":void 0===e?"undefined":o(e)}},function(e,t,n){e.exports={default:n(51),__esModule:!0}},function(e,t,n){n(20),n(29),e.exports=n(30).f("iterator")},function(e,t,n){var r=n(21),i=n(22);e.exports=function(e){return function(t,n){var o,a,s=String(i(t)),l=r(n),c=s.length;return l<0||l>=c?e?"":void 0:(o=s.charCodeAt(l))<55296||o>56319||l+1===c||(a=s.charCodeAt(l+1))<56320||a>57343?e?s.charAt(l):o:e?s.slice(l,l+2):a-56320+(o-55296<<10)+65536}}},function(e,t,n){var r=n(54);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,n){"use strict";var r=n(38),i=n(16),o=n(28),a={};n(6)(a,n(2)("iterator"),(function(){return this})),e.exports=function(e,t,n){e.prototype=r(a,{next:i(1,n)}),o(e,t+" Iterator")}},function(e,t,n){var r=n(7),i=n(10),o=n(13);e.exports=n(4)?Object.defineProperties:function(e,t){i(e);for(var n,a=o(t),s=a.length,l=0;s>l;)r.f(e,n=a[l++],t[n]);return e}},function(e,t,n){var r=n(9),i=n(58),o=n(59);e.exports=function(e){return function(t,n,a){var s,l=r(t),c=i(l.length),u=o(a,c);if(e&&n!=n){for(;c>u;)if((s=l[u++])!=s)return!0}else for(;c>u;u++)if((e||u in l)&&l[u]===n)return e||u||0;return!e&&-1}}},function(e,t,n){var r=n(21),i=Math.min;e.exports=function(e){return e>0?i(r(e),9007199254740991):0}},function(e,t,n){var r=n(21),i=Math.max,o=Math.min;e.exports=function(e,t){return(e=r(e))<0?i(e+t,0):o(e,t)}},function(e,t,n){var r=n(3).document;e.exports=r&&r.documentElement},function(e,t,n){var r=n(5),i=n(18),o=n(25)("IE_PROTO"),a=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=i(e),r(e,o)?e[o]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?a:null}},function(e,t,n){"use strict";var r=n(63),i=n(64),o=n(12),a=n(9);e.exports=n(34)(Array,"Array",(function(e,t){this._t=a(e),this._i=0,this._k=t}),(function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,i(1)):i(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])}),"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},function(e,t){e.exports=function(){}},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t,n){e.exports={default:n(66),__esModule:!0}},function(e,t,n){n(67),n(73),n(74),n(75),e.exports=n(1).Symbol},function(e,t,n){"use strict";var r=n(3),i=n(5),o=n(4),a=n(15),s=n(37),l=n(68).KEY,c=n(8),u=n(26),h=n(28),p=n(17),d=n(2),f=n(30),m=n(31),g=n(69),y=n(70),v=n(10),_=n(11),b=n(18),E=n(9),T=n(23),x=n(16),S=n(38),C=n(71),A=n(72),R=n(32),w=n(7),L=n(13),O=A.f,N=w.f,I=C.f,k=r.Symbol,D=r.JSON,P=D&&D.stringify,M=d("_hidden"),F=d("toPrimitive"),H={}.propertyIsEnumerable,B=u("symbol-registry"),U=u("symbols"),j=u("op-symbols"),G=Object.prototype,Y="function"==typeof k&&!!R.f,z=r.QObject,$=!z||!z.prototype||!z.prototype.findChild,W=o&&c((function(){return 7!=S(N({},"a",{get:function(){return N(this,"a",{value:7}).a}})).a}))?function(e,t,n){var r=O(G,t);r&&delete G[t],N(e,t,n),r&&e!==G&&N(G,t,r)}:N,V=function(e){var t=U[e]=S(k.prototype);return t._k=e,t},K=Y&&"symbol"==typeof k.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof k},q=function(e,t,n){return e===G&&q(j,t,n),v(e),t=T(t,!0),v(n),i(U,t)?(n.enumerable?(i(e,M)&&e[M][t]&&(e[M][t]=!1),n=S(n,{enumerable:x(0,!1)})):(i(e,M)||N(e,M,x(1,{})),e[M][t]=!0),W(e,t,n)):N(e,t,n)},X=function(e,t){v(e);for(var n,r=g(t=E(t)),i=0,o=r.length;o>i;)q(e,n=r[i++],t[n]);return e},Z=function(e){var t=H.call(this,e=T(e,!0));return!(this===G&&i(U,e)&&!i(j,e))&&(!(t||!i(this,e)||!i(U,e)||i(this,M)&&this[M][e])||t)},Q=function(e,t){if(e=E(e),t=T(t,!0),e!==G||!i(U,t)||i(j,t)){var n=O(e,t);return!n||!i(U,t)||i(e,M)&&e[M][t]||(n.enumerable=!0),n}},J=function(e){for(var t,n=I(E(e)),r=[],o=0;n.length>o;)i(U,t=n[o++])||t==M||t==l||r.push(t);return r},ee=function(e){for(var t,n=e===G,r=I(n?j:E(e)),o=[],a=0;r.length>a;)!i(U,t=r[a++])||n&&!i(G,t)||o.push(U[t]);return o};Y||(s((k=function(){if(this instanceof k)throw TypeError("Symbol is not a constructor!");var e=p(arguments.length>0?arguments[0]:void 0),t=function(n){this===G&&t.call(j,n),i(this,M)&&i(this[M],e)&&(this[M][e]=!1),W(this,e,x(1,n))};return o&&$&&W(G,e,{configurable:!0,set:t}),V(e)}).prototype,"toString",(function(){return this._k})),A.f=Q,w.f=q,n(41).f=C.f=J,n(19).f=Z,R.f=ee,o&&!n(14)&&s(G,"propertyIsEnumerable",Z,!0),f.f=function(e){return V(d(e))}),a(a.G+a.W+a.F*!Y,{Symbol:k});for(var te="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ne=0;te.length>ne;)d(te[ne++]);for(var re=L(d.store),ie=0;re.length>ie;)m(re[ie++]);a(a.S+a.F*!Y,"Symbol",{for:function(e){return i(B,e+="")?B[e]:B[e]=k(e)},keyFor:function(e){if(!K(e))throw TypeError(e+" is not a symbol!");for(var t in B)if(B[t]===e)return t},useSetter:function(){$=!0},useSimple:function(){$=!1}}),a(a.S+a.F*!Y,"Object",{create:function(e,t){return void 0===t?S(e):X(S(e),t)},defineProperty:q,defineProperties:X,getOwnPropertyDescriptor:Q,getOwnPropertyNames:J,getOwnPropertySymbols:ee});var oe=c((function(){R.f(1)}));a(a.S+a.F*oe,"Object",{getOwnPropertySymbols:function(e){return R.f(b(e))}}),D&&a(a.S+a.F*(!Y||c((function(){var e=k();return"[null]"!=P([e])||"{}"!=P({a:e})||"{}"!=P(Object(e))}))),"JSON",{stringify:function(e){for(var t,n,r=[e],i=1;arguments.length>i;)r.push(arguments[i++]);if(n=t=r[1],(_(t)||void 0!==e)&&!K(e))return y(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!K(t))return t}),r[1]=t,P.apply(D,r)}}),k.prototype[F]||n(6)(k.prototype,F,k.prototype.valueOf),h(k,"Symbol"),h(Math,"Math",!0),h(r.JSON,"JSON",!0)},function(e,t,n){var r=n(17)("meta"),i=n(11),o=n(5),a=n(7).f,s=0,l=Object.isExtensible||function(){return!0},c=!n(8)((function(){return l(Object.preventExtensions({}))})),u=function(e){a(e,r,{value:{i:"O"+ ++s,w:{}}})},h=e.exports={KEY:r,NEED:!1,fastKey:function(e,t){if(!i(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!o(e,r)){if(!l(e))return"F";if(!t)return"E";u(e)}return e[r].i},getWeak:function(e,t){if(!o(e,r)){if(!l(e))return!0;if(!t)return!1;u(e)}return e[r].w},onFreeze:function(e){return c&&h.NEED&&l(e)&&!o(e,r)&&u(e),e}}},function(e,t,n){var r=n(13),i=n(32),o=n(19);e.exports=function(e){var t=r(e),n=i.f;if(n)for(var a,s=n(e),l=o.f,c=0;s.length>c;)l.call(e,a=s[c++])&&t.push(a);return t}},function(e,t,n){var r=n(24);e.exports=Array.isArray||function(e){return"Array"==r(e)}},function(e,t,n){var r=n(9),i=n(41).f,o={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return a&&"[object Window]"==o.call(e)?function(e){try{return i(e)}catch(e){return a.slice()}}(e):i(r(e))}},function(e,t,n){var r=n(19),i=n(16),o=n(9),a=n(23),s=n(5),l=n(35),c=Object.getOwnPropertyDescriptor;t.f=n(4)?c:function(e,t){if(e=o(e),t=a(t,!0),l)try{return c(e,t)}catch(e){}if(s(e,t))return i(!r.f.call(e,t),e[t])}},function(e,t){},function(e,t,n){n(31)("asyncIterator")},function(e,t,n){n(31)("observable")},function(e,t,n){"use strict";t.__esModule=!0;var r,i=(r=n(77))&&r.__esModule?r:{default:r};t.default=i.default||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}},function(e,t,n){e.exports={default:n(78),__esModule:!0}},function(e,t,n){n(79),e.exports=n(1).Object.assign},function(e,t,n){var r=n(15);r(r.S+r.F,"Object",{assign:n(80)})},function(e,t,n){"use strict";var r=n(4),i=n(13),o=n(32),a=n(19),s=n(18),l=n(40),c=Object.assign;e.exports=!c||n(8)((function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach((function(e){t[e]=e})),7!=c({},e)[n]||Object.keys(c({},t)).join("")!=r}))?function(e,t){for(var n=s(e),c=arguments.length,u=1,h=o.f,p=a.f;c>u;)for(var d,f=l(arguments[u++]),m=h?i(f).concat(h(f)):i(f),g=m.length,y=0;g>y;)d=m[y++],r&&!p.call(f,d)||(n[d]=f[d]);return n}:c},function(e,t,n){"use strict";t.__esModule=!0;var r=o(n(82)),i=o(n(85));function o(e){return e&&e.__esModule?e:{default:e}}t.default=function(e,t){if(Array.isArray(e))return e;if((0,r.default)(Object(e)))return function(e,t){var n=[],r=!0,o=!1,a=void 0;try{for(var s,l=(0,i.default)(e);!(r=(s=l.next()).done)&&(n.push(s.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{!r&&l.return&&l.return()}finally{if(o)throw a}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}},function(e,t,n){e.exports={default:n(83),__esModule:!0}},function(e,t,n){n(29),n(20),e.exports=n(84)},function(e,t,n){var r=n(42),i=n(2)("iterator"),o=n(12);e.exports=n(1).isIterable=function(e){var t=Object(e);return void 0!==t[i]||"@@iterator"in t||o.hasOwnProperty(r(t))}},function(e,t,n){e.exports={default:n(86),__esModule:!0}},function(e,t,n){n(29),n(20),e.exports=n(87)},function(e,t,n){var r=n(10),i=n(88);e.exports=n(1).getIterator=function(e){var t=i(e);if("function"!=typeof t)throw TypeError(e+" is not iterable!");return r(t.call(e))}},function(e,t,n){var r=n(42),i=n(2)("iterator"),o=n(12);e.exports=n(1).getIteratorMethod=function(e){if(null!=e)return e[i]||e["@@iterator"]||o[r(e)]}},function(e,t,n){e.exports={default:n(90),__esModule:!0}},function(e,t,n){n(91),e.exports=n(1).Object.keys},function(e,t,n){var r=n(18),i=n(13);n(92)("keys",(function(){return function(e){return i(r(e))}}))},function(e,t,n){var r=n(15),i=n(1),o=n(8);e.exports=function(e,t){var n=(i.Object||{})[e]||Object[e],a={};a[e]=t(n),r(r.S+r.F*o((function(){n(1)})),"Object",a)}},function(e,t,n){(function(t){var n=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]],r=/^\s+|\s+$/g,i=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,o=/\{\n\/\* \[wrapped with (.+)\] \*/,a=/,? & /,s=/^[-+]0x[0-9a-f]+$/i,l=/^0b[01]+$/i,c=/^\[object .+?Constructor\]$/,u=/^0o[0-7]+$/i,h=/^(?:0|[1-9]\d*)$/,p=parseInt,d="object"==typeof t&&t&&t.Object===Object&&t,f="object"==typeof self&&self&&self.Object===Object&&self,m=d||f||Function("return this")();function g(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function y(e){return e!=e}function v(e,t){for(var n=-1,r=e.length,i=0,o=[];++n<r;){var a=e[n];a!==t&&"__lodash_placeholder__"!==a||(e[n]="__lodash_placeholder__",o[i++]=n)}return o}var _,b,E,T=Function.prototype,x=Object.prototype,S=m["__core-js_shared__"],C=(_=/[^.]+$/.exec(S&&S.keys&&S.keys.IE_PROTO||""))?"Symbol(src)_1."+_:"",A=T.toString,R=x.hasOwnProperty,w=x.toString,L=RegExp("^"+A.call(R).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),O=Object.create,N=Math.max,I=Math.min,k=(b=H(Object,"defineProperty"),(E=H.name)&&E.length>2?b:void 0);function D(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=function(e){return $(e)?O(e):{}}(e.prototype),r=e.apply(n,t);return $(r)?r:n}}function P(e,t,n,r,i,o,a,s,l,c){var u=128&t,h=1&t,p=2&t,d=24&t,f=512&t,g=p?void 0:D(e);return function y(){for(var _=arguments.length,b=Array(_),E=_;E--;)b[E]=arguments[E];if(d)var T=F(y),x=function(e,t){for(var n=e.length,r=0;n--;)e[n]===t&&r++;return r}(b,T);if(r&&(b=function(e,t,n,r){for(var i=-1,o=e.length,a=n.length,s=-1,l=t.length,c=N(o-a,0),u=Array(l+c),h=!r;++s<l;)u[s]=t[s];for(;++i<a;)(h||i<o)&&(u[n[i]]=e[i]);for(;c--;)u[s++]=e[i++];return u}(b,r,i,d)),o&&(b=function(e,t,n,r){for(var i=-1,o=e.length,a=-1,s=n.length,l=-1,c=t.length,u=N(o-s,0),h=Array(u+c),p=!r;++i<u;)h[i]=e[i];for(var d=i;++l<c;)h[d+l]=t[l];for(;++a<s;)(p||i<o)&&(h[d+n[a]]=e[i++]);return h}(b,o,a,d)),_-=x,d&&_<c){var S=v(b,T);return M(e,t,P,y.placeholder,n,b,S,s,l,c-_)}var C=h?n:this,A=p?C[e]:e;return _=b.length,s?b=function(e,t){for(var n=e.length,r=I(t.length,n),i=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}(e);r--;){var o=t[r];e[r]=j(o,n)?i[o]:void 0}return e}(b,s):f&&_>1&&b.reverse(),u&&l<_&&(b.length=l),this&&this!==m&&this instanceof y&&(A=g||D(A)),A.apply(C,b)}}function M(e,t,n,r,i,o,a,s,l,c){var u=8&t;t|=u?32:64,4&(t&=~(u?64:32))||(t&=-4);var h=n(e,t,i,u?o:void 0,u?a:void 0,u?void 0:o,u?void 0:a,s,l,c);return h.placeholder=r,G(h,e,t)}function F(e){return e.placeholder}function H(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return function(e){return!(!$(e)||function(e){return!!C&&C in e}(e))&&(function(e){var t=$(e)?w.call(e):"";return"[object Function]"==t||"[object GeneratorFunction]"==t}(e)||function(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}(e)?L:c).test(function(e){if(null!=e){try{return A.call(e)}catch(e){}try{return e+""}catch(e){}}return""}(e))}(n)?n:void 0}function B(e){var t=e.match(o);return t?t[1].split(a):[]}function U(e,t){var n=t.length,r=n-1;return t[r]=(n>1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace(i,"{\n/* [wrapped with "+t+"] */\n")}function j(e,t){return!!(t=null==t?9007199254740991:t)&&("number"==typeof e||h.test(e))&&e>-1&&e%1==0&&e<t}var G=k?function(e,t,n){var r,i=t+"";return k(e,"toString",{configurable:!0,enumerable:!1,value:(r=U(i,Y(B(i),n)),function(){return r})})}:function(e){return e};function Y(e,t){return function(e,t){for(var n=-1,r=e?e.length:0;++n<r&&!1!==t(e[n]););}(n,(function(n){var r="_."+n[0];t&n[1]&&!function(e,t){return!(!e||!e.length)&&function(e,t,n){if(t!=t)return function(e,t,n,r){for(var i=e.length,o=-1;++o<i;)if(t(e[o],o,e))return o;return-1}(e,y);for(var r=-1,i=e.length;++r<i;)if(e[r]===t)return r;return-1}(e,t)>-1}(e,r)&&e.push(r)})),e.sort()}function z(e,t,n){var r=function(e,t,n,r,i,o,a,s){var l=2&t;if(!l&&"function"!=typeof e)throw new TypeError("Expected a function");var c=r?r.length:0;if(c||(t&=-97,r=i=void 0),a=void 0===a?a:N(W(a),0),s=void 0===s?s:W(s),c-=i?i.length:0,64&t){var u=r,h=i;r=i=void 0}var p=[e,t,n,r,i,u,h,o,a,s];if(e=p[0],t=p[1],n=p[2],r=p[3],i=p[4],!(s=p[9]=null==p[9]?l?0:e.length:N(p[9]-c,0))&&24&t&&(t&=-25),t&&1!=t)d=8==t||16==t?function(e,t,n){var r=D(e);return function i(){for(var o=arguments.length,a=Array(o),s=o,l=F(i);s--;)a[s]=arguments[s];var c=o<3&&a[0]!==l&&a[o-1]!==l?[]:v(a,l);return(o-=c.length)<n?M(e,t,P,i.placeholder,void 0,a,c,void 0,void 0,n-o):g(this&&this!==m&&this instanceof i?r:e,this,a)}}(e,t,s):32!=t&&33!=t||i.length?P.apply(void 0,p):function(e,t,n,r){var i=1&t,o=D(e);return function t(){for(var a=-1,s=arguments.length,l=-1,c=r.length,u=Array(c+s),h=this&&this!==m&&this instanceof t?o:e;++l<c;)u[l]=r[l];for(;s--;)u[l++]=arguments[++a];return g(h,i?n:this,u)}}(e,t,n,r);else var d=function(e,t,n){var r=1&t,i=D(e);return function t(){return(this&&this!==m&&this instanceof t?i:e).apply(r?n:this,arguments)}}(e,t,n);return G(d,e,t)}(e,8,void 0,void 0,void 0,void 0,void 0,t=n?void 0:t);return r.placeholder=z.placeholder,r}function $(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function W(e){var t=function(e){return e?(e=function(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==w.call(e)}(e))return NaN;if($(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=$(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(r,"");var n=l.test(e);return n||u.test(e)?p(e.slice(2),n?2:8):s.test(e)?NaN:+e}(e))===1/0||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}(e),n=t%1;return t==t?n?t-n:t:0}z.placeholder={},e.exports=z}).call(this,n(43))},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e.default:e}t.__esModule=!0;var i=n(95);t.threezerotwofour=r(i);var o=n(96);t.apathy=r(o);var a=n(97);t.ashes=r(a);var s=n(98);t.atelierDune=r(s);var l=n(99);t.atelierForest=r(l);var c=n(100);t.atelierHeath=r(c);var u=n(101);t.atelierLakeside=r(u);var h=n(102);t.atelierSeaside=r(h);var p=n(103);t.bespin=r(p);var d=n(104);t.brewer=r(d);var f=n(105);t.bright=r(f);var m=n(106);t.chalk=r(m);var g=n(107);t.codeschool=r(g);var y=n(108);t.colors=r(y);var v=n(109);t.default=r(v);var _=n(110);t.eighties=r(_);var b=n(111);t.embers=r(b);var E=n(112);t.flat=r(E);var T=n(113);t.google=r(T);var x=n(114);t.grayscale=r(x);var S=n(115);t.greenscreen=r(S);var C=n(116);t.harmonic=r(C);var A=n(117);t.hopscotch=r(A);var R=n(118);t.isotope=r(R);var w=n(119);t.marrakesh=r(w);var L=n(120);t.mocha=r(L);var O=n(121);t.monokai=r(O);var N=n(122);t.ocean=r(N);var I=n(123);t.paraiso=r(I);var k=n(124);t.pop=r(k);var D=n(125);t.railscasts=r(D);var P=n(126);t.shapeshifter=r(P);var M=n(127);t.solarized=r(M);var F=n(128);t.summerfruit=r(F);var H=n(129);t.tomorrow=r(H);var B=n(130);t.tube=r(B);var U=n(131);t.twilight=r(U)},function(e,t,n){"use strict";t.__esModule=!0,t.default={scheme:"threezerotwofour",author:"jan t. sott (http://github.com/idleberg)",base00:"#090300",base01:"#3a3432",base02:"#4a4543",base03:"#5c5855",base04:"#807d7c",base05:"#a5a2a2",base06:"#d6d5d4",base07:"#f7f7f7",base08:"#db2d20",base09:"#e8bbd0",base0A:"#fded02",base0B:"#01a252",base0C:"#b5e4f4",base0D:"#01a0e4",base0E:"#a16a94",base0F:"#cdab53"},e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0,t.default={scheme:"apathy",author:"jannik siebert (https://github.com/janniks)",base00:"#031A16",base01:"#0B342D",base02:"#184E45",base03:"#2B685E",base04:"#5F9C92",base05:"#81B5AC",base06:"#A7CEC8",base07:"#D2E7E4",base08:"#3E9688",base09:"#3E7996",base0A:"#3E4C96",base0B:"#883E96",base0C:"#963E4C",base0D:"#96883E",base0E:"#4C963E",base0F:"#3E965B"},e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0,t.default={scheme:"ashes",author:"jannik siebert (https://github.com/janniks)",base00:"#1C2023",base01:"#393F45",base02:"#565E65",base03:"#747C84",base04:"#ADB3BA",base05:"#C7CCD1",base06:"#DFE2E5",base07:"#F3F4F5",base08:"#C7AE95",base09:"#C7C795",base0A:"#AEC795",base0B:"#95C7AE",base0C:"#95AEC7",base0D:"#AE95C7",base0E:"#C795AE",base0F:"#C79595"},e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0,t.default={scheme:"atelier dune",author:"bram de haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/dune)",base00:"#20201d",base01:"#292824",base02:"#6e6b5e",base03:"#7d7a68",base04:"#999580",base05:"#a6a28c",base06:"#e8e4cf",base07:"#fefbec",base08:"#d73737",base09:"#b65611",base0A:"#cfb017",base0B:"#60ac39",base0C:"#1fad83",base0D:"#6684e1",base0E:"#b854d4",base0F:"#d43552"},e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0,t.default={scheme:"atelier forest",author:"bram de haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/forest)",base00:"#1b1918",base01:"#2c2421",base02:"#68615e",base03:"#766e6b",base04:"#9c9491",base05:"#a8a19f",base06:"#e6e2e0",base07:"#f1efee",base08:"#f22c40",base09:"#df5320",base0A:"#d5911a",base0B:"#5ab738",base0C:"#00ad9c",base0D:"#407ee7",base0E:"#6666ea",base0F:"#c33ff3"},e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0,t.default={scheme:"atelier heath",author:"bram de haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/heath)",base00:"#1b181b",base01:"#292329",base02:"#695d69",base03:"#776977",base04:"#9e8f9e",base05:"#ab9bab",base06:"#d8cad8",base07:"#f7f3f7",base08:"#ca402b",base09:"#a65926",base0A:"#bb8a35",base0B:"#379a37",base0C:"#159393",base0D:"#516aec",base0E:"#7b59c0",base0F:"#cc33cc"},e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0,t.default={scheme:"atelier lakeside",author:"bram de haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/lakeside/)",base00:"#161b1d",base01:"#1f292e",base02:"#516d7b",base03:"#5a7b8c",base04:"#7195a8",base05:"#7ea2b4",base06:"#c1e4f6",base07:"#ebf8ff",base08:"#d22d72",base09:"#935c25",base0A:"#8a8a0f",base0B:"#568c3b",base0C:"#2d8f6f",base0D:"#257fad",base0E:"#5d5db1",base0F:"#b72dd2"},e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0,t.default={scheme:"atelier seaside",author:"bram de haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/seaside/)",base00:"#131513",base01:"#242924",base02:"#5e6e5e",base03:"#687d68",base04:"#809980",base05:"#8ca68c",base06:"#cfe8cf",base07:"#f0fff0",base08:"#e6193c",base09:"#87711d",base0A:"#c3c322",base0B:"#29a329",base0C:"#1999b3",base0D:"#3d62f5",base0E:"#ad2bee",base0F:"#e619c3"},e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0,t.default={scheme:"bespin",author:"jan t. sott",base00:"#28211c",base01:"#36312e",base02:"#5e5d5c",base03:"#666666",base04:"#797977",base05:"#8a8986",base06:"#9d9b97",base07:"#baae9e",base08:"#cf6a4c",base09:"#cf7d34",base0A:"#f9ee98",base0B:"#54be0d",base0C:"#afc4db",base0D:"#5ea6ea",base0E:"#9b859d",base0F:"#937121"},e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0,t.default={scheme:"brewer",author:"timothée poisot (http://github.com/tpoisot)",base00:"#0c0d0e",base01:"#2e2f30",base02:"#515253",base03:"#737475",base04:"#959697",base05:"#b7b8b9",base06:"#dadbdc",base07:"#fcfdfe",base08:"#e31a1c",base09:"#e6550d",base0A:"#dca060",base0B:"#31a354",base0C:"#80b1d3",base0D:"#3182bd",base0E:"#756bb1",base0F:"#b15928"},e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0,t.default={scheme:"bright",author:"chris kempson (http://chriskempson.com)",base00:"#000000",base01:"#303030",base02:"#505050",base03:"#b0b0b0",base04:"#d0d0d0",base05:"#e0e0e0",base06:"#f5f5f5",base07:"#ffffff",base08:"#fb0120",base09:"#fc6d24",base0A:"#fda331",base0B:"#a1c659",base0C:"#76c7b7",base0D:"#6fb3d2",base0E:"#d381c3",base0F:"#be643c"},e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0,t.default={scheme:"chalk",author:"chris kempson (http://chriskempson.com)",base00:"#151515",base01:"#202020",base02:"#303030",base03:"#505050",base04:"#b0b0b0",base05:"#d0d0d0",base06:"#e0e0e0",base07:"#f5f5f5",base08:"#fb9fb1",base09:"#eda987",base0A:"#ddb26f",base0B:"#acc267",base0C:"#12cfc0",base0D:"#6fc2ef",base0E:"#e1a3ee",base0F:"#deaf8f"},e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0,t.default={scheme:"codeschool",author:"brettof86",base00:"#232c31",base01:"#1c3657",base02:"#2a343a",base03:"#3f4944",base04:"#84898c",base05:"#9ea7a6",base06:"#a7cfa3",base07:"#b5d8f6",base08:"#2a5491",base09:"#43820d",base0A:"#a03b1e",base0B:"#237986",base0C:"#b02f30",base0D:"#484d79",base0E:"#c59820",base0F:"#c98344"},e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0,t.default={scheme:"colors",author:"mrmrs (http://clrs.cc)",base00:"#111111",base01:"#333333",base02:"#555555",base03:"#777777",base04:"#999999",base05:"#bbbbbb",base06:"#dddddd",base07:"#ffffff",base08:"#ff4136",base09:"#ff851b",base0A:"#ffdc00",base0B:"#2ecc40",base0C:"#7fdbff",base0D:"#0074d9",base0E:"#b10dc9",base0F:"#85144b"},e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0,t.default={scheme:"default",author:"chris kempson (http://chriskempson.com)",base00:"#181818",base01:"#282828",base02:"#383838",base03:"#585858",base04:"#b8b8b8",base05:"#d8d8d8",base06:"#e8e8e8",base07:"#f8f8f8",base08:"#ab4642",base09:"#dc9656",base0A:"#f7ca88",base0B:"#a1b56c",base0C:"#86c1b9",base0D:"#7cafc2",base0E:"#ba8baf",base0F:"#a16946"},e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0,t.default={scheme:"eighties",author:"chris kempson (http://chriskempson.com)",base00:"#2d2d2d",base01:"#393939",base02:"#515151",base03:"#747369",base04:"#a09f93",base05:"#d3d0c8",base06:"#e8e6df",base07:"#f2f0ec",base08:"#f2777a",base09:"#f99157",base0A:"#ffcc66",base0B:"#99cc99",base0C:"#66cccc",base0D:"#6699cc",base0E:"#cc99cc",base0F:"#d27b53"},e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0,t.default={scheme:"embers",author:"jannik siebert (https://github.com/janniks)",base00:"#16130F",base01:"#2C2620",base02:"#433B32",base03:"#5A5047",base04:"#8A8075",base05:"#A39A90",base06:"#BEB6AE",base07:"#DBD6D1",base08:"#826D57",base09:"#828257",base0A:"#6D8257",base0B:"#57826D",base0C:"#576D82",base0D:"#6D5782",base0E:"#82576D",base0F:"#825757"},e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0,t.default={scheme:"flat",author:"chris kempson (http://chriskempson.com)",base00:"#2C3E50",base01:"#34495E",base02:"#7F8C8D",base03:"#95A5A6",base04:"#BDC3C7",base05:"#e0e0e0",base06:"#f5f5f5",base07:"#ECF0F1",base08:"#E74C3C",base09:"#E67E22",base0A:"#F1C40F",base0B:"#2ECC71",base0C:"#1ABC9C",base0D:"#3498DB",base0E:"#9B59B6",base0F:"#be643c"},e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0,t.default={scheme:"google",author:"seth wright (http://sethawright.com)",base00:"#1d1f21",base01:"#282a2e",base02:"#373b41",base03:"#969896",base04:"#b4b7b4",base05:"#c5c8c6",base06:"#e0e0e0",base07:"#ffffff",base08:"#CC342B",base09:"#F96A38",base0A:"#FBA922",base0B:"#198844",base0C:"#3971ED",base0D:"#3971ED",base0E:"#A36AC7",base0F:"#3971ED"},e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0,t.default={scheme:"grayscale",author:"alexandre gavioli (https://github.com/alexx2/)",base00:"#101010",base01:"#252525",base02:"#464646",base03:"#525252",base04:"#ababab",base05:"#b9b9b9",base06:"#e3e3e3",base07:"#f7f7f7",base08:"#7c7c7c",base09:"#999999",base0A:"#a0a0a0",base0B:"#8e8e8e",base0C:"#868686",base0D:"#686868",base0E:"#747474",base0F:"#5e5e5e"},e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0,t.default={scheme:"green screen",author:"chris kempson (http://chriskempson.com)",base00:"#001100",base01:"#003300",base02:"#005500",base03:"#007700",base04:"#009900",base05:"#00bb00",base06:"#00dd00",base07:"#00ff00",base08:"#007700",base09:"#009900",base0A:"#007700",base0B:"#00bb00",base0C:"#005500",base0D:"#009900",base0E:"#00bb00",base0F:"#005500"},e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0,t.default={scheme:"harmonic16",author:"jannik siebert (https://github.com/janniks)",base00:"#0b1c2c",base01:"#223b54",base02:"#405c79",base03:"#627e99",base04:"#aabcce",base05:"#cbd6e2",base06:"#e5ebf1",base07:"#f7f9fb",base08:"#bf8b56",base09:"#bfbf56",base0A:"#8bbf56",base0B:"#56bf8b",base0C:"#568bbf",base0D:"#8b56bf",base0E:"#bf568b",base0F:"#bf5656"},e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0,t.default={scheme:"hopscotch",author:"jan t. sott",base00:"#322931",base01:"#433b42",base02:"#5c545b",base03:"#797379",base04:"#989498",base05:"#b9b5b8",base06:"#d5d3d5",base07:"#ffffff",base08:"#dd464c",base09:"#fd8b19",base0A:"#fdcc59",base0B:"#8fc13e",base0C:"#149b93",base0D:"#1290bf",base0E:"#c85e7c",base0F:"#b33508"},e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0,t.default={scheme:"isotope",author:"jan t. sott",base00:"#000000",base01:"#404040",base02:"#606060",base03:"#808080",base04:"#c0c0c0",base05:"#d0d0d0",base06:"#e0e0e0",base07:"#ffffff",base08:"#ff0000",base09:"#ff9900",base0A:"#ff0099",base0B:"#33ff00",base0C:"#00ffff",base0D:"#0066ff",base0E:"#cc00ff",base0F:"#3300ff"},e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0,t.default={scheme:"marrakesh",author:"alexandre gavioli (http://github.com/alexx2/)",base00:"#201602",base01:"#302e00",base02:"#5f5b17",base03:"#6c6823",base04:"#86813b",base05:"#948e48",base06:"#ccc37a",base07:"#faf0a5",base08:"#c35359",base09:"#b36144",base0A:"#a88339",base0B:"#18974e",base0C:"#75a738",base0D:"#477ca1",base0E:"#8868b3",base0F:"#b3588e"},e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0,t.default={scheme:"mocha",author:"chris kempson (http://chriskempson.com)",base00:"#3B3228",base01:"#534636",base02:"#645240",base03:"#7e705a",base04:"#b8afad",base05:"#d0c8c6",base06:"#e9e1dd",base07:"#f5eeeb",base08:"#cb6077",base09:"#d28b71",base0A:"#f4bc87",base0B:"#beb55b",base0C:"#7bbda4",base0D:"#8ab3b5",base0E:"#a89bb9",base0F:"#bb9584"},e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0,t.default={scheme:"monokai",author:"wimer hazenberg (http://www.monokai.nl)",base00:"#272822",base01:"#383830",base02:"#49483e",base03:"#75715e",base04:"#a59f85",base05:"#f8f8f2",base06:"#f5f4f1",base07:"#f9f8f5",base08:"#f92672",base09:"#fd971f",base0A:"#f4bf75",base0B:"#a6e22e",base0C:"#a1efe4",base0D:"#66d9ef",base0E:"#ae81ff",base0F:"#cc6633"},e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0,t.default={scheme:"ocean",author:"chris kempson (http://chriskempson.com)",base00:"#2b303b",base01:"#343d46",base02:"#4f5b66",base03:"#65737e",base04:"#a7adba",base05:"#c0c5ce",base06:"#dfe1e8",base07:"#eff1f5",base08:"#bf616a",base09:"#d08770",base0A:"#ebcb8b",base0B:"#a3be8c",base0C:"#96b5b4",base0D:"#8fa1b3",base0E:"#b48ead",base0F:"#ab7967"},e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0,t.default={scheme:"paraiso",author:"jan t. sott",base00:"#2f1e2e",base01:"#41323f",base02:"#4f424c",base03:"#776e71",base04:"#8d8687",base05:"#a39e9b",base06:"#b9b6b0",base07:"#e7e9db",base08:"#ef6155",base09:"#f99b15",base0A:"#fec418",base0B:"#48b685",base0C:"#5bc4bf",base0D:"#06b6ef",base0E:"#815ba4",base0F:"#e96ba8"},e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0,t.default={scheme:"pop",author:"chris kempson (http://chriskempson.com)",base00:"#000000",base01:"#202020",base02:"#303030",base03:"#505050",base04:"#b0b0b0",base05:"#d0d0d0",base06:"#e0e0e0",base07:"#ffffff",base08:"#eb008a",base09:"#f29333",base0A:"#f8ca12",base0B:"#37b349",base0C:"#00aabb",base0D:"#0e5a94",base0E:"#b31e8d",base0F:"#7a2d00"},e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0,t.default={scheme:"railscasts",author:"ryan bates (http://railscasts.com)",base00:"#2b2b2b",base01:"#272935",base02:"#3a4055",base03:"#5a647e",base04:"#d4cfc9",base05:"#e6e1dc",base06:"#f4f1ed",base07:"#f9f7f3",base08:"#da4939",base09:"#cc7833",base0A:"#ffc66d",base0B:"#a5c261",base0C:"#519f50",base0D:"#6d9cbe",base0E:"#b6b3eb",base0F:"#bc9458"},e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0,t.default={scheme:"shapeshifter",author:"tyler benziger (http://tybenz.com)",base00:"#000000",base01:"#040404",base02:"#102015",base03:"#343434",base04:"#555555",base05:"#ababab",base06:"#e0e0e0",base07:"#f9f9f9",base08:"#e92f2f",base09:"#e09448",base0A:"#dddd13",base0B:"#0ed839",base0C:"#23edda",base0D:"#3b48e3",base0E:"#f996e2",base0F:"#69542d"},e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0,t.default={scheme:"solarized",author:"ethan schoonover (http://ethanschoonover.com/solarized)",base00:"#002b36",base01:"#073642",base02:"#586e75",base03:"#657b83",base04:"#839496",base05:"#93a1a1",base06:"#eee8d5",base07:"#fdf6e3",base08:"#dc322f",base09:"#cb4b16",base0A:"#b58900",base0B:"#859900",base0C:"#2aa198",base0D:"#268bd2",base0E:"#6c71c4",base0F:"#d33682"},e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0,t.default={scheme:"summerfruit",author:"christopher corley (http://cscorley.github.io/)",base00:"#151515",base01:"#202020",base02:"#303030",base03:"#505050",base04:"#B0B0B0",base05:"#D0D0D0",base06:"#E0E0E0",base07:"#FFFFFF",base08:"#FF0086",base09:"#FD8900",base0A:"#ABA800",base0B:"#00C918",base0C:"#1faaaa",base0D:"#3777E6",base0E:"#AD00A1",base0F:"#cc6633"},e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0,t.default={scheme:"tomorrow",author:"chris kempson (http://chriskempson.com)",base00:"#1d1f21",base01:"#282a2e",base02:"#373b41",base03:"#969896",base04:"#b4b7b4",base05:"#c5c8c6",base06:"#e0e0e0",base07:"#ffffff",base08:"#cc6666",base09:"#de935f",base0A:"#f0c674",base0B:"#b5bd68",base0C:"#8abeb7",base0D:"#81a2be",base0E:"#b294bb",base0F:"#a3685a"},e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0,t.default={scheme:"london tube",author:"jan t. sott",base00:"#231f20",base01:"#1c3f95",base02:"#5a5758",base03:"#737171",base04:"#959ca1",base05:"#d9d8d8",base06:"#e7e7e8",base07:"#ffffff",base08:"#ee2e24",base09:"#f386a1",base0A:"#ffd204",base0B:"#00853e",base0C:"#85cebc",base0D:"#009ddc",base0E:"#98005d",base0F:"#b06110"},e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0,t.default={scheme:"twilight",author:"david hart (http://hart-dev.com)",base00:"#1e1e1e",base01:"#323537",base02:"#464b50",base03:"#5f5a60",base04:"#838184",base05:"#a7a7a7",base06:"#c3c3c3",base07:"#ffffff",base08:"#cf6a4c",base09:"#cda869",base0A:"#f9ee98",base0B:"#8f9d6a",base0C:"#afc4db",base0D:"#7587a6",base0E:"#9b859d",base0F:"#9b703f"},e.exports=t.default},function(e,t,n){var r=n(33);function i(e){var t=Math.round(r(e,0,255)).toString(16);return 1==t.length?"0"+t:t}e.exports=function(e){var t=4===e.length?i(255*e[3]):"";return"#"+i(e[0])+i(e[1])+i(e[2])+t}},function(e,t,n){var r=n(134),i=n(135),o=n(136),a=n(137),s={"#":i,hsl:function(e){var t=r(e),n=a(t);return 4===t.length&&n.push(t[3]),n},rgb:o};function l(e){for(var t in s)if(0===e.indexOf(t))return s[t](e)}l.rgb=o,l.hsl=r,l.hex=i,e.exports=l},function(e,t,n){var r=n(44),i=n(33);function o(e,t){switch(e=parseFloat(e),t){case 0:return i(e,0,360);case 1:case 2:return i(e,0,100);case 3:return i(e,0,1)}}e.exports=function(e){return r(e).map(o)}},function(e,t){e.exports=function(e){4!==e.length&&5!==e.length||(e=function(e){for(var t="#",n=1;n<e.length;n++){var r=e.charAt(n);t+=r+r}return t}(e));var t=[parseInt(e.substring(1,3),16),parseInt(e.substring(3,5),16),parseInt(e.substring(5,7),16)];if(9===e.length){var n=parseFloat((parseInt(e.substring(7,9),16)/255).toFixed(2));t.push(n)}return t}},function(e,t,n){var r=n(44),i=n(33);function o(e,t){return t<3?-1!=e.indexOf("%")?Math.round(255*i(parseInt(e,10),0,100)/100):i(parseInt(e,10),0,255):i(parseFloat(e),0,1)}e.exports=function(e){return r(e).map(o)}},function(e,t){e.exports=function(e){var t,n,r,i,o,a=e[0]/360,s=e[1]/100,l=e[2]/100;if(0==s)return[o=255*l,o,o];t=2*l-(n=l<.5?l*(1+s):l+s-l*s),i=[0,0,0];for(var c=0;c<3;c++)(r=a+1/3*-(c-1))<0&&r++,r>1&&r--,o=6*r<1?t+6*(n-t)*r:2*r<1?n:3*r<2?t+(n-t)*(2/3-r)*6:t,i[c]=255*o;return i}},function(e,t,n){(function(t){var n="object"==typeof t&&t&&t.Object===Object&&t,r="object"==typeof self&&self&&self.Object===Object&&self,i=n||r||Function("return this")();function o(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}var a=Object.prototype,s=a.hasOwnProperty,l=a.toString,c=i.Symbol,u=a.propertyIsEnumerable,h=c?c.isConcatSpreadable:void 0,p=Math.max;function d(e){return g(e)||function(e){return function(e){return function(e){return!!e&&"object"==typeof e}(e)&&function(e){return null!=e&&function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}(e.length)&&!function(e){var t=function(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}(e)?l.call(e):"";return"[object Function]"==t||"[object GeneratorFunction]"==t}(e)}(e)}(e)&&s.call(e,"callee")&&(!u.call(e,"callee")||"[object Arguments]"==l.call(e))}(e)||!!(h&&e&&e[h])}var f,m,g=Array.isArray,y=(f=function(e){for(var t=(e=function e(t,n,r,i,a){var s=-1,l=t.length;for(r||(r=d),a||(a=[]);++s<l;){var c=t[s];n>0&&r(c)?n>1?e(c,n-1,r,i,a):o(a,c):i||(a[a.length]=c)}return a}(e,1)).length,n=t;n--;)if("function"!=typeof e[n])throw new TypeError("Expected a function");return function(){for(var n=0,r=t?e[n].apply(this,arguments):arguments[0];++n<t;)r=e[n].call(this,r);return r}},m=p(void 0===m?f.length-1:m,0),function(){for(var e=arguments,t=-1,n=p(e.length-m,0),r=Array(n);++t<n;)r[t]=e[m+t];t=-1;for(var i=Array(m+1);++t<m;)i[t]=e[t];return i[m]=r,function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}(f,this,i)});e.exports=y}).call(this,n(43))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.yuv2rgb=function(e){var t,n,r,i=e[0],o=e[1],a=e[2];return t=1*i+0*o+1.13983*a,n=1*i+-.39465*o+-.5806*a,r=1*i+2.02311*o+0*a,[255*(t=Math.min(Math.max(0,t),1)),255*(n=Math.min(Math.max(0,n),1)),255*(r=Math.min(Math.max(0,r),1))]},t.rgb2yuv=function(e){var t=e[0]/255,n=e[1]/255,r=e[2]/255;return[.299*t+.587*n+.114*r,-.14713*t+-.28886*n+.436*r,.615*t+-.51499*n+-.10001*r]}},function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var i=n(141),o=function(){function e(){r(this,"_callbacks",void 0),r(this,"_isDispatching",void 0),r(this,"_isHandled",void 0),r(this,"_isPending",void 0),r(this,"_lastID",void 0),r(this,"_pendingPayload",void 0),this._callbacks={},this._isDispatching=!1,this._isHandled={},this._isPending={},this._lastID=1}var t=e.prototype;return t.register=function(e){var t="ID_"+this._lastID++;return this._callbacks[t]=e,t},t.unregister=function(e){this._callbacks[e]||i(!1),delete this._callbacks[e]},t.waitFor=function(e){this._isDispatching||i(!1);for(var t=0;t<e.length;t++){var n=e[t];this._isPending[n]?this._isHandled[n]||i(!1):(this._callbacks[n]||i(!1),this._invokeCallback(n))}},t.dispatch=function(e){this._isDispatching&&i(!1),this._startDispatching(e);try{for(var t in this._callbacks)this._isPending[t]||this._invokeCallback(t)}finally{this._stopDispatching()}},t.isDispatching=function(){return this._isDispatching},t._invokeCallback=function(e){this._isPending[e]=!0,this._callbacks[e](this._pendingPayload),this._isHandled[e]=!0},t._startDispatching=function(e){for(var t in this._callbacks)this._isPending[t]=!1,this._isHandled[t]=!1;this._pendingPayload=e,this._isDispatching=!0},t._stopDispatching=function(){delete this._pendingPayload,this._isDispatching=!1},e}();e.exports=o},function(e,t,n){"use strict";e.exports=function(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];if(!e){var o;if(void 0===t)o=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var a=0;(o=new Error(t.replace(/%s/g,(function(){return String(r[a++])})))).name="Invariant Violation"}throw o.framesToPop=1,o}}},function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){r(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function l(e,t,n){return t&&s(e.prototype,t),n&&s(e,n),e}function c(e,t){return(c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function u(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&c(e,t)}function h(e){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function p(e){return(p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function d(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function f(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=h(e);if(t){var i=h(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return function(e,t){return!t||"object"!==p(t)&&"function"!=typeof t?d(e):t}(this,n)}}n.r(t);var m=n(0),g=n.n(m);function y(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!=e&&this.setState(e)}function v(e){this.setState(function(t){var n=this.constructor.getDerivedStateFromProps(e,t);return null!=n?n:null}.bind(this))}function _(e,t){try{var n=this.props,r=this.state;this.props=e,this.state=t,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(n,r)}finally{this.props=n,this.state=r}}function b(e){var t=e.prototype;if(!t||!t.isReactComponent)throw new Error("Can only polyfill class components");if("function"!=typeof e.getDerivedStateFromProps&&"function"!=typeof t.getSnapshotBeforeUpdate)return e;var n=null,r=null,i=null;if("function"==typeof t.componentWillMount?n="componentWillMount":"function"==typeof t.UNSAFE_componentWillMount&&(n="UNSAFE_componentWillMount"),"function"==typeof t.componentWillReceiveProps?r="componentWillReceiveProps":"function"==typeof t.UNSAFE_componentWillReceiveProps&&(r="UNSAFE_componentWillReceiveProps"),"function"==typeof t.componentWillUpdate?i="componentWillUpdate":"function"==typeof t.UNSAFE_componentWillUpdate&&(i="UNSAFE_componentWillUpdate"),null!==n||null!==r||null!==i){var o=e.displayName||e.name,a="function"==typeof e.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n"+o+" uses "+a+" but also contains the following legacy lifecycles:"+(null!==n?"\n "+n:"")+(null!==r?"\n "+r:"")+(null!==i?"\n "+i:"")+"\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks")}if("function"==typeof e.getDerivedStateFromProps&&(t.componentWillMount=y,t.componentWillReceiveProps=v),"function"==typeof t.getSnapshotBeforeUpdate){if("function"!=typeof t.componentDidUpdate)throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");t.componentWillUpdate=_;var s=t.componentDidUpdate;t.componentDidUpdate=function(e,t,n){var r=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:n;s.call(this,e,t,r)}}return e}function E(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function T(e){var t=function(e){return{}.toString.call(e).match(/\s([a-zA-Z]+)/)[1].toLowerCase()}(e);return"number"===t&&(t=isNaN(e)?"nan":(0|e)!=e?"float":"integer"),t}y.__suppressDeprecationWarning=!0,v.__suppressDeprecationWarning=!0,_.__suppressDeprecationWarning=!0;var x={scheme:"rjv-default",author:"mac gainor",base00:"rgba(0, 0, 0, 0)",base01:"rgb(245, 245, 245)",base02:"rgb(235, 235, 235)",base03:"#93a1a1",base04:"rgba(0, 0, 0, 0.3)",base05:"#586e75",base06:"#073642",base07:"#002b36",base08:"#d33682",base09:"#cb4b16",base0A:"#dc322f",base0B:"#859900",base0C:"#6c71c4",base0D:"#586e75",base0E:"#2aa198",base0F:"#268bd2"},S={scheme:"rjv-grey",author:"mac gainor",base00:"rgba(1, 1, 1, 0)",base01:"rgba(1, 1, 1, 0.1)",base02:"rgba(0, 0, 0, 0.2)",base03:"rgba(1, 1, 1, 0.3)",base04:"rgba(0, 0, 0, 0.4)",base05:"rgba(1, 1, 1, 0.5)",base06:"rgba(1, 1, 1, 0.6)",base07:"rgba(1, 1, 1, 0.7)",base08:"rgba(1, 1, 1, 0.8)",base09:"rgba(1, 1, 1, 0.8)",base0A:"rgba(1, 1, 1, 0.8)",base0B:"rgba(1, 1, 1, 0.8)",base0C:"rgba(1, 1, 1, 0.8)",base0D:"rgba(1, 1, 1, 0.8)",base0E:"rgba(1, 1, 1, 0.8)",base0F:"rgba(1, 1, 1, 0.8)"},C={white:"#fff",black:"#000",transparent:"rgba(1, 1, 1, 0)",globalFontFamily:"monospace",globalCursor:"default",indentBlockWidth:"5px",braceFontWeight:"bold",braceCursor:"pointer",ellipsisFontSize:"18px",ellipsisLineHeight:"10px",ellipsisCursor:"pointer",keyMargin:"0px 5px",keyLetterSpacing:"0.5px",keyFontStyle:"none",keyBorderRadius:"3px",keyColonWeight:"bold",keyVerticalAlign:"top",keyOpacity:"0.85",keyOpacityHover:"1",keyValPaddingTop:"3px",keyValPaddingBottom:"3px",keyValPaddingRight:"5px",keyValBorderLeft:"1px solid",keyValBorderHover:"2px solid",keyValPaddingHover:"3px 5px 3px 4px",pushedContentMarginLeft:"6px",variableValuePaddingRight:"6px",nullFontSize:"11px",nullFontWeight:"bold",nullPadding:"1px 2px",nullBorderRadius:"3px",nanFontSize:"11px",nanFontWeight:"bold",nanPadding:"1px 2px",nanBorderRadius:"3px",undefinedFontSize:"11px",undefinedFontWeight:"bold",undefinedPadding:"1px 2px",undefinedBorderRadius:"3px",dataTypeFontSize:"11px",dataTypeMarginRight:"4px",datatypeOpacity:"0.8",objectSizeBorderRadius:"3px",objectSizeFontStyle:"italic",objectSizeMargin:"0px 6px 0px 0px",clipboardCursor:"pointer",clipboardCheckMarginLeft:"-12px",metaDataPadding:"0px 0px 0px 10px",arrayGroupMetaPadding:"0px 0px 0px 4px",iconContainerWidth:"17px",tooltipPadding:"4px",editInputMinWidth:"130px",editInputBorderRadius:"2px",editInputPadding:"5px",editInputMarginRight:"4px",editInputFontFamily:"monospace",iconCursor:"pointer",iconFontSize:"15px",iconPaddingRight:"1px",dateValueMarginLeft:"2px",iconMarginRight:"3px",detectedRowPaddingTop:"3px",addKeyCoverBackground:"rgba(255, 255, 255, 0.3)",addKeyCoverPosition:"absolute",addKeyCoverPositionPx:"0px",addKeyModalWidth:"200px",addKeyModalMargin:"auto",addKeyModalPadding:"10px",addKeyModalRadius:"3px"},A=n(45),R=function(e){var t=function(e){return{backgroundColor:e.base00,ellipsisColor:e.base09,braceColor:e.base07,expandedIcon:e.base0D,collapsedIcon:e.base0E,keyColor:e.base07,arrayKeyColor:e.base0C,objectSize:e.base04,copyToClipboard:e.base0F,copyToClipboardCheck:e.base0D,objectBorder:e.base02,dataTypes:{boolean:e.base0E,date:e.base0D,float:e.base0B,function:e.base0D,integer:e.base0F,string:e.base09,nan:e.base08,null:e.base0A,undefined:e.base05,regexp:e.base0A,background:e.base02},editVariable:{editIcon:e.base0E,cancelIcon:e.base09,removeIcon:e.base09,addIcon:e.base0E,checkIcon:e.base0E,background:e.base01,color:e.base0A,border:e.base07},addKeyModal:{background:e.base05,border:e.base04,color:e.base0A,labelColor:e.base01},validationFailure:{background:e.base09,iconColor:e.base01,fontColor:e.base01}}}(e);return{"app-container":{fontFamily:C.globalFontFamily,cursor:C.globalCursor,backgroundColor:t.backgroundColor,position:"relative"},ellipsis:{display:"inline-block",color:t.ellipsisColor,fontSize:C.ellipsisFontSize,lineHeight:C.ellipsisLineHeight,cursor:C.ellipsisCursor},"brace-row":{display:"inline-block",cursor:"pointer"},brace:{display:"inline-block",cursor:C.braceCursor,fontWeight:C.braceFontWeight,color:t.braceColor},"expanded-icon":{color:t.expandedIcon},"collapsed-icon":{color:t.collapsedIcon},colon:{display:"inline-block",margin:C.keyMargin,color:t.keyColor,verticalAlign:"top"},objectKeyVal:function(e,n){return{style:o({paddingTop:C.keyValPaddingTop,paddingRight:C.keyValPaddingRight,paddingBottom:C.keyValPaddingBottom,borderLeft:C.keyValBorderLeft+" "+t.objectBorder,":hover":{paddingLeft:n.paddingLeft-1+"px",borderLeft:C.keyValBorderHover+" "+t.objectBorder}},n)}},"object-key-val-no-border":{padding:C.keyValPadding},"pushed-content":{marginLeft:C.pushedContentMarginLeft},variableValue:function(e,t){return{style:o({display:"inline-block",paddingRight:C.variableValuePaddingRight,position:"relative"},t)}},"object-name":{display:"inline-block",color:t.keyColor,letterSpacing:C.keyLetterSpacing,fontStyle:C.keyFontStyle,verticalAlign:C.keyVerticalAlign,opacity:C.keyOpacity,":hover":{opacity:C.keyOpacityHover}},"array-key":{display:"inline-block",color:t.arrayKeyColor,letterSpacing:C.keyLetterSpacing,fontStyle:C.keyFontStyle,verticalAlign:C.keyVerticalAlign,opacity:C.keyOpacity,":hover":{opacity:C.keyOpacityHover}},"object-size":{color:t.objectSize,borderRadius:C.objectSizeBorderRadius,fontStyle:C.objectSizeFontStyle,margin:C.objectSizeMargin,cursor:"default"},"data-type-label":{fontSize:C.dataTypeFontSize,marginRight:C.dataTypeMarginRight,opacity:C.datatypeOpacity},boolean:{display:"inline-block",color:t.dataTypes.boolean},date:{display:"inline-block",color:t.dataTypes.date},"date-value":{marginLeft:C.dateValueMarginLeft},float:{display:"inline-block",color:t.dataTypes.float},function:{display:"inline-block",color:t.dataTypes.function,cursor:"pointer",whiteSpace:"pre-line"},"function-value":{fontStyle:"italic"},integer:{display:"inline-block",color:t.dataTypes.integer},string:{display:"inline-block",color:t.dataTypes.string},nan:{display:"inline-block",color:t.dataTypes.nan,fontSize:C.nanFontSize,fontWeight:C.nanFontWeight,backgroundColor:t.dataTypes.background,padding:C.nanPadding,borderRadius:C.nanBorderRadius},null:{display:"inline-block",color:t.dataTypes.null,fontSize:C.nullFontSize,fontWeight:C.nullFontWeight,backgroundColor:t.dataTypes.background,padding:C.nullPadding,borderRadius:C.nullBorderRadius},undefined:{display:"inline-block",color:t.dataTypes.undefined,fontSize:C.undefinedFontSize,padding:C.undefinedPadding,borderRadius:C.undefinedBorderRadius,backgroundColor:t.dataTypes.background},regexp:{display:"inline-block",color:t.dataTypes.regexp},"copy-to-clipboard":{cursor:C.clipboardCursor},"copy-icon":{color:t.copyToClipboard,fontSize:C.iconFontSize,marginRight:C.iconMarginRight,verticalAlign:"top"},"copy-icon-copied":{color:t.copyToClipboardCheck,marginLeft:C.clipboardCheckMarginLeft},"array-group-meta-data":{display:"inline-block",padding:C.arrayGroupMetaPadding},"object-meta-data":{display:"inline-block",padding:C.metaDataPadding},"icon-container":{display:"inline-block",width:C.iconContainerWidth},tooltip:{padding:C.tooltipPadding},removeVarIcon:{verticalAlign:"top",display:"inline-block",color:t.editVariable.removeIcon,cursor:C.iconCursor,fontSize:C.iconFontSize,marginRight:C.iconMarginRight},addVarIcon:{verticalAlign:"top",display:"inline-block",color:t.editVariable.addIcon,cursor:C.iconCursor,fontSize:C.iconFontSize,marginRight:C.iconMarginRight},editVarIcon:{verticalAlign:"top",display:"inline-block",color:t.editVariable.editIcon,cursor:C.iconCursor,fontSize:C.iconFontSize,marginRight:C.iconMarginRight},"edit-icon-container":{display:"inline-block",verticalAlign:"top"},"check-icon":{display:"inline-block",cursor:C.iconCursor,color:t.editVariable.checkIcon,fontSize:C.iconFontSize,paddingRight:C.iconPaddingRight},"cancel-icon":{display:"inline-block",cursor:C.iconCursor,color:t.editVariable.cancelIcon,fontSize:C.iconFontSize,paddingRight:C.iconPaddingRight},"edit-input":{display:"inline-block",minWidth:C.editInputMinWidth,borderRadius:C.editInputBorderRadius,backgroundColor:t.editVariable.background,color:t.editVariable.color,padding:C.editInputPadding,marginRight:C.editInputMarginRight,fontFamily:C.editInputFontFamily},"detected-row":{paddingTop:C.detectedRowPaddingTop},"key-modal-request":{position:C.addKeyCoverPosition,top:C.addKeyCoverPositionPx,left:C.addKeyCoverPositionPx,right:C.addKeyCoverPositionPx,bottom:C.addKeyCoverPositionPx,backgroundColor:C.addKeyCoverBackground},"key-modal":{width:C.addKeyModalWidth,backgroundColor:t.addKeyModal.background,marginLeft:C.addKeyModalMargin,marginRight:C.addKeyModalMargin,padding:C.addKeyModalPadding,borderRadius:C.addKeyModalRadius,marginTop:"15px",position:"relative"},"key-modal-label":{color:t.addKeyModal.labelColor,marginLeft:"2px",marginBottom:"5px",fontSize:"11px"},"key-modal-input-container":{overflow:"hidden"},"key-modal-input":{width:"100%",padding:"3px 6px",fontFamily:"monospace",color:t.addKeyModal.color,border:"none",boxSizing:"border-box",borderRadius:"2px"},"key-modal-cancel":{backgroundColor:t.editVariable.removeIcon,position:"absolute",top:"0px",right:"0px",borderRadius:"0px 3px 0px 3px",cursor:"pointer"},"key-modal-cancel-icon":{color:t.addKeyModal.labelColor,fontSize:C.iconFontSize,transform:"rotate(45deg)"},"key-modal-submit":{color:t.editVariable.addIcon,fontSize:C.iconFontSize,position:"absolute",right:"2px",top:"3px",cursor:"pointer"},"function-ellipsis":{display:"inline-block",color:t.ellipsisColor,fontSize:C.ellipsisFontSize,lineHeight:C.ellipsisLineHeight,cursor:C.ellipsisCursor},"validation-failure":{float:"right",padding:"3px 6px",borderRadius:"2px",cursor:"pointer",color:t.validationFailure.fontColor,backgroundColor:t.validationFailure.background},"validation-failure-label":{marginRight:"6px"},"validation-failure-clear":{position:"relative",verticalAlign:"top",cursor:"pointer",color:t.validationFailure.iconColor,fontSize:C.iconFontSize,transform:"rotate(45deg)"}}};function w(e,t,n){return e||console.error("theme has not been set"),function(e){var t=x;return!1!==e&&"none"!==e||(t=S),Object(A.createStyling)(R,{defaultBase16:t})(e)}(e)(t,n)}var L=function(e){u(n,e);var t=f(n);function n(){return a(this,n),t.apply(this,arguments)}return l(n,[{key:"render",value:function(){var e=this.props,t=(e.rjvId,e.type_name),n=e.displayDataTypes,r=e.theme;return n?g.a.createElement("span",Object.assign({className:"data-type-label"},w(r,"data-type-label")),t):null}}]),n}(g.a.PureComponent),O=function(e){u(n,e);var t=f(n);function n(){return a(this,n),t.apply(this,arguments)}return l(n,[{key:"render",value:function(){var e=this.props;return g.a.createElement("div",w(e.theme,"boolean"),g.a.createElement(L,Object.assign({type_name:"bool"},e)),e.value?"true":"false")}}]),n}(g.a.PureComponent),N=function(e){u(n,e);var t=f(n);function n(){return a(this,n),t.apply(this,arguments)}return l(n,[{key:"render",value:function(){var e=this.props;return g.a.createElement("div",w(e.theme,"date"),g.a.createElement(L,Object.assign({type_name:"date"},e)),g.a.createElement("span",Object.assign({className:"date-value"},w(e.theme,"date-value")),e.value.toLocaleTimeString("en-us",{weekday:"short",year:"numeric",month:"short",day:"numeric",hour:"2-digit",minute:"2-digit"})))}}]),n}(g.a.PureComponent),I=function(e){u(n,e);var t=f(n);function n(){return a(this,n),t.apply(this,arguments)}return l(n,[{key:"render",value:function(){var e=this.props;return g.a.createElement("div",w(e.theme,"float"),g.a.createElement(L,Object.assign({type_name:"float"},e)),this.props.value)}}]),n}(g.a.PureComponent);function k(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function D(e,t){if(e){if("string"==typeof e)return k(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?k(e,t):void 0}}function P(e){return function(e){if(Array.isArray(e))return k(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||D(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var M=n(46),F=new(n(47).Dispatcher),H=new(function(e){u(n,e);var t=f(n);function n(){var e;a(this,n);for(var r=arguments.length,i=new Array(r),s=0;s<r;s++)i[s]=arguments[s];return(e=t.call.apply(t,[this].concat(i))).objects={},e.set=function(t,n,r,i){void 0===e.objects[t]&&(e.objects[t]={}),void 0===e.objects[t][n]&&(e.objects[t][n]={}),e.objects[t][n][r]=i},e.get=function(t,n,r,i){return void 0===e.objects[t]||void 0===e.objects[t][n]||null==e.objects[t][n][r]?i:e.objects[t][n][r]},e.handleAction=function(t){var n=t.rjvId,r=t.data;switch(t.name){case"RESET":e.emit("reset-"+n);break;case"VARIABLE_UPDATED":t.data.updated_src=e.updateSrc(n,r),e.set(n,"action","variable-update",o(o({},r),{},{type:"variable-edited"})),e.emit("variable-update-"+n);break;case"VARIABLE_REMOVED":t.data.updated_src=e.updateSrc(n,r),e.set(n,"action","variable-update",o(o({},r),{},{type:"variable-removed"})),e.emit("variable-update-"+n);break;case"VARIABLE_ADDED":t.data.updated_src=e.updateSrc(n,r),e.set(n,"action","variable-update",o(o({},r),{},{type:"variable-added"})),e.emit("variable-update-"+n);break;case"ADD_VARIABLE_KEY_REQUEST":e.set(n,"action","new-key-request",r),e.emit("add-key-request-"+n)}},e.updateSrc=function(t,n){var r=n.name,i=n.namespace,o=n.new_value,a=(n.existing_value,n.variable_removed);i.shift();var s,l=e.get(t,"global","src"),c=e.deepCopy(l,P(i)),u=c,h=function(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=D(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}(i);try{for(h.s();!(s=h.n()).done;)u=u[s.value]}catch(e){h.e(e)}finally{h.f()}return a?"array"==T(u)?u.splice(r,1):delete u[r]:null!==r?u[r]=o:c=o,e.set(t,"global","src",c),c},e.deepCopy=function(t,n){var r,i=T(t),a=n.shift();return"array"==i?r=P(t):"object"==i&&(r=o({},t)),void 0!==a&&(r[a]=e.deepCopy(t[a],n)),r},e}return n}(M.EventEmitter));F.register(H.handleAction.bind(H));var B=H,U=function(e){u(n,e);var t=f(n);function n(e){var r;return a(this,n),(r=t.call(this,e)).toggleCollapsed=function(){r.setState({collapsed:!r.state.collapsed},(function(){B.set(r.props.rjvId,r.props.namespace,"collapsed",r.state.collapsed)}))},r.getFunctionDisplay=function(e){var t=d(r).props;return e?g.a.createElement("span",null,r.props.value.toString().slice(9,-1).replace(/\{[\s\S]+/,""),g.a.createElement("span",{className:"function-collapsed",style:{fontWeight:"bold"}},g.a.createElement("span",null,"{"),g.a.createElement("span",w(t.theme,"ellipsis"),"..."),g.a.createElement("span",null,"}"))):r.props.value.toString().slice(9,-1)},r.state={collapsed:B.get(e.rjvId,e.namespace,"collapsed",!0)},r}return l(n,[{key:"render",value:function(){var e=this.props,t=this.state.collapsed;return g.a.createElement("div",w(e.theme,"function"),g.a.createElement(L,Object.assign({type_name:"function"},e)),g.a.createElement("span",Object.assign({},w(e.theme,"function-value"),{className:"rjv-function-container",onClick:this.toggleCollapsed}),this.getFunctionDisplay(t)))}}]),n}(g.a.PureComponent),j=function(e){u(n,e);var t=f(n);function n(){return a(this,n),t.apply(this,arguments)}return l(n,[{key:"render",value:function(){return g.a.createElement("div",w(this.props.theme,"nan"),"NaN")}}]),n}(g.a.PureComponent),G=function(e){u(n,e);var t=f(n);function n(){return a(this,n),t.apply(this,arguments)}return l(n,[{key:"render",value:function(){return g.a.createElement("div",w(this.props.theme,"null"),"NULL")}}]),n}(g.a.PureComponent),Y=function(e){u(n,e);var t=f(n);function n(){return a(this,n),t.apply(this,arguments)}return l(n,[{key:"render",value:function(){var e=this.props;return g.a.createElement("div",w(e.theme,"integer"),g.a.createElement(L,Object.assign({type_name:"int"},e)),this.props.value)}}]),n}(g.a.PureComponent),z=function(e){u(n,e);var t=f(n);function n(){return a(this,n),t.apply(this,arguments)}return l(n,[{key:"render",value:function(){var e=this.props;return g.a.createElement("div",w(e.theme,"regexp"),g.a.createElement(L,Object.assign({type_name:"regexp"},e)),this.props.value.toString())}}]),n}(g.a.PureComponent),$=function(e){u(n,e);var t=f(n);function n(e){var r;return a(this,n),(r=t.call(this,e)).toggleCollapsed=function(){r.setState({collapsed:!r.state.collapsed},(function(){B.set(r.props.rjvId,r.props.namespace,"collapsed",r.state.collapsed)}))},r.state={collapsed:B.get(e.rjvId,e.namespace,"collapsed",!0)},r}return l(n,[{key:"render",value:function(){this.state.collapsed;var e=this.props,t=e.collapseStringsAfterLength,n=e.theme,r=e.value,i={style:{cursor:"default"}};return"integer"===T(t)&&r.length>t&&(i.style.cursor="pointer",this.state.collapsed&&(r=g.a.createElement("span",null,r.substring(0,t),g.a.createElement("span",w(n,"ellipsis")," ...")))),g.a.createElement("div",w(n,"string"),g.a.createElement(L,Object.assign({type_name:"string"},e)),g.a.createElement("span",Object.assign({className:"string-value"},i,{onClick:this.toggleCollapsed}),'"',r,'"'))}}]),n}(g.a.PureComponent),W=function(e){u(n,e);var t=f(n);function n(){return a(this,n),t.apply(this,arguments)}return l(n,[{key:"render",value:function(){return g.a.createElement("div",w(this.props.theme,"undefined"),"undefined")}}]),n}(g.a.PureComponent);function V(){return(V=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var K=m.useLayoutEffect,q=function(e,t){"function"!=typeof e?e.current=t:e(t)},X={"min-height":"0","max-height":"none",height:"0",visibility:"hidden",overflow:"hidden",position:"absolute","z-index":"-1000",top:"0",right:"0"},Z=function(e){Object.keys(X).forEach((function(t){e.style.setProperty(t,X[t],"important")}))},Q=null,J=function(){},ee=["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth","boxSizing","fontFamily","fontSize","fontStyle","fontWeight","letterSpacing","lineHeight","paddingBottom","paddingLeft","paddingRight","paddingTop","tabSize","textIndent","textRendering","textTransform","width"],te=!!document.documentElement.currentStyle,ne=Object(m.forwardRef)((function(e,t){var n,r=e.cacheMeasurements,i=e.maxRows,o=e.minRows,a=e.onChange,s=void 0===a?J:a,l=e.onHeightChange,c=void 0===l?J:l,u=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,["cacheMeasurements","maxRows","minRows","onChange","onHeightChange"]),h=void 0!==u.value,p=Object(m.useRef)(null),d=function(e,t){var n=Object(m.useRef)();return Object(m.useCallback)((function(r){e.current=r,n.current&&q(n.current,null),n.current=t,t&&q(t,r)}),[t])}(p,t),f=Object(m.useRef)(0),g=Object(m.useRef)(),y=function(){var e=p.current,t=r&&g.current?g.current:function(e){var t=window.getComputedStyle(e);if(null===t)return null;var n,r=(n=t,ee.reduce((function(e,t){return e[t]=n[t],e}),{})),i=r.boxSizing;return""===i?null:(te&&"border-box"===i&&(r.width=parseFloat(r.width)+parseFloat(r.borderRightWidth)+parseFloat(r.borderLeftWidth)+parseFloat(r.paddingRight)+parseFloat(r.paddingLeft)+"px"),{sizingStyle:r,paddingSize:parseFloat(r.paddingBottom)+parseFloat(r.paddingTop),borderSize:parseFloat(r.borderBottomWidth)+parseFloat(r.borderTopWidth)})}(e);if(t){g.current=t;var n=function(e,t,n,r){void 0===n&&(n=1),void 0===r&&(r=1/0),Q||((Q=document.createElement("textarea")).setAttribute("tab-index","-1"),Q.setAttribute("aria-hidden","true"),Z(Q)),null===Q.parentNode&&document.body.appendChild(Q);var i=e.paddingSize,o=e.borderSize,a=e.sizingStyle,s=a.boxSizing;Object.keys(a).forEach((function(e){var t=e;Q.style[t]=a[t]})),Z(Q),Q.value=t;var l=function(e,t){var n=e.scrollHeight;return"border-box"===t.sizingStyle.boxSizing?n+t.borderSize:n-t.paddingSize}(Q,e);Q.value="x";var c=Q.scrollHeight-i,u=c*n;"border-box"===s&&(u=u+i+o),l=Math.max(u,l);var h=c*r;return"border-box"===s&&(h=h+i+o),[l=Math.min(h,l),c]}(t,e.value||e.placeholder||"x",o,i),a=n[0],s=n[1];f.current!==a&&(f.current=a,e.style.setProperty("height",a+"px","important"),c(a,{rowHeight:s}))}};return Object(m.useLayoutEffect)(y),n=function(e){var t=Object(m.useRef)(e);return K((function(){t.current=e})),t}(y),Object(m.useLayoutEffect)((function(){var e=function(e){n.current(e)};return window.addEventListener("resize",e),function(){window.removeEventListener("resize",e)}}),[]),Object(m.createElement)("textarea",V({},u,{onChange:function(e){h||y(),s(e)},ref:d}))}));function re(e){e=e.trim();try{if("["===(e=JSON.stringify(JSON.parse(e)))[0])return ie("array",JSON.parse(e));if("{"===e[0])return ie("object",JSON.parse(e));if(e.match(/\-?\d+\.\d+/)&&e.match(/\-?\d+\.\d+/)[0]===e)return ie("float",parseFloat(e));if(e.match(/\-?\d+e-\d+/)&&e.match(/\-?\d+e-\d+/)[0]===e)return ie("float",Number(e));if(e.match(/\-?\d+/)&&e.match(/\-?\d+/)[0]===e)return ie("integer",parseInt(e));if(e.match(/\-?\d+e\+\d+/)&&e.match(/\-?\d+e\+\d+/)[0]===e)return ie("integer",Number(e))}catch(e){}switch(e=e.toLowerCase()){case"undefined":return ie("undefined",void 0);case"nan":return ie("nan",NaN);case"null":return ie("null",null);case"true":return ie("boolean",!0);case"false":return ie("boolean",!1);default:if(e=Date.parse(e))return ie("date",new Date(e))}return ie(!1,null)}function ie(e,t){return{type:e,value:t}}var oe=function(e){u(n,e);var t=f(n);function n(){return a(this,n),t.apply(this,arguments)}return l(n,[{key:"render",value:function(){var e=this.props,t=e.style,n=E(e,["style"]);return g.a.createElement("span",n,g.a.createElement("svg",Object.assign({},ye(t),{viewBox:"0 0 24 24",fill:"currentColor",preserveAspectRatio:"xMidYMid meet"}),g.a.createElement("path",{d:"M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20,12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M7,13H17V11H7"})))}}]),n}(g.a.PureComponent),ae=function(e){u(n,e);var t=f(n);function n(){return a(this,n),t.apply(this,arguments)}return l(n,[{key:"render",value:function(){var e=this.props,t=e.style,n=E(e,["style"]);return g.a.createElement("span",n,g.a.createElement("svg",Object.assign({},ye(t),{viewBox:"0 0 24 24",fill:"currentColor",preserveAspectRatio:"xMidYMid meet"}),g.a.createElement("path",{d:"M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20,12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M13,7H11V11H7V13H11V17H13V13H17V11H13V7Z"})))}}]),n}(g.a.PureComponent),se=function(e){u(n,e);var t=f(n);function n(){return a(this,n),t.apply(this,arguments)}return l(n,[{key:"render",value:function(){var e=this.props,t=e.style,n=E(e,["style"]),r=ye(t).style;return g.a.createElement("span",n,g.a.createElement("svg",{fill:r.color,width:r.height,height:r.width,style:r,viewBox:"0 0 1792 1792"},g.a.createElement("path",{d:"M1344 800v64q0 14-9 23t-23 9h-832q-14 0-23-9t-9-23v-64q0-14 9-23t23-9h832q14 0 23 9t9 23zm128 448v-832q0-66-47-113t-113-47h-832q-66 0-113 47t-47 113v832q0 66 47 113t113 47h832q66 0 113-47t47-113zm128-832v832q0 119-84.5 203.5t-203.5 84.5h-832q-119 0-203.5-84.5t-84.5-203.5v-832q0-119 84.5-203.5t203.5-84.5h832q119 0 203.5 84.5t84.5 203.5z"})))}}]),n}(g.a.PureComponent),le=function(e){u(n,e);var t=f(n);function n(){return a(this,n),t.apply(this,arguments)}return l(n,[{key:"render",value:function(){var e=this.props,t=e.style,n=E(e,["style"]),r=ye(t).style;return g.a.createElement("span",n,g.a.createElement("svg",{fill:r.color,width:r.height,height:r.width,style:r,viewBox:"0 0 1792 1792"},g.a.createElement("path",{d:"M1344 800v64q0 14-9 23t-23 9h-352v352q0 14-9 23t-23 9h-64q-14 0-23-9t-9-23v-352h-352q-14 0-23-9t-9-23v-64q0-14 9-23t23-9h352v-352q0-14 9-23t23-9h64q14 0 23 9t9 23v352h352q14 0 23 9t9 23zm128 448v-832q0-66-47-113t-113-47h-832q-66 0-113 47t-47 113v832q0 66 47 113t113 47h832q66 0 113-47t47-113zm128-832v832q0 119-84.5 203.5t-203.5 84.5h-832q-119 0-203.5-84.5t-84.5-203.5v-832q0-119 84.5-203.5t203.5-84.5h832q119 0 203.5 84.5t84.5 203.5z"})))}}]),n}(g.a.PureComponent),ce=function(e){u(n,e);var t=f(n);function n(){return a(this,n),t.apply(this,arguments)}return l(n,[{key:"render",value:function(){var e=this.props,t=e.style,n=E(e,["style"]);return g.a.createElement("span",n,g.a.createElement("svg",{style:o(o({},ye(t).style),{},{paddingLeft:"2px",verticalAlign:"top"}),viewBox:"0 0 15 15",fill:"currentColor"},g.a.createElement("path",{d:"M0 14l6-6-6-6z"})))}}]),n}(g.a.PureComponent),ue=function(e){u(n,e);var t=f(n);function n(){return a(this,n),t.apply(this,arguments)}return l(n,[{key:"render",value:function(){var e=this.props,t=e.style,n=E(e,["style"]);return g.a.createElement("span",n,g.a.createElement("svg",{style:o(o({},ye(t).style),{},{paddingLeft:"2px",verticalAlign:"top"}),viewBox:"0 0 15 15",fill:"currentColor"},g.a.createElement("path",{d:"M0 5l6 6 6-6z"})))}}]),n}(g.a.PureComponent),he=function(e){u(n,e);var t=f(n);function n(){return a(this,n),t.apply(this,arguments)}return l(n,[{key:"render",value:function(){var e=this.props,t=e.style,n=E(e,["style"]);return g.a.createElement("span",n,g.a.createElement("svg",Object.assign({},ye(t),{viewBox:"0 0 40 40",fill:"currentColor",preserveAspectRatio:"xMidYMid meet"}),g.a.createElement("g",null,g.a.createElement("path",{d:"m30 35h-25v-22.5h25v7.5h2.5v-12.5c0-1.4-1.1-2.5-2.5-2.5h-7.5c0-2.8-2.2-5-5-5s-5 2.2-5 5h-7.5c-1.4 0-2.5 1.1-2.5 2.5v27.5c0 1.4 1.1 2.5 2.5 2.5h25c1.4 0 2.5-1.1 2.5-2.5v-5h-2.5v5z m-20-27.5h2.5s2.5-1.1 2.5-2.5 1.1-2.5 2.5-2.5 2.5 1.1 2.5 2.5 1.3 2.5 2.5 2.5h2.5s2.5 1.1 2.5 2.5h-20c0-1.5 1.1-2.5 2.5-2.5z m-2.5 20h5v-2.5h-5v2.5z m17.5-5v-5l-10 7.5 10 7.5v-5h12.5v-5h-12.5z m-17.5 10h7.5v-2.5h-7.5v2.5z m12.5-17.5h-12.5v2.5h12.5v-2.5z m-7.5 5h-5v2.5h5v-2.5z"}))))}}]),n}(g.a.PureComponent),pe=function(e){u(n,e);var t=f(n);function n(){return a(this,n),t.apply(this,arguments)}return l(n,[{key:"render",value:function(){var e=this.props,t=e.style,n=E(e,["style"]);return g.a.createElement("span",n,g.a.createElement("svg",Object.assign({},ye(t),{viewBox:"0 0 40 40",fill:"currentColor",preserveAspectRatio:"xMidYMid meet"}),g.a.createElement("g",null,g.a.createElement("path",{d:"m28.6 25q0-0.5-0.4-1l-4-4 4-4q0.4-0.5 0.4-1 0-0.6-0.4-1.1l-2-2q-0.4-0.4-1-0.4-0.6 0-1 0.4l-4.1 4.1-4-4.1q-0.4-0.4-1-0.4-0.6 0-1 0.4l-2 2q-0.5 0.5-0.5 1.1 0 0.5 0.5 1l4 4-4 4q-0.5 0.5-0.5 1 0 0.7 0.5 1.1l2 2q0.4 0.4 1 0.4 0.6 0 1-0.4l4-4.1 4.1 4.1q0.4 0.4 1 0.4 0.6 0 1-0.4l2-2q0.4-0.4 0.4-1z m8.7-5q0 4.7-2.3 8.6t-6.3 6.2-8.6 2.3-8.6-2.3-6.2-6.2-2.3-8.6 2.3-8.6 6.2-6.2 8.6-2.3 8.6 2.3 6.3 6.2 2.3 8.6z"}))))}}]),n}(g.a.PureComponent),de=function(e){u(n,e);var t=f(n);function n(){return a(this,n),t.apply(this,arguments)}return l(n,[{key:"render",value:function(){var e=this.props,t=e.style,n=E(e,["style"]);return g.a.createElement("span",n,g.a.createElement("svg",Object.assign({},ye(t),{viewBox:"0 0 40 40",fill:"currentColor",preserveAspectRatio:"xMidYMid meet"}),g.a.createElement("g",null,g.a.createElement("path",{d:"m30.1 21.4v-2.8q0-0.6-0.4-1t-1-0.5h-5.7v-5.7q0-0.6-0.4-1t-1-0.4h-2.9q-0.6 0-1 0.4t-0.4 1v5.7h-5.7q-0.6 0-1 0.5t-0.5 1v2.8q0 0.6 0.5 1t1 0.5h5.7v5.7q0 0.5 0.4 1t1 0.4h2.9q0.6 0 1-0.4t0.4-1v-5.7h5.7q0.6 0 1-0.5t0.4-1z m7.2-1.4q0 4.7-2.3 8.6t-6.3 6.2-8.6 2.3-8.6-2.3-6.2-6.2-2.3-8.6 2.3-8.6 6.2-6.2 8.6-2.3 8.6 2.3 6.3 6.2 2.3 8.6z"}))))}}]),n}(g.a.PureComponent),fe=function(e){u(n,e);var t=f(n);function n(){return a(this,n),t.apply(this,arguments)}return l(n,[{key:"render",value:function(){var e=this.props,t=e.style,n=E(e,["style"]);return g.a.createElement("span",n,g.a.createElement("svg",Object.assign({},ye(t),{viewBox:"0 0 40 40",fill:"currentColor",preserveAspectRatio:"xMidYMid meet"}),g.a.createElement("g",null,g.a.createElement("path",{d:"m31.6 21.6h-10v10h-3.2v-10h-10v-3.2h10v-10h3.2v10h10v3.2z"}))))}}]),n}(g.a.PureComponent),me=function(e){u(n,e);var t=f(n);function n(){return a(this,n),t.apply(this,arguments)}return l(n,[{key:"render",value:function(){var e=this.props,t=e.style,n=E(e,["style"]);return g.a.createElement("span",n,g.a.createElement("svg",Object.assign({},ye(t),{viewBox:"0 0 40 40",fill:"currentColor",preserveAspectRatio:"xMidYMid meet"}),g.a.createElement("g",null,g.a.createElement("path",{d:"m19.8 26.4l2.6-2.6-3.4-3.4-2.6 2.6v1.3h2.2v2.1h1.2z m9.8-16q-0.3-0.4-0.7 0l-7.8 7.8q-0.4 0.4 0 0.7t0.7 0l7.8-7.8q0.4-0.4 0-0.7z m1.8 13.2v4.3q0 2.6-1.9 4.5t-4.5 1.9h-18.6q-2.6 0-4.5-1.9t-1.9-4.5v-18.6q0-2.7 1.9-4.6t4.5-1.8h18.6q1.4 0 2.6 0.5 0.3 0.2 0.4 0.5 0.1 0.4-0.2 0.7l-1.1 1.1q-0.3 0.3-0.7 0.1-0.5-0.1-1-0.1h-18.6q-1.4 0-2.5 1.1t-1 2.5v18.6q0 1.4 1 2.5t2.5 1h18.6q1.5 0 2.5-1t1.1-2.5v-2.9q0-0.2 0.2-0.4l1.4-1.5q0.3-0.3 0.8-0.1t0.4 0.6z m-2.1-16.5l6.4 6.5-15 15h-6.4v-6.5z m9.9 3l-2.1 2-6.4-6.4 2.1-2q0.6-0.7 1.5-0.7t1.5 0.7l3.4 3.4q0.6 0.6 0.6 1.5t-0.6 1.5z"}))))}}]),n}(g.a.PureComponent),ge=function(e){u(n,e);var t=f(n);function n(){return a(this,n),t.apply(this,arguments)}return l(n,[{key:"render",value:function(){var e=this.props,t=e.style,n=E(e,["style"]);return g.a.createElement("span",n,g.a.createElement("svg",Object.assign({},ye(t),{viewBox:"0 0 40 40",fill:"currentColor",preserveAspectRatio:"xMidYMid meet"}),g.a.createElement("g",null,g.a.createElement("path",{d:"m31.7 16.4q0-0.6-0.4-1l-2.1-2.1q-0.4-0.4-1-0.4t-1 0.4l-9.1 9.1-5-5q-0.5-0.4-1-0.4t-1 0.4l-2.1 2q-0.4 0.4-0.4 1 0 0.6 0.4 1l8.1 8.1q0.4 0.4 1 0.4 0.6 0 1-0.4l12.2-12.1q0.4-0.4 0.4-1z m5.6 3.6q0 4.7-2.3 8.6t-6.3 6.2-8.6 2.3-8.6-2.3-6.2-6.2-2.3-8.6 2.3-8.6 6.2-6.2 8.6-2.3 8.6 2.3 6.3 6.2 2.3 8.6z"}))))}}]),n}(g.a.PureComponent);function ye(e){return e||(e={}),{style:o(o({verticalAlign:"middle"},e),{},{color:e.color?e.color:"#000000",height:"1em",width:"1em"})}}var ve=function(e){u(n,e);var t=f(n);function n(e){var r;return a(this,n),(r=t.call(this,e)).copiedTimer=null,r.handleCopy=function(){var e=document.createElement("textarea"),t=r.props,n=t.clickCallback,i=t.src,o=t.namespace;e.innerHTML=JSON.stringify(r.clipboardValue(i),null," "),document.body.appendChild(e),e.select(),document.execCommand("copy"),document.body.removeChild(e),r.copiedTimer=setTimeout((function(){r.setState({copied:!1})}),5500),r.setState({copied:!0},(function(){"function"==typeof n&&n({src:i,namespace:o,name:o[o.length-1]})}))},r.getClippyIcon=function(){var e=r.props.theme;return r.state.copied?g.a.createElement("span",null,g.a.createElement(he,Object.assign({className:"copy-icon"},w(e,"copy-icon"))),g.a.createElement("span",w(e,"copy-icon-copied"),"✔")):g.a.createElement(he,Object.assign({className:"copy-icon"},w(e,"copy-icon")))},r.clipboardValue=function(e){switch(T(e)){case"function":case"regexp":return e.toString();default:return e}},r.state={copied:!1},r}return l(n,[{key:"componentWillUnmount",value:function(){this.copiedTimer&&(clearTimeout(this.copiedTimer),this.copiedTimer=null)}},{key:"render",value:function(){var e=this.props,t=(e.src,e.theme),n=e.hidden,r=e.rowHovered,i=w(t,"copy-to-clipboard").style,a="inline";return n&&(a="none"),g.a.createElement("span",{className:"copy-to-clipboard-container",title:"Copy to clipboard",style:{verticalAlign:"top",display:r?"inline-block":"none"}},g.a.createElement("span",{style:o(o({},i),{},{display:a}),onClick:this.handleCopy},this.getClippyIcon()))}}]),n}(g.a.PureComponent),_e=function(e){u(n,e);var t=f(n);function n(e){var r;return a(this,n),(r=t.call(this,e)).getEditIcon=function(){var e=r.props,t=e.variable,n=e.theme;return g.a.createElement("div",{className:"click-to-edit",style:{verticalAlign:"top",display:r.state.hovered?"inline-block":"none"}},g.a.createElement(me,Object.assign({className:"click-to-edit-icon"},w(n,"editVarIcon"),{onClick:function(){r.prepopInput(t)}})))},r.prepopInput=function(e){if(!1!==r.props.onEdit){var t=function(e){var t;switch(T(e)){case"undefined":t="undefined";break;case"nan":t="NaN";break;case"string":t=e;break;case"date":case"function":case"regexp":t=e.toString();break;default:try{t=JSON.stringify(e,null," ")}catch(e){t=""}}return t}(e.value),n=re(t);r.setState({editMode:!0,editValue:t,parsedInput:{type:n.type,value:n.value}})}},r.getRemoveIcon=function(){var e=r.props,t=e.variable,n=e.namespace,i=e.theme,o=e.rjvId;return g.a.createElement("div",{className:"click-to-remove",style:{verticalAlign:"top",display:r.state.hovered?"inline-block":"none"}},g.a.createElement(pe,Object.assign({className:"click-to-remove-icon"},w(i,"removeVarIcon"),{onClick:function(){F.dispatch({name:"VARIABLE_REMOVED",rjvId:o,data:{name:t.name,namespace:n,existing_value:t.value,variable_removed:!0}})}})))},r.getValue=function(e,t){var n=!t&&e.type,i=d(r).props;switch(n){case!1:return r.getEditInput();case"string":return g.a.createElement($,Object.assign({value:e.value},i));case"integer":return g.a.createElement(Y,Object.assign({value:e.value},i));case"float":return g.a.createElement(I,Object.assign({value:e.value},i));case"boolean":return g.a.createElement(O,Object.assign({value:e.value},i));case"function":return g.a.createElement(U,Object.assign({value:e.value},i));case"null":return g.a.createElement(G,i);case"nan":return g.a.createElement(j,i);case"undefined":return g.a.createElement(W,i);case"date":return g.a.createElement(N,Object.assign({value:e.value},i));case"regexp":return g.a.createElement(z,Object.assign({value:e.value},i));default:return g.a.createElement("div",{className:"object-value"},JSON.stringify(e.value))}},r.getEditInput=function(){var e=r.props.theme,t=r.state.editValue;return g.a.createElement("div",null,g.a.createElement(ne,Object.assign({type:"text",inputRef:function(e){return e&&e.focus()},value:t,className:"variable-editor",onChange:function(e){var t=e.target.value,n=re(t);r.setState({editValue:t,parsedInput:{type:n.type,value:n.value}})},onKeyDown:function(e){switch(e.key){case"Escape":r.setState({editMode:!1,editValue:""});break;case"Enter":(e.ctrlKey||e.metaKey)&&r.submitEdit(!0)}e.stopPropagation()},placeholder:"update this value",minRows:2},w(e,"edit-input"))),g.a.createElement("div",w(e,"edit-icon-container"),g.a.createElement(pe,Object.assign({className:"edit-cancel"},w(e,"cancel-icon"),{onClick:function(){r.setState({editMode:!1,editValue:""})}})),g.a.createElement(ge,Object.assign({className:"edit-check string-value"},w(e,"check-icon"),{onClick:function(){r.submitEdit()}})),g.a.createElement("div",null,r.showDetected())))},r.submitEdit=function(e){var t=r.props,n=t.variable,i=t.namespace,o=t.rjvId,a=r.state,s=a.editValue,l=a.parsedInput,c=s;e&&l.type&&(c=l.value),r.setState({editMode:!1}),F.dispatch({name:"VARIABLE_UPDATED",rjvId:o,data:{name:n.name,namespace:i,existing_value:n.value,new_value:c,variable_removed:!1}})},r.showDetected=function(){var e=r.props,t=e.theme,n=(e.variable,e.namespace,e.rjvId,r.state.parsedInput),i=(n.type,n.value,r.getDetectedInput());if(i)return g.a.createElement("div",null,g.a.createElement("div",w(t,"detected-row"),i,g.a.createElement(ge,{className:"edit-check detected",style:o({verticalAlign:"top",paddingLeft:"3px"},w(t,"check-icon").style),onClick:function(){r.submitEdit(!0)}})))},r.getDetectedInput=function(){var e=r.state.parsedInput,t=e.type,n=e.value,i=d(r).props,a=i.theme;if(!1!==t)switch(t.toLowerCase()){case"object":return g.a.createElement("span",null,g.a.createElement("span",{style:o(o({},w(a,"brace").style),{},{cursor:"default"})},"{"),g.a.createElement("span",{style:o(o({},w(a,"ellipsis").style),{},{cursor:"default"})},"..."),g.a.createElement("span",{style:o(o({},w(a,"brace").style),{},{cursor:"default"})},"}"));case"array":return g.a.createElement("span",null,g.a.createElement("span",{style:o(o({},w(a,"brace").style),{},{cursor:"default"})},"["),g.a.createElement("span",{style:o(o({},w(a,"ellipsis").style),{},{cursor:"default"})},"..."),g.a.createElement("span",{style:o(o({},w(a,"brace").style),{},{cursor:"default"})},"]"));case"string":return g.a.createElement($,Object.assign({value:n},i));case"integer":return g.a.createElement(Y,Object.assign({value:n},i));case"float":return g.a.createElement(I,Object.assign({value:n},i));case"boolean":return g.a.createElement(O,Object.assign({value:n},i));case"function":return g.a.createElement(U,Object.assign({value:n},i));case"null":return g.a.createElement(G,i);case"nan":return g.a.createElement(j,i);case"undefined":return g.a.createElement(W,i);case"date":return g.a.createElement(N,Object.assign({value:new Date(n)},i))}},r.state={editMode:!1,editValue:"",hovered:!1,renameKey:!1,parsedInput:{type:!1,value:null}},r}return l(n,[{key:"render",value:function(){var e=this,t=this.props,n=t.variable,r=t.singleIndent,i=t.type,a=t.theme,s=t.namespace,l=t.indentWidth,c=t.enableClipboard,u=t.onEdit,h=t.onDelete,p=t.onSelect,d=t.displayArrayKey,f=t.quotesOnKeys,m=this.state.editMode;return g.a.createElement("div",Object.assign({},w(a,"objectKeyVal",{paddingLeft:l*r}),{onMouseEnter:function(){return e.setState(o(o({},e.state),{},{hovered:!0}))},onMouseLeave:function(){return e.setState(o(o({},e.state),{},{hovered:!1}))},className:"variable-row",key:n.name}),"array"==i?d?g.a.createElement("span",Object.assign({},w(a,"array-key"),{key:n.name+"_"+s}),n.name,g.a.createElement("div",w(a,"colon"),":")):null:g.a.createElement("span",null,g.a.createElement("span",Object.assign({},w(a,"object-name"),{className:"object-key",key:n.name+"_"+s}),!!f&&g.a.createElement("span",{style:{verticalAlign:"top"}},'"'),g.a.createElement("span",{style:{display:"inline-block"}},n.name),!!f&&g.a.createElement("span",{style:{verticalAlign:"top"}},'"')),g.a.createElement("span",w(a,"colon"),":")),g.a.createElement("div",Object.assign({className:"variable-value",onClick:!1===p&&!1===u?null:function(t){var r=P(s);(t.ctrlKey||t.metaKey)&&!1!==u?e.prepopInput(n):!1!==p&&(r.shift(),p(o(o({},n),{},{namespace:r})))}},w(a,"variableValue",{cursor:!1===p?"default":"pointer"})),this.getValue(n,m)),c?g.a.createElement(ve,{rowHovered:this.state.hovered,hidden:m,src:n.value,clickCallback:c,theme:a,namespace:[].concat(P(s),[n.name])}):null,!1!==u&&0==m?this.getEditIcon():null,!1!==h&&0==m?this.getRemoveIcon():null)}}]),n}(g.a.PureComponent),be=function(e){u(n,e);var t=f(n);function n(){var e;a(this,n);for(var r=arguments.length,i=new Array(r),s=0;s<r;s++)i[s]=arguments[s];return(e=t.call.apply(t,[this].concat(i))).getObjectSize=function(){var t=e.props,n=t.size,r=t.theme;if(t.displayObjectSize)return g.a.createElement("span",Object.assign({className:"object-size"},w(r,"object-size")),n," item",1===n?"":"s")},e.getAddAttribute=function(t){var n=e.props,r=n.theme,i=n.namespace,a=n.name,s=n.src,l=n.rjvId,c=n.depth;return g.a.createElement("span",{className:"click-to-add",style:{verticalAlign:"top",display:t?"inline-block":"none"}},g.a.createElement(de,Object.assign({className:"click-to-add-icon"},w(r,"addVarIcon"),{onClick:function(){var e={name:c>0?a:null,namespace:i.splice(0,i.length-1),existing_value:s,variable_removed:!1,key_name:null};"object"===T(s)?F.dispatch({name:"ADD_VARIABLE_KEY_REQUEST",rjvId:l,data:e}):F.dispatch({name:"VARIABLE_ADDED",rjvId:l,data:o(o({},e),{},{new_value:[].concat(P(s),[null])})})}})))},e.getRemoveObject=function(t){var n=e.props,r=n.theme,i=(n.hover,n.namespace),o=n.name,a=n.src,s=n.rjvId;if(1!==i.length)return g.a.createElement("span",{className:"click-to-remove",style:{display:t?"inline-block":"none"}},g.a.createElement(pe,Object.assign({className:"click-to-remove-icon"},w(r,"removeVarIcon"),{onClick:function(){F.dispatch({name:"VARIABLE_REMOVED",rjvId:s,data:{name:o,namespace:i.splice(0,i.length-1),existing_value:a,variable_removed:!0}})}})))},e.render=function(){var t=e.props,n=t.theme,r=t.onDelete,i=t.onAdd,o=t.enableClipboard,a=t.src,s=t.namespace,l=t.rowHovered;return g.a.createElement("div",Object.assign({},w(n,"object-meta-data"),{className:"object-meta-data",onClick:function(e){e.stopPropagation()}}),e.getObjectSize(),o?g.a.createElement(ve,{rowHovered:l,clickCallback:o,src:a,theme:n,namespace:s}):null,!1!==i?e.getAddAttribute(l):null,!1!==r?e.getRemoveObject(l):null)},e}return n}(g.a.PureComponent);function Ee(e){var t=e.parent_type,n=e.namespace,r=e.quotesOnKeys,i=e.theme,o=e.jsvRoot,a=e.name,s=e.displayArrayKey,l=e.name?e.name:"";return!o||!1!==a&&null!==a?"array"==t?s?g.a.createElement("span",Object.assign({},w(i,"array-key"),{key:n}),g.a.createElement("span",{className:"array-key"},l),g.a.createElement("span",w(i,"colon"),":")):g.a.createElement("span",null):g.a.createElement("span",Object.assign({},w(i,"object-name"),{key:n}),g.a.createElement("span",{className:"object-key"},r&&g.a.createElement("span",{style:{verticalAlign:"top"}},'"'),g.a.createElement("span",null,l),r&&g.a.createElement("span",{style:{verticalAlign:"top"}},'"')),g.a.createElement("span",w(i,"colon"),":")):g.a.createElement("span",null)}function Te(e){var t=e.theme;switch(e.iconStyle){case"triangle":return g.a.createElement(ue,Object.assign({},w(t,"expanded-icon"),{className:"expanded-icon"}));case"square":return g.a.createElement(se,Object.assign({},w(t,"expanded-icon"),{className:"expanded-icon"}));default:return g.a.createElement(oe,Object.assign({},w(t,"expanded-icon"),{className:"expanded-icon"}))}}function xe(e){var t=e.theme;switch(e.iconStyle){case"triangle":return g.a.createElement(ce,Object.assign({},w(t,"collapsed-icon"),{className:"collapsed-icon"}));case"square":return g.a.createElement(le,Object.assign({},w(t,"collapsed-icon"),{className:"collapsed-icon"}));default:return g.a.createElement(ae,Object.assign({},w(t,"collapsed-icon"),{className:"collapsed-icon"}))}}var Se=function(e){u(n,e);var t=f(n);function n(e){var r;return a(this,n),(r=t.call(this,e)).toggleCollapsed=function(e){var t=[];for(var n in r.state.expanded)t.push(r.state.expanded[n]);t[e]=!t[e],r.setState({expanded:t})},r.state={expanded:[]},r}return l(n,[{key:"getExpandedIcon",value:function(e){var t=this.props,n=t.theme,r=t.iconStyle;return this.state.expanded[e]?g.a.createElement(Te,{theme:n,iconStyle:r}):g.a.createElement(xe,{theme:n,iconStyle:r})}},{key:"render",value:function(){var e=this,t=this.props,n=t.src,r=t.groupArraysAfterLength,i=(t.depth,t.name),o=t.theme,a=t.jsvRoot,s=t.namespace,l=(t.parent_type,E(t,["src","groupArraysAfterLength","depth","name","theme","jsvRoot","namespace","parent_type"])),c=0,u=5*this.props.indentWidth;a||(c=5*this.props.indentWidth);var h=r,p=Math.ceil(n.length/h);return g.a.createElement("div",Object.assign({className:"object-key-val"},w(o,a?"jsv-root":"objectKeyVal",{paddingLeft:c})),g.a.createElement(Ee,this.props),g.a.createElement("span",null,g.a.createElement(be,Object.assign({size:n.length},this.props))),P(Array(p)).map((function(t,r){return g.a.createElement("div",Object.assign({key:r,className:"object-key-val array-group"},w(o,"objectKeyVal",{marginLeft:6,paddingLeft:u})),g.a.createElement("span",w(o,"brace-row"),g.a.createElement("div",Object.assign({className:"icon-container"},w(o,"icon-container"),{onClick:function(t){e.toggleCollapsed(r)}}),e.getExpandedIcon(r)),e.state.expanded[r]?g.a.createElement(Re,Object.assign({key:i+r,depth:0,name:!1,collapsed:!1,groupArraysAfterLength:h,index_offset:r*h,src:n.slice(r*h,r*h+h),namespace:s,type:"array",parent_type:"array_group",theme:o},l)):g.a.createElement("span",Object.assign({},w(o,"brace"),{onClick:function(t){e.toggleCollapsed(r)},className:"array-group-brace"}),"[",g.a.createElement("div",Object.assign({},w(o,"array-group-meta-data"),{className:"array-group-meta-data"}),g.a.createElement("span",Object.assign({className:"object-size"},w(o,"object-size")),r*h," - ",r*h+h>n.length?n.length:r*h+h)),"]")))})))}}]),n}(g.a.PureComponent),Ce=function(e){u(n,e);var t=f(n);function n(e){var r;a(this,n),(r=t.call(this,e)).toggleCollapsed=function(){r.setState({expanded:!r.state.expanded},(function(){B.set(r.props.rjvId,r.props.namespace,"expanded",r.state.expanded)}))},r.getObjectContent=function(e,t,n){return g.a.createElement("div",{className:"pushed-content object-container"},g.a.createElement("div",Object.assign({className:"object-content"},w(r.props.theme,"pushed-content")),r.renderObjectContents(t,n)))},r.getEllipsis=function(){return 0===r.state.size?null:g.a.createElement("div",Object.assign({},w(r.props.theme,"ellipsis"),{className:"node-ellipsis",onClick:r.toggleCollapsed}),"...")},r.getObjectMetaData=function(e){var t=r.props,n=(t.rjvId,t.theme,r.state),i=n.size,o=n.hovered;return g.a.createElement(be,Object.assign({rowHovered:o,size:i},r.props))},r.renderObjectContents=function(e,t){var n,i=r.props,o=i.depth,a=i.parent_type,s=i.index_offset,l=i.groupArraysAfterLength,c=i.namespace,u=r.state.object_type,h=[],p=Object.keys(e||{});return r.props.sortKeys&&"array"!==u&&(p=p.sort()),p.forEach((function(i){if(n=new Ae(i,e[i]),"array_group"===a&&s&&(n.name=parseInt(n.name)+s),e.hasOwnProperty(i))if("object"===n.type)h.push(g.a.createElement(Re,Object.assign({key:n.name,depth:o+1,name:n.name,src:n.value,namespace:c.concat(n.name),parent_type:u},t)));else if("array"===n.type){var p=Re;l&&n.value.length>l&&(p=Se),h.push(g.a.createElement(p,Object.assign({key:n.name,depth:o+1,name:n.name,src:n.value,namespace:c.concat(n.name),type:"array",parent_type:u},t)))}else h.push(g.a.createElement(_e,Object.assign({key:n.name+"_"+c,variable:n,singleIndent:5,namespace:c,type:r.props.type},t)))})),h};var i=n.getState(e);return r.state=o(o({},i),{},{prevProps:{}}),r}return l(n,[{key:"getBraceStart",value:function(e,t){var n=this,r=this.props,i=r.src,o=r.theme,a=r.iconStyle;if("array_group"===r.parent_type)return g.a.createElement("span",null,g.a.createElement("span",w(o,"brace"),"array"===e?"[":"{"),t?this.getObjectMetaData(i):null);var s=t?Te:xe;return g.a.createElement("span",null,g.a.createElement("span",Object.assign({onClick:function(e){n.toggleCollapsed()}},w(o,"brace-row")),g.a.createElement("div",Object.assign({className:"icon-container"},w(o,"icon-container")),g.a.createElement(s,{theme:o,iconStyle:a})),g.a.createElement(Ee,this.props),g.a.createElement("span",w(o,"brace"),"array"===e?"[":"{")),t?this.getObjectMetaData(i):null)}},{key:"render",value:function(){var e=this,t=this.props,n=t.depth,r=t.src,i=(t.namespace,t.name,t.type,t.parent_type),a=t.theme,s=t.jsvRoot,l=t.iconStyle,c=E(t,["depth","src","namespace","name","type","parent_type","theme","jsvRoot","iconStyle"]),u=this.state,h=u.object_type,p=u.expanded,d={};return s||"array_group"===i?"array_group"===i&&(d.borderLeft=0,d.display="inline"):d.paddingLeft=5*this.props.indentWidth,g.a.createElement("div",Object.assign({className:"object-key-val",onMouseEnter:function(){return e.setState(o(o({},e.state),{},{hovered:!0}))},onMouseLeave:function(){return e.setState(o(o({},e.state),{},{hovered:!1}))}},w(a,s?"jsv-root":"objectKeyVal",d)),this.getBraceStart(h,p),p?this.getObjectContent(n,r,o({theme:a,iconStyle:l},c)):this.getEllipsis(),g.a.createElement("span",{className:"brace-row"},g.a.createElement("span",{style:o(o({},w(a,"brace").style),{},{paddingLeft:p?"3px":"0px"})},"array"===h?"]":"}"),p?null:this.getObjectMetaData(r)))}}],[{key:"getDerivedStateFromProps",value:function(e,t){var r=t.prevProps;return e.src!==r.src||e.collapsed!==r.collapsed||e.name!==r.name||e.namespace!==r.namespace||e.rjvId!==r.rjvId?o(o({},n.getState(e)),{},{prevProps:e}):null}}]),n}(g.a.PureComponent);Ce.getState=function(e){var t=Object.keys(e.src).length,n=(!1===e.collapsed||!0!==e.collapsed&&e.collapsed>e.depth)&&(!e.shouldCollapse||!1===e.shouldCollapse({name:e.name,src:e.src,type:T(e.src),namespace:e.namespace}))&&0!==t;return{expanded:B.get(e.rjvId,e.namespace,"expanded",n),object_type:"array"===e.type?"array":"object",parent_type:"array"===e.type?"array":"object",size:t,hovered:!1}};var Ae=function e(t,n){a(this,e),this.name=t,this.value=n,this.type=T(n)};b(Ce);var Re=Ce,we=function(e){u(n,e);var t=f(n);function n(){var e;a(this,n);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return(e=t.call.apply(t,[this].concat(i))).render=function(){var t=d(e).props,n=[t.name],r=Re;return Array.isArray(t.src)&&t.groupArraysAfterLength&&t.src.length>t.groupArraysAfterLength&&(r=Se),g.a.createElement("div",{className:"pretty-json-container object-container"},g.a.createElement("div",{className:"object-content"},g.a.createElement(r,Object.assign({namespace:n,depth:0,jsvRoot:!0},t))))},e}return n}(g.a.PureComponent),Le=function(e){u(n,e);var t=f(n);function n(e){var r;return a(this,n),(r=t.call(this,e)).closeModal=function(){F.dispatch({rjvId:r.props.rjvId,name:"RESET"})},r.submit=function(){r.props.submit(r.state.input)},r.state={input:e.input?e.input:""},r}return l(n,[{key:"render",value:function(){var e=this,t=this.props,n=t.theme,r=t.rjvId,i=t.isValid,o=this.state.input,a=i(o);return g.a.createElement("div",Object.assign({className:"key-modal-request"},w(n,"key-modal-request"),{onClick:this.closeModal}),g.a.createElement("div",Object.assign({},w(n,"key-modal"),{onClick:function(e){e.stopPropagation()}}),g.a.createElement("div",w(n,"key-modal-label"),"Key Name:"),g.a.createElement("div",{style:{position:"relative"}},g.a.createElement("input",Object.assign({},w(n,"key-modal-input"),{className:"key-modal-input",ref:function(e){return e&&e.focus()},spellCheck:!1,value:o,placeholder:"...",onChange:function(t){e.setState({input:t.target.value})},onKeyPress:function(t){a&&"Enter"===t.key?e.submit():"Escape"===t.key&&e.closeModal()}})),a?g.a.createElement(ge,Object.assign({},w(n,"key-modal-submit"),{className:"key-modal-submit",onClick:function(t){return e.submit()}})):null),g.a.createElement("span",w(n,"key-modal-cancel"),g.a.createElement(fe,Object.assign({},w(n,"key-modal-cancel-icon"),{className:"key-modal-cancel",onClick:function(){F.dispatch({rjvId:r,name:"RESET"})}})))))}}]),n}(g.a.PureComponent),Oe=function(e){u(n,e);var t=f(n);function n(){var e;a(this,n);for(var r=arguments.length,i=new Array(r),s=0;s<r;s++)i[s]=arguments[s];return(e=t.call.apply(t,[this].concat(i))).isValid=function(t){var n=e.props.rjvId,r=B.get(n,"action","new-key-request");return""!=t&&-1===Object.keys(r.existing_value).indexOf(t)},e.submit=function(t){var n=e.props.rjvId,r=B.get(n,"action","new-key-request");r.new_value=o({},r.existing_value),r.new_value[t]=e.props.defaultValue,F.dispatch({name:"VARIABLE_ADDED",rjvId:n,data:r})},e}return l(n,[{key:"render",value:function(){var e=this.props,t=e.active,n=e.theme,r=e.rjvId;return t?g.a.createElement(Le,{rjvId:r,theme:n,isValid:this.isValid,submit:this.submit}):null}}]),n}(g.a.PureComponent),Ne=function(e){u(n,e);var t=f(n);function n(){return a(this,n),t.apply(this,arguments)}return l(n,[{key:"render",value:function(){var e=this.props,t=e.message,n=e.active,r=e.theme,i=e.rjvId;return n?g.a.createElement("div",Object.assign({className:"validation-failure"},w(r,"validation-failure"),{onClick:function(){F.dispatch({rjvId:i,name:"RESET"})}}),g.a.createElement("span",w(r,"validation-failure-label"),t),g.a.createElement(fe,w(r,"validation-failure-clear"))):null}}]),n}(g.a.PureComponent),Ie=function(e){u(n,e);var t=f(n);function n(e){var r;return a(this,n),(r=t.call(this,e)).rjvId=Date.now().toString(),r.getListeners=function(){return{reset:r.resetState,"variable-update":r.updateSrc,"add-key-request":r.addKeyRequest}},r.updateSrc=function(){var e,t=B.get(r.rjvId,"action","variable-update"),n=t.name,i=t.namespace,o=t.new_value,a=t.existing_value,s=(t.variable_removed,t.updated_src),l=t.type,c=r.props,u=c.onEdit,h=c.onDelete,p=c.onAdd,d={existing_src:r.state.src,new_value:o,updated_src:s,name:n,namespace:i,existing_value:a};switch(l){case"variable-added":e=p(d);break;case"variable-edited":e=u(d);break;case"variable-removed":e=h(d)}!1!==e?(B.set(r.rjvId,"global","src",s),r.setState({src:s})):r.setState({validationFailure:!0})},r.addKeyRequest=function(){r.setState({addKeyRequest:!0})},r.resetState=function(){r.setState({validationFailure:!1,addKeyRequest:!1})},r.state={addKeyRequest:!1,editKeyRequest:!1,validationFailure:!1,src:n.defaultProps.src,name:n.defaultProps.name,theme:n.defaultProps.theme,validationMessage:n.defaultProps.validationMessage,prevSrc:n.defaultProps.src,prevName:n.defaultProps.name,prevTheme:n.defaultProps.theme},r}return l(n,[{key:"componentDidMount",value:function(){B.set(this.rjvId,"global","src",this.state.src);var e=this.getListeners();for(var t in e)B.on(t+"-"+this.rjvId,e[t]);this.setState({addKeyRequest:!1,editKeyRequest:!1})}},{key:"componentDidUpdate",value:function(e,t){!1!==t.addKeyRequest&&this.setState({addKeyRequest:!1}),!1!==t.editKeyRequest&&this.setState({editKeyRequest:!1}),e.src!==this.state.src&&B.set(this.rjvId,"global","src",this.state.src)}},{key:"componentWillUnmount",value:function(){var e=this.getListeners();for(var t in e)B.removeListener(t+"-"+this.rjvId,e[t])}},{key:"render",value:function(){var e=this.state,t=e.validationFailure,n=e.validationMessage,r=e.addKeyRequest,i=e.theme,a=e.src,s=e.name,l=this.props,c=l.style,u=l.defaultValue;return g.a.createElement("div",{className:"react-json-view",style:o(o({},w(i,"app-container").style),c)},g.a.createElement(Ne,{message:n,active:t,theme:i,rjvId:this.rjvId}),g.a.createElement(we,Object.assign({},this.props,{src:a,name:s,theme:i,type:T(a),rjvId:this.rjvId})),g.a.createElement(Oe,{active:r,theme:i,rjvId:this.rjvId,defaultValue:u}))}}],[{key:"getDerivedStateFromProps",value:function(e,t){if(e.src!==t.prevSrc||e.name!==t.prevName||e.theme!==t.prevTheme){var r={src:e.src,name:e.name,theme:e.theme,validationMessage:e.validationMessage,prevSrc:e.src,prevName:e.name,prevTheme:e.theme};return n.validateState(r)}return null}}]),n}(g.a.PureComponent);Ie.defaultProps={src:{},name:"root",theme:"rjv-default",collapsed:!1,collapseStringsAfterLength:!1,shouldCollapse:!1,sortKeys:!1,quotesOnKeys:!0,groupArraysAfterLength:100,indentWidth:4,enableClipboard:!0,displayObjectSize:!0,displayDataTypes:!0,onEdit:!1,onDelete:!1,onAdd:!1,onSelect:!1,iconStyle:"triangle",style:{},validationMessage:"Validation Error",defaultValue:null,displayArrayKey:!0},Ie.validateState=function(e){var t={};return"object"!==T(e.theme)||function(e){var t=["base00","base01","base02","base03","base04","base05","base06","base07","base08","base09","base0A","base0B","base0C","base0D","base0E","base0F"];if("object"===T(e)){for(var n=0;n<t.length;n++)if(!(t[n]in e))return!1;return!0}return!1}(e.theme)||(console.error("react-json-view error:","theme prop must be a theme name or valid base-16 theme object.",'defaulting to "rjv-default" theme'),t.theme="rjv-default"),"object"!==T(e.src)&&"array"!==T(e.src)&&(console.error("react-json-view error:","src property must be a valid json object"),t.name="ERROR",t.src={message:"src property must be a valid json object"}),o(o({},e),t)},b(Ie),t.default=Ie}]))},5472:(e,t,n)=>{"use strict";n(2458);var r=n(1024),i=60103;if("function"==typeof Symbol&&Symbol.for){var o=Symbol.for;i=o("react.element"),o("react.fragment")}var a=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s=Object.prototype.hasOwnProperty,l={key:!0,ref:!0,__self:!0,__source:!0};t.jsx=function(e,t,n){var r,o={},c=null,u=null;for(r in void 0!==n&&(c=""+n),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(u=t.ref),t)s.call(t,r)&&!l.hasOwnProperty(r)&&(o[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===o[r]&&(o[r]=t[r]);return{$$typeof:i,type:e,key:c,ref:u,props:o,_owner:a.current}}},1250:(e,t,n)=>{"use strict";e.exports=n(5472)},5021:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.autoprefix=void 0;var r,i=(r=n(4802))&&r.__esModule?r:{default:r},o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a={borderRadius:function(e){return{msBorderRadius:e,MozBorderRadius:e,OBorderRadius:e,WebkitBorderRadius:e,borderRadius:e}},boxShadow:function(e){return{msBoxShadow:e,MozBoxShadow:e,OBoxShadow:e,WebkitBoxShadow:e,boxShadow:e}},userSelect:function(e){return{WebkitTouchCallout:e,KhtmlUserSelect:e,MozUserSelect:e,msUserSelect:e,WebkitUserSelect:e,userSelect:e}},flex:function(e){return{WebkitBoxFlex:e,MozBoxFlex:e,WebkitFlex:e,msFlex:e,flex:e}},flexBasis:function(e){return{WebkitFlexBasis:e,flexBasis:e}},justifyContent:function(e){return{WebkitJustifyContent:e,justifyContent:e}},transition:function(e){return{msTransition:e,MozTransition:e,OTransition:e,WebkitTransition:e,transition:e}},transform:function(e){return{msTransform:e,MozTransform:e,OTransform:e,WebkitTransform:e,transform:e}},absolute:function(e){var t=e&&e.split(" ");return{position:"absolute",top:t&&t[0],right:t&&t[1],bottom:t&&t[2],left:t&&t[3]}},extend:function(e,t){return t[e]||{extend:e}}},s=t.autoprefix=function(e){var t={};return(0,i.default)(e,(function(e,n){var r={};(0,i.default)(e,(function(e,t){var n=a[t];n?r=o({},r,n(e)):r[t]=e})),t[n]=r})),t};t.default=s},6066:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.active=void 0;var r,i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=(r=n(1024))&&r.__esModule?r:{default:r};function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var s=t.active=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"span";return function(n){function r(){var n,s,l;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,r);for(var c=arguments.length,u=Array(c),h=0;h<c;h++)u[h]=arguments[h];return s=l=a(this,(n=r.__proto__||Object.getPrototypeOf(r)).call.apply(n,[this].concat(u))),l.state={active:!1},l.handleMouseDown=function(){return l.setState({active:!0})},l.handleMouseUp=function(){return l.setState({active:!1})},l.render=function(){return o.default.createElement(t,{onMouseDown:l.handleMouseDown,onMouseUp:l.handleMouseUp},o.default.createElement(e,i({},l.props,l.state)))},a(l,s)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(r,n),r}(o.default.Component)};t.default=s},3567:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hover=void 0;var r,i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=(r=n(1024))&&r.__esModule?r:{default:r};function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var s=t.hover=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"span";return function(n){function r(){var n,s,l;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,r);for(var c=arguments.length,u=Array(c),h=0;h<c;h++)u[h]=arguments[h];return s=l=a(this,(n=r.__proto__||Object.getPrototypeOf(r)).call.apply(n,[this].concat(u))),l.state={hover:!1},l.handleMouseOver=function(){return l.setState({hover:!0})},l.handleMouseOut=function(){return l.setState({hover:!1})},l.render=function(){return o.default.createElement(t,{onMouseOver:l.handleMouseOver,onMouseOut:l.handleMouseOut},o.default.createElement(e,i({},l.props,l.state)))},a(l,s)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(r,n),r}(o.default.Component)};t.default=s},2719:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.flattenNames=void 0;var r=s(n(6705)),i=s(n(4802)),o=s(n(4256)),a=s(n(9107));function s(e){return e&&e.__esModule?e:{default:e}}var l=t.flattenNames=function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=[];return(0,a.default)(t,(function(t){Array.isArray(t)?e(t).map((function(e){return n.push(e)})):(0,o.default)(t)?(0,i.default)(t,(function(e,t){!0===e&&n.push(t),n.push(t+"-"+e)})):(0,r.default)(t)&&n.push(t)})),n};t.default=l},6410:(e,t,n)=>{"use strict";t.tz=void 0;var r=c(n(2719)),i=c(n(6239)),o=c(n(5021)),a=c(n(3567)),s=c(n(6066)),l=c(n(3383));function c(e){return e&&e.__esModule?e:{default:e}}a.default,t.tz=a.default,s.default,l.default;t.ZP=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),a=1;a<t;a++)n[a-1]=arguments[a];var s=(0,r.default)(n),l=(0,i.default)(e,s);return(0,o.default)(l)}},3383:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n={},r=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];n[e]=t};return 0===e&&r("first-child"),e===t-1&&r("last-child"),(0===e||e%2==0)&&r("even"),1===Math.abs(e%2)&&r("odd"),r("nth-child",e),n}},6239:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mergeClasses=void 0;var r=a(n(4802)),i=a(n(7179)),o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};function a(e){return e&&e.__esModule?e:{default:e}}var s=t.mergeClasses=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=e.default&&(0,i.default)(e.default)||{};return t.map((function(t){var i=e[t];return i&&(0,r.default)(i,(function(e,t){n[t]||(n[t]={}),n[t]=o({},n[t],i[t])})),t})),n};t.default=s},1919:function(e){e.exports=function(){"use strict";var e=function(e){return e instanceof Uint8Array||e instanceof Uint16Array||e instanceof Uint32Array||e instanceof Int8Array||e instanceof Int16Array||e instanceof Int32Array||e instanceof Float32Array||e instanceof Float64Array||e instanceof Uint8ClampedArray},t=function(e,t){for(var n=Object.keys(t),r=0;r<n.length;++r)e[n[r]]=t[n[r]];return e},n="\n";function r(e){var t=new Error("(regl) "+e);throw console.error(t),t}function i(e,t){e||r(t)}function o(e){return e?": "+e:""}function a(e,t){switch(t){case"number":return"number"==typeof e;case"object":return"object"==typeof e;case"string":return"string"==typeof e;case"boolean":return"boolean"==typeof e;case"function":return"function"==typeof e;case"undefined":return void 0===e;case"symbol":return"symbol"==typeof e}}function s(e,t,n){t.indexOf(e)<0&&r("invalid value"+o(n)+". must be one of: "+t)}var l=["gl","canvas","container","attributes","pixelRatio","extensions","optionalExtensions","profile","onDone"];function c(e,t){for(e+="";e.length<t;)e=" "+e;return e}function u(){this.name="unknown",this.lines=[],this.index={},this.hasErrors=!1}function h(e,t){this.number=e,this.line=t,this.errors=[]}function p(e,t,n){this.file=e,this.line=t,this.message=n}function d(){var e=new Error,t=(e.stack||e).toString(),n=/compileProcedure.*\n\s*at.*\((.*)\)/.exec(t);if(n)return n[1];var r=/compileProcedure.*\n\s*at\s+(.*)(\n|$)/.exec(t);return r?r[1]:"unknown"}function f(){var e=new Error,t=(e.stack||e).toString(),n=/at REGLCommand.*\n\s+at.*\((.*)\)/.exec(t);if(n)return n[1];var r=/at REGLCommand.*\n\s+at\s+(.*)\n/.exec(t);return r?r[1]:"unknown"}function m(e,t){var n,r=e.split("\n"),i=1,o=0,a={unknown:new u,0:new u};a.unknown.name=a[0].name=t||d(),a.unknown.lines.push(new h(0,""));for(var s=0;s<r.length;++s){var l=r[s],c=/^\s*#\s*(\w+)\s+(.+)\s*$/.exec(l);if(c)switch(c[1]){case"line":var p=/(\d+)(\s+\d+)?/.exec(c[2]);p&&(i=0|p[1],p[2]&&((o=0|p[2])in a||(a[o]=new u)));break;case"define":var f=/SHADER_NAME(_B64)?\s+(.*)$/.exec(c[2]);f&&(a[o].name=f[1]?(n=f[2],"undefined"!=typeof atob?atob(n):"base64:"+n):f[2])}a[o].lines.push(new h(i++,l))}return Object.keys(a).forEach((function(e){var t=a[e];t.lines.forEach((function(e){t.index[e.number]=e}))})),a}function g(e){e._commandRef=d()}function y(e,t){var n=f();r(e+" in command "+(t||d())+("unknown"===n?"":" called from "+n))}function v(e,t,n,r){a(e,t)||y("invalid parameter type"+o(n)+". expected "+t+", got "+typeof e,r||d())}var _=33071,b=32819,E=32820,T=33635,x=34042,S={};function C(e,t){return e===E||e===b||e===T?2:e===x?4:S[e]*t}function A(e){return!(e&e-1||!e)}S[5120]=S[5121]=1,S[5122]=S[5123]=S[36193]=S[T]=S[b]=S[E]=2,S[5124]=S[5125]=S[5126]=S[x]=4;var R=t(i,{optional:function(e){e()},raise:r,commandRaise:y,command:function(e,t,n){e||y(t,n||d())},parameter:function(e,t,n){e in t||r("unknown parameter ("+e+")"+o(n)+". possible values: "+Object.keys(t).join())},commandParameter:function(e,t,n,r){e in t||y("unknown parameter ("+e+")"+o(n)+". possible values: "+Object.keys(t).join(),r||d())},constructor:function(e){Object.keys(e).forEach((function(e){l.indexOf(e)<0&&r('invalid regl constructor argument "'+e+'". must be one of '+l)}))},type:function(e,t,n){a(e,t)||r("invalid parameter type"+o(n)+". expected "+t+", got "+typeof e)},commandType:v,isTypedArray:function(t,n){e(t)||r("invalid parameter type"+o(n)+". must be a typed array")},nni:function(e,t){e>=0&&(0|e)===e||r("invalid parameter type, ("+e+")"+o(t)+". must be a nonnegative integer")},oneOf:s,shaderError:function(e,t,r,o,a){if(!e.getShaderParameter(t,e.COMPILE_STATUS)){var s=e.getShaderInfoLog(t),l=o===e.FRAGMENT_SHADER?"fragment":"vertex";v(r,"string",l+" shader source must be a string",a);var u=m(r,a),h=function(e){var t=[];return e.split("\n").forEach((function(e){if(!(e.length<5)){var n=/^ERROR:\s+(\d+):(\d+):\s*(.*)$/.exec(e);n?t.push(new p(0|n[1],0|n[2],n[3].trim())):e.length>0&&t.push(new p("unknown",0,e))}})),t}(s);(function(e,t){t.forEach((function(t){var n=e[t.file];if(n){var r=n.index[t.line];if(r)return r.errors.push(t),void(n.hasErrors=!0)}e.unknown.hasErrors=!0,e.unknown.lines[0].errors.push(t)}))})(u,h),Object.keys(u).forEach((function(e){var t=u[e];if(t.hasErrors){var r=[""],i=[""];o("file number "+e+": "+t.name+"\n","color:red;text-decoration:underline;font-weight:bold"),t.lines.forEach((function(e){if(e.errors.length>0){o(c(e.number,4)+"| ","background-color:yellow; font-weight:bold"),o(e.line+n,"color:red; background-color:yellow; font-weight:bold");var t=0;e.errors.forEach((function(r){var i=r.message,a=/^\s*'(.*)'\s*:\s*(.*)$/.exec(i);if(a){var s=a[1];i=a[2],"assign"===s&&(s="="),t=Math.max(e.line.indexOf(s,t),0)}else t=0;o(c("| ",6)),o(c("^^^",t+3)+n,"font-weight:bold"),o(c("| ",6)),o(i+n,"font-weight:bold")})),o(c("| ",6)+n)}else o(c(e.number,4)+"| "),o(e.line+n,"color:red")})),"undefined"==typeof document||window.chrome?console.log(r.join("")):(i[0]=r.join("%c"),console.log.apply(console,i))}function o(e,t){r.push(e),i.push(t||"")}})),i.raise("Error compiling "+l+" shader, "+u[0].name)}},linkError:function(e,t,r,o,a){if(!e.getProgramParameter(t,e.LINK_STATUS)){var s=e.getProgramInfoLog(t),l=m(r,a),c='Error linking program with vertex shader, "'+m(o,a)[0].name+'", and fragment shader "'+l[0].name+'"';"undefined"!=typeof document?console.log("%c"+c+"\n%c"+s,"color:red;text-decoration:underline;font-weight:bold","color:red"):console.log(c+n+s),i.raise(c)}},callSite:f,saveCommandRef:g,saveDrawInfo:function(e,t,n,r){function i(e){return e?r.id(e):0}function o(e,t){Object.keys(t).forEach((function(t){e[r.id(t)]=!0}))}g(e),e._fragId=i(e.static.frag),e._vertId=i(e.static.vert);var a=e._uniformSet={};o(a,t.static),o(a,t.dynamic);var s=e._attributeSet={};o(s,n.static),o(s,n.dynamic),e._hasCount="count"in e.static||"count"in e.dynamic||"elements"in e.static||"elements"in e.dynamic},framebufferFormat:function(e,t,n){e.texture?s(e.texture._texture.internalformat,t,"unsupported texture format for attachment"):s(e.renderbuffer._renderbuffer.format,n,"unsupported renderbuffer format for attachment")},guessCommand:d,texture2D:function(e,t,n){var r,o=t.width,a=t.height,s=t.channels;i(o>0&&o<=n.maxTextureSize&&a>0&&a<=n.maxTextureSize,"invalid texture shape"),e.wrapS===_&&e.wrapT===_||i(A(o)&&A(a),"incompatible wrap mode for texture, both width and height must be power of 2"),1===t.mipmask?1!==o&&1!==a&&i(9984!==e.minFilter&&9986!==e.minFilter&&9985!==e.minFilter&&9987!==e.minFilter,"min filter requires mipmap"):(i(A(o)&&A(a),"texture must be a square power of 2 to support mipmapping"),i(t.mipmask===(o<<1)-1,"missing or incomplete mipmap data")),5126===t.type&&(n.extensions.indexOf("oes_texture_float_linear")<0&&i(9728===e.minFilter&&9728===e.magFilter,"filter not supported, must enable oes_texture_float_linear"),i(!e.genMipmaps,"mipmap generation not supported with float textures"));var l=t.images;for(r=0;r<16;++r)if(l[r]){var c=o>>r,u=a>>r;i(t.mipmask&1<<r,"missing mipmap data");var h=l[r];if(i(h.width===c&&h.height===u,"invalid shape for mip images"),i(h.format===t.format&&h.internalformat===t.internalformat&&h.type===t.type,"incompatible type for mip image"),h.compressed);else if(h.data){var p=Math.ceil(C(h.type,s)*c/h.unpackAlignment)*h.unpackAlignment;i(h.data.byteLength===p*u,"invalid data for image, buffer size is inconsistent with image format")}else h.element||h.copy}else e.genMipmaps||i(0==(t.mipmask&1<<r),"extra mipmap data");t.compressed&&i(!e.genMipmaps,"mipmap generation for compressed images not supported")},textureCube:function(e,t,n,r){var o=e.width,a=e.height,s=e.channels;i(o>0&&o<=r.maxTextureSize&&a>0&&a<=r.maxTextureSize,"invalid texture shape"),i(o===a,"cube map must be square"),i(t.wrapS===_&&t.wrapT===_,"wrap mode not supported by cube map");for(var l=0;l<n.length;++l){var c=n[l];i(c.width===o&&c.height===a,"inconsistent cube map face shape"),t.genMipmaps&&(i(!c.compressed,"can not generate mipmap for compressed textures"),i(1===c.mipmask,"can not specify mipmaps and generate mipmaps"));for(var u=c.images,h=0;h<16;++h){var p=u[h];if(p){var d=o>>h,f=a>>h;i(c.mipmask&1<<h,"missing mipmap data"),i(p.width===d&&p.height===f,"invalid shape for mip images"),i(p.format===e.format&&p.internalformat===e.internalformat&&p.type===e.type,"incompatible type for mip image"),p.compressed||(p.data?i(p.data.byteLength===d*f*Math.max(C(p.type,s),p.unpackAlignment),"invalid data for image, buffer size is inconsistent with image format"):p.element||p.copy)}}}}}),w=0;function L(e,t){this.id=w++,this.type=e,this.data=t}function O(e){return e.replace(/\\/g,"\\\\").replace(/"/g,'\\"')}function N(e){if(0===e.length)return[];var t=e.charAt(0),n=e.charAt(e.length-1);if(e.length>1&&t===n&&('"'===t||"'"===t))return['"'+O(e.substr(1,e.length-2))+'"'];var r=/\[(false|true|null|\d+|'[^']*'|"[^"]*")\]/.exec(e);if(r)return N(e.substr(0,r.index)).concat(N(r[1])).concat(N(e.substr(r.index+r[0].length)));var i=e.split(".");if(1===i.length)return['"'+O(e)+'"'];for(var o=[],a=0;a<i.length;++a)o=o.concat(N(i[a]));return o}function I(e){return"["+N(e).join("][")+"]"}var k={DynamicVariable:L,define:function(e,t){return new L(e,I(t+""))},isDynamic:function(e){return"function"==typeof e&&!e._reglType||e instanceof L},unbox:function e(t,n){return"function"==typeof t?new L(0,t):"number"==typeof t||"boolean"==typeof t?new L(5,t):Array.isArray(t)?new L(6,t.map(((t,r)=>e(t,n+"["+r+"]")))):t instanceof L?t:void R(!1,"invalid option type in uniform "+n)},accessor:I},D={next:"function"==typeof requestAnimationFrame?function(e){return requestAnimationFrame(e)}:function(e){return setTimeout(e,16)},cancel:"function"==typeof cancelAnimationFrame?function(e){return cancelAnimationFrame(e)}:clearTimeout},P="undefined"!=typeof performance&&performance.now?function(){return performance.now()}:function(){return+new Date};function M(e){return"string"==typeof e?e.split():(R(Array.isArray(e),"invalid extension array"),e)}function F(e){return"string"==typeof e?(R("undefined"!=typeof document,"not supported outside of DOM"),document.querySelector(e)):e}function H(e){var n,r,i,o,a,s=e||{},l={},c=[],u=[],h="undefined"==typeof window?1:window.devicePixelRatio,p=!1,d=function(e){e&&R.raise(e)},f=function(){};if("string"==typeof s?(R("undefined"!=typeof document,"selector queries only supported in DOM enviroments"),n=document.querySelector(s),R(n,"invalid query string for element")):"object"==typeof s?"string"==typeof(a=s).nodeName&&"function"==typeof a.appendChild&&"function"==typeof a.getBoundingClientRect?n=s:function(e){return"function"==typeof e.drawArrays||"function"==typeof e.drawElements}(s)?i=(o=s).canvas:(R.constructor(s),"gl"in s?o=s.gl:"canvas"in s?i=F(s.canvas):"container"in s&&(r=F(s.container)),"attributes"in s&&(l=s.attributes,R.type(l,"object","invalid context attributes")),"extensions"in s&&(c=M(s.extensions)),"optionalExtensions"in s&&(u=M(s.optionalExtensions)),"onDone"in s&&(R.type(s.onDone,"function","invalid or missing onDone callback"),d=s.onDone),"profile"in s&&(p=!!s.profile),"pixelRatio"in s&&(h=+s.pixelRatio,R(h>0,"invalid pixel ratio"))):R.raise("invalid arguments to regl"),n&&("canvas"===n.nodeName.toLowerCase()?i=n:r=n),!o){if(!i){R("undefined"!=typeof document,"must manually specify webgl context outside of DOM environments");var m=function(e,n,r){var i,o=document.createElement("canvas");function a(){var n=window.innerWidth,i=window.innerHeight;if(e!==document.body){var a=e.getBoundingClientRect();n=a.right-a.left,i=a.bottom-a.top}o.width=r*n,o.height=r*i,t(o.style,{width:n+"px",height:i+"px"})}return t(o.style,{border:0,margin:0,padding:0,top:0,left:0}),e.appendChild(o),e===document.body&&(o.style.position="absolute",t(e.style,{margin:0,padding:0})),e!==document.body&&"function"==typeof ResizeObserver?(i=new ResizeObserver((function(){setTimeout(a)}))).observe(e):window.addEventListener("resize",a,!1),a(),{canvas:o,onDestroy:function(){i?i.disconnect():window.removeEventListener("resize",a),e.removeChild(o)}}}(r||document.body,0,h);if(!m)return null;i=m.canvas,f=m.onDestroy}void 0===l.premultipliedAlpha&&(l.premultipliedAlpha=!0),o=function(e,t){function n(n){try{return e.getContext(n,t)}catch(e){return null}}return n("webgl")||n("experimental-webgl")||n("webgl-experimental")}(i,l)}return o?{gl:o,canvas:i,container:r,extensions:c,optionalExtensions:u,pixelRatio:h,profile:p,onDone:d,onDestroy:f}:(f(),d("webgl not supported, try upgrading your browser or graphics drivers http://get.webgl.org"),null)}function B(e,t){for(var n=Array(e),r=0;r<e;++r)n[r]=t(r);return n}function U(e){var t,n;return t=(e>65535)<<4,t|=n=((e>>>=t)>255)<<3,t|=n=((e>>>=n)>15)<<2,(t|=n=((e>>>=n)>3)<<1)|(e>>>=n)>>1}function j(){var e=B(8,(function(){return[]}));function t(t){var n=function(e){for(var t=16;t<=1<<28;t*=16)if(e<=t)return t;return 0}(t),r=e[U(n)>>2];return r.length>0?r.pop():new ArrayBuffer(n)}function n(t){e[U(t.byteLength)>>2].push(t)}return{alloc:t,free:n,allocType:function(e,n){var r=null;switch(e){case 5120:r=new Int8Array(t(n),0,n);break;case 5121:r=new Uint8Array(t(n),0,n);break;case 5122:r=new Int16Array(t(2*n),0,n);break;case 5123:r=new Uint16Array(t(2*n),0,n);break;case 5124:r=new Int32Array(t(4*n),0,n);break;case 5125:r=new Uint32Array(t(4*n),0,n);break;case 5126:r=new Float32Array(t(4*n),0,n);break;default:return null}return r.length!==n?r.subarray(0,n):r},freeType:function(e){n(e.buffer)}}}var G=j();G.zero=j();var Y=3553,z=6408,$=5126,W=36160;function V(t){return!!t&&"object"==typeof t&&Array.isArray(t.shape)&&Array.isArray(t.stride)&&"number"==typeof t.offset&&t.shape.length===t.stride.length&&(Array.isArray(t.data)||e(t.data))}var K=function(e){return Object.keys(e).map((function(t){return e[t]}))},q={shape:function(e){for(var t=[],n=e;n.length;n=n[0])t.push(n.length);return t},flatten:function(e,t,n,r){var i=1;if(t.length)for(var o=0;o<t.length;++o)i*=t[o];else i=0;var a=r||G.allocType(n,i);switch(t.length){case 0:break;case 1:!function(e,t,n){for(var r=0;r<t;++r)n[r]=e[r]}(e,t[0],a);break;case 2:!function(e,t,n,r){for(var i=0,o=0;o<t;++o)for(var a=e[o],s=0;s<n;++s)r[i++]=a[s]}(e,t[0],t[1],a);break;case 3:X(e,t[0],t[1],t[2],a,0);break;default:Z(e,t,0,a,0)}return a}};function X(e,t,n,r,i,o){for(var a=o,s=0;s<t;++s)for(var l=e[s],c=0;c<n;++c)for(var u=l[c],h=0;h<r;++h)i[a++]=u[h]}function Z(e,t,n,r,i){for(var o=1,a=n+1;a<t.length;++a)o*=t[a];var s=t[n];if(t.length-n==4){var l=t[n+1],c=t[n+2],u=t[n+3];for(a=0;a<s;++a)X(e[a],l,c,u,r,i),i+=o}else for(a=0;a<s;++a)Z(e[a],t,n+1,r,i),i+=o}var Q={"[object Int8Array]":5120,"[object Int16Array]":5122,"[object Int32Array]":5124,"[object Uint8Array]":5121,"[object Uint8ClampedArray]":5121,"[object Uint16Array]":5123,"[object Uint32Array]":5125,"[object Float32Array]":5126,"[object Float64Array]":5121,"[object ArrayBuffer]":5121},J={int8:5120,int16:5122,int32:5124,uint8:5121,uint16:5123,uint32:5125,float:5126,float32:5126},ee={dynamic:35048,stream:35040,static:35044},te=q.flatten,ne=q.shape,re=35044,ie=35040,oe=5121,ae=5126,se=[];function le(e){return 0|Q[Object.prototype.toString.call(e)]}function ce(e,t){for(var n=0;n<t.length;++n)e[n]=t[n]}function ue(e,t,n,r,i,o,a){for(var s=0,l=0;l<n;++l)for(var c=0;c<r;++c)e[s++]=t[i*l+o*c+a]}se[5120]=1,se[5122]=2,se[5124]=4,se[5121]=1,se[5123]=2,se[5125]=4,se[5126]=4;var he={points:0,point:0,lines:1,line:1,triangles:4,triangle:4,"line loop":2,"line strip":3,"triangle strip":5,"triangle fan":6},pe=0,de=1,fe=4,me=5120,ge=5121,ye=5122,ve=5123,_e=5124,be=5125,Ee=34963,Te=35040,xe=35044;var Se=new Float32Array(1),Ce=new Uint32Array(Se.buffer),Ae=5123;function Re(e){for(var t=G.allocType(Ae,e.length),n=0;n<e.length;++n)if(isNaN(e[n]))t[n]=65535;else if(e[n]===1/0)t[n]=31744;else if(e[n]===-1/0)t[n]=64512;else{Se[0]=e[n];var r=Ce[0],i=r>>>31<<15,o=(r<<1>>>24)-127,a=r>>13&1023;if(o<-24)t[n]=i;else if(o<-14){var s=-14-o;t[n]=i+(a+1024>>s)}else t[n]=o>15?i+31744:i+(o+15<<10)+a}return t}function we(t){return Array.isArray(t)||e(t)}var Le=function(e){return!(e&e-1||!e)},Oe=34467,Ne=3553,Ie=34067,ke=34069,De=6408,Pe=6406,Me=6407,Fe=6409,He=6410,Be=32854,Ue=32855,je=36194,Ge=32819,Ye=32820,ze=33635,$e=34042,We=6402,Ve=34041,Ke=35904,qe=35906,Xe=36193,Ze=33776,Qe=33777,Je=33778,et=33779,tt=35986,nt=35987,rt=34798,it=35840,ot=35841,at=35842,st=35843,lt=36196,ct=5121,ut=5123,ht=5125,pt=5126,dt=10242,ft=10243,mt=10497,gt=33071,yt=33648,vt=10240,_t=10241,bt=9728,Et=9729,Tt=9984,xt=9985,St=9986,Ct=9987,At=33170,Rt=4352,wt=4353,Lt=4354,Ot=34046,Nt=3317,It=37440,kt=37441,Dt=37443,Pt=37444,Mt=33984,Ft=[Tt,St,xt,Ct],Ht=[0,Fe,He,Me,De],Bt={};function Ut(e){return"[object "+e+"]"}Bt[Fe]=Bt[Pe]=Bt[We]=1,Bt[Ve]=Bt[He]=2,Bt[Me]=Bt[Ke]=3,Bt[De]=Bt[qe]=4;var jt=Ut("HTMLCanvasElement"),Gt=Ut("OffscreenCanvas"),Yt=Ut("CanvasRenderingContext2D"),zt=Ut("ImageBitmap"),$t=Ut("HTMLImageElement"),Wt=Ut("HTMLVideoElement"),Vt=Object.keys(Q).concat([jt,Gt,Yt,zt,$t,Wt]),Kt=[];Kt[ct]=1,Kt[pt]=4,Kt[Xe]=2,Kt[ut]=2,Kt[ht]=4;var qt=[];function Xt(e){return Array.isArray(e)&&(0===e.length||"number"==typeof e[0])}function Zt(e){return!!Array.isArray(e)&&!(0===e.length||!we(e[0]))}function Qt(e){return Object.prototype.toString.call(e)}function Jt(e){return Qt(e)===jt}function en(e){return Qt(e)===Gt}function tn(e){if(!e)return!1;var t=Qt(e);return Vt.indexOf(t)>=0||Xt(e)||Zt(e)||V(e)}function nn(e){return 0|Q[Object.prototype.toString.call(e)]}function rn(e,t){return G.allocType(e.type===Xe?pt:e.type,t)}function on(e,t){e.type===Xe?(e.data=Re(t),G.freeType(t)):e.data=t}function an(e,t,n,r,i,o){var a;if(a=void 0!==qt[e]?qt[e]:Bt[e]*Kt[t],o&&(a*=6),i){for(var s=0,l=n;l>=1;)s+=a*l*l,l/=2;return s}return a*n*r}function sn(n,r,i,o,a,s,l){var c={"don't care":Rt,"dont care":Rt,nice:Lt,fast:wt},u={repeat:mt,clamp:gt,mirror:yt},h={nearest:bt,linear:Et},p=t({mipmap:Ct,"nearest mipmap nearest":Tt,"linear mipmap nearest":xt,"nearest mipmap linear":St,"linear mipmap linear":Ct},h),d={none:0,browser:Pt},f={uint8:ct,rgba4:Ge,rgb565:ze,"rgb5 a1":Ye},m={alpha:Pe,luminance:Fe,"luminance alpha":He,rgb:Me,rgba:De,rgba4:Be,"rgb5 a1":Ue,rgb565:je},g={};r.ext_srgb&&(m.srgb=Ke,m.srgba=qe),r.oes_texture_float&&(f.float32=f.float=pt),r.oes_texture_half_float&&(f.float16=f["half float"]=Xe),r.webgl_depth_texture&&(t(m,{depth:We,"depth stencil":Ve}),t(f,{uint16:ut,uint32:ht,"depth stencil":$e})),r.webgl_compressed_texture_s3tc&&t(g,{"rgb s3tc dxt1":Ze,"rgba s3tc dxt1":Qe,"rgba s3tc dxt3":Je,"rgba s3tc dxt5":et}),r.webgl_compressed_texture_atc&&t(g,{"rgb atc":tt,"rgba atc explicit alpha":nt,"rgba atc interpolated alpha":rt}),r.webgl_compressed_texture_pvrtc&&t(g,{"rgb pvrtc 4bppv1":it,"rgb pvrtc 2bppv1":ot,"rgba pvrtc 4bppv1":at,"rgba pvrtc 2bppv1":st}),r.webgl_compressed_texture_etc1&&(g["rgb etc1"]=lt);var y=Array.prototype.slice.call(n.getParameter(Oe));Object.keys(g).forEach((function(e){var t=g[e];y.indexOf(t)>=0&&(m[e]=t)}));var v=Object.keys(m);i.textureFormats=v;var _=[];Object.keys(m).forEach((function(e){var t=m[e];_[t]=e}));var b=[];Object.keys(f).forEach((function(e){var t=f[e];b[t]=e}));var E=[];Object.keys(h).forEach((function(e){var t=h[e];E[t]=e}));var T=[];Object.keys(p).forEach((function(e){var t=p[e];T[t]=e}));var x=[];Object.keys(u).forEach((function(e){var t=u[e];x[t]=e}));var S=v.reduce((function(e,t){var n=m[t];return n===Fe||n===Pe||n===Fe||n===He||n===We||n===Ve||r.ext_srgb&&(n===Ke||n===qe)?e[n]=n:n===Ue||t.indexOf("rgba")>=0?e[n]=De:e[n]=Me,e}),{});function C(){this.internalformat=De,this.format=De,this.type=ct,this.compressed=!1,this.premultiplyAlpha=!1,this.flipY=!1,this.unpackAlignment=1,this.colorSpace=Pt,this.width=0,this.height=0,this.channels=0}function A(e,t){e.internalformat=t.internalformat,e.format=t.format,e.type=t.type,e.compressed=t.compressed,e.premultiplyAlpha=t.premultiplyAlpha,e.flipY=t.flipY,e.unpackAlignment=t.unpackAlignment,e.colorSpace=t.colorSpace,e.width=t.width,e.height=t.height,e.channels=t.channels}function w(e,t){if("object"==typeof t&&t){if("premultiplyAlpha"in t&&(R.type(t.premultiplyAlpha,"boolean","invalid premultiplyAlpha"),e.premultiplyAlpha=t.premultiplyAlpha),"flipY"in t&&(R.type(t.flipY,"boolean","invalid texture flip"),e.flipY=t.flipY),"alignment"in t&&(R.oneOf(t.alignment,[1,2,4,8],"invalid texture unpack alignment"),e.unpackAlignment=t.alignment),"colorSpace"in t&&(R.parameter(t.colorSpace,d,"invalid colorSpace"),e.colorSpace=d[t.colorSpace]),"type"in t){var n=t.type;R(r.oes_texture_float||!("float"===n||"float32"===n),"you must enable the OES_texture_float extension in order to use floating point textures."),R(r.oes_texture_half_float||!("half float"===n||"float16"===n),"you must enable the OES_texture_half_float extension in order to use 16-bit floating point textures."),R(r.webgl_depth_texture||!("uint16"===n||"uint32"===n||"depth stencil"===n),"you must enable the WEBGL_depth_texture extension in order to use depth/stencil textures."),R.parameter(n,f,"invalid texture type"),e.type=f[n]}var o=e.width,a=e.height,s=e.channels,l=!1;"shape"in t?(R(Array.isArray(t.shape)&&t.shape.length>=2,"shape must be an array"),o=t.shape[0],a=t.shape[1],3===t.shape.length&&(s=t.shape[2],R(s>0&&s<=4,"invalid number of channels"),l=!0),R(o>=0&&o<=i.maxTextureSize,"invalid width"),R(a>=0&&a<=i.maxTextureSize,"invalid height")):("radius"in t&&(o=a=t.radius,R(o>=0&&o<=i.maxTextureSize,"invalid radius")),"width"in t&&(o=t.width,R(o>=0&&o<=i.maxTextureSize,"invalid width")),"height"in t&&(a=t.height,R(a>=0&&a<=i.maxTextureSize,"invalid height")),"channels"in t&&(s=t.channels,R(s>0&&s<=4,"invalid number of channels"),l=!0)),e.width=0|o,e.height=0|a,e.channels=0|s;var c=!1;if("format"in t){var u=t.format;R(r.webgl_depth_texture||!("depth"===u||"depth stencil"===u),"you must enable the WEBGL_depth_texture extension in order to use depth/stencil textures."),R.parameter(u,m,"invalid texture format");var h=e.internalformat=m[u];e.format=S[h],u in f&&("type"in t||(e.type=f[u])),u in g&&(e.compressed=!0),c=!0}!l&&c?e.channels=Bt[e.format]:l&&!c?e.channels!==Ht[e.format]&&(e.format=e.internalformat=Ht[e.channels]):c&&l&&R(e.channels===Bt[e.format],"number of channels inconsistent with specified format")}}function L(e){n.pixelStorei(It,e.flipY),n.pixelStorei(kt,e.premultiplyAlpha),n.pixelStorei(Dt,e.colorSpace),n.pixelStorei(Nt,e.unpackAlignment)}function O(){C.call(this),this.xOffset=0,this.yOffset=0,this.data=null,this.needsFree=!1,this.element=null,this.needsCopy=!1}function N(t,n){var r=null;if(tn(n)?r=n:n&&(R.type(n,"object","invalid pixel data type"),w(t,n),"x"in n&&(t.xOffset=0|n.x),"y"in n&&(t.yOffset=0|n.y),tn(n.data)&&(r=n.data)),R(!t.compressed||r instanceof Uint8Array,"compressed texture data must be stored in a uint8array"),n.copy){R(!r,"can not specify copy and data field for the same texture");var o=a.viewportWidth,s=a.viewportHeight;t.width=t.width||o-t.xOffset,t.height=t.height||s-t.yOffset,t.needsCopy=!0,R(t.xOffset>=0&&t.xOffset<o&&t.yOffset>=0&&t.yOffset<s&&t.width>0&&t.width<=o&&t.height>0&&t.height<=s,"copy texture read out of bounds")}else if(r){if(e(r))t.channels=t.channels||4,t.data=r,"type"in n||t.type!==ct||(t.type=nn(r));else if(Xt(r))t.channels=t.channels||4,function(e,t){var n=t.length;switch(e.type){case ct:case ut:case ht:case pt:var r=G.allocType(e.type,n);r.set(t),e.data=r;break;case Xe:e.data=Re(t);break;default:R.raise("unsupported texture type, must specify a typed array")}}(t,r),t.alignment=1,t.needsFree=!0;else if(V(r)){var l=r.data;Array.isArray(l)||t.type!==ct||(t.type=nn(l));var c,u,h,p,d,f,m=r.shape,g=r.stride;3===m.length?(h=m[2],f=g[2]):(R(2===m.length,"invalid ndarray pixel data, must be 2 or 3D"),h=1,f=1),c=m[0],u=m[1],p=g[0],d=g[1],t.alignment=1,t.width=c,t.height=u,t.channels=h,t.format=t.internalformat=Ht[h],t.needsFree=!0,function(e,t,n,r,i,o){for(var a=e.width,s=e.height,l=e.channels,c=rn(e,a*s*l),u=0,h=0;h<s;++h)for(var p=0;p<a;++p)for(var d=0;d<l;++d)c[u++]=t[n*p+r*h+i*d+o];on(e,c)}(t,l,p,d,f,r.offset)}else if(Jt(r)||en(r)||Qt(r)===Yt)Jt(r)||en(r)?t.element=r:t.element=r.canvas,t.width=t.element.width,t.height=t.element.height,t.channels=4;else if(function(e){return Qt(e)===zt}(r))t.element=r,t.width=r.width,t.height=r.height,t.channels=4;else if(function(e){return Qt(e)===$t}(r))t.element=r,t.width=r.naturalWidth,t.height=r.naturalHeight,t.channels=4;else if(function(e){return Qt(e)===Wt}(r))t.element=r,t.width=r.videoWidth,t.height=r.videoHeight,t.channels=4;else if(Zt(r)){var y=t.width||r[0].length,v=t.height||r.length,_=t.channels;_=we(r[0][0])?_||r[0][0].length:_||1;for(var b=q.shape(r),E=1,T=0;T<b.length;++T)E*=b[T];var x=rn(t,E);q.flatten(r,b,"",x),on(t,x),t.alignment=1,t.width=y,t.height=v,t.channels=_,t.format=t.internalformat=Ht[_],t.needsFree=!0}}else t.width=t.width||1,t.height=t.height||1,t.channels=t.channels||4;t.type===pt?R(i.extensions.indexOf("oes_texture_float")>=0,"oes_texture_float extension not enabled"):t.type===Xe&&R(i.extensions.indexOf("oes_texture_half_float")>=0,"oes_texture_half_float extension not enabled")}function I(e,t,r){var i=e.element,a=e.data,s=e.internalformat,l=e.format,c=e.type,u=e.width,h=e.height;L(e),i?n.texImage2D(t,r,l,l,c,i):e.compressed?n.compressedTexImage2D(t,r,s,u,h,0,a):e.needsCopy?(o(),n.copyTexImage2D(t,r,l,e.xOffset,e.yOffset,u,h,0)):n.texImage2D(t,r,l,u,h,0,l,c,a||null)}function k(e,t,r,i,a){var s=e.element,l=e.data,c=e.internalformat,u=e.format,h=e.type,p=e.width,d=e.height;L(e),s?n.texSubImage2D(t,a,r,i,u,h,s):e.compressed?n.compressedTexSubImage2D(t,a,r,i,c,p,d,l):e.needsCopy?(o(),n.copyTexSubImage2D(t,a,r,i,e.xOffset,e.yOffset,p,d)):n.texSubImage2D(t,a,r,i,p,d,u,h,l)}var D=[];function P(){return D.pop()||new O}function M(e){e.needsFree&&G.freeType(e.data),O.call(e),D.push(e)}function F(){C.call(this),this.genMipmaps=!1,this.mipmapHint=Rt,this.mipmask=0,this.images=Array(16)}function H(e,t,n){var r=e.images[0]=P();e.mipmask=1,r.width=e.width=t,r.height=e.height=n,r.channels=e.channels=4}function B(e,t){var n=null;if(tn(t))A(n=e.images[0]=P(),e),N(n,t),e.mipmask=1;else if(w(e,t),Array.isArray(t.mipmap))for(var r=t.mipmap,i=0;i<r.length;++i)A(n=e.images[i]=P(),e),n.width>>=i,n.height>>=i,N(n,r[i]),e.mipmask|=1<<i;else A(n=e.images[0]=P(),e),N(n,t),e.mipmask=1;A(e,e.images[0]),!e.compressed||e.internalformat!==Ze&&e.internalformat!==Qe&&e.internalformat!==Je&&e.internalformat!==et||R(e.width%4==0&&e.height%4==0,"for compressed texture formats, mipmap level 0 must have width and height that are a multiple of 4")}function U(e,t){for(var n=e.images,r=0;r<n.length;++r){if(!n[r])return;I(n[r],t,r)}}var j=[];function Y(){var e=j.pop()||new F;C.call(e),e.mipmask=0;for(var t=0;t<16;++t)e.images[t]=null;return e}function z(e){for(var t=e.images,n=0;n<t.length;++n)t[n]&&M(t[n]),t[n]=null;j.push(e)}function $(){this.minFilter=bt,this.magFilter=bt,this.wrapS=gt,this.wrapT=gt,this.anisotropic=1,this.genMipmaps=!1,this.mipmapHint=Rt}function W(e,t){if("min"in t){var n=t.min;R.parameter(n,p),e.minFilter=p[n],Ft.indexOf(e.minFilter)>=0&&!("faces"in t)&&(e.genMipmaps=!0)}if("mag"in t){var r=t.mag;R.parameter(r,h),e.magFilter=h[r]}var o=e.wrapS,a=e.wrapT;if("wrap"in t){var s=t.wrap;"string"==typeof s?(R.parameter(s,u),o=a=u[s]):Array.isArray(s)&&(R.parameter(s[0],u),R.parameter(s[1],u),o=u[s[0]],a=u[s[1]])}else{if("wrapS"in t){var l=t.wrapS;R.parameter(l,u),o=u[l]}if("wrapT"in t){var d=t.wrapT;R.parameter(d,u),a=u[d]}}if(e.wrapS=o,e.wrapT=a,"anisotropic"in t){var f=t.anisotropic;R("number"==typeof f&&f>=1&&f<=i.maxAnisotropic,"aniso samples must be between 1 and "),e.anisotropic=t.anisotropic}if("mipmap"in t){var m=!1;switch(typeof t.mipmap){case"string":R.parameter(t.mipmap,c,"invalid mipmap hint"),e.mipmapHint=c[t.mipmap],e.genMipmaps=!0,m=!0;break;case"boolean":m=e.genMipmaps=t.mipmap;break;case"object":R(Array.isArray(t.mipmap),"invalid mipmap type"),e.genMipmaps=!1,m=!0;break;default:R.raise("invalid mipmap type")}m&&!("min"in t)&&(e.minFilter=Tt)}}function X(e,t){n.texParameteri(t,_t,e.minFilter),n.texParameteri(t,vt,e.magFilter),n.texParameteri(t,dt,e.wrapS),n.texParameteri(t,ft,e.wrapT),r.ext_texture_filter_anisotropic&&n.texParameteri(t,Ot,e.anisotropic),e.genMipmaps&&(n.hint(At,e.mipmapHint),n.generateMipmap(t))}var Z=0,Q={},J=i.maxTextureUnits,ee=Array(J).map((function(){return null}));function te(e){C.call(this),this.mipmask=0,this.internalformat=De,this.id=Z++,this.refCount=1,this.target=e,this.texture=n.createTexture(),this.unit=-1,this.bindCount=0,this.texInfo=new $,l.profile&&(this.stats={size:0})}function ne(e){n.activeTexture(Mt),n.bindTexture(e.target,e.texture)}function re(){var e=ee[0];e?n.bindTexture(e.target,e.texture):n.bindTexture(Ne,null)}function ie(e){var t=e.texture;R(t,"must not double destroy texture");var r=e.unit,i=e.target;r>=0&&(n.activeTexture(Mt+r),n.bindTexture(i,null),ee[r]=null),n.deleteTexture(t),e.texture=null,e.params=null,e.pixels=null,e.refCount=0,delete Q[e.id],s.textureCount--}return t(te.prototype,{bind:function(){var e=this;e.bindCount+=1;var t=e.unit;if(t<0){for(var r=0;r<J;++r){var i=ee[r];if(i){if(i.bindCount>0)continue;i.unit=-1}ee[r]=e,t=r;break}t>=J&&R.raise("insufficient number of texture units"),l.profile&&s.maxTextureUnits<t+1&&(s.maxTextureUnits=t+1),e.unit=t,n.activeTexture(Mt+t),n.bindTexture(e.target,e.texture)}return t},unbind:function(){this.bindCount-=1},decRef:function(){--this.refCount<=0&&ie(this)}}),l.profile&&(s.getTotalTextureSize=function(){var e=0;return Object.keys(Q).forEach((function(t){e+=Q[t].stats.size})),e}),{create2D:function(e,t){var r=new te(Ne);function o(e,t){var n=r.texInfo;$.call(n);var a=Y();return"number"==typeof e?H(a,0|e,"number"==typeof t?0|t:0|e):e?(R.type(e,"object","invalid arguments to regl.texture"),W(n,e),B(a,e)):H(a,1,1),n.genMipmaps&&(a.mipmask=(a.width<<1)-1),r.mipmask=a.mipmask,A(r,a),R.texture2D(n,a,i),r.internalformat=a.internalformat,o.width=a.width,o.height=a.height,ne(r),U(a,Ne),X(n,Ne),re(),z(a),l.profile&&(r.stats.size=an(r.internalformat,r.type,a.width,a.height,n.genMipmaps,!1)),o.format=_[r.internalformat],o.type=b[r.type],o.mag=E[n.magFilter],o.min=T[n.minFilter],o.wrapS=x[n.wrapS],o.wrapT=x[n.wrapT],o}return Q[r.id]=r,s.textureCount++,o(e,t),o.subimage=function(e,t,n,i){R(!!e,"must specify image data");var a=0|t,s=0|n,l=0|i,c=P();return A(c,r),c.width=0,c.height=0,N(c,e),c.width=c.width||(r.width>>l)-a,c.height=c.height||(r.height>>l)-s,R(r.type===c.type&&r.format===c.format&&r.internalformat===c.internalformat,"incompatible format for texture.subimage"),R(a>=0&&s>=0&&a+c.width<=r.width&&s+c.height<=r.height,"texture.subimage write out of bounds"),R(r.mipmask&1<<l,"missing mipmap data"),R(c.data||c.element||c.needsCopy,"missing image data"),ne(r),k(c,Ne,a,s,l),re(),M(c),o},o.resize=function(e,t){var i=0|e,a=0|t||i;if(i===r.width&&a===r.height)return o;o.width=r.width=i,o.height=r.height=a,ne(r);for(var s=0;r.mipmask>>s;++s){var c=i>>s,u=a>>s;if(!c||!u)break;n.texImage2D(Ne,s,r.format,c,u,0,r.format,r.type,null)}return re(),l.profile&&(r.stats.size=an(r.internalformat,r.type,i,a,!1,!1)),o},o._reglType="texture2d",o._texture=r,l.profile&&(o.stats=r.stats),o.destroy=function(){r.decRef()},o},createCube:function(e,t,r,o,a,c){var u=new te(Ie);Q[u.id]=u,s.cubeCount++;var h=new Array(6);function p(e,t,n,r,o,a){var s,c=u.texInfo;for($.call(c),s=0;s<6;++s)h[s]=Y();if("number"!=typeof e&&e)if("object"==typeof e)if(t)B(h[0],e),B(h[1],t),B(h[2],n),B(h[3],r),B(h[4],o),B(h[5],a);else if(W(c,e),w(u,e),"faces"in e){var d=e.faces;for(R(Array.isArray(d)&&6===d.length,"cube faces must be a length 6 array"),s=0;s<6;++s)R("object"==typeof d[s]&&!!d[s],"invalid input for cube map face"),A(h[s],u),B(h[s],d[s])}else for(s=0;s<6;++s)B(h[s],e);else R.raise("invalid arguments to cube map");else{var f=0|e||1;for(s=0;s<6;++s)H(h[s],f,f)}for(A(u,h[0]),i.npotTextureCube||R(Le(u.width)&&Le(u.height),"your browser does not support non power or two texture dimensions"),c.genMipmaps?u.mipmask=(h[0].width<<1)-1:u.mipmask=h[0].mipmask,R.textureCube(u,c,h,i),u.internalformat=h[0].internalformat,p.width=h[0].width,p.height=h[0].height,ne(u),s=0;s<6;++s)U(h[s],ke+s);for(X(c,Ie),re(),l.profile&&(u.stats.size=an(u.internalformat,u.type,p.width,p.height,c.genMipmaps,!0)),p.format=_[u.internalformat],p.type=b[u.type],p.mag=E[c.magFilter],p.min=T[c.minFilter],p.wrapS=x[c.wrapS],p.wrapT=x[c.wrapT],s=0;s<6;++s)z(h[s]);return p}return p(e,t,r,o,a,c),p.subimage=function(e,t,n,r,i){R(!!t,"must specify image data"),R("number"==typeof e&&e===(0|e)&&e>=0&&e<6,"invalid face");var o=0|n,a=0|r,s=0|i,l=P();return A(l,u),l.width=0,l.height=0,N(l,t),l.width=l.width||(u.width>>s)-o,l.height=l.height||(u.height>>s)-a,R(u.type===l.type&&u.format===l.format&&u.internalformat===l.internalformat,"incompatible format for texture.subimage"),R(o>=0&&a>=0&&o+l.width<=u.width&&a+l.height<=u.height,"texture.subimage write out of bounds"),R(u.mipmask&1<<s,"missing mipmap data"),R(l.data||l.element||l.needsCopy,"missing image data"),ne(u),k(l,ke+e,o,a,s),re(),M(l),p},p.resize=function(e){var t=0|e;if(t!==u.width){p.width=u.width=t,p.height=u.height=t,ne(u);for(var r=0;r<6;++r)for(var i=0;u.mipmask>>i;++i)n.texImage2D(ke+r,i,u.format,t>>i,t>>i,0,u.format,u.type,null);return re(),l.profile&&(u.stats.size=an(u.internalformat,u.type,p.width,p.height,!1,!0)),p}},p._reglType="textureCube",p._texture=u,l.profile&&(p.stats=u.stats),p.destroy=function(){u.decRef()},p},clear:function(){for(var e=0;e<J;++e)n.activeTexture(Mt+e),n.bindTexture(Ne,null),ee[e]=null;K(Q).forEach(ie),s.cubeCount=0,s.textureCount=0},getTexture:function(e){return null},restore:function(){for(var e=0;e<J;++e){var t=ee[e];t&&(t.bindCount=0,t.unit=-1,ee[e]=null)}K(Q).forEach((function(e){e.texture=n.createTexture(),n.bindTexture(e.target,e.texture);for(var t=0;t<32;++t)if(0!=(e.mipmask&1<<t))if(e.target===Ne)n.texImage2D(Ne,t,e.internalformat,e.width>>t,e.height>>t,0,e.internalformat,e.type,null);else for(var r=0;r<6;++r)n.texImage2D(ke+r,t,e.internalformat,e.width>>t,e.height>>t,0,e.internalformat,e.type,null);X(e.texInfo,e.target)}))},refresh:function(){for(var e=0;e<J;++e){var t=ee[e];t&&(t.bindCount=0,t.unit=-1,ee[e]=null),n.activeTexture(Mt+e),n.bindTexture(Ne,null),n.bindTexture(Ie,null)}}}}qt[Be]=2,qt[Ue]=2,qt[je]=2,qt[Ve]=4,qt[Ze]=.5,qt[Qe]=.5,qt[Je]=1,qt[et]=1,qt[tt]=.5,qt[nt]=1,qt[rt]=1,qt[it]=.5,qt[ot]=.25,qt[at]=.5,qt[st]=.25,qt[lt]=.5;var ln=36161,cn=32854,un=[];function hn(e,t,n){return un[e]*t*n}un[32854]=2,un[32855]=2,un[36194]=2,un[33189]=2,un[36168]=1,un[34041]=4,un[35907]=4,un[34836]=16,un[34842]=8,un[34843]=6;var pn=36160,dn=36161,fn=3553,mn=34069,gn=36064,yn=36096,vn=36128,_n=33306,bn=36053,En=6402,Tn=[6407,6408],xn=[];xn[6408]=4,xn[6407]=3;var Sn=[];Sn[5121]=1,Sn[5126]=4,Sn[36193]=2;var Cn=33189,An=36168,Rn=34041,wn=[32854,32855,36194,35907,34842,34843,34836],Ln={};Ln[bn]="complete",Ln[36054]="incomplete attachment",Ln[36057]="incomplete dimensions",Ln[36055]="incomplete, missing attachment",Ln[36061]="unsupported";var On=5126,Nn=34962;function In(){this.state=0,this.x=0,this.y=0,this.z=0,this.w=0,this.buffer=null,this.size=0,this.normalized=!1,this.type=On,this.offset=0,this.stride=0,this.divisor=0}var kn=35632,Dn=35633,Pn=35718,Mn=35721;var Fn=6408,Hn=5121,Bn=3333,Un=5126;function jn(t,n,r,i,o,a,s){function l(l){var c;null===n.next?(R(o.preserveDrawingBuffer,'you must create a webgl context with "preserveDrawingBuffer":true in order to read pixels from the drawing buffer'),c=Hn):(R(null!==n.next.colorAttachments[0].texture,"You cannot read from a renderbuffer"),c=n.next.colorAttachments[0].texture._texture.type,a.oes_texture_float?(R(c===Hn||c===Un,"Reading from a framebuffer is only allowed for the types 'uint8' and 'float'"),c===Un&&R(s.readFloat,"Reading 'float' values is not permitted in your browser. For a fallback, please see: https://www.npmjs.com/package/glsl-read-float")):R(c===Hn,"Reading from a framebuffer is only allowed for the type 'uint8'"));var u=0,h=0,p=i.framebufferWidth,d=i.framebufferHeight,f=null;e(l)?f=l:l&&(R.type(l,"object","invalid arguments to regl.read()"),u=0|l.x,h=0|l.y,R(u>=0&&u<i.framebufferWidth,"invalid x offset for regl.read"),R(h>=0&&h<i.framebufferHeight,"invalid y offset for regl.read"),p=0|(l.width||i.framebufferWidth-u),d=0|(l.height||i.framebufferHeight-h),f=l.data||null),f&&(c===Hn?R(f instanceof Uint8Array,"buffer must be 'Uint8Array' when reading from a framebuffer of type 'uint8'"):c===Un&&R(f instanceof Float32Array,"buffer must be 'Float32Array' when reading from a framebuffer of type 'float'")),R(p>0&&p+u<=i.framebufferWidth,"invalid width for read pixels"),R(d>0&&d+h<=i.framebufferHeight,"invalid height for read pixels"),r();var m=p*d*4;return f||(c===Hn?f=new Uint8Array(m):c===Un&&(f=f||new Float32Array(m))),R.isTypedArray(f,"data buffer for regl.read() must be a typedarray"),R(f.byteLength>=m,"data buffer for regl.read() too small"),t.pixelStorei(Bn,4),t.readPixels(u,h,p,d,Fn,c,f),f}return function(e){return e&&"framebuffer"in e?function(e){var t;return n.setFBO({framebuffer:e.framebuffer},(function(){t=l(e)})),t}(e):l(e)}}function Gn(e){return Array.prototype.slice.call(e)}function Yn(e){return Gn(e).join("")}var zn="xyzw".split(""),$n=5121,Wn=1,Vn=2,Kn=0,qn=1,Xn=2,Zn=3,Qn=4,Jn=5,er=6,tr="dither",nr="blend.enable",rr="blend.color",ir="blend.equation",or="blend.func",ar="depth.enable",sr="depth.func",lr="depth.range",cr="depth.mask",ur="colorMask",hr="cull.enable",pr="cull.face",dr="frontFace",fr="lineWidth",mr="polygonOffset.enable",gr="polygonOffset.offset",yr="sample.alpha",vr="sample.enable",_r="sample.coverage",br="stencil.enable",Er="stencil.mask",Tr="stencil.func",xr="stencil.opFront",Sr="stencil.opBack",Cr="scissor.enable",Ar="scissor.box",Rr="viewport",wr="profile",Lr="framebuffer",Or="vert",Nr="frag",Ir="elements",kr="primitive",Dr="count",Pr="offset",Mr="instances",Fr="vao",Hr="Width",Br="Height",Ur=Lr+Hr,jr=Lr+Br,Gr=Rr+Hr,Yr=Rr+Br,zr="drawingBuffer",$r=zr+Hr,Wr=zr+Br,Vr=[or,ir,Tr,xr,Sr,_r,Rr,Ar,gr],Kr=34962,qr=34963,Xr=3553,Zr=34067,Qr=2884,Jr=3042,ei=3024,ti=2960,ni=2929,ri=3089,ii=32823,oi=32926,ai=32928,si=5126,li=35664,ci=35665,ui=35666,hi=5124,pi=35667,di=35668,fi=35669,mi=35670,gi=35671,yi=35672,vi=35673,_i=35674,bi=35675,Ei=35676,Ti=35678,xi=35680,Si=4,Ci=1028,Ai=1029,Ri=2304,wi=2305,Li=32775,Oi=32776,Ni=519,Ii=7680,ki=0,Di=1,Pi=32774,Mi=513,Fi=36160,Hi=36064,Bi={0:0,1:1,zero:0,one:1,"src color":768,"one minus src color":769,"src alpha":770,"one minus src alpha":771,"dst color":774,"one minus dst color":775,"dst alpha":772,"one minus dst alpha":773,"constant color":32769,"one minus constant color":32770,"constant alpha":32771,"one minus constant alpha":32772,"src alpha saturate":776},Ui=["constant color, constant alpha","one minus constant color, constant alpha","constant color, one minus constant alpha","one minus constant color, one minus constant alpha","constant alpha, constant color","constant alpha, one minus constant color","one minus constant alpha, constant color","one minus constant alpha, one minus constant color"],ji={never:512,less:513,"<":513,equal:514,"=":514,"==":514,"===":514,lequal:515,"<=":515,greater:516,">":516,notequal:517,"!=":517,"!==":517,gequal:518,">=":518,always:519},Gi={0:0,zero:0,keep:7680,replace:7681,increment:7682,decrement:7683,"increment wrap":34055,"decrement wrap":34056,invert:5386},Yi={frag:35632,vert:35633},zi={cw:Ri,ccw:wi};function $i(t){return Array.isArray(t)||e(t)||V(t)}function Wi(e){return e.sort((function(e,t){return e===Rr?-1:t===Rr?1:e<t?-1:1}))}function Vi(e,t,n,r){this.thisDep=e,this.contextDep=t,this.propDep=n,this.append=r}function Ki(e){return e&&!(e.thisDep||e.contextDep||e.propDep)}function qi(e){return new Vi(!1,!1,!1,e)}function Xi(e,t){var n=e.type;if(n===Kn){var r=e.data.length;return new Vi(!0,r>=1,r>=2,t)}if(n===Qn){var i=e.data;return new Vi(i.thisDep,i.contextDep,i.propDep,t)}if(n===Jn)return new Vi(!1,!1,!1,t);if(n===er){for(var o=!1,a=!1,s=!1,l=0;l<e.data.length;++l){var c=e.data[l];if(c.type===qn)s=!0;else if(c.type===Xn)a=!0;else if(c.type===Zn)o=!0;else if(c.type===Kn){o=!0;var u=c.data;u>=1&&(a=!0),u>=2&&(s=!0)}else c.type===Qn&&(o=o||c.data.thisDep,a=a||c.data.contextDep,s=s||c.data.propDep)}return new Vi(o,a,s,t)}return new Vi(n===Zn,n===Xn,n===qn,t)}var Zi=new Vi(!1,!1,!1,(function(){}));function Qi(e,n,r,i,o,a,s,l,c,u,h,p,d,f,m){var g=u.Record,y={add:32774,subtract:32778,"reverse subtract":32779};r.ext_blend_minmax&&(y.min=Li,y.max=Oi);var v=r.angle_instanced_arrays,_=r.webgl_draw_buffers,b={dirty:!0,profile:m.profile},E={},T=[],x={},S={};function C(e){return e.replace(".","_")}function A(e,t,n){var r=C(e);T.push(e),E[r]=b[r]=!!n,x[r]=t}function w(e,t,n){var r=C(e);T.push(e),Array.isArray(n)?(b[r]=n.slice(),E[r]=n.slice()):b[r]=E[r]=n,S[r]=t}A(tr,ei),A(nr,Jr),w(rr,"blendColor",[0,0,0,0]),w(ir,"blendEquationSeparate",[Pi,Pi]),w(or,"blendFuncSeparate",[Di,ki,Di,ki]),A(ar,ni,!0),w(sr,"depthFunc",Mi),w(lr,"depthRange",[0,1]),w(cr,"depthMask",!0),w(ur,ur,[!0,!0,!0,!0]),A(hr,Qr),w(pr,"cullFace",Ai),w(dr,dr,wi),w(fr,fr,1),A(mr,ii),w(gr,"polygonOffset",[0,0]),A(yr,oi),A(vr,ai),w(_r,"sampleCoverage",[1,!1]),A(br,ti),w(Er,"stencilMask",-1),w(Tr,"stencilFunc",[Ni,0,-1]),w(xr,"stencilOpSeparate",[Ci,Ii,Ii,Ii]),w(Sr,"stencilOpSeparate",[Ai,Ii,Ii,Ii]),A(Cr,ri),w(Ar,"scissor",[0,0,e.drawingBufferWidth,e.drawingBufferHeight]),w(Rr,Rr,[0,0,e.drawingBufferWidth,e.drawingBufferHeight]);var L={gl:e,context:d,strings:n,next:E,current:b,draw:p,elements:a,buffer:o,shader:h,attributes:u.state,vao:u,uniforms:c,framebuffer:l,extensions:r,timer:f,isBufferArgs:$i},O={primTypes:he,compareFuncs:ji,blendFuncs:Bi,blendEquations:y,stencilOps:Gi,glTypes:J,orientationType:zi};R.optional((function(){L.isArrayLike=we})),_&&(O.backBuffer=[Ai],O.drawBuffer=B(i.maxDrawbuffers,(function(e){return 0===e?[0]:B(e,(function(e){return Hi+e}))})));var N=0;function I(){var e=function(){var e=0,n=[],r=[];function i(){var n=[],r=[];return t((function(){n.push.apply(n,Gn(arguments))}),{def:function(){var t="v"+e++;return r.push(t),arguments.length>0&&(n.push(t,"="),n.push.apply(n,Gn(arguments)),n.push(";")),t},toString:function(){return Yn([r.length>0?"var "+r.join(",")+";":"",Yn(n)])}})}function o(){var e=i(),n=i(),r=e.toString,o=n.toString;function a(t,r){n(t,r,"=",e.def(t,r),";")}return t((function(){e.apply(e,Gn(arguments))}),{def:e.def,entry:e,exit:n,save:a,set:function(t,n,r){a(t,n),e(t,n,"=",r,";")},toString:function(){return r()+o()}})}var a=i(),s={};return{global:a,link:function(t){for(var i=0;i<r.length;++i)if(r[i]===t)return n[i];var o="g"+e++;return n.push(o),r.push(t),o},block:i,proc:function(e,n){var r=[];function i(){var e="a"+r.length;return r.push(e),e}n=n||0;for(var a=0;a<n;++a)i();var l=o(),c=l.toString;return s[e]=t(l,{arg:i,toString:function(){return Yn(["function(",r.join(),"){",c(),"}"])}})},scope:o,cond:function(){var e=Yn(arguments),n=o(),r=o(),i=n.toString,a=r.toString;return t(n,{then:function(){return n.apply(n,Gn(arguments)),this},else:function(){return r.apply(r,Gn(arguments)),this},toString:function(){var t=a();return t&&(t="else{"+t+"}"),Yn(["if(",e,"){",i(),"}",t])}})},compile:function(){var e=['"use strict";',a,"return {"];Object.keys(s).forEach((function(t){e.push('"',t,'":',s[t].toString(),",")})),e.push("}");var t=Yn(e).replace(/;/g,";\n").replace(/}/g,"}\n").replace(/{/g,"{\n");return Function.apply(null,n.concat(t)).apply(null,r)}}}(),r=e.link,i=e.global;e.id=N++,e.batchId="0";var o=r(L),a=e.shared={props:"a0"};Object.keys(L).forEach((function(e){a[e]=i.def(o,".",e)})),R.optional((function(){e.CHECK=r(R),e.commandStr=R.guessCommand(),e.command=r(e.commandStr),e.assert=function(e,t,n){e("if(!(",t,"))",this.CHECK,".commandRaise(",r(n),",",this.command,");")},O.invalidBlendCombinations=Ui}));var s=e.next={},l=e.current={};Object.keys(S).forEach((function(e){Array.isArray(b[e])&&(s[e]=i.def(a.next,".",e),l[e]=i.def(a.current,".",e))}));var c=e.constants={};Object.keys(O).forEach((function(e){c[e]=i.def(JSON.stringify(O[e]))})),e.invoke=function(t,n){switch(n.type){case Kn:var i=["this",a.context,a.props,e.batchId];return t.def(r(n.data),".call(",i.slice(0,Math.max(n.data.length+1,4)),")");case qn:return t.def(a.props,n.data);case Xn:return t.def(a.context,n.data);case Zn:return t.def("this",n.data);case Qn:return n.data.append(e,t),n.data.ref;case Jn:return n.data.toString();case er:return n.data.map((function(n){return e.invoke(t,n)}))}},e.attribCache={};var h={};return e.scopeAttrib=function(e){var t=n.id(e);if(t in h)return h[t];var i=u.scope[t];return i||(i=u.scope[t]=new g),h[t]=r(i)},e}function D(e,t,s,c,p){var d=e.static,f=e.dynamic;R.optional((function(){var e=[Lr,Or,Nr,Ir,kr,Pr,Dr,Mr,wr,Fr].concat(T);function t(t){Object.keys(t).forEach((function(t){R.command(e.indexOf(t)>=0,'unknown parameter "'+t+'"',p.commandStr)}))}t(d),t(f)}));var m=function(e,t){var n=e.static;if("string"==typeof n[Nr]&&"string"==typeof n[Or]){if(Object.keys(t.dynamic).length>0)return null;var r=t.static,i=Object.keys(r);if(i.length>0&&"number"==typeof r[i[0]]){for(var o=[],a=0;a<i.length;++a)R("number"==typeof r[i[a]],"must specify all vertex attribute locations when using vaos"),o.push([0|r[i[a]],i[a]]);return o}}return null}(e,t),_=function(e,t){var n=e.static,r=e.dynamic;if(Lr in n){var i=n[Lr];return i?(i=l.getFramebuffer(i),R.command(i,"invalid framebuffer object"),qi((function(e,t){var n=e.link(i),r=e.shared;t.set(r.framebuffer,".next",n);var o=r.context;return t.set(o,"."+Ur,n+".width"),t.set(o,"."+jr,n+".height"),n}))):qi((function(e,t){var n=e.shared;t.set(n.framebuffer,".next","null");var r=n.context;return t.set(r,"."+Ur,r+"."+$r),t.set(r,"."+jr,r+"."+Wr),"null"}))}if(Lr in r){var o=r[Lr];return Xi(o,(function(e,t){var n=e.invoke(t,o),r=e.shared,i=r.framebuffer,a=t.def(i,".getFramebuffer(",n,")");R.optional((function(){e.assert(t,"!"+n+"||"+a,"invalid framebuffer object")})),t.set(i,".next",a);var s=r.context;return t.set(s,"."+Ur,a+"?"+a+".width:"+s+"."+$r),t.set(s,"."+jr,a+"?"+a+".height:"+s+"."+Wr),a}))}return null}(e),b=function(e,t,n){var r=e.static,i=e.dynamic;function o(e){if(e in r){var o=r[e];R.commandType(o,"object","invalid "+e,n.commandStr);var a,s,l=!0,c=0|o.x,u=0|o.y;return"width"in o?(a=0|o.width,R.command(a>=0,"invalid "+e,n.commandStr)):l=!1,"height"in o?(s=0|o.height,R.command(s>=0,"invalid "+e,n.commandStr)):l=!1,new Vi(!l&&t&&t.thisDep,!l&&t&&t.contextDep,!l&&t&&t.propDep,(function(e,t){var n=e.shared.context,r=a;"width"in o||(r=t.def(n,".",Ur,"-",c));var i=s;return"height"in o||(i=t.def(n,".",jr,"-",u)),[c,u,r,i]}))}if(e in i){var h=i[e],p=Xi(h,(function(t,n){var r=t.invoke(n,h);R.optional((function(){t.assert(n,r+"&&typeof "+r+'==="object"',"invalid "+e)}));var i=t.shared.context,o=n.def(r,".x|0"),a=n.def(r,".y|0"),s=n.def('"width" in ',r,"?",r,".width|0:","(",i,".",Ur,"-",o,")"),l=n.def('"height" in ',r,"?",r,".height|0:","(",i,".",jr,"-",a,")");return R.optional((function(){t.assert(n,s+">=0&&"+l+">=0","invalid "+e)})),[o,a,s,l]}));return t&&(p.thisDep=p.thisDep||t.thisDep,p.contextDep=p.contextDep||t.contextDep,p.propDep=p.propDep||t.propDep),p}return t?new Vi(t.thisDep,t.contextDep,t.propDep,(function(e,t){var n=e.shared.context;return[0,0,t.def(n,".",Ur),t.def(n,".",jr)]})):null}var a=o(Rr);if(a){var s=a;a=new Vi(a.thisDep,a.contextDep,a.propDep,(function(e,t){var n=s.append(e,t),r=e.shared.context;return t.set(r,"."+Gr,n[2]),t.set(r,"."+Yr,n[3]),n}))}return{viewport:a,scissor_box:o(Ar)}}(e,_,p),E=function(e,t){var n=e.static,r=e.dynamic,i=function(){if(Ir in n){var e=n[Ir];$i(e)?e=a.getElements(a.create(e,!0)):e&&(e=a.getElements(e),R.command(e,"invalid elements",t.commandStr));var i=qi((function(t,n){if(e){var r=t.link(e);return t.ELEMENTS=r,r}return t.ELEMENTS=null,null}));return i.value=e,i}if(Ir in r){var o=r[Ir];return Xi(o,(function(e,t){var n=e.shared,r=n.isBufferArgs,i=n.elements,a=e.invoke(t,o),s=t.def("null"),l=t.def(r,"(",a,")"),c=e.cond(l).then(s,"=",i,".createStream(",a,");").else(s,"=",i,".getElements(",a,");");return R.optional((function(){e.assert(c.else,"!"+a+"||"+s,"invalid elements")})),t.entry(c),t.exit(e.cond(l).then(i,".destroyStream(",s,");")),e.ELEMENTS=s,s}))}return null}();function o(e,o){if(e in n){var a=0|n[e];return R.command(!o||a>=0,"invalid "+e,t.commandStr),qi((function(e,t){return o&&(e.OFFSET=a),a}))}if(e in r){var s=r[e];return Xi(s,(function(t,n){var r=t.invoke(n,s);return o&&(t.OFFSET=r,R.optional((function(){t.assert(n,r+">=0","invalid "+e)}))),r}))}return o&&i?qi((function(e,t){return e.OFFSET="0",0})):null}var s=o(Pr,!0);return{elements:i,primitive:function(){if(kr in n){var e=n[kr];return R.commandParameter(e,he,"invalid primitve",t.commandStr),qi((function(t,n){return he[e]}))}if(kr in r){var o=r[kr];return Xi(o,(function(e,t){var n=e.constants.primTypes,r=e.invoke(t,o);return R.optional((function(){e.assert(t,r+" in "+n,"invalid primitive, must be one of "+Object.keys(he))})),t.def(n,"[",r,"]")}))}return i?Ki(i)?i.value?qi((function(e,t){return t.def(e.ELEMENTS,".primType")})):qi((function(){return Si})):new Vi(i.thisDep,i.contextDep,i.propDep,(function(e,t){var n=e.ELEMENTS;return t.def(n,"?",n,".primType:",Si)})):null}(),count:function(){if(Dr in n){var e=0|n[Dr];return R.command("number"==typeof e&&e>=0,"invalid vertex count",t.commandStr),qi((function(){return e}))}if(Dr in r){var o=r[Dr];return Xi(o,(function(e,t){var n=e.invoke(t,o);return R.optional((function(){e.assert(t,"typeof "+n+'==="number"&&'+n+">=0&&"+n+"===("+n+"|0)","invalid vertex count")})),n}))}if(i){if(Ki(i)){if(i)return s?new Vi(s.thisDep,s.contextDep,s.propDep,(function(e,t){var n=t.def(e.ELEMENTS,".vertCount-",e.OFFSET);return R.optional((function(){e.assert(t,n+">=0","invalid vertex offset/element buffer too small")})),n})):qi((function(e,t){return t.def(e.ELEMENTS,".vertCount")}));var a=qi((function(){return-1}));return R.optional((function(){a.MISSING=!0})),a}var l=new Vi(i.thisDep||s.thisDep,i.contextDep||s.contextDep,i.propDep||s.propDep,(function(e,t){var n=e.ELEMENTS;return e.OFFSET?t.def(n,"?",n,".vertCount-",e.OFFSET,":-1"):t.def(n,"?",n,".vertCount:-1")}));return R.optional((function(){l.DYNAMIC=!0})),l}return null}(),instances:o(Mr,!1),offset:s}}(e,p),x=function(e,t){var n=e.static,r=e.dynamic,o={};return T.forEach((function(e){var a=C(e);function s(t,i){if(e in n){var s=t(n[e]);o[a]=qi((function(){return s}))}else if(e in r){var l=r[e];o[a]=Xi(l,(function(e,t){return i(e,t,e.invoke(t,l))}))}}switch(e){case hr:case nr:case tr:case br:case ar:case Cr:case mr:case yr:case vr:case cr:return s((function(n){return R.commandType(n,"boolean",e,t.commandStr),n}),(function(t,n,r){return R.optional((function(){t.assert(n,"typeof "+r+'==="boolean"',"invalid flag "+e,t.commandStr)})),r}));case sr:return s((function(n){return R.commandParameter(n,ji,"invalid "+e,t.commandStr),ji[n]}),(function(t,n,r){var i=t.constants.compareFuncs;return R.optional((function(){t.assert(n,r+" in "+i,"invalid "+e+", must be one of "+Object.keys(ji))})),n.def(i,"[",r,"]")}));case lr:return s((function(e){return R.command(we(e)&&2===e.length&&"number"==typeof e[0]&&"number"==typeof e[1]&&e[0]<=e[1],"depth range is 2d array",t.commandStr),e}),(function(e,t,n){return R.optional((function(){e.assert(t,e.shared.isArrayLike+"("+n+")&&"+n+".length===2&&typeof "+n+'[0]==="number"&&typeof '+n+'[1]==="number"&&'+n+"[0]<="+n+"[1]","depth range must be a 2d array")})),[t.def("+",n,"[0]"),t.def("+",n,"[1]")]}));case or:return s((function(e){R.commandType(e,"object","blend.func",t.commandStr);var n="srcRGB"in e?e.srcRGB:e.src,r="srcAlpha"in e?e.srcAlpha:e.src,i="dstRGB"in e?e.dstRGB:e.dst,o="dstAlpha"in e?e.dstAlpha:e.dst;return R.commandParameter(n,Bi,a+".srcRGB",t.commandStr),R.commandParameter(r,Bi,a+".srcAlpha",t.commandStr),R.commandParameter(i,Bi,a+".dstRGB",t.commandStr),R.commandParameter(o,Bi,a+".dstAlpha",t.commandStr),R.command(-1===Ui.indexOf(n+", "+i),"unallowed blending combination (srcRGB, dstRGB) = ("+n+", "+i+")",t.commandStr),[Bi[n],Bi[i],Bi[r],Bi[o]]}),(function(t,n,r){var i=t.constants.blendFuncs;function o(o,a){var s=n.def('"',o,a,'" in ',r,"?",r,".",o,a,":",r,".",o);return R.optional((function(){t.assert(n,s+" in "+i,"invalid "+e+"."+o+a+", must be one of "+Object.keys(Bi))})),s}R.optional((function(){t.assert(n,r+"&&typeof "+r+'==="object"',"invalid blend func, must be an object")}));var a=o("src","RGB"),s=o("dst","RGB");R.optional((function(){var e=t.constants.invalidBlendCombinations;t.assert(n,e+".indexOf("+a+'+", "+'+s+") === -1 ","unallowed blending combination for (srcRGB, dstRGB)")}));var l=n.def(i,"[",a,"]"),c=n.def(i,"[",o("src","Alpha"),"]");return[l,n.def(i,"[",s,"]"),c,n.def(i,"[",o("dst","Alpha"),"]")]}));case ir:return s((function(n){return"string"==typeof n?(R.commandParameter(n,y,"invalid "+e,t.commandStr),[y[n],y[n]]):"object"==typeof n?(R.commandParameter(n.rgb,y,e+".rgb",t.commandStr),R.commandParameter(n.alpha,y,e+".alpha",t.commandStr),[y[n.rgb],y[n.alpha]]):void R.commandRaise("invalid blend.equation",t.commandStr)}),(function(t,n,r){var i=t.constants.blendEquations,o=n.def(),a=n.def(),s=t.cond("typeof ",r,'==="string"');return R.optional((function(){function n(e,n,r){t.assert(e,r+" in "+i,"invalid "+n+", must be one of "+Object.keys(y))}n(s.then,e,r),t.assert(s.else,r+"&&typeof "+r+'==="object"',"invalid "+e),n(s.else,e+".rgb",r+".rgb"),n(s.else,e+".alpha",r+".alpha")})),s.then(o,"=",a,"=",i,"[",r,"];"),s.else(o,"=",i,"[",r,".rgb];",a,"=",i,"[",r,".alpha];"),n(s),[o,a]}));case rr:return s((function(e){return R.command(we(e)&&4===e.length,"blend.color must be a 4d array",t.commandStr),B(4,(function(t){return+e[t]}))}),(function(e,t,n){return R.optional((function(){e.assert(t,e.shared.isArrayLike+"("+n+")&&"+n+".length===4","blend.color must be a 4d array")})),B(4,(function(e){return t.def("+",n,"[",e,"]")}))}));case Er:return s((function(e){return R.commandType(e,"number",a,t.commandStr),0|e}),(function(e,t,n){return R.optional((function(){e.assert(t,"typeof "+n+'==="number"',"invalid stencil.mask")})),t.def(n,"|0")}));case Tr:return s((function(n){R.commandType(n,"object",a,t.commandStr);var r=n.cmp||"keep",i=n.ref||0,o="mask"in n?n.mask:-1;return R.commandParameter(r,ji,e+".cmp",t.commandStr),R.commandType(i,"number",e+".ref",t.commandStr),R.commandType(o,"number",e+".mask",t.commandStr),[ji[r],i,o]}),(function(e,t,n){var r=e.constants.compareFuncs;return R.optional((function(){function i(){e.assert(t,Array.prototype.join.call(arguments,""),"invalid stencil.func")}i(n+"&&typeof ",n,'==="object"'),i('!("cmp" in ',n,")||(",n,".cmp in ",r,")")})),[t.def('"cmp" in ',n,"?",r,"[",n,".cmp]",":",Ii),t.def(n,".ref|0"),t.def('"mask" in ',n,"?",n,".mask|0:-1")]}));case xr:case Sr:return s((function(n){R.commandType(n,"object",a,t.commandStr);var r=n.fail||"keep",i=n.zfail||"keep",o=n.zpass||"keep";return R.commandParameter(r,Gi,e+".fail",t.commandStr),R.commandParameter(i,Gi,e+".zfail",t.commandStr),R.commandParameter(o,Gi,e+".zpass",t.commandStr),[e===Sr?Ai:Ci,Gi[r],Gi[i],Gi[o]]}),(function(t,n,r){var i=t.constants.stencilOps;function o(o){return R.optional((function(){t.assert(n,'!("'+o+'" in '+r+")||("+r+"."+o+" in "+i+")","invalid "+e+"."+o+", must be one of "+Object.keys(Gi))})),n.def('"',o,'" in ',r,"?",i,"[",r,".",o,"]:",Ii)}return R.optional((function(){t.assert(n,r+"&&typeof "+r+'==="object"',"invalid "+e)})),[e===Sr?Ai:Ci,o("fail"),o("zfail"),o("zpass")]}));case gr:return s((function(e){R.commandType(e,"object",a,t.commandStr);var n=0|e.factor,r=0|e.units;return R.commandType(n,"number",a+".factor",t.commandStr),R.commandType(r,"number",a+".units",t.commandStr),[n,r]}),(function(t,n,r){return R.optional((function(){t.assert(n,r+"&&typeof "+r+'==="object"',"invalid "+e)})),[n.def(r,".factor|0"),n.def(r,".units|0")]}));case pr:return s((function(e){var n=0;return"front"===e?n=Ci:"back"===e&&(n=Ai),R.command(!!n,a,t.commandStr),n}),(function(e,t,n){return R.optional((function(){e.assert(t,n+'==="front"||'+n+'==="back"',"invalid cull.face")})),t.def(n,'==="front"?',Ci,":",Ai)}));case fr:return s((function(e){return R.command("number"==typeof e&&e>=i.lineWidthDims[0]&&e<=i.lineWidthDims[1],"invalid line width, must be a positive number between "+i.lineWidthDims[0]+" and "+i.lineWidthDims[1],t.commandStr),e}),(function(e,t,n){return R.optional((function(){e.assert(t,"typeof "+n+'==="number"&&'+n+">="+i.lineWidthDims[0]+"&&"+n+"<="+i.lineWidthDims[1],"invalid line width")})),n}));case dr:return s((function(e){return R.commandParameter(e,zi,a,t.commandStr),zi[e]}),(function(e,t,n){return R.optional((function(){e.assert(t,n+'==="cw"||'+n+'==="ccw"',"invalid frontFace, must be one of cw,ccw")})),t.def(n+'==="cw"?'+Ri+":"+wi)}));case ur:return s((function(e){return R.command(we(e)&&4===e.length,"color.mask must be length 4 array",t.commandStr),e.map((function(e){return!!e}))}),(function(e,t,n){return R.optional((function(){e.assert(t,e.shared.isArrayLike+"("+n+")&&"+n+".length===4","invalid color.mask")})),B(4,(function(e){return"!!"+n+"["+e+"]"}))}));case _r:return s((function(e){R.command("object"==typeof e&&e,a,t.commandStr);var n="value"in e?e.value:1,r=!!e.invert;return R.command("number"==typeof n&&n>=0&&n<=1,"sample.coverage.value must be a number between 0 and 1",t.commandStr),[n,r]}),(function(e,t,n){return R.optional((function(){e.assert(t,n+"&&typeof "+n+'==="object"',"invalid sample.coverage")})),[t.def('"value" in ',n,"?+",n,".value:1"),t.def("!!",n,".invert")]}))}})),o}(e,p),S=function(e,t,r){var i=e.static,o=e.dynamic;function a(e){if(e in i){var t=n.id(i[e]);R.optional((function(){h.shader(Yi[e],t,R.guessCommand())}));var r=qi((function(){return t}));return r.id=t,r}if(e in o){var a=o[e];return Xi(a,(function(t,n){var r=t.invoke(n,a),i=n.def(t.shared.strings,".id(",r,")");return R.optional((function(){n(t.shared.shader,".shader(",Yi[e],",",i,",",t.command,");")})),i}))}return null}var s,l=a(Nr),c=a(Or),u=null;return Ki(l)&&Ki(c)?(u=h.program(c.id,l.id,null,r),s=qi((function(e,t){return e.link(u)}))):s=new Vi(l&&l.thisDep||c&&c.thisDep,l&&l.contextDep||c&&c.contextDep,l&&l.propDep||c&&c.propDep,(function(e,t){var n,r=e.shared.shader;n=l?l.append(e,t):t.def(r,".",Nr);var i=r+".program("+(c?c.append(e,t):t.def(r,".",Or))+","+n;return R.optional((function(){i+=","+e.command})),t.def(i+")")})),{frag:l,vert:c,progVar:s,program:u}}(e,0,m);function A(e){var t=b[e];t&&(x[e]=t)}A(Rr),A(C(Ar));var w=Object.keys(x).length>0,L={framebuffer:_,draw:E,shader:S,state:x,dirty:w,scopeVAO:null,drawVAO:null,useVAO:!1,attributes:{}};if(L.profile=function(e){var t,n=e.static,r=e.dynamic;if(wr in n){var i=!!n[wr];(t=qi((function(e,t){return i}))).enable=i}else if(wr in r){var o=r[wr];t=Xi(o,(function(e,t){return e.invoke(t,o)}))}return t}(e),L.uniforms=function(e,t){var n=e.static,r=e.dynamic,i={};return Object.keys(n).forEach((function(e){var r,o=n[e];if("number"==typeof o||"boolean"==typeof o)r=qi((function(){return o}));else if("function"==typeof o){var a=o._reglType;"texture2d"===a||"textureCube"===a?r=qi((function(e){return e.link(o)})):"framebuffer"===a||"framebufferCube"===a?(R.command(o.color.length>0,'missing color attachment for framebuffer sent to uniform "'+e+'"',t.commandStr),r=qi((function(e){return e.link(o.color[0])}))):R.commandRaise('invalid data for uniform "'+e+'"',t.commandStr)}else we(o)?r=qi((function(t){return t.global.def("[",B(o.length,(function(n){return R.command("number"==typeof o[n]||"boolean"==typeof o[n],"invalid uniform "+e,t.commandStr),o[n]})),"]")})):R.commandRaise('invalid or missing data for uniform "'+e+'"',t.commandStr);r.value=o,i[e]=r})),Object.keys(r).forEach((function(e){var t=r[e];i[e]=Xi(t,(function(e,n){return e.invoke(n,t)}))})),i}(s,p),L.drawVAO=L.scopeVAO=function(e,t){var n=e.static,r=e.dynamic;if(Fr in n){var i=n[Fr];return null!==i&&null===u.getVAO(i)&&(i=u.createVAO(i)),qi((function(e){return e.link(u.getVAO(i))}))}if(Fr in r){var o=r[Fr];return Xi(o,(function(e,t){var n=e.invoke(t,o);return t.def(e.shared.vao+".getVAO("+n+")")}))}return null}(e),!L.drawVAO&&S.program&&!m&&r.angle_instanced_arrays){var O=!0,N=S.program.attributes.map((function(e){var n=t.static[e];return O=O&&!!n,n}));if(O&&N.length>0){var I=u.getVAO(u.createVAO(N));L.drawVAO=new Vi(null,null,null,(function(e,t){return e.link(I)})),L.useVAO=!0}}return m?L.useVAO=!0:L.attributes=function(e,t){var r=e.static,i=e.dynamic,a={};return Object.keys(r).forEach((function(e){var i=r[e],s=n.id(e),l=new g;if($i(i))l.state=Wn,l.buffer=o.getBuffer(o.create(i,Kr,!1,!0)),l.type=0;else{var c=o.getBuffer(i);if(c)l.state=Wn,l.buffer=c,l.type=0;else if(R.command("object"==typeof i&&i,"invalid data for attribute "+e,t.commandStr),"constant"in i){var u=i.constant;l.buffer="null",l.state=Vn,"number"==typeof u?l.x=u:(R.command(we(u)&&u.length>0&&u.length<=4,"invalid constant for attribute "+e,t.commandStr),zn.forEach((function(e,t){t<u.length&&(l[e]=u[t])})))}else{c=$i(i.buffer)?o.getBuffer(o.create(i.buffer,Kr,!1,!0)):o.getBuffer(i.buffer),R.command(!!c,'missing buffer for attribute "'+e+'"',t.commandStr);var h=0|i.offset;R.command(h>=0,'invalid offset for attribute "'+e+'"',t.commandStr);var p=0|i.stride;R.command(p>=0&&p<256,'invalid stride for attribute "'+e+'", must be integer betweeen [0, 255]',t.commandStr);var d=0|i.size;R.command(!("size"in i)||d>0&&d<=4,'invalid size for attribute "'+e+'", must be 1,2,3,4',t.commandStr);var f=!!i.normalized,m=0;"type"in i&&(R.commandParameter(i.type,J,"invalid type for attribute "+e,t.commandStr),m=J[i.type]);var y=0|i.divisor;"divisor"in i&&(R.command(0===y||v,'cannot specify divisor for attribute "'+e+'", instancing not supported',t.commandStr),R.command(y>=0,'invalid divisor for attribute "'+e+'"',t.commandStr)),R.optional((function(){var n=t.commandStr,r=["buffer","offset","divisor","normalized","type","size","stride"];Object.keys(i).forEach((function(t){R.command(r.indexOf(t)>=0,'unknown parameter "'+t+'" for attribute pointer "'+e+'" (valid parameters are '+r+")",n)}))})),l.buffer=c,l.state=Wn,l.size=d,l.normalized=f,l.type=m||c.dtype,l.offset=h,l.stride=p,l.divisor=y}}a[e]=qi((function(e,t){var n=e.attribCache;if(s in n)return n[s];var r={isStream:!1};return Object.keys(l).forEach((function(e){r[e]=l[e]})),l.buffer&&(r.buffer=e.link(l.buffer),r.type=r.type||r.buffer+".dtype"),n[s]=r,r}))})),Object.keys(i).forEach((function(e){var t=i[e];a[e]=Xi(t,(function(n,r){var i=n.invoke(r,t),o=n.shared,a=n.constants,s=o.isBufferArgs,l=o.buffer;R.optional((function(){n.assert(r,i+"&&(typeof "+i+'==="object"||typeof '+i+'==="function")&&('+s+"("+i+")||"+l+".getBuffer("+i+")||"+l+".getBuffer("+i+".buffer)||"+s+"("+i+'.buffer)||("constant" in '+i+"&&(typeof "+i+'.constant==="number"||'+o.isArrayLike+"("+i+".constant))))",'invalid dynamic attribute "'+e+'"')}));var c={isStream:r.def(!1)},u=new g;u.state=Wn,Object.keys(u).forEach((function(e){c[e]=r.def(""+u[e])}));var h=c.buffer,p=c.type;function d(e){r(c[e],"=",i,".",e,"|0;")}return r("if(",s,"(",i,")){",c.isStream,"=true;",h,"=",l,".createStream(",Kr,",",i,");",p,"=",h,".dtype;","}else{",h,"=",l,".getBuffer(",i,");","if(",h,"){",p,"=",h,".dtype;",'}else if("constant" in ',i,"){",c.state,"=",Vn,";","if(typeof "+i+'.constant === "number"){',c[zn[0]],"=",i,".constant;",zn.slice(1).map((function(e){return c[e]})).join("="),"=0;","}else{",zn.map((function(e,t){return c[e]+"="+i+".constant.length>"+t+"?"+i+".constant["+t+"]:0;"})).join(""),"}}else{","if(",s,"(",i,".buffer)){",h,"=",l,".createStream(",Kr,",",i,".buffer);","}else{",h,"=",l,".getBuffer(",i,".buffer);","}",p,'="type" in ',i,"?",a.glTypes,"[",i,".type]:",h,".dtype;",c.normalized,"=!!",i,".normalized;"),d("size"),d("offset"),d("stride"),d("divisor"),r("}}"),r.exit("if(",c.isStream,"){",l,".destroyStream(",h,");","}"),c}))})),a}(t,p),L.context=function(e){var t=e.static,n=e.dynamic,r={};return Object.keys(t).forEach((function(e){var n=t[e];r[e]=qi((function(e,t){return"number"==typeof n||"boolean"==typeof n?""+n:e.link(n)}))})),Object.keys(n).forEach((function(e){var t=n[e];r[e]=Xi(t,(function(e,n){return e.invoke(n,t)}))})),r}(c),L}function P(e,t,n){var r=e.shared.context,i=e.scope();Object.keys(n).forEach((function(o){t.save(r,"."+o);var a=n[o].append(e,t);Array.isArray(a)?i(r,".",o,"=[",a.join(),"];"):i(r,".",o,"=",a,";")})),t(i)}function M(e,t,n,r){var i,o=e.shared,a=o.gl,s=o.framebuffer;_&&(i=t.def(o.extensions,".webgl_draw_buffers"));var l,c=e.constants,u=c.drawBuffer,h=c.backBuffer;l=n?n.append(e,t):t.def(s,".next"),r||t("if(",l,"!==",s,".cur){"),t("if(",l,"){",a,".bindFramebuffer(",Fi,",",l,".framebuffer);"),_&&t(i,".drawBuffersWEBGL(",u,"[",l,".colorAttachments.length]);"),t("}else{",a,".bindFramebuffer(",Fi,",null);"),_&&t(i,".drawBuffersWEBGL(",h,");"),t("}",s,".cur=",l,";"),r||t("}")}function F(e,t,n){var r=e.shared,i=r.gl,o=e.current,a=e.next,s=r.current,l=r.next,c=e.cond(s,".dirty");T.forEach((function(t){var r,u,h=C(t);if(!(h in n.state))if(h in a){r=a[h],u=o[h];var p=B(b[h].length,(function(e){return c.def(r,"[",e,"]")}));c(e.cond(p.map((function(e,t){return e+"!=="+u+"["+t+"]"})).join("||")).then(i,".",S[h],"(",p,");",p.map((function(e,t){return u+"["+t+"]="+e})).join(";"),";"))}else{r=c.def(l,".",h);var d=e.cond(r,"!==",s,".",h);c(d),h in x?d(e.cond(r).then(i,".enable(",x[h],");").else(i,".disable(",x[h],");"),s,".",h,"=",r,";"):d(i,".",S[h],"(",r,");",s,".",h,"=",r,";")}})),0===Object.keys(n.state).length&&c(s,".dirty=false;"),t(c)}function H(e,t,n,r){var i=e.shared,o=e.current,a=i.current,s=i.gl;Wi(Object.keys(n)).forEach((function(i){var l=n[i];if(!r||r(l)){var c=l.append(e,t);if(x[i]){var u=x[i];Ki(l)?t(s,c?".enable(":".disable(",u,");"):t(e.cond(c).then(s,".enable(",u,");").else(s,".disable(",u,");")),t(a,".",i,"=",c,";")}else if(we(c)){var h=o[i];t(s,".",S[i],"(",c,");",c.map((function(e,t){return h+"["+t+"]="+e})).join(";"),";")}else t(s,".",S[i],"(",c,");",a,".",i,"=",c,";")}}))}function U(e,t){v&&(e.instancing=t.def(e.shared.extensions,".angle_instanced_arrays"))}function j(e,t,n,r,i){var o,a,s,l=e.shared,c=e.stats,u=l.current,h=l.timer,p=n.profile;function d(){return"undefined"==typeof performance?"Date.now()":"performance.now()"}function m(e){e(o=t.def(),"=",d(),";"),"string"==typeof i?e(c,".count+=",i,";"):e(c,".count++;"),f&&(r?e(a=t.def(),"=",h,".getNumPendingQueries();"):e(h,".beginQuery(",c,");"))}function g(e){e(c,".cpuTime+=",d(),"-",o,";"),f&&(r?e(h,".pushScopeStats(",a,",",h,".getNumPendingQueries(),",c,");"):e(h,".endQuery();"))}function y(e){var n=t.def(u,".profile");t(u,".profile=",e,";"),t.exit(u,".profile=",n,";")}if(p){if(Ki(p))return void(p.enable?(m(t),g(t.exit),y("true")):y("false"));y(s=p.append(e,t))}else s=t.def(u,".profile");var v=e.block();m(v),t("if(",s,"){",v,"}");var _=e.block();g(_),t.exit("if(",s,"){",_,"}")}function G(e,t,n,r,i){var o=e.shared;r.forEach((function(r){var a,s=r.name,l=n.attributes[s];if(l){if(!i(l))return;a=l.append(e,t)}else{if(!i(Zi))return;var c=e.scopeAttrib(s);R.optional((function(){e.assert(t,c+".state","missing attribute "+s)})),a={},Object.keys(new g).forEach((function(e){a[e]=t.def(c,".",e)}))}!function(n,r,i){var a=o.gl,s=t.def(n,".location"),l=t.def(o.attributes,"[",s,"]"),c=i.state,u=i.buffer,h=[i.x,i.y,i.z,i.w],p=["buffer","normalized","offset","stride"];function d(){t("if(!",l,".buffer){",a,".enableVertexAttribArray(",s,");}");var n,o=i.type;if(n=i.size?t.def(i.size,"||",r):r,t("if(",l,".type!==",o,"||",l,".size!==",n,"||",p.map((function(e){return l+"."+e+"!=="+i[e]})).join("||"),"){",a,".bindBuffer(",Kr,",",u,".buffer);",a,".vertexAttribPointer(",[s,n,o,i.normalized,i.stride,i.offset],");",l,".type=",o,";",l,".size=",n,";",p.map((function(e){return l+"."+e+"="+i[e]+";"})).join(""),"}"),v){var c=i.divisor;t("if(",l,".divisor!==",c,"){",e.instancing,".vertexAttribDivisorANGLE(",[s,c],");",l,".divisor=",c,";}")}}function f(){t("if(",l,".buffer){",a,".disableVertexAttribArray(",s,");",l,".buffer=null;","}if(",zn.map((function(e,t){return l+"."+e+"!=="+h[t]})).join("||"),"){",a,".vertexAttrib4f(",s,",",h,");",zn.map((function(e,t){return l+"."+e+"="+h[t]+";"})).join(""),"}")}c===Wn?d():c===Vn?f():(t("if(",c,"===",Wn,"){"),d(),t("}else{"),f(),t("}"))}(e.link(r),function(e){switch(e){case li:case pi:case gi:return 2;case ci:case di:case yi:return 3;case ui:case fi:case vi:return 4;default:return 1}}(r.info.type),a)}))}function Y(e,t,r,i,o){for(var a,s=e.shared,l=s.gl,c=0;c<i.length;++c){var u,h=i[c],p=h.name,d=h.info.type,f=r.uniforms[p],m=e.link(h)+".location";if(f){if(!o(f))continue;if(Ki(f)){var g=f.value;if(R.command(null!=g,'missing uniform "'+p+'"',e.commandStr),d===Ti||d===xi){R.command("function"==typeof g&&(d===Ti&&("texture2d"===g._reglType||"framebuffer"===g._reglType)||d===xi&&("textureCube"===g._reglType||"framebufferCube"===g._reglType)),"invalid texture for uniform "+p,e.commandStr);var y=e.link(g._texture||g.color[0]._texture);t(l,".uniform1i(",m,",",y+".bind());"),t.exit(y,".unbind();")}else if(d===_i||d===bi||d===Ei){R.optional((function(){R.command(we(g),"invalid matrix for uniform "+p,e.commandStr),R.command(d===_i&&4===g.length||d===bi&&9===g.length||d===Ei&&16===g.length,"invalid length for matrix uniform "+p,e.commandStr)}));var v=e.global.def("new Float32Array(["+Array.prototype.slice.call(g)+"])"),_=2;d===bi?_=3:d===Ei&&(_=4),t(l,".uniformMatrix",_,"fv(",m,",false,",v,");")}else{switch(d){case si:R.commandType(g,"number","uniform "+p,e.commandStr),a="1f";break;case li:R.command(we(g)&&2===g.length,"uniform "+p,e.commandStr),a="2f";break;case ci:R.command(we(g)&&3===g.length,"uniform "+p,e.commandStr),a="3f";break;case ui:R.command(we(g)&&4===g.length,"uniform "+p,e.commandStr),a="4f";break;case mi:R.commandType(g,"boolean","uniform "+p,e.commandStr),a="1i";break;case hi:R.commandType(g,"number","uniform "+p,e.commandStr),a="1i";break;case gi:case pi:R.command(we(g)&&2===g.length,"uniform "+p,e.commandStr),a="2i";break;case yi:case di:R.command(we(g)&&3===g.length,"uniform "+p,e.commandStr),a="3i";break;case vi:case fi:R.command(we(g)&&4===g.length,"uniform "+p,e.commandStr),a="4i"}t(l,".uniform",a,"(",m,",",we(g)?Array.prototype.slice.call(g):g,");")}continue}u=f.append(e,t)}else{if(!o(Zi))continue;u=t.def(s.uniforms,"[",n.id(p),"]")}d===Ti?(R(!Array.isArray(u),"must specify a scalar prop for textures"),t("if(",u,"&&",u,'._reglType==="framebuffer"){',u,"=",u,".color[0];","}")):d===xi&&(R(!Array.isArray(u),"must specify a scalar prop for cube maps"),t("if(",u,"&&",u,'._reglType==="framebufferCube"){',u,"=",u,".color[0];","}")),R.optional((function(){function n(n,r){e.assert(t,n,'bad data or missing for uniform "'+p+'". '+r)}function r(e){R(!Array.isArray(u),"must not specify an array type for uniform"),n("typeof "+u+'==="'+e+'"',"invalid type, expected "+e)}function i(t,r){Array.isArray(u)?R(u.length===t,"must have length "+t):n(s.isArrayLike+"("+u+")&&"+u+".length==="+t,"invalid vector, should have length "+t,e.commandStr)}function o(t){R(!Array.isArray(u),"must not specify a value type"),n("typeof "+u+'==="function"&&'+u+'._reglType==="texture'+(t===Xr?"2d":"Cube")+'"',"invalid texture type",e.commandStr)}switch(d){case hi:r("number");break;case pi:i(2);break;case di:i(3);break;case fi:i(4);break;case si:r("number");break;case li:i(2);break;case ci:i(3);break;case ui:i(4);break;case mi:r("boolean");break;case gi:i(2);break;case yi:i(3);break;case vi:case _i:i(4);break;case bi:i(9);break;case Ei:i(16);break;case Ti:o(Xr);break;case xi:o(Zr)}}));var b=1;switch(d){case Ti:case xi:var E=t.def(u,"._texture");t(l,".uniform1i(",m,",",E,".bind());"),t.exit(E,".unbind();");continue;case hi:case mi:a="1i";break;case pi:case gi:a="2i",b=2;break;case di:case yi:a="3i",b=3;break;case fi:case vi:a="4i",b=4;break;case si:a="1f";break;case li:a="2f",b=2;break;case ci:a="3f",b=3;break;case ui:a="4f",b=4;break;case _i:a="Matrix2fv";break;case bi:a="Matrix3fv";break;case Ei:a="Matrix4fv"}if(t(l,".uniform",a,"(",m,","),"M"===a.charAt(0)){var T=Math.pow(d-_i+2,2),x=e.global.def("new Float32Array(",T,")");Array.isArray(u)?t("false,(",B(T,(function(e){return x+"["+e+"]="+u[e]})),",",x,")"):t("false,(Array.isArray(",u,")||",u," instanceof Float32Array)?",u,":(",B(T,(function(e){return x+"["+e+"]="+u+"["+e+"]"})),",",x,")")}else b>1?t(B(b,(function(e){return Array.isArray(u)?u[e]:u+"["+e+"]"}))):(R(!Array.isArray(u),"uniform value must not be an array"),t(u));t(");")}}function z(e,t,n,r){var i=e.shared,o=i.gl,a=i.draw,s=r.draw;var l=function(){var i,l=s.elements,c=t;return l?((l.contextDep&&r.contextDynamic||l.propDep)&&(c=n),i=l.append(e,c)):i=c.def(a,".",Ir),i&&c("if("+i+")"+o+".bindBuffer("+qr+","+i+".buffer.buffer);"),i}();function c(i){var o=s[i];return o?o.contextDep&&r.contextDynamic||o.propDep?o.append(e,n):o.append(e,t):t.def(a,".",i)}var u,h,p=c(kr),d=c(Pr),f=function(){var i,o=s.count,l=t;return o?((o.contextDep&&r.contextDynamic||o.propDep)&&(l=n),i=o.append(e,l),R.optional((function(){o.MISSING&&e.assert(t,"false","missing vertex count"),o.DYNAMIC&&e.assert(l,i+">=0","missing vertex count")}))):(i=l.def(a,".",Dr),R.optional((function(){e.assert(l,i+">=0","missing vertex count")}))),i}();if("number"==typeof f){if(0===f)return}else n("if(",f,"){"),n.exit("}");v&&(u=c(Mr),h=e.instancing);var m=l+".type",g=s.elements&&Ki(s.elements);function y(){function e(){n(h,".drawElementsInstancedANGLE(",[p,f,m,d+"<<(("+m+"-"+$n+")>>1)",u],");")}function t(){n(h,".drawArraysInstancedANGLE(",[p,d,f,u],");")}l?g?e():(n("if(",l,"){"),e(),n("}else{"),t(),n("}")):t()}function _(){function e(){n(o+".drawElements("+[p,f,m,d+"<<(("+m+"-"+$n+")>>1)"]+");")}function t(){n(o+".drawArrays("+[p,d,f]+");")}l?g?e():(n("if(",l,"){"),e(),n("}else{"),t(),n("}")):t()}v&&("number"!=typeof u||u>=0)?"string"==typeof u?(n("if(",u,">0){"),y(),n("}else if(",u,"<0){"),_(),n("}")):y():_()}function $(e,t,n,r,i){var o=I(),a=o.proc("body",i);return R.optional((function(){o.commandStr=t.commandStr,o.command=o.link(t.commandStr)})),v&&(o.instancing=a.def(o.shared.extensions,".angle_instanced_arrays")),e(o,a,n,r),o.compile().body}function W(e,t,n,r){U(e,t),n.useVAO?n.drawVAO?t(e.shared.vao,".setVAO(",n.drawVAO.append(e,t),");"):t(e.shared.vao,".setVAO(",e.shared.vao,".targetVAO);"):(t(e.shared.vao,".setVAO(null);"),G(e,t,n,r.attributes,(function(){return!0}))),Y(e,t,n,r.uniforms,(function(){return!0})),z(e,t,t,n)}function V(e,t,n,r){function i(){return!0}e.batchId="a1",U(e,t),G(e,t,n,r.attributes,i),Y(e,t,n,r.uniforms,i),z(e,t,t,n)}function K(e,t,n,r){U(e,t);var i=n.contextDep,o=t.def(),a=t.def();e.shared.props=a,e.batchId=o;var s=e.scope(),l=e.scope();function c(e){return e.contextDep&&i||e.propDep}function u(e){return!c(e)}if(t(s.entry,"for(",o,"=0;",o,"<","a1",";++",o,"){",a,"=","a0","[",o,"];",l,"}",s.exit),n.needsContext&&P(e,l,n.context),n.needsFramebuffer&&M(e,l,n.framebuffer),H(e,l,n.state,c),n.profile&&c(n.profile)&&j(e,l,n,!1,!0),r)n.useVAO?n.drawVAO?c(n.drawVAO)?l(e.shared.vao,".setVAO(",n.drawVAO.append(e,l),");"):s(e.shared.vao,".setVAO(",n.drawVAO.append(e,s),");"):s(e.shared.vao,".setVAO(",e.shared.vao,".targetVAO);"):(s(e.shared.vao,".setVAO(null);"),G(e,s,n,r.attributes,u),G(e,l,n,r.attributes,c)),Y(e,s,n,r.uniforms,u),Y(e,l,n,r.uniforms,c),z(e,s,l,n);else{var h=e.global.def("{}"),p=n.shader.progVar.append(e,l),d=l.def(p,".id"),f=l.def(h,"[",d,"]");l(e.shared.gl,".useProgram(",p,".program);","if(!",f,"){",f,"=",h,"[",d,"]=",e.link((function(t){return $(V,e,n,t,2)})),"(",p,");}",f,".call(this,a0[",o,"],",o,");")}}function q(e,t,n){var r=t.static[n];if(r&&function(e){if("object"==typeof e&&!we(e)){for(var t=Object.keys(e),n=0;n<t.length;++n)if(k.isDynamic(e[t[n]]))return!0;return!1}}(r)){var i=e.global,o=Object.keys(r),a=!1,s=!1,l=!1,c=e.global.def("{}");o.forEach((function(t){var n=r[t];if(k.isDynamic(n)){"function"==typeof n&&(n=r[t]=k.unbox(n));var o=Xi(n,null);a=a||o.thisDep,l=l||o.propDep,s=s||o.contextDep}else{switch(i(c,".",t,"="),typeof n){case"number":i(n);break;case"string":i('"',n,'"');break;case"object":Array.isArray(n)&&i("[",n.join(),"]");break;default:i(e.link(n))}i(";")}})),t.dynamic[n]=new k.DynamicVariable(Qn,{thisDep:a,contextDep:s,propDep:l,ref:c,append:function(e,t){o.forEach((function(n){var i=r[n];if(k.isDynamic(i)){var o=e.invoke(t,i);t(c,".",n,"=",o,";")}}))}}),delete t.static[n]}}return{next:E,current:b,procs:function(){var e=I(),t=e.proc("poll"),n=e.proc("refresh"),o=e.block();t(o),n(o);var a,s=e.shared,l=s.gl,c=s.next,u=s.current;o(u,".dirty=false;"),M(e,t),M(e,n,null,!0),v&&(a=e.link(v)),r.oes_vertex_array_object&&n(e.link(r.oes_vertex_array_object),".bindVertexArrayOES(null);");for(var h=0;h<i.maxAttributes;++h){var p=n.def(s.attributes,"[",h,"]"),d=e.cond(p,".buffer");d.then(l,".enableVertexAttribArray(",h,");",l,".bindBuffer(",Kr,",",p,".buffer.buffer);",l,".vertexAttribPointer(",h,",",p,".size,",p,".type,",p,".normalized,",p,".stride,",p,".offset);").else(l,".disableVertexAttribArray(",h,");",l,".vertexAttrib4f(",h,",",p,".x,",p,".y,",p,".z,",p,".w);",p,".buffer=null;"),n(d),v&&n(a,".vertexAttribDivisorANGLE(",h,",",p,".divisor);")}return n(e.shared.vao,".currentVAO=null;",e.shared.vao,".setVAO(",e.shared.vao,".targetVAO);"),Object.keys(x).forEach((function(r){var i=x[r],a=o.def(c,".",r),s=e.block();s("if(",a,"){",l,".enable(",i,")}else{",l,".disable(",i,")}",u,".",r,"=",a,";"),n(s),t("if(",a,"!==",u,".",r,"){",s,"}")})),Object.keys(S).forEach((function(r){var i,a,s=S[r],h=b[r],p=e.block();if(p(l,".",s,"("),we(h)){var d=h.length;i=e.global.def(c,".",r),a=e.global.def(u,".",r),p(B(d,(function(e){return i+"["+e+"]"})),");",B(d,(function(e){return a+"["+e+"]="+i+"["+e+"];"})).join("")),t("if(",B(d,(function(e){return i+"["+e+"]!=="+a+"["+e+"]"})).join("||"),"){",p,"}")}else i=o.def(c,".",r),a=o.def(u,".",r),p(i,");",u,".",r,"=",i,";"),t("if(",i,"!==",a,"){",p,"}");n(p)})),e.compile()}(),compile:function(e,r,i,o,a){var s=I();s.stats=s.link(a),Object.keys(r.static).forEach((function(e){q(s,r,e)})),Vr.forEach((function(t){q(s,e,t)}));var l=D(e,r,i,o,s);return function(e,t){var n=e.proc("draw",1);U(e,n),P(e,n,t.context),M(e,n,t.framebuffer),F(e,n,t),H(e,n,t.state),j(e,n,t,!1,!0);var r=t.shader.progVar.append(e,n);if(n(e.shared.gl,".useProgram(",r,".program);"),t.shader.program)W(e,n,t,t.shader.program);else{n(e.shared.vao,".setVAO(null);");var i=e.global.def("{}"),o=n.def(r,".id"),a=n.def(i,"[",o,"]");n(e.cond(a).then(a,".call(this,a0);").else(a,"=",i,"[",o,"]=",e.link((function(n){return $(W,e,t,n,1)})),"(",r,");",a,".call(this,a0);"))}Object.keys(t.state).length>0&&n(e.shared.current,".dirty=true;")}(s,l),function(e,t){var r=e.proc("scope",3);e.batchId="a2";var i=e.shared,o=i.current;function a(n){var o=t.shader[n];o&&r.set(i.shader,"."+n,o.append(e,r))}P(e,r,t.context),t.framebuffer&&t.framebuffer.append(e,r),Wi(Object.keys(t.state)).forEach((function(n){var o=t.state[n].append(e,r);we(o)?o.forEach((function(t,i){r.set(e.next[n],"["+i+"]",t)})):r.set(i.next,"."+n,o)})),j(e,r,t,!0,!0),[Ir,Pr,Dr,Mr,kr].forEach((function(n){var o=t.draw[n];o&&r.set(i.draw,"."+n,""+o.append(e,r))})),Object.keys(t.uniforms).forEach((function(o){var a=t.uniforms[o].append(e,r);Array.isArray(a)&&(a="["+a.join()+"]"),r.set(i.uniforms,"["+n.id(o)+"]",a)})),Object.keys(t.attributes).forEach((function(n){var i=t.attributes[n].append(e,r),o=e.scopeAttrib(n);Object.keys(new g).forEach((function(e){r.set(o,"."+e,i[e])}))})),t.scopeVAO&&r.set(i.vao,".targetVAO",t.scopeVAO.append(e,r)),a(Or),a(Nr),Object.keys(t.state).length>0&&(r(o,".dirty=true;"),r.exit(o,".dirty=true;")),r("a1(",e.shared.context,",a0,",e.batchId,");")}(s,l),function(e,t){var n=e.proc("batch",2);e.batchId="0",U(e,n);var r=!1,i=!0;Object.keys(t.context).forEach((function(e){r=r||t.context[e].propDep})),r||(P(e,n,t.context),i=!1);var o=t.framebuffer,a=!1;function s(e){return e.contextDep&&r||e.propDep}o?(o.propDep?r=a=!0:o.contextDep&&r&&(a=!0),a||M(e,n,o)):M(e,n,null),t.state.viewport&&t.state.viewport.propDep&&(r=!0),F(e,n,t),H(e,n,t.state,(function(e){return!s(e)})),t.profile&&s(t.profile)||j(e,n,t,!1,"a1"),t.contextDep=r,t.needsContext=i,t.needsFramebuffer=a;var l=t.shader.progVar;if(l.contextDep&&r||l.propDep)K(e,n,t,null);else{var c=l.append(e,n);if(n(e.shared.gl,".useProgram(",c,".program);"),t.shader.program)K(e,n,t,t.shader.program);else{n(e.shared.vao,".setVAO(null);");var u=e.global.def("{}"),h=n.def(c,".id"),p=n.def(u,"[",h,"]");n(e.cond(p).then(p,".call(this,a0,a1);").else(p,"=",u,"[",h,"]=",e.link((function(n){return $(K,e,t,n,2)})),"(",c,");",p,".call(this,a0,a1);"))}}Object.keys(t.state).length>0&&n(e.shared.current,".dirty=true;")}(s,l),t(s.compile(),{destroy:function(){l.shader.program.destroy()}})}}}var Ji=function(e,t){if(!t.ext_disjoint_timer_query)return null;var n=[];function r(e){n.push(e)}var i=[];function o(){this.startQueryIndex=-1,this.endQueryIndex=-1,this.sum=0,this.stats=null}var a=[];function s(e){a.push(e)}var l=[];function c(e,t,n){var r=a.pop()||new o;r.startQueryIndex=e,r.endQueryIndex=t,r.sum=0,r.stats=n,l.push(r)}var u=[],h=[];return{beginQuery:function(e){var r=n.pop()||t.ext_disjoint_timer_query.createQueryEXT();t.ext_disjoint_timer_query.beginQueryEXT(35007,r),i.push(r),c(i.length-1,i.length,e)},endQuery:function(){t.ext_disjoint_timer_query.endQueryEXT(35007)},pushScopeStats:c,update:function(){var e,n,o=i.length;if(0!==o){h.length=Math.max(h.length,o+1),u.length=Math.max(u.length,o+1),u[0]=0,h[0]=0;var a=0;for(e=0,n=0;n<i.length;++n){var c=i[n];t.ext_disjoint_timer_query.getQueryObjectEXT(c,34919)?(a+=t.ext_disjoint_timer_query.getQueryObjectEXT(c,34918),r(c)):i[e++]=c,u[n+1]=a,h[n+1]=e}for(i.length=e,e=0,n=0;n<l.length;++n){var p=l[n],d=p.startQueryIndex,f=p.endQueryIndex;p.sum+=u[f]-u[d];var m=h[d],g=h[f];g===m?(p.stats.gpuTime+=p.sum/1e6,s(p)):(p.startQueryIndex=m,p.endQueryIndex=g,l[e++]=p)}l.length=e}},getNumPendingQueries:function(){return i.length},clear:function(){n.push.apply(n,i);for(var e=0;e<n.length;e++)t.ext_disjoint_timer_query.deleteQueryEXT(n[e]);i.length=0,n.length=0},restore:function(){i.length=0,n.length=0}}},eo="webglcontextlost",to="webglcontextrestored";function no(e,t){for(var n=0;n<e.length;++n)if(e[n]===t)return n;return-1}return function(n){var r=H(n);if(!r)return null;var i=r.gl,o=i.getContextAttributes(),a=i.isContextLost(),s=function(e,t){var n={};function r(t){R.type(t,"string","extension name must be string");var r,i=t.toLowerCase();try{r=n[i]=e.getExtension(i)}catch(e){}return!!r}for(var i=0;i<t.extensions.length;++i){var o=t.extensions[i];if(!r(o))return t.onDestroy(),t.onDone('"'+o+'" extension is not supported by the current WebGL context, try upgrading your system or a different browser'),null}return t.optionalExtensions.forEach(r),{extensions:n,restore:function(){Object.keys(n).forEach((function(e){if(n[e]&&!r(e))throw new Error("(regl): error restoring extension "+e)}))}}}(i,r);if(!s)return null;var l,c,u=(l={"":0},c=[""],{id:function(e){var t=l[e];return t||(t=l[e]=c.length,c.push(e),t)},str:function(e){return c[e]}}),h={vaoCount:0,bufferCount:0,elementsCount:0,framebufferCount:0,shaderCount:0,textureCount:0,cubeCount:0,renderbufferCount:0,maxTextureUnits:0},p=s.extensions,d=Ji(0,p),f=P(),m=i.drawingBufferWidth,g=i.drawingBufferHeight,y={tick:0,time:0,viewportWidth:m,viewportHeight:g,framebufferWidth:m,framebufferHeight:g,drawingBufferWidth:m,drawingBufferHeight:g,pixelRatio:r.pixelRatio},v=function(e,t){var n=1;t.ext_texture_filter_anisotropic&&(n=e.getParameter(34047));var r=1,i=1;t.webgl_draw_buffers&&(r=e.getParameter(34852),i=e.getParameter(36063));var o=!!t.oes_texture_float;if(o){var a=e.createTexture();e.bindTexture(Y,a),e.texImage2D(Y,0,z,1,1,0,z,$,null);var s=e.createFramebuffer();if(e.bindFramebuffer(W,s),e.framebufferTexture2D(W,36064,Y,a,0),e.bindTexture(Y,null),36053!==e.checkFramebufferStatus(W))o=!1;else{e.viewport(0,0,1,1),e.clearColor(1,0,0,1),e.clear(16384);var l=G.allocType($,4);e.readPixels(0,0,1,1,z,$,l),e.getError()?o=!1:(e.deleteFramebuffer(s),e.deleteTexture(a),o=1===l[0]),G.freeType(l)}}var c=!0;if("undefined"==typeof navigator||!(/MSIE/.test(navigator.userAgent)||/Trident\//.test(navigator.appVersion)||/Edge/.test(navigator.userAgent))){var u=e.createTexture(),h=G.allocType(5121,36);e.activeTexture(33984),e.bindTexture(34067,u),e.texImage2D(34069,0,z,3,3,0,z,5121,h),G.freeType(h),e.bindTexture(34067,null),e.deleteTexture(u),c=!e.getError()}return{colorBits:[e.getParameter(3410),e.getParameter(3411),e.getParameter(3412),e.getParameter(3413)],depthBits:e.getParameter(3414),stencilBits:e.getParameter(3415),subpixelBits:e.getParameter(3408),extensions:Object.keys(t).filter((function(e){return!!t[e]})),maxAnisotropic:n,maxDrawbuffers:r,maxColorAttachments:i,pointSizeDims:e.getParameter(33901),lineWidthDims:e.getParameter(33902),maxViewportDims:e.getParameter(3386),maxCombinedTextureUnits:e.getParameter(35661),maxCubeMapSize:e.getParameter(34076),maxRenderbufferSize:e.getParameter(34024),maxTextureUnits:e.getParameter(34930),maxTextureSize:e.getParameter(3379),maxAttributes:e.getParameter(34921),maxVertexUniforms:e.getParameter(36347),maxVertexTextureUnits:e.getParameter(35660),maxVaryingVectors:e.getParameter(36348),maxFragmentUniforms:e.getParameter(36349),glsl:e.getParameter(35724),renderer:e.getParameter(7937),vendor:e.getParameter(7936),version:e.getParameter(7938),readFloat:o,npotTextureCube:c}}(i,p),_=function(t,n,r,i){var o=0,a={};function s(e){this.id=o++,this.buffer=t.createBuffer(),this.type=e,this.usage=re,this.byteLength=0,this.dimension=1,this.dtype=oe,this.persistentData=null,r.profile&&(this.stats={size:0})}s.prototype.bind=function(){t.bindBuffer(this.type,this.buffer)},s.prototype.destroy=function(){h(this)};var l=[];function c(e,n,r){e.byteLength=n.byteLength,t.bufferData(e.type,n,r)}function u(t,n,r,i,o,a){var s,l;if(t.usage=r,Array.isArray(n)){if(t.dtype=i||ae,n.length>0)if(Array.isArray(n[0])){s=ne(n);for(var u=1,h=1;h<s.length;++h)u*=s[h];t.dimension=u,c(t,l=te(n,s,t.dtype),r),a?t.persistentData=l:G.freeType(l)}else if("number"==typeof n[0]){t.dimension=o;var p=G.allocType(t.dtype,n.length);ce(p,n),c(t,p,r),a?t.persistentData=p:G.freeType(p)}else e(n[0])?(t.dimension=n[0].length,t.dtype=i||le(n[0])||ae,c(t,l=te(n,[n.length,n[0].length],t.dtype),r),a?t.persistentData=l:G.freeType(l)):R.raise("invalid buffer data")}else if(e(n))t.dtype=i||le(n),t.dimension=o,c(t,n,r),a&&(t.persistentData=new Uint8Array(new Uint8Array(n.buffer)));else if(V(n)){s=n.shape;var d=n.stride,f=n.offset,m=0,g=0,y=0,v=0;1===s.length?(m=s[0],g=1,y=d[0],v=0):2===s.length?(m=s[0],g=s[1],y=d[0],v=d[1]):R.raise("invalid shape"),t.dtype=i||le(n.data)||ae,t.dimension=g;var _=G.allocType(t.dtype,m*g);ue(_,n.data,m,g,y,v,f),c(t,_,r),a?t.persistentData=_:G.freeType(_)}else n instanceof ArrayBuffer?(t.dtype=oe,t.dimension=o,c(t,n,r),a&&(t.persistentData=new Uint8Array(new Uint8Array(n)))):R.raise("invalid buffer data")}function h(e){n.bufferCount--,i(e);var r=e.buffer;R(r,"buffer must not be deleted already"),t.deleteBuffer(r),e.buffer=null,delete a[e.id]}return r.profile&&(n.getTotalBufferSize=function(){var e=0;return Object.keys(a).forEach((function(t){e+=a[t].stats.size})),e}),{create:function(i,o,l,c){n.bufferCount++;var p=new s(o);function d(n){var i=re,o=null,a=0,s=0,l=1;return Array.isArray(n)||e(n)||V(n)||n instanceof ArrayBuffer?o=n:"number"==typeof n?a=0|n:n&&(R.type(n,"object","buffer arguments must be an object, a number or an array"),"data"in n&&(R(null===o||Array.isArray(o)||e(o)||V(o),"invalid data for buffer"),o=n.data),"usage"in n&&(R.parameter(n.usage,ee,"invalid buffer usage"),i=ee[n.usage]),"type"in n&&(R.parameter(n.type,J,"invalid buffer type"),s=J[n.type]),"dimension"in n&&(R.type(n.dimension,"number","invalid dimension"),l=0|n.dimension),"length"in n&&(R.nni(a,"buffer length must be a nonnegative integer"),a=0|n.length)),p.bind(),o?u(p,o,i,s,l,c):(a&&t.bufferData(p.type,a,i),p.dtype=s||oe,p.usage=i,p.dimension=l,p.byteLength=a),r.profile&&(p.stats.size=p.byteLength*se[p.dtype]),d}function f(e,n){R(n+e.byteLength<=p.byteLength,"invalid buffer subdata call, buffer is too small. Can't write data of size "+e.byteLength+" starting from offset "+n+" to a buffer of size "+p.byteLength),t.bufferSubData(p.type,n,e)}return a[p.id]=p,l||d(i),d._reglType="buffer",d._buffer=p,d.subdata=function(t,n){var r,i=0|(n||0);if(p.bind(),e(t)||t instanceof ArrayBuffer)f(t,i);else if(Array.isArray(t)){if(t.length>0)if("number"==typeof t[0]){var o=G.allocType(p.dtype,t.length);ce(o,t),f(o,i),G.freeType(o)}else if(Array.isArray(t[0])||e(t[0])){r=ne(t);var a=te(t,r,p.dtype);f(a,i),G.freeType(a)}else R.raise("invalid buffer data")}else if(V(t)){r=t.shape;var s=t.stride,l=0,c=0,u=0,h=0;1===r.length?(l=r[0],c=1,u=s[0],h=0):2===r.length?(l=r[0],c=r[1],u=s[0],h=s[1]):R.raise("invalid shape");var m=Array.isArray(t.data)?p.dtype:le(t.data),g=G.allocType(m,l*c);ue(g,t.data,l,c,u,h,t.offset),f(g,i),G.freeType(g)}else R.raise("invalid data for buffer subdata");return d},r.profile&&(d.stats=p.stats),d.destroy=function(){h(p)},d},createStream:function(e,t){var n=l.pop();return n||(n=new s(e)),n.bind(),u(n,t,ie,0,1,!1),n},destroyStream:function(e){l.push(e)},clear:function(){K(a).forEach(h),l.forEach(h)},getBuffer:function(e){return e&&e._buffer instanceof s?e._buffer:null},restore:function(){K(a).forEach((function(e){e.buffer=t.createBuffer(),t.bindBuffer(e.type,e.buffer),t.bufferData(e.type,e.persistentData||e.byteLength,e.usage)}))},_initBuffer:u}}(i,h,r,(function(e){return b.destroyBuffer(e)})),b=function(t,n,r,i,o){for(var a=r.maxAttributes,s=new Array(a),l=0;l<a;++l)s[l]=new In;var c=0,u={},h={Record:In,scope:{},state:s,currentVAO:null,targetVAO:null,restore:p()?function(){p()&&K(u).forEach((function(e){e.refresh()}))}:function(){},createVAO:function(t){var r=new f;function s(t){R(Array.isArray(t),"arguments to vertex array constructor must be an array"),R(t.length<a,"too many attributes"),R(t.length>0,"must specify at least one attribute");var i={},l=r.attributes;l.length=t.length;for(var c=0;c<t.length;++c){var u,h=t[c],p=l[c]=new In,d=h.data||h;Array.isArray(d)||e(d)||V(d)?(r.buffers[c]&&(u=r.buffers[c],e(d)&&u._buffer.byteLength>=d.byteLength?u.subdata(d):(u.destroy(),r.buffers[c]=null)),r.buffers[c]||(u=r.buffers[c]=o.create(h,Nn,!1,!0)),p.buffer=o.getBuffer(u),p.size=0|p.buffer.dimension,p.normalized=!1,p.type=p.buffer.dtype,p.offset=0,p.stride=0,p.divisor=0,p.state=1,i[c]=1):o.getBuffer(h)?(p.buffer=o.getBuffer(h),p.size=0|p.buffer.dimension,p.normalized=!1,p.type=p.buffer.dtype,p.offset=0,p.stride=0,p.divisor=0,p.state=1):o.getBuffer(h.buffer)?(p.buffer=o.getBuffer(h.buffer),p.size=0|(+h.size||p.buffer.dimension),p.normalized=!!h.normalized||!1,"type"in h?(R.parameter(h.type,J,"invalid buffer type"),p.type=J[h.type]):p.type=p.buffer.dtype,p.offset=0|(h.offset||0),p.stride=0|(h.stride||0),p.divisor=0|(h.divisor||0),p.state=1,R(p.size>=1&&p.size<=4,"size must be between 1 and 4"),R(p.offset>=0,"invalid offset"),R(p.stride>=0&&p.stride<=255,"stride must be between 0 and 255"),R(p.divisor>=0,"divisor must be positive"),R(!p.divisor||!!n.angle_instanced_arrays,"ANGLE_instanced_arrays must be enabled to use divisor")):"x"in h?(R(c>0,"first attribute must not be a constant"),p.x=+h.x||0,p.y=+h.y||0,p.z=+h.z||0,p.w=+h.w||0,p.state=2):R(!1,"invalid attribute spec for location "+c)}for(var f=0;f<r.buffers.length;++f)!i[f]&&r.buffers[f]&&(r.buffers[f].destroy(),r.buffers[f]=null);return r.refresh(),s}return i.vaoCount+=1,s.destroy=function(){for(var e=0;e<r.buffers.length;++e)r.buffers[e]&&r.buffers[e].destroy();r.buffers.length=0,r.destroy()},s._vao=r,s._reglType="vao",s(t)},getVAO:function(e){return"function"==typeof e&&e._vao?e._vao:null},destroyBuffer:function(e){for(var n=0;n<s.length;++n){var r=s[n];r.buffer===e&&(t.disableVertexAttribArray(n),r.buffer=null)}},setVAO:p()?function(e){if(e!==h.currentVAO){var t=p();e?t.bindVertexArrayOES(e.vao):t.bindVertexArrayOES(null),h.currentVAO=e}}:function(e){if(e!==h.currentVAO){if(e)e.bindAttrs();else for(var n=d(),r=0;r<s.length;++r){var i=s[r];i.buffer?(t.enableVertexAttribArray(r),t.vertexAttribPointer(r,i.size,i.type,i.normalized,i.stride,i.offfset),n&&i.divisor&&n.vertexAttribDivisorANGLE(r,i.divisor)):(t.disableVertexAttribArray(r),t.vertexAttrib4f(r,i.x,i.y,i.z,i.w))}h.currentVAO=e}},clear:p()?function(){K(u).forEach((function(e){e.destroy()}))}:function(){}};function p(){return n.oes_vertex_array_object}function d(){return n.angle_instanced_arrays}function f(){this.id=++c,this.attributes=[];var e=p();this.vao=e?e.createVertexArrayOES():null,u[this.id]=this,this.buffers=[]}return f.prototype.bindAttrs=function(){for(var e=d(),n=this.attributes,r=0;r<n.length;++r){var i=n[r];i.buffer?(t.enableVertexAttribArray(r),t.bindBuffer(Nn,i.buffer.buffer),t.vertexAttribPointer(r,i.size,i.type,i.normalized,i.stride,i.offset),e&&i.divisor&&e.vertexAttribDivisorANGLE(r,i.divisor)):(t.disableVertexAttribArray(r),t.vertexAttrib4f(r,i.x,i.y,i.z,i.w))}for(var o=n.length;o<a;++o)t.disableVertexAttribArray(o)},f.prototype.refresh=function(){var e=p();e&&(e.bindVertexArrayOES(this.vao),this.bindAttrs(),h.currentVAO=this)},f.prototype.destroy=function(){if(this.vao){var e=p();this===h.currentVAO&&(h.currentVAO=null,e.bindVertexArrayOES(null)),e.deleteVertexArrayOES(this.vao),this.vao=null}u[this.id]&&(delete u[this.id],i.vaoCount-=1)},h}(i,p,v,h,_),E=function(t,n,r,i){var o={},a=0,s={uint8:ge,uint16:ve};function l(e){this.id=a++,o[this.id]=this,this.buffer=e,this.primType=fe,this.vertCount=0,this.type=0}n.oes_element_index_uint&&(s.uint32=be),l.prototype.bind=function(){this.buffer.bind()};var c=[];function u(i,o,a,s,l,c,u){var h;if(i.buffer.bind(),o){var p=u;u||e(o)&&(!V(o)||e(o.data))||(p=n.oes_element_index_uint?be:ve),r._initBuffer(i.buffer,o,a,p,3)}else t.bufferData(Ee,c,a),i.buffer.dtype=h||ge,i.buffer.usage=a,i.buffer.dimension=3,i.buffer.byteLength=c;if(h=u,!u){switch(i.buffer.dtype){case ge:case me:h=ge;break;case ve:case ye:h=ve;break;case be:case _e:h=be;break;default:R.raise("unsupported type for element array")}i.buffer.dtype=h}i.type=h,R(h!==be||!!n.oes_element_index_uint,"32 bit element buffers not supported, enable oes_element_index_uint first");var d=l;d<0&&(d=i.buffer.byteLength,h===ve?d>>=1:h===be&&(d>>=2)),i.vertCount=d;var f=s;if(s<0){f=fe;var m=i.buffer.dimension;1===m&&(f=pe),2===m&&(f=de),3===m&&(f=fe)}i.primType=f}function h(e){i.elementsCount--,R(null!==e.buffer,"must not double destroy elements"),delete o[e.id],e.buffer.destroy(),e.buffer=null}return{create:function(t,n){var o=r.create(null,Ee,!0),a=new l(o._buffer);function c(t){if(t)if("number"==typeof t)o(t),a.primType=fe,a.vertCount=0|t,a.type=ge;else{var n=null,r=xe,i=-1,l=-1,h=0,p=0;Array.isArray(t)||e(t)||V(t)?n=t:(R.type(t,"object","invalid arguments for elements"),"data"in t&&(n=t.data,R(Array.isArray(n)||e(n)||V(n),"invalid data for element buffer")),"usage"in t&&(R.parameter(t.usage,ee,"invalid element buffer usage"),r=ee[t.usage]),"primitive"in t&&(R.parameter(t.primitive,he,"invalid element buffer primitive"),i=he[t.primitive]),"count"in t&&(R("number"==typeof t.count&&t.count>=0,"invalid vertex count for elements"),l=0|t.count),"type"in t&&(R.parameter(t.type,s,"invalid buffer type"),p=s[t.type]),"length"in t?h=0|t.length:(h=l,p===ve||p===ye?h*=2:p!==be&&p!==_e||(h*=4))),u(a,n,r,i,l,h,p)}else o(),a.primType=fe,a.vertCount=0,a.type=ge;return c}return i.elementsCount++,c(t),c._reglType="elements",c._elements=a,c.subdata=function(e,t){return o.subdata(e,t),c},c.destroy=function(){h(a)},c},createStream:function(e){var t=c.pop();return t||(t=new l(r.create(null,Ee,!0,!1)._buffer)),u(t,e,Te,-1,-1,0,0),t},destroyStream:function(e){c.push(e)},getElements:function(e){return"function"==typeof e&&e._elements instanceof l?e._elements:null},clear:function(){K(o).forEach(h)}}}(i,p,_,h),T=function(e,n,r,i){var o={},a={};function s(e,t,n,r){this.name=e,this.id=t,this.location=n,this.info=r}function l(e,t){for(var n=0;n<e.length;++n)if(e[n].id===t.id)return void(e[n].location=t.location);e.push(t)}function c(t,r,i){var s=t===kn?o:a,l=s[r];if(!l){var c=n.str(r);l=e.createShader(t),e.shaderSource(l,c),e.compileShader(l),R.shaderError(e,l,c,t,i),s[r]=l}return l}var u={},h=[],p=0;function d(e,t){this.id=p++,this.fragId=e,this.vertId=t,this.program=null,this.uniforms=[],this.attributes=[],this.refCount=1,i.profile&&(this.stats={uniformsCount:0,attributesCount:0})}function f(t,r,o){var a,u,h=c(kn,t.fragId),p=c(Dn,t.vertId),d=t.program=e.createProgram();if(e.attachShader(d,h),e.attachShader(d,p),o)for(a=0;a<o.length;++a){var f=o[a];e.bindAttribLocation(d,f[0],f[1])}e.linkProgram(d),R.linkError(e,d,n.str(t.fragId),n.str(t.vertId),r);var m=e.getProgramParameter(d,Pn);i.profile&&(t.stats.uniformsCount=m);var g=t.uniforms;for(a=0;a<m;++a)if(u=e.getActiveUniform(d,a))if(u.size>1)for(var y=0;y<u.size;++y){var v=u.name.replace("[0]","["+y+"]");l(g,new s(v,n.id(v),e.getUniformLocation(d,v),u))}else l(g,new s(u.name,n.id(u.name),e.getUniformLocation(d,u.name),u));var _=e.getProgramParameter(d,Mn);i.profile&&(t.stats.attributesCount=_);var b=t.attributes;for(a=0;a<_;++a)(u=e.getActiveAttrib(d,a))&&l(b,new s(u.name,n.id(u.name),e.getAttribLocation(d,u.name),u))}return i.profile&&(r.getMaxUniformsCount=function(){var e=0;return h.forEach((function(t){t.stats.uniformsCount>e&&(e=t.stats.uniformsCount)})),e},r.getMaxAttributesCount=function(){var e=0;return h.forEach((function(t){t.stats.attributesCount>e&&(e=t.stats.attributesCount)})),e}),{clear:function(){var t=e.deleteShader.bind(e);K(o).forEach(t),o={},K(a).forEach(t),a={},h.forEach((function(t){e.deleteProgram(t.program)})),h.length=0,u={},r.shaderCount=0},program:function(n,i,s,l){R.command(n>=0,"missing vertex shader",s),R.command(i>=0,"missing fragment shader",s);var c=u[i];c||(c=u[i]={});var p=c[n];if(p&&(p.refCount++,!l))return p;var m=new d(i,n);return r.shaderCount++,f(m,s,l),p||(c[n]=m),h.push(m),t(m,{destroy:function(){if(m.refCount--,m.refCount<=0){e.deleteProgram(m.program);var t=h.indexOf(m);h.splice(t,1),r.shaderCount--}c[m.vertId].refCount<=0&&(e.deleteShader(a[m.vertId]),delete a[m.vertId],delete u[m.fragId][m.vertId]),Object.keys(u[m.fragId]).length||(e.deleteShader(o[m.fragId]),delete o[m.fragId],delete u[m.fragId])}})},restore:function(){o={},a={};for(var e=0;e<h.length;++e)f(h[e],null,h[e].attributes.map((function(e){return[e.location,e.name]})))},shader:c,frag:-1,vert:-1}}(i,u,h,r),x=sn(i,p,v,(function(){A.procs.poll()}),y,h,r),S=function(e,t,n,r,i){var o={rgba4:cn,rgb565:36194,"rgb5 a1":32855,depth:33189,stencil:36168,"depth stencil":34041};t.ext_srgb&&(o.srgba=35907),t.ext_color_buffer_half_float&&(o.rgba16f=34842,o.rgb16f=34843),t.webgl_color_buffer_float&&(o.rgba32f=34836);var a=[];Object.keys(o).forEach((function(e){var t=o[e];a[t]=e}));var s=0,l={};function c(e){this.id=s++,this.refCount=1,this.renderbuffer=e,this.format=cn,this.width=0,this.height=0,i.profile&&(this.stats={size:0})}function u(t){var n=t.renderbuffer;R(n,"must not double destroy renderbuffer"),e.bindRenderbuffer(ln,null),e.deleteRenderbuffer(n),t.renderbuffer=null,t.refCount=0,delete l[t.id],r.renderbufferCount--}return c.prototype.decRef=function(){--this.refCount<=0&&u(this)},i.profile&&(r.getTotalRenderbufferSize=function(){var e=0;return Object.keys(l).forEach((function(t){e+=l[t].stats.size})),e}),{create:function(t,s){var u=new c(e.createRenderbuffer());function h(t,r){var s=0,l=0,c=cn;if("object"==typeof t&&t){var p=t;if("shape"in p){var d=p.shape;R(Array.isArray(d)&&d.length>=2,"invalid renderbuffer shape"),s=0|d[0],l=0|d[1]}else"radius"in p&&(s=l=0|p.radius),"width"in p&&(s=0|p.width),"height"in p&&(l=0|p.height);"format"in p&&(R.parameter(p.format,o,"invalid renderbuffer format"),c=o[p.format])}else"number"==typeof t?(s=0|t,l="number"==typeof r?0|r:s):t?R.raise("invalid arguments to renderbuffer constructor"):s=l=1;if(R(s>0&&l>0&&s<=n.maxRenderbufferSize&&l<=n.maxRenderbufferSize,"invalid renderbuffer size"),s!==u.width||l!==u.height||c!==u.format)return h.width=u.width=s,h.height=u.height=l,u.format=c,e.bindRenderbuffer(ln,u.renderbuffer),e.renderbufferStorage(ln,c,s,l),R(0===e.getError(),"invalid render buffer format"),i.profile&&(u.stats.size=hn(u.format,u.width,u.height)),h.format=a[u.format],h}return l[u.id]=u,r.renderbufferCount++,h(t,s),h.resize=function(t,r){var o=0|t,a=0|r||o;return o===u.width&&a===u.height||(R(o>0&&a>0&&o<=n.maxRenderbufferSize&&a<=n.maxRenderbufferSize,"invalid renderbuffer size"),h.width=u.width=o,h.height=u.height=a,e.bindRenderbuffer(ln,u.renderbuffer),e.renderbufferStorage(ln,u.format,o,a),R(0===e.getError(),"invalid render buffer format"),i.profile&&(u.stats.size=hn(u.format,u.width,u.height))),h},h._reglType="renderbuffer",h._renderbuffer=u,i.profile&&(h.stats=u.stats),h.destroy=function(){u.decRef()},h},clear:function(){K(l).forEach(u)},restore:function(){K(l).forEach((function(t){t.renderbuffer=e.createRenderbuffer(),e.bindRenderbuffer(ln,t.renderbuffer),e.renderbufferStorage(ln,t.format,t.width,t.height)})),e.bindRenderbuffer(ln,null)}}}(i,p,v,h,r),C=function(e,n,r,i,o,a){var s={cur:null,next:null,dirty:!1,setFBO:null},l=["rgba"],c=["rgba4","rgb565","rgb5 a1"];n.ext_srgb&&c.push("srgba"),n.ext_color_buffer_half_float&&c.push("rgba16f","rgb16f"),n.webgl_color_buffer_float&&c.push("rgba32f");var u=["uint8"];function h(e,t,n){this.target=e,this.texture=t,this.renderbuffer=n;var r=0,i=0;t?(r=t.width,i=t.height):n&&(r=n.width,i=n.height),this.width=r,this.height=i}function p(e){e&&(e.texture&&e.texture._texture.decRef(),e.renderbuffer&&e.renderbuffer._renderbuffer.decRef())}function d(e,t,n){if(e)if(e.texture){var r=e.texture._texture,i=Math.max(1,r.width),o=Math.max(1,r.height);R(i===t&&o===n,"inconsistent width/height for supplied texture"),r.refCount+=1}else{var a=e.renderbuffer._renderbuffer;R(a.width===t&&a.height===n,"inconsistent width/height for renderbuffer"),a.refCount+=1}}function f(t,n){n&&(n.texture?e.framebufferTexture2D(pn,t,n.target,n.texture._texture.texture,0):e.framebufferRenderbuffer(pn,t,dn,n.renderbuffer._renderbuffer.renderbuffer))}function m(e){var t=fn,n=null,r=null,i=e;"object"==typeof e&&(i=e.data,"target"in e&&(t=0|e.target)),R.type(i,"function","invalid attachment data");var o=i._reglType;return"texture2d"===o?(n=i,R(t===fn)):"textureCube"===o?(n=i,R(t>=mn&&t<mn+6,"invalid cube map target")):"renderbuffer"===o?(r=i,t=dn):R.raise("invalid regl object for attachment"),new h(t,n,r)}function g(e,t,n,r,a){if(n){var s=i.create2D({width:e,height:t,format:r,type:a});return s._texture.refCount=0,new h(fn,s,null)}var l=o.create({width:e,height:t,format:r});return l._renderbuffer.refCount=0,new h(dn,null,l)}function y(e){return e&&(e.texture||e.renderbuffer)}function v(e,t,n){e&&(e.texture?e.texture.resize(t,n):e.renderbuffer&&e.renderbuffer.resize(t,n),e.width=t,e.height=n)}n.oes_texture_half_float&&u.push("half float","float16"),n.oes_texture_float&&u.push("float","float32");var _=0,b={};function E(){this.id=_++,b[this.id]=this,this.framebuffer=e.createFramebuffer(),this.width=0,this.height=0,this.colorAttachments=[],this.depthAttachment=null,this.stencilAttachment=null,this.depthStencilAttachment=null}function T(e){e.colorAttachments.forEach(p),p(e.depthAttachment),p(e.stencilAttachment),p(e.depthStencilAttachment)}function x(t){var n=t.framebuffer;R(n,"must not double destroy framebuffer"),e.deleteFramebuffer(n),t.framebuffer=null,a.framebufferCount--,delete b[t.id]}function S(t){var n;e.bindFramebuffer(pn,t.framebuffer);var i=t.colorAttachments;for(n=0;n<i.length;++n)f(gn+n,i[n]);for(n=i.length;n<r.maxColorAttachments;++n)e.framebufferTexture2D(pn,gn+n,fn,null,0);e.framebufferTexture2D(pn,_n,fn,null,0),e.framebufferTexture2D(pn,yn,fn,null,0),e.framebufferTexture2D(pn,vn,fn,null,0),f(yn,t.depthAttachment),f(vn,t.stencilAttachment),f(_n,t.depthStencilAttachment);var o=e.checkFramebufferStatus(pn);e.isContextLost()||o===bn||R.raise("framebuffer configuration not supported, status = "+Ln[o]),e.bindFramebuffer(pn,s.next?s.next.framebuffer:null),s.cur=s.next,e.getError()}function C(e,i){var o=new E;function h(e,t){var i;R(s.next!==o,"can not update framebuffer which is currently in use");var a=0,p=0,f=!0,v=!0,_=null,b=!0,E="rgba",x="uint8",C=1,A=null,w=null,L=null,O=!1;if("number"==typeof e)a=0|e,p=0|t||a;else if(e){R.type(e,"object","invalid arguments for framebuffer");var N=e;if("shape"in N){var I=N.shape;R(Array.isArray(I)&&I.length>=2,"invalid shape for framebuffer"),a=I[0],p=I[1]}else"radius"in N&&(a=p=N.radius),"width"in N&&(a=N.width),"height"in N&&(p=N.height);("color"in N||"colors"in N)&&(_=N.color||N.colors,Array.isArray(_)&&R(1===_.length||n.webgl_draw_buffers,"multiple render targets not supported")),_||("colorCount"in N&&(C=0|N.colorCount,R(C>0,"invalid color buffer count")),"colorTexture"in N&&(b=!!N.colorTexture,E="rgba4"),"colorType"in N&&(x=N.colorType,b?(R(n.oes_texture_float||!("float"===x||"float32"===x),"you must enable OES_texture_float in order to use floating point framebuffer objects"),R(n.oes_texture_half_float||!("half float"===x||"float16"===x),"you must enable OES_texture_half_float in order to use 16-bit floating point framebuffer objects")):"half float"===x||"float16"===x?(R(n.ext_color_buffer_half_float,"you must enable EXT_color_buffer_half_float to use 16-bit render buffers"),E="rgba16f"):"float"!==x&&"float32"!==x||(R(n.webgl_color_buffer_float,"you must enable WEBGL_color_buffer_float in order to use 32-bit floating point renderbuffers"),E="rgba32f"),R.oneOf(x,u,"invalid color type")),"colorFormat"in N&&(E=N.colorFormat,l.indexOf(E)>=0?b=!0:c.indexOf(E)>=0?b=!1:b?R.oneOf(N.colorFormat,l,"invalid color format for texture"):R.oneOf(N.colorFormat,c,"invalid color format for renderbuffer"))),("depthTexture"in N||"depthStencilTexture"in N)&&(O=!(!N.depthTexture&&!N.depthStencilTexture),R(!O||n.webgl_depth_texture,"webgl_depth_texture extension not supported")),"depth"in N&&("boolean"==typeof N.depth?f=N.depth:(A=N.depth,v=!1)),"stencil"in N&&("boolean"==typeof N.stencil?v=N.stencil:(w=N.stencil,f=!1)),"depthStencil"in N&&("boolean"==typeof N.depthStencil?f=v=N.depthStencil:(L=N.depthStencil,f=!1,v=!1))}else a=p=1;var k=null,D=null,P=null,M=null;if(Array.isArray(_))k=_.map(m);else if(_)k=[m(_)];else for(k=new Array(C),i=0;i<C;++i)k[i]=g(a,p,b,E,x);R(n.webgl_draw_buffers||k.length<=1,"you must enable the WEBGL_draw_buffers extension in order to use multiple color buffers."),R(k.length<=r.maxColorAttachments,"too many color attachments, not supported"),a=a||k[0].width,p=p||k[0].height,A?D=m(A):f&&!v&&(D=g(a,p,O,"depth","uint32")),w?P=m(w):v&&!f&&(P=g(a,p,!1,"stencil","uint8")),L?M=m(L):!A&&!w&&v&&f&&(M=g(a,p,O,"depth stencil","depth stencil")),R(!!A+!!w+!!L<=1,"invalid framebuffer configuration, can specify exactly one depth/stencil attachment");var F=null;for(i=0;i<k.length;++i)if(d(k[i],a,p),R(!k[i]||k[i].texture&&Tn.indexOf(k[i].texture._texture.format)>=0||k[i].renderbuffer&&wn.indexOf(k[i].renderbuffer._renderbuffer.format)>=0,"framebuffer color attachment "+i+" is invalid"),k[i]&&k[i].texture){var H=xn[k[i].texture._texture.format]*Sn[k[i].texture._texture.type];null===F?F=H:R(F===H,"all color attachments much have the same number of bits per pixel.")}return d(D,a,p),R(!D||D.texture&&D.texture._texture.format===En||D.renderbuffer&&D.renderbuffer._renderbuffer.format===Cn,"invalid depth attachment for framebuffer object"),d(P,a,p),R(!P||P.renderbuffer&&P.renderbuffer._renderbuffer.format===An,"invalid stencil attachment for framebuffer object"),d(M,a,p),R(!M||M.texture&&M.texture._texture.format===Rn||M.renderbuffer&&M.renderbuffer._renderbuffer.format===Rn,"invalid depth-stencil attachment for framebuffer object"),T(o),o.width=a,o.height=p,o.colorAttachments=k,o.depthAttachment=D,o.stencilAttachment=P,o.depthStencilAttachment=M,h.color=k.map(y),h.depth=y(D),h.stencil=y(P),h.depthStencil=y(M),h.width=o.width,h.height=o.height,S(o),h}return a.framebufferCount++,h(e,i),t(h,{resize:function(e,t){R(s.next!==o,"can not resize a framebuffer which is currently in use");var n=Math.max(0|e,1),r=Math.max(0|t||n,1);if(n===o.width&&r===o.height)return h;for(var i=o.colorAttachments,a=0;a<i.length;++a)v(i[a],n,r);return v(o.depthAttachment,n,r),v(o.stencilAttachment,n,r),v(o.depthStencilAttachment,n,r),o.width=h.width=n,o.height=h.height=r,S(o),h},_reglType:"framebuffer",_framebuffer:o,destroy:function(){x(o),T(o)},use:function(e){s.setFBO({framebuffer:h},e)}})}return t(s,{getFramebuffer:function(e){if("function"==typeof e&&"framebuffer"===e._reglType){var t=e._framebuffer;if(t instanceof E)return t}return null},create:C,createCube:function(e){var o=Array(6);function a(e){var r;R(o.indexOf(s.next)<0,"can not update framebuffer which is currently in use");var c,h={color:null},p=0,d=null,f="rgba",m="uint8",g=1;if("number"==typeof e)p=0|e;else if(e){R.type(e,"object","invalid arguments for framebuffer");var y=e;if("shape"in y){var v=y.shape;R(Array.isArray(v)&&v.length>=2,"invalid shape for framebuffer"),R(v[0]===v[1],"cube framebuffer must be square"),p=v[0]}else"radius"in y&&(p=0|y.radius),"width"in y?(p=0|y.width,"height"in y&&R(y.height===p,"must be square")):"height"in y&&(p=0|y.height);("color"in y||"colors"in y)&&(d=y.color||y.colors,Array.isArray(d)&&R(1===d.length||n.webgl_draw_buffers,"multiple render targets not supported")),d||("colorCount"in y&&(g=0|y.colorCount,R(g>0,"invalid color buffer count")),"colorType"in y&&(R.oneOf(y.colorType,u,"invalid color type"),m=y.colorType),"colorFormat"in y&&(f=y.colorFormat,R.oneOf(y.colorFormat,l,"invalid color format for texture"))),"depth"in y&&(h.depth=y.depth),"stencil"in y&&(h.stencil=y.stencil),"depthStencil"in y&&(h.depthStencil=y.depthStencil)}else p=1;if(d)if(Array.isArray(d))for(c=[],r=0;r<d.length;++r)c[r]=d[r];else c=[d];else{c=Array(g);var _={radius:p,format:f,type:m};for(r=0;r<g;++r)c[r]=i.createCube(_)}for(h.color=Array(c.length),r=0;r<c.length;++r){var b=c[r];R("function"==typeof b&&"textureCube"===b._reglType,"invalid cube map"),p=p||b.width,R(b.width===p&&b.height===p,"invalid cube map shape"),h.color[r]={target:mn,data:c[r]}}for(r=0;r<6;++r){for(var E=0;E<c.length;++E)h.color[E].target=mn+r;r>0&&(h.depth=o[0].depth,h.stencil=o[0].stencil,h.depthStencil=o[0].depthStencil),o[r]?o[r](h):o[r]=C(h)}return t(a,{width:p,height:p,color:c})}return a(e),t(a,{faces:o,resize:function(e){var t,n=0|e;if(R(n>0&&n<=r.maxCubeMapSize,"invalid radius for cube fbo"),n===a.width)return a;var i=a.color;for(t=0;t<i.length;++t)i[t].resize(n);for(t=0;t<6;++t)o[t].resize(n);return a.width=a.height=n,a},_reglType:"framebufferCube",destroy:function(){o.forEach((function(e){e.destroy()}))}})},clear:function(){K(b).forEach(x)},restore:function(){s.cur=null,s.next=null,s.dirty=!0,K(b).forEach((function(t){t.framebuffer=e.createFramebuffer(),S(t)}))}})}(i,p,v,x,S,h),A=Qi(i,u,p,v,_,E,0,C,{},b,T,{elements:null,primitive:4,count:-1,offset:0,instances:-1},y,d,r),w=jn(i,C,A.procs.poll,y,o,p,v),L=A.next,O=i.canvas,N=[],I=[],M=[],F=[r.onDestroy],B=null;function U(){if(0===N.length)return d&&d.update(),void(B=null);B=D.next(U),we();for(var e=N.length-1;e>=0;--e){var t=N[e];t&&t(y,null,0)}i.flush(),d&&d.update()}function j(){!B&&N.length>0&&(B=D.next(U))}function q(){B&&(D.cancel(U),B=null)}function X(e){e.preventDefault(),a=!0,q(),I.forEach((function(e){e()}))}function Z(e){i.getError(),a=!1,s.restore(),T.restore(),_.restore(),x.restore(),S.restore(),C.restore(),b.restore(),d&&d.restore(),A.procs.refresh(),j(),M.forEach((function(e){e()}))}function Q(e){function n(e,t){var n={},r={};return Object.keys(e).forEach((function(i){var o=e[i];if(k.isDynamic(o))r[i]=k.unbox(o,i);else{if(t&&Array.isArray(o))for(var a=0;a<o.length;++a)if(k.isDynamic(o[a]))return void(r[i]=k.unbox(o,i));n[i]=o}})),{dynamic:r,static:n}}R(!!e,"invalid args to regl({...})"),R.type(e,"object","invalid args to regl({...})");var r=n(e.context||{},!0),i=n(e.uniforms||{},!0),o=n(e.attributes||{},!1),s=n(function(e){var n=t({},e);function r(e){if(e in n){var t=n[e];delete n[e],Object.keys(t).forEach((function(r){n[e+"."+r]=t[r]}))}}return delete n.uniforms,delete n.attributes,delete n.context,delete n.vao,"stencil"in n&&n.stencil.op&&(n.stencil.opBack=n.stencil.opFront=n.stencil.op,delete n.stencil.op),r("blend"),r("depth"),r("cull"),r("stencil"),r("polygonOffset"),r("scissor"),r("sample"),"vao"in e&&(n.vao=e.vao),n}(e),!1),l={gpuTime:0,cpuTime:0,count:0},c=A.compile(s,o,i,r,l),u=c.draw,h=c.batch,p=c.scope,d=[];return t((function(e,t){var n;if(a&&R.raise("context lost"),"function"==typeof e)return p.call(this,null,e,0);if("function"==typeof t)if("number"==typeof e)for(n=0;n<e;++n)p.call(this,null,t,n);else{if(!Array.isArray(e))return p.call(this,e,t,0);for(n=0;n<e.length;++n)p.call(this,e[n],t,n)}else if("number"==typeof e){if(e>0)return h.call(this,function(e){for(;d.length<e;)d.push(null);return d}(0|e),0|e)}else{if(!Array.isArray(e))return u.call(this,e);if(e.length)return h.call(this,e,e.length)}}),{stats:l,destroy:function(){c.destroy()}})}O&&(O.addEventListener(eo,X,!1),O.addEventListener(to,Z,!1));var Se=C.setFBO=Q({framebuffer:k.define.call(null,1,"framebuffer")});function Ce(e,t){var n=0;A.procs.poll();var r=t.color;r&&(i.clearColor(+r[0]||0,+r[1]||0,+r[2]||0,+r[3]||0),n|=16384),"depth"in t&&(i.clearDepth(+t.depth),n|=256),"stencil"in t&&(i.clearStencil(0|t.stencil),n|=1024),R(!!n,"called regl.clear with no buffer specified"),i.clear(n)}function Ae(e){return R.type(e,"function","regl.frame() callback must be a function"),N.push(e),j(),{cancel:function(){var t=no(N,e);R(t>=0,"cannot cancel a frame twice"),N[t]=function e(){var t=no(N,e);N[t]=N[N.length-1],N.length-=1,N.length<=0&&q()}}}}function Re(){var e=L.viewport,t=L.scissor_box;e[0]=e[1]=t[0]=t[1]=0,y.viewportWidth=y.framebufferWidth=y.drawingBufferWidth=e[2]=t[2]=i.drawingBufferWidth,y.viewportHeight=y.framebufferHeight=y.drawingBufferHeight=e[3]=t[3]=i.drawingBufferHeight}function we(){y.tick+=1,y.time=Oe(),Re(),A.procs.poll()}function Le(){x.refresh(),Re(),A.procs.refresh(),d&&d.update()}function Oe(){return(P()-f)/1e3}Le();var Ne=t(Q,{clear:function(e){if(R("object"==typeof e&&e,"regl.clear() takes an object as input"),"framebuffer"in e)if(e.framebuffer&&"framebufferCube"===e.framebuffer_reglType)for(var n=0;n<6;++n)Se(t({framebuffer:e.framebuffer.faces[n]},e),Ce);else Se(e,Ce);else Ce(0,e)},prop:k.define.bind(null,1),context:k.define.bind(null,2),this:k.define.bind(null,3),draw:Q({}),buffer:function(e){return _.create(e,34962,!1,!1)},elements:function(e){return E.create(e,!1)},texture:x.create2D,cube:x.createCube,renderbuffer:S.create,framebuffer:C.create,framebufferCube:C.createCube,vao:b.createVAO,attributes:o,frame:Ae,on:function(e,t){var n;switch(R.type(t,"function","listener callback must be a function"),e){case"frame":return Ae(t);case"lost":n=I;break;case"restore":n=M;break;case"destroy":n=F;break;default:R.raise("invalid event, must be one of frame,lost,restore,destroy")}return n.push(t),{cancel:function(){for(var e=0;e<n.length;++e)if(n[e]===t)return n[e]=n[n.length-1],void n.pop()}}},limits:v,hasExtension:function(e){return v.extensions.indexOf(e.toLowerCase())>=0},read:w,destroy:function(){N.length=0,q(),O&&(O.removeEventListener(eo,X),O.removeEventListener(to,Z)),T.clear(),C.clear(),S.clear(),x.clear(),E.clear(),_.clear(),b.clear(),d&&d.clear(),F.forEach((function(e){e()}))},_gl:i,_refresh:Le,poll:function(){we(),d&&d.update()},now:Oe,stats:h});return r.onDone(null,Ne),Ne}}()},565:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SensorTabIndex=t.SensorClassName=t.SizeSensorId=void 0,t.SizeSensorId="size-sensor-id",t.SensorClassName="size-sensor-object",t.SensorTabIndex="-1"},5622:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:60,n=null;return function(){for(var r=this,i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];clearTimeout(n),n=setTimeout((function(){e.apply(r,o)}),t)}}},1604:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=1;t.default=function(){return"".concat(n++)}},7224:(e,t,n)=>{"use strict";t.ak=void 0;var r=n(3536);t.ak=function(e,t){var n=(0,r.getSensor)(e);return n.bind(t),function(){n.unbind(t)}}},3536:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.removeSensor=t.getSensor=void 0;var r,i=(r=n(1604))&&r.__esModule?r:{default:r},o=n(7919),a=n(565),s={};t.getSensor=function(e){var t=e.getAttribute(a.SizeSensorId);if(t&&s[t])return s[t];var n=(0,i.default)();e.setAttribute(a.SizeSensorId,n);var r=(0,o.createSensor)(e);return s[n]=r,r},t.removeSensor=function(e){var t=e.element.getAttribute(a.SizeSensorId);e.element.removeAttribute(a.SizeSensorId),e.destroy(),t&&s[t]&&delete s[t]}},7919:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createSensor=void 0;var r=n(9451),i=n(3512),o="undefined"!=typeof ResizeObserver?i.createSensor:r.createSensor;t.createSensor=o},9451:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createSensor=void 0;var r,i=(r=n(5622))&&r.__esModule?r:{default:r},o=n(565);t.createSensor=function(e){var t=void 0,n=[],r=(0,i.default)((function(){n.forEach((function(t){t(e)}))})),a=function(){t&&t.parentNode&&(t.contentDocument&&t.contentDocument.defaultView.removeEventListener("resize",r),t.parentNode.removeChild(t),t=void 0,n=[])};return{element:e,bind:function(i){t||(t=function(){"static"===getComputedStyle(e).position&&(e.style.position="relative");var t=document.createElement("object");return t.onload=function(){t.contentDocument.defaultView.addEventListener("resize",r),r()},t.style.display="block",t.style.position="absolute",t.style.top="0",t.style.left="0",t.style.height="100%",t.style.width="100%",t.style.overflow="hidden",t.style.pointerEvents="none",t.style.zIndex="-1",t.style.opacity="0",t.setAttribute("class",o.SensorClassName),t.setAttribute("tabindex",o.SensorTabIndex),t.type="text/html",e.appendChild(t),t.data="about:blank",t}()),-1===n.indexOf(i)&&n.push(i)},destroy:a,unbind:function(e){var r=n.indexOf(e);-1!==r&&n.splice(r,1),0===n.length&&t&&a()}}}},3512:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createSensor=void 0;var r,i=(r=n(5622))&&r.__esModule?r:{default:r};t.createSensor=function(e){var t=void 0,n=[],r=(0,i.default)((function(){n.forEach((function(t){t(e)}))})),o=function(){t.disconnect(),n=[],t=void 0};return{element:e,bind:function(i){var o;t||((o=new ResizeObserver(r)).observe(e),r(),t=o),-1===n.indexOf(i)&&n.push(i)},destroy:o,unbind:function(e){var r=n.indexOf(e);-1!==r&&n.splice(r,1),0===n.length&&t&&o()}}}},9826:(e,t,n)=>{var r=n(158);function i(e,t){var n,i=null;if(!e||"string"!=typeof e)return i;for(var o,a,s=r(e),l="function"==typeof t,c=0,u=s.length;c<u;c++)o=(n=s[c]).property,a=n.value,l?t(o,a,n):a&&(i||(i={}),i[o]=a);return i}e.exports=i,e.exports.default=i},2370:(e,t,n)=>{"use strict";var r=n(3656);t.__esModule=!0,t.isIOS=t.isAndroid=t.isWeb=t.isWechatApp=t.isMiniApp=t.isReactNative=t.isWeex=t.isNode=void 0;var i="undefined"!=typeof __sfc__,o="object"==typeof navigator&&("Mozilla"===navigator.appCodeName||"Gecko"===navigator.product),a=void 0!==r&&!(!r.versions||!r.versions.node);t.isNode=a;var s="function"==typeof callNative||"object"==typeof WXEnvironment&&"Web"!==WXEnvironment.platform;t.isWeex=s;var l="undefined"!=typeof __fbBatchedBridgeConfig;t.isReactNative=l;var c="object"==typeof my&&void 0!==my.getSystemInfo&&!i;t.isMiniApp=c;var u="object"==typeof wx&&void 0!==wx.getSystemInfo;t.isWechatApp=u;var h=o&&!c&&!u||i;t.isWeb=h;var p={};c&&(p=my.getSystemInfoSync()),u&&(p=wx.getSystemInfoSync()),s&&(p=navigator);var d=c||u||s?"android"===(p.platform||"").toLowerCase():!!h&&Boolean(navigator.userAgent.match(/android/i));t.isAndroid=d;var f=c||u||s?["ios","iOS","iPhone OS"].indexOf(p.platform)>-1:!!h&&Boolean(navigator.userAgent.match(/(iphone|ipod|ipad)/i));t.isIOS=f},8770:t=>{"use strict";t.exports=e},9835:e=>{"use strict";e.exports=t},3618:e=>{"use strict";e.exports=n},4725:e=>{"use strict";e.exports=r},1024:e=>{"use strict";e.exports=i},314:e=>{"use strict";e.exports=o},9479:e=>{"use strict";e.exports=a},2721:e=>{"use strict";e.exports=s},3321:()=>{},6964:(e,t,n)=>{var r=n(3606).default;function i(){"use strict";e.exports=i=function(){return t},e.exports.__esModule=!0,e.exports.default=e.exports;var t={},n=Object.prototype,o=n.hasOwnProperty,a=Object.defineProperty||function(e,t,n){e[t]=n.value},s="function"==typeof Symbol?Symbol:{},l=s.iterator||"@@iterator",c=s.asyncIterator||"@@asyncIterator",u=s.toStringTag||"@@toStringTag";function h(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{h({},"")}catch(e){h=function(e,t,n){return e[t]=n}}function p(e,t,n,r){var i=t&&t.prototype instanceof m?t:m,o=Object.create(i.prototype),s=new w(r||[]);return a(o,"_invoke",{value:S(e,n,s)}),o}function d(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=p;var f={};function m(){}function g(){}function y(){}var v={};h(v,l,(function(){return this}));var _=Object.getPrototypeOf,b=_&&_(_(L([])));b&&b!==n&&o.call(b,l)&&(v=b);var E=y.prototype=m.prototype=Object.create(v);function T(e){["next","throw","return"].forEach((function(t){h(e,t,(function(e){return this._invoke(t,e)}))}))}function x(e,t){function n(i,a,s,l){var c=d(e[i],e,a);if("throw"!==c.type){var u=c.arg,h=u.value;return h&&"object"==r(h)&&o.call(h,"__await")?t.resolve(h.__await).then((function(e){n("next",e,s,l)}),(function(e){n("throw",e,s,l)})):t.resolve(h).then((function(e){u.value=e,s(u)}),(function(e){return n("throw",e,s,l)}))}l(c.arg)}var i;a(this,"_invoke",{value:function(e,r){function o(){return new t((function(t,i){n(e,r,t,i)}))}return i=i?i.then(o,o):o()}})}function S(e,t,n){var r="suspendedStart";return function(i,o){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===i)throw o;return{value:void 0,done:!0}}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var s=C(a,n);if(s){if(s===f)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var l=d(e,t,n);if("normal"===l.type){if(r=n.done?"completed":"suspendedYield",l.arg===f)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r="completed",n.method="throw",n.arg=l.arg)}}}function C(e,t){var n=t.method,r=e.iterator[n];if(void 0===r)return t.delegate=null,"throw"===n&&e.iterator.return&&(t.method="return",t.arg=void 0,C(e,t),"throw"===t.method)||"return"!==n&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+n+"' method")),f;var i=d(r,e.iterator,t.arg);if("throw"===i.type)return t.method="throw",t.arg=i.arg,t.delegate=null,f;var o=i.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,f):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,f)}function A(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function R(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function w(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(A,this),this.reset(!0)}function L(e){if(e){var t=e[l];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,r=function t(){for(;++n<e.length;)if(o.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return r.next=r}}return{next:O}}function O(){return{value:void 0,done:!0}}return g.prototype=y,a(E,"constructor",{value:y,configurable:!0}),a(y,"constructor",{value:g,configurable:!0}),g.displayName=h(y,u,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===g||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,y):(e.__proto__=y,h(e,u,"GeneratorFunction")),e.prototype=Object.create(E),e},t.awrap=function(e){return{__await:e}},T(x.prototype),h(x.prototype,c,(function(){return this})),t.AsyncIterator=x,t.async=function(e,n,r,i,o){void 0===o&&(o=Promise);var a=new x(p(e,n,r,i),o);return t.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},T(E),h(E,u,"Generator"),h(E,l,(function(){return this})),h(E,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=L,w.prototype={constructor:w,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(R),!e)for(var t in this)"t"===t.charAt(0)&&o.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var s=o.call(i,"catchLoc"),l=o.call(i,"finallyLoc");if(s&&l){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&o.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var i=r;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,f):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),f},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),R(n),f}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;R(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:L(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),f}},t}e.exports=i,e.exports.__esModule=!0,e.exports.default=e.exports},3606:e=>{function t(n){return e.exports=t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},1109:(e,t,n)=>{var r=n(6964)();e.exports=r;try{regeneratorRuntime=r}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=r:Function("r","regeneratorRuntime = r")(r)}},4722:(e,t,n)=>{"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}n.d(t,{Z:()=>r})},3192:(e,t,n)=>{"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.d(t,{Z:()=>r})},6838:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(1347);function i(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,(0,r.Z)(i.key),i)}}function o(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}},6297:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(1347);function i(e,t,n){return(t=(0,r.Z)(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},3050:(e,t,n)=>{"use strict";function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}n.d(t,{Z:()=>r})},3659:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(6297);function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}},613:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(3146);function i(e,t){if(null==e)return{};var n,i,o=(0,r.Z)(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)n=a[i],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}},3146:(e,t,n)=>{"use strict";function r(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}n.d(t,{Z:()=>r})},8535:(e,t,n)=>{"use strict";function r(e,t){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},r(e,t)}n.d(t,{Z:()=>r})},5162:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(6198);function i(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,s=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw i}}return s}}(e,t)||(0,r.Z)(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},9908:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(4722),i=n(6198);function o(e){return function(e){if(Array.isArray(e))return(0,r.Z)(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||(0,i.Z)(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},1347:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(7743);function i(e){var t=function(e,t){if("object"!==(0,r.Z)(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,"string");if("object"!==(0,r.Z)(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===(0,r.Z)(t)?t:String(t)}},7743:(e,t,n)=>{"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}n.d(t,{Z:()=>r})},6198:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(4722);function i(e,t){if(e){if("string"==typeof e)return(0,r.Z)(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?(0,r.Z)(e,t):void 0}}},6744:e=>{"use strict";e.exports=JSON.parse('{"advance.components.AddSheetbar.Component.PleaseUseThisFunctionIn":"Please use this function in the default canvas. Currently, the \\"add tab\\" function of other canvases is not supported.","advance.components.AddSheetbar.AddATab":"Add a tab","advance.components.AddSheetbar.registerMeta.AddTheSelectedNodesAnd":"Add the selected nodes and edges to the new canvas","advance.components.AddSheetbar.registerMeta.RelayoutOrNot":"Relayout or not","advance.components.AjustLayout.Component.GridLayout":"Grid Layout","advance.components.AjustLayout.Component.ConcentricCircleLayout":"Concentric circle layout","advance.components.AjustLayout.Component.HierarchicalLayout":"Hierarchical layout","advance.components.AjustLayout.Component.LayoutIndex":"Layout {index}","advance.components.AjustLayout.Component.SelectANode":"Select a node:","advance.components.AjustLayout.Component.SelectANode.1":"Select a node","advance.components.AjustLayout.Component.SelectLayout":"Select Layout:","advance.components.AjustLayout.Component.PleaseSelectALayout":"Please select a layout","advance.components.AjustLayout.Component.AddLayout":"Add Layout","advance.components.AjustLayout.Component.StartAdjustment":"Start adjustment","advance.components.AjustLayout.LayoutAdjustment":"Layout Adjustment","advance.components.AjustLayout.registerMeta.SubgraphLayout":"Subgraph layout","advance.components.AnalysisHistory.Component.FailedToObtainTheTemplate":"Failed to obtain the template list. No service is available to obtain the template.","advance.components.AnalysisHistory.Component.FailedToObtainTheAnalysis":"Failed to obtain the analysis history template list.","advance.components.AnalysisHistory.Component.SaveFailedThereIsNo":"Save failed. There is no service to save the template.","advance.components.AnalysisHistory.Component.TheHistoricalAnalysisLinkTemplate":"The historical analysis link template {name}({description}) has been saved. You can use the use analysis template in the lower-right corner.","advance.components.AnalysisHistory.Component.SaveFailed":"Save failed","advance.components.AnalysisHistory.Component.FailedToRemoveNoService":"Failed to remove, no service to remove the template","advance.components.AnalysisHistory.Component.HistoricalAnalysisLinkTemplateTitle":"Historical analysis link template {title} deleted successfully","advance.components.AnalysisHistory.Component.FailedToDelete":"Failed to delete","advance.components.AnalysisHistory.Component.ManageExistingTemplates":"Manage existing templates","advance.components.AnalysisHistory.Component.Delete":"Delete","advance.components.AnalysisHistory.Component.NoRecord":"No record","advance.components.AnalysisHistory.Component.HistoryList":"History list","advance.components.AnalysisHistory.Component.TheAnalysisTemplateIsDetected":"⭐◆ The analysis template is detected for this project. Click here to use it.","advance.components.AnalysisHistory.Component.UseAnalysisTemplates":"Use Analysis templates","advance.components.AnalysisHistory.Component.NoHistoryPleaseAnalyzeThe":"No history, please analyze the data first","advance.components.AnalysisHistory.Component.PrecipitationAnalysisHistory":"Precipitation Analysis history","advance.components.AnalysisHistory.ConfigurePanel.Description":"Description:","advance.components.AnalysisHistory.ConfigurePanel.None":"None","advance.components.AnalysisHistory.ConfigurePanel.ClickANodeToConfigure":"Click a node to configure parameters.","advance.components.AnalysisHistory.ParamterizePanel.WhenSwipingTheSelectedText":"When swiping the selected text, lift the mouse within the range of the parameter value text to complete the parameterized","advance.components.AnalysisHistory.ParamterizePanel.BoxSelectionDoNotSpan":"Box selection do not span parameterized content","advance.components.AnalysisHistory.ParamterizePanel.FailedToNameTheVariable":"Failed to name. The variable name must start with a letter and contain no special characters.","advance.components.AnalysisHistory.ParamterizePanel.NamingFailedDuplicateParameterNaming":"Naming failed. Duplicate parameter naming cannot be used in one parameter.","advance.components.AnalysisHistory.ParamterizePanel.Description":"Description:","advance.components.AnalysisHistory.ParamterizePanel.AuxiliaryDescriptionOfTheHistory":"Auxiliary description of the history","advance.components.AnalysisHistory.ParamterizePanel.ClickTheValueInThe":"Click the value in the object to parameterize it.","advance.components.AnalysisHistory.ParamterizePanel.SelectSomeTextToParameterize":"Select some text to parameterize","advance.components.AnalysisHistory.ParamterizePanel.NameEnglish":"Name (English)","advance.components.AnalysisHistory.ParamterizePanel.NameTheParameter":"Name the parameter","advance.components.AnalysisHistory.ParamterizePanel.EnterAName":"Enter a name","advance.components.AnalysisHistory.ParamterizePanel.Description.1":"Description","advance.components.AnalysisHistory.ParamterizePanel.AuxiliaryDescriptionOfThisParameter":"Auxiliary description of this parameter","advance.components.AnalysisHistory.ParamterizePanel.Cancel":"Cancel","advance.components.AnalysisHistory.ParamterizePanel.Ok":"OK","advance.components.AnalysisHistory.ParamterizePanel.Parameterized":"Parameterized","advance.components.AnalysisHistory.ParamterizePanel.ClickANodeToConfigure":"Click a node to configure parameters.","advance.components.AnalysisHistory.ParamterizePanel.ClickHistoryFromTheLeft":"Click History from the left timeline to add a template","advance.components.AnalysisHistory.TemplateDrawer.AssetComponentidIsNotFound":"Asset {componentId} is not found. Please configure it in the canvas first.","advance.components.AnalysisHistory.TemplateDrawer.TheCurrentNodeFailedTo":"The current node failed to execute. Re-execute the node from scratch.","advance.components.AnalysisHistory.TemplateDrawer.AnalysisLinkTemplate":"Analysis link template","advance.components.AnalysisHistory.TemplateDrawer.SelectTemplate":"Select Template","advance.components.AnalysisHistory.TemplateDrawer.ExecutionMethod":"Execution method","advance.components.AnalysisHistory.TemplateDrawer.AutomaticStepByStepExecution":"Automatic step-by-step execution","advance.components.AnalysisHistory.TemplateDrawer.ManualStepByStepExecution":"Manual step-by-step execution","advance.components.AnalysisHistory.TemplateDrawer.DoNotConfigureUseDefault":"Do not configure, use default parameters to execute","advance.components.AnalysisHistory.TemplateModal.Start":"Start","advance.components.AnalysisHistory.TemplateModal.End":"End","advance.components.AnalysisHistory.TemplateModal.ThereIsNoContentTo":"There is no content to save. Please add the history to the template first.","advance.components.AnalysisHistory.TemplateModal.Save":"Save","advance.components.AnalysisHistory.TemplateModal.Name":"Name","advance.components.AnalysisHistory.TemplateModal.NameTheTemplate":"Name the template","advance.components.AnalysisHistory.TemplateModal.EnterATemplateName":"Enter a Template name","advance.components.AnalysisHistory.TemplateModal.Description":"Description","advance.components.AnalysisHistory.TemplateModal.AuxiliaryDescription":"Auxiliary description","advance.components.AnalysisHistory.TemplateModal.Ok":"OK","advance.components.AnalysisHistory.TemplateModal.AnalysisTemplatesStoredAsWorkbook":"Analysis templates stored as Workbook","advance.components.AnalysisHistory.TemplateModal.PrecipitationAnalysisHistory":"Precipitation Analysis history","advance.components.AnalysisHistory.TemplateModal.SaveAndCloseTheDialog":"Save and close the dialog box","advance.components.AnalysisHistory.TemplateModal.Close":"Close","advance.components.AnalysisHistory.TemplateModal.NoHistoryIsAvailablePlease":"No history is available. Please perform operations on the graph first.","advance.components.AnalysisHistory.TemplateModal.OperationHistory":"Operation History","advance.components.AnalysisHistory.TemplateModal.SelectRecordsOnTheTimeline":"Select Records on the timeline to add them to the analysis link template.","advance.components.AnalysisHistory.TemplateModal.AnalysisLinkTemplate":"Analysis link template","advance.components.AnalysisHistory.info.AnalyzeHistoricalPrecipitation":"Analyze historical precipitation","advance.components.AnalysisHistory.info.RecordsTheAnalysisHistoryAnd":"Records the analysis history and can be deposited as a template.","advance.components.AnalysisHistory.registerMeta.SaveAnalysisHistoryTemplateService":"Save analysis History Template service","advance.components.AnalysisHistory.registerMeta.ReadAnalysisHistoryTemplateList":"Read analysis history template list service","advance.components.AnalysisHistory.registerMeta.DeleteAnalysisHistoryTemplateService":"Delete analysis History Template service","advance.components.AnalysisHistory.registerMeta.PlacementOrientation":"Placement orientation","advance.components.AnalysisHistory.registerMeta.Top":"Top","advance.components.AnalysisHistory.registerMeta.Bottom":"Bottom","advance.components.AnalysisHistory.registerMeta.HistoryBarHeight":"History bar height","advance.components.AnalysisHistory.util.Query":"Query","advance.components.AnalysisHistory.util.Analysis":"Analysis","advance.components.AnalysisHistory.util.Configuration":"Configuration","advance.components.AnalysisHistory.util.UnparameterizedContentCannotBeModified":"Unparameterized content cannot be modified","advance.components.Assistant.Component.NoDataFound":"No data found","advance.components.Assistant.Component.SetApiKeyFirst":"Set API Key first","advance.components.Assistant.Component.StartQueryingGraphData":"Start querying graph data...","advance.components.Assistant.Component.AiAssistant":"AI assistant","advance.Assistant.Dialog.input.AiAssistantServesYou":"AI assistant serves you","advance.Assistant.Dialog.input.NewConversation":"New Conversation","advance.Assistant.Header.StopQuery":"Stop query","advance.components.Assistant.info.AiAssistant":"AI assistant","advance.components.Assistant.registerMeta.DataService":"Data Service","advance.components.Assistant.registerMeta.Size":"Size","advance.components.Assistant.registerMeta.Location":"Location","advance.components.Assistant.registerMeta.UpperLeft":"Upper left","advance.components.Assistant.registerMeta.UpperRight":"Upper right","advance.components.Assistant.registerMeta.LowerLeft":"Lower left","advance.components.Assistant.registerMeta.LowerRight":"Lower right","advance.components.Assistant.registerMeta.Offset":"Offset","advance.components.Assistant.registerMeta.Draggable":"Draggable","advance.components.Assistant.registerMeta.Welcome":"Welcome","advance.components.Assistant.registerMeta.HelloIAmGraphinsightAssistant":"Hello! I am GraphInsight assistant. Do you have any questions or requirements about GraphInsight?","advance.components.Assistant.registerMeta.PromptWords":"Prompt words","advance.components.Assistant.registerMeta.SupportedVariablesGraphschemaUsageGraphschema":"Supported variables: graphSchema, usage: \\"${graphSchema}\\"","advance.components.Assistant.registerMeta.GraphinsightIsAnExtensibleGraph":"GraphInsight is an extensible graph visual analysis platform, including functional modules such as data source management, composition, personalized configuration of graph elements, and graph visual analysis.","advance.components.Assistant.registerMeta.YourTaskIsToAct":"Your task is to act as an assistant robot to provide guidelines for GraphInsight of users, including generating corresponding Cypher Query statements according to their needs.","advance.components.Assistant.registerMeta.CypherStatementIsAppliedTo":"Cypher statement is applied to Neo4j declarative graph query language","advance.components.Assistant.registerMeta.ForExampleWhenAUser":"For example, when a user says \\"I want to find the most answered question\\", you can give a query in the following way:","advance.components.Assistant.registerMeta.NoteThatYouOnlyNeed":"Note that you only need to return the query node. You do not need to query attributes.","advance.components.Assistant.registerMeta.TheDataInformationOfThe":"The data information of the graph viewed by the current user is as follows:","advance.components.Assistant.registerMeta.PleaseDoNotAnswerQuestions":"Please do not answer questions unrelated to GraphInsight.","advance.components.Assistant.registerMeta.YouOnlyNeedToGive":"You only need to give the query code based on the user\'s answer and inform the user that the query is being made for you without too much explanation.","advance.components.Assistant.registerMeta.StartTheConversationWithThe":"Start the conversation with the user.","advance.components.CypherQuery.Component.QueryFailed":"Query failed","advance.components.CypherQuery.Component.PublishAsATemplate":"Publish as a template","advance.components.CypherQuery.Component.ExecuteAQuery":"Execute a query","advance.components.CypherQuery.info.CypherStatementQuery":"Cypher statement query","advance.components.CypherQuery.info.DataQueryModule":"Data Query module","advance.components.CypherQuery.registerMeta.DataService":"Data Service","advance.components.CypherQuery.registerMeta.QueryLimits":"Query limits","advance.components.CypherQuery.registerMeta.PublishAsATemplate":"Publish as a template","advance.components.CypherQuery.registerMeta.PublishTemplateService":"Publish Template service","advance.components.CypherQuery.registerMeta.InitialStatement":"Initial statement","advance.components.EdgeBundling.EdgeBinding":"Edge binding","advance.components.GraphAnnotation.Component.Red":"Red","advance.components.GraphAnnotation.Component.Green":"Green","advance.components.GraphAnnotation.Component.Blue":"Blue","advance.components.GraphAnnotation.Component.Yellow":"Yellow","advance.components.GraphAnnotation.Component.Black":"Black","advance.components.GraphAnnotation.Component.Cancel":"Cancel","advance.components.GraphAnnotation.Component.Node":"Node","advance.components.GraphAnnotation.Component.Edge":"Edge","advance.components.GraphAnnotation.Component.NodeGrouping":"Node grouping","advance.components.GraphAnnotation.Component.Canvas":"Canvas","advance.components.GraphAnnotation.Component.DoubleClickHereToStart":"Double-click here to start editing","advance.components.GraphAnnotation.Component.LabelMenuitemnameitemtype":"Label {menuItemNameItemType}","advance.components.GraphAnnotation.Component.MarkMenuitemnameitemtype":"Mark {menuItemNameItemType}","advance.components.GraphAnnotation.Menu":"MENU","advance.components.GraphAnnotation.FigureAnnotationOftenIntegratedIn":"Figure annotation, often integrated in the right-click menu","advance.components.GraphAnnotation.registerMeta.MarkNodesAtTheSame":"Mark nodes at the same time","advance.components.GraphAnnotation.registerMeta.WhenYouClickANode":"When you click a node marker","advance.components.GraphAnnotation.registerMeta.MarkNodesOnlyYouCannot":"Mark nodes only. You cannot add labels.","advance.components.GraphAnnotation.registerMeta.AddOnlyLabelsNotNodes":"Add only labels, not nodes","advance.components.GraphAnnotation.registerMeta.LabelingMethod":"Labeling method","advance.components.GremlinPathQuery.Component.ShortestPath":"Shortest path","advance.components.GremlinPathQuery.Component.QueryTheShortestPathBetween":"Query the shortest path between two nodes","advance.components.GremlinPathQuery.Component.StartNode":"Start node","advance.components.GremlinPathQuery.Component.TargetNode":"Target node","advance.components.GremlinPathQuery.Component.MaximumDegree":"Maximum degree","advance.components.GremlinPathQuery.Component.LimitTheNumberOfPaths":"Limit the number of paths","advance.components.GremlinPathQuery.Component.LoopDetection":"Loop detection","advance.components.GremlinPathQuery.Component.ChecksWhetherOneOrTwo":"Checks whether one or two nodes are in the loop and queries the loop.","advance.components.GremlinPathQuery.Component.TargetNode.1":"Target node 1","advance.components.GremlinPathQuery.Component.TargetNode.2":"Target node 2","advance.components.GremlinPathQuery.Component.CommonNeighbor":"Common neighbor","advance.components.GremlinPathQuery.Component.EnterTparametername":"Enter {tParameterName}","advance.components.GremlinPathQuery.Component.PleaseLookForward":"Please look forward","advance.components.GremlinPathQuery.Component.TheQueryTemplateDoesNot":"The query template does not exist in this project.","advance.components.GremlinPathQuery.Component.GremlinTemplateQueryFailed":"Gremlin template query failed","advance.components.GremlinPathQuery.Component.GremlinTemplateQuery":"Gremlin template query","advance.components.GremlinPathQuery.Component.PathQuery":"Path query","advance.components.GremlinPathQuery.Component.PathList":"Path list","advance.components.GremlinPathQuery.Component.SelectAPathTemplate":"Select a path Template","advance.components.GremlinPathQuery.Component.Description":"Description","advance.components.GremlinPathQuery.Component.Parameter":"Parameter","advance.components.GremlinPathQuery.Component.QueryStatement":"Query statement","advance.components.GremlinPathQuery.Component.Query":"Query","advance.components.GremlinPathQuery.GremlinTemplateStatementQueryPanel":"Gremlin template statement query panel","advance.components.GremlinPathQuery.QuicklyQueryGraphDataThrough":"Quickly query graph data through Gremlin template statements","advance.components.GremlinPathQuery.registerMeta.GremlinQueryTemplate":"Gremlin query Template","advance.components.GremlinPathQuery.registerMeta.DataService":"Data Service","advance.components.GremlinQuery.Component.FailedToExecuteGremlinQuery":"Failed to execute Gremlin query","advance.components.GremlinQuery.Component.FailureReasonResultmessage":"Failure Reason:{resultMessage}","advance.components.GremlinQuery.Component.PublishAsATemplate":"Publish as a template","advance.components.GremlinQuery.Component.ExecuteAQuery":"Execute a query","advance.components.GremlinQuery.Component.LimitConfigTip":"The suffix will be appended to gremlin code: .limt({value})","advance.components.GremlinQuery.Component.TimeoutConfigTip":"The constraint will be added to gremlin code: .with(\'evaluationTimeout\', {value})","advance.components.GremlinQuery.info.GremlinQuery":"Gremlin query","advance.components.GremlinQuery.info.QueryGraphDataThroughGremlin":"Query graph data through Gremlin statements","advance.components.GremlinQuery.registerMeta.DataService":"Data Service","advance.components.GremlinQuery.registerMeta.PublishAsATemplate":"Publish as a template","advance.components.GremlinQuery.registerMeta.IsShowLimit":"Limit Configurable","advance.components.GremlinQuery.registerMeta.IsShowTimeout":"Timeout Configurable","advance.components.GremlinQuery.registerMeta.PublishTemplateService":"Publish Template service","advance.components.GremlinQuery.registerMeta.InitialQuery":"Initial query","advance.components.GremlinQuery.registerMeta.Height":"Height","advance.components.JSONMode.info.CodeMode":"Code mode","advance.components.JSONMode.info.ShowDataInCode":"Show data in code","advance.components.JSONMode.registerMeta.StyleTheme":"Style theme","advance.components.ModeSwitch.Component.CanvasMode":"Canvas mode","advance.components.ModeSwitch.ModeSwitching":"Mode switching","advance.components.ModeSwitch.IntegratesMultipleAnalysisModesAnd":"Integrates multiple analysis modes and supports switching","advance.components.ModeSwitch.registerMeta.IntegratedComponents":"Integrated Components","advance.components.ModeSwitch.registerMeta.PlacementOrientation":"Placement orientation","advance.components.ModeSwitch.registerMeta.TopLeftTop":"top left/top","advance.components.ModeSwitch.registerMeta.TopRightRight":"Top right/right","advance.components.ModeSwitch.registerMeta.LowerLeftLeft":"Lower left/left","advance.components.ModeSwitch.registerMeta.BottomRightBottom":"bottom right/bottom","advance.components.ModeSwitch.registerMeta.OffsetDistance":"Offset distance","advance.components.PublishTemplate.SelectAServiceToPublish":"Select a service to publish as a template","advance.components.PublishTemplate.ParameterizeExistingParametersAndOverwrite":"Parameterize existing parameters and overwrite existing parameters.","advance.components.PublishTemplate.TheTemplateNameIsEmpty":"The template name is empty or the format is incorrect!","advance.components.PublishTemplate.TemplatePublishedSuccessfully":"Template published successfully","advance.components.PublishTemplate.ParameterName":"Parameter name","advance.components.PublishTemplate.Type":"Type","advance.components.PublishTemplate.ReplacementValue":"Replacement value","advance.components.PublishTemplate.Operation":"Operation","advance.components.PublishTemplate.AreYouSureYouWant":"Are you sure you want to delete it?","advance.components.PublishTemplate.Ok":"OK","advance.components.PublishTemplate.Cancel":"Cancel","advance.components.PublishTemplate.PublishAsATemplate":"Publish as a template","advance.components.PublishTemplate.Publish":"Publish","advance.components.PublishTemplate.TemplateName":"Template name","advance.components.PublishTemplate.TheTemplateNameCanOnly":"The template name can only contain letters, numbers, or underscores, and can only start with a letter.","advance.components.PublishTemplate.OriginalStatement":"Original statement","advance.components.PublishTemplate.SelectTheContentToBe":"Select the content to be parameterized, and then click the parameterized button on the right to proceed to the next step.","advance.components.PublishTemplate.SelectTheParameterValueIn":"Select the parameter value in {fileType} and perform a parameterized operation.","advance.components.PublishTemplate.Parameterized":"Parameterized","advance.components.PublishTemplate.TemplateStatement":"Template statement","advance.components.PublishTemplate.ParameterList":"Parameter list","advance.components.PublishTemplate.TemplateDescription":"Template description","advance.components.PublishTemplate.FiletypeParameterized":"{fileType} parameterized","advance.components.PublishTemplate.EnterTheNameOfThe":"Enter the name of the parameter!","advance.components.PublishTemplate.ParameterType":"Parameter type","advance.components.PublishTemplate.SelectAParameterType":"Select a parameter type!","advance.components.Redo.info.Redo":"Redo","advance.components.Redo.info.RedoTheCanvasEntersThe":"Redo, the canvas enters the next state","advance.components.SearchBar.Component.Type":"Type:","advance.components.SearchBar.Component.All":"All","advance.components.SearchBar.Component.Properties":"Properties:","advance.components.SearchBar.Component.EnterAnAttributeValue":"Enter an attribute value","advance.components.SearchBar.IsoGqlSearchBox":"ISO-GQL search box","advance.components.SearchBar.UseIsoGqlStatementsTo":"Use ISO-GQL statements to quickly query graph data","advance.components.SearchBar.registerMeta.SearchBar":"Search bar","advance.components.SearchBar.registerMeta.DataService":"Data Service","advance.components.SearchBar.registerMeta.SchemaService":"Schema Service","advance.components.Sheetbar.Component.DefaultCanvas":"Default canvas","advance.components.Sheetbar.Component.UnnamedCanvas":"Unnamed canvas","advance.components.Sheetbar.Component.Delete":"Delete","advance.components.Sheetbar.MultiCanvasTab":"Multi-canvas tab","advance.components.Sheetbar.CreateACanvasTabTo":"Create a canvas tab to assist dynamic analysis","advance.components.Sheetbar.registerMeta.PlacementOrientation":"Placement orientation","advance.components.Sheetbar.registerMeta.Top":"Top","advance.components.Sheetbar.registerMeta.Bottom":"Bottom","advance.components.Sheetbar.registerMeta.TabHeight":"Tab height","advance.components.SnapshotGallery.Snapshot.GalleryPicture":"Gallery picture","advance.components.SnapshotGallery.info.SnapshotGallery":"Snapshot gallery","advance.components.SnapshotGallery.info.SaveTheAnalysisProcessTo":"Save the analysis process to the gallery through snapshots","advance.components.SnapshotGallery.registerMeta.SnapshotGallery":"Snapshot gallery","advance.components.SnapshotGallery.registerMeta.SnapshotGalleryShortcutCtrlX":"Snapshot Gallery (shortcut ctrl + x)","advance.components.SnapshotGallery.registerMeta.GalleryBackground":"Gallery background","advance.components.SnapshotGallery.registerMeta.DisplayDirection":"Display direction","advance.components.SnapshotGallery.registerMeta.HorizontalDisplay":"Horizontal display","advance.components.SnapshotGallery.registerMeta.VerticalDisplay":"Vertical display","advance.components.SnapshotGallery.registerMeta.GalleryLocation":"Gallery location","advance.components.SnapshotGallery.registerMeta.UpperLeft":"Upper left","advance.components.SnapshotGallery.registerMeta.UpperRight":"Upper right","advance.components.SnapshotGallery.registerMeta.LowerLeft":"Lower left","advance.components.SnapshotGallery.registerMeta.LowerRight":"Lower right","advance.components.SnapshotGallery.registerMeta.OffsetDistance":"Offset distance","advance.components.StructAnalysis.Component.AnalyzeTheSchemaAbstractionStructure":"Analyze the Schema Abstraction structure of all paths in the current canvas, that is, the type combination of nodes and edges in the path","advance.components.StructAnalysis.info.PathStructureAnalysis":"Path structure analysis","advance.components.StructAnalysis.info.AutomaticallyParseAllPathsOf":"Automatically parse all paths of the canvas for aggregation analysis.","advance.components.StyleSetting.Component.Node":"Node","advance.components.StyleSetting.Component.Edge":"Edge","advance.components.StyleSetting.StyleSettingPanel.StyleSettings":"Style settings","advance.components.StyleSetting.info.StyleSettings":"Style settings","advance.components.StyleSetting.info.SetElementStylesToCustomize":"Set element styles to customize grouping rules","advance.components.StyleSetting.registerMeta.StyleSettings":"Style settings","advance.components.StyleSetting.registerMeta.DataService":"Data Service","advance.components.SubGraphLayout.Component.NoSelectedElementInThe":"No selected element in the current canvas","advance.components.SubGraphLayout.Component.LayoutIndex":"Layout {index}","advance.components.SubGraphLayout.Component.SelectANode":"Select a node:","advance.components.SubGraphLayout.Component.SelectANode.1":"Select a node","advance.components.SubGraphLayout.Component.SelectLayout":"Select Layout:","advance.components.SubGraphLayout.Component.PleaseSelectALayout":"Please select a layout","advance.components.SubGraphLayout.Component.AddLayout":"Add Layout","advance.components.SubGraphLayout.Component.StartAdjustment":"Start adjustment","advance.components.SubGraphLayout.const.GridLayout":"Grid Layout","advance.components.SubGraphLayout.const.CircularLayout":"Circular layout","advance.components.SubGraphLayout.const.HierarchicalLayout":"Hierarchical layout","advance.components.SubGraphLayout.const.ConcentricCircleLayout":"Concentric circle layout","advance.components.SubGraphLayout.const.RadialLayout":"Radial layout","advance.components.SubGraphLayout.info.SubgraphLayout":"Subgraph layout","advance.components.SubGraphLayout.info.SubgraphLayoutPanel":"Subgraph layout panel","advance.components.SubGraphLayout.registerMeta.DefaultSubgraphPartition":"Default subgraph partition","advance.components.SubGraphLayout.registerMeta.MappingField":"Mapping field","advance.components.SubGraphLayout.registerMeta.SubgraphSpacing":"Subgraph spacing","advance.components.SubGraphLayout.registerMeta.SubgraphArrangementDirection":"Subgraph arrangement direction","advance.components.SubGraphLayout.registerMeta.Vertical":"Vertical","advance.components.SubGraphLayout.registerMeta.Horizontal":"Horizontal","advance.components.TableMode.Component.ExportedSuccessfully":"Exported successfully","advance.components.TableMode.Component.ExportFailed":"Export failed","advance.components.TableMode.Component.UseANewBrowserTab":"Use a new browser tab to open the screen splitting operation more efficiently","advance.components.TableMode.Component.ExportPointEdgeData":"Export point edge data","advance.components.TableMode.Component.CustomColumns":"Custom columns","advance.components.TableMode.Component.PointTable":"Point Table","advance.components.TableMode.Component.EdgeTable":"Edge table","advance.components.TableMode.info.TableMode":"Table mode","advance.components.TableMode.info.ShowNodesAndEdgesIn":"Show nodes and edges in the canvas as tables","advance.components.TableMode.registerMeta.CopySelectedContent":"Copy selected content","advance.components.TableMode.registerMeta.SupportsExportingData":"Supports exporting data","advance.components.TableMode.registerMeta.SupportTabSplitScreen":"Support tab split screen","advance.components.TableMode.registerMeta.ElementSelectionHighlight":"Element selection highlight","advance.components.TableMode.registerMeta.SplitTabRouting":"Split tab routing","advance.components.TemplateQuery.Component.EnterTparametername":"Enter {tParameterName}","advance.components.TemplateQuery.Component.EnterPkey":"Enter {pkey}","advance.components.TemplateQuery.Component.Template":"Template","advance.components.TemplateQuery.Component.CopiedSuccessfully":"Copied successfully","advance.components.TemplateQuery.Component.SelectATemplate":"Select a template","advance.components.TemplateQuery.Component.TemplateDescription":"Template description","advance.components.TemplateQuery.Component.TemplateParameters":"Template parameters","advance.components.TemplateQuery.Component.TemplateStatement":"Template statement","advance.components.TemplateQuery.Component.Query":"Query","advance.components.TemplateQuery.info.StatementTemplateQuery":"Statement template query","advance.components.TemplateQuery.info.QueryGraphDataThroughTemplates":"Query graph data through templates","advance.components.TemplateQuery.registerMeta.StatementTemplate":"Statement Template","advance.components.TemplateQuery.registerMeta.TemplateListService":"Template list service","advance.components.TemplateQuery.registerMeta.ExecuteQueryService":"Execute query service","advance.components.ThemeSetting.AddOrUpdateTheme.ConfigureTheCanvasBackgroundStyle":"Configure the canvas background style in the canvas settings asset, and configure the element style in the style settings asset or in the left-side configuration panel.","advance.components.ThemeSetting.AddOrUpdateTheme.ModifyTheCanvasBackgroundStyle":"Modify the canvas background style in the canvas settings asset, and configure the element style in the style settings asset or in the left-side modify panel.","advance.components.ThemeSetting.AddOrUpdateTheme.CreateATopic":"Create a topic","advance.components.ThemeSetting.AddOrUpdateTheme.EditTopic":"Edit topic","advance.components.ThemeSetting.AddOrUpdateTheme.TopicName":"Topic Name","advance.components.ThemeSetting.AddOrUpdateTheme.Description":"Description","advance.components.ThemeSetting.AddOrUpdateTheme.ThemeStyle":"Theme style","advance.components.ThemeSetting.AddOrUpdateTheme.NodeStyle":"Node style","advance.components.ThemeSetting.AddOrUpdateTheme.EdgeStyle":"Edge style","advance.components.ThemeSetting.AddOrUpdateTheme.CreateNow":"Create now","advance.components.ThemeSetting.AddOrUpdateTheme.ConfirmEditing":"Confirm editing","advance.components.ThemeSetting.Component.DeleteTheTopic":"Delete the topic?","advance.components.ThemeSetting.Component.DeleteATopic":"Delete a topic","advance.components.ThemeSetting.Component.EditTopic":"Edit topic","advance.components.ThemeSetting.Component.CreateATopic":"Create a topic","advance.components.ThemeSetting.Component.CustomTheme":"Custom Theme","advance.components.ThemeSetting.info.ThemeSettings":"Theme Settings","advance.components.ThemeSetting.info.YouCanConfigureThemeStyles":"You can configure theme styles independently.","advance.components.ThemeSetting.mockServices.TheThemeHasBeenCreated":"The theme has been created!","advance.components.ThemeSetting.mockServices.TheTopicHasBeenUpdated":"The topic has been updated.","advance.components.ThemeSetting.mockServices.TheTopicDoesNotExist":"The topic does not exist.","advance.components.ThemeSetting.mockServices.DeletedSuccessfully":"Deleted successfully","advance.components.ThemeSetting.registerMeta.GetThemeServices":"Get theme services","advance.components.ThemeSetting.registerMeta.AddThemeService":"Add theme service","advance.components.ThemeSetting.registerMeta.DeleteAThemeService":"Delete a theme service","advance.components.Undo.info.Revoke":"Revoke","advance.components.Undo.info.UndoTheCanvasReturnsTo":"Undo, the canvas returns to the previous state","advance.components.utils.csv.ExportDataCsv":"Export data. csv","advance.elements.CircleBar.NandinggeerNodes":"NANDINGGEER nodes","advance.elements.CircleBar.registerMeta.Size":"Size","advance.elements.CircleBar.registerMeta.Radius":"Radius","advance.elements.CircleBar.registerMeta.MappingField":"Mapping field","advance.elements.CircleBar.registerMeta.Color":"Color","advance.elements.CircleBar.registerMeta.FillColor":"Fill color","advance.elements.CircleBar.registerMeta.Label":"Label","advance.elements.CircleBar.registerMeta.Switch":"Switch","advance.elements.CircleBar.registerMeta.Icon":"Icon","advance.elements.CircleBar.registerMeta.Type":"Type","advance.elements.CircleBar.registerMeta.Text":"Text","advance.elements.CircleBar.registerMeta.Picture":"Picture","advance.elements.CircleBar.registerMeta.FontIcon":"Font icon","advance.elements.ClusterNode.ClusterNode":"Cluster node","advance.elements.ClusterNode.DonutComponentForDataDistribution":"Donut component for data distribution","advance.elements.ClusterNode.registerMeta.Label":"Label","advance.elements.ClusterNode.registerMeta.Switch":"Switch","advance.elements.ClusterNode.registerMeta.MappingField":"Mapping field","advance.elements.ReasonNode.StrawberryMap":"Strawberry map","advance.elements.ReasonNode.CompositeNodesIncludingRoseCharts":"Composite nodes, including rose charts, bar charts, and nodes, were originally used in attribution trees.","advance.ReasonNode.reason_analysis_node.draw_bizQuotas.Yes":"Yes","advance.ReasonNode.reason_analysis_node.draw_bizQuotas.No":"No","advance.ReasonNode.reason_analysis_node.draw_bizQuotas.Other":"Other","advance.ReasonNode.reason_analysis_node.draw_contribution.Contribution":"Contribution","advance.ReasonNode.reason_analysis_node.draw_rose.PreviousValue":"Previous value","advance.ReasonNode.reason_analysis_node.draw_rose.AfterChange":"After Change","advance.ReasonNode.reason_analysis_node.draw_runningState.Running":"Running,","advance.ReasonNode.reason_analysis_node.draw_runningState.Completed":"Completed,","advance.ReasonNode.reason_analysis_node.draw_runningState.BusinessIntervention":"Business intervention","advance.ReasonNode.reason_analysis_node.draw_runningState.BusinessNonIntervention":"Business non-intervention","advance.ReasonNode.reason_analysis_node.draw_variability.Variation":"Variation","advance.ReasonNode.reason_analysis_node.preprocess.Yes":"Yes","advance.ReasonNode.reason_analysis_node.preprocess.No":"No","advance.elements.ReasonNode.registerMeta.Size":"Size","advance.elements.ReasonNode.registerMeta.Radius":"Radius","advance.elements.ReasonNode.registerMeta.MappingField":"Mapping field","advance.elements.ReasonNode.registerMeta.Color":"Color","advance.elements.ReasonNode.registerMeta.FillColor":"Fill color","advance.elements.ReasonNode.registerMeta.Label":"Label","advance.elements.ReasonNode.registerMeta.Switch":"Switch","advance.elements.ReasonNode.registerMeta.Icon":"Icon","advance.elements.ReasonNode.registerMeta.Type":"Type","advance.elements.ReasonNode.registerMeta.Text":"Text","advance.elements.ReasonNode.registerMeta.Picture":"Picture","advance.elements.ReasonNode.registerMeta.FontIcon":"Font icon","advance.src.services.GremlinQuery.GremlinQuery":"Gremlin query","advance.src.services.HistoryAnalyseService.SaveAnalysisLinkTemplate":"Save analysis link template","advance.src.services.HistoryAnalyseService.TheDefaultSaveAnalysisLink":"The default save analysis link service provided by GI","advance.src.services.HistoryAnalyseService.DeleteAnAnalysisLinkTemplate":"Delete an analysis link template","advance.src.services.HistoryAnalyseService.TheDeleteAnalysisLinkService":"The delete analysis link service provided by GI by default. Error message:{successMsg}","advance.src.services.HistoryAnalyseService.QueryTheListOfHistorical":"Query the list of historical analysis link templates","advance.src.services.HistoryAnalyseService.TheQueryHistoryAnalysisLink":"The query history analysis link template service provided by GI by default","advance.src.services.LanguageQueryService.StatementQuery":"Statement query","advance.src.services.LanguageQueryService.QueryParameters":"Query parameters","advance.src.services.StyleSetting.StyleSettings":"Style settings","advance.src.services.TemplateService.PublishTemplate":"Publish Template","advance.src.services.TemplateService.GiDefaultServiceForPublishing":"GI default service for publishing templates","advance.src.services.TemplateService.QueryTemplateList":"Query template list","advance.src.services.TemplateService.ExecuteTemplateQuery":"Execute template query","advance.src.services.TemplateService.ExecuteTemplateQueryParameters":"Execute template query parameters","advance.src.services.ThemeSetting.AddTopic":"Add topic","advance.src.services.ThemeSetting.TheThemeHasBeenCreated":"The theme has been created!","advance.src.services.ThemeSetting.GetTopics":"Get topics","advance.src.services.ThemeSetting.UpdateTopic":"Update topic","advance.src.services.ThemeSetting.TheTopicHasBeenUpdated":"The topic has been updated.","advance.src.services.ThemeSetting.TheTopicDoesNotExist":"The topic does not exist.","advance.src.services.ThemeSetting.DeleteATopic":"Delete a topic","advance.src.services.ThemeSetting.DeletedSuccessfully":"Deleted successfully","advance.components.GremlinQuery.Component.CannotBeModifiedLimitNum":"Cannot be modified. limit(num) constraint exists in the statement.","advance.components.GremlinQuery.Component.TheStatementAddsASuffix":"The statement adds a suffix: .limt({limit}).","advance.components.GremlinQuery.Component.CannotBeModifiedWithEvaluationtimeout":"Cannot be modified. with(\'evaluationTimeout\', timeout) constraint exists in the statement.","advance.components.GremlinQuery.Component.StatementToAddConstraintsWith":"Statement to add constraints: .with(\'evaluationTimeout\', {timeout})","advance.src.services.CypherQuery.QuerySucceeded":"Query succeeded","advance.src.services.CypherQuery.TheCurrentQueryRequestIs":"The current query request is MOCK. Use it with the graph database.","advance.components.GraphAnnotation.registerMeta.DefaultTitleFillAttribute":"Default title fill attribute","advance.components.GraphAnnotation.registerMeta.DefaultContentFillAttribute":"Default content fill attribute","advance.components.TableMode.FilterPopover.NoteOnlyTheDisplayAnd":"Note: Only the display and hiding of data rows in the table are controlled.","advance.components.TableMode.FilterPopover.EnterASearchKeyword":"Enter a search keyword","advance.components.TableMode.FilterPopover.SelectAll":"Select all"}')},4623:e=>{"use strict";e.exports=JSON.parse('{"advance.components.AddSheetbar.Component.PleaseUseThisFunctionIn":"请在默认画布中使用该功能,暂不支持其他画布的「添加页签」功能","advance.components.AddSheetbar.AddATab":"新增页签","advance.components.AddSheetbar.registerMeta.AddTheSelectedNodesAnd":"将选中的节点与边添加到新画布中","advance.components.AddSheetbar.registerMeta.RelayoutOrNot":"是否重新布局","advance.components.AjustLayout.Component.GridLayout":"网格布局","advance.components.AjustLayout.Component.ConcentricCircleLayout":"同心圆布局","advance.components.AjustLayout.Component.HierarchicalLayout":"层次布局","advance.components.AjustLayout.Component.LayoutIndex":"布局{index}","advance.components.AjustLayout.Component.SelectANode":"选择节点:","advance.components.AjustLayout.Component.SelectANode.1":"请选择节点","advance.components.AjustLayout.Component.SelectLayout":"选择布局:","advance.components.AjustLayout.Component.PleaseSelectALayout":"请选择布局","advance.components.AjustLayout.Component.AddLayout":"添加布局","advance.components.AjustLayout.Component.StartAdjustment":"开始调整","advance.components.AjustLayout.LayoutAdjustment":"布局调整","advance.components.AjustLayout.registerMeta.SubgraphLayout":"子图布局","advance.components.AnalysisHistory.Component.FailedToObtainTheTemplate":"获取模版列表失败,无获取模版的服务","advance.components.AnalysisHistory.Component.FailedToObtainTheAnalysis":"分析历史模版列表获取失败","advance.components.AnalysisHistory.Component.SaveFailedThereIsNo":"保存失败,无保存模版的服务","advance.components.AnalysisHistory.Component.TheHistoricalAnalysisLinkTemplate":"历史分析链路模版 {name}({description}) 保存成功,您将可以右下方「使用分析模版」中使用","advance.components.AnalysisHistory.Component.SaveFailed":"保存失败","advance.components.AnalysisHistory.Component.FailedToRemoveNoService":"移除失败,无移除模版的服务","advance.components.AnalysisHistory.Component.HistoricalAnalysisLinkTemplateTitle":"历史分析链路模版 {title} 删除成功","advance.components.AnalysisHistory.Component.FailedToDelete":"删除失败","advance.components.AnalysisHistory.Component.ManageExistingTemplates":"管理已有模版","advance.components.AnalysisHistory.Component.Delete":"删除","advance.components.AnalysisHistory.Component.NoRecord":"暂无记录","advance.components.AnalysisHistory.Component.HistoryList":"历史记录列表","advance.components.AnalysisHistory.Component.TheAnalysisTemplateIsDetected":"⭐️检测到该项目存在分析模版,点击此处使用","advance.components.AnalysisHistory.Component.UseAnalysisTemplates":"使用分析模版","advance.components.AnalysisHistory.Component.NoHistoryPleaseAnalyzeThe":"暂无历史,请先分析数据","advance.components.AnalysisHistory.Component.PrecipitationAnalysisHistory":"沉淀分析历史","advance.components.AnalysisHistory.ConfigurePanel.Description":"描述:","advance.components.AnalysisHistory.ConfigurePanel.None":"无","advance.components.AnalysisHistory.ConfigurePanel.ClickANodeToConfigure":"请点击一个节点进行参数配置","advance.components.AnalysisHistory.ParamterizePanel.WhenSwipingTheSelectedText":"刷选文本时,请在参数值文字范围内抬起鼠标以完成参数化","advance.components.AnalysisHistory.ParamterizePanel.BoxSelectionDoNotSpan":"框选请勿跨越已参数化的内容","advance.components.AnalysisHistory.ParamterizePanel.FailedToNameTheVariable":"命名失败,变量名必须以字母开头,且不包含特殊字符","advance.components.AnalysisHistory.ParamterizePanel.NamingFailedDuplicateParameterNaming":"命名失败,在一个参数中,不可使用重复的参数命名","advance.components.AnalysisHistory.ParamterizePanel.Description":"描述:","advance.components.AnalysisHistory.ParamterizePanel.AuxiliaryDescriptionOfTheHistory":"该条历史记录的辅助描述","advance.components.AnalysisHistory.ParamterizePanel.ClickTheValueInThe":"点选对象中的值,进行参数化","advance.components.AnalysisHistory.ParamterizePanel.SelectSomeTextToParameterize":"刷选部分文字进行参数化","advance.components.AnalysisHistory.ParamterizePanel.NameEnglish":"名称(英文)","advance.components.AnalysisHistory.ParamterizePanel.NameTheParameter":"请为参数命名","advance.components.AnalysisHistory.ParamterizePanel.EnterAName":"输入名称","advance.components.AnalysisHistory.ParamterizePanel.Description.1":"描述","advance.components.AnalysisHistory.ParamterizePanel.AuxiliaryDescriptionOfThisParameter":"该参数的辅助描述","advance.components.AnalysisHistory.ParamterizePanel.Cancel":"取消","advance.components.AnalysisHistory.ParamterizePanel.Ok":"确定","advance.components.AnalysisHistory.ParamterizePanel.Parameterized":"参数化","advance.components.AnalysisHistory.ParamterizePanel.ClickANodeToConfigure":"请点击一个节点进行参数配置","advance.components.AnalysisHistory.ParamterizePanel.ClickHistoryFromTheLeft":"请先从左侧时间轴中点选历史记录加入模版图","advance.components.AnalysisHistory.TemplateDrawer.AssetComponentidIsNotFound":"未找到资产 {componentId},请先将它配置到画布中","advance.components.AnalysisHistory.TemplateDrawer.TheCurrentNodeFailedTo":"当前节点执行失败,点从头重新执行","advance.components.AnalysisHistory.TemplateDrawer.AnalysisLinkTemplate":"分析链路模版","advance.components.AnalysisHistory.TemplateDrawer.SelectTemplate":"选择模版","advance.components.AnalysisHistory.TemplateDrawer.ExecutionMethod":"执行方式","advance.components.AnalysisHistory.TemplateDrawer.AutomaticStepByStepExecution":"自动分步执行","advance.components.AnalysisHistory.TemplateDrawer.ManualStepByStepExecution":"手动分步执行","advance.components.AnalysisHistory.TemplateDrawer.DoNotConfigureUseDefault":"可不配置,使用默认参数执行","advance.components.AnalysisHistory.TemplateModal.Start":"开始","advance.components.AnalysisHistory.TemplateModal.End":"结束","advance.components.AnalysisHistory.TemplateModal.ThereIsNoContentTo":"暂无可保存内容,请先将历史记录加入模版图","advance.components.AnalysisHistory.TemplateModal.Save":"保存","advance.components.AnalysisHistory.TemplateModal.Name":"名称","advance.components.AnalysisHistory.TemplateModal.NameTheTemplate":"请为模版命名","advance.components.AnalysisHistory.TemplateModal.EnterATemplateName":"输入模版名","advance.components.AnalysisHistory.TemplateModal.Description":"描述","advance.components.AnalysisHistory.TemplateModal.AuxiliaryDescription":"辅助描述","advance.components.AnalysisHistory.TemplateModal.Ok":"确定","advance.components.AnalysisHistory.TemplateModal.AnalysisTemplatesStoredAsWorkbook":"存储为工作簿的分析模版","advance.components.AnalysisHistory.TemplateModal.PrecipitationAnalysisHistory":"沉淀分析历史","advance.components.AnalysisHistory.TemplateModal.SaveAndCloseTheDialog":"暂存并关闭对话框","advance.components.AnalysisHistory.TemplateModal.Close":"关闭","advance.components.AnalysisHistory.TemplateModal.NoHistoryIsAvailablePlease":"暂无历史记录,请先对图进行操作","advance.components.AnalysisHistory.TemplateModal.OperationHistory":"操作历史","advance.components.AnalysisHistory.TemplateModal.SelectRecordsOnTheTimeline":"在时间轴上勾选记录,可加入分析链路模版中","advance.components.AnalysisHistory.TemplateModal.AnalysisLinkTemplate":"分析链路模版","advance.components.AnalysisHistory.info.AnalyzeHistoricalPrecipitation":"分析历史沉淀","advance.components.AnalysisHistory.info.RecordsTheAnalysisHistoryAnd":"记录分析历史,并可沉淀为模版","advance.components.AnalysisHistory.registerMeta.SaveAnalysisHistoryTemplateService":"保存分析历史模版服务","advance.components.AnalysisHistory.registerMeta.ReadAnalysisHistoryTemplateList":"读取分析历史模版列表服务","advance.components.AnalysisHistory.registerMeta.DeleteAnalysisHistoryTemplateService":"删除分析历史模版服务","advance.components.AnalysisHistory.registerMeta.PlacementOrientation":"放置方位","advance.components.AnalysisHistory.registerMeta.Top":"顶部","advance.components.AnalysisHistory.registerMeta.Bottom":"底部","advance.components.AnalysisHistory.registerMeta.HistoryBarHeight":"历史栏高度","advance.components.AnalysisHistory.util.Query":"查询","advance.components.AnalysisHistory.util.Analysis":"分析","advance.components.AnalysisHistory.util.Configuration":"配置","advance.components.AnalysisHistory.util.UnparameterizedContentCannotBeModified":"未参数化内容不可修改","advance.components.Assistant.Component.NoDataFound":"没有查询到数据","advance.components.Assistant.Component.SetApiKeyFirst":"请先设置API Key","advance.components.Assistant.Component.StartQueryingGraphData":"开始查询图数据...","advance.components.Assistant.Component.AiAssistant":"AI 助理","advance.Assistant.Dialog.input.AiAssistantServesYou":"AI 助理为您服务","advance.Assistant.Dialog.input.NewConversation":"新对话","advance.Assistant.Header.StopQuery":"停止查询","advance.components.Assistant.info.AiAssistant":"AI 助理","advance.components.Assistant.registerMeta.DataService":"数据服务","advance.components.Assistant.registerMeta.Size":"尺寸","advance.components.Assistant.registerMeta.Location":"位置","advance.components.Assistant.registerMeta.UpperLeft":"左上","advance.components.Assistant.registerMeta.UpperRight":"右上","advance.components.Assistant.registerMeta.LowerLeft":"左下","advance.components.Assistant.registerMeta.LowerRight":"右下","advance.components.Assistant.registerMeta.Offset":"偏移量","advance.components.Assistant.registerMeta.Draggable":"可拖拽","advance.components.Assistant.registerMeta.Welcome":"欢迎语","advance.components.Assistant.registerMeta.HelloIAmGraphinsightAssistant":"您好!我是 GraphInsight 助理。请问有什么关于 GraphInsight 的问题或需求?","advance.components.Assistant.registerMeta.PromptWords":"提示词","advance.components.Assistant.registerMeta.SupportedVariablesGraphschemaUsageGraphschema":"支持的变量:graphSchema,使用方式:\\"${graphSchema}\\"","advance.components.Assistant.registerMeta.GraphinsightIsAnExtensibleGraph":"GraphInsight 是一个可扩展的图可视分析平台,包括数据源管理、构图、图元素个性化配置、图可视分析等功能模块。","advance.components.Assistant.registerMeta.YourTaskIsToAct":"你的任务是作为助理机器人,为 GraphInsight 的用户提供使用指引,包括根据用户的需求生成对应的 Cypher 查询语句。","advance.components.Assistant.registerMeta.CypherStatementIsAppliedTo":"Cypher 语句是应用于 Neo4j 声明式图查询语言","advance.components.Assistant.registerMeta.ForExampleWhenAUser":"例如,当用户说“我想找出回答数最多的问题”,你可以以下列方式给出查询:","advance.components.Assistant.registerMeta.NoteThatYouOnlyNeed":"注意只需要返回查询节点即可,不需要查询属性","advance.components.Assistant.registerMeta.TheDataInformationOfThe":"当前用户查看的图的数据信息如下:","advance.components.Assistant.registerMeta.PleaseDoNotAnswerQuestions":"请不要回答与 GraphInsight 无关的问题。","advance.components.Assistant.registerMeta.YouOnlyNeedToGive":"你只需要根据用户的回答给出查询代码,并告知用户正在为您查询,不需要做过多的解释。","advance.components.Assistant.registerMeta.StartTheConversationWithThe":"下面开始和用户的对话。","advance.components.CypherQuery.Component.QueryFailed":"查询失败","advance.components.CypherQuery.Component.PublishAsATemplate":"发布成模板","advance.components.CypherQuery.Component.ExecuteAQuery":"执行查询","advance.components.CypherQuery.info.CypherStatementQuery":"Cypher 语句查询","advance.components.CypherQuery.info.DataQueryModule":"数据查询模块","advance.components.CypherQuery.registerMeta.DataService":"数据服务","advance.components.CypherQuery.registerMeta.QueryLimits":"查询限制","advance.components.CypherQuery.registerMeta.PublishAsATemplate":"发布成模板","advance.components.CypherQuery.registerMeta.PublishTemplateService":"发布模板服务","advance.components.CypherQuery.registerMeta.InitialStatement":"初始语句","advance.components.EdgeBundling.EdgeBinding":"边绑定","advance.components.GraphAnnotation.Component.Red":"红色","advance.components.GraphAnnotation.Component.Green":"绿色","advance.components.GraphAnnotation.Component.Blue":"蓝色","advance.components.GraphAnnotation.Component.Yellow":"黄色","advance.components.GraphAnnotation.Component.Black":"黑色","advance.components.GraphAnnotation.Component.Cancel":"取消","advance.components.GraphAnnotation.Component.Node":"节点","advance.components.GraphAnnotation.Component.Edge":"边","advance.components.GraphAnnotation.Component.NodeGrouping":"节点分组","advance.components.GraphAnnotation.Component.Canvas":"画布","advance.components.GraphAnnotation.Component.DoubleClickHereToStart":"双击此处开始编辑","advance.components.GraphAnnotation.Component.LabelMenuitemnameitemtype":"标注{menuItemNameItemType}","advance.components.GraphAnnotation.Component.MarkMenuitemnameitemtype":"标记{menuItemNameItemType}","advance.components.GraphAnnotation.Menu":"图标注(MENU)","advance.components.GraphAnnotation.FigureAnnotationOftenIntegratedIn":"图标注,常集成在右键菜单中","advance.components.GraphAnnotation.registerMeta.MarkNodesAtTheSame":"标记节点的同时","advance.components.GraphAnnotation.registerMeta.WhenYouClickANode":"点击节点标记时","advance.components.GraphAnnotation.registerMeta.MarkNodesOnlyYouCannot":"仅标记节点,不可添加标注","advance.components.GraphAnnotation.registerMeta.AddOnlyLabelsNotNodes":"仅添加标注,不标记节点","advance.components.GraphAnnotation.registerMeta.LabelingMethod":"标注方式","advance.components.GremlinPathQuery.Component.ShortestPath":"最短路径","advance.components.GremlinPathQuery.Component.QueryTheShortestPathBetween":"查询两个节点之间的最短路径","advance.components.GremlinPathQuery.Component.StartNode":"开始节点","advance.components.GremlinPathQuery.Component.TargetNode":"目标节点","advance.components.GremlinPathQuery.Component.MaximumDegree":"最大度数","advance.components.GremlinPathQuery.Component.LimitTheNumberOfPaths":"限制路径条数","advance.components.GremlinPathQuery.Component.LoopDetection":"环路检测","advance.components.GremlinPathQuery.Component.ChecksWhetherOneOrTwo":"检测指定的一个或两个节点是否在环路中,并查询所在的环路","advance.components.GremlinPathQuery.Component.TargetNode.1":"目标节点1","advance.components.GremlinPathQuery.Component.TargetNode.2":"目标节点2","advance.components.GremlinPathQuery.Component.CommonNeighbor":"共同邻居","advance.components.GremlinPathQuery.Component.EnterTparametername":"请输入{tParameterName}","advance.components.GremlinPathQuery.Component.PleaseLookForward":"敬请期待","advance.components.GremlinPathQuery.Component.TheQueryTemplateDoesNot":"本项目不存在该查询模版","advance.components.GremlinPathQuery.Component.GremlinTemplateQueryFailed":"Gremlin 模版查询失败","advance.components.GremlinPathQuery.Component.GremlinTemplateQuery":"Gremlin 模版查询","advance.components.GremlinPathQuery.Component.PathQuery":"路径查询","advance.components.GremlinPathQuery.Component.PathList":"路径列表","advance.components.GremlinPathQuery.Component.SelectAPathTemplate":"请选择路径模版","advance.components.GremlinPathQuery.Component.Description":"描述","advance.components.GremlinPathQuery.Component.Parameter":"参数","advance.components.GremlinPathQuery.Component.QueryStatement":"查询语句","advance.components.GremlinPathQuery.Component.Query":"查询","advance.components.GremlinPathQuery.GremlinTemplateStatementQueryPanel":"Gremlin 模板语句查询面板","advance.components.GremlinPathQuery.QuicklyQueryGraphDataThrough":"通过 Gremlin 模板语句快速查询图数据","advance.components.GremlinPathQuery.registerMeta.GremlinQueryTemplate":"Gremlin 查询模版","advance.components.GremlinPathQuery.registerMeta.DataService":"数据服务","advance.components.GremlinQuery.Component.FailedToExecuteGremlinQuery":"执行 Gremlin 查询失败","advance.components.GremlinQuery.Component.FailureReasonResultmessage":"失败原因:{resultMessage}","advance.components.GremlinQuery.Component.PublishAsATemplate":"发布成模板","advance.components.GremlinQuery.Component.ExecuteAQuery":"执行查询","advance.components.GremlinQuery.info.GremlinQuery":"Gremlin 查询","advance.components.GremlinQuery.info.QueryGraphDataThroughGremlin":"通过 Gremlin 语句查询图数据","advance.components.GremlinQuery.registerMeta.DataService":"数据服务","advance.components.GremlinQuery.registerMeta.PublishAsATemplate":"发布成模板","advance.components.GremlinQuery.registerMeta.IsShowLimit":"Limit可配","advance.components.GremlinQuery.registerMeta.IsShowTimeout":"Timeout可配","advance.components.GremlinQuery.registerMeta.PublishTemplateService":"发布模板服务","advance.components.GremlinQuery.registerMeta.InitialQuery":"初始查询","advance.components.GremlinQuery.registerMeta.Height":"高度","advance.components.JSONMode.info.CodeMode":"代码模式","advance.components.GremlinQuery.Component.LimitConfigTip":"语句将添加后缀: .limt({value})","advance.components.GremlinQuery.Component.TimeoutConfigTip":"语句将添加约束: .with(\'evaluationTimeout\', {value})","advance.components.JSONMode.info.ShowDataInCode":"将数据以代码形式展示","advance.components.JSONMode.registerMeta.StyleTheme":"样式主题","advance.components.ModeSwitch.Component.CanvasMode":"画布模式","advance.components.ModeSwitch.ModeSwitching":"模式切换","advance.components.ModeSwitch.IntegratesMultipleAnalysisModesAnd":"集成多个分析模式,支持切换","advance.components.ModeSwitch.registerMeta.IntegratedComponents":"集成组件","advance.components.ModeSwitch.registerMeta.PlacementOrientation":"放置方位","advance.components.ModeSwitch.registerMeta.TopLeftTop":"左上 / top","advance.components.ModeSwitch.registerMeta.TopRightRight":"右上 / right","advance.components.ModeSwitch.registerMeta.LowerLeftLeft":"左下 / left","advance.components.ModeSwitch.registerMeta.BottomRightBottom":"右下 / bottom","advance.components.ModeSwitch.registerMeta.OffsetDistance":"偏移距离","advance.components.PublishTemplate.SelectAServiceToPublish":"请选择发布成模板的服务","advance.components.PublishTemplate.ParameterizeExistingParametersAndOverwrite":"参数化已经存在的参数,会覆盖已有的参数","advance.components.PublishTemplate.TheTemplateNameIsEmpty":"模板名称为空或格式不正确!","advance.components.PublishTemplate.TemplatePublishedSuccessfully":"发布模板成功","advance.components.PublishTemplate.ParameterName":"参数名称","advance.components.PublishTemplate.Type":"类型","advance.components.PublishTemplate.ReplacementValue":"替换值","advance.components.PublishTemplate.Operation":"操作","advance.components.PublishTemplate.AreYouSureYouWant":"确定删除?","advance.components.PublishTemplate.Ok":"确定","advance.components.PublishTemplate.Cancel":"取消","advance.components.PublishTemplate.PublishAsATemplate":"发布成模板","advance.components.PublishTemplate.Publish":"发布","advance.components.PublishTemplate.TemplateName":"模板名称","advance.components.PublishTemplate.TheTemplateNameCanOnly":"模板名称只能包含字母、数字或下划线,且只能以字母开头","advance.components.PublishTemplate.OriginalStatement":"原始语句","advance.components.PublishTemplate.SelectTheContentToBe":"请选择要参数化的内容,然后点击右边的参数化按钮进行下一步的操作","advance.components.PublishTemplate.SelectTheParameterValueIn":"选择 {fileType} 中的参数值后进行参数化操作","advance.components.PublishTemplate.Parameterized":"参数化","advance.components.PublishTemplate.TemplateStatement":"模板语句","advance.components.PublishTemplate.ParameterList":"参数列表","advance.components.PublishTemplate.TemplateDescription":"模板描述","advance.components.PublishTemplate.FiletypeParameterized":"{fileType} 参数化","advance.components.PublishTemplate.EnterTheNameOfThe":"请输入参数的名称!","advance.components.PublishTemplate.ParameterType":"参数类型","advance.components.PublishTemplate.SelectAParameterType":"请选择参数类型!","advance.components.Redo.info.Redo":"重做","advance.components.Redo.info.RedoTheCanvasEntersThe":"重做,画布进入下一步状态","advance.components.SearchBar.Component.Type":"类型:","advance.components.SearchBar.Component.All":"全部","advance.components.SearchBar.Component.Properties":"属性:","advance.components.SearchBar.Component.EnterAnAttributeValue":"请输入属性值","advance.components.SearchBar.IsoGqlSearchBox":"ISO-GQL 搜索框","advance.components.SearchBar.UseIsoGqlStatementsTo":"通过 ISO-GQL 语句快查询图数据","advance.components.SearchBar.registerMeta.SearchBar":"搜索栏","advance.components.SearchBar.registerMeta.DataService":"数据服务","advance.components.SearchBar.registerMeta.SchemaService":"Schema服务","advance.components.Sheetbar.Component.DefaultCanvas":"默认画布","advance.components.Sheetbar.Component.UnnamedCanvas":"未命名画布","advance.components.Sheetbar.Component.Delete":"删除","advance.components.Sheetbar.MultiCanvasTab":"多画布页签","advance.components.Sheetbar.CreateACanvasTabTo":"新建画布页签,辅助动态分析","advance.components.Sheetbar.registerMeta.PlacementOrientation":"放置方位","advance.components.Sheetbar.registerMeta.Top":"顶部","advance.components.Sheetbar.registerMeta.Bottom":"底部","advance.components.Sheetbar.registerMeta.TabHeight":"页签高度","advance.components.SnapshotGallery.Snapshot.GalleryPicture":"画廊图片","advance.components.SnapshotGallery.info.SnapshotGallery":"快照画廊","advance.components.SnapshotGallery.info.SaveTheAnalysisProcessTo":"通过快照,将分析过程保存到画廊","advance.components.SnapshotGallery.registerMeta.SnapshotGallery":"快照画廊","advance.components.SnapshotGallery.registerMeta.SnapshotGalleryShortcutCtrlX":"快照画廊(快捷键ctrl+x)","advance.components.SnapshotGallery.registerMeta.GalleryBackground":"画廊背景","advance.components.SnapshotGallery.registerMeta.DisplayDirection":"展示方向","advance.components.SnapshotGallery.registerMeta.HorizontalDisplay":"水平展示","advance.components.SnapshotGallery.registerMeta.VerticalDisplay":"纵向展示","advance.components.SnapshotGallery.registerMeta.GalleryLocation":"画廊位置","advance.components.SnapshotGallery.registerMeta.UpperLeft":"左上","advance.components.SnapshotGallery.registerMeta.UpperRight":"右上","advance.components.SnapshotGallery.registerMeta.LowerLeft":"左下","advance.components.SnapshotGallery.registerMeta.LowerRight":"右下","advance.components.SnapshotGallery.registerMeta.OffsetDistance":"偏移距离","advance.components.StructAnalysis.Component.AnalyzeTheSchemaAbstractionStructure":"分析当前画布中所有路径的 Schema 抽象结构,即路径中节点与边的类型组合","advance.components.StructAnalysis.info.PathStructureAnalysis":"路径结构分析","advance.components.StructAnalysis.info.AutomaticallyParseAllPathsOf":"自动解析画布所有路径,做聚合分析","advance.components.StyleSetting.Component.Node":"节点","advance.components.StyleSetting.Component.Edge":"边","advance.components.StyleSetting.StyleSettingPanel.StyleSettings":"样式设置","advance.components.StyleSetting.info.StyleSettings":"样式设置","advance.components.StyleSetting.info.SetElementStylesToCustomize":"设置元素样式,可自定义分组规则","advance.components.StyleSetting.registerMeta.StyleSettings":"样式设置","advance.components.StyleSetting.registerMeta.DataService":"数据服务","advance.components.SubGraphLayout.Component.NoSelectedElementInThe":"当前画布中无选中元素","advance.components.SubGraphLayout.Component.LayoutIndex":"布局{index}","advance.components.SubGraphLayout.Component.SelectANode":"选择节点:","advance.components.SubGraphLayout.Component.SelectANode.1":"请选择节点","advance.components.SubGraphLayout.Component.SelectLayout":"选择布局:","advance.components.SubGraphLayout.Component.PleaseSelectALayout":"请选择布局","advance.components.SubGraphLayout.Component.AddLayout":"添加布局","advance.components.SubGraphLayout.Component.StartAdjustment":"开始调整","advance.components.SubGraphLayout.const.GridLayout":"网格布局","advance.components.SubGraphLayout.const.CircularLayout":"圆形布局","advance.components.SubGraphLayout.const.HierarchicalLayout":"层次布局","advance.components.SubGraphLayout.const.ConcentricCircleLayout":"同心圆布局","advance.components.SubGraphLayout.const.RadialLayout":"径向布局","advance.components.SubGraphLayout.info.SubgraphLayout":"子图布局","advance.components.SubGraphLayout.info.SubgraphLayoutPanel":"子图布局面板","advance.components.SubGraphLayout.registerMeta.DefaultSubgraphPartition":"默认子图划分","advance.components.SubGraphLayout.registerMeta.MappingField":"映射字段","advance.components.SubGraphLayout.registerMeta.SubgraphSpacing":"子图间距","advance.components.SubGraphLayout.registerMeta.SubgraphArrangementDirection":"子图排列方向","advance.components.SubGraphLayout.registerMeta.Vertical":"垂直","advance.components.SubGraphLayout.registerMeta.Horizontal":"水平","advance.components.TableMode.Component.ExportedSuccessfully":"导出成功","advance.components.TableMode.Component.ExportFailed":"导出失败","advance.components.TableMode.Component.UseANewBrowserTab":"使用浏览器新页签打开,分屏操作更高效","advance.components.TableMode.Component.ExportPointEdgeData":"导出点边数据","advance.components.TableMode.Component.CustomColumns":"自定义列","advance.components.TableMode.Component.PointTable":"点表","advance.components.TableMode.Component.EdgeTable":"边表","advance.components.TableMode.info.TableMode":"表格模式","advance.components.TableMode.info.ShowNodesAndEdgesIn":"将画布中的节点和边以表格形式展示","advance.components.TableMode.registerMeta.CopySelectedContent":"复制选中内容","advance.components.TableMode.registerMeta.SupportsExportingData":"支持导出数据","advance.components.TableMode.registerMeta.SupportTabSplitScreen":"支持页签分屏","advance.components.TableMode.registerMeta.ElementSelectionHighlight":"元素选中高亮","advance.components.TableMode.registerMeta.SplitTabRouting":"分屏页签路由","advance.components.TemplateQuery.Component.EnterTparametername":"请输入{tParameterName}","advance.components.TemplateQuery.Component.EnterPkey":"请输入{pkey}","advance.components.TemplateQuery.Component.Template":"模版","advance.components.TemplateQuery.Component.CopiedSuccessfully":"复制成功","advance.components.TemplateQuery.Component.SelectATemplate":"请选择模版","advance.components.TemplateQuery.Component.TemplateDescription":"模版描述","advance.components.TemplateQuery.Component.TemplateParameters":"模板参数","advance.components.TemplateQuery.Component.TemplateStatement":"模板语句","advance.components.TemplateQuery.Component.Query":"查询","advance.components.TemplateQuery.info.StatementTemplateQuery":"语句模版查询","advance.components.TemplateQuery.info.QueryGraphDataThroughTemplates":"通过模版查询图数据","advance.components.TemplateQuery.registerMeta.StatementTemplate":"语句模版","advance.components.TemplateQuery.registerMeta.TemplateListService":"模板列表服务","advance.components.TemplateQuery.registerMeta.ExecuteQueryService":"执行查询服务","advance.components.ThemeSetting.AddOrUpdateTheme.ConfigureTheCanvasBackgroundStyle":"请在【画布设置】资产中配置画布背景样式,在【样式设置】资产或左侧配置面板中配置元素样式","advance.components.ThemeSetting.AddOrUpdateTheme.ModifyTheCanvasBackgroundStyle":"请在【画布设置】资产中修改画布背景样式,在【样式设置】资产或左侧修改面板中配置元素样式","advance.components.ThemeSetting.AddOrUpdateTheme.CreateATopic":"创建主题","advance.components.ThemeSetting.AddOrUpdateTheme.EditTopic":"编辑主题","advance.components.ThemeSetting.AddOrUpdateTheme.TopicName":"主题名称","advance.components.ThemeSetting.AddOrUpdateTheme.Description":"描述","advance.components.ThemeSetting.AddOrUpdateTheme.ThemeStyle":"主题样式","advance.components.ThemeSetting.AddOrUpdateTheme.NodeStyle":"节点样式","advance.components.ThemeSetting.AddOrUpdateTheme.EdgeStyle":"边样式","advance.components.ThemeSetting.AddOrUpdateTheme.CreateNow":"立即创建","advance.components.ThemeSetting.AddOrUpdateTheme.ConfirmEditing":"确认编辑","advance.components.ThemeSetting.Component.DeleteTheTopic":"是否删除该主题?","advance.components.ThemeSetting.Component.DeleteATopic":"删除主题","advance.components.ThemeSetting.Component.EditTopic":"编辑主题","advance.components.ThemeSetting.Component.CreateATopic":"创建主题","advance.components.ThemeSetting.Component.CustomTheme":"自定义主题","advance.components.ThemeSetting.info.ThemeSettings":"主题设置","advance.components.ThemeSetting.info.YouCanConfigureThemeStyles":"可以自主配置主题样式","advance.components.ThemeSetting.mockServices.TheThemeHasBeenCreated":"主题创建成功!","advance.components.ThemeSetting.mockServices.TheTopicHasBeenUpdated":"主题更新成功","advance.components.ThemeSetting.mockServices.TheTopicDoesNotExist":"主题不存在","advance.components.ThemeSetting.mockServices.DeletedSuccessfully":"删除成功","advance.components.ThemeSetting.registerMeta.GetThemeServices":"获取主题服务","advance.components.ThemeSetting.registerMeta.AddThemeService":"添加主题服务","advance.components.ThemeSetting.registerMeta.DeleteAThemeService":"删除主题服务","advance.components.Undo.info.Revoke":"撤销","advance.components.Undo.info.UndoTheCanvasReturnsTo":"撤销,画布返回上一步状态","advance.components.utils.csv.ExportDataCsv":"导出数据.csv","advance.elements.CircleBar.NandinggeerNodes":"南丁格尔节点","advance.elements.CircleBar.registerMeta.Size":"大小","advance.elements.CircleBar.registerMeta.Radius":"半径","advance.elements.CircleBar.registerMeta.MappingField":"映射字段","advance.elements.CircleBar.registerMeta.Color":"颜色","advance.elements.CircleBar.registerMeta.FillColor":"填充颜色","advance.elements.CircleBar.registerMeta.Label":"标签","advance.elements.CircleBar.registerMeta.Switch":"开关","advance.elements.CircleBar.registerMeta.Icon":"图标","advance.elements.CircleBar.registerMeta.Type":"类型","advance.elements.CircleBar.registerMeta.Text":"文本","advance.elements.CircleBar.registerMeta.Picture":"图片","advance.elements.CircleBar.registerMeta.FontIcon":"字体图标","advance.elements.ClusterNode.ClusterNode":"集群节点","advance.elements.ClusterNode.DonutComponentForDataDistribution":"甜甜圈组件,用于数据有分布的情况","advance.elements.ClusterNode.registerMeta.Label":"标签","advance.elements.ClusterNode.registerMeta.Switch":"开关","advance.elements.ClusterNode.registerMeta.MappingField":"映射字段","advance.elements.ReasonNode.StrawberryMap":"草莓图","advance.elements.ReasonNode.CompositeNodesIncludingRoseCharts":"复合节点,包含玫瑰图、柱状图、节点等,原来用在归因树","advance.ReasonNode.reason_analysis_node.draw_bizQuotas.Yes":"是","advance.ReasonNode.reason_analysis_node.draw_bizQuotas.No":"否","advance.ReasonNode.reason_analysis_node.draw_bizQuotas.Other":"其他","advance.ReasonNode.reason_analysis_node.draw_contribution.Contribution":"贡献度","advance.ReasonNode.reason_analysis_node.draw_rose.PreviousValue":"先前值","advance.ReasonNode.reason_analysis_node.draw_rose.AfterChange":"变化后","advance.ReasonNode.reason_analysis_node.draw_runningState.Running":"运行中,","advance.ReasonNode.reason_analysis_node.draw_runningState.Completed":"已完成,","advance.ReasonNode.reason_analysis_node.draw_runningState.BusinessIntervention":"业务可干预","advance.ReasonNode.reason_analysis_node.draw_runningState.BusinessNonIntervention":"业务不可干预","advance.ReasonNode.reason_analysis_node.draw_variability.Variation":"变异度","advance.ReasonNode.reason_analysis_node.preprocess.Yes":"是","advance.ReasonNode.reason_analysis_node.preprocess.No":"否","advance.elements.ReasonNode.registerMeta.Size":"大小","advance.elements.ReasonNode.registerMeta.Radius":"半径","advance.elements.ReasonNode.registerMeta.MappingField":"映射字段","advance.elements.ReasonNode.registerMeta.Color":"颜色","advance.elements.ReasonNode.registerMeta.FillColor":"填充颜色","advance.elements.ReasonNode.registerMeta.Label":"标签","advance.elements.ReasonNode.registerMeta.Switch":"开关","advance.elements.ReasonNode.registerMeta.Icon":"图标","advance.elements.ReasonNode.registerMeta.Type":"类型","advance.elements.ReasonNode.registerMeta.Text":"文本","advance.elements.ReasonNode.registerMeta.Picture":"图片","advance.elements.ReasonNode.registerMeta.FontIcon":"字体图标","advance.src.services.GremlinQuery.GremlinQuery":"Gremlin 查询","advance.src.services.HistoryAnalyseService.SaveAnalysisLinkTemplate":"保存分析链路模版","advance.src.services.HistoryAnalyseService.TheDefaultSaveAnalysisLink":"GI 默认提供的保存分析链路服务","advance.src.services.HistoryAnalyseService.DeleteAnAnalysisLinkTemplate":"删除分析链路模版","advance.src.services.HistoryAnalyseService.TheDeleteAnalysisLinkService":"GI 默认提供的删除分析链路服务。错误信息:{successMsg}","advance.src.services.HistoryAnalyseService.QueryTheListOfHistorical":"查询历史分析链路模版列表","advance.src.services.HistoryAnalyseService.TheQueryHistoryAnalysisLink":"GI 默认提供的查询历史分析链路模版服务","advance.src.services.LanguageQueryService.StatementQuery":"语句查询","advance.src.services.LanguageQueryService.QueryParameters":"查询参数","advance.src.services.StyleSetting.StyleSettings":"样式设置","advance.src.services.TemplateService.PublishTemplate":"发布模板","advance.src.services.TemplateService.GiDefaultServiceForPublishing":"GI 默认提供的发布模板的服务","advance.src.services.TemplateService.QueryTemplateList":"查询模板列表","advance.src.services.TemplateService.ExecuteTemplateQuery":"执行模板查询","advance.src.services.TemplateService.ExecuteTemplateQueryParameters":"执行模板查询参数","advance.src.services.ThemeSetting.AddTopic":"添加主题","advance.src.services.ThemeSetting.TheThemeHasBeenCreated":"主题创建成功!","advance.src.services.ThemeSetting.GetTopics":"获取主题","advance.src.services.ThemeSetting.UpdateTopic":"更新主题","advance.src.services.ThemeSetting.TheTopicHasBeenUpdated":"主题更新成功","advance.src.services.ThemeSetting.TheTopicDoesNotExist":"主题不存在","advance.src.services.ThemeSetting.DeleteATopic":"删除主题","advance.src.services.ThemeSetting.DeletedSuccessfully":"删除成功","advance.components.GremlinQuery.Component.CannotBeModifiedLimitNum":"不可修改,语句中已有 .limit(num) 约束","advance.components.GremlinQuery.Component.TheStatementAddsASuffix":"语句将添加后缀: .limt({limit})","advance.components.GremlinQuery.Component.CannotBeModifiedWithEvaluationtimeout":"不可修改,语句中已有 .with(\'evaluationTimeout\', timeout) 约束","advance.components.GremlinQuery.Component.StatementToAddConstraintsWith":"语句将添加约束: .with(\'evaluationTimeout\', {timeout})","advance.src.services.CypherQuery.QuerySucceeded":"查询成功","advance.src.services.CypherQuery.TheCurrentQueryRequestIs":"当前的查询请求是 MOCK 的,请搭配图数据库使用。","advance.components.GraphAnnotation.registerMeta.DefaultTitleFillAttribute":"默认标题填充属性","advance.components.GraphAnnotation.registerMeta.DefaultContentFillAttribute":"默认内容填充属性","advance.components.TableMode.FilterPopover.NoteOnlyTheDisplayAnd":"注意:仅控制表格中数据行的显示与隐藏","advance.components.TableMode.FilterPopover.EnterASearchKeyword":"请输入搜索关键词","advance.components.TableMode.FilterPopover.SelectAll":"全选"}')},3969:e=>{"use strict";e.exports=JSON.parse('{"common-components.CommonStyleSetting.ColorInput.PleaseSelectAColor":"Please select a color","common-components.src.CommonStyleSetting.FormilyRenderForm.SelectElementAssets":"Select element assets","common-components.CommonStyleSetting.IconPicker.IconContent.Foundation":"Foundation","common-components.CommonStyleSetting.IconPicker.IconContent.Equipment":"Equipment","common-components.CommonStyleSetting.IconPicker.IconContent.Company":"Company","common-components.CommonStyleSetting.IconPicker.IconContent.Logo":"Logo","common-components.CommonStyleSetting.IconPicker.IconContent.ViewAllIcons":"View all icons","common-components.CommonStyleSetting.IconPicker.IconContent.AllIcons":"All icons","common-components.CommonStyleSetting.IconPicker.PleaseSelectTheIcon":"Please select the icon","common-components.CommonStyleSetting.IconSelector.SelectIconType":"Select icon type","common-components.CommonStyleSetting.IconSelector.CommonlyUsed":"Commonly used","common-components.CommonStyleSetting.IconSelector.All":"All","common-components.CommonStyleSetting.IconSelector.EnterAnIconNameTo":"Enter an icon name to search","common-components.FilterPanel.Charts.LineChart.SelectElementtypeAttribute":"Select {elementType} attribute","common-components.src.FilterPanel.Component.AddFilter":"Add Filter","common-components.src.FilterPanel.FilterSelection.SelectElementAttributes":"Select element attributes","common-components.src.FilterPanel.FilterSelection.Node":"Node","common-components.src.FilterPanel.FilterSelection.Edge":"Edge","common-components.src.FilterPanel.FilterSelection.SelectAFilterValue":"Select a filter value","common-components.src.FilterPanel.FilterSelection.SelectAValidField":"Select a valid field","common-components.FormilyForm.Offset.XAxisOffset":"X-axis offset","common-components.FormilyForm.Offset.YAxisOffset":"Y-axis offset","common-components.src.GroupContainer.ExpressionGroup.PropertyFiltering":"Property filtering","common-components.src.GroupContainer.ExpressionGroup.CustomAttributePathsAreSupported":"Custom attribute paths are supported. Example: A. B .C","common-components.src.GroupContainer.ExpressionGroup.AddAttributes":"Add attributes","common-components.src.GroupContainer.StyleConfigurationGroup":"Style configuration Group 1","common-components.src.GroupContainer.CustomStyleIdx":"Custom style {idx}","common-components.src.GroupContainer.AddStyleGroups":"Add style groups","common-components.src.GroupContainer.GroupingRules":"Grouping Rules","common-components.src.GroupContainer.EnterAStyleGroupName":"Enter a style group name","common-components.src.GroupContainer.utils.Equal":"Equal","common-components.src.GroupContainer.utils.NotEqual":"Not equal","common-components.src.GroupContainer.utils.Include":"Include","common-components.src.GroupContainer.utils.NotIncluded":"Not included","common-components.src.GroupContainer.utils.Greater":"Greater","common-components.src.GroupContainer.utils.GreaterThanOrEqual":"Greater than or equal","common-components.src.GroupContainer.utils.Less":"Less","common-components.src.GroupContainer.utils.LessThanOrEqual":"Less than or equal","common-components.src.GroupContainer.Reset":"Reset","common-components.src.NodeSelectionWrap.PleaseFillInLabelNodelabel":"Please fill in {label}{nodeLabel}","common-components.src.NodeSelectionWrap.YouCanClickCanvasNodes":"You can click canvas nodes to quickly select {label}"}')},7441:e=>{"use strict";e.exports=JSON.parse('{"common-components.CommonStyleSetting.ColorInput.PleaseSelectAColor":"请选择颜色","common-components.src.CommonStyleSetting.FormilyRenderForm.SelectElementAssets":"选择元素资产","common-components.CommonStyleSetting.IconPicker.IconContent.Foundation":"基础","common-components.CommonStyleSetting.IconPicker.IconContent.Equipment":"设备","common-components.CommonStyleSetting.IconPicker.IconContent.Company":"公司","common-components.CommonStyleSetting.IconPicker.IconContent.Logo":"徽标","common-components.CommonStyleSetting.IconPicker.IconContent.ViewAllIcons":"查看全部图标","common-components.CommonStyleSetting.IconPicker.IconContent.AllIcons":"全部图标","common-components.CommonStyleSetting.IconPicker.PleaseSelectTheIcon":"请选择图标","common-components.CommonStyleSetting.IconSelector.SelectIconType":"选择图标类型","common-components.CommonStyleSetting.IconSelector.CommonlyUsed":"常用","common-components.CommonStyleSetting.IconSelector.All":"全部","common-components.CommonStyleSetting.IconSelector.EnterAnIconNameTo":"输入图标名称进行搜索","common-components.FilterPanel.Charts.LineChart.SelectElementtypeAttribute":"选择{elementType}属性","common-components.src.FilterPanel.Component.AddFilter":"增加筛选器","common-components.src.FilterPanel.FilterSelection.SelectElementAttributes":"选择元素属性","common-components.src.FilterPanel.FilterSelection.Node":"节点","common-components.src.FilterPanel.FilterSelection.Edge":"边","common-components.src.FilterPanel.FilterSelection.SelectAFilterValue":"选择筛选值","common-components.src.FilterPanel.FilterSelection.SelectAValidField":"请选择合法字段","common-components.FormilyForm.Offset.XAxisOffset":"X轴偏移量","common-components.FormilyForm.Offset.YAxisOffset":"Y轴偏移量","common-components.src.GroupContainer.ExpressionGroup.PropertyFiltering":"属性过滤","common-components.src.GroupContainer.ExpressionGroup.CustomAttributePathsAreSupported":"支持自定义属性路径,例: a.b.c","common-components.src.GroupContainer.ExpressionGroup.AddAttributes":"添加属性","common-components.src.GroupContainer.StyleConfigurationGroup":"样式配置分组1","common-components.src.GroupContainer.CustomStyleIdx":"自定义样式 {idx}","common-components.src.GroupContainer.AddStyleGroups":"新增样式分组","common-components.src.GroupContainer.GroupingRules":"分组规则","common-components.src.GroupContainer.EnterAStyleGroupName":"请输入样式分组名称","common-components.src.GroupContainer.utils.Equal":"等于","common-components.src.GroupContainer.utils.NotEqual":"不等于","common-components.src.GroupContainer.utils.Include":"包含","common-components.src.GroupContainer.utils.NotIncluded":"不包含","common-components.src.GroupContainer.utils.Greater":"大于","common-components.src.GroupContainer.utils.GreaterThanOrEqual":"大于等于","common-components.src.GroupContainer.utils.Less":"小于","common-components.src.GroupContainer.utils.LessThanOrEqual":"小于等于","common-components.src.GroupContainer.Reset":"重置","common-components.src.NodeSelectionWrap.PleaseFillInLabelNodelabel":"请填写{label}{nodeLabel}","common-components.src.NodeSelectionWrap.YouCanClickCanvasNodes":"可点选画布节点,快速选择{label}"}')}},c={};function u(e){var t=c[e];if(void 0!==t)return t.exports;var n=c[e]={id:e,loaded:!1,exports:{}};return l[e].call(n.exports,n,n.exports,u),n.loaded=!0,n.exports}u.amdD=function(){throw new Error("define cannot be used indirect")},u.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return u.d(t,{a:t}),t},u.d=(e,t)=>{for(var n in t)u.o(t,n)&&!u.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},u.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),u.hmd=e=>((e=Object.create(e)).children||(e.children=[]),Object.defineProperty(e,"exports",{enumerable:!0,set:()=>{throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+e.id)}}),e),u.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),u.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},u.nmd=e=>(e.paths=[],e.children||(e.children=[]),e);var h={};return(()=>{"use strict";u.r(h),u.d(h,{components:()=>r,services:()=>vw});var e={};u.r(e),u.d(e,{attentionMarkers:()=>Ro,contentInitial:()=>Eo,disable:()=>wo,document:()=>bo,flow:()=>xo,flowInitial:()=>To,insideSpan:()=>Ao,string:()=>So,text:()=>Co});var t={};u.r(t),u.d(t,{boolean:()=>xa,booleanish:()=>Sa,commaOrSpaceSeparated:()=>La,commaSeparated:()=>wa,number:()=>Aa,overloadedBoolean:()=>Ca,spaceSeparated:()=>Ra});var n={};u.r(n),u.d(n,{postorder:()=>kv,preorder:()=>Dv});var r={};u.r(r),u.d(r,{AddSheetbar:()=>N,AnalysisHistory:()=>Gn,Assistant:()=>ty,CypherQuery:()=>rt,GraphAnnotation:()=>vt,GremlinQuery:()=>Ct,JSONMode:()=>cy,ModeSwitch:()=>Lt,Redo:()=>Ut,Sheetbar:()=>Vt,StructAnalysis:()=>my,StyleSetting:()=>Cy,SubGraphLayout:()=>qA,TableMode:()=>IR,ThemeSetting:()=>VR,Undo:()=>ew});var i={};u.r(i),u.d(i,{CypherQuery:()=>tw});var o={};u.r(o),u.d(o,{GremlinQuery:()=>nw});var a={};u.r(a),u.d(a,{ListHistoryTemplateService:()=>aw,RemoveHistoryTemplateService:()=>ow,SaveHistoryTemplateService:()=>iw});var s={};u.r(s),u.d(s,{StyleSetting:()=>sw});var l={};u.r(l),u.d(l,{ExecTemplateQueryService:()=>pw,PublishTemplate:()=>uw,TemplateListService:()=>hw});var c={};u.r(c),u.d(c,{AddTheme:()=>fw,GetTheme:()=>mw,RemoveTheme:()=>yw,UpdateTheme:()=>gw});var p=u(3618),d=u.n(p),f=u(2721),m=u(1024),g=u.n(m),y=u(5558),v=u.n(y),_=u(4959),b=u(5802),E=u.n(b);let T,x;function S(){const{lang:e}=v().getLocale();T=e,x=_.ZP.init(e,E(),{name:"advance"})}const C=function(e,t={}){return x||S(),"string"==typeof e?_.ZP.format({id:e},t,{name:"advance"}):("object"==typeof e&&e.dm&&(e.defaultMessage=e.dm),_.ZP.format({id:e.id,defaultString:e.dm},t,{name:"advance"}))};const{GIAComponent:A}=p.extra,R=(0,m.memo)((e=>{const{handleAddSheetbar:t,graph:n}=(0,p.useContext)(),{GIAC:r,isRelayout:i}=e,o=g().useCallback((()=>{const e=n.findAllByState("node","selected").map((e=>{const t=e.getModel(),{x:n,y:r}=t,o=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n}(t,["x","y"]);return i?o:Object.assign({x:n,y:r},o)})),r=n.findAllByState("edge","selected").map((e=>e.getModel()));0!==e.length&&(t||f.message.warn(C({id:"advance.components.AddSheetbar.Component.PleaseUseThisFunctionIn",dm:"请在默认画布中使用该功能,暂不支持其他画布的「添加页签」功能"})),t&&t({nodes:e,edges:r}))}),[n,t,i]);return g().createElement(g().Fragment,null,g().createElement(A,{GIAC:r,onClick:o}))})),{deepClone:w,GIAC_METAS:L}=p.extra,O=w(L);O.GIAC.properties.GIAC.properties.title.default=C({id:"advance.components.AddSheetbar.registerMeta.AddTheSelectedNodesAnd",dm:"将选中的节点与边添加到新画布中"}),O.GIAC.properties.GIAC.properties.icon.default="icon-plus",O.GIAC.properties.GIAC.properties.isShowTitle.default=!1,O.GIAC.properties.GIAC.properties.tooltipPlacement.default="right";const N={info:{id:"AddSheetbar",name:C({id:"advance.components.AddSheetbar.AddATab",dm:"新增页签"}),desc:C({id:"advance.components.AddSheetbar.AddATab",dm:"新增页签"}),cover:"http://xxxx.jpg",category:"system-interaction",icon:"icon-plus",type:"GIAC",docs:"https://www.yuque.com/antv/gi/wwzhrmtem0m2g09p"},component:R,registerMeta:()=>Object.assign({isRelayout:{title:C({id:"advance.components.AddSheetbar.registerMeta.RelayoutOrNot",dm:"是否重新布局"}),type:"boolean","x-decorator":"FormItem","x-component":"Switch",default:!0}},O)};function I(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];throw Error("[Immer] minified error nr: "+e+(n.length?" "+n.map((function(e){return"'"+e+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function k(e){return!!e&&!!e[_e]}function D(e){return!!e&&(function(e){if(!e||"object"!=typeof e)return!1;var t=Object.getPrototypeOf(e);if(null===t)return!0;var n=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return"function"==typeof n&&Function.toString.call(n)===be}(e)||Array.isArray(e)||!!e[ve]||!!e.constructor[ve]||U(e)||j(e))}function P(e){return k(e)||I(23,e),e[_e].t}function M(e,t,n){void 0===n&&(n=!1),0===F(e)?(n?Object.keys:Ee)(e).forEach((function(r){n&&"symbol"==typeof r||t(r,e[r],e)})):e.forEach((function(n,r){return t(r,n,e)}))}function F(e){var t=e[_e];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:U(e)?2:j(e)?3:0}function H(e,t){return 2===F(e)?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function B(e,t,n){var r=F(e);2===r?e.set(t,n):3===r?(e.delete(t),e.add(n)):e[t]=n}function U(e){return fe&&e instanceof Map}function j(e){return me&&e instanceof Set}function G(e){return e.o||e.t}function Y(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=Te(e);delete t[_e];for(var n=Ee(t),r=0;r<n.length;r++){var i=n[r],o=t[i];!1===o.writable&&(o.writable=!0,o.configurable=!0),(o.get||o.set)&&(t[i]={configurable:!0,writable:!0,enumerable:o.enumerable,value:e[i]})}return Object.create(Object.getPrototypeOf(e),t)}function z(e,t){return void 0===t&&(t=!1),W(e)||k(e)||!D(e)||(F(e)>1&&(e.set=e.add=e.clear=e.delete=$),Object.freeze(e),t&&M(e,(function(e,t){return z(t,!0)}),!0)),e}function $(){I(2)}function W(e){return null==e||"object"!=typeof e||Object.isFrozen(e)}function V(e){var t=xe[e];return t||I(18,e),t}function K(){return pe}function q(e,t){t&&(V("Patches"),e.u=[],e.s=[],e.v=t)}function X(e){Z(e),e.p.forEach(J),e.p=null}function Z(e){e===pe&&(pe=e.l)}function Q(e){return pe={p:[],l:pe,h:e,m:!0,_:0}}function J(e){var t=e[_e];0===t.i||1===t.i?t.j():t.g=!0}function ee(e,t){t._=t.p.length;var n=t.p[0],r=void 0!==e&&e!==n;return t.h.O||V("ES5").S(t,e,r),r?(n[_e].P&&(X(t),I(4)),D(e)&&(e=te(t,e),t.l||re(t,e)),t.u&&V("Patches").M(n[_e],e,t.u,t.s)):e=te(t,n,[]),X(t),t.u&&t.v(t.u,t.s),e!==ye?e:void 0}function te(e,t,n){if(W(t))return t;var r=t[_e];if(!r)return M(t,(function(i,o){return ne(e,r,t,i,o,n)}),!0),t;if(r.A!==e)return t;if(!r.P)return re(e,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var i=4===r.i||5===r.i?r.o=Y(r.k):r.o;M(3===r.i?new Set(i):i,(function(t,o){return ne(e,r,i,t,o,n)})),re(e,i,!1),n&&e.u&&V("Patches").R(r,n,e.u,e.s)}return r.o}function ne(e,t,n,r,i,o){if(k(i)){var a=te(e,i,o&&t&&3!==t.i&&!H(t.D,r)?o.concat(r):void 0);if(B(n,r,a),!k(a))return;e.m=!1}if(D(i)&&!W(i)){if(!e.h.F&&e._<1)return;te(e,i),t&&t.A.l||re(e,i)}}function re(e,t,n){void 0===n&&(n=!1),e.h.F&&e.m&&z(t,n)}function ie(e,t){var n=e[_e];return(n?G(n):e)[t]}function oe(e,t){if(t in e)for(var n=Object.getPrototypeOf(e);n;){var r=Object.getOwnPropertyDescriptor(n,t);if(r)return r;n=Object.getPrototypeOf(n)}}function ae(e){e.P||(e.P=!0,e.l&&ae(e.l))}function se(e){e.o||(e.o=Y(e.t))}function le(e,t,n){var r=U(t)?V("MapSet").N(t,n):j(t)?V("MapSet").T(t,n):e.O?function(e,t){var n=Array.isArray(e),r={i:n?1:0,A:t?t.A:K(),P:!1,I:!1,D:{},l:t,t:e,k:null,o:null,j:null,C:!1},i=r,o=Se;n&&(i=[r],o=Ce);var a=Proxy.revocable(i,o),s=a.revoke,l=a.proxy;return r.k=l,r.j=s,l}(t,n):V("ES5").J(t,n);return(n?n.A:K()).p.push(r),r}function ce(e){return k(e)||I(22,e),function e(t){if(!D(t))return t;var n,r=t[_e],i=F(t);if(r){if(!r.P&&(r.i<4||!V("ES5").K(r)))return r.t;r.I=!0,n=ue(t,i),r.I=!1}else n=ue(t,i);return M(n,(function(t,i){r&&function(e,t){return 2===F(e)?e.get(t):e[t]}(r.t,t)===i||B(n,t,e(i))})),3===i?new Set(n):n}(e)}function ue(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return Y(e)}var he,pe,de="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),fe="undefined"!=typeof Map,me="undefined"!=typeof Set,ge="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,ye=de?Symbol.for("immer-nothing"):((he={})["immer-nothing"]=!0,he),ve=de?Symbol.for("immer-draftable"):"__$immer_draftable",_e=de?Symbol.for("immer-state"):"__$immer_state",be=("undefined"!=typeof Symbol&&Symbol.iterator,""+Object.prototype.constructor),Ee="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,Te=Object.getOwnPropertyDescriptors||function(e){var t={};return Ee(e).forEach((function(n){t[n]=Object.getOwnPropertyDescriptor(e,n)})),t},xe={},Se={get:function(e,t){if(t===_e)return e;var n=G(e);if(!H(n,t))return function(e,t,n){var r,i=oe(t,n);return i?"value"in i?i.value:null===(r=i.get)||void 0===r?void 0:r.call(e.k):void 0}(e,n,t);var r=n[t];return e.I||!D(r)?r:r===ie(e.t,t)?(se(e),e.o[t]=le(e.A.h,r,e)):r},has:function(e,t){return t in G(e)},ownKeys:function(e){return Reflect.ownKeys(G(e))},set:function(e,t,n){var r=oe(G(e),t);if(null==r?void 0:r.set)return r.set.call(e.k,n),!0;if(!e.P){var i=ie(G(e),t),o=null==i?void 0:i[_e];if(o&&o.t===n)return e.o[t]=n,e.D[t]=!1,!0;if(function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}(n,i)&&(void 0!==n||H(e.t,t)))return!0;se(e),ae(e)}return e.o[t]===n&&"number"!=typeof n||(e.o[t]=n,e.D[t]=!0,!0)},deleteProperty:function(e,t){return void 0!==ie(e.t,t)||t in e.t?(e.D[t]=!1,se(e),ae(e)):delete e.D[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var n=G(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r?{writable:!0,configurable:1!==e.i||"length"!==t,enumerable:r.enumerable,value:n[t]}:r},defineProperty:function(){I(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){I(12)}},Ce={};M(Se,(function(e,t){Ce[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}})),Ce.deleteProperty=function(e,t){return Se.deleteProperty.call(this,e[0],t)},Ce.set=function(e,t,n){return Se.set.call(this,e[0],t,n,e[0])};var Ae=function(){function e(e){var t=this;this.O=ge,this.F=!0,this.produce=function(e,n,r){if("function"==typeof e&&"function"!=typeof n){var i=n;n=e;var o=t;return function(e){var t=this;void 0===e&&(e=i);for(var r=arguments.length,a=Array(r>1?r-1:0),s=1;s<r;s++)a[s-1]=arguments[s];return o.produce(e,(function(e){var r;return(r=n).call.apply(r,[t,e].concat(a))}))}}var a;if("function"!=typeof n&&I(6),void 0!==r&&"function"!=typeof r&&I(7),D(e)){var s=Q(t),l=le(t,e,void 0),c=!0;try{a=n(l),c=!1}finally{c?X(s):Z(s)}return"undefined"!=typeof Promise&&a instanceof Promise?a.then((function(e){return q(s,r),ee(e,s)}),(function(e){throw X(s),e})):(q(s,r),ee(a,s))}if(!e||"object"!=typeof e){if((a=n(e))===ye)return;return void 0===a&&(a=e),t.F&&z(a,!0),a}I(21,e)},this.produceWithPatches=function(e,n){return"function"==typeof e?function(n){for(var r=arguments.length,i=Array(r>1?r-1:0),o=1;o<r;o++)i[o-1]=arguments[o];return t.produceWithPatches(n,(function(t){return e.apply(void 0,[t].concat(i))}))}:[t.produce(e,n,(function(e,t){r=e,i=t})),r,i];var r,i},"boolean"==typeof(null==e?void 0:e.useProxies)&&this.setUseProxies(e.useProxies),"boolean"==typeof(null==e?void 0:e.autoFreeze)&&this.setAutoFreeze(e.autoFreeze)}var t=e.prototype;return t.createDraft=function(e){D(e)||I(8),k(e)&&(e=ce(e));var t=Q(this),n=le(this,e,void 0);return n[_e].C=!0,Z(t),n},t.finishDraft=function(e,t){var n=(e&&e[_e]).A;return q(n,t),ee(void 0,n)},t.setAutoFreeze=function(e){this.F=e},t.setUseProxies=function(e){e&&!ge&&I(20),this.O=e},t.applyPatches=function(e,t){var n;for(n=t.length-1;n>=0;n--){var r=t[n];if(0===r.path.length&&"replace"===r.op){e=r.value;break}}var i=V("Patches").$;return k(e)?i(e,t):this.produce(e,(function(e){return i(e,t.slice(n+1))}))},e}(),Re=new Ae,we=Re.produce;function Le(e){var t=(0,m.useState)((function(){return z("function"==typeof e?e():e,!0)})),n=t[1];return[t[0],(0,m.useCallback)((function(e){n("function"==typeof e?we(e):z(e))}),[])]}Re.produceWithPatches.bind(Re),Re.setAutoFreeze.bind(Re),Re.setUseProxies.bind(Re),Re.applyPatches.bind(Re),Re.createDraft.bind(Re),Re.finishDraft.bind(Re);var Oe=u(6840),Ne=u(3659);const Ie={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M464 336a48 48 0 1096 0 48 48 0 10-96 0zm72 112h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V456c0-4.4-3.6-8-8-8z"}}]},name:"info-circle",theme:"outlined"};var ke=u(2439),De=function(e,t){return m.createElement(ke.Z,(0,Ne.Z)((0,Ne.Z)({},e),{},{ref:t,icon:Ie}))};De.displayName="InfoCircleOutlined";const Pe=m.forwardRef(De);u(9625),u(2902),u(6087),u(5200),u(6484),u(6628),u(651);var Me={};const Fe=function(e){var t=e.height,n=void 0===t?150:t,r=e.showGutter,i=void 0===r||r,o=e.gremlinId,a=e.initValue,s=e.onValueChange,l=e.onSelectChange,c=e.isReadOnly,u=void 0!==c&&c,h=e.historyValue,p=e.theme,d=void 0===p?"tomorrow":p,f=e.onInit,y=Me[o];return(0,m.useEffect)((function(){if(!o)throw new Error("Gremlin Editor ID do not be undefined");return y||(Me[o]=window.ace.edit(o),y=Me[o],window.ace.require("ace/ext/language_tools"),d&&y.setTheme("ace/theme/".concat(d)),y.session.setMode("ace/mode/gremlin"),y.setShowPrintMargin(!1),y.setHighlightActiveLine(!1),y.renderer.setShowGutter(i),y.$blockScrolling=1/0,y.setReadOnly(u),y.setOption("minLines",3),y.setOption("wrap","free"),y.setOptions({enableBasicAutocompletion:!0,enableSnippets:!0,enableLiveAutocompletion:!0}),y.on("change",(function(){var e=y.getValue();s&&s(e)})),y.on("changeSelection",(function(){var e=y.session.getTextRange(y.getSelectionRange());l&&l(e)})),f&&f({resize:function(){y.resize()}})),a&&y.setValue(a),y.clearSelection(),function(){y.destroy(),y.container.remove(),y=null,delete Me[o]}}),[o]),(0,m.useEffect)((function(){Me[o]&&h&&Me[o].insert(h)}),[h]),g().createElement("div",{id:o,style:{height:n}})};var He=function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){e.done?i(e.value):function(e){return e instanceof n?e:new n((function(t){t(e)}))}(e.value).then(a,s)}l((r=r.apply(e,t||[])).next())}))};const{Option:Be}=f.Select,Ue={labelCol:{span:6},wrapperCol:{span:18}},je=({fileType:e,value:t,visible:n,close:r,saveTemplateServceId:i})=>{const[o]=f.Form.useForm(),{services:a}=(0,p.useContext)();if(!i)return f.message.error(C({id:"advance.components.PublishTemplate.SelectAServiceToPublish",dm:"请选择发布成模板的服务"})),null;const s=p.utils.getService(a,i),[l,c]=Le({initValue:t,defaultFormValue:{parameterName:"",valueType:"string",parameterValue:""},paramsList:[],selectValue:"",modalVisible:!1,btnLoading:!1,temDescription:""}),{initValue:u,defaultFormValue:h,paramsList:d,selectValue:m,modalVisible:y,temDescription:v,btnLoading:_}=l,b=[{title:C({id:"advance.components.PublishTemplate.ParameterName",dm:"参数名称"}),dataIndex:"parameterName",key:"parameterName"},{title:C({id:"advance.components.PublishTemplate.Type",dm:"类型"}),dataIndex:"valueType",key:"valueType"},{title:C({id:"advance.components.PublishTemplate.ReplacementValue",dm:"替换值"}),dataIndex:"parameterValue",key:"parameterValue"},{title:C({id:"advance.components.PublishTemplate.Operation",dm:"操作"}),key:"action",render:(e,t)=>g().createElement(f.Popconfirm,{title:C({id:"advance.components.PublishTemplate.AreYouSureYouWant",dm:"确定删除?"}),onConfirm:()=>(e=>{const t=d.filter((t=>t.parameterName!==e.parameterName&&t.parameterValue!==e.parameterValue));c((e=>{e.paramsList=t}))})(t),okText:C({id:"advance.components.PublishTemplate.Ok",dm:"确定"}),cancelText:C({id:"advance.components.PublishTemplate.Cancel",dm:"取消"})},g().createElement("a",null,g().createElement(Oe.Z,null)))}];return g().createElement(f.Drawer,{title:C({id:"advance.components.PublishTemplate.PublishAsATemplate",dm:"发布成模板"}),visible:n,width:700,onClose:r,footer:g().createElement("div",{style:{textAlign:"right"}},g().createElement(f.Button,{onClick:r,style:{marginRight:8}},C({id:"advance.components.PublishTemplate.Cancel",dm:"取消"})),g().createElement(f.Button,{type:"primary",onClick:()=>He(void 0,void 0,void 0,(function*(){const t=yield o.validateFields();if(!t.templateName)return void f.message.error(C({id:"advance.components.PublishTemplate.TheTemplateNameIsEmpty",dm:"模板名称为空或格式不正确!"}));if(c((e=>{e.btnLoading=!0})),!s)return;const n=yield s({graphLanguageType:e,queryTemplate:u,templateName:t.templateName,description:v,templateParameterList:d});c((e=>{e.btnLoading=!1})),n&&(f.message.success(C({id:"advance.components.PublishTemplate.TemplatePublishedSuccessfully",dm:"发布模板成功"})),r())})),loading:_},C({id:"advance.components.PublishTemplate.Publish",dm:"发布"})))},g().createElement(f.Row,{className:"templateParamContainer"},g().createElement(f.Col,{span:24,className:"title",style:{marginBottom:-8}},g().createElement(f.Form,{name:"templateNames",form:o},g().createElement(f.Form.Item,{label:C({id:"advance.components.PublishTemplate.TemplateName",dm:"模板名称"}),name:"templateName",tooltip:{title:C({id:"advance.components.PublishTemplate.TheTemplateNameCanOnly",dm:"模板名称只能包含字母、数字或下划线,且只能以字母开头"}),icon:g().createElement(Pe,null)}},g().createElement(f.Input,{size:"small",style:{width:350,border:"1px solid #434343",marginLeft:16}})))),g().createElement(f.Col,{span:16,className:"title",style:{marginTop:0}},C({id:"advance.components.PublishTemplate.OriginalStatement",dm:"原始语句"}),g().createElement("span",{className:"description"},C({id:"advance.components.PublishTemplate.SelectTheContentToBe",dm:"请选择要参数化的内容,然后点击右边的参数化按钮进行下一步的操作"}))),g().createElement(f.Col,{span:8,style:{textAlign:"right",marginTop:20}},g().createElement(f.Tooltip,{title:C({id:"advance.components.PublishTemplate.SelectTheParameterValueIn",dm:"选择 {fileType} 中的参数值后进行参数化操作"},{fileType:e})},g().createElement(f.Button,{size:"small",onClick:()=>{c((e=>{e.modalVisible=!0})),o.setFieldsValue({parameterName:"",valueType:"string",parameterValue:m.replace(/(\"|\')/g,"")})},disabled:!m},C({id:"advance.components.PublishTemplate.Parameterized",dm:"参数化"})))),g().createElement(f.Col,{span:24,style:{border:"1px solid #d9d9d9"}},g().createElement(Fe,{initialValue:u,height:150,isReadOnly:!0,onSelectChange:e=>{c((t=>{t.selectValue=e}))}})),g().createElement(f.Col,{span:24,className:"title"},C({id:"advance.components.PublishTemplate.TemplateStatement",dm:"模板语句"}),g().createElement("pre",{className:"tpre",dangerouslySetInnerHTML:{__html:u.trim().replace(/(\{\{)\w+(\}\})/g,(e=>`<span style='opacity: 0.2'>${e}</span>`))}})),g().createElement(f.Col,{span:24,className:"title"},C({id:"advance.components.PublishTemplate.ParameterList",dm:"参数列表"})),g().createElement(f.Col,{span:24},g().createElement(f.Table,{columns:b,dataSource:d,pagination:{hideOnSinglePage:!0,size:"small"}})),g().createElement(f.Col,{span:24,className:"title"},C({id:"advance.components.PublishTemplate.TemplateDescription",dm:"模板描述"})),g().createElement(f.Col,{span:24},g().createElement(f.Input.TextArea,{rows:3,onChange:e=>{c((t=>{t.temDescription=e.target.value}))},style:{border:"1px solid #434343"}}))),g().createElement(f.Modal,{title:C({id:"advance.components.PublishTemplate.FiletypeParameterized",dm:"{fileType} 参数化"},{fileType:e}),visible:y,onOk:()=>He(void 0,void 0,void 0,(function*(){const e=yield o.validateFields(),t=[...d],n=t.find((t=>t.parameterName===e.parameterName));n&&f.message.info(C({id:"advance.components.PublishTemplate.ParameterizeExistingParametersAndOverwrite",dm:"参数化已经存在的参数,会覆盖已有的参数"}));const r=t.filter((t=>t.parameterName!==e.parameterName));r.push(e);try{const t=new RegExp(`${m}`),n=u.replace(t,`{{${e.parameterName}}}`).replace(/(\"|\')(?=\{\{)/,"").replace(/(?:\}\})(\"|\')/,"");c((e=>{e.paramsList=[...r],e.initValue=n,e.modalVisible=!1,e.defaultFormValue={parameterName:"",valueType:"string",parameterValue:""}}))}catch(e){console.log("error",e)}})),width:350,okText:C({id:"advance.components.PublishTemplate.Ok",dm:"确定"}),cancelText:C({id:"advance.components.PublishTemplate.Cancel",dm:"取消"}),onCancel:()=>{c((e=>{e.modalVisible=!1}))},bodyStyle:{padding:"8px 24px"}},g().createElement(f.Form,Object.assign({},Ue,{name:"templateParams",form:o,initialValues:h}),g().createElement(f.Form.Item,{label:C({id:"advance.components.PublishTemplate.ParameterName",dm:"参数名称"}),name:"parameterName",rules:[{required:!0,message:C({id:"advance.components.PublishTemplate.EnterTheNameOfThe",dm:"请输入参数的名称!"})}],style:{marginBottom:16}},g().createElement(f.Input,{size:"small"})),g().createElement(f.Form.Item,{label:C({id:"advance.components.PublishTemplate.ParameterType",dm:"参数类型"}),name:"valueType",rules:[{required:!0,message:C({id:"advance.components.PublishTemplate.SelectAParameterType",dm:"请选择参数类型!"})}],style:{marginBottom:16}},g().createElement(f.Select,{size:"small"},g().createElement(Be,{value:"string"},"string"),g().createElement(Be,{value:"long"},"long"),g().createElement(Be,{value:"double"},"double"))),g().createElement(f.Form.Item,{name:"parameterValue",label:C({id:"advance.components.PublishTemplate.ReplacementValue",dm:"替换值"}),style:{marginBottom:0}},g().createElement(f.Input,{size:"small",disabled:!0})))))};var Ge=u(3266),Ye=u.n(Ge),ze=u(5535);function $e(e,t){return{from:{line:e.line-1,ch:e.column},to:{line:t.line-1,ch:t.column}}}u(2580),u(5212),u(6713),Ye().registerHelper("lint","cypher",((e,t,n)=>{const r=n.editorSupport;if(!r)return[];const i=n.newContentVersion();return r.update(e,i),function(e,t){const n=e.cypherMarkers;n.forEach((e=>e.clear())),null!=t.parseTree&&t.applyHighlighthing(((r,i)=>{const{from:o,to:a}=function(e,t){const{start:n,stop:r}=ze.TreeUtils.getPosition(e)||{start:0,stop:0};return $e(t.positionConverter.toRelative(n),t.positionConverter.toRelative(r+1))}(r,t);n.push(e.markText(o,a,{className:`cm-p-${i}`}))}))}(n,r),(r.parseErrors||[]).map((({line:e,col:t,msg:r})=>({severity:"error",from:{line:e-1,ch:Math.min(n.getLine(e-1).length-1,t)},to:{line:e,ch:0},message:r})))})),Ye().registerHelper("hint","cypher",(e=>{const t=e.editorSupport;if(!t)return{};t.update(e.getValue());const{line:n,ch:r}=e.getCursor(),{items:i,from:o,to:a}=t.getCompletion(n+1,r),s=$e(o,a),l=(e,t,n)=>{e.innerHTML+=`<b>${n.displayText}</b>${n.postfix?n.postfix:""}`};return Object.assign({list:i.map((({type:e,view:t,content:n,postfix:r})=>({text:n,displayText:t,className:`cm-hint-${e}`,type:e,postfix:r,render:l})))},s)}));const We=JSON.parse('{"aT":[{"row":["apoc.coll.avg","apoc.coll.avg(numbers :: LIST? OF NUMBER?) :: (FLOAT?)","apoc.coll.avg([0.5,1,2.3])",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.coll.contains","apoc.coll.contains(coll :: LIST? OF ANY?, value :: ANY?) :: (BOOLEAN?)","apoc.coll.contains(coll, value) optimized contains operation (using a HashSet) (returns single row or not)",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.coll.containsAll","apoc.coll.containsAll(coll :: LIST? OF ANY?, values :: LIST? OF ANY?) :: (BOOLEAN?)","apoc.coll.containsAll(coll, values) optimized contains-all operation (using a HashSet) (returns single row or not)",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.coll.containsAllSorted","apoc.coll.containsAllSorted(coll :: LIST? OF ANY?, values :: LIST? OF ANY?) :: (BOOLEAN?)","apoc.coll.containsAllSorted(coll, value) optimized contains-all on a sorted list operation (Collections.binarySearch) (returns single row or not)",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.coll.containsSorted","apoc.coll.containsSorted(coll :: LIST? OF ANY?, value :: ANY?) :: (BOOLEAN?)","apoc.coll.containsSorted(coll, value) optimized contains on a sorted list operation (Collections.binarySearch) (returns single row or not)",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.coll.disjunction","apoc.coll.disjunction(first :: LIST? OF ANY?, second :: LIST? OF ANY?) :: (LIST? OF ANY?)","apoc.coll.disjunction(first, second) - returns the disjunct set of the two lists",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.coll.indexOf","apoc.coll.indexOf(coll :: LIST? OF ANY?, value :: ANY?) :: (INTEGER?)","apoc.coll.indexOf(coll, value) | position of value in the list",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.coll.intersection","apoc.coll.intersection(first :: LIST? OF ANY?, second :: LIST? OF ANY?) :: (LIST? OF ANY?)","apoc.coll.intersection(first, second) - returns the unique intersection of the two lists",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.coll.max","apoc.coll.max(values :: LIST? OF ANY?) :: (ANY?)","apoc.coll.max([0.5,1,2.3])",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.coll.min","apoc.coll.min(values :: LIST? OF ANY?) :: (ANY?)","apoc.coll.min([0.5,1,2.3])",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.coll.pairs","apoc.coll.pairs(list :: LIST? OF ANY?) :: (LIST? OF ANY?)","apoc.coll.pairs([1,2,3]) returns [1,2],[2,3],[3,null] ",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.coll.pairsMin","apoc.coll.pairsMin(list :: LIST? OF ANY?) :: (LIST? OF ANY?)","apoc.coll.pairsMin([1,2,3]) returns [1,2],[2,3]",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.coll.removeAll","apoc.coll.removeAll(first :: LIST? OF ANY?, second :: LIST? OF ANY?) :: (LIST? OF ANY?)","apoc.coll.removeAll(first, second) - returns first list with all elements of second list removed",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.coll.sort","apoc.coll.sort(coll :: LIST? OF ANY?) :: (LIST? OF ANY?)","apoc.coll.sort(coll) sort on Collections",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.coll.sortMaps","apoc.coll.sortMaps(coll :: LIST? OF MAP?, prop :: STRING?) :: (LIST? OF ANY?)","apoc.coll.sortMaps([maps], \'name\') - sort maps by property",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.coll.sortNodes","apoc.coll.sortNodes(coll :: LIST? OF NODE?, prop :: STRING?) :: (LIST? OF ANY?)","apoc.coll.sortNodes([nodes], \'name\') sort nodes by property",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.coll.subtract","apoc.coll.subtract(first :: LIST? OF ANY?, second :: LIST? OF ANY?) :: (LIST? OF ANY?)","apoc.coll.subtract(first, second) - returns unique set of first list with all elements of second list removed",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.coll.sum","apoc.coll.sum(numbers :: LIST? OF NUMBER?) :: (FLOAT?)","apoc.coll.sum([0.5,1,2.3])",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.coll.sumLongs","apoc.coll.sumLongs(numbers :: LIST? OF NUMBER?) :: (INTEGER?)","apoc.coll.sumLongs([1,3,3])",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.coll.toSet","apoc.coll.toSet(values :: LIST? OF ANY?) :: (LIST? OF ANY?)","apoc.coll.toSet([list]) returns a unique list backed by a set",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.coll.union","apoc.coll.union(first :: LIST? OF ANY?, second :: LIST? OF ANY?) :: (LIST? OF ANY?)","apoc.coll.union(first, second) - creates the distinct union of the 2 lists",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.coll.unionAll","apoc.coll.unionAll(first :: LIST? OF ANY?, second :: LIST? OF ANY?) :: (LIST? OF ANY?)","apoc.coll.unionAll(first, second) - creates the full union with duplicates of the two lists",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.coll.zip","apoc.coll.zip(list1 :: LIST? OF ANY?, list2 :: LIST? OF ANY?) :: (LIST? OF ANY?)","apoc.coll.zip([list1],[list2])",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.convert.fromJsonList","apoc.convert.fromJsonList(list :: STRING?) :: (LIST? OF ANY?)","apoc.convert.fromJsonList(\'[1,2,3]\')",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.convert.fromJsonMap","apoc.convert.fromJsonMap(map :: STRING?) :: (MAP?)","apoc.convert.fromJsonMap(\'{\\"a\\":42,\\"b\\":\\"foo\\",\\"c\\":[1,2,3]}\')",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.convert.getJsonProperty","apoc.convert.getJsonProperty(node :: NODE?, key :: STRING?) :: (ANY?)","apoc.json.getJsonProperty(node,key) - converts serialized JSON in property back to original object",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.convert.getJsonPropertyMap","apoc.convert.getJsonPropertyMap(node :: NODE?, key :: STRING?) :: (MAP?)","apoc.json.getJsonPropertyMap(node,key) - converts serialized JSON in property back to map",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.convert.toBoolean","apoc.convert.toBoolean(bool :: ANY?) :: (BOOLEAN?)","apoc.convert.toBoolean(value) | tries it\'s best to convert the value to a boolean",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.convert.toJson","apoc.convert.toJson(value :: ANY?) :: (STRING?)","apoc.convert.toJson([1,2,3]) or toJson({a:42,b:\\"foo\\",c:[1,2,3]})",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.convert.toList","apoc.convert.toList(list :: ANY?) :: (LIST? OF ANY?)","apoc.convert.toList(value) | tries it\'s best to convert the value to a list",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.convert.toMap","apoc.convert.toMap(map :: ANY?) :: (MAP?)","apoc.convert.toMap(value) | tries it\'s best to convert the value to a map",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.convert.toNode","apoc.convert.toNode(node :: ANY?) :: (NODE?)","apoc.convert.toNode(value) | tries it\'s best to convert the value to a node",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.convert.toRelationship","apoc.convert.toRelationship(relationship :: ANY?) :: (RELATIONSHIP?)","apoc.convert.toRelationship(value) | tries it\'s best to convert the value to a relationship",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.convert.toSet","apoc.convert.toSet(list :: ANY?) :: (LIST? OF ANY?)","apoc.convert.toSet(value) | tries it\'s best to convert the value to a set",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.convert.toString","apoc.convert.toString(string :: ANY?) :: (STRING?)","apoc.convert.toString(value) | tries it\'s best to convert the value to a string",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.create.uuid","apoc.create.uuid() :: (STRING?)","apoc.create.uuid() - creates an UUID",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.data.domain","apoc.data.domain(url_or_email_address :: STRING?) :: (STRING?)","apoc.data.domain(\'url_or_email_address\') YIELD domain - extract the domain name from a url or an email address. If nothing was found, yield null.",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.date.fields","apoc.date.fields(date :: STRING?, pattern = yyyy-MM-dd HH:mm:ss :: STRING?) :: (MAP?)","apoc.date.fields(\'2012-12-23\',(\'yyyy-MM-dd\')) - return columns and a map representation of date parsed with the given format with entries for years,months,weekdays,days,hours,minutes,seconds,zoneid",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.date.format","apoc.date.format(time :: INTEGER?, unit = ms :: STRING?, format = yyyy-MM-dd HH:mm:ss :: STRING?, timezone = :: STRING?) :: (STRING?)","apoc.date.format(12345,(\'ms|s|m|h|d\'),(\'yyyy-MM-dd HH:mm:ss zzz\'),(\'TZ\')) get string representation of time value optionally using the specified unit (default ms) using specified format (default ISO) and specified time zone (default current TZ)",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.date.parse","apoc.date.parse(time :: STRING?, unit = ms :: STRING?, format = yyyy-MM-dd HH:mm:ss :: STRING?, timezone = :: STRING?) :: (INTEGER?)","apoc.date.parse(\'2012-12-23\',\'ms|s|m|h|d\',\'yyyy-MM-dd\') parse date string using the specified format into the specified time unit",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.date.systemTimezone","apoc.date.systemTimezone() :: (STRING?)","apoc.date.systemTimezone() returns the system timezone display name",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.date.toYears","apoc.date.toYears(value :: ANY?, format = yyyy-MM-dd HH:mm:ss :: STRING?) :: (FLOAT?)","toYears(timestap) or toYears(date[,format]) converts timestamp into floating point years",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.map.clean","apoc.map.clean(map :: MAP?, keys :: LIST? OF STRING?, values :: LIST? OF ANY?) :: (MAP?)","apoc.map.clean(map,[skip,keys],[skip,values]) yield map removes the keys and values contained in those lists, good for data cleaning from CSV/JSON",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.map.flatten","apoc.map.flatten(map :: MAP?) :: (MAP?)","apoc.map.flatten(map) yield map - flattens nested items in map using dot notation",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.map.fromLists","apoc.map.fromLists(keys :: LIST? OF STRING?, values :: LIST? OF ANY?) :: (MAP?)","apoc.map.fromLists([keys],[values])",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.map.fromNodes","apoc.map.fromNodes(label :: STRING?, property :: STRING?) :: (MAP?)","apoc.map.fromNodes(label, property)",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.map.fromPairs","apoc.map.fromPairs(pairs :: LIST? OF LIST? OF ANY?) :: (MAP?)","apoc.map.fromPairs([[key,value],[key2,value2],...])",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.map.fromValues","apoc.map.fromValues(values :: LIST? OF ANY?) :: (MAP?)","apoc.map.fromValues([key1,value1,key2,value2,...])",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.map.groupBy","apoc.map.groupBy(values :: LIST? OF ANY?, key :: STRING?) :: (MAP?)","apoc.map.groupBy([maps/nodes/relationships],\'key\') yield value - creates a map of the list keyed by the given property, with single values",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.map.groupByMulti","apoc.map.groupByMulti(values :: LIST? OF ANY?, key :: STRING?) :: (MAP?)","apoc.map.groupByMulti([maps/nodes/relationships],\'key\') yield value - creates a map of the list keyed by the given property, with list values",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.map.merge","apoc.map.merge(first :: MAP?, second :: MAP?) :: (MAP?)","apoc.map.merge(first,second) - merges two maps",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.map.mergeList","apoc.map.mergeList(maps :: LIST? OF MAP?) :: (MAP?)","apoc.map.mergeList([{maps}]) yield value - merges all maps in the list into one",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.map.removeKey","apoc.map.removeKey(map :: MAP?, key :: STRING?) :: (MAP?)","apoc.map.removeKey(map,key)",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.map.removeKeys","apoc.map.removeKeys(map :: MAP?, keys :: LIST? OF STRING?) :: (MAP?)","apoc.map.removeKeys(map,keys)",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.map.setEntry","apoc.map.setEntry(map :: MAP?, key :: STRING?, value :: ANY?) :: (MAP?)","apoc.map.setEntry(map,key,value)",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.map.setKey","apoc.map.setKey(map :: MAP?, key :: STRING?, value :: ANY?) :: (MAP?)","apoc.map.setKey(map,key,value)",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.map.setLists","apoc.map.setLists(map :: MAP?, keys :: LIST? OF STRING?, values :: LIST? OF ANY?) :: (MAP?)","apoc.map.setLists(map,[keys],[values])",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.map.setPairs","apoc.map.setPairs(map :: MAP?, pairs :: LIST? OF LIST? OF ANY?) :: (MAP?)","apoc.map.setPairs(map,[[key1,value1],[key2,value2])",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.map.setValues","apoc.map.setValues(map :: MAP?, pairs :: LIST? OF ANY?) :: (MAP?)","apoc.map.setValues(map,[key1,value1,key2,value2])",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.math.round","apoc.math.round(value :: FLOAT?, precision = 0 :: INTEGER?, mode = HALF_UP :: STRING?) :: (FLOAT?)","apoc.math.round(value,[prec],mode=[CEILING,FLOOR,UP,DOWN,HALF_EVEN,HALF_DOWN,HALF_UP,DOWN,UNNECESSARY])",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.meta.isType","apoc.meta.isType(value :: ANY?, type :: STRING?) :: (BOOLEAN?)","apoc.meta.isType(value,type) - returns a row if type name matches none if not (INTEGER,FLOAT,STRING,BOOLEAN,RELATIONSHIP,NODE,PATH,NULL,UNKNOWN,MAP,LIST)",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.meta.type","apoc.meta.type(value :: ANY?) :: (STRING?)","apoc.meta.type(value) - type name of a value (INTEGER,FLOAT,STRING,BOOLEAN,RELATIONSHIP,NODE,PATH,NULL,UNKNOWN,MAP,LIST)",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.meta.typeName","apoc.meta.typeName(value :: ANY?) :: (STRING?)","apoc.meta.typeName(value) - type name of a value (INTEGER,FLOAT,STRING,BOOLEAN,RELATIONSHIP,NODE,PATH,NULL,UNKNOWN,MAP,LIST)",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.meta.types","apoc.meta.types(properties :: ANY?) :: (MAP?)","apoc.meta.types(node-relationship-map) - returns a map of keys to types",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.node.relationship.exists","apoc.node.relationship.exists(node :: NODE?, types :: STRING?) :: (BOOLEAN?)","apoc.node.relationship.exists(node, rel-direction-pattern) - yields true effectively when the node has the relationships of the pattern",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.nodes.isDense","apoc.nodes.isDense(node :: NODE?) :: (BOOLEAN?)","apoc.nodes.isDense(node) - returns true if it is a dense node",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.number.format","apoc.number.format(number :: ANY?, pattern = :: STRING?, lang = :: STRING?) :: (STRING?)","apoc.number.format(number) | format a long or double using the default system pattern and language to produce a string",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.number.parseFloat","apoc.number.parseFloat(text :: STRING?, pattern = :: STRING?, lang = :: STRING?) :: (FLOAT?)","apoc.number.parseFloat(text) | parse a text using the default system pattern and language to produce a double",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.number.parseInt","apoc.number.parseInt(text :: STRING?, pattern = :: STRING?, lang = :: STRING?) :: (INTEGER?)","apoc.number.parseInt(text) | parse a text using the default system pattern and language to produce a long",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.scoring.existence","apoc.scoring.existence(score :: INTEGER?, exists :: BOOLEAN?) :: (FLOAT?)","apoc.scoring.existence(5, true) returns the provided score if true, 0 if false",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.scoring.pareto","apoc.scoring.pareto(minimumThreshold :: INTEGER?, eightyPercentValue :: INTEGER?, maximumValue :: INTEGER?, score :: INTEGER?) :: (FLOAT?)","apoc.scoring.pareto(10, 20, 100, 11) applies a Pareto scoring function over the inputs",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.text.clean","apoc.text.clean(text :: STRING?) :: (STRING?)","apoc.text.clean(text) - strip the given string of everything except alpha numeric characters and convert it to lower case.",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.text.compareCleaned","apoc.text.compareCleaned(text1 :: STRING?, text2 :: STRING?) :: (BOOLEAN?)","apoc.text.compareCleaned(text1, text2) - compare the given strings stripped of everything except alpha numeric characters converted to lower case.",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.text.join","apoc.text.join(texts :: LIST? OF STRING?, delimiter :: STRING?) :: (STRING?)","apoc.text.join([\'text1\',\'text2\',...], delimiter) - join the given strings with the given delimiter.",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.text.regreplace","apoc.text.regreplace(text :: STRING?, regex :: STRING?, replacement :: STRING?) :: (STRING?)","apoc.text.regreplace(text, regex, replacement) - replace each substring of the given string that matches the given regular expression with the given replacement.",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.text.replace","apoc.text.replace(text :: STRING?, regex :: STRING?, replacement :: STRING?) :: (STRING?)","apoc.text.replace(text, regex, replacement) - replace each substring of the given string that matches the given regular expression with the given replacement.",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.text.urldecode","apoc.text.urldecode(text :: STRING?) :: (STRING?)","apoc.text.urldecode(text) - return the urldecoded text",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.text.urlencode","apoc.text.urlencode(text :: STRING?) :: (STRING?)","apoc.text.urlencode(text) - return the urlencoded text",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.trigger.nodesByLabel","apoc.trigger.nodesByLabel(labelEntries :: ANY?, label :: STRING?) :: (LIST? OF ANY?)","",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.trigger.propertiesByKey","apoc.trigger.propertiesByKey(propertyEntries :: ANY?, key :: STRING?) :: (LIST? OF ANY?)","",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.util.md5","apoc.util.md5(values :: LIST? OF ANY?) :: (STRING?)","apoc.util.md5([values]) | computes the md5 of the concatenation of all string values of the list",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.util.sha1","apoc.util.sha1(values :: LIST? OF ANY?) :: (STRING?)","apoc.util.sha1([values]) | computes the sha1 of the concatenation of all string values of the list",["admin","reader","publisher","architect"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}}]}'),Ve=JSON.parse('{"aT":[{"row":["apoc.algo.aStar","apoc.algo.aStar(startNode :: NODE?, endNode :: NODE?, relationshipTypesAndDirections :: STRING?, weightPropertyName :: STRING?, latPropertyName :: STRING?, lonPropertyName :: STRING?) :: (path :: PATH?, weight :: FLOAT?)","apoc.algo.aStar(startNode, endNode, \'KNOWS|<WORKS_WITH|IS_MANAGER_OF>\', \'distance\',\'lat\',\'lon\') YIELD path, weight - run A* with relationship property name as cost function",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.algo.aStarConfig","apoc.algo.aStarConfig(startNode :: NODE?, endNode :: NODE?, relationshipTypesAndDirections :: STRING?, config :: MAP?) :: (path :: PATH?, weight :: FLOAT?)","apoc.algo.aStar(startNode, endNode, \'KNOWS|<WORKS_WITH|IS_MANAGER_OF>\', {weight:\'dist\',default:10,x:\'lon\',y:\'lat\'}) YIELD path, weight - run A* with relationship property name as cost function",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.algo.allSimplePaths","apoc.algo.allSimplePaths(startNode :: NODE?, endNode :: NODE?, relationshipTypesAndDirections :: STRING?, maxNodes :: INTEGER?) :: (path :: PATH?)","apoc.algo.allSimplePaths(startNode, endNode, \'KNOWS|<WORKS_WITH|IS_MANAGER_OF>\', 5) YIELD path, weight - run allSimplePaths with relationships given and maxNodes",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.algo.betweenness","apoc.algo.betweenness(types :: LIST? OF STRING?, nodes :: LIST? OF NODE?, direction :: STRING?) :: (node :: NODE?, score :: FLOAT?)","CALL apoc.algo.betweenness([\'TYPE\',...],nodes,BOTH) YIELD node, score - calculate betweenness centrality for given nodes",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.algo.betweennessCypher","apoc.algo.betweennessCypher(config :: MAP?) :: (nodes :: INTEGER?, relationships :: INTEGER?, readNodeMillis :: INTEGER?, readRelationshipMillis :: INTEGER?, computeMillis :: INTEGER?, writeMillis :: INTEGER?, write :: BOOLEAN?, property :: STRING?)","CALL apoc.algo.betweennessCypher(node_cypher,rel_cypher,write) - calculates betweeness centrality based on cypher input",["publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.algo.cliques","apoc.algo.cliques(minSize :: NUMBER?) :: (clique :: LIST? OF NODE?)","apoc.algo.cliques(minSize) YIELD cliques - search the graph and return all maximal cliques at least at large as the minimum size argument.",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.algo.cliquesWithNode","apoc.algo.cliquesWithNode(startNode :: NODE?, minSize :: NUMBER?) :: (clique :: LIST? OF NODE?)","apoc.algo.cliquesWithNode(startNode, minSize) YIELD cliques - search the graph and return all maximal cliques that are at least as large than the minimum size argument and contain this node ",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.algo.closeness","apoc.algo.closeness(types :: LIST? OF STRING?, nodes :: LIST? OF NODE?, direction :: STRING?) :: (node :: NODE?, score :: FLOAT?)","CALL apoc.algo.closeness([\'TYPE\',...],nodes, INCOMING) YIELD node, score - calculate closeness centrality for given nodes",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.algo.community","apoc.algo.community(times :: INTEGER?, labels :: LIST? OF STRING?, partitionKey :: STRING?, type :: STRING?, direction :: STRING?, weightKey :: STRING?, batchSize :: INTEGER?) :: VOID","CALL apoc.algo.community(times,labels,partitionKey,type,direction,weightKey,batchSize) - simple label propagation kernel",["publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.algo.cover","apoc.algo.cover(nodes :: ANY?) :: (rel :: RELATIONSHIP?)","apoc.algo.cover(nodes) yield rel - returns all relationships between this set of nodes",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.algo.dijkstra","apoc.algo.dijkstra(startNode :: NODE?, endNode :: NODE?, relationshipTypesAndDirections :: STRING?, weightPropertyName :: STRING?) :: (path :: PATH?, weight :: FLOAT?)","apoc.algo.dijkstra(startNode, endNode, \'KNOWS|<WORKS_WITH|IS_MANAGER_OF>\', \'distance\') YIELD path, weight - run dijkstra with relationship property name as cost function",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.algo.dijkstraWithDefaultWeight","apoc.algo.dijkstraWithDefaultWeight(startNode :: NODE?, endNode :: NODE?, relationshipTypesAndDirections :: STRING?, weightPropertyName :: STRING?, defaultWeight :: FLOAT?) :: (path :: PATH?, weight :: FLOAT?)","apoc.algo.dijkstraWithDefaultWeight(startNode, endNode, \'KNOWS|<WORKS_WITH|IS_MANAGER_OF>\', \'distance\', 10) YIELD path, weight - run dijkstra with relationship property name as cost function and a default weight if the property does not exist",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.algo.pageRank","apoc.algo.pageRank(nodes :: LIST? OF NODE?) :: (node :: NODE?, score :: FLOAT?)","CALL apoc.algo.pageRank(nodes) YIELD node, score - calculates page rank for given nodes",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.algo.pageRankStats","apoc.algo.pageRankStats(config :: MAP?) :: (nodes :: INTEGER?, relationships :: INTEGER?, iterations :: INTEGER?, readNodeMillis :: INTEGER?, readRelationshipMillis :: INTEGER?, computeMillis :: INTEGER?, writeMillis :: INTEGER?, write :: BOOLEAN?, property :: STRING?)","CALL apoc.algo.pageRankStats({iterations:_,types:_,write:true,...}) YIELD nodeCount - calculates page rank on graph for given nodes and potentially writes back",["publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.algo.pageRankWithConfig","apoc.algo.pageRankWithConfig(nodes :: LIST? OF NODE?, config :: MAP?) :: (node :: NODE?, score :: FLOAT?)","CALL apoc.algo.pageRankWithConfig(nodes,{iterations:_,types:_}) YIELD node, score, info - calculates page rank for given nodes",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.algo.pageRankWithCypher","apoc.algo.pageRankWithCypher(config :: MAP?) :: (nodes :: INTEGER?, relationships :: INTEGER?, iterations :: INTEGER?, readNodeMillis :: INTEGER?, readRelationshipMillis :: INTEGER?, computeMillis :: INTEGER?, writeMillis :: INTEGER?, write :: BOOLEAN?, property :: STRING?)","CALL apoc.algo.pageRankWithCypher({iterations,node_cypher,rel_cypher,write,property,numCpu}) - calculates page rank based on cypher input",["publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.algo.wcc","apoc.algo.wcc() :: (nodeIds :: LIST? OF INTEGER?, stats :: MAP?)","CALL apoc.algo.wcc() YIELD number of weakly connected components",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.bitwise.op","apoc.bitwise.op(a :: INTEGER?, operator :: STRING?, b :: INTEGER?) :: (value :: INTEGER?)","apoc.bitwise.op(60,\'|\',13) bitwise operations a & b, a | b, a ^ b, ~a, a >> b, a >>> b, a << b. returns the result of the bitwise operation",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.cluster.graph","apoc.cluster.graph() :: (nodes :: LIST? OF NODE?, relationships :: LIST? OF RELATIONSHIP?)","",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.coll.partition","apoc.coll.partition(values :: LIST? OF ANY?, batchSize :: INTEGER?) :: (value :: LIST? OF ANY?)","apoc.coll.partition(list,batchSize)",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.coll.split","apoc.coll.split(values :: LIST? OF ANY?, value :: ANY?) :: (value :: LIST? OF ANY?)","apoc.coll.split(list,value) | splits collection on given values rows of lists, value itself will not be part of resulting lists",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.coll.zipToRows","apoc.coll.zipToRows(list1 :: LIST? OF ANY?, list2 :: LIST? OF ANY?) :: (value :: LIST? OF ANY?)","apoc.coll.zipToRows(list1,list2) - creates pairs like zip but emits one row per pair",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.config.list","apoc.config.list() :: (key :: STRING?, value :: ANY?)","",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.config.map","apoc.config.map() :: (value :: MAP?)","",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.convert.setJsonProperty","apoc.convert.setJsonProperty(node :: NODE?, key :: STRING?, value :: ANY?) :: VOID","apoc.json.setJsonProperty(node,key,complexValue) - sets value serialized to JSON as property with the given name on the node",["publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.convert.toTree","apoc.convert.toTree(paths :: LIST? OF PATH?) :: (value :: MAP?)","apoc.convert.toTree([paths]) creates a stream of nested documents representing the at least one root of these paths",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.couchbase.append","apoc.couchbase.append(nodes :: LIST? OF STRING?, bucket :: STRING?, documentId :: STRING?, json :: STRING?) :: (id :: STRING?, expiry :: INTEGER?, cas :: INTEGER?, mutationToken :: MAP?, content :: MAP?)","apoc.couchbase.append(nodes, bucket, documentId, jsonDocument) yield id, expiry, cas, mutationToken, content - append a couchbase json document to an existing one.",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.couchbase.exists","apoc.couchbase.exists(nodes :: LIST? OF STRING?, bucket :: STRING?, documentId :: STRING?) :: (value :: BOOLEAN?)","apoc.couchbase.exists(nodes, bucket, documentId) yield value - check whether a couchbase json document with the given ID does exist.",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.couchbase.get","apoc.couchbase.get(nodes :: LIST? OF STRING?, bucket :: STRING?, documentId :: STRING?) :: (id :: STRING?, expiry :: INTEGER?, cas :: INTEGER?, mutationToken :: MAP?, content :: MAP?)","apoc.couchbase.get(nodes, bucket, documentId) yield id, expiry, cas, mutationToken, content - retrieves a couchbase json document by its unique ID.",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.couchbase.insert","apoc.couchbase.insert(nodes :: LIST? OF STRING?, bucket :: STRING?, documentId :: STRING?, json :: STRING?) :: (id :: STRING?, expiry :: INTEGER?, cas :: INTEGER?, mutationToken :: MAP?, content :: MAP?)","apoc.couchbase.insert(nodes, bucket, documentId, jsonDocument) yield id, expiry, cas, mutationToken, content - insert a couchbase json document with its unique ID.",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.couchbase.namedParamsQuery","apoc.couchbase.namedParamsQuery(nodes :: LIST? OF STRING?, bucket :: STRING?, statement :: STRING?, paramNames :: LIST? OF STRING?, paramValues :: LIST? OF ANY?) :: (queryResult :: LIST? OF MAP?)","apoc.couchbase.namedParamsQuery(nodes, bucket, statement, paramNames, paramValues) yield queryResult - executes a N1QL statement with named parameters.",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.couchbase.posParamsQuery","apoc.couchbase.posParamsQuery(nodes :: LIST? OF STRING?, bucket :: STRING?, statement :: STRING?, params :: LIST? OF ANY?) :: (queryResult :: LIST? OF MAP?)","apoc.couchbase.posParamsQuery(nodes, bucket, statement, params) yield queryResult - executes a N1QL statement with positional parameters.",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.couchbase.prepend","apoc.couchbase.prepend(nodes :: LIST? OF STRING?, bucket :: STRING?, documentId :: STRING?, json :: STRING?) :: (id :: STRING?, expiry :: INTEGER?, cas :: INTEGER?, mutationToken :: MAP?, content :: MAP?)","apoc.couchbase.prepend(nodes, bucket, documentId, jsonDocument) yield id, expiry, cas, mutationToken, content - prepend a couchbase json document to an existing one.",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.couchbase.query","apoc.couchbase.query(nodes :: LIST? OF STRING?, bucket :: STRING?, statement :: STRING?) :: (queryResult :: LIST? OF MAP?)","apoc.couchbase.query(nodes, bucket, statement) yield queryResult - executes a plain un-parameterized N1QL statement.",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.couchbase.remove","apoc.couchbase.remove(nodes :: LIST? OF STRING?, bucket :: STRING?, documentId :: STRING?) :: (id :: STRING?, expiry :: INTEGER?, cas :: INTEGER?, mutationToken :: MAP?, content :: MAP?)","apoc.couchbase.remove(nodes, bucket, documentId) yield id, expiry, cas, mutationToken, content - remove the couchbase json document identified by its unique ID.",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.couchbase.replace","apoc.couchbase.replace(nodes :: LIST? OF STRING?, bucket :: STRING?, documentId :: STRING?, json :: STRING?) :: (id :: STRING?, expiry :: INTEGER?, cas :: INTEGER?, mutationToken :: MAP?, content :: MAP?)","apoc.couchbase.replace(nodes, bucket, documentId, jsonDocument) yield id, expiry, cas, mutationToken, content - replace the content of the couchbase json document identified by its unique ID.",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.couchbase.upsert","apoc.couchbase.upsert(nodes :: LIST? OF STRING?, bucket :: STRING?, documentId :: STRING?, json :: STRING?) :: (id :: STRING?, expiry :: INTEGER?, cas :: INTEGER?, mutationToken :: MAP?, content :: MAP?)","apoc.couchbase.upsert(nodes, bucket, documentId, jsonDocument) yield id, expiry, cas, mutationToken, content - insert or overwrite a couchbase json document with its unique ID.",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.create.addLabels","apoc.create.addLabels(nodes :: ANY?, label :: LIST? OF STRING?) :: (node :: NODE?)","apoc.create.addLabels( [node,id,ids,nodes], [\'Label\',...]) - adds the given labels to the node or nodes",["publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.create.node","apoc.create.node(label :: LIST? OF STRING?, props :: MAP?) :: (node :: NODE?)","apoc.create.node([\'Label\'], {key:value,...}) - create node with dynamic labels",["publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.create.nodes","apoc.create.nodes(label :: LIST? OF STRING?, props :: LIST? OF MAP?) :: (node :: NODE?)","apoc.create.nodes([\'Label\'], [{key:value,...}]) create multiple nodes with dynamic labels",["publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.create.relationship","apoc.create.relationship(from :: NODE?, relType :: STRING?, props :: MAP?, to :: NODE?) :: (rel :: RELATIONSHIP?)","apoc.create.relationship(person1,\'KNOWS\',{key:value,...}, person2) create relationship with dynamic rel-type",["publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.create.removeLabels","apoc.create.removeLabels(nodes :: ANY?, label :: LIST? OF STRING?) :: (node :: NODE?)","apoc.create.removeLabels( [node,id,ids,nodes], [\'Label\',...]) - removes the given labels from the node or nodes",["publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.create.setLabels","apoc.create.setLabels(nodes :: ANY?, label :: LIST? OF STRING?) :: (node :: NODE?)","apoc.create.setLabels( [node,id,ids,nodes], [\'Label\',...]) - sets the given labels, non matching labels are removed on the node or nodes",["publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.create.setProperties","apoc.create.setProperties(nodes :: ANY?, keys :: LIST? OF STRING?, values :: LIST? OF ANY?) :: (node :: NODE?)","apoc.create.setProperties( [node,id,ids,nodes], [keys], [values]) - sets the given property on the nodes(s)",["publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.create.setProperty","apoc.create.setProperty(nodes :: ANY?, key :: STRING?, value :: ANY?) :: (node :: NODE?)","apoc.create.setProperty( [node,id,ids,nodes], key, value) - sets the given property on the node(s)",["publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.create.setRelProperties","apoc.create.setRelProperties(rels :: ANY?, keys :: LIST? OF STRING?, values :: LIST? OF ANY?) :: (rel :: RELATIONSHIP?)","apoc.create.setRelProperties( [rel,id,ids,rels], [keys], [values]) - sets the given property on the relationship(s)",["publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.create.setRelProperty","apoc.create.setRelProperty(relationships :: ANY?, key :: STRING?, value :: ANY?) :: (rel :: RELATIONSHIP?)","apoc.create.setRelProperty( [rel,id,ids,rels], key, value) - sets the given property on the relationship(s)",["publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.create.uuids","apoc.create.uuids(count :: INTEGER?) :: (row :: INTEGER?, uuid :: STRING?)","apoc.create.uuids(count) yield uuid - creates \'count\' UUIDs ",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.create.vNode","apoc.create.vNode(label :: LIST? OF STRING?, props :: MAP?) :: (node :: NODE?)","apoc.create.vNode([\'Label\'], {key:value,...}) returns a virtual node",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.create.vNodes","apoc.create.vNodes(label :: LIST? OF STRING?, props :: LIST? OF MAP?) :: (node :: NODE?)","apoc.create.vNodes([\'Label\'], [{key:value,...}]) returns virtual nodes",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.create.vPattern","apoc.create.vPattern(from :: MAP?, relType :: STRING?, props :: MAP?, to :: MAP?) :: (from :: NODE?, rel :: RELATIONSHIP?, to :: NODE?)","apoc.create.vPattern({_labels:[\'LabelA\'],key:value},\'KNOWS\',{key:value,...}, {_labels:[\'LabelB\'],key:value}) returns a virtual pattern",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.create.vPatternFull","apoc.create.vPatternFull(labelsN :: LIST? OF STRING?, n :: MAP?, relType :: STRING?, props :: MAP?, labelsM :: LIST? OF STRING?, m :: MAP?) :: (from :: NODE?, rel :: RELATIONSHIP?, to :: NODE?)","apoc.create.vPatternFull([\'LabelA\'],{key:value},\'KNOWS\',{key:value,...},[\'LabelB\'],{key:value}) returns a virtual pattern",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.create.vRelationship","apoc.create.vRelationship(from :: NODE?, relType :: STRING?, props :: MAP?, to :: NODE?) :: (rel :: RELATIONSHIP?)","apoc.create.vRelationship(nodeFrom,\'KNOWS\',{key:value,...}, nodeTo) returns a virtual relationship",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.cypher.doit","apoc.cypher.doit(cypher :: STRING?, params :: MAP?) :: (value :: MAP?)","apoc.cypher.doIt(fragment, params) yield value - executes writing fragment with the given parameters",["publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.cypher.mapParallel","apoc.cypher.mapParallel(fragment :: STRING?, params :: MAP?, list :: LIST? OF ANY?) :: (value :: MAP?)","apoc.cypher.mapParallel(fragment, params, list-to-parallelize) yield value - executes fragment in parallel batches with the list segments being assigned to _",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.cypher.mapParallel2","apoc.cypher.mapParallel2(fragment :: STRING?, params :: MAP?, list :: LIST? OF ANY?, partitions :: INTEGER?) :: (value :: MAP?)","apoc.cypher.mapParallel2(fragment, params, list-to-parallelize) yield value - executes fragment in parallel batches with the list segments being assigned to _",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.cypher.parallel","apoc.cypher.parallel(fragment :: STRING?, params :: MAP?, parallelizeOn :: STRING?) :: (value :: MAP?)","",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.cypher.parallel2","apoc.cypher.parallel2(fragment :: STRING?, params :: MAP?, parallelizeOn :: STRING?) :: (value :: MAP?)","",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.cypher.run","apoc.cypher.run(cypher :: STRING?, params :: MAP?) :: (value :: MAP?)","apoc.cypher.run(fragment, params) yield value - executes reading fragment with the given parameters",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.cypher.runFile","apoc.cypher.runFile(file :: STRING?) :: (row :: INTEGER?, result :: MAP?)","apoc.cypher.runFile(file or url) - runs each statement in the file, all semicolon separated - currently no schema operations",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.cypher.runMany","apoc.cypher.runMany(cypher :: STRING?, params :: MAP?) :: (row :: INTEGER?, result :: MAP?)","apoc.cypher.runMany(\'cypher;\\\\nstatements;\',{params}) - runs each semicolon separated statement and returns summary - currently no schema operations",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.cypher.runTimeboxed","apoc.cypher.runTimeboxed(cypher :: STRING?, params :: MAP?, timeout :: INTEGER?) :: (value :: MAP?)","apoc.cypher.runTimeboxed(\'cypherStatement\',{params}, timeout) - abort statement after timeout ms if not finished",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.date.expire","apoc.date.expire(node :: NODE?, time :: INTEGER?, timeUnit :: STRING?) :: VOID","CALL apoc.date.expire(node,time,\'time-unit\') - expire node in given time by setting :TTL label and `ttl` property",["publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.date.expireIn","apoc.date.expireIn(node :: NODE?, timeDelta :: INTEGER?, timeUnit :: STRING?) :: VOID","CALL apoc.date.expire.in(node,time,\'time-unit\') - expire node in given time-delta by setting :TTL label and `ttl` property",["publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.es.get","apoc.es.get(host :: STRING?, index :: STRING?, type :: STRING?, id :: STRING?, query :: ANY?, payload :: ANY?) :: (value :: MAP?)","apoc.es.get(host-or-port,index-or-null,type-or-null,id-or-null,query-or-null,payload-or-null) yield value - perform a GET operation on elastic search",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.es.getRaw","apoc.es.getRaw(host :: STRING?, path :: STRING?, payload :: ANY?) :: (value :: MAP?)","apoc.es.getRaw(host-or-port,path,payload-or-null) yield value - perform a raw GET operation on elastic search",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.es.post","apoc.es.post(host :: STRING?, index :: STRING?, type :: STRING?, id :: STRING?, query :: ANY?, payload :: ANY?) :: (value :: MAP?)","apoc.es.post(host-or-port,index-or-null,type-or-null,query-or-null,payload-or-null) yield value - perform a POST operation on elastic search",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.es.postRaw","apoc.es.postRaw(host :: STRING?, path :: STRING?, payload :: ANY?) :: (value :: MAP?)","apoc.es.postRaw(host-or-port,path,payload-or-null) yield value - perform a raw POST operation on elastic search",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.es.put","apoc.es.put(host :: STRING?, index :: STRING?, type :: STRING?, id :: STRING?, query :: ANY?, payload :: ANY?) :: (value :: MAP?)","apoc.es.put(host-or-port,index-or-null,type-or-null,query-or-null,payload-or-null) yield value - perform a PUT operation on elastic search",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.es.query","apoc.es.query(host :: STRING?, index :: STRING?, type :: STRING?, query :: ANY?, payload :: ANY?) :: (value :: MAP?)","apoc.es.query(host-or-port,index-or-null,type-or-null,query-or-null,payload-or-null) yield value - perform a SEARCH operation on elastic search",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.es.stats","apoc.es.stats(host :: STRING?) :: (value :: MAP?)","apoc.es.stats(host-url-Key) - elastic search statistics",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.example.movies","apoc.example.movies() :: (file :: STRING?, source :: STRING?, format :: STRING?, nodes :: INTEGER?, relationships :: INTEGER?, properties :: INTEGER?, time :: INTEGER?, rows :: INTEGER?)","apoc.example.movies() | Creates the sample movies graph",["publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.export.csv.all","apoc.export.csv.all(file :: STRING?, config :: MAP?) :: (file :: STRING?, source :: STRING?, format :: STRING?, nodes :: INTEGER?, relationships :: INTEGER?, properties :: INTEGER?, time :: INTEGER?, rows :: INTEGER?)","",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.export.csv.data","apoc.export.csv.data(nodes :: LIST? OF NODE?, rels :: LIST? OF RELATIONSHIP?, file :: STRING?, config :: MAP?) :: (file :: STRING?, source :: STRING?, format :: STRING?, nodes :: INTEGER?, relationships :: INTEGER?, properties :: INTEGER?, time :: INTEGER?, rows :: INTEGER?)","",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.export.csv.graph","apoc.export.csv.graph(graph :: MAP?, file :: STRING?, config :: MAP?) :: (file :: STRING?, source :: STRING?, format :: STRING?, nodes :: INTEGER?, relationships :: INTEGER?, properties :: INTEGER?, time :: INTEGER?, rows :: INTEGER?)","",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.export.csv.query","apoc.export.csv.query(query :: STRING?, file :: STRING?, config :: MAP?) :: (file :: STRING?, source :: STRING?, format :: STRING?, nodes :: INTEGER?, relationships :: INTEGER?, properties :: INTEGER?, time :: INTEGER?, rows :: INTEGER?)","",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.export.cypher.all","apoc.export.cypher.all(file :: STRING?, config :: MAP?) :: (file :: STRING?, source :: STRING?, format :: STRING?, nodes :: INTEGER?, relationships :: INTEGER?, properties :: INTEGER?, time :: INTEGER?, rows :: INTEGER?)","apoc.export.cypher.all(file,config) - exports whole database incl. indexes as cypher statements to the provided file",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.export.cypher.data","apoc.export.cypher.data(nodes :: LIST? OF NODE?, rels :: LIST? OF RELATIONSHIP?, file :: STRING?, config :: MAP?) :: (file :: STRING?, source :: STRING?, format :: STRING?, nodes :: INTEGER?, relationships :: INTEGER?, properties :: INTEGER?, time :: INTEGER?, rows :: INTEGER?)","apoc.export.cypher.data(nodes,rels,file,config) - exports given nodes and relationships incl. indexes as cypher statements to the provided file",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.export.cypher.graph","apoc.export.cypher.graph(graph :: MAP?, file :: STRING?, config :: MAP?) :: (file :: STRING?, source :: STRING?, format :: STRING?, nodes :: INTEGER?, relationships :: INTEGER?, properties :: INTEGER?, time :: INTEGER?, rows :: INTEGER?)","apoc.export.cypher.graph(graph,file,config) - exports given graph object incl. indexes as cypher statements to the provided file",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.export.cypher.query","apoc.export.cypher.query(query :: STRING?, file :: STRING?, config :: MAP?) :: (file :: STRING?, source :: STRING?, format :: STRING?, nodes :: INTEGER?, relationships :: INTEGER?, properties :: INTEGER?, time :: INTEGER?, rows :: INTEGER?)","apoc.export.cypher.query(query,file,config) - exports nodes and relationships from the cypher statement incl. indexes as cypher statements to the provided file",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.export.cypherAll","apoc.export.cypherAll(file :: STRING?, config :: MAP?) :: (file :: STRING?, source :: STRING?, format :: STRING?, nodes :: INTEGER?, relationships :: INTEGER?, properties :: INTEGER?, time :: INTEGER?, rows :: INTEGER?)","apoc.export.cypherAll(file,config) - exports whole database incl. indexes as cypher statements to the provided file",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.export.cypherData","apoc.export.cypherData(nodes :: LIST? OF NODE?, rels :: LIST? OF RELATIONSHIP?, file :: STRING?, config :: MAP?) :: (file :: STRING?, source :: STRING?, format :: STRING?, nodes :: INTEGER?, relationships :: INTEGER?, properties :: INTEGER?, time :: INTEGER?, rows :: INTEGER?)","apoc.export.cypherData(nodes,rels,file,config) - exports given nodes and relationships incl. indexes as cypher statements to the provided file",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.export.cypherGraph","apoc.export.cypherGraph(graph :: MAP?, file :: STRING?, config :: MAP?) :: (file :: STRING?, source :: STRING?, format :: STRING?, nodes :: INTEGER?, relationships :: INTEGER?, properties :: INTEGER?, time :: INTEGER?, rows :: INTEGER?)","apoc.export.cypherGraph(graph,file,config) - exports given graph object incl. indexes as cypher statements to the provided file",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.export.cypherQuery","apoc.export.cypherQuery(query :: STRING?, file :: STRING?, config :: MAP?) :: (file :: STRING?, source :: STRING?, format :: STRING?, nodes :: INTEGER?, relationships :: INTEGER?, properties :: INTEGER?, time :: INTEGER?, rows :: INTEGER?)","apoc.export.cypherQuery(query,file,config) - exports nodes and relationships from the cypher statement incl. indexes as cypher statements to the provided file",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.export.graphml.all","apoc.export.graphml.all(file :: STRING?, config :: MAP?) :: (file :: STRING?, source :: STRING?, format :: STRING?, nodes :: INTEGER?, relationships :: INTEGER?, properties :: INTEGER?, time :: INTEGER?, rows :: INTEGER?)","apoc.export.graphml.all(file,config) - exports whole database as graphml to the provided file",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.export.graphml.data","apoc.export.graphml.data(nodes :: LIST? OF NODE?, rels :: LIST? OF RELATIONSHIP?, file :: STRING?, config :: MAP?) :: (file :: STRING?, source :: STRING?, format :: STRING?, nodes :: INTEGER?, relationships :: INTEGER?, properties :: INTEGER?, time :: INTEGER?, rows :: INTEGER?)","apoc.export.graphml.data(nodes,rels,file,config) - exports given nodes and relationships as graphml to the provided file",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.export.graphml.graph","apoc.export.graphml.graph(graph :: MAP?, file :: STRING?, config :: MAP?) :: (file :: STRING?, source :: STRING?, format :: STRING?, nodes :: INTEGER?, relationships :: INTEGER?, properties :: INTEGER?, time :: INTEGER?, rows :: INTEGER?)","apoc.export.graphml.graph(graph,file,config) - exports given graph object as graphml to the provided file",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.export.graphml.query","apoc.export.graphml.query(query :: STRING?, file :: STRING?, config :: MAP?) :: (file :: STRING?, source :: STRING?, format :: STRING?, nodes :: INTEGER?, relationships :: INTEGER?, properties :: INTEGER?, time :: INTEGER?, rows :: INTEGER?)","apoc.export.graphml.query(query,file,config) - exports nodes and relationships from the cypher statement as graphml to the provided file",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.generate.ba","apoc.generate.ba(noNodes :: INTEGER?, edgesPerNode :: INTEGER?, label :: STRING?, type :: STRING?) :: VOID","apoc.generate.ba(noNodes, edgesPerNode, label, type) - generates a random graph according to the Barabasi-Albert model",["publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.generate.complete","apoc.generate.complete(noNodes :: INTEGER?, label :: STRING?, type :: STRING?) :: VOID","apoc.generate.complete(noNodes, label, type) - generates a random complete graph",["publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.generate.er","apoc.generate.er(noNodes :: INTEGER?, noEdges :: INTEGER?, label :: STRING?, type :: STRING?) :: VOID","apoc.generate.er(noNodes, noEdges, label, type) - generates a random graph according to the Erdos-Renyi model",["publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.generate.simple","apoc.generate.simple(degrees :: LIST? OF INTEGER?, label :: STRING?, type :: STRING?) :: VOID","apoc.generate.simple(degrees, label, type) - generates a simple random graph according to the given degree distribution",["publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.generate.ws","apoc.generate.ws(noNodes :: INTEGER?, degree :: INTEGER?, beta :: FLOAT?, label :: STRING?, type :: STRING?) :: VOID","apoc.generate.ws(noNodes, degree, beta, label, type) - generates a random graph according to the Watts-Strogatz model",["publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.gephi.add","apoc.gephi.add(urlOrKey :: STRING?, workspace :: STRING?, data :: ANY?) :: (file :: STRING?, source :: STRING?, format :: STRING?, nodes :: INTEGER?, relationships :: INTEGER?, properties :: INTEGER?, time :: INTEGER?, rows :: INTEGER?)","apoc.gephi.add(url-or-key, workspace, data) | streams passed in data to Gephi",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.get.nodes","apoc.get.nodes(nodes :: ANY?) :: (node :: NODE?)","apoc.get.nodes(node|id|[ids]) - quickly returns all nodes with these id\'s",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.get.rels","apoc.get.rels(relationships :: ANY?) :: (rel :: RELATIONSHIP?)","apoc.get.rels(rel|id|[ids]) - quickly returns all relationships with these id\'s",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.graph.from","apoc.graph.from(data :: ANY?, name :: STRING?, properties :: MAP?) :: (graph :: MAP?)","apoc.graph.from(data,\'name\',{properties}) | creates a virtual graph object for later processing it tries its best to extract the graph information from the data you pass in",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.graph.fromCypher","apoc.graph.fromCypher(statement :: STRING?, params :: MAP?, name :: STRING?, properties :: MAP?) :: (graph :: MAP?)","apoc.graph.fromCypher(\'statement\',{params},\'name\',{properties}) - creates a virtual graph object for later processing",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.graph.fromDB","apoc.graph.fromDB(name :: STRING?, properties :: MAP?) :: (graph :: MAP?)","apoc.graph.fromDB(\'name\',{properties}) - creates a virtual graph object for later processing",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.graph.fromData","apoc.graph.fromData(nodes :: LIST? OF NODE?, relationships :: LIST? OF RELATIONSHIP?, name :: STRING?, properties :: MAP?) :: (graph :: MAP?)","apoc.graph.fromData([nodes],[relationships],\'name\',{properties}) | creates a virtual graph object for later processing",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.graph.fromPath","apoc.graph.fromPath(path :: PATH?, name :: STRING?, properties :: MAP?) :: (graph :: MAP?)","apoc.graph.fromPaths(path,\'name\',{properties}) - creates a virtual graph object for later processing",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.graph.fromPaths","apoc.graph.fromPaths(paths :: LIST? OF PATH?, name :: STRING?, properties :: MAP?) :: (graph :: MAP?)","apoc.graph.fromPaths([paths],\'name\',{properties}) - creates a virtual graph object for later processing",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.help","apoc.help(proc :: STRING?) :: (type :: STRING?, name :: STRING?, text :: STRING?, signature :: STRING?, roles :: LIST? OF STRING?, writes :: BOOLEAN?)","Provides descriptions of available procedures. To narrow the results, supply a search string. To also search in the description text, append + to the end of the search string.",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.import.graphml","apoc.import.graphml(file :: STRING?, config :: MAP?) :: (file :: STRING?, source :: STRING?, format :: STRING?, nodes :: INTEGER?, relationships :: INTEGER?, properties :: INTEGER?, time :: INTEGER?, rows :: INTEGER?)","apoc.import.graphml(file,config) - imports graphml file",["publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.index.addAllNodes","apoc.index.addAllNodes(index :: STRING?, structure :: MAP?) :: (label :: STRING?, property :: STRING?, nodeCount :: INTEGER?)","apoc.index.addAllNodes(\'name\',{label1:[\'prop1\',...],...}) YIELD type, name, config - create a free text search index",["publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.index.addAllNodesExtended","apoc.index.addAllNodesExtended(index :: STRING?, structure :: MAP?, options :: MAP?) :: (label :: STRING?, property :: STRING?, nodeCount :: INTEGER?)","apoc.index.addAllNodes(\'name\',{label1:[\'prop1\',...],...}, {options}) YIELD type, name, config - create a free text search index with special options",["publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.index.addNode","apoc.index.addNode(node :: NODE?, properties :: LIST? OF STRING?) :: VOID","apoc.index.addNode(node,[\'prop1\',...]) add node to an index for each label it has",["publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.index.addNodeByLabel","apoc.index.addNodeByLabel(label :: STRING?, node :: NODE?, properties :: LIST? OF STRING?) :: VOID","apoc.index.addNodeByLabel(node,\'Label\',[\'prop1\',...]) add node to an index for the given label",["publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.index.addRelationship","apoc.index.addRelationship(relationship :: RELATIONSHIP?, properties :: LIST? OF STRING?) :: VOID","apoc.index.addRelationship(rel,[\'prop1\',...]) add relationship to an index for its type",["publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.index.between","apoc.index.between(from :: NODE?, type :: STRING?, to :: NODE?, query :: STRING?) :: (rel :: RELATIONSHIP?, weight :: FLOAT?, start :: NODE?, end :: NODE?)","apoc.index.between(node1,\'TYPE\',node2,\'prop:value*\') YIELD rel - lucene query on relationship index with the given type name bound by either or both sides (each node parameter can be null)",["publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.index.forNodes","apoc.index.forNodes(name :: STRING?, config :: MAP?) :: (type :: STRING?, name :: STRING?, config :: MAP?)","apoc.index.forNodes(\'name\',{config}) YIELD type,name,config - gets or creates node index",["publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.index.forRelationships","apoc.index.forRelationships(name :: STRING?, config :: MAP?) :: (type :: STRING?, name :: STRING?, config :: MAP?)","apoc.index.forRelationships(\'name\',{config}) YIELD type,name,config - gets or creates relationship index",["publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.index.in","apoc.index.in(to :: NODE?, type :: STRING?, query :: STRING?) :: (node :: NODE?, weight :: FLOAT?)","apoc.index.in(node,\'TYPE\',\'prop:value*\') YIELD node lucene query on relationship index with the given type name for *incoming* relationship of the given node, *returns start-nodes*",["publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.index.list","apoc.index.list() :: (type :: STRING?, name :: STRING?, config :: MAP?)","apoc.index.list() - YIELD type,name,config - lists all manual indexes",["publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.index.nodes","apoc.index.nodes(label :: STRING?, query :: STRING?) :: (node :: NODE?, weight :: FLOAT?)","apoc.index.nodes(\'Label\',\'prop:value*\') YIELD node - lucene query on node index with the given label name",["publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.index.orderedByText","apoc.index.orderedByText(label :: STRING?, key :: STRING?, operator :: STRING?, value :: STRING?, relevance :: BOOLEAN?, limit :: INTEGER?) :: (node :: NODE?)","apoc.index.orderedByText(label,key,operator,value,sort-relevance,limit) yield node - schema string search which keeps index order and adds limit, operator is \'STARTS WITH\' or \'CONTAINS\'",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.index.orderedRange","apoc.index.orderedRange(label :: STRING?, key :: STRING?, min :: ANY?, max :: ANY?, relevance :: BOOLEAN?, limit :: INTEGER?) :: (node :: NODE?)","apoc.index.orderedRange(label,key,min,max,sort-relevance,limit) yield node - schema range scan which keeps index order and adds limit, values can be null, boundaries are inclusive",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.index.out","apoc.index.out(from :: NODE?, type :: STRING?, query :: STRING?) :: (node :: NODE?, weight :: FLOAT?)","apoc.index.out(node,\'TYPE\',\'prop:value*\') YIELD node - lucene query on relationship index with the given type name for *outgoing* relationship of the given node, *returns end-nodes*",["publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.index.related","apoc.index.related(nodes :: LIST? OF NODE?, label :: STRING?, key :: STRING?, relationship :: STRING?, limit :: INTEGER?) :: (node :: NODE?)","apoc.index.relatedNodes([nodes],label,key,\'<TYPE\'/\'TYPE>\'/\'TYPE\',limit) yield node - schema range scan which keeps index order and adds limit and checks opposite node of relationship against the given set of nodes",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.index.relationships","apoc.index.relationships(type :: STRING?, query :: STRING?) :: (rel :: RELATIONSHIP?, weight :: FLOAT?, start :: NODE?, end :: NODE?)","apoc.index.relationships(\'TYPE\',\'prop:value*\') YIELD rel - lucene query on relationship index with the given type name",["publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.index.remove","apoc.index.remove(name :: STRING?) :: (type :: STRING?, name :: STRING?, config :: MAP?)","apoc.index.remove(\'name\') YIELD type,name,config - removes an manual index",["publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.index.search","apoc.index.search(index :: STRING?, query :: STRING?) :: (node :: NODE?, weight :: FLOAT?)","apoc.index.search(\'name\', \'query\') YIELD node, weight - search for nodes in the free text index matching the given query",["publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.load.csv","apoc.load.csv(url :: STRING?, config :: MAP?) :: (lineNo :: INTEGER?, list :: LIST? OF ANY?, map :: MAP?)","apoc.load.csv(\'url\',{config}) YIELD lineNo, list, map - load CSV fom URL as stream of values,\\n config contains any of: {skip:1,limit:5,header:false,sep:\'TAB\',ignore:[\'tmp\'],arraySep:\';\',mapping:{years:{type:\'int\',arraySep:\'-\',array:false,name:\'age\',ignore:false}}",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.load.driver","apoc.load.driver(driverClass :: STRING?) :: VOID","apoc.load.driver(\'org.apache.derby.jdbc.EmbeddedDriver\') register JDBC driver of source database",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.load.jdbc","apoc.load.jdbc(jdbc :: STRING?, tableOrSql :: STRING?) :: (row :: MAP?)","apoc.load.jdbc(\'key or url\',\'table or statement\') YIELD row - load from relational database, from a full table or a sql statement",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.load.jdbcParams","apoc.load.jdbcParams(jdbc :: STRING?, sql :: STRING?, params :: LIST? OF ANY?) :: (row :: MAP?)","apoc.load.jdbcParams(\'key or url\',\'statement\',[params]) YIELD row - load from relational database, from a sql statement with parameters",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.load.json","apoc.load.json(url :: STRING?) :: (value :: MAP?)","apoc.load.json(\'url\') YIELD value - import JSON as stream of values if the JSON was an array or a single value if it was a map",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.load.jsonArray","apoc.load.jsonArray(url :: STRING?) :: (value :: ANY?)","apoc.load.jsonArray(\'url\') YIELD value - load array from JSON URL (e.g. web-api) to import JSON as stream of values",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.load.jsonParams","apoc.load.jsonParams(url :: STRING?, headers :: MAP?, payload :: STRING?) :: (value :: MAP?)","apoc.load.jsonParams(\'url\',{header:value},payload) YIELD value - load from JSON URL (e.g. web-api) while sending headers / payload to import JSON as stream of values if the JSON was an array or a single value if it was a map",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.load.xml","apoc.load.xml(url :: STRING?) :: (value :: MAP?)","apoc.load.xml(\'http://example.com/test.xml\') YIELD value as doc CREATE (p:Person) SET p.name = doc.name load from XML URL (e.g. web-api) to import XML as single nested map with attributes and _type, _text and _childrenx fields.",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.load.xmlSimple","apoc.load.xmlSimple(url :: STRING?) :: (value :: MAP?)","apoc.load.xml(\'http://example.com/test.xml\') YIELD value as doc CREATE (p:Person) SET p.name = doc.name load from XML URL (e.g. web-api) to import XML as single nested map with attributes and _type, _text and _childrenx fields.",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.lock.all","apoc.lock.all(nodes :: LIST? OF NODE?, rels :: LIST? OF RELATIONSHIP?) :: VOID","apoc.lock.all([nodes],[relationships]) acquires a write lock on the given nodes and relationships",["publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.lock.nodes","apoc.lock.nodes(nodes :: LIST? OF NODE?) :: VOID","apoc.lock.nodes([nodes]) acquires a write lock on the given nodes",["publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.lock.rels","apoc.lock.rels(rels :: LIST? OF RELATIONSHIP?) :: VOID","apoc.lock.rels([relationships]) acquires a write lock on the given relationship",["publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.meta.data","apoc.meta.data() :: (label :: STRING?, property :: STRING?, count :: INTEGER?, unique :: BOOLEAN?, index :: BOOLEAN?, existence :: BOOLEAN?, type :: STRING?, array :: BOOLEAN?, sample :: LIST? OF ANY?, leftCount :: INTEGER?, rightCount :: INTEGER?, left :: INTEGER?, right :: INTEGER?, other :: LIST? OF STRING?)","apoc.meta.data - examines a subset of the graph to provide a tabular meta information",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.meta.graph","apoc.meta.graph() :: (nodes :: LIST? OF NODE?, relationships :: LIST? OF RELATIONSHIP?)","apoc.meta.graph - examines the full graph to create the meta-graph",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.meta.graphSample","apoc.meta.graphSample() :: (nodes :: LIST? OF NODE?, relationships :: LIST? OF RELATIONSHIP?)","apoc.meta.graphSample() - examines the database statistics to build the meta graph, very fast, might report extra relationships",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.meta.stats","apoc.meta.stats() :: (labelCount :: INTEGER?, relTypeCount :: INTEGER?, propertyKeyCount :: INTEGER?, nodeCount :: INTEGER?, relCount :: INTEGER?, labels :: MAP?, relTypes :: MAP?, stats :: MAP?)","apoc.meta.stats yield labelCount, relTypeCount, propertyKeyCount, nodeCount, relCount, labels, relTypes, stats | returns the information stored in the transactional database statistics",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.meta.subGraph","apoc.meta.subGraph(config :: MAP?) :: (nodes :: LIST? OF NODE?, relationships :: LIST? OF RELATIONSHIP?)","apoc.meta.subGraph({labels:[labels],rels:[rel-types], excludes:[labels,rel-types]}) - examines a sample sub graph to create the meta-graph",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.mongodb.count","apoc.mongodb.count(host :: STRING?, db :: STRING?, collection :: STRING?, query :: MAP?) :: (value :: INTEGER?)","apoc.mongodb.count(host-or-port,db-or-null,collection-or-null,query-or-null) yield value - perform a find operation on mongodb collection",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.mongodb.delete","apoc.mongodb.delete(host :: STRING?, db :: STRING?, collection :: STRING?, query :: MAP?) :: (value :: INTEGER?)","apoc.mongodb.delete(host-or-port,db-or-null,collection-or-null,list-of-maps) - inserts the given documents into the mongodb collection",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.mongodb.find","apoc.mongodb.find(host :: STRING?, db :: STRING?, collection :: STRING?, query :: MAP?, project :: MAP?, sort :: MAP?) :: (value :: MAP?)","apoc.mongodb.find(host-or-port,db-or-null,collection-or-null,query-or-null,projection-or-null,sort-or-null) yield value - perform a find,project,sort operation on mongodb collection",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.mongodb.first","apoc.mongodb.first(host :: STRING?, db :: STRING?, collection :: STRING?, query :: MAP?) :: (value :: MAP?)","apoc.mongodb.first(host-or-port,db-or-null,collection-or-null,query-or-null) yield value - perform a first operation on mongodb collection",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.mongodb.get","apoc.mongodb.get(host :: STRING?, db :: STRING?, collection :: STRING?, query :: MAP?) :: (value :: MAP?)","apoc.mongodb.get(host-or-port,db-or-null,collection-or-null,query-or-null) yield value - perform a find operation on mongodb collection",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.mongodb.insert","apoc.mongodb.insert(host :: STRING?, db :: STRING?, collection :: STRING?, documents :: LIST? OF MAP?) :: VOID","apoc.mongodb.insert(host-or-port,db-or-null,collection-or-null,list-of-maps) - inserts the given documents into the mongodb collection",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.mongodb.update","apoc.mongodb.update(host :: STRING?, db :: STRING?, collection :: STRING?, query :: MAP?, update :: MAP?) :: (value :: INTEGER?)","apoc.mongodb.update(host-or-port,db-or-null,collection-or-null,list-of-maps) - inserts the given documents into the mongodb collection",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.monitor.ids","apoc.monitor.ids() :: (nodeIds :: INTEGER?, relIds :: INTEGER?, propIds :: INTEGER?, relTypeIds :: INTEGER?)","apoc.monitor.ids() returns the object ids in use for this neo4j instance",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.monitor.kernel","apoc.monitor.kernel() :: (readOnly :: BOOLEAN?, kernelVersion :: STRING?, storeId :: STRING?, kernelStartTime :: STRING?, databaseName :: STRING?, storeLogVersion :: INTEGER?, storeCreationDate :: STRING?)","apoc.monitor.kernel() returns informations about the neo4j kernel",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.monitor.locks","apoc.monitor.locks(minWaitTime :: INTEGER?) :: (advertedDeadLocks :: INTEGER?, lockCount :: INTEGER?, contendedLockCount :: INTEGER?, minimumWaitTimeMs :: INTEGER?, contendedLocks :: LIST? OF MAP?, info :: STRING?)","apoc.monitor.locks(minWaitTime) yield advertedDeadLocks, lockCount, contendedLockCount, minimumWaitTimeMs, contendedLocks, info",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.monitor.store","apoc.monitor.store() :: (logSize :: INTEGER?, stringStoreSize :: INTEGER?, arrayStoreSize :: INTEGER?, relStoreSize :: INTEGER?, propStoreSize :: INTEGER?, totalStoreSize :: INTEGER?, nodeStoreSize :: INTEGER?)","apoc.monitor.store() returns informations about the sizes of the different parts of the neo4j graph store",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.monitor.tx","apoc.monitor.tx() :: (rolledBackTx :: INTEGER?, peakTx :: INTEGER?, lastTxId :: INTEGER?, currentOpenedTx :: INTEGER?, totalOpenedTx :: INTEGER?, totalTx :: INTEGER?)","apoc.monitor.tx() returns informations about the neo4j transaction manager",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.nodes.delete","apoc.nodes.delete(nodes :: ANY?, batchSize :: INTEGER?) :: (value :: INTEGER?)","apoc.nodes.delete(node|nodes|id|[ids]) - quickly delete all nodes with these id\'s",["publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.nodes.get","apoc.nodes.get(nodes :: ANY?) :: (node :: NODE?)","apoc.nodes.get(node|nodes|id|[ids]) - quickly returns all nodes with these id\'s",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.nodes.link","apoc.nodes.link(nodes :: LIST? OF NODE?, type :: STRING?) :: VOID","apoc.nodes.link([nodes],\'REL_TYPE\') - creates a linked list of nodes from first to last",["publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.nodes.rels","apoc.nodes.rels(relationships :: ANY?) :: (rel :: RELATIONSHIP?)","apoc.get.rels(rel|id|[ids]) - quickly returns all relationships with these id\'s",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.path.expand","apoc.path.expand(start :: ANY?, relationshipFilter :: STRING?, labelFilter :: STRING?, minLevel :: INTEGER?, maxLevel :: INTEGER?) :: (path :: PATH?)","apoc.path.expand(startNode <id>|Node|list, \'TYPE|TYPE_OUT>|<TYPE_IN\', \'+YesLabel|-NoLabel\', minLevel, maxLevel ) yield path expand from start node following the given relationships from min to max-level adhering to the label filters",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.path.expandConfig","apoc.path.expandConfig(start :: ANY?, config :: MAP?) :: (path :: PATH?)","apoc.path.expandConfig(startNode <id>|Node|list, {minLevel,maxLevel,uniqueness,relationshipFilter,labelFilter,uniqueness:\'RELATIONSHIP_PATH\',bfs:true}) yield path expand from start node following the given relationships from min to max-level adhering to the label filters",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.periodic.cancel","apoc.periodic.cancel(name :: STRING?) :: (name :: STRING?, delay :: INTEGER?, rate :: INTEGER?, done :: BOOLEAN?, cancelled :: BOOLEAN?)","apoc.periodic.cancel(name) - cancel job with the given name",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.periodic.commit","apoc.periodic.commit(statement :: STRING?, params :: MAP?) :: (updates :: INTEGER?, executions :: INTEGER?, runtime :: INTEGER?, batches :: INTEGER?, faileBatches :: INTEGER?, batchErrors :: MAP?, failedCommits :: INTEGER?, commitErrors :: MAP?)","apoc.periodic.commit(statement,params) - runs the given statement in separate transactions until it returns 0",["publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.periodic.iterate","apoc.periodic.iterate(cypherIterate :: STRING?, cypherAction :: STRING?, config :: MAP?) :: (batches :: INTEGER?, total :: INTEGER?, timeTaken :: INTEGER?, committedOperations :: INTEGER?, failedOperations :: INTEGER?, failedBatches :: INTEGER?, errorMessages :: MAP?, batch :: MAP?, operations :: MAP?)","apoc.periodic.iterate(\'statement returning items\', \'statement per item\', {batchSize:1000,parallel:true}) YIELD batches, total - run the second statement for each item returned by the first statement. Returns number of batches and total processed rows",["publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.periodic.list","apoc.periodic.list() :: (name :: STRING?, delay :: INTEGER?, rate :: INTEGER?, done :: BOOLEAN?, cancelled :: BOOLEAN?)","apoc.periodic.list - list all jobs",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.periodic.repeat","apoc.periodic.repeat(name :: STRING?, statement :: STRING?, rate :: INTEGER?) :: (name :: STRING?, delay :: INTEGER?, rate :: INTEGER?, done :: BOOLEAN?, cancelled :: BOOLEAN?)","apoc.periodic.schedule(\'name\',statement,repeat-time-in-seconds) submit a repeatedly-called background statement",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.periodic.rock_n_roll","apoc.periodic.rock_n_roll(cypherIterate :: STRING?, cypherAction :: STRING?, batchSize :: INTEGER?) :: (batches :: INTEGER?, total :: INTEGER?, timeTaken :: INTEGER?, committedOperations :: INTEGER?, failedOperations :: INTEGER?, failedBatches :: INTEGER?, errorMessages :: MAP?, batch :: MAP?, operations :: MAP?)","apoc.periodic.rock_n_roll(\'some cypher for iteration\', \'some cypher as action on each iteration\', 10000) YIELD batches, total - run the action statement in batches over the iterator statement\'s results in a separate thread. Returns number of batches and total processed rows",["publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.periodic.rock_n_roll_while","apoc.periodic.rock_n_roll_while(cypherLoop :: STRING?, cypherIterate :: STRING?, cypherAction :: STRING?, batchSize :: INTEGER?) :: (loop :: ANY?, batches :: INTEGER?, total :: INTEGER?)","apoc.periodic.rock_n_roll_while(\'some cypher for knowing when to stop\', \'some cypher for iteration\', \'some cypher as action on each iteration\', 10000) YIELD batches, total - run the action statement in batches over the iterator statement\'s results in a separate thread. Returns number of batches and total processed rows",["publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.periodic.submit","apoc.periodic.submit(name :: STRING?, statement :: STRING?) :: (name :: STRING?, delay :: INTEGER?, rate :: INTEGER?, done :: BOOLEAN?, cancelled :: BOOLEAN?)","apoc.periodic.submit(\'name\',statement) - submit a one-off background statement",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.refactor.categorize","apoc.refactor.categorize(sourceKey :: STRING?, type :: STRING?, outgoing :: BOOLEAN?, label :: STRING?, targetKey :: STRING?, copiedKeys :: LIST? OF STRING?, batchSize :: INTEGER?) :: VOID","apoc.refactor.categorize(sourceKey, type, outgoing, label, targetKey, copiedKeys, batchSize) turn each unique propertyKey into a category node and connect to it",["publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.refactor.cloneNodes","apoc.refactor.cloneNodes(nodes :: LIST? OF NODE?) :: (input :: INTEGER?, output :: NODE?, error :: STRING?)","apoc.refactor.cloneNodes([node1,node2,...]) clone nodes with their labels and properties",["publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.refactor.cloneNodesWithRelationships","apoc.refactor.cloneNodesWithRelationships(nodes :: LIST? OF NODE?) :: (input :: INTEGER?, output :: NODE?, error :: STRING?)","apoc.refactor.cloneNodesWithRelationships([node1,node2,...]) clone nodes with their labels, properties and relationships",["publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.refactor.collapseNode","apoc.refactor.collapseNode(nodes :: ANY?, type :: STRING?) :: (input :: INTEGER?, output :: RELATIONSHIP?, error :: STRING?)","apoc.refactor.collapseNode([node1,node2],\'TYPE\') collapse node to relationship, node with one rel becomes self-relationship",["publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.refactor.extractNode","apoc.refactor.extractNode(relationships :: ANY?, labels :: LIST? OF STRING?, outType :: STRING?, inType :: STRING?) :: (input :: INTEGER?, output :: NODE?, error :: STRING?)","apoc.refactor.extractNode([rel1,rel2,...], [labels],\'OUT\',\'IN\') extract node from relationships",["publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.refactor.from","apoc.refactor.from(relationship :: RELATIONSHIP?, newNode :: NODE?) :: (input :: INTEGER?, output :: RELATIONSHIP?, error :: STRING?)","apoc.refactor.from(rel, startNode) redirect relationship to use new start-node",["publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.refactor.invert","apoc.refactor.invert(relationship :: RELATIONSHIP?) :: (input :: INTEGER?, output :: RELATIONSHIP?, error :: STRING?)","apoc.refactor.invert(rel) inverts relationship direction",["publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.refactor.mergeNodes","apoc.refactor.mergeNodes(nodes :: LIST? OF NODE?) :: (node :: NODE?)","apoc.refactor.mergeNodes([node1,node2]) merge nodes onto first in list",["publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.refactor.normalizeAsBoolean","apoc.refactor.normalizeAsBoolean(entity :: ANY?, propertyKey :: STRING?, true_values :: LIST? OF ANY?, false_values :: LIST? OF ANY?) :: VOID","apoc.refactor.normalizeAsBoolean(entity, propertyKey, true_values, false_values) normalize/convert a property to be boolean",["publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.refactor.setType","apoc.refactor.setType(relationship :: RELATIONSHIP?, newType :: STRING?) :: (input :: INTEGER?, output :: RELATIONSHIP?, error :: STRING?)","apoc.refactor.setType(rel, \'NEW-TYPE\') change relationship-type",["publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.refactor.to","apoc.refactor.to(relationship :: RELATIONSHIP?, newNode :: NODE?) :: (input :: INTEGER?, output :: RELATIONSHIP?, error :: STRING?)","apoc.refactor.to(rel, endNode) redirect relationship to use new end-node",["publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.schema.assert","apoc.schema.assert(indexes :: MAP?, constraints :: MAP?) :: (label :: STRING?, key :: LIST? OF STRING?, unique :: BOOLEAN?, action :: STRING?)","",["admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.schema.properties.distinct","apoc.schema.properties.distinct(label :: STRING?, key :: STRING?) :: (value :: LIST? OF ANY?)","apoc.schema.properties.distinct(label, key) - quickly returns all distinct values for a given key",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.search.multiSearchReduced","apoc.search.multiSearchReduced(LabelPropertyMap :: ANY?, operator :: STRING?, value :: STRING?) :: (id :: INTEGER?, labels :: LIST? OF STRING?, values :: MAP?)","Do a parallel search over multiple indexes returning a reduced representation of the nodes found: node id, labels and the searched properties. apoc.search.multiSearchReduced( map of label and properties which will be searched upon, operator: EXACT | CONTAINS | STARTS WITH | ENDS WITH, searchValue ). Multiple search results for the same node are merged into one record.",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.search.node","apoc.search.node(LabelPropertyMap :: ANY?, operator :: STRING?, value :: STRING?) :: (node :: NODE?)","Do a parallel search over multiple indexes returning nodes. usage apoc.search.node( map of label and properties which will be searched upon, operator: EXACT | CONTAINS | STARTS WITH | ENDS WITH, searchValue ) returns all the DISTINCT Nodes found in the different searches.",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.search.nodeAll","apoc.search.nodeAll(LabelPropertyMap :: ANY?, operator :: STRING?, value :: STRING?) :: (node :: NODE?)","Do a parallel search over multiple indexes returning nodes. usage apoc.search.nodeAll( map of label and properties which will be searched upon, operator: EXACT | CONTAINS | STARTS WITH | ENDS WITH, searchValue ) returns all the Nodes found in the different searches.",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.search.nodeAllReduced","apoc.search.nodeAllReduced(LabelPropertyMap :: ANY?, operator :: STRING?, value :: ANY?) :: (id :: INTEGER?, labels :: LIST? OF STRING?, values :: MAP?)","Do a parallel search over multiple indexes returning a reduced representation of the nodes found: node id, labels and the searched property. apoc.search.nodeShortAll( map of label and properties which will be searched upon, operator: EXACT / CONTAINS / STARTS WITH | ENDS WITH / = / <> / < / > ..., value ). All \'hits\' are returned.",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.search.nodeReduced","apoc.search.nodeReduced(LabelPropertyMap :: ANY?, operator :: STRING?, value :: STRING?) :: (id :: INTEGER?, labels :: LIST? OF STRING?, values :: MAP?)","Do a parallel search over multiple indexes returning a reduced representation of the nodes found: node id, labels and the searched properties. apoc.search.nodeReduced( map of label and properties which will be searched upon, operator: EXACT | CONTAINS | STARTS WITH | ENDS WITH, searchValue ). Multiple search results for the same node are merged into one record.",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.spatial.geocode","apoc.spatial.geocode(location :: STRING?, maxResults :: INTEGER?) :: (location :: MAP?, data :: MAP?, latitude :: FLOAT?, longitude :: FLOAT?, description :: STRING?)","apoc.spatial.geocode(\'address\') YIELD location, latitude, longitude, description, osmData - look up geographic location of address from openstreetmap geocoding service",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.spatial.geocodeOnce","apoc.spatial.geocodeOnce(location :: STRING?) :: (location :: MAP?, data :: MAP?, latitude :: FLOAT?, longitude :: FLOAT?, description :: STRING?)","apoc.spatial.geocodeOnce(\'address\') YIELD location, latitude, longitude, description, osmData - look up geographic location of address from openstreetmap geocoding service",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.spatial.sortByDistance","apoc.spatial.sortByDistance(paths :: LIST? OF PATH?) :: (path :: PATH?, distance :: FLOAT?)","apoc.spatial.sortPathsByDistance(List<Path>) sort the given paths based on the geo informations (lat/long) in ascending order",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.static.get","apoc.static.get(key :: STRING?) :: (value :: ANY?)","apoc.static.get(name) - returns statically stored value from config (apoc.static.<key>) or server lifetime storage",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.static.getAll","apoc.static.getAll(prefix :: STRING?) :: (value :: MAP?)","apoc.static.getAll(prefix) - returns statically stored values from config (apoc.static.<prefix>.*) or server lifetime storage",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.static.list","apoc.static.list(prefix :: STRING?) :: (key :: STRING?, value :: ANY?)","apoc.static.list(prefix) - returns statically stored values from config (apoc.static.<prefix>.*) or server lifetime storage",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.static.set","apoc.static.set(key :: STRING?, value :: ANY?) :: (value :: ANY?)","apoc.static.set(name, value) - stores value under key for server livetime storage, returns previously stored or configured value",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.text.format","apoc.text.format(text :: STRING?, params :: LIST? OF ANY?) :: (value :: STRING?)","apoc.text.format(text,[params]) YIELD value - sprintf format the string with the params given",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.text.lpad","apoc.text.lpad(text :: STRING?, count :: INTEGER?, delim :: STRING?) :: (value :: STRING?)","apoc.text.lpad(text,count,delim) YIELD value - left pad the string to the given width",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.text.phonetic","apoc.text.phonetic(value :: ANY?) :: (value :: STRING?)","apoc.text.phonetic(value) yield value - Compute the US_ENGLISH phonetic soundex encoding of all words of the text value which can be a single string or a list of strings",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.text.phoneticDelta","apoc.text.phoneticDelta(text1 :: STRING?, text2 :: STRING?) :: (phonetic1 :: STRING?, phonetic2 :: STRING?, delta :: INTEGER?)","apoc.text.phoneticDelta(text1, text2) yield phonetic1, phonetic2, delta - Compute the US_ENGLISH soundex character difference between two given strings",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.text.rpad","apoc.text.rpad(text :: STRING?, count :: INTEGER?, delim :: STRING?) :: (value :: STRING?)","apoc.text.rpad(text,count,delim) YIELD value - right pad the string to the given width",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.trigger.add","apoc.trigger.add(name :: STRING?, statement :: STRING?, selector :: MAP?) :: (name :: STRING?, query :: STRING?, selector :: MAP?, installed :: BOOLEAN?)","",["publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.trigger.list","apoc.trigger.list() :: (name :: STRING?, query :: STRING?, selector :: MAP?, installed :: BOOLEAN?)","",["publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.trigger.remove","apoc.trigger.remove(name :: STRING?) :: (name :: STRING?, query :: STRING?, selector :: MAP?, installed :: BOOLEAN?)","",["publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.util.sleep","apoc.util.sleep(duration :: INTEGER?) :: VOID","apoc.util.sleep(<duration>) | sleeps for <duration> millis, transaction termination is honored",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["apoc.warmup.run","apoc.warmup.run() :: (pageSize :: INTEGER?, nodesPerPage :: INTEGER?, nodesTotal :: INTEGER?, nodePages :: INTEGER?, nodesTime :: INTEGER?, relsPerPage :: INTEGER?, relsTotal :: INTEGER?, relPages :: INTEGER?, relsTime :: INTEGER?, totalTime :: INTEGER?)","apoc.warmup.run() - quickly loads all nodes and rels into memory by skipping one page at a time",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["db.awaitIndex","db.awaitIndex(index :: STRING?, timeOutSeconds = 300 :: INTEGER?) :: VOID","Wait for an index to come online (for example: CALL db.awaitIndex(\\":Person(name)\\")).",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["db.constraints","db.constraints() :: (description :: STRING?)","List all constraints in the database.",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["db.indexes","db.indexes() :: (description :: STRING?, state :: STRING?, type :: STRING?)","List all indexes in the database.",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["db.labels","db.labels() :: (label :: STRING?)","List all labels in the database.",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["db.propertyKeys","db.propertyKeys() :: (propertyKey :: STRING?)","List all property keys in the database.",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["db.relationshipTypes","db.relationshipTypes() :: (relationshipType :: STRING?)","List all relationship types in the database.",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["db.resampleIndex","db.resampleIndex(index :: STRING?) :: VOID","Schedule resampling of an index (for example: CALL db.resampleIndex(\\":Person(name)\\")).",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["db.resampleOutdatedIndexes","db.resampleOutdatedIndexes() :: VOID","Schedule resampling of all outdated indexes.",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["db.schema","db.schema() :: (nodes :: LIST? OF NODE?, relationships :: LIST? OF RELATIONSHIP?)","Show the schema of the data.",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["dbms.changePassword","dbms.changePassword(password :: STRING?) :: VOID","Change the current user\'s password. Deprecated by dbms.security.changePassword.",["admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["dbms.components","dbms.components() :: (name :: STRING?, versions :: LIST? OF STRING?, edition :: STRING?)","List DBMS components and their versions.",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["dbms.functions","dbms.functions() :: (name :: STRING?, signature :: STRING?, description :: STRING?, roles :: LIST? OF STRING?)","List all user functions in the DBMS.",["admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["dbms.killQueries","dbms.killQueries(ids :: LIST? OF STRING?) :: (queryId :: STRING?, username :: STRING?)","Kill all transactions executing a query with any of the given query ids.",["admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["dbms.killQuery","dbms.killQuery(id :: STRING?) :: (queryId :: STRING?, username :: STRING?)","Kill all transactions executing the query with the given query id.",["admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["dbms.listQueries","dbms.listQueries() :: (queryId :: STRING?, username :: STRING?, query :: STRING?, parameters :: MAP?, startTime :: STRING?, elapsedTime :: STRING?, connectionDetails :: STRING?, metaData :: MAP?)","List all queries currently executing at this instance that are visible to the user.",["admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["dbms.procedures","dbms.procedures() :: (name :: STRING?, signature :: STRING?, description :: STRING?, roles :: LIST? OF STRING?)","List all procedures in the DBMS.",["admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["dbms.queryJmx","dbms.queryJmx(query :: STRING?) :: (name :: STRING?, description :: STRING?, attributes :: MAP?)","Query JMX management data by domain and name. For instance, \\"org.neo4j:*\\"",["reader","publisher","architect","admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["dbms.security.activateUser","dbms.security.activateUser(username :: STRING?, requirePasswordChange = true :: BOOLEAN?) :: VOID","Activate a suspended user.",["admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["dbms.security.addRoleToUser","dbms.security.addRoleToUser(roleName :: STRING?, username :: STRING?) :: VOID","Assign a role to the user.",["admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["dbms.security.changePassword","dbms.security.changePassword(password :: STRING?, requirePasswordChange = false :: BOOLEAN?) :: VOID","Change the current user\'s password.",["admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["dbms.security.changeUserPassword","dbms.security.changeUserPassword(username :: STRING?, newPassword :: STRING?, requirePasswordChange = true :: BOOLEAN?) :: VOID","Change the given user\'s password.",["admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["dbms.security.clearAuthCache","dbms.security.clearAuthCache() :: VOID","Clears authentication and authorization cache.",["admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["dbms.security.createRole","dbms.security.createRole(roleName :: STRING?) :: VOID","Create a new role.",["admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["dbms.security.createUser","dbms.security.createUser(username :: STRING?, password :: STRING?, requirePasswordChange = true :: BOOLEAN?) :: VOID","Create a new user.",["admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["dbms.security.deleteRole","dbms.security.deleteRole(roleName :: STRING?) :: VOID","Delete the specified role. Any role assignments will be removed.",["admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["dbms.security.deleteUser","dbms.security.deleteUser(username :: STRING?) :: VOID","Delete the specified user.",["admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["dbms.security.listRoles","dbms.security.listRoles() :: (role :: STRING?, users :: LIST? OF STRING?)","List all available roles.",["admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["dbms.security.listRolesForUser","dbms.security.listRolesForUser(username :: STRING?) :: (value :: STRING?)","List all roles assigned to the specified user.",["admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["dbms.security.listUsers","dbms.security.listUsers() :: (username :: STRING?, roles :: LIST? OF STRING?, flags :: LIST? OF STRING?)","List all local users.",["admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["dbms.security.listUsersForRole","dbms.security.listUsersForRole(roleName :: STRING?) :: (value :: STRING?)","List all users currently assigned the specified role.",["admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["dbms.security.removeRoleFromUser","dbms.security.removeRoleFromUser(roleName :: STRING?, username :: STRING?) :: VOID","Unassign a role from the user.",["admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["dbms.security.showCurrentUser","dbms.security.showCurrentUser() :: (username :: STRING?, roles :: LIST? OF STRING?, flags :: LIST? OF STRING?)","Show the current user.",["admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["dbms.security.suspendUser","dbms.security.suspendUser(username :: STRING?) :: VOID","Suspend the specified user.",["admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}},{"row":["dbms.setTXMetaData","dbms.setTXMetaData(data :: MAP?) :: VOID","Attaches a map of data to the transaction. The data will be printed when listing queries, and inserted into the query log.",["admin"]],"meta":[null,null,null,null],"graph":{"nodes":[],"relationships":[]}}]}'),Ke={value:p.utils.searchParamOf("cypher")||"MATCH (n) RETURN n limit 10",mode:"application/x-cypher-query",indentWithTabs:!0,smartIndent:!1,lineNumbers:!0,matchBrackets:!0,autofocus:!0,theme:"cypher cypher-dark",lint:!0,styleActiveLine:!0,extraKeys:{"Ctrl-Space":"autocomplete"},hintOptions:{completeSingle:!1,closeOnUnfocus:!1,alignWithWord:!0,async:!0},gutters:["cypher-hints"],lineWrapping:!0,autoCloseBrackets:{explode:""}},qe={consoleCommands:[{name:":clear"},{name:":play"},{name:":help",description:"this is help command"},{name:":server",commands:[{name:"user",commands:[{name:"list",description:"listdesc"},{name:"add"}]}]},{name:":schema"},{name:":history"},{name:":queries"}],labels:[":Spacey mc spaceface",":Legislator",":State",":Party",":Body",":Bill",":Subject",":Committee",":Congress"],relationshipTypes:[":REPRESENTS",":IS_MEMBER_OF",":ELECTED_TO",":PROPOSED_DURING",":SPONSORED_BY",":VOTED ON",":REFERRED_TO",":SERVES_ON",":DEALS_WITH"],parameters:["age","name","surname"],propertyKeys:["bioguideID","code","name","type","billID","title","thomasID","birthday","wikipediaID","currentParty","state","votesmartID","fecIDs","republicanCount","otherCount","cspanID","democratCount","lastName","firstName","party","opensecretsID","icpsrID","religion","lisID","govtrackID","gender","district","number","enacted","officialTitle","vetoed","active","popularTitle","cosponsor","vote","jurisdiction","url","rank","washpostID"],functions:We.aT.map((e=>{const t=e.row[0],n=e.row[1];return{name:e.row[0],signature:n.replace(t,"")}})),procedures:Ve.aT.map((e=>{const t=e.row[0],n=e.row[1].replace(t,"");let r=[];const i=n.match(/\([^)]*\) :: \((.*)\)/i);return i&&(r=i[1].split(", ").map((e=>{const t=e.match(/(.*) :: (.*)/);return{name:t[1],signature:t[2]}}))),{name:t,signature:n,returnItems:r}}))},Xe=({onValueChange:e,inputValue:t,cancelInputValue:n})=>{const r=(0,m.useRef)(null),i=(t,n)=>{if(0===n.text.length)return;const r=n.text[0];("."===r||":"===r||"[]"===r||"()"===r||"{}"===r||"["===r||"("===r||"{"===r||"$"===r)&&t.execCommand("autocomplete"),e&&e(t.getValue())},o=(0,m.useMemo)((()=>{const{editor:t,editorSupport:n}=function(e,t){const n=new ze.CypherEditorSupport(""),r=Ye()(e,Object.assign(Object.assign({},t),{value:""}));return r.cypherMarkers=[],r.editorSupport=n,r.version=1,r.newContentVersion=function(){return this.version+=1,this.version},r.newContentVersion.bind(r),r.setValue(t.value||""),{editor:r,editorSupport:n}}(r.current,Ke);return e&&e(t.getValue()),t.on("change",i),n.setSchema(qe),t}),[r.current]);return(0,m.useEffect)((()=>{t&&(null==o||o.setValue(t),null==n||n())}),[t]),g().createElement("div",{className:"Codemirror-Container",ref:r})};const Ze=(0,m.memo)((({serviceId:e,isShowPublishButton:t,saveCypherTemplateServceId:n="GI/PublishTemplate",limit:r,controlledValues:i,onOpen:o})=>{const{updateContext:a,updateHistory:s,transform:l,services:c,largeGraphLimit:u}=(0,p.useContext)(),h=p.utils.getService(c,e),[d,y]=Le({value:"",loading:!1,modalVisible:!1,inputValue:""});(0,m.useEffect)((()=>{if(i){null==o||o();const{value:e}=i;_(e),v(e),y((t=>{t.inputValue=e}))}}),[i]);const v=e=>function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){e.done?i(e.value):function(e){return e instanceof n?e:new n((function(t){t(e)}))}(e.value).then(a,s)}l((r=r.apply(e,t||[])).next())}))}(void 0,void 0,void 0,(function*(){if(!h)return;y((e=>{e.loading=!0}));let t=e||d.value;const n=yield h({value:t,limit:r}),i=!!n.nodes;((e,t,n)=>{s({componentId:"CypherQuery",type:"query",subType:"Cypher",statement:n,success:e,errorMsg:t,params:{value:n}})})(i,i?void 0:C({id:"advance.components.CypherQuery.Component.QueryFailed",dm:"查询失败"}),t),y((e=>{e.loading=!1})),a((e=>{const t=l(n);if(e.source=t,e.isLoading=!1,t.nodes.length>u)return e.largeGraphMode=!0,e.largeGraphData=t,void(e.data={nodes:[],edges:[]});e.data=t}))})),_=e=>{y((t=>{t.value=e}))};return g().createElement("div",{className:"cypher-query-container"},g().createElement(Xe,{onValueChange:_,inputValue:d.inputValue,cancelInputValue:()=>y((e=>{e.inputValue=""}))}),g().createElement("div",{style:{textAlign:"right",padding:"12px 0px"}},t&&g().createElement(f.Button,{className:"publishButton",disabled:!d.value,onClick:()=>{y((e=>{e.modalVisible=!0}))}},C({id:"advance.components.CypherQuery.Component.PublishAsATemplate",dm:"发布成模板"})),g().createElement(f.Button,{onClick:()=>v(),type:"primary",loading:d.loading},C({id:"advance.components.CypherQuery.Component.ExecuteAQuery",dm:"执行查询"}))),d.modalVisible&&g().createElement(je,{saveTemplateServceId:n,visible:d.modalVisible,value:d.value,close:()=>{y((e=>{e.modalVisible=!1}))},fileType:"CYPHER"}))})),Qe="CypherQuery",Je={id:Qe,name:C({id:"advance.components.CypherQuery.info.CypherStatementQuery",dm:"Cypher 语句查询"}),category:"data-query",desc:C({id:"advance.components.CypherQuery.info.DataQueryModule",dm:"数据查询模块"}),cover:"http://xxxx.jpg",type:"GIAC_CONTENT",icon:"icon-query",services:[Qe,"PublishTemplate"],docs:"https://www.yuque.com/antv/gi/tt351vzs0agex3un"},{GIAC_CONTENT_METAS:et,deepClone:tt}=p.extra,nt=tt(et);nt.GIAC_CONTENT.properties.GIAC_CONTENT.properties.icon.default=Je.icon,nt.GIAC_CONTENT.properties.GIAC_CONTENT.properties.title.default=Je.name;const rt={info:Je,component:Ze,registerMeta:e=>{const{services:t=[],engineId:n}=e,{options:r,defaultValue:i}=p.utils.getServiceOptionsByEngineId(t,Je.services[0],n),{options:o,defaultValue:a}=p.utils.getServiceOptionsByEngineId(t,Je.services[1],n);return Object.assign({serviceId:{title:C({id:"advance.components.CypherQuery.registerMeta.DataService",dm:"数据服务"}),type:"string","x-decorator":"FormItem","x-component":"Select","x-component-props":{options:r},default:i},limit:{title:C({id:"advance.components.CypherQuery.registerMeta.QueryLimits",dm:"查询限制"}),type:"number","x-decorator":"FormItem","x-component":"NumberPicker",default:100},isShowPublishButton:{title:C({id:"advance.components.CypherQuery.registerMeta.PublishAsATemplate",dm:"发布成模板"}),type:"string","x-decorator":"FormItem","x-component":"Switch","x-reactions":[{target:"saveCypherTemplateServceId",fulfill:{state:{visible:"{{$self.value}}"}}}],default:!1},saveCypherTemplateServceId:{title:C({id:"advance.components.CypherQuery.registerMeta.PublishTemplateService",dm:"发布模板服务"}),type:"string","x-decorator":"FormItem","x-component":"Select","x-component-props":{options:o},default:a},initialValue:{title:C({id:"advance.components.CypherQuery.registerMeta.InitialStatement",dm:"初始语句"}),type:"string","x-decorator":"FormItem","x-component":"Input.TextArea",default:"MATCH n RETURN LIMIT 100"}},nt)}},it={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"}}]},name:"star",theme:"filled"};var ot=function(e,t){return m.createElement(ke.Z,(0,Ne.Z)((0,Ne.Z)({},e),{},{ref:t,icon:it}))};ot.displayName="StarFilled";const at=m.forwardRef(ot);var st=u(9835),lt=u.n(st),ct=u(2791),ut=u.n(ct),ht=u(7224);const pt=[{key:"red",label:C({id:"advance.components.GraphAnnotation.Component.Red",dm:"红色"}),hex:"#ff4d4f"},{key:"green",label:C({id:"advance.components.GraphAnnotation.Component.Green",dm:"绿色"}),hex:"#389e0d"},{key:"blue",label:C({id:"advance.components.GraphAnnotation.Component.Blue",dm:"蓝色"}),hex:"#1890ff"},{key:"yellow",label:C({id:"advance.components.GraphAnnotation.Component.Yellow",dm:"黄色"}),hex:"#ffc53d"},{key:"black",label:C({id:"advance.components.GraphAnnotation.Component.Black",dm:"黑色"}),hex:"#000"}],dt={key:"cancel",label:C({id:"advance.components.GraphAnnotation.Component.Cancel",dm:"取消"}),hex:"#ccc"},ft="gi-graph-annotation";let mt;const gt=(0,m.memo)((e=>{var t;const{contextmenu:n,annotationWay:r,defaultTitleField:i,defaultContentFields:o}=e,{graph:a,GISDK_ID:s}=(0,p.useContext)(),{item:l,x:c,y:u}=n;if(l&&l.destroyed)return null;const h=(null===(t=null==l?void 0:l.getType)||void 0===t?void 0:t.call(l))||"canvas",d={node:C({id:"advance.components.GraphAnnotation.Component.Node",dm:"节点"}),edge:C({id:"advance.components.GraphAnnotation.Component.Edge",dm:"边"}),combo:C({id:"advance.components.GraphAnnotation.Component.NodeGrouping",dm:"节点分组"}),canvas:C({id:"advance.components.GraphAnnotation.Component.Canvas",dm:"画布"})},y=(0,m.useMemo)((()=>{const e=a.get("plugins").filter((e=>"gi-graph-annoation-component"===e.get("pluginType")))[0];if(e)return e;const t=new(lt().Annotation)({pluginType:"gi-graph-annoation-component",trigger:"fix",onAnnotationChange:()=>{},cardCfg:{borderRadius:2,maxTitleLength:25,maxWidth:250,minWidth:150,collapseType:"hide",closeType:"remove",defaultBegin:{right:32,top:100}},getTitle:e=>{var t;if(i)return e.getModel()[i];const n=(null===(t=e.getType)||void 0===t?void 0:t.call(e))||"canvas";return d[n]},getContent:e=>{if(o){const t=e.getModel();return o.map((e=>t.hasOwnProperty(e)?`${e}: ${t[e]}`:void 0)).filter(Boolean).join("\n\r")}},getContentPlaceholder:e=>C({id:"advance.components.GraphAnnotation.Component.DoubleClickHereToStart",dm:"双击此处开始编辑"})});return a.addPlugin(t),t}),[]);(0,m.useEffect)((()=>{if(!y)return null==mt||mt(),void(mt=void 0);const e=document.getElementById(`${s}-graphin-container`);mt=(0,ht.ak)(e,(e=>{const t=y.get("canvas"),n=y.get("linkCanvas");if(e){const{clientHeight:r,clientWidth:i}=e;t&&t.changeSize(i,r),n&&n.changeSize(i,r)}}))}),[y]);const v=e=>{switch(r){case"tag":_(),b(e);break;case"click":case"tagOnly":default:b(e);break;case"annotateOnly":_()}n.onClose()},_=e=>{var t;const n=e||l||a.get("canvas");(null===(t=null==n?void 0:n.isCanvas)||void 0===t?void 0:t.call(n))?y.toggleAnnotation(n,{x:c,y:u}):y.showAnnotation({item:n})},b=e=>{if(!l)return;const t=l.getModel(),{badges:n=[],keyshape:r}=t.style||{},i=Math.max(Math.round(r.size/2)||15,15),o=[...n],s=o.find((e=>e.classname===ft));if(s){const e=o.indexOf(s);o.splice(e,1)}"cancel"!==e.key?o.push({position:"RB",fontFamily:"iconfont",type:"font",value:p.icons["star-fill"],size:i,fontSize:i-2,color:e.hex,fill:"#fff",stroke:e.hex,classname:ft}):y.removeCard(t.id),a.updateItem(l,{pinned:!0,style:{badges:o}})},E=e=>{var t,n;const{target:r,item:i}=e;if("badges-circle"===r.get("name")){if(!(null===(n=null===(t=null==i?void 0:i.getModel().style)||void 0===t?void 0:t.badges)||void 0===n?void 0:n.find((e=>e.classname===ft))))return;_(i)}};(0,m.useEffect)((()=>{if(!y||y.destroyed)return null==mt||mt(),void(mt=void 0);ut()("\n .g6-annotation-wrapper {\n box-shadow: 0 0 8px rgba(0, 0, 0, 0.15);\n }\n .g6-annotation-header-wapper {\n background-color: #fff;\n border-bottom: 1px solid rgba(0, 0, 0, 0.15);\n }\n ")}),[]),(0,m.useEffect)((()=>("click"===r&&a.on("node:click",E),()=>{a.off("node:click",E)})),[r]);const T=(0,m.useMemo)((()=>{var e;const t=l||a.get("canvas");return"annotateOnly"===r||(null===(e=null==t?void 0:t.isCanvas)||void 0===e?void 0:e.call(t))&&"tagOnly"!==r?g().createElement(f.Menu.Item,{key:"graph-annotation",eventKey:"graph-annotation",onClick:v},C({id:"advance.components.GraphAnnotation.Component.LabelMenuitemnameitemtype",dm:"标注{menuItemNameItemType}"},{menuItemNameItemType:d[h]})):g().createElement(f.Menu.SubMenu,{key:"tag",title:C({id:"advance.components.GraphAnnotation.Component.MarkMenuitemnameitemtype",dm:"标记{menuItemNameItemType}"},{menuItemNameItemType:d[h]})},g().createElement("div",{className:"gi-annotation-tag-color-container"},pt.map((e=>g().createElement("div",{className:"gi-annotation-tag-color",style:{border:`1px solid ${e.hex}`},onClick:()=>v(e)},g().createElement(at,{style:{color:e.hex,fontSize:12,padding:"1px"}})))),g().createElement("div",{style:{marginLeft:"8px",lineHeight:"24px"},onClick:()=>v(dt)},C({id:"advance.components.GraphAnnotation.Component.Cancel",dm:"取消"}))))}),[r,l]);return g().createElement(g().Fragment,null," ",T," ")})),yt=[{value:"tag",label:C({id:"advance.components.GraphAnnotation.registerMeta.MarkNodesAtTheSame",dm:"标记节点的同时"})},{value:"click",label:C({id:"advance.components.GraphAnnotation.registerMeta.WhenYouClickANode",dm:"点击节点标记时"})},{value:"tagOnly",label:C({id:"advance.components.GraphAnnotation.registerMeta.MarkNodesOnlyYouCannot",dm:"仅标记节点,不可添加标注"})},{value:"annotateOnly",label:C({id:"advance.components.GraphAnnotation.registerMeta.AddOnlyLabelsNotNodes",dm:"仅添加标注,不标记节点"})}],vt={info:{id:"GraphAnnotation",name:C({id:"advance.components.GraphAnnotation.Menu",dm:"图标注(MENU)"}),category:"elements-interaction",desc:C({id:"advance.components.GraphAnnotation.FigureAnnotationOftenIntegratedIn",dm:"图标注,常集成在右键菜单中"}),cover:"http://xxxx.jpg",icon:"icon-pushpin",type:"GIAC_MENU",docs:"https://www.yuque.com/antv/gi/wefpto855v7x79dd"},component:gt,registerMeta:e=>{const{keys:t}=e;return{annotationWay:{title:C({id:"advance.components.GraphAnnotation.registerMeta.LabelingMethod",dm:"标注方式"}),type:"string","x-decorator":"FormItem","x-component":"Select","x-component-props":{options:yt},default:"tag"},defaultTitleField:{title:C({id:"advance.components.GraphAnnotation.registerMeta.DefaultTitleFillAttribute",dm:"默认标题填充属性"}),type:"string","x-decorator":"FormItem","x-component":"Select","x-component-props":{mode:"single",options:t.map((e=>({label:e,value:e})))},default:void 0},defaultContentFields:{title:C({id:"advance.components.GraphAnnotation.registerMeta.DefaultContentFillAttribute",dm:"默认内容填充属性"}),type:"string","x-decorator":"FormItem","x-component":"Select","x-component-props":{mode:"multiple",options:t.map((e=>({label:e,value:e})))},default:void 0}}}};const _t=(0,m.memo)((({initialValue:e="",height:t=220,serviceId:n,saveTemplateServceId:r="GI/PublishTemplate",style:i,visible:o,isShowPublishButton:a,isShowLimit:s,isShowTimeout:l,controlledValues:c})=>{var u;const{updateContext:h,transform:d,services:y,updateHistory:v}=(0,p.useContext)(),_=g().useRef(null),b=p.utils.getService(y,n),E=p.utils.searchParamOf("gremlin"),[T,x]=Le({editorValue:E||e||"",isFullScreen:!1,modalVisible:!1,limit:null,timeout:5e3}),S=e=>{x((t=>{t.editorValue=e}))},{editorValue:A,isFullScreen:R,limit:w,timeout:L}=T,[O,N]=(0,m.useState)(!1),I=(0,m.useMemo)((()=>A.includes(".limit")),[A]),k=(0,m.useMemo)((()=>A.includes("evaluationTimeout")),[A]),D=()=>function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){e.done?i(e.value):function(e){return e instanceof n?e:new n((function(t){t(e)}))}(e.value).then(a,s)}l((r=r.apply(e,t||[])).next())}))}(void 0,void 0,void 0,(function*(){if(N(!0),!b)return;let e=`${A}`;s&&w&&!I&&(e=`${e}.limit(${w})`),l&&L&&!k&&(e=`${e.substring(0,1)}.with('evaluationTimeout', ${L})${e.substring(1)}`);const t=yield b({value:e});v({componentId:"GremlinQuery",type:"query",subType:"Gremlin",statement:e,success:t&&t.success,params:{value:e}}),N(!1),t&&t.success?h((e=>{const n=d(t.data);e.data=n,e.source=n,e.isLoading=!1})):f.notification.error({message:C({id:"advance.components.GremlinQuery.Component.FailedToExecuteGremlinQuery",dm:"执行 Gremlin 查询失败"}),description:C({id:"advance.components.GremlinQuery.Component.FailureReasonResultmessage",dm:"失败原因:{resultMessage}"},{resultMessage:t.message})})}));(0,m.useEffect)((()=>{N(!1)}),[o]),(0,m.useEffect)((()=>{console.log("editorValue..........",A),S(A)}),[]),(0,m.useEffect)((()=>{const{value:e}=c||{};e&&(S(e),D())}),[c]);const P=s||l,M=(0,m.useMemo)((()=>{var e,t;return!!(null===(e=_.current)||void 0===e?void 0:e.scrollWidth)&&(null===(t=_.current)||void 0===t?void 0:t.scrollWidth)>400}),[null===(u=_.current)||void 0===u?void 0:u.scrollWidth]),F=s?g().createElement("div",{className:"gi-gremlin-query-config",style:{width:M?"50%":"unset"}},g().createElement(f.Tooltip,{title:I?C({id:"advance.components.GremlinQuery.Component.CannotBeModifiedLimitNum",dm:"不可修改,语句中已有 .limit(num) 约束"}):""},g().createElement("div",{className:"gi-gremlin-query-constraint-constraint"},g().createElement("label",{className:"gi-gremlin-query-constraint-label"},"Limit: "),g().createElement(f.InputNumber,{min:1,max:1/0,value:I?void 0:w,size:"small",style:{width:"calc(100% - 80px)"},disabled:I,onChange:e=>x((t=>{t.limit=e}))}))),w&&!I?g().createElement("div",{className:"gi-gremlin-query-config-tip"},C({id:"advance.components.GremlinQuery.Component.LimitConfigTip",dm:C({id:"advance.components.GremlinQuery.Component.TheStatementAddsASuffix",dm:"语句将添加后缀: .limt({limit})"},{limit:w})},{value:w})):""):"",H=l?g().createElement("div",{className:"gi-gremlin-query-config",style:{width:M?"50%":"unset"}},g().createElement(f.Tooltip,{title:k?C({id:"advance.components.GremlinQuery.Component.CannotBeModifiedWithEvaluationtimeout",dm:"不可修改,语句中已有 .with('evaluationTimeout', timeout) 约束"}):""},g().createElement("div",{className:"gi-gremlin-query-constraint-constraint"},g().createElement("label",{className:"gi-gremlin-query-constraint-label"},"Timeout(ms): "),g().createElement(f.InputNumber,{min:500,max:1/0,step:1e3,value:k?void 0:L,size:"small",disabled:k,style:{width:"calc(100% - 80px)"},onChange:e=>x((t=>{t.timeout=e}))}))),L&&!k?g().createElement("div",{className:"gi-gremlin-query-config-tip"},C({id:"advance.components.GremlinQuery.Component.TimeoutConfigTip",dm:C({id:"advance.components.GremlinQuery.Component.StatementToAddConstraintsWith",dm:"语句将添加约束: .with('evaluationTimeout', {timeout})"},{timeout:L})},{value:L})):""):"";return g().createElement("div",{className:"gi-gremlin-query ",style:Object.assign({},i),ref:_},g().createElement("div",{style:{border:"1px solid #f6f6f6"}},g().createElement(Fe,{initValue:A,height:t,gremlinId:"gi-assets-gremlin",onValueChange:e=>(e=>{S(e)})(e)})),P?g().createElement("div",{className:"gi-gremlin-query-constraints-wrapper",style:{display:M?"inline-flex":"block"}},F,H):"",g().createElement("div",{style:{display:"flex",justifyContent:"end",padding:"8px 8px"}},g().createElement(f.Space,null,g().createElement(f.Button,{className:"publishButton",disabled:!0},C({id:"advance.components.GremlinQuery.Component.PublishAsATemplate",dm:"发布成模板"})),g().createElement(f.Button,{className:"queryButton",loading:O,type:"primary",onClick:D},C({id:"advance.components.GremlinQuery.Component.ExecuteAQuery",dm:"执行查询"})))))})),bt="GremlinQuery",Et={id:bt,name:C({id:"advance.components.GremlinQuery.info.GremlinQuery",dm:"Gremlin 查询"}),desc:C({id:"advance.components.GremlinQuery.info.QueryGraphDataThroughGremlin",dm:"通过 Gremlin 语句查询图数据"}),icon:"icon-query",category:"data-query",cover:"http://xxxx.jpg",type:"GIAC_CONTENT",services:[bt,"PublishTemplate"],docs:"https://www.yuque.com/antv/gi/nfkf0ku3rgvnican"},{GIAC_CONTENT_METAS:Tt,deepClone:xt}=p.extra,St=xt(Tt);St.GIAC_CONTENT.properties.GIAC_CONTENT.properties.icon.default=Et.icon,St.GIAC_CONTENT.properties.GIAC_CONTENT.properties.title.default="Gremlin";const Ct={info:Et,component:_t,registerMeta:e=>{const{services:t,engineId:n}=e,{options:r,defaultValue:i}=p.utils.getServiceOptionsByEngineId(t,Et.services[0],n),{options:o,defaultValue:a}=p.utils.getServiceOptionsByEngineId(t,Et.services[1],n);return Object.assign({serviceId:{title:C({id:"advance.components.GremlinQuery.registerMeta.DataService",dm:"数据服务"}),type:"string","x-decorator":"FormItem","x-component":"Select","x-component-props":{options:r},default:i},isShowPublishButton:{title:C({id:"advance.components.GremlinQuery.registerMeta.PublishAsATemplate",dm:"发布成模板"}),type:"string","x-decorator":"FormItem","x-component":"Switch","x-reactions":[{target:"saveTemplateServceId",fulfill:{state:{visible:"{{$self.value}}"}}}],default:!1},saveTemplateServceId:{title:C({id:"advance.components.GremlinQuery.registerMeta.PublishTemplateService",dm:"发布模板服务"}),type:"string","x-decorator":"FormItem","x-component":"Select","x-component-props":{options:o},default:a},initialValue:{title:C({id:"advance.components.GremlinQuery.registerMeta.InitialQuery",dm:"初始查询"}),type:"string","x-decorator":"FormItem","x-component":"Input.TextArea",default:'g.V().hasLabel("Film").has("id","c54e6f7dd4dacc1ac5b0fa66565a4a60")'},isShowLimit:{title:C({id:"advance.components.GremlinQuery.registerMeta.IsShowLimit",dm:"可设置 limit"}),type:"string","x-decorator":"FormItem","x-component":"Switch",default:!1},isShowTimeout:{title:C({id:"advance.components.GremlinQuery.registerMeta.IsShowTimeout",dm:"可设置 timeout"}),type:"string","x-decorator":"FormItem","x-component":"Switch",default:!1},height:{title:C({id:"advance.components.GremlinQuery.registerMeta.Height",dm:"高度"}),type:"number","x-decorator":"FormItem","x-component":"NumberPicker",default:200}},St)}};var At=u(314),Rt=u.n(At);const wt=["TableMode","MapMode"],Lt={info:{id:"ModeSwitch",name:C({id:"advance.components.ModeSwitch.ModeSwitching",dm:"模式切换"}),desc:C({id:"advance.components.ModeSwitch.IntegratesMultipleAnalysisModesAnd",dm:"集成多个分析模式,支持切换"}),icon:"icon-sidebar",cover:"http://xxxx.jpg",category:"container-components",type:"GICC",docs:"https://www.yuque.com/antv/gi/uzzgt9vxx4leche6"},component:e=>{const{components:t,assets:n,GISDK_ID:r,placement:i,offset:o}=e,[a,s]=Le({mode:"CanvasMode"}),l=document.getElementById(`${r}-graphin-container`),c=(l.firstChild,m.useMemo((()=>t.sort(((e,t)=>e.props.GI_CONTAINER_INDEX-t.props.GI_CONTAINER_INDEX)).filter((e=>e&&e.props))),[t])),u=c.map((e=>({value:e.id,label:e.name||e.id})));u.unshift({value:"CanvasMode",label:C({id:"advance.components.ModeSwitch.Component.CanvasMode",dm:"画布模式"})});const h=m.useMemo((()=>{const e=c.find((e=>e.id===a.mode));if(!e)return null;const{props:t,id:r}=e,i=n[r].component;return m.createElement(i,Object.assign({},t))}),[c,a.mode,n]);m.useEffect((()=>{const e=document.getElementById(`${r}-graphin-container`);e.childElementCount>0&&e.childNodes.forEach((e=>{"SECTION"===e.nodeName&&(e.style.display="TableMode"===a.mode?"block":"none"),"DIV"===e.nodeName&&(e.style.display="CanvasMode"===a.mode?"block":"none")}))}),[a.mode,r]);const p="LT"===i||"LB"===i,d="LT"===i||"RT"===i;return m.createElement(m.Fragment,null,Rt().createPortal(m.createElement("nav",{style:{top:d?"0px":"unset",bottom:d?"unset":"0px",left:"0px",right:"0px",zIndex:300,position:"fixed"}},m.createElement("div",{style:{textAlign:p?"left":"right",marginLeft:p?o[0]:"unset",marginRight:p?"unset":o[0],marginTop:d?o[1]:"unset",marginBottom:d?"unset":o[1]}},m.createElement(f.Segmented,{value:a.mode,options:u,onChange:e=>{s((t=>{t.mode=e}))}}))),l),h&&Rt().createPortal(m.createElement("section",{style:{background:"#fff",position:"fixed",width:"100%",top:"32px",bottom:"0px",zIndex:300}},h),l))},registerMeta:e=>{const{GIAC_CONTENT_ITEMS:t=[],GIAC_ITEMS:n}=e,r=[...t].filter((e=>wt.includes(e.value)));return{GI_CONTAINER:{title:C({id:"advance.components.ModeSwitch.registerMeta.IntegratedComponents",dm:"集成组件"}),type:"string","x-decorator":"FormItem","x-component":"Select","x-component-props":{mode:"multiple"},enum:r,default:[]},placement:{title:C({id:"advance.components.ModeSwitch.registerMeta.PlacementOrientation",dm:"放置方位"}),type:"string","x-decorator":"FormItem","x-component":"Select","x-component-props":{options:[{value:"LT",label:C({id:"advance.components.ModeSwitch.registerMeta.TopLeftTop",dm:"左上 / top"})},{value:"RT",label:C({id:"advance.components.ModeSwitch.registerMeta.TopRightRight",dm:"右上 / right"})},{value:"LB",label:C({id:"advance.components.ModeSwitch.registerMeta.LowerLeftLeft",dm:"左下 / left"})},{value:"RB",label:C({id:"advance.components.ModeSwitch.registerMeta.BottomRightBottom",dm:"右下 / bottom"})}]},default:"LT"},offset:{title:C({id:"advance.components.ModeSwitch.registerMeta.OffsetDistance",dm:"偏移距离"}),type:"string","x-decorator":"FormItem","x-component":"Offset",default:[16,8]}}}};var Ot=u(4725),Nt=u.n(Ot);const It=(e,t)=>{var n,r;const i=e.save(),o={};null===(n=i.nodes)||void 0===n||n.forEach((e=>{o[e.id]=e}));const a=null===(r=t.nodes)||void 0===r?void 0:r.map((e=>{if("number"!=typeof e.x||"number"!=typeof e.y){const t=o[e.id];return t?Object.assign(Object.assign({},e),{x:t.x,y:t.y}):Object.assign(Object.assign({},e),{x:0,y:0})}return e}));return Object.assign(Object.assign({},t),{nodes:a})},kt=()=>{const{graph:e}=g().useContext(Ot.GraphinContext),[t,n]=g().useState((()=>({undoStack:e.getUndoStack(),redoStack:e.getRedoStack()}))),r=(t,n)=>{if(n)switch(t){case"visible":Object.keys(n).forEach((t=>{const r=n[t];r&&r.forEach((t=>{const n=e.findById(t.id);n&&(t.visible?e.showItem(n,!1):e.hideItem(n,!1))}))}));break;case"render":case"update":const t=e.getNodes().reduce(((e,t)=>(e[t.getID()]=t,e)),{});Object.keys(n).forEach((r=>{const i=n[r];i&&i.forEach((n=>{t[n.id]&&e.updateItem(n.id,n,!1)}))}));break;case"changedata":e.changeData(n,!1);break;case"delete":Object.keys(n).forEach((t=>{const r=n[t];r&&r.forEach((t=>{const n=t.itemType;delete t.itemType,e.addItem(n,t,!1)}))}));break;case"add":Object.keys(n).forEach((t=>{const r=n[t];r&&r.forEach((t=>{e.removeItem(t.id,!1)}))}));break;case"updateComboTree":const r={};e.getCombos().forEach((e=>{r[e.getID()]=e})),Object.keys(n).forEach((t=>{const i=n[t];i&&i.forEach((t=>{!r[t.id]||t.parentId&&!r[t.parentId]||e.updateComboTree(t.id,t.parentId,!1)}))}))}};return g().useEffect((()=>{const t=e=>{const{undoStack:t,redoStack:r}=e;n({undoStack:t,redoStack:r})};return e.on("stackchange",t),()=>{e.off("stackchange",t)}}),[e]),Object.assign(Object.assign(Object.assign({},t),{redo:()=>{const t=e.getRedoStack();if(!t||0===t.length)return;const n=t.pop();if(n){const{action:t}=n;let i=n.data.after;e.pushStack(t,Object.assign(Object.assign({},n.data),{after:It(e,n.data.after),before:It(e,n.data.before)})),"delete"===t&&(i=n.data.before),r(t,i)}},undo:()=>{const t=e.getUndoStack();if(!t||1===t.length)return;const n=t.pop();if(n){const{action:t}=n;e.pushStack(t,Object.assign(Object.assign({},n.data),{after:It(e,n.data.after),before:It(e,n.data.before)}),"redo");let i=n.data.before;"add"===t&&(i=n.data.after),r(t,i)}}}),t)},{GIAComponent:Dt}=p.extra,Pt=(0,m.memo)((e=>{const{GIAC:t}=e,{redo:n,redoStack:r}=kt();return g().createElement(Dt,{GIAC:Object.assign(Object.assign({},t),{disabled:0===r.length}),onClick:n})})),Mt={id:"Redo",name:C({id:"advance.components.Redo.info.Redo",dm:"重做"}),desc:C({id:"advance.components.Redo.info.RedoTheCanvasEntersThe",dm:"重做,画布进入下一步状态"}),cover:"http://xxxx.jpg",category:"canvas-interaction",type:"GIAC",icon:"icon-redo",docs:"https://www.yuque.com/antv/gi/qe8vp7n9snmv54qn"},{GIAC_METAS:Ft,deepClone:Ht}=p.extra,Bt=Ht(Ft);Bt.GIAC.properties.GIAC.properties.title.default=Mt.name,Bt.GIAC.properties.GIAC.properties.isShowTitle.default=!1,Bt.GIAC.properties.GIAC.properties.icon.default=Mt.icon;const Ut={info:Mt,component:Pt,registerMeta:()=>Object.assign({},Bt)},jt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M456 231a56 56 0 10112 0 56 56 0 10-112 0zm0 280a56 56 0 10112 0 56 56 0 10-112 0zm0 280a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"more",theme:"outlined"};var Gt=function(e,t){return m.createElement(ke.Z,(0,Ne.Z)((0,Ne.Z)({},e),{},{ref:t,icon:jt}))};Gt.displayName="MoreOutlined";const Yt=m.forwardRef(Gt);var zt=u(5538);const $t=(e,t,n)=>{const[r,i]=n;return"top"===t?{container:{},sheetbar:{position:"absolute",display:"flex",top:`${i}px`,left:`${r}px`,right:"0px",height:`${e+1}px`,lineHeight:`${e+1}px`,background:"var(--background-color)",zIndex:300,borderBottom:"1px solid var(--border-color)"}}:{container:{},sheetbar:{display:"flex",position:"absolute",bottom:`${i}px`,left:`${r}px`,right:"0px",height:`${e+1}px`,lineHeight:`${e+1}px`,background:"var(--background-color)",zIndex:300,borderTop:"1px solid var(--border-color)"}}},Wt=(0,m.memo)((e=>{const{height:t,placement:n,position:r=[0,0]}=e,{GISDK_ID:i,config:o,data:a,source:s,transform:l,services:c,updateContext:u,graph:h,assets:y}=(0,p.useContext)(),v=g().useRef({tagContext:!1}),[_,b]=g().useState((()=>{const e=new Map;return e.set("default",{sheetId:"default",sheetName:C({id:"advance.components.Sheetbar.Component.DefaultCanvas",dm:"默认画布"}),config:o,data:a,source:s}),{currentId:"default",currentName:C({id:"advance.components.Sheetbar.Component.DefaultCanvas",dm:"默认画布"}),sheetMap:e}})),{sheetMap:E,currentId:T,currentName:x}=_,S=[...E.values()],A=$t(t,n,r),R=e=>{const t=Math.random().toString(36).substr(2),n=C({id:"advance.components.Sheetbar.Component.UnnamedCanvas",dm:"未命名画布"});let r={nodes:[],edges:[]};e&&(r=JSON.parse(JSON.stringify(e))),b((e=>Object.assign(Object.assign({},e),{currentId:t,currentName:n,sheetMap:e.sheetMap.set(t,{sheetId:t,sheetName:n,config:o,source:r,data:r})})))};g().useEffect((()=>{v.current.tagContext||(u((e=>{e.handleAddSheetbar=e=>{R(e)}})),v.current.tagContext=!0)}),[]);const w=g().useCallback((e=>{T!==e&&b((t=>Object.assign(Object.assign({},t),{currentId:e,currentName:E.get(e).sheetName})))}),[T,E]),L=document.getElementById(`${i}-container`),O=L.parentElement;g().useEffect((()=>{"default"===T?(L.style.display="block",Object.keys(A.container).forEach((e=>{L.style[e]=A.container[e]}))):L.style.display="none"}),[T,L]);const N=(0,m.useMemo)((()=>(console.log("render ...sheet components"),g().createElement(g().Fragment,null,g().createElement("div",{style:A.sheetbar,className:"gi-sheetbar"},S.map((e=>{const{sheetName:n,sheetId:r}=e,i=T===r,o=e.config.components.filter((e=>"Sheetbar"!==e.id)),a=c.map((t=>-1!==t.id.indexOf("GI_SERVICE_INTIAL_GRAPH")?Object.assign(Object.assign({},t),{service:()=>new Promise((t=>{t(e.data)}))}):t)),s=Object.assign(Object.assign({},e.config),{components:o}),l=[{key:"delete",label:g().createElement("div",{onClick:()=>{var e;"default"!==(e=r)&&b((t=>(t.sheetMap.delete(e),Object.assign(Object.assign({},t),{sheetMap:t.sheetMap,currentId:"default",currentName:C({id:"advance.components.Sheetbar.Component.DefaultCanvas",dm:"默认画布"})}))))}},C({id:"advance.components.Sheetbar.Component.Delete",dm:"删除"})),icon:g().createElement(Oe.Z,null)}],u=g().createElement(f.Menu,{items:"default"===r?[]:l});return g().createElement("div",{key:r,onClick:()=>{w(r)},style:{color:i?"var(--primary-color)":"var(--text-color)",padding:"0px 0px 0px 12px",cursor:"pointer",background:i?"var(--background-color-2)":"var(--background-color)"}},n,g().createElement(f.Dropdown,{overlay:u,placement:"topRight",trigger:["click"]},g().createElement(f.Button,{type:"text",style:{height:`${t}px`,width:`${t}px`,marginLeft:"4px"},icon:g().createElement(Yt,null)})),"default"!==r&&Rt().createPortal(g().createElement(d(),{id:r,config:s,assets:y,services:a,style:Object.assign({display:r===T?"flex":"none"},A.container)}),O))})),g().createElement("div",null,g().createElement(f.Button,{icon:g().createElement(zt.Z,null),type:"text",onClick:()=>R(),style:{width:`${t}px`,height:`${t}px`}})))))),[T]);return Rt().createPortal(N,O)})),Vt={info:{id:"Sheetbar",name:C({id:"advance.components.Sheetbar.MultiCanvasTab",dm:"多画布页签"}),desc:C({id:"advance.components.Sheetbar.CreateACanvasTabTo",dm:"新建画布页签,辅助动态分析"}),cover:"http://xxxx.jpg",category:"system-interaction",type:"AUTO",icon:"icon-diff",docs:"https://www.yuque.com/antv/gi/vb6ysnnf1db2pdlf"},component:Wt,registerMeta:()=>({placement:{title:C({id:"advance.components.Sheetbar.registerMeta.PlacementOrientation",dm:"放置方位"}),type:"string","x-decorator":"FormItem","x-component":"Select","x-component-props":{options:[{value:"top",label:C({id:"advance.components.Sheetbar.registerMeta.Top",dm:"顶部"})},{value:"bottom",label:C({id:"advance.components.Sheetbar.registerMeta.Bottom",dm:"底部"})}]},default:"bottom"},height:{title:C({id:"advance.components.Sheetbar.registerMeta.TabHeight",dm:"页签高度"}),type:"number","x-decorator":"FormItem","x-component":"NumberPicker",default:40},position:{title:C({id:"sdk.src.components.const.OffsetDistance",dm:"偏移距离"}),type:"string","x-decorator":"FormItem","x-component":"Offset",default:[0,0]}})},Kt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512.5 390.6c-29.9 0-57.9 11.6-79.1 32.8-21.1 21.2-32.8 49.2-32.8 79.1 0 29.9 11.7 57.9 32.8 79.1 21.2 21.1 49.2 32.8 79.1 32.8 29.9 0 57.9-11.7 79.1-32.8 21.1-21.2 32.8-49.2 32.8-79.1 0-29.9-11.7-57.9-32.8-79.1a110.96 110.96 0 00-79.1-32.8zm412.3 235.5l-65.4-55.9c3.1-19 4.7-38.4 4.7-57.7s-1.6-38.8-4.7-57.7l65.4-55.9a32.03 32.03 0 009.3-35.2l-.9-2.6a442.5 442.5 0 00-79.6-137.7l-1.8-2.1a32.12 32.12 0 00-35.1-9.5l-81.2 28.9c-30-24.6-63.4-44-99.6-57.5l-15.7-84.9a32.05 32.05 0 00-25.8-25.7l-2.7-.5c-52-9.4-106.8-9.4-158.8 0l-2.7.5a32.05 32.05 0 00-25.8 25.7l-15.8 85.3a353.44 353.44 0 00-98.9 57.3l-81.8-29.1a32 32 0 00-35.1 9.5l-1.8 2.1a445.93 445.93 0 00-79.6 137.7l-.9 2.6c-4.5 12.5-.8 26.5 9.3 35.2l66.2 56.5c-3.1 18.8-4.6 38-4.6 57 0 19.2 1.5 38.4 4.6 57l-66 56.5a32.03 32.03 0 00-9.3 35.2l.9 2.6c18.1 50.3 44.8 96.8 79.6 137.7l1.8 2.1a32.12 32.12 0 0035.1 9.5l81.8-29.1c29.8 24.5 63 43.9 98.9 57.3l15.8 85.3a32.05 32.05 0 0025.8 25.7l2.7.5a448.27 448.27 0 00158.8 0l2.7-.5a32.05 32.05 0 0025.8-25.7l15.7-84.9c36.2-13.6 69.6-32.9 99.6-57.5l81.2 28.9a32 32 0 0035.1-9.5l1.8-2.1c34.8-41.1 61.5-87.4 79.6-137.7l.9-2.6c4.3-12.4.6-26.3-9.5-35zm-412.3 52.2c-97.1 0-175.8-78.7-175.8-175.8s78.7-175.8 175.8-175.8 175.8 78.7 175.8 175.8-78.7 175.8-175.8 175.8z"}}]},name:"setting",theme:"filled"};var qt=function(e,t){return m.createElement(ke.Z,(0,Ne.Z)((0,Ne.Z)({},e),{},{ref:t,icon:Kt}))};qt.displayName="SettingFilled";const Xt=m.forwardRef(qt);var Zt=u(3747),Qt=u(3486);const Jt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M758.2 839.1C851.8 765.9 912 651.9 912 523.9 912 303 733.5 124.3 512.6 124 291.4 123.7 112 302.8 112 523.9c0 125.2 57.5 236.9 147.6 310.2 3.5 2.8 8.6 2.2 11.4-1.3l39.4-50.5c2.7-3.4 2.1-8.3-1.2-11.1-8.1-6.6-15.9-13.7-23.4-21.2a318.64 318.64 0 01-68.6-101.7C200.4 609 192 567.1 192 523.9s8.4-85.1 25.1-124.5c16.1-38.1 39.2-72.3 68.6-101.7 29.4-29.4 63.6-52.5 101.7-68.6C426.9 212.4 468.8 204 512 204s85.1 8.4 124.5 25.1c38.1 16.1 72.3 39.2 101.7 68.6 29.4 29.4 52.5 63.6 68.6 101.7 16.7 39.4 25.1 81.3 25.1 124.5s-8.4 85.1-25.1 124.5a318.64 318.64 0 01-68.6 101.7c-9.3 9.3-19.1 18-29.3 26L668.2 724a8 8 0 00-14.1 3l-39.6 162.2c-1.2 5 2.6 9.9 7.7 9.9l167 .8c6.7 0 10.5-7.7 6.3-12.9l-37.3-47.9z"}}]},name:"redo",theme:"outlined"};var en=function(e,t){return m.createElement(ke.Z,(0,Ne.Z)((0,Ne.Z)({},e),{},{ref:t,icon:Jt}))};en.displayName="RedoOutlined";const tn=m.forwardRef(en);var nn=u(703);const rn={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M304 176h80v672h-80zm408 0h-64c-4.4 0-8 3.6-8 8v656c0 4.4 3.6 8 8 8h64c4.4 0 8-3.6 8-8V184c0-4.4-3.6-8-8-8z"}}]},name:"pause",theme:"outlined"};var on=function(e,t){return m.createElement(ke.Z,(0,Ne.Z)((0,Ne.Z)({},e),{},{ref:t,icon:rn}))};on.displayName="PauseOutlined";const an=m.forwardRef(on),sn=function(e){var t=(0,m.useRef)(e);t.current=(0,m.useMemo)((function(){return e}),[e]);var n=(0,m.useRef)();return n.current||(n.current=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return t.current.apply(this,e)}),n.current},ln={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 632H136v-39.9l138.5-164.3 150.1 178L658.1 489 888 761.6V792zm0-129.8L664.2 396.8c-3.2-3.8-9-3.8-12.2 0L424.6 666.4l-144-170.7c-3.2-3.8-9-3.8-12.2 0L136 652.7V232h752v430.2zM304 456a88 88 0 100-176 88 88 0 000 176zm0-116c15.5 0 28 12.5 28 28s-12.5 28-28 28-28-12.5-28-28 12.5-28 28-28z"}}]},name:"picture",theme:"outlined"};var cn=function(e,t){return m.createElement(ke.Z,(0,Ne.Z)((0,Ne.Z)({},e),{},{ref:t,icon:ln}))};cn.displayName="PictureOutlined";const un=m.forwardRef(cn);var hn=u(640),pn=u.n(hn);const dn=pn(),fn={query:"#227EFF",analyse:"#AD5CFF",configure:"#00B8B8",default:"#7E92B5",edge:"#99ADD1"},mn={query:C({id:"advance.components.AnalysisHistory.util.Query",dm:"查询"}),analyse:C({id:"advance.components.AnalysisHistory.util.Analysis",dm:"分析"}),configure:C({id:"advance.components.AnalysisHistory.util.Configuration",dm:"配置"})},gn=(e,t,n={},r=!0)=>{const{type:i,subType:o,statement:a,timestamp:s}=e,l=new Date(s);return m.createElement("div",{className:"gi-analysis-record-wrapper",style:Object.assign({},n)},r?m.createElement("div",{className:"gi-analysis-history-tag",style:{background:fn[i]}}):"",r?m.createElement("div",{style:{color:fn[i]}},mn[i]):"",m.createElement("span",{className:"gi-analysis-history-statement"},mn[i]," (",o,"): ",a),m.createElement("span",{className:"gi-analysis-history-time"},l.toLocaleDateString()," ",l.toLocaleTimeString()),t?m.createElement(f.Popover,{placement:"top",style:{width:"fit-content",height:"fit-content"},content:m.createElement("img",{src:t,style:{width:"300px"}})},m.createElement(un,{className:"gi-analysis-history-screenshot-icon"})):"")},yn=(e,t)=>"object"!=typeof e?m.createElement("span",Object.assign({},t),String(e)):m.createElement("div",{className:"gi-analysis-history-value-json"},m.createElement(dn,Object.assign({className:"gi-analysis-history-value-json"},t,{src:e}))),vn=(e,t,n)=>{let r=e;t.forEach(((e,i)=>{i===t.length-1?r[e]=n:r=r[e]}))},_n=(e,t,n={},r=void 0)=>{const{content:i,params:o}=e,a=o[t],s="object"==typeof a;return"query"===i.type&&"value"===t||s?((e,t,n,r={},i)=>{const{id:o,parameterized:a}=e,s=[],l=[],c=a[t];return c?("object"==typeof n?((e,t,n,r,i={},o,a,s)=>{let l=JSON.parse(JSON.stringify(n));Object.values(r).forEach((n=>{const{position:r,parameterName:i,parameterDesc:s}=n,{paths:c,content:u}=r;vn(l,c,`\${${i}}`);const h=`${e}-${t}-${c.join("-")}-${i}`;a.push(m.createElement(f.Form.Item,{label:i,name:h,style:{margin:"4px"}},m.createElement(f.Input,Object.assign({placeholder:u,size:"small",width:"100%"},o,{"data-name":h})),m.createElement("div",{style:{fontSize:"10px",color:"var(--text-color-secondary)"}},s)))})),s.push(m.createElement("div",{className:"gi-analysis-history-value-json"},m.createElement(dn,Object.assign({},i,{src:l}))))})(o,t,n,c,r,i,l,s):((e,t,n,r,i={},o,a,s)=>{r.sort(((e,t)=>e.position.start-t.position.start));let l=0;r.forEach((({position:r,parameterName:c,parameterDesc:u})=>{const{start:h,end:p,content:d}=r;h-l&&a.push(yn(n,Object.assign(Object.assign({},i),{style:Object.assign({width:"fit-content"},i.style),dataStart:l}))),a.push(m.createElement("span",{style:{color:o?"var(--primary-color)":"#ccc",userSelect:"none",width:"fit-content"}},`\${${c}}`));const g=`${e}-${t}-${t}--${c}`;s.push(m.createElement(f.Form.Item,{label:c,name:g,style:{margin:"4px"}},m.createElement(f.Input,Object.assign({placeholder:d,size:"small",width:"100%"},o,{"data-name":g})),m.createElement("div",{style:{fontSize:"10px",color:"var(--text-color-secondary)"}},u))),l=p})),l!==n.length&&a.push(m.createElement("textarea",Object.assign({},i,{style:Object.assign({width:"fit-content"},i.style),"data-start":l}),n.substring(l)))})(o,t,n,c,r,i,s,l),m.createElement(m.Fragment,null,m.createElement("div",{style:{display:"inline-block",wordBreak:"break-all"}},s),m.createElement("div",{style:{marginTop:"8px"}},i?l:""))):yn(n,r)})(e,t,a,n,r):((e,t,n,r={},i)=>{const{id:o,parameterized:a}=e,s=a[t],l=`${o}-${t}-${t}`;return i&&s?m.createElement(f.Form.Item,{label:t,name:l,style:{margin:"4px"}},m.createElement(f.Input,Object.assign({placeholder:n,size:"small",width:"100%"},i,{"data-name":l}))):m.createElement(f.Tooltip,{title:i?C({id:"advance.components.AnalysisHistory.util.UnparameterizedContentCannotBeModified",dm:"未参数化内容不可修改"}):""},m.createElement("span",Object.assign({},r,{style:Object.assign({userSelect:"none"},r.style)}),n))})(e,t,a,n,r)},bn=(e="",t=5)=>!e||e.length<t?e:`${e.substring(0,t)}…`,En={type:"gi-history-circle",style:{fill:fn.default,r:20,lineWidth:0},labelCfg:{style:{fill:"#fff",cursor:"default"}}},Tn=e=>new(lt().Tooltip)({offsetX:350,offsetY:0,fixToNode:[0,0],itemTypes:["node"],shouldBegin:e=>{if(!(null==e?void 0:e.item))return!1;const t=e.item.getID();return"start"!==t&&"end"!==t},getContent:t=>{if(!(null==t?void 0:t.item))return"";const{id:n,errorMsg:r,content:i}=t.item.getModel();if("start"===n||"end"===n)return"";const o=t.target.get("name"),a=document.createElement("div");if("error-icon"===o||"error-content"===o)a.innerHTML=`<div>${r}</div>`;else{const t=(null==i?void 0:i.img)||e[n];a.innerHTML=`<img src="${t}" style="width: 200px" />`}return a}}),xn=e=>{const{parameterized:t={},configured:n={},content:r={},params:i={}}=e;return!!Object.keys(t).find((e=>{const o=i[e];return"query"===r.type&&"value"===e||"object"==typeof o?t[e].find((t=>!n[`${e}-${t.parameterName}`])):!n[`${e}-${e}`]}))},Sn=(e,t)=>{const{size:n=[102,33]}=e;return t.addShape("circle",{attrs:{x:n[0]/2-1,y:-n[1]/2+2,r:4,fill:"#f5222d",stroke:"#fff",lineWidth:1},name:"unconfigure-tag"})},Cn=(e,t,n,r)=>{const{width:i,r:o}=e,a={x:"rect"===t?i/2+14:o+14,y:0};n.addShape("circle",{attrs:Object.assign(Object.assign({},a),{r:8,fill:"success"===r?"#52c41a":"#f5222d",lineWidth:0,opacity:0}),name:`${r}-icon`}).animate({opacity:1},{duration:300}),n.addShape("path",{attrs:{path:"success"===r?[["M",a.x-4,0],["L",a.x,3],["L",a.x+4,-2]]:[["M",a.x-3,-3],["L",a.x+3,3],["M",a.x-3,3],["L",a.x+3,-3]],stroke:"#fff",lineWidth:2},name:`${r}-content`})},An=(e,t)=>{const n=e.find((e=>e.get("name")===`${t}-icon`)),r=e.find((e=>e.get("name")===`${t}-content`));null==n||n.remove(!0),null==r||r.remove(!0)},Rn=(e,t,n,r)=>{const i=n.getContainer(),o=n.getKeyShape(),a=o.attr(),{width:s,r:l}=a;if("running"===e)if(t)if("circle"===r)i.addShape("text",{attrs:{x:l+4,y:0,text:"Ready",textAlign:"left",textBaseline:"middle",fontSize:12,fill:"#52c41a"},name:"running-icon"});else{const e=lt().Util.transform([1,0,0,0,1,0,0,0,1],[["t",-(s/2+14),0],["r",Math.PI+.9],["t",s/2+14,0]]);i.addShape("circle",{attrs:{x:s/2+14,y:0,r:6,lineWidth:2,fill:"#fff",stroke:"#52c41a",lineDash:[4,16*Math.PI],matrix:e},name:"running-icon"}).animate({lineDash:[4,0]},{duration:1e3,easing:"easeLinear",repeat:!0})}else{const e=i.find((e=>"running-icon"===e.get("name")));e&&(e.stopAnimate(),e.remove(!0))}if("success"===e)t?"circle"===r?i.addShape("text",{attrs:{x:l+4,y:0,text:"Ready",textAlign:"left",textBaseline:"middle",fontSize:12,fill:"#52c41a"},name:"success-icon"}):Cn(a,r,i,"success"):An(i,"success");else if("configuring"===e)if(t){const e=Object.assign(Object.assign({},o.attr()),{stroke:"#fff",lineWidth:1,fillOpacity:0});o.attr({lineWidth:4,stroke:e.fill}),delete e.fill,i.addShape(r,{attrs:e,name:"border"});const t=i.find((e=>"unconfigure-tag"===e.get("name")));null==t||t.toFront()}else{const e=i.find((e=>"border"===e.get("name")));e&&e.remove(!0),o.attr({lineWidth:0})}else"error"===e&&(t?Cn(a,r,i,"error"):An(i,"error"))},{Tooltip:wn}=lt(),Ln=e=>{const t=(0,m.useRef)(),{runningId:n,errorInfos:r,successIds:i,graphData:o,urlMap:a,configuring:s,style:l={},isConfigure:c=!1,setConfiguring:u}=e,[h,p]=Le({tooltip:void 0,graph:null}),{tooltip:d,graph:f}=h;(0,m.useEffect)((()=>{lt().registerNode("gi-history-rect",{afterDraw(e,t){(null==e?void 0:e.isConfigure)&&xn(e)&&Sn(e,t)},afterUpdate(e,t){if(!e||!t)return;const n=t.getContainer(),r=n.find((e=>"unconfigure-tag"===e.get("name")));e.isConfigure&&xn(e)?r||Sn(e,n):r&&r.remove()},setState:(e,t,n)=>Rn(e,t,n,"rect")},"rect"),lt().registerNode("gi-history-circle",{setState:(e,t,n)=>Rn(e,t,n,"circle")},"circle")}),[]),(0,m.useEffect)((()=>{if(!o)return;const e=JSON.parse(JSON.stringify(o));if(f)return void f.changeData(e);const n=t.current,r=Tn(a),i=((e,t,n)=>{const r=(null==e?void 0:e.offsetWidth)||500,i=(null==e?void 0:e.offsetHeight)||500;return new(lt().Graph)({container:e,width:r,height:i,animate:!0,plugins:[t],modes:{default:[{type:"drag-canvas"},{type:"scroll-canvas",direction:"y"}]},layout:{type:"dagre",ranksep:10,begin:[r/2,70]},defaultNode:{type:"gi-history-rect",isConfigure:n,anchorPoints:[[.5,0],[.5,1]],labelCfg:{style:{fill:"#fff",cursor:"pointer"}}},defaultEdge:{type:"line",sourceAnchor:1,targetAnchor:0,color:fn.edge,style:{endArrow:{path:lt().Arrow.triangle(6,8),fill:fn.edge}}}})})(n,r,c);i.on("node:click",y),i.on("canvas:click",v),i.read(e),p((e=>{e.graph=i,e.tooltip=r}))}),[o]),(0,m.useEffect)((()=>{if(f){f.removePlugin(d);const e=Tn();f.addPlugin(e)}}),[a]),(0,m.useEffect)((()=>{f&&(f.findAllByState("node","running").forEach((e=>f.setItemState(e,"running",!1))),n&&f.findById(n)&&f.setItemState(n,"running",!0))}),[n]),(0,m.useEffect)((()=>{f&&(f.findAllByState("node","error").forEach((e=>f.setItemState(e,"error",!1))),null==r||r.forEach((e=>{const t=f.findById(e.id);t&&!t.destroyed&&(f.updateItem(e.id,{errorMsg:e.msg}),f.setItemState(e.id,"error",!0))})))}),[r]),(0,m.useEffect)((()=>{f&&((null==i?void 0:i.length)||f.findAllByState("node","success").forEach((e=>f.setItemState(e,"success",!1))),setTimeout((()=>{null==i||i.forEach((e=>{const t=f.findById(e);t&&(f.setItemState(t,"running",!1),t.hasState("success")||f.setItemState(t,"success",!0))}))}),1e3))}),[i]);const y=sn((e=>{if(!f)return;const t=e.item.getModel();if("start"!==t.id&&"end"!==t.id&&(null==s?void 0:s.id)!==t.id){if(s){const e=f.findById(s.id);e&&!e.destroyed&&f.setItemState(e,"configuring",!1)}f.setItemState(t.id,"configuring",!0),u(JSON.parse(JSON.stringify(t)))}})),v=sn((()=>{if(f){if(s){const e=f.findById(s.id);e&&e.setState("configuring",!1)}u(void 0)}}));return g().createElement("div",{className:"gi-history-modal-graph",ref:t,style:l})},On=e=>{const[t]=f.Form.useForm(),{configuring:n,updateConfigure:r}=e,{content:i,params:o}=n||{},a=e=>{const i=e.target.value,o=e.target.getAttribute("data-name");if(!n)return;const a=t.getFieldsValue();i&&!a[o]&&(a[o]=i,t.setFieldValue(o,i)),r(n.id,a)},s={width:"50%"};return n?g().createElement("div",{className:"gi-history-modal-configure-panel",style:s},g().createElement("h4",null,n.label),g().createElement(f.Divider,{type:"horizontal",style:{margin:"12px 0"}}),g().createElement("div",{style:{margin:"8px 0",wordBreak:"break-all"}},(()=>{const{statement:e,timestamp:t}=i,n=new Date(t);return g().createElement(g().Fragment,null,g().createElement("span",{className:"gi-analysis-history-statement"},e),g().createElement("div",{className:"gi-analysis-history-time",style:{fontSize:"10px"}},n.toLocaleDateString()," ",n.toLocaleTimeString()))})()),g().createElement(f.Form,{form:t},g().createElement("div",{style:{borderBottom:"1px solid #f0f0f0",paddingBottom:"16px"}},C({id:"advance.components.AnalysisHistory.ConfigurePanel.Description",dm:"描述:"}),n.description||C({id:"advance.components.AnalysisHistory.ConfigurePanel.None",dm:"无"})),Object.keys(o).map((e=>g().createElement("div",{className:"gi-history-modal-configure-field",style:{marginTop:"12px",display:"block"}},g().createElement("div",{className:"gi-history-modal-configure-parameterize-fieldname"},e,":"),g().createElement("div",{style:{borderRadius:"6px",padding:"4px",border:"1px solid #d9d9d9",wordBreak:"break-all"}},_n(n,e,{className:"gi-history-modal-configure-value",style:{border:"unset",userSelect:"none"}},{onBlur:a}))))))):g().createElement("div",{className:"gi-history-modal-configure-panel",style:s},C({id:"advance.components.AnalysisHistory.ConfigurePanel.ClickANodeToConfigure",dm:"请点击一个节点进行参数配置"}))};let Nn=0;const In=e=>{const{open:t,templates:n,urlMap:r,handleClose:i,handleUpdateConfigure:o}=e,{updateContext:a,history:s}=(0,p.useContext)(),[l,c]=Le({activeTemplateId:void 0,configuring:void 0,applyBtnTooltipVisible:!1,applyWay:"autoSteps",currentStep:-1,runningId:void 0,errorInfos:[],successIds:[],runningStatus:"none",autoRunning:!1}),{activeTemplateId:u,applyWay:h,currentStep:d,configuring:g,runningId:y,errorInfos:v,successIds:_,runningStatus:b,autoRunning:E}=l,T=m.useMemo((()=>{const e=null==n?void 0:n.find((e=>e.id===u));return e?e.nodes.filter((e=>"start"!==e.id&&"end"!==e.id)).sort(((e,t)=>{var n,r;return(null===(n=e.content)||void 0===n?void 0:n.timestamp)-(null===(r=t.content)||void 0===r?void 0:r.timestamp)})):[]}),[u,n]);m.useEffect((()=>{t?setTimeout((()=>{c((e=>{e.applyBtnTooltipVisible=!0})),setTimeout((()=>{c((e=>{e.applyBtnTooltipVisible=!1}))}),5e3)}),500):c((e=>{e.applyBtnTooltipVisible=!1}))}),[t]),m.useEffect((()=>{if(!(null==s?void 0:s.length))return;const{success:e,errorMsg:t}=s[s.length-1];y&&(e?("autoSteps"===h&&E&&d<T.length&&(Nn=setTimeout((()=>{S()}),1e3)),c((e=>{e.runningStatus="success",e.errorInfos=[],e.successIds=[..._,y]}))):e||c((e=>{e.errorInfos=[...v,{id:y,msg:t}],e.runningId=void 0,e.runningStatus="failed"})))}),[s]),m.useEffect((()=>{if(!(null==n?void 0:n.length)||u)return;const e=n[0].id;c((t=>{t.activeTemplateId=e}))}),[n]);const x=(e=!1)=>{Nn&&(clearTimeout(Nn),Nn=0),c((t=>{t.errorInfos=[],t.runningStatus=e?"finish":"none",t.runningId="start",t.successIds=[],t.currentStep="failed"===b?d:-1,t.autoRunning=!1}))},S=sn((()=>{let e=d+1;if(e>=T.length)x(!0);else{const t="finish"===b?T.length-1:d;R(T[e],T[t]),c((t=>{t.currentStep=e,t.runningStatus="running"}))}})),A=sn((e=>{c((e=>{e.runningId="start",e.successIds=[],e.autoRunning=!0})),Nn=setTimeout((()=>{c((e=>{e.successIds=["start"]})),S()}),e)})),R=(e,t)=>{const{params:n,parameterized:r,configured:i={},componentId:o,content:s}=e,{componentId:l}=t||{};c((t=>{t.runningId=e.id}));let u=!1;a((t=>{t.config.components.forEach((t=>{if(l&&t.id===l&&(t.props.controlledValues=void 0),t.id!==o)return;const a={seed:Math.random()};Object.keys(n).forEach((t=>{const o=n[t];if("query"===s.type&&"value"===t||"object"==typeof o){let n="string"!=typeof o?JSON.parse(JSON.stringify(o)):"",s=0;r[t]&&Object.values(r[t]).forEach((r=>{const{position:a,parameterName:l}=r,{start:c,end:u,content:h,paths:p}=a,d=i[`${e.id}-${t}-${p.join("-")}-${l}`]||h;"string"!=typeof o?vn(n,p,d):n=`${n}${o.substring(s,c-s)}${d}`,s=u})),"string"==typeof o&&(n=`${n}${o.substring(s)}`),a[t]=n}else a[t]=r[t]&&i[`${e.id}-${t}-${t}`]?i[`${e.id}-${t}-${t}`]:n[t]})),t.props.controlledValues=a,u=!0})),u||c((t=>{t.errorInfos=[...v,{id:e.id,msg:C({id:"advance.components.AnalysisHistory.TemplateDrawer.AssetComponentidIsNotFound",dm:"未找到资产 {componentId},请先将它配置到画布中"},{componentId:o})}],t.runningId=void 0,t.runningStatus="failed"}))}))},w=m.useMemo((()=>{const e={height:"32px",width:"83px",borderRadius:"0 8px 8px 0"};return"controlledSteps"===h?"failed"===b?m.createElement(f.Tooltip,{title:C({id:"advance.components.AnalysisHistory.TemplateDrawer.TheCurrentNodeFailedTo",dm:"当前节点执行失败,点从头重新执行"})},m.createElement(f.Button,{type:"primary",onClick:()=>x(),style:e},m.createElement(tn,{color:"#fff"}))):m.createElement(f.Button,{type:"primary",onClick:()=>S(),style:e,disabled:"running"===b},m.createElement(nn.Z,{color:"#fff"})):"failed"===b?m.createElement(f.Tooltip,{title:C({id:"advance.components.AnalysisHistory.TemplateDrawer.TheCurrentNodeFailedTo",dm:"当前节点执行失败,点从头重新执行"})},m.createElement(f.Button,{type:"primary",onClick:()=>{x(),A(1e3)},style:e},m.createElement(tn,{color:"#fff"}))):"running"===b||"success"===b?m.createElement(f.Button,{type:"primary",onClick:()=>{Nn&&clearTimeout(Nn),x()},style:e},m.createElement(an,{color:"#fff"})):m.createElement(f.Button,{type:"primary",onClick:()=>A(1e3),style:e},m.createElement(nn.Z,{color:"#fff"}))}),[d,h,b]);return m.createElement(f.Drawer,{title:C({id:"advance.components.AnalysisHistory.TemplateDrawer.AnalysisLinkTemplate",dm:"分析链路模版"}),width:"50vw",maskClosable:!1,mask:!1,open:t,onClose:i},m.createElement(f.Form,null,m.createElement(f.Form.Item,{label:C({id:"advance.components.AnalysisHistory.TemplateDrawer.SelectTemplate",dm:"选择模版"}),name:"template",className:"gi-history-drawer-select"},m.createElement(f.Select,{defaultValue:l.activeTemplateId,style:{width:"100%"},onChange:e=>{c((t=>{t.activeTemplateId=e,t.configuring=void 0})),x("finish"===b)}},null==n?void 0:n.map((e=>m.createElement(f.Select.Option,{value:e.id},e.name,e.description?m.createElement("span",{style:{color:"var(--text-color-secondary)",marginLeft:"4px"}},`(${e.description})`):""))))),m.createElement("div",{style:{width:"100%",display:"inline-flex"}},m.createElement(f.Form.Item,{label:C({id:"advance.components.AnalysisHistory.TemplateDrawer.ExecutionMethod",dm:"执行方式"}),name:"applyWay",initialValue:"autoSteps",style:{width:"calc(100% - 83px)"},className:"gi-history-drawer-select gi-history-drawer-select-apply"},m.createElement(f.Select,{style:{width:"100%"},onChange:e=>{x("finish"===b),c((t=>{t.applyWay=e}))},options:[{value:"autoSteps",label:C({id:"advance.components.AnalysisHistory.TemplateDrawer.AutomaticStepByStepExecution",dm:"自动分步执行"})},{value:"controlledSteps",label:C({id:"advance.components.AnalysisHistory.TemplateDrawer.ManualStepByStepExecution",dm:"手动分步执行"})}]})),m.createElement(f.Tooltip,{title:C({id:"advance.components.AnalysisHistory.TemplateDrawer.DoNotConfigureUseDefault",dm:"可不配置,使用默认参数执行"}),placement:"bottomLeft",open:l.applyBtnTooltipVisible},m.createElement("div",{style:{width:"83px"}},w)))),m.createElement("div",{className:"gi-history-drawer-graph-wrapper"},m.createElement(Ln,{urlMap:r,style:{width:"50%"},graphData:null==n?void 0:n.find((e=>e.id===l.activeTemplateId)),isConfigure:!0,runningId:y,errorInfos:v,successIds:_,configuring:g,setConfiguring:e=>c((t=>{t.configuring=e}))}),m.createElement(On,{configuring:l.configuring,updateConfigure:(e,t)=>o(l.activeTemplateId,e,t)})))};var kn=u(9909);const Dn={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm193.5 301.7l-210.6 292a31.8 31.8 0 01-51.7 0L318.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8 157.2-218c6-8.3 15.6-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.5 12.7z"}}]},name:"check-circle",theme:"filled"};var Pn=function(e,t){return m.createElement(ke.Z,(0,Ne.Z)((0,Ne.Z)({},e),{},{ref:t,icon:Dn}))};Pn.displayName="CheckCircleFilled";const Mn=m.forwardRef(Pn),Fn=e=>{const[t]=f.Form.useForm(),{configuring:n,graphData:r,updateParameterize:i,updateQueryParameterize:o,updateDescription:a}=e,{content:s,params:l,parameterized:c}=n||{},[u,h]=Le({selectingField:void 0,operatingQueryField:void 0,operatingQueryValue:void 0,brushing:!1}),{selectingField:p,operatingQueryField:d,operatingQueryValue:y,brushing:v}=u;(0,m.useEffect)((()=>(window.addEventListener("mouseup",b),window.addEventListener("mousedown",_),()=>{window.removeEventListener("mouseup",b),window.removeEventListener("mousedown",_)})),[]),(0,m.useEffect)((()=>{n&&t.setFieldValue("description",n.description)}),[null==n?void 0:n.id]);const _=e=>{const{className:t}=e.target||{};"string"==typeof t&&t.includes("gi-history-modal-configure-value")||(h((e=>{e.brushing=!1})),"string"==typeof t&&t.includes("gi-history-modal-configure-panel")&&h((e=>{e.operatingQueryValue=void 0,e.selectingField=void 0})))},b=()=>{p&&!1!==v&&(f.message.info(C({id:"advance.components.AnalysisHistory.ParamterizePanel.WhenSwipingTheSelectedText",dm:"刷选文本时,请在参数值文字范围内抬起鼠标以完成参数化"})),h((e=>{e.brushing=!1})))},E=e=>{var t,n;if(!p||!1===v)return;const r=Number(e.target.getAttribute("data-start"))||0,i=v;if(i!==r)return void f.message.error(C({id:"advance.components.AnalysisHistory.ParamterizePanel.BoxSelectionDoNotSpan",dm:"框选请勿跨越已参数化的内容"}));const o=null===(t=window.getSelection())||void 0===t?void 0:t.getRangeAt(0);if(!o)return;const{startContainer:a,startOffset:s,endOffset:l}=o,c=l-s;if(c<=0)return;const u=null===(n=a.nodeValue)||void 0===n?void 0:n.substring(s,c);u&&h((e=>{e.operatingQueryValue={start:s+i,end:l+i,content:u}}))},T=(e,t,r)=>{if(n)if(r){if(!y)return;h((t=>{t.operatingQueryField=e}))}else i(n.id,e,t)},x=()=>{y&&n&&p&&t.validateFields().then((e=>{var r,i,a;const{parameterName:s,parameterDesc:l}=e;if(/^[a-zA-Z][a-zA-Z0-9]*$/.test(s)){if("string"!=typeof p){const[e,...t]=p,a=t.join(",");if(null===(i=null===(r=c[e])||void 0===r?void 0:r[a])||void 0===i?void 0:i.find((e=>e.parameterName===s)))return void f.message.error(C({id:"advance.components.AnalysisHistory.ParamterizePanel.NamingFailedDuplicateParameterNaming",dm:"命名失败,在一个参数中,不可使用重复的参数命名"}));o(n.id,p,y,s,l)}else{if(null===(a=c[p])||void 0===a?void 0:a.find((e=>e.parameterName===s)))return void f.message.error(C({id:"advance.components.AnalysisHistory.ParamterizePanel.NamingFailedDuplicateParameterNaming",dm:"命名失败,在一个参数中,不可使用重复的参数命名"}));o(n.id,[p],y,s,l)}h((e=>{e.operatingQueryField=void 0,e.operatingQueryValue=void 0})),t.setFieldValue("parameterName",void 0),t.setFieldValue("parameterDesc",void 0)}else f.message.error(C({id:"advance.components.AnalysisHistory.ParamterizePanel.FailedToNameTheVariable",dm:"命名失败,变量名必须以字母开头,且不包含特殊字符"}))}))};return n?g().createElement("div",{className:"gi-history-modal-configure-panel"},g().createElement("h4",null,n.label),g().createElement(f.Divider,{type:"horizontal",style:{margin:"12px 0"}}),(()=>{const{statement:e,timestamp:t}=s,n=new Date(t);return g().createElement("div",{style:{margin:"8px 0"}},g().createElement("span",{className:"gi-analysis-history-statement"},e),g().createElement("div",{className:"gi-analysis-history-time",style:{fontSize:"10px"}},n.toLocaleDateString()," ",n.toLocaleTimeString()))})(),g().createElement(f.Form,{form:t},C({id:"advance.components.AnalysisHistory.ParamterizePanel.Description",dm:"描述:"}),g().createElement(f.Form.Item,{name:"description"},g().createElement(f.Input,{size:"small",placeholder:C({id:"advance.components.AnalysisHistory.ParamterizePanel.AuxiliaryDescriptionOfTheHistory",dm:"该条历史记录的辅助描述"}),onBlur:e=>{n&&a(n.id,e.target.value)},defaultValue:n.description})),Object.keys(l).map((e=>{const r="object"==typeof l[e],i="query"===s.type&&"value"===e||r;let o="";r?o=C({id:"advance.components.AnalysisHistory.ParamterizePanel.ClickTheValueInThe",dm:"点选对象中的值,进行参数化"}):i&&(o=C({id:"advance.components.AnalysisHistory.ParamterizePanel.SelectSomeTextToParameterize",dm:"刷选部分文字进行参数化"}));const a=!i&&(null==c?void 0:c[e]);return g().createElement("div",{style:{marginTop:"12px"}},g().createElement("div",{className:"gi-history-modal-configure-field"},g().createElement("span",{className:"gi-history-modal-configure-parameterize-fieldname"},e,":"),g().createElement(f.Popover,{content:g().createElement("div",null,g().createElement(f.Form.Item,{name:"parameterName",label:C({id:"advance.components.AnalysisHistory.ParamterizePanel.NameEnglish",dm:"名称(英文)"}),style:{width:"100%"},rules:[{required:!0,message:C({id:"advance.components.AnalysisHistory.ParamterizePanel.NameTheParameter",dm:"请为参数命名"})}]},g().createElement(f.Input,{className:"gi-history-modal-parametername-input",placeholder:C({id:"advance.components.AnalysisHistory.ParamterizePanel.EnterAName",dm:"输入名称"}),size:"small"})),g().createElement(f.Form.Item,{name:"parameterDesc",label:C({id:"advance.components.AnalysisHistory.ParamterizePanel.Description.1",dm:"描述"}),style:{width:"100%"}},g().createElement(f.Input,{className:"gi-history-modal-parametername-input",placeholder:C({id:"advance.components.AnalysisHistory.ParamterizePanel.AuxiliaryDescriptionOfThisParameter",dm:"该参数的辅助描述"}),size:"small"})),g().createElement("div",{style:{width:"100%",textAlign:"right"}},g().createElement(f.Button,{type:"text",size:"small",onClick:()=>{h((e=>{e.operatingQueryField=void 0})),t.resetFields()}},C({id:"advance.components.AnalysisHistory.ParamterizePanel.Cancel",dm:"取消"})),g().createElement(f.Button,{className:"gi-history-modal-parametername-confirm",style:{margin:"0px 4px"},type:"primary",size:"small",onClick:x},C({id:"advance.components.AnalysisHistory.ParamterizePanel.Ok",dm:"确定"})))),title:`为即将参数化的"${bn(null==y?void 0:y.content)}"命名`,trigger:"click",open:!!d,onOpenChange:e=>{e||h((e=>{e.operatingQueryField=void 0}))}},g().createElement(f.Button,{className:"gi-history-modal-configure-parameterize-btn",type:"link",disabled:!!i&&!u.operatingQueryValue,onClick:()=>T(e,!a,i),size:"small"},C(a?{id:"advance.components.AnalysisHistory.ParamterizePanel.Cancel",dm:"取消"}:{id:"advance.components.AnalysisHistory.ParamterizePanel.Parameterized",dm:"参数化"})))),g().createElement(f.Tooltip,{title:o,placement:"leftTop"},_n(n,e,{className:"gi-history-modal-configure-value",onMouseDown:t=>((e,t,n)=>{t&&h((t=>{t.operatingQueryValue=void 0,t.selectingField=e,t.brushing=Number(n.target.getAttribute("data-start"))||0}))})(e,i,t),onMouseUp:E,onSelect:t=>((e,t)=>{const{name:n,namespace:r,type:i,value:o}=t;h((t=>{t.selectingField=[e,...r,n],t.operatingQueryValue={content:o}})),T(n,!0,!0)})(e,t),color:a?"var(--text-color-secondary)":"unset"})))})))):g().createElement("div",{className:"gi-history-modal-configure-panel"},(null==r?void 0:r.nodes.length)>2?C({id:"advance.components.AnalysisHistory.ParamterizePanel.ClickANodeToConfigure",dm:"请点击一个节点进行参数配置"}):C({id:"advance.components.AnalysisHistory.ParamterizePanel.ClickHistoryFromTheLeft",dm:"请先从左侧时间轴中点选历史记录加入模版图"}))},Hn=e=>{const[t]=f.Form.useForm(),{history:n}=(0,p.useContext)(),{open:r,urlMap:i,handleSave:o,handleClose:a}=e,[s,l]=Le({checkedRecordIds:[],configuring:void 0,graphData:{nodes:[],edges:[],id:"",name:""},timelineTooltipVisible:!1,savePopoverOpen:!1}),{checkedRecordIds:c=[],configuring:u,graphData:h,timelineTooltipVisible:d,savePopoverOpen:g}=s;m.useEffect((()=>{r?setTimeout((()=>{y(!0),setTimeout((()=>{y(!1)}),5e3)}),500):y(!1)}),[r]),m.useEffect((()=>{const e=[],t=[Object.assign({id:"start",label:C({id:"advance.components.AnalysisHistory.TemplateModal.Start",dm:"开始"})},En),Object.assign({id:"end",label:C({id:"advance.components.AnalysisHistory.TemplateModal.End",dm:"结束"})},En)];if(!(null==n?void 0:n.length)||!(null==c?void 0:c.length))return void l((e=>{e.configuring=void 0,e.graphData={id:(0,kn.createUuid)(),name:(0,kn.createUuid)(),nodes:t,edges:[{id:"start-end",source:"start",target:"end",style:{lineDash:[4,4]}}]}}));let r="start";n.forEach((n=>{const{id:o,success:a}=n;c.includes(o)&&a&&(e.push({id:`${r}-${o}`,source:r,target:o}),r=o,t.splice(t.length-2,0,((e,t)=>{const{id:n,type:r,subType:i,statement:o,timestamp:a,componentId:s,params:l}=e;return{id:n,type:"gi-history-rect",label:`${mn[r]}(${i})`,color:fn[r],componentId:s,style:{fill:fn[r],stroke:fn[r],lineWidth:0,radius:6,cursor:"pointer"},content:{type:r,subType:i,statement:o,timestamp:a,img:t[n]},params:l,parameterized:{},configured:{}}})(n,i)))})),e.push({id:`edge-${Math.random()}`,source:r,target:"end"}),l((n=>{n.configuring=void 0,n.graphData={id:(0,kn.createUuid)(),name:(0,kn.createUuid)(),nodes:t,edges:e}}))}),[n,c]);const y=e=>{l((t=>{t.timelineTooltipVisible=e}))},v=e=>{l((t=>{const n=[...c];if(n.includes(e)){const r=n.indexOf(e);n.splice(r,1),t.checkedRecordIds=n}else t.checkedRecordIds=n.concat(e)}))},_=e=>{l((t=>{t.savePopoverOpen=e}))},b=()=>{y(!1),a()},E=(null==h?void 0:h.nodes.length)<3?m.createElement(f.Tooltip,{title:C({id:"advance.components.AnalysisHistory.TemplateModal.ThereIsNoContentTo",dm:"暂无可保存内容,请先将历史记录加入模版图"})},m.createElement(f.Button,{type:"primary",disabled:!0},C({id:"advance.components.AnalysisHistory.TemplateModal.Save",dm:"保存"}))):m.createElement(f.Popover,{content:m.createElement(f.Form,{form:t},m.createElement(f.Form.Item,{label:C({id:"advance.components.AnalysisHistory.TemplateModal.Name",dm:"名称"}),name:"templateName",rules:[{required:!0,message:C({id:"advance.components.AnalysisHistory.TemplateModal.NameTheTemplate",dm:"请为模版命名"})}]},m.createElement(f.Input,{placeholder:C({id:"advance.components.AnalysisHistory.TemplateModal.EnterATemplateName",dm:"输入模版名"})})),m.createElement(f.Form.Item,{label:C({id:"advance.components.AnalysisHistory.TemplateModal.Description",dm:"描述"}),name:"templateDesc"},m.createElement(f.Input,{placeholder:C({id:"advance.components.AnalysisHistory.TemplateModal.AuxiliaryDescription",dm:"辅助描述"})})),m.createElement(f.Button,{type:"primary",disabled:(null==h?void 0:h.nodes.length)<3,onClick:()=>{t.validateFields().then((e=>{const{templateName:t,templateDesc:n}=e;_(!1),b(),o(h,t,n)}))}},C({id:"advance.components.AnalysisHistory.TemplateModal.Ok",dm:"确定"}))),title:C({id:"advance.components.AnalysisHistory.TemplateModal.NameTheTemplate",dm:"请为模版命名"}),trigger:"click",open:g,onOpenChange:_},m.createElement(f.Tooltip,{title:C({id:"advance.components.AnalysisHistory.TemplateModal.AnalysisTemplatesStoredAsWorkbook",dm:"存储为工作簿的分析模版"})},m.createElement(f.Button,{type:"primary"},C({id:"advance.components.AnalysisHistory.TemplateModal.Save",dm:"保存"}))));return m.createElement(f.Modal,{title:C({id:"advance.components.AnalysisHistory.TemplateModal.PrecipitationAnalysisHistory",dm:"沉淀分析历史"}),width:"80%",open:r,maskClosable:!1,onCancel:b,footer:[m.createElement(f.Tooltip,{title:C({id:"advance.components.AnalysisHistory.TemplateModal.SaveAndCloseTheDialog",dm:"暂存并关闭对话框"})},m.createElement(f.Button,{style:{margin:"0 8px"},onClick:b},C({id:"advance.components.AnalysisHistory.TemplateModal.Close",dm:"关闭"}))),E]},(null==n?void 0:n.length)?m.createElement("div",{className:"gi-history-modal-wrapper"},m.createElement("div",{className:"gi-history-modal-timeline-wrapper"},m.createElement("h3",{className:"gi-history-modal-title"},C({id:"advance.components.AnalysisHistory.TemplateModal.OperationHistory",dm:"操作历史"})),m.createElement(f.Timeline,null,null==n?void 0:n.map(((e,t)=>{const{id:n,type:r,subType:o,statement:a,timestamp:s}=e,l=new Date(s),u=c.includes(n)?m.createElement(Mn,{style:{fontSize:"16px"},onClick:()=>v(n)}):m.createElement("a",{className:"gi-history-modal-timeline-dot-uncheck",style:{border:`2px solid ${fn[r]}`},onClick:()=>v(n),onMouseLeave:()=>y(!1)});return m.createElement(f.Timeline.Item,{color:fn[r],dot:0===t?m.createElement(f.Tooltip,{title:C({id:"advance.components.AnalysisHistory.TemplateModal.SelectRecordsOnTheTimeline",dm:"在时间轴上勾选记录,可加入分析链路模版中"}),placement:"topLeft",open:d},u):u},m.createElement("span",{className:"gi-analysis-history-statement"},mn[r]," (",o,"): ",a),m.createElement("span",{className:"gi-analysis-history-time"},l.toLocaleDateString()," ",l.toLocaleTimeString()),i[n]?m.createElement(f.Popover,{placement:"right",style:{width:"fit-content",height:"fit-content"},content:m.createElement("img",{src:i[n],style:{width:"300px"}})},m.createElement(un,{className:"gi-analysis-history-screenshot-icon",style:{marginTop:0}})):"")})))),m.createElement("div",{className:"gi-history-modal-graph-wrapper"},m.createElement("h3",{className:"gi-history-modal-title"},C({id:"advance.components.AnalysisHistory.TemplateModal.AnalysisLinkTemplate",dm:"分析链路模版"})),m.createElement("div",{className:"gi-history-modal-graph-area"},m.createElement(Ln,{graphData:h,urlMap:i,configuring:u,setConfiguring:e=>l((t=>{t.configuring=e}))}),m.createElement(Fn,{graphData:h,configuring:u,updateParameterize:(e,t,n)=>{l((r=>{var i;let o;null===(i=r.graphData.nodes)||void 0===i||i.forEach((r=>{r.id===e&&(o=JSON.parse(JSON.stringify(P(r))),n?o.parameterized[t]=`\${${t}}`:delete o.parameterized[t],r.parameterized=o.parameterized)})),o&&(r.configuring=o)}))},updateQueryParameterize:(e,t,n,r,i)=>{l((o=>{var a;let s;null===(a=o.graphData.nodes)||void 0===a||a.forEach((o=>{o.id===e&&(s=JSON.parse(JSON.stringify(P(o))),s.parameterized[t[0]]=s.parameterized[t[0]]||[],s.parameterized[t[0]].push({position:Object.assign(Object.assign({},n),{paths:[...t].splice(1)}),parameterName:r,parameterDescription:i,fieldName:t[0]}),o.parameterized=s.parameterized)})),s&&(o.configuring=s)}))},updateDescription:(e,t)=>{l((n=>{var r;null===(r=n.graphData.nodes)||void 0===r||r.forEach((n=>{n.id===e&&(n.description=t)}))}))}})))):m.createElement(f.Empty,{description:C({id:"advance.components.AnalysisHistory.TemplateModal.NoHistoryIsAvailablePlease",dm:"暂无历史记录,请先对图进行操作"})}))};var Bn=function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){e.done?i(e.value):function(e){return e instanceof n?e:new n((function(t){t(e)}))}(e.value).then(a,s)}l((r=r.apply(e,t||[])).next())}))};const Un=(0,m.memo)((e=>{const{GISDK_ID:t,history:n,graph:r,services:i}=(0,p.useContext)(),{height:o,placement:a,saveTemplateServiceId:s="GI/SaveHistoryTemplateService",listTemplateServiceId:l="GI/ListHistoryTemplateService",removeTemplateServiceId:c="GI/RemoveHistoryTemplateService"}=e,[u,h]=Le({collapsed:!0,urlMap:{},modalOpened:!1,templates:[],templateDrawerVisible:!1,templateApplyTooltipVisible:!1}),d=p.utils.getService(i,l),m=p.utils.getService(i,s),y=p.utils.getService(i,c),{collapsed:v,urlMap:_,modalOpened:b,templates:E,templateDrawerVisible:T,templateApplyTooltipVisible:x}=u,S=document.getElementById(`${t}-container`);g().useEffect((()=>{A((e=>{e.length&&setTimeout((()=>{R(!0),setTimeout((()=>{R(!1)}),5e3)}),500)}))}),[]),g().useEffect((()=>{const e=null==n?void 0:n[n.length-1],t=r.toDataURL("image/jpeg","#fff");if(e){const{id:n,success:r}=e;if(!r)return;h((e=>{e.urlMap[n]=t}))}}),[n]);const A=e=>{d?Bn(void 0,void 0,void 0,(function*(){const t=yield d(),{success:n,data:r}=t;n?(h((e=>{e.templates=r})),null==e||e(r)):(h((e=>{e.templates=[]})),f.message.error(C({id:"advance.components.AnalysisHistory.Component.FailedToObtainTheAnalysis",dm:"分析历史模版列表获取失败"})))})):f.message.error(C({id:"advance.components.AnalysisHistory.Component.FailedToObtainTheTemplate",dm:"获取模版列表失败,无获取模版的服务"}))},R=e=>{h((t=>{t.templateApplyTooltipVisible=e}))},w=g().createElement(f.Popover,{title:C({id:"advance.components.AnalysisHistory.Component.ManageExistingTemplates",dm:"管理已有模版"}),trigger:"click",placement:"topRight",content:g().createElement("div",{style:{width:"200px"}},null==E?void 0:E.map((e=>{const{id:t,name:n,description:r}=e;return g().createElement(f.Row,{justify:"space-between"},g().createElement(f.Col,null,bn(r?`${n}(${r})`:n,30)),g().createElement(f.Col,null,g().createElement(f.Tooltip,{title:C({id:"advance.components.AnalysisHistory.Component.Delete",dm:"删除"}),placement:"right"},g().createElement(Oe.Z,{onClick:()=>((e,t,n)=>Bn(void 0,void 0,void 0,(function*(){if(!y)return void f.message.error(C({id:"advance.components.AnalysisHistory.Component.FailedToRemoveNoService",dm:"移除失败,无移除模版的服务"}));const r=yield y({ids:[e]});if(null==r?void 0:r.success){const e=n?`${t}(${n})`:t;f.message.success(C({id:"advance.components.AnalysisHistory.Component.HistoricalAnalysisLinkTemplateTitle",dm:"历史分析链路模版 {title} 删除成功"},{title:e})),A()}else f.message.error(C({id:"advance.components.AnalysisHistory.Component.FailedToDelete",dm:"删除失败"}))})))(t,n,r)}))))})))},g().createElement(Xt,{style:{color:"var(--text-color)"}})),L=$t(o,a,[0,0]),O=v?L.sheetbar:Object.assign(Object.assign({},L.sheetbar),{height:"300px"}),N=null==n?void 0:n[n.length-1],I=g().createElement("div",{style:Object.assign(Object.assign({},O),{display:"unset"}),className:"gi-history-footer"},g().createElement(f.Row,{justify:"space-between",style:{width:"100%"}},g().createElement(f.Col,{style:{display:"inline-flex"},span:16},v?g().createElement(g().Fragment,null,g().createElement(Zt.Z,{onClick:()=>{h((e=>{e.collapsed=!1}))},style:{marginRight:"8px",marginTop:"12px"}}),N?gn(N,_[N.id]):g().createElement("span",null,C({id:"advance.components.AnalysisHistory.Component.NoRecord",dm:"暂无记录"}))):g().createElement(g().Fragment,null,g().createElement(Qt.Z,{style:{marginTop:"14px"},onClick:()=>{h((e=>{e.collapsed=!0}))}}),g().createElement("span",{style:{marginLeft:"4px"}},C({id:"advance.components.AnalysisHistory.Component.HistoryList",dm:"历史记录列表"})))),g().createElement(f.Col,{span:7,offset:1,style:{textAlign:"right"}},g().createElement(f.Tooltip,{title:C({id:"advance.components.AnalysisHistory.Component.TheAnalysisTemplateIsDetected",dm:"⭐️检测到该项目存在分析模版,点击此处使用"}),open:v&&x},g().createElement("a",{onClick:()=>{R(!1),h((e=>{e.templateDrawerVisible=!0}))},onMouseLeave:()=>R(!1),style:{display:(null==E?void 0:E.length)?"inline-flex":"none"}},C({id:"advance.components.AnalysisHistory.Component.UseAnalysisTemplates",dm:"使用分析模版"}))),g().createElement(f.Tooltip,{title:(null==n?void 0:n.length)?"":C({id:"advance.components.AnalysisHistory.Component.NoHistoryPleaseAnalyzeThe",dm:"暂无历史,请先分析数据"})},g().createElement(f.Button,{type:"text",onClick:()=>{h((e=>{e.modalOpened=!0}))},disabled:!(null==n?void 0:n.length),style:{marginRight:"0 6px",color:(null==n?void 0:n.length)?"var(--primary-color)":"var(--text-color-secondary)"}},C({id:"advance.components.AnalysisHistory.Component.PrecipitationAnalysisHistory",dm:"沉淀分析历史"}))),w)),v?"":g().createElement("div",{className:"gi-history-footer-item-container"},((e,t={},n={})=>{if(!e)return[];const r=[];for(let i=e.length-1;i>=0;i--){const{id:o}=e[i];r.push(gn(e[i],t[o],n))}return r})(n,_)),g().createElement(Hn,{templates:E,open:b,urlMap:_,handleSave:(e,t,n)=>Bn(void 0,void 0,void 0,(function*(){m?(yield m(Object.assign(Object.assign({},e),{name:t,description:n}))).success?(f.message.success(C({id:"advance.components.AnalysisHistory.Component.TheHistoricalAnalysisLinkTemplate",dm:"历史分析链路模版 {name}({description}) 保存成功,您将可以右下方「使用分析模版」中使用"},{name:t,description:n})),A()):f.message.error(C({id:"advance.components.AnalysisHistory.Component.SaveFailed",dm:"保存失败"})):f.message.error(C({id:"advance.components.AnalysisHistory.Component.SaveFailedThereIsNo",dm:"保存失败,无保存模版的服务"}))})),handleClose:()=>{h((e=>{e.modalOpened=!1}))}}),g().createElement(In,{open:T,templates:E,urlMap:_,handleClose:()=>h((e=>{e.templateDrawerVisible=!1})),handleUpdateConfigure:(e,t,n)=>{e&&t&&h((r=>{r.templates.forEach((r=>{r.id===e&&r.nodes.forEach((e=>{e.id===t&&(e.configured=n)}))}))}))}}));return Rt().createPortal(I,S)})),jn={id:"AnalysisHistory",name:C({id:"advance.components.AnalysisHistory.info.AnalyzeHistoricalPrecipitation",dm:"分析历史沉淀"}),desc:C({id:"advance.components.AnalysisHistory.info.RecordsTheAnalysisHistoryAnd",dm:"记录分析历史,并可沉淀为模版"}),cover:"http://xxxx.jpg",category:"canvas-interaction",type:"AUTO",icon:"icon-time-circle",docs:"https://yuque.antfin.com/graphinsight/az1phr/gw5nwttkqc4h3ayg",services:["SaveHistoryTemplateService","ListHistoryTemplateService","RemoveHistoryTemplateService"]},Gn={info:jn,component:Un,registerMeta:e=>{const{services:t,engineId:n}=e,{options:r,defaultValue:i}=p.utils.getServiceOptionsByEngineId(t,jn.services[0],n),{options:o,defaultValue:a}=p.utils.getServiceOptionsByEngineId(t,jn.services[1],n),{options:s,defaultValue:l}=p.utils.getServiceOptionsByEngineId(t,jn.services[2],n);return{saveTemplateServiceId:{title:C({id:"advance.components.AnalysisHistory.registerMeta.SaveAnalysisHistoryTemplateService",dm:"保存分析历史模版服务"}),type:"string","x-decorator":"FormItem","x-component":"Select","x-component-props":{options:r},default:i},listTemplateServiceId:{title:C({id:"advance.components.AnalysisHistory.registerMeta.ReadAnalysisHistoryTemplateList",dm:"读取分析历史模版列表服务"}),type:"string","x-decorator":"FormItem","x-component":"Select","x-component-props":{options:o},default:a},removeTemplateServiceId:{title:C({id:"advance.components.AnalysisHistory.registerMeta.DeleteAnalysisHistoryTemplateService",dm:"删除分析历史模版服务"}),type:"string","x-decorator":"FormItem","x-component":"Select","x-component-props":{options:s},default:l},placement:{title:C({id:"advance.components.AnalysisHistory.registerMeta.PlacementOrientation",dm:"放置方位"}),type:"string","x-decorator":"FormItem","x-component":"Select","x-component-props":{options:[{value:"top",label:C({id:"advance.components.AnalysisHistory.registerMeta.Top",dm:"顶部"})},{value:"bottom",label:C({id:"advance.components.AnalysisHistory.registerMeta.Bottom",dm:"底部"})}]},default:"bottom"},height:{title:C({id:"advance.components.AnalysisHistory.registerMeta.HistoryBarHeight",dm:"历史栏高度"}),type:"number","x-decorator":"FormItem","x-component":"NumberPicker",default:40}}}};var Yn=u(8078),zn=u.n(Yn),$n=u(3050),Wn=u(3146),Vn=u(8535);function Kn(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,(0,Vn.Z)(e,t)}function qn(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}const Xn=g().createContext(null);var Zn=function(e){return e.scrollTop},Qn="unmounted",Jn="exited",er="entering",tr="entered",nr="exiting",rr=function(e){function t(t,n){var r;r=e.call(this,t,n)||this;var i,o=n&&!n.isMounting?t.enter:t.appear;return r.appearStatus=null,t.in?o?(i=Jn,r.appearStatus=er):i=tr:i=t.unmountOnExit||t.mountOnEnter?Qn:Jn,r.state={status:i},r.nextCallback=null,r}Kn(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===Qn?{status:Jn}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==er&&n!==tr&&(t=er):n!==er&&n!==tr||(t=nr)}this.updateStatus(!1,t)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var e,t,n,r=this.props.timeout;return e=t=n=r,null!=r&&"number"!=typeof r&&(e=r.exit,t=r.enter,n=void 0!==r.appear?r.appear:t),{exit:e,enter:t,appear:n}},n.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t)if(this.cancelNextCallback(),t===er){if(this.props.unmountOnExit||this.props.mountOnEnter){var n=this.props.nodeRef?this.props.nodeRef.current:Rt().findDOMNode(this);n&&Zn(n)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Jn&&this.setState({status:Qn})},n.performEnter=function(e){var t=this,n=this.props.enter,r=this.context?this.context.isMounting:e,i=this.props.nodeRef?[r]:[Rt().findDOMNode(this),r],o=i[0],a=i[1],s=this.getTimeouts(),l=r?s.appear:s.enter;e||n?(this.props.onEnter(o,a),this.safeSetState({status:er},(function(){t.props.onEntering(o,a),t.onTransitionEnd(l,(function(){t.safeSetState({status:tr},(function(){t.props.onEntered(o,a)}))}))}))):this.safeSetState({status:tr},(function(){t.props.onEntered(o)}))},n.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),r=this.props.nodeRef?void 0:Rt().findDOMNode(this);t?(this.props.onExit(r),this.safeSetState({status:nr},(function(){e.props.onExiting(r),e.onTransitionEnd(n.exit,(function(){e.safeSetState({status:Jn},(function(){e.props.onExited(r)}))}))}))):this.safeSetState({status:Jn},(function(){e.props.onExited(r)}))},n.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},n.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},n.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:Rt().findDOMNode(this),r=null==e&&!this.props.addEndListener;if(n&&!r){if(this.props.addEndListener){var i=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],o=i[0],a=i[1];this.props.addEndListener(o,a)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},n.render=function(){var e=this.state.status;if(e===Qn)return null;var t=this.props,n=t.children,r=(t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef,(0,Wn.Z)(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return g().createElement(Xn.Provider,{value:null},"function"==typeof n?n(e,r):g().cloneElement(g().Children.only(n),r))},t}(g().Component);function ir(){}rr.contextType=Xn,rr.propTypes={},rr.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:ir,onEntering:ir,onEntered:ir,onExit:ir,onExiting:ir,onExited:ir},rr.UNMOUNTED=Qn,rr.EXITED=Jn,rr.ENTERING=er,rr.ENTERED=tr,rr.EXITING=nr;const or=rr;var ar=function(e,t){return e&&t&&t.split(" ").forEach((function(t){return r=t,void((n=e).classList?n.classList.remove(r):"string"==typeof n.className?n.className=qn(n.className,r):n.setAttribute("class",qn(n.className&&n.className.baseVal||"",r)));var n,r}))},sr=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=e.call.apply(e,[this].concat(r))||this).appliedClasses={appear:{},enter:{},exit:{}},t.onEnter=function(e,n){var r=t.resolveArguments(e,n),i=r[0],o=r[1];t.removeClasses(i,"exit"),t.addClass(i,o?"appear":"enter","base"),t.props.onEnter&&t.props.onEnter(e,n)},t.onEntering=function(e,n){var r=t.resolveArguments(e,n),i=r[0],o=r[1]?"appear":"enter";t.addClass(i,o,"active"),t.props.onEntering&&t.props.onEntering(e,n)},t.onEntered=function(e,n){var r=t.resolveArguments(e,n),i=r[0],o=r[1]?"appear":"enter";t.removeClasses(i,o),t.addClass(i,o,"done"),t.props.onEntered&&t.props.onEntered(e,n)},t.onExit=function(e){var n=t.resolveArguments(e)[0];t.removeClasses(n,"appear"),t.removeClasses(n,"enter"),t.addClass(n,"exit","base"),t.props.onExit&&t.props.onExit(e)},t.onExiting=function(e){var n=t.resolveArguments(e)[0];t.addClass(n,"exit","active"),t.props.onExiting&&t.props.onExiting(e)},t.onExited=function(e){var n=t.resolveArguments(e)[0];t.removeClasses(n,"exit"),t.addClass(n,"exit","done"),t.props.onExited&&t.props.onExited(e)},t.resolveArguments=function(e,n){return t.props.nodeRef?[t.props.nodeRef.current,e]:[e,n]},t.getClassNames=function(e){var n=t.props.classNames,r="string"==typeof n,i=r?(r&&n?n+"-":"")+e:n[e];return{baseClassName:i,activeClassName:r?i+"-active":n[e+"Active"],doneClassName:r?i+"-done":n[e+"Done"]}},t}Kn(t,e);var n=t.prototype;return n.addClass=function(e,t,n){var r=this.getClassNames(t)[n+"ClassName"],i=this.getClassNames("enter").doneClassName;"appear"===t&&"done"===n&&i&&(r+=" "+i),"active"===n&&e&&Zn(e),r&&(this.appliedClasses[t][n]=r,function(e,t){e&&t&&t.split(" ").forEach((function(t){return function(e,t){e.classList?e.classList.add(t):function(e,t){return e.classList?!!t&&e.classList.contains(t):-1!==(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")}(e,t)||("string"==typeof e.className?e.className=e.className+" "+t:e.setAttribute("class",(e.className&&e.className.baseVal||"")+" "+t))}(e,t)}))}(e,r))},n.removeClasses=function(e,t){var n=this.appliedClasses[t],r=n.base,i=n.active,o=n.done;this.appliedClasses[t]={},r&&ar(e,r),i&&ar(e,i),o&&ar(e,o)},n.render=function(){var e=this.props,t=(e.classNames,(0,Wn.Z)(e,["classNames"]));return g().createElement(or,(0,$n.Z)({},t,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},t}(g().Component);sr.defaultProps={classNames:""},sr.propTypes={};const lr=sr;var cr=u(2720);const ur={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M168 504.2c1-43.7 10-86.1 26.9-126 17.3-41 42.1-77.7 73.7-109.4S337 212.3 378 195c42.4-17.9 87.4-27 133.9-27s91.5 9.1 133.8 27A341.5 341.5 0 01755 268.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 003 14.1l175.7 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c0-6.7-7.7-10.5-12.9-6.3l-56.4 44.1C765.8 155.1 646.2 92 511.8 92 282.7 92 96.3 275.6 92 503.8a8 8 0 008 8.2h60c4.4 0 7.9-3.5 8-7.8zm756 7.8h-60c-4.4 0-7.9 3.5-8 7.8-1 43.7-10 86.1-26.9 126-17.3 41-42.1 77.8-73.7 109.4A342.45 342.45 0 01512.1 856a342.24 342.24 0 01-243.2-100.8c-9.9-9.9-19.2-20.4-27.8-31.4l60.2-47a8 8 0 00-3-14.1l-175.7-43c-5-1.2-9.9 2.6-9.9 7.7l-.7 181c0 6.7 7.7 10.5 12.9 6.3l56.4-44.1C258.2 868.9 377.8 932 512.2 932c229.2 0 415.5-183.7 419.8-411.8a8 8 0 00-8-8.2z"}}]},name:"sync",theme:"outlined"};var hr=function(e,t){return m.createElement(ke.Z,(0,Ne.Z)((0,Ne.Z)({},e),{},{ref:t,icon:ur}))};hr.displayName="SyncOutlined";const pr=m.forwardRef(hr),dr=(0,m.createContext)({messages:[]}),fr=e=>{const{onInput:t,clearMessages:n}=(0,m.useContext)(dr),{loading:r,setLoading:i}=(0,m.useContext)(dr),{defaultValue:o=""}=e,[a,s]=(0,m.useState)(o),l=g().createElement(cr.Z,{style:{fontSize:24},spin:!0});return g().createElement("div",{className:"input-container"},g().createElement(f.Spin,{indicator:l,spinning:r},g().createElement(f.Input.TextArea,{autoSize:!0,placeholder:C({id:"advance.Assistant.Dialog.input.AiAssistantServesYou",dm:"AI 助理为您服务"}),value:a,onKeyDown:e=>{if("Enter"===e.key&&!e.shiftKey){const n=a.trim();if(e.preventDefault(),n){if(!t)return;null==i||i(!0),t(n).then((e=>{e&&s(""),null==i||i(!1)}))}}},style:{maxHeight:"60vh"},onChange:e=>s(e.target.value)})),g().createElement(f.Tooltip,{title:C({id:"advance.Assistant.Dialog.input.NewConversation",dm:"新对话"}),mouseEnterDelay:1},g().createElement(pr,{className:"new-dialog",onClick:n})))};var mr=u(4853);function gr(e){return e&&"object"==typeof e?"position"in e||"type"in e?vr(e.position):"start"in e||"end"in e?vr(e):"line"in e||"column"in e?yr(e):"":""}function yr(e){return _r(e&&e.line)+":"+_r(e&&e.column)}function vr(e){return yr(e&&e.start)+"-"+yr(e&&e.end)}function _r(e){return e&&"number"==typeof e?e:1}class br extends Error{constructor(e,t,n){const r=[null,null];let i={start:{line:null,column:null},end:{line:null,column:null}};if(super(),"string"==typeof t&&(n=t,t=void 0),"string"==typeof n){const e=n.indexOf(":");-1===e?r[1]=n:(r[0]=n.slice(0,e),r[1]=n.slice(e+1))}t&&("type"in t||"position"in t?t.position&&(i=t.position):"start"in t||"end"in t?i=t:("line"in t||"column"in t)&&(i.start=t)),this.name=gr(t)||"1:1",this.message="object"==typeof e?e.message:e,this.stack="","object"==typeof e&&e.stack&&(this.stack=e.stack),this.reason=this.message,this.fatal,this.line=i.start.line,this.column=i.start.column,this.position=i,this.source=r[0],this.ruleId=r[1],this.file,this.actual,this.expected,this.url,this.note}}br.prototype.file="",br.prototype.name="",br.prototype.reason="",br.prototype.message="",br.prototype.stack="",br.prototype.fatal=null,br.prototype.column=null,br.prototype.line=null,br.prototype.source=null,br.prototype.ruleId=null,br.prototype.position=null;const Er=function(e,t){if(void 0!==t&&"string"!=typeof t)throw new TypeError('"ext" argument must be a string');Ar(e);let n,r=0,i=-1,o=e.length;if(void 0===t||0===t.length||t.length>e.length){for(;o--;)if(47===e.charCodeAt(o)){if(n){r=o+1;break}}else i<0&&(n=!0,i=o+1);return i<0?"":e.slice(r,i)}if(t===e)return"";let a=-1,s=t.length-1;for(;o--;)if(47===e.charCodeAt(o)){if(n){r=o+1;break}}else a<0&&(n=!0,a=o+1),s>-1&&(e.charCodeAt(o)===t.charCodeAt(s--)?s<0&&(i=o):(s=-1,i=a));return r===i?i=a:i<0&&(i=e.length),e.slice(r,i)},Tr=function(e){if(Ar(e),0===e.length)return".";let t,n=-1,r=e.length;for(;--r;)if(47===e.charCodeAt(r)){if(t){n=r;break}}else t||(t=!0);return n<0?47===e.charCodeAt(0)?"/":".":1===n&&47===e.charCodeAt(0)?"//":e.slice(0,n)},xr=function(e){Ar(e);let t,n=e.length,r=-1,i=0,o=-1,a=0;for(;n--;){const s=e.charCodeAt(n);if(47!==s)r<0&&(t=!0,r=n+1),46===s?o<0?o=n:1!==a&&(a=1):o>-1&&(a=-1);else if(t){i=n+1;break}}return o<0||r<0||0===a||1===a&&o===r-1&&o===i+1?"":e.slice(o,r)},Sr=function(...e){let t,n=-1;for(;++n<e.length;)Ar(e[n]),e[n]&&(t=void 0===t?e[n]:t+"/"+e[n]);return void 0===t?".":function(e){Ar(e);const t=47===e.charCodeAt(0);let n=function(e,t){let n,r,i="",o=0,a=-1,s=0,l=-1;for(;++l<=e.length;){if(l<e.length)n=e.charCodeAt(l);else{if(47===n)break;n=47}if(47===n){if(a===l-1||1===s);else if(a!==l-1&&2===s){if(i.length<2||2!==o||46!==i.charCodeAt(i.length-1)||46!==i.charCodeAt(i.length-2))if(i.length>2){if(r=i.lastIndexOf("/"),r!==i.length-1){r<0?(i="",o=0):(i=i.slice(0,r),o=i.length-1-i.lastIndexOf("/")),a=l,s=0;continue}}else if(i.length>0){i="",o=0,a=l,s=0;continue}t&&(i=i.length>0?i+"/..":"..",o=2)}else i.length>0?i+="/"+e.slice(a+1,l):i=e.slice(a+1,l),o=l-a-1;a=l,s=0}else 46===n&&s>-1?s++:s=-1}return i}(e,!t);return 0!==n.length||t||(n="."),n.length>0&&47===e.charCodeAt(e.length-1)&&(n+="/"),t?"/"+n:n}(t)},Cr="/";function Ar(e){if("string"!=typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const Rr=function(){return"/"};function wr(e){return null!==e&&"object"==typeof e&&e.href&&e.origin}const Lr=["history","path","basename","stem","extname","dirname"];class Or{constructor(e){let t;t=e?"string"==typeof e||function(e){return mr(e)}(e)?{value:e}:wr(e)?{path:e}:e:{},this.data={},this.messages=[],this.history=[],this.cwd=Rr(),this.value,this.stored,this.result,this.map;let n,r=-1;for(;++r<Lr.length;){const e=Lr[r];e in t&&void 0!==t[e]&&null!==t[e]&&(this[e]="history"===e?[...t[e]]:t[e])}for(n in t)Lr.includes(n)||(this[n]=t[n])}get path(){return this.history[this.history.length-1]}set path(e){wr(e)&&(e=function(e){if("string"==typeof e)e=new URL(e);else if(!wr(e)){const t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if("file:"!==e.protocol){const e=new TypeError("The URL must be of scheme file");throw e.code="ERR_INVALID_URL_SCHEME",e}return function(e){if(""!==e.hostname){const e=new TypeError('File URL host must be "localhost" or empty on darwin');throw e.code="ERR_INVALID_FILE_URL_HOST",e}const t=e.pathname;let n=-1;for(;++n<t.length;)if(37===t.charCodeAt(n)&&50===t.charCodeAt(n+1)){const e=t.charCodeAt(n+2);if(70===e||102===e){const e=new TypeError("File URL path must not include encoded / characters");throw e.code="ERR_INVALID_FILE_URL_PATH",e}}return decodeURIComponent(t)}(e)}(e)),Ir(e,"path"),this.path!==e&&this.history.push(e)}get dirname(){return"string"==typeof this.path?Tr(this.path):void 0}set dirname(e){kr(this.basename,"dirname"),this.path=Sr(e||"",this.basename)}get basename(){return"string"==typeof this.path?Er(this.path):void 0}set basename(e){Ir(e,"basename"),Nr(e,"basename"),this.path=Sr(this.dirname||"",e)}get extname(){return"string"==typeof this.path?xr(this.path):void 0}set extname(e){if(Nr(e,"extname"),kr(this.dirname,"extname"),e){if(46!==e.charCodeAt(0))throw new Error("`extname` must start with `.`");if(e.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=Sr(this.dirname,this.stem+(e||""))}get stem(){return"string"==typeof this.path?Er(this.path,this.extname):void 0}set stem(e){Ir(e,"stem"),Nr(e,"stem"),this.path=Sr(this.dirname||"",e+(this.extname||""))}toString(e){return(this.value||"").toString(e||void 0)}message(e,t,n){const r=new br(e,t,n);return this.path&&(r.name=this.path+":"+r.name,r.file=this.path),r.fatal=!1,this.messages.push(r),r}info(e,t,n){const r=this.message(e,t,n);return r.fatal=null,r}fail(e,t,n){const r=this.message(e,t,n);throw r.fatal=!0,r}}function Nr(e,t){if(e&&e.includes(Cr))throw new Error("`"+t+"` cannot be a path: did not expect `"+Cr+"`")}function Ir(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function kr(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}function Dr(e){if(e)throw e}var Pr=u(3405);function Mr(e){if("object"!=typeof e||null===e)return!1;const t=Object.getPrototypeOf(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)}const Fr=function e(){const t=function(){const e=[],t={run:function(...t){let n=-1;const r=t.pop();if("function"!=typeof r)throw new TypeError("Expected function as last argument, not "+r);!function i(o,...a){const s=e[++n];let l=-1;if(o)r(o);else{for(;++l<t.length;)null!==a[l]&&void 0!==a[l]||(a[l]=t[l]);t=a,s?function(e,t){let n;return function(...t){const o=e.length>t.length;let a;o&&t.push(r);try{a=e.apply(this,t)}catch(e){if(o&&n)throw e;return r(e)}o||(a instanceof Promise?a.then(i,r):a instanceof Error?r(a):i(a))};function r(e,...r){n||(n=!0,t(e,...r))}function i(e){r(null,e)}}(s,i)(...a):r(null,...a)}}(null,...t)},use:function(n){if("function"!=typeof n)throw new TypeError("Expected `middelware` to be a function, not "+n);return e.push(n),t}};return t}(),n=[];let r,i={},o=-1;return a.data=function(e,t){return"string"==typeof e?2===arguments.length?(Gr("data",r),i[e]=t,a):Hr.call(i,e)&&i[e]||null:e?(Gr("data",r),i=e,a):i},a.Parser=void 0,a.Compiler=void 0,a.freeze=function(){if(r)return a;for(;++o<n.length;){const[e,...r]=n[o];if(!1===r[0])continue;!0===r[0]&&(r[0]=void 0);const i=e.call(a,...r);"function"==typeof i&&t.use(i)}return r=!0,o=Number.POSITIVE_INFINITY,a},a.attachers=n,a.use=function(e,...t){let o;if(Gr("use",r),null==e);else if("function"==typeof e)u(e,...t);else{if("object"!=typeof e)throw new TypeError("Expected usable value, not `"+e+"`");Array.isArray(e)?c(e):l(e)}return o&&(i.settings=Object.assign(i.settings||{},o)),a;function s(e){if("function"==typeof e)u(e);else{if("object"!=typeof e)throw new TypeError("Expected usable value, not `"+e+"`");if(Array.isArray(e)){const[t,...n]=e;u(t,...n)}else l(e)}}function l(e){c(e.plugins),e.settings&&(o=Object.assign(o||{},e.settings))}function c(e){let t=-1;if(null==e);else{if(!Array.isArray(e))throw new TypeError("Expected a list of plugins, not `"+e+"`");for(;++t<e.length;)s(e[t])}}function u(e,t){let r,i=-1;for(;++i<n.length;)if(n[i][0]===e){r=n[i];break}r?(Mr(r[1])&&Mr(t)&&(t=Pr(!0,r[1],t)),r[1]=t):n.push([...arguments])}},a.parse=function(e){a.freeze();const t=$r(e),n=a.Parser;return Ur("parse",n),Br(n,"parse")?new n(String(t),t).parse():n(String(t),t)},a.stringify=function(e,t){a.freeze();const n=$r(t),r=a.Compiler;return jr("stringify",r),Yr(e),Br(r,"compile")?new r(e,n).compile():r(e,n)},a.run=function(e,n,r){if(Yr(e),a.freeze(),r||"function"!=typeof n||(r=n,n=void 0),!r)return new Promise(i);function i(i,o){t.run(e,$r(n),(function(t,n,a){n=n||e,t?o(t):i?i(n):r(null,n,a)}))}i(null,r)},a.runSync=function(e,t){let n,r;return a.run(e,t,(function(e,t){Dr(e),n=t,r=!0})),zr("runSync","run",r),n},a.process=function(e,t){if(a.freeze(),Ur("process",a.Parser),jr("process",a.Compiler),!t)return new Promise(n);function n(n,r){const i=$r(e);function o(e,i){e||!i?r(e):n?n(i):t(null,i)}a.run(a.parse(i),i,((e,t,n)=>{if(!e&&t&&n){const r=a.stringify(t,n);null==r||(function(e){return"string"==typeof e||mr(e)}(r)?n.value=r:n.result=r),o(e,n)}else o(e)}))}n(null,t)},a.processSync=function(e){let t;a.freeze(),Ur("processSync",a.Parser),jr("processSync",a.Compiler);const n=$r(e);return a.process(n,(function(e){t=!0,Dr(e)})),zr("processSync","process",t),n},a;function a(){const t=e();let r=-1;for(;++r<n.length;)t.use(...n[r]);return t.data(Pr(!0,{},i)),t}}().freeze(),Hr={}.hasOwnProperty;function Br(e,t){return"function"==typeof e&&e.prototype&&(function(e){let t;for(t in e)if(Hr.call(e,t))return!0;return!1}(e.prototype)||t in e.prototype)}function Ur(e,t){if("function"!=typeof t)throw new TypeError("Cannot `"+e+"` without `Parser`")}function jr(e,t){if("function"!=typeof t)throw new TypeError("Cannot `"+e+"` without `Compiler`")}function Gr(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function Yr(e){if(!Mr(e)||"string"!=typeof e.type)throw new TypeError("Expected node, got `"+e+"`")}function zr(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function $r(e){return function(e){return Boolean(e&&"object"==typeof e&&"message"in e&&"messages"in e)}(e)?e:new Or(e)}const Wr={};function Vr(e,t,n){if(function(e){return Boolean(e&&"object"==typeof e)}(e)){if("value"in e)return"html"!==e.type||n?e.value:"";if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return Kr(e.children,t,n)}return Array.isArray(e)?Kr(e,t,n):""}function Kr(e,t,n){const r=[];let i=-1;for(;++i<e.length;)r[i]=Vr(e[i],t,n);return r.join("")}function qr(e,t,n,r){const i=e.length;let o,a=0;if(t=t<0?-t>i?0:i+t:t>i?i:t,n=n>0?n:0,r.length<1e4)o=Array.from(r),o.unshift(t,n),e.splice(...o);else for(n&&e.splice(t,n);a<r.length;)o=r.slice(a,a+1e4),o.unshift(t,0),e.splice(...o),a+=1e4,t+=1e4}function Xr(e,t){return e.length>0?(qr(e,e.length,0,t),e):t}const Zr={}.hasOwnProperty;function Qr(e){const t={};let n=-1;for(;++n<e.length;)Jr(t,e[n]);return t}function Jr(e,t){let n;for(n in t){const r=(Zr.call(e,n)?e[n]:void 0)||(e[n]={}),i=t[n];let o;if(i)for(o in i){Zr.call(r,o)||(r[o]=[]);const e=i[o];ei(r[o],Array.isArray(e)?e:e?[e]:[])}}}function ei(e,t){let n=-1;const r=[];for(;++n<t.length;)("after"===t[n].add?e:r).push(t[n]);qr(e,0,0,r)}const ti=di(/[A-Za-z]/),ni=di(/[\dA-Za-z]/),ri=di(/[#-'*+\--9=?A-Z^-~]/);function ii(e){return null!==e&&(e<32||127===e)}const oi=di(/\d/),ai=di(/[\dA-Fa-f]/),si=di(/[!-/:-@[-`{-~]/);function li(e){return null!==e&&e<-2}function ci(e){return null!==e&&(e<0||32===e)}function ui(e){return-2===e||-1===e||32===e}const hi=di(/[!-\/:-@\[-`\{-~\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]/),pi=di(/\s/);function di(e){return function(t){return null!==t&&e.test(String.fromCharCode(t))}}function fi(e,t,n,r){const i=r?r-1:Number.POSITIVE_INFINITY;let o=0;return function(r){return ui(r)?(e.enter(n),a(r)):t(r)};function a(r){return ui(r)&&o++<i?(e.consume(r),a):(e.exit(n),t(r))}}const mi={tokenize:function(e){const t=e.attempt(this.parser.constructs.contentInitial,(function(n){if(null!==n)return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),fi(e,t,"linePrefix");e.consume(n)}),(function(t){return e.enter("paragraph"),r(t)}));let n;return t;function r(t){const r=e.enter("chunkText",{contentType:"text",previous:n});return n&&(n.next=r),n=r,i(t)}function i(t){return null===t?(e.exit("chunkText"),e.exit("paragraph"),void e.consume(t)):li(t)?(e.consume(t),e.exit("chunkText"),r):(e.consume(t),i)}}},gi={tokenize:function(e){const t=this,n=[];let r,i,o,a=0;return s;function s(r){if(a<n.length){const i=n[a];return t.containerState=i[1],e.attempt(i[0].continuation,l,c)(r)}return c(r)}function l(e){if(a++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,r&&v();const n=t.events.length;let i,o=n;for(;o--;)if("exit"===t.events[o][0]&&"chunkFlow"===t.events[o][1].type){i=t.events[o][1].end;break}y(a);let s=n;for(;s<t.events.length;)t.events[s][1].end=Object.assign({},i),s++;return qr(t.events,o+1,0,t.events.slice(n)),t.events.length=s,c(e)}return s(e)}function c(i){if(a===n.length){if(!r)return p(i);if(r.currentConstruct&&r.currentConstruct.concrete)return f(i);t.interrupt=Boolean(r.currentConstruct&&!r._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(yi,u,h)(i)}function u(e){return r&&v(),y(a),p(e)}function h(e){return t.parser.lazy[t.now().line]=a!==n.length,o=t.now().offset,f(e)}function p(n){return t.containerState={},e.attempt(yi,d,f)(n)}function d(e){return a++,n.push([t.currentConstruct,t.containerState]),p(e)}function f(n){return null===n?(r&&v(),y(0),void e.consume(n)):(r=r||t.parser.flow(t.now()),e.enter("chunkFlow",{contentType:"flow",previous:i,_tokenizer:r}),m(n))}function m(n){return null===n?(g(e.exit("chunkFlow"),!0),y(0),void e.consume(n)):li(n)?(e.consume(n),g(e.exit("chunkFlow")),a=0,t.interrupt=void 0,s):(e.consume(n),m)}function g(e,n){const s=t.sliceStream(e);if(n&&s.push(null),e.previous=i,i&&(i.next=e),i=e,r.defineSkip(e.start),r.write(s),t.parser.lazy[e.start.line]){let e=r.events.length;for(;e--;)if(r.events[e][1].start.offset<o&&(!r.events[e][1].end||r.events[e][1].end.offset>o))return;const n=t.events.length;let i,s,l=n;for(;l--;)if("exit"===t.events[l][0]&&"chunkFlow"===t.events[l][1].type){if(i){s=t.events[l][1].end;break}i=!0}for(y(a),e=n;e<t.events.length;)t.events[e][1].end=Object.assign({},s),e++;qr(t.events,l+1,0,t.events.slice(n)),t.events.length=e}}function y(r){let i=n.length;for(;i-- >r;){const r=n[i];t.containerState=r[1],r[0].exit.call(t,e)}n.length=r}function v(){r.write([null]),i=void 0,r=void 0,t.containerState._closeFlow=void 0}}},yi={tokenize:function(e,t,n){return fi(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}},vi={tokenize:function(e,t,n){return function(t){return ui(t)?fi(e,r,"linePrefix")(t):r(t)};function r(e){return null===e||li(e)?t(e):n(e)}},partial:!0};function _i(e){const t={};let n,r,i,o,a,s,l,c=-1;for(;++c<e.length;){for(;c in t;)c=t[c];if(n=e[c],c&&"chunkFlow"===n[1].type&&"listItemPrefix"===e[c-1][1].type&&(s=n[1]._tokenizer.events,i=0,i<s.length&&"lineEndingBlank"===s[i][1].type&&(i+=2),i<s.length&&"content"===s[i][1].type))for(;++i<s.length&&"content"!==s[i][1].type;)"chunkText"===s[i][1].type&&(s[i][1]._isInFirstContentOfListItem=!0,i++);if("enter"===n[0])n[1].contentType&&(Object.assign(t,bi(e,c)),c=t[c],l=!0);else if(n[1]._container){for(i=c,r=void 0;i--&&(o=e[i],"lineEnding"===o[1].type||"lineEndingBlank"===o[1].type);)"enter"===o[0]&&(r&&(e[r][1].type="lineEndingBlank"),o[1].type="lineEnding",r=i);r&&(n[1].end=Object.assign({},e[r][1].start),a=e.slice(r,c),a.unshift(n),qr(e,r,c-r+1,a))}}return!l}function bi(e,t){const n=e[t][1],r=e[t][2];let i=t-1;const o=[],a=n._tokenizer||r.parser[n.contentType](n.start),s=a.events,l=[],c={};let u,h,p=-1,d=n,f=0,m=0;const g=[m];for(;d;){for(;e[++i][1]!==d;);o.push(i),d._tokenizer||(u=r.sliceStream(d),d.next||u.push(null),h&&a.defineSkip(d.start),d._isInFirstContentOfListItem&&(a._gfmTasklistFirstContentOfListItem=!0),a.write(u),d._isInFirstContentOfListItem&&(a._gfmTasklistFirstContentOfListItem=void 0)),h=d,d=d.next}for(d=n;++p<s.length;)"exit"===s[p][0]&&"enter"===s[p-1][0]&&s[p][1].type===s[p-1][1].type&&s[p][1].start.line!==s[p][1].end.line&&(m=p+1,g.push(m),d._tokenizer=void 0,d.previous=void 0,d=d.next);for(a.events=[],d?(d._tokenizer=void 0,d.previous=void 0):g.pop(),p=g.length;p--;){const t=s.slice(g[p],g[p+1]),n=o.pop();l.unshift([n,n+t.length-1]),qr(e,n,2,t)}for(p=-1;++p<l.length;)c[f+l[p][0]]=f+l[p][1],f+=l[p][1]-l[p][0]-1;return c}const Ei={tokenize:function(e,t){let n;return function(t){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),r(t)};function r(t){return null===t?i(t):li(t)?e.check(Ti,o,i)(t):(e.consume(t),r)}function i(n){return e.exit("chunkContent"),e.exit("content"),t(n)}function o(t){return e.consume(t),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,r}},resolve:function(e){return _i(e),e}},Ti={tokenize:function(e,t,n){const r=this;return function(t){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),fi(e,i,"linePrefix")};function i(i){if(null===i||li(i))return n(i);const o=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&o&&"linePrefix"===o[1].type&&o[2].sliceSerialize(o[1],!0).length>=4?t(i):e.interrupt(r.parser.constructs.flow,n,t)(i)}},partial:!0},xi={tokenize:function(e){const t=this,n=e.attempt(vi,(function(r){if(null!==r)return e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n;e.consume(r)}),e.attempt(this.parser.constructs.flowInitial,r,fi(e,e.attempt(this.parser.constructs.flow,r,e.attempt(Ei,r)),"linePrefix")));return n;function r(r){if(null!==r)return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),t.currentConstruct=void 0,n;e.consume(r)}}},Si={resolveAll:wi()},Ci=Ri("string"),Ai=Ri("text");function Ri(e){return{tokenize:function(t){const n=this,r=this.parser.constructs[e],i=t.attempt(r,o,a);return o;function o(e){return l(e)?i(e):a(e)}function a(e){if(null!==e)return t.enter("data"),t.consume(e),s;t.consume(e)}function s(e){return l(e)?(t.exit("data"),i(e)):(t.consume(e),s)}function l(e){if(null===e)return!0;const t=r[e];let i=-1;if(t)for(;++i<t.length;){const e=t[i];if(!e.previous||e.previous.call(n,n.previous))return!0}return!1}},resolveAll:wi("text"===e?Li:void 0)}}function wi(e){return function(t,n){let r,i=-1;for(;++i<=t.length;)void 0===r?t[i]&&"data"===t[i][1].type&&(r=i,i++):t[i]&&"data"===t[i][1].type||(i!==r+2&&(t[r][1].end=t[i-1][1].end,t.splice(r+2,i-r-2),i=r+2),r=void 0);return e?e(t,n):t}}function Li(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||"lineEnding"===e[n][1].type)&&"data"===e[n-1][1].type){const r=e[n-1][1],i=t.sliceStream(r);let o,a=i.length,s=-1,l=0;for(;a--;){const e=i[a];if("string"==typeof e){for(s=e.length;32===e.charCodeAt(s-1);)l++,s--;if(s)break;s=-1}else if(-2===e)o=!0,l++;else if(-1!==e){a++;break}}if(l){const i={type:n===e.length||o||l<2?"lineSuffix":"hardBreakTrailing",start:{line:r.end.line,column:r.end.column-l,offset:r.end.offset-l,_index:r.start._index+a,_bufferIndex:a?s:r.start._bufferIndex+s},end:Object.assign({},r.end)};r.end=Object.assign({},i.start),r.start.offset===r.end.offset?Object.assign(r,i):(e.splice(n,0,["enter",i,t],["exit",i,t]),n+=2)}n++}return e}function Oi(e,t,n){const r=[];let i=-1;for(;++i<e.length;){const o=e[i].resolveAll;o&&!r.includes(o)&&(t=o(t,n),r.push(o))}return t}function Ni(e,t,n){let r=Object.assign(n?Object.assign({},n):{line:1,column:1,offset:0},{_index:0,_bufferIndex:-1});const i={},o=[];let a=[],s=[],l=!0;const c={consume:function(e){li(e)?(r.line++,r.column=1,r.offset+=-3===e?2:1,_()):-1!==e&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===a[r._index].length&&(r._bufferIndex=-1,r._index++)),u.previous=e,l=!0},enter:function(e,t){const n=t||{};return n.type=e,n.start=f(),u.events.push(["enter",n,u]),s.push(n),n},exit:function(e){const t=s.pop();return t.end=f(),u.events.push(["exit",t,u]),t},attempt:y((function(e,t){v(e,t.from)})),check:y(g),interrupt:y(g,{interrupt:!0})},u={previous:null,code:null,containerState:{},events:[],parser:e,sliceStream:d,sliceSerialize:function(e,t){return function(e,t){let n=-1;const r=[];let i;for(;++n<e.length;){const o=e[n];let a;if("string"==typeof o)a=o;else switch(o){case-5:a="\r";break;case-4:a="\n";break;case-3:a="\r\n";break;case-2:a=t?" ":"\t";break;case-1:if(!t&&i)continue;a=" ";break;default:a=String.fromCharCode(o)}i=-2===o,r.push(a)}return r.join("")}(d(e),t)},now:f,defineSkip:function(e){i[e.line]=e.column,_()},write:function(e){return a=Xr(a,e),function(){let e;for(;r._index<a.length;){const t=a[r._index];if("string"==typeof t)for(e=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===e&&r._bufferIndex<t.length;)m(t.charCodeAt(r._bufferIndex));else m(t)}}(),null!==a[a.length-1]?[]:(v(t,0),u.events=Oi(o,u.events,u),u.events)}};let h,p=t.tokenize.call(u,c);return t.resolveAll&&o.push(t),u;function d(e){return function(e,t){const n=t.start._index,r=t.start._bufferIndex,i=t.end._index,o=t.end._bufferIndex;let a;if(n===i)a=[e[n].slice(r,o)];else{if(a=e.slice(n,i),r>-1){const e=a[0];"string"==typeof e?a[0]=e.slice(r):a.shift()}o>0&&a.push(e[i].slice(0,o))}return a}(a,e)}function f(){const{line:e,column:t,offset:n,_index:i,_bufferIndex:o}=r;return{line:e,column:t,offset:n,_index:i,_bufferIndex:o}}function m(e){l=void 0,h=e,p=p(e)}function g(e,t){t.restore()}function y(e,t){return function(n,i,o){let a,h,p,d;return Array.isArray(n)?m(n):"tokenize"in n?m([n]):function(e){return function(t){const n=null!==t&&e[t],r=null!==t&&e.null;return m([...Array.isArray(n)?n:n?[n]:[],...Array.isArray(r)?r:r?[r]:[]])(t)}}(n);function m(e){return a=e,h=0,0===e.length?o:g(e[h])}function g(e){return function(n){return d=function(){const e=f(),t=u.previous,n=u.currentConstruct,i=u.events.length,o=Array.from(s);return{restore:function(){r=e,u.previous=t,u.currentConstruct=n,u.events.length=i,s=o,_()},from:i}}(),p=e,e.partial||(u.currentConstruct=e),e.name&&u.parser.constructs.disable.null.includes(e.name)?v():e.tokenize.call(t?Object.assign(Object.create(u),t):u,c,y,v)(n)}}function y(t){return l=!0,e(p,d),i}function v(e){return l=!0,d.restore(),++h<a.length?g(a[h]):o}}}function v(e,t){e.resolveAll&&!o.includes(e)&&o.push(e),e.resolve&&qr(u.events,t,u.events.length-t,e.resolve(u.events.slice(t),u)),e.resolveTo&&(u.events=e.resolveTo(u.events,u))}function _(){r.line in i&&r.column<2&&(r.column=i[r.line],r.offset+=i[r.line]-1)}}const Ii={name:"thematicBreak",tokenize:function(e,t,n){let r,i=0;return function(t){return e.enter("thematicBreak"),function(e){return r=e,o(e)}(t)};function o(o){return o===r?(e.enter("thematicBreakSequence"),a(o)):i>=3&&(null===o||li(o))?(e.exit("thematicBreak"),t(o)):n(o)}function a(t){return t===r?(e.consume(t),i++,a):(e.exit("thematicBreakSequence"),ui(t)?fi(e,o,"whitespace")(t):o(t))}}},ki={name:"list",tokenize:function(e,t,n){const r=this,i=r.events[r.events.length-1];let o=i&&"linePrefix"===i[1].type?i[2].sliceSerialize(i[1],!0).length:0,a=0;return function(t){const i=r.containerState.type||(42===t||43===t||45===t?"listUnordered":"listOrdered");if("listUnordered"===i?!r.containerState.marker||t===r.containerState.marker:oi(t)){if(r.containerState.type||(r.containerState.type=i,e.enter(i,{_container:!0})),"listUnordered"===i)return e.enter("listItemPrefix"),42===t||45===t?e.check(Ii,n,l)(t):l(t);if(!r.interrupt||49===t)return e.enter("listItemPrefix"),e.enter("listItemValue"),s(t)}return n(t)};function s(t){return oi(t)&&++a<10?(e.consume(t),s):(!r.interrupt||a<2)&&(r.containerState.marker?t===r.containerState.marker:41===t||46===t)?(e.exit("listItemValue"),l(t)):n(t)}function l(t){return e.enter("listItemMarker"),e.consume(t),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||t,e.check(vi,r.interrupt?n:c,e.attempt(Di,h,u))}function c(e){return r.containerState.initialBlankLine=!0,o++,h(e)}function u(t){return ui(t)?(e.enter("listItemPrefixWhitespace"),e.consume(t),e.exit("listItemPrefixWhitespace"),h):n(t)}function h(n){return r.containerState.size=o+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(n)}},continuation:{tokenize:function(e,t,n){const r=this;return r.containerState._closeFlow=void 0,e.check(vi,(function(n){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,fi(e,t,"listItemIndent",r.containerState.size+1)(n)}),(function(n){return r.containerState.furtherBlankLines||!ui(n)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,i(n)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(Pi,t,i)(n))}));function i(i){return r.containerState._closeFlow=!0,r.interrupt=void 0,fi(e,e.attempt(ki,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(i)}}},exit:function(e){e.exit(this.containerState.type)}},Di={tokenize:function(e,t,n){const r=this;return fi(e,(function(e){const i=r.events[r.events.length-1];return!ui(e)&&i&&"listItemPrefixWhitespace"===i[1].type?t(e):n(e)}),"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5)},partial:!0},Pi={tokenize:function(e,t,n){const r=this;return fi(e,(function(e){const i=r.events[r.events.length-1];return i&&"listItemIndent"===i[1].type&&i[2].sliceSerialize(i[1],!0).length===r.containerState.size?t(e):n(e)}),"listItemIndent",r.containerState.size+1)},partial:!0},Mi={name:"blockQuote",tokenize:function(e,t,n){const r=this;return function(t){if(62===t){const n=r.containerState;return n.open||(e.enter("blockQuote",{_container:!0}),n.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(t),e.exit("blockQuoteMarker"),i}return n(t)};function i(n){return ui(n)?(e.enter("blockQuotePrefixWhitespace"),e.consume(n),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(n))}},continuation:{tokenize:function(e,t,n){const r=this;return function(t){return ui(t)?fi(e,i,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):i(t)};function i(r){return e.attempt(Mi,t,n)(r)}}},exit:function(e){e.exit("blockQuote")}};function Fi(e,t,n,r,i,o,a,s,l){const c=l||Number.POSITIVE_INFINITY;let u=0;return function(t){return 60===t?(e.enter(r),e.enter(i),e.enter(o),e.consume(t),e.exit(o),h):null===t||32===t||41===t||ii(t)?n(t):(e.enter(r),e.enter(a),e.enter(s),e.enter("chunkString",{contentType:"string"}),f(t))};function h(n){return 62===n?(e.enter(o),e.consume(n),e.exit(o),e.exit(i),e.exit(r),t):(e.enter(s),e.enter("chunkString",{contentType:"string"}),p(n))}function p(t){return 62===t?(e.exit("chunkString"),e.exit(s),h(t)):null===t||60===t||li(t)?n(t):(e.consume(t),92===t?d:p)}function d(t){return 60===t||62===t||92===t?(e.consume(t),p):p(t)}function f(i){return u||null!==i&&41!==i&&!ci(i)?u<c&&40===i?(e.consume(i),u++,f):41===i?(e.consume(i),u--,f):null===i||32===i||40===i||ii(i)?n(i):(e.consume(i),92===i?m:f):(e.exit("chunkString"),e.exit(s),e.exit(a),e.exit(r),t(i))}function m(t){return 40===t||41===t||92===t?(e.consume(t),f):f(t)}}function Hi(e,t,n,r,i,o){const a=this;let s,l=0;return function(t){return e.enter(r),e.enter(i),e.consume(t),e.exit(i),e.enter(o),c};function c(h){return l>999||null===h||91===h||93===h&&!s||94===h&&!l&&"_hiddenFootnoteSupport"in a.parser.constructs?n(h):93===h?(e.exit(o),e.enter(i),e.consume(h),e.exit(i),e.exit(r),t):li(h)?(e.enter("lineEnding"),e.consume(h),e.exit("lineEnding"),c):(e.enter("chunkString",{contentType:"string"}),u(h))}function u(t){return null===t||91===t||93===t||li(t)||l++>999?(e.exit("chunkString"),c(t)):(e.consume(t),s||(s=!ui(t)),92===t?h:u)}function h(t){return 91===t||92===t||93===t?(e.consume(t),l++,u):u(t)}}function Bi(e,t,n,r,i,o){let a;return function(t){return 34===t||39===t||40===t?(e.enter(r),e.enter(i),e.consume(t),e.exit(i),a=40===t?41:t,s):n(t)};function s(n){return n===a?(e.enter(i),e.consume(n),e.exit(i),e.exit(r),t):(e.enter(o),l(n))}function l(t){return t===a?(e.exit(o),s(a)):null===t?n(t):li(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),fi(e,l,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),c(t))}function c(t){return t===a||null===t||li(t)?(e.exit("chunkString"),l(t)):(e.consume(t),92===t?u:c)}function u(t){return t===a||92===t?(e.consume(t),c):c(t)}}function Ui(e,t){let n;return function r(i){return li(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),n=!0,r):ui(i)?fi(e,r,n?"linePrefix":"lineSuffix")(i):t(i)}}function ji(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const Gi={name:"definition",tokenize:function(e,t,n){const r=this;let i;return function(t){return e.enter("definition"),function(t){return Hi.call(r,e,o,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(t)}(t)};function o(t){return i=ji(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),a):n(t)}function a(t){return ci(t)?Ui(e,s)(t):s(t)}function s(t){return Fi(e,l,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(t)}function l(t){return e.attempt(Yi,c,c)(t)}function c(t){return ui(t)?fi(e,u,"whitespace")(t):u(t)}function u(o){return null===o||li(o)?(e.exit("definition"),r.parser.defined.push(i),t(o)):n(o)}}},Yi={tokenize:function(e,t,n){return function(t){return ci(t)?Ui(e,r)(t):n(t)};function r(t){return Bi(e,i,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(t)}function i(t){return ui(t)?fi(e,o,"whitespace")(t):o(t)}function o(e){return null===e||li(e)?t(e):n(e)}},partial:!0},zi={name:"codeIndented",tokenize:function(e,t,n){const r=this;return function(t){return e.enter("codeIndented"),fi(e,i,"linePrefix",5)(t)};function i(e){const t=r.events[r.events.length-1];return t&&"linePrefix"===t[1].type&&t[2].sliceSerialize(t[1],!0).length>=4?o(e):n(e)}function o(t){return null===t?s(t):li(t)?e.attempt($i,o,s)(t):(e.enter("codeFlowValue"),a(t))}function a(t){return null===t||li(t)?(e.exit("codeFlowValue"),o(t)):(e.consume(t),a)}function s(n){return e.exit("codeIndented"),t(n)}}},$i={tokenize:function(e,t,n){const r=this;return i;function i(t){return r.parser.lazy[r.now().line]?n(t):li(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i):fi(e,o,"linePrefix",5)(t)}function o(e){const o=r.events[r.events.length-1];return o&&"linePrefix"===o[1].type&&o[2].sliceSerialize(o[1],!0).length>=4?t(e):li(e)?i(e):n(e)}},partial:!0},Wi={name:"headingAtx",tokenize:function(e,t,n){let r=0;return function(t){return e.enter("atxHeading"),function(t){return e.enter("atxHeadingSequence"),i(t)}(t)};function i(t){return 35===t&&r++<6?(e.consume(t),i):null===t||ci(t)?(e.exit("atxHeadingSequence"),o(t)):n(t)}function o(n){return 35===n?(e.enter("atxHeadingSequence"),a(n)):null===n||li(n)?(e.exit("atxHeading"),t(n)):ui(n)?fi(e,o,"whitespace")(n):(e.enter("atxHeadingText"),s(n))}function a(t){return 35===t?(e.consume(t),a):(e.exit("atxHeadingSequence"),o(t))}function s(t){return null===t||35===t||ci(t)?(e.exit("atxHeadingText"),o(t)):(e.consume(t),s)}},resolve:function(e,t){let n,r,i=e.length-2,o=3;return"whitespace"===e[o][1].type&&(o+=2),i-2>o&&"whitespace"===e[i][1].type&&(i-=2),"atxHeadingSequence"===e[i][1].type&&(o===i-1||i-4>o&&"whitespace"===e[i-2][1].type)&&(i-=o+1===i?2:4),i>o&&(n={type:"atxHeadingText",start:e[o][1].start,end:e[i][1].end},r={type:"chunkText",start:e[o][1].start,end:e[i][1].end,contentType:"text"},qr(e,o,i-o+1,[["enter",n,t],["enter",r,t],["exit",r,t],["exit",n,t]])),e}},Vi={name:"setextUnderline",tokenize:function(e,t,n){const r=this;let i;return function(t){let a,s=r.events.length;for(;s--;)if("lineEnding"!==r.events[s][1].type&&"linePrefix"!==r.events[s][1].type&&"content"!==r.events[s][1].type){a="paragraph"===r.events[s][1].type;break}return r.parser.lazy[r.now().line]||!r.interrupt&&!a?n(t):(e.enter("setextHeadingLine"),i=t,function(t){return e.enter("setextHeadingLineSequence"),o(t)}(t))};function o(t){return t===i?(e.consume(t),o):(e.exit("setextHeadingLineSequence"),ui(t)?fi(e,a,"lineSuffix")(t):a(t))}function a(r){return null===r||li(r)?(e.exit("setextHeadingLine"),t(r)):n(r)}},resolveTo:function(e,t){let n,r,i,o=e.length;for(;o--;)if("enter"===e[o][0]){if("content"===e[o][1].type){n=o;break}"paragraph"===e[o][1].type&&(r=o)}else"content"===e[o][1].type&&e.splice(o,1),i||"definition"!==e[o][1].type||(i=o);const a={type:"setextHeading",start:Object.assign({},e[r][1].start),end:Object.assign({},e[e.length-1][1].end)};return e[r][1].type="setextHeadingText",i?(e.splice(r,0,["enter",a,t]),e.splice(i+1,0,["exit",e[n][1],t]),e[n][1].end=Object.assign({},e[i][1].end)):e[n][1]=a,e.push(["exit",a,t]),e}},Ki=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],qi=["pre","script","style","textarea"],Xi={name:"htmlFlow",tokenize:function(e,t,n){const r=this;let i,o,a,s,l;return function(t){return function(t){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(t),c}(t)};function c(s){return 33===s?(e.consume(s),u):47===s?(e.consume(s),o=!0,d):63===s?(e.consume(s),i=3,r.interrupt?t:D):ti(s)?(e.consume(s),a=String.fromCharCode(s),f):n(s)}function u(o){return 45===o?(e.consume(o),i=2,h):91===o?(e.consume(o),i=5,s=0,p):ti(o)?(e.consume(o),i=4,r.interrupt?t:D):n(o)}function h(i){return 45===i?(e.consume(i),r.interrupt?t:D):n(i)}function p(i){return i==="CDATA[".charCodeAt(s++)?(e.consume(i),6===s?r.interrupt?t:A:p):n(i)}function d(t){return ti(t)?(e.consume(t),a=String.fromCharCode(t),f):n(t)}function f(s){if(null===s||47===s||62===s||ci(s)){const l=47===s,c=a.toLowerCase();return l||o||!qi.includes(c)?Ki.includes(a.toLowerCase())?(i=6,l?(e.consume(s),m):r.interrupt?t(s):A(s)):(i=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(s):o?g(s):y(s)):(i=1,r.interrupt?t(s):A(s))}return 45===s||ni(s)?(e.consume(s),a+=String.fromCharCode(s),f):n(s)}function m(i){return 62===i?(e.consume(i),r.interrupt?t:A):n(i)}function g(t){return ui(t)?(e.consume(t),g):S(t)}function y(t){return 47===t?(e.consume(t),S):58===t||95===t||ti(t)?(e.consume(t),v):ui(t)?(e.consume(t),y):S(t)}function v(t){return 45===t||46===t||58===t||95===t||ni(t)?(e.consume(t),v):_(t)}function _(t){return 61===t?(e.consume(t),b):ui(t)?(e.consume(t),_):y(t)}function b(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),l=t,E):ui(t)?(e.consume(t),b):T(t)}function E(t){return t===l?(e.consume(t),l=null,x):null===t||li(t)?n(t):(e.consume(t),E)}function T(t){return null===t||34===t||39===t||47===t||60===t||61===t||62===t||96===t||ci(t)?_(t):(e.consume(t),T)}function x(e){return 47===e||62===e||ui(e)?y(e):n(e)}function S(t){return 62===t?(e.consume(t),C):n(t)}function C(t){return null===t||li(t)?A(t):ui(t)?(e.consume(t),C):n(t)}function A(t){return 45===t&&2===i?(e.consume(t),O):60===t&&1===i?(e.consume(t),N):62===t&&4===i?(e.consume(t),P):63===t&&3===i?(e.consume(t),D):93===t&&5===i?(e.consume(t),k):!li(t)||6!==i&&7!==i?null===t||li(t)?(e.exit("htmlFlowData"),R(t)):(e.consume(t),A):(e.exit("htmlFlowData"),e.check(Zi,M,R)(t))}function R(t){return e.check(Qi,w,M)(t)}function w(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),L}function L(t){return null===t||li(t)?R(t):(e.enter("htmlFlowData"),A(t))}function O(t){return 45===t?(e.consume(t),D):A(t)}function N(t){return 47===t?(e.consume(t),a="",I):A(t)}function I(t){if(62===t){const n=a.toLowerCase();return qi.includes(n)?(e.consume(t),P):A(t)}return ti(t)&&a.length<8?(e.consume(t),a+=String.fromCharCode(t),I):A(t)}function k(t){return 93===t?(e.consume(t),D):A(t)}function D(t){return 62===t?(e.consume(t),P):45===t&&2===i?(e.consume(t),D):A(t)}function P(t){return null===t||li(t)?(e.exit("htmlFlowData"),M(t)):(e.consume(t),P)}function M(n){return e.exit("htmlFlow"),t(n)}},resolveTo:function(e){let t=e.length;for(;t--&&("enter"!==e[t][0]||"htmlFlow"!==e[t][1].type););return t>1&&"linePrefix"===e[t-2][1].type&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e},concrete:!0},Zi={tokenize:function(e,t,n){return function(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),e.attempt(vi,t,n)}},partial:!0},Qi={tokenize:function(e,t,n){const r=this;return function(t){return li(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i):n(t)};function i(e){return r.parser.lazy[r.now().line]?n(e):t(e)}},partial:!0},Ji={tokenize:function(e,t,n){const r=this;return function(t){return null===t?n(t):(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i)};function i(e){return r.parser.lazy[r.now().line]?n(e):t(e)}},partial:!0},eo={name:"codeFenced",tokenize:function(e,t,n){const r=this,i={tokenize:function(e,t,n){let i=0;return function(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),a};function a(t){return e.enter("codeFencedFence"),ui(t)?fi(e,l,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):l(t)}function l(t){return t===o?(e.enter("codeFencedFenceSequence"),c(t)):n(t)}function c(t){return t===o?(i++,e.consume(t),c):i>=s?(e.exit("codeFencedFenceSequence"),ui(t)?fi(e,u,"whitespace")(t):u(t)):n(t)}function u(r){return null===r||li(r)?(e.exit("codeFencedFence"),t(r)):n(r)}},partial:!0};let o,a=0,s=0;return function(t){return function(t){const n=r.events[r.events.length-1];return a=n&&"linePrefix"===n[1].type?n[2].sliceSerialize(n[1],!0).length:0,o=t,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),l(t)}(t)};function l(t){return t===o?(s++,e.consume(t),l):s<3?n(t):(e.exit("codeFencedFenceSequence"),ui(t)?fi(e,c,"whitespace")(t):c(t))}function c(n){return null===n||li(n)?(e.exit("codeFencedFence"),r.interrupt?t(n):e.check(Ji,d,v)(n)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),u(n))}function u(t){return null===t||li(t)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),c(t)):ui(t)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),fi(e,h,"whitespace")(t)):96===t&&t===o?n(t):(e.consume(t),u)}function h(t){return null===t||li(t)?c(t):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),p(t))}function p(t){return null===t||li(t)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),c(t)):96===t&&t===o?n(t):(e.consume(t),p)}function d(t){return e.attempt(i,v,f)(t)}function f(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),m}function m(t){return a>0&&ui(t)?fi(e,g,"linePrefix",a+1)(t):g(t)}function g(t){return null===t||li(t)?e.check(Ji,d,v)(t):(e.enter("codeFlowValue"),y(t))}function y(t){return null===t||li(t)?(e.exit("codeFlowValue"),g(t)):(e.consume(t),y)}function v(n){return e.exit("codeFenced"),t(n)}},concrete:!0},to=document.createElement("i");function no(e){const t="&"+e+";";to.innerHTML=t;const n=to.textContent;return(59!==n.charCodeAt(n.length-1)||"semi"===e)&&n!==t&&n}const ro={name:"characterReference",tokenize:function(e,t,n){const r=this;let i,o,a=0;return function(t){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(t),e.exit("characterReferenceMarker"),s};function s(t){return 35===t?(e.enter("characterReferenceMarkerNumeric"),e.consume(t),e.exit("characterReferenceMarkerNumeric"),l):(e.enter("characterReferenceValue"),i=31,o=ni,c(t))}function l(t){return 88===t||120===t?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(t),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),i=6,o=ai,c):(e.enter("characterReferenceValue"),i=7,o=oi,c(t))}function c(s){if(59===s&&a){const i=e.exit("characterReferenceValue");return o!==ni||no(r.sliceSerialize(i))?(e.enter("characterReferenceMarker"),e.consume(s),e.exit("characterReferenceMarker"),e.exit("characterReference"),t):n(s)}return o(s)&&a++<i?(e.consume(s),c):n(s)}}},io={name:"characterEscape",tokenize:function(e,t,n){return function(t){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(t),e.exit("escapeMarker"),r};function r(r){return si(r)?(e.enter("characterEscapeValue"),e.consume(r),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(r)}}},oo={name:"lineEnding",tokenize:function(e,t){return function(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),fi(e,t,"linePrefix")}}},ao={name:"labelEnd",tokenize:function(e,t,n){const r=this;let i,o,a=r.events.length;for(;a--;)if(("labelImage"===r.events[a][1].type||"labelLink"===r.events[a][1].type)&&!r.events[a][1]._balanced){i=r.events[a][1];break}return function(t){return i?i._inactive?u(t):(o=r.parser.defined.includes(ji(r.sliceSerialize({start:i.end,end:r.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelEnd"),s):n(t)};function s(t){return 40===t?e.attempt(so,c,o?c:u)(t):91===t?e.attempt(lo,c,o?l:u)(t):o?c(t):u(t)}function l(t){return e.attempt(co,c,u)(t)}function c(e){return t(e)}function u(e){return i._balanced=!0,n(e)}},resolveTo:function(e,t){let n,r,i,o,a=e.length,s=0;for(;a--;)if(n=e[a][1],r){if("link"===n.type||"labelLink"===n.type&&n._inactive)break;"enter"===e[a][0]&&"labelLink"===n.type&&(n._inactive=!0)}else if(i){if("enter"===e[a][0]&&("labelImage"===n.type||"labelLink"===n.type)&&!n._balanced&&(r=a,"labelLink"!==n.type)){s=2;break}}else"labelEnd"===n.type&&(i=a);const l={type:"labelLink"===e[r][1].type?"link":"image",start:Object.assign({},e[r][1].start),end:Object.assign({},e[e.length-1][1].end)},c={type:"label",start:Object.assign({},e[r][1].start),end:Object.assign({},e[i][1].end)},u={type:"labelText",start:Object.assign({},e[r+s+2][1].end),end:Object.assign({},e[i-2][1].start)};return o=[["enter",l,t],["enter",c,t]],o=Xr(o,e.slice(r+1,r+s+3)),o=Xr(o,[["enter",u,t]]),o=Xr(o,Oi(t.parser.constructs.insideSpan.null,e.slice(r+s+4,i-3),t)),o=Xr(o,[["exit",u,t],e[i-2],e[i-1],["exit",c,t]]),o=Xr(o,e.slice(i+1)),o=Xr(o,[["exit",l,t]]),qr(e,r,e.length,o),e},resolveAll:function(e){let t=-1;for(;++t<e.length;){const n=e[t][1];"labelImage"!==n.type&&"labelLink"!==n.type&&"labelEnd"!==n.type||(e.splice(t+1,"labelImage"===n.type?4:2),n.type="data",t++)}return e}},so={tokenize:function(e,t,n){return function(t){return e.enter("resource"),e.enter("resourceMarker"),e.consume(t),e.exit("resourceMarker"),r};function r(t){return ci(t)?Ui(e,i)(t):i(t)}function i(t){return 41===t?c(t):Fi(e,o,a,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(t)}function o(t){return ci(t)?Ui(e,s)(t):c(t)}function a(e){return n(e)}function s(t){return 34===t||39===t||40===t?Bi(e,l,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(t):c(t)}function l(t){return ci(t)?Ui(e,c)(t):c(t)}function c(r){return 41===r?(e.enter("resourceMarker"),e.consume(r),e.exit("resourceMarker"),e.exit("resource"),t):n(r)}}},lo={tokenize:function(e,t,n){const r=this;return function(t){return Hi.call(r,e,i,o,"reference","referenceMarker","referenceString")(t)};function i(e){return r.parser.defined.includes(ji(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(e):n(e)}function o(e){return n(e)}}},co={tokenize:function(e,t,n){return function(t){return e.enter("reference"),e.enter("referenceMarker"),e.consume(t),e.exit("referenceMarker"),r};function r(r){return 93===r?(e.enter("referenceMarker"),e.consume(r),e.exit("referenceMarker"),e.exit("reference"),t):n(r)}}},uo={name:"labelStartImage",tokenize:function(e,t,n){const r=this;return function(t){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(t),e.exit("labelImageMarker"),i};function i(t){return 91===t?(e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelImage"),o):n(t)}function o(e){return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?n(e):t(e)}},resolveAll:ao.resolveAll};function ho(e){return null===e||ci(e)||pi(e)?1:hi(e)?2:void 0}const po={name:"attention",tokenize:function(e,t){const n=this.parser.constructs.attentionMarkers.null,r=this.previous,i=ho(r);let o;return function(t){return o=t,e.enter("attentionSequence"),a(t)};function a(s){if(s===o)return e.consume(s),a;const l=e.exit("attentionSequence"),c=ho(s),u=!c||2===c&&i||n.includes(s),h=!i||2===i&&c||n.includes(r);return l._open=Boolean(42===o?u:u&&(i||!h)),l._close=Boolean(42===o?h:h&&(c||!u)),t(s)}},resolveAll:function(e,t){let n,r,i,o,a,s,l,c,u=-1;for(;++u<e.length;)if("enter"===e[u][0]&&"attentionSequence"===e[u][1].type&&e[u][1]._close)for(n=u;n--;)if("exit"===e[n][0]&&"attentionSequence"===e[n][1].type&&e[n][1]._open&&t.sliceSerialize(e[n][1]).charCodeAt(0)===t.sliceSerialize(e[u][1]).charCodeAt(0)){if((e[n][1]._close||e[u][1]._open)&&(e[u][1].end.offset-e[u][1].start.offset)%3&&!((e[n][1].end.offset-e[n][1].start.offset+e[u][1].end.offset-e[u][1].start.offset)%3))continue;s=e[n][1].end.offset-e[n][1].start.offset>1&&e[u][1].end.offset-e[u][1].start.offset>1?2:1;const h=Object.assign({},e[n][1].end),p=Object.assign({},e[u][1].start);fo(h,-s),fo(p,s),o={type:s>1?"strongSequence":"emphasisSequence",start:h,end:Object.assign({},e[n][1].end)},a={type:s>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[u][1].start),end:p},i={type:s>1?"strongText":"emphasisText",start:Object.assign({},e[n][1].end),end:Object.assign({},e[u][1].start)},r={type:s>1?"strong":"emphasis",start:Object.assign({},o.start),end:Object.assign({},a.end)},e[n][1].end=Object.assign({},o.start),e[u][1].start=Object.assign({},a.end),l=[],e[n][1].end.offset-e[n][1].start.offset&&(l=Xr(l,[["enter",e[n][1],t],["exit",e[n][1],t]])),l=Xr(l,[["enter",r,t],["enter",o,t],["exit",o,t],["enter",i,t]]),l=Xr(l,Oi(t.parser.constructs.insideSpan.null,e.slice(n+1,u),t)),l=Xr(l,[["exit",i,t],["enter",a,t],["exit",a,t],["exit",r,t]]),e[u][1].end.offset-e[u][1].start.offset?(c=2,l=Xr(l,[["enter",e[u][1],t],["exit",e[u][1],t]])):c=0,qr(e,n-1,u-n+3,l),u=n+l.length-c-2;break}for(u=-1;++u<e.length;)"attentionSequence"===e[u][1].type&&(e[u][1].type="data");return e}};function fo(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const mo={name:"autolink",tokenize:function(e,t,n){let r=0;return function(t){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(t),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),i};function i(t){return ti(t)?(e.consume(t),o):l(t)}function o(e){return 43===e||45===e||46===e||ni(e)?(r=1,a(e)):l(e)}function a(t){return 58===t?(e.consume(t),r=0,s):(43===t||45===t||46===t||ni(t))&&r++<32?(e.consume(t),a):(r=0,l(t))}function s(r){return 62===r?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(r),e.exit("autolinkMarker"),e.exit("autolink"),t):null===r||32===r||60===r||ii(r)?n(r):(e.consume(r),s)}function l(t){return 64===t?(e.consume(t),c):ri(t)?(e.consume(t),l):n(t)}function c(e){return ni(e)?u(e):n(e)}function u(n){return 46===n?(e.consume(n),r=0,c):62===n?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(n),e.exit("autolinkMarker"),e.exit("autolink"),t):h(n)}function h(t){if((45===t||ni(t))&&r++<63){const n=45===t?h:u;return e.consume(t),n}return n(t)}}},go={name:"htmlText",tokenize:function(e,t,n){const r=this;let i,o,a;return function(t){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(t),s};function s(t){return 33===t?(e.consume(t),l):47===t?(e.consume(t),b):63===t?(e.consume(t),v):ti(t)?(e.consume(t),x):n(t)}function l(t){return 45===t?(e.consume(t),c):91===t?(e.consume(t),o=0,d):ti(t)?(e.consume(t),y):n(t)}function c(t){return 45===t?(e.consume(t),p):n(t)}function u(t){return null===t?n(t):45===t?(e.consume(t),h):li(t)?(a=u,I(t)):(e.consume(t),u)}function h(t){return 45===t?(e.consume(t),p):u(t)}function p(e){return 62===e?N(e):45===e?h(e):u(e)}function d(t){return t==="CDATA[".charCodeAt(o++)?(e.consume(t),6===o?f:d):n(t)}function f(t){return null===t?n(t):93===t?(e.consume(t),m):li(t)?(a=f,I(t)):(e.consume(t),f)}function m(t){return 93===t?(e.consume(t),g):f(t)}function g(t){return 62===t?N(t):93===t?(e.consume(t),g):f(t)}function y(t){return null===t||62===t?N(t):li(t)?(a=y,I(t)):(e.consume(t),y)}function v(t){return null===t?n(t):63===t?(e.consume(t),_):li(t)?(a=v,I(t)):(e.consume(t),v)}function _(e){return 62===e?N(e):v(e)}function b(t){return ti(t)?(e.consume(t),E):n(t)}function E(t){return 45===t||ni(t)?(e.consume(t),E):T(t)}function T(t){return li(t)?(a=T,I(t)):ui(t)?(e.consume(t),T):N(t)}function x(t){return 45===t||ni(t)?(e.consume(t),x):47===t||62===t||ci(t)?S(t):n(t)}function S(t){return 47===t?(e.consume(t),N):58===t||95===t||ti(t)?(e.consume(t),C):li(t)?(a=S,I(t)):ui(t)?(e.consume(t),S):N(t)}function C(t){return 45===t||46===t||58===t||95===t||ni(t)?(e.consume(t),C):A(t)}function A(t){return 61===t?(e.consume(t),R):li(t)?(a=A,I(t)):ui(t)?(e.consume(t),A):S(t)}function R(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),i=t,w):li(t)?(a=R,I(t)):ui(t)?(e.consume(t),R):(e.consume(t),L)}function w(t){return t===i?(e.consume(t),i=void 0,O):null===t?n(t):li(t)?(a=w,I(t)):(e.consume(t),w)}function L(t){return null===t||34===t||39===t||60===t||61===t||96===t?n(t):47===t||62===t||ci(t)?S(t):(e.consume(t),L)}function O(e){return 47===e||62===e||ci(e)?S(e):n(e)}function N(r){return 62===r?(e.consume(r),e.exit("htmlTextData"),e.exit("htmlText"),t):n(r)}function I(t){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),k}function k(t){return ui(t)?fi(e,D,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):D(t)}function D(t){return e.enter("htmlTextData"),a(t)}}},yo={name:"labelStartLink",tokenize:function(e,t,n){const r=this;return function(t){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelLink"),i};function i(e){return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?n(e):t(e)}},resolveAll:ao.resolveAll},vo={name:"hardBreakEscape",tokenize:function(e,t,n){return function(t){return e.enter("hardBreakEscape"),e.consume(t),r};function r(r){return li(r)?(e.exit("hardBreakEscape"),t(r)):n(r)}}},_o={name:"codeText",tokenize:function(e,t,n){let r,i,o=0;return function(t){return e.enter("codeText"),e.enter("codeTextSequence"),a(t)};function a(t){return 96===t?(e.consume(t),o++,a):(e.exit("codeTextSequence"),s(t))}function s(t){return null===t?n(t):32===t?(e.enter("space"),e.consume(t),e.exit("space"),s):96===t?(i=e.enter("codeTextSequence"),r=0,c(t)):li(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),s):(e.enter("codeTextData"),l(t))}function l(t){return null===t||32===t||96===t||li(t)?(e.exit("codeTextData"),s(t)):(e.consume(t),l)}function c(n){return 96===n?(e.consume(n),r++,c):r===o?(e.exit("codeTextSequence"),e.exit("codeText"),t(n)):(i.type="codeTextData",l(n))}},resolve:function(e){let t,n,r=e.length-4,i=3;if(!("lineEnding"!==e[i][1].type&&"space"!==e[i][1].type||"lineEnding"!==e[r][1].type&&"space"!==e[r][1].type))for(t=i;++t<r;)if("codeTextData"===e[t][1].type){e[i][1].type="codeTextPadding",e[r][1].type="codeTextPadding",i+=2,r-=2;break}for(t=i-1,r++;++t<=r;)void 0===n?t!==r&&"lineEnding"!==e[t][1].type&&(n=t):t!==r&&"lineEnding"!==e[t][1].type||(e[n][1].type="codeTextData",t!==n+2&&(e[n][1].end=e[t-1][1].end,e.splice(n+2,t-n-2),r-=t-n-2,t=n+2),n=void 0);return e},previous:function(e){return 96!==e||"characterEscape"===this.events[this.events.length-1][1].type}},bo={42:ki,43:ki,45:ki,48:ki,49:ki,50:ki,51:ki,52:ki,53:ki,54:ki,55:ki,56:ki,57:ki,62:Mi},Eo={91:Gi},To={[-2]:zi,[-1]:zi,32:zi},xo={35:Wi,42:Ii,45:[Vi,Ii],60:Xi,61:Vi,95:Ii,96:eo,126:eo},So={38:ro,92:io},Co={[-5]:oo,[-4]:oo,[-3]:oo,33:uo,38:ro,42:po,60:[mo,go],91:yo,92:[vo,io],93:ao,95:po,96:_o},Ao={null:[po,Si]},Ro={null:[42,95]},wo={null:[]},Lo=/[\0\t\n\r]/g;function Oo(e,t){const n=Number.parseInt(e,t);return n<9||11===n||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||65535==(65535&n)||65534==(65535&n)||n>1114111?"�":String.fromCharCode(n)}const No=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function Io(e){return e.replace(No,ko)}function ko(e,t,n){if(t)return t;if(35===n.charCodeAt(0)){const e=n.charCodeAt(1),t=120===e||88===e;return Oo(n.slice(t?2:1),t?16:10)}return no(n)||e}const Do={}.hasOwnProperty,Po=function(t,n,r){return"string"!=typeof n&&(r=n,n=void 0),function(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:a(b),autolinkProtocol:p,autolinkEmail:p,atxHeading:a(y),blockQuote:a((function(){return{type:"blockquote",children:[]}})),characterEscape:p,characterReference:p,codeFenced:a(g),codeFencedFenceInfo:s,codeFencedFenceMeta:s,codeIndented:a(g,s),codeText:a((function(){return{type:"inlineCode",value:""}}),s),codeTextData:p,data:p,codeFlowValue:p,definition:a((function(){return{type:"definition",identifier:"",label:null,title:null,url:""}})),definitionDestinationString:s,definitionLabelString:s,definitionTitleString:s,emphasis:a((function(){return{type:"emphasis",children:[]}})),hardBreakEscape:a(v),hardBreakTrailing:a(v),htmlFlow:a(_,s),htmlFlowData:p,htmlText:a(_,s),htmlTextData:p,image:a((function(){return{type:"image",title:null,url:"",alt:null}})),label:s,link:a(b),listItem:a((function(e){return{type:"listItem",spread:e._spread,checked:null,children:[]}})),listItemValue:function(e){o("expectingFirstListItemValue")&&(this.stack[this.stack.length-2].start=Number.parseInt(this.sliceSerialize(e),10),i("expectingFirstListItemValue"))},listOrdered:a(E,(function(){i("expectingFirstListItemValue",!0)})),listUnordered:a(E),paragraph:a((function(){return{type:"paragraph",children:[]}})),reference:function(){i("referenceType","collapsed")},referenceString:s,resourceDestinationString:s,resourceTitleString:s,setextHeading:a(y),strong:a((function(){return{type:"strong",children:[]}})),thematicBreak:a((function(){return{type:"thematicBreak"}}))},exit:{atxHeading:c(),atxHeadingSequence:function(e){const t=this.stack[this.stack.length-1];if(!t.depth){const n=this.sliceSerialize(e).length;t.depth=n}},autolink:c(),autolinkEmail:function(e){d.call(this,e),this.stack[this.stack.length-1].url="mailto:"+this.sliceSerialize(e)},autolinkProtocol:function(e){d.call(this,e),this.stack[this.stack.length-1].url=this.sliceSerialize(e)},blockQuote:c(),characterEscapeValue:d,characterReferenceMarkerHexadecimal:m,characterReferenceMarkerNumeric:m,characterReferenceValue:function(e){const t=this.sliceSerialize(e),n=o("characterReferenceType");let r;n?(r=Oo(t,"characterReferenceMarkerNumeric"===n?10:16),i("characterReferenceType")):r=no(t);const a=this.stack.pop();a.value+=r,a.position.end=Mo(e.end)},codeFenced:c((function(){const e=this.resume();this.stack[this.stack.length-1].value=e.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),i("flowCodeInside")})),codeFencedFence:function(){o("flowCodeInside")||(this.buffer(),i("flowCodeInside",!0))},codeFencedFenceInfo:function(){const e=this.resume();this.stack[this.stack.length-1].lang=e},codeFencedFenceMeta:function(){const e=this.resume();this.stack[this.stack.length-1].meta=e},codeFlowValue:d,codeIndented:c((function(){const e=this.resume();this.stack[this.stack.length-1].value=e.replace(/(\r?\n|\r)$/g,"")})),codeText:c((function(){const e=this.resume();this.stack[this.stack.length-1].value=e})),codeTextData:d,data:d,definition:c(),definitionDestinationString:function(){const e=this.resume();this.stack[this.stack.length-1].url=e},definitionLabelString:function(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=ji(this.sliceSerialize(e)).toLowerCase()},definitionTitleString:function(){const e=this.resume();this.stack[this.stack.length-1].title=e},emphasis:c(),hardBreakEscape:c(f),hardBreakTrailing:c(f),htmlFlow:c((function(){const e=this.resume();this.stack[this.stack.length-1].value=e})),htmlFlowData:d,htmlText:c((function(){const e=this.resume();this.stack[this.stack.length-1].value=e})),htmlTextData:d,image:c((function(){const e=this.stack[this.stack.length-1];if(o("inReference")){const t=o("referenceType")||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;i("referenceType")})),label:function(){const e=this.stack[this.stack.length-1],t=this.resume(),n=this.stack[this.stack.length-1];if(i("inReference",!0),"link"===n.type){const t=e.children;n.children=t}else n.alt=t},labelText:function(e){const t=this.sliceSerialize(e),n=this.stack[this.stack.length-2];n.label=Io(t),n.identifier=ji(t).toLowerCase()},lineEnding:function(e){const n=this.stack[this.stack.length-1];if(o("atHardBreak"))return n.children[n.children.length-1].position.end=Mo(e.end),void i("atHardBreak");!o("setextHeadingSlurpLineEnding")&&t.canContainEols.includes(n.type)&&(p.call(this,e),d.call(this,e))},link:c((function(){const e=this.stack[this.stack.length-1];if(o("inReference")){const t=o("referenceType")||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;i("referenceType")})),listItem:c(),listOrdered:c(),listUnordered:c(),paragraph:c(),referenceString:function(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=ji(this.sliceSerialize(e)).toLowerCase(),i("referenceType","full")},resourceDestinationString:function(){const e=this.resume();this.stack[this.stack.length-1].url=e},resourceTitleString:function(){const e=this.resume();this.stack[this.stack.length-1].title=e},resource:function(){i("inReference")},setextHeading:c((function(){i("setextHeadingSlurpLineEnding")})),setextHeadingLineSequence:function(e){this.stack[this.stack.length-1].depth=61===this.sliceSerialize(e).charCodeAt(0)?1:2},setextHeadingText:function(){i("setextHeadingSlurpLineEnding",!0)},strong:c(),thematicBreak:c()}};Fo(t,(e||{}).mdastExtensions||[]);const n={};return function(e){let n={type:"root",children:[]};const a={stack:[n],tokenStack:[],config:t,enter:l,exit:u,buffer:s,resume:h,setData:i,getData:o},c=[];let p=-1;for(;++p<e.length;)"listOrdered"!==e[p][1].type&&"listUnordered"!==e[p][1].type||("enter"===e[p][0]?c.push(p):p=r(e,c.pop(),p));for(p=-1;++p<e.length;){const n=t[e[p][0]];Do.call(n,e[p][1].type)&&n[e[p][1].type].call(Object.assign({sliceSerialize:e[p][2].sliceSerialize},a),e[p][1])}if(a.tokenStack.length>0){const e=a.tokenStack[a.tokenStack.length-1];(e[1]||Bo).call(a,void 0,e[0])}for(n.position={start:Mo(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:Mo(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},p=-1;++p<t.transforms.length;)n=t.transforms[p](n)||n;return n};function r(e,t,n){let r,i,o,a,s=t-1,l=-1,c=!1;for(;++s<=n;){const t=e[s];if("listUnordered"===t[1].type||"listOrdered"===t[1].type||"blockQuote"===t[1].type?("enter"===t[0]?l++:l--,a=void 0):"lineEndingBlank"===t[1].type?"enter"===t[0]&&(!r||a||l||o||(o=s),a=void 0):"linePrefix"===t[1].type||"listItemValue"===t[1].type||"listItemMarker"===t[1].type||"listItemPrefix"===t[1].type||"listItemPrefixWhitespace"===t[1].type||(a=void 0),!l&&"enter"===t[0]&&"listItemPrefix"===t[1].type||-1===l&&"exit"===t[0]&&("listUnordered"===t[1].type||"listOrdered"===t[1].type)){if(r){let a=s;for(i=void 0;a--;){const t=e[a];if("lineEnding"===t[1].type||"lineEndingBlank"===t[1].type){if("exit"===t[0])continue;i&&(e[i][1].type="lineEndingBlank",c=!0),t[1].type="lineEnding",i=a}else if("linePrefix"!==t[1].type&&"blockQuotePrefix"!==t[1].type&&"blockQuotePrefixWhitespace"!==t[1].type&&"blockQuoteMarker"!==t[1].type&&"listItemIndent"!==t[1].type)break}o&&(!i||o<i)&&(r._spread=!0),r.end=Object.assign({},i?e[i][1].start:t[1].end),e.splice(i||s,0,["exit",r,t[2]]),s++,n++}"listItemPrefix"===t[1].type&&(r={type:"listItem",_spread:!1,start:Object.assign({},t[1].start),end:void 0},e.splice(s,0,["enter",r,t[2]]),s++,n++,o=void 0,a=!0)}}return e[t][1]._spread=c,n}function i(e,t){n[e]=t}function o(e){return n[e]}function a(e,t){return function(n){l.call(this,e(n),n),t&&t.call(this,n)}}function s(){this.stack.push({type:"fragment",children:[]})}function l(e,t,n){return this.stack[this.stack.length-1].children.push(e),this.stack.push(e),this.tokenStack.push([t,n]),e.position={start:Mo(t.start)},e}function c(e){return function(t){e&&e.call(this,t),u.call(this,t)}}function u(e,t){const n=this.stack.pop(),r=this.tokenStack.pop();if(!r)throw new Error("Cannot close `"+e.type+"` ("+gr({start:e.start,end:e.end})+"): it’s not open");return r[0].type!==e.type&&(t?t.call(this,e,r[0]):(r[1]||Bo).call(this,e,r[0])),n.position.end=Mo(e.end),n}function h(){return function(e,t){return Vr(e,"boolean"!=typeof Wr.includeImageAlt||Wr.includeImageAlt,"boolean"!=typeof Wr.includeHtml||Wr.includeHtml)}(this.stack.pop())}function p(e){const t=this.stack[this.stack.length-1];let n=t.children[t.children.length-1];n&&"text"===n.type||(n={type:"text",value:""},n.position={start:Mo(e.start)},t.children.push(n)),this.stack.push(n)}function d(e){const t=this.stack.pop();t.value+=this.sliceSerialize(e),t.position.end=Mo(e.end)}function f(){i("atHardBreak",!0)}function m(e){i("characterReferenceType",e.type)}function g(){return{type:"code",lang:null,meta:null,value:""}}function y(){return{type:"heading",depth:void 0,children:[]}}function v(){return{type:"break"}}function _(){return{type:"html",value:""}}function b(){return{type:"link",title:null,url:"",children:[]}}function E(e){return{type:"list",ordered:"listOrdered"===e.type,start:null,spread:e._spread,children:[]}}}(r)(function(e){for(;!_i(e););return e}(function(t){const n={defined:[],lazy:{},constructs:Qr([e,...(t||{}).extensions||[]]),content:r(mi),document:r(gi),flow:r(xi),string:r(Ci),text:r(Ai)};return n;function r(e){return function(t){return Ni(n,e,t)}}}(r).document().write(function(){let e,t=1,n="",r=!0;return function(i,o,a){const s=[];let l,c,u,h,p;for(i=n+i.toString(o),u=0,n="",r&&(65279===i.charCodeAt(0)&&u++,r=void 0);u<i.length;){if(Lo.lastIndex=u,l=Lo.exec(i),h=l&&void 0!==l.index?l.index:i.length,p=i.charCodeAt(h),!l){n=i.slice(u);break}if(10===p&&u===h&&e)s.push(-3),e=void 0;else switch(e&&(s.push(-5),e=void 0),u<h&&(s.push(i.slice(u,h)),t+=h-u),p){case 0:s.push(65533),t++;break;case 9:for(c=4*Math.ceil(t/4),s.push(-2);t++<c;)s.push(-1);break;case 10:s.push(-4),t=1;break;default:e=!0,t=1}u=h+1}return a&&(e&&s.push(-5),n&&s.push(n),s.push(null)),s}}()(t,n,!0))))};function Mo(e){return{line:e.line,column:e.column,offset:e.offset}}function Fo(e,t){let n=-1;for(;++n<t.length;){const r=t[n];Array.isArray(r)?Fo(e,r):Ho(e,r)}}function Ho(e,t){let n;for(n in t)if(Do.call(t,n))if("canContainEols"===n){const r=t[n];r&&e[n].push(...r)}else if("transforms"===n){const r=t[n];r&&e[n].push(...r)}else if("enter"===n||"exit"===n){const r=t[n];r&&Object.assign(e[n],r)}}function Bo(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+gr({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+gr({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+gr({start:t.start,end:t.end})+") is still open")}function Uo(e){Object.assign(this,{Parser:t=>{const n=this.data("settings");return Po(t,Object.assign({},n,e,{extensions:this.data("micromarkExtensions")||[],mdastExtensions:this.data("fromMarkdownExtensions")||[]}))}})}function jo(e){const t=[];let n=-1,r=0,i=0;for(;++n<e.length;){const o=e.charCodeAt(n);let a="";if(37===o&&ni(e.charCodeAt(n+1))&&ni(e.charCodeAt(n+2)))i=2;else if(o<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(o))||(a=String.fromCharCode(o));else if(o>55295&&o<57344){const t=e.charCodeAt(n+1);o<56320&&t>56319&&t<57344?(a=String.fromCharCode(o,t),i=1):a="�"}else a=String.fromCharCode(o);a&&(t.push(e.slice(r,n),encodeURIComponent(a)),r=n+i+1,a=""),i&&(n+=i,i=0)}return t.join("")+e.slice(r)}const Go=function(e){if(null==e)return zo;if("string"==typeof e)return t=e,Yo((function(e){return e&&e.type===t}));var t;if("object"==typeof e)return Array.isArray(e)?function(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=Go(e[n]);return Yo((function(...e){let n=-1;for(;++n<t.length;)if(t[n].call(this,...e))return!0;return!1}))}(e):function(e){return Yo((function(t){let n;for(n in e)if(t[n]!==e[n])return!1;return!0}))}(e);if("function"==typeof e)return Yo(e);throw new Error("Expected function, string, or object as test")};function Yo(e){return function(t,...n){return Boolean(t&&"object"==typeof t&&"type"in t&&Boolean(e.call(this,t,...n)))}}function zo(){return!0}const $o=!1,Wo="skip",Vo=function(e,t,n,r){"function"==typeof t&&"function"!=typeof n&&(r=n,n=t,t=null);const i=Go(t),o=r?-1:1;!function e(a,s,l){const c=a&&"object"==typeof a?a:{};if("string"==typeof c.type){const e="string"==typeof c.tagName?c.tagName:"string"==typeof c.name?c.name:void 0;Object.defineProperty(u,"name",{value:"node ("+a.type+(e?"<"+e+">":"")+")"})}return u;function u(){let c,u,h,p=[];if((!t||i(a,s,l[l.length-1]||null))&&(p=function(e){return Array.isArray(e)?e:"number"==typeof e?[!0,e]:[e]}(n(a,l)),p[0]===$o))return p;if(a.children&&p[0]!==Wo)for(u=(r?a.children.length:-1)+o,h=l.concat(a);u>-1&&u<a.children.length;){if(c=e(a.children[u],u,h)(),c[0]===$o)return c;u="number"==typeof c[1]?c[1]:u+o}return p}}(e,void 0,[])()},Ko=function(e,t,n,r){"function"==typeof t&&"function"!=typeof n&&(r=n,n=t,t=null),Vo(e,t,(function(e,t){const r=t[t.length-1];return n(e,r?r.children.indexOf(e):null,r)}),r)},qo=Zo("start"),Xo=Zo("end");function Zo(e){return function(t){const n=t&&t.position&&t.position[e]||{};return{line:n.line||null,column:n.column||null,offset:n.offset>-1?n.offset:null}}}const Qo={}.hasOwnProperty;function Jo(e){return String(e||"").toUpperCase()}function ea(e,t){const n=String(t.identifier).toUpperCase(),r=jo(n.toLowerCase()),i=e.footnoteOrder.indexOf(n);let o;-1===i?(e.footnoteOrder.push(n),e.footnoteCounts[n]=1,o=e.footnoteOrder.length):(e.footnoteCounts[n]++,o=i+1);const a=e.footnoteCounts[n],s={type:"element",tagName:"a",properties:{href:"#"+e.clobberPrefix+"fn-"+r,id:e.clobberPrefix+"fnref-"+r+(a>1?"-"+a:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(o)}]};e.patch(t,s);const l={type:"element",tagName:"sup",properties:{},children:[s]};return e.patch(t,l),e.applyData(t,l)}function ta(e,t){const n=t.referenceType;let r="]";if("collapsed"===n?r+="[]":"full"===n&&(r+="["+(t.label||t.identifier)+"]"),"imageReference"===t.type)return{type:"text",value:"!["+t.alt+r};const i=e.all(t),o=i[0];o&&"text"===o.type?o.value="["+o.value:i.unshift({type:"text",value:"["});const a=i[i.length-1];return a&&"text"===a.type?a.value+=r:i.push({type:"text",value:r}),i}function na(e){const t=e.spread;return null==t?e.children.length>1:t}const ra=9,ia=32;function oa(e){const t=String(e),n=/\r?\n|\r/g;let r=n.exec(t),i=0;const o=[];for(;r;)o.push(aa(t.slice(i,r.index),i>0,!0),r[0]),i=r.index+r[0].length,r=n.exec(t);return o.push(aa(t.slice(i),i>0,!1)),o.join("")}function aa(e,t,n){let r=0,i=e.length;if(t){let t=e.codePointAt(r);for(;t===ra||t===ia;)r++,t=e.codePointAt(r)}if(n){let t=e.codePointAt(i-1);for(;t===ra||t===ia;)i--,t=e.codePointAt(i-1)}return i>r?e.slice(r,i):""}const sa={blockquote:function(e,t){const n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)},break:function(e,t){const n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:"\n"}]},code:function(e,t){const n=t.value?t.value+"\n":"",r=t.lang?t.lang.match(/^[^ \t]+(?=[ \t]|$)/):null,i={};r&&(i.className=["language-"+r]);let o={type:"element",tagName:"code",properties:i,children:[{type:"text",value:n}]};return t.meta&&(o.data={meta:t.meta}),e.patch(t,o),o=e.applyData(t,o),o={type:"element",tagName:"pre",properties:{},children:[o]},e.patch(t,o),o},delete:function(e,t){const n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},emphasis:function(e,t){const n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},footnoteReference:ea,footnote:function(e,t){const n=e.footnoteById;let r=1;for(;r in n;)r++;const i=String(r);return n[i]={type:"footnoteDefinition",identifier:i,children:[{type:"paragraph",children:t.children}],position:t.position},ea(e,{type:"footnoteReference",identifier:i,position:t.position})},heading:function(e,t){const n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},html:function(e,t){if(e.dangerous){const n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}return null},imageReference:function(e,t){const n=e.definition(t.identifier);if(!n)return ta(e,t);const r={src:jo(n.url||""),alt:t.alt};null!==n.title&&void 0!==n.title&&(r.title=n.title);const i={type:"element",tagName:"img",properties:r,children:[]};return e.patch(t,i),e.applyData(t,i)},image:function(e,t){const n={src:jo(t.url)};null!==t.alt&&void 0!==t.alt&&(n.alt=t.alt),null!==t.title&&void 0!==t.title&&(n.title=t.title);const r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)},inlineCode:function(e,t){const n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);const r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)},linkReference:function(e,t){const n=e.definition(t.identifier);if(!n)return ta(e,t);const r={href:jo(n.url||"")};null!==n.title&&void 0!==n.title&&(r.title=n.title);const i={type:"element",tagName:"a",properties:r,children:e.all(t)};return e.patch(t,i),e.applyData(t,i)},link:function(e,t){const n={href:jo(t.url)};null!==t.title&&void 0!==t.title&&(n.title=t.title);const r={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)},listItem:function(e,t,n){const r=e.all(t),i=n?function(e){let t=!1;if("list"===e.type){t=e.spread||!1;const n=e.children;let r=-1;for(;!t&&++r<n.length;)t=na(n[r])}return t}(n):na(t),o={},a=[];if("boolean"==typeof t.checked){const e=r[0];let n;e&&"element"===e.type&&"p"===e.tagName?n=e:(n={type:"element",tagName:"p",properties:{},children:[]},r.unshift(n)),n.children.length>0&&n.children.unshift({type:"text",value:" "}),n.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),o.className=["task-list-item"]}let s=-1;for(;++s<r.length;){const e=r[s];(i||0!==s||"element"!==e.type||"p"!==e.tagName)&&a.push({type:"text",value:"\n"}),"element"!==e.type||"p"!==e.tagName||i?a.push(e):a.push(...e.children)}const l=r[r.length-1];l&&(i||"element"!==l.type||"p"!==l.tagName)&&a.push({type:"text",value:"\n"});const c={type:"element",tagName:"li",properties:o,children:a};return e.patch(t,c),e.applyData(t,c)},list:function(e,t){const n={},r=e.all(t);let i=-1;for("number"==typeof t.start&&1!==t.start&&(n.start=t.start);++i<r.length;){const e=r[i];if("element"===e.type&&"li"===e.tagName&&e.properties&&Array.isArray(e.properties.className)&&e.properties.className.includes("task-list-item")){n.className=["contains-task-list"];break}}const o={type:"element",tagName:t.ordered?"ol":"ul",properties:n,children:e.wrap(r,!0)};return e.patch(t,o),e.applyData(t,o)},paragraph:function(e,t){const n={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},root:function(e,t){const n={type:"root",children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)},strong:function(e,t){const n={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},table:function(e,t){const n=e.all(t),r=n.shift(),i=[];if(r){const n={type:"element",tagName:"thead",properties:{},children:e.wrap([r],!0)};e.patch(t.children[0],n),i.push(n)}if(n.length>0){const r={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},o=qo(t.children[1]),a=Xo(t.children[t.children.length-1]);o.line&&a.line&&(r.position={start:o,end:a}),i.push(r)}const o={type:"element",tagName:"table",properties:{},children:e.wrap(i,!0)};return e.patch(t,o),e.applyData(t,o)},tableCell:function(e,t){const n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},tableRow:function(e,t,n){const r=n?n.children:void 0,i=0===(r?r.indexOf(t):1)?"th":"td",o=n&&"table"===n.type?n.align:void 0,a=o?o.length:t.children.length;let s=-1;const l=[];for(;++s<a;){const n=t.children[s],r={},a=o?o[s]:void 0;a&&(r.align=a);let c={type:"element",tagName:i,properties:r,children:[]};n&&(c.children=e.all(n),e.patch(n,c),c=e.applyData(t,c)),l.push(c)}const c={type:"element",tagName:"tr",properties:{},children:e.wrap(l,!0)};return e.patch(t,c),e.applyData(t,c)},text:function(e,t){const n={type:"text",value:oa(String(t.value))};return e.patch(t,n),e.applyData(t,n)},thematicBreak:function(e,t){const n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)},toml:la,yaml:la,definition:la,footnoteDefinition:la};function la(){return null}const ca={}.hasOwnProperty;function ua(e,t){var n;e.position&&(t.position={start:qo(n=e),end:Xo(n)})}function ha(e,t){let n=t;if(e&&e.data){const t=e.data.hName,r=e.data.hChildren,i=e.data.hProperties;"string"==typeof t&&("element"===n.type?n.tagName=t:n={type:"element",tagName:t,properties:{},children:[]}),"element"===n.type&&i&&(n.properties={...n.properties,...i}),"children"in n&&n.children&&null!=r&&(n.children=r)}return n}function pa(e,t,n){const r=t&&t.type;if(!r)throw new Error("Expected node, got `"+t+"`");return ca.call(e.handlers,r)?e.handlers[r](e,t,n):e.passThrough&&e.passThrough.includes(r)?"children"in t?{...t,children:da(e,t)}:t:e.unknownHandler?e.unknownHandler(e,t,n):function(e,t){const n=t.data||{},r=!("value"in t)||ca.call(n,"hProperties")||ca.call(n,"hChildren")?{type:"element",tagName:"div",properties:{},children:da(e,t)}:{type:"text",value:t.value};return e.patch(t,r),e.applyData(t,r)}(e,t)}function da(e,t){const n=[];if("children"in t){const r=t.children;let i=-1;for(;++i<r.length;){const o=pa(e,r[i],t);if(o){if(i&&"break"===r[i-1].type&&(Array.isArray(o)||"text"!==o.type||(o.value=o.value.replace(/^\s+/,"")),!Array.isArray(o)&&"element"===o.type)){const e=o.children[0];e&&"text"===e.type&&(e.value=e.value.replace(/^\s+/,""))}Array.isArray(o)?n.push(...o):n.push(o)}}}return n}function fa(e,t){const n=[];let r=-1;for(t&&n.push({type:"text",value:"\n"});++r<e.length;)r&&n.push({type:"text",value:"\n"}),n.push(e[r]);return t&&e.length>0&&n.push({type:"text",value:"\n"}),n}function ma(e,t){const n=function(e,t){const n=t||{},r=n.allowDangerousHtml||!1,i={};return a.dangerous=r,a.clobberPrefix=void 0===n.clobberPrefix||null===n.clobberPrefix?"user-content-":n.clobberPrefix,a.footnoteLabel=n.footnoteLabel||"Footnotes",a.footnoteLabelTagName=n.footnoteLabelTagName||"h2",a.footnoteLabelProperties=n.footnoteLabelProperties||{className:["sr-only"]},a.footnoteBackLabel=n.footnoteBackLabel||"Back to content",a.unknownHandler=n.unknownHandler,a.passThrough=n.passThrough,a.handlers={...sa,...n.handlers},a.definition=function(e){const t=Object.create(null);if(!e||!e.type)throw new Error("mdast-util-definitions expected node");return Ko(e,"definition",(e=>{const n=Jo(e.identifier);n&&!Qo.call(t,n)&&(t[n]=e)})),function(e){const n=Jo(e);return n&&Qo.call(t,n)?t[n]:null}}(e),a.footnoteById=i,a.footnoteOrder=[],a.footnoteCounts={},a.patch=ua,a.applyData=ha,a.one=function(e,t){return pa(a,e,t)},a.all=function(e){return da(a,e)},a.wrap=fa,a.augment=o,Ko(e,"footnoteDefinition",(e=>{const t=String(e.identifier).toUpperCase();ca.call(i,t)||(i[t]=e)})),a;function o(e,t){if(e&&"data"in e&&e.data){const n=e.data;n.hName&&("element"!==t.type&&(t={type:"element",tagName:"",properties:{},children:[]}),t.tagName=n.hName),"element"===t.type&&n.hProperties&&(t.properties={...t.properties,...n.hProperties}),"children"in t&&t.children&&n.hChildren&&(t.children=n.hChildren)}if(e){const r="type"in e?e:{position:e};!((n=r)&&n.position&&n.position.start&&n.position.start.line&&n.position.start.column&&n.position.end&&n.position.end.line&&n.position.end.column)||(t.position={start:qo(r),end:Xo(r)})}var n;return t}function a(e,t,n,r){return Array.isArray(n)&&(r=n,n={}),o(e,{type:"element",tagName:t,properties:n||{},children:r||[]})}}(e,t),r=n.one(e,null),i=function(e){const t=[];let n=-1;for(;++n<e.footnoteOrder.length;){const r=e.footnoteById[e.footnoteOrder[n]];if(!r)continue;const i=e.all(r),o=String(r.identifier).toUpperCase(),a=jo(o.toLowerCase());let s=0;const l=[];for(;++s<=e.footnoteCounts[o];){const t={type:"element",tagName:"a",properties:{href:"#"+e.clobberPrefix+"fnref-"+a+(s>1?"-"+s:""),dataFootnoteBackref:!0,className:["data-footnote-backref"],ariaLabel:e.footnoteBackLabel},children:[{type:"text",value:"↩"}]};s>1&&t.children.push({type:"element",tagName:"sup",children:[{type:"text",value:String(s)}]}),l.length>0&&l.push({type:"text",value:" "}),l.push(t)}const c=i[i.length-1];if(c&&"element"===c.type&&"p"===c.tagName){const e=c.children[c.children.length-1];e&&"text"===e.type?e.value+=" ":c.children.push({type:"text",value:" "}),c.children.push(...l)}else i.push(...l);const u={type:"element",tagName:"li",properties:{id:e.clobberPrefix+"fn-"+a},children:e.wrap(i,!0)};e.patch(r,u),t.push(u)}if(0!==t.length)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:e.footnoteLabelTagName,properties:{...JSON.parse(JSON.stringify(e.footnoteLabelProperties)),id:"footnote-label"},children:[{type:"text",value:e.footnoteLabel}]},{type:"text",value:"\n"},{type:"element",tagName:"ol",properties:{},children:e.wrap(t,!0)},{type:"text",value:"\n"}]}}(n);return i&&r.children.push({type:"text",value:"\n"},i),Array.isArray(r)?{type:"root",children:r}:r}const ga=function(e,t){return e&&"run"in e?function(e,t){return(n,r,i)=>{e.run(ma(n,t),r,(e=>{i(e)}))}}(e,t):function(e){return t=>ma(t,e)}(e||t)};var ya=u(7862);class va{constructor(e,t,n){this.property=e,this.normal=t,n&&(this.space=n)}}function _a(e,t){const n={},r={};let i=-1;for(;++i<e.length;)Object.assign(n,e[i].property),Object.assign(r,e[i].normal);return new va(n,r,t)}function ba(e){return e.toLowerCase()}va.prototype.property={},va.prototype.normal={},va.prototype.space=null;class Ea{constructor(e,t){this.property=e,this.attribute=t}}Ea.prototype.space=null,Ea.prototype.boolean=!1,Ea.prototype.booleanish=!1,Ea.prototype.overloadedBoolean=!1,Ea.prototype.number=!1,Ea.prototype.commaSeparated=!1,Ea.prototype.spaceSeparated=!1,Ea.prototype.commaOrSpaceSeparated=!1,Ea.prototype.mustUseProperty=!1,Ea.prototype.defined=!1;let Ta=0;const xa=Oa(),Sa=Oa(),Ca=Oa(),Aa=Oa(),Ra=Oa(),wa=Oa(),La=Oa();function Oa(){return 2**++Ta}const Na=Object.keys(t);class Ia extends Ea{constructor(e,n,r,i){let o=-1;if(super(e,n),ka(this,"space",i),"number"==typeof r)for(;++o<Na.length;){const e=Na[o];ka(this,Na[o],(r&t[e])===t[e])}}}function ka(e,t,n){n&&(e[t]=n)}Ia.prototype.defined=!0;const Da={}.hasOwnProperty;function Pa(e){const t={},n={};let r;for(r in e.properties)if(Da.call(e.properties,r)){const i=e.properties[r],o=new Ia(r,e.transform(e.attributes||{},r),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(o.mustUseProperty=!0),t[r]=o,n[ba(r)]=r,n[ba(o.attribute)]=r}return new va(t,n,e.space)}const Ma=Pa({space:"xlink",transform:(e,t)=>"xlink:"+t.slice(5).toLowerCase(),properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),Fa=Pa({space:"xml",transform:(e,t)=>"xml:"+t.slice(3).toLowerCase(),properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function Ha(e,t){return t in e?e[t]:t}function Ba(e,t){return Ha(e,t.toLowerCase())}const Ua=Pa({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:Ba,properties:{xmlns:null,xmlnsXLink:null}}),ja=Pa({transform:(e,t)=>"role"===t?t:"aria-"+t.slice(4).toLowerCase(),properties:{ariaActiveDescendant:null,ariaAtomic:Sa,ariaAutoComplete:null,ariaBusy:Sa,ariaChecked:Sa,ariaColCount:Aa,ariaColIndex:Aa,ariaColSpan:Aa,ariaControls:Ra,ariaCurrent:null,ariaDescribedBy:Ra,ariaDetails:null,ariaDisabled:Sa,ariaDropEffect:Ra,ariaErrorMessage:null,ariaExpanded:Sa,ariaFlowTo:Ra,ariaGrabbed:Sa,ariaHasPopup:null,ariaHidden:Sa,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Ra,ariaLevel:Aa,ariaLive:null,ariaModal:Sa,ariaMultiLine:Sa,ariaMultiSelectable:Sa,ariaOrientation:null,ariaOwns:Ra,ariaPlaceholder:null,ariaPosInSet:Aa,ariaPressed:Sa,ariaReadOnly:Sa,ariaRelevant:null,ariaRequired:Sa,ariaRoleDescription:Ra,ariaRowCount:Aa,ariaRowIndex:Aa,ariaRowSpan:Aa,ariaSelected:Sa,ariaSetSize:Aa,ariaSort:null,ariaValueMax:Aa,ariaValueMin:Aa,ariaValueNow:Aa,ariaValueText:null,role:null}}),Ga=Pa({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:Ba,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:wa,acceptCharset:Ra,accessKey:Ra,action:null,allow:null,allowFullScreen:xa,allowPaymentRequest:xa,allowUserMedia:xa,alt:null,as:null,async:xa,autoCapitalize:null,autoComplete:Ra,autoFocus:xa,autoPlay:xa,capture:xa,charSet:null,checked:xa,cite:null,className:Ra,cols:Aa,colSpan:null,content:null,contentEditable:Sa,controls:xa,controlsList:Ra,coords:Aa|wa,crossOrigin:null,data:null,dateTime:null,decoding:null,default:xa,defer:xa,dir:null,dirName:null,disabled:xa,download:Ca,draggable:Sa,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:xa,formTarget:null,headers:Ra,height:Aa,hidden:xa,high:Aa,href:null,hrefLang:null,htmlFor:Ra,httpEquiv:Ra,id:null,imageSizes:null,imageSrcSet:null,inputMode:null,integrity:null,is:null,isMap:xa,itemId:null,itemProp:Ra,itemRef:Ra,itemScope:xa,itemType:Ra,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:xa,low:Aa,manifest:null,max:null,maxLength:Aa,media:null,method:null,min:null,minLength:Aa,multiple:xa,muted:xa,name:null,nonce:null,noModule:xa,noValidate:xa,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:xa,optimum:Aa,pattern:null,ping:Ra,placeholder:null,playsInline:xa,poster:null,preload:null,readOnly:xa,referrerPolicy:null,rel:Ra,required:xa,reversed:xa,rows:Aa,rowSpan:Aa,sandbox:Ra,scope:null,scoped:xa,seamless:xa,selected:xa,shape:null,size:Aa,sizes:null,slot:null,span:Aa,spellCheck:Sa,src:null,srcDoc:null,srcLang:null,srcSet:null,start:Aa,step:null,style:null,tabIndex:Aa,target:null,title:null,translate:null,type:null,typeMustMatch:xa,useMap:null,value:Sa,width:Aa,wrap:null,align:null,aLink:null,archive:Ra,axis:null,background:null,bgColor:null,border:Aa,borderColor:null,bottomMargin:Aa,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:xa,declare:xa,event:null,face:null,frame:null,frameBorder:null,hSpace:Aa,leftMargin:Aa,link:null,longDesc:null,lowSrc:null,marginHeight:Aa,marginWidth:Aa,noResize:xa,noHref:xa,noShade:xa,noWrap:xa,object:null,profile:null,prompt:null,rev:null,rightMargin:Aa,rules:null,scheme:null,scrolling:Sa,standby:null,summary:null,text:null,topMargin:Aa,valueType:null,version:null,vAlign:null,vLink:null,vSpace:Aa,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:xa,disableRemotePlayback:xa,prefix:null,property:null,results:Aa,security:null,unselectable:null}}),Ya=Pa({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:Ha,properties:{about:La,accentHeight:Aa,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:Aa,amplitude:Aa,arabicForm:null,ascent:Aa,attributeName:null,attributeType:null,azimuth:Aa,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:Aa,by:null,calcMode:null,capHeight:Aa,className:Ra,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:Aa,diffuseConstant:Aa,direction:null,display:null,dur:null,divisor:Aa,dominantBaseline:null,download:xa,dx:null,dy:null,edgeMode:null,editable:null,elevation:Aa,enableBackground:null,end:null,event:null,exponent:Aa,externalResourcesRequired:null,fill:null,fillOpacity:Aa,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:wa,g2:wa,glyphName:wa,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:Aa,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:Aa,horizOriginX:Aa,horizOriginY:Aa,id:null,ideographic:Aa,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:Aa,k:Aa,k1:Aa,k2:Aa,k3:Aa,k4:Aa,kernelMatrix:La,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:Aa,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:Aa,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:Aa,overlineThickness:Aa,paintOrder:null,panose1:null,path:null,pathLength:Aa,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Ra,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:Aa,pointsAtY:Aa,pointsAtZ:Aa,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:La,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:La,rev:La,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:La,requiredFeatures:La,requiredFonts:La,requiredFormats:La,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:Aa,specularExponent:Aa,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:Aa,strikethroughThickness:Aa,string:null,stroke:null,strokeDashArray:La,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:Aa,strokeOpacity:Aa,strokeWidth:null,style:null,surfaceScale:Aa,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:La,tabIndex:Aa,tableValues:null,target:null,targetX:Aa,targetY:Aa,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:La,to:null,transform:null,u1:null,u2:null,underlinePosition:Aa,underlineThickness:Aa,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:Aa,values:null,vAlphabetic:Aa,vMathematical:Aa,vectorEffect:null,vHanging:Aa,vIdeographic:Aa,version:null,vertAdvY:Aa,vertOriginX:Aa,vertOriginY:Aa,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:Aa,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),za=_a([Fa,Ma,Ua,ja,Ga],"html"),$a=_a([Fa,Ma,Ua,ja,Ya],"svg");function Wa(e){if(e.allowedElements&&e.disallowedElements)throw new TypeError("Only one of `allowedElements` and `disallowedElements` should be defined");if(e.allowedElements||e.disallowedElements||e.allowElement)return t=>{Ko(t,"element",((t,n,r)=>{const i=r;let o;if(e.allowedElements?o=!e.allowedElements.includes(t.tagName):e.disallowedElements&&(o=e.disallowedElements.includes(t.tagName)),!o&&e.allowElement&&"number"==typeof n&&(o=!e.allowElement(t,n,i)),o&&"number"==typeof n)return e.unwrapDisallowed&&t.children?i.children.splice(n,1,...t.children):i.children.splice(n,1),n}))}}var Va=u(9999);function Ka(e){const t=e&&"object"==typeof e&&"text"===e.type?e.value||"":e;return"string"==typeof t&&""===t.replace(/[ \t\n\f\r]/g,"")}const qa=/^data[-\w.:]+$/i,Xa=/-[a-z]/g,Za=/[A-Z]/g;function Qa(e,t){const n=ba(t);let r=t,i=Ea;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&"data"===n.slice(0,4)&&qa.test(t)){if("-"===t.charAt(4)){const e=t.slice(5).replace(Xa,es);r="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{const e=t.slice(4);if(!Xa.test(e)){let n=e.replace(Za,Ja);"-"!==n.charAt(0)&&(n="-"+n),t="data"+n}}i=Ia}return new i(r,t)}function Ja(e){return"-"+e.toLowerCase()}function es(e){return e.charAt(1).toUpperCase()}const ts={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"};function ns(e){const t=String(e||"").trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function rs(e){return e.join(" ").trim()}function is(e){const t=[],n=String(e||"");let r=n.indexOf(","),i=0,o=!1;for(;!o;){-1===r&&(r=n.length,o=!0);const e=n.slice(i,r).trim();!e&&o||t.push(e),i=r+1,r=n.indexOf(",",i)}return t}function os(e,t){const n=t||{};return(""===e[e.length-1]?[...e,""]:e).join((n.padRight?" ":"")+","+(!1===n.padLeft?"":" ")).trim()}const as=u(9826),ss=["http","https","mailto","tel"];function ls(e){const t=(e||"").trim(),n=t.charAt(0);if("#"===n||"/"===n)return t;const r=t.indexOf(":");if(-1===r)return t;let i=-1;for(;++i<ss.length;){const e=ss[i];if(r===e.length&&t.slice(0,e.length).toLowerCase()===e)return t}return i=t.indexOf("?"),-1!==i&&r>i?t:(i=t.indexOf("#"),-1!==i&&r>i?t:"javascript:void(0)")}const cs={}.hasOwnProperty,us=new Set(["table","thead","tbody","tfoot","tr"]);function hs(e,t){const n=[];let r,i=-1;for(;++i<t.children.length;)r=t.children[i],"element"===r.type?n.push(ps(e,r,i,t)):"text"===r.type?"element"===t.type&&us.has(t.tagName)&&Ka(r)||n.push(r.value):"raw"!==r.type||e.options.skipHtml||n.push(r.value);return n}function ps(e,t,n,r){const i=e.options,o=void 0===i.transformLinkUri?ls:i.transformLinkUri,a=e.schema,s=t.tagName,l={};let c,u=a;if("html"===a.space&&"svg"===s&&(u=$a,e.schema=u),t.properties)for(c in t.properties)cs.call(t.properties,c)&&fs(l,c,t.properties[c],e);"ol"!==s&&"ul"!==s||e.listDepth++;const h=hs(e,t);"ol"!==s&&"ul"!==s||e.listDepth--,e.schema=a;const p=t.position||{start:{line:null,column:null,offset:null},end:{line:null,column:null,offset:null}},d=i.components&&cs.call(i.components,s)?i.components[s]:s,f="string"==typeof d||d===m.Fragment;if(!Va.isValidElementType(d))throw new TypeError(`Component for name \`${s}\` not defined or is not renderable`);if(l.key=n,"a"===s&&i.linkTarget&&(l.target="function"==typeof i.linkTarget?i.linkTarget(String(l.href||""),t.children,"string"==typeof l.title?l.title:null):i.linkTarget),"a"===s&&o&&(l.href=o(String(l.href||""),t.children,"string"==typeof l.title?l.title:null)),f||"code"!==s||"element"!==r.type||"pre"===r.tagName||(l.inline=!0),f||"h1"!==s&&"h2"!==s&&"h3"!==s&&"h4"!==s&&"h5"!==s&&"h6"!==s||(l.level=Number.parseInt(s.charAt(1),10)),"img"===s&&i.transformImageUri&&(l.src=i.transformImageUri(String(l.src||""),String(l.alt||""),"string"==typeof l.title?l.title:null)),!f&&"li"===s&&"element"===r.type){const e=function(e){let t=-1;for(;++t<e.children.length;){const n=e.children[t];if("element"===n.type&&"input"===n.tagName)return n}return null}(t);l.checked=e&&e.properties?Boolean(e.properties.checked):null,l.index=ds(r,t),l.ordered="ol"===r.tagName}var g;return f||"ol"!==s&&"ul"!==s||(l.ordered="ol"===s,l.depth=e.listDepth),"td"!==s&&"th"!==s||(l.align&&(l.style||(l.style={}),l.style.textAlign=l.align,delete l.align),f||(l.isHeader="th"===s)),f||"tr"!==s||"element"!==r.type||(l.isHeader=Boolean("thead"===r.tagName)),i.sourcePos&&(l["data-sourcepos"]=[(g=p).start.line,":",g.start.column,"-",g.end.line,":",g.end.column].map(String).join("")),!f&&i.rawSourcePos&&(l.sourcePosition=t.position),!f&&i.includeElementIndex&&(l.index=ds(r,t),l.siblingCount=ds(r)),f||(l.node=t),h.length>0?m.createElement(d,l,h):m.createElement(d,l)}function ds(e,t){let n=-1,r=0;for(;++n<e.children.length&&e.children[n]!==t;)"element"===e.children[n].type&&r++;return r}function fs(e,t,n,r){const i=Qa(r.schema,t);let o=n;null!=o&&o==o&&(Array.isArray(o)&&(o=i.commaSeparated?os(o):rs(o)),"style"===i.property&&"string"==typeof o&&(o=function(e){const t={};try{as(e,(function(e,n){const r="-ms-"===e.slice(0,4)?`ms-${e.slice(4)}`:e;t[r.replace(/-([a-z])/g,ms)]=n}))}catch{}return t}(o)),i.space&&i.property?e[cs.call(ts,i.property)?ts[i.property]:i.property]=o:i.attribute&&(e[i.attribute]=o))}function ms(e,t){return t.toUpperCase()}const gs={}.hasOwnProperty,ys={plugins:{to:"remarkPlugins",id:"change-plugins-to-remarkplugins"},renderers:{to:"components",id:"change-renderers-to-components"},astPlugins:{id:"remove-buggy-html-in-markdown-parser"},allowDangerousHtml:{id:"remove-buggy-html-in-markdown-parser"},escapeHtml:{id:"remove-buggy-html-in-markdown-parser"},source:{to:"children",id:"change-source-to-children"},allowNode:{to:"allowElement",id:"replace-allownode-allowedtypes-and-disallowedtypes"},allowedTypes:{to:"allowedElements",id:"replace-allownode-allowedtypes-and-disallowedtypes"},disallowedTypes:{to:"disallowedElements",id:"replace-allownode-allowedtypes-and-disallowedtypes"},includeNodeIndex:{to:"includeElementIndex",id:"change-includenodeindex-to-includeelementindex"}};function vs(e){for(const t in ys)if(gs.call(ys,t)&&gs.call(e,t)){const e=ys[t];console.warn(`[react-markdown] Warning: please ${e.to?`use \`${e.to}\` instead of`:"remove"} \`${t}\` (see <https://github.com/remarkjs/react-markdown/blob/main/changelog.md#${e.id}> for more info)`),delete ys[t]}const t=Fr().use(Uo).use(e.remarkPlugins||[]).use(ga,{...e.remarkRehypeOptions,allowDangerousHtml:!0}).use(e.rehypePlugins||[]).use(Wa,e),n=new Or;"string"==typeof e.children?n.value=e.children:void 0!==e.children&&null!==e.children&&console.warn(`[react-markdown] Warning: please pass a string as \`children\` (not: \`${e.children}\`)`);const r=t.runSync(t.parse(n),n);if("root"!==r.type)throw new TypeError("Expected a `root` node");let i=m.createElement(m.Fragment,{},hs({options:e,schema:za,listDepth:0},r));return e.className&&(i=m.createElement("div",{className:e.className},i)),i}vs.propTypes={children:ya.string,className:ya.string,allowElement:ya.func,allowedElements:ya.arrayOf(ya.string),disallowedElements:ya.arrayOf(ya.string),unwrapDisallowed:ya.bool,remarkPlugins:ya.arrayOf(ya.oneOfType([ya.object,ya.func,ya.arrayOf(ya.oneOfType([ya.bool,ya.string,ya.object,ya.func,ya.arrayOf(ya.any)]))])),rehypePlugins:ya.arrayOf(ya.oneOfType([ya.object,ya.func,ya.arrayOf(ya.oneOfType([ya.bool,ya.string,ya.object,ya.func,ya.arrayOf(ya.any)]))])),sourcePos:ya.bool,rawSourcePos:ya.bool,skipHtml:ya.bool,includeElementIndex:ya.bool,transformLinkUri:ya.oneOfType([ya.func,ya.bool]),linkTarget:ya.oneOfType([ya.func,ya.string]),transformImageUri:ya.func,components:ya.object};const _s={tokenize:function(e,t,n){let r=0;return function t(o){return(87===o||119===o)&&r<3?(r++,e.consume(o),t):46===o&&3===r?(e.consume(o),i):n(o)};function i(e){return null===e?n(e):t(e)}},partial:!0},bs={tokenize:function(e,t,n){let r,i,o;return a;function a(t){return 46===t||95===t?e.check(Ts,l,s)(t):null===t||ci(t)||pi(t)||45!==t&&hi(t)?l(t):(o=!0,e.consume(t),a)}function s(t){return 95===t?r=!0:(i=r,r=void 0),e.consume(t),a}function l(e){return i||r||!o?n(e):t(e)}},partial:!0},Es={tokenize:function(e,t){let n=0,r=0;return i;function i(a){return 40===a?(n++,e.consume(a),i):41===a&&r<n?o(a):33===a||34===a||38===a||39===a||41===a||42===a||44===a||46===a||58===a||59===a||60===a||63===a||93===a||95===a||126===a?e.check(Ts,t,o)(a):null===a||ci(a)||pi(a)?t(a):(e.consume(a),i)}function o(t){return 41===t&&r++,e.consume(t),i}},partial:!0},Ts={tokenize:function(e,t,n){return r;function r(a){return 33===a||34===a||39===a||41===a||42===a||44===a||46===a||58===a||59===a||63===a||95===a||126===a?(e.consume(a),r):38===a?(e.consume(a),o):93===a?(e.consume(a),i):60===a||null===a||ci(a)||pi(a)?t(a):n(a)}function i(e){return null===e||40===e||91===e||ci(e)||pi(e)?t(e):r(e)}function o(e){return ti(e)?a(e):n(e)}function a(t){return 59===t?(e.consume(t),r):ti(t)?(e.consume(t),a):n(t)}},partial:!0},xs={tokenize:function(e,t,n){return function(t){return e.consume(t),r};function r(e){return ni(e)?n(e):t(e)}},partial:!0},Ss={tokenize:function(e,t,n){const r=this;return function(t){return 87!==t&&119!==t||!Os.call(r,r.previous)||Ds(r.events)?n(t):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(_s,e.attempt(bs,e.attempt(Es,i),n),n)(t))};function i(n){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(n)}},previous:Os},Cs={tokenize:function(e,t,n){const r=this;let i="",o=!1;return function(t){return 72!==t&&104!==t||!Ns.call(r,r.previous)||Ds(r.events)?n(t):(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),i+=String.fromCodePoint(t),e.consume(t),a)};function a(t){if(ti(t)&&i.length<5)return i+=String.fromCodePoint(t),e.consume(t),a;if(58===t){const n=i.toLowerCase();if("http"===n||"https"===n)return e.consume(t),s}return n(t)}function s(t){return 47===t?(e.consume(t),o?l:(o=!0,s)):n(t)}function l(t){return null===t||ii(t)||ci(t)||pi(t)||hi(t)?n(t):e.attempt(bs,e.attempt(Es,c),n)(t)}function c(n){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(n)}},previous:Ns},As={tokenize:function(e,t,n){const r=this;let i,o;return function(t){return ks(t)&&Is.call(r,r.previous)&&!Ds(r.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),a(t)):n(t)};function a(t){return ks(t)?(e.consume(t),a):64===t?(e.consume(t),s):n(t)}function s(t){return 46===t?e.check(xs,c,l)(t):45===t||95===t||ni(t)?(o=!0,e.consume(t),s):c(t)}function l(t){return e.consume(t),i=!0,s}function c(a){return o&&i&&ti(r.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(a)):n(a)}},previous:Is},Rs={},ws={text:Rs};let Ls=48;for(;Ls<123;)Rs[Ls]=As,Ls++,58===Ls?Ls=65:91===Ls&&(Ls=97);function Os(e){return null===e||40===e||42===e||95===e||91===e||93===e||126===e||ci(e)}function Ns(e){return!ti(e)}function Is(e){return!(47===e||ks(e))}function ks(e){return 43===e||45===e||46===e||95===e||ni(e)}function Ds(e){let t=e.length,n=!1;for(;t--;){const r=e[t][1];if(("labelLink"===r.type||"labelImage"===r.type)&&!r._balanced){n=!0;break}if(r._gfmAutolinkLiteralWalkedInto){n=!1;break}}return e.length>0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}Rs[43]=As,Rs[45]=As,Rs[46]=As,Rs[95]=As,Rs[72]=[As,Cs],Rs[104]=[As,Cs],Rs[87]=[As,Ss],Rs[119]=[As,Ss];const Ps={tokenize:function(e,t,n){const r=this;return fi(e,(function(e){const i=r.events[r.events.length-1];return i&&"gfmFootnoteDefinitionIndent"===i[1].type&&4===i[2].sliceSerialize(i[1],!0).length?t(e):n(e)}),"gfmFootnoteDefinitionIndent",5)},partial:!0};function Ms(e,t,n){const r=this;let i=r.events.length;const o=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let a;for(;i--;){const e=r.events[i][1];if("labelImage"===e.type){a=e;break}if("gfmFootnoteCall"===e.type||"labelLink"===e.type||"label"===e.type||"image"===e.type||"link"===e.type)break}return function(i){if(!a||!a._balanced)return n(i);const s=ji(r.sliceSerialize({start:a.end,end:r.now()}));return 94===s.codePointAt(0)&&o.includes(s.slice(1))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(i),e.exit("gfmFootnoteCallLabelMarker"),t(i)):n(i)}}function Fs(e,t){let n,r=e.length;for(;r--;)if("labelImage"===e[r][1].type&&"enter"===e[r][0]){n=e[r][1];break}e[r+1][1].type="data",e[r+3][1].type="gfmFootnoteCallLabelMarker";const i={type:"gfmFootnoteCall",start:Object.assign({},e[r+3][1].start),end:Object.assign({},e[e.length-1][1].end)},o={type:"gfmFootnoteCallMarker",start:Object.assign({},e[r+3][1].end),end:Object.assign({},e[r+3][1].end)};o.end.column++,o.end.offset++,o.end._bufferIndex++;const a={type:"gfmFootnoteCallString",start:Object.assign({},o.end),end:Object.assign({},e[e.length-1][1].start)},s={type:"chunkString",contentType:"string",start:Object.assign({},a.start),end:Object.assign({},a.end)},l=[e[r+1],e[r+2],["enter",i,t],e[r+3],e[r+4],["enter",o,t],["exit",o,t],["enter",a,t],["enter",s,t],["exit",s,t],["exit",a,t],e[e.length-2],e[e.length-1],["exit",i,t]];return e.splice(r,e.length-r+1,...l),e}function Hs(e,t,n){const r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let o,a=0;return function(t){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(t),e.exit("gfmFootnoteCallLabelMarker"),s};function s(t){return 94!==t?n(t):(e.enter("gfmFootnoteCallMarker"),e.consume(t),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",l)}function l(s){if(a>999||93===s&&!o||null===s||91===s||ci(s))return n(s);if(93===s){e.exit("chunkString");const o=e.exit("gfmFootnoteCallString");return i.includes(ji(r.sliceSerialize(o)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(s),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(s)}return ci(s)||(o=!0),a++,e.consume(s),92===s?c:l}function c(t){return 91===t||92===t||93===t?(e.consume(t),a++,l):l(t)}}function Bs(e,t,n){const r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let o,a,s=0;return function(t){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),l};function l(t){return 94===t?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",c):n(t)}function c(t){if(s>999||93===t&&!a||null===t||91===t||ci(t))return n(t);if(93===t){e.exit("chunkString");const n=e.exit("gfmFootnoteDefinitionLabelString");return o=ji(r.sliceSerialize(n)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),h}return ci(t)||(a=!0),s++,e.consume(t),92===t?u:c}function u(t){return 91===t||92===t||93===t?(e.consume(t),s++,c):c(t)}function h(t){return 58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),i.includes(o)||i.push(o),fi(e,p,"gfmFootnoteDefinitionWhitespace")):n(t)}function p(e){return t(e)}}function Us(e,t,n){return e.check(vi,t,e.attempt(Ps,t,n))}function js(e){e.exit("gfmFootnoteDefinition")}function Gs(e){let t=(e||{}).singleTilde;const n={tokenize:function(e,n,r){const i=this.previous,o=this.events;let a=0;return function(t){return 126===i&&"characterEscape"!==o[o.length-1][1].type?r(t):(e.enter("strikethroughSequenceTemporary"),s(t))};function s(o){const l=ho(i);if(126===o)return a>1?r(o):(e.consume(o),a++,s);if(a<2&&!t)return r(o);const c=e.exit("strikethroughSequenceTemporary"),u=ho(o);return c._open=!u||2===u&&Boolean(l),c._close=!l||2===l&&Boolean(u),n(o)}},resolveAll:function(e,t){let n=-1;for(;++n<e.length;)if("enter"===e[n][0]&&"strikethroughSequenceTemporary"===e[n][1].type&&e[n][1]._close){let r=n;for(;r--;)if("exit"===e[r][0]&&"strikethroughSequenceTemporary"===e[r][1].type&&e[r][1]._open&&e[n][1].end.offset-e[n][1].start.offset==e[r][1].end.offset-e[r][1].start.offset){e[n][1].type="strikethroughSequence",e[r][1].type="strikethroughSequence";const i={type:"strikethrough",start:Object.assign({},e[r][1].start),end:Object.assign({},e[n][1].end)},o={type:"strikethroughText",start:Object.assign({},e[r][1].end),end:Object.assign({},e[n][1].start)},a=[["enter",i,t],["enter",e[r][1],t],["exit",e[r][1],t],["enter",o,t]],s=t.parser.constructs.insideSpan.null;s&&qr(a,a.length,0,Oi(s,e.slice(r+1,n),t)),qr(a,a.length,0,[["exit",o,t],["enter",e[n][1],t],["exit",e[n][1],t],["exit",i,t]]),qr(e,r-1,n-r+3,a),n=r+a.length-2;break}}for(n=-1;++n<e.length;)"strikethroughSequenceTemporary"===e[n][1].type&&(e[n][1].type="data");return e}};return null==t&&(t=!0),{text:{126:n},insideSpan:{null:[n]},attentionMarkers:{null:[126]}}}class Ys{constructor(){this.map=[]}add(e,t,n){!function(e,t,n,r){let i=0;if(0!==n||0!==r.length){for(;i<e.map.length;){if(e.map[i][0]===t)return e.map[i][1]+=n,void e.map[i][2].push(...r);i+=1}e.map.push([t,n,r])}}(this,e,t,n)}consume(e){if(this.map.sort(((e,t)=>e[0]-t[0])),0===this.map.length)return;let t=this.map.length;const n=[];for(;t>0;)t-=1,n.push(e.slice(this.map[t][0]+this.map[t][1])),n.push(this.map[t][2]),e.length=this.map[t][0];n.push([...e]),e.length=0;let r=n.pop();for(;r;)e.push(...r),r=n.pop();this.map.length=0}}function zs(e,t){let n=!1;const r=[];for(;t<e.length;){const i=e[t];if(n){if("enter"===i[0])"tableContent"===i[1].type&&r.push("tableDelimiterMarker"===e[t+1][1].type?"left":"none");else if("tableContent"===i[1].type){if("tableDelimiterMarker"===e[t-1][1].type){const e=r.length-1;r[e]="left"===r[e]?"center":"right"}}else if("tableDelimiterRow"===i[1].type)break}else"enter"===i[0]&&"tableDelimiterRow"===i[1].type&&(n=!0);t+=1}return r}const $s={flow:{null:{tokenize:function(e,t,n){const r=this;let i,o=0,a=0;return function(e){let t=r.events.length-1;for(;t>-1;){const e=r.events[t][1].type;if("lineEnding"!==e&&"linePrefix"!==e)break;t--}const i=t>-1?r.events[t][1].type:null,o="tableHead"===i||"tableRow"===i?b:s;return o===b&&r.parser.lazy[r.now().line]?n(e):o(e)};function s(t){return e.enter("tableHead"),e.enter("tableRow"),function(e){return 124===e||(i=!0,a+=1),l(e)}(t)}function l(t){return null===t?n(t):li(t)?a>1?(a=0,r.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),h):n(t):ui(t)?fi(e,l,"whitespace")(t):(a+=1,i&&(i=!1,o+=1),124===t?(e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),i=!0,l):(e.enter("data"),c(t)))}function c(t){return null===t||124===t||ci(t)?(e.exit("data"),l(t)):(e.consume(t),92===t?u:c)}function u(t){return 92===t||124===t?(e.consume(t),c):c(t)}function h(t){return r.interrupt=!1,r.parser.lazy[r.now().line]?n(t):(e.enter("tableDelimiterRow"),i=!1,ui(t)?fi(e,p,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):p(t))}function p(t){return 45===t||58===t?f(t):124===t?(i=!0,e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),d):_(t)}function d(t){return ui(t)?fi(e,f,"whitespace")(t):f(t)}function f(t){return 58===t?(a+=1,i=!0,e.enter("tableDelimiterMarker"),e.consume(t),e.exit("tableDelimiterMarker"),m):45===t?(a+=1,m(t)):null===t||li(t)?v(t):_(t)}function m(t){return 45===t?(e.enter("tableDelimiterFiller"),g(t)):_(t)}function g(t){return 45===t?(e.consume(t),g):58===t?(i=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(t),e.exit("tableDelimiterMarker"),y):(e.exit("tableDelimiterFiller"),y(t))}function y(t){return ui(t)?fi(e,v,"whitespace")(t):v(t)}function v(n){return 124===n?p(n):(null===n||li(n))&&i&&o===a?(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(n)):_(n)}function _(e){return n(e)}function b(t){return e.enter("tableRow"),E(t)}function E(n){return 124===n?(e.enter("tableCellDivider"),e.consume(n),e.exit("tableCellDivider"),E):null===n||li(n)?(e.exit("tableRow"),t(n)):ui(n)?fi(e,E,"whitespace")(n):(e.enter("data"),T(n))}function T(t){return null===t||124===t||ci(t)?(e.exit("data"),E(t)):(e.consume(t),92===t?x:T)}function x(t){return 92===t||124===t?(e.consume(t),T):T(t)}},resolveAll:function(e,t){let n,r,i,o=-1,a=!0,s=0,l=[0,0,0,0],c=[0,0,0,0],u=!1,h=0;const p=new Ys;for(;++o<e.length;){const d=e[o],f=d[1];"enter"===d[0]?"tableHead"===f.type?(u=!1,0!==h&&(Vs(p,t,h,n,r),r=void 0,h=0),n={type:"table",start:Object.assign({},f.start),end:Object.assign({},f.end)},p.add(o,0,[["enter",n,t]])):"tableRow"===f.type||"tableDelimiterRow"===f.type?(a=!0,i=void 0,l=[0,0,0,0],c=[0,o+1,0,0],u&&(u=!1,r={type:"tableBody",start:Object.assign({},f.start),end:Object.assign({},f.end)},p.add(o,0,[["enter",r,t]])),s="tableDelimiterRow"===f.type?2:r?3:1):!s||"data"!==f.type&&"tableDelimiterMarker"!==f.type&&"tableDelimiterFiller"!==f.type?"tableCellDivider"===f.type&&(a?a=!1:(0!==l[1]&&(c[0]=c[1],i=Ws(p,t,l,s,void 0,i)),l=c,c=[l[1],o,0,0])):(a=!1,0===c[2]&&(0!==l[1]&&(c[0]=c[1],i=Ws(p,t,l,s,void 0,i),l=[0,0,0,0]),c[2]=o)):"tableHead"===f.type?(u=!0,h=o):"tableRow"===f.type||"tableDelimiterRow"===f.type?(h=o,0!==l[1]?(c[0]=c[1],i=Ws(p,t,l,s,o,i)):0!==c[1]&&(i=Ws(p,t,c,s,o,i)),s=0):!s||"data"!==f.type&&"tableDelimiterMarker"!==f.type&&"tableDelimiterFiller"!==f.type||(c[3]=o)}for(0!==h&&Vs(p,t,h,n,r),p.consume(t.events),o=-1;++o<t.events.length;){const e=t.events[o];"enter"===e[0]&&"table"===e[1].type&&(e[1]._align=zs(t.events,o))}return e}}}};function Ws(e,t,n,r,i,o){const a=1===r?"tableHeader":2===r?"tableDelimiter":"tableData";0!==n[0]&&(o.end=Object.assign({},Ks(t.events,n[0])),e.add(n[0],0,[["exit",o,t]]));const s=Ks(t.events,n[1]);if(o={type:a,start:Object.assign({},s),end:Object.assign({},s)},e.add(n[1],0,[["enter",o,t]]),0!==n[2]){const i=Ks(t.events,n[2]),o=Ks(t.events,n[3]),a={type:"tableContent",start:Object.assign({},i),end:Object.assign({},o)};if(e.add(n[2],0,[["enter",a,t]]),2!==r){const r=t.events[n[2]],i=t.events[n[3]];if(r[1].end=Object.assign({},i[1].end),r[1].type="chunkText",r[1].contentType="text",n[3]>n[2]+1){const t=n[2]+1,r=n[3]-n[2]-1;e.add(t,r,[])}}e.add(n[3]+1,0,[["exit",a,t]])}return void 0!==i&&(o.end=Object.assign({},Ks(t.events,i)),e.add(i,0,[["exit",o,t]]),o=void 0),o}function Vs(e,t,n,r,i){const o=[],a=Ks(t.events,n);i&&(i.end=Object.assign({},a),o.push(["exit",i,t])),r.end=Object.assign({},a),o.push(["exit",r,t]),e.add(n+1,0,o)}function Ks(e,t){const n=e[t],r="enter"===n[0]?"start":"end";return n[1][r]}const qs={tokenize:function(e,t,n){const r=this;return function(t){return null===r.previous&&r._gfmTasklistFirstContentOfListItem?(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),i):n(t)};function i(t){return ci(t)?(e.enter("taskListCheckValueUnchecked"),e.consume(t),e.exit("taskListCheckValueUnchecked"),o):88===t||120===t?(e.enter("taskListCheckValueChecked"),e.consume(t),e.exit("taskListCheckValueChecked"),o):n(t)}function o(t){return 93===t?(e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),a):n(t)}function a(r){return li(r)?t(r):ui(r)?e.check({tokenize:Zs},t,n)(r):n(r)}}},Xs={text:{91:qs}};function Zs(e,t,n){return fi(e,(function(e){return null===e?n(e):t(e)}),"whitespace")}function Qs(e,t){const n=String(e);if("string"!=typeof t)throw new TypeError("Expected character");let r=0,i=n.indexOf(t);for(;-1!==i;)r++,i=n.indexOf(t,i+t.length);return r}const Js={}.hasOwnProperty;function el(e){return"string"==typeof e?new RegExp(function(e){if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}(e),"g"):e}function tl(e){return"function"==typeof e?e:()=>e}const nl="phrasing",rl=["autolink","link","image","label"],il={transforms:[function(e){!function(e,t,n,r){let i,o;"string"==typeof t||t instanceof RegExp?(o=[[t,n]],i=r):(o=t,i=n),i||(i={});const a=Go(i.ignore||[]),s=function(e){const t=[];if("object"!=typeof e)throw new TypeError("Expected array or object as schema");if(Array.isArray(e)){let n=-1;for(;++n<e.length;)t.push([el(e[n][0]),tl(e[n][1])])}else{let n;for(n in e)Js.call(e,n)&&t.push([el(n),tl(e[n])])}return t}(o);let l=-1;for(;++l<s.length;)Vo(e,"text",c);return e;function c(e,t){let n,r=-1;for(;++r<t.length;){const e=t[r];if(a(e,n?n.children.indexOf(e):void 0,n))return;n=e}if(n)return function(e,t){const n=t[t.length-1],r=s[l][0],i=s[l][1];let o=0;const a=n.children.indexOf(e);let c=!1,u=[];r.lastIndex=0;let h=r.exec(e.value);for(;h;){const n=h.index,a={index:h.index,input:h.input,stack:[...t,e]};let s=i(...h,a);if("string"==typeof s&&(s=s.length>0?{type:"text",value:s}:void 0),!1!==s&&(o!==n&&u.push({type:"text",value:e.value.slice(o,n)}),Array.isArray(s)?u.push(...s):s&&u.push(s),o=n+h[0].length,c=!0),!r.global)break;h=r.exec(e.value)}return c?(o<e.value.length&&u.push({type:"text",value:e.value.slice(o)}),n.children.splice(a,1,...u)):u=[e],a+u.length}(e,t)}}(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,sl],[/([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/g,ll]],{ignore:["link","linkReference"]})}],enter:{literalAutolink:function(e){this.enter({type:"link",title:null,url:"",children:[]},e)},literalAutolinkEmail:al,literalAutolinkHttp:al,literalAutolinkWww:al},exit:{literalAutolink:function(e){this.exit(e)},literalAutolinkEmail:function(e){this.config.exit.autolinkEmail.call(this,e)},literalAutolinkHttp:function(e){this.config.exit.autolinkProtocol.call(this,e)},literalAutolinkWww:function(e){this.config.exit.data.call(this,e);this.stack[this.stack.length-1].url="http://"+this.sliceSerialize(e)}}},ol={unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:nl,notInConstruct:rl},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:nl,notInConstruct:rl},{character:":",before:"[ps]",after:"\\/",inConstruct:nl,notInConstruct:rl}]};function al(e){this.config.enter.autolinkProtocol.call(this,e)}function sl(e,t,n,r,i){let o="";if(!cl(i))return!1;if(/^w/i.test(t)&&(n=t+n,t="",o="http://"),!function(e){const t=e.split(".");return!(t.length<2||t[t.length-1]&&(/_/.test(t[t.length-1])||!/[a-zA-Z\d]/.test(t[t.length-1]))||t[t.length-2]&&(/_/.test(t[t.length-2])||!/[a-zA-Z\d]/.test(t[t.length-2])))}(n))return!1;const a=function(e){const t=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],r=n.indexOf(")");const i=Qs(e,"(");let o=Qs(e,")");for(;-1!==r&&i>o;)e+=n.slice(0,r+1),n=n.slice(r+1),r=n.indexOf(")"),o++;return[e,n]}(n+r);if(!a[0])return!1;const s={type:"link",title:null,url:o+t+a[0],children:[{type:"text",value:t+a[0]}]};return a[1]?[s,{type:"text",value:a[1]}]:s}function ll(e,t,n,r){return!(!cl(r,!0)||/[-\d_]$/.test(n))&&{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function cl(e,t){const n=e.input.charCodeAt(e.index-1);return(0===e.index||pi(n)||hi(n))&&(!t||47!==n)}function ul(e){return e.label||!e.identifier?e.label||"":Io(e.identifier)}function hl(e,t,n,r){let i=r.join.length;for(;i--;){const o=r.join[i](e,t,n,r);if(!0===o||1===o)break;if("number"==typeof o)return"\n".repeat(1+o);if(!1===o)return"\n\n\x3c!----\x3e\n\n"}return"\n\n"}const pl=/\r?\n|\r/g;function dl(e){if(!e._compiled){const t=(e.atBreak?"[\\r\\n][\\t ]*":"")+(e.before?"(?:"+e.before+")":"");e._compiled=new RegExp((t?"("+t+")":"")+(/[|\\{}()[\]^$+*?.-]/.test(e.character)?"\\":"")+e.character+(e.after?"(?:"+e.after+")":""),"g")}return e._compiled}function fl(e,t){return ml(e,t.inConstruct,!0)&&!ml(e,t.notInConstruct,!1)}function ml(e,t,n){if("string"==typeof t&&(t=[t]),!t||0===t.length)return n;let r=-1;for(;++r<t.length;)if(e.includes(t[r]))return!0;return!1}function gl(e,t,n){const r=(n.before||"")+(t||"")+(n.after||""),i=[],o=[],a={};let s=-1;for(;++s<e.unsafe.length;){const t=e.unsafe[s];if(!fl(e.stack,t))continue;const n=dl(t);let o;for(;o=n.exec(r);){const e="before"in t||Boolean(t.atBreak),n="after"in t,r=o.index+(e?o[1].length:0);i.includes(r)?(a[r].before&&!e&&(a[r].before=!1),a[r].after&&!n&&(a[r].after=!1)):(i.push(r),a[r]={before:e,after:n})}}i.sort(yl);let l=n.before?n.before.length:0;const c=r.length-(n.after?n.after.length:0);for(s=-1;++s<i.length;){const e=i[s];e<l||e>=c||e+1<c&&i[s+1]===e+1&&a[e].after&&!a[e+1].before&&!a[e+1].after||i[s-1]===e-1&&a[e].before&&!a[e-1].before&&!a[e-1].after||(l!==e&&o.push(vl(r.slice(l,e),"\\")),l=e,!/[!-/:-@[-`{-~]/.test(r.charAt(e))||n.encode&&n.encode.includes(r.charAt(e))?(o.push("&#x"+r.charCodeAt(e).toString(16).toUpperCase()+";"),l++):o.push("\\"))}return o.push(vl(r.slice(l,c),n.after)),o.join("")}function yl(e,t){return e-t}function vl(e,t){const n=/\\(?=[!-/:-@[-`{-~])/g,r=[],i=[],o=e+t;let a,s=-1,l=0;for(;a=n.exec(o);)r.push(a.index);for(;++s<r.length;)l!==r[s]&&i.push(e.slice(l,r[s])),i.push("\\"),l=r[s];return i.push(e.slice(l)),i.join("")}function _l(e){const t=e||{},n=t.now||{};let r=t.lineShift||0,i=n.line||1,o=n.column||1;return{move:function(e){const t=e||"",n=t.split(/\r?\n|\r/g),a=n[n.length-1];return i+=n.length-1,o=1===n.length?o+a.length:1+a.length+r,t},current:function(){return{now:{line:i,column:o},lineShift:r}},shift:function(e){r+=e}}}function bl(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function El(){this.buffer()}function Tl(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=ji(this.sliceSerialize(e)).toLowerCase()}function xl(e){this.exit(e)}function Sl(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function Cl(){this.buffer()}function Al(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=ji(this.sliceSerialize(e)).toLowerCase()}function Rl(e){this.exit(e)}function wl(e,t,n,r){const i=_l(r);let o=i.move("[^");const a=n.enter("footnoteReference"),s=n.enter("reference");return o+=i.move(gl(n,ul(e),{...i.current(),before:o,after:"]"})),s(),a(),o+=i.move("]"),o}function Ll(e,t,n,r){const i=_l(r);let o=i.move("[^");const a=n.enter("footnoteDefinition"),s=n.enter("label");return o+=i.move(gl(n,ul(e),{...i.current(),before:o,after:"]"})),s(),o+=i.move("]:"+(e.children&&e.children.length>0?" ":"")),i.shift(4),o+=i.move(function(e,t){const n=[];let r,i=0,o=0;for(;r=pl.exec(e);)a(e.slice(i,r.index)),n.push(r[0]),i=r.index+r[0].length,o++;return a(e.slice(i)),n.join("");function a(e){n.push(t(e,o,!e))}}(function(e,t,n){const r=t.indexStack,i=e.children||[],o=t.createTracker(n),a=[];let s=-1;for(r.push(-1);++s<i.length;){const n=i[s];r[r.length-1]=s,a.push(o.move(t.handle(n,e,t,{before:"\n",after:"\n",...o.current()}))),"list"!==n.type&&(t.bulletLastUsed=void 0),s<i.length-1&&a.push(o.move(hl(n,i[s+1],e,t)))}return r.pop(),a.join("")}(e,n,i.current()),Ol)),a(),o}function Ol(e,t,n){return 0===t?e:(n?"":" ")+e}function Nl(e,t,n){const r=t.indexStack,i=e.children||[],o=[];let a=-1,s=n.before;r.push(-1);let l=t.createTracker(n);for(;++a<i.length;){const c=i[a];let u;if(r[r.length-1]=a,a+1<i.length){let n=t.handle.handlers[i[a+1].type];n&&n.peek&&(n=n.peek),u=n?n(i[a+1],e,t,{before:"",after:"",...l.current()}).charAt(0):""}else u=n.after;o.length>0&&("\r"===s||"\n"===s)&&"html"===c.type&&(o[o.length-1]=o[o.length-1].replace(/(\r?\n|\r)$/," "),s=" ",l=t.createTracker(n),l.move(o.join(""))),o.push(l.move(t.handle(c,e,t,{...l.current(),before:s,after:u}))),s=o[o.length-1].slice(-1)}return r.pop(),o.join("")}wl.peek=function(){return"["},Dl.peek=function(){return"~"};const Il={canContainEols:["delete"],enter:{strikethrough:function(e){this.enter({type:"delete",children:[]},e)}},exit:{strikethrough:function(e){this.exit(e)}}},kl={unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"]}],handlers:{delete:Dl}};function Dl(e,t,n,r){const i=_l(r),o=n.enter("strikethrough");let a=i.move("~~");return a+=Nl(e,n,{...i.current(),before:a,after:"~"}),a+=i.move("~~"),o(),a}function Pl(e,t,n){let r=e.value||"",i="`",o=-1;for(;new RegExp("(^|[^`])"+i+"([^`]|$)").test(r);)i+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++o<n.unsafe.length;){const e=n.unsafe[o],t=dl(e);let i;if(e.atBreak)for(;i=t.exec(r);){let e=i.index;10===r.charCodeAt(e)&&13===r.charCodeAt(e-1)&&e--,r=r.slice(0,e)+" "+r.slice(i.index+1)}}return i+r+i}function Ml(e){return null==e?"":String(e)}function Fl(e){return e.length}function Hl(e){const t="string"==typeof e?e.codePointAt(0):0;return 67===t||99===t?99:76===t||108===t?108:82===t||114===t?114:0}Pl.peek=function(){return"`"};const Bl={enter:{table:function(e){const t=e._align;this.enter({type:"table",align:t.map((e=>"none"===e?null:e)),children:[]},e),this.setData("inTable",!0)},tableData:jl,tableHeader:jl,tableRow:function(e){this.enter({type:"tableRow",children:[]},e)}},exit:{codeText:function(e){let t=this.resume();this.getData("inTable")&&(t=t.replace(/\\([\\|])/g,Gl));this.stack[this.stack.length-1].value=t,this.exit(e)},table:function(e){this.exit(e),this.setData("inTable")},tableData:Ul,tableHeader:Ul,tableRow:Ul}};function Ul(e){this.exit(e)}function jl(e){this.enter({type:"tableCell",children:[]},e)}function Gl(e,t){return"|"===t?t:e}function Yl(e){const t=e||{},n=t.tableCellPadding,r=t.tablePipeAlign,i=t.stringLength,o=n?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:"\n",inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[\t :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{table:function(e,t,n,r){return s(function(e,t,n){const r=e.children;let i=-1;const o=[],a=t.enter("table");for(;++i<r.length;)o[i]=l(r[i],t,n);return a(),o}(e,n,r),e.align)},tableRow:function(e,t,n,r){const i=s([l(e,n,r)]);return i.slice(0,i.indexOf("\n"))},tableCell:a,inlineCode:function(e,t,n){let r=Pl(e,0,n);return n.stack.includes("tableCell")&&(r=r.replace(/\|/g,"\\$&")),r}}};function a(e,t,n,r){const i=n.enter("tableCell"),a=n.enter("phrasing"),s=Nl(e,n,{...r,before:o,after:o});return a(),i(),s}function s(e,t){return function(e,t={}){const n=(t.align||[]).concat(),r=t.stringLength||Fl,i=[],o=[],a=[],s=[];let l=0,c=-1;for(;++c<e.length;){const n=[],i=[];let u=-1;for(e[c].length>l&&(l=e[c].length);++u<e[c].length;){const o=Ml(e[c][u]);if(!1!==t.alignDelimiters){const e=r(o);i[u]=e,(void 0===s[u]||e>s[u])&&(s[u]=e)}n.push(o)}o[c]=n,a[c]=i}let u=-1;if("object"==typeof n&&"length"in n)for(;++u<l;)i[u]=Hl(n[u]);else{const e=Hl(n);for(;++u<l;)i[u]=e}u=-1;const h=[],p=[];for(;++u<l;){const e=i[u];let n="",r="";99===e?(n=":",r=":"):108===e?n=":":114===e&&(r=":");let o=!1===t.alignDelimiters?1:Math.max(1,s[u]-n.length-r.length);const a=n+"-".repeat(o)+r;!1!==t.alignDelimiters&&(o=n.length+o+r.length,o>s[u]&&(s[u]=o),p[u]=o),h[u]=a}o.splice(1,0,h),a.splice(1,0,p),c=-1;const d=[];for(;++c<o.length;){const e=o[c],n=a[c];u=-1;const r=[];for(;++u<l;){const o=e[u]||"";let a="",c="";if(!1!==t.alignDelimiters){const e=s[u]-(n[u]||0),t=i[u];114===t?a=" ".repeat(e):99===t?e%2?(a=" ".repeat(e/2+.5),c=" ".repeat(e/2-.5)):(a=" ".repeat(e/2),c=a):c=" ".repeat(e)}!1===t.delimiterStart||u||r.push("|"),!1===t.padding||!1===t.alignDelimiters&&""===o||!1===t.delimiterStart&&!u||r.push(" "),!1!==t.alignDelimiters&&r.push(a),r.push(o),!1!==t.alignDelimiters&&r.push(c),!1!==t.padding&&r.push(" "),!1===t.delimiterEnd&&u===l-1||r.push("|")}d.push(!1===t.delimiterEnd?r.join("").replace(/ +$/,""):r.join(""))}return d.join("\n")}(e,{align:t,alignDelimiters:r,padding:n,stringLength:i})}function l(e,t,n){const r=e.children;let i=-1;const o=[],s=t.enter("tableRow");for(;++i<r.length;)o[i]=a(r[i],0,t,n);return s(),o}}const zl={exit:{taskListCheckValueChecked:Wl,taskListCheckValueUnchecked:Wl,paragraph:function(e){const t=this.stack[this.stack.length-2];if(t&&"listItem"===t.type&&"boolean"==typeof t.checked){const e=this.stack[this.stack.length-1],n=e.children[0];if(n&&"text"===n.type){const r=t.children;let i,o=-1;for(;++o<r.length;){const e=r[o];if("paragraph"===e.type){i=e;break}}i===e&&(n.value=n.value.slice(1),0===n.value.length?e.children.shift():e.position&&n.position&&"number"==typeof n.position.start.offset&&(n.position.start.column++,n.position.start.offset++,e.position.start=Object.assign({},n.position.start)))}}this.exit(e)}}},$l={unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:function(e,t,n,r){const i=e.children[0],o="boolean"==typeof e.checked&&i&&"paragraph"===i.type,a="["+(e.checked?"x":" ")+"] ",s=_l(r);o&&s.move(a);let l=function(e,t,n,r){const i=function(e){const t=e.options.listItemIndent||"tab";if(1===t||"1"===t)return"one";if("tab"!==t&&"one"!==t&&"mixed"!==t)throw new Error("Cannot serialize items with `"+t+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return t}(n);let o=n.bulletCurrent||function(e){const t=e.options.bullet||"*";if("*"!==t&&"+"!==t&&"-"!==t)throw new Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}(n);t&&"list"===t.type&&t.ordered&&(o=("number"==typeof t.start&&t.start>-1?t.start:1)+(!1===n.options.incrementListMarker?0:t.children.indexOf(e))+o);let a=o.length+1;("tab"===i||"mixed"===i&&(t&&"list"===t.type&&t.spread||e.spread))&&(a=4*Math.ceil(a/4));const s=n.createTracker(r);s.move(o+" ".repeat(a-o.length)),s.shift(a);const l=n.enter("listItem"),c=n.indentLines(n.containerFlow(e,s.current()),(function(e,t,n){return t?(n?"":" ".repeat(a))+e:(n?o:o+" ".repeat(a-o.length))+e}));return l(),c}(e,t,n,{...r,...s.current()});return o&&(l=l.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,(function(e){return e+a}))),l}}};function Wl(e){this.stack[this.stack.length-2].checked="taskListCheckValueChecked"===e.type}function Vl(e={}){const t=this.data();function n(e,n){(t[e]?t[e]:t[e]=[]).push(n)}n("micromarkExtensions",function(e){return Qr([ws,{document:{91:{tokenize:Bs,continuation:{tokenize:Us},exit:js}},text:{91:{tokenize:Hs},93:{add:"after",tokenize:Ms,resolveTo:Fs}}},Gs(e),$s,Xs])}(e)),n("fromMarkdownExtensions",[il,{enter:{gfmFootnoteDefinition:bl,gfmFootnoteDefinitionLabelString:El,gfmFootnoteCall:Sl,gfmFootnoteCallString:Cl},exit:{gfmFootnoteDefinition:xl,gfmFootnoteDefinitionLabelString:Tl,gfmFootnoteCall:Rl,gfmFootnoteCallString:Al}},Il,Bl,zl]),n("toMarkdownExtensions",function(e){return{extensions:[ol,{unsafe:[{character:"[",inConstruct:["phrasing","label","reference"]}],handlers:{footnoteDefinition:Ll,footnoteReference:wl}},kl,Yl(e),$l]}}(e))}var Kl=u(6956);const ql=/[#.]/g,Xl=new Set(["menu","submit","reset","button"]),Zl={}.hasOwnProperty;function Ql(e,t,n){const r=n&&function(e){const t={};let n=-1;for(;++n<e.length;)t[e[n].toLowerCase()]=e[n];return t}(n);return function(n,i,...o){let a,s=-1;if(null==n)a={type:"root",children:[]},o.unshift(i);else if(a=function(e,t){const n=e||"",r={};let i,o,a=0;for(;a<n.length;){ql.lastIndex=a;const e=ql.exec(n),t=n.slice(a,e?e.index:n.length);t&&(i?"#"===i?r.id=t:Array.isArray(r.className)?r.className.push(t):r.className=[t]:o=t,a+=t.length),e&&(i=e[0],a++)}return{type:"element",tagName:o||t||"div",properties:r,children:[]}}(n,t),a.tagName=a.tagName.toLowerCase(),r&&Zl.call(r,a.tagName)&&(a.tagName=r[a.tagName]),function(e,t){return null!=e&&"object"==typeof e&&!Array.isArray(e)&&("input"===t||!e.type||"string"!=typeof e.type||(!("children"in e)||!Array.isArray(e.children))&&("button"===t?Xl.has(e.type.toLowerCase()):!("value"in e)))}(i,a.tagName)){let t;for(t in i)Zl.call(i,t)&&Jl(e,a.properties,t,i[t])}else o.unshift(i);for(;++s<o.length;)ec(a.children,o[s]);return"element"===a.type&&"template"===a.tagName&&(a.content={type:"root",children:a.children},a.children=[]),a}}function Jl(e,t,n,r){const i=Qa(e,n);let o,a=-1;if(null!=r){if("number"==typeof r){if(Number.isNaN(r))return;o=r}else o="boolean"==typeof r?r:"string"==typeof r?i.spaceSeparated?ns(r):i.commaSeparated?is(r):i.commaOrSpaceSeparated?ns(is(r).join(" ")):tc(i,i.property,r):Array.isArray(r)?r.concat():"style"===i.property?function(e){const t=[];let n;for(n in e)Zl.call(e,n)&&t.push([n,e[n]].join(": "));return t.join("; ")}(r):String(r);if(Array.isArray(o)){const e=[];for(;++a<o.length;)e[a]=tc(i,i.property,o[a]);o=e}"className"===i.property&&Array.isArray(t.className)&&(o=t.className.concat(o)),t[i.property]=o}}function ec(e,t){let n=-1;if(null==t);else if("string"==typeof t||"number"==typeof t)e.push({type:"text",value:String(t)});else if(Array.isArray(t))for(;++n<t.length;)ec(e,t[n]);else{if("object"!=typeof t||!("type"in t))throw new Error("Expected node, nodes, or string, got `"+t+"`");"root"===t.type?ec(e,t.children):e.push(t)}}function tc(e,t,n){if("string"==typeof n){if(e.number&&n&&!Number.isNaN(Number(n)))return Number(n);if((e.boolean||e.overloadedBoolean)&&(""===n||ba(n)===ba(t)))return!0}return n}const nc=Ql($a,"g",["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","solidColor","textArea","textPath"]),rc=Ql(za,"div"),ic={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},oc={}.hasOwnProperty,ac=Object.prototype;function sc(e,t){let n;switch(t.nodeName){case"#comment":{const r=t;return n={type:"comment",value:r.data},cc(e,r,n),n}case"#document":case"#document-fragment":{const r=t,i="mode"in r&&("quirks"===r.mode||"limited-quirks"===r.mode);if(n={type:"root",children:lc(e,t.childNodes),data:{quirksMode:i}},e.file&&e.location){const t=String(e.file),r=function(e){const t=String(e),n=[],r=/\r?\n|\r/g;for(;r.test(t);)n.push(r.lastIndex);return n.push(t.length+1),{toPoint:function(e){let t=-1;if("number"==typeof e&&e>-1&&e<n[n.length-1])for(;++t<n.length;)if(n[t]>e)return{line:t+1,column:e-(t>0?n[t-1]:0)+1,offset:e};return{line:void 0,column:void 0,offset:void 0}},toOffset:function(e){const t=e&&e.line,r=e&&e.column;if("number"==typeof t&&"number"==typeof r&&!Number.isNaN(t)&&!Number.isNaN(r)&&t-1 in n){const e=(n[t-2]||0)+r-1||0;if(e>-1&&e<n[n.length-1])return e}return-1}}}(t),i=r.toPoint(0),o=r.toPoint(t.length);n.position={start:i,end:o}}return n}case"#documentType":return n={type:"doctype"},cc(e,t,n),n;case"#text":{const r=t;return n={type:"text",value:r.value},cc(e,r,n),n}default:return n=function(e,t){const n=e.schema;e.schema=t.namespaceURI===ic.svg?$a:za;let r=-1;const i={};for(;++r<t.attrs.length;){const e=t.attrs[r],n=(e.prefix?e.prefix+":":"")+e.name;oc.call(ac,n)||(i[n]=e.value)}const o=("svg"===e.schema.space?nc:rc)(t.tagName,i,lc(e,t.childNodes));if(cc(e,t,o),"template"===o.tagName){const n=t,r=n.sourceCodeLocation,i=r&&r.startTag&&uc(r.startTag),a=r&&r.endTag&&uc(r.endTag),s=sc(e,n.content);i&&a&&e.file&&(s.position={start:i.end,end:a.start}),o.content=s}return e.schema=n,o}(e,t),n}}function lc(e,t){let n=-1;const r=[];for(;++n<t.length;)r[n]=sc(e,t[n]);return r}function cc(e,t,n){if("sourceCodeLocation"in t&&t.sourceCodeLocation&&e.file){const r=function(e,t,n){const r=uc(n);if("element"===t.type){const i=t.children[t.children.length-1];if(r&&!n.endTag&&i&&i.position&&i.position.end&&(r.end=Object.assign({},i.position.end)),e.verbose){const r={};let i;if(n.attrs)for(i in n.attrs)oc.call(n.attrs,i)&&(r[Qa(e.schema,i).property]=uc(n.attrs[i]));t.data={position:{opening:uc(n.startTag),closing:n.endTag?uc(n.endTag):null,properties:r}}}}return r}(e,n,t.sourceCodeLocation);r&&(e.location=!0,n.position=r)}}function uc(e){const t=hc({line:e.startLine,column:e.startCol,offset:e.startOffset}),n=hc({line:e.endLine,column:e.endCol,offset:e.endOffset});return t||n?{start:t,end:n}:void 0}function hc(e){return e.line&&e.column?e:void 0}const pc={}.hasOwnProperty;function dc(e,t){const n=t||{};function r(t,...n){let i=r.invalid;const o=r.handlers;if(t&&pc.call(t,e)){const n=String(t[e]);i=pc.call(o,n)?o[n]:r.unknown}if(i)return i.call(this,t,...n)}return r.handlers=n.handlers||{},r.invalid=n.invalid,r.unknown=n.unknown,r}const fc={}.hasOwnProperty,mc=dc("type",{handlers:{root:function(e,t){const n={nodeName:"#document",mode:(e.data||{}).quirksMode?"quirks":"no-quirks",childNodes:[]};return n.childNodes=yc(e.children,n,t),vc(e,n),n},element:function(e,t){const n=t;let r=n;"element"===e.type&&"svg"===e.tagName.toLowerCase()&&"html"===n.space&&(r=$a);const i=[];let o;if(e.properties)for(o in e.properties)if("children"!==o&&fc.call(e.properties,o)){const t=gc(r,o,e.properties[o]);t&&i.push(t)}const a={nodeName:e.tagName,tagName:e.tagName,attrs:i,namespaceURI:ic[r.space],childNodes:[],parentNode:void 0};return a.childNodes=yc(e.children,a,r),vc(e,a),"template"===e.tagName&&e.content&&(a.content=function(e,t){const n={nodeName:"#document-fragment",childNodes:[]};return n.childNodes=yc(e.children,n,t),vc(e,n),n}(e.content,r)),a},text:function(e){const t={nodeName:"#text",value:e.value,parentNode:void 0};return vc(e,t),t},comment:function(e){const t={nodeName:"#comment",data:e.value,parentNode:void 0};return vc(e,t),t},doctype:function(e){const t={nodeName:"#documentType",name:"html",publicId:"",systemId:"",parentNode:void 0};return vc(e,t),t}}});function gc(e,t,n){const r=Qa(e,t);if(null==n||!1===n||"number"==typeof n&&Number.isNaN(n)||!n&&r.boolean)return;Array.isArray(n)&&(n=r.commaSeparated?os(n):rs(n));const i={name:r.attribute,value:!0===n?"":String(n)};if(r.space&&"html"!==r.space&&"svg"!==r.space){const e=i.name.indexOf(":");e<0?i.prefix="":(i.name=i.name.slice(e+1),i.prefix=r.attribute.slice(0,e)),i.namespace=ic[r.space]}return i}function yc(e,t,n){let r=-1;const i=[];if(e)for(;++r<e.length;){const o=mc(e[r],n);o.parentNode=t,i.push(o)}return i}function vc(e,t){const n=e.position;n&&n.start&&n.end&&(t.sourceCodeLocation={startLine:n.start.line,startCol:n.start.column,startOffset:n.start.offset,endLine:n.end.line,endCol:n.end.column,endOffset:n.end.offset})}const _c=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","isindex","keygen","link","menuitem","meta","nextid","param","source","track","wbr"],bc={sourceCodeLocationInfo:!0,scriptingEnabled:!1},Ec=function(e,t,n){let r=-1;const i=new Kl(bc),o=dc("type",{handlers:{root:function(e){p(e.children)},element:function(e){m(),i._processInputToken(function(e){const t=Object.assign(Sc(e));return t.startTag=Object.assign({},t),{type:"START_TAG_TOKEN",tagName:e.tagName,selfClosing:!1,attrs:Tc(e),location:t}}(e)),p(e.children),_c.includes(e.tagName)||(m(),i._processInputToken(function(e){const t=Object.assign(Sc(e));return t.startTag=Object.assign({},t),{type:"END_TAG_TOKEN",tagName:e.tagName,attrs:[],location:t}}(e)))},text:function(e){m(),i._processInputToken({type:"CHARACTER_TOKEN",chars:e.value,location:Sc(e)})},comment:d,doctype:function(e){m(),i._processInputToken({type:"DOCTYPE_TOKEN",name:"html",forceQuirks:!1,publicId:"",systemId:"",location:Sc(e)})},raw:function(e){const t=qo(e),n=t.line||1,r=t.column||1,o=t.offset||0;if(!l)throw new Error("Expected `preprocessor`");if(!s)throw new Error("Expected `tokenizer`");if(!c)throw new Error("Expected `posTracker`");if(!u)throw new Error("Expected `locationTracker`");l.html=void 0,l.pos=-1,l.lastGapPos=-1,l.lastCharPos=-1,l.gapStack=[],l.skipNextNewLine=!1,l.lastChunkWritten=!1,l.endOfChunkHit=!1,c.isEol=!1,c.lineStartPos=1-r,c.droppedBufferSize=o,c.offset=0,c.col=1,c.line=n,u.currentAttrLocation=void 0,u.ctLoc=Sc(e),s.write(e.value),i._runParsingLoop(null),("NAMED_CHARACTER_REFERENCE_STATE"===s.state||"NUMERIC_CHARACTER_REFERENCE_END_STATE"===s.state)&&(l.lastChunkWritten=!0,s[s.state](s._consume()))}},unknown:xc});let a,s,l,c,u;if(function(e){return Boolean(e&&!("message"in e&&"messages"in e))}(t)&&(n=t,t=void 0),n&&n.passThrough)for(;++r<n.passThrough.length;)o.handlers[n.passThrough[r]]=f;const h=function(e,t){const n=t||{};let r,i;return function(e){return"messages"in e}(n)?(i=n,r={}):(i=n.file||void 0,r=n),sc({schema:"svg"===r.space?$a:za,file:i,verbose:r.verbose,location:!1},e)}(function(e){const t="root"===e.type?e.children[0]:e;return Boolean(t&&("doctype"===t.type||"element"===t.type&&"html"===t.tagName))}(e)?function(){const t=i.treeAdapter.createDocument();if(i._bootstrap(t,void 0),s=i.tokenizer,!s)throw new Error("Expected `tokenizer`");return l=s.preprocessor,u=s.__mixins[0],c=u.posTracker,o(e),m(),t}():function(){const t={nodeName:"template",tagName:"template",attrs:[],namespaceURI:ic.html,childNodes:[]},n={nodeName:"documentmock",tagName:"documentmock",attrs:[],namespaceURI:ic.html,childNodes:[]},r={nodeName:"#document-fragment",childNodes:[]};if(i._bootstrap(n,t),i._pushTmplInsertionMode("IN_TEMPLATE_MODE"),i._initTokenizerForFragmentParsing(),i._insertFakeRootElement(),i._resetInsertionMode(),i._findFormInFragmentContext(),s=i.tokenizer,!s)throw new Error("Expected `tokenizer`");return l=s.preprocessor,u=s.__mixins[0],c=u.posTracker,o(e),m(),i._adoptNodes(n.childNodes[0],r),r}(),t);return a&&Ko(h,"comment",((e,t,n)=>{const r=e;if(r.value.stitch&&null!==n&&null!==t)return n.children[t]=r.value.stitch,t})),"root"!==e.type&&"root"===h.type&&1===h.children.length?h.children[0]:h;function p(e){let t=-1;if(e)for(;++t<e.length;)o(e[t])}function d(e){m(),i._processInputToken({type:"COMMENT_TOKEN",data:e.value,location:Sc(e)})}function f(e){let r;a=!0,r="children"in e?{...e,children:Ec({type:"root",children:e.children},t,n).children}:{...e},d({type:"comment",value:{stitch:r}})}function m(){if(!s)throw new Error("Expected `tokenizer`");if(!c)throw new Error("Expected `posTracker`");const e=s.currentCharacterToken;e&&(e.location.endLine=c.line,e.location.endCol=c.col+1,e.location.endOffset=c.offset+1,i._processInputToken(e)),s.tokenQueue=[],s.state="DATA_STATE",s.returnState="",s.charRefCode=-1,s.tempBuff=[],s.lastStartTagName="",s.consumedAfterSnapshot=-1,s.active=!1,s.currentCharacterToken=void 0,s.currentToken=void 0,s.currentAttr=void 0}};function Tc(e){return(t={tagName:e.tagName,type:"element",properties:e.properties,children:[]},mc(t,za)).attrs;var t}function xc(e){throw new Error("Cannot compile `"+e.type+"` node")}function Sc(e){const t=qo(e),n=Xo(e);return{startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:n.line,endCol:n.column,endOffset:n.offset}}function Cc(e={}){return(t,n)=>Ec(t,n,e)}const Ac=/[\0-\x1F!-,\.\/:-@\[-\^`\{-\xA9\xAB-\xB4\xB6-\xB9\xBB-\xBF\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0378\u0379\u037E\u0380-\u0385\u0387\u038B\u038D\u03A2\u03F6\u0482\u0530\u0557\u0558\u055A-\u055F\u0589-\u0590\u05BE\u05C0\u05C3\u05C6\u05C8-\u05CF\u05EB-\u05EE\u05F3-\u060F\u061B-\u061F\u066A-\u066D\u06D4\u06DD\u06DE\u06E9\u06FD\u06FE\u0700-\u070F\u074B\u074C\u07B2-\u07BF\u07F6-\u07F9\u07FB\u07FC\u07FE\u07FF\u082E-\u083F\u085C-\u085F\u086B-\u089F\u08B5\u08C8-\u08D2\u08E2\u0964\u0965\u0970\u0984\u098D\u098E\u0991\u0992\u09A9\u09B1\u09B3-\u09B5\u09BA\u09BB\u09C5\u09C6\u09C9\u09CA\u09CF-\u09D6\u09D8-\u09DB\u09DE\u09E4\u09E5\u09F2-\u09FB\u09FD\u09FF\u0A00\u0A04\u0A0B-\u0A0E\u0A11\u0A12\u0A29\u0A31\u0A34\u0A37\u0A3A\u0A3B\u0A3D\u0A43-\u0A46\u0A49\u0A4A\u0A4E-\u0A50\u0A52-\u0A58\u0A5D\u0A5F-\u0A65\u0A76-\u0A80\u0A84\u0A8E\u0A92\u0AA9\u0AB1\u0AB4\u0ABA\u0ABB\u0AC6\u0ACA\u0ACE\u0ACF\u0AD1-\u0ADF\u0AE4\u0AE5\u0AF0-\u0AF8\u0B00\u0B04\u0B0D\u0B0E\u0B11\u0B12\u0B29\u0B31\u0B34\u0B3A\u0B3B\u0B45\u0B46\u0B49\u0B4A\u0B4E-\u0B54\u0B58-\u0B5B\u0B5E\u0B64\u0B65\u0B70\u0B72-\u0B81\u0B84\u0B8B-\u0B8D\u0B91\u0B96-\u0B98\u0B9B\u0B9D\u0BA0-\u0BA2\u0BA5-\u0BA7\u0BAB-\u0BAD\u0BBA-\u0BBD\u0BC3-\u0BC5\u0BC9\u0BCE\u0BCF\u0BD1-\u0BD6\u0BD8-\u0BE5\u0BF0-\u0BFF\u0C0D\u0C11\u0C29\u0C3A-\u0C3C\u0C45\u0C49\u0C4E-\u0C54\u0C57\u0C5B-\u0C5F\u0C64\u0C65\u0C70-\u0C7F\u0C84\u0C8D\u0C91\u0CA9\u0CB4\u0CBA\u0CBB\u0CC5\u0CC9\u0CCE-\u0CD4\u0CD7-\u0CDD\u0CDF\u0CE4\u0CE5\u0CF0\u0CF3-\u0CFF\u0D0D\u0D11\u0D45\u0D49\u0D4F-\u0D53\u0D58-\u0D5E\u0D64\u0D65\u0D70-\u0D79\u0D80\u0D84\u0D97-\u0D99\u0DB2\u0DBC\u0DBE\u0DBF\u0DC7-\u0DC9\u0DCB-\u0DCE\u0DD5\u0DD7\u0DE0-\u0DE5\u0DF0\u0DF1\u0DF4-\u0E00\u0E3B-\u0E3F\u0E4F\u0E5A-\u0E80\u0E83\u0E85\u0E8B\u0EA4\u0EA6\u0EBE\u0EBF\u0EC5\u0EC7\u0ECE\u0ECF\u0EDA\u0EDB\u0EE0-\u0EFF\u0F01-\u0F17\u0F1A-\u0F1F\u0F2A-\u0F34\u0F36\u0F38\u0F3A-\u0F3D\u0F48\u0F6D-\u0F70\u0F85\u0F98\u0FBD-\u0FC5\u0FC7-\u0FFF\u104A-\u104F\u109E\u109F\u10C6\u10C8-\u10CC\u10CE\u10CF\u10FB\u1249\u124E\u124F\u1257\u1259\u125E\u125F\u1289\u128E\u128F\u12B1\u12B6\u12B7\u12BF\u12C1\u12C6\u12C7\u12D7\u1311\u1316\u1317\u135B\u135C\u1360-\u137F\u1390-\u139F\u13F6\u13F7\u13FE-\u1400\u166D\u166E\u1680\u169B-\u169F\u16EB-\u16ED\u16F9-\u16FF\u170D\u1715-\u171F\u1735-\u173F\u1754-\u175F\u176D\u1771\u1774-\u177F\u17D4-\u17D6\u17D8-\u17DB\u17DE\u17DF\u17EA-\u180A\u180E\u180F\u181A-\u181F\u1879-\u187F\u18AB-\u18AF\u18F6-\u18FF\u191F\u192C-\u192F\u193C-\u1945\u196E\u196F\u1975-\u197F\u19AC-\u19AF\u19CA-\u19CF\u19DA-\u19FF\u1A1C-\u1A1F\u1A5F\u1A7D\u1A7E\u1A8A-\u1A8F\u1A9A-\u1AA6\u1AA8-\u1AAF\u1AC1-\u1AFF\u1B4C-\u1B4F\u1B5A-\u1B6A\u1B74-\u1B7F\u1BF4-\u1BFF\u1C38-\u1C3F\u1C4A-\u1C4C\u1C7E\u1C7F\u1C89-\u1C8F\u1CBB\u1CBC\u1CC0-\u1CCF\u1CD3\u1CFB-\u1CFF\u1DFA\u1F16\u1F17\u1F1E\u1F1F\u1F46\u1F47\u1F4E\u1F4F\u1F58\u1F5A\u1F5C\u1F5E\u1F7E\u1F7F\u1FB5\u1FBD\u1FBF-\u1FC1\u1FC5\u1FCD-\u1FCF\u1FD4\u1FD5\u1FDC-\u1FDF\u1FED-\u1FF1\u1FF5\u1FFD-\u203E\u2041-\u2053\u2055-\u2070\u2072-\u207E\u2080-\u208F\u209D-\u20CF\u20F1-\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F-\u215F\u2189-\u24B5\u24EA-\u2BFF\u2C2F\u2C5F\u2CE5-\u2CEA\u2CF4-\u2CFF\u2D26\u2D28-\u2D2C\u2D2E\u2D2F\u2D68-\u2D6E\u2D70-\u2D7E\u2D97-\u2D9F\u2DA7\u2DAF\u2DB7\u2DBF\u2DC7\u2DCF\u2DD7\u2DDF\u2E00-\u2E2E\u2E30-\u3004\u3008-\u3020\u3030\u3036\u3037\u303D-\u3040\u3097\u3098\u309B\u309C\u30A0\u30FB\u3100-\u3104\u3130\u318F-\u319F\u31C0-\u31EF\u3200-\u33FF\u4DC0-\u4DFF\u9FFD-\u9FFF\uA48D-\uA4CF\uA4FE\uA4FF\uA60D-\uA60F\uA62C-\uA63F\uA673\uA67E\uA6F2-\uA716\uA720\uA721\uA789\uA78A\uA7C0\uA7C1\uA7CB-\uA7F4\uA828-\uA82B\uA82D-\uA83F\uA874-\uA87F\uA8C6-\uA8CF\uA8DA-\uA8DF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA954-\uA95F\uA97D-\uA97F\uA9C1-\uA9CE\uA9DA-\uA9DF\uA9FF\uAA37-\uAA3F\uAA4E\uAA4F\uAA5A-\uAA5F\uAA77-\uAA79\uAAC3-\uAADA\uAADE\uAADF\uAAF0\uAAF1\uAAF7-\uAB00\uAB07\uAB08\uAB0F\uAB10\uAB17-\uAB1F\uAB27\uAB2F\uAB5B\uAB6A-\uAB6F\uABEB\uABEE\uABEF\uABFA-\uABFF\uD7A4-\uD7AF\uD7C7-\uD7CA\uD7FC-\uD7FF\uE000-\uF8FF\uFA6E\uFA6F\uFADA-\uFAFF\uFB07-\uFB12\uFB18-\uFB1C\uFB29\uFB37\uFB3D\uFB3F\uFB42\uFB45\uFBB2-\uFBD2\uFD3E-\uFD4F\uFD90\uFD91\uFDC8-\uFDEF\uFDFC-\uFDFF\uFE10-\uFE1F\uFE30-\uFE32\uFE35-\uFE4C\uFE50-\uFE6F\uFE75\uFEFD-\uFF0F\uFF1A-\uFF20\uFF3B-\uFF3E\uFF40\uFF5B-\uFF65\uFFBF-\uFFC1\uFFC8\uFFC9\uFFD0\uFFD1\uFFD8\uFFD9\uFFDD-\uFFFF]|\uD800[\uDC0C\uDC27\uDC3B\uDC3E\uDC4E\uDC4F\uDC5E-\uDC7F\uDCFB-\uDD3F\uDD75-\uDDFC\uDDFE-\uDE7F\uDE9D-\uDE9F\uDED1-\uDEDF\uDEE1-\uDEFF\uDF20-\uDF2C\uDF4B-\uDF4F\uDF7B-\uDF7F\uDF9E\uDF9F\uDFC4-\uDFC7\uDFD0\uDFD6-\uDFFF]|\uD801[\uDC9E\uDC9F\uDCAA-\uDCAF\uDCD4-\uDCD7\uDCFC-\uDCFF\uDD28-\uDD2F\uDD64-\uDDFF\uDF37-\uDF3F\uDF56-\uDF5F\uDF68-\uDFFF]|\uD802[\uDC06\uDC07\uDC09\uDC36\uDC39-\uDC3B\uDC3D\uDC3E\uDC56-\uDC5F\uDC77-\uDC7F\uDC9F-\uDCDF\uDCF3\uDCF6-\uDCFF\uDD16-\uDD1F\uDD3A-\uDD7F\uDDB8-\uDDBD\uDDC0-\uDDFF\uDE04\uDE07-\uDE0B\uDE14\uDE18\uDE36\uDE37\uDE3B-\uDE3E\uDE40-\uDE5F\uDE7D-\uDE7F\uDE9D-\uDEBF\uDEC8\uDEE7-\uDEFF\uDF36-\uDF3F\uDF56-\uDF5F\uDF73-\uDF7F\uDF92-\uDFFF]|\uD803[\uDC49-\uDC7F\uDCB3-\uDCBF\uDCF3-\uDCFF\uDD28-\uDD2F\uDD3A-\uDE7F\uDEAA\uDEAD-\uDEAF\uDEB2-\uDEFF\uDF1D-\uDF26\uDF28-\uDF2F\uDF51-\uDFAF\uDFC5-\uDFDF\uDFF7-\uDFFF]|\uD804[\uDC47-\uDC65\uDC70-\uDC7E\uDCBB-\uDCCF\uDCE9-\uDCEF\uDCFA-\uDCFF\uDD35\uDD40-\uDD43\uDD48-\uDD4F\uDD74\uDD75\uDD77-\uDD7F\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDFF\uDE12\uDE38-\uDE3D\uDE3F-\uDE7F\uDE87\uDE89\uDE8E\uDE9E\uDEA9-\uDEAF\uDEEB-\uDEEF\uDEFA-\uDEFF\uDF04\uDF0D\uDF0E\uDF11\uDF12\uDF29\uDF31\uDF34\uDF3A\uDF45\uDF46\uDF49\uDF4A\uDF4E\uDF4F\uDF51-\uDF56\uDF58-\uDF5C\uDF64\uDF65\uDF6D-\uDF6F\uDF75-\uDFFF]|\uD805[\uDC4B-\uDC4F\uDC5A-\uDC5D\uDC62-\uDC7F\uDCC6\uDCC8-\uDCCF\uDCDA-\uDD7F\uDDB6\uDDB7\uDDC1-\uDDD7\uDDDE-\uDDFF\uDE41-\uDE43\uDE45-\uDE4F\uDE5A-\uDE7F\uDEB9-\uDEBF\uDECA-\uDEFF\uDF1B\uDF1C\uDF2C-\uDF2F\uDF3A-\uDFFF]|\uD806[\uDC3B-\uDC9F\uDCEA-\uDCFE\uDD07\uDD08\uDD0A\uDD0B\uDD14\uDD17\uDD36\uDD39\uDD3A\uDD44-\uDD4F\uDD5A-\uDD9F\uDDA8\uDDA9\uDDD8\uDDD9\uDDE2\uDDE5-\uDDFF\uDE3F-\uDE46\uDE48-\uDE4F\uDE9A-\uDE9C\uDE9E-\uDEBF\uDEF9-\uDFFF]|\uD807[\uDC09\uDC37\uDC41-\uDC4F\uDC5A-\uDC71\uDC90\uDC91\uDCA8\uDCB7-\uDCFF\uDD07\uDD0A\uDD37-\uDD39\uDD3B\uDD3E\uDD48-\uDD4F\uDD5A-\uDD5F\uDD66\uDD69\uDD8F\uDD92\uDD99-\uDD9F\uDDAA-\uDEDF\uDEF7-\uDFAF\uDFB1-\uDFFF]|\uD808[\uDF9A-\uDFFF]|\uD809[\uDC6F-\uDC7F\uDD44-\uDFFF]|[\uD80A\uD80B\uD80E-\uD810\uD812-\uD819\uD824-\uD82B\uD82D\uD82E\uD830-\uD833\uD837\uD839\uD83D\uD83F\uD87B-\uD87D\uD87F\uD885-\uDB3F\uDB41-\uDBFF][\uDC00-\uDFFF]|\uD80D[\uDC2F-\uDFFF]|\uD811[\uDE47-\uDFFF]|\uD81A[\uDE39-\uDE3F\uDE5F\uDE6A-\uDECF\uDEEE\uDEEF\uDEF5-\uDEFF\uDF37-\uDF3F\uDF44-\uDF4F\uDF5A-\uDF62\uDF78-\uDF7C\uDF90-\uDFFF]|\uD81B[\uDC00-\uDE3F\uDE80-\uDEFF\uDF4B-\uDF4E\uDF88-\uDF8E\uDFA0-\uDFDF\uDFE2\uDFE5-\uDFEF\uDFF2-\uDFFF]|\uD821[\uDFF8-\uDFFF]|\uD823[\uDCD6-\uDCFF\uDD09-\uDFFF]|\uD82C[\uDD1F-\uDD4F\uDD53-\uDD63\uDD68-\uDD6F\uDEFC-\uDFFF]|\uD82F[\uDC6B-\uDC6F\uDC7D-\uDC7F\uDC89-\uDC8F\uDC9A-\uDC9C\uDC9F-\uDFFF]|\uD834[\uDC00-\uDD64\uDD6A-\uDD6C\uDD73-\uDD7A\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDE41\uDE45-\uDFFF]|\uD835[\uDC55\uDC9D\uDCA0\uDCA1\uDCA3\uDCA4\uDCA7\uDCA8\uDCAD\uDCBA\uDCBC\uDCC4\uDD06\uDD0B\uDD0C\uDD15\uDD1D\uDD3A\uDD3F\uDD45\uDD47-\uDD49\uDD51\uDEA6\uDEA7\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3\uDFCC\uDFCD]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85-\uDE9A\uDEA0\uDEB0-\uDFFF]|\uD838[\uDC07\uDC19\uDC1A\uDC22\uDC25\uDC2B-\uDCFF\uDD2D-\uDD2F\uDD3E\uDD3F\uDD4A-\uDD4D\uDD4F-\uDEBF\uDEFA-\uDFFF]|\uD83A[\uDCC5-\uDCCF\uDCD7-\uDCFF\uDD4C-\uDD4F\uDD5A-\uDFFF]|\uD83B[\uDC00-\uDDFF\uDE04\uDE20\uDE23\uDE25\uDE26\uDE28\uDE33\uDE38\uDE3A\uDE3C-\uDE41\uDE43-\uDE46\uDE48\uDE4A\uDE4C\uDE50\uDE53\uDE55\uDE56\uDE58\uDE5A\uDE5C\uDE5E\uDE60\uDE63\uDE65\uDE66\uDE6B\uDE73\uDE78\uDE7D\uDE7F\uDE8A\uDE9C-\uDEA0\uDEA4\uDEAA\uDEBC-\uDFFF]|\uD83C[\uDC00-\uDD2F\uDD4A-\uDD4F\uDD6A-\uDD6F\uDD8A-\uDFFF]|\uD83E[\uDC00-\uDFEF\uDFFA-\uDFFF]|\uD869[\uDEDE-\uDEFF]|\uD86D[\uDF35-\uDF3F]|\uD86E[\uDC1E\uDC1F]|\uD873[\uDEA2-\uDEAF]|\uD87A[\uDFE1-\uDFFF]|\uD87E[\uDE1E-\uDFFF]|\uD884[\uDF4B-\uDFFF]|\uDB40[\uDC00-\uDCFF\uDDF0-\uDFFF]/g,Rc=Object.hasOwnProperty,wc={}.hasOwnProperty;function Lc(e,t){const n="string"==typeof t&&function(e){return Boolean(e&&"object"==typeof e&&"type"in e)}(e)&&"element"===e.type&&e.properties&&wc.call(e.properties,t)&&e.properties[t];return null!=n&&!1!==n}function Oc(e){const t=e&&"element"===e.type&&e.tagName.toLowerCase()||"",n=2===t.length&&104===t.charCodeAt(0)?t.charCodeAt(1):0;return n>48&&n<55?n-48:null}function Nc(e){return"children"in e?kc(e):"value"in e?e.value:""}function Ic(e){return"text"===e.type?e.value:"children"in e?kc(e):""}function kc(e){let t=-1;const n=[];for(;++t<e.children.length;)n[t]=Ic(e.children[t]);return n.join("")}const Dc=new class{constructor(){this.occurrences,this.reset()}slug(e,t){const n=this;let r=function(e,t){return"string"!=typeof e?"":(t||(e=e.toLowerCase()),e.replace(Ac,"").replace(/ /g,"-"))}(e,!0===t);const i=r;for(;Rc.call(n.occurrences,r);)n.occurrences[i]++,r=i+"-"+n.occurrences[i];return n.occurrences[r]=0,r}reset(){this.occurrences=Object.create(null)}};function Pc(e={}){const t=e.prefix||"";return e=>{Dc.reset(),Ko(e,"element",(e=>{Oc(e)&&e.properties&&!Lc(e,"id")&&(e.properties.id=t+Dc.slug(Nc(e)))}))}}const Mc=function(e){if(null==e)return Hc;if("string"==typeof e)return t=e,function(e){return Hc(e)&&e.tagName===t};var t;if("object"==typeof e)return function(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=Mc(e[n]);return Fc((function(...e){let n=-1;for(;++n<t.length;)if(t[n].call(this,...e))return!0;return!1}))}(e);if("function"==typeof e)return Fc(e);throw new Error("Expected function, string, or array as test")};function Fc(e){return function(t,...n){return Hc(t)&&Boolean(e.call(this,t,...n))}}function Hc(e){return Boolean(e&&"object"==typeof e&&"element"===e.type&&"string"==typeof e.tagName)}const Bc={type:"element",tagName:"span",properties:{className:["icon","icon-link"]},children:[]};function Uc(e={}){let t=e.properties;const n=e.behaviour||e.behavior||"prepend",r=e.content||Bc,i=e.group,o=Mc(e.test);let a;return"wrap"===n?a=function(e){return e.children=[c(e,Pr(!0,{},t),e.children)],[Wo]}:"before"===n||"after"===n?a=function(e,o,a){if("number"!=typeof o||!a)return;const u=c(e,Pr(!0,{},t),s(r,e));let h="before"===n?[u,e]:[e,u];if(i){const t=l(i,e);t&&!Array.isArray(t)&&"element"===t.type&&(t.children=h,h=[t])}return a.children.splice(o,1,...h),[Wo,o+h.length]}:(t||(t={ariaHidden:"true",tabIndex:-1}),a=function(e){return e.children["prepend"===n?"unshift":"push"](c(e,Pr(!0,{},t),s(r,e))),[Wo]}),e=>{Ko(e,"element",((e,t,n)=>{if(Oc(e)&&Lc(e,"id")&&o(e,t,n))return a(e,t,n)}))};function s(e,t){const n=l(e,t);return Array.isArray(n)?n:[n]}function l(e,t){return"function"==typeof e?e(t):Pr(!0,Array.isArray(e)?[]:{},e)}function c(e,t,n){return{type:"element",tagName:"a",properties:Object.assign({},t,{href:"#"+(e.properties||{}).id}),children:n}}}const jc=(e=[],t,n,r)=>{let i=t;for(;i<e.length;)if(i++,n){const t=e[i];if(t&&t.value&&""!==t.value.replace(/(\n|\s)/g,"")||e[i]&&"element"===e[i].type)return t.tagName===n?t:void 0}else{const t=e[i];if(!t||"element"===t.type)return;if("text"===t.type&&""!==t.value.replace(/(\n|\s)/g,""))return;if(t.type&&/^(comment|raw)$/gi.test(t.type)){if(t.value&&!/^rehype:/.test(t.value.replace(/^(\s+)?<!--(.*?)-->/,"$2")||""))return;if(r){if(jc(e,i,"pre",r))return;return t.value=(t.value||"").replace(/^(\n|\s)+/,""),t}return t.value=(t.value||"").replace(/^(\n|\s)+/,""),t}}},Gc=({value:e=""})=>{const t=((e="")=>(e.match(/([^?=&]+)(=([^&]*))/g)||[]).reduce(((e,t)=>(e[t.slice(0,t.indexOf("="))]=t.slice(t.indexOf("=")+1),e)),{}))(e.replace(/^<!--(.*?)-->/,"$1").replace(/^rehype:/,""));return Object.keys(t).forEach((e=>{"true"===t[e]&&(t[e]=!0),"false"===t[e]&&(t[e]=!1),"string"!=typeof t[e]||/^0/.test(t[e])||isNaN(+t[e])||(t[e]=+t[e])})),t},Yc=(e,t,n)=>"string"===n?{...e,"data-config":JSON.stringify({...t,rehyp:!0})}:"attr"===n?{...e,...t}:{...e,"data-config":{...t,rehyp:!0}},zc=(e={})=>{const{properties:t="data",codeBlockParames:n=!0}=e;return e=>{Ko(e,"element",((e,r,i)=>{if(n&&"pre"===e.tagName&&e&&Array.isArray(e.children)&&i&&Array.isArray(i.children)&&i.children.length>1){const n=e.children[0];if(n&&"code"===n.tagName&&"number"==typeof r){const o=((e=[],t)=>{let n=t;for(;n>-1;){if(n--,!e[n])return;if(e[n]&&e[n].value&&""!==e[n].value.replace(/(\n|\s)/g,"")||"text"!==e[n].type){if(!/^rehype:/.test(e[n].value)||"comment"!==e[n].type)return;return e[n]}}})(i.children,r);if(o){const r=Gc(o);Object.keys(r).length>0&&(e.properties={...e.properties,"data-type":"rehyp"},n.properties=Yc(n.properties,r,t))}}}if(/^(em|strong|b|a|i|p|pre|kbd|blockquote|h(1|2|3|4|5|6)|code|table|img|del|ul|ol)$/.test(e.tagName)&&i&&Array.isArray(i.children)&&"number"==typeof r){const o=jc(i.children,r,"",n);if(o){const n=Gc(o);Object.keys(n).length>0&&(e.properties=Yc(e.properties,n,t))}}}))}},$c=(e={})=>{const{openDelimiter:t="rehype:ignore:start",closeDelimiter:n="rehype:ignore:end"}=e;return e=>{Ko(e,((e,r,i)=>{if("element"===e.type||"root"===e.type){let r=!1;e.children=e.children.filter((e=>{if("raw"===e.type||"comment"===e.type){let i=(e.value||"").trim();if(i=i.replace(/^<!--(.*?)-->/,"$1"),i===t)return r=!0,!1;if(i===n)return r=!1,!1}return!r}))}}))}},Wc={}.hasOwnProperty;var Vc=u(2613);function Kc(e){e.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/}}function qc(e){e.register(Kc),e.languages.c=e.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/}),e.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),e.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},e.languages.c.string],char:e.languages.c.char,comment:e.languages.c.comment,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:e.languages.c}}}}),e.languages.insertBefore("c","function",{constant:/\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/}),delete e.languages.c.boolean}function Xc(e){e.register(qc),function(e){var t=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,n=/\b(?!<keyword>)\w+(?:\s*\.\s*\w+)*\b/.source.replace(/<keyword>/g,(function(){return t.source}));e.languages.cpp=e.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!<keyword>)\w+/.source.replace(/<keyword>/g,(function(){return t.source}))),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:t,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:false|true)\b/}),e.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:import|module)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/<mod-name>(?:\s*:\s*<mod-name>)?|:\s*<mod-name>/.source.replace(/<mod-name>/g,(function(){return n}))+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),e.languages.insertBefore("cpp","keyword",{"generic-function":{pattern:/\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,inside:{function:/^\w+/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:e.languages.cpp}}}}),e.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),e.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:e.languages.extend("cpp",{})}}),e.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},e.languages.cpp["base-clause"])}(e)}function Zc(e){e.register(Xc),e.languages.arduino=e.languages.extend("cpp",{keyword:/\b(?:String|array|bool|boolean|break|byte|case|catch|continue|default|do|double|else|finally|for|function|goto|if|in|instanceof|int|integer|long|loop|new|null|return|setup|string|switch|throw|try|void|while|word)\b/,constant:/\b(?:ANALOG_MESSAGE|DEFAULT|DIGITAL_MESSAGE|EXTERNAL|FIRMATA_STRING|HIGH|INPUT|INPUT_PULLUP|INTERNAL|INTERNAL1V1|INTERNAL2V56|LED_BUILTIN|LOW|OUTPUT|REPORT_ANALOG|REPORT_DIGITAL|SET_PIN_MODE|SYSEX_START|SYSTEM_RESET)\b/,builtin:/\b(?:Audio|BSSID|Bridge|Client|Console|EEPROM|Esplora|EsploraTFT|Ethernet|EthernetClient|EthernetServer|EthernetUDP|File|FileIO|FileSystem|Firmata|GPRS|GSM|GSMBand|GSMClient|GSMModem|GSMPIN|GSMScanner|GSMServer|GSMVoiceCall|GSM_SMS|HttpClient|IPAddress|IRread|Keyboard|KeyboardController|LiquidCrystal|LiquidCrystal_I2C|Mailbox|Mouse|MouseController|PImage|Process|RSSI|RobotControl|RobotMotor|SD|SPI|SSID|Scheduler|Serial|Server|Servo|SoftwareSerial|Stepper|Stream|TFT|Task|USBHost|WiFi|WiFiClient|WiFiServer|WiFiUDP|Wire|YunClient|YunServer|abs|addParameter|analogRead|analogReadResolution|analogReference|analogWrite|analogWriteResolution|answerCall|attach|attachGPRS|attachInterrupt|attached|autoscroll|available|background|beep|begin|beginPacket|beginSD|beginSMS|beginSpeaker|beginTFT|beginTransmission|beginWrite|bit|bitClear|bitRead|bitSet|bitWrite|blink|blinkVersion|buffer|changePIN|checkPIN|checkPUK|checkReg|circle|cityNameRead|cityNameWrite|clear|clearScreen|click|close|compassRead|config|connect|connected|constrain|cos|countryNameRead|countryNameWrite|createChar|cursor|debugPrint|delay|delayMicroseconds|detach|detachInterrupt|digitalRead|digitalWrite|disconnect|display|displayLogos|drawBMP|drawCompass|encryptionType|end|endPacket|endSMS|endTransmission|endWrite|exists|exitValue|fill|find|findUntil|flush|gatewayIP|get|getAsynchronously|getBand|getButton|getCurrentCarrier|getIMEI|getKey|getModifiers|getOemKey|getPINUsed|getResult|getSignalStrength|getSocket|getVoiceCallStatus|getXChange|getYChange|hangCall|height|highByte|home|image|interrupts|isActionDone|isDirectory|isListening|isPIN|isPressed|isValid|keyPressed|keyReleased|keyboardRead|knobRead|leftToRight|line|lineFollowConfig|listen|listenOnLocalhost|loadImage|localIP|lowByte|macAddress|maintain|map|max|messageAvailable|micros|millis|min|mkdir|motorsStop|motorsWrite|mouseDragged|mouseMoved|mousePressed|mouseReleased|move|noAutoscroll|noBlink|noBuffer|noCursor|noDisplay|noFill|noInterrupts|noListenOnLocalhost|noStroke|noTone|onReceive|onRequest|open|openNextFile|overflow|parseCommand|parseFloat|parseInt|parsePacket|pauseMode|peek|pinMode|playFile|playMelody|point|pointTo|position|pow|prepare|press|print|printFirmwareVersion|printVersion|println|process|processInput|pulseIn|put|random|randomSeed|read|readAccelerometer|readBlue|readButton|readBytes|readBytesUntil|readGreen|readJoystickButton|readJoystickSwitch|readJoystickX|readJoystickY|readLightSensor|readMessage|readMicrophone|readNetworks|readRed|readSlider|readString|readStringUntil|readTemperature|ready|rect|release|releaseAll|remoteIP|remoteNumber|remotePort|remove|requestFrom|retrieveCallingNumber|rewindDirectory|rightToLeft|rmdir|robotNameRead|robotNameWrite|run|runAsynchronously|runShellCommand|runShellCommandAsynchronously|running|scanNetworks|scrollDisplayLeft|scrollDisplayRight|seek|sendAnalog|sendDigitalPortPair|sendDigitalPorts|sendString|sendSysex|serialEvent|setBand|setBitOrder|setClockDivider|setCursor|setDNS|setDataMode|setFirmwareVersion|setMode|setPINUsed|setSpeed|setTextSize|setTimeout|shiftIn|shiftOut|shutdown|sin|size|sqrt|startLoop|step|stop|stroke|subnetMask|switchPIN|tan|tempoWrite|text|tone|transfer|tuneWrite|turn|updateIR|userNameRead|userNameWrite|voiceCall|waitContinue|width|write|writeBlue|writeGreen|writeJSON|writeMessage|writeMicroseconds|writeRGB|writeRed|yield)\b/}),e.languages.ino=e.languages.arduino}function Qc(e){!function(e){var t="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",n={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},r={bash:n,environment:{pattern:RegExp("\\$"+t),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+t),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};e.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?:\.\w+)*(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+t),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},parameter:{pattern:/(^|\s)-{1,2}(?:\w+:[+-]?)?\w+(?:\.\w+)*(?=[=\s]|$)/,alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:r},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:n}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:r},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:r.entity}}],environment:{pattern:RegExp("\\$?"+t),alias:"constant"},variable:r.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cargo|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|java|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|sysctl|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},n.inside=e.languages.bash;for(var i=["comment","function-name","for-or-select","assign-left","parameter","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],o=r.variable[1].inside,a=0;a<i.length;a++)o[i[a]]=e.languages.bash[i[a]];e.languages.sh=e.languages.bash,e.languages.shell=e.languages.bash}(e)}function Jc(e){e.register(Kc),function(e){function t(e,t){return e.replace(/<<(\d+)>>/g,(function(e,n){return"(?:"+t[+n]+")"}))}function n(e,n,r){return RegExp(t(e,n),r||"")}function r(e,t){for(var n=0;n<t;n++)e=e.replace(/<<self>>/g,(function(){return"(?:"+e+")"}));return e.replace(/<<self>>/g,"[^\\s\\S]")}var i="bool byte char decimal double dynamic float int long object sbyte short string uint ulong ushort var void",o="class enum interface record struct",a="add alias and ascending async await by descending from(?=\\s*(?:\\w|$)) get global group into init(?=\\s*;) join let nameof not notnull on or orderby partial remove select set unmanaged value when where with(?=\\s*{)",s="abstract as base break case catch checked const continue default delegate do else event explicit extern finally fixed for foreach goto if implicit in internal is lock namespace new null operator out override params private protected public readonly ref return sealed sizeof stackalloc static switch this throw try typeof unchecked unsafe using virtual volatile while yield";function l(e){return"\\b(?:"+e.trim().replace(/ /g,"|")+")\\b"}var c=l(o),u=RegExp(l(i+" "+o+" "+a+" "+s)),h=l(o+" "+a+" "+s),p=l(i+" "+o+" "+s),d=r(/<(?:[^<>;=+\-*/%&|^]|<<self>>)*>/.source,2),f=r(/\((?:[^()]|<<self>>)*\)/.source,2),m=/@?\b[A-Za-z_]\w*\b/.source,g=t(/<<0>>(?:\s*<<1>>)?/.source,[m,d]),y=t(/(?!<<0>>)<<1>>(?:\s*\.\s*<<1>>)*/.source,[h,g]),v=/\[\s*(?:,\s*)*\]/.source,_=t(/<<0>>(?:\s*(?:\?\s*)?<<1>>)*(?:\s*\?)?/.source,[y,v]),b=t(/[^,()<>[\];=+\-*/%&|^]|<<0>>|<<1>>|<<2>>/.source,[d,f,v]),E=t(/\(<<0>>+(?:,<<0>>+)+\)/.source,[b]),T=t(/(?:<<0>>|<<1>>)(?:\s*(?:\?\s*)?<<2>>)*(?:\s*\?)?/.source,[E,y,v]),x={keyword:u,punctuation:/[<>()?,.:[\]]/},S=/'(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'/.source,C=/"(?:\\.|[^\\"\r\n])*"/.source,A=/@"(?:""|\\[\s\S]|[^\\"])*"(?!")/.source;e.languages.csharp=e.languages.extend("clike",{string:[{pattern:n(/(^|[^$\\])<<0>>/.source,[A]),lookbehind:!0,greedy:!0},{pattern:n(/(^|[^@$\\])<<0>>/.source,[C]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:n(/(\busing\s+static\s+)<<0>>(?=\s*;)/.source,[y]),lookbehind:!0,inside:x},{pattern:n(/(\busing\s+<<0>>\s*=\s*)<<1>>(?=\s*;)/.source,[m,T]),lookbehind:!0,inside:x},{pattern:n(/(\busing\s+)<<0>>(?=\s*=)/.source,[m]),lookbehind:!0},{pattern:n(/(\b<<0>>\s+)<<1>>/.source,[c,g]),lookbehind:!0,inside:x},{pattern:n(/(\bcatch\s*\(\s*)<<0>>/.source,[y]),lookbehind:!0,inside:x},{pattern:n(/(\bwhere\s+)<<0>>/.source,[m]),lookbehind:!0},{pattern:n(/(\b(?:is(?:\s+not)?|as)\s+)<<0>>/.source,[_]),lookbehind:!0,inside:x},{pattern:n(/\b<<0>>(?=\s+(?!<<1>>|with\s*\{)<<2>>(?:\s*[=,;:{)\]]|\s+(?:in|when)\b))/.source,[T,p,m]),inside:x}],keyword:u,number:/(?:\b0(?:x[\da-f_]*[\da-f]|b[01_]*[01])|(?:\B\.\d+(?:_+\d+)*|\b\d+(?:_+\d+)*(?:\.\d+(?:_+\d+)*)?)(?:e[-+]?\d+(?:_+\d+)*)?)(?:[dflmu]|lu|ul)?\b/i,operator:/>>=?|<<=?|[-=]>|([-+&|])\1|~|\?\?=?|[-+*/%&|^!=<>]=?/,punctuation:/\?\.?|::|[{}[\];(),.:]/}),e.languages.insertBefore("csharp","number",{range:{pattern:/\.\./,alias:"operator"}}),e.languages.insertBefore("csharp","punctuation",{"named-parameter":{pattern:n(/([(,]\s*)<<0>>(?=\s*:)/.source,[m]),lookbehind:!0,alias:"punctuation"}}),e.languages.insertBefore("csharp","class-name",{namespace:{pattern:n(/(\b(?:namespace|using)\s+)<<0>>(?:\s*\.\s*<<0>>)*(?=\s*[;{])/.source,[m]),lookbehind:!0,inside:{punctuation:/\./}},"type-expression":{pattern:n(/(\b(?:default|sizeof|typeof)\s*\(\s*(?!\s))(?:[^()\s]|\s(?!\s)|<<0>>)*(?=\s*\))/.source,[f]),lookbehind:!0,alias:"class-name",inside:x},"return-type":{pattern:n(/<<0>>(?=\s+(?:<<1>>\s*(?:=>|[({]|\.\s*this\s*\[)|this\s*\[))/.source,[T,y]),inside:x,alias:"class-name"},"constructor-invocation":{pattern:n(/(\bnew\s+)<<0>>(?=\s*[[({])/.source,[T]),lookbehind:!0,inside:x,alias:"class-name"},"generic-method":{pattern:n(/<<0>>\s*<<1>>(?=\s*\()/.source,[m,d]),inside:{function:n(/^<<0>>/.source,[m]),generic:{pattern:RegExp(d),alias:"class-name",inside:x}}},"type-list":{pattern:n(/\b((?:<<0>>\s+<<1>>|record\s+<<1>>\s*<<5>>|where\s+<<2>>)\s*:\s*)(?:<<3>>|<<4>>|<<1>>\s*<<5>>|<<6>>)(?:\s*,\s*(?:<<3>>|<<4>>|<<6>>))*(?=\s*(?:where|[{;]|=>|$))/.source,[c,g,m,T,u.source,f,/\bnew\s*\(\s*\)/.source]),lookbehind:!0,inside:{"record-arguments":{pattern:n(/(^(?!new\s*\()<<0>>\s*)<<1>>/.source,[g,f]),lookbehind:!0,greedy:!0,inside:e.languages.csharp},keyword:u,"class-name":{pattern:RegExp(T),greedy:!0,inside:x},punctuation:/[,()]/}},preprocessor:{pattern:/(^[\t ]*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(#)\b(?:define|elif|else|endif|endregion|error|if|line|nullable|pragma|region|undef|warning)\b/,lookbehind:!0,alias:"keyword"}}}});var R=C+"|"+S,w=t(/\/(?![*/])|\/\/[^\r\n]*[\r\n]|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>/.source,[R]),L=r(t(/[^"'/()]|<<0>>|\(<<self>>*\)/.source,[w]),2),O=/\b(?:assembly|event|field|method|module|param|property|return|type)\b/.source,N=t(/<<0>>(?:\s*\(<<1>>*\))?/.source,[y,L]);e.languages.insertBefore("csharp","class-name",{attribute:{pattern:n(/((?:^|[^\s\w>)?])\s*\[\s*)(?:<<0>>\s*:\s*)?<<1>>(?:\s*,\s*<<1>>)*(?=\s*\])/.source,[O,N]),lookbehind:!0,greedy:!0,inside:{target:{pattern:n(/^<<0>>(?=\s*:)/.source,[O]),alias:"keyword"},"attribute-arguments":{pattern:n(/\(<<0>>*\)/.source,[L]),inside:e.languages.csharp},"class-name":{pattern:RegExp(y),inside:{punctuation:/\./}},punctuation:/[:,]/}}});var I=/:[^}\r\n]+/.source,k=r(t(/[^"'/()]|<<0>>|\(<<self>>*\)/.source,[w]),2),D=t(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[k,I]),P=r(t(/[^"'/()]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>|\(<<self>>*\)/.source,[R]),2),M=t(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[P,I]);function F(t,r){return{interpolation:{pattern:n(/((?:^|[^{])(?:\{\{)*)<<0>>/.source,[t]),lookbehind:!0,inside:{"format-string":{pattern:n(/(^\{(?:(?![}:])<<0>>)*)<<1>>(?=\}$)/.source,[r,I]),lookbehind:!0,inside:{punctuation:/^:/}},punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-csharp",inside:e.languages.csharp}}},string:/[\s\S]+/}}e.languages.insertBefore("csharp","string",{"interpolation-string":[{pattern:n(/(^|[^\\])(?:\$@|@\$)"(?:""|\\[\s\S]|\{\{|<<0>>|[^\\{"])*"/.source,[D]),lookbehind:!0,greedy:!0,inside:F(D,k)},{pattern:n(/(^|[^@\\])\$"(?:\\.|\{\{|<<0>>|[^\\"{])*"/.source,[M]),lookbehind:!0,greedy:!0,inside:F(M,P)}],char:{pattern:RegExp(S),greedy:!0}}),e.languages.dotnet=e.languages.cs=e.languages.csharp}(e)}function eu(e){e.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},e.languages.markup.tag.inside["attr-value"].inside.entity=e.languages.markup.entity,e.languages.markup.doctype.inside["internal-subset"].inside=e.languages.markup,e.hooks.add("wrap",(function(e){"entity"===e.type&&(e.attributes.title=e.content.value.replace(/&/,"&"))})),Object.defineProperty(e.languages.markup.tag,"addInlined",{value:function(t,n){var r={};r["language-"+n]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:e.languages[n]},r.cdata=/^<!\[CDATA\[|\]\]>$/i;var i={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:r}};i["language-"+n]={pattern:/[\s\S]+/,inside:e.languages[n]};var o={};o[t]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,(function(){return t})),"i"),lookbehind:!0,greedy:!0,inside:i},e.languages.insertBefore("markup","cdata",o)}}),Object.defineProperty(e.languages.markup.tag,"addAttribute",{value:function(t,n){e.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+t+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[n,"language-"+n],inside:e.languages[n]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),e.languages.html=e.languages.markup,e.languages.mathml=e.languages.markup,e.languages.svg=e.languages.markup,e.languages.xml=e.languages.extend("markup",{}),e.languages.ssml=e.languages.xml,e.languages.atom=e.languages.xml,e.languages.rss=e.languages.xml}function tu(e){!function(e){var t=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;e.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+t.source+")*?"+/(?:;|(?=\s*\{))/.source),inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+t.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+t.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+t.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:t,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},e.languages.css.atrule.inside.rest=e.languages.css;var n=e.languages.markup;n&&(n.tag.addInlined("style","css"),n.tag.addAttribute("style","css"))}(e)}function nu(e){!function(e){e.languages.diff={coord:[/^(?:\*{3}|-{3}|\+{3}).*$/m,/^@@.*@@$/m,/^\d.*$/m]};var t={"deleted-sign":"-","deleted-arrow":"<","inserted-sign":"+","inserted-arrow":">",unchanged:" ",diff:"!"};Object.keys(t).forEach((function(n){var r=t[n],i=[];/^\w+$/.test(n)||i.push(/\w+/.exec(n)[0]),"diff"===n&&i.push("bold"),e.languages.diff[n]={pattern:RegExp("^(?:["+r+"].*(?:\r\n?|\n|(?![\\s\\S])))+","m"),alias:i,inside:{line:{pattern:/(.)(?=[\s\S]).*(?:\r\n?|\n)?/,lookbehind:!0},prefix:{pattern:/[\s\S]/,alias:/\w+/.exec(n)[0]}}}})),Object.defineProperty(e.languages.diff,"PREFIXES",{value:t})}(e)}function ru(e){e.register(Kc),e.languages.go=e.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|false|iota|nil|true)\b/,number:[/\b0(?:b[01_]+|o[0-7_]+)i?\b/i,/\b0x(?:[a-f\d_]+(?:\.[a-f\d_]*)?|\.[a-f\d_]+)(?:p[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,/(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?[\d_]+)?i?(?!\w)/i],operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:append|bool|byte|cap|close|complex|complex(?:64|128)|copy|delete|error|float(?:32|64)|u?int(?:8|16|32|64)?|imag|len|make|new|panic|print(?:ln)?|real|recover|rune|string|uintptr)\b/}),e.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}}),delete e.languages.go["class-name"]}function iu(e){e.languages.ini={comment:{pattern:/(^[ \f\t\v]*)[#;][^\n\r]*/m,lookbehind:!0},section:{pattern:/(^[ \f\t\v]*)\[[^\n\r\]]*\]?/m,lookbehind:!0,inside:{"section-name":{pattern:/(^\[[ \f\t\v]*)[^ \f\t\v\]]+(?:[ \f\t\v]+[^ \f\t\v\]]+)*/,lookbehind:!0,alias:"selector"},punctuation:/\[|\]/}},key:{pattern:/(^[ \f\t\v]*)[^ \f\n\r\t\v=]+(?:[ \f\t\v]+[^ \f\n\r\t\v=]+)*(?=[ \f\t\v]*=)/m,lookbehind:!0,alias:"attr-name"},value:{pattern:/(=[ \f\t\v]*)[^ \f\n\r\t\v]+(?:[ \f\t\v]+[^ \f\n\r\t\v]+)*/,lookbehind:!0,alias:"attr-value",inside:{"inner-value":{pattern:/^("|').+(?=\1$)/,lookbehind:!0}}},punctuation:/=/}}function ou(e){e.register(Kc),function(e){var t=/\b(?:abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|exports|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|module|native|new|non-sealed|null|open|opens|package|permits|private|protected|provides|public|record(?!\s*[(){}[\]<>=%~.:,;?+\-*/&|^])|requires|return|sealed|short|static|strictfp|super|switch|synchronized|this|throw|throws|to|transient|transitive|try|uses|var|void|volatile|while|with|yield)\b/,n=/(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,r={pattern:RegExp(/(^|[^\w.])/.source+n+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}},punctuation:/\./}};e.languages.java=e.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"/,lookbehind:!0,greedy:!0},"class-name":[r,{pattern:RegExp(/(^|[^\w.])/.source+n+/[A-Z]\w*(?=\s+\w+\s*[;,=()]|\s*(?:\[[\s,]*\]\s*)?::\s*new\b)/.source),lookbehind:!0,inside:r.inside},{pattern:RegExp(/(\b(?:class|enum|extends|implements|instanceof|interface|new|record|throws)\s+)/.source+n+/[A-Z]\w*\b/.source),lookbehind:!0,inside:r.inside}],keyword:t,function:[e.languages.clike.function,{pattern:/(::\s*)[a-z_]\w*/,lookbehind:!0}],number:/\b0b[01][01_]*L?\b|\b0x(?:\.[\da-f_p+-]+|[\da-f_]+(?:\.[\da-f_p+-]+)?)\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfl]?/i,operator:{pattern:/(^|[^.])(?:<<=?|>>>?=?|->|--|\+\+|&&|\|\||::|[?:~]|[-+*/%&|^!=<>]=?)/m,lookbehind:!0},constant:/\b[A-Z][A-Z_\d]+\b/}),e.languages.insertBefore("java","string",{"triple-quoted-string":{pattern:/"""[ \t]*[\r\n](?:(?:"|"")?(?:\\.|[^"\\]))*"""/,greedy:!0,alias:"string"},char:{pattern:/'(?:\\.|[^'\\\r\n]){1,6}'/,greedy:!0}}),e.languages.insertBefore("java","class-name",{annotation:{pattern:/(^|[^.])@\w+(?:\s*\.\s*\w+)*/,lookbehind:!0,alias:"punctuation"},generics:{pattern:/<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&))*>)*>)*>)*>/,inside:{"class-name":r,keyword:t,punctuation:/[<>(),.:]/,operator:/[?&|]/}},import:[{pattern:RegExp(/(\bimport\s+)/.source+n+/(?:[A-Z]\w*|\*)(?=\s*;)/.source),lookbehind:!0,inside:{namespace:r.inside.namespace,punctuation:/\./,operator:/\*/,"class-name":/\w+/}},{pattern:RegExp(/(\bimport\s+static\s+)/.source+n+/(?:\w+|\*)(?=\s*;)/.source),lookbehind:!0,alias:"static",inside:{namespace:r.inside.namespace,static:/\b\w+$/,punctuation:/\./,operator:/\*/,"class-name":/\w+/}}],namespace:{pattern:RegExp(/(\b(?:exports|import(?:\s+static)?|module|open|opens|package|provides|requires|to|transitive|uses|with)\s+)(?!<keyword>)[a-z]\w*(?:\.[a-z]\w*)*\.?/.source.replace(/<keyword>/g,(function(){return t.source}))),lookbehind:!0,inside:{punctuation:/\./}}})}(e)}function au(e){!function(e){var t={pattern:/\\[\\(){}[\]^$+*?|.]/,alias:"escape"},n=/\\(?:x[\da-fA-F]{2}|u[\da-fA-F]{4}|u\{[\da-fA-F]+\}|0[0-7]{0,2}|[123][0-7]{2}|c[a-zA-Z]|.)/,r="(?:[^\\\\-]|"+n.source+")",i=RegExp(r+"-"+r),o={pattern:/(<|')[^<>']+(?=[>']$)/,lookbehind:!0,alias:"variable"};e.languages.regex={"char-class":{pattern:/((?:^|[^\\])(?:\\\\)*)\[(?:[^\\\]]|\\[\s\S])*\]/,lookbehind:!0,inside:{"char-class-negation":{pattern:/(^\[)\^/,lookbehind:!0,alias:"operator"},"char-class-punctuation":{pattern:/^\[|\]$/,alias:"punctuation"},range:{pattern:i,inside:{escape:n,"range-punctuation":{pattern:/-/,alias:"operator"}}},"special-escape":t,"char-set":{pattern:/\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},escape:n}},"special-escape":t,"char-set":{pattern:/\.|\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},backreference:[{pattern:/\\(?![123][0-7]{2})[1-9]/,alias:"keyword"},{pattern:/\\k<[^<>']+>/,alias:"keyword",inside:{"group-name":o}}],anchor:{pattern:/[$^]|\\[ABbGZz]/,alias:"function"},escape:n,group:[{pattern:/\((?:\?(?:<[^<>']+>|'[^<>']+'|[>:]|<?[=!]|[idmnsuxU]+(?:-[idmnsuxU]+)?:?))?/,alias:"punctuation",inside:{"group-name":o}},{pattern:/\)/,alias:"punctuation"}],quantifier:{pattern:/(?:[+*?]|\{\d+(?:,\d*)?\})[?+]?/,alias:"number"},alternation:{pattern:/\|/,alias:"keyword"}}}(e)}function su(e){e.register(Kc),e.languages.javascript=e.languages.extend("clike",{"class-name":[e.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),e.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,e.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:e.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:e.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:e.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:e.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:e.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),e.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:e.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),e.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),e.languages.markup&&(e.languages.markup.tag.addInlined("script","javascript"),e.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),e.languages.js=e.languages.javascript}function lu(e){e.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}},e.languages.webmanifest=e.languages.json}function cu(e){e.register(Kc),function(e){e.languages.kotlin=e.languages.extend("clike",{keyword:{pattern:/(^|[^.])\b(?:abstract|actual|annotation|as|break|by|catch|class|companion|const|constructor|continue|crossinline|data|do|dynamic|else|enum|expect|external|final|finally|for|fun|get|if|import|in|infix|init|inline|inner|interface|internal|is|lateinit|noinline|null|object|open|operator|out|override|package|private|protected|public|reified|return|sealed|set|super|suspend|tailrec|this|throw|to|try|typealias|val|var|vararg|when|where|while)\b/,lookbehind:!0},function:[{pattern:/(?:`[^\r\n`]+`|\b\w+)(?=\s*\()/,greedy:!0},{pattern:/(\.)(?:`[^\r\n`]+`|\w+)(?=\s*\{)/,lookbehind:!0,greedy:!0}],number:/\b(?:0[xX][\da-fA-F]+(?:_[\da-fA-F]+)*|0[bB][01]+(?:_[01]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?[fFL]?)\b/,operator:/\+[+=]?|-[-=>]?|==?=?|!(?:!|==?)?|[\/*%<>]=?|[?:]:?|\.\.|&&|\|\||\b(?:and|inv|or|shl|shr|ushr|xor)\b/}),delete e.languages.kotlin["class-name"];var t={"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:e.languages.kotlin}};e.languages.insertBefore("kotlin","string",{"string-literal":[{pattern:/"""(?:[^$]|\$(?:(?!\{)|\{[^{}]*\}))*?"""/,alias:"multiline",inside:{interpolation:{pattern:/\$(?:[a-z_]\w*|\{[^{}]*\})/i,inside:t},string:/[\s\S]+/}},{pattern:/"(?:[^"\\\r\n$]|\\.|\$(?:(?!\{)|\{[^{}]*\}))*"/,alias:"singleline",inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:[a-z_]\w*|\{[^{}]*\})/i,lookbehind:!0,inside:t},string:/[\s\S]+/}}],char:{pattern:/'(?:[^'\\\r\n]|\\(?:.|u[a-fA-F0-9]{0,4}))'/,greedy:!0}}),delete e.languages.kotlin.string,e.languages.insertBefore("kotlin","keyword",{annotation:{pattern:/\B@(?:\w+:)?(?:[A-Z]\w*|\[[^\]]+\])/,alias:"builtin"}}),e.languages.insertBefore("kotlin","function",{label:{pattern:/\b\w+@|@\w+\b/,alias:"symbol"}}),e.languages.kt=e.languages.kotlin,e.languages.kts=e.languages.kotlin}(e)}function uu(e){e.register(tu),e.languages.less=e.languages.extend("css",{comment:[/\/\*[\s\S]*?\*\//,{pattern:/(^|[^\\])\/\/.*/,lookbehind:!0}],atrule:{pattern:/@[\w-](?:\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{punctuation:/[:()]/}},selector:{pattern:/(?:@\{[\w-]+\}|[^{};\s@])(?:@\{[\w-]+\}|\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};@\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{variable:/@+[\w-]+/}},property:/(?:@\{[\w-]+\}|[\w-])+(?:\+_?)?(?=\s*:)/,operator:/[+\-*\/]/}),e.languages.insertBefore("less","property",{variable:[{pattern:/@[\w-]+\s*:/,inside:{punctuation:/:/}},/@@?[\w-]+/],"mixin-usage":{pattern:/([{;]\s*)[.#](?!\d)[\w-].*?(?=[(;])/,lookbehind:!0,alias:"function"}})}function hu(e){e.languages.lua={comment:/^#!.+|--(?:\[(=*)\[[\s\S]*?\]\1\]|.*)/m,string:{pattern:/(["'])(?:(?!\1)[^\\\r\n]|\\z(?:\r\n|\s)|\\(?:\r\n|[^z]))*\1|\[(=*)\[[\s\S]*?\]\2\]/,greedy:!0},number:/\b0x[a-f\d]+(?:\.[a-f\d]*)?(?:p[+-]?\d+)?\b|\b\d+(?:\.\B|(?:\.\d*)?(?:e[+-]?\d+)?\b)|\B\.\d+(?:e[+-]?\d+)?\b/i,keyword:/\b(?:and|break|do|else|elseif|end|false|for|function|goto|if|in|local|nil|not|or|repeat|return|then|true|until|while)\b/,function:/(?!\d)\w+(?=\s*(?:[({]))/,operator:[/[-+*%^&|#]|\/\/?|<[<=]?|>[>=]?|[=~]=?/,{pattern:/(^|[^.])\.\.(?!\.)/,lookbehind:!0}],punctuation:/[\[\](){},;]|\.+|:+/}}function pu(e){e.languages.makefile={comment:{pattern:/(^|[^\\])#(?:\\(?:\r\n|[\s\S])|[^\\\r\n])*/,lookbehind:!0},string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"builtin-target":{pattern:/\.[A-Z][^:#=\s]+(?=\s*:(?!=))/,alias:"builtin"},target:{pattern:/^(?:[^:=\s]|[ \t]+(?![\s:]))+(?=\s*:(?!=))/m,alias:"symbol",inside:{variable:/\$+(?:(?!\$)[^(){}:#=\s]+|(?=[({]))/}},variable:/\$+(?:(?!\$)[^(){}:#=\s]+|\([@*%<^+?][DF]\)|(?=[({]))/,keyword:/-include\b|\b(?:define|else|endef|endif|export|ifn?def|ifn?eq|include|override|private|sinclude|undefine|unexport|vpath)\b/,function:{pattern:/(\()(?:abspath|addsuffix|and|basename|call|dir|error|eval|file|filter(?:-out)?|findstring|firstword|flavor|foreach|guile|if|info|join|lastword|load|notdir|or|origin|patsubst|realpath|shell|sort|strip|subst|suffix|value|warning|wildcard|word(?:list|s)?)(?=[ \t])/,lookbehind:!0},operator:/(?:::|[?:+!])?=|[|@]/,punctuation:/[:;(){}]/}}function du(e){!function(e){var t=/[*&][^\s[\]{},]+/,n=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,r="(?:"+n.source+"(?:[ \t]+"+t.source+")?|"+t.source+"(?:[ \t]+"+n.source+")?)",i=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-]<PLAIN>)(?:[ \t]*(?:(?![#:])<PLAIN>|:<PLAIN>))*/.source.replace(/<PLAIN>/g,(function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source})),o=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function a(e,t){t=(t||"").replace(/m/g,"")+"m";var n=/([:\-,[{]\s*(?:\s<<prop>>[ \t]+)?)(?:<<value>>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<<prop>>/g,(function(){return r})).replace(/<<value>>/g,(function(){return e}));return RegExp(n,t)}e.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<<prop>>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<<prop>>/g,(function(){return r}))),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<<prop>>[ \t]+)?)<<key>>(?=\s*:\s)/.source.replace(/<<prop>>/g,(function(){return r})).replace(/<<key>>/g,(function(){return"(?:"+i+"|"+o+")"}))),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:a(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:a(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:a(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:a(o),lookbehind:!0,greedy:!0},number:{pattern:a(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:n,important:t,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},e.languages.yml=e.languages.yaml}(e)}function fu(e){e.register(eu),function(e){var t=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function n(e){return e=e.replace(/<inner>/g,(function(){return t})),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+e+")")}var r=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,i=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,(function(){return r})),o=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;e.languages.markdown=e.languages.extend("markup",{}),e.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:e.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+i+o+"(?:"+i+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+i+o+")(?:"+i+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(r),inside:e.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+i+")"+o+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+i+"$"),inside:{"table-header":{pattern:RegExp(r),alias:"important",inside:e.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:n(/\b__(?:(?!_)<inner>|_(?:(?!_)<inner>)+_)+__\b|\*\*(?:(?!\*)<inner>|\*(?:(?!\*)<inner>)+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:n(/\b_(?:(?!_)<inner>|__(?:(?!_)<inner>)+__)+_\b|\*(?:(?!\*)<inner>|\*\*(?:(?!\*)<inner>)+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:n(/(~~?)(?:(?!~)<inner>)+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:n(/!?\[(?:(?!\])<inner>)+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\])<inner>)+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach((function(t){["url","bold","italic","strike","code-snippet"].forEach((function(n){t!==n&&(e.languages.markdown[t].inside.content.inside[n]=e.languages.markdown[n])}))})),e.hooks.add("after-tokenize",(function(e){"markdown"!==e.language&&"md"!==e.language||function e(t){if(t&&"string"!=typeof t)for(var n=0,r=t.length;n<r;n++){var i=t[n];if("code"===i.type){var o=i.content[1],a=i.content[3];if(o&&a&&"code-language"===o.type&&"code-block"===a.type&&"string"==typeof o.content){var s=o.content.replace(/\b#/g,"sharp").replace(/\b\+\+/g,"pp"),l="language-"+(s=(/[a-z][\w-]*/i.exec(s)||[""])[0].toLowerCase());a.alias?"string"==typeof a.alias?a.alias=[a.alias,l]:a.alias.push(l):a.alias=[l]}}else e(i.content)}}(e.tokens)})),e.hooks.add("wrap",(function(t){if("code-block"===t.type){for(var n="",r=0,i=t.classes.length;r<i;r++){var o=t.classes[r],a=/language-(.+)/.exec(o);if(a){n=a[1];break}}var s=e.languages[n];if(s)t.content=e.highlight(t.content.value,s,n);else if(n&&"none"!==n&&e.plugins.autoloader){var l="md-"+(new Date).valueOf()+"-"+Math.floor(1e16*Math.random());t.attributes.id=l,e.plugins.autoloader.loadLanguages(n,(function(){var t=document.getElementById(l);t&&(t.innerHTML=e.highlight(t.textContent,e.languages[n],n))}))}}})),RegExp(e.languages.markup.tag.pattern.source,"gi"),String.fromCodePoint||String.fromCharCode,e.languages.md=e.languages.markdown}(e)}function mu(e){e.register(qc),e.languages.objectivec=e.languages.extend("c",{string:{pattern:/@?"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|in|inline|int|long|register|return|self|short|signed|sizeof|static|struct|super|switch|typedef|typeof|union|unsigned|void|volatile|while)\b|(?:@interface|@end|@implementation|@protocol|@class|@public|@protected|@private|@property|@try|@catch|@finally|@throw|@synthesize|@dynamic|@selector)\b/,operator:/-[->]?|\+\+?|!=?|<<?=?|>>?=?|==?|&&?|\|\|?|[~^%?*\/@]/}),delete e.languages.objectivec["class-name"],e.languages.objc=e.languages.objectivec}function gu(e){!function(e){var t=/(?:\((?:[^()\\]|\\[\s\S])*\)|\{(?:[^{}\\]|\\[\s\S])*\}|\[(?:[^[\]\\]|\\[\s\S])*\]|<(?:[^<>\\]|\\[\s\S])*>)/.source;e.languages.perl={comment:[{pattern:/(^\s*)=\w[\s\S]*?=cut.*/m,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\$])#.*/,lookbehind:!0,greedy:!0}],string:[{pattern:RegExp(/\b(?:q|qq|qw|qx)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/([a-zA-Z0-9])(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,t].join("|")+")"),greedy:!0},{pattern:/("|`)(?:(?!\1)[^\\]|\\[\s\S])*\1/,greedy:!0},{pattern:/'(?:[^'\\\r\n]|\\.)*'/,greedy:!0}],regex:[{pattern:RegExp(/\b(?:m|qr)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/([a-zA-Z0-9])(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,t].join("|")+")"+/[msixpodualngc]*/.source),greedy:!0},{pattern:RegExp(/(^|[^-])\b(?:s|tr|y)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\2)[^\\]|\\[\s\S])*\2(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,/([a-zA-Z0-9])(?:(?!\3)[^\\]|\\[\s\S])*\3(?:(?!\3)[^\\]|\\[\s\S])*\3/.source,t+/\s*/.source+t].join("|")+")"+/[msixpodualngcer]*/.source),lookbehind:!0,greedy:!0},{pattern:/\/(?:[^\/\\\r\n]|\\.)*\/[msixpodualngc]*(?=\s*(?:$|[\r\n,.;})&|\-+*~<>!?^]|(?:and|cmp|eq|ge|gt|le|lt|ne|not|or|x|xor)\b))/,greedy:!0}],variable:[/[&*$@%]\{\^[A-Z]+\}/,/[&*$@%]\^[A-Z_]/,/[&*$@%]#?(?=\{)/,/[&*$@%]#?(?:(?:::)*'?(?!\d)[\w$]+(?![\w$]))+(?:::)*/,/[&*$@%]\d+/,/(?!%=)[$@%][!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~]/],filehandle:{pattern:/<(?![<=])\S*?>|\b_\b/,alias:"symbol"},"v-string":{pattern:/v\d+(?:\.\d+)*|\d+(?:\.\d+){2,}/,alias:"string"},function:{pattern:/(\bsub[ \t]+)\w+/,lookbehind:!0},keyword:/\b(?:any|break|continue|default|delete|die|do|else|elsif|eval|for|foreach|given|goto|if|last|local|my|next|our|package|print|redo|require|return|say|state|sub|switch|undef|unless|until|use|when|while)\b/,number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)\b/,operator:/-[rwxoRWXOezsfdlpSbctugkTBMAC]\b|\+[+=]?|-[-=>]?|\*\*?=?|\/\/?=?|=[=~>]?|~[~=]?|\|\|?=?|&&?=?|<(?:=>?|<=?)?|>>?=?|![~=]?|[%^]=?|\.(?:=|\.\.?)?|[\\?]|\bx(?:=|\b)|\b(?:and|cmp|eq|ge|gt|le|lt|ne|not|or|xor)\b/,punctuation:/[{}[\];(),:]/}}(e)}function yu(e){e.register(eu),function(e){function t(e,t){return"___"+e.toUpperCase()+t+"___"}Object.defineProperties(e.languages["markup-templating"]={},{buildPlaceholders:{value:function(n,r,i,o){if(n.language===r){var a=n.tokenStack=[];n.code=n.code.replace(i,(function(e){if("function"==typeof o&&!o(e))return e;for(var i,s=a.length;-1!==n.code.indexOf(i=t(r,s));)++s;return a[s]=e,i})),n.grammar=e.languages.markup}}},tokenizePlaceholders:{value:function(n,r){if(n.language===r&&n.tokenStack){n.grammar=e.languages[r];var i=0,o=Object.keys(n.tokenStack);!function a(s){for(var l=0;l<s.length&&!(i>=o.length);l++){var c=s[l];if("string"==typeof c||c.content&&"string"==typeof c.content){var u=o[i],h=n.tokenStack[u],p="string"==typeof c?c:c.content,d=t(r,u),f=p.indexOf(d);if(f>-1){++i;var m=p.substring(0,f),g=new e.Token(r,e.tokenize(h,n.grammar),"language-"+r,h),y=p.substring(f+d.length),v=[];m&&v.push.apply(v,a([m])),v.push(g),y&&v.push.apply(v,a([y])),"string"==typeof c?s.splice.apply(s,[l,1].concat(v)):c.content=v}}else c.content&&a(c.content)}return s}(n.tokens)}}}})}(e)}function vu(e){e.register(yu),function(e){var t=/\/\*[\s\S]*?\*\/|\/\/.*|#(?!\[).*/,n=[{pattern:/\b(?:false|true)\b/i,alias:"boolean"},{pattern:/(::\s*)\b[a-z_]\w*\b(?!\s*\()/i,greedy:!0,lookbehind:!0},{pattern:/(\b(?:case|const)\s+)\b[a-z_]\w*(?=\s*[;=])/i,greedy:!0,lookbehind:!0},/\b(?:null)\b/i,/\b[A-Z_][A-Z0-9_]*\b(?!\s*\()/],r=/\b0b[01]+(?:_[01]+)*\b|\b0o[0-7]+(?:_[0-7]+)*\b|\b0x[\da-f]+(?:_[\da-f]+)*\b|(?:\b\d+(?:_\d+)*\.?(?:\d+(?:_\d+)*)?|\B\.\d+)(?:e[+-]?\d+)?/i,i=/<?=>|\?\?=?|\.{3}|\??->|[!=]=?=?|::|\*\*=?|--|\+\+|&&|\|\||<<|>>|[?~]|[/^|%*&<>.+-]=?/,o=/[{}\[\](),:;]/;e.languages.php={delimiter:{pattern:/\?>$|^<\?(?:php(?=\s)|=)?/i,alias:"important"},comment:t,variable:/\$+(?:\w+\b|(?=\{))/,package:{pattern:/(namespace\s+|use\s+(?:function\s+)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,lookbehind:!0,inside:{punctuation:/\\/}},"class-name-definition":{pattern:/(\b(?:class|enum|interface|trait)\s+)\b[a-z_]\w*(?!\\)\b/i,lookbehind:!0,alias:"class-name"},"function-definition":{pattern:/(\bfunction\s+)[a-z_]\w*(?=\s*\()/i,lookbehind:!0,alias:"function"},keyword:[{pattern:/(\(\s*)\b(?:array|bool|boolean|float|int|integer|object|string)\b(?=\s*\))/i,alias:"type-casting",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|object|self|static|string)\b(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|never|object|self|static|string|void)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/\b(?:array(?!\s*\()|bool|float|int|iterable|mixed|object|string|void)\b/i,alias:"type-declaration",greedy:!0},{pattern:/(\|\s*)(?:false|null)\b|\b(?:false|null)(?=\s*\|)/i,alias:"type-declaration",greedy:!0,lookbehind:!0},{pattern:/\b(?:parent|self|static)(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(\byield\s+)from\b/i,lookbehind:!0},/\bclass\b/i,{pattern:/((?:^|[^\s>:]|(?:^|[^-])>|(?:^|[^:]):)\s*)\b(?:abstract|and|array|as|break|callable|case|catch|clone|const|continue|declare|default|die|do|echo|else|elseif|empty|enddeclare|endfor|endforeach|endif|endswitch|endwhile|enum|eval|exit|extends|final|finally|fn|for|foreach|function|global|goto|if|implements|include|include_once|instanceof|insteadof|interface|isset|list|match|namespace|never|new|or|parent|print|private|protected|public|readonly|require|require_once|return|self|static|switch|throw|trait|try|unset|use|var|while|xor|yield|__halt_compiler)\b/i,lookbehind:!0}],"argument-name":{pattern:/([(,]\s*)\b[a-z_]\w*(?=\s*:(?!:))/i,lookbehind:!0},"class-name":[{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self|\s+static))\s+|\bcatch\s*\()\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/(\|\s*)\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/\b[a-z_]\w*(?!\\)\b(?=\s*\|)/i,greedy:!0},{pattern:/(\|\s*)(?:\\?\b[a-z_]\w*)+\b/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(?:\\?\b[a-z_]\w*)+\b(?=\s*\|)/i,alias:"class-name-fully-qualified",greedy:!0,inside:{punctuation:/\\/}},{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self\b|\s+static\b))\s+|\bcatch\s*\()(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*\$)/i,alias:"type-declaration",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-declaration"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*::)/i,alias:["class-name-fully-qualified","static-context"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/([(,?]\s*)[a-z_]\w*(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-hint"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b[a-z_]\w*(?!\\)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:["class-name-fully-qualified","return-type"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:n,function:{pattern:/(^|[^\\\w])\\?[a-z_](?:[\w\\]*\w)?(?=\s*\()/i,lookbehind:!0,inside:{punctuation:/\\/}},property:{pattern:/(->\s*)\w+/,lookbehind:!0},number:r,operator:i,punctuation:o};var a={pattern:/\{\$(?:\{(?:\{[^{}]+\}|[^{}]+)\}|[^{}])+\}|(^|[^\\{])\$+(?:\w+(?:\[[^\r\n\[\]]+\]|->\w+)?)/,lookbehind:!0,inside:e.languages.php},s=[{pattern:/<<<'([^']+)'[\r\n](?:.*[\r\n])*?\1;/,alias:"nowdoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<'[^']+'|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<'?|[';]$/}}}},{pattern:/<<<(?:"([^"]+)"[\r\n](?:.*[\r\n])*?\1;|([a-z_]\w*)[\r\n](?:.*[\r\n])*?\2;)/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<(?:"[^"]+"|[a-z_]\w*)|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<"?|[";]$/}},interpolation:a}},{pattern:/`(?:\\[\s\S]|[^\\`])*`/,alias:"backtick-quoted-string",greedy:!0},{pattern:/'(?:\\[\s\S]|[^\\'])*'/,alias:"single-quoted-string",greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,alias:"double-quoted-string",greedy:!0,inside:{interpolation:a}}];e.languages.insertBefore("php","variable",{string:s,attribute:{pattern:/#\[(?:[^"'\/#]|\/(?![*/])|\/\/.*$|#(?!\[).*$|\/\*(?:[^*]|\*(?!\/))*\*\/|"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*')+\](?=\s*[a-z$#])/im,greedy:!0,inside:{"attribute-content":{pattern:/^(#\[)[\s\S]+(?=\]$)/,lookbehind:!0,inside:{comment:t,string:s,"attribute-class-name":[{pattern:/([^:]|^)\b[a-z_]\w*(?!\\)\b/i,alias:"class-name",greedy:!0,lookbehind:!0},{pattern:/([^:]|^)(?:\\?\b[a-z_]\w*)+/i,alias:["class-name","class-name-fully-qualified"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:n,number:r,operator:i,punctuation:o}},delimiter:{pattern:/^#\[|\]$/,alias:"punctuation"}}}}),e.hooks.add("before-tokenize",(function(t){/<\?/.test(t.code)&&e.languages["markup-templating"].buildPlaceholders(t,"php",/<\?(?:[^"'/#]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|(?:\/\/|#(?!\[))(?:[^?\n\r]|\?(?!>))*(?=$|\?>|[\r\n])|#\[|\/\*(?:[^*]|\*(?!\/))*(?:\*\/|$))*?(?:\?>|$)/g)})),e.hooks.add("after-tokenize",(function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"php")}))}(e)}function _u(e){e.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},e.languages.python["string-interpolation"].inside.interpolation.inside.rest=e.languages.python,e.languages.py=e.languages.python}function bu(e){e.languages.r={comment:/#.*/,string:{pattern:/(['"])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},"percent-operator":{pattern:/%[^%\s]*%/,alias:"operator"},boolean:/\b(?:FALSE|TRUE)\b/,ellipsis:/\.\.(?:\.|\d+)/,number:[/\b(?:Inf|NaN)\b/,/(?:\b0x[\dA-Fa-f]+(?:\.\d*)?|\b\d+(?:\.\d*)?|\B\.\d+)(?:[EePp][+-]?\d+)?[iL]?/],keyword:/\b(?:NA|NA_character_|NA_complex_|NA_integer_|NA_real_|NULL|break|else|for|function|if|in|next|repeat|while)\b/,operator:/->?>?|<(?:=|<?-)?|[>=!]=?|::?|&&?|\|\|?|[+*\/^$@~]/,punctuation:/[(){}\[\],;]/}}function Eu(e){e.register(Kc),function(e){e.languages.ruby=e.languages.extend("clike",{comment:{pattern:/#.*|^=begin\s[\s\S]*?^=end/m,greedy:!0},"class-name":{pattern:/(\b(?:class|module)\s+|\bcatch\s+\()[\w.\\]+|\b[A-Z_]\w*(?=\s*\.\s*new\b)/,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:BEGIN|END|alias|and|begin|break|case|class|def|define_method|defined|do|each|else|elsif|end|ensure|extend|for|if|in|include|module|new|next|nil|not|or|prepend|private|protected|public|raise|redo|require|rescue|retry|return|self|super|then|throw|undef|unless|until|when|while|yield)\b/,operator:/\.{2,3}|&\.|===|<?=>|[!=]?~|(?:&&|\|\||<<|>>|\*\*|[+\-*/%<>!^&|=])=?|[?:]/,punctuation:/[(){}[\].,;]/}),e.languages.insertBefore("ruby","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}});var t={pattern:/((?:^|[^\\])(?:\\{2})*)#\{(?:[^{}]|\{[^{}]*\})*\}/,lookbehind:!0,inside:{content:{pattern:/^(#\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:e.languages.ruby},delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"}}};delete e.languages.ruby.function;var n="(?:"+[/([^a-zA-Z0-9\s{(\[<=])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/\((?:[^()\\]|\\[\s\S]|\((?:[^()\\]|\\[\s\S])*\))*\)/.source,/\{(?:[^{}\\]|\\[\s\S]|\{(?:[^{}\\]|\\[\s\S])*\})*\}/.source,/\[(?:[^\[\]\\]|\\[\s\S]|\[(?:[^\[\]\\]|\\[\s\S])*\])*\]/.source,/<(?:[^<>\\]|\\[\s\S]|<(?:[^<>\\]|\\[\s\S])*>)*>/.source].join("|")+")",r=/(?:"(?:\\.|[^"\\\r\n])*"|(?:\b[a-zA-Z_]\w*|[^\s\0-\x7F]+)[?!]?|\$.)/.source;e.languages.insertBefore("ruby","keyword",{"regex-literal":[{pattern:RegExp(/%r/.source+n+/[egimnosux]{0,6}/.source),greedy:!0,inside:{interpolation:t,regex:/[\s\S]+/}},{pattern:/(^|[^/])\/(?!\/)(?:\[[^\r\n\]]+\]|\\.|[^[/\\\r\n])+\/[egimnosux]{0,6}(?=\s*(?:$|[\r\n,.;})#]))/,lookbehind:!0,greedy:!0,inside:{interpolation:t,regex:/[\s\S]+/}}],variable:/[@$]+[a-zA-Z_]\w*(?:[?!]|\b)/,symbol:[{pattern:RegExp(/(^|[^:]):/.source+r),lookbehind:!0,greedy:!0},{pattern:RegExp(/([\r\n{(,][ \t]*)/.source+r+/(?=:(?!:))/.source),lookbehind:!0,greedy:!0}],"method-definition":{pattern:/(\bdef\s+)\w+(?:\s*\.\s*\w+)?/,lookbehind:!0,inside:{function:/\b\w+$/,keyword:/^self\b/,"class-name":/^\w+/,punctuation:/\./}}}),e.languages.insertBefore("ruby","string",{"string-literal":[{pattern:RegExp(/%[qQiIwWs]?/.source+n),greedy:!0,inside:{interpolation:t,string:/[\s\S]+/}},{pattern:/("|')(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|(?!\1)[^\\#\r\n])*\1/,greedy:!0,inside:{interpolation:t,string:/[\s\S]+/}},{pattern:/<<[-~]?([a-z_]\w*)[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?[a-z_]\w*|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?/}},interpolation:t,string:/[\s\S]+/}},{pattern:/<<[-~]?'([a-z_]\w*)'[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?'[a-z_]\w*'|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?'|'$/}},string:/[\s\S]+/}}],"command-literal":[{pattern:RegExp(/%x/.source+n),greedy:!0,inside:{interpolation:t,command:{pattern:/[\s\S]+/,alias:"string"}}},{pattern:/`(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|[^\\`#\r\n])*`/,greedy:!0,inside:{interpolation:t,command:{pattern:/[\s\S]+/,alias:"string"}}}]}),delete e.languages.ruby.string,e.languages.insertBefore("ruby","number",{builtin:/\b(?:Array|Bignum|Binding|Class|Continuation|Dir|Exception|FalseClass|File|Fixnum|Float|Hash|IO|Integer|MatchData|Method|Module|NilClass|Numeric|Object|Proc|Range|Regexp|Stat|String|Struct|Symbol|TMS|Thread|ThreadGroup|Time|TrueClass)\b/,constant:/\b[A-Z][A-Z0-9_]*(?:[?!]|\b)/}),e.languages.rb=e.languages.ruby}(e)}function Tu(e){!function(e){for(var t=/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|<self>)*\*\//.source,n=0;n<2;n++)t=t.replace(/<self>/g,(function(){return t}));t=t.replace(/<self>/g,(function(){return/[^\s\S]/.source})),e.languages.rust={comment:[{pattern:RegExp(/(^|[^\\])/.source+t),lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/b?"(?:\\[\s\S]|[^\\"])*"|b?r(#*)"(?:[^"]|"(?!\1))*"\1/,greedy:!0},char:{pattern:/b?'(?:\\(?:x[0-7][\da-fA-F]|u\{(?:[\da-fA-F]_*){1,6}\}|.)|[^\\\r\n\t'])'/,greedy:!0},attribute:{pattern:/#!?\[(?:[^\[\]"]|"(?:\\[\s\S]|[^\\"])*")*\]/,greedy:!0,alias:"attr-name",inside:{string:null}},"closure-params":{pattern:/([=(,:]\s*|\bmove\s*)\|[^|]*\||\|[^|]*\|(?=\s*(?:\{|->))/,lookbehind:!0,greedy:!0,inside:{"closure-punctuation":{pattern:/^\||\|$/,alias:"punctuation"},rest:null}},"lifetime-annotation":{pattern:/'\w+/,alias:"symbol"},"fragment-specifier":{pattern:/(\$\w+:)[a-z]+/,lookbehind:!0,alias:"punctuation"},variable:/\$\w+/,"function-definition":{pattern:/(\bfn\s+)\w+/,lookbehind:!0,alias:"function"},"type-definition":{pattern:/(\b(?:enum|struct|trait|type|union)\s+)\w+/,lookbehind:!0,alias:"class-name"},"module-declaration":[{pattern:/(\b(?:crate|mod)\s+)[a-z][a-z_\d]*/,lookbehind:!0,alias:"namespace"},{pattern:/(\b(?:crate|self|super)\s*)::\s*[a-z][a-z_\d]*\b(?:\s*::(?:\s*[a-z][a-z_\d]*\s*::)*)?/,lookbehind:!0,alias:"namespace",inside:{punctuation:/::/}}],keyword:[/\b(?:Self|abstract|as|async|await|become|box|break|const|continue|crate|do|dyn|else|enum|extern|final|fn|for|if|impl|in|let|loop|macro|match|mod|move|mut|override|priv|pub|ref|return|self|static|struct|super|trait|try|type|typeof|union|unsafe|unsized|use|virtual|where|while|yield)\b/,/\b(?:bool|char|f(?:32|64)|[ui](?:8|16|32|64|128|size)|str)\b/],function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())/,macro:{pattern:/\b\w+!/,alias:"property"},constant:/\b[A-Z_][A-Z_\d]+\b/,"class-name":/\b[A-Z]\w*\b/,namespace:{pattern:/(?:\b[a-z][a-z_\d]*\s*::\s*)*\b[a-z][a-z_\d]*\s*::(?!\s*<)/,inside:{punctuation:/::/}},number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0o[0-7](?:_?[0-7])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)(?:_?(?:f32|f64|[iu](?:8|16|32|64|size)?))?\b/,boolean:/\b(?:false|true)\b/,punctuation:/->|\.\.=|\.{1,3}|::|[{}[\];(),:]/,operator:/[-+*\/%!^]=?|=[=>]?|&[&=]?|\|[|=]?|<<?=?|>>?=?|[@?]/},e.languages.rust["closure-params"].inside.rest=e.languages.rust,e.languages.rust.attribute.inside.string=e.languages.rust.string}(e)}function xu(e){e.register(tu),function(e){e.languages.sass=e.languages.extend("css",{comment:{pattern:/^([ \t]*)\/[\/*].*(?:(?:\r?\n|\r)\1[ \t].+)*/m,lookbehind:!0,greedy:!0}}),e.languages.insertBefore("sass","atrule",{"atrule-line":{pattern:/^(?:[ \t]*)[@+=].+/m,greedy:!0,inside:{atrule:/(?:@[\w-]+|[+=])/}}}),delete e.languages.sass.atrule;var t=/\$[-\w]+|#\{\$[-\w]+\}/,n=[/[+*\/%]|[=!]=|<=?|>=?|\b(?:and|not|or)\b/,{pattern:/(\s)-(?=\s)/,lookbehind:!0}];e.languages.insertBefore("sass","property",{"variable-line":{pattern:/^[ \t]*\$.+/m,greedy:!0,inside:{punctuation:/:/,variable:t,operator:n}},"property-line":{pattern:/^[ \t]*(?:[^:\s]+ *:.*|:[^:\s].*)/m,greedy:!0,inside:{property:[/[^:\s]+(?=\s*:)/,{pattern:/(:)[^:\s]+/,lookbehind:!0}],punctuation:/:/,variable:t,operator:n,important:e.languages.sass.important}}}),delete e.languages.sass.property,delete e.languages.sass.important,e.languages.insertBefore("sass","punctuation",{selector:{pattern:/^([ \t]*)\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*(?:,(?:\r?\n|\r)\1[ \t]+\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*)*/m,lookbehind:!0,greedy:!0}})}(e)}function Su(e){e.register(tu),e.languages.scss=e.languages.extend("css",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},atrule:{pattern:/@[\w-](?:\([^()]+\)|[^()\s]|\s+(?!\s))*?(?=\s+[{;])/,inside:{rule:/@[\w-]+/}},url:/(?:[-a-z]+-)?url(?=\()/i,selector:{pattern:/(?=\S)[^@;{}()]?(?:[^@;{}()\s]|\s+(?!\s)|#\{\$[-\w]+\})+(?=\s*\{(?:\}|\s|[^}][^:{}]*[:{][^}]))/,inside:{parent:{pattern:/&/,alias:"important"},placeholder:/%[-\w]+/,variable:/\$[-\w]+|#\{\$[-\w]+\}/}},property:{pattern:/(?:[-\w]|\$[-\w]|#\{\$[-\w]+\})+(?=\s*:)/,inside:{variable:/\$[-\w]+|#\{\$[-\w]+\}/}}}),e.languages.insertBefore("scss","atrule",{keyword:[/@(?:content|debug|each|else(?: if)?|extend|for|forward|function|if|import|include|mixin|return|use|warn|while)\b/i,{pattern:/( )(?:from|through)(?= )/,lookbehind:!0}]}),e.languages.insertBefore("scss","important",{variable:/\$[-\w]+|#\{\$[-\w]+\}/}),e.languages.insertBefore("scss","function",{"module-modifier":{pattern:/\b(?:as|hide|show|with)\b/i,alias:"keyword"},placeholder:{pattern:/%[-\w]+/,alias:"selector"},statement:{pattern:/\B!(?:default|optional)\b/i,alias:"keyword"},boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"},operator:{pattern:/(\s)(?:[-+*\/%]|[=!]=|<=?|>=?|and|not|or)(?=\s)/,lookbehind:!0}}),e.languages.scss.atrule.inside.rest=e.languages.scss}function Cu(e){e.languages.sql={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},variable:[{pattern:/@(["'`])(?:\\[\s\S]|(?!\1)[^\\])+\1/,greedy:!0},/@[\w.$]+/],string:{pattern:/(^|[^@\\])("|')(?:\\[\s\S]|(?!\2)[^\\]|\2\2)*\2/,greedy:!0,lookbehind:!0},identifier:{pattern:/(^|[^@\\])`(?:\\[\s\S]|[^`\\]|``)*`/,greedy:!0,lookbehind:!0,inside:{punctuation:/^`|`$/}},function:/\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/i,keyword:/\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:COL|_INSERT)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|KEYS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURN(?:ING|S)?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\b/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/i,number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/}}function Au(e){e.languages.swift={comment:{pattern:/(^|[^\\:])(?:\/\/.*|\/\*(?:[^/*]|\/(?!\*)|\*(?!\/)|\/\*(?:[^*]|\*(?!\/))*\*\/)*\*\/)/,lookbehind:!0,greedy:!0},"string-literal":[{pattern:RegExp(/(^|[^"#])/.source+"(?:"+/"(?:\\(?:\((?:[^()]|\([^()]*\))*\)|\r\n|[^(])|[^\\\r\n"])*"/.source+"|"+/"""(?:\\(?:\((?:[^()]|\([^()]*\))*\)|[^(])|[^\\"]|"(?!""))*"""/.source+")"+/(?!["#])/.source),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\\($/,alias:"punctuation"},punctuation:/\\(?=[\r\n])/,string:/[\s\S]+/}},{pattern:RegExp(/(^|[^"#])(#+)/.source+"(?:"+/"(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|\r\n|[^#])|[^\\\r\n])*?"/.source+"|"+/"""(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|[^#])|[^\\])*?"""/.source+")\\2"),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\#+\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\#+\($/,alias:"punctuation"},string:/[\s\S]+/}}],directive:{pattern:RegExp(/#/.source+"(?:"+/(?:elseif|if)\b/.source+"(?:[ \t]*"+/(?:![ \t]*)?(?:\b\w+\b(?:[ \t]*\((?:[^()]|\([^()]*\))*\))?|\((?:[^()]|\([^()]*\))*\))(?:[ \t]*(?:&&|\|\|))?/.source+")+|"+/(?:else|endif)\b/.source+")"),alias:"property",inside:{"directive-name":/^#\w+/,boolean:/\b(?:false|true)\b/,number:/\b\d+(?:\.\d+)*\b/,operator:/!|&&|\|\||[<>]=?/,punctuation:/[(),]/}},literal:{pattern:/#(?:colorLiteral|column|dsohandle|file(?:ID|Literal|Path)?|function|imageLiteral|line)\b/,alias:"constant"},"other-directive":{pattern:/#\w+\b/,alias:"property"},attribute:{pattern:/@\w+/,alias:"atrule"},"function-definition":{pattern:/(\bfunc\s+)\w+/,lookbehind:!0,alias:"function"},label:{pattern:/\b(break|continue)\s+\w+|\b[a-zA-Z_]\w*(?=\s*:\s*(?:for|repeat|while)\b)/,lookbehind:!0,alias:"important"},keyword:/\b(?:Any|Protocol|Self|Type|actor|as|assignment|associatedtype|associativity|async|await|break|case|catch|class|continue|convenience|default|defer|deinit|didSet|do|dynamic|else|enum|extension|fallthrough|fileprivate|final|for|func|get|guard|higherThan|if|import|in|indirect|infix|init|inout|internal|is|isolated|lazy|left|let|lowerThan|mutating|none|nonisolated|nonmutating|open|operator|optional|override|postfix|precedencegroup|prefix|private|protocol|public|repeat|required|rethrows|return|right|safe|self|set|some|static|struct|subscript|super|switch|throw|throws|try|typealias|unowned|unsafe|var|weak|where|while|willSet)\b/,boolean:/\b(?:false|true)\b/,nil:{pattern:/\bnil\b/,alias:"constant"},"short-argument":/\$\d+\b/,omit:{pattern:/\b_\b/,alias:"keyword"},number:/\b(?:[\d_]+(?:\.[\de_]+)?|0x[a-f0-9_]+(?:\.[a-f0-9p_]+)?|0b[01_]+|0o[0-7_]+)\b/i,"class-name":/\b[A-Z](?:[A-Z_\d]*[a-z]\w*)?\b/,function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:[A-Z_]{2,}|k[A-Z][A-Za-z_]+)\b/,operator:/[-+*/%=!<>&|^~?]+|\.[.\-+*/%=!<>&|^~?]+/,punctuation:/[{}[\]();,.:\\]/},e.languages.swift["string-literal"].forEach((function(t){t.inside.interpolation.inside=e.languages.swift}))}function Ru(e){e.register(su),function(e){e.languages.typescript=e.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),e.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete e.languages.typescript.parameter,delete e.languages.typescript["literal-property"];var t=e.languages.extend("typescript",{});delete t["class-name"],e.languages.typescript["class-name"].inside=t,e.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:t}}}}),e.languages.ts=e.languages.typescript}(e)}function wu(e){e.languages.basic={comment:{pattern:/(?:!|REM\b).+/i,inside:{keyword:/^REM/i}},string:{pattern:/"(?:""|[!#$%&'()*,\/:;<=>?^\w +\-.])*"/,greedy:!0},number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,keyword:/\b(?:AS|BEEP|BLOAD|BSAVE|CALL(?: ABSOLUTE)?|CASE|CHAIN|CHDIR|CLEAR|CLOSE|CLS|COM|COMMON|CONST|DATA|DECLARE|DEF(?: FN| SEG|DBL|INT|LNG|SNG|STR)|DIM|DO|DOUBLE|ELSE|ELSEIF|END|ENVIRON|ERASE|ERROR|EXIT|FIELD|FILES|FOR|FUNCTION|GET|GOSUB|GOTO|IF|INPUT|INTEGER|IOCTL|KEY|KILL|LINE INPUT|LOCATE|LOCK|LONG|LOOP|LSET|MKDIR|NAME|NEXT|OFF|ON(?: COM| ERROR| KEY| TIMER)?|OPEN|OPTION BASE|OUT|POKE|PUT|READ|REDIM|REM|RESTORE|RESUME|RETURN|RMDIR|RSET|RUN|SELECT CASE|SHARED|SHELL|SINGLE|SLEEP|STATIC|STEP|STOP|STRING|SUB|SWAP|SYSTEM|THEN|TIMER|TO|TROFF|TRON|TYPE|UNLOCK|UNTIL|USING|VIEW PRINT|WAIT|WEND|WHILE|WRITE)(?:\$|\b)/i,function:/\b(?:ABS|ACCESS|ACOS|ANGLE|AREA|ARITHMETIC|ARRAY|ASIN|ASK|AT|ATN|BASE|BEGIN|BREAK|CAUSE|CEIL|CHR|CLIP|COLLATE|COLOR|CON|COS|COSH|COT|CSC|DATE|DATUM|DEBUG|DECIMAL|DEF|DEG|DEGREES|DELETE|DET|DEVICE|DISPLAY|DOT|ELAPSED|EPS|ERASABLE|EXLINE|EXP|EXTERNAL|EXTYPE|FILETYPE|FIXED|FP|GO|GRAPH|HANDLER|IDN|IMAGE|IN|INT|INTERNAL|IP|IS|KEYED|LBOUND|LCASE|LEFT|LEN|LENGTH|LET|LINE|LINES|LOG|LOG10|LOG2|LTRIM|MARGIN|MAT|MAX|MAXNUM|MID|MIN|MISSING|MOD|NATIVE|NUL|NUMERIC|OF|OPTION|ORD|ORGANIZATION|OUTIN|OUTPUT|PI|POINT|POINTER|POINTS|POS|PRINT|PROGRAM|PROMPT|RAD|RADIANS|RANDOMIZE|RECORD|RECSIZE|RECTYPE|RELATIVE|REMAINDER|REPEAT|REST|RETRY|REWRITE|RIGHT|RND|ROUND|RTRIM|SAME|SEC|SELECT|SEQUENTIAL|SET|SETTER|SGN|SIN|SINH|SIZE|SKIP|SQR|STANDARD|STATUS|STR|STREAM|STYLE|TAB|TAN|TANH|TEMPLATE|TEXT|THERE|TIME|TIMEOUT|TRACE|TRANSFORM|TRUNCATE|UBOUND|UCASE|USE|VAL|VARIABLE|VIEWPORT|WHEN|WINDOW|WITH|ZER|ZONEWIDTH)(?:\$|\b)/i,operator:/<[=>]?|>=?|[+\-*\/^=&]|\b(?:AND|EQV|IMP|NOT|OR|XOR)\b/i,punctuation:/[,;:()]/}}function Lu(e){e.register(wu),e.languages.vbnet=e.languages.extend("basic",{comment:[{pattern:/(?:!|REM\b).+/i,inside:{keyword:/^REM/i}},{pattern:/(^|[^\\:])'.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(^|[^"])"(?:""|[^"])*"(?!")/,lookbehind:!0,greedy:!0},keyword:/(?:\b(?:ADDHANDLER|ADDRESSOF|ALIAS|AND|ANDALSO|AS|BEEP|BLOAD|BOOLEAN|BSAVE|BYREF|BYTE|BYVAL|CALL(?: ABSOLUTE)?|CASE|CATCH|CBOOL|CBYTE|CCHAR|CDATE|CDBL|CDEC|CHAIN|CHAR|CHDIR|CINT|CLASS|CLEAR|CLNG|CLOSE|CLS|COBJ|COM|COMMON|CONST|CONTINUE|CSBYTE|CSHORT|CSNG|CSTR|CTYPE|CUINT|CULNG|CUSHORT|DATA|DATE|DECIMAL|DECLARE|DEF(?: FN| SEG|DBL|INT|LNG|SNG|STR)|DEFAULT|DELEGATE|DIM|DIRECTCAST|DO|DOUBLE|ELSE|ELSEIF|END|ENUM|ENVIRON|ERASE|ERROR|EVENT|EXIT|FALSE|FIELD|FILES|FINALLY|FOR(?: EACH)?|FRIEND|FUNCTION|GET|GETTYPE|GETXMLNAMESPACE|GLOBAL|GOSUB|GOTO|HANDLES|IF|IMPLEMENTS|IMPORTS|IN|INHERITS|INPUT|INTEGER|INTERFACE|IOCTL|IS|ISNOT|KEY|KILL|LET|LIB|LIKE|LINE INPUT|LOCATE|LOCK|LONG|LOOP|LSET|ME|MKDIR|MOD|MODULE|MUSTINHERIT|MUSTOVERRIDE|MYBASE|MYCLASS|NAME|NAMESPACE|NARROWING|NEW|NEXT|NOT|NOTHING|NOTINHERITABLE|NOTOVERRIDABLE|OBJECT|OF|OFF|ON(?: COM| ERROR| KEY| TIMER)?|OPEN|OPERATOR|OPTION(?: BASE)?|OPTIONAL|OR|ORELSE|OUT|OVERLOADS|OVERRIDABLE|OVERRIDES|PARAMARRAY|PARTIAL|POKE|PRIVATE|PROPERTY|PROTECTED|PUBLIC|PUT|RAISEEVENT|READ|READONLY|REDIM|REM|REMOVEHANDLER|RESTORE|RESUME|RETURN|RMDIR|RSET|RUN|SBYTE|SELECT(?: CASE)?|SET|SHADOWS|SHARED|SHELL|SHORT|SINGLE|SLEEP|STATIC|STEP|STOP|STRING|STRUCTURE|SUB|SWAP|SYNCLOCK|SYSTEM|THEN|THROW|TIMER|TO|TROFF|TRON|TRUE|TRY|TRYCAST|TYPE|TYPEOF|UINTEGER|ULONG|UNLOCK|UNTIL|USHORT|USING|VIEW PRINT|WAIT|WEND|WHEN|WHILE|WIDENING|WITH|WITHEVENTS|WRITE|WRITEONLY|XOR)|\B(?:#CONST|#ELSE|#ELSEIF|#END|#IF))(?:\$|\b)/i,punctuation:/[,;:(){}]/})}Kc.displayName="clike",Kc.aliases=[],qc.displayName="c",qc.aliases=[],Xc.displayName="cpp",Xc.aliases=[],Zc.displayName="arduino",Zc.aliases=["ino"],Qc.displayName="bash",Qc.aliases=["sh","shell"],Jc.displayName="csharp",Jc.aliases=["cs","dotnet"],eu.displayName="markup",eu.aliases=["atom","html","mathml","rss","ssml","svg","xml"],tu.displayName="css",tu.aliases=[],nu.displayName="diff",nu.aliases=[],ru.displayName="go",ru.aliases=[],iu.displayName="ini",iu.aliases=[],ou.displayName="java",ou.aliases=[],au.displayName="regex",au.aliases=[],su.displayName="javascript",su.aliases=["js"],lu.displayName="json",lu.aliases=["webmanifest"],cu.displayName="kotlin",cu.aliases=["kt","kts"],uu.displayName="less",uu.aliases=[],hu.displayName="lua",hu.aliases=[],pu.displayName="makefile",pu.aliases=[],du.displayName="yaml",du.aliases=["yml"],fu.displayName="markdown",fu.aliases=["md"],mu.displayName="objectivec",mu.aliases=["objc"],gu.displayName="perl",gu.aliases=[],yu.displayName="markup-templating",yu.aliases=[],vu.displayName="php",vu.aliases=[],_u.displayName="python",_u.aliases=["py"],bu.displayName="r",bu.aliases=[],Eu.displayName="ruby",Eu.aliases=["rb"],Tu.displayName="rust",Tu.aliases=[],xu.displayName="sass",xu.aliases=[],Su.displayName="scss",Su.aliases=[],Cu.displayName="sql",Cu.aliases=[],Au.displayName="swift",Au.aliases=[],Ru.displayName="typescript",Ru.aliases=["ts"],wu.displayName="basic",wu.aliases=[],Lu.displayName="vbnet",Lu.aliases=[];const Ou=["AElig","AMP","Aacute","Acirc","Agrave","Aring","Atilde","Auml","COPY","Ccedil","ETH","Eacute","Ecirc","Egrave","Euml","GT","Iacute","Icirc","Igrave","Iuml","LT","Ntilde","Oacute","Ocirc","Ograve","Oslash","Otilde","Ouml","QUOT","REG","THORN","Uacute","Ucirc","Ugrave","Uuml","Yacute","aacute","acirc","acute","aelig","agrave","amp","aring","atilde","auml","brvbar","ccedil","cedil","cent","copy","curren","deg","divide","eacute","ecirc","egrave","eth","euml","frac12","frac14","frac34","gt","iacute","icirc","iexcl","igrave","iquest","iuml","laquo","lt","macr","micro","middot","nbsp","not","ntilde","oacute","ocirc","ograve","ordf","ordm","oslash","otilde","ouml","para","plusmn","pound","quot","raquo","reg","sect","shy","sup1","sup2","sup3","szlig","thorn","times","uacute","ucirc","ugrave","uml","uuml","yacute","yen","yuml"],Nu={0:"�",128:"€",130:"‚",131:"ƒ",132:"„",133:"…",134:"†",135:"‡",136:"ˆ",137:"‰",138:"Š",139:"‹",140:"Œ",142:"Ž",145:"‘",146:"’",147:"“",148:"”",149:"•",150:"–",151:"—",152:"˜",153:"™",154:"š",155:"›",156:"œ",158:"ž",159:"Ÿ"};function Iu(e){const t="string"==typeof e?e.charCodeAt(0):e;return t>=48&&t<=57}function ku(e){const t="string"==typeof e?e.charCodeAt(0):e;return t>=97&&t<=102||t>=65&&t<=70||t>=48&&t<=57}function Du(e){return function(e){const t="string"==typeof e?e.charCodeAt(0):e;return t>=97&&t<=122||t>=65&&t<=90}(e)||Iu(e)}const Pu=String.fromCharCode,Mu=["","Named character references must be terminated by a semicolon","Numeric character references must be terminated by a semicolon","Named character references cannot be empty","Numeric character references cannot be empty","Named character references must be known","Numeric character references cannot be disallowed","Numeric character references cannot be outside the permissible Unicode range"];function Fu(e,t={}){const n="string"==typeof t.additional?t.additional.charCodeAt(0):t.additional,r=[];let i,o,a=0,s=-1,l="";t.position&&("start"in t.position||"indent"in t.position?(o=t.position.indent,i=t.position.start):i=t.position);let c,u=(i?i.line:0)||1,h=(i?i.column:0)||1,p=f();for(a--;++a<=e.length;)if(10===c&&(h=(o?o[s]:0)||1),c=e.charCodeAt(a),38===c){const i=e.charCodeAt(a+1);if(9===i||10===i||12===i||32===i||38===i||60===i||Number.isNaN(i)||n&&i===n){l+=Pu(c),h++;continue}const o=a+1;let s,u=o,y=o;if(35===i){y=++u;const t=e.charCodeAt(y);88===t||120===t?(s="hexadecimal",y=++u):s="decimal"}else s="named";let v="",_="",b="";const E="named"===s?Du:"decimal"===s?Iu:ku;for(y--;++y<=e.length;){const t=e.charCodeAt(y);if(!E(t))break;b+=Pu(t),"named"===s&&Ou.includes(b)&&(v=b,_=no(b))}let T=59===e.charCodeAt(y);if(T){y++;const e="named"===s&&no(b);e&&(v=b,_=e)}let x=1+y-o,S="";if(T||!1!==t.nonTerminated)if(b)if("named"===s){if(T&&!_)m(5,1);else if(v!==b&&(y=u+v.length,x=1+y-u,T=!1),!T){const n=v?1:3;if(t.attribute){const t=e.charCodeAt(y);61===t?(m(n,x),_=""):Du(t)?_="":m(n,x)}else m(n,x)}S=_}else{T||m(2,x);let e=Number.parseInt(b,"hexadecimal"===s?16:10);if((d=e)>=55296&&d<=57343||d>1114111)m(7,x),S=Pu(65533);else if(e in Nu)m(6,x),S=Nu[e];else{let t="";Hu(e)&&m(6,x),e>65535&&(e-=65536,t+=Pu(e>>>10|55296),e=56320|1023&e),S=t+Pu(e)}}else"named"!==s&&m(4,x);if(S){g(),p=f(),a=y-1,h+=y-o+1,r.push(S);const n=f();n.offset++,t.reference&&t.reference.call(t.referenceContext,S,{start:p,end:n},e.slice(o-1,y)),p=n}else b=e.slice(o-1,y),l+=b,h+=b.length,a=y-1}else 10===c&&(u++,s++,h=0),Number.isNaN(c)?g():(l+=Pu(c),h++);var d;return r.join("");function f(){return{line:u,column:h,offset:a+((i?i.offset:0)||0)}}function m(e,n){let r;t.warning&&(r=f(),r.column+=n,r.offset+=n,t.warning.call(t.warningContext,Mu[e],r,e))}function g(){l&&(r.push(l),t.text&&t.text.call(t.textContext,l,{start:p,end:f()}),l="")}}function Hu(e){return e>=1&&e<=8||11===e||e>=13&&e<=31||e>=127&&e<=159||e>=64976&&e<=65007||65535==(65535&e)||65534==(65535&e)}var Bu=0,Uu={},ju={util:{type:function(e){return Object.prototype.toString.call(e).slice(8,-1)},objId:function(e){return e.__id||Object.defineProperty(e,"__id",{value:++Bu}),e.__id},clone:function e(t,n){var r,i;switch(n=n||{},ju.util.type(t)){case"Object":if(i=ju.util.objId(t),n[i])return n[i];for(var o in r={},n[i]=r,t)t.hasOwnProperty(o)&&(r[o]=e(t[o],n));return r;case"Array":return i=ju.util.objId(t),n[i]?n[i]:(r=[],n[i]=r,t.forEach((function(t,i){r[i]=e(t,n)})),r);default:return t}}},languages:{plain:Uu,plaintext:Uu,text:Uu,txt:Uu,extend:function(e,t){var n=ju.util.clone(ju.languages[e]);for(var r in t)n[r]=t[r];return n},insertBefore:function(e,t,n,r){var i=(r=r||ju.languages)[e],o={};for(var a in i)if(i.hasOwnProperty(a)){if(a==t)for(var s in n)n.hasOwnProperty(s)&&(o[s]=n[s]);n.hasOwnProperty(a)||(o[a]=i[a])}var l=r[e];return r[e]=o,ju.languages.DFS(ju.languages,(function(t,n){n===l&&t!=e&&(this[t]=o)})),o},DFS:function e(t,n,r,i){i=i||{};var o=ju.util.objId;for(var a in t)if(t.hasOwnProperty(a)){n.call(t,a,t[a],r||a);var s=t[a],l=ju.util.type(s);"Object"!==l||i[o(s)]?"Array"!==l||i[o(s)]||(i[o(s)]=!0,e(s,n,a,i)):(i[o(s)]=!0,e(s,n,null,i))}}},plugins:{},highlight:function(e,t,n){var r={code:e,grammar:t,language:n};if(ju.hooks.run("before-tokenize",r),!r.grammar)throw new Error('The language "'+r.language+'" has no grammar.');return r.tokens=ju.tokenize(r.code,r.grammar),ju.hooks.run("after-tokenize",r),Gu.stringify(ju.util.encode(r.tokens),r.language)},tokenize:function(e,t){var n=t.rest;if(n){for(var r in n)t[r]=n[r];delete t.rest}var i=new $u;return Wu(i,i.head,e),zu(e,i,t,i.head,0),function(e){for(var t=[],n=e.head.next;n!==e.tail;)t.push(n.value),n=n.next;return t}(i)},hooks:{all:{},add:function(e,t){var n=ju.hooks.all;n[e]=n[e]||[],n[e].push(t)},run:function(e,t){var n=ju.hooks.all[e];if(n&&n.length)for(var r,i=0;r=n[i++];)r(t)}},Token:Gu};function Gu(e,t,n,r){this.type=e,this.content=t,this.alias=n,this.length=0|(r||"").length}function Yu(e,t,n,r){e.lastIndex=t;var i=e.exec(n);if(i&&r&&i[1]){var o=i[1].length;i.index+=o,i[0]=i[0].slice(o)}return i}function zu(e,t,n,r,i,o){for(var a in n)if(n.hasOwnProperty(a)&&n[a]){var s=n[a];s=Array.isArray(s)?s:[s];for(var l=0;l<s.length;++l){if(o&&o.cause==a+","+l)return;var c=s[l],u=c.inside,h=!!c.lookbehind,p=!!c.greedy,d=c.alias;if(p&&!c.pattern.global){var f=c.pattern.toString().match(/[imsuy]*$/)[0];c.pattern=RegExp(c.pattern.source,f+"g")}for(var m=c.pattern||c,g=r.next,y=i;g!==t.tail&&!(o&&y>=o.reach);y+=g.value.length,g=g.next){var v=g.value;if(t.length>e.length)return;if(!(v instanceof Gu)){var _,b=1;if(p){if(!(_=Yu(m,y,e,h))||_.index>=e.length)break;var E=_.index,T=_.index+_[0].length,x=y;for(x+=g.value.length;E>=x;)x+=(g=g.next).value.length;if(y=x-=g.value.length,g.value instanceof Gu)continue;for(var S=g;S!==t.tail&&(x<T||"string"==typeof S.value);S=S.next)b++,x+=S.value.length;b--,v=e.slice(y,x),_.index-=y}else if(!(_=Yu(m,0,v,h)))continue;E=_.index;var C=_[0],A=v.slice(0,E),R=v.slice(E+C.length),w=y+v.length;o&&w>o.reach&&(o.reach=w);var L=g.prev;if(A&&(L=Wu(t,L,A),y+=A.length),Vu(t,L,b),g=Wu(t,L,new Gu(a,u?ju.tokenize(C,u):C,d,C)),R&&Wu(t,g,R),b>1){var O={cause:a+","+l,reach:w};zu(e,t,n,g.prev,y,O),o&&O.reach>o.reach&&(o.reach=O.reach)}}}}}}function $u(){var e={value:null,prev:null,next:null},t={value:null,prev:e,next:null};e.next=t,this.head=e,this.tail=t,this.length=0}function Wu(e,t,n){var r=t.next,i={value:n,prev:t,next:r};return t.next=i,r.prev=i,e.length++,i}function Vu(e,t,n){for(var r=t.next,i=0;i<n&&r!==e.tail;i++)r=r.next;t.next=r,r.prev=t,e.length-=i}const Ku=ju,qu={}.hasOwnProperty;function Xu(){}Xu.prototype=Ku;const Zu=new Xu;function Qu(e){e.languages.abap={comment:/^\*.*/m,string:/(`|')(?:\\.|(?!\1)[^\\\r\n])*\1/,"string-template":{pattern:/([|}])(?:\\.|[^\\|{\r\n])*(?=[|{])/,lookbehind:!0,alias:"string"},"eol-comment":{pattern:/(^|\s)".*/m,lookbehind:!0,alias:"comment"},keyword:{pattern:/(\s|\.|^)(?:\*-INPUT|\?TO|ABAP-SOURCE|ABBREVIATED|ABS|ABSTRACT|ACCEPT|ACCEPTING|ACCESSPOLICY|ACCORDING|ACOS|ACTIVATION|ACTUAL|ADD|ADD-CORRESPONDING|ADJACENT|AFTER|ALIAS|ALIASES|ALIGN|ALL|ALLOCATE|ALPHA|ANALYSIS|ANALYZER|AND|ANY|APPEND|APPENDAGE|APPENDING|APPLICATION|ARCHIVE|AREA|ARITHMETIC|AS|ASCENDING|ASIN|ASPECT|ASSERT|ASSIGN|ASSIGNED|ASSIGNING|ASSOCIATION|ASYNCHRONOUS|AT|ATAN|ATTRIBUTES|AUTHORITY|AUTHORITY-CHECK|AVG|BACK|BACKGROUND|BACKUP|BACKWARD|BADI|BASE|BEFORE|BEGIN|BETWEEN|BIG|BINARY|BINDING|BIT|BIT-AND|BIT-NOT|BIT-OR|BIT-XOR|BLACK|BLANK|BLANKS|BLOB|BLOCK|BLOCKS|BLUE|BOUND|BOUNDARIES|BOUNDS|BOXED|BREAK-POINT|BT|BUFFER|BY|BYPASSING|BYTE|BYTE-CA|BYTE-CN|BYTE-CO|BYTE-CS|BYTE-NA|BYTE-NS|BYTE-ORDER|C|CA|CALL|CALLING|CASE|CAST|CASTING|CATCH|CEIL|CENTER|CENTERED|CHAIN|CHAIN-INPUT|CHAIN-REQUEST|CHANGE|CHANGING|CHANNELS|CHAR-TO-HEX|CHARACTER|CHARLEN|CHECK|CHECKBOX|CIRCULAR|CI_|CLASS|CLASS-CODING|CLASS-DATA|CLASS-EVENTS|CLASS-METHODS|CLASS-POOL|CLEANUP|CLEAR|CLIENT|CLOB|CLOCK|CLOSE|CN|CNT|CO|COALESCE|CODE|CODING|COLLECT|COLOR|COLUMN|COLUMNS|COL_BACKGROUND|COL_GROUP|COL_HEADING|COL_KEY|COL_NEGATIVE|COL_NORMAL|COL_POSITIVE|COL_TOTAL|COMMENT|COMMENTS|COMMIT|COMMON|COMMUNICATION|COMPARING|COMPONENT|COMPONENTS|COMPRESSION|COMPUTE|CONCAT|CONCATENATE|COND|CONDENSE|CONDITION|CONNECT|CONNECTION|CONSTANTS|CONTEXT|CONTEXTS|CONTINUE|CONTROL|CONTROLS|CONV|CONVERSION|CONVERT|COPIES|COPY|CORRESPONDING|COS|COSH|COUNT|COUNTRY|COVER|CP|CPI|CREATE|CREATING|CRITICAL|CS|CURRENCY|CURRENCY_CONVERSION|CURRENT|CURSOR|CURSOR-SELECTION|CUSTOMER|CUSTOMER-FUNCTION|DANGEROUS|DATA|DATABASE|DATAINFO|DATASET|DATE|DAYLIGHT|DBMAXLEN|DD\/MM\/YY|DD\/MM\/YYYY|DDMMYY|DEALLOCATE|DECIMALS|DECIMAL_SHIFT|DECLARATIONS|DEEP|DEFAULT|DEFERRED|DEFINE|DEFINING|DEFINITION|DELETE|DELETING|DEMAND|DEPARTMENT|DESCENDING|DESCRIBE|DESTINATION|DETAIL|DIALOG|DIRECTORY|DISCONNECT|DISPLAY|DISPLAY-MODE|DISTANCE|DISTINCT|DIV|DIVIDE|DIVIDE-CORRESPONDING|DIVISION|DO|DUMMY|DUPLICATE|DUPLICATES|DURATION|DURING|DYNAMIC|DYNPRO|E|EACH|EDIT|EDITOR-CALL|ELSE|ELSEIF|EMPTY|ENABLED|ENABLING|ENCODING|END|END-ENHANCEMENT-SECTION|END-LINES|END-OF-DEFINITION|END-OF-FILE|END-OF-PAGE|END-OF-SELECTION|ENDAT|ENDCASE|ENDCATCH|ENDCHAIN|ENDCLASS|ENDDO|ENDENHANCEMENT|ENDEXEC|ENDFOR|ENDFORM|ENDFUNCTION|ENDIAN|ENDIF|ENDING|ENDINTERFACE|ENDLOOP|ENDMETHOD|ENDMODULE|ENDON|ENDPROVIDE|ENDSELECT|ENDTRY|ENDWHILE|ENGINEERING|ENHANCEMENT|ENHANCEMENT-POINT|ENHANCEMENT-SECTION|ENHANCEMENTS|ENTRIES|ENTRY|ENVIRONMENT|EQ|EQUAL|EQUIV|ERRORMESSAGE|ERRORS|ESCAPE|ESCAPING|EVENT|EVENTS|EXACT|EXCEPT|EXCEPTION|EXCEPTION-TABLE|EXCEPTIONS|EXCLUDE|EXCLUDING|EXEC|EXECUTE|EXISTS|EXIT|EXIT-COMMAND|EXP|EXPAND|EXPANDING|EXPIRATION|EXPLICIT|EXPONENT|EXPORT|EXPORTING|EXTEND|EXTENDED|EXTENSION|EXTRACT|FAIL|FETCH|FIELD|FIELD-GROUPS|FIELD-SYMBOL|FIELD-SYMBOLS|FIELDS|FILE|FILTER|FILTER-TABLE|FILTERS|FINAL|FIND|FIRST|FIRST-LINE|FIXED-POINT|FKEQ|FKGE|FLOOR|FLUSH|FONT|FOR|FORM|FORMAT|FORWARD|FOUND|FRAC|FRAME|FRAMES|FREE|FRIENDS|FROM|FUNCTION|FUNCTION-POOL|FUNCTIONALITY|FURTHER|GAPS|GE|GENERATE|GET|GIVING|GKEQ|GKGE|GLOBAL|GRANT|GREATER|GREEN|GROUP|GROUPS|GT|HANDLE|HANDLER|HARMLESS|HASHED|HAVING|HDB|HEAD-LINES|HEADER|HEADERS|HEADING|HELP-ID|HELP-REQUEST|HIDE|HIGH|HINT|HOLD|HOTSPOT|I|ICON|ID|IDENTIFICATION|IDENTIFIER|IDS|IF|IGNORE|IGNORING|IMMEDIATELY|IMPLEMENTATION|IMPLEMENTATIONS|IMPLEMENTED|IMPLICIT|IMPORT|IMPORTING|IN|INACTIVE|INCL|INCLUDE|INCLUDES|INCLUDING|INCREMENT|INDEX|INDEX-LINE|INFOTYPES|INHERITING|INIT|INITIAL|INITIALIZATION|INNER|INOUT|INPUT|INSERT|INSTANCES|INTENSIFIED|INTERFACE|INTERFACE-POOL|INTERFACES|INTERNAL|INTERVALS|INTO|INVERSE|INVERTED-DATE|IS|ISO|ITERATOR|ITNO|JOB|JOIN|KEEP|KEEPING|KERNEL|KEY|KEYS|KEYWORDS|KIND|LANGUAGE|LAST|LATE|LAYOUT|LE|LEADING|LEAVE|LEFT|LEFT-JUSTIFIED|LEFTPLUS|LEFTSPACE|LEGACY|LENGTH|LESS|LET|LEVEL|LEVELS|LIKE|LINE|LINE-COUNT|LINE-SELECTION|LINE-SIZE|LINEFEED|LINES|LIST|LIST-PROCESSING|LISTBOX|LITTLE|LLANG|LOAD|LOAD-OF-PROGRAM|LOB|LOCAL|LOCALE|LOCATOR|LOG|LOG-POINT|LOG10|LOGFILE|LOGICAL|LONG|LOOP|LOW|LOWER|LPAD|LPI|LT|M|MAIL|MAIN|MAJOR-ID|MAPPING|MARGIN|MARK|MASK|MATCH|MATCHCODE|MAX|MAXIMUM|MEDIUM|MEMBERS|MEMORY|MESH|MESSAGE|MESSAGE-ID|MESSAGES|MESSAGING|METHOD|METHODS|MIN|MINIMUM|MINOR-ID|MM\/DD\/YY|MM\/DD\/YYYY|MMDDYY|MOD|MODE|MODIF|MODIFIER|MODIFY|MODULE|MOVE|MOVE-CORRESPONDING|MULTIPLY|MULTIPLY-CORRESPONDING|NA|NAME|NAMETAB|NATIVE|NB|NE|NESTED|NESTING|NEW|NEW-LINE|NEW-PAGE|NEW-SECTION|NEXT|NO|NO-DISPLAY|NO-EXTENSION|NO-GAP|NO-GAPS|NO-GROUPING|NO-HEADING|NO-SCROLLING|NO-SIGN|NO-TITLE|NO-TOPOFPAGE|NO-ZERO|NODE|NODES|NON-UNICODE|NON-UNIQUE|NOT|NP|NS|NULL|NUMBER|NUMOFCHAR|O|OBJECT|OBJECTS|OBLIGATORY|OCCURRENCE|OCCURRENCES|OCCURS|OF|OFF|OFFSET|OLE|ON|ONLY|OPEN|OPTION|OPTIONAL|OPTIONS|OR|ORDER|OTHER|OTHERS|OUT|OUTER|OUTPUT|OUTPUT-LENGTH|OVERFLOW|OVERLAY|PACK|PACKAGE|PAD|PADDING|PAGE|PAGES|PARAMETER|PARAMETER-TABLE|PARAMETERS|PART|PARTIALLY|PATTERN|PERCENTAGE|PERFORM|PERFORMING|PERSON|PF|PF-STATUS|PINK|PLACES|POOL|POSITION|POS_HIGH|POS_LOW|PRAGMAS|PRECOMPILED|PREFERRED|PRESERVING|PRIMARY|PRINT|PRINT-CONTROL|PRIORITY|PRIVATE|PROCEDURE|PROCESS|PROGRAM|PROPERTY|PROTECTED|PROVIDE|PUBLIC|PUSHBUTTON|PUT|QUEUE-ONLY|QUICKINFO|RADIOBUTTON|RAISE|RAISING|RANGE|RANGES|RAW|READ|READ-ONLY|READER|RECEIVE|RECEIVED|RECEIVER|RECEIVING|RED|REDEFINITION|REDUCE|REDUCED|REF|REFERENCE|REFRESH|REGEX|REJECT|REMOTE|RENAMING|REPLACE|REPLACEMENT|REPLACING|REPORT|REQUEST|REQUESTED|RESERVE|RESET|RESOLUTION|RESPECTING|RESPONSIBLE|RESULT|RESULTS|RESUMABLE|RESUME|RETRY|RETURN|RETURNCODE|RETURNING|RIGHT|RIGHT-JUSTIFIED|RIGHTPLUS|RIGHTSPACE|RISK|RMC_COMMUNICATION_FAILURE|RMC_INVALID_STATUS|RMC_SYSTEM_FAILURE|ROLE|ROLLBACK|ROUND|ROWS|RTTI|RUN|SAP|SAP-SPOOL|SAVING|SCALE_PRESERVING|SCALE_PRESERVING_SCIENTIFIC|SCAN|SCIENTIFIC|SCIENTIFIC_WITH_LEADING_ZERO|SCREEN|SCROLL|SCROLL-BOUNDARY|SCROLLING|SEARCH|SECONDARY|SECONDS|SECTION|SELECT|SELECT-OPTIONS|SELECTION|SELECTION-SCREEN|SELECTION-SET|SELECTION-SETS|SELECTION-TABLE|SELECTIONS|SELECTOR|SEND|SEPARATE|SEPARATED|SET|SHARED|SHIFT|SHORT|SHORTDUMP-ID|SIGN|SIGN_AS_POSTFIX|SIMPLE|SIN|SINGLE|SINH|SIZE|SKIP|SKIPPING|SMART|SOME|SORT|SORTABLE|SORTED|SOURCE|SPACE|SPECIFIED|SPLIT|SPOOL|SPOTS|SQL|SQLSCRIPT|SQRT|STABLE|STAMP|STANDARD|START-OF-SELECTION|STARTING|STATE|STATEMENT|STATEMENTS|STATIC|STATICS|STATUSINFO|STEP-LOOP|STOP|STRLEN|STRUCTURE|STRUCTURES|STYLE|SUBKEY|SUBMATCHES|SUBMIT|SUBROUTINE|SUBSCREEN|SUBSTRING|SUBTRACT|SUBTRACT-CORRESPONDING|SUFFIX|SUM|SUMMARY|SUMMING|SUPPLIED|SUPPLY|SUPPRESS|SWITCH|SWITCHSTATES|SYMBOL|SYNCPOINTS|SYNTAX|SYNTAX-CHECK|SYNTAX-TRACE|SYSTEM-CALL|SYSTEM-EXCEPTIONS|SYSTEM-EXIT|TAB|TABBED|TABLE|TABLES|TABLEVIEW|TABSTRIP|TAN|TANH|TARGET|TASK|TASKS|TEST|TESTING|TEXT|TEXTPOOL|THEN|THROW|TIME|TIMES|TIMESTAMP|TIMEZONE|TITLE|TITLE-LINES|TITLEBAR|TO|TOKENIZATION|TOKENS|TOP-LINES|TOP-OF-PAGE|TRACE-FILE|TRACE-TABLE|TRAILING|TRANSACTION|TRANSFER|TRANSFORMATION|TRANSLATE|TRANSPORTING|TRMAC|TRUNC|TRUNCATE|TRUNCATION|TRY|TYPE|TYPE-POOL|TYPE-POOLS|TYPES|ULINE|UNASSIGN|UNDER|UNICODE|UNION|UNIQUE|UNIT|UNIT_CONVERSION|UNIX|UNPACK|UNTIL|UNWIND|UP|UPDATE|UPPER|USER|USER-COMMAND|USING|UTF-8|VALID|VALUE|VALUE-REQUEST|VALUES|VARY|VARYING|VERIFICATION-MESSAGE|VERSION|VIA|VIEW|VISIBLE|WAIT|WARNING|WHEN|WHENEVER|WHERE|WHILE|WIDTH|WINDOW|WINDOWS|WITH|WITH-HEADING|WITH-TITLE|WITHOUT|WORD|WORK|WRITE|WRITER|X|XML|XOR|XSD|XSTRLEN|YELLOW|YES|YYMMDD|Z|ZERO|ZONE)(?![\w-])/i,lookbehind:!0},number:/\b\d+\b/,operator:{pattern:/(\s)(?:\*\*?|<[=>]?|>=?|\?=|[-+\/=])(?=\s)/,lookbehind:!0},"string-operator":{pattern:/(\s)&&?(?=\s)/,lookbehind:!0,alias:"keyword"},"token-operator":[{pattern:/(\w)(?:->?|=>|[~|{}])(?=\w)/,lookbehind:!0,alias:"punctuation"},{pattern:/[|{}]/,alias:"punctuation"}],punctuation:/[,.:()]/}}function Ju(e){!function(e){var t="(?:ALPHA|BIT|CHAR|CR|CRLF|CTL|DIGIT|DQUOTE|HEXDIG|HTAB|LF|LWSP|OCTET|SP|VCHAR|WSP)";e.languages.abnf={comment:/;.*/,string:{pattern:/(?:%[is])?"[^"\n\r]*"/,greedy:!0,inside:{punctuation:/^%[is]/}},range:{pattern:/%(?:b[01]+-[01]+|d\d+-\d+|x[A-F\d]+-[A-F\d]+)/i,alias:"number"},terminal:{pattern:/%(?:b[01]+(?:\.[01]+)*|d\d+(?:\.\d+)*|x[A-F\d]+(?:\.[A-F\d]+)*)/i,alias:"number"},repetition:{pattern:/(^|[^\w-])(?:\d*\*\d*|\d+)/,lookbehind:!0,alias:"operator"},definition:{pattern:/(^[ \t]*)(?:[a-z][\w-]*|<[^<>\r\n]*>)(?=\s*=)/m,lookbehind:!0,alias:"keyword",inside:{punctuation:/<|>/}},"core-rule":{pattern:RegExp("(?:(^|[^<\\w-])"+t+"|<"+t+">)(?![\\w-])","i"),lookbehind:!0,alias:["rule","constant"],inside:{punctuation:/<|>/}},rule:{pattern:/(^|[^<\w-])[a-z][\w-]*|<[^<>\r\n]*>/i,lookbehind:!0,inside:{punctuation:/<|>/}},operator:/=\/?|\//,punctuation:/[()\[\]]/}}(e)}function eh(e){e.register(su),e.languages.actionscript=e.languages.extend("javascript",{keyword:/\b(?:as|break|case|catch|class|const|default|delete|do|dynamic|each|else|extends|final|finally|for|function|get|if|implements|import|in|include|instanceof|interface|internal|is|namespace|native|new|null|override|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|use|var|void|while|with)\b/,operator:/\+\+|--|(?:[+\-*\/%^]|&&?|\|\|?|<<?|>>?>?|[!=]=?)=?|[~?@]/}),e.languages.actionscript["class-name"].alias="function",delete e.languages.actionscript.parameter,delete e.languages.actionscript["literal-property"],e.languages.markup&&e.languages.insertBefore("actionscript","string",{xml:{pattern:/(^|[^.])<\/?\w+(?:\s+[^\s>\/=]+=("|')(?:\\[\s\S]|(?!\2)[^\\])*\2)*\s*\/?>/,lookbehind:!0,inside:e.languages.markup}})}function th(e){e.languages.ada={comment:/--.*/,string:/"(?:""|[^"\r\f\n])*"/,number:[{pattern:/\b\d(?:_?\d)*#[\dA-F](?:_?[\dA-F])*(?:\.[\dA-F](?:_?[\dA-F])*)?#(?:E[+-]?\d(?:_?\d)*)?/i},{pattern:/\b\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:E[+-]?\d(?:_?\d)*)?\b/i}],attribute:{pattern:/\b'\w+/,alias:"attr-name"},keyword:/\b(?:abort|abs|abstract|accept|access|aliased|all|and|array|at|begin|body|case|constant|declare|delay|delta|digits|do|else|elsif|end|entry|exception|exit|for|function|generic|goto|if|in|interface|is|limited|loop|mod|new|not|null|of|or|others|out|overriding|package|pragma|private|procedure|protected|raise|range|record|rem|renames|requeue|return|reverse|select|separate|some|subtype|synchronized|tagged|task|terminate|then|type|until|use|when|while|with|xor)\b/i,boolean:/\b(?:false|true)\b/i,operator:/<[=>]?|>=?|=>?|:=|\/=?|\*\*?|[&+-]/,punctuation:/\.\.?|[,;():]/,char:/'.'/,variable:/\b[a-z](?:\w)*\b/i}}function nh(e){!function(e){e.languages.agda={comment:/\{-[\s\S]*?(?:-\}|$)|--.*/,string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},punctuation:/[(){}⦃⦄.;@]/,"class-name":{pattern:/((?:data|record) +)\S+/,lookbehind:!0},function:{pattern:/(^[ \t]*)(?!\s)[^:\r\n]+(?=:)/m,lookbehind:!0},operator:{pattern:/(^\s*|\s)(?:[=|:∀→λ\\?_]|->)(?=\s)/,lookbehind:!0},keyword:/\b(?:Set|abstract|constructor|data|eta-equality|field|forall|hiding|import|in|inductive|infix|infixl|infixr|instance|let|macro|module|mutual|no-eta-equality|open|overlap|pattern|postulate|primitive|private|public|quote|quoteContext|quoteGoal|quoteTerm|record|renaming|rewrite|syntax|tactic|unquote|unquoteDecl|unquoteDef|using|variable|where|with)\b/}}(e)}function rh(e){e.languages.al={comment:/\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/'(?:''|[^'\r\n])*'(?!')|"(?:""|[^"\r\n])*"(?!")/,greedy:!0},function:{pattern:/(\b(?:event|procedure|trigger)\s+|(?:^|[^.])\.\s*)[a-z_]\w*(?=\s*\()/i,lookbehind:!0},keyword:[/\b(?:array|asserterror|begin|break|case|do|downto|else|end|event|exit|for|foreach|function|if|implements|in|indataset|interface|internal|local|of|procedure|program|protected|repeat|runonclient|securityfiltering|suppressdispose|temporary|then|to|trigger|until|var|while|with|withevents)\b/i,/\b(?:action|actions|addafter|addbefore|addfirst|addlast|area|assembly|chartpart|codeunit|column|controladdin|cuegroup|customizes|dataitem|dataset|dotnet|elements|enum|enumextension|extends|field|fieldattribute|fieldelement|fieldgroup|fieldgroups|fields|filter|fixed|grid|group|key|keys|label|labels|layout|modify|moveafter|movebefore|movefirst|movelast|page|pagecustomization|pageextension|part|profile|query|repeater|report|requestpage|schema|separator|systempart|table|tableelement|tableextension|textattribute|textelement|type|usercontrol|value|xmlport)\b/i],number:/\b(?:0x[\da-f]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?)(?:F|LL?|U(?:LL?)?)?\b/i,boolean:/\b(?:false|true)\b/i,variable:/\b(?:Curr(?:FieldNo|Page|Report)|x?Rec|RequestOptionsPage)\b/,"class-name":/\b(?:automation|biginteger|bigtext|blob|boolean|byte|char|clienttype|code|completiontriggererrorlevel|connectiontype|database|dataclassification|datascope|date|dateformula|datetime|decimal|defaultlayout|dialog|dictionary|dotnetassembly|dotnettypedeclaration|duration|errorinfo|errortype|executioncontext|executionmode|fieldclass|fieldref|fieldtype|file|filterpagebuilder|guid|httpclient|httpcontent|httpheaders|httprequestmessage|httpresponsemessage|instream|integer|joker|jsonarray|jsonobject|jsontoken|jsonvalue|keyref|list|moduledependencyinfo|moduleinfo|none|notification|notificationscope|objecttype|option|outstream|pageresult|record|recordid|recordref|reportformat|securityfilter|sessionsettings|tableconnectiontype|tablefilter|testaction|testfield|testfilterfield|testpage|testpermissions|testrequestpage|text|textbuilder|textconst|textencoding|time|transactionmodel|transactiontype|variant|verbosity|version|view|views|webserviceactioncontext|webserviceactionresultcode|xmlattribute|xmlattributecollection|xmlcdata|xmlcomment|xmldeclaration|xmldocument|xmldocumenttype|xmlelement|xmlnamespacemanager|xmlnametable|xmlnode|xmlnodelist|xmlprocessinginstruction|xmlreadoptions|xmltext|xmlwriteoptions)\b/i,operator:/\.\.|:[=:]|[-+*/]=?|<>|[<>]=?|=|\b(?:and|div|mod|not|or|xor)\b/i,punctuation:/[()\[\]{}:.;,]/}}function ih(e){e.languages.antlr4={comment:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,string:{pattern:/'(?:\\.|[^\\'\r\n])*'/,greedy:!0},"character-class":{pattern:/\[(?:\\.|[^\\\]\r\n])*\]/,greedy:!0,alias:"regex",inside:{range:{pattern:/([^[]|(?:^|[^\\])(?:\\\\)*\\\[)-(?!\])/,lookbehind:!0,alias:"punctuation"},escape:/\\(?:u(?:[a-fA-F\d]{4}|\{[a-fA-F\d]+\})|[pP]\{[=\w-]+\}|[^\r\nupP])/,punctuation:/[\[\]]/}},action:{pattern:/\{(?:[^{}]|\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*\}/,greedy:!0,inside:{content:{pattern:/(\{)[\s\S]+(?=\})/,lookbehind:!0},punctuation:/[{}]/}},command:{pattern:/(->\s*(?!\s))(?:\s*(?:,\s*)?\b[a-z]\w*(?:\s*\([^()\r\n]*\))?)+(?=\s*;)/i,lookbehind:!0,inside:{function:/\b\w+(?=\s*(?:[,(]|$))/,punctuation:/[,()]/}},annotation:{pattern:/@\w+(?:::\w+)*/,alias:"keyword"},label:{pattern:/#[ \t]*\w+/,alias:"punctuation"},keyword:/\b(?:catch|channels|finally|fragment|grammar|import|lexer|locals|mode|options|parser|returns|throws|tokens)\b/,definition:[{pattern:/\b[a-z]\w*(?=\s*:)/,alias:["rule","class-name"]},{pattern:/\b[A-Z]\w*(?=\s*:)/,alias:["token","constant"]}],constant:/\b[A-Z][A-Z_]*\b/,operator:/\.\.|->|[|~]|[*+?]\??/,punctuation:/[;:()=]/},e.languages.g4=e.languages.antlr4}function oh(e){e.languages.apacheconf={comment:/#.*/,"directive-inline":{pattern:/(^[\t ]*)\b(?:AcceptFilter|AcceptPathInfo|AccessFileName|Action|Add(?:Alt|AltByEncoding|AltByType|Charset|DefaultCharset|Description|Encoding|Handler|Icon|IconByEncoding|IconByType|InputFilter|Language|ModuleInfo|OutputFilter|OutputFilterByType|Type)|Alias|AliasMatch|Allow(?:CONNECT|EncodedSlashes|Methods|Override|OverrideList)?|Anonymous(?:_LogEmail|_MustGiveEmail|_NoUserID|_VerifyEmail)?|AsyncRequestWorkerFactor|Auth(?:BasicAuthoritative|BasicFake|BasicProvider|BasicUseDigestAlgorithm|DBDUserPWQuery|DBDUserRealmQuery|DBMGroupFile|DBMType|DBMUserFile|Digest(?:Algorithm|Domain|NonceLifetime|Provider|Qop|ShmemSize)|Form(?:Authoritative|Body|DisableNoStore|FakeBasicAuth|Location|LoginRequiredLocation|LoginSuccessLocation|LogoutLocation|Method|Mimetype|Password|Provider|SitePassphrase|Size|Username)|GroupFile|LDAP(?:AuthorizePrefix|BindAuthoritative|BindDN|BindPassword|CharsetConfig|CompareAsUser|CompareDNOnServer|DereferenceAliases|GroupAttribute|GroupAttributeIsDN|InitialBindAsUser|InitialBindPattern|MaxSubGroupDepth|RemoteUserAttribute|RemoteUserIsDN|SearchAsUser|SubGroupAttribute|SubGroupClass|Url)|Merging|Name|nCache(?:Context|Enable|ProvideFor|SOCache|Timeout)|nzFcgiCheckAuthnProvider|nzFcgiDefineProvider|Type|UserFile|zDBDLoginToReferer|zDBDQuery|zDBDRedirectQuery|zDBMType|zSendForbiddenOnFailure)|BalancerGrowth|BalancerInherit|BalancerMember|BalancerPersist|BrowserMatch|BrowserMatchNoCase|BufferedLogs|BufferSize|Cache(?:DefaultExpire|DetailHeader|DirLength|DirLevels|Disable|Enable|File|Header|IgnoreCacheControl|IgnoreHeaders|IgnoreNoLastMod|IgnoreQueryString|IgnoreURLSessionIdentifiers|KeyBaseURL|LastModifiedFactor|Lock|LockMaxAge|LockPath|MaxExpire|MaxFileSize|MinExpire|MinFileSize|NegotiatedDocs|QuickHandler|ReadSize|ReadTime|Root|Socache(?:MaxSize|MaxTime|MinTime|ReadSize|ReadTime)?|StaleOnError|StoreExpired|StoreNoStore|StorePrivate)|CGIDScriptTimeout|CGIMapExtension|CharsetDefault|CharsetOptions|CharsetSourceEnc|CheckCaseOnly|CheckSpelling|ChrootDir|ContentDigest|CookieDomain|CookieExpires|CookieName|CookieStyle|CookieTracking|CoreDumpDirectory|CustomLog|Dav|DavDepthInfinity|DavGenericLockDB|DavLockDB|DavMinTimeout|DBDExptime|DBDInitSQL|DBDKeep|DBDMax|DBDMin|DBDParams|DBDPersist|DBDPrepareSQL|DBDriver|DefaultIcon|DefaultLanguage|DefaultRuntimeDir|DefaultType|Define|Deflate(?:BufferSize|CompressionLevel|FilterNote|InflateLimitRequestBody|InflateRatio(?:Burst|Limit)|MemLevel|WindowSize)|Deny|DirectoryCheckHandler|DirectoryIndex|DirectoryIndexRedirect|DirectorySlash|DocumentRoot|DTracePrivileges|DumpIOInput|DumpIOOutput|EnableExceptionHook|EnableMMAP|EnableSendfile|Error|ErrorDocument|ErrorLog|ErrorLogFormat|Example|ExpiresActive|ExpiresByType|ExpiresDefault|ExtendedStatus|ExtFilterDefine|ExtFilterOptions|FallbackResource|FileETag|FilterChain|FilterDeclare|FilterProtocol|FilterProvider|FilterTrace|ForceLanguagePriority|ForceType|ForensicLog|GprofDir|GracefulShutdownTimeout|Group|Header|HeaderName|Heartbeat(?:Address|Listen|MaxServers|Storage)|HostnameLookups|IdentityCheck|IdentityCheckTimeout|ImapBase|ImapDefault|ImapMenu|Include|IncludeOptional|Index(?:HeadInsert|Ignore|IgnoreReset|Options|OrderDefault|StyleSheet)|InputSed|ISAPI(?:AppendLogToErrors|AppendLogToQuery|CacheFile|FakeAsync|LogNotSupported|ReadAheadBuffer)|KeepAlive|KeepAliveTimeout|KeptBodySize|LanguagePriority|LDAP(?:CacheEntries|CacheTTL|ConnectionPoolTTL|ConnectionTimeout|LibraryDebug|OpCacheEntries|OpCacheTTL|ReferralHopLimit|Referrals|Retries|RetryDelay|SharedCacheFile|SharedCacheSize|Timeout|TrustedClientCert|TrustedGlobalCert|TrustedMode|VerifyServerCert)|Limit(?:InternalRecursion|Request(?:Body|Fields|FieldSize|Line)|XMLRequestBody)|Listen|ListenBackLog|LoadFile|LoadModule|LogFormat|LogLevel|LogMessage|LuaAuthzProvider|LuaCodeCache|Lua(?:Hook(?:AccessChecker|AuthChecker|CheckUserID|Fixups|InsertFilter|Log|MapToStorage|TranslateName|TypeChecker)|Inherit|InputFilter|MapHandler|OutputFilter|PackageCPath|PackagePath|QuickHandler|Root|Scope)|Max(?:ConnectionsPerChild|KeepAliveRequests|MemFree|RangeOverlaps|RangeReversals|Ranges|RequestWorkers|SpareServers|SpareThreads|Threads)|MergeTrailers|MetaDir|MetaFiles|MetaSuffix|MimeMagicFile|MinSpareServers|MinSpareThreads|MMapFile|ModemStandard|ModMimeUsePathInfo|MultiviewsMatch|Mutex|NameVirtualHost|NoProxy|NWSSLTrustedCerts|NWSSLUpgradeable|Options|Order|OutputSed|PassEnv|PidFile|PrivilegesMode|Protocol|ProtocolEcho|Proxy(?:AddHeaders|BadHeader|Block|Domain|ErrorOverride|ExpressDBMFile|ExpressDBMType|ExpressEnable|FtpDirCharset|FtpEscapeWildcards|FtpListOnWildcard|HTML(?:BufSize|CharsetOut|DocType|Enable|Events|Extended|Fixups|Interp|Links|Meta|StripComments|URLMap)|IOBufferSize|MaxForwards|Pass(?:Inherit|InterpolateEnv|Match|Reverse|ReverseCookieDomain|ReverseCookiePath)?|PreserveHost|ReceiveBufferSize|Remote|RemoteMatch|Requests|SCGIInternalRedirect|SCGISendfile|Set|SourceAddress|Status|Timeout|Via)|ReadmeName|ReceiveBufferSize|Redirect|RedirectMatch|RedirectPermanent|RedirectTemp|ReflectorHeader|RemoteIP(?:Header|InternalProxy|InternalProxyList|ProxiesHeader|TrustedProxy|TrustedProxyList)|RemoveCharset|RemoveEncoding|RemoveHandler|RemoveInputFilter|RemoveLanguage|RemoveOutputFilter|RemoveType|RequestHeader|RequestReadTimeout|Require|Rewrite(?:Base|Cond|Engine|Map|Options|Rule)|RLimitCPU|RLimitMEM|RLimitNPROC|Satisfy|ScoreBoardFile|Script(?:Alias|AliasMatch|InterpreterSource|Log|LogBuffer|LogLength|Sock)?|SecureListen|SeeRequestTail|SendBufferSize|Server(?:Admin|Alias|Limit|Name|Path|Root|Signature|Tokens)|Session(?:Cookie(?:Name|Name2|Remove)|Crypto(?:Cipher|Driver|Passphrase|PassphraseFile)|DBD(?:CookieName|CookieName2|CookieRemove|DeleteLabel|InsertLabel|PerUser|SelectLabel|UpdateLabel)|Env|Exclude|Header|Include|MaxAge)?|SetEnv|SetEnvIf|SetEnvIfExpr|SetEnvIfNoCase|SetHandler|SetInputFilter|SetOutputFilter|SSIEndTag|SSIErrorMsg|SSIETag|SSILastModified|SSILegacyExprParser|SSIStartTag|SSITimeFormat|SSIUndefinedEcho|SSL(?:CACertificateFile|CACertificatePath|CADNRequestFile|CADNRequestPath|CARevocationCheck|CARevocationFile|CARevocationPath|CertificateChainFile|CertificateFile|CertificateKeyFile|CipherSuite|Compression|CryptoDevice|Engine|FIPS|HonorCipherOrder|InsecureRenegotiation|OCSP(?:DefaultResponder|Enable|OverrideResponder|ResponderTimeout|ResponseMaxAge|ResponseTimeSkew|UseRequestNonce)|OpenSSLConfCmd|Options|PassPhraseDialog|Protocol|Proxy(?:CACertificateFile|CACertificatePath|CARevocation(?:Check|File|Path)|CheckPeer(?:CN|Expire|Name)|CipherSuite|Engine|MachineCertificate(?:ChainFile|File|Path)|Protocol|Verify|VerifyDepth)|RandomSeed|RenegBufferSize|Require|RequireSSL|Session(?:Cache|CacheTimeout|TicketKeyFile|Tickets)|SRPUnknownUserSeed|SRPVerifierFile|Stapling(?:Cache|ErrorCacheTimeout|FakeTryLater|ForceURL|ResponderTimeout|ResponseMaxAge|ResponseTimeSkew|ReturnResponderErrors|StandardCacheTimeout)|StrictSNIVHostCheck|UserName|UseStapling|VerifyClient|VerifyDepth)|StartServers|StartThreads|Substitute|Suexec|SuexecUserGroup|ThreadLimit|ThreadsPerChild|ThreadStackSize|TimeOut|TraceEnable|TransferLog|TypesConfig|UnDefine|UndefMacro|UnsetEnv|Use|UseCanonicalName|UseCanonicalPhysicalPort|User|UserDir|VHostCGIMode|VHostCGIPrivs|VHostGroup|VHostPrivs|VHostSecure|VHostUser|Virtual(?:DocumentRoot|ScriptAlias)(?:IP)?|WatchdogInterval|XBitHack|xml2EncAlias|xml2EncDefault|xml2StartParse)\b/im,lookbehind:!0,alias:"property"},"directive-block":{pattern:/<\/?\b(?:Auth[nz]ProviderAlias|Directory|DirectoryMatch|Else|ElseIf|Files|FilesMatch|If|IfDefine|IfModule|IfVersion|Limit|LimitExcept|Location|LocationMatch|Macro|Proxy|Require(?:All|Any|None)|VirtualHost)\b.*>/i,inside:{"directive-block":{pattern:/^<\/?\w+/,inside:{punctuation:/^<\/?/},alias:"tag"},"directive-block-parameter":{pattern:/.*[^>]/,inside:{punctuation:/:/,string:{pattern:/("|').*\1/,inside:{variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/}}},alias:"attr-value"},punctuation:/>/},alias:"tag"},"directive-flags":{pattern:/\[(?:[\w=],?)+\]/,alias:"keyword"},string:{pattern:/("|').*\1/,inside:{variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/}},variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/,regex:/\^?.*\$|\^.*\$?/}}function ah(e){e.register(Kc),e.register(Cu),function(e){var t=/\b(?:(?:after|before)(?=\s+[a-z])|abstract|activate|and|any|array|as|asc|autonomous|begin|bigdecimal|blob|boolean|break|bulk|by|byte|case|cast|catch|char|class|collect|commit|const|continue|currency|date|datetime|decimal|default|delete|desc|do|double|else|end|enum|exception|exit|export|extends|final|finally|float|for|from|get(?=\s*[{};])|global|goto|group|having|hint|if|implements|import|in|inner|insert|instanceof|int|integer|interface|into|join|like|limit|list|long|loop|map|merge|new|not|null|nulls|number|object|of|on|or|outer|override|package|parallel|pragma|private|protected|public|retrieve|return|rollback|select|set|short|sObject|sort|static|string|super|switch|synchronized|system|testmethod|then|this|throw|time|transaction|transient|trigger|try|undelete|update|upsert|using|virtual|void|webservice|when|where|while|(?:inherited|with|without)\s+sharing)\b/i,n=/\b(?:(?=[a-z_]\w*\s*[<\[])|(?!<keyword>))[A-Z_]\w*(?:\s*\.\s*[A-Z_]\w*)*\b(?:\s*(?:\[\s*\]|<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>))*/.source.replace(/<keyword>/g,(function(){return t.source}));function r(e){return RegExp(e.replace(/<CLASS-NAME>/g,(function(){return n})),"i")}var i={keyword:t,punctuation:/[()\[\]{};,:.<>]/};e.languages.apex={comment:e.languages.clike.comment,string:e.languages.clike.string,sql:{pattern:/((?:[=,({:]|\breturn)\s*)\[[^\[\]]*\]/i,lookbehind:!0,greedy:!0,alias:"language-sql",inside:e.languages.sql},annotation:{pattern:/@\w+\b/,alias:"punctuation"},"class-name":[{pattern:r(/(\b(?:class|enum|extends|implements|instanceof|interface|new|trigger\s+\w+\s+on)\s+)<CLASS-NAME>/.source),lookbehind:!0,inside:i},{pattern:r(/(\(\s*)<CLASS-NAME>(?=\s*\)\s*[\w(])/.source),lookbehind:!0,inside:i},{pattern:r(/<CLASS-NAME>(?=\s*\w+\s*[;=,(){:])/.source),inside:i}],trigger:{pattern:/(\btrigger\s+)\w+\b/i,lookbehind:!0,alias:"class-name"},keyword:t,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/i,number:/(?:\B\.\d+|\b\d+(?:\.\d+|L)?)\b/i,operator:/[!=](?:==?)?|\?\.?|&&|\|\||--|\+\+|[-+*/^&|]=?|:|<<?=?|>{1,3}=?/,punctuation:/[()\[\]{};,.]/}}(e)}function sh(e){e.languages.apl={comment:/(?:⍝|#[! ]).*$/m,string:{pattern:/'(?:[^'\r\n]|'')*'/,greedy:!0},number:/¯?(?:\d*\.?\b\d+(?:e[+¯]?\d+)?|¯|∞)(?:j¯?(?:(?:\d+(?:\.\d+)?|\.\d+)(?:e[+¯]?\d+)?|¯|∞))?/i,statement:/:[A-Z][a-z][A-Za-z]*\b/,"system-function":{pattern:/⎕[A-Z]+/i,alias:"function"},constant:/[⍬⌾#⎕⍞]/,function:/[-+×÷⌈⌊∣|⍳⍸?*⍟○!⌹<≤=>≥≠≡≢∊⍷∪∩~∨∧⍱⍲⍴,⍪⌽⊖⍉↑↓⊂⊃⊆⊇⌷⍋⍒⊤⊥⍕⍎⊣⊢⍁⍂≈⍯↗¤→]/,"monadic-operator":{pattern:/[\\\/⌿⍀¨⍨⌶&∥]/,alias:"operator"},"dyadic-operator":{pattern:/[.⍣⍠⍤∘⌸@⌺⍥]/,alias:"operator"},assignment:{pattern:/←/,alias:"keyword"},punctuation:/[\[;\]()◇⋄]/,dfn:{pattern:/[{}⍺⍵⍶⍹∇⍫:]/,alias:"builtin"}}}function lh(e){e.languages.applescript={comment:[/\(\*(?:\(\*(?:[^*]|\*(?!\)))*\*\)|(?!\(\*)[\s\S])*?\*\)/,/--.+/,/#.+/],string:/"(?:\\.|[^"\\\r\n])*"/,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e-?\d+)?\b/i,operator:[/[&=≠≤≥*+\-\/÷^]|[<>]=?/,/\b(?:(?:begin|end|start)s? with|(?:contains?|(?:does not|doesn't) contain)|(?:is|isn't|is not) (?:contained by|in)|(?:(?:is|isn't|is not) )?(?:greater|less) than(?: or equal)?(?: to)?|(?:comes|(?:does not|doesn't) come) (?:after|before)|(?:is|isn't|is not) equal(?: to)?|(?:(?:does not|doesn't) equal|equal to|equals|is not|isn't)|(?:a )?(?:ref(?: to)?|reference to)|(?:and|as|div|mod|not|or))\b/],keyword:/\b(?:about|above|after|against|apart from|around|aside from|at|back|before|beginning|behind|below|beneath|beside|between|but|by|considering|continue|copy|does|eighth|else|end|equal|error|every|exit|false|fifth|first|for|fourth|from|front|get|given|global|if|ignoring|in|instead of|into|is|it|its|last|local|me|middle|my|ninth|of|on|onto|out of|over|prop|property|put|repeat|return|returning|second|set|seventh|since|sixth|some|tell|tenth|that|the|then|third|through|thru|timeout|times|to|transaction|true|try|until|where|while|whose|with|without)\b/,"class-name":/\b(?:POSIX file|RGB color|alias|application|boolean|centimeters|centimetres|class|constant|cubic centimeters|cubic centimetres|cubic feet|cubic inches|cubic meters|cubic metres|cubic yards|date|degrees Celsius|degrees Fahrenheit|degrees Kelvin|feet|file|gallons|grams|inches|integer|kilograms|kilometers|kilometres|list|liters|litres|meters|metres|miles|number|ounces|pounds|quarts|real|record|reference|script|square feet|square kilometers|square kilometres|square meters|square metres|square miles|square yards|text|yards)\b/,punctuation:/[{}():,¬«»《》]/}}function ch(e){e.languages.aql={comment:/\/\/.*|\/\*[\s\S]*?\*\//,property:{pattern:/([{,]\s*)(?:(?!\d)\w+|(["'´`])(?:(?!\2)[^\\\r\n]|\\.)*\2)(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(["'])(?:(?!\1)[^\\\r\n]|\\.)*\1/,greedy:!0},identifier:{pattern:/([´`])(?:(?!\1)[^\\\r\n]|\\.)*\1/,greedy:!0},variable:/@@?\w+/,keyword:[{pattern:/(\bWITH\s+)COUNT(?=\s+INTO\b)/i,lookbehind:!0},/\b(?:AGGREGATE|ALL|AND|ANY|ASC|COLLECT|DESC|DISTINCT|FILTER|FOR|GRAPH|IN|INBOUND|INSERT|INTO|K_PATHS|K_SHORTEST_PATHS|LET|LIKE|LIMIT|NONE|NOT|NULL|OR|OUTBOUND|REMOVE|REPLACE|RETURN|SHORTEST_PATH|SORT|UPDATE|UPSERT|WINDOW|WITH)\b/i,{pattern:/(^|[^\w.[])(?:KEEP|PRUNE|SEARCH|TO)\b/i,lookbehind:!0},{pattern:/(^|[^\w.[])(?:CURRENT|NEW|OLD)\b/,lookbehind:!0},{pattern:/\bOPTIONS(?=\s*\{)/i}],function:/\b(?!\d)\w+(?=\s*\()/,boolean:/\b(?:false|true)\b/i,range:{pattern:/\.\./,alias:"operator"},number:[/\b0b[01]+/i,/\b0x[0-9a-f]+/i,/(?:\B\.\d+|\b(?:0|[1-9]\d*)(?:\.\d+)?)(?:e[+-]?\d+)?/i],operator:/\*{2,}|[=!]~|[!=<>]=?|&&|\|\||[-+*/%]/,punctuation:/::|[?.:,;()[\]{}]/}}function uh(e){e.languages.arff={comment:/%.*/,string:{pattern:/(["'])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:/@(?:attribute|data|end|relation)\b/i,number:/\b\d+(?:\.\d+)?\b/,punctuation:/[{},]/}}function hh(e){e.languages.armasm={comment:{pattern:/;.*/,greedy:!0},string:{pattern:/"(?:[^"\r\n]|"")*"/,greedy:!0,inside:{variable:{pattern:/((?:^|[^$])(?:\${2})*)\$\w+/,lookbehind:!0}}},char:{pattern:/'(?:[^'\r\n]{0,4}|'')'/,greedy:!0},"version-symbol":{pattern:/\|[\w@]+\|/,greedy:!0,alias:"property"},boolean:/\b(?:FALSE|TRUE)\b/,directive:{pattern:/\b(?:ALIAS|ALIGN|AREA|ARM|ASSERT|ATTR|CN|CODE|CODE16|CODE32|COMMON|CP|DATA|DCB|DCD|DCDO|DCDU|DCFD|DCFDU|DCI|DCQ|DCQU|DCW|DCWU|DN|ELIF|ELSE|END|ENDFUNC|ENDIF|ENDP|ENTRY|EQU|EXPORT|EXPORTAS|EXTERN|FIELD|FILL|FN|FUNCTION|GBLA|GBLL|GBLS|GET|GLOBAL|IF|IMPORT|INCBIN|INCLUDE|INFO|KEEP|LCLA|LCLL|LCLS|LTORG|MACRO|MAP|MEND|MEXIT|NOFP|OPT|PRESERVE8|PROC|QN|READONLY|RELOC|REQUIRE|REQUIRE8|RLIST|ROUT|SETA|SETL|SETS|SN|SPACE|SUBT|THUMB|THUMBX|TTL|WEND|WHILE)\b/,alias:"property"},instruction:{pattern:/((?:^|(?:^|[^\\])(?:\r\n?|\n))[ \t]*(?:(?:[A-Z][A-Z0-9_]*[a-z]\w*|[a-z]\w*|\d+)[ \t]+)?)\b[A-Z.]+\b/,lookbehind:!0,alias:"keyword"},variable:/\$\w+/,number:/(?:\b[2-9]_\d+|(?:\b\d+(?:\.\d+)?|\B\.\d+)(?:e-?\d+)?|\b0(?:[fd]_|x)[0-9a-f]+|&[0-9a-f]+)\b/i,register:{pattern:/\b(?:r\d|lr)\b/,alias:"symbol"},operator:/<>|<<|>>|&&|\|\||[=!<>/]=?|[+\-*%#?&|^]|:[A-Z]+:/,punctuation:/[()[\],]/},e.languages["arm-asm"]=e.languages.armasm}function ph(e){!function(e){var t=function(t,n){return{pattern:RegExp(/\{!/.source+"(?:"+(n||t)+")"+/$[\s\S]*\}/.source,"m"),greedy:!0,inside:{embedded:{pattern:/(^\{!\w+\b)[\s\S]+(?=\}$)/,lookbehind:!0,alias:"language-"+t,inside:e.languages[t]},string:/[\s\S]+/}}};e.languages.arturo={comment:{pattern:/;.*/,greedy:!0},character:{pattern:/`.`/,alias:"char",greedy:!0},number:{pattern:/\b\d+(?:\.\d+(?:\.\d+(?:-[\w+-]+)?)?)?\b/},string:{pattern:/"(?:[^"\\\r\n]|\\.)*"/,greedy:!0},regex:{pattern:/\{\/.*?\/\}/,greedy:!0},"html-string":t("html"),"css-string":t("css"),"js-string":t("js"),"md-string":t("md"),"sql-string":t("sql"),"sh-string":t("shell","sh"),multistring:{pattern:/».*|\{:[\s\S]*?:\}|\{[\s\S]*?\}|^-{6}$[\s\S]*/m,alias:"string",greedy:!0},label:{pattern:/\w+\b\??:/,alias:"property"},literal:{pattern:/'(?:\w+\b\??:?)/,alias:"constant"},type:{pattern:/:(?:\w+\b\??:?)/,alias:"class-name"},color:/#\w+/,predicate:{pattern:/\b(?:all|and|any|ascii|attr|attribute|attributeLabel|binary|block|char|contains|database|date|dictionary|empty|equal|even|every|exists|false|floating|function|greater|greaterOrEqual|if|in|inline|integer|is|key|label|leap|less|lessOrEqual|literal|logical|lower|nand|negative|nor|not|notEqual|null|numeric|odd|or|path|pathLabel|positive|prefix|prime|regex|same|set|some|sorted|standalone|string|subset|suffix|superset|symbol|symbolLiteral|true|try|type|unless|upper|when|whitespace|word|xnor|xor|zero)\?/,alias:"keyword"},"builtin-function":{pattern:/\b(?:abs|acos|acosh|acsec|acsech|actan|actanh|add|after|alert|alias|and|angle|append|arg|args|arity|array|as|asec|asech|asin|asinh|atan|atan2|atanh|attr|attrs|average|before|benchmark|blend|break|call|capitalize|case|ceil|chop|clear|clip|close|color|combine|conj|continue|copy|cos|cosh|crc|csec|csech|ctan|ctanh|cursor|darken|dec|decode|define|delete|desaturate|deviation|dialog|dictionary|difference|digest|digits|div|do|download|drop|dup|e|else|empty|encode|ensure|env|escape|execute|exit|exp|extend|extract|factors|fdiv|filter|first|flatten|floor|fold|from|function|gamma|gcd|get|goto|hash|hypot|if|inc|indent|index|infinity|info|input|insert|inspect|intersection|invert|jaro|join|keys|kurtosis|last|let|levenshtein|lighten|list|ln|log|loop|lower|mail|map|match|max|median|min|mod|module|mul|nand|neg|new|nor|normalize|not|now|null|open|or|outdent|pad|palette|panic|path|pause|permissions|permutate|pi|pop|popup|pow|powerset|powmod|prefix|print|prints|process|product|query|random|range|read|relative|remove|rename|render|repeat|replace|request|return|reverse|round|sample|saturate|script|sec|sech|select|serve|set|shl|shr|shuffle|sin|sinh|size|skewness|slice|sort|spin|split|sqrt|squeeze|stack|strip|sub|suffix|sum|switch|symbols|symlink|sys|take|tan|tanh|terminal|terminate|to|truncate|try|type|unclip|union|unique|unless|until|unzip|upper|values|var|variance|volume|webview|while|with|wordwrap|write|xnor|xor|zip)\b/,alias:"keyword"},sugar:{pattern:/->|=>|\||::/,alias:"operator"},punctuation:/[()[\],]/,symbol:{pattern:/<:|-:|ø|@|#|\+|\||\*|\$|---|-|%|\/|\.\.|\^|~|=|<|>|\\/},boolean:{pattern:/\b(?:false|maybe|true)\b/}},e.languages.art=e.languages.arturo}(e)}function dh(e){!function(e){var t={pattern:/(^[ \t]*)\[(?!\[)(?:(["'$`])(?:(?!\2)[^\\]|\\.)*\2|\[(?:[^\[\]\\]|\\.)*\]|[^\[\]\\"'$`]|\\.)*\]/m,lookbehind:!0,inside:{quoted:{pattern:/([$`])(?:(?!\1)[^\\]|\\.)*\1/,inside:{punctuation:/^[$`]|[$`]$/}},interpreted:{pattern:/'(?:[^'\\]|\\.)*'/,inside:{punctuation:/^'|'$/}},string:/"(?:[^"\\]|\\.)*"/,variable:/\w+(?==)/,punctuation:/^\[|\]$|,/,operator:/=/,"attr-value":/(?!^\s+$).+/}},n=e.languages.asciidoc={"comment-block":{pattern:/^(\/{4,})$[\s\S]*?^\1/m,alias:"comment"},table:{pattern:/^\|={3,}(?:(?:\r?\n|\r(?!\n)).*)*?(?:\r?\n|\r)\|={3,}$/m,inside:{specifiers:{pattern:/(?:(?:(?:\d+(?:\.\d+)?|\.\d+)[+*](?:[<^>](?:\.[<^>])?|\.[<^>])?|[<^>](?:\.[<^>])?|\.[<^>])[a-z]*|[a-z]+)(?=\|)/,alias:"attr-value"},punctuation:{pattern:/(^|[^\\])[|!]=*/,lookbehind:!0}}},"passthrough-block":{pattern:/^(\+{4,})$[\s\S]*?^\1$/m,inside:{punctuation:/^\++|\++$/}},"literal-block":{pattern:/^(-{4,}|\.{4,})$[\s\S]*?^\1$/m,inside:{punctuation:/^(?:-+|\.+)|(?:-+|\.+)$/}},"other-block":{pattern:/^(--|\*{4,}|_{4,}|={4,})$[\s\S]*?^\1$/m,inside:{punctuation:/^(?:-+|\*+|_+|=+)|(?:-+|\*+|_+|=+)$/}},"list-punctuation":{pattern:/(^[ \t]*)(?:-|\*{1,5}|\.{1,5}|(?:[a-z]|\d+)\.|[xvi]+\))(?= )/im,lookbehind:!0,alias:"punctuation"},"list-label":{pattern:/(^[ \t]*)[a-z\d].+(?::{2,4}|;;)(?=\s)/im,lookbehind:!0,alias:"symbol"},"indented-block":{pattern:/((\r?\n|\r)\2)([ \t]+)\S.*(?:(?:\r?\n|\r)\3.+)*(?=\2{2}|$)/,lookbehind:!0},comment:/^\/\/.*/m,title:{pattern:/^.+(?:\r?\n|\r)(?:={3,}|-{3,}|~{3,}|\^{3,}|\+{3,})$|^={1,5} .+|^\.(?![\s.]).*/m,alias:"important",inside:{punctuation:/^(?:\.|=+)|(?:=+|-+|~+|\^+|\++)$/}},"attribute-entry":{pattern:/^:[^:\r\n]+:(?: .*?(?: \+(?:\r?\n|\r).*?)*)?$/m,alias:"tag"},attributes:t,hr:{pattern:/^'{3,}$/m,alias:"punctuation"},"page-break":{pattern:/^<{3,}$/m,alias:"punctuation"},admonition:{pattern:/^(?:CAUTION|IMPORTANT|NOTE|TIP|WARNING):/m,alias:"keyword"},callout:[{pattern:/(^[ \t]*)<?\d*>/m,lookbehind:!0,alias:"symbol"},{pattern:/<\d+>/,alias:"symbol"}],macro:{pattern:/\b[a-z\d][a-z\d-]*::?(?:[^\s\[\]]*\[(?:[^\]\\"']|(["'])(?:(?!\1)[^\\]|\\.)*\1|\\.)*\])/,inside:{function:/^[a-z\d-]+(?=:)/,punctuation:/^::?/,attributes:{pattern:/(?:\[(?:[^\]\\"']|(["'])(?:(?!\1)[^\\]|\\.)*\1|\\.)*\])/,inside:t.inside}}},inline:{pattern:/(^|[^\\])(?:(?:\B\[(?:[^\]\\"']|(["'])(?:(?!\2)[^\\]|\\.)*\2|\\.)*\])?(?:\b_(?!\s)(?: _|[^_\\\r\n]|\\.)+(?:(?:\r?\n|\r)(?: _|[^_\\\r\n]|\\.)+)*_\b|\B``(?!\s).+?(?:(?:\r?\n|\r).+?)*''\B|\B`(?!\s)(?:[^`'\s]|\s+\S)+['`]\B|\B(['*+#])(?!\s)(?: \3|(?!\3)[^\\\r\n]|\\.)+(?:(?:\r?\n|\r)(?: \3|(?!\3)[^\\\r\n]|\\.)+)*\3\B)|(?:\[(?:[^\]\\"']|(["'])(?:(?!\4)[^\\]|\\.)*\4|\\.)*\])?(?:(__|\*\*|\+\+\+?|##|\$\$|[~^]).+?(?:(?:\r?\n|\r).+?)*\5|\{[^}\r\n]+\}|\[\[\[?.+?(?:(?:\r?\n|\r).+?)*\]?\]\]|<<.+?(?:(?:\r?\n|\r).+?)*>>|\(\(\(?.+?(?:(?:\r?\n|\r).+?)*\)?\)\)))/m,lookbehind:!0,inside:{attributes:t,url:{pattern:/^(?:\[\[\[?.+?\]?\]\]|<<.+?>>)$/,inside:{punctuation:/^(?:\[\[\[?|<<)|(?:\]\]\]?|>>)$/}},"attribute-ref":{pattern:/^\{.+\}$/,inside:{variable:{pattern:/(^\{)[a-z\d,+_-]+/,lookbehind:!0},operator:/^[=?!#%@$]|!(?=[:}])/,punctuation:/^\{|\}$|::?/}},italic:{pattern:/^(['_])[\s\S]+\1$/,inside:{punctuation:/^(?:''?|__?)|(?:''?|__?)$/}},bold:{pattern:/^\*[\s\S]+\*$/,inside:{punctuation:/^\*\*?|\*\*?$/}},punctuation:/^(?:``?|\+{1,3}|##?|\$\$|[~^]|\(\(\(?)|(?:''?|\+{1,3}|##?|\$\$|[~^`]|\)?\)\))$/}},replacement:{pattern:/\((?:C|R|TM)\)/,alias:"builtin"},entity:/&#?[\da-z]{1,8};/i,"line-continuation":{pattern:/(^| )\+$/m,lookbehind:!0,alias:"punctuation"}};function r(e){for(var t={},r=0,i=(e=e.split(" ")).length;r<i;r++)t[e[r]]=n[e[r]];return t}t.inside.interpreted.inside.rest=r("macro inline replacement entity"),n["passthrough-block"].inside.rest=r("macro"),n["literal-block"].inside.rest=r("callout"),n.table.inside.rest=r("comment-block passthrough-block literal-block other-block list-punctuation indented-block comment title attribute-entry attributes hr page-break admonition list-label callout macro inline replacement entity line-continuation"),n["other-block"].inside.rest=r("table list-punctuation indented-block comment attribute-entry attributes hr page-break admonition list-label macro inline replacement entity line-continuation"),n.title.inside.rest=r("macro inline replacement entity"),e.hooks.add("wrap",(function(e){"entity"===e.type&&(e.attributes.title=e.content.value.replace(/&/,"&"))})),e.languages.adoc=e.languages.asciidoc}(e)}function fh(e){e.register(Jc),e.register(eu),e.languages.aspnet=e.languages.extend("markup",{"page-directive":{pattern:/<%\s*@.*%>/,alias:"tag",inside:{"page-directive":{pattern:/<%\s*@\s*(?:Assembly|Control|Implements|Import|Master(?:Type)?|OutputCache|Page|PreviousPageType|Reference|Register)?|%>/i,alias:"tag"},rest:e.languages.markup.tag.inside}},directive:{pattern:/<%.*%>/,alias:"tag",inside:{directive:{pattern:/<%\s*?[$=%#:]{0,2}|%>/,alias:"tag"},rest:e.languages.csharp}}}),e.languages.aspnet.tag.pattern=/<(?!%)\/?[^\s>\/]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/,e.languages.insertBefore("inside","punctuation",{directive:e.languages.aspnet.directive},e.languages.aspnet.tag.inside["attr-value"]),e.languages.insertBefore("aspnet","comment",{"asp-comment":{pattern:/<%--[\s\S]*?--%>/,alias:["asp","comment"]}}),e.languages.insertBefore("aspnet",e.languages.javascript?"script":"tag",{"asp-script":{pattern:/(<script(?=.*runat=['"]?server\b)[^>]*>)[\s\S]*?(?=<\/script>)/i,lookbehind:!0,alias:["asp","script"],inside:e.languages.csharp||{}}})}function mh(e){e.languages.asm6502={comment:/;.*/,directive:{pattern:/\.\w+(?= )/,alias:"property"},string:/(["'`])(?:\\.|(?!\1)[^\\\r\n])*\1/,"op-code":{pattern:/\b(?:ADC|AND|ASL|BCC|BCS|BEQ|BIT|BMI|BNE|BPL|BRK|BVC|BVS|CLC|CLD|CLI|CLV|CMP|CPX|CPY|DEC|DEX|DEY|EOR|INC|INX|INY|JMP|JSR|LDA|LDX|LDY|LSR|NOP|ORA|PHA|PHP|PLA|PLP|ROL|ROR|RTI|RTS|SBC|SEC|SED|SEI|STA|STX|STY|TAX|TAY|TSX|TXA|TXS|TYA|adc|and|asl|bcc|bcs|beq|bit|bmi|bne|bpl|brk|bvc|bvs|clc|cld|cli|clv|cmp|cpx|cpy|dec|dex|dey|eor|inc|inx|iny|jmp|jsr|lda|ldx|ldy|lsr|nop|ora|pha|php|pla|plp|rol|ror|rti|rts|sbc|sec|sed|sei|sta|stx|sty|tax|tay|tsx|txa|txs|tya)\b/,alias:"keyword"},"hex-number":{pattern:/#?\$[\da-f]{1,4}\b/i,alias:"number"},"binary-number":{pattern:/#?%[01]+\b/,alias:"number"},"decimal-number":{pattern:/#?\b\d+\b/,alias:"number"},register:{pattern:/\b[xya]\b/i,alias:"variable"},punctuation:/[(),:]/}}function gh(e){e.languages.asmatmel={comment:{pattern:/;.*/,greedy:!0},string:{pattern:/(["'`])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},constant:/\b(?:PORT[A-Z]|DDR[A-Z]|(?:DD|P)[A-Z](?:\d|[0-2]\d|3[01]))\b/,directive:{pattern:/\.\w+(?= )/,alias:"property"},"r-register":{pattern:/\br(?:\d|[12]\d|3[01])\b/,alias:"variable"},"op-code":{pattern:/\b(?:ADC|ADD|ADIW|AND|ANDI|ASR|BCLR|BLD|BRBC|BRBS|BRCC|BRCS|BREAK|BREQ|BRGE|BRHC|BRHS|BRID|BRIE|BRLO|BRLT|BRMI|BRNE|BRPL|BRSH|BRTC|BRTS|BRVC|BRVS|BSET|BST|CALL|CBI|CBR|CLC|CLH|CLI|CLN|CLR|CLS|CLT|CLV|CLZ|COM|CP|CPC|CPI|CPSE|DEC|DES|EICALL|EIJMP|ELPM|EOR|FMUL|FMULS|FMULSU|ICALL|IJMP|IN|INC|JMP|LAC|LAS|LAT|LD|LD[A-Za-z0-9]|LPM|LSL|LSR|MOV|MOVW|MUL|MULS|MULSU|NEG|NOP|OR|ORI|OUT|POP|PUSH|RCALL|RET|RETI|RJMP|ROL|ROR|SBC|SBCI|SBI|SBIC|SBIS|SBIW|SBR|SBRC|SBRS|SEC|SEH|SEI|SEN|SER|SES|SET|SEV|SEZ|SLEEP|SPM|ST|ST[A-Z0-9]|SUB|SUBI|SWAP|TST|WDR|XCH|adc|add|adiw|and|andi|asr|bclr|bld|brbc|brbs|brcc|brcs|break|breq|brge|brhc|brhs|brid|brie|brlo|brlt|brmi|brne|brpl|brsh|brtc|brts|brvc|brvs|bset|bst|call|cbi|cbr|clc|clh|cli|cln|clr|cls|clt|clv|clz|com|cp|cpc|cpi|cpse|dec|des|eicall|eijmp|elpm|eor|fmul|fmuls|fmulsu|icall|ijmp|in|inc|jmp|lac|las|lat|ld|ld[a-z0-9]|lpm|lsl|lsr|mov|movw|mul|muls|mulsu|neg|nop|or|ori|out|pop|push|rcall|ret|reti|rjmp|rol|ror|sbc|sbci|sbi|sbic|sbis|sbiw|sbr|sbrc|sbrs|sec|seh|sei|sen|ser|ses|set|sev|sez|sleep|spm|st|st[a-zA-Z0-9]|sub|subi|swap|tst|wdr|xch)\b/,alias:"keyword"},"hex-number":{pattern:/#?\$[\da-f]{2,4}\b/i,alias:"number"},"binary-number":{pattern:/#?%[01]+\b/,alias:"number"},"decimal-number":{pattern:/#?\b\d+\b/,alias:"number"},register:{pattern:/\b[acznvshtixy]\b/i,alias:"variable"},operator:/>>=?|<<=?|&[&=]?|\|[\|=]?|[-+*/%^!=<>?]=?/,punctuation:/[(),:]/}}function yh(e){e.languages.autohotkey={comment:[{pattern:/(^|\s);.*/,lookbehind:!0},{pattern:/(^[\t ]*)\/\*(?:[\r\n](?![ \t]*\*\/)|[^\r\n])*(?:[\r\n][ \t]*\*\/)?/m,lookbehind:!0,greedy:!0}],tag:{pattern:/^([ \t]*)[^\s,`":]+(?=:[ \t]*$)/m,lookbehind:!0},string:/"(?:[^"\n\r]|"")*"/,variable:/%\w+%/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/\?|\/\/?=?|:=|\|[=|]?|&[=&]?|\+[=+]?|-[=-]?|\*[=*]?|<(?:<=?|>|=)?|>>?=?|[.^!=~]=?|\b(?:AND|NOT|OR)\b/,boolean:/\b(?:false|true)\b/,command:{pattern:/\b(?:AutoTrim|BlockInput|Break|Click|ClipWait|Continue|Control|ControlClick|ControlFocus|ControlGet|ControlGetFocus|ControlGetPos|ControlGetText|ControlMove|ControlSend|ControlSendRaw|ControlSetText|CoordMode|Critical|DetectHiddenText|DetectHiddenWindows|Drive|DriveGet|DriveSpaceFree|EnvAdd|EnvDiv|EnvGet|EnvMult|EnvSet|EnvSub|EnvUpdate|Exit|ExitApp|FileAppend|FileCopy|FileCopyDir|FileCreateDir|FileCreateShortcut|FileDelete|FileEncoding|FileGetAttrib|FileGetShortcut|FileGetSize|FileGetTime|FileGetVersion|FileInstall|FileMove|FileMoveDir|FileRead|FileReadLine|FileRecycle|FileRecycleEmpty|FileRemoveDir|FileSelectFile|FileSelectFolder|FileSetAttrib|FileSetTime|FormatTime|GetKeyState|Gosub|Goto|GroupActivate|GroupAdd|GroupClose|GroupDeactivate|Gui|GuiControl|GuiControlGet|Hotkey|ImageSearch|IniDelete|IniRead|IniWrite|Input|InputBox|KeyWait|ListHotkeys|ListLines|ListVars|Loop|Menu|MouseClick|MouseClickDrag|MouseGetPos|MouseMove|MsgBox|OnExit|OutputDebug|Pause|PixelGetColor|PixelSearch|PostMessage|Process|Progress|Random|RegDelete|RegRead|RegWrite|Reload|Repeat|Return|Run|RunAs|RunWait|Send|SendEvent|SendInput|SendMessage|SendMode|SendPlay|SendRaw|SetBatchLines|SetCapslockState|SetControlDelay|SetDefaultMouseSpeed|SetEnv|SetFormat|SetKeyDelay|SetMouseDelay|SetNumlockState|SetRegView|SetScrollLockState|SetStoreCapslockMode|SetTimer|SetTitleMatchMode|SetWinDelay|SetWorkingDir|Shutdown|Sleep|Sort|SoundBeep|SoundGet|SoundGetWaveVolume|SoundPlay|SoundSet|SoundSetWaveVolume|SplashImage|SplashTextOff|SplashTextOn|SplitPath|StatusBarGetText|StatusBarWait|StringCaseSense|StringGetPos|StringLeft|StringLen|StringLower|StringMid|StringReplace|StringRight|StringSplit|StringTrimLeft|StringTrimRight|StringUpper|Suspend|SysGet|Thread|ToolTip|Transform|TrayTip|URLDownloadToFile|WinActivate|WinActivateBottom|WinClose|WinGet|WinGetActiveStats|WinGetActiveTitle|WinGetClass|WinGetPos|WinGetText|WinGetTitle|WinHide|WinKill|WinMaximize|WinMenuSelectItem|WinMinimize|WinMinimizeAll|WinMinimizeAllUndo|WinMove|WinRestore|WinSet|WinSetTitle|WinShow|WinWait|WinWaitActive|WinWaitClose|WinWaitNotActive)\b/i,alias:"selector"},constant:/\b(?:a_ahkpath|a_ahkversion|a_appdata|a_appdatacommon|a_autotrim|a_batchlines|a_caretx|a_carety|a_computername|a_controldelay|a_cursor|a_dd|a_ddd|a_dddd|a_defaultmousespeed|a_desktop|a_desktopcommon|a_detecthiddentext|a_detecthiddenwindows|a_endchar|a_eventinfo|a_exitreason|a_fileencoding|a_formatfloat|a_formatinteger|a_gui|a_guicontrol|a_guicontrolevent|a_guievent|a_guiheight|a_guiwidth|a_guix|a_guiy|a_hour|a_iconfile|a_iconhidden|a_iconnumber|a_icontip|a_index|a_ipaddress1|a_ipaddress2|a_ipaddress3|a_ipaddress4|a_is64bitos|a_isadmin|a_iscompiled|a_iscritical|a_ispaused|a_issuspended|a_isunicode|a_keydelay|a_language|a_lasterror|a_linefile|a_linenumber|a_loopfield|a_loopfileattrib|a_loopfiledir|a_loopfileext|a_loopfilefullpath|a_loopfilelongpath|a_loopfilename|a_loopfileshortname|a_loopfileshortpath|a_loopfilesize|a_loopfilesizekb|a_loopfilesizemb|a_loopfiletimeaccessed|a_loopfiletimecreated|a_loopfiletimemodified|a_loopreadline|a_loopregkey|a_loopregname|a_loopregsubkey|a_loopregtimemodified|a_loopregtype|a_mday|a_min|a_mm|a_mmm|a_mmmm|a_mon|a_mousedelay|a_msec|a_mydocuments|a_now|a_nowutc|a_numbatchlines|a_ostype|a_osversion|a_priorhotkey|a_priorkey|a_programfiles|a_programs|a_programscommon|a_ptrsize|a_regview|a_screendpi|a_screenheight|a_screenwidth|a_scriptdir|a_scriptfullpath|a_scripthwnd|a_scriptname|a_sec|a_space|a_startmenu|a_startmenucommon|a_startup|a_startupcommon|a_stringcasesense|a_tab|a_temp|a_thisfunc|a_thishotkey|a_thislabel|a_thismenu|a_thismenuitem|a_thismenuitempos|a_tickcount|a_timeidle|a_timeidlephysical|a_timesincepriorhotkey|a_timesincethishotkey|a_titlematchmode|a_titlematchmodespeed|a_username|a_wday|a_windelay|a_windir|a_workingdir|a_yday|a_year|a_yweek|a_yyyy|clipboard|clipboardall|comspec|errorlevel|programfiles)\b/i,builtin:/\b(?:abs|acos|asc|asin|atan|ceil|chr|class|comobjactive|comobjarray|comobjconnect|comobjcreate|comobjerror|comobjflags|comobjget|comobjquery|comobjtype|comobjvalue|cos|dllcall|exp|fileexist|Fileopen|floor|format|il_add|il_create|il_destroy|instr|isfunc|islabel|IsObject|ln|log|ltrim|lv_add|lv_delete|lv_deletecol|lv_getcount|lv_getnext|lv_gettext|lv_insert|lv_insertcol|lv_modify|lv_modifycol|lv_setimagelist|mod|numget|numput|onmessage|regexmatch|regexreplace|registercallback|round|rtrim|sb_seticon|sb_setparts|sb_settext|sin|sqrt|strlen|strreplace|strsplit|substr|tan|tv_add|tv_delete|tv_get|tv_getchild|tv_getcount|tv_getnext|tv_getparent|tv_getprev|tv_getselection|tv_gettext|tv_modify|varsetcapacity|winactive|winexist|__Call|__Get|__New|__Set)\b/i,symbol:/\b(?:alt|altdown|altup|appskey|backspace|browser_back|browser_favorites|browser_forward|browser_home|browser_refresh|browser_search|browser_stop|bs|capslock|ctrl|ctrlbreak|ctrldown|ctrlup|del|delete|down|end|enter|esc|escape|f1|f10|f11|f12|f13|f14|f15|f16|f17|f18|f19|f2|f20|f21|f22|f23|f24|f3|f4|f5|f6|f7|f8|f9|home|ins|insert|joy1|joy10|joy11|joy12|joy13|joy14|joy15|joy16|joy17|joy18|joy19|joy2|joy20|joy21|joy22|joy23|joy24|joy25|joy26|joy27|joy28|joy29|joy3|joy30|joy31|joy32|joy4|joy5|joy6|joy7|joy8|joy9|joyaxes|joybuttons|joyinfo|joyname|joypov|joyr|joyu|joyv|joyx|joyy|joyz|lalt|launch_app1|launch_app2|launch_mail|launch_media|lbutton|lcontrol|lctrl|left|lshift|lwin|lwindown|lwinup|mbutton|media_next|media_play_pause|media_prev|media_stop|numlock|numpad0|numpad1|numpad2|numpad3|numpad4|numpad5|numpad6|numpad7|numpad8|numpad9|numpadadd|numpadclear|numpaddel|numpaddiv|numpaddot|numpaddown|numpadend|numpadenter|numpadhome|numpadins|numpadleft|numpadmult|numpadpgdn|numpadpgup|numpadright|numpadsub|numpadup|pgdn|pgup|printscreen|ralt|rbutton|rcontrol|rctrl|right|rshift|rwin|rwindown|rwinup|scrolllock|shift|shiftdown|shiftup|space|tab|up|volume_down|volume_mute|volume_up|wheeldown|wheelleft|wheelright|wheelup|xbutton1|xbutton2)\b/i,directive:{pattern:/#[a-z]+\b/i,alias:"important"},keyword:/\b(?:Abort|AboveNormal|Add|ahk_class|ahk_exe|ahk_group|ahk_id|ahk_pid|All|Alnum|Alpha|AltSubmit|AltTab|AltTabAndMenu|AltTabMenu|AltTabMenuDismiss|AlwaysOnTop|AutoSize|Background|BackgroundTrans|BelowNormal|between|BitAnd|BitNot|BitOr|BitShiftLeft|BitShiftRight|BitXOr|Bold|Border|Button|ByRef|Catch|Checkbox|Checked|CheckedGray|Choose|ChooseString|Close|Color|ComboBox|Contains|ControlList|Count|Date|DateTime|Days|DDL|Default|DeleteAll|Delimiter|Deref|Destroy|Digit|Disable|Disabled|DropDownList|Edit|Eject|Else|Enable|Enabled|Error|Exist|Expand|ExStyle|FileSystem|Finally|First|Flash|Float|FloatFast|Focus|Font|for|global|Grid|Group|GroupBox|GuiClose|GuiContextMenu|GuiDropFiles|GuiEscape|GuiSize|Hdr|Hidden|Hide|High|HKCC|HKCR|HKCU|HKEY_CLASSES_ROOT|HKEY_CURRENT_CONFIG|HKEY_CURRENT_USER|HKEY_LOCAL_MACHINE|HKEY_USERS|HKLM|HKU|Hours|HScroll|Icon|IconSmall|ID|IDLast|If|IfEqual|IfExist|IfGreater|IfGreaterOrEqual|IfInString|IfLess|IfLessOrEqual|IfMsgBox|IfNotEqual|IfNotExist|IfNotInString|IfWinActive|IfWinExist|IfWinNotActive|IfWinNotExist|Ignore|ImageList|in|Integer|IntegerFast|Interrupt|is|italic|Join|Label|LastFound|LastFoundExist|Limit|Lines|List|ListBox|ListView|local|Lock|Logoff|Low|Lower|Lowercase|MainWindow|Margin|Maximize|MaximizeBox|MaxSize|Minimize|MinimizeBox|MinMax|MinSize|Minutes|MonthCal|Mouse|Move|Multi|NA|No|NoActivate|NoDefault|NoHide|NoIcon|NoMainWindow|norm|Normal|NoSort|NoSortHdr|NoStandard|Not|NoTab|NoTimers|Number|Off|Ok|On|OwnDialogs|Owner|Parse|Password|Picture|Pixel|Pos|Pow|Priority|ProcessName|Radio|Range|Read|ReadOnly|Realtime|Redraw|Region|REG_BINARY|REG_DWORD|REG_EXPAND_SZ|REG_MULTI_SZ|REG_SZ|Relative|Rename|Report|Resize|Restore|Retry|RGB|Screen|Seconds|Section|Serial|SetLabel|ShiftAltTab|Show|Single|Slider|SortDesc|Standard|static|Status|StatusBar|StatusCD|strike|Style|Submit|SysMenu|Tab2|TabStop|Text|Theme|Throw|Tile|ToggleCheck|ToggleEnable|ToolWindow|Top|Topmost|TransColor|Transparent|Tray|TreeView|Try|TryAgain|Type|UnCheck|underline|Unicode|Unlock|Until|UpDown|Upper|Uppercase|UseErrorLevel|Vis|VisFirst|Visible|VScroll|Wait|WaitClose|WantCtrlA|WantF2|WantReturn|While|Wrap|Xdigit|xm|xp|xs|Yes|ym|yp|ys)\b/i,function:/[^(); \t,\n+*\-=?>:\\\/<&%\[\]]+(?=\()/,punctuation:/[{}[\]():,]/}}function vh(e){e.languages.autoit={comment:[/;.*/,{pattern:/(^[\t ]*)#(?:comments-start|cs)[\s\S]*?^[ \t]*#(?:ce|comments-end)/m,lookbehind:!0}],url:{pattern:/(^[\t ]*#include\s+)(?:<[^\r\n>]+>|"[^\r\n"]+")/m,lookbehind:!0},string:{pattern:/(["'])(?:\1\1|(?!\1)[^\r\n])*\1/,greedy:!0,inside:{variable:/([%$@])\w+\1/}},directive:{pattern:/(^[\t ]*)#[\w-]+/m,lookbehind:!0,alias:"keyword"},function:/\b\w+(?=\()/,variable:/[$@]\w+/,keyword:/\b(?:Case|Const|Continue(?:Case|Loop)|Default|Dim|Do|Else(?:If)?|End(?:Func|If|Select|Switch|With)|Enum|Exit(?:Loop)?|For|Func|Global|If|In|Local|Next|Null|ReDim|Select|Static|Step|Switch|Then|To|Until|Volatile|WEnd|While|With)\b/i,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,boolean:/\b(?:False|True)\b/i,operator:/<[=>]?|[-+*\/=&>]=?|[?^]|\b(?:And|Not|Or)\b/i,punctuation:/[\[\]().,:]/}}function _h(e){!function(e){function t(e,t,n){return RegExp(function(e,t){return e.replace(/<<(\d+)>>/g,(function(e,n){return t[+n]}))}(e,t),n||"")}var n=/bool|clip|float|int|string|val/.source,r=[[/is(?:bool|clip|float|int|string)|defined|(?:(?:internal)?function|var)?exists?/.source,/apply|assert|default|eval|import|nop|select|undefined/.source,/opt_(?:allowfloataudio|avipadscanlines|dwchannelmask|enable_(?:b64a|planartopackedrgb|v210|y3_10_10|y3_10_16)|usewaveextensible|vdubplanarhack)|set(?:cachemode|maxcpu|memorymax|planarlegacyalignment|workingdir)/.source,/hex(?:value)?|value/.source,/abs|ceil|continued(?:denominator|numerator)?|exp|floor|fmod|frac|log(?:10)?|max|min|muldiv|pi|pow|rand|round|sign|spline|sqrt/.source,/a?sinh?|a?cosh?|a?tan[2h]?/.source,/(?:bit(?:and|not|x?or|[lr]?shift[aslu]?|sh[lr]|sa[lr]|[lr]rotatel?|ro[rl]|te?st|set(?:count)?|cl(?:ea)?r|ch(?:an)?ge?))/.source,/average(?:[bgr]|chroma[uv]|luma)|(?:[rgb]|chroma[uv]|luma|rgb|[yuv](?=difference(?:fromprevious|tonext)))difference(?:fromprevious|tonext)?|[yuvrgb]plane(?:median|min|max|minmaxdifference)/.source,/getprocessinfo|logmsg|script(?:dir(?:utf8)?|file(?:utf8)?|name(?:utf8)?)|setlogparams/.source,/chr|(?:fill|find|left|mid|replace|rev|right)str|format|[lu]case|ord|str(?:cmpi?|fromutf8|len|toutf8)|time|trim(?:all|left|right)/.source,/isversionorgreater|version(?:number|string)/.source,/buildpixeltype|colorspacenametopixeltype/.source,/addautoloaddir|on(?:cpu|cuda)|prefetch|setfiltermtmode/.source].join("|"),[/has(?:audio|video)/.source,/height|width/.source,/frame(?:count|rate)|framerate(?:denominator|numerator)/.source,/getparity|is(?:field|frame)based/.source,/bitspercomponent|componentsize|hasalpha|is(?:planar(?:rgba?)?|interleaved|rgb(?:24|32|48|64)?|y(?:8|u(?:va?|y2))?|yv(?:12|16|24|411)|420|422|444|packedrgb)|numcomponents|pixeltype/.source,/audio(?:bits|channels|duration|length(?:[fs]|hi|lo)?|rate)|isaudio(?:float|int)/.source].join("|"),[/avi(?:file)?source|directshowsource|image(?:reader|source|sourceanim)|opendmlsource|segmented(?:avisource|directshowsource)|wavsource/.source,/coloryuv|convertbacktoyuy2|convertto(?:RGB(?:24|32|48|64)|(?:planar)?RGBA?|Y8?|YV(?:12|16|24|411)|YUVA?(?:411|420|422|444)|YUY2)|fixluminance|gr[ae]yscale|invert|levels|limiter|mergea?rgb|merge(?:chroma|luma)|rgbadjust|show(?:alpha|blue|green|red)|swapuv|tweak|[uv]toy8?|ytouv/.source,/(?:colorkey|reset)mask|layer|mask(?:hs)?|merge|overlay|subtract/.source,/addborders|(?:bicubic|bilinear|blackman|gauss|lanczos4|lanczos|point|sinc|spline(?:16|36|64))resize|crop(?:bottom)?|flip(?:horizontal|vertical)|(?:horizontal|vertical)?reduceby2|letterbox|skewrows|turn(?:180|left|right)/.source,/blur|fixbrokenchromaupsampling|generalconvolution|(?:spatial|temporal)soften|sharpen/.source,/trim|(?:un)?alignedsplice|(?:assume|assumescaled|change|convert)FPS|(?:delete|duplicate)frame|dissolve|fade(?:in|io|out)[02]?|freezeframe|interleave|loop|reverse|select(?:even|odd|(?:range)?every)/.source,/assume[bt]ff|assume(?:field|frame)based|bob|complementparity|doubleweave|peculiarblend|pulldown|separate(?:columns|fields|rows)|swapfields|weave(?:columns|rows)?/.source,/amplify(?:db)?|assumesamplerate|audiodub(?:ex)?|audiotrim|convertaudioto(?:(?:8|16|24|32)bit|float)|converttomono|delayaudio|ensurevbrmp3sync|get(?:left|right)?channel|kill(?:audio|video)|mergechannels|mixaudio|monotostereo|normalize|resampleaudio|ssrc|supereq|timestretch/.source,/animate|applyrange|conditional(?:filter|reader|select)|frameevaluate|scriptclip|tcp(?:server|source)|writefile(?:end|if|start)?/.source,/imagewriter/.source,/blackness|blankclip|colorbars(?:hd)?|compare|dumpfiltergraph|echo|histogram|info|messageclip|preroll|setgraphanalysis|show(?:framenumber|smpte|time)|showfiveversions|stack(?:horizontal|vertical)|subtitle|tone|version/.source].join("|")].join("|");e.languages.avisynth={comment:[{pattern:/(^|[^\\])\[\*(?:[^\[*]|\[(?!\*)|\*(?!\])|\[\*(?:[^\[*]|\[(?!\*)|\*(?!\]))*\*\])*\*\]/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\$])#.*/,lookbehind:!0,greedy:!0}],argument:{pattern:t(/\b(?:<<0>>)\s+("?)\w+\1/.source,[n],"i"),inside:{keyword:/^\w+/}},"argument-label":{pattern:/([,(][\s\\]*)\w+\s*=(?!=)/,lookbehind:!0,inside:{"argument-name":{pattern:/^\w+/,alias:"punctuation"},punctuation:/=$/}},string:[{pattern:/"""[\s\S]*?"""/,greedy:!0},{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0,inside:{constant:{pattern:/\b(?:DEFAULT_MT_MODE|(?:MAINSCRIPT|PROGRAM|SCRIPT)DIR|(?:MACHINE|USER)_(?:CLASSIC|PLUS)_PLUGINS)\b/}}}],variable:/\b(?:last)\b/i,boolean:/\b(?:false|no|true|yes)\b/i,keyword:/\b(?:catch|else|for|function|global|if|return|try|while|__END__)\b/i,constant:/\bMT_(?:MULTI_INSTANCE|NICE_FILTER|SERIALIZED|SPECIAL_MT)\b/,"builtin-function":{pattern:t(/\b(?:<<0>>)\b/.source,[r],"i"),alias:"function"},"type-cast":{pattern:t(/\b(?:<<0>>)(?=\s*\()/.source,[n],"i"),alias:"keyword"},function:{pattern:/\b[a-z_]\w*(?=\s*\()|(\.)[a-z_]\w*\b/i,lookbehind:!0},"line-continuation":{pattern:/(^[ \t]*)\\|\\(?=[ \t]*$)/m,lookbehind:!0,alias:"punctuation"},number:/\B\$(?:[\da-f]{6}|[\da-f]{8})\b|(?:(?:\b|\B-)\d+(?:\.\d*)?\b|\B\.\d+\b)/i,operator:/\+\+?|[!=<>]=?|&&|\|\||[?:*/%-]/,punctuation:/[{}\[\]();,.]/},e.languages.avs=e.languages.avisynth}(e)}function bh(e){e.languages["avro-idl"]={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/(^|[^\\])"(?:[^\r\n"\\]|\\.)*"/,lookbehind:!0,greedy:!0},annotation:{pattern:/@(?:[$\w.-]|`[^\r\n`]+`)+/,greedy:!0,alias:"function"},"function-identifier":{pattern:/`[^\r\n`]+`(?=\s*\()/,greedy:!0,alias:"function"},identifier:{pattern:/`[^\r\n`]+`/,greedy:!0},"class-name":{pattern:/(\b(?:enum|error|protocol|record|throws)\b\s+)[$\w]+/,lookbehind:!0,greedy:!0},keyword:/\b(?:array|boolean|bytes|date|decimal|double|enum|error|false|fixed|float|idl|import|int|local_timestamp_ms|long|map|null|oneway|protocol|record|schema|string|throws|time_ms|timestamp_ms|true|union|uuid|void)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:[{pattern:/(^|[^\w.])-?(?:(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|0x(?:[a-f0-9]+(?:\.[a-f0-9]*)?|\.[a-f0-9]+)(?:p[+-]?\d+)?)[dfl]?(?![\w.])/i,lookbehind:!0},/-?\b(?:Infinity|NaN)\b/],operator:/=/,punctuation:/[()\[\]{}<>.:,;-]/},e.languages.avdl=e.languages["avro-idl"]}function Eh(e){e.languages.awk={hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},comment:{pattern:/#.*/,greedy:!0},string:{pattern:/(^|[^\\])"(?:[^\\"\r\n]|\\.)*"/,lookbehind:!0,greedy:!0},regex:{pattern:/((?:^|[^\w\s)])\s*)\/(?:[^\/\\\r\n]|\\.)*\//,lookbehind:!0,greedy:!0},variable:/\$\w+/,keyword:/\b(?:BEGIN|BEGINFILE|END|ENDFILE|break|case|continue|default|delete|do|else|exit|for|function|getline|if|in|next|nextfile|printf?|return|switch|while)\b|@(?:include|load)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/\b(?:\d+(?:\.\d+)?(?:e[+-]?\d+)?|0x[a-fA-F0-9]+)\b/,operator:/--|\+\+|!?~|>&|>>|<<|(?:\*\*|[<>!=+\-*/%^])=?|&&|\|[|&]|[?:]/,punctuation:/[()[\]{},;]/},e.languages.gawk=e.languages.awk}function Th(e){!function(e){var t=/%%?[~:\w]+%?|!\S+!/,n={pattern:/\/[a-z?]+(?=[ :]|$):?|-[a-z]\b|--[a-z-]+\b/im,alias:"attr-name",inside:{punctuation:/:/}},r=/"(?:[\\"]"|[^"])*"(?!")/,i=/(?:\b|-)\d+\b/;e.languages.batch={comment:[/^::.*/m,{pattern:/((?:^|[&(])[ \t]*)rem\b(?:[^^&)\r\n]|\^(?:\r\n|[\s\S]))*/im,lookbehind:!0}],label:{pattern:/^:.*/m,alias:"property"},command:[{pattern:/((?:^|[&(])[ \t]*)for(?: \/[a-z?](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* \S+ in \([^)]+\) do/im,lookbehind:!0,inside:{keyword:/\b(?:do|in)\b|^for\b/i,string:r,parameter:n,variable:t,number:i,punctuation:/[()',]/}},{pattern:/((?:^|[&(])[ \t]*)if(?: \/[a-z?](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* (?:not )?(?:cmdextversion \d+|defined \w+|errorlevel \d+|exist \S+|(?:"[^"]*"|(?!")(?:(?!==)\S)+)?(?:==| (?:equ|geq|gtr|leq|lss|neq) )(?:"[^"]*"|[^\s"]\S*))/im,lookbehind:!0,inside:{keyword:/\b(?:cmdextversion|defined|errorlevel|exist|not)\b|^if\b/i,string:r,parameter:n,variable:t,number:i,operator:/\^|==|\b(?:equ|geq|gtr|leq|lss|neq)\b/i}},{pattern:/((?:^|[&()])[ \t]*)else\b/im,lookbehind:!0,inside:{keyword:/^else\b/i}},{pattern:/((?:^|[&(])[ \t]*)set(?: \/[a-z](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* (?:[^^&)\r\n]|\^(?:\r\n|[\s\S]))*/im,lookbehind:!0,inside:{keyword:/^set\b/i,string:r,parameter:n,variable:[t,/\w+(?=(?:[*\/%+\-&^|]|<<|>>)?=)/],number:i,operator:/[*\/%+\-&^|]=?|<<=?|>>=?|[!~_=]/,punctuation:/[()',]/}},{pattern:/((?:^|[&(])[ \t]*@?)\w+\b(?:"(?:[\\"]"|[^"])*"(?!")|[^"^&)\r\n]|\^(?:\r\n|[\s\S]))*/m,lookbehind:!0,inside:{keyword:/^\w+\b/,string:r,parameter:n,label:{pattern:/(^\s*):\S+/m,lookbehind:!0,alias:"property"},variable:t,number:i,operator:/\^/}}],operator:/[&@]/,punctuation:/[()']/}}(e)}function xh(e){e.languages.bbcode={tag:{pattern:/\[\/?[^\s=\]]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+))?(?:\s+[^\s=\]]+\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+))*\s*\]/,inside:{tag:{pattern:/^\[\/?[^\s=\]]+/,inside:{punctuation:/^\[\/?/}},"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+)/,inside:{punctuation:[/^=/,{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\]/,"attr-name":/[^\s=\]]+/}}},e.languages.shortcode=e.languages.bbcode}function Sh(e){!function(e){e.languages.bbj={comment:{pattern:/(^|[^\\:])rem\s+.*/i,lookbehind:!0,greedy:!0},string:{pattern:/(['"])(?:(?!\1|\\).|\\.)*\1/,greedy:!0},number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,keyword:/\b(?:abstract|all|argc|begin|bye|callback|case|chn|class|classend|ctl|day|declare|delete|dim|dom|dread|dsz|else|end|endif|err|exitto|extends|fi|field|for|from|gosub|goto|if|implements|interface|interfaceend|iol|iolist|let|list|load|method|methodend|methodret|on|opts|pfx|print|private|process_events|protected|psz|public|read|read_resource|release|remove_callback|repeat|restore|return|rev|seterr|setesc|sqlchn|sqlunt|ssn|start|static|swend|switch|sys|then|tim|unt|until|use|void|wend|where|while)\b/i,function:/\b\w+(?=\()/,boolean:/\b(?:BBjAPI\.TRUE|BBjAPI\.FALSE)\b/i,operator:/<[=>]?|>=?|[+\-*\/^=&]|\b(?:and|not|or|xor)\b/i,punctuation:/[.,;:()]/}}(e)}function Ch(e){e.languages.bicep={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],property:[{pattern:/([\r\n][ \t]*)[a-z_]\w*(?=[ \t]*:)/i,lookbehind:!0},{pattern:/([\r\n][ \t]*)'(?:\\.|\$(?!\{)|[^'\\\r\n$])*'(?=[ \t]*:)/,lookbehind:!0,greedy:!0}],string:[{pattern:/'''[^'][\s\S]*?'''/,greedy:!0},{pattern:/(^|[^\\'])'(?:\\.|\$(?!\{)|[^'\\\r\n$])*'/,lookbehind:!0,greedy:!0}],"interpolated-string":{pattern:/(^|[^\\'])'(?:\\.|\$(?:(?!\{)|\{[^{}\r\n]*\})|[^'\\\r\n$])*'/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/\$\{[^{}\r\n]*\}/,inside:{expression:{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0},punctuation:/^\$\{|\}$/}},string:/[\s\S]+/}},datatype:{pattern:/(\b(?:output|param)\b[ \t]+\w+[ \t]+)\w+\b/,lookbehind:!0,alias:"class-name"},boolean:/\b(?:false|true)\b/,keyword:/\b(?:existing|for|if|in|module|null|output|param|resource|targetScope|var)\b/,decorator:/@\w+\b/,function:/\b[a-z_]\w*(?=[ \t]*\()/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/,punctuation:/[{}[\];(),.:]/},e.languages.bicep["interpolated-string"].inside.interpolation.inside.expression.inside=e.languages.bicep}function Ah(e){e.register(Kc),e.languages.birb=e.languages.extend("clike",{string:{pattern:/r?("|')(?:\\.|(?!\1)[^\\])*\1/,greedy:!0},"class-name":[/\b[A-Z](?:[\d_]*[a-zA-Z]\w*)?\b/,/\b(?:[A-Z]\w*|(?!(?:var|void)\b)[a-z]\w*)(?=\s+\w+\s*[;,=()])/],keyword:/\b(?:assert|break|case|class|const|default|else|enum|final|follows|for|grab|if|nest|new|next|noSeeb|return|static|switch|throw|var|void|while)\b/,operator:/\+\+|--|&&|\|\||<<=?|>>=?|~(?:\/=?)?|[+\-*\/%&^|=!<>]=?|\?|:/,variable:/\b[a-z_]\w*\b/}),e.languages.insertBefore("birb","function",{metadata:{pattern:/<\w+>/,greedy:!0,alias:"symbol"}})}function Rh(e){e.register(qc),e.languages.bison=e.languages.extend("c",{}),e.languages.insertBefore("bison","comment",{bison:{pattern:/^(?:[^%]|%(?!%))*%%[\s\S]*?%%/,inside:{c:{pattern:/%\{[\s\S]*?%\}|\{(?:\{[^}]*\}|[^{}])*\}/,inside:{delimiter:{pattern:/^%?\{|%?\}$/,alias:"punctuation"},"bison-variable":{pattern:/[$@](?:<[^\s>]+>)?[\w$]+/,alias:"variable",inside:{punctuation:/<|>/}},rest:e.languages.c}},comment:e.languages.c.comment,string:e.languages.c.string,property:/\S+(?=:)/,keyword:/%\w+/,number:{pattern:/(^|[^@])\b(?:0x[\da-f]+|\d+)/i,lookbehind:!0},punctuation:/%[%?]|[|:;\[\]<>]/}}})}function wh(e){e.languages.bnf={string:{pattern:/"[^\r\n"]*"|'[^\r\n']*'/},definition:{pattern:/<[^<>\r\n\t]+>(?=\s*::=)/,alias:["rule","keyword"],inside:{punctuation:/^<|>$/}},rule:{pattern:/<[^<>\r\n\t]+>/,inside:{punctuation:/^<|>$/}},operator:/::=|[|()[\]{}*+?]|\.{3}/},e.languages.rbnf=e.languages.bnf}function Lh(e){e.languages.bqn={shebang:{pattern:/^#![ \t]*\/.*/,alias:"important",greedy:!0},comment:{pattern:/#.*/,greedy:!0},"string-literal":{pattern:/"(?:[^"]|"")*"/,greedy:!0,alias:"string"},"character-literal":{pattern:/'(?:[\s\S]|[\uD800-\uDBFF][\uDC00-\uDFFF])'/,greedy:!0,alias:"char"},function:/•[\w¯.∞π]+[\w¯.∞π]*/,"dot-notation-on-brackets":{pattern:/\{(?=.*\}\.)|\}\./,alias:"namespace"},"special-name":{pattern:/(?:𝕨|𝕩|𝕗|𝕘|𝕤|𝕣|𝕎|𝕏|𝔽|𝔾|𝕊|_𝕣_|_𝕣)/,alias:"keyword"},"dot-notation-on-name":{pattern:/[A-Za-z_][\w¯∞π]*\./,alias:"namespace"},"word-number-scientific":{pattern:/\d+(?:\.\d+)?[eE]¯?\d+/,alias:"number"},"word-name":{pattern:/[A-Za-z_][\w¯∞π]*/,alias:"symbol"},"word-number":{pattern:/[¯∞π]?(?:\d*\.?\b\d+(?:e[+¯]?\d+|E[+¯]?\d+)?|¯|∞|π)(?:j¯?(?:(?:\d+(?:\.\d+)?|\.\d+)(?:e[+¯]?\d+|E[+¯]?\d+)?|¯|∞|π))?/,alias:"number"},"null-literal":{pattern:/@/,alias:"char"},"primitive-functions":{pattern:/[-+×÷⋆√⌊⌈|¬∧∨<>≠=≤≥≡≢⊣⊢⥊∾≍⋈↑↓↕«»⌽⍉/⍋⍒⊏⊑⊐⊒∊⍷⊔!]/,alias:"operator"},"primitive-1-operators":{pattern:/[`˜˘¨⁼⌜´˝˙]/,alias:"operator"},"primitive-2-operators":{pattern:/[∘⊸⟜○⌾⎉⚇⍟⊘◶⎊]/,alias:"operator"},punctuation:/[←⇐↩(){}⟨⟩[\]‿·⋄,.;:?]/}}function Oh(e){e.languages.brainfuck={pointer:{pattern:/<|>/,alias:"keyword"},increment:{pattern:/\+/,alias:"inserted"},decrement:{pattern:/-/,alias:"deleted"},branching:{pattern:/\[|\]/,alias:"important"},operator:/[.,]/,comment:/\S+/}}function Nh(e){e.languages.brightscript={comment:/(?:\brem|').*/i,"directive-statement":{pattern:/(^[\t ]*)#(?:const|else(?:[\t ]+if)?|end[\t ]+if|error|if).*/im,lookbehind:!0,alias:"property",inside:{"error-message":{pattern:/(^#error).+/,lookbehind:!0},directive:{pattern:/^#(?:const|else(?:[\t ]+if)?|end[\t ]+if|error|if)/,alias:"keyword"},expression:{pattern:/[\s\S]+/,inside:null}}},property:{pattern:/([\r\n{,][\t ]*)(?:(?!\d)\w+|"(?:[^"\r\n]|"")*"(?!"))(?=[ \t]*:)/,lookbehind:!0,greedy:!0},string:{pattern:/"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},"class-name":{pattern:/(\bAs[\t ]+)\w+/i,lookbehind:!0},keyword:/\b(?:As|Dim|Each|Else|Elseif|End|Exit|For|Function|Goto|If|In|Print|Return|Step|Stop|Sub|Then|To|While)\b/i,boolean:/\b(?:false|true)\b/i,function:/\b(?!\d)\w+(?=[\t ]*\()/,number:/(?:\b\d+(?:\.\d+)?(?:[ed][+-]\d+)?|&h[a-f\d]+)\b[%&!#]?/i,operator:/--|\+\+|>>=?|<<=?|<>|[-+*/\\<>]=?|[:^=?]|\b(?:and|mod|not|or)\b/i,punctuation:/[.,;()[\]{}]/,constant:/\b(?:LINE_NUM)\b/i},e.languages.brightscript["directive-statement"].inside.expression.inside=e.languages.brightscript}function Ih(e){e.languages.bro={comment:{pattern:/(^|[^\\$])#.*/,lookbehind:!0,inside:{italic:/\b(?:FIXME|TODO|XXX)\b/}},string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},boolean:/\b[TF]\b/,function:{pattern:/(\b(?:event|function|hook)[ \t]+)\w+(?:::\w+)?/,lookbehind:!0},builtin:/(?:@(?:load(?:-(?:plugin|sigs))?|unload|prefixes|ifn?def|else|(?:end)?if|DIR|FILENAME))|(?:&?(?:add_func|create_expire|default|delete_func|encrypt|error_handler|expire_func|group|log|mergeable|optional|persistent|priority|raw_output|read_expire|redef|rotate_interval|rotate_size|synchronized|type_column|write_expire))/,constant:{pattern:/(\bconst[ \t]+)\w+/i,lookbehind:!0},keyword:/\b(?:add|addr|alarm|any|bool|break|const|continue|count|delete|double|else|enum|event|export|file|for|function|global|hook|if|in|int|interval|local|module|next|of|opaque|pattern|port|print|record|return|schedule|set|string|subnet|table|time|timeout|using|vector|when)\b/,operator:/--?|\+\+?|!=?=?|<=?|>=?|==?=?|&&|\|\|?|\?|\*|\/|~|\^|%/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,punctuation:/[{}[\];(),.:]/}}function kh(e){e.languages.bsl={comment:/\/\/.*/,string:[{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},{pattern:/'(?:[^'\r\n\\]|\\.)*'/}],keyword:[{pattern:/(^|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:пока|для|новый|прервать|попытка|исключение|вызватьисключение|иначе|конецпопытки|неопределено|функция|перем|возврат|конецфункции|если|иначеесли|процедура|конецпроцедуры|тогда|знач|экспорт|конецесли|из|каждого|истина|ложь|по|цикл|конеццикла|выполнить)(?![\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])/i,lookbehind:!0},{pattern:/\b(?:break|do|each|else|elseif|enddo|endfunction|endif|endprocedure|endtry|except|execute|export|false|for|function|if|in|new|null|procedure|raise|return|then|to|true|try|undefined|val|var|while)\b/i}],number:{pattern:/(^(?=\d)|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:\d+(?:\.\d*)?|\.\d+)(?:E[+-]?\d+)?/i,lookbehind:!0},operator:[/[<>+\-*/]=?|[%=]/,{pattern:/(^|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:и|или|не)(?![\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])/i,lookbehind:!0},{pattern:/\b(?:and|not|or)\b/i}],punctuation:/\(\.|\.\)|[()\[\]:;,.]/,directive:[{pattern:/^([ \t]*)&.*/m,lookbehind:!0,greedy:!0,alias:"important"},{pattern:/^([ \t]*)#.*/gm,lookbehind:!0,greedy:!0,alias:"important"}]},e.languages.oscript=e.languages.bsl}function Dh(e){e.register(Kc),e.languages.cfscript=e.languages.extend("clike",{comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,inside:{annotation:{pattern:/(?:^|[^.])@[\w\.]+/,alias:"punctuation"}}},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],keyword:/\b(?:abstract|break|catch|component|continue|default|do|else|extends|final|finally|for|function|if|in|include|package|private|property|public|remote|required|rethrow|return|static|switch|throw|try|var|while|xml)\b(?!\s*=)/,operator:[/\+\+|--|&&|\|\||::|=>|[!=]==|[-+*/%&|^!=<>]=?|\?(?:\.|:)?|:/,/\b(?:and|contains|eq|equal|eqv|gt|gte|imp|is|lt|lte|mod|not|or|xor)\b/],scope:{pattern:/\b(?:application|arguments|cgi|client|cookie|local|session|super|this|variables)\b/,alias:"global"},type:{pattern:/\b(?:any|array|binary|boolean|date|guid|numeric|query|string|struct|uuid|void|xml)\b/,alias:"builtin"}}),e.languages.insertBefore("cfscript","keyword",{"function-variable":{pattern:/[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"}}),delete e.languages.cfscript["class-name"],e.languages.cfc=e.languages.cfscript}function Ph(e){e.register(Kc),e.register(Xc),e.languages.chaiscript=e.languages.extend("clike",{string:{pattern:/(^|[^\\])'(?:[^'\\]|\\[\s\S])*'/,lookbehind:!0,greedy:!0},"class-name":[{pattern:/(\bclass\s+)\w+/,lookbehind:!0},{pattern:/(\b(?:attr|def)\s+)\w+(?=\s*::)/,lookbehind:!0}],keyword:/\b(?:attr|auto|break|case|catch|class|continue|def|default|else|finally|for|fun|global|if|return|switch|this|try|var|while)\b/,number:[e.languages.cpp.number,/\b(?:Infinity|NaN)\b/],operator:/>>=?|<<=?|\|\||&&|:[:=]?|--|\+\+|[=!<>+\-*/%|&^]=?|[?~]|`[^`\r\n]{1,4}`/}),e.languages.insertBefore("chaiscript","operator",{"parameter-type":{pattern:/([,(]\s*)\w+(?=\s+\w)/,lookbehind:!0,alias:"class-name"}}),e.languages.insertBefore("chaiscript","string",{"string-interpolation":{pattern:/(^|[^\\])"(?:[^"$\\]|\\[\s\S]|\$(?!\{)|\$\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\}/,lookbehind:!0,inside:{"interpolation-expression":{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:e.languages.chaiscript},"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"}}},string:/[\s\S]+/}}})}function Mh(e){e.languages.cil={comment:/\/\/.*/,string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},directive:{pattern:/(^|\W)\.[a-z]+(?=\s)/,lookbehind:!0,alias:"class-name"},variable:/\[[\w\.]+\]/,keyword:/\b(?:abstract|ansi|assembly|auto|autochar|beforefieldinit|bool|bstr|byvalstr|catch|char|cil|class|currency|date|decimal|default|enum|error|explicit|extends|extern|famandassem|family|famorassem|final(?:ly)?|float32|float64|hidebysig|u?int(?:8|16|32|64)?|iant|idispatch|implements|import|initonly|instance|interface|iunknown|literal|lpstr|lpstruct|lptstr|lpwstr|managed|method|native(?:Type)?|nested|newslot|object(?:ref)?|pinvokeimpl|private|privatescope|public|reqsecobj|rtspecialname|runtime|sealed|sequential|serializable|specialname|static|string|struct|syschar|tbstr|unicode|unmanagedexp|unsigned|value(?:type)?|variant|virtual|void)\b/,function:/\b(?:(?:constrained|no|readonly|tail|unaligned|volatile)\.)?(?:conv\.(?:[iu][1248]?|ovf\.[iu][1248]?(?:\.un)?|r\.un|r4|r8)|ldc\.(?:i4(?:\.\d+|\.[mM]1|\.s)?|i8|r4|r8)|ldelem(?:\.[iu][1248]?|\.r[48]|\.ref|a)?|ldind\.(?:[iu][1248]?|r[48]|ref)|stelem\.?(?:i[1248]?|r[48]|ref)?|stind\.(?:i[1248]?|r[48]|ref)?|end(?:fault|filter|finally)|ldarg(?:\.[0-3s]|a(?:\.s)?)?|ldloc(?:\.\d+|\.s)?|sub(?:\.ovf(?:\.un)?)?|mul(?:\.ovf(?:\.un)?)?|add(?:\.ovf(?:\.un)?)?|stloc(?:\.[0-3s])?|refany(?:type|val)|blt(?:\.un)?(?:\.s)?|ble(?:\.un)?(?:\.s)?|bgt(?:\.un)?(?:\.s)?|bge(?:\.un)?(?:\.s)?|unbox(?:\.any)?|init(?:blk|obj)|call(?:i|virt)?|brfalse(?:\.s)?|bne\.un(?:\.s)?|ldloca(?:\.s)?|brzero(?:\.s)?|brtrue(?:\.s)?|brnull(?:\.s)?|brinst(?:\.s)?|starg(?:\.s)?|leave(?:\.s)?|shr(?:\.un)?|rem(?:\.un)?|div(?:\.un)?|clt(?:\.un)?|alignment|castclass|ldvirtftn|beq(?:\.s)?|ckfinite|ldsflda|ldtoken|localloc|mkrefany|rethrow|cgt\.un|arglist|switch|stsfld|sizeof|newobj|newarr|ldsfld|ldnull|ldflda|isinst|throw|stobj|stfld|ldstr|ldobj|ldlen|ldftn|ldfld|cpobj|cpblk|break|br\.s|xor|shl|ret|pop|not|nop|neg|jmp|dup|cgt|ceq|box|and|or|br)\b/,boolean:/\b(?:false|true)\b/,number:/\b-?(?:0x[0-9a-f]+|\d+)(?:\.[0-9a-f]+)?\b/i,punctuation:/[{}[\];(),:=]|IL_[0-9A-Za-z]+/}}function Fh(e){e.register(qc),e.languages.cilkc=e.languages.insertBefore("c","function",{"parallel-keyword":{pattern:/\bcilk_(?:for|reducer|s(?:cope|pawn|ync))\b/,alias:"keyword"}}),e.languages["cilk-c"]=e.languages.cilkc}function Hh(e){e.register(Xc),e.languages.cilkcpp=e.languages.insertBefore("cpp","function",{"parallel-keyword":{pattern:/\bcilk_(?:for|reducer|s(?:cope|pawn|ync))\b/,alias:"keyword"}}),e.languages["cilk-cpp"]=e.languages.cilkcpp,e.languages.cilk=e.languages.cilkcpp}function Bh(e){e.languages.clojure={comment:{pattern:/;.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},char:/\\\w+/,symbol:{pattern:/(^|[\s()\[\]{},])::?[\w*+!?'<>=/.-]+/,lookbehind:!0},keyword:{pattern:/(\()(?:-|->|->>|\.|\.\.|\*|\/|\+|<|<=|=|==|>|>=|accessor|agent|agent-errors|aget|alength|all-ns|alter|and|append-child|apply|array-map|aset|aset-boolean|aset-byte|aset-char|aset-double|aset-float|aset-int|aset-long|aset-short|assert|assoc|await|await-for|bean|binding|bit-and|bit-not|bit-or|bit-shift-left|bit-shift-right|bit-xor|boolean|branch\?|butlast|byte|cast|char|children|class|clear-agent-errors|comment|commute|comp|comparator|complement|concat|cond|conj|cons|constantly|construct-proxy|contains\?|count|create-ns|create-struct|cycle|dec|declare|def|def-|definline|definterface|defmacro|defmethod|defmulti|defn|defn-|defonce|defproject|defprotocol|defrecord|defstruct|deftype|deref|difference|disj|dissoc|distinct|do|doall|doc|dorun|doseq|dosync|dotimes|doto|double|down|drop|drop-while|edit|end\?|ensure|eval|every\?|false\?|ffirst|file-seq|filter|find|find-doc|find-ns|find-var|first|float|flush|fn|fnseq|for|frest|gensym|get|get-proxy-class|hash-map|hash-set|identical\?|identity|if|if-let|if-not|import|in-ns|inc|index|insert-child|insert-left|insert-right|inspect-table|inspect-tree|instance\?|int|interleave|intersection|into|into-array|iterate|join|key|keys|keyword|keyword\?|last|lazy-cat|lazy-cons|left|lefts|let|line-seq|list|list\*|load|load-file|locking|long|loop|macroexpand|macroexpand-1|make-array|make-node|map|map-invert|map\?|mapcat|max|max-key|memfn|merge|merge-with|meta|min|min-key|monitor-enter|name|namespace|neg\?|new|newline|next|nil\?|node|not|not-any\?|not-every\?|not=|ns|ns-imports|ns-interns|ns-map|ns-name|ns-publics|ns-refers|ns-resolve|ns-unmap|nth|nthrest|or|parse|partial|path|peek|pop|pos\?|pr|pr-str|print|print-str|println|println-str|prn|prn-str|project|proxy|proxy-mappings|quot|quote|rand|rand-int|range|re-find|re-groups|re-matcher|re-matches|re-pattern|re-seq|read|read-line|recur|reduce|ref|ref-set|refer|rem|remove|remove-method|remove-ns|rename|rename-keys|repeat|replace|replicate|resolve|rest|resultset-seq|reverse|rfirst|right|rights|root|rrest|rseq|second|select|select-keys|send|send-off|seq|seq-zip|seq\?|set|set!|short|slurp|some|sort|sort-by|sorted-map|sorted-map-by|sorted-set|special-symbol\?|split-at|split-with|str|string\?|struct|struct-map|subs|subvec|symbol|symbol\?|sync|take|take-nth|take-while|test|throw|time|to-array|to-array-2d|tree-seq|true\?|try|union|up|update-proxy|val|vals|var|var-get|var-set|var\?|vector|vector-zip|vector\?|when|when-first|when-let|when-not|with-local-vars|with-meta|with-open|with-out-str|xml-seq|xml-zip|zero\?|zipmap|zipper)(?=[\s)]|$)/,lookbehind:!0},boolean:/\b(?:false|nil|true)\b/,number:{pattern:/(^|[^\w$@])(?:\d+(?:[/.]\d+)?(?:e[+-]?\d+)?|0x[a-f0-9]+|[1-9]\d?r[a-z0-9]+)[lmn]?(?![\w$@])/i,lookbehind:!0},function:{pattern:/((?:^|[^'])\()[\w*+!?'<>=/.-]+(?=[\s)]|$)/,lookbehind:!0},operator:/[#@^`~]/,punctuation:/[{}\[\](),]/}}function Uh(e){e.languages.cmake={comment:/#.*/,string:{pattern:/"(?:[^\\"]|\\.)*"/,greedy:!0,inside:{interpolation:{pattern:/\$\{(?:[^{}$]|\$\{[^{}$]*\})*\}/,inside:{punctuation:/\$\{|\}/,variable:/\w+/}}}},variable:/\b(?:CMAKE_\w+|\w+_(?:(?:BINARY|SOURCE)_DIR|DESCRIPTION|HOMEPAGE_URL|ROOT|VERSION(?:_MAJOR|_MINOR|_PATCH|_TWEAK)?)|(?:ANDROID|APPLE|BORLAND|BUILD_SHARED_LIBS|CACHE|CPACK_(?:ABSOLUTE_DESTINATION_FILES|COMPONENT_INCLUDE_TOPLEVEL_DIRECTORY|ERROR_ON_ABSOLUTE_INSTALL_DESTINATION|INCLUDE_TOPLEVEL_DIRECTORY|INSTALL_DEFAULT_DIRECTORY_PERMISSIONS|INSTALL_SCRIPT|PACKAGING_INSTALL_PREFIX|SET_DESTDIR|WARN_ON_ABSOLUTE_INSTALL_DESTINATION)|CTEST_(?:BINARY_DIRECTORY|BUILD_COMMAND|BUILD_NAME|BZR_COMMAND|BZR_UPDATE_OPTIONS|CHANGE_ID|CHECKOUT_COMMAND|CONFIGURATION_TYPE|CONFIGURE_COMMAND|COVERAGE_COMMAND|COVERAGE_EXTRA_FLAGS|CURL_OPTIONS|CUSTOM_(?:COVERAGE_EXCLUDE|ERROR_EXCEPTION|ERROR_MATCH|ERROR_POST_CONTEXT|ERROR_PRE_CONTEXT|MAXIMUM_FAILED_TEST_OUTPUT_SIZE|MAXIMUM_NUMBER_OF_(?:ERRORS|WARNINGS)|MAXIMUM_PASSED_TEST_OUTPUT_SIZE|MEMCHECK_IGNORE|POST_MEMCHECK|POST_TEST|PRE_MEMCHECK|PRE_TEST|TESTS_IGNORE|WARNING_EXCEPTION|WARNING_MATCH)|CVS_CHECKOUT|CVS_COMMAND|CVS_UPDATE_OPTIONS|DROP_LOCATION|DROP_METHOD|DROP_SITE|DROP_SITE_CDASH|DROP_SITE_PASSWORD|DROP_SITE_USER|EXTRA_COVERAGE_GLOB|GIT_COMMAND|GIT_INIT_SUBMODULES|GIT_UPDATE_CUSTOM|GIT_UPDATE_OPTIONS|HG_COMMAND|HG_UPDATE_OPTIONS|LABELS_FOR_SUBPROJECTS|MEMORYCHECK_(?:COMMAND|COMMAND_OPTIONS|SANITIZER_OPTIONS|SUPPRESSIONS_FILE|TYPE)|NIGHTLY_START_TIME|P4_CLIENT|P4_COMMAND|P4_OPTIONS|P4_UPDATE_OPTIONS|RUN_CURRENT_SCRIPT|SCP_COMMAND|SITE|SOURCE_DIRECTORY|SUBMIT_URL|SVN_COMMAND|SVN_OPTIONS|SVN_UPDATE_OPTIONS|TEST_LOAD|TEST_TIMEOUT|TRIGGER_SITE|UPDATE_COMMAND|UPDATE_OPTIONS|UPDATE_VERSION_ONLY|USE_LAUNCHERS)|CYGWIN|ENV|EXECUTABLE_OUTPUT_PATH|GHS-MULTI|IOS|LIBRARY_OUTPUT_PATH|MINGW|MSVC(?:10|11|12|14|60|70|71|80|90|_IDE|_TOOLSET_VERSION|_VERSION)?|MSYS|PROJECT_NAME|UNIX|WIN32|WINCE|WINDOWS_PHONE|WINDOWS_STORE|XCODE))\b/,property:/\b(?:cxx_\w+|(?:ARCHIVE_OUTPUT_(?:DIRECTORY|NAME)|COMPILE_DEFINITIONS|COMPILE_PDB_NAME|COMPILE_PDB_OUTPUT_DIRECTORY|EXCLUDE_FROM_DEFAULT_BUILD|IMPORTED_(?:IMPLIB|LIBNAME|LINK_DEPENDENT_LIBRARIES|LINK_INTERFACE_LANGUAGES|LINK_INTERFACE_LIBRARIES|LINK_INTERFACE_MULTIPLICITY|LOCATION|NO_SONAME|OBJECTS|SONAME)|INTERPROCEDURAL_OPTIMIZATION|LIBRARY_OUTPUT_DIRECTORY|LIBRARY_OUTPUT_NAME|LINK_FLAGS|LINK_INTERFACE_LIBRARIES|LINK_INTERFACE_MULTIPLICITY|LOCATION|MAP_IMPORTED_CONFIG|OSX_ARCHITECTURES|OUTPUT_NAME|PDB_NAME|PDB_OUTPUT_DIRECTORY|RUNTIME_OUTPUT_DIRECTORY|RUNTIME_OUTPUT_NAME|STATIC_LIBRARY_FLAGS|VS_CSHARP|VS_DOTNET_REFERENCEPROP|VS_DOTNET_REFERENCE|VS_GLOBAL_SECTION_POST|VS_GLOBAL_SECTION_PRE|VS_GLOBAL|XCODE_ATTRIBUTE)_\w+|\w+_(?:CLANG_TIDY|COMPILER_LAUNCHER|CPPCHECK|CPPLINT|INCLUDE_WHAT_YOU_USE|OUTPUT_NAME|POSTFIX|VISIBILITY_PRESET)|ABSTRACT|ADDITIONAL_MAKE_CLEAN_FILES|ADVANCED|ALIASED_TARGET|ALLOW_DUPLICATE_CUSTOM_TARGETS|ANDROID_(?:ANT_ADDITIONAL_OPTIONS|API|API_MIN|ARCH|ASSETS_DIRECTORIES|GUI|JAR_DEPENDENCIES|NATIVE_LIB_DEPENDENCIES|NATIVE_LIB_DIRECTORIES|PROCESS_MAX|PROGUARD|PROGUARD_CONFIG_PATH|SECURE_PROPS_PATH|SKIP_ANT_STEP|STL_TYPE)|ARCHIVE_OUTPUT_DIRECTORY|ATTACHED_FILES|ATTACHED_FILES_ON_FAIL|AUTOGEN_(?:BUILD_DIR|ORIGIN_DEPENDS|PARALLEL|SOURCE_GROUP|TARGETS_FOLDER|TARGET_DEPENDS)|AUTOMOC|AUTOMOC_(?:COMPILER_PREDEFINES|DEPEND_FILTERS|EXECUTABLE|MACRO_NAMES|MOC_OPTIONS|SOURCE_GROUP|TARGETS_FOLDER)|AUTORCC|AUTORCC_EXECUTABLE|AUTORCC_OPTIONS|AUTORCC_SOURCE_GROUP|AUTOUIC|AUTOUIC_EXECUTABLE|AUTOUIC_OPTIONS|AUTOUIC_SEARCH_PATHS|BINARY_DIR|BUILDSYSTEM_TARGETS|BUILD_RPATH|BUILD_RPATH_USE_ORIGIN|BUILD_WITH_INSTALL_NAME_DIR|BUILD_WITH_INSTALL_RPATH|BUNDLE|BUNDLE_EXTENSION|CACHE_VARIABLES|CLEAN_NO_CUSTOM|COMMON_LANGUAGE_RUNTIME|COMPATIBLE_INTERFACE_(?:BOOL|NUMBER_MAX|NUMBER_MIN|STRING)|COMPILE_(?:DEFINITIONS|FEATURES|FLAGS|OPTIONS|PDB_NAME|PDB_OUTPUT_DIRECTORY)|COST|CPACK_DESKTOP_SHORTCUTS|CPACK_NEVER_OVERWRITE|CPACK_PERMANENT|CPACK_STARTUP_SHORTCUTS|CPACK_START_MENU_SHORTCUTS|CPACK_WIX_ACL|CROSSCOMPILING_EMULATOR|CUDA_EXTENSIONS|CUDA_PTX_COMPILATION|CUDA_RESOLVE_DEVICE_SYMBOLS|CUDA_SEPARABLE_COMPILATION|CUDA_STANDARD|CUDA_STANDARD_REQUIRED|CXX_EXTENSIONS|CXX_STANDARD|CXX_STANDARD_REQUIRED|C_EXTENSIONS|C_STANDARD|C_STANDARD_REQUIRED|DEBUG_CONFIGURATIONS|DEFINE_SYMBOL|DEFINITIONS|DEPENDS|DEPLOYMENT_ADDITIONAL_FILES|DEPLOYMENT_REMOTE_DIRECTORY|DISABLED|DISABLED_FEATURES|ECLIPSE_EXTRA_CPROJECT_CONTENTS|ECLIPSE_EXTRA_NATURES|ENABLED_FEATURES|ENABLED_LANGUAGES|ENABLE_EXPORTS|ENVIRONMENT|EXCLUDE_FROM_ALL|EXCLUDE_FROM_DEFAULT_BUILD|EXPORT_NAME|EXPORT_PROPERTIES|EXTERNAL_OBJECT|EchoString|FAIL_REGULAR_EXPRESSION|FIND_LIBRARY_USE_LIB32_PATHS|FIND_LIBRARY_USE_LIB64_PATHS|FIND_LIBRARY_USE_LIBX32_PATHS|FIND_LIBRARY_USE_OPENBSD_VERSIONING|FIXTURES_CLEANUP|FIXTURES_REQUIRED|FIXTURES_SETUP|FOLDER|FRAMEWORK|Fortran_FORMAT|Fortran_MODULE_DIRECTORY|GENERATED|GENERATOR_FILE_NAME|GENERATOR_IS_MULTI_CONFIG|GHS_INTEGRITY_APP|GHS_NO_SOURCE_GROUP_FILE|GLOBAL_DEPENDS_DEBUG_MODE|GLOBAL_DEPENDS_NO_CYCLES|GNUtoMS|HAS_CXX|HEADER_FILE_ONLY|HELPSTRING|IMPLICIT_DEPENDS_INCLUDE_TRANSFORM|IMPORTED|IMPORTED_(?:COMMON_LANGUAGE_RUNTIME|CONFIGURATIONS|GLOBAL|IMPLIB|LIBNAME|LINK_DEPENDENT_LIBRARIES|LINK_INTERFACE_(?:LANGUAGES|LIBRARIES|MULTIPLICITY)|LOCATION|NO_SONAME|OBJECTS|SONAME)|IMPORT_PREFIX|IMPORT_SUFFIX|INCLUDE_DIRECTORIES|INCLUDE_REGULAR_EXPRESSION|INSTALL_NAME_DIR|INSTALL_RPATH|INSTALL_RPATH_USE_LINK_PATH|INTERFACE_(?:AUTOUIC_OPTIONS|COMPILE_DEFINITIONS|COMPILE_FEATURES|COMPILE_OPTIONS|INCLUDE_DIRECTORIES|LINK_DEPENDS|LINK_DIRECTORIES|LINK_LIBRARIES|LINK_OPTIONS|POSITION_INDEPENDENT_CODE|SOURCES|SYSTEM_INCLUDE_DIRECTORIES)|INTERPROCEDURAL_OPTIMIZATION|IN_TRY_COMPILE|IOS_INSTALL_COMBINED|JOB_POOLS|JOB_POOL_COMPILE|JOB_POOL_LINK|KEEP_EXTENSION|LABELS|LANGUAGE|LIBRARY_OUTPUT_DIRECTORY|LINKER_LANGUAGE|LINK_(?:DEPENDS|DEPENDS_NO_SHARED|DIRECTORIES|FLAGS|INTERFACE_LIBRARIES|INTERFACE_MULTIPLICITY|LIBRARIES|OPTIONS|SEARCH_END_STATIC|SEARCH_START_STATIC|WHAT_YOU_USE)|LISTFILE_STACK|LOCATION|MACOSX_BUNDLE|MACOSX_BUNDLE_INFO_PLIST|MACOSX_FRAMEWORK_INFO_PLIST|MACOSX_PACKAGE_LOCATION|MACOSX_RPATH|MACROS|MANUALLY_ADDED_DEPENDENCIES|MEASUREMENT|MODIFIED|NAME|NO_SONAME|NO_SYSTEM_FROM_IMPORTED|OBJECT_DEPENDS|OBJECT_OUTPUTS|OSX_ARCHITECTURES|OUTPUT_NAME|PACKAGES_FOUND|PACKAGES_NOT_FOUND|PARENT_DIRECTORY|PASS_REGULAR_EXPRESSION|PDB_NAME|PDB_OUTPUT_DIRECTORY|POSITION_INDEPENDENT_CODE|POST_INSTALL_SCRIPT|PREDEFINED_TARGETS_FOLDER|PREFIX|PRE_INSTALL_SCRIPT|PRIVATE_HEADER|PROCESSORS|PROCESSOR_AFFINITY|PROJECT_LABEL|PUBLIC_HEADER|REPORT_UNDEFINED_PROPERTIES|REQUIRED_FILES|RESOURCE|RESOURCE_LOCK|RULE_LAUNCH_COMPILE|RULE_LAUNCH_CUSTOM|RULE_LAUNCH_LINK|RULE_MESSAGES|RUNTIME_OUTPUT_DIRECTORY|RUN_SERIAL|SKIP_AUTOGEN|SKIP_AUTOMOC|SKIP_AUTORCC|SKIP_AUTOUIC|SKIP_BUILD_RPATH|SKIP_RETURN_CODE|SOURCES|SOURCE_DIR|SOVERSION|STATIC_LIBRARY_FLAGS|STATIC_LIBRARY_OPTIONS|STRINGS|SUBDIRECTORIES|SUFFIX|SYMBOLIC|TARGET_ARCHIVES_MAY_BE_SHARED_LIBS|TARGET_MESSAGES|TARGET_SUPPORTS_SHARED_LIBS|TESTS|TEST_INCLUDE_FILE|TEST_INCLUDE_FILES|TIMEOUT|TIMEOUT_AFTER_MATCH|TYPE|USE_FOLDERS|VALUE|VARIABLES|VERSION|VISIBILITY_INLINES_HIDDEN|VS_(?:CONFIGURATION_TYPE|COPY_TO_OUT_DIR|DEBUGGER_(?:COMMAND|COMMAND_ARGUMENTS|ENVIRONMENT|WORKING_DIRECTORY)|DEPLOYMENT_CONTENT|DEPLOYMENT_LOCATION|DOTNET_REFERENCES|DOTNET_REFERENCES_COPY_LOCAL|INCLUDE_IN_VSIX|IOT_STARTUP_TASK|KEYWORD|RESOURCE_GENERATOR|SCC_AUXPATH|SCC_LOCALPATH|SCC_PROJECTNAME|SCC_PROVIDER|SDK_REFERENCES|SHADER_(?:DISABLE_OPTIMIZATIONS|ENABLE_DEBUG|ENTRYPOINT|FLAGS|MODEL|OBJECT_FILE_NAME|OUTPUT_HEADER_FILE|TYPE|VARIABLE_NAME)|STARTUP_PROJECT|TOOL_OVERRIDE|USER_PROPS|WINRT_COMPONENT|WINRT_EXTENSIONS|WINRT_REFERENCES|XAML_TYPE)|WILL_FAIL|WIN32_EXECUTABLE|WINDOWS_EXPORT_ALL_SYMBOLS|WORKING_DIRECTORY|WRAP_EXCLUDE|XCODE_(?:EMIT_EFFECTIVE_PLATFORM_NAME|EXPLICIT_FILE_TYPE|FILE_ATTRIBUTES|LAST_KNOWN_FILE_TYPE|PRODUCT_TYPE|SCHEME_(?:ADDRESS_SANITIZER|ADDRESS_SANITIZER_USE_AFTER_RETURN|ARGUMENTS|DISABLE_MAIN_THREAD_CHECKER|DYNAMIC_LIBRARY_LOADS|DYNAMIC_LINKER_API_USAGE|ENVIRONMENT|EXECUTABLE|GUARD_MALLOC|MAIN_THREAD_CHECKER_STOP|MALLOC_GUARD_EDGES|MALLOC_SCRIBBLE|MALLOC_STACK|THREAD_SANITIZER(?:_STOP)?|UNDEFINED_BEHAVIOUR_SANITIZER(?:_STOP)?|ZOMBIE_OBJECTS))|XCTEST)\b/,keyword:/\b(?:add_compile_definitions|add_compile_options|add_custom_command|add_custom_target|add_definitions|add_dependencies|add_executable|add_library|add_link_options|add_subdirectory|add_test|aux_source_directory|break|build_command|build_name|cmake_host_system_information|cmake_minimum_required|cmake_parse_arguments|cmake_policy|configure_file|continue|create_test_sourcelist|ctest_build|ctest_configure|ctest_coverage|ctest_empty_binary_directory|ctest_memcheck|ctest_read_custom_files|ctest_run_script|ctest_sleep|ctest_start|ctest_submit|ctest_test|ctest_update|ctest_upload|define_property|else|elseif|enable_language|enable_testing|endforeach|endfunction|endif|endmacro|endwhile|exec_program|execute_process|export|export_library_dependencies|file|find_file|find_library|find_package|find_path|find_program|fltk_wrap_ui|foreach|function|get_cmake_property|get_directory_property|get_filename_component|get_property|get_source_file_property|get_target_property|get_test_property|if|include|include_directories|include_external_msproject|include_guard|include_regular_expression|install|install_files|install_programs|install_targets|link_directories|link_libraries|list|load_cache|load_command|macro|make_directory|mark_as_advanced|math|message|option|output_required_files|project|qt_wrap_cpp|qt_wrap_ui|remove|remove_definitions|return|separate_arguments|set|set_directory_properties|set_property|set_source_files_properties|set_target_properties|set_tests_properties|site_name|source_group|string|subdir_depends|subdirs|target_compile_definitions|target_compile_features|target_compile_options|target_include_directories|target_link_directories|target_link_libraries|target_link_options|target_sources|try_compile|try_run|unset|use_mangled_mesa|utility_source|variable_requires|variable_watch|while|write_file)(?=\s*\()\b/,boolean:/\b(?:FALSE|OFF|ON|TRUE)\b/,namespace:/\b(?:INTERFACE|PRIVATE|PROPERTIES|PUBLIC|SHARED|STATIC|TARGET_OBJECTS)\b/,operator:/\b(?:AND|DEFINED|EQUAL|GREATER|LESS|MATCHES|NOT|OR|STREQUAL|STRGREATER|STRLESS|VERSION_EQUAL|VERSION_GREATER|VERSION_LESS)\b/,inserted:{pattern:/\b\w+::\w+\b/,alias:"class-name"},number:/\b\d+(?:\.\d+)*\b/,function:/\b[a-z_]\w*(?=\s*\()\b/i,punctuation:/[()>}]|\$[<{]/}}function jh(e){e.languages.cobol={comment:{pattern:/\*>.*|(^[ \t]*)\*.*/m,lookbehind:!0,greedy:!0},string:{pattern:/[xzgn]?(?:"(?:[^\r\n"]|"")*"(?!")|'(?:[^\r\n']|'')*'(?!'))/i,greedy:!0},level:{pattern:/(^[ \t]*)\d+\b/m,lookbehind:!0,greedy:!0,alias:"number"},"class-name":{pattern:/(\bpic(?:ture)?\s+)(?:(?:[-\w$/,:*+<>]|\.(?!\s|$))(?:\(\d+\))?)+/i,lookbehind:!0,inside:{number:{pattern:/(\()\d+/,lookbehind:!0},punctuation:/[()]/}},keyword:{pattern:/(^|[^\w-])(?:ABORT|ACCEPT|ACCESS|ADD|ADDRESS|ADVANCING|AFTER|ALIGNED|ALL|ALPHABET|ALPHABETIC|ALPHABETIC-LOWER|ALPHABETIC-UPPER|ALPHANUMERIC|ALPHANUMERIC-EDITED|ALSO|ALTER|ALTERNATE|ANY|ARE|AREA|AREAS|AS|ASCENDING|ASCII|ASSIGN|ASSOCIATED-DATA|ASSOCIATED-DATA-LENGTH|AT|ATTRIBUTE|AUTHOR|AUTO|AUTO-SKIP|BACKGROUND-COLOR|BACKGROUND-COLOUR|BASIS|BEEP|BEFORE|BEGINNING|BELL|BINARY|BIT|BLANK|BLINK|BLOCK|BOTTOM|BOUNDS|BY|BYFUNCTION|BYTITLE|CALL|CANCEL|CAPABLE|CCSVERSION|CD|CF|CH|CHAINING|CHANGED|CHANNEL|CHARACTER|CHARACTERS|CLASS|CLASS-ID|CLOCK-UNITS|CLOSE|CLOSE-DISPOSITION|COBOL|CODE|CODE-SET|COL|COLLATING|COLUMN|COM-REG|COMMA|COMMITMENT|COMMON|COMMUNICATION|COMP|COMP-1|COMP-2|COMP-3|COMP-4|COMP-5|COMPUTATIONAL|COMPUTATIONAL-1|COMPUTATIONAL-2|COMPUTATIONAL-3|COMPUTATIONAL-4|COMPUTATIONAL-5|COMPUTE|CONFIGURATION|CONTAINS|CONTENT|CONTINUE|CONTROL|CONTROL-POINT|CONTROLS|CONVENTION|CONVERTING|COPY|CORR|CORRESPONDING|COUNT|CRUNCH|CURRENCY|CURSOR|DATA|DATA-BASE|DATE|DATE-COMPILED|DATE-WRITTEN|DAY|DAY-OF-WEEK|DBCS|DE|DEBUG-CONTENTS|DEBUG-ITEM|DEBUG-LINE|DEBUG-NAME|DEBUG-SUB-1|DEBUG-SUB-2|DEBUG-SUB-3|DEBUGGING|DECIMAL-POINT|DECLARATIVES|DEFAULT|DEFAULT-DISPLAY|DEFINITION|DELETE|DELIMITED|DELIMITER|DEPENDING|DESCENDING|DESTINATION|DETAIL|DFHRESP|DFHVALUE|DISABLE|DISK|DISPLAY|DISPLAY-1|DIVIDE|DIVISION|DONTCARE|DOUBLE|DOWN|DUPLICATES|DYNAMIC|EBCDIC|EGCS|EGI|ELSE|EMI|EMPTY-CHECK|ENABLE|END|END-ACCEPT|END-ADD|END-CALL|END-COMPUTE|END-DELETE|END-DIVIDE|END-EVALUATE|END-IF|END-MULTIPLY|END-OF-PAGE|END-PERFORM|END-READ|END-RECEIVE|END-RETURN|END-REWRITE|END-SEARCH|END-START|END-STRING|END-SUBTRACT|END-UNSTRING|END-WRITE|ENDING|ENTER|ENTRY|ENTRY-PROCEDURE|ENVIRONMENT|EOL|EOP|EOS|ERASE|ERROR|ESCAPE|ESI|EVALUATE|EVENT|EVERY|EXCEPTION|EXCLUSIVE|EXHIBIT|EXIT|EXPORT|EXTEND|EXTENDED|EXTERNAL|FD|FILE|FILE-CONTROL|FILLER|FINAL|FIRST|FOOTING|FOR|FOREGROUND-COLOR|FOREGROUND-COLOUR|FROM|FULL|FUNCTION|FUNCTION-POINTER|FUNCTIONNAME|GENERATE|GIVING|GLOBAL|GO|GOBACK|GRID|GROUP|HEADING|HIGH-VALUE|HIGH-VALUES|HIGHLIGHT|I-O|I-O-CONTROL|ID|IDENTIFICATION|IF|IMPLICIT|IMPORT|IN|INDEX|INDEXED|INDICATE|INITIAL|INITIALIZE|INITIATE|INPUT|INPUT-OUTPUT|INSPECT|INSTALLATION|INTEGER|INTO|INVALID|INVOKE|IS|JUST|JUSTIFIED|KANJI|KEPT|KEY|KEYBOARD|LABEL|LANGUAGE|LAST|LB|LD|LEADING|LEFT|LEFTLINE|LENGTH|LENGTH-CHECK|LIBACCESS|LIBPARAMETER|LIBRARY|LIMIT|LIMITS|LINAGE|LINAGE-COUNTER|LINE|LINE-COUNTER|LINES|LINKAGE|LIST|LOCAL|LOCAL-STORAGE|LOCK|LONG-DATE|LONG-TIME|LOW-VALUE|LOW-VALUES|LOWER|LOWLIGHT|MEMORY|MERGE|MESSAGE|MMDDYYYY|MODE|MODULES|MORE-LABELS|MOVE|MULTIPLE|MULTIPLY|NAMED|NATIONAL|NATIONAL-EDITED|NATIVE|NEGATIVE|NETWORK|NEXT|NO|NO-ECHO|NULL|NULLS|NUMBER|NUMERIC|NUMERIC-DATE|NUMERIC-EDITED|NUMERIC-TIME|OBJECT-COMPUTER|OCCURS|ODT|OF|OFF|OMITTED|ON|OPEN|OPTIONAL|ORDER|ORDERLY|ORGANIZATION|OTHER|OUTPUT|OVERFLOW|OVERLINE|OWN|PACKED-DECIMAL|PADDING|PAGE|PAGE-COUNTER|PASSWORD|PERFORM|PF|PH|PIC|PICTURE|PLUS|POINTER|PORT|POSITION|POSITIVE|PRINTER|PRINTING|PRIVATE|PROCEDURE|PROCEDURE-POINTER|PROCEDURES|PROCEED|PROCESS|PROGRAM|PROGRAM-ID|PROGRAM-LIBRARY|PROMPT|PURGE|QUEUE|QUOTE|QUOTES|RANDOM|RD|READ|READER|REAL|RECEIVE|RECEIVED|RECORD|RECORDING|RECORDS|RECURSIVE|REDEFINES|REEL|REF|REFERENCE|REFERENCES|RELATIVE|RELEASE|REMAINDER|REMARKS|REMOTE|REMOVAL|REMOVE|RENAMES|REPLACE|REPLACING|REPORT|REPORTING|REPORTS|REQUIRED|RERUN|RESERVE|RESET|RETURN|RETURN-CODE|RETURNING|REVERSE-VIDEO|REVERSED|REWIND|REWRITE|RF|RH|RIGHT|ROUNDED|RUN|SAME|SAVE|SCREEN|SD|SEARCH|SECTION|SECURE|SECURITY|SEGMENT|SEGMENT-LIMIT|SELECT|SEND|SENTENCE|SEPARATE|SEQUENCE|SEQUENTIAL|SET|SHARED|SHAREDBYALL|SHAREDBYRUNUNIT|SHARING|SHIFT-IN|SHIFT-OUT|SHORT-DATE|SIGN|SIZE|SORT|SORT-CONTROL|SORT-CORE-SIZE|SORT-FILE-SIZE|SORT-MERGE|SORT-MESSAGE|SORT-MODE-SIZE|SORT-RETURN|SOURCE|SOURCE-COMPUTER|SPACE|SPACES|SPECIAL-NAMES|STANDARD|STANDARD-1|STANDARD-2|START|STATUS|STOP|STRING|SUB-QUEUE-1|SUB-QUEUE-2|SUB-QUEUE-3|SUBTRACT|SUM|SUPPRESS|SYMBOL|SYMBOLIC|SYNC|SYNCHRONIZED|TABLE|TALLY|TALLYING|TAPE|TASK|TERMINAL|TERMINATE|TEST|TEXT|THEN|THREAD|THREAD-LOCAL|THROUGH|THRU|TIME|TIMER|TIMES|TITLE|TO|TODAYS-DATE|TODAYS-NAME|TOP|TRAILING|TRUNCATED|TYPE|TYPEDEF|UNDERLINE|UNIT|UNSTRING|UNTIL|UP|UPON|USAGE|USE|USING|VALUE|VALUES|VARYING|VIRTUAL|WAIT|WHEN|WHEN-COMPILED|WITH|WORDS|WORKING-STORAGE|WRITE|YEAR|YYYYDDD|YYYYMMDD|ZERO-FILL|ZEROES|ZEROS)(?![\w-])/i,lookbehind:!0},boolean:{pattern:/(^|[^\w-])(?:false|true)(?![\w-])/i,lookbehind:!0},number:{pattern:/(^|[^\w-])(?:[+-]?(?:(?:\d+(?:[.,]\d+)?|[.,]\d+)(?:e[+-]?\d+)?|zero))(?![\w-])/i,lookbehind:!0},operator:[/<>|[<>]=?|[=+*/&]/,{pattern:/(^|[^\w-])(?:-|and|equal|greater|less|not|or|than)(?![\w-])/i,lookbehind:!0}],punctuation:/[.:,()]/}}function Gh(e){e.register(su),function(e){var t=/#(?!\{).+/,n={pattern:/#\{[^}]+\}/,alias:"variable"};e.languages.coffeescript=e.languages.extend("javascript",{comment:t,string:[{pattern:/'(?:\\[\s\S]|[^\\'])*'/,greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0,inside:{interpolation:n}}],keyword:/\b(?:and|break|by|catch|class|continue|debugger|delete|do|each|else|extend|extends|false|finally|for|if|in|instanceof|is|isnt|let|loop|namespace|new|no|not|null|of|off|on|or|own|return|super|switch|then|this|throw|true|try|typeof|undefined|unless|until|when|while|window|with|yes|yield)\b/,"class-member":{pattern:/@(?!\d)\w+/,alias:"variable"}}),e.languages.insertBefore("coffeescript","comment",{"multiline-comment":{pattern:/###[\s\S]+?###/,alias:"comment"},"block-regex":{pattern:/\/{3}[\s\S]*?\/{3}/,alias:"regex",inside:{comment:t,interpolation:n}}}),e.languages.insertBefore("coffeescript","string",{"inline-javascript":{pattern:/`(?:\\[\s\S]|[^\\`])*`/,inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},script:{pattern:/[\s\S]+/,alias:"language-javascript",inside:e.languages.javascript}}},"multiline-string":[{pattern:/'''[\s\S]*?'''/,greedy:!0,alias:"string"},{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string",inside:{interpolation:n}}]}),e.languages.insertBefore("coffeescript","keyword",{property:/(?!\d)\w+(?=\s*:(?!:))/}),delete e.languages.coffeescript["template-string"],e.languages.coffee=e.languages.coffeescript}(e)}function Yh(e){e.languages.concurnas={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\/\/.*)/,lookbehind:!0,greedy:!0},langext:{pattern:/\b\w+\s*\|\|[\s\S]+?\|\|/,greedy:!0,inside:{"class-name":/^\w+/,string:{pattern:/(^\s*\|\|)[\s\S]+(?=\|\|$)/,lookbehind:!0},punctuation:/\|\|/}},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/,lookbehind:!0},keyword:/\b(?:abstract|actor|also|annotation|assert|async|await|bool|boolean|break|byte|case|catch|changed|char|class|closed|constant|continue|def|default|del|double|elif|else|enum|every|extends|false|finally|float|for|from|global|gpudef|gpukernel|if|import|in|init|inject|int|lambda|local|long|loop|match|new|nodefault|null|of|onchange|open|out|override|package|parfor|parforsync|post|pre|private|protected|provide|provider|public|return|shared|short|single|size_t|sizeof|super|sync|this|throw|trait|trans|transient|true|try|typedef|unchecked|using|val|var|void|while|with)\b/,boolean:/\b(?:false|true)\b/,number:/\b0b[01][01_]*L?\b|\b0x(?:[\da-f_]*\.)?[\da-f_p+-]+\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfls]?/i,punctuation:/[{}[\];(),.:]/,operator:/<==|>==|=>|->|<-|<>|&==|&<>|\?:?|\.\?|\+\+|--|[-+*/=<>]=?|[!^~]|\b(?:and|as|band|bor|bxor|comp|is|isnot|mod|or)\b=?/,annotation:{pattern:/@(?:\w+:)?(?:\w+|\[[^\]]+\])?/,alias:"builtin"}},e.languages.insertBefore("concurnas","langext",{"regex-literal":{pattern:/\br("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:e.languages.concurnas},regex:/[\s\S]+/}},"string-literal":{pattern:/(?:\B|\bs)("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:e.languages.concurnas},string:/[\s\S]+/}}}),e.languages.conc=e.languages.concurnas}function zh(e){!function(e){function t(e){return RegExp(/([ \t])/.source+"(?:"+e+")"+/(?=[\s;]|$)/.source,"i")}e.languages.csp={directive:{pattern:/(^|[\s;])(?:base-uri|block-all-mixed-content|(?:child|connect|default|font|frame|img|manifest|media|object|prefetch|script|style|worker)-src|disown-opener|form-action|frame-(?:ancestors|options)|input-protection(?:-(?:clip|selectors))?|navigate-to|plugin-types|policy-uri|referrer|reflected-xss|report-(?:to|uri)|require-sri-for|sandbox|(?:script|style)-src-(?:attr|elem)|upgrade-insecure-requests)(?=[\s;]|$)/i,lookbehind:!0,alias:"property"},scheme:{pattern:t(/[a-z][a-z0-9.+-]*:/.source),lookbehind:!0},none:{pattern:t(/'none'/.source),lookbehind:!0,alias:"keyword"},nonce:{pattern:t(/'nonce-[-+/\w=]+'/.source),lookbehind:!0,alias:"number"},hash:{pattern:t(/'sha(?:256|384|512)-[-+/\w=]+'/.source),lookbehind:!0,alias:"number"},host:{pattern:t(/[a-z][a-z0-9.+-]*:\/\/[^\s;,']*/.source+"|"+/\*[^\s;,']*/.source+"|"+/[a-z0-9-]+(?:\.[a-z0-9-]+)+(?::[\d*]+)?(?:\/[^\s;,']*)?/.source),lookbehind:!0,alias:"url",inside:{important:/\*/}},keyword:[{pattern:t(/'unsafe-[a-z-]+'/.source),lookbehind:!0,alias:"unsafe"},{pattern:t(/'[a-z-]+'/.source),lookbehind:!0,alias:"safe"}],punctuation:/;/}}(e)}function $h(e){!function(e){var t=/(?:(?!\s)[\d$+<=a-zA-Z\x80-\uFFFF])+/.source,n=/[^{}@#]+/.source,r=n+/\{[^}#@]*\}/.source,i=/(?:h|hours|hrs|m|min|minutes)/.source;e.languages.cooklang={comment:{pattern:/\[-[\s\S]*?-\]|--.*/,greedy:!0},meta:{pattern:/>>.*:.*/,inside:{property:{pattern:/(>>\s*)[^\s:](?:[^:]*[^\s:])?/,lookbehind:!0}}},"cookware-group":{pattern:new RegExp("#(?:"+r+"|"+t+")"),inside:{cookware:{pattern:new RegExp("(^#)(?:"+n+")"),lookbehind:!0,alias:"variable"},"cookware-keyword":{pattern:/^#/,alias:"keyword"},"quantity-group":{pattern:new RegExp(/\{[^{}@#]*\}/),inside:{quantity:{pattern:new RegExp(/(^\{)/.source+n),lookbehind:!0,alias:"number"},punctuation:/[{}]/}}}},"ingredient-group":{pattern:new RegExp("@(?:"+r+"|"+t+")"),inside:{ingredient:{pattern:new RegExp("(^@)(?:"+n+")"),lookbehind:!0,alias:"variable"},"ingredient-keyword":{pattern:/^@/,alias:"keyword"},"amount-group":{pattern:/\{[^{}]*\}/,inside:{amount:{pattern:/([\{|])[^{}|*%]+/,lookbehind:!0,alias:"number"},unit:{pattern:/(%)[^}]+/,lookbehind:!0,alias:"symbol"},"servings-scaler":{pattern:/\*/,alias:"operator"},"servings-alternative-separator":{pattern:/\|/,alias:"operator"},"unit-separator":{pattern:/(?:%|(\*)%)/,lookbehind:!0,alias:"operator"},punctuation:/[{}]/}}}},"timer-group":{pattern:/~(?!\s)[^@#~{}]*\{[^{}]*\}/,inside:{timer:{pattern:/(^~)[^{]+/,lookbehind:!0,alias:"variable"},"duration-group":{pattern:/\{[^{}]*\}/,inside:{punctuation:/[{}]/,unit:{pattern:new RegExp(/(%\s*)/.source+i+/\b/.source),lookbehind:!0,alias:"symbol"},operator:/%/,duration:{pattern:/\d+/,alias:"number"}}},"timer-keyword":{pattern:/^~/,alias:"keyword"}}}}}(e)}function Wh(e){!function(e){for(var t=/\(\*(?:[^(*]|\((?!\*)|\*(?!\))|<self>)*\*\)/.source,n=0;n<2;n++)t=t.replace(/<self>/g,(function(){return t}));t=t.replace(/<self>/g,"[]"),e.languages.coq={comment:RegExp(t),string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},attribute:[{pattern:RegExp(/#\[(?:[^\[\]("]|"(?:[^"]|"")*"(?!")|\((?!\*)|<comment>)*\]/.source.replace(/<comment>/g,(function(){return t}))),greedy:!0,alias:"attr-name",inside:{comment:RegExp(t),string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},operator:/=/,punctuation:/^#\[|\]$|[,()]/}},{pattern:/\b(?:Cumulative|Global|Local|Monomorphic|NonCumulative|Polymorphic|Private|Program)\b/,alias:"attr-name"}],keyword:/\b(?:Abort|About|Add|Admit|Admitted|All|Arguments|As|Assumptions|Axiom|Axioms|Back|BackTo|Backtrace|BinOp|BinOpSpec|BinRel|Bind|Blacklist|Canonical|Case|Cd|Check|Class|Classes|Close|CoFixpoint|CoInductive|Coercion|Coercions|Collection|Combined|Compute|Conjecture|Conjectures|Constant|Constants|Constraint|Constructors|Context|Corollary|Create|CstOp|Custom|Cut|Debug|Declare|Defined|Definition|Delimit|Dependencies|Dependent|Derive|Diffs|Drop|Elimination|End|Entry|Equality|Eval|Example|Existential|Existentials|Existing|Export|Extern|Extraction|Fact|Fail|Field|File|Firstorder|Fixpoint|Flags|Focus|From|Funclass|Function|Functional|GC|Generalizable|Goal|Grab|Grammar|Graph|Guarded|Haskell|Heap|Hide|Hint|HintDb|Hints|Hypotheses|Hypothesis|IF|Identity|Immediate|Implicit|Implicits|Import|Include|Induction|Inductive|Infix|Info|Initial|InjTyp|Inline|Inspect|Instance|Instances|Intro|Intros|Inversion|Inversion_clear|JSON|Language|Left|Lemma|Let|Lia|Libraries|Library|Load|LoadPath|Locate|Ltac|Ltac2|ML|Match|Method|Minimality|Module|Modules|Morphism|Next|NoInline|Notation|Number|OCaml|Obligation|Obligations|Opaque|Open|Optimize|Parameter|Parameters|Parametric|Path|Paths|Prenex|Preterm|Primitive|Print|Profile|Projections|Proof|Prop|PropBinOp|PropOp|PropUOp|Property|Proposition|Pwd|Qed|Quit|Rec|Record|Recursive|Redirect|Reduction|Register|Relation|Remark|Remove|Require|Reserved|Reset|Resolve|Restart|Rewrite|Right|Ring|Rings|SProp|Saturate|Save|Scheme|Scope|Scopes|Search|SearchHead|SearchPattern|SearchRewrite|Section|Separate|Set|Setoid|Show|Signatures|Solve|Solver|Sort|Sortclass|Sorted|Spec|Step|Strategies|Strategy|String|Structure|SubClass|Subgraph|SuchThat|Tactic|Term|TestCompile|Theorem|Time|Timeout|To|Transparent|Type|Typeclasses|Types|Typing|UnOp|UnOpSpec|Undelimit|Undo|Unfocus|Unfocused|Unfold|Universe|Universes|Unshelve|Variable|Variables|Variant|Verbose|View|Visibility|Zify|_|apply|as|at|by|cofix|else|end|exists|exists2|fix|for|forall|fun|if|in|let|match|measure|move|removed|return|struct|then|using|wf|where|with)\b/,number:/\b(?:0x[a-f0-9][a-f0-9_]*(?:\.[a-f0-9_]+)?(?:p[+-]?\d[\d_]*)?|\d[\d_]*(?:\.[\d_]+)?(?:e[+-]?\d[\d_]*)?)\b/i,punct:{pattern:/@\{|\{\||\[=|:>/,alias:"punctuation"},operator:/\/\\|\\\/|\.{2,3}|:{1,2}=|\*\*|[-=]>|<(?:->?|[+:=>]|<:)|>(?:=|->)|\|[-|]?|[-!%&*+/<=>?@^~']/,punctuation:/\.\(|`\(|@\{|`\{|\{\||\[=|:>|[:.,;(){}\[\]]/}}(e)}function Vh(e){e.register(Eu),function(e){e.languages.crystal=e.languages.extend("ruby",{keyword:[/\b(?:__DIR__|__END_LINE__|__FILE__|__LINE__|abstract|alias|annotation|as|asm|begin|break|case|class|def|do|else|elsif|end|ensure|enum|extend|for|fun|if|ifdef|include|instance_sizeof|lib|macro|module|next|of|out|pointerof|private|protected|ptr|require|rescue|return|select|self|sizeof|struct|super|then|type|typeof|undef|uninitialized|union|unless|until|when|while|with|yield)\b/,{pattern:/(\.\s*)(?:is_a|responds_to)\?/,lookbehind:!0}],number:/\b(?:0b[01_]*[01]|0o[0-7_]*[0-7]|0x[\da-fA-F_]*[\da-fA-F]|(?:\d(?:[\d_]*\d)?)(?:\.[\d_]*\d)?(?:[eE][+-]?[\d_]*\d)?)(?:_(?:[uif](?:8|16|32|64))?)?\b/,operator:[/->/,e.languages.ruby.operator],punctuation:/[(){}[\].,;\\]/}),e.languages.insertBefore("crystal","string-literal",{attribute:{pattern:/@\[.*?\]/,inside:{delimiter:{pattern:/^@\[|\]$/,alias:"punctuation"},attribute:{pattern:/^(\s*)\w+/,lookbehind:!0,alias:"class-name"},args:{pattern:/\S(?:[\s\S]*\S)?/,inside:e.languages.crystal}}},expansion:{pattern:/\{(?:\{.*?\}|%.*?%)\}/,inside:{content:{pattern:/^(\{.)[\s\S]+(?=.\}$)/,lookbehind:!0,inside:e.languages.crystal},delimiter:{pattern:/^\{[\{%]|[\}%]\}$/,alias:"operator"}}},char:{pattern:/'(?:[^\\\r\n]{1,2}|\\(?:.|u(?:[A-Fa-f0-9]{1,4}|\{[A-Fa-f0-9]{1,6}\})))'/,greedy:!0}})}(e)}function Kh(e){e.register(tu),function(e){var t,n=/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/;e.languages.css.selector={pattern:e.languages.css.selector.pattern,lookbehind:!0,inside:t={"pseudo-element":/:(?:after|before|first-letter|first-line|selection)|::[-\w]+/,"pseudo-class":/:[-\w]+/,class:/\.[-\w]+/,id:/#[-\w]+/,attribute:{pattern:RegExp("\\[(?:[^[\\]\"']|"+n.source+")*\\]"),greedy:!0,inside:{punctuation:/^\[|\]$/,"case-sensitivity":{pattern:/(\s)[si]$/i,lookbehind:!0,alias:"keyword"},namespace:{pattern:/^(\s*)(?:(?!\s)[-*\w\xA0-\uFFFF])*\|(?!=)/,lookbehind:!0,inside:{punctuation:/\|$/}},"attr-name":{pattern:/^(\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+/,lookbehind:!0},"attr-value":[n,{pattern:/(=\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+(?=\s*$)/,lookbehind:!0}],operator:/[|~*^$]?=/}},"n-th":[{pattern:/(\(\s*)[+-]?\d*[\dn](?:\s*[+-]\s*\d+)?(?=\s*\))/,lookbehind:!0,inside:{number:/[\dn]+/,operator:/[+-]/}},{pattern:/(\(\s*)(?:even|odd)(?=\s*\))/i,lookbehind:!0}],combinator:/>|\+|~|\|\|/,punctuation:/[(),]/}},e.languages.css.atrule.inside["selector-function-argument"].inside=t,e.languages.insertBefore("css","property",{variable:{pattern:/(^|[^-\w\xA0-\uFFFF])--(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*/i,lookbehind:!0}});var r={pattern:/(\b\d+)(?:%|[a-z]+(?![\w-]))/,lookbehind:!0},i={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0};e.languages.insertBefore("css","function",{operator:{pattern:/(\s)[+\-*\/](?=\s)/,lookbehind:!0},hexcode:{pattern:/\B#[\da-f]{3,8}\b/i,alias:"color"},color:[{pattern:/(^|[^\w-])(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|RebeccaPurple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)(?![\w-])/i,lookbehind:!0},{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:r,number:i,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:r,number:i})}(e)}function qh(e){e.languages.csv={value:/[^\r\n,"]+|"(?:[^"]|"")*"(?!")/,punctuation:/,/}}function Xh(e){!function(e){var t="(?:"+(/"""(?:[^\\"]|"(?!""\2)|<esc>)*"""/.source+"|"+/'''(?:[^\\']|'(?!''\2)|<esc>)*'''/.source+"|"+/"(?:[^\\\r\n"]|"(?!\2)|<esc>)*"/.source+"|"+/'(?:[^\\\r\n']|'(?!\2)|<esc>)*'/.source).replace(/<esc>/g,/\\(?:(?!\2)|\2(?:[^()\r\n]|\([^()]*\)))/.source)+")";e.languages.cue={comment:{pattern:/\/\/.*/,greedy:!0},"string-literal":{pattern:RegExp(/(^|[^#"'\\])(#*)/.source+t+/(?!["'])\2/.source),lookbehind:!0,greedy:!0,inside:{escape:{pattern:/(?=[\s\S]*["'](#*)$)\\\1(?:U[a-fA-F0-9]{1,8}|u[a-fA-F0-9]{1,4}|x[a-fA-F0-9]{1,2}|\d{2,3}|[^(])/,greedy:!0,alias:"string"},interpolation:{pattern:/(?=[\s\S]*["'](#*)$)\\\1\([^()]*\)/,greedy:!0,inside:{punctuation:/^\\#*\(|\)$/,expression:{pattern:/[\s\S]+/,inside:null}}},string:/[\s\S]+/}},keyword:{pattern:/(^|[^\w$])(?:for|if|import|in|let|null|package)(?![\w$])/,lookbehind:!0},boolean:{pattern:/(^|[^\w$])(?:false|true)(?![\w$])/,lookbehind:!0},builtin:{pattern:/(^|[^\w$])(?:bool|bytes|float|float(?:32|64)|u?int(?:8|16|32|64|128)?|number|rune|string)(?![\w$])/,lookbehind:!0},attribute:{pattern:/@[\w$]+(?=\s*\()/,alias:"function"},function:{pattern:/(^|[^\w$])[a-z_$][\w$]*(?=\s*\()/i,lookbehind:!0},number:{pattern:/(^|[^\w$.])(?:0b[01]+(?:_[01]+)*|0o[0-7]+(?:_[0-7]+)*|0[xX][0-9A-Fa-f]+(?:_[0-9A-Fa-f]+)*|(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[eE][+-]?\d+(?:_\d+)*)?(?:[KMGTP]i?)?)(?![\w$])/,lookbehind:!0},operator:/\.{3}|_\|_|&&?|\|\|?|[=!]~|[<>=!]=?|[+\-*/?]/,punctuation:/[()[\]{},.:]/},e.languages.cue["string-literal"].inside.interpolation.inside.expression.inside=e.languages.cue}(e)}function Zh(e){e.languages.cypher={comment:/\/\/.*/,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/,greedy:!0},"class-name":{pattern:/(:\s*)(?:\w+|`(?:[^`\\\r\n])*`)(?=\s*[{):])/,lookbehind:!0,greedy:!0},relationship:{pattern:/(-\[\s*(?:\w+\s*|`(?:[^`\\\r\n])*`\s*)?:\s*|\|\s*:\s*)(?:\w+|`(?:[^`\\\r\n])*`)/,lookbehind:!0,greedy:!0,alias:"property"},identifier:{pattern:/`(?:[^`\\\r\n])*`/,greedy:!0},variable:/\$\w+/,keyword:/\b(?:ADD|ALL|AND|AS|ASC|ASCENDING|ASSERT|BY|CALL|CASE|COMMIT|CONSTRAINT|CONTAINS|CREATE|CSV|DELETE|DESC|DESCENDING|DETACH|DISTINCT|DO|DROP|ELSE|END|ENDS|EXISTS|FOR|FOREACH|IN|INDEX|IS|JOIN|KEY|LIMIT|LOAD|MANDATORY|MATCH|MERGE|NODE|NOT|OF|ON|OPTIONAL|OR|ORDER(?=\s+BY)|PERIODIC|REMOVE|REQUIRE|RETURN|SCALAR|SCAN|SET|SKIP|START|STARTS|THEN|UNION|UNIQUE|UNWIND|USING|WHEN|WHERE|WITH|XOR|YIELD)\b/i,function:/\b\w+\b(?=\s*\()/,boolean:/\b(?:false|null|true)\b/i,number:/\b(?:0x[\da-fA-F]+|\d+(?:\.\d+)?(?:[eE][+-]?\d+)?)\b/,operator:/:|<--?|--?>?|<>|=~?|[<>]=?|[+*/%^|]|\.\.\.?/,punctuation:/[()[\]{},;.]/}}function Qh(e){e.register(Kc),e.languages.d=e.languages.extend("clike",{comment:[{pattern:/^\s*#!.+/,greedy:!0},{pattern:RegExp(/(^|[^\\])/.source+"(?:"+[/\/\+(?:\/\+(?:[^+]|\+(?!\/))*\+\/|(?!\/\+)[\s\S])*?\+\//.source,/\/\/.*/.source,/\/\*[\s\S]*?\*\//.source].join("|")+")"),lookbehind:!0,greedy:!0}],string:[{pattern:RegExp([/\b[rx]"(?:\\[\s\S]|[^\\"])*"[cwd]?/.source,/\bq"(?:\[[\s\S]*?\]|\([\s\S]*?\)|<[\s\S]*?>|\{[\s\S]*?\})"/.source,/\bq"((?!\d)\w+)$[\s\S]*?^\1"/.source,/\bq"(.)[\s\S]*?\2"/.source,/(["`])(?:\\[\s\S]|(?!\3)[^\\])*\3[cwd]?/.source].join("|"),"m"),greedy:!0},{pattern:/\bq\{(?:\{[^{}]*\}|[^{}])*\}/,greedy:!0,alias:"token-string"}],keyword:/\$|\b(?:__(?:(?:DATE|EOF|FILE|FUNCTION|LINE|MODULE|PRETTY_FUNCTION|TIMESTAMP|TIME|VENDOR|VERSION)__|gshared|parameters|traits|vector)|abstract|alias|align|asm|assert|auto|body|bool|break|byte|case|cast|catch|cdouble|cent|cfloat|char|class|const|continue|creal|dchar|debug|default|delegate|delete|deprecated|do|double|dstring|else|enum|export|extern|false|final|finally|float|for|foreach|foreach_reverse|function|goto|idouble|if|ifloat|immutable|import|inout|int|interface|invariant|ireal|lazy|long|macro|mixin|module|new|nothrow|null|out|override|package|pragma|private|protected|ptrdiff_t|public|pure|real|ref|return|scope|shared|short|size_t|static|string|struct|super|switch|synchronized|template|this|throw|true|try|typedef|typeid|typeof|ubyte|ucent|uint|ulong|union|unittest|ushort|version|void|volatile|wchar|while|with|wstring)\b/,number:[/\b0x\.?[a-f\d_]+(?:(?!\.\.)\.[a-f\d_]*)?(?:p[+-]?[a-f\d_]+)?[ulfi]{0,4}/i,{pattern:/((?:\.\.)?)(?:\b0b\.?|\b|\.)\d[\d_]*(?:(?!\.\.)\.[\d_]*)?(?:e[+-]?\d[\d_]*)?[ulfi]{0,4}/i,lookbehind:!0}],operator:/\|[|=]?|&[&=]?|\+[+=]?|-[-=]?|\.?\.\.|=[>=]?|!(?:i[ns]\b|<>?=?|>=?|=)?|\bi[ns]\b|(?:<[<>]?|>>?>?|\^\^|[*\/%^~])=?/}),e.languages.insertBefore("d","string",{char:/'(?:\\(?:\W|\w+)|[^\\])'/}),e.languages.insertBefore("d","keyword",{property:/\B@\w*/}),e.languages.insertBefore("d","function",{register:{pattern:/\b(?:[ABCD][LHX]|E?(?:BP|DI|SI|SP)|[BS]PL|[ECSDGF]S|CR[0234]|[DS]IL|DR[012367]|E[ABCD]X|X?MM[0-7]|R(?:1[0-5]|[89])[BWD]?|R[ABCD]X|R[BS]P|R[DS]I|TR[3-7]|XMM(?:1[0-5]|[89])|YMM(?:1[0-5]|\d))\b|\bST(?:\([0-7]\)|\b)/,alias:"variable"}})}function Jh(e){e.register(Kc),function(e){var t=[/\b(?:async|sync|yield)\*/,/\b(?:abstract|assert|async|await|break|case|catch|class|const|continue|covariant|default|deferred|do|dynamic|else|enum|export|extends|extension|external|factory|final|finally|for|get|hide|if|implements|import|in|interface|library|mixin|new|null|on|operator|part|rethrow|return|set|show|static|super|switch|sync|this|throw|try|typedef|var|void|while|with|yield)\b/],n=/(^|[^\w.])(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,r={pattern:RegExp(n+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}}}};e.languages.dart=e.languages.extend("clike",{"class-name":[r,{pattern:RegExp(n+/[A-Z]\w*(?=\s+\w+\s*[;,=()])/.source),lookbehind:!0,inside:r.inside}],keyword:t,operator:/\bis!|\b(?:as|is)\b|\+\+|--|&&|\|\||<<=?|>>=?|~(?:\/=?)?|[+\-*\/%&^|=!<>]=?|\?/}),e.languages.insertBefore("dart","string",{"string-literal":{pattern:/r?(?:("""|''')[\s\S]*?\1|(["'])(?:\\.|(?!\2)[^\\\r\n])*\2(?!\2))/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\w+|\{(?:[^{}]|\{[^{}]*\})*\})/,lookbehind:!0,inside:{punctuation:/^\$\{?|\}$/,expression:{pattern:/[\s\S]+/,inside:e.languages.dart}}},string:/[\s\S]+/}},string:void 0}),e.languages.insertBefore("dart","class-name",{metadata:{pattern:/@\w+/,alias:"function"}}),e.languages.insertBefore("dart","class-name",{generics:{pattern:/<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<[\w\s,.&?]*>)*>)*>)*>/,inside:{"class-name":r,keyword:t,punctuation:/[<>(),.:]/,operator:/[?&|]/}}})}(e)}function ep(e){!function(e){e.languages.dataweave={url:/\b[A-Za-z]+:\/\/[\w/:.?=&-]+|\burn:[\w:.?=&-]+/,property:{pattern:/(?:\b\w+#)?(?:"(?:\\.|[^\\"\r\n])*"|\b\w+)(?=\s*[:@])/,greedy:!0},string:{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},"mime-type":/\b(?:application|audio|image|multipart|text|video)\/[\w+-]+/,date:{pattern:/\|[\w:+-]+\|/,greedy:!0},comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],regex:{pattern:/\/(?:[^\\\/\r\n]|\\[^\r\n])+\//,greedy:!0},keyword:/\b(?:and|as|at|case|do|else|fun|if|input|is|match|not|ns|null|or|output|type|unless|update|using|var)\b/,function:/\b[A-Z_]\w*(?=\s*\()/i,number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\];(),.:@]/,operator:/<<|>>|->|[<>~=]=?|!=|--?-?|\+\+?|!|\?/,boolean:/\b(?:false|true)\b/}}(e)}function tp(e){e.languages.dax={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/).*)/,lookbehind:!0},"data-field":{pattern:/'(?:[^']|'')*'(?!')(?:\[[ \w\xA0-\uFFFF]+\])?|\w+\[[ \w\xA0-\uFFFF]+\]/,alias:"symbol"},measure:{pattern:/\[[ \w\xA0-\uFFFF]+\]/,alias:"constant"},string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},function:/\b(?:ABS|ACOS|ACOSH|ACOT|ACOTH|ADDCOLUMNS|ADDMISSINGITEMS|ALL|ALLCROSSFILTERED|ALLEXCEPT|ALLNOBLANKROW|ALLSELECTED|AND|APPROXIMATEDISTINCTCOUNT|ASIN|ASINH|ATAN|ATANH|AVERAGE|AVERAGEA|AVERAGEX|BETA\.DIST|BETA\.INV|BLANK|CALCULATE|CALCULATETABLE|CALENDAR|CALENDARAUTO|CEILING|CHISQ\.DIST|CHISQ\.DIST\.RT|CHISQ\.INV|CHISQ\.INV\.RT|CLOSINGBALANCEMONTH|CLOSINGBALANCEQUARTER|CLOSINGBALANCEYEAR|COALESCE|COMBIN|COMBINA|COMBINEVALUES|CONCATENATE|CONCATENATEX|CONFIDENCE\.NORM|CONFIDENCE\.T|CONTAINS|CONTAINSROW|CONTAINSSTRING|CONTAINSSTRINGEXACT|CONVERT|COS|COSH|COT|COTH|COUNT|COUNTA|COUNTAX|COUNTBLANK|COUNTROWS|COUNTX|CROSSFILTER|CROSSJOIN|CURRENCY|CURRENTGROUP|CUSTOMDATA|DATATABLE|DATE|DATEADD|DATEDIFF|DATESBETWEEN|DATESINPERIOD|DATESMTD|DATESQTD|DATESYTD|DATEVALUE|DAY|DEGREES|DETAILROWS|DISTINCT|DISTINCTCOUNT|DISTINCTCOUNTNOBLANK|DIVIDE|EARLIER|EARLIEST|EDATE|ENDOFMONTH|ENDOFQUARTER|ENDOFYEAR|EOMONTH|ERROR|EVEN|EXACT|EXCEPT|EXP|EXPON\.DIST|FACT|FALSE|FILTER|FILTERS|FIND|FIRSTDATE|FIRSTNONBLANK|FIRSTNONBLANKVALUE|FIXED|FLOOR|FORMAT|GCD|GENERATE|GENERATEALL|GENERATESERIES|GEOMEAN|GEOMEANX|GROUPBY|HASONEFILTER|HASONEVALUE|HOUR|IF|IF\.EAGER|IFERROR|IGNORE|INT|INTERSECT|ISBLANK|ISCROSSFILTERED|ISEMPTY|ISERROR|ISEVEN|ISFILTERED|ISINSCOPE|ISLOGICAL|ISNONTEXT|ISNUMBER|ISO\.CEILING|ISODD|ISONORAFTER|ISSELECTEDMEASURE|ISSUBTOTAL|ISTEXT|KEEPFILTERS|KEYWORDMATCH|LASTDATE|LASTNONBLANK|LASTNONBLANKVALUE|LCM|LEFT|LEN|LN|LOG|LOG10|LOOKUPVALUE|LOWER|MAX|MAXA|MAXX|MEDIAN|MEDIANX|MID|MIN|MINA|MINUTE|MINX|MOD|MONTH|MROUND|NATURALINNERJOIN|NATURALLEFTOUTERJOIN|NEXTDAY|NEXTMONTH|NEXTQUARTER|NEXTYEAR|NONVISUAL|NORM\.DIST|NORM\.INV|NORM\.S\.DIST|NORM\.S\.INV|NOT|NOW|ODD|OPENINGBALANCEMONTH|OPENINGBALANCEQUARTER|OPENINGBALANCEYEAR|OR|PARALLELPERIOD|PATH|PATHCONTAINS|PATHITEM|PATHITEMREVERSE|PATHLENGTH|PERCENTILE\.EXC|PERCENTILE\.INC|PERCENTILEX\.EXC|PERCENTILEX\.INC|PERMUT|PI|POISSON\.DIST|POWER|PREVIOUSDAY|PREVIOUSMONTH|PREVIOUSQUARTER|PREVIOUSYEAR|PRODUCT|PRODUCTX|QUARTER|QUOTIENT|RADIANS|RAND|RANDBETWEEN|RANK\.EQ|RANKX|RELATED|RELATEDTABLE|REMOVEFILTERS|REPLACE|REPT|RIGHT|ROLLUP|ROLLUPADDISSUBTOTAL|ROLLUPGROUP|ROLLUPISSUBTOTAL|ROUND|ROUNDDOWN|ROUNDUP|ROW|SAMEPERIODLASTYEAR|SAMPLE|SEARCH|SECOND|SELECTCOLUMNS|SELECTEDMEASURE|SELECTEDMEASUREFORMATSTRING|SELECTEDMEASURENAME|SELECTEDVALUE|SIGN|SIN|SINH|SQRT|SQRTPI|STARTOFMONTH|STARTOFQUARTER|STARTOFYEAR|STDEV\.P|STDEV\.S|STDEVX\.P|STDEVX\.S|SUBSTITUTE|SUBSTITUTEWITHINDEX|SUM|SUMMARIZE|SUMMARIZECOLUMNS|SUMX|SWITCH|T\.DIST|T\.DIST\.2T|T\.DIST\.RT|T\.INV|T\.INV\.2T|TAN|TANH|TIME|TIMEVALUE|TODAY|TOPN|TOPNPERLEVEL|TOPNSKIP|TOTALMTD|TOTALQTD|TOTALYTD|TREATAS|TRIM|TRUE|TRUNC|UNICHAR|UNICODE|UNION|UPPER|USERELATIONSHIP|USERNAME|USEROBJECTID|USERPRINCIPALNAME|UTCNOW|UTCTODAY|VALUE|VALUES|VAR\.P|VAR\.S|VARX\.P|VARX\.S|WEEKDAY|WEEKNUM|XIRR|XNPV|YEAR|YEARFRAC)(?=\s*\()/i,keyword:/\b(?:DEFINE|EVALUATE|MEASURE|ORDER\s+BY|RETURN|VAR|START\s+AT|ASC|DESC)\b/i,boolean:{pattern:/\b(?:FALSE|NULL|TRUE)\b/i,alias:"constant"},number:/\b\d+(?:\.\d*)?|\B\.\d+\b/,operator:/:=|[-+*\/=^]|&&?|\|\||<(?:=>?|<|>)?|>[>=]?|\b(?:IN|NOT)\b/i,punctuation:/[;\[\](){}`,.]/}}function np(e){e.languages.dhall={comment:/--.*|\{-(?:[^-{]|-(?!\})|\{(?!-)|\{-(?:[^-{]|-(?!\})|\{(?!-))*-\})*-\}/,string:{pattern:/"(?:[^"\\]|\\.)*"|''(?:[^']|'(?!')|'''|''\$\{)*''(?!'|\$)/,greedy:!0,inside:{interpolation:{pattern:/\$\{[^{}]*\}/,inside:{expression:{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0,alias:"language-dhall",inside:null},punctuation:/\$\{|\}/}}}},label:{pattern:/`[^`]*`/,greedy:!0},url:{pattern:/\bhttps?:\/\/[\w.:%!$&'*+;=@~-]+(?:\/[\w.:%!$&'*+;=@~-]*)*(?:\?[/?\w.:%!$&'*+;=@~-]*)?/,greedy:!0},env:{pattern:/\benv:(?:(?!\d)\w+|"(?:[^"\\=]|\\.)*")/,greedy:!0,inside:{function:/^env/,operator:/^:/,variable:/[\s\S]+/}},hash:{pattern:/\bsha256:[\da-fA-F]{64}\b/,inside:{function:/sha256/,operator:/:/,number:/[\da-fA-F]{64}/}},keyword:/\b(?:as|assert|else|forall|if|in|let|merge|missing|then|toMap|using|with)\b|\u2200/,builtin:/\b(?:None|Some)\b/,boolean:/\b(?:False|True)\b/,number:/\bNaN\b|-?\bInfinity\b|[+-]?\b(?:0x[\da-fA-F]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/,operator:/\/\\|\/\/\\\\|&&|\|\||===|[!=]=|\/\/|->|\+\+|::|[+*#@=:?<>|\\\u2227\u2a53\u2261\u2afd\u03bb\u2192]/,punctuation:/\.\.|[{}\[\](),./]/,"class-name":/\b[A-Z]\w*\b/},e.languages.dhall.string.inside.interpolation.inside.expression.inside=e.languages.dhall}function rp(e){e.register(yu),function(e){e.languages.django={comment:/^\{#[\s\S]*?#\}$/,tag:{pattern:/(^\{%[+-]?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%][+-]?|[+-]?[}%]\}$/,alias:"punctuation"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},filter:{pattern:/(\|)\w+/,lookbehind:!0,alias:"function"},test:{pattern:/(\bis\s+(?:not\s+)?)(?!not\b)\w+/,lookbehind:!0,alias:"function"},function:/\b[a-z_]\w+(?=\s*\()/i,keyword:/\b(?:and|as|by|else|for|if|import|in|is|loop|not|or|recursive|with|without)\b/,operator:/[-+%=]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,number:/\b\d+(?:\.\d+)?\b/,boolean:/[Ff]alse|[Nn]one|[Tt]rue/,variable:/\b\w+\b/,punctuation:/[{}[\](),.:;]/};var t=/\{\{[\s\S]*?\}\}|\{%[\s\S]*?%\}|\{#[\s\S]*?#\}/g,n=e.languages["markup-templating"];e.hooks.add("before-tokenize",(function(e){n.buildPlaceholders(e,"django",t)})),e.hooks.add("after-tokenize",(function(e){n.tokenizePlaceholders(e,"django")})),e.languages.jinja2=e.languages.django,e.hooks.add("before-tokenize",(function(e){n.buildPlaceholders(e,"jinja2",t)})),e.hooks.add("after-tokenize",(function(e){n.tokenizePlaceholders(e,"jinja2")}))}(e)}function ip(e){e.languages["dns-zone-file"]={comment:/;.*/,string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},variable:[{pattern:/(^\$ORIGIN[ \t]+)\S+/m,lookbehind:!0},{pattern:/(^|\s)@(?=\s|$)/,lookbehind:!0}],keyword:/^\$(?:INCLUDE|ORIGIN|TTL)(?=\s|$)/m,class:{pattern:/(^|\s)(?:CH|CS|HS|IN)(?=\s|$)/,lookbehind:!0,alias:"keyword"},type:{pattern:/(^|\s)(?:A|A6|AAAA|AFSDB|APL|ATMA|CAA|CDNSKEY|CDS|CERT|CNAME|DHCID|DLV|DNAME|DNSKEY|DS|EID|GID|GPOS|HINFO|HIP|IPSECKEY|ISDN|KEY|KX|LOC|MAILA|MAILB|MB|MD|MF|MG|MINFO|MR|MX|NAPTR|NB|NBSTAT|NIMLOC|NINFO|NS|NSAP|NSAP-PTR|NSEC|NSEC3|NSEC3PARAM|NULL|NXT|OPENPGPKEY|PTR|PX|RKEY|RP|RRSIG|RT|SIG|SINK|SMIMEA|SOA|SPF|SRV|SSHFP|TA|TKEY|TLSA|TSIG|TXT|UID|UINFO|UNSPEC|URI|WKS|X25)(?=\s|$)/,lookbehind:!0,alias:"keyword"},punctuation:/[()]/},e.languages["dns-zone"]=e.languages["dns-zone-file"]}function op(e){!function(e){var t=/\\[\r\n](?:\s|\\[\r\n]|#.*(?!.))*(?![\s#]|\\[\r\n])/.source,n=/(?:[ \t]+(?![ \t])(?:<SP_BS>)?|<SP_BS>)/.source.replace(/<SP_BS>/g,(function(){return t})),r=/"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*"|'(?:[^'\\\r\n]|\\(?:\r\n|[\s\S]))*'/.source,i=/--[\w-]+=(?:<STR>|(?!["'])(?:[^\s\\]|\\.)+)/.source.replace(/<STR>/g,(function(){return r})),o={pattern:RegExp(r),greedy:!0},a={pattern:/(^[ \t]*)#.*/m,lookbehind:!0,greedy:!0};function s(e,t){return e=e.replace(/<OPT>/g,(function(){return i})).replace(/<SP>/g,(function(){return n})),RegExp(e,t)}e.languages.docker={instruction:{pattern:/(^[ \t]*)(?:ADD|ARG|CMD|COPY|ENTRYPOINT|ENV|EXPOSE|FROM|HEALTHCHECK|LABEL|MAINTAINER|ONBUILD|RUN|SHELL|STOPSIGNAL|USER|VOLUME|WORKDIR)(?=\s)(?:\\.|[^\r\n\\])*(?:\\$(?:\s|#.*$)*(?![\s#])(?:\\.|[^\r\n\\])*)*/im,lookbehind:!0,greedy:!0,inside:{options:{pattern:s(/(^(?:ONBUILD<SP>)?\w+<SP>)<OPT>(?:<SP><OPT>)*/.source,"i"),lookbehind:!0,greedy:!0,inside:{property:{pattern:/(^|\s)--[\w-]+/,lookbehind:!0},string:[o,{pattern:/(=)(?!["'])(?:[^\s\\]|\\.)+/,lookbehind:!0}],operator:/\\$/m,punctuation:/=/}},keyword:[{pattern:s(/(^(?:ONBUILD<SP>)?HEALTHCHECK<SP>(?:<OPT><SP>)*)(?:CMD|NONE)\b/.source,"i"),lookbehind:!0,greedy:!0},{pattern:s(/(^(?:ONBUILD<SP>)?FROM<SP>(?:<OPT><SP>)*(?!--)[^ \t\\]+<SP>)AS/.source,"i"),lookbehind:!0,greedy:!0},{pattern:s(/(^ONBUILD<SP>)\w+/.source,"i"),lookbehind:!0,greedy:!0},{pattern:/^\w+/,greedy:!0}],comment:a,string:o,variable:/\$(?:\w+|\{[^{}"'\\]*\})/,operator:/\\$/m}},comment:a},e.languages.dockerfile=e.languages.docker}(e)}function ap(e){!function(e){var t="(?:"+[/[a-zA-Z_\x80-\uFFFF][\w\x80-\uFFFF]*/.source,/-?(?:\.\d+|\d+(?:\.\d*)?)/.source,/"[^"\\]*(?:\\[\s\S][^"\\]*)*"/.source,/<(?:[^<>]|(?!<!--)<(?:[^<>"']|"[^"]*"|'[^']*')+>|<!--(?:[^-]|-(?!->))*-->)*>/.source].join("|")+")",n={markup:{pattern:/(^<)[\s\S]+(?=>$)/,lookbehind:!0,alias:["language-markup","language-html","language-xml"],inside:e.languages.markup}};function r(e,n){return RegExp(e.replace(/<ID>/g,(function(){return t})),n)}e.languages.dot={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\/|^#.*/m,greedy:!0},"graph-name":{pattern:r(/(\b(?:digraph|graph|subgraph)[ \t\r\n]+)<ID>/.source,"i"),lookbehind:!0,greedy:!0,alias:"class-name",inside:n},"attr-value":{pattern:r(/(=[ \t\r\n]*)<ID>/.source),lookbehind:!0,greedy:!0,inside:n},"attr-name":{pattern:r(/([\[;, \t\r\n])<ID>(?=[ \t\r\n]*=)/.source),lookbehind:!0,greedy:!0,inside:n},keyword:/\b(?:digraph|edge|graph|node|strict|subgraph)\b/i,"compass-point":{pattern:/(:[ \t\r\n]*)(?:[ewc_]|[ns][ew]?)(?![\w\x80-\uFFFF])/,lookbehind:!0,alias:"builtin"},node:{pattern:r(/(^|[^-.\w\x80-\uFFFF\\])<ID>/.source),lookbehind:!0,greedy:!0,inside:n},operator:/[=:]|-[->]/,punctuation:/[\[\]{};,]/},e.languages.gv=e.languages.dot}(e)}function sp(e){e.languages.ebnf={comment:/\(\*[\s\S]*?\*\)/,string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0},special:{pattern:/\?[^?\r\n]*\?/,greedy:!0,alias:"class-name"},definition:{pattern:/^([\t ]*)[a-z]\w*(?:[ \t]+[a-z]\w*)*(?=\s*=)/im,lookbehind:!0,alias:["rule","keyword"]},rule:/\b[a-z]\w*(?:[ \t]+[a-z]\w*)*\b/i,punctuation:/\([:/]|[:/]\)|[.,;()[\]{}]/,operator:/[-=|*/!]/}}function lp(e){e.languages.editorconfig={comment:/[;#].*/,section:{pattern:/(^[ \t]*)\[.+\]/m,lookbehind:!0,alias:"selector",inside:{regex:/\\\\[\[\]{},!?.*]/,operator:/[!?]|\.\.|\*{1,2}/,punctuation:/[\[\]{},]/}},key:{pattern:/(^[ \t]*)[^\s=]+(?=[ \t]*=)/m,lookbehind:!0,alias:"attr-name"},value:{pattern:/=.*/,alias:"attr-value",inside:{punctuation:/^=/}}}}function cp(e){e.languages.eiffel={comment:/--.*/,string:[{pattern:/"([^[]*)\[[\s\S]*?\]\1"/,greedy:!0},{pattern:/"([^{]*)\{[\s\S]*?\}\1"/,greedy:!0},{pattern:/"(?:%(?:(?!\n)\s)*\n\s*%|%\S|[^%"\r\n])*"/,greedy:!0}],char:/'(?:%.|[^%'\r\n])+'/,keyword:/\b(?:across|agent|alias|all|and|as|assign|attached|attribute|check|class|convert|create|Current|debug|deferred|detachable|do|else|elseif|end|ensure|expanded|export|external|feature|from|frozen|if|implies|inherit|inspect|invariant|like|local|loop|not|note|obsolete|old|once|or|Precursor|redefine|rename|require|rescue|Result|retry|select|separate|some|then|undefine|until|variant|Void|when|xor)\b/i,boolean:/\b(?:False|True)\b/i,"class-name":/\b[A-Z][\dA-Z_]*\b/,number:[/\b0[xcb][\da-f](?:_*[\da-f])*\b/i,/(?:\b\d(?:_*\d)*)?\.(?:(?:\d(?:_*\d)*)?e[+-]?)?\d(?:_*\d)*\b|\b\d(?:_*\d)*\b\.?/i],punctuation:/:=|<<|>>|\(\||\|\)|->|\.(?=\w)|[{}[\];(),:?]/,operator:/\\\\|\|\.\.\||\.\.|\/[~\/=]?|[><]=?|[-+*^=~]/}}function up(e){e.register(su),e.register(yu),function(e){e.languages.ejs={delimiter:{pattern:/^<%[-_=]?|[-_]?%>$/,alias:"punctuation"},comment:/^#[\s\S]*/,"language-javascript":{pattern:/[\s\S]+/,inside:e.languages.javascript}},e.hooks.add("before-tokenize",(function(t){e.languages["markup-templating"].buildPlaceholders(t,"ejs",/<%(?!%)[\s\S]+?%>/g)})),e.hooks.add("after-tokenize",(function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"ejs")})),e.languages.eta=e.languages.ejs}(e)}function hp(e){e.languages.elixir={doc:{pattern:/@(?:doc|moduledoc)\s+(?:("""|''')[\s\S]*?\1|("|')(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2)/,inside:{attribute:/^@\w+/,string:/['"][\s\S]+/}},comment:{pattern:/#.*/,greedy:!0},regex:{pattern:/~[rR](?:("""|''')(?:\\[\s\S]|(?!\1)[^\\])+\1|([\/|"'])(?:\\.|(?!\2)[^\\\r\n])+\2|\((?:\\.|[^\\)\r\n])+\)|\[(?:\\.|[^\\\]\r\n])+\]|\{(?:\\.|[^\\}\r\n])+\}|<(?:\\.|[^\\>\r\n])+>)[uismxfr]*/,greedy:!0},string:[{pattern:/~[cCsSwW](?:("""|''')(?:\\[\s\S]|(?!\1)[^\\])+\1|([\/|"'])(?:\\.|(?!\2)[^\\\r\n])+\2|\((?:\\.|[^\\)\r\n])+\)|\[(?:\\.|[^\\\]\r\n])+\]|\{(?:\\.|#\{[^}]+\}|#(?!\{)|[^#\\}\r\n])+\}|<(?:\\.|[^\\>\r\n])+>)[csa]?/,greedy:!0,inside:{}},{pattern:/("""|''')[\s\S]*?\1/,greedy:!0,inside:{}},{pattern:/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{}}],atom:{pattern:/(^|[^:]):\w+/,lookbehind:!0,alias:"symbol"},module:{pattern:/\b[A-Z]\w*\b/,alias:"class-name"},"attr-name":/\b\w+\??:(?!:)/,argument:{pattern:/(^|[^&])&\d+/,lookbehind:!0,alias:"variable"},attribute:{pattern:/@\w+/,alias:"variable"},function:/\b[_a-zA-Z]\w*[?!]?(?:(?=\s*(?:\.\s*)?\()|(?=\/\d))/,number:/\b(?:0[box][a-f\d_]+|\d[\d_]*)(?:\.[\d_]+)?(?:e[+-]?[\d_]+)?\b/i,keyword:/\b(?:after|alias|and|case|catch|cond|def(?:callback|delegate|exception|impl|macro|module|n|np|p|protocol|struct)?|do|else|end|fn|for|if|import|not|or|quote|raise|require|rescue|try|unless|unquote|use|when)\b/,boolean:/\b(?:false|nil|true)\b/,operator:[/\bin\b|&&?|\|[|>]?|\\\\|::|\.\.\.?|\+\+?|-[->]?|<[-=>]|>=|!==?|\B!|=(?:==?|[>~])?|[*\/^]/,{pattern:/([^<])<(?!<)/,lookbehind:!0},{pattern:/([^>])>(?!>)/,lookbehind:!0}],punctuation:/<<|>>|[.,%\[\]{}()]/},e.languages.elixir.string.forEach((function(t){t.inside={interpolation:{pattern:/#\{[^}]+\}/,inside:{delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"},rest:e.languages.elixir}}}}))}function pp(e){e.languages.elm={comment:/--.*|\{-[\s\S]*?-\}/,char:{pattern:/'(?:[^\\'\r\n]|\\(?:[abfnrtv\\']|\d+|x[0-9a-fA-F]+|u\{[0-9a-fA-F]+\}))'/,greedy:!0},string:[{pattern:/"""[\s\S]*?"""/,greedy:!0},{pattern:/"(?:[^\\"\r\n]|\\.)*"/,greedy:!0}],"import-statement":{pattern:/(^[\t ]*)import\s+[A-Z]\w*(?:\.[A-Z]\w*)*(?:\s+as\s+(?:[A-Z]\w*)(?:\.[A-Z]\w*)*)?(?:\s+exposing\s+)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|exposing|import)\b/}},keyword:/\b(?:alias|as|case|else|exposing|if|in|infixl|infixr|let|module|of|then|type)\b/,builtin:/\b(?:abs|acos|always|asin|atan|atan2|ceiling|clamp|compare|cos|curry|degrees|e|flip|floor|fromPolar|identity|isInfinite|isNaN|logBase|max|min|negate|never|not|pi|radians|rem|round|sin|sqrt|tan|toFloat|toPolar|toString|truncate|turns|uncurry|xor)\b/,number:/\b(?:\d+(?:\.\d+)?(?:e[+-]?\d+)?|0x[0-9a-f]+)\b/i,operator:/\s\.\s|[+\-/*=.$<>:&|^?%#@~!]{2,}|[+\-/*=$<>:&|^?%#@~!]/,hvariable:/\b(?:[A-Z]\w*\.)*[a-z]\w*\b/,constant:/\b(?:[A-Z]\w*\.)*[A-Z]\w*\b/,punctuation:/[{}[\]|(),.:]/}}function dp(e){e.register(hu),e.register(yu),function(e){e.languages.etlua={delimiter:{pattern:/^<%[-=]?|-?%>$/,alias:"punctuation"},"language-lua":{pattern:/[\s\S]+/,inside:e.languages.lua}},e.hooks.add("before-tokenize",(function(t){e.languages["markup-templating"].buildPlaceholders(t,"etlua",/<%[\s\S]+?%>/g)})),e.hooks.add("after-tokenize",(function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"etlua")}))}(e)}function fp(e){e.register(yu),e.register(Eu),function(e){e.languages.erb={delimiter:{pattern:/^(\s*)<%=?|%>(?=\s*$)/,lookbehind:!0,alias:"punctuation"},ruby:{pattern:/\s*\S[\s\S]*/,alias:"language-ruby",inside:e.languages.ruby}},e.hooks.add("before-tokenize",(function(t){e.languages["markup-templating"].buildPlaceholders(t,"erb",/<%=?(?:[^\r\n]|[\r\n](?!=begin)|[\r\n]=begin\s(?:[^\r\n]|[\r\n](?!=end))*[\r\n]=end)+?%>/g)})),e.hooks.add("after-tokenize",(function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"erb")}))}(e)}function mp(e){e.languages.erlang={comment:/%.+/,string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},"quoted-function":{pattern:/'(?:\\.|[^\\'\r\n])+'(?=\()/,alias:"function"},"quoted-atom":{pattern:/'(?:\\.|[^\\'\r\n])+'/,alias:"atom"},boolean:/\b(?:false|true)\b/,keyword:/\b(?:after|begin|case|catch|end|fun|if|of|receive|try|when)\b/,number:[/\$\\?./,/\b\d+#[a-z0-9]+/i,/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i],function:/\b[a-z][\w@]*(?=\()/,variable:{pattern:/(^|[^@])(?:\b|\?)[A-Z_][\w@]*/,lookbehind:!0},operator:[/[=\/<>:]=|=[:\/]=|\+\+?|--?|[=*\/!]|\b(?:and|andalso|band|bnot|bor|bsl|bsr|bxor|div|not|or|orelse|rem|xor)\b/,{pattern:/(^|[^<])<(?!<)/,lookbehind:!0},{pattern:/(^|[^>])>(?!>)/,lookbehind:!0}],atom:/\b[a-z][\w@]*/,punctuation:/[()[\]{}:;,.#|]|<<|>>/}}function gp(e){e.languages["excel-formula"]={comment:{pattern:/(\bN\(\s*)"(?:[^"]|"")*"(?=\s*\))/i,lookbehind:!0,greedy:!0},string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},reference:{pattern:/(?:'[^']*'|(?:[^\s()[\]{}<>*?"';,$&]*\[[^^\s()[\]{}<>*?"']+\])?\w+)!/,greedy:!0,alias:"string",inside:{operator:/!$/,punctuation:/'/,sheet:{pattern:/[^[\]]+$/,alias:"function"},file:{pattern:/\[[^[\]]+\]$/,inside:{punctuation:/[[\]]/}},path:/[\s\S]+/}},"function-name":{pattern:/\b[A-Z]\w*(?=\()/i,alias:"builtin"},range:{pattern:/\$?\b(?:[A-Z]+\$?\d+:\$?[A-Z]+\$?\d+|[A-Z]+:\$?[A-Z]+|\d+:\$?\d+)\b/i,alias:"selector",inside:{operator:/:/,cell:/\$?[A-Z]+\$?\d+/i,column:/\$?[A-Z]+/i,row:/\$?\d+/}},cell:{pattern:/\b[A-Z]+\d+\b|\$[A-Za-z]+\$?\d+\b|\b[A-Za-z]+\$\d+\b/,alias:"selector"},number:/(?:\b\d+(?:\.\d+)?|\B\.\d+)(?:e[+-]?\d+)?\b/i,boolean:/\b(?:FALSE|TRUE)\b/i,operator:/[-+*/^%=&,]|<[=>]?|>=?/,punctuation:/[[\]();{}|]/},e.languages.xlsx=e.languages.xls=e.languages["excel-formula"]}function yp(e){e.register(Kc),e.languages.fsharp=e.languages.extend("clike",{comment:[{pattern:/(^|[^\\])\(\*(?!\))[\s\S]*?\*\)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(?:"""[\s\S]*?"""|@"(?:""|[^"])*"|"(?:\\[\s\S]|[^\\"])*")B?/,greedy:!0},"class-name":{pattern:/(\b(?:exception|inherit|interface|new|of|type)\s+|\w\s*:\s*|\s:\??>\s*)[.\w]+\b(?:\s*(?:->|\*)\s*[.\w]+\b)*(?!\s*[:.])/,lookbehind:!0,inside:{operator:/->|\*/,punctuation:/\./}},keyword:/\b(?:let|return|use|yield)(?:!\B|\b)|\b(?:abstract|and|as|asr|assert|atomic|base|begin|break|checked|class|component|const|constraint|constructor|continue|default|delegate|do|done|downcast|downto|eager|elif|else|end|event|exception|extern|external|false|finally|fixed|for|fun|function|functor|global|if|in|include|inherit|inline|interface|internal|land|lazy|lor|lsl|lsr|lxor|match|member|method|mixin|mod|module|mutable|namespace|new|not|null|object|of|open|or|override|parallel|private|process|protected|public|pure|rec|sealed|select|sig|static|struct|tailcall|then|to|trait|true|try|type|upcast|val|virtual|void|volatile|when|while|with)\b/,number:[/\b0x[\da-fA-F]+(?:LF|lf|un)?\b/,/\b0b[01]+(?:uy|y)?\b/,/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[fm]|e[+-]?\d+)?\b/i,/\b\d+(?:[IlLsy]|UL|u[lsy]?)?\b/],operator:/([<>~&^])\1\1|([*.:<>&])\2|<-|->|[!=:]=|<?\|{1,3}>?|\??(?:<=|>=|<>|[-+*/%=<>])\??|[!?^&]|~[+~-]|:>|:\?>?/}),e.languages.insertBefore("fsharp","keyword",{preprocessor:{pattern:/(^[\t ]*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(^#)\b(?:else|endif|if|light|line|nowarn)\b/,lookbehind:!0,alias:"keyword"}}}}),e.languages.insertBefore("fsharp","punctuation",{"computation-expression":{pattern:/\b[_a-z]\w*(?=\s*\{)/i,alias:"keyword"}}),e.languages.insertBefore("fsharp","string",{annotation:{pattern:/\[<.+?>\]/,greedy:!0,inside:{punctuation:/^\[<|>\]$/,"class-name":{pattern:/^\w+$|(^|;\s*)[A-Z]\w*(?=\()/,lookbehind:!0},"annotation-content":{pattern:/[\s\S]+/,inside:e.languages.fsharp}}},char:{pattern:/'(?:[^\\']|\\(?:.|\d{3}|x[a-fA-F\d]{2}|u[a-fA-F\d]{4}|U[a-fA-F\d]{8}))'B?/,greedy:!0}})}function vp(e){!function(e){var t={function:/\b(?:BUGS?|FIX(?:MES?)?|NOTES?|TODOS?|XX+|HACKS?|WARN(?:ING)?|\?{2,}|!{2,})\b/},n={number:/\\[^\s']|%\w/},r={comment:[{pattern:/(^|\s)(?:! .*|!$)/,lookbehind:!0,inside:t},{pattern:/(^|\s)\/\*\s[\s\S]*?\*\/(?=\s|$)/,lookbehind:!0,greedy:!0,inside:t},{pattern:/(^|\s)!\[(={0,6})\[\s[\s\S]*?\]\2\](?=\s|$)/,lookbehind:!0,greedy:!0,inside:t}],number:[{pattern:/(^|\s)[+-]?\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?0(?:b[01]+|o[0-7]+|d\d+|x[\dA-F]+)(?=\s|$)/i,lookbehind:!0},{pattern:/(^|\s)[+-]?\d+\/\d+\.?(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)\+?\d+\+\d+\/\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)-\d+-\d+\/\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?(?:\d*\.\d+|\d+\.\d*|\d+)(?:e[+-]?\d+)?(?=\s|$)/i,lookbehind:!0},{pattern:/(^|\s)NAN:\s+[\da-fA-F]+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?0(?:b1\.[01]*|o1\.[0-7]*|d1\.\d*|x1\.[\dA-F]*)p\d+(?=\s|$)/i,lookbehind:!0}],regexp:{pattern:/(^|\s)R\/\s(?:\\\S|[^\\/])*\/(?:[idmsr]*|[idmsr]+-[idmsr]+)(?=\s|$)/,lookbehind:!0,alias:"number",inside:{variable:/\\\S/,keyword:/[+?*\[\]^$(){}.|]/,operator:{pattern:/(\/)[idmsr]+(?:-[idmsr]+)?/,lookbehind:!0}}},boolean:{pattern:/(^|\s)[tf](?=\s|$)/,lookbehind:!0},"custom-string":{pattern:/(^|\s)[A-Z0-9\-]+"\s(?:\\\S|[^"\\])*"/,lookbehind:!0,greedy:!0,alias:"string",inside:{number:/\\\S|%\w|\//}},"multiline-string":[{pattern:/(^|\s)STRING:\s+\S+(?:\n|\r\n).*(?:\n|\r\n)\s*;(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:{number:n.number,"semicolon-or-setlocal":{pattern:/([\r\n][ \t]*);(?=\s|$)/,lookbehind:!0,alias:"function"}}},{pattern:/(^|\s)HEREDOC:\s+\S+(?:\n|\r\n).*(?:\n|\r\n)\s*\S+(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:n},{pattern:/(^|\s)\[(={0,6})\[\s[\s\S]*?\]\2\](?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:n}],"special-using":{pattern:/(^|\s)USING:(?:\s\S+)*(?=\s+;(?:\s|$))/,lookbehind:!0,alias:"function",inside:{string:{pattern:/(\s)[^:\s]+/,lookbehind:!0}}},"stack-effect-delimiter":[{pattern:/(^|\s)(?:call|eval|execute)?\((?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)--(?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)\)(?=\s|$)/,lookbehind:!0,alias:"operator"}],combinators:{pattern:null,lookbehind:!0,alias:"keyword"},"kernel-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"sequences-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"math-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"constructor-word":{pattern:/(^|\s)<(?!=+>|-+>)\S+>(?=\s|$)/,lookbehind:!0,alias:"keyword"},"other-builtin-syntax":{pattern:null,lookbehind:!0,alias:"operator"},"conventionally-named-word":{pattern:/(^|\s)(?!")(?:(?:change|new|set|with)-\S+|\$\S+|>[^>\s]+|[^:>\s]+>|[^>\s]+>[^>\s]+|\+[^+\s]+\+|[^?\s]+\?|\?[^?\s]+|[^>\s]+>>|>>[^>\s]+|[^<\s]+<<|\([^()\s]+\)|[^!\s]+!|[^*\s]\S*\*|[^.\s]\S*\.)(?=\s|$)/,lookbehind:!0,alias:"keyword"},"colon-syntax":{pattern:/(^|\s)(?:[A-Z0-9\-]+#?)?:{1,2}\s+(?:;\S+|(?!;)\S+)(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"function"},"semicolon-or-setlocal":{pattern:/(\s)(?:;|:>)(?=\s|$)/,lookbehind:!0,alias:"function"},"curly-brace-literal-delimiter":[{pattern:/(^|\s)[a-z]*\{(?=\s)/i,lookbehind:!0,alias:"operator"},{pattern:/(\s)\}(?=\s|$)/,lookbehind:!0,alias:"operator"}],"quotation-delimiter":[{pattern:/(^|\s)\[(?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)\](?=\s|$)/,lookbehind:!0,alias:"operator"}],"normal-word":{pattern:/(^|\s)[^"\s]\S*(?=\s|$)/,lookbehind:!0},string:{pattern:/"(?:\\\S|[^"\\])*"/,greedy:!0,inside:n}},i=function(e){return(e+"").replace(/([.?*+\^$\[\]\\(){}|\-])/g,"\\$1")},o=function(e){return new RegExp("(^|\\s)(?:"+e.map(i).join("|")+")(?=\\s|$)")},a={"kernel-builtin":["or","2nipd","4drop","tuck","wrapper","nip","wrapper?","callstack>array","die","dupd","callstack","callstack?","3dup","hashcode","pick","4nip","build",">boolean","nipd","clone","5nip","eq?","?","=","swapd","2over","clear","2dup","get-retainstack","not","tuple?","dup","3nipd","call","-rotd","object","drop","assert=","assert?","-rot","execute","boa","get-callstack","curried?","3drop","pickd","overd","over","roll","3nip","swap","and","2nip","rotd","throw","(clone)","hashcode*","spin","reach","4dup","equal?","get-datastack","assert","2drop","<wrapper>","boolean?","identity-hashcode","identity-tuple?","null","composed?","new","5drop","rot","-roll","xor","identity-tuple","boolean"],"other-builtin-syntax":["=======","recursive","flushable",">>","<<<<<<","M\\","B","PRIVATE>","\\","======","final","inline","delimiter","deprecated","<PRIVATE",">>>>>>","<<<<<<<","parse-complex","malformed-complex","read-only",">>>>>>>","call-next-method","<<","foldable","$","$[","${"],"sequences-builtin":["member-eq?","mismatch","append","assert-sequence=","longer","repetition","clone-like","3sequence","assert-sequence?","last-index-from","reversed","index-from","cut*","pad-tail","join-as","remove-eq!","concat-as","but-last","snip","nths","nth","sequence","longest","slice?","<slice>","remove-nth","tail-slice","empty?","tail*","member?","virtual-sequence?","set-length","drop-prefix","iota","unclip","bounds-error?","unclip-last-slice","non-negative-integer-expected","non-negative-integer-expected?","midpoint@","longer?","?set-nth","?first","rest-slice","prepend-as","prepend","fourth","sift","subseq-start","new-sequence","?last","like","first4","1sequence","reverse","slice","virtual@","repetition?","set-last","index","4sequence","max-length","set-second","immutable-sequence","first2","first3","supremum","unclip-slice","suffix!","insert-nth","tail","3append","short","suffix","concat","flip","immutable?","reverse!","2sequence","sum","delete-all","indices","snip-slice","<iota>","check-slice","sequence?","head","append-as","halves","sequence=","collapse-slice","?second","slice-error?","product","bounds-check?","bounds-check","immutable","virtual-exemplar","harvest","remove","pad-head","last","set-fourth","cartesian-product","remove-eq","shorten","shorter","reversed?","shorter?","shortest","head-slice","pop*","tail-slice*","but-last-slice","iota?","append!","cut-slice","new-resizable","head-slice*","sequence-hashcode","pop","set-nth","?nth","second","join","immutable-sequence?","<reversed>","3append-as","virtual-sequence","subseq?","remove-nth!","length","last-index","lengthen","assert-sequence","copy","move","third","first","tail?","set-first","prefix","bounds-error","<repetition>","exchange","surround","cut","min-length","set-third","push-all","head?","subseq-start-from","delete-slice","rest","sum-lengths","head*","infimum","remove!","glue","slice-error","subseq","push","replace-slice","subseq-as","unclip-last"],"math-builtin":["number=","next-power-of-2","?1+","fp-special?","imaginary-part","float>bits","number?","fp-infinity?","bignum?","fp-snan?","denominator","gcd","*","+","fp-bitwise=","-","u>=","/",">=","bitand","power-of-2?","log2-expects-positive","neg?","<","log2",">","integer?","number","bits>double","2/","zero?","bits>float","float?","shift","ratio?","rect>","even?","ratio","fp-sign","bitnot",">fixnum","complex?","/i","integer>fixnum","/f","sgn",">bignum","next-float","u<","u>","mod","recip","rational",">float","2^","integer","fixnum?","neg","fixnum","sq","bignum",">rect","bit?","fp-qnan?","simple-gcd","complex","<fp-nan>","real",">fraction","double>bits","bitor","rem","fp-nan-payload","real-part","log2-expects-positive?","prev-float","align","unordered?","float","fp-nan?","abs","bitxor","integer>fixnum-strict","u<=","odd?","<=","/mod",">integer","real?","rational?","numerator"]};Object.keys(a).forEach((function(e){r[e].pattern=o(a[e])})),r.combinators.pattern=o(["2bi","while","2tri","bi*","4dip","both?","same?","tri@","curry","prepose","3bi","?if","tri*","2keep","3keep","curried","2keepd","when","2bi*","2tri*","4keep","bi@","keepdd","do","unless*","tri-curry","if*","loop","bi-curry*","when*","2bi@","2tri@","with","2with","either?","bi","until","3dip","3curry","tri-curry*","tri-curry@","bi-curry","keepd","compose","2dip","if","3tri","unless","tuple","keep","2curry","tri","most","while*","dip","composed","bi-curry@","find-last-from","trim-head-slice","map-as","each-from","none?","trim-tail","partition","if-empty","accumulate*","reject!","find-from","accumulate-as","collector-for-as","reject","map","map-sum","accumulate!","2each-from","follow","supremum-by","map!","unless-empty","collector","padding","reduce-index","replicate-as","infimum-by","trim-tail-slice","count","find-index","filter","accumulate*!","reject-as","map-integers","map-find","reduce","selector","interleave","2map","filter-as","binary-reduce","map-index-as","find","produce","filter!","replicate","cartesian-map","cartesian-each","find-index-from","map-find-last","3map-as","3map","find-last","selector-as","2map-as","2map-reduce","accumulate","each","each-index","accumulate*-as","when-empty","all?","collector-as","push-either","new-like","collector-for","2selector","push-if","2all?","map-reduce","3each","any?","trim-slice","2reduce","change-nth","produce-as","2each","trim","trim-head","cartesian-find","map-index","if-zero","each-integer","unless-zero","(find-integer)","when-zero","find-last-integer","(all-integers?)","times","(each-integer)","find-integer","all-integers?","unless-negative","if-positive","when-positive","when-negative","unless-positive","if-negative","case","2cleave","cond>quot","case>quot","3cleave","wrong-values","to-fixed-point","alist>quot","cond","cleave","call-effect","recursive-hashcode","spread","deep-spread>quot","2||","0||","n||","0&&","2&&","3||","1||","1&&","n&&","3&&","smart-unless*","keep-inputs","reduce-outputs","smart-when*","cleave>array","smart-with","smart-apply","smart-if","inputs/outputs","output>sequence-n","map-outputs","map-reduce-outputs","dropping","output>array","smart-map-reduce","smart-2map-reduce","output>array-n","nullary","input<sequence","append-outputs","drop-inputs","inputs","smart-2reduce","drop-outputs","smart-reduce","preserving","smart-when","outputs","append-outputs-as","smart-unless","smart-if*","sum-outputs","input<sequence-unsafe","output>sequence"]),e.languages.factor=r}(e)}function _p(e){!function(e){e.languages.false={comment:{pattern:/\{[^}]*\}/},string:{pattern:/"[^"]*"/,greedy:!0},"character-code":{pattern:/'(?:[^\r]|\r\n?)/,alias:"number"},"assembler-code":{pattern:/\d+`/,alias:"important"},number:/\d+/,operator:/[-!#$%&'*+,./:;=>?@\\^_`|~ßø]/,punctuation:/\[|\]/,variable:/[a-z]/,"non-standard":{pattern:/[()<BDO®]/,alias:"bold"}}}(e)}function bp(e){e.register(Kc),e.languages["firestore-security-rules"]=e.languages.extend("clike",{comment:/\/\/.*/,keyword:/\b(?:allow|function|if|match|null|return|rules_version|service)\b/,operator:/&&|\|\||[<>!=]=?|[-+*/%]|\b(?:in|is)\b/}),delete e.languages["firestore-security-rules"]["class-name"],e.languages.insertBefore("firestore-security-rules","keyword",{path:{pattern:/(^|[\s(),])(?:\/(?:[\w\xA0-\uFFFF]+|\{[\w\xA0-\uFFFF]+(?:=\*\*)?\}|\$\([\w\xA0-\uFFFF.]+\)))+/,lookbehind:!0,greedy:!0,inside:{variable:{pattern:/\{[\w\xA0-\uFFFF]+(?:=\*\*)?\}|\$\([\w\xA0-\uFFFF.]+\)/,inside:{operator:/=/,keyword:/\*\*/,punctuation:/[.$(){}]/}},punctuation:/\//}},method:{pattern:/(\ballow\s+)[a-z]+(?:\s*,\s*[a-z]+)*(?=\s*[:;])/,lookbehind:!0,alias:"builtin",inside:{punctuation:/,/}}})}function Ep(e){e.register(su),function(e){e.languages.flow=e.languages.extend("javascript",{}),e.languages.insertBefore("flow","keyword",{type:[{pattern:/\b(?:[Bb]oolean|Function|[Nn]umber|[Ss]tring|[Ss]ymbol|any|mixed|null|void)\b/,alias:"class-name"}]}),e.languages.flow["function-variable"].pattern=/(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=\s*(?:function\b|(?:\([^()]*\)(?:\s*:\s*\w+)?|(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/i,delete e.languages.flow.parameter,e.languages.insertBefore("flow","operator",{"flow-punctuation":{pattern:/\{\||\|\}/,alias:"punctuation"}}),Array.isArray(e.languages.flow.keyword)||(e.languages.flow.keyword=[e.languages.flow.keyword]),e.languages.flow.keyword.unshift({pattern:/(^|[^$]\b)(?:Class|declare|opaque|type)\b(?!\$)/,lookbehind:!0},{pattern:/(^|[^$]\B)\$(?:Diff|Enum|Exact|Keys|ObjMap|PropertyType|Record|Shape|Subtype|Supertype|await)\b(?!\$)/,lookbehind:!0})}(e)}function Tp(e){e.languages.fortran={"quoted-number":{pattern:/[BOZ](['"])[A-F0-9]+\1/i,alias:"number"},string:{pattern:/(?:\b\w+_)?(['"])(?:\1\1|&(?:\r\n?|\n)(?:[ \t]*!.*(?:\r\n?|\n)|(?![ \t]*!))|(?!\1).)*(?:\1|&)/,inside:{comment:{pattern:/(&(?:\r\n?|\n)\s*)!.*/,lookbehind:!0}}},comment:{pattern:/!.*/,greedy:!0},boolean:/\.(?:FALSE|TRUE)\.(?:_\w+)?/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[ED][+-]?\d+)?(?:_\w+)?/i,keyword:[/\b(?:CHARACTER|COMPLEX|DOUBLE ?PRECISION|INTEGER|LOGICAL|REAL)\b/i,/\b(?:END ?)?(?:BLOCK ?DATA|DO|FILE|FORALL|FUNCTION|IF|INTERFACE|MODULE(?! PROCEDURE)|PROGRAM|SELECT|SUBROUTINE|TYPE|WHERE)\b/i,/\b(?:ALLOCATABLE|ALLOCATE|BACKSPACE|CALL|CASE|CLOSE|COMMON|CONTAINS|CONTINUE|CYCLE|DATA|DEALLOCATE|DIMENSION|DO|END|EQUIVALENCE|EXIT|EXTERNAL|FORMAT|GO ?TO|IMPLICIT(?: NONE)?|INQUIRE|INTENT|INTRINSIC|MODULE PROCEDURE|NAMELIST|NULLIFY|OPEN|OPTIONAL|PARAMETER|POINTER|PRINT|PRIVATE|PUBLIC|READ|RETURN|REWIND|SAVE|SELECT|STOP|TARGET|WHILE|WRITE)\b/i,/\b(?:ASSIGNMENT|DEFAULT|ELEMENTAL|ELSE|ELSEIF|ELSEWHERE|ENTRY|IN|INCLUDE|INOUT|KIND|NULL|ONLY|OPERATOR|OUT|PURE|RECURSIVE|RESULT|SEQUENCE|STAT|THEN|USE)\b/i],operator:[/\*\*|\/\/|=>|[=\/]=|[<>]=?|::|[+\-*=%]|\.[A-Z]+\./i,{pattern:/(^|(?!\().)\/(?!\))/,lookbehind:!0}],punctuation:/\(\/|\/\)|[(),;:&]/}}function xp(e){e.register(yu),function(e){for(var t=/[^<()"']|\((?:<expr>)*\)|<(?!#--)|<#--(?:[^-]|-(?!->))*-->|"(?:[^\\"]|\\.)*"|'(?:[^\\']|\\.)*'/.source,n=0;n<2;n++)t=t.replace(/<expr>/g,(function(){return t}));t=t.replace(/<expr>/g,/[^\s\S]/.source);var r={comment:/<#--[\s\S]*?-->/,string:[{pattern:/\br("|')(?:(?!\1)[^\\]|\\.)*\1/,greedy:!0},{pattern:RegExp(/("|')(?:(?!\1|\$\{)[^\\]|\\.|\$\{(?:(?!\})(?:<expr>))*\})*\1/.source.replace(/<expr>/g,(function(){return t}))),greedy:!0,inside:{interpolation:{pattern:RegExp(/((?:^|[^\\])(?:\\\\)*)\$\{(?:(?!\})(?:<expr>))*\}/.source.replace(/<expr>/g,(function(){return t}))),lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:null}}}}],keyword:/\b(?:as)\b/,boolean:/\b(?:false|true)\b/,"builtin-function":{pattern:/((?:^|[^?])\?\s*)\w+/,lookbehind:!0,alias:"function"},function:/\b\w+(?=\s*\()/,number:/\b\d+(?:\.\d+)?\b/,operator:/\.\.[<*!]?|->|--|\+\+|&&|\|\||\?{1,2}|[-+*/%!=<>]=?|\b(?:gt|gte|lt|lte)\b/,punctuation:/[,;.:()[\]{}]/};r.string[1].inside.interpolation.inside.rest=r,e.languages.ftl={"ftl-comment":{pattern:/^<#--[\s\S]*/,alias:"comment"},"ftl-directive":{pattern:/^<[\s\S]+>$/,inside:{directive:{pattern:/(^<\/?)[#@][a-z]\w*/i,lookbehind:!0,alias:"keyword"},punctuation:/^<\/?|\/?>$/,content:{pattern:/\s*\S[\s\S]*/,alias:"ftl",inside:r}}},"ftl-interpolation":{pattern:/^\$\{[\s\S]*\}$/,inside:{punctuation:/^\$\{|\}$/,content:{pattern:/\s*\S[\s\S]*/,alias:"ftl",inside:r}}}},e.hooks.add("before-tokenize",(function(n){var r=RegExp(/<#--[\s\S]*?-->|<\/?[#@][a-zA-Z](?:<expr>)*?>|\$\{(?:<expr>)*?\}/.source.replace(/<expr>/g,(function(){return t})),"gi");e.languages["markup-templating"].buildPlaceholders(n,"ftl",r)})),e.hooks.add("after-tokenize",(function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"ftl")}))}(e)}function Sp(e){e.register(Kc),e.languages.gamemakerlanguage=e.languages.gml=e.languages.extend("clike",{keyword:/\b(?:break|case|continue|default|do|else|enum|exit|for|globalvar|if|repeat|return|switch|until|var|while)\b/,number:/(?:\b0x[\da-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ulf]{0,4}/i,operator:/--|\+\+|[-+%/=]=?|!=|\*\*?=?|<[<=>]?|>[=>]?|&&?|\^\^?|\|\|?|~|\b(?:and|at|not|or|with|xor)\b/,constant:/\b(?:GM_build_date|GM_version|action_(?:continue|restart|reverse|stop)|all|gamespeed_(?:fps|microseconds)|global|local|noone|other|pi|pointer_(?:invalid|null)|self|timezone_(?:local|utc)|undefined|ev_(?:create|destroy|step|alarm|keyboard|mouse|collision|other|draw|draw_(?:begin|end|post|pre)|keypress|keyrelease|trigger|(?:left|middle|no|right)_button|(?:left|middle|right)_press|(?:left|middle|right)_release|mouse_(?:enter|leave|wheel_down|wheel_up)|global_(?:left|middle|right)_button|global_(?:left|middle|right)_press|global_(?:left|middle|right)_release|joystick(?:1|2)_(?:button1|button2|button3|button4|button5|button6|button7|button8|down|left|right|up)|outside|boundary|game_start|game_end|room_start|room_end|no_more_lives|animation_end|end_of_path|no_more_health|user\d|gui|gui_begin|gui_end|step_(?:begin|end|normal))|vk_(?:alt|anykey|backspace|control|delete|down|end|enter|escape|home|insert|left|nokey|pagedown|pageup|pause|printscreen|return|right|shift|space|tab|up|f\d|numpad\d|add|decimal|divide|lalt|lcontrol|lshift|multiply|ralt|rcontrol|rshift|subtract)|achievement_(?:filter_(?:all_players|favorites_only|friends_only)|friends_info|info|leaderboard_info|our_info|pic_loaded|show_(?:achievement|bank|friend_picker|leaderboard|profile|purchase_prompt|ui)|type_challenge|type_score_challenge)|asset_(?:font|object|path|room|script|shader|sound|sprite|tiles|timeline|unknown)|audio_(?:3d|falloff_(?:exponent_distance|exponent_distance_clamped|inverse_distance|inverse_distance_clamped|linear_distance|linear_distance_clamped|none)|mono|new_system|old_system|stereo)|bm_(?:add|complex|dest_alpha|dest_color|dest_colour|inv_dest_alpha|inv_dest_color|inv_dest_colour|inv_src_alpha|inv_src_color|inv_src_colour|max|normal|one|src_alpha|src_alpha_sat|src_color|src_colour|subtract|zero)|browser_(?:chrome|firefox|ie|ie_mobile|not_a_browser|opera|safari|safari_mobile|tizen|unknown|windows_store)|buffer_(?:bool|f16|f32|f64|fast|fixed|generalerror|grow|invalidtype|network|outofbounds|outofspace|s16|s32|s8|seek_end|seek_relative|seek_start|string|text|u16|u32|u64|u8|vbuffer|wrap)|c_(?:aqua|black|blue|dkgray|fuchsia|gray|green|lime|ltgray|maroon|navy|olive|orange|purple|red|silver|teal|white|yellow)|cmpfunc_(?:always|equal|greater|greaterequal|less|lessequal|never|notequal)|cr_(?:appstart|arrow|beam|cross|default|drag|handpoint|hourglass|none|size_all|size_nesw|size_ns|size_nwse|size_we|uparrow)|cull_(?:clockwise|counterclockwise|noculling)|device_(?:emulator|tablet)|device_ios_(?:ipad|ipad_retina|iphone|iphone5|iphone6|iphone6plus|iphone_retina|unknown)|display_(?:landscape|landscape_flipped|portrait|portrait_flipped)|dll_(?:cdecl|cdel|stdcall)|ds_type_(?:grid|list|map|priority|queue|stack)|ef_(?:cloud|ellipse|explosion|firework|flare|rain|ring|smoke|smokeup|snow|spark|star)|fa_(?:archive|bottom|center|directory|hidden|left|middle|readonly|right|sysfile|top|volumeid)|fb_login_(?:default|fallback_to_webview|forcing_safari|forcing_webview|no_fallback_to_webview|use_system_account)|iap_(?:available|canceled|ev_consume|ev_product|ev_purchase|ev_restore|ev_storeload|failed|purchased|refunded|status_available|status_loading|status_processing|status_restoring|status_unavailable|status_uninitialised|storeload_failed|storeload_ok|unavailable)|leaderboard_type_(?:number|time_mins_secs)|lighttype_(?:dir|point)|matrix_(?:projection|view|world)|mb_(?:any|left|middle|none|right)|network_(?:config_(?:connect_timeout|disable_reliable_udp|enable_reliable_udp|use_non_blocking_socket)|socket_(?:bluetooth|tcp|udp)|type_(?:connect|data|disconnect|non_blocking_connect))|of_challenge_(?:lose|tie|win)|os_(?:android|ios|linux|macosx|ps3|ps4|psvita|unknown|uwp|win32|win8native|windows|winphone|xboxone)|phy_debug_render_(?:aabb|collision_pairs|coms|core_shapes|joints|obb|shapes)|phy_joint_(?:anchor_1_x|anchor_1_y|anchor_2_x|anchor_2_y|angle|angle_limits|damping_ratio|frequency|length_1|length_2|lower_angle_limit|max_force|max_length|max_motor_force|max_motor_torque|max_torque|motor_force|motor_speed|motor_torque|reaction_force_x|reaction_force_y|reaction_torque|speed|translation|upper_angle_limit)|phy_particle_data_flag_(?:category|color|colour|position|typeflags|velocity)|phy_particle_flag_(?:colormixing|colourmixing|elastic|powder|spring|tensile|viscous|wall|water|zombie)|phy_particle_group_flag_(?:rigid|solid)|pr_(?:linelist|linestrip|pointlist|trianglefan|trianglelist|trianglestrip)|ps_(?:distr|shape)_(?:diamond|ellipse|gaussian|invgaussian|line|linear|rectangle)|pt_shape_(?:circle|cloud|disk|explosion|flare|line|pixel|ring|smoke|snow|spark|sphere|square|star)|ty_(?:real|string)|gp_(?:face\d|axislh|axislv|axisrh|axisrv|padd|padl|padr|padu|select|shoulderl|shoulderlb|shoulderr|shoulderrb|start|stickl|stickr)|lb_disp_(?:none|numeric|time_ms|time_sec)|lb_sort_(?:ascending|descending|none)|ov_(?:achievements|community|friends|gamegroup|players|settings)|ugc_(?:filetype_(?:community|microtrans)|list_(?:Favorited|Followed|Published|Subscribed|UsedOrPlayed|VotedDown|VotedOn|VotedUp|WillVoteLater)|match_(?:AllGuides|Artwork|Collections|ControllerBindings|IntegratedGuides|Items|Items_Mtx|Items_ReadyToUse|Screenshots|UsableInGame|Videos|WebGuides)|query_(?:AcceptedForGameRankedByAcceptanceDate|CreatedByFriendsRankedByPublicationDate|FavoritedByFriendsRankedByPublicationDate|NotYetRated)|query_RankedBy(?:NumTimesReported|PublicationDate|TextSearch|TotalVotesAsc|Trend|Vote|VotesUp)|result_success|sortorder_CreationOrder(?:Asc|Desc)|sortorder_(?:ForModeration|LastUpdatedDesc|SubscriptionDateDesc|TitleAsc|VoteScoreDesc)|visibility_(?:friends_only|private|public))|vertex_usage_(?:binormal|blendindices|blendweight|color|colour|depth|fog|normal|position|psize|sample|tangent|texcoord|textcoord)|vertex_type_(?:float\d|color|colour|ubyte4)|input_type|layerelementtype_(?:background|instance|oldtilemap|particlesystem|sprite|tile|tilemap|undefined)|se_(?:chorus|compressor|echo|equalizer|flanger|gargle|none|reverb)|text_type|tile_(?:flip|index_mask|mirror|rotate)|(?:obj|rm|scr|spr)\w+)\b/,variable:/\b(?:alarm|application_surface|async_load|background_(?:alpha|blend|color|colour|foreground|height|hspeed|htiled|index|showcolor|showcolour|visible|vspeed|vtiled|width|x|xscale|y|yscale)|bbox_(?:bottom|left|right|top)|browser_(?:height|width)|caption_(?:health|lives|score)|current_(?:day|hour|minute|month|second|time|weekday|year)|cursor_sprite|debug_mode|delta_time|direction|display_aa|error_(?:last|occurred)|event_(?:action|number|object|type)|fps|fps_real|friction|game_(?:display|project|save)_(?:id|name)|gamemaker_(?:pro|registered|version)|gravity|gravity_direction|(?:h|v)speed|health|iap_data|id|image_(?:alpha|angle|blend|depth|index|number|speed|xscale|yscale)|instance_(?:count|id)|keyboard_(?:key|lastchar|lastkey|string)|layer|lives|mask_index|mouse_(?:button|lastbutton|x|y)|object_index|os_(?:browser|device|type|version)|path_(?:endaction|index|orientation|position|positionprevious|scale|speed)|persistent|phy_(?:rotation|(?:col_normal|collision|com|linear_velocity|position|speed)_(?:x|y)|angular_(?:damping|velocity)|position_(?:x|y)previous|speed|linear_damping|bullet|fixed_rotation|active|mass|inertia|dynamic|kinematic|sleeping|collision_points)|pointer_(?:invalid|null)|room|room_(?:caption|first|height|last|persistent|speed|width)|score|secure_mode|show_(?:health|lives|score)|solid|speed|sprite_(?:height|index|width|xoffset|yoffset)|temp_directory|timeline_(?:index|loop|position|running|speed)|transition_(?:color|kind|steps)|undefined|view_(?:angle|current|enabled|(?:h|v)(?:border|speed)|(?:h|w|x|y)port|(?:h|w|x|y)view|object|surface_id|visible)|visible|webgl_enabled|working_directory|(?:x|y)(?:previous|start)|x|y|argument(?:_relitive|_count|\d)|argument|global|local|other|self)\b/})}function Cp(e){e.languages.gap={shell:{pattern:/^gap>[\s\S]*?(?=^gap>|$(?![\s\S]))/m,greedy:!0,inside:{gap:{pattern:/^(gap>).+(?:(?:\r(?:\n|(?!\n))|\n)>.*)*/,lookbehind:!0,inside:null},punctuation:/^gap>/}},comment:{pattern:/#.*/,greedy:!0},string:{pattern:/(^|[^\\'"])(?:'(?:[^\r\n\\']|\\.){1,10}'|"(?:[^\r\n\\"]|\\.)*"(?!")|"""[\s\S]*?""")/,lookbehind:!0,greedy:!0,inside:{continuation:{pattern:/([\r\n])>/,lookbehind:!0,alias:"punctuation"}}},keyword:/\b(?:Assert|Info|IsBound|QUIT|TryNextMethod|Unbind|and|atomic|break|continue|do|elif|else|end|fi|for|function|if|in|local|mod|not|od|or|quit|readonly|readwrite|rec|repeat|return|then|until|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:{pattern:/(^|[^\w.]|\.\.)(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?(?:_[a-z]?)?(?=$|[^\w.]|\.\.)/,lookbehind:!0},continuation:{pattern:/([\r\n])>/,lookbehind:!0,alias:"punctuation"},operator:/->|[-+*/^~=!]|<>|[<>]=?|:=|\.\./,punctuation:/[()[\]{},;.:]/},e.languages.gap.shell.inside.gap.inside=e.languages.gap}function Ap(e){e.languages.gcode={comment:/;.*|\B\(.*?\)\B/,string:{pattern:/"(?:""|[^"])*"/,greedy:!0},keyword:/\b[GM]\d+(?:\.\d+)?\b/,property:/\b[A-Z]/,checksum:{pattern:/(\*)\d+/,lookbehind:!0,alias:"number"},punctuation:/[:*]/}}function Rp(e){e.languages.gdscript={comment:/#.*/,string:{pattern:/@?(?:("|')(?:(?!\1)[^\n\\]|\\[\s\S])*\1(?!"|')|"""(?:[^\\]|\\[\s\S])*?""")/,greedy:!0},"class-name":{pattern:/(^(?:class|class_name|extends)[ \t]+|^export\([ \t]*|\bas[ \t]+|(?:\b(?:const|var)[ \t]|[,(])[ \t]*\w+[ \t]*:[ \t]*|->[ \t]*)[a-zA-Z_]\w*/m,lookbehind:!0},keyword:/\b(?:and|as|assert|break|breakpoint|class|class_name|const|continue|elif|else|enum|export|extends|for|func|if|in|is|master|mastersync|match|not|null|onready|or|pass|preload|puppet|puppetsync|remote|remotesync|return|self|setget|signal|static|tool|var|while|yield)\b/,function:/\b[a-z_]\w*(?=[ \t]*\()/i,variable:/\$\w+/,number:[/\b0b[01_]+\b|\b0x[\da-fA-F_]+\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.[\d_]+)(?:e[+-]?[\d_]+)?\b/,/\b(?:INF|NAN|PI|TAU)\b/],constant:/\b[A-Z][A-Z_\d]*\b/,boolean:/\b(?:false|true)\b/,operator:/->|:=|&&|\|\||<<|>>|[-+*/%&|!<>=]=?|[~^]/,punctuation:/[.:,;()[\]{}]/}}function wp(e){e.languages.gedcom={"line-value":{pattern:/(^[\t ]*\d+ +(?:@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@ +)?\w+ ).+/m,lookbehind:!0,inside:{pointer:{pattern:/^@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@$/,alias:"variable"}}},record:{pattern:/(^[\t ]*\d+ +(?:@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@ +)?)\w+/m,lookbehind:!0,alias:"tag"},level:{pattern:/(^[\t ]*)\d+/m,lookbehind:!0,alias:"number"},pointer:{pattern:/@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@/,alias:"variable"}}}function Lp(e){e.languages.gettext={comment:[{pattern:/# .*/,greedy:!0,alias:"translator-comment"},{pattern:/#\..*/,greedy:!0,alias:"extracted-comment"},{pattern:/#:.*/,greedy:!0,alias:"reference-comment"},{pattern:/#,.*/,greedy:!0,alias:"flag-comment"},{pattern:/#\|.*/,greedy:!0,alias:"previously-untranslated-comment"},{pattern:/#.*/,greedy:!0}],string:{pattern:/(^|[^\\])"(?:[^"\\]|\\.)*"/,lookbehind:!0,greedy:!0},keyword:/^msg(?:ctxt|id|id_plural|str)\b/m,number:/\b\d+\b/,punctuation:/[\[\]]/},e.languages.po=e.languages.gettext}function Op(e){!function(e){var t=/(?:\r?\n|\r)[ \t]*\|.+\|(?:(?!\|).)*/.source;e.languages.gherkin={pystring:{pattern:/("""|''')[\s\S]+?\1/,alias:"string"},comment:{pattern:/(^[ \t]*)#.*/m,lookbehind:!0},tag:{pattern:/(^[ \t]*)@\S*/m,lookbehind:!0},feature:{pattern:/((?:^|\r?\n|\r)[ \t]*)(?:Ability|Ahoy matey!|Arwedd|Aspekt|Besigheid Behoefte|Business Need|Caracteristica|Característica|Egenskab|Egenskap|Eiginleiki|Feature|Fīča|Fitur|Fonctionnalité|Fonksyonalite|Funcionalidade|Funcionalitat|Functionalitate|Funcţionalitate|Funcționalitate|Functionaliteit|Fungsi|Funkcia|Funkcija|Funkcionalitāte|Funkcionalnost|Funkcja|Funksie|Funktionalität|Funktionalitéit|Funzionalità|Hwaet|Hwæt|Jellemző|Karakteristik|Lastnost|Mak|Mogucnost|laH|Mogućnost|Moznosti|Možnosti|OH HAI|Omadus|Ominaisuus|Osobina|Özellik|Potrzeba biznesowa|perbogh|poQbogh malja'|Požadavek|Požiadavka|Pretty much|Qap|Qu'meH 'ut|Savybė|Tính năng|Trajto|Vermoë|Vlastnosť|Właściwość|Značilnost|Δυνατότητα|Λειτουργία|Могућност|Мөмкинлек|Особина|Свойство|Үзенчәлеклелек|Функционал|Функционалност|Функция|Функціонал|תכונה|خاصية|خصوصیت|صلاحیت|کاروبار کی ضرورت|وِیژگی|रूप लेख|ਖਾਸੀਅਤ|ਨਕਸ਼ ਨੁਹਾਰ|ਮੁਹਾਂਦਰਾ|గుణము|ಹೆಚ್ಚಳ|ความต้องการทางธุรกิจ|ความสามารถ|โครงหลัก|기능|フィーチャ|功能|機能):(?:[^:\r\n]+(?:\r?\n|\r|$))*/,lookbehind:!0,inside:{important:{pattern:/(:)[^\r\n]+/,lookbehind:!0},keyword:/[^:\r\n]+:/}},scenario:{pattern:/(^[ \t]*)(?:Abstract Scenario|Abstrakt Scenario|Achtergrond|Aer|Ær|Agtergrond|All y'all|Antecedentes|Antecedents|Atburðarás|Atburðarásir|Awww, look mate|B4|Background|Baggrund|Bakgrund|Bakgrunn|Bakgrunnur|Beispiele|Beispiller|Bối cảnh|Cefndir|Cenario|Cenário|Cenario de Fundo|Cenário de Fundo|Cenarios|Cenários|Contesto|Context|Contexte|Contexto|Conto|Contoh|Contone|Dæmi|Dasar|Dead men tell no tales|Delineacao do Cenario|Delineação do Cenário|Dis is what went down|Dữ liệu|Dyagram Senaryo|Dyagram senaryo|Egzanp|Ejemplos|Eksempler|Ekzemploj|Enghreifftiau|Esbozo do escenario|Escenari|Escenario|Esempi|Esquema de l'escenari|Esquema del escenario|Esquema do Cenario|Esquema do Cenário|EXAMPLZ|Examples|Exempel|Exemple|Exemples|Exemplos|First off|Fono|Forgatókönyv|Forgatókönyv vázlat|Fundo|Geçmiş|Grundlage|Hannergrond|ghantoH|Háttér|Heave to|Istorik|Juhtumid|Keadaan|Khung kịch bản|Khung tình huống|Kịch bản|Koncept|Konsep skenario|Kontèks|Kontekst|Kontekstas|Konteksts|Kontext|Konturo de la scenaro|Latar Belakang|lut chovnatlh|lut|lutmey|Lýsing Atburðarásar|Lýsing Dæma|MISHUN SRSLY|MISHUN|Menggariskan Senario|mo'|Náčrt Scenára|Náčrt Scénáře|Náčrt Scenáru|Oris scenarija|Örnekler|Osnova|Osnova Scenára|Osnova scénáře|Osnutek|Ozadje|Paraugs|Pavyzdžiai|Példák|Piemēri|Plan du scénario|Plan du Scénario|Plan Senaryo|Plan senaryo|Plang vum Szenario|Pozadí|Pozadie|Pozadina|Príklady|Příklady|Primer|Primeri|Primjeri|Przykłady|Raamstsenaarium|Reckon it's like|Rerefons|Scenár|Scénář|Scenarie|Scenarij|Scenarijai|Scenarijaus šablonas|Scenariji|Scenārijs|Scenārijs pēc parauga|Scenarijus|Scenario|Scénario|Scenario Amlinellol|Scenario Outline|Scenario Template|Scenariomal|Scenariomall|Scenarios|Scenariu|Scenariusz|Scenaro|Schema dello scenario|Se ðe|Se the|Se þe|Senario|Senaryo Deskripsyon|Senaryo deskripsyon|Senaryo|Senaryo taslağı|Shiver me timbers|Situācija|Situai|Situasie Uiteensetting|Situasie|Skenario konsep|Skenario|Skica|Structura scenariu|Structură scenariu|Struktura scenarija|Stsenaarium|Swa hwaer swa|Swa|Swa hwær swa|Szablon scenariusza|Szenario|Szenariogrundriss|Tapaukset|Tapaus|Tapausaihio|Taust|Tausta|Template Keadaan|Template Senario|Template Situai|The thing of it is|Tình huống|Variantai|Voorbeelde|Voorbeelden|Wharrimean is|Yo-ho-ho|You'll wanna|Założenia|Παραδείγματα|Περιγραφή Σεναρίου|Σενάρια|Σενάριο|Υπόβαθρο|Кереш|Контекст|Концепт|Мисаллар|Мисоллар|Основа|Передумова|Позадина|Предистория|Предыстория|Приклади|Пример|Примери|Примеры|Рамка на сценарий|Скица|Структура сценарија|Структура сценария|Структура сценарію|Сценарий|Сценарий структураси|Сценарийның төзелеше|Сценарији|Сценарио|Сценарій|Тарих|Үрнәкләр|דוגמאות|רקע|תבנית תרחיש|תרחיש|الخلفية|الگوی سناریو|امثلة|پس منظر|زمینه|سناریو|سيناريو|سيناريو مخطط|مثالیں|منظر نامے کا خاکہ|منظرنامہ|نمونه ها|उदाहरण|परिदृश्य|परिदृश्य रूपरेखा|पृष्ठभूमि|ਉਦਾਹਰਨਾਂ|ਪਟਕਥਾ|ਪਟਕਥਾ ਢਾਂਚਾ|ਪਟਕਥਾ ਰੂਪ ਰੇਖਾ|ਪਿਛੋਕੜ|ఉదాహరణలు|కథనం|నేపథ్యం|సన్నివేశం|ಉದಾಹರಣೆಗಳು|ಕಥಾಸಾರಾಂಶ|ವಿವರಣೆ|ಹಿನ್ನೆಲೆ|โครงสร้างของเหตุการณ์|ชุดของตัวอย่าง|ชุดของเหตุการณ์|แนวคิด|สรุปเหตุการณ์|เหตุการณ์|배경|시나리오|시나리오 개요|예|サンプル|シナリオ|シナリオアウトライン|シナリオテンプレ|シナリオテンプレート|テンプレ|例|例子|剧本|剧本大纲|劇本|劇本大綱|场景|场景大纲|場景|場景大綱|背景):[^:\r\n]*/m,lookbehind:!0,inside:{important:{pattern:/(:)[^\r\n]*/,lookbehind:!0},keyword:/[^:\r\n]+:/}},"table-body":{pattern:RegExp("("+t+")(?:"+t+")+"),lookbehind:!0,inside:{outline:{pattern:/<[^>]+>/,alias:"variable"},td:{pattern:/\s*[^\s|][^|]*/,alias:"string"},punctuation:/\|/}},"table-head":{pattern:RegExp(t),inside:{th:{pattern:/\s*[^\s|][^|]*/,alias:"variable"},punctuation:/\|/}},atrule:{pattern:/(^[ \t]+)(?:'a|'ach|'ej|7|a|A také|A taktiež|A tiež|A zároveň|Aber|Ac|Adott|Akkor|Ak|Aleshores|Ale|Ali|Allora|Alors|Als|Ama|Amennyiben|Amikor|Ampak|an|AN|Ananging|And y'all|And|Angenommen|Anrhegedig a|An|Apabila|Atès|Atesa|Atunci|Avast!|Aye|A|awer|Bagi|Banjur|Bet|Biết|Blimey!|Buh|But at the end of the day I reckon|But y'all|But|BUT|Cal|Când|Cand|Cando|Ce|Cuando|Če|Ða ðe|Ða|Dadas|Dada|Dados|Dado|DaH ghu' bejlu'|dann|Dann|Dano|Dan|Dar|Dat fiind|Data|Date fiind|Date|Dati fiind|Dati|Daţi fiind|Dați fiind|DEN|Dato|De|Den youse gotta|Dengan|Diberi|Diyelim ki|Donada|Donat|Donitaĵo|Do|Dun|Duota|Ðurh|Eeldades|Ef|Eğer ki|Entao|Então|Entón|E|En|Entonces|Epi|És|Etant donnée|Etant donné|Et|Étant données|Étant donnée|Étant donné|Etant données|Etant donnés|Étant donnés|Fakat|Gangway!|Gdy|Gegeben seien|Gegeben sei|Gegeven|Gegewe|ghu' noblu'|Gitt|Given y'all|Given|Givet|Givun|Ha|Cho|I CAN HAZ|In|Ir|It's just unbelievable|I|Ja|Jeśli|Jeżeli|Kad|Kada|Kadar|Kai|Kaj|Když|Keď|Kemudian|Ketika|Khi|Kiedy|Ko|Kuid|Kui|Kun|Lan|latlh|Le sa a|Let go and haul|Le|Lè sa a|Lè|Logo|Lorsqu'<|Lorsque|mä|Maar|Mais|Mając|Ma|Majd|Maka|Manawa|Mas|Men|Menawa|Mutta|Nalika|Nalikaning|Nanging|Når|När|Nato|Nhưng|Niin|Njuk|O zaman|Och|Og|Oletetaan|Ond|Onda|Oraz|Pak|Pero|Però|Podano|Pokiaľ|Pokud|Potem|Potom|Privzeto|Pryd|Quan|Quand|Quando|qaSDI'|Så|Sed|Se|Siis|Sipoze ke|Sipoze Ke|Sipoze|Si|Şi|Și|Soit|Stel|Tada|Tad|Takrat|Tak|Tapi|Ter|Tetapi|Tha the|Tha|Then y'all|Then|Thì|Thurh|Toda|Too right|Un|Und|ugeholl|Và|vaj|Vendar|Ve|wann|Wanneer|WEN|Wenn|When y'all|When|Wtedy|Wun|Y'know|Yeah nah|Yna|Youse know like when|Youse know when youse got|Y|Za predpokladu|Za předpokladu|Zadan|Zadani|Zadano|Zadate|Zadato|Zakładając|Zaradi|Zatati|Þa þe|Þa|Þá|Þegar|Þurh|Αλλά|Δεδομένου|Και|Όταν|Τότε|А також|Агар|Але|Али|Аммо|А|Әгәр|Әйтик|Әмма|Бирок|Ва|Вә|Дадено|Дано|Допустим|Если|Задате|Задати|Задато|И|І|К тому же|Када|Кад|Когато|Когда|Коли|Ләкин|Лекин|Нәтиҗәдә|Нехай|Но|Онда|Припустимо, що|Припустимо|Пусть|Также|Та|Тогда|Тоді|То|Унда|Һәм|Якщо|אבל|אזי|אז|בהינתן|וגם|כאשר|آنگاه|اذاً|اگر|اما|اور|با فرض|بالفرض|بفرض|پھر|تب|ثم|جب|عندما|فرض کیا|لكن|لیکن|متى|هنگامی|و|अगर|और|कदा|किन्तु|चूंकि|जब|तथा|तदा|तब|परन्तु|पर|यदि|ਅਤੇ|ਜਦੋਂ|ਜਿਵੇਂ ਕਿ|ਜੇਕਰ|ਤਦ|ਪਰ|అప్పుడు|ఈ పరిస్థితిలో|కాని|చెప్పబడినది|మరియు|ಆದರೆ|ನಂತರ|ನೀಡಿದ|ಮತ್ತು|ಸ್ಥಿತಿಯನ್ನು|กำหนดให้|ดังนั้น|แต่|เมื่อ|และ|그러면<|그리고<|단<|만약<|만일<|먼저<|조건<|하지만<|かつ<|しかし<|ただし<|ならば<|もし<|並且<|但し<|但是<|假如<|假定<|假設<|假设<|前提<|同时<|同時<|并且<|当<|當<|而且<|那么<|那麼<)(?=[ \t])/m,lookbehind:!0},string:{pattern:/"(?:\\.|[^"\\\r\n])*"|'(?:\\.|[^'\\\r\n])*'/,inside:{outline:{pattern:/<[^>]+>/,alias:"variable"}}},outline:{pattern:/<[^>]+>/,alias:"variable"}}}(e)}function Np(e){e.languages.git={comment:/^#.*/m,deleted:/^[-–].*/m,inserted:/^\+.*/m,string:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,command:{pattern:/^.*\$ git .*$/m,inside:{parameter:/\s--?\w+/}},coord:/^@@.*@@$/m,"commit-sha1":/^commit \w{40}$/m}}function Ip(e){e.register(qc),e.languages.glsl=e.languages.extend("c",{keyword:/\b(?:active|asm|atomic_uint|attribute|[ibdu]?vec[234]|bool|break|buffer|case|cast|centroid|class|coherent|common|const|continue|d?mat[234](?:x[234])?|default|discard|do|double|else|enum|extern|external|false|filter|fixed|flat|float|for|fvec[234]|goto|half|highp|hvec[234]|[iu]?sampler2DMS(?:Array)?|[iu]?sampler2DRect|[iu]?samplerBuffer|[iu]?samplerCube|[iu]?samplerCubeArray|[iu]?sampler[123]D|[iu]?sampler[12]DArray|[iu]?image2DMS(?:Array)?|[iu]?image2DRect|[iu]?imageBuffer|[iu]?imageCube|[iu]?imageCubeArray|[iu]?image[123]D|[iu]?image[12]DArray|if|in|inline|inout|input|int|interface|invariant|layout|long|lowp|mediump|namespace|noinline|noperspective|out|output|partition|patch|precise|precision|public|readonly|resource|restrict|return|sample|sampler[12]DArrayShadow|sampler[12]DShadow|sampler2DRectShadow|sampler3DRect|samplerCubeArrayShadow|samplerCubeShadow|shared|short|sizeof|smooth|static|struct|subroutine|superp|switch|template|this|true|typedef|uint|uniform|union|unsigned|using|varying|void|volatile|while|writeonly)\b/})}function kp(e){e.languages.gn={comment:{pattern:/#.*/,greedy:!0},"string-literal":{pattern:/(^|[^\\"])"(?:[^\r\n"\\]|\\.)*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\{[\s\S]*?\}|[a-zA-Z_]\w*|0x[a-fA-F0-9]{2})/,lookbehind:!0,inside:{number:/^\$0x[\s\S]{2}$/,variable:/^\$\w+$/,"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:null}}},string:/[\s\S]+/}},keyword:/\b(?:else|if)\b/,boolean:/\b(?:false|true)\b/,"builtin-function":{pattern:/\b(?:assert|defined|foreach|import|pool|print|template|tool|toolchain)(?=\s*\()/i,alias:"keyword"},function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:current_cpu|current_os|current_toolchain|default_toolchain|host_cpu|host_os|root_build_dir|root_gen_dir|root_out_dir|target_cpu|target_gen_dir|target_os|target_out_dir)\b/,number:/-?\b\d+\b/,operator:/[-+!=<>]=?|&&|\|\|/,punctuation:/[(){}[\],.]/},e.languages.gn["string-literal"].inside.interpolation.inside.expression.inside=e.languages.gn,e.languages.gni=e.languages.gn}function Dp(e){e.languages["linker-script"]={comment:{pattern:/(^|\s)\/\*[\s\S]*?(?:$|\*\/)/,lookbehind:!0,greedy:!0},identifier:{pattern:/"[^"\r\n]*"/,greedy:!0},"location-counter":{pattern:/\B\.\B/,alias:"important"},section:{pattern:/(^|[^\w*])\.\w+\b/,lookbehind:!0,alias:"keyword"},function:/\b[A-Z][A-Z_]*(?=\s*\()/,number:/\b(?:0[xX][a-fA-F0-9]+|\d+)[KM]?\b/,operator:/>>=?|<<=?|->|\+\+|--|&&|\|\||::|[?:~]|[-+*/%&|^!=<>]=?/,punctuation:/[(){},;]/},e.languages.ld=e.languages["linker-script"]}function Pp(e){e.languages["go-mod"]=e.languages["go-module"]={comment:{pattern:/\/\/.*/,greedy:!0},version:{pattern:/(^|[\s()[\],])v\d+\.\d+\.\d+(?:[+-][-+.\w]*)?(?![^\s()[\],])/,lookbehind:!0,alias:"number"},"go-version":{pattern:/((?:^|\s)go\s+)\d+(?:\.\d+){1,2}/,lookbehind:!0,alias:"number"},keyword:{pattern:/^([ \t]*)(?:exclude|go|module|replace|require|retract)\b/m,lookbehind:!0},operator:/=>/,punctuation:/[()[\],]/}}function Mp(e){e.register(Kc),function(e){var t={pattern:/((?:^|[^\\$])(?:\\{2})*)\$(?:\w+|\{[^{}]*\})/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:null}}};e.languages.gradle=e.languages.extend("clike",{string:{pattern:/'''(?:[^\\]|\\[\s\S])*?'''|'(?:\\.|[^\\'\r\n])*'/,greedy:!0},keyword:/\b(?:apply|def|dependencies|else|if|implementation|import|plugin|plugins|project|repositories|repository|sourceSets|tasks|val)\b/,number:/\b(?:0b[01_]+|0x[\da-f_]+(?:\.[\da-f_p\-]+)?|[\d_]+(?:\.[\d_]+)?(?:e[+-]?\d+)?)[glidf]?\b/i,operator:{pattern:/(^|[^.])(?:~|==?~?|\?[.:]?|\*(?:[.=]|\*=?)?|\.[@&]|\.\.<|\.\.(?!\.)|-[-=>]?|\+[+=]?|!=?|<(?:<=?|=>?)?|>(?:>>?=?|=)?|&[&=]?|\|[|=]?|\/=?|\^=?|%=?)/,lookbehind:!0},punctuation:/\.+|[{}[\];(),:$]/}),e.languages.insertBefore("gradle","string",{shebang:{pattern:/#!.+/,alias:"comment",greedy:!0},"interpolation-string":{pattern:/"""(?:[^\\]|\\[\s\S])*?"""|(["/])(?:\\.|(?!\1)[^\\\r\n])*\1|\$\/(?:[^/$]|\$(?:[/$]|(?![/$]))|\/(?!\$))*\/\$/,greedy:!0,inside:{interpolation:t,string:/[\s\S]+/}}}),e.languages.insertBefore("gradle","punctuation",{"spock-block":/\b(?:and|cleanup|expect|given|setup|then|when|where):/}),e.languages.insertBefore("gradle","function",{annotation:{pattern:/(^|[^.])@\w+/,lookbehind:!0,alias:"punctuation"}}),t.inside.expression.inside=e.languages.gradle}(e)}function Fp(e){e.languages.graphql={comment:/#.*/,description:{pattern:/(?:"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*")(?=\s*[a-z_])/i,greedy:!0,alias:"string",inside:{"language-markdown":{pattern:/(^"(?:"")?)(?!\1)[\s\S]+(?=\1$)/,lookbehind:!0,inside:e.languages.markdown}}},string:{pattern:/"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},number:/(?:\B-|\b)\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,boolean:/\b(?:false|true)\b/,variable:/\$[a-z_]\w*/i,directive:{pattern:/@[a-z_]\w*/i,alias:"function"},"attr-name":{pattern:/\b[a-z_]\w*(?=\s*(?:\((?:[^()"]|"(?:\\.|[^\\"\r\n])*")*\))?:)/i,greedy:!0},"atom-input":{pattern:/\b[A-Z]\w*Input\b/,alias:"class-name"},scalar:/\b(?:Boolean|Float|ID|Int|String)\b/,constant:/\b[A-Z][A-Z_\d]*\b/,"class-name":{pattern:/(\b(?:enum|implements|interface|on|scalar|type|union)\s+|&\s*|:\s*|\[)[A-Z_]\w*/,lookbehind:!0},fragment:{pattern:/(\bfragment\s+|\.{3}\s*(?!on\b))[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-mutation":{pattern:/(\bmutation\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-query":{pattern:/(\bquery\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},keyword:/\b(?:directive|enum|extend|fragment|implements|input|interface|mutation|on|query|repeatable|scalar|schema|subscription|type|union)\b/,operator:/[!=|&]|\.{3}/,"property-query":/\w+(?=\s*\()/,object:/\w+(?=\s*\{)/,punctuation:/[!(){}\[\]:=,]/,property:/\w+/},e.hooks.add("after-tokenize",(function(e){if("graphql"===e.language)for(var t=e.tokens.filter((function(e){return"string"!=typeof e&&"comment"!==e.type&&"scalar"!==e.type})),n=0;n<t.length;){var r=t[n++];if("keyword"===r.type&&"mutation"===r.content){var i=[];if(h(["definition-mutation","punctuation"])&&"("===u(1).content){n+=2;var o=p(/^\($/,/^\)$/);if(-1===o)continue;for(;n<o;n++){var a=u(0);"variable"===a.type&&(d(a,"variable-input"),i.push(a.content))}n=o+1}if(h(["punctuation","property-query"])&&"{"===u(0).content&&(n++,d(u(0),"property-mutation"),i.length>0)){var s=p(/^\{$/,/^\}$/);if(-1===s)continue;for(var l=n;l<s;l++){var c=t[l];"variable"===c.type&&i.indexOf(c.content)>=0&&d(c,"variable-input")}}}}function u(e){return t[n+e]}function h(e,t){t=t||0;for(var n=0;n<e.length;n++){var r=u(n+t);if(!r||r.type!==e[n])return!1}return!0}function p(e,r){for(var i=1,o=n;o<t.length;o++){var a=t[o],s=a.content;if("punctuation"===a.type&&"string"==typeof s)if(e.test(s))i++;else if(r.test(s)&&0==--i)return o}return-1}function d(e,t){var n=e.alias;n?Array.isArray(n)||(e.alias=n=[n]):e.alias=n=[],n.push(t)}}))}function Hp(e){e.register(Kc),function(e){var t={pattern:/((?:^|[^\\$])(?:\\{2})*)\$(?:\w+|\{[^{}]*\})/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:null}}};e.languages.groovy=e.languages.extend("clike",{string:{pattern:/'''(?:[^\\]|\\[\s\S])*?'''|'(?:\\.|[^\\'\r\n])*'/,greedy:!0},keyword:/\b(?:abstract|as|assert|boolean|break|byte|case|catch|char|class|const|continue|def|default|do|double|else|enum|extends|final|finally|float|for|goto|if|implements|import|in|instanceof|int|interface|long|native|new|package|private|protected|public|return|short|static|strictfp|super|switch|synchronized|this|throw|throws|trait|transient|try|void|volatile|while)\b/,number:/\b(?:0b[01_]+|0x[\da-f_]+(?:\.[\da-f_p\-]+)?|[\d_]+(?:\.[\d_]+)?(?:e[+-]?\d+)?)[glidf]?\b/i,operator:{pattern:/(^|[^.])(?:~|==?~?|\?[.:]?|\*(?:[.=]|\*=?)?|\.[@&]|\.\.<|\.\.(?!\.)|-[-=>]?|\+[+=]?|!=?|<(?:<=?|=>?)?|>(?:>>?=?|=)?|&[&=]?|\|[|=]?|\/=?|\^=?|%=?)/,lookbehind:!0},punctuation:/\.+|[{}[\];(),:$]/}),e.languages.insertBefore("groovy","string",{shebang:{pattern:/#!.+/,alias:"comment",greedy:!0},"interpolation-string":{pattern:/"""(?:[^\\]|\\[\s\S])*?"""|(["/])(?:\\.|(?!\1)[^\\\r\n])*\1|\$\/(?:[^/$]|\$(?:[/$]|(?![/$]))|\/(?!\$))*\/\$/,greedy:!0,inside:{interpolation:t,string:/[\s\S]+/}}}),e.languages.insertBefore("groovy","punctuation",{"spock-block":/\b(?:and|cleanup|expect|given|setup|then|when|where):/}),e.languages.insertBefore("groovy","function",{annotation:{pattern:/(^|[^.])@\w+/,lookbehind:!0,alias:"punctuation"}}),t.inside.expression.inside=e.languages.groovy}(e)}function Bp(e){e.register(eu),function(e){var t=/\([^|()\n]+\)|\[[^\]\n]+\]|\{[^}\n]+\}/.source,n=/\)|\((?![^|()\n]+\))/.source;function r(e,r){return RegExp(e.replace(/<MOD>/g,(function(){return"(?:"+t+")"})).replace(/<PAR>/g,(function(){return"(?:"+n+")"})),r||"")}var i={css:{pattern:/\{[^{}]+\}/,inside:{rest:e.languages.css}},"class-id":{pattern:/(\()[^()]+(?=\))/,lookbehind:!0,alias:"attr-value"},lang:{pattern:/(\[)[^\[\]]+(?=\])/,lookbehind:!0,alias:"attr-value"},punctuation:/[\\\/]\d+|\S/},o=e.languages.textile=e.languages.extend("markup",{phrase:{pattern:/(^|\r|\n)\S[\s\S]*?(?=$|\r?\n\r?\n|\r\r)/,lookbehind:!0,inside:{"block-tag":{pattern:r(/^[a-z]\w*(?:<MOD>|<PAR>|[<>=])*\./.source),inside:{modifier:{pattern:r(/(^[a-z]\w*)(?:<MOD>|<PAR>|[<>=])+(?=\.)/.source),lookbehind:!0,inside:i},tag:/^[a-z]\w*/,punctuation:/\.$/}},list:{pattern:r(/^[*#]+<MOD>*\s+\S.*/.source,"m"),inside:{modifier:{pattern:r(/(^[*#]+)<MOD>+/.source),lookbehind:!0,inside:i},punctuation:/^[*#]+/}},table:{pattern:r(/^(?:(?:<MOD>|<PAR>|[<>=^~])+\.\s*)?(?:\|(?:(?:<MOD>|<PAR>|[<>=^~_]|[\\/]\d+)+\.|(?!(?:<MOD>|<PAR>|[<>=^~_]|[\\/]\d+)+\.))[^|]*)+\|/.source,"m"),inside:{modifier:{pattern:r(/(^|\|(?:\r?\n|\r)?)(?:<MOD>|<PAR>|[<>=^~_]|[\\/]\d+)+(?=\.)/.source),lookbehind:!0,inside:i},punctuation:/\||^\./}},inline:{pattern:r(/(^|[^a-zA-Z\d])(\*\*|__|\?\?|[*_%@+\-^~])<MOD>*.+?\2(?![a-zA-Z\d])/.source),lookbehind:!0,inside:{bold:{pattern:r(/(^(\*\*?)<MOD>*).+?(?=\2)/.source),lookbehind:!0},italic:{pattern:r(/(^(__?)<MOD>*).+?(?=\2)/.source),lookbehind:!0},cite:{pattern:r(/(^\?\?<MOD>*).+?(?=\?\?)/.source),lookbehind:!0,alias:"string"},code:{pattern:r(/(^@<MOD>*).+?(?=@)/.source),lookbehind:!0,alias:"keyword"},inserted:{pattern:r(/(^\+<MOD>*).+?(?=\+)/.source),lookbehind:!0},deleted:{pattern:r(/(^-<MOD>*).+?(?=-)/.source),lookbehind:!0},span:{pattern:r(/(^%<MOD>*).+?(?=%)/.source),lookbehind:!0},modifier:{pattern:r(/(^\*\*|__|\?\?|[*_%@+\-^~])<MOD>+/.source),lookbehind:!0,inside:i},punctuation:/[*_%?@+\-^~]+/}},"link-ref":{pattern:/^\[[^\]]+\]\S+$/m,inside:{string:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0},url:{pattern:/(^\])\S+$/,lookbehind:!0},punctuation:/[\[\]]/}},link:{pattern:r(/"<MOD>*[^"]+":.+?(?=[^\w/]?(?:\s|$))/.source),inside:{text:{pattern:r(/(^"<MOD>*)[^"]+(?=")/.source),lookbehind:!0},modifier:{pattern:r(/(^")<MOD>+/.source),lookbehind:!0,inside:i},url:{pattern:/(:).+/,lookbehind:!0},punctuation:/[":]/}},image:{pattern:r(/!(?:<MOD>|<PAR>|[<>=])*(?![<>=])[^!\s()]+(?:\([^)]+\))?!(?::.+?(?=[^\w/]?(?:\s|$)))?/.source),inside:{source:{pattern:r(/(^!(?:<MOD>|<PAR>|[<>=])*)(?![<>=])[^!\s()]+(?:\([^)]+\))?(?=!)/.source),lookbehind:!0,alias:"url"},modifier:{pattern:r(/(^!)(?:<MOD>|<PAR>|[<>=])+/.source),lookbehind:!0,inside:i},url:{pattern:/(:).+/,lookbehind:!0},punctuation:/[!:]/}},footnote:{pattern:/\b\[\d+\]/,alias:"comment",inside:{punctuation:/\[|\]/}},acronym:{pattern:/\b[A-Z\d]+\([^)]+\)/,inside:{comment:{pattern:/(\()[^()]+(?=\))/,lookbehind:!0},punctuation:/[()]/}},mark:{pattern:/\b\((?:C|R|TM)\)/,alias:"comment",inside:{punctuation:/[()]/}}}}}),a=o.phrase.inside,s={inline:a.inline,link:a.link,image:a.image,footnote:a.footnote,acronym:a.acronym,mark:a.mark};o.tag.pattern=/<\/?(?!\d)[a-z0-9]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/i;var l=a.inline.inside;l.bold.inside=s,l.italic.inside=s,l.inserted.inside=s,l.deleted.inside=s,l.span.inside=s;var c=a.table.inside;c.inline=s.inline,c.link=s.link,c.image=s.image,c.footnote=s.footnote,c.acronym=s.acronym,c.mark=s.mark}(e)}function Up(e){e.register(Eu),function(e){e.languages.haml={"multiline-comment":{pattern:/((?:^|\r?\n|\r)([\t ]*))(?:\/|-#).*(?:(?:\r?\n|\r)\2[\t ].+)*/,lookbehind:!0,alias:"comment"},"multiline-code":[{pattern:/((?:^|\r?\n|\r)([\t ]*)(?:[~-]|[&!]?=)).*,[\t ]*(?:(?:\r?\n|\r)\2[\t ].*,[\t ]*)*(?:(?:\r?\n|\r)\2[\t ].+)/,lookbehind:!0,inside:e.languages.ruby},{pattern:/((?:^|\r?\n|\r)([\t ]*)(?:[~-]|[&!]?=)).*\|[\t ]*(?:(?:\r?\n|\r)\2[\t ].*\|[\t ]*)*/,lookbehind:!0,inside:e.languages.ruby}],filter:{pattern:/((?:^|\r?\n|\r)([\t ]*)):[\w-]+(?:(?:\r?\n|\r)(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/,lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"symbol"}}},markup:{pattern:/((?:^|\r?\n|\r)[\t ]*)<.+/,lookbehind:!0,inside:e.languages.markup},doctype:{pattern:/((?:^|\r?\n|\r)[\t ]*)!!!(?: .+)?/,lookbehind:!0},tag:{pattern:/((?:^|\r?\n|\r)[\t ]*)[%.#][\w\-#.]*[\w\-](?:\([^)]+\)|\{(?:\{[^}]+\}|[^{}])+\}|\[[^\]]+\])*[\/<>]*/,lookbehind:!0,inside:{attributes:[{pattern:/(^|[^#])\{(?:\{[^}]+\}|[^{}])+\}/,lookbehind:!0,inside:e.languages.ruby},{pattern:/\([^)]+\)/,inside:{"attr-value":{pattern:/(=\s*)(?:"(?:\\.|[^\\"\r\n])*"|[^)\s]+)/,lookbehind:!0},"attr-name":/[\w:-]+(?=\s*!?=|\s*[,)])/,punctuation:/[=(),]/}},{pattern:/\[[^\]]+\]/,inside:e.languages.ruby}],punctuation:/[<>]/}},code:{pattern:/((?:^|\r?\n|\r)[\t ]*(?:[~-]|[&!]?=)).+/,lookbehind:!0,inside:e.languages.ruby},interpolation:{pattern:/#\{[^}]+\}/,inside:{delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"},ruby:{pattern:/[\s\S]+/,inside:e.languages.ruby}}},punctuation:{pattern:/((?:^|\r?\n|\r)[\t ]*)[~=\-&!]+/,lookbehind:!0}};for(var t=["css",{filter:"coffee",language:"coffeescript"},"erb","javascript","less","markdown","ruby","scss","textile"],n={},r=0,i=t.length;r<i;r++){var o=t[r];o="string"==typeof o?{filter:o,language:o}:o,e.languages[o.language]&&(n["filter-"+o.filter]={pattern:RegExp("((?:^|\\r?\\n|\\r)([\\t ]*)):{{filter_name}}(?:(?:\\r?\\n|\\r)(?:\\2[\\t ].+|\\s*?(?=\\r?\\n|\\r)))+".replace("{{filter_name}}",(function(){return o.filter}))),lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"symbol"},text:{pattern:/[\s\S]+/,alias:[o.language,"language-"+o.language],inside:e.languages[o.language]}}})}e.languages.insertBefore("haml","filter",n)}(e)}function jp(e){e.register(yu),function(e){e.languages.handlebars={comment:/\{\{![\s\S]*?\}\}/,delimiter:{pattern:/^\{\{\{?|\}\}\}?$/,alias:"punctuation"},string:/(["'])(?:\\.|(?!\1)[^\\\r\n])*\1/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][+-]?\d+)?/,boolean:/\b(?:false|true)\b/,block:{pattern:/^(\s*(?:~\s*)?)[#\/]\S+?(?=\s*(?:~\s*)?$|\s)/,lookbehind:!0,alias:"keyword"},brackets:{pattern:/\[[^\]]+\]/,inside:{punctuation:/\[|\]/,variable:/[\s\S]+/}},punctuation:/[!"#%&':()*+,.\/;<=>@\[\\\]^`{|}~]/,variable:/[^!"#%&'()*+,\/;<=>@\[\\\]^`{|}~\s]+/},e.hooks.add("before-tokenize",(function(t){e.languages["markup-templating"].buildPlaceholders(t,"handlebars",/\{\{\{[\s\S]+?\}\}\}|\{\{[\s\S]+?\}\}/g)})),e.hooks.add("after-tokenize",(function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"handlebars")})),e.languages.hbs=e.languages.handlebars,e.languages.mustache=e.languages.handlebars}(e)}function Gp(e){e.languages.haskell={comment:{pattern:/(^|[^-!#$%*+=?&@|~.:<>^\\\/])(?:--(?:(?=.)[^-!#$%*+=?&@|~.:<>^\\\/].*|$)|\{-[\s\S]*?-\})/m,lookbehind:!0},char:{pattern:/'(?:[^\\']|\\(?:[abfnrtv\\"'&]|\^[A-Z@[\]^_]|ACK|BEL|BS|CAN|CR|DC1|DC2|DC3|DC4|DEL|DLE|EM|ENQ|EOT|ESC|ETB|ETX|FF|FS|GS|HT|LF|NAK|NUL|RS|SI|SO|SOH|SP|STX|SUB|SYN|US|VT|\d+|o[0-7]+|x[0-9a-fA-F]+))'/,alias:"string"},string:{pattern:/"(?:[^\\"]|\\(?:\S|\s+\\))*"/,greedy:!0},keyword:/\b(?:case|class|data|deriving|do|else|if|in|infixl|infixr|instance|let|module|newtype|of|primitive|then|type|where)\b/,"import-statement":{pattern:/(^[\t ]*)import\s+(?:qualified\s+)?(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*(?:\s+as\s+(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*)?(?:\s+hiding\b)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|hiding|import|qualified)\b/,punctuation:/\./}},builtin:/\b(?:abs|acos|acosh|all|and|any|appendFile|approxRational|asTypeOf|asin|asinh|atan|atan2|atanh|basicIORun|break|catch|ceiling|chr|compare|concat|concatMap|const|cos|cosh|curry|cycle|decodeFloat|denominator|digitToInt|div|divMod|drop|dropWhile|either|elem|encodeFloat|enumFrom|enumFromThen|enumFromThenTo|enumFromTo|error|even|exp|exponent|fail|filter|flip|floatDigits|floatRadix|floatRange|floor|fmap|foldl|foldl1|foldr|foldr1|fromDouble|fromEnum|fromInt|fromInteger|fromIntegral|fromRational|fst|gcd|getChar|getContents|getLine|group|head|id|inRange|index|init|intToDigit|interact|ioError|isAlpha|isAlphaNum|isAscii|isControl|isDenormalized|isDigit|isHexDigit|isIEEE|isInfinite|isLower|isNaN|isNegativeZero|isOctDigit|isPrint|isSpace|isUpper|iterate|last|lcm|length|lex|lexDigits|lexLitChar|lines|log|logBase|lookup|map|mapM|mapM_|max|maxBound|maximum|maybe|min|minBound|minimum|mod|negate|not|notElem|null|numerator|odd|or|ord|otherwise|pack|pi|pred|primExitWith|print|product|properFraction|putChar|putStr|putStrLn|quot|quotRem|range|rangeSize|read|readDec|readFile|readFloat|readHex|readIO|readInt|readList|readLitChar|readLn|readOct|readParen|readSigned|reads|readsPrec|realToFrac|recip|rem|repeat|replicate|return|reverse|round|scaleFloat|scanl|scanl1|scanr|scanr1|seq|sequence|sequence_|show|showChar|showInt|showList|showLitChar|showParen|showSigned|showString|shows|showsPrec|significand|signum|sin|sinh|snd|sort|span|splitAt|sqrt|subtract|succ|sum|tail|take|takeWhile|tan|tanh|threadToIOResult|toEnum|toInt|toInteger|toLower|toRational|toUpper|truncate|uncurry|undefined|unlines|until|unwords|unzip|unzip3|userError|words|writeFile|zip|zip3|zipWith|zipWith3)\b/,number:/\b(?:\d+(?:\.\d+)?(?:e[+-]?\d+)?|0o[0-7]+|0x[0-9a-f]+)\b/i,operator:[{pattern:/`(?:[A-Z][\w']*\.)*[_a-z][\w']*`/,greedy:!0},{pattern:/(\s)\.(?=\s)/,lookbehind:!0},/[-!#$%*+=?&@|~:<>^\\\/][-!#$%*+=?&@|~.:<>^\\\/]*|\.[-!#$%*+=?&@|~.:<>^\\\/]+/],hvariable:{pattern:/\b(?:[A-Z][\w']*\.)*[_a-z][\w']*/,inside:{punctuation:/\./}},constant:{pattern:/\b(?:[A-Z][\w']*\.)*[A-Z][\w']*/,inside:{punctuation:/\./}},punctuation:/[{}[\];(),.:]/},e.languages.hs=e.languages.haskell}function Yp(e){e.register(Kc),e.languages.haxe=e.languages.extend("clike",{string:{pattern:/"(?:[^"\\]|\\[\s\S])*"/,greedy:!0},"class-name":[{pattern:/(\b(?:abstract|class|enum|extends|implements|interface|new|typedef)\s+)[A-Z_]\w*/,lookbehind:!0},/\b[A-Z]\w*/],keyword:/\bthis\b|\b(?:abstract|as|break|case|cast|catch|class|continue|default|do|dynamic|else|enum|extends|extern|final|for|from|function|if|implements|import|in|inline|interface|macro|new|null|operator|overload|override|package|private|public|return|static|super|switch|throw|to|try|typedef|untyped|using|var|while)(?!\.)\b/,function:{pattern:/\b[a-z_]\w*(?=\s*(?:<[^<>]*>\s*)?\()/i,greedy:!0},operator:/\.{3}|\+\+|--|&&|\|\||->|=>|(?:<<?|>{1,3}|[-+*/%!=&|^])=?|[?:~]/}),e.languages.insertBefore("haxe","string",{"string-interpolation":{pattern:/'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{interpolation:{pattern:/(^|[^\\])\$(?:\w+|\{[^{}]+\})/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:e.languages.haxe}}},string:/[\s\S]+/}}}),e.languages.insertBefore("haxe","class-name",{regex:{pattern:/~\/(?:[^\/\\\r\n]|\\.)+\/[a-z]*/,greedy:!0,inside:{"regex-flags":/\b[a-z]+$/,"regex-source":{pattern:/^(~\/)[\s\S]+(?=\/$)/,lookbehind:!0,alias:"language-regex",inside:e.languages.regex},"regex-delimiter":/^~\/|\/$/}}}),e.languages.insertBefore("haxe","keyword",{preprocessor:{pattern:/#(?:else|elseif|end|if)\b.*/,alias:"property"},metadata:{pattern:/@:?[\w.]+/,alias:"symbol"},reification:{pattern:/\$(?:\w+|(?=\{))/,alias:"important"}})}function zp(e){e.languages.hcl={comment:/(?:\/\/|#).*|\/\*[\s\S]*?(?:\*\/|$)/,heredoc:{pattern:/<<-?(\w+\b)[\s\S]*?^[ \t]*\1/m,greedy:!0,alias:"string"},keyword:[{pattern:/(?:data|resource)\s+(?:"(?:\\[\s\S]|[^\\"])*")(?=\s+"[\w-]+"\s+\{)/i,inside:{type:{pattern:/(resource|data|\s+)(?:"(?:\\[\s\S]|[^\\"])*")/i,lookbehind:!0,alias:"variable"}}},{pattern:/(?:backend|module|output|provider|provisioner|variable)\s+(?:[\w-]+|"(?:\\[\s\S]|[^\\"])*")\s+(?=\{)/i,inside:{type:{pattern:/(backend|module|output|provider|provisioner|variable)\s+(?:[\w-]+|"(?:\\[\s\S]|[^\\"])*")\s+/i,lookbehind:!0,alias:"variable"}}},/[\w-]+(?=\s+\{)/],property:[/[-\w\.]+(?=\s*=(?!=))/,/"(?:\\[\s\S]|[^\\"])+"(?=\s*[:=])/],string:{pattern:/"(?:[^\\$"]|\\[\s\S]|\$(?:(?=")|\$+(?!\$)|[^"${])|\$\{(?:[^{}"]|"(?:[^\\"]|\\[\s\S])*")*\})*"/,greedy:!0,inside:{interpolation:{pattern:/(^|[^$])\$\{(?:[^{}"]|"(?:[^\\"]|\\[\s\S])*")*\}/,lookbehind:!0,inside:{type:{pattern:/(\b(?:count|data|local|module|path|self|terraform|var)\b\.)[\w\*]+/i,lookbehind:!0,alias:"variable"},keyword:/\b(?:count|data|local|module|path|self|terraform|var)\b/i,function:/\w+(?=\()/,string:{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0},number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,punctuation:/[!\$#%&'()*+,.\/;<=>@\[\\\]^`{|}~?:]/}}}},number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,boolean:/\b(?:false|true)\b/i,punctuation:/[=\[\]{}]/}}function $p(e){e.register(qc),e.languages.hlsl=e.languages.extend("c",{"class-name":[e.languages.c["class-name"],/\b(?:AppendStructuredBuffer|BlendState|Buffer|ByteAddressBuffer|CompileShader|ComputeShader|ConsumeStructuredBuffer|DepthStencilState|DepthStencilView|DomainShader|GeometryShader|Hullshader|InputPatch|LineStream|OutputPatch|PixelShader|PointStream|RWBuffer|RWByteAddressBuffer|RWStructuredBuffer|RWTexture(?:1D|1DArray|2D|2DArray|3D)|RasterizerState|RenderTargetView|SamplerComparisonState|SamplerState|StructuredBuffer|Texture(?:1D|1DArray|2D|2DArray|2DMS|2DMSArray|3D|Cube|CubeArray)|TriangleStream|VertexShader)\b/],keyword:[/\b(?:asm|asm_fragment|auto|break|case|catch|cbuffer|centroid|char|class|column_major|compile|compile_fragment|const|const_cast|continue|default|delete|discard|do|dynamic_cast|else|enum|explicit|export|extern|for|friend|fxgroup|goto|groupshared|if|in|inline|inout|interface|line|lineadj|linear|long|matrix|mutable|namespace|new|nointerpolation|noperspective|operator|out|packoffset|pass|pixelfragment|point|precise|private|protected|public|register|reinterpret_cast|return|row_major|sample|sampler|shared|short|signed|sizeof|snorm|stateblock|stateblock_state|static|static_cast|string|struct|switch|tbuffer|technique|technique10|technique11|template|texture|this|throw|triangle|triangleadj|try|typedef|typename|uniform|union|unorm|unsigned|using|vector|vertexfragment|virtual|void|volatile|while)\b/,/\b(?:bool|double|dword|float|half|int|min(?:10float|12int|16(?:float|int|uint))|uint)(?:[1-4](?:x[1-4])?)?\b/],number:/(?:(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+)?|\b0x[\da-fA-F]+)[fFhHlLuU]?\b/,boolean:/\b(?:false|true)\b/})}function Wp(e){e.languages.hoon={comment:{pattern:/::.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*'/,greedy:!0},constant:/%(?:\.[ny]|[\w-]+)/,"class-name":/@(?:[a-z0-9-]*[a-z0-9])?|\*/i,function:/(?:\+[-+] {2})?(?:[a-z](?:[a-z0-9-]*[a-z0-9])?)/,keyword:/\.[\^\+\*=\?]|![><:\.=\?!]|=[>|:,\.\-\^<+;/~\*\?]|\?[>|:\.\-\^<\+&~=@!]|\|[\$_%:\.\-\^~\*=@\?]|\+[|\$\+\*]|:[_\-\^\+~\*]|%[_:\.\-\^\+~\*=]|\^[|:\.\-\+&~\*=\?]|\$[|_%:<>\-\^&~@=\?]|;[:<\+;\/~\*=]|~[>|\$_%<\+\/&=\?!]|--|==/}}function Vp(e){e.languages.hpkp={directive:{pattern:/\b(?:includeSubDomains|max-age|pin-sha256|preload|report-to|report-uri|strict)(?=[\s;=]|$)/i,alias:"property"},operator:/=/,punctuation:/;/}}function Kp(e){e.languages.hsts={directive:{pattern:/\b(?:includeSubDomains|max-age|preload)(?=[\s;=]|$)/i,alias:"property"},operator:/=/,punctuation:/;/}}function qp(e){e.languages.uri={scheme:{pattern:/^[a-z][a-z0-9+.-]*:/im,greedy:!0,inside:{"scheme-delimiter":/:$/}},fragment:{pattern:/#[\w\-.~!$&'()*+,;=%:@/?]*/,inside:{"fragment-delimiter":/^#/}},query:{pattern:/\?[\w\-.~!$&'()*+,;=%:@/?]*/,inside:{"query-delimiter":{pattern:/^\?/,greedy:!0},"pair-delimiter":/[&;]/,pair:{pattern:/^[^=][\s\S]*/,inside:{key:/^[^=]+/,value:{pattern:/(^=)[\s\S]+/,lookbehind:!0}}}}},authority:{pattern:RegExp(/^\/\//.source+/(?:[\w\-.~!$&'()*+,;=%:]*@)?/.source+"(?:"+/\[(?:[0-9a-fA-F:.]{2,48}|v[0-9a-fA-F]+\.[\w\-.~!$&'()*+,;=]+)\]/.source+"|"+/[\w\-.~!$&'()*+,;=%]*/.source+")"+/(?::\d*)?/.source,"m"),inside:{"authority-delimiter":/^\/\//,"user-info-segment":{pattern:/^[\w\-.~!$&'()*+,;=%:]*@/,inside:{"user-info-delimiter":/@$/,"user-info":/^[\w\-.~!$&'()*+,;=%:]+/}},"port-segment":{pattern:/:\d*$/,inside:{"port-delimiter":/^:/,port:/^\d+/}},host:{pattern:/[\s\S]+/,inside:{"ip-literal":{pattern:/^\[[\s\S]+\]$/,inside:{"ip-literal-delimiter":/^\[|\]$/,"ipv-future":/^v[\s\S]+/,"ipv6-address":/^[\s\S]+/}},"ipv4-address":/^(?:(?:[03-9]\d?|[12]\d{0,2})\.){3}(?:[03-9]\d?|[12]\d{0,2})$/}}}},path:{pattern:/^[\w\-.~!$&'()*+,;=%:@/]+/m,inside:{"path-separator":/\//}}},e.languages.url=e.languages.uri}function Xp(e){!function(e){function t(e){return RegExp("(^(?:"+e+"):[ \t]*(?![ \t]))[^]+","i")}e.languages.http={"request-line":{pattern:/^(?:CONNECT|DELETE|GET|HEAD|OPTIONS|PATCH|POST|PRI|PUT|SEARCH|TRACE)\s(?:https?:\/\/|\/)\S*\sHTTP\/[\d.]+/m,inside:{method:{pattern:/^[A-Z]+\b/,alias:"property"},"request-target":{pattern:/^(\s)(?:https?:\/\/|\/)\S*(?=\s)/,lookbehind:!0,alias:"url",inside:e.languages.uri},"http-version":{pattern:/^(\s)HTTP\/[\d.]+/,lookbehind:!0,alias:"property"}}},"response-status":{pattern:/^HTTP\/[\d.]+ \d+ .+/m,inside:{"http-version":{pattern:/^HTTP\/[\d.]+/,alias:"property"},"status-code":{pattern:/^(\s)\d+(?=\s)/,lookbehind:!0,alias:"number"},"reason-phrase":{pattern:/^(\s).+/,lookbehind:!0,alias:"string"}}},header:{pattern:/^[\w-]+:.+(?:(?:\r\n?|\n)[ \t].+)*/m,inside:{"header-value":[{pattern:t(/Content-Security-Policy/.source),lookbehind:!0,alias:["csp","languages-csp"],inside:e.languages.csp},{pattern:t(/Public-Key-Pins(?:-Report-Only)?/.source),lookbehind:!0,alias:["hpkp","languages-hpkp"],inside:e.languages.hpkp},{pattern:t(/Strict-Transport-Security/.source),lookbehind:!0,alias:["hsts","languages-hsts"],inside:e.languages.hsts},{pattern:t(/[^:]+/.source),lookbehind:!0}],"header-name":{pattern:/^[^:]+/,alias:"keyword"},punctuation:/^:/}}};var n,r=e.languages,i={"application/javascript":r.javascript,"application/json":r.json||r.javascript,"application/xml":r.xml,"text/xml":r.xml,"text/html":r.html,"text/css":r.css,"text/plain":r.plain},o={"application/json":!0,"application/xml":!0};function a(e){var t=e.replace(/^[a-z]+\//,"");return"(?:"+e+"|\\w+/(?:[\\w.-]+\\+)+"+t+"(?![+\\w.-]))"}for(var s in i)if(i[s]){n=n||{};var l=o[s]?a(s):s;n[s.replace(/\//g,"-")]={pattern:RegExp("("+/content-type:\s*/.source+l+/(?:(?:\r\n?|\n)[\w-].*)*(?:\r(?:\n|(?!\n))|\n)/.source+")"+/[^ \t\w-][\s\S]*/.source,"i"),lookbehind:!0,inside:i[s]}}n&&e.languages.insertBefore("http","header",n)}(e)}function Zp(e){e.languages.ichigojam={comment:/(?:\B'|REM)(?:[^\n\r]*)/i,string:{pattern:/"(?:""|[!#$%&'()*,\/:;<=>?^\w +\-.])*"/,greedy:!0},number:/\B#[0-9A-F]+|\B`[01]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,keyword:/\b(?:BEEP|BPS|CASE|CLEAR|CLK|CLO|CLP|CLS|CLT|CLV|CONT|COPY|ELSE|END|FILE|FILES|FOR|GOSUB|GOTO|GSB|IF|INPUT|KBD|LED|LET|LIST|LOAD|LOCATE|LRUN|NEW|NEXT|OUT|PLAY|POKE|PRINT|PWM|REM|RENUM|RESET|RETURN|RIGHT|RTN|RUN|SAVE|SCROLL|SLEEP|SRND|STEP|STOP|SUB|TEMPO|THEN|TO|UART|VIDEO|WAIT)(?:\$|\b)/i,function:/\b(?:ABS|ANA|ASC|BIN|BTN|DEC|END|FREE|HELP|HEX|I2CR|I2CW|IN|INKEY|LEN|LINE|PEEK|RND|SCR|SOUND|STR|TICK|USR|VER|VPEEK|ZER)(?:\$|\b)/i,label:/(?:\B@\S+)/,operator:/<[=>]?|>=?|\|\||&&|[+\-*\/=|&^~!]|\b(?:AND|NOT|OR)\b/i,punctuation:/[\[,;:()\]]/}}function Qp(e){e.languages.icon={comment:/#.*/,string:{pattern:/(["'])(?:(?!\1)[^\\\r\n_]|\\.|_(?!\1)(?:\r\n|[\s\S]))*\1/,greedy:!0},number:/\b(?:\d+r[a-z\d]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b|\.\d+\b/i,"builtin-keyword":{pattern:/&(?:allocated|ascii|clock|collections|cset|current|date|dateline|digits|dump|e|error(?:number|text|value)?|errout|fail|features|file|host|input|lcase|letters|level|line|main|null|output|phi|pi|pos|progname|random|regions|source|storage|subject|time|trace|ucase|version)\b/,alias:"variable"},directive:{pattern:/\$\w+/,alias:"builtin"},keyword:/\b(?:break|by|case|create|default|do|else|end|every|fail|global|if|initial|invocable|link|local|next|not|of|procedure|record|repeat|return|static|suspend|then|to|until|while)\b/,function:/\b(?!\d)\w+(?=\s*[({]|\s*!\s*\[)/,operator:/[+-]:(?!=)|(?:[\/?@^%&]|\+\+?|--?|==?=?|~==?=?|\*\*?|\|\|\|?|<(?:->?|<?=?)|>>?=?)(?::=)?|:(?:=:?)?|[!.\\|~]/,punctuation:/[\[\](){},;]/}}function Jp(e){!function(e){function t(e,n){return n<=0?/[]/.source:e.replace(/<SELF>/g,(function(){return t(e,n-1)}))}var n=/'[{}:=,](?:[^']|'')*'(?!')/,r={pattern:/''/,greedy:!0,alias:"operator"},i={pattern:n,greedy:!0,inside:{escape:r}},o=t(/\{(?:[^{}']|'(?![{},'])|''|<STR>|<SELF>)*\}/.source.replace(/<STR>/g,(function(){return n.source})),8),a={pattern:RegExp(o),inside:{message:{pattern:/^(\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:null},"message-delimiter":{pattern:/./,alias:"punctuation"}}};e.languages["icu-message-format"]={argument:{pattern:RegExp(o),greedy:!0,inside:{content:{pattern:/^(\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:{"argument-name":{pattern:/^(\s*)[^{}:=,\s]+/,lookbehind:!0},"choice-style":{pattern:/^(\s*,\s*choice\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{punctuation:/\|/,range:{pattern:/^(\s*)[+-]?(?:\d+(?:\.\d*)?|\u221e)\s*[<#\u2264]/,lookbehind:!0,inside:{operator:/[<#\u2264]/,number:/\S+/}},rest:null}},"plural-style":{pattern:/^(\s*,\s*(?:plural|selectordinal)\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{offset:/^offset:\s*\d+/,"nested-message":a,selector:{pattern:/=\d+|[^{}:=,\s]+/,inside:{keyword:/^(?:few|many|one|other|two|zero)$/}}}},"select-style":{pattern:/^(\s*,\s*select\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{"nested-message":a,selector:{pattern:/[^{}:=,\s]+/,inside:{keyword:/^other$/}}}},keyword:/\b(?:choice|plural|select|selectordinal)\b/,"arg-type":{pattern:/\b(?:date|duration|number|ordinal|spellout|time)\b/,alias:"keyword"},"arg-skeleton":{pattern:/(,\s*)::[^{}:=,\s]+/,lookbehind:!0},"arg-style":{pattern:/(,\s*)(?:currency|full|integer|long|medium|percent|short)(?=\s*$)/,lookbehind:!0},"arg-style-text":{pattern:RegExp(/(^\s*,\s*(?=\S))/.source+t(/(?:[^{}']|'[^']*'|\{(?:<SELF>)?\})+/.source,8)+"$"),lookbehind:!0,alias:"string"},punctuation:/,/}},"argument-delimiter":{pattern:/./,alias:"operator"}}},escape:r,string:i},a.inside.message.inside=e.languages["icu-message-format"],e.languages["icu-message-format"].argument.inside.content.inside["choice-style"].inside.rest=e.languages["icu-message-format"]}(e)}function ed(e){e.register(Gp),e.languages.idris=e.languages.extend("haskell",{comment:{pattern:/(?:(?:--|\|\|\|).*$|\{-[\s\S]*?-\})/m},keyword:/\b(?:Type|case|class|codata|constructor|corecord|data|do|dsl|else|export|if|implementation|implicit|import|impossible|in|infix|infixl|infixr|instance|interface|let|module|mutual|namespace|of|parameters|partial|postulate|private|proof|public|quoteGoal|record|rewrite|syntax|then|total|using|where|with)\b/,builtin:void 0}),e.languages.insertBefore("idris","keyword",{"import-statement":{pattern:/(^\s*import\s+)(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*/m,lookbehind:!0,inside:{punctuation:/\./}}}),e.languages.idr=e.languages.idris}function td(e){!function(e){e.languages.ignore={comment:/^#.*/m,entry:{pattern:/\S(?:.*(?:(?:\\ )|\S))?/,alias:"string",inside:{operator:/^!|\*\*?|\?/,regex:{pattern:/(^|[^\\])\[[^\[\]]*\]/,lookbehind:!0},punctuation:/\//}}},e.languages.gitignore=e.languages.ignore,e.languages.hgignore=e.languages.ignore,e.languages.npmignore=e.languages.ignore}(e)}function nd(e){e.languages.inform7={string:{pattern:/"[^"]*"/,inside:{substitution:{pattern:/\[[^\[\]]+\]/,inside:{delimiter:{pattern:/\[|\]/,alias:"punctuation"}}}}},comment:{pattern:/\[[^\[\]]+\]/,greedy:!0},title:{pattern:/^[ \t]*(?:book|chapter|part(?! of)|section|table|volume)\b.+/im,alias:"important"},number:{pattern:/(^|[^-])(?:\b\d+(?:\.\d+)?(?:\^\d+)?(?:(?!\d)\w+)?|\b(?:eight|eleven|five|four|nine|one|seven|six|ten|three|twelve|two))\b(?!-)/i,lookbehind:!0},verb:{pattern:/(^|[^-])\b(?:answering|applying to|are|asking|attacking|be(?:ing)?|burning|buying|called|carries|carry(?! out)|carrying|climbing|closing|conceal(?:ing|s)?|consulting|contain(?:ing|s)?|cutting|drinking|dropping|eating|enclos(?:es?|ing)|entering|examining|exiting|getting|giving|going|ha(?:s|ve|ving)|hold(?:ing|s)?|impl(?:ies|y)|incorporat(?:es?|ing)|inserting|is|jumping|kissing|listening|locking|looking|mean(?:ing|s)?|opening|provid(?:es?|ing)|pulling|pushing|putting|relat(?:es?|ing)|removing|searching|see(?:ing|s)?|setting|showing|singing|sleeping|smelling|squeezing|support(?:ing|s)?|swearing|switching|taking|tasting|telling|thinking|throwing|touching|turning|tying|unlock(?:ing|s)?|var(?:ies|y|ying)|waiting|waking|waving|wear(?:ing|s)?)\b(?!-)/i,lookbehind:!0,alias:"operator"},keyword:{pattern:/(^|[^-])\b(?:after|before|carry out|check|continue the action|definition(?= *:)|do nothing|else|end (?:if|the story|unless)|every turn|if|include|instead(?: of)?|let|move|no|now|otherwise|repeat|report|resume the story|rule for|running through|say(?:ing)?|stop the action|test|try(?:ing)?|understand|unless|use|when|while|yes)\b(?!-)/i,lookbehind:!0},property:{pattern:/(^|[^-])\b(?:adjacent(?! to)|carried|closed|concealed|contained|dark|described|edible|empty|enclosed|enterable|even|female|fixed in place|full|handled|held|improper-named|incorporated|inedible|invisible|lighted|lit|lock(?:able|ed)|male|marked for listing|mentioned|negative|neuter|non-(?:empty|full|recurring)|odd|opaque|open(?:able)?|plural-named|portable|positive|privately-named|proper-named|provided|publically-named|pushable between rooms|recurring|related|rubbing|scenery|seen|singular-named|supported|swinging|switch(?:able|ed(?: off| on)?)|touch(?:able|ed)|transparent|unconcealed|undescribed|unlit|unlocked|unmarked for listing|unmentioned|unopenable|untouchable|unvisited|variable|visible|visited|wearable|worn)\b(?!-)/i,lookbehind:!0,alias:"symbol"},position:{pattern:/(^|[^-])\b(?:above|adjacent to|back side of|below|between|down|east|everywhere|front side|here|in|inside(?: from)?|north(?:east|west)?|nowhere|on(?: top of)?|other side|outside(?: from)?|parts? of|regionally in|south(?:east|west)?|through|up|west|within)\b(?!-)/i,lookbehind:!0,alias:"keyword"},type:{pattern:/(^|[^-])\b(?:actions?|activit(?:ies|y)|actors?|animals?|backdrops?|containers?|devices?|directions?|doors?|holders?|kinds?|lists?|m[ae]n|nobody|nothing|nouns?|numbers?|objects?|people|persons?|player(?:'s holdall)?|regions?|relations?|rooms?|rule(?:book)?s?|scenes?|someone|something|supporters?|tables?|texts?|things?|time|vehicles?|wom[ae]n)\b(?!-)/i,lookbehind:!0,alias:"variable"},punctuation:/[.,:;(){}]/},e.languages.inform7.string.inside.substitution.inside.rest=e.languages.inform7,e.languages.inform7.string.inside.substitution.inside.rest.text={pattern:/\S(?:\s*\S)*/,alias:"comment"}}function rd(e){e.languages.io={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\/\/.*|#.*)/,lookbehind:!0,greedy:!0},"triple-quoted-string":{pattern:/"""(?:\\[\s\S]|(?!""")[^\\])*"""/,greedy:!0,alias:"string"},string:{pattern:/"(?:\\.|[^\\\r\n"])*"/,greedy:!0},keyword:/\b(?:activate|activeCoroCount|asString|block|break|call|catch|clone|collectGarbage|compileString|continue|do|doFile|doMessage|doString|else|elseif|exit|for|foreach|forward|getEnvironmentVariable|getSlot|hasSlot|if|ifFalse|ifNil|ifNilEval|ifTrue|isActive|isNil|isResumable|list|message|method|parent|pass|pause|perform|performWithArgList|print|println|proto|raise|raiseResumable|removeSlot|resend|resume|schedulerSleepSeconds|self|sender|setSchedulerSleepSeconds|setSlot|shallowCopy|slotNames|super|system|then|thisBlock|thisContext|try|type|uniqueId|updateSlot|wait|while|write|yield)\b/,builtin:/\b(?:Array|AudioDevice|AudioMixer|BigNum|Block|Box|Buffer|CFunction|CGI|Color|Curses|DBM|DNSResolver|DOConnection|DOProxy|DOServer|Date|Directory|Duration|DynLib|Error|Exception|FFT|File|Fnmatch|Font|Future|GL|GLE|GLScissor|GLU|GLUCylinder|GLUQuadric|GLUSphere|GLUT|Host|Image|Importer|LinkList|List|Lobby|Locals|MD5|MP3Decoder|MP3Encoder|Map|Message|Movie|Notification|Number|Object|OpenGL|Point|Protos|Random|Regex|SGML|SGMLElement|SGMLParser|SQLite|Sequence|Server|ShowMessage|SleepyCat|SleepyCatCursor|Socket|SocketManager|Sound|Soup|Store|String|Tree|UDPSender|UPDReceiver|URL|User|Warning|WeakLink)\b/,boolean:/\b(?:false|nil|true)\b/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e-?\d+)?/i,operator:/[=!*/%+\-^&|]=|>>?=?|<<?=?|:?:?=|\+\+?|--?|\*\*?|\/\/?|%|\|\|?|&&?|\b(?:and|not|or|return)\b|@@?|\?\??|\.\./,punctuation:/[{}[\];(),.:]/}}function id(e){e.languages.j={comment:{pattern:/\bNB\..*/,greedy:!0},string:{pattern:/'(?:''|[^'\r\n])*'/,greedy:!0},keyword:/\b(?:(?:CR|LF|adverb|conjunction|def|define|dyad|monad|noun|verb)\b|(?:assert|break|case|catch[dt]?|continue|do|else|elseif|end|fcase|for|for_\w+|goto_\w+|if|label_\w+|return|select|throw|try|while|whilst)\.)/,verb:{pattern:/(?!\^:|;\.|[=!][.:])(?:\{(?:\.|::?)?|p(?:\.\.?|:)|[=!\]]|[<>+*\-%$|,#][.:]?|[?^]\.?|[;\[]:?|[~}"i][.:]|[ACeEIjLor]\.|(?:[_\/\\qsux]|_?\d):)/,alias:"keyword"},number:/\b_?(?:(?!\d:)\d+(?:\.\d+)?(?:(?:ad|ar|[ejpx])_?\d+(?:\.\d+)?)*(?:b_?[\da-z]+(?:\.[\da-z]+)?)?|_\b(?!\.))/,adverb:{pattern:/[~}]|[\/\\]\.?|[bfM]\.|t[.:]/,alias:"builtin"},operator:/[=a][.:]|_\./,conjunction:{pattern:/&(?:\.:?|:)?|[.:@][.:]?|[!D][.:]|[;dHT]\.|`:?|[\^LS]:|"/,alias:"variable"},punctuation:/[()]/}}function od(e){!function(e){var t=e.languages.javadoclike={parameter:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*@(?:arg|arguments|param)\s+)\w+/m,lookbehind:!0},keyword:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*|\{)@[a-z][a-zA-Z-]+\b/m,lookbehind:!0},punctuation:/[{}]/};Object.defineProperty(t,"addSupport",{value:function(t,n){"string"==typeof t&&(t=[t]),t.forEach((function(t){!function(t,n){var r="doc-comment",i=e.languages[t];if(i){var o=i[r];if(!o){var a={};a[r]={pattern:/(^|[^\\])\/\*\*[^/][\s\S]*?(?:\*\/|$)/,lookbehind:!0,alias:"comment"},o=(i=e.languages.insertBefore(t,"comment",a))[r]}if(o instanceof RegExp&&(o=i[r]={pattern:o}),Array.isArray(o))for(var s=0,l=o.length;s<l;s++)o[s]instanceof RegExp&&(o[s]={pattern:o[s]}),n(o[s]);else n(o)}}(t,(function(e){e.inside||(e.inside={}),e.inside.rest=n}))}))}}),t.addSupport(["java","javascript","php"],t)}(e)}function ad(e){e.register(ou),e.languages.scala=e.languages.extend("java",{"triple-quoted-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:/<-|=>|\b(?:abstract|case|catch|class|def|derives|do|else|enum|extends|extension|final|finally|for|forSome|given|if|implicit|import|infix|inline|lazy|match|new|null|object|opaque|open|override|package|private|protected|return|sealed|self|super|this|throw|trait|transparent|try|type|using|val|var|while|with|yield)\b/,number:/\b0x(?:[\da-f]*\.)?[\da-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e\d+)?[dfl]?/i,builtin:/\b(?:Any|AnyRef|AnyVal|Boolean|Byte|Char|Double|Float|Int|Long|Nothing|Short|String|Unit)\b/,symbol:/'[^\d\s\\]\w*/}),e.languages.insertBefore("scala","triple-quoted-string",{"string-interpolation":{pattern:/\b[a-z]\w*(?:"""(?:[^$]|\$(?:[^{]|\{(?:[^{}]|\{[^{}]*\})*\}))*?"""|"(?:[^$"\r\n]|\$(?:[^{]|\{(?:[^{}]|\{[^{}]*\})*\}))*")/i,greedy:!0,inside:{id:{pattern:/^\w+/,greedy:!0,alias:"function"},escape:{pattern:/\\\$"|\$[$"]/,greedy:!0,alias:"symbol"},interpolation:{pattern:/\$(?:\w+|\{(?:[^{}]|\{[^{}]*\})*\})/,greedy:!0,inside:{punctuation:/^\$\{?|\}$/,expression:{pattern:/[\s\S]+/,inside:e.languages.scala}}},string:/[\s\S]+/}}}),delete e.languages.scala["class-name"],delete e.languages.scala.function,delete e.languages.scala.constant}function sd(e){e.register(ou),e.register(od),e.register(eu),function(e){var t=/(^(?:[\t ]*(?:\*\s*)*))[^*\s].*$/m,n=/#\s*\w+(?:\s*\([^()]*\))?/.source,r=/(?:\b[a-zA-Z]\w+\s*\.\s*)*\b[A-Z]\w*(?:\s*<mem>)?|<mem>/.source.replace(/<mem>/g,(function(){return n}));e.languages.javadoc=e.languages.extend("javadoclike",{}),e.languages.insertBefore("javadoc","keyword",{reference:{pattern:RegExp(/(@(?:exception|link|linkplain|see|throws|value)\s+(?:\*\s*)?)/.source+"(?:"+r+")"),lookbehind:!0,inside:{function:{pattern:/(#\s*)\w+(?=\s*\()/,lookbehind:!0},field:{pattern:/(#\s*)\w+/,lookbehind:!0},namespace:{pattern:/\b(?:[a-z]\w*\s*\.\s*)+/,inside:{punctuation:/\./}},"class-name":/\b[A-Z]\w*/,keyword:e.languages.java.keyword,punctuation:/[#()[\],.]/}},"class-name":{pattern:/(@param\s+)<[A-Z]\w*>/,lookbehind:!0,inside:{punctuation:/[.<>]/}},"code-section":[{pattern:/(\{@code\s+(?!\s))(?:[^\s{}]|\s+(?![\s}])|\{(?:[^{}]|\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*\})+(?=\s*\})/,lookbehind:!0,inside:{code:{pattern:t,lookbehind:!0,inside:e.languages.java,alias:"language-java"}}},{pattern:/(<(code|pre|tt)>(?!<code>)\s*)\S(?:\S|\s+\S)*?(?=\s*<\/\2>)/,lookbehind:!0,inside:{line:{pattern:t,lookbehind:!0,inside:{tag:e.languages.markup.tag,entity:e.languages.markup.entity,code:{pattern:/.+/,inside:e.languages.java,alias:"language-java"}}}}}],tag:e.languages.markup.tag,entity:e.languages.markup.entity}),e.languages.javadoclike.addSupport("java",e.languages.javadoc)}(e)}function ld(e){e.languages.javastacktrace={summary:{pattern:/^([\t ]*)(?:(?:Caused by:|Suppressed:|Exception in thread "[^"]*")[\t ]+)?[\w$.]+(?::.*)?$/m,lookbehind:!0,inside:{keyword:{pattern:/^([\t ]*)(?:(?:Caused by|Suppressed)(?=:)|Exception in thread)/m,lookbehind:!0},string:{pattern:/^(\s*)"[^"]*"/,lookbehind:!0},exceptions:{pattern:/^(:?\s*)[\w$.]+(?=:|$)/,lookbehind:!0,inside:{"class-name":/[\w$]+$/,namespace:/\b[a-z]\w*\b/,punctuation:/\./}},message:{pattern:/(:\s*)\S.*/,lookbehind:!0,alias:"string"},punctuation:/:/}},"stack-frame":{pattern:/^([\t ]*)at (?:[\w$./]|@[\w$.+-]*\/)+(?:<init>)?\([^()]*\)/m,lookbehind:!0,inside:{keyword:{pattern:/^(\s*)at(?= )/,lookbehind:!0},source:[{pattern:/(\()\w+\.\w+:\d+(?=\))/,lookbehind:!0,inside:{file:/^\w+\.\w+/,punctuation:/:/,"line-number":{pattern:/\b\d+\b/,alias:"number"}}},{pattern:/(\()[^()]*(?=\))/,lookbehind:!0,inside:{keyword:/^(?:Native Method|Unknown Source)$/}}],"class-name":/[\w$]+(?=\.(?:<init>|[\w$]+)\()/,function:/(?:<init>|[\w$]+)(?=\()/,"class-loader":{pattern:/(\s)[a-z]\w*(?:\.[a-z]\w*)*(?=\/[\w@$.]*\/)/,lookbehind:!0,alias:"namespace",inside:{punctuation:/\./}},module:{pattern:/([\s/])[a-z]\w*(?:\.[a-z]\w*)*(?:@[\w$.+-]*)?(?=\/)/,lookbehind:!0,inside:{version:{pattern:/(@)[\s\S]+/,lookbehind:!0,alias:"number"},punctuation:/[@.]/}},namespace:{pattern:/(?:\b[a-z]\w*\.)+/,inside:{punctuation:/\./}},punctuation:/[()/.]/}},more:{pattern:/^([\t ]*)\.{3} \d+ [a-z]+(?: [a-z]+)*/m,lookbehind:!0,inside:{punctuation:/\.{3}/,number:/\d+/,keyword:/\b[a-z]+(?: [a-z]+)*\b/}}}}function cd(e){e.languages.jexl={string:/(["'])(?:\\[\s\S]|(?!\1)[^\\])*\1/,transform:{pattern:/(\|\s*)[a-zA-Zа-яА-Я_\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$][\wа-яА-Я\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$]*/,alias:"function",lookbehind:!0},function:/[a-zA-Zа-яА-Я_\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$][\wа-яА-Я\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$]*\s*(?=\()/,number:/\b\d+(?:\.\d+)?\b|\B\.\d+\b/,operator:/[<>!]=?|-|\+|&&|==|\|\|?|\/\/?|[?:*^%]/,boolean:/\b(?:false|true)\b/,keyword:/\bin\b/,punctuation:/[{}[\](),.]/}}function ud(e){e.register(Kc),e.languages.jolie=e.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\[\s\S]|[^"\\])*"/,lookbehind:!0,greedy:!0},"class-name":{pattern:/((?:\b(?:as|courier|embed|in|inputPort|outputPort|service)\b|@)[ \t]*)\w+/,lookbehind:!0},keyword:/\b(?:as|cH|comp|concurrent|constants|courier|cset|csets|default|define|else|embed|embedded|execution|exit|extender|for|foreach|forward|from|global|if|import|in|include|init|inputPort|install|instanceof|interface|is_defined|linkIn|linkOut|main|new|nullProcess|outputPort|over|private|provide|public|scope|sequential|service|single|spawn|synchronized|this|throw|throws|type|undef|until|while|with)\b/,function:/\b[a-z_]\w*(?=[ \t]*[@(])/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?l?/i,operator:/-[-=>]?|\+[+=]?|<[<=]?|[>=*!]=?|&&|\|\||[?\/%^@|]/,punctuation:/[()[\]{},;.:]/,builtin:/\b(?:Byte|any|bool|char|double|enum|float|int|length|long|ranges|regex|string|undefined|void)\b/}),e.languages.insertBefore("jolie","keyword",{aggregates:{pattern:/(\bAggregates\s*:\s*)(?:\w+(?:\s+with\s+\w+)?\s*,\s*)*\w+(?:\s+with\s+\w+)?/,lookbehind:!0,inside:{keyword:/\bwith\b/,"class-name":/\w+/,punctuation:/,/}},redirects:{pattern:/(\bRedirects\s*:\s*)(?:\w+\s*=>\s*\w+\s*,\s*)*(?:\w+\s*=>\s*\w+)/,lookbehind:!0,inside:{punctuation:/,/,"class-name":/\w+/,operator:/=>/}},property:{pattern:/\b(?:Aggregates|[Ii]nterfaces|Java|Javascript|Jolie|[Ll]ocation|OneWay|[Pp]rotocol|Redirects|RequestResponse)\b(?=[ \t]*:)/}})}function hd(e){!function(e){var t=/\\\((?:[^()]|\([^()]*\))*\)/.source,n=RegExp(/(^|[^\\])"(?:[^"\r\n\\]|\\[^\r\n(]|__)*"/.source.replace(/__/g,(function(){return t}))),r={interpolation:{pattern:RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+t),lookbehind:!0,inside:{content:{pattern:/^(\\\()[\s\S]+(?=\)$)/,lookbehind:!0,inside:null},punctuation:/^\\\(|\)$/}}},i=e.languages.jq={comment:/#.*/,property:{pattern:RegExp(n.source+/(?=\s*:(?!:))/.source),lookbehind:!0,greedy:!0,inside:r},string:{pattern:n,lookbehind:!0,greedy:!0,inside:r},function:{pattern:/(\bdef\s+)[a-z_]\w+/i,lookbehind:!0},variable:/\B\$\w+/,"property-literal":{pattern:/\b[a-z_]\w*(?=\s*:(?!:))/i,alias:"property"},keyword:/\b(?:as|break|catch|def|elif|else|end|foreach|if|import|include|label|module|modulemeta|null|reduce|then|try|while)\b/,boolean:/\b(?:false|true)\b/,number:/(?:\b\d+\.|\B\.)?\b\d+(?:[eE][+-]?\d+)?\b/,operator:[{pattern:/\|=?/,alias:"pipe"},/\.\.|[!=<>]?=|\?\/\/|\/\/=?|[-+*/%]=?|[<>?]|\b(?:and|not|or)\b/],"c-style-function":{pattern:/\b[a-z_]\w*(?=\s*\()/i,alias:"function"},punctuation:/::|[()\[\]{},:;]|\.(?=\s*[\[\w$])/,dot:{pattern:/\./,alias:"important"}};r.interpolation.inside.content.inside=i}(e)}function pd(e){e.register(su),function(e){var t=e.languages.javascript["template-string"],n=t.pattern.source,r=t.inside.interpolation,i=r.inside["interpolation-punctuation"],o=r.pattern.source;function a(t,r){if(e.languages[t])return{pattern:RegExp("((?:"+r+")\\s*)"+n),lookbehind:!0,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},"embedded-code":{pattern:/[\s\S]+/,alias:t}}}}function s(e,t){return"___"+t.toUpperCase()+"_"+e+"___"}function l(t,n,r){var i={code:t,grammar:n,language:r};return e.hooks.run("before-tokenize",i),i.tokens=e.tokenize(i.code,i.grammar),e.hooks.run("after-tokenize",i),i.tokens}function c(t){var n={};n["interpolation-punctuation"]=i;var o=e.tokenize(t,n);if(3===o.length){var a=[1,1];a.push.apply(a,l(o[1],e.languages.javascript,"javascript")),o.splice.apply(o,a)}return new e.Token("interpolation",o,r.alias,t)}function u(t,n,r){var i=e.tokenize(t,{interpolation:{pattern:RegExp(o),lookbehind:!0}}),a=0,u={},h=l(i.map((function(e){if("string"==typeof e)return e;for(var n,i=e.content;-1!==t.indexOf(n=s(a++,r)););return u[n]=i,n})).join(""),n,r),p=Object.keys(u);return a=0,function e(t){for(var n=0;n<t.length;n++){if(a>=p.length)return;var r=t[n];if("string"==typeof r||"string"==typeof r.content){var i=p[a],o="string"==typeof r?r:r.content,s=o.indexOf(i);if(-1!==s){++a;var l=o.substring(0,s),h=c(u[i]),d=o.substring(s+i.length),f=[];if(l&&f.push(l),f.push(h),d){var m=[d];e(m),f.push.apply(f,m)}"string"==typeof r?(t.splice.apply(t,[n,1].concat(f)),n+=f.length-1):r.content=f}}else{var g=r.content;Array.isArray(g)?e(g):e([g])}}}(h),new e.Token(r,h,"language-"+r,t)}e.languages.javascript["template-string"]=[a("css",/\b(?:styled(?:\([^)]*\))?(?:\s*\.\s*\w+(?:\([^)]*\))*)*|css(?:\s*\.\s*(?:global|resolve))?|createGlobalStyle|keyframes)/.source),a("html",/\bhtml|\.\s*(?:inner|outer)HTML\s*\+?=/.source),a("svg",/\bsvg/.source),a("markdown",/\b(?:markdown|md)/.source),a("graphql",/\b(?:gql|graphql(?:\s*\.\s*experimental)?)/.source),a("sql",/\bsql/.source),t].filter(Boolean);var h={javascript:!0,js:!0,typescript:!0,ts:!0,jsx:!0,tsx:!0};function p(e){return"string"==typeof e?e:Array.isArray(e)?e.map(p).join(""):p(e.content)}e.hooks.add("after-tokenize",(function(t){t.language in h&&function t(n){for(var r=0,i=n.length;r<i;r++){var o=n[r];if("string"!=typeof o){var a=o.content;if(Array.isArray(a))if("template-string"===o.type){var s=a[1];if(3===a.length&&"string"!=typeof s&&"embedded-code"===s.type){var l=p(s),c=s.alias,h=Array.isArray(c)?c[0]:c,d=e.languages[h];if(!d)continue;a[1]=u(l,d,h)}}else t(a);else"string"!=typeof a&&t([a])}}}(t.tokens)}))}(e)}function dd(e){e.register(od),e.register(su),e.register(Ru),function(e){var t=e.languages.javascript,n=/\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})+\}/.source,r="(@(?:arg|argument|param|property)\\s+(?:"+n+"\\s+)?)";e.languages.jsdoc=e.languages.extend("javadoclike",{parameter:{pattern:RegExp(r+/(?:(?!\s)[$\w\xA0-\uFFFF.])+(?=\s|$)/.source),lookbehind:!0,inside:{punctuation:/\./}}}),e.languages.insertBefore("jsdoc","keyword",{"optional-parameter":{pattern:RegExp(r+/\[(?:(?!\s)[$\w\xA0-\uFFFF.])+(?:=[^[\]]+)?\](?=\s|$)/.source),lookbehind:!0,inside:{parameter:{pattern:/(^\[)[$\w\xA0-\uFFFF\.]+/,lookbehind:!0,inside:{punctuation:/\./}},code:{pattern:/(=)[\s\S]*(?=\]$)/,lookbehind:!0,inside:t,alias:"language-javascript"},punctuation:/[=[\]]/}},"class-name":[{pattern:RegExp(/(@(?:augments|class|extends|interface|memberof!?|template|this|typedef)\s+(?:<TYPE>\s+)?)[A-Z]\w*(?:\.[A-Z]\w*)*/.source.replace(/<TYPE>/g,(function(){return n}))),lookbehind:!0,inside:{punctuation:/\./}},{pattern:RegExp("(@[a-z]+\\s+)"+n),lookbehind:!0,inside:{string:t.string,number:t.number,boolean:t.boolean,keyword:e.languages.typescript.keyword,operator:/=>|\.\.\.|[&|?:*]/,punctuation:/[.,;=<>{}()[\]]/}}],example:{pattern:/(@example\s+(?!\s))(?:[^@\s]|\s+(?!\s))+?(?=\s*(?:\*\s*)?(?:@\w|\*\/))/,lookbehind:!0,inside:{code:{pattern:/^([\t ]*(?:\*\s*)?)\S.*$/m,lookbehind:!0,inside:t,alias:"language-javascript"}}}}),e.languages.javadoclike.addSupport("javascript",e.languages.jsdoc)}(e)}function fd(e){e.register(su),e.languages.n4js=e.languages.extend("javascript",{keyword:/\b(?:Array|any|boolean|break|case|catch|class|const|constructor|continue|debugger|declare|default|delete|do|else|enum|export|extends|false|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|module|new|null|number|package|private|protected|public|return|set|static|string|super|switch|this|throw|true|try|typeof|var|void|while|with|yield)\b/}),e.languages.insertBefore("n4js","constant",{annotation:{pattern:/@+\w+/,alias:"operator"}}),e.languages.n4jsd=e.languages.n4js}function md(e){e.register(su),function(e){function t(e,t){return RegExp(e.replace(/<ID>/g,(function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source})),t)}e.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+e.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),e.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+e.languages.javascript.function.source),lookbehind:!0,alias:["function","property-access"]}}),e.languages.insertBefore("javascript","constant",{"known-class-name":[{pattern:/\b(?:(?:Float(?:32|64)|(?:Int|Uint)(?:8|16|32)|Uint8Clamped)?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|(?:Weak)?(?:Map|Set)|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|WebAssembly)\b/,alias:"class-name"},{pattern:/\b(?:[A-Z]\w*)Error\b/,alias:"class-name"}]}),e.languages.insertBefore("javascript","keyword",{imports:{pattern:t(/(\bimport\b\s*)(?:<ID>(?:\s*,\s*(?:\*\s*as\s+<ID>|\{[^{}]*\}))?|\*\s*as\s+<ID>|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:e.languages.javascript},exports:{pattern:t(/(\bexport\b\s*)(?:\*(?:\s*as\s+<ID>)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:e.languages.javascript}}),e.languages.javascript.keyword.unshift({pattern:/\b(?:as|default|export|from|import)\b/,alias:"module"},{pattern:/\b(?:await|break|catch|continue|do|else|finally|for|if|return|switch|throw|try|while|yield)\b/,alias:"control-flow"},{pattern:/\bnull\b/,alias:["null","nil"]},{pattern:/\bundefined\b/,alias:"nil"}),e.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),e.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:t(/(\.\s*)#?<ID>/.source),lookbehind:!0},"maybe-class-name":{pattern:/(^|[^$\w\xA0-\uFFFF])[A-Z][$\w\xA0-\uFFFF]+/,lookbehind:!0},dom:{pattern:/\b(?:document|(?:local|session)Storage|location|navigator|performance|window)\b/,alias:"variable"},console:{pattern:/\bconsole(?=\s*\.)/,alias:"class-name"}});for(var n=["function","function-variable","method","method-variable","property-access"],r=0;r<n.length;r++){var i=n[r],o=e.languages.javascript[i];"RegExp"===e.util.type(o)&&(o=e.languages.javascript[i]={pattern:o});var a=o.inside||{};o.inside=a,a["maybe-class-name"]=/^[A-Z][\s\S]*/}}(e)}function gd(e){e.register(lu),function(e){var t=/("|')(?:\\(?:\r\n?|\n|.)|(?!\1)[^\\\r\n])*\1/;e.languages.json5=e.languages.extend("json",{property:[{pattern:RegExp(t.source+"(?=\\s*:)"),greedy:!0},{pattern:/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/,alias:"unquoted"}],string:{pattern:t,greedy:!0},number:/[+-]?\b(?:NaN|Infinity|0x[a-fA-F\d]+)\b|[+-]?(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+\b)?/})}(e)}function yd(e){e.register(lu),e.languages.jsonp=e.languages.extend("json",{punctuation:/[{}[\]();,.]/}),e.languages.insertBefore("jsonp","punctuation",{function:/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*\()/})}function vd(e){e.languages.jsstacktrace={"error-message":{pattern:/^\S.*/m,alias:"string"},"stack-frame":{pattern:/(^[ \t]+)at[ \t].*/m,lookbehind:!0,inside:{"not-my-code":{pattern:/^at[ \t]+(?!\s)(?:node\.js|<unknown>|.*(?:node_modules|\(<anonymous>\)|\(<unknown>|<anonymous>$|\(internal\/|\(node\.js)).*/m,alias:"comment"},filename:{pattern:/(\bat\s+(?!\s)|\()(?:[a-zA-Z]:)?[^():]+(?=:)/,lookbehind:!0,alias:"url"},function:{pattern:/(\bat\s+(?:new\s+)?)(?!\s)[_$a-zA-Z\xA0-\uFFFF<][.$\w\xA0-\uFFFF<>]*/,lookbehind:!0,inside:{punctuation:/\./}},punctuation:/[()]/,keyword:/\b(?:at|new)\b/,alias:{pattern:/\[(?:as\s+)?(?!\s)[_$a-zA-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*\]/,alias:"variable"},"line-number":{pattern:/:\d+(?::\d+)?\b/,alias:"number",inside:{punctuation:/:/}}}}}}function _d(e){e.languages.julia={comment:{pattern:/(^|[^\\])(?:#=(?:[^#=]|=(?!#)|#(?!=)|#=(?:[^#=]|=(?!#)|#(?!=))*=#)*=#|#.*)/,lookbehind:!0},regex:{pattern:/r"(?:\\.|[^"\\\r\n])*"[imsx]{0,4}/,greedy:!0},string:{pattern:/"""[\s\S]+?"""|(?:\b\w+)?"(?:\\.|[^"\\\r\n])*"|`(?:[^\\`\r\n]|\\.)*`/,greedy:!0},char:{pattern:/(^|[^\w'])'(?:\\[^\r\n][^'\r\n]*|[^\\\r\n])'/,lookbehind:!0,greedy:!0},keyword:/\b(?:abstract|baremodule|begin|bitstype|break|catch|ccall|const|continue|do|else|elseif|end|export|finally|for|function|global|if|immutable|import|importall|in|let|local|macro|module|print|println|quote|return|struct|try|type|typealias|using|while)\b/,boolean:/\b(?:false|true)\b/,number:/(?:\b(?=\d)|\B(?=\.))(?:0[box])?(?:[\da-f]+(?:_[\da-f]+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[efp][+-]?\d+(?:_\d+)*)?j?/i,operator:/&&|\|\||[-+*^%÷⊻&$\\]=?|\/[\/=]?|!=?=?|\|[=>]?|<(?:<=?|[=:|])?|>(?:=|>>?=?)?|==?=?|[~≠≤≥'√∛]/,punctuation:/::?|[{}[\]();,.?]/,constant:/\b(?:(?:Inf|NaN)(?:16|32|64)?|im|pi)\b|[πℯ]/}}function bd(e){e.languages.keepalived={comment:{pattern:/[#!].*/,greedy:!0},string:{pattern:/(^|[^\\])(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/,lookbehind:!0,greedy:!0},ip:{pattern:RegExp(/\b(?:(?:(?:[\da-f]{1,4}:){7}[\da-f]{1,4}|(?:[\da-f]{1,4}:){6}:[\da-f]{1,4}|(?:[\da-f]{1,4}:){5}:(?:[\da-f]{1,4}:)?[\da-f]{1,4}|(?:[\da-f]{1,4}:){4}:(?:[\da-f]{1,4}:){0,2}[\da-f]{1,4}|(?:[\da-f]{1,4}:){3}:(?:[\da-f]{1,4}:){0,3}[\da-f]{1,4}|(?:[\da-f]{1,4}:){2}:(?:[\da-f]{1,4}:){0,4}[\da-f]{1,4}|(?:[\da-f]{1,4}:){6}<ipv4>|(?:[\da-f]{1,4}:){0,5}:<ipv4>|::(?:[\da-f]{1,4}:){0,5}<ipv4>|[\da-f]{1,4}::(?:[\da-f]{1,4}:){0,5}[\da-f]{1,4}|::(?:[\da-f]{1,4}:){0,6}[\da-f]{1,4}|(?:[\da-f]{1,4}:){1,7}:)(?:\/\d{1,3})?|<ipv4>(?:\/\d{1,2})?)\b/.source.replace(/<ipv4>/g,(function(){return/(?:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d))/.source})),"i"),alias:"number"},path:{pattern:/(\s)\/(?:[^\/\s]+\/)*[^\/\s]*|\b[a-zA-Z]:\\(?:[^\\\s]+\\)*[^\\\s]*/,lookbehind:!0,alias:"string"},variable:/\$\{?\w+\}?/,email:{pattern:/[\w-]+@[\w-]+(?:\.[\w-]{2,3}){1,2}/,alias:"string"},"conditional-configuration":{pattern:/@\^?[\w-]+/,alias:"variable"},operator:/=/,property:/\b(?:BFD_CHECK|DNS_CHECK|FILE_CHECK|HTTP_GET|MISC_CHECK|NAME|PING_CHECK|SCRIPTS|SMTP_CHECK|SSL|SSL_GET|TCP_CHECK|UDP_CHECK|accept|advert_int|alpha|auth_pass|auth_type|authentication|bfd_cpu_affinity|bfd_instance|bfd_no_swap|bfd_priority|bfd_process_name|bfd_rlimit_rttime|bfd_rt_priority|bind_if|bind_port|bindto|ca|certificate|check_unicast_src|checker|checker_cpu_affinity|checker_log_all_failures|checker_no_swap|checker_priority|checker_rlimit_rttime|checker_rt_priority|child_wait_time|connect_ip|connect_port|connect_timeout|dbus_service_name|debug|default_interface|delay|delay_before_retry|delay_loop|digest|dont_track_primary|dynamic|dynamic_interfaces|enable_(?:dbus|script_security|sni|snmp_checker|snmp_rfc|snmp_rfcv2|snmp_rfcv3|snmp_vrrp|traps)|end|fall|fast_recovery|file|flag-[123]|fork_delay|full_command|fwmark|garp_group|garp_interval|garp_lower_prio_delay|garp_lower_prio_repeat|garp_master_delay|garp_master_refresh|garp_master_refresh_repeat|garp_master_repeat|global_defs|global_tracking|gna_interval|group|ha_suspend|hashed|helo_name|higher_prio_send_advert|hoplimit|http_protocol|hysteresis|idle_tx|include|inhibit_on_failure|init_fail|init_file|instance|interface|interfaces|interval|ip_family|ipvs_process_name|keepalived.conf|kernel_rx_buf_size|key|linkbeat_interfaces|linkbeat_use_polling|log_all_failures|log_unknown_vrids|lower_prio_no_advert|lthreshold|lvs_flush|lvs_flush_onstop|lvs_method|lvs_netlink_cmd_rcv_bufs|lvs_netlink_cmd_rcv_bufs_force|lvs_netlink_monitor_rcv_bufs|lvs_netlink_monitor_rcv_bufs_force|lvs_notify_fifo|lvs_notify_fifo_script|lvs_sched|lvs_sync_daemon|max_auto_priority|max_hops|mcast_src_ip|mh-fallback|mh-port|min_auto_priority_delay|min_rx|min_tx|misc_dynamic|misc_path|misc_timeout|multiplier|name|namespace_with_ipsets|native_ipv6|neighbor_ip|net_namespace|net_namespace_ipvs|nftables|nftables_counters|nftables_ifindex|nftables_priority|no_accept|no_checker_emails|no_email_faults|nopreempt|notification_email|notification_email_from|notify|notify_backup|notify_deleted|notify_down|notify_fault|notify_fifo|notify_fifo_script|notify_master|notify_master_rx_lower_pri|notify_priority_changes|notify_stop|notify_up|old_unicast_checksum|omega|ops|param_match|passive|password|path|persistence_engine|persistence_granularity|persistence_timeout|preempt|preempt_delay|priority|process|process_monitor_rcv_bufs|process_monitor_rcv_bufs_force|process_name|process_names|promote_secondaries|protocol|proxy_arp|proxy_arp_pvlan|quorum|quorum_down|quorum_max|quorum_up|random_seed|real_server|regex|regex_max_offset|regex_min_offset|regex_no_match|regex_options|regex_stack|reload_repeat|reload_time_file|require_reply|retry|rise|router_id|rs_init_notifies|script|script_user|sh-fallback|sh-port|shutdown_script|shutdown_script_timeout|skip_check_adv_addr|smtp_alert|smtp_alert_checker|smtp_alert_vrrp|smtp_connect_timeout|smtp_helo_name|smtp_server|snmp_socket|sorry_server|sorry_server_inhibit|sorry_server_lvs_method|source_ip|start|startup_script|startup_script_timeout|state|static_ipaddress|static_routes|static_rules|status_code|step|strict_mode|sync_group_tracking_weight|terminate_delay|timeout|track_bfd|track_file|track_group|track_interface|track_process|track_script|track_src_ip|ttl|type|umask|unicast_peer|unicast_src_ip|unicast_ttl|url|use_ipvlan|use_pid_dir|use_vmac|user|uthreshold|val[123]|version|virtual_ipaddress|virtual_ipaddress_excluded|virtual_router_id|virtual_routes|virtual_rules|virtual_server|virtual_server_group|virtualhost|vmac_xmit_base|vrrp|vrrp_(?:check_unicast_src|cpu_affinity|garp_interval|garp_lower_prio_delay|garp_lower_prio_repeat|garp_master_delay|garp_master_refresh|garp_master_refresh_repeat|garp_master_repeat|gna_interval|higher_prio_send_advert|instance|ipsets|iptables|lower_prio_no_advert|mcast_group4|mcast_group6|min_garp|netlink_cmd_rcv_bufs|netlink_cmd_rcv_bufs_force|netlink_monitor_rcv_bufs|netlink_monitor_rcv_bufs_force|no_swap|notify_fifo|notify_fifo_script|notify_priority_changes|priority|process_name|rlimit_rttime|rt_priority|rx_bufs_multiplier|rx_bufs_policy|script|skip_check_adv_addr|startup_delay|strict|sync_group|track_process|version)|warmup|weight)\b/,constant:/\b(?:A|AAAA|AH|BACKUP|CNAME|DR|MASTER|MX|NAT|NS|PASS|SCTP|SOA|TCP|TUN|TXT|UDP|dh|fo|lblc|lblcr|lc|mh|nq|ovf|rr|sed|sh|wlc|wrr)\b/,number:{pattern:/(^|[^\w.-])-?\d+(?:\.\d+)?/,lookbehind:!0},boolean:/\b(?:false|no|off|on|true|yes)\b/,punctuation:/[\{\}]/}}function Ed(e){e.languages.keyman={comment:{pattern:/\bc .*/i,greedy:!0},string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0},"virtual-key":{pattern:/\[\s*(?:(?:ALT|CAPS|CTRL|LALT|LCTRL|NCAPS|RALT|RCTRL|SHIFT)\s+)*(?:[TKU]_[\w?]+|[A-E]\d\d?|"[^"\r\n]*"|'[^'\r\n]*')\s*\]/i,greedy:!0,alias:"function"},"header-keyword":{pattern:/&\w+/,alias:"bold"},"header-statement":{pattern:/\b(?:bitmap|bitmaps|caps always off|caps on only|copyright|hotkey|language|layout|message|name|shift frees caps|version)\b/i,alias:"bold"},"rule-keyword":{pattern:/\b(?:any|baselayout|beep|call|context|deadkey|dk|if|index|layer|notany|nul|outs|platform|reset|return|save|set|store|use)\b/i,alias:"keyword"},"structural-keyword":{pattern:/\b(?:ansi|begin|group|match|newcontext|nomatch|postkeystroke|readonly|unicode|using keys)\b/i,alias:"keyword"},"compile-target":{pattern:/\$(?:keyman|keymanonly|keymanweb|kmfl|weaver):/i,alias:"property"},number:/\b(?:U\+[\dA-F]+|d\d+|x[\da-f]+|\d+)\b/i,operator:/[+>\\$]|\.\./,punctuation:/[()=,]/}}function Td(e){!function(e){var t=/\s\x00-\x1f\x22-\x2f\x3a-\x3f\x5b-\x5e\x60\x7b-\x7e/.source;function n(e,n){return RegExp(e.replace(/<nonId>/g,t),n)}e.languages.kumir={comment:{pattern:/\|.*/},prolog:{pattern:/#.*/,greedy:!0},string:{pattern:/"[^\n\r"]*"|'[^\n\r']*'/,greedy:!0},boolean:{pattern:n(/(^|[<nonId>])(?:да|нет)(?=[<nonId>]|$)/.source),lookbehind:!0},"operator-word":{pattern:n(/(^|[<nonId>])(?:и|или|не)(?=[<nonId>]|$)/.source),lookbehind:!0,alias:"keyword"},"system-variable":{pattern:n(/(^|[<nonId>])знач(?=[<nonId>]|$)/.source),lookbehind:!0,alias:"keyword"},type:[{pattern:n(/(^|[<nonId>])(?:вещ|лит|лог|сим|цел)(?:\x20*таб)?(?=[<nonId>]|$)/.source),lookbehind:!0,alias:"builtin"},{pattern:n(/(^|[<nonId>])(?:компл|сканкод|файл|цвет)(?=[<nonId>]|$)/.source),lookbehind:!0,alias:"important"}],keyword:{pattern:n(/(^|[<nonId>])(?:алг|арг(?:\x20*рез)?|ввод|ВКЛЮЧИТЬ|вс[её]|выбор|вывод|выход|дано|для|до|дс|если|иначе|исп|использовать|кон(?:(?:\x20+|_)исп)?|кц(?:(?:\x20+|_)при)?|надо|нач|нс|нц|от|пауза|пока|при|раза?|рез|стоп|таб|то|утв|шаг)(?=[<nonId>]|$)/.source),lookbehind:!0},name:{pattern:n(/(^|[<nonId>])[^\d<nonId>][^<nonId>]*(?:\x20+[^<nonId>]+)*(?=[<nonId>]|$)/.source),lookbehind:!0},number:{pattern:n(/(^|[<nonId>])(?:\B\$[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)(?=[<nonId>]|$)/.source,"i"),lookbehind:!0},punctuation:/:=|[(),:;\[\]]/,"operator-char":{pattern:/\*\*?|<[=>]?|>=?|[-+/=]/,alias:"operator"}},e.languages.kum=e.languages.kumir}(e)}function xd(e){e.languages.kusto={comment:{pattern:/\/\/.*/,greedy:!0},string:{pattern:/```[\s\S]*?```|[hH]?(?:"(?:[^\r\n\\"]|\\.)*"|'(?:[^\r\n\\']|\\.)*'|@(?:"[^\r\n"]*"|'[^\r\n']*'))/,greedy:!0},verb:{pattern:/(\|\s*)[a-z][\w-]*/i,lookbehind:!0,alias:"keyword"},command:{pattern:/\.[a-z][a-z\d-]*\b/,alias:"keyword"},"class-name":/\b(?:bool|datetime|decimal|dynamic|guid|int|long|real|string|timespan)\b/,keyword:/\b(?:access|alias|and|anti|as|asc|auto|between|by|(?:contains|(?:ends|starts)with|has(?:perfix|suffix)?)(?:_cs)?|database|declare|desc|external|from|fullouter|has_all|in|ingestion|inline|inner|innerunique|into|(?:left|right)(?:anti(?:semi)?|inner|outer|semi)?|let|like|local|not|of|on|or|pattern|print|query_parameters|range|restrict|schema|set|step|table|tables|to|view|where|with|matches\s+regex|nulls\s+(?:first|last))(?![\w-])/,boolean:/\b(?:false|null|true)\b/,function:/\b[a-z_]\w*(?=\s*\()/,datetime:[{pattern:/\b(?:(?:Fri|Friday|Mon|Monday|Sat|Saturday|Sun|Sunday|Thu|Thursday|Tue|Tuesday|Wed|Wednesday)\s*,\s*)?\d{1,2}(?:\s+|-)(?:Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)(?:\s+|-)\d{2}\s+\d{2}:\d{2}(?::\d{2})?(?:\s*(?:\b(?:[A-Z]|(?:[ECMT][DS]|GM|U)T)|[+-]\d{4}))?\b/,alias:"number"},{pattern:/[+-]?\b(?:\d{4}-\d{2}-\d{2}(?:[ T]\d{2}:\d{2}(?::\d{2}(?:\.\d+)?)?)?|\d{2}:\d{2}(?::\d{2}(?:\.\d+)?)?)Z?/,alias:"number"}],number:/\b(?:0x[0-9A-Fa-f]+|\d+(?:\.\d+)?(?:[Ee][+-]?\d+)?)(?:(?:min|sec|[mnµ]s|[dhms]|microsecond|tick)\b)?|[+-]?\binf\b/,operator:/=>|[!=]~|[!=<>]=?|[-+*/%|]|\.\./,punctuation:/[()\[\]{},;.:]/}}function Sd(e){!function(e){var t=/\\(?:[^a-z()[\]]|[a-z*]+)/i,n={"equation-command":{pattern:t,alias:"regex"}};e.languages.latex={comment:/%.*/,cdata:{pattern:/(\\begin\{((?:lstlisting|verbatim)\*?)\})[\s\S]*?(?=\\end\{\2\})/,lookbehind:!0},equation:[{pattern:/\$\$(?:\\[\s\S]|[^\\$])+\$\$|\$(?:\\[\s\S]|[^\\$])+\$|\\\([\s\S]*?\\\)|\\\[[\s\S]*?\\\]/,inside:n,alias:"string"},{pattern:/(\\begin\{((?:align|eqnarray|equation|gather|math|multline)\*?)\})[\s\S]*?(?=\\end\{\2\})/,lookbehind:!0,inside:n,alias:"string"}],keyword:{pattern:/(\\(?:begin|cite|documentclass|end|label|ref|usepackage)(?:\[[^\]]+\])?\{)[^}]+(?=\})/,lookbehind:!0},url:{pattern:/(\\url\{)[^}]+(?=\})/,lookbehind:!0},headline:{pattern:/(\\(?:chapter|frametitle|paragraph|part|section|subparagraph|subsection|subsubparagraph|subsubsection|subsubsubparagraph)\*?(?:\[[^\]]+\])?\{)[^}]+(?=\})/,lookbehind:!0,alias:"class-name"},function:{pattern:t,alias:"selector"},punctuation:/[[\]{}&]/},e.languages.tex=e.languages.latex,e.languages.context=e.languages.latex}(e)}function Cd(e){e.register(Kc),e.register(yu),e.register(vu),function(e){e.languages.latte={comment:/^\{\*[\s\S]*/,"latte-tag":{pattern:/(^\{(?:\/(?=[a-z]))?)(?:[=_]|[a-z]\w*\b(?!\())/i,lookbehind:!0,alias:"important"},delimiter:{pattern:/^\{\/?|\}$/,alias:"punctuation"},php:{pattern:/\S(?:[\s\S]*\S)?/,alias:"language-php",inside:e.languages.php}};var t=e.languages.extend("markup",{});e.languages.insertBefore("inside","attr-value",{"n-attr":{pattern:/n:[\w-]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+))?/,inside:{"attr-name":{pattern:/^[^\s=]+/,alias:"important"},"attr-value":{pattern:/=[\s\S]+/,inside:{punctuation:[/^=/,{pattern:/^(\s*)["']|["']$/,lookbehind:!0}],php:{pattern:/\S(?:[\s\S]*\S)?/,inside:e.languages.php}}}}}},t.tag),e.hooks.add("before-tokenize",(function(n){"latte"===n.language&&(e.languages["markup-templating"].buildPlaceholders(n,"latte",/\{\*[\s\S]*?\*\}|\{[^'"\s{}*](?:[^"'/{}]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|\/\*(?:[^*]|\*(?!\/))*\*\/)*\}/g),n.grammar=t)})),e.hooks.add("after-tokenize",(function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"latte")}))}(e)}function Ad(e){!function(e){e.languages.scheme={comment:/;.*|#;\s*(?:\((?:[^()]|\([^()]*\))*\)|\[(?:[^\[\]]|\[[^\[\]]*\])*\])|#\|(?:[^#|]|#(?!\|)|\|(?!#)|#\|(?:[^#|]|#(?!\|)|\|(?!#))*\|#)*\|#/,string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},symbol:{pattern:/'[^()\[\]#'\s]+/,greedy:!0},char:{pattern:/#\\(?:[ux][a-fA-F\d]+\b|[-a-zA-Z]+\b|[\uD800-\uDBFF][\uDC00-\uDFFF]|\S)/,greedy:!0},"lambda-parameter":[{pattern:/((?:^|[^'`#])[(\[]lambda\s+)(?:[^|()\[\]'\s]+|\|(?:[^\\|]|\\.)*\|)/,lookbehind:!0},{pattern:/((?:^|[^'`#])[(\[]lambda\s+[(\[])[^()\[\]']+/,lookbehind:!0}],keyword:{pattern:/((?:^|[^'`#])[(\[])(?:begin|case(?:-lambda)?|cond(?:-expand)?|define(?:-library|-macro|-record-type|-syntax|-values)?|defmacro|delay(?:-force)?|do|else|except|export|guard|if|import|include(?:-ci|-library-declarations)?|lambda|let(?:rec)?(?:-syntax|-values|\*)?|let\*-values|only|parameterize|prefix|(?:quasi-?)?quote|rename|set!|syntax-(?:case|rules)|unless|unquote(?:-splicing)?|when)(?=[()\[\]\s]|$)/,lookbehind:!0},builtin:{pattern:/((?:^|[^'`#])[(\[])(?:abs|and|append|apply|assoc|ass[qv]|binary-port\?|boolean=?\?|bytevector(?:-append|-copy|-copy!|-length|-u8-ref|-u8-set!|\?)?|caar|cadr|call-with-(?:current-continuation|port|values)|call\/cc|car|cdar|cddr|cdr|ceiling|char(?:->integer|-ready\?|\?|<\?|<=\?|=\?|>\?|>=\?)|close-(?:input-port|output-port|port)|complex\?|cons|current-(?:error|input|output)-port|denominator|dynamic-wind|eof-object\??|eq\?|equal\?|eqv\?|error|error-object(?:-irritants|-message|\?)|eval|even\?|exact(?:-integer-sqrt|-integer\?|\?)?|expt|features|file-error\?|floor(?:-quotient|-remainder|\/)?|flush-output-port|for-each|gcd|get-output-(?:bytevector|string)|inexact\??|input-port(?:-open\?|\?)|integer(?:->char|\?)|lcm|length|list(?:->string|->vector|-copy|-ref|-set!|-tail|\?)?|make-(?:bytevector|list|parameter|string|vector)|map|max|member|memq|memv|min|modulo|negative\?|newline|not|null\?|number(?:->string|\?)|numerator|odd\?|open-(?:input|output)-(?:bytevector|string)|or|output-port(?:-open\?|\?)|pair\?|peek-char|peek-u8|port\?|positive\?|procedure\?|quotient|raise|raise-continuable|rational\?|rationalize|read-(?:bytevector|bytevector!|char|error\?|line|string|u8)|real\?|remainder|reverse|round|set-c[ad]r!|square|string(?:->list|->number|->symbol|->utf8|->vector|-append|-copy|-copy!|-fill!|-for-each|-length|-map|-ref|-set!|\?|<\?|<=\?|=\?|>\?|>=\?)?|substring|symbol(?:->string|\?|=\?)|syntax-error|textual-port\?|truncate(?:-quotient|-remainder|\/)?|u8-ready\?|utf8->string|values|vector(?:->list|->string|-append|-copy|-copy!|-fill!|-for-each|-length|-map|-ref|-set!|\?)?|with-exception-handler|write-(?:bytevector|char|string|u8)|zero\?)(?=[()\[\]\s]|$)/,lookbehind:!0},operator:{pattern:/((?:^|[^'`#])[(\[])(?:[-+*%/]|[<>]=?|=>?)(?=[()\[\]\s]|$)/,lookbehind:!0},number:{pattern:RegExp(function(e){for(var t in e)e[t]=e[t].replace(/<[\w\s]+>/g,(function(t){return"(?:"+e[t].trim()+")"}));return e[t]}({"<ureal dec>":/\d+(?:\/\d+)|(?:\d+(?:\.\d*)?|\.\d+)(?:[esfdl][+-]?\d+)?/.source,"<real dec>":/[+-]?<ureal dec>|[+-](?:inf|nan)\.0/.source,"<imaginary dec>":/[+-](?:<ureal dec>|(?:inf|nan)\.0)?i/.source,"<complex dec>":/<real dec>(?:@<real dec>|<imaginary dec>)?|<imaginary dec>/.source,"<num dec>":/(?:#d(?:#[ei])?|#[ei](?:#d)?)?<complex dec>/.source,"<ureal box>":/[0-9a-f]+(?:\/[0-9a-f]+)?/.source,"<real box>":/[+-]?<ureal box>|[+-](?:inf|nan)\.0/.source,"<imaginary box>":/[+-](?:<ureal box>|(?:inf|nan)\.0)?i/.source,"<complex box>":/<real box>(?:@<real box>|<imaginary box>)?|<imaginary box>/.source,"<num box>":/#[box](?:#[ei])?|(?:#[ei])?#[box]<complex box>/.source,"<number>":/(^|[()\[\]\s])(?:<num dec>|<num box>)(?=[()\[\]\s]|$)/.source}),"i"),lookbehind:!0},boolean:{pattern:/(^|[()\[\]\s])#(?:[ft]|false|true)(?=[()\[\]\s]|$)/,lookbehind:!0},function:{pattern:/((?:^|[^'`#])[(\[])(?:[^|()\[\]'\s]+|\|(?:[^\\|]|\\.)*\|)(?=[()\[\]\s]|$)/,lookbehind:!0},identifier:{pattern:/(^|[()\[\]\s])\|(?:[^\\|]|\\.)*\|(?=[()\[\]\s]|$)/,lookbehind:!0,greedy:!0},punctuation:/[()\[\]']/}}(e)}function Rd(e){e.register(Ad),function(e){for(var t=/\((?:[^();"#\\]|\\[\s\S]|;.*(?!.)|"(?:[^"\\]|\\.)*"|#(?:\{(?:(?!#\})[\s\S])*#\}|[^{])|<expr>)*\)/.source,n=0;n<5;n++)t=t.replace(/<expr>/g,(function(){return t}));t=t.replace(/<expr>/g,/[^\s\S]/.source);var r=e.languages.lilypond={comment:/%(?:(?!\{).*|\{[\s\S]*?%\})/,"embedded-scheme":{pattern:RegExp(/(^|[=\s])#(?:"(?:[^"\\]|\\.)*"|[^\s()"]*(?:[^\s()]|<expr>))/.source.replace(/<expr>/g,(function(){return t})),"m"),lookbehind:!0,greedy:!0,inside:{scheme:{pattern:/^(#)[\s\S]+$/,lookbehind:!0,alias:"language-scheme",inside:{"embedded-lilypond":{pattern:/#\{[\s\S]*?#\}/,greedy:!0,inside:{punctuation:/^#\{|#\}$/,lilypond:{pattern:/[\s\S]+/,alias:"language-lilypond",inside:null}}},rest:e.languages.scheme}},punctuation:/#/}},string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},"class-name":{pattern:/(\\new\s+)[\w-]+/,lookbehind:!0},keyword:{pattern:/\\[a-z][-\w]*/i,inside:{punctuation:/^\\/}},operator:/[=|]|<<|>>/,punctuation:{pattern:/(^|[a-z\d])(?:'+|,+|[_^]?-[_^]?(?:[-+^!>._]|(?=\d))|[_^]\.?|[.!])|[{}()[\]<>^~]|\\[()[\]<>\\!]|--|__/,lookbehind:!0},number:/\b\d+(?:\/\d+)?\b/};r["embedded-scheme"].inside.scheme.inside["embedded-lilypond"].inside.lilypond.inside=r,e.languages.ly=r}(e)}function wd(e){e.register(yu),e.languages.liquid={comment:{pattern:/(^\{%\s*comment\s*%\})[\s\S]+(?=\{%\s*endcomment\s*%\}$)/,lookbehind:!0},delimiter:{pattern:/^\{(?:\{\{|[%\{])-?|-?(?:\}\}|[%\}])\}$/,alias:"punctuation"},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},keyword:/\b(?:as|assign|break|(?:end)?(?:capture|case|comment|for|form|if|paginate|raw|style|tablerow|unless)|continue|cycle|decrement|echo|else|elsif|in|include|increment|limit|liquid|offset|range|render|reversed|section|when|with)\b/,object:/\b(?:address|all_country_option_tags|article|block|blog|cart|checkout|collection|color|country|country_option_tags|currency|current_page|current_tags|customer|customer_address|date|discount_allocation|discount_application|external_video|filter|filter_value|font|forloop|fulfillment|generic_file|gift_card|group|handle|image|line_item|link|linklist|localization|location|measurement|media|metafield|model|model_source|order|page|page_description|page_image|page_title|part|policy|product|product_option|recommendations|request|robots|routes|rule|script|search|selling_plan|selling_plan_allocation|selling_plan_group|shipping_method|shop|shop_locale|sitemap|store_availability|tax_line|template|theme|transaction|unit_price_measurement|user_agent|variant|video|video_source)\b/,function:[{pattern:/(\|\s*)\w+/,lookbehind:!0,alias:"filter"},{pattern:/(\.\s*)(?:first|last|size)/,lookbehind:!0}],boolean:/\b(?:false|nil|true)\b/,range:{pattern:/\.\./,alias:"operator"},number:/\b\d+(?:\.\d+)?\b/,operator:/[!=]=|<>|[<>]=?|[|?:=-]|\b(?:and|contains(?=\s)|or)\b/,punctuation:/[.,\[\]()]/,empty:{pattern:/\bempty\b/,alias:"keyword"}},e.hooks.add("before-tokenize",(function(t){var n=!1;e.languages["markup-templating"].buildPlaceholders(t,"liquid",/\{%\s*comment\s*%\}[\s\S]*?\{%\s*endcomment\s*%\}|\{(?:%[\s\S]*?%|\{\{[\s\S]*?\}\}|\{[\s\S]*?\})\}/g,(function(e){var t=/^\{%-?\s*(\w+)/.exec(e);if(t){var r=t[1];if("raw"===r&&!n)return n=!0,!0;if("endraw"===r)return n=!1,!0}return!n}))})),e.hooks.add("after-tokenize",(function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"liquid")}))}function Ld(e){!function(e){function t(e){return RegExp(/(\()/.source+"(?:"+e+")"+/(?=[\s\)])/.source)}function n(e){return RegExp(/([\s([])/.source+"(?:"+e+")"+/(?=[\s)])/.source)}var r=/(?!\d)[-+*/~!@$%^=<>{}\w]+/.source,i="&"+r,o="(\\()",a="(?=\\s)",s=/(?:[^()]|\((?:[^()]|\((?:[^()]|\((?:[^()]|\((?:[^()]|\([^()]*\))*\))*\))*\))*\))*/.source,l={heading:{pattern:/;;;.*/,alias:["comment","title"]},comment:/;.*/,string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0,inside:{argument:/[-A-Z]+(?=[.,\s])/,symbol:RegExp("`"+r+"'")}},"quoted-symbol":{pattern:RegExp("#?'"+r),alias:["variable","symbol"]},"lisp-property":{pattern:RegExp(":"+r),alias:"property"},splice:{pattern:RegExp(",@?"+r),alias:["symbol","variable"]},keyword:[{pattern:RegExp(o+"(?:and|(?:cl-)?letf|cl-loop|cond|cons|error|if|(?:lexical-)?let\\*?|message|not|null|or|provide|require|setq|unless|use-package|when|while)"+a),lookbehind:!0},{pattern:RegExp(o+"(?:append|by|collect|concat|do|finally|for|in|return)"+a),lookbehind:!0}],declare:{pattern:t(/declare/.source),lookbehind:!0,alias:"keyword"},interactive:{pattern:t(/interactive/.source),lookbehind:!0,alias:"keyword"},boolean:{pattern:n(/nil|t/.source),lookbehind:!0},number:{pattern:n(/[-+]?\d+(?:\.\d*)?/.source),lookbehind:!0},defvar:{pattern:RegExp(o+"def(?:const|custom|group|var)\\s+"+r),lookbehind:!0,inside:{keyword:/^def[a-z]+/,variable:RegExp(r)}},defun:{pattern:RegExp(o+/(?:cl-)?(?:defmacro|defun\*?)\s+/.source+r+/\s+\(/.source+s+/\)/.source),lookbehind:!0,greedy:!0,inside:{keyword:/^(?:cl-)?def\S+/,arguments:null,function:{pattern:RegExp("(^\\s)"+r),lookbehind:!0},punctuation:/[()]/}},lambda:{pattern:RegExp(o+"lambda\\s+\\(\\s*(?:&?"+r+"(?:\\s+&?"+r+")*\\s*)?\\)"),lookbehind:!0,greedy:!0,inside:{keyword:/^lambda/,arguments:null,punctuation:/[()]/}},car:{pattern:RegExp(o+r),lookbehind:!0},punctuation:[/(?:['`,]?\(|[)\[\]])/,{pattern:/(\s)\.(?=\s)/,lookbehind:!0}]},c={"lisp-marker":RegExp(i),varform:{pattern:RegExp(/\(/.source+r+/\s+(?=\S)/.source+s+/\)/.source),inside:l},argument:{pattern:RegExp(/(^|[\s(])/.source+r),lookbehind:!0,alias:"variable"},rest:l},u="\\S+(?:\\s+\\S+)*",h={pattern:RegExp(o+s+"(?=\\))"),lookbehind:!0,inside:{"rest-vars":{pattern:RegExp("&(?:body|rest)\\s+"+u),inside:c},"other-marker-vars":{pattern:RegExp("&(?:aux|optional)\\s+"+u),inside:c},keys:{pattern:RegExp("&key\\s+"+u+"(?:\\s+&allow-other-keys)?"),inside:c},argument:{pattern:RegExp(r),alias:"variable"},punctuation:/[()]/}};l.lambda.inside.arguments=h,l.defun.inside.arguments=e.util.clone(h),l.defun.inside.arguments.inside.sublist=h,e.languages.lisp=l,e.languages.elisp=l,e.languages.emacs=l,e.languages["emacs-lisp"]=l}(e)}function Od(e){e.languages.livescript={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0},{pattern:/(^|[^\\])#.*/,lookbehind:!0}],"interpolated-string":{pattern:/(^|[^"])("""|")(?:\\[\s\S]|(?!\2)[^\\])*\2(?!")/,lookbehind:!0,greedy:!0,inside:{variable:{pattern:/(^|[^\\])#[a-z_](?:-?[a-z]|[\d_])*/m,lookbehind:!0},interpolation:{pattern:/(^|[^\\])#\{[^}]+\}/m,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^#\{|\}$/,alias:"variable"}}},string:/[\s\S]+/}},string:[{pattern:/('''|')(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},{pattern:/<\[[\s\S]*?\]>/,greedy:!0},/\\[^\s,;\])}]+/],regex:[{pattern:/\/\/(?:\[[^\r\n\]]*\]|\\.|(?!\/\/)[^\\\[])+\/\/[gimyu]{0,5}/,greedy:!0,inside:{comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0}}},{pattern:/\/(?:\[[^\r\n\]]*\]|\\.|[^/\\\r\n\[])+\/[gimyu]{0,5}/,greedy:!0}],keyword:{pattern:/(^|(?!-).)\b(?:break|case|catch|class|const|continue|default|do|else|extends|fallthrough|finally|for(?: ever)?|function|if|implements|it|let|loop|new|null|otherwise|own|return|super|switch|that|then|this|throw|try|unless|until|var|void|when|while|yield)(?!-)\b/m,lookbehind:!0},"keyword-operator":{pattern:/(^|[^-])\b(?:(?:delete|require|typeof)!|(?:and|by|delete|export|from|import(?: all)?|in|instanceof|is(?: not|nt)?|not|of|or|til|to|typeof|with|xor)(?!-)\b)/m,lookbehind:!0,alias:"operator"},boolean:{pattern:/(^|[^-])\b(?:false|no|off|on|true|yes)(?!-)\b/m,lookbehind:!0},argument:{pattern:/(^|(?!\.&\.)[^&])&(?!&)\d*/m,lookbehind:!0,alias:"variable"},number:/\b(?:\d+~[\da-z]+|\d[\d_]*(?:\.\d[\d_]*)?(?:[a-z]\w*)?)/i,identifier:/[a-z_](?:-?[a-z]|[\d_])*/i,operator:[{pattern:/( )\.(?= )/,lookbehind:!0},/\.(?:[=~]|\.\.?)|\.(?:[&|^]|<<|>>>?)\.|:(?:=|:=?)|&&|\|[|>]|<(?:<<?<?|--?!?|~~?!?|[|=?])?|>[>=?]?|-(?:->?|>)?|\+\+?|@@?|%%?|\*\*?|!(?:~?=|--?>|~?~>)?|~(?:~?>|=)?|==?|\^\^?|[\/?]/],punctuation:/[(){}\[\]|.,:;`]/},e.languages.livescript["interpolated-string"].inside.interpolation.inside.rest=e.languages.livescript}function Nd(e){!function(e){e.languages.llvm={comment:/;.*/,string:{pattern:/"[^"]*"/,greedy:!0},boolean:/\b(?:false|true)\b/,variable:/[%@!#](?:(?!\d)(?:[-$.\w]|\\[a-f\d]{2})+|\d+)/i,label:/(?!\d)(?:[-$.\w]|\\[a-f\d]{2})+:/i,type:{pattern:/\b(?:double|float|fp128|half|i[1-9]\d*|label|metadata|ppc_fp128|token|void|x86_fp80|x86_mmx)\b/,alias:"class-name"},keyword:/\b[a-z_][a-z_0-9]*\b/,number:/[+-]?\b\d+(?:\.\d+)?(?:[eE][+-]?\d+)?\b|\b0x[\dA-Fa-f]+\b|\b0xK[\dA-Fa-f]{20}\b|\b0x[ML][\dA-Fa-f]{32}\b|\b0xH[\dA-Fa-f]{4}\b/,punctuation:/[{}[\];(),.!*=<>]/}}(e)}function Id(e){e.languages.log={string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?![st] | \w)(?:[^'\\\r\n]|\\.)*'/,greedy:!0},exception:{pattern:/(^|[^\w.])[a-z][\w.]*(?:Error|Exception):.*(?:(?:\r\n?|\n)[ \t]*(?:at[ \t].+|\.{3}.*|Caused by:.*))+(?:(?:\r\n?|\n)[ \t]*\.\.\. .*)?/,lookbehind:!0,greedy:!0,alias:["javastacktrace","language-javastacktrace"],inside:e.languages.javastacktrace||{keyword:/\bat\b/,function:/[a-z_][\w$]*(?=\()/,punctuation:/[.:()]/}},level:[{pattern:/\b(?:ALERT|CRIT|CRITICAL|EMERG|EMERGENCY|ERR|ERROR|FAILURE|FATAL|SEVERE)\b/,alias:["error","important"]},{pattern:/\b(?:WARN|WARNING|WRN)\b/,alias:["warning","important"]},{pattern:/\b(?:DISPLAY|INF|INFO|NOTICE|STATUS)\b/,alias:["info","keyword"]},{pattern:/\b(?:DBG|DEBUG|FINE)\b/,alias:["debug","keyword"]},{pattern:/\b(?:FINER|FINEST|TRACE|TRC|VERBOSE|VRB)\b/,alias:["trace","comment"]}],property:{pattern:/((?:^|[\]|])[ \t]*)[a-z_](?:[\w-]|\b\/\b)*(?:[. ]\(?\w(?:[\w-]|\b\/\b)*\)?)*:(?=\s)/im,lookbehind:!0},separator:{pattern:/(^|[^-+])-{3,}|={3,}|\*{3,}|- - /m,lookbehind:!0,alias:"comment"},url:/\b(?:file|ftp|https?):\/\/[^\s|,;'"]*[^\s|,;'">.]/,email:{pattern:/(^|\s)[-\w+.]+@[a-z][a-z0-9-]*(?:\.[a-z][a-z0-9-]*)+(?=\s)/,lookbehind:!0,alias:"url"},"ip-address":{pattern:/\b(?:\d{1,3}(?:\.\d{1,3}){3})\b/,alias:"constant"},"mac-address":{pattern:/\b[a-f0-9]{2}(?::[a-f0-9]{2}){5}\b/i,alias:"constant"},domain:{pattern:/(^|\s)[a-z][a-z0-9-]*(?:\.[a-z][a-z0-9-]*)*\.[a-z][a-z0-9-]+(?=\s)/,lookbehind:!0,alias:"constant"},uuid:{pattern:/\b[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}\b/i,alias:"constant"},hash:{pattern:/\b(?:[a-f0-9]{32}){1,2}\b/i,alias:"constant"},"file-path":{pattern:/\b[a-z]:[\\/][^\s|,;:(){}\[\]"']+|(^|[\s:\[\](>|])\.{0,2}\/\w[^\s|,;:(){}\[\]"']*/i,lookbehind:!0,greedy:!0,alias:"string"},date:{pattern:RegExp(/\b\d{4}[-/]\d{2}[-/]\d{2}(?:T(?=\d{1,2}:)|(?=\s\d{1,2}:))/.source+"|"+/\b\d{1,4}[-/ ](?:\d{1,2}|Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)[-/ ]\d{2,4}T?\b/.source+"|"+/\b(?:(?:Fri|Mon|Sat|Sun|Thu|Tue|Wed)(?:\s{1,2}(?:Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep))?|Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)\s{1,2}\d{1,2}\b/.source,"i"),alias:"number"},time:{pattern:/\b\d{1,2}:\d{1,2}:\d{1,2}(?:[.,:]\d+)?(?:\s?[+-]\d{2}:?\d{2}|Z)?\b/,alias:"number"},boolean:/\b(?:false|null|true)\b/i,number:{pattern:/(^|[^.\w])(?:0x[a-f0-9]+|0o[0-7]+|0b[01]+|v?\d[\da-f]*(?:\.\d+)*(?:e[+-]?\d+)?[a-z]{0,3}\b)\b(?!\.\w)/i,lookbehind:!0},operator:/[;:?<=>~/@!$%&+\-|^(){}*#]/,punctuation:/[\[\].,]/}}function kd(e){e.languages.lolcode={comment:[/\bOBTW\s[\s\S]*?\sTLDR\b/,/\bBTW.+/],string:{pattern:/"(?::.|[^":])*"/,inside:{variable:/:\{[^}]+\}/,symbol:[/:\([a-f\d]+\)/i,/:\[[^\]]+\]/,/:[)>o":]/]},greedy:!0},number:/(?:\B-)?(?:\b\d+(?:\.\d*)?|\B\.\d+)/,symbol:{pattern:/(^|\s)(?:A )?(?:BUKKIT|NOOB|NUMBAR|NUMBR|TROOF|YARN)(?=\s|,|$)/,lookbehind:!0,inside:{keyword:/A(?=\s)/}},label:{pattern:/((?:^|\s)(?:IM IN YR|IM OUTTA YR) )[a-zA-Z]\w*/,lookbehind:!0,alias:"string"},function:{pattern:/((?:^|\s)(?:HOW IZ I|I IZ|IZ) )[a-zA-Z]\w*/,lookbehind:!0},keyword:[{pattern:/(^|\s)(?:AN|FOUND YR|GIMMEH|GTFO|HAI|HAS A|HOW IZ I|I HAS A|I IZ|IF U SAY SO|IM IN YR|IM OUTTA YR|IS NOW(?: A)?|ITZ(?: A)?|IZ|KTHX|KTHXBYE|LIEK(?: A)?|MAEK|MEBBE|MKAY|NERFIN|NO WAI|O HAI IM|O RLY\?|OIC|OMG|OMGWTF|R|SMOOSH|SRS|TIL|UPPIN|VISIBLE|WILE|WTF\?|YA RLY|YR)(?=\s|,|$)/,lookbehind:!0},/'Z(?=\s|,|$)/],boolean:{pattern:/(^|\s)(?:FAIL|WIN)(?=\s|,|$)/,lookbehind:!0},variable:{pattern:/(^|\s)IT(?=\s|,|$)/,lookbehind:!0},operator:{pattern:/(^|\s)(?:NOT|BOTH SAEM|DIFFRINT|(?:ALL|ANY|BIGGR|BOTH|DIFF|EITHER|MOD|PRODUKT|QUOSHUNT|SMALLR|SUM|WON) OF)(?=\s|,|$)/,lookbehind:!0},punctuation:/\.{3}|…|,|!/}}function Dd(e){e.languages.magma={output:{pattern:/^(>.*(?:\r(?:\n|(?!\n))|\n))(?!>)(?:.+|(?:\r(?:\n|(?!\n))|\n)(?!>).*)(?:(?:\r(?:\n|(?!\n))|\n)(?!>).*)*/m,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/(^|[^\\"])"(?:[^\r\n\\"]|\\.)*"/,lookbehind:!0,greedy:!0},keyword:/\b(?:_|adj|and|assert|assert2|assert3|assigned|break|by|case|cat|catch|clear|cmpeq|cmpne|continue|declare|default|delete|diff|div|do|elif|else|end|eq|error|eval|exists|exit|for|forall|forward|fprintf|freeze|function|ge|gt|if|iload|import|in|intrinsic|is|join|le|load|local|lt|meet|mod|ne|not|notadj|notin|notsubset|or|print|printf|procedure|quit|random|read|readi|repeat|require|requirege|requirerange|restore|return|save|sdiff|select|subset|then|time|to|try|until|vprint|vprintf|vtime|when|where|while|xor)\b/,boolean:/\b(?:false|true)\b/,generator:{pattern:/\b[a-z_]\w*(?=\s*<)/i,alias:"class-name"},function:/\b[a-z_]\w*(?=\s*\()/i,number:{pattern:/(^|[^\w.]|\.\.)(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?(?:_[a-z]?)?(?=$|[^\w.]|\.\.)/,lookbehind:!0},operator:/->|[-+*/^~!|#=]|:=|\.\./,punctuation:/[()[\]{}<>,;.:]/}}function Pd(e){!function(e){var t=/\b(?:(?:col|row)?vector|matrix|scalar)\b/.source,n=/\bvoid\b|<org>|\b(?:complex|numeric|pointer(?:\s*\([^()]*\))?|real|string|(?:class|struct)\s+\w+|transmorphic)(?:\s*<org>)?/.source.replace(/<org>/g,t);e.languages.mata={comment:{pattern:/\/\/.*|\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/)*\*\//,greedy:!0},string:{pattern:/"[^"\r\n]*"|[‘`']".*?"[’`']/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|struct)\s+)\w+(?=\s*(?:\{|\bextends\b))/,lookbehind:!0},type:{pattern:RegExp(n),alias:"class-name",inside:{punctuation:/[()]/,keyword:/\b(?:class|function|struct|void)\b/}},keyword:/\b(?:break|class|continue|do|else|end|extends|external|final|for|function|goto|if|pragma|private|protected|public|return|static|struct|unset|unused|version|virtual|while)\b/,constant:/\bNULL\b/,number:{pattern:/(^|[^\w.])(?:\d+(?:\.\d+)?(?:e[+-]?\d+)?|\d[a-f0-9]*(?:\.[a-f0-9]+)?x[+-]?\d+)i?(?![\w.])/i,lookbehind:!0},missing:{pattern:/(^|[^\w.])(?:\.[a-z]?)(?![\w.])/,lookbehind:!0,alias:"symbol"},function:/\b[a-z_]\w*(?=\s*\()/i,operator:/\.\.|\+\+|--|&&|\|\||:?(?:[!=<>]=|[+\-*/^<>&|:])|[!?=\\#’`']/,punctuation:/[()[\]{},;.]/}}(e)}function Md(e){e.languages.matlab={comment:[/%\{[\s\S]*?\}%/,/%.+/],string:{pattern:/\B'(?:''|[^'\r\n])*'/,greedy:!0},number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+)?(?:[ij])?|\b[ij]\b/,keyword:/\b(?:NaN|break|case|catch|continue|else|elseif|end|for|function|if|inf|otherwise|parfor|pause|pi|return|switch|try|while)\b/,function:/\b(?!\d)\w+(?=\s*\()/,operator:/\.?[*^\/\\']|[+\-:@]|[<>=~]=?|&&?|\|\|?/,punctuation:/\.{3}|[.,;\[\](){}!]/}}function Fd(e){!function(e){var t=/\b(?:about|and|animate|as|at|attributes|by|case|catch|collect|continue|coordsys|do|else|exit|fn|for|from|function|global|if|in|local|macroscript|mapped|max|not|of|off|on|or|parameters|persistent|plugin|rcmenu|return|rollout|set|struct|then|throw|to|tool|try|undo|utility|when|where|while|with)\b/i;e.languages.maxscript={comment:{pattern:/\/\*[\s\S]*?(?:\*\/|$)|--.*/,greedy:!0},string:{pattern:/(^|[^"\\@])(?:"(?:[^"\\]|\\[\s\S])*"|@"[^"]*")/,lookbehind:!0,greedy:!0},path:{pattern:/\$(?:[\w/\\.*?]|'[^']*')*/,greedy:!0,alias:"string"},"function-call":{pattern:RegExp("((?:"+/^/.source+"|"+/[;=<>+\-*/^({\[]/.source+"|"+/\b(?:and|by|case|catch|collect|do|else|if|in|not|or|return|then|to|try|where|while|with)\b/.source+")[ \t]*)(?!"+t.source+")"+/[a-z_]\w*\b/.source+"(?=[ \t]*(?:(?!"+t.source+")"+/[a-z_]/.source+"|"+/\d|-\.?\d/.source+"|"+/[({'"$@#?]/.source+"))","im"),lookbehind:!0,greedy:!0,alias:"function"},"function-definition":{pattern:/(\b(?:fn|function)\s+)\w+\b/i,lookbehind:!0,alias:"function"},argument:{pattern:/\b[a-z_]\w*(?=:)/i,alias:"attr-name"},keyword:t,boolean:/\b(?:false|true)\b/,time:{pattern:/(^|[^\w.])(?:(?:(?:\d+(?:\.\d*)?|\.\d+)(?:[eEdD][+-]\d+|[LP])?[msft])+|\d+:\d+(?:\.\d*)?)(?![\w.:])/,lookbehind:!0,alias:"number"},number:[{pattern:/(^|[^\w.])(?:(?:\d+(?:\.\d*)?|\.\d+)(?:[eEdD][+-]\d+|[LP])?|0x[a-fA-F0-9]+)(?![\w.:])/,lookbehind:!0},/\b(?:e|pi)\b/],constant:/\b(?:dontcollect|ok|silentValue|undefined|unsupplied)\b/,color:{pattern:/\b(?:black|blue|brown|gray|green|orange|red|white|yellow)\b/i,alias:"constant"},operator:/[-+*/<>=!]=?|[&^?]|#(?!\()/,punctuation:/[()\[\]{}.:,;]|#(?=\()|\\$/m}}(e)}function Hd(e){e.languages.mel={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},code:{pattern:/`(?:\\.|[^\\`])*`/,greedy:!0,alias:"italic",inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},statement:{pattern:/[\s\S]+/,inside:null}}},string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},variable:/\$\w+/,number:/\b0x[\da-fA-F]+\b|\b\d+(?:\.\d*)?|\B\.\d+/,flag:{pattern:/-[^\d\W]\w*/,alias:"operator"},keyword:/\b(?:break|case|continue|default|do|else|float|for|global|if|in|int|matrix|proc|return|string|switch|vector|while)\b/,function:{pattern:/((?:^|[{;])[ \t]*)[a-z_]\w*\b(?!\s*(?:\.(?!\.)|[[{=]))|\b[a-z_]\w*(?=[ \t]*\()/im,lookbehind:!0,greedy:!0},"tensor-punctuation":{pattern:/<<|>>/,alias:"punctuation"},operator:/\+[+=]?|-[-=]?|&&|\|\||[<>]=?|[*\/!=]=?|[%^]/,punctuation:/[.,:;?\[\](){}]/},e.languages.mel.code.inside.statement.inside=e.languages.mel}function Bd(e){e.languages.mermaid={comment:{pattern:/%%.*/,greedy:!0},style:{pattern:/^([ \t]*(?:classDef|linkStyle|style)[ \t]+[\w$-]+[ \t]+)\w.*[^\s;]/m,lookbehind:!0,inside:{property:/\b\w[\w-]*(?=[ \t]*:)/,operator:/:/,punctuation:/,/}},"inter-arrow-label":{pattern:/([^<>ox.=-])(?:-[-.]|==)(?![<>ox.=-])[ \t]*(?:"[^"\r\n]*"|[^\s".=-](?:[^\r\n.=-]*[^\s.=-])?)[ \t]*(?:\.+->?|--+[->]|==+[=>])(?![<>ox.=-])/,lookbehind:!0,greedy:!0,inside:{arrow:{pattern:/(?:\.+->?|--+[->]|==+[=>])$/,alias:"operator"},label:{pattern:/^([\s\S]{2}[ \t]*)\S(?:[\s\S]*\S)?/,lookbehind:!0,alias:"property"},"arrow-head":{pattern:/^\S+/,alias:["arrow","operator"]}}},arrow:[{pattern:/(^|[^{}|o.-])[|}][|o](?:--|\.\.)[|o][|{](?![{}|o.-])/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>ox.=-])(?:[<ox](?:==+|--+|-\.*-)[>ox]?|(?:==+|--+|-\.*-)[>ox]|===+|---+|-\.+-)(?![<>ox.=-])/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>()x-])(?:--?(?:>>|[x>)])(?![<>()x])|(?:<<|[x<(])--?(?!-))/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>|*o.-])(?:[*o]--|--[*o]|<\|?(?:--|\.\.)|(?:--|\.\.)\|?>|--|\.\.)(?![<>|*o.-])/,lookbehind:!0,alias:"operator"}],label:{pattern:/(^|[^|<])\|(?:[^\r\n"|]|"[^"\r\n]*")+\|/,lookbehind:!0,greedy:!0,alias:"property"},text:{pattern:/(?:[(\[{]+|\b>)(?:[^\r\n"()\[\]{}]|"[^"\r\n]*")+(?:[)\]}]+|>)/,alias:"string"},string:{pattern:/"[^"\r\n]*"/,greedy:!0},annotation:{pattern:/<<(?:abstract|choice|enumeration|fork|interface|join|service)>>|\[\[(?:choice|fork|join)\]\]/i,alias:"important"},keyword:[{pattern:/(^[ \t]*)(?:action|callback|class|classDef|classDiagram|click|direction|erDiagram|flowchart|gantt|gitGraph|graph|journey|link|linkStyle|pie|requirementDiagram|sequenceDiagram|stateDiagram|stateDiagram-v2|style|subgraph)(?![\w$-])/m,lookbehind:!0,greedy:!0},{pattern:/(^[ \t]*)(?:activate|alt|and|as|autonumber|deactivate|else|end(?:[ \t]+note)?|loop|opt|par|participant|rect|state|note[ \t]+(?:over|(?:left|right)[ \t]+of))(?![\w$-])/im,lookbehind:!0,greedy:!0}],entity:/#[a-z0-9]+;/,operator:{pattern:/(\w[ \t]*)&(?=[ \t]*\w)|:::|:/,lookbehind:!0},punctuation:/[(){};]/}}function Ud(e){e.languages.metafont={comment:{pattern:/%.*/,greedy:!0},string:{pattern:/"[^\r\n"]*"/,greedy:!0},number:/\d*\.?\d+/,boolean:/\b(?:false|true)\b/,punctuation:[/[,;()]/,{pattern:/(^|[^{}])(?:\{|\})(?![{}])/,lookbehind:!0},{pattern:/(^|[^[])\[(?!\[)/,lookbehind:!0},{pattern:/(^|[^\]])\](?!\])/,lookbehind:!0}],constant:[{pattern:/(^|[^!?])\?\?\?(?![!?])/,lookbehind:!0},{pattern:/(^|[^/*\\])(?:\\|\\\\)(?![/*\\])/,lookbehind:!0},/\b(?:_|blankpicture|bp|cc|cm|dd|ditto|down|eps|epsilon|fullcircle|halfcircle|identity|in|infinity|left|mm|nullpen|nullpicture|origin|pc|penrazor|penspeck|pensquare|penstroke|proof|pt|quartercircle|relax|right|smoke|unitpixel|unitsquare|up)\b/],quantity:{pattern:/\b(?:autorounding|blacker|boundarychar|charcode|chardp|chardx|chardy|charext|charht|charic|charwd|currentwindow|day|designsize|displaying|fillin|fontmaking|granularity|hppp|join_radius|month|o_correction|pausing|pen_(?:bot|lft|rt|top)|pixels_per_inch|proofing|showstopping|smoothing|time|tolerance|tracingcapsules|tracingchoices|tracingcommands|tracingedges|tracingequations|tracingmacros|tracingonline|tracingoutput|tracingpens|tracingrestores|tracingspecs|tracingstats|tracingtitles|turningcheck|vppp|warningcheck|xoffset|year|yoffset)\b/,alias:"keyword"},command:{pattern:/\b(?:addto|batchmode|charlist|cull|display|errhelp|errmessage|errorstopmode|everyjob|extensible|fontdimen|headerbyte|inner|interim|let|ligtable|message|newinternal|nonstopmode|numspecial|openwindow|outer|randomseed|save|scrollmode|shipout|show|showdependencies|showstats|showtoken|showvariable|special)\b/,alias:"builtin"},operator:[{pattern:/(^|[^>=<:|])(?:<|<=|=|=:|\|=:|\|=:>|=:\|>|=:\||\|=:\||\|=:\|>|\|=:\|>>|>|>=|:|:=|<>|::|\|\|:)(?![>=<:|])/,lookbehind:!0},{pattern:/(^|[^+-])(?:\+|\+\+|-{1,3}|\+-\+)(?![+-])/,lookbehind:!0},{pattern:/(^|[^/*\\])(?:\*|\*\*|\/)(?![/*\\])/,lookbehind:!0},{pattern:/(^|[^.])(?:\.{2,3})(?!\.)/,lookbehind:!0},{pattern:/(^|[^@#&$])&(?![@#&$])/,lookbehind:!0},/\b(?:and|not|or)\b/],macro:{pattern:/\b(?:abs|beginchar|bot|byte|capsule_def|ceiling|change_width|clear_pen_memory|clearit|clearpen|clearxy|counterclockwise|cullit|cutdraw|cutoff|decr|define_blacker_pixels|define_corrected_pixels|define_good_x_pixels|define_good_y_pixels|define_horizontal_corrected_pixels|define_pixels|define_whole_blacker_pixels|define_whole_pixels|define_whole_vertical_blacker_pixels|define_whole_vertical_pixels|dir|direction|directionpoint|div|dotprod|downto|draw|drawdot|endchar|erase|fill|filldraw|fix_units|flex|font_coding_scheme|font_extra_space|font_identifier|font_normal_shrink|font_normal_space|font_normal_stretch|font_quad|font_size|font_slant|font_x_height|gfcorners|gobble|gobbled|good\.(?:bot|lft|rt|top|x|y)|grayfont|hide|hround|imagerules|incr|interact|interpath|intersectionpoint|inverse|italcorr|killtext|labelfont|labels|lft|loggingall|lowres_fix|makegrid|makelabel(?:\.(?:bot|lft|rt|top)(?:\.nodot)?)?|max|min|mod|mode_def|mode_setup|nodisplays|notransforms|numtok|openit|penlabels|penpos|pickup|proofoffset|proofrule|proofrulethickness|range|reflectedabout|rotatedabout|rotatedaround|round|rt|savepen|screenchars|screenrule|screenstrokes|shipit|showit|slantfont|softjoin|solve|stop|superellipse|tensepath|thru|titlefont|top|tracingall|tracingnone|undraw|undrawdot|unfill|unfilldraw|upto|vround)\b/,alias:"function"},builtin:/\b(?:ASCII|angle|char|cosd|decimal|directiontime|floor|hex|intersectiontimes|jobname|known|length|makepath|makepen|mexp|mlog|normaldeviate|oct|odd|pencircle|penoffset|point|postcontrol|precontrol|reverse|rotated|sind|sqrt|str|subpath|substring|totalweight|turningnumber|uniformdeviate|unknown|xpart|xxpart|xypart|ypart|yxpart|yypart)\b/,keyword:/\b(?:also|at|atleast|begingroup|charexists|contour|controls|curl|cycle|def|delimiters|doublepath|dropping|dump|else|elseif|end|enddef|endfor|endgroup|endinput|exitif|exitunless|expandafter|fi|for|forever|forsuffixes|from|if|input|inwindow|keeping|kern|of|primarydef|quote|readstring|scaled|scantokens|secondarydef|shifted|skipto|slanted|step|tension|tertiarydef|to|transformed|until|vardef|withpen|withweight|xscaled|yscaled|zscaled)\b/,type:{pattern:/\b(?:boolean|expr|numeric|pair|path|pen|picture|primary|secondary|string|suffix|tertiary|text|transform)\b/,alias:"property"},variable:{pattern:/(^|[^@#&$])(?:@#|#@|#|@)(?![@#&$])|\b(?:aspect_ratio|currentpen|currentpicture|currenttransform|d|extra_beginchar|extra_endchar|extra_setup|h|localfont|mag|mode|screen_cols|screen_rows|w|whatever|x|y|z)\b/,lookbehind:!0}}}function jd(e){e.languages.mizar={comment:/::.+/,keyword:/@proof\b|\b(?:according|aggregate|all|and|antonym|are|as|associativity|assume|asymmetry|attr|be|begin|being|by|canceled|case|cases|clusters?|coherence|commutativity|compatibility|connectedness|consider|consistency|constructors|contradiction|correctness|def|deffunc|define|definitions?|defpred|do|does|end|environ|equals|ex|exactly|existence|for|from|func|given|hence|hereby|holds|idempotence|identity|iff?|implies|involutiveness|irreflexivity|is|it|let|means|mode|non|not|notations?|now|of|or|otherwise|over|per|pred|prefix|projectivity|proof|provided|qua|reconsider|redefine|reduce|reducibility|reflexivity|registrations?|requirements|reserve|sch|schemes?|section|selector|set|sethood|st|struct|such|suppose|symmetry|synonym|take|that|the|then|theorems?|thesis|thus|to|transitivity|uniqueness|vocabular(?:ies|y)|when|where|with|wrt)\b/,parameter:{pattern:/\$(?:10|\d)/,alias:"variable"},variable:/\b\w+(?=:)/,number:/(?:\b|-)\d+\b/,operator:/\.\.\.|->|&|\.?=/,punctuation:/\(#|#\)|[,:;\[\](){}]/}}function Gd(e){e.register(su),function(e){var t=["$eq","$gt","$gte","$in","$lt","$lte","$ne","$nin","$and","$not","$nor","$or","$exists","$type","$expr","$jsonSchema","$mod","$regex","$text","$where","$geoIntersects","$geoWithin","$near","$nearSphere","$all","$elemMatch","$size","$bitsAllClear","$bitsAllSet","$bitsAnyClear","$bitsAnySet","$comment","$elemMatch","$meta","$slice","$currentDate","$inc","$min","$max","$mul","$rename","$set","$setOnInsert","$unset","$addToSet","$pop","$pull","$push","$pullAll","$each","$position","$slice","$sort","$bit","$addFields","$bucket","$bucketAuto","$collStats","$count","$currentOp","$facet","$geoNear","$graphLookup","$group","$indexStats","$limit","$listLocalSessions","$listSessions","$lookup","$match","$merge","$out","$planCacheStats","$project","$redact","$replaceRoot","$replaceWith","$sample","$set","$skip","$sort","$sortByCount","$unionWith","$unset","$unwind","$setWindowFields","$abs","$accumulator","$acos","$acosh","$add","$addToSet","$allElementsTrue","$and","$anyElementTrue","$arrayElemAt","$arrayToObject","$asin","$asinh","$atan","$atan2","$atanh","$avg","$binarySize","$bsonSize","$ceil","$cmp","$concat","$concatArrays","$cond","$convert","$cos","$dateFromParts","$dateToParts","$dateFromString","$dateToString","$dayOfMonth","$dayOfWeek","$dayOfYear","$degreesToRadians","$divide","$eq","$exp","$filter","$first","$floor","$function","$gt","$gte","$hour","$ifNull","$in","$indexOfArray","$indexOfBytes","$indexOfCP","$isArray","$isNumber","$isoDayOfWeek","$isoWeek","$isoWeekYear","$last","$last","$let","$literal","$ln","$log","$log10","$lt","$lte","$ltrim","$map","$max","$mergeObjects","$meta","$min","$millisecond","$minute","$mod","$month","$multiply","$ne","$not","$objectToArray","$or","$pow","$push","$radiansToDegrees","$range","$reduce","$regexFind","$regexFindAll","$regexMatch","$replaceOne","$replaceAll","$reverseArray","$round","$rtrim","$second","$setDifference","$setEquals","$setIntersection","$setIsSubset","$setUnion","$size","$sin","$slice","$split","$sqrt","$stdDevPop","$stdDevSamp","$strcasecmp","$strLenBytes","$strLenCP","$substr","$substrBytes","$substrCP","$subtract","$sum","$switch","$tan","$toBool","$toDate","$toDecimal","$toDouble","$toInt","$toLong","$toObjectId","$toString","$toLower","$toUpper","$trim","$trunc","$type","$week","$year","$zip","$count","$dateAdd","$dateDiff","$dateSubtract","$dateTrunc","$getField","$rand","$sampleRate","$setField","$unsetField","$comment","$explain","$hint","$max","$maxTimeMS","$min","$orderby","$query","$returnKey","$showDiskLoc","$natural"],n="(?:"+(t=t.map((function(e){return e.replace("$","\\$")}))).join("|")+")\\b";e.languages.mongodb=e.languages.extend("javascript",{}),e.languages.insertBefore("mongodb","string",{property:{pattern:/(?:(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)(?=\s*:)/,greedy:!0,inside:{keyword:RegExp("^(['\"])?"+n+"(?:\\1)?$")}}}),e.languages.mongodb.string.inside={url:{pattern:/https?:\/\/[-\w@:%.+~#=]{1,256}\.[a-z0-9()]{1,6}\b[-\w()@:%+.~#?&/=]*/i,greedy:!0},entity:{pattern:/\b(?:(?:[01]?\d\d?|2[0-4]\d|25[0-5])\.){3}(?:[01]?\d\d?|2[0-4]\d|25[0-5])\b/,greedy:!0}},e.languages.insertBefore("mongodb","constant",{builtin:{pattern:RegExp("\\b(?:"+["ObjectId","Code","BinData","DBRef","Timestamp","NumberLong","NumberDecimal","MaxKey","MinKey","RegExp","ISODate","UUID"].join("|")+")\\b"),alias:"keyword"}})}(e)}function Yd(e){e.languages.monkey={comment:{pattern:/^#Rem\s[\s\S]*?^#End|'.+/im,greedy:!0},string:{pattern:/"[^"\r\n]*"/,greedy:!0},preprocessor:{pattern:/(^[ \t]*)#.+/m,lookbehind:!0,greedy:!0,alias:"property"},function:/\b\w+(?=\()/,"type-char":{pattern:/\b[?%#$]/,alias:"class-name"},number:{pattern:/((?:\.\.)?)(?:(?:\b|\B-\.?|\B\.)\d+(?:(?!\.\.)\.\d*)?|\$[\da-f]+)/i,lookbehind:!0},keyword:/\b(?:Abstract|Array|Bool|Case|Catch|Class|Const|Continue|Default|Eachin|Else|ElseIf|End|EndIf|Exit|Extends|Extern|False|Field|Final|Float|For|Forever|Function|Global|If|Implements|Import|Inline|Int|Interface|Local|Method|Module|New|Next|Null|Object|Private|Property|Public|Repeat|Return|Select|Self|Step|Strict|String|Super|Then|Throw|To|True|Try|Until|Void|Wend|While)\b/i,operator:/\.\.|<[=>]?|>=?|:?=|(?:[+\-*\/&~|]|\b(?:Mod|Shl|Shr)\b)=?|\b(?:And|Not|Or)\b/i,punctuation:/[.,:;()\[\]]/}}function zd(e){e.languages.moonscript={comment:/--.*/,string:[{pattern:/'[^']*'|\[(=*)\[[\s\S]*?\]\1\]/,greedy:!0},{pattern:/"[^"]*"/,greedy:!0,inside:{interpolation:{pattern:/#\{[^{}]*\}/,inside:{moonscript:{pattern:/(^#\{)[\s\S]+(?=\})/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/#\{|\}/,alias:"punctuation"}}}}}],"class-name":[{pattern:/(\b(?:class|extends)[ \t]+)\w+/,lookbehind:!0},/\b[A-Z]\w*/],keyword:/\b(?:class|continue|do|else|elseif|export|extends|for|from|if|import|in|local|nil|return|self|super|switch|then|unless|using|when|while|with)\b/,variable:/@@?\w*/,property:{pattern:/\b(?!\d)\w+(?=:)|(:)(?!\d)\w+/,lookbehind:!0},function:{pattern:/\b(?:_G|_VERSION|assert|collectgarbage|coroutine\.(?:create|resume|running|status|wrap|yield)|debug\.(?:debug|getfenv|gethook|getinfo|getlocal|getmetatable|getregistry|getupvalue|setfenv|sethook|setlocal|setmetatable|setupvalue|traceback)|dofile|error|getfenv|getmetatable|io\.(?:close|flush|input|lines|open|output|popen|read|stderr|stdin|stdout|tmpfile|type|write)|ipairs|load|loadfile|loadstring|math\.(?:abs|acos|asin|atan|atan2|ceil|cos|cosh|deg|exp|floor|fmod|frexp|ldexp|log|log10|max|min|modf|pi|pow|rad|random|randomseed|sin|sinh|sqrt|tan|tanh)|module|next|os\.(?:clock|date|difftime|execute|exit|getenv|remove|rename|setlocale|time|tmpname)|package\.(?:cpath|loaded|loadlib|path|preload|seeall)|pairs|pcall|print|rawequal|rawget|rawset|require|select|setfenv|setmetatable|string\.(?:byte|char|dump|find|format|gmatch|gsub|len|lower|match|rep|reverse|sub|upper)|table\.(?:concat|insert|maxn|remove|sort)|tonumber|tostring|type|unpack|xpcall)\b/,inside:{punctuation:/\./}},boolean:/\b(?:false|true)\b/,number:/(?:\B\.\d+|\b\d+\.\d+|\b\d+(?=[eE]))(?:[eE][-+]?\d+)?\b|\b(?:0x[a-fA-F\d]+|\d+)(?:U?LL)?\b/,operator:/\.{3}|[-=]>|~=|(?:[-+*/%<>!=]|\.\.)=?|[:#^]|\b(?:and|or)\b=?|\b(?:not)\b/,punctuation:/[.,()[\]{}\\]/},e.languages.moonscript.string[1].inside.interpolation.inside.moonscript.inside=e.languages.moonscript,e.languages.moon=e.languages.moonscript}function $d(e){e.languages.n1ql={comment:{pattern:/\/\*[\s\S]*?(?:$|\*\/)|--.*/,greedy:!0},string:{pattern:/(["'])(?:\\[\s\S]|(?!\1)[^\\]|\1\1)*\1/,greedy:!0},identifier:{pattern:/`(?:\\[\s\S]|[^\\`]|``)*`/,greedy:!0},parameter:/\$[\w.]+/,keyword:/\b(?:ADVISE|ALL|ALTER|ANALYZE|AS|ASC|AT|BEGIN|BINARY|BOOLEAN|BREAK|BUCKET|BUILD|BY|CALL|CAST|CLUSTER|COLLATE|COLLECTION|COMMIT|COMMITTED|CONNECT|CONTINUE|CORRELATE|CORRELATED|COVER|CREATE|CURRENT|DATABASE|DATASET|DATASTORE|DECLARE|DECREMENT|DELETE|DERIVED|DESC|DESCRIBE|DISTINCT|DO|DROP|EACH|ELEMENT|EXCEPT|EXCLUDE|EXECUTE|EXPLAIN|FETCH|FILTER|FLATTEN|FLUSH|FOLLOWING|FOR|FORCE|FROM|FTS|FUNCTION|GOLANG|GRANT|GROUP|GROUPS|GSI|HASH|HAVING|IF|IGNORE|ILIKE|INCLUDE|INCREMENT|INDEX|INFER|INLINE|INNER|INSERT|INTERSECT|INTO|IS|ISOLATION|JAVASCRIPT|JOIN|KEY|KEYS|KEYSPACE|KNOWN|LANGUAGE|LAST|LEFT|LET|LETTING|LEVEL|LIMIT|LSM|MAP|MAPPING|MATCHED|MATERIALIZED|MERGE|MINUS|MISSING|NAMESPACE|NEST|NL|NO|NTH_VALUE|NULL|NULLS|NUMBER|OBJECT|OFFSET|ON|OPTION|OPTIONS|ORDER|OTHERS|OUTER|OVER|PARSE|PARTITION|PASSWORD|PATH|POOL|PRECEDING|PREPARE|PRIMARY|PRIVATE|PRIVILEGE|PROBE|PROCEDURE|PUBLIC|RANGE|RAW|REALM|REDUCE|RENAME|RESPECT|RETURN|RETURNING|REVOKE|RIGHT|ROLE|ROLLBACK|ROW|ROWS|SATISFIES|SAVEPOINT|SCHEMA|SCOPE|SELECT|SELF|SEMI|SET|SHOW|SOME|START|STATISTICS|STRING|SYSTEM|TIES|TO|TRAN|TRANSACTION|TRIGGER|TRUNCATE|UNBOUNDED|UNDER|UNION|UNIQUE|UNKNOWN|UNNEST|UNSET|UPDATE|UPSERT|USE|USER|USING|VALIDATE|VALUE|VALUES|VIA|VIEW|WHERE|WHILE|WINDOW|WITH|WORK|XOR)\b/i,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:FALSE|TRUE)\b/i,number:/(?:\b\d+\.|\B\.)\d+e[+\-]?\d+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/%]|!=|==?|\|\||<[>=]?|>=?|\b(?:AND|ANY|ARRAY|BETWEEN|CASE|ELSE|END|EVERY|EXISTS|FIRST|IN|LIKE|NOT|OR|THEN|VALUED|WHEN|WITHIN)\b/i,punctuation:/[;[\](),.{}:]/}}function Wd(e){e.languages["nand2tetris-hdl"]={comment:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,keyword:/\b(?:BUILTIN|CHIP|CLOCKED|IN|OUT|PARTS)\b/,boolean:/\b(?:false|true)\b/,function:/\b[A-Za-z][A-Za-z0-9]*(?=\()/,number:/\b\d+\b/,operator:/=|\.\./,punctuation:/[{}[\];(),:]/}}function Vd(e){!function(e){var t=/\{[^\r\n\[\]{}]*\}/,n={"quoted-string":{pattern:/"(?:[^"\\]|\\.)*"/,alias:"operator"},"command-param-id":{pattern:/(\s)\w+:/,lookbehind:!0,alias:"property"},"command-param-value":[{pattern:t,alias:"selector"},{pattern:/([\t ])\S+/,lookbehind:!0,greedy:!0,alias:"operator"},{pattern:/\S(?:.*\S)?/,alias:"operator"}]};function r(e){return"string"==typeof e?e:Array.isArray(e)?e.map(r).join(""):r(e.content)}e.languages.naniscript={comment:{pattern:/^([\t ]*);.*/m,lookbehind:!0},define:{pattern:/^>.+/m,alias:"tag",inside:{value:{pattern:/(^>\w+[\t ]+)(?!\s)[^{}\r\n]+/,lookbehind:!0,alias:"operator"},key:{pattern:/(^>)\w+/,lookbehind:!0}}},label:{pattern:/^([\t ]*)#[\t ]*\w+[\t ]*$/m,lookbehind:!0,alias:"regex"},command:{pattern:/^([\t ]*)@\w+(?=[\t ]|$).*/m,lookbehind:!0,alias:"function",inside:{"command-name":/^@\w+/,expression:{pattern:t,greedy:!0,alias:"selector"},"command-params":{pattern:/\s*\S[\s\S]*/,inside:n}}},"generic-text":{pattern:/(^[ \t]*)[^#@>;\s].*/m,lookbehind:!0,alias:"punctuation",inside:{"escaped-char":/\\[{}\[\]"]/,expression:{pattern:t,greedy:!0,alias:"selector"},"inline-command":{pattern:/\[[\t ]*\w[^\r\n\[\]]*\]/,greedy:!0,alias:"function",inside:{"command-params":{pattern:/(^\[[\t ]*\w+\b)[\s\S]+(?=\]$)/,lookbehind:!0,inside:n},"command-param-name":{pattern:/^(\[[\t ]*)\w+/,lookbehind:!0,alias:"name"},"start-stop-char":/[\[\]]/}}}}},e.languages.nani=e.languages.naniscript,e.hooks.add("after-tokenize",(function(e){e.tokens.forEach((function(e){if("string"!=typeof e&&"generic-text"===e.type){var t=r(e);(function(e){for(var t=[],n=0;n<e.length;n++){var r=e[n],i="[]{}".indexOf(r);if(-1!==i)if(i%2==0)t.push(i+1);else if(t.pop()!==i)return!1}return 0===t.length})(t)||(e.type="bad-line",e.content=t)}}))}))}(e)}function Kd(e){e.languages.nasm={comment:/;.*$/m,string:/(["'`])(?:\\.|(?!\1)[^\\\r\n])*\1/,label:{pattern:/(^\s*)[A-Za-z._?$][\w.?$@~#]*:/m,lookbehind:!0,alias:"function"},keyword:[/\[?BITS (?:16|32|64)\]?/,{pattern:/(^\s*)section\s*[a-z.]+:?/im,lookbehind:!0},/(?:extern|global)[^;\r\n]*/i,/(?:CPU|DEFAULT|FLOAT).*$/m],register:{pattern:/\b(?:st\d|[xyz]mm\d\d?|[cdt]r\d|r\d\d?[bwd]?|[er]?[abcd]x|[abcd][hl]|[er]?(?:bp|di|si|sp)|[cdefgs]s)\b/i,alias:"variable"},number:/(?:\b|(?=\$))(?:0[hx](?:\.[\da-f]+|[\da-f]+(?:\.[\da-f]+)?)(?:p[+-]?\d+)?|\d[\da-f]+[hx]|\$\d[\da-f]*|0[oq][0-7]+|[0-7]+[oq]|0[by][01]+|[01]+[by]|0[dt]\d+|(?:\d+(?:\.\d+)?|\.\d+)(?:\.?e[+-]?\d+)?[dt]?)\b/i,operator:/[\[\]*+\-\/%<>=&|$!]/}}function qd(e){e.languages.neon={comment:{pattern:/#.*/,greedy:!0},datetime:{pattern:/(^|[[{(=:,\s])\d\d\d\d-\d\d?-\d\d?(?:(?:[Tt]| +)\d\d?:\d\d:\d\d(?:\.\d*)? *(?:Z|[-+]\d\d?(?::?\d\d)?)?)?(?=$|[\]}),\s])/,lookbehind:!0,alias:"number"},key:{pattern:/(^|[[{(,\s])[^,:=[\]{}()'"\s]+(?=\s*:(?:$|[\]}),\s])|\s*=)/,lookbehind:!0,alias:"property"},number:{pattern:/(^|[[{(=:,\s])[+-]?(?:0x[\da-fA-F]+|0o[0-7]+|0b[01]+|(?:\d+(?:\.\d*)?|\.?\d+)(?:[eE][+-]?\d+)?)(?=$|[\]}),:=\s])/,lookbehind:!0},boolean:{pattern:/(^|[[{(=:,\s])(?:false|no|true|yes)(?=$|[\]}),:=\s])/i,lookbehind:!0},null:{pattern:/(^|[[{(=:,\s])(?:null)(?=$|[\]}),:=\s])/i,lookbehind:!0,alias:"keyword"},string:{pattern:/(^|[[{(=:,\s])(?:('''|""")\r?\n(?:(?:[^\r\n]|\r?\n(?![\t ]*\2))*\r?\n)?[\t ]*\2|'[^'\r\n]*'|"(?:\\.|[^\\"\r\n])*")/,lookbehind:!0,greedy:!0},literal:{pattern:/(^|[[{(=:,\s])(?:[^#"',:=[\]{}()\s`-]|[:-][^"',=[\]{}()\s])(?:[^,:=\]})(\s]|:(?![\s,\]})]|$)|[ \t]+[^#,:=\]})(\s])*/,lookbehind:!0,alias:"string"},punctuation:/[,:=[\]{}()-]/}}function Xd(e){e.languages.nevod={comment:/\/\/.*|(?:\/\*[\s\S]*?(?:\*\/|$))/,string:{pattern:/(?:"(?:""|[^"])*"(?!")|'(?:''|[^'])*'(?!'))!?\*?/,greedy:!0,inside:{"string-attrs":/!$|!\*$|\*$/}},namespace:{pattern:/(@namespace\s+)[a-zA-Z0-9\-.]+(?=\s*\{)/,lookbehind:!0},pattern:{pattern:/(@pattern\s+)?#?[a-zA-Z0-9\-.]+(?:\s*\(\s*(?:~\s*)?[a-zA-Z0-9\-.]+\s*(?:,\s*(?:~\s*)?[a-zA-Z0-9\-.]*)*\))?(?=\s*=)/,lookbehind:!0,inside:{"pattern-name":{pattern:/^#?[a-zA-Z0-9\-.]+/,alias:"class-name"},fields:{pattern:/\(.*\)/,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},punctuation:/[,()]/,operator:{pattern:/~/,alias:"field-hidden-mark"}}}}},search:{pattern:/(@search\s+|#)[a-zA-Z0-9\-.]+(?:\.\*)?(?=\s*;)/,alias:"function",lookbehind:!0},keyword:/@(?:having|inside|namespace|outside|pattern|require|search|where)\b/,"standard-pattern":{pattern:/\b(?:Alpha|AlphaNum|Any|Blank|End|LineBreak|Num|NumAlpha|Punct|Space|Start|Symbol|Word|WordBreak)\b(?:\([a-zA-Z0-9\-.,\s+]*\))?/,inside:{"standard-pattern-name":{pattern:/^[a-zA-Z0-9\-.]+/,alias:"builtin"},quantifier:{pattern:/\b\d+(?:\s*\+|\s*-\s*\d+)?(?!\w)/,alias:"number"},"standard-pattern-attr":{pattern:/[a-zA-Z0-9\-.]+/,alias:"builtin"},punctuation:/[,()]/}},quantifier:{pattern:/\b\d+(?:\s*\+|\s*-\s*\d+)?(?!\w)/,alias:"number"},operator:[{pattern:/=/,alias:"pattern-def"},{pattern:/&/,alias:"conjunction"},{pattern:/~/,alias:"exception"},{pattern:/\?/,alias:"optionality"},{pattern:/[[\]]/,alias:"repetition"},{pattern:/[{}]/,alias:"variation"},{pattern:/[+_]/,alias:"sequence"},{pattern:/\.{2,3}/,alias:"span"}],"field-capture":[{pattern:/([a-zA-Z0-9\-.]+\s*\()\s*[a-zA-Z0-9\-.]+\s*:\s*[a-zA-Z0-9\-.]+(?:\s*,\s*[a-zA-Z0-9\-.]+\s*:\s*[a-zA-Z0-9\-.]+)*(?=\s*\))/,lookbehind:!0,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},colon:/:/}},{pattern:/[a-zA-Z0-9\-.]+\s*:/,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},colon:/:/}}],punctuation:/[:;,()]/,name:/[a-zA-Z0-9\-.]+/}}function Zd(e){!function(e){var t=/\$(?:\w[a-z\d]*(?:_[^\x00-\x1F\s"'\\()$]*)?|\{[^}\s"'\\]+\})/i;e.languages.nginx={comment:{pattern:/(^|[\s{};])#.*/,lookbehind:!0,greedy:!0},directive:{pattern:/(^|\s)\w(?:[^;{}"'\\\s]|\\.|"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*'|\s+(?:#.*(?!.)|(?![#\s])))*?(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:{string:{pattern:/((?:^|[^\\])(?:\\\\)*)(?:"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*')/,lookbehind:!0,greedy:!0,inside:{escape:{pattern:/\\["'\\nrt]/,alias:"entity"},variable:t}},comment:{pattern:/(\s)#.*/,lookbehind:!0,greedy:!0},keyword:{pattern:/^\S+/,greedy:!0},boolean:{pattern:/(\s)(?:off|on)(?!\S)/,lookbehind:!0},number:{pattern:/(\s)\d+[a-z]*(?!\S)/i,lookbehind:!0},variable:t}},punctuation:/[{};]/}}(e)}function Qd(e){e.languages.nim={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/(?:\b(?!\d)(?:\w|\\x[89a-fA-F][0-9a-fA-F])+)?(?:"""[\s\S]*?"""(?!")|"(?:\\[\s\S]|""|[^"\\])*")/,greedy:!0},char:{pattern:/'(?:\\(?:\d+|x[\da-fA-F]{0,2}|.)|[^'])'/,greedy:!0},function:{pattern:/(?:(?!\d)(?:\w|\\x[89a-fA-F][0-9a-fA-F])+|`[^`\r\n]+`)\*?(?:\[[^\]]+\])?(?=\s*\()/,greedy:!0,inside:{operator:/\*$/}},identifier:{pattern:/`[^`\r\n]+`/,greedy:!0,inside:{punctuation:/`/}},number:/\b(?:0[xXoObB][\da-fA-F_]+|\d[\d_]*(?:(?!\.\.)\.[\d_]*)?(?:[eE][+-]?\d[\d_]*)?)(?:'?[iuf]\d*)?/,keyword:/\b(?:addr|as|asm|atomic|bind|block|break|case|cast|concept|const|continue|converter|defer|discard|distinct|do|elif|else|end|enum|except|export|finally|for|from|func|generic|if|import|include|interface|iterator|let|macro|method|mixin|nil|object|out|proc|ptr|raise|ref|return|static|template|try|tuple|type|using|var|when|while|with|without|yield)\b/,operator:{pattern:/(^|[({\[](?=\.\.)|(?![({\[]\.).)(?:(?:[=+\-*\/<>@$~&%|!?^:\\]|\.\.|\.(?![)}\]]))+|\b(?:and|div|in|is|isnot|mod|not|notin|of|or|shl|shr|xor)\b)/m,lookbehind:!0},punctuation:/[({\[]\.|\.[)}\]]|[`(){}\[\],:]/}}function Jd(e){e.languages.nix={comment:{pattern:/\/\*[\s\S]*?\*\/|#.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\[\s\S])*"|''(?:(?!'')[\s\S]|''(?:'|\\|\$\{))*''/,greedy:!0,inside:{interpolation:{pattern:/(^|(?:^|(?!'').)[^\\])\$\{(?:[^{}]|\{[^}]*\})*\}/,lookbehind:!0,inside:null}}},url:[/\b(?:[a-z]{3,7}:\/\/)[\w\-+%~\/.:#=?&]+/,{pattern:/([^\/])(?:[\w\-+%~.:#=?&]*(?!\/\/)[\w\-+%~\/.:#=?&])?(?!\/\/)\/[\w\-+%~\/.:#=?&]*/,lookbehind:!0}],antiquotation:{pattern:/\$(?=\{)/,alias:"important"},number:/\b\d+\b/,keyword:/\b(?:assert|builtins|else|if|in|inherit|let|null|or|then|with)\b/,function:/\b(?:abort|add|all|any|attrNames|attrValues|baseNameOf|compareVersions|concatLists|currentSystem|deepSeq|derivation|dirOf|div|elem(?:At)?|fetch(?:Tarball|url)|filter(?:Source)?|fromJSON|genList|getAttr|getEnv|hasAttr|hashString|head|import|intersectAttrs|is(?:Attrs|Bool|Function|Int|List|Null|String)|length|lessThan|listToAttrs|map|mul|parseDrvName|pathExists|read(?:Dir|File)|removeAttrs|replaceStrings|seq|sort|stringLength|sub(?:string)?|tail|throw|to(?:File|JSON|Path|String|XML)|trace|typeOf)\b|\bfoldl'\B/,boolean:/\b(?:false|true)\b/,operator:/[=!<>]=?|\+\+?|\|\||&&|\/\/|->?|[?@]/,punctuation:/[{}()[\].,:;]/},e.languages.nix.string.inside.interpolation.inside=e.languages.nix}function ef(e){e.languages.nsis={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|[#;].*)/,lookbehind:!0,greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:{pattern:/(^[\t ]*)(?:Abort|Add(?:BrandingImage|Size)|AdvSplash|Allow(?:RootDirInstall|SkipFiles)|AutoCloseWindow|BG(?:Font|Gradient|Image)|Banner|BrandingText|BringToFront|CRCCheck|Call(?:InstDLL)?|Caption|ChangeUI|CheckBitmap|ClearErrors|CompletedText|ComponentText|CopyFiles|Create(?:Directory|Font|ShortCut)|Delete(?:INISec|INIStr|RegKey|RegValue)?|Detail(?:Print|sButtonText)|Dialer|Dir(?:Text|Var|Verify)|EnableWindow|Enum(?:RegKey|RegValue)|Exch|Exec(?:Shell(?:Wait)?|Wait)?|ExpandEnvStrings|File(?:BufSize|Close|ErrorText|Open|Read|ReadByte|ReadUTF16LE|ReadWord|Seek|Write|WriteByte|WriteUTF16LE|WriteWord)?|Find(?:Close|First|Next|Window)|FlushINI|Get(?:CurInstType|CurrentAddress|DLLVersion(?:Local)?|DlgItem|ErrorLevel|FileTime(?:Local)?|FullPathName|Function(?:Address|End)?|InstDirError|KnownFolderPath|LabelAddress|TempFileName|WinVer)|Goto|HideWindow|Icon|If(?:Abort|Errors|FileExists|RebootFlag|RtlLanguage|ShellVarContextAll|Silent)|InitPluginsDir|InstProgressFlags|Inst(?:Type(?:GetText|SetText)?)|Install(?:ButtonText|Colors|Dir(?:RegKey)?)|Int(?:64|Ptr)?CmpU?|Int(?:64)?Fmt|Int(?:Ptr)?Op|IsWindow|Lang(?:DLL|String)|License(?:BkColor|Data|ForceSelection|LangString|Text)|LoadLanguageFile|LockWindow|Log(?:Set|Text)|Manifest(?:DPIAware|SupportedOS)|Math|MessageBox|MiscButtonText|NSISdl|Name|Nop|OutFile|PE(?:DllCharacteristics|SubsysVer)|Page(?:Callbacks)?|Pop|Push|Quit|RMDir|Read(?:EnvStr|INIStr|RegDWORD|RegStr)|Reboot|RegDLL|Rename|RequestExecutionLevel|ReserveFile|Return|SearchPath|Section(?:End|GetFlags|GetInstTypes|GetSize|GetText|Group|In|SetFlags|SetInstTypes|SetSize|SetText)?|SendMessage|Set(?:AutoClose|BrandingImage|Compress|Compressor(?:DictSize)?|CtlColors|CurInstType|DatablockOptimize|DateSave|Details(?:Print|View)|ErrorLevel|Errors|FileAttributes|Font|OutPath|Overwrite|PluginUnload|RebootFlag|RegView|ShellVarContext|Silent)|Show(?:InstDetails|UninstDetails|Window)|Silent(?:Install|UnInstall)|Sleep|SpaceTexts|Splash|StartMenu|Str(?:CmpS?|Cpy|Len)|SubCaption|System|Target|UnRegDLL|Unicode|UninstPage|Uninstall(?:ButtonText|Caption|Icon|SubCaption|Text)|UserInfo|VI(?:AddVersionKey|FileVersion|ProductVersion)|VPatch|Var|WindowIcon|Write(?:INIStr|Reg(?:Bin|DWORD|ExpandStr|MultiStr|None|Str)|Uninstaller)|XPStyle|ns(?:Dialogs|Exec))\b/m,lookbehind:!0},property:/\b(?:ARCHIVE|FILE_(?:ATTRIBUTE_ARCHIVE|ATTRIBUTE_NORMAL|ATTRIBUTE_OFFLINE|ATTRIBUTE_READONLY|ATTRIBUTE_SYSTEM|ATTRIBUTE_TEMPORARY)|HK(?:(?:CR|CU|LM)(?:32|64)?|DD|PD|U)|HKEY_(?:CLASSES_ROOT|CURRENT_CONFIG|CURRENT_USER|DYN_DATA|LOCAL_MACHINE|PERFORMANCE_DATA|USERS)|ID(?:ABORT|CANCEL|IGNORE|NO|OK|RETRY|YES)|MB_(?:ABORTRETRYIGNORE|DEFBUTTON1|DEFBUTTON2|DEFBUTTON3|DEFBUTTON4|ICONEXCLAMATION|ICONINFORMATION|ICONQUESTION|ICONSTOP|OK|OKCANCEL|RETRYCANCEL|RIGHT|RTLREADING|SETFOREGROUND|TOPMOST|USERICON|YESNO)|NORMAL|OFFLINE|READONLY|SHCTX|SHELL_CONTEXT|SYSTEM|TEMPORARY|admin|all|auto|both|colored|false|force|hide|highest|lastused|leave|listonly|none|normal|notset|off|on|open|print|show|silent|silentlog|smooth|textonly|true|user)\b/,constant:/\$\{[!\w\.:\^-]+\}|\$\([!\w\.:\^-]+\)/,variable:/\$\w[\w\.]*/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--?|\+\+?|<=?|>=?|==?=?|&&?|\|\|?|[?*\/~^%]/,punctuation:/[{}[\];(),.:]/,important:{pattern:/(^[\t ]*)!(?:addincludedir|addplugindir|appendfile|cd|define|delfile|echo|else|endif|error|execute|finalize|getdllversion|gettlbversion|if|ifdef|ifmacrodef|ifmacrondef|ifndef|include|insertmacro|macro|macroend|makensis|packhdr|pragma|searchparse|searchreplace|system|tempfile|undef|verbose|warning)\b/im,lookbehind:!0}}}function tf(e){e.languages.ocaml={comment:{pattern:/\(\*[\s\S]*?\*\)/,greedy:!0},char:{pattern:/'(?:[^\\\r\n']|\\(?:.|[ox]?[0-9a-f]{1,3}))'/i,greedy:!0},string:[{pattern:/"(?:\\(?:[\s\S]|\r\n)|[^\\\r\n"])*"/,greedy:!0},{pattern:/\{([a-z_]*)\|[\s\S]*?\|\1\}/,greedy:!0}],number:[/\b(?:0b[01][01_]*|0o[0-7][0-7_]*)\b/i,/\b0x[a-f0-9][a-f0-9_]*(?:\.[a-f0-9_]*)?(?:p[+-]?\d[\d_]*)?(?!\w)/i,/\b\d[\d_]*(?:\.[\d_]*)?(?:e[+-]?\d[\d_]*)?(?!\w)/i],directive:{pattern:/\B#\w+/,alias:"property"},label:{pattern:/\B~\w+/,alias:"property"},"type-variable":{pattern:/\B'\w+/,alias:"function"},variant:{pattern:/`\w+/,alias:"symbol"},keyword:/\b(?:as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|match|method|module|mutable|new|nonrec|object|of|open|private|rec|sig|struct|then|to|try|type|val|value|virtual|when|where|while|with)\b/,boolean:/\b(?:false|true)\b/,"operator-like-punctuation":{pattern:/\[[<>|]|[>|]\]|\{<|>\}/,alias:"punctuation"},operator:/\.[.~]|:[=>]|[=<>@^|&+\-*\/$%!?~][!$%&*+\-.\/:<=>?@^|~]*|\b(?:and|asr|land|lor|lsl|lsr|lxor|mod|or)\b/,punctuation:/;;|::|[(){}\[\].,:;#]|\b_\b/}}function nf(e){!function(e){var t=/\\(?:["'\\abefnrtv]|0[0-7]{2}|U[\dA-Fa-f]{6}|u[\dA-Fa-f]{4}|x[\dA-Fa-f]{2})/;e.languages.odin={comment:[{pattern:/\/\*(?:[^/*]|\/(?!\*)|\*(?!\/)|\/\*(?:\*(?!\/)|[^*])*(?:\*\/|$))*(?:\*\/|$)/,greedy:!0},{pattern:/#![^\n\r]*/,greedy:!0},{pattern:/\/\/[^\n\r]*/,greedy:!0}],char:{pattern:/'(?:\\(?:.|[0Uux][0-9A-Fa-f]{1,6})|[^\n\r'\\])'/,greedy:!0,inside:{symbol:t}},string:[{pattern:/`[^`]*`/,greedy:!0},{pattern:/"(?:\\.|[^\n\r"\\])*"/,greedy:!0,inside:{symbol:t}}],directive:{pattern:/#\w+/,alias:"property"},number:/\b0(?:b[01_]+|d[\d_]+|h_*(?:(?:(?:[\dA-Fa-f]_*){8}){1,2}|(?:[\dA-Fa-f]_*){4})|o[0-7_]+|x[\dA-F_a-f]+|z[\dAB_ab]+)\b|(?:\b\d+(?:\.(?!\.)\d*)?|\B\.\d+)(?:[Ee][+-]?\d*)?[ijk]?(?!\w)/,discard:{pattern:/\b_\b/,alias:"keyword"},"procedure-definition":{pattern:/\b\w+(?=[ \t]*(?::\s*){2}proc\b)/,alias:"function"},keyword:/\b(?:asm|auto_cast|bit_set|break|case|cast|context|continue|defer|distinct|do|dynamic|else|enum|fallthrough|for|foreign|if|import|in|map|matrix|not_in|or_else|or_return|package|proc|return|struct|switch|transmute|typeid|union|using|when|where)\b/,"procedure-name":{pattern:/\b\w+(?=[ \t]*\()/,alias:"function"},boolean:/\b(?:false|nil|true)\b/,"constant-parameter-sign":{pattern:/\$/,alias:"important"},undefined:{pattern:/---/,alias:"operator"},arrow:{pattern:/->/,alias:"punctuation"},operator:/\+\+|--|\.\.[<=]?|(?:&~|[-!*+/=~]|[%&<>|]{1,2})=?|[?^]/,punctuation:/[(),.:;@\[\]{}]/}}(e)}function rf(e){e.register(qc),function(e){e.languages.opencl=e.languages.extend("c",{keyword:/\b(?:(?:__)?(?:constant|global|kernel|local|private|read_only|read_write|write_only)|__attribute__|auto|(?:bool|u?(?:char|int|long|short)|half|quad)(?:2|3|4|8|16)?|break|case|complex|const|continue|(?:double|float)(?:16(?:x(?:1|2|4|8|16))?|1x(?:1|2|4|8|16)|2(?:x(?:1|2|4|8|16))?|3|4(?:x(?:1|2|4|8|16))?|8(?:x(?:1|2|4|8|16))?)?|default|do|else|enum|extern|for|goto|if|imaginary|inline|packed|pipe|register|restrict|return|signed|sizeof|static|struct|switch|typedef|uniform|union|unsigned|void|volatile|while)\b/,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[fuhl]{0,4}/i,boolean:/\b(?:false|true)\b/,"constant-opencl-kernel":{pattern:/\b(?:CHAR_(?:BIT|MAX|MIN)|CLK_(?:ADDRESS_(?:CLAMP(?:_TO_EDGE)?|NONE|REPEAT)|FILTER_(?:LINEAR|NEAREST)|(?:GLOBAL|LOCAL)_MEM_FENCE|NORMALIZED_COORDS_(?:FALSE|TRUE))|CL_(?:BGRA|(?:HALF_)?FLOAT|INTENSITY|LUMINANCE|A?R?G?B?[Ax]?|(?:(?:UN)?SIGNED|[US]NORM)_(?:INT(?:8|16|32))|UNORM_(?:INT_101010|SHORT_(?:555|565)))|(?:DBL|FLT|HALF)_(?:DIG|EPSILON|(?:MAX|MIN)(?:(?:_10)?_EXP)?|MANT_DIG)|FLT_RADIX|HUGE_VALF?|(?:INT|LONG|SCHAR|SHRT)_(?:MAX|MIN)|INFINITY|MAXFLOAT|M_(?:[12]_PI|2_SQRTPI|E|LN(?:2|10)|LOG(?:2|10)E?|PI(?:_[24])?|SQRT(?:1_2|2))(?:_F|_H)?|NAN|(?:UCHAR|UINT|ULONG|USHRT)_MAX)\b/,alias:"constant"}}),e.languages.insertBefore("opencl","class-name",{"builtin-type":{pattern:/\b(?:_cl_(?:command_queue|context|device_id|event|kernel|mem|platform_id|program|sampler)|cl_(?:image_format|mem_fence_flags)|clk_event_t|event_t|image(?:1d_(?:array_|buffer_)?t|2d_(?:array_(?:depth_|msaa_depth_|msaa_)?|depth_|msaa_depth_|msaa_)?t|3d_t)|intptr_t|ndrange_t|ptrdiff_t|queue_t|reserve_id_t|sampler_t|size_t|uintptr_t)\b/,alias:"keyword"}});var t={"type-opencl-host":{pattern:/\b(?:cl_(?:GLenum|GLint|GLuin|addressing_mode|bitfield|bool|buffer_create_type|build_status|channel_(?:order|type)|(?:u?(?:char|int|long|short)|double|float)(?:2|3|4|8|16)?|command_(?:queue(?:_info|_properties)?|type)|context(?:_info|_properties)?|device_(?:exec_capabilities|fp_config|id|info|local_mem_type|mem_cache_type|type)|(?:event|sampler)(?:_info)?|filter_mode|half|image_info|kernel(?:_info|_work_group_info)?|map_flags|mem(?:_flags|_info|_object_type)?|platform_(?:id|info)|profiling_info|program(?:_build_info|_info)?))\b/,alias:"keyword"},"boolean-opencl-host":{pattern:/\bCL_(?:FALSE|TRUE)\b/,alias:"boolean"},"constant-opencl-host":{pattern:/\bCL_(?:A|ABGR|ADDRESS_(?:CLAMP(?:_TO_EDGE)?|MIRRORED_REPEAT|NONE|REPEAT)|ARGB|BGRA|BLOCKING|BUFFER_CREATE_TYPE_REGION|BUILD_(?:ERROR|IN_PROGRESS|NONE|PROGRAM_FAILURE|SUCCESS)|COMMAND_(?:ACQUIRE_GL_OBJECTS|BARRIER|COPY_(?:BUFFER(?:_RECT|_TO_IMAGE)?|IMAGE(?:_TO_BUFFER)?)|FILL_(?:BUFFER|IMAGE)|MAP(?:_BUFFER|_IMAGE)|MARKER|MIGRATE(?:_SVM)?_MEM_OBJECTS|NATIVE_KERNEL|NDRANGE_KERNEL|READ_(?:BUFFER(?:_RECT)?|IMAGE)|RELEASE_GL_OBJECTS|SVM_(?:FREE|MAP|MEMCPY|MEMFILL|UNMAP)|TASK|UNMAP_MEM_OBJECT|USER|WRITE_(?:BUFFER(?:_RECT)?|IMAGE))|COMPILER_NOT_AVAILABLE|COMPILE_PROGRAM_FAILURE|COMPLETE|CONTEXT_(?:DEVICES|INTEROP_USER_SYNC|NUM_DEVICES|PLATFORM|PROPERTIES|REFERENCE_COUNT)|DEPTH(?:_STENCIL)?|DEVICE_(?:ADDRESS_BITS|AFFINITY_DOMAIN_(?:L[1-4]_CACHE|NEXT_PARTITIONABLE|NUMA)|AVAILABLE|BUILT_IN_KERNELS|COMPILER_AVAILABLE|DOUBLE_FP_CONFIG|ENDIAN_LITTLE|ERROR_CORRECTION_SUPPORT|EXECUTION_CAPABILITIES|EXTENSIONS|GLOBAL_(?:MEM_(?:CACHELINE_SIZE|CACHE_SIZE|CACHE_TYPE|SIZE)|VARIABLE_PREFERRED_TOTAL_SIZE)|HOST_UNIFIED_MEMORY|IL_VERSION|IMAGE(?:2D_MAX_(?:HEIGHT|WIDTH)|3D_MAX_(?:DEPTH|HEIGHT|WIDTH)|_BASE_ADDRESS_ALIGNMENT|_MAX_ARRAY_SIZE|_MAX_BUFFER_SIZE|_PITCH_ALIGNMENT|_SUPPORT)|LINKER_AVAILABLE|LOCAL_MEM_SIZE|LOCAL_MEM_TYPE|MAX_(?:CLOCK_FREQUENCY|COMPUTE_UNITS|CONSTANT_ARGS|CONSTANT_BUFFER_SIZE|GLOBAL_VARIABLE_SIZE|MEM_ALLOC_SIZE|NUM_SUB_GROUPS|ON_DEVICE_(?:EVENTS|QUEUES)|PARAMETER_SIZE|PIPE_ARGS|READ_IMAGE_ARGS|READ_WRITE_IMAGE_ARGS|SAMPLERS|WORK_GROUP_SIZE|WORK_ITEM_DIMENSIONS|WORK_ITEM_SIZES|WRITE_IMAGE_ARGS)|MEM_BASE_ADDR_ALIGN|MIN_DATA_TYPE_ALIGN_SIZE|NAME|NATIVE_VECTOR_WIDTH_(?:CHAR|DOUBLE|FLOAT|HALF|INT|LONG|SHORT)|NOT_(?:AVAILABLE|FOUND)|OPENCL_C_VERSION|PARENT_DEVICE|PARTITION_(?:AFFINITY_DOMAIN|BY_AFFINITY_DOMAIN|BY_COUNTS|BY_COUNTS_LIST_END|EQUALLY|FAILED|MAX_SUB_DEVICES|PROPERTIES|TYPE)|PIPE_MAX_(?:ACTIVE_RESERVATIONS|PACKET_SIZE)|PLATFORM|PREFERRED_(?:GLOBAL_ATOMIC_ALIGNMENT|INTEROP_USER_SYNC|LOCAL_ATOMIC_ALIGNMENT|PLATFORM_ATOMIC_ALIGNMENT|VECTOR_WIDTH_(?:CHAR|DOUBLE|FLOAT|HALF|INT|LONG|SHORT))|PRINTF_BUFFER_SIZE|PROFILE|PROFILING_TIMER_RESOLUTION|QUEUE_(?:ON_(?:DEVICE_(?:MAX_SIZE|PREFERRED_SIZE|PROPERTIES)|HOST_PROPERTIES)|PROPERTIES)|REFERENCE_COUNT|SINGLE_FP_CONFIG|SUB_GROUP_INDEPENDENT_FORWARD_PROGRESS|SVM_(?:ATOMICS|CAPABILITIES|COARSE_GRAIN_BUFFER|FINE_GRAIN_BUFFER|FINE_GRAIN_SYSTEM)|TYPE(?:_ACCELERATOR|_ALL|_CPU|_CUSTOM|_DEFAULT|_GPU)?|VENDOR(?:_ID)?|VERSION)|DRIVER_VERSION|EVENT_(?:COMMAND_(?:EXECUTION_STATUS|QUEUE|TYPE)|CONTEXT|REFERENCE_COUNT)|EXEC_(?:KERNEL|NATIVE_KERNEL|STATUS_ERROR_FOR_EVENTS_IN_WAIT_LIST)|FILTER_(?:LINEAR|NEAREST)|FLOAT|FP_(?:CORRECTLY_ROUNDED_DIVIDE_SQRT|DENORM|FMA|INF_NAN|ROUND_TO_INF|ROUND_TO_NEAREST|ROUND_TO_ZERO|SOFT_FLOAT)|GLOBAL|HALF_FLOAT|IMAGE_(?:ARRAY_SIZE|BUFFER|DEPTH|ELEMENT_SIZE|FORMAT|FORMAT_MISMATCH|FORMAT_NOT_SUPPORTED|HEIGHT|NUM_MIP_LEVELS|NUM_SAMPLES|ROW_PITCH|SLICE_PITCH|WIDTH)|INTENSITY|INVALID_(?:ARG_INDEX|ARG_SIZE|ARG_VALUE|BINARY|BUFFER_SIZE|BUILD_OPTIONS|COMMAND_QUEUE|COMPILER_OPTIONS|CONTEXT|DEVICE|DEVICE_PARTITION_COUNT|DEVICE_QUEUE|DEVICE_TYPE|EVENT|EVENT_WAIT_LIST|GLOBAL_OFFSET|GLOBAL_WORK_SIZE|GL_OBJECT|HOST_PTR|IMAGE_DESCRIPTOR|IMAGE_FORMAT_DESCRIPTOR|IMAGE_SIZE|KERNEL|KERNEL_ARGS|KERNEL_DEFINITION|KERNEL_NAME|LINKER_OPTIONS|MEM_OBJECT|MIP_LEVEL|OPERATION|PIPE_SIZE|PLATFORM|PROGRAM|PROGRAM_EXECUTABLE|PROPERTY|QUEUE_PROPERTIES|SAMPLER|VALUE|WORK_DIMENSION|WORK_GROUP_SIZE|WORK_ITEM_SIZE)|KERNEL_(?:ARG_(?:ACCESS_(?:NONE|QUALIFIER|READ_ONLY|READ_WRITE|WRITE_ONLY)|ADDRESS_(?:CONSTANT|GLOBAL|LOCAL|PRIVATE|QUALIFIER)|INFO_NOT_AVAILABLE|NAME|TYPE_(?:CONST|NAME|NONE|PIPE|QUALIFIER|RESTRICT|VOLATILE))|ATTRIBUTES|COMPILE_NUM_SUB_GROUPS|COMPILE_WORK_GROUP_SIZE|CONTEXT|EXEC_INFO_SVM_FINE_GRAIN_SYSTEM|EXEC_INFO_SVM_PTRS|FUNCTION_NAME|GLOBAL_WORK_SIZE|LOCAL_MEM_SIZE|LOCAL_SIZE_FOR_SUB_GROUP_COUNT|MAX_NUM_SUB_GROUPS|MAX_SUB_GROUP_SIZE_FOR_NDRANGE|NUM_ARGS|PREFERRED_WORK_GROUP_SIZE_MULTIPLE|PRIVATE_MEM_SIZE|PROGRAM|REFERENCE_COUNT|SUB_GROUP_COUNT_FOR_NDRANGE|WORK_GROUP_SIZE)|LINKER_NOT_AVAILABLE|LINK_PROGRAM_FAILURE|LOCAL|LUMINANCE|MAP_(?:FAILURE|READ|WRITE|WRITE_INVALIDATE_REGION)|MEM_(?:ALLOC_HOST_PTR|ASSOCIATED_MEMOBJECT|CONTEXT|COPY_HOST_PTR|COPY_OVERLAP|FLAGS|HOST_NO_ACCESS|HOST_PTR|HOST_READ_ONLY|HOST_WRITE_ONLY|KERNEL_READ_AND_WRITE|MAP_COUNT|OBJECT_(?:ALLOCATION_FAILURE|BUFFER|IMAGE1D|IMAGE1D_ARRAY|IMAGE1D_BUFFER|IMAGE2D|IMAGE2D_ARRAY|IMAGE3D|PIPE)|OFFSET|READ_ONLY|READ_WRITE|REFERENCE_COUNT|SIZE|SVM_ATOMICS|SVM_FINE_GRAIN_BUFFER|TYPE|USES_SVM_POINTER|USE_HOST_PTR|WRITE_ONLY)|MIGRATE_MEM_OBJECT_(?:CONTENT_UNDEFINED|HOST)|MISALIGNED_SUB_BUFFER_OFFSET|NONE|NON_BLOCKING|OUT_OF_(?:HOST_MEMORY|RESOURCES)|PIPE_(?:MAX_PACKETS|PACKET_SIZE)|PLATFORM_(?:EXTENSIONS|HOST_TIMER_RESOLUTION|NAME|PROFILE|VENDOR|VERSION)|PROFILING_(?:COMMAND_(?:COMPLETE|END|QUEUED|START|SUBMIT)|INFO_NOT_AVAILABLE)|PROGRAM_(?:BINARIES|BINARY_SIZES|BINARY_TYPE(?:_COMPILED_OBJECT|_EXECUTABLE|_LIBRARY|_NONE)?|BUILD_(?:GLOBAL_VARIABLE_TOTAL_SIZE|LOG|OPTIONS|STATUS)|CONTEXT|DEVICES|IL|KERNEL_NAMES|NUM_DEVICES|NUM_KERNELS|REFERENCE_COUNT|SOURCE)|QUEUED|QUEUE_(?:CONTEXT|DEVICE|DEVICE_DEFAULT|ON_DEVICE|ON_DEVICE_DEFAULT|OUT_OF_ORDER_EXEC_MODE_ENABLE|PROFILING_ENABLE|PROPERTIES|REFERENCE_COUNT|SIZE)|R|RA|READ_(?:ONLY|WRITE)_CACHE|RG|RGB|RGBA|RGBx|RGx|RUNNING|Rx|SAMPLER_(?:ADDRESSING_MODE|CONTEXT|FILTER_MODE|LOD_MAX|LOD_MIN|MIP_FILTER_MODE|NORMALIZED_COORDS|REFERENCE_COUNT)|(?:UN)?SIGNED_INT(?:8|16|32)|SNORM_INT(?:8|16)|SUBMITTED|SUCCESS|UNORM_INT(?:8|16|24|_101010|_101010_2)|UNORM_SHORT_(?:555|565)|VERSION_(?:1_0|1_1|1_2|2_0|2_1)|sBGRA|sRGB|sRGBA|sRGBx)\b/,alias:"constant"},"function-opencl-host":{pattern:/\bcl(?:BuildProgram|CloneKernel|CompileProgram|Create(?:Buffer|CommandQueue(?:WithProperties)?|Context|ContextFromType|Image|Image2D|Image3D|Kernel|KernelsInProgram|Pipe|ProgramWith(?:Binary|BuiltInKernels|IL|Source)|Sampler|SamplerWithProperties|SubBuffer|SubDevices|UserEvent)|Enqueue(?:(?:Barrier|Marker)(?:WithWaitList)?|Copy(?:Buffer(?:Rect|ToImage)?|Image(?:ToBuffer)?)|(?:Fill|Map)(?:Buffer|Image)|MigrateMemObjects|NDRangeKernel|NativeKernel|(?:Read|Write)(?:Buffer(?:Rect)?|Image)|SVM(?:Free|Map|MemFill|Memcpy|MigrateMem|Unmap)|Task|UnmapMemObject|WaitForEvents)|Finish|Flush|Get(?:CommandQueueInfo|ContextInfo|Device(?:AndHostTimer|IDs|Info)|Event(?:Profiling)?Info|ExtensionFunctionAddress(?:ForPlatform)?|HostTimer|ImageInfo|Kernel(?:ArgInfo|Info|SubGroupInfo|WorkGroupInfo)|MemObjectInfo|PipeInfo|Platform(?:IDs|Info)|Program(?:Build)?Info|SamplerInfo|SupportedImageFormats)|LinkProgram|(?:Release|Retain)(?:CommandQueue|Context|Device|Event|Kernel|MemObject|Program|Sampler)|SVM(?:Alloc|Free)|Set(?:CommandQueueProperty|DefaultDeviceCommandQueue|EventCallback|Kernel|Kernel(?:Arg(?:SVMPointer)?|ExecInfo)|MemObjectDestructorCallback|UserEventStatus)|Unload(?:Platform)?Compiler|WaitForEvents)\b/,alias:"function"}};e.languages.insertBefore("c","keyword",t),e.languages.cpp&&(t["type-opencl-host-cpp"]={pattern:/\b(?:Buffer|BufferGL|BufferRenderGL|CommandQueue|Context|Device|DeviceCommandQueue|EnqueueArgs|Event|Image|Image1D|Image1DArray|Image1DBuffer|Image2D|Image2DArray|Image2DGL|Image3D|Image3DGL|ImageFormat|ImageGL|Kernel|KernelFunctor|LocalSpaceArg|Memory|NDRange|Pipe|Platform|Program|SVMAllocator|SVMTraitAtomic|SVMTraitCoarse|SVMTraitFine|SVMTraitReadOnly|SVMTraitReadWrite|SVMTraitWriteOnly|Sampler|UserEvent)\b/,alias:"keyword"},e.languages.insertBefore("cpp","keyword",t))}(e)}function of(e){e.languages.openqasm={comment:/\/\*[\s\S]*?\*\/|\/\/.*/,string:{pattern:/"[^"\r\n\t]*"|'[^'\r\n\t]*'/,greedy:!0},keyword:/\b(?:CX|OPENQASM|U|barrier|boxas|boxto|break|const|continue|ctrl|def|defcal|defcalgrammar|delay|else|end|for|gate|gphase|if|in|include|inv|kernel|lengthof|let|measure|pow|reset|return|rotary|stretchinf|while)\b|#pragma\b/,"class-name":/\b(?:angle|bit|bool|creg|fixed|float|int|length|qreg|qubit|stretch|uint)\b/,function:/\b(?:cos|exp|ln|popcount|rotl|rotr|sin|sqrt|tan)\b(?=\s*\()/,constant:/\b(?:euler|pi|tau)\b|π|𝜏|ℇ/,number:{pattern:/(^|[^.\w$])(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?(?:dt|ns|us|µs|ms|s)?/i,lookbehind:!0},operator:/->|>>=?|<<=?|&&|\|\||\+\+|--|[!=<>&|~^+\-*/%]=?|@/,punctuation:/[(){}\[\];,:.]/},e.languages.qasm=e.languages.openqasm}function af(e){e.languages.oz={comment:{pattern:/\/\*[\s\S]*?\*\/|%.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\[\s\S])*"/,greedy:!0},atom:{pattern:/'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,alias:"builtin"},keyword:/\$|\[\]|\b(?:_|at|attr|case|catch|choice|class|cond|declare|define|dis|else(?:case|if)?|end|export|fail|false|feat|finally|from|fun|functor|if|import|in|local|lock|meth|nil|not|of|or|prepare|proc|prop|raise|require|self|skip|then|thread|true|try|unit)\b/,function:[/\b[a-z][A-Za-z\d]*(?=\()/,{pattern:/(\{)[A-Z][A-Za-z\d]*\b/,lookbehind:!0}],number:/\b(?:0[bx][\da-f]+|\d+(?:\.\d*)?(?:e~?\d+)?)\b|&(?:[^\\]|\\(?:\d{3}|.))/i,variable:/`(?:[^`\\]|\\.)+`/,"attr-name":/\b\w+(?=[ \t]*:(?![:=]))/,operator:/:(?:=|::?)|<[-:=]?|=(?:=|<?:?)|>=?:?|\\=:?|!!?|[|#+\-*\/,~^@]|\b(?:andthen|div|mod|orelse)\b/,punctuation:/[\[\](){}.:;?]/}}function sf(e){var t;e.languages.parigp={comment:/\/\*[\s\S]*?\*\/|\\\\.*/,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"/,greedy:!0},keyword:(t=["breakpoint","break","dbg_down","dbg_err","dbg_up","dbg_x","forcomposite","fordiv","forell","forpart","forprime","forstep","forsubgroup","forvec","for","iferr","if","local","my","next","return","until","while"],t=t.map((function(e){return e.split("").join(" *")})).join("|"),RegExp("\\b(?:"+t+")\\b")),function:/\b\w(?:[\w ]*\w)?(?= *\()/,number:{pattern:/((?:\. *\. *)?)(?:\b\d(?: *\d)*(?: *(?!\. *\.)\.(?: *\d)*)?|\. *\d(?: *\d)*)(?: *e *(?:[+-] *)?\d(?: *\d)*)?/i,lookbehind:!0},operator:/\. *\.|[*\/!](?: *=)?|%(?: *=|(?: *#)?(?: *')*)?|\+(?: *[+=])?|-(?: *[-=>])?|<(?: *>|(?: *<)?(?: *=)?)?|>(?: *>)?(?: *=)?|=(?: *=){0,2}|\\(?: *\/)?(?: *=)?|&(?: *&)?|\| *\||['#~^]/,punctuation:/[\[\]{}().,:;|]/}}function lf(e){e.register(eu),function(e){var t=e.languages.parser=e.languages.extend("markup",{keyword:{pattern:/(^|[^^])(?:\^(?:case|eval|for|if|switch|throw)\b|@(?:BASE|CLASS|GET(?:_DEFAULT)?|OPTIONS|SET_DEFAULT|USE)\b)/,lookbehind:!0},variable:{pattern:/(^|[^^])\B\$(?:\w+|(?=[.{]))(?:(?:\.|::?)\w+)*(?:\.|::?)?/,lookbehind:!0,inside:{punctuation:/\.|:+/}},function:{pattern:/(^|[^^])\B[@^]\w+(?:(?:\.|::?)\w+)*(?:\.|::?)?/,lookbehind:!0,inside:{keyword:{pattern:/(^@)(?:GET_|SET_)/,lookbehind:!0},punctuation:/\.|:+/}},escape:{pattern:/\^(?:[$^;@()\[\]{}"':]|#[a-f\d]*)/i,alias:"builtin"},punctuation:/[\[\](){};]/});t=e.languages.insertBefore("parser","keyword",{"parser-comment":{pattern:/(\s)#.*/,lookbehind:!0,alias:"comment"},expression:{pattern:/(^|[^^])\((?:[^()]|\((?:[^()]|\((?:[^()])*\))*\))*\)/,greedy:!0,lookbehind:!0,inside:{string:{pattern:/(^|[^^])(["'])(?:(?!\2)[^^]|\^[\s\S])*\2/,lookbehind:!0},keyword:t.keyword,variable:t.variable,function:t.function,boolean:/\b(?:false|true)\b/,number:/\b(?:0x[a-f\d]+|\d+(?:\.\d*)?(?:e[+-]?\d+)?)\b/i,escape:t.escape,operator:/[~+*\/\\%]|!(?:\|\|?|=)?|&&?|\|\|?|==|<[<=]?|>[>=]?|-[fd]?|\b(?:def|eq|ge|gt|in|is|le|lt|ne)\b/,punctuation:t.punctuation}}}),e.languages.insertBefore("inside","punctuation",{expression:t.expression,keyword:t.keyword,variable:t.variable,function:t.function,escape:t.escape,"parser-punctuation":{pattern:t.punctuation,alias:"punctuation"}},t.tag.inside["attr-value"])}(e)}function cf(e){e.languages.pascal={directive:{pattern:/\{\$[\s\S]*?\}/,greedy:!0,alias:["marco","property"]},comment:{pattern:/\(\*[\s\S]*?\*\)|\{[\s\S]*?\}|\/\/.*/,greedy:!0},string:{pattern:/(?:'(?:''|[^'\r\n])*'(?!')|#[&$%]?[a-f\d]+)+|\^[a-z]/i,greedy:!0},asm:{pattern:/(\basm\b)[\s\S]+?(?=\bend\s*[;[])/i,lookbehind:!0,greedy:!0,inside:null},keyword:[{pattern:/(^|[^&])\b(?:absolute|array|asm|begin|case|const|constructor|destructor|do|downto|else|end|file|for|function|goto|if|implementation|inherited|inline|interface|label|nil|object|of|operator|packed|procedure|program|record|reintroduce|repeat|self|set|string|then|to|type|unit|until|uses|var|while|with)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:dispose|exit|false|new|true)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:class|dispinterface|except|exports|finalization|finally|initialization|inline|library|on|out|packed|property|raise|resourcestring|threadvar|try)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:absolute|abstract|alias|assembler|bitpacked|break|cdecl|continue|cppdecl|cvar|default|deprecated|dynamic|enumerator|experimental|export|external|far|far16|forward|generic|helper|implements|index|interrupt|iochecks|local|message|name|near|nodefault|noreturn|nostackframe|oldfpccall|otherwise|overload|override|pascal|platform|private|protected|public|published|read|register|reintroduce|result|safecall|saveregisters|softfloat|specialize|static|stdcall|stored|strict|unaligned|unimplemented|varargs|virtual|write)\b/i,lookbehind:!0}],number:[/(?:[&%]\d+|\$[a-f\d]+)/i,/\b\d+(?:\.\d+)?(?:e[+-]?\d+)?/i],operator:[/\.\.|\*\*|:=|<[<=>]?|>[>=]?|[+\-*\/]=?|[@^=]/,{pattern:/(^|[^&])\b(?:and|as|div|exclude|in|include|is|mod|not|or|shl|shr|xor)\b/,lookbehind:!0}],punctuation:/\(\.|\.\)|[()\[\]:;,.]/},e.languages.pascal.asm.inside=e.languages.extend("pascal",{asm:void 0,keyword:void 0,operator:void 0}),e.languages.objectpascal=e.languages.pascal}function uf(e){!function(e){var t=/\((?:[^()]|\((?:[^()]|\([^()]*\))*\))*\)/.source,n=/(?:\b\w+(?:<braces>)?|<braces>)/.source.replace(/<braces>/g,(function(){return t})),r=e.languages.pascaligo={comment:/\(\*[\s\S]+?\*\)|\/\/.*/,string:{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1|\^[a-z]/i,greedy:!0},"class-name":[{pattern:RegExp(/(\btype\s+\w+\s+is\s+)<type>/.source.replace(/<type>/g,(function(){return n})),"i"),lookbehind:!0,inside:null},{pattern:RegExp(/<type>(?=\s+is\b)/.source.replace(/<type>/g,(function(){return n})),"i"),inside:null},{pattern:RegExp(/(:\s*)<type>/.source.replace(/<type>/g,(function(){return n}))),lookbehind:!0,inside:null}],keyword:{pattern:/(^|[^&])\b(?:begin|block|case|const|else|end|fail|for|from|function|if|is|nil|of|remove|return|skip|then|type|var|while|with)\b/i,lookbehind:!0},boolean:{pattern:/(^|[^&])\b(?:False|True)\b/i,lookbehind:!0},builtin:{pattern:/(^|[^&])\b(?:bool|int|list|map|nat|record|string|unit)\b/i,lookbehind:!0},function:/\b\w+(?=\s*\()/,number:[/%[01]+|&[0-7]+|\$[a-f\d]+/i,/\b\d+(?:\.\d+)?(?:e[+-]?\d+)?(?:mtz|n)?/i],operator:/->|=\/=|\.\.|\*\*|:=|<[<=>]?|>[>=]?|[+\-*\/]=?|[@^=|]|\b(?:and|mod|or)\b/,punctuation:/\(\.|\.\)|[()\[\]:;,.{}]/},i=["comment","keyword","builtin","operator","punctuation"].reduce((function(e,t){return e[t]=r[t],e}),{});r["class-name"].forEach((function(e){e.inside=i}))}(e)}function hf(e){e.languages.psl={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/"(?:\\.|[^\\"])*"/,greedy:!0,inside:{symbol:/\\[ntrbA-Z"\\]/}},"heredoc-string":{pattern:/<<<([a-zA-Z_]\w*)[\r\n](?:.*[\r\n])*?\1\b/,alias:"string",greedy:!0},keyword:/\b(?:__multi|__single|case|default|do|else|elsif|exit|export|for|foreach|function|if|last|line|local|next|requires|return|switch|until|while|word)\b/,constant:/\b(?:ALARM|CHART_ADD_GRAPH|CHART_DELETE_GRAPH|CHART_DESTROY|CHART_LOAD|CHART_PRINT|EOF|OFFLINE|OK|PSL_PROF_LOG|R_CHECK_HORIZ|R_CHECK_VERT|R_CLICKER|R_COLUMN|R_FRAME|R_ICON|R_LABEL|R_LABEL_CENTER|R_LIST_MULTIPLE|R_LIST_MULTIPLE_ND|R_LIST_SINGLE|R_LIST_SINGLE_ND|R_MENU|R_POPUP|R_POPUP_SCROLLED|R_RADIO_HORIZ|R_RADIO_VERT|R_ROW|R_SCALE_HORIZ|R_SCALE_VERT|R_SEP_HORIZ|R_SEP_VERT|R_SPINNER|R_TEXT_FIELD|R_TEXT_FIELD_LABEL|R_TOGGLE|TRIM_LEADING|TRIM_LEADING_AND_TRAILING|TRIM_REDUNDANT|TRIM_TRAILING|VOID|WARN)\b/,boolean:/\b(?:FALSE|False|NO|No|TRUE|True|YES|Yes|false|no|true|yes)\b/,variable:/\b(?:PslDebug|errno|exit_status)\b/,builtin:{pattern:/\b(?:PslExecute|PslFunctionCall|PslFunctionExists|PslSetOptions|_snmp_debug|acos|add_diary|annotate|annotate_get|ascii_to_ebcdic|asctime|asin|atan|atexit|batch_set|blackout|cat|ceil|chan_exists|change_state|close|code_cvt|cond_signal|cond_wait|console_type|convert_base|convert_date|convert_locale_date|cos|cosh|create|date|dcget_text|destroy|destroy_lock|dget_text|difference|dump_hist|ebcdic_to_ascii|encrypt|event_archive|event_catalog_get|event_check|event_query|event_range_manage|event_range_query|event_report|event_schedule|event_trigger|event_trigger2|execute|exists|exp|fabs|file|floor|fmod|fopen|fseek|ftell|full_discovery|get|get_chan_info|get_ranges|get_text|get_vars|getenv|gethostinfo|getpid|getpname|grep|history|history_get_retention|in_transition|index|int|internal|intersection|is_var|isnumber|join|kill|length|lines|lock|lock_info|log|log10|loge|matchline|msg_check|msg_get_format|msg_get_severity|msg_printf|msg_sprintf|ntharg|nthargf|nthline|nthlinef|num_bytes|num_consoles|pconfig|popen|poplines|pow|print|printf|proc_exists|process|random|read|readln|refresh_parameters|remote_check|remote_close|remote_event_query|remote_event_trigger|remote_file_send|remote_open|remove|replace|rindex|sec_check_priv|sec_store_get|sec_store_set|set|set_alarm_ranges|set_locale|share|sin|sinh|sleep|snmp_agent_config|snmp_agent_start|snmp_agent_stop|snmp_close|snmp_config|snmp_get|snmp_get_next|snmp_h_get|snmp_h_get_next|snmp_h_set|snmp_open|snmp_set|snmp_trap_ignore|snmp_trap_listen|snmp_trap_raise_std_trap|snmp_trap_receive|snmp_trap_register_im|snmp_trap_send|snmp_walk|sopen|sort|splitline|sprintf|sqrt|srandom|str_repeat|strcasecmp|subset|substr|system|tail|tan|tanh|text_domain|time|tmpnam|tolower|toupper|trace_psl_process|trim|union|unique|unlock|unset|va_arg|va_start|write)\b/,alias:"builtin-function"},"foreach-variable":{pattern:/(\bforeach\s+(?:(?:\w+\b|"(?:\\.|[^\\"])*")\s+){0,2})[_a-zA-Z]\w*(?=\s*\()/,lookbehind:!0,greedy:!0},function:/\b[_a-z]\w*\b(?=\s*\()/i,number:/\b(?:0x[0-9a-f]+|\d+(?:\.\d+)?)\b/i,operator:/--|\+\+|&&=?|\|\|=?|<<=?|>>=?|[=!]~|[-+*/%&|^!=<>]=?|\.|[:?]/,punctuation:/[(){}\[\];,]/}}function pf(e){e.languages.pcaxis={string:/"[^"]*"/,keyword:{pattern:/((?:^|;)\s*)[-A-Z\d]+(?:\s*\[[-\w]+\])?(?:\s*\("[^"]*"(?:,\s*"[^"]*")*\))?(?=\s*=)/,lookbehind:!0,greedy:!0,inside:{keyword:/^[-A-Z\d]+/,language:{pattern:/^(\s*)\[[-\w]+\]/,lookbehind:!0,inside:{punctuation:/^\[|\]$/,property:/[-\w]+/}},"sub-key":{pattern:/^(\s*)\S[\s\S]*/,lookbehind:!0,inside:{parameter:{pattern:/"[^"]*"/,alias:"property"},punctuation:/^\(|\)$|,/}}}},operator:/=/,tlist:{pattern:/TLIST\s*\(\s*\w+(?:(?:\s*,\s*"[^"]*")+|\s*,\s*"[^"]*"-"[^"]*")?\s*\)/,greedy:!0,inside:{function:/^TLIST/,property:{pattern:/^(\s*\(\s*)\w+/,lookbehind:!0},string:/"[^"]*"/,punctuation:/[(),]/,operator:/-/}},punctuation:/[;,]/,number:{pattern:/(^|\s)\d+(?:\.\d+)?(?!\S)/,lookbehind:!0},boolean:/NO|YES/},e.languages.px=e.languages.pcaxis}function df(e){e.languages.peoplecode={comment:RegExp([/\/\*[\s\S]*?\*\//.source,/\bREM[^;]*;/.source,/<\*(?:[^<*]|\*(?!>)|<(?!\*)|<\*(?:(?!\*>)[\s\S])*\*>)*\*>/.source,/\/\+[\s\S]*?\+\//.source].join("|")),string:{pattern:/'(?:''|[^'\r\n])*'(?!')|"(?:""|[^"\r\n])*"(?!")/,greedy:!0},variable:/%\w+/,"function-definition":{pattern:/((?:^|[^\w-])(?:function|method)\s+)\w+/i,lookbehind:!0,alias:"function"},"class-name":{pattern:/((?:^|[^-\w])(?:as|catch|class|component|create|extends|global|implements|instance|local|of|property|returns)\s+)\w+(?::\w+)*/i,lookbehind:!0,inside:{punctuation:/:/}},keyword:/\b(?:abstract|alias|as|catch|class|component|constant|create|declare|else|end-(?:class|evaluate|for|function|get|if|method|set|try|while)|evaluate|extends|for|function|get|global|if|implements|import|instance|library|local|method|null|of|out|peopleCode|private|program|property|protected|readonly|ref|repeat|returns?|set|step|then|throw|to|try|until|value|when(?:-other)?|while)\b/i,"operator-keyword":{pattern:/\b(?:and|not|or)\b/i,alias:"operator"},function:/[_a-z]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/i,number:/\b\d+(?:\.\d+)?\b/,operator:/<>|[<>]=?|!=|\*\*|[-+*/|=@]/,punctuation:/[:.;,()[\]]/},e.languages.pcode=e.languages.peoplecode}function ff(e){e.register(od),e.register(vu),function(e){var t=/(?:\b[a-zA-Z]\w*|[|\\[\]])+/.source;e.languages.phpdoc=e.languages.extend("javadoclike",{parameter:{pattern:RegExp("(@(?:global|param|property(?:-read|-write)?|var)\\s+(?:"+t+"\\s+)?)\\$\\w+"),lookbehind:!0}}),e.languages.insertBefore("phpdoc","keyword",{"class-name":[{pattern:RegExp("(@(?:global|package|param|property(?:-read|-write)?|return|subpackage|throws|var)\\s+)"+t),lookbehind:!0,inside:{keyword:/\b(?:array|bool|boolean|callback|double|false|float|int|integer|mixed|null|object|resource|self|string|true|void)\b/,punctuation:/[|\\[\]()]/}}]}),e.languages.javadoclike.addSupport("php",e.languages.phpdoc)}(e)}function mf(e){e.register(vu),e.languages.insertBefore("php","variable",{this:{pattern:/\$this\b/,alias:"keyword"},global:/\$(?:GLOBALS|HTTP_RAW_POST_DATA|_(?:COOKIE|ENV|FILES|GET|POST|REQUEST|SERVER|SESSION)|argc|argv|http_response_header|php_errormsg)\b/,scope:{pattern:/\b[\w\\]+::/,inside:{keyword:/\b(?:parent|self|static)\b/,punctuation:/::|\\/}}})}function gf(e){!function(e){var t=/\$\w+|%[a-z]+%/,n=/\[[^[\]]*\]/.source,r=/(?:[drlu]|do|down|le|left|ri|right|up)/.source,i="(?:-+"+r+"-+|\\.+"+r+"\\.+|-+(?:"+n+"-*)?|"+n+"-+|\\.+(?:"+n+"\\.*)?|"+n+"\\.+)",o=/(?:>{1,2}|\/{1,2}|\\{1,2}|\|>|[#*^+{xo])/.source,a=/[[?]?[ox]?/.source+"(?:"+i+o+"|"+/(?:<{1,2}|\/{1,2}|\\{1,2}|<\||[#*^+}xo])/.source+i+"(?:"+o+")?)"+/[ox]?[\]?]?/.source;e.languages["plant-uml"]={comment:{pattern:/(^[ \t]*)(?:'.*|\/'[\s\S]*?'\/)/m,lookbehind:!0,greedy:!0},preprocessor:{pattern:/(^[ \t]*)!.*/m,lookbehind:!0,greedy:!0,alias:"property",inside:{variable:t}},delimiter:{pattern:/(^[ \t]*)@(?:end|start)uml\b/m,lookbehind:!0,greedy:!0,alias:"punctuation"},arrow:{pattern:RegExp(/(^|[^-.<>?|\\[\]ox])/.source+a+/(?![-.<>?|\\\]ox])/.source),lookbehind:!0,greedy:!0,alias:"operator",inside:{expression:{pattern:/(\[)[^[\]]+(?=\])/,lookbehind:!0,inside:null},punctuation:/\[(?=$|\])|^\]/}},string:{pattern:/"[^"]*"/,greedy:!0},text:{pattern:/(\[[ \t]*[\r\n]+(?![\r\n]))[^\]]*(?=\])/,lookbehind:!0,greedy:!0,alias:"string"},keyword:[{pattern:/^([ \t]*)(?:abstract\s+class|end\s+(?:box|fork|group|merge|note|ref|split|title)|(?:fork|split)(?:\s+again)?|activate|actor|agent|alt|annotation|artifact|autoactivate|autonumber|backward|binary|boundary|box|break|caption|card|case|circle|class|clock|cloud|collections|component|concise|control|create|critical|database|deactivate|destroy|detach|diamond|else|elseif|end|end[hr]note|endif|endswitch|endwhile|entity|enum|file|folder|footer|frame|group|[hr]?note|header|hexagon|hide|if|interface|label|legend|loop|map|namespace|network|newpage|node|nwdiag|object|opt|package|page|par|participant|person|queue|rectangle|ref|remove|repeat|restore|return|robust|scale|set|show|skinparam|stack|start|state|stop|storage|switch|title|together|usecase|usecase\/|while)(?=\s|$)/m,lookbehind:!0,greedy:!0},/\b(?:elseif|equals|not|while)(?=\s*\()/,/\b(?:as|is|then)\b/],divider:{pattern:/^==.+==$/m,greedy:!0,alias:"important"},time:{pattern:/@(?:\d+(?:[:/]\d+){2}|[+-]?\d+|:[a-z]\w*(?:[+-]\d+)?)\b/i,greedy:!0,alias:"number"},color:{pattern:/#(?:[a-z_]+|[a-fA-F0-9]+)\b/,alias:"symbol"},variable:t,punctuation:/[:,;()[\]{}]|\.{3}/},e.languages["plant-uml"].arrow.inside.expression.inside=e.languages["plant-uml"],e.languages.plantuml=e.languages["plant-uml"]}(e)}function yf(e){e.register(Cu),e.languages.plsql=e.languages.extend("sql",{comment:{pattern:/\/\*[\s\S]*?\*\/|--.*/,greedy:!0},keyword:/\b(?:A|ACCESSIBLE|ADD|AGENT|AGGREGATE|ALL|ALTER|AND|ANY|ARRAY|AS|ASC|AT|ATTRIBUTE|AUTHID|AVG|BEGIN|BETWEEN|BFILE_BASE|BINARY|BLOB_BASE|BLOCK|BODY|BOTH|BOUND|BULK|BY|BYTE|C|CALL|CALLING|CASCADE|CASE|CHAR|CHARACTER|CHARSET|CHARSETFORM|CHARSETID|CHAR_BASE|CHECK|CLOB_BASE|CLONE|CLOSE|CLUSTER|CLUSTERS|COLAUTH|COLLECT|COLUMNS|COMMENT|COMMIT|COMMITTED|COMPILED|COMPRESS|CONNECT|CONSTANT|CONSTRUCTOR|CONTEXT|CONTINUE|CONVERT|COUNT|CRASH|CREATE|CREDENTIAL|CURRENT|CURSOR|CUSTOMDATUM|DANGLING|DATA|DATE|DATE_BASE|DAY|DECLARE|DEFAULT|DEFINE|DELETE|DESC|DETERMINISTIC|DIRECTORY|DISTINCT|DOUBLE|DROP|DURATION|ELEMENT|ELSE|ELSIF|EMPTY|END|ESCAPE|EXCEPT|EXCEPTION|EXCEPTIONS|EXCLUSIVE|EXECUTE|EXISTS|EXIT|EXTERNAL|FETCH|FINAL|FIRST|FIXED|FLOAT|FOR|FORALL|FORCE|FROM|FUNCTION|GENERAL|GOTO|GRANT|GROUP|HASH|HAVING|HEAP|HIDDEN|HOUR|IDENTIFIED|IF|IMMEDIATE|IMMUTABLE|IN|INCLUDING|INDEX|INDEXES|INDICATOR|INDICES|INFINITE|INSERT|INSTANTIABLE|INT|INTERFACE|INTERSECT|INTERVAL|INTO|INVALIDATE|IS|ISOLATION|JAVA|LANGUAGE|LARGE|LEADING|LENGTH|LEVEL|LIBRARY|LIKE|LIKE2|LIKE4|LIKEC|LIMIT|LIMITED|LOCAL|LOCK|LONG|LOOP|MAP|MAX|MAXLEN|MEMBER|MERGE|MIN|MINUS|MINUTE|MOD|MODE|MODIFY|MONTH|MULTISET|MUTABLE|NAME|NAN|NATIONAL|NATIVE|NCHAR|NEW|NOCOMPRESS|NOCOPY|NOT|NOWAIT|NULL|NUMBER_BASE|OBJECT|OCICOLL|OCIDATE|OCIDATETIME|OCIDURATION|OCIINTERVAL|OCILOBLOCATOR|OCINUMBER|OCIRAW|OCIREF|OCIREFCURSOR|OCIROWID|OCISTRING|OCITYPE|OF|OLD|ON|ONLY|OPAQUE|OPEN|OPERATOR|OPTION|OR|ORACLE|ORADATA|ORDER|ORGANIZATION|ORLANY|ORLVARY|OTHERS|OUT|OVERLAPS|OVERRIDING|PACKAGE|PARALLEL_ENABLE|PARAMETER|PARAMETERS|PARENT|PARTITION|PASCAL|PERSISTABLE|PIPE|PIPELINED|PLUGGABLE|POLYMORPHIC|PRAGMA|PRECISION|PRIOR|PRIVATE|PROCEDURE|PUBLIC|RAISE|RANGE|RAW|READ|RECORD|REF|REFERENCE|RELIES_ON|REM|REMAINDER|RENAME|RESOURCE|RESULT|RESULT_CACHE|RETURN|RETURNING|REVERSE|REVOKE|ROLLBACK|ROW|SAMPLE|SAVE|SAVEPOINT|SB1|SB2|SB4|SECOND|SEGMENT|SELECT|SELF|SEPARATE|SEQUENCE|SERIALIZABLE|SET|SHARE|SHORT|SIZE|SIZE_T|SOME|SPARSE|SQL|SQLCODE|SQLDATA|SQLNAME|SQLSTATE|STANDARD|START|STATIC|STDDEV|STORED|STRING|STRUCT|STYLE|SUBMULTISET|SUBPARTITION|SUBSTITUTABLE|SUBTYPE|SUM|SYNONYM|TABAUTH|TABLE|TDO|THE|THEN|TIME|TIMESTAMP|TIMEZONE_ABBR|TIMEZONE_HOUR|TIMEZONE_MINUTE|TIMEZONE_REGION|TO|TRAILING|TRANSACTION|TRANSACTIONAL|TRUSTED|TYPE|UB1|UB2|UB4|UNDER|UNION|UNIQUE|UNPLUG|UNSIGNED|UNTRUSTED|UPDATE|USE|USING|VALIST|VALUE|VALUES|VARIABLE|VARIANCE|VARRAY|VARYING|VIEW|VIEWS|VOID|WHEN|WHERE|WHILE|WITH|WORK|WRAPPED|WRITE|YEAR|ZONE)\b/i,operator:/:=?|=>|[<>^~!]=|\.\.|\|\||\*\*|[-+*/%<>=@]/}),e.languages.insertBefore("plsql","operator",{label:{pattern:/<<\s*\w+\s*>>/,alias:"symbol"}})}function vf(e){e.languages.powerquery={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0,greedy:!0},"quoted-identifier":{pattern:/#"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},string:{pattern:/(?:#!)?"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},constant:[/\bDay\.(?:Friday|Monday|Saturday|Sunday|Thursday|Tuesday|Wednesday)\b/,/\bTraceLevel\.(?:Critical|Error|Information|Verbose|Warning)\b/,/\bOccurrence\.(?:All|First|Last)\b/,/\bOrder\.(?:Ascending|Descending)\b/,/\bRoundingMode\.(?:AwayFromZero|Down|ToEven|TowardZero|Up)\b/,/\bMissingField\.(?:Error|Ignore|UseNull)\b/,/\bQuoteStyle\.(?:Csv|None)\b/,/\bJoinKind\.(?:FullOuter|Inner|LeftAnti|LeftOuter|RightAnti|RightOuter)\b/,/\bGroupKind\.(?:Global|Local)\b/,/\bExtraValues\.(?:Error|Ignore|List)\b/,/\bJoinAlgorithm\.(?:Dynamic|LeftHash|LeftIndex|PairwiseHash|RightHash|RightIndex|SortMerge)\b/,/\bJoinSide\.(?:Left|Right)\b/,/\bPrecision\.(?:Decimal|Double)\b/,/\bRelativePosition\.From(?:End|Start)\b/,/\bTextEncoding\.(?:Ascii|BigEndianUnicode|Unicode|Utf16|Utf8|Windows)\b/,/\b(?:Any|Binary|Date|DateTime|DateTimeZone|Duration|Function|Int16|Int32|Int64|Int8|List|Logical|None|Number|Record|Table|Text|Time)\.Type\b/,/\bnull\b/],boolean:/\b(?:false|true)\b/,keyword:/\b(?:and|as|each|else|error|if|in|is|let|meta|not|nullable|optional|or|otherwise|section|shared|then|try|type)\b|#(?:binary|date|datetime|datetimezone|duration|infinity|nan|sections|shared|table|time)\b/,function:{pattern:/(^|[^#\w.])[a-z_][\w.]*(?=\s*\()/i,lookbehind:!0},"data-type":{pattern:/\b(?:any|anynonnull|binary|date|datetime|datetimezone|duration|function|list|logical|none|number|record|table|text|time)\b/,alias:"class-name"},number:{pattern:/\b0x[\da-f]+\b|(?:[+-]?(?:\b\d+\.)?\b\d+|[+-]\.\d+|(^|[^.])\B\.\d+)(?:e[+-]?\d+)?\b/i,lookbehind:!0},operator:/[-+*\/&?@^]|<(?:=>?|>)?|>=?|=>?|\.\.\.?/,punctuation:/[,;\[\](){}]/},e.languages.pq=e.languages.powerquery,e.languages.mscript=e.languages.powerquery}function _f(e){!function(e){var t=e.languages.powershell={comment:[{pattern:/(^|[^`])<#[\s\S]*?#>/,lookbehind:!0},{pattern:/(^|[^`])#.*/,lookbehind:!0}],string:[{pattern:/"(?:`[\s\S]|[^`"])*"/,greedy:!0,inside:null},{pattern:/'(?:[^']|'')*'/,greedy:!0}],namespace:/\[[a-z](?:\[(?:\[[^\]]*\]|[^\[\]])*\]|[^\[\]])*\]/i,boolean:/\$(?:false|true)\b/i,variable:/\$\w+\b/,function:[/\b(?:Add|Approve|Assert|Backup|Block|Checkpoint|Clear|Close|Compare|Complete|Compress|Confirm|Connect|Convert|ConvertFrom|ConvertTo|Copy|Debug|Deny|Disable|Disconnect|Dismount|Edit|Enable|Enter|Exit|Expand|Export|Find|ForEach|Format|Get|Grant|Group|Hide|Import|Initialize|Install|Invoke|Join|Limit|Lock|Measure|Merge|Move|New|Open|Optimize|Out|Ping|Pop|Protect|Publish|Push|Read|Receive|Redo|Register|Remove|Rename|Repair|Request|Reset|Resize|Resolve|Restart|Restore|Resume|Revoke|Save|Search|Select|Send|Set|Show|Skip|Sort|Split|Start|Step|Stop|Submit|Suspend|Switch|Sync|Tee|Test|Trace|Unblock|Undo|Uninstall|Unlock|Unprotect|Unpublish|Unregister|Update|Use|Wait|Watch|Where|Write)-[a-z]+\b/i,/\b(?:ac|cat|chdir|clc|cli|clp|clv|compare|copy|cp|cpi|cpp|cvpa|dbp|del|diff|dir|ebp|echo|epal|epcsv|epsn|erase|fc|fl|ft|fw|gal|gbp|gc|gci|gcs|gdr|gi|gl|gm|gp|gps|group|gsv|gu|gv|gwmi|iex|ii|ipal|ipcsv|ipsn|irm|iwmi|iwr|kill|lp|ls|measure|mi|mount|move|mp|mv|nal|ndr|ni|nv|ogv|popd|ps|pushd|pwd|rbp|rd|rdr|ren|ri|rm|rmdir|rni|rnp|rp|rv|rvpa|rwmi|sal|saps|sasv|sbp|sc|select|set|shcm|si|sl|sleep|sls|sort|sp|spps|spsv|start|sv|swmi|tee|trcm|type|write)\b/i],keyword:/\b(?:Begin|Break|Catch|Class|Continue|Data|Define|Do|DynamicParam|Else|ElseIf|End|Exit|Filter|Finally|For|ForEach|From|Function|If|InlineScript|Parallel|Param|Process|Return|Sequence|Switch|Throw|Trap|Try|Until|Using|Var|While|Workflow)\b/i,operator:{pattern:/(^|\W)(?:!|-(?:b?(?:and|x?or)|as|(?:Not)?(?:Contains|In|Like|Match)|eq|ge|gt|is(?:Not)?|Join|le|lt|ne|not|Replace|sh[lr])\b|-[-=]?|\+[+=]?|[*\/%]=?)/i,lookbehind:!0},punctuation:/[|{}[\];(),.]/};t.string[0].inside={function:{pattern:/(^|[^`])\$\((?:\$\([^\r\n()]*\)|(?!\$\()[^\r\n)])*\)/,lookbehind:!0,inside:t},boolean:t.boolean,variable:t.variable}}(e)}function bf(e){e.register(Kc),e.languages.processing=e.languages.extend("clike",{keyword:/\b(?:break|case|catch|class|continue|default|else|extends|final|for|if|implements|import|new|null|private|public|return|static|super|switch|this|try|void|while)\b/,function:/\b\w+(?=\s*\()/,operator:/<[<=]?|>[>=]?|&&?|\|\|?|[%?]|[!=+\-*\/]=?/}),e.languages.insertBefore("processing","number",{constant:/\b(?!XML\b)[A-Z][A-Z\d_]+\b/,type:{pattern:/\b(?:boolean|byte|char|color|double|float|int|[A-Z]\w*)\b/,alias:"class-name"}})}function Ef(e){e.languages.prolog={comment:{pattern:/\/\*[\s\S]*?\*\/|%.*/,greedy:!0},string:{pattern:/(["'])(?:\1\1|\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1(?!\1)/,greedy:!0},builtin:/\b(?:fx|fy|xf[xy]?|yfx?)\b/,function:/\b[a-z]\w*(?:(?=\()|\/\d+)/,number:/\b\d+(?:\.\d*)?/,operator:/[:\\=><\-?*@\/;+^|!$.]+|\b(?:is|mod|not|xor)\b/,punctuation:/[(){}\[\],]/}}function Tf(e){!function(e){var t=["on","ignoring","group_right","group_left","by","without"],n=["sum","min","max","avg","group","stddev","stdvar","count","count_values","bottomk","topk","quantile"].concat(t,["offset"]);e.languages.promql={comment:{pattern:/(^[ \t]*)#.*/m,lookbehind:!0},"vector-match":{pattern:new RegExp("((?:"+t.join("|")+")\\s*)\\([^)]*\\)"),lookbehind:!0,inside:{"label-key":{pattern:/\b[^,]+\b/,alias:"attr-name"},punctuation:/[(),]/}},"context-labels":{pattern:/\{[^{}]*\}/,inside:{"label-key":{pattern:/\b[a-z_]\w*(?=\s*(?:=|![=~]))/,alias:"attr-name"},"label-value":{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0,alias:"attr-value"},punctuation:/\{|\}|=~?|![=~]|,/}},"context-range":[{pattern:/\[[\w\s:]+\]/,inside:{punctuation:/\[|\]|:/,"range-duration":{pattern:/\b(?:\d+(?:[smhdwy]|ms))+\b/i,alias:"number"}}},{pattern:/(\boffset\s+)\w+/,lookbehind:!0,inside:{"range-duration":{pattern:/\b(?:\d+(?:[smhdwy]|ms))+\b/i,alias:"number"}}}],keyword:new RegExp("\\b(?:"+n.join("|")+")\\b","i"),function:/\b[a-z_]\w*(?=\s*\()/i,number:/[-+]?(?:(?:\b\d+(?:\.\d+)?|\B\.\d+)(?:e[-+]?\d+)?\b|\b(?:0x[0-9a-f]+|nan|inf)\b)/i,operator:/[\^*/%+-]|==|!=|<=|<|>=|>|\b(?:and|or|unless)\b/i,punctuation:/[{};()`,.[\]]/}}(e)}function xf(e){e.languages.properties={comment:/^[ \t]*[#!].*$/m,value:{pattern:/(^[ \t]*(?:\\(?:\r\n|[\s\S])|[^\\\s:=])+(?: *[=:] *(?! )| ))(?:\\(?:\r\n|[\s\S])|[^\\\r\n])+/m,lookbehind:!0,alias:"attr-value"},key:{pattern:/^[ \t]*(?:\\(?:\r\n|[\s\S])|[^\\\s:=])+(?= *[=:]| )/m,alias:"attr-name"},punctuation:/[=:]/}}function Sf(e){e.register(Kc),function(e){var t=/\b(?:bool|bytes|double|s?fixed(?:32|64)|float|[su]?int(?:32|64)|string)\b/;e.languages.protobuf=e.languages.extend("clike",{"class-name":[{pattern:/(\b(?:enum|extend|message|service)\s+)[A-Za-z_]\w*(?=\s*\{)/,lookbehind:!0},{pattern:/(\b(?:rpc\s+\w+|returns)\s*\(\s*(?:stream\s+)?)\.?[A-Za-z_]\w*(?:\.[A-Za-z_]\w*)*(?=\s*\))/,lookbehind:!0}],keyword:/\b(?:enum|extend|extensions|import|message|oneof|option|optional|package|public|repeated|required|reserved|returns|rpc(?=\s+\w)|service|stream|syntax|to)\b(?!\s*=\s*\d)/,function:/\b[a-z_]\w*(?=\s*\()/i}),e.languages.insertBefore("protobuf","operator",{map:{pattern:/\bmap<\s*[\w.]+\s*,\s*[\w.]+\s*>(?=\s+[a-z_]\w*\s*[=;])/i,alias:"class-name",inside:{punctuation:/[<>.,]/,builtin:t}},builtin:t,"positional-class-name":{pattern:/(?:\b|\B\.)[a-z_]\w*(?:\.[a-z_]\w*)*(?=\s+[a-z_]\w*\s*[=;])/i,alias:"class-name",inside:{punctuation:/\./}},annotation:{pattern:/(\[\s*)[a-z_]\w*(?=\s*=)/i,lookbehind:!0}})}(e)}function Cf(e){!function(e){var t={pattern:/(\b\d+)(?:%|[a-z]+)/,lookbehind:!0},n={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0},r={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},url:{pattern:/\burl\((["']?).*?\1\)/i,greedy:!0},string:{pattern:/("|')(?:(?!\1)[^\\\r\n]|\\(?:\r\n|[\s\S]))*\1/,greedy:!0},interpolation:null,func:null,important:/\B!(?:important|optional)\b/i,keyword:{pattern:/(^|\s+)(?:(?:else|for|if|return|unless)(?=\s|$)|@[\w-]+)/,lookbehind:!0},hexcode:/#[\da-f]{3,6}/i,color:[/\b(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)\b/i,{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:t,number:n,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:t,boolean:/\b(?:false|true)\b/,operator:[/~|[+!\/%<>?=]=?|[-:]=|\*[*=]?|\.{2,3}|&&|\|\||\B-\B|\b(?:and|in|is(?: a| defined| not|nt)?|not|or)\b/],number:n,punctuation:/[{}()\[\];:,]/};r.interpolation={pattern:/\{[^\r\n}:]+\}/,alias:"variable",inside:{delimiter:{pattern:/^\{|\}$/,alias:"punctuation"},rest:r}},r.func={pattern:/[\w-]+\([^)]*\).*/,inside:{function:/^[^(]+/,rest:r}},e.languages.stylus={"atrule-declaration":{pattern:/(^[ \t]*)@.+/m,lookbehind:!0,inside:{atrule:/^@[\w-]+/,rest:r}},"variable-declaration":{pattern:/(^[ \t]*)[\w$-]+\s*.?=[ \t]*(?:\{[^{}]*\}|\S.*|$)/m,lookbehind:!0,inside:{variable:/^\S+/,rest:r}},statement:{pattern:/(^[ \t]*)(?:else|for|if|return|unless)[ \t].+/m,lookbehind:!0,inside:{keyword:/^\S+/,rest:r}},"property-declaration":{pattern:/((?:^|\{)([ \t]*))(?:[\w-]|\{[^}\r\n]+\})+(?:\s*:\s*|[ \t]+)(?!\s)[^{\r\n]*(?:;|[^{\r\n,]$(?!(?:\r?\n|\r)(?:\{|\2[ \t])))/m,lookbehind:!0,inside:{property:{pattern:/^[^\s:]+/,inside:{interpolation:r.interpolation}},rest:r}},selector:{pattern:/(^[ \t]*)(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)(?:(?:\r?\n|\r)(?:\1(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)))*(?:,$|\{|(?=(?:\r?\n|\r)(?:\{|\1[ \t])))/m,lookbehind:!0,inside:{interpolation:r.interpolation,comment:r.comment,punctuation:/[{},]/}},func:r.func,string:r.string,comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0,greedy:!0},interpolation:r.interpolation,punctuation:/[{}()\[\];:.]/}}(e)}function Af(e){e.register(yu),e.languages.twig={comment:/^\{#[\s\S]*?#\}$/,"tag-name":{pattern:/(^\{%-?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%]-?|-?[%}]\}$/,alias:"punctuation"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,inside:{punctuation:/^['"]|['"]$/}},keyword:/\b(?:even|if|odd)\b/,boolean:/\b(?:false|null|true)\b/,number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,operator:[{pattern:/(\s)(?:and|b-and|b-or|b-xor|ends with|in|is|matches|not|or|same as|starts with)(?=\s)/,lookbehind:!0},/[=<>]=?|!=|\*\*?|\/\/?|\?:?|[-+~%|]/],punctuation:/[()\[\]{}:.,]/},e.hooks.add("before-tokenize",(function(t){"twig"===t.language&&e.languages["markup-templating"].buildPlaceholders(t,"twig",/\{(?:#[\s\S]*?#|%[\s\S]*?%|\{[\s\S]*?\})\}/g)})),e.hooks.add("after-tokenize",(function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"twig")}))}function Rf(e){e.register(su),e.register(eu),function(e){e.languages.pug={comment:{pattern:/(^([\t ]*))\/\/.*(?:(?:\r?\n|\r)\2[\t ].+)*/m,lookbehind:!0},"multiline-script":{pattern:/(^([\t ]*)script\b.*\.[\t ]*)(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0,inside:e.languages.javascript},filter:{pattern:/(^([\t ]*)):.+(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"variable"},text:/\S[\s\S]*/}},"multiline-plain-text":{pattern:/(^([\t ]*)[\w\-#.]+\.[\t ]*)(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0},markup:{pattern:/(^[\t ]*)<.+/m,lookbehind:!0,inside:e.languages.markup},doctype:{pattern:/((?:^|\n)[\t ]*)doctype(?: .+)?/,lookbehind:!0},"flow-control":{pattern:/(^[\t ]*)(?:case|default|each|else|if|unless|when|while)\b(?: .+)?/m,lookbehind:!0,inside:{each:{pattern:/^each .+? in\b/,inside:{keyword:/\b(?:each|in)\b/,punctuation:/,/}},branch:{pattern:/^(?:case|default|else|if|unless|when|while)\b/,alias:"keyword"},rest:e.languages.javascript}},keyword:{pattern:/(^[\t ]*)(?:append|block|extends|include|prepend)\b.+/m,lookbehind:!0},mixin:[{pattern:/(^[\t ]*)mixin .+/m,lookbehind:!0,inside:{keyword:/^mixin/,function:/\w+(?=\s*\(|\s*$)/,punctuation:/[(),.]/}},{pattern:/(^[\t ]*)\+.+/m,lookbehind:!0,inside:{name:{pattern:/^\+\w+/,alias:"function"},rest:e.languages.javascript}}],script:{pattern:/(^[\t ]*script(?:(?:&[^(]+)?\([^)]+\))*[\t ]).+/m,lookbehind:!0,inside:e.languages.javascript},"plain-text":{pattern:/(^[\t ]*(?!-)[\w\-#.]*[\w\-](?:(?:&[^(]+)?\([^)]+\))*\/?[\t ]).+/m,lookbehind:!0},tag:{pattern:/(^[\t ]*)(?!-)[\w\-#.]*[\w\-](?:(?:&[^(]+)?\([^)]+\))*\/?:?/m,lookbehind:!0,inside:{attributes:[{pattern:/&[^(]+\([^)]+\)/,inside:e.languages.javascript},{pattern:/\([^)]+\)/,inside:{"attr-value":{pattern:/(=\s*(?!\s))(?:\{[^}]*\}|[^,)\r\n]+)/,lookbehind:!0,inside:e.languages.javascript},"attr-name":/[\w-]+(?=\s*!?=|\s*[,)])/,punctuation:/[!=(),]+/}}],punctuation:/:/,"attr-id":/#[\w\-]+/,"attr-class":/\.[\w\-]+/}},code:[{pattern:/(^[\t ]*(?:-|!?=)).+/m,lookbehind:!0,inside:e.languages.javascript}],punctuation:/[.\-!=|]+/};for(var t=/(^([\t ]*)):<filter_name>(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/.source,n=[{filter:"atpl",language:"twig"},{filter:"coffee",language:"coffeescript"},"ejs","handlebars","less","livescript","markdown",{filter:"sass",language:"scss"},"stylus"],r={},i=0,o=n.length;i<o;i++){var a=n[i];a="string"==typeof a?{filter:a,language:a}:a,e.languages[a.language]&&(r["filter-"+a.filter]={pattern:RegExp(t.replace("<filter_name>",(function(){return a.filter})),"m"),lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"variable"},text:{pattern:/\S[\s\S]*/,alias:[a.language,"language-"+a.language],inside:e.languages[a.language]}}})}e.languages.insertBefore("pug","filter",r)}(e)}function wf(e){!function(e){e.languages.puppet={heredoc:[{pattern:/(@\("([^"\r\n\/):]+)"(?:\/[nrts$uL]*)?\).*(?:\r?\n|\r))(?:.*(?:\r?\n|\r(?!\n)))*?[ \t]*(?:\|[ \t]*)?(?:-[ \t]*)?\2/,lookbehind:!0,alias:"string",inside:{punctuation:/(?=\S).*\S(?= *$)/}},{pattern:/(@\(([^"\r\n\/):]+)(?:\/[nrts$uL]*)?\).*(?:\r?\n|\r))(?:.*(?:\r?\n|\r(?!\n)))*?[ \t]*(?:\|[ \t]*)?(?:-[ \t]*)?\2/,lookbehind:!0,greedy:!0,alias:"string",inside:{punctuation:/(?=\S).*\S(?= *$)/}},{pattern:/@\("?(?:[^"\r\n\/):]+)"?(?:\/[nrts$uL]*)?\)/,alias:"string",inside:{punctuation:{pattern:/(\().+?(?=\))/,lookbehind:!0}}}],"multiline-comment":{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0,greedy:!0,alias:"comment"},regex:{pattern:/((?:\bnode\s+|[~=\(\[\{,]\s*|[=+]>\s*|^\s*))\/(?:[^\/\\]|\\[\s\S])+\/(?:[imx]+\b|\B)/,lookbehind:!0,greedy:!0,inside:{"extended-regex":{pattern:/^\/(?:[^\/\\]|\\[\s\S])+\/[im]*x[im]*$/,inside:{comment:/#.*/}}}},comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},string:{pattern:/(["'])(?:\$\{(?:[^'"}]|(["'])(?:(?!\2)[^\\]|\\[\s\S])*\2)+\}|\$(?!\{)|(?!\1)[^\\$]|\\[\s\S])*\1/,greedy:!0,inside:{"double-quoted":{pattern:/^"[\s\S]*"$/,inside:{}}}},variable:{pattern:/\$(?:::)?\w+(?:::\w+)*/,inside:{punctuation:/::/}},"attr-name":/(?:\b\w+|\*)(?=\s*=>)/,function:[{pattern:/(\.)(?!\d)\w+/,lookbehind:!0},/\b(?:contain|debug|err|fail|include|info|notice|realize|require|tag|warning)\b|\b(?!\d)\w+(?=\()/],number:/\b(?:0x[a-f\d]+|\d+(?:\.\d+)?(?:e-?\d+)?)\b/i,boolean:/\b(?:false|true)\b/,keyword:/\b(?:application|attr|case|class|consumes|default|define|else|elsif|function|if|import|inherits|node|private|produces|type|undef|unless)\b/,datatype:{pattern:/\b(?:Any|Array|Boolean|Callable|Catalogentry|Class|Collection|Data|Default|Enum|Float|Hash|Integer|NotUndef|Numeric|Optional|Pattern|Regexp|Resource|Runtime|Scalar|String|Struct|Tuple|Type|Undef|Variant)\b/,alias:"symbol"},operator:/=[=~>]?|![=~]?|<(?:<\|?|[=~|-])?|>[>=]?|->?|~>|\|>?>?|[*\/%+?]|\b(?:and|in|or)\b/,punctuation:/[\[\]{}().,;]|:+/};var t=[{pattern:/(^|[^\\])\$\{(?:[^'"{}]|\{[^}]*\}|(["'])(?:(?!\2)[^\\]|\\[\s\S])*\2)+\}/,lookbehind:!0,inside:{"short-variable":{pattern:/(^\$\{)(?!\w+\()(?:::)?\w+(?:::\w+)*/,lookbehind:!0,alias:"variable",inside:{punctuation:/::/}},delimiter:{pattern:/^\$/,alias:"variable"},rest:e.languages.puppet}},{pattern:/(^|[^\\])\$(?:::)?\w+(?:::\w+)*/,lookbehind:!0,alias:"variable",inside:{punctuation:/::/}}];e.languages.puppet.heredoc[0].inside.interpolation=t,e.languages.puppet.string.inside["double-quoted"].inside.interpolation=t}(e)}function Lf(e){!function(e){e.languages.pure={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0},/#!.+/],"inline-lang":{pattern:/%<[\s\S]+?%>/,greedy:!0,inside:{lang:{pattern:/(^%< *)-\*-.+?-\*-/,lookbehind:!0,alias:"comment"},delimiter:{pattern:/^%<.*|%>$/,alias:"punctuation"}}},string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},number:{pattern:/((?:\.\.)?)(?:\b(?:inf|nan)\b|\b0x[\da-f]+|(?:\b(?:0b)?\d+(?:\.\d+)?|\B\.\d+)(?:e[+-]?\d+)?L?)/i,lookbehind:!0},keyword:/\b(?:NULL|ans|break|bt|case|catch|cd|clear|const|def|del|dump|else|end|exit|extern|false|force|help|if|infix[lr]?|interface|let|ls|mem|namespace|nonfix|of|otherwise|outfix|override|postfix|prefix|private|public|pwd|quit|run|save|show|stats|then|throw|trace|true|type|underride|using|when|with)\b/,function:/\b(?:abs|add_(?:addr|constdef|(?:fundef|interface|macdef|typedef)(?:_at)?|vardef)|all|any|applp?|arity|bigintp?|blob(?:_crc|_size|p)?|boolp?|byte_c?string(?:_pointer)?|byte_(?:matrix|pointer)|calloc|cat|catmap|ceil|char[ps]?|check_ptrtag|chr|clear_sentry|clearsym|closurep?|cmatrixp?|cols?|colcat(?:map)?|colmap|colrev|colvector(?:p|seq)?|complex(?:_float_(?:matrix|pointer)|_matrix(?:_view)?|_pointer|p)?|conj|cookedp?|cst|cstring(?:_(?:dup|list|vector))?|curry3?|cyclen?|del_(?:constdef|fundef|interface|macdef|typedef|vardef)|delete|diag(?:mat)?|dim|dmatrixp?|do|double(?:_matrix(?:_view)?|_pointer|p)?|dowith3?|drop|dropwhile|eval(?:cmd)?|exactp|filter|fix|fixity|flip|float(?:_matrix|_pointer)|floor|fold[lr]1?|frac|free|funp?|functionp?|gcd|get(?:_(?:byte|constdef|double|float|fundef|int(?:64)?|interface(?:_typedef)?|long|macdef|pointer|ptrtag|sentry|short|string|typedef|vardef))?|globsym|hash|head|id|im|imatrixp?|index|inexactp|infp|init|insert|int(?:_matrix(?:_view)?|_pointer|p)?|int64_(?:matrix|pointer)|integerp?|iteraten?|iterwhile|join|keys?|lambdap?|last(?:err(?:pos)?)?|lcd|list[2p]?|listmap|make_ptrtag|malloc|map|matcat|matrixp?|max|member|min|nanp|nargs|nmatrixp?|null|numberp?|ord|pack(?:ed)?|pointer(?:_cast|_tag|_type|p)?|pow|pred|ptrtag|put(?:_(?:byte|double|float|int(?:64)?|long|pointer|short|string))?|rationalp?|re|realp?|realloc|recordp?|redim|reduce(?:_with)?|refp?|repeatn?|reverse|rlistp?|round|rows?|rowcat(?:map)?|rowmap|rowrev|rowvector(?:p|seq)?|same|scan[lr]1?|sentry|sgn|short_(?:matrix|pointer)|slice|smatrixp?|sort|split|str|strcat|stream|stride|string(?:_(?:dup|list|vector)|p)?|subdiag(?:mat)?|submat|subseq2?|substr|succ|supdiag(?:mat)?|symbolp?|tail|take|takewhile|thunkp?|transpose|trunc|tuplep?|typep|ubyte|uint(?:64)?|ulong|uncurry3?|unref|unzip3?|update|ushort|vals?|varp?|vector(?:p|seq)?|void|zip3?|zipwith3?)\b/,special:{pattern:/\b__[a-z]+__\b/i,alias:"builtin"},operator:/(?:[!"#$%&'*+,\-.\/:<=>?@\\^`|~\u00a1-\u00bf\u00d7-\u00f7\u20d0-\u2bff]|\b_+\b)+|\b(?:and|div|mod|not|or)\b/,punctuation:/[(){}\[\];,|]/};var t=/%< *-\*- *<lang>\d* *-\*-[\s\S]+?%>/.source;["c",{lang:"c++",alias:"cpp"},"fortran"].forEach((function(n){var r=n;if("string"!=typeof n&&(r=n.alias,n=n.lang),e.languages[r]){var i={};i["inline-lang-"+r]={pattern:RegExp(t.replace("<lang>",n.replace(/([.+*?\/\\(){}\[\]])/g,"\\$1")),"i"),inside:e.util.clone(e.languages.pure["inline-lang"].inside)},i["inline-lang-"+r].inside.rest=e.util.clone(e.languages[r]),e.languages.insertBefore("pure","inline-lang",i)}})),e.languages.c&&(e.languages.pure["inline-lang"].inside.rest=e.util.clone(e.languages.c))}(e)}function Of(e){e.register(Kc),e.languages.purebasic=e.languages.extend("clike",{comment:/;.*/,keyword:/\b(?:align|and|as|break|calldebugger|case|compilercase|compilerdefault|compilerelse|compilerelseif|compilerendif|compilerendselect|compilererror|compilerif|compilerselect|continue|data|datasection|debug|debuglevel|declare|declarec|declarecdll|declaredll|declaremodule|default|define|dim|disableasm|disabledebugger|disableexplicit|else|elseif|enableasm|enabledebugger|enableexplicit|end|enddatasection|enddeclaremodule|endenumeration|endif|endimport|endinterface|endmacro|endmodule|endprocedure|endselect|endstructure|endstructureunion|endwith|enumeration|extends|fakereturn|for|foreach|forever|global|gosub|goto|if|import|importc|includebinary|includefile|includepath|interface|macro|module|newlist|newmap|next|not|or|procedure|procedurec|procedurecdll|proceduredll|procedurereturn|protected|prototype|prototypec|read|redim|repeat|restore|return|runtime|select|shared|static|step|structure|structureunion|swap|threaded|to|until|wend|while|with|xincludefile|xor)\b/i,function:/\b\w+(?:\.\w+)?\s*(?=\()/,number:/(?:\$[\da-f]+|\b-?(?:\d+(?:\.\d+)?|\.\d+)(?:e[+-]?\d+)?)\b/i,operator:/(?:@\*?|\?|\*)\w+\$?|-[>-]?|\+\+?|!=?|<<?=?|>>?=?|==?|&&?|\|?\||[~^%?*/@]/}),e.languages.insertBefore("purebasic","keyword",{tag:/#\w+\$?/,asm:{pattern:/(^[\t ]*)!.*/m,lookbehind:!0,alias:"tag",inside:{comment:/;.*/,string:{pattern:/(["'`])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},"label-reference-anonymous":{pattern:/(!\s*j[a-z]+\s+)@[fb]/i,lookbehind:!0,alias:"fasm-label"},"label-reference-addressed":{pattern:/(!\s*j[a-z]+\s+)[A-Z._?$@][\w.?$@~#]*/i,lookbehind:!0,alias:"fasm-label"},keyword:[/\b(?:extern|global)\b[^;\r\n]*/i,/\b(?:CPU|DEFAULT|FLOAT)\b.*/],function:{pattern:/^([\t ]*!\s*)[\da-z]+(?=\s|$)/im,lookbehind:!0},"function-inline":{pattern:/(:\s*)[\da-z]+(?=\s)/i,lookbehind:!0,alias:"function"},label:{pattern:/^([\t ]*!\s*)[A-Za-z._?$@][\w.?$@~#]*(?=:)/m,lookbehind:!0,alias:"fasm-label"},register:/\b(?:st\d|[xyz]mm\d\d?|[cdt]r\d|r\d\d?[bwd]?|[er]?[abcd]x|[abcd][hl]|[er]?(?:bp|di|si|sp)|[cdefgs]s|mm\d+)\b/i,number:/(?:\b|-|(?=\$))(?:0[hx](?:[\da-f]*\.)?[\da-f]+(?:p[+-]?\d+)?|\d[\da-f]+[hx]|\$\d[\da-f]*|0[oq][0-7]+|[0-7]+[oq]|0[by][01]+|[01]+[by]|0[dt]\d+|(?:\d+(?:\.\d+)?|\.\d+)(?:\.?e[+-]?\d+)?[dt]?)\b/i,operator:/[\[\]*+\-/%<>=&|$!,.:]/}}}),delete e.languages.purebasic["class-name"],delete e.languages.purebasic.boolean,e.languages.pbfasm=e.languages.purebasic}function Nf(e){e.register(Gp),e.languages.purescript=e.languages.extend("haskell",{keyword:/\b(?:ado|case|class|data|derive|do|else|forall|if|in|infixl|infixr|instance|let|module|newtype|of|primitive|then|type|where)\b|∀/,"import-statement":{pattern:/(^[\t ]*)import\s+[A-Z][\w']*(?:\.[A-Z][\w']*)*(?:\s+as\s+[A-Z][\w']*(?:\.[A-Z][\w']*)*)?(?:\s+hiding\b)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|hiding|import)\b/,punctuation:/\./}},builtin:/\b(?:absurd|add|ap|append|apply|between|bind|bottom|clamp|compare|comparing|compose|conj|const|degree|discard|disj|div|eq|flap|flip|gcd|identity|ifM|join|lcm|liftA1|liftM1|map|max|mempty|min|mod|mul|negate|not|notEq|one|otherwise|recip|show|sub|top|unit|unless|unlessM|void|when|whenM|zero)\b/,operator:[e.languages.haskell.operator[0],e.languages.haskell.operator[2],/[\xa2-\xa6\xa8\xa9\xac\xae-\xb1\xb4\xb8\xd7\xf7\u02c2-\u02c5\u02d2-\u02df\u02e5-\u02eb\u02ed\u02ef-\u02ff\u0375\u0384\u0385\u03f6\u0482\u058d-\u058f\u0606-\u0608\u060b\u060e\u060f\u06de\u06e9\u06fd\u06fe\u07f6\u07fe\u07ff\u09f2\u09f3\u09fa\u09fb\u0af1\u0b70\u0bf3-\u0bfa\u0c7f\u0d4f\u0d79\u0e3f\u0f01-\u0f03\u0f13\u0f15-\u0f17\u0f1a-\u0f1f\u0f34\u0f36\u0f38\u0fbe-\u0fc5\u0fc7-\u0fcc\u0fce\u0fcf\u0fd5-\u0fd8\u109e\u109f\u1390-\u1399\u166d\u17db\u1940\u19de-\u19ff\u1b61-\u1b6a\u1b74-\u1b7c\u1fbd\u1fbf-\u1fc1\u1fcd-\u1fcf\u1fdd-\u1fdf\u1fed-\u1fef\u1ffd\u1ffe\u2044\u2052\u207a-\u207c\u208a-\u208c\u20a0-\u20bf\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211e-\u2123\u2125\u2127\u2129\u212e\u213a\u213b\u2140-\u2144\u214a-\u214d\u214f\u218a\u218b\u2190-\u2307\u230c-\u2328\u232b-\u2426\u2440-\u244a\u249c-\u24e9\u2500-\u2767\u2794-\u27c4\u27c7-\u27e5\u27f0-\u2982\u2999-\u29d7\u29dc-\u29fb\u29fe-\u2b73\u2b76-\u2b95\u2b97-\u2bff\u2ce5-\u2cea\u2e50\u2e51\u2e80-\u2e99\u2e9b-\u2ef3\u2f00-\u2fd5\u2ff0-\u2ffb\u3004\u3012\u3013\u3020\u3036\u3037\u303e\u303f\u309b\u309c\u3190\u3191\u3196-\u319f\u31c0-\u31e3\u3200-\u321e\u322a-\u3247\u3250\u3260-\u327f\u328a-\u32b0\u32c0-\u33ff\u4dc0-\u4dff\ua490-\ua4c6\ua700-\ua716\ua720\ua721\ua789\ua78a\ua828-\ua82b\ua836-\ua839\uaa77-\uaa79\uab5b\uab6a\uab6b\ufb29\ufbb2-\ufbc1\ufdfc\ufdfd\ufe62\ufe64-\ufe66\ufe69\uff04\uff0b\uff1c-\uff1e\uff3e\uff40\uff5c\uff5e\uffe0-\uffe6\uffe8-\uffee\ufffc\ufffd]/]}),e.languages.purs=e.languages.purescript}function If(e){e.register(Kc),function(e){function t(e,t){return e.replace(/<<(\d+)>>/g,(function(e,n){return"(?:"+t[+n]+")"}))}function n(e,n,r){return RegExp(t(e,n),r||"")}var r=RegExp("\\b(?:"+"Adj BigInt Bool Ctl Double false Int One Pauli PauliI PauliX PauliY PauliZ Qubit Range Result String true Unit Zero Adjoint adjoint apply as auto body borrow borrowing Controlled controlled distribute elif else fail fixup for function if in internal intrinsic invert is let mutable namespace new newtype open operation repeat return self set until use using while within".trim().replace(/ /g,"|")+")\\b"),i=t(/<<0>>(?:\s*\.\s*<<0>>)*/.source,[/\b[A-Za-z_]\w*\b/.source]),o={keyword:r,punctuation:/[<>()?,.:[\]]/},a=/"(?:\\.|[^\\"])*"/.source;e.languages.qsharp=e.languages.extend("clike",{comment:/\/\/.*/,string:[{pattern:n(/(^|[^$\\])<<0>>/.source,[a]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:n(/(\b(?:as|open)\s+)<<0>>(?=\s*(?:;|as\b))/.source,[i]),lookbehind:!0,inside:o},{pattern:n(/(\bnamespace\s+)<<0>>(?=\s*\{)/.source,[i]),lookbehind:!0,inside:o}],keyword:r,number:/(?:\b0(?:x[\da-f]+|b[01]+|o[0-7]+)|(?:\B\.\d+|\b\d+(?:\.\d*)?)(?:e[-+]?\d+)?)l?\b/i,operator:/\band=|\bor=|\band\b|\bnot\b|\bor\b|<[-=]|[-=]>|>>>=?|<<<=?|\^\^\^=?|\|\|\|=?|&&&=?|w\/=?|~~~|[*\/+\-^=!%]=?/,punctuation:/::|[{}[\];(),.:]/}),e.languages.insertBefore("qsharp","number",{range:{pattern:/\.\./,alias:"operator"}});var s=function(e,t){for(var n=0;n<2;n++)e=e.replace(/<<self>>/g,(function(){return"(?:"+e+")"}));return e.replace(/<<self>>/g,"[^\\s\\S]")}(t(/\{(?:[^"{}]|<<0>>|<<self>>)*\}/.source,[a]));e.languages.insertBefore("qsharp","string",{"interpolation-string":{pattern:n(/\$"(?:\\.|<<0>>|[^\\"{])*"/.source,[s]),greedy:!0,inside:{interpolation:{pattern:n(/((?:^|[^\\])(?:\\\\)*)<<0>>/.source,[s]),lookbehind:!0,inside:{punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-qsharp",inside:e.languages.qsharp}}},string:/[\s\S]+/}}})}(e),e.languages.qs=e.languages.qsharp}function kf(e){e.languages.q={string:/"(?:\\.|[^"\\\r\n])*"/,comment:[{pattern:/([\t )\]}])\/.*/,lookbehind:!0,greedy:!0},{pattern:/(^|\r?\n|\r)\/[\t ]*(?:(?:\r?\n|\r)(?:.*(?:\r?\n|\r(?!\n)))*?(?:\\(?=[\t ]*(?:\r?\n|\r))|$)|\S.*)/,lookbehind:!0,greedy:!0},{pattern:/^\\[\t ]*(?:\r?\n|\r)[\s\S]+/m,greedy:!0},{pattern:/^#!.+/m,greedy:!0}],symbol:/`(?::\S+|[\w.]*)/,datetime:{pattern:/0N[mdzuvt]|0W[dtz]|\d{4}\.\d\d(?:m|\.\d\d(?:T(?:\d\d(?::\d\d(?::\d\d(?:[.:]\d\d\d)?)?)?)?)?[dz]?)|\d\d:\d\d(?::\d\d(?:[.:]\d\d\d)?)?[uvt]?/,alias:"number"},number:/\b(?![01]:)(?:0N[hje]?|0W[hj]?|0[wn]|0x[\da-fA-F]+|\d+(?:\.\d*)?(?:e[+-]?\d+)?[hjfeb]?)/,keyword:/\\\w+\b|\b(?:abs|acos|aj0?|all|and|any|asc|asin|asof|atan|attr|avgs?|binr?|by|ceiling|cols|cor|cos|count|cov|cross|csv|cut|delete|deltas|desc|dev|differ|distinct|div|do|dsave|ej|enlist|eval|except|exec|exit|exp|fby|fills|first|fkeys|flip|floor|from|get|getenv|group|gtime|hclose|hcount|hdel|hopen|hsym|iasc|identity|idesc|if|ij|in|insert|inter|inv|keys?|last|like|list|ljf?|load|log|lower|lsq|ltime|ltrim|mavg|maxs?|mcount|md5|mdev|med|meta|mins?|mmax|mmin|mmu|mod|msum|neg|next|not|null|or|over|parse|peach|pj|plist|prds?|prev|prior|rand|rank|ratios|raze|read0|read1|reciprocal|reval|reverse|rload|rotate|rsave|rtrim|save|scan|scov|sdev|select|set|setenv|show|signum|sin|sqrt|ssr?|string|sublist|sums?|sv|svar|system|tables|tan|til|trim|txf|type|uj|ungroup|union|update|upper|upsert|value|var|views?|vs|wavg|where|while|within|wj1?|wsum|ww|xasc|xbar|xcols?|xdesc|xexp|xgroup|xkey|xlog|xprev|xrank)\b/,adverb:{pattern:/['\/\\]:?|\beach\b/,alias:"function"},verb:{pattern:/(?:\B\.\B|\b[01]:|<[=>]?|>=?|[:+\-*%,!?~=|$&#@^]):?|\b_\b:?/,alias:"operator"},punctuation:/[(){}\[\];.]/}}function Df(e){e.register(su),function(e){for(var t=/"(?:\\.|[^\\"\r\n])*"|'(?:\\.|[^\\'\r\n])*'/.source,n=/\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))*\*\//.source,r=/(?:[^\\()[\]{}"'/]|<string>|\/(?![*/])|<comment>|\(<expr>*\)|\[<expr>*\]|\{<expr>*\}|\\[\s\S])/.source.replace(/<string>/g,(function(){return t})).replace(/<comment>/g,(function(){return n})),i=0;i<2;i++)r=r.replace(/<expr>/g,(function(){return r}));r=r.replace(/<expr>/g,"[^\\s\\S]"),e.languages.qml={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},"javascript-function":{pattern:RegExp(/((?:^|;)[ \t]*)function\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*\(<js>*\)\s*\{<js>*\}/.source.replace(/<js>/g,(function(){return r})),"m"),lookbehind:!0,greedy:!0,alias:"language-javascript",inside:e.languages.javascript},"class-name":{pattern:/((?:^|[:;])[ \t]*)(?!\d)\w+(?=[ \t]*\{|[ \t]+on\b)/m,lookbehind:!0},property:[{pattern:/((?:^|[;{])[ \t]*)(?!\d)\w+(?:\.\w+)*(?=[ \t]*:)/m,lookbehind:!0},{pattern:/((?:^|[;{])[ \t]*)property[ \t]+(?!\d)\w+(?:\.\w+)*[ \t]+(?!\d)\w+(?:\.\w+)*(?=[ \t]*:)/m,lookbehind:!0,inside:{keyword:/^property/,property:/\w+(?:\.\w+)*/}}],"javascript-expression":{pattern:RegExp(/(:[ \t]*)(?![\s;}[])(?:(?!$|[;}])<js>)+/.source.replace(/<js>/g,(function(){return r})),"m"),lookbehind:!0,greedy:!0,alias:"language-javascript",inside:e.languages.javascript},string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},keyword:/\b(?:as|import|on)\b/,punctuation:/[{}[\]:;,]/}}(e)}function Pf(e){e.register(Kc),e.languages.qore=e.languages.extend("clike",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:\/\/|#).*)/,lookbehind:!0},string:{pattern:/("|')(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},keyword:/\b(?:abstract|any|assert|binary|bool|boolean|break|byte|case|catch|char|class|code|const|continue|data|default|do|double|else|enum|extends|final|finally|float|for|goto|hash|if|implements|import|inherits|instanceof|int|interface|long|my|native|new|nothing|null|object|our|own|private|reference|rethrow|return|short|soft(?:bool|date|float|int|list|number|string)|static|strictfp|string|sub|super|switch|synchronized|this|throw|throws|transient|try|void|volatile|while)\b/,boolean:/\b(?:false|true)\b/i,function:/\$?\b(?!\d)\w+(?=\()/,number:/\b(?:0b[01]+|0x(?:[\da-f]*\.)?[\da-fp\-]+|(?:\d+(?:\.\d+)?|\.\d+)(?:e\d+)?[df]|(?:\d+(?:\.\d+)?|\.\d+))\b/i,operator:{pattern:/(^|[^.])(?:\+[+=]?|-[-=]?|[!=](?:==?|~)?|>>?=?|<(?:=>?|<=?)?|&[&=]?|\|[|=]?|[*\/%^]=?|[~?])/,lookbehind:!0},variable:/\$(?!\d)\w+\b/})}function Mf(e){e.register(Ad),e.languages.racket=e.languages.extend("scheme",{"lambda-parameter":{pattern:/([(\[]lambda\s+[(\[])[^()\[\]'\s]+/,lookbehind:!0}}),e.languages.insertBefore("racket","string",{lang:{pattern:/^#lang.+/m,greedy:!0,alias:"keyword"}}),e.languages.rkt=e.languages.racket}function Ff(e){e.register(Jc),e.register(eu),function(e){var t=/\/(?![/*])|\/\/.*[\r\n]|\/\*[^*]*(?:\*(?!\/)[^*]*)*\*\//.source,n=/@(?!")|"(?:[^\r\n\\"]|\\.)*"|@"(?:[^\\"]|""|\\[\s\S])*"(?!")/.source+"|"+/'(?:(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'|(?=[^\\](?!')))/.source;function r(e,r){for(var i=0;i<r;i++)e=e.replace(/<self>/g,(function(){return"(?:"+e+")"}));return e.replace(/<self>/g,"[^\\s\\S]").replace(/<str>/g,"(?:"+n+")").replace(/<comment>/g,"(?:"+t+")")}var i=r(/\((?:[^()'"@/]|<str>|<comment>|<self>)*\)/.source,2),o=r(/\[(?:[^\[\]'"@/]|<str>|<comment>|<self>)*\]/.source,1),a=r(/\{(?:[^{}'"@/]|<str>|<comment>|<self>)*\}/.source,2),s=r(/<(?:[^<>'"@/]|<comment>|<self>)*>/.source,1),l=/@/.source+/(?:await\b\s*)?/.source+"(?:"+/(?!await\b)\w+\b/.source+"|"+i+")(?:"+/[?!]?\.\w+\b/.source+"|(?:"+s+")?"+i+"|"+o+")*"+/(?![?!\.(\[]|<(?!\/))/.source,c="(?:"+/"[^"@]*"|'[^'@]*'|[^\s'"@>=]+(?=[\s>])/.source+"|[\"'][^\"'@]*(?:(?:"+/@(?![\w()])/.source+"|"+l+")[^\"'@]*)+[\"'])",u=/(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*<tagAttrValue>|(?=[\s/>])))+)?/.source.replace(/<tagAttrValue>/,c),h=/(?!\d)[^\s>\/=$<%]+/.source+u+/\s*\/?>/.source,p=/\B@?/.source+"(?:"+/<([a-zA-Z][\w:]*)/.source+u+/\s*>/.source+"(?:"+/[^<]/.source+"|"+/<\/?(?!\1\b)/.source+h+"|"+r(/<\1/.source+u+/\s*>/.source+"(?:"+/[^<]/.source+"|"+/<\/?(?!\1\b)/.source+h+"|<self>)*"+/<\/\1\s*>/.source,2)+")*"+/<\/\1\s*>/.source+"|"+/</.source+h+")";e.languages.cshtml=e.languages.extend("markup",{});var d={pattern:/\S[\s\S]*/,alias:"language-csharp",inside:e.languages.insertBefore("csharp","string",{html:{pattern:RegExp(p),greedy:!0,inside:e.languages.cshtml}},{csharp:e.languages.extend("csharp",{})})},f={pattern:RegExp(/(^|[^@])/.source+l),lookbehind:!0,greedy:!0,alias:"variable",inside:{keyword:/^@/,csharp:d}};e.languages.cshtml.tag.pattern=RegExp(/<\/?/.source+h),e.languages.cshtml.tag.inside["attr-value"].pattern=RegExp(/=\s*/.source+c),e.languages.insertBefore("inside","punctuation",{value:f},e.languages.cshtml.tag.inside["attr-value"]),e.languages.insertBefore("cshtml","prolog",{"razor-comment":{pattern:/@\*[\s\S]*?\*@/,greedy:!0,alias:"comment"},block:{pattern:RegExp(/(^|[^@])@/.source+"(?:"+[a,/(?:code|functions)\s*/.source+a,/(?:for|foreach|lock|switch|using|while)\s*/.source+i+/\s*/.source+a,/do\s*/.source+a+/\s*while\s*/.source+i+/(?:\s*;)?/.source,/try\s*/.source+a+/\s*catch\s*/.source+i+/\s*/.source+a+/\s*finally\s*/.source+a,/if\s*/.source+i+/\s*/.source+a+"(?:"+/\s*else/.source+"(?:"+/\s+if\s*/.source+i+")?"+/\s*/.source+a+")*",/helper\s+\w+\s*/.source+i+/\s*/.source+a].join("|")+")"),lookbehind:!0,greedy:!0,inside:{keyword:/^@\w*/,csharp:d}},directive:{pattern:/^([ \t]*)@(?:addTagHelper|attribute|implements|inherits|inject|layout|model|namespace|page|preservewhitespace|removeTagHelper|section|tagHelperPrefix|using)(?=\s).*/m,lookbehind:!0,greedy:!0,inside:{keyword:/^@\w+/,csharp:d}},value:f,"delegate-operator":{pattern:/(^|[^@])@(?=<)/,lookbehind:!0,alias:"operator"}}),e.languages.razor=e.languages.cshtml}(e)}function Hf(e){e.register(su),e.register(eu),function(e){var t=e.util.clone(e.languages.javascript),n=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,r=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,i=/(?:\{<S>*\.{3}(?:[^{}]|<BRACES>)*\})/.source;function o(e,t){return e=e.replace(/<S>/g,(function(){return n})).replace(/<BRACES>/g,(function(){return r})).replace(/<SPREAD>/g,(function(){return i})),RegExp(e,t)}i=o(i).source,e.languages.jsx=e.languages.extend("markup",t),e.languages.jsx.tag.pattern=o(/<\/?(?:[\w.:-]+(?:<S>+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|<BRACES>))?|<SPREAD>))*<S>*\/?)?>/.source),e.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,e.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,e.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,e.languages.jsx.tag.inside.comment=t.comment,e.languages.insertBefore("inside","attr-name",{spread:{pattern:o(/<SPREAD>/.source),inside:e.languages.jsx}},e.languages.jsx.tag),e.languages.insertBefore("inside","special-attr",{script:{pattern:o(/=<BRACES>/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:e.languages.jsx}}},e.languages.jsx.tag);var a=function(e){return e?"string"==typeof e?e:"string"==typeof e.content?e.content:e.content.map(a).join(""):""},s=function(t){for(var n=[],r=0;r<t.length;r++){var i=t[r],o=!1;if("string"!=typeof i&&("tag"===i.type&&i.content[0]&&"tag"===i.content[0].type?"</"===i.content[0].content[0].content?n.length>0&&n[n.length-1].tagName===a(i.content[0].content[1])&&n.pop():"/>"===i.content[i.content.length-1].content||n.push({tagName:a(i.content[0].content[1]),openedBraces:0}):n.length>0&&"punctuation"===i.type&&"{"===i.content?n[n.length-1].openedBraces++:n.length>0&&n[n.length-1].openedBraces>0&&"punctuation"===i.type&&"}"===i.content?n[n.length-1].openedBraces--:o=!0),(o||"string"==typeof i)&&n.length>0&&0===n[n.length-1].openedBraces){var l=a(i);r<t.length-1&&("string"==typeof t[r+1]||"plain-text"===t[r+1].type)&&(l+=a(t[r+1]),t.splice(r+1,1)),r>0&&("string"==typeof t[r-1]||"plain-text"===t[r-1].type)&&(l=a(t[r-1])+l,t.splice(r-1,1),r--),t[r]=new e.Token("plain-text",l,null,l)}i.content&&"string"!=typeof i.content&&s(i.content)}};e.hooks.add("after-tokenize",(function(e){"jsx"!==e.language&&"tsx"!==e.language||s(e.tokens)}))}(e)}function Bf(e){e.register(Hf),e.register(Ru),function(e){var t=e.util.clone(e.languages.typescript);e.languages.tsx=e.languages.extend("jsx",t),delete e.languages.tsx.parameter,delete e.languages.tsx["literal-property"];var n=e.languages.tsx.tag;n.pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+n.pattern.source+")",n.pattern.flags),n.lookbehind=!0}(e)}function Uf(e){e.register(Kc),e.languages.reason=e.languages.extend("clike",{string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},"class-name":/\b[A-Z]\w*/,keyword:/\b(?:and|as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|method|module|mutable|new|nonrec|object|of|open|or|private|rec|sig|struct|switch|then|to|try|type|val|virtual|when|while|with)\b/,operator:/\.{3}|:[:=]|\|>|->|=(?:==?|>)?|<=?|>=?|[|^?'#!~`]|[+\-*\/]\.?|\b(?:asr|land|lor|lsl|lsr|lxor|mod)\b/}),e.languages.insertBefore("reason","class-name",{char:{pattern:/'(?:\\x[\da-f]{2}|\\o[0-3][0-7][0-7]|\\\d{3}|\\.|[^'\\\r\n])'/,greedy:!0},constructor:/\b[A-Z]\w*\b(?!\s*\.)/,label:{pattern:/\b[a-z]\w*(?=::)/,alias:"symbol"}}),delete e.languages.reason.function}function jf(e){e.languages.rego={comment:/#.*/,property:{pattern:/(^|[^\\.])(?:"(?:\\.|[^\\"\r\n])*"|`[^`]*`|\b[a-z_]\w*\b)(?=\s*:(?!=))/i,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:as|default|else|import|not|null|package|set(?=\s*\()|some|with)\b/,boolean:/\b(?:false|true)\b/,function:{pattern:/\b[a-z_]\w*\b(?:\s*\.\s*\b[a-z_]\w*\b)*(?=\s*\()/i,inside:{namespace:/\b\w+\b(?=\s*\.)/,punctuation:/\./}},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,operator:/[-+*/%|&]|[<>:=]=?|!=|\b_\b/,punctuation:/[,;.\[\]{}()]/}}function Gf(e){e.languages.renpy={comment:{pattern:/(^|[^\\])#.+/,lookbehind:!0},string:{pattern:/("""|''')[\s\S]+?\1|("|')(?:\\.|(?!\2)[^\\])*\2|(?:^#?(?:(?:[0-9a-fA-F]){3}|[0-9a-fA-F]{6})$)/m,greedy:!0},function:/\b[a-z_]\w*(?=\()/i,property:/\b(?:Update|UpdateVersion|action|activate_sound|adv_nvl_transition|after_load_transition|align|alpha|alt|anchor|antialias|area|auto|background|bar_invert|bar_resizing|bar_vertical|black_color|bold|bottom_bar|bottom_gutter|bottom_margin|bottom_padding|box_reverse|box_wrap|can_update|caret|child|color|crop|default_afm_enable|default_afm_time|default_fullscreen|default_text_cps|developer|directory_name|drag_handle|drag_joined|drag_name|drag_raise|draggable|dragged|drop_shadow|drop_shadow_color|droppable|dropped|easein|easeout|edgescroll|end_game_transition|end_splash_transition|enter_replay_transition|enter_sound|enter_transition|enter_yesno_transition|executable_name|exit_replay_transition|exit_sound|exit_transition|exit_yesno_transition|fadein|fadeout|first_indent|first_spacing|fit_first|focus|focus_mask|font|foreground|game_main_transition|get_installed_packages|google_play_key|google_play_salt|ground|has_music|has_sound|has_voice|height|help|hinting|hover|hover_background|hover_color|hover_sound|hovered|hyperlink_functions|idle|idle_color|image_style|include_update|insensitive|insensitive_background|insensitive_color|inside|intra_transition|italic|justify|kerning|keyboard_focus|language|layer_clipping|layers|layout|left_bar|left_gutter|left_margin|left_padding|length|line_leading|line_overlap_split|line_spacing|linear|main_game_transition|main_menu_music|maximum|min_width|minimum|minwidth|modal|mouse|mousewheel|name|narrator_menu|newline_indent|nvl_adv_transition|offset|order_reverse|outlines|overlay_functions|pos|position|prefix|radius|range|rest_indent|right_bar|right_gutter|right_margin|right_padding|rotate|rotate_pad|ruby_style|sample_sound|save_directory|say_attribute_transition|screen_height|screen_width|scrollbars|selected_hover|selected_hover_color|selected_idle|selected_idle_color|selected_insensitive|show_side_image|show_two_window|side_spacing|side_xpos|side_ypos|size|size_group|slow_cps|slow_cps_multiplier|spacing|strikethrough|subpixel|text_align|text_style|text_xpos|text_y_fudge|text_ypos|thumb|thumb_offset|thumb_shadow|thumbnail_height|thumbnail_width|time|top_bar|top_gutter|top_margin|top_padding|translations|underline|unscrollable|update|value|version|version_name|version_tuple|vertical|width|window_hide_transition|window_icon|window_left_padding|window_show_transition|window_title|windows_icon|xadjustment|xalign|xanchor|xanchoraround|xaround|xcenter|xfill|xinitial|xmargin|xmaximum|xminimum|xoffset|xofsset|xpadding|xpos|xsize|xzoom|yadjustment|yalign|yanchor|yanchoraround|yaround|ycenter|yfill|yinitial|ymargin|ymaximum|yminimum|yoffset|ypadding|ypos|ysize|ysizexysize|yzoom|zoom|zorder)\b/,tag:/\b(?:bar|block|button|buttoscreenn|drag|draggroup|fixed|frame|grid|[hv]box|hotbar|hotspot|image|imagebutton|imagemap|input|key|label|menu|mm_menu_frame|mousearea|nvl|parallel|screen|self|side|tag|text|textbutton|timer|vbar|viewport|window)\b|\$/,keyword:/\b(?:None|add|adjustment|alignaround|allow|angle|animation|around|as|assert|behind|box_layout|break|build|cache|call|center|changed|child_size|choice|circles|class|clear|clicked|clipping|clockwise|config|contains|continue|corner1|corner2|counterclockwise|def|default|define|del|delay|disabled|disabled_text|dissolve|elif|else|event|except|exclude|exec|expression|fade|finally|for|from|function|global|gm_root|has|hide|id|if|import|in|init|is|jump|knot|lambda|left|less_rounded|mm_root|movie|music|null|on|onlayer|pass|pause|persistent|play|print|python|queue|raise|random|renpy|repeat|return|right|rounded_window|scene|scope|set|show|slow|slow_abortable|slow_done|sound|stop|store|style|style_group|substitute|suffix|theme|transform|transform_anchor|transpose|try|ui|unhovered|updater|use|voice|while|widget|widget_hover|widget_selected|widget_text|yield)\b/,boolean:/\b(?:[Ff]alse|[Tt]rue)\b/,number:/(?:\b(?:0[bo])?(?:(?:\d|0x[\da-f])[\da-f]*(?:\.\d*)?)|\B\.\d+)(?:e[+-]?\d+)?j?/i,operator:/[-+%=]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]|\b(?:and|at|not|or|with)\b/,punctuation:/[{}[\];(),.:]/},e.languages.rpy=e.languages.renpy}function Yf(e){e.languages.rescript={comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},char:{pattern:/'(?:[^\r\n\\]|\\(?:.|\w+))'/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},"class-name":/\b[A-Z]\w*|@[a-z.]*|#[A-Za-z]\w*|#\d/,function:{pattern:/[a-zA-Z]\w*(?=\()|(\.)[a-z]\w*/,lookbehind:!0},number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,boolean:/\b(?:false|true)\b/,"attr-value":/[A-Za-z]\w*(?==)/,constant:{pattern:/(\btype\s+)[a-z]\w*/,lookbehind:!0},tag:{pattern:/(<)[a-z]\w*|(?:<\/)[a-z]\w*/,lookbehind:!0,inside:{operator:/<|>|\//}},keyword:/\b(?:and|as|assert|begin|bool|class|constraint|do|done|downto|else|end|exception|external|float|for|fun|function|if|in|include|inherit|initializer|int|lazy|let|method|module|mutable|new|nonrec|object|of|open|or|private|rec|string|switch|then|to|try|type|when|while|with)\b/,operator:/\.{3}|:[:=]?|\|>|->|=(?:==?|>)?|<=?|>=?|[|^?'#!~`]|[+\-*\/]\.?|\b(?:asr|land|lor|lsl|lsr|lxor|mod)\b/,punctuation:/[(){}[\],;.]/},e.languages.insertBefore("rescript","string",{"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"tag"},rest:e.languages.rescript}},string:/[\s\S]+/}}}),e.languages.res=e.languages.rescript}function zf(e){e.languages.rest={table:[{pattern:/(^[\t ]*)(?:\+[=-]+)+\+(?:\r?\n|\r)(?:\1[+|].+[+|](?:\r?\n|\r))+\1(?:\+[=-]+)+\+/m,lookbehind:!0,inside:{punctuation:/\||(?:\+[=-]+)+\+/}},{pattern:/(^[\t ]*)=+ [ =]*=(?:(?:\r?\n|\r)\1.+)+(?:\r?\n|\r)\1=+ [ =]*=(?=(?:\r?\n|\r){2}|\s*$)/m,lookbehind:!0,inside:{punctuation:/[=-]+/}}],"substitution-def":{pattern:/(^[\t ]*\.\. )\|(?:[^|\s](?:[^|]*[^|\s])?)\| [^:]+::/m,lookbehind:!0,inside:{substitution:{pattern:/^\|(?:[^|\s]|[^|\s][^|]*[^|\s])\|/,alias:"attr-value",inside:{punctuation:/^\||\|$/}},directive:{pattern:/( )(?! )[^:]+::/,lookbehind:!0,alias:"function",inside:{punctuation:/::$/}}}},"link-target":[{pattern:/(^[\t ]*\.\. )\[[^\]]+\]/m,lookbehind:!0,alias:"string",inside:{punctuation:/^\[|\]$/}},{pattern:/(^[\t ]*\.\. )_(?:`[^`]+`|(?:[^:\\]|\\.)+):/m,lookbehind:!0,alias:"string",inside:{punctuation:/^_|:$/}}],directive:{pattern:/(^[\t ]*\.\. )[^:]+::/m,lookbehind:!0,alias:"function",inside:{punctuation:/::$/}},comment:{pattern:/(^[\t ]*\.\.)(?:(?: .+)?(?:(?:\r?\n|\r).+)+| .+)(?=(?:\r?\n|\r){2}|$)/m,lookbehind:!0},title:[{pattern:/^(([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2+)(?:\r?\n|\r).+(?:\r?\n|\r)\1$/m,inside:{punctuation:/^[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+|[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+$/,important:/.+/}},{pattern:/(^|(?:\r?\n|\r){2}).+(?:\r?\n|\r)([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2+(?=\r?\n|\r|$)/,lookbehind:!0,inside:{punctuation:/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+$/,important:/.+/}}],hr:{pattern:/((?:\r?\n|\r){2})([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2{3,}(?=(?:\r?\n|\r){2})/,lookbehind:!0,alias:"punctuation"},field:{pattern:/(^[\t ]*):[^:\r\n]+:(?= )/m,lookbehind:!0,alias:"attr-name"},"command-line-option":{pattern:/(^[\t ]*)(?:[+-][a-z\d]|(?:--|\/)[a-z\d-]+)(?:[ =](?:[a-z][\w-]*|<[^<>]+>))?(?:, (?:[+-][a-z\d]|(?:--|\/)[a-z\d-]+)(?:[ =](?:[a-z][\w-]*|<[^<>]+>))?)*(?=(?:\r?\n|\r)? {2,}\S)/im,lookbehind:!0,alias:"symbol"},"literal-block":{pattern:/::(?:\r?\n|\r){2}([ \t]+)(?![ \t]).+(?:(?:\r?\n|\r)\1.+)*/,inside:{"literal-block-punctuation":{pattern:/^::/,alias:"punctuation"}}},"quoted-literal-block":{pattern:/::(?:\r?\n|\r){2}([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]).*(?:(?:\r?\n|\r)\1.*)*/,inside:{"literal-block-punctuation":{pattern:/^(?:::|([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\1*)/m,alias:"punctuation"}}},"list-bullet":{pattern:/(^[\t ]*)(?:[*+\-•‣⁃]|\(?(?:\d+|[a-z]|[ivxdclm]+)\)|(?:\d+|[a-z]|[ivxdclm]+)\.)(?= )/im,lookbehind:!0,alias:"punctuation"},"doctest-block":{pattern:/(^[\t ]*)>>> .+(?:(?:\r?\n|\r).+)*/m,lookbehind:!0,inside:{punctuation:/^>>>/}},inline:[{pattern:/(^|[\s\-:\/'"<(\[{])(?::[^:]+:`.*?`|`.*?`:[^:]+:|(\*\*?|``?|\|)(?!\s)(?:(?!\2).)*\S\2(?=[\s\-.,:;!?\\\/'")\]}]|$))/m,lookbehind:!0,inside:{bold:{pattern:/(^\*\*).+(?=\*\*$)/,lookbehind:!0},italic:{pattern:/(^\*).+(?=\*$)/,lookbehind:!0},"inline-literal":{pattern:/(^``).+(?=``$)/,lookbehind:!0,alias:"symbol"},role:{pattern:/^:[^:]+:|:[^:]+:$/,alias:"function",inside:{punctuation:/^:|:$/}},"interpreted-text":{pattern:/(^`).+(?=`$)/,lookbehind:!0,alias:"attr-value"},substitution:{pattern:/(^\|).+(?=\|$)/,lookbehind:!0,alias:"attr-value"},punctuation:/\*\*?|``?|\|/}}],link:[{pattern:/\[[^\[\]]+\]_(?=[\s\-.,:;!?\\\/'")\]}]|$)/,alias:"string",inside:{punctuation:/^\[|\]_$/}},{pattern:/(?:\b[a-z\d]+(?:[_.:+][a-z\d]+)*_?_|`[^`]+`_?_|_`[^`]+`)(?=[\s\-.,:;!?\\\/'")\]}]|$)/i,alias:"string",inside:{punctuation:/^_?`|`$|`?_?_$/}}],punctuation:{pattern:/(^[\t ]*)(?:\|(?= |$)|(?:---?|—|\.\.|__)(?= )|\.\.$)/m,lookbehind:!0}}}function $f(e){e.languages.rip={comment:{pattern:/#.*/,greedy:!0},char:{pattern:/\B`[^\s`'",.:;#\/\\()<>\[\]{}]\b/,greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},regex:{pattern:/(^|[^/])\/(?!\/)(?:\[[^\n\r\]]*\]|\\.|[^/\\\r\n\[])+\/(?=\s*(?:$|[\r\n,.;})]))/,lookbehind:!0,greedy:!0},keyword:/(?:=>|->)|\b(?:case|catch|class|else|exit|finally|if|raise|return|switch|try)\b/,builtin:/@|\bSystem\b/,boolean:/\b(?:false|true)\b/,date:/\b\d{4}-\d{2}-\d{2}\b/,time:/\b\d{2}:\d{2}:\d{2}\b/,datetime:/\b\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\b/,symbol:/:[^\d\s`'",.:;#\/\\()<>\[\]{}][^\s`'",.:;#\/\\()<>\[\]{}]*/,number:/[+-]?\b(?:\d+\.\d+|\d+)\b/,punctuation:/(?:\.{2,3})|[`,.:;=\/\\()<>\[\]{}]/,reference:/[^\d\s`'",.:;#\/\\()<>\[\]{}][^\s`'",.:;#\/\\()<>\[\]{}]*/}}function Wf(e){e.languages.roboconf={comment:/#.*/,keyword:{pattern:/(^|\s)(?:(?:external|import)\b|(?:facet|instance of)(?=[ \t]+[\w-]+[ \t]*\{))/,lookbehind:!0},component:{pattern:/[\w-]+(?=[ \t]*\{)/,alias:"variable"},property:/[\w.-]+(?=[ \t]*:)/,value:{pattern:/(=[ \t]*(?![ \t]))[^,;]+/,lookbehind:!0,alias:"attr-value"},optional:{pattern:/\(optional\)/,alias:"builtin"},wildcard:{pattern:/(\.)\*/,lookbehind:!0,alias:"operator"},punctuation:/[{},.;:=]/}}function Vf(e){!function(e){var t={pattern:/(^[ \t]*| {2}|\t)#.*/m,lookbehind:!0,greedy:!0},n={pattern:/((?:^|[^\\])(?:\\{2})*)[$@&%]\{(?:[^{}\r\n]|\{[^{}\r\n]*\})*\}/,lookbehind:!0,inside:{punctuation:/^[$@&%]\{|\}$/}};function r(e,r){var i={"section-header":{pattern:/^ ?\*{3}.+?\*{3}/,alias:"keyword"}};for(var o in r)i[o]=r[o];return i.tag={pattern:/([\r\n](?: {2}|\t)[ \t]*)\[[-\w]+\]/,lookbehind:!0,inside:{punctuation:/\[|\]/}},i.variable=n,i.comment=t,{pattern:RegExp(/^ ?\*{3}[ \t]*<name>[ \t]*\*{3}(?:.|[\r\n](?!\*{3}))*/.source.replace(/<name>/g,(function(){return e})),"im"),alias:"section",inside:i}}var i={pattern:/(\[Documentation\](?: {2}|\t)[ \t]*)(?![ \t]|#)(?:.|(?:\r\n?|\n)[ \t]*\.{3})+/,lookbehind:!0,alias:"string"},o={pattern:/([\r\n] ?)(?!#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0,alias:"function",inside:{variable:n}},a={pattern:/([\r\n](?: {2}|\t)[ \t]*)(?!\[|\.{3}|#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0,inside:{variable:n}};e.languages.robotframework={settings:r("Settings",{documentation:{pattern:/([\r\n] ?Documentation(?: {2}|\t)[ \t]*)(?![ \t]|#)(?:.|(?:\r\n?|\n)[ \t]*\.{3})+/,lookbehind:!0,alias:"string"},property:{pattern:/([\r\n] ?)(?!\.{3}|#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0}}),variables:r("Variables"),"test-cases":r("Test Cases",{"test-name":o,documentation:i,property:a}),keywords:r("Keywords",{"keyword-name":o,documentation:i,property:a}),tasks:r("Tasks",{"task-name":o,documentation:i,property:a}),comment:t},e.languages.robot=e.languages.robotframework}(e)}function Kf(e){!function(e){var t=/(?:"(?:""|[^"])*"(?!")|'(?:''|[^'])*'(?!'))/.source,n=/\b(?:\d[\da-f]*x|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,r={pattern:RegExp(t+"[bx]"),alias:"number"},i={pattern:/&[a-z_]\w*/i},o={pattern:/((?:^|\s|=|\())%(?:ABORT|BY|CMS|COPY|DISPLAY|DO|ELSE|END|EVAL|GLOBAL|GO|GOTO|IF|INC|INCLUDE|INDEX|INPUT|KTRIM|LENGTH|LET|LIST|LOCAL|PUT|QKTRIM|QSCAN|QSUBSTR|QSYSFUNC|QUPCASE|RETURN|RUN|SCAN|SUBSTR|SUPERQ|SYMDEL|SYMEXIST|SYMGLOBL|SYMLOCAL|SYSCALL|SYSEVALF|SYSEXEC|SYSFUNC|SYSGET|SYSRPUT|THEN|TO|TSO|UNQUOTE|UNTIL|UPCASE|WHILE|WINDOW)\b/i,lookbehind:!0,alias:"keyword"},a={pattern:/(^|\s)(?:proc\s+\w+|data(?!=)|quit|run)\b/i,alias:"keyword",lookbehind:!0},s=[/\/\*[\s\S]*?\*\//,{pattern:/(^[ \t]*|;\s*)\*[^;]*;/m,lookbehind:!0}],l={pattern:RegExp(t),greedy:!0},c=/[$%@.(){}\[\];,\\]/,u={pattern:/%?\b\w+(?=\()/,alias:"keyword"},h={function:u,"arg-value":{pattern:/(=\s*)[A-Z\.]+/i,lookbehind:!0},operator:/=/,"macro-variable":i,arg:{pattern:/[A-Z]+/i,alias:"keyword"},number:n,"numeric-constant":r,punctuation:c,string:l},p={pattern:/\b(?:format|put)\b=?[\w'$.]+/i,inside:{keyword:/^(?:format|put)(?==)/i,equals:/=/,format:{pattern:/(?:\w|\$\d)+\.\d?/,alias:"number"}}},d={pattern:/\b(?:format|put)\s+[\w']+(?:\s+[$.\w]+)+(?=;)/i,inside:{keyword:/^(?:format|put)/i,format:{pattern:/[\w$]+\.\d?/,alias:"number"}}},f={pattern:/((?:^|\s)=?)(?:catname|checkpoint execute_always|dm|endsas|filename|footnote|%include|libname|%list|lock|missing|options|page|resetline|%run|sasfile|skip|sysecho|title\d?)\b/i,lookbehind:!0,alias:"keyword"},m={pattern:/(^|\s)(?:submit(?:\s+(?:load|norun|parseonly))?|endsubmit)\b/i,lookbehind:!0,alias:"keyword"},g=/aStore|accessControl|aggregation|audio|autotune|bayesianNetClassifier|bioMedImage|boolRule|builtins|cardinality|cdm|clustering|conditionalRandomFields|configuration|copula|countreg|dataDiscovery|dataPreprocess|dataSciencePilot|dataStep|decisionTree|deduplication|deepLearn|deepNeural|deepRnn|ds2|ecm|entityRes|espCluster|explainModel|factmac|fastKnn|fcmpact|fedSql|freqTab|gVarCluster|gam|gleam|graphSemiSupLearn|hiddenMarkovModel|hyperGroup|ica|image|iml|kernalPca|langModel|ldaTopic|loadStreams|mbc|mixed|mlTools|modelPublishing|network|neuralNet|nmf|nonParametricBayes|nonlinear|optNetwork|optimization|panel|pca|percentile|phreg|pls|qkb|qlim|quantreg|recommend|regression|reinforcementLearn|robustPca|ruleMining|sampling|sandwich|sccasl|search(?:Analytics)?|sentimentAnalysis|sequence|session(?:Prop)?|severity|simSystem|simple|smartData|sparkEmbeddedProcess|sparseML|spatialreg|spc|stabilityMonitoring|svDataDescription|svm|table|text(?:Filters|Frequency|Mining|Parse|Rule(?:Develop|Score)|Topic|Util)|timeData|transpose|tsInfo|tsReconcile|uniTimeSeries|varReduce/.source,y={pattern:RegExp(/(^|\s)(?:action\s+)?(?:<act>)\.[a-z]+\b[^;]+/.source.replace(/<act>/g,(function(){return g})),"i"),lookbehind:!0,inside:{keyword:RegExp(/(?:<act>)\.[a-z]+\b/.source.replace(/<act>/g,(function(){return g})),"i"),action:{pattern:/(?:action)/i,alias:"keyword"},comment:s,function:u,"arg-value":h["arg-value"],operator:h.operator,argument:h.arg,number:n,"numeric-constant":r,punctuation:c,string:l}},v={pattern:/((?:^|\s)=?)(?:after|analysis|and|array|barchart|barwidth|begingraph|by|call|cas|cbarline|cfill|class(?:lev)?|close|column|computed?|contains|continue|data(?==)|define|delete|describe|document|do\s+over|do|dol|drop|dul|else|end(?:comp|source)?|entryTitle|eval(?:uate)?|exec(?:ute)?|exit|file(?:name)?|fill(?:attrs)?|flist|fnc|function(?:list)?|global|goto|group(?:by)?|headline|headskip|histogram|if|infile|keep|keylabel|keyword|label|layout|leave|legendlabel|length|libname|loadactionset|merge|midpoints|_?null_|name|noobs|nowd|ods|options|or|otherwise|out(?:put)?|over(?:lay)?|plot|print|put|raise|ranexp|rannor|rbreak|retain|return|select|session|sessref|set|source|statgraph|sum|summarize|table|temp|terminate|then\s+do|then|title\d?|to|var|when|where|xaxisopts|y2axisopts|yaxisopts)\b/i,lookbehind:!0};e.languages.sas={datalines:{pattern:/^([ \t]*)(?:cards|(?:data)?lines);[\s\S]+?^[ \t]*;/im,lookbehind:!0,alias:"string",inside:{keyword:{pattern:/^(?:cards|(?:data)?lines)/i},punctuation:/;/}},"proc-sql":{pattern:/(^proc\s+(?:fed)?sql(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{sql:{pattern:RegExp(/^[ \t]*(?:select|alter\s+table|(?:create|describe|drop)\s+(?:index|table(?:\s+constraints)?|view)|create\s+unique\s+index|insert\s+into|update)(?:<str>|[^;"'])+;/.source.replace(/<str>/g,(function(){return t})),"im"),alias:"language-sql",inside:e.languages.sql},"global-statements":f,"sql-statements":{pattern:/(^|\s)(?:disconnect\s+from|begin|commit|exec(?:ute)?|reset|rollback|validate)\b/i,lookbehind:!0,alias:"keyword"},number:n,"numeric-constant":r,punctuation:c,string:l}},"proc-groovy":{pattern:/(^proc\s+groovy(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:s,groovy:{pattern:RegExp(/(^[ \t]*submit(?:\s+(?:load|norun|parseonly))?)(?:<str>|[^"'])+?(?=endsubmit;)/.source.replace(/<str>/g,(function(){return t})),"im"),lookbehind:!0,alias:"language-groovy",inside:e.languages.groovy},keyword:v,"submit-statement":m,"global-statements":f,number:n,"numeric-constant":r,punctuation:c,string:l}},"proc-lua":{pattern:/(^proc\s+lua(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:s,lua:{pattern:RegExp(/(^[ \t]*submit(?:\s+(?:load|norun|parseonly))?)(?:<str>|[^"'])+?(?=endsubmit;)/.source.replace(/<str>/g,(function(){return t})),"im"),lookbehind:!0,alias:"language-lua",inside:e.languages.lua},keyword:v,"submit-statement":m,"global-statements":f,number:n,"numeric-constant":r,punctuation:c,string:l}},"proc-cas":{pattern:/(^proc\s+cas(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|quit|data);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:s,"statement-var":{pattern:/((?:^|\s)=?)saveresult\s[^;]+/im,lookbehind:!0,inside:{statement:{pattern:/^saveresult\s+\S+/i,inside:{keyword:/^(?:saveresult)/i}},rest:h}},"cas-actions":y,statement:{pattern:/((?:^|\s)=?)(?:default|(?:un)?set|on|output|upload)[^;]+/im,lookbehind:!0,inside:h},step:a,keyword:v,function:u,format:p,altformat:d,"global-statements":f,number:n,"numeric-constant":r,punctuation:c,string:l}},"proc-args":{pattern:RegExp(/(^proc\s+\w+\s+)(?!\s)(?:[^;"']|<str>)+;/.source.replace(/<str>/g,(function(){return t})),"im"),lookbehind:!0,inside:h},"macro-keyword":o,"macro-variable":i,"macro-string-functions":{pattern:/((?:^|\s|=))%(?:BQUOTE|NRBQUOTE|NRQUOTE|NRSTR|QUOTE|STR)\(.*?(?:[^%]\))/i,lookbehind:!0,inside:{function:{pattern:/%(?:BQUOTE|NRBQUOTE|NRQUOTE|NRSTR|QUOTE|STR)/i,alias:"keyword"},"macro-keyword":o,"macro-variable":i,"escaped-char":{pattern:/%['"()<>=¬^~;,#]/},punctuation:c}},"macro-declaration":{pattern:/^%macro[^;]+(?=;)/im,inside:{keyword:/%macro/i}},"macro-end":{pattern:/^%mend[^;]+(?=;)/im,inside:{keyword:/%mend/i}},macro:{pattern:/%_\w+(?=\()/,alias:"keyword"},input:{pattern:/\binput\s[-\w\s/*.$&]+;/i,inside:{input:{alias:"keyword",pattern:/^input/i},comment:s,number:n,"numeric-constant":r}},"options-args":{pattern:/(^options)[-'"|/\\<>*+=:()\w\s]*(?=;)/im,lookbehind:!0,inside:h},"cas-actions":y,comment:s,function:u,format:p,altformat:d,"numeric-constant":r,datetime:{pattern:RegExp(t+"(?:dt?|t)"),alias:"number"},string:l,step:a,keyword:v,"operator-keyword":{pattern:/\b(?:eq|ge|gt|in|le|lt|ne|not)\b/i,alias:"operator"},number:n,operator:/\*\*?|\|\|?|!!?|¦¦?|<[>=]?|>[<=]?|[-+\/=&]|[~¬^]=?/,punctuation:c}}(e)}function qf(e){e.register(Qc),function(e){var t=[/"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/.source,/'[^']*'/.source,/\$'(?:[^'\\]|\\[\s\S])*'/.source,/<<-?\s*(["']?)(\w+)\1\s[\s\S]*?[\r\n]\2/.source].join("|");e.languages["shell-session"]={command:{pattern:RegExp(/^/.source+"(?:"+/[^\s@:$#%*!/\\]+@[^\r\n@:$#%*!/\\]+(?::[^\0-\x1F$#%*?"<>:;|]+)?/.source+"|"+/[/~.][^\0-\x1F$#%*?"<>@:;|]*/.source+")?"+/[$#%](?=\s)/.source+/(?:[^\\\r\n \t'"<$]|[ \t](?:(?!#)|#.*$)|\\(?:[^\r]|\r\n?)|\$(?!')|<(?!<)|<<str>>)+/.source.replace(/<<str>>/g,(function(){return t})),"m"),greedy:!0,inside:{info:{pattern:/^[^#$%]+/,alias:"punctuation",inside:{user:/^[^\s@:$#%*!/\\]+@[^\r\n@:$#%*!/\\]+/,punctuation:/:/,path:/[\s\S]+/}},bash:{pattern:/(^[$#%]\s*)\S[\s\S]*/,lookbehind:!0,alias:"language-bash",inside:e.languages.bash},"shell-symbol":{pattern:/^[$#%]/,alias:"important"}}},output:/.(?:.*(?:[\r\n]|.$))*/},e.languages["sh-session"]=e.languages.shellsession=e.languages["shell-session"]}(e)}function Xf(e){e.languages.smali={comment:/#.*/,string:{pattern:/"(?:[^\r\n\\"]|\\.)*"|'(?:[^\r\n\\']|\\(?:.|u[\da-fA-F]{4}))'/,greedy:!0},"class-name":{pattern:/(^|[^L])L(?:(?:\w+|`[^`\r\n]*`)\/)*(?:[\w$]+|`[^`\r\n]*`)(?=\s*;)/,lookbehind:!0,inside:{"class-name":{pattern:/(^L|\/)(?:[\w$]+|`[^`\r\n]*`)$/,lookbehind:!0},namespace:{pattern:/^(L)(?:(?:\w+|`[^`\r\n]*`)\/)+/,lookbehind:!0,inside:{punctuation:/\//}},builtin:/^L/}},builtin:[{pattern:/([();\[])[BCDFIJSVZ]+/,lookbehind:!0},{pattern:/([\w$>]:)[BCDFIJSVZ]/,lookbehind:!0}],keyword:[{pattern:/(\.end\s+)[\w-]+/,lookbehind:!0},{pattern:/(^|[^\w.-])\.(?!\d)[\w-]+/,lookbehind:!0},{pattern:/(^|[^\w.-])(?:abstract|annotation|bridge|constructor|enum|final|interface|private|protected|public|runtime|static|synthetic|system|transient)(?![\w.-])/,lookbehind:!0}],function:{pattern:/(^|[^\w.-])(?:\w+|<[\w$-]+>)(?=\()/,lookbehind:!0},field:{pattern:/[\w$]+(?=:)/,alias:"variable"},register:{pattern:/(^|[^\w.-])[vp]\d(?![\w.-])/,lookbehind:!0,alias:"variable"},boolean:{pattern:/(^|[^\w.-])(?:false|true)(?![\w.-])/,lookbehind:!0},number:{pattern:/(^|[^/\w.-])-?(?:NAN|INFINITY|0x(?:[\dA-F]+(?:\.[\dA-F]*)?|\.[\dA-F]+)(?:p[+-]?[\dA-F]+)?|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?)[dflst]?(?![\w.-])/i,lookbehind:!0},label:{pattern:/(:)\w+/,lookbehind:!0,alias:"property"},operator:/->|\.\.|[\[=]/,punctuation:/[{}(),;:]/}}function Zf(e){e.languages.smalltalk={comment:{pattern:/"(?:""|[^"])*"/,greedy:!0},char:{pattern:/\$./,greedy:!0},string:{pattern:/'(?:''|[^'])*'/,greedy:!0},symbol:/#[\da-z]+|#(?:-|([+\/\\*~<>=@%|&?!])\1?)|#(?=\()/i,"block-arguments":{pattern:/(\[\s*):[^\[|]*\|/,lookbehind:!0,inside:{variable:/:[\da-z]+/i,punctuation:/\|/}},"temporary-variables":{pattern:/\|[^|]+\|/,inside:{variable:/[\da-z]+/i,punctuation:/\|/}},keyword:/\b(?:new|nil|self|super)\b/,boolean:/\b(?:false|true)\b/,number:[/\d+r-?[\dA-Z]+(?:\.[\dA-Z]+)?(?:e-?\d+)?/,/\b\d+(?:\.\d+)?(?:e-?\d+)?/],operator:/[<=]=?|:=|~[~=]|\/\/?|\\\\|>[>=]?|[!^+\-*&|,@]/,punctuation:/[.;:?\[\](){}]/}}function Qf(e){e.register(yu),function(e){e.languages.smarty={comment:{pattern:/^\{\*[\s\S]*?\*\}/,greedy:!0},"embedded-php":{pattern:/^\{php\}[\s\S]*?\{\/php\}/,greedy:!0,inside:{smarty:{pattern:/^\{php\}|\{\/php\}$/,inside:null},php:{pattern:/[\s\S]+/,alias:"language-php",inside:e.languages.php}}},string:[{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0,inside:{interpolation:{pattern:/\{[^{}]*\}|`[^`]*`/,inside:{"interpolation-punctuation":{pattern:/^[{`]|[`}]$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:null}}},variable:/\$\w+/}},{pattern:/'(?:\\.|[^'\\\r\n])*'/,greedy:!0}],keyword:{pattern:/(^\{\/?)[a-z_]\w*\b(?!\()/i,lookbehind:!0,greedy:!0},delimiter:{pattern:/^\{\/?|\}$/,greedy:!0,alias:"punctuation"},number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,variable:[/\$(?!\d)\w+/,/#(?!\d)\w+#/,{pattern:/(\.|->|\w\s*=)(?!\d)\w+\b(?!\()/,lookbehind:!0},{pattern:/(\[)(?!\d)\w+(?=\])/,lookbehind:!0}],function:{pattern:/(\|\s*)@?[a-z_]\w*|\b[a-z_]\w*(?=\()/i,lookbehind:!0},"attr-name":/\b[a-z_]\w*(?=\s*=)/i,boolean:/\b(?:false|no|off|on|true|yes)\b/,punctuation:/[\[\](){}.,:`]|->/,operator:[/[+\-*\/%]|==?=?|[!<>]=?|&&|\|\|?/,/\bis\s+(?:not\s+)?(?:div|even|odd)(?:\s+by)?\b/,/\b(?:and|eq|gt?e|gt|lt?e|lt|mod|neq?|not|or)\b/]},e.languages.smarty["embedded-php"].inside.smarty.inside=e.languages.smarty,e.languages.smarty.string[0].inside.interpolation.inside.expression.inside=e.languages.smarty;var t=/"(?:\\.|[^"\\\r\n])*"|'(?:\\.|[^'\\\r\n])*'/,n=RegExp(/\{\*[\s\S]*?\*\}/.source+"|"+/\{php\}[\s\S]*?\{\/php\}/.source+"|"+/\{(?:[^{}"']|<str>|\{(?:[^{}"']|<str>|\{(?:[^{}"']|<str>)*\})*\})*\}/.source.replace(/<str>/g,(function(){return t.source})),"g");e.hooks.add("before-tokenize",(function(t){var r=!1;e.languages["markup-templating"].buildPlaceholders(t,"smarty",n,(function(e){return"{/literal}"===e&&(r=!1),!r&&("{literal}"===e&&(r=!0),!0)}))})),e.hooks.add("after-tokenize",(function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"smarty")}))}(e)}function Jf(e){!function(e){var t=/\b(?:abstype|and|andalso|as|case|datatype|do|else|end|eqtype|exception|fn|fun|functor|handle|if|in|include|infix|infixr|let|local|nonfix|of|op|open|orelse|raise|rec|sharing|sig|signature|struct|structure|then|type|val|where|while|with|withtype)\b/i;e.languages.sml={comment:/\(\*(?:[^*(]|\*(?!\))|\((?!\*)|\(\*(?:[^*(]|\*(?!\))|\((?!\*))*\*\))*\*\)/,string:{pattern:/#?"(?:[^"\\]|\\.)*"/,greedy:!0},"class-name":[{pattern:RegExp(/((?:^|[^:]):\s*)<TERMINAL>(?:\s*(?:(?:\*|->)\s*<TERMINAL>|,\s*<TERMINAL>(?:(?=<NOT-LAST>)|(?!<NOT-LAST>)\s+<LONG-ID>)))*/.source.replace(/<NOT-LAST>/g,(function(){return/\s*(?:[*,]|->)/.source})).replace(/<TERMINAL>/g,(function(){return/(?:'[\w']*|<LONG-ID>|\((?:[^()]|\([^()]*\))*\)|\{(?:[^{}]|\{[^{}]*\})*\})(?:\s+<LONG-ID>)*/.source})).replace(/<LONG-ID>/g,(function(){return/(?!<KEYWORD>)[a-z\d_][\w'.]*/.source})).replace(/<KEYWORD>/g,(function(){return t.source})),"i"),lookbehind:!0,greedy:!0,inside:null},{pattern:/((?:^|[^\w'])(?:datatype|exception|functor|signature|structure|type)\s+)[a-z_][\w'.]*/i,lookbehind:!0}],function:{pattern:/((?:^|[^\w'])fun\s+)[a-z_][\w'.]*/i,lookbehind:!0},keyword:t,variable:{pattern:/(^|[^\w'])'[\w']*/,lookbehind:!0},number:/~?\b(?:\d+(?:\.\d+)?(?:e~?\d+)?|0x[\da-f]+)\b/i,word:{pattern:/\b0w(?:\d+|x[\da-f]+)\b/i,alias:"constant"},boolean:/\b(?:false|true)\b/i,operator:/\.\.\.|:[>=:]|=>?|->|[<>]=?|[!+\-*/^#|@~]/,punctuation:/[(){}\[\].:,;]/},e.languages.sml["class-name"][0].inside=e.languages.sml,e.languages.smlnj=e.languages.sml}(e)}function em(e){e.register(Kc),e.languages.solidity=e.languages.extend("clike",{"class-name":{pattern:/(\b(?:contract|enum|interface|library|new|struct|using)\s+)(?!\d)[\w$]+/,lookbehind:!0},keyword:/\b(?:_|anonymous|as|assembly|assert|break|calldata|case|constant|constructor|continue|contract|default|delete|do|else|emit|enum|event|external|for|from|function|if|import|indexed|inherited|interface|internal|is|let|library|mapping|memory|modifier|new|payable|pragma|private|public|pure|require|returns?|revert|selfdestruct|solidity|storage|struct|suicide|switch|this|throw|using|var|view|while)\b/,operator:/=>|->|:=|=:|\*\*|\+\+|--|\|\||&&|<<=?|>>=?|[-+*/%^&|<>!=]=?|[~?]/}),e.languages.insertBefore("solidity","keyword",{builtin:/\b(?:address|bool|byte|u?int(?:8|16|24|32|40|48|56|64|72|80|88|96|104|112|120|128|136|144|152|160|168|176|184|192|200|208|216|224|232|240|248|256)?|string|bytes(?:[1-9]|[12]\d|3[0-2])?)\b/}),e.languages.insertBefore("solidity","number",{version:{pattern:/([<>]=?|\^)\d+\.\d+\.\d+\b/,lookbehind:!0,alias:"number"}}),e.languages.sol=e.languages.solidity}function tm(e){!function(e){var t={pattern:/\{[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}\}/i,alias:"constant",inside:{punctuation:/[{}]/}};e.languages["solution-file"]={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0,inside:{guid:t}},object:{pattern:/^([ \t]*)(?:([A-Z]\w*)\b(?=.*(?:\r\n?|\n)(?:\1[ \t].*(?:\r\n?|\n))*\1End\2(?=[ \t]*$))|End[A-Z]\w*(?=[ \t]*$))/m,lookbehind:!0,greedy:!0,alias:"keyword"},property:{pattern:/^([ \t]*)(?!\s)[^\r\n"#=()]*[^\s"#=()](?=\s*=)/m,lookbehind:!0,inside:{guid:t}},guid:t,number:/\b\d+(?:\.\d+)*\b/,boolean:/\b(?:FALSE|TRUE)\b/,operator:/=/,punctuation:/[(),]/},e.languages.sln=e.languages["solution-file"]}(e)}function nm(e){e.register(yu),function(e){var t=/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,n=/\b\d+(?:\.\d+)?(?:[eE][+-]?\d+)?\b|\b0x[\dA-F]+\b/;e.languages.soy={comment:[/\/\*[\s\S]*?\*\//,{pattern:/(\s)\/\/.*/,lookbehind:!0,greedy:!0}],"command-arg":{pattern:/(\{+\/?\s*(?:alias|call|delcall|delpackage|deltemplate|namespace|template)\s+)\.?[\w.]+/,lookbehind:!0,alias:"string",inside:{punctuation:/\./}},parameter:{pattern:/(\{+\/?\s*@?param\??\s+)\.?[\w.]+/,lookbehind:!0,alias:"variable"},keyword:[{pattern:/(\{+\/?[^\S\r\n]*)(?:\\[nrt]|alias|call|case|css|default|delcall|delpackage|deltemplate|else(?:if)?|fallbackmsg|for(?:each)?|if(?:empty)?|lb|let|literal|msg|namespace|nil|@?param\??|rb|sp|switch|template|xid)/,lookbehind:!0},/\b(?:any|as|attributes|bool|css|float|html|in|int|js|list|map|null|number|string|uri)\b/],delimiter:{pattern:/^\{+\/?|\/?\}+$/,alias:"punctuation"},property:/\w+(?==)/,variable:{pattern:/\$[^\W\d]\w*(?:\??(?:\.\w+|\[[^\]]+\]))*/,inside:{string:{pattern:t,greedy:!0},number:n,punctuation:/[\[\].?]/}},string:{pattern:t,greedy:!0},function:[/\w+(?=\()/,{pattern:/(\|[^\S\r\n]*)\w+/,lookbehind:!0}],boolean:/\b(?:false|true)\b/,number:n,operator:/\?:?|<=?|>=?|==?|!=|[+*/%-]|\b(?:and|not|or)\b/,punctuation:/[{}()\[\]|.,:]/},e.hooks.add("before-tokenize",(function(t){var n=!1;e.languages["markup-templating"].buildPlaceholders(t,"soy",/\{\{.+?\}\}|\{.+?\}|\s\/\/.*|\/\*[\s\S]*?\*\//g,(function(e){return"{/literal}"===e&&(n=!1),!n&&("{literal}"===e&&(n=!0),!0)}))})),e.hooks.add("after-tokenize",(function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"soy")}))}(e)}function rm(e){e.languages.turtle={comment:{pattern:/#.*/,greedy:!0},"multiline-string":{pattern:/"""(?:(?:""?)?(?:[^"\\]|\\.))*"""|'''(?:(?:''?)?(?:[^'\\]|\\.))*'''/,greedy:!0,alias:"string",inside:{comment:/#.*/}},string:{pattern:/"(?:[^\\"\r\n]|\\.)*"|'(?:[^\\'\r\n]|\\.)*'/,greedy:!0},url:{pattern:/<(?:[^\x00-\x20<>"{}|^`\\]|\\(?:u[\da-fA-F]{4}|U[\da-fA-F]{8}))*>/,greedy:!0,inside:{punctuation:/[<>]/}},function:{pattern:/(?:(?![-.\d\xB7])[-.\w\xB7\xC0-\uFFFD]+)?:(?:(?![-.])(?:[-.:\w\xC0-\uFFFD]|%[\da-f]{2}|\\.)+)?/i,inside:{"local-name":{pattern:/([^:]*:)[\s\S]+/,lookbehind:!0},prefix:{pattern:/[\s\S]+/,inside:{punctuation:/:/}}}},number:/[+-]?\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,punctuation:/[{}.,;()[\]]|\^\^/,boolean:/\b(?:false|true)\b/,keyword:[/(?:\ba|@prefix|@base)\b|=/,/\b(?:base|graph|prefix)\b/i],tag:{pattern:/@[a-z]+(?:-[a-z\d]+)*/i,inside:{punctuation:/@/}}},e.languages.trig=e.languages.turtle}function im(e){e.register(rm),e.languages.sparql=e.languages.extend("turtle",{boolean:/\b(?:false|true)\b/i,variable:{pattern:/[?$]\w+/,greedy:!0}}),e.languages.insertBefore("sparql","punctuation",{keyword:[/\b(?:A|ADD|ALL|AS|ASC|ASK|BNODE|BY|CLEAR|CONSTRUCT|COPY|CREATE|DATA|DEFAULT|DELETE|DESC|DESCRIBE|DISTINCT|DROP|EXISTS|FILTER|FROM|GROUP|HAVING|INSERT|INTO|LIMIT|LOAD|MINUS|MOVE|NAMED|NOT|NOW|OFFSET|OPTIONAL|ORDER|RAND|REDUCED|SELECT|SEPARATOR|SERVICE|SILENT|STRUUID|UNION|USING|UUID|VALUES|WHERE)\b/i,/\b(?:ABS|AVG|BIND|BOUND|CEIL|COALESCE|CONCAT|CONTAINS|COUNT|DATATYPE|DAY|ENCODE_FOR_URI|FLOOR|GROUP_CONCAT|HOURS|IF|IRI|isBLANK|isIRI|isLITERAL|isNUMERIC|isURI|LANG|LANGMATCHES|LCASE|MAX|MD5|MIN|MINUTES|MONTH|REGEX|REPLACE|ROUND|sameTerm|SAMPLE|SECONDS|SHA1|SHA256|SHA384|SHA512|STR|STRAFTER|STRBEFORE|STRDT|STRENDS|STRLANG|STRLEN|STRSTARTS|SUBSTR|SUM|TIMEZONE|TZ|UCASE|URI|YEAR)\b(?=\s*\()/i,/\b(?:BASE|GRAPH|PREFIX)\b/i]}),e.languages.rq=e.languages.sparql}function om(e){e.languages["splunk-spl"]={comment:/`comment\("(?:\\.|[^\\"])*"\)`/,string:{pattern:/"(?:\\.|[^\\"])*"/,greedy:!0},keyword:/\b(?:abstract|accum|addcoltotals|addinfo|addtotals|analyzefields|anomalies|anomalousvalue|anomalydetection|append|appendcols|appendcsv|appendlookup|appendpipe|arules|associate|audit|autoregress|bin|bucket|bucketdir|chart|cluster|cofilter|collect|concurrency|contingency|convert|correlate|datamodel|dbinspect|dedup|delete|delta|diff|erex|eval|eventcount|eventstats|extract|fieldformat|fields|fieldsummary|filldown|fillnull|findtypes|folderize|foreach|format|from|gauge|gentimes|geom|geomfilter|geostats|head|highlight|history|iconify|input|inputcsv|inputlookup|iplocation|join|kmeans|kv|kvform|loadjob|localize|localop|lookup|makecontinuous|makemv|makeresults|map|mcollect|metadata|metasearch|meventcollect|mstats|multikv|multisearch|mvcombine|mvexpand|nomv|outlier|outputcsv|outputlookup|outputtext|overlap|pivot|predict|rangemap|rare|regex|relevancy|reltime|rename|replace|rest|return|reverse|rex|rtorder|run|savedsearch|script|scrub|search|searchtxn|selfjoin|sendemail|set|setfields|sichart|sirare|sistats|sitimechart|sitop|sort|spath|stats|strcat|streamstats|table|tags|tail|timechart|timewrap|top|transaction|transpose|trendline|tscollect|tstats|typeahead|typelearner|typer|union|uniq|untable|where|x11|xmlkv|xmlunescape|xpath|xyseries)\b/i,"operator-word":{pattern:/\b(?:and|as|by|not|or|xor)\b/i,alias:"operator"},function:/\b\w+(?=\s*\()/,property:/\b\w+(?=\s*=(?!=))/,date:{pattern:/\b\d{1,2}\/\d{1,2}\/\d{1,4}(?:(?::\d{1,2}){3})?\b/,alias:"number"},number:/\b\d+(?:\.\d+)?\b/,boolean:/\b(?:f|false|t|true)\b/i,operator:/[<>=]=?|[-+*/%|]/,punctuation:/[()[\],]/}}function am(e){e.register(Kc),e.languages.sqf=e.languages.extend("clike",{string:{pattern:/"(?:(?:"")?[^"])*"(?!")|'(?:[^'])*'/,greedy:!0},keyword:/\b(?:breakOut|breakTo|call|case|catch|default|do|echo|else|execFSM|execVM|exitWith|for|forEach|forEachMember|forEachMemberAgent|forEachMemberTeam|from|goto|if|nil|preprocessFile|preprocessFileLineNumbers|private|scopeName|spawn|step|switch|then|throw|to|try|while|with)\b/i,boolean:/\b(?:false|true)\b/i,function:/\b(?:abs|accTime|acos|action|actionIDs|actionKeys|actionKeysImages|actionKeysNames|actionKeysNamesArray|actionName|actionParams|activateAddons|activatedAddons|activateKey|add3DENConnection|add3DENEventHandler|add3DENLayer|addAction|addBackpack|addBackpackCargo|addBackpackCargoGlobal|addBackpackGlobal|addCamShake|addCuratorAddons|addCuratorCameraArea|addCuratorEditableObjects|addCuratorEditingArea|addCuratorPoints|addEditorObject|addEventHandler|addForce|addForceGeneratorRTD|addGoggles|addGroupIcon|addHandgunItem|addHeadgear|addItem|addItemCargo|addItemCargoGlobal|addItemPool|addItemToBackpack|addItemToUniform|addItemToVest|addLiveStats|addMagazine|addMagazineAmmoCargo|addMagazineCargo|addMagazineCargoGlobal|addMagazineGlobal|addMagazinePool|addMagazines|addMagazineTurret|addMenu|addMenuItem|addMissionEventHandler|addMPEventHandler|addMusicEventHandler|addOwnedMine|addPlayerScores|addPrimaryWeaponItem|addPublicVariableEventHandler|addRating|addResources|addScore|addScoreSide|addSecondaryWeaponItem|addSwitchableUnit|addTeamMember|addToRemainsCollector|addTorque|addUniform|addVehicle|addVest|addWaypoint|addWeapon|addWeaponCargo|addWeaponCargoGlobal|addWeaponGlobal|addWeaponItem|addWeaponPool|addWeaponTurret|admin|agent|agents|AGLToASL|aimedAtTarget|aimPos|airDensityCurveRTD|airDensityRTD|airplaneThrottle|airportSide|AISFinishHeal|alive|all3DENEntities|allAirports|allControls|allCurators|allCutLayers|allDead|allDeadMen|allDisplays|allGroups|allMapMarkers|allMines|allMissionObjects|allow3DMode|allowCrewInImmobile|allowCuratorLogicIgnoreAreas|allowDamage|allowDammage|allowFileOperations|allowFleeing|allowGetIn|allowSprint|allPlayers|allSimpleObjects|allSites|allTurrets|allUnits|allUnitsUAV|allVariables|ammo|ammoOnPylon|animate|animateBay|animateDoor|animatePylon|animateSource|animationNames|animationPhase|animationSourcePhase|animationState|append|apply|armoryPoints|arrayIntersect|asin|ASLToAGL|ASLToATL|assert|assignAsCargo|assignAsCargoIndex|assignAsCommander|assignAsDriver|assignAsGunner|assignAsTurret|assignCurator|assignedCargo|assignedCommander|assignedDriver|assignedGunner|assignedItems|assignedTarget|assignedTeam|assignedVehicle|assignedVehicleRole|assignItem|assignTeam|assignToAirport|atan|atan2|atg|ATLToASL|attachedObject|attachedObjects|attachedTo|attachObject|attachTo|attackEnabled|backpack|backpackCargo|backpackContainer|backpackItems|backpackMagazines|backpackSpaceFor|behaviour|benchmark|binocular|blufor|boundingBox|boundingBoxReal|boundingCenter|briefingName|buildingExit|buildingPos|buldozer_EnableRoadDiag|buldozer_IsEnabledRoadDiag|buldozer_LoadNewRoads|buldozer_reloadOperMap|buttonAction|buttonSetAction|cadetMode|callExtension|camCommand|camCommit|camCommitPrepared|camCommitted|camConstuctionSetParams|camCreate|camDestroy|cameraEffect|cameraEffectEnableHUD|cameraInterest|cameraOn|cameraView|campaignConfigFile|camPreload|camPreloaded|camPrepareBank|camPrepareDir|camPrepareDive|camPrepareFocus|camPrepareFov|camPrepareFovRange|camPreparePos|camPrepareRelPos|camPrepareTarget|camSetBank|camSetDir|camSetDive|camSetFocus|camSetFov|camSetFovRange|camSetPos|camSetRelPos|camSetTarget|camTarget|camUseNVG|canAdd|canAddItemToBackpack|canAddItemToUniform|canAddItemToVest|cancelSimpleTaskDestination|canFire|canMove|canSlingLoad|canStand|canSuspend|canTriggerDynamicSimulation|canUnloadInCombat|canVehicleCargo|captive|captiveNum|cbChecked|cbSetChecked|ceil|channelEnabled|cheatsEnabled|checkAIFeature|checkVisibility|civilian|className|clear3DENAttribute|clear3DENInventory|clearAllItemsFromBackpack|clearBackpackCargo|clearBackpackCargoGlobal|clearForcesRTD|clearGroupIcons|clearItemCargo|clearItemCargoGlobal|clearItemPool|clearMagazineCargo|clearMagazineCargoGlobal|clearMagazinePool|clearOverlay|clearRadio|clearVehicleInit|clearWeaponCargo|clearWeaponCargoGlobal|clearWeaponPool|clientOwner|closeDialog|closeDisplay|closeOverlay|collapseObjectTree|collect3DENHistory|collectiveRTD|combatMode|commandArtilleryFire|commandChat|commander|commandFire|commandFollow|commandFSM|commandGetOut|commandingMenu|commandMove|commandRadio|commandStop|commandSuppressiveFire|commandTarget|commandWatch|comment|commitOverlay|compile|compileFinal|completedFSM|composeText|configClasses|configFile|configHierarchy|configName|configNull|configProperties|configSourceAddonList|configSourceMod|configSourceModList|confirmSensorTarget|connectTerminalToUAV|controlNull|controlsGroupCtrl|copyFromClipboard|copyToClipboard|copyWaypoints|cos|count|countEnemy|countFriendly|countSide|countType|countUnknown|create3DENComposition|create3DENEntity|createAgent|createCenter|createDialog|createDiaryLink|createDiaryRecord|createDiarySubject|createDisplay|createGearDialog|createGroup|createGuardedPoint|createLocation|createMarker|createMarkerLocal|createMenu|createMine|createMissionDisplay|createMPCampaignDisplay|createSimpleObject|createSimpleTask|createSite|createSoundSource|createTask|createTeam|createTrigger|createUnit|createVehicle|createVehicleCrew|createVehicleLocal|crew|ctAddHeader|ctAddRow|ctClear|ctCurSel|ctData|ctFindHeaderRows|ctFindRowHeader|ctHeaderControls|ctHeaderCount|ctRemoveHeaders|ctRemoveRows|ctrlActivate|ctrlAddEventHandler|ctrlAngle|ctrlAutoScrollDelay|ctrlAutoScrollRewind|ctrlAutoScrollSpeed|ctrlChecked|ctrlClassName|ctrlCommit|ctrlCommitted|ctrlCreate|ctrlDelete|ctrlEnable|ctrlEnabled|ctrlFade|ctrlHTMLLoaded|ctrlIDC|ctrlIDD|ctrlMapAnimAdd|ctrlMapAnimClear|ctrlMapAnimCommit|ctrlMapAnimDone|ctrlMapCursor|ctrlMapMouseOver|ctrlMapScale|ctrlMapScreenToWorld|ctrlMapWorldToScreen|ctrlModel|ctrlModelDirAndUp|ctrlModelScale|ctrlParent|ctrlParentControlsGroup|ctrlPosition|ctrlRemoveAllEventHandlers|ctrlRemoveEventHandler|ctrlScale|ctrlSetActiveColor|ctrlSetAngle|ctrlSetAutoScrollDelay|ctrlSetAutoScrollRewind|ctrlSetAutoScrollSpeed|ctrlSetBackgroundColor|ctrlSetChecked|ctrlSetDisabledColor|ctrlSetEventHandler|ctrlSetFade|ctrlSetFocus|ctrlSetFont|ctrlSetFontH1|ctrlSetFontH1B|ctrlSetFontH2|ctrlSetFontH2B|ctrlSetFontH3|ctrlSetFontH3B|ctrlSetFontH4|ctrlSetFontH4B|ctrlSetFontH5|ctrlSetFontH5B|ctrlSetFontH6|ctrlSetFontH6B|ctrlSetFontHeight|ctrlSetFontHeightH1|ctrlSetFontHeightH2|ctrlSetFontHeightH3|ctrlSetFontHeightH4|ctrlSetFontHeightH5|ctrlSetFontHeightH6|ctrlSetFontHeightSecondary|ctrlSetFontP|ctrlSetFontPB|ctrlSetFontSecondary|ctrlSetForegroundColor|ctrlSetModel|ctrlSetModelDirAndUp|ctrlSetModelScale|ctrlSetPixelPrecision|ctrlSetPosition|ctrlSetScale|ctrlSetStructuredText|ctrlSetText|ctrlSetTextColor|ctrlSetTextColorSecondary|ctrlSetTextSecondary|ctrlSetTooltip|ctrlSetTooltipColorBox|ctrlSetTooltipColorShade|ctrlSetTooltipColorText|ctrlShow|ctrlShown|ctrlText|ctrlTextHeight|ctrlTextSecondary|ctrlTextWidth|ctrlType|ctrlVisible|ctRowControls|ctRowCount|ctSetCurSel|ctSetData|ctSetHeaderTemplate|ctSetRowTemplate|ctSetValue|ctValue|curatorAddons|curatorCamera|curatorCameraArea|curatorCameraAreaCeiling|curatorCoef|curatorEditableObjects|curatorEditingArea|curatorEditingAreaType|curatorMouseOver|curatorPoints|curatorRegisteredObjects|curatorSelected|curatorWaypointCost|current3DENOperation|currentChannel|currentCommand|currentMagazine|currentMagazineDetail|currentMagazineDetailTurret|currentMagazineTurret|currentMuzzle|currentNamespace|currentTask|currentTasks|currentThrowable|currentVisionMode|currentWaypoint|currentWeapon|currentWeaponMode|currentWeaponTurret|currentZeroing|cursorObject|cursorTarget|customChat|customRadio|cutFadeOut|cutObj|cutRsc|cutText|damage|date|dateToNumber|daytime|deActivateKey|debriefingText|debugFSM|debugLog|deg|delete3DENEntities|deleteAt|deleteCenter|deleteCollection|deleteEditorObject|deleteGroup|deleteGroupWhenEmpty|deleteIdentity|deleteLocation|deleteMarker|deleteMarkerLocal|deleteRange|deleteResources|deleteSite|deleteStatus|deleteTeam|deleteVehicle|deleteVehicleCrew|deleteWaypoint|detach|detectedMines|diag_activeMissionFSMs|diag_activeScripts|diag_activeSQFScripts|diag_activeSQSScripts|diag_captureFrame|diag_captureFrameToFile|diag_captureSlowFrame|diag_codePerformance|diag_drawMode|diag_dynamicSimulationEnd|diag_enable|diag_enabled|diag_fps|diag_fpsMin|diag_frameNo|diag_lightNewLoad|diag_list|diag_log|diag_logSlowFrame|diag_mergeConfigFile|diag_recordTurretLimits|diag_setLightNew|diag_tickTime|diag_toggle|dialog|diarySubjectExists|didJIP|didJIPOwner|difficulty|difficultyEnabled|difficultyEnabledRTD|difficultyOption|direction|directSay|disableAI|disableCollisionWith|disableConversation|disableDebriefingStats|disableMapIndicators|disableNVGEquipment|disableRemoteSensors|disableSerialization|disableTIEquipment|disableUAVConnectability|disableUserInput|displayAddEventHandler|displayCtrl|displayNull|displayParent|displayRemoveAllEventHandlers|displayRemoveEventHandler|displaySetEventHandler|dissolveTeam|distance|distance2D|distanceSqr|distributionRegion|do3DENAction|doArtilleryFire|doFire|doFollow|doFSM|doGetOut|doMove|doorPhase|doStop|doSuppressiveFire|doTarget|doWatch|drawArrow|drawEllipse|drawIcon|drawIcon3D|drawLine|drawLine3D|drawLink|drawLocation|drawPolygon|drawRectangle|drawTriangle|driver|drop|dynamicSimulationDistance|dynamicSimulationDistanceCoef|dynamicSimulationEnabled|dynamicSimulationSystemEnabled|east|edit3DENMissionAttributes|editObject|editorSetEventHandler|effectiveCommander|emptyPositions|enableAI|enableAIFeature|enableAimPrecision|enableAttack|enableAudioFeature|enableAutoStartUpRTD|enableAutoTrimRTD|enableCamShake|enableCaustics|enableChannel|enableCollisionWith|enableCopilot|enableDebriefingStats|enableDiagLegend|enableDynamicSimulation|enableDynamicSimulationSystem|enableEndDialog|enableEngineArtillery|enableEnvironment|enableFatigue|enableGunLights|enableInfoPanelComponent|enableIRLasers|enableMimics|enablePersonTurret|enableRadio|enableReload|enableRopeAttach|enableSatNormalOnDetail|enableSaving|enableSentences|enableSimulation|enableSimulationGlobal|enableStamina|enableStressDamage|enableTeamSwitch|enableTraffic|enableUAVConnectability|enableUAVWaypoints|enableVehicleCargo|enableVehicleSensor|enableWeaponDisassembly|endl|endLoadingScreen|endMission|engineOn|enginesIsOnRTD|enginesPowerRTD|enginesRpmRTD|enginesTorqueRTD|entities|environmentEnabled|estimatedEndServerTime|estimatedTimeLeft|evalObjectArgument|everyBackpack|everyContainer|exec|execEditorScript|exp|expectedDestination|exportJIPMessages|eyeDirection|eyePos|face|faction|fadeMusic|fadeRadio|fadeSound|fadeSpeech|failMission|fillWeaponsFromPool|find|findCover|findDisplay|findEditorObject|findEmptyPosition|findEmptyPositionReady|findIf|findNearestEnemy|finishMissionInit|finite|fire|fireAtTarget|firstBackpack|flag|flagAnimationPhase|flagOwner|flagSide|flagTexture|fleeing|floor|flyInHeight|flyInHeightASL|fog|fogForecast|fogParams|forceAddUniform|forceAtPositionRTD|forcedMap|forceEnd|forceFlagTexture|forceFollowRoad|forceGeneratorRTD|forceMap|forceRespawn|forceSpeed|forceWalk|forceWeaponFire|forceWeatherChange|forgetTarget|format|formation|formationDirection|formationLeader|formationMembers|formationPosition|formationTask|formatText|formLeader|freeLook|fromEditor|fuel|fullCrew|gearIDCAmmoCount|gearSlotAmmoCount|gearSlotData|get3DENActionState|get3DENAttribute|get3DENCamera|get3DENConnections|get3DENEntity|get3DENEntityID|get3DENGrid|get3DENIconsVisible|get3DENLayerEntities|get3DENLinesVisible|get3DENMissionAttribute|get3DENMouseOver|get3DENSelected|getAimingCoef|getAllEnvSoundControllers|getAllHitPointsDamage|getAllOwnedMines|getAllSoundControllers|getAmmoCargo|getAnimAimPrecision|getAnimSpeedCoef|getArray|getArtilleryAmmo|getArtilleryComputerSettings|getArtilleryETA|getAssignedCuratorLogic|getAssignedCuratorUnit|getBackpackCargo|getBleedingRemaining|getBurningValue|getCameraViewDirection|getCargoIndex|getCenterOfMass|getClientState|getClientStateNumber|getCompatiblePylonMagazines|getConnectedUAV|getContainerMaxLoad|getCursorObjectParams|getCustomAimCoef|getDammage|getDescription|getDir|getDirVisual|getDLCAssetsUsage|getDLCAssetsUsageByName|getDLCs|getDLCUsageTime|getEditorCamera|getEditorMode|getEditorObjectScope|getElevationOffset|getEngineTargetRpmRTD|getEnvSoundController|getFatigue|getFieldManualStartPage|getForcedFlagTexture|getFriend|getFSMVariable|getFuelCargo|getGroupIcon|getGroupIconParams|getGroupIcons|getHideFrom|getHit|getHitIndex|getHitPointDamage|getItemCargo|getMagazineCargo|getMarkerColor|getMarkerPos|getMarkerSize|getMarkerType|getMass|getMissionConfig|getMissionConfigValue|getMissionDLCs|getMissionLayerEntities|getMissionLayers|getModelInfo|getMousePosition|getMusicPlayedTime|getNumber|getObjectArgument|getObjectChildren|getObjectDLC|getObjectMaterials|getObjectProxy|getObjectTextures|getObjectType|getObjectViewDistance|getOxygenRemaining|getPersonUsedDLCs|getPilotCameraDirection|getPilotCameraPosition|getPilotCameraRotation|getPilotCameraTarget|getPlateNumber|getPlayerChannel|getPlayerScores|getPlayerUID|getPlayerUIDOld|getPos|getPosASL|getPosASLVisual|getPosASLW|getPosATL|getPosATLVisual|getPosVisual|getPosWorld|getPylonMagazines|getRelDir|getRelPos|getRemoteSensorsDisabled|getRepairCargo|getResolution|getRotorBrakeRTD|getShadowDistance|getShotParents|getSlingLoad|getSoundController|getSoundControllerResult|getSpeed|getStamina|getStatValue|getSuppression|getTerrainGrid|getTerrainHeightASL|getText|getTotalDLCUsageTime|getTrimOffsetRTD|getUnitLoadout|getUnitTrait|getUserMFDText|getUserMFDValue|getVariable|getVehicleCargo|getWeaponCargo|getWeaponSway|getWingsOrientationRTD|getWingsPositionRTD|getWPPos|glanceAt|globalChat|globalRadio|goggles|group|groupChat|groupFromNetId|groupIconSelectable|groupIconsVisible|groupId|groupOwner|groupRadio|groupSelectedUnits|groupSelectUnit|grpNull|gunner|gusts|halt|handgunItems|handgunMagazine|handgunWeapon|handsHit|hasInterface|hasPilotCamera|hasWeapon|hcAllGroups|hcGroupParams|hcLeader|hcRemoveAllGroups|hcRemoveGroup|hcSelected|hcSelectGroup|hcSetGroup|hcShowBar|hcShownBar|headgear|hideBody|hideObject|hideObjectGlobal|hideSelection|hint|hintC|hintCadet|hintSilent|hmd|hostMission|htmlLoad|HUDMovementLevels|humidity|image|importAllGroups|importance|in|inArea|inAreaArray|incapacitatedState|independent|inflame|inflamed|infoPanel|infoPanelComponentEnabled|infoPanelComponents|infoPanels|inGameUISetEventHandler|inheritsFrom|initAmbientLife|inPolygon|inputAction|inRangeOfArtillery|insertEditorObject|intersect|is3DEN|is3DENMultiplayer|isAbleToBreathe|isAgent|isAimPrecisionEnabled|isArray|isAutoHoverOn|isAutonomous|isAutoStartUpEnabledRTD|isAutotest|isAutoTrimOnRTD|isBleeding|isBurning|isClass|isCollisionLightOn|isCopilotEnabled|isDamageAllowed|isDedicated|isDLCAvailable|isEngineOn|isEqualTo|isEqualType|isEqualTypeAll|isEqualTypeAny|isEqualTypeArray|isEqualTypeParams|isFilePatchingEnabled|isFlashlightOn|isFlatEmpty|isForcedWalk|isFormationLeader|isGroupDeletedWhenEmpty|isHidden|isInRemainsCollector|isInstructorFigureEnabled|isIRLaserOn|isKeyActive|isKindOf|isLaserOn|isLightOn|isLocalized|isManualFire|isMarkedForCollection|isMultiplayer|isMultiplayerSolo|isNil|isNull|isNumber|isObjectHidden|isObjectRTD|isOnRoad|isPipEnabled|isPlayer|isRealTime|isRemoteExecuted|isRemoteExecutedJIP|isServer|isShowing3DIcons|isSimpleObject|isSprintAllowed|isStaminaEnabled|isSteamMission|isStreamFriendlyUIEnabled|isStressDamageEnabled|isText|isTouchingGround|isTurnedOut|isTutHintsEnabled|isUAVConnectable|isUAVConnected|isUIContext|isUniformAllowed|isVehicleCargo|isVehicleRadarOn|isVehicleSensorEnabled|isWalking|isWeaponDeployed|isWeaponRested|itemCargo|items|itemsWithMagazines|join|joinAs|joinAsSilent|joinSilent|joinString|kbAddDatabase|kbAddDatabaseTargets|kbAddTopic|kbHasTopic|kbReact|kbRemoveTopic|kbTell|kbWasSaid|keyImage|keyName|knowsAbout|land|landAt|landResult|language|laserTarget|lbAdd|lbClear|lbColor|lbColorRight|lbCurSel|lbData|lbDelete|lbIsSelected|lbPicture|lbPictureRight|lbSelection|lbSetColor|lbSetColorRight|lbSetCurSel|lbSetData|lbSetPicture|lbSetPictureColor|lbSetPictureColorDisabled|lbSetPictureColorSelected|lbSetPictureRight|lbSetPictureRightColor|lbSetPictureRightColorDisabled|lbSetPictureRightColorSelected|lbSetSelectColor|lbSetSelectColorRight|lbSetSelected|lbSetText|lbSetTextRight|lbSetTooltip|lbSetValue|lbSize|lbSort|lbSortByValue|lbText|lbTextRight|lbValue|leader|leaderboardDeInit|leaderboardGetRows|leaderboardInit|leaderboardRequestRowsFriends|leaderboardRequestRowsGlobal|leaderboardRequestRowsGlobalAroundUser|leaderboardsRequestUploadScore|leaderboardsRequestUploadScoreKeepBest|leaderboardState|leaveVehicle|libraryCredits|libraryDisclaimers|lifeState|lightAttachObject|lightDetachObject|lightIsOn|lightnings|limitSpeed|linearConversion|lineBreak|lineIntersects|lineIntersectsObjs|lineIntersectsSurfaces|lineIntersectsWith|linkItem|list|listObjects|listRemoteTargets|listVehicleSensors|ln|lnbAddArray|lnbAddColumn|lnbAddRow|lnbClear|lnbColor|lnbColorRight|lnbCurSelRow|lnbData|lnbDeleteColumn|lnbDeleteRow|lnbGetColumnsPosition|lnbPicture|lnbPictureRight|lnbSetColor|lnbSetColorRight|lnbSetColumnsPos|lnbSetCurSelRow|lnbSetData|lnbSetPicture|lnbSetPictureColor|lnbSetPictureColorRight|lnbSetPictureColorSelected|lnbSetPictureColorSelectedRight|lnbSetPictureRight|lnbSetText|lnbSetTextRight|lnbSetValue|lnbSize|lnbSort|lnbSortByValue|lnbText|lnbTextRight|lnbValue|load|loadAbs|loadBackpack|loadFile|loadGame|loadIdentity|loadMagazine|loadOverlay|loadStatus|loadUniform|loadVest|local|localize|locationNull|locationPosition|lock|lockCameraTo|lockCargo|lockDriver|locked|lockedCargo|lockedDriver|lockedTurret|lockIdentity|lockTurret|lockWP|log|logEntities|logNetwork|logNetworkTerminate|lookAt|lookAtPos|magazineCargo|magazines|magazinesAllTurrets|magazinesAmmo|magazinesAmmoCargo|magazinesAmmoFull|magazinesDetail|magazinesDetailBackpack|magazinesDetailUniform|magazinesDetailVest|magazinesTurret|magazineTurretAmmo|mapAnimAdd|mapAnimClear|mapAnimCommit|mapAnimDone|mapCenterOnCamera|mapGridPosition|markAsFinishedOnSteam|markerAlpha|markerBrush|markerColor|markerDir|markerPos|markerShape|markerSize|markerText|markerType|max|members|menuAction|menuAdd|menuChecked|menuClear|menuCollapse|menuData|menuDelete|menuEnable|menuEnabled|menuExpand|menuHover|menuPicture|menuSetAction|menuSetCheck|menuSetData|menuSetPicture|menuSetValue|menuShortcut|menuShortcutText|menuSize|menuSort|menuText|menuURL|menuValue|min|mineActive|mineDetectedBy|missionConfigFile|missionDifficulty|missionName|missionNamespace|missionStart|missionVersion|modelToWorld|modelToWorldVisual|modelToWorldVisualWorld|modelToWorldWorld|modParams|moonIntensity|moonPhase|morale|move|move3DENCamera|moveInAny|moveInCargo|moveInCommander|moveInDriver|moveInGunner|moveInTurret|moveObjectToEnd|moveOut|moveTime|moveTo|moveToCompleted|moveToFailed|musicVolume|name|nameSound|nearEntities|nearestBuilding|nearestLocation|nearestLocations|nearestLocationWithDubbing|nearestObject|nearestObjects|nearestTerrainObjects|nearObjects|nearObjectsReady|nearRoads|nearSupplies|nearTargets|needReload|netId|netObjNull|newOverlay|nextMenuItemIndex|nextWeatherChange|nMenuItems|numberOfEnginesRTD|numberToDate|objectCurators|objectFromNetId|objectParent|objNull|objStatus|onBriefingGear|onBriefingGroup|onBriefingNotes|onBriefingPlan|onBriefingTeamSwitch|onCommandModeChanged|onDoubleClick|onEachFrame|onGroupIconClick|onGroupIconOverEnter|onGroupIconOverLeave|onHCGroupSelectionChanged|onMapSingleClick|onPlayerConnected|onPlayerDisconnected|onPreloadFinished|onPreloadStarted|onShowNewObject|onTeamSwitch|openCuratorInterface|openDLCPage|openDSInterface|openMap|openSteamApp|openYoutubeVideo|opfor|orderGetIn|overcast|overcastForecast|owner|param|params|parseNumber|parseSimpleArray|parseText|parsingNamespace|particlesQuality|pi|pickWeaponPool|pitch|pixelGrid|pixelGridBase|pixelGridNoUIScale|pixelH|pixelW|playableSlotsNumber|playableUnits|playAction|playActionNow|player|playerRespawnTime|playerSide|playersNumber|playGesture|playMission|playMove|playMoveNow|playMusic|playScriptedMission|playSound|playSound3D|position|positionCameraToWorld|posScreenToWorld|posWorldToScreen|ppEffectAdjust|ppEffectCommit|ppEffectCommitted|ppEffectCreate|ppEffectDestroy|ppEffectEnable|ppEffectEnabled|ppEffectForceInNVG|precision|preloadCamera|preloadObject|preloadSound|preloadTitleObj|preloadTitleRsc|primaryWeapon|primaryWeaponItems|primaryWeaponMagazine|priority|processDiaryLink|processInitCommands|productVersion|profileName|profileNamespace|profileNameSteam|progressLoadingScreen|progressPosition|progressSetPosition|publicVariable|publicVariableClient|publicVariableServer|pushBack|pushBackUnique|putWeaponPool|queryItemsPool|queryMagazinePool|queryWeaponPool|rad|radioChannelAdd|radioChannelCreate|radioChannelRemove|radioChannelSetCallSign|radioChannelSetLabel|radioVolume|rain|rainbow|random|rank|rankId|rating|rectangular|registeredTasks|registerTask|reload|reloadEnabled|remoteControl|remoteExec|remoteExecCall|remoteExecutedOwner|remove3DENConnection|remove3DENEventHandler|remove3DENLayer|removeAction|removeAll3DENEventHandlers|removeAllActions|removeAllAssignedItems|removeAllContainers|removeAllCuratorAddons|removeAllCuratorCameraAreas|removeAllCuratorEditingAreas|removeAllEventHandlers|removeAllHandgunItems|removeAllItems|removeAllItemsWithMagazines|removeAllMissionEventHandlers|removeAllMPEventHandlers|removeAllMusicEventHandlers|removeAllOwnedMines|removeAllPrimaryWeaponItems|removeAllWeapons|removeBackpack|removeBackpackGlobal|removeCuratorAddons|removeCuratorCameraArea|removeCuratorEditableObjects|removeCuratorEditingArea|removeDrawIcon|removeDrawLinks|removeEventHandler|removeFromRemainsCollector|removeGoggles|removeGroupIcon|removeHandgunItem|removeHeadgear|removeItem|removeItemFromBackpack|removeItemFromUniform|removeItemFromVest|removeItems|removeMagazine|removeMagazineGlobal|removeMagazines|removeMagazinesTurret|removeMagazineTurret|removeMenuItem|removeMissionEventHandler|removeMPEventHandler|removeMusicEventHandler|removeOwnedMine|removePrimaryWeaponItem|removeSecondaryWeaponItem|removeSimpleTask|removeSwitchableUnit|removeTeamMember|removeUniform|removeVest|removeWeapon|removeWeaponAttachmentCargo|removeWeaponCargo|removeWeaponGlobal|removeWeaponTurret|reportRemoteTarget|requiredVersion|resetCamShake|resetSubgroupDirection|resistance|resize|resources|respawnVehicle|restartEditorCamera|reveal|revealMine|reverse|reversedMouseY|roadAt|roadsConnectedTo|roleDescription|ropeAttachedObjects|ropeAttachedTo|ropeAttachEnabled|ropeAttachTo|ropeCreate|ropeCut|ropeDestroy|ropeDetach|ropeEndPosition|ropeLength|ropes|ropeUnwind|ropeUnwound|rotorsForcesRTD|rotorsRpmRTD|round|runInitScript|safeZoneH|safeZoneW|safeZoneWAbs|safeZoneX|safeZoneXAbs|safeZoneY|save3DENInventory|saveGame|saveIdentity|saveJoysticks|saveOverlay|saveProfileNamespace|saveStatus|saveVar|savingEnabled|say|say2D|say3D|score|scoreSide|screenshot|screenToWorld|scriptDone|scriptName|scriptNull|scudState|secondaryWeapon|secondaryWeaponItems|secondaryWeaponMagazine|select|selectBestPlaces|selectDiarySubject|selectedEditorObjects|selectEditorObject|selectionNames|selectionPosition|selectLeader|selectMax|selectMin|selectNoPlayer|selectPlayer|selectRandom|selectRandomWeighted|selectWeapon|selectWeaponTurret|sendAUMessage|sendSimpleCommand|sendTask|sendTaskResult|sendUDPMessage|serverCommand|serverCommandAvailable|serverCommandExecutable|serverName|serverTime|set|set3DENAttribute|set3DENAttributes|set3DENGrid|set3DENIconsVisible|set3DENLayer|set3DENLinesVisible|set3DENLogicType|set3DENMissionAttribute|set3DENMissionAttributes|set3DENModelsVisible|set3DENObjectType|set3DENSelected|setAccTime|setActualCollectiveRTD|setAirplaneThrottle|setAirportSide|setAmmo|setAmmoCargo|setAmmoOnPylon|setAnimSpeedCoef|setAperture|setApertureNew|setArmoryPoints|setAttributes|setAutonomous|setBehaviour|setBleedingRemaining|setBrakesRTD|setCameraInterest|setCamShakeDefParams|setCamShakeParams|setCamUseTI|setCaptive|setCenterOfMass|setCollisionLight|setCombatMode|setCompassOscillation|setConvoySeparation|setCuratorCameraAreaCeiling|setCuratorCoef|setCuratorEditingAreaType|setCuratorWaypointCost|setCurrentChannel|setCurrentTask|setCurrentWaypoint|setCustomAimCoef|setCustomWeightRTD|setDamage|setDammage|setDate|setDebriefingText|setDefaultCamera|setDestination|setDetailMapBlendPars|setDir|setDirection|setDrawIcon|setDriveOnPath|setDropInterval|setDynamicSimulationDistance|setDynamicSimulationDistanceCoef|setEditorMode|setEditorObjectScope|setEffectCondition|setEngineRpmRTD|setFace|setFaceAnimation|setFatigue|setFeatureType|setFlagAnimationPhase|setFlagOwner|setFlagSide|setFlagTexture|setFog|setForceGeneratorRTD|setFormation|setFormationTask|setFormDir|setFriend|setFromEditor|setFSMVariable|setFuel|setFuelCargo|setGroupIcon|setGroupIconParams|setGroupIconsSelectable|setGroupIconsVisible|setGroupId|setGroupIdGlobal|setGroupOwner|setGusts|setHideBehind|setHit|setHitIndex|setHitPointDamage|setHorizonParallaxCoef|setHUDMovementLevels|setIdentity|setImportance|setInfoPanel|setLeader|setLightAmbient|setLightAttenuation|setLightBrightness|setLightColor|setLightDayLight|setLightFlareMaxDistance|setLightFlareSize|setLightIntensity|setLightnings|setLightUseFlare|setLocalWindParams|setMagazineTurretAmmo|setMarkerAlpha|setMarkerAlphaLocal|setMarkerBrush|setMarkerBrushLocal|setMarkerColor|setMarkerColorLocal|setMarkerDir|setMarkerDirLocal|setMarkerPos|setMarkerPosLocal|setMarkerShape|setMarkerShapeLocal|setMarkerSize|setMarkerSizeLocal|setMarkerText|setMarkerTextLocal|setMarkerType|setMarkerTypeLocal|setMass|setMimic|setMousePosition|setMusicEffect|setMusicEventHandler|setName|setNameSound|setObjectArguments|setObjectMaterial|setObjectMaterialGlobal|setObjectProxy|setObjectTexture|setObjectTextureGlobal|setObjectViewDistance|setOvercast|setOwner|setOxygenRemaining|setParticleCircle|setParticleClass|setParticleFire|setParticleParams|setParticleRandom|setPilotCameraDirection|setPilotCameraRotation|setPilotCameraTarget|setPilotLight|setPiPEffect|setPitch|setPlateNumber|setPlayable|setPlayerRespawnTime|setPos|setPosASL|setPosASL2|setPosASLW|setPosATL|setPosition|setPosWorld|setPylonLoadOut|setPylonsPriority|setRadioMsg|setRain|setRainbow|setRandomLip|setRank|setRectangular|setRepairCargo|setRotorBrakeRTD|setShadowDistance|setShotParents|setSide|setSimpleTaskAlwaysVisible|setSimpleTaskCustomData|setSimpleTaskDescription|setSimpleTaskDestination|setSimpleTaskTarget|setSimpleTaskType|setSimulWeatherLayers|setSize|setSkill|setSlingLoad|setSoundEffect|setSpeaker|setSpeech|setSpeedMode|setStamina|setStaminaScheme|setStatValue|setSuppression|setSystemOfUnits|setTargetAge|setTaskMarkerOffset|setTaskResult|setTaskState|setTerrainGrid|setText|setTimeMultiplier|setTitleEffect|setToneMapping|setToneMappingParams|setTrafficDensity|setTrafficDistance|setTrafficGap|setTrafficSpeed|setTriggerActivation|setTriggerArea|setTriggerStatements|setTriggerText|setTriggerTimeout|setTriggerType|setType|setUnconscious|setUnitAbility|setUnitLoadout|setUnitPos|setUnitPosWeak|setUnitRank|setUnitRecoilCoefficient|setUnitTrait|setUnloadInCombat|setUserActionText|setUserMFDText|setUserMFDValue|setVariable|setVectorDir|setVectorDirAndUp|setVectorUp|setVehicleAmmo|setVehicleAmmoDef|setVehicleArmor|setVehicleCargo|setVehicleId|setVehicleInit|setVehicleLock|setVehiclePosition|setVehicleRadar|setVehicleReceiveRemoteTargets|setVehicleReportOwnPosition|setVehicleReportRemoteTargets|setVehicleTIPars|setVehicleVarName|setVelocity|setVelocityModelSpace|setVelocityTransformation|setViewDistance|setVisibleIfTreeCollapsed|setWantedRpmRTD|setWaves|setWaypointBehaviour|setWaypointCombatMode|setWaypointCompletionRadius|setWaypointDescription|setWaypointForceBehaviour|setWaypointFormation|setWaypointHousePosition|setWaypointLoiterRadius|setWaypointLoiterType|setWaypointName|setWaypointPosition|setWaypointScript|setWaypointSpeed|setWaypointStatements|setWaypointTimeout|setWaypointType|setWaypointVisible|setWeaponReloadingTime|setWind|setWindDir|setWindForce|setWindStr|setWingForceScaleRTD|setWPPos|show3DIcons|showChat|showCinemaBorder|showCommandingMenu|showCompass|showCuratorCompass|showGPS|showHUD|showLegend|showMap|shownArtilleryComputer|shownChat|shownCompass|shownCuratorCompass|showNewEditorObject|shownGPS|shownHUD|shownMap|shownPad|shownRadio|shownScoretable|shownUAVFeed|shownWarrant|shownWatch|showPad|showRadio|showScoretable|showSubtitles|showUAVFeed|showWarrant|showWatch|showWaypoint|showWaypoints|side|sideAmbientLife|sideChat|sideEmpty|sideEnemy|sideFriendly|sideLogic|sideRadio|sideUnknown|simpleTasks|simulationEnabled|simulCloudDensity|simulCloudOcclusion|simulInClouds|simulWeatherSync|sin|size|sizeOf|skill|skillFinal|skipTime|sleep|sliderPosition|sliderRange|sliderSetPosition|sliderSetRange|sliderSetSpeed|sliderSpeed|slingLoadAssistantShown|soldierMagazines|someAmmo|sort|soundVolume|speaker|speed|speedMode|splitString|sqrt|squadParams|stance|startLoadingScreen|stop|stopEngineRTD|stopped|str|sunOrMoon|supportInfo|suppressFor|surfaceIsWater|surfaceNormal|surfaceType|swimInDepth|switchableUnits|switchAction|switchCamera|switchGesture|switchLight|switchMove|synchronizedObjects|synchronizedTriggers|synchronizedWaypoints|synchronizeObjectsAdd|synchronizeObjectsRemove|synchronizeTrigger|synchronizeWaypoint|systemChat|systemOfUnits|tan|targetKnowledge|targets|targetsAggregate|targetsQuery|taskAlwaysVisible|taskChildren|taskCompleted|taskCustomData|taskDescription|taskDestination|taskHint|taskMarkerOffset|taskNull|taskParent|taskResult|taskState|taskType|teamMember|teamMemberNull|teamName|teams|teamSwitch|teamSwitchEnabled|teamType|terminate|terrainIntersect|terrainIntersectASL|terrainIntersectAtASL|text|textLog|textLogFormat|tg|time|timeMultiplier|titleCut|titleFadeOut|titleObj|titleRsc|titleText|toArray|toFixed|toLower|toString|toUpper|triggerActivated|triggerActivation|triggerArea|triggerAttachedVehicle|triggerAttachObject|triggerAttachVehicle|triggerDynamicSimulation|triggerStatements|triggerText|triggerTimeout|triggerTimeoutCurrent|triggerType|turretLocal|turretOwner|turretUnit|tvAdd|tvClear|tvCollapse|tvCollapseAll|tvCount|tvCurSel|tvData|tvDelete|tvExpand|tvExpandAll|tvPicture|tvPictureRight|tvSetColor|tvSetCurSel|tvSetData|tvSetPicture|tvSetPictureColor|tvSetPictureColorDisabled|tvSetPictureColorSelected|tvSetPictureRight|tvSetPictureRightColor|tvSetPictureRightColorDisabled|tvSetPictureRightColorSelected|tvSetSelectColor|tvSetText|tvSetTooltip|tvSetValue|tvSort|tvSortByValue|tvText|tvTooltip|tvValue|type|typeName|typeOf|UAVControl|uiNamespace|uiSleep|unassignCurator|unassignItem|unassignTeam|unassignVehicle|underwater|uniform|uniformContainer|uniformItems|uniformMagazines|unitAddons|unitAimPosition|unitAimPositionVisual|unitBackpack|unitIsUAV|unitPos|unitReady|unitRecoilCoefficient|units|unitsBelowHeight|unlinkItem|unlockAchievement|unregisterTask|updateDrawIcon|updateMenuItem|updateObjectTree|useAIOperMapObstructionTest|useAISteeringComponent|useAudioTimeForMoves|userInputDisabled|vectorAdd|vectorCos|vectorCrossProduct|vectorDiff|vectorDir|vectorDirVisual|vectorDistance|vectorDistanceSqr|vectorDotProduct|vectorFromTo|vectorMagnitude|vectorMagnitudeSqr|vectorModelToWorld|vectorModelToWorldVisual|vectorMultiply|vectorNormalized|vectorUp|vectorUpVisual|vectorWorldToModel|vectorWorldToModelVisual|vehicle|vehicleCargoEnabled|vehicleChat|vehicleRadio|vehicleReceiveRemoteTargets|vehicleReportOwnPosition|vehicleReportRemoteTargets|vehicles|vehicleVarName|velocity|velocityModelSpace|verifySignature|vest|vestContainer|vestItems|vestMagazines|viewDistance|visibleCompass|visibleGPS|visibleMap|visiblePosition|visiblePositionASL|visibleScoretable|visibleWatch|waitUntil|waves|waypointAttachedObject|waypointAttachedVehicle|waypointAttachObject|waypointAttachVehicle|waypointBehaviour|waypointCombatMode|waypointCompletionRadius|waypointDescription|waypointForceBehaviour|waypointFormation|waypointHousePosition|waypointLoiterRadius|waypointLoiterType|waypointName|waypointPosition|waypoints|waypointScript|waypointsEnabledUAV|waypointShow|waypointSpeed|waypointStatements|waypointTimeout|waypointTimeoutCurrent|waypointType|waypointVisible|weaponAccessories|weaponAccessoriesCargo|weaponCargo|weaponDirection|weaponInertia|weaponLowered|weapons|weaponsItems|weaponsItemsCargo|weaponState|weaponsTurret|weightRTD|west|WFSideText|wind|windDir|windRTD|windStr|wingsForcesRTD|worldName|worldSize|worldToModel|worldToModelVisual|worldToScreen)\b/i,number:/(?:\$|\b0x)[\da-f]+\b|(?:\B\.\d+|\b\d+(?:\.\d+)?)(?:e[+-]?\d+)?\b/i,operator:/##|>>|&&|\|\||[!=<>]=?|[-+*/%#^]|\b(?:and|mod|not|or)\b/i,"magic-variable":{pattern:/\b(?:this|thisList|thisTrigger|_exception|_fnc_scriptName|_fnc_scriptNameParent|_forEachIndex|_this|_thisEventHandler|_thisFSM|_thisScript|_x)\b/i,alias:"keyword"},constant:/\bDIK(?:_[a-z\d]+)+\b/i}),e.languages.insertBefore("sqf","string",{macro:{pattern:/(^[ \t]*)#[a-z](?:[^\r\n\\]|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{directive:{pattern:/#[a-z]+\b/i,alias:"keyword"},comment:e.languages.sqf.comment}}}),delete e.languages.sqf["class-name"]}function sm(e){e.register(Kc),e.languages.squirrel=e.languages.extend("clike",{comment:[e.languages.clike.comment[0],{pattern:/(^|[^\\:])(?:\/\/|#).*/,lookbehind:!0,greedy:!0}],string:{pattern:/(^|[^\\"'@])(?:@"(?:[^"]|"")*"(?!")|"(?:[^\\\r\n"]|\\.)*")/,lookbehind:!0,greedy:!0},"class-name":{pattern:/(\b(?:class|enum|extends|instanceof)\s+)\w+(?:\.\w+)*/,lookbehind:!0,inside:{punctuation:/\./}},keyword:/\b(?:__FILE__|__LINE__|base|break|case|catch|class|clone|const|constructor|continue|default|delete|else|enum|extends|for|foreach|function|if|in|instanceof|local|null|resume|return|static|switch|this|throw|try|typeof|while|yield)\b/,number:/\b(?:0x[0-9a-fA-F]+|\d+(?:\.(?:\d+|[eE][+-]?\d+))?)\b/,operator:/\+\+|--|<=>|<[-<]|>>>?|&&?|\|\|?|[-+*/%!=<>]=?|[~^]|::?/,punctuation:/[(){}\[\],;.]/}),e.languages.insertBefore("squirrel","string",{char:{pattern:/(^|[^\\"'])'(?:[^\\']|\\(?:[xuU][0-9a-fA-F]{0,8}|[\s\S]))'/,lookbehind:!0,greedy:!0}}),e.languages.insertBefore("squirrel","operator",{"attribute-punctuation":{pattern:/<\/|\/>/,alias:"important"},lambda:{pattern:/@(?=\()/,alias:"operator"}})}function lm(e){!function(e){var t=/\b(?:algebra_solver|algebra_solver_newton|integrate_1d|integrate_ode|integrate_ode_bdf|integrate_ode_rk45|map_rect|ode_(?:adams|bdf|ckrk|rk45)(?:_tol)?|ode_adjoint_tol_ctl|reduce_sum|reduce_sum_static)\b/;e.languages.stan={comment:/\/\/.*|\/\*[\s\S]*?\*\/|#(?!include).*/,string:{pattern:/"[\x20\x21\x23-\x5B\x5D-\x7E]*"/,greedy:!0},directive:{pattern:/^([ \t]*)#include\b.*/m,lookbehind:!0,alias:"property"},"function-arg":{pattern:RegExp("("+t.source+/\s*\(\s*/.source+")"+/[a-zA-Z]\w*/.source),lookbehind:!0,alias:"function"},constraint:{pattern:/(\b(?:int|matrix|real|row_vector|vector)\s*)<[^<>]*>/,lookbehind:!0,inside:{expression:{pattern:/(=\s*)\S(?:\S|\s+(?!\s))*?(?=\s*(?:>$|,\s*\w+\s*=))/,lookbehind:!0,inside:null},property:/\b[a-z]\w*(?=\s*=)/i,operator:/=/,punctuation:/^<|>$|,/}},keyword:[{pattern:/\bdata(?=\s*\{)|\b(?:functions|generated|model|parameters|quantities|transformed)\b/,alias:"program-block"},/\b(?:array|break|cholesky_factor_corr|cholesky_factor_cov|complex|continue|corr_matrix|cov_matrix|data|else|for|if|in|increment_log_prob|int|matrix|ordered|positive_ordered|print|real|reject|return|row_vector|simplex|target|unit_vector|vector|void|while)\b/,t],function:/\b[a-z]\w*(?=\s*\()/i,number:/(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:E[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,boolean:/\b(?:false|true)\b/,operator:/<-|\.[*/]=?|\|\|?|&&|[!=<>+\-*/]=?|['^%~?:]/,punctuation:/[()\[\]{},;]/},e.languages.stan.constraint.inside.expression.inside=e.languages.stan}(e)}function cm(e){e.register(ou),e.register(Pd),e.register(_u),e.languages.stata={comment:[{pattern:/(^[ \t]*)\*.*/m,lookbehind:!0,greedy:!0},{pattern:/(^|\s)\/\/.*|\/\*[\s\S]*?\*\//,lookbehind:!0,greedy:!0}],"string-literal":{pattern:/"[^"\r\n]*"|[‘`']".*?"[’`']/,greedy:!0,inside:{interpolation:{pattern:/\$\{[^{}]*\}|[‘`']\w[^’`'\r\n]*[’`']/,inside:{punctuation:/^\$\{|\}$/,expression:{pattern:/[\s\S]+/,inside:null}}},string:/[\s\S]+/}},mata:{pattern:/(^[ \t]*mata[ \t]*:)[\s\S]+?(?=^end\b)/m,lookbehind:!0,greedy:!0,alias:"language-mata",inside:e.languages.mata},java:{pattern:/(^[ \t]*java[ \t]*:)[\s\S]+?(?=^end\b)/m,lookbehind:!0,greedy:!0,alias:"language-java",inside:e.languages.java},python:{pattern:/(^[ \t]*python[ \t]*:)[\s\S]+?(?=^end\b)/m,lookbehind:!0,greedy:!0,alias:"language-python",inside:e.languages.python},command:{pattern:/(^[ \t]*(?:\.[ \t]+)?(?:(?:bayes|bootstrap|by|bysort|capture|collect|fmm|fp|frame|jackknife|mfp|mi|nestreg|noisily|permute|quietly|rolling|simulate|statsby|stepwise|svy|version|xi)\b[^:\r\n]*:[ \t]*|(?:capture|noisily|quietly|version)[ \t]+)?)[a-zA-Z]\w*/m,lookbehind:!0,greedy:!0,alias:"keyword"},variable:/\$\w+|[‘`']\w[^’`'\r\n]*[’`']/,keyword:/\b(?:bayes|bootstrap|by|bysort|capture|clear|collect|fmm|fp|frame|if|in|jackknife|mi[ \t]+estimate|mfp|nestreg|noisily|of|permute|quietly|rolling|simulate|sort|statsby|stepwise|svy|varlist|version|xi)\b/,boolean:/\b(?:off|on)\b/,number:/\b\d+(?:\.\d+)?\b|\B\.\d+/,function:/\b[a-z_]\w*(?=\()/i,operator:/\+\+|--|##?|[<>!=~]=?|[+\-*^&|/]/,punctuation:/[(){}[\],:]/},e.languages.stata["string-literal"].inside.interpolation.inside.expression.inside=e.languages.stata}function um(e){e.languages.iecst={comment:[{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\(\*[\s\S]*?(?:\*\)|$)|\{[\s\S]*?(?:\}|$))/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:[/\b(?:END_)?(?:PROGRAM|CONFIGURATION|INTERFACE|FUNCTION_BLOCK|FUNCTION|ACTION|TRANSITION|TYPE|STRUCT|(?:INITIAL_)?STEP|NAMESPACE|LIBRARY|CHANNEL|FOLDER|RESOURCE|VAR_(?:ACCESS|CONFIG|EXTERNAL|GLOBAL|INPUT|IN_OUT|OUTPUT|TEMP)|VAR|METHOD|PROPERTY)\b/i,/\b(?:AT|BY|(?:END_)?(?:CASE|FOR|IF|REPEAT|WHILE)|CONSTANT|CONTINUE|DO|ELSE|ELSIF|EXIT|EXTENDS|FROM|GET|GOTO|IMPLEMENTS|JMP|NON_RETAIN|OF|PRIVATE|PROTECTED|PUBLIC|RETAIN|RETURN|SET|TASK|THEN|TO|UNTIL|USING|WITH|__CATCH|__ENDTRY|__FINALLY|__TRY)\b/],"class-name":/\b(?:ANY|ARRAY|BOOL|BYTE|U?(?:D|L|S)?INT|(?:D|L)?WORD|DATE(?:_AND_TIME)?|DT|L?REAL|POINTER|STRING|TIME(?:_OF_DAY)?|TOD)\b/,address:{pattern:/%[IQM][XBWDL][\d.]*|%[IQ][\d.]*/,alias:"symbol"},number:/\b(?:16#[\da-f]+|2#[01_]+|0x[\da-f]+)\b|\b(?:D|DT|T|TOD)#[\d_shmd:]*|\b[A-Z]*#[\d.,_]*|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/,operator:/S?R?:?=>?|&&?|\*\*?|<[=>]?|>=?|[-:^/+#]|\b(?:AND|EQ|EXPT|GE|GT|LE|LT|MOD|NE|NOT|OR|XOR)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,punctuation:/[()[\].,;]/}}function hm(e){e.languages.supercollider={comment:{pattern:/\/\/.*|\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/)*\*\//,greedy:!0},string:{pattern:/(^|[^\\])"(?:[^"\\]|\\[\s\S])*"/,lookbehind:!0,greedy:!0},char:{pattern:/\$(?:[^\\\r\n]|\\.)/,greedy:!0},symbol:{pattern:/(^|[^\\])'(?:[^'\\]|\\[\s\S])*'|\\\w+/,lookbehind:!0,greedy:!0},keyword:/\b(?:_|arg|classvar|const|nil|var|while)\b/,boolean:/\b(?:false|true)\b/,label:{pattern:/\b[a-z_]\w*(?=\s*:)/,alias:"property"},number:/\b(?:inf|pi|0x[0-9a-fA-F]+|\d+(?:\.\d+)?(?:[eE][+-]?\d+)?(?:pi)?|\d+r[0-9a-zA-Z]+(?:\.[0-9a-zA-Z]+)?|\d+[sb]{1,4}\d*)\b/,"class-name":/\b[A-Z]\w*\b/,operator:/\.{2,3}|#(?![[{])|&&|[!=]==?|\+>>|\+{1,3}|-[->]|=>|>>|\?\?|@\|?@|\|(?:@|[!=]=)?\||!\?|<[!=>]|\*{1,2}|<{2,3}\*?|[-!%&/<>?@|=`]/,punctuation:/[{}()[\].:,;]|#[[{]/},e.languages.sclang=e.languages.supercollider}function pm(e){!function(e){var t={pattern:/^[;#].*/m,greedy:!0},n=/"(?:[^\r\n"\\]|\\(?:[^\r]|\r\n?))*"(?!\S)/.source;e.languages.systemd={comment:t,section:{pattern:/^\[[^\n\r\[\]]*\](?=[ \t]*$)/m,greedy:!0,inside:{punctuation:/^\[|\]$/,"section-name":{pattern:/[\s\S]+/,alias:"selector"}}},key:{pattern:/^[^\s=]+(?=[ \t]*=)/m,greedy:!0,alias:"attr-name"},value:{pattern:RegExp(/(=[ \t]*(?!\s))/.source+"(?:"+n+'|(?=[^"\r\n]))(?:'+/[^\s\\]/.source+'|[ \t]+(?:(?![ \t"])|'+n+")|"+/\\[\r\n]+(?:[#;].*[\r\n]+)*(?![#;])/.source+")*"),lookbehind:!0,greedy:!0,alias:"attr-value",inside:{comment:t,quoted:{pattern:RegExp(/(^|\s)/.source+n),lookbehind:!0,greedy:!0},punctuation:/\\$/m,boolean:{pattern:/^(?:false|no|off|on|true|yes)$/,greedy:!0}}},punctuation:/=/}}(e)}function dm(e){!function(e){function t(e,t,n){return{pattern:RegExp("<#"+e+"[\\s\\S]*?#>"),alias:"block",inside:{delimiter:{pattern:RegExp("^<#"+e+"|#>$"),alias:"important"},content:{pattern:/[\s\S]+/,inside:t,alias:n}}}}e.languages["t4-templating"]=Object.defineProperty({},"createT4",{value:function(n){var r=e.languages[n],i="language-"+n;return{block:{pattern:/<#[\s\S]+?#>/,inside:{directive:t("@",{"attr-value":{pattern:/=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+)/,inside:{punctuation:/^=|^["']|["']$/}},keyword:/\b\w+(?=\s)/,"attr-name":/\b\w+/}),expression:t("=",r,i),"class-feature":t("\\+",r,i),standard:t("",r,i)}}}}})}(e)}function fm(e){e.register(Jc),e.register(dm),e.languages.t4=e.languages["t4-cs"]=e.languages["t4-templating"].createT4("csharp")}function mm(e){e.register(dm),e.register(Lu),e.languages["t4-vb"]=e.languages["t4-templating"].createT4("vbnet")}function gm(e){e.register(du),e.languages.tap={fail:/not ok[^#{\n\r]*/,pass:/ok[^#{\n\r]*/,pragma:/pragma [+-][a-z]+/,bailout:/bail out!.*/i,version:/TAP version \d+/i,plan:/\b\d+\.\.\d+(?: +#.*)?/,subtest:{pattern:/# Subtest(?:: .*)?/,greedy:!0},punctuation:/[{}]/,directive:/#.*/,yamlish:{pattern:/(^[ \t]*)---[\s\S]*?[\r\n][ \t]*\.\.\.$/m,lookbehind:!0,inside:e.languages.yaml,alias:"language-yaml"}}}function ym(e){e.languages.tcl={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0},string:{pattern:/"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*"/,greedy:!0},variable:[{pattern:/(\$)(?:::)?(?:[a-zA-Z0-9]+::)*\w+/,lookbehind:!0},{pattern:/(\$)\{[^}]+\}/,lookbehind:!0},{pattern:/(^[\t ]*set[ \t]+)(?:::)?(?:[a-zA-Z0-9]+::)*\w+/m,lookbehind:!0}],function:{pattern:/(^[\t ]*proc[ \t]+)\S+/m,lookbehind:!0},builtin:[{pattern:/(^[\t ]*)(?:break|class|continue|error|eval|exit|for|foreach|if|proc|return|switch|while)\b/m,lookbehind:!0},/\b(?:else|elseif)\b/],scope:{pattern:/(^[\t ]*)(?:global|upvar|variable)\b/m,lookbehind:!0,alias:"constant"},keyword:{pattern:/(^[\t ]*|\[)(?:Safe_Base|Tcl|after|append|apply|array|auto_(?:execok|import|load|mkindex|qualify|reset)|automkindex_old|bgerror|binary|catch|cd|chan|clock|close|concat|dde|dict|encoding|eof|exec|expr|fblocked|fconfigure|fcopy|file(?:event|name)?|flush|gets|glob|history|http|incr|info|interp|join|lappend|lassign|lindex|linsert|list|llength|load|lrange|lrepeat|lreplace|lreverse|lsearch|lset|lsort|math(?:func|op)|memory|msgcat|namespace|open|package|parray|pid|pkg_mkIndex|platform|puts|pwd|re_syntax|read|refchan|regexp|registry|regsub|rename|scan|seek|set|socket|source|split|string|subst|tcl(?:_endOfWord|_findLibrary|startOf(?:Next|Previous)Word|test|vars|wordBreak(?:After|Before))|tell|time|tm|trace|unknown|unload|unset|update|uplevel|vwait)\b/m,lookbehind:!0},operator:/!=?|\*\*?|==|&&?|\|\|?|<[=<]?|>[=>]?|[-+~\/%?^]|\b(?:eq|in|ne|ni)\b/,punctuation:/[{}()\[\]]/}}function vm(e){e.register(Kc),e.register(yu),function(e){e.languages.tt2=e.languages.extend("clike",{comment:/#.*|\[%#[\s\S]*?%\]/,keyword:/\b(?:BLOCK|CALL|CASE|CATCH|CLEAR|DEBUG|DEFAULT|ELSE|ELSIF|END|FILTER|FINAL|FOREACH|GET|IF|IN|INCLUDE|INSERT|LAST|MACRO|META|NEXT|PERL|PROCESS|RAWPERL|RETURN|SET|STOP|SWITCH|TAGS|THROW|TRY|UNLESS|USE|WHILE|WRAPPER)\b/,punctuation:/[[\]{},()]/}),e.languages.insertBefore("tt2","number",{operator:/=[>=]?|!=?|<=?|>=?|&&|\|\|?|\b(?:and|not|or)\b/,variable:{pattern:/\b[a-z]\w*(?:\s*\.\s*(?:\d+|\$?[a-z]\w*))*\b/i}}),e.languages.insertBefore("tt2","keyword",{delimiter:{pattern:/^(?:\[%|%%)-?|-?%\]$/,alias:"punctuation"}}),e.languages.insertBefore("tt2","string",{"single-quoted-string":{pattern:/'[^\\']*(?:\\[\s\S][^\\']*)*'/,greedy:!0,alias:"string"},"double-quoted-string":{pattern:/"[^\\"]*(?:\\[\s\S][^\\"]*)*"/,greedy:!0,alias:"string",inside:{variable:{pattern:/\$(?:[a-z]\w*(?:\.(?:\d+|\$?[a-z]\w*))*)/i}}}}),delete e.languages.tt2.string,e.hooks.add("before-tokenize",(function(t){e.languages["markup-templating"].buildPlaceholders(t,"tt2",/\[%[\s\S]+?%\]/g)})),e.hooks.add("after-tokenize",(function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"tt2")}))}(e)}function _m(e){!function(e){var t=/(?:[\w-]+|'[^'\n\r]*'|"(?:\\.|[^\\"\r\n])*")/.source;function n(e){return e.replace(/__/g,(function(){return t}))}e.languages.toml={comment:{pattern:/#.*/,greedy:!0},table:{pattern:RegExp(n(/(^[\t ]*\[\s*(?:\[\s*)?)__(?:\s*\.\s*__)*(?=\s*\])/.source),"m"),lookbehind:!0,greedy:!0,alias:"class-name"},key:{pattern:RegExp(n(/(^[\t ]*|[{,]\s*)__(?:\s*\.\s*__)*(?=\s*=)/.source),"m"),lookbehind:!0,greedy:!0,alias:"property"},string:{pattern:/"""(?:\\[\s\S]|[^\\])*?"""|'''[\s\S]*?'''|'[^'\n\r]*'|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},date:[{pattern:/\b\d{4}-\d{2}-\d{2}(?:[T\s]\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|[+-]\d{2}:\d{2})?)?\b/i,alias:"number"},{pattern:/\b\d{2}:\d{2}:\d{2}(?:\.\d+)?\b/,alias:"number"}],number:/(?:\b0(?:x[\da-zA-Z]+(?:_[\da-zA-Z]+)*|o[0-7]+(?:_[0-7]+)*|b[10]+(?:_[10]+)*))\b|[-+]?\b\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?\b|[-+]?\b(?:inf|nan)\b/,boolean:/\b(?:false|true)\b/,punctuation:/[.,=[\]{}]/}}(e)}function bm(e){!function(e){e.languages.tremor={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},"interpolated-string":null,extractor:{pattern:/\b[a-z_]\w*\|(?:[^\r\n\\|]|\\(?:\r\n|[\s\S]))*\|/i,greedy:!0,inside:{regex:{pattern:/(^re)\|[\s\S]+/,lookbehind:!0},function:/^\w+/,value:/\|[\s\S]+/}},identifier:{pattern:/`[^`]*`/,greedy:!0},function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())\b/,keyword:/\b(?:args|as|by|case|config|connect|connector|const|copy|create|default|define|deploy|drop|each|emit|end|erase|event|flow|fn|for|from|group|having|insert|into|intrinsic|let|links|match|merge|mod|move|of|operator|patch|pipeline|recur|script|select|set|sliding|state|stream|to|tumbling|update|use|when|where|window|with)\b/,boolean:/\b(?:false|null|true)\b/i,number:/\b(?:0b[01_]*|0x[0-9a-fA-F_]*|\d[\d_]*(?:\.\d[\d_]*)?(?:[Ee][+-]?[\d_]+)?)\b/,"pattern-punctuation":{pattern:/%(?=[({[])/,alias:"punctuation"},operator:/[-+*\/%~!^]=?|=[=>]?|&[&=]?|\|[|=]?|<<?=?|>>?>?=?|(?:absent|and|not|or|present|xor)\b/,punctuation:/::|[;\[\]()\{\},.:]/};var t=/#\{(?:[^"{}]|\{[^{}]*\}|"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*")*\}/.source;e.languages.tremor["interpolated-string"]={pattern:RegExp(/(^|[^\\])/.source+'(?:"""(?:'+/[^"\\#]|\\[\s\S]|"(?!"")|#(?!\{)/.source+"|"+t+')*"""|"(?:'+/[^"\\\r\n#]|\\(?:\r\n|[\s\S])|#(?!\{)/.source+"|"+t+')*")'),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:RegExp(t),inside:{punctuation:/^#\{|\}$/,expression:{pattern:/[\s\S]+/,inside:e.languages.tremor}}},string:/[\s\S]+/}},e.languages.troy=e.languages.tremor,e.languages.trickle=e.languages.tremor}(e)}function Em(e){!function(e){var t=/\b(?:ACT|ACTIFSUB|CARRAY|CASE|CLEARGIF|COA|COA_INT|CONSTANTS|CONTENT|CUR|EDITPANEL|EFFECT|EXT|FILE|FLUIDTEMPLATE|FORM|FRAME|FRAMESET|GIFBUILDER|GMENU|GMENU_FOLDOUT|GMENU_LAYERS|GP|HMENU|HRULER|HTML|IENV|IFSUB|IMAGE|IMGMENU|IMGMENUITEM|IMGTEXT|IMG_RESOURCE|INCLUDE_TYPOSCRIPT|JSMENU|JSMENUITEM|LLL|LOAD_REGISTER|NO|PAGE|RECORDS|RESTORE_REGISTER|TEMPLATE|TEXT|TMENU|TMENUITEM|TMENU_LAYERS|USER|USER_INT|_GIFBUILDER|global|globalString|globalVar)\b/;e.languages.typoscript={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0},{pattern:/(^|[^\\:= \t]|(?:^|[^= \t])[ \t]+)\/\/.*/,lookbehind:!0,greedy:!0},{pattern:/(^|[^"'])#.*/,lookbehind:!0,greedy:!0}],function:[{pattern:/<INCLUDE_TYPOSCRIPT:\s*source\s*=\s*(?:"[^"\r\n]*"|'[^'\r\n]*')\s*>/,inside:{string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,inside:{keyword:t}},keyword:{pattern:/INCLUDE_TYPOSCRIPT/}}},{pattern:/@import\s*(?:"[^"\r\n]*"|'[^'\r\n]*')/,inside:{string:/"[^"\r\n]*"|'[^'\r\n]*'/}}],string:{pattern:/^([^=]*=[< ]?)(?:(?!\]\n).)*/,lookbehind:!0,inside:{function:/\{\$.*\}/,keyword:t,number:/^\d+$/,punctuation:/[,|:]/}},keyword:t,number:{pattern:/\b\d+\s*[.{=]/,inside:{operator:/[.{=]/}},tag:{pattern:/\.?[-\w\\]+\.?/,inside:{punctuation:/\./}},punctuation:/[{}[\];(),.:|]/,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/},e.languages.tsconfig=e.languages.typoscript}(e)}function Tm(e){e.languages.unrealscript={comment:/\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},category:{pattern:/(\b(?:(?:autoexpand|hide|show)categories|var)\s*\()[^()]+(?=\))/,lookbehind:!0,greedy:!0,alias:"property"},metadata:{pattern:/(\w\s*)<\s*\w+\s*=[^<>|=\r\n]+(?:\|\s*\w+\s*=[^<>|=\r\n]+)*>/,lookbehind:!0,greedy:!0,inside:{property:/\b\w+(?=\s*=)/,operator:/=/,punctuation:/[<>|]/}},macro:{pattern:/`\w+/,alias:"property"},"class-name":{pattern:/(\b(?:class|enum|extends|interface|state(?:\(\))?|struct|within)\s+)\w+/,lookbehind:!0},keyword:/\b(?:abstract|actor|array|auto|autoexpandcategories|bool|break|byte|case|class|classgroup|client|coerce|collapsecategories|config|const|continue|default|defaultproperties|delegate|dependson|deprecated|do|dontcollapsecategories|editconst|editinlinenew|else|enum|event|exec|export|extends|final|float|for|forcescriptorder|foreach|function|goto|guid|hidecategories|hidedropdown|if|ignores|implements|inherits|input|int|interface|iterator|latent|local|material|name|native|nativereplication|noexport|nontransient|noteditinlinenew|notplaceable|operator|optional|out|pawn|perobjectconfig|perobjectlocalized|placeable|postoperator|preoperator|private|protected|reliable|replication|return|server|showcategories|simulated|singular|state|static|string|struct|structdefault|structdefaultproperties|switch|texture|transient|travel|unreliable|until|var|vector|while|within)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/>>|<<|--|\+\+|\*\*|[-+*/~!=<>$@]=?|&&?|\|\|?|\^\^?|[?:%]|\b(?:ClockwiseFrom|Cross|Dot)\b/,punctuation:/[()[\]{};,.]/},e.languages.uc=e.languages.uscript=e.languages.unrealscript}function xm(e){e.languages.uorazor={"comment-hash":{pattern:/#.*/,alias:"comment",greedy:!0},"comment-slash":{pattern:/\/\/.*/,alias:"comment",greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,inside:{punctuation:/^['"]|['"]$/},greedy:!0},"source-layers":{pattern:/\b(?:arms|backpack|blue|bracelet|cancel|clear|cloak|criminal|earrings|enemy|facialhair|friend|friendly|gloves|gray|grey|ground|hair|head|innerlegs|innertorso|innocent|lefthand|middletorso|murderer|neck|nonfriendly|onehandedsecondary|outerlegs|outertorso|pants|red|righthand|ring|self|shirt|shoes|talisman|waist)\b/i,alias:"function"},"source-commands":{pattern:/\b(?:alliance|attack|cast|clearall|clearignore|clearjournal|clearlist|clearsysmsg|createlist|createtimer|dclick|dclicktype|dclickvar|dress|dressconfig|drop|droprelloc|emote|getlabel|guild|gumpclose|gumpresponse|hotkey|ignore|lasttarget|lift|lifttype|menu|menuresponse|msg|org|organize|organizer|overhead|pause|poplist|potion|promptresponse|pushlist|removelist|removetimer|rename|restock|say|scav|scavenger|script|setability|setlasttarget|setskill|settimer|setvar|sysmsg|target|targetloc|targetrelloc|targettype|undress|unignore|unsetvar|useobject|useonce|useskill|usetype|virtue|wait|waitforgump|waitformenu|waitforprompt|waitforstat|waitforsysmsg|waitfortarget|walk|wfsysmsg|wft|whisper|yell)\b/,alias:"function"},"tag-name":{pattern:/(^\{%-?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%]-?|-?[%}]\}$/,alias:"punctuation"},function:/\b(?:atlist|close|closest|count|counter|counttype|dead|dex|diffhits|diffmana|diffstam|diffweight|find|findbuff|finddebuff|findlayer|findtype|findtypelist|followers|gumpexists|hidden|hits|hp|hue|human|humanoid|ingump|inlist|insysmessage|insysmsg|int|invul|lhandempty|list|listexists|mana|maxhits|maxhp|maxmana|maxstam|maxweight|monster|mounted|name|next|noto|paralyzed|poisoned|position|prev|previous|queued|rand|random|rhandempty|skill|stam|str|targetexists|timer|timerexists|varexist|warmode|weight)\b/,keyword:/\b(?:and|as|break|continue|else|elseif|endfor|endif|endwhile|for|if|loop|not|or|replay|stop|while)\b/,boolean:/\b(?:false|null|true)\b/,number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,operator:[{pattern:/(\s)(?:and|b-and|b-or|b-xor|ends with|in|is|matches|not|or|same as|starts with)(?=\s)/,lookbehind:!0},/[=<>]=?|!=|\*\*?|\/\/?|\?:?|[-+~%|]/],punctuation:/[()\[\]{}:.,]/}}function Sm(e){e.register(Kc),function(e){var t={pattern:/[\s\S]+/,inside:null};e.languages.v=e.languages.extend("clike",{string:{pattern:/r?(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,alias:"quoted-string",greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\{[^{}]*\}|\w+(?:\.\w+(?:\([^\(\)]*\))?|\[[^\[\]]+\])*)/,lookbehind:!0,inside:{"interpolation-variable":{pattern:/^\$\w[\s\S]*$/,alias:"variable"},"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},"interpolation-expression":t}}}},"class-name":{pattern:/(\b(?:enum|interface|struct|type)\s+)(?:C\.)?\w+/,lookbehind:!0},keyword:/(?:\b(?:__global|as|asm|assert|atomic|break|chan|const|continue|defer|else|embed|enum|fn|for|go(?:to)?|if|import|in|interface|is|lock|match|module|mut|none|or|pub|return|rlock|select|shared|sizeof|static|struct|type(?:of)?|union|unsafe)|\$(?:else|for|if)|#(?:flag|include))\b/,number:/\b(?:0x[a-f\d]+(?:_[a-f\d]+)*|0b[01]+(?:_[01]+)*|0o[0-7]+(?:_[0-7]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?)\b/i,operator:/~|\?|[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\.?/,builtin:/\b(?:any(?:_float|_int)?|bool|byte(?:ptr)?|charptr|f(?:32|64)|i(?:8|16|64|128|nt)|rune|size_t|string|u(?:16|32|64|128)|voidptr)\b/}),t.inside=e.languages.v,e.languages.insertBefore("v","string",{char:{pattern:/`(?:\\`|\\?[^`]{1,2})`/,alias:"rune"}}),e.languages.insertBefore("v","operator",{attribute:{pattern:/(^[\t ]*)\[(?:deprecated|direct_array_access|flag|inline|live|ref_only|typedef|unsafe_fn|windows_stdcall)\]/m,lookbehind:!0,alias:"annotation",inside:{punctuation:/[\[\]]/,keyword:/\w+/}},generic:{pattern:/<\w+>(?=\s*[\)\{])/,inside:{punctuation:/[<>]/,"class-name":/\w+/}}}),e.languages.insertBefore("v","function",{"generic-function":{pattern:/\b\w+\s*<\w+>(?=\()/,inside:{function:/^\w+/,generic:{pattern:/<\w+>/,inside:e.languages.v.generic.inside}}}})}(e)}function Cm(e){e.register(Kc),e.languages.vala=e.languages.extend("clike",{"class-name":[{pattern:/\b[A-Z]\w*(?:\.\w+)*\b(?=(?:\?\s+|\*?\s+\*?)\w)/,inside:{punctuation:/\./}},{pattern:/(\[)[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}},{pattern:/(\b(?:class|interface)\s+[A-Z]\w*(?:\.\w+)*\s*:\s*)[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}},{pattern:/((?:\b(?:class|enum|interface|new|struct)\s+)|(?:catch\s+\())[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}}],keyword:/\b(?:abstract|as|assert|async|base|bool|break|case|catch|char|class|const|construct|continue|default|delegate|delete|do|double|dynamic|else|ensures|enum|errordomain|extern|finally|float|for|foreach|get|if|in|inline|int|int16|int32|int64|int8|interface|internal|is|lock|long|namespace|new|null|out|override|owned|params|private|protected|public|ref|requires|return|set|short|signal|sizeof|size_t|ssize_t|static|string|struct|switch|this|throw|throws|try|typeof|uchar|uint|uint16|uint32|uint64|uint8|ulong|unichar|unowned|ushort|using|value|var|virtual|void|volatile|weak|while|yield)\b/i,function:/\b\w+(?=\s*\()/,number:/(?:\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)(?:f|u?l?)?/i,operator:/\+\+|--|&&|\|\||<<=?|>>=?|=>|->|~|[+\-*\/%&^|=!<>]=?|\?\??|\.\.\./,punctuation:/[{}[\];(),.:]/,constant:/\b[A-Z0-9_]+\b/}),e.languages.insertBefore("vala","string",{"raw-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},"template-string":{pattern:/@"[\s\S]*?"/,greedy:!0,inside:{interpolation:{pattern:/\$(?:\([^)]*\)|[a-zA-Z]\w*)/,inside:{delimiter:{pattern:/^\$\(?|\)$/,alias:"punctuation"},rest:e.languages.vala}},string:/[\s\S]+/}}}),e.languages.insertBefore("vala","keyword",{regex:{pattern:/\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[imsx]{0,4}(?=\s*(?:$|[\r\n,.;})\]]))/,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:e.languages.regex},"regex-delimiter":/^\//,"regex-flags":/^[a-z]+$/}}})}function Am(e){e.register(eu),function(e){e.languages.velocity=e.languages.extend("markup",{});var t={variable:{pattern:/(^|[^\\](?:\\\\)*)\$!?(?:[a-z][\w-]*(?:\([^)]*\))?(?:\.[a-z][\w-]*(?:\([^)]*\))?|\[[^\]]+\])*|\{[^}]+\})/i,lookbehind:!0,inside:{}},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},number:/\b\d+\b/,boolean:/\b(?:false|true)\b/,operator:/[=!<>]=?|[+*/%-]|&&|\|\||\.\.|\b(?:eq|g[et]|l[et]|n(?:e|ot))\b/,punctuation:/[(){}[\]:,.]/};t.variable.inside={string:t.string,function:{pattern:/([^\w-])[a-z][\w-]*(?=\()/,lookbehind:!0},number:t.number,boolean:t.boolean,punctuation:t.punctuation},e.languages.insertBefore("velocity","comment",{unparsed:{pattern:/(^|[^\\])#\[\[[\s\S]*?\]\]#/,lookbehind:!0,greedy:!0,inside:{punctuation:/^#\[\[|\]\]#$/}},"velocity-comment":[{pattern:/(^|[^\\])#\*[\s\S]*?\*#/,lookbehind:!0,greedy:!0,alias:"comment"},{pattern:/(^|[^\\])##.*/,lookbehind:!0,greedy:!0,alias:"comment"}],directive:{pattern:/(^|[^\\](?:\\\\)*)#@?(?:[a-z][\w-]*|\{[a-z][\w-]*\})(?:\s*\((?:[^()]|\([^()]*\))*\))?/i,lookbehind:!0,inside:{keyword:{pattern:/^#@?(?:[a-z][\w-]*|\{[a-z][\w-]*\})|\bin\b/,inside:{punctuation:/[{}]/}},rest:t}},variable:t.variable}),e.languages.velocity.tag.inside["attr-value"].inside.rest=e.languages.velocity}(e)}function Rm(e){e.languages.verilog={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"kernel-function":{pattern:/\B\$\w+\b/,alias:"property"},constant:/\B`\w+\b/,function:/\b\w+(?=\()/,keyword:/\b(?:alias|and|assert|assign|assume|automatic|before|begin|bind|bins|binsof|bit|break|buf|bufif0|bufif1|byte|case|casex|casez|cell|chandle|class|clocking|cmos|config|const|constraint|context|continue|cover|covergroup|coverpoint|cross|deassign|default|defparam|design|disable|dist|do|edge|else|end|endcase|endclass|endclocking|endconfig|endfunction|endgenerate|endgroup|endinterface|endmodule|endpackage|endprimitive|endprogram|endproperty|endsequence|endspecify|endtable|endtask|enum|event|expect|export|extends|extern|final|first_match|for|force|foreach|forever|fork|forkjoin|function|generate|genvar|highz0|highz1|if|iff|ifnone|ignore_bins|illegal_bins|import|incdir|include|initial|inout|input|inside|instance|int|integer|interface|intersect|join|join_any|join_none|large|liblist|library|local|localparam|logic|longint|macromodule|matches|medium|modport|module|nand|negedge|new|nmos|nor|noshowcancelled|not|notif0|notif1|null|or|output|package|packed|parameter|pmos|posedge|primitive|priority|program|property|protected|pull0|pull1|pulldown|pullup|pulsestyle_ondetect|pulsestyle_onevent|pure|rand|randc|randcase|randsequence|rcmos|real|realtime|ref|reg|release|repeat|return|rnmos|rpmos|rtran|rtranif0|rtranif1|scalared|sequence|shortint|shortreal|showcancelled|signed|small|solve|specify|specparam|static|string|strong0|strong1|struct|super|supply0|supply1|table|tagged|task|this|throughout|time|timeprecision|timeunit|tran|tranif0|tranif1|tri|tri0|tri1|triand|trior|trireg|type|typedef|union|unique|unsigned|use|uwire|var|vectored|virtual|void|wait|wait_order|wand|weak0|weak1|while|wildcard|wire|with|within|wor|xnor|xor)\b/,important:/\b(?:always|always_comb|always_ff|always_latch)\b(?: *@)?/,number:/\B##?\d+|(?:\b\d+)?'[odbh] ?[\da-fzx_?]+|\b(?:\d*[._])?\d+(?:e[-+]?\d+)?/i,operator:/[-+{}^~%*\/?=!<>&|]+/,punctuation:/[[\];(),.:]/}}function wm(e){e.languages.vhdl={comment:/--.+/,"vhdl-vectors":{pattern:/\b[oxb]"[\da-f_]+"|"[01uxzwlh-]+"/i,alias:"number"},"quoted-function":{pattern:/"\S+?"(?=\()/,alias:"function"},string:/"(?:[^\\"\r\n]|\\(?:\r\n|[\s\S]))*"/,attribute:{pattern:/\b'\w+/,alias:"attr-name"},keyword:/\b(?:access|after|alias|all|architecture|array|assert|attribute|begin|block|body|buffer|bus|case|component|configuration|constant|disconnect|downto|else|elsif|end|entity|exit|file|for|function|generate|generic|group|guarded|if|impure|in|inertial|inout|is|label|library|linkage|literal|loop|map|new|next|null|of|on|open|others|out|package|port|postponed|private|procedure|process|pure|range|record|register|reject|report|return|select|severity|shared|signal|subtype|then|to|transport|type|unaffected|units|until|use|variable|view|wait|when|while|with)\b/i,boolean:/\b(?:false|true)\b/i,function:/\w+(?=\()/,number:/'[01uxzwlh-]'|\b(?:\d+#[\da-f_.]+#|\d[\d_.]*)(?:e[-+]?\d+)?/i,operator:/[<>]=?|:=|[-+*/&=]|\b(?:abs|and|mod|nand|nor|not|or|rem|rol|ror|sla|sll|sra|srl|xnor|xor)\b/i,punctuation:/[{}[\];(),.:]/}}function Lm(e){e.languages.vim={string:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\r\n]|'')*'/,comment:/".*/,function:/\b\w+(?=\()/,keyword:/\b(?:N|Next|P|Print|X|XMLent|XMLns|ab|abbreviate|abc|abclear|abo|aboveleft|al|all|ar|arga|argadd|argd|argdelete|argdo|arge|argedit|argg|argglobal|argl|arglocal|args|argu|argument|as|ascii|b|bN|bNext|ba|bad|badd|ball|bd|bdelete|be|bel|belowright|bf|bfirst|bl|blast|bm|bmodified|bn|bnext|bo|botright|bp|bprevious|br|brea|break|breaka|breakadd|breakd|breakdel|breakl|breaklist|brewind|bro|browse|bufdo|buffer|buffers|bun|bunload|bw|bwipeout|c|cN|cNext|cNfcNfile|ca|cabbrev|cabc|cabclear|cad|caddb|caddbuffer|caddexpr|caddf|caddfile|cal|call|cat|catch|cb|cbuffer|cc|ccl|cclose|cd|ce|center|cex|cexpr|cf|cfile|cfir|cfirst|cg|cgetb|cgetbuffer|cgete|cgetexpr|cgetfile|change|changes|chd|chdir|che|checkpath|checkt|checktime|cl|cla|clast|clist|clo|close|cmapc|cmapclear|cn|cnew|cnewer|cnext|cnf|cnfile|cnorea|cnoreabbrev|co|col|colder|colo|colorscheme|comc|comclear|comp|compiler|con|conf|confirm|continue|cope|copen|copy|cp|cpf|cpfile|cprevious|cq|cquit|cr|crewind|cu|cuna|cunabbrev|cunmap|cw|cwindow|d|debugg|debuggreedy|delc|delcommand|delete|delf|delfunction|delm|delmarks|di|diffg|diffget|diffoff|diffpatch|diffpu|diffput|diffsplit|diffthis|diffu|diffupdate|dig|digraphs|display|dj|djump|dl|dlist|dr|drop|ds|dsearch|dsp|dsplit|e|earlier|echoe|echoerr|echom|echomsg|echon|edit|el|else|elsei|elseif|em|emenu|en|endf|endfo|endfor|endfun|endfunction|endif|endt|endtry|endw|endwhile|ene|enew|ex|exi|exit|exu|exusage|f|file|files|filetype|fin|fina|finally|find|fini|finish|fir|first|fix|fixdel|fo|fold|foldc|foldclose|foldd|folddoc|folddoclosed|folddoopen|foldo|foldopen|for|fu|fun|function|go|goto|gr|grep|grepa|grepadd|h|ha|hardcopy|help|helpf|helpfind|helpg|helpgrep|helpt|helptags|hid|hide|his|history|ia|iabbrev|iabc|iabclear|if|ij|ijump|il|ilist|imapc|imapclear|in|inorea|inoreabbrev|isearch|isp|isplit|iu|iuna|iunabbrev|iunmap|j|join|ju|jumps|k|kee|keepalt|keepj|keepjumps|keepmarks|l|lN|lNext|lNf|lNfile|la|lad|laddb|laddbuffer|laddexpr|laddf|laddfile|lan|language|last|later|lb|lbuffer|lc|lcd|lch|lchdir|lcl|lclose|left|lefta|leftabove|let|lex|lexpr|lf|lfile|lfir|lfirst|lg|lgetb|lgetbuffer|lgete|lgetexpr|lgetfile|lgr|lgrep|lgrepa|lgrepadd|lh|lhelpgrep|list|ll|lla|llast|lli|llist|lm|lmak|lmake|lmap|lmapc|lmapclear|ln|lne|lnew|lnewer|lnext|lnf|lnfile|lnoremap|lo|loadview|loc|lockmarks|lockv|lockvar|lol|lolder|lop|lopen|lp|lpf|lpfile|lprevious|lr|lrewind|ls|lt|ltag|lu|lunmap|lv|lvimgrep|lvimgrepa|lvimgrepadd|lw|lwindow|m|ma|mak|make|mark|marks|mat|match|menut|menutranslate|mk|mkexrc|mks|mksession|mksp|mkspell|mkv|mkvie|mkview|mkvimrc|mod|mode|move|mz|mzf|mzfile|mzscheme|n|nbkey|new|next|nmapc|nmapclear|noh|nohlsearch|norea|noreabbrev|nu|number|nun|nunmap|o|omapc|omapclear|on|only|open|opt|options|ou|ounmap|p|pc|pclose|pe|ped|pedit|perl|perld|perldo|po|pop|popu|popup|pp|ppop|pre|preserve|prev|previous|print|prof|profd|profdel|profile|promptf|promptfind|promptr|promptrepl|ps|psearch|ptN|ptNext|pta|ptag|ptf|ptfirst|ptj|ptjump|ptl|ptlast|ptn|ptnext|ptp|ptprevious|ptr|ptrewind|pts|ptselect|pu|put|pw|pwd|py|pyf|pyfile|python|q|qa|qall|quit|quita|quitall|r|read|rec|recover|red|redi|redir|redo|redr|redraw|redraws|redrawstatus|reg|registers|res|resize|ret|retab|retu|return|rew|rewind|ri|right|rightb|rightbelow|ru|rub|ruby|rubyd|rubydo|rubyf|rubyfile|runtime|rv|rviminfo|sN|sNext|sa|sal|sall|san|sandbox|sargument|sav|saveas|sb|sbN|sbNext|sba|sball|sbf|sbfirst|sbl|sblast|sbm|sbmodified|sbn|sbnext|sbp|sbprevious|sbr|sbrewind|sbuffer|scrip|scripte|scriptencoding|scriptnames|se|set|setf|setfiletype|setg|setglobal|setl|setlocal|sf|sfind|sfir|sfirst|sh|shell|sign|sil|silent|sim|simalt|sl|sla|slast|sleep|sm|smagic|smap|smapc|smapclear|sme|smenu|sn|snext|sni|sniff|sno|snomagic|snor|snoremap|snoreme|snoremenu|so|sor|sort|source|sp|spe|spelld|spelldump|spellgood|spelli|spellinfo|spellr|spellrepall|spellu|spellundo|spellw|spellwrong|split|spr|sprevious|sre|srewind|st|sta|stag|star|startg|startgreplace|startinsert|startr|startreplace|stj|stjump|stop|stopi|stopinsert|sts|stselect|sun|sunhide|sunm|sunmap|sus|suspend|sv|sview|syncbind|t|tN|tNext|ta|tab|tabN|tabNext|tabc|tabclose|tabd|tabdo|tabe|tabedit|tabf|tabfind|tabfir|tabfirst|tabl|tablast|tabm|tabmove|tabn|tabnew|tabnext|tabo|tabonly|tabp|tabprevious|tabr|tabrewind|tabs|tag|tags|tc|tcl|tcld|tcldo|tclf|tclfile|te|tearoff|tf|tfirst|th|throw|tj|tjump|tl|tlast|tm|tmenu|tn|tnext|to|topleft|tp|tprevious|tr|trewind|try|ts|tselect|tu|tunmenu|u|una|unabbreviate|undo|undoj|undojoin|undol|undolist|unh|unhide|unlet|unlo|unlockvar|unm|unmap|up|update|ve|verb|verbose|version|vert|vertical|vi|vie|view|vim|vimgrep|vimgrepa|vimgrepadd|visual|viu|viusage|vmapc|vmapclear|vne|vnew|vs|vsplit|vu|vunmap|w|wN|wNext|wa|wall|wh|while|win|winc|wincmd|windo|winp|winpos|winsize|wn|wnext|wp|wprevious|wq|wqa|wqall|write|ws|wsverb|wv|wviminfo|x|xa|xall|xit|xm|xmap|xmapc|xmapclear|xme|xmenu|xn|xnoremap|xnoreme|xnoremenu|xu|xunmap|y|yank)\b/,builtin:/\b(?:acd|ai|akm|aleph|allowrevins|altkeymap|ambiwidth|ambw|anti|antialias|arab|arabic|arabicshape|ari|arshape|autochdir|autocmd|autoindent|autoread|autowrite|autowriteall|aw|awa|background|backspace|backup|backupcopy|backupdir|backupext|backupskip|balloondelay|ballooneval|balloonexpr|bdir|bdlay|beval|bex|bexpr|bg|bh|bin|binary|biosk|bioskey|bk|bkc|bomb|breakat|brk|browsedir|bs|bsdir|bsk|bt|bufhidden|buflisted|buftype|casemap|ccv|cdpath|cedit|cfu|ch|charconvert|ci|cin|cindent|cink|cinkeys|cino|cinoptions|cinw|cinwords|clipboard|cmdheight|cmdwinheight|cmp|cms|columns|com|comments|commentstring|compatible|complete|completefunc|completeopt|consk|conskey|copyindent|cot|cpo|cpoptions|cpt|cscopepathcomp|cscopeprg|cscopequickfix|cscopetag|cscopetagorder|cscopeverbose|cspc|csprg|csqf|cst|csto|csverb|cuc|cul|cursorcolumn|cursorline|cwh|debug|deco|def|define|delcombine|dex|dg|dict|dictionary|diff|diffexpr|diffopt|digraph|dip|dir|directory|dy|ea|ead|eadirection|eb|ed|edcompatible|ef|efm|ei|ek|enc|encoding|endofline|eol|ep|equalalways|equalprg|errorbells|errorfile|errorformat|esckeys|et|eventignore|expandtab|exrc|fcl|fcs|fdc|fde|fdi|fdl|fdls|fdm|fdn|fdo|fdt|fen|fenc|fencs|fex|ff|ffs|fileencoding|fileencodings|fileformat|fileformats|fillchars|fk|fkmap|flp|fml|fmr|foldcolumn|foldenable|foldexpr|foldignore|foldlevel|foldlevelstart|foldmarker|foldmethod|foldminlines|foldnestmax|foldtext|formatexpr|formatlistpat|formatoptions|formatprg|fp|fs|fsync|ft|gcr|gd|gdefault|gfm|gfn|gfs|gfw|ghr|gp|grepformat|grepprg|gtl|gtt|guicursor|guifont|guifontset|guifontwide|guiheadroom|guioptions|guipty|guitablabel|guitabtooltip|helpfile|helpheight|helplang|hf|hh|hi|hidden|highlight|hk|hkmap|hkmapp|hkp|hl|hlg|hls|hlsearch|ic|icon|iconstring|ignorecase|im|imactivatekey|imak|imc|imcmdline|imd|imdisable|imi|iminsert|ims|imsearch|inc|include|includeexpr|incsearch|inde|indentexpr|indentkeys|indk|inex|inf|infercase|insertmode|invacd|invai|invakm|invallowrevins|invaltkeymap|invanti|invantialias|invar|invarab|invarabic|invarabicshape|invari|invarshape|invautochdir|invautoindent|invautoread|invautowrite|invautowriteall|invaw|invawa|invbackup|invballooneval|invbeval|invbin|invbinary|invbiosk|invbioskey|invbk|invbl|invbomb|invbuflisted|invcf|invci|invcin|invcindent|invcompatible|invconfirm|invconsk|invconskey|invcopyindent|invcp|invcscopetag|invcscopeverbose|invcst|invcsverb|invcuc|invcul|invcursorcolumn|invcursorline|invdeco|invdelcombine|invdg|invdiff|invdigraph|invdisable|invea|inveb|inved|invedcompatible|invek|invendofline|inveol|invequalalways|inverrorbells|invesckeys|invet|invex|invexpandtab|invexrc|invfen|invfk|invfkmap|invfoldenable|invgd|invgdefault|invguipty|invhid|invhidden|invhk|invhkmap|invhkmapp|invhkp|invhls|invhlsearch|invic|invicon|invignorecase|invim|invimc|invimcmdline|invimd|invincsearch|invinf|invinfercase|invinsertmode|invis|invjoinspaces|invjs|invlazyredraw|invlbr|invlinebreak|invlisp|invlist|invloadplugins|invlpl|invlz|invma|invmacatsui|invmagic|invmh|invml|invmod|invmodeline|invmodifiable|invmodified|invmore|invmousef|invmousefocus|invmousehide|invnu|invnumber|invodev|invopendevice|invpaste|invpi|invpreserveindent|invpreviewwindow|invprompt|invpvw|invreadonly|invremap|invrestorescreen|invrevins|invri|invrightleft|invrightleftcmd|invrl|invrlc|invro|invrs|invru|invruler|invsb|invsc|invscb|invscrollbind|invscs|invsecure|invsft|invshellslash|invshelltemp|invshiftround|invshortname|invshowcmd|invshowfulltag|invshowmatch|invshowmode|invsi|invsm|invsmartcase|invsmartindent|invsmarttab|invsmd|invsn|invsol|invspell|invsplitbelow|invsplitright|invspr|invsr|invssl|invsta|invstartofline|invstmp|invswapfile|invswf|invta|invtagbsearch|invtagrelative|invtagstack|invtbi|invtbidi|invtbs|invtermbidi|invterse|invtextauto|invtextmode|invtf|invtgst|invtildeop|invtimeout|invtitle|invto|invtop|invtr|invttimeout|invttybuiltin|invttyfast|invtx|invvb|invvisualbell|invwa|invwarn|invwb|invweirdinvert|invwfh|invwfw|invwildmenu|invwinfixheight|invwinfixwidth|invwiv|invwmnu|invwrap|invwrapscan|invwrite|invwriteany|invwritebackup|invws|isf|isfname|isi|isident|isk|iskeyword|isprint|joinspaces|js|key|keymap|keymodel|keywordprg|km|kmp|kp|langmap|langmenu|laststatus|lazyredraw|lbr|lcs|linebreak|lines|linespace|lisp|lispwords|listchars|loadplugins|lpl|lsp|lz|macatsui|magic|makeef|makeprg|matchpairs|matchtime|maxcombine|maxfuncdepth|maxmapdepth|maxmem|maxmempattern|maxmemtot|mco|mef|menuitems|mfd|mh|mis|mkspellmem|ml|mls|mm|mmd|mmp|mmt|modeline|modelines|modifiable|modified|more|mouse|mousef|mousefocus|mousehide|mousem|mousemodel|mouses|mouseshape|mouset|mousetime|mp|mps|msm|mzq|mzquantum|nf|noacd|noai|noakm|noallowrevins|noaltkeymap|noanti|noantialias|noar|noarab|noarabic|noarabicshape|noari|noarshape|noautochdir|noautoindent|noautoread|noautowrite|noautowriteall|noaw|noawa|nobackup|noballooneval|nobeval|nobin|nobinary|nobiosk|nobioskey|nobk|nobl|nobomb|nobuflisted|nocf|noci|nocin|nocindent|nocompatible|noconfirm|noconsk|noconskey|nocopyindent|nocp|nocscopetag|nocscopeverbose|nocst|nocsverb|nocuc|nocul|nocursorcolumn|nocursorline|nodeco|nodelcombine|nodg|nodiff|nodigraph|nodisable|noea|noeb|noed|noedcompatible|noek|noendofline|noeol|noequalalways|noerrorbells|noesckeys|noet|noex|noexpandtab|noexrc|nofen|nofk|nofkmap|nofoldenable|nogd|nogdefault|noguipty|nohid|nohidden|nohk|nohkmap|nohkmapp|nohkp|nohls|noic|noicon|noignorecase|noim|noimc|noimcmdline|noimd|noincsearch|noinf|noinfercase|noinsertmode|nois|nojoinspaces|nojs|nolazyredraw|nolbr|nolinebreak|nolisp|nolist|noloadplugins|nolpl|nolz|noma|nomacatsui|nomagic|nomh|noml|nomod|nomodeline|nomodifiable|nomodified|nomore|nomousef|nomousefocus|nomousehide|nonu|nonumber|noodev|noopendevice|nopaste|nopi|nopreserveindent|nopreviewwindow|noprompt|nopvw|noreadonly|noremap|norestorescreen|norevins|nori|norightleft|norightleftcmd|norl|norlc|noro|nors|noru|noruler|nosb|nosc|noscb|noscrollbind|noscs|nosecure|nosft|noshellslash|noshelltemp|noshiftround|noshortname|noshowcmd|noshowfulltag|noshowmatch|noshowmode|nosi|nosm|nosmartcase|nosmartindent|nosmarttab|nosmd|nosn|nosol|nospell|nosplitbelow|nosplitright|nospr|nosr|nossl|nosta|nostartofline|nostmp|noswapfile|noswf|nota|notagbsearch|notagrelative|notagstack|notbi|notbidi|notbs|notermbidi|noterse|notextauto|notextmode|notf|notgst|notildeop|notimeout|notitle|noto|notop|notr|nottimeout|nottybuiltin|nottyfast|notx|novb|novisualbell|nowa|nowarn|nowb|noweirdinvert|nowfh|nowfw|nowildmenu|nowinfixheight|nowinfixwidth|nowiv|nowmnu|nowrap|nowrapscan|nowrite|nowriteany|nowritebackup|nows|nrformats|numberwidth|nuw|odev|oft|ofu|omnifunc|opendevice|operatorfunc|opfunc|osfiletype|pa|para|paragraphs|paste|pastetoggle|patchexpr|patchmode|path|pdev|penc|pex|pexpr|pfn|ph|pheader|pi|pm|pmbcs|pmbfn|popt|preserveindent|previewheight|previewwindow|printdevice|printencoding|printexpr|printfont|printheader|printmbcharset|printmbfont|printoptions|prompt|pt|pumheight|pvh|pvw|qe|quoteescape|readonly|remap|report|restorescreen|revins|rightleft|rightleftcmd|rl|rlc|ro|rs|rtp|ruf|ruler|rulerformat|runtimepath|sbo|sc|scb|scr|scroll|scrollbind|scrolljump|scrolloff|scrollopt|scs|sect|sections|secure|sel|selection|selectmode|sessionoptions|sft|shcf|shellcmdflag|shellpipe|shellquote|shellredir|shellslash|shelltemp|shelltype|shellxquote|shiftround|shiftwidth|shm|shortmess|shortname|showbreak|showcmd|showfulltag|showmatch|showmode|showtabline|shq|si|sidescroll|sidescrolloff|siso|sj|slm|smartcase|smartindent|smarttab|smc|smd|softtabstop|sol|spc|spell|spellcapcheck|spellfile|spelllang|spellsuggest|spf|spl|splitbelow|splitright|sps|sr|srr|ss|ssl|ssop|stal|startofline|statusline|stl|stmp|su|sua|suffixes|suffixesadd|sw|swapfile|swapsync|swb|swf|switchbuf|sws|sxq|syn|synmaxcol|syntax|t_AB|t_AF|t_AL|t_CS|t_CV|t_Ce|t_Co|t_Cs|t_DL|t_EI|t_F1|t_F2|t_F3|t_F4|t_F5|t_F6|t_F7|t_F8|t_F9|t_IE|t_IS|t_K1|t_K3|t_K4|t_K5|t_K6|t_K7|t_K8|t_K9|t_KA|t_KB|t_KC|t_KD|t_KE|t_KF|t_KG|t_KH|t_KI|t_KJ|t_KK|t_KL|t_RI|t_RV|t_SI|t_Sb|t_Sf|t_WP|t_WS|t_ZH|t_ZR|t_al|t_bc|t_cd|t_ce|t_cl|t_cm|t_cs|t_da|t_db|t_dl|t_fs|t_k1|t_k2|t_k3|t_k4|t_k5|t_k6|t_k7|t_k8|t_k9|t_kB|t_kD|t_kI|t_kN|t_kP|t_kb|t_kd|t_ke|t_kh|t_kl|t_kr|t_ks|t_ku|t_le|t_mb|t_md|t_me|t_mr|t_ms|t_nd|t_op|t_se|t_so|t_sr|t_te|t_ti|t_ts|t_ue|t_us|t_ut|t_vb|t_ve|t_vi|t_vs|t_xs|tabline|tabpagemax|tabstop|tagbsearch|taglength|tagrelative|tagstack|tal|tb|tbi|tbidi|tbis|tbs|tenc|term|termbidi|termencoding|terse|textauto|textmode|textwidth|tgst|thesaurus|tildeop|timeout|timeoutlen|title|titlelen|titleold|titlestring|toolbar|toolbariconsize|top|tpm|tsl|tsr|ttimeout|ttimeoutlen|ttm|tty|ttybuiltin|ttyfast|ttym|ttymouse|ttyscroll|ttytype|tw|tx|uc|ul|undolevels|updatecount|updatetime|ut|vb|vbs|vdir|verbosefile|vfile|viewdir|viewoptions|viminfo|virtualedit|visualbell|vop|wak|warn|wb|wc|wcm|wd|weirdinvert|wfh|wfw|whichwrap|wi|wig|wildchar|wildcharm|wildignore|wildmenu|wildmode|wildoptions|wim|winaltkeys|window|winfixheight|winfixwidth|winheight|winminheight|winminwidth|winwidth|wiv|wiw|wm|wmh|wmnu|wmw|wop|wrap|wrapmargin|wrapscan|writeany|writebackup|writedelay|ww)\b/,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?)\b/i,operator:/\|\||&&|[-+.]=?|[=!](?:[=~][#?]?)?|[<>]=?[#?]?|[*\/%?]|\b(?:is(?:not)?)\b/,punctuation:/[{}[\](),;:]/}}function Om(e){e.languages["visual-basic"]={comment:{pattern:/(?:['‘’]|REM\b)(?:[^\r\n_]|_(?:\r\n?|\n)?)*/i,inside:{keyword:/^REM/i}},directive:{pattern:/#(?:Const|Else|ElseIf|End|ExternalChecksum|ExternalSource|If|Region)(?:\b_[ \t]*(?:\r\n?|\n)|.)+/i,alias:"property",greedy:!0},string:{pattern:/\$?["“”](?:["“”]{2}|[^"“”])*["“”]C?/i,greedy:!0},date:{pattern:/#[ \t]*(?:\d+([/-])\d+\1\d+(?:[ \t]+(?:\d+[ \t]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[ \t]*(?:AM|PM))?))?|\d+[ \t]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[ \t]*(?:AM|PM))?)[ \t]*#/i,alias:"number"},number:/(?:(?:\b\d+(?:\.\d+)?|\.\d+)(?:E[+-]?\d+)?|&[HO][\dA-F]+)(?:[FRD]|U?[ILS])?/i,boolean:/\b(?:False|Nothing|True)\b/i,keyword:/\b(?:AddHandler|AddressOf|Alias|And(?:Also)?|As|Boolean|ByRef|Byte|ByVal|Call|Case|Catch|C(?:Bool|Byte|Char|Date|Dbl|Dec|Int|Lng|Obj|SByte|Short|Sng|Str|Type|UInt|ULng|UShort)|Char|Class|Const|Continue|Currency|Date|Decimal|Declare|Default|Delegate|Dim|DirectCast|Do|Double|Each|Else(?:If)?|End(?:If)?|Enum|Erase|Error|Event|Exit|Finally|For|Friend|Function|Get(?:Type|XMLNamespace)?|Global|GoSub|GoTo|Handles|If|Implements|Imports|In|Inherits|Integer|Interface|Is|IsNot|Let|Lib|Like|Long|Loop|Me|Mod|Module|Must(?:Inherit|Override)|My(?:Base|Class)|Namespace|Narrowing|New|Next|Not(?:Inheritable|Overridable)?|Object|Of|On|Operator|Option(?:al)?|Or(?:Else)?|Out|Overloads|Overridable|Overrides|ParamArray|Partial|Private|Property|Protected|Public|RaiseEvent|ReadOnly|ReDim|RemoveHandler|Resume|Return|SByte|Select|Set|Shadows|Shared|short|Single|Static|Step|Stop|String|Structure|Sub|SyncLock|Then|Throw|To|Try|TryCast|Type|TypeOf|U(?:Integer|Long|Short)|Until|Using|Variant|Wend|When|While|Widening|With(?:Events)?|WriteOnly|Xor)\b/i,operator:/[+\-*/\\^<=>&#@$%!]|\b_(?=[ \t]*[\r\n])/,punctuation:/[{}().,:?]/},e.languages.vb=e.languages["visual-basic"],e.languages.vba=e.languages["visual-basic"]}function Nm(e){e.languages.warpscript={comment:/#.*|\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'|<'(?:[^\\']|'(?!>)|\\.)*'>/,greedy:!0},variable:/\$\S+/,macro:{pattern:/@\S+/,alias:"property"},keyword:/\b(?:BREAK|CHECKMACRO|CONTINUE|CUDF|DEFINED|DEFINEDMACRO|EVAL|FAIL|FOR|FOREACH|FORSTEP|IFT|IFTE|MSGFAIL|NRETURN|RETHROW|RETURN|SWITCH|TRY|UDF|UNTIL|WHILE)\b/,number:/[+-]?\b(?:NaN|Infinity|\d+(?:\.\d*)?(?:[Ee][+-]?\d+)?|0x[\da-fA-F]+|0b[01]+)\b/,boolean:/\b(?:F|T|false|true)\b/,punctuation:/<%|%>|[{}[\]()]/,operator:/==|&&?|\|\|?|\*\*?|>>>?|<<|[<>!~]=?|[-/%^]|\+!?|\b(?:AND|NOT|OR)\b/}}function Im(e){e.languages.wasm={comment:[/\(;[\s\S]*?;\)/,{pattern:/;;.*/,greedy:!0}],string:{pattern:/"(?:\\[\s\S]|[^"\\])*"/,greedy:!0},keyword:[{pattern:/\b(?:align|offset)=/,inside:{operator:/=/}},{pattern:/\b(?:(?:f32|f64|i32|i64)(?:\.(?:abs|add|and|ceil|clz|const|convert_[su]\/i(?:32|64)|copysign|ctz|demote\/f64|div(?:_[su])?|eqz?|extend_[su]\/i32|floor|ge(?:_[su])?|gt(?:_[su])?|le(?:_[su])?|load(?:(?:8|16|32)_[su])?|lt(?:_[su])?|max|min|mul|neg?|nearest|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|sqrt|store(?:8|16|32)?|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))?|memory\.(?:grow|size))\b/,inside:{punctuation:/\./}},/\b(?:anyfunc|block|br(?:_if|_table)?|call(?:_indirect)?|data|drop|elem|else|end|export|func|get_(?:global|local)|global|if|import|local|loop|memory|module|mut|nop|offset|param|result|return|select|set_(?:global|local)|start|table|tee_local|then|type|unreachable)\b/],variable:/\$[\w!#$%&'*+\-./:<=>?@\\^`|~]+/,number:/[+-]?\b(?:\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:[eE][+-]?\d(?:_?\d)*)?|0x[\da-fA-F](?:_?[\da-fA-F])*(?:\.[\da-fA-F](?:_?[\da-fA-D])*)?(?:[pP][+-]?\d(?:_?\d)*)?)\b|\binf\b|\bnan(?::0x[\da-fA-F](?:_?[\da-fA-D])*)?\b/,punctuation:/[()]/}}function km(e){!function(e){var t=/(?:\B-|\b_|\b)[A-Za-z][\w-]*(?![\w-])/.source,n="(?:"+/\b(?:unsigned\s+)?long\s+long(?![\w-])/.source+"|"+/\b(?:unrestricted|unsigned)\s+[a-z]+(?![\w-])/.source+"|"+/(?!(?:unrestricted|unsigned)\b)/.source+t+/(?:\s*<(?:[^<>]|<[^<>]*>)*>)?/.source+")"+/(?:\s*\?)?/.source,r={};for(var i in e.languages["web-idl"]={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/"[^"]*"/,greedy:!0},namespace:{pattern:RegExp(/(\bnamespace\s+)/.source+t),lookbehind:!0},"class-name":[{pattern:/(^|[^\w-])(?:iterable|maplike|setlike)\s*<(?:[^<>]|<[^<>]*>)*>/,lookbehind:!0,inside:r},{pattern:RegExp(/(\b(?:attribute|const|deleter|getter|optional|setter)\s+)/.source+n),lookbehind:!0,inside:r},{pattern:RegExp("("+/\bcallback\s+/.source+t+/\s*=\s*/.source+")"+n),lookbehind:!0,inside:r},{pattern:RegExp(/(\btypedef\b\s*)/.source+n),lookbehind:!0,inside:r},{pattern:RegExp(/(\b(?:callback|dictionary|enum|interface(?:\s+mixin)?)\s+)(?!(?:interface|mixin)\b)/.source+t),lookbehind:!0},{pattern:RegExp(/(:\s*)/.source+t),lookbehind:!0},RegExp(t+/(?=\s+(?:implements|includes)\b)/.source),{pattern:RegExp(/(\b(?:implements|includes)\s+)/.source+t),lookbehind:!0},{pattern:RegExp(n+"(?="+/\s*(?:\.{3}\s*)?/.source+t+/\s*[(),;=]/.source+")"),inside:r}],builtin:/\b(?:ArrayBuffer|BigInt64Array|BigUint64Array|ByteString|DOMString|DataView|Float32Array|Float64Array|FrozenArray|Int16Array|Int32Array|Int8Array|ObservableArray|Promise|USVString|Uint16Array|Uint32Array|Uint8Array|Uint8ClampedArray)\b/,keyword:[/\b(?:async|attribute|callback|const|constructor|deleter|dictionary|enum|getter|implements|includes|inherit|interface|mixin|namespace|null|optional|or|partial|readonly|required|setter|static|stringifier|typedef|unrestricted)\b/,/\b(?:any|bigint|boolean|byte|double|float|iterable|long|maplike|object|octet|record|sequence|setlike|short|symbol|undefined|unsigned|void)\b/],boolean:/\b(?:false|true)\b/,number:{pattern:/(^|[^\w-])-?(?:0x[0-9a-f]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|NaN|Infinity)(?![\w-])/i,lookbehind:!0},operator:/\.{3}|[=:?<>-]/,punctuation:/[(){}[\].,;]/},e.languages["web-idl"])"class-name"!==i&&(r[i]=e.languages["web-idl"][i]);e.languages.webidl=e.languages["web-idl"]}(e)}function Dm(e){e.languages.wgsl={comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},"builtin-attribute":{pattern:/(@)builtin\(.*?\)/,lookbehind:!0,inside:{attribute:{pattern:/^builtin/,alias:"attr-name"},punctuation:/[(),]/,"built-in-values":{pattern:/\b(?:frag_depth|front_facing|global_invocation_id|instance_index|local_invocation_id|local_invocation_index|num_workgroups|position|sample_index|sample_mask|vertex_index|workgroup_id)\b/,alias:"attr-value"}}},attributes:{pattern:/(@)(?:align|binding|compute|const|fragment|group|id|interpolate|invariant|location|size|vertex|workgroup_size)/i,lookbehind:!0,alias:"attr-name"},functions:{pattern:/\b(fn\s+)[_a-zA-Z]\w*(?=[(<])/,lookbehind:!0,alias:"function"},keyword:/\b(?:bitcast|break|case|const|continue|continuing|default|discard|else|enable|fallthrough|fn|for|function|if|let|loop|private|return|storage|struct|switch|type|uniform|var|while|workgroup)\b/,builtin:/\b(?:abs|acos|acosh|all|any|array|asin|asinh|atan|atan2|atanh|atomic|atomicAdd|atomicAnd|atomicCompareExchangeWeak|atomicExchange|atomicLoad|atomicMax|atomicMin|atomicOr|atomicStore|atomicSub|atomicXor|bool|ceil|clamp|cos|cosh|countLeadingZeros|countOneBits|countTrailingZeros|cross|degrees|determinant|distance|dot|dpdx|dpdxCoarse|dpdxFine|dpdy|dpdyCoarse|dpdyFine|exp|exp2|extractBits|f32|f64|faceForward|firstLeadingBit|floor|fma|fract|frexp|fwidth|fwidthCoarse|fwidthFine|i32|i64|insertBits|inverseSqrt|ldexp|length|log|log2|mat[2-4]x[2-4]|max|min|mix|modf|normalize|override|pack2x16float|pack2x16snorm|pack2x16unorm|pack4x8snorm|pack4x8unorm|pow|ptr|quantizeToF16|radians|reflect|refract|reverseBits|round|sampler|sampler_comparison|select|shiftLeft|shiftRight|sign|sin|sinh|smoothstep|sqrt|staticAssert|step|storageBarrier|tan|tanh|textureDimensions|textureGather|textureGatherCompare|textureLoad|textureNumLayers|textureNumLevels|textureNumSamples|textureSample|textureSampleBias|textureSampleCompare|textureSampleCompareLevel|textureSampleGrad|textureSampleLevel|textureStore|texture_1d|texture_2d|texture_2d_array|texture_3d|texture_cube|texture_cube_array|texture_depth_2d|texture_depth_2d_array|texture_depth_cube|texture_depth_cube_array|texture_depth_multisampled_2d|texture_multisampled_2d|texture_storage_1d|texture_storage_2d|texture_storage_2d_array|texture_storage_3d|transpose|trunc|u32|u64|unpack2x16float|unpack2x16snorm|unpack2x16unorm|unpack4x8snorm|unpack4x8unorm|vec[2-4]|workgroupBarrier)\b/,"function-calls":{pattern:/\b[_a-z]\w*(?=\()/i,alias:"function"},"class-name":/\b(?:[A-Z][A-Za-z0-9]*)\b/,"bool-literal":{pattern:/\b(?:false|true)\b/,alias:"boolean"},"hex-int-literal":{pattern:/\b0[xX][0-9a-fA-F]+[iu]?\b(?![.pP])/,alias:"number"},"hex-float-literal":{pattern:/\b0[xX][0-9a-fA-F]*(?:\.[0-9a-fA-F]*)?(?:[pP][+-]?\d+[fh]?)?/,alias:"number"},"decimal-float-literal":[{pattern:/\d*\.\d+(?:[eE](?:\+|-)?\d+)?[fh]?/,alias:"number"},{pattern:/\d+\.\d*(?:[eE](?:\+|-)?\d+)?[fh]?/,alias:"number"},{pattern:/\d+[eE](?:\+|-)?\d+[fh]?/,alias:"number"},{pattern:/\b\d+[fh]\b/,alias:"number"}],"int-literal":{pattern:/\b\d+[iu]?\b/,alias:"number"},operator:[{pattern:/(?:\^|~|\|(?!\|)|\|\||&&|<<|>>|!)(?!=)/},{pattern:/&(?![&=])/},{pattern:/(?:\+=|-=|\*=|\/=|%=|\^=|&=|\|=|<<=|>>=)/},{pattern:/(^|[^<>=!])=(?![=>])/,lookbehind:!0},{pattern:/(?:==|!=|<=|\+\+|--|(^|[^=])>=)/,lookbehind:!0},{pattern:/(?:(?:[+%]|(?:\*(?!\w)))(?!=))|(?:-(?!>))|(?:\/(?!\/))/},{pattern:/->/}],punctuation:/[@(){}[\],;<>:.]/}}function Pm(e){e.register(eu),e.languages.wiki=e.languages.extend("markup",{"block-comment":{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0,alias:"comment"},heading:{pattern:/^(=+)[^=\r\n].*?\1/m,inside:{punctuation:/^=+|=+$/,important:/.+/}},emphasis:{pattern:/('{2,5}).+?\1/,inside:{"bold-italic":{pattern:/(''''').+?(?=\1)/,lookbehind:!0,alias:["bold","italic"]},bold:{pattern:/(''')[^'](?:.*?[^'])?(?=\1)/,lookbehind:!0},italic:{pattern:/('')[^'](?:.*?[^'])?(?=\1)/,lookbehind:!0},punctuation:/^''+|''+$/}},hr:{pattern:/^-{4,}/m,alias:"punctuation"},url:[/ISBN +(?:97[89][ -]?)?(?:\d[ -]?){9}[\dx]\b|(?:PMID|RFC) +\d+/i,/\[\[.+?\]\]|\[.+?\]/],variable:[/__[A-Z]+__/,/\{{3}.+?\}{3}/,/\{\{.+?\}\}/],symbol:[/^#redirect/im,/~{3,5}/],"table-tag":{pattern:/((?:^|[|!])[|!])[^|\r\n]+\|(?!\|)/m,lookbehind:!0,inside:{"table-bar":{pattern:/\|$/,alias:"punctuation"},rest:e.languages.markup.tag.inside}},punctuation:/^(?:\{\||\|\}|\|-|[*#:;!|])|\|\||!!/m}),e.languages.insertBefore("wiki","tag",{nowiki:{pattern:/<(nowiki|pre|source)\b[^>]*>[\s\S]*?<\/\1>/i,inside:{tag:{pattern:/<(?:nowiki|pre|source)\b[^>]*>|<\/(?:nowiki|pre|source)>/i,inside:e.languages.markup.tag.inside}}}})}function Mm(e){e.languages.wolfram={comment:/\(\*(?:\(\*(?:[^*]|\*(?!\)))*\*\)|(?!\(\*)[\s\S])*?\*\)/,string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:Abs|AbsArg|Accuracy|Block|Do|For|Function|If|Manipulate|Module|Nest|NestList|None|Return|Switch|Table|Which|While)\b/,context:{pattern:/\b\w+`+\w*/,alias:"class-name"},blank:{pattern:/\b\w+_\b/,alias:"regex"},"global-variable":{pattern:/\$\w+/,alias:"variable"},boolean:/\b(?:False|True)\b/,number:/(?:\b(?=\d)|\B(?=\.))(?:0[bo])?(?:(?:\d|0x[\da-f])[\da-f]*(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?j?\b/i,operator:/\/\.|;|=\.|\^=|\^:=|:=|<<|>>|<\||\|>|:>|\|->|->|<-|@@@|@@|@|\/@|=!=|===|==|=|\+|-|\[\/-+%=\]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},e.languages.mathematica=e.languages.wolfram,e.languages.wl=e.languages.wolfram,e.languages.nb=e.languages.wolfram}function Fm(e){e.languages.wren={comment:[{pattern:/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|\/\*(?:[^*/]|\*(?!\/)|\/(?!\*))*\*\/)*\*\/)*\*\//,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],"triple-quoted-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},"string-literal":null,hashbang:{pattern:/^#!\/.+/,greedy:!0,alias:"comment"},attribute:{pattern:/#!?[ \t\u3000]*\w+/,alias:"keyword"},"class-name":[{pattern:/(\bclass\s+)\w+/,lookbehind:!0},/\b[A-Z][a-z\d_]*\b/],constant:/\b[A-Z][A-Z\d_]*\b/,null:{pattern:/\bnull\b/,alias:"keyword"},keyword:/\b(?:as|break|class|construct|continue|else|for|foreign|if|import|in|is|return|static|super|this|var|while)\b/,boolean:/\b(?:false|true)\b/,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,function:/\b[a-z_]\w*(?=\s*[({])/i,operator:/<<|>>|[=!<>]=?|&&|\|\||[-+*/%~^&|?:]|\.{2,3}/,punctuation:/[\[\](){}.,;]/},e.languages.wren["string-literal"]={pattern:/(^|[^\\"])"(?:[^\\"%]|\\[\s\S]|%(?!\()|%\((?:[^()]|\((?:[^()]|\([^)]*\))*\))*\))*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)%\((?:[^()]|\((?:[^()]|\([^)]*\))*\))*\)/,lookbehind:!0,inside:{expression:{pattern:/^(%\()[\s\S]+(?=\)$)/,lookbehind:!0,inside:e.languages.wren},"interpolation-punctuation":{pattern:/^%\(|\)$/,alias:"punctuation"}}},string:/[\s\S]+/}}}function Hm(e){e.register(eu),function(e){e.languages.xeora=e.languages.extend("markup",{constant:{pattern:/\$(?:DomainContents|PageRenderDuration)\$/,inside:{punctuation:{pattern:/\$/}}},variable:{pattern:/\$@?(?:#+|[-+*~=^])?[\w.]+\$/,inside:{punctuation:{pattern:/[$.]/},operator:{pattern:/#+|[-+*~=^@]/}}},"function-inline":{pattern:/\$F:[-\w.]+\?[-\w.]+(?:,(?:(?:@[-#]*\w+\.[\w+.]\.*)*\|)*(?:(?:[\w+]|[-#*.~^]+[\w+]|=\S)(?:[^$=]|=+[^=])*=*|(?:@[-#]*\w+\.[\w+.]\.*)+(?:(?:[\w+]|[-#*~^][-#*.~^]*[\w+]|=\S)(?:[^$=]|=+[^=])*=*)?)?)?\$/,inside:{variable:{pattern:/(?:[,|])@?(?:#+|[-+*~=^])?[\w.]+/,inside:{punctuation:{pattern:/[,.|]/},operator:{pattern:/#+|[-+*~=^@]/}}},punctuation:{pattern:/\$\w:|[$:?.,|]/}},alias:"function"},"function-block":{pattern:/\$XF:\{[-\w.]+\?[-\w.]+(?:,(?:(?:@[-#]*\w+\.[\w+.]\.*)*\|)*(?:(?:[\w+]|[-#*.~^]+[\w+]|=\S)(?:[^$=]|=+[^=])*=*|(?:@[-#]*\w+\.[\w+.]\.*)+(?:(?:[\w+]|[-#*~^][-#*.~^]*[\w+]|=\S)(?:[^$=]|=+[^=])*=*)?)?)?\}:XF\$/,inside:{punctuation:{pattern:/[$:{}?.,|]/}},alias:"function"},"directive-inline":{pattern:/\$\w(?:#\d+\+?)?(?:\[[-\w.]+\])?:[-\/\w.]+\$/,inside:{punctuation:{pattern:/\$(?:\w:|C(?:\[|#\d))?|[:{[\]]/,inside:{tag:{pattern:/#\d/}}}},alias:"function"},"directive-block-open":{pattern:/\$\w+:\{|\$\w(?:#\d+\+?)?(?:\[[-\w.]+\])?:[-\w.]+:\{(?:![A-Z]+)?/,inside:{punctuation:{pattern:/\$(?:\w:|C(?:\[|#\d))?|[:{[\]]/,inside:{tag:{pattern:/#\d/}}},attribute:{pattern:/![A-Z]+$/,inside:{punctuation:{pattern:/!/}},alias:"keyword"}},alias:"function"},"directive-block-separator":{pattern:/\}:[-\w.]+:\{/,inside:{punctuation:{pattern:/[:{}]/}},alias:"function"},"directive-block-close":{pattern:/\}:[-\w.]+\$/,inside:{punctuation:{pattern:/[:{}$]/}},alias:"function"}}),e.languages.insertBefore("inside","punctuation",{variable:e.languages.xeora["function-inline"].inside.variable},e.languages.xeora["function-block"]),e.languages.xeoracube=e.languages.xeora}(e)}function Bm(e){e.register(eu),function(e){function t(t,n){e.languages[t]&&e.languages.insertBefore(t,"comment",{"doc-comment":n})}var n=e.languages.markup.tag,r={pattern:/\/\/\/.*/,greedy:!0,alias:"comment",inside:{tag:n}},i={pattern:/'''.*/,greedy:!0,alias:"comment",inside:{tag:n}};t("csharp",r),t("fsharp",r),t("vbnet",i)}(e)}function Um(e){e.languages.xojo={comment:{pattern:/(?:'|\/\/|Rem\b).+/i,greedy:!0},string:{pattern:/"(?:""|[^"])*"/,greedy:!0},number:[/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,/&[bchou][a-z\d]+/i],directive:{pattern:/#(?:Else|ElseIf|Endif|If|Pragma)\b/i,alias:"property"},keyword:/\b(?:AddHandler|App|Array|As(?:signs)?|Auto|Boolean|Break|By(?:Ref|Val)|Byte|Call|Case|Catch|CFStringRef|CGFloat|Class|Color|Const|Continue|CString|Currency|CurrentMethodName|Declare|Delegate|Dim|Do(?:uble|wnTo)?|Each|Else(?:If)?|End|Enumeration|Event|Exception|Exit|Extends|False|Finally|For|Function|Get|GetTypeInfo|Global|GOTO|If|Implements|In|Inherits|Int(?:8|16|32|64|eger|erface)?|Lib|Loop|Me|Module|Next|Nil|Object|Optional|OSType|ParamArray|Private|Property|Protected|PString|Ptr|Raise(?:Event)?|ReDim|RemoveHandler|Return|Select(?:or)?|Self|Set|Shared|Short|Single|Soft|Static|Step|String|Sub|Super|Text|Then|To|True|Try|Ubound|UInt(?:8|16|32|64|eger)?|Until|Using|Var(?:iant)?|Wend|While|WindowPtr|WString)\b/i,operator:/<[=>]?|>=?|[+\-*\/\\^=]|\b(?:AddressOf|And|Ctype|IsA?|Mod|New|Not|Or|WeakAddressOf|Xor)\b/i,punctuation:/[.,;:()]/}}function jm(e){e.register(eu),function(e){e.languages.xquery=e.languages.extend("markup",{"xquery-comment":{pattern:/\(:[\s\S]*?:\)/,greedy:!0,alias:"comment"},string:{pattern:/(["'])(?:\1\1|(?!\1)[\s\S])*\1/,greedy:!0},extension:{pattern:/\(#.+?#\)/,alias:"symbol"},variable:/\$[-\w:]+/,axis:{pattern:/(^|[^-])(?:ancestor(?:-or-self)?|attribute|child|descendant(?:-or-self)?|following(?:-sibling)?|parent|preceding(?:-sibling)?|self)(?=::)/,lookbehind:!0,alias:"operator"},"keyword-operator":{pattern:/(^|[^:-])\b(?:and|castable as|div|eq|except|ge|gt|idiv|instance of|intersect|is|le|lt|mod|ne|or|union)\b(?=$|[^:-])/,lookbehind:!0,alias:"operator"},keyword:{pattern:/(^|[^:-])\b(?:as|ascending|at|base-uri|boundary-space|case|cast as|collation|construction|copy-namespaces|declare|default|descending|else|empty (?:greatest|least)|encoding|every|external|for|function|if|import|in|inherit|lax|let|map|module|namespace|no-inherit|no-preserve|option|order(?: by|ed|ing)?|preserve|return|satisfies|schema|some|stable|strict|strip|then|to|treat as|typeswitch|unordered|validate|variable|version|where|xquery)\b(?=$|[^:-])/,lookbehind:!0},function:/[\w-]+(?::[\w-]+)*(?=\s*\()/,"xquery-element":{pattern:/(element\s+)[\w-]+(?::[\w-]+)*/,lookbehind:!0,alias:"tag"},"xquery-attribute":{pattern:/(attribute\s+)[\w-]+(?::[\w-]+)*/,lookbehind:!0,alias:"attr-name"},builtin:{pattern:/(^|[^:-])\b(?:attribute|comment|document|element|processing-instruction|text|xs:(?:ENTITIES|ENTITY|ID|IDREFS?|NCName|NMTOKENS?|NOTATION|Name|QName|anyAtomicType|anyType|anyURI|base64Binary|boolean|byte|date|dateTime|dayTimeDuration|decimal|double|duration|float|gDay|gMonth|gMonthDay|gYear|gYearMonth|hexBinary|int|integer|language|long|negativeInteger|nonNegativeInteger|nonPositiveInteger|normalizedString|positiveInteger|short|string|time|token|unsigned(?:Byte|Int|Long|Short)|untyped(?:Atomic)?|yearMonthDuration))\b(?=$|[^:-])/,lookbehind:!0},number:/\b\d+(?:\.\d+)?(?:E[+-]?\d+)?/,operator:[/[+*=?|@]|\.\.?|:=|!=|<[=<]?|>[=>]?/,{pattern:/(\s)-(?=\s)/,lookbehind:!0}],punctuation:/[[\](){},;:/]/}),e.languages.xquery.tag.pattern=/<\/?(?!\d)[^\s>\/=$<%]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/,e.languages.xquery.tag.inside["attr-value"].pattern=/=(?:("|')(?:\\[\s\S]|\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}|(?!\1)[^\\])*\1|[^\s'">=]+)/,e.languages.xquery.tag.inside["attr-value"].inside.punctuation=/^="|"$/,e.languages.xquery.tag.inside["attr-value"].inside.expression={pattern:/\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}/,inside:e.languages.xquery,alias:"language-xquery"};var t=function(e){return"string"==typeof e?e:"string"==typeof e.content?e.content:e.content.map(t).join("")},n=function(r){for(var i=[],o=0;o<r.length;o++){var a=r[o],s=!1;if("string"!=typeof a&&("tag"===a.type&&a.content[0]&&"tag"===a.content[0].type?"</"===a.content[0].content[0].content?i.length>0&&i[i.length-1].tagName===t(a.content[0].content[1])&&i.pop():"/>"===a.content[a.content.length-1].content||i.push({tagName:t(a.content[0].content[1]),openedBraces:0}):!(i.length>0&&"punctuation"===a.type&&"{"===a.content)||r[o+1]&&"punctuation"===r[o+1].type&&"{"===r[o+1].content||r[o-1]&&"plain-text"===r[o-1].type&&"{"===r[o-1].content?i.length>0&&i[i.length-1].openedBraces>0&&"punctuation"===a.type&&"}"===a.content?i[i.length-1].openedBraces--:"comment"!==a.type&&(s=!0):i[i.length-1].openedBraces++),(s||"string"==typeof a)&&i.length>0&&0===i[i.length-1].openedBraces){var l=t(a);o<r.length-1&&("string"==typeof r[o+1]||"plain-text"===r[o+1].type)&&(l+=t(r[o+1]),r.splice(o+1,1)),o>0&&("string"==typeof r[o-1]||"plain-text"===r[o-1].type)&&(l=t(r[o-1])+l,r.splice(o-1,1),o--),/^\s+$/.test(l)?r[o]=l:r[o]=new e.Token("plain-text",l,null,l)}a.content&&"string"!=typeof a.content&&n(a.content)}};e.hooks.add("after-tokenize",(function(e){"xquery"===e.language&&n(e.tokens)}))}(e)}function Gm(e){e.languages.yang={comment:/\/\*[\s\S]*?\*\/|\/\/.*/,string:{pattern:/"(?:[^\\"]|\\.)*"|'[^']*'/,greedy:!0},keyword:{pattern:/(^|[{};\r\n][ \t]*)[a-z_][\w.-]*/i,lookbehind:!0},namespace:{pattern:/(\s)[a-z_][\w.-]*(?=:)/i,lookbehind:!0},boolean:/\b(?:false|true)\b/,operator:/\+/,punctuation:/[{};:]/}}function Ym(e){!function(e){function t(e){return function(){return e}}var n=/\b(?:align|allowzero|and|anyframe|anytype|asm|async|await|break|cancel|catch|comptime|const|continue|defer|else|enum|errdefer|error|export|extern|fn|for|if|inline|linksection|nakedcc|noalias|nosuspend|null|or|orelse|packed|promise|pub|resume|return|stdcallcc|struct|suspend|switch|test|threadlocal|try|undefined|union|unreachable|usingnamespace|var|volatile|while)\b/,r="\\b(?!"+n.source+")(?!\\d)\\w+\\b",i=/align\s*\((?:[^()]|\([^()]*\))*\)/.source,o="(?!\\s)(?:!?\\s*(?:"+/(?:\?|\bpromise->|(?:\[[^[\]]*\]|\*(?!\*)|\*\*)(?:\s*<ALIGN>|\s*const\b|\s*volatile\b|\s*allowzero\b)*)/.source.replace(/<ALIGN>/g,t(i))+"\\s*)*"+/(?:\bpromise\b|(?:\berror\.)?<ID>(?:\.<ID>)*(?!\s+<ID>))/.source.replace(/<ID>/g,t(r))+")+";e.languages.zig={comment:[{pattern:/\/\/[/!].*/,alias:"doc-comment"},/\/{2}.*/],string:[{pattern:/(^|[^\\@])c?"(?:[^"\\\r\n]|\\.)*"/,lookbehind:!0,greedy:!0},{pattern:/([\r\n])([ \t]+c?\\{2}).*(?:(?:\r\n?|\n)\2.*)*/,lookbehind:!0,greedy:!0}],char:{pattern:/(^|[^\\])'(?:[^'\\\r\n]|[\uD800-\uDFFF]{2}|\\(?:.|x[a-fA-F\d]{2}|u\{[a-fA-F\d]{1,6}\}))'/,lookbehind:!0,greedy:!0},builtin:/\B@(?!\d)\w+(?=\s*\()/,label:{pattern:/(\b(?:break|continue)\s*:\s*)\w+\b|\b(?!\d)\w+\b(?=\s*:\s*(?:\{|while\b))/,lookbehind:!0},"class-name":[/\b(?!\d)\w+(?=\s*=\s*(?:(?:extern|packed)\s+)?(?:enum|struct|union)\s*[({])/,{pattern:RegExp(/(:\s*)<TYPE>(?=\s*(?:<ALIGN>\s*)?[=;,)])|<TYPE>(?=\s*(?:<ALIGN>\s*)?\{)/.source.replace(/<TYPE>/g,t(o)).replace(/<ALIGN>/g,t(i))),lookbehind:!0,inside:null},{pattern:RegExp(/(\)\s*)<TYPE>(?=\s*(?:<ALIGN>\s*)?;)/.source.replace(/<TYPE>/g,t(o)).replace(/<ALIGN>/g,t(i))),lookbehind:!0,inside:null}],"builtin-type":{pattern:/\b(?:anyerror|bool|c_u?(?:int|long|longlong|short)|c_longdouble|c_void|comptime_(?:float|int)|f(?:16|32|64|128)|[iu](?:8|16|32|64|128|size)|noreturn|type|void)\b/,alias:"keyword"},keyword:n,function:/\b(?!\d)\w+(?=\s*\()/,number:/\b(?:0b[01]+|0o[0-7]+|0x[a-fA-F\d]+(?:\.[a-fA-F\d]*)?(?:[pP][+-]?[a-fA-F\d]+)?|\d+(?:\.\d*)?(?:[eE][+-]?\d+)?)\b/,boolean:/\b(?:false|true)\b/,operator:/\.[*?]|\.{2,3}|[-=]>|\*\*|\+\+|\|\||(?:<<|>>|[-+*]%|[-+*/%^&|<>!=])=?|[?~]/,punctuation:/[.:,;(){}[\]]/},e.languages.zig["class-name"].forEach((function(t){null===t.inside&&(t.inside=e.languages.zig)}))}(e)}function zm(){zm=function(e,t){return new n(e,void 0,t)};var e=RegExp.prototype,t=new WeakMap;function n(e,r,i){var o=new RegExp(e,r);return t.set(o,i||t.get(e)),$m(o,n.prototype)}function r(e,n){var r=t.get(n);return Object.keys(r).reduce((function(t,n){return t[n]=e[r[n]],t}),Object.create(null))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&$m(e,t)}(n,RegExp),n.prototype.exec=function(t){var n=e.exec.call(this,t);return n&&(n.groups=r(n,this)),n},n.prototype[Symbol.replace]=function(n,i){if("string"==typeof i){var o=t.get(this);return e[Symbol.replace].call(this,n,i.replace(/\$<([^>]+)>/g,(function(e,t){return"$"+o[t]})))}if("function"==typeof i){var a=this;return e[Symbol.replace].call(this,n,(function(){var e=arguments;return"object"!=typeof e[e.length-1]&&(e=[].slice.call(e)).push(r(e,a)),i.apply(this,e)}))}return e[Symbol.replace].call(this,n,i)},zm.apply(this,arguments)}function $m(e,t){return $m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},$m(e,t)}function Wm(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Vm(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return Wm(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Wm(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}Zu.highlight=function(e,t){if("string"!=typeof e)throw new TypeError("Expected `string` for `value`, got `"+e+"`");let n,r;if(t&&"object"==typeof t)n=t;else{if(r=t,"string"!=typeof r)throw new TypeError("Expected `string` for `name`, got `"+r+"`");if(!qu.call(Zu.languages,r))throw new Error("Unknown language: `"+r+"` is not registered");n=Zu.languages[r]}return{type:"root",children:Ku.highlight.call(Zu,e,n,r)}},Zu.register=function(e){if("function"!=typeof e||!e.displayName)throw new Error("Expected `function` for `syntax`, got `"+e+"`");qu.call(Zu.languages,e.displayName)||e(Zu)},Zu.alias=function(e,t){const n=Zu.languages;let r,i={};for(r in"string"==typeof e?t&&(i[e]=t):i=e,i)if(qu.call(i,r)){const e=i[r],t="string"==typeof e?[e]:e;let o=-1;for(;++o<t.length;)n[t[o]]=n[r]}},Zu.registered=function(e){if("string"!=typeof e)throw new TypeError("Expected `string` for `aliasOrLanguage`, got `"+e+"`");return qu.call(Zu.languages,e)},Zu.listLanguages=function(){const e=Zu.languages,t=[];let n;for(n in e)qu.call(e,n)&&"object"==typeof e[n]&&t.push(n);return t},Zu.util.encode=function(e){return e},Zu.Token.stringify=function e(t,n){if("string"==typeof t)return{type:"text",value:t};if(Array.isArray(t)){const r=[];let i=-1;for(;++i<t.length;)""!==t[i]&&null!==t[i]&&void 0!==t[i]&&r.push(e(t[i],n));return r}const r={type:t.type,content:e(t.content,n),tag:"span",classes:["token",t.type],attributes:{},language:n};return t.alias&&r.classes.push(..."string"==typeof t.alias?[t.alias]:t.alias),Zu.hooks.run("wrap",r),rc(r.tag+"."+r.classes.join("."),function(e){let t;for(t in e)qu.call(e,t)&&(e[t]=Fu(e[t]));return e}(r.attributes),r.content)},Zu.register(Kc),Zu.register(qc),Zu.register(Xc),Zu.register(Zc),Zu.register(Qc),Zu.register(Jc),Zu.register(eu),Zu.register(tu),Zu.register(nu),Zu.register(ru),Zu.register(iu),Zu.register(ou),Zu.register(au),Zu.register(su),Zu.register(lu),Zu.register(cu),Zu.register(uu),Zu.register(hu),Zu.register(pu),Zu.register(du),Zu.register(fu),Zu.register(mu),Zu.register(gu),Zu.register(yu),Zu.register(vu),Zu.register(_u),Zu.register(bu),Zu.register(Eu),Zu.register(Tu),Zu.register(xu),Zu.register(Su),Zu.register(Cu),Zu.register(Au),Zu.register(Ru),Zu.register(wu),Zu.register(Lu),Qu.displayName="abap",Qu.aliases=[],Ju.displayName="abnf",Ju.aliases=[],eh.displayName="actionscript",eh.aliases=[],th.displayName="ada",th.aliases=[],nh.displayName="agda",nh.aliases=[],rh.displayName="al",rh.aliases=[],ih.displayName="antlr4",ih.aliases=["g4"],oh.displayName="apacheconf",oh.aliases=[],ah.displayName="apex",ah.aliases=[],sh.displayName="apl",sh.aliases=[],lh.displayName="applescript",lh.aliases=[],ch.displayName="aql",ch.aliases=[],uh.displayName="arff",uh.aliases=[],hh.displayName="armasm",hh.aliases=["arm-asm"],ph.displayName="arturo",ph.aliases=["art"],dh.displayName="asciidoc",dh.aliases=["adoc"],fh.displayName="aspnet",fh.aliases=[],mh.displayName="asm6502",mh.aliases=[],gh.displayName="asmatmel",gh.aliases=[],yh.displayName="autohotkey",yh.aliases=[],vh.displayName="autoit",vh.aliases=[],_h.displayName="avisynth",_h.aliases=["avs"],bh.displayName="avro-idl",bh.aliases=["avdl"],Eh.displayName="awk",Eh.aliases=["gawk"],Th.displayName="batch",Th.aliases=[],xh.displayName="bbcode",xh.aliases=["shortcode"],Sh.displayName="bbj",Sh.aliases=[],Ch.displayName="bicep",Ch.aliases=[],Ah.displayName="birb",Ah.aliases=[],Rh.displayName="bison",Rh.aliases=[],wh.displayName="bnf",wh.aliases=["rbnf"],Lh.displayName="bqn",Lh.aliases=[],Oh.displayName="brainfuck",Oh.aliases=[],Nh.displayName="brightscript",Nh.aliases=[],Ih.displayName="bro",Ih.aliases=[],kh.displayName="bsl",kh.aliases=["oscript"],Dh.displayName="cfscript",Dh.aliases=["cfc"],Ph.displayName="chaiscript",Ph.aliases=[],Mh.displayName="cil",Mh.aliases=[],Fh.displayName="cilkc",Fh.aliases=["cilk-c"],Hh.displayName="cilkcpp",Hh.aliases=["cilk","cilk-cpp"],Bh.displayName="clojure",Bh.aliases=[],Uh.displayName="cmake",Uh.aliases=[],jh.displayName="cobol",jh.aliases=[],Gh.displayName="coffeescript",Gh.aliases=["coffee"],Yh.displayName="concurnas",Yh.aliases=["conc"],zh.displayName="csp",zh.aliases=[],$h.displayName="cooklang",$h.aliases=[],Wh.displayName="coq",Wh.aliases=[],Vh.displayName="crystal",Vh.aliases=[],Kh.displayName="css-extras",Kh.aliases=[],qh.displayName="csv",qh.aliases=[],Xh.displayName="cue",Xh.aliases=[],Zh.displayName="cypher",Zh.aliases=[],Qh.displayName="d",Qh.aliases=[],Jh.displayName="dart",Jh.aliases=[],ep.displayName="dataweave",ep.aliases=[],tp.displayName="dax",tp.aliases=[],np.displayName="dhall",np.aliases=[],rp.displayName="django",rp.aliases=["jinja2"],ip.displayName="dns-zone-file",ip.aliases=["dns-zone"],op.displayName="docker",op.aliases=["dockerfile"],ap.displayName="dot",ap.aliases=["gv"],sp.displayName="ebnf",sp.aliases=[],lp.displayName="editorconfig",lp.aliases=[],cp.displayName="eiffel",cp.aliases=[],up.displayName="ejs",up.aliases=["eta"],hp.displayName="elixir",hp.aliases=[],pp.displayName="elm",pp.aliases=[],dp.displayName="etlua",dp.aliases=[],fp.displayName="erb",fp.aliases=[],mp.displayName="erlang",mp.aliases=[],gp.displayName="excel-formula",gp.aliases=["xls","xlsx"],yp.displayName="fsharp",yp.aliases=[],vp.displayName="factor",vp.aliases=[],_p.displayName="false",_p.aliases=[],bp.displayName="firestore-security-rules",bp.aliases=[],Ep.displayName="flow",Ep.aliases=[],Tp.displayName="fortran",Tp.aliases=[],xp.displayName="ftl",xp.aliases=[],Sp.displayName="gml",Sp.aliases=["gamemakerlanguage"],Cp.displayName="gap",Cp.aliases=[],Ap.displayName="gcode",Ap.aliases=[],Rp.displayName="gdscript",Rp.aliases=[],wp.displayName="gedcom",wp.aliases=[],Lp.displayName="gettext",Lp.aliases=["po"],Op.displayName="gherkin",Op.aliases=[],Np.displayName="git",Np.aliases=[],Ip.displayName="glsl",Ip.aliases=[],kp.displayName="gn",kp.aliases=["gni"],Dp.displayName="linker-script",Dp.aliases=["ld"],Pp.displayName="go-module",Pp.aliases=["go-mod"],Mp.displayName="gradle",Mp.aliases=[],Fp.displayName="graphql",Fp.aliases=[],Hp.displayName="groovy",Hp.aliases=[],Bp.displayName="textile",Bp.aliases=[],Up.displayName="haml",Up.aliases=[],jp.displayName="handlebars",jp.aliases=["hbs","mustache"],Gp.displayName="haskell",Gp.aliases=["hs"],Yp.displayName="haxe",Yp.aliases=[],zp.displayName="hcl",zp.aliases=[],$p.displayName="hlsl",$p.aliases=[],Wp.displayName="hoon",Wp.aliases=[],Vp.displayName="hpkp",Vp.aliases=[],Kp.displayName="hsts",Kp.aliases=[],qp.displayName="uri",qp.aliases=["url"],Xp.displayName="http",Xp.aliases=[],Zp.displayName="ichigojam",Zp.aliases=[],Qp.displayName="icon",Qp.aliases=[],Jp.displayName="icu-message-format",Jp.aliases=[],ed.displayName="idris",ed.aliases=["idr"],td.displayName="ignore",td.aliases=["gitignore","hgignore","npmignore"],nd.displayName="inform7",nd.aliases=[],rd.displayName="io",rd.aliases=[],id.displayName="j",id.aliases=[],od.displayName="javadoclike",od.aliases=[],ad.displayName="scala",ad.aliases=[],sd.displayName="javadoc",sd.aliases=[],ld.displayName="javastacktrace",ld.aliases=[],cd.displayName="jexl",cd.aliases=[],ud.displayName="jolie",ud.aliases=[],hd.displayName="jq",hd.aliases=[],pd.displayName="js-templates",pd.aliases=[],dd.displayName="jsdoc",dd.aliases=[],fd.displayName="n4js",fd.aliases=["n4jsd"],md.displayName="js-extras",md.aliases=[],gd.displayName="json5",gd.aliases=[],yd.displayName="jsonp",yd.aliases=[],vd.displayName="jsstacktrace",vd.aliases=[],_d.displayName="julia",_d.aliases=[],bd.displayName="keepalived",bd.aliases=[],Ed.displayName="keyman",Ed.aliases=[],Td.displayName="kumir",Td.aliases=["kum"],xd.displayName="kusto",xd.aliases=[],Sd.displayName="latex",Sd.aliases=["context","tex"],Cd.displayName="latte",Cd.aliases=[],Ad.displayName="scheme",Ad.aliases=[],Rd.displayName="lilypond",Rd.aliases=["ly"],wd.displayName="liquid",wd.aliases=[],Ld.displayName="lisp",Ld.aliases=["elisp","emacs","emacs-lisp"],Od.displayName="livescript",Od.aliases=[],Nd.displayName="llvm",Nd.aliases=[],Id.displayName="log",Id.aliases=[],kd.displayName="lolcode",kd.aliases=[],Dd.displayName="magma",Dd.aliases=[],Pd.displayName="mata",Pd.aliases=[],Md.displayName="matlab",Md.aliases=[],Fd.displayName="maxscript",Fd.aliases=[],Hd.displayName="mel",Hd.aliases=[],Bd.displayName="mermaid",Bd.aliases=[],Ud.displayName="metafont",Ud.aliases=[],jd.displayName="mizar",jd.aliases=[],Gd.displayName="mongodb",Gd.aliases=[],Yd.displayName="monkey",Yd.aliases=[],zd.displayName="moonscript",zd.aliases=["moon"],$d.displayName="n1ql",$d.aliases=[],Wd.displayName="nand2tetris-hdl",Wd.aliases=[],Vd.displayName="naniscript",Vd.aliases=["nani"],Kd.displayName="nasm",Kd.aliases=[],qd.displayName="neon",qd.aliases=[],Xd.displayName="nevod",Xd.aliases=[],Zd.displayName="nginx",Zd.aliases=[],Qd.displayName="nim",Qd.aliases=[],Jd.displayName="nix",Jd.aliases=[],ef.displayName="nsis",ef.aliases=[],tf.displayName="ocaml",tf.aliases=[],nf.displayName="odin",nf.aliases=[],rf.displayName="opencl",rf.aliases=[],of.displayName="openqasm",of.aliases=["qasm"],af.displayName="oz",af.aliases=[],sf.displayName="parigp",sf.aliases=[],lf.displayName="parser",lf.aliases=[],cf.displayName="pascal",cf.aliases=["objectpascal"],uf.displayName="pascaligo",uf.aliases=[],hf.displayName="psl",hf.aliases=[],pf.displayName="pcaxis",pf.aliases=["px"],df.displayName="peoplecode",df.aliases=["pcode"],ff.displayName="phpdoc",ff.aliases=[],mf.displayName="php-extras",mf.aliases=[],gf.displayName="plant-uml",gf.aliases=["plantuml"],yf.displayName="plsql",yf.aliases=[],vf.displayName="powerquery",vf.aliases=["mscript","pq"],_f.displayName="powershell",_f.aliases=[],bf.displayName="processing",bf.aliases=[],Ef.displayName="prolog",Ef.aliases=[],Tf.displayName="promql",Tf.aliases=[],xf.displayName="properties",xf.aliases=[],Sf.displayName="protobuf",Sf.aliases=[],Cf.displayName="stylus",Cf.aliases=[],Af.displayName="twig",Af.aliases=[],Rf.displayName="pug",Rf.aliases=[],wf.displayName="puppet",wf.aliases=[],Lf.displayName="pure",Lf.aliases=[],Of.displayName="purebasic",Of.aliases=["pbfasm"],Nf.displayName="purescript",Nf.aliases=["purs"],If.displayName="qsharp",If.aliases=["qs"],kf.displayName="q",kf.aliases=[],Df.displayName="qml",Df.aliases=[],Pf.displayName="qore",Pf.aliases=[],Mf.displayName="racket",Mf.aliases=["rkt"],Ff.displayName="cshtml",Ff.aliases=["razor"],Hf.displayName="jsx",Hf.aliases=[],Bf.displayName="tsx",Bf.aliases=[],Uf.displayName="reason",Uf.aliases=[],jf.displayName="rego",jf.aliases=[],Gf.displayName="renpy",Gf.aliases=["rpy"],Yf.displayName="rescript",Yf.aliases=["res"],zf.displayName="rest",zf.aliases=[],$f.displayName="rip",$f.aliases=[],Wf.displayName="roboconf",Wf.aliases=[],Vf.displayName="robotframework",Vf.aliases=["robot"],Kf.displayName="sas",Kf.aliases=[],qf.displayName="shell-session",qf.aliases=["sh-session","shellsession"],Xf.displayName="smali",Xf.aliases=[],Zf.displayName="smalltalk",Zf.aliases=[],Qf.displayName="smarty",Qf.aliases=[],Jf.displayName="sml",Jf.aliases=["smlnj"],em.displayName="solidity",em.aliases=["sol"],tm.displayName="solution-file",tm.aliases=["sln"],nm.displayName="soy",nm.aliases=[],rm.displayName="turtle",rm.aliases=["trig"],im.displayName="sparql",im.aliases=["rq"],om.displayName="splunk-spl",om.aliases=[],am.displayName="sqf",am.aliases=[],sm.displayName="squirrel",sm.aliases=[],lm.displayName="stan",lm.aliases=[],cm.displayName="stata",cm.aliases=[],um.displayName="iecst",um.aliases=[],hm.displayName="supercollider",hm.aliases=["sclang"],pm.displayName="systemd",pm.aliases=[],dm.displayName="t4-templating",dm.aliases=[],fm.displayName="t4-cs",fm.aliases=["t4"],mm.displayName="t4-vb",mm.aliases=[],gm.displayName="tap",gm.aliases=[],ym.displayName="tcl",ym.aliases=[],vm.displayName="tt2",vm.aliases=[],_m.displayName="toml",_m.aliases=[],bm.displayName="tremor",bm.aliases=["trickle","troy"],Em.displayName="typoscript",Em.aliases=["tsconfig"],Tm.displayName="unrealscript",Tm.aliases=["uc","uscript"],xm.displayName="uorazor",xm.aliases=[],Sm.displayName="v",Sm.aliases=[],Cm.displayName="vala",Cm.aliases=[],Am.displayName="velocity",Am.aliases=[],Rm.displayName="verilog",Rm.aliases=[],wm.displayName="vhdl",wm.aliases=[],Lm.displayName="vim",Lm.aliases=[],Om.displayName="visual-basic",Om.aliases=["vb","vba"],Nm.displayName="warpscript",Nm.aliases=[],Im.displayName="wasm",Im.aliases=[],km.displayName="web-idl",km.aliases=["webidl"],Dm.displayName="wgsl",Dm.aliases=[],Pm.displayName="wiki",Pm.aliases=[],Mm.displayName="wolfram",Mm.aliases=["mathematica","nb","wl"],Fm.displayName="wren",Fm.aliases=[],Hm.displayName="xeora",Hm.aliases=["xeoracube"],Bm.displayName="xml-doc",Bm.aliases=[],Um.displayName="xojo",Um.aliases=[],jm.displayName="xquery",jm.aliases=[],Gm.displayName="yang",Gm.aliases=[],Ym.displayName="zig",Ym.aliases=[],Zu.register(eu),Zu.register(tu),Zu.register(Kc),Zu.register(au),Zu.register(su),Zu.register(Qu),Zu.register(Ju),Zu.register(eh),Zu.register(th),Zu.register(nh),Zu.register(rh),Zu.register(ih),Zu.register(oh),Zu.register(Cu),Zu.register(ah),Zu.register(sh),Zu.register(lh),Zu.register(ch),Zu.register(qc),Zu.register(Xc),Zu.register(Zc),Zu.register(uh),Zu.register(hh),Zu.register(Qc),Zu.register(du),Zu.register(fu),Zu.register(ph),Zu.register(dh),Zu.register(Jc),Zu.register(fh),Zu.register(mh),Zu.register(gh),Zu.register(yh),Zu.register(vh),Zu.register(_h),Zu.register(bh),Zu.register(Eh),Zu.register(wu),Zu.register(Th),Zu.register(xh),Zu.register(Sh),Zu.register(Ch),Zu.register(Ah),Zu.register(Rh),Zu.register(wh),Zu.register(Lh),Zu.register(Oh),Zu.register(Nh),Zu.register(Ih),Zu.register(kh),Zu.register(Dh),Zu.register(Ph),Zu.register(Mh),Zu.register(Fh),Zu.register(Hh),Zu.register(Bh),Zu.register(Uh),Zu.register(jh),Zu.register(Gh),Zu.register(Yh),Zu.register(zh),Zu.register($h),Zu.register(Wh),Zu.register(Eu),Zu.register(Vh),Zu.register(Kh),Zu.register(qh),Zu.register(Xh),Zu.register(Zh),Zu.register(Qh),Zu.register(Jh),Zu.register(ep),Zu.register(tp),Zu.register(np),Zu.register(nu),Zu.register(yu),Zu.register(rp),Zu.register(ip),Zu.register(op),Zu.register(ap),Zu.register(sp),Zu.register(lp),Zu.register(cp),Zu.register(up),Zu.register(hp),Zu.register(pp),Zu.register(hu),Zu.register(dp),Zu.register(fp),Zu.register(mp),Zu.register(gp),Zu.register(yp),Zu.register(vp),Zu.register(_p),Zu.register(bp),Zu.register(Ep),Zu.register(Tp),Zu.register(xp),Zu.register(Sp),Zu.register(Cp),Zu.register(Ap),Zu.register(Rp),Zu.register(wp),Zu.register(Lp),Zu.register(Op),Zu.register(Np),Zu.register(Ip),Zu.register(kp),Zu.register(Dp),Zu.register(ru),Zu.register(Pp),Zu.register(Mp),Zu.register(Fp),Zu.register(Hp),Zu.register(uu),Zu.register(Su),Zu.register(Bp),Zu.register(Up),Zu.register(jp),Zu.register(Gp),Zu.register(Yp),Zu.register(zp),Zu.register($p),Zu.register(Wp),Zu.register(Vp),Zu.register(Kp),Zu.register(lu),Zu.register(qp),Zu.register(Xp),Zu.register(Zp),Zu.register(Qp),Zu.register(Jp),Zu.register(ed),Zu.register(td),Zu.register(nd),Zu.register(iu),Zu.register(rd),Zu.register(id),Zu.register(ou),Zu.register(vu),Zu.register(od),Zu.register(ad),Zu.register(sd),Zu.register(ld),Zu.register(cd),Zu.register(ud),Zu.register(hd),Zu.register(pd),Zu.register(Ru),Zu.register(dd),Zu.register(fd),Zu.register(md),Zu.register(gd),Zu.register(yd),Zu.register(vd),Zu.register(_d),Zu.register(bd),Zu.register(Ed),Zu.register(cu),Zu.register(Td),Zu.register(xd),Zu.register(Sd),Zu.register(Cd),Zu.register(Ad),Zu.register(Rd),Zu.register(wd),Zu.register(Ld),Zu.register(Od),Zu.register(Nd),Zu.register(Id),Zu.register(kd),Zu.register(Dd),Zu.register(pu),Zu.register(Pd),Zu.register(Md),Zu.register(Fd),Zu.register(Hd),Zu.register(Bd),Zu.register(Ud),Zu.register(jd),Zu.register(Gd),Zu.register(Yd),Zu.register(zd),Zu.register($d),Zu.register(Wd),Zu.register(Vd),Zu.register(Kd),Zu.register(qd),Zu.register(Xd),Zu.register(Zd),Zu.register(Qd),Zu.register(Jd),Zu.register(ef),Zu.register(mu),Zu.register(tf),Zu.register(nf),Zu.register(rf),Zu.register(of),Zu.register(af),Zu.register(sf),Zu.register(lf),Zu.register(cf),Zu.register(uf),Zu.register(hf),Zu.register(pf),Zu.register(df),Zu.register(gu),Zu.register(ff),Zu.register(mf),Zu.register(gf),Zu.register(yf),Zu.register(vf),Zu.register(_f),Zu.register(bf),Zu.register(Ef),Zu.register(Tf),Zu.register(xf),Zu.register(Sf),Zu.register(Cf),Zu.register(Af),Zu.register(Rf),Zu.register(wf),Zu.register(Lf),Zu.register(Of),Zu.register(Nf),Zu.register(_u),Zu.register(If),Zu.register(kf),Zu.register(Df),Zu.register(Pf),Zu.register(bu),Zu.register(Mf),Zu.register(Ff),Zu.register(Hf),Zu.register(Bf);Zu.register(Uf),Zu.register(jf),Zu.register(Gf),Zu.register(Yf),Zu.register(zf),Zu.register($f),Zu.register(Wf),Zu.register(Vf),Zu.register(Tu),Zu.register(Kf),Zu.register(xu),Zu.register(qf),Zu.register(Xf),Zu.register(Zf),Zu.register(Qf),Zu.register(Jf),Zu.register(em),Zu.register(tm),Zu.register(nm),Zu.register(rm),Zu.register(im),Zu.register(om),Zu.register(am),Zu.register(sm),Zu.register(lm),Zu.register(cm),Zu.register(um),Zu.register(hm),Zu.register(Au),Zu.register(pm),Zu.register(dm),Zu.register(fm),Zu.register(Lu),Zu.register(mm),Zu.register(gm),Zu.register(ym),Zu.register(vm),Zu.register(_m),Zu.register(bm),Zu.register(Em),Zu.register(Tm),Zu.register(xm),Zu.register(Sm),Zu.register(Cm),Zu.register(Am),Zu.register(Rm),Zu.register(wm),Zu.register(Lm),Zu.register(Om),Zu.register(Nm),Zu.register(Im),Zu.register(km),Zu.register(Dm),Zu.register(Pm),Zu.register(Mm),Zu.register(Fm),Zu.register(Hm),Zu.register(Bm),Zu.register(Um),Zu.register(jm),Zu.register(Gm),Zu.register(Ym);var Km=function(e){return function(t){return void 0===t&&(t={}),function(e){Ko(e,"element",n)};function n(n,r,i){var o,a;if(i&&"pre"===i.tagName&&"code"===n.tagName){var s=(null==n||null==(o=n.data)?void 0:o.meta)||(null==n||null==(a=n.properties)?void 0:a.metastring)||"";n.properties.className?"boolean"==typeof n.properties.className?n.properties.className=[]:Array.isArray(n.properties.className)||(n.properties.className=[n.properties.className]):n.properties.className=[],n.properties.className.push("code-highlight");var l,c,u=function(e){for(var t,n=Vm(e.properties.className);!(t=n()).done;){var r=t.value;if("language-"===r.slice(0,9))return r.slice(9).toLowerCase()}return null}(n);if(u)try{var h;h=null!=u&&u.includes("diff-")?u.split("-")[1]:u,l=e.highlight(Nc(n),h),i.properties.className=(i.properties.className||[]).concat("language-"+h)}catch(e){if(!t.ignoreMissing||!/Unknown language/.test(e.message))throw e;l=n}else l=n;l.children=(c=1,function e(t){return t.reduce((function(t,n){if("text"===n.type){var r=n.value,i=(r.match(/\n/g)||"").length;if(0===i)n.position={start:{line:c,column:1},end:{line:c,column:1}},t.push(n);else for(var o,a=r.split("\n"),s=Vm(a.entries());!(o=s()).done;){var l=o.value,u=l[0],h=l[1];t.push({type:"text",value:u===a.length-1?h:h+"\n",position:{start:{line:c+u,column:1},end:{line:c+u,column:1}}})}return c+=i,t}if(Object.prototype.hasOwnProperty.call(n,"children")){var p=c;return n.children=e(n.children),t.push(n),n.position={start:{line:p,column:1},end:{line:c,column:1}},t}return t.push(n),t}),[])})(l.children),l.position=l.children.length>0?{start:{line:l.children[0].position.start.line,column:0},end:{line:l.children[l.children.length-1].position.end.line,column:0}}:{start:{line:0,column:0},end:{line:0,column:0}};for(var p,d=function(e){var t=/{([\d,-]+)}/,n=e.split(",").map((function(e){return e.trim()})).join();if(t.test(n)){var r=t.exec(n)[1],i=Vc(r);return function(e){return i.includes(e+1)}}return function(){return!1}}(s),f=function(e){var t=zm(/showLineNumbers=([0-9]+)/i,{lines:1});if(t.test(e)){var n=t.exec(e);return Number(n.groups.lines)}return 1}(s),m=function(e){for(var t=new Array(e),n=0;n<e;n++)t[n]={type:"element",tagName:"span",properties:{className:[]},children:[]};return t}(l.position.end.line),g=["showlinenumbers=false",'showlinenumbers="false"',"showlinenumbers={false}"],y=function(){var e=p.value,n=e[0],r=e[1];r.properties.className=["code-line"];var i=function(e,t,n){const r=Go(t);return function e(t,n,i){const o=[];if(!r(t,n,i))return null;if(t.children){let n=-1;for(;++n<t.children.length;){const r=e(t.children[n],n,t);r&&o.push(r)}if(t.children.length>0&&0===o.length)return null}const a={};let s;for(s in t)Wc.call(t,s)&&(a[s]="children"===s?o:t[s]);return a}(e)}(l,(function(e){return e.position.start.line<=n+1&&e.position.end.line>=n+1}));r.children=i.children,!s.toLowerCase().includes("showLineNumbers".toLowerCase())&&!t.showLineNumbers||g.some((function(e){return s.toLowerCase().includes(e)}))||(r.properties.line=[(n+f).toString()],r.properties.className.push("line-number")),d(n)&&r.properties.className.push("highlight-line"),("diff"===u||null!=u&&u.includes("diff-"))&&"-"===Nc(r).substring(0,1)?r.properties.className.push("deleted"):("diff"===u||null!=u&&u.includes("diff-"))&&"+"===Nc(r).substring(0,1)&&r.properties.className.push("inserted")},v=Vm(m.entries());!(p=v()).done;)y();m.length>0&&""===Nc(m[m.length-1]).trim()&&m.pop(),n.children=m}}}},qm=(Km(Zu),Km(Zu));const Xm="֑-߿יִ-﷽ﹰ-ﻼ",Zm="A-Za-zÀ-ÖØ-öø-ʸ̀-ࠀ-Ⰰ-︀--",Qm=new RegExp("^[^"+Zm+"]*["+Xm+"]"),Jm=new RegExp("^[^"+Xm+"]*["+Zm+"]");function eg(e){const t=function(e){const t=String(e||"");return Qm.test(t)?"rtl":Jm.test(t)?"ltr":"neutral"}(e);return"neutral"===t?void 0:t}function tg(e){const t="element"===e.type&&e.properties&&"string"==typeof e.properties.dir?e.properties.dir.toLowerCase():void 0;return"auto"===t||"ltr"===t||"rtl"===t?t:void 0}const ng=dc("operator",{unknown:function(e){throw new Error("Unknown operator `"+e.operator+"`")},invalid:function(e,t,n){return Lc(t,n.property)},handlers:{"=":function(e,t,n){return Boolean(Lc(t,n.property)&&t.properties&&rg(t.properties[n.property],n)===e.value)},"~=":function(e,t,n){const r=t.properties&&t.properties[n.property];return!n.commaSeparated&&r&&"object"==typeof r&&e.value&&r.includes(e.value)||Lc(t,n.property)&&rg(r,n)===e.value},"|=":function(e,t,n){const r=rg(t.properties&&t.properties[n.property],n);return Boolean(Lc(t,n.property)&&e.value&&(r===e.value||r.slice(0,e.value.length)===e.value&&"-"===r.charAt(e.value.length)))},"^=":function(e,t,n){return Boolean(Lc(t,n.property)&&t.properties&&e.value&&rg(t.properties[n.property],n).slice(0,e.value.length)===e.value)},"$=":function(e,t,n){return Boolean(Lc(t,n.property)&&t.properties&&e.value&&rg(t.properties[n.property],n).slice(-e.value.length)===e.value)},"*=":function(e,t,n){return Boolean(Lc(t,n.property)&&t.properties&&e.value&&rg(t.properties[n.property],n).includes(e.value))}}});function rg(e,t){return"boolean"==typeof e?t.attribute:Array.isArray(e)?(t.commaSeparated?os:rs)(e):String(e)}function ig(e,t){return function(n,r){let i=ag(n,"tag");const o=ag(null==r?"*":r,"range"),a=[];let s=-1;for(;++s<o.length;){const n=o[s].toLowerCase();if(!t&&"*"===n)continue;let r=-1;const l=[];for(;++r<i.length;)if(e(i[r].toLowerCase(),n)){if(!t)return i[r];a.push(i[r])}else l.push(i[r]);i=l}return t?a:void 0}}ig((function(e,t){return"*"===t||e===t||e.includes(t+"-")}),!0);const og=ig((function(e,t){const n=e.split("-"),r=t.split("-");let i=0,o=0;if("*"!==r[o]&&n[i]!==r[o])return!1;for(i++,o++;o<r.length;)if("*"!==r[o]){if(!n[i])return!1;if(n[i]!==r[o]){if(1===n[i].length)return!1;i++}else i++,o++}else o++;return!0}),!0);function ag(e,t){const n=e&&"string"==typeof e?[e]:e;if(!n||"object"!=typeof n||!("length"in n))throw new Error("Invalid "+t+" `"+n+"`, expected non-empty string");return n}ig((function(e,t){let n=t;for(;;){if("*"===n||e===n)return!0;let t=n.lastIndexOf("-");if(t<0)return!1;"-"===n.charAt(t-2)&&(t-=2),n=n.slice(0,t)}}),!1);const sg=new Set([9,10,12,13,32]),lg="0".charCodeAt(0),cg="9".charCodeAt(0);var ug=u(4397);function hg(e){return function(e){const t=e[0],n=e[1]-1;if(n<0&&t<=0)return ug.falseFunc;if(-1===t)return e=>e<=n;if(0===t)return e=>e===n;if(1===t)return n<0?ug.trueFunc:e=>e>=n;const r=Math.abs(t),i=(n%r+r)%r;return t>1?e=>e>=n&&e%r===i:e=>e<=n&&e%r===i}(function(e){if("even"===(e=e.trim().toLowerCase()))return[2,0];if("odd"===e)return[2,1];let t=0,n=0,r=o(),i=a();if(t<e.length&&"n"===e.charAt(t)&&(t++,n=r*(null!=i?i:1),s(),t<e.length?(r=o(),s(),i=a()):r=i=0),null===i||t<e.length)throw new Error(`n-th rule couldn't be parsed ('${e}')`);return[n,r*i];function o(){return"-"===e.charAt(t)?(t++,-1):("+"===e.charAt(t)&&t++,1)}function a(){const n=t;let r=0;for(;t<e.length&&e.charCodeAt(t)>=lg&&e.charCodeAt(t)<=cg;)r=10*r+(e.charCodeAt(t)-lg),t++;return t===n?null:r}function s(){for(;t<e.length&&sg.has(e.charCodeAt(t));)t++}}(e))}const pg=hg.default||hg,dg=dc("name",{unknown:function(e){if(e.name)throw new Error("Unknown pseudo-selector `"+e.name+"`");throw new Error("Unexpected pseudo-element or empty pseudo-class")},invalid:function(){throw new Error("Invalid pseudo-selector")},handlers:{any:gg,"any-link":function(e,t){return("a"===t.tagName||"area"===t.tagName||"link"===t.tagName)&&Lc(t,"href")},blank:function(e,t){return!_g(t,(function(e){return"element"===e.type||"text"===e.type&&!Ka(e)}))},checked:function(e,t){return"input"===t.tagName||"menuitem"===t.tagName?Boolean(t.properties&&("checkbox"===t.properties.type||"radio"===t.properties.type)&&Lc(t,"checked")):"option"===t.tagName&&Lc(t,"selected")},dir:function(e,t,n,r,i){return i.direction===e.value},disabled:mg,empty:function(e,t){return!_g(t,(function(e){return"element"===e.type||"text"===e.type}))},enabled:function(e,t){return!mg(0,t)},"first-child":function(e,t,n,r,i){return bg(i,e),0===i.elementIndex},"first-of-type":function(e,t,n,r,i){return bg(i,e),0===i.typeIndex},has:function(e,t,n,r,i){const o={...i,found:!1,shallow:!1,one:!0,scopeElements:[t],results:[],rootQuery:Sg(e.value)};return Cg(o,{type:"root",children:t.children}),o.results.length>0},lang:function(e,t,n,r,i){return""!==i.language&&void 0!==i.language&&og(i.language,is(e.value)).length>0},"last-child":function(e,t,n,r,i){return bg(i,e),Boolean(i.elementCount&&i.elementIndex===i.elementCount-1)},"last-of-type":function(e,t,n,r,i){return bg(i,e),"number"==typeof i.typeIndex&&"number"==typeof i.typeCount&&i.typeIndex===i.typeCount-1},matches:gg,not:function(e,t,n,r,i){return!gg(e,t,0,0,i)},"nth-child":function(e,t,n,r,i){const o=Eg(e);return bg(i,e),"number"==typeof i.elementIndex&&o(i.elementIndex)},"nth-last-child":function(e,t,n,r,i){const o=Eg(e);return bg(i,e),Boolean("number"==typeof i.elementCount&&"number"==typeof i.elementIndex&&o(i.elementCount-i.elementIndex-1))},"nth-of-type":function(e,t,n,r,i){const o=Eg(e);return bg(i,e),"number"==typeof i.typeIndex&&o(i.typeIndex)},"nth-last-of-type":function(e,t,n,r,i){const o=Eg(e);return bg(i,e),"number"==typeof i.typeCount&&"number"==typeof i.typeIndex&&o(i.typeCount-1-i.typeIndex)},"only-child":function(e,t,n,r,i){return bg(i,e),1===i.elementCount},"only-of-type":function(e,t,n,r,i){return bg(i,e),1===i.typeCount},optional:function(e,t){return!vg(0,t)},"read-only":function(e,t,n,r,i){return!yg(0,t,0,0,i)},"read-write":yg,required:vg,root:function(e,t,n,r,i){return Boolean((!r||"root"===r.type)&&i.schema&&("html"===i.schema.space||"svg"===i.schema.space)&&("html"===t.tagName||"svg"===t.tagName))},scope:function(e,t,n,r,i){return i.scopeElements.includes(t)}}});function fg(e,t,n,r,i){const o=e.pseudos;let a=-1;for(;++a<o.length;)if(!dg(o[a],t,n,r,i))return!1;return!0}function mg(e,t){return("button"===t.tagName||"input"===t.tagName||"select"===t.tagName||"textarea"===t.tagName||"optgroup"===t.tagName||"option"===t.tagName||"menuitem"===t.tagName||"fieldset"===t.tagName)&&Lc(t,"disabled")}function gg(e,t,n,r,i){const o={...i,found:!1,shallow:!1,one:!0,scopeElements:[t],results:[],rootQuery:Sg(e.value)};return Cg(o,t),o.results[0]===t}function yg(e,t,n,r,i){return"input"===t.tagName||"textarea"===t.tagName?!Lc(t,"readOnly")&&!Lc(t,"disabled"):Boolean(i.editableOrEditingHost)}function vg(e,t){return("input"===t.tagName||"textarea"===t.tagName||"select"===t.tagName)&&Lc(t,"required")}function _g(e,t){const n=e.children;let r=-1;for(;++r<n.length;)if(t(n[r]))return!0;return!1}function bg(e,t){if(e.shallow)throw new Error("Cannot use `:"+t.name+"` without parent")}function Eg(e){let t=e._cachedFn;return t||(t=pg(e.value),e._cachedFn=t),t}function Tg(e,t,n,r,i){return Boolean((!e.tagName||function(e,t){return"*"===e.tagName||e.tagName===t.tagName}(e,t))&&(!e.classNames||function(e,t){const n=t.properties.className||[];let r=-1;if(e.classNames)for(;++r<e.classNames.length;)if(!n.includes(e.classNames[r]))return!1;return!0}(e,t))&&(!e.id||function(e,t){return Boolean(t.properties&&t.properties.id===e.id)}(e,t))&&(!e.attrs||function(e,t,n){const r=e.attrs;let i=-1;for(;++i<r.length;)if(!ng(r[i],t,Qa(n,r[i].name)))return!1;return!0}(e,t,i.schema))&&(!e.pseudos||fg(e,t,n,r,i)))}fg.needsIndex=["any","first-child","first-of-type","last-child","last-of-type","matches","not","nth-child","nth-last-child","nth-of-type","nth-last-of-type","only-child","only-of-type"];const xg=[];function Sg(e){return null===e?{type:"selectors",selectors:[]}:"ruleSet"===e.type?{type:"selectors",selectors:[e]}:e}function Cg(e,t){t&&Ag(e,[],t,void 0,void 0)}function Ag(e,t,n,r,i){let o={directChild:void 0,descendant:void 0,adjacentSibling:void 0,generalSibling:void 0};const a=function(e,t){const n=e.schema,r=e.language,i=e.direction,o=e.editableOrEditingHost;let a;if("element"===t.type&&t.properties){const r=t.properties.xmlLang||t.properties.lang,i=t.properties.type||"text",o=tg(t);null!=r&&(e.language=String(r)),n&&"html"===n.space?("true"===t.properties.contentEditable&&(e.editableOrEditingHost=!0),"svg"===t.tagName&&(e.schema=$a),"rtl"===o?a=o:"ltr"===o||"auto"!==o&&"html"===t.tagName||"auto"!==o&&"input"===t.tagName&&"tel"===i?a="ltr":"auto"!==o&&"bdi"!==t.tagName||("textarea"===t.tagName?a=eg(Nc(t)):"input"!==t.tagName||"email"!==i&&"search"!==i&&"tel"!==i&&"text"!==i?Ko(t,(function(e){return"text"===e.type?(a=eg(e.value),a?$o:void 0):e===t||"element"!==e.type||"bdi"!==e.tagName&&"script"!==e.tagName&&"style"!==e.tagName&&"textare"!==e.tagName&&!tg(e)?void 0:Wo})):a=t.properties.value?eg(t.properties.value):"ltr"),a&&(e.direction=a)):e.editableOrEditingHost&&(e.editableOrEditingHost=!1)}return function(){e.schema=n,e.language=r,e.direction=i,e.editableOrEditingHost=o}}(e,n);return"element"===n.type&&(o=function(e,t,n,r,i){const o={directChild:void 0,descendant:void 0,adjacentSibling:void 0,generalSibling:void 0};let a=-1;for(;++a<t.length;){const s=t[a];if(e.one&&e.found)break;if(e.shallow&&s.rule.rule)throw new Error("Expected selector without nesting");if(Tg(s.rule,n,r,i,e)){const t=s.rule.rule;if(t){const e={type:"ruleSet",rule:t};wg(o,"+"===t.nestingOperator?"adjacentSibling":"~"===t.nestingOperator?"generalSibling":">"===t.nestingOperator?"directChild":"descendant",e)}else e.found=!0,e.results.includes(n)||e.results.push(n)}null===s.rule.nestingOperator?wg(o,"descendant",s):"~"===s.rule.nestingOperator&&wg(o,"generalSibling",s)}return o}(e,Rg(t,e.rootQuery.selectors),n,r,i)),!("children"in n)||e.shallow||e.one&&e.found||function(e,t,n){const r=Rg(t.descendant,t.directChild);let i,o=-1;const a={count:0,types:new Map},s={count:0,types:new Map};for(;++o<n.children.length;)Lg(a,n.children[o]);for(o=-1;++o<n.children.length;){const t=n.children[o],l="element"===t.type?t.tagName.toUpperCase():void 0;if(e.elementIndex=s.count,e.typeIndex=l&&s.types.get(l)||0,e.elementCount=a.count,e.typeCount=l?a.types.get(l):0,"children"in t){const t=Ag(e,Rg(r,i),n.children[o],o,n);i=Rg(t.generalSibling,t.adjacentSibling)}if(e.one&&e.found)break;Lg(s,n.children[o])}}(e,o,n),a(),o}function Rg(e,t){return e&&t&&e.length>0&&t.length>0?[...e,...t]:e&&e.length>0?e:t&&t.length>0?t:xg}function wg(e,t,n){const r=e[t];r?r.push(n):e[t]=[n]}function Lg(e,t){if("element"===t.type){const n=t.tagName.toUpperCase(),r=(e.types.get(n)||0)+1;e.count++,e.types.set(n,r)}}const Og=new(u(142).N);function Ng(e){if("string"!=typeof e)throw new TypeError("Expected `string` as selector, not `"+e+"`");return Og.parse(e)}Og.registerAttrEqualityMods("~","|","^","$","*"),Og.registerSelectorPseudos("any","matches","not","has"),Og.registerNestingOperators(">","+","~");const Ig=(e=[],t="")=>(e.forEach((e=>{"text"===e.type?t+=e.value:"element"===e.type&&e.children&&Array.isArray(e.children)&&(t+=Ig(e.children))})),t),kg=e=>{const{selector:t,rewrite:n}=e||{};return e=>{if(n&&"function"==typeof n)if(t&&"string"==typeof t){const r=function(e,t,n){const r=function(e,t,n){return{rootQuery:Sg(Ng(e)),results:[],scopeElements:t?"root"===t.type?t.children:[t]:[],one:!1,shallow:!1,found:!1,schema:"svg"===n?$a:za,language:void 0,direction:"ltr",editableOrEditingHost:!1,typeIndex:void 0,elementIndex:void 0,typeCount:void 0,elementCount:void 0}}(e,t,void 0);return Cg(r,t||void 0),r.results}(t,e);r&&r.length>0&&Ko(e,r,((e,t,r)=>{n(e,t,r)}))}else Ko(e,((e,t,r)=>{n(e,t,r)}))}};var Dg={type:"element",tagName:"svg",properties:{className:"octicon octicon-link",viewBox:"0 0 16 16",version:"1.1",width:"16",height:"16",ariaHidden:"true"},children:[{type:"element",tagName:"path",children:[],properties:{fillRule:"evenodd",d:"M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"}}]},Pg=u(9412),Mg=u.n(Pg);function Fg(e){if(!e)return null;var t=e;return t.dataset.code&&t.classList.contains("copied")?t:t.parentElement?Fg(t.parentElement):null}function Hg(e){var t=e=>{var t=Fg(e.target);t&&(t.classList.add("active"),Mg()(t.dataset.code,(function(){setTimeout((()=>{t.classList.remove("active")}),2e3)})))};(0,m.useEffect)((()=>{var n,r;return null==(n=e.current)||n.removeEventListener("click",t,!1),null==(r=e.current)||r.addEventListener("click",t,!1),()=>{var n;null==(n=e.current)||n.removeEventListener("click",t,!1)}}),[e])}var Bg=function(e){return void 0===e&&(e={}),e=>{Ko(e,(e=>{"element"===e.type&&"code"===e.tagName&&e.data&&e.data.meta&&(e.properties=(0,$n.Z)({},e.properties,{"data-meta":String(e.data.meta)}))}))}},Ug=u(1250),jg=["prefixCls","className","source","style","disableCopy","skipHtml","onScroll","onMouseOver","pluginsFilter","rehypeRewrite","wrapperElement","warpperElement"];const Gg=g().forwardRef(((e,t)=>{var{prefixCls:n="wmde-markdown wmde-markdown-color",className:r,source:i,style:o,disableCopy:a=!1,skipHtml:s=!0,onScroll:l,onMouseOver:c,pluginsFilter:u,rehypeRewrite:h,wrapperElement:p={},warpperElement:d={}}=e,f=(0,Wn.Z)(e,jg),y=g().useRef(null);(0,m.useImperativeHandle)(t,(()=>(0,$n.Z)({},e,{mdp:y})),[y,e]);var v=(n||"")+" "+(r||"");Hg(y);var _=[Bg,[qm,{ignoreMissing:!0}],Pc,Uc,$c,[kg,{rewrite:(e,t,n)=>{if("element"===e.type&&n&&"root"===n.type&&/h(1|2|3|4|5|6)/.test(e.tagName)){var r=e.children&&e.children[0];r&&r.properties&&"true"===r.properties.ariaHidden&&(r.properties=(0,$n.Z)({class:"anchor"},r.properties),r.children=[Dg])}if("element"===e.type&&"pre"===e.tagName&&!a){var i=Ig(e.children);e.children.push((void 0===(o=i)&&(o=""),{type:"element",tagName:"div",properties:{class:"copied","data-code":o},children:[{type:"element",tagName:"svg",properties:{className:"octicon-copy",ariaHidden:"true",viewBox:"0 0 16 16",fill:"currentColor",height:12,width:12},children:[{type:"element",tagName:"path",properties:{fillRule:"evenodd",d:"M0 6.75C0 5.784.784 5 1.75 5h1.5a.75.75 0 010 1.5h-1.5a.25.25 0 00-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 00.25-.25v-1.5a.75.75 0 011.5 0v1.5A1.75 1.75 0 019.25 16h-7.5A1.75 1.75 0 010 14.25v-7.5z"},children:[]},{type:"element",tagName:"path",properties:{fillRule:"evenodd",d:"M5 1.75C5 .784 5.784 0 6.75 0h7.5C15.216 0 16 .784 16 1.75v7.5A1.75 1.75 0 0114.25 11h-7.5A1.75 1.75 0 015 9.25v-7.5zm1.75-.25a.25.25 0 00-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 00.25-.25v-7.5a.25.25 0 00-.25-.25h-7.5z"},children:[]}]},{type:"element",tagName:"svg",properties:{className:"octicon-check",ariaHidden:"true",viewBox:"0 0 16 16",fill:"currentColor",height:12,width:12},children:[{type:"element",tagName:"path",properties:{fillRule:"evenodd",d:"M13.78 4.22a.75.75 0 010 1.06l-7.25 7.25a.75.75 0 01-1.06 0L2.22 9.28a.75.75 0 011.06-1.06L6 10.94l6.72-6.72a.75.75 0 011.06 0z"},children:[]}]}]}))}var o;h&&h(e,t,n)}}],[zc,{properties:"attr"}],...f.rehypePlugins||[]],b={allowElement:(e,t,n)=>f.allowElement?f.allowElement(e,t,n):/^[A-Za-z0-9]+$/.test(e.tagName)};s&&_.push(Cc);var E=[...f.remarkPlugins||[],Vl],T=(0,$n.Z)({},d,p);return(0,Ug.jsx)("div",(0,$n.Z)({ref:y,onScroll:l,onMouseOver:c},T,{className:v,style:o,children:(0,Ug.jsx)(vs,(0,$n.Z)({},b,f,{skipHtml:s,rehypePlugins:u?u("rehype",_):_,remarkPlugins:u?u("remark",E):E,children:i||""}))}))})),Yg=e=>{const{role:t,content:n,timestamp:r}=e,i="user"===t&&!n.includes("`"),o=new Date(r).toLocaleString();return g().createElement(f.Tooltip,{title:o,mouseEnterDelay:1},g().createElement("div",null,i?g().createElement("div",{className:"message-content"},n):g().createElement(Gg,{wrapperElement:{"data-color-mode":"dark"===document.documentElement.getAttribute("data-theme")?"dark":"light"},className:"message-content",source:(a=n,null!==a.match(/```[\S]+/g)?a:a.replace(/```[\s]*\n([\s\S]*?)```/g,"```js\n$1```"))})));var a},zg=()=>{const{messages:e}=(0,m.useContext)(dr);return(0,m.useEffect)((()=>{(()=>{const e=document.querySelector(".list");e&&e.scrollTo({top:e.scrollHeight,behavior:"smooth"})})()}),[e]),g().createElement("div",{className:"list"},e.filter((e=>"system"!==e.role)).map((e=>g().createElement("div",{key:e.timestamp,className:`message ${e.role}`},g().createElement(Yg,Object.assign({},e))))))},$g=()=>g().createElement("div",{className:"dialog-content"},g().createElement(zg,null),g().createElement(fr,null)),Wg=({title:e,onClose:t})=>{const{loading:n,abortQuery:r}=(0,m.useContext)(dr);return g().createElement("div",{className:"dialog-header"},g().createElement("div",{className:"dialog-header-title"},e),g().createElement("div",{className:"dialog-header-button-group"},n&&g().createElement(f.Tooltip,{title:C({id:"advance.Assistant.Header.StopQuery",dm:"停止查询"}),mouseEnterDelay:1},g().createElement("div",{className:"dialog-header-cancel",onClick:r},g().createElement("div",{className:"cancel-button"}))),g().createElement("div",{className:"dialog-header-close",onClick:t},g().createElement("div",{className:"close-button"},g().createElement("div",{className:"close-button-bar"}),g().createElement("div",{className:"close-button-bar"})))))};class Vg{constructor(e){this.status=e.status||"pending",this.role=e.role||"user",this.content=e.content||"",this.timestamp=e.timestamp||Date.now(),this.reserved=e.reserved||!1}}function Kg(e,t){const n=function(e){const{nodes:t,edges:n}=e;return`${`图中有 ${t.length} 种节点,分别是:${t.map((e=>`"${e.nodeType}"`)).join(",")}。`} 图中有 ${n.length} 中边,分别是 ${n.map((e=>`"${e.edgeType}"`)).join(",")}。`}(t);return e.replace(/\$\{graphSchema\}/g,n)}function qg(e,t,n){return[t&&new Vg({status:"success",role:"system",content:Kg(t,n),timestamp:Date.now(),reserved:!0}),e&&new Vg({status:"success",role:"assistant",content:e,timestamp:Date.now(),reserved:!0})].filter(Boolean)}var Xg=function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){e.done?i(e.value):function(e){return e instanceof n?e:new n((function(t){t(e)}))}(e.value).then(a,s)}l((r=r.apply(e,t||[])).next())}))};const Zg=zn(),{getPositionStyles:Qg}=p.utils,Jg=(0,m.memo)((({apiKey:e,draggable:t,logo:n,offset:r,placement:i,prompt:o,serviceId:a,size:s,welcome:l})=>{const{services:c,schemaData:u,transform:h,updateContext:d,largeGraphLimit:y}=(0,p.useContext)(),v=p.utils.getService(c,a),_=(()=>{const e=(0,m.useRef)(new AbortController);return e.current.signal.aborted&&(e.current=new AbortController),e.current})(),b=(0,m.useRef)(null),[E,T]=(0,m.useState)(!1),[x,S]=(0,m.useState)(!1),[A,R]=(0,m.useState)([]),[w,L]=(0,m.useState)(!1),O=Qg(i,r),N=(0,m.useMemo)((()=>{switch(i){case"LB":return{left:0,bottom:0};case"RT":return{right:0,top:0};case"RB":return{right:0,bottom:0};default:return{left:0,top:0}}}),[i]),I=e=>{R((t=>[...t,e]))},k=t=>Xg(void 0,void 0,void 0,(function*(){if(!e)return f.message.error(C({id:"advance.components.Assistant.Component.SetApiKeyFirst",dm:"请先设置API Key"})),!1;const n=[...A,t];I(t);const r=yield function(e,t,n){return fetch("https://api.openai.com/v1/chat/completions",{signal:n,method:"POST",headers:{"Content-Type":"application/json",Authorization:`Bearer ${t}`},body:JSON.stringify({model:"gpt-3.5-turbo",messages:e.map((({role:e,content:t})=>({role:e,content:t})))})}).then((e=>e.json())).then((e=>({status:"success",message:e.choices[0].message}))).catch((e=>"AbortError"===e.name?{status:"cancel",message:null}:{status:"failed",message:e.message}))}(n.filter((({status:e})=>"cancel"!==e)),e,_.signal);if(!r)return!1;I(new Vg({role:r.message.role,content:r.message.content,status:"success"}));const i=function(e){const t=/```([a-zA-Z]+)?(?:\n)([\s\S]*?)```/g,n=[];let r;for(;null!==(r=t.exec(e));){const e=r[1]?r[1]:"unknown",t=r[2].replace(/\n/g," ").trim();n.push({language:e,code:t})}return n}(r.message.content);return!i.length||(f.message.success(C({id:"advance.components.Assistant.Component.StartQueryingGraphData",dm:"开始查询图数据..."})),yield(o=i[0],Xg(void 0,void 0,void 0,(function*(){if(!v)return!1;const e=yield v({value:o.code,limit:25});return d((t=>{const n=h(e);if(0===n.nodes.length&&f.message.info(C({id:"advance.components.Assistant.Component.NoDataFound",dm:"没有查询到数据"})),n.nodes.length>y)return t.largeGraphMode=!0,t.largeGraphData=n,t.source=n,t.data={nodes:[],edges:[]},void(t.isLoading=!1);t.data=n,t.source=n,t.isLoading=!1})),!0}))));var o}));return(0,m.useEffect)((()=>{u&&R((e=>[...e.splice(2,e.length),...qg(l,o,u)]))}),[u,l,o]),g().createElement(Zg,{disabled:!t,onStart:()=>{setTimeout((()=>{S(!0)}),100)},onStop:()=>{setTimeout((()=>{S(!1)}),100)},bounds:".gi-analysis"},g().createElement("div",{className:"assistant",style:O},g().createElement(lr,{in:!E,timeout:300,classNames:"dialog-button",unmountOnExit:!0},g().createElement("div",{onClick:()=>!x&&T(!0),className:"dialog-button"},g().createElement("img",{src:n,width:s[0],height:s[1],alt:"logo"}))),g().createElement(lr,{in:E,timeout:300,classNames:"dialog",unmountOnExit:!0},g().createElement("div",{className:"dialog-wrapper",ref:b,style:N},g().createElement("div",{className:"dialog-container"},g().createElement(dr.Provider,{value:{loading:w,setLoading:L,messages:A,onSendMessage:k,onInput:e=>k(new Vg({role:"user",content:e})),abortQuery:()=>{_.abort(),R((e=>{const t=e.filter((e=>!e.reserved))[e.length-1];return t&&(t.status="cancel"),[...e]})),L(!1)},clearMessages:()=>{R(A.filter((e=>e.reserved)))}}},g().createElement(Wg,{title:C({id:"advance.components.Assistant.Component.AiAssistant",dm:"AI 助理"}),onClose:()=>T(!1)}),g().createElement($g,null)))))))})),ey={id:"Assistant",name:C({id:"advance.components.Assistant.info.AiAssistant",dm:"AI 助理"}),desc:C({id:"advance.components.Assistant.info.AiAssistant",dm:"AI 助理"}),cover:"http://xxx.jpg",category:"system-interaction",services:["CypherQuery","GremlinQuery"],icon:"icon-robot",type:"AUTO",docs:"https://www.yuque.com/antv/gi/zepk11ds9vrt4gcs"},ty={info:ey,component:Jg,registerMeta:e=>{const{services:t,engineId:n}=e,{options:r,defaultValue:i}=p.utils.getServiceOptionsByEngineId(t,ey.services[0],n);return{apiKey:{title:"API KEY",type:"string","x-decorator":"FormItem","x-component":"Input.Password",default:""},serviceId:{title:C({id:"advance.components.Assistant.registerMeta.DataService",dm:"数据服务"}),type:"string","x-decorator":"FormItem","x-component":"Select","x-component-props":{options:r},default:i},logo:{title:"Logo",type:"string","x-decorator":"FormItem","x-component":"Input",default:"https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*n07bSaB--F4AAAAAAAAAAAAADmJ7AQ/original"},size:{title:C({id:"advance.components.Assistant.registerMeta.Size",dm:"尺寸"}),type:"string","x-decorator":"FormItem","x-component":"Offset","x-component-props":{min:10,max:100},default:[50,50]},placement:{title:C({id:"advance.components.Assistant.registerMeta.Location",dm:"位置"}),type:"string","x-decorator":"FormItem","x-component":"Select","x-component-props":{options:[{value:"LT",label:C({id:"advance.components.Assistant.registerMeta.UpperLeft",dm:"左上"})},{value:"RT",label:C({id:"advance.components.Assistant.registerMeta.UpperRight",dm:"右上"})},{value:"LB",label:C({id:"advance.components.Assistant.registerMeta.LowerLeft",dm:"左下"})},{value:"RB",label:C({id:"advance.components.Assistant.registerMeta.LowerRight",dm:"右下"})}]},default:"LT"},offset:{title:C({id:"advance.components.Assistant.registerMeta.Offset",dm:"偏移量"}),type:"string","x-decorator":"FormItem","x-component":"Offset","x-component-props":{min:0,max:400},default:[100,20]},draggable:{title:C({id:"advance.components.Assistant.registerMeta.Draggable",dm:"可拖拽"}),type:"boolean","x-decorator":"FormItem","x-component":"Switch",default:!0},welcome:{title:C({id:"advance.components.Assistant.registerMeta.Welcome",dm:"欢迎语"}),type:"string","x-decorator":"FormItem","x-component":"Input.TextArea","x-component-props":{autoSize:!0},default:C({id:"advance.components.Assistant.registerMeta.HelloIAmGraphinsightAssistant",dm:"您好!我是 GraphInsight 助理。请问有什么关于 GraphInsight 的问题或需求?"})},prompt:{title:C({id:"advance.components.Assistant.registerMeta.PromptWords",dm:"提示词"}),type:"string","x-decorator":"FormItem","x-component":"Input.TextArea","x-component-props":{placeholder:C({id:"advance.components.Assistant.registerMeta.SupportedVariablesGraphschemaUsageGraphschema",dm:'支持的变量:graphSchema,使用方式:"${graphSchema}"'}),autoSize:!0},default:C({id:"advance.components.Assistant.registerMeta.GraphinsightIsAnExtensibleGraph",dm:"GraphInsight 是一个可扩展的图可视分析平台,包括数据源管理、构图、图元素个性化配置、图可视分析等功能模块。"})+C({id:"advance.components.Assistant.registerMeta.YourTaskIsToAct",dm:"你的任务是作为助理机器人,为 GraphInsight 的用户提供使用指引,包括根据用户的需求生成对应的 Cypher 查询语句。"})+C({id:"advance.components.Assistant.registerMeta.CypherStatementIsAppliedTo",dm:"Cypher 语句是应用于 Neo4j 声明式图查询语言"})+C({id:"advance.components.Assistant.registerMeta.ForExampleWhenAUser",dm:"例如,当用户说“我想找出回答数最多的问题”,你可以以下列方式给出查询:"})+"```Cypher\nMATCH(q:Question)<-[:ANSWERED]-(a:Answer)\nWITH q,count(a)AS answer_count\nORDERBY answer_count DESC\nLIMIT1\nRETURN q, answer_count\n```\n"+C({id:"advance.components.Assistant.registerMeta.NoteThatYouOnlyNeed",dm:"注意只需要返回查询节点即可,不需要查询属性"})+C({id:"advance.components.Assistant.registerMeta.TheDataInformationOfThe",dm:"当前用户查看的图的数据信息如下:"})+"${graphSchema}"+C({id:"advance.components.Assistant.registerMeta.PleaseDoNotAnswerQuestions",dm:"请不要回答与 GraphInsight 无关的问题。"})+C({id:"advance.components.Assistant.registerMeta.YouOnlyNeedToGive",dm:"你只需要根据用户的回答给出查询代码,并告知用户正在为您查询,不需要做过多的解释。"})+C({id:"advance.components.Assistant.registerMeta.StartTheConversationWithThe",dm:"下面开始和用户的对话。"})}}}};var ny=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n};const ry=(0,m.memo)((e=>{const{style:t={},theme:n="rjv-default"}=e,{data:r}=(0,p.useContext)(),i=(0,m.useMemo)((()=>{const{nodes:e=[],edges:t=[],combos:n=[]}=r,i=ny(r,["nodes","edges","combos"]);return Object.assign({nodes:e.map((e=>{const{type:t,style:n,nodeType:r,nodeTypeKeyFromProperties:i}=e,o=ny(e,["type","style","nodeType","nodeTypeKeyFromProperties"]);return Object.assign(Object.assign({},o),{[i]:r})})),edges:t.map((e=>{const{type:t,style:n,edgeType:r,edgeTypeKeyFromProperties:i}=e,o=ny(e,["type","style","edgeType","edgeTypeKeyFromProperties"]);return Object.assign(Object.assign({},o),{[i]:r})})),combos:null==n?void 0:n.map((e=>{const t=e,{style:n,type:r}=t;return ny(t,["style","type"])}))},i)}),[r]);return g().createElement("div",{className:"gi-json-mode",id:"gi-json-mode",style:t},g().createElement(pn(),{src:i,theme:n,style:{height:"100%"}}))})),iy={id:"JSONMode",name:C({id:"advance.components.JSONMode.info.CodeMode",dm:"代码模式"}),desc:C({id:"advance.components.JSONMode.info.ShowDataInCode",dm:"将数据以代码形式展示"}),icon:"icon-table",cover:"http://xxxx.jpg",category:"data-query",type:"GIAC_CONTENT",docs:"https://www.yuque.com/antv/gi/phx0p1kkgm2sei6o"},{deepClone:oy,GIAC_CONTENT_METAS:ay}=p.extra,sy=oy(ay);sy.GIAC_CONTENT.properties.GIAC_CONTENT.properties.title.default=iy.name,sy.GIAC_CONTENT.properties.GIAC_CONTENT.properties.icon.default=iy.icon,sy.GIAC_CONTENT.properties.GIAC_CONTENT.properties.tooltip.default=iy.desc,sy.GIAC_CONTENT.properties.GIAC_CONTENT.properties.containerWidth.default="400px";const ly=["tomorrow","rjv-default","google","harmonic","mocha","solarized"],cy={component:ry,registerMeta:({schemaData:e})=>Object.assign({theme:{title:C({id:"advance.components.JSONMode.registerMeta.StyleTheme",dm:"样式主题"}),type:"string","x-decorator":"FormItem","x-component":"Select","x-component-props":{options:ly.map((e=>({value:e,label:e})))},default:"rjv-default"}},sy),info:iy},uy=(0,m.memo)((()=>{const{data:e,sourceDataMap:t,config:n,schemaData:r}=(0,p.useContext)(),{nodesConfigMap:i,edgesConfigMap:o}=g().useMemo((()=>{const e=new Map,t=new Map,{nodes:r,edges:i}=n;return r.forEach((t=>{const n=JSON.stringify(t.expressions);e.set(n,t)})),i.forEach((e=>{const n=JSON.stringify(e.expressions);t.set(n,e)})),{nodesConfigMap:e,edgesConfigMap:t}}),[n]),[a,s]=Le({graphStruct:{nodes:[],edges:[]}}),l=(0,m.useRef)(new Map),c=(0,m.useRef)(new Map);return(0,m.useEffect)((()=>{const n=new Map,r=new Map;e.edges.forEach((e=>{const{source:t,target:i}=e;n.set(t,n.has(t)?n.get(t)+1:1),r.set(i,r.has(i)?r.get(i)+1:1)}));const a=e.nodes.filter((e=>!r.has(e.id))).map((e=>e.id)),u=e.nodes.filter((e=>!n.has(e.id))).map((e=>e.id)),h={nodes:[],edges:[]},d=l.current,f=c.current;a.forEach((n=>{u.forEach((r=>{const{allNodePath:a,allEdgePath:s}=p.utils.findAllPath(e,n,r,!0);for(let e=0;e<a.length;e++){const n=a[e],r=s[e];for(let e=0;e<n.length;e++){const r=n[e],o=t.nodes[r].nodeType,a=o+e,s=[{name:t.nodes[r].nodeTypeKeyFromProperties,operator:"eql",value:o}],l=JSON.stringify(s),c=i.get(l),u=c&&c.props&&c.props.color||"#ddd";h.nodes.push({id:a,style:{keyshape:{size:20,fill:u,fillOpacity:1},label:{value:o}}});const p=d.has(a)?d.get(a):new Set;p.add(r),d.set(a,p)}for(let e=0;e<r.length;e++){const i=r[e],a=t.edges[i].edgeType,s=n[e],l=n[e+1],c=t.nodes[s].nodeType+e,u=t.nodes[l].nodeType+(e+1),p=c+"-"+u+e,d=[{name:t.edges[i].edgeTypeKeyFromProperties,operator:"eql",value:a}],m=JSON.stringify(d),g=o.get(m),y=g&&g.props&&g.props.color||"#ddd";h.edges.push({source:c,target:u,id:p,style:{keyshape:{stroke:y},label:{value:a,fill:y,fontSize:12}}});const v=f.has(p)?f.get(p):new Set;v.add(i),f.set(p,v)}}}))})),h.nodes=p.utils.uniqueElementsBy(h.nodes,((e,t)=>e.id===t.id)),h.edges=p.utils.uniqueElementsBy(h.edges,((e,t)=>e.id===t.id)),h.nodes=h.nodes.map((e=>{var t;return Object.assign(Object.assign({},e),{style:Object.assign(Object.assign({},e.style),{icon:{type:"text",value:String((null===(t=d.get(e.id))||void 0===t?void 0:t.size)||0),stroke:"#fff",fill:"#fff"}})})})),s((e=>{e.graphStruct=h}))}),[e,t]),g().createElement(g().Fragment,null,g().createElement("div",{style:{margin:"8px 0",textAlign:"center"}},C({id:"advance.components.StructAnalysis.Component.AnalyzeTheSchemaAbstractionStructure",dm:"分析当前画布中所有路径的 Schema 抽象结构,即路径中节点与边的类型组合"})),g().createElement(Nt(),{data:a.graphStruct,style:{background:"var(--background-color)"},layout:{type:"dagre"}}))})),hy={id:"StructAnalysis",name:C({id:"advance.components.StructAnalysis.info.PathStructureAnalysis",dm:"路径结构分析"}),desc:C({id:"advance.components.StructAnalysis.info.AutomaticallyParseAllPathsOf",dm:"自动解析画布所有路径,做聚合分析"}),icon:"icon-layout-tree",cover:"http://xxxx.jpg",category:"algorithm-analysis",type:"GIAC_CONTENT",docs:"https://www.yuque.com/antv/gi/za1cihu8pus4usds"},{deepClone:py,GIAC_CONTENT_METAS:dy}=p.extra,fy=py(dy);fy.GIAC_CONTENT.properties.GIAC_CONTENT.properties.title.default=hy.name,fy.GIAC_CONTENT.properties.GIAC_CONTENT.properties.icon.default=hy.icon,fy.GIAC_CONTENT.properties.GIAC_CONTENT.properties.tooltip.default=hy.desc,fy.GIAC_CONTENT.properties.GIAC_CONTENT.properties.containerWidth.default="400px";const my={info:hy,component:uy,registerMeta:()=>Object.assign({},fy)};var gy=u(8494);const yy=({elementType:e="nodes",service:t,controlledValues:n,onOpen:r})=>{const{updateContext:i,updateHistory:o,data:a,config:s,assets:l,schemaData:c={nodes:[],edges:[]}}=(0,p.useContext)(),u=g().useMemo((()=>p.utils.getElementsByAssets(l.elements,a,c)),[c,a]),h=n=>{const r=n.map((e=>{const{id:t,groupId:n,groupName:r,expressions:i,logic:o}=e;return{id:t,props:e.props,groupId:n,groupName:r,expressions:i,logic:o}})),a=JSON.parse(JSON.stringify(r));i((t=>{t.config[e]=a,t.layoutCache=!0})),o({componentId:"StyleSettingPanel",type:"configure",subType:C({id:"advance.components.StyleSetting.StyleSettingPanel.StyleSettings",dm:"样式设置"}),statement:C({id:"advance.components.StyleSetting.StyleSettingPanel.StyleSettings",dm:"样式设置"}),success:!0,params:{elementType:e,styleGroups:JSON.parse(JSON.stringify(n))}}),t&&t(a,e)};return(0,m.useEffect)((()=>{const{elementType:t,styleGroups:i}=n||{};n&&t===e&&(h(i),null==r||r())}),[n]),g().createElement(gy.Z,{schemaData:c,onChange:h,config:s,data:a,elementType:e,elements:u[e]})},{TabPane:vy}=f.Tabs,_y=(0,m.memo)((e=>{const{serviceId:t,controlledValues:n}=e,{services:r}=(0,p.useContext)(),i=p.utils.getService(r,t);return g().createElement("div",{className:"gi-style-setting"},g().createElement(f.Tabs,null,g().createElement(vy,{key:"nodes",tab:C({id:"advance.components.StyleSetting.Component.Node",dm:"节点"})},g().createElement(yy,{elementType:"nodes",service:i,controlledValues:n})),g().createElement(vy,{key:"edges",tab:C({id:"advance.components.StyleSetting.Component.Edge",dm:"边"})},g().createElement(yy,{elementType:"edges",service:i,controlledValues:n}))))})),by="StyleSetting",Ey={id:by,name:C({id:"advance.components.StyleSetting.info.StyleSettings",dm:"样式设置"}),desc:C({id:"advance.components.StyleSetting.info.SetElementStylesToCustomize",dm:"设置元素样式,可自定义分组规则"}),icon:"icon-bg-colors",cover:"http://xxxx.jpg",category:"elements-interaction",services:[by],type:"GIAC_CONTENT",docs:"https://www.yuque.com/antv/gi/kf54p9k1ffxpcm18"},{GIAC_CONTENT_METAS:Ty,deepClone:xy}=p.extra,Sy=xy(Ty);Sy.GIAC_CONTENT.properties.GIAC_CONTENT.properties.icon.default="icon-bold",Sy.GIAC_CONTENT.properties.GIAC_CONTENT.properties.title.default=C({id:"advance.components.StyleSetting.registerMeta.StyleSettings",dm:"样式设置"});const Cy={info:Ey,component:_y,registerMeta:e=>{const{services:t,engineId:n}=e,{options:r,defaultValue:i}=p.utils.getServiceOptionsByEngineId(t,Ey.services[0],n);return Object.assign({serviceId:{title:C({id:"advance.components.StyleSetting.registerMeta.DataService",dm:"数据服务"}),type:"string","x-decorator":"FormItem","x-component":"Select","x-component-props":{options:r},default:i}},Sy)}},Ay=e=>"string"==typeof e,Ry=(Object.create(null),Array.isArray),wy=e=>"number"==typeof e,Ly=e=>Number.isNaN(Number(e)),Oy=e=>null!==e&&"object"==typeof e,Ny=e=>{if(null===e)return e;if(e instanceof Date)return new Date(e.getTime());if(e instanceof Array){const t=[];return e.forEach((e=>{t.push(e)})),t.map((e=>Ny(e)))}if("object"==typeof e&&Object.keys(e).length){const t=Object.assign({},e);return Object.keys(t).forEach((e=>{t[e]=Ny(t[e])})),t}return e},Iy=(e,t)=>{const n=e[t];return Oy(n)?n.cell:n},ky=(e,t,n)=>{const r=[];for(let t=0;t<e;t++)r[t]={in:0,out:0,all:0};return n?(n.forEach((e=>{const n=Iy(e,"source"),i=Iy(e,"target");n&&r[t[n]]&&(r[t[n]].out+=1,r[t[n]].all+=1),i&&r[t[i]]&&(r[t[i]].in+=1,r[t[i]].all+=1)})),r):r},Dy=e=>"function"==typeof e,Py=(e,t,n)=>{let r;return r=n||(wy(e)?()=>e:()=>t),r},My=(e,t,n=!0)=>t||0===t?Dy(t)?t:wy(t)?()=>t:Ry(t)?()=>{if(n){const n=Math.max(...t);return isNaN(n)?e:n}return t}:Oy(t)?()=>{if(n){const n=Math.max(t.width,t.height);return isNaN(n)?e:n}return[t.width,t.height]}:()=>e:t=>t.size?Ry(t.size)?t.size[0]>t.size[1]?t.size[0]:t.size[1]:Oy(t.size)?t.size.width>t.size.height?t.size.width:t.size.height:t.size:e;new Map;class Fy{constructor(){this.nodes=[],this.edges=[],this.combos=[],this.comboEdges=[],this.hiddenNodes=[],this.hiddenEdges=[],this.hiddenCombos=[],this.vedges=[],this.positions=[],this.destroyed=!1,this.onLayoutEnd=()=>{}}layout(e){return this.init(e),this.execute(!0)}init(e){this.nodes=e.nodes||[],this.edges=e.edges||[],this.combos=e.combos||[],this.comboEdges=e.comboEdges||[],this.hiddenNodes=e.hiddenNodes||[],this.hiddenEdges=e.hiddenEdges||[],this.hiddenCombos=e.hiddenCombos||[],this.vedges=e.vedges||[]}execute(e){}executeWithWorker(){}getDefaultCfg(){return{}}updateCfg(e){e&&Object.assign(this,e)}getType(){return"base"}destroy(){this.nodes=null,this.edges=null,this.combos=null,this.positions=null,this.destroyed=!0}}function Hy(e,t,n,r){if(isNaN(t)||isNaN(n))return e;var i,o,a,s,l,c,u,h,p,d=e._root,f={data:r},m=e._x0,g=e._y0,y=e._x1,v=e._y1;if(!d)return e._root=f,e;for(;d.length;)if((c=t>=(o=(m+y)/2))?m=o:y=o,(u=n>=(a=(g+v)/2))?g=a:v=a,i=d,!(d=d[h=u<<1|c]))return i[h]=f,e;if(s=+e._x.call(null,d.data),l=+e._y.call(null,d.data),t===s&&n===l)return f.next=d,i?i[h]=f:e._root=f,e;do{i=i?i[h]=new Array(4):e._root=new Array(4),(c=t>=(o=(m+y)/2))?m=o:y=o,(u=n>=(a=(g+v)/2))?g=a:v=a}while((h=u<<1|c)==(p=(l>=a)<<1|s>=o));return i[p]=d,i[h]=f,e}function By(e,t,n,r,i){this.node=e,this.x0=t,this.y0=n,this.x1=r,this.y1=i}function Uy(e){return e[0]}function jy(e){return e[1]}function Gy(e,t,n,r,i,o){this._x=e,this._y=t,this._x0=n,this._y0=r,this._x1=i,this._y1=o,this._root=void 0}function Yy(e){for(var t={data:e.data},n=t;e=e.next;)n=n.next={data:e.data};return t}var zy=function(e,t,n){var r=new Gy(null==t?Uy:t,null==n?jy:n,NaN,NaN,NaN,NaN);return null==e?r:r.addAll(e)}.prototype=Gy.prototype;zy.copy=function(){var e,t,n=new Gy(this._x,this._y,this._x0,this._y0,this._x1,this._y1),r=this._root;if(!r)return n;if(!r.length)return n._root=Yy(r),n;for(e=[{source:r,target:n._root=new Array(4)}];r=e.pop();)for(var i=0;i<4;++i)(t=r.source[i])&&(t.length?e.push({source:t,target:r.target[i]=new Array(4)}):r.target[i]=Yy(t));return n},zy.add=function(e){const t=+this._x.call(null,e),n=+this._y.call(null,e);return Hy(this.cover(t,n),t,n,e)},zy.addAll=function(e){var t,n,r,i,o=e.length,a=new Array(o),s=new Array(o),l=1/0,c=1/0,u=-1/0,h=-1/0;for(n=0;n<o;++n)isNaN(r=+this._x.call(null,t=e[n]))||isNaN(i=+this._y.call(null,t))||(a[n]=r,s[n]=i,r<l&&(l=r),r>u&&(u=r),i<c&&(c=i),i>h&&(h=i));if(l>u||c>h)return this;for(this.cover(l,c).cover(u,h),n=0;n<o;++n)Hy(this,a[n],s[n],e[n]);return this},zy.cover=function(e,t){if(isNaN(e=+e)||isNaN(t=+t))return this;var n=this._x0,r=this._y0,i=this._x1,o=this._y1;if(isNaN(n))i=(n=Math.floor(e))+1,o=(r=Math.floor(t))+1;else{for(var a,s,l=i-n||1,c=this._root;n>e||e>=i||r>t||t>=o;)switch(s=(t<r)<<1|e<n,(a=new Array(4))[s]=c,c=a,l*=2,s){case 0:i=n+l,o=r+l;break;case 1:n=i-l,o=r+l;break;case 2:i=n+l,r=o-l;break;case 3:n=i-l,r=o-l}this._root&&this._root.length&&(this._root=c)}return this._x0=n,this._y0=r,this._x1=i,this._y1=o,this},zy.data=function(){var e=[];return this.visit((function(t){if(!t.length)do{e.push(t.data)}while(t=t.next)})),e},zy.extent=function(e){return arguments.length?this.cover(+e[0][0],+e[0][1]).cover(+e[1][0],+e[1][1]):isNaN(this._x0)?void 0:[[this._x0,this._y0],[this._x1,this._y1]]},zy.find=function(e,t,n){var r,i,o,a,s,l,c,u=this._x0,h=this._y0,p=this._x1,d=this._y1,f=[],m=this._root;for(m&&f.push(new By(m,u,h,p,d)),null==n?n=1/0:(u=e-n,h=t-n,p=e+n,d=t+n,n*=n);l=f.pop();)if(!(!(m=l.node)||(i=l.x0)>p||(o=l.y0)>d||(a=l.x1)<u||(s=l.y1)<h))if(m.length){var g=(i+a)/2,y=(o+s)/2;f.push(new By(m[3],g,y,a,s),new By(m[2],i,y,g,s),new By(m[1],g,o,a,y),new By(m[0],i,o,g,y)),(c=(t>=y)<<1|e>=g)&&(l=f[f.length-1],f[f.length-1]=f[f.length-1-c],f[f.length-1-c]=l)}else{var v=e-+this._x.call(null,m.data),_=t-+this._y.call(null,m.data),b=v*v+_*_;if(b<n){var E=Math.sqrt(n=b);u=e-E,h=t-E,p=e+E,d=t+E,r=m.data}}return r},zy.remove=function(e){if(isNaN(o=+this._x.call(null,e))||isNaN(a=+this._y.call(null,e)))return this;var t,n,r,i,o,a,s,l,c,u,h,p,d=this._root,f=this._x0,m=this._y0,g=this._x1,y=this._y1;if(!d)return this;if(d.length)for(;;){if((c=o>=(s=(f+g)/2))?f=s:g=s,(u=a>=(l=(m+y)/2))?m=l:y=l,t=d,!(d=d[h=u<<1|c]))return this;if(!d.length)break;(t[h+1&3]||t[h+2&3]||t[h+3&3])&&(n=t,p=h)}for(;d.data!==e;)if(r=d,!(d=d.next))return this;return(i=d.next)&&delete d.next,r?(i?r.next=i:delete r.next,this):t?(i?t[h]=i:delete t[h],(d=t[0]||t[1]||t[2]||t[3])&&d===(t[3]||t[2]||t[1]||t[0])&&!d.length&&(n?n[p]=d:this._root=d),this):(this._root=i,this)},zy.removeAll=function(e){for(var t=0,n=e.length;t<n;++t)this.remove(e[t]);return this},zy.root=function(){return this._root},zy.size=function(){var e=0;return this.visit((function(t){if(!t.length)do{++e}while(t=t.next)})),e},zy.visit=function(e){var t,n,r,i,o,a,s=[],l=this._root;for(l&&s.push(new By(l,this._x0,this._y0,this._x1,this._y1));t=s.pop();)if(!e(l=t.node,r=t.x0,i=t.y0,o=t.x1,a=t.y1)&&l.length){var c=(r+o)/2,u=(i+a)/2;(n=l[3])&&s.push(new By(n,c,u,o,a)),(n=l[2])&&s.push(new By(n,r,u,c,a)),(n=l[1])&&s.push(new By(n,c,i,o,u)),(n=l[0])&&s.push(new By(n,r,i,c,u))}return this},zy.visitAfter=function(e){var t,n=[],r=[];for(this._root&&n.push(new By(this._root,this._x0,this._y0,this._x1,this._y1));t=n.pop();){var i=t.node;if(i.length){var o,a=t.x0,s=t.y0,l=t.x1,c=t.y1,u=(a+l)/2,h=(s+c)/2;(o=i[0])&&n.push(new By(o,a,s,u,h)),(o=i[1])&&n.push(new By(o,u,s,l,h)),(o=i[2])&&n.push(new By(o,a,h,u,c)),(o=i[3])&&n.push(new By(o,u,h,l,c))}r.push(t)}for(;t=r.pop();)e(t.node,t.x0,t.y0,t.x1,t.y1);return this},zy.x=function(e){return arguments.length?(this._x=e,this):this._x},zy.y=function(e){return arguments.length?(this._y=e,this):this._y};var $y={value:()=>{}};function Wy(e){this._=e}function Vy(e,t){for(var n,r=0,i=e.length;r<i;++r)if((n=e[r]).name===t)return n.value}function Ky(e,t,n){for(var r=0,i=e.length;r<i;++r)if(e[r].name===t){e[r]=$y,e=e.slice(0,r).concat(e.slice(r+1));break}return null!=n&&e.push({name:t,value:n}),e}Wy.prototype=function(){for(var e,t=0,n=arguments.length,r={};t<n;++t){if(!(e=arguments[t]+"")||e in r||/[\s.]/.test(e))throw new Error("illegal type: "+e);r[e]=[]}return new Wy(r)}.prototype={constructor:Wy,on:function(e,t){var n,r,i=this._,o=(r=i,(e+"").trim().split(/^|\s+/).map((function(e){var t="",n=e.indexOf(".");if(n>=0&&(t=e.slice(n+1),e=e.slice(0,n)),e&&!r.hasOwnProperty(e))throw new Error("unknown type: "+e);return{type:e,name:t}}))),a=-1,s=o.length;if(!(arguments.length<2)){if(null!=t&&"function"!=typeof t)throw new Error("invalid callback: "+t);for(;++a<s;)if(n=(e=o[a]).type)i[n]=Ky(i[n],e.name,t);else if(null==t)for(n in i)i[n]=Ky(i[n],e.name,null);return this}for(;++a<s;)if((n=(e=o[a]).type)&&(n=Vy(i[n],e.name)))return n},copy:function(){var e={},t=this._;for(var n in t)e[n]=t[n].slice();return new Wy(e)},call:function(e,t){if((n=arguments.length-2)>0)for(var n,r,i=new Array(n),o=0;o<n;++o)i[o]=arguments[o+2];if(!this._.hasOwnProperty(e))throw new Error("unknown type: "+e);for(o=0,n=(r=this._[e]).length;o<n;++o)r[o].value.apply(t,i)},apply:function(e,t,n){if(!this._.hasOwnProperty(e))throw new Error("unknown type: "+e);for(var r=this._[e],i=0,o=r.length;i<o;++i)r[i].value.apply(t,n)}};var qy,Xy,Zy=0,Qy=0,Jy=0,ev=1e3,tv=0,nv=0,rv=0,iv="object"==typeof performance&&performance.now?performance:Date,ov="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(e){setTimeout(e,17)};function av(){return nv||(ov(sv),nv=iv.now()+rv)}function sv(){nv=0}function lv(){this._call=this._time=this._next=null}function cv(){nv=(tv=iv.now())+rv,Zy=Qy=0;try{!function(){av(),++Zy;for(var e,t=qy;t;)(e=nv-t._time)>=0&&t._call.call(null,e),t=t._next;--Zy}()}finally{Zy=0,function(){for(var e,t,n=qy,r=1/0;n;)n._call?(r>n._time&&(r=n._time),e=n,n=n._next):(t=n._next,n._next=null,n=e?e._next=t:qy=t);Xy=e,hv(r)}(),nv=0}}function uv(){var e=iv.now(),t=e-tv;t>ev&&(rv-=t,tv=e)}function hv(e){Zy||(Qy&&(Qy=clearTimeout(Qy)),e-nv>24?(e<1/0&&(Qy=setTimeout(cv,e-iv.now()-rv)),Jy&&(Jy=clearInterval(Jy))):(Jy||(tv=iv.now(),Jy=setInterval(uv,ev)),Zy=1,ov(cv)))}function pv(e,t){const n=e.degree,r=t.degree;return n<r?-1:n>r?1:0}lv.prototype=function(e,t,n){var r=new lv;return r.restart(e,t,n),r}.prototype={constructor:lv,restart:function(e,t,n){if("function"!=typeof e)throw new TypeError("callback is not a function");n=(null==n?av():+n)+(null==t?0:+t),this._next||Xy===this||(Xy?Xy._next=this:qy=this,Xy=this),this._call=e,this._time=n,hv()},stop:function(){this._call&&(this._call=null,this._time=1/0,hv())}},Math.PI,Math.sqrt(5);const dv=(e,t)=>{if("next"!==e&&"prev"!==e)return t},fv=e=>{e.prev.next=e.next,e.next.prev=e.prev,delete e.next,delete e.prev};class mv{constructor(){const e={};e.prev=e,e.next=e.prev,this.shortcut=e}dequeue(){const e=this.shortcut,t=e.prev;if(t&&t!==e)return fv(t),t}enqueue(e){const t=this.shortcut;e.prev&&e.next&&fv(e),e.next=t.next,t.next.prev=e,t.next=e,e.prev=t}toString(){const e=[],t=this.shortcut;let n=t.prev;for(;n!==t;)e.push(JSON.stringify(n,dv)),n=null==n?void 0:n.prev;return`[${e.join(", ")}]`}}var gv;function yv(e,t){var n=e.get(t)||0;e.set(t,n+1)}function vv(e,t){var n=e.get(t);void 0!==n&&((n-=1)>0?e.set(t,n):e.delete(t))}function _v(e,t,n,r){var i=String(t),o=String(n);if(!e&&i>o){var a=i;i=o,o=a}return i+gv.EDGE_KEY_DELIM+o+gv.EDGE_KEY_DELIM+(void 0===r?gv.DEFAULT_EDGE_NAME:r)}function bv(e,t,n,r){var i=String(t),o=String(n),a={v:t,w:n};if(!e&&i>o){var s=a.v;a.v=a.w,a.w=s}return void 0!==r&&(a.name=r),a}function Ev(e,t){return _v(e,t.v,t.w,t.name)}function Tv(e){return"function"==typeof e}!function(e){e.DEFAULT_EDGE_NAME="\0",e.GRAPH_NODE="\0",e.EDGE_KEY_DELIM=""}(gv||(gv={}));var xv=function(e){return e.nodes().map((function(t){var n={id:t,value:e.node(t),parent:e.parent(t)};return void 0===n.value&&delete n.value,void 0===n.parent&&delete n.parent,n}))},Sv=function(e){return e.edges().map((function(t){var n=e.edge(t),r={v:t.v,w:t.w,value:n,name:t.name};return void 0===r.name&&delete r.name,void 0===r.value&&delete r.value,r}))};function Cv(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Av(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Cv(Object(n),!0).forEach((function(t){Rv(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Cv(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Rv(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function wv(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var Lv={compound:!1,multigraph:!1,directed:!0},Ov=function(){function e(){var t=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.directed=!0,this.multigraph=!1,this.compound=!1,this.GRAPH_NODE=gv.GRAPH_NODE,this.label=void 0,this.nodeCountNum=0,this.edgeCountNum=0,this.defaultNodeLabelFn=function(){},this.defaultEdgeLabelFn=function(){},this.parentMap=void 0,this.childrenMap=void 0,this.nodesLabelMap=new Map,this.inEdgesMap=new Map,this.outEdgesMap=new Map,this.predecessorsMap=new Map,this.successorsMap=new Map,this.edgesMap=new Map,this.edgesLabelsMap=new Map,this.isDirected=function(){return t.directed},this.isMultigraph=function(){return t.multigraph},this.isCompound=function(){return t.compound},this.setGraph=function(e){return t.label=e,t},this.graph=function(){return t.label},this.setDefaultNodeLabel=function(e){return Tv(e)?t.defaultNodeLabelFn=e:t.defaultNodeLabelFn=function(){return e},t},this.nodeCount=function(){return t.nodeCountNum},this.node=function(e){return t.nodesLabelMap.get(e)},this.nodes=function(){return Array.from(t.nodesLabelMap.keys())},this.sources=function(){return t.nodes().filter((function(e){var n;return!(null===(n=t.inEdgesMap.get(e))||void 0===n?void 0:n.size)}))},this.sinks=function(){return t.nodes().filter((function(e){var n;return!(null===(n=t.outEdgesMap.get(e))||void 0===n?void 0:n.size)}))},this.setNodes=function(e,n){return e.map((function(e){return t.setNode(e,n)})),t},this.hasNode=function(e){return t.nodesLabelMap.has(e)},this.checkCompound=function(){if(!t.isCompound())throw new Error("Cannot construct parent-children relations in a non-compound graph")},this.parent=function(e){if(t.isCompound()){var n,r=null===(n=t.parentMap)||void 0===n?void 0:n.get(e);if(r!==t.GRAPH_NODE)return r}},this.removeFromParentsChildList=function(e){var n=t.parentMap.get(e);t.childrenMap.get(n).delete(e)},this.setParent=function(e,n){var r,i;t.checkCompound();for(var o=void 0===n?t.GRAPH_NODE:n,a=t.parent(o);a;){if(e===a)throw new Error("Setting "+n+" as parent of "+e+" would create a cycle");a=t.parent(a)}n&&t.setNode(n),t.setNode(e),t.removeFromParentsChildList(e),null===(r=t.parentMap)||void 0===r||r.set(e,o);var s=t.childrenMap.get(o);return s.set(e,!0),null===(i=t.childrenMap)||void 0===i||i.set(o,s),t},this.children=function(e){var n=void 0===e?t.GRAPH_NODE:e;if(t.isCompound()){var r,i=null===(r=t.childrenMap)||void 0===r?void 0:r.get(n);return i?Array.from(i.keys()):void 0}return n===t.GRAPH_NODE?t.nodes():e&&t.hasNode(e)?[]:void 0},this.predecessors=function(e){var n=t.predecessorsMap.get(e);return n?Array.from(n.keys()):void 0},this.successors=function(e){var n=t.successorsMap.get(e);return n?Array.from(n.keys()):void 0},this.neighbors=function(e){var n;if(t.hasNode(e))return Array.from(new Set(null===(n=t.predecessors(e))||void 0===n?void 0:n.concat(t.successors(e))))},this.isLeaf=function(e){var n,r;return t.isDirected()?!(null===(r=t.successors(e))||void 0===r?void 0:r.length):!(null===(n=t.neighbors(e))||void 0===n?void 0:n.length)},this.filterNodes=function(n){var r=t.directed,i=t.multigraph,o=t.compound,a=new e({directed:r,multigraph:i,compound:o});return a.setGraph(t.graph()),t.nodes().forEach((function(e){n(e)&&a.setNode(e,t.node(e))})),t.edges().forEach((function(e){a.hasNode(e.v)&&a.hasNode(e.w)&&a.setEdgeObj(e,t.edge(e))})),o&&a.nodes().forEach((function(e){a.setParent(e,function(e){for(var n=t.parent(e);void 0!==n&&!a.hasNode(n);)n=t.parent(n);return n}(e))})),a},this.setDefaultEdgeLabel=function(e){return Tv(e)?t.defaultEdgeLabelFn=e:t.defaultEdgeLabelFn=function(){return e},t},this.edgeCount=function(){return t.edgeCountNum},this.setEdgeObj=function(e,n){return t.setEdge(e.v,e.w,n,e.name)},this.setPath=function(e,n){return e.reduce((function(e,r){return t.setEdge(e,r,n),r})),t},this.edgeFromArgs=function(e,n,r){return t.edge({v:e,w:n,name:r})},this.edge=function(e){return t.edgesLabelsMap.get(Ev(t.isDirected(),e))},this.hasEdge=function(e,n,r){return t.edgesLabelsMap.has(Ev(t.isDirected(),{v:e,w:n,name:r}))},this.removeEdgeObj=function(e){var n=e.v,r=e.w,i=e.name;return t.removeEdge(n,r,i)},this.edges=function(){return Array.from(t.edgesMap.values())},this.inEdges=function(e,n){var r=t.inEdgesMap.get(e);if(r)return Array.from(r.values()).filter((function(e){return!n||e.v===n}))},this.outEdges=function(e,n){var r=t.outEdgesMap.get(e);if(r)return Array.from(r.values()).filter((function(e){return!n||e.w===n}))},this.nodeEdges=function(e,n){var r;if(t.hasNode(e))return null===(r=t.inEdges(e,n))||void 0===r?void 0:r.concat(t.outEdges(e,n))},this.toJSON=function(){return function(e){var t={options:{directed:e.isDirected(),multigraph:e.isMultigraph(),compound:e.isCompound()},nodes:xv(e),edges:Sv(e),value:e.graph()};return void 0===t.value&&delete t.value,t}(t)},this.nodeInDegree=function(e){var n=t.inEdgesMap.get(e);return n?n.size:0},this.nodeOutDegree=function(e){var n=t.outEdgesMap.get(e);return n?n.size:0},this.nodeDegree=function(e){return t.nodeInDegree(e)+t.nodeOutDegree(e)},this.source=function(e){return e.v},this.target=function(e){return e.w};var r=Av(Av({},Lv),n);this.compound=r.compound,this.directed=r.directed,this.multigraph=r.multigraph,this.compound&&(this.parentMap=new Map,this.childrenMap=new Map)}var t,n;return t=e,n=[{key:"setNode",value:function(e,t){var n,r=this.nodesLabelMap,i=this.defaultNodeLabelFn,o=this.isCompound,a=this.parentMap,s=this.childrenMap,l=this.inEdgesMap,c=this.outEdgesMap,u=this.predecessorsMap,h=this.successorsMap;return r.has(e)?(void 0!==t&&r.set(e,t),this):(r.set(e,t||i(e)),o()&&(null==a||a.set(e,this.GRAPH_NODE),null==s||s.set(e,new Map),(null==s?void 0:s.has(this.GRAPH_NODE))||null==s||s.set(this.GRAPH_NODE,new Map),null==s||null===(n=s.get(this.GRAPH_NODE))||void 0===n||n.set(e,!0)),[l,c,u,h].forEach((function(t){return t.set(e,new Map)})),this.nodeCountNum+=1,this)}},{key:"removeNode",value:function(e){var t=this;if(this.hasNode(e)){var n,r,i,o=function(e){t.removeEdge(e.v,e.w,e.name)},a=this.inEdgesMap,s=this.outEdgesMap,l=this.predecessorsMap,c=this.successorsMap,u=this.nodesLabelMap;this.isCompound()&&(this.removeFromParentsChildList(e),null===(n=this.parentMap)||void 0===n||n.delete(e),null===(r=this.children(e))||void 0===r||r.forEach((function(e){return t.setParent(e)})),null===(i=this.childrenMap)||void 0===i||i.delete(e));var h=a.get(e),p=s.get(e);Array.from(h.values()).forEach((function(e){return o(e)})),Array.from(p.values()).forEach((function(e){return o(e)})),u.delete(e),a.delete(e),s.delete(e),l.delete(e),c.delete(e),this.nodeCountNum-=1}return this}},{key:"setEdge",value:function(e,t,n,r){var i,o,a=bv(this.isDirected(),e,t,r),s=Ev(this.isDirected(),a),l=a.v,c=a.w;if(this.edgesLabelsMap.has(s))return this.edgesLabelsMap.set(s,n),this;if(void 0!==r&&!this.isMultigraph())throw new Error("Cannot set a named edge when isMultigraph = false");this.setNode(l),this.setNode(c),this.edgesLabelsMap.set(s,n||this.defaultEdgeLabelFn(l,c,r)),Object.freeze(a),this.edgesMap.set(s,a);var u=this.predecessorsMap.get(c),h=this.successorsMap.get(l);return yv(u,l),yv(h,c),null===(i=this.inEdgesMap.get(c))||void 0===i||i.set(s,a),null===(o=this.outEdgesMap.get(l))||void 0===o||o.set(s,a),this.edgeCountNum+=1,this}},{key:"removeEdge",value:function(e,t,n){var r=_v(this.isDirected(),e,t,n);if(this.edgesMap.get(r)){var i=bv(this.isDirected(),e,t,n),o=i.v,a=i.w;this.edgesLabelsMap.delete(r),this.edgesMap.delete(r);var s=this.predecessorsMap.get(a),l=this.successorsMap.get(o);vv(s,o),vv(l,a),this.inEdgesMap.get(a).delete(r),this.outEdgesMap.get(o).delete(r),this.edgeCountNum-=1}return this}}],n&&wv(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();Ov.fromJSON=function(e){var t=new Ov(e.options);return void 0!==e.value&&t.setGraph(e.value),e.nodes.forEach((function(e){t.setNode(e.id,e.value),e.parent&&t.setParent(e.id,e.parent)})),e.edges.forEach((function(e){t.setEdge(e.v,e.w,e.value,e.name)})),t};var Nv=function e(t,n,r,i,o,a){i.includes(n)||(i.push(n),r||a.push(n),o(n).forEach((function(n){return e(t,n,r,i,o,a)})),r&&a.push(n))};const Iv=function(e,t,n){var r=Array.isArray(t)?t:[t],i=function(t){return e.isDirected()?e.successors(t):e.neighbors(t)},o=[],a=[];return r.forEach((function(t){if(!e.hasNode(t))throw new Error("Graph does not have node: "+t);Nv(e,t,"post"===n,a,i,o)})),o},kv=function(e,t){return Iv(e,t,"post")},Dv=function(e,t){return Iv(e,t,"pre")};class Pv extends mv{}class Mv extends Ov{}const Fv=()=>1,Hv=(e,t,n,r,i)=>{var o,a;const s=[];return null===(o=e.inEdges(r.v))||void 0===o||o.forEach((r=>{const o=e.edge(r),a=e.node(r.v);i&&s.push({v:r.v,w:r.w,in:0,out:0}),void 0===a.out&&(a.out=0),a.out-=o,Bv(t,n,a)})),null===(a=e.outEdges(r.v))||void 0===a||a.forEach((r=>{const i=e.edge(r),o=r.w,a=e.node(o);void 0===a.in&&(a.in=0),a.in-=i,Bv(t,n,a)})),e.removeNode(r.v),i?s:void 0},Bv=(e,t,n)=>{n.out?n.in?e[n.out-n.in+t].enqueue(n):e[e.length-1].enqueue(n):e[0].enqueue(n)},Uv=(e,t)=>{var n;if(e.nodeCount()<=1)return[];const r=((e,t)=>{const n=new Mv;let r=0,i=0;e.nodes().forEach((e=>{n.setNode(e,{v:e,in:0,out:0})})),e.edges().forEach((e=>{const o=n.edge(e)||0,a=(null==t?void 0:t(e))||1,s=o+a;n.setEdge(e.v,e.w,s),i=Math.max(i,n.node(e.v).out+=a),r=Math.max(r,n.node(e.w).in+=a)}));const o=[],a=i+r+3;for(let e=0;e<a;e++)o.push(new Pv);const s=r+1;return n.nodes().forEach((e=>{Bv(o,s,n.node(e))})),{buckets:o,zeroIdx:s,graph:n}})(e,t||Fv);return null===(n=((e,t,n)=>{let r=[];const i=t[t.length-1],o=t[0];let a;for(;e.nodeCount();){for(;a=o.dequeue();)Hv(e,t,n,a);for(;a=i.dequeue();)Hv(e,t,n,a);if(e.nodeCount())for(let i=t.length-2;i>0;--i)if(a=t[i].dequeue(),a){r=r.concat(Hv(e,t,n,a,!0));break}}return r})(r.graph,r.buckets,r.zeroIdx).map((t=>e.outEdges(t.v,t.w))))||void 0===n?void 0:n.flat()};class jv extends Ov{}const Gv=(e,t,n,r)=>{let i;do{i=`${r}${Math.random()}`}while(e.hasNode(i));return n.dummy=t,e.setNode(i,n),i},Yv=e=>{const t=new jv({multigraph:e.isMultigraph()}).setGraph(e.graph());return e.nodes().forEach((n=>{var r;(null===(r=e.children(n))||void 0===r?void 0:r.length)||t.setNode(n,e.node(n))})),e.edges().forEach((n=>{t.setEdgeObj(n,e.edge(n))})),t},zv=(e,t)=>{const n=Number(e.x),r=Number(e.y),i=Number(t.x)-n,o=Number(t.y)-r;let a,s,l=Number(e.width)/2,c=Number(e.height)/2;return i||o?(Math.abs(o)*l>Math.abs(i)*c?(o<0&&(c=-c),a=c*i/o,s=c):(i<0&&(l=-l),a=l,s=l*o/i),{x:n+a,y:r+s}):{x:0,y:0}},$v=e=>{const t=[],n=Vv(e)+1;for(let e=0;e<n;e++)t.push([]);e.nodes().forEach((n=>{const r=e.node(n);if(!r)return;const i=r.rank;void 0!==i&&t[i]&&t[i].push(n)}));for(let r=0;r<n;r++)t[r]=t[r].sort(((t,n)=>{var r,i,o,a;return o=null===(r=e.node(t))||void 0===r?void 0:r.order,a=null===(i=e.node(n))||void 0===i?void 0:i.order,Number(o)-Number(a)}));return t},Wv=(e,t,n,r)=>{const i={width:0,height:0};return wy(n)&&wy(r)&&(i.rank=n,i.order=r),Gv(e,"border",i,t)},Vv=e=>{let t;return e.nodes().forEach((n=>{var r;const i=null===(r=e.node(n))||void 0===r?void 0:r.rank;void 0!==i&&(void 0===t||i>t)&&(t=i)})),t||(t=0),t},Kv=(e,t)=>{const n=Date.now();try{return t()}finally{console.log(`${e} time: ${Date.now()-n}ms`)}},qv=(e,t)=>t(),Xv=(e,t)=>e.reduce(((e,n)=>t(e)>t(n)?n:e)),Zv=e=>{e.graph().dummyChains=[],e.edges().forEach((t=>((e,t)=>{let n=t.v,r=e.node(n).rank;const i=t.w,o=e.node(i).rank,a=t.name,s=e.edge(t),l=s.labelRank;if(o===r+1)return;e.removeEdgeObj(t);const c=e.graph();let u,h,p;for(p=0,++r;r<o;++p,++r)s.points=[],h={edgeLabel:s,width:0,height:0,edgeObj:t,rank:r},u=Gv(e,"edge",h,"_d"),r===l&&(h.width=s.width,h.height=s.height,h.dummy="edge-label",h.labelpos=s.labelpos),e.setEdge(n,u,{weight:s.weight},a),0===p&&(c.dummyChains||(c.dummyChains=[]),c.dummyChains.push(u)),n=u;e.setEdge(n,i,{weight:s.weight},a)})(e,t)))},Qv=e=>{var t;const n={},r=t=>{var i;const o=e.node(t);if(!o)return 0;if(n[t])return o.rank;let a;return n[t]=!0,null===(i=e.outEdges(t))||void 0===i||i.forEach((t=>{const n=r(t.w)-e.edge(t).minlen;n&&(void 0===a||n<a)&&(a=n)})),a||(a=0),o.rank=a,a};null===(t=e.sources())||void 0===t||t.forEach((e=>r(e)))},Jv=(e,t)=>e.node(t.w).rank-e.node(t.v).rank-e.edge(t).minlen,e_=(e,t)=>{const n=r=>{t.nodeEdges(r).forEach((i=>{const o=i.v,a=r===o?i.w:o;e.hasNode(a)||Jv(t,i)||(e.setNode(a,{}),e.setEdge(r,a,{}),n(a))}))};return e.nodes().forEach(n),e.nodeCount()},t_=(e,t)=>{const n=r=>{var i;null===(i=t.nodeEdges(r))||void 0===i||i.forEach((i=>{const o=i.v,a=r===o?i.w:o;e.hasNode(a)||void 0===t.node(a).layer&&Jv(t,i)||(e.setNode(a,{}),e.setEdge(r,a,{}),n(a))}))};return e.nodes().forEach(n),e.nodeCount()},n_=(e,t)=>Xv(t.edges(),(n=>e.hasNode(n.v)!==e.hasNode(n.w)?Jv(t,n):1/0)),r_=(e,t,n)=>{e.nodes().forEach((e=>{t.node(e).rank||(t.node(e).rank=0),t.node(e).rank+=n}))},{preorder:i_,postorder:o_}=n,a_=(e,t)=>{let n=o_(e,e.nodes());n=null==n?void 0:n.slice(0,(null==n?void 0:n.length)-1),null==n||n.forEach((n=>{s_(e,t,n)}))},s_=(e,t,n)=>{const r=e.node(n).parent;e.edgeFromArgs(n,r).cutvalue=l_(e,t,n)},l_=(e,t,n)=>{var r;const i=e.node(n).parent;let o=!0,a=t.edgeFromArgs(n,i),s=0;return a||(o=!1,a=t.edgeFromArgs(i,n)),s=a.weight,null===(r=t.nodeEdges(n))||void 0===r||r.forEach((r=>{const a=r.v===n,l=a?r.w:r.v;if(l!==i){const i=a===o,c=t.edge(r).weight;if(s+=i?c:-c,m_(e,n,l)){const t=e.edgeFromArgs(n,l).cutvalue;s+=i?-t:t}}})),s},c_=(e,t=e.nodes()[0])=>{u_(e,{},1,t)},u_=(e,t,n,r,i)=>{var o;const a=n;let s=n;const l=e.node(r);return t[r]=!0,null===(o=e.neighbors(r))||void 0===o||o.forEach((n=>{t[n]||(s=u_(e,t,s,n,r))})),l.low=a,l.lim=s++,i?l.parent=i:delete l.parent,s},h_=e=>e.edges().find((t=>e.edge(t).cutvalue<0)),p_=(e,t,n)=>{let r=n.v,i=n.w;t.hasEdge(r,i)||(r=n.w,i=n.v);const o=e.node(r),a=e.node(i);let s=o,l=!1;o.lim>a.lim&&(s=a,l=!0);const c=t.edges().filter((t=>l===g_(e,e.node(t.v),s)&&l!==g_(e,e.node(t.w),s)));return Xv(c,(e=>Jv(t,e)))},d_=(e,t,n,r)=>{const i=n.v,o=n.w;e.removeEdge(i,o),e.setEdge(r.v,r.w,{}),c_(e),a_(e,t),f_(e,t)},f_=(e,t)=>{const n=e.nodes().find((e=>{var n;return!(null===(n=t.node(e))||void 0===n?void 0:n.parent)}));let r=i_(e,n);r=null==r?void 0:r.slice(1),null==r||r.forEach((n=>{const r=e.node(n).parent;let i=t.edgeFromArgs(n,r),o=!1;i||(i=t.edgeFromArgs(r,n),o=!0),t.node(n).rank=t.node(r).rank+(o?i.minlen:-i.minlen)}))},m_=(e,t,n)=>e.hasEdge(t,n),g_=(e,t,n)=>n.low<=t.lim&&t.lim<=n.lim,y_=e=>{const t=(e=>{const t=(new jv).setGraph(e.graph());return e.nodes().forEach((n=>{t.setNode(n,e.node(n))})),e.edges().forEach((n=>{const r=t.edgeFromArgs(n.v,n.w)||{weight:0,minlen:1},i=e.edge(n);t.setEdge(n.v,n.w,{weight:r.weight+i.weight,minlen:Math.max(r.minlen,i.minlen)})})),t})(e);Qv(t);const n=(e=>{const t=new jv({directed:!1}),n=e.nodes()[0],r=e.nodeCount();let i,o;for(t.setNode(n,{});e_(t,e)<r;)i=n_(t,e),o=t.hasNode(i.v)?Jv(e,i):-Jv(e,i),r_(t,e,o);return t})(t);let r,i;for(c_(n),a_(n,t);r=h_(n);)i=p_(n,t,r),d_(n,t,r,i)},v_=Qv,__=e=>{(e=>{var t;const n={};let r;const i=t=>{var o;const a=e.node(t);if(!a)return 0;if(n[t])return a.rank;let s;return n[t]=!0,null===(o=e.outEdges(t))||void 0===o||o.forEach((t=>{const n=i(t.w)-e.edge(t).minlen;n&&(void 0===s||n<s)&&(s=n)})),s||(s=0),(void 0===r||s<r)&&(r=s),a.rank=s,s};null===(t=e.sources())||void 0===t||t.forEach((t=>{e.node(t)&&i(t)})),void 0===r&&(r=0);const o={},a=(t,n)=>{var r;const i=e.node(t),s=isNaN(i.layer)?n:i.layer;(void 0===i.rank||i.rank<s)&&(i.rank=s),o[t]||(o[t]=!0,null===(r=e.outEdges(t))||void 0===r||r.map((t=>{a(t.w,s+e.edge(t).minlen)})))};e.nodes().forEach((t=>{const n=e.node(t);n&&(isNaN(n.layer)?n.rank-=r:a(t,n.layer))}))})(e),(e=>{const t=new jv({directed:!1}),n=e.nodes()[0],r=e.nodes().filter((t=>!!e.node(t))).length;let i,o;for(t.setNode(n,{});t_(t,e)<r;)i=n_(t,e),o=t.hasNode(i.v)?Jv(e,i):-Jv(e,i),r_(t,e,o)})(e)},b_=e=>{switch(e.graph().ranker){case"network-simplex":(e=>{y_(e)})(e);break;case"tight-tree":default:__(e);break;case"longest-path":v_(e)}},E_=(e,t,n,r,i,o,a)=>{const s=e.children(a);if(!(null==s?void 0:s.length))return void(a!==t&&e.setEdge(t,a,{weight:0,minlen:n}));const l=Wv(e,"_bt"),c=Wv(e,"_bb"),u=e.node(a);e.setParent(l,a),u.borderTop=l,e.setParent(c,a),u.borderBottom=c,null==s||s.forEach((s=>{E_(e,t,n,r,i,o,s);const u=e.node(s),h=u.borderTop?u.borderTop:s,p=u.borderBottom?u.borderBottom:s,d=u.borderTop?r:2*r,f=h!==p?1:i-o[a]+1;e.setEdge(l,h,{minlen:f,weight:d,nestingEdge:!0}),e.setEdge(p,c,{minlen:f,weight:d,nestingEdge:!0})})),e.parent(a)||e.setEdge(t,l,{weight:0,minlen:i+o[a]})},T_=(e,t,n,r,i,o)=>{const a={rank:o,borderType:t,width:0,height:0},s=i[t][o-1],l=Gv(e,"border",a,n);i[t][o]=l,e.setParent(l,r),s&&e.setEdge(s,l,{weight:1})},x_=e=>{e.nodes().forEach((t=>{S_(e.node(t))})),e.edges().forEach((t=>{S_(e.edge(t))}))},S_=e=>{const t=e.width;e.width=e.height,e.height=t},C_=e=>{(null==e?void 0:e.y)&&(e.y=-e.y)},A_=e=>{const t=e.x;e.x=e.y,e.y=t},R_=e=>{var t;const n=null===(t=e.graph().rankdir)||void 0===t?void 0:t.toLowerCase();"bt"!==n&&"rl"!==n||(e=>{e.nodes().forEach((t=>{C_(e.node(t))})),e.edges().forEach((t=>{var n;const r=e.edge(t);null===(n=r.points)||void 0===n||n.forEach((e=>C_(e))),r.hasOwnProperty("y")&&C_(r)}))})(e),"lr"!==n&&"rl"!==n||((e=>{e.nodes().forEach((t=>{A_(e.node(t))})),e.edges().forEach((t=>{var n;const r=e.edge(t);null===(n=r.points)||void 0===n||n.forEach((e=>A_(e))),r.hasOwnProperty("x")&&A_(r)}))})(e),x_(e))};var w_={}.toString;const L_=function(e){return Array.isArray?Array.isArray(e):function(e,t){return w_.call(e)==="[object "+t+"]"}(e,"Array")},O_=function(e){if(L_(e))return e.reduce((function(e,t){return Math.max(e,t)}),e[0])},N_=e=>{const t={},n=e.nodes().filter((t=>{var n;return!(null===(n=e.children(t))||void 0===n?void 0:n.length)})),r=n.map((t=>e.node(t).rank)),i=O_(r),o=[];for(let e=0;e<i+1;e++)o.push([]);const a=n=>{var r;if(t.hasOwnProperty(n))return;t[n]=!0;const i=e.node(n);isNaN(i.rank)||o[i.rank].push(n),null===(r=e.successors(n))||void 0===r||r.forEach((e=>a(e)))},s=n.sort(((t,n)=>e.node(t).rank-e.node(n).rank)),l=s.filter((t=>void 0!==e.node(t).fixorder)),c=l.sort(((t,n)=>e.node(t).fixorder-e.node(n).fixorder));return null==c||c.forEach((n=>{isNaN(e.node(n).rank)||o[e.node(n).rank].push(n),t[n]=!0})),null==s||s.forEach(a),o},I_=(e,t,n)=>{const r=(a=n,s=n.map(((e,t)=>t)),null==a?void 0:a.reduce(((e,t,n)=>(e[t]=s[n],e)),{})),i=t.map((t=>{var n;const i=null===(n=e.outEdges(t))||void 0===n?void 0:n.map((t=>({pos:r[t.w]||0,weight:e.edge(t).weight})));return null==i?void 0:i.sort(((e,t)=>e.pos-t.pos))})),o=i.flat().filter((e=>void 0!==e));var a,s;let l=1;for(;l<n.length;)l<<=1;const c=2*l-1;l-=1;const u=Array(c).fill(0,0,c);let h=0;return null==o||o.forEach((e=>{if(e){let t=e.pos+l;u[t]+=e.weight;let n=0;for(;t>0;)t%2&&(n+=u[t+1]),t=t-1>>1,u[t]+=e.weight;h+=e.weight*n}})),h},k_=(e,t)=>{let n=0;for(let r=1;r<(null==t?void 0:t.length);r+=1)n+=I_(e,t[r-1],t[r]);return n},D_=(e,t,n)=>{const r=(e=>{let t;for(;e.hasNode(t=`_root${Math.random()}`););return t})(e),i=new jv({compound:!0}).setGraph({root:r}).setDefaultNodeLabel((t=>e.node(t)));return e.nodes().forEach((o=>{var a;const s=e.node(o),l=e.parent(o);(s.rank===t||s.minRank<=t&&t<=s.maxRank)&&(i.setNode(o),i.setParent(o,l||r),null===(a=e[n](o))||void 0===a||a.forEach((t=>{const n=t.v===o?t.w:t.v,r=i.edgeFromArgs(n,o),a=void 0!==r?r.weight:0;i.setEdge(n,o,{weight:e.edge(t).weight+a})})),s.hasOwnProperty("minRank")&&i.setNode(o,{borderLeft:s.borderLeft[t],borderRight:s.borderRight[t]}))})),i},P_=(e,t)=>{var n;let r=0,i=0;e.weight&&(r+=e.barycenter*e.weight,i+=e.weight),t.weight&&(r+=t.barycenter*t.weight,i+=t.weight),e.vs=null===(n=t.vs)||void 0===n?void 0:n.concat(e.vs),e.barycenter=r/i,e.weight=i,e.i=Math.min(t.i,e.i),t.merged=!0},M_=(e,t)=>{var n,r,i;const o={};null==e||e.forEach(((e,t)=>{o[e.v]={i:t,indegree:0,in:[],out:[],vs:[e.v]};const n=o[e.v];void 0!==e.barycenter&&(n.barycenter=e.barycenter,n.weight=e.weight)})),null===(n=t.edges())||void 0===n||n.forEach((e=>{const t=o[e.v],n=o[e.w];void 0!==t&&void 0!==n&&(n.indegree++,t.out.push(o[e.w]))}));return(e=>{var t,n;const r=[];for(;null==e?void 0:e.length;){const i=e.pop();r.push(i),null===(t=i.in.reverse())||void 0===t||t.forEach((e=>{return(t=i,e=>{e.merged||(void 0===e.barycenter||void 0===t.barycenter||e.barycenter>=t.barycenter)&&P_(t,e)})(e);var t})),null===(n=i.out)||void 0===n||n.forEach((t=>{return(n=i,t=>{t.in.push(n),0==--t.indegree&&e.push(t)})(t);var n}))}const i=r.filter((e=>!e.merged)),o=["vs","i","barycenter","weight"];return i.map((e=>{const t={};return null==o||o.forEach((n=>{void 0!==e[n]&&(t[n]=e[n])})),t}))})(null===(i=(r=Object.values(o)).filter)||void 0===i?void 0:i.call(r,(e=>!e.indegree)))},F_=(e,t,n)=>{let r,i=n;for(;t.length&&(r=t[t.length-1]).i<=i;)t.pop(),null==e||e.push(r.vs),i++;return i},H_=(e,t,n,r)=>{const i=((e,t)=>{const n={lhs:[],rhs:[]};return null==e||e.forEach((e=>{(e=>{const t=e.hasOwnProperty("fixorder")&&!isNaN(e.fixorder);return r?!t&&e.hasOwnProperty("barycenter"):t||e.hasOwnProperty("barycenter")})(e)?n.lhs.push(e):n.rhs.push(e)})),n})(e),o=i.lhs,a=i.rhs.sort(((e,t)=>-e.i- -t.i)),s=[];let l=0,c=0,u=0;null==o||o.sort(((e,t)=>(n,r)=>{if(void 0!==n.fixorder&&void 0!==r.fixorder)return n.fixorder-r.fixorder;if(n.barycenter<r.barycenter)return-1;if(n.barycenter>r.barycenter)return 1;if(t&&void 0!==n.order&&void 0!==r.order){if(n.order<r.order)return-1;if(n.order>r.order)return 1}return e?r.i-n.i:n.i-r.i})(!!t,!!n)),u=F_(s,a,u),null==o||o.forEach((e=>{var t;u+=null===(t=e.vs)||void 0===t?void 0:t.length,s.push(e.vs),l+=e.barycenter*e.weight,c+=e.weight,u=F_(s,a,u)}));const h={vs:s.flat()};return c&&(h.barycenter=l/c,h.weight=c),h},B_=(e,t,n,r,i,o)=>{var a,s,l,c;let u=e.children(t);const h=e.node(t),p=h?h.borderLeft:void 0,d=h?h.borderRight:void 0,f={};p&&(u=null==u?void 0:u.filter((e=>e!==p&&e!==d)));const m=((e,t)=>t.map((t=>{const n=e.inEdges(t);if(!(null==n?void 0:n.length))return{v:t};{const r={sum:0,weight:0};return null==n||n.forEach((t=>{const n=e.edge(t),i=e.node(t.v);r.sum+=n.weight*i.order,r.weight+=n.weight})),{v:t,barycenter:r.sum/r.weight,weight:r.weight}}})))(e,u||[]);null==m||m.forEach((t=>{var i;if(null===(i=e.children(t.v))||void 0===i?void 0:i.length){const i=B_(e,t.v,n,r,o);f[t.v]=i,i.hasOwnProperty("barycenter")&&j_(t,i)}}));const g=M_(m,n);U_(g,f),null===(a=g.filter((e=>e.vs.length>0)))||void 0===a||a.forEach((t=>{const n=e.node(t.vs[0]);n&&(t.fixorder=n.fixorder,t.order=n.order)}));const y=H_(g,r,i,o);if(p&&(y.vs=[p,y.vs,d].flat(),null===(s=e.predecessors(p))||void 0===s?void 0:s.length)){const t=e.node((null===(l=e.predecessors(p))||void 0===l?void 0:l[0])||""),n=e.node((null===(c=e.predecessors(d))||void 0===c?void 0:c[0])||"");y.hasOwnProperty("barycenter")||(y.barycenter=0,y.weight=0),y.barycenter=(y.barycenter*y.weight+t.order+n.order)/(y.weight+2),y.weight+=2}return y},U_=(e,t)=>{null==e||e.forEach((e=>{var n;const r=null===(n=e.vs)||void 0===n?void 0:n.map((e=>t[e]?t[e].vs:e));e.vs=r.flat()}))},j_=(e,t)=>{void 0!==e.barycenter?(e.barycenter=(e.barycenter*e.weight+t.barycenter*t.weight)/(e.weight+t.weight),e.weight+=t.weight):(e.barycenter=t.barycenter,e.weight=t.weight)},G_=B_,Y_=(e,t,n)=>t.map((t=>D_(e,t,n))),z_=(e,t,n,r)=>{const i=new jv;null==e||e.forEach((e=>{var o;const a=e.graph().root,s=G_(e,a,i,t,n,r);for(let t=0;t<(null===(o=s.vs)||void 0===o?void 0:o.length);t++){const n=e.node(s.vs[t]);n&&(n.order=t)}((e,t,n)=>{const r={};let i;null==n||n.forEach((n=>{let o,a,s=e.parent(n);for(;s;){if(o=e.parent(s),o?(a=r[o],r[o]=s):(a=i,i=s),a&&a!==s)return void t.setEdge(a,s);s=o}}))})(e,i,s.vs)}))},$_=(e,t)=>{null==t||t.forEach((t=>{null==t||t.forEach(((t,n)=>{e.node(t).order=n}))}))},W_=function(e){if(L_(e))return e.reduce((function(e,t){return Math.min(e,t)}),e[0])};class V_ extends Ov{}const K_=(e,t)=>{var n,r;if(null===(n=e.node(t))||void 0===n?void 0:n.dummy)return null===(r=e.predecessors(t))||void 0===r?void 0:r.find((t=>e.node(t).dummy))},q_=(e,t,n)=>{let r=t,i=n;if(r>i){const e=r;r=i,i=e}let o=e[r];o||(e[r]=o={}),o[i]=!0},X_=(e,t,n)=>{let r=t,i=n;return r>n&&(r=n,i=t),!!e[r]},Z_=(e,t,n,r)=>{const i=new V_,o=e.graph(),a=Q_(o.nodesep,o.edgesep,r);return null==t||t.forEach((t=>{let r;null==t||t.forEach((t=>{const o=n[t];if(i.setNode(o),r){const s=n[r],l=i.edgeFromArgs(s,o);i.setEdge(s,o,Math.max(a(e,t,r),l||0))}r=t}))})),i};const Q_=(e,t,n)=>(r,i,o)=>{const a=r.node(i),s=r.node(o);let l,c=0;if(c+=a.width/2,a.hasOwnProperty("labelpos"))switch((a.labelpos||"").toLowerCase()){case"l":l=-a.width/2;break;case"r":l=a.width/2}if(l&&(c+=n?l:-l),l=0,c+=(a.dummy?t:e)/2,c+=(s.dummy?t:e)/2,c+=s.width/2,s.labelpos)switch((s.labelpos||"").toLowerCase()){case"l":l=s.width/2;break;case"r":l=-s.width/2}return l&&(c+=n?l:-l),l=0,c},J_=(e,t)=>e.node(t).width||0,eb=e=>{var t;const n=Yv(e);(e=>{const t=$v(e),n=e.graph().ranksep;let r=0;null==t||t.forEach((t=>{const i=t.map((t=>e.node(t).height)),o=Math.max(...i,0);null==t||t.forEach((t=>{e.node(t).y=r+o/2})),r+=o+n}))})(n);const r=(e=>{const t=$v(e),n=Object.assign(((e,t)=>{const n={};return(null==t?void 0:t.length)&&t.reduce(((t,r)=>{let i=0,o=0;const a=t.length,s=null==r?void 0:r[(null==r?void 0:r.length)-1];return null==r||r.forEach(((t,l)=>{var c;const u=K_(e,t),h=u?e.node(u).order:a;(u||t===s)&&(null===(c=r.slice(o,l+1))||void 0===c||c.forEach((t=>{var r;null===(r=e.predecessors(t))||void 0===r||r.forEach((r=>{var o;const a=e.node(r),s=a.order;!(s<i||h<s)||a.dummy&&(null===(o=e.node(t))||void 0===o?void 0:o.dummy)||q_(n,r,t)}))})),o=l+1,i=h)})),r})),n})(e,t),((e,t)=>{const n={};function r(t,r){const i=function(e){return JSON.stringify(e.slice(1))}(t);r.get(i)||(function(t,r,i,o,a){var s,l;let c;for(let u=r;u<i;u++)c=t[u],(null===(s=e.node(c))||void 0===s?void 0:s.dummy)&&(null===(l=e.predecessors(c))||void 0===l||l.forEach((t=>{const r=e.node(t);r.dummy&&(r.order<o||r.order>a)&&q_(n,t,c)})))}(...t),r.set(i,!0))}return(null==t?void 0:t.length)&&t.reduce(((t,n)=>{let i,o=-1,a=0;const s=new Map;return null==n||n.forEach(((l,c)=>{var u;if("border"===(null===(u=e.node(l))||void 0===u?void 0:u.dummy)){const t=e.predecessors(l)||[];t.length&&(i=e.node(t[0]).order,r([n,a,c,o,i],s),a=c,o=i)}r([n,a,n.length,i,t.length],s)})),n})),n})(e,t)),r={};let i=[];["u","d"].forEach((o=>{i="u"===o?t:Object.values(t).reverse(),["l","r"].forEach((t=>{"r"===t&&(i=i.map((e=>Object.values(e).reverse())));const a=("u"===o?e.predecessors:e.successors).bind(e),s=((e,t,n,r)=>{const i={},o={},a={};return null==t||t.forEach((e=>{null==e||e.forEach(((e,t)=>{i[e]=e,o[e]=e,a[e]=t}))})),null==t||t.forEach((e=>{let t=-1;null==e||e.forEach((e=>{let s=r(e);if(s.length){s=s.sort(((e,t)=>a[e]-a[t]));const r=(s.length-1)/2;for(let l=Math.floor(r),c=Math.ceil(r);l<=c;++l){const r=s[l];o[e]===e&&t<a[r]&&!X_(n,e,r)&&(o[r]=e,o[e]=i[e]=i[r],t=a[r])}}}))})),{root:i,align:o}})(0,i,n,a),l=((e,t,n,r,i)=>{var o;const a={},s=Z_(e,t,n,i),l=i?"borderLeft":"borderRight",c=(e,t)=>{let n=s.nodes(),r=n.pop();const i={};for(;r;)i[r]?e(r):(i[r]=!0,n.push(r),n=n.concat(t(r))),r=n.pop()};return c((e=>{a[e]=(s.inEdges(e)||[]).reduce(((e,t)=>Math.max(e,(a[t.v]||0)+s.edge(t))),0)}),s.predecessors.bind(s)),c((t=>{const n=(s.outEdges(t)||[]).reduce(((e,t)=>Math.min(e,(a[t.w]||0)-s.edge(t))),Number.POSITIVE_INFINITY),r=e.node(t);n!==Number.POSITIVE_INFINITY&&r.borderType!==l&&(a[t]=Math.max(a[t],n))}),s.successors.bind(s)),null===(o=Object.values(r))||void 0===o||o.forEach((e=>{a[e]=a[n[e]]})),a})(e,i,s.root,s.align,"r"===t);"r"===t&&Object.keys(l).forEach((e=>l[e]=-l[e])),r[o+t]=l}))}));const o=((e,t)=>Xv(Object.values(t),(t=>{var n;let r=Number.NEGATIVE_INFINITY,i=Number.POSITIVE_INFINITY;return null===(n=Object.keys(t))||void 0===n||n.forEach((n=>{const o=t[n],a=J_(e,n)/2;r=Math.max(o+a,r),i=Math.min(o-a,i)})),r-i})))(e,r);return o&&function(e,t){const n=Object.values(t),r=W_(n),i=O_(n);["u","d"].forEach((n=>{["l","r"].forEach((o=>{const a=n+o,s=e[a];let l;if(s===t)return;const c=Object.values(s);l="l"===o?r-W_(c):i-O_(c),l&&(e[a]={},Object.keys(s).forEach((t=>{e[a][t]=s[t]+l})))}))}))}(r,o),((e,t)=>{const n={};return Object.keys(e.ul).forEach((r=>{if(t)n[r]=e[t.toLowerCase()][r];else{const t=Object.values(e).map((e=>e[r]));n[r]=(t[0]+t[1])/2}})),n})(r,e.graph().align)})(n);null===(t=Object.keys(r))||void 0===t||t.forEach((e=>{n.node(e).x=r[e]}))},tb=(e,t,n)=>{t(" removeSelfEdges",(()=>{vb(e)})),t(" acyclic",(()=>{(e=>{const t="greedy"===e.graph().acyclicer?Uv(e,(e=>t=>{var n;return(null===(n=e.edge(t))||void 0===n?void 0:n.weight)||1})(e)):(e=>{const t=[],n={},r={},i=o=>{var a;r[o]||(r[o]=!0,n[o]=!0,null===(a=e.outEdges(o))||void 0===a||a.forEach((e=>{n[e.w]?t.push(e):i(e.w)})),delete n[o])};return e.nodes().forEach(i),t})(e);null==t||t.forEach((t=>{const n=e.edge(t);e.removeEdgeObj(t),n.forwardName=t.name,n.reversed=!0,e.setEdge(t.w,t.v,n,`rev-${Math.random()}`)}))})(e)})),t(" nestingGraph.run",(()=>{(e=>{var t;const n=Gv(e,"root",{},"_root"),r=(e=>{var t;const n={},r=(t,i)=>{const o=e.children(t);null==o||o.forEach((e=>r(e,i+1))),n[t]=i};return null===(t=e.children())||void 0===t||t.forEach((e=>r(e,1))),n})(e);let i=Math.max(...Object.values(r));Math.abs(i)===1/0&&(i=1);const o=i-1,a=2*o+1;e.graph().nestingRoot=n,e.edges().forEach((t=>{e.edge(t).minlen*=a}));const s=(e=>{let t=0;return e.edges().forEach((n=>{t+=e.edge(n).weight})),t})(e)+1;null===(t=e.children())||void 0===t||t.forEach((t=>{E_(e,n,a,s,o,r,t)})),e.graph().nodeRankFactor=a})(e)})),t(" rank",(()=>{b_(Yv(e))})),t(" injectEdgeLabelProxies",(()=>{ub(e)})),t(" removeEmptyRanks",(()=>{(e=>{const t=e.nodes(),n=t.filter((t=>{var n;return void 0!==(null===(n=e.node(t))||void 0===n?void 0:n.rank)})).map((t=>e.node(t).rank)),r=Math.min(...n),i=[];t.forEach((t=>{var n;const o=((null===(n=e.node(t))||void 0===n?void 0:n.rank)||0)-r;i[o]||(i[o]=[]),i[o].push(t)}));let o=0;const a=e.graph().nodeRankFactor||0;for(let t=0;t<i.length;t++){const n=i[t];void 0===n?t%a!=0&&(o-=1):o&&(null==n||n.forEach((t=>{const n=e.node(t);n&&(n.rank=n.rank||0,n.rank+=o)})))}})(e)})),t(" nestingGraph.cleanup",(()=>{(e=>{const t=e.graph();t.nestingRoot&&e.removeNode(t.nestingRoot),delete t.nestingRoot,e.edges().forEach((t=>{e.edge(t).nestingEdge&&e.removeEdgeObj(t)}))})(e)})),t(" normalizeRanks",(()=>{(e=>{const t=e.nodes().filter((t=>{var n;return void 0!==(null===(n=e.node(t))||void 0===n?void 0:n.rank)})).map((t=>e.node(t).rank)),n=Math.min(...t);e.nodes().forEach((t=>{const r=e.node(t);r.hasOwnProperty("rank")&&n!==1/0&&(r.rank-=n)}))})(e)})),t(" assignRankMinMax",(()=>{hb(e)})),t(" removeEdgeLabelProxies",(()=>{pb(e)})),t(" normalize.run",(()=>{Zv(e)})),t(" parentDummyChains",(()=>{(e=>{var t;const n=(e=>{var t;const n={};let r=0;const i=t=>{var o;const a=r;null===(o=e.children(t))||void 0===o||o.forEach(i),n[t]={low:a,lim:r++}};return null===(t=e.children())||void 0===t||t.forEach(i),n})(e);null===(t=e.graph().dummyChains)||void 0===t||t.forEach((t=>{var r,i;let o=t,a=e.node(o);const s=a.edgeObj;if(!s)return;const l=((e,t,n,r)=>{const i=[],o=[],a=Math.min(t[n].low,t[r].low),s=Math.max(t[n].lim,t[r].lim);let l,c;l=n;do{l=e.parent(l),i.push(l)}while(l&&(t[l].low>a||s>t[l].lim));for(c=l,l=r;l&&l!==c;)o.push(l),l=e.parent(l);return{lca:c,path:i.concat(o.reverse())}})(e,n,s.v,s.w),c=l.path,u=l.lca;let h=0,p=c[h],d=!0;for(;o!==s.w;){if(a=e.node(o),d){for(;p!==u&&(null===(r=e.node(p))||void 0===r?void 0:r.maxRank)<a.rank;)h++,p=c[h];p===u&&(d=!1)}if(!d){for(;h<c.length-1&&(null===(i=e.node(c[h+1]))||void 0===i?void 0:i.minRank)<=a.rank;)h++;p=c[h]}e.setParent(o,p),o=e.successors(o)[0]}}))})(e)})),t(" addBorderSegments",(()=>{(e=>{var t;const n=t=>{const r=e.children(t),i=e.node(t);if((null==r?void 0:r.length)&&r.forEach((e=>n(e))),i.hasOwnProperty("minRank")){i.borderLeft=[],i.borderRight=[];for(let n=i.minRank,r=i.maxRank+1;n<r;n+=1)T_(e,"borderLeft","_bl",t,i,n),T_(e,"borderRight","_br",t,i,n)}};null===(t=e.children())||void 0===t||t.forEach((e=>n(e)))})(e)})),n&&n.keepNodeOrder&&t(" initDataOrder",(()=>{((e,t)=>{const n=e.nodes().filter((t=>{var n;return!(null===(n=e.children(t))||void 0===n?void 0:n.length)})),r=n.map((t=>e.node(t).rank)),i=Math.max(...r),o=[];for(let e=0;e<i+1;e++)o[e]=[];null==t||t.forEach((t=>{const n=e.node(t);n&&!(null==n?void 0:n.dummy)&&(isNaN(n.rank)||(n.fixorder=o[n.rank].length,o[n.rank].push(t)))}))})(e,n.nodeOrder)})),t(" order",(()=>{((e,t)=>{const n=Vv(e),r=[],i=[];for(let e=1;e<n+1;e++)r.push(e);for(let e=n-1;e>-1;e--)i.push(e);const o=Y_(e,r,"inEdges"),a=Y_(e,i,"outEdges");let s=N_(e);$_(e,s);let l,c=Number.POSITIVE_INFINITY;for(let n=0,r=0;r<4;++n,++r){z_(n%2?o:a,n%4>=2,!1,t),s=$v(e);const i=k_(e,s);i<c&&(r=0,l=Ny(s),c=i)}s=N_(e),$_(e,s);for(let n=0,r=0;r<4;++n,++r){z_(n%2?o:a,n%4>=2,!0,t),s=$v(e);const i=k_(e,s);i<c&&(r=0,l=Ny(s),c=i)}$_(e,l)})(e,null==n?void 0:n.keepNodeOrder)})),t(" insertSelfEdges",(()=>{_b(e)})),t(" adjustCoordinateSystem",(()=>{(e=>{var t;const n=null===(t=e.graph().rankdir)||void 0===t?void 0:t.toLowerCase();"lr"!==n&&"rl"!==n||x_(e)})(e)})),t(" position",(()=>{eb(e)})),t(" positionSelfEdges",(()=>{bb(e)})),t(" removeBorderNodes",(()=>{yb(e)})),t(" normalize.undo",(()=>{(e=>{var t;null===(t=e.graph().dummyChains)||void 0===t||t.forEach((t=>{let n=e.node(t);const r=n.edgeLabel;let i;n.edgeObj&&e.setEdgeObj(n.edgeObj,r);let o=t;for(;n.dummy;)i=e.successors(o)[0],e.removeNode(o),r.points.push({x:n.x,y:n.y}),"edge-label"===n.dummy&&(r.x=n.x,r.y=n.y,r.width=n.width,r.height=n.height),o=i,n=e.node(o)}))})(e)})),t(" fixupEdgeLabelCoords",(()=>{mb(e)})),t(" undoCoordinateSystem",(()=>{R_(e)})),t(" translateGraph",(()=>{db(e)})),t(" assignNodeIntersects",(()=>{fb(e)})),t(" reversePoints",(()=>{gb(e)})),t(" acyclic.undo",(()=>{(e=>{e.edges().forEach((t=>{const n=e.edge(t);if(n.reversed){e.removeEdgeObj(t);const r=n.forwardName;delete n.reversed,delete n.forwardName,e.setEdge(t.w,t.v,n,r)}}))})(e)}))},nb=["nodesep","edgesep","ranksep","marginx","marginy"],rb={ranksep:50,edgesep:20,nodesep:50,rankdir:"tb"},ib=["acyclicer","ranker","rankdir","align"],ob=["width","height","layer","fixorder"],ab={width:0,height:0},sb=["minlen","weight","width","height","labeloffset"],lb={minlen:1,weight:1,width:0,height:0,labeloffset:10,labelpos:"r"},cb=["labelpos"],ub=e=>{e.edges().forEach((t=>{const n=e.edge(t);if(n.width&&n.height){const n=e.node(t.v),r={e:t,rank:(e.node(t.w).rank-n.rank)/2+n.rank};Gv(e,"edge-proxy",r,"_ep")}}))},hb=e=>{let t=0;e.nodes().forEach((n=>{var r,i;const o=e.node(n);o.borderTop&&(o.minRank=null===(r=e.node(o.borderTop))||void 0===r?void 0:r.rank,o.maxRank=null===(i=e.node(o.borderBottom))||void 0===i?void 0:i.rank,t=Math.max(t,o.maxRank||-1/0))})),e.graph().maxRank=t},pb=e=>{e.nodes().forEach((t=>{const n=e.node(t);"edge-proxy"===n.dummy&&(e.edge(n.e).labelRank=n.rank,e.removeNode(t))}))},db=e=>{let t,n,r=0,i=0;const o=e.graph(),a=o.marginx||0,s=o.marginy||0,l=e=>{if(!e)return;const o=e.x,a=e.y,s=e.width,l=e.height;isNaN(o)||isNaN(s)||(void 0===t&&(t=o-s/2),t=Math.min(t,o-s/2),r=Math.max(r,o+s/2)),isNaN(a)||isNaN(l)||(void 0===n&&(n=a-l/2),n=Math.min(n,a-l/2),i=Math.max(i,a+l/2))};e.nodes().forEach((t=>{l(e.node(t))})),e.edges().forEach((t=>{const n=e.edge(t);(null==n?void 0:n.hasOwnProperty("x"))&&l(n)})),t-=a,n-=s,e.nodes().forEach((r=>{const i=e.node(r);i&&(i.x-=t,i.y-=n)})),e.edges().forEach((r=>{var i;const o=e.edge(r);null===(i=o.points)||void 0===i||i.forEach((e=>{e.x-=t,e.y-=n})),o.hasOwnProperty("x")&&(o.x-=t),o.hasOwnProperty("y")&&(o.y-=n)})),o.width=r-t+a,o.height=i-n+s},fb=e=>{e.edges().forEach((t=>{const n=e.edge(t),r=e.node(t.v),i=e.node(t.w);let o,a;n.points?(o=n.points[0],a=n.points[n.points.length-1]):(n.points=[],o=i,a=r),n.points.unshift(zv(r,o)),n.points.push(zv(i,a))}))},mb=e=>{e.edges().forEach((t=>{const n=e.edge(t);if(null==n?void 0:n.hasOwnProperty("x"))switch("l"!==n.labelpos&&"r"!==n.labelpos||(n.width-=n.labeloffset),n.labelpos){case"l":n.x-=n.width/2+n.labeloffset;break;case"r":n.x+=n.width/2+n.labeloffset}}))},gb=e=>{e.edges().forEach((t=>{var n;const r=e.edge(t);r.reversed&&(null===(n=r.points)||void 0===n||n.reverse())}))},yb=e=>{e.nodes().forEach((t=>{var n,r,i;if(null===(n=e.children(t))||void 0===n?void 0:n.length){const n=e.node(t),o=e.node(n.borderTop),a=e.node(n.borderBottom),s=e.node(n.borderLeft[(null===(r=n.borderLeft)||void 0===r?void 0:r.length)-1]),l=e.node(n.borderRight[(null===(i=n.borderRight)||void 0===i?void 0:i.length)-1]);n.width=Math.abs((null==l?void 0:l.x)-(null==s?void 0:s.x))||10,n.height=Math.abs((null==a?void 0:a.y)-(null==o?void 0:o.y))||10,n.x=((null==s?void 0:s.x)||0)+n.width/2,n.y=((null==o?void 0:o.y)||0)+n.height/2}})),e.nodes().forEach((t=>{var n;"border"===(null===(n=e.node(t))||void 0===n?void 0:n.dummy)&&e.removeNode(t)}))},vb=e=>{e.edges().forEach((t=>{if(t.v===t.w){const n=e.node(t.v);n.selfEdges||(n.selfEdges=[]),n.selfEdges.push({e:t,label:e.edge(t)}),e.removeEdgeObj(t)}}))},_b=e=>{const t=$v(e);null==t||t.forEach((t=>{let n=0;null==t||t.forEach(((t,r)=>{var i;const o=e.node(t);o.order=r+n,null===(i=o.selfEdges)||void 0===i||i.forEach((t=>{Gv(e,"selfedge",{width:t.label.width,height:t.label.height,rank:o.rank,order:r+ ++n,e:t.e,label:t.label},"_se")})),delete o.selfEdges}))}))},bb=e=>{e.nodes().forEach((t=>{const n=e.node(t);if("selfedge"===n.dummy){const r=e.node(n.e.v),i=r.x+r.width/2,o=r.y,a=n.x-i,s=r.height/2;e.setEdgeObj(n.e,n.label),e.removeNode(t),n.label.points=[{x:i+2*a/3,y:o-s},{x:i+5*a/6,y:o-s},{y:o,x:i+a},{x:i+5*a/6,y:o+s},{x:i+2*a/3,y:o+s}],n.label.x=n.x,n.label.y=n.y}}))},Eb=(e,t)=>{const n={};return null==t||t.forEach((t=>{void 0!==e[t]&&(n[t]=+e[t])})),n},Tb=(e={})=>{const t={};return Object.keys(e).forEach((n=>{t[n.toLowerCase()]=e[n]})),t},xb=(e,t)=>{const n=t&&t.debugTiming?Kv:qv;n("layout",(()=>{t&&!t.keepNodeOrder&&t.prevGraph&&n(" inheritOrder",(()=>{var n,r;n=e,r=t.prevGraph,n.nodes().forEach((e=>{const t=n.node(e),i=r.node(e);void 0!==i?(t.fixorder=i._order,delete i._order):delete t.fixorder}))}));const r=n(" buildLayoutGraph",(()=>(e=>{const t=new jv({multigraph:!0,compound:!0}),n=Tb(e.graph()),r={};return null==ib||ib.forEach((e=>{void 0!==n[e]&&(r[e]=n[e])})),t.setGraph(Object.assign({},rb,Eb(n,nb),r)),e.nodes().forEach((n=>{const r=Tb(e.node(n)),i=Object.assign(Object.assign({},ab),r),o=Eb(i,ob);t.setNode(n,o),t.setParent(n,e.parent(n))})),e.edges().forEach((n=>{const r=Tb(e.edge(n)),i={};null==cb||cb.forEach((e=>{void 0!==r[e]&&(i[e]=r[e])})),t.setEdgeObj(n,Object.assign({},lb,Eb(r,sb),i))})),t})(e)));t&&!1===t.edgeLabelSpace||n(" makeSpaceForEdgeLabels",(()=>{(e=>{const t=e.graph();t.ranksep||(t.ranksep=0),t.ranksep/=2,e.nodes().forEach((t=>{const n=e.node(t);isNaN(n.layer)||n.layer||(n.layer=0)})),e.edges().forEach((n=>{var r;const i=e.edge(n);i.minlen*=2,"c"!==(null===(r=i.labelpos)||void 0===r?void 0:r.toLowerCase())&&("TB"===t.rankdir||"BT"===t.rankdir?i.width+=i.labeloffset:i.height+=i.labeloffset)}))})(r)}));try{n(" runLayout",(()=>{tb(r,n,t)}))}catch(e){if("Not possible to find intersection inside of the rectangle"===e.message)return void console.error("The following error may be caused by improper layer setting, please make sure your manual layer setting does not violate the graph's structure:\n",e);throw e}n(" updateInputGraph",(()=>{((e,t)=>{e.nodes().forEach((n=>{var r;const i=e.node(n);if(i){const e=t.node(n);i.x=e.x,i.y=e.y,i._order=e.order,i._rank=e.rank,(null===(r=t.children(n))||void 0===r?void 0:r.length)&&(i.width=e.width,i.height=e.height)}})),e.edges().forEach((n=>{const r=e.edge(n),i=t.edge(n);r.points=i?i.points:[],i&&i.hasOwnProperty("x")&&(r.x=i.x,r.y=i.y)})),e.graph().width=t.graph().width,e.graph().height=t.graph().height})(e,r)}))}))};const Sb=(e,t,n,r,i,o,a)=>{let s=(null==e?void 0:e.slice(1,e.length-1))||[];if(t&&n){let{x:e,y:l}=t,{x:c,y:u}=n;if(i&&(e=t.y,l=t.x,c=n.y,u=n.x),u!==l&&e!==c){const h=r.indexOf(l),p=r[h+1];if(p){const e=s[0],t=i?{x:(l+p)/2,y:(null==e?void 0:e.y)||c}:{x:(null==e?void 0:e.x)||c,y:(l+p)/2};e&&!o(e,t)||s.unshift(t)}const d=r.indexOf(u),f=Math.abs(d-h);if(1===f)s=a(s,t,n),s.length||s.push(i?{x:(l+u)/2,y:e}:{x:e,y:(l+u)/2});else if(f>1){const t=r[d-1];if(t){const n=s[s.length-1],r=i?{x:(u+t)/2,y:(null==n?void 0:n.y)||c}:{x:(null==n?void 0:n.x)||e,y:(u+t)/2};n&&!o(n,r)||s.push(r)}}}}return s};function Cb(e){return`◬${e}◬`}var Ab,Rb,wb,Lb;Cb("ROOT"),Cb("BRIDGE_GRAPH"),function(e){e[e.META=0]="META",e[e.NODE=1]="NODE",e[e.BRIDGE=2]="BRIDGE"}(Ab||(Ab={})),function(e){e[e.INCLUDE=0]="INCLUDE",e[e.EXCLUDE=1]="EXCLUDE",e[e.UNSPECIFIED=2]="UNSPECIFIED"}(Rb||(Rb={})),function(e){e[e.META=0]="META",e[e.CORE=1]="CORE",e[e.BRIDGE=2]="BRIDGE"}(wb||(wb={})),function(e){e[e.META=0]="META",e[e.OP=1]="OP",e[e.SERIES=2]="SERIES"}(Lb||(Lb={}));var Ob="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==u.g?u.g:"undefined"!=typeof self?self:{};function Nb(e,t){return e(t={exports:{}},t.exports),t.exports}var Ib=function(e,t){return e===t||e!=e&&t!=t},kb=function(e,t){for(var n=e.length;n--;)if(Ib(e[n][0],t))return n;return-1},Db=Array.prototype.splice;function Pb(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Pb.prototype.clear=function(){this.__data__=[],this.size=0},Pb.prototype.delete=function(e){var t=this.__data__,n=kb(t,e);return!(n<0||(n==t.length-1?t.pop():Db.call(t,n,1),--this.size,0))},Pb.prototype.get=function(e){var t=this.__data__,n=kb(t,e);return n<0?void 0:t[n][1]},Pb.prototype.has=function(e){return kb(this.__data__,e)>-1},Pb.prototype.set=function(e,t){var n=this.__data__,r=kb(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this};var Mb,Fb=Pb,Hb="object"==typeof Ob&&Ob&&Ob.Object===Object&&Ob,Bb="object"==typeof self&&self&&self.Object===Object&&self,Ub=Hb||Bb||Function("return this")(),jb=Ub.Symbol,Gb=Object.prototype,Yb=Gb.hasOwnProperty,zb=Gb.toString,$b=jb?jb.toStringTag:void 0,Wb=Object.prototype.toString,Vb=jb?jb.toStringTag:void 0,Kb=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Vb&&Vb in Object(e)?function(e){var t=Yb.call(e,$b),n=e[$b];try{e[$b]=void 0;var r=!0}catch(e){}var i=zb.call(e);return r&&(t?e[$b]=n:delete e[$b]),i}(e):function(e){return Wb.call(e)}(e)},qb=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)},Xb=function(e){if(!qb(e))return!1;var t=Kb(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t},Zb=Ub["__core-js_shared__"],Qb=(Mb=/[^.]+$/.exec(Zb&&Zb.keys&&Zb.keys.IE_PROTO||""))?"Symbol(src)_1."+Mb:"",Jb=Function.prototype.toString,eE=function(e){if(null!=e){try{return Jb.call(e)}catch(e){}try{return e+""}catch(e){}}return""},tE=/^\[object .+?Constructor\]$/,nE=Function.prototype,rE=Object.prototype,iE=nE.toString,oE=rE.hasOwnProperty,aE=RegExp("^"+iE.call(oE).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),sE=function(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return function(e){return!(!qb(e)||function(e){return!!Qb&&Qb in e}(e))&&(Xb(e)?aE:tE).test(eE(e))}(n)?n:void 0},lE=sE(Ub,"Map"),cE=sE(Object,"create"),uE=Object.prototype.hasOwnProperty,hE=Object.prototype.hasOwnProperty;function pE(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}pE.prototype.clear=function(){this.__data__=cE?cE(null):{},this.size=0},pE.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},pE.prototype.get=function(e){var t=this.__data__;if(cE){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return uE.call(t,e)?t[e]:void 0},pE.prototype.has=function(e){var t=this.__data__;return cE?void 0!==t[e]:hE.call(t,e)},pE.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=cE&&void 0===t?"__lodash_hash_undefined__":t,this};var dE=pE,fE=function(e,t){var n=e.__data__;return function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}(t)?n["string"==typeof t?"string":"hash"]:n.map};function mE(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}mE.prototype.clear=function(){this.size=0,this.__data__={hash:new dE,map:new(lE||Fb),string:new dE}},mE.prototype.delete=function(e){var t=fE(this,e).delete(e);return this.size-=t?1:0,t},mE.prototype.get=function(e){return fE(this,e).get(e)},mE.prototype.has=function(e){return fE(this,e).has(e)},mE.prototype.set=function(e,t){var n=fE(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this};var gE=mE;function yE(e){var t=this.__data__=new Fb(e);this.size=t.size}yE.prototype.clear=function(){this.__data__=new Fb,this.size=0},yE.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},yE.prototype.get=function(e){return this.__data__.get(e)},yE.prototype.has=function(e){return this.__data__.has(e)},yE.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Fb){var r=n.__data__;if(!lE||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new gE(r)}return n.set(e,t),this.size=n.size,this};var vE=yE,_E=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e},bE=function(){try{var e=sE(Object,"defineProperty");return e({},"",{}),e}catch(e){}}(),EE=function(e,t,n){"__proto__"==t&&bE?bE(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n},TE=Object.prototype.hasOwnProperty,xE=function(e,t,n){var r=e[t];TE.call(e,t)&&Ib(r,n)&&(void 0!==n||t in e)||EE(e,t,n)},SE=function(e,t,n,r){var i=!n;n||(n={});for(var o=-1,a=t.length;++o<a;){var s=t[o],l=r?r(n[s],e[s],s,n,e):void 0;void 0===l&&(l=e[s]),i?EE(n,s,l):xE(n,s,l)}return n},CE=function(e){return null!=e&&"object"==typeof e},AE=function(e){return CE(e)&&"[object Arguments]"==Kb(e)},RE=Object.prototype,wE=RE.hasOwnProperty,LE=RE.propertyIsEnumerable,OE=AE(function(){return arguments}())?AE:function(e){return CE(e)&&wE.call(e,"callee")&&!LE.call(e,"callee")},NE=Array.isArray,IE=function(){return!1},kE=Nb((function(e,t){var n=t&&!t.nodeType&&t,r=n&&e&&!e.nodeType&&e,i=r&&r.exports===n?Ub.Buffer:void 0,o=(i?i.isBuffer:void 0)||IE;e.exports=o})),DE=/^(?:0|[1-9]\d*)$/,PE=function(e,t){var n=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==n||"symbol"!=n&&DE.test(e))&&e>-1&&e%1==0&&e<t},ME=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991},FE={};FE["[object Float32Array]"]=FE["[object Float64Array]"]=FE["[object Int8Array]"]=FE["[object Int16Array]"]=FE["[object Int32Array]"]=FE["[object Uint8Array]"]=FE["[object Uint8ClampedArray]"]=FE["[object Uint16Array]"]=FE["[object Uint32Array]"]=!0,FE["[object Arguments]"]=FE["[object Array]"]=FE["[object ArrayBuffer]"]=FE["[object Boolean]"]=FE["[object DataView]"]=FE["[object Date]"]=FE["[object Error]"]=FE["[object Function]"]=FE["[object Map]"]=FE["[object Number]"]=FE["[object Object]"]=FE["[object RegExp]"]=FE["[object Set]"]=FE["[object String]"]=FE["[object WeakMap]"]=!1;var HE=function(e){return function(t){return e(t)}},BE=Nb((function(e,t){var n=t&&!t.nodeType&&t,r=n&&e&&!e.nodeType&&e,i=r&&r.exports===n&&Hb.process,o=function(){try{return r&&r.require&&r.require("util").types||i&&i.binding&&i.binding("util")}catch(e){}}();e.exports=o})),UE=BE&&BE.isTypedArray,jE=UE?HE(UE):function(e){return CE(e)&&ME(e.length)&&!!FE[Kb(e)]},GE=Object.prototype.hasOwnProperty,YE=function(e,t){var n=NE(e),r=!n&&OE(e),i=!n&&!r&&kE(e),o=!n&&!r&&!i&&jE(e),a=n||r||i||o,s=a?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],l=s.length;for(var c in e)!t&&!GE.call(e,c)||a&&("length"==c||i&&("offset"==c||"parent"==c)||o&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||PE(c,l))||s.push(c);return s},zE=Object.prototype,$E=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||zE)},WE=function(e,t){return function(n){return e(t(n))}},VE=WE(Object.keys,Object),KE=Object.prototype.hasOwnProperty,qE=function(e){if(!$E(e))return VE(e);var t=[];for(var n in Object(e))KE.call(e,n)&&"constructor"!=n&&t.push(n);return t},XE=function(e){return null!=e&&ME(e.length)&&!Xb(e)},ZE=function(e){return XE(e)?YE(e):qE(e)},QE=Object.prototype.hasOwnProperty,JE=function(e){return XE(e)?YE(e,!0):function(e){if(!qb(e))return function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}(e);var t=$E(e),n=[];for(var r in e)("constructor"!=r||!t&&QE.call(e,r))&&n.push(r);return n}(e)},eT=Nb((function(e,t){var n=t&&!t.nodeType&&t,r=n&&e&&!e.nodeType&&e,i=r&&r.exports===n?Ub.Buffer:void 0,o=i?i.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var n=e.length,r=o?o(n):new e.constructor(n);return e.copy(r),r}})),tT=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t},nT=function(e,t){for(var n=-1,r=null==e?0:e.length,i=0,o=[];++n<r;){var a=e[n];t(a,n,e)&&(o[i++]=a)}return o},rT=function(){return[]},iT=Object.prototype.propertyIsEnumerable,oT=Object.getOwnPropertySymbols,aT=oT?function(e){return null==e?[]:(e=Object(e),nT(oT(e),(function(t){return iT.call(e,t)})))}:rT,sT=function(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e},lT=WE(Object.getPrototypeOf,Object),cT=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)sT(t,aT(e)),e=lT(e);return t}:rT,uT=function(e,t,n){var r=t(e);return NE(e)?r:sT(r,n(e))},hT=function(e){return uT(e,ZE,aT)},pT=function(e){return uT(e,JE,cT)},dT=sE(Ub,"DataView"),fT=sE(Ub,"Promise"),mT=sE(Ub,"Set"),gT=sE(Ub,"WeakMap"),yT=eE(dT),vT=eE(lE),_T=eE(fT),bT=eE(mT),ET=eE(gT),TT=Kb;(dT&&"[object DataView]"!=TT(new dT(new ArrayBuffer(1)))||lE&&"[object Map]"!=TT(new lE)||fT&&"[object Promise]"!=TT(fT.resolve())||mT&&"[object Set]"!=TT(new mT)||gT&&"[object WeakMap]"!=TT(new gT))&&(TT=function(e){var t=Kb(e),n="[object Object]"==t?e.constructor:void 0,r=n?eE(n):"";if(r)switch(r){case yT:return"[object DataView]";case vT:return"[object Map]";case _T:return"[object Promise]";case bT:return"[object Set]";case ET:return"[object WeakMap]"}return t});var xT=TT,ST=Object.prototype.hasOwnProperty,CT=Ub.Uint8Array,AT=function(e){var t=new e.constructor(e.byteLength);return new CT(t).set(new CT(e)),t},RT=/\w*$/,wT=jb?jb.prototype:void 0,LT=wT?wT.valueOf:void 0,OT=function(e,t){var n=t?AT(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)},NT=Object.create,IT=function(){function e(){}return function(t){if(!qb(t))return{};if(NT)return NT(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}(),kT=function(e){return"function"!=typeof e.constructor||$E(e)?{}:IT(lT(e))},DT=BE&&BE.isMap,PT=DT?HE(DT):function(e){return CE(e)&&"[object Map]"==xT(e)},MT=BE&&BE.isSet,FT=MT?HE(MT):function(e){return CE(e)&&"[object Set]"==xT(e)},HT={};HT["[object Arguments]"]=HT["[object Array]"]=HT["[object ArrayBuffer]"]=HT["[object DataView]"]=HT["[object Boolean]"]=HT["[object Date]"]=HT["[object Float32Array]"]=HT["[object Float64Array]"]=HT["[object Int8Array]"]=HT["[object Int16Array]"]=HT["[object Int32Array]"]=HT["[object Map]"]=HT["[object Number]"]=HT["[object Object]"]=HT["[object RegExp]"]=HT["[object Set]"]=HT["[object String]"]=HT["[object Symbol]"]=HT["[object Uint8Array]"]=HT["[object Uint8ClampedArray]"]=HT["[object Uint16Array]"]=HT["[object Uint32Array]"]=!0,HT["[object Error]"]=HT["[object Function]"]=HT["[object WeakMap]"]=!1;var BT=function e(t,n,r,i,o,a){var s,l=1&n,c=2&n,u=4&n;if(r&&(s=o?r(t,i,o,a):r(t)),void 0!==s)return s;if(!qb(t))return t;var h=NE(t);if(h){if(s=function(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&&ST.call(e,"index")&&(n.index=e.index,n.input=e.input),n}(t),!l)return tT(t,s)}else{var p=xT(t),d="[object Function]"==p||"[object GeneratorFunction]"==p;if(kE(t))return eT(t,l);if("[object Object]"==p||"[object Arguments]"==p||d&&!o){if(s=c||d?{}:kT(t),!l)return c?function(e,t){return SE(e,cT(e),t)}(t,function(e,t){return e&&SE(t,JE(t),e)}(s,t)):function(e,t){return SE(e,aT(e),t)}(t,function(e,t){return e&&SE(t,ZE(t),e)}(s,t))}else{if(!HT[p])return o?t:{};s=function(e,t,n){var r=e.constructor;switch(t){case"[object ArrayBuffer]":return AT(e);case"[object Boolean]":case"[object Date]":return new r(+e);case"[object DataView]":return function(e,t){var n=t?AT(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,n);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return OT(e,n);case"[object Map]":case"[object Set]":return new r;case"[object Number]":case"[object String]":return new r(e);case"[object RegExp]":return function(e){var t=new e.constructor(e.source,RT.exec(e));return t.lastIndex=e.lastIndex,t}(e);case"[object Symbol]":return function(e){return LT?Object(LT.call(e)):{}}(e)}}(t,p,l)}}a||(a=new vE);var f=a.get(t);if(f)return f;a.set(t,s),FT(t)?t.forEach((function(i){s.add(e(i,n,r,i,t,a))})):PT(t)&&t.forEach((function(i,o){s.set(o,e(i,n,r,o,t,a))}));var m=h?void 0:(u?c?pT:hT:c?JE:ZE)(t);return _E(m||t,(function(i,o){m&&(i=t[o=i]),xE(s,o,e(i,n,r,o,t,a))})),s},UT=function(e){return function(){return e}},jT=function(e,t,n){for(var r=-1,i=Object(e),o=n(e),a=o.length;a--;){var s=o[++r];if(!1===t(i[s],s,i))break}return e},GT=function(e,t){return e&&jT(e,t,ZE)},YT=function(e,t){return function(t,n){if(null==t)return t;if(!XE(t))return e(t,n);for(var r=t.length,i=-1,o=Object(t);++i<r&&!1!==n(o[i],i,o););return t}}(GT),zT=function(e){return e},$T=function(e){return"function"==typeof e?e:zT},WT=function(e,t){return(NE(e)?_E:YT)(e,$T(t))},VT=WT,KT=function(e,t){var n=[];return YT(e,(function(e,r,i){t(e,r,i)&&n.push(e)})),n};function qT(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new gE;++t<n;)this.add(e[t])}qT.prototype.add=qT.prototype.push=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this},qT.prototype.has=function(e){return this.__data__.has(e)};var XT=qT,ZT=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1},QT=function(e,t){return e.has(t)},JT=function(e,t,n,r,i,o){var a=1&n,s=e.length,l=t.length;if(s!=l&&!(a&&l>s))return!1;var c=o.get(e),u=o.get(t);if(c&&u)return c==t&&u==e;var h=-1,p=!0,d=2&n?new XT:void 0;for(o.set(e,t),o.set(t,e);++h<s;){var f=e[h],m=t[h];if(r)var g=a?r(m,f,h,t,e,o):r(f,m,h,e,t,o);if(void 0!==g){if(g)continue;p=!1;break}if(d){if(!ZT(t,(function(e,t){if(!QT(d,t)&&(f===e||i(f,e,n,r,o)))return d.push(t)}))){p=!1;break}}else if(f!==m&&!i(f,m,n,r,o)){p=!1;break}}return o.delete(e),o.delete(t),p},ex=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n},tx=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n},nx=jb?jb.prototype:void 0,rx=nx?nx.valueOf:void 0,ix=Object.prototype.hasOwnProperty,ox=Object.prototype.hasOwnProperty,ax=function e(t,n,r,i,o){return t===n||(null==t||null==n||!CE(t)&&!CE(n)?t!=t&&n!=n:function(e,t,n,r,i,o){var a=NE(e),s=NE(t),l=a?"[object Array]":xT(e),c=s?"[object Array]":xT(t),u="[object Object]"==(l="[object Arguments]"==l?"[object Object]":l),h="[object Object]"==(c="[object Arguments]"==c?"[object Object]":c),p=l==c;if(p&&kE(e)){if(!kE(t))return!1;a=!0,u=!1}if(p&&!u)return o||(o=new vE),a||jE(e)?JT(e,t,n,r,i,o):function(e,t,n,r,i,o,a){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!o(new CT(e),new CT(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return Ib(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var s=ex;case"[object Set]":var l=1&r;if(s||(s=tx),e.size!=t.size&&!l)return!1;var c=a.get(e);if(c)return c==t;r|=2,a.set(e,t);var u=JT(s(e),s(t),r,i,o,a);return a.delete(e),u;case"[object Symbol]":if(rx)return rx.call(e)==rx.call(t)}return!1}(e,t,l,n,r,i,o);if(!(1&n)){var d=u&&ox.call(e,"__wrapped__"),f=h&&ox.call(t,"__wrapped__");if(d||f){var m=d?e.value():e,g=f?t.value():t;return o||(o=new vE),i(m,g,n,r,o)}}return!!p&&(o||(o=new vE),function(e,t,n,r,i,o){var a=1&n,s=hT(e),l=s.length;if(l!=hT(t).length&&!a)return!1;for(var c=l;c--;){var u=s[c];if(!(a?u in t:ix.call(t,u)))return!1}var h=o.get(e),p=o.get(t);if(h&&p)return h==t&&p==e;var d=!0;o.set(e,t),o.set(t,e);for(var f=a;++c<l;){var m=e[u=s[c]],g=t[u];if(r)var y=a?r(g,m,u,t,e,o):r(m,g,u,e,t,o);if(!(void 0===y?m===g||i(m,g,n,r,o):y)){d=!1;break}f||(f="constructor"==u)}if(d&&!f){var v=e.constructor,_=t.constructor;v==_||!("constructor"in e)||!("constructor"in t)||"function"==typeof v&&v instanceof v&&"function"==typeof _&&_ instanceof _||(d=!1)}return o.delete(e),o.delete(t),d}(e,t,n,r,i,o))}(t,n,r,i,e,o))},sx=function(e){return e==e&&!qb(e)},lx=function(e,t){return function(n){return null!=n&&n[e]===t&&(void 0!==t||e in Object(n))}},cx=function(e){return"symbol"==typeof e||CE(e)&&"[object Symbol]"==Kb(e)},ux=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,hx=/^\w*$/,px=function(e,t){if(NE(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!cx(e))||hx.test(e)||!ux.test(e)||null!=t&&e in Object(t)};function dx(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=e.apply(this,r);return n.cache=o.set(i,a)||o,a};return n.cache=new(dx.Cache||gE),n}dx.Cache=gE;var fx,mx=dx,gx=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,yx=/\\(\\)?/g,vx=function(e){var t=mx((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(gx,(function(e,n,r,i){t.push(r?i.replace(yx,"$1"):n||e)})),t}),(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}(),_x=function(e,t){for(var n=-1,r=null==e?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i},bx=jb?jb.prototype:void 0,Ex=bx?bx.toString:void 0,Tx=function e(t){if("string"==typeof t)return t;if(NE(t))return _x(t,e)+"";if(cx(t))return Ex?Ex.call(t):"";var n=t+"";return"0"==n&&1/t==-1/0?"-0":n},xx=function(e){return null==e?"":Tx(e)},Sx=function(e,t){return NE(e)?e:px(e,t)?[e]:vx(xx(e))},Cx=function(e){if("string"==typeof e||cx(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t},Ax=function(e,t){for(var n=0,r=(t=Sx(t,e)).length;null!=e&&n<r;)e=e[Cx(t[n++])];return n&&n==r?e:void 0},Rx=function(e,t){return null!=e&&t in Object(e)},wx=function(e,t,n){for(var r=-1,i=(t=Sx(t,e)).length,o=!1;++r<i;){var a=Cx(t[r]);if(!(o=null!=e&&n(e,a)))break;e=e[a]}return o||++r!=i?o:!!(i=null==e?0:e.length)&&ME(i)&&PE(a,i)&&(NE(e)||OE(e))},Lx=function(e,t){return null!=e&&wx(e,t,Rx)},Ox=function(e){return function(t){return null==t?void 0:t[e]}},Nx=function(e){return"function"==typeof e?e:null==e?zT:"object"==typeof e?NE(e)?function(e,t){return px(e)&&sx(t)?lx(Cx(e),t):function(n){var r=function(e,t,n){var r=null==e?void 0:Ax(e,t);return void 0===r?void 0:r}(n,e);return void 0===r&&r===t?Lx(n,e):ax(t,r,3)}}(e[0],e[1]):function(e){var t=function(e){for(var t=ZE(e),n=t.length;n--;){var r=t[n],i=e[r];t[n]=[r,i,sx(i)]}return t}(e);return 1==t.length&&t[0][2]?lx(t[0][0],t[0][1]):function(n){return n===e||function(e,t,n,r){var i=n.length,o=i;if(null==e)return!o;for(e=Object(e);i--;){var a=n[i];if(a[2]?a[1]!==e[a[0]]:!(a[0]in e))return!1}for(;++i<o;){var s=(a=n[i])[0],l=e[s],c=a[1];if(a[2]){if(void 0===l&&!(s in e))return!1}else{var u,h=new vE;if(!(void 0===u?ax(c,l,3,r,h):u))return!1}}return!0}(n,0,t)}}(e):function(e){return px(e)?Ox(Cx(e)):function(e){return function(t){return Ax(t,e)}}(e)}(e)},Ix=function(e,t){return(NE(e)?nT:KT)(e,Nx(t))},kx=Object.prototype.hasOwnProperty,Dx=function(e,t){return null!=e&&kx.call(e,t)},Px=function(e,t){return null!=e&&wx(e,t,Dx)},Mx=Object.prototype.hasOwnProperty,Fx=function(e){return void 0===e},Hx=function(e,t){var n=-1,r=XE(e)?Array(e.length):[];return YT(e,(function(e,i,o){r[++n]=t(e,i,o)})),r},Bx=function(e,t){return(NE(e)?_x:Hx)(e,Nx(t))},Ux=function(e,t,n,r){var i=-1,o=null==e?0:e.length;for(r&&o&&(n=e[++i]);++i<o;)n=t(n,e[i],i,e);return n},jx=function(e,t,n,r,i){return i(e,(function(e,i,o){n=r?(r=!1,e):t(n,e,i,o)})),n},Gx=function(e,t,n){var r=NE(e)?Ux:jx,i=arguments.length<3;return r(e,Nx(t),n,i,YT)},Yx=Ox("length"),zx=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]"),$x="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",Wx="\\ud83c[\\udffb-\\udfff]",Vx="[^\\ud800-\\udfff]",Kx="(?:\\ud83c[\\udde6-\\uddff]){2}",qx="[\\ud800-\\udbff][\\udc00-\\udfff]",Xx="(?:"+$x+"|"+Wx+")?",Zx="[\\ufe0e\\ufe0f]?"+Xx+"(?:\\u200d(?:"+[Vx,Kx,qx].join("|")+")[\\ufe0e\\ufe0f]?"+Xx+")*",Qx="(?:"+[Vx+$x+"?",$x,Kx,qx,"[\\ud800-\\udfff]"].join("|")+")",Jx=RegExp(Wx+"(?="+Wx+")|"+Qx+Zx,"g"),eS=jb?jb.isConcatSpreadable:void 0,tS=function(e){return NE(e)||OE(e)||!!(eS&&e&&e[eS])},nS=function e(t,n,r,i,o){var a=-1,s=t.length;for(r||(r=tS),o||(o=[]);++a<s;){var l=t[a];n>0&&r(l)?n>1?e(l,n-1,r,i,o):sT(o,l):i||(o[o.length]=l)}return o},rS=Math.max,iS=function(e,t,n){return t=rS(void 0===t?e.length-1:t,0),function(){for(var r=arguments,i=-1,o=rS(r.length-t,0),a=Array(o);++i<o;)a[i]=r[t+i];i=-1;for(var s=Array(t+1);++i<t;)s[i]=r[i];return s[t]=n(a),function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}(e,this,s)}},oS=bE?function(e,t){return bE(e,"toString",{configurable:!0,enumerable:!1,value:UT(t),writable:!0})}:zT,aS=Date.now,sS=function(e){var t=0,n=0;return function(){var r=aS(),i=16-(r-n);if(n=r,i>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}(oS),lS=function(e,t){return sS(iS(e,t,zT),e+"")},cS=function(e,t,n,r){for(var i=e.length,o=n+(r?1:-1);r?o--:++o<i;)if(t(e[o],o,e))return o;return-1},uS=function(e){return e!=e},hS=function(e,t){return!(null==e||!e.length)&&function(e,t,n){return t==t?function(e,t,n){for(var r=-1,i=e.length;++r<i;)if(e[r]===t)return r;return-1}(e,t):cS(e,uS,0)}(e,t)>-1},pS=mT&&1/tx(new mT([,-0]))[1]==1/0?function(e){return new mT(e)}:function(){},dS=function(e){return CE(e)&&XE(e)},fS=lS((function(e){return function(e,t,n){var r=-1,i=hS,o=e.length,a=!0,s=[],l=s;if(o>=200){var c=pS(e);if(c)return tx(c);a=!1,i=QT,l=new XT}else l=s;e:for(;++r<o;){var u=e[r],h=u;if(u=0!==u?u:0,a&&h==h){for(var p=l.length;p--;)if(l[p]===h)continue e;s.push(u)}else i(l,h,n)||(l!==s&&l.push(h),s.push(u))}return s}(nS(e,1,dS,!0))})),mS=function(e){return null==e?[]:function(e,t){return _x(t,(function(t){return e[t]}))}(e,ZE(e))};try{fx={clone:function(e){return BT(e,4)},constant:UT,each:VT,filter:Ix,has:Px,isArray:NE,isEmpty:function(e){if(null==e)return!0;if(XE(e)&&(NE(e)||"string"==typeof e||"function"==typeof e.splice||kE(e)||jE(e)||OE(e)))return!e.length;var t=xT(e);if("[object Map]"==t||"[object Set]"==t)return!e.size;if($E(e))return!qE(e).length;for(var n in e)if(Mx.call(e,n))return!1;return!0},isFunction:Xb,isUndefined:Fx,keys:ZE,map:Bx,reduce:Gx,size:function(e){if(null==e)return 0;if(XE(e))return function(e){return"string"==typeof e||!NE(e)&&CE(e)&&"[object String]"==Kb(e)}(e)?function(e){return function(e){return zx.test(e)}(e)?function(e){for(var t=Jx.lastIndex=0;Jx.test(e);)++t;return t}(e):Yx(e)}(e):e.length;var t=xT(e);return"[object Map]"==t||"[object Set]"==t?e.size:qE(e).length},transform:function(e,t,n){var r=NE(e),i=r||kE(e)||jE(e);if(t=Nx(t),null==n){var o=e&&e.constructor;n=i?r?new o:[]:qb(e)&&Xb(o)?IT(lT(e)):{}}return(i?_E:GT)(e,(function(e,r,i){return t(n,e,r,i)})),n},union:fS,values:mS}}catch(P){}fx||(fx=window._);var gS=fx,yS=vS;function vS(e){this._isDirected=!gS.has(e,"directed")||e.directed,this._isMultigraph=!!gS.has(e,"multigraph")&&e.multigraph,this._isCompound=!!gS.has(e,"compound")&&e.compound,this._label=void 0,this._defaultNodeLabelFn=gS.constant(void 0),this._defaultEdgeLabelFn=gS.constant(void 0),this._nodes={},this._isCompound&&(this._parent={},this._children={},this._children["\0"]={}),this._in={},this._preds={},this._out={},this._sucs={},this._edgeObjs={},this._edgeLabels={}}function _S(e,t){e[t]?e[t]++:e[t]=1}function bS(e,t){--e[t]||delete e[t]}function ES(e,t,n,r){var i=""+t,o=""+n;if(!e&&i>o){var a=i;i=o,o=a}return i+""+o+""+(gS.isUndefined(r)?"\0":r)}function TS(e,t){return ES(e,t.v,t.w,t.name)}vS.prototype._nodeCount=0,vS.prototype._edgeCount=0,vS.prototype.isDirected=function(){return this._isDirected},vS.prototype.isMultigraph=function(){return this._isMultigraph},vS.prototype.isCompound=function(){return this._isCompound},vS.prototype.setGraph=function(e){return this._label=e,this},vS.prototype.graph=function(){return this._label},vS.prototype.setDefaultNodeLabel=function(e){return gS.isFunction(e)||(e=gS.constant(e)),this._defaultNodeLabelFn=e,this},vS.prototype.nodeCount=function(){return this._nodeCount},vS.prototype.nodes=function(){return gS.keys(this._nodes)},vS.prototype.sources=function(){var e=this;return gS.filter(this.nodes(),(function(t){return gS.isEmpty(e._in[t])}))},vS.prototype.sinks=function(){var e=this;return gS.filter(this.nodes(),(function(t){return gS.isEmpty(e._out[t])}))},vS.prototype.setNodes=function(e,t){var n=arguments,r=this;return gS.each(e,(function(e){n.length>1?r.setNode(e,t):r.setNode(e)})),this},vS.prototype.setNode=function(e,t){return gS.has(this._nodes,e)?(arguments.length>1&&(this._nodes[e]=t),this):(this._nodes[e]=arguments.length>1?t:this._defaultNodeLabelFn(e),this._isCompound&&(this._parent[e]="\0",this._children[e]={},this._children["\0"][e]=!0),this._in[e]={},this._preds[e]={},this._out[e]={},this._sucs[e]={},++this._nodeCount,this)},vS.prototype.node=function(e){return this._nodes[e]},vS.prototype.hasNode=function(e){return gS.has(this._nodes,e)},vS.prototype.removeNode=function(e){var t=this;if(gS.has(this._nodes,e)){var n=function(e){t.removeEdge(t._edgeObjs[e])};delete this._nodes[e],this._isCompound&&(this._removeFromParentsChildList(e),delete this._parent[e],gS.each(this.children(e),(function(e){t.setParent(e)})),delete this._children[e]),gS.each(gS.keys(this._in[e]),n),delete this._in[e],delete this._preds[e],gS.each(gS.keys(this._out[e]),n),delete this._out[e],delete this._sucs[e],--this._nodeCount}return this},vS.prototype.setParent=function(e,t){if(!this._isCompound)throw new Error("Cannot set parent in a non-compound graph");if(gS.isUndefined(t))t="\0";else{for(var n=t+="";!gS.isUndefined(n);n=this.parent(n))if(n===e)throw new Error("Setting "+t+" as parent of "+e+" would create a cycle");this.setNode(t)}return this.setNode(e),this._removeFromParentsChildList(e),this._parent[e]=t,this._children[t][e]=!0,this},vS.prototype._removeFromParentsChildList=function(e){delete this._children[this._parent[e]][e]},vS.prototype.parent=function(e){if(this._isCompound){var t=this._parent[e];if("\0"!==t)return t}},vS.prototype.children=function(e){if(gS.isUndefined(e)&&(e="\0"),this._isCompound){var t=this._children[e];if(t)return gS.keys(t)}else{if("\0"===e)return this.nodes();if(this.hasNode(e))return[]}},vS.prototype.predecessors=function(e){var t=this._preds[e];if(t)return gS.keys(t)},vS.prototype.successors=function(e){var t=this._sucs[e];if(t)return gS.keys(t)},vS.prototype.neighbors=function(e){var t=this.predecessors(e);if(t)return gS.union(t,this.successors(e))},vS.prototype.isLeaf=function(e){return 0===(this.isDirected()?this.successors(e):this.neighbors(e)).length},vS.prototype.filterNodes=function(e){var t=new this.constructor({directed:this._isDirected,multigraph:this._isMultigraph,compound:this._isCompound});t.setGraph(this.graph());var n=this;gS.each(this._nodes,(function(n,r){e(r)&&t.setNode(r,n)})),gS.each(this._edgeObjs,(function(e){t.hasNode(e.v)&&t.hasNode(e.w)&&t.setEdge(e,n.edge(e))}));var r={};function i(e){var o=n.parent(e);return void 0===o||t.hasNode(o)?(r[e]=o,o):o in r?r[o]:i(o)}return this._isCompound&&gS.each(t.nodes(),(function(e){t.setParent(e,i(e))})),t},vS.prototype.setDefaultEdgeLabel=function(e){return gS.isFunction(e)||(e=gS.constant(e)),this._defaultEdgeLabelFn=e,this},vS.prototype.edgeCount=function(){return this._edgeCount},vS.prototype.edges=function(){return gS.values(this._edgeObjs)},vS.prototype.setPath=function(e,t){var n=this,r=arguments;return gS.reduce(e,(function(e,i){return r.length>1?n.setEdge(e,i,t):n.setEdge(e,i),i})),this},vS.prototype.setEdge=function(){var e,t,n,r,i=!1,o=arguments[0];"object"==typeof o&&null!==o&&"v"in o?(e=o.v,t=o.w,n=o.name,2===arguments.length&&(r=arguments[1],i=!0)):(e=o,t=arguments[1],n=arguments[3],arguments.length>2&&(r=arguments[2],i=!0)),e=""+e,t=""+t,gS.isUndefined(n)||(n=""+n);var a=ES(this._isDirected,e,t,n);if(gS.has(this._edgeLabels,a))return i&&(this._edgeLabels[a]=r),this;if(!gS.isUndefined(n)&&!this._isMultigraph)throw new Error("Cannot set a named edge when isMultigraph = false");this.setNode(e),this.setNode(t),this._edgeLabels[a]=i?r:this._defaultEdgeLabelFn(e,t,n);var s=function(e,t,n,r){var i=""+t,o=""+n;if(!e&&i>o){var a=i;i=o,o=a}var s={v:i,w:o};return r&&(s.name=r),s}(this._isDirected,e,t,n);return e=s.v,t=s.w,Object.freeze(s),this._edgeObjs[a]=s,_S(this._preds[t],e),_S(this._sucs[e],t),this._in[t][a]=s,this._out[e][a]=s,this._edgeCount++,this},vS.prototype.edge=function(e,t,n){var r=1===arguments.length?TS(this._isDirected,arguments[0]):ES(this._isDirected,e,t,n);return this._edgeLabels[r]},vS.prototype.hasEdge=function(e,t,n){var r=1===arguments.length?TS(this._isDirected,arguments[0]):ES(this._isDirected,e,t,n);return gS.has(this._edgeLabels,r)},vS.prototype.removeEdge=function(e,t,n){var r=1===arguments.length?TS(this._isDirected,arguments[0]):ES(this._isDirected,e,t,n),i=this._edgeObjs[r];return i&&(e=i.v,t=i.w,delete this._edgeLabels[r],delete this._edgeObjs[r],bS(this._preds[t],e),bS(this._sucs[e],t),delete this._in[t][r],delete this._out[e][r],this._edgeCount--),this},vS.prototype.inEdges=function(e,t){var n=this._in[e];if(n){var r=gS.values(n);return t?gS.filter(r,(function(e){return e.v===t})):r}},vS.prototype.outEdges=function(e,t){var n=this._out[e];if(n){var r=gS.values(n);return t?gS.filter(r,(function(e){return e.w===t})):r}},vS.prototype.nodeEdges=function(e,t){var n=this.inEdges(e,t);if(n)return n.concat(this.outEdges(e,t))};var xS={Graph:yS,version:"2.1.8"},SS={write:function(e){var t={options:{directed:e.isDirected(),multigraph:e.isMultigraph(),compound:e.isCompound()},nodes:CS(e),edges:AS(e)};return gS.isUndefined(e.graph())||(t.value=gS.clone(e.graph())),t},read:function(e){var t=new yS(e.options).setGraph(e.value);return gS.each(e.nodes,(function(e){t.setNode(e.v,e.value),e.parent&&t.setParent(e.v,e.parent)})),gS.each(e.edges,(function(e){t.setEdge({v:e.v,w:e.w,name:e.name},e.value)})),t}};function CS(e){return gS.map(e.nodes(),(function(t){var n=e.node(t),r=e.parent(t),i={v:t};return gS.isUndefined(n)||(i.value=n),gS.isUndefined(r)||(i.parent=r),i}))}function AS(e){return gS.map(e.edges(),(function(t){var n=e.edge(t),r={v:t.v,w:t.w};return gS.isUndefined(t.name)||(r.name=t.name),gS.isUndefined(n)||(r.value=n),r}))}var RS=wS;function wS(){this._arr=[],this._keyIndices={}}wS.prototype.size=function(){return this._arr.length},wS.prototype.keys=function(){return this._arr.map((function(e){return e.key}))},wS.prototype.has=function(e){return gS.has(this._keyIndices,e)},wS.prototype.priority=function(e){var t=this._keyIndices[e];if(void 0!==t)return this._arr[t].priority},wS.prototype.min=function(){if(0===this.size())throw new Error("Queue underflow");return this._arr[0].key},wS.prototype.add=function(e,t){var n=this._keyIndices;if(e=String(e),!gS.has(n,e)){var r=this._arr,i=r.length;return n[e]=i,r.push({key:e,priority:t}),this._decrease(i),!0}return!1},wS.prototype.removeMin=function(){this._swap(0,this._arr.length-1);var e=this._arr.pop();return delete this._keyIndices[e.key],this._heapify(0),e.key},wS.prototype.decrease=function(e,t){var n=this._keyIndices[e];if(t>this._arr[n].priority)throw new Error("New priority is greater than current priority. Key: "+e+" Old: "+this._arr[n].priority+" New: "+t);this._arr[n].priority=t,this._decrease(n)},wS.prototype._heapify=function(e){var t=this._arr,n=2*e,r=n+1,i=e;n<t.length&&(i=t[n].priority<t[i].priority?n:i,r<t.length&&(i=t[r].priority<t[i].priority?r:i),i!==e&&(this._swap(e,i),this._heapify(i)))},wS.prototype._decrease=function(e){for(var t,n=this._arr,r=n[e].priority;0!==e&&!(n[t=e>>1].priority<r);)this._swap(e,t),e=t},wS.prototype._swap=function(e,t){var n=this._arr,r=this._keyIndices,i=n[e],o=n[t];n[e]=o,n[t]=i,r[o.key]=e,r[i.key]=t};var LS=function(e,t,n,r){return function(e,t,n,r){var i,o,a={},s=new RS,l=function(e){var t=e.v!==i?e.v:e.w,r=a[t],l=n(e),c=o.distance+l;if(l<0)throw new Error("dijkstra does not allow negative edge weights. Bad edge: "+e+" Weight: "+l);c<r.distance&&(r.distance=c,r.predecessor=i,s.decrease(t,c))};for(e.nodes().forEach((function(e){var n=e===t?0:Number.POSITIVE_INFINITY;a[e]={distance:n},s.add(e,n)}));s.size()>0&&(i=s.removeMin(),(o=a[i]).distance!==Number.POSITIVE_INFINITY);)r(i).forEach(l);return a}(e,String(t),n||OS,r||function(t){return e.outEdges(t)})},OS=gS.constant(1),NS=function(e){var t=0,n=[],r={},i=[];function o(a){var s=r[a]={onStack:!0,lowlink:t,index:t++};if(n.push(a),e.successors(a).forEach((function(e){gS.has(r,e)?r[e].onStack&&(s.lowlink=Math.min(s.lowlink,r[e].index)):(o(e),s.lowlink=Math.min(s.lowlink,r[e].lowlink))})),s.lowlink===s.index){var l,c=[];do{l=n.pop(),r[l].onStack=!1,c.push(l)}while(a!==l);i.push(c)}}return e.nodes().forEach((function(e){gS.has(r,e)||o(e)})),i},IS=gS.constant(1),kS=DS;function DS(e){var t={},n={},r=[];if(gS.each(e.sinks(),(function i(o){if(gS.has(n,o))throw new PS;gS.has(t,o)||(n[o]=!0,t[o]=!0,gS.each(e.predecessors(o),i),delete n[o],r.push(o))})),gS.size(t)!==e.nodeCount())throw new PS;return r}function PS(){}DS.CycleException=PS,PS.prototype=new Error;var MS=function(e,t,n){gS.isArray(t)||(t=[t]);var r=(e.isDirected()?e.successors:e.neighbors).bind(e),i=[],o={};return gS.each(t,(function(t){if(!e.hasNode(t))throw new Error("Graph does not have node: "+t);FS(e,t,"post"===n,o,r,i)})),i};function FS(e,t,n,r,i,o){gS.has(r,t)||(r[t]=!0,n||o.push(t),gS.each(i(t),(function(t){FS(e,t,n,r,i,o)})),n&&o.push(t))}var HS,BS={Graph:xS.Graph,json:SS,alg:{components:function(e){var t,n={},r=[];function i(r){gS.has(n,r)||(n[r]=!0,t.push(r),gS.each(e.successors(r),i),gS.each(e.predecessors(r),i))}return gS.each(e.nodes(),(function(e){t=[],i(e),t.length&&r.push(t)})),r},dijkstra:LS,dijkstraAll:function(e,t,n){return gS.transform(e.nodes(),(function(r,i){r[i]=LS(e,i,t,n)}),{})},findCycles:function(e){return gS.filter(NS(e),(function(t){return t.length>1||1===t.length&&e.hasEdge(t[0],t[0])}))},floydWarshall:function(e,t,n){return function(e,t,n){var r={},i=e.nodes();return i.forEach((function(e){r[e]={},r[e][e]={distance:0},i.forEach((function(t){e!==t&&(r[e][t]={distance:Number.POSITIVE_INFINITY})})),n(e).forEach((function(n){var i=n.v===e?n.w:n.v,o=t(n);r[e][i]={distance:o,predecessor:e}}))})),i.forEach((function(e){var t=r[e];i.forEach((function(n){var o=r[n];i.forEach((function(n){var r=o[e],i=t[n],a=o[n],s=r.distance+i.distance;s<a.distance&&(a.distance=s,a.predecessor=i.predecessor)}))}))})),r}(e,t||IS,n||function(t){return e.outEdges(t)})},isAcyclic:function(e){try{kS(e)}catch(e){if(e instanceof kS.CycleException)return!1;throw e}return!0},postorder:function(e,t){return MS(e,t,"post")},preorder:function(e,t){return MS(e,t,"pre")},prim:function(e,t){var n,r=new yS,i={},o=new RS;function a(e){var r=e.v===n?e.w:e.v,a=o.priority(r);if(void 0!==a){var s=t(e);s<a&&(i[r]=n,o.decrease(r,s))}}if(0===e.nodeCount())return r;gS.each(e.nodes(),(function(e){o.add(e,Number.POSITIVE_INFINITY),r.setNode(e)})),o.decrease(e.nodes()[0],0);for(var s=!1;o.size()>0;){if(n=o.removeMin(),gS.has(i,n))r.setEdge(n,i[n]);else{if(s)throw new Error("Input graph is not connected: "+e);s=!0}e.nodeEdges(n).forEach(a)}return r},tarjan:NS,topsort:kS},version:xS.version};try{HS=BS}catch(P){}HS||(HS=window.graphlib);var US,jS=HS,GS=function(e,t,n){if(!qb(n))return!1;var r=typeof t;return!!("number"==r?XE(n)&&PE(t,n.length):"string"==r&&t in n)&&Ib(n[t],e)},YS=Object.prototype,zS=YS.hasOwnProperty,$S=lS((function(e,t){e=Object(e);var n=-1,r=t.length,i=r>2?t[2]:void 0;for(i&&GS(t[0],t[1],i)&&(r=1);++n<r;)for(var o=t[n],a=JE(o),s=-1,l=a.length;++s<l;){var c=a[s],u=e[c];(void 0===u||Ib(u,YS[c])&&!zS.call(e,c))&&(e[c]=o[c])}return e})),WS=/^\s+|\s+$/g,VS=/^[-+]0x[0-9a-f]+$/i,KS=/^0b[01]+$/i,qS=/^0o[0-7]+$/i,XS=parseInt,ZS=function(e){return e?1/0===(e=function(e){if("number"==typeof e)return e;if(cx(e))return NaN;if(qb(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=qb(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(WS,"");var n=KS.test(e);return n||qS.test(e)?XS(e.slice(2),n?2:8):VS.test(e)?NaN:+e}(e))||-1/0===e?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0},QS=Math.max,JS=function(e,t,n){var r=Object(e);if(!XE(e)){var i=Nx(t);e=ZE(e),t=function(e){return i(r[e],e,r)}}var o=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=null==n?0:function(e){var t=ZS(e),n=t%1;return t==t?n?t-n:t:0}(n);return i<0&&(i=QS(r+i,0)),cS(e,Nx(t),i)}(e,t,n);return o>-1?r[i?e[o]:o]:void 0},eC=function(e){return null!=e&&e.length?nS(e,1):[]},tC=function(e,t,n){for(var r=-1,i=e.length;++r<i;){var o=e[r],a=t(o);if(null!=a&&(void 0===s?a==a&&!cx(a):n(a,s)))var s=a,l=o}return l},nC=function(e,t){return e>t},rC=function(e,t,n){(void 0!==n&&!Ib(e[t],n)||void 0===n&&!(t in e))&&EE(e,t,n)},iC=Function.prototype,oC=Object.prototype,aC=iC.toString,sC=oC.hasOwnProperty,lC=aC.call(Object),cC=function(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]},uC=function e(t,n,r,i,o){t!==n&&jT(n,(function(a,s){if(o||(o=new vE),qb(a))!function(e,t,n,r,i,o,a){var s=cC(e,n),l=cC(t,n),c=a.get(l);if(c)rC(e,n,c);else{var u=o?o(s,l,n+"",e,t,a):void 0,h=void 0===u;if(h){var p=NE(l),d=!p&&kE(l),f=!p&&!d&&jE(l);u=l,p||d||f?NE(s)?u=s:dS(s)?u=tT(s):d?(h=!1,u=eT(l,!0)):f?(h=!1,u=OT(l,!0)):u=[]:function(e){if(!CE(e)||"[object Object]"!=Kb(e))return!1;var t=lT(e);if(null===t)return!0;var n=sC.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&aC.call(n)==lC}(l)||OE(l)?(u=s,OE(s)?u=function(e){return SE(e,JE(e))}(s):qb(s)&&!Xb(s)||(u=kT(l))):h=!1}h&&(a.set(l,u),i(u,l,r,o,a),a.delete(l)),rC(e,n,u)}}(t,n,s,r,e,i,o);else{var l=i?i(cC(t,s),a,s+"",t,n,o):void 0;void 0===l&&(l=a),rC(t,s,l)}}),JE)},hC=function(e){return lS((function(t,n){var r=-1,i=n.length,o=i>1?n[i-1]:void 0,a=i>2?n[2]:void 0;for(o=e.length>3&&"function"==typeof o?(i--,o):void 0,a&&GS(n[0],n[1],a)&&(o=i<3?void 0:o,i=1),t=Object(t);++r<i;){var s=n[r];s&&e(t,s,r)}return t}))}((function(e,t,n){uC(e,t,n)})),pC=function(e,t){return e<t},dC=function(e,t,n,r){if(!qb(e))return e;for(var i=-1,o=(t=Sx(t,e)).length,a=o-1,s=e;null!=s&&++i<o;){var l=Cx(t[i]),c=n;if("__proto__"===l||"constructor"===l||"prototype"===l)return e;if(i!=a){var u=s[l];void 0===(c=r?r(u,l,s):void 0)&&(c=qb(u)?u:PE(t[i+1])?[]:{})}xE(s,l,c),s=s[l]}return e},fC=function(e){return sS(iS(e,void 0,eC),e+"")}((function(e,t){return null==e?{}:function(e,t){return function(e,t,n){for(var r=-1,i=t.length,o={};++r<i;){var a=t[r],s=Ax(e,a);n(0,a)&&dC(o,Sx(a,e),s)}return o}(e,t,(function(t,n){return Lx(e,n)}))}(e,t)})),mC=Math.ceil,gC=Math.max,yC=function(e,t){if(e!==t){var n=void 0!==e,r=null===e,i=e==e,o=cx(e),a=void 0!==t,s=null===t,l=t==t,c=cx(t);if(!s&&!c&&!o&&e>t||o&&a&&l&&!s&&!c||r&&a&&l||!n&&l||!i)return 1;if(!r&&!o&&!c&&e<t||c&&n&&i&&!r&&!o||s&&n&&i||!a&&i||!l)return-1}return 0},vC=lS((function(e,t){if(null==e)return[];var n=t.length;return n>1&&GS(e,t[0],t[1])?t=[]:n>2&&GS(t[0],t[1],t[2])&&(t=[t[0]]),function(e,t,n){t=t.length?_x(t,(function(e){return NE(e)?function(t){return Ax(t,1===e.length?e[0]:e)}:e})):[zT];var r=-1;t=_x(t,HE(Nx));var i=Hx(e,(function(e,n,i){return{criteria:_x(t,(function(t){return t(e)})),index:++r,value:e}}));return function(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}(i,(function(e,t){return function(e,t,n){for(var r=-1,i=e.criteria,o=t.criteria,a=i.length,s=n.length;++r<a;){var l=yC(i[r],o[r]);if(l)return r>=s?l:l*("desc"==n[r]?-1:1)}return e.index-t.index}(e,t,n)}))}(e,nS(t,1),[])})),_C=0;try{US={cloneDeep:function(e){return BT(e,5)},constant:UT,defaults:$S,each:VT,filter:Ix,find:JS,flatten:eC,forEach:WT,forIn:function(e,t){return null==e?e:jT(e,$T(t),JE)},has:Px,isUndefined:Fx,last:function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0},map:Bx,mapValues:function(e,t){var n={};return t=Nx(t),GT(e,(function(e,r,i){EE(n,r,t(e,r,i))})),n},max:function(e){return e&&e.length?tC(e,zT,nC):void 0},merge:hC,min:function(e){return e&&e.length?tC(e,zT,pC):void 0},minBy:function(e,t){return e&&e.length?tC(e,Nx(t),pC):void 0},now:function(){return Ub.Date.now()},pick:fC,range:function(e,t,n){return n&&"number"!=typeof n&&GS(e,t,n)&&(t=n=void 0),e=ZS(e),void 0===t?(t=e,e=0):t=ZS(t),function(e,t,n,r){for(var i=-1,o=gC(mC((t-e)/(n||1)),0),a=Array(o);o--;)a[++i]=e,e+=n;return a}(e,t,n=void 0===n?e<t?1:-1:ZS(n))},reduce:Gx,sortBy:vC,uniqueId:function(e){var t=++_C;return xx(e)+t},values:mS,zipObject:function(e,t){return function(e,t,n){for(var r=-1,i=e.length,o=t.length,a={};++r<i;){var s=r<o?t[r]:void 0;n(a,e[r],s)}return a}(e||[],t||[],xE)}}}catch(P){}US||(US=window._);var bC=US;function EC(){var e={};e._next=e._prev=e,this._sentinel=e}function TC(e){e._prev._next=e._next,e._next._prev=e._prev,delete e._next,delete e._prev}function xC(e,t){if("_next"!==e&&"_prev"!==e)return t}EC.prototype.dequeue=function(){var e=this._sentinel,t=e._prev;if(t!==e)return TC(t),t},EC.prototype.enqueue=function(e){var t=this._sentinel;e._prev&&e._next&&TC(e),e._next=t._next,t._next._prev=e,t._next=e,e._prev=t},EC.prototype.toString=function(){for(var e=[],t=this._sentinel,n=t._prev;n!==t;)e.push(JSON.stringify(n,xC)),n=n._prev;return"["+e.join(", ")+"]"};jS.Graph,bC.constant(1);var SC=jS.Graph,CC={addDummyNode:AC,simplify:function(e){var t=(new SC).setGraph(e.graph());return bC.forEach(e.nodes(),(function(n){t.setNode(n,e.node(n))})),bC.forEach(e.edges(),(function(n){var r=t.edge(n.v,n.w)||{weight:0,minlen:1},i=e.edge(n);t.setEdge(n.v,n.w,{weight:r.weight+i.weight,minlen:Math.max(r.minlen,i.minlen)})})),t},asNonCompoundGraph:function(e){var t=new SC({multigraph:e.isMultigraph()}).setGraph(e.graph());return bC.forEach(e.nodes(),(function(n){e.children(n).length||t.setNode(n,e.node(n))})),bC.forEach(e.edges(),(function(n){t.setEdge(n,e.edge(n))})),t},successorWeights:function(e){var t=bC.map(e.nodes(),(function(t){var n={};return bC.forEach(e.outEdges(t),(function(t){n[t.w]=(n[t.w]||0)+e.edge(t).weight})),n}));return bC.zipObject(e.nodes(),t)},predecessorWeights:function(e){var t=bC.map(e.nodes(),(function(t){var n={};return bC.forEach(e.inEdges(t),(function(t){n[t.v]=(n[t.v]||0)+e.edge(t).weight})),n}));return bC.zipObject(e.nodes(),t)},intersectRect:function(e,t){var n,r,i=e.x,o=e.y,a=t.x-i,s=t.y-o,l=e.width/2,c=e.height/2;if(!a&&!s)throw new Error("Not possible to find intersection inside of the rectangle");return Math.abs(s)*l>Math.abs(a)*c?(s<0&&(c=-c),n=c*a/s,r=c):(a<0&&(l=-l),n=l,r=l*s/a),{x:i+n,y:o+r}},buildLayerMatrix:function(e){var t=bC.map(bC.range(RC(e)+1),(function(){return[]}));return bC.forEach(e.nodes(),(function(n){var r=e.node(n),i=r.rank;bC.isUndefined(i)||(t[i][r.order]=n)})),t},normalizeRanks:function(e){var t=bC.min(bC.map(e.nodes(),(function(t){return e.node(t).rank})));bC.forEach(e.nodes(),(function(n){var r=e.node(n);bC.has(r,"rank")&&(r.rank-=t)}))},removeEmptyRanks:function(e){var t=bC.min(bC.map(e.nodes(),(function(t){return e.node(t).rank}))),n=[];bC.forEach(e.nodes(),(function(r){var i=e.node(r).rank-t;n[i]||(n[i]=[]),n[i].push(r)}));var r=0,i=e.graph().nodeRankFactor;bC.forEach(n,(function(t,n){bC.isUndefined(t)&&n%i!=0?--r:r&&bC.forEach(t,(function(t){e.node(t).rank+=r}))}))},addBorderNode:function(e,t,n,r){var i={width:0,height:0};return arguments.length>=4&&(i.rank=n,i.order=r),AC(e,"border",i,t)},maxRank:RC,partition:function(e,t){var n={lhs:[],rhs:[]};return bC.forEach(e,(function(e){t(e)?n.lhs.push(e):n.rhs.push(e)})),n},time:function(e,t){var n=bC.now();try{return t()}finally{console.log(e+" time: "+(bC.now()-n)+"ms")}},notime:function(e,t){return t()}};function AC(e,t,n,r){var i;do{i=bC.uniqueId(r)}while(e.hasNode(i));return n.dummy=t,e.setNode(i,n),i}function RC(e){return bC.max(bC.map(e.nodes(),(function(t){var n=e.node(t).rank;if(!bC.isUndefined(n))return n})))}var wC=function(e){var t={};bC.forEach(e.sources(),(function n(r){var i=e.node(r);if(bC.has(t,r))return i.rank;t[r]=!0;var o=bC.min(bC.map(e.outEdges(r),(function(t){return n(t.w)-e.edge(t).minlen})));return o!==Number.POSITIVE_INFINITY&&null!=o||(o=0),i.rank=o}))},LC=function(e,t){return e.node(t.w).rank-e.node(t.v).rank-e.edge(t).minlen},OC=jS.Graph,NC=LC;function IC(e,t){return bC.forEach(e.nodes(),(function n(r){bC.forEach(t.nodeEdges(r),(function(i){var o=i.v,a=r===o?i.w:o;e.hasNode(a)||NC(t,i)||(e.setNode(a,{}),e.setEdge(r,a,{}),n(a))}))})),e.nodeCount()}function kC(e,t){return bC.minBy(t.edges(),(function(n){if(e.hasNode(n.v)!==e.hasNode(n.w))return NC(t,n)}))}function DC(e,t,n){bC.forEach(e.nodes(),(function(e){t.node(e).rank+=n}))}var PC=LC,MC=wC,FC=jS.alg.preorder,HC=jS.alg.postorder,BC=CC.simplify;function UC(e){e=BC(e),MC(e);var t,n=function(e){var t,n,r=new OC({directed:!1}),i=e.nodes()[0],o=e.nodeCount();for(r.setNode(i,{});IC(r,e)<o;)t=kC(r,e),n=r.hasNode(t.v)?NC(e,t):-NC(e,t),DC(r,e,n);return r}(e);for(YC(n),jC(n,e);t=$C(n);)VC(n,e,t,WC(n,e,t))}function jC(e,t){var n=HC(e,e.nodes());n=n.slice(0,n.length-1),bC.forEach(n,(function(n){!function(e,t,n){var r=e.node(n).parent;e.edge(n,r).cutvalue=GC(e,t,n)}(e,t,n)}))}function GC(e,t,n){var r=e.node(n).parent,i=!0,o=t.edge(n,r),a=0;return o||(i=!1,o=t.edge(r,n)),a=o.weight,bC.forEach(t.nodeEdges(n),(function(o){var s,l,c=o.v===n,u=c?o.w:o.v;if(u!==r){var h=c===i,p=t.edge(o).weight;if(a+=h?p:-p,s=n,l=u,e.hasEdge(s,l)){var d=e.edge(n,u).cutvalue;a+=h?-d:d}}})),a}function YC(e,t){arguments.length<2&&(t=e.nodes()[0]),zC(e,{},1,t)}function zC(e,t,n,r,i){var o=n,a=e.node(r);return t[r]=!0,bC.forEach(e.neighbors(r),(function(i){bC.has(t,i)||(n=zC(e,t,n,i,r))})),a.low=o,a.lim=n++,i?a.parent=i:delete a.parent,n}function $C(e){return bC.find(e.edges(),(function(t){return e.edge(t).cutvalue<0}))}function WC(e,t,n){var r=n.v,i=n.w;t.hasEdge(r,i)||(r=n.w,i=n.v);var o=e.node(r),a=e.node(i),s=o,l=!1;o.lim>a.lim&&(s=a,l=!0);var c=bC.filter(t.edges(),(function(t){return l===KC(0,e.node(t.v),s)&&l!==KC(0,e.node(t.w),s)}));return bC.minBy(c,(function(e){return PC(t,e)}))}function VC(e,t,n,r){var i=n.v,o=n.w;e.removeEdge(i,o),e.setEdge(r.v,r.w,{}),YC(e),jC(e,t),function(e,t){var n=bC.find(e.nodes(),(function(e){return!t.node(e).parent})),r=FC(e,n);r=r.slice(1),bC.forEach(r,(function(n){var r=e.node(n).parent,i=t.edge(n,r),o=!1;i||(i=t.edge(r,n),o=!0),t.node(n).rank=t.node(r).rank+(o?i.minlen:-i.minlen)}))}(e,t)}function KC(e,t,n){return n.low<=t.lim&&t.lim<=n.lim}UC.initLowLimValues=YC,UC.initCutValues=jC,UC.calcCutValue=GC,UC.leaveEdge=$C,UC.enterEdge=WC,UC.exchangeEdges=VC;jS.Graph,jS.Graph;jS.Graph;CC.normalizeRanks,CC.removeEmptyRanks,jS.Graph;jS.Graph;CC.time,CC.notime;const qC=Object.prototype.toString;function XC(e){const t=qC.call(e);return t.endsWith("Array]")&&!t.includes("Big")}function ZC(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!XC(e))throw new TypeError("input must be an array");if(0===e.length)throw new TypeError("input must not be empty");if(void 0!==n.output){if(!XC(n.output))throw new TypeError("output option must be an array if specified");t=n.output}else t=new Array(e.length);var r=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!XC(e))throw new TypeError("input must be an array");if(0===e.length)throw new TypeError("input must not be empty");var n=t.fromIndex,r=void 0===n?0:n,i=t.toIndex,o=void 0===i?e.length:i;if(r<0||r>=e.length||!Number.isInteger(r))throw new Error("fromIndex must be a positive integer smaller than length");if(o<=r||o>e.length||!Number.isInteger(o))throw new Error("toIndex must be an integer greater than fromIndex and at most equal to length");for(var a=e[r],s=r+1;s<o;s++)e[s]<a&&(a=e[s]);return a}(e),i=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!XC(e))throw new TypeError("input must be an array");if(0===e.length)throw new TypeError("input must not be empty");var n=t.fromIndex,r=void 0===n?0:n,i=t.toIndex,o=void 0===i?e.length:i;if(r<0||r>=e.length||!Number.isInteger(r))throw new Error("fromIndex must be a positive integer smaller than length");if(o<=r||o>e.length||!Number.isInteger(o))throw new Error("toIndex must be an integer greater than fromIndex and at most equal to length");for(var a=e[r],s=r+1;s<o;s++)e[s]>a&&(a=e[s]);return a}(e);if(r===i)throw new RangeError("minimum and maximum input values are equal. Cannot rescale a constant array");var o=n.min,a=void 0===o?n.autoMinMax?r:0:o,s=n.max,l=void 0===s?n.autoMinMax?i:1:s;if(a>=l)throw new RangeError("min option must be smaller than max option");for(var c=(l-a)/(i-r),u=0;u<e.length;u++)t[u]=(e[u]-r)*c+a;return t}const QC=" ".repeat(2),JC=" ".repeat(4);function eA(e,t={}){const{maxRows:n=15,maxColumns:r=10,maxNumSize:i=8,padMinus:o="auto"}=t;return`${e.constructor.name} {\n${QC}[\n${JC}${function(e,t,n,r,i){const{rows:o,columns:a}=e,s=Math.min(o,t),l=Math.min(a,n),c=[];if("auto"===i){i=!1;e:for(let t=0;t<s;t++)for(let n=0;n<l;n++)if(e.get(t,n)<0){i=!0;break e}}for(let t=0;t<s;t++){let n=[];for(let o=0;o<l;o++)n.push(tA(e.get(t,o),r,i));c.push(`${n.join(" ")}`)}return l!==a&&(c[c.length-1]+=` ... ${a-n} more columns`),s!==o&&c.push(`... ${o-t} more rows`),c.join(`\n${JC}`)}(e,n,r,i,o)}\n${QC}]\n${QC}rows: ${e.rows}\n${QC}columns: ${e.columns}\n}`}function tA(e,t,n){return(e>=0&&n?` ${nA(e,t-1)}`:nA(e,t)).padEnd(t)}function nA(e,t){let n=e.toString();if(n.length<=t)return n;let r=e.toFixed(t);if(r.length>t&&(r=e.toFixed(Math.max(0,t-(r.length-t)))),r.length<=t&&!r.startsWith("0.000")&&!r.startsWith("-0.000"))return r;let i=e.toExponential(t);return i.length>t&&(i=e.toExponential(Math.max(0,t-(i.length-t)))),i.slice(0)}function rA(e,t,n){let r=n?e.rows:e.rows-1;if(t<0||t>r)throw new RangeError("Row index out of range")}function iA(e,t,n){let r=n?e.columns:e.columns-1;if(t<0||t>r)throw new RangeError("Column index out of range")}function oA(e,t){if(t.to1DArray&&(t=t.to1DArray()),t.length!==e.columns)throw new RangeError("vector size must be the same as the number of columns");return t}function aA(e,t){if(t.to1DArray&&(t=t.to1DArray()),t.length!==e.rows)throw new RangeError("vector size must be the same as the number of rows");return t}function sA(e,t,n,r,i){if(5!==arguments.length)throw new RangeError("expected 4 arguments");if(cA("startRow",t),cA("endRow",n),cA("startColumn",r),cA("endColumn",i),t>n||r>i||t<0||t>=e.rows||n<0||n>=e.rows||r<0||r>=e.columns||i<0||i>=e.columns)throw new RangeError("Submatrix indices are out of range")}function lA(e,t=0){let n=[];for(let r=0;r<e;r++)n.push(t);return n}function cA(e,t){if("number"!=typeof t)throw new TypeError(`${e} must be a number`)}function uA(e){if(e.isEmpty())throw new Error("Empty matrix has no elements to index")}class hA{static from1DArray(e,t,n){if(e*t!==n.length)throw new RangeError("data length does not match given dimensions");let r=new dA(e,t);for(let i=0;i<e;i++)for(let e=0;e<t;e++)r.set(i,e,n[i*t+e]);return r}static rowVector(e){let t=new dA(1,e.length);for(let n=0;n<e.length;n++)t.set(0,n,e[n]);return t}static columnVector(e){let t=new dA(e.length,1);for(let n=0;n<e.length;n++)t.set(n,0,e[n]);return t}static zeros(e,t){return new dA(e,t)}static ones(e,t){return new dA(e,t).fill(1)}static rand(e,t,n={}){if("object"!=typeof n)throw new TypeError("options must be an object");const{random:r=Math.random}=n;let i=new dA(e,t);for(let n=0;n<e;n++)for(let e=0;e<t;e++)i.set(n,e,r());return i}static randInt(e,t,n={}){if("object"!=typeof n)throw new TypeError("options must be an object");const{min:r=0,max:i=1e3,random:o=Math.random}=n;if(!Number.isInteger(r))throw new TypeError("min must be an integer");if(!Number.isInteger(i))throw new TypeError("max must be an integer");if(r>=i)throw new RangeError("min must be smaller than max");let a=i-r,s=new dA(e,t);for(let n=0;n<e;n++)for(let e=0;e<t;e++){let t=r+Math.round(o()*a);s.set(n,e,t)}return s}static eye(e,t,n){void 0===t&&(t=e),void 0===n&&(n=1);let r=Math.min(e,t),i=this.zeros(e,t);for(let e=0;e<r;e++)i.set(e,e,n);return i}static diag(e,t,n){let r=e.length;void 0===t&&(t=r),void 0===n&&(n=t);let i=Math.min(r,t,n),o=this.zeros(t,n);for(let t=0;t<i;t++)o.set(t,t,e[t]);return o}static min(e,t){e=this.checkMatrix(e),t=this.checkMatrix(t);let n=e.rows,r=e.columns,i=new dA(n,r);for(let o=0;o<n;o++)for(let n=0;n<r;n++)i.set(o,n,Math.min(e.get(o,n),t.get(o,n)));return i}static max(e,t){e=this.checkMatrix(e),t=this.checkMatrix(t);let n=e.rows,r=e.columns,i=new this(n,r);for(let o=0;o<n;o++)for(let n=0;n<r;n++)i.set(o,n,Math.max(e.get(o,n),t.get(o,n)));return i}static checkMatrix(e){return hA.isMatrix(e)?e:new dA(e)}static isMatrix(e){return null!=e&&"Matrix"===e.klass}get size(){return this.rows*this.columns}apply(e){if("function"!=typeof e)throw new TypeError("callback must be a function");for(let t=0;t<this.rows;t++)for(let n=0;n<this.columns;n++)e.call(this,t,n);return this}to1DArray(){let e=[];for(let t=0;t<this.rows;t++)for(let n=0;n<this.columns;n++)e.push(this.get(t,n));return e}to2DArray(){let e=[];for(let t=0;t<this.rows;t++){e.push([]);for(let n=0;n<this.columns;n++)e[t].push(this.get(t,n))}return e}toJSON(){return this.to2DArray()}isRowVector(){return 1===this.rows}isColumnVector(){return 1===this.columns}isVector(){return 1===this.rows||1===this.columns}isSquare(){return this.rows===this.columns}isEmpty(){return 0===this.rows||0===this.columns}isSymmetric(){if(this.isSquare()){for(let e=0;e<this.rows;e++)for(let t=0;t<=e;t++)if(this.get(e,t)!==this.get(t,e))return!1;return!0}return!1}isEchelonForm(){let e=0,t=0,n=-1,r=!0,i=!1;for(;e<this.rows&&r;){for(t=0,i=!1;t<this.columns&&!1===i;)0===this.get(e,t)?t++:1===this.get(e,t)&&t>n?(i=!0,n=t):(r=!1,i=!0);e++}return r}isReducedEchelonForm(){let e=0,t=0,n=-1,r=!0,i=!1;for(;e<this.rows&&r;){for(t=0,i=!1;t<this.columns&&!1===i;)0===this.get(e,t)?t++:1===this.get(e,t)&&t>n?(i=!0,n=t):(r=!1,i=!0);for(let n=t+1;n<this.rows;n++)0!==this.get(e,n)&&(r=!1);e++}return r}echelonForm(){let e=this.clone(),t=0,n=0;for(;t<e.rows&&n<e.columns;){let r=t;for(let i=t;i<e.rows;i++)e.get(i,n)>e.get(r,n)&&(r=i);if(0===e.get(r,n))n++;else{e.swapRows(t,r);let i=e.get(t,n);for(let r=n;r<e.columns;r++)e.set(t,r,e.get(t,r)/i);for(let r=t+1;r<e.rows;r++){let i=e.get(r,n)/e.get(t,n);e.set(r,n,0);for(let o=n+1;o<e.columns;o++)e.set(r,o,e.get(r,o)-e.get(t,o)*i)}t++,n++}}return e}reducedEchelonForm(){let e=this.echelonForm(),t=e.columns,n=e.rows,r=n-1;for(;r>=0;)if(0===e.maxRow(r))r--;else{let i=0,o=!1;for(;i<n&&!1===o;)1===e.get(r,i)?o=!0:i++;for(let n=0;n<r;n++){let o=e.get(n,i);for(let a=i;a<t;a++){let t=e.get(n,a)-o*e.get(r,a);e.set(n,a,t)}}r--}return e}set(){throw new Error("set method is unimplemented")}get(){throw new Error("get method is unimplemented")}repeat(e={}){if("object"!=typeof e)throw new TypeError("options must be an object");const{rows:t=1,columns:n=1}=e;if(!Number.isInteger(t)||t<=0)throw new TypeError("rows must be a positive integer");if(!Number.isInteger(n)||n<=0)throw new TypeError("columns must be a positive integer");let r=new dA(this.rows*t,this.columns*n);for(let e=0;e<t;e++)for(let t=0;t<n;t++)r.setSubMatrix(this,this.rows*e,this.columns*t);return r}fill(e){for(let t=0;t<this.rows;t++)for(let n=0;n<this.columns;n++)this.set(t,n,e);return this}neg(){return this.mulS(-1)}getRow(e){rA(this,e);let t=[];for(let n=0;n<this.columns;n++)t.push(this.get(e,n));return t}getRowVector(e){return dA.rowVector(this.getRow(e))}setRow(e,t){rA(this,e),t=oA(this,t);for(let n=0;n<this.columns;n++)this.set(e,n,t[n]);return this}swapRows(e,t){rA(this,e),rA(this,t);for(let n=0;n<this.columns;n++){let r=this.get(e,n);this.set(e,n,this.get(t,n)),this.set(t,n,r)}return this}getColumn(e){iA(this,e);let t=[];for(let n=0;n<this.rows;n++)t.push(this.get(n,e));return t}getColumnVector(e){return dA.columnVector(this.getColumn(e))}setColumn(e,t){iA(this,e),t=aA(this,t);for(let n=0;n<this.rows;n++)this.set(n,e,t[n]);return this}swapColumns(e,t){iA(this,e),iA(this,t);for(let n=0;n<this.rows;n++){let r=this.get(n,e);this.set(n,e,this.get(n,t)),this.set(n,t,r)}return this}addRowVector(e){e=oA(this,e);for(let t=0;t<this.rows;t++)for(let n=0;n<this.columns;n++)this.set(t,n,this.get(t,n)+e[n]);return this}subRowVector(e){e=oA(this,e);for(let t=0;t<this.rows;t++)for(let n=0;n<this.columns;n++)this.set(t,n,this.get(t,n)-e[n]);return this}mulRowVector(e){e=oA(this,e);for(let t=0;t<this.rows;t++)for(let n=0;n<this.columns;n++)this.set(t,n,this.get(t,n)*e[n]);return this}divRowVector(e){e=oA(this,e);for(let t=0;t<this.rows;t++)for(let n=0;n<this.columns;n++)this.set(t,n,this.get(t,n)/e[n]);return this}addColumnVector(e){e=aA(this,e);for(let t=0;t<this.rows;t++)for(let n=0;n<this.columns;n++)this.set(t,n,this.get(t,n)+e[t]);return this}subColumnVector(e){e=aA(this,e);for(let t=0;t<this.rows;t++)for(let n=0;n<this.columns;n++)this.set(t,n,this.get(t,n)-e[t]);return this}mulColumnVector(e){e=aA(this,e);for(let t=0;t<this.rows;t++)for(let n=0;n<this.columns;n++)this.set(t,n,this.get(t,n)*e[t]);return this}divColumnVector(e){e=aA(this,e);for(let t=0;t<this.rows;t++)for(let n=0;n<this.columns;n++)this.set(t,n,this.get(t,n)/e[t]);return this}mulRow(e,t){rA(this,e);for(let n=0;n<this.columns;n++)this.set(e,n,this.get(e,n)*t);return this}mulColumn(e,t){iA(this,e);for(let n=0;n<this.rows;n++)this.set(n,e,this.get(n,e)*t);return this}max(e){if(this.isEmpty())return NaN;switch(e){case"row":{const e=new Array(this.rows).fill(Number.NEGATIVE_INFINITY);for(let t=0;t<this.rows;t++)for(let n=0;n<this.columns;n++)this.get(t,n)>e[t]&&(e[t]=this.get(t,n));return e}case"column":{const e=new Array(this.columns).fill(Number.NEGATIVE_INFINITY);for(let t=0;t<this.rows;t++)for(let n=0;n<this.columns;n++)this.get(t,n)>e[n]&&(e[n]=this.get(t,n));return e}case void 0:{let e=this.get(0,0);for(let t=0;t<this.rows;t++)for(let n=0;n<this.columns;n++)this.get(t,n)>e&&(e=this.get(t,n));return e}default:throw new Error(`invalid option: ${e}`)}}maxIndex(){uA(this);let e=this.get(0,0),t=[0,0];for(let n=0;n<this.rows;n++)for(let r=0;r<this.columns;r++)this.get(n,r)>e&&(e=this.get(n,r),t[0]=n,t[1]=r);return t}min(e){if(this.isEmpty())return NaN;switch(e){case"row":{const e=new Array(this.rows).fill(Number.POSITIVE_INFINITY);for(let t=0;t<this.rows;t++)for(let n=0;n<this.columns;n++)this.get(t,n)<e[t]&&(e[t]=this.get(t,n));return e}case"column":{const e=new Array(this.columns).fill(Number.POSITIVE_INFINITY);for(let t=0;t<this.rows;t++)for(let n=0;n<this.columns;n++)this.get(t,n)<e[n]&&(e[n]=this.get(t,n));return e}case void 0:{let e=this.get(0,0);for(let t=0;t<this.rows;t++)for(let n=0;n<this.columns;n++)this.get(t,n)<e&&(e=this.get(t,n));return e}default:throw new Error(`invalid option: ${e}`)}}minIndex(){uA(this);let e=this.get(0,0),t=[0,0];for(let n=0;n<this.rows;n++)for(let r=0;r<this.columns;r++)this.get(n,r)<e&&(e=this.get(n,r),t[0]=n,t[1]=r);return t}maxRow(e){if(rA(this,e),this.isEmpty())return NaN;let t=this.get(e,0);for(let n=1;n<this.columns;n++)this.get(e,n)>t&&(t=this.get(e,n));return t}maxRowIndex(e){rA(this,e),uA(this);let t=this.get(e,0),n=[e,0];for(let r=1;r<this.columns;r++)this.get(e,r)>t&&(t=this.get(e,r),n[1]=r);return n}minRow(e){if(rA(this,e),this.isEmpty())return NaN;let t=this.get(e,0);for(let n=1;n<this.columns;n++)this.get(e,n)<t&&(t=this.get(e,n));return t}minRowIndex(e){rA(this,e),uA(this);let t=this.get(e,0),n=[e,0];for(let r=1;r<this.columns;r++)this.get(e,r)<t&&(t=this.get(e,r),n[1]=r);return n}maxColumn(e){if(iA(this,e),this.isEmpty())return NaN;let t=this.get(0,e);for(let n=1;n<this.rows;n++)this.get(n,e)>t&&(t=this.get(n,e));return t}maxColumnIndex(e){iA(this,e),uA(this);let t=this.get(0,e),n=[0,e];for(let r=1;r<this.rows;r++)this.get(r,e)>t&&(t=this.get(r,e),n[0]=r);return n}minColumn(e){if(iA(this,e),this.isEmpty())return NaN;let t=this.get(0,e);for(let n=1;n<this.rows;n++)this.get(n,e)<t&&(t=this.get(n,e));return t}minColumnIndex(e){iA(this,e),uA(this);let t=this.get(0,e),n=[0,e];for(let r=1;r<this.rows;r++)this.get(r,e)<t&&(t=this.get(r,e),n[0]=r);return n}diag(){let e=Math.min(this.rows,this.columns),t=[];for(let n=0;n<e;n++)t.push(this.get(n,n));return t}norm(e="frobenius"){let t=0;if("max"===e)return this.max();if("frobenius"===e){for(let e=0;e<this.rows;e++)for(let n=0;n<this.columns;n++)t+=this.get(e,n)*this.get(e,n);return Math.sqrt(t)}throw new RangeError(`unknown norm type: ${e}`)}cumulativeSum(){let e=0;for(let t=0;t<this.rows;t++)for(let n=0;n<this.columns;n++)e+=this.get(t,n),this.set(t,n,e);return this}dot(e){hA.isMatrix(e)&&(e=e.to1DArray());let t=this.to1DArray();if(t.length!==e.length)throw new RangeError("vectors do not have the same size");let n=0;for(let r=0;r<t.length;r++)n+=t[r]*e[r];return n}mmul(e){e=dA.checkMatrix(e);let t=this.rows,n=this.columns,r=e.columns,i=new dA(t,r),o=new Float64Array(n);for(let a=0;a<r;a++){for(let t=0;t<n;t++)o[t]=e.get(t,a);for(let e=0;e<t;e++){let t=0;for(let r=0;r<n;r++)t+=this.get(e,r)*o[r];i.set(e,a,t)}}return i}strassen2x2(e){e=dA.checkMatrix(e);let t=new dA(2,2);const n=this.get(0,0),r=e.get(0,0),i=this.get(0,1),o=e.get(0,1),a=this.get(1,0),s=e.get(1,0),l=this.get(1,1),c=e.get(1,1),u=(n+l)*(r+c),h=(a+l)*r,p=n*(o-c),d=l*(s-r),f=(n+i)*c,m=u+d-f+(i-l)*(s+c),g=p+f,y=h+d,v=u-h+p+(a-n)*(r+o);return t.set(0,0,m),t.set(0,1,g),t.set(1,0,y),t.set(1,1,v),t}strassen3x3(e){e=dA.checkMatrix(e);let t=new dA(3,3);const n=this.get(0,0),r=this.get(0,1),i=this.get(0,2),o=this.get(1,0),a=this.get(1,1),s=this.get(1,2),l=this.get(2,0),c=this.get(2,1),u=this.get(2,2),h=e.get(0,0),p=e.get(0,1),d=e.get(0,2),f=e.get(1,0),m=e.get(1,1),g=e.get(1,2),y=e.get(2,0),v=e.get(2,1),_=e.get(2,2),b=(n-o)*(-p+m),E=(-n+o+a)*(h-p+m),T=(o+a)*(-h+p),x=n*h,S=(-n+l+c)*(h-d+g),C=(-n+l)*(d-g),A=(l+c)*(-h+d),R=(-i+c+u)*(m+y-v),w=(i-u)*(m-v),L=i*y,O=(c+u)*(-y+v),N=(-i+a+s)*(g+y-_),I=(i-s)*(g-_),k=(a+s)*(-y+_),D=x+L+r*f,P=(n+r+i-o-a-c-u)*m+E+T+x+R+L+O,M=x+S+A+(n+r+i-a-s-l-c)*g+L+N+k,F=b+a*(-h+p+f-m-g-y+_)+E+x+L+N+I,H=b+E+T+x+s*v,B=L+N+I+k+o*d,U=x+S+C+c*(-h+d+f-m-g-y+v)+R+w+L,j=R+w+L+O+l*p,G=x+S+C+A+u*_;return t.set(0,0,D),t.set(0,1,P),t.set(0,2,M),t.set(1,0,F),t.set(1,1,H),t.set(1,2,B),t.set(2,0,U),t.set(2,1,j),t.set(2,2,G),t}mmulStrassen(e){e=dA.checkMatrix(e);let t=this.clone(),n=t.rows,r=t.columns,i=e.rows,o=e.columns;function a(e,t,n){let r=e.rows,i=e.columns;if(r===t&&i===n)return e;{let r=hA.zeros(t,n);return r=r.setSubMatrix(e,0,0),r}}r!==i&&console.warn(`Multiplying ${n} x ${r} and ${i} x ${o} matrix: dimensions do not match.`);let s=Math.max(n,i),l=Math.max(r,o);return t=a(t,s,l),function e(t,n,r,i){if(r<=512||i<=512)return t.mmul(n);r%2==1&&i%2==1?(t=a(t,r+1,i+1),n=a(n,r+1,i+1)):r%2==1?(t=a(t,r+1,i),n=a(n,r+1,i)):i%2==1&&(t=a(t,r,i+1),n=a(n,r,i+1));let o=parseInt(t.rows/2,10),s=parseInt(t.columns/2,10),l=t.subMatrix(0,o-1,0,s-1),c=n.subMatrix(0,o-1,0,s-1),u=t.subMatrix(0,o-1,s,t.columns-1),h=n.subMatrix(0,o-1,s,n.columns-1),p=t.subMatrix(o,t.rows-1,0,s-1),d=n.subMatrix(o,n.rows-1,0,s-1),f=t.subMatrix(o,t.rows-1,s,t.columns-1),m=n.subMatrix(o,n.rows-1,s,n.columns-1),g=e(hA.add(l,f),hA.add(c,m),o,s),y=e(hA.add(p,f),c,o,s),v=e(l,hA.sub(h,m),o,s),_=e(f,hA.sub(d,c),o,s),b=e(hA.add(l,u),m,o,s),E=e(hA.sub(p,l),hA.add(c,h),o,s),T=e(hA.sub(u,f),hA.add(d,m),o,s),x=hA.add(g,_);x.sub(b),x.add(T);let S=hA.add(v,b),C=hA.add(y,_),A=hA.sub(g,y);A.add(v),A.add(E);let R=hA.zeros(2*x.rows,2*x.columns);return R=R.setSubMatrix(x,0,0),R=R.setSubMatrix(S,x.rows,0),R=R.setSubMatrix(C,0,x.columns),R=R.setSubMatrix(A,x.rows,x.columns),R.subMatrix(0,r-1,0,i-1)}(t,e=a(e,s,l),s,l)}scaleRows(e={}){if("object"!=typeof e)throw new TypeError("options must be an object");const{min:t=0,max:n=1}=e;if(!Number.isFinite(t))throw new TypeError("min must be a number");if(!Number.isFinite(n))throw new TypeError("max must be a number");if(t>=n)throw new RangeError("min must be smaller than max");let r=new dA(this.rows,this.columns);for(let e=0;e<this.rows;e++){const i=this.getRow(e);i.length>0&&ZC(i,{min:t,max:n,output:i}),r.setRow(e,i)}return r}scaleColumns(e={}){if("object"!=typeof e)throw new TypeError("options must be an object");const{min:t=0,max:n=1}=e;if(!Number.isFinite(t))throw new TypeError("min must be a number");if(!Number.isFinite(n))throw new TypeError("max must be a number");if(t>=n)throw new RangeError("min must be smaller than max");let r=new dA(this.rows,this.columns);for(let e=0;e<this.columns;e++){const i=this.getColumn(e);i.length&&ZC(i,{min:t,max:n,output:i}),r.setColumn(e,i)}return r}flipRows(){const e=Math.ceil(this.columns/2);for(let t=0;t<this.rows;t++)for(let n=0;n<e;n++){let e=this.get(t,n),r=this.get(t,this.columns-1-n);this.set(t,n,r),this.set(t,this.columns-1-n,e)}return this}flipColumns(){const e=Math.ceil(this.rows/2);for(let t=0;t<this.columns;t++)for(let n=0;n<e;n++){let e=this.get(n,t),r=this.get(this.rows-1-n,t);this.set(n,t,r),this.set(this.rows-1-n,t,e)}return this}kroneckerProduct(e){e=dA.checkMatrix(e);let t=this.rows,n=this.columns,r=e.rows,i=e.columns,o=new dA(t*r,n*i);for(let a=0;a<t;a++)for(let t=0;t<n;t++)for(let n=0;n<r;n++)for(let s=0;s<i;s++)o.set(r*a+n,i*t+s,this.get(a,t)*e.get(n,s));return o}kroneckerSum(e){if(e=dA.checkMatrix(e),!this.isSquare()||!e.isSquare())throw new Error("Kronecker Sum needs two Square Matrices");let t=this.rows,n=e.rows,r=this.kroneckerProduct(dA.eye(n,n)),i=dA.eye(t,t).kroneckerProduct(e);return r.add(i)}transpose(){let e=new dA(this.columns,this.rows);for(let t=0;t<this.rows;t++)for(let n=0;n<this.columns;n++)e.set(n,t,this.get(t,n));return e}sortRows(e=pA){for(let t=0;t<this.rows;t++)this.setRow(t,this.getRow(t).sort(e));return this}sortColumns(e=pA){for(let t=0;t<this.columns;t++)this.setColumn(t,this.getColumn(t).sort(e));return this}subMatrix(e,t,n,r){sA(this,e,t,n,r);let i=new dA(t-e+1,r-n+1);for(let o=e;o<=t;o++)for(let t=n;t<=r;t++)i.set(o-e,t-n,this.get(o,t));return i}subMatrixRow(e,t,n){if(void 0===t&&(t=0),void 0===n&&(n=this.columns-1),t>n||t<0||t>=this.columns||n<0||n>=this.columns)throw new RangeError("Argument out of range");let r=new dA(e.length,n-t+1);for(let i=0;i<e.length;i++)for(let o=t;o<=n;o++){if(e[i]<0||e[i]>=this.rows)throw new RangeError(`Row index out of range: ${e[i]}`);r.set(i,o-t,this.get(e[i],o))}return r}subMatrixColumn(e,t,n){if(void 0===t&&(t=0),void 0===n&&(n=this.rows-1),t>n||t<0||t>=this.rows||n<0||n>=this.rows)throw new RangeError("Argument out of range");let r=new dA(n-t+1,e.length);for(let i=0;i<e.length;i++)for(let o=t;o<=n;o++){if(e[i]<0||e[i]>=this.columns)throw new RangeError(`Column index out of range: ${e[i]}`);r.set(o-t,i,this.get(o,e[i]))}return r}setSubMatrix(e,t,n){if((e=dA.checkMatrix(e)).isEmpty())return this;sA(this,t,t+e.rows-1,n,n+e.columns-1);for(let r=0;r<e.rows;r++)for(let i=0;i<e.columns;i++)this.set(t+r,n+i,e.get(r,i));return this}selection(e,t){!function(e,t){if(!XC(t))throw new TypeError("row indices must be an array");for(let n=0;n<t.length;n++)if(t[n]<0||t[n]>=e.rows)throw new RangeError("row indices are out of range")}(this,e),function(e,t){if(!XC(t))throw new TypeError("column indices must be an array");for(let n=0;n<t.length;n++)if(t[n]<0||t[n]>=e.columns)throw new RangeError("column indices are out of range")}(this,t);let n=new dA(e.length,t.length);for(let r=0;r<e.length;r++){let i=e[r];for(let e=0;e<t.length;e++){let o=t[e];n.set(r,e,this.get(i,o))}}return n}trace(){let e=Math.min(this.rows,this.columns),t=0;for(let n=0;n<e;n++)t+=this.get(n,n);return t}clone(){let e=new dA(this.rows,this.columns);for(let t=0;t<this.rows;t++)for(let n=0;n<this.columns;n++)e.set(t,n,this.get(t,n));return e}sum(e){switch(e){case"row":return function(e){let t=lA(e.rows);for(let n=0;n<e.rows;++n)for(let r=0;r<e.columns;++r)t[n]+=e.get(n,r);return t}(this);case"column":return function(e){let t=lA(e.columns);for(let n=0;n<e.rows;++n)for(let r=0;r<e.columns;++r)t[r]+=e.get(n,r);return t}(this);case void 0:return function(e){let t=0;for(let n=0;n<e.rows;n++)for(let r=0;r<e.columns;r++)t+=e.get(n,r);return t}(this);default:throw new Error(`invalid option: ${e}`)}}product(e){switch(e){case"row":return function(e){let t=lA(e.rows,1);for(let n=0;n<e.rows;++n)for(let r=0;r<e.columns;++r)t[n]*=e.get(n,r);return t}(this);case"column":return function(e){let t=lA(e.columns,1);for(let n=0;n<e.rows;++n)for(let r=0;r<e.columns;++r)t[r]*=e.get(n,r);return t}(this);case void 0:return function(e){let t=1;for(let n=0;n<e.rows;n++)for(let r=0;r<e.columns;r++)t*=e.get(n,r);return t}(this);default:throw new Error(`invalid option: ${e}`)}}mean(e){const t=this.sum(e);switch(e){case"row":for(let e=0;e<this.rows;e++)t[e]/=this.columns;return t;case"column":for(let e=0;e<this.columns;e++)t[e]/=this.rows;return t;case void 0:return t/this.size;default:throw new Error(`invalid option: ${e}`)}}variance(e,t={}){if("object"==typeof e&&(t=e,e=void 0),"object"!=typeof t)throw new TypeError("options must be an object");const{unbiased:n=!0,mean:r=this.mean(e)}=t;if("boolean"!=typeof n)throw new TypeError("unbiased must be a boolean");switch(e){case"row":if(!XC(r))throw new TypeError("mean must be an array");return function(e,t,n){const r=e.rows,i=e.columns,o=[];for(let a=0;a<r;a++){let r=0,s=0,l=0;for(let t=0;t<i;t++)l=e.get(a,t)-n[a],r+=l,s+=l*l;t?o.push((s-r*r/i)/(i-1)):o.push((s-r*r/i)/i)}return o}(this,n,r);case"column":if(!XC(r))throw new TypeError("mean must be an array");return function(e,t,n){const r=e.rows,i=e.columns,o=[];for(let a=0;a<i;a++){let i=0,s=0,l=0;for(let t=0;t<r;t++)l=e.get(t,a)-n[a],i+=l,s+=l*l;t?o.push((s-i*i/r)/(r-1)):o.push((s-i*i/r)/r)}return o}(this,n,r);case void 0:if("number"!=typeof r)throw new TypeError("mean must be a number");return function(e,t,n){const r=e.rows,i=e.columns,o=r*i;let a=0,s=0,l=0;for(let t=0;t<r;t++)for(let r=0;r<i;r++)l=e.get(t,r)-n,a+=l,s+=l*l;return t?(s-a*a/o)/(o-1):(s-a*a/o)/o}(this,n,r);default:throw new Error(`invalid option: ${e}`)}}standardDeviation(e,t){"object"==typeof e&&(t=e,e=void 0);const n=this.variance(e,t);if(void 0===e)return Math.sqrt(n);for(let e=0;e<n.length;e++)n[e]=Math.sqrt(n[e]);return n}center(e,t={}){if("object"==typeof e&&(t=e,e=void 0),"object"!=typeof t)throw new TypeError("options must be an object");const{center:n=this.mean(e)}=t;switch(e){case"row":if(!XC(n))throw new TypeError("center must be an array");return function(e,t){for(let n=0;n<e.rows;n++)for(let r=0;r<e.columns;r++)e.set(n,r,e.get(n,r)-t[n])}(this,n),this;case"column":if(!XC(n))throw new TypeError("center must be an array");return function(e,t){for(let n=0;n<e.rows;n++)for(let r=0;r<e.columns;r++)e.set(n,r,e.get(n,r)-t[r])}(this,n),this;case void 0:if("number"!=typeof n)throw new TypeError("center must be a number");return function(e,t){for(let n=0;n<e.rows;n++)for(let r=0;r<e.columns;r++)e.set(n,r,e.get(n,r)-t)}(this,n),this;default:throw new Error(`invalid option: ${e}`)}}scale(e,t={}){if("object"==typeof e&&(t=e,e=void 0),"object"!=typeof t)throw new TypeError("options must be an object");let n=t.scale;switch(e){case"row":if(void 0===n)n=function(e){const t=[];for(let n=0;n<e.rows;n++){let r=0;for(let t=0;t<e.columns;t++)r+=Math.pow(e.get(n,t),2)/(e.columns-1);t.push(Math.sqrt(r))}return t}(this);else if(!XC(n))throw new TypeError("scale must be an array");return function(e,t){for(let n=0;n<e.rows;n++)for(let r=0;r<e.columns;r++)e.set(n,r,e.get(n,r)/t[n])}(this,n),this;case"column":if(void 0===n)n=function(e){const t=[];for(let n=0;n<e.columns;n++){let r=0;for(let t=0;t<e.rows;t++)r+=Math.pow(e.get(t,n),2)/(e.rows-1);t.push(Math.sqrt(r))}return t}(this);else if(!XC(n))throw new TypeError("scale must be an array");return function(e,t){for(let n=0;n<e.rows;n++)for(let r=0;r<e.columns;r++)e.set(n,r,e.get(n,r)/t[r])}(this,n),this;case void 0:if(void 0===n)n=function(e){const t=e.size-1;let n=0;for(let r=0;r<e.columns;r++)for(let i=0;i<e.rows;i++)n+=Math.pow(e.get(i,r),2)/t;return Math.sqrt(n)}(this);else if("number"!=typeof n)throw new TypeError("scale must be a number");return function(e,t){for(let n=0;n<e.rows;n++)for(let r=0;r<e.columns;r++)e.set(n,r,e.get(n,r)/t)}(this,n),this;default:throw new Error(`invalid option: ${e}`)}}toString(e){return eA(this,e)}}function pA(e,t){return e-t}hA.prototype.klass="Matrix","undefined"!=typeof Symbol&&(hA.prototype[Symbol.for("nodejs.util.inspect.custom")]=function(){return eA(this)}),hA.random=hA.rand,hA.randomInt=hA.randInt,hA.diagonal=hA.diag,hA.prototype.diagonal=hA.prototype.diag,hA.identity=hA.eye,hA.prototype.negate=hA.prototype.neg,hA.prototype.tensorProduct=hA.prototype.kroneckerProduct;class dA extends hA{constructor(e,t){if(super(),dA.isMatrix(e))return e.clone();if(Number.isInteger(e)&&e>=0){if(this.data=[],!(Number.isInteger(t)&&t>=0))throw new TypeError("nColumns must be a positive integer");for(let n=0;n<e;n++)this.data.push(new Float64Array(t))}else{if(!XC(e))throw new TypeError("First argument must be a positive number or an array");{const n=e;if("number"!=typeof(t=(e=n.length)?n[0].length:0))throw new TypeError("Data must be a 2D array with at least one element");this.data=[];for(let r=0;r<e;r++){if(n[r].length!==t)throw new RangeError("Inconsistent array dimensions");if(!n[r].every((e=>"number"==typeof e)))throw new TypeError("Input data contains non-numeric values");this.data.push(Float64Array.from(n[r]))}}}this.rows=e,this.columns=t}set(e,t,n){return this.data[e][t]=n,this}get(e,t){return this.data[e][t]}removeRow(e){return rA(this,e),this.data.splice(e,1),this.rows-=1,this}addRow(e,t){return void 0===t&&(t=e,e=this.rows),rA(this,e,!0),t=Float64Array.from(oA(this,t)),this.data.splice(e,0,t),this.rows+=1,this}removeColumn(e){iA(this,e);for(let t=0;t<this.rows;t++){const n=new Float64Array(this.columns-1);for(let r=0;r<e;r++)n[r]=this.data[t][r];for(let r=e+1;r<this.columns;r++)n[r-1]=this.data[t][r];this.data[t]=n}return this.columns-=1,this}addColumn(e,t){void 0===t&&(t=e,e=this.columns),iA(this,e,!0),t=aA(this,t);for(let n=0;n<this.rows;n++){const r=new Float64Array(this.columns+1);let i=0;for(;i<e;i++)r[i]=this.data[n][i];for(r[i++]=t[n];i<this.columns+1;i++)r[i]=this.data[n][i-1];this.data[n]=r}return this.columns+=1,this}}!function(e,t){e.prototype.add=function(e){return"number"==typeof e?this.addS(e):this.addM(e)},e.prototype.addS=function(e){for(let t=0;t<this.rows;t++)for(let n=0;n<this.columns;n++)this.set(t,n,this.get(t,n)+e);return this},e.prototype.addM=function(e){if(e=t.checkMatrix(e),this.rows!==e.rows||this.columns!==e.columns)throw new RangeError("Matrices dimensions must be equal");for(let t=0;t<this.rows;t++)for(let n=0;n<this.columns;n++)this.set(t,n,this.get(t,n)+e.get(t,n));return this},e.add=function(e,n){return new t(e).add(n)},e.prototype.sub=function(e){return"number"==typeof e?this.subS(e):this.subM(e)},e.prototype.subS=function(e){for(let t=0;t<this.rows;t++)for(let n=0;n<this.columns;n++)this.set(t,n,this.get(t,n)-e);return this},e.prototype.subM=function(e){if(e=t.checkMatrix(e),this.rows!==e.rows||this.columns!==e.columns)throw new RangeError("Matrices dimensions must be equal");for(let t=0;t<this.rows;t++)for(let n=0;n<this.columns;n++)this.set(t,n,this.get(t,n)-e.get(t,n));return this},e.sub=function(e,n){return new t(e).sub(n)},e.prototype.subtract=e.prototype.sub,e.prototype.subtractS=e.prototype.subS,e.prototype.subtractM=e.prototype.subM,e.subtract=e.sub,e.prototype.mul=function(e){return"number"==typeof e?this.mulS(e):this.mulM(e)},e.prototype.mulS=function(e){for(let t=0;t<this.rows;t++)for(let n=0;n<this.columns;n++)this.set(t,n,this.get(t,n)*e);return this},e.prototype.mulM=function(e){if(e=t.checkMatrix(e),this.rows!==e.rows||this.columns!==e.columns)throw new RangeError("Matrices dimensions must be equal");for(let t=0;t<this.rows;t++)for(let n=0;n<this.columns;n++)this.set(t,n,this.get(t,n)*e.get(t,n));return this},e.mul=function(e,n){return new t(e).mul(n)},e.prototype.multiply=e.prototype.mul,e.prototype.multiplyS=e.prototype.mulS,e.prototype.multiplyM=e.prototype.mulM,e.multiply=e.mul,e.prototype.div=function(e){return"number"==typeof e?this.divS(e):this.divM(e)},e.prototype.divS=function(e){for(let t=0;t<this.rows;t++)for(let n=0;n<this.columns;n++)this.set(t,n,this.get(t,n)/e);return this},e.prototype.divM=function(e){if(e=t.checkMatrix(e),this.rows!==e.rows||this.columns!==e.columns)throw new RangeError("Matrices dimensions must be equal");for(let t=0;t<this.rows;t++)for(let n=0;n<this.columns;n++)this.set(t,n,this.get(t,n)/e.get(t,n));return this},e.div=function(e,n){return new t(e).div(n)},e.prototype.divide=e.prototype.div,e.prototype.divideS=e.prototype.divS,e.prototype.divideM=e.prototype.divM,e.divide=e.div,e.prototype.mod=function(e){return"number"==typeof e?this.modS(e):this.modM(e)},e.prototype.modS=function(e){for(let t=0;t<this.rows;t++)for(let n=0;n<this.columns;n++)this.set(t,n,this.get(t,n)%e);return this},e.prototype.modM=function(e){if(e=t.checkMatrix(e),this.rows!==e.rows||this.columns!==e.columns)throw new RangeError("Matrices dimensions must be equal");for(let t=0;t<this.rows;t++)for(let n=0;n<this.columns;n++)this.set(t,n,this.get(t,n)%e.get(t,n));return this},e.mod=function(e,n){return new t(e).mod(n)},e.prototype.modulus=e.prototype.mod,e.prototype.modulusS=e.prototype.modS,e.prototype.modulusM=e.prototype.modM,e.modulus=e.mod,e.prototype.and=function(e){return"number"==typeof e?this.andS(e):this.andM(e)},e.prototype.andS=function(e){for(let t=0;t<this.rows;t++)for(let n=0;n<this.columns;n++)this.set(t,n,this.get(t,n)&e);return this},e.prototype.andM=function(e){if(e=t.checkMatrix(e),this.rows!==e.rows||this.columns!==e.columns)throw new RangeError("Matrices dimensions must be equal");for(let t=0;t<this.rows;t++)for(let n=0;n<this.columns;n++)this.set(t,n,this.get(t,n)&e.get(t,n));return this},e.and=function(e,n){return new t(e).and(n)},e.prototype.or=function(e){return"number"==typeof e?this.orS(e):this.orM(e)},e.prototype.orS=function(e){for(let t=0;t<this.rows;t++)for(let n=0;n<this.columns;n++)this.set(t,n,this.get(t,n)|e);return this},e.prototype.orM=function(e){if(e=t.checkMatrix(e),this.rows!==e.rows||this.columns!==e.columns)throw new RangeError("Matrices dimensions must be equal");for(let t=0;t<this.rows;t++)for(let n=0;n<this.columns;n++)this.set(t,n,this.get(t,n)|e.get(t,n));return this},e.or=function(e,n){return new t(e).or(n)},e.prototype.xor=function(e){return"number"==typeof e?this.xorS(e):this.xorM(e)},e.prototype.xorS=function(e){for(let t=0;t<this.rows;t++)for(let n=0;n<this.columns;n++)this.set(t,n,this.get(t,n)^e);return this},e.prototype.xorM=function(e){if(e=t.checkMatrix(e),this.rows!==e.rows||this.columns!==e.columns)throw new RangeError("Matrices dimensions must be equal");for(let t=0;t<this.rows;t++)for(let n=0;n<this.columns;n++)this.set(t,n,this.get(t,n)^e.get(t,n));return this},e.xor=function(e,n){return new t(e).xor(n)},e.prototype.leftShift=function(e){return"number"==typeof e?this.leftShiftS(e):this.leftShiftM(e)},e.prototype.leftShiftS=function(e){for(let t=0;t<this.rows;t++)for(let n=0;n<this.columns;n++)this.set(t,n,this.get(t,n)<<e);return this},e.prototype.leftShiftM=function(e){if(e=t.checkMatrix(e),this.rows!==e.rows||this.columns!==e.columns)throw new RangeError("Matrices dimensions must be equal");for(let t=0;t<this.rows;t++)for(let n=0;n<this.columns;n++)this.set(t,n,this.get(t,n)<<e.get(t,n));return this},e.leftShift=function(e,n){return new t(e).leftShift(n)},e.prototype.signPropagatingRightShift=function(e){return"number"==typeof e?this.signPropagatingRightShiftS(e):this.signPropagatingRightShiftM(e)},e.prototype.signPropagatingRightShiftS=function(e){for(let t=0;t<this.rows;t++)for(let n=0;n<this.columns;n++)this.set(t,n,this.get(t,n)>>e);return this},e.prototype.signPropagatingRightShiftM=function(e){if(e=t.checkMatrix(e),this.rows!==e.rows||this.columns!==e.columns)throw new RangeError("Matrices dimensions must be equal");for(let t=0;t<this.rows;t++)for(let n=0;n<this.columns;n++)this.set(t,n,this.get(t,n)>>e.get(t,n));return this},e.signPropagatingRightShift=function(e,n){return new t(e).signPropagatingRightShift(n)},e.prototype.rightShift=function(e){return"number"==typeof e?this.rightShiftS(e):this.rightShiftM(e)},e.prototype.rightShiftS=function(e){for(let t=0;t<this.rows;t++)for(let n=0;n<this.columns;n++)this.set(t,n,this.get(t,n)>>>e);return this},e.prototype.rightShiftM=function(e){if(e=t.checkMatrix(e),this.rows!==e.rows||this.columns!==e.columns)throw new RangeError("Matrices dimensions must be equal");for(let t=0;t<this.rows;t++)for(let n=0;n<this.columns;n++)this.set(t,n,this.get(t,n)>>>e.get(t,n));return this},e.rightShift=function(e,n){return new t(e).rightShift(n)},e.prototype.zeroFillRightShift=e.prototype.rightShift,e.prototype.zeroFillRightShiftS=e.prototype.rightShiftS,e.prototype.zeroFillRightShiftM=e.prototype.rightShiftM,e.zeroFillRightShift=e.rightShift,e.prototype.not=function(){for(let e=0;e<this.rows;e++)for(let t=0;t<this.columns;t++)this.set(e,t,~this.get(e,t));return this},e.not=function(e){return new t(e).not()},e.prototype.abs=function(){for(let e=0;e<this.rows;e++)for(let t=0;t<this.columns;t++)this.set(e,t,Math.abs(this.get(e,t)));return this},e.abs=function(e){return new t(e).abs()},e.prototype.acos=function(){for(let e=0;e<this.rows;e++)for(let t=0;t<this.columns;t++)this.set(e,t,Math.acos(this.get(e,t)));return this},e.acos=function(e){return new t(e).acos()},e.prototype.acosh=function(){for(let e=0;e<this.rows;e++)for(let t=0;t<this.columns;t++)this.set(e,t,Math.acosh(this.get(e,t)));return this},e.acosh=function(e){return new t(e).acosh()},e.prototype.asin=function(){for(let e=0;e<this.rows;e++)for(let t=0;t<this.columns;t++)this.set(e,t,Math.asin(this.get(e,t)));return this},e.asin=function(e){return new t(e).asin()},e.prototype.asinh=function(){for(let e=0;e<this.rows;e++)for(let t=0;t<this.columns;t++)this.set(e,t,Math.asinh(this.get(e,t)));return this},e.asinh=function(e){return new t(e).asinh()},e.prototype.atan=function(){for(let e=0;e<this.rows;e++)for(let t=0;t<this.columns;t++)this.set(e,t,Math.atan(this.get(e,t)));return this},e.atan=function(e){return new t(e).atan()},e.prototype.atanh=function(){for(let e=0;e<this.rows;e++)for(let t=0;t<this.columns;t++)this.set(e,t,Math.atanh(this.get(e,t)));return this},e.atanh=function(e){return new t(e).atanh()},e.prototype.cbrt=function(){for(let e=0;e<this.rows;e++)for(let t=0;t<this.columns;t++)this.set(e,t,Math.cbrt(this.get(e,t)));return this},e.cbrt=function(e){return new t(e).cbrt()},e.prototype.ceil=function(){for(let e=0;e<this.rows;e++)for(let t=0;t<this.columns;t++)this.set(e,t,Math.ceil(this.get(e,t)));return this},e.ceil=function(e){return new t(e).ceil()},e.prototype.clz32=function(){for(let e=0;e<this.rows;e++)for(let t=0;t<this.columns;t++)this.set(e,t,Math.clz32(this.get(e,t)));return this},e.clz32=function(e){return new t(e).clz32()},e.prototype.cos=function(){for(let e=0;e<this.rows;e++)for(let t=0;t<this.columns;t++)this.set(e,t,Math.cos(this.get(e,t)));return this},e.cos=function(e){return new t(e).cos()},e.prototype.cosh=function(){for(let e=0;e<this.rows;e++)for(let t=0;t<this.columns;t++)this.set(e,t,Math.cosh(this.get(e,t)));return this},e.cosh=function(e){return new t(e).cosh()},e.prototype.exp=function(){for(let e=0;e<this.rows;e++)for(let t=0;t<this.columns;t++)this.set(e,t,Math.exp(this.get(e,t)));return this},e.exp=function(e){return new t(e).exp()},e.prototype.expm1=function(){for(let e=0;e<this.rows;e++)for(let t=0;t<this.columns;t++)this.set(e,t,Math.expm1(this.get(e,t)));return this},e.expm1=function(e){return new t(e).expm1()},e.prototype.floor=function(){for(let e=0;e<this.rows;e++)for(let t=0;t<this.columns;t++)this.set(e,t,Math.floor(this.get(e,t)));return this},e.floor=function(e){return new t(e).floor()},e.prototype.fround=function(){for(let e=0;e<this.rows;e++)for(let t=0;t<this.columns;t++)this.set(e,t,Math.fround(this.get(e,t)));return this},e.fround=function(e){return new t(e).fround()},e.prototype.log=function(){for(let e=0;e<this.rows;e++)for(let t=0;t<this.columns;t++)this.set(e,t,Math.log(this.get(e,t)));return this},e.log=function(e){return new t(e).log()},e.prototype.log1p=function(){for(let e=0;e<this.rows;e++)for(let t=0;t<this.columns;t++)this.set(e,t,Math.log1p(this.get(e,t)));return this},e.log1p=function(e){return new t(e).log1p()},e.prototype.log10=function(){for(let e=0;e<this.rows;e++)for(let t=0;t<this.columns;t++)this.set(e,t,Math.log10(this.get(e,t)));return this},e.log10=function(e){return new t(e).log10()},e.prototype.log2=function(){for(let e=0;e<this.rows;e++)for(let t=0;t<this.columns;t++)this.set(e,t,Math.log2(this.get(e,t)));return this},e.log2=function(e){return new t(e).log2()},e.prototype.round=function(){for(let e=0;e<this.rows;e++)for(let t=0;t<this.columns;t++)this.set(e,t,Math.round(this.get(e,t)));return this},e.round=function(e){return new t(e).round()},e.prototype.sign=function(){for(let e=0;e<this.rows;e++)for(let t=0;t<this.columns;t++)this.set(e,t,Math.sign(this.get(e,t)));return this},e.sign=function(e){return new t(e).sign()},e.prototype.sin=function(){for(let e=0;e<this.rows;e++)for(let t=0;t<this.columns;t++)this.set(e,t,Math.sin(this.get(e,t)));return this},e.sin=function(e){return new t(e).sin()},e.prototype.sinh=function(){for(let e=0;e<this.rows;e++)for(let t=0;t<this.columns;t++)this.set(e,t,Math.sinh(this.get(e,t)));return this},e.sinh=function(e){return new t(e).sinh()},e.prototype.sqrt=function(){for(let e=0;e<this.rows;e++)for(let t=0;t<this.columns;t++)this.set(e,t,Math.sqrt(this.get(e,t)));return this},e.sqrt=function(e){return new t(e).sqrt()},e.prototype.tan=function(){for(let e=0;e<this.rows;e++)for(let t=0;t<this.columns;t++)this.set(e,t,Math.tan(this.get(e,t)));return this},e.tan=function(e){return new t(e).tan()},e.prototype.tanh=function(){for(let e=0;e<this.rows;e++)for(let t=0;t<this.columns;t++)this.set(e,t,Math.tanh(this.get(e,t)));return this},e.tanh=function(e){return new t(e).tanh()},e.prototype.trunc=function(){for(let e=0;e<this.rows;e++)for(let t=0;t<this.columns;t++)this.set(e,t,Math.trunc(this.get(e,t)));return this},e.trunc=function(e){return new t(e).trunc()},e.pow=function(e,n){return new t(e).pow(n)},e.prototype.pow=function(e){return"number"==typeof e?this.powS(e):this.powM(e)},e.prototype.powS=function(e){for(let t=0;t<this.rows;t++)for(let n=0;n<this.columns;n++)this.set(t,n,Math.pow(this.get(t,n),e));return this},e.prototype.powM=function(e){if(e=t.checkMatrix(e),this.rows!==e.rows||this.columns!==e.columns)throw new RangeError("Matrices dimensions must be equal");for(let t=0;t<this.rows;t++)for(let n=0;n<this.columns;n++)this.set(t,n,Math.pow(this.get(t,n),e.get(t,n)));return this}}(hA,dA);class fA extends hA{constructor(e){super(),this.data=e,this.rows=e.length,this.columns=e[0].length}set(e,t,n){return this.data[e][t]=n,this}get(e,t){return this.data[e][t]}}function mA(e,t){let n=0;return Math.abs(e)>Math.abs(t)?(n=t/e,Math.abs(e)*Math.sqrt(1+n*n)):0!==t?(n=e/t,Math.abs(t)*Math.sqrt(1+n*n)):0}class gA{constructor(e,t={}){if((e=fA.checkMatrix(e)).isEmpty())throw new Error("Matrix must be non-empty");let n=e.rows,r=e.columns;const{computeLeftSingularVectors:i=!0,computeRightSingularVectors:o=!0,autoTranspose:a=!1}=t;let s,l=Boolean(i),c=Boolean(o),u=!1;if(n<r)if(a){s=e.transpose(),n=s.rows,r=s.columns,u=!0;let t=l;l=c,c=t}else s=e.clone(),console.warn("Computing SVD on a matrix with more columns than rows. Consider enabling autoTranspose");else s=e.clone();let h=Math.min(n,r),p=Math.min(n+1,r),d=new Float64Array(p),f=new dA(n,h),m=new dA(r,r),g=new Float64Array(r),y=new Float64Array(n),v=new Float64Array(p);for(let e=0;e<p;e++)v[e]=e;let _=Math.min(n-1,r),b=Math.max(0,Math.min(r-2,n)),E=Math.max(_,b);for(let e=0;e<E;e++){if(e<_){d[e]=0;for(let t=e;t<n;t++)d[e]=mA(d[e],s.get(t,e));if(0!==d[e]){s.get(e,e)<0&&(d[e]=-d[e]);for(let t=e;t<n;t++)s.set(t,e,s.get(t,e)/d[e]);s.set(e,e,s.get(e,e)+1)}d[e]=-d[e]}for(let t=e+1;t<r;t++){if(e<_&&0!==d[e]){let r=0;for(let i=e;i<n;i++)r+=s.get(i,e)*s.get(i,t);r=-r/s.get(e,e);for(let i=e;i<n;i++)s.set(i,t,s.get(i,t)+r*s.get(i,e))}g[t]=s.get(e,t)}if(l&&e<_)for(let t=e;t<n;t++)f.set(t,e,s.get(t,e));if(e<b){g[e]=0;for(let t=e+1;t<r;t++)g[e]=mA(g[e],g[t]);if(0!==g[e]){g[e+1]<0&&(g[e]=0-g[e]);for(let t=e+1;t<r;t++)g[t]/=g[e];g[e+1]+=1}if(g[e]=-g[e],e+1<n&&0!==g[e]){for(let t=e+1;t<n;t++)y[t]=0;for(let t=e+1;t<n;t++)for(let n=e+1;n<r;n++)y[t]+=g[n]*s.get(t,n);for(let t=e+1;t<r;t++){let r=-g[t]/g[e+1];for(let i=e+1;i<n;i++)s.set(i,t,s.get(i,t)+r*y[i])}}if(c)for(let t=e+1;t<r;t++)m.set(t,e,g[t])}}let T=Math.min(r,n+1);if(_<r&&(d[_]=s.get(_,_)),n<T&&(d[T-1]=0),b+1<T&&(g[b]=s.get(b,T-1)),g[T-1]=0,l){for(let e=_;e<h;e++){for(let t=0;t<n;t++)f.set(t,e,0);f.set(e,e,1)}for(let e=_-1;e>=0;e--)if(0!==d[e]){for(let t=e+1;t<h;t++){let r=0;for(let i=e;i<n;i++)r+=f.get(i,e)*f.get(i,t);r=-r/f.get(e,e);for(let i=e;i<n;i++)f.set(i,t,f.get(i,t)+r*f.get(i,e))}for(let t=e;t<n;t++)f.set(t,e,-f.get(t,e));f.set(e,e,1+f.get(e,e));for(let t=0;t<e-1;t++)f.set(t,e,0)}else{for(let t=0;t<n;t++)f.set(t,e,0);f.set(e,e,1)}}if(c)for(let e=r-1;e>=0;e--){if(e<b&&0!==g[e])for(let t=e+1;t<r;t++){let n=0;for(let i=e+1;i<r;i++)n+=m.get(i,e)*m.get(i,t);n=-n/m.get(e+1,e);for(let i=e+1;i<r;i++)m.set(i,t,m.get(i,t)+n*m.get(i,e))}for(let t=0;t<r;t++)m.set(t,e,0);m.set(e,e,1)}let x=T-1,S=0,C=Number.EPSILON;for(;T>0;){let e,t;for(e=T-2;e>=-1&&-1!==e;e--){const t=Number.MIN_VALUE+C*Math.abs(d[e]+Math.abs(d[e+1]));if(Math.abs(g[e])<=t||Number.isNaN(g[e])){g[e]=0;break}}if(e===T-2)t=4;else{let n;for(n=T-1;n>=e&&n!==e;n--){let t=(n!==T?Math.abs(g[n]):0)+(n!==e+1?Math.abs(g[n-1]):0);if(Math.abs(d[n])<=C*t){d[n]=0;break}}n===e?t=3:n===T-1?t=1:(t=2,e=n)}switch(e++,t){case 1:{let t=g[T-2];g[T-2]=0;for(let n=T-2;n>=e;n--){let i=mA(d[n],t),o=d[n]/i,a=t/i;if(d[n]=i,n!==e&&(t=-a*g[n-1],g[n-1]=o*g[n-1]),c)for(let e=0;e<r;e++)i=o*m.get(e,n)+a*m.get(e,T-1),m.set(e,T-1,-a*m.get(e,n)+o*m.get(e,T-1)),m.set(e,n,i)}break}case 2:{let t=g[e-1];g[e-1]=0;for(let r=e;r<T;r++){let i=mA(d[r],t),o=d[r]/i,a=t/i;if(d[r]=i,t=-a*g[r],g[r]=o*g[r],l)for(let t=0;t<n;t++)i=o*f.get(t,r)+a*f.get(t,e-1),f.set(t,e-1,-a*f.get(t,r)+o*f.get(t,e-1)),f.set(t,r,i)}break}case 3:{const t=Math.max(Math.abs(d[T-1]),Math.abs(d[T-2]),Math.abs(g[T-2]),Math.abs(d[e]),Math.abs(g[e])),i=d[T-1]/t,o=d[T-2]/t,a=g[T-2]/t,s=d[e]/t,u=g[e]/t,h=((o+i)*(o-i)+a*a)/2,p=i*a*(i*a);let y=0;0===h&&0===p||(y=h<0?0-Math.sqrt(h*h+p):Math.sqrt(h*h+p),y=p/(h+y));let v=(s+i)*(s-i)+y,_=s*u;for(let t=e;t<T-1;t++){let i=mA(v,_);0===i&&(i=Number.MIN_VALUE);let o=v/i,a=_/i;if(t!==e&&(g[t-1]=i),v=o*d[t]+a*g[t],g[t]=o*g[t]-a*d[t],_=a*d[t+1],d[t+1]=o*d[t+1],c)for(let e=0;e<r;e++)i=o*m.get(e,t)+a*m.get(e,t+1),m.set(e,t+1,-a*m.get(e,t)+o*m.get(e,t+1)),m.set(e,t,i);if(i=mA(v,_),0===i&&(i=Number.MIN_VALUE),o=v/i,a=_/i,d[t]=i,v=o*g[t]+a*d[t+1],d[t+1]=-a*g[t]+o*d[t+1],_=a*g[t+1],g[t+1]=o*g[t+1],l&&t<n-1)for(let e=0;e<n;e++)i=o*f.get(e,t)+a*f.get(e,t+1),f.set(e,t+1,-a*f.get(e,t)+o*f.get(e,t+1)),f.set(e,t,i)}g[T-2]=v,S+=1;break}case 4:if(d[e]<=0&&(d[e]=d[e]<0?-d[e]:0,c))for(let t=0;t<=x;t++)m.set(t,e,-m.get(t,e));for(;e<x&&!(d[e]>=d[e+1]);){let t=d[e];if(d[e]=d[e+1],d[e+1]=t,c&&e<r-1)for(let n=0;n<r;n++)t=m.get(n,e+1),m.set(n,e+1,m.get(n,e)),m.set(n,e,t);if(l&&e<n-1)for(let r=0;r<n;r++)t=f.get(r,e+1),f.set(r,e+1,f.get(r,e)),f.set(r,e,t);e++}S=0,T--}}if(u){let e=m;m=f,f=e}this.m=n,this.n=r,this.s=d,this.U=f,this.V=m}solve(e){let t=e,n=this.threshold,r=this.s.length,i=dA.zeros(r,r);for(let e=0;e<r;e++)Math.abs(this.s[e])<=n?i.set(e,e,0):i.set(e,e,1/this.s[e]);let o=this.U,a=this.rightSingularVectors,s=a.mmul(i),l=a.rows,c=o.rows,u=dA.zeros(l,c);for(let e=0;e<l;e++)for(let t=0;t<c;t++){let n=0;for(let i=0;i<r;i++)n+=s.get(e,i)*o.get(t,i);u.set(e,t,n)}return u.mmul(t)}solveForDiagonal(e){return this.solve(dA.diag(e))}inverse(){let e=this.V,t=this.threshold,n=e.rows,r=e.columns,i=new dA(n,this.s.length);for(let o=0;o<n;o++)for(let n=0;n<r;n++)Math.abs(this.s[n])>t&&i.set(o,n,e.get(o,n)/this.s[n]);let o=this.U,a=o.rows,s=o.columns,l=new dA(n,a);for(let e=0;e<n;e++)for(let t=0;t<a;t++){let n=0;for(let r=0;r<s;r++)n+=i.get(e,r)*o.get(t,r);l.set(e,t,n)}return l}get condition(){return this.s[0]/this.s[Math.min(this.m,this.n)-1]}get norm2(){return this.s[0]}get rank(){let e=Math.max(this.m,this.n)*this.s[0]*Number.EPSILON,t=0,n=this.s;for(let r=0,i=n.length;r<i;r++)n[r]>e&&t++;return t}get diagonal(){return Array.from(this.s)}get threshold(){return Number.EPSILON/2*Math.max(this.m,this.n)*this.s[0]}get leftSingularVectors(){return this.U}get rightSingularVectors(){return this.V}get diagonalMatrix(){return dA.diag(this.s)}}class yA{constructor(e){this.distances=e.distances,this.dimension=e.dimension||2,this.linkDistance=e.linkDistance}layout(){const{dimension:e,distances:t,linkDistance:n}=this;try{const n=dA.mul(dA.pow(t,2),-.5),r=n.mean("row"),i=n.mean("column"),o=n.mean();n.add(o).subRowVector(r).subColumnVector(i);const a=new gA(n),s=dA.sqrt(a.diagonalMatrix).diagonal();return a.leftSingularVectors.toJSON().map((t=>dA.mul([t],[s]).toJSON()[0].splice(0,e)))}catch(e){const r=[];for(let e=0;e<t.length;e++){const e=Math.random()*n,t=Math.random()*n;r.push([e,t])}return r}}}class vA{constructor(e){this.disp=[],this.positions=e.positions,this.adjMatrix=e.adjMatrix,this.focusID=e.focusID,this.radii=e.radii,this.iterations=e.iterations||10,this.height=e.height||10,this.width=e.width||10,this.speed=e.speed||100,this.gravity=e.gravity||10,this.nodeSizeFunc=e.nodeSizeFunc,this.k=e.k||5,this.strictRadial=e.strictRadial,this.nodes=e.nodes}layout(){const e=this,t=e.positions,n=[],r=e.iterations,i=e.width/10;e.maxDisplace=i,e.disp=n;for(let i=0;i<r;i++)t.forEach(((e,t)=>{n[t]={x:0,y:0}})),e.getRepulsion(),e.updatePositions();return t}getRepulsion(){const e=this,t=e.positions,n=e.nodes,r=e.disp,i=e.k,o=e.radii||[];t.forEach(((a,s)=>{r[s]={x:0,y:0},t.forEach(((t,l)=>{if(s===l)return;if(o[s]!==o[l])return;let c=a[0]-t[0],u=a[1]-t[1],h=Math.sqrt(c*c+u*u);if(0===h){h=1;const e=s>l?1:-1;c=.01*e,u=.01*e}if(h<e.nodeSizeFunc(n[s])/2+e.nodeSizeFunc(n[l])/2){const e=i*i/h;r[s].x+=c/h*e,r[s].y+=u/h*e}}))}))}updatePositions(){const e=this,t=e.positions,n=e.disp,r=e.speed,i=e.strictRadial,o=e.focusID,a=e.maxDisplace||e.width/10;i&&n.forEach(((e,n)=>{const r=t[n][0]-t[o][0],i=t[n][1]-t[o][1],a=Math.sqrt(r*r+i*i);let s=i/a,l=-r/a;const c=Math.sqrt(e.x*e.x+e.y*e.y);let u=Math.acos((s*e.x+l*e.y)/c);u>Math.PI/2&&(u-=Math.PI/2,s*=-1,l*=-1);const h=Math.cos(u)*c;e.x=s*h,e.y=l*h}));const s=e.radii;t.forEach(((e,l)=>{if(l===o)return;const c=Math.sqrt(n[l].x*n[l].x+n[l].y*n[l].y);if(c>0&&l!==o){const u=Math.min(a*(r/800),c);if(e[0]+=n[l].x/c*u,e[1]+=n[l].y/c*u,i){let n=e[0]-t[o][0],r=e[1]-t[o][1];const i=Math.sqrt(n*n+r*r);n=n/i*s[l],r=r/i*s[l],e[0]=t[o][0]+n,e[1]=t[o][1]+r}}}))}}function _A(e,t){return Math.sqrt((e[0]-t[0])*(e[0]-t[0])+(e[1]-t[1])*(e[1]-t[1]))}var bA,EA,TA,xA,SA,CA,AA,RA,wA,LA,OA,NA,IA,kA,DA,PA,MA,FA,HA,BA=u(6297);u(3192),u(6838),u(922),u(3224),u(5589),u(1109),function(e){e[e.DEPTH_BUFFER_BIT=256]="DEPTH_BUFFER_BIT",e[e.STENCIL_BUFFER_BIT=1024]="STENCIL_BUFFER_BIT",e[e.COLOR_BUFFER_BIT=16384]="COLOR_BUFFER_BIT",e[e.POINTS=0]="POINTS",e[e.LINES=1]="LINES",e[e.LINE_LOOP=2]="LINE_LOOP",e[e.LINE_STRIP=3]="LINE_STRIP",e[e.TRIANGLES=4]="TRIANGLES",e[e.TRIANGLE_STRIP=5]="TRIANGLE_STRIP",e[e.TRIANGLE_FAN=6]="TRIANGLE_FAN",e[e.ZERO=0]="ZERO",e[e.ONE=1]="ONE",e[e.SRC_COLOR=768]="SRC_COLOR",e[e.ONE_MINUS_SRC_COLOR=769]="ONE_MINUS_SRC_COLOR",e[e.SRC_ALPHA=770]="SRC_ALPHA",e[e.ONE_MINUS_SRC_ALPHA=771]="ONE_MINUS_SRC_ALPHA",e[e.DST_ALPHA=772]="DST_ALPHA",e[e.ONE_MINUS_DST_ALPHA=773]="ONE_MINUS_DST_ALPHA",e[e.DST_COLOR=774]="DST_COLOR",e[e.ONE_MINUS_DST_COLOR=775]="ONE_MINUS_DST_COLOR",e[e.SRC_ALPHA_SATURATE=776]="SRC_ALPHA_SATURATE",e[e.FUNC_ADD=32774]="FUNC_ADD",e[e.BLEND_EQUATION=32777]="BLEND_EQUATION",e[e.BLEND_EQUATION_RGB=32777]="BLEND_EQUATION_RGB",e[e.BLEND_EQUATION_ALPHA=34877]="BLEND_EQUATION_ALPHA",e[e.FUNC_SUBTRACT=32778]="FUNC_SUBTRACT",e[e.FUNC_REVERSE_SUBTRACT=32779]="FUNC_REVERSE_SUBTRACT",e[e.MAX_EXT=32776]="MAX_EXT",e[e.MIN_EXT=32775]="MIN_EXT",e[e.BLEND_DST_RGB=32968]="BLEND_DST_RGB",e[e.BLEND_SRC_RGB=32969]="BLEND_SRC_RGB",e[e.BLEND_DST_ALPHA=32970]="BLEND_DST_ALPHA",e[e.BLEND_SRC_ALPHA=32971]="BLEND_SRC_ALPHA",e[e.CONSTANT_COLOR=32769]="CONSTANT_COLOR",e[e.ONE_MINUS_CONSTANT_COLOR=32770]="ONE_MINUS_CONSTANT_COLOR",e[e.CONSTANT_ALPHA=32771]="CONSTANT_ALPHA",e[e.ONE_MINUS_CONSTANT_ALPHA=32772]="ONE_MINUS_CONSTANT_ALPHA",e[e.BLEND_COLOR=32773]="BLEND_COLOR",e[e.ARRAY_BUFFER=34962]="ARRAY_BUFFER",e[e.ELEMENT_ARRAY_BUFFER=34963]="ELEMENT_ARRAY_BUFFER",e[e.ARRAY_BUFFER_BINDING=34964]="ARRAY_BUFFER_BINDING",e[e.ELEMENT_ARRAY_BUFFER_BINDING=34965]="ELEMENT_ARRAY_BUFFER_BINDING",e[e.STREAM_DRAW=35040]="STREAM_DRAW",e[e.STATIC_DRAW=35044]="STATIC_DRAW",e[e.DYNAMIC_DRAW=35048]="DYNAMIC_DRAW",e[e.BUFFER_SIZE=34660]="BUFFER_SIZE",e[e.BUFFER_USAGE=34661]="BUFFER_USAGE",e[e.CURRENT_VERTEX_ATTRIB=34342]="CURRENT_VERTEX_ATTRIB",e[e.FRONT=1028]="FRONT",e[e.BACK=1029]="BACK",e[e.FRONT_AND_BACK=1032]="FRONT_AND_BACK",e[e.CULL_FACE=2884]="CULL_FACE",e[e.BLEND=3042]="BLEND",e[e.DITHER=3024]="DITHER",e[e.STENCIL_TEST=2960]="STENCIL_TEST",e[e.DEPTH_TEST=2929]="DEPTH_TEST",e[e.SCISSOR_TEST=3089]="SCISSOR_TEST",e[e.POLYGON_OFFSET_FILL=32823]="POLYGON_OFFSET_FILL",e[e.SAMPLE_ALPHA_TO_COVERAGE=32926]="SAMPLE_ALPHA_TO_COVERAGE",e[e.SAMPLE_COVERAGE=32928]="SAMPLE_COVERAGE",e[e.NO_ERROR=0]="NO_ERROR",e[e.INVALID_ENUM=1280]="INVALID_ENUM",e[e.INVALID_VALUE=1281]="INVALID_VALUE",e[e.INVALID_OPERATION=1282]="INVALID_OPERATION",e[e.OUT_OF_MEMORY=1285]="OUT_OF_MEMORY",e[e.CW=2304]="CW",e[e.CCW=2305]="CCW",e[e.LINE_WIDTH=2849]="LINE_WIDTH",e[e.ALIASED_POINT_SIZE_RANGE=33901]="ALIASED_POINT_SIZE_RANGE",e[e.ALIASED_LINE_WIDTH_RANGE=33902]="ALIASED_LINE_WIDTH_RANGE",e[e.CULL_FACE_MODE=2885]="CULL_FACE_MODE",e[e.FRONT_FACE=2886]="FRONT_FACE",e[e.DEPTH_RANGE=2928]="DEPTH_RANGE",e[e.DEPTH_WRITEMASK=2930]="DEPTH_WRITEMASK",e[e.DEPTH_CLEAR_VALUE=2931]="DEPTH_CLEAR_VALUE",e[e.DEPTH_FUNC=2932]="DEPTH_FUNC",e[e.STENCIL_CLEAR_VALUE=2961]="STENCIL_CLEAR_VALUE",e[e.STENCIL_FUNC=2962]="STENCIL_FUNC",e[e.STENCIL_FAIL=2964]="STENCIL_FAIL",e[e.STENCIL_PASS_DEPTH_FAIL=2965]="STENCIL_PASS_DEPTH_FAIL",e[e.STENCIL_PASS_DEPTH_PASS=2966]="STENCIL_PASS_DEPTH_PASS",e[e.STENCIL_REF=2967]="STENCIL_REF",e[e.STENCIL_VALUE_MASK=2963]="STENCIL_VALUE_MASK",e[e.STENCIL_WRITEMASK=2968]="STENCIL_WRITEMASK",e[e.STENCIL_BACK_FUNC=34816]="STENCIL_BACK_FUNC",e[e.STENCIL_BACK_FAIL=34817]="STENCIL_BACK_FAIL",e[e.STENCIL_BACK_PASS_DEPTH_FAIL=34818]="STENCIL_BACK_PASS_DEPTH_FAIL",e[e.STENCIL_BACK_PASS_DEPTH_PASS=34819]="STENCIL_BACK_PASS_DEPTH_PASS",e[e.STENCIL_BACK_REF=36003]="STENCIL_BACK_REF",e[e.STENCIL_BACK_VALUE_MASK=36004]="STENCIL_BACK_VALUE_MASK",e[e.STENCIL_BACK_WRITEMASK=36005]="STENCIL_BACK_WRITEMASK",e[e.VIEWPORT=2978]="VIEWPORT",e[e.SCISSOR_BOX=3088]="SCISSOR_BOX",e[e.COLOR_CLEAR_VALUE=3106]="COLOR_CLEAR_VALUE",e[e.COLOR_WRITEMASK=3107]="COLOR_WRITEMASK",e[e.UNPACK_ALIGNMENT=3317]="UNPACK_ALIGNMENT",e[e.PACK_ALIGNMENT=3333]="PACK_ALIGNMENT",e[e.MAX_TEXTURE_SIZE=3379]="MAX_TEXTURE_SIZE",e[e.MAX_VIEWPORT_DIMS=3386]="MAX_VIEWPORT_DIMS",e[e.SUBPIXEL_BITS=3408]="SUBPIXEL_BITS",e[e.RED_BITS=3410]="RED_BITS",e[e.GREEN_BITS=3411]="GREEN_BITS",e[e.BLUE_BITS=3412]="BLUE_BITS",e[e.ALPHA_BITS=3413]="ALPHA_BITS",e[e.DEPTH_BITS=3414]="DEPTH_BITS",e[e.STENCIL_BITS=3415]="STENCIL_BITS",e[e.POLYGON_OFFSET_UNITS=10752]="POLYGON_OFFSET_UNITS",e[e.POLYGON_OFFSET_FACTOR=32824]="POLYGON_OFFSET_FACTOR",e[e.TEXTURE_BINDING_2D=32873]="TEXTURE_BINDING_2D",e[e.SAMPLE_BUFFERS=32936]="SAMPLE_BUFFERS",e[e.SAMPLES=32937]="SAMPLES",e[e.SAMPLE_COVERAGE_VALUE=32938]="SAMPLE_COVERAGE_VALUE",e[e.SAMPLE_COVERAGE_INVERT=32939]="SAMPLE_COVERAGE_INVERT",e[e.COMPRESSED_TEXTURE_FORMATS=34467]="COMPRESSED_TEXTURE_FORMATS",e[e.DONT_CARE=4352]="DONT_CARE",e[e.FASTEST=4353]="FASTEST",e[e.NICEST=4354]="NICEST",e[e.GENERATE_MIPMAP_HINT=33170]="GENERATE_MIPMAP_HINT",e[e.BYTE=5120]="BYTE",e[e.UNSIGNED_BYTE=5121]="UNSIGNED_BYTE",e[e.SHORT=5122]="SHORT",e[e.UNSIGNED_SHORT=5123]="UNSIGNED_SHORT",e[e.INT=5124]="INT",e[e.UNSIGNED_INT=5125]="UNSIGNED_INT",e[e.FLOAT=5126]="FLOAT",e[e.DEPTH_COMPONENT=6402]="DEPTH_COMPONENT",e[e.ALPHA=6406]="ALPHA",e[e.RGB=6407]="RGB",e[e.RGBA=6408]="RGBA",e[e.LUMINANCE=6409]="LUMINANCE",e[e.LUMINANCE_ALPHA=6410]="LUMINANCE_ALPHA",e[e.UNSIGNED_SHORT_4_4_4_4=32819]="UNSIGNED_SHORT_4_4_4_4",e[e.UNSIGNED_SHORT_5_5_5_1=32820]="UNSIGNED_SHORT_5_5_5_1",e[e.UNSIGNED_SHORT_5_6_5=33635]="UNSIGNED_SHORT_5_6_5",e[e.FRAGMENT_SHADER=35632]="FRAGMENT_SHADER",e[e.VERTEX_SHADER=35633]="VERTEX_SHADER",e[e.MAX_VERTEX_ATTRIBS=34921]="MAX_VERTEX_ATTRIBS",e[e.MAX_VERTEX_UNIFORM_VECTORS=36347]="MAX_VERTEX_UNIFORM_VECTORS",e[e.MAX_VARYING_VECTORS=36348]="MAX_VARYING_VECTORS",e[e.MAX_COMBINED_TEXTURE_IMAGE_UNITS=35661]="MAX_COMBINED_TEXTURE_IMAGE_UNITS",e[e.MAX_VERTEX_TEXTURE_IMAGE_UNITS=35660]="MAX_VERTEX_TEXTURE_IMAGE_UNITS",e[e.MAX_TEXTURE_IMAGE_UNITS=34930]="MAX_TEXTURE_IMAGE_UNITS",e[e.MAX_FRAGMENT_UNIFORM_VECTORS=36349]="MAX_FRAGMENT_UNIFORM_VECTORS",e[e.SHADER_TYPE=35663]="SHADER_TYPE",e[e.DELETE_STATUS=35712]="DELETE_STATUS",e[e.LINK_STATUS=35714]="LINK_STATUS",e[e.VALIDATE_STATUS=35715]="VALIDATE_STATUS",e[e.ATTACHED_SHADERS=35717]="ATTACHED_SHADERS",e[e.ACTIVE_UNIFORMS=35718]="ACTIVE_UNIFORMS",e[e.ACTIVE_ATTRIBUTES=35721]="ACTIVE_ATTRIBUTES",e[e.SHADING_LANGUAGE_VERSION=35724]="SHADING_LANGUAGE_VERSION",e[e.CURRENT_PROGRAM=35725]="CURRENT_PROGRAM",e[e.NEVER=512]="NEVER",e[e.LESS=513]="LESS",e[e.EQUAL=514]="EQUAL",e[e.LEQUAL=515]="LEQUAL",e[e.GREATER=516]="GREATER",e[e.NOTEQUAL=517]="NOTEQUAL",e[e.GEQUAL=518]="GEQUAL",e[e.ALWAYS=519]="ALWAYS",e[e.KEEP=7680]="KEEP",e[e.REPLACE=7681]="REPLACE",e[e.INCR=7682]="INCR",e[e.DECR=7683]="DECR",e[e.INVERT=5386]="INVERT",e[e.INCR_WRAP=34055]="INCR_WRAP",e[e.DECR_WRAP=34056]="DECR_WRAP",e[e.VENDOR=7936]="VENDOR",e[e.RENDERER=7937]="RENDERER",e[e.VERSION=7938]="VERSION",e[e.NEAREST=9728]="NEAREST",e[e.LINEAR=9729]="LINEAR",e[e.NEAREST_MIPMAP_NEAREST=9984]="NEAREST_MIPMAP_NEAREST",e[e.LINEAR_MIPMAP_NEAREST=9985]="LINEAR_MIPMAP_NEAREST",e[e.NEAREST_MIPMAP_LINEAR=9986]="NEAREST_MIPMAP_LINEAR",e[e.LINEAR_MIPMAP_LINEAR=9987]="LINEAR_MIPMAP_LINEAR",e[e.TEXTURE_MAG_FILTER=10240]="TEXTURE_MAG_FILTER",e[e.TEXTURE_MIN_FILTER=10241]="TEXTURE_MIN_FILTER",e[e.TEXTURE_WRAP_S=10242]="TEXTURE_WRAP_S",e[e.TEXTURE_WRAP_T=10243]="TEXTURE_WRAP_T",e[e.TEXTURE_2D=3553]="TEXTURE_2D",e[e.TEXTURE=5890]="TEXTURE",e[e.TEXTURE_CUBE_MAP=34067]="TEXTURE_CUBE_MAP",e[e.TEXTURE_BINDING_CUBE_MAP=34068]="TEXTURE_BINDING_CUBE_MAP",e[e.TEXTURE_CUBE_MAP_POSITIVE_X=34069]="TEXTURE_CUBE_MAP_POSITIVE_X",e[e.TEXTURE_CUBE_MAP_NEGATIVE_X=34070]="TEXTURE_CUBE_MAP_NEGATIVE_X",e[e.TEXTURE_CUBE_MAP_POSITIVE_Y=34071]="TEXTURE_CUBE_MAP_POSITIVE_Y",e[e.TEXTURE_CUBE_MAP_NEGATIVE_Y=34072]="TEXTURE_CUBE_MAP_NEGATIVE_Y",e[e.TEXTURE_CUBE_MAP_POSITIVE_Z=34073]="TEXTURE_CUBE_MAP_POSITIVE_Z",e[e.TEXTURE_CUBE_MAP_NEGATIVE_Z=34074]="TEXTURE_CUBE_MAP_NEGATIVE_Z",e[e.MAX_CUBE_MAP_TEXTURE_SIZE=34076]="MAX_CUBE_MAP_TEXTURE_SIZE",e[e.TEXTURE0=33984]="TEXTURE0",e[e.TEXTURE1=33985]="TEXTURE1",e[e.TEXTURE2=33986]="TEXTURE2",e[e.TEXTURE3=33987]="TEXTURE3",e[e.TEXTURE4=33988]="TEXTURE4",e[e.TEXTURE5=33989]="TEXTURE5",e[e.TEXTURE6=33990]="TEXTURE6",e[e.TEXTURE7=33991]="TEXTURE7",e[e.TEXTURE8=33992]="TEXTURE8",e[e.TEXTURE9=33993]="TEXTURE9",e[e.TEXTURE10=33994]="TEXTURE10",e[e.TEXTURE11=33995]="TEXTURE11",e[e.TEXTURE12=33996]="TEXTURE12",e[e.TEXTURE13=33997]="TEXTURE13",e[e.TEXTURE14=33998]="TEXTURE14",e[e.TEXTURE15=33999]="TEXTURE15",e[e.TEXTURE16=34e3]="TEXTURE16",e[e.TEXTURE17=34001]="TEXTURE17",e[e.TEXTURE18=34002]="TEXTURE18",e[e.TEXTURE19=34003]="TEXTURE19",e[e.TEXTURE20=34004]="TEXTURE20",e[e.TEXTURE21=34005]="TEXTURE21",e[e.TEXTURE22=34006]="TEXTURE22",e[e.TEXTURE23=34007]="TEXTURE23",e[e.TEXTURE24=34008]="TEXTURE24",e[e.TEXTURE25=34009]="TEXTURE25",e[e.TEXTURE26=34010]="TEXTURE26",e[e.TEXTURE27=34011]="TEXTURE27",e[e.TEXTURE28=34012]="TEXTURE28",e[e.TEXTURE29=34013]="TEXTURE29",e[e.TEXTURE30=34014]="TEXTURE30",e[e.TEXTURE31=34015]="TEXTURE31",e[e.ACTIVE_TEXTURE=34016]="ACTIVE_TEXTURE",e[e.REPEAT=10497]="REPEAT",e[e.CLAMP_TO_EDGE=33071]="CLAMP_TO_EDGE",e[e.MIRRORED_REPEAT=33648]="MIRRORED_REPEAT",e[e.FLOAT_VEC2=35664]="FLOAT_VEC2",e[e.FLOAT_VEC3=35665]="FLOAT_VEC3",e[e.FLOAT_VEC4=35666]="FLOAT_VEC4",e[e.INT_VEC2=35667]="INT_VEC2",e[e.INT_VEC3=35668]="INT_VEC3",e[e.INT_VEC4=35669]="INT_VEC4",e[e.BOOL=35670]="BOOL",e[e.BOOL_VEC2=35671]="BOOL_VEC2",e[e.BOOL_VEC3=35672]="BOOL_VEC3",e[e.BOOL_VEC4=35673]="BOOL_VEC4",e[e.FLOAT_MAT2=35674]="FLOAT_MAT2",e[e.FLOAT_MAT3=35675]="FLOAT_MAT3",e[e.FLOAT_MAT4=35676]="FLOAT_MAT4",e[e.SAMPLER_2D=35678]="SAMPLER_2D",e[e.SAMPLER_CUBE=35680]="SAMPLER_CUBE",e[e.VERTEX_ATTRIB_ARRAY_ENABLED=34338]="VERTEX_ATTRIB_ARRAY_ENABLED",e[e.VERTEX_ATTRIB_ARRAY_SIZE=34339]="VERTEX_ATTRIB_ARRAY_SIZE",e[e.VERTEX_ATTRIB_ARRAY_STRIDE=34340]="VERTEX_ATTRIB_ARRAY_STRIDE",e[e.VERTEX_ATTRIB_ARRAY_TYPE=34341]="VERTEX_ATTRIB_ARRAY_TYPE",e[e.VERTEX_ATTRIB_ARRAY_NORMALIZED=34922]="VERTEX_ATTRIB_ARRAY_NORMALIZED",e[e.VERTEX_ATTRIB_ARRAY_POINTER=34373]="VERTEX_ATTRIB_ARRAY_POINTER",e[e.VERTEX_ATTRIB_ARRAY_BUFFER_BINDING=34975]="VERTEX_ATTRIB_ARRAY_BUFFER_BINDING",e[e.COMPILE_STATUS=35713]="COMPILE_STATUS",e[e.LOW_FLOAT=36336]="LOW_FLOAT",e[e.MEDIUM_FLOAT=36337]="MEDIUM_FLOAT",e[e.HIGH_FLOAT=36338]="HIGH_FLOAT",e[e.LOW_INT=36339]="LOW_INT",e[e.MEDIUM_INT=36340]="MEDIUM_INT",e[e.HIGH_INT=36341]="HIGH_INT",e[e.FRAMEBUFFER=36160]="FRAMEBUFFER",e[e.RENDERBUFFER=36161]="RENDERBUFFER",e[e.RGBA4=32854]="RGBA4",e[e.RGB5_A1=32855]="RGB5_A1",e[e.RGB565=36194]="RGB565",e[e.DEPTH_COMPONENT16=33189]="DEPTH_COMPONENT16",e[e.STENCIL_INDEX=6401]="STENCIL_INDEX",e[e.STENCIL_INDEX8=36168]="STENCIL_INDEX8",e[e.DEPTH_STENCIL=34041]="DEPTH_STENCIL",e[e.RENDERBUFFER_WIDTH=36162]="RENDERBUFFER_WIDTH",e[e.RENDERBUFFER_HEIGHT=36163]="RENDERBUFFER_HEIGHT",e[e.RENDERBUFFER_INTERNAL_FORMAT=36164]="RENDERBUFFER_INTERNAL_FORMAT",e[e.RENDERBUFFER_RED_SIZE=36176]="RENDERBUFFER_RED_SIZE",e[e.RENDERBUFFER_GREEN_SIZE=36177]="RENDERBUFFER_GREEN_SIZE",e[e.RENDERBUFFER_BLUE_SIZE=36178]="RENDERBUFFER_BLUE_SIZE",e[e.RENDERBUFFER_ALPHA_SIZE=36179]="RENDERBUFFER_ALPHA_SIZE",e[e.RENDERBUFFER_DEPTH_SIZE=36180]="RENDERBUFFER_DEPTH_SIZE",e[e.RENDERBUFFER_STENCIL_SIZE=36181]="RENDERBUFFER_STENCIL_SIZE",e[e.FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE=36048]="FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE",e[e.FRAMEBUFFER_ATTACHMENT_OBJECT_NAME=36049]="FRAMEBUFFER_ATTACHMENT_OBJECT_NAME",e[e.FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL=36050]="FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL",e[e.FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE=36051]="FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE",e[e.COLOR_ATTACHMENT0=36064]="COLOR_ATTACHMENT0",e[e.DEPTH_ATTACHMENT=36096]="DEPTH_ATTACHMENT",e[e.STENCIL_ATTACHMENT=36128]="STENCIL_ATTACHMENT",e[e.DEPTH_STENCIL_ATTACHMENT=33306]="DEPTH_STENCIL_ATTACHMENT",e[e.NONE=0]="NONE",e[e.FRAMEBUFFER_COMPLETE=36053]="FRAMEBUFFER_COMPLETE",e[e.FRAMEBUFFER_INCOMPLETE_ATTACHMENT=36054]="FRAMEBUFFER_INCOMPLETE_ATTACHMENT",e[e.FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT=36055]="FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT",e[e.FRAMEBUFFER_INCOMPLETE_DIMENSIONS=36057]="FRAMEBUFFER_INCOMPLETE_DIMENSIONS",e[e.FRAMEBUFFER_UNSUPPORTED=36061]="FRAMEBUFFER_UNSUPPORTED",e[e.FRAMEBUFFER_BINDING=36006]="FRAMEBUFFER_BINDING",e[e.RENDERBUFFER_BINDING=36007]="RENDERBUFFER_BINDING",e[e.MAX_RENDERBUFFER_SIZE=34024]="MAX_RENDERBUFFER_SIZE",e[e.INVALID_FRAMEBUFFER_OPERATION=1286]="INVALID_FRAMEBUFFER_OPERATION",e[e.UNPACK_FLIP_Y_WEBGL=37440]="UNPACK_FLIP_Y_WEBGL",e[e.UNPACK_PREMULTIPLY_ALPHA_WEBGL=37441]="UNPACK_PREMULTIPLY_ALPHA_WEBGL",e[e.CONTEXT_LOST_WEBGL=37442]="CONTEXT_LOST_WEBGL",e[e.UNPACK_COLORSPACE_CONVERSION_WEBGL=37443]="UNPACK_COLORSPACE_CONVERSION_WEBGL",e[e.BROWSER_DEFAULT_WEBGL=37444]="BROWSER_DEFAULT_WEBGL",e[e.COPY_SRC=1]="COPY_SRC",e[e.COPY_DST=2]="COPY_DST",e[e.SAMPLED=4]="SAMPLED",e[e.STORAGE=8]="STORAGE",e[e.RENDER_ATTACHMENT=16]="RENDER_ATTACHMENT"}(bA||(bA={})),"undefined"!=typeof navigator&&/Version\/[\d\.]+.*Safari/.test(navigator.userAgent),function(e){e.Void="Void",e.Boolean="Boolean",e.Float="Float",e.Uint32="Uint32",e.Int32="Int32",e.Vector="Vector",e.Vector2Float="vec2<f32>",e.Vector3Float="vec3<f32>",e.Vector4Float="vec4<f32>",e.Vector2Boolean="vec2<bool>",e.Vector3Boolean="vec3<bool>",e.Vector4Boolean="vec4<bool>",e.Vector2Uint="vec2<u32>",e.Vector3Uint="vec3<u32>",e.Vector4Uint="vec4<u32>",e.Vector2Int="vec2<i32>",e.Vector3Int="vec3<i32>",e.Vector4Int="vec4<i32>",e.Matrix="Matrix",e.Matrix3x3Float="mat3x3<f32>",e.Matrix4x4Float="mat4x4<i32>",e.Struct="Struct",e.FloatArray="Float[]",e.Vector4FloatArray="vec4<f32>[]"}(EA||(EA={})),function(e){e.Program="Program",e.Identifier="Identifier",e.VariableDeclaration="VariableDeclaration",e.BlockStatement="BlockStatement",e.ReturnStatement="ReturnStatement",e.FunctionDeclaration="FunctionDeclaration",e.VariableDeclarator="VariableDeclarator",e.AssignmentExpression="AssignmentExpression",e.LogicalExpression="LogicalExpression",e.BinaryExpression="BinaryExpression",e.ArrayExpression="ArrayExpression",e.UnaryExpression="UnaryExpression",e.UpdateExpression="UpdateExpression",e.FunctionExpression="FunctionExpression",e.MemberExpression="MemberExpression",e.ConditionalExpression="ConditionalExpression",e.ExpressionStatement="ExpressionStatement",e.CallExpression="CallExpression",e.NumThreadStatement="NumThreadStatement",e.StorageStatement="StorageStatement",e.DoWhileStatement="DoWhileStatement",e.WhileStatement="WhileStatement",e.ForStatement="ForStatement",e.BreakStatement="BreakStatement",e.ContinueStatement="ContinueStatement",e.IfStatement="IfStatement",e.ImportedFunctionStatement="ImportedFunctionStatement"}(TA||(TA={})),function(e){e.Input="Input",e.Output="Output",e.Uniform="Uniform",e.Workgroup="Workgroup",e.UniformConstant="UniformConstant",e.Image="Image",e.StorageBuffer="StorageBuffer",e.Private="Private",e.Function="Function"}(xA||(xA={})),function(e){e.GLSL100="GLSL100",e.GLSL450="GLSL450",e.WGSL="WGSL"}(SA||(SA={})),u(1919),CA={},(0,BA.Z)(CA,bA.POINTS,"points"),(0,BA.Z)(CA,bA.LINES,"lines"),(0,BA.Z)(CA,bA.LINE_LOOP,"line loop"),(0,BA.Z)(CA,bA.LINE_STRIP,"line strip"),(0,BA.Z)(CA,bA.TRIANGLES,"triangles"),(0,BA.Z)(CA,bA.TRIANGLE_FAN,"triangle fan"),(0,BA.Z)(CA,bA.TRIANGLE_STRIP,"triangle strip"),AA={},(0,BA.Z)(AA,bA.STATIC_DRAW,"static"),(0,BA.Z)(AA,bA.DYNAMIC_DRAW,"dynamic"),(0,BA.Z)(AA,bA.STREAM_DRAW,"stream"),RA={},(0,BA.Z)(RA,bA.BYTE,"int8"),(0,BA.Z)(RA,bA.UNSIGNED_INT,"int16"),(0,BA.Z)(RA,bA.INT,"int32"),(0,BA.Z)(RA,bA.UNSIGNED_BYTE,"uint8"),(0,BA.Z)(RA,bA.UNSIGNED_SHORT,"uint16"),(0,BA.Z)(RA,bA.UNSIGNED_INT,"uint32"),(0,BA.Z)(RA,bA.FLOAT,"float"),wA={},(0,BA.Z)(wA,bA.ALPHA,"alpha"),(0,BA.Z)(wA,bA.LUMINANCE,"luminance"),(0,BA.Z)(wA,bA.LUMINANCE_ALPHA,"luminance alpha"),(0,BA.Z)(wA,bA.RGB,"rgb"),(0,BA.Z)(wA,bA.RGBA,"rgba"),(0,BA.Z)(wA,bA.RGBA4,"rgba4"),(0,BA.Z)(wA,bA.RGB5_A1,"rgb5 a1"),(0,BA.Z)(wA,bA.RGB565,"rgb565"),(0,BA.Z)(wA,bA.DEPTH_COMPONENT,"depth"),(0,BA.Z)(wA,bA.DEPTH_STENCIL,"depth stencil"),LA={},(0,BA.Z)(LA,bA.DONT_CARE,"dont care"),(0,BA.Z)(LA,bA.NICEST,"nice"),(0,BA.Z)(LA,bA.FASTEST,"fast"),OA={},(0,BA.Z)(OA,bA.NEAREST,"nearest"),(0,BA.Z)(OA,bA.LINEAR,"linear"),(0,BA.Z)(OA,bA.LINEAR_MIPMAP_LINEAR,"mipmap"),(0,BA.Z)(OA,bA.NEAREST_MIPMAP_LINEAR,"nearest mipmap linear"),(0,BA.Z)(OA,bA.LINEAR_MIPMAP_NEAREST,"linear mipmap nearest"),(0,BA.Z)(OA,bA.NEAREST_MIPMAP_NEAREST,"nearest mipmap nearest"),NA={},(0,BA.Z)(NA,bA.REPEAT,"repeat"),(0,BA.Z)(NA,bA.CLAMP_TO_EDGE,"clamp"),(0,BA.Z)(NA,bA.MIRRORED_REPEAT,"mirror"),IA={},(0,BA.Z)(IA,bA.NONE,"none"),(0,BA.Z)(IA,bA.BROWSER_DEFAULT_WEBGL,"browser"),kA={},(0,BA.Z)(kA,bA.NEVER,"never"),(0,BA.Z)(kA,bA.ALWAYS,"always"),(0,BA.Z)(kA,bA.LESS,"less"),(0,BA.Z)(kA,bA.LEQUAL,"lequal"),(0,BA.Z)(kA,bA.GREATER,"greater"),(0,BA.Z)(kA,bA.GEQUAL,"gequal"),(0,BA.Z)(kA,bA.EQUAL,"equal"),(0,BA.Z)(kA,bA.NOTEQUAL,"notequal"),DA={},(0,BA.Z)(DA,bA.FUNC_ADD,"add"),(0,BA.Z)(DA,bA.MIN_EXT,"min"),(0,BA.Z)(DA,bA.MAX_EXT,"max"),(0,BA.Z)(DA,bA.FUNC_SUBTRACT,"subtract"),(0,BA.Z)(DA,bA.FUNC_REVERSE_SUBTRACT,"reverse subtract"),PA={},(0,BA.Z)(PA,bA.ZERO,"zero"),(0,BA.Z)(PA,bA.ONE,"one"),(0,BA.Z)(PA,bA.SRC_COLOR,"src color"),(0,BA.Z)(PA,bA.ONE_MINUS_SRC_COLOR,"one minus src color"),(0,BA.Z)(PA,bA.SRC_ALPHA,"src alpha"),(0,BA.Z)(PA,bA.ONE_MINUS_SRC_ALPHA,"one minus src alpha"),(0,BA.Z)(PA,bA.DST_COLOR,"dst color"),(0,BA.Z)(PA,bA.ONE_MINUS_DST_COLOR,"one minus dst color"),(0,BA.Z)(PA,bA.DST_ALPHA,"dst alpha"),(0,BA.Z)(PA,bA.ONE_MINUS_DST_ALPHA,"one minus dst alpha"),(0,BA.Z)(PA,bA.CONSTANT_COLOR,"constant color"),(0,BA.Z)(PA,bA.ONE_MINUS_CONSTANT_COLOR,"one minus constant color"),(0,BA.Z)(PA,bA.CONSTANT_ALPHA,"constant alpha"),(0,BA.Z)(PA,bA.ONE_MINUS_CONSTANT_ALPHA,"one minus constant alpha"),(0,BA.Z)(PA,bA.SRC_ALPHA_SATURATE,"src alpha saturate"),MA={},(0,BA.Z)(MA,bA.NEVER,"never"),(0,BA.Z)(MA,bA.ALWAYS,"always"),(0,BA.Z)(MA,bA.LESS,"less"),(0,BA.Z)(MA,bA.LEQUAL,"lequal"),(0,BA.Z)(MA,bA.GREATER,"greater"),(0,BA.Z)(MA,bA.GEQUAL,"gequal"),(0,BA.Z)(MA,bA.EQUAL,"equal"),(0,BA.Z)(MA,bA.NOTEQUAL,"notequal"),FA={},(0,BA.Z)(FA,bA.ZERO,"zero"),(0,BA.Z)(FA,bA.KEEP,"keep"),(0,BA.Z)(FA,bA.REPLACE,"replace"),(0,BA.Z)(FA,bA.INVERT,"invert"),(0,BA.Z)(FA,bA.INCR,"increment"),(0,BA.Z)(FA,bA.DECR,"decrement"),(0,BA.Z)(FA,bA.INCR_WRAP,"increment wrap"),(0,BA.Z)(FA,bA.DECR_WRAP,"decrement wrap"),HA={},(0,BA.Z)(HA,bA.FRONT,"front"),(0,BA.Z)(HA,bA.BACK,"back"),u(9908),u(7743),u(4256);class UA{constructor(){this.cells=[],this.columnNum=0,this.rowNum=0,this.additionColumn=[],this.additionRow=[]}init(e,t,n){this.cells=[],this.CELL_W=n.CELL_W||UA.DEFAULT_CELL_W,this.CELL_H=n.CELL_H||UA.DEFAULT_CELL_H,this.columnNum=Math.ceil(e/this.CELL_W),this.rowNum=Math.ceil(t/this.CELL_H),UA.MIN_DIST=Math.pow(e,2)+Math.pow(t,2);for(let e=0;e<this.columnNum;e++){const t=[];for(let n=0;n<this.rowNum;n++){const r={dx:e,dy:n,x:e*this.CELL_W,y:n*this.CELL_H,occupied:!1};t.push(r)}this.cells.push(t)}}findGridByNodeId(e){var t,n;for(let r=0;r<this.columnNum;r++)for(let i=0;i<this.rowNum;i++)if(this.cells[r][i].node&&(null===(n=null===(t=this.cells[r][i])||void 0===t?void 0:t.node)||void 0===n?void 0:n.id)===e)return{column:r,row:i};return null}sqdist(e,t){return Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2)}occupyNearest(e){let t,n=UA.MIN_DIST,r=null;for(let i=0;i<this.columnNum;i++)for(let o=0;o<this.rowNum;o++)!this.cells[i][o].occupied&&(t=this.sqdist(e,this.cells[i][o]))<n&&(n=t,r=this.cells[i][o]);return r&&(r.occupied=!0),r}insertColumn(e,t){if(!(t<=0)){for(let e=0;e<t;e++){this.cells[e+this.columnNum]=[];for(let t=0;t<this.rowNum;t++)this.cells[e+this.columnNum][t]={dx:e,dy:t,x:e*this.CELL_W,y:t*this.CELL_H,occupied:!1,node:null}}for(let n=this.columnNum-1;n>e;n--)for(let e=0;e<this.rowNum;e++)this.cells[n+t][e]=Object.assign(Object.assign({},this.cells[n][e]),{x:(n+t)*this.CELL_W,y:e*this.CELL_H}),this.cells[n][e]={x:n*this.CELL_W,y:e*this.CELL_H,occupied:!0,node:null};for(let n=0;n<this.additionColumn.length;n++)this.additionColumn[n]>=e&&(this.additionColumn[n]+=t);for(let n=0;n<t;n++)this.additionColumn.push(e+n+1);this.columnNum+=t}}insertRow(e,t){if(!(t<=0)){for(let e=0;e<t;e++)for(let t=0;t<this.columnNum;t++)this.cells[t][e+this.rowNum]={dx:t,dy:e,x:t*this.CELL_W,y:e*this.CELL_H,occupied:!1,node:null};for(let n=0;n<this.columnNum;n++)for(let r=this.rowNum-1;r>e;r--)this.cells[n][r+t]=Object.assign(Object.assign({},this.cells[n][r]),{dx:n,dy:r+t,x:n*this.CELL_W,y:(r+t)*this.CELL_H}),this.cells[n][r]={dx:n,dy:r,x:n*this.CELL_W,y:r*this.CELL_H,occupied:!1,node:null};for(let n=0;n<this.additionRow.length;n++)this.additionRow[n]>=e&&(this.additionRow[n]+=t);for(let n=0;n<t;n++)this.additionRow.push(e+n+1);this.rowNum+=t}}getNodes(){const e=[];for(let t=0;t<this.columnNum;t++)for(let n=0;n<this.rowNum;n++)this.cells[t][n].node&&e.push(this.cells[t][n]);return e}}UA.MIN_DIST=50,UA.DEFAULT_CELL_W=80,UA.DEFAULT_CELL_H=80,new Map;const jA=[{value:"grid",label:C({id:"advance.components.SubGraphLayout.const.GridLayout",dm:"网格布局"}),options:{type:"grid",rows:4,cols:4}},{value:"circular",label:C({id:"advance.components.SubGraphLayout.const.CircularLayout",dm:"圆形布局"}),options:{nodeSpacing:20}},{value:"dagre",label:C({id:"advance.components.SubGraphLayout.const.HierarchicalLayout",dm:"层次布局"})},{value:"concentric",label:C({id:"advance.components.SubGraphLayout.const.ConcentricCircleLayout",dm:"同心圆布局"})},{value:"radial",label:C({id:"advance.components.SubGraphLayout.const.RadialLayout",dm:"径向布局"})}],GA={grid:class extends Fy{constructor(e){super(),this.begin=[0,0],this.preventOverlap=!0,this.preventOverlapPadding=10,this.condense=!1,this.sortBy="degree",this.nodes=[],this.edges=[],this.width=300,this.height=300,this.row=0,this.col=0,this.cellWidth=0,this.cellHeight=0,this.cellUsed={},this.id2manPos={},this.onLayoutEnd=()=>{},this.updateCfg(e)}getDefaultCfg(){return{begin:[0,0],preventOverlap:!0,preventOverlapPadding:10,condense:!1,rows:void 0,cols:void 0,position:void 0,sortBy:"degree",nodeSize:30}}execute(){const e=this,{nodes:t,edges:n,begin:r}=e,i=t.length;if(0===i)return e.onLayoutEnd&&e.onLayoutEnd(),{nodes:t,edges:n};if(1===i)return t[0].x=r[0],t[0].y=r[1],e.onLayoutEnd&&e.onLayoutEnd(),{nodes:t,edges:n};let{sortBy:o,width:a,height:s}=e;const{condense:l,preventOverlapPadding:c,preventOverlap:u,nodeSpacing:h,nodeSize:p}=e,d=[];t.forEach((e=>{d.push(e)}));const f={};if(d.forEach(((e,t)=>{f[e.id]=t})),("degree"===o||!Ay(o)||void 0===d[0][o])&&(o="degree",Ly(t[0].degree))){const e=ky(d.length,f,n);d.forEach(((t,n)=>{t.degree=e[n].all}))}d.sort(((e,t)=>t[o]-e[o])),a||"undefined"==typeof window||(a=window.innerWidth),s||"undefined"==typeof window||(s=window.innerHeight);const m=e.rows,g=null!=e.cols?e.cols:e.columns;if(e.cells=i,null!=m&&null!=g?(e.rows=m,e.cols=g):null!=m&&null==g?(e.rows=m,e.cols=Math.ceil(e.cells/e.rows)):null==m&&null!=g?(e.cols=g,e.rows=Math.ceil(e.cells/e.cols)):(e.splits=Math.sqrt(e.cells*e.height/e.width),e.rows=Math.round(e.splits),e.cols=Math.round(e.width/e.height*e.splits)),e.rows=Math.max(e.rows,1),e.cols=Math.max(e.cols,1),e.cols*e.rows>e.cells){const t=e.small(),n=e.large();(t-1)*n>=e.cells?e.small(t-1):(n-1)*t>=e.cells&&e.large(n-1)}else for(;e.cols*e.rows<e.cells;){const t=e.small(),n=e.large();(n+1)*t>=e.cells?e.large(n+1):e.small(t+1)}if(e.cellWidth=a/e.cols,e.cellHeight=s/e.rows,l&&(e.cellWidth=0,e.cellHeight=0),u||h){const t=My(10,h),n=My(30,p,!1);d.forEach((r=>{r.x&&r.y||(r.x=0,r.y=0);const i=n(r)||30;let o,a;Ry(i)?(o=i[0],a=i[1]):(o=i,a=i);const s=void 0!==t?t(r):c,l=o+s,u=a+s;e.cellWidth=Math.max(e.cellWidth,l),e.cellHeight=Math.max(e.cellHeight,u)}))}e.cellUsed={},e.row=0,e.col=0,e.id2manPos={};for(let t=0;t<d.length;t++){const n=d[t];let r;if(e.position&&(r=e.position(n)),r&&(void 0!==r.row||void 0!==r.col)){const t={row:r.row,col:r.col};if(void 0===t.col)for(t.col=0;e.used(t.row,t.col);)t.col++;else if(void 0===t.row)for(t.row=0;e.used(t.row,t.col);)t.row++;e.id2manPos[n.id]=t,e.use(t.row,t.col)}e.getPos(n)}return e.onLayoutEnd&&e.onLayoutEnd(),{edges:n,nodes:d}}small(e){const t=this;let n;const r=t.rows||5,i=t.cols||5;return null==e?n=Math.min(r,i):Math.min(r,i)===t.rows?t.rows=e:t.cols=e,n}large(e){const t=this;let n;const r=t.rows||5,i=t.cols||5;return null==e?n=Math.max(r,i):Math.max(r,i)===t.rows?t.rows=e:t.cols=e,n}used(e,t){return this.cellUsed[`c-${e}-${t}`]||!1}use(e,t){this.cellUsed[`c-${e}-${t}`]=!0}moveToNextCell(){const e=this,t=e.cols||5;e.col++,e.col>=t&&(e.col=0,e.row++)}getPos(e){const t=this,{begin:n,cellWidth:r,cellHeight:i}=t;let o,a;const s=t.id2manPos[e.id];if(s)o=s.col*r+r/2+n[0],a=s.row*i+i/2+n[1];else{for(;t.used(t.row,t.col);)t.moveToNextCell();o=t.col*r+r/2+n[0],a=t.row*i+i/2+n[1],t.use(t.row,t.col),t.moveToNextCell()}e.x=o,e.y=a}getType(){return"grid"}},circular:class extends Fy{constructor(e){super(),this.radius=null,this.nodeSize=void 0,this.startRadius=null,this.endRadius=null,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0,this.divisions=1,this.ordering=null,this.angleRatio=1,this.nodes=[],this.edges=[],this.nodeMap={},this.degrees=[],this.width=300,this.height=300,this.updateCfg(e)}getDefaultCfg(){return{radius:null,startRadius:null,endRadius:null,startAngle:0,endAngle:2*Math.PI,clockwise:!0,divisions:1,ordering:null,angleRatio:1}}execute(){var e;const t=this,n=t.nodes,r=t.edges,i=n.length;if(0===i)return void(t.onLayoutEnd&&t.onLayoutEnd());t.width||"undefined"==typeof window||(t.width=window.innerWidth),t.height||"undefined"==typeof window||(t.height=window.innerHeight),t.center||(t.center=[t.width/2,t.height/2]);const o=t.center;if(1===i)return n[0].x=o[0],n[0].y=o[1],void(t.onLayoutEnd&&t.onLayoutEnd());let{radius:a,startRadius:s,endRadius:l}=t;const{divisions:c,startAngle:u,endAngle:h,angleRatio:p,ordering:d,clockwise:f,nodeSpacing:m,nodeSize:g}=t,y=(h-u)/i,v={};n.forEach(((e,t)=>{v[e.id]=t})),t.nodeMap=v;const _=ky(n.length,v,r);if(t.degrees=_,m){const e=My(10,m),t=My(10,g);let r=-1/0;n.forEach((e=>{const n=t(e);r<n&&(r=n)}));let i=0;n.forEach(((t,n)=>{i+=0===n?r||10:(e(t)||0)+(r||10)})),a=i/(2*Math.PI)}else a||s||l?!s&&l?s=l:s&&!l&&(l=s):a=t.height>t.width?t.width/2:t.height/2;const b=y*p;let E=[];E="topology"===d?t.topologyOrdering():"topology-directed"===d?t.topologyOrdering(!0):"degree"===d?t.degreeOrdering():n;const T=Math.ceil(i/c);for(let e=0;e<i;++e){let t=a;t||null===s||null===l||(t=s+e*(l-s)/(i-1)),t||(t=10+100*e/(i-1));let n=u+e%T*b+2*Math.PI/c*Math.floor(e/T);f||(n=h-e%T*b-2*Math.PI/c*Math.floor(e/T)),E[e].x=o[0]+Math.cos(n)*t,E[e].y=o[1]+Math.sin(n)*t,E[e].weight=_[e].all}return null===(e=t.onLayoutEnd)||void 0===e||e.call(t),{nodes:E,edges:this.edges}}topologyOrdering(e=!1){const t=this,n=t.degrees,r=t.edges,i=t.nodes,o=Ny(i),a=t.nodeMap,s=[o[0]],l=[i[0]],c=[],u=i.length;c[0]=!0,function(e,t,n,r){e.forEach(((t,n)=>{e[n].children=[],e[n].parent=[]})),r?t.forEach((t=>{const r=Iy(t,"source"),i=Iy(t,"target");let o=0;r&&(o=n[r]);let a=0;i&&(a=n[i]);const s=e[o].children,l=e[a].parent;s.push(e[a].id),l.push(e[o].id)})):t.forEach((t=>{const r=Iy(t,"source"),i=Iy(t,"target");let o=0;r&&(o=n[r]);let a=0;i&&(a=n[i]);const s=e[o].children,l=e[a].children;s.push(e[a].id),l.push(e[o].id)}))}(o,r,a,e);let h=0;return o.forEach(((e,t)=>{if(0!==t)if(t!==u-1&&n[t].all===n[t+1].all&&!function(e,t,n){const r=n.length;for(let i=0;i<r;i++){const r=Iy(n[i],"source"),o=Iy(n[i],"target");if(e.id===r&&t.id===o||t.id===r&&e.id===o)return!0}return!1}(s[h],e,r)||c[t]){const e=s[h].children;let r=!1;for(let u=0;u<e.length;u++){const h=a[e[u]];if(n[h].all===n[t].all&&!c[h]){s.push(o[h]),l.push(i[a[o[h].id]]),c[h]=!0,r=!0;break}}let p=0;for(;!r&&(c[p]||(s.push(o[p]),l.push(i[a[o[p].id]]),c[p]=!0,r=!0),p++,p!==u););}else s.push(e),l.push(i[a[e.id]]),c[t]=!0,h++})),l}degreeOrdering(){const e=this.nodes,t=[],n=this.degrees;return e.forEach(((e,r)=>{e.degree=n[r].all,t.push(e)})),t.sort(pv),t}getType(){return"circular"}},dagre:class extends Fy{constructor(e){super(),this.rankdir="TB",this.nodesep=50,this.ranksep=50,this.controlPoints=!1,this.sortByCombo=!1,this.edgeLabelSpace=!0,this.radial=!1,this.nodes=[],this.edges=[],this.onLayoutEnd=()=>{},this.layoutNode=e=>{const{nodes:t}=this,n=t.find((t=>t.id===e));return!n||!1!==n.layout},this.updateCfg(e)}getDefaultCfg(){return{rankdir:"TB",align:void 0,nodeSize:void 0,nodesepFunc:void 0,ranksepFunc:void 0,nodesep:50,ranksep:50,controlPoints:!1,radial:!1,focusNode:null}}execute(){var e,t,n,r;const i=this,{nodes:o,nodeSize:a,rankdir:s,combos:l,begin:c,radial:u,comboEdges:h=[],vedges:p=[]}=i;if(!o)return;const d=i.edges||[],f=new jv({multigraph:!0,compound:!0});i.nodeMap={};const m={};o.forEach((e=>{i.nodeMap[e.id]=e,e.comboId&&(m[e.comboId]=m[e.comboId]||[],m[e.comboId].push(e.id))}));let g=[];const y={};let v;(null===(e=i.nodeOrder)||void 0===e?void 0:e.length)?(i.nodeOrder.forEach((e=>{y[e]=!0,g.push(i.nodeMap[e])})),o.forEach((e=>{y[e.id]||g.push(e)}))):g=o,v=a?Ry(a)?()=>a:()=>[a,a]:e=>e.size?Ry(e.size)?e.size:Oy(e.size)?[e.size.width||40,e.size.height||40]:[e.size,e.size]:[40,40];const _=Py(i.ranksep,50,i.ranksepFunc),b=Py(i.nodesep,50,i.nodesepFunc);let E=b,T=_;"LR"!==s&&"RL"!==s||(E=_,T=b),f.setDefaultEdgeLabel((()=>({}))),f.setGraph(i);const x={};let S;this.sortByCombo&&l&&l.forEach((e=>{if(x[e.id]=e,e.collapsed){const t=v(e),n=T(e),r=E(e),i=t[0]+2*r,o=t[1]+2*n;f.setNode(e.id,{width:i,height:o})}e.parentId&&(x[e.parentId]||f.setNode(e.parentId,{}),f.setParent(e.id,e.parentId))})),g.filter((e=>!1!==e.layout)).forEach((e=>{const t=v(e),n=T(e),r=E(e),i=t[0]+2*r,o=t[1]+2*n,a=e.layer;wy(a)?f.setNode(e.id,{width:i,height:o,layer:a}):f.setNode(e.id,{width:i,height:o}),this.sortByCombo&&e.comboId&&(x[e.comboId]||(x[e.comboId]={id:e.comboId},f.setNode(e.comboId,{})),f.setParent(e.id,e.comboId))})),d.forEach((e=>{const t=Iy(e,"source"),n=Iy(e,"target");this.layoutNode(t)&&this.layoutNode(n)&&f.setEdge(t,n,{weight:e.weight||1})})),null===(t=null==h?void 0:h.concat(p||[]))||void 0===t||t.forEach((e=>{var t,n;const{source:r,target:i}=e,o=(null===(t=x[r])||void 0===t?void 0:t.collapsed)?[r]:m[r]||[r],a=(null===(n=x[i])||void 0===n?void 0:n.collapsed)?[i]:m[i]||[i];o.forEach((t=>{a.forEach((n=>{f.setEdge(t,n,{weight:e.weight||1})}))}))})),(null===(n=i.preset)||void 0===n?void 0:n.nodes)&&(S=new jv({multigraph:!0,compound:!0}),i.preset.nodes.forEach((e=>{null==S||S.setNode(e.id,e)}))),xb(f,{prevGraph:S,edgeLabelSpace:i.edgeLabelSpace,keepNodeOrder:Boolean(!!i.nodeOrder),nodeOrder:i.nodeOrder});const C=[0,0];if(c){let e=1/0,t=1/0;f.nodes().forEach((n=>{const r=f.node(n);e>r.x&&(e=r.x),t>r.y&&(t=r.y)})),f.edges().forEach((n=>{var r;null===(r=f.edge(n).points)||void 0===r||r.forEach((n=>{e>n.x&&(e=n.x),t>n.y&&(t=n.y)}))})),C[0]=c[0]-e,C[1]=c[1]-t}const A="LR"===s||"RL"===s;if(u){const{focusNode:e,ranksep:t,getRadialPos:n}=this,o=Ay(e)?e:null==e?void 0:e.id,a=o?null===(r=f.node(o))||void 0===r?void 0:r._rank:0,s=[],l=A?"y":"x",c=A?"height":"width";let u=1/0,h=-1/0;f.nodes().forEach((e=>{const t=f.node(e);if(!i.nodeMap[e])return;const n=b(i.nodeMap[e]);if(0===a)s[t._rank]||(s[t._rank]={nodes:[],totalWidth:0,maxSize:-1/0}),s[t._rank].nodes.push(e),s[t._rank].totalWidth+=2*n+t[c],s[t._rank].maxSize<Math.max(t.width,t.height)&&(s[t._rank].maxSize=Math.max(t.width,t.height));else{const r=t._rank-a;if(0===r)s[r]||(s[r]={nodes:[],totalWidth:0,maxSize:-1/0}),s[r].nodes.push(e),s[r].totalWidth+=2*n+t[c],s[r].maxSize<Math.max(t.width,t.height)&&(s[r].maxSize=Math.max(t.width,t.height));else{const i=Math.abs(r);s[i]||(s[i]={left:[],right:[],totalWidth:0,maxSize:-1/0}),s[i].totalWidth+=2*n+t[c],s[i].maxSize<Math.max(t.width,t.height)&&(s[i].maxSize=Math.max(t.width,t.height)),r<0?s[i].left.push(e):s[i].right.push(e)}}const r=t[l]-t[c]/2-n,o=t[l]+t[c]/2+n;r<u&&(u=r),o>h&&(h=o)}));let p=t||50;const m={},g=(h-u)/.9,y=[.5*(u+h-g),.5*(u+h+g)],v=(e,t,r=-1/0,o=[0,1])=>{let a=r;return e.forEach((e=>{const r=f.node(e);m[e]=t;const{x:s,y:c}=n(r[l],y,g,t,o);if(!i.nodeMap[e])return;i.nodeMap[e].x=s+C[0],i.nodeMap[e].y=c+C[1],i.nodeMap[e]._order=r._order;const u=_(i.nodeMap[e]);a<u&&(a=u)})),a};let E=!0;s.forEach((e=>{var t,n,r,o,s,l,c;if(!(null===(t=null==e?void 0:e.nodes)||void 0===t?void 0:t.length)&&!(null===(n=null==e?void 0:e.left)||void 0===n?void 0:n.length)&&!(null===(r=null==e?void 0:e.right)||void 0===r?void 0:r.length))return;if(E&&1===e.nodes.length){const t=e.nodes[0];if(!i.nodeMap[t])return;return i.nodeMap[t].x=C[0],i.nodeMap[t].y=C[1],m[e.nodes[0]]=0,p=_(i.nodeMap[t]),void(E=!1)}p=Math.max(p,e.totalWidth/(2*Math.PI));let u=-1/0;if(0===a||(null===(o=e.nodes)||void 0===o?void 0:o.length))u=v(e.nodes,p,u,[0,1]);else{const t=(null===(s=e.left)||void 0===s?void 0:s.length)/((null===(l=e.left)||void 0===l?void 0:l.length)+(null===(c=e.right)||void 0===c?void 0:c.length));u=v(e.left,p,u,[0,t]),u=v(e.right,p,u,[t+.05,1])}p+=u,E=!1,e.maxSize})),f.edges().forEach((e=>{var t,r,o;const a=f.edge(e),s=d.findIndex((t=>{const n=Iy(t,"source"),r=Iy(t,"target");return n===e.v&&r===e.w}));if(!(s<=-1)&&i.edgeLabelSpace&&i.controlPoints&&"loop"!==d[s].type){const i="x"===l?"y":"x",c=null===(t=null==a?void 0:a.points)||void 0===t?void 0:t.slice(1,a.points.length-1),u=[],h=null===(r=f.node(e.v))||void 0===r?void 0:r[i],p=h-(null===(o=f.node(e.w))||void 0===o?void 0:o[i]),v=m[e.v],_=v-m[e.w];null==c||c.forEach((e=>{const t=(e[i]-h)/p*_+v,r=n(e[l],y,g,t);u.push({x:r.x+C[0],y:r.y+C[1]})})),d[s].controlPoints=u}}))}else{const e=new Set,t="BT"===s||"RL"===s?(e,t)=>t-e:(e,t)=>e-t;f.nodes().forEach((t=>{const n=f.node(t);if(!n)return;let r=this.nodeMap[t];r||(r=null==l?void 0:l.find((e=>e.id===t))),r&&(r.x=n.x+C[0],r.y=n.y+C[1],r._order=n._order,e.add(A?r.x:r.y))}));const n=Array.from(e).sort(t),r=A?(e,t)=>e.x!==t.x:(e,t)=>e.y!==t.y,o=A?(e,t,n)=>{const r=Math.max(t.y,n.y),i=Math.min(t.y,n.y);return e.filter((e=>e.y<=r&&e.y>=i))}:(e,t,n)=>{const r=Math.max(t.x,n.x),i=Math.min(t.x,n.x);return e.filter((e=>e.x<=r&&e.x>=i))};f.edges().forEach((e=>{var t;const a=f.edge(e),s=d.findIndex((t=>{const n=Iy(t,"source"),r=Iy(t,"target");return n===e.v&&r===e.w}));if(!(s<=-1)&&i.edgeLabelSpace&&i.controlPoints&&"loop"!==d[s].type){null===(t=null==a?void 0:a.points)||void 0===t||t.forEach((e=>{e.x+=C[0],e.y+=C[1]}));const l=i.nodeMap[e.v],c=i.nodeMap[e.w];d[s].controlPoints=Sb(null==a?void 0:a.points,l,c,n,A,r,o)}}))}return i.onLayoutEnd&&i.onLayoutEnd(),{nodes:o,edges:d}}getRadialPos(e,t,n,r,i=[0,1]){let o=(e-t[0])/n;o=o*(i[1]-i[0])+i[0];const a=2*o*Math.PI;return{x:Math.cos(a)*r,y:Math.sin(a)*r}}getType(){return"dagre"}},concentric:class extends Fy{constructor(e){super(),this.nodeSize=30,this.minNodeSpacing=10,this.nodeSpacing=10,this.preventOverlap=!1,this.equidistant=!1,this.startAngle=1.5*Math.PI,this.clockwise=!0,this.sortBy="degree",this.nodes=[],this.edges=[],this.width=300,this.height=300,this.onLayoutEnd=()=>{},this.updateCfg(e)}getDefaultCfg(){return{nodeSize:30,minNodeSpacing:10,nodeSpacing:10,preventOverlap:!1,sweep:void 0,equidistant:!1,startAngle:1.5*Math.PI,clockwise:!0,maxLevelDiff:void 0,sortBy:"degree"}}execute(){var e,t;const n=this,{nodes:r,edges:i}=n,o=r.length;if(0===o)return void(null===(e=n.onLayoutEnd)||void 0===e||e.call(n));n.width||"undefined"==typeof window||(n.width=window.innerWidth),n.height||"undefined"==typeof window||(n.height=window.innerHeight),n.center||(n.center=[n.width/2,n.height/2]);const a=n.center;if(1===o)return r[0].x=a[0],r[0].y=a[1],void(null===(t=n.onLayoutEnd)||void 0===t||t.call(n));const{nodeSize:s,nodeSpacing:l}=n,c=[];let u,h=0;u=Ry(s)?Math.max(s[0],s[1]):s,Ry(l)?h=Math.max(l[0],l[1]):wy(l)&&(h=l),r.forEach((e=>{c.push(e);let t=u;Ry(e.size)?t=Math.max(e.size[0],e.size[1]):wy(e.size)?t=e.size:Oy(e.size)&&(t=Math.max(e.size.width,e.size.height)),u=Math.max(u,t),Dy(l)&&(h=Math.max(l(e),h))})),n.clockwise=void 0!==n.counterclockwise?!n.counterclockwise:n.clockwise;const p={},d={};if(c.forEach(((e,t)=>{p[e.id]=e,d[e.id]=t})),!("degree"!==n.sortBy&&Ay(n.sortBy)&&void 0!==c[0][n.sortBy]||(n.sortBy="degree",wy(r[0].degree)))){const e=ky(r.length,d,i);c.forEach(((t,n)=>{t.degree=e[n].all}))}c.sort(((e,t)=>t[n.sortBy]-e[n.sortBy])),n.maxValueNode=c[0],n.maxLevelDiff=n.maxLevelDiff||n.maxValueNode[n.sortBy]/4;const f=[[]];let m=f[0];c.forEach((e=>{if(m.length>0){const t=Math.abs(m[0][n.sortBy]-e[n.sortBy]);n.maxLevelDiff&&t>=n.maxLevelDiff&&(m=[],f.push(m))}m.push(e)}));let g=u+(h||n.minNodeSpacing);if(!n.preventOverlap){const e=f.length>0&&f[0].length>1,t=(Math.min(n.width,n.height)/2-g)/(f.length+(e?1:0));g=Math.min(g,t)}let y=0;if(f.forEach((e=>{let t=n.sweep;void 0===t&&(t=2*Math.PI-2*Math.PI/e.length);const r=e.dTheta=t/Math.max(1,e.length-1);if(e.length>1&&n.preventOverlap){const e=Math.cos(r)-Math.cos(0),t=Math.sin(r)-Math.sin(0),n=Math.sqrt(g*g/(e*e+t*t));y=Math.max(n,y)}e.r=y,y+=g})),n.equidistant){let e=0,t=0;for(let n=0;n<f.length;n++){const r=f[n].r-t;e=Math.max(e,r)}t=0,f.forEach(((n,r)=>{0===r&&(t=n.r),n.r=t,t+=e}))}return f.forEach((e=>{const t=e.dTheta,r=e.r;e.forEach(((e,i)=>{const o=n.startAngle+(n.clockwise?1:-1)*t*i;e.x=a[0]+r*Math.cos(o),e.y=a[1]+r*Math.sin(o)}))})),n.onLayoutEnd&&n.onLayoutEnd(),{nodes:r,edges:i}}getType(){return"concentric"}},radial:class extends Fy{constructor(e){super(),this.maxIteration=1e3,this.focusNode=null,this.unitRadius=null,this.linkDistance=50,this.preventOverlap=!1,this.strictRadial=!0,this.maxPreventOverlapIteration=200,this.sortStrength=10,this.nodes=[],this.edges=[],this.updateCfg(e)}getDefaultCfg(){return{maxIteration:1e3,focusNode:null,unitRadius:null,linkDistance:50,preventOverlap:!1,nodeSize:void 0,nodeSpacing:void 0,strictRadial:!0,maxPreventOverlapIteration:200,sortBy:void 0,sortStrength:10}}execute(){const e=this,t=e.nodes,n=e.edges||[];if(!t||0===t.length)return void(e.onLayoutEnd&&e.onLayoutEnd());e.width||"undefined"==typeof window||(e.width=window.innerWidth),e.height||"undefined"==typeof window||(e.height=window.innerHeight),e.center||(e.center=[e.width/2,e.height/2]);const r=e.center;if(1===t.length)return t[0].x=r[0],t[0].y=r[1],void(e.onLayoutEnd&&e.onLayoutEnd());const i=e.linkDistance;let o=null;if(Ay(e.focusNode)){let n=!1;for(let r=0;r<t.length;r++)t[r].id===e.focusNode&&(o=t[r],e.focusNode=o,n=!0,r=t.length);n||(o=null)}else o=e.focusNode;o||(o=t[0],e.focusNode=o);let a=function(e,t){let n=-1;return e.forEach(((e,r)=>{e.id===t&&(n=r)})),n}(t,o.id);a<0&&(a=0),e.focusIndex=a;const s=((e,t)=>{const{nodes:n,edges:r}=e,i=[],o={};if(!n)throw new Error("invalid nodes data!");return n&&n.forEach(((e,t)=>{o[e.id]=t,i.push([])})),null==r||r.forEach((e=>{const n=Iy(e,"source"),r=Iy(e,"target"),a=o[n],s=o[r];void 0!==a&&void 0!==s&&(i[a][s]=1,t||(i[s][a]=1))})),i})({nodes:t,edges:n},!1),l=(e=>{const t=[],n=e.length;for(let r=0;r<n;r+=1){t[r]=[];for(let i=0;i<n;i+=1)r===i?t[r][i]=0:0!==e[r][i]&&e[r][i]?t[r][i]=e[r][i]:t[r][i]=1/0}for(let e=0;e<n;e+=1)for(let r=0;r<n;r+=1)for(let i=0;i<n;i+=1)t[r][i]>t[r][e]+t[e][i]&&(t[r][i]=t[r][e]+t[e][i]);return t})(s),c=e.maxToFocus(l,a);e.handleInfinity(l,a,c+1),e.distances=l;const u=l[a],h=e.width||500,p=e.height||500;let d=h-r[0]>r[0]?r[0]:h-r[0],f=p-r[1]>r[1]?r[1]:p-r[1];0===d&&(d=h/2),0===f&&(f=p/2);const m=f>d?d:f,g=Math.max(...u),y=[];u.forEach(((t,n)=>{e.unitRadius||(e.unitRadius=m/g),y[n]=t*e.unitRadius})),e.radii=y;const v=e.eIdealDisMatrix();e.eIdealDistances=v;const _=function(e){const t=e.length,n=e[0].length,r=[];for(let i=0;i<t;i++){const t=[];for(let r=0;r<n;r++)0!==e[i][r]?t.push(1/(e[i][r]*e[i][r])):t.push(0);r.push(t)}return r}(v);e.weights=_;let b=new yA({linkDistance:i,distances:v}).layout();b.forEach((e=>{Ly(e[0])&&(e[0]=Math.random()*i),Ly(e[1])&&(e[1]=Math.random()*i)})),e.positions=b,b.forEach(((e,n)=>{t[n].x=e[0]+r[0],t[n].y=e[1]+r[1]})),b.forEach((e=>{e[0]-=b[a][0],e[1]-=b[a][1]})),e.run();const E=e.preventOverlap,T=e.nodeSize;let x;const S=e.strictRadial;if(E){const n=e.nodeSpacing;let r;r=wy(n)?()=>n:Dy(n)?n:()=>0,x=T?Ry(T)?e=>(T[0]>T[1]?T[0]:T[1])+r(e):e=>T+r(e):e=>e.size?Ry(e.size)?(e.size[0]>e.size[1]?e.size[0]:e.size[1])+r(e):Oy(e.size)?(e.size.width>e.size.height?e.size.width:e.size.height)+r(e):e.size+r(e):10+r(e);const i={nodes:t,nodeSizeFunc:x,adjMatrix:s,positions:b,radii:y,height:p,width:h,strictRadial:S,focusID:a,iterations:e.maxPreventOverlapIteration||200,k:b.length/4.5},o=new vA(i);b=o.layout()}return b.forEach(((e,n)=>{t[n].x=e[0]+r[0],t[n].y=e[1]+r[1]})),e.onLayoutEnd&&e.onLayoutEnd(),{nodes:t,edges:n}}run(){const e=this,t=e.maxIteration,n=e.positions||[],r=e.weights||[],i=e.eIdealDistances||[],o=e.radii||[];for(let a=0;a<=t;a++){const s=a/t;e.oneIteration(s,n,o,i,r)}}oneIteration(e,t,n,r,i){const o=1-e,a=this.focusIndex;t.forEach(((s,l)=>{const c=_A(s,[0,0]),u=0===c?0:1/c;if(l===a)return;let h=0,p=0,d=0;t.forEach(((e,t)=>{if(l===t)return;const n=_A(s,e),o=0===n?0:1/n,a=r[t][l];d+=i[l][t],h+=i[l][t]*(e[0]+a*(s[0]-e[0])*o),p+=i[l][t]*(e[1]+a*(s[1]-e[1])*o)}));const f=0===n[l]?0:1/n[l];d*=o,d+=e*f*f,h*=o,h+=e*f*s[0]*u,s[0]=h/d,p*=o,p+=e*f*s[1]*u,s[1]=p/d}))}eIdealDisMatrix(){const e=this,t=e.nodes;if(!t)return[];const n=e.distances,r=e.linkDistance,i=e.radii||[],o=e.unitRadius||50,a=[];return n&&n.forEach(((n,s)=>{const l=[];n.forEach(((n,a)=>{if(s===a)l.push(0);else if(i[s]===i[a])if("data"===e.sortBy)l.push(n*(Math.abs(s-a)*e.sortStrength)/(i[s]/o));else if(e.sortBy){let r=t[s][e.sortBy]||0,c=t[a][e.sortBy]||0;Ay(r)&&(r=r.charCodeAt(0)),Ay(c)&&(c=c.charCodeAt(0)),l.push(n*(Math.abs(r-c)*e.sortStrength)/(i[s]/o))}else l.push(n*r/(i[s]/o));else{const e=(r+o)/2;l.push(n*e)}})),a.push(l)})),a}handleInfinity(e,t,n){const r=e.length;for(let i=0;i<r;i++)if(e[t][i]===1/0){e[t][i]=n,e[i][t]=n;for(let o=0;o<r;o++)e[i][o]!==1/0&&e[t][o]===1/0&&(e[t][o]=n+e[i][o],e[o][t]=n+e[i][o])}for(let n=0;n<r;n++)if(n!==t)for(let i=0;i<r;i++)if(e[n][i]===1/0){let r=Math.abs(e[t][n]-e[t][i]);r=0===r?1:r,e[n][i]=r}}maxToFocus(e,t){let n=0;for(let r=0;r<e[t].length;r++)e[t][r]!==1/0&&(n=e[t][r]>n?e[t][r]:n);return n}getType(){return"radial"}}},YA=(e,t,n,r)=>{var i;const o=r.length===n.nodes.length,a=(null===(i=jA.find((t=>t.value===e.options)))||void 0===i?void 0:i.options)||{},s=t.getWidth(),l=t.getHeight();if("circular"===e){let e=60*r.length/(2*Math.PI);o&&(e=Math.min(s,l)/2),a.radius=e}return o&&(a.width=s,a.height=l),a};const{Panel:zA}=f.Collapse,$A={id:"SubGraphLayout",name:C({id:"advance.components.SubGraphLayout.info.SubgraphLayout",dm:"子图布局"}),category:"data-analysis",desc:C({id:"advance.components.SubGraphLayout.info.SubgraphLayoutPanel",dm:"子图布局面板"}),cover:"http://xxxx.jpg",type:"GIAC_CONTENT",icon:"icon-branches",docs:"https://www.yuque.com/antv/gi/yfg1clqzztqvcnt2"},{GIAC_CONTENT_METAS:WA,deepClone:VA}=p.extra,KA=VA(WA);KA.GIAC_CONTENT.properties.GIAC_CONTENT.properties.title.default=$A.name,KA.GIAC_CONTENT.properties.GIAC_CONTENT.properties.icon.default=$A.icon,KA.GIAC_CONTENT.properties.GIAC_CONTENT.properties.tooltip.default=$A.desc,KA.GIAC_CONTENT.properties.GIAC_CONTENT.properties.containerWidth.default="400px";const qA={info:$A,component:e=>{const{graph:t,data:n}=(0,p.useContext)(),{isDefaultSubGraph:r,sortKey:i,gap:o,direction:a}=e,[s,l]=Le({activeKeys:[],layouts:[]});return g().useEffect((()=>{if(!r)return void l((e=>{e.activeKeys=[],e.layouts=[]}));const e={};n.nodes.forEach((t=>{const n=t.data[i];e[n]?e[n].push({id:t.id}):e[n]=[{id:t.id}]}));const o=Object.keys(e).map((r=>{let i;return e[r].length===n.nodes.length&&(i=Math.min(t.getWidth(),t.getHeight())/2),{type:"circular",nodes:e[r],options:YA("circular",t,n,e[r])}}));l((e=>{e.activeKeys=o.map(((e,t)=>String(t))),e.layouts=o}))}),[r,i,n]),g().createElement("div",{className:"gi-subGraph-layout"},g().createElement(f.Collapse,{bordered:!1,activeKey:s.activeKeys,expandIcon:({isActive:e})=>g().createElement(nn.Z,{rotate:e?90:0}),className:"site-collapse-custom-collapse",onChange:e=>{l((t=>{t.activeKeys=e}))}},s.layouts.map(((e,r)=>g().createElement(zA,{header:C({id:"advance.components.SubGraphLayout.Component.LayoutIndex",dm:"布局{index}"},{index:r}),key:r,className:"site-collapse-custom-panel",extra:g().createElement(f.Button,{type:"text",onClick:()=>{l((e=>{e.layouts.splice(r,1)}))}},g().createElement(Oe.Z,null))},g().createElement("div",null,g().createElement("div",{style:{marginBottom:"6px"},className:"custom-item"},g().createElement("div",null,C({id:"advance.components.SubGraphLayout.Component.SelectANode",dm:"选择节点:"})),g().createElement(f.Select,{mode:"multiple",allowClear:!0,style:{width:"316px"},placeholder:C({id:"advance.components.SubGraphLayout.Component.SelectANode.1",dm:"请选择节点"}),value:e.nodes.map((e=>e.id)),onChange:e=>{l((t=>{t.layouts[r].nodes=e.map((e=>({id:e})))}))}},e.nodes.map((e=>g().createElement(f.Select.Option,{key:e.id,value:e.id},e.id))))),g().createElement("div",{style:{marginBottom:"6px"},className:"custom-item"},g().createElement("div",null,C({id:"advance.components.SubGraphLayout.Component.SelectLayout",dm:"选择布局:"})),g().createElement(f.Select,{allowClear:!0,style:{maxWidth:"247px"},placeholder:C({id:"advance.components.SubGraphLayout.Component.PleaseSelectALayout",dm:"请选择布局"}),value:e.type,defaultValue:e.type,onChange:e=>{l((i=>{i.layouts[r].type=e,i.layouts[r].options=YA(e,t,n,s.layouts[r].nodes)}))}},jA.map((e=>g().createElement(f.Select.Option,{key:e.value,value:e.value},e.label)))))))))),g().createElement(f.Button,{type:"dashed",style:{width:"100%"},onClick:()=>{const e=t.findAllByState("node","selected").map((e=>e.get("model"))).map((e=>({id:e.id})));0===e.length?f.message.error(C({id:"advance.components.SubGraphLayout.Component.NoSelectedElementInThe",dm:"当前画布中无选中元素"})):l((r=>{r.layouts.push({type:"circular",nodes:e,options:YA("circular",t,n,e)}),r.activeKeys.push(String(r.layouts.length-1))}))}},C({id:"advance.components.SubGraphLayout.Component.AddLayout",dm:"添加布局"})),g().createElement(f.Button,{type:"primary",style:{width:"100%",marginTop:"12px"},onClick:()=>function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){e.done?i(e.value):function(e){return e instanceof n?e:new n((function(t){t(e)}))}(e.value).then(a,s)}l((r=r.apply(e,t||[])).next())}))}(void 0,void 0,void 0,(function*(){((e,t,n,r)=>{const i=e.length,o=t.save(),a=t.get("width")/i,s=t.get("height")/i;e.filter((e=>0!==e.nodes.length)).forEach(((e,t)=>{const{type:i,options:l,nodes:c}=e;let u;u="horizontal"===r?[n/2+t*n,s/2]:[a/2,n+t*n];const h=Object.assign({width:a,height:s,center:u},l),p=new GA[i](h),d=((e,t)=>{const{edges:n,nodes:r}=e,i=t.map((e=>e.id)),o=n.filter((e=>{const{source:t,target:n}=e;return-1!==i.indexOf(t)&&-1!==i.indexOf(n)})),a=r.filter((e=>-1!==i.indexOf(e.id))).map((e=>{var t,n;return e.size=(null===(n=null===(t=e.style)||void 0===t?void 0:t.keyshape)||void 0===n?void 0:n.size)||26,e}));return{nodes:a,edges:o}})(o,c);p.layout(d)})),t.once("afteranimate",(()=>{t.fitView()})),t.positionsAnimate()})(s.layouts,t,o,a)}))},C({id:"advance.components.SubGraphLayout.Component.StartAdjustment",dm:"开始调整"})))},registerMeta:({keys:e,schemaData:t})=>{var n;const r=null===(n=t.nodes[0])||void 0===n?void 0:n.nodeTypeKeyFromProperties;return Object.assign({isDefaultSubGraph:{title:C({id:"advance.components.SubGraphLayout.registerMeta.DefaultSubgraphPartition",dm:"默认子图划分"}),type:"boolean","x-decorator":"FormItem","x-component":"Switch",default:!0},sortKey:{title:C({id:"advance.components.SubGraphLayout.registerMeta.MappingField",dm:"映射字段"}),type:"string","x-decorator":"FormItem","x-component":"Select",enum:e,default:r||""},gap:{title:C({id:"advance.components.SubGraphLayout.registerMeta.SubgraphSpacing",dm:"子图间距"}),type:"number","x-decorator":"FormItem","x-component":"NumberPicker","x-component-props":{min:0,max:1e3},default:200},direction:{title:C({id:"advance.components.SubGraphLayout.registerMeta.SubgraphArrangementDirection",dm:"子图排列方向"}),type:"string","x-decorator":"FormItem","x-component":"Select",enum:[{value:"vertical",label:C({id:"advance.components.SubGraphLayout.registerMeta.Vertical",dm:"垂直"})},{value:"horizontal",label:C({id:"advance.components.SubGraphLayout.registerMeta.Horizontal",dm:"水平"})}],default:"horizontal"}},KA)}},XA={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M391 240.9c-.8-6.6-8.9-9.4-13.6-4.7l-43.7 43.7L200 146.3a8.03 8.03 0 00-11.3 0l-42.4 42.3a8.03 8.03 0 000 11.3L280 333.6l-43.9 43.9a8.01 8.01 0 004.7 13.6L401 410c5.1.6 9.5-3.7 8.9-8.9L391 240.9zm10.1 373.2L240.8 633c-6.6.8-9.4 8.9-4.7 13.6l43.9 43.9L146.3 824a8.03 8.03 0 000 11.3l42.4 42.3c3.1 3.1 8.2 3.1 11.3 0L333.7 744l43.7 43.7A8.01 8.01 0 00391 783l18.9-160.1c.6-5.1-3.7-9.4-8.8-8.8zm221.8-204.2L783.2 391c6.6-.8 9.4-8.9 4.7-13.6L744 333.6 877.7 200c3.1-3.1 3.1-8.2 0-11.3l-42.4-42.3a8.03 8.03 0 00-11.3 0L690.3 279.9l-43.7-43.7a8.01 8.01 0 00-13.6 4.7L614.1 401c-.6 5.2 3.7 9.5 8.8 8.9zM744 690.4l43.9-43.9a8.01 8.01 0 00-4.7-13.6L623 614c-5.1-.6-9.5 3.7-8.9 8.9L633 783.1c.8 6.6 8.9 9.4 13.6 4.7l43.7-43.7L824 877.7c3.1 3.1 8.2 3.1 11.3 0l42.4-42.3c3.1-3.1 3.1-8.2 0-11.3L744 690.4z"}}]},name:"fullscreen-exit",theme:"outlined"};var ZA=function(e,t){return m.createElement(ke.Z,(0,Ne.Z)((0,Ne.Z)({},e),{},{ref:t,icon:XA}))};ZA.displayName="FullscreenExitOutlined";const QA=m.forwardRef(ZA),JA={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M290 236.4l43.9-43.9a8.01 8.01 0 00-4.7-13.6L169 160c-5.1-.6-9.5 3.7-8.9 8.9L179 329.1c.8 6.6 8.9 9.4 13.6 4.7l43.7-43.7L370 423.7c3.1 3.1 8.2 3.1 11.3 0l42.4-42.3c3.1-3.1 3.1-8.2 0-11.3L290 236.4zm352.7 187.3c3.1 3.1 8.2 3.1 11.3 0l133.7-133.6 43.7 43.7a8.01 8.01 0 0013.6-4.7L863.9 169c.6-5.1-3.7-9.5-8.9-8.9L694.8 179c-6.6.8-9.4 8.9-4.7 13.6l43.9 43.9L600.3 370a8.03 8.03 0 000 11.3l42.4 42.4zM845 694.9c-.8-6.6-8.9-9.4-13.6-4.7l-43.7 43.7L654 600.3a8.03 8.03 0 00-11.3 0l-42.4 42.3a8.03 8.03 0 000 11.3L734 787.6l-43.9 43.9a8.01 8.01 0 004.7 13.6L855 864c5.1.6 9.5-3.7 8.9-8.9L845 694.9zm-463.7-94.6a8.03 8.03 0 00-11.3 0L236.3 733.9l-43.7-43.7a8.01 8.01 0 00-13.6 4.7L160.1 855c-.6 5.1 3.7 9.5 8.9 8.9L329.2 845c6.6-.8 9.4-8.9 4.7-13.6L290 787.6 423.7 654c3.1-3.1 3.1-8.2 0-11.3l-42.4-42.4z"}}]},name:"fullscreen",theme:"outlined"};var eR=function(e,t){return m.createElement(ke.Z,(0,Ne.Z)((0,Ne.Z)({},e),{},{ref:t,icon:JA}))};eR.displayName="FullscreenOutlined";const tR=m.forwardRef(eR),nR={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 512.3v-.3c0-229.8-186.2-416-416-416S96 282.2 96 512v.4c0 229.8 186.2 416 416 416s416-186.2 416-416v-.3.2zm-6.7-74.6l.6 3.3-.6-3.3zM676.7 638.2c53.5-82.2 52.5-189.4-11.1-263.7l162.4-8.4c20.5 44.4 32 93.8 32 145.9 0 185.2-144.6 336.6-327.1 347.4l143.8-221.2zM512 652.3c-77.5 0-140.2-62.7-140.2-140.2 0-77.7 62.7-140.2 140.2-140.2S652.2 434.5 652.2 512 589.5 652.3 512 652.3zm369.2-331.7l-3-5.7 3 5.7zM512 164c121.3 0 228.2 62.1 290.4 156.2l-263.6-13.9c-97.5-5.7-190.2 49.2-222.3 141.1L227.8 311c63.1-88.9 166.9-147 284.2-147zM102.5 585.8c26 145 127.1 264 261.6 315.1C229.6 850 128.5 731 102.5 585.8zM164 512c0-55.9 13.2-108.7 36.6-155.5l119.7 235.4c44.1 86.7 137.4 139.7 234 121.6l-74 145.1C302.9 842.5 164 693.5 164 512zm324.7 415.4c4 .2 8 .4 12 .5-4-.2-8-.3-12-.5z"}}]},name:"chrome",theme:"outlined"};var rR=function(e,t){return m.createElement(ke.Z,(0,Ne.Z)((0,Ne.Z)({},e),{},{ref:t,icon:nR}))};rR.displayName="ChromeOutlined";const iR=m.forwardRef(rR),oR={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M888.3 757.4h-53.8c-4.2 0-7.7 3.5-7.7 7.7v61.8H197.1V197.1h629.8v61.8c0 4.2 3.5 7.7 7.7 7.7h53.8c4.2 0 7.7-3.4 7.7-7.7V158.7c0-17-13.7-30.7-30.7-30.7H158.7c-17 0-30.7 13.7-30.7 30.7v706.6c0 17 13.7 30.7 30.7 30.7h706.6c17 0 30.7-13.7 30.7-30.7V765.1c0-4.3-3.5-7.7-7.7-7.7zm18.6-251.7L765 393.7c-5.3-4.2-13-.4-13 6.3v76H438c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h314v76c0 6.7 7.8 10.5 13 6.3l141.9-112a8 8 0 000-12.6z"}}]},name:"export",theme:"outlined"};var aR=function(e,t){return m.createElement(ke.Z,(0,Ne.Z)((0,Ne.Z)({},e),{},{ref:t,icon:oR}))};aR.displayName="ExportOutlined";const sR=m.forwardRef(aR);var lR=u(2153),cR=u(8770),uR=u(9876),hR=u(2752);const pR=function(e,t,n){for(var r,i=0,o=(r=t,(0,hR.Z)(r,"String")?t.split("."):t);e&&i<o.length;)e=e[o[i++]];return void 0===e||i<o.length?n:e},dR=(e,t)=>(t||[]).filter((t=>{var n;return t.filterKey===e&&(null===(n=t.filteredValues)||void 0===n?void 0:n.length)})).map((e=>e.filteredValues)).flat(),fR=e=>{const t={};return e.forEach((e=>{t[e]=!0})),t},mR={none:"Filter",asc:"SortUp",desc:"SortDown"};class gR extends lR.UhE{constructor(e,t,n,r){super(e,t,n),this.onIconClick=r}drawTextShape(){super.drawTextShape();const{x:e,y:t,width:n,height:r}=this.meta,i=this.getStyle(),o=pR(i,"icon.size"),a=pR(i,"icon.margin"),s=e+n-o-(null==a?void 0:a.right),l=t+r/2-o/2;this.renderFilterIcon({x:s,y:l+2,width:o,height:o})}renderFilterIcon(e){const t=(n=this.meta.value,r=this.spreadsheet.dataCfg.sortParams,pR((r||[]).filter((e=>e.sortFieldId===n)),"[0].sortMethod","NONE")||"NONE");var n,r;const i=((e,t)=>!!(this.spreadsheet.dataCfg.filterParams||[]).filter((t=>{var n;return t.filterKey===e&&(null===(n=t.filteredValues)||void 0===n?void 0:n.length)})).length)(this.meta.value),{x:o,y:a,width:s,height:l}=e,c=new lR.f0h({name:mR[t.toLowerCase()],x:o,y:a,width:s,height:l,fill:i?"#ffc069":"rgba(255, 255, 255, 0.3)",cursor:"pointer"});this.add(c),c.on("click",(()=>{var e;null===(e=this.onIconClick)||void 0===e||e.call(this,{meta:this.meta})}))}}const yR=({fieldName:e,spreadsheet:t,modalCallbackRef:n})=>{const r=g().useMemo((()=>function(e,t){void 0===t&&(t=new Map);var n=[];if(Array.isArray(e))for(var r=0,i=e.length;r<i;r++){var o=e[r];t.has(o)||(n.push(o),t.set(o,!0))}return n}(t.dataSet.originData.slice(1).map((t=>t[e])))),[t.dataSet.originData,e]),{filterParams:i}=t.dataCfg,[o,a]=g().useState(fR(dR(e,i))),[s,l]=g().useState({filter:!1}),[c,u]=g().useState("");(0,m.useEffect)((()=>{a(fR(dR(e,i)))}),[e]);const h=g().useMemo((()=>r.filter((e=>!c||"string"==typeof e&&-1!==e.search(c)))),[c,r,e]);return n.current=()=>{s.filter&&t.emit(lR.ch4.RANGE_FILTER,{filterKey:e,filteredValues:Object.entries(o||{}).map((([e,t])=>{if(t)return e})).filter(Boolean).map((e=>"undefined"===e?void 0:e))}),l({filter:!1})},g().createElement(f.Form,null,g().createElement("p",{className:"gi-tablemode-filter-tip"},C({id:"advance.components.TableMode.FilterPopover.NoteOnlyTheDisplayAnd",dm:"注意:仅控制表格中数据行的显示与隐藏"})),g().createElement(f.Form.Item,{className:"gi-tablemode-filter-item"},g().createElement("div",null,g().createElement(f.Input.Search,{value:c,onChange:e=>(e=>{u(e),l((e=>Object.assign(Object.assign({},e),{filter:!0})));const t={};r.filter((t=>!r.filter((t=>!e||"string"==typeof t&&-1!==t.search(e))).includes(t))).forEach((e=>{t[e]=!0})),a(t)})(e.target.value),placeholder:C({id:"advance.components.TableMode.FilterPopover.EnterASearchKeyword",dm:"请输入搜索关键词"}),className:"search-box"}),g().createElement("div",{className:"gi-tablemode-filter-check-item-list"},g().createElement(f.Checkbox,{className:"check-item",checked:h.every((e=>!o[e])),indeterminate:h.some((e=>!o[e]))&&!h.every((e=>!o[e])),onChange:e=>{const{target:{checked:t}}=e;l((e=>Object.assign(Object.assign({},e),{filter:!0}))),a(t?e=>{const t={};return h.forEach((e=>{t[e]=!1})),t}:e=>{const t={};return h.forEach((e=>{t[e]=!0})),{newValue:t}})}},C({id:"advance.components.TableMode.FilterPopover.SelectAll",dm:"全选"})),h.map((e=>g().createElement(f.Checkbox,{className:"check-item",checked:!o[e],onChange:t=>{l((e=>Object.assign(Object.assign({},e),{filter:!0}))),a((n=>Object.assign(Object.assign({},n),{[e]:!t.target.checked})))}},void 0===e?"-":e)))))))},vR=(e,t)=>{const{updateContext:n,largeGraphData:r,data:i,graph:o}=t;if(r){const t=r.nodes.filter((t=>e.has(t.id))),i=r.edges.filter((t=>e.has(t.target)&&e.has(t.source))),o={nodes:t,edges:i};n((e=>{e.data=o,e.source=o}))}else i.nodes.forEach((t=>{const{id:n}=t,r=o.findById(n);e.has(n)?(r.hasState("disabled")&&o.setItemState(n,"disabled",!1),!r.hasState("selected")&&o.setItemState(n,"selected",!0)):(!r.hasState("disabled")&&o.setItemState(n,"disabled",!0),r.hasState("selected")&&o.setItemState(n,"selected",!1))})),i.edges.forEach((t=>{const{id:n,source:r,target:i}=t;o.setItemState(n,"disabled",!0);const a=o.findById(n);e.has(i)&&e.has(r)?(!a.hasState("selected")&&o.setItemState(n,"selected",!0),a.hasState("disabled")&&o.setItemState(n,"disabled",!1)):(!a.hasState("disabled")&&o.setItemState(n,"disabled",!0),a.hasState("selected")&&o.setItemState(n,"selected",!1))}))},_R=(e,t)=>{const{updateContext:n,largeGraphData:r,data:i,graph:o}=t,a=new Set;if(r){const t=r.edges.filter((t=>!!e.has(t.id)&&(a.add(t.target),a.add(t.source),!0))),i=r.nodes.filter((e=>a.has(e.id))),o={nodes:i,edges:t};n((e=>{e.source=o,e.data=o}))}else i.edges.forEach((t=>{const{id:n,GI_AGGREGATE_ID:r}=t,i=o.findById(n);e.has(r||n)?(i.hasState("disabled")&&o.setItemState(n,"disabled",!1),!i.hasState("selected")&&o.setItemState(n,"selected",!0),a.add(t.target),a.add(t.source)):(!i.hasState("disabled")&&o.setItemState(n,"disabled",!0),i.hasState("selected")&&o.setItemState(n,"selected",!1))})),i.nodes.forEach((e=>{const{id:t}=e,n=o.findById(t);a.has(t)?(n.hasState("disabled")&&o.setItemState(t,"disabled",!1),!n.hasState("selected")&&o.setItemState(t,"selected",!0)):(!n.hasState("disabled")&&o.setItemState(t,"disabled",!0),n.hasState("selected")&&o.setItemState(t,"selected",!1))}))};var bR=u(9479);function ER(e){return{columns:{selectable:!0,items:e.columns.items}}}const TR=e=>{const t={columns:{selectable:!0,items:e.columns.map((e=>({id:e})))}},[n,r]=(0,m.useState)({fields:e,switcherFields:t});(0,m.useEffect)((()=>{(0,bR.isEqual)(n.fields,e)||r((n=>Object.assign(Object.assign({},n),{fields:e,switcherFields:t})))}),[e]);const{fields:i,switcherFields:o}=n;return{fields:i,switcherFields:o,onSwitch:e=>{r((t=>{return Object.assign(Object.assign({},t),{fields:(n=e,{columns:n.columns.items.filter((e=>!1!==e.checked)).map((e=>e.id))}),switcherFields:ER(e)});var n}))}}},xR=(e,t)=>{const n=e[t].reduce(((e,t)=>Object.assign(Object.assign({},e),t.properties)),{});let r=[];for(let e in n)"number"!=typeof n[e]&&"string"!=typeof n[e]||r.push(e);return r},SR=(e,{largeGraphData:t,selectItems:n,graphData:r})=>{let i=r[e];return 0!==n[e].length&&(i=n[e]),t&&(i=t[e]),"nodes"===e?i.map((e=>Object.assign(Object.assign({},e.data),{id:e.id}))):"edges"===e?i.reduce(((e,t)=>{const{aggregate:n}=t;if(n&&n.length>0){const t=n.map((e=>Object.assign(Object.assign({},e.data),{id:e.id})));return[...e,...t]}return[...e,Object.assign(Object.assign({},t.data),{id:t.id})]}),[]):void 0},{TabPane:CR}=f.Tabs,AR={width:0,height:0},RR=(0,m.memo)((e=>{const{isSelectedActive:t,enableCopy:n,exportable:r,enableTabSplitScreen:i,targetWindowPath:o,style:a={}}=e,{graph:s,schemaData:l,largeGraphData:c,data:u}=(0,p.useContext)(),h=(()=>{const[e,t]=(0,m.useState)(!1);return(0,m.useEffect)((()=>{const e=()=>{t((e=>!e))};return window.addEventListener("fullscreenchange",e),()=>{window.removeEventListener("fullscreenchange",e)}}),[]),e})(),d=(0,m.useRef)(null),y=(0,m.useRef)((e=>{})),v={node:(0,m.useRef)(null),edge:(0,m.useRef)(null)},_=(0,lR.XNs)("colorful"),b={name:"colorful",palette:(0,lR.WkR)(Object.assign(Object.assign({},_),{brandColor:"dark"===localStorage.getItem("@theme")?"#1f1f1f":"#3056e3"})),theme:{dataCell:{cell:{interactionState:{selected:{backgroundColor:"#ffa940"}}}}}},[E,T]=Le({supportCSSTransform:!0,showSeriesNumber:!0,interaction:{autoResetSheetStyle:!1},tooltip:{},refreshIndex:9527,colCell:(e,t,n)=>new gR(e,t,n,Z),customSVGIcons:[{name:"Filter",svg:'<svg t="1633848048963" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="85936" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><defs><style type="text/css"></style></defs><path d="M0 0h1024L724.676923 488.369231V1024l-425.353846-141.784615v-393.846154L0 0z" opacity="1" p-id="85937"></path></svg>'}],style:{colCfg:{width:e=>{const{value:t,spreadsheet:n}=e,r=n.dataSet.displayData.map((e=>e[t])),i={fontSize:15};let o=(0,cR.measureTextWidth)(String(t),i)+40,a="none";return r.forEach((e=>{const t=(0,cR.measureTextWidth)(String(e),i);o<t&&(o=t,a=e)})),o},valuesCfg:{showOriginalValue:!0}}}}),[x,S]=Le({nodeTable:null,edgeTable:null}),[A,R]=(0,m.useState)({nodes:[],edges:[]}),[w,L]=(0,m.useState)(!1),[O,N]=(0,m.useState)(""),[I,k]=(0,m.useState)("node"),[D,P]=(0,m.useState)({isPostStart:!1,postParmas:{}}),[M]=f.Form.useForm(),{isPostStart:F,postParmas:H}=D,B=g().useMemo((()=>({columns:xR(l,"nodes")})),[l]),U=g().useMemo((()=>({columns:xR(l,"edges")})),[l]),j=SR("nodes",{selectItems:A,largeGraphData:c,graphData:u}),G=SR("edges",{selectItems:A,largeGraphData:c,graphData:u}),{fields:Y,switcherFields:z,onSwitch:$}=TR(B),{fields:W,switcherFields:V,onSwitch:K}=TR(U),q={fields:Y,data:j},X={fields:W,data:G};((e,t,n)=>{const r=(0,p.useContext)(),{data:i,graph:o,largeGraphData:a,updateContext:s}=r,{nodeTable:l,edgeTable:c}=t;g().useEffect((()=>{l&&l.on(lR.ch4.GLOBAL_SELECTED,(()=>{if(!e||n)return;const t=l.interaction.getCells(),r=new Set;t.forEach((e=>{var t;const{rowIndex:n}=e,i=l.dataSet.getMultiData();if(!i)return;const o=null===(t=i[n])||void 0===t?void 0:t.id;r.add(o)})),vR(r,{updateContext:s,largeGraphData:a,data:i,graph:o})})),c&&c.on(lR.ch4.GLOBAL_SELECTED,(()=>{if(!e||n)return;const t=c.interaction.getCells(),r=new Set;t.forEach((e=>{const{rowIndex:t}=e,n=c.dataSet.getMultiData();if(!n)return;const i=n[t],{id:o,GI_AGGREGATE_ID:a}=i;r.add(a||o)})),_R(r,{updateContext:s,largeGraphData:a,data:i,graph:o})}));const t=e=>{const{payload:t,type:n}=e.data;"GI_TABLEMODE_SELECT"===n&&t&&t.selectedNodes&&vR(t.selectedNodes,{updateContext:s,largeGraphData:a,data:i,graph:o})},r=e=>{const{payload:t,type:n}=e.data;"GI_TABLEMODE_SELECT"===n&&t.selectedEdges&&_R(t.selectedEdges,{updateContext:s,largeGraphData:a,data:i,graph:o})};return window.addEventListener("message",t),window.addEventListener("message",r),()=>{null==l||l.off(lR.ch4.GLOBAL_SELECTED),null==c||c.off(lR.ch4.GLOBAL_SELECTED),window.removeEventListener("message",r),window.removeEventListener("message",t)}}),[e,a,i,l,c,n,s,o])})(t,x,h),g().useEffect((()=>{const e=()=>{var e,t,n,r;null===(e=x.nodeTable)||void 0===e||e.interaction.reset(),null===(t=x.edgeTable)||void 0===t||t.interaction.reset(),null===(n=d.current)||void 0===n||n.postMessage({type:"TABS_TABLEMODE_CLEAR",payload:{}}),0===A.nodes.length&&0===A.edges.length||(null===(r=d.current)||void 0===r||r.postMessage({type:"TABS_TABLEMODE_SELECT",payload:{selectItems:{nodes:[],edges:[]}}}),R({nodes:[],edges:[]}))};return s.on("canvas:click",e),()=>{s.off("canvas:click",e)}}),[x.nodeTable,x.edgeTable,A]),g().useEffect((()=>{s.on("nodeselectchange",(e=>{var t;const{selectedItems:n,select:r}=e;if(!r)return;const{nodes:i,edges:o}=n,a=o.reduce(((e,t)=>{const n=t.getModel();return n.aggregate?[...e,...n.aggregate]:[...e,n]}),[]),s={nodes:i.map((e=>e.getModel())),edges:a};null===(t=d.current)||void 0===t||t.postMessage({type:"TABS_TABLEMODE_SELECT",payload:{selectItems:s}}),R(s)})),s.on("edge:click",(e=>{var t;if(!e.item)return;const n=e.item.getModel();R((e=>Object.assign(Object.assign({},e),{edges:n.aggregate?n.aggregate:[n]}))),null===(t=d.current)||void 0===t||t.postMessage({type:"TABS_TABLEMODE_SELECT",payload:{selectItems:{nodes:[],edges:n.aggregate?n.aggregate:[n]}}})}))}),[R,s]);const Z=({meta:e})=>{N(e.value),L(!w)};g().useEffect((()=>{if(!F)return;const e=window.location.origin+o,t=window.open(e,"_black");d.current=t;const n=n=>{"GI_TABLEMODE_READY"===n.data.type&&n.data.payload.isReady&&(null==t||t.postMessage({type:"TABS_TABLEMODE_INIT",payload:H},e))};return window.addEventListener("message",n),()=>{window.removeEventListener("message",n)}}),[F,H]);const Q=[g().createElement(f.Button,{key:"fullScreen",type:"text",icon:h?g().createElement(QA,null):g().createElement(tR,null),onClick:()=>{const e=document.getElementById("gi-table-mode");h?document.exitFullscreen():e.requestFullscreen()}}),i&&g().createElement(f.Tooltip,{title:C({id:"advance.components.TableMode.Component.UseANewBrowserTab",dm:"使用浏览器新页签打开,分屏操作更高效"}),key:"tabSplitScreen"},g().createElement(f.Button,{type:"text",icon:g().createElement(iR,null),onClick:()=>{const e={options:{supportCSSTransform:!0,showSeriesNumber:!0,interaction:{autoResetSheetStyle:!1}},largeGraphData:c,graphData:u,NODES_FIELDS_COLUMNS:B.columns,EDGES_FIELDS_COLUMNS:U.columns};P({isPostStart:!0,postParmas:e})}})),r&&g().createElement(f.Tooltip,{title:C({id:"advance.components.TableMode.Component.ExportPointEdgeData",dm:"导出点边数据"}),key:"export"},g().createElement(f.Button,{type:"text",icon:g().createElement(sR,null),onClick:()=>{try{Object.keys(x).forEach((e=>{const t=(0,lR.F1h)(x[e],",",!0);(0,lR.LRf)(t,e)})),f.message.success(C({id:"advance.components.TableMode.Component.ExportedSuccessfully",dm:"导出成功"}))}catch(e){console.log(e),f.message.error(C({id:"advance.components.TableMode.Component.ExportFailed",dm:"导出失败"}))}}}))].filter(Boolean),J=g().createElement(g().Fragment,null,Q);(0,m.useEffect)((()=>{T((e=>{e.interaction.enableCopy=n,e.interaction.copyWithHeader=n}))}),[n]),(0,m.useEffect)((()=>{const e=document.getElementById("gi-table-mode"),t=e.clientWidth,n=e.clientHeight||500,r=!AR.width||!AR.height;9527===E.refreshIndex||r?T((r=>{r.tooltip.getContainer=()=>e,0===t||0===n?r.refreshIndex=Math.random():(r.width=t,r.height=n,AR.width=t,AR.height=n)})):T((e=>{e.width=AR.width,e.height=AR.height}))}),[E.refreshIndex]);const ee=g().createElement(f.Button,{size:"small",style:{position:"absolute",right:30*Q.length+10+"px",top:"-51px"}},C({id:"advance.components.TableMode.Component.CustomColumns",dm:"自定义列"})),te=(0,m.useMemo)((()=>g().createElement(f.Modal,{title:`${"node"===I?"节点":"边"} ${O} 值筛选`,visible:w,className:"antv-s2-data-preview-demo-modal",onCancel:()=>{L(!1),M.resetFields()},onOk:()=>{y.current(),L(!1)}},g().createElement(yR,{spreadsheet:v[I].current,fieldName:O,modalCallbackRef:y}))),[I,O,w]);return g().createElement("div",{className:"gi-table-mode",id:"gi-table-mode",style:Object.assign({width:"100%",height:"100%"},a)},g().createElement(f.Tabs,{tabPosition:"top",tabBarExtraContent:J,destroyInactiveTabPane:!0,centered:!0,onChange:k},g().createElement(CR,{tab:C({id:"advance.components.TableMode.Component.PointTable",dm:"点表"}),key:"node",forceRender:!0},g().createElement(uR.T5,Object.assign({sheetType:"table"},z,{onSubmit:$,contentTitleText:C({id:"advance.components.TableMode.Component.CustomColumns",dm:"自定义列"}),title:ee})),g().createElement(uR.dZ,{getSpreadSheet:e=>{S((t=>{t.nodeTable=e}))},ref:v.node,adaptive:!0,options:E,dataCfg:q,sheetType:"table",themeCfg:b})),g().createElement(CR,{tab:C({id:"advance.components.TableMode.Component.EdgeTable",dm:"边表"}),key:"edge",forceRender:!0},g().createElement(uR.T5,Object.assign({sheetType:"table"},V,{onSubmit:K,contentTitleText:C({id:"advance.components.TableMode.Component.CustomColumns",dm:"自定义列"}),title:ee})),g().createElement(uR.dZ,{getSpreadSheet:e=>{S((t=>{t.edgeTable=e}))},ref:v.edge,adaptive:!0,options:E,dataCfg:X,sheetType:"table",themeCfg:b}))),te)})),wR={id:"TableMode",name:C({id:"advance.components.TableMode.info.TableMode",dm:"表格模式"}),desc:C({id:"advance.components.TableMode.info.ShowNodesAndEdgesIn",dm:"将画布中的节点和边以表格形式展示"}),icon:"icon-table",cover:"http://xxxx.jpg",category:"data-analysis",type:"GIAC_CONTENT",docs:"https://www.yuque.com/antv/gi/gs2fcb"},{deepClone:LR,GIAC_CONTENT_METAS:OR}=p.extra,NR=LR(OR);NR.GIAC_CONTENT.properties.GIAC_CONTENT.properties.title.default=wR.name,NR.GIAC_CONTENT.properties.GIAC_CONTENT.properties.icon.default=wR.icon,NR.GIAC_CONTENT.properties.GIAC_CONTENT.properties.tooltip.default=wR.desc,NR.GIAC_CONTENT.properties.GIAC_CONTENT.properties.containerWidth.default="400px";const IR={component:RR,registerMeta:({schemaData:e})=>Object.assign({enableCopy:{title:C({id:"advance.components.TableMode.registerMeta.CopySelectedContent",dm:"复制选中内容"}),type:"boolean","x-decorator":"FormItem","x-component":"Switch",default:!0},exportable:{title:C({id:"advance.components.TableMode.registerMeta.SupportsExportingData",dm:"支持导出数据"}),type:"boolean","x-decorator":"FormItem","x-component":"Switch",default:!0},enableTabSplitScreen:{title:C({id:"advance.components.TableMode.registerMeta.SupportTabSplitScreen",dm:"支持页签分屏"}),type:"boolean","x-decorator":"FormItem","x-component":"Switch",default:!0},isSelectedActive:{title:C({id:"advance.components.TableMode.registerMeta.ElementSelectionHighlight",dm:"元素选中高亮"}),type:"boolean","x-decorator":"FormItem","x-component":"Switch",default:!0},targetWindowPath:{title:C({id:"advance.components.TableMode.registerMeta.SplitTabRouting",dm:"分屏页签路由"}),type:"string","x-component":"Input","x-decorator":"FormItem",default:"/#/tabs/table"}},NR),info:wR},kR={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"};var DR=function(e,t){return m.createElement(ke.Z,(0,Ne.Z)((0,Ne.Z)({},e),{},{ref:t,icon:kR}))};DR.displayName="LeftOutlined";const PR=m.forwardRef(DR);var MR=u(6541),FR=function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){e.done?i(e.value):function(e){return e instanceof n?e:new n((function(t){t(e)}))}(e.value).then(a,s)}l((r=r.apply(e,t||[])).next())}))};const HR=()=>[{id:"MOCK/getThemes",service:()=>FR(void 0,void 0,void 0,(function*(){const{GI_SITE_PROJECT_ID:e}=p.utils.getServerEngineContext(),{GI_PROJECT_DB:t}=window;return{success:!0,data:(yield t.getItem(e)).themes||[]}}))},{id:"MOCK/addTheme",service:e=>FR(void 0,void 0,void 0,(function*(){const{GI_SITE_PROJECT_ID:t}=p.utils.getServerEngineContext(),{GI_PROJECT_DB:n}=window,r=yield n.getItem(t),i=[...r.themes||[],e];return n.setItem(t,Object.assign(Object.assign({},r),{themes:i})),{success:!0,msg:C({id:"advance.components.ThemeSetting.mockServices.TheThemeHasBeenCreated",dm:"主题创建成功!"}),data:[...i]}}))},{id:"MOCK/updateTheme",service:(e,t)=>FR(void 0,void 0,void 0,(function*(){const{GI_SITE_PROJECT_ID:n}=p.utils.getServerEngineContext(),{GI_PROJECT_DB:r}=window,i=yield r.getItem(n),o=i.themes||[],a=o.findIndex((t=>t.id===e));return-1!==a?(o[a]=t,r.setItem(n,Object.assign(Object.assign({},i),{themes:o})),{success:!0,msg:C({id:"advance.components.ThemeSetting.mockServices.TheTopicHasBeenUpdated",dm:"主题更新成功"}),data:[...o]}):{sucess:!1,msg:C({id:"advance.components.ThemeSetting.mockServices.TheTopicDoesNotExist",dm:"主题不存在"})}}))},{id:"MOCK/removeTheme",service:e=>FR(void 0,void 0,void 0,(function*(){const{GI_SITE_PROJECT_ID:t}=p.utils.getServerEngineContext(),{GI_PROJECT_DB:n}=window,r=yield n.getItem(t),i=r.themes.filter((t=>t.id!==e));return n.setItem(t,Object.assign(Object.assign({},r),{themes:i})),{success:!0,msg:C({id:"advance.components.ThemeSetting.mockServices.DeletedSuccessfully",dm:"删除成功"}),data:i}}))}];const BR=C({id:"advance.components.ThemeSetting.AddOrUpdateTheme.ConfigureTheCanvasBackgroundStyle",dm:"请在【画布设置】资产中配置画布背景样式,在【样式设置】资产或左侧配置面板中配置元素样式"}),UR=C({id:"advance.components.ThemeSetting.AddOrUpdateTheme.ModifyTheCanvasBackgroundStyle",dm:"请在【画布设置】资产中修改画布背景样式,在【样式设置】资产或左侧修改面板中配置元素样式"}),jR=e=>{var t,n;const{updateState:r,status:i,currentTheme:o}=e,{graph:a,config:s,GISDK_ID:l,services:c}=(0,p.useContext)(),u=a.toDataURL("image/jpeg","#fff"),[h]=f.Form.useForm(),d=HR()[1].service,m=HR()[2].service,y=()=>{r((e=>{e.status="show"}))};return g().createElement("div",{className:"add-theme"},g().createElement("header",null,g().createElement(f.Button,{type:"text",icon:g().createElement(PR,{style:{fontSize:"18x"}}),onClick:y}),g().createElement("span",{className:"title"},C("add"===i?{id:"advance.components.ThemeSetting.AddOrUpdateTheme.CreateATopic",dm:"创建主题"}:{id:"advance.components.ThemeSetting.AddOrUpdateTheme.EditTopic",dm:"编辑主题"}))),g().createElement(f.Form,{layout:"vertical",form:h},g().createElement(f.Form.Item,{label:C({id:"advance.components.ThemeSetting.AddOrUpdateTheme.TopicName",dm:"主题名称"}),name:"name"},g().createElement(f.Input,{defaultValue:null==o?void 0:o.name})),g().createElement(f.Form.Item,{label:C({id:"advance.components.ThemeSetting.AddOrUpdateTheme.Description",dm:"描述"})},g().createElement(f.Alert,{message:"add"===i?BR:UR,type:"info"})),g().createElement(f.Form.Item,{label:C({id:"advance.components.ThemeSetting.AddOrUpdateTheme.ThemeStyle",dm:"主题样式"})},g().createElement("div",{className:"theme-style"},g().createElement(f.List,{header:g().createElement("span",{style:{fontWeight:"bold"}},C({id:"advance.components.ThemeSetting.AddOrUpdateTheme.NodeStyle",dm:"节点样式"})),style:{padding:"10px",boxShadow:"0px 0px 4px rgb(0 0 0 / 10%)",borderRadius:"4px"}},null===(t=s.nodes)||void 0===t?void 0:t.map((e=>g().createElement(f.List.Item,{extra:g().createElement(MR.Z,{color:e.props.color})},e.groupName)))),g().createElement(f.List,{header:g().createElement("span",{style:{fontWeight:"bold"}},C({id:"advance.components.ThemeSetting.AddOrUpdateTheme.EdgeStyle",dm:"边样式"})),style:{padding:"10px",boxShadow:"0px 0px 4px rgb(0 0 0 / 10%)",borderRadius:"4px",marginTop:"10px"}},null===(n=s.edges)||void 0===n?void 0:n.map((e=>g().createElement(f.List.Item,{extra:g().createElement(MR.Z,{color:e.props.color})},e.groupName)))))),g().createElement(f.Form.Item,null,g().createElement(f.Button,{type:"primary",style:{width:"100%"},onClick:()=>function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){e.done?i(e.value):function(e){return e instanceof n?e:new n((function(t){t(e)}))}(e.value).then(a,s)}l((r=r.apply(e,t||[])).next())}))}(void 0,void 0,void 0,(function*(){const e=h.getFieldValue("name")||(null==o?void 0:o.name),t=s.nodes,n=s.edges,a=document.getElementById(`${l}-graphin-container`),c=a.firstElementChild;let p={backgroundColor:"",backgroundImage:""};if(a&&c&&(p={backgroundColor:c.style.backgroundColor,backgroundImage:c.style.backgroundImage}),"add"===i){const i=((e=21)=>crypto.getRandomValues(new Uint8Array(e)).reduce(((e,t)=>e+((t&=63)<36?t.toString(36):t<62?(t-26).toString(36).toUpperCase():t>62?"-":"_")),""))(),o=yield d({id:i,name:e,cover:u,nodesConfig:t,edgesConfig:n,canvasConfig:p});o.success&&(f.message.success(o.msg),r((e=>{e.themes=o.data})),y())}else if("update"===i){const i=yield m(o.id,{id:null==o?void 0:o.id,name:e,cover:u,nodesConfig:t,edgesConfig:n,canvasConfig:p});i.success?(f.message.success(i.msg),r((e=>{e.themes=i.data})),y()):f.message.error(i.msg)}}))},C("add"===i?{id:"advance.components.ThemeSetting.AddOrUpdateTheme.CreateNow",dm:"立即创建"}:{id:"advance.components.ThemeSetting.AddOrUpdateTheme.ConfirmEditing",dm:"确认编辑"})))))};const GR=(0,m.memo)((e=>{const{serviceId:t}=e,{graph:n,GISDK_ID:r,config:i,services:o,schema:a,updateContext:s}=(0,p.useContext)(),l=HR()[0].service,c=HR()[2].service,[u,h]=Le({themes:[],currentThemeId:"",status:"show"}),d=e=>g().createElement(f.Menu,{onClick:({domEvent:e})=>{e.stopPropagation()}},g().createElement(f.Menu.Item,null,g().createElement(f.Popconfirm,{title:C({id:"advance.components.ThemeSetting.Component.DeleteTheTopic",dm:"是否删除该主题?"}),onConfirm:t=>{var n;n=e.id,function(e,t,n,r){new(n||(n=Promise))((function(i,o){function a(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){e.done?i(e.value):function(e){return e instanceof n?e:new n((function(t){t(e)}))}(e.value).then(a,s)}l((r=r.apply(e,t||[])).next())}))}(void 0,void 0,void 0,(function*(){const e=yield c(n);e.success&&h((t=>{t.themes=e.data}))})),t.preventDefault()},okText:"Yes",cancelText:"No"},C({id:"advance.components.ThemeSetting.Component.DeleteATopic",dm:"删除主题"}))),g().createElement(f.Menu.Item,{onClick:()=>{m(e),h((t=>{t.status="update",t.currentThemeId=e.id,t.currentTheme=e}))}},C({id:"advance.components.ThemeSetting.Component.EditTopic",dm:"编辑主题"}))),m=e=>{const{nodesConfig:t,edgesConfig:n,canvasConfig:i}=e,o=document.getElementById(`${r}-graphin-container`),a=o.firstElementChild;if(o&&a){const{backgroundColor:e}=i,{backgroundImage:t}=i;a.style.background=e,a.style.backgroundImage=t}s((e=>{e.config=Object.assign(Object.assign({},e.config),{nodes:t,edges:n})})),h((t=>{t.currentThemeId=e.id}))};return g().useEffect((()=>{try{l().then((e=>{e.success&&h((t=>{t.themes=e.data}))}))}catch(e){console.error("valid service")}}),[]),g().createElement("div",{className:"gi-theme-setting"},"show"===u.status&&g().createElement("div",{className:"theme-list"},g().createElement(f.Row,{gutter:[10,10]},g().createElement(f.Col,{span:12},g().createElement(f.Card,{hoverable:!0,onClick:()=>h((e=>{e.status="add"}))},g().createElement("span",{className:"name"},C({id:"advance.components.ThemeSetting.Component.CreateATopic",dm:"创建主题"})))),u.themes.map(((e,t)=>{const n=e.primaryColor||"#fff",r=n.replace("rgb","rgba"),i=n.includes("#")||n.includes("rgba")?n:`${r.substring(0,r.length-1)}, 0.1)`;return g().createElement(f.Col,{span:12},g().createElement(f.Card,{hoverable:!0,onClick:()=>m(e),style:{position:"relative",border:u.currentThemeId===e.id?"#3056e3 1px solid":"",background:i,color:n===i?"rgba(0, 0, 0, 0.85)":n}},g().createElement("span",{className:"name"},e.name||C({id:"advance.components.ThemeSetting.Component.CustomTheme",dm:"自定义主题"})),g().createElement(f.Dropdown,{overlay:d(e)},g().createElement(f.Button,{type:"text",icon:g().createElement(Yt,null),style:{position:"absolute",right:"-1px"},onClick:e=>{e.stopPropagation()}}))))})))),"show"!==u.status&&g().createElement(jR,{status:u.status,currentTheme:u.currentTheme,updateState:h}))})),YR={id:"ThemeSetting",name:C({id:"advance.components.ThemeSetting.info.ThemeSettings",dm:"主题设置"}),desc:C({id:"advance.components.ThemeSetting.info.YouCanConfigureThemeStyles",dm:"可以自主配置主题样式"}),icon:"icon-theme",cover:"http://xxxx.jpg",category:"workbook",type:"GIAC_CONTENT",services:["AddTheme","RemoveTheme","GetTheme","UpdateTheme"],docs:"https://www.yuque.com/antv/gi/ua0gy9t0clagrygi"},{deepClone:zR,GIAC_CONTENT_METAS:$R}=p.extra,WR=zR($R);WR.GIAC_CONTENT.properties.GIAC_CONTENT.properties.title.default=YR.name,WR.GIAC_CONTENT.properties.GIAC_CONTENT.properties.icon.default=YR.icon,WR.GIAC_CONTENT.properties.GIAC_CONTENT.properties.tooltip.default=YR.desc,WR.GIAC_CONTENT.properties.GIAC_CONTENT.properties.containerWidth.default="400px";const VR={component:GR,registerMeta:({services:e})=>(e.map((e=>({value:e.id,label:e.id}))),Object.assign({getThemeServiceId:{title:C({id:"advance.components.ThemeSetting.registerMeta.GetThemeServices",dm:"获取主题服务"}),type:"string","x-decorator":"FormItem","x-component":"Select","x-component-props":{options:p.utils.getServiceOptions(e,"GetTheme")},default:"GI/GetTheme"},addThemeServiceId:{title:C({id:"advance.components.ThemeSetting.registerMeta.AddThemeService",dm:"添加主题服务"}),type:"string","x-decorator":"FormItem","x-component":"Select","x-component-props":{options:p.utils.getServiceOptions(e,"AddTheme")},default:"GI/AddTheme"},removeThemeServiceId:{title:C({id:"advance.components.ThemeSetting.registerMeta.DeleteAThemeService",dm:"删除主题服务"}),type:"string","x-decorator":"FormItem","x-component":"Select","x-component-props":{options:p.utils.getServiceOptions(e,"RemoveTheme")},default:"GI/RemoveTheme"}},WR)),mockServices:HR,info:YR},{GIAComponent:KR}=p.extra,qR=(0,m.memo)((e=>{const{GIAC:t}=e,{undo:n,undoStack:r}=kt();return g().createElement(KR,{GIAC:Object.assign(Object.assign({},t),{disabled:r.length<3}),onClick:n})})),XR={id:"Undo",name:C({id:"advance.components.Undo.info.Revoke",dm:"撤销"}),desc:C({id:"advance.components.Undo.info.UndoTheCanvasReturnsTo",dm:"撤销,画布返回上一步状态"}),cover:C({id:"advance.components.Undo.info.Revoke",dm:"撤销"}),category:"canvas-interaction",type:"GIAC",icon:"icon-undo",docs:"https://www.yuque.com/antv/gi/qe8vp7n9snmv54qn"},{GIAC_METAS:ZR,deepClone:QR}=p.extra,JR=QR(ZR);JR.GIAC.properties.GIAC.properties.title.default=XR.name,JR.GIAC.properties.GIAC.properties.isShowTitle.default=!1,JR.GIAC.properties.GIAC.properties.icon.default=XR.icon;const ew={info:XR,component:qR,registerMeta:()=>Object.assign({},JR)},tw={name:C({id:"advance.src.services.CypherQuery.StatementQuery",dm:"语句查询"}),service:e=>{console.log(C({id:"advance.src.services.CypherQuery.QueryParameters",dm:"查询参数"}),e);const t=Ot.Utils.mock(Math.round(100*Math.random())).tree().graphin();return f.notification.info({message:C({id:"advance.src.services.CypherQuery.QuerySucceeded",dm:"查询成功"}),description:C({id:"advance.src.services.CypherQuery.TheCurrentQueryRequestIs",dm:"当前的查询请求是 MOCK 的,请搭配图数据库使用。"})}),new Promise((e=>e(t)))}},nw={name:C({id:"advance.src.services.GremlinQuery.GremlinQuery",dm:"Gremlin 查询"}),service:e=>{const t="mock_gremlin_query",n={nodes:[{id:t,type:"user"},{id:`${t}-family`,type:"user"},{id:`${t}-card`,type:"card"}],edges:[{source:t,target:`${t}-family`,type:"family"},{source:t,target:`${t}-card`,type:"own"}]};return new Promise((e=>e({success:!0,data:n})))}};var rw=function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){e.done?i(e.value):function(e){return e instanceof n?e:new n((function(t){t(e)}))}(e.value).then(a,s)}l((r=r.apply(e,t||[])).next())}))};const iw={name:C({id:"advance.src.services.HistoryAnalyseService.SaveAnalysisLinkTemplate",dm:"保存分析链路模版"}),service:e=>rw(void 0,void 0,void 0,(function*(){const{GI_SITE_PROJECT_ID:t}=p.utils.getProjectContext();let n;try{const{GI_PROJECT_DB:r}=window,i=yield r.getItem(t),{_history_template:o=[]}=i||{};o.push(e),r.setItem(t,Object.assign(Object.assign({},i),{_history_template:o})),n=!0}catch(e){n=!1}return new Promise((t=>t({success:n,message:C({id:"advance.src.services.HistoryAnalyseService.TheDefaultSaveAnalysisLink",dm:"GI 默认提供的保存分析链路服务"}),data:e})))}))},ow={name:C({id:"advance.src.services.HistoryAnalyseService.DeleteAnAnalysisLinkTemplate",dm:"删除分析链路模版"}),service:e=>rw(void 0,void 0,void 0,(function*(){const{GI_SITE_PROJECT_ID:t}=p.utils.getProjectContext();let n;try{const{GI_PROJECT_DB:n}=window,r=yield n.getItem(t),{_history_template:i}=r||{},{ids:o}=e;(null==o?void 0:o.length)&&(null==i?void 0:i.length)&&(o.forEach((e=>{const t=i.find((t=>t.id===e));if(t){const e=i.indexOf(t);i.splice(e,1)}})),n.setItem(t,Object.assign(Object.assign({},r),{_history_template:i})))}catch(e){n=e}return new Promise((t=>t({success:!n,message:C({id:"advance.src.services.HistoryAnalyseService.TheDeleteAnalysisLinkService",dm:"GI 默认提供的删除分析链路服务。错误信息:{successMsg}"},{successMsg:n}),data:e})))}))},aw={name:C({id:"advance.src.services.HistoryAnalyseService.QueryTheListOfHistorical",dm:"查询历史分析链路模版列表"}),service:()=>rw(void 0,void 0,void 0,(function*(){const{GI_SITE_PROJECT_ID:e}=p.utils.getProjectContext(),{GI_PROJECT_DB:t}=window,n=(yield t.getItem(e))._history_template||[];return new Promise((e=>e({success:!0,message:C({id:"advance.src.services.HistoryAnalyseService.TheQueryHistoryAnalysisLink",dm:"GI 默认提供的查询历史分析链路模版服务"}),data:n})))}))};const sw={name:C({id:"advance.src.services.StyleSetting.StyleSettings",dm:"样式设置"}),service:(e,t)=>function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){e.done?i(e.value):function(e){return e instanceof n?e:new n((function(t){t(e)}))}(e.value).then(a,s)}l((r=r.apply(e,t||[])).next())}))}(void 0,void 0,void 0,(function*(){const{GI_SITE_PROJECT_ID:n}=p.utils.getProjectContext();if(n){const{localforage:r}=window,i=yield null==r?void 0:r.getItem(n);i.projectConfig[t]=e,r.setItem(n,Object.assign({},i))}return e}))};var lw=function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){e.done?i(e.value):function(e){return e instanceof n?e:new n((function(t){t(e)}))}(e.value).then(a,s)}l((r=r.apply(e,t||[])).next())}))};const cw=[{queryTemplate:"g.V({{ID}})",templateId:"3283",graphLanguageType:"GREMLIN",templateName:"defaultTemplateName",templateParameterList:[{parameterName:"ID",parameterValue:"1",valueType:"STRING"}]},{queryTemplate:"MATCH n RETURN n LIMIT {{count}}",templateId:"13283",graphLanguageType:"CYPHER",templateName:"defaultTemplateName",templateParameterList:[{parameterName:"count",parameterValue:"1",valueType:"STRING"}]}],uw={name:C({id:"advance.src.services.TemplateService.PublishTemplate",dm:"发布模板"}),service:e=>lw(void 0,void 0,void 0,(function*(){const{GI_SITE_PROJECT_ID:t}=p.utils.getProjectContext(),{localforage:n}=window,r=yield n.getItem(t),i=[...r&&r._gremlin_template?r._gremlin_template:[],Object.assign(Object.assign({},e),{templateId:Math.random().toString(36).slice(3)})];return n.setItem(t,Object.assign(Object.assign({},r),{_gremlin_template:i})),new Promise((t=>t({success:!0,message:C({id:"advance.src.services.TemplateService.GiDefaultServiceForPublishing",dm:"GI 默认提供的发布模板的服务"}),data:e})))}))},hw={name:C({id:"advance.src.services.TemplateService.QueryTemplateList",dm:"查询模板列表"}),service:()=>lw(void 0,void 0,void 0,(function*(){const{GI_SITE_PROJECT_ID:e}=p.utils.getProjectContext(),{localforage:t}=window,n=(yield t.getItem(e))._gremlin_template||[cw];return new Promise((e=>e({success:!0,message:C({id:"advance.src.services.TemplateService.GiDefaultServiceForPublishing",dm:"GI 默认提供的发布模板的服务"}),data:n})))}))},pw={name:C({id:"advance.src.services.TemplateService.ExecuteTemplateQuery",dm:"执行模板查询"}),service:e=>{console.log(C({id:"advance.src.services.TemplateService.ExecuteTemplateQueryParameters",dm:"执行模板查询参数"}),e);const t="mock_template_query",n={nodes:[{id:t,type:"user"},{id:`${t}-family`,type:"user"},{id:`${t}-card`,type:"card"}],edges:[{source:t,target:`${t}-family`,type:"family"},{source:t,target:`${t}-card`,type:"own"}]};return new Promise((e=>e({success:!0,data:n})))}};var dw=function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){e.done?i(e.value):function(e){return e instanceof n?e:new n((function(t){t(e)}))}(e.value).then(a,s)}l((r=r.apply(e,t||[])).next())}))};const fw={name:C({id:"advance.src.services.ThemeSetting.AddTopic",dm:"添加主题"}),service:e=>dw(void 0,void 0,void 0,(function*(){const{GI_SITE_PROJECT_ID:t}=p.utils.getProjectContext(),{localforage:n}=window,r=yield n.getItem(t),i=[...r.themes||[],e];return n.setItem(t,Object.assign(Object.assign({},r),{themes:i})),{success:!0,msg:C({id:"advance.src.services.ThemeSetting.TheThemeHasBeenCreated",dm:"主题创建成功!"}),data:[...i]}}))},mw={name:C({id:"advance.src.services.ThemeSetting.GetTopics",dm:"获取主题"}),service:()=>dw(void 0,void 0,void 0,(function*(){const{GI_SITE_PROJECT_ID:e}=p.utils.getProjectContext(),{localforage:t}=window;return{success:!0,data:(yield t.getItem(e)).themes||[]}}))},gw={name:C({id:"advance.src.services.ThemeSetting.UpdateTopic",dm:"更新主题"}),service:(e,t)=>dw(void 0,void 0,void 0,(function*(){const{GI_SITE_PROJECT_ID:n}=p.utils.getProjectContext(),{localforage:r}=window,i=yield r.getItem(n),o=i.themes||[],a=o.findIndex((t=>t.id===e));return-1!==a?(o[a]=t,r.setItem(n,Object.assign(Object.assign({},i),{themes:o})),{success:!0,msg:C({id:"advance.src.services.ThemeSetting.TheTopicHasBeenUpdated",dm:"主题更新成功"}),data:[...o]}):{sucess:!1,msg:C({id:"advance.src.services.ThemeSetting.TheTopicDoesNotExist",dm:"主题不存在"})}}))},yw={name:C({id:"advance.src.services.ThemeSetting.DeleteATopic",dm:"删除主题"}),service:e=>dw(void 0,void 0,void 0,(function*(){const{GI_SITE_PROJECT_ID:t}=p.utils.getProjectContext(),{localforage:n}=window,r=yield n.getItem(t),i=r.themes.filter((t=>t.id!==e));return n.setItem(t,Object.assign(Object.assign({},r),{themes:i})),{success:!0,msg:C({id:"advance.src.services.ThemeSetting.DeletedSuccessfully",dm:"删除成功"}),data:i}}))},vw={id:"GI",services:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},o),c),s),l),i),a)}})(),h})()));
|