"use strict";(globalThis.webpackChunkacmsWebpackJsonp=globalThis.webpackChunkacmsWebpackJsonp||[]).push([[73],{58458(n,c,a){function e(n){const c=n.regex,a=/\b/;function e(n,c){if(0===n.index)return;const a=n.input[n.index-1];a>="0"&&a<="9"||"_"!==a&&c.ignoreMatch()}const t=/[+-]?((\.\d+)|(\d+)(\.\d*)?)/,s=/[GM]\s*\d+(\.\d+)?/,o=/T\s*\d+/,i=/O\s*\d+/,b=/O<.+>/,r=/[ABCUVWXYZ]\s*/,E=/[FHIJKPQRS]\s*/;return{name:"G-code (ISO 6983)",aliases:["nc"],case_insensitive:!0,disableAutodetect:!0,keywords:{$pattern:/[A-Z]+|%/,keyword:["THEN","ELSE","ENDIF","IF","GOTO","DO","WHILE","WH","END","CALL","SUB","ENDSUB","EQ","NE","LT","GT","LE","GE","AND","OR","XOR","%"],built_in:["ATAN","ABS","ACOS","ASIN","COS","EXP","FIX","FUP","ROUND","LN","SIN","SQRT","TAN","EXISTS"]},contains:[n.COMMENT(/\(/,/\)/),n.COMMENT(/;/,/$/),n.APOS_STRING_MODE,n.QUOTE_STRING_MODE,n.C_NUMBER_MODE,{scope:"title.function",variants:[{match:c.concat(a,s)},{begin:s,"on:begin":e},{match:c.concat(a,o)},{begin:o,"on:begin":e}]},{scope:"symbol",variants:[{match:c.concat(a,i)},{begin:i,"on:begin":e},{match:c.concat(a,b)},{begin:b,"on:begin":e},{match:/\*\s*\d+\s*$/}]},{scope:"operator",match:/^N\s*\d+/},{scope:"variable",match:/-?#\s*\d+/},{scope:"property",variants:[{match:c.concat(a,r,t)},{begin:c.concat(r,t),"on:begin":e}]},{scope:"params",variants:[{match:c.concat(a,E,t)},{begin:c.concat(E,t),"on:begin":e}]}]}}a.r(c),a.d(c,{default:()=>e})}}]);