{"version":3,"sources":["jsdelivr-header.js","/npm/safe-array-concat@1.1.4/index.js"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA,ACNA,aAEA,IAAI,aAAe,QAAQ,iBACvB,QAAU,aAAa,4BAEvB,SAAW,QAAQ,aAEnB,UAAY,QAAQ,cACpB,OAAS,UAAU,yBAEnB,WAAa,QAAQ,oBAAR,GACb,mBAAqB,YAAc,OAAO,mBAEnB,MAAQ,GAC/B,aAAe,mBAAqB,SAAS,MAAM,QAAS,OAAS,KAGrE,QAAU,mBAA4E,QAAQ,WAAc,KAGhH,OAAO,QAAU,mBAEd,SAAyB,GAC1B,IAAK,IAAI,EAAI,EAAG,EAAI,UAAU,OAAQ,GAAK,EAAG,CAClB,IAAI,EAAM,UAAU,GAE/C,GAAI,GAAsB,iBAAR,GAAuD,kBAA5B,EAAI,oBAAmC,CAE9E,MAAM,sBAEV,MAAM,qBAAsB,GAG7B,IAAI,EAAM,QAAQ,GAAO,OAAO,GAAO,CAAC,GAExC,EAAI,qBAAsB,EAC1B,UAAU,GAAK,CAChB,CACD,CAEA,OAAO,aAAa,UACrB,EACE,SAAS,QAAS","file":"/npm/safe-array-concat@1.1.4/index.js","sourceRoot":"","sourcesContent":["/**\n * Minified by jsDelivr using Terser v5.39.0.\n * Original file: /npm/safe-array-concat@1.1.4/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';\n\nvar GetIntrinsic = require('get-intrinsic');\nvar $concat = GetIntrinsic('%Array.prototype.concat%');\n\nvar callBind = require('call-bind');\n\nvar callBound = require('call-bound');\nvar $slice = callBound('Array.prototype.slice');\n\nvar hasSymbols = require('has-symbols/shams')();\nvar isConcatSpreadable = hasSymbols && Symbol.isConcatSpreadable;\n\n/** @type {never[]} */ var empty = [];\nvar $concatApply = isConcatSpreadable ? callBind.apply($concat, empty) : null;\n\n// eslint-disable-next-line no-extra-parens\nvar isArray = isConcatSpreadable ? /** @type {(value: unknown) => value is unknown[]} */ (require('isarray')) : null;\n\n/** @type {import('.')} */\nmodule.exports = isConcatSpreadable\n\t// eslint-disable-next-line no-unused-vars\n\t? function safeArrayConcat(item) {\n\t\tfor (var i = 0; i < arguments.length; i += 1) {\n\t\t\t/** @type {typeof item} */ var arg = arguments[i];\n\t\t\t// @ts-expect-error ts(2538) see https://github.com/microsoft/TypeScript/issues/9998#issuecomment-1890787975; works if `const`\n\t\t\tif (arg && typeof arg === 'object' && typeof arg[isConcatSpreadable] === 'boolean') {\n\t\t\t\t// @ts-expect-error ts(7015) TS doesn't yet support Symbol indexing\n\t\t\t\tif (!empty[isConcatSpreadable]) {\n\t\t\t\t\t// @ts-expect-error ts(7015) TS doesn't yet support Symbol indexing\n\t\t\t\t\tempty[isConcatSpreadable] = true;\n\t\t\t\t}\n\t\t\t\t// @ts-expect-error ts(2721) ts(18047) not sure why TS can't figure out this can't be null\n\t\t\t\tvar arr = isArray(arg) ? $slice(arg) : [arg];\n\t\t\t\t// @ts-expect-error ts(7015) TS can't handle expandos on an array\n\t\t\t\tarr[isConcatSpreadable] = true; // shadow the property. TODO: use [[Define]]\n\t\t\t\targuments[i] = arr;\n\t\t\t}\n\t\t}\n\t\t// @ts-expect-error ts(2345) https://github.com/microsoft/TypeScript/issues/57164 TS doesn't understand that apply can take an arguments object\n\t\treturn $concatApply(arguments);\n\t}\n\t: callBind($concat, empty);\n"]}