{"version":3,"file":"2892.b8b8cd5c2b1df51e3492.js","mappings":"sFAwWAA,EAAOC,QA/VP,SAAgBC,GACd,MAAMC,EAAW,yBACXC,EAAW,CACfC,QAAS,CACP,KACA,MACA,QACA,MACA,MACA,WACA,KACA,SACA,OACA,OACA,SAEFC,QAAS,CACP,YACA,cACA,QACA,eACA,WACA,MACA,UACA,OACA,KACA,cACA,MACA,iBACA,OACA,aAEFC,SAAU,CACR,MACA,OACA,MACA,QACA,MACA,OACA,eACA,QACA,OACA,OACA,QACA,cACA,UACA,OACA,UACA,UACA,SACA,iBACA,OACA,WACA,OACA,cACA,UACA,YACA,WACA,mBACA,MACA,QACA,UACA,MACA,OACA,UACA,WACA,MACA,SACA,eACA,UACA,kBACA,aACA,aACA,WACA,WACA,mBACA,WACA,SACA,aACA,aACA,qBACA,SACA,QACA,MACA,UACA,SACA,UACA,aACA,0BACA,iBACA,mBACA,yBACA,+BACA,SACA,OACA,QACA,QACA,eACA,gBACA,WACA,aACA,aACA,WACA,gBACA,UACA,UACA,OACA,OACA,SACA,OACA,MACA,WACA,UACA,SACA,eACA,aACA,UACA,QACA,WACA,UACA,aACA,UACA,qBACA,WACA,SACA,SACA,WACA,iBACA,MACA,QACA,MACA,MACA,OACA,MACA,cACA,MACA,SACA,QACA,wBACA,aACA,oBACA,OACA,MACA,SACA,WACA,UACA,WACA,QACA,UACA,WACA,MACA,SACA,MACA,SACA,OACA,SACA,SACA,SACA,UACA,SACA,UACA,UACA,kBACA,SACA,QACA,SACA,SACA,cACA,WACA,MACA,QACA,OACA,SACA,QACA,OACA,QACA,cACA,cACA,WACA,MACA,sBACA,MACA,OACA,YACA,aACA,cACA,QACA,QACA,UACA,QACA,UACA,QACA,sBACA,0BACA,2BACA,uBACA,oBACA,mBACA,kBACA,sBACA,gBACA,mBACA,sBACA,aACA,eACA,mBACA,iBACA,cACA,OACA,SACA,QACA,QACA,YACA,WACA,OACA,UACA,OACA,SACA,SAOEC,EAAS,CACbC,UAAW,SACXC,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,SACXE,MAAO,KACPI,IAAK,KACLgB,cAAc,EACdC,YAAY,EACZf,SAAUM,IAGda,QAAS,QAEX,CAAEzB,MAAO,WAEXyB,QAAS","sources":["webpack://telegram-t/./node_modules/highlight.js/lib/languages/arcade.js"],"sourcesContent":["/*\n Language: ArcGIS Arcade\n Category: scripting\n Author: John Foster \n Website: https://developers.arcgis.com/arcade/\n Description: ArcGIS Arcade is an expression language used in many Esri ArcGIS products such as Pro, Online, Server, Runtime, JavaScript, and Python\n*/\n\n/** @type LanguageFn */\nfunction arcade(hljs) {\n const IDENT_RE = '[A-Za-z_][0-9A-Za-z_]*';\n const KEYWORDS = {\n keyword: [\n \"if\",\n \"for\",\n \"while\",\n \"var\",\n \"new\",\n \"function\",\n \"do\",\n \"return\",\n \"void\",\n \"else\",\n \"break\"\n ],\n literal: [\n \"BackSlash\",\n \"DoubleQuote\",\n \"false\",\n \"ForwardSlash\",\n \"Infinity\",\n \"NaN\",\n \"NewLine\",\n \"null\",\n \"PI\",\n \"SingleQuote\",\n \"Tab\",\n \"TextFormatting\",\n \"true\",\n \"undefined\"\n ],\n built_in: [\n \"Abs\",\n \"Acos\",\n \"All\",\n \"Angle\",\n \"Any\",\n \"Area\",\n \"AreaGeodetic\",\n \"Array\",\n \"Asin\",\n \"Atan\",\n \"Atan2\",\n \"Attachments\",\n \"Average\",\n \"Back\",\n \"Bearing\",\n \"Boolean\",\n \"Buffer\",\n \"BufferGeodetic\",\n \"Ceil\",\n \"Centroid\",\n \"Clip\",\n \"Concatenate\",\n \"Console\",\n \"Constrain\",\n \"Contains\",\n \"ConvertDirection\",\n \"Cos\",\n \"Count\",\n \"Crosses\",\n \"Cut\",\n \"Date\",\n \"DateAdd\",\n \"DateDiff\",\n \"Day\",\n \"Decode\",\n \"DefaultValue\",\n \"Densify\",\n \"DensifyGeodetic\",\n \"Dictionary\",\n \"Difference\",\n \"Disjoint\",\n \"Distance\",\n \"DistanceGeodetic\",\n \"Distinct\",\n \"Domain\",\n \"DomainCode\",\n \"DomainName\",\n \"EnvelopeIntersects\",\n \"Equals\",\n \"Erase\",\n \"Exp\",\n \"Expects\",\n \"Extent\",\n \"Feature\",\n \"FeatureSet\",\n \"FeatureSetByAssociation\",\n \"FeatureSetById\",\n \"FeatureSetByName\",\n \"FeatureSetByPortalItem\",\n \"FeatureSetByRelationshipName\",\n \"Filter\",\n \"Find\",\n \"First\",\n \"Floor\",\n \"FromCharCode\",\n \"FromCodePoint\",\n \"FromJSON\",\n \"GdbVersion\",\n \"Generalize\",\n \"Geometry\",\n \"GetFeatureSet\",\n \"GetUser\",\n \"GroupBy\",\n \"Guid\",\n \"Hash\",\n \"HasKey\",\n \"Hour\",\n \"IIf\",\n \"Includes\",\n \"IndexOf\",\n \"Insert\",\n \"Intersection\",\n \"Intersects\",\n \"IsEmpty\",\n \"IsNan\",\n \"ISOMonth\",\n \"ISOWeek\",\n \"ISOWeekday\",\n \"ISOYear\",\n \"IsSelfIntersecting\",\n \"IsSimple\",\n \"Left|0\",\n \"Length\",\n \"Length3D\",\n \"LengthGeodetic\",\n \"Log\",\n \"Lower\",\n \"Map\",\n \"Max\",\n \"Mean\",\n \"Mid\",\n \"Millisecond\",\n \"Min\",\n \"Minute\",\n \"Month\",\n \"MultiPartToSinglePart\",\n \"Multipoint\",\n \"NextSequenceValue\",\n \"None\",\n \"Now\",\n \"Number\",\n \"Offset|0\",\n \"OrderBy\",\n \"Overlaps\",\n \"Point\",\n \"Polygon\",\n \"Polyline\",\n \"Pop\",\n \"Portal\",\n \"Pow\",\n \"Proper\",\n \"Push\",\n \"Random\",\n \"Reduce\",\n \"Relate\",\n \"Replace\",\n \"Resize\",\n \"Reverse\",\n \"Right|0\",\n \"RingIsClockwise\",\n \"Rotate\",\n \"Round\",\n \"Schema\",\n \"Second\",\n \"SetGeometry\",\n \"Simplify\",\n \"Sin\",\n \"Slice\",\n \"Sort\",\n \"Splice\",\n \"Split\",\n \"Sqrt\",\n \"Stdev\",\n \"SubtypeCode\",\n \"SubtypeName\",\n \"Subtypes\",\n \"Sum\",\n \"SymmetricDifference\",\n \"Tan\",\n \"Text\",\n \"Timestamp\",\n \"ToCharCode\",\n \"ToCodePoint\",\n \"Today\",\n \"ToHex\",\n \"ToLocal\",\n \"Top|0\",\n \"Touches\",\n \"ToUTC\",\n \"TrackAccelerationAt\",\n \"TrackAccelerationWindow\",\n \"TrackCurrentAcceleration\",\n \"TrackCurrentDistance\",\n \"TrackCurrentSpeed\",\n \"TrackCurrentTime\",\n \"TrackDistanceAt\",\n \"TrackDistanceWindow\",\n \"TrackDuration\",\n \"TrackFieldWindow\",\n \"TrackGeometryWindow\",\n \"TrackIndex\",\n \"TrackSpeedAt\",\n \"TrackSpeedWindow\",\n \"TrackStartTime\",\n \"TrackWindow\",\n \"Trim\",\n \"TypeOf\",\n \"Union\",\n \"Upper\",\n \"UrlEncode\",\n \"Variance\",\n \"Week\",\n \"Weekday\",\n \"When\",\n \"Within\",\n \"Year\"\n ]\n };\n const SYMBOL = {\n className: 'symbol',\n begin: '\\\\$[datastore|feature|layer|map|measure|sourcefeature|sourcelayer|targetfeature|targetlayer|value|view]+'\n };\n const NUMBER = {\n className: 'number',\n variants: [\n { begin: '\\\\b(0[bB][01]+)' },\n { begin: '\\\\b(0[oO][0-7]+)' },\n { begin: hljs.C_NUMBER_RE }\n ],\n relevance: 0\n };\n const SUBST = {\n className: 'subst',\n begin: '\\\\$\\\\{',\n end: '\\\\}',\n keywords: KEYWORDS,\n contains: [] // defined later\n };\n const TEMPLATE_STRING = {\n className: 'string',\n begin: '`',\n end: '`',\n contains: [\n hljs.BACKSLASH_ESCAPE,\n SUBST\n ]\n };\n SUBST.contains = [\n hljs.APOS_STRING_MODE,\n hljs.QUOTE_STRING_MODE,\n TEMPLATE_STRING,\n NUMBER,\n hljs.REGEXP_MODE\n ];\n const PARAMS_CONTAINS = SUBST.contains.concat([\n hljs.C_BLOCK_COMMENT_MODE,\n hljs.C_LINE_COMMENT_MODE\n ]);\n\n return {\n name: 'ArcGIS Arcade',\n case_insensitive: true,\n keywords: KEYWORDS,\n contains: [\n hljs.APOS_STRING_MODE,\n hljs.QUOTE_STRING_MODE,\n TEMPLATE_STRING,\n hljs.C_LINE_COMMENT_MODE,\n hljs.C_BLOCK_COMMENT_MODE,\n SYMBOL,\n NUMBER,\n { // object attr container\n begin: /[{,]\\s*/,\n relevance: 0,\n contains: [\n {\n begin: IDENT_RE + '\\\\s*:',\n returnBegin: true,\n relevance: 0,\n contains: [\n {\n className: 'attr',\n begin: IDENT_RE,\n relevance: 0\n }\n ]\n }\n ]\n },\n { // \"value\" container\n begin: '(' + hljs.RE_STARTERS_RE + '|\\\\b(return)\\\\b)\\\\s*',\n keywords: 'return',\n contains: [\n hljs.C_LINE_COMMENT_MODE,\n hljs.C_BLOCK_COMMENT_MODE,\n hljs.REGEXP_MODE,\n {\n className: 'function',\n begin: '(\\\\(.*?\\\\)|' + IDENT_RE + ')\\\\s*=>',\n returnBegin: true,\n end: '\\\\s*=>',\n contains: [\n {\n className: 'params',\n variants: [\n { begin: IDENT_RE },\n { begin: /\\(\\s*\\)/ },\n {\n begin: /\\(/,\n end: /\\)/,\n excludeBegin: true,\n excludeEnd: true,\n keywords: KEYWORDS,\n contains: PARAMS_CONTAINS\n }\n ]\n }\n ]\n }\n ],\n relevance: 0\n },\n {\n beginKeywords: 'function',\n end: /\\{/,\n excludeEnd: true,\n contains: [\n hljs.inherit(hljs.TITLE_MODE, {\n className: \"title.function\",\n begin: IDENT_RE\n }),\n {\n className: 'params',\n begin: /\\(/,\n end: /\\)/,\n excludeBegin: true,\n excludeEnd: true,\n contains: PARAMS_CONTAINS\n }\n ],\n illegal: /\\[|%/\n },\n { begin: /\\$[(.]/ }\n ],\n illegal: /#(?!!)/\n };\n}\n\nmodule.exports = arcade;\n"],"names":["module","exports","hljs","IDENT_RE","KEYWORDS","keyword","literal","built_in","NUMBER","className","variants","begin","C_NUMBER_RE","relevance","SUBST","end","keywords","contains","TEMPLATE_STRING","BACKSLASH_ESCAPE","APOS_STRING_MODE","QUOTE_STRING_MODE","REGEXP_MODE","PARAMS_CONTAINS","concat","C_BLOCK_COMMENT_MODE","C_LINE_COMMENT_MODE","name","case_insensitive","returnBegin","RE_STARTERS_RE","excludeBegin","excludeEnd","beginKeywords","inherit","TITLE_MODE","illegal"],"sourceRoot":""}