{"version":3,"sources":["jsdelivr-header.js","/npm/pubmed-api@0.0.8/dist/index.js"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA,ACNA,aACA,IAAI,gBAAmB,MAAQ,KAAK,iBAAoB,SAAU,GAC9D,OAAQ,GAAO,EAAI,WAAc,EAAM,CAAE,QAAW,EACxD,EACA,OAAO,eAAe,QAAS,aAAc,CAAE,OAAO,IACtD,MAAM,UAAY,gBAAgB,QAAQ,uBACpC,QAAU,gBAAgB,QAAQ,qBAClC,SAAW,gBAAgB,QAAQ,sBACnC,WAAa,gBAAgB,QAAQ,wBACrC,YAAc,gBAAgB,QAAQ,yBAC5C,MAAM,UACF,WAAA,CAAY,EAAS,GACjB,KAAK,QAAU,GAAoB,OACnC,KAAK,OAAS,GAAqB,KAAX,EAAgB,YAAY,IAAW,GAC/D,KAAK,OAAQ,EAAI,QAAQ,SAAS,KAAK,QAAS,KAAK,QACrD,KAAK,SAAU,EAAI,UAAU,SAAS,KAAK,QAAS,KAAK,QACzD,KAAK,UAAW,EAAI,WAAW,SAAS,KAAK,QAAS,KAAK,QAC3D,KAAK,QAAS,EAAI,SAAS,SAAS,KAAK,QAAS,KAAK,QACvD,KAAK,WAAY,EAAI,YAAY,SAAS,KAAK,QAAS,KAAK,OACjE,EAEJ,OAAO,QAAU","file":"/npm/pubmed-api@0.0.8/dist/index.js","sourceRoot":"","sourcesContent":["/**\n * Minified by jsDelivr using Terser v5.39.0.\n * Original file: /npm/pubmed-api@0.0.8/dist/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\";\r\nvar __importDefault = (this && this.__importDefault) || function (mod) {\r\n    return (mod && mod.__esModule) ? mod : { \"default\": mod };\r\n};\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nconst eSearch_1 = __importDefault(require(\"./commands/eSearch\"));\r\nconst eInfo_1 = __importDefault(require(\"./commands/eInfo\"));\r\nconst eSpell_1 = __importDefault(require(\"./commands/eSpell\"));\r\nconst eSummary_1 = __importDefault(require(\"./commands/eSummary\"));\r\nconst eCitMatch_1 = __importDefault(require(\"./commands/eCitMatch\"));\r\nclass PubmedApi {\r\n    constructor(retMode, apiKey) {\r\n        this.retMode = retMode ? retMode : 'json';\r\n        this.apiKey = apiKey && apiKey !== '' ? `&api_key=${apiKey}` : '';\r\n        this.eInfo = (0, eInfo_1.default)(this.retMode, this.apiKey);\r\n        this.eSearch = (0, eSearch_1.default)(this.retMode, this.apiKey);\r\n        this.eSummary = (0, eSummary_1.default)(this.retMode, this.apiKey);\r\n        this.eSpell = (0, eSpell_1.default)(this.retMode, this.apiKey);\r\n        this.eCitMatch = (0, eCitMatch_1.default)(this.retMode, this.apiKey);\r\n    }\r\n}\r\nmodule.exports = PubmedApi;\r\n"]}