{"version":3,"sources":["webpack:///./node_modules/monaco-editor/esm/vs/basic-languages/msdax/msdax.js"],"names":["__webpack_require__","r","__webpack_exports__","d","conf","language","comments","lineComment","blockComment","brackets","autoClosingPairs","open","close","notIn","defaultToken","tokenPostfix","ignoreCase","token","keywords","functions","tokenizer","root","include","cases","@keywords","@functions","@default","whitespace","next","comment","numbers","strings","string","complexIdentifiers","bracketedIdentifier","quotedIdentifier"],"mappings":"gHAAAA,EAAAC,EAAAC,GAAAF,EAAAG,EAAAD,EAAA,yBAAAE,IAAAJ,EAAAG,EAAAD,EAAA,6BAAAG,IAKO,IAAAD,EAAA,CACPE,SAAA,CACAC,YAAA,KACAC,aAAA,aAEAC,SAAA,0BAA0C,MAC1CC,iBAAA,CACA,CAASC,KAAA,IAAAC,MAAA,IAAAC,MAAA,sBACT,CAASF,KAAA,IAAAC,MAAA,IAAAC,MAAA,sBACT,CAASF,KAAA,IAAAC,MAAA,IAAAC,MAAA,sBACT,CAASF,KAAA,IAAAC,MAAA,IAAAC,MAAA,sBACT,CAASF,KAAA,IAASC,MAAA,IAAYC,MAAA,wBAGvBR,EAAA,CACPS,aAAA,GACAC,aAAA,SACAC,YAAA,EACAP,SAAA,CACA,CAASE,KAAA,IAAAC,MAAA,IAAAK,MAAA,oBACT,CAASN,KAAA,IAASC,MAAA,IAAYK,MAAA,sBAC9B,CAASN,KAAA,IAAAC,MAAA,IAAAK,MAAA,0BAETC,SAAA,CAEA,MACA,SACA,MACA,WACA,YACA,QACA,KACA,QACA,KACA,SACA,UACA,MACA,OACA,KAEA,UACA,SACA,UACA,WACA,WACA,UAEAC,UAAA,CAEA,4FACA,8DACA,kEACA,8DACA,kGACA,qFACA,gEACA,iEACA,qEACA,kEACA,kDACA,sDACA,yEACA,+EACA,gEACA,sEACA,gDACA,gEACA,iDACA,4DACA,2CACA,uCACA,6EACA,iDACA,gDACA,gCAEA,4CACA,wCACA,8CACA,qDACA,4DACA,4DACA,wDACA,sDACA,mCACA,mCACA,sCACA,8DACA,gEACA,yCACA,+CACA,yCACA,+BACA,4CACA,kDACA,2CACA,oCACA,qDACA,qCACA,uCACA,iDACA,iBAEAC,UAAA,CACAC,KAAA,CACA,CAAaC,QAAA,aACb,CAAaA,QAAA,eACb,CAAaA,QAAA,YACb,CAAaA,QAAA,YACb,CAAaA,QAAA,uBACb,SAAgB,aAChB,UAAkB,aAClB,wBACAC,MAAA,CACAC,YAAA,UACAC,aAAA,UACAC,WAAA,gBAGA,kCAEAC,WAAA,CACA,iBAEArB,SAAA,CACA,sBACA,SAAsBW,MAAA,gBAAAW,KAAA,cAEtBC,QAAA,CACA,sBACA,SAAsBZ,MAAA,gBAAAW,KAAA,SACtB,iBAEAE,QAAA,CACA,+BACA,iCACA,sDAEAC,QAAA,CACA,OAAoBd,MAAA,SAAAW,KAAA,YACpB,MAAmBX,MAAA,SAAAW,KAAA,aAEnBI,OAAA,CACA,mBACA,gBACA,MAAmBf,MAAA,SAAAW,KAAA,UAEnBK,mBAAA,CACA,OAAoBhB,MAAA,mBAAAW,KAAA,yBACpB,MAAmBX,MAAA,mBAAAW,KAAA,uBAEnBM,oBAAA,CACA,wBACA,oBACA,MAAmBjB,MAAA,mBAAAW,KAAA,UAEnBO,iBAAA,CACA,uBACA,oBACA,MAAmBlB,MAAA,mBAAAW,KAAA","file":"js/chunk-2d22c171.d30c9e5f.js","sourcesContent":["/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n'use strict';\nexport var conf = {\n comments: {\n lineComment: '//',\n blockComment: ['/*', '*/'],\n },\n brackets: [['[', ']'], ['(', ')'], ['{', '}']],\n autoClosingPairs: [\n { open: '\"', close: '\"', notIn: ['string', 'comment'] },\n { open: '\\'', close: '\\'', notIn: ['string', 'comment'] },\n { open: '[', close: ']', notIn: ['string', 'comment'] },\n { open: '(', close: ')', notIn: ['string', 'comment'] },\n { open: '{', close: '}', notIn: ['string', 'comment'] },\n ]\n};\nexport var language = {\n defaultToken: '',\n tokenPostfix: '.msdax',\n ignoreCase: true,\n brackets: [\n { open: '[', close: ']', token: 'delimiter.square' },\n { open: '{', close: '}', token: 'delimiter.brackets' },\n { open: '(', close: ')', token: 'delimiter.parenthesis' }\n ],\n keywords: [\n // Query keywords\n 'VAR',\n 'RETURN',\n 'NOT',\n 'EVALUATE',\n 'DATATABLE',\n 'ORDER',\n 'BY',\n 'START',\n 'AT',\n 'DEFINE',\n 'MEASURE',\n 'ASC',\n 'DESC',\n 'IN',\n // Datatable types\n 'BOOLEAN',\n 'DOUBLE',\n 'INTEGER',\n 'DATETIME',\n 'CURRENCY',\n 'STRING'\n ],\n functions: [\n // Relational\n 'CLOSINGBALANCEMONTH', 'CLOSINGBALANCEQUARTER', 'CLOSINGBALANCEYEAR', 'DATEADD', 'DATESBETWEEN',\n 'DATESINPERIOD', 'DATESMTD', 'DATESQTD', 'DATESYTD', 'ENDOFMONTH',\n 'ENDOFQUARTER', 'ENDOFYEAR', 'FIRSTDATE', 'FIRSTNONBLANK', 'LASTDATE',\n 'LASTNONBLANK', 'NEXTDAY', 'NEXTMONTH', 'NEXTQUARTER', 'NEXTYEAR',\n 'OPENINGBALANCEMONTH', 'OPENINGBALANCEQUARTER', 'OPENINGBALANCEYEAR', 'PARALLELPERIOD', 'PREVIOUSDAY',\n 'PREVIOUSMONTH', 'PREVIOUSQUARTER', 'PREVIOUSYEAR', 'SAMEPERIODLASTYEAR', 'STARTOFMONTH',\n 'STARTOFQUARTER', 'STARTOFYEAR', 'TOTALMTD', 'TOTALQTD', 'TOTALYTD',\n 'ADDCOLUMNS', 'ADDMISSINGITEMS', 'ALL', 'ALLEXCEPT', 'ALLNOBLANKROW',\n 'ALLSELECTED', 'CALCULATE', 'CALCULATETABLE', 'CALENDAR', 'CALENDARAUTO',\n 'CROSSFILTER', 'CROSSJOIN', 'CURRENTGROUP', 'DATATABLE', 'DETAILROWS',\n 'DISTINCT', 'EARLIER', 'EARLIEST', 'EXCEPT', 'FILTER',\n 'FILTERS', 'GENERATE', 'GENERATEALL', 'GROUPBY', 'IGNORE',\n 'INTERSECT', 'ISONORAFTER', 'KEEPFILTERS', 'LOOKUPVALUE', 'NATURALINNERJOIN',\n 'NATURALLEFTOUTERJOIN', 'RELATED', 'RELATEDTABLE', 'ROLLUP', 'ROLLUPADDISSUBTOTAL',\n 'ROLLUPGROUP', 'ROLLUPISSUBTOTAL', 'ROW', 'SAMPLE', 'SELECTCOLUMNS',\n 'SUBSTITUTEWITHINDEX', 'SUMMARIZE', 'SUMMARIZECOLUMNS', 'TOPN', 'TREATAS',\n 'UNION', 'USERELATIONSHIP', 'VALUES', 'SUM', 'SUMX',\n 'PATH', 'PATHCONTAINS', 'PATHITEM', 'PATHITEMREVERSE', 'PATHLENGTH',\n 'AVERAGE', 'AVERAGEA', 'AVERAGEX', 'COUNT', 'COUNTA',\n 'COUNTAX', 'COUNTBLANK', 'COUNTROWS', 'COUNTX', 'DISTINCTCOUNT',\n 'DIVIDE', 'GEOMEAN', 'GEOMEANX', 'MAX', 'MAXA',\n 'MAXX', 'MEDIAN', 'MEDIANX', 'MIN', 'MINA',\n 'MINX', 'PERCENTILE.EXC', 'PERCENTILE.INC', 'PERCENTILEX.EXC', 'PERCENTILEX.INC',\n 'PRODUCT', 'PRODUCTX', 'RANK.EQ', 'RANKX', 'STDEV.P',\n 'STDEV.S', 'STDEVX.P', 'STDEVX.S', 'VAR.P', 'VAR.S',\n 'VARX.P', 'VARX.S', 'XIRR', 'XNPV',\n // Scalar\n 'DATE', 'DATEDIFF', 'DATEVALUE', 'DAY', 'EDATE',\n 'EOMONTH', 'HOUR', 'MINUTE', 'MONTH', 'NOW',\n 'SECOND', 'TIME', 'TIMEVALUE', 'TODAY', 'WEEKDAY',\n 'WEEKNUM', 'YEAR', 'YEARFRAC', 'CONTAINS', 'CONTAINSROW',\n 'CUSTOMDATA', 'ERROR', 'HASONEFILTER', 'HASONEVALUE', 'ISBLANK',\n 'ISCROSSFILTERED', 'ISEMPTY', 'ISERROR', 'ISEVEN', 'ISFILTERED',\n 'ISLOGICAL', 'ISNONTEXT', 'ISNUMBER', 'ISODD', 'ISSUBTOTAL',\n 'ISTEXT', 'USERNAME', 'USERPRINCIPALNAME', 'AND', 'FALSE',\n 'IF', 'IFERROR', 'NOT', 'OR', 'SWITCH',\n 'TRUE', 'ABS', 'ACOS', 'ACOSH', 'ACOT',\n 'ACOTH', 'ASIN', 'ASINH', 'ATAN', 'ATANH',\n 'BETA.DIST', 'BETA.INV', 'CEILING', 'CHISQ.DIST', 'CHISQ.DIST.RT',\n 'CHISQ.INV', 'CHISQ.INV.RT', 'COMBIN', 'COMBINA', 'CONFIDENCE.NORM',\n 'CONFIDENCE.T', 'COS', 'COSH', 'COT', 'COTH',\n 'CURRENCY', 'DEGREES', 'EVEN', 'EXP', 'EXPON.DIST',\n 'FACT', 'FLOOR', 'GCD', 'INT', 'ISO.CEILING',\n 'LCM', 'LN', 'LOG', 'LOG10', 'MOD',\n 'MROUND', 'ODD', 'PERMUT', 'PI', 'POISSON.DIST',\n 'POWER', 'QUOTIENT', 'RADIANS', 'RAND', 'RANDBETWEEN',\n 'ROUND', 'ROUNDDOWN', 'ROUNDUP', 'SIGN', 'SIN',\n 'SINH', 'SQRT', 'SQRTPI', 'TAN', 'TANH',\n 'TRUNC', 'BLANK', 'CONCATENATE', 'CONCATENATEX', 'EXACT',\n 'FIND', 'FIXED', 'FORMAT', 'LEFT', 'LEN',\n 'LOWER', 'MID', 'REPLACE', 'REPT', 'RIGHT',\n 'SEARCH', 'SUBSTITUTE', 'TRIM', 'UNICHAR', 'UNICODE',\n 'UPPER', 'VALUE'\n ],\n tokenizer: {\n root: [\n { include: '@comments' },\n { include: '@whitespace' },\n { include: '@numbers' },\n { include: '@strings' },\n { include: '@complexIdentifiers' },\n [/[;,.]/, 'delimiter'],\n [/[({})]/, '@brackets'],\n [/[a-z_][a-zA-Z0-9_]*/, {\n cases: {\n '@keywords': 'keyword',\n '@functions': 'keyword',\n '@default': 'identifier'\n }\n }],\n [/[<>=!%&+\\-*/|~^]/, 'operator'],\n ],\n whitespace: [\n [/\\s+/, 'white']\n ],\n comments: [\n [/\\/\\/+.*/, 'comment'],\n [/\\/\\*/, { token: 'comment.quote', next: '@comment' }]\n ],\n comment: [\n [/[^*/]+/, 'comment'],\n [/\\*\\//, { token: 'comment.quote', next: '@pop' }],\n [/./, 'comment']\n ],\n numbers: [\n [/0[xX][0-9a-fA-F]*/, 'number'],\n [/[$][+-]*\\d*(\\.\\d*)?/, 'number'],\n [/((\\d+(\\.\\d*)?)|(\\.\\d+))([eE][\\-+]?\\d+)?/, 'number']\n ],\n strings: [\n [/N\"/, { token: 'string', next: '@string' }],\n [/\"/, { token: 'string', next: '@string' }]\n ],\n string: [\n [/[^\"]+/, 'string'],\n [/\"\"/, 'string'],\n [/\"/, { token: 'string', next: '@pop' }]\n ],\n complexIdentifiers: [\n [/\\[/, { token: 'identifier.quote', next: '@bracketedIdentifier' }],\n [/'/, { token: 'identifier.quote', next: '@quotedIdentifier' }]\n ],\n bracketedIdentifier: [\n [/[^\\]]+/, 'identifier'],\n [/]]/, 'identifier'],\n [/]/, { token: 'identifier.quote', next: '@pop' }]\n ],\n quotedIdentifier: [\n [/[^']+/, 'identifier'],\n [/''/, 'identifier'],\n [/'/, { token: 'identifier.quote', next: '@pop' }]\n ]\n }\n};\n"],"sourceRoot":""}