notebook 7.4.0rc0__py3-none-any.whl → 7.4.1__py3-none-any.whl
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.
Potentially problematic release.
This version of notebook might be problematic. Click here for more details.
- notebook/_version.py +1 -1
- notebook/static/{6236.ea8288f99f42bcff0039.js → 131.729c28b8323daf822cbe.js} +1583 -1050
- notebook/static/131.729c28b8323daf822cbe.js.map +1 -0
- notebook/static/{132.691a95a70c9fe7c1cc8f.js → 132.bbe0fd1e86fe078554cf.js} +2 -2
- notebook/static/{132.691a95a70c9fe7c1cc8f.js.map → 132.bbe0fd1e86fe078554cf.js.map} +1 -1
- notebook/static/{1650.5f86769d792e2f6834a2.js → 1650.bd3dea9432a7b69e4012.js} +4 -4
- notebook/static/{1650.5f86769d792e2f6834a2.js.map → 1650.bd3dea9432a7b69e4012.js.map} +1 -1
- notebook/static/{1684.83d8262288c722749256.js → 1684.469ee39cd97efd230d13.js} +5 -5
- notebook/static/{1684.83d8262288c722749256.js.map → 1684.469ee39cd97efd230d13.js.map} +1 -1
- notebook/static/{1715.31ca8e6a27554059ae6d.js → 1715.eb47d8a8fb23246d8368.js} +2 -2
- notebook/static/{1715.31ca8e6a27554059ae6d.js.map → 1715.eb47d8a8fb23246d8368.js.map} +1 -1
- notebook/static/{2228.4829c4be5d1369fc8c08.js → 2228.cda3deed71ac4d488b32.js} +2 -2
- notebook/static/{2228.4829c4be5d1369fc8c08.js.map → 2228.cda3deed71ac4d488b32.js.map} +1 -1
- notebook/static/{2913.5b676d091e1bc049840e.js → 2913.274b19d8f201991f4a69.js} +6 -6
- notebook/static/{2913.5b676d091e1bc049840e.js.map → 2913.274b19d8f201991f4a69.js.map} +1 -1
- notebook/static/{3146.0b943ef87caf8b2e0a25.js → 3146.b71b9d3886943ad605eb.js} +3 -3
- notebook/static/{3146.0b943ef87caf8b2e0a25.js.map → 3146.b71b9d3886943ad605eb.js.map} +1 -1
- notebook/static/{3197.9c2bb14fe784ee4c4642.js → 3197.c29a6f351f8c45adc2c5.js} +36 -37
- notebook/static/3197.c29a6f351f8c45adc2c5.js.map +1 -0
- notebook/static/{35.72c8a277c008cd943d91.js → 35.a486baf38b12aec5500f.js} +8 -22
- notebook/static/35.a486baf38b12aec5500f.js.map +1 -0
- notebook/static/{3619.94f58ca9f340882ec9c0.js → 3619.2e4bf80097f9890aef49.js} +2 -2
- notebook/static/{3619.94f58ca9f340882ec9c0.js.map → 3619.2e4bf80097f9890aef49.js.map} +1 -1
- notebook/static/{3768.d16e5254885f02885c3d.js → 3768.c850ec7880427e2d8e7f.js} +19 -19
- notebook/static/{7302.210ed2fce68cc9e56baf.js.map → 3768.c850ec7880427e2d8e7f.js.map} +1 -1
- notebook/static/{4324.efe0e7d5f17747588b74.js → 4324.fa653693694bd924557b.js} +308 -308
- notebook/static/4324.fa653693694bd924557b.js.map +1 -0
- notebook/static/{4382.f9db37f20cfcaaf6b192.js → 4382.d1360122785a038484e0.js} +3 -3
- notebook/static/{4382.f9db37f20cfcaaf6b192.js.map → 4382.d1360122785a038484e0.js.map} +1 -1
- notebook/static/{4406.8f272b06e8189d43ff5f.js → 4406.51814faad101884133fc.js} +5 -5
- notebook/static/{4406.8f272b06e8189d43ff5f.js.map → 4406.51814faad101884133fc.js.map} +1 -1
- notebook/static/{4645.f4ada6e941739ab9cfe7.js → 4645.9436fccf76f33495a266.js} +5 -5
- notebook/static/{4645.f4ada6e941739ab9cfe7.js.map → 4645.9436fccf76f33495a266.js.map} +1 -1
- notebook/static/{4837.87ff4e1392eeb22eab68.js → 4837.7d1b7cbf2f7bd5ff4274.js} +3 -3
- notebook/static/{4837.87ff4e1392eeb22eab68.js.map → 4837.7d1b7cbf2f7bd5ff4274.js.map} +1 -1
- notebook/static/{5135.9e823bbe23ab8fce7485.js → 5135.ca1cde8737ca87b8bf99.js} +11 -11
- notebook/static/{5135.9e823bbe23ab8fce7485.js.map → 5135.ca1cde8737ca87b8bf99.js.map} +1 -1
- notebook/static/5448.a9016133a2b9389ac102.js +951 -0
- notebook/static/5448.a9016133a2b9389ac102.js.map +1 -0
- notebook/static/{5573.4e4a07a102aa4b698ad9.js → 5573.99719d9cbf6ef3c79d1b.js} +17 -17
- notebook/static/{5573.4e4a07a102aa4b698ad9.js.map → 5573.99719d9cbf6ef3c79d1b.js.map} +1 -1
- notebook/static/{5601.46e8997c661be165fdbc.js → 5601.969b0f91318ba0d2c861.js} +5 -5
- notebook/static/{5601.46e8997c661be165fdbc.js.map → 5601.969b0f91318ba0d2c861.js.map} +1 -1
- notebook/static/{6345.d2829fcc732af2d87e50.js → 6345.fde2b9716946005d7b7e.js} +5 -5
- notebook/static/{6345.d2829fcc732af2d87e50.js.map → 6345.fde2b9716946005d7b7e.js.map} +1 -1
- notebook/static/{7302.210ed2fce68cc9e56baf.js → 7302.1028638d31004cdf54d7.js} +19 -19
- notebook/static/{3768.d16e5254885f02885c3d.js.map → 7302.1028638d31004cdf54d7.js.map} +1 -1
- notebook/static/{8218.983a3a002f016180aaab.js → 79.d9f6943863b1ed92fd09.js} +2 -2
- notebook/static/79.d9f6943863b1ed92fd09.js.map +1 -0
- notebook/static/{7906.2098cc1a1dc3238f8ad2.js → 7906.24a1d6f559e938f1f246.js} +3 -3
- notebook/static/{7906.2098cc1a1dc3238f8ad2.js.map → 7906.24a1d6f559e938f1f246.js.map} +1 -1
- notebook/static/{7995.d2f86b134a69be502c66.js → 7995.45be6443b704da1daafc.js} +3 -3
- notebook/static/{7995.d2f86b134a69be502c66.js.map → 7995.45be6443b704da1daafc.js.map} +1 -1
- notebook/static/{8579.ad02e595ead106b0b1ee.js → 8579.0f2ffb7e91b073333052.js} +13 -13
- notebook/static/{8579.ad02e595ead106b0b1ee.js.map → 8579.0f2ffb7e91b073333052.js.map} +1 -1
- notebook/static/{8781.d81d90b25d80ec2ab1fd.js → 8781.d22825cc38dd63ea198a.js} +60 -60
- notebook/static/{8781.d81d90b25d80ec2ab1fd.js.map → 8781.d22825cc38dd63ea198a.js.map} +1 -1
- notebook/static/{8845.639ebc34b4688cf4bf1c.js → 8845.ac1c5acb78cea4acee08.js} +7 -7
- notebook/static/{8845.639ebc34b4688cf4bf1c.js.map → 8845.ac1c5acb78cea4acee08.js.map} +1 -1
- notebook/static/{8875.079217ce5afa19dbc0f9.js → 8875.930af4f2d02cb069202b.js} +4 -4
- notebook/static/{8875.079217ce5afa19dbc0f9.js.map → 8875.930af4f2d02cb069202b.js.map} +1 -1
- notebook/static/{9068.82ae319a47d720f38db3.js → 9068.540551911cf35d92ccfa.js} +3 -3
- notebook/static/{9068.82ae319a47d720f38db3.js.map → 9068.540551911cf35d92ccfa.js.map} +1 -1
- notebook/static/{9380.ad0e839141388a05c188.js → 9380.2b805e488d46c14c20a1.js} +5 -5
- notebook/static/{9380.ad0e839141388a05c188.js.map → 9380.2b805e488d46c14c20a1.js.map} +1 -1
- notebook/static/{7789.3c3f5c1f233554a2add2.js → 9829.721a68fc1383b3bbff0c.js} +2 -2
- notebook/static/{7789.3c3f5c1f233554a2add2.js.map → 9829.721a68fc1383b3bbff0c.js.map} +1 -1
- notebook/static/main.e0796ccdb91661ecf6f0.js +1180 -0
- notebook/static/main.e0796ccdb91661ecf6f0.js.map +1 -0
- notebook/static/{notebook_core.9ad1da3c56e4826a4ef1.js → notebook_core.be06dafd0b7aa6754ffa.js} +6623 -856
- notebook/static/{notebook_core.9ad1da3c56e4826a4ef1.js.map → notebook_core.be06dafd0b7aa6754ffa.js.map} +1 -1
- notebook/static/third-party-licenses.json +105 -105
- notebook/templates/consoles.html +1 -1
- notebook/templates/edit.html +1 -1
- notebook/templates/error.html +1 -1
- notebook/templates/notebooks.html +1 -1
- notebook/templates/terminals.html +1 -1
- notebook/templates/tree.html +1 -1
- {notebook-7.4.0rc0.data → notebook-7.4.1.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/application-extension/package.json.orig +14 -14
- {notebook-7.4.0rc0.data → notebook-7.4.1.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/documentsearch-extension/package.json.orig +4 -4
- {notebook-7.4.0rc0.data → notebook-7.4.1.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/help-extension/package.json.orig +6 -6
- {notebook-7.4.0rc0.data → notebook-7.4.1.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/notebook-extension/package.json.orig +9 -9
- {notebook-7.4.0rc0.data → notebook-7.4.1.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/tree-extension/package.json.orig +15 -15
- {notebook-7.4.0rc0.data → notebook-7.4.1.data}/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/package.json +11 -11
- {notebook-7.4.0rc0.data → notebook-7.4.1.data}/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/schemas/@jupyter-notebook/lab-extension/package.json.orig +10 -10
- notebook-7.4.0rc0.data/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/568.1feb8bd10f19f8a92019.js → notebook-7.4.1.data/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/568.3cb448443af65777b224.js +1 -1
- notebook-7.4.0rc0.data/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/725.463c10ca93fb80504994.js → notebook-7.4.1.data/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/644.9e5b98f5332cc9dc3be5.js +1 -1
- notebook-7.4.0rc0.data/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/928.425dc0ea93c5e2c0f71b.js → notebook-7.4.1.data/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/928.daae2253ddb4a34b8e58.js +1 -1
- notebook-7.4.1.data/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/remoteEntry.642880ef752d818c35bb.js +1 -0
- {notebook-7.4.0rc0.data → notebook-7.4.1.data}/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/third-party-licenses.json +2 -2
- {notebook-7.4.0rc0.dist-info → notebook-7.4.1.dist-info}/METADATA +1 -1
- {notebook-7.4.0rc0.dist-info → notebook-7.4.1.dist-info}/RECORD +116 -116
- notebook/static/131.2d7644b406b0d9c7c44a.js +0 -1421
- notebook/static/131.2d7644b406b0d9c7c44a.js.map +0 -1
- notebook/static/3197.9c2bb14fe784ee4c4642.js.map +0 -1
- notebook/static/35.72c8a277c008cd943d91.js.map +0 -1
- notebook/static/4324.efe0e7d5f17747588b74.js.map +0 -1
- notebook/static/6236.ea8288f99f42bcff0039.js.map +0 -1
- notebook/static/8218.983a3a002f016180aaab.js.map +0 -1
- notebook/static/main.dad00688ccd4a81f2089.js +0 -1180
- notebook/static/main.dad00688ccd4a81f2089.js.map +0 -1
- notebook-7.4.0rc0.data/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/remoteEntry.e85e1e9e3320da7cee87.js +0 -1
- {notebook-7.4.0rc0.data → notebook-7.4.1.data}/data/etc/jupyter/jupyter_server_config.d/notebook.json +0 -0
- {notebook-7.4.0rc0.data → notebook-7.4.1.data}/data/share/applications/jupyter-notebook.desktop +0 -0
- {notebook-7.4.0rc0.data → notebook-7.4.1.data}/data/share/icons/hicolor/scalable/apps/notebook.svg +0 -0
- {notebook-7.4.0rc0.data → notebook-7.4.1.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/application-extension/menus.json +0 -0
- {notebook-7.4.0rc0.data → notebook-7.4.1.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/application-extension/pages.json +0 -0
- {notebook-7.4.0rc0.data → notebook-7.4.1.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/application-extension/shell.json +0 -0
- {notebook-7.4.0rc0.data → notebook-7.4.1.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/application-extension/title.json +0 -0
- {notebook-7.4.0rc0.data → notebook-7.4.1.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/application-extension/top.json +0 -0
- {notebook-7.4.0rc0.data → notebook-7.4.1.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/application-extension/zen.json +0 -0
- {notebook-7.4.0rc0.data → notebook-7.4.1.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/help-extension/open.json +0 -0
- {notebook-7.4.0rc0.data → notebook-7.4.1.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/notebook-extension/checkpoints.json +0 -0
- {notebook-7.4.0rc0.data → notebook-7.4.1.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/notebook-extension/edit-notebook-metadata.json +0 -0
- {notebook-7.4.0rc0.data → notebook-7.4.1.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/notebook-extension/full-width-notebook.json +0 -0
- {notebook-7.4.0rc0.data → notebook-7.4.1.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/notebook-extension/kernel-logo.json +0 -0
- {notebook-7.4.0rc0.data → notebook-7.4.1.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/notebook-extension/scroll-output.json +0 -0
- {notebook-7.4.0rc0.data → notebook-7.4.1.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/tree-extension/file-actions.json +0 -0
- {notebook-7.4.0rc0.data → notebook-7.4.1.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/tree-extension/widget.json +0 -0
- {notebook-7.4.0rc0.data → notebook-7.4.1.data}/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/schemas/@jupyter-notebook/lab-extension/interface-switcher.json +0 -0
- {notebook-7.4.0rc0.data → notebook-7.4.1.data}/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/schemas/@jupyter-notebook/lab-extension/launch-tree.json +0 -0
- {notebook-7.4.0rc0.data → notebook-7.4.1.data}/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/93.eae3497dd223d842d198.js +0 -0
- {notebook-7.4.0rc0.data → notebook-7.4.1.data}/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/style.js +0 -0
- {notebook-7.4.0rc0.dist-info → notebook-7.4.1.dist-info}/WHEEL +0 -0
- {notebook-7.4.0rc0.dist-info → notebook-7.4.1.dist-info}/entry_points.txt +0 -0
- {notebook-7.4.0rc0.dist-info → notebook-7.4.1.dist-info}/licenses/LICENSE +0 -0
|
@@ -1,16 +1,778 @@
|
|
|
1
|
+
(self["webpackChunk_JUPYTERLAB_CORE_OUTPUT"] = self["webpackChunk_JUPYTERLAB_CORE_OUTPUT"] || []).push([[131],{
|
|
2
|
+
|
|
3
|
+
/***/ 70131:
|
|
4
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
5
|
+
|
|
6
|
+
"use strict";
|
|
7
|
+
// ESM COMPAT FLAG
|
|
8
|
+
__webpack_require__.r(__webpack_exports__);
|
|
9
|
+
|
|
10
|
+
// EXPORTS
|
|
11
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
12
|
+
createPrecompiledValidator: () => (/* reexport */ createPrecompiledValidator),
|
|
13
|
+
customizeValidator: () => (/* reexport */ customizeValidator),
|
|
14
|
+
"default": () => (/* binding */ lib)
|
|
15
|
+
});
|
|
16
|
+
|
|
17
|
+
// EXTERNAL MODULE: consume shared module (default) @rjsf/utils@^5.13.4 (strict) (fallback: ../node_modules/@rjsf/utils/lib/index.js)
|
|
18
|
+
var index_js_ = __webpack_require__(24885);
|
|
19
|
+
// EXTERNAL MODULE: ../node_modules/@rjsf/validator-ajv8/node_modules/ajv/dist/ajv.js
|
|
20
|
+
var dist_ajv = __webpack_require__(20151);
|
|
21
|
+
var ajv_default = /*#__PURE__*/__webpack_require__.n(dist_ajv);
|
|
22
|
+
// EXTERNAL MODULE: ../node_modules/@rjsf/validator-ajv8/node_modules/ajv-formats/dist/index.js
|
|
23
|
+
var dist = __webpack_require__(58218);
|
|
24
|
+
var dist_default = /*#__PURE__*/__webpack_require__.n(dist);
|
|
25
|
+
// EXTERNAL MODULE: ../node_modules/lodash/isObject.js
|
|
26
|
+
var isObject = __webpack_require__(11611);
|
|
27
|
+
var isObject_default = /*#__PURE__*/__webpack_require__.n(isObject);
|
|
28
|
+
;// CONCATENATED MODULE: ../node_modules/@rjsf/validator-ajv8/lib/createAjvInstance.js
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
const AJV_CONFIG = {
|
|
34
|
+
allErrors: true,
|
|
35
|
+
multipleOfPrecision: 8,
|
|
36
|
+
strict: false,
|
|
37
|
+
verbose: true,
|
|
38
|
+
};
|
|
39
|
+
const COLOR_FORMAT_REGEX = /^(#?([0-9A-Fa-f]{3}){1,2}\b|aqua|black|blue|fuchsia|gray|green|lime|maroon|navy|olive|orange|purple|red|silver|teal|white|yellow|(rgb\(\s*\b([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\b\s*,\s*\b([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\b\s*,\s*\b([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\b\s*\))|(rgb\(\s*(\d?\d%|100%)+\s*,\s*(\d?\d%|100%)+\s*,\s*(\d?\d%|100%)+\s*\)))$/;
|
|
40
|
+
const DATA_URL_FORMAT_REGEX = /^data:([a-z]+\/[a-z0-9-+.]+)?;(?:name=(.*);)?base64,(.*)$/;
|
|
41
|
+
/** Creates an Ajv version 8 implementation object with standard support for the 'color` and `data-url` custom formats.
|
|
42
|
+
* If `additionalMetaSchemas` are provided then the Ajv instance is modified to add each of the meta schemas in the
|
|
43
|
+
* list. If `customFormats` are provided then those additional formats are added to the list of supported formats. If
|
|
44
|
+
* `ajvOptionsOverrides` are provided then they are spread on top of the default `AJV_CONFIG` options when constructing
|
|
45
|
+
* the `Ajv` instance. With Ajv v8, the JSON Schema formats are not provided by default, but can be plugged in. By
|
|
46
|
+
* default, all formats from the `ajv-formats` library are added. To disable this capability, set the `ajvFormatOptions`
|
|
47
|
+
* parameter to `false`. Additionally, you can configure the `ajv-formats` by providing a custom set of
|
|
48
|
+
* [format options](https://github.com/ajv-validator/ajv-formats) to the `ajvFormatOptions` parameter.
|
|
49
|
+
*
|
|
50
|
+
* @param [additionalMetaSchemas] - The list of additional meta schemas that the validator can access
|
|
51
|
+
* @param [customFormats] - The set of additional custom formats that the validator will support
|
|
52
|
+
* @param [ajvOptionsOverrides={}] - The set of validator config override options
|
|
53
|
+
* @param [ajvFormatOptions] - The `ajv-format` options to use when adding formats to `ajv`; pass `false` to disable it
|
|
54
|
+
* @param [AjvClass] - The `Ajv` class to use when creating the validator instance
|
|
55
|
+
*/
|
|
56
|
+
function createAjvInstance(additionalMetaSchemas, customFormats, ajvOptionsOverrides = {}, ajvFormatOptions, AjvClass = (ajv_default())) {
|
|
57
|
+
const ajv = new AjvClass({ ...AJV_CONFIG, ...ajvOptionsOverrides });
|
|
58
|
+
if (ajvFormatOptions) {
|
|
59
|
+
dist_default()(ajv, ajvFormatOptions);
|
|
60
|
+
}
|
|
61
|
+
else if (ajvFormatOptions !== false) {
|
|
62
|
+
dist_default()(ajv);
|
|
63
|
+
}
|
|
64
|
+
// add custom formats
|
|
65
|
+
ajv.addFormat('data-url', DATA_URL_FORMAT_REGEX);
|
|
66
|
+
ajv.addFormat('color', COLOR_FORMAT_REGEX);
|
|
67
|
+
// Add RJSF-specific additional properties keywords so Ajv doesn't report errors if strict is enabled.
|
|
68
|
+
ajv.addKeyword(index_js_.ADDITIONAL_PROPERTY_FLAG);
|
|
69
|
+
ajv.addKeyword(index_js_.RJSF_ADDITONAL_PROPERTIES_FLAG);
|
|
70
|
+
// add more schemas to validate against
|
|
71
|
+
if (Array.isArray(additionalMetaSchemas)) {
|
|
72
|
+
ajv.addMetaSchema(additionalMetaSchemas);
|
|
73
|
+
}
|
|
74
|
+
// add more custom formats to validate against
|
|
75
|
+
if (isObject_default()(customFormats)) {
|
|
76
|
+
Object.keys(customFormats).forEach((formatName) => {
|
|
77
|
+
ajv.addFormat(formatName, customFormats[formatName]);
|
|
78
|
+
});
|
|
79
|
+
}
|
|
80
|
+
return ajv;
|
|
81
|
+
}
|
|
82
|
+
//# sourceMappingURL=createAjvInstance.js.map
|
|
83
|
+
// EXTERNAL MODULE: ../node_modules/lodash/get.js
|
|
84
|
+
var get = __webpack_require__(99729);
|
|
85
|
+
var get_default = /*#__PURE__*/__webpack_require__.n(get);
|
|
86
|
+
;// CONCATENATED MODULE: ../node_modules/@rjsf/validator-ajv8/lib/processRawValidationErrors.js
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
/** Transforming the error output from ajv to format used by @rjsf/utils.
|
|
90
|
+
* At some point, components should be updated to support ajv.
|
|
91
|
+
*
|
|
92
|
+
* @param errors - The list of AJV errors to convert to `RJSFValidationErrors`
|
|
93
|
+
* @param [uiSchema] - An optional uiSchema that is passed to `transformErrors` and `customValidate`
|
|
94
|
+
*/
|
|
95
|
+
function transformRJSFValidationErrors(errors = [], uiSchema) {
|
|
96
|
+
return errors.map((e) => {
|
|
97
|
+
const { instancePath, keyword, params, schemaPath, parentSchema, ...rest } = e;
|
|
98
|
+
let { message = '' } = rest;
|
|
99
|
+
let property = instancePath.replace(/\//g, '.');
|
|
100
|
+
let stack = `${property} ${message}`.trim();
|
|
101
|
+
if ('missingProperty' in params) {
|
|
102
|
+
property = property ? `${property}.${params.missingProperty}` : params.missingProperty;
|
|
103
|
+
const currentProperty = params.missingProperty;
|
|
104
|
+
const uiSchemaTitle = (0,index_js_.getUiOptions)(get_default()(uiSchema, `${property.replace(/^\./, '')}`)).title;
|
|
105
|
+
if (uiSchemaTitle) {
|
|
106
|
+
message = message.replace(currentProperty, uiSchemaTitle);
|
|
107
|
+
}
|
|
108
|
+
else {
|
|
109
|
+
const parentSchemaTitle = get_default()(parentSchema, [index_js_.PROPERTIES_KEY, currentProperty, 'title']);
|
|
110
|
+
if (parentSchemaTitle) {
|
|
111
|
+
message = message.replace(currentProperty, parentSchemaTitle);
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
stack = message;
|
|
115
|
+
}
|
|
116
|
+
else {
|
|
117
|
+
const uiSchemaTitle = (0,index_js_.getUiOptions)(get_default()(uiSchema, `${property.replace(/^\./, '')}`)).title;
|
|
118
|
+
if (uiSchemaTitle) {
|
|
119
|
+
stack = `'${uiSchemaTitle}' ${message}`.trim();
|
|
120
|
+
}
|
|
121
|
+
else {
|
|
122
|
+
const parentSchemaTitle = parentSchema === null || parentSchema === void 0 ? void 0 : parentSchema.title;
|
|
123
|
+
if (parentSchemaTitle) {
|
|
124
|
+
stack = `'${parentSchemaTitle}' ${message}`.trim();
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
// put data in expected format
|
|
129
|
+
return {
|
|
130
|
+
name: keyword,
|
|
131
|
+
property,
|
|
132
|
+
message,
|
|
133
|
+
params,
|
|
134
|
+
stack,
|
|
135
|
+
schemaPath,
|
|
136
|
+
};
|
|
137
|
+
});
|
|
138
|
+
}
|
|
139
|
+
/** This function processes the `formData` with an optional user contributed `customValidate` function, which receives
|
|
140
|
+
* the form data and a `errorHandler` function that will be used to add custom validation errors for each field. Also
|
|
141
|
+
* supports a `transformErrors` function that will take the raw AJV validation errors, prior to custom validation and
|
|
142
|
+
* transform them in what ever way it chooses.
|
|
143
|
+
*
|
|
144
|
+
* @param validator - The `ValidatorType` implementation used for the `getDefaultFormState()` call
|
|
145
|
+
* @param rawErrors - The list of raw `ErrorObject`s to process
|
|
146
|
+
* @param formData - The form data to validate
|
|
147
|
+
* @param schema - The schema against which to validate the form data
|
|
148
|
+
* @param [customValidate] - An optional function that is used to perform custom validation
|
|
149
|
+
* @param [transformErrors] - An optional function that is used to transform errors after AJV validation
|
|
150
|
+
* @param [uiSchema] - An optional uiSchema that is passed to `transformErrors` and `customValidate`
|
|
151
|
+
*/
|
|
152
|
+
function processRawValidationErrors(validator, rawErrors, formData, schema, customValidate, transformErrors, uiSchema) {
|
|
153
|
+
const { validationError: invalidSchemaError } = rawErrors;
|
|
154
|
+
let errors = transformRJSFValidationErrors(rawErrors.errors, uiSchema);
|
|
155
|
+
if (invalidSchemaError) {
|
|
156
|
+
errors = [...errors, { stack: invalidSchemaError.message }];
|
|
157
|
+
}
|
|
158
|
+
if (typeof transformErrors === 'function') {
|
|
159
|
+
errors = transformErrors(errors, uiSchema);
|
|
160
|
+
}
|
|
161
|
+
let errorSchema = (0,index_js_.toErrorSchema)(errors);
|
|
162
|
+
if (invalidSchemaError) {
|
|
163
|
+
errorSchema = {
|
|
164
|
+
...errorSchema,
|
|
165
|
+
$schema: {
|
|
166
|
+
__errors: [invalidSchemaError.message],
|
|
167
|
+
},
|
|
168
|
+
};
|
|
169
|
+
}
|
|
170
|
+
if (typeof customValidate !== 'function') {
|
|
171
|
+
return { errors, errorSchema };
|
|
172
|
+
}
|
|
173
|
+
// Include form data with undefined values, which is required for custom validation.
|
|
174
|
+
const newFormData = (0,index_js_.getDefaultFormState)(validator, schema, formData, schema, true);
|
|
175
|
+
const errorHandler = customValidate(newFormData, (0,index_js_.createErrorHandler)(newFormData), uiSchema);
|
|
176
|
+
const userErrorSchema = (0,index_js_.unwrapErrorHandler)(errorHandler);
|
|
177
|
+
return (0,index_js_.validationDataMerge)({ errors, errorSchema }, userErrorSchema);
|
|
178
|
+
}
|
|
179
|
+
//# sourceMappingURL=processRawValidationErrors.js.map
|
|
180
|
+
;// CONCATENATED MODULE: ../node_modules/@rjsf/validator-ajv8/lib/validator.js
|
|
181
|
+
|
|
182
|
+
|
|
183
|
+
|
|
184
|
+
/** `ValidatorType` implementation that uses the AJV 8 validation mechanism.
|
|
185
|
+
*/
|
|
186
|
+
class AJV8Validator {
|
|
187
|
+
/** Constructs an `AJV8Validator` instance using the `options`
|
|
188
|
+
*
|
|
189
|
+
* @param options - The `CustomValidatorOptionsType` options that are used to create the AJV instance
|
|
190
|
+
* @param [localizer] - If provided, is used to localize a list of Ajv `ErrorObject`s
|
|
191
|
+
*/
|
|
192
|
+
constructor(options, localizer) {
|
|
193
|
+
const { additionalMetaSchemas, customFormats, ajvOptionsOverrides, ajvFormatOptions, AjvClass } = options;
|
|
194
|
+
this.ajv = createAjvInstance(additionalMetaSchemas, customFormats, ajvOptionsOverrides, ajvFormatOptions, AjvClass);
|
|
195
|
+
this.localizer = localizer;
|
|
196
|
+
}
|
|
197
|
+
/** Converts an `errorSchema` into a list of `RJSFValidationErrors`
|
|
198
|
+
*
|
|
199
|
+
* @param errorSchema - The `ErrorSchema` instance to convert
|
|
200
|
+
* @param [fieldPath=[]] - The current field path, defaults to [] if not specified
|
|
201
|
+
* @deprecated - Use the `toErrorList()` function provided by `@rjsf/utils` instead. This function will be removed in
|
|
202
|
+
* the next major release.
|
|
203
|
+
*/
|
|
204
|
+
toErrorList(errorSchema, fieldPath = []) {
|
|
205
|
+
return (0,index_js_.toErrorList)(errorSchema, fieldPath);
|
|
206
|
+
}
|
|
207
|
+
/** Runs the pure validation of the `schema` and `formData` without any of the RJSF functionality. Provided for use
|
|
208
|
+
* by the playground. Returns the `errors` from the validation
|
|
209
|
+
*
|
|
210
|
+
* @param schema - The schema against which to validate the form data * @param schema
|
|
211
|
+
* @param formData - The form data to validate
|
|
212
|
+
*/
|
|
213
|
+
rawValidation(schema, formData) {
|
|
214
|
+
let compilationError = undefined;
|
|
215
|
+
let compiledValidator;
|
|
216
|
+
if (schema[index_js_.ID_KEY]) {
|
|
217
|
+
compiledValidator = this.ajv.getSchema(schema[index_js_.ID_KEY]);
|
|
218
|
+
}
|
|
219
|
+
try {
|
|
220
|
+
if (compiledValidator === undefined) {
|
|
221
|
+
compiledValidator = this.ajv.compile(schema);
|
|
222
|
+
}
|
|
223
|
+
compiledValidator(formData);
|
|
224
|
+
}
|
|
225
|
+
catch (err) {
|
|
226
|
+
compilationError = err;
|
|
227
|
+
}
|
|
228
|
+
let errors;
|
|
229
|
+
if (compiledValidator) {
|
|
230
|
+
if (typeof this.localizer === 'function') {
|
|
231
|
+
this.localizer(compiledValidator.errors);
|
|
232
|
+
}
|
|
233
|
+
errors = compiledValidator.errors || undefined;
|
|
234
|
+
// Clear errors to prevent persistent errors, see #1104
|
|
235
|
+
compiledValidator.errors = null;
|
|
236
|
+
}
|
|
237
|
+
return {
|
|
238
|
+
errors: errors,
|
|
239
|
+
validationError: compilationError,
|
|
240
|
+
};
|
|
241
|
+
}
|
|
242
|
+
/** This function processes the `formData` with an optional user contributed `customValidate` function, which receives
|
|
243
|
+
* the form data and a `errorHandler` function that will be used to add custom validation errors for each field. Also
|
|
244
|
+
* supports a `transformErrors` function that will take the raw AJV validation errors, prior to custom validation and
|
|
245
|
+
* transform them in what ever way it chooses.
|
|
246
|
+
*
|
|
247
|
+
* @param formData - The form data to validate
|
|
248
|
+
* @param schema - The schema against which to validate the form data
|
|
249
|
+
* @param [customValidate] - An optional function that is used to perform custom validation
|
|
250
|
+
* @param [transformErrors] - An optional function that is used to transform errors after AJV validation
|
|
251
|
+
* @param [uiSchema] - An optional uiSchema that is passed to `transformErrors` and `customValidate`
|
|
252
|
+
*/
|
|
253
|
+
validateFormData(formData, schema, customValidate, transformErrors, uiSchema) {
|
|
254
|
+
const rawErrors = this.rawValidation(schema, formData);
|
|
255
|
+
return processRawValidationErrors(this, rawErrors, formData, schema, customValidate, transformErrors, uiSchema);
|
|
256
|
+
}
|
|
257
|
+
/** Validates data against a schema, returning true if the data is valid, or
|
|
258
|
+
* false otherwise. If the schema is invalid, then this function will return
|
|
259
|
+
* false.
|
|
260
|
+
*
|
|
261
|
+
* @param schema - The schema against which to validate the form data
|
|
262
|
+
* @param formData - The form data to validate
|
|
263
|
+
* @param rootSchema - The root schema used to provide $ref resolutions
|
|
264
|
+
*/
|
|
265
|
+
isValid(schema, formData, rootSchema) {
|
|
266
|
+
var _a, _b;
|
|
267
|
+
const rootSchemaId = (_a = rootSchema[index_js_.ID_KEY]) !== null && _a !== void 0 ? _a : index_js_.ROOT_SCHEMA_PREFIX;
|
|
268
|
+
try {
|
|
269
|
+
// add the rootSchema ROOT_SCHEMA_PREFIX as id.
|
|
270
|
+
// then rewrite the schema ref's to point to the rootSchema
|
|
271
|
+
// this accounts for the case where schema have references to models
|
|
272
|
+
// that lives in the rootSchema but not in the schema in question.
|
|
273
|
+
// if (this.ajv.getSchema(rootSchemaId) === undefined) {
|
|
274
|
+
// TODO restore the commented out `if` above when the TODO in the `finally` is completed
|
|
275
|
+
this.ajv.addSchema(rootSchema, rootSchemaId);
|
|
276
|
+
// }
|
|
277
|
+
const schemaWithIdRefPrefix = (0,index_js_.withIdRefPrefix)(schema);
|
|
278
|
+
const schemaId = (_b = schemaWithIdRefPrefix[index_js_.ID_KEY]) !== null && _b !== void 0 ? _b : (0,index_js_.hashForSchema)(schemaWithIdRefPrefix);
|
|
279
|
+
let compiledValidator;
|
|
280
|
+
compiledValidator = this.ajv.getSchema(schemaId);
|
|
281
|
+
if (compiledValidator === undefined) {
|
|
282
|
+
// Add schema by an explicit ID so it can be fetched later
|
|
283
|
+
// Fall back to using compile if necessary
|
|
284
|
+
// https://ajv.js.org/guide/managing-schemas.html#pre-adding-all-schemas-vs-adding-on-demand
|
|
285
|
+
compiledValidator =
|
|
286
|
+
this.ajv.addSchema(schemaWithIdRefPrefix, schemaId).getSchema(schemaId) ||
|
|
287
|
+
this.ajv.compile(schemaWithIdRefPrefix);
|
|
288
|
+
}
|
|
289
|
+
const result = compiledValidator(formData);
|
|
290
|
+
return result;
|
|
291
|
+
}
|
|
292
|
+
catch (e) {
|
|
293
|
+
console.warn('Error encountered compiling schema:', e);
|
|
294
|
+
return false;
|
|
295
|
+
}
|
|
296
|
+
finally {
|
|
297
|
+
// TODO: A function should be called if the root schema changes so we don't have to remove and recompile the schema every run.
|
|
298
|
+
// make sure we remove the rootSchema from the global ajv instance
|
|
299
|
+
this.ajv.removeSchema(rootSchemaId);
|
|
300
|
+
}
|
|
301
|
+
}
|
|
302
|
+
}
|
|
303
|
+
//# sourceMappingURL=validator.js.map
|
|
304
|
+
;// CONCATENATED MODULE: ../node_modules/@rjsf/validator-ajv8/lib/customizeValidator.js
|
|
305
|
+
|
|
306
|
+
/** Creates and returns a customized implementation of the `ValidatorType` with the given customization `options` if
|
|
307
|
+
* provided. If a `localizer` is provided, it is used to translate the messages generated by the underlying AJV
|
|
308
|
+
* validation.
|
|
309
|
+
*
|
|
310
|
+
* @param [options={}] - The `CustomValidatorOptionsType` options that are used to create the `ValidatorType` instance
|
|
311
|
+
* @param [localizer] - If provided, is used to localize a list of Ajv `ErrorObject`s
|
|
312
|
+
* @returns - The custom validator implementation resulting from the set of parameters provided
|
|
313
|
+
*/
|
|
314
|
+
function customizeValidator(options = {}, localizer) {
|
|
315
|
+
return new AJV8Validator(options, localizer);
|
|
316
|
+
}
|
|
317
|
+
//# sourceMappingURL=customizeValidator.js.map
|
|
318
|
+
// EXTERNAL MODULE: ../node_modules/lodash/isEqual.js
|
|
319
|
+
var isEqual = __webpack_require__(56141);
|
|
320
|
+
var isEqual_default = /*#__PURE__*/__webpack_require__.n(isEqual);
|
|
321
|
+
;// CONCATENATED MODULE: ../node_modules/@rjsf/validator-ajv8/lib/precompiledValidator.js
|
|
322
|
+
|
|
323
|
+
|
|
324
|
+
|
|
325
|
+
|
|
326
|
+
/** `ValidatorType` implementation that uses an AJV 8 precompiled validator as created by the
|
|
327
|
+
* `compileSchemaValidators()` function provided by the `@rjsf/validator-ajv8` library.
|
|
328
|
+
*/
|
|
329
|
+
class AJV8PrecompiledValidator {
|
|
330
|
+
/** Constructs an `AJV8PrecompiledValidator` instance using the `validateFns` and `rootSchema`
|
|
331
|
+
*
|
|
332
|
+
* @param validateFns - The map of the validation functions that are generated by the `schemaCompile()` function
|
|
333
|
+
* @param rootSchema - The root schema that was used with the `compileSchema()` function
|
|
334
|
+
* @param [localizer] - If provided, is used to localize a list of Ajv `ErrorObject`s
|
|
335
|
+
* @throws - Error when the base schema of the precompiled validator does not have a matching validator function
|
|
336
|
+
*/
|
|
337
|
+
constructor(validateFns, rootSchema, localizer) {
|
|
338
|
+
this.rootSchema = rootSchema;
|
|
339
|
+
this.validateFns = validateFns;
|
|
340
|
+
this.localizer = localizer;
|
|
341
|
+
this.mainValidator = this.getValidator(rootSchema);
|
|
342
|
+
}
|
|
343
|
+
/** Returns the precompiled validator associated with the given `schema` from the map of precompiled validator
|
|
344
|
+
* functions.
|
|
345
|
+
*
|
|
346
|
+
* @param schema - The schema for which a precompiled validator function is desired
|
|
347
|
+
* @returns - The precompiled validator function associated with this schema
|
|
348
|
+
*/
|
|
349
|
+
getValidator(schema) {
|
|
350
|
+
const key = get_default()(schema, index_js_.ID_KEY) || (0,index_js_.hashForSchema)(schema);
|
|
351
|
+
const validator = this.validateFns[key];
|
|
352
|
+
if (!validator) {
|
|
353
|
+
throw new Error(`No precompiled validator function was found for the given schema for "${key}"`);
|
|
354
|
+
}
|
|
355
|
+
return validator;
|
|
356
|
+
}
|
|
357
|
+
/** Ensures that the validator is using the same schema as the root schema used to construct the precompiled
|
|
358
|
+
* validator. It first compares the given `schema` against the root schema and if they aren't the same, then it
|
|
359
|
+
* checks against the resolved root schema, on the chance that a resolved version of the root schema was passed in
|
|
360
|
+
* instead of the raw root schema.
|
|
361
|
+
*
|
|
362
|
+
* @param schema - The schema against which to validate the form data
|
|
363
|
+
* @param [formData] - The form data to validate if any
|
|
364
|
+
*/
|
|
365
|
+
ensureSameRootSchema(schema, formData) {
|
|
366
|
+
if (!isEqual_default()(schema, this.rootSchema)) {
|
|
367
|
+
// Resolve the root schema with the passed in form data since that may affect the resolution
|
|
368
|
+
const resolvedRootSchema = (0,index_js_.retrieveSchema)(this, this.rootSchema, this.rootSchema, formData);
|
|
369
|
+
if (!isEqual_default()(schema, resolvedRootSchema)) {
|
|
370
|
+
throw new Error('The schema associated with the precompiled validator differs from the rootSchema provided for validation');
|
|
371
|
+
}
|
|
372
|
+
}
|
|
373
|
+
return true;
|
|
374
|
+
}
|
|
375
|
+
/** Converts an `errorSchema` into a list of `RJSFValidationErrors`
|
|
376
|
+
*
|
|
377
|
+
* @param errorSchema - The `ErrorSchema` instance to convert
|
|
378
|
+
* @param [fieldPath=[]] - The current field path, defaults to [] if not specified
|
|
379
|
+
* @deprecated - Use the `toErrorList()` function provided by `@rjsf/utils` instead. This function will be removed in
|
|
380
|
+
* the next major release.
|
|
381
|
+
*/
|
|
382
|
+
toErrorList(errorSchema, fieldPath = []) {
|
|
383
|
+
return (0,index_js_.toErrorList)(errorSchema, fieldPath);
|
|
384
|
+
}
|
|
385
|
+
/** Runs the pure validation of the `schema` and `formData` without any of the RJSF functionality. Provided for use
|
|
386
|
+
* by the playground. Returns the `errors` from the validation
|
|
387
|
+
*
|
|
388
|
+
* @param schema - The schema against which to validate the form data
|
|
389
|
+
* @param [formData] - The form data to validate, if any
|
|
390
|
+
* @throws - Error when the schema provided does not match the base schema of the precompiled validator
|
|
391
|
+
*/
|
|
392
|
+
rawValidation(schema, formData) {
|
|
393
|
+
this.ensureSameRootSchema(schema, formData);
|
|
394
|
+
this.mainValidator(formData);
|
|
395
|
+
if (typeof this.localizer === 'function') {
|
|
396
|
+
this.localizer(this.mainValidator.errors);
|
|
397
|
+
}
|
|
398
|
+
const errors = this.mainValidator.errors || undefined;
|
|
399
|
+
// Clear errors to prevent persistent errors, see #1104
|
|
400
|
+
this.mainValidator.errors = null;
|
|
401
|
+
return { errors: errors };
|
|
402
|
+
}
|
|
403
|
+
/** This function processes the `formData` with an optional user contributed `customValidate` function, which receives
|
|
404
|
+
* the form data and a `errorHandler` function that will be used to add custom validation errors for each field. Also
|
|
405
|
+
* supports a `transformErrors` function that will take the raw AJV validation errors, prior to custom validation and
|
|
406
|
+
* transform them in what ever way it chooses.
|
|
407
|
+
*
|
|
408
|
+
* @param formData - The form data to validate
|
|
409
|
+
* @param schema - The schema against which to validate the form data
|
|
410
|
+
* @param [customValidate] - An optional function that is used to perform custom validation
|
|
411
|
+
* @param [transformErrors] - An optional function that is used to transform errors after AJV validation
|
|
412
|
+
* @param [uiSchema] - An optional uiSchema that is passed to `transformErrors` and `customValidate`
|
|
413
|
+
*/
|
|
414
|
+
validateFormData(formData, schema, customValidate, transformErrors, uiSchema) {
|
|
415
|
+
const rawErrors = this.rawValidation(schema, formData);
|
|
416
|
+
return processRawValidationErrors(this, rawErrors, formData, schema, customValidate, transformErrors, uiSchema);
|
|
417
|
+
}
|
|
418
|
+
/** Validates data against a schema, returning true if the data is valid, or false otherwise. If the schema is
|
|
419
|
+
* invalid, then this function will return false.
|
|
420
|
+
*
|
|
421
|
+
* @param schema - The schema against which to validate the form data
|
|
422
|
+
* @param formData - The form data to validate
|
|
423
|
+
* @param rootSchema - The root schema used to provide $ref resolutions
|
|
424
|
+
* @returns - true if the formData validates against the schema, false otherwise
|
|
425
|
+
* @throws - Error when the schema provided does not match the base schema of the precompiled validator OR if there
|
|
426
|
+
* isn't a precompiled validator function associated with the schema
|
|
427
|
+
*/
|
|
428
|
+
isValid(schema, formData, rootSchema) {
|
|
429
|
+
this.ensureSameRootSchema(rootSchema, formData);
|
|
430
|
+
if (get_default()(schema, index_js_.ID_KEY) === index_js_.JUNK_OPTION_ID) {
|
|
431
|
+
return false;
|
|
432
|
+
}
|
|
433
|
+
const validator = this.getValidator(schema);
|
|
434
|
+
return validator(formData);
|
|
435
|
+
}
|
|
436
|
+
}
|
|
437
|
+
//# sourceMappingURL=precompiledValidator.js.map
|
|
438
|
+
;// CONCATENATED MODULE: ../node_modules/@rjsf/validator-ajv8/lib/createPrecompiledValidator.js
|
|
439
|
+
|
|
440
|
+
/** Creates and returns a `ValidatorType` interface that is implemented with a precompiled validator. If a `localizer`
|
|
441
|
+
* is provided, it is used to translate the messages generated by the underlying AJV validation.
|
|
442
|
+
*
|
|
443
|
+
* NOTE: The `validateFns` parameter is an object obtained by importing from a precompiled validation file created via
|
|
444
|
+
* the `compileSchemaValidators()` function.
|
|
445
|
+
*
|
|
446
|
+
* @param validateFns - The map of the validation functions that are created by the `compileSchemaValidators()` function
|
|
447
|
+
* @param rootSchema - The root schema that was used with the `compileSchemaValidators()` function
|
|
448
|
+
* @param [localizer] - If provided, is used to localize a list of Ajv `ErrorObject`s
|
|
449
|
+
* @returns - The precompiled validator implementation resulting from the set of parameters provided
|
|
450
|
+
*/
|
|
451
|
+
function createPrecompiledValidator(validateFns, rootSchema, localizer) {
|
|
452
|
+
return new AJV8PrecompiledValidator(validateFns, rootSchema, localizer);
|
|
453
|
+
}
|
|
454
|
+
//# sourceMappingURL=createPrecompiledValidator.js.map
|
|
455
|
+
;// CONCATENATED MODULE: ../node_modules/@rjsf/validator-ajv8/lib/index.js
|
|
456
|
+
|
|
457
|
+
|
|
458
|
+
|
|
459
|
+
|
|
460
|
+
/* harmony default export */ const lib = (customizeValidator());
|
|
461
|
+
//# sourceMappingURL=index.js.map
|
|
462
|
+
|
|
463
|
+
/***/ }),
|
|
464
|
+
|
|
465
|
+
/***/ 67796:
|
|
466
|
+
/***/ ((__unused_webpack_module, exports) => {
|
|
467
|
+
|
|
468
|
+
"use strict";
|
|
469
|
+
|
|
470
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
471
|
+
exports.formatNames = exports.fastFormats = exports.fullFormats = void 0;
|
|
472
|
+
function fmtDef(validate, compare) {
|
|
473
|
+
return { validate, compare };
|
|
474
|
+
}
|
|
475
|
+
exports.fullFormats = {
|
|
476
|
+
// date: http://tools.ietf.org/html/rfc3339#section-5.6
|
|
477
|
+
date: fmtDef(date, compareDate),
|
|
478
|
+
// date-time: http://tools.ietf.org/html/rfc3339#section-5.6
|
|
479
|
+
time: fmtDef(time, compareTime),
|
|
480
|
+
"date-time": fmtDef(date_time, compareDateTime),
|
|
481
|
+
// duration: https://tools.ietf.org/html/rfc3339#appendix-A
|
|
482
|
+
duration: /^P(?!$)((\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+S)?)?|(\d+W)?)$/,
|
|
483
|
+
uri,
|
|
484
|
+
"uri-reference": /^(?:[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,
|
|
485
|
+
// uri-template: https://tools.ietf.org/html/rfc6570
|
|
486
|
+
"uri-template": /^(?:(?:[^\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,
|
|
487
|
+
// For the source: https://gist.github.com/dperini/729294
|
|
488
|
+
// For test cases: https://mathiasbynens.be/demo/url-regex
|
|
489
|
+
url: /^(?:https?|ftp):\/\/(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z0-9\u{00a1}-\u{ffff}]+-)*[a-z0-9\u{00a1}-\u{ffff}]+)(?:\.(?:[a-z0-9\u{00a1}-\u{ffff}]+-)*[a-z0-9\u{00a1}-\u{ffff}]+)*(?:\.(?:[a-z\u{00a1}-\u{ffff}]{2,})))(?::\d{2,5})?(?:\/[^\s]*)?$/iu,
|
|
490
|
+
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,
|
|
491
|
+
hostname: /^(?=.{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,
|
|
492
|
+
// optimized https://www.safaribooksonline.com/library/view/regular-expressions-cookbook/9780596802837/ch07s16.html
|
|
493
|
+
ipv4: /^(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)$/,
|
|
494
|
+
ipv6: /^((([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}))|:)))$/i,
|
|
495
|
+
regex,
|
|
496
|
+
// uuid: http://tools.ietf.org/html/rfc4122
|
|
497
|
+
uuid: /^(?:urn:uuid:)?[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$/i,
|
|
498
|
+
// JSON-pointer: https://tools.ietf.org/html/rfc6901
|
|
499
|
+
// uri fragment: https://tools.ietf.org/html/rfc3986#appendix-A
|
|
500
|
+
"json-pointer": /^(?:\/(?:[^~/]|~0|~1)*)*$/,
|
|
501
|
+
"json-pointer-uri-fragment": /^#(?:\/(?:[a-z0-9_\-.!$&'()*+,;:=@]|%[0-9a-f]{2}|~0|~1)*)*$/i,
|
|
502
|
+
// relative JSON-pointer: http://tools.ietf.org/html/draft-luff-relative-json-pointer-00
|
|
503
|
+
"relative-json-pointer": /^(?:0|[1-9][0-9]*)(?:#|(?:\/(?:[^~/]|~0|~1)*)*)$/,
|
|
504
|
+
// the following formats are used by the openapi specification: https://spec.openapis.org/oas/v3.0.0#data-types
|
|
505
|
+
// byte: https://github.com/miguelmota/is-base64
|
|
506
|
+
byte,
|
|
507
|
+
// signed 32 bit integer
|
|
508
|
+
int32: { type: "number", validate: validateInt32 },
|
|
509
|
+
// signed 64 bit integer
|
|
510
|
+
int64: { type: "number", validate: validateInt64 },
|
|
511
|
+
// C-type float
|
|
512
|
+
float: { type: "number", validate: validateNumber },
|
|
513
|
+
// C-type double
|
|
514
|
+
double: { type: "number", validate: validateNumber },
|
|
515
|
+
// hint to the UI to hide input strings
|
|
516
|
+
password: true,
|
|
517
|
+
// unchecked string payload
|
|
518
|
+
binary: true,
|
|
519
|
+
};
|
|
520
|
+
exports.fastFormats = {
|
|
521
|
+
...exports.fullFormats,
|
|
522
|
+
date: fmtDef(/^\d\d\d\d-[0-1]\d-[0-3]\d$/, compareDate),
|
|
523
|
+
time: fmtDef(/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)?$/i, compareTime),
|
|
524
|
+
"date-time": fmtDef(/^\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, compareDateTime),
|
|
525
|
+
// uri: https://github.com/mafintosh/is-my-json-valid/blob/master/formats.js
|
|
526
|
+
uri: /^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/)?[^\s]*$/i,
|
|
527
|
+
"uri-reference": /^(?:(?:[a-z][a-z0-9+\-.]*:)?\/?\/)?(?:[^\\\s#][^\s#]*)?(?:#[^\\\s]*)?$/i,
|
|
528
|
+
// email (sources from jsen validator):
|
|
529
|
+
// http://stackoverflow.com/questions/201323/using-a-regular-expression-to-validate-an-email-address#answer-8829363
|
|
530
|
+
// http://www.w3.org/TR/html5/forms.html#valid-e-mail-address (search for 'wilful violation')
|
|
531
|
+
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,
|
|
532
|
+
};
|
|
533
|
+
exports.formatNames = Object.keys(exports.fullFormats);
|
|
534
|
+
function isLeapYear(year) {
|
|
535
|
+
// https://tools.ietf.org/html/rfc3339#appendix-C
|
|
536
|
+
return year % 4 === 0 && (year % 100 !== 0 || year % 400 === 0);
|
|
537
|
+
}
|
|
538
|
+
const DATE = /^(\d\d\d\d)-(\d\d)-(\d\d)$/;
|
|
539
|
+
const DAYS = [0, 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];
|
|
540
|
+
function date(str) {
|
|
541
|
+
// full-date from http://tools.ietf.org/html/rfc3339#section-5.6
|
|
542
|
+
const matches = DATE.exec(str);
|
|
543
|
+
if (!matches)
|
|
544
|
+
return false;
|
|
545
|
+
const year = +matches[1];
|
|
546
|
+
const month = +matches[2];
|
|
547
|
+
const day = +matches[3];
|
|
548
|
+
return (month >= 1 &&
|
|
549
|
+
month <= 12 &&
|
|
550
|
+
day >= 1 &&
|
|
551
|
+
day <= (month === 2 && isLeapYear(year) ? 29 : DAYS[month]));
|
|
552
|
+
}
|
|
553
|
+
function compareDate(d1, d2) {
|
|
554
|
+
if (!(d1 && d2))
|
|
555
|
+
return undefined;
|
|
556
|
+
if (d1 > d2)
|
|
557
|
+
return 1;
|
|
558
|
+
if (d1 < d2)
|
|
559
|
+
return -1;
|
|
560
|
+
return 0;
|
|
561
|
+
}
|
|
562
|
+
const TIME = /^(\d\d):(\d\d):(\d\d)(\.\d+)?(z|[+-]\d\d(?::?\d\d)?)?$/i;
|
|
563
|
+
function time(str, withTimeZone) {
|
|
564
|
+
const matches = TIME.exec(str);
|
|
565
|
+
if (!matches)
|
|
566
|
+
return false;
|
|
567
|
+
const hour = +matches[1];
|
|
568
|
+
const minute = +matches[2];
|
|
569
|
+
const second = +matches[3];
|
|
570
|
+
const timeZone = matches[5];
|
|
571
|
+
return (((hour <= 23 && minute <= 59 && second <= 59) ||
|
|
572
|
+
(hour === 23 && minute === 59 && second === 60)) &&
|
|
573
|
+
(!withTimeZone || timeZone !== ""));
|
|
574
|
+
}
|
|
575
|
+
function compareTime(t1, t2) {
|
|
576
|
+
if (!(t1 && t2))
|
|
577
|
+
return undefined;
|
|
578
|
+
const a1 = TIME.exec(t1);
|
|
579
|
+
const a2 = TIME.exec(t2);
|
|
580
|
+
if (!(a1 && a2))
|
|
581
|
+
return undefined;
|
|
582
|
+
t1 = a1[1] + a1[2] + a1[3] + (a1[4] || "");
|
|
583
|
+
t2 = a2[1] + a2[2] + a2[3] + (a2[4] || "");
|
|
584
|
+
if (t1 > t2)
|
|
585
|
+
return 1;
|
|
586
|
+
if (t1 < t2)
|
|
587
|
+
return -1;
|
|
588
|
+
return 0;
|
|
589
|
+
}
|
|
590
|
+
const DATE_TIME_SEPARATOR = /t|\s/i;
|
|
591
|
+
function date_time(str) {
|
|
592
|
+
// http://tools.ietf.org/html/rfc3339#section-5.6
|
|
593
|
+
const dateTime = str.split(DATE_TIME_SEPARATOR);
|
|
594
|
+
return dateTime.length === 2 && date(dateTime[0]) && time(dateTime[1], true);
|
|
595
|
+
}
|
|
596
|
+
function compareDateTime(dt1, dt2) {
|
|
597
|
+
if (!(dt1 && dt2))
|
|
598
|
+
return undefined;
|
|
599
|
+
const [d1, t1] = dt1.split(DATE_TIME_SEPARATOR);
|
|
600
|
+
const [d2, t2] = dt2.split(DATE_TIME_SEPARATOR);
|
|
601
|
+
const res = compareDate(d1, d2);
|
|
602
|
+
if (res === undefined)
|
|
603
|
+
return undefined;
|
|
604
|
+
return res || compareTime(t1, t2);
|
|
605
|
+
}
|
|
606
|
+
const NOT_URI_FRAGMENT = /\/|:/;
|
|
607
|
+
const URI = /^(?:[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;
|
|
608
|
+
function uri(str) {
|
|
609
|
+
// http://jmrware.com/articles/2009/uri_regexp/URI_regex.html + optional protocol + required "."
|
|
610
|
+
return NOT_URI_FRAGMENT.test(str) && URI.test(str);
|
|
611
|
+
}
|
|
612
|
+
const BYTE = /^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/gm;
|
|
613
|
+
function byte(str) {
|
|
614
|
+
BYTE.lastIndex = 0;
|
|
615
|
+
return BYTE.test(str);
|
|
616
|
+
}
|
|
617
|
+
const MIN_INT32 = -(2 ** 31);
|
|
618
|
+
const MAX_INT32 = 2 ** 31 - 1;
|
|
619
|
+
function validateInt32(value) {
|
|
620
|
+
return Number.isInteger(value) && value <= MAX_INT32 && value >= MIN_INT32;
|
|
621
|
+
}
|
|
622
|
+
function validateInt64(value) {
|
|
623
|
+
// JSON and javascript max Int is 2**53, so any int that passes isInteger is valid for Int64
|
|
624
|
+
return Number.isInteger(value);
|
|
625
|
+
}
|
|
626
|
+
function validateNumber() {
|
|
627
|
+
return true;
|
|
628
|
+
}
|
|
629
|
+
const Z_ANCHOR = /[^\\]\\Z/;
|
|
630
|
+
function regex(str) {
|
|
631
|
+
if (Z_ANCHOR.test(str))
|
|
632
|
+
return false;
|
|
633
|
+
try {
|
|
634
|
+
new RegExp(str);
|
|
635
|
+
return true;
|
|
636
|
+
}
|
|
637
|
+
catch (e) {
|
|
638
|
+
return false;
|
|
639
|
+
}
|
|
640
|
+
}
|
|
641
|
+
//# sourceMappingURL=formats.js.map
|
|
642
|
+
|
|
643
|
+
/***/ }),
|
|
644
|
+
|
|
645
|
+
/***/ 58218:
|
|
646
|
+
/***/ ((module, exports, __webpack_require__) => {
|
|
647
|
+
|
|
648
|
+
"use strict";
|
|
649
|
+
|
|
650
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
651
|
+
const formats_1 = __webpack_require__(67796);
|
|
652
|
+
const limit_1 = __webpack_require__(60891);
|
|
653
|
+
const codegen_1 = __webpack_require__(17231);
|
|
654
|
+
const fullName = new codegen_1.Name("fullFormats");
|
|
655
|
+
const fastName = new codegen_1.Name("fastFormats");
|
|
656
|
+
const formatsPlugin = (ajv, opts = { keywords: true }) => {
|
|
657
|
+
if (Array.isArray(opts)) {
|
|
658
|
+
addFormats(ajv, opts, formats_1.fullFormats, fullName);
|
|
659
|
+
return ajv;
|
|
660
|
+
}
|
|
661
|
+
const [formats, exportName] = opts.mode === "fast" ? [formats_1.fastFormats, fastName] : [formats_1.fullFormats, fullName];
|
|
662
|
+
const list = opts.formats || formats_1.formatNames;
|
|
663
|
+
addFormats(ajv, list, formats, exportName);
|
|
664
|
+
if (opts.keywords)
|
|
665
|
+
limit_1.default(ajv);
|
|
666
|
+
return ajv;
|
|
667
|
+
};
|
|
668
|
+
formatsPlugin.get = (name, mode = "full") => {
|
|
669
|
+
const formats = mode === "fast" ? formats_1.fastFormats : formats_1.fullFormats;
|
|
670
|
+
const f = formats[name];
|
|
671
|
+
if (!f)
|
|
672
|
+
throw new Error(`Unknown format "${name}"`);
|
|
673
|
+
return f;
|
|
674
|
+
};
|
|
675
|
+
function addFormats(ajv, list, fs, exportName) {
|
|
676
|
+
var _a;
|
|
677
|
+
var _b;
|
|
678
|
+
(_a = (_b = ajv.opts.code).formats) !== null && _a !== void 0 ? _a : (_b.formats = codegen_1._ `require("ajv-formats/dist/formats").${exportName}`);
|
|
679
|
+
for (const f of list)
|
|
680
|
+
ajv.addFormat(f, fs[f]);
|
|
681
|
+
}
|
|
682
|
+
module.exports = exports = formatsPlugin;
|
|
683
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
684
|
+
exports["default"] = formatsPlugin;
|
|
685
|
+
//# sourceMappingURL=index.js.map
|
|
686
|
+
|
|
687
|
+
/***/ }),
|
|
688
|
+
|
|
689
|
+
/***/ 60891:
|
|
690
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
691
|
+
|
|
1
692
|
"use strict";
|
|
2
|
-
(self["webpackChunk_JUPYTERLAB_CORE_OUTPUT"] = self["webpackChunk_JUPYTERLAB_CORE_OUTPUT"] || []).push([[6236],{
|
|
3
693
|
|
|
4
|
-
|
|
694
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
695
|
+
exports.formatLimitDefinition = void 0;
|
|
696
|
+
const ajv_1 = __webpack_require__(20151);
|
|
697
|
+
const codegen_1 = __webpack_require__(17231);
|
|
698
|
+
const ops = codegen_1.operators;
|
|
699
|
+
const KWDs = {
|
|
700
|
+
formatMaximum: { okStr: "<=", ok: ops.LTE, fail: ops.GT },
|
|
701
|
+
formatMinimum: { okStr: ">=", ok: ops.GTE, fail: ops.LT },
|
|
702
|
+
formatExclusiveMaximum: { okStr: "<", ok: ops.LT, fail: ops.GTE },
|
|
703
|
+
formatExclusiveMinimum: { okStr: ">", ok: ops.GT, fail: ops.LTE },
|
|
704
|
+
};
|
|
705
|
+
const error = {
|
|
706
|
+
message: ({ keyword, schemaCode }) => codegen_1.str `should be ${KWDs[keyword].okStr} ${schemaCode}`,
|
|
707
|
+
params: ({ keyword, schemaCode }) => codegen_1._ `{comparison: ${KWDs[keyword].okStr}, limit: ${schemaCode}}`,
|
|
708
|
+
};
|
|
709
|
+
exports.formatLimitDefinition = {
|
|
710
|
+
keyword: Object.keys(KWDs),
|
|
711
|
+
type: "string",
|
|
712
|
+
schemaType: "string",
|
|
713
|
+
$data: true,
|
|
714
|
+
error,
|
|
715
|
+
code(cxt) {
|
|
716
|
+
const { gen, data, schemaCode, keyword, it } = cxt;
|
|
717
|
+
const { opts, self } = it;
|
|
718
|
+
if (!opts.validateFormats)
|
|
719
|
+
return;
|
|
720
|
+
const fCxt = new ajv_1.KeywordCxt(it, self.RULES.all.format.definition, "format");
|
|
721
|
+
if (fCxt.$data)
|
|
722
|
+
validate$DataFormat();
|
|
723
|
+
else
|
|
724
|
+
validateFormat();
|
|
725
|
+
function validate$DataFormat() {
|
|
726
|
+
const fmts = gen.scopeValue("formats", {
|
|
727
|
+
ref: self.formats,
|
|
728
|
+
code: opts.code.formats,
|
|
729
|
+
});
|
|
730
|
+
const fmt = gen.const("fmt", codegen_1._ `${fmts}[${fCxt.schemaCode}]`);
|
|
731
|
+
cxt.fail$data(codegen_1.or(codegen_1._ `typeof ${fmt} != "object"`, codegen_1._ `${fmt} instanceof RegExp`, codegen_1._ `typeof ${fmt}.compare != "function"`, compareCode(fmt)));
|
|
732
|
+
}
|
|
733
|
+
function validateFormat() {
|
|
734
|
+
const format = fCxt.schema;
|
|
735
|
+
const fmtDef = self.formats[format];
|
|
736
|
+
if (!fmtDef || fmtDef === true)
|
|
737
|
+
return;
|
|
738
|
+
if (typeof fmtDef != "object" ||
|
|
739
|
+
fmtDef instanceof RegExp ||
|
|
740
|
+
typeof fmtDef.compare != "function") {
|
|
741
|
+
throw new Error(`"${keyword}": format "${format}" does not define "compare" function`);
|
|
742
|
+
}
|
|
743
|
+
const fmt = gen.scopeValue("formats", {
|
|
744
|
+
key: format,
|
|
745
|
+
ref: fmtDef,
|
|
746
|
+
code: opts.code.formats ? codegen_1._ `${opts.code.formats}${codegen_1.getProperty(format)}` : undefined,
|
|
747
|
+
});
|
|
748
|
+
cxt.fail$data(compareCode(fmt));
|
|
749
|
+
}
|
|
750
|
+
function compareCode(fmt) {
|
|
751
|
+
return codegen_1._ `${fmt}.compare(${data}, ${schemaCode}) ${KWDs[keyword].fail} 0`;
|
|
752
|
+
}
|
|
753
|
+
},
|
|
754
|
+
dependencies: ["format"],
|
|
755
|
+
};
|
|
756
|
+
const formatLimitPlugin = (ajv) => {
|
|
757
|
+
ajv.addKeyword(exports.formatLimitDefinition);
|
|
758
|
+
return ajv;
|
|
759
|
+
};
|
|
760
|
+
exports["default"] = formatLimitPlugin;
|
|
761
|
+
//# sourceMappingURL=limit.js.map
|
|
762
|
+
|
|
763
|
+
/***/ }),
|
|
764
|
+
|
|
765
|
+
/***/ 20151:
|
|
5
766
|
/***/ ((module, exports, __webpack_require__) => {
|
|
6
767
|
|
|
768
|
+
"use strict";
|
|
7
769
|
|
|
8
770
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
9
771
|
exports.MissingRefError = exports.ValidationError = exports.CodeGen = exports.Name = exports.nil = exports.stringify = exports.str = exports._ = exports.KeywordCxt = exports.Ajv = void 0;
|
|
10
|
-
const core_1 = __webpack_require__(
|
|
11
|
-
const draft7_1 = __webpack_require__(
|
|
12
|
-
const discriminator_1 = __webpack_require__(
|
|
13
|
-
const draft7MetaSchema = __webpack_require__(
|
|
772
|
+
const core_1 = __webpack_require__(98955);
|
|
773
|
+
const draft7_1 = __webpack_require__(87213);
|
|
774
|
+
const discriminator_1 = __webpack_require__(30648);
|
|
775
|
+
const draft7MetaSchema = __webpack_require__(60172);
|
|
14
776
|
const META_SUPPORT_DATA = ["/properties"];
|
|
15
777
|
const META_SCHEMA_ID = "http://json-schema.org/draft-07/schema";
|
|
16
778
|
class Ajv extends core_1.default {
|
|
@@ -40,26 +802,27 @@ module.exports = exports = Ajv;
|
|
|
40
802
|
module.exports.Ajv = Ajv;
|
|
41
803
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
42
804
|
exports["default"] = Ajv;
|
|
43
|
-
var validate_1 = __webpack_require__(
|
|
805
|
+
var validate_1 = __webpack_require__(40764);
|
|
44
806
|
Object.defineProperty(exports, "KeywordCxt", ({ enumerable: true, get: function () { return validate_1.KeywordCxt; } }));
|
|
45
|
-
var codegen_1 = __webpack_require__(
|
|
807
|
+
var codegen_1 = __webpack_require__(17231);
|
|
46
808
|
Object.defineProperty(exports, "_", ({ enumerable: true, get: function () { return codegen_1._; } }));
|
|
47
809
|
Object.defineProperty(exports, "str", ({ enumerable: true, get: function () { return codegen_1.str; } }));
|
|
48
810
|
Object.defineProperty(exports, "stringify", ({ enumerable: true, get: function () { return codegen_1.stringify; } }));
|
|
49
811
|
Object.defineProperty(exports, "nil", ({ enumerable: true, get: function () { return codegen_1.nil; } }));
|
|
50
812
|
Object.defineProperty(exports, "Name", ({ enumerable: true, get: function () { return codegen_1.Name; } }));
|
|
51
813
|
Object.defineProperty(exports, "CodeGen", ({ enumerable: true, get: function () { return codegen_1.CodeGen; } }));
|
|
52
|
-
var validation_error_1 = __webpack_require__(
|
|
814
|
+
var validation_error_1 = __webpack_require__(17766);
|
|
53
815
|
Object.defineProperty(exports, "ValidationError", ({ enumerable: true, get: function () { return validation_error_1.default; } }));
|
|
54
|
-
var ref_error_1 = __webpack_require__(
|
|
816
|
+
var ref_error_1 = __webpack_require__(26317);
|
|
55
817
|
Object.defineProperty(exports, "MissingRefError", ({ enumerable: true, get: function () { return ref_error_1.default; } }));
|
|
56
818
|
//# sourceMappingURL=ajv.js.map
|
|
57
819
|
|
|
58
820
|
/***/ }),
|
|
59
821
|
|
|
60
|
-
/***/
|
|
822
|
+
/***/ 28115:
|
|
61
823
|
/***/ ((__unused_webpack_module, exports) => {
|
|
62
824
|
|
|
825
|
+
"use strict";
|
|
63
826
|
|
|
64
827
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
65
828
|
exports.regexpCode = exports.getEsmExportName = exports.getProperty = exports.safeStringify = exports.stringify = exports.strConcat = exports.addCodeArg = exports.str = exports._ = exports.nil = exports._Code = exports.Name = exports.IDENTIFIER = exports._CodeOrName = void 0;
|
|
@@ -219,15 +982,16 @@ exports.regexpCode = regexpCode;
|
|
|
219
982
|
|
|
220
983
|
/***/ }),
|
|
221
984
|
|
|
222
|
-
/***/
|
|
985
|
+
/***/ 17231:
|
|
223
986
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
224
987
|
|
|
988
|
+
"use strict";
|
|
225
989
|
|
|
226
990
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
227
991
|
exports.or = exports.and = exports.not = exports.CodeGen = exports.operators = exports.varKinds = exports.ValueScopeName = exports.ValueScope = exports.Scope = exports.Name = exports.regexpCode = exports.stringify = exports.getProperty = exports.nil = exports.strConcat = exports.str = exports._ = void 0;
|
|
228
|
-
const code_1 = __webpack_require__(
|
|
229
|
-
const scope_1 = __webpack_require__(
|
|
230
|
-
var code_2 = __webpack_require__(
|
|
992
|
+
const code_1 = __webpack_require__(28115);
|
|
993
|
+
const scope_1 = __webpack_require__(99131);
|
|
994
|
+
var code_2 = __webpack_require__(28115);
|
|
231
995
|
Object.defineProperty(exports, "_", ({ enumerable: true, get: function () { return code_2._; } }));
|
|
232
996
|
Object.defineProperty(exports, "str", ({ enumerable: true, get: function () { return code_2.str; } }));
|
|
233
997
|
Object.defineProperty(exports, "strConcat", ({ enumerable: true, get: function () { return code_2.strConcat; } }));
|
|
@@ -236,7 +1000,7 @@ Object.defineProperty(exports, "getProperty", ({ enumerable: true, get: function
|
|
|
236
1000
|
Object.defineProperty(exports, "stringify", ({ enumerable: true, get: function () { return code_2.stringify; } }));
|
|
237
1001
|
Object.defineProperty(exports, "regexpCode", ({ enumerable: true, get: function () { return code_2.regexpCode; } }));
|
|
238
1002
|
Object.defineProperty(exports, "Name", ({ enumerable: true, get: function () { return code_2.Name; } }));
|
|
239
|
-
var scope_2 = __webpack_require__(
|
|
1003
|
+
var scope_2 = __webpack_require__(99131);
|
|
240
1004
|
Object.defineProperty(exports, "Scope", ({ enumerable: true, get: function () { return scope_2.Scope; } }));
|
|
241
1005
|
Object.defineProperty(exports, "ValueScope", ({ enumerable: true, get: function () { return scope_2.ValueScope; } }));
|
|
242
1006
|
Object.defineProperty(exports, "ValueScopeName", ({ enumerable: true, get: function () { return scope_2.ValueScopeName; } }));
|
|
@@ -922,13 +1686,14 @@ function par(x) {
|
|
|
922
1686
|
|
|
923
1687
|
/***/ }),
|
|
924
1688
|
|
|
925
|
-
/***/
|
|
1689
|
+
/***/ 99131:
|
|
926
1690
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
927
1691
|
|
|
1692
|
+
"use strict";
|
|
928
1693
|
|
|
929
1694
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
930
1695
|
exports.ValueScope = exports.ValueScopeName = exports.Scope = exports.varKinds = exports.UsedValueState = void 0;
|
|
931
|
-
const code_1 = __webpack_require__(
|
|
1696
|
+
const code_1 = __webpack_require__(28115);
|
|
932
1697
|
class ValueError extends Error {
|
|
933
1698
|
constructor(name) {
|
|
934
1699
|
super(`CodeGen: "code" for ${name} not defined`);
|
|
@@ -1071,15 +1836,16 @@ exports.ValueScope = ValueScope;
|
|
|
1071
1836
|
|
|
1072
1837
|
/***/ }),
|
|
1073
1838
|
|
|
1074
|
-
/***/
|
|
1839
|
+
/***/ 82263:
|
|
1075
1840
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
1076
1841
|
|
|
1842
|
+
"use strict";
|
|
1077
1843
|
|
|
1078
1844
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
1079
1845
|
exports.extendErrors = exports.resetErrorsCount = exports.reportExtraError = exports.reportError = exports.keyword$DataError = exports.keywordError = void 0;
|
|
1080
|
-
const codegen_1 = __webpack_require__(
|
|
1081
|
-
const util_1 = __webpack_require__(
|
|
1082
|
-
const names_1 = __webpack_require__(
|
|
1846
|
+
const codegen_1 = __webpack_require__(17231);
|
|
1847
|
+
const util_1 = __webpack_require__(20679);
|
|
1848
|
+
const names_1 = __webpack_require__(3948);
|
|
1083
1849
|
exports.keywordError = {
|
|
1084
1850
|
message: ({ keyword }) => (0, codegen_1.str) `must pass "${keyword}" keyword validation`,
|
|
1085
1851
|
};
|
|
@@ -1200,18 +1966,19 @@ function extraErrorProps(cxt, { params, message }, keyValues) {
|
|
|
1200
1966
|
|
|
1201
1967
|
/***/ }),
|
|
1202
1968
|
|
|
1203
|
-
/***/
|
|
1969
|
+
/***/ 50052:
|
|
1204
1970
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
1205
1971
|
|
|
1972
|
+
"use strict";
|
|
1206
1973
|
|
|
1207
1974
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
1208
1975
|
exports.resolveSchema = exports.getCompilingSchema = exports.resolveRef = exports.compileSchema = exports.SchemaEnv = void 0;
|
|
1209
|
-
const codegen_1 = __webpack_require__(
|
|
1210
|
-
const validation_error_1 = __webpack_require__(
|
|
1211
|
-
const names_1 = __webpack_require__(
|
|
1212
|
-
const resolve_1 = __webpack_require__(
|
|
1213
|
-
const util_1 = __webpack_require__(
|
|
1214
|
-
const validate_1 = __webpack_require__(
|
|
1976
|
+
const codegen_1 = __webpack_require__(17231);
|
|
1977
|
+
const validation_error_1 = __webpack_require__(17766);
|
|
1978
|
+
const names_1 = __webpack_require__(3948);
|
|
1979
|
+
const resolve_1 = __webpack_require__(33761);
|
|
1980
|
+
const util_1 = __webpack_require__(20679);
|
|
1981
|
+
const validate_1 = __webpack_require__(40764);
|
|
1215
1982
|
class SchemaEnv {
|
|
1216
1983
|
constructor(env) {
|
|
1217
1984
|
var _a;
|
|
@@ -1448,12 +2215,13 @@ function getJsonPointer(parsedRef, { baseId, schema, root }) {
|
|
|
1448
2215
|
|
|
1449
2216
|
/***/ }),
|
|
1450
2217
|
|
|
1451
|
-
/***/
|
|
2218
|
+
/***/ 3948:
|
|
1452
2219
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
1453
2220
|
|
|
2221
|
+
"use strict";
|
|
1454
2222
|
|
|
1455
2223
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
1456
|
-
const codegen_1 = __webpack_require__(
|
|
2224
|
+
const codegen_1 = __webpack_require__(17231);
|
|
1457
2225
|
const names = {
|
|
1458
2226
|
// validation function arguments
|
|
1459
2227
|
data: new codegen_1.Name("data"), // data passed to validation function
|
|
@@ -1482,12 +2250,13 @@ exports["default"] = names;
|
|
|
1482
2250
|
|
|
1483
2251
|
/***/ }),
|
|
1484
2252
|
|
|
1485
|
-
/***/
|
|
2253
|
+
/***/ 26317:
|
|
1486
2254
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
1487
2255
|
|
|
2256
|
+
"use strict";
|
|
1488
2257
|
|
|
1489
2258
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
1490
|
-
const resolve_1 = __webpack_require__(
|
|
2259
|
+
const resolve_1 = __webpack_require__(33761);
|
|
1491
2260
|
class MissingRefError extends Error {
|
|
1492
2261
|
constructor(resolver, baseId, ref, msg) {
|
|
1493
2262
|
super(msg || `can't resolve reference ${ref} from id ${baseId}`);
|
|
@@ -1500,13 +2269,14 @@ exports["default"] = MissingRefError;
|
|
|
1500
2269
|
|
|
1501
2270
|
/***/ }),
|
|
1502
2271
|
|
|
1503
|
-
/***/
|
|
2272
|
+
/***/ 33761:
|
|
1504
2273
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
1505
2274
|
|
|
2275
|
+
"use strict";
|
|
1506
2276
|
|
|
1507
2277
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
1508
2278
|
exports.getSchemaRefs = exports.resolveUrl = exports.normalizeId = exports._getFullPath = exports.getFullPath = exports.inlineRef = void 0;
|
|
1509
|
-
const util_1 = __webpack_require__(
|
|
2279
|
+
const util_1 = __webpack_require__(20679);
|
|
1510
2280
|
const equal = __webpack_require__(66471);
|
|
1511
2281
|
const traverse = __webpack_require__(25127);
|
|
1512
2282
|
// TODO refactor to use keyword definitions
|
|
@@ -1661,9 +2431,10 @@ exports.getSchemaRefs = getSchemaRefs;
|
|
|
1661
2431
|
|
|
1662
2432
|
/***/ }),
|
|
1663
2433
|
|
|
1664
|
-
/***/
|
|
2434
|
+
/***/ 24623:
|
|
1665
2435
|
/***/ ((__unused_webpack_module, exports) => {
|
|
1666
2436
|
|
|
2437
|
+
"use strict";
|
|
1667
2438
|
|
|
1668
2439
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
1669
2440
|
exports.getRules = exports.isJSONType = void 0;
|
|
@@ -1693,14 +2464,15 @@ exports.getRules = getRules;
|
|
|
1693
2464
|
|
|
1694
2465
|
/***/ }),
|
|
1695
2466
|
|
|
1696
|
-
/***/
|
|
2467
|
+
/***/ 20679:
|
|
1697
2468
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
1698
2469
|
|
|
2470
|
+
"use strict";
|
|
1699
2471
|
|
|
1700
2472
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
1701
2473
|
exports.checkStrictMode = exports.getErrorPath = exports.Type = exports.useFunc = exports.setEvaluated = exports.evaluatedPropsToName = exports.mergeEvaluated = exports.eachItem = exports.unescapeJsonPointer = exports.escapeJsonPointer = exports.escapeFragment = exports.unescapeFragment = exports.schemaRefOrVal = exports.schemaHasRulesButRef = exports.schemaHasRules = exports.checkUnknownRules = exports.alwaysValidSchema = exports.toHash = void 0;
|
|
1702
|
-
const codegen_1 = __webpack_require__(
|
|
1703
|
-
const code_1 = __webpack_require__(
|
|
2474
|
+
const codegen_1 = __webpack_require__(17231);
|
|
2475
|
+
const code_1 = __webpack_require__(28115);
|
|
1704
2476
|
// TODO refactor to use Set
|
|
1705
2477
|
function toHash(arr) {
|
|
1706
2478
|
const hash = {};
|
|
@@ -1877,9 +2649,10 @@ exports.checkStrictMode = checkStrictMode;
|
|
|
1877
2649
|
|
|
1878
2650
|
/***/ }),
|
|
1879
2651
|
|
|
1880
|
-
/***/
|
|
2652
|
+
/***/ 54782:
|
|
1881
2653
|
/***/ ((__unused_webpack_module, exports) => {
|
|
1882
2654
|
|
|
2655
|
+
"use strict";
|
|
1883
2656
|
|
|
1884
2657
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
1885
2658
|
exports.shouldUseRule = exports.shouldUseGroup = exports.schemaHasRulesForType = void 0;
|
|
@@ -1902,15 +2675,16 @@ exports.shouldUseRule = shouldUseRule;
|
|
|
1902
2675
|
|
|
1903
2676
|
/***/ }),
|
|
1904
2677
|
|
|
1905
|
-
/***/
|
|
2678
|
+
/***/ 64168:
|
|
1906
2679
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
1907
2680
|
|
|
2681
|
+
"use strict";
|
|
1908
2682
|
|
|
1909
2683
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
1910
2684
|
exports.boolOrEmptySchema = exports.topBoolOrEmptySchema = void 0;
|
|
1911
|
-
const errors_1 = __webpack_require__(
|
|
1912
|
-
const codegen_1 = __webpack_require__(
|
|
1913
|
-
const names_1 = __webpack_require__(
|
|
2685
|
+
const errors_1 = __webpack_require__(82263);
|
|
2686
|
+
const codegen_1 = __webpack_require__(17231);
|
|
2687
|
+
const names_1 = __webpack_require__(3948);
|
|
1914
2688
|
const boolError = {
|
|
1915
2689
|
message: "boolean schema is false",
|
|
1916
2690
|
};
|
|
@@ -1958,17 +2732,18 @@ function falseSchemaError(it, overrideAllErrors) {
|
|
|
1958
2732
|
|
|
1959
2733
|
/***/ }),
|
|
1960
2734
|
|
|
1961
|
-
/***/
|
|
2735
|
+
/***/ 85077:
|
|
1962
2736
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
1963
2737
|
|
|
2738
|
+
"use strict";
|
|
1964
2739
|
|
|
1965
2740
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
1966
2741
|
exports.reportTypeError = exports.checkDataTypes = exports.checkDataType = exports.coerceAndCheckDataType = exports.getJSONTypes = exports.getSchemaTypes = exports.DataType = void 0;
|
|
1967
|
-
const rules_1 = __webpack_require__(
|
|
1968
|
-
const applicability_1 = __webpack_require__(
|
|
1969
|
-
const errors_1 = __webpack_require__(
|
|
1970
|
-
const codegen_1 = __webpack_require__(
|
|
1971
|
-
const util_1 = __webpack_require__(
|
|
2742
|
+
const rules_1 = __webpack_require__(24623);
|
|
2743
|
+
const applicability_1 = __webpack_require__(54782);
|
|
2744
|
+
const errors_1 = __webpack_require__(82263);
|
|
2745
|
+
const codegen_1 = __webpack_require__(17231);
|
|
2746
|
+
const util_1 = __webpack_require__(20679);
|
|
1972
2747
|
var DataType;
|
|
1973
2748
|
(function (DataType) {
|
|
1974
2749
|
DataType[DataType["Correct"] = 0] = "Correct";
|
|
@@ -2167,14 +2942,15 @@ function getTypeErrorContext(it) {
|
|
|
2167
2942
|
|
|
2168
2943
|
/***/ }),
|
|
2169
2944
|
|
|
2170
|
-
/***/
|
|
2945
|
+
/***/ 3862:
|
|
2171
2946
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
2172
2947
|
|
|
2948
|
+
"use strict";
|
|
2173
2949
|
|
|
2174
2950
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
2175
2951
|
exports.assignDefaults = void 0;
|
|
2176
|
-
const codegen_1 = __webpack_require__(
|
|
2177
|
-
const util_1 = __webpack_require__(
|
|
2952
|
+
const codegen_1 = __webpack_require__(17231);
|
|
2953
|
+
const util_1 = __webpack_require__(20679);
|
|
2178
2954
|
function assignDefaults(it, ty) {
|
|
2179
2955
|
const { properties, items } = it.schema;
|
|
2180
2956
|
if (ty === "object" && properties) {
|
|
@@ -2208,24 +2984,25 @@ function assignDefault(it, prop, defaultValue) {
|
|
|
2208
2984
|
|
|
2209
2985
|
/***/ }),
|
|
2210
2986
|
|
|
2211
|
-
/***/
|
|
2987
|
+
/***/ 40764:
|
|
2212
2988
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
2213
2989
|
|
|
2990
|
+
"use strict";
|
|
2214
2991
|
|
|
2215
2992
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
2216
2993
|
exports.getData = exports.KeywordCxt = exports.validateFunctionCode = void 0;
|
|
2217
|
-
const boolSchema_1 = __webpack_require__(
|
|
2218
|
-
const dataType_1 = __webpack_require__(
|
|
2219
|
-
const applicability_1 = __webpack_require__(
|
|
2220
|
-
const dataType_2 = __webpack_require__(
|
|
2221
|
-
const defaults_1 = __webpack_require__(
|
|
2222
|
-
const keyword_1 = __webpack_require__(
|
|
2223
|
-
const subschema_1 = __webpack_require__(
|
|
2224
|
-
const codegen_1 = __webpack_require__(
|
|
2225
|
-
const names_1 = __webpack_require__(
|
|
2226
|
-
const resolve_1 = __webpack_require__(
|
|
2227
|
-
const util_1 = __webpack_require__(
|
|
2228
|
-
const errors_1 = __webpack_require__(
|
|
2994
|
+
const boolSchema_1 = __webpack_require__(64168);
|
|
2995
|
+
const dataType_1 = __webpack_require__(85077);
|
|
2996
|
+
const applicability_1 = __webpack_require__(54782);
|
|
2997
|
+
const dataType_2 = __webpack_require__(85077);
|
|
2998
|
+
const defaults_1 = __webpack_require__(3862);
|
|
2999
|
+
const keyword_1 = __webpack_require__(62591);
|
|
3000
|
+
const subschema_1 = __webpack_require__(87218);
|
|
3001
|
+
const codegen_1 = __webpack_require__(17231);
|
|
3002
|
+
const names_1 = __webpack_require__(3948);
|
|
3003
|
+
const resolve_1 = __webpack_require__(33761);
|
|
3004
|
+
const util_1 = __webpack_require__(20679);
|
|
3005
|
+
const errors_1 = __webpack_require__(82263);
|
|
2229
3006
|
// schema compilation - generates validation function, subschemaCode (below) is used for subschemas
|
|
2230
3007
|
function validateFunctionCode(it) {
|
|
2231
3008
|
if (isSchemaObj(it)) {
|
|
@@ -2734,16 +3511,17 @@ exports.getData = getData;
|
|
|
2734
3511
|
|
|
2735
3512
|
/***/ }),
|
|
2736
3513
|
|
|
2737
|
-
/***/
|
|
3514
|
+
/***/ 62591:
|
|
2738
3515
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
2739
3516
|
|
|
3517
|
+
"use strict";
|
|
2740
3518
|
|
|
2741
3519
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
2742
3520
|
exports.validateKeywordUsage = exports.validSchemaType = exports.funcKeywordCode = exports.macroKeywordCode = void 0;
|
|
2743
|
-
const codegen_1 = __webpack_require__(
|
|
2744
|
-
const names_1 = __webpack_require__(
|
|
2745
|
-
const code_1 = __webpack_require__(
|
|
2746
|
-
const errors_1 = __webpack_require__(
|
|
3521
|
+
const codegen_1 = __webpack_require__(17231);
|
|
3522
|
+
const names_1 = __webpack_require__(3948);
|
|
3523
|
+
const code_1 = __webpack_require__(36704);
|
|
3524
|
+
const errors_1 = __webpack_require__(82263);
|
|
2747
3525
|
function macroKeywordCode(cxt, def) {
|
|
2748
3526
|
const { gen, keyword, schema, parentSchema, it } = cxt;
|
|
2749
3527
|
const macroSchema = def.macro.call(it.self, schema, parentSchema, it);
|
|
@@ -2864,14 +3642,15 @@ exports.validateKeywordUsage = validateKeywordUsage;
|
|
|
2864
3642
|
|
|
2865
3643
|
/***/ }),
|
|
2866
3644
|
|
|
2867
|
-
/***/
|
|
3645
|
+
/***/ 87218:
|
|
2868
3646
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
2869
3647
|
|
|
3648
|
+
"use strict";
|
|
2870
3649
|
|
|
2871
3650
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
2872
3651
|
exports.extendSubschemaMode = exports.extendSubschemaData = exports.getSubschema = void 0;
|
|
2873
|
-
const codegen_1 = __webpack_require__(
|
|
2874
|
-
const util_1 = __webpack_require__(
|
|
3652
|
+
const codegen_1 = __webpack_require__(17231);
|
|
3653
|
+
const util_1 = __webpack_require__(20679);
|
|
2875
3654
|
function getSubschema(it, { keyword, schemaProp, schema, schemaPath, errSchemaPath, topSchemaRef }) {
|
|
2876
3655
|
if (keyword !== undefined && schema !== undefined) {
|
|
2877
3656
|
throw new Error('both "keyword" and "schema" passed, only one allowed');
|
|
@@ -2951,31 +3730,32 @@ exports.extendSubschemaMode = extendSubschemaMode;
|
|
|
2951
3730
|
|
|
2952
3731
|
/***/ }),
|
|
2953
3732
|
|
|
2954
|
-
/***/
|
|
3733
|
+
/***/ 98955:
|
|
2955
3734
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
2956
3735
|
|
|
3736
|
+
"use strict";
|
|
2957
3737
|
|
|
2958
3738
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
2959
3739
|
exports.CodeGen = exports.Name = exports.nil = exports.stringify = exports.str = exports._ = exports.KeywordCxt = void 0;
|
|
2960
|
-
var validate_1 = __webpack_require__(
|
|
3740
|
+
var validate_1 = __webpack_require__(40764);
|
|
2961
3741
|
Object.defineProperty(exports, "KeywordCxt", ({ enumerable: true, get: function () { return validate_1.KeywordCxt; } }));
|
|
2962
|
-
var codegen_1 = __webpack_require__(
|
|
3742
|
+
var codegen_1 = __webpack_require__(17231);
|
|
2963
3743
|
Object.defineProperty(exports, "_", ({ enumerable: true, get: function () { return codegen_1._; } }));
|
|
2964
3744
|
Object.defineProperty(exports, "str", ({ enumerable: true, get: function () { return codegen_1.str; } }));
|
|
2965
3745
|
Object.defineProperty(exports, "stringify", ({ enumerable: true, get: function () { return codegen_1.stringify; } }));
|
|
2966
3746
|
Object.defineProperty(exports, "nil", ({ enumerable: true, get: function () { return codegen_1.nil; } }));
|
|
2967
3747
|
Object.defineProperty(exports, "Name", ({ enumerable: true, get: function () { return codegen_1.Name; } }));
|
|
2968
3748
|
Object.defineProperty(exports, "CodeGen", ({ enumerable: true, get: function () { return codegen_1.CodeGen; } }));
|
|
2969
|
-
const validation_error_1 = __webpack_require__(
|
|
2970
|
-
const ref_error_1 = __webpack_require__(
|
|
2971
|
-
const rules_1 = __webpack_require__(
|
|
2972
|
-
const compile_1 = __webpack_require__(
|
|
2973
|
-
const codegen_2 = __webpack_require__(
|
|
2974
|
-
const resolve_1 = __webpack_require__(
|
|
2975
|
-
const dataType_1 = __webpack_require__(
|
|
2976
|
-
const util_1 = __webpack_require__(
|
|
2977
|
-
const $dataRefSchema = __webpack_require__(
|
|
2978
|
-
const uri_1 = __webpack_require__(
|
|
3749
|
+
const validation_error_1 = __webpack_require__(17766);
|
|
3750
|
+
const ref_error_1 = __webpack_require__(26317);
|
|
3751
|
+
const rules_1 = __webpack_require__(24623);
|
|
3752
|
+
const compile_1 = __webpack_require__(50052);
|
|
3753
|
+
const codegen_2 = __webpack_require__(17231);
|
|
3754
|
+
const resolve_1 = __webpack_require__(33761);
|
|
3755
|
+
const dataType_1 = __webpack_require__(85077);
|
|
3756
|
+
const util_1 = __webpack_require__(20679);
|
|
3757
|
+
const $dataRefSchema = __webpack_require__(94801);
|
|
3758
|
+
const uri_1 = __webpack_require__(42658);
|
|
2979
3759
|
const defaultRegExp = (str, flags) => new RegExp(str, flags);
|
|
2980
3760
|
defaultRegExp.code = "new RegExp";
|
|
2981
3761
|
const META_IGNORE_OPTIONS = ["removeAdditional", "useDefaults", "coerceTypes"];
|
|
@@ -3575,9 +4355,10 @@ function schemaOrData(schema) {
|
|
|
3575
4355
|
|
|
3576
4356
|
/***/ }),
|
|
3577
4357
|
|
|
3578
|
-
/***/
|
|
4358
|
+
/***/ 59586:
|
|
3579
4359
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
3580
4360
|
|
|
4361
|
+
"use strict";
|
|
3581
4362
|
|
|
3582
4363
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
3583
4364
|
// https://github.com/ajv-validator/ajv/issues/889
|
|
@@ -3588,9 +4369,10 @@ exports["default"] = equal;
|
|
|
3588
4369
|
|
|
3589
4370
|
/***/ }),
|
|
3590
4371
|
|
|
3591
|
-
/***/
|
|
4372
|
+
/***/ 20680:
|
|
3592
4373
|
/***/ ((__unused_webpack_module, exports) => {
|
|
3593
4374
|
|
|
4375
|
+
"use strict";
|
|
3594
4376
|
|
|
3595
4377
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
3596
4378
|
// https://mathiasbynens.be/notes/javascript-encoding
|
|
@@ -3618,9 +4400,10 @@ ucs2length.code = 'require("ajv/dist/runtime/ucs2length").default';
|
|
|
3618
4400
|
|
|
3619
4401
|
/***/ }),
|
|
3620
4402
|
|
|
3621
|
-
/***/
|
|
4403
|
+
/***/ 42658:
|
|
3622
4404
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
3623
4405
|
|
|
4406
|
+
"use strict";
|
|
3624
4407
|
|
|
3625
4408
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
3626
4409
|
const uri = __webpack_require__(83745);
|
|
@@ -3630,9 +4413,10 @@ exports["default"] = uri;
|
|
|
3630
4413
|
|
|
3631
4414
|
/***/ }),
|
|
3632
4415
|
|
|
3633
|
-
/***/
|
|
4416
|
+
/***/ 17766:
|
|
3634
4417
|
/***/ ((__unused_webpack_module, exports) => {
|
|
3635
4418
|
|
|
4419
|
+
"use strict";
|
|
3636
4420
|
|
|
3637
4421
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
3638
4422
|
class ValidationError extends Error {
|
|
@@ -3647,14 +4431,15 @@ exports["default"] = ValidationError;
|
|
|
3647
4431
|
|
|
3648
4432
|
/***/ }),
|
|
3649
4433
|
|
|
3650
|
-
/***/
|
|
4434
|
+
/***/ 28145:
|
|
3651
4435
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
3652
4436
|
|
|
4437
|
+
"use strict";
|
|
3653
4438
|
|
|
3654
4439
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
3655
4440
|
exports.validateAdditionalItems = void 0;
|
|
3656
|
-
const codegen_1 = __webpack_require__(
|
|
3657
|
-
const util_1 = __webpack_require__(
|
|
4441
|
+
const codegen_1 = __webpack_require__(17231);
|
|
4442
|
+
const util_1 = __webpack_require__(20679);
|
|
3658
4443
|
const error = {
|
|
3659
4444
|
message: ({ params: { len } }) => (0, codegen_1.str) `must NOT have more than ${len} items`,
|
|
3660
4445
|
params: ({ params: { len } }) => (0, codegen_1._) `{limit: ${len}}`,
|
|
@@ -3702,15 +4487,16 @@ exports["default"] = def;
|
|
|
3702
4487
|
|
|
3703
4488
|
/***/ }),
|
|
3704
4489
|
|
|
3705
|
-
/***/
|
|
4490
|
+
/***/ 2888:
|
|
3706
4491
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
3707
4492
|
|
|
4493
|
+
"use strict";
|
|
3708
4494
|
|
|
3709
4495
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
3710
|
-
const code_1 = __webpack_require__(
|
|
3711
|
-
const codegen_1 = __webpack_require__(
|
|
3712
|
-
const names_1 = __webpack_require__(
|
|
3713
|
-
const util_1 = __webpack_require__(
|
|
4496
|
+
const code_1 = __webpack_require__(36704);
|
|
4497
|
+
const codegen_1 = __webpack_require__(17231);
|
|
4498
|
+
const names_1 = __webpack_require__(3948);
|
|
4499
|
+
const util_1 = __webpack_require__(20679);
|
|
3714
4500
|
const error = {
|
|
3715
4501
|
message: "must NOT have additional properties",
|
|
3716
4502
|
params: ({ params }) => (0, codegen_1._) `{additionalProperty: ${params.additionalProperty}}`,
|
|
@@ -3814,12 +4600,13 @@ exports["default"] = def;
|
|
|
3814
4600
|
|
|
3815
4601
|
/***/ }),
|
|
3816
4602
|
|
|
3817
|
-
/***/
|
|
4603
|
+
/***/ 48402:
|
|
3818
4604
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
3819
4605
|
|
|
4606
|
+
"use strict";
|
|
3820
4607
|
|
|
3821
4608
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
3822
|
-
const util_1 = __webpack_require__(
|
|
4609
|
+
const util_1 = __webpack_require__(20679);
|
|
3823
4610
|
const def = {
|
|
3824
4611
|
keyword: "allOf",
|
|
3825
4612
|
schemaType: "array",
|
|
@@ -3843,12 +4630,13 @@ exports["default"] = def;
|
|
|
3843
4630
|
|
|
3844
4631
|
/***/ }),
|
|
3845
4632
|
|
|
3846
|
-
/***/
|
|
4633
|
+
/***/ 82709:
|
|
3847
4634
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
3848
4635
|
|
|
4636
|
+
"use strict";
|
|
3849
4637
|
|
|
3850
4638
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
3851
|
-
const code_1 = __webpack_require__(
|
|
4639
|
+
const code_1 = __webpack_require__(36704);
|
|
3852
4640
|
const def = {
|
|
3853
4641
|
keyword: "anyOf",
|
|
3854
4642
|
schemaType: "array",
|
|
@@ -3861,13 +4649,14 @@ exports["default"] = def;
|
|
|
3861
4649
|
|
|
3862
4650
|
/***/ }),
|
|
3863
4651
|
|
|
3864
|
-
/***/
|
|
4652
|
+
/***/ 54175:
|
|
3865
4653
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
3866
4654
|
|
|
4655
|
+
"use strict";
|
|
3867
4656
|
|
|
3868
4657
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
3869
|
-
const codegen_1 = __webpack_require__(
|
|
3870
|
-
const util_1 = __webpack_require__(
|
|
4658
|
+
const codegen_1 = __webpack_require__(17231);
|
|
4659
|
+
const util_1 = __webpack_require__(20679);
|
|
3871
4660
|
const error = {
|
|
3872
4661
|
message: ({ params: { min, max } }) => max === undefined
|
|
3873
4662
|
? (0, codegen_1.str) `must contain at least ${min} valid item(s)`
|
|
@@ -3962,15 +4751,16 @@ exports["default"] = def;
|
|
|
3962
4751
|
|
|
3963
4752
|
/***/ }),
|
|
3964
4753
|
|
|
3965
|
-
/***/
|
|
4754
|
+
/***/ 87747:
|
|
3966
4755
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
3967
4756
|
|
|
4757
|
+
"use strict";
|
|
3968
4758
|
|
|
3969
4759
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
3970
4760
|
exports.validateSchemaDeps = exports.validatePropertyDeps = exports.error = void 0;
|
|
3971
|
-
const codegen_1 = __webpack_require__(
|
|
3972
|
-
const util_1 = __webpack_require__(
|
|
3973
|
-
const code_1 = __webpack_require__(
|
|
4761
|
+
const codegen_1 = __webpack_require__(17231);
|
|
4762
|
+
const util_1 = __webpack_require__(20679);
|
|
4763
|
+
const code_1 = __webpack_require__(36704);
|
|
3974
4764
|
exports.error = {
|
|
3975
4765
|
message: ({ params: { property, depsCount, deps } }) => {
|
|
3976
4766
|
const property_ies = depsCount === 1 ? "property" : "properties";
|
|
@@ -4053,13 +4843,14 @@ exports["default"] = def;
|
|
|
4053
4843
|
|
|
4054
4844
|
/***/ }),
|
|
4055
4845
|
|
|
4056
|
-
/***/
|
|
4846
|
+
/***/ 76441:
|
|
4057
4847
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
4058
4848
|
|
|
4849
|
+
"use strict";
|
|
4059
4850
|
|
|
4060
4851
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
4061
|
-
const codegen_1 = __webpack_require__(
|
|
4062
|
-
const util_1 = __webpack_require__(
|
|
4852
|
+
const codegen_1 = __webpack_require__(17231);
|
|
4853
|
+
const util_1 = __webpack_require__(20679);
|
|
4063
4854
|
const error = {
|
|
4064
4855
|
message: ({ params }) => (0, codegen_1.str) `must match "${params.ifClause}" schema`,
|
|
4065
4856
|
params: ({ params }) => (0, codegen_1._) `{failingKeyword: ${params.ifClause}}`,
|
|
@@ -4125,27 +4916,28 @@ exports["default"] = def;
|
|
|
4125
4916
|
|
|
4126
4917
|
/***/ }),
|
|
4127
4918
|
|
|
4128
|
-
/***/
|
|
4919
|
+
/***/ 75448:
|
|
4129
4920
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
4130
4921
|
|
|
4922
|
+
"use strict";
|
|
4131
4923
|
|
|
4132
4924
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
4133
|
-
const additionalItems_1 = __webpack_require__(
|
|
4134
|
-
const prefixItems_1 = __webpack_require__(
|
|
4135
|
-
const items_1 = __webpack_require__(
|
|
4136
|
-
const items2020_1 = __webpack_require__(
|
|
4137
|
-
const contains_1 = __webpack_require__(
|
|
4138
|
-
const dependencies_1 = __webpack_require__(
|
|
4139
|
-
const propertyNames_1 = __webpack_require__(
|
|
4140
|
-
const additionalProperties_1 = __webpack_require__(
|
|
4141
|
-
const properties_1 = __webpack_require__(
|
|
4142
|
-
const patternProperties_1 = __webpack_require__(
|
|
4143
|
-
const not_1 = __webpack_require__(
|
|
4144
|
-
const anyOf_1 = __webpack_require__(
|
|
4145
|
-
const oneOf_1 = __webpack_require__(
|
|
4146
|
-
const allOf_1 = __webpack_require__(
|
|
4147
|
-
const if_1 = __webpack_require__(
|
|
4148
|
-
const thenElse_1 = __webpack_require__(
|
|
4925
|
+
const additionalItems_1 = __webpack_require__(28145);
|
|
4926
|
+
const prefixItems_1 = __webpack_require__(97903);
|
|
4927
|
+
const items_1 = __webpack_require__(96499);
|
|
4928
|
+
const items2020_1 = __webpack_require__(53493);
|
|
4929
|
+
const contains_1 = __webpack_require__(54175);
|
|
4930
|
+
const dependencies_1 = __webpack_require__(87747);
|
|
4931
|
+
const propertyNames_1 = __webpack_require__(28548);
|
|
4932
|
+
const additionalProperties_1 = __webpack_require__(2888);
|
|
4933
|
+
const properties_1 = __webpack_require__(5245);
|
|
4934
|
+
const patternProperties_1 = __webpack_require__(76797);
|
|
4935
|
+
const not_1 = __webpack_require__(19136);
|
|
4936
|
+
const anyOf_1 = __webpack_require__(82709);
|
|
4937
|
+
const oneOf_1 = __webpack_require__(18730);
|
|
4938
|
+
const allOf_1 = __webpack_require__(48402);
|
|
4939
|
+
const if_1 = __webpack_require__(76441);
|
|
4940
|
+
const thenElse_1 = __webpack_require__(95671);
|
|
4149
4941
|
function getApplicator(draft2020 = false) {
|
|
4150
4942
|
const applicator = [
|
|
4151
4943
|
// any
|
|
@@ -4175,15 +4967,16 @@ exports["default"] = getApplicator;
|
|
|
4175
4967
|
|
|
4176
4968
|
/***/ }),
|
|
4177
4969
|
|
|
4178
|
-
/***/
|
|
4970
|
+
/***/ 96499:
|
|
4179
4971
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
4180
4972
|
|
|
4973
|
+
"use strict";
|
|
4181
4974
|
|
|
4182
4975
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
4183
4976
|
exports.validateTuple = void 0;
|
|
4184
|
-
const codegen_1 = __webpack_require__(
|
|
4185
|
-
const util_1 = __webpack_require__(
|
|
4186
|
-
const code_1 = __webpack_require__(
|
|
4977
|
+
const codegen_1 = __webpack_require__(17231);
|
|
4978
|
+
const util_1 = __webpack_require__(20679);
|
|
4979
|
+
const code_1 = __webpack_require__(36704);
|
|
4187
4980
|
const def = {
|
|
4188
4981
|
keyword: "items",
|
|
4189
4982
|
type: "array",
|
|
@@ -4233,15 +5026,16 @@ exports["default"] = def;
|
|
|
4233
5026
|
|
|
4234
5027
|
/***/ }),
|
|
4235
5028
|
|
|
4236
|
-
/***/
|
|
5029
|
+
/***/ 53493:
|
|
4237
5030
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
4238
5031
|
|
|
5032
|
+
"use strict";
|
|
4239
5033
|
|
|
4240
5034
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
4241
|
-
const codegen_1 = __webpack_require__(
|
|
4242
|
-
const util_1 = __webpack_require__(
|
|
4243
|
-
const code_1 = __webpack_require__(
|
|
4244
|
-
const additionalItems_1 = __webpack_require__(
|
|
5035
|
+
const codegen_1 = __webpack_require__(17231);
|
|
5036
|
+
const util_1 = __webpack_require__(20679);
|
|
5037
|
+
const code_1 = __webpack_require__(36704);
|
|
5038
|
+
const additionalItems_1 = __webpack_require__(28145);
|
|
4245
5039
|
const error = {
|
|
4246
5040
|
message: ({ params: { len } }) => (0, codegen_1.str) `must NOT have more than ${len} items`,
|
|
4247
5041
|
params: ({ params: { len } }) => (0, codegen_1._) `{limit: ${len}}`,
|
|
@@ -4269,12 +5063,13 @@ exports["default"] = def;
|
|
|
4269
5063
|
|
|
4270
5064
|
/***/ }),
|
|
4271
5065
|
|
|
4272
|
-
/***/
|
|
5066
|
+
/***/ 19136:
|
|
4273
5067
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
4274
5068
|
|
|
5069
|
+
"use strict";
|
|
4275
5070
|
|
|
4276
5071
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
4277
|
-
const util_1 = __webpack_require__(
|
|
5072
|
+
const util_1 = __webpack_require__(20679);
|
|
4278
5073
|
const def = {
|
|
4279
5074
|
keyword: "not",
|
|
4280
5075
|
schemaType: ["object", "boolean"],
|
|
@@ -4301,13 +5096,14 @@ exports["default"] = def;
|
|
|
4301
5096
|
|
|
4302
5097
|
/***/ }),
|
|
4303
5098
|
|
|
4304
|
-
/***/
|
|
5099
|
+
/***/ 18730:
|
|
4305
5100
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
4306
5101
|
|
|
5102
|
+
"use strict";
|
|
4307
5103
|
|
|
4308
5104
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
4309
|
-
const codegen_1 = __webpack_require__(
|
|
4310
|
-
const util_1 = __webpack_require__(
|
|
5105
|
+
const codegen_1 = __webpack_require__(17231);
|
|
5106
|
+
const util_1 = __webpack_require__(20679);
|
|
4311
5107
|
const error = {
|
|
4312
5108
|
message: "must match exactly one schema in oneOf",
|
|
4313
5109
|
params: ({ params }) => (0, codegen_1._) `{passingSchemas: ${params.passing}}`,
|
|
@@ -4367,15 +5163,16 @@ exports["default"] = def;
|
|
|
4367
5163
|
|
|
4368
5164
|
/***/ }),
|
|
4369
5165
|
|
|
4370
|
-
/***/
|
|
5166
|
+
/***/ 76797:
|
|
4371
5167
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
4372
5168
|
|
|
5169
|
+
"use strict";
|
|
4373
5170
|
|
|
4374
5171
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
4375
|
-
const code_1 = __webpack_require__(
|
|
4376
|
-
const codegen_1 = __webpack_require__(
|
|
4377
|
-
const util_1 = __webpack_require__(
|
|
4378
|
-
const util_2 = __webpack_require__(
|
|
5172
|
+
const code_1 = __webpack_require__(36704);
|
|
5173
|
+
const codegen_1 = __webpack_require__(17231);
|
|
5174
|
+
const util_1 = __webpack_require__(20679);
|
|
5175
|
+
const util_2 = __webpack_require__(20679);
|
|
4379
5176
|
const def = {
|
|
4380
5177
|
keyword: "patternProperties",
|
|
4381
5178
|
type: "object",
|
|
@@ -4448,12 +5245,13 @@ exports["default"] = def;
|
|
|
4448
5245
|
|
|
4449
5246
|
/***/ }),
|
|
4450
5247
|
|
|
4451
|
-
/***/
|
|
5248
|
+
/***/ 97903:
|
|
4452
5249
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
4453
5250
|
|
|
5251
|
+
"use strict";
|
|
4454
5252
|
|
|
4455
5253
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
4456
|
-
const items_1 = __webpack_require__(
|
|
5254
|
+
const items_1 = __webpack_require__(96499);
|
|
4457
5255
|
const def = {
|
|
4458
5256
|
keyword: "prefixItems",
|
|
4459
5257
|
type: "array",
|
|
@@ -4466,15 +5264,16 @@ exports["default"] = def;
|
|
|
4466
5264
|
|
|
4467
5265
|
/***/ }),
|
|
4468
5266
|
|
|
4469
|
-
/***/
|
|
5267
|
+
/***/ 5245:
|
|
4470
5268
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
4471
5269
|
|
|
5270
|
+
"use strict";
|
|
4472
5271
|
|
|
4473
5272
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
4474
|
-
const validate_1 = __webpack_require__(
|
|
4475
|
-
const code_1 = __webpack_require__(
|
|
4476
|
-
const util_1 = __webpack_require__(
|
|
4477
|
-
const additionalProperties_1 = __webpack_require__(
|
|
5273
|
+
const validate_1 = __webpack_require__(40764);
|
|
5274
|
+
const code_1 = __webpack_require__(36704);
|
|
5275
|
+
const util_1 = __webpack_require__(20679);
|
|
5276
|
+
const additionalProperties_1 = __webpack_require__(2888);
|
|
4478
5277
|
const def = {
|
|
4479
5278
|
keyword: "properties",
|
|
4480
5279
|
type: "object",
|
|
@@ -4526,13 +5325,14 @@ exports["default"] = def;
|
|
|
4526
5325
|
|
|
4527
5326
|
/***/ }),
|
|
4528
5327
|
|
|
4529
|
-
/***/
|
|
5328
|
+
/***/ 28548:
|
|
4530
5329
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
4531
5330
|
|
|
5331
|
+
"use strict";
|
|
4532
5332
|
|
|
4533
5333
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
4534
|
-
const codegen_1 = __webpack_require__(
|
|
4535
|
-
const util_1 = __webpack_require__(
|
|
5334
|
+
const codegen_1 = __webpack_require__(17231);
|
|
5335
|
+
const util_1 = __webpack_require__(20679);
|
|
4536
5336
|
const error = {
|
|
4537
5337
|
message: "property name must be valid",
|
|
4538
5338
|
params: ({ params }) => (0, codegen_1._) `{propertyName: ${params.propertyName}}`,
|
|
@@ -4570,12 +5370,13 @@ exports["default"] = def;
|
|
|
4570
5370
|
|
|
4571
5371
|
/***/ }),
|
|
4572
5372
|
|
|
4573
|
-
/***/
|
|
5373
|
+
/***/ 95671:
|
|
4574
5374
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
4575
5375
|
|
|
5376
|
+
"use strict";
|
|
4576
5377
|
|
|
4577
5378
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
4578
|
-
const util_1 = __webpack_require__(
|
|
5379
|
+
const util_1 = __webpack_require__(20679);
|
|
4579
5380
|
const def = {
|
|
4580
5381
|
keyword: ["then", "else"],
|
|
4581
5382
|
schemaType: ["object", "boolean"],
|
|
@@ -4589,16 +5390,17 @@ exports["default"] = def;
|
|
|
4589
5390
|
|
|
4590
5391
|
/***/ }),
|
|
4591
5392
|
|
|
4592
|
-
/***/
|
|
5393
|
+
/***/ 36704:
|
|
4593
5394
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
4594
5395
|
|
|
5396
|
+
"use strict";
|
|
4595
5397
|
|
|
4596
5398
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
4597
5399
|
exports.validateUnion = exports.validateArray = exports.usePattern = exports.callValidateCode = exports.schemaProperties = exports.allSchemaProperties = exports.noPropertyInData = exports.propertyInData = exports.isOwnProperty = exports.hasPropFunc = exports.reportMissingProp = exports.checkMissingProp = exports.checkReportMissingProp = void 0;
|
|
4598
|
-
const codegen_1 = __webpack_require__(
|
|
4599
|
-
const util_1 = __webpack_require__(
|
|
4600
|
-
const names_1 = __webpack_require__(
|
|
4601
|
-
const util_2 = __webpack_require__(
|
|
5400
|
+
const codegen_1 = __webpack_require__(17231);
|
|
5401
|
+
const util_1 = __webpack_require__(20679);
|
|
5402
|
+
const names_1 = __webpack_require__(3948);
|
|
5403
|
+
const util_2 = __webpack_require__(20679);
|
|
4602
5404
|
function checkReportMissingProp(cxt, prop) {
|
|
4603
5405
|
const { gen, data, it } = cxt;
|
|
4604
5406
|
gen.if(noPropertyInData(gen, data, prop, it.opts.ownProperties), () => {
|
|
@@ -4726,9 +5528,10 @@ exports.validateUnion = validateUnion;
|
|
|
4726
5528
|
|
|
4727
5529
|
/***/ }),
|
|
4728
5530
|
|
|
4729
|
-
/***/
|
|
5531
|
+
/***/ 40960:
|
|
4730
5532
|
/***/ ((__unused_webpack_module, exports) => {
|
|
4731
5533
|
|
|
5534
|
+
"use strict";
|
|
4732
5535
|
|
|
4733
5536
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
4734
5537
|
const def = {
|
|
@@ -4742,13 +5545,14 @@ exports["default"] = def;
|
|
|
4742
5545
|
|
|
4743
5546
|
/***/ }),
|
|
4744
5547
|
|
|
4745
|
-
/***/
|
|
5548
|
+
/***/ 18243:
|
|
4746
5549
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
4747
5550
|
|
|
5551
|
+
"use strict";
|
|
4748
5552
|
|
|
4749
5553
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
4750
|
-
const id_1 = __webpack_require__(
|
|
4751
|
-
const ref_1 = __webpack_require__(
|
|
5554
|
+
const id_1 = __webpack_require__(40960);
|
|
5555
|
+
const ref_1 = __webpack_require__(15534);
|
|
4752
5556
|
const core = [
|
|
4753
5557
|
"$schema",
|
|
4754
5558
|
"$id",
|
|
@@ -4764,18 +5568,19 @@ exports["default"] = core;
|
|
|
4764
5568
|
|
|
4765
5569
|
/***/ }),
|
|
4766
5570
|
|
|
4767
|
-
/***/
|
|
5571
|
+
/***/ 15534:
|
|
4768
5572
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
4769
5573
|
|
|
5574
|
+
"use strict";
|
|
4770
5575
|
|
|
4771
5576
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
4772
5577
|
exports.callRef = exports.getValidate = void 0;
|
|
4773
|
-
const ref_error_1 = __webpack_require__(
|
|
4774
|
-
const code_1 = __webpack_require__(
|
|
4775
|
-
const codegen_1 = __webpack_require__(
|
|
4776
|
-
const names_1 = __webpack_require__(
|
|
4777
|
-
const compile_1 = __webpack_require__(
|
|
4778
|
-
const util_1 = __webpack_require__(
|
|
5578
|
+
const ref_error_1 = __webpack_require__(26317);
|
|
5579
|
+
const code_1 = __webpack_require__(36704);
|
|
5580
|
+
const codegen_1 = __webpack_require__(17231);
|
|
5581
|
+
const names_1 = __webpack_require__(3948);
|
|
5582
|
+
const compile_1 = __webpack_require__(50052);
|
|
5583
|
+
const util_1 = __webpack_require__(20679);
|
|
4779
5584
|
const def = {
|
|
4780
5585
|
keyword: "$ref",
|
|
4781
5586
|
schemaType: "string",
|
|
@@ -4892,16 +5697,17 @@ exports["default"] = def;
|
|
|
4892
5697
|
|
|
4893
5698
|
/***/ }),
|
|
4894
5699
|
|
|
4895
|
-
/***/
|
|
5700
|
+
/***/ 30648:
|
|
4896
5701
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
4897
5702
|
|
|
5703
|
+
"use strict";
|
|
4898
5704
|
|
|
4899
5705
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
4900
|
-
const codegen_1 = __webpack_require__(
|
|
4901
|
-
const types_1 = __webpack_require__(
|
|
4902
|
-
const compile_1 = __webpack_require__(
|
|
4903
|
-
const ref_error_1 = __webpack_require__(
|
|
4904
|
-
const util_1 = __webpack_require__(
|
|
5706
|
+
const codegen_1 = __webpack_require__(17231);
|
|
5707
|
+
const types_1 = __webpack_require__(2185);
|
|
5708
|
+
const compile_1 = __webpack_require__(50052);
|
|
5709
|
+
const ref_error_1 = __webpack_require__(26317);
|
|
5710
|
+
const util_1 = __webpack_require__(20679);
|
|
4905
5711
|
const error = {
|
|
4906
5712
|
message: ({ params: { discrError, tagName } }) => discrError === types_1.DiscrError.Tag
|
|
4907
5713
|
? `tag "${tagName}" must be string`
|
|
@@ -5002,9 +5808,10 @@ exports["default"] = def;
|
|
|
5002
5808
|
|
|
5003
5809
|
/***/ }),
|
|
5004
5810
|
|
|
5005
|
-
/***/
|
|
5811
|
+
/***/ 2185:
|
|
5006
5812
|
/***/ ((__unused_webpack_module, exports) => {
|
|
5007
5813
|
|
|
5814
|
+
"use strict";
|
|
5008
5815
|
|
|
5009
5816
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
5010
5817
|
exports.DiscrError = void 0;
|
|
@@ -5017,16 +5824,17 @@ var DiscrError;
|
|
|
5017
5824
|
|
|
5018
5825
|
/***/ }),
|
|
5019
5826
|
|
|
5020
|
-
/***/
|
|
5827
|
+
/***/ 87213:
|
|
5021
5828
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
5022
5829
|
|
|
5830
|
+
"use strict";
|
|
5023
5831
|
|
|
5024
5832
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
5025
|
-
const core_1 = __webpack_require__(
|
|
5026
|
-
const validation_1 = __webpack_require__(
|
|
5027
|
-
const applicator_1 = __webpack_require__(
|
|
5028
|
-
const format_1 = __webpack_require__(
|
|
5029
|
-
const metadata_1 = __webpack_require__(
|
|
5833
|
+
const core_1 = __webpack_require__(18243);
|
|
5834
|
+
const validation_1 = __webpack_require__(19591);
|
|
5835
|
+
const applicator_1 = __webpack_require__(75448);
|
|
5836
|
+
const format_1 = __webpack_require__(4505);
|
|
5837
|
+
const metadata_1 = __webpack_require__(51935);
|
|
5030
5838
|
const draft7Vocabularies = [
|
|
5031
5839
|
core_1.default,
|
|
5032
5840
|
validation_1.default,
|
|
@@ -5040,12 +5848,13 @@ exports["default"] = draft7Vocabularies;
|
|
|
5040
5848
|
|
|
5041
5849
|
/***/ }),
|
|
5042
5850
|
|
|
5043
|
-
/***/
|
|
5851
|
+
/***/ 78803:
|
|
5044
5852
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
5045
5853
|
|
|
5854
|
+
"use strict";
|
|
5046
5855
|
|
|
5047
5856
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
5048
|
-
const codegen_1 = __webpack_require__(
|
|
5857
|
+
const codegen_1 = __webpack_require__(17231);
|
|
5049
5858
|
const error = {
|
|
5050
5859
|
message: ({ schemaCode }) => (0, codegen_1.str) `must match format "${schemaCode}"`,
|
|
5051
5860
|
params: ({ schemaCode }) => (0, codegen_1._) `{format: ${schemaCode}}`,
|
|
@@ -5138,21 +5947,23 @@ exports["default"] = def;
|
|
|
5138
5947
|
|
|
5139
5948
|
/***/ }),
|
|
5140
5949
|
|
|
5141
|
-
/***/
|
|
5950
|
+
/***/ 4505:
|
|
5142
5951
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
5143
5952
|
|
|
5953
|
+
"use strict";
|
|
5144
5954
|
|
|
5145
5955
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
5146
|
-
const format_1 = __webpack_require__(
|
|
5956
|
+
const format_1 = __webpack_require__(78803);
|
|
5147
5957
|
const format = [format_1.default];
|
|
5148
5958
|
exports["default"] = format;
|
|
5149
5959
|
//# sourceMappingURL=index.js.map
|
|
5150
5960
|
|
|
5151
5961
|
/***/ }),
|
|
5152
5962
|
|
|
5153
|
-
/***/
|
|
5963
|
+
/***/ 51935:
|
|
5154
5964
|
/***/ ((__unused_webpack_module, exports) => {
|
|
5155
5965
|
|
|
5966
|
+
"use strict";
|
|
5156
5967
|
|
|
5157
5968
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
5158
5969
|
exports.contentVocabulary = exports.metadataVocabulary = void 0;
|
|
@@ -5174,14 +5985,15 @@ exports.contentVocabulary = [
|
|
|
5174
5985
|
|
|
5175
5986
|
/***/ }),
|
|
5176
5987
|
|
|
5177
|
-
/***/
|
|
5988
|
+
/***/ 15603:
|
|
5178
5989
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
5179
5990
|
|
|
5991
|
+
"use strict";
|
|
5180
5992
|
|
|
5181
5993
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
5182
|
-
const codegen_1 = __webpack_require__(
|
|
5183
|
-
const util_1 = __webpack_require__(
|
|
5184
|
-
const equal_1 = __webpack_require__(
|
|
5994
|
+
const codegen_1 = __webpack_require__(17231);
|
|
5995
|
+
const util_1 = __webpack_require__(20679);
|
|
5996
|
+
const equal_1 = __webpack_require__(59586);
|
|
5185
5997
|
const error = {
|
|
5186
5998
|
message: "must be equal to constant",
|
|
5187
5999
|
params: ({ schemaCode }) => (0, codegen_1._) `{allowedValue: ${schemaCode}}`,
|
|
@@ -5205,14 +6017,15 @@ exports["default"] = def;
|
|
|
5205
6017
|
|
|
5206
6018
|
/***/ }),
|
|
5207
6019
|
|
|
5208
|
-
/***/
|
|
6020
|
+
/***/ 4649:
|
|
5209
6021
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
5210
6022
|
|
|
6023
|
+
"use strict";
|
|
5211
6024
|
|
|
5212
6025
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
5213
|
-
const codegen_1 = __webpack_require__(
|
|
5214
|
-
const util_1 = __webpack_require__(
|
|
5215
|
-
const equal_1 = __webpack_require__(
|
|
6026
|
+
const codegen_1 = __webpack_require__(17231);
|
|
6027
|
+
const util_1 = __webpack_require__(20679);
|
|
6028
|
+
const equal_1 = __webpack_require__(59586);
|
|
5216
6029
|
const error = {
|
|
5217
6030
|
message: "must be equal to one of the allowed values",
|
|
5218
6031
|
params: ({ schemaCode }) => (0, codegen_1._) `{allowedValues: ${schemaCode}}`,
|
|
@@ -5259,21 +6072,22 @@ exports["default"] = def;
|
|
|
5259
6072
|
|
|
5260
6073
|
/***/ }),
|
|
5261
6074
|
|
|
5262
|
-
/***/
|
|
6075
|
+
/***/ 19591:
|
|
5263
6076
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
5264
6077
|
|
|
6078
|
+
"use strict";
|
|
5265
6079
|
|
|
5266
6080
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
5267
|
-
const limitNumber_1 = __webpack_require__(
|
|
5268
|
-
const multipleOf_1 = __webpack_require__(
|
|
5269
|
-
const limitLength_1 = __webpack_require__(
|
|
5270
|
-
const pattern_1 = __webpack_require__(
|
|
5271
|
-
const limitProperties_1 = __webpack_require__(
|
|
5272
|
-
const required_1 = __webpack_require__(
|
|
5273
|
-
const limitItems_1 = __webpack_require__(
|
|
5274
|
-
const uniqueItems_1 = __webpack_require__(
|
|
5275
|
-
const const_1 = __webpack_require__(
|
|
5276
|
-
const enum_1 = __webpack_require__(
|
|
6081
|
+
const limitNumber_1 = __webpack_require__(22734);
|
|
6082
|
+
const multipleOf_1 = __webpack_require__(98334);
|
|
6083
|
+
const limitLength_1 = __webpack_require__(65030);
|
|
6084
|
+
const pattern_1 = __webpack_require__(74287);
|
|
6085
|
+
const limitProperties_1 = __webpack_require__(73485);
|
|
6086
|
+
const required_1 = __webpack_require__(53758);
|
|
6087
|
+
const limitItems_1 = __webpack_require__(39633);
|
|
6088
|
+
const uniqueItems_1 = __webpack_require__(49150);
|
|
6089
|
+
const const_1 = __webpack_require__(15603);
|
|
6090
|
+
const enum_1 = __webpack_require__(4649);
|
|
5277
6091
|
const validation = [
|
|
5278
6092
|
// number
|
|
5279
6093
|
limitNumber_1.default,
|
|
@@ -5298,12 +6112,13 @@ exports["default"] = validation;
|
|
|
5298
6112
|
|
|
5299
6113
|
/***/ }),
|
|
5300
6114
|
|
|
5301
|
-
/***/
|
|
6115
|
+
/***/ 39633:
|
|
5302
6116
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
5303
6117
|
|
|
6118
|
+
"use strict";
|
|
5304
6119
|
|
|
5305
6120
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
5306
|
-
const codegen_1 = __webpack_require__(
|
|
6121
|
+
const codegen_1 = __webpack_require__(17231);
|
|
5307
6122
|
const error = {
|
|
5308
6123
|
message({ keyword, schemaCode }) {
|
|
5309
6124
|
const comp = keyword === "maxItems" ? "more" : "fewer";
|
|
@@ -5328,14 +6143,15 @@ exports["default"] = def;
|
|
|
5328
6143
|
|
|
5329
6144
|
/***/ }),
|
|
5330
6145
|
|
|
5331
|
-
/***/
|
|
6146
|
+
/***/ 65030:
|
|
5332
6147
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
5333
6148
|
|
|
6149
|
+
"use strict";
|
|
5334
6150
|
|
|
5335
6151
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
5336
|
-
const codegen_1 = __webpack_require__(
|
|
5337
|
-
const util_1 = __webpack_require__(
|
|
5338
|
-
const ucs2length_1 = __webpack_require__(
|
|
6152
|
+
const codegen_1 = __webpack_require__(17231);
|
|
6153
|
+
const util_1 = __webpack_require__(20679);
|
|
6154
|
+
const ucs2length_1 = __webpack_require__(20680);
|
|
5339
6155
|
const error = {
|
|
5340
6156
|
message({ keyword, schemaCode }) {
|
|
5341
6157
|
const comp = keyword === "maxLength" ? "more" : "fewer";
|
|
@@ -5361,12 +6177,13 @@ exports["default"] = def;
|
|
|
5361
6177
|
|
|
5362
6178
|
/***/ }),
|
|
5363
6179
|
|
|
5364
|
-
/***/
|
|
6180
|
+
/***/ 22734:
|
|
5365
6181
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
5366
6182
|
|
|
6183
|
+
"use strict";
|
|
5367
6184
|
|
|
5368
6185
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
5369
|
-
const codegen_1 = __webpack_require__(
|
|
6186
|
+
const codegen_1 = __webpack_require__(17231);
|
|
5370
6187
|
const ops = codegen_1.operators;
|
|
5371
6188
|
const KWDs = {
|
|
5372
6189
|
maximum: { okStr: "<=", ok: ops.LTE, fail: ops.GT },
|
|
@@ -5394,12 +6211,13 @@ exports["default"] = def;
|
|
|
5394
6211
|
|
|
5395
6212
|
/***/ }),
|
|
5396
6213
|
|
|
5397
|
-
/***/
|
|
6214
|
+
/***/ 73485:
|
|
5398
6215
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
5399
6216
|
|
|
6217
|
+
"use strict";
|
|
5400
6218
|
|
|
5401
6219
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
5402
|
-
const codegen_1 = __webpack_require__(
|
|
6220
|
+
const codegen_1 = __webpack_require__(17231);
|
|
5403
6221
|
const error = {
|
|
5404
6222
|
message({ keyword, schemaCode }) {
|
|
5405
6223
|
const comp = keyword === "maxProperties" ? "more" : "fewer";
|
|
@@ -5424,12 +6242,13 @@ exports["default"] = def;
|
|
|
5424
6242
|
|
|
5425
6243
|
/***/ }),
|
|
5426
6244
|
|
|
5427
|
-
/***/
|
|
6245
|
+
/***/ 98334:
|
|
5428
6246
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
5429
6247
|
|
|
6248
|
+
"use strict";
|
|
5430
6249
|
|
|
5431
6250
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
5432
|
-
const codegen_1 = __webpack_require__(
|
|
6251
|
+
const codegen_1 = __webpack_require__(17231);
|
|
5433
6252
|
const error = {
|
|
5434
6253
|
message: ({ schemaCode }) => (0, codegen_1.str) `must be multiple of ${schemaCode}`,
|
|
5435
6254
|
params: ({ schemaCode }) => (0, codegen_1._) `{multipleOf: ${schemaCode}}`,
|
|
@@ -5456,13 +6275,14 @@ exports["default"] = def;
|
|
|
5456
6275
|
|
|
5457
6276
|
/***/ }),
|
|
5458
6277
|
|
|
5459
|
-
/***/
|
|
6278
|
+
/***/ 74287:
|
|
5460
6279
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
5461
6280
|
|
|
6281
|
+
"use strict";
|
|
5462
6282
|
|
|
5463
6283
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
5464
|
-
const code_1 = __webpack_require__(
|
|
5465
|
-
const codegen_1 = __webpack_require__(
|
|
6284
|
+
const code_1 = __webpack_require__(36704);
|
|
6285
|
+
const codegen_1 = __webpack_require__(17231);
|
|
5466
6286
|
const error = {
|
|
5467
6287
|
message: ({ schemaCode }) => (0, codegen_1.str) `must match pattern "${schemaCode}"`,
|
|
5468
6288
|
params: ({ schemaCode }) => (0, codegen_1._) `{pattern: ${schemaCode}}`,
|
|
@@ -5486,14 +6306,15 @@ exports["default"] = def;
|
|
|
5486
6306
|
|
|
5487
6307
|
/***/ }),
|
|
5488
6308
|
|
|
5489
|
-
/***/
|
|
6309
|
+
/***/ 53758:
|
|
5490
6310
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
5491
6311
|
|
|
6312
|
+
"use strict";
|
|
5492
6313
|
|
|
5493
6314
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
5494
|
-
const code_1 = __webpack_require__(
|
|
5495
|
-
const codegen_1 = __webpack_require__(
|
|
5496
|
-
const util_1 = __webpack_require__(
|
|
6315
|
+
const code_1 = __webpack_require__(36704);
|
|
6316
|
+
const codegen_1 = __webpack_require__(17231);
|
|
6317
|
+
const util_1 = __webpack_require__(20679);
|
|
5497
6318
|
const error = {
|
|
5498
6319
|
message: ({ params: { missingProperty } }) => (0, codegen_1.str) `must have required property '${missingProperty}'`,
|
|
5499
6320
|
params: ({ params: { missingProperty } }) => (0, codegen_1._) `{missingProperty: ${missingProperty}}`,
|
|
@@ -5571,15 +6392,16 @@ exports["default"] = def;
|
|
|
5571
6392
|
|
|
5572
6393
|
/***/ }),
|
|
5573
6394
|
|
|
5574
|
-
/***/
|
|
6395
|
+
/***/ 49150:
|
|
5575
6396
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
5576
6397
|
|
|
6398
|
+
"use strict";
|
|
5577
6399
|
|
|
5578
6400
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
5579
|
-
const dataType_1 = __webpack_require__(
|
|
5580
|
-
const codegen_1 = __webpack_require__(
|
|
5581
|
-
const util_1 = __webpack_require__(
|
|
5582
|
-
const equal_1 = __webpack_require__(
|
|
6401
|
+
const dataType_1 = __webpack_require__(85077);
|
|
6402
|
+
const codegen_1 = __webpack_require__(17231);
|
|
6403
|
+
const util_1 = __webpack_require__(20679);
|
|
6404
|
+
const equal_1 = __webpack_require__(59586);
|
|
5583
6405
|
const error = {
|
|
5584
6406
|
message: ({ params: { i, j } }) => (0, codegen_1.str) `must NOT have duplicate items (items ## ${j} and ${i} are identical)`,
|
|
5585
6407
|
params: ({ params: { i, j } }) => (0, codegen_1._) `{i: ${i}, j: ${j}}`,
|
|
@@ -5641,965 +6463,676 @@ exports["default"] = def;
|
|
|
5641
6463
|
|
|
5642
6464
|
/***/ }),
|
|
5643
6465
|
|
|
5644
|
-
/***/
|
|
5645
|
-
/***/ ((module) => {
|
|
5646
|
-
|
|
5647
|
-
|
|
5648
|
-
|
|
5649
|
-
// do not edit .js files directly - edit src/index.jst
|
|
5650
|
-
|
|
5651
|
-
|
|
6466
|
+
/***/ 52485:
|
|
6467
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
5652
6468
|
|
|
5653
|
-
|
|
5654
|
-
|
|
6469
|
+
var MapCache = __webpack_require__(74554),
|
|
6470
|
+
setCacheAdd = __webpack_require__(38639),
|
|
6471
|
+
setCacheHas = __webpack_require__(88379);
|
|
5655
6472
|
|
|
5656
|
-
|
|
5657
|
-
|
|
6473
|
+
/**
|
|
6474
|
+
*
|
|
6475
|
+
* Creates an array cache object to store unique values.
|
|
6476
|
+
*
|
|
6477
|
+
* @private
|
|
6478
|
+
* @constructor
|
|
6479
|
+
* @param {Array} [values] The values to cache.
|
|
6480
|
+
*/
|
|
6481
|
+
function SetCache(values) {
|
|
6482
|
+
var index = -1,
|
|
6483
|
+
length = values == null ? 0 : values.length;
|
|
5658
6484
|
|
|
5659
|
-
|
|
5660
|
-
|
|
5661
|
-
|
|
5662
|
-
|
|
5663
|
-
|
|
5664
|
-
if (!equal(a[i], b[i])) return false;
|
|
5665
|
-
return true;
|
|
5666
|
-
}
|
|
6485
|
+
this.__data__ = new MapCache;
|
|
6486
|
+
while (++index < length) {
|
|
6487
|
+
this.add(values[index]);
|
|
6488
|
+
}
|
|
6489
|
+
}
|
|
5667
6490
|
|
|
6491
|
+
// Add methods to `SetCache`.
|
|
6492
|
+
SetCache.prototype.add = SetCache.prototype.push = setCacheAdd;
|
|
6493
|
+
SetCache.prototype.has = setCacheHas;
|
|
5668
6494
|
|
|
6495
|
+
module.exports = SetCache;
|
|
5669
6496
|
|
|
5670
|
-
if (a.constructor === RegExp) return a.source === b.source && a.flags === b.flags;
|
|
5671
|
-
if (a.valueOf !== Object.prototype.valueOf) return a.valueOf() === b.valueOf();
|
|
5672
|
-
if (a.toString !== Object.prototype.toString) return a.toString() === b.toString();
|
|
5673
6497
|
|
|
5674
|
-
|
|
5675
|
-
length = keys.length;
|
|
5676
|
-
if (length !== Object.keys(b).length) return false;
|
|
6498
|
+
/***/ }),
|
|
5677
6499
|
|
|
5678
|
-
|
|
5679
|
-
|
|
6500
|
+
/***/ 90756:
|
|
6501
|
+
/***/ ((module) => {
|
|
5680
6502
|
|
|
5681
|
-
|
|
5682
|
-
|
|
6503
|
+
/**
|
|
6504
|
+
* A specialized version of `_.some` for arrays without support for iteratee
|
|
6505
|
+
* shorthands.
|
|
6506
|
+
*
|
|
6507
|
+
* @private
|
|
6508
|
+
* @param {Array} [array] The array to iterate over.
|
|
6509
|
+
* @param {Function} predicate The function invoked per iteration.
|
|
6510
|
+
* @returns {boolean} Returns `true` if any element passes the predicate check,
|
|
6511
|
+
* else `false`.
|
|
6512
|
+
*/
|
|
6513
|
+
function arraySome(array, predicate) {
|
|
6514
|
+
var index = -1,
|
|
6515
|
+
length = array == null ? 0 : array.length;
|
|
5683
6516
|
|
|
5684
|
-
|
|
6517
|
+
while (++index < length) {
|
|
6518
|
+
if (predicate(array[index], index, array)) {
|
|
6519
|
+
return true;
|
|
5685
6520
|
}
|
|
5686
|
-
|
|
5687
|
-
return true;
|
|
5688
6521
|
}
|
|
6522
|
+
return false;
|
|
6523
|
+
}
|
|
5689
6524
|
|
|
5690
|
-
|
|
5691
|
-
return a!==a && b!==b;
|
|
5692
|
-
};
|
|
6525
|
+
module.exports = arraySome;
|
|
5693
6526
|
|
|
5694
6527
|
|
|
5695
6528
|
/***/ }),
|
|
5696
6529
|
|
|
5697
|
-
/***/
|
|
6530
|
+
/***/ 32866:
|
|
5698
6531
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
5699
6532
|
|
|
6533
|
+
var baseIsEqualDeep = __webpack_require__(12772),
|
|
6534
|
+
isObjectLike = __webpack_require__(92360);
|
|
5700
6535
|
|
|
5701
|
-
|
|
5702
|
-
|
|
5703
|
-
|
|
5704
|
-
|
|
5705
|
-
|
|
5706
|
-
|
|
5707
|
-
|
|
5708
|
-
|
|
5709
|
-
|
|
5710
|
-
|
|
5711
|
-
|
|
5712
|
-
}
|
|
5713
|
-
|
|
5714
|
-
|
|
5715
|
-
|
|
5716
|
-
|
|
5717
|
-
|
|
5718
|
-
}
|
|
5719
|
-
|
|
5720
|
-
function resolveComponents (base, relative, options, skipNormalization) {
|
|
5721
|
-
const target = {}
|
|
5722
|
-
if (!skipNormalization) {
|
|
5723
|
-
base = parse(serialize(base, options), options) // normalize base components
|
|
5724
|
-
relative = parse(serialize(relative, options), options) // normalize relative components
|
|
6536
|
+
/**
|
|
6537
|
+
* The base implementation of `_.isEqual` which supports partial comparisons
|
|
6538
|
+
* and tracks traversed objects.
|
|
6539
|
+
*
|
|
6540
|
+
* @private
|
|
6541
|
+
* @param {*} value The value to compare.
|
|
6542
|
+
* @param {*} other The other value to compare.
|
|
6543
|
+
* @param {boolean} bitmask The bitmask flags.
|
|
6544
|
+
* 1 - Unordered comparison
|
|
6545
|
+
* 2 - Partial comparison
|
|
6546
|
+
* @param {Function} [customizer] The function to customize comparisons.
|
|
6547
|
+
* @param {Object} [stack] Tracks traversed `value` and `other` objects.
|
|
6548
|
+
* @returns {boolean} Returns `true` if the values are equivalent, else `false`.
|
|
6549
|
+
*/
|
|
6550
|
+
function baseIsEqual(value, other, bitmask, customizer, stack) {
|
|
6551
|
+
if (value === other) {
|
|
6552
|
+
return true;
|
|
5725
6553
|
}
|
|
5726
|
-
|
|
5727
|
-
|
|
5728
|
-
if (!options.tolerant && relative.scheme) {
|
|
5729
|
-
target.scheme = relative.scheme
|
|
5730
|
-
// target.authority = relative.authority;
|
|
5731
|
-
target.userinfo = relative.userinfo
|
|
5732
|
-
target.host = relative.host
|
|
5733
|
-
target.port = relative.port
|
|
5734
|
-
target.path = removeDotSegments(relative.path || '')
|
|
5735
|
-
target.query = relative.query
|
|
5736
|
-
} else {
|
|
5737
|
-
if (relative.userinfo !== undefined || relative.host !== undefined || relative.port !== undefined) {
|
|
5738
|
-
// target.authority = relative.authority;
|
|
5739
|
-
target.userinfo = relative.userinfo
|
|
5740
|
-
target.host = relative.host
|
|
5741
|
-
target.port = relative.port
|
|
5742
|
-
target.path = removeDotSegments(relative.path || '')
|
|
5743
|
-
target.query = relative.query
|
|
5744
|
-
} else {
|
|
5745
|
-
if (!relative.path) {
|
|
5746
|
-
target.path = base.path
|
|
5747
|
-
if (relative.query !== undefined) {
|
|
5748
|
-
target.query = relative.query
|
|
5749
|
-
} else {
|
|
5750
|
-
target.query = base.query
|
|
5751
|
-
}
|
|
5752
|
-
} else {
|
|
5753
|
-
if (relative.path.charAt(0) === '/') {
|
|
5754
|
-
target.path = removeDotSegments(relative.path)
|
|
5755
|
-
} else {
|
|
5756
|
-
if ((base.userinfo !== undefined || base.host !== undefined || base.port !== undefined) && !base.path) {
|
|
5757
|
-
target.path = '/' + relative.path
|
|
5758
|
-
} else if (!base.path) {
|
|
5759
|
-
target.path = relative.path
|
|
5760
|
-
} else {
|
|
5761
|
-
target.path = base.path.slice(0, base.path.lastIndexOf('/') + 1) + relative.path
|
|
5762
|
-
}
|
|
5763
|
-
target.path = removeDotSegments(target.path)
|
|
5764
|
-
}
|
|
5765
|
-
target.query = relative.query
|
|
5766
|
-
}
|
|
5767
|
-
// target.authority = base.authority;
|
|
5768
|
-
target.userinfo = base.userinfo
|
|
5769
|
-
target.host = base.host
|
|
5770
|
-
target.port = base.port
|
|
5771
|
-
}
|
|
5772
|
-
target.scheme = base.scheme
|
|
6554
|
+
if (value == null || other == null || (!isObjectLike(value) && !isObjectLike(other))) {
|
|
6555
|
+
return value !== value && other !== other;
|
|
5773
6556
|
}
|
|
5774
|
-
|
|
5775
|
-
target.fragment = relative.fragment
|
|
5776
|
-
|
|
5777
|
-
return target
|
|
6557
|
+
return baseIsEqualDeep(value, other, bitmask, customizer, baseIsEqual, stack);
|
|
5778
6558
|
}
|
|
5779
6559
|
|
|
5780
|
-
|
|
5781
|
-
if (typeof uriA === 'string') {
|
|
5782
|
-
uriA = unescape(uriA)
|
|
5783
|
-
uriA = serialize(normalizeComponentEncoding(parse(uriA, options), true), { ...options, skipEscape: true })
|
|
5784
|
-
} else if (typeof uriA === 'object') {
|
|
5785
|
-
uriA = serialize(normalizeComponentEncoding(uriA, true), { ...options, skipEscape: true })
|
|
5786
|
-
}
|
|
6560
|
+
module.exports = baseIsEqual;
|
|
5787
6561
|
|
|
5788
|
-
if (typeof uriB === 'string') {
|
|
5789
|
-
uriB = unescape(uriB)
|
|
5790
|
-
uriB = serialize(normalizeComponentEncoding(parse(uriB, options), true), { ...options, skipEscape: true })
|
|
5791
|
-
} else if (typeof uriB === 'object') {
|
|
5792
|
-
uriB = serialize(normalizeComponentEncoding(uriB, true), { ...options, skipEscape: true })
|
|
5793
|
-
}
|
|
5794
6562
|
|
|
5795
|
-
|
|
5796
|
-
}
|
|
5797
|
-
|
|
5798
|
-
function serialize (cmpts, opts) {
|
|
5799
|
-
const components = {
|
|
5800
|
-
host: cmpts.host,
|
|
5801
|
-
scheme: cmpts.scheme,
|
|
5802
|
-
userinfo: cmpts.userinfo,
|
|
5803
|
-
port: cmpts.port,
|
|
5804
|
-
path: cmpts.path,
|
|
5805
|
-
query: cmpts.query,
|
|
5806
|
-
nid: cmpts.nid,
|
|
5807
|
-
nss: cmpts.nss,
|
|
5808
|
-
uuid: cmpts.uuid,
|
|
5809
|
-
fragment: cmpts.fragment,
|
|
5810
|
-
reference: cmpts.reference,
|
|
5811
|
-
resourceName: cmpts.resourceName,
|
|
5812
|
-
secure: cmpts.secure,
|
|
5813
|
-
error: ''
|
|
5814
|
-
}
|
|
5815
|
-
const options = Object.assign({}, opts)
|
|
5816
|
-
const uriTokens = []
|
|
6563
|
+
/***/ }),
|
|
5817
6564
|
|
|
5818
|
-
|
|
5819
|
-
|
|
6565
|
+
/***/ 12772:
|
|
6566
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
5820
6567
|
|
|
5821
|
-
|
|
5822
|
-
|
|
6568
|
+
var Stack = __webpack_require__(23694),
|
|
6569
|
+
equalArrays = __webpack_require__(27042),
|
|
6570
|
+
equalByTag = __webpack_require__(370),
|
|
6571
|
+
equalObjects = __webpack_require__(39584),
|
|
6572
|
+
getTag = __webpack_require__(3533),
|
|
6573
|
+
isArray = __webpack_require__(19785),
|
|
6574
|
+
isBuffer = __webpack_require__(43854),
|
|
6575
|
+
isTypedArray = __webpack_require__(48519);
|
|
5823
6576
|
|
|
5824
|
-
|
|
5825
|
-
|
|
5826
|
-
components.path = escape(components.path)
|
|
6577
|
+
/** Used to compose bitmasks for value comparisons. */
|
|
6578
|
+
var COMPARE_PARTIAL_FLAG = 1;
|
|
5827
6579
|
|
|
5828
|
-
|
|
5829
|
-
|
|
5830
|
-
|
|
5831
|
-
|
|
5832
|
-
components.path = unescape(components.path)
|
|
5833
|
-
}
|
|
5834
|
-
}
|
|
6580
|
+
/** `Object#toString` result references. */
|
|
6581
|
+
var argsTag = '[object Arguments]',
|
|
6582
|
+
arrayTag = '[object Array]',
|
|
6583
|
+
objectTag = '[object Object]';
|
|
5835
6584
|
|
|
5836
|
-
|
|
5837
|
-
|
|
5838
|
-
}
|
|
6585
|
+
/** Used for built-in method references. */
|
|
6586
|
+
var objectProto = Object.prototype;
|
|
5839
6587
|
|
|
5840
|
-
|
|
5841
|
-
|
|
5842
|
-
if (options.reference !== 'suffix') {
|
|
5843
|
-
uriTokens.push('//')
|
|
5844
|
-
}
|
|
6588
|
+
/** Used to check objects for own properties. */
|
|
6589
|
+
var hasOwnProperty = objectProto.hasOwnProperty;
|
|
5845
6590
|
|
|
5846
|
-
|
|
6591
|
+
/**
|
|
6592
|
+
* A specialized version of `baseIsEqual` for arrays and objects which performs
|
|
6593
|
+
* deep comparisons and tracks traversed objects enabling objects with circular
|
|
6594
|
+
* references to be compared.
|
|
6595
|
+
*
|
|
6596
|
+
* @private
|
|
6597
|
+
* @param {Object} object The object to compare.
|
|
6598
|
+
* @param {Object} other The other object to compare.
|
|
6599
|
+
* @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.
|
|
6600
|
+
* @param {Function} customizer The function to customize comparisons.
|
|
6601
|
+
* @param {Function} equalFunc The function to determine equivalents of values.
|
|
6602
|
+
* @param {Object} [stack] Tracks traversed `object` and `other` objects.
|
|
6603
|
+
* @returns {boolean} Returns `true` if the objects are equivalent, else `false`.
|
|
6604
|
+
*/
|
|
6605
|
+
function baseIsEqualDeep(object, other, bitmask, customizer, equalFunc, stack) {
|
|
6606
|
+
var objIsArr = isArray(object),
|
|
6607
|
+
othIsArr = isArray(other),
|
|
6608
|
+
objTag = objIsArr ? arrayTag : getTag(object),
|
|
6609
|
+
othTag = othIsArr ? arrayTag : getTag(other);
|
|
5847
6610
|
|
|
5848
|
-
|
|
5849
|
-
|
|
5850
|
-
}
|
|
5851
|
-
}
|
|
5852
|
-
if (components.path !== undefined) {
|
|
5853
|
-
let s = components.path
|
|
6611
|
+
objTag = objTag == argsTag ? objectTag : objTag;
|
|
6612
|
+
othTag = othTag == argsTag ? objectTag : othTag;
|
|
5854
6613
|
|
|
5855
|
-
|
|
5856
|
-
|
|
5857
|
-
|
|
6614
|
+
var objIsObj = objTag == objectTag,
|
|
6615
|
+
othIsObj = othTag == objectTag,
|
|
6616
|
+
isSameTag = objTag == othTag;
|
|
5858
6617
|
|
|
5859
|
-
|
|
5860
|
-
|
|
6618
|
+
if (isSameTag && isBuffer(object)) {
|
|
6619
|
+
if (!isBuffer(other)) {
|
|
6620
|
+
return false;
|
|
5861
6621
|
}
|
|
5862
|
-
|
|
5863
|
-
|
|
5864
|
-
}
|
|
5865
|
-
|
|
5866
|
-
if (components.query !== undefined) {
|
|
5867
|
-
uriTokens.push('?', components.query)
|
|
6622
|
+
objIsArr = true;
|
|
6623
|
+
objIsObj = false;
|
|
5868
6624
|
}
|
|
5869
|
-
|
|
5870
|
-
|
|
5871
|
-
|
|
6625
|
+
if (isSameTag && !objIsObj) {
|
|
6626
|
+
stack || (stack = new Stack);
|
|
6627
|
+
return (objIsArr || isTypedArray(object))
|
|
6628
|
+
? equalArrays(object, other, bitmask, customizer, equalFunc, stack)
|
|
6629
|
+
: equalByTag(object, other, objTag, bitmask, customizer, equalFunc, stack);
|
|
5872
6630
|
}
|
|
5873
|
-
|
|
5874
|
-
|
|
6631
|
+
if (!(bitmask & COMPARE_PARTIAL_FLAG)) {
|
|
6632
|
+
var objIsWrapped = objIsObj && hasOwnProperty.call(object, '__wrapped__'),
|
|
6633
|
+
othIsWrapped = othIsObj && hasOwnProperty.call(other, '__wrapped__');
|
|
5875
6634
|
|
|
5876
|
-
|
|
6635
|
+
if (objIsWrapped || othIsWrapped) {
|
|
6636
|
+
var objUnwrapped = objIsWrapped ? object.value() : object,
|
|
6637
|
+
othUnwrapped = othIsWrapped ? other.value() : other;
|
|
5877
6638
|
|
|
5878
|
-
|
|
5879
|
-
|
|
5880
|
-
for (let i = 0, len = value.length; i < len; ++i) {
|
|
5881
|
-
code = value.charCodeAt(i)
|
|
5882
|
-
if (code > 126 || hexLookUp[code]) {
|
|
5883
|
-
return true
|
|
6639
|
+
stack || (stack = new Stack);
|
|
6640
|
+
return equalFunc(objUnwrapped, othUnwrapped, bitmask, customizer, stack);
|
|
5884
6641
|
}
|
|
5885
6642
|
}
|
|
5886
|
-
|
|
5887
|
-
|
|
5888
|
-
|
|
5889
|
-
const URI_PARSE = /^(?:([^#/:?]+):)?(?:\/\/((?:([^#/?@]*)@)?(\[[^#/?\]]+\]|[^#/:?]*)(?::(\d*))?))?([^#?]*)(?:\?([^#]*))?(?:#((?:.|[\n\r])*))?/u
|
|
5890
|
-
|
|
5891
|
-
function parse (uri, opts) {
|
|
5892
|
-
const options = Object.assign({}, opts)
|
|
5893
|
-
const parsed = {
|
|
5894
|
-
scheme: undefined,
|
|
5895
|
-
userinfo: undefined,
|
|
5896
|
-
host: '',
|
|
5897
|
-
port: undefined,
|
|
5898
|
-
path: '',
|
|
5899
|
-
query: undefined,
|
|
5900
|
-
fragment: undefined
|
|
5901
|
-
}
|
|
5902
|
-
const gotEncoding = uri.indexOf('%') !== -1
|
|
5903
|
-
let isIP = false
|
|
5904
|
-
if (options.reference === 'suffix') uri = (options.scheme ? options.scheme + ':' : '') + '//' + uri
|
|
5905
|
-
|
|
5906
|
-
const matches = uri.match(URI_PARSE)
|
|
5907
|
-
|
|
5908
|
-
if (matches) {
|
|
5909
|
-
// store each component
|
|
5910
|
-
parsed.scheme = matches[1]
|
|
5911
|
-
parsed.userinfo = matches[3]
|
|
5912
|
-
parsed.host = matches[4]
|
|
5913
|
-
parsed.port = parseInt(matches[5], 10)
|
|
5914
|
-
parsed.path = matches[6] || ''
|
|
5915
|
-
parsed.query = matches[7]
|
|
5916
|
-
parsed.fragment = matches[8]
|
|
5917
|
-
|
|
5918
|
-
// fix port number
|
|
5919
|
-
if (isNaN(parsed.port)) {
|
|
5920
|
-
parsed.port = matches[5]
|
|
5921
|
-
}
|
|
5922
|
-
if (parsed.host) {
|
|
5923
|
-
const ipv4result = normalizeIPv4(parsed.host)
|
|
5924
|
-
if (ipv4result.isIPV4 === false) {
|
|
5925
|
-
const ipv6result = normalizeIPv6(ipv4result.host)
|
|
5926
|
-
parsed.host = ipv6result.host.toLowerCase()
|
|
5927
|
-
isIP = ipv6result.isIPV6
|
|
5928
|
-
} else {
|
|
5929
|
-
parsed.host = ipv4result.host
|
|
5930
|
-
isIP = true
|
|
5931
|
-
}
|
|
5932
|
-
}
|
|
5933
|
-
if (parsed.scheme === undefined && parsed.userinfo === undefined && parsed.host === undefined && parsed.port === undefined && parsed.query === undefined && !parsed.path) {
|
|
5934
|
-
parsed.reference = 'same-document'
|
|
5935
|
-
} else if (parsed.scheme === undefined) {
|
|
5936
|
-
parsed.reference = 'relative'
|
|
5937
|
-
} else if (parsed.fragment === undefined) {
|
|
5938
|
-
parsed.reference = 'absolute'
|
|
5939
|
-
} else {
|
|
5940
|
-
parsed.reference = 'uri'
|
|
5941
|
-
}
|
|
5942
|
-
|
|
5943
|
-
// check for reference errors
|
|
5944
|
-
if (options.reference && options.reference !== 'suffix' && options.reference !== parsed.reference) {
|
|
5945
|
-
parsed.error = parsed.error || 'URI is not a ' + options.reference + ' reference.'
|
|
5946
|
-
}
|
|
5947
|
-
|
|
5948
|
-
// find scheme handler
|
|
5949
|
-
const schemeHandler = SCHEMES[(options.scheme || parsed.scheme || '').toLowerCase()]
|
|
5950
|
-
|
|
5951
|
-
// check if scheme can't handle IRIs
|
|
5952
|
-
if (!options.unicodeSupport && (!schemeHandler || !schemeHandler.unicodeSupport)) {
|
|
5953
|
-
// if host component is a domain name
|
|
5954
|
-
if (parsed.host && (options.domainHost || (schemeHandler && schemeHandler.domainHost)) && isIP === false && nonSimpleDomain(parsed.host)) {
|
|
5955
|
-
// convert Unicode IDN -> ASCII IDN
|
|
5956
|
-
try {
|
|
5957
|
-
parsed.host = URL.domainToASCII(parsed.host.toLowerCase())
|
|
5958
|
-
} catch (e) {
|
|
5959
|
-
parsed.error = parsed.error || "Host's domain name can not be converted to ASCII: " + e
|
|
5960
|
-
}
|
|
5961
|
-
}
|
|
5962
|
-
// convert IRI -> URI
|
|
5963
|
-
}
|
|
5964
|
-
|
|
5965
|
-
if (!schemeHandler || (schemeHandler && !schemeHandler.skipNormalize)) {
|
|
5966
|
-
if (gotEncoding && parsed.scheme !== undefined) {
|
|
5967
|
-
parsed.scheme = unescape(parsed.scheme)
|
|
5968
|
-
}
|
|
5969
|
-
if (gotEncoding && parsed.host !== undefined) {
|
|
5970
|
-
parsed.host = unescape(parsed.host)
|
|
5971
|
-
}
|
|
5972
|
-
if (parsed.path) {
|
|
5973
|
-
parsed.path = escape(unescape(parsed.path))
|
|
5974
|
-
}
|
|
5975
|
-
if (parsed.fragment) {
|
|
5976
|
-
parsed.fragment = encodeURI(decodeURIComponent(parsed.fragment))
|
|
5977
|
-
}
|
|
5978
|
-
}
|
|
5979
|
-
|
|
5980
|
-
// perform scheme specific parsing
|
|
5981
|
-
if (schemeHandler && schemeHandler.parse) {
|
|
5982
|
-
schemeHandler.parse(parsed, options)
|
|
5983
|
-
}
|
|
5984
|
-
} else {
|
|
5985
|
-
parsed.error = parsed.error || 'URI can not be parsed.'
|
|
6643
|
+
if (!isSameTag) {
|
|
6644
|
+
return false;
|
|
5986
6645
|
}
|
|
5987
|
-
|
|
5988
|
-
|
|
5989
|
-
|
|
5990
|
-
const fastUri = {
|
|
5991
|
-
SCHEMES,
|
|
5992
|
-
normalize,
|
|
5993
|
-
resolve,
|
|
5994
|
-
resolveComponents,
|
|
5995
|
-
equal,
|
|
5996
|
-
serialize,
|
|
5997
|
-
parse
|
|
6646
|
+
stack || (stack = new Stack);
|
|
6647
|
+
return equalObjects(object, other, bitmask, customizer, equalFunc, stack);
|
|
5998
6648
|
}
|
|
5999
6649
|
|
|
6000
|
-
module.exports =
|
|
6001
|
-
module.exports["default"] = fastUri
|
|
6002
|
-
module.exports.fastUri = fastUri
|
|
6650
|
+
module.exports = baseIsEqualDeep;
|
|
6003
6651
|
|
|
6004
6652
|
|
|
6005
6653
|
/***/ }),
|
|
6006
6654
|
|
|
6007
|
-
/***/
|
|
6655
|
+
/***/ 65581:
|
|
6008
6656
|
/***/ ((module) => {
|
|
6009
6657
|
|
|
6010
|
-
|
|
6011
|
-
|
|
6012
|
-
|
|
6013
|
-
|
|
6014
|
-
|
|
6015
|
-
|
|
6016
|
-
|
|
6017
|
-
|
|
6018
|
-
|
|
6019
|
-
|
|
6020
|
-
if (!components.host) {
|
|
6021
|
-
components.error = components.error || 'HTTP URIs must have a host.'
|
|
6022
|
-
}
|
|
6023
|
-
|
|
6024
|
-
return components
|
|
6025
|
-
}
|
|
6026
|
-
|
|
6027
|
-
function httpSerialize (components) {
|
|
6028
|
-
const secure = String(components.scheme).toLowerCase() === 'https'
|
|
6029
|
-
|
|
6030
|
-
// normalize the default port
|
|
6031
|
-
if (components.port === (secure ? 443 : 80) || components.port === '') {
|
|
6032
|
-
components.port = undefined
|
|
6033
|
-
}
|
|
6034
|
-
|
|
6035
|
-
// normalize the empty path
|
|
6036
|
-
if (!components.path) {
|
|
6037
|
-
components.path = '/'
|
|
6038
|
-
}
|
|
6039
|
-
|
|
6040
|
-
// NOTE: We do not parse query strings for HTTP URIs
|
|
6041
|
-
// as WWW Form Url Encoded query strings are part of the HTML4+ spec,
|
|
6042
|
-
// and not the HTTP spec.
|
|
6043
|
-
|
|
6044
|
-
return components
|
|
6658
|
+
/**
|
|
6659
|
+
* Checks if a `cache` value for `key` exists.
|
|
6660
|
+
*
|
|
6661
|
+
* @private
|
|
6662
|
+
* @param {Object} cache The cache to query.
|
|
6663
|
+
* @param {string} key The key of the entry to check.
|
|
6664
|
+
* @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
|
|
6665
|
+
*/
|
|
6666
|
+
function cacheHas(cache, key) {
|
|
6667
|
+
return cache.has(key);
|
|
6045
6668
|
}
|
|
6046
6669
|
|
|
6047
|
-
|
|
6048
|
-
// indicate if the secure flag is set
|
|
6049
|
-
wsComponents.secure = isSecure(wsComponents)
|
|
6670
|
+
module.exports = cacheHas;
|
|
6050
6671
|
|
|
6051
|
-
// construct resouce name
|
|
6052
|
-
wsComponents.resourceName = (wsComponents.path || '/') + (wsComponents.query ? '?' + wsComponents.query : '')
|
|
6053
|
-
wsComponents.path = undefined
|
|
6054
|
-
wsComponents.query = undefined
|
|
6055
6672
|
|
|
6056
|
-
|
|
6057
|
-
}
|
|
6058
|
-
|
|
6059
|
-
function wsSerialize (wsComponents) {
|
|
6060
|
-
// normalize the default port
|
|
6061
|
-
if (wsComponents.port === (isSecure(wsComponents) ? 443 : 80) || wsComponents.port === '') {
|
|
6062
|
-
wsComponents.port = undefined
|
|
6063
|
-
}
|
|
6673
|
+
/***/ }),
|
|
6064
6674
|
|
|
6065
|
-
|
|
6066
|
-
|
|
6067
|
-
wsComponents.scheme = (wsComponents.secure ? 'wss' : 'ws')
|
|
6068
|
-
wsComponents.secure = undefined
|
|
6069
|
-
}
|
|
6675
|
+
/***/ 27042:
|
|
6676
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
6070
6677
|
|
|
6071
|
-
|
|
6072
|
-
|
|
6073
|
-
|
|
6074
|
-
wsComponents.path = (path && path !== '/' ? path : undefined)
|
|
6075
|
-
wsComponents.query = query
|
|
6076
|
-
wsComponents.resourceName = undefined
|
|
6077
|
-
}
|
|
6678
|
+
var SetCache = __webpack_require__(52485),
|
|
6679
|
+
arraySome = __webpack_require__(90756),
|
|
6680
|
+
cacheHas = __webpack_require__(65581);
|
|
6078
6681
|
|
|
6079
|
-
|
|
6080
|
-
|
|
6682
|
+
/** Used to compose bitmasks for value comparisons. */
|
|
6683
|
+
var COMPARE_PARTIAL_FLAG = 1,
|
|
6684
|
+
COMPARE_UNORDERED_FLAG = 2;
|
|
6081
6685
|
|
|
6082
|
-
|
|
6083
|
-
|
|
6686
|
+
/**
|
|
6687
|
+
* A specialized version of `baseIsEqualDeep` for arrays with support for
|
|
6688
|
+
* partial deep comparisons.
|
|
6689
|
+
*
|
|
6690
|
+
* @private
|
|
6691
|
+
* @param {Array} array The array to compare.
|
|
6692
|
+
* @param {Array} other The other array to compare.
|
|
6693
|
+
* @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.
|
|
6694
|
+
* @param {Function} customizer The function to customize comparisons.
|
|
6695
|
+
* @param {Function} equalFunc The function to determine equivalents of values.
|
|
6696
|
+
* @param {Object} stack Tracks traversed `array` and `other` objects.
|
|
6697
|
+
* @returns {boolean} Returns `true` if the arrays are equivalent, else `false`.
|
|
6698
|
+
*/
|
|
6699
|
+
function equalArrays(array, other, bitmask, customizer, equalFunc, stack) {
|
|
6700
|
+
var isPartial = bitmask & COMPARE_PARTIAL_FLAG,
|
|
6701
|
+
arrLength = array.length,
|
|
6702
|
+
othLength = other.length;
|
|
6084
6703
|
|
|
6085
|
-
|
|
6086
|
-
|
|
6087
|
-
urnComponents.error = 'URN can not be parsed'
|
|
6088
|
-
return urnComponents
|
|
6089
|
-
}
|
|
6090
|
-
const matches = urnComponents.path.match(URN_REG)
|
|
6091
|
-
if (matches) {
|
|
6092
|
-
const scheme = options.scheme || urnComponents.scheme || 'urn'
|
|
6093
|
-
urnComponents.nid = matches[1].toLowerCase()
|
|
6094
|
-
urnComponents.nss = matches[2]
|
|
6095
|
-
const urnScheme = `${scheme}:${options.nid || urnComponents.nid}`
|
|
6096
|
-
const schemeHandler = SCHEMES[urnScheme]
|
|
6097
|
-
urnComponents.path = undefined
|
|
6098
|
-
|
|
6099
|
-
if (schemeHandler) {
|
|
6100
|
-
urnComponents = schemeHandler.parse(urnComponents, options)
|
|
6101
|
-
}
|
|
6102
|
-
} else {
|
|
6103
|
-
urnComponents.error = urnComponents.error || 'URN can not be parsed.'
|
|
6704
|
+
if (arrLength != othLength && !(isPartial && othLength > arrLength)) {
|
|
6705
|
+
return false;
|
|
6104
6706
|
}
|
|
6105
|
-
|
|
6106
|
-
|
|
6107
|
-
|
|
6108
|
-
|
|
6109
|
-
|
|
6110
|
-
const scheme = options.scheme || urnComponents.scheme || 'urn'
|
|
6111
|
-
const nid = urnComponents.nid.toLowerCase()
|
|
6112
|
-
const urnScheme = `${scheme}:${options.nid || nid}`
|
|
6113
|
-
const schemeHandler = SCHEMES[urnScheme]
|
|
6114
|
-
|
|
6115
|
-
if (schemeHandler) {
|
|
6116
|
-
urnComponents = schemeHandler.serialize(urnComponents, options)
|
|
6707
|
+
// Check that cyclic values are equal.
|
|
6708
|
+
var arrStacked = stack.get(array);
|
|
6709
|
+
var othStacked = stack.get(other);
|
|
6710
|
+
if (arrStacked && othStacked) {
|
|
6711
|
+
return arrStacked == other && othStacked == array;
|
|
6117
6712
|
}
|
|
6118
|
-
|
|
6119
|
-
|
|
6120
|
-
|
|
6121
|
-
|
|
6122
|
-
|
|
6123
|
-
|
|
6124
|
-
|
|
6125
|
-
|
|
6126
|
-
|
|
6127
|
-
|
|
6128
|
-
|
|
6129
|
-
|
|
6130
|
-
|
|
6131
|
-
|
|
6132
|
-
|
|
6133
|
-
|
|
6713
|
+
var index = -1,
|
|
6714
|
+
result = true,
|
|
6715
|
+
seen = (bitmask & COMPARE_UNORDERED_FLAG) ? new SetCache : undefined;
|
|
6716
|
+
|
|
6717
|
+
stack.set(array, other);
|
|
6718
|
+
stack.set(other, array);
|
|
6719
|
+
|
|
6720
|
+
// Ignore non-index properties.
|
|
6721
|
+
while (++index < arrLength) {
|
|
6722
|
+
var arrValue = array[index],
|
|
6723
|
+
othValue = other[index];
|
|
6724
|
+
|
|
6725
|
+
if (customizer) {
|
|
6726
|
+
var compared = isPartial
|
|
6727
|
+
? customizer(othValue, arrValue, index, other, array, stack)
|
|
6728
|
+
: customizer(arrValue, othValue, index, array, other, stack);
|
|
6729
|
+
}
|
|
6730
|
+
if (compared !== undefined) {
|
|
6731
|
+
if (compared) {
|
|
6732
|
+
continue;
|
|
6733
|
+
}
|
|
6734
|
+
result = false;
|
|
6735
|
+
break;
|
|
6736
|
+
}
|
|
6737
|
+
// Recursively compare arrays (susceptible to call stack limits).
|
|
6738
|
+
if (seen) {
|
|
6739
|
+
if (!arraySome(other, function(othValue, othIndex) {
|
|
6740
|
+
if (!cacheHas(seen, othIndex) &&
|
|
6741
|
+
(arrValue === othValue || equalFunc(arrValue, othValue, bitmask, customizer, stack))) {
|
|
6742
|
+
return seen.push(othIndex);
|
|
6743
|
+
}
|
|
6744
|
+
})) {
|
|
6745
|
+
result = false;
|
|
6746
|
+
break;
|
|
6747
|
+
}
|
|
6748
|
+
} else if (!(
|
|
6749
|
+
arrValue === othValue ||
|
|
6750
|
+
equalFunc(arrValue, othValue, bitmask, customizer, stack)
|
|
6751
|
+
)) {
|
|
6752
|
+
result = false;
|
|
6753
|
+
break;
|
|
6754
|
+
}
|
|
6134
6755
|
}
|
|
6135
|
-
|
|
6136
|
-
|
|
6756
|
+
stack['delete'](array);
|
|
6757
|
+
stack['delete'](other);
|
|
6758
|
+
return result;
|
|
6137
6759
|
}
|
|
6138
6760
|
|
|
6139
|
-
|
|
6140
|
-
const urnComponents = uuidComponents
|
|
6141
|
-
// normalize UUID
|
|
6142
|
-
urnComponents.nss = (uuidComponents.uuid || '').toLowerCase()
|
|
6143
|
-
return urnComponents
|
|
6144
|
-
}
|
|
6761
|
+
module.exports = equalArrays;
|
|
6145
6762
|
|
|
6146
|
-
const http = {
|
|
6147
|
-
scheme: 'http',
|
|
6148
|
-
domainHost: true,
|
|
6149
|
-
parse: httpParse,
|
|
6150
|
-
serialize: httpSerialize
|
|
6151
|
-
}
|
|
6152
6763
|
|
|
6153
|
-
|
|
6154
|
-
scheme: 'https',
|
|
6155
|
-
domainHost: http.domainHost,
|
|
6156
|
-
parse: httpParse,
|
|
6157
|
-
serialize: httpSerialize
|
|
6158
|
-
}
|
|
6764
|
+
/***/ }),
|
|
6159
6765
|
|
|
6160
|
-
|
|
6161
|
-
|
|
6162
|
-
domainHost: true,
|
|
6163
|
-
parse: wsParse,
|
|
6164
|
-
serialize: wsSerialize
|
|
6165
|
-
}
|
|
6766
|
+
/***/ 370:
|
|
6767
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
6166
6768
|
|
|
6167
|
-
|
|
6168
|
-
|
|
6169
|
-
|
|
6170
|
-
|
|
6171
|
-
|
|
6172
|
-
|
|
6769
|
+
var Symbol = __webpack_require__(96539),
|
|
6770
|
+
Uint8Array = __webpack_require__(59942),
|
|
6771
|
+
eq = __webpack_require__(85638),
|
|
6772
|
+
equalArrays = __webpack_require__(27042),
|
|
6773
|
+
mapToArray = __webpack_require__(19383),
|
|
6774
|
+
setToArray = __webpack_require__(43735);
|
|
6775
|
+
|
|
6776
|
+
/** Used to compose bitmasks for value comparisons. */
|
|
6777
|
+
var COMPARE_PARTIAL_FLAG = 1,
|
|
6778
|
+
COMPARE_UNORDERED_FLAG = 2;
|
|
6779
|
+
|
|
6780
|
+
/** `Object#toString` result references. */
|
|
6781
|
+
var boolTag = '[object Boolean]',
|
|
6782
|
+
dateTag = '[object Date]',
|
|
6783
|
+
errorTag = '[object Error]',
|
|
6784
|
+
mapTag = '[object Map]',
|
|
6785
|
+
numberTag = '[object Number]',
|
|
6786
|
+
regexpTag = '[object RegExp]',
|
|
6787
|
+
setTag = '[object Set]',
|
|
6788
|
+
stringTag = '[object String]',
|
|
6789
|
+
symbolTag = '[object Symbol]';
|
|
6790
|
+
|
|
6791
|
+
var arrayBufferTag = '[object ArrayBuffer]',
|
|
6792
|
+
dataViewTag = '[object DataView]';
|
|
6793
|
+
|
|
6794
|
+
/** Used to convert symbols to primitives and strings. */
|
|
6795
|
+
var symbolProto = Symbol ? Symbol.prototype : undefined,
|
|
6796
|
+
symbolValueOf = symbolProto ? symbolProto.valueOf : undefined;
|
|
6173
6797
|
|
|
6174
|
-
|
|
6175
|
-
|
|
6176
|
-
|
|
6177
|
-
|
|
6178
|
-
|
|
6179
|
-
|
|
6798
|
+
/**
|
|
6799
|
+
* A specialized version of `baseIsEqualDeep` for comparing objects of
|
|
6800
|
+
* the same `toStringTag`.
|
|
6801
|
+
*
|
|
6802
|
+
* **Note:** This function only supports comparing values with tags of
|
|
6803
|
+
* `Boolean`, `Date`, `Error`, `Number`, `RegExp`, or `String`.
|
|
6804
|
+
*
|
|
6805
|
+
* @private
|
|
6806
|
+
* @param {Object} object The object to compare.
|
|
6807
|
+
* @param {Object} other The other object to compare.
|
|
6808
|
+
* @param {string} tag The `toStringTag` of the objects to compare.
|
|
6809
|
+
* @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.
|
|
6810
|
+
* @param {Function} customizer The function to customize comparisons.
|
|
6811
|
+
* @param {Function} equalFunc The function to determine equivalents of values.
|
|
6812
|
+
* @param {Object} stack Tracks traversed `object` and `other` objects.
|
|
6813
|
+
* @returns {boolean} Returns `true` if the objects are equivalent, else `false`.
|
|
6814
|
+
*/
|
|
6815
|
+
function equalByTag(object, other, tag, bitmask, customizer, equalFunc, stack) {
|
|
6816
|
+
switch (tag) {
|
|
6817
|
+
case dataViewTag:
|
|
6818
|
+
if ((object.byteLength != other.byteLength) ||
|
|
6819
|
+
(object.byteOffset != other.byteOffset)) {
|
|
6820
|
+
return false;
|
|
6821
|
+
}
|
|
6822
|
+
object = object.buffer;
|
|
6823
|
+
other = other.buffer;
|
|
6180
6824
|
|
|
6181
|
-
|
|
6182
|
-
|
|
6183
|
-
|
|
6184
|
-
|
|
6185
|
-
|
|
6186
|
-
|
|
6825
|
+
case arrayBufferTag:
|
|
6826
|
+
if ((object.byteLength != other.byteLength) ||
|
|
6827
|
+
!equalFunc(new Uint8Array(object), new Uint8Array(other))) {
|
|
6828
|
+
return false;
|
|
6829
|
+
}
|
|
6830
|
+
return true;
|
|
6187
6831
|
|
|
6188
|
-
|
|
6189
|
-
|
|
6190
|
-
|
|
6191
|
-
|
|
6192
|
-
|
|
6193
|
-
|
|
6194
|
-
'urn:uuid': urnuuid
|
|
6195
|
-
}
|
|
6832
|
+
case boolTag:
|
|
6833
|
+
case dateTag:
|
|
6834
|
+
case numberTag:
|
|
6835
|
+
// Coerce booleans to `1` or `0` and dates to milliseconds.
|
|
6836
|
+
// Invalid dates are coerced to `NaN`.
|
|
6837
|
+
return eq(+object, +other);
|
|
6196
6838
|
|
|
6197
|
-
|
|
6839
|
+
case errorTag:
|
|
6840
|
+
return object.name == other.name && object.message == other.message;
|
|
6198
6841
|
|
|
6842
|
+
case regexpTag:
|
|
6843
|
+
case stringTag:
|
|
6844
|
+
// Coerce regexes to strings and treat strings, primitives and objects,
|
|
6845
|
+
// as equal. See http://www.ecma-international.org/ecma-262/7.0/#sec-regexp.prototype.tostring
|
|
6846
|
+
// for more details.
|
|
6847
|
+
return object == (other + '');
|
|
6199
6848
|
|
|
6200
|
-
|
|
6849
|
+
case mapTag:
|
|
6850
|
+
var convert = mapToArray;
|
|
6201
6851
|
|
|
6202
|
-
|
|
6203
|
-
|
|
6852
|
+
case setTag:
|
|
6853
|
+
var isPartial = bitmask & COMPARE_PARTIAL_FLAG;
|
|
6854
|
+
convert || (convert = setToArray);
|
|
6204
6855
|
|
|
6856
|
+
if (object.size != other.size && !isPartial) {
|
|
6857
|
+
return false;
|
|
6858
|
+
}
|
|
6859
|
+
// Assume cyclic values are equal.
|
|
6860
|
+
var stacked = stack.get(object);
|
|
6861
|
+
if (stacked) {
|
|
6862
|
+
return stacked == other;
|
|
6863
|
+
}
|
|
6864
|
+
bitmask |= COMPARE_UNORDERED_FLAG;
|
|
6205
6865
|
|
|
6866
|
+
// Recursively compare objects (susceptible to call stack limits).
|
|
6867
|
+
stack.set(object, other);
|
|
6868
|
+
var result = equalArrays(convert(object), convert(other), bitmask, customizer, equalFunc, stack);
|
|
6869
|
+
stack['delete'](object);
|
|
6870
|
+
return result;
|
|
6206
6871
|
|
|
6207
|
-
|
|
6208
|
-
|
|
6209
|
-
|
|
6210
|
-
|
|
6211
|
-
|
|
6212
|
-
|
|
6213
|
-
5: 5,
|
|
6214
|
-
6: 6,
|
|
6215
|
-
7: 7,
|
|
6216
|
-
8: 8,
|
|
6217
|
-
9: 9,
|
|
6218
|
-
a: 10,
|
|
6219
|
-
A: 10,
|
|
6220
|
-
b: 11,
|
|
6221
|
-
B: 11,
|
|
6222
|
-
c: 12,
|
|
6223
|
-
C: 12,
|
|
6224
|
-
d: 13,
|
|
6225
|
-
D: 13,
|
|
6226
|
-
e: 14,
|
|
6227
|
-
E: 14,
|
|
6228
|
-
f: 15,
|
|
6229
|
-
F: 15
|
|
6872
|
+
case symbolTag:
|
|
6873
|
+
if (symbolValueOf) {
|
|
6874
|
+
return symbolValueOf.call(object) == symbolValueOf.call(other);
|
|
6875
|
+
}
|
|
6876
|
+
}
|
|
6877
|
+
return false;
|
|
6230
6878
|
}
|
|
6231
6879
|
|
|
6232
|
-
module.exports =
|
|
6233
|
-
HEX
|
|
6234
|
-
}
|
|
6880
|
+
module.exports = equalByTag;
|
|
6235
6881
|
|
|
6236
6882
|
|
|
6237
6883
|
/***/ }),
|
|
6238
6884
|
|
|
6239
|
-
/***/
|
|
6885
|
+
/***/ 39584:
|
|
6240
6886
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
6241
6887
|
|
|
6888
|
+
var getAllKeys = __webpack_require__(51385);
|
|
6242
6889
|
|
|
6890
|
+
/** Used to compose bitmasks for value comparisons. */
|
|
6891
|
+
var COMPARE_PARTIAL_FLAG = 1;
|
|
6243
6892
|
|
|
6244
|
-
|
|
6245
|
-
|
|
6246
|
-
const IPV4_REG = /^(?:(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)$/u
|
|
6893
|
+
/** Used for built-in method references. */
|
|
6894
|
+
var objectProto = Object.prototype;
|
|
6247
6895
|
|
|
6248
|
-
|
|
6249
|
-
|
|
6250
|
-
const matches = host.match(IPV4_REG) || []
|
|
6251
|
-
const [address] = matches
|
|
6252
|
-
if (address) {
|
|
6253
|
-
return { host: stripLeadingZeros(address, '.'), isIPV4: true }
|
|
6254
|
-
} else {
|
|
6255
|
-
return { host, isIPV4: false }
|
|
6256
|
-
}
|
|
6257
|
-
}
|
|
6896
|
+
/** Used to check objects for own properties. */
|
|
6897
|
+
var hasOwnProperty = objectProto.hasOwnProperty;
|
|
6258
6898
|
|
|
6259
6899
|
/**
|
|
6260
|
-
*
|
|
6261
|
-
*
|
|
6262
|
-
*
|
|
6900
|
+
* A specialized version of `baseIsEqualDeep` for objects with support for
|
|
6901
|
+
* partial deep comparisons.
|
|
6902
|
+
*
|
|
6903
|
+
* @private
|
|
6904
|
+
* @param {Object} object The object to compare.
|
|
6905
|
+
* @param {Object} other The other object to compare.
|
|
6906
|
+
* @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.
|
|
6907
|
+
* @param {Function} customizer The function to customize comparisons.
|
|
6908
|
+
* @param {Function} equalFunc The function to determine equivalents of values.
|
|
6909
|
+
* @param {Object} stack Tracks traversed `object` and `other` objects.
|
|
6910
|
+
* @returns {boolean} Returns `true` if the objects are equivalent, else `false`.
|
|
6263
6911
|
*/
|
|
6264
|
-
function
|
|
6265
|
-
|
|
6266
|
-
|
|
6267
|
-
|
|
6268
|
-
|
|
6269
|
-
|
|
6270
|
-
|
|
6912
|
+
function equalObjects(object, other, bitmask, customizer, equalFunc, stack) {
|
|
6913
|
+
var isPartial = bitmask & COMPARE_PARTIAL_FLAG,
|
|
6914
|
+
objProps = getAllKeys(object),
|
|
6915
|
+
objLength = objProps.length,
|
|
6916
|
+
othProps = getAllKeys(other),
|
|
6917
|
+
othLength = othProps.length;
|
|
6918
|
+
|
|
6919
|
+
if (objLength != othLength && !isPartial) {
|
|
6920
|
+
return false;
|
|
6271
6921
|
}
|
|
6272
|
-
|
|
6273
|
-
|
|
6274
|
-
|
|
6275
|
-
|
|
6276
|
-
|
|
6277
|
-
let tokenCount = 0
|
|
6278
|
-
const output = { error: false, address: '', zone: '' }
|
|
6279
|
-
const address = []
|
|
6280
|
-
const buffer = []
|
|
6281
|
-
let isZone = false
|
|
6282
|
-
let endipv6Encountered = false
|
|
6283
|
-
let endIpv6 = false
|
|
6284
|
-
|
|
6285
|
-
function consume () {
|
|
6286
|
-
if (buffer.length) {
|
|
6287
|
-
if (isZone === false) {
|
|
6288
|
-
const hex = stringArrayToHexStripped(buffer)
|
|
6289
|
-
if (hex !== undefined) {
|
|
6290
|
-
address.push(hex)
|
|
6291
|
-
} else {
|
|
6292
|
-
output.error = true
|
|
6293
|
-
return false
|
|
6294
|
-
}
|
|
6295
|
-
}
|
|
6296
|
-
buffer.length = 0
|
|
6922
|
+
var index = objLength;
|
|
6923
|
+
while (index--) {
|
|
6924
|
+
var key = objProps[index];
|
|
6925
|
+
if (!(isPartial ? key in other : hasOwnProperty.call(other, key))) {
|
|
6926
|
+
return false;
|
|
6297
6927
|
}
|
|
6298
|
-
return true
|
|
6299
6928
|
}
|
|
6300
|
-
|
|
6301
|
-
|
|
6302
|
-
|
|
6303
|
-
|
|
6304
|
-
|
|
6305
|
-
if (endipv6Encountered === true) {
|
|
6306
|
-
endIpv6 = true
|
|
6307
|
-
}
|
|
6308
|
-
if (!consume()) { break }
|
|
6309
|
-
tokenCount++
|
|
6310
|
-
address.push(':')
|
|
6311
|
-
if (tokenCount > 7) {
|
|
6312
|
-
// not valid
|
|
6313
|
-
output.error = true
|
|
6314
|
-
break
|
|
6315
|
-
}
|
|
6316
|
-
if (i - 1 >= 0 && input[i - 1] === ':') {
|
|
6317
|
-
endipv6Encountered = true
|
|
6318
|
-
}
|
|
6319
|
-
continue
|
|
6320
|
-
} else if (cursor === '%') {
|
|
6321
|
-
if (!consume()) { break }
|
|
6322
|
-
// switch to zone detection
|
|
6323
|
-
isZone = true
|
|
6324
|
-
} else {
|
|
6325
|
-
buffer.push(cursor)
|
|
6326
|
-
continue
|
|
6327
|
-
}
|
|
6929
|
+
// Check that cyclic values are equal.
|
|
6930
|
+
var objStacked = stack.get(object);
|
|
6931
|
+
var othStacked = stack.get(other);
|
|
6932
|
+
if (objStacked && othStacked) {
|
|
6933
|
+
return objStacked == other && othStacked == object;
|
|
6328
6934
|
}
|
|
6329
|
-
|
|
6330
|
-
|
|
6331
|
-
|
|
6332
|
-
|
|
6333
|
-
|
|
6334
|
-
|
|
6335
|
-
|
|
6336
|
-
|
|
6935
|
+
var result = true;
|
|
6936
|
+
stack.set(object, other);
|
|
6937
|
+
stack.set(other, object);
|
|
6938
|
+
|
|
6939
|
+
var skipCtor = isPartial;
|
|
6940
|
+
while (++index < objLength) {
|
|
6941
|
+
key = objProps[index];
|
|
6942
|
+
var objValue = object[key],
|
|
6943
|
+
othValue = other[key];
|
|
6944
|
+
|
|
6945
|
+
if (customizer) {
|
|
6946
|
+
var compared = isPartial
|
|
6947
|
+
? customizer(othValue, objValue, key, other, object, stack)
|
|
6948
|
+
: customizer(objValue, othValue, key, object, other, stack);
|
|
6949
|
+
}
|
|
6950
|
+
// Recursively compare objects (susceptible to call stack limits).
|
|
6951
|
+
if (!(compared === undefined
|
|
6952
|
+
? (objValue === othValue || equalFunc(objValue, othValue, bitmask, customizer, stack))
|
|
6953
|
+
: compared
|
|
6954
|
+
)) {
|
|
6955
|
+
result = false;
|
|
6956
|
+
break;
|
|
6957
|
+
}
|
|
6958
|
+
skipCtor || (skipCtor = key == 'constructor');
|
|
6337
6959
|
}
|
|
6338
|
-
|
|
6339
|
-
|
|
6340
|
-
|
|
6341
|
-
|
|
6342
|
-
function normalizeIPv6 (host) {
|
|
6343
|
-
if (findToken(host, ':') < 2) { return { host, isIPV6: false } }
|
|
6344
|
-
const ipv6 = getIPV6(host)
|
|
6960
|
+
if (result && !skipCtor) {
|
|
6961
|
+
var objCtor = object.constructor,
|
|
6962
|
+
othCtor = other.constructor;
|
|
6345
6963
|
|
|
6346
|
-
|
|
6347
|
-
|
|
6348
|
-
|
|
6349
|
-
|
|
6350
|
-
|
|
6351
|
-
|
|
6964
|
+
// Non `Object` object instances with different constructors are not equal.
|
|
6965
|
+
if (objCtor != othCtor &&
|
|
6966
|
+
('constructor' in object && 'constructor' in other) &&
|
|
6967
|
+
!(typeof objCtor == 'function' && objCtor instanceof objCtor &&
|
|
6968
|
+
typeof othCtor == 'function' && othCtor instanceof othCtor)) {
|
|
6969
|
+
result = false;
|
|
6352
6970
|
}
|
|
6353
|
-
return { host: newHost, escapedHost, isIPV6: true }
|
|
6354
|
-
} else {
|
|
6355
|
-
return { host, isIPV6: false }
|
|
6356
6971
|
}
|
|
6972
|
+
stack['delete'](object);
|
|
6973
|
+
stack['delete'](other);
|
|
6974
|
+
return result;
|
|
6357
6975
|
}
|
|
6358
6976
|
|
|
6359
|
-
|
|
6360
|
-
let out = ''
|
|
6361
|
-
let skip = true
|
|
6362
|
-
const l = str.length
|
|
6363
|
-
for (let i = 0; i < l; i++) {
|
|
6364
|
-
const c = str[i]
|
|
6365
|
-
if (c === '0' && skip) {
|
|
6366
|
-
if ((i + 1 <= l && str[i + 1] === token) || i + 1 === l) {
|
|
6367
|
-
out += c
|
|
6368
|
-
skip = false
|
|
6369
|
-
}
|
|
6370
|
-
} else {
|
|
6371
|
-
if (c === token) {
|
|
6372
|
-
skip = true
|
|
6373
|
-
} else {
|
|
6374
|
-
skip = false
|
|
6375
|
-
}
|
|
6376
|
-
out += c
|
|
6377
|
-
}
|
|
6378
|
-
}
|
|
6379
|
-
return out
|
|
6380
|
-
}
|
|
6977
|
+
module.exports = equalObjects;
|
|
6381
6978
|
|
|
6382
|
-
function findToken (str, token) {
|
|
6383
|
-
let ind = 0
|
|
6384
|
-
for (let i = 0; i < str.length; i++) {
|
|
6385
|
-
if (str[i] === token) ind++
|
|
6386
|
-
}
|
|
6387
|
-
return ind
|
|
6388
|
-
}
|
|
6389
|
-
|
|
6390
|
-
const RDS1 = /^\.\.?\//u
|
|
6391
|
-
const RDS2 = /^\/\.(?:\/|$)/u
|
|
6392
|
-
const RDS3 = /^\/\.\.(?:\/|$)/u
|
|
6393
|
-
const RDS5 = /^\/?(?:.|\n)*?(?=\/|$)/u
|
|
6394
|
-
|
|
6395
|
-
function removeDotSegments (input) {
|
|
6396
|
-
const output = []
|
|
6397
|
-
|
|
6398
|
-
while (input.length) {
|
|
6399
|
-
if (input.match(RDS1)) {
|
|
6400
|
-
input = input.replace(RDS1, '')
|
|
6401
|
-
} else if (input.match(RDS2)) {
|
|
6402
|
-
input = input.replace(RDS2, '/')
|
|
6403
|
-
} else if (input.match(RDS3)) {
|
|
6404
|
-
input = input.replace(RDS3, '/')
|
|
6405
|
-
output.pop()
|
|
6406
|
-
} else if (input === '.' || input === '..') {
|
|
6407
|
-
input = ''
|
|
6408
|
-
} else {
|
|
6409
|
-
const im = input.match(RDS5)
|
|
6410
|
-
if (im) {
|
|
6411
|
-
const s = im[0]
|
|
6412
|
-
input = input.slice(s.length)
|
|
6413
|
-
output.push(s)
|
|
6414
|
-
} else {
|
|
6415
|
-
throw new Error('Unexpected dot segment condition')
|
|
6416
|
-
}
|
|
6417
|
-
}
|
|
6418
|
-
}
|
|
6419
|
-
return output.join('')
|
|
6420
|
-
}
|
|
6421
6979
|
|
|
6422
|
-
|
|
6423
|
-
|
|
6424
|
-
|
|
6425
|
-
|
|
6426
|
-
|
|
6427
|
-
|
|
6428
|
-
|
|
6429
|
-
|
|
6430
|
-
|
|
6431
|
-
|
|
6432
|
-
|
|
6433
|
-
|
|
6434
|
-
|
|
6435
|
-
|
|
6436
|
-
|
|
6437
|
-
|
|
6438
|
-
|
|
6439
|
-
|
|
6440
|
-
|
|
6441
|
-
|
|
6442
|
-
return components
|
|
6980
|
+
/***/ }),
|
|
6981
|
+
|
|
6982
|
+
/***/ 19383:
|
|
6983
|
+
/***/ ((module) => {
|
|
6984
|
+
|
|
6985
|
+
/**
|
|
6986
|
+
* Converts `map` to its key-value pairs.
|
|
6987
|
+
*
|
|
6988
|
+
* @private
|
|
6989
|
+
* @param {Object} map The map to convert.
|
|
6990
|
+
* @returns {Array} Returns the key-value pairs.
|
|
6991
|
+
*/
|
|
6992
|
+
function mapToArray(map) {
|
|
6993
|
+
var index = -1,
|
|
6994
|
+
result = Array(map.size);
|
|
6995
|
+
|
|
6996
|
+
map.forEach(function(value, key) {
|
|
6997
|
+
result[++index] = [key, value];
|
|
6998
|
+
});
|
|
6999
|
+
return result;
|
|
6443
7000
|
}
|
|
6444
7001
|
|
|
6445
|
-
|
|
6446
|
-
const uriTokens = []
|
|
7002
|
+
module.exports = mapToArray;
|
|
6447
7003
|
|
|
6448
|
-
if (components.userinfo !== undefined) {
|
|
6449
|
-
uriTokens.push(components.userinfo)
|
|
6450
|
-
uriTokens.push('@')
|
|
6451
|
-
}
|
|
6452
7004
|
|
|
6453
|
-
|
|
6454
|
-
let host = unescape(components.host)
|
|
6455
|
-
const ipV4res = normalizeIPv4(host)
|
|
6456
|
-
|
|
6457
|
-
if (ipV4res.isIPV4) {
|
|
6458
|
-
host = ipV4res.host
|
|
6459
|
-
} else {
|
|
6460
|
-
const ipV6res = normalizeIPv6(ipV4res.host)
|
|
6461
|
-
if (ipV6res.isIPV6 === true) {
|
|
6462
|
-
host = `[${ipV6res.escapedHost}]`
|
|
6463
|
-
} else {
|
|
6464
|
-
host = components.host
|
|
6465
|
-
}
|
|
6466
|
-
}
|
|
6467
|
-
uriTokens.push(host)
|
|
6468
|
-
}
|
|
7005
|
+
/***/ }),
|
|
6469
7006
|
|
|
6470
|
-
|
|
6471
|
-
|
|
6472
|
-
uriTokens.push(String(components.port))
|
|
6473
|
-
}
|
|
7007
|
+
/***/ 38639:
|
|
7008
|
+
/***/ ((module) => {
|
|
6474
7009
|
|
|
6475
|
-
|
|
6476
|
-
|
|
7010
|
+
/** Used to stand-in for `undefined` hash values. */
|
|
7011
|
+
var HASH_UNDEFINED = '__lodash_hash_undefined__';
|
|
6477
7012
|
|
|
6478
|
-
|
|
6479
|
-
|
|
6480
|
-
|
|
6481
|
-
|
|
6482
|
-
|
|
6483
|
-
|
|
6484
|
-
|
|
7013
|
+
/**
|
|
7014
|
+
* Adds `value` to the array cache.
|
|
7015
|
+
*
|
|
7016
|
+
* @private
|
|
7017
|
+
* @name add
|
|
7018
|
+
* @memberOf SetCache
|
|
7019
|
+
* @alias push
|
|
7020
|
+
* @param {*} value The value to cache.
|
|
7021
|
+
* @returns {Object} Returns the cache instance.
|
|
7022
|
+
*/
|
|
7023
|
+
function setCacheAdd(value) {
|
|
7024
|
+
this.__data__.set(value, HASH_UNDEFINED);
|
|
7025
|
+
return this;
|
|
6485
7026
|
}
|
|
6486
7027
|
|
|
7028
|
+
module.exports = setCacheAdd;
|
|
7029
|
+
|
|
6487
7030
|
|
|
6488
7031
|
/***/ }),
|
|
6489
7032
|
|
|
6490
|
-
/***/
|
|
7033
|
+
/***/ 88379:
|
|
6491
7034
|
/***/ ((module) => {
|
|
6492
7035
|
|
|
7036
|
+
/**
|
|
7037
|
+
* Checks if `value` is in the array cache.
|
|
7038
|
+
*
|
|
7039
|
+
* @private
|
|
7040
|
+
* @name has
|
|
7041
|
+
* @memberOf SetCache
|
|
7042
|
+
* @param {*} value The value to search for.
|
|
7043
|
+
* @returns {number} Returns `true` if `value` is found, else `false`.
|
|
7044
|
+
*/
|
|
7045
|
+
function setCacheHas(value) {
|
|
7046
|
+
return this.__data__.has(value);
|
|
7047
|
+
}
|
|
6493
7048
|
|
|
7049
|
+
module.exports = setCacheHas;
|
|
6494
7050
|
|
|
6495
|
-
var traverse = module.exports = function (schema, opts, cb) {
|
|
6496
|
-
// Legacy support for v0.3.1 and earlier.
|
|
6497
|
-
if (typeof opts == 'function') {
|
|
6498
|
-
cb = opts;
|
|
6499
|
-
opts = {};
|
|
6500
|
-
}
|
|
6501
|
-
|
|
6502
|
-
cb = opts.cb || cb;
|
|
6503
|
-
var pre = (typeof cb == 'function') ? cb : cb.pre || function() {};
|
|
6504
|
-
var post = cb.post || function() {};
|
|
6505
7051
|
|
|
6506
|
-
|
|
6507
|
-
};
|
|
7052
|
+
/***/ }),
|
|
6508
7053
|
|
|
7054
|
+
/***/ 43735:
|
|
7055
|
+
/***/ ((module) => {
|
|
6509
7056
|
|
|
6510
|
-
|
|
6511
|
-
|
|
6512
|
-
|
|
6513
|
-
|
|
6514
|
-
|
|
6515
|
-
|
|
6516
|
-
|
|
6517
|
-
|
|
6518
|
-
|
|
6519
|
-
|
|
6520
|
-
};
|
|
7057
|
+
/**
|
|
7058
|
+
* Converts `set` to an array of its values.
|
|
7059
|
+
*
|
|
7060
|
+
* @private
|
|
7061
|
+
* @param {Object} set The set to convert.
|
|
7062
|
+
* @returns {Array} Returns the values.
|
|
7063
|
+
*/
|
|
7064
|
+
function setToArray(set) {
|
|
7065
|
+
var index = -1,
|
|
7066
|
+
result = Array(set.size);
|
|
6521
7067
|
|
|
6522
|
-
|
|
6523
|
-
|
|
6524
|
-
|
|
6525
|
-
|
|
6526
|
-
|
|
6527
|
-
};
|
|
7068
|
+
set.forEach(function(value) {
|
|
7069
|
+
result[++index] = value;
|
|
7070
|
+
});
|
|
7071
|
+
return result;
|
|
7072
|
+
}
|
|
6528
7073
|
|
|
6529
|
-
|
|
6530
|
-
$defs: true,
|
|
6531
|
-
definitions: true,
|
|
6532
|
-
properties: true,
|
|
6533
|
-
patternProperties: true,
|
|
6534
|
-
dependencies: true
|
|
6535
|
-
};
|
|
7074
|
+
module.exports = setToArray;
|
|
6536
7075
|
|
|
6537
|
-
traverse.skipKeywords = {
|
|
6538
|
-
default: true,
|
|
6539
|
-
enum: true,
|
|
6540
|
-
const: true,
|
|
6541
|
-
required: true,
|
|
6542
|
-
maximum: true,
|
|
6543
|
-
minimum: true,
|
|
6544
|
-
exclusiveMaximum: true,
|
|
6545
|
-
exclusiveMinimum: true,
|
|
6546
|
-
multipleOf: true,
|
|
6547
|
-
maxLength: true,
|
|
6548
|
-
minLength: true,
|
|
6549
|
-
pattern: true,
|
|
6550
|
-
format: true,
|
|
6551
|
-
maxItems: true,
|
|
6552
|
-
minItems: true,
|
|
6553
|
-
uniqueItems: true,
|
|
6554
|
-
maxProperties: true,
|
|
6555
|
-
minProperties: true
|
|
6556
|
-
};
|
|
6557
7076
|
|
|
7077
|
+
/***/ }),
|
|
6558
7078
|
|
|
6559
|
-
|
|
6560
|
-
|
|
6561
|
-
pre(schema, jsonPtr, rootSchema, parentJsonPtr, parentKeyword, parentSchema, keyIndex);
|
|
6562
|
-
for (var key in schema) {
|
|
6563
|
-
var sch = schema[key];
|
|
6564
|
-
if (Array.isArray(sch)) {
|
|
6565
|
-
if (key in traverse.arrayKeywords) {
|
|
6566
|
-
for (var i=0; i<sch.length; i++)
|
|
6567
|
-
_traverse(opts, pre, post, sch[i], jsonPtr + '/' + key + '/' + i, rootSchema, jsonPtr, key, schema, i);
|
|
6568
|
-
}
|
|
6569
|
-
} else if (key in traverse.propsKeywords) {
|
|
6570
|
-
if (sch && typeof sch == 'object') {
|
|
6571
|
-
for (var prop in sch)
|
|
6572
|
-
_traverse(opts, pre, post, sch[prop], jsonPtr + '/' + key + '/' + escapeJsonPtr(prop), rootSchema, jsonPtr, key, schema, prop);
|
|
6573
|
-
}
|
|
6574
|
-
} else if (key in traverse.keywords || (opts.allKeys && !(key in traverse.skipKeywords))) {
|
|
6575
|
-
_traverse(opts, pre, post, sch, jsonPtr + '/' + key, rootSchema, jsonPtr, key, schema);
|
|
6576
|
-
}
|
|
6577
|
-
}
|
|
6578
|
-
post(schema, jsonPtr, rootSchema, parentJsonPtr, parentKeyword, parentSchema, keyIndex);
|
|
6579
|
-
}
|
|
6580
|
-
}
|
|
7079
|
+
/***/ 56141:
|
|
7080
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
6581
7081
|
|
|
7082
|
+
var baseIsEqual = __webpack_require__(32866);
|
|
6582
7083
|
|
|
6583
|
-
|
|
6584
|
-
|
|
7084
|
+
/**
|
|
7085
|
+
* Performs a deep comparison between two values to determine if they are
|
|
7086
|
+
* equivalent.
|
|
7087
|
+
*
|
|
7088
|
+
* **Note:** This method supports comparing arrays, array buffers, booleans,
|
|
7089
|
+
* date objects, error objects, maps, numbers, `Object` objects, regexes,
|
|
7090
|
+
* sets, strings, symbols, and typed arrays. `Object` objects are compared
|
|
7091
|
+
* by their own, not inherited, enumerable properties. Functions and DOM
|
|
7092
|
+
* nodes are compared by strict equality, i.e. `===`.
|
|
7093
|
+
*
|
|
7094
|
+
* @static
|
|
7095
|
+
* @memberOf _
|
|
7096
|
+
* @since 0.1.0
|
|
7097
|
+
* @category Lang
|
|
7098
|
+
* @param {*} value The value to compare.
|
|
7099
|
+
* @param {*} other The other value to compare.
|
|
7100
|
+
* @returns {boolean} Returns `true` if the values are equivalent, else `false`.
|
|
7101
|
+
* @example
|
|
7102
|
+
*
|
|
7103
|
+
* var object = { 'a': 1 };
|
|
7104
|
+
* var other = { 'a': 1 };
|
|
7105
|
+
*
|
|
7106
|
+
* _.isEqual(object, other);
|
|
7107
|
+
* // => true
|
|
7108
|
+
*
|
|
7109
|
+
* object === other;
|
|
7110
|
+
* // => false
|
|
7111
|
+
*/
|
|
7112
|
+
function isEqual(value, other) {
|
|
7113
|
+
return baseIsEqual(value, other);
|
|
6585
7114
|
}
|
|
6586
7115
|
|
|
7116
|
+
module.exports = isEqual;
|
|
7117
|
+
|
|
6587
7118
|
|
|
6588
7119
|
/***/ }),
|
|
6589
7120
|
|
|
6590
|
-
/***/
|
|
7121
|
+
/***/ 94801:
|
|
6591
7122
|
/***/ ((module) => {
|
|
6592
7123
|
|
|
7124
|
+
"use strict";
|
|
6593
7125
|
module.exports = JSON.parse('{"$id":"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#","description":"Meta-schema for $data reference (JSON AnySchema extension proposal)","type":"object","required":["$data"],"properties":{"$data":{"type":"string","anyOf":[{"format":"relative-json-pointer"},{"format":"json-pointer"}]}},"additionalProperties":false}');
|
|
6594
7126
|
|
|
6595
7127
|
/***/ }),
|
|
6596
7128
|
|
|
6597
|
-
/***/
|
|
7129
|
+
/***/ 60172:
|
|
6598
7130
|
/***/ ((module) => {
|
|
6599
7131
|
|
|
7132
|
+
"use strict";
|
|
6600
7133
|
module.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}');
|
|
6601
7134
|
|
|
6602
7135
|
/***/ })
|
|
6603
7136
|
|
|
6604
7137
|
}]);
|
|
6605
|
-
//# sourceMappingURL=
|
|
7138
|
+
//# sourceMappingURL=131.729c28b8323daf822cbe.js.map?v=729c28b8323daf822cbe
|