{"version":3,"sources":["jsdelivr-header.js","/npm/stringiful@0.0.5/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,QAAQ,UAAY,QAAQ,6BAA0B,EACtD,MAAM,SAAW,gBAAgB,QAAQ,aACnC,aAAe,QAAQ,gBACvB,YAAc,QAAQ,eACtB,MAAQ,QAAQ,eAChB,oBAAsB,QAAQ,uBAC9B,wBAA2B,IAC7B,IAAI,EACJ,MAAM,EAAmB,MAAM,uBAAuB,EAAS,oBAAoB,uBAC7E,EAAa,aAAa,cAAyH,QAA1G,EAAK,aAA2D,EAAS,EAAiB,kBAA+B,IAAP,EAAgB,EAAK,IACtL,OAAQ,GACG,YAAY,kBAAkB,EAAK,EAAY,EAAiB,eAC1E,EAGL,SAAS,UAAU,EAAK,GACpB,OAAO,QAAQ,wBAAwB,QAAyC,EAAU,SAAS,QAAQ,wBAApG,CAA6H,EACxI,CAHA,QAAQ,wBAA0B,wBAIlC,QAAQ,UAAY","file":"/npm/stringiful@0.0.5/dist/index.js","sourceRoot":"","sourcesContent":["/**\n * Minified by jsDelivr using Terser v5.39.0.\n * Original file: /npm/stringiful@0.0.5/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\";\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n    return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.stringify = exports.createStringifyFunction = void 0;\nconst config_1 = __importDefault(require(\"./config\"));\nconst formatters_1 = require(\"./formatters\");\nconst stringify_1 = require(\"./stringify\");\nconst joi_1 = require(\"./utils/joi\");\nconst validation_schema_1 = require(\"./validation.schema\");\nconst createStringifyFunction = (options) => {\n    var _a;\n    const formattedOptions = joi_1.validateDataWithSchema(options, validation_schema_1.stringifyConfigSchema);\n    const formatters = formatters_1.getFormatters((_a = formattedOptions === null || formattedOptions === void 0 ? void 0 : formattedOptions.formatters) !== null && _a !== void 0 ? _a : []);\n    return (obj) => {\n        return stringify_1.stringifyFunction(obj, formatters, formattedOptions.inspectOptions);\n    };\n};\nexports.createStringifyFunction = createStringifyFunction;\nfunction stringify(obj, options) {\n    return exports.createStringifyFunction(options !== null && options !== void 0 ? options : config_1.default.stringifyDefaultOptions)(obj);\n}\nexports.stringify = stringify;\n"]}