{"version":3,"file":"setlocalcoordinates.cjs","sources":["../../src/commands/setlocalcoordinates.ts"],"sourcesContent":["'use strict';\n\nimport Command from '../command';\nimport Argument from '../argument';\n\nclass SetLocalCoordinates extends Command {\n    constructor(x: number | null = null, y: number | null = null, z: number | string | null = null) {\n        super('G', 92);\n        if (x !== null) {\n            this.args.push(new Argument('X', x));\n        }\n        if (y !== null) {\n            this.args.push(new Argument('Y', y));\n        }\n        if (z !== null) {\n            this.args.push(new Argument('Z', z));\n        }\n    }\n}\n\nexport default SetLocalCoordinates;\n"],"names":["SetLocalCoordinates","Command","constructor","x","y","z","args","push","Argument"],"mappings":";;;;;;;AAKA,MAAMA,mBAA4BC,SAAAA,eAAAA,CAAAA;IAC9BC,WAAYC,CAAAA,CAAAA,GAAmB,IAAI,EAAEC,CAAAA,GAAmB,IAAI,EAAEC,CAAAA,GAA4B,IAAI,CAAE;AAC5F,QAAA,KAAK,CAAC,GAAK,EAAA,EAAA,CAAA;AACX,QAAA,IAAIF,MAAM,IAAM,EAAA;AACZ,YAAA,IAAI,CAACG,IAAI,CAACC,IAAI,CAAC,IAAIC,iBAAS,GAAKL,EAAAA,CAAAA,CAAAA,CAAAA;AACrC;AACA,QAAA,IAAIC,MAAM,IAAM,EAAA;AACZ,YAAA,IAAI,CAACE,IAAI,CAACC,IAAI,CAAC,IAAIC,iBAAS,GAAKJ,EAAAA,CAAAA,CAAAA,CAAAA;AACrC;AACA,QAAA,IAAIC,MAAM,IAAM,EAAA;AACZ,YAAA,IAAI,CAACC,IAAI,CAACC,IAAI,CAAC,IAAIC,iBAAS,GAAKH,EAAAA,CAAAA,CAAAA,CAAAA;AACrC;AACJ;AACJ;;;;"}