{"version":3,"sources":["jsdelivr-header.js","/npm/node-mac-address@1.0.0/index.js"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA,ACFA,aACA,IAAI,KAAO,QAAQ,iBAAiB,KACpC,GAAyB,WAArB,QAAQ,eAEL,GAAyB,UAArB,QAAQ,SAAsB,CACrC,IAAI,KAAO,CACX,OAAc,SAAS,GACrB,KAAK,UAAU,SAAU,EAAK,EAAQ,GAClC,GAAK,EASD,OADA,QAAQ,IAAI,sCAAsC,EAAK,GAChD,EAAG,EAAK,MARf,IAAI,EAAO,EAAO,MAAM,KAEpB,GADJ,EAAO,EAAK,KACG,UAAU,EAAK,OAAS,GAAI,EAAK,QAEhD,OADA,EAAM,EAAI,MAAM,KAAK,KAAK,KACnB,EAAG,KAAM,EAMxB,GACF,GACA,OAAO,QAAU,IACrB,KAAO,CACC,KAAO,CACX,OAAc,SAAS,GACf,KAAK,0BAA0B,SAAU,EAAK,EAAQ,GAClD,GAAK,EAOD,OADA,QAAQ,IAAI,sCAAsC,EAAK,GAChD,EAAG,EAAK,MANf,IACI,EADO,EAAO,MAAM,KACT,IAAI,cACnB,OAAO,EAAG,KAAM,EAMxB,GACR,GACA,OAAO,QAAU,IACrB","file":"/npm/node-mac-address@1.0.0/index.js","sourceRoot":"","sourcesContent":["/**\n * Minified by jsDelivr using Terser v5.39.0.\n * Original file: /npm/node-mac-address@1.0.0/index.js\n *\n * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files\n */\n","/**\n * Created by daxlab on 21/12/15.\n */\n\n'use strict';\nvar exec = require('child_process').exec;\nif (process.platform === 'darwin') {\n\n} else if (process.platform === 'win32') {\n    var util = {};\n    util.getMAC = function(cb) {\n      exec('getmac', function (err, stdout, stderr) {\n          if (!err) {\n              var temp = stdout.split(' ');\n              temp = temp[51];\n              var MAC = temp.substring(temp.length - 17, temp.length);\n              MAC = MAC.split('-').join(':');\n              return cb(null, MAC);\n          }\n          else {\n              console.log('Some error occurred in getting MAC ',err, stderr );\n              return cb(err, null);\n          }\n      });\n    };\n    module.exports = util;\n} else {\n    var util = {};\n    util.getMAC = function(cb) {\n            exec('ifconfig | grep HWaddr', function (err, stdout, stderr) {\n                if (!err) {\n                    var temp = stdout.split(' ');\n                    var MAC = temp[10].toUpperCase();\n                    return cb(null, MAC);\n                }\n                else {\n                    console.log('Some error occurred in getting MAC ',err, stderr );\n                    return cb(err, null);\n                }\n            });\n    };\n    module.exports = util;\n}\n"]}