@umijs/bundler-webpack 3.5.18 → 4.0.0-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -0
- package/bin/bundler-webpack.js +1 -2
- package/client/client/client.js +202 -0
- package/client/constants.js +12 -0
- package/client/utils/formatWebpackMessages.js +92 -0
- package/compiled/@svgr/webpack/.svgo.yml +75 -0
- package/compiled/@svgr/webpack/LICENSE +7 -0
- package/compiled/@svgr/webpack/index.js +343 -0
- package/compiled/@svgr/webpack/package.json +1 -0
- package/compiled/autoprefixer/LICENSE +20 -0
- package/compiled/autoprefixer/browserslist/index.d.ts +172 -0
- package/compiled/autoprefixer/index.js +9 -0
- package/compiled/autoprefixer/lib/autoprefixer.d.ts +95 -0
- package/compiled/autoprefixer/package.json +1 -0
- package/compiled/autoprefixer/postcss/lib/at-rule.d.ts +106 -0
- package/compiled/autoprefixer/postcss/lib/comment.d.ts +56 -0
- package/compiled/autoprefixer/postcss/lib/container.d.ts +442 -0
- package/compiled/autoprefixer/postcss/lib/css-syntax-error.d.ts +192 -0
- package/compiled/autoprefixer/postcss/lib/declaration.d.ts +124 -0
- package/compiled/autoprefixer/postcss/lib/document.d.ts +57 -0
- package/compiled/autoprefixer/postcss/lib/input.d.ts +130 -0
- package/compiled/autoprefixer/postcss/lib/lazy-result.d.ts +175 -0
- package/compiled/autoprefixer/postcss/lib/list.d.ts +51 -0
- package/compiled/autoprefixer/postcss/lib/node.d.ts +444 -0
- package/compiled/autoprefixer/postcss/lib/postcss.d.ts +472 -0
- package/compiled/autoprefixer/postcss/lib/previous-map.d.ts +72 -0
- package/compiled/autoprefixer/postcss/lib/processor.d.ts +101 -0
- package/compiled/autoprefixer/postcss/lib/result.d.ts +195 -0
- package/compiled/autoprefixer/postcss/lib/root.d.ts +73 -0
- package/compiled/autoprefixer/postcss/lib/rule.d.ts +104 -0
- package/compiled/autoprefixer/postcss/lib/warning.d.ts +104 -0
- package/compiled/autoprefixer/source-map-js/source-map.d.ts +98 -0
- package/compiled/babel-loader/LICENSE +22 -0
- package/compiled/babel-loader/index.js +3 -0
- package/compiled/babel-loader/package.json +1 -0
- package/compiled/compression/LICENSE +23 -0
- package/compiled/compression/index.js +57 -0
- package/compiled/compression/package.json +1 -0
- package/compiled/connect-history-api-fallback/LICENSE +21 -0
- package/compiled/connect-history-api-fallback/index.js +1 -0
- package/compiled/connect-history-api-fallback/package.json +1 -0
- package/{lib/webpack/plugins/mini-css-extract-plugin → compiled/copy-webpack-plugin}/LICENSE +0 -0
- package/compiled/copy-webpack-plugin/index.js +46 -0
- package/compiled/copy-webpack-plugin/package.json +1 -0
- package/{lib/webpack/plugins/terser-webpack-plugin → compiled/css-loader}/LICENSE +0 -0
- package/compiled/css-loader/api.js +102 -0
- package/compiled/css-loader/getUrl.js +29 -0
- package/compiled/css-loader/index.js +2 -0
- package/compiled/css-loader/noSourceMaps.js +5 -0
- package/compiled/css-loader/package.json +1 -0
- package/compiled/css-loader/sourceMaps.js +22 -0
- package/compiled/css-minimizer-webpack-plugin/LICENSE +20 -0
- package/compiled/css-minimizer-webpack-plugin/index.js +3 -0
- package/compiled/css-minimizer-webpack-plugin/minify.js +72 -0
- package/compiled/css-minimizer-webpack-plugin/package.json +1 -0
- package/compiled/css-minimizer-webpack-plugin/utils.js +166 -0
- package/compiled/cssnano/index.js +192 -0
- package/compiled/cssnano/package.json +1 -0
- package/compiled/express/LICENSE +24 -0
- package/compiled/express/body-parser/index.d.ts +104 -0
- package/compiled/express/connect/index.d.ts +93 -0
- package/compiled/express/express-serve-static-core/index.d.ts +1252 -0
- package/compiled/express/index.d.ts +133 -0
- package/compiled/express/index.js +338 -0
- package/compiled/express/mime/index.d.ts +35 -0
- package/compiled/express/package.json +1 -0
- package/compiled/express/qs/index.d.ts +62 -0
- package/compiled/express/range-parser/index.d.ts +35 -0
- package/compiled/express/serve-static/index.d.ts +108 -0
- package/compiled/http-proxy-middleware/LICENSE +22 -0
- package/compiled/http-proxy-middleware/dist/index.d.ts +4 -0
- package/compiled/http-proxy-middleware/dist/types.d.ts +54 -0
- package/compiled/http-proxy-middleware/http-proxy/index.d.ts +226 -0
- package/compiled/http-proxy-middleware/index.js +66 -0
- package/compiled/http-proxy-middleware/package.json +1 -0
- package/compiled/less/index.js +31 -0
- package/compiled/less/package.json +1 -0
- package/compiled/less-loader/LICENSE +20 -0
- package/compiled/less-loader/index.js +1 -0
- package/compiled/less-loader/package.json +1 -0
- package/compiled/mini-css-extract-plugin/LICENSE +20 -0
- package/{lib/webpack/plugins/mini-css-extract-plugin/src → compiled/mini-css-extract-plugin}/hmr/hotModuleReplacement.js +50 -52
- package/compiled/mini-css-extract-plugin/hmr/normalize-url.js +35 -0
- package/compiled/mini-css-extract-plugin/index.js +11606 -0
- package/compiled/mini-css-extract-plugin/loader-options.json +32 -0
- package/compiled/mini-css-extract-plugin/loader.js +315 -0
- package/compiled/mini-css-extract-plugin/package.json +1 -0
- package/compiled/mini-css-extract-plugin/utils.js +154 -0
- package/compiled/postcss-flexbugs-fixes/LICENSE +20 -0
- package/compiled/postcss-flexbugs-fixes/index.js +1 -0
- package/compiled/postcss-flexbugs-fixes/package.json +1 -0
- package/compiled/postcss-loader/LICENSE +20 -0
- package/compiled/postcss-loader/index.js +1 -0
- package/compiled/postcss-loader/package.json +1 -0
- package/compiled/purgecss-webpack-plugin/LICENSE +21 -0
- package/compiled/purgecss-webpack-plugin/index.js +7781 -0
- package/compiled/purgecss-webpack-plugin/package.json +1 -0
- package/compiled/react-refresh/index.js +19 -0
- package/compiled/sass-loader/LICENSE +20 -0
- package/compiled/sass-loader/index.js +1 -0
- package/compiled/sass-loader/package.json +1 -0
- package/compiled/schema-utils/LICENSE +20 -0
- package/compiled/schema-utils/ajv/lib/ajv.d.ts +397 -0
- package/compiled/schema-utils/declarations/ValidationError.d.ts +74 -0
- package/compiled/schema-utils/declarations/index.d.ts +3 -0
- package/compiled/schema-utils/declarations/validate.d.ts +37 -0
- package/compiled/schema-utils/index.js +3 -0
- package/compiled/schema-utils/json-schema/index.d.ts +751 -0
- package/compiled/schema-utils/package.json +1 -0
- package/compiled/speed-measure-webpack-plugin/LICENSE +21 -0
- package/compiled/speed-measure-webpack-plugin/index.js +1 -0
- package/compiled/speed-measure-webpack-plugin/package.json +1 -0
- package/compiled/style-loader/LICENSE +20 -0
- package/compiled/style-loader/index.js +1 -0
- package/compiled/style-loader/package.json +1 -0
- package/compiled/style-loader/runtime/injectStylesIntoLinkTag.js +29 -0
- package/compiled/style-loader/runtime/injectStylesIntoStyleTag.js +104 -0
- package/compiled/style-loader/runtime/insertBySelector.js +39 -0
- package/compiled/style-loader/runtime/insertStyleElement.js +11 -0
- package/compiled/style-loader/runtime/isEqualLocals.js +35 -0
- package/compiled/style-loader/runtime/isOldIE.js +19 -0
- package/compiled/style-loader/runtime/setAttributesWithAttributes.js +16 -0
- package/compiled/style-loader/runtime/setAttributesWithAttributesAndNonce.js +10 -0
- package/compiled/style-loader/runtime/setAttributesWithoutAttributes.js +12 -0
- package/compiled/style-loader/runtime/singletonStyleDomAPI.js +93 -0
- package/compiled/style-loader/runtime/styleDomAPI.js +70 -0
- package/compiled/style-loader/runtime/styleTagTransform.js +16 -0
- package/compiled/svgo-loader/LICENSE +22 -0
- package/compiled/svgo-loader/index.js +4 -0
- package/compiled/svgo-loader/package.json +1 -0
- package/compiled/swc-loader/LICENSE +25 -0
- package/compiled/swc-loader/index.js +1 -0
- package/compiled/swc-loader/package.json +1 -0
- package/compiled/tapable/LICENSE +21 -0
- package/compiled/tapable/index.js +1 -0
- package/compiled/tapable/package.json +1 -0
- package/compiled/tapable/tapable.d.ts +116 -0
- package/compiled/terser/LICENSE +29 -0
- package/compiled/terser/index.js +1 -0
- package/compiled/terser/mappings.wasm +0 -0
- package/compiled/terser/package.json +1 -0
- package/compiled/terser/source-map/source-map.d.ts +369 -0
- package/compiled/terser/tools/terser.d.ts +207 -0
- package/compiled/terser-webpack-plugin/LICENSE +20 -0
- package/compiled/terser-webpack-plugin/ajv/lib/ajv.d.ts +397 -0
- package/compiled/terser-webpack-plugin/index.js +15142 -0
- package/compiled/terser-webpack-plugin/jest-worker/build/index.d.ts +49 -0
- package/compiled/terser-webpack-plugin/jest-worker/build/types.d.ts +142 -0
- package/compiled/terser-webpack-plugin/json-schema/index.d.ts +751 -0
- package/compiled/terser-webpack-plugin/minify.js +43 -0
- package/compiled/terser-webpack-plugin/package.json +1 -0
- package/compiled/terser-webpack-plugin/schema-utils/declarations/ValidationError.d.ts +74 -0
- package/compiled/terser-webpack-plugin/schema-utils/declarations/index.d.ts +3 -0
- package/compiled/terser-webpack-plugin/schema-utils/declarations/validate.d.ts +37 -0
- package/compiled/terser-webpack-plugin/source-map/source-map.d.ts +98 -0
- package/compiled/terser-webpack-plugin/types/cjs.d.ts +3 -0
- package/compiled/terser-webpack-plugin/types/index.d.ts +295 -0
- package/compiled/terser-webpack-plugin/types/utils.d.ts +105 -0
- package/compiled/terser-webpack-plugin/utils.js +594 -0
- package/compiled/url-loader/LICENSE +20 -0
- package/compiled/url-loader/index.js +15 -0
- package/compiled/url-loader/package.json +1 -0
- package/compiled/webpack/Chunk.js +1 -0
- package/compiled/webpack/Compilation.js +1 -0
- package/compiled/webpack/HotModuleReplacement.runtime.js +394 -0
- package/compiled/webpack/JavascriptHotModuleReplacement.runtime.js +462 -0
- package/compiled/webpack/LICENSE +20 -0
- package/compiled/webpack/LibraryTemplatePlugin.js +1 -0
- package/compiled/webpack/LoaderTargetPlugin.js +1 -0
- package/compiled/webpack/ModuleFilenameHelpers.js +1 -0
- package/compiled/webpack/NormalModule.js +1 -0
- package/compiled/webpack/RuntimeGlobals.js +1 -0
- package/compiled/webpack/RuntimeModule.js +1 -0
- package/compiled/webpack/SingleEntryPlugin.js +1 -0
- package/compiled/webpack/Template.js +1 -0
- package/compiled/webpack/ajv/lib/ajv.d.ts +397 -0
- package/compiled/webpack/deepImports.json +12 -0
- package/compiled/webpack/index.js +162861 -0
- package/compiled/webpack/json-schema/index.d.ts +751 -0
- package/compiled/webpack/lazy-compilation-node.js +40 -0
- package/compiled/webpack/lazy-compilation-web.js +74 -0
- package/compiled/webpack/package.json +5 -0
- package/compiled/webpack/schema-utils/declarations/ValidationError.d.ts +74 -0
- package/compiled/webpack/schema-utils/declarations/index.d.ts +3 -0
- package/compiled/webpack/schema-utils/declarations/validate.d.ts +37 -0
- package/compiled/webpack/types.d.ts +12664 -0
- package/compiled/webpack-5-chain/LICENSE +373 -0
- package/compiled/webpack-5-chain/index.js +1 -0
- package/compiled/webpack-5-chain/package.json +1 -0
- package/compiled/webpack-5-chain/types/index.d.ts +543 -0
- package/compiled/webpack-bundle-analyzer/LICENSE +20 -0
- package/compiled/webpack-bundle-analyzer/index.js +30 -0
- package/compiled/webpack-bundle-analyzer/package.json +1 -0
- package/compiled/webpack-bundle-analyzer/public/viewer.js +16 -0
- package/compiled/webpack-bundle-analyzer/public/viewer.js.LICENSE.txt +10 -0
- package/compiled/webpack-bundle-analyzer/public/viewer.js.map +1 -0
- package/compiled/webpack-dev-middleware/LICENSE +20 -0
- package/compiled/webpack-dev-middleware/index.js +21 -0
- package/compiled/webpack-dev-middleware/package.json +1 -0
- package/compiled/webpack-sources/LICENSE +21 -0
- package/compiled/webpack-sources/index.d.ts +20 -0
- package/compiled/webpack-sources/index.js +1 -0
- package/compiled/webpack-sources/lib/CachedSource.d.ts +18 -0
- package/compiled/webpack-sources/lib/CompatSource.d.ts +9 -0
- package/compiled/webpack-sources/lib/ConcatSource.d.ts +22 -0
- package/compiled/webpack-sources/lib/OriginalSource.d.ts +18 -0
- package/compiled/webpack-sources/lib/PrefixSource.d.ts +12 -0
- package/compiled/webpack-sources/lib/RawSource.d.ts +13 -0
- package/compiled/webpack-sources/lib/ReplaceSource.d.ts +35 -0
- package/compiled/webpack-sources/lib/SizeOnlySource.d.ts +7 -0
- package/compiled/webpack-sources/lib/Source.d.ts +45 -0
- package/compiled/webpack-sources/lib/SourceMapSource.d.ts +22 -0
- package/compiled/webpack-sources/lib/index.d.ts +60 -0
- package/compiled/webpack-sources/package.json +1 -0
- package/compiled/webpack-sources/source-list-map/index.d.ts +91 -0
- package/compiled/webpack-sources/source-map/source-map.d.ts +369 -0
- package/compiled/ws/LICENSE +19 -0
- package/compiled/ws/index.d.ts +359 -0
- package/compiled/ws/index.js +1 -0
- package/compiled/ws/package.json +1 -0
- package/dist/build.d.ts +16 -0
- package/dist/build.js +71 -0
- package/{lib → dist}/cli.d.ts +0 -0
- package/dist/cli.js +113 -0
- package/{lib/webpackHotDevClient/webpackHotDevClient.d.ts → dist/client/client.d.ts} +0 -0
- package/dist/client/client.js +239 -0
- package/dist/config/_sampleFeature.d.ts +10 -0
- package/dist/config/_sampleFeature.js +22 -0
- package/dist/config/assetRules.d.ts +11 -0
- package/dist/config/assetRules.js +57 -0
- package/dist/config/bundleAnalyzerPlugin.d.ts +10 -0
- package/dist/config/bundleAnalyzerPlugin.js +30 -0
- package/dist/config/compressPlugin.d.ts +10 -0
- package/dist/config/compressPlugin.js +77 -0
- package/dist/config/config.d.ts +19 -0
- package/dist/config/config.js +171 -0
- package/dist/config/copyPlugin.d.ts +10 -0
- package/dist/config/copyPlugin.js +49 -0
- package/dist/config/cssRules.d.ts +11 -0
- package/dist/config/cssRules.js +98 -0
- package/dist/config/definePlugin.d.ts +15 -0
- package/dist/config/definePlugin.js +45 -0
- package/dist/config/fastRefreshPlugin.d.ts +12 -0
- package/dist/config/fastRefreshPlugin.js +34 -0
- package/dist/config/ignorePlugin.d.ts +10 -0
- package/dist/config/ignorePlugin.js +27 -0
- package/dist/config/javaScriptRules.d.ts +14 -0
- package/dist/config/javaScriptRules.js +150 -0
- package/dist/config/miniCSSExtractPlugin.d.ts +10 -0
- package/dist/config/miniCSSExtractPlugin.js +34 -0
- package/dist/config/nodePolyfill.d.ts +10 -0
- package/dist/config/nodePolyfill.js +34 -0
- package/dist/config/progressPlugin.d.ts +11 -0
- package/dist/config/progressPlugin.js +27 -0
- package/dist/config/purgecssWebpackPlugin.d.ts +10 -0
- package/dist/config/purgecssWebpackPlugin.js +32 -0
- package/dist/config/speedMeasureWebpackPlugin.d.ts +6 -0
- package/dist/config/speedMeasureWebpackPlugin.js +34 -0
- package/dist/config/svgRules.d.ts +11 -0
- package/dist/config/svgRules.js +56 -0
- package/dist/constants.d.ts +11 -0
- package/dist/constants.js +15 -0
- package/dist/dev.d.ts +18 -0
- package/dist/dev.js +80 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.js +16 -0
- package/dist/plugins/ESBuildCSSMinifyPlugin.d.ts +11 -0
- package/dist/plugins/ESBuildCSSMinifyPlugin.js +65 -0
- package/dist/plugins/ProgressPlugin.d.ts +15 -0
- package/dist/plugins/ProgressPlugin.js +44 -0
- package/dist/plugins/_SamplePlugin.d.ts +9 -0
- package/dist/plugins/_SamplePlugin.js +14 -0
- package/dist/requireHook.d.ts +1 -0
- package/dist/requireHook.js +31 -0
- package/dist/schema.d.ts +3 -0
- package/dist/schema.js +68 -0
- package/dist/server/server.d.ts +16 -0
- package/dist/server/server.js +157 -0
- package/dist/server/ws.d.ts +8 -0
- package/dist/server/ws.js +42 -0
- package/dist/types.d.ts +97 -0
- package/dist/types.js +29 -0
- package/dist/utils/browsersList.d.ts +5 -0
- package/dist/utils/browsersList.js +10 -0
- package/dist/utils/depMatch.d.ts +6 -0
- package/dist/utils/depMatch.js +46 -0
- package/dist/utils/formatWebpackMessages.d.ts +12 -0
- package/dist/utils/formatWebpackMessages.js +100 -0
- package/package.json +163 -35
- package/bundled/css/hotModuleReplacement.js +0 -1203
- package/bundled/js/webpackHotDevClient.js +0 -13386
- package/lib/DevCompileDonePlugin.d.ts +0 -10
- package/lib/DevCompileDonePlugin.js +0 -53
- package/lib/cli.js +0 -184
- package/lib/getConfig/css.d.ts +0 -22
- package/lib/getConfig/css.js +0 -186
- package/lib/getConfig/getConfig.d.ts +0 -26
- package/lib/getConfig/getConfig.js +0 -578
- package/lib/getConfig/nodeModulesTransform.d.ts +0 -13
- package/lib/getConfig/nodeModulesTransform.js +0 -141
- package/lib/getConfig/pkgMatch.d.ts +0 -2
- package/lib/getConfig/pkgMatch.js +0 -58
- package/lib/getConfig/resolveDefine.d.ts +0 -5
- package/lib/getConfig/resolveDefine.js +0 -53
- package/lib/getConfig/runtimePublicPathEntry.d.ts +0 -1
- package/lib/getConfig/runtimePublicPathEntry.js +0 -3
- package/lib/getConfig/terserOptions.d.ts +0 -41
- package/lib/getConfig/terserOptions.js +0 -64
- package/lib/index.d.ts +0 -34
- package/lib/index.js +0 -314
- package/lib/requireHook.d.ts +0 -3
- package/lib/requireHook.js +0 -51
- package/lib/webpack/plugins/mini-css-extract-plugin/src/CssDependency.js +0 -94
- package/lib/webpack/plugins/mini-css-extract-plugin/src/CssDependencyTemplate.js +0 -26
- package/lib/webpack/plugins/mini-css-extract-plugin/src/CssLoadingRuntimeModule.js +0 -93
- package/lib/webpack/plugins/mini-css-extract-plugin/src/CssModule.js +0 -164
- package/lib/webpack/plugins/mini-css-extract-plugin/src/CssModuleFactory.js +0 -32
- package/lib/webpack/plugins/mini-css-extract-plugin/src/cjs.js +0 -15
- package/lib/webpack/plugins/mini-css-extract-plugin/src/index.js +0 -542
- package/lib/webpack/plugins/mini-css-extract-plugin/src/loader.js +0 -319
- package/lib/webpack/plugins/mini-css-extract-plugin/src/utils.js +0 -97
- package/lib/webpack/plugins/mini-css-extract-plugin.d.ts +0 -1
- package/lib/webpack/plugins/mini-css-extract-plugin.js +0 -15
- package/lib/webpack/plugins/terser-webpack-plugin/package.json +0 -3
- package/lib/webpack/plugins/terser-webpack-plugin/src/Webpack4Cache.js +0 -187
- package/lib/webpack/plugins/terser-webpack-plugin/src/Webpack5Cache.js +0 -61
- package/lib/webpack/plugins/terser-webpack-plugin/src/index.js +0 -683
- package/lib/webpack/plugins/terser-webpack-plugin/src/minify.js +0 -197
- package/lib/webpack/plugins/terser-webpack-plugin.d.ts +0 -1
- package/lib/webpack/plugins/terser-webpack-plugin.js +0 -15
- package/lib/webpackHotDevClient/formatWebpackMessages.d.ts +0 -11
- package/lib/webpackHotDevClient/formatWebpackMessages.js +0 -127
- package/lib/webpackHotDevClient/webpackHotDevClient.js +0 -311
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
(function(){var e={44:function(e,r,t){"use strict";var a=t(1322);e.exports=defineKeywords;function defineKeywords(e,r){if(Array.isArray(r)){for(var t=0;t<r.length;t++)get(r[t])(e);return e}if(r){get(r)(e);return e}for(r in a)get(r)(e);return e}defineKeywords.get=get;function get(e){var r=a[e];if(!r)throw new Error("Unknown keyword "+e);return r}},6631:function(e,r,t){"use strict";var a=/^(\d\d):(\d\d):(\d\d)(\.\d+)?(z|[+-]\d\d:\d\d)?$/i;var i=/t|\s/i;var n={date:compareDate,time:compareTime,"date-time":compareDateTime};var s={type:"object",required:["$data"],properties:{$data:{type:"string",anyOf:[{format:"relative-json-pointer"},{format:"json-pointer"}]}},additionalProperties:false};e.exports=function(e){var r="format"+e;return function defFunc(a){defFunc.definition={type:"string",inline:t(3213),statements:true,errors:"full",dependencies:["format"],metaSchema:{anyOf:[{type:"string"},s]}};a.addKeyword(r,defFunc.definition);a.addKeyword("formatExclusive"+e,{dependencies:["format"+e],metaSchema:{anyOf:[{type:"boolean"},s]}});extendFormats(a);return a}};function extendFormats(e){var r=e._formats;for(var t in n){var a=r[t];if(typeof a!="object"||a instanceof RegExp||!a.validate)a=r[t]={validate:a};if(!a.compare)a.compare=n[t]}}function compareDate(e,r){if(!(e&&r))return;if(e>r)return 1;if(e<r)return-1;if(e===r)return 0}function compareTime(e,r){if(!(e&&r))return;e=e.match(a);r=r.match(a);if(!(e&&r))return;e=e[1]+e[2]+e[3]+(e[4]||"");r=r[1]+r[2]+r[3]+(r[4]||"");if(e>r)return 1;if(e<r)return-1;if(e===r)return 0}function compareDateTime(e,r){if(!(e&&r))return;e=e.split(i);r=r.split(i);var t=compareDate(e[0],r[0]);if(t===undefined)return;return t||compareTime(e[1],r[1])}},5458:function(e){"use strict";e.exports={metaSchemaRef:metaSchemaRef};var r="http://json-schema.org/draft-07/schema";function metaSchemaRef(e){var t=e._opts.defaultMeta;if(typeof t=="string")return{$ref:t};if(e.getSchema(r))return{$ref:r};console.warn("meta schema not defined");return{}}},2996:function(e){"use strict";e.exports=function defFunc(e){defFunc.definition={type:"object",macro:function(e,r){if(!e)return true;var t=Object.keys(r.properties);if(t.length==0)return true;return{required:t}},metaSchema:{type:"boolean"},dependencies:["properties"]};e.addKeyword("allRequired",defFunc.definition);return e}},9016:function(e){"use strict";e.exports=function defFunc(e){defFunc.definition={type:"object",macro:function(e){if(e.length==0)return true;if(e.length==1)return{required:e};var r=e.map((function(e){return{required:[e]}}));return{anyOf:r}},metaSchema:{type:"array",items:{type:"string"}}};e.addKeyword("anyRequired",defFunc.definition);return e}},9776:function(e,r,t){"use strict";var a=t(5458);e.exports=function defFunc(e){defFunc.definition={type:"object",macro:function(e){var r=[];for(var t in e)r.push(getSchema(t,e[t]));return{allOf:r}},metaSchema:{type:"object",propertyNames:{type:"string",format:"json-pointer"},additionalProperties:a.metaSchemaRef(e)}};e.addKeyword("deepProperties",defFunc.definition);return e};function getSchema(e,r){var t=e.split("/");var a={};var i=a;for(var n=1;n<t.length;n++){var s=t[n];var o=n==t.length-1;s=unescapeJsonPointer(s);var u=i.properties={};var l=undefined;if(/[0-9]+/.test(s)){var c=+s;l=i.items=[];while(c--)l.push({})}i=o?r:{};u[s]=i;if(l)l.push(i)}return a}function unescapeJsonPointer(e){return e.replace(/~1/g,"/").replace(/~0/g,"~")}},5608:function(e){"use strict";e.exports=function defFunc(e){defFunc.definition={type:"object",inline:function(e,r,t){var a="";for(var i=0;i<t.length;i++){if(i)a+=" && ";a+="("+getData(t[i],e.dataLevel)+" !== undefined)"}return a},metaSchema:{type:"array",items:{type:"string",format:"json-pointer"}}};e.addKeyword("deepRequired",defFunc.definition);return e};function getData(e,r){var t="data"+(r||"");if(!e)return t;var a=t;var i=e.split("/");for(var n=1;n<i.length;n++){var s=i[n];t+=getProperty(unescapeJsonPointer(s));a+=" && "+t}return a}var r=/^[a-z$_][a-z$_0-9]*$/i;var t=/^[0-9]+$/;var a=/'|\\/g;function getProperty(e){return t.test(e)?"["+e+"]":r.test(e)?"."+e:"['"+e.replace(a,"\\$&")+"']"}function unescapeJsonPointer(e){return e.replace(/~1/g,"/").replace(/~0/g,"~")}},3213:function(e){"use strict";e.exports=function generate__formatLimit(e,r,t){var a=" ";var i=e.level;var n=e.dataLevel;var s=e.schema[r];var o=e.schemaPath+e.util.getProperty(r);var u=e.errSchemaPath+"/"+r;var l=!e.opts.allErrors;var c;var f="data"+(n||"");var p="valid"+i;a+="var "+p+" = undefined;";if(e.opts.format===false){a+=" "+p+" = true; ";return a}var d=e.schema.format,h=e.opts.$data&&d.$data,m="";if(h){var g=e.util.getData(d.$data,n,e.dataPathArr),y="format"+i,S="compare"+i;a+=" var "+y+" = formats["+g+"] , "+S+" = "+y+" && "+y+".compare;"}else{var y=e.formats[d];if(!(y&&y.compare)){a+=" "+p+" = true; ";return a}var S="formats"+e.util.getProperty(d)+".compare"}var P=r=="formatMaximum",b="formatExclusive"+(P?"Maximum":"Minimum"),_=e.schema[b],w=e.opts.$data&&_&&_.$data,E=P?"<":">",x="result"+i;var $=e.opts.$data&&s&&s.$data,C;if($){a+=" var schema"+i+" = "+e.util.getData(s.$data,n,e.dataPathArr)+"; ";C="schema"+i}else{C=s}if(w){var R=e.util.getData(_.$data,n,e.dataPathArr),O="exclusive"+i,M="op"+i,A="' + "+M+" + '";a+=" var schemaExcl"+i+" = "+R+"; ";R="schemaExcl"+i;a+=" if (typeof "+R+" != 'boolean' && "+R+" !== undefined) { "+p+" = false; ";var c=b;var F=F||[];F.push(a);a="";if(e.createErrors!==false){a+=" { keyword: '"+(c||"_formatExclusiveLimit")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: {} ";if(e.opts.messages!==false){a+=" , message: '"+b+" should be boolean' "}if(e.opts.verbose){a+=" , schema: validate.schema"+o+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "}a+=" } "}else{a+=" {} "}var j=a;a=F.pop();if(!e.compositeRule&&l){if(e.async){a+=" throw new ValidationError(["+j+"]); "}else{a+=" validate.errors = ["+j+"]; return false; "}}else{a+=" var err = "+j+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}a+=" } ";if(l){m+="}";a+=" else { "}if($){a+=" if ("+C+" === undefined) "+p+" = true; else if (typeof "+C+" != 'string') "+p+" = false; else { ";m+="}"}if(h){a+=" if (!"+S+") "+p+" = true; else { ";m+="}"}a+=" var "+x+" = "+S+"("+f+", ";if($){a+=""+C}else{a+=""+e.util.toQuotedString(s)}a+=" ); if ("+x+" === undefined) "+p+" = false; var "+O+" = "+R+" === true; if ("+p+" === undefined) { "+p+" = "+O+" ? "+x+" "+E+" 0 : "+x+" "+E+"= 0; } if (!"+p+") var op"+i+" = "+O+" ? '"+E+"' : '"+E+"=';"}else{var O=_===true,A=E;if(!O)A+="=";var M="'"+A+"'";if($){a+=" if ("+C+" === undefined) "+p+" = true; else if (typeof "+C+" != 'string') "+p+" = false; else { ";m+="}"}if(h){a+=" if (!"+S+") "+p+" = true; else { ";m+="}"}a+=" var "+x+" = "+S+"("+f+", ";if($){a+=""+C}else{a+=""+e.util.toQuotedString(s)}a+=" ); if ("+x+" === undefined) "+p+" = false; if ("+p+" === undefined) "+p+" = "+x+" "+E;if(!O){a+="="}a+=" 0;"}a+=""+m+"if (!"+p+") { ";var c=r;var F=F||[];F.push(a);a="";if(e.createErrors!==false){a+=" { keyword: '"+(c||"_formatLimit")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { comparison: "+M+", limit: ";if($){a+=""+C}else{a+=""+e.util.toQuotedString(s)}a+=" , exclusive: "+O+" } ";if(e.opts.messages!==false){a+=" , message: 'should be "+A+' "';if($){a+="' + "+C+" + '"}else{a+=""+e.util.escapeQuotes(s)}a+="\"' "}if(e.opts.verbose){a+=" , schema: ";if($){a+="validate.schema"+o}else{a+=""+e.util.toQuotedString(s)}a+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "}a+=" } "}else{a+=" {} "}var j=a;a=F.pop();if(!e.compositeRule&&l){if(e.async){a+=" throw new ValidationError(["+j+"]); "}else{a+=" validate.errors = ["+j+"]; return false; "}}else{a+=" var err = "+j+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}a+="}";return a}},4467:function(e){"use strict";e.exports=function generate_patternRequired(e,r,t){var a=" ";var i=e.level;var n=e.dataLevel;var s=e.schema[r];var o=e.schemaPath+e.util.getProperty(r);var u=e.errSchemaPath+"/"+r;var l=!e.opts.allErrors;var c="data"+(n||"");var f="valid"+i;var p="key"+i,d="idx"+i,h="patternMatched"+i,m="dataProperties"+i,g="",y=e.opts.ownProperties;a+="var "+f+" = true;";if(y){a+=" var "+m+" = undefined;"}var S=s;if(S){var P,b=-1,_=S.length-1;while(b<_){P=S[b+=1];a+=" var "+h+" = false; ";if(y){a+=" "+m+" = "+m+" || Object.keys("+c+"); for (var "+d+"=0; "+d+"<"+m+".length; "+d+"++) { var "+p+" = "+m+"["+d+"]; "}else{a+=" for (var "+p+" in "+c+") { "}a+=" "+h+" = "+e.usePattern(P)+".test("+p+"); if ("+h+") break; } ";var w=e.util.escapeQuotes(P);a+=" if (!"+h+") { "+f+" = false; var err = ";if(e.createErrors!==false){a+=" { keyword: '"+"patternRequired"+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { missingPattern: '"+w+"' } ";if(e.opts.messages!==false){a+=" , message: 'should have property matching pattern \\'"+w+"\\'' "}if(e.opts.verbose){a+=" , schema: validate.schema"+o+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "}a+=" } "}else{a+=" {} "}a+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } ";if(l){g+="}";a+=" else { "}}}a+=""+g;return a}},2114:function(e){"use strict";e.exports=function generate_switch(e,r,t){var a=" ";var i=e.level;var n=e.dataLevel;var s=e.schema[r];var o=e.schemaPath+e.util.getProperty(r);var u=e.errSchemaPath+"/"+r;var l=!e.opts.allErrors;var c="data"+(n||"");var f="valid"+i;var p="errs__"+i;var d=e.util.copy(e);var h="";d.level++;var m="valid"+d.level;var g="ifPassed"+e.level,y=d.baseId,S;a+="var "+g+";";var P=s;if(P){var b,_=-1,w=P.length-1;while(_<w){b=P[_+=1];if(_&&!S){a+=" if (!"+g+") { ";h+="}"}if(b.if&&(e.opts.strictKeywords?typeof b.if=="object"&&Object.keys(b.if).length>0:e.util.schemaHasRules(b.if,e.RULES.all))){a+=" var "+p+" = errors; ";var E=e.compositeRule;e.compositeRule=d.compositeRule=true;d.createErrors=false;d.schema=b.if;d.schemaPath=o+"["+_+"].if";d.errSchemaPath=u+"/"+_+"/if";a+=" "+e.validate(d)+" ";d.baseId=y;d.createErrors=true;e.compositeRule=d.compositeRule=E;a+=" "+g+" = "+m+"; if ("+g+") { ";if(typeof b.then=="boolean"){if(b.then===false){var x=x||[];x.push(a);a="";if(e.createErrors!==false){a+=" { keyword: '"+"switch"+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { caseIndex: "+_+" } ";if(e.opts.messages!==false){a+=" , message: 'should pass \"switch\" keyword validation' "}if(e.opts.verbose){a+=" , schema: validate.schema"+o+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "}a+=" } "}else{a+=" {} "}var $=a;a=x.pop();if(!e.compositeRule&&l){if(e.async){a+=" throw new ValidationError(["+$+"]); "}else{a+=" validate.errors = ["+$+"]; return false; "}}else{a+=" var err = "+$+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}}a+=" var "+m+" = "+b.then+"; "}else{d.schema=b.then;d.schemaPath=o+"["+_+"].then";d.errSchemaPath=u+"/"+_+"/then";a+=" "+e.validate(d)+" ";d.baseId=y}a+=" } else { errors = "+p+"; if (vErrors !== null) { if ("+p+") vErrors.length = "+p+"; else vErrors = null; } } "}else{a+=" "+g+" = true; ";if(typeof b.then=="boolean"){if(b.then===false){var x=x||[];x.push(a);a="";if(e.createErrors!==false){a+=" { keyword: '"+"switch"+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { caseIndex: "+_+" } ";if(e.opts.messages!==false){a+=" , message: 'should pass \"switch\" keyword validation' "}if(e.opts.verbose){a+=" , schema: validate.schema"+o+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "}a+=" } "}else{a+=" {} "}var $=a;a=x.pop();if(!e.compositeRule&&l){if(e.async){a+=" throw new ValidationError(["+$+"]); "}else{a+=" validate.errors = ["+$+"]; return false; "}}else{a+=" var err = "+$+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}}a+=" var "+m+" = "+b.then+"; "}else{d.schema=b.then;d.schemaPath=o+"["+_+"].then";d.errSchemaPath=u+"/"+_+"/then";a+=" "+e.validate(d)+" ";d.baseId=y}}S=b.continue}}a+=""+h+"var "+f+" = "+m+";";return a}},1515:function(e){"use strict";var r={};var t={timestamp:function(){return Date.now()},datetime:function(){return(new Date).toISOString()},date:function(){return(new Date).toISOString().slice(0,10)},time:function(){return(new Date).toISOString().slice(11)},random:function(){return Math.random()},randomint:function(e){var r=e&&e.max||2;return function(){return Math.floor(Math.random()*r)}},seq:function(e){var t=e&&e.name||"";r[t]=r[t]||0;return function(){return r[t]++}}};e.exports=function defFunc(e){defFunc.definition={compile:function(e,r,t){var a={};for(var i in e){var n=e[i];var s=getDefault(typeof n=="string"?n:n.func);a[i]=s.length?s(n.args):s}return t.opts.useDefaults&&!t.compositeRule?assignDefaults:noop;function assignDefaults(r){for(var i in e){if(r[i]===undefined||t.opts.useDefaults=="empty"&&(r[i]===null||r[i]===""))r[i]=a[i]()}return true}function noop(){return true}},DEFAULTS:t,metaSchema:{type:"object",additionalProperties:{type:["string","object"],additionalProperties:false,required:["func","args"],properties:{func:{type:"string"},args:{type:"object"}}}}};e.addKeyword("dynamicDefaults",defFunc.definition);return e;function getDefault(e){var r=t[e];if(r)return r;throw new Error('invalid "dynamicDefaults" keyword property value: '+e)}}},8197:function(e,r,t){"use strict";e.exports=t(6631)("Maximum")},7158:function(e,r,t){"use strict";e.exports=t(6631)("Minimum")},1322:function(e,r,t){"use strict";e.exports={instanceof:t(899),range:t(6938),regexp:t(4562),typeof:t(2642),dynamicDefaults:t(1515),allRequired:t(2996),anyRequired:t(9016),oneRequired:t(7916),prohibited:t(7819),uniqueItemProperties:t(9165),deepProperties:t(9776),deepRequired:t(5608),formatMinimum:t(7158),formatMaximum:t(8197),patternRequired:t(1725),switch:t(1429),select:t(7427),transform:t(4468)}},899:function(e){"use strict";var r={Object:Object,Array:Array,Function:Function,Number:Number,String:String,Date:Date,RegExp:RegExp};e.exports=function defFunc(e){if(typeof Buffer!="undefined")r.Buffer=Buffer;if(typeof Promise!="undefined")r.Promise=Promise;defFunc.definition={compile:function(e){if(typeof e=="string"){var r=getConstructor(e);return function(e){return e instanceof r}}var t=e.map(getConstructor);return function(e){for(var r=0;r<t.length;r++)if(e instanceof t[r])return true;return false}},CONSTRUCTORS:r,metaSchema:{anyOf:[{type:"string"},{type:"array",items:{type:"string"}}]}};e.addKeyword("instanceof",defFunc.definition);return e;function getConstructor(e){var t=r[e];if(t)return t;throw new Error('invalid "instanceof" keyword value '+e)}}},7916:function(e){"use strict";e.exports=function defFunc(e){defFunc.definition={type:"object",macro:function(e){if(e.length==0)return true;if(e.length==1)return{required:e};var r=e.map((function(e){return{required:[e]}}));return{oneOf:r}},metaSchema:{type:"array",items:{type:"string"}}};e.addKeyword("oneRequired",defFunc.definition);return e}},1725:function(e,r,t){"use strict";e.exports=function defFunc(e){defFunc.definition={type:"object",inline:t(4467),statements:true,errors:"full",metaSchema:{type:"array",items:{type:"string",format:"regex"},uniqueItems:true}};e.addKeyword("patternRequired",defFunc.definition);return e}},7819:function(e){"use strict";e.exports=function defFunc(e){defFunc.definition={type:"object",macro:function(e){if(e.length==0)return true;if(e.length==1)return{not:{required:e}};var r=e.map((function(e){return{required:[e]}}));return{not:{anyOf:r}}},metaSchema:{type:"array",items:{type:"string"}}};e.addKeyword("prohibited",defFunc.definition);return e}},6938:function(e){"use strict";e.exports=function defFunc(e){defFunc.definition={type:"number",macro:function(e,r){var t=e[0],a=e[1],i=r.exclusiveRange;validateRangeSchema(t,a,i);return i===true?{exclusiveMinimum:t,exclusiveMaximum:a}:{minimum:t,maximum:a}},metaSchema:{type:"array",minItems:2,maxItems:2,items:{type:"number"}}};e.addKeyword("range",defFunc.definition);e.addKeyword("exclusiveRange");return e;function validateRangeSchema(e,r,t){if(t!==undefined&&typeof t!="boolean")throw new Error("Invalid schema for exclusiveRange keyword, should be boolean");if(e>r||t&&e==r)throw new Error("There are no numbers in range")}}},4562:function(e){"use strict";e.exports=function defFunc(e){defFunc.definition={type:"string",inline:function(e,r,t){return getRegExp()+".test(data"+(e.dataLevel||"")+")";function getRegExp(){try{if(typeof t=="object")return new RegExp(t.pattern,t.flags);var e=t.match(/^\/(.*)\/([gimuy]*)$/);if(e)return new RegExp(e[1],e[2]);throw new Error("cannot parse string into RegExp")}catch(e){console.error("regular expression",t,"is invalid");throw e}}},metaSchema:{type:["string","object"],properties:{pattern:{type:"string"},flags:{type:"string"}},required:["pattern"],additionalProperties:false}};e.addKeyword("regexp",defFunc.definition);return e}},7427:function(e,r,t){"use strict";var a=t(5458);e.exports=function defFunc(e){if(!e._opts.$data){console.warn("keyword select requires $data option");return e}var r=a.metaSchemaRef(e);var t=[];defFunc.definition={validate:function v(e,r,t){if(t.selectCases===undefined)throw new Error('keyword "selectCases" is absent');var a=getCompiledSchemas(t,false);var i=a.cases[e];if(i===undefined)i=a.default;if(typeof i=="boolean")return i;var n=i(r);if(!n)v.errors=i.errors;return n},$data:true,metaSchema:{type:["string","number","boolean","null"]}};e.addKeyword("select",defFunc.definition);e.addKeyword("selectCases",{compile:function(e,r){var t=getCompiledSchemas(r);for(var a in e)t.cases[a]=compileOrBoolean(e[a]);return function(){return true}},valid:true,metaSchema:{type:"object",additionalProperties:r}});e.addKeyword("selectDefault",{compile:function(e,r){var t=getCompiledSchemas(r);t.default=compileOrBoolean(e);return function(){return true}},valid:true,metaSchema:r});return e;function getCompiledSchemas(e,r){var a;t.some((function(r){if(r.parentSchema===e){a=r;return true}}));if(!a&&r!==false){a={parentSchema:e,cases:{},default:true};t.push(a)}return a}function compileOrBoolean(r){return typeof r=="boolean"?r:e.compile(r)}}},1429:function(e,r,t){"use strict";var a=t(5458);e.exports=function defFunc(e){if(e.RULES.keywords.switch&&e.RULES.keywords.if)return;var r=a.metaSchemaRef(e);defFunc.definition={inline:t(2114),statements:true,errors:"full",metaSchema:{type:"array",items:{required:["then"],properties:{if:r,then:{anyOf:[{type:"boolean"},r]},continue:{type:"boolean"}},additionalProperties:false,dependencies:{continue:["if"]}}}};e.addKeyword("switch",defFunc.definition);return e}},4468:function(e){"use strict";e.exports=function defFunc(e){var r={trimLeft:function(e){return e.replace(/^[\s]+/,"")},trimRight:function(e){return e.replace(/[\s]+$/,"")},trim:function(e){return e.trim()},toLowerCase:function(e){return e.toLowerCase()},toUpperCase:function(e){return e.toUpperCase()},toEnumCase:function(e,r){return r.hash[makeHashTableKey(e)]||e}};defFunc.definition={type:"string",errors:false,modifying:true,valid:true,compile:function(e,t){var a;if(e.indexOf("toEnumCase")!==-1){a={hash:{}};if(!t.enum)throw new Error('Missing enum. To use `transform:["toEnumCase"]`, `enum:[...]` is required.');for(var i=t.enum.length;i--;i){var n=t.enum[i];if(typeof n!=="string")continue;var s=makeHashTableKey(n);if(a.hash[s])throw new Error('Invalid enum uniqueness. To use `transform:["toEnumCase"]`, all values must be unique when case insensitive.');a.hash[s]=n}}return function(t,i,n,s){if(!n)return;for(var o=0,u=e.length;o<u;o++)t=r[e[o]](t,a);n[s]=t}},metaSchema:{type:"array",items:{type:"string",enum:["trimLeft","trimRight","trim","toLowerCase","toUpperCase","toEnumCase"]}}};e.addKeyword("transform",defFunc.definition);return e;function makeHashTableKey(e){return e.toLowerCase()}}},2642:function(e){"use strict";var r=["undefined","string","number","object","function","boolean","symbol"];e.exports=function defFunc(e){defFunc.definition={inline:function(e,r,t){var a="data"+(e.dataLevel||"");if(typeof t=="string")return"typeof "+a+' == "'+t+'"';t="validate.schema"+e.schemaPath+"."+r;return t+".indexOf(typeof "+a+") >= 0"},metaSchema:{anyOf:[{type:"string",enum:r},{type:"array",items:{type:"string",enum:r}}]}};e.addKeyword("typeof",defFunc.definition);return e}},9165:function(e){"use strict";var r=["number","integer","string","boolean","null"];e.exports=function defFunc(e){defFunc.definition={type:"array",compile:function(e,r,t){var a=t.util.equal;var i=getScalarKeys(e,r);return function(r){if(r.length>1){for(var t=0;t<e.length;t++){var n,s=e[t];if(i[t]){var o={};for(n=r.length;n--;){if(!r[n]||typeof r[n]!="object")continue;var u=r[n][s];if(u&&typeof u=="object")continue;if(typeof u=="string")u='"'+u;if(o[u])return false;o[u]=true}}else{for(n=r.length;n--;){if(!r[n]||typeof r[n]!="object")continue;for(var l=n;l--;){if(r[l]&&typeof r[l]=="object"&&a(r[n][s],r[l][s]))return false}}}}}return true}},metaSchema:{type:"array",items:{type:"string"}}};e.addKeyword("uniqueItemProperties",defFunc.definition);return e};function getScalarKeys(e,t){return e.map((function(e){var a=t.items&&t.items.properties;var i=a&&a[e]&&a[e].type;return Array.isArray(i)?i.indexOf("object")<0&&i.indexOf("array")<0:r.indexOf(i)>=0}))}},9525:function(e,r,t){"use strict";var a=t(2939),i=t(755),n=t(6113),s=t(9420),o=t(6932),u=t(1190),l=t(1226),c=t(156),f=t(2334);e.exports=Ajv;Ajv.prototype.validate=validate;Ajv.prototype.compile=compile;Ajv.prototype.addSchema=addSchema;Ajv.prototype.addMetaSchema=addMetaSchema;Ajv.prototype.validateSchema=validateSchema;Ajv.prototype.getSchema=getSchema;Ajv.prototype.removeSchema=removeSchema;Ajv.prototype.addFormat=addFormat;Ajv.prototype.errorsText=errorsText;Ajv.prototype._addSchema=_addSchema;Ajv.prototype._compile=_compile;Ajv.prototype.compileAsync=t(1443);var p=t(8758);Ajv.prototype.addKeyword=p.add;Ajv.prototype.getKeyword=p.get;Ajv.prototype.removeKeyword=p.remove;Ajv.prototype.validateKeyword=p.validate;var d=t(5996);Ajv.ValidationError=d.Validation;Ajv.MissingRefError=d.MissingRef;Ajv.$dataMetaSchema=c;var h="http://json-schema.org/draft-07/schema";var m=["removeAdditional","useDefaults","coerceTypes","strictDefaults"];var g=["/properties"];function Ajv(e){if(!(this instanceof Ajv))return new Ajv(e);e=this._opts=f.copy(e)||{};setLogger(this);this._schemas={};this._refs={};this._fragments={};this._formats=u(e.format);this._cache=e.cache||new n;this._loadingSchemas={};this._compilations=[];this.RULES=l();this._getId=chooseGetId(e);e.loopRequired=e.loopRequired||Infinity;if(e.errorDataPath=="property")e._errorDataPathProperty=true;if(e.serialize===undefined)e.serialize=o;this._metaOpts=getMetaSchemaOptions(this);if(e.formats)addInitialFormats(this);if(e.keywords)addInitialKeywords(this);addDefaultMetaSchema(this);if(typeof e.meta=="object")this.addMetaSchema(e.meta);if(e.nullable)this.addKeyword("nullable",{metaSchema:{type:"boolean"}});addInitialSchemas(this)}function validate(e,r){var t;if(typeof e=="string"){t=this.getSchema(e);if(!t)throw new Error('no schema with key or ref "'+e+'"')}else{var a=this._addSchema(e);t=a.validate||this._compile(a)}var i=t(r);if(t.$async!==true)this.errors=t.errors;return i}function compile(e,r){var t=this._addSchema(e,undefined,r);return t.validate||this._compile(t)}function addSchema(e,r,t,a){if(Array.isArray(e)){for(var n=0;n<e.length;n++)this.addSchema(e[n],undefined,t,a);return this}var s=this._getId(e);if(s!==undefined&&typeof s!="string")throw new Error("schema id must be string");r=i.normalizeId(r||s);checkUnique(this,r);this._schemas[r]=this._addSchema(e,t,a,true);return this}function addMetaSchema(e,r,t){this.addSchema(e,r,t,true);return this}function validateSchema(e,r){var t=e.$schema;if(t!==undefined&&typeof t!="string")throw new Error("$schema must be a string");t=t||this._opts.defaultMeta||defaultMeta(this);if(!t){this.logger.warn("meta-schema not available");this.errors=null;return true}var a=this.validate(t,e);if(!a&&r){var i="schema is invalid: "+this.errorsText();if(this._opts.validateSchema=="log")this.logger.error(i);else throw new Error(i)}return a}function defaultMeta(e){var r=e._opts.meta;e._opts.defaultMeta=typeof r=="object"?e._getId(r)||r:e.getSchema(h)?h:undefined;return e._opts.defaultMeta}function getSchema(e){var r=_getSchemaObj(this,e);switch(typeof r){case"object":return r.validate||this._compile(r);case"string":return this.getSchema(r);case"undefined":return _getSchemaFragment(this,e)}}function _getSchemaFragment(e,r){var t=i.schema.call(e,{schema:{}},r);if(t){var n=t.schema,o=t.root,u=t.baseId;var l=a.call(e,n,o,undefined,u);e._fragments[r]=new s({ref:r,fragment:true,schema:n,root:o,baseId:u,validate:l});return l}}function _getSchemaObj(e,r){r=i.normalizeId(r);return e._schemas[r]||e._refs[r]||e._fragments[r]}function removeSchema(e){if(e instanceof RegExp){_removeAllSchemas(this,this._schemas,e);_removeAllSchemas(this,this._refs,e);return this}switch(typeof e){case"undefined":_removeAllSchemas(this,this._schemas);_removeAllSchemas(this,this._refs);this._cache.clear();return this;case"string":var r=_getSchemaObj(this,e);if(r)this._cache.del(r.cacheKey);delete this._schemas[e];delete this._refs[e];return this;case"object":var t=this._opts.serialize;var a=t?t(e):e;this._cache.del(a);var n=this._getId(e);if(n){n=i.normalizeId(n);delete this._schemas[n];delete this._refs[n]}}return this}function _removeAllSchemas(e,r,t){for(var a in r){var i=r[a];if(!i.meta&&(!t||t.test(a))){e._cache.del(i.cacheKey);delete r[a]}}}function _addSchema(e,r,t,a){if(typeof e!="object"&&typeof e!="boolean")throw new Error("schema should be object or boolean");var n=this._opts.serialize;var o=n?n(e):e;var u=this._cache.get(o);if(u)return u;a=a||this._opts.addUsedSchema!==false;var l=i.normalizeId(this._getId(e));if(l&&a)checkUnique(this,l);var c=this._opts.validateSchema!==false&&!r;var f;if(c&&!(f=l&&l==i.normalizeId(e.$schema)))this.validateSchema(e,true);var p=i.ids.call(this,e);var d=new s({id:l,schema:e,localRefs:p,cacheKey:o,meta:t});if(l[0]!="#"&&a)this._refs[l]=d;this._cache.put(o,d);if(c&&f)this.validateSchema(e,true);return d}function _compile(e,r){if(e.compiling){e.validate=callValidate;callValidate.schema=e.schema;callValidate.errors=null;callValidate.root=r?r:callValidate;if(e.schema.$async===true)callValidate.$async=true;return callValidate}e.compiling=true;var t;if(e.meta){t=this._opts;this._opts=this._metaOpts}var i;try{i=a.call(this,e.schema,r,e.localRefs)}catch(r){delete e.validate;throw r}finally{e.compiling=false;if(e.meta)this._opts=t}e.validate=i;e.refs=i.refs;e.refVal=i.refVal;e.root=i.root;return i;function callValidate(){var r=e.validate;var t=r.apply(this,arguments);callValidate.errors=r.errors;return t}}function chooseGetId(e){switch(e.schemaId){case"auto":return _get$IdOrId;case"id":return _getId;default:return _get$Id}}function _getId(e){if(e.$id)this.logger.warn("schema $id ignored",e.$id);return e.id}function _get$Id(e){if(e.id)this.logger.warn("schema id ignored",e.id);return e.$id}function _get$IdOrId(e){if(e.$id&&e.id&&e.$id!=e.id)throw new Error("schema $id is different from id");return e.$id||e.id}function errorsText(e,r){e=e||this.errors;if(!e)return"No errors";r=r||{};var t=r.separator===undefined?", ":r.separator;var a=r.dataVar===undefined?"data":r.dataVar;var i="";for(var n=0;n<e.length;n++){var s=e[n];if(s)i+=a+s.dataPath+" "+s.message+t}return i.slice(0,-t.length)}function addFormat(e,r){if(typeof r=="string")r=new RegExp(r);this._formats[e]=r;return this}function addDefaultMetaSchema(e){var r;if(e._opts.$data){r=t(1398);e.addMetaSchema(r,r.$id,true)}if(e._opts.meta===false)return;var a=t(2352);if(e._opts.$data)a=c(a,g);e.addMetaSchema(a,h,true);e._refs["http://json-schema.org/schema"]=h}function addInitialSchemas(e){var r=e._opts.schemas;if(!r)return;if(Array.isArray(r))e.addSchema(r);else for(var t in r)e.addSchema(r[t],t)}function addInitialFormats(e){for(var r in e._opts.formats){var t=e._opts.formats[r];e.addFormat(r,t)}}function addInitialKeywords(e){for(var r in e._opts.keywords){var t=e._opts.keywords[r];e.addKeyword(r,t)}}function checkUnique(e,r){if(e._schemas[r]||e._refs[r])throw new Error('schema with key or id "'+r+'" already exists')}function getMetaSchemaOptions(e){var r=f.copy(e._opts);for(var t=0;t<m.length;t++)delete r[m[t]];return r}function setLogger(e){var r=e._opts.logger;if(r===false){e.logger={log:noop,warn:noop,error:noop}}else{if(r===undefined)r=console;if(!(typeof r=="object"&&r.log&&r.warn&&r.error))throw new Error("logger must implement log, warn and error methods");e.logger=r}}function noop(){}},6113:function(e){"use strict";var r=e.exports=function Cache(){this._cache={}};r.prototype.put=function Cache_put(e,r){this._cache[e]=r};r.prototype.get=function Cache_get(e){return this._cache[e]};r.prototype.del=function Cache_del(e){delete this._cache[e]};r.prototype.clear=function Cache_clear(){this._cache={}}},1443:function(e,r,t){"use strict";var a=t(5996).MissingRef;e.exports=compileAsync;function compileAsync(e,r,t){var i=this;if(typeof this._opts.loadSchema!="function")throw new Error("options.loadSchema should be a function");if(typeof r=="function"){t=r;r=undefined}var n=loadMetaSchemaOf(e).then((function(){var t=i._addSchema(e,undefined,r);return t.validate||_compileAsync(t)}));if(t){n.then((function(e){t(null,e)}),t)}return n;function loadMetaSchemaOf(e){var r=e.$schema;return r&&!i.getSchema(r)?compileAsync.call(i,{$ref:r},true):Promise.resolve()}function _compileAsync(e){try{return i._compile(e)}catch(e){if(e instanceof a)return loadMissingSchema(e);throw e}function loadMissingSchema(t){var a=t.missingSchema;if(added(a))throw new Error("Schema "+a+" is loaded but "+t.missingRef+" cannot be resolved");var n=i._loadingSchemas[a];if(!n){n=i._loadingSchemas[a]=i._opts.loadSchema(a);n.then(removePromise,removePromise)}return n.then((function(e){if(!added(a)){return loadMetaSchemaOf(e).then((function(){if(!added(a))i.addSchema(e,a,undefined,r)}))}})).then((function(){return _compileAsync(e)}));function removePromise(){delete i._loadingSchemas[a]}function added(e){return i._refs[e]||i._schemas[e]}}}}},5996:function(e,r,t){"use strict";var a=t(755);e.exports={Validation:errorSubclass(ValidationError),MissingRef:errorSubclass(MissingRefError)};function ValidationError(e){this.message="validation failed";this.errors=e;this.ajv=this.validation=true}MissingRefError.message=function(e,r){return"can't resolve reference "+r+" from id "+e};function MissingRefError(e,r,t){this.message=t||MissingRefError.message(e,r);this.missingRef=a.url(e,r);this.missingSchema=a.normalizeId(a.fullPath(this.missingRef))}function errorSubclass(e){e.prototype=Object.create(Error.prototype);e.prototype.constructor=e;return e}},1190:function(e,r,t){"use strict";var a=t(2334);var i=/^(\d\d\d\d)-(\d\d)-(\d\d)$/;var n=[0,31,28,31,30,31,30,31,31,30,31,30,31];var s=/^(\d\d):(\d\d):(\d\d)(\.\d+)?(z|[+-]\d\d(?::?\d\d)?)?$/i;var o=/^(?=.{1,253}\.?$)[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[-0-9a-z]{0,61}[0-9a-z])?)*\.?$/i;var u=/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)(?:\?(?:[a-z0-9\-._~!$&'()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i;var l=/^(?:[a-z][a-z0-9+\-.]*:)?(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'"()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?(?:\?(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i;var c=/^(?:(?:[^\x00-\x20"'<>%\\^`{|}]|%[0-9a-f]{2})|\{[+#./;?&=,!@|]?(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?(?:,(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?)*\})*$/i;var f=/^(?:(?:http[s\u017F]?|ftp):\/\/)(?:(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+(?::(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*)?@)?(?:(?!10(?:\.[0-9]{1,3}){3})(?!127(?:\.[0-9]{1,3}){3})(?!169\.254(?:\.[0-9]{1,3}){2})(?!192\.168(?:\.[0-9]{1,3}){2})(?!172\.(?:1[6-9]|2[0-9]|3[01])(?:\.[0-9]{1,3}){2})(?:[1-9][0-9]?|1[0-9][0-9]|2[01][0-9]|22[0-3])(?:\.(?:1?[0-9]{1,2}|2[0-4][0-9]|25[0-5])){2}(?:\.(?:[1-9][0-9]?|1[0-9][0-9]|2[0-4][0-9]|25[0-4]))|(?:(?:(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+-)*(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+)(?:\.(?:(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+-)*(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+)*(?:\.(?:(?:[a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]){2,})))(?::[0-9]{2,5})?(?:\/(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*)?$/i;var p=/^(?:urn:uuid:)?[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$/i;var d=/^(?:\/(?:[^~/]|~0|~1)*)*$/;var h=/^#(?:\/(?:[a-z0-9_\-.!$&'()*+,;:=@]|%[0-9a-f]{2}|~0|~1)*)*$/i;var m=/^(?:0|[1-9][0-9]*)(?:#|(?:\/(?:[^~/]|~0|~1)*)*)$/;e.exports=formats;function formats(e){e=e=="full"?"full":"fast";return a.copy(formats[e])}formats.fast={date:/^\d\d\d\d-[0-1]\d-[0-3]\d$/,time:/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)?$/i,"date-time":/^\d\d\d\d-[0-1]\d-[0-3]\d[t\s](?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)$/i,uri:/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/)?[^\s]*$/i,"uri-reference":/^(?:(?:[a-z][a-z0-9+\-.]*:)?\/?\/)?(?:[^\\\s#][^\s#]*)?(?:#[^\\\s]*)?$/i,"uri-template":c,url:f,email:/^[a-z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?)*$/i,hostname:o,ipv4:/^(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)$/,ipv6:/^\s*(?:(?:(?:[0-9a-f]{1,4}:){7}(?:[0-9a-f]{1,4}|:))|(?:(?:[0-9a-f]{1,4}:){6}(?::[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){5}(?:(?:(?::[0-9a-f]{1,4}){1,2})|:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){4}(?:(?:(?::[0-9a-f]{1,4}){1,3})|(?:(?::[0-9a-f]{1,4})?:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){3}(?:(?:(?::[0-9a-f]{1,4}){1,4})|(?:(?::[0-9a-f]{1,4}){0,2}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){2}(?:(?:(?::[0-9a-f]{1,4}){1,5})|(?:(?::[0-9a-f]{1,4}){0,3}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){1}(?:(?:(?::[0-9a-f]{1,4}){1,6})|(?:(?::[0-9a-f]{1,4}){0,4}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?::(?:(?:(?::[0-9a-f]{1,4}){1,7})|(?:(?::[0-9a-f]{1,4}){0,5}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(?:%.+)?\s*$/i,regex:regex,uuid:p,"json-pointer":d,"json-pointer-uri-fragment":h,"relative-json-pointer":m};formats.full={date:date,time:time,"date-time":date_time,uri:uri,"uri-reference":l,"uri-template":c,url:f,email:/^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$/i,hostname:o,ipv4:/^(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)$/,ipv6:/^\s*(?:(?:(?:[0-9a-f]{1,4}:){7}(?:[0-9a-f]{1,4}|:))|(?:(?:[0-9a-f]{1,4}:){6}(?::[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){5}(?:(?:(?::[0-9a-f]{1,4}){1,2})|:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){4}(?:(?:(?::[0-9a-f]{1,4}){1,3})|(?:(?::[0-9a-f]{1,4})?:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){3}(?:(?:(?::[0-9a-f]{1,4}){1,4})|(?:(?::[0-9a-f]{1,4}){0,2}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){2}(?:(?:(?::[0-9a-f]{1,4}){1,5})|(?:(?::[0-9a-f]{1,4}){0,3}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){1}(?:(?:(?::[0-9a-f]{1,4}){1,6})|(?:(?::[0-9a-f]{1,4}){0,4}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?::(?:(?:(?::[0-9a-f]{1,4}){1,7})|(?:(?::[0-9a-f]{1,4}){0,5}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(?:%.+)?\s*$/i,regex:regex,uuid:p,"json-pointer":d,"json-pointer-uri-fragment":h,"relative-json-pointer":m};function isLeapYear(e){return e%4===0&&(e%100!==0||e%400===0)}function date(e){var r=e.match(i);if(!r)return false;var t=+r[1];var a=+r[2];var s=+r[3];return a>=1&&a<=12&&s>=1&&s<=(a==2&&isLeapYear(t)?29:n[a])}function time(e,r){var t=e.match(s);if(!t)return false;var a=t[1];var i=t[2];var n=t[3];var o=t[5];return(a<=23&&i<=59&&n<=59||a==23&&i==59&&n==60)&&(!r||o)}var g=/t|\s/i;function date_time(e){var r=e.split(g);return r.length==2&&date(r[0])&&time(r[1],true)}var y=/\/|:/;function uri(e){return y.test(e)&&u.test(e)}var S=/[^\\]\\Z/;function regex(e){if(S.test(e))return false;try{new RegExp(e);return true}catch(e){return false}}},2939:function(e,r,t){"use strict";var a=t(755),i=t(2334),n=t(5996),s=t(6932);var o=t(241);var u=i.ucs2length;var l=t(4097);var c=n.Validation;e.exports=compile;function compile(e,r,t,f){var p=this,d=this._opts,h=[undefined],m={},g=[],y={},S=[],P={},b=[];r=r||{schema:e,refVal:h,refs:m};var _=checkCompiling.call(this,e,r,f);var w=this._compilations[_.index];if(_.compiling)return w.callValidate=callValidate;var E=this._formats;var x=this.RULES;try{var $=localCompile(e,r,t,f);w.validate=$;var C=w.callValidate;if(C){C.schema=$.schema;C.errors=null;C.refs=$.refs;C.refVal=$.refVal;C.root=$.root;C.$async=$.$async;if(d.sourceCode)C.source=$.source}return $}finally{endCompiling.call(this,e,r,f)}function callValidate(){var e=w.validate;var r=e.apply(this,arguments);callValidate.errors=e.errors;return r}function localCompile(e,t,s,f){var y=!t||t&&t.schema==e;if(t.schema!=r.schema)return compile.call(p,e,t,s,f);var P=e.$async===true;var _=o({isTop:true,schema:e,isRoot:y,baseId:f,root:t,schemaPath:"",errSchemaPath:"#",errorPath:'""',MissingRefError:n.MissingRef,RULES:x,validate:o,util:i,resolve:a,resolveRef:resolveRef,usePattern:usePattern,useDefault:useDefault,useCustomRule:useCustomRule,opts:d,formats:E,logger:p.logger,self:p});_=vars(h,refValCode)+vars(g,patternCode)+vars(S,defaultCode)+vars(b,customRuleCode)+_;if(d.processCode)_=d.processCode(_,e);var w;try{var $=new Function("self","RULES","formats","root","refVal","defaults","customRules","equal","ucs2length","ValidationError",_);w=$(p,x,E,r,h,S,b,l,u,c);h[0]=w}catch(e){p.logger.error("Error compiling schema, function code:",_);throw e}w.schema=e;w.errors=null;w.refs=m;w.refVal=h;w.root=y?w:t;if(P)w.$async=true;if(d.sourceCode===true){w.source={code:_,patterns:g,defaults:S}}return w}function resolveRef(e,i,n){i=a.url(e,i);var s=m[i];var o,u;if(s!==undefined){o=h[s];u="refVal["+s+"]";return resolvedRef(o,u)}if(!n&&r.refs){var l=r.refs[i];if(l!==undefined){o=r.refVal[l];u=addLocalRef(i,o);return resolvedRef(o,u)}}u=addLocalRef(i);var c=a.call(p,localCompile,r,i);if(c===undefined){var f=t&&t[i];if(f){c=a.inlineRef(f,d.inlineRefs)?f:compile.call(p,f,r,t,e)}}if(c===undefined){removeLocalRef(i)}else{replaceLocalRef(i,c);return resolvedRef(c,u)}}function addLocalRef(e,r){var t=h.length;h[t]=r;m[e]=t;return"refVal"+t}function removeLocalRef(e){delete m[e]}function replaceLocalRef(e,r){var t=m[e];h[t]=r}function resolvedRef(e,r){return typeof e=="object"||typeof e=="boolean"?{code:r,schema:e,inline:true}:{code:r,$async:e&&!!e.$async}}function usePattern(e){var r=y[e];if(r===undefined){r=y[e]=g.length;g[r]=e}return"pattern"+r}function useDefault(e){switch(typeof e){case"boolean":case"number":return""+e;case"string":return i.toQuotedString(e);case"object":if(e===null)return"null";var r=s(e);var t=P[r];if(t===undefined){t=P[r]=S.length;S[t]=e}return"default"+t}}function useCustomRule(e,r,t,a){if(p._opts.validateSchema!==false){var i=e.definition.dependencies;if(i&&!i.every((function(e){return Object.prototype.hasOwnProperty.call(t,e)})))throw new Error("parent schema must have all required keywords: "+i.join(","));var n=e.definition.validateSchema;if(n){var s=n(r);if(!s){var o="keyword schema is invalid: "+p.errorsText(n.errors);if(p._opts.validateSchema=="log")p.logger.error(o);else throw new Error(o)}}}var u=e.definition.compile,l=e.definition.inline,c=e.definition.macro;var f;if(u){f=u.call(p,r,t,a)}else if(c){f=c.call(p,r,t,a);if(d.validateSchema!==false)p.validateSchema(f,true)}else if(l){f=l.call(p,a,e.keyword,r,t)}else{f=e.definition.validate;if(!f)return}if(f===undefined)throw new Error('custom keyword "'+e.keyword+'"failed to compile');var h=b.length;b[h]=f;return{code:"customRule"+h,validate:f}}}function checkCompiling(e,r,t){var a=compIndex.call(this,e,r,t);if(a>=0)return{index:a,compiling:true};a=this._compilations.length;this._compilations[a]={schema:e,root:r,baseId:t};return{index:a,compiling:false}}function endCompiling(e,r,t){var a=compIndex.call(this,e,r,t);if(a>=0)this._compilations.splice(a,1)}function compIndex(e,r,t){for(var a=0;a<this._compilations.length;a++){var i=this._compilations[a];if(i.schema==e&&i.root==r&&i.baseId==t)return a}return-1}function patternCode(e,r){return"var pattern"+e+" = new RegExp("+i.toQuotedString(r[e])+");"}function defaultCode(e){return"var default"+e+" = defaults["+e+"];"}function refValCode(e,r){return r[e]===undefined?"":"var refVal"+e+" = refVal["+e+"];"}function customRuleCode(e){return"var customRule"+e+" = customRules["+e+"];"}function vars(e,r){if(!e.length)return"";var t="";for(var a=0;a<e.length;a++)t+=r(a,e);return t}},755:function(e,r,t){"use strict";var a=t(6658),i=t(4097),n=t(2334),s=t(9420),o=t(2271);e.exports=resolve;resolve.normalizeId=normalizeId;resolve.fullPath=getFullPath;resolve.url=resolveUrl;resolve.ids=resolveIds;resolve.inlineRef=inlineRef;resolve.schema=resolveSchema;function resolve(e,r,t){var a=this._refs[t];if(typeof a=="string"){if(this._refs[a])a=this._refs[a];else return resolve.call(this,e,r,a)}a=a||this._schemas[t];if(a instanceof s){return inlineRef(a.schema,this._opts.inlineRefs)?a.schema:a.validate||this._compile(a)}var i=resolveSchema.call(this,r,t);var n,o,u;if(i){n=i.schema;r=i.root;u=i.baseId}if(n instanceof s){o=n.validate||e.call(this,n.schema,r,undefined,u)}else if(n!==undefined){o=inlineRef(n,this._opts.inlineRefs)?n:e.call(this,n,r,undefined,u)}return o}function resolveSchema(e,r){var t=a.parse(r),i=_getFullPath(t),n=getFullPath(this._getId(e.schema));if(Object.keys(e.schema).length===0||i!==n){var o=normalizeId(i);var u=this._refs[o];if(typeof u=="string"){return resolveRecursive.call(this,e,u,t)}else if(u instanceof s){if(!u.validate)this._compile(u);e=u}else{u=this._schemas[o];if(u instanceof s){if(!u.validate)this._compile(u);if(o==normalizeId(r))return{schema:u,root:e,baseId:n};e=u}else{return}}if(!e.schema)return;n=getFullPath(this._getId(e.schema))}return getJsonPointer.call(this,t,n,e.schema,e)}function resolveRecursive(e,r,t){var a=resolveSchema.call(this,e,r);if(a){var i=a.schema;var n=a.baseId;e=a.root;var s=this._getId(i);if(s)n=resolveUrl(n,s);return getJsonPointer.call(this,t,n,i,e)}}var u=n.toHash(["properties","patternProperties","enum","dependencies","definitions"]);function getJsonPointer(e,r,t,a){e.fragment=e.fragment||"";if(e.fragment.slice(0,1)!="/")return;var i=e.fragment.split("/");for(var s=1;s<i.length;s++){var o=i[s];if(o){o=n.unescapeFragment(o);t=t[o];if(t===undefined)break;var l;if(!u[o]){l=this._getId(t);if(l)r=resolveUrl(r,l);if(t.$ref){var c=resolveUrl(r,t.$ref);var f=resolveSchema.call(this,a,c);if(f){t=f.schema;a=f.root;r=f.baseId}}}}}if(t!==undefined&&t!==a.schema)return{schema:t,root:a,baseId:r}}var l=n.toHash(["type","format","pattern","maxLength","minLength","maxProperties","minProperties","maxItems","minItems","maximum","minimum","uniqueItems","multipleOf","required","enum"]);function inlineRef(e,r){if(r===false)return false;if(r===undefined||r===true)return checkNoRef(e);else if(r)return countKeys(e)<=r}function checkNoRef(e){var r;if(Array.isArray(e)){for(var t=0;t<e.length;t++){r=e[t];if(typeof r=="object"&&!checkNoRef(r))return false}}else{for(var a in e){if(a=="$ref")return false;r=e[a];if(typeof r=="object"&&!checkNoRef(r))return false}}return true}function countKeys(e){var r=0,t;if(Array.isArray(e)){for(var a=0;a<e.length;a++){t=e[a];if(typeof t=="object")r+=countKeys(t);if(r==Infinity)return Infinity}}else{for(var i in e){if(i=="$ref")return Infinity;if(l[i]){r++}else{t=e[i];if(typeof t=="object")r+=countKeys(t)+1;if(r==Infinity)return Infinity}}}return r}function getFullPath(e,r){if(r!==false)e=normalizeId(e);var t=a.parse(e);return _getFullPath(t)}function _getFullPath(e){return a.serialize(e).split("#")[0]+"#"}var c=/#\/?$/;function normalizeId(e){return e?e.replace(c,""):""}function resolveUrl(e,r){r=normalizeId(r);return a.resolve(e,r)}function resolveIds(e){var r=normalizeId(this._getId(e));var t={"":r};var s={"":getFullPath(r,false)};var u={};var l=this;o(e,{allKeys:true},(function(e,r,o,c,f,p,d){if(r==="")return;var h=l._getId(e);var m=t[c];var g=s[c]+"/"+f;if(d!==undefined)g+="/"+(typeof d=="number"?d:n.escapeFragment(d));if(typeof h=="string"){h=m=normalizeId(m?a.resolve(m,h):h);var y=l._refs[h];if(typeof y=="string")y=l._refs[y];if(y&&y.schema){if(!i(e,y.schema))throw new Error('id "'+h+'" resolves to more than one schema')}else if(h!=normalizeId(g)){if(h[0]=="#"){if(u[h]&&!i(e,u[h]))throw new Error('id "'+h+'" resolves to more than one schema');u[h]=e}else{l._refs[h]=g}}}t[r]=m;s[r]=g}));return u}},1226:function(e,r,t){"use strict";var a=t(3309),i=t(2334).toHash;e.exports=function rules(){var e=[{type:"number",rules:[{maximum:["exclusiveMaximum"]},{minimum:["exclusiveMinimum"]},"multipleOf","format"]},{type:"string",rules:["maxLength","minLength","pattern","format"]},{type:"array",rules:["maxItems","minItems","items","contains","uniqueItems"]},{type:"object",rules:["maxProperties","minProperties","required","dependencies","propertyNames",{properties:["additionalProperties","patternProperties"]}]},{rules:["$ref","const","enum","not","anyOf","oneOf","allOf","if"]}];var r=["type","$comment"];var t=["$schema","$id","id","$data","$async","title","description","default","definitions","examples","readOnly","writeOnly","contentMediaType","contentEncoding","additionalItems","then","else"];var n=["number","integer","string","array","object","boolean","null"];e.all=i(r);e.types=i(n);e.forEach((function(t){t.rules=t.rules.map((function(t){var i;if(typeof t=="object"){var n=Object.keys(t)[0];i=t[n];t=n;i.forEach((function(t){r.push(t);e.all[t]=true}))}r.push(t);var s=e.all[t]={keyword:t,code:a[t],implements:i};return s}));e.all.$comment={keyword:"$comment",code:a.$comment};if(t.type)e.types[t.type]=t}));e.keywords=i(r.concat(t));e.custom={};return e}},9420:function(e,r,t){"use strict";var a=t(2334);e.exports=SchemaObject;function SchemaObject(e){a.copy(e,this)}},5350:function(e){"use strict";e.exports=function ucs2length(e){var r=0,t=e.length,a=0,i;while(a<t){r++;i=e.charCodeAt(a++);if(i>=55296&&i<=56319&&a<t){i=e.charCodeAt(a);if((i&64512)==56320)a++}}return r}},2334:function(e,r,t){"use strict";e.exports={copy:copy,checkDataType:checkDataType,checkDataTypes:checkDataTypes,coerceToTypes:coerceToTypes,toHash:toHash,getProperty:getProperty,escapeQuotes:escapeQuotes,equal:t(4097),ucs2length:t(5350),varOccurences:varOccurences,varReplace:varReplace,schemaHasRules:schemaHasRules,schemaHasRulesExcept:schemaHasRulesExcept,schemaUnknownRules:schemaUnknownRules,toQuotedString:toQuotedString,getPathExpr:getPathExpr,getPath:getPath,getData:getData,unescapeFragment:unescapeFragment,unescapeJsonPointer:unescapeJsonPointer,escapeFragment:escapeFragment,escapeJsonPointer:escapeJsonPointer};function copy(e,r){r=r||{};for(var t in e)r[t]=e[t];return r}function checkDataType(e,r,t,a){var i=a?" !== ":" === ",n=a?" || ":" && ",s=a?"!":"",o=a?"":"!";switch(e){case"null":return r+i+"null";case"array":return s+"Array.isArray("+r+")";case"object":return"("+s+r+n+"typeof "+r+i+'"object"'+n+o+"Array.isArray("+r+"))";case"integer":return"(typeof "+r+i+'"number"'+n+o+"("+r+" % 1)"+n+r+i+r+(t?n+s+"isFinite("+r+")":"")+")";case"number":return"(typeof "+r+i+'"'+e+'"'+(t?n+s+"isFinite("+r+")":"")+")";default:return"typeof "+r+i+'"'+e+'"'}}function checkDataTypes(e,r,t){switch(e.length){case 1:return checkDataType(e[0],r,t,true);default:var a="";var i=toHash(e);if(i.array&&i.object){a=i.null?"(":"(!"+r+" || ";a+="typeof "+r+' !== "object")';delete i.null;delete i.array;delete i.object}if(i.number)delete i.integer;for(var n in i)a+=(a?" && ":"")+checkDataType(n,r,t,true);return a}}var a=toHash(["string","number","integer","boolean","null"]);function coerceToTypes(e,r){if(Array.isArray(r)){var t=[];for(var i=0;i<r.length;i++){var n=r[i];if(a[n])t[t.length]=n;else if(e==="array"&&n==="array")t[t.length]=n}if(t.length)return t}else if(a[r]){return[r]}else if(e==="array"&&r==="array"){return["array"]}}function toHash(e){var r={};for(var t=0;t<e.length;t++)r[e[t]]=true;return r}var i=/^[a-z$_][a-z$_0-9]*$/i;var n=/'|\\/g;function getProperty(e){return typeof e=="number"?"["+e+"]":i.test(e)?"."+e:"['"+escapeQuotes(e)+"']"}function escapeQuotes(e){return e.replace(n,"\\$&").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\f/g,"\\f").replace(/\t/g,"\\t")}function varOccurences(e,r){r+="[^0-9]";var t=e.match(new RegExp(r,"g"));return t?t.length:0}function varReplace(e,r,t){r+="([^0-9])";t=t.replace(/\$/g,"$$$$");return e.replace(new RegExp(r,"g"),t+"$1")}function schemaHasRules(e,r){if(typeof e=="boolean")return!e;for(var t in e)if(r[t])return true}function schemaHasRulesExcept(e,r,t){if(typeof e=="boolean")return!e&&t!="not";for(var a in e)if(a!=t&&r[a])return true}function schemaUnknownRules(e,r){if(typeof e=="boolean")return;for(var t in e)if(!r[t])return t}function toQuotedString(e){return"'"+escapeQuotes(e)+"'"}function getPathExpr(e,r,t,a){var i=t?"'/' + "+r+(a?"":".replace(/~/g, '~0').replace(/\\//g, '~1')"):a?"'[' + "+r+" + ']'":"'[\\'' + "+r+" + '\\']'";return joinPaths(e,i)}function getPath(e,r,t){var a=t?toQuotedString("/"+escapeJsonPointer(r)):toQuotedString(getProperty(r));return joinPaths(e,a)}var s=/^\/(?:[^~]|~0|~1)*$/;var o=/^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;function getData(e,r,t){var a,i,n,u;if(e==="")return"rootData";if(e[0]=="/"){if(!s.test(e))throw new Error("Invalid JSON-pointer: "+e);i=e;n="rootData"}else{u=e.match(o);if(!u)throw new Error("Invalid JSON-pointer: "+e);a=+u[1];i=u[2];if(i=="#"){if(a>=r)throw new Error("Cannot access property/index "+a+" levels up, current level is "+r);return t[r-a]}if(a>r)throw new Error("Cannot access data "+a+" levels up, current level is "+r);n="data"+(r-a||"");if(!i)return n}var l=n;var c=i.split("/");for(var f=0;f<c.length;f++){var p=c[f];if(p){n+=getProperty(unescapeJsonPointer(p));l+=" && "+n}}return l}function joinPaths(e,r){if(e=='""')return r;return(e+" + "+r).replace(/([^\\])' \+ '/g,"$1")}function unescapeFragment(e){return unescapeJsonPointer(decodeURIComponent(e))}function escapeFragment(e){return encodeURIComponent(escapeJsonPointer(e))}function escapeJsonPointer(e){return e.replace(/~/g,"~0").replace(/\//g,"~1")}function unescapeJsonPointer(e){return e.replace(/~1/g,"/").replace(/~0/g,"~")}},156:function(e){"use strict";var r=["multipleOf","maximum","exclusiveMaximum","minimum","exclusiveMinimum","maxLength","minLength","pattern","additionalItems","maxItems","minItems","uniqueItems","maxProperties","minProperties","required","additionalProperties","enum","format","const"];e.exports=function(e,t){for(var a=0;a<t.length;a++){e=JSON.parse(JSON.stringify(e));var i=t[a].split("/");var n=e;var s;for(s=1;s<i.length;s++)n=n[i[s]];for(s=0;s<r.length;s++){var o=r[s];var u=n[o];if(u){n[o]={anyOf:[u,{$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"}]}}}}return e}},6277:function(e,r,t){"use strict";var a=t(2352);e.exports={$id:"https://github.com/ajv-validator/ajv/blob/master/lib/definition_schema.js",definitions:{simpleTypes:a.definitions.simpleTypes},type:"object",dependencies:{schema:["validate"],$data:["validate"],statements:["inline"],valid:{not:{required:["macro"]}}},properties:{type:a.properties.type,schema:{type:"boolean"},statements:{type:"boolean"},dependencies:{type:"array",items:{type:"string"}},metaSchema:{type:"object"},modifying:{type:"boolean"},valid:{type:"boolean"},$data:{type:"boolean"},async:{type:"boolean"},errors:{anyOf:[{type:"boolean"},{const:"full"}]}}}},9499:function(e){"use strict";e.exports=function generate__limit(e,r,t){var a=" ";var i=e.level;var n=e.dataLevel;var s=e.schema[r];var o=e.schemaPath+e.util.getProperty(r);var u=e.errSchemaPath+"/"+r;var l=!e.opts.allErrors;var c;var f="data"+(n||"");var p=e.opts.$data&&s&&s.$data,d;if(p){a+=" var schema"+i+" = "+e.util.getData(s.$data,n,e.dataPathArr)+"; ";d="schema"+i}else{d=s}var h=r=="maximum",m=h?"exclusiveMaximum":"exclusiveMinimum",g=e.schema[m],y=e.opts.$data&&g&&g.$data,S=h?"<":">",P=h?">":"<",c=undefined;if(!(p||typeof s=="number"||s===undefined)){throw new Error(r+" must be number")}if(!(y||g===undefined||typeof g=="number"||typeof g=="boolean")){throw new Error(m+" must be number or boolean")}if(y){var b=e.util.getData(g.$data,n,e.dataPathArr),_="exclusive"+i,w="exclType"+i,E="exclIsNumber"+i,x="op"+i,$="' + "+x+" + '";a+=" var schemaExcl"+i+" = "+b+"; ";b="schemaExcl"+i;a+=" var "+_+"; var "+w+" = typeof "+b+"; if ("+w+" != 'boolean' && "+w+" != 'undefined' && "+w+" != 'number') { ";var c=m;var C=C||[];C.push(a);a="";if(e.createErrors!==false){a+=" { keyword: '"+(c||"_exclusiveLimit")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: {} ";if(e.opts.messages!==false){a+=" , message: '"+m+" should be boolean' "}if(e.opts.verbose){a+=" , schema: validate.schema"+o+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "}a+=" } "}else{a+=" {} "}var R=a;a=C.pop();if(!e.compositeRule&&l){if(e.async){a+=" throw new ValidationError(["+R+"]); "}else{a+=" validate.errors = ["+R+"]; return false; "}}else{a+=" var err = "+R+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}a+=" } else if ( ";if(p){a+=" ("+d+" !== undefined && typeof "+d+" != 'number') || "}a+=" "+w+" == 'number' ? ( ("+_+" = "+d+" === undefined || "+b+" "+S+"= "+d+") ? "+f+" "+P+"= "+b+" : "+f+" "+P+" "+d+" ) : ( ("+_+" = "+b+" === true) ? "+f+" "+P+"= "+d+" : "+f+" "+P+" "+d+" ) || "+f+" !== "+f+") { var op"+i+" = "+_+" ? '"+S+"' : '"+S+"='; ";if(s===undefined){c=m;u=e.errSchemaPath+"/"+m;d=b;p=y}}else{var E=typeof g=="number",$=S;if(E&&p){var x="'"+$+"'";a+=" if ( ";if(p){a+=" ("+d+" !== undefined && typeof "+d+" != 'number') || "}a+=" ( "+d+" === undefined || "+g+" "+S+"= "+d+" ? "+f+" "+P+"= "+g+" : "+f+" "+P+" "+d+" ) || "+f+" !== "+f+") { "}else{if(E&&s===undefined){_=true;c=m;u=e.errSchemaPath+"/"+m;d=g;P+="="}else{if(E)d=Math[h?"min":"max"](g,s);if(g===(E?d:true)){_=true;c=m;u=e.errSchemaPath+"/"+m;P+="="}else{_=false;$+="="}}var x="'"+$+"'";a+=" if ( ";if(p){a+=" ("+d+" !== undefined && typeof "+d+" != 'number') || "}a+=" "+f+" "+P+" "+d+" || "+f+" !== "+f+") { "}}c=c||r;var C=C||[];C.push(a);a="";if(e.createErrors!==false){a+=" { keyword: '"+(c||"_limit")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { comparison: "+x+", limit: "+d+", exclusive: "+_+" } ";if(e.opts.messages!==false){a+=" , message: 'should be "+$+" ";if(p){a+="' + "+d}else{a+=""+d+"'"}}if(e.opts.verbose){a+=" , schema: ";if(p){a+="validate.schema"+o}else{a+=""+s}a+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "}a+=" } "}else{a+=" {} "}var R=a;a=C.pop();if(!e.compositeRule&&l){if(e.async){a+=" throw new ValidationError(["+R+"]); "}else{a+=" validate.errors = ["+R+"]; return false; "}}else{a+=" var err = "+R+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}a+=" } ";if(l){a+=" else { "}return a}},8858:function(e){"use strict";e.exports=function generate__limitItems(e,r,t){var a=" ";var i=e.level;var n=e.dataLevel;var s=e.schema[r];var o=e.schemaPath+e.util.getProperty(r);var u=e.errSchemaPath+"/"+r;var l=!e.opts.allErrors;var c;var f="data"+(n||"");var p=e.opts.$data&&s&&s.$data,d;if(p){a+=" var schema"+i+" = "+e.util.getData(s.$data,n,e.dataPathArr)+"; ";d="schema"+i}else{d=s}if(!(p||typeof s=="number")){throw new Error(r+" must be number")}var h=r=="maxItems"?">":"<";a+="if ( ";if(p){a+=" ("+d+" !== undefined && typeof "+d+" != 'number') || "}a+=" "+f+".length "+h+" "+d+") { ";var c=r;var m=m||[];m.push(a);a="";if(e.createErrors!==false){a+=" { keyword: '"+(c||"_limitItems")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { limit: "+d+" } ";if(e.opts.messages!==false){a+=" , message: 'should NOT have ";if(r=="maxItems"){a+="more"}else{a+="fewer"}a+=" than ";if(p){a+="' + "+d+" + '"}else{a+=""+s}a+=" items' "}if(e.opts.verbose){a+=" , schema: ";if(p){a+="validate.schema"+o}else{a+=""+s}a+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "}a+=" } "}else{a+=" {} "}var g=a;a=m.pop();if(!e.compositeRule&&l){if(e.async){a+=" throw new ValidationError(["+g+"]); "}else{a+=" validate.errors = ["+g+"]; return false; "}}else{a+=" var err = "+g+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}a+="} ";if(l){a+=" else { "}return a}},6399:function(e){"use strict";e.exports=function generate__limitLength(e,r,t){var a=" ";var i=e.level;var n=e.dataLevel;var s=e.schema[r];var o=e.schemaPath+e.util.getProperty(r);var u=e.errSchemaPath+"/"+r;var l=!e.opts.allErrors;var c;var f="data"+(n||"");var p=e.opts.$data&&s&&s.$data,d;if(p){a+=" var schema"+i+" = "+e.util.getData(s.$data,n,e.dataPathArr)+"; ";d="schema"+i}else{d=s}if(!(p||typeof s=="number")){throw new Error(r+" must be number")}var h=r=="maxLength"?">":"<";a+="if ( ";if(p){a+=" ("+d+" !== undefined && typeof "+d+" != 'number') || "}if(e.opts.unicode===false){a+=" "+f+".length "}else{a+=" ucs2length("+f+") "}a+=" "+h+" "+d+") { ";var c=r;var m=m||[];m.push(a);a="";if(e.createErrors!==false){a+=" { keyword: '"+(c||"_limitLength")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { limit: "+d+" } ";if(e.opts.messages!==false){a+=" , message: 'should NOT be ";if(r=="maxLength"){a+="longer"}else{a+="shorter"}a+=" than ";if(p){a+="' + "+d+" + '"}else{a+=""+s}a+=" characters' "}if(e.opts.verbose){a+=" , schema: ";if(p){a+="validate.schema"+o}else{a+=""+s}a+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "}a+=" } "}else{a+=" {} "}var g=a;a=m.pop();if(!e.compositeRule&&l){if(e.async){a+=" throw new ValidationError(["+g+"]); "}else{a+=" validate.errors = ["+g+"]; return false; "}}else{a+=" var err = "+g+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}a+="} ";if(l){a+=" else { "}return a}},4461:function(e){"use strict";e.exports=function generate__limitProperties(e,r,t){var a=" ";var i=e.level;var n=e.dataLevel;var s=e.schema[r];var o=e.schemaPath+e.util.getProperty(r);var u=e.errSchemaPath+"/"+r;var l=!e.opts.allErrors;var c;var f="data"+(n||"");var p=e.opts.$data&&s&&s.$data,d;if(p){a+=" var schema"+i+" = "+e.util.getData(s.$data,n,e.dataPathArr)+"; ";d="schema"+i}else{d=s}if(!(p||typeof s=="number")){throw new Error(r+" must be number")}var h=r=="maxProperties"?">":"<";a+="if ( ";if(p){a+=" ("+d+" !== undefined && typeof "+d+" != 'number') || "}a+=" Object.keys("+f+").length "+h+" "+d+") { ";var c=r;var m=m||[];m.push(a);a="";if(e.createErrors!==false){a+=" { keyword: '"+(c||"_limitProperties")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { limit: "+d+" } ";if(e.opts.messages!==false){a+=" , message: 'should NOT have ";if(r=="maxProperties"){a+="more"}else{a+="fewer"}a+=" than ";if(p){a+="' + "+d+" + '"}else{a+=""+s}a+=" properties' "}if(e.opts.verbose){a+=" , schema: ";if(p){a+="validate.schema"+o}else{a+=""+s}a+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "}a+=" } "}else{a+=" {} "}var g=a;a=m.pop();if(!e.compositeRule&&l){if(e.async){a+=" throw new ValidationError(["+g+"]); "}else{a+=" validate.errors = ["+g+"]; return false; "}}else{a+=" var err = "+g+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}a+="} ";if(l){a+=" else { "}return a}},9294:function(e){"use strict";e.exports=function generate_allOf(e,r,t){var a=" ";var i=e.schema[r];var n=e.schemaPath+e.util.getProperty(r);var s=e.errSchemaPath+"/"+r;var o=!e.opts.allErrors;var u=e.util.copy(e);var l="";u.level++;var c="valid"+u.level;var f=u.baseId,p=true;var d=i;if(d){var h,m=-1,g=d.length-1;while(m<g){h=d[m+=1];if(e.opts.strictKeywords?typeof h=="object"&&Object.keys(h).length>0||h===false:e.util.schemaHasRules(h,e.RULES.all)){p=false;u.schema=h;u.schemaPath=n+"["+m+"]";u.errSchemaPath=s+"/"+m;a+=" "+e.validate(u)+" ";u.baseId=f;if(o){a+=" if ("+c+") { ";l+="}"}}}}if(o){if(p){a+=" if (true) { "}else{a+=" "+l.slice(0,-1)+" "}}return a}},4098:function(e){"use strict";e.exports=function generate_anyOf(e,r,t){var a=" ";var i=e.level;var n=e.dataLevel;var s=e.schema[r];var o=e.schemaPath+e.util.getProperty(r);var u=e.errSchemaPath+"/"+r;var l=!e.opts.allErrors;var c="data"+(n||"");var f="valid"+i;var p="errs__"+i;var d=e.util.copy(e);var h="";d.level++;var m="valid"+d.level;var g=s.every((function(r){return e.opts.strictKeywords?typeof r=="object"&&Object.keys(r).length>0||r===false:e.util.schemaHasRules(r,e.RULES.all)}));if(g){var y=d.baseId;a+=" var "+p+" = errors; var "+f+" = false; ";var S=e.compositeRule;e.compositeRule=d.compositeRule=true;var P=s;if(P){var b,_=-1,w=P.length-1;while(_<w){b=P[_+=1];d.schema=b;d.schemaPath=o+"["+_+"]";d.errSchemaPath=u+"/"+_;a+=" "+e.validate(d)+" ";d.baseId=y;a+=" "+f+" = "+f+" || "+m+"; if (!"+f+") { ";h+="}"}}e.compositeRule=d.compositeRule=S;a+=" "+h+" if (!"+f+") { var err = ";if(e.createErrors!==false){a+=" { keyword: '"+"anyOf"+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: {} ";if(e.opts.messages!==false){a+=" , message: 'should match some schema in anyOf' "}if(e.opts.verbose){a+=" , schema: validate.schema"+o+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "}a+=" } "}else{a+=" {} "}a+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ";if(!e.compositeRule&&l){if(e.async){a+=" throw new ValidationError(vErrors); "}else{a+=" validate.errors = vErrors; return false; "}}a+=" } else { errors = "+p+"; if (vErrors !== null) { if ("+p+") vErrors.length = "+p+"; else vErrors = null; } ";if(e.opts.allErrors){a+=" } "}}else{if(l){a+=" if (true) { "}}return a}},695:function(e){"use strict";e.exports=function generate_comment(e,r,t){var a=" ";var i=e.schema[r];var n=e.errSchemaPath+"/"+r;var s=!e.opts.allErrors;var o=e.util.toQuotedString(i);if(e.opts.$comment===true){a+=" console.log("+o+");"}else if(typeof e.opts.$comment=="function"){a+=" self._opts.$comment("+o+", "+e.util.toQuotedString(n)+", validate.root.schema);"}return a}},1682:function(e){"use strict";e.exports=function generate_const(e,r,t){var a=" ";var i=e.level;var n=e.dataLevel;var s=e.schema[r];var o=e.schemaPath+e.util.getProperty(r);var u=e.errSchemaPath+"/"+r;var l=!e.opts.allErrors;var c="data"+(n||"");var f="valid"+i;var p=e.opts.$data&&s&&s.$data,d;if(p){a+=" var schema"+i+" = "+e.util.getData(s.$data,n,e.dataPathArr)+"; ";d="schema"+i}else{d=s}if(!p){a+=" var schema"+i+" = validate.schema"+o+";"}a+="var "+f+" = equal("+c+", schema"+i+"); if (!"+f+") { ";var h=h||[];h.push(a);a="";if(e.createErrors!==false){a+=" { keyword: '"+"const"+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { allowedValue: schema"+i+" } ";if(e.opts.messages!==false){a+=" , message: 'should be equal to constant' "}if(e.opts.verbose){a+=" , schema: validate.schema"+o+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "}a+=" } "}else{a+=" {} "}var m=a;a=h.pop();if(!e.compositeRule&&l){if(e.async){a+=" throw new ValidationError(["+m+"]); "}else{a+=" validate.errors = ["+m+"]; return false; "}}else{a+=" var err = "+m+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}a+=" }";if(l){a+=" else { "}return a}},4832:function(e){"use strict";e.exports=function generate_contains(e,r,t){var a=" ";var i=e.level;var n=e.dataLevel;var s=e.schema[r];var o=e.schemaPath+e.util.getProperty(r);var u=e.errSchemaPath+"/"+r;var l=!e.opts.allErrors;var c="data"+(n||"");var f="valid"+i;var p="errs__"+i;var d=e.util.copy(e);var h="";d.level++;var m="valid"+d.level;var g="i"+i,y=d.dataLevel=e.dataLevel+1,S="data"+y,P=e.baseId,b=e.opts.strictKeywords?typeof s=="object"&&Object.keys(s).length>0||s===false:e.util.schemaHasRules(s,e.RULES.all);a+="var "+p+" = errors;var "+f+";";if(b){var _=e.compositeRule;e.compositeRule=d.compositeRule=true;d.schema=s;d.schemaPath=o;d.errSchemaPath=u;a+=" var "+m+" = false; for (var "+g+" = 0; "+g+" < "+c+".length; "+g+"++) { ";d.errorPath=e.util.getPathExpr(e.errorPath,g,e.opts.jsonPointers,true);var w=c+"["+g+"]";d.dataPathArr[y]=g;var E=e.validate(d);d.baseId=P;if(e.util.varOccurences(E,S)<2){a+=" "+e.util.varReplace(E,S,w)+" "}else{a+=" var "+S+" = "+w+"; "+E+" "}a+=" if ("+m+") break; } ";e.compositeRule=d.compositeRule=_;a+=" "+h+" if (!"+m+") {"}else{a+=" if ("+c+".length == 0) {"}var x=x||[];x.push(a);a="";if(e.createErrors!==false){a+=" { keyword: '"+"contains"+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: {} ";if(e.opts.messages!==false){a+=" , message: 'should contain a valid item' "}if(e.opts.verbose){a+=" , schema: validate.schema"+o+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "}a+=" } "}else{a+=" {} "}var $=a;a=x.pop();if(!e.compositeRule&&l){if(e.async){a+=" throw new ValidationError(["+$+"]); "}else{a+=" validate.errors = ["+$+"]; return false; "}}else{a+=" var err = "+$+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}a+=" } else { ";if(b){a+=" errors = "+p+"; if (vErrors !== null) { if ("+p+") vErrors.length = "+p+"; else vErrors = null; } "}if(e.opts.allErrors){a+=" } "}return a}},3291:function(e){"use strict";e.exports=function generate_custom(e,r,t){var a=" ";var i=e.level;var n=e.dataLevel;var s=e.schema[r];var o=e.schemaPath+e.util.getProperty(r);var u=e.errSchemaPath+"/"+r;var l=!e.opts.allErrors;var c;var f="data"+(n||"");var p="valid"+i;var d="errs__"+i;var h=e.opts.$data&&s&&s.$data,m;if(h){a+=" var schema"+i+" = "+e.util.getData(s.$data,n,e.dataPathArr)+"; ";m="schema"+i}else{m=s}var g=this,y="definition"+i,S=g.definition,P="";var b,_,w,E,x;if(h&&S.$data){x="keywordValidate"+i;var $=S.validateSchema;a+=" var "+y+" = RULES.custom['"+r+"'].definition; var "+x+" = "+y+".validate;"}else{E=e.useCustomRule(g,s,e.schema,e);if(!E)return;m="validate.schema"+o;x=E.code;b=S.compile;_=S.inline;w=S.macro}var C=x+".errors",R="i"+i,O="ruleErr"+i,M=S.async;if(M&&!e.async)throw new Error("async keyword in sync schema");if(!(_||w)){a+=""+C+" = null;"}a+="var "+d+" = errors;var "+p+";";if(h&&S.$data){P+="}";a+=" if ("+m+" === undefined) { "+p+" = true; } else { ";if($){P+="}";a+=" "+p+" = "+y+".validateSchema("+m+"); if ("+p+") { "}}if(_){if(S.statements){a+=" "+E.validate+" "}else{a+=" "+p+" = "+E.validate+"; "}}else if(w){var A=e.util.copy(e);var P="";A.level++;var F="valid"+A.level;A.schema=E.validate;A.schemaPath="";var j=e.compositeRule;e.compositeRule=A.compositeRule=true;var D=e.validate(A).replace(/validate\.schema/g,x);e.compositeRule=A.compositeRule=j;a+=" "+D}else{var I=I||[];I.push(a);a="";a+=" "+x+".call( ";if(e.opts.passContext){a+="this"}else{a+="self"}if(b||S.schema===false){a+=" , "+f+" "}else{a+=" , "+m+" , "+f+" , validate.schema"+e.schemaPath+" "}a+=" , (dataPath || '')";if(e.errorPath!='""'){a+=" + "+e.errorPath}var k=n?"data"+(n-1||""):"parentData",L=n?e.dataPathArr[n]:"parentDataProperty";a+=" , "+k+" , "+L+" , rootData ) ";var N=a;a=I.pop();if(S.errors===false){a+=" "+p+" = ";if(M){a+="await "}a+=""+N+"; "}else{if(M){C="customErrors"+i;a+=" var "+C+" = null; try { "+p+" = await "+N+"; } catch (e) { "+p+" = false; if (e instanceof ValidationError) "+C+" = e.errors; else throw e; } "}else{a+=" "+C+" = null; "+p+" = "+N+"; "}}}if(S.modifying){a+=" if ("+k+") "+f+" = "+k+"["+L+"];"}a+=""+P;if(S.valid){if(l){a+=" if (true) { "}}else{a+=" if ( ";if(S.valid===undefined){a+=" !";if(w){a+=""+F}else{a+=""+p}}else{a+=" "+!S.valid+" "}a+=") { ";c=g.keyword;var I=I||[];I.push(a);a="";var I=I||[];I.push(a);a="";if(e.createErrors!==false){a+=" { keyword: '"+(c||"custom")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { keyword: '"+g.keyword+"' } ";if(e.opts.messages!==false){a+=" , message: 'should pass \""+g.keyword+"\" keyword validation' "}if(e.opts.verbose){a+=" , schema: validate.schema"+o+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "}a+=" } "}else{a+=" {} "}var z=a;a=I.pop();if(!e.compositeRule&&l){if(e.async){a+=" throw new ValidationError(["+z+"]); "}else{a+=" validate.errors = ["+z+"]; return false; "}}else{a+=" var err = "+z+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}var T=a;a=I.pop();if(_){if(S.errors){if(S.errors!="full"){a+=" for (var "+R+"="+d+"; "+R+"<errors; "+R+"++) { var "+O+" = vErrors["+R+"]; if ("+O+".dataPath === undefined) "+O+".dataPath = (dataPath || '') + "+e.errorPath+"; if ("+O+".schemaPath === undefined) { "+O+'.schemaPath = "'+u+'"; } ';if(e.opts.verbose){a+=" "+O+".schema = "+m+"; "+O+".data = "+f+"; "}a+=" } "}}else{if(S.errors===false){a+=" "+T+" "}else{a+=" if ("+d+" == errors) { "+T+" } else { for (var "+R+"="+d+"; "+R+"<errors; "+R+"++) { var "+O+" = vErrors["+R+"]; if ("+O+".dataPath === undefined) "+O+".dataPath = (dataPath || '') + "+e.errorPath+"; if ("+O+".schemaPath === undefined) { "+O+'.schemaPath = "'+u+'"; } ';if(e.opts.verbose){a+=" "+O+".schema = "+m+"; "+O+".data = "+f+"; "}a+=" } } "}}}else if(w){a+=" var err = ";if(e.createErrors!==false){a+=" { keyword: '"+(c||"custom")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { keyword: '"+g.keyword+"' } ";if(e.opts.messages!==false){a+=" , message: 'should pass \""+g.keyword+"\" keyword validation' "}if(e.opts.verbose){a+=" , schema: validate.schema"+o+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "}a+=" } "}else{a+=" {} "}a+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ";if(!e.compositeRule&&l){if(e.async){a+=" throw new ValidationError(vErrors); "}else{a+=" validate.errors = vErrors; return false; "}}}else{if(S.errors===false){a+=" "+T+" "}else{a+=" if (Array.isArray("+C+")) { if (vErrors === null) vErrors = "+C+"; else vErrors = vErrors.concat("+C+"); errors = vErrors.length; for (var "+R+"="+d+"; "+R+"<errors; "+R+"++) { var "+O+" = vErrors["+R+"]; if ("+O+".dataPath === undefined) "+O+".dataPath = (dataPath || '') + "+e.errorPath+"; "+O+'.schemaPath = "'+u+'"; ';if(e.opts.verbose){a+=" "+O+".schema = "+m+"; "+O+".data = "+f+"; "}a+=" } } else { "+T+" } "}}a+=" } ";if(l){a+=" else { "}}return a}},5548:function(e){"use strict";e.exports=function generate_dependencies(e,r,t){var a=" ";var i=e.level;var n=e.dataLevel;var s=e.schema[r];var o=e.schemaPath+e.util.getProperty(r);var u=e.errSchemaPath+"/"+r;var l=!e.opts.allErrors;var c="data"+(n||"");var f="errs__"+i;var p=e.util.copy(e);var d="";p.level++;var h="valid"+p.level;var m={},g={},y=e.opts.ownProperties;for(_ in s){if(_=="__proto__")continue;var S=s[_];var P=Array.isArray(S)?g:m;P[_]=S}a+="var "+f+" = errors;";var b=e.errorPath;a+="var missing"+i+";";for(var _ in g){P=g[_];if(P.length){a+=" if ( "+c+e.util.getProperty(_)+" !== undefined ";if(y){a+=" && Object.prototype.hasOwnProperty.call("+c+", '"+e.util.escapeQuotes(_)+"') "}if(l){a+=" && ( ";var w=P;if(w){var E,x=-1,$=w.length-1;while(x<$){E=w[x+=1];if(x){a+=" || "}var C=e.util.getProperty(E),R=c+C;a+=" ( ( "+R+" === undefined ";if(y){a+=" || ! Object.prototype.hasOwnProperty.call("+c+", '"+e.util.escapeQuotes(E)+"') "}a+=") && (missing"+i+" = "+e.util.toQuotedString(e.opts.jsonPointers?E:C)+") ) "}}a+=")) { ";var O="missing"+i,M="' + "+O+" + '";if(e.opts._errorDataPathProperty){e.errorPath=e.opts.jsonPointers?e.util.getPathExpr(b,O,true):b+" + "+O}var A=A||[];A.push(a);a="";if(e.createErrors!==false){a+=" { keyword: '"+"dependencies"+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { property: '"+e.util.escapeQuotes(_)+"', missingProperty: '"+M+"', depsCount: "+P.length+", deps: '"+e.util.escapeQuotes(P.length==1?P[0]:P.join(", "))+"' } ";if(e.opts.messages!==false){a+=" , message: 'should have ";if(P.length==1){a+="property "+e.util.escapeQuotes(P[0])}else{a+="properties "+e.util.escapeQuotes(P.join(", "))}a+=" when property "+e.util.escapeQuotes(_)+" is present' "}if(e.opts.verbose){a+=" , schema: validate.schema"+o+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "}a+=" } "}else{a+=" {} "}var F=a;a=A.pop();if(!e.compositeRule&&l){if(e.async){a+=" throw new ValidationError(["+F+"]); "}else{a+=" validate.errors = ["+F+"]; return false; "}}else{a+=" var err = "+F+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}}else{a+=" ) { ";var j=P;if(j){var E,D=-1,I=j.length-1;while(D<I){E=j[D+=1];var C=e.util.getProperty(E),M=e.util.escapeQuotes(E),R=c+C;if(e.opts._errorDataPathProperty){e.errorPath=e.util.getPath(b,E,e.opts.jsonPointers)}a+=" if ( "+R+" === undefined ";if(y){a+=" || ! Object.prototype.hasOwnProperty.call("+c+", '"+e.util.escapeQuotes(E)+"') "}a+=") { var err = ";if(e.createErrors!==false){a+=" { keyword: '"+"dependencies"+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { property: '"+e.util.escapeQuotes(_)+"', missingProperty: '"+M+"', depsCount: "+P.length+", deps: '"+e.util.escapeQuotes(P.length==1?P[0]:P.join(", "))+"' } ";if(e.opts.messages!==false){a+=" , message: 'should have ";if(P.length==1){a+="property "+e.util.escapeQuotes(P[0])}else{a+="properties "+e.util.escapeQuotes(P.join(", "))}a+=" when property "+e.util.escapeQuotes(_)+" is present' "}if(e.opts.verbose){a+=" , schema: validate.schema"+o+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "}a+=" } "}else{a+=" {} "}a+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } "}}}a+=" } ";if(l){d+="}";a+=" else { "}}}e.errorPath=b;var k=p.baseId;for(var _ in m){var S=m[_];if(e.opts.strictKeywords?typeof S=="object"&&Object.keys(S).length>0||S===false:e.util.schemaHasRules(S,e.RULES.all)){a+=" "+h+" = true; if ( "+c+e.util.getProperty(_)+" !== undefined ";if(y){a+=" && Object.prototype.hasOwnProperty.call("+c+", '"+e.util.escapeQuotes(_)+"') "}a+=") { ";p.schema=S;p.schemaPath=o+e.util.getProperty(_);p.errSchemaPath=u+"/"+e.util.escapeFragment(_);a+=" "+e.validate(p)+" ";p.baseId=k;a+=" } ";if(l){a+=" if ("+h+") { ";d+="}"}}}if(l){a+=" "+d+" if ("+f+" == errors) {"}return a}},9342:function(e){"use strict";e.exports=function generate_enum(e,r,t){var a=" ";var i=e.level;var n=e.dataLevel;var s=e.schema[r];var o=e.schemaPath+e.util.getProperty(r);var u=e.errSchemaPath+"/"+r;var l=!e.opts.allErrors;var c="data"+(n||"");var f="valid"+i;var p=e.opts.$data&&s&&s.$data,d;if(p){a+=" var schema"+i+" = "+e.util.getData(s.$data,n,e.dataPathArr)+"; ";d="schema"+i}else{d=s}var h="i"+i,m="schema"+i;if(!p){a+=" var "+m+" = validate.schema"+o+";"}a+="var "+f+";";if(p){a+=" if (schema"+i+" === undefined) "+f+" = true; else if (!Array.isArray(schema"+i+")) "+f+" = false; else {"}a+=""+f+" = false;for (var "+h+"=0; "+h+"<"+m+".length; "+h+"++) if (equal("+c+", "+m+"["+h+"])) { "+f+" = true; break; }";if(p){a+=" } "}a+=" if (!"+f+") { ";var g=g||[];g.push(a);a="";if(e.createErrors!==false){a+=" { keyword: '"+"enum"+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { allowedValues: schema"+i+" } ";if(e.opts.messages!==false){a+=" , message: 'should be equal to one of the allowed values' "}if(e.opts.verbose){a+=" , schema: validate.schema"+o+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "}a+=" } "}else{a+=" {} "}var y=a;a=g.pop();if(!e.compositeRule&&l){if(e.async){a+=" throw new ValidationError(["+y+"]); "}else{a+=" validate.errors = ["+y+"]; return false; "}}else{a+=" var err = "+y+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}a+=" }";if(l){a+=" else { "}return a}},3942:function(e){"use strict";e.exports=function generate_format(e,r,t){var a=" ";var i=e.level;var n=e.dataLevel;var s=e.schema[r];var o=e.schemaPath+e.util.getProperty(r);var u=e.errSchemaPath+"/"+r;var l=!e.opts.allErrors;var c="data"+(n||"");if(e.opts.format===false){if(l){a+=" if (true) { "}return a}var f=e.opts.$data&&s&&s.$data,p;if(f){a+=" var schema"+i+" = "+e.util.getData(s.$data,n,e.dataPathArr)+"; ";p="schema"+i}else{p=s}var d=e.opts.unknownFormats,h=Array.isArray(d);if(f){var m="format"+i,g="isObject"+i,y="formatType"+i;a+=" var "+m+" = formats["+p+"]; var "+g+" = typeof "+m+" == 'object' && !("+m+" instanceof RegExp) && "+m+".validate; var "+y+" = "+g+" && "+m+".type || 'string'; if ("+g+") { ";if(e.async){a+=" var async"+i+" = "+m+".async; "}a+=" "+m+" = "+m+".validate; } if ( ";if(f){a+=" ("+p+" !== undefined && typeof "+p+" != 'string') || "}a+=" (";if(d!="ignore"){a+=" ("+p+" && !"+m+" ";if(h){a+=" && self._opts.unknownFormats.indexOf("+p+") == -1 "}a+=") || "}a+=" ("+m+" && "+y+" == '"+t+"' && !(typeof "+m+" == 'function' ? ";if(e.async){a+=" (async"+i+" ? await "+m+"("+c+") : "+m+"("+c+")) "}else{a+=" "+m+"("+c+") "}a+=" : "+m+".test("+c+"))))) {"}else{var m=e.formats[s];if(!m){if(d=="ignore"){e.logger.warn('unknown format "'+s+'" ignored in schema at path "'+e.errSchemaPath+'"');if(l){a+=" if (true) { "}return a}else if(h&&d.indexOf(s)>=0){if(l){a+=" if (true) { "}return a}else{throw new Error('unknown format "'+s+'" is used in schema at path "'+e.errSchemaPath+'"')}}var g=typeof m=="object"&&!(m instanceof RegExp)&&m.validate;var y=g&&m.type||"string";if(g){var S=m.async===true;m=m.validate}if(y!=t){if(l){a+=" if (true) { "}return a}if(S){if(!e.async)throw new Error("async format in sync schema");var P="formats"+e.util.getProperty(s)+".validate";a+=" if (!(await "+P+"("+c+"))) { "}else{a+=" if (! ";var P="formats"+e.util.getProperty(s);if(g)P+=".validate";if(typeof m=="function"){a+=" "+P+"("+c+") "}else{a+=" "+P+".test("+c+") "}a+=") { "}}var b=b||[];b.push(a);a="";if(e.createErrors!==false){a+=" { keyword: '"+"format"+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { format: ";if(f){a+=""+p}else{a+=""+e.util.toQuotedString(s)}a+=" } ";if(e.opts.messages!==false){a+=" , message: 'should match format \"";if(f){a+="' + "+p+" + '"}else{a+=""+e.util.escapeQuotes(s)}a+="\"' "}if(e.opts.verbose){a+=" , schema: ";if(f){a+="validate.schema"+o}else{a+=""+e.util.toQuotedString(s)}a+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "}a+=" } "}else{a+=" {} "}var _=a;a=b.pop();if(!e.compositeRule&&l){if(e.async){a+=" throw new ValidationError(["+_+"]); "}else{a+=" validate.errors = ["+_+"]; return false; "}}else{a+=" var err = "+_+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}a+=" } ";if(l){a+=" else { "}return a}},826:function(e){"use strict";e.exports=function generate_if(e,r,t){var a=" ";var i=e.level;var n=e.dataLevel;var s=e.schema[r];var o=e.schemaPath+e.util.getProperty(r);var u=e.errSchemaPath+"/"+r;var l=!e.opts.allErrors;var c="data"+(n||"");var f="valid"+i;var p="errs__"+i;var d=e.util.copy(e);d.level++;var h="valid"+d.level;var m=e.schema["then"],g=e.schema["else"],y=m!==undefined&&(e.opts.strictKeywords?typeof m=="object"&&Object.keys(m).length>0||m===false:e.util.schemaHasRules(m,e.RULES.all)),S=g!==undefined&&(e.opts.strictKeywords?typeof g=="object"&&Object.keys(g).length>0||g===false:e.util.schemaHasRules(g,e.RULES.all)),P=d.baseId;if(y||S){var b;d.createErrors=false;d.schema=s;d.schemaPath=o;d.errSchemaPath=u;a+=" var "+p+" = errors; var "+f+" = true; ";var _=e.compositeRule;e.compositeRule=d.compositeRule=true;a+=" "+e.validate(d)+" ";d.baseId=P;d.createErrors=true;a+=" errors = "+p+"; if (vErrors !== null) { if ("+p+") vErrors.length = "+p+"; else vErrors = null; } ";e.compositeRule=d.compositeRule=_;if(y){a+=" if ("+h+") { ";d.schema=e.schema["then"];d.schemaPath=e.schemaPath+".then";d.errSchemaPath=e.errSchemaPath+"/then";a+=" "+e.validate(d)+" ";d.baseId=P;a+=" "+f+" = "+h+"; ";if(y&&S){b="ifClause"+i;a+=" var "+b+" = 'then'; "}else{b="'then'"}a+=" } ";if(S){a+=" else { "}}else{a+=" if (!"+h+") { "}if(S){d.schema=e.schema["else"];d.schemaPath=e.schemaPath+".else";d.errSchemaPath=e.errSchemaPath+"/else";a+=" "+e.validate(d)+" ";d.baseId=P;a+=" "+f+" = "+h+"; ";if(y&&S){b="ifClause"+i;a+=" var "+b+" = 'else'; "}else{b="'else'"}a+=" } "}a+=" if (!"+f+") { var err = ";if(e.createErrors!==false){a+=" { keyword: '"+"if"+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { failingKeyword: "+b+" } ";if(e.opts.messages!==false){a+=" , message: 'should match \"' + "+b+" + '\" schema' "}if(e.opts.verbose){a+=" , schema: validate.schema"+o+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "}a+=" } "}else{a+=" {} "}a+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ";if(!e.compositeRule&&l){if(e.async){a+=" throw new ValidationError(vErrors); "}else{a+=" validate.errors = vErrors; return false; "}}a+=" } ";if(l){a+=" else { "}}else{if(l){a+=" if (true) { "}}return a}},3309:function(e,r,t){"use strict";e.exports={$ref:t(8991),allOf:t(9294),anyOf:t(4098),$comment:t(695),const:t(1682),contains:t(4832),dependencies:t(5548),enum:t(9342),format:t(3942),if:t(826),items:t(3801),maximum:t(9499),minimum:t(9499),maxItems:t(8858),minItems:t(8858),maxLength:t(6399),minLength:t(6399),maxProperties:t(4461),minProperties:t(4461),multipleOf:t(9475),not:t(6812),oneOf:t(213),pattern:t(6949),properties:t(6326),propertyNames:t(4628),required:t(3063),uniqueItems:t(7264),validate:t(241)}},3801:function(e){"use strict";e.exports=function generate_items(e,r,t){var a=" ";var i=e.level;var n=e.dataLevel;var s=e.schema[r];var o=e.schemaPath+e.util.getProperty(r);var u=e.errSchemaPath+"/"+r;var l=!e.opts.allErrors;var c="data"+(n||"");var f="valid"+i;var p="errs__"+i;var d=e.util.copy(e);var h="";d.level++;var m="valid"+d.level;var g="i"+i,y=d.dataLevel=e.dataLevel+1,S="data"+y,P=e.baseId;a+="var "+p+" = errors;var "+f+";";if(Array.isArray(s)){var b=e.schema.additionalItems;if(b===false){a+=" "+f+" = "+c+".length <= "+s.length+"; ";var _=u;u=e.errSchemaPath+"/additionalItems";a+=" if (!"+f+") { ";var w=w||[];w.push(a);a="";if(e.createErrors!==false){a+=" { keyword: '"+"additionalItems"+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { limit: "+s.length+" } ";if(e.opts.messages!==false){a+=" , message: 'should NOT have more than "+s.length+" items' "}if(e.opts.verbose){a+=" , schema: false , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "}a+=" } "}else{a+=" {} "}var E=a;a=w.pop();if(!e.compositeRule&&l){if(e.async){a+=" throw new ValidationError(["+E+"]); "}else{a+=" validate.errors = ["+E+"]; return false; "}}else{a+=" var err = "+E+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}a+=" } ";u=_;if(l){h+="}";a+=" else { "}}var x=s;if(x){var $,C=-1,R=x.length-1;while(C<R){$=x[C+=1];if(e.opts.strictKeywords?typeof $=="object"&&Object.keys($).length>0||$===false:e.util.schemaHasRules($,e.RULES.all)){a+=" "+m+" = true; if ("+c+".length > "+C+") { ";var O=c+"["+C+"]";d.schema=$;d.schemaPath=o+"["+C+"]";d.errSchemaPath=u+"/"+C;d.errorPath=e.util.getPathExpr(e.errorPath,C,e.opts.jsonPointers,true);d.dataPathArr[y]=C;var M=e.validate(d);d.baseId=P;if(e.util.varOccurences(M,S)<2){a+=" "+e.util.varReplace(M,S,O)+" "}else{a+=" var "+S+" = "+O+"; "+M+" "}a+=" } ";if(l){a+=" if ("+m+") { ";h+="}"}}}}if(typeof b=="object"&&(e.opts.strictKeywords?typeof b=="object"&&Object.keys(b).length>0||b===false:e.util.schemaHasRules(b,e.RULES.all))){d.schema=b;d.schemaPath=e.schemaPath+".additionalItems";d.errSchemaPath=e.errSchemaPath+"/additionalItems";a+=" "+m+" = true; if ("+c+".length > "+s.length+") { for (var "+g+" = "+s.length+"; "+g+" < "+c+".length; "+g+"++) { ";d.errorPath=e.util.getPathExpr(e.errorPath,g,e.opts.jsonPointers,true);var O=c+"["+g+"]";d.dataPathArr[y]=g;var M=e.validate(d);d.baseId=P;if(e.util.varOccurences(M,S)<2){a+=" "+e.util.varReplace(M,S,O)+" "}else{a+=" var "+S+" = "+O+"; "+M+" "}if(l){a+=" if (!"+m+") break; "}a+=" } } ";if(l){a+=" if ("+m+") { ";h+="}"}}}else if(e.opts.strictKeywords?typeof s=="object"&&Object.keys(s).length>0||s===false:e.util.schemaHasRules(s,e.RULES.all)){d.schema=s;d.schemaPath=o;d.errSchemaPath=u;a+=" for (var "+g+" = "+0+"; "+g+" < "+c+".length; "+g+"++) { ";d.errorPath=e.util.getPathExpr(e.errorPath,g,e.opts.jsonPointers,true);var O=c+"["+g+"]";d.dataPathArr[y]=g;var M=e.validate(d);d.baseId=P;if(e.util.varOccurences(M,S)<2){a+=" "+e.util.varReplace(M,S,O)+" "}else{a+=" var "+S+" = "+O+"; "+M+" "}if(l){a+=" if (!"+m+") break; "}a+=" }"}if(l){a+=" "+h+" if ("+p+" == errors) {"}return a}},9475:function(e){"use strict";e.exports=function generate_multipleOf(e,r,t){var a=" ";var i=e.level;var n=e.dataLevel;var s=e.schema[r];var o=e.schemaPath+e.util.getProperty(r);var u=e.errSchemaPath+"/"+r;var l=!e.opts.allErrors;var c="data"+(n||"");var f=e.opts.$data&&s&&s.$data,p;if(f){a+=" var schema"+i+" = "+e.util.getData(s.$data,n,e.dataPathArr)+"; ";p="schema"+i}else{p=s}if(!(f||typeof s=="number")){throw new Error(r+" must be number")}a+="var division"+i+";if (";if(f){a+=" "+p+" !== undefined && ( typeof "+p+" != 'number' || "}a+=" (division"+i+" = "+c+" / "+p+", ";if(e.opts.multipleOfPrecision){a+=" Math.abs(Math.round(division"+i+") - division"+i+") > 1e-"+e.opts.multipleOfPrecision+" "}else{a+=" division"+i+" !== parseInt(division"+i+") "}a+=" ) ";if(f){a+=" ) "}a+=" ) { ";var d=d||[];d.push(a);a="";if(e.createErrors!==false){a+=" { keyword: '"+"multipleOf"+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { multipleOf: "+p+" } ";if(e.opts.messages!==false){a+=" , message: 'should be multiple of ";if(f){a+="' + "+p}else{a+=""+p+"'"}}if(e.opts.verbose){a+=" , schema: ";if(f){a+="validate.schema"+o}else{a+=""+s}a+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "}a+=" } "}else{a+=" {} "}var h=a;a=d.pop();if(!e.compositeRule&&l){if(e.async){a+=" throw new ValidationError(["+h+"]); "}else{a+=" validate.errors = ["+h+"]; return false; "}}else{a+=" var err = "+h+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}a+="} ";if(l){a+=" else { "}return a}},6812:function(e){"use strict";e.exports=function generate_not(e,r,t){var a=" ";var i=e.level;var n=e.dataLevel;var s=e.schema[r];var o=e.schemaPath+e.util.getProperty(r);var u=e.errSchemaPath+"/"+r;var l=!e.opts.allErrors;var c="data"+(n||"");var f="errs__"+i;var p=e.util.copy(e);p.level++;var d="valid"+p.level;if(e.opts.strictKeywords?typeof s=="object"&&Object.keys(s).length>0||s===false:e.util.schemaHasRules(s,e.RULES.all)){p.schema=s;p.schemaPath=o;p.errSchemaPath=u;a+=" var "+f+" = errors; ";var h=e.compositeRule;e.compositeRule=p.compositeRule=true;p.createErrors=false;var m;if(p.opts.allErrors){m=p.opts.allErrors;p.opts.allErrors=false}a+=" "+e.validate(p)+" ";p.createErrors=true;if(m)p.opts.allErrors=m;e.compositeRule=p.compositeRule=h;a+=" if ("+d+") { ";var g=g||[];g.push(a);a="";if(e.createErrors!==false){a+=" { keyword: '"+"not"+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: {} ";if(e.opts.messages!==false){a+=" , message: 'should NOT be valid' "}if(e.opts.verbose){a+=" , schema: validate.schema"+o+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "}a+=" } "}else{a+=" {} "}var y=a;a=g.pop();if(!e.compositeRule&&l){if(e.async){a+=" throw new ValidationError(["+y+"]); "}else{a+=" validate.errors = ["+y+"]; return false; "}}else{a+=" var err = "+y+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}a+=" } else { errors = "+f+"; if (vErrors !== null) { if ("+f+") vErrors.length = "+f+"; else vErrors = null; } ";if(e.opts.allErrors){a+=" } "}}else{a+=" var err = ";if(e.createErrors!==false){a+=" { keyword: '"+"not"+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: {} ";if(e.opts.messages!==false){a+=" , message: 'should NOT be valid' "}if(e.opts.verbose){a+=" , schema: validate.schema"+o+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "}a+=" } "}else{a+=" {} "}a+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ";if(l){a+=" if (false) { "}}return a}},213:function(e){"use strict";e.exports=function generate_oneOf(e,r,t){var a=" ";var i=e.level;var n=e.dataLevel;var s=e.schema[r];var o=e.schemaPath+e.util.getProperty(r);var u=e.errSchemaPath+"/"+r;var l=!e.opts.allErrors;var c="data"+(n||"");var f="valid"+i;var p="errs__"+i;var d=e.util.copy(e);var h="";d.level++;var m="valid"+d.level;var g=d.baseId,y="prevValid"+i,S="passingSchemas"+i;a+="var "+p+" = errors , "+y+" = false , "+f+" = false , "+S+" = null; ";var P=e.compositeRule;e.compositeRule=d.compositeRule=true;var b=s;if(b){var _,w=-1,E=b.length-1;while(w<E){_=b[w+=1];if(e.opts.strictKeywords?typeof _=="object"&&Object.keys(_).length>0||_===false:e.util.schemaHasRules(_,e.RULES.all)){d.schema=_;d.schemaPath=o+"["+w+"]";d.errSchemaPath=u+"/"+w;a+=" "+e.validate(d)+" ";d.baseId=g}else{a+=" var "+m+" = true; "}if(w){a+=" if ("+m+" && "+y+") { "+f+" = false; "+S+" = ["+S+", "+w+"]; } else { ";h+="}"}a+=" if ("+m+") { "+f+" = "+y+" = true; "+S+" = "+w+"; }"}}e.compositeRule=d.compositeRule=P;a+=""+h+"if (!"+f+") { var err = ";if(e.createErrors!==false){a+=" { keyword: '"+"oneOf"+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { passingSchemas: "+S+" } ";if(e.opts.messages!==false){a+=" , message: 'should match exactly one schema in oneOf' "}if(e.opts.verbose){a+=" , schema: validate.schema"+o+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "}a+=" } "}else{a+=" {} "}a+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ";if(!e.compositeRule&&l){if(e.async){a+=" throw new ValidationError(vErrors); "}else{a+=" validate.errors = vErrors; return false; "}}a+="} else { errors = "+p+"; if (vErrors !== null) { if ("+p+") vErrors.length = "+p+"; else vErrors = null; }";if(e.opts.allErrors){a+=" } "}return a}},6949:function(e){"use strict";e.exports=function generate_pattern(e,r,t){var a=" ";var i=e.level;var n=e.dataLevel;var s=e.schema[r];var o=e.schemaPath+e.util.getProperty(r);var u=e.errSchemaPath+"/"+r;var l=!e.opts.allErrors;var c="data"+(n||"");var f=e.opts.$data&&s&&s.$data,p;if(f){a+=" var schema"+i+" = "+e.util.getData(s.$data,n,e.dataPathArr)+"; ";p="schema"+i}else{p=s}var d=f?"(new RegExp("+p+"))":e.usePattern(s);a+="if ( ";if(f){a+=" ("+p+" !== undefined && typeof "+p+" != 'string') || "}a+=" !"+d+".test("+c+") ) { ";var h=h||[];h.push(a);a="";if(e.createErrors!==false){a+=" { keyword: '"+"pattern"+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { pattern: ";if(f){a+=""+p}else{a+=""+e.util.toQuotedString(s)}a+=" } ";if(e.opts.messages!==false){a+=" , message: 'should match pattern \"";if(f){a+="' + "+p+" + '"}else{a+=""+e.util.escapeQuotes(s)}a+="\"' "}if(e.opts.verbose){a+=" , schema: ";if(f){a+="validate.schema"+o}else{a+=""+e.util.toQuotedString(s)}a+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "}a+=" } "}else{a+=" {} "}var m=a;a=h.pop();if(!e.compositeRule&&l){if(e.async){a+=" throw new ValidationError(["+m+"]); "}else{a+=" validate.errors = ["+m+"]; return false; "}}else{a+=" var err = "+m+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}a+="} ";if(l){a+=" else { "}return a}},6326:function(e){"use strict";e.exports=function generate_properties(e,r,t){var a=" ";var i=e.level;var n=e.dataLevel;var s=e.schema[r];var o=e.schemaPath+e.util.getProperty(r);var u=e.errSchemaPath+"/"+r;var l=!e.opts.allErrors;var c="data"+(n||"");var f="errs__"+i;var p=e.util.copy(e);var d="";p.level++;var h="valid"+p.level;var m="key"+i,g="idx"+i,y=p.dataLevel=e.dataLevel+1,S="data"+y,P="dataProperties"+i;var b=Object.keys(s||{}).filter(notProto),_=e.schema.patternProperties||{},w=Object.keys(_).filter(notProto),E=e.schema.additionalProperties,x=b.length||w.length,$=E===false,C=typeof E=="object"&&Object.keys(E).length,R=e.opts.removeAdditional,O=$||C||R,M=e.opts.ownProperties,A=e.baseId;var F=e.schema.required;if(F&&!(e.opts.$data&&F.$data)&&F.length<e.opts.loopRequired){var j=e.util.toHash(F)}function notProto(e){return e!=="__proto__"}a+="var "+f+" = errors;var "+h+" = true;";if(M){a+=" var "+P+" = undefined;"}if(O){if(M){a+=" "+P+" = "+P+" || Object.keys("+c+"); for (var "+g+"=0; "+g+"<"+P+".length; "+g+"++) { var "+m+" = "+P+"["+g+"]; "}else{a+=" for (var "+m+" in "+c+") { "}if(x){a+=" var isAdditional"+i+" = !(false ";if(b.length){if(b.length>8){a+=" || validate.schema"+o+".hasOwnProperty("+m+") "}else{var D=b;if(D){var I,k=-1,L=D.length-1;while(k<L){I=D[k+=1];a+=" || "+m+" == "+e.util.toQuotedString(I)+" "}}}}if(w.length){var N=w;if(N){var z,T=-1,q=N.length-1;while(T<q){z=N[T+=1];a+=" || "+e.usePattern(z)+".test("+m+") "}}}a+=" ); if (isAdditional"+i+") { "}if(R=="all"){a+=" delete "+c+"["+m+"]; "}else{var U=e.errorPath;var V="' + "+m+" + '";if(e.opts._errorDataPathProperty){e.errorPath=e.util.getPathExpr(e.errorPath,m,e.opts.jsonPointers)}if($){if(R){a+=" delete "+c+"["+m+"]; "}else{a+=" "+h+" = false; ";var Q=u;u=e.errSchemaPath+"/additionalProperties";var B=B||[];B.push(a);a="";if(e.createErrors!==false){a+=" { keyword: '"+"additionalProperties"+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { additionalProperty: '"+V+"' } ";if(e.opts.messages!==false){a+=" , message: '";if(e.opts._errorDataPathProperty){a+="is an invalid additional property"}else{a+="should NOT have additional properties"}a+="' "}if(e.opts.verbose){a+=" , schema: false , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "}a+=" } "}else{a+=" {} "}var K=a;a=B.pop();if(!e.compositeRule&&l){if(e.async){a+=" throw new ValidationError(["+K+"]); "}else{a+=" validate.errors = ["+K+"]; return false; "}}else{a+=" var err = "+K+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}u=Q;if(l){a+=" break; "}}}else if(C){if(R=="failing"){a+=" var "+f+" = errors; ";var H=e.compositeRule;e.compositeRule=p.compositeRule=true;p.schema=E;p.schemaPath=e.schemaPath+".additionalProperties";p.errSchemaPath=e.errSchemaPath+"/additionalProperties";p.errorPath=e.opts._errorDataPathProperty?e.errorPath:e.util.getPathExpr(e.errorPath,m,e.opts.jsonPointers);var G=c+"["+m+"]";p.dataPathArr[y]=m;var J=e.validate(p);p.baseId=A;if(e.util.varOccurences(J,S)<2){a+=" "+e.util.varReplace(J,S,G)+" "}else{a+=" var "+S+" = "+G+"; "+J+" "}a+=" if (!"+h+") { errors = "+f+"; if (validate.errors !== null) { if (errors) validate.errors.length = errors; else validate.errors = null; } delete "+c+"["+m+"]; } ";e.compositeRule=p.compositeRule=H}else{p.schema=E;p.schemaPath=e.schemaPath+".additionalProperties";p.errSchemaPath=e.errSchemaPath+"/additionalProperties";p.errorPath=e.opts._errorDataPathProperty?e.errorPath:e.util.getPathExpr(e.errorPath,m,e.opts.jsonPointers);var G=c+"["+m+"]";p.dataPathArr[y]=m;var J=e.validate(p);p.baseId=A;if(e.util.varOccurences(J,S)<2){a+=" "+e.util.varReplace(J,S,G)+" "}else{a+=" var "+S+" = "+G+"; "+J+" "}if(l){a+=" if (!"+h+") break; "}}}e.errorPath=U}if(x){a+=" } "}a+=" } ";if(l){a+=" if ("+h+") { ";d+="}"}}var W=e.opts.useDefaults&&!e.compositeRule;if(b.length){var Z=b;if(Z){var I,Y=-1,X=Z.length-1;while(Y<X){I=Z[Y+=1];var ee=s[I];if(e.opts.strictKeywords?typeof ee=="object"&&Object.keys(ee).length>0||ee===false:e.util.schemaHasRules(ee,e.RULES.all)){var re=e.util.getProperty(I),G=c+re,te=W&&ee.default!==undefined;p.schema=ee;p.schemaPath=o+re;p.errSchemaPath=u+"/"+e.util.escapeFragment(I);p.errorPath=e.util.getPath(e.errorPath,I,e.opts.jsonPointers);p.dataPathArr[y]=e.util.toQuotedString(I);var J=e.validate(p);p.baseId=A;if(e.util.varOccurences(J,S)<2){J=e.util.varReplace(J,S,G);var ae=G}else{var ae=S;a+=" var "+S+" = "+G+"; "}if(te){a+=" "+J+" "}else{if(j&&j[I]){a+=" if ( "+ae+" === undefined ";if(M){a+=" || ! Object.prototype.hasOwnProperty.call("+c+", '"+e.util.escapeQuotes(I)+"') "}a+=") { "+h+" = false; ";var U=e.errorPath,Q=u,ie=e.util.escapeQuotes(I);if(e.opts._errorDataPathProperty){e.errorPath=e.util.getPath(U,I,e.opts.jsonPointers)}u=e.errSchemaPath+"/required";var B=B||[];B.push(a);a="";if(e.createErrors!==false){a+=" { keyword: '"+"required"+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { missingProperty: '"+ie+"' } ";if(e.opts.messages!==false){a+=" , message: '";if(e.opts._errorDataPathProperty){a+="is a required property"}else{a+="should have required property \\'"+ie+"\\'"}a+="' "}if(e.opts.verbose){a+=" , schema: validate.schema"+o+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "}a+=" } "}else{a+=" {} "}var K=a;a=B.pop();if(!e.compositeRule&&l){if(e.async){a+=" throw new ValidationError(["+K+"]); "}else{a+=" validate.errors = ["+K+"]; return false; "}}else{a+=" var err = "+K+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}u=Q;e.errorPath=U;a+=" } else { "}else{if(l){a+=" if ( "+ae+" === undefined ";if(M){a+=" || ! Object.prototype.hasOwnProperty.call("+c+", '"+e.util.escapeQuotes(I)+"') "}a+=") { "+h+" = true; } else { "}else{a+=" if ("+ae+" !== undefined ";if(M){a+=" && Object.prototype.hasOwnProperty.call("+c+", '"+e.util.escapeQuotes(I)+"') "}a+=" ) { "}}a+=" "+J+" } "}}if(l){a+=" if ("+h+") { ";d+="}"}}}}if(w.length){var ne=w;if(ne){var z,se=-1,oe=ne.length-1;while(se<oe){z=ne[se+=1];var ee=_[z];if(e.opts.strictKeywords?typeof ee=="object"&&Object.keys(ee).length>0||ee===false:e.util.schemaHasRules(ee,e.RULES.all)){p.schema=ee;p.schemaPath=e.schemaPath+".patternProperties"+e.util.getProperty(z);p.errSchemaPath=e.errSchemaPath+"/patternProperties/"+e.util.escapeFragment(z);if(M){a+=" "+P+" = "+P+" || Object.keys("+c+"); for (var "+g+"=0; "+g+"<"+P+".length; "+g+"++) { var "+m+" = "+P+"["+g+"]; "}else{a+=" for (var "+m+" in "+c+") { "}a+=" if ("+e.usePattern(z)+".test("+m+")) { ";p.errorPath=e.util.getPathExpr(e.errorPath,m,e.opts.jsonPointers);var G=c+"["+m+"]";p.dataPathArr[y]=m;var J=e.validate(p);p.baseId=A;if(e.util.varOccurences(J,S)<2){a+=" "+e.util.varReplace(J,S,G)+" "}else{a+=" var "+S+" = "+G+"; "+J+" "}if(l){a+=" if (!"+h+") break; "}a+=" } ";if(l){a+=" else "+h+" = true; "}a+=" } ";if(l){a+=" if ("+h+") { ";d+="}"}}}}}if(l){a+=" "+d+" if ("+f+" == errors) {"}return a}},4628:function(e){"use strict";e.exports=function generate_propertyNames(e,r,t){var a=" ";var i=e.level;var n=e.dataLevel;var s=e.schema[r];var o=e.schemaPath+e.util.getProperty(r);var u=e.errSchemaPath+"/"+r;var l=!e.opts.allErrors;var c="data"+(n||"");var f="errs__"+i;var p=e.util.copy(e);var d="";p.level++;var h="valid"+p.level;a+="var "+f+" = errors;";if(e.opts.strictKeywords?typeof s=="object"&&Object.keys(s).length>0||s===false:e.util.schemaHasRules(s,e.RULES.all)){p.schema=s;p.schemaPath=o;p.errSchemaPath=u;var m="key"+i,g="idx"+i,y="i"+i,S="' + "+m+" + '",P=p.dataLevel=e.dataLevel+1,b="data"+P,_="dataProperties"+i,w=e.opts.ownProperties,E=e.baseId;if(w){a+=" var "+_+" = undefined; "}if(w){a+=" "+_+" = "+_+" || Object.keys("+c+"); for (var "+g+"=0; "+g+"<"+_+".length; "+g+"++) { var "+m+" = "+_+"["+g+"]; "}else{a+=" for (var "+m+" in "+c+") { "}a+=" var startErrs"+i+" = errors; ";var x=m;var $=e.compositeRule;e.compositeRule=p.compositeRule=true;var C=e.validate(p);p.baseId=E;if(e.util.varOccurences(C,b)<2){a+=" "+e.util.varReplace(C,b,x)+" "}else{a+=" var "+b+" = "+x+"; "+C+" "}e.compositeRule=p.compositeRule=$;a+=" if (!"+h+") { for (var "+y+"=startErrs"+i+"; "+y+"<errors; "+y+"++) { vErrors["+y+"].propertyName = "+m+"; } var err = ";if(e.createErrors!==false){a+=" { keyword: '"+"propertyNames"+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { propertyName: '"+S+"' } ";if(e.opts.messages!==false){a+=" , message: 'property name \\'"+S+"\\' is invalid' "}if(e.opts.verbose){a+=" , schema: validate.schema"+o+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "}a+=" } "}else{a+=" {} "}a+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ";if(!e.compositeRule&&l){if(e.async){a+=" throw new ValidationError(vErrors); "}else{a+=" validate.errors = vErrors; return false; "}}if(l){a+=" break; "}a+=" } }"}if(l){a+=" "+d+" if ("+f+" == errors) {"}return a}},8991:function(e){"use strict";e.exports=function generate_ref(e,r,t){var a=" ";var i=e.level;var n=e.dataLevel;var s=e.schema[r];var o=e.errSchemaPath+"/"+r;var u=!e.opts.allErrors;var l="data"+(n||"");var c="valid"+i;var f,p;if(s=="#"||s=="#/"){if(e.isRoot){f=e.async;p="validate"}else{f=e.root.schema.$async===true;p="root.refVal[0]"}}else{var d=e.resolveRef(e.baseId,s,e.isRoot);if(d===undefined){var h=e.MissingRefError.message(e.baseId,s);if(e.opts.missingRefs=="fail"){e.logger.error(h);var m=m||[];m.push(a);a="";if(e.createErrors!==false){a+=" { keyword: '"+"$ref"+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(o)+" , params: { ref: '"+e.util.escapeQuotes(s)+"' } ";if(e.opts.messages!==false){a+=" , message: 'can\\'t resolve reference "+e.util.escapeQuotes(s)+"' "}if(e.opts.verbose){a+=" , schema: "+e.util.toQuotedString(s)+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "}a+=" } "}else{a+=" {} "}var g=a;a=m.pop();if(!e.compositeRule&&u){if(e.async){a+=" throw new ValidationError(["+g+"]); "}else{a+=" validate.errors = ["+g+"]; return false; "}}else{a+=" var err = "+g+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}if(u){a+=" if (false) { "}}else if(e.opts.missingRefs=="ignore"){e.logger.warn(h);if(u){a+=" if (true) { "}}else{throw new e.MissingRefError(e.baseId,s,h)}}else if(d.inline){var y=e.util.copy(e);y.level++;var S="valid"+y.level;y.schema=d.schema;y.schemaPath="";y.errSchemaPath=s;var P=e.validate(y).replace(/validate\.schema/g,d.code);a+=" "+P+" ";if(u){a+=" if ("+S+") { "}}else{f=d.$async===true||e.async&&d.$async!==false;p=d.code}}if(p){var m=m||[];m.push(a);a="";if(e.opts.passContext){a+=" "+p+".call(this, "}else{a+=" "+p+"( "}a+=" "+l+", (dataPath || '')";if(e.errorPath!='""'){a+=" + "+e.errorPath}var b=n?"data"+(n-1||""):"parentData",_=n?e.dataPathArr[n]:"parentDataProperty";a+=" , "+b+" , "+_+", rootData) ";var w=a;a=m.pop();if(f){if(!e.async)throw new Error("async schema referenced by sync schema");if(u){a+=" var "+c+"; "}a+=" try { await "+w+"; ";if(u){a+=" "+c+" = true; "}a+=" } catch (e) { if (!(e instanceof ValidationError)) throw e; if (vErrors === null) vErrors = e.errors; else vErrors = vErrors.concat(e.errors); errors = vErrors.length; ";if(u){a+=" "+c+" = false; "}a+=" } ";if(u){a+=" if ("+c+") { "}}else{a+=" if (!"+w+") { if (vErrors === null) vErrors = "+p+".errors; else vErrors = vErrors.concat("+p+".errors); errors = vErrors.length; } ";if(u){a+=" else { "}}}return a}},3063:function(e){"use strict";e.exports=function generate_required(e,r,t){var a=" ";var i=e.level;var n=e.dataLevel;var s=e.schema[r];var o=e.schemaPath+e.util.getProperty(r);var u=e.errSchemaPath+"/"+r;var l=!e.opts.allErrors;var c="data"+(n||"");var f="valid"+i;var p=e.opts.$data&&s&&s.$data,d;if(p){a+=" var schema"+i+" = "+e.util.getData(s.$data,n,e.dataPathArr)+"; ";d="schema"+i}else{d=s}var h="schema"+i;if(!p){if(s.length<e.opts.loopRequired&&e.schema.properties&&Object.keys(e.schema.properties).length){var m=[];var g=s;if(g){var y,S=-1,P=g.length-1;while(S<P){y=g[S+=1];var b=e.schema.properties[y];if(!(b&&(e.opts.strictKeywords?typeof b=="object"&&Object.keys(b).length>0||b===false:e.util.schemaHasRules(b,e.RULES.all)))){m[m.length]=y}}}}else{var m=s}}if(p||m.length){var _=e.errorPath,w=p||m.length>=e.opts.loopRequired,E=e.opts.ownProperties;if(l){a+=" var missing"+i+"; ";if(w){if(!p){a+=" var "+h+" = validate.schema"+o+"; "}var x="i"+i,$="schema"+i+"["+x+"]",C="' + "+$+" + '";if(e.opts._errorDataPathProperty){e.errorPath=e.util.getPathExpr(_,$,e.opts.jsonPointers)}a+=" var "+f+" = true; ";if(p){a+=" if (schema"+i+" === undefined) "+f+" = true; else if (!Array.isArray(schema"+i+")) "+f+" = false; else {"}a+=" for (var "+x+" = 0; "+x+" < "+h+".length; "+x+"++) { "+f+" = "+c+"["+h+"["+x+"]] !== undefined ";if(E){a+=" && Object.prototype.hasOwnProperty.call("+c+", "+h+"["+x+"]) "}a+="; if (!"+f+") break; } ";if(p){a+=" } "}a+=" if (!"+f+") { ";var R=R||[];R.push(a);a="";if(e.createErrors!==false){a+=" { keyword: '"+"required"+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { missingProperty: '"+C+"' } ";if(e.opts.messages!==false){a+=" , message: '";if(e.opts._errorDataPathProperty){a+="is a required property"}else{a+="should have required property \\'"+C+"\\'"}a+="' "}if(e.opts.verbose){a+=" , schema: validate.schema"+o+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "}a+=" } "}else{a+=" {} "}var O=a;a=R.pop();if(!e.compositeRule&&l){if(e.async){a+=" throw new ValidationError(["+O+"]); "}else{a+=" validate.errors = ["+O+"]; return false; "}}else{a+=" var err = "+O+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}a+=" } else { "}else{a+=" if ( ";var M=m;if(M){var A,x=-1,F=M.length-1;while(x<F){A=M[x+=1];if(x){a+=" || "}var j=e.util.getProperty(A),D=c+j;a+=" ( ( "+D+" === undefined ";if(E){a+=" || ! Object.prototype.hasOwnProperty.call("+c+", '"+e.util.escapeQuotes(A)+"') "}a+=") && (missing"+i+" = "+e.util.toQuotedString(e.opts.jsonPointers?A:j)+") ) "}}a+=") { ";var $="missing"+i,C="' + "+$+" + '";if(e.opts._errorDataPathProperty){e.errorPath=e.opts.jsonPointers?e.util.getPathExpr(_,$,true):_+" + "+$}var R=R||[];R.push(a);a="";if(e.createErrors!==false){a+=" { keyword: '"+"required"+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { missingProperty: '"+C+"' } ";if(e.opts.messages!==false){a+=" , message: '";if(e.opts._errorDataPathProperty){a+="is a required property"}else{a+="should have required property \\'"+C+"\\'"}a+="' "}if(e.opts.verbose){a+=" , schema: validate.schema"+o+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "}a+=" } "}else{a+=" {} "}var O=a;a=R.pop();if(!e.compositeRule&&l){if(e.async){a+=" throw new ValidationError(["+O+"]); "}else{a+=" validate.errors = ["+O+"]; return false; "}}else{a+=" var err = "+O+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}a+=" } else { "}}else{if(w){if(!p){a+=" var "+h+" = validate.schema"+o+"; "}var x="i"+i,$="schema"+i+"["+x+"]",C="' + "+$+" + '";if(e.opts._errorDataPathProperty){e.errorPath=e.util.getPathExpr(_,$,e.opts.jsonPointers)}if(p){a+=" if ("+h+" && !Array.isArray("+h+")) { var err = ";if(e.createErrors!==false){a+=" { keyword: '"+"required"+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { missingProperty: '"+C+"' } ";if(e.opts.messages!==false){a+=" , message: '";if(e.opts._errorDataPathProperty){a+="is a required property"}else{a+="should have required property \\'"+C+"\\'"}a+="' "}if(e.opts.verbose){a+=" , schema: validate.schema"+o+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "}a+=" } "}else{a+=" {} "}a+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } else if ("+h+" !== undefined) { "}a+=" for (var "+x+" = 0; "+x+" < "+h+".length; "+x+"++) { if ("+c+"["+h+"["+x+"]] === undefined ";if(E){a+=" || ! Object.prototype.hasOwnProperty.call("+c+", "+h+"["+x+"]) "}a+=") { var err = ";if(e.createErrors!==false){a+=" { keyword: '"+"required"+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { missingProperty: '"+C+"' } ";if(e.opts.messages!==false){a+=" , message: '";if(e.opts._errorDataPathProperty){a+="is a required property"}else{a+="should have required property \\'"+C+"\\'"}a+="' "}if(e.opts.verbose){a+=" , schema: validate.schema"+o+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "}a+=" } "}else{a+=" {} "}a+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } } ";if(p){a+=" } "}}else{var I=m;if(I){var A,k=-1,L=I.length-1;while(k<L){A=I[k+=1];var j=e.util.getProperty(A),C=e.util.escapeQuotes(A),D=c+j;if(e.opts._errorDataPathProperty){e.errorPath=e.util.getPath(_,A,e.opts.jsonPointers)}a+=" if ( "+D+" === undefined ";if(E){a+=" || ! Object.prototype.hasOwnProperty.call("+c+", '"+e.util.escapeQuotes(A)+"') "}a+=") { var err = ";if(e.createErrors!==false){a+=" { keyword: '"+"required"+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { missingProperty: '"+C+"' } ";if(e.opts.messages!==false){a+=" , message: '";if(e.opts._errorDataPathProperty){a+="is a required property"}else{a+="should have required property \\'"+C+"\\'"}a+="' "}if(e.opts.verbose){a+=" , schema: validate.schema"+o+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "}a+=" } "}else{a+=" {} "}a+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } "}}}}e.errorPath=_}else if(l){a+=" if (true) {"}return a}},7264:function(e){"use strict";e.exports=function generate_uniqueItems(e,r,t){var a=" ";var i=e.level;var n=e.dataLevel;var s=e.schema[r];var o=e.schemaPath+e.util.getProperty(r);var u=e.errSchemaPath+"/"+r;var l=!e.opts.allErrors;var c="data"+(n||"");var f="valid"+i;var p=e.opts.$data&&s&&s.$data,d;if(p){a+=" var schema"+i+" = "+e.util.getData(s.$data,n,e.dataPathArr)+"; ";d="schema"+i}else{d=s}if((s||p)&&e.opts.uniqueItems!==false){if(p){a+=" var "+f+"; if ("+d+" === false || "+d+" === undefined) "+f+" = true; else if (typeof "+d+" != 'boolean') "+f+" = false; else { "}a+=" var i = "+c+".length , "+f+" = true , j; if (i > 1) { ";var h=e.schema.items&&e.schema.items.type,m=Array.isArray(h);if(!h||h=="object"||h=="array"||m&&(h.indexOf("object")>=0||h.indexOf("array")>=0)){a+=" outer: for (;i--;) { for (j = i; j--;) { if (equal("+c+"[i], "+c+"[j])) { "+f+" = false; break outer; } } } "}else{a+=" var itemIndices = {}, item; for (;i--;) { var item = "+c+"[i]; ";var g="checkDataType"+(m?"s":"");a+=" if ("+e.util[g](h,"item",e.opts.strictNumbers,true)+") continue; ";if(m){a+=" if (typeof item == 'string') item = '\"' + item; "}a+=" if (typeof itemIndices[item] == 'number') { "+f+" = false; j = itemIndices[item]; break; } itemIndices[item] = i; } "}a+=" } ";if(p){a+=" } "}a+=" if (!"+f+") { ";var y=y||[];y.push(a);a="";if(e.createErrors!==false){a+=" { keyword: '"+"uniqueItems"+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { i: i, j: j } ";if(e.opts.messages!==false){a+=" , message: 'should NOT have duplicate items (items ## ' + j + ' and ' + i + ' are identical)' "}if(e.opts.verbose){a+=" , schema: ";if(p){a+="validate.schema"+o}else{a+=""+s}a+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "}a+=" } "}else{a+=" {} "}var S=a;a=y.pop();if(!e.compositeRule&&l){if(e.async){a+=" throw new ValidationError(["+S+"]); "}else{a+=" validate.errors = ["+S+"]; return false; "}}else{a+=" var err = "+S+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}a+=" } ";if(l){a+=" else { "}}else{if(l){a+=" if (true) { "}}return a}},241:function(e){"use strict";e.exports=function generate_validate(e,r,t){var a="";var i=e.schema.$async===true,n=e.util.schemaHasRulesExcept(e.schema,e.RULES.all,"$ref"),s=e.self._getId(e.schema);if(e.opts.strictKeywords){var o=e.util.schemaUnknownRules(e.schema,e.RULES.keywords);if(o){var u="unknown keyword: "+o;if(e.opts.strictKeywords==="log")e.logger.warn(u);else throw new Error(u)}}if(e.isTop){a+=" var validate = ";if(i){e.async=true;a+="async "}a+="function(data, dataPath, parentData, parentDataProperty, rootData) { 'use strict'; ";if(s&&(e.opts.sourceCode||e.opts.processCode)){a+=" "+("/*# sourceURL="+s+" */")+" "}}if(typeof e.schema=="boolean"||!(n||e.schema.$ref)){var r="false schema";var l=e.level;var c=e.dataLevel;var f=e.schema[r];var p=e.schemaPath+e.util.getProperty(r);var d=e.errSchemaPath+"/"+r;var h=!e.opts.allErrors;var m;var g="data"+(c||"");var y="valid"+l;if(e.schema===false){if(e.isTop){h=true}else{a+=" var "+y+" = false; "}var S=S||[];S.push(a);a="";if(e.createErrors!==false){a+=" { keyword: '"+(m||"false schema")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(d)+" , params: {} ";if(e.opts.messages!==false){a+=" , message: 'boolean schema is false' "}if(e.opts.verbose){a+=" , schema: false , parentSchema: validate.schema"+e.schemaPath+" , data: "+g+" "}a+=" } "}else{a+=" {} "}var P=a;a=S.pop();if(!e.compositeRule&&h){if(e.async){a+=" throw new ValidationError(["+P+"]); "}else{a+=" validate.errors = ["+P+"]; return false; "}}else{a+=" var err = "+P+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}}else{if(e.isTop){if(i){a+=" return data; "}else{a+=" validate.errors = null; return true; "}}else{a+=" var "+y+" = true; "}}if(e.isTop){a+=" }; return validate; "}return a}if(e.isTop){var b=e.isTop,l=e.level=0,c=e.dataLevel=0,g="data";e.rootId=e.resolve.fullPath(e.self._getId(e.root.schema));e.baseId=e.baseId||e.rootId;delete e.isTop;e.dataPathArr=[""];if(e.schema.default!==undefined&&e.opts.useDefaults&&e.opts.strictDefaults){var _="default is ignored in the schema root";if(e.opts.strictDefaults==="log")e.logger.warn(_);else throw new Error(_)}a+=" var vErrors = null; ";a+=" var errors = 0; ";a+=" if (rootData === undefined) rootData = data; "}else{var l=e.level,c=e.dataLevel,g="data"+(c||"");if(s)e.baseId=e.resolve.url(e.baseId,s);if(i&&!e.async)throw new Error("async schema in sync schema");a+=" var errs_"+l+" = errors;"}var y="valid"+l,h=!e.opts.allErrors,w="",E="";var m;var x=e.schema.type,$=Array.isArray(x);if(x&&e.opts.nullable&&e.schema.nullable===true){if($){if(x.indexOf("null")==-1)x=x.concat("null")}else if(x!="null"){x=[x,"null"];$=true}}if($&&x.length==1){x=x[0];$=false}if(e.schema.$ref&&n){if(e.opts.extendRefs=="fail"){throw new Error('$ref: validation keywords used in schema at path "'+e.errSchemaPath+'" (see option extendRefs)')}else if(e.opts.extendRefs!==true){n=false;e.logger.warn('$ref: keywords ignored in schema at path "'+e.errSchemaPath+'"')}}if(e.schema.$comment&&e.opts.$comment){a+=" "+e.RULES.all.$comment.code(e,"$comment")}if(x){if(e.opts.coerceTypes){var C=e.util.coerceToTypes(e.opts.coerceTypes,x)}var R=e.RULES.types[x];if(C||$||R===true||R&&!$shouldUseGroup(R)){var p=e.schemaPath+".type",d=e.errSchemaPath+"/type";var p=e.schemaPath+".type",d=e.errSchemaPath+"/type",O=$?"checkDataTypes":"checkDataType";a+=" if ("+e.util[O](x,g,e.opts.strictNumbers,true)+") { ";if(C){var M="dataType"+l,A="coerced"+l;a+=" var "+M+" = typeof "+g+"; var "+A+" = undefined; ";if(e.opts.coerceTypes=="array"){a+=" if ("+M+" == 'object' && Array.isArray("+g+") && "+g+".length == 1) { "+g+" = "+g+"[0]; "+M+" = typeof "+g+"; if ("+e.util.checkDataType(e.schema.type,g,e.opts.strictNumbers)+") "+A+" = "+g+"; } "}a+=" if ("+A+" !== undefined) ; ";var F=C;if(F){var j,D=-1,I=F.length-1;while(D<I){j=F[D+=1];if(j=="string"){a+=" else if ("+M+" == 'number' || "+M+" == 'boolean') "+A+" = '' + "+g+"; else if ("+g+" === null) "+A+" = ''; "}else if(j=="number"||j=="integer"){a+=" else if ("+M+" == 'boolean' || "+g+" === null || ("+M+" == 'string' && "+g+" && "+g+" == +"+g+" ";if(j=="integer"){a+=" && !("+g+" % 1)"}a+=")) "+A+" = +"+g+"; "}else if(j=="boolean"){a+=" else if ("+g+" === 'false' || "+g+" === 0 || "+g+" === null) "+A+" = false; else if ("+g+" === 'true' || "+g+" === 1) "+A+" = true; "}else if(j=="null"){a+=" else if ("+g+" === '' || "+g+" === 0 || "+g+" === false) "+A+" = null; "}else if(e.opts.coerceTypes=="array"&&j=="array"){a+=" else if ("+M+" == 'string' || "+M+" == 'number' || "+M+" == 'boolean' || "+g+" == null) "+A+" = ["+g+"]; "}}}a+=" else { ";var S=S||[];S.push(a);a="";if(e.createErrors!==false){a+=" { keyword: '"+(m||"type")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(d)+" , params: { type: '";if($){a+=""+x.join(",")}else{a+=""+x}a+="' } ";if(e.opts.messages!==false){a+=" , message: 'should be ";if($){a+=""+x.join(",")}else{a+=""+x}a+="' "}if(e.opts.verbose){a+=" , schema: validate.schema"+p+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+g+" "}a+=" } "}else{a+=" {} "}var P=a;a=S.pop();if(!e.compositeRule&&h){if(e.async){a+=" throw new ValidationError(["+P+"]); "}else{a+=" validate.errors = ["+P+"]; return false; "}}else{a+=" var err = "+P+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}a+=" } if ("+A+" !== undefined) { ";var k=c?"data"+(c-1||""):"parentData",L=c?e.dataPathArr[c]:"parentDataProperty";a+=" "+g+" = "+A+"; ";if(!c){a+="if ("+k+" !== undefined)"}a+=" "+k+"["+L+"] = "+A+"; } "}else{var S=S||[];S.push(a);a="";if(e.createErrors!==false){a+=" { keyword: '"+(m||"type")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(d)+" , params: { type: '";if($){a+=""+x.join(",")}else{a+=""+x}a+="' } ";if(e.opts.messages!==false){a+=" , message: 'should be ";if($){a+=""+x.join(",")}else{a+=""+x}a+="' "}if(e.opts.verbose){a+=" , schema: validate.schema"+p+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+g+" "}a+=" } "}else{a+=" {} "}var P=a;a=S.pop();if(!e.compositeRule&&h){if(e.async){a+=" throw new ValidationError(["+P+"]); "}else{a+=" validate.errors = ["+P+"]; return false; "}}else{a+=" var err = "+P+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}}a+=" } "}}if(e.schema.$ref&&!n){a+=" "+e.RULES.all.$ref.code(e,"$ref")+" ";if(h){a+=" } if (errors === ";if(b){a+="0"}else{a+="errs_"+l}a+=") { ";E+="}"}}else{var N=e.RULES;if(N){var R,z=-1,T=N.length-1;while(z<T){R=N[z+=1];if($shouldUseGroup(R)){if(R.type){a+=" if ("+e.util.checkDataType(R.type,g,e.opts.strictNumbers)+") { "}if(e.opts.useDefaults){if(R.type=="object"&&e.schema.properties){var f=e.schema.properties,q=Object.keys(f);var U=q;if(U){var V,Q=-1,B=U.length-1;while(Q<B){V=U[Q+=1];var K=f[V];if(K.default!==undefined){var H=g+e.util.getProperty(V);if(e.compositeRule){if(e.opts.strictDefaults){var _="default is ignored for: "+H;if(e.opts.strictDefaults==="log")e.logger.warn(_);else throw new Error(_)}}else{a+=" if ("+H+" === undefined ";if(e.opts.useDefaults=="empty"){a+=" || "+H+" === null || "+H+" === '' "}a+=" ) "+H+" = ";if(e.opts.useDefaults=="shared"){a+=" "+e.useDefault(K.default)+" "}else{a+=" "+JSON.stringify(K.default)+" "}a+="; "}}}}}else if(R.type=="array"&&Array.isArray(e.schema.items)){var G=e.schema.items;if(G){var K,D=-1,J=G.length-1;while(D<J){K=G[D+=1];if(K.default!==undefined){var H=g+"["+D+"]";if(e.compositeRule){if(e.opts.strictDefaults){var _="default is ignored for: "+H;if(e.opts.strictDefaults==="log")e.logger.warn(_);else throw new Error(_)}}else{a+=" if ("+H+" === undefined ";if(e.opts.useDefaults=="empty"){a+=" || "+H+" === null || "+H+" === '' "}a+=" ) "+H+" = ";if(e.opts.useDefaults=="shared"){a+=" "+e.useDefault(K.default)+" "}else{a+=" "+JSON.stringify(K.default)+" "}a+="; "}}}}}}var W=R.rules;if(W){var Z,Y=-1,X=W.length-1;while(Y<X){Z=W[Y+=1];if($shouldUseRule(Z)){var ee=Z.code(e,Z.keyword,R.type);if(ee){a+=" "+ee+" ";if(h){w+="}"}}}}}if(h){a+=" "+w+" ";w=""}if(R.type){a+=" } ";if(x&&x===R.type&&!C){a+=" else { ";var p=e.schemaPath+".type",d=e.errSchemaPath+"/type";var S=S||[];S.push(a);a="";if(e.createErrors!==false){a+=" { keyword: '"+(m||"type")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(d)+" , params: { type: '";if($){a+=""+x.join(",")}else{a+=""+x}a+="' } ";if(e.opts.messages!==false){a+=" , message: 'should be ";if($){a+=""+x.join(",")}else{a+=""+x}a+="' "}if(e.opts.verbose){a+=" , schema: validate.schema"+p+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+g+" "}a+=" } "}else{a+=" {} "}var P=a;a=S.pop();if(!e.compositeRule&&h){if(e.async){a+=" throw new ValidationError(["+P+"]); "}else{a+=" validate.errors = ["+P+"]; return false; "}}else{a+=" var err = "+P+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}a+=" } "}}if(h){a+=" if (errors === ";if(b){a+="0"}else{a+="errs_"+l}a+=") { ";E+="}"}}}}}if(h){a+=" "+E+" "}if(b){if(i){a+=" if (errors === 0) return data; ";a+=" else throw new ValidationError(vErrors); "}else{a+=" validate.errors = vErrors; ";a+=" return errors === 0; "}a+=" }; return validate;"}else{a+=" var "+y+" = errors === errs_"+l+";"}function $shouldUseGroup(e){var r=e.rules;for(var t=0;t<r.length;t++)if($shouldUseRule(r[t]))return true}function $shouldUseRule(r){return e.schema[r.keyword]!==undefined||r.implements&&$ruleImplementsSomeKeyword(r)}function $ruleImplementsSomeKeyword(r){var t=r.implements;for(var a=0;a<t.length;a++)if(e.schema[t[a]]!==undefined)return true}return a}},8758:function(e,r,t){"use strict";var a=/^[a-z_$][a-z0-9_$-]*$/i;var i=t(3291);var n=t(6277);e.exports={add:addKeyword,get:getKeyword,remove:removeKeyword,validate:validateKeyword};function addKeyword(e,r){var t=this.RULES;if(t.keywords[e])throw new Error("Keyword "+e+" is already defined");if(!a.test(e))throw new Error("Keyword "+e+" is not a valid identifier");if(r){this.validateKeyword(r,true);var n=r.type;if(Array.isArray(n)){for(var s=0;s<n.length;s++)_addRule(e,n[s],r)}else{_addRule(e,n,r)}var o=r.metaSchema;if(o){if(r.$data&&this._opts.$data){o={anyOf:[o,{$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"}]}}r.validateSchema=this.compile(o,true)}}t.keywords[e]=t.all[e]=true;function _addRule(e,r,a){var n;for(var s=0;s<t.length;s++){var o=t[s];if(o.type==r){n=o;break}}if(!n){n={type:r,rules:[]};t.push(n)}var u={keyword:e,definition:a,custom:true,code:i,implements:a.implements};n.rules.push(u);t.custom[e]=u}return this}function getKeyword(e){var r=this.RULES.custom[e];return r?r.definition:this.RULES.keywords[e]||false}function removeKeyword(e){var r=this.RULES;delete r.keywords[e];delete r.all[e];delete r.custom[e];for(var t=0;t<r.length;t++){var a=r[t].rules;for(var i=0;i<a.length;i++){if(a[i].keyword==e){a.splice(i,1);break}}}return this}function validateKeyword(e,r){validateKeyword.errors=null;var t=this._validateKeyword=this._validateKeyword||this.compile(n,true);if(t(e))return true;validateKeyword.errors=t.errors;if(r)throw new Error("custom keyword definition is invalid: "+this.errorsText(t.errors));else return false}},6054:function(e,r,t){"use strict";const a=t(3739);e.exports=a.default},3739:function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:true});r.default=void 0;var a=_interopRequireWildcard(t(2087));var i=t(4033);var n=t(8399);var s=_interopRequireDefault(t(6665));var o=_interopRequireDefault(t(5146));var u=t(9733);var l=require("./utils");var c=_interopRequireWildcard(t(7842));var f=t(4664);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _getRequireWildcardCache(e){if(typeof WeakMap!=="function")return null;var r=new WeakMap;var t=new WeakMap;return(_getRequireWildcardCache=function(e){return e?t:r})(e)}function _interopRequireWildcard(e,r){if(!r&&e&&e.__esModule){return e}if(e===null||typeof e!=="object"&&typeof e!=="function"){return{default:e}}var t=_getRequireWildcardCache(r);if(t&&t.has(e)){return t.get(e)}var a={};var i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e){if(n!=="default"&&Object.prototype.hasOwnProperty.call(e,n)){var s=i?Object.getOwnPropertyDescriptor(e,n):null;if(s&&(s.get||s.set)){Object.defineProperty(a,n,s)}else{a[n]=e[n]}}}a.default=e;if(t){t.set(e,a)}return a}const p=/\s.+:+([0-9]+):+([0-9]+)/;class CssMinimizerPlugin{constructor(e={}){(0,n.validate)(c,e,{name:"Css Minimizer Plugin",baseDataPath:"options"});const{minify:r=l.cssnanoMinify,minimizerOptions:t,test:a=/\.css(\?.*)?$/i,warningsFilter:i=(()=>true),parallel:s=true,include:o,exclude:u}=e;this.options={test:a,warningsFilter:i,parallel:s,include:o,exclude:u,minify:r,minimizerOptions:t}}static isSourceMap(e){return Boolean(e&&e.version&&e.sources&&Array.isArray(e.sources)&&typeof e.mappings==="string")}static buildWarning(e,r,t,a,i){let n=typeof e==="string"?e:`${e.plugin?`[${e.plugin}] `:""}${e.text||e.message}`;let s="";let o;if(t){const i=p.exec(e);if(i){const e=+i[1];const u=+i[2];const l=t.originalPositionFor({line:e,column:u});if(l&&l.source&&l.source!==r&&a){({source:o}=l);n=`${n.replace(p,"")}`;s=`${a.shorten(l.source)}:${l.line}:${l.column}`}}}if(i&&!i(e,r,o)){return null}const u=new Error(`${r} from Css Minimizer plugin\n${n}${s?` ${s}`:""}`);u.name="Warning";u.hideStack=true;u.file=r;return u}static buildError(e,r,t,a){let i;if(typeof e==="string"){i=new Error(`${r} from Css Minimizer plugin\n${e}`);i.file=r;return i}if(e.line){const n=t&&t.originalPositionFor({line:e.line,column:e.column});if(n&&n.source&&a){i=new Error(`${r} from Css Minimizer plugin\n${e.message} [${a.shorten(n.source)}:${n.line},${n.column}][${r}:${e.line},${e.column}]${e.stack?`\n${e.stack.split("\n").slice(1).join("\n")}`:""}`);i.file=r;return i}i=new Error(`${r} from Css Minimizer plugin\n${e.message} [${r}:${e.line},${e.column}]${e.stack?`\n${e.stack.split("\n").slice(1).join("\n")}`:""}`);i.file=r;return i}if(e.stack){i=new Error(`${r} from Css Minimizer plugin\n${e.stack}`);i.file=r;return i}i=new Error(`${r} from Css Minimizer plugin\n${e.message}`);i.file=r;return i}static getAvailableNumberOfCores(e){const r=a.cpus()||{length:1};return e===true?r.length-1:Math.min(Number(e)||0,r.length-1)}async optimize(e,r,a,n){const l=r.getCache("CssMinimizerWebpackPlugin");let c=0;const p=await Promise.all(Object.keys(typeof a==="undefined"?r.assets:a).filter((t=>{const{info:a}=r.getAsset(t);if(a.minimized){return false}if(!e.webpack.ModuleFilenameHelpers.matchObject.bind(undefined,this.options)(t)){return false}return true})).map((async e=>{const{info:t,source:a}=r.getAsset(e);const i=l.getLazyHashedEtag(a);const n=l.getItemCache(e,i);const s=await n.getPromise();if(!s){c+=1}return{name:e,info:t,inputSource:a,output:s,cacheItem:n}})));let d;let h;let m;if(n.availableNumberOfCores>0){m=Math.min(c,n.availableNumberOfCores);d=()=>{if(h){return h}h=new u.Worker(t.ab+"minify.js",{numWorkers:m,enableWorkerThreads:true});const e=h.getStdout();if(e){e.on("data",(e=>process.stdout.write(e)))}const r=h.getStderr();if(r){r.on("data",(e=>process.stderr.write(e)))}return h}}const g=(0,o.default)(d&&c>0?m:Infinity);const{SourceMapSource:y,RawSource:S}=e.webpack.sources;const P=[];for(const e of p){P.push(g((async()=>{const{name:t,inputSource:a,cacheItem:n}=e;let{output:o}=e;if(!o){let e;let u;const{source:l,map:c}=a.sourceAndMap();e=l;if(c){if(CssMinimizerPlugin.isSourceMap(c)){u=c}else{r.warnings.push(new Error(`${t} contains invalid source map`))}}if(Buffer.isBuffer(e)){e=e.toString()}const p={name:t,input:e,inputSourceMap:u,minify:this.options.minify,minifyOptions:this.options.minimizerOptions};let h;try{h=await(d?d().transform((0,s.default)(p)):(0,f.minify)(p))}catch(e){const a=u&&CssMinimizerPlugin.isSourceMap(u);r.errors.push(CssMinimizerPlugin.buildError(e,t,a?new i.SourceMapConsumer(u):undefined,a?r.requestShortener:undefined));return}o={warnings:[],errors:[]};for(const r of h.outputs){if(r.map){let a;let i;if(o.source){({source:a,map:i}=o.source.sourceAndMap())}else{a=e;i=u}o.source=new y(r.code,t,r.map,a,i,true)}else{o.source=new S(r.code)}}if(h.errors&&h.errors.length>0){const e=u&&CssMinimizerPlugin.isSourceMap(u);for(const a of h.errors){o.warnings.push(CssMinimizerPlugin.buildError(a,t,e?new i.SourceMapConsumer(u):undefined,e?r.requestShortener:undefined))}}if(h.warnings&&h.warnings.length>0){const e=u&&CssMinimizerPlugin.isSourceMap(u);for(const a of h.warnings){const n=CssMinimizerPlugin.buildWarning(a,t,e?new i.SourceMapConsumer(u):undefined,e?r.requestShortener:undefined,this.options.warningsFilter);if(n){o.warnings.push(n)}}}await n.storePromise({source:o.source,warnings:o.warnings,errors:o.errors})}if(o.warnings&&o.warnings.length>0){for(const e of o.warnings){r.warnings.push(e)}}if(o.errors&&o.errors.length>0){for(const e of o.errors){r.errors.push(e)}}const u={minimized:true};const{source:l}=o;r.updateAsset(t,l,u)})))}const b=await Promise.all(P);if(h){await h.end()}return b}apply(e){const r=this.constructor.name;const t=CssMinimizerPlugin.getAvailableNumberOfCores(this.options.parallel);e.hooks.compilation.tap(r,(a=>{a.hooks.processAssets.tapPromise({name:r,stage:e.webpack.Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE_SIZE,additionalAssets:true},(r=>this.optimize(e,a,r,{availableNumberOfCores:t})));a.hooks.statsPrinter.tap(r,(e=>{e.hooks.print.for("asset.info.minimized").tap("css-minimizer-webpack-plugin",((e,{green:r,formatFlag:t})=>e?r(t("minimized")):""))}))}))}}CssMinimizerPlugin.cssnanoMinify=l.cssnanoMinify;CssMinimizerPlugin.cssoMinify=l.cssoMinify;CssMinimizerPlugin.cleanCssMinify=l.cleanCssMinify;CssMinimizerPlugin.esbuildMinify=l.esbuildMinify;var d=CssMinimizerPlugin;r.default=d},4664:function(e,r,t){"use strict";e=t.nmd(e);const minify=async e=>{const r=typeof e.minify==="function"?[e.minify]:e.minify;const t={outputs:[],warnings:[],errors:[]};let a=false;for(let i=0;i<=r.length-1;i++){const n=r[i];const s=Array.isArray(e.minifyOptions)?e.minifyOptions[i]:e.minifyOptions;const o=t.outputs.length>0?t.outputs[t.outputs.length-1]:{code:e.input,map:e.inputSourceMap};const{code:u,map:l}=o;const c=await n({[e.name]:u},l,s);if(typeof c.code!=="string"){throw new Error("minimizer function doesn't return the 'code' property or result is not a string value")}if(c.map){a=true}if(c.errors){t.errors=t.errors.concat(c.errors)}if(c.warnings){t.warnings=t.warnings.concat(c.warnings)}t.outputs.push({code:c.code,map:c.map})}if(!a){t.outputs=[t.outputs[t.outputs.length-1]]}return t};async function transform(t){const a=new Function("exports","require","module","__filename","__dirname",`'use strict'\nreturn ${t}`)(r,require,e,__filename,__dirname);const i=await minify(a);if(i.error){throw i.error}else{return i}}e.exports.minify=minify;e.exports.transform=transform},4097:function(e){"use strict";e.exports=function equal(e,r){if(e===r)return true;if(e&&r&&typeof e=="object"&&typeof r=="object"){if(e.constructor!==r.constructor)return false;var t,a,i;if(Array.isArray(e)){t=e.length;if(t!=r.length)return false;for(a=t;a--!==0;)if(!equal(e[a],r[a]))return false;return true}if(e.constructor===RegExp)return e.source===r.source&&e.flags===r.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===r.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===r.toString();i=Object.keys(e);t=i.length;if(t!==Object.keys(r).length)return false;for(a=t;a--!==0;)if(!Object.prototype.hasOwnProperty.call(r,i[a]))return false;for(a=t;a--!==0;){var n=i[a];if(!equal(e[n],r[n]))return false}return true}return e!==e&&r!==r}},6932:function(e){"use strict";e.exports=function(e,r){if(!r)r={};if(typeof r==="function")r={cmp:r};var t=typeof r.cycles==="boolean"?r.cycles:false;var a=r.cmp&&function(e){return function(r){return function(t,a){var i={key:t,value:r[t]};var n={key:a,value:r[a]};return e(i,n)}}}(r.cmp);var i=[];return function stringify(e){if(e&&e.toJSON&&typeof e.toJSON==="function"){e=e.toJSON()}if(e===undefined)return;if(typeof e=="number")return isFinite(e)?""+e:"null";if(typeof e!=="object")return JSON.stringify(e);var r,n;if(Array.isArray(e)){n="[";for(r=0;r<e.length;r++){if(r)n+=",";n+=stringify(e[r])||"null"}return n+"]"}if(e===null)return"null";if(i.indexOf(e)!==-1){if(t)return JSON.stringify("__cycle__");throw new TypeError("Converting circular structure to JSON")}var s=i.push(e)-1;var o=Object.keys(e).sort(a&&a(e));n="";for(r=0;r<o.length;r++){var u=o[r];var l=stringify(e[u]);if(!l)continue;if(n)n+=",";n+=JSON.stringify(u)+":"+l}i.splice(s,1);return"{"+n+"}"}(e)}},2271:function(e){"use strict";var r=e.exports=function(e,r,t){if(typeof r=="function"){t=r;r={}}t=r.cb||t;var a=typeof t=="function"?t:t.pre||function(){};var i=t.post||function(){};_traverse(r,a,i,e,"",e)};r.keywords={additionalItems:true,items:true,contains:true,additionalProperties:true,propertyNames:true,not:true};r.arrayKeywords={items:true,allOf:true,anyOf:true,oneOf:true};r.propsKeywords={definitions:true,properties:true,patternProperties:true,dependencies:true};r.skipKeywords={default:true,enum:true,const:true,required:true,maximum:true,minimum:true,exclusiveMaximum:true,exclusiveMinimum:true,multipleOf:true,maxLength:true,minLength:true,pattern:true,format:true,maxItems:true,minItems:true,uniqueItems:true,maxProperties:true,minProperties:true};function _traverse(e,t,a,i,n,s,o,u,l,c){if(i&&typeof i=="object"&&!Array.isArray(i)){t(i,n,s,o,u,l,c);for(var f in i){var p=i[f];if(Array.isArray(p)){if(f in r.arrayKeywords){for(var d=0;d<p.length;d++)_traverse(e,t,a,p[d],n+"/"+f+"/"+d,s,n,f,i,d)}}else if(f in r.propsKeywords){if(p&&typeof p=="object"){for(var h in p)_traverse(e,t,a,p[h],n+"/"+f+"/"+escapeJsonPtr(h),s,n,f,i,h)}}else if(f in r.keywords||e.allKeys&&!(f in r.skipKeywords)){_traverse(e,t,a,p,n+"/"+f,s,n,f,i)}}a(i,n,s,o,u,l,c)}}function escapeJsonPtr(e){return e.replace(/~/g,"~0").replace(/\//g,"~1")}},5146:function(e,r,t){"use strict";const a=t(4718);const pLimit=e=>{if(!((Number.isInteger(e)||e===Infinity)&&e>0)){throw new TypeError("Expected `concurrency` to be a number from 1 and up")}const r=new a;let t=0;const next=()=>{t--;if(r.size>0){r.dequeue()()}};const run=async(e,r,...a)=>{t++;const i=(async()=>e(...a))();r(i);try{await i}catch{}next()};const enqueue=(a,i,...n)=>{r.enqueue(run.bind(null,a,i,...n));(async()=>{await Promise.resolve();if(t<e&&r.size>0){r.dequeue()()}})()};const generator=(e,...r)=>new Promise((t=>{enqueue(e,t,...r)}));Object.defineProperties(generator,{activeCount:{get:()=>t},pendingCount:{get:()=>r.size},clearQueue:{value:()=>{r.clear()}}});return generator};e.exports=pLimit},98:function(e,r,t){e.exports=t(6417).randomBytes},3104:function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:true});r.default=void 0;const{stringHints:a,numberHints:i}=t(373);const n={type:1,not:1,oneOf:1,anyOf:1,if:1,enum:1,const:1,instanceof:1,required:2,pattern:2,patternRequired:2,format:2,formatMinimum:2,formatMaximum:2,minimum:2,exclusiveMinimum:2,maximum:2,exclusiveMaximum:2,multipleOf:2,uniqueItems:2,contains:2,minLength:2,maxLength:2,minItems:2,maxItems:2,minProperties:2,maxProperties:2,dependencies:2,propertyNames:2,additionalItems:2,additionalProperties:2,absolutePath:2};function filterMax(e,r){const t=e.reduce(((e,t)=>Math.max(e,r(t))),0);return e.filter((e=>r(e)===t))}function filterChildren(e){let r=e;r=filterMax(r,(e=>e.dataPath?e.dataPath.length:0));r=filterMax(r,(e=>n[e.keyword]||2));return r}function findAllChildren(e,r){let t=e.length-1;const predicate=r=>e[t].schemaPath.indexOf(r)!==0;while(t>-1&&!r.every(predicate)){if(e[t].keyword==="anyOf"||e[t].keyword==="oneOf"){const r=extractRefs(e[t]);const a=findAllChildren(e.slice(0,t),r.concat(e[t].schemaPath));t=a-1}else{t-=1}}return t+1}function extractRefs(e){const{schema:r}=e;if(!Array.isArray(r)){return[]}return r.map((({$ref:e})=>e)).filter((e=>e))}function groupChildrenByFirstChild(e){const r=[];let t=e.length-1;while(t>0){const a=e[t];if(a.keyword==="anyOf"||a.keyword==="oneOf"){const i=extractRefs(a);const n=findAllChildren(e.slice(0,t),i.concat(a.schemaPath));if(n!==t){r.push(Object.assign({},a,{children:e.slice(n,t)}));t=n}else{r.push(a)}}else{r.push(a)}t-=1}if(t===0){r.push(e[t])}return r.reverse()}function indent(e,r){return e.replace(/\n(?!$)/g,`\n${r}`)}function hasNotInSchema(e){return!!e.not}function findFirstTypedSchema(e){if(hasNotInSchema(e)){return findFirstTypedSchema(e.not)}return e}function canApplyNot(e){const r=findFirstTypedSchema(e);return likeNumber(r)||likeInteger(r)||likeString(r)||likeNull(r)||likeBoolean(r)}function isObject(e){return typeof e==="object"&&e!==null}function likeNumber(e){return e.type==="number"||typeof e.minimum!=="undefined"||typeof e.exclusiveMinimum!=="undefined"||typeof e.maximum!=="undefined"||typeof e.exclusiveMaximum!=="undefined"||typeof e.multipleOf!=="undefined"}function likeInteger(e){return e.type==="integer"||typeof e.minimum!=="undefined"||typeof e.exclusiveMinimum!=="undefined"||typeof e.maximum!=="undefined"||typeof e.exclusiveMaximum!=="undefined"||typeof e.multipleOf!=="undefined"}function likeString(e){return e.type==="string"||typeof e.minLength!=="undefined"||typeof e.maxLength!=="undefined"||typeof e.pattern!=="undefined"||typeof e.format!=="undefined"||typeof e.formatMinimum!=="undefined"||typeof e.formatMaximum!=="undefined"}function likeBoolean(e){return e.type==="boolean"}function likeArray(e){return e.type==="array"||typeof e.minItems==="number"||typeof e.maxItems==="number"||typeof e.uniqueItems!=="undefined"||typeof e.items!=="undefined"||typeof e.additionalItems!=="undefined"||typeof e.contains!=="undefined"}function likeObject(e){return e.type==="object"||typeof e.minProperties!=="undefined"||typeof e.maxProperties!=="undefined"||typeof e.required!=="undefined"||typeof e.properties!=="undefined"||typeof e.patternProperties!=="undefined"||typeof e.additionalProperties!=="undefined"||typeof e.dependencies!=="undefined"||typeof e.propertyNames!=="undefined"||typeof e.patternRequired!=="undefined"}function likeNull(e){return e.type==="null"}function getArticle(e){if(/^[aeiou]/i.test(e)){return"an"}return"a"}function getSchemaNonTypes(e){if(!e){return""}if(!e.type){if(likeNumber(e)||likeInteger(e)){return" | should be any non-number"}if(likeString(e)){return" | should be any non-string"}if(likeArray(e)){return" | should be any non-array"}if(likeObject(e)){return" | should be any non-object"}}return""}function formatHints(e){return e.length>0?`(${e.join(", ")})`:""}function getHints(e,r){if(likeNumber(e)||likeInteger(e)){return i(e,r)}else if(likeString(e)){return a(e,r)}return[]}class ValidationError extends Error{constructor(e,r,t={}){super();this.name="ValidationError";this.errors=e;this.schema=r;let a;let i;if(r.title&&(!t.name||!t.baseDataPath)){const e=r.title.match(/^(.+) (.+)$/);if(e){if(!t.name){[,a]=e}if(!t.baseDataPath){[,,i]=e}}}this.headerName=t.name||a||"Object";this.baseDataPath=t.baseDataPath||i||"configuration";this.postFormatter=t.postFormatter||null;const n=`Invalid ${this.baseDataPath} object. ${this.headerName} has been initialized using ${getArticle(this.baseDataPath)} ${this.baseDataPath} object that does not match the API schema.\n`;this.message=`${n}${this.formatValidationErrors(e)}`;Error.captureStackTrace(this,this.constructor)}getSchemaPart(e){const r=e.split("/");let t=this.schema;for(let e=1;e<r.length;e++){const a=t[r[e]];if(!a){break}t=a}return t}formatSchema(e,r=true,t=[]){let a=r;const formatInnerSchema=(r,i)=>{if(!i){return this.formatSchema(r,a,t)}if(t.includes(r)){return"(recursive)"}return this.formatSchema(r,a,t.concat(e))};if(hasNotInSchema(e)&&!likeObject(e)){if(canApplyNot(e.not)){a=!r;return formatInnerSchema(e.not)}const t=!e.not.not;const i=r?"":"non ";a=!r;return t?i+formatInnerSchema(e.not):formatInnerSchema(e.not)}if(e.instanceof){const{instanceof:r}=e;const t=!Array.isArray(r)?[r]:r;return t.map((e=>e==="Function"?"function":e)).join(" | ")}if(e.enum){return e.enum.map((e=>JSON.stringify(e))).join(" | ")}if(typeof e.const!=="undefined"){return JSON.stringify(e.const)}if(e.oneOf){return e.oneOf.map((e=>formatInnerSchema(e,true))).join(" | ")}if(e.anyOf){return e.anyOf.map((e=>formatInnerSchema(e,true))).join(" | ")}if(e.allOf){return e.allOf.map((e=>formatInnerSchema(e,true))).join(" & ")}if(e.if){const{if:r,then:t,else:a}=e;return`${r?`if ${formatInnerSchema(r)}`:""}${t?` then ${formatInnerSchema(t)}`:""}${a?` else ${formatInnerSchema(a)}`:""}`}if(e.$ref){return formatInnerSchema(this.getSchemaPart(e.$ref),true)}if(likeNumber(e)||likeInteger(e)){const[t,...a]=getHints(e,r);const i=`${t}${a.length>0?` ${formatHints(a)}`:""}`;return r?i:a.length>0?`non-${t} | ${i}`:`non-${t}`}if(likeString(e)){const[t,...a]=getHints(e,r);const i=`${t}${a.length>0?` ${formatHints(a)}`:""}`;return r?i:i==="string"?"non-string":`non-string | ${i}`}if(likeBoolean(e)){return`${r?"":"non-"}boolean`}if(likeArray(e)){a=true;const r=[];if(typeof e.minItems==="number"){r.push(`should not have fewer than ${e.minItems} item${e.minItems>1?"s":""}`)}if(typeof e.maxItems==="number"){r.push(`should not have more than ${e.maxItems} item${e.maxItems>1?"s":""}`)}if(e.uniqueItems){r.push("should not have duplicate items")}const t=typeof e.additionalItems==="undefined"||Boolean(e.additionalItems);let i="";if(e.items){if(Array.isArray(e.items)&&e.items.length>0){i=`${e.items.map((e=>formatInnerSchema(e))).join(", ")}`;if(t){if(e.additionalItems&&isObject(e.additionalItems)&&Object.keys(e.additionalItems).length>0){r.push(`additional items should be ${formatInnerSchema(e.additionalItems)}`)}}}else if(e.items&&Object.keys(e.items).length>0){i=`${formatInnerSchema(e.items)}`}else{i="any"}}else{i="any"}if(e.contains&&Object.keys(e.contains).length>0){r.push(`should contains at least one ${this.formatSchema(e.contains)} item`)}return`[${i}${t?", ...":""}]${r.length>0?` (${r.join(", ")})`:""}`}if(likeObject(e)){a=true;const r=[];if(typeof e.minProperties==="number"){r.push(`should not have fewer than ${e.minProperties} ${e.minProperties>1?"properties":"property"}`)}if(typeof e.maxProperties==="number"){r.push(`should not have more than ${e.maxProperties} ${e.minProperties&&e.minProperties>1?"properties":"property"}`)}if(e.patternProperties&&Object.keys(e.patternProperties).length>0){const t=Object.keys(e.patternProperties);r.push(`additional property names should match pattern${t.length>1?"s":""} ${t.map((e=>JSON.stringify(e))).join(" | ")}`)}const t=e.properties?Object.keys(e.properties):[];const i=e.required?e.required:[];const n=[...new Set([].concat(i).concat(t))];const s=n.map((e=>{const r=i.includes(e);return`${e}${r?"":"?"}`})).concat(typeof e.additionalProperties==="undefined"||Boolean(e.additionalProperties)?e.additionalProperties&&isObject(e.additionalProperties)?[`<key>: ${formatInnerSchema(e.additionalProperties)}`]:["…"]:[]).join(", ");const{dependencies:o,propertyNames:u,patternRequired:l}=e;if(o){Object.keys(o).forEach((e=>{const t=o[e];if(Array.isArray(t)){r.push(`should have ${t.length>1?"properties":"property"} ${t.map((e=>`'${e}'`)).join(", ")} when property '${e}' is present`)}else{r.push(`should be valid according to the schema ${formatInnerSchema(t)} when property '${e}' is present`)}}))}if(u&&Object.keys(u).length>0){r.push(`each property name should match format ${JSON.stringify(e.propertyNames.format)}`)}if(l&&l.length>0){r.push(`should have property matching pattern ${l.map((e=>JSON.stringify(e)))}`)}return`object {${s?` ${s} `:""}}${r.length>0?` (${r.join(", ")})`:""}`}if(likeNull(e)){return`${r?"":"non-"}null`}if(Array.isArray(e.type)){return`${e.type.join(" | ")}`}return JSON.stringify(e,null,2)}getSchemaPartText(e,r,t=false,a=true){if(!e){return""}if(Array.isArray(r)){for(let t=0;t<r.length;t++){const a=e[r[t]];if(a){e=a}else{break}}}while(e.$ref){e=this.getSchemaPart(e.$ref)}let i=`${this.formatSchema(e,a)}${t?".":""}`;if(e.description){i+=`\n-> ${e.description}`}if(e.link){i+=`\n-> Read more at ${e.link}`}return i}getSchemaPartDescription(e){if(!e){return""}while(e.$ref){e=this.getSchemaPart(e.$ref)}let r="";if(e.description){r+=`\n-> ${e.description}`}if(e.link){r+=`\n-> Read more at ${e.link}`}return r}formatValidationError(e){const{keyword:r,dataPath:t}=e;const a=`${this.baseDataPath}${t}`;switch(r){case"type":{const{parentSchema:r,params:t}=e;switch(t.type){case"number":return`${a} should be a ${this.getSchemaPartText(r,false,true)}`;case"integer":return`${a} should be an ${this.getSchemaPartText(r,false,true)}`;case"string":return`${a} should be a ${this.getSchemaPartText(r,false,true)}`;case"boolean":return`${a} should be a ${this.getSchemaPartText(r,false,true)}`;case"array":return`${a} should be an array:\n${this.getSchemaPartText(r)}`;case"object":return`${a} should be an object:\n${this.getSchemaPartText(r)}`;case"null":return`${a} should be a ${this.getSchemaPartText(r,false,true)}`;default:return`${a} should be:\n${this.getSchemaPartText(r)}`}}case"instanceof":{const{parentSchema:r}=e;return`${a} should be an instance of ${this.getSchemaPartText(r,false,true)}`}case"pattern":{const{params:r,parentSchema:t}=e;const{pattern:i}=r;return`${a} should match pattern ${JSON.stringify(i)}${getSchemaNonTypes(t)}.${this.getSchemaPartDescription(t)}`}case"format":{const{params:r,parentSchema:t}=e;const{format:i}=r;return`${a} should match format ${JSON.stringify(i)}${getSchemaNonTypes(t)}.${this.getSchemaPartDescription(t)}`}case"formatMinimum":case"formatMaximum":{const{params:r,parentSchema:t}=e;const{comparison:i,limit:n}=r;return`${a} should be ${i} ${JSON.stringify(n)}${getSchemaNonTypes(t)}.${this.getSchemaPartDescription(t)}`}case"minimum":case"maximum":case"exclusiveMinimum":case"exclusiveMaximum":{const{parentSchema:r,params:t}=e;const{comparison:i,limit:n}=t;const[,...s]=getHints(r,true);if(s.length===0){s.push(`should be ${i} ${n}`)}return`${a} ${s.join(" ")}${getSchemaNonTypes(r)}.${this.getSchemaPartDescription(r)}`}case"multipleOf":{const{params:r,parentSchema:t}=e;const{multipleOf:i}=r;return`${a} should be multiple of ${i}${getSchemaNonTypes(t)}.${this.getSchemaPartDescription(t)}`}case"patternRequired":{const{params:r,parentSchema:t}=e;const{missingPattern:i}=r;return`${a} should have property matching pattern ${JSON.stringify(i)}${getSchemaNonTypes(t)}.${this.getSchemaPartDescription(t)}`}case"minLength":{const{params:r,parentSchema:t}=e;const{limit:i}=r;if(i===1){return`${a} should be a non-empty string${getSchemaNonTypes(t)}.${this.getSchemaPartDescription(t)}`}const n=i-1;return`${a} should be longer than ${n} character${n>1?"s":""}${getSchemaNonTypes(t)}.${this.getSchemaPartDescription(t)}`}case"minItems":{const{params:r,parentSchema:t}=e;const{limit:i}=r;if(i===1){return`${a} should be a non-empty array${getSchemaNonTypes(t)}.${this.getSchemaPartDescription(t)}`}return`${a} should not have fewer than ${i} items${getSchemaNonTypes(t)}.${this.getSchemaPartDescription(t)}`}case"minProperties":{const{params:r,parentSchema:t}=e;const{limit:i}=r;if(i===1){return`${a} should be a non-empty object${getSchemaNonTypes(t)}.${this.getSchemaPartDescription(t)}`}return`${a} should not have fewer than ${i} properties${getSchemaNonTypes(t)}.${this.getSchemaPartDescription(t)}`}case"maxLength":{const{params:r,parentSchema:t}=e;const{limit:i}=r;const n=i+1;return`${a} should be shorter than ${n} character${n>1?"s":""}${getSchemaNonTypes(t)}.${this.getSchemaPartDescription(t)}`}case"maxItems":{const{params:r,parentSchema:t}=e;const{limit:i}=r;return`${a} should not have more than ${i} items${getSchemaNonTypes(t)}.${this.getSchemaPartDescription(t)}`}case"maxProperties":{const{params:r,parentSchema:t}=e;const{limit:i}=r;return`${a} should not have more than ${i} properties${getSchemaNonTypes(t)}.${this.getSchemaPartDescription(t)}`}case"uniqueItems":{const{params:r,parentSchema:t}=e;const{i:i}=r;return`${a} should not contain the item '${e.data[i]}' twice${getSchemaNonTypes(t)}.${this.getSchemaPartDescription(t)}`}case"additionalItems":{const{params:r,parentSchema:t}=e;const{limit:i}=r;return`${a} should not have more than ${i} items${getSchemaNonTypes(t)}. These items are valid:\n${this.getSchemaPartText(t)}`}case"contains":{const{parentSchema:r}=e;return`${a} should contains at least one ${this.getSchemaPartText(r,["contains"])} item${getSchemaNonTypes(r)}.`}case"required":{const{parentSchema:r,params:t}=e;const i=t.missingProperty.replace(/^\./,"");const n=r&&Boolean(r.properties&&r.properties[i]);return`${a} misses the property '${i}'${getSchemaNonTypes(r)}.${n?` Should be:\n${this.getSchemaPartText(r,["properties",i])}`:this.getSchemaPartDescription(r)}`}case"additionalProperties":{const{params:r,parentSchema:t}=e;const{additionalProperty:i}=r;return`${a} has an unknown property '${i}'${getSchemaNonTypes(t)}. These properties are valid:\n${this.getSchemaPartText(t)}`}case"dependencies":{const{params:r,parentSchema:t}=e;const{property:i,deps:n}=r;const s=n.split(",").map((e=>`'${e.trim()}'`)).join(", ");return`${a} should have properties ${s} when property '${i}' is present${getSchemaNonTypes(t)}.${this.getSchemaPartDescription(t)}`}case"propertyNames":{const{params:r,parentSchema:t,schema:i}=e;const{propertyName:n}=r;return`${a} property name '${n}' is invalid${getSchemaNonTypes(t)}. Property names should be match format ${JSON.stringify(i.format)}.${this.getSchemaPartDescription(t)}`}case"enum":{const{parentSchema:r}=e;if(r&&r.enum&&r.enum.length===1){return`${a} should be ${this.getSchemaPartText(r,false,true)}`}return`${a} should be one of these:\n${this.getSchemaPartText(r)}`}case"const":{const{parentSchema:r}=e;return`${a} should be equal to constant ${this.getSchemaPartText(r,false,true)}`}case"not":{const r=likeObject(e.parentSchema)?`\n${this.getSchemaPartText(e.parentSchema)}`:"";const t=this.getSchemaPartText(e.schema,false,false,false);if(canApplyNot(e.schema)){return`${a} should be any ${t}${r}.`}const{schema:i,parentSchema:n}=e;return`${a} should not be ${this.getSchemaPartText(i,false,true)}${n&&likeObject(n)?`\n${this.getSchemaPartText(n)}`:""}`}case"oneOf":case"anyOf":{const{parentSchema:r,children:t}=e;if(t&&t.length>0){if(e.schema.length===1){const e=t[t.length-1];const a=t.slice(0,t.length-1);return this.formatValidationError(Object.assign({},e,{children:a,parentSchema:Object.assign({},r,e.parentSchema)}))}let i=filterChildren(t);if(i.length===1){return this.formatValidationError(i[0])}i=groupChildrenByFirstChild(i);return`${a} should be one of these:\n${this.getSchemaPartText(r)}\nDetails:\n${i.map((e=>` * ${indent(this.formatValidationError(e)," ")}`)).join("\n")}`}return`${a} should be one of these:\n${this.getSchemaPartText(r)}`}case"if":{const{params:r,parentSchema:t}=e;const{failingKeyword:i}=r;return`${a} should match "${i}" schema:\n${this.getSchemaPartText(t,[i])}`}case"absolutePath":{const{message:r,parentSchema:t}=e;return`${a}: ${r}${this.getSchemaPartDescription(t)}`}default:{const{message:r,parentSchema:t}=e;const i=JSON.stringify(e,null,2);return`${a} ${r} (${i}).\n${this.getSchemaPartText(t,false)}`}}}formatValidationErrors(e){return e.map((e=>{let r=this.formatValidationError(e);if(this.postFormatter){r=this.postFormatter(r,e)}return` - ${indent(r," ")}`})).join("\n")}}var s=ValidationError;r.default=s},8399:function(e,r,t){"use strict";const{validate:a,ValidationError:i}=t(8412);e.exports={validate:a,ValidationError:i}},192:function(e,r){"use strict";Object.defineProperty(r,"__esModule",{value:true});r.default=void 0;function errorMessage(e,r,t){return{dataPath:undefined,schemaPath:undefined,keyword:"absolutePath",params:{absolutePath:t},message:e,parentSchema:r}}function getErrorFor(e,r,t){const a=e?`The provided value ${JSON.stringify(t)} is not an absolute path!`:`A relative path is expected. However, the provided value ${JSON.stringify(t)} is an absolute path!`;return errorMessage(a,r,t)}function addAbsolutePathKeyword(e){e.addKeyword("absolutePath",{errors:true,type:"string",compile(e,r){const callback=t=>{let a=true;const i=t.includes("!");if(i){callback.errors=[errorMessage(`The provided value ${JSON.stringify(t)} contains exclamation mark (!) which is not allowed because it's reserved for loader syntax.`,r,t)];a=false}const n=e===/^(?:[A-Za-z]:(\\|\/)|\\\\|\/)/.test(t);if(!n){callback.errors=[getErrorFor(e,r,t)];a=false}return a};callback.errors=[];return callback}});return e}var t=addAbsolutePathKeyword;r.default=t},1857:function(e){"use strict";class Range{static getOperator(e,r){if(e==="left"){return r?">":">="}return r?"<":"<="}static formatRight(e,r,t){if(r===false){return Range.formatLeft(e,!r,!t)}return`should be ${Range.getOperator("right",t)} ${e}`}static formatLeft(e,r,t){if(r===false){return Range.formatRight(e,!r,!t)}return`should be ${Range.getOperator("left",t)} ${e}`}static formatRange(e,r,t,a,i){let n="should be";n+=` ${Range.getOperator(i?"left":"right",i?t:!t)} ${e} `;n+=i?"and":"or";n+=` ${Range.getOperator(i?"right":"left",i?a:!a)} ${r}`;return n}static getRangeValue(e,r){let t=r?Infinity:-Infinity;let a=-1;const i=r?([e])=>e<=t:([e])=>e>=t;for(let r=0;r<e.length;r++){if(i(e[r])){[t]=e[r];a=r}}if(a>-1){return e[a]}return[Infinity,true]}constructor(){this._left=[];this._right=[]}left(e,r=false){this._left.push([e,r])}right(e,r=false){this._right.push([e,r])}format(e=true){const[r,t]=Range.getRangeValue(this._left,e);const[a,i]=Range.getRangeValue(this._right,!e);if(!Number.isFinite(r)&&!Number.isFinite(a)){return""}const n=t?r+1:r;const s=i?a-1:a;if(n===s){return`should be ${e?"":"!"}= ${n}`}if(Number.isFinite(r)&&!Number.isFinite(a)){return Range.formatLeft(r,e,t)}if(!Number.isFinite(r)&&Number.isFinite(a)){return Range.formatRight(a,e,i)}return Range.formatRange(r,a,t,i,e)}}e.exports=Range},373:function(e,r,t){"use strict";const a=t(1857);e.exports.stringHints=function stringHints(e,r){const t=[];let a="string";const i={...e};if(!r){const e=i.minLength;const r=i.formatMinimum;const t=i.formatExclusiveMaximum;i.minLength=i.maxLength;i.maxLength=e;i.formatMinimum=i.formatMaximum;i.formatMaximum=r;i.formatExclusiveMaximum=!i.formatExclusiveMinimum;i.formatExclusiveMinimum=!t}if(typeof i.minLength==="number"){if(i.minLength===1){a="non-empty string"}else{const e=Math.max(i.minLength-1,0);t.push(`should be longer than ${e} character${e>1?"s":""}`)}}if(typeof i.maxLength==="number"){if(i.maxLength===0){a="empty string"}else{const e=i.maxLength+1;t.push(`should be shorter than ${e} character${e>1?"s":""}`)}}if(i.pattern){t.push(`should${r?"":" not"} match pattern ${JSON.stringify(i.pattern)}`)}if(i.format){t.push(`should${r?"":" not"} match format ${JSON.stringify(i.format)}`)}if(i.formatMinimum){t.push(`should be ${i.formatExclusiveMinimum?">":">="} ${JSON.stringify(i.formatMinimum)}`)}if(i.formatMaximum){t.push(`should be ${i.formatExclusiveMaximum?"<":"<="} ${JSON.stringify(i.formatMaximum)}`)}return[a].concat(t)};e.exports.numberHints=function numberHints(e,r){const t=[e.type==="integer"?"integer":"number"];const i=new a;if(typeof e.minimum==="number"){i.left(e.minimum)}if(typeof e.exclusiveMinimum==="number"){i.left(e.exclusiveMinimum,true)}if(typeof e.maximum==="number"){i.right(e.maximum)}if(typeof e.exclusiveMaximum==="number"){i.right(e.exclusiveMaximum,true)}const n=i.format(r);if(n){t.push(n)}if(typeof e.multipleOf==="number"){t.push(`should${r?"":" not"} be multiple of ${e.multipleOf}`)}return t}},8412:function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:true});r.validate=validate;Object.defineProperty(r,"ValidationError",{enumerable:true,get:function(){return i.default}});var a=_interopRequireDefault(t(192));var i=_interopRequireDefault(t(3104));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const n=t(9525);const s=t(44);const o=new n({allErrors:true,verbose:true,$data:true});s(o,["instanceof","formatMinimum","formatMaximum","patternRequired"]);(0,a.default)(o);function validate(e,r,t){let a=[];if(Array.isArray(r)){a=Array.from(r,(r=>validateObject(e,r)));a.forEach(((e,r)=>{const applyPrefix=e=>{e.dataPath=`[${r}]${e.dataPath}`;if(e.children){e.children.forEach(applyPrefix)}};e.forEach(applyPrefix)}));a=a.reduce(((e,r)=>{e.push(...r);return e}),[])}else{a=validateObject(e,r)}if(a.length>0){throw new i.default(a,e,t)}}function validateObject(e,r){const t=o.compile(e);const a=t(r);if(a)return[];return t.errors?filterErrors(t.errors):[]}function filterErrors(e){let r=[];for(const t of e){const{dataPath:e}=t;let a=[];r=r.filter((r=>{if(r.dataPath.includes(e)){if(r.children){a=a.concat(r.children.slice(0))}r.children=undefined;a.push(r);return false}return true}));if(a.length){t.children=a}r.push(t)}return r}},6665:function(e,r,t){"use strict";var a=t(98);var i=16;var n=generateUID();var s=new RegExp('(\\\\)?"@__(F|R|D|M|S|A|U|I|B|L)-'+n+'-(\\d+)__@"',"g");var o=/\{\s*\[native code\]\s*\}/g;var u=/function.*?\(/;var l=/.*?=>.*?/;var c=/[<>\/\u2028\u2029]/g;var f=["*","async"];var p={"<":"\\u003C",">":"\\u003E","/":"\\u002F","\u2028":"\\u2028","\u2029":"\\u2029"};function escapeUnsafeChars(e){return p[e]}function generateUID(){var e=a(i);var r="";for(var t=0;t<i;++t){r+=e[t].toString(16)}return r}function deleteFunctions(e){var r=[];for(var t in e){if(typeof e[t]==="function"){r.push(t)}}for(var a=0;a<r.length;a++){delete e[r[a]]}}e.exports=function serialize(e,r){r||(r={});if(typeof r==="number"||typeof r==="string"){r={space:r}}var t=[];var a=[];var i=[];var p=[];var d=[];var h=[];var m=[];var g=[];var y=[];var S=[];function replacer(e,s){if(r.ignoreFunction){deleteFunctions(s)}if(!s&&s!==undefined){return s}var o=this[e];var u=typeof o;if(u==="object"){if(o instanceof RegExp){return"@__R-"+n+"-"+(a.push(o)-1)+"__@"}if(o instanceof Date){return"@__D-"+n+"-"+(i.push(o)-1)+"__@"}if(o instanceof Map){return"@__M-"+n+"-"+(p.push(o)-1)+"__@"}if(o instanceof Set){return"@__S-"+n+"-"+(d.push(o)-1)+"__@"}if(o instanceof Array){var l=o.filter((function(){return true})).length!==o.length;if(l){return"@__A-"+n+"-"+(h.push(o)-1)+"__@"}}if(o instanceof URL){return"@__L-"+n+"-"+(S.push(o)-1)+"__@"}}if(u==="function"){return"@__F-"+n+"-"+(t.push(o)-1)+"__@"}if(u==="undefined"){return"@__U-"+n+"-"+(m.push(o)-1)+"__@"}if(u==="number"&&!isNaN(o)&&!isFinite(o)){return"@__I-"+n+"-"+(g.push(o)-1)+"__@"}if(u==="bigint"){return"@__B-"+n+"-"+(y.push(o)-1)+"__@"}return s}function serializeFunc(e){var r=e.toString();if(o.test(r)){throw new TypeError("Serializing native function: "+e.name)}if(u.test(r)){return r}if(l.test(r)){return r}var t=r.indexOf("(");var a=r.substr(0,t).trim().split(" ").filter((function(e){return e.length>0}));var i=a.filter((function(e){return f.indexOf(e)===-1}));if(i.length>0){return(a.indexOf("async")>-1?"async ":"")+"function"+(a.join("").indexOf("*")>-1?"*":"")+r.substr(t)}return r}if(r.ignoreFunction&&typeof e==="function"){e=undefined}if(e===undefined){return String(e)}var P;if(r.isJSON&&!r.space){P=JSON.stringify(e)}else{P=JSON.stringify(e,r.isJSON?null:replacer,r.space)}if(typeof P!=="string"){return String(P)}if(r.unsafe!==true){P=P.replace(c,escapeUnsafeChars)}if(t.length===0&&a.length===0&&i.length===0&&p.length===0&&d.length===0&&h.length===0&&m.length===0&&g.length===0&&y.length===0&&S.length===0){return P}return P.replace(s,(function(e,n,s,o){if(n){return e}if(s==="D"){return'new Date("'+i[o].toISOString()+'")'}if(s==="R"){return"new RegExp("+serialize(a[o].source)+', "'+a[o].flags+'")'}if(s==="M"){return"new Map("+serialize(Array.from(p[o].entries()),r)+")"}if(s==="S"){return"new Set("+serialize(Array.from(d[o].values()),r)+")"}if(s==="A"){return"Array.prototype.slice.call("+serialize(Object.assign({length:h[o].length},h[o]),r)+")"}if(s==="U"){return"undefined"}if(s==="I"){return g[o]}if(s==="B"){return'BigInt("'+y[o]+'")'}if(s==="L"){return'new URL("'+S[o].toString()+'")'}var u=t[o];return serializeFunc(u)}))}},5540:function(e,r,t){var a=t(9026);var i=Object.prototype.hasOwnProperty;var n=typeof Map!=="undefined";function ArraySet(){this._array=[];this._set=n?new Map:Object.create(null)}ArraySet.fromArray=function ArraySet_fromArray(e,r){var t=new ArraySet;for(var a=0,i=e.length;a<i;a++){t.add(e[a],r)}return t};ArraySet.prototype.size=function ArraySet_size(){return n?this._set.size:Object.getOwnPropertyNames(this._set).length};ArraySet.prototype.add=function ArraySet_add(e,r){var t=n?e:a.toSetString(e);var s=n?this.has(e):i.call(this._set,t);var o=this._array.length;if(!s||r){this._array.push(e)}if(!s){if(n){this._set.set(e,o)}else{this._set[t]=o}}};ArraySet.prototype.has=function ArraySet_has(e){if(n){return this._set.has(e)}else{var r=a.toSetString(e);return i.call(this._set,r)}};ArraySet.prototype.indexOf=function ArraySet_indexOf(e){if(n){var r=this._set.get(e);if(r>=0){return r}}else{var t=a.toSetString(e);if(i.call(this._set,t)){return this._set[t]}}throw new Error('"'+e+'" is not in the set.')};ArraySet.prototype.at=function ArraySet_at(e){if(e>=0&&e<this._array.length){return this._array[e]}throw new Error("No element indexed by "+e)};ArraySet.prototype.toArray=function ArraySet_toArray(){return this._array.slice()};r.I=ArraySet},6e3:function(e,r,t){var a=t(4043);var i=5;var n=1<<i;var s=n-1;var o=n;function toVLQSigned(e){return e<0?(-e<<1)+1:(e<<1)+0}function fromVLQSigned(e){var r=(e&1)===1;var t=e>>1;return r?-t:t}r.encode=function base64VLQ_encode(e){var r="";var t;var n=toVLQSigned(e);do{t=n&s;n>>>=i;if(n>0){t|=o}r+=a.encode(t)}while(n>0);return r};r.decode=function base64VLQ_decode(e,r,t){var n=e.length;var u=0;var l=0;var c,f;do{if(r>=n){throw new Error("Expected more digits in base 64 VLQ value.")}f=a.decode(e.charCodeAt(r++));if(f===-1){throw new Error("Invalid base64 digit: "+e.charAt(r-1))}c=!!(f&o);f&=s;u=u+(f<<l);l+=i}while(c);t.value=fromVLQSigned(u);t.rest=r}},4043:function(e,r){var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");r.encode=function(e){if(0<=e&&e<t.length){return t[e]}throw new TypeError("Must be between 0 and 63: "+e)};r.decode=function(e){var r=65;var t=90;var a=97;var i=122;var n=48;var s=57;var o=43;var u=47;var l=26;var c=52;if(r<=e&&e<=t){return e-r}if(a<=e&&e<=i){return e-a+l}if(n<=e&&e<=s){return e-n+c}if(e==o){return 62}if(e==u){return 63}return-1}},4779:function(e,r){r.GREATEST_LOWER_BOUND=1;r.LEAST_UPPER_BOUND=2;function recursiveSearch(e,t,a,i,n,s){var o=Math.floor((t-e)/2)+e;var u=n(a,i[o],true);if(u===0){return o}else if(u>0){if(t-o>1){return recursiveSearch(o,t,a,i,n,s)}if(s==r.LEAST_UPPER_BOUND){return t<i.length?t:-1}else{return o}}else{if(o-e>1){return recursiveSearch(e,o,a,i,n,s)}if(s==r.LEAST_UPPER_BOUND){return o}else{return e<0?-1:e}}}r.search=function search(e,t,a,i){if(t.length===0){return-1}var n=recursiveSearch(-1,t.length,e,t,a,i||r.GREATEST_LOWER_BOUND);if(n<0){return-1}while(n-1>=0){if(a(t[n],t[n-1],true)!==0){break}--n}return n}},1040:function(e,r,t){var a=t(9026);function generatedPositionAfter(e,r){var t=e.generatedLine;var i=r.generatedLine;var n=e.generatedColumn;var s=r.generatedColumn;return i>t||i==t&&s>=n||a.compareByGeneratedPositionsInflated(e,r)<=0}function MappingList(){this._array=[];this._sorted=true;this._last={generatedLine:-1,generatedColumn:0}}MappingList.prototype.unsortedForEach=function MappingList_forEach(e,r){this._array.forEach(e,r)};MappingList.prototype.add=function MappingList_add(e){if(generatedPositionAfter(this._last,e)){this._last=e;this._array.push(e)}else{this._sorted=false;this._array.push(e)}};MappingList.prototype.toArray=function MappingList_toArray(){if(!this._sorted){this._array.sort(a.compareByGeneratedPositionsInflated);this._sorted=true}return this._array};r.H=MappingList},2853:function(e,r){function swap(e,r,t){var a=e[r];e[r]=e[t];e[t]=a}function randomIntInRange(e,r){return Math.round(e+Math.random()*(r-e))}function doQuickSort(e,r,t,a){if(t<a){var i=randomIntInRange(t,a);var n=t-1;swap(e,i,a);var s=e[a];for(var o=t;o<a;o++){if(r(e[o],s)<=0){n+=1;swap(e,n,o)}}swap(e,n+1,o);var u=n+1;doQuickSort(e,r,t,u-1);doQuickSort(e,r,u+1,a)}}r.U=function(e,r){doQuickSort(e,r,0,e.length-1)}},139:function(e,r,t){var a;var i=t(9026);var n=t(4779);var s=t(5540).I;var o=t(6e3);var u=t(2853).U;function SourceMapConsumer(e,r){var t=e;if(typeof e==="string"){t=i.parseSourceMapInput(e)}return t.sections!=null?new IndexedSourceMapConsumer(t,r):new BasicSourceMapConsumer(t,r)}SourceMapConsumer.fromSourceMap=function(e,r){return BasicSourceMapConsumer.fromSourceMap(e,r)};SourceMapConsumer.prototype._version=3;SourceMapConsumer.prototype.__generatedMappings=null;Object.defineProperty(SourceMapConsumer.prototype,"_generatedMappings",{configurable:true,enumerable:true,get:function(){if(!this.__generatedMappings){this._parseMappings(this._mappings,this.sourceRoot)}return this.__generatedMappings}});SourceMapConsumer.prototype.__originalMappings=null;Object.defineProperty(SourceMapConsumer.prototype,"_originalMappings",{configurable:true,enumerable:true,get:function(){if(!this.__originalMappings){this._parseMappings(this._mappings,this.sourceRoot)}return this.__originalMappings}});SourceMapConsumer.prototype._charIsMappingSeparator=function SourceMapConsumer_charIsMappingSeparator(e,r){var t=e.charAt(r);return t===";"||t===","};SourceMapConsumer.prototype._parseMappings=function SourceMapConsumer_parseMappings(e,r){throw new Error("Subclasses must implement _parseMappings")};SourceMapConsumer.GENERATED_ORDER=1;SourceMapConsumer.ORIGINAL_ORDER=2;SourceMapConsumer.GREATEST_LOWER_BOUND=1;SourceMapConsumer.LEAST_UPPER_BOUND=2;SourceMapConsumer.prototype.eachMapping=function SourceMapConsumer_eachMapping(e,r,t){var a=r||null;var n=t||SourceMapConsumer.GENERATED_ORDER;var s;switch(n){case SourceMapConsumer.GENERATED_ORDER:s=this._generatedMappings;break;case SourceMapConsumer.ORIGINAL_ORDER:s=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var o=this.sourceRoot;s.map((function(e){var r=e.source===null?null:this._sources.at(e.source);r=i.computeSourceURL(o,r,this._sourceMapURL);return{source:r,generatedLine:e.generatedLine,generatedColumn:e.generatedColumn,originalLine:e.originalLine,originalColumn:e.originalColumn,name:e.name===null?null:this._names.at(e.name)}}),this).forEach(e,a)};SourceMapConsumer.prototype.allGeneratedPositionsFor=function SourceMapConsumer_allGeneratedPositionsFor(e){var r=i.getArg(e,"line");var t={source:i.getArg(e,"source"),originalLine:r,originalColumn:i.getArg(e,"column",0)};t.source=this._findSourceIndex(t.source);if(t.source<0){return[]}var a=[];var s=this._findMapping(t,this._originalMappings,"originalLine","originalColumn",i.compareByOriginalPositions,n.LEAST_UPPER_BOUND);if(s>=0){var o=this._originalMappings[s];if(e.column===undefined){var u=o.originalLine;while(o&&o.originalLine===u){a.push({line:i.getArg(o,"generatedLine",null),column:i.getArg(o,"generatedColumn",null),lastColumn:i.getArg(o,"lastGeneratedColumn",null)});o=this._originalMappings[++s]}}else{var l=o.originalColumn;while(o&&o.originalLine===r&&o.originalColumn==l){a.push({line:i.getArg(o,"generatedLine",null),column:i.getArg(o,"generatedColumn",null),lastColumn:i.getArg(o,"lastGeneratedColumn",null)});o=this._originalMappings[++s]}}}return a};r.SourceMapConsumer=SourceMapConsumer;function BasicSourceMapConsumer(e,r){var t=e;if(typeof e==="string"){t=i.parseSourceMapInput(e)}var a=i.getArg(t,"version");var n=i.getArg(t,"sources");var o=i.getArg(t,"names",[]);var u=i.getArg(t,"sourceRoot",null);var l=i.getArg(t,"sourcesContent",null);var c=i.getArg(t,"mappings");var f=i.getArg(t,"file",null);if(a!=this._version){throw new Error("Unsupported version: "+a)}if(u){u=i.normalize(u)}n=n.map(String).map(i.normalize).map((function(e){return u&&i.isAbsolute(u)&&i.isAbsolute(e)?i.relative(u,e):e}));this._names=s.fromArray(o.map(String),true);this._sources=s.fromArray(n,true);this._absoluteSources=this._sources.toArray().map((function(e){return i.computeSourceURL(u,e,r)}));this.sourceRoot=u;this.sourcesContent=l;this._mappings=c;this._sourceMapURL=r;this.file=f}BasicSourceMapConsumer.prototype=Object.create(SourceMapConsumer.prototype);BasicSourceMapConsumer.prototype.consumer=SourceMapConsumer;BasicSourceMapConsumer.prototype._findSourceIndex=function(e){var r=e;if(this.sourceRoot!=null){r=i.relative(this.sourceRoot,r)}if(this._sources.has(r)){return this._sources.indexOf(r)}var t;for(t=0;t<this._absoluteSources.length;++t){if(this._absoluteSources[t]==e){return t}}return-1};BasicSourceMapConsumer.fromSourceMap=function SourceMapConsumer_fromSourceMap(e,r){var t=Object.create(BasicSourceMapConsumer.prototype);var a=t._names=s.fromArray(e._names.toArray(),true);var n=t._sources=s.fromArray(e._sources.toArray(),true);t.sourceRoot=e._sourceRoot;t.sourcesContent=e._generateSourcesContent(t._sources.toArray(),t.sourceRoot);t.file=e._file;t._sourceMapURL=r;t._absoluteSources=t._sources.toArray().map((function(e){return i.computeSourceURL(t.sourceRoot,e,r)}));var o=e._mappings.toArray().slice();var l=t.__generatedMappings=[];var c=t.__originalMappings=[];for(var f=0,p=o.length;f<p;f++){var d=o[f];var h=new Mapping;h.generatedLine=d.generatedLine;h.generatedColumn=d.generatedColumn;if(d.source){h.source=n.indexOf(d.source);h.originalLine=d.originalLine;h.originalColumn=d.originalColumn;if(d.name){h.name=a.indexOf(d.name)}c.push(h)}l.push(h)}u(t.__originalMappings,i.compareByOriginalPositions);return t};BasicSourceMapConsumer.prototype._version=3;Object.defineProperty(BasicSourceMapConsumer.prototype,"sources",{get:function(){return this._absoluteSources.slice()}});function Mapping(){this.generatedLine=0;this.generatedColumn=0;this.source=null;this.originalLine=null;this.originalColumn=null;this.name=null}BasicSourceMapConsumer.prototype._parseMappings=function SourceMapConsumer_parseMappings(e,r){var t=1;var a=0;var n=0;var s=0;var l=0;var c=0;var f=e.length;var p=0;var d={};var h={};var m=[];var g=[];var y,S,P,b,_;while(p<f){if(e.charAt(p)===";"){t++;p++;a=0}else if(e.charAt(p)===","){p++}else{y=new Mapping;y.generatedLine=t;for(b=p;b<f;b++){if(this._charIsMappingSeparator(e,b)){break}}S=e.slice(p,b);P=d[S];if(P){p+=S.length}else{P=[];while(p<b){o.decode(e,p,h);_=h.value;p=h.rest;P.push(_)}if(P.length===2){throw new Error("Found a source, but no line and column")}if(P.length===3){throw new Error("Found a source and line, but no column")}d[S]=P}y.generatedColumn=a+P[0];a=y.generatedColumn;if(P.length>1){y.source=l+P[1];l+=P[1];y.originalLine=n+P[2];n=y.originalLine;y.originalLine+=1;y.originalColumn=s+P[3];s=y.originalColumn;if(P.length>4){y.name=c+P[4];c+=P[4]}}g.push(y);if(typeof y.originalLine==="number"){m.push(y)}}}u(g,i.compareByGeneratedPositionsDeflated);this.__generatedMappings=g;u(m,i.compareByOriginalPositions);this.__originalMappings=m};BasicSourceMapConsumer.prototype._findMapping=function SourceMapConsumer_findMapping(e,r,t,a,i,s){if(e[t]<=0){throw new TypeError("Line must be greater than or equal to 1, got "+e[t])}if(e[a]<0){throw new TypeError("Column must be greater than or equal to 0, got "+e[a])}return n.search(e,r,i,s)};BasicSourceMapConsumer.prototype.computeColumnSpans=function SourceMapConsumer_computeColumnSpans(){for(var e=0;e<this._generatedMappings.length;++e){var r=this._generatedMappings[e];if(e+1<this._generatedMappings.length){var t=this._generatedMappings[e+1];if(r.generatedLine===t.generatedLine){r.lastGeneratedColumn=t.generatedColumn-1;continue}}r.lastGeneratedColumn=Infinity}};BasicSourceMapConsumer.prototype.originalPositionFor=function SourceMapConsumer_originalPositionFor(e){var r={generatedLine:i.getArg(e,"line"),generatedColumn:i.getArg(e,"column")};var t=this._findMapping(r,this._generatedMappings,"generatedLine","generatedColumn",i.compareByGeneratedPositionsDeflated,i.getArg(e,"bias",SourceMapConsumer.GREATEST_LOWER_BOUND));if(t>=0){var a=this._generatedMappings[t];if(a.generatedLine===r.generatedLine){var n=i.getArg(a,"source",null);if(n!==null){n=this._sources.at(n);n=i.computeSourceURL(this.sourceRoot,n,this._sourceMapURL)}var s=i.getArg(a,"name",null);if(s!==null){s=this._names.at(s)}return{source:n,line:i.getArg(a,"originalLine",null),column:i.getArg(a,"originalColumn",null),name:s}}}return{source:null,line:null,column:null,name:null}};BasicSourceMapConsumer.prototype.hasContentsOfAllSources=function BasicSourceMapConsumer_hasContentsOfAllSources(){if(!this.sourcesContent){return false}return this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some((function(e){return e==null}))};BasicSourceMapConsumer.prototype.sourceContentFor=function SourceMapConsumer_sourceContentFor(e,r){if(!this.sourcesContent){return null}var t=this._findSourceIndex(e);if(t>=0){return this.sourcesContent[t]}var a=e;if(this.sourceRoot!=null){a=i.relative(this.sourceRoot,a)}var n;if(this.sourceRoot!=null&&(n=i.urlParse(this.sourceRoot))){var s=a.replace(/^file:\/\//,"");if(n.scheme=="file"&&this._sources.has(s)){return this.sourcesContent[this._sources.indexOf(s)]}if((!n.path||n.path=="/")&&this._sources.has("/"+a)){return this.sourcesContent[this._sources.indexOf("/"+a)]}}if(r){return null}else{throw new Error('"'+a+'" is not in the SourceMap.')}};BasicSourceMapConsumer.prototype.generatedPositionFor=function SourceMapConsumer_generatedPositionFor(e){var r=i.getArg(e,"source");r=this._findSourceIndex(r);if(r<0){return{line:null,column:null,lastColumn:null}}var t={source:r,originalLine:i.getArg(e,"line"),originalColumn:i.getArg(e,"column")};var a=this._findMapping(t,this._originalMappings,"originalLine","originalColumn",i.compareByOriginalPositions,i.getArg(e,"bias",SourceMapConsumer.GREATEST_LOWER_BOUND));if(a>=0){var n=this._originalMappings[a];if(n.source===t.source){return{line:i.getArg(n,"generatedLine",null),column:i.getArg(n,"generatedColumn",null),lastColumn:i.getArg(n,"lastGeneratedColumn",null)}}}return{line:null,column:null,lastColumn:null}};a=BasicSourceMapConsumer;function IndexedSourceMapConsumer(e,r){var t=e;if(typeof e==="string"){t=i.parseSourceMapInput(e)}var a=i.getArg(t,"version");var n=i.getArg(t,"sections");if(a!=this._version){throw new Error("Unsupported version: "+a)}this._sources=new s;this._names=new s;var o={line:-1,column:0};this._sections=n.map((function(e){if(e.url){throw new Error("Support for url field in sections not implemented.")}var t=i.getArg(e,"offset");var a=i.getArg(t,"line");var n=i.getArg(t,"column");if(a<o.line||a===o.line&&n<o.column){throw new Error("Section offsets must be ordered and non-overlapping.")}o=t;return{generatedOffset:{generatedLine:a+1,generatedColumn:n+1},consumer:new SourceMapConsumer(i.getArg(e,"map"),r)}}))}IndexedSourceMapConsumer.prototype=Object.create(SourceMapConsumer.prototype);IndexedSourceMapConsumer.prototype.constructor=SourceMapConsumer;IndexedSourceMapConsumer.prototype._version=3;Object.defineProperty(IndexedSourceMapConsumer.prototype,"sources",{get:function(){var e=[];for(var r=0;r<this._sections.length;r++){for(var t=0;t<this._sections[r].consumer.sources.length;t++){e.push(this._sections[r].consumer.sources[t])}}return e}});IndexedSourceMapConsumer.prototype.originalPositionFor=function IndexedSourceMapConsumer_originalPositionFor(e){var r={generatedLine:i.getArg(e,"line"),generatedColumn:i.getArg(e,"column")};var t=n.search(r,this._sections,(function(e,r){var t=e.generatedLine-r.generatedOffset.generatedLine;if(t){return t}return e.generatedColumn-r.generatedOffset.generatedColumn}));var a=this._sections[t];if(!a){return{source:null,line:null,column:null,name:null}}return a.consumer.originalPositionFor({line:r.generatedLine-(a.generatedOffset.generatedLine-1),column:r.generatedColumn-(a.generatedOffset.generatedLine===r.generatedLine?a.generatedOffset.generatedColumn-1:0),bias:e.bias})};IndexedSourceMapConsumer.prototype.hasContentsOfAllSources=function IndexedSourceMapConsumer_hasContentsOfAllSources(){return this._sections.every((function(e){return e.consumer.hasContentsOfAllSources()}))};IndexedSourceMapConsumer.prototype.sourceContentFor=function IndexedSourceMapConsumer_sourceContentFor(e,r){for(var t=0;t<this._sections.length;t++){var a=this._sections[t];var i=a.consumer.sourceContentFor(e,true);if(i){return i}}if(r){return null}else{throw new Error('"'+e+'" is not in the SourceMap.')}};IndexedSourceMapConsumer.prototype.generatedPositionFor=function IndexedSourceMapConsumer_generatedPositionFor(e){for(var r=0;r<this._sections.length;r++){var t=this._sections[r];if(t.consumer._findSourceIndex(i.getArg(e,"source"))===-1){continue}var a=t.consumer.generatedPositionFor(e);if(a){var n={line:a.line+(t.generatedOffset.generatedLine-1),column:a.column+(t.generatedOffset.generatedLine===a.line?t.generatedOffset.generatedColumn-1:0)};return n}}return{line:null,column:null}};IndexedSourceMapConsumer.prototype._parseMappings=function IndexedSourceMapConsumer_parseMappings(e,r){this.__generatedMappings=[];this.__originalMappings=[];for(var t=0;t<this._sections.length;t++){var a=this._sections[t];var n=a.consumer._generatedMappings;for(var s=0;s<n.length;s++){var o=n[s];var l=a.consumer._sources.at(o.source);l=i.computeSourceURL(a.consumer.sourceRoot,l,this._sourceMapURL);this._sources.add(l);l=this._sources.indexOf(l);var c=null;if(o.name){c=a.consumer._names.at(o.name);this._names.add(c);c=this._names.indexOf(c)}var f={source:l,generatedLine:o.generatedLine+(a.generatedOffset.generatedLine-1),generatedColumn:o.generatedColumn+(a.generatedOffset.generatedLine===o.generatedLine?a.generatedOffset.generatedColumn-1:0),originalLine:o.originalLine,originalColumn:o.originalColumn,name:c};this.__generatedMappings.push(f);if(typeof f.originalLine==="number"){this.__originalMappings.push(f)}}}u(this.__generatedMappings,i.compareByGeneratedPositionsDeflated);u(this.__originalMappings,i.compareByOriginalPositions)};a=IndexedSourceMapConsumer},869:function(e,r,t){var a=t(6e3);var i=t(9026);var n=t(5540).I;var s=t(1040).H;function SourceMapGenerator(e){if(!e){e={}}this._file=i.getArg(e,"file",null);this._sourceRoot=i.getArg(e,"sourceRoot",null);this._skipValidation=i.getArg(e,"skipValidation",false);this._sources=new n;this._names=new n;this._mappings=new s;this._sourcesContents=null}SourceMapGenerator.prototype._version=3;SourceMapGenerator.fromSourceMap=function SourceMapGenerator_fromSourceMap(e){var r=e.sourceRoot;var t=new SourceMapGenerator({file:e.file,sourceRoot:r});e.eachMapping((function(e){var a={generated:{line:e.generatedLine,column:e.generatedColumn}};if(e.source!=null){a.source=e.source;if(r!=null){a.source=i.relative(r,a.source)}a.original={line:e.originalLine,column:e.originalColumn};if(e.name!=null){a.name=e.name}}t.addMapping(a)}));e.sources.forEach((function(a){var n=a;if(r!==null){n=i.relative(r,a)}if(!t._sources.has(n)){t._sources.add(n)}var s=e.sourceContentFor(a);if(s!=null){t.setSourceContent(a,s)}}));return t};SourceMapGenerator.prototype.addMapping=function SourceMapGenerator_addMapping(e){var r=i.getArg(e,"generated");var t=i.getArg(e,"original",null);var a=i.getArg(e,"source",null);var n=i.getArg(e,"name",null);if(!this._skipValidation){this._validateMapping(r,t,a,n)}if(a!=null){a=String(a);if(!this._sources.has(a)){this._sources.add(a)}}if(n!=null){n=String(n);if(!this._names.has(n)){this._names.add(n)}}this._mappings.add({generatedLine:r.line,generatedColumn:r.column,originalLine:t!=null&&t.line,originalColumn:t!=null&&t.column,source:a,name:n})};SourceMapGenerator.prototype.setSourceContent=function SourceMapGenerator_setSourceContent(e,r){var t=e;if(this._sourceRoot!=null){t=i.relative(this._sourceRoot,t)}if(r!=null){if(!this._sourcesContents){this._sourcesContents=Object.create(null)}this._sourcesContents[i.toSetString(t)]=r}else if(this._sourcesContents){delete this._sourcesContents[i.toSetString(t)];if(Object.keys(this._sourcesContents).length===0){this._sourcesContents=null}}};SourceMapGenerator.prototype.applySourceMap=function SourceMapGenerator_applySourceMap(e,r,t){var a=r;if(r==null){if(e.file==null){throw new Error("SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, "+'or the source map\'s "file" property. Both were omitted.')}a=e.file}var s=this._sourceRoot;if(s!=null){a=i.relative(s,a)}var o=new n;var u=new n;this._mappings.unsortedForEach((function(r){if(r.source===a&&r.originalLine!=null){var n=e.originalPositionFor({line:r.originalLine,column:r.originalColumn});if(n.source!=null){r.source=n.source;if(t!=null){r.source=i.join(t,r.source)}if(s!=null){r.source=i.relative(s,r.source)}r.originalLine=n.line;r.originalColumn=n.column;if(n.name!=null){r.name=n.name}}}var l=r.source;if(l!=null&&!o.has(l)){o.add(l)}var c=r.name;if(c!=null&&!u.has(c)){u.add(c)}}),this);this._sources=o;this._names=u;e.sources.forEach((function(r){var a=e.sourceContentFor(r);if(a!=null){if(t!=null){r=i.join(t,r)}if(s!=null){r=i.relative(s,r)}this.setSourceContent(r,a)}}),this)};SourceMapGenerator.prototype._validateMapping=function SourceMapGenerator_validateMapping(e,r,t,a){if(r&&typeof r.line!=="number"&&typeof r.column!=="number"){throw new Error("original.line and original.column are not numbers -- you probably meant to omit "+"the original mapping entirely and only map the generated position. If so, pass "+"null for the original mapping instead of an object with empty or null values.")}if(e&&"line"in e&&"column"in e&&e.line>0&&e.column>=0&&!r&&!t&&!a){return}else if(e&&"line"in e&&"column"in e&&r&&"line"in r&&"column"in r&&e.line>0&&e.column>=0&&r.line>0&&r.column>=0&&t){return}else{throw new Error("Invalid mapping: "+JSON.stringify({generated:e,source:t,original:r,name:a}))}};SourceMapGenerator.prototype._serializeMappings=function SourceMapGenerator_serializeMappings(){var e=0;var r=1;var t=0;var n=0;var s=0;var o=0;var u="";var l;var c;var f;var p;var d=this._mappings.toArray();for(var h=0,m=d.length;h<m;h++){c=d[h];l="";if(c.generatedLine!==r){e=0;while(c.generatedLine!==r){l+=";";r++}}else{if(h>0){if(!i.compareByGeneratedPositionsInflated(c,d[h-1])){continue}l+=","}}l+=a.encode(c.generatedColumn-e);e=c.generatedColumn;if(c.source!=null){p=this._sources.indexOf(c.source);l+=a.encode(p-o);o=p;l+=a.encode(c.originalLine-1-n);n=c.originalLine-1;l+=a.encode(c.originalColumn-t);t=c.originalColumn;if(c.name!=null){f=this._names.indexOf(c.name);l+=a.encode(f-s);s=f}}u+=l}return u};SourceMapGenerator.prototype._generateSourcesContent=function SourceMapGenerator_generateSourcesContent(e,r){return e.map((function(e){if(!this._sourcesContents){return null}if(r!=null){e=i.relative(r,e)}var t=i.toSetString(e);return Object.prototype.hasOwnProperty.call(this._sourcesContents,t)?this._sourcesContents[t]:null}),this)};SourceMapGenerator.prototype.toJSON=function SourceMapGenerator_toJSON(){var e={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};if(this._file!=null){e.file=this._file}if(this._sourceRoot!=null){e.sourceRoot=this._sourceRoot}if(this._sourcesContents){e.sourcesContent=this._generateSourcesContent(e.sources,e.sourceRoot)}return e};SourceMapGenerator.prototype.toString=function SourceMapGenerator_toString(){return JSON.stringify(this.toJSON())};r.SourceMapGenerator=SourceMapGenerator},9610:function(e,r,t){var a=t(869).SourceMapGenerator;var i=t(9026);var n=/(\r?\n)/;var s=10;var o="$$$isSourceNode$$$";function SourceNode(e,r,t,a,i){this.children=[];this.sourceContents={};this.line=e==null?null:e;this.column=r==null?null:r;this.source=t==null?null:t;this.name=i==null?null:i;this[o]=true;if(a!=null)this.add(a)}SourceNode.fromStringWithSourceMap=function SourceNode_fromStringWithSourceMap(e,r,t){var a=new SourceNode;var s=e.split(n);var o=0;var shiftNextLine=function(){var e=getNextLine();var r=getNextLine()||"";return e+r;function getNextLine(){return o<s.length?s[o++]:undefined}};var u=1,l=0;var c=null;r.eachMapping((function(e){if(c!==null){if(u<e.generatedLine){addMappingWithCode(c,shiftNextLine());u++;l=0}else{var r=s[o]||"";var t=r.substr(0,e.generatedColumn-l);s[o]=r.substr(e.generatedColumn-l);l=e.generatedColumn;addMappingWithCode(c,t);c=e;return}}while(u<e.generatedLine){a.add(shiftNextLine());u++}if(l<e.generatedColumn){var r=s[o]||"";a.add(r.substr(0,e.generatedColumn));s[o]=r.substr(e.generatedColumn);l=e.generatedColumn}c=e}),this);if(o<s.length){if(c){addMappingWithCode(c,shiftNextLine())}a.add(s.splice(o).join(""))}r.sources.forEach((function(e){var n=r.sourceContentFor(e);if(n!=null){if(t!=null){e=i.join(t,e)}a.setSourceContent(e,n)}}));return a;function addMappingWithCode(e,r){if(e===null||e.source===undefined){a.add(r)}else{var n=t?i.join(t,e.source):e.source;a.add(new SourceNode(e.originalLine,e.originalColumn,n,r,e.name))}}};SourceNode.prototype.add=function SourceNode_add(e){if(Array.isArray(e)){e.forEach((function(e){this.add(e)}),this)}else if(e[o]||typeof e==="string"){if(e){this.children.push(e)}}else{throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e)}return this};SourceNode.prototype.prepend=function SourceNode_prepend(e){if(Array.isArray(e)){for(var r=e.length-1;r>=0;r--){this.prepend(e[r])}}else if(e[o]||typeof e==="string"){this.children.unshift(e)}else{throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e)}return this};SourceNode.prototype.walk=function SourceNode_walk(e){var r;for(var t=0,a=this.children.length;t<a;t++){r=this.children[t];if(r[o]){r.walk(e)}else{if(r!==""){e(r,{source:this.source,line:this.line,column:this.column,name:this.name})}}}};SourceNode.prototype.join=function SourceNode_join(e){var r;var t;var a=this.children.length;if(a>0){r=[];for(t=0;t<a-1;t++){r.push(this.children[t]);r.push(e)}r.push(this.children[t]);this.children=r}return this};SourceNode.prototype.replaceRight=function SourceNode_replaceRight(e,r){var t=this.children[this.children.length-1];if(t[o]){t.replaceRight(e,r)}else if(typeof t==="string"){this.children[this.children.length-1]=t.replace(e,r)}else{this.children.push("".replace(e,r))}return this};SourceNode.prototype.setSourceContent=function SourceNode_setSourceContent(e,r){this.sourceContents[i.toSetString(e)]=r};SourceNode.prototype.walkSourceContents=function SourceNode_walkSourceContents(e){for(var r=0,t=this.children.length;r<t;r++){if(this.children[r][o]){this.children[r].walkSourceContents(e)}}var a=Object.keys(this.sourceContents);for(var r=0,t=a.length;r<t;r++){e(i.fromSetString(a[r]),this.sourceContents[a[r]])}};SourceNode.prototype.toString=function SourceNode_toString(){var e="";this.walk((function(r){e+=r}));return e};SourceNode.prototype.toStringWithSourceMap=function SourceNode_toStringWithSourceMap(e){var r={code:"",line:1,column:0};var t=new a(e);var i=false;var n=null;var o=null;var u=null;var l=null;this.walk((function(e,a){r.code+=e;if(a.source!==null&&a.line!==null&&a.column!==null){if(n!==a.source||o!==a.line||u!==a.column||l!==a.name){t.addMapping({source:a.source,original:{line:a.line,column:a.column},generated:{line:r.line,column:r.column},name:a.name})}n=a.source;o=a.line;u=a.column;l=a.name;i=true}else if(i){t.addMapping({generated:{line:r.line,column:r.column}});n=null;i=false}for(var c=0,f=e.length;c<f;c++){if(e.charCodeAt(c)===s){r.line++;r.column=0;if(c+1===f){n=null;i=false}else if(i){t.addMapping({source:a.source,original:{line:a.line,column:a.column},generated:{line:r.line,column:r.column},name:a.name})}}else{r.column++}}}));this.walkSourceContents((function(e,r){t.setSourceContent(e,r)}));return{code:r.code,map:t}};r.SourceNode=SourceNode},9026:function(e,r){function getArg(e,r,t){if(r in e){return e[r]}else if(arguments.length===3){return t}else{throw new Error('"'+r+'" is a required argument.')}}r.getArg=getArg;var t=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/;var a=/^data:.+\,.+$/;function urlParse(e){var r=e.match(t);if(!r){return null}return{scheme:r[1],auth:r[2],host:r[3],port:r[4],path:r[5]}}r.urlParse=urlParse;function urlGenerate(e){var r="";if(e.scheme){r+=e.scheme+":"}r+="//";if(e.auth){r+=e.auth+"@"}if(e.host){r+=e.host}if(e.port){r+=":"+e.port}if(e.path){r+=e.path}return r}r.urlGenerate=urlGenerate;function normalize(e){var t=e;var a=urlParse(e);if(a){if(!a.path){return e}t=a.path}var i=r.isAbsolute(t);var n=t.split(/\/+/);for(var s,o=0,u=n.length-1;u>=0;u--){s=n[u];if(s==="."){n.splice(u,1)}else if(s===".."){o++}else if(o>0){if(s===""){n.splice(u+1,o);o=0}else{n.splice(u,2);o--}}}t=n.join("/");if(t===""){t=i?"/":"."}if(a){a.path=t;return urlGenerate(a)}return t}r.normalize=normalize;function join(e,r){if(e===""){e="."}if(r===""){r="."}var t=urlParse(r);var i=urlParse(e);if(i){e=i.path||"/"}if(t&&!t.scheme){if(i){t.scheme=i.scheme}return urlGenerate(t)}if(t||r.match(a)){return r}if(i&&!i.host&&!i.path){i.host=r;return urlGenerate(i)}var n=r.charAt(0)==="/"?r:normalize(e.replace(/\/+$/,"")+"/"+r);if(i){i.path=n;return urlGenerate(i)}return n}r.join=join;r.isAbsolute=function(e){return e.charAt(0)==="/"||t.test(e)};function relative(e,r){if(e===""){e="."}e=e.replace(/\/$/,"");var t=0;while(r.indexOf(e+"/")!==0){var a=e.lastIndexOf("/");if(a<0){return r}e=e.slice(0,a);if(e.match(/^([^\/]+:\/)?\/*$/)){return r}++t}return Array(t+1).join("../")+r.substr(e.length+1)}r.relative=relative;var i=function(){var e=Object.create(null);return!("__proto__"in e)}();function identity(e){return e}function toSetString(e){if(isProtoString(e)){return"$"+e}return e}r.toSetString=i?identity:toSetString;function fromSetString(e){if(isProtoString(e)){return e.slice(1)}return e}r.fromSetString=i?identity:fromSetString;function isProtoString(e){if(!e){return false}var r=e.length;if(r<9){return false}if(e.charCodeAt(r-1)!==95||e.charCodeAt(r-2)!==95||e.charCodeAt(r-3)!==111||e.charCodeAt(r-4)!==116||e.charCodeAt(r-5)!==111||e.charCodeAt(r-6)!==114||e.charCodeAt(r-7)!==112||e.charCodeAt(r-8)!==95||e.charCodeAt(r-9)!==95){return false}for(var t=r-10;t>=0;t--){if(e.charCodeAt(t)!==36){return false}}return true}function compareByOriginalPositions(e,r,t){var a=strcmp(e.source,r.source);if(a!==0){return a}a=e.originalLine-r.originalLine;if(a!==0){return a}a=e.originalColumn-r.originalColumn;if(a!==0||t){return a}a=e.generatedColumn-r.generatedColumn;if(a!==0){return a}a=e.generatedLine-r.generatedLine;if(a!==0){return a}return strcmp(e.name,r.name)}r.compareByOriginalPositions=compareByOriginalPositions;function compareByGeneratedPositionsDeflated(e,r,t){var a=e.generatedLine-r.generatedLine;if(a!==0){return a}a=e.generatedColumn-r.generatedColumn;if(a!==0||t){return a}a=strcmp(e.source,r.source);if(a!==0){return a}a=e.originalLine-r.originalLine;if(a!==0){return a}a=e.originalColumn-r.originalColumn;if(a!==0){return a}return strcmp(e.name,r.name)}r.compareByGeneratedPositionsDeflated=compareByGeneratedPositionsDeflated;function strcmp(e,r){if(e===r){return 0}if(e===null){return 1}if(r===null){return-1}if(e>r){return 1}return-1}function compareByGeneratedPositionsInflated(e,r){var t=e.generatedLine-r.generatedLine;if(t!==0){return t}t=e.generatedColumn-r.generatedColumn;if(t!==0){return t}t=strcmp(e.source,r.source);if(t!==0){return t}t=e.originalLine-r.originalLine;if(t!==0){return t}t=e.originalColumn-r.originalColumn;if(t!==0){return t}return strcmp(e.name,r.name)}r.compareByGeneratedPositionsInflated=compareByGeneratedPositionsInflated;function parseSourceMapInput(e){return JSON.parse(e.replace(/^\)]}'[^\n]*\n/,""))}r.parseSourceMapInput=parseSourceMapInput;function computeSourceURL(e,r,t){r=r||"";if(e){if(e[e.length-1]!=="/"&&r[0]!=="/"){e+="/"}r=e+r}if(t){var a=urlParse(t);if(!a){throw new Error("sourceMapURL could not be parsed")}if(a.path){var i=a.path.lastIndexOf("/");if(i>=0){a.path=a.path.substring(0,i+1)}}r=join(urlGenerate(a),r)}return normalize(r)}r.computeSourceURL=computeSourceURL},4033:function(e,r,t){r.SourceMapGenerator=t(869).SourceMapGenerator;r.SourceMapConsumer=t(139).SourceMapConsumer;r.SourceNode=t(9610).SourceNode},6658:function(e,r){
|
|
2
|
+
/** @license URI.js v4.4.1 (c) 2011 Gary Court. License: http://github.com/garycourt/uri-js */
|
|
3
|
+
(function(e,t){true?t(r):0})(this,(function(e){"use strict";function merge(){for(var e=arguments.length,r=Array(e),t=0;t<e;t++){r[t]=arguments[t]}if(r.length>1){r[0]=r[0].slice(0,-1);var a=r.length-1;for(var i=1;i<a;++i){r[i]=r[i].slice(1,-1)}r[a]=r[a].slice(1);return r.join("")}else{return r[0]}}function subexp(e){return"(?:"+e+")"}function typeOf(e){return e===undefined?"undefined":e===null?"null":Object.prototype.toString.call(e).split(" ").pop().split("]").shift().toLowerCase()}function toUpperCase(e){return e.toUpperCase()}function toArray(e){return e!==undefined&&e!==null?e instanceof Array?e:typeof e.length!=="number"||e.split||e.setInterval||e.call?[e]:Array.prototype.slice.call(e):[]}function assign(e,r){var t=e;if(r){for(var a in r){t[a]=r[a]}}return t}function buildExps(e){var r="[A-Za-z]",t="[\\x0D]",a="[0-9]",i="[\\x22]",n=merge(a,"[A-Fa-f]"),s="[\\x0A]",o="[\\x20]",u=subexp(subexp("%[EFef]"+n+"%"+n+n+"%"+n+n)+"|"+subexp("%[89A-Fa-f]"+n+"%"+n+n)+"|"+subexp("%"+n+n)),l="[\\:\\/\\?\\#\\[\\]\\@]",c="[\\!\\$\\&\\'\\(\\)\\*\\+\\,\\;\\=]",f=merge(l,c),p=e?"[\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]":"[]",d=e?"[\\uE000-\\uF8FF]":"[]",h=merge(r,a,"[\\-\\.\\_\\~]",p),m=subexp(r+merge(r,a,"[\\+\\-\\.]")+"*"),g=subexp(subexp(u+"|"+merge(h,c,"[\\:]"))+"*"),y=subexp(subexp("25[0-5]")+"|"+subexp("2[0-4]"+a)+"|"+subexp("1"+a+a)+"|"+subexp("[1-9]"+a)+"|"+a),S=subexp(subexp("25[0-5]")+"|"+subexp("2[0-4]"+a)+"|"+subexp("1"+a+a)+"|"+subexp("0?[1-9]"+a)+"|0?0?"+a),P=subexp(S+"\\."+S+"\\."+S+"\\."+S),b=subexp(n+"{1,4}"),_=subexp(subexp(b+"\\:"+b)+"|"+P),w=subexp(subexp(b+"\\:")+"{6}"+_),E=subexp("\\:\\:"+subexp(b+"\\:")+"{5}"+_),x=subexp(subexp(b)+"?\\:\\:"+subexp(b+"\\:")+"{4}"+_),$=subexp(subexp(subexp(b+"\\:")+"{0,1}"+b)+"?\\:\\:"+subexp(b+"\\:")+"{3}"+_),C=subexp(subexp(subexp(b+"\\:")+"{0,2}"+b)+"?\\:\\:"+subexp(b+"\\:")+"{2}"+_),R=subexp(subexp(subexp(b+"\\:")+"{0,3}"+b)+"?\\:\\:"+b+"\\:"+_),O=subexp(subexp(subexp(b+"\\:")+"{0,4}"+b)+"?\\:\\:"+_),M=subexp(subexp(subexp(b+"\\:")+"{0,5}"+b)+"?\\:\\:"+b),A=subexp(subexp(subexp(b+"\\:")+"{0,6}"+b)+"?\\:\\:"),F=subexp([w,E,x,$,C,R,O,M,A].join("|")),j=subexp(subexp(h+"|"+u)+"+"),D=subexp(F+"\\%25"+j),I=subexp(F+subexp("\\%25|\\%(?!"+n+"{2})")+j),k=subexp("[vV]"+n+"+\\."+merge(h,c,"[\\:]")+"+"),L=subexp("\\["+subexp(I+"|"+F+"|"+k)+"\\]"),N=subexp(subexp(u+"|"+merge(h,c))+"*"),z=subexp(L+"|"+P+"(?!"+N+")"+"|"+N),T=subexp(a+"*"),q=subexp(subexp(g+"@")+"?"+z+subexp("\\:"+T)+"?"),U=subexp(u+"|"+merge(h,c,"[\\:\\@]")),V=subexp(U+"*"),Q=subexp(U+"+"),B=subexp(subexp(u+"|"+merge(h,c,"[\\@]"))+"+"),K=subexp(subexp("\\/"+V)+"*"),H=subexp("\\/"+subexp(Q+K)+"?"),G=subexp(B+K),J=subexp(Q+K),W="(?!"+U+")",Z=subexp(K+"|"+H+"|"+G+"|"+J+"|"+W),Y=subexp(subexp(U+"|"+merge("[\\/\\?]",d))+"*"),X=subexp(subexp(U+"|[\\/\\?]")+"*"),ee=subexp(subexp("\\/\\/"+q+K)+"|"+H+"|"+J+"|"+W),re=subexp(m+"\\:"+ee+subexp("\\?"+Y)+"?"+subexp("\\#"+X)+"?"),te=subexp(subexp("\\/\\/"+q+K)+"|"+H+"|"+G+"|"+W),ae=subexp(te+subexp("\\?"+Y)+"?"+subexp("\\#"+X)+"?"),ie=subexp(re+"|"+ae),ne=subexp(m+"\\:"+ee+subexp("\\?"+Y)+"?"),se="^("+m+")\\:"+subexp(subexp("\\/\\/("+subexp("("+g+")@")+"?("+z+")"+subexp("\\:("+T+")")+"?)")+"?("+K+"|"+H+"|"+J+"|"+W+")")+subexp("\\?("+Y+")")+"?"+subexp("\\#("+X+")")+"?$",oe="^(){0}"+subexp(subexp("\\/\\/("+subexp("("+g+")@")+"?("+z+")"+subexp("\\:("+T+")")+"?)")+"?("+K+"|"+H+"|"+G+"|"+W+")")+subexp("\\?("+Y+")")+"?"+subexp("\\#("+X+")")+"?$",ue="^("+m+")\\:"+subexp(subexp("\\/\\/("+subexp("("+g+")@")+"?("+z+")"+subexp("\\:("+T+")")+"?)")+"?("+K+"|"+H+"|"+J+"|"+W+")")+subexp("\\?("+Y+")")+"?$",le="^"+subexp("\\#("+X+")")+"?$",ce="^"+subexp("("+g+")@")+"?("+z+")"+subexp("\\:("+T+")")+"?$";return{NOT_SCHEME:new RegExp(merge("[^]",r,a,"[\\+\\-\\.]"),"g"),NOT_USERINFO:new RegExp(merge("[^\\%\\:]",h,c),"g"),NOT_HOST:new RegExp(merge("[^\\%\\[\\]\\:]",h,c),"g"),NOT_PATH:new RegExp(merge("[^\\%\\/\\:\\@]",h,c),"g"),NOT_PATH_NOSCHEME:new RegExp(merge("[^\\%\\/\\@]",h,c),"g"),NOT_QUERY:new RegExp(merge("[^\\%]",h,c,"[\\:\\@\\/\\?]",d),"g"),NOT_FRAGMENT:new RegExp(merge("[^\\%]",h,c,"[\\:\\@\\/\\?]"),"g"),ESCAPE:new RegExp(merge("[^]",h,c),"g"),UNRESERVED:new RegExp(h,"g"),OTHER_CHARS:new RegExp(merge("[^\\%]",h,f),"g"),PCT_ENCODED:new RegExp(u,"g"),IPV4ADDRESS:new RegExp("^("+P+")$"),IPV6ADDRESS:new RegExp("^\\[?("+F+")"+subexp(subexp("\\%25|\\%(?!"+n+"{2})")+"("+j+")")+"?\\]?$")}}var r=buildExps(false);var t=buildExps(true);var a=function(){function sliceIterator(e,r){var t=[];var a=true;var i=false;var n=undefined;try{for(var s=e[Symbol.iterator](),o;!(a=(o=s.next()).done);a=true){t.push(o.value);if(r&&t.length===r)break}}catch(e){i=true;n=e}finally{try{if(!a&&s["return"])s["return"]()}finally{if(i)throw n}}return t}return function(e,r){if(Array.isArray(e)){return e}else if(Symbol.iterator in Object(e)){return sliceIterator(e,r)}else{throw new TypeError("Invalid attempt to destructure non-iterable instance")}}}();var toConsumableArray=function(e){if(Array.isArray(e)){for(var r=0,t=Array(e.length);r<e.length;r++)t[r]=e[r];return t}else{return Array.from(e)}};var i=2147483647;var n=36;var s=1;var o=26;var u=38;var l=700;var c=72;var f=128;var p="-";var d=/^xn--/;var h=/[^\0-\x7E]/;var m=/[\x2E\u3002\uFF0E\uFF61]/g;var g={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"};var y=n-s;var S=Math.floor;var P=String.fromCharCode;function error$1(e){throw new RangeError(g[e])}function map(e,r){var t=[];var a=e.length;while(a--){t[a]=r(e[a])}return t}function mapDomain(e,r){var t=e.split("@");var a="";if(t.length>1){a=t[0]+"@";e=t[1]}e=e.replace(m,".");var i=e.split(".");var n=map(i,r).join(".");return a+n}function ucs2decode(e){var r=[];var t=0;var a=e.length;while(t<a){var i=e.charCodeAt(t++);if(i>=55296&&i<=56319&&t<a){var n=e.charCodeAt(t++);if((n&64512)==56320){r.push(((i&1023)<<10)+(n&1023)+65536)}else{r.push(i);t--}}else{r.push(i)}}return r}var b=function ucs2encode(e){return String.fromCodePoint.apply(String,toConsumableArray(e))};var _=function basicToDigit(e){if(e-48<10){return e-22}if(e-65<26){return e-65}if(e-97<26){return e-97}return n};var w=function digitToBasic(e,r){return e+22+75*(e<26)-((r!=0)<<5)};var E=function adapt(e,r,t){var a=0;e=t?S(e/l):e>>1;e+=S(e/r);for(;e>y*o>>1;a+=n){e=S(e/y)}return S(a+(y+1)*e/(e+u))};var x=function decode(e){var r=[];var t=e.length;var a=0;var u=f;var l=c;var d=e.lastIndexOf(p);if(d<0){d=0}for(var h=0;h<d;++h){if(e.charCodeAt(h)>=128){error$1("not-basic")}r.push(e.charCodeAt(h))}for(var m=d>0?d+1:0;m<t;){var g=a;for(var y=1,P=n;;P+=n){if(m>=t){error$1("invalid-input")}var b=_(e.charCodeAt(m++));if(b>=n||b>S((i-a)/y)){error$1("overflow")}a+=b*y;var w=P<=l?s:P>=l+o?o:P-l;if(b<w){break}var x=n-w;if(y>S(i/x)){error$1("overflow")}y*=x}var $=r.length+1;l=E(a-g,$,g==0);if(S(a/$)>i-u){error$1("overflow")}u+=S(a/$);a%=$;r.splice(a++,0,u)}return String.fromCodePoint.apply(String,r)};var $=function encode(e){var r=[];e=ucs2decode(e);var t=e.length;var a=f;var u=0;var l=c;var d=true;var h=false;var m=undefined;try{for(var g=e[Symbol.iterator](),y;!(d=(y=g.next()).done);d=true){var b=y.value;if(b<128){r.push(P(b))}}}catch(e){h=true;m=e}finally{try{if(!d&&g.return){g.return()}}finally{if(h){throw m}}}var _=r.length;var x=_;if(_){r.push(p)}while(x<t){var $=i;var C=true;var R=false;var O=undefined;try{for(var M=e[Symbol.iterator](),A;!(C=(A=M.next()).done);C=true){var F=A.value;if(F>=a&&F<$){$=F}}}catch(e){R=true;O=e}finally{try{if(!C&&M.return){M.return()}}finally{if(R){throw O}}}var j=x+1;if($-a>S((i-u)/j)){error$1("overflow")}u+=($-a)*j;a=$;var D=true;var I=false;var k=undefined;try{for(var L=e[Symbol.iterator](),N;!(D=(N=L.next()).done);D=true){var z=N.value;if(z<a&&++u>i){error$1("overflow")}if(z==a){var T=u;for(var q=n;;q+=n){var U=q<=l?s:q>=l+o?o:q-l;if(T<U){break}var V=T-U;var Q=n-U;r.push(P(w(U+V%Q,0)));T=S(V/Q)}r.push(P(w(T,0)));l=E(u,j,x==_);u=0;++x}}}catch(e){I=true;k=e}finally{try{if(!D&&L.return){L.return()}}finally{if(I){throw k}}}++u;++a}return r.join("")};var C=function toUnicode(e){return mapDomain(e,(function(e){return d.test(e)?x(e.slice(4).toLowerCase()):e}))};var R=function toASCII(e){return mapDomain(e,(function(e){return h.test(e)?"xn--"+$(e):e}))};var O={version:"2.1.0",ucs2:{decode:ucs2decode,encode:b},decode:x,encode:$,toASCII:R,toUnicode:C};var M={};function pctEncChar(e){var r=e.charCodeAt(0);var t=void 0;if(r<16)t="%0"+r.toString(16).toUpperCase();else if(r<128)t="%"+r.toString(16).toUpperCase();else if(r<2048)t="%"+(r>>6|192).toString(16).toUpperCase()+"%"+(r&63|128).toString(16).toUpperCase();else t="%"+(r>>12|224).toString(16).toUpperCase()+"%"+(r>>6&63|128).toString(16).toUpperCase()+"%"+(r&63|128).toString(16).toUpperCase();return t}function pctDecChars(e){var r="";var t=0;var a=e.length;while(t<a){var i=parseInt(e.substr(t+1,2),16);if(i<128){r+=String.fromCharCode(i);t+=3}else if(i>=194&&i<224){if(a-t>=6){var n=parseInt(e.substr(t+4,2),16);r+=String.fromCharCode((i&31)<<6|n&63)}else{r+=e.substr(t,6)}t+=6}else if(i>=224){if(a-t>=9){var s=parseInt(e.substr(t+4,2),16);var o=parseInt(e.substr(t+7,2),16);r+=String.fromCharCode((i&15)<<12|(s&63)<<6|o&63)}else{r+=e.substr(t,9)}t+=9}else{r+=e.substr(t,3);t+=3}}return r}function _normalizeComponentEncoding(e,r){function decodeUnreserved(e){var t=pctDecChars(e);return!t.match(r.UNRESERVED)?e:t}if(e.scheme)e.scheme=String(e.scheme).replace(r.PCT_ENCODED,decodeUnreserved).toLowerCase().replace(r.NOT_SCHEME,"");if(e.userinfo!==undefined)e.userinfo=String(e.userinfo).replace(r.PCT_ENCODED,decodeUnreserved).replace(r.NOT_USERINFO,pctEncChar).replace(r.PCT_ENCODED,toUpperCase);if(e.host!==undefined)e.host=String(e.host).replace(r.PCT_ENCODED,decodeUnreserved).toLowerCase().replace(r.NOT_HOST,pctEncChar).replace(r.PCT_ENCODED,toUpperCase);if(e.path!==undefined)e.path=String(e.path).replace(r.PCT_ENCODED,decodeUnreserved).replace(e.scheme?r.NOT_PATH:r.NOT_PATH_NOSCHEME,pctEncChar).replace(r.PCT_ENCODED,toUpperCase);if(e.query!==undefined)e.query=String(e.query).replace(r.PCT_ENCODED,decodeUnreserved).replace(r.NOT_QUERY,pctEncChar).replace(r.PCT_ENCODED,toUpperCase);if(e.fragment!==undefined)e.fragment=String(e.fragment).replace(r.PCT_ENCODED,decodeUnreserved).replace(r.NOT_FRAGMENT,pctEncChar).replace(r.PCT_ENCODED,toUpperCase);return e}function _stripLeadingZeros(e){return e.replace(/^0*(.*)/,"$1")||"0"}function _normalizeIPv4(e,r){var t=e.match(r.IPV4ADDRESS)||[];var i=a(t,2),n=i[1];if(n){return n.split(".").map(_stripLeadingZeros).join(".")}else{return e}}function _normalizeIPv6(e,r){var t=e.match(r.IPV6ADDRESS)||[];var i=a(t,3),n=i[1],s=i[2];if(n){var o=n.toLowerCase().split("::").reverse(),u=a(o,2),l=u[0],c=u[1];var f=c?c.split(":").map(_stripLeadingZeros):[];var p=l.split(":").map(_stripLeadingZeros);var d=r.IPV4ADDRESS.test(p[p.length-1]);var h=d?7:8;var m=p.length-h;var g=Array(h);for(var y=0;y<h;++y){g[y]=f[y]||p[m+y]||""}if(d){g[h-1]=_normalizeIPv4(g[h-1],r)}var S=g.reduce((function(e,r,t){if(!r||r==="0"){var a=e[e.length-1];if(a&&a.index+a.length===t){a.length++}else{e.push({index:t,length:1})}}return e}),[]);var P=S.sort((function(e,r){return r.length-e.length}))[0];var b=void 0;if(P&&P.length>1){var _=g.slice(0,P.index);var w=g.slice(P.index+P.length);b=_.join(":")+"::"+w.join(":")}else{b=g.join(":")}if(s){b+="%"+s}return b}else{return e}}var A=/^(?:([^:\/?#]+):)?(?:\/\/((?:([^\/?#@]*)@)?(\[[^\/?#\]]+\]|[^\/?#:]*)(?:\:(\d*))?))?([^?#]*)(?:\?([^#]*))?(?:#((?:.|\n|\r)*))?/i;var F="".match(/(){0}/)[1]===undefined;function parse(e){var a=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};var i={};var n=a.iri!==false?t:r;if(a.reference==="suffix")e=(a.scheme?a.scheme+":":"")+"//"+e;var s=e.match(A);if(s){if(F){i.scheme=s[1];i.userinfo=s[3];i.host=s[4];i.port=parseInt(s[5],10);i.path=s[6]||"";i.query=s[7];i.fragment=s[8];if(isNaN(i.port)){i.port=s[5]}}else{i.scheme=s[1]||undefined;i.userinfo=e.indexOf("@")!==-1?s[3]:undefined;i.host=e.indexOf("//")!==-1?s[4]:undefined;i.port=parseInt(s[5],10);i.path=s[6]||"";i.query=e.indexOf("?")!==-1?s[7]:undefined;i.fragment=e.indexOf("#")!==-1?s[8]:undefined;if(isNaN(i.port)){i.port=e.match(/\/\/(?:.|\n)*\:(?:\/|\?|\#|$)/)?s[4]:undefined}}if(i.host){i.host=_normalizeIPv6(_normalizeIPv4(i.host,n),n)}if(i.scheme===undefined&&i.userinfo===undefined&&i.host===undefined&&i.port===undefined&&!i.path&&i.query===undefined){i.reference="same-document"}else if(i.scheme===undefined){i.reference="relative"}else if(i.fragment===undefined){i.reference="absolute"}else{i.reference="uri"}if(a.reference&&a.reference!=="suffix"&&a.reference!==i.reference){i.error=i.error||"URI is not a "+a.reference+" reference."}var o=M[(a.scheme||i.scheme||"").toLowerCase()];if(!a.unicodeSupport&&(!o||!o.unicodeSupport)){if(i.host&&(a.domainHost||o&&o.domainHost)){try{i.host=O.toASCII(i.host.replace(n.PCT_ENCODED,pctDecChars).toLowerCase())}catch(e){i.error=i.error||"Host's domain name can not be converted to ASCII via punycode: "+e}}_normalizeComponentEncoding(i,r)}else{_normalizeComponentEncoding(i,n)}if(o&&o.parse){o.parse(i,a)}}else{i.error=i.error||"URI can not be parsed."}return i}function _recomposeAuthority(e,a){var i=a.iri!==false?t:r;var n=[];if(e.userinfo!==undefined){n.push(e.userinfo);n.push("@")}if(e.host!==undefined){n.push(_normalizeIPv6(_normalizeIPv4(String(e.host),i),i).replace(i.IPV6ADDRESS,(function(e,r,t){return"["+r+(t?"%25"+t:"")+"]"})))}if(typeof e.port==="number"||typeof e.port==="string"){n.push(":");n.push(String(e.port))}return n.length?n.join(""):undefined}var j=/^\.\.?\//;var D=/^\/\.(\/|$)/;var I=/^\/\.\.(\/|$)/;var k=/^\/?(?:.|\n)*?(?=\/|$)/;function removeDotSegments(e){var r=[];while(e.length){if(e.match(j)){e=e.replace(j,"")}else if(e.match(D)){e=e.replace(D,"/")}else if(e.match(I)){e=e.replace(I,"/");r.pop()}else if(e==="."||e===".."){e=""}else{var t=e.match(k);if(t){var a=t[0];e=e.slice(a.length);r.push(a)}else{throw new Error("Unexpected dot segment condition")}}}return r.join("")}function serialize(e){var a=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};var i=a.iri?t:r;var n=[];var s=M[(a.scheme||e.scheme||"").toLowerCase()];if(s&&s.serialize)s.serialize(e,a);if(e.host){if(i.IPV6ADDRESS.test(e.host)){}else if(a.domainHost||s&&s.domainHost){try{e.host=!a.iri?O.toASCII(e.host.replace(i.PCT_ENCODED,pctDecChars).toLowerCase()):O.toUnicode(e.host)}catch(r){e.error=e.error||"Host's domain name can not be converted to "+(!a.iri?"ASCII":"Unicode")+" via punycode: "+r}}}_normalizeComponentEncoding(e,i);if(a.reference!=="suffix"&&e.scheme){n.push(e.scheme);n.push(":")}var o=_recomposeAuthority(e,a);if(o!==undefined){if(a.reference!=="suffix"){n.push("//")}n.push(o);if(e.path&&e.path.charAt(0)!=="/"){n.push("/")}}if(e.path!==undefined){var u=e.path;if(!a.absolutePath&&(!s||!s.absolutePath)){u=removeDotSegments(u)}if(o===undefined){u=u.replace(/^\/\//,"/%2F")}n.push(u)}if(e.query!==undefined){n.push("?");n.push(e.query)}if(e.fragment!==undefined){n.push("#");n.push(e.fragment)}return n.join("")}function resolveComponents(e,r){var t=arguments.length>2&&arguments[2]!==undefined?arguments[2]:{};var a=arguments[3];var i={};if(!a){e=parse(serialize(e,t),t);r=parse(serialize(r,t),t)}t=t||{};if(!t.tolerant&&r.scheme){i.scheme=r.scheme;i.userinfo=r.userinfo;i.host=r.host;i.port=r.port;i.path=removeDotSegments(r.path||"");i.query=r.query}else{if(r.userinfo!==undefined||r.host!==undefined||r.port!==undefined){i.userinfo=r.userinfo;i.host=r.host;i.port=r.port;i.path=removeDotSegments(r.path||"");i.query=r.query}else{if(!r.path){i.path=e.path;if(r.query!==undefined){i.query=r.query}else{i.query=e.query}}else{if(r.path.charAt(0)==="/"){i.path=removeDotSegments(r.path)}else{if((e.userinfo!==undefined||e.host!==undefined||e.port!==undefined)&&!e.path){i.path="/"+r.path}else if(!e.path){i.path=r.path}else{i.path=e.path.slice(0,e.path.lastIndexOf("/")+1)+r.path}i.path=removeDotSegments(i.path)}i.query=r.query}i.userinfo=e.userinfo;i.host=e.host;i.port=e.port}i.scheme=e.scheme}i.fragment=r.fragment;return i}function resolve(e,r,t){var a=assign({scheme:"null"},t);return serialize(resolveComponents(parse(e,a),parse(r,a),a,true),a)}function normalize(e,r){if(typeof e==="string"){e=serialize(parse(e,r),r)}else if(typeOf(e)==="object"){e=parse(serialize(e,r),r)}return e}function equal(e,r,t){if(typeof e==="string"){e=serialize(parse(e,t),t)}else if(typeOf(e)==="object"){e=serialize(e,t)}if(typeof r==="string"){r=serialize(parse(r,t),t)}else if(typeOf(r)==="object"){r=serialize(r,t)}return e===r}function escapeComponent(e,a){return e&&e.toString().replace(!a||!a.iri?r.ESCAPE:t.ESCAPE,pctEncChar)}function unescapeComponent(e,a){return e&&e.toString().replace(!a||!a.iri?r.PCT_ENCODED:t.PCT_ENCODED,pctDecChars)}var L={scheme:"http",domainHost:true,parse:function parse(e,r){if(!e.host){e.error=e.error||"HTTP URIs must have a host."}return e},serialize:function serialize(e,r){var t=String(e.scheme).toLowerCase()==="https";if(e.port===(t?443:80)||e.port===""){e.port=undefined}if(!e.path){e.path="/"}return e}};var N={scheme:"https",domainHost:L.domainHost,parse:L.parse,serialize:L.serialize};function isSecure(e){return typeof e.secure==="boolean"?e.secure:String(e.scheme).toLowerCase()==="wss"}var z={scheme:"ws",domainHost:true,parse:function parse(e,r){var t=e;t.secure=isSecure(t);t.resourceName=(t.path||"/")+(t.query?"?"+t.query:"");t.path=undefined;t.query=undefined;return t},serialize:function serialize(e,r){if(e.port===(isSecure(e)?443:80)||e.port===""){e.port=undefined}if(typeof e.secure==="boolean"){e.scheme=e.secure?"wss":"ws";e.secure=undefined}if(e.resourceName){var t=e.resourceName.split("?"),i=a(t,2),n=i[0],s=i[1];e.path=n&&n!=="/"?n:undefined;e.query=s;e.resourceName=undefined}e.fragment=undefined;return e}};var T={scheme:"wss",domainHost:z.domainHost,parse:z.parse,serialize:z.serialize};var q={};var U=true;var V="[A-Za-z0-9\\-\\.\\_\\~"+(U?"\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF":"")+"]";var Q="[0-9A-Fa-f]";var B=subexp(subexp("%[EFef]"+Q+"%"+Q+Q+"%"+Q+Q)+"|"+subexp("%[89A-Fa-f]"+Q+"%"+Q+Q)+"|"+subexp("%"+Q+Q));var K="[A-Za-z0-9\\!\\$\\%\\'\\*\\+\\-\\^\\_\\`\\{\\|\\}\\~]";var H="[\\!\\$\\%\\'\\(\\)\\*\\+\\,\\-\\.0-9\\<\\>A-Z\\x5E-\\x7E]";var G=merge(H,'[\\"\\\\]');var J="[\\!\\$\\'\\(\\)\\*\\+\\,\\;\\:\\@]";var W=new RegExp(V,"g");var Z=new RegExp(B,"g");var Y=new RegExp(merge("[^]",K,"[\\.]",'[\\"]',G),"g");var X=new RegExp(merge("[^]",V,J),"g");var ee=X;function decodeUnreserved(e){var r=pctDecChars(e);return!r.match(W)?e:r}var re={scheme:"mailto",parse:function parse$$1(e,r){var t=e;var a=t.to=t.path?t.path.split(","):[];t.path=undefined;if(t.query){var i=false;var n={};var s=t.query.split("&");for(var o=0,u=s.length;o<u;++o){var l=s[o].split("=");switch(l[0]){case"to":var c=l[1].split(",");for(var f=0,p=c.length;f<p;++f){a.push(c[f])}break;case"subject":t.subject=unescapeComponent(l[1],r);break;case"body":t.body=unescapeComponent(l[1],r);break;default:i=true;n[unescapeComponent(l[0],r)]=unescapeComponent(l[1],r);break}}if(i)t.headers=n}t.query=undefined;for(var d=0,h=a.length;d<h;++d){var m=a[d].split("@");m[0]=unescapeComponent(m[0]);if(!r.unicodeSupport){try{m[1]=O.toASCII(unescapeComponent(m[1],r).toLowerCase())}catch(e){t.error=t.error||"Email address's domain name can not be converted to ASCII via punycode: "+e}}else{m[1]=unescapeComponent(m[1],r).toLowerCase()}a[d]=m.join("@")}return t},serialize:function serialize$$1(e,r){var t=e;var a=toArray(e.to);if(a){for(var i=0,n=a.length;i<n;++i){var s=String(a[i]);var o=s.lastIndexOf("@");var u=s.slice(0,o).replace(Z,decodeUnreserved).replace(Z,toUpperCase).replace(Y,pctEncChar);var l=s.slice(o+1);try{l=!r.iri?O.toASCII(unescapeComponent(l,r).toLowerCase()):O.toUnicode(l)}catch(e){t.error=t.error||"Email address's domain name can not be converted to "+(!r.iri?"ASCII":"Unicode")+" via punycode: "+e}a[i]=u+"@"+l}t.path=a.join(",")}var c=e.headers=e.headers||{};if(e.subject)c["subject"]=e.subject;if(e.body)c["body"]=e.body;var f=[];for(var p in c){if(c[p]!==q[p]){f.push(p.replace(Z,decodeUnreserved).replace(Z,toUpperCase).replace(X,pctEncChar)+"="+c[p].replace(Z,decodeUnreserved).replace(Z,toUpperCase).replace(ee,pctEncChar))}}if(f.length){t.query=f.join("&")}return t}};var te=/^([^\:]+)\:(.*)/;var ae={scheme:"urn",parse:function parse$$1(e,r){var t=e.path&&e.path.match(te);var a=e;if(t){var i=r.scheme||a.scheme||"urn";var n=t[1].toLowerCase();var s=t[2];var o=i+":"+(r.nid||n);var u=M[o];a.nid=n;a.nss=s;a.path=undefined;if(u){a=u.parse(a,r)}}else{a.error=a.error||"URN can not be parsed."}return a},serialize:function serialize$$1(e,r){var t=r.scheme||e.scheme||"urn";var a=e.nid;var i=t+":"+(r.nid||a);var n=M[i];if(n){e=n.serialize(e,r)}var s=e;var o=e.nss;s.path=(a||r.nid)+":"+o;return s}};var ie=/^[0-9A-Fa-f]{8}(?:\-[0-9A-Fa-f]{4}){3}\-[0-9A-Fa-f]{12}$/;var ne={scheme:"urn:uuid",parse:function parse(e,r){var t=e;t.uuid=t.nss;t.nss=undefined;if(!r.tolerant&&(!t.uuid||!t.uuid.match(ie))){t.error=t.error||"UUID is not valid."}return t},serialize:function serialize(e,r){var t=e;t.nss=(e.uuid||"").toLowerCase();return t}};M[L.scheme]=L;M[N.scheme]=N;M[z.scheme]=z;M[T.scheme]=T;M[re.scheme]=re;M[ae.scheme]=ae;M[ne.scheme]=ne;e.SCHEMES=M;e.pctEncChar=pctEncChar;e.pctDecChars=pctDecChars;e.parse=parse;e.removeDotSegments=removeDotSegments;e.serialize=serialize;e.resolveComponents=resolveComponents;e.resolve=resolve;e.normalize=normalize;e.equal=equal;e.escapeComponent=escapeComponent;e.unescapeComponent=unescapeComponent;Object.defineProperty(e,"__esModule",{value:true})}))},4718:function(e){class Node{constructor(e){this.value=e;this.next=undefined}}class Queue{constructor(){this.clear()}enqueue(e){const r=new Node(e);if(this._head){this._tail.next=r;this._tail=r}else{this._head=r;this._tail=r}this._size++}dequeue(){const e=this._head;if(!e){return}this._head=this._head.next;this._size--;return e.value}clear(){this._head=undefined;this._tail=undefined;this._size=0}get size(){return this._size}*[Symbol.iterator](){let e=this._head;while(e){yield e.value;e=e.next}}}e.exports=Queue},1398:function(e){"use strict";e.exports=JSON.parse('{"$schema":"http://json-schema.org/draft-07/schema#","$id":"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#","description":"Meta-schema for $data reference (JSON Schema extension proposal)","type":"object","required":["$data"],"properties":{"$data":{"type":"string","anyOf":[{"format":"relative-json-pointer"},{"format":"json-pointer"}]}},"additionalProperties":false}')},2352:function(e){"use strict";e.exports=JSON.parse('{"$schema":"http://json-schema.org/draft-07/schema#","$id":"http://json-schema.org/draft-07/schema#","title":"Core schema meta-schema","definitions":{"schemaArray":{"type":"array","minItems":1,"items":{"$ref":"#"}},"nonNegativeInteger":{"type":"integer","minimum":0},"nonNegativeIntegerDefault0":{"allOf":[{"$ref":"#/definitions/nonNegativeInteger"},{"default":0}]},"simpleTypes":{"enum":["array","boolean","integer","null","number","object","string"]},"stringArray":{"type":"array","items":{"type":"string"},"uniqueItems":true,"default":[]}},"type":["object","boolean"],"properties":{"$id":{"type":"string","format":"uri-reference"},"$schema":{"type":"string","format":"uri"},"$ref":{"type":"string","format":"uri-reference"},"$comment":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"default":true,"readOnly":{"type":"boolean","default":false},"examples":{"type":"array","items":true},"multipleOf":{"type":"number","exclusiveMinimum":0},"maximum":{"type":"number"},"exclusiveMaximum":{"type":"number"},"minimum":{"type":"number"},"exclusiveMinimum":{"type":"number"},"maxLength":{"$ref":"#/definitions/nonNegativeInteger"},"minLength":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"pattern":{"type":"string","format":"regex"},"additionalItems":{"$ref":"#"},"items":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/schemaArray"}],"default":true},"maxItems":{"$ref":"#/definitions/nonNegativeInteger"},"minItems":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"uniqueItems":{"type":"boolean","default":false},"contains":{"$ref":"#"},"maxProperties":{"$ref":"#/definitions/nonNegativeInteger"},"minProperties":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"required":{"$ref":"#/definitions/stringArray"},"additionalProperties":{"$ref":"#"},"definitions":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"properties":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"patternProperties":{"type":"object","additionalProperties":{"$ref":"#"},"propertyNames":{"format":"regex"},"default":{}},"dependencies":{"type":"object","additionalProperties":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/stringArray"}]}},"propertyNames":{"$ref":"#"},"const":true,"enum":{"type":"array","items":true,"minItems":1,"uniqueItems":true},"type":{"anyOf":[{"$ref":"#/definitions/simpleTypes"},{"type":"array","items":{"$ref":"#/definitions/simpleTypes"},"minItems":1,"uniqueItems":true}]},"format":{"type":"string"},"contentMediaType":{"type":"string"},"contentEncoding":{"type":"string"},"if":{"$ref":"#"},"then":{"$ref":"#"},"else":{"$ref":"#"},"allOf":{"$ref":"#/definitions/schemaArray"},"anyOf":{"$ref":"#/definitions/schemaArray"},"oneOf":{"$ref":"#/definitions/schemaArray"},"not":{"$ref":"#"}},"default":true}')},7842:function(e){"use strict";e.exports=JSON.parse('{"definitions":{"Rule":{"description":"Filtering rule as regex or string.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string","minLength":1}]},"Rules":{"description":"Filtering rules.","anyOf":[{"type":"array","items":{"description":"A rule condition.","oneOf":[{"$ref":"#/definitions/Rule"}]}},{"$ref":"#/definitions/Rule"}]},"MinimizerOptions":{"additionalProperties":true,"type":"object"}},"title":"CssMinimizerWebpackPluginOptions","type":"object","properties":{"test":{"description":"Include all modules that pass test assertion.","link":"https://github.com/webpack-contrib/css-minimizer-webpack-plugin/#test","oneOf":[{"$ref":"#/definitions/Rules"}]},"include":{"description":"Include all modules matching any of these conditions.","link":"https://github.com/webpack-contrib/css-minimizer-webpack-plugin/#include","oneOf":[{"$ref":"#/definitions/Rules"}]},"exclude":{"description":"Exclude all modules matching any of these conditions.","link":"https://github.com/webpack-contrib/css-minimizer-webpack-plugin/#exclude","oneOf":[{"$ref":"#/definitions/Rules"}]},"minimizerOptions":{"description":"Options for `cssMinimizerOptions`.","link":"https://github.com/webpack-contrib/css-minimizer-webpack-plugin/#minimizeroptions","anyOf":[{"$ref":"#/definitions/MinimizerOptions"},{"type":"array","minItems":1,"items":{"$ref":"#/definitions/MinimizerOptions"}}]},"parallel":{"description":"Use multi-process parallel running to improve the build speed.","link":"https://github.com/webpack-contrib/css-minimizer-webpack-plugin/#parallel","anyOf":[{"type":"boolean"},{"type":"integer"}]},"warningsFilter":{"description":"Allow to filter `css minimizer` warnings.","link":"https://github.com/webpack-contrib/css-minimizer-webpack-plugin/#warningsfilter","instanceof":"Function"},"minify":{"description":"Allows you to override default minify function.","link":"https://github.com/webpack-contrib/css-minimizer-webpack-plugin/#minify","anyOf":[{"instanceof":"Function"},{"type":"array","minItems":1,"items":{"instanceof":"Function"}}]}},"additionalProperties":false}')},6417:function(e){"use strict";e.exports=require("crypto")},9733:function(e){"use strict";e.exports=require("jest-worker")},2087:function(e){"use strict";e.exports=require("os")}};var r={};function __nccwpck_require__(t){var a=r[t];if(a!==undefined){return a.exports}var i=r[t]={id:t,loaded:false,exports:{}};var n=true;try{e[t].call(i.exports,i,i.exports,__nccwpck_require__);n=false}finally{if(n)delete r[t]}i.loaded=true;return i.exports}!function(){__nccwpck_require__.nmd=function(e){e.paths=[];if(!e.children)e.children=[];return e}}();if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=__dirname+"/";var t=__nccwpck_require__(6054);module.exports=t})();
|