{"version":3,"sources":["jsdelivr-header.js","/npm/laravel-mix-sri@1.3.0/build/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,cAAgB,gBAAgB,QAAQ,gBACxC,YAAc,gBAAgB,QAAQ,gBAC5C,MAAM,cACF,WAAA,GACI,KAAK,OAAS,CAAC,CACnB,CACA,IAAA,GACI,MAAO,uBACX,CACA,QAAA,CAAS,EAAU,CAAC,GAChB,KAAK,OAAS,CACV,UAAW,SACX,OAAQ,EAAQ,OAChB,QAAS,EAAQ,SAAW,cAAc,QAAQ,eAClD,sBAAuB,EAAQ,uBAE/B,CAAC,SAAU,SAAU,UAAU,SAAS,EAAQ,aAChD,KAAK,OAAO,UAAY,EAAQ,UAExC,CACA,cAAA,GACI,GAAI,KAAK,OAAO,QACZ,MAAO,CAAC,IAAI,YAAY,QAAQ,KAAK,OAAO,UAAW,KAAK,OAAO,OAAQ,KAAK,OAAO,uBAE/F,EAEJ,cAAc,QAAQ,OAAO,wBAAyB,IAAI","file":"/npm/laravel-mix-sri@1.3.0/build/index.js","sourceRoot":"","sourcesContent":["/**\n * Minified by jsDelivr using Terser v5.39.0.\n * Original file: /npm/laravel-mix-sri@1.3.0/build/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\";\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n    return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst laravel_mix_1 = __importDefault(require(\"laravel-mix\"));\nconst SriPlugin_1 = __importDefault(require(\"./SriPlugin\"));\nclass IntegrityHash {\n    constructor() {\n        this.config = {};\n    }\n    name() {\n        return 'generateIntegrityHash';\n    }\n    register(options = {}) {\n        this.config = {\n            algorithm: 'sha256',\n            output: options.output,\n            enabled: options.enabled || laravel_mix_1.default.inProduction(),\n            mergeWithExistingFile: options.mergeWithExistingFile,\n        };\n        if (['sha256', 'sha384', 'sha512'].includes(options.algorithm)) {\n            this.config.algorithm = options.algorithm;\n        }\n    }\n    webpackPlugins() {\n        if (this.config.enabled) {\n            return [new SriPlugin_1.default(this.config.algorithm, this.config.output, this.config.mergeWithExistingFile)];\n        }\n    }\n}\nlaravel_mix_1.default.extend('generateIntegrityHash', new IntegrityHash());\n"]}