{"version":3,"sources":["jsdelivr-header.js","/npm/parse-codeload-url@1.0.0/lib/index.js"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA,ACNA,aAEA,SAAS,UAAU,GACf,GAAmB,iBAAR,EACP,MAAM,IAAI,UAAU,4BAExB,MAAM,EAAQ,EAAI,MAAM,KACxB,GAAiB,wBAAb,EAAM,GACN,MAAM,IAAI,MAAM,kEAAkE,KAEtF,MAAO,CACH,KAAM,EAAM,GACZ,MAAO,EAAM,GACb,OAAQ,EAAM,GAEtB,CAdA,OAAO,eAAe,QAAS,aAAc,CAAE,OAAO,IAetD,QAAQ,QAAU","file":"/npm/parse-codeload-url@1.0.0/lib/index.js","sourceRoot":"","sourcesContent":["/**\n * Minified by jsDelivr using Terser v5.39.0.\n * Original file: /npm/parse-codeload-url@1.0.0/lib/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 });\nfunction default_1(url) {\n    if (typeof url !== 'string') {\n        throw new TypeError('`url` should be a string');\n    }\n    const parts = url.split('/');\n    if (parts[2] !== 'codeload.github.com') {\n        throw new Error(`Unexpected URL. Expected codeload.github.com host. Actual URL: ${url}`);\n    }\n    return {\n        name: parts[4],\n        owner: parts[3],\n        commit: parts[6],\n    };\n}\nexports.default = default_1;\n"]}