{"version":3,"sources":["jsdelivr-header.js","/npm/cpanel-api@0.2.3-alpha/js/index.js"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA,ACNA,aACA,OAAO,eAAe,QAAS,aAAc,CAAE,OAAO,IACtD,IAAI,QAAU,QAAQ,aAClB,OAAU,WACV,SAAS,EAAO,GACZ,KAAK,QAAU,EACf,KAAK,QAAU,OACnB,CASA,OARA,EAAO,UAAU,IAAM,SAAU,EAAQ,EAAM,EAAQ,GACnD,OAA4B,MAAxB,KAAK,QAAQ,GACN,EAAS,IAAI,MAAM,EAAS,2DAEnB,OADpB,EAAS,IAAI,KAAK,QAAQ,IACf,GACA,EAAS,IAAI,MAAM,EAAO,6BAA+B,SACpE,EAAO,GAAM,KAAK,QAAS,EAAQ,EACvC,EACO,CACX,CAda,GAeb,QAAU","file":"/npm/cpanel-api@0.2.3-alpha/js/index.js","sourceRoot":"","sourcesContent":["/**\n * Minified by jsDelivr using Terser v5.39.0.\n * Original file: /npm/cpanel-api@0.2.3-alpha/js/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","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar Modules = require(\"./modules\");\nvar cPanel = (function () {\n    function cPanel(profile) {\n        this.profile = profile;\n        this.modules = Modules;\n    }\n    cPanel.prototype.API = function (module, func, params, callback) {\n        if (this.modules[module] == undefined)\n            return callback(new Error(module + ' is not a known cPanel module, or is not yet supported'));\n        module = new this.modules[module];\n        if (module[func] == undefined)\n            return callback(new Error(func + ' is not a known method of ' + module));\n        module[func](this.profile, params, callback);\n    };\n    return cPanel;\n}());\nexports = cPanel;\n"]}