@wp-playground/blueprints 2.0.4 → 2.0.7

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.
@@ -771,7 +771,22 @@ const schema11 = {
771
771
  description: 'The step identifier.',
772
772
  },
773
773
  code: {
774
- type: 'string',
774
+ anyOf: [
775
+ { type: 'string' },
776
+ {
777
+ type: 'object',
778
+ properties: {
779
+ filename: {
780
+ type: 'string',
781
+ description:
782
+ 'This property is ignored during Blueprint v1 execution but exists so the same runPHP step structure can be used for Blueprints v1 and v2.',
783
+ },
784
+ content: { type: 'string' },
785
+ },
786
+ required: ['filename', 'content'],
787
+ additionalProperties: false,
788
+ },
789
+ ],
775
790
  description: 'The PHP code to run.',
776
791
  },
777
792
  },
@@ -3640,7 +3655,25 @@ const schema23 = {
3640
3655
  const: 'runPHP',
3641
3656
  description: 'The step identifier.',
3642
3657
  },
3643
- code: { type: 'string', description: 'The PHP code to run.' },
3658
+ code: {
3659
+ anyOf: [
3660
+ { type: 'string' },
3661
+ {
3662
+ type: 'object',
3663
+ properties: {
3664
+ filename: {
3665
+ type: 'string',
3666
+ description:
3667
+ 'This property is ignored during Blueprint v1 execution but exists so the same runPHP step structure can be used for Blueprints v1 and v2.',
3668
+ },
3669
+ content: { type: 'string' },
3670
+ },
3671
+ required: ['filename', 'content'],
3672
+ additionalProperties: false,
3673
+ },
3674
+ ],
3675
+ description: 'The PHP code to run.',
3676
+ },
3644
3677
  },
3645
3678
  required: ['code', 'step'],
3646
3679
  },
@@ -14711,27 +14744,308 @@ function validate14(
14711
14744
  }
14712
14745
  if (valid63) {
14713
14746
  if (data.code !== undefined) {
14747
+ let data113 = data.code;
14714
14748
  const _errs307 = errors;
14749
+ const _errs308 = errors;
14750
+ let valid65 = false;
14751
+ const _errs309 = errors;
14715
14752
  if (
14716
- typeof data.code !==
14753
+ typeof data113 !==
14717
14754
  'string'
14718
14755
  ) {
14719
- validate14.errors = [
14720
- {
14721
- instancePath:
14722
- instancePath +
14723
- '/code',
14724
- schemaPath:
14725
- '#/oneOf/18/properties/code/type',
14726
- keyword: 'type',
14727
- params: {
14728
- type: 'string',
14729
- },
14730
- message:
14731
- 'must be string',
14756
+ const err2 = {
14757
+ instancePath:
14758
+ instancePath +
14759
+ '/code',
14760
+ schemaPath:
14761
+ '#/oneOf/18/properties/code/anyOf/0/type',
14762
+ keyword: 'type',
14763
+ params: {
14764
+ type: 'string',
14732
14765
  },
14733
- ];
14766
+ message:
14767
+ 'must be string',
14768
+ };
14769
+ if (vErrors === null) {
14770
+ vErrors = [err2];
14771
+ } else {
14772
+ vErrors.push(err2);
14773
+ }
14774
+ errors++;
14775
+ }
14776
+ var _valid2 =
14777
+ _errs309 === errors;
14778
+ valid65 =
14779
+ valid65 || _valid2;
14780
+ if (!valid65) {
14781
+ const _errs311 = errors;
14782
+ if (
14783
+ errors === _errs311
14784
+ ) {
14785
+ if (
14786
+ data113 &&
14787
+ typeof data113 ==
14788
+ 'object' &&
14789
+ !Array.isArray(
14790
+ data113
14791
+ )
14792
+ ) {
14793
+ let missing20;
14794
+ if (
14795
+ (data113.filename ===
14796
+ undefined &&
14797
+ (missing20 =
14798
+ 'filename')) ||
14799
+ (data113.content ===
14800
+ undefined &&
14801
+ (missing20 =
14802
+ 'content'))
14803
+ ) {
14804
+ const err3 =
14805
+ {
14806
+ instancePath:
14807
+ instancePath +
14808
+ '/code',
14809
+ schemaPath:
14810
+ '#/oneOf/18/properties/code/anyOf/1/required',
14811
+ keyword:
14812
+ 'required',
14813
+ params: {
14814
+ missingProperty:
14815
+ missing20,
14816
+ },
14817
+ message:
14818
+ "must have required property '" +
14819
+ missing20 +
14820
+ "'",
14821
+ };
14822
+ if (
14823
+ vErrors ===
14824
+ null
14825
+ ) {
14826
+ vErrors =
14827
+ [
14828
+ err3,
14829
+ ];
14830
+ } else {
14831
+ vErrors.push(
14832
+ err3
14833
+ );
14834
+ }
14835
+ errors++;
14836
+ } else {
14837
+ const _errs313 =
14838
+ errors;
14839
+ for (const key41 in data113) {
14840
+ if (
14841
+ !(
14842
+ key41 ===
14843
+ 'filename' ||
14844
+ key41 ===
14845
+ 'content'
14846
+ )
14847
+ ) {
14848
+ const err4 =
14849
+ {
14850
+ instancePath:
14851
+ instancePath +
14852
+ '/code',
14853
+ schemaPath:
14854
+ '#/oneOf/18/properties/code/anyOf/1/additionalProperties',
14855
+ keyword:
14856
+ 'additionalProperties',
14857
+ params: {
14858
+ additionalProperty:
14859
+ key41,
14860
+ },
14861
+ message:
14862
+ 'must NOT have additional properties',
14863
+ };
14864
+ if (
14865
+ vErrors ===
14866
+ null
14867
+ ) {
14868
+ vErrors =
14869
+ [
14870
+ err4,
14871
+ ];
14872
+ } else {
14873
+ vErrors.push(
14874
+ err4
14875
+ );
14876
+ }
14877
+ errors++;
14878
+ break;
14879
+ }
14880
+ }
14881
+ if (
14882
+ _errs313 ===
14883
+ errors
14884
+ ) {
14885
+ if (
14886
+ data113.filename !==
14887
+ undefined
14888
+ ) {
14889
+ const _errs314 =
14890
+ errors;
14891
+ if (
14892
+ typeof data113.filename !==
14893
+ 'string'
14894
+ ) {
14895
+ const err5 =
14896
+ {
14897
+ instancePath:
14898
+ instancePath +
14899
+ '/code/filename',
14900
+ schemaPath:
14901
+ '#/oneOf/18/properties/code/anyOf/1/properties/filename/type',
14902
+ keyword:
14903
+ 'type',
14904
+ params: {
14905
+ type: 'string',
14906
+ },
14907
+ message:
14908
+ 'must be string',
14909
+ };
14910
+ if (
14911
+ vErrors ===
14912
+ null
14913
+ ) {
14914
+ vErrors =
14915
+ [
14916
+ err5,
14917
+ ];
14918
+ } else {
14919
+ vErrors.push(
14920
+ err5
14921
+ );
14922
+ }
14923
+ errors++;
14924
+ }
14925
+ var valid66 =
14926
+ _errs314 ===
14927
+ errors;
14928
+ } else {
14929
+ var valid66 = true;
14930
+ }
14931
+ if (
14932
+ valid66
14933
+ ) {
14934
+ if (
14935
+ data113.content !==
14936
+ undefined
14937
+ ) {
14938
+ const _errs316 =
14939
+ errors;
14940
+ if (
14941
+ typeof data113.content !==
14942
+ 'string'
14943
+ ) {
14944
+ const err6 =
14945
+ {
14946
+ instancePath:
14947
+ instancePath +
14948
+ '/code/content',
14949
+ schemaPath:
14950
+ '#/oneOf/18/properties/code/anyOf/1/properties/content/type',
14951
+ keyword:
14952
+ 'type',
14953
+ params: {
14954
+ type: 'string',
14955
+ },
14956
+ message:
14957
+ 'must be string',
14958
+ };
14959
+ if (
14960
+ vErrors ===
14961
+ null
14962
+ ) {
14963
+ vErrors =
14964
+ [
14965
+ err6,
14966
+ ];
14967
+ } else {
14968
+ vErrors.push(
14969
+ err6
14970
+ );
14971
+ }
14972
+ errors++;
14973
+ }
14974
+ var valid66 =
14975
+ _errs316 ===
14976
+ errors;
14977
+ } else {
14978
+ var valid66 = true;
14979
+ }
14980
+ }
14981
+ }
14982
+ }
14983
+ } else {
14984
+ const err7 = {
14985
+ instancePath:
14986
+ instancePath +
14987
+ '/code',
14988
+ schemaPath:
14989
+ '#/oneOf/18/properties/code/anyOf/1/type',
14990
+ keyword:
14991
+ 'type',
14992
+ params: {
14993
+ type: 'object',
14994
+ },
14995
+ message:
14996
+ 'must be object',
14997
+ };
14998
+ if (
14999
+ vErrors ===
15000
+ null
15001
+ ) {
15002
+ vErrors = [
15003
+ err7,
15004
+ ];
15005
+ } else {
15006
+ vErrors.push(
15007
+ err7
15008
+ );
15009
+ }
15010
+ errors++;
15011
+ }
15012
+ }
15013
+ var _valid2 =
15014
+ _errs311 === errors;
15015
+ valid65 =
15016
+ valid65 || _valid2;
15017
+ }
15018
+ if (!valid65) {
15019
+ const err8 = {
15020
+ instancePath:
15021
+ instancePath +
15022
+ '/code',
15023
+ schemaPath:
15024
+ '#/oneOf/18/properties/code/anyOf',
15025
+ keyword: 'anyOf',
15026
+ params: {},
15027
+ message:
15028
+ 'must match a schema in anyOf',
15029
+ };
15030
+ if (vErrors === null) {
15031
+ vErrors = [err8];
15032
+ } else {
15033
+ vErrors.push(err8);
15034
+ }
15035
+ errors++;
15036
+ validate14.errors =
15037
+ vErrors;
14734
15038
  return false;
15039
+ } else {
15040
+ errors = _errs308;
15041
+ if (vErrors !== null) {
15042
+ if (_errs308) {
15043
+ vErrors.length =
15044
+ _errs308;
15045
+ } else {
15046
+ vErrors = null;
15047
+ }
15048
+ }
14735
15049
  }
14736
15050
  var valid63 =
14737
15051
  _errs307 === errors;
@@ -14756,19 +15070,19 @@ function validate14(
14756
15070
  }
14757
15071
  }
14758
15072
  } else if (tag0 === 'runPHPWithOptions') {
14759
- const _errs309 = errors;
14760
- if (errors === _errs309) {
15073
+ const _errs318 = errors;
15074
+ if (errors === _errs318) {
14761
15075
  if (
14762
15076
  data &&
14763
15077
  typeof data == 'object' &&
14764
15078
  !Array.isArray(data)
14765
15079
  ) {
14766
- let missing20;
15080
+ let missing21;
14767
15081
  if (
14768
15082
  (data.options === undefined &&
14769
- (missing20 = 'options')) ||
15083
+ (missing21 = 'options')) ||
14770
15084
  (data.step === undefined &&
14771
- (missing20 = 'step'))
15085
+ (missing21 = 'step'))
14772
15086
  ) {
14773
15087
  validate14.errors = [
14774
15088
  {
@@ -14776,23 +15090,23 @@ function validate14(
14776
15090
  schemaPath: '#/oneOf/19/required',
14777
15091
  keyword: 'required',
14778
15092
  params: {
14779
- missingProperty: missing20,
15093
+ missingProperty: missing21,
14780
15094
  },
14781
15095
  message:
14782
15096
  "must have required property '" +
14783
- missing20 +
15097
+ missing21 +
14784
15098
  "'",
14785
15099
  },
14786
15100
  ];
14787
15101
  return false;
14788
15102
  } else {
14789
- const _errs311 = errors;
14790
- for (const key41 in data) {
15103
+ const _errs320 = errors;
15104
+ for (const key42 in data) {
14791
15105
  if (
14792
15106
  !(
14793
- key41 === 'progress' ||
14794
- key41 === 'step' ||
14795
- key41 === 'options'
15107
+ key42 === 'progress' ||
15108
+ key42 === 'step' ||
15109
+ key42 === 'options'
14796
15110
  )
14797
15111
  ) {
14798
15112
  validate14.errors = [
@@ -14804,7 +15118,7 @@ function validate14(
14804
15118
  'additionalProperties',
14805
15119
  params: {
14806
15120
  additionalProperty:
14807
- key41,
15121
+ key42,
14808
15122
  },
14809
15123
  message:
14810
15124
  'must NOT have additional properties',
@@ -14814,24 +15128,24 @@ function validate14(
14814
15128
  break;
14815
15129
  }
14816
15130
  }
14817
- if (_errs311 === errors) {
15131
+ if (_errs320 === errors) {
14818
15132
  if (data.progress !== undefined) {
14819
- let data114 = data.progress;
14820
- const _errs312 = errors;
14821
- if (errors === _errs312) {
15133
+ let data116 = data.progress;
15134
+ const _errs321 = errors;
15135
+ if (errors === _errs321) {
14822
15136
  if (
14823
- data114 &&
14824
- typeof data114 ==
15137
+ data116 &&
15138
+ typeof data116 ==
14825
15139
  'object' &&
14826
- !Array.isArray(data114)
15140
+ !Array.isArray(data116)
14827
15141
  ) {
14828
- const _errs314 = errors;
14829
- for (const key42 in data114) {
15142
+ const _errs323 = errors;
15143
+ for (const key43 in data116) {
14830
15144
  if (
14831
15145
  !(
14832
- key42 ===
15146
+ key43 ===
14833
15147
  'weight' ||
14834
- key42 ===
15148
+ key43 ===
14835
15149
  'caption'
14836
15150
  )
14837
15151
  ) {
@@ -14847,7 +15161,7 @@ function validate14(
14847
15161
  'additionalProperties',
14848
15162
  params: {
14849
15163
  additionalProperty:
14850
- key42,
15164
+ key43,
14851
15165
  },
14852
15166
  message:
14853
15167
  'must NOT have additional properties',
@@ -14857,21 +15171,21 @@ function validate14(
14857
15171
  break;
14858
15172
  }
14859
15173
  }
14860
- if (_errs314 === errors) {
15174
+ if (_errs323 === errors) {
14861
15175
  if (
14862
- data114.weight !==
15176
+ data116.weight !==
14863
15177
  undefined
14864
15178
  ) {
14865
- let data115 =
14866
- data114.weight;
14867
- const _errs315 =
15179
+ let data117 =
15180
+ data116.weight;
15181
+ const _errs324 =
14868
15182
  errors;
14869
15183
  if (
14870
15184
  !(
14871
- typeof data115 ==
15185
+ typeof data117 ==
14872
15186
  'number' &&
14873
15187
  isFinite(
14874
- data115
15188
+ data117
14875
15189
  )
14876
15190
  )
14877
15191
  ) {
@@ -14894,21 +15208,21 @@ function validate14(
14894
15208
  ];
14895
15209
  return false;
14896
15210
  }
14897
- var valid67 =
14898
- _errs315 ===
15211
+ var valid69 =
15212
+ _errs324 ===
14899
15213
  errors;
14900
15214
  } else {
14901
- var valid67 = true;
15215
+ var valid69 = true;
14902
15216
  }
14903
- if (valid67) {
15217
+ if (valid69) {
14904
15218
  if (
14905
- data114.caption !==
15219
+ data116.caption !==
14906
15220
  undefined
14907
15221
  ) {
14908
- const _errs317 =
15222
+ const _errs326 =
14909
15223
  errors;
14910
15224
  if (
14911
- typeof data114.caption !==
15225
+ typeof data116.caption !==
14912
15226
  'string'
14913
15227
  ) {
14914
15228
  validate14.errors =
@@ -14930,11 +15244,11 @@ function validate14(
14930
15244
  ];
14931
15245
  return false;
14932
15246
  }
14933
- var valid67 =
14934
- _errs317 ===
15247
+ var valid69 =
15248
+ _errs326 ===
14935
15249
  errors;
14936
15250
  } else {
14937
- var valid67 = true;
15251
+ var valid69 = true;
14938
15252
  }
14939
15253
  }
14940
15254
  }
@@ -14957,16 +15271,16 @@ function validate14(
14957
15271
  return false;
14958
15272
  }
14959
15273
  }
14960
- var valid66 = _errs312 === errors;
15274
+ var valid68 = _errs321 === errors;
14961
15275
  } else {
14962
- var valid66 = true;
15276
+ var valid68 = true;
14963
15277
  }
14964
- if (valid66) {
15278
+ if (valid68) {
14965
15279
  if (data.step !== undefined) {
14966
- let data117 = data.step;
14967
- const _errs319 = errors;
15280
+ let data119 = data.step;
15281
+ const _errs328 = errors;
14968
15282
  if (
14969
- typeof data117 !== 'string'
15283
+ typeof data119 !== 'string'
14970
15284
  ) {
14971
15285
  validate14.errors = [
14972
15286
  {
@@ -14987,7 +15301,7 @@ function validate14(
14987
15301
  }
14988
15302
  if (
14989
15303
  'runPHPWithOptions' !==
14990
- data117
15304
+ data119
14991
15305
  ) {
14992
15306
  validate14.errors = [
14993
15307
  {
@@ -15007,16 +15321,16 @@ function validate14(
15007
15321
  ];
15008
15322
  return false;
15009
15323
  }
15010
- var valid66 =
15011
- _errs319 === errors;
15324
+ var valid68 =
15325
+ _errs328 === errors;
15012
15326
  } else {
15013
- var valid66 = true;
15327
+ var valid68 = true;
15014
15328
  }
15015
- if (valid66) {
15329
+ if (valid68) {
15016
15330
  if (
15017
15331
  data.options !== undefined
15018
15332
  ) {
15019
- const _errs321 = errors;
15333
+ const _errs330 = errors;
15020
15334
  if (
15021
15335
  !validate30(
15022
15336
  data.options,
@@ -15040,10 +15354,10 @@ function validate14(
15040
15354
  );
15041
15355
  errors = vErrors.length;
15042
15356
  }
15043
- var valid66 =
15044
- _errs321 === errors;
15357
+ var valid68 =
15358
+ _errs330 === errors;
15045
15359
  } else {
15046
- var valid66 = true;
15360
+ var valid68 = true;
15047
15361
  }
15048
15362
  }
15049
15363
  }
@@ -15063,19 +15377,19 @@ function validate14(
15063
15377
  }
15064
15378
  }
15065
15379
  } else if (tag0 === 'runWpInstallationWizard') {
15066
- const _errs322 = errors;
15067
- if (errors === _errs322) {
15380
+ const _errs331 = errors;
15381
+ if (errors === _errs331) {
15068
15382
  if (
15069
15383
  data &&
15070
15384
  typeof data == 'object' &&
15071
15385
  !Array.isArray(data)
15072
15386
  ) {
15073
- let missing21;
15387
+ let missing22;
15074
15388
  if (
15075
15389
  (data.options === undefined &&
15076
- (missing21 = 'options')) ||
15390
+ (missing22 = 'options')) ||
15077
15391
  (data.step === undefined &&
15078
- (missing21 = 'step'))
15392
+ (missing22 = 'step'))
15079
15393
  ) {
15080
15394
  validate14.errors = [
15081
15395
  {
@@ -15083,23 +15397,23 @@ function validate14(
15083
15397
  schemaPath: '#/oneOf/20/required',
15084
15398
  keyword: 'required',
15085
15399
  params: {
15086
- missingProperty: missing21,
15400
+ missingProperty: missing22,
15087
15401
  },
15088
15402
  message:
15089
15403
  "must have required property '" +
15090
- missing21 +
15404
+ missing22 +
15091
15405
  "'",
15092
15406
  },
15093
15407
  ];
15094
15408
  return false;
15095
15409
  } else {
15096
- const _errs324 = errors;
15097
- for (const key43 in data) {
15410
+ const _errs333 = errors;
15411
+ for (const key44 in data) {
15098
15412
  if (
15099
15413
  !(
15100
- key43 === 'progress' ||
15101
- key43 === 'step' ||
15102
- key43 === 'options'
15414
+ key44 === 'progress' ||
15415
+ key44 === 'step' ||
15416
+ key44 === 'options'
15103
15417
  )
15104
15418
  ) {
15105
15419
  validate14.errors = [
@@ -15111,7 +15425,7 @@ function validate14(
15111
15425
  'additionalProperties',
15112
15426
  params: {
15113
15427
  additionalProperty:
15114
- key43,
15428
+ key44,
15115
15429
  },
15116
15430
  message:
15117
15431
  'must NOT have additional properties',
@@ -15121,24 +15435,24 @@ function validate14(
15121
15435
  break;
15122
15436
  }
15123
15437
  }
15124
- if (_errs324 === errors) {
15438
+ if (_errs333 === errors) {
15125
15439
  if (data.progress !== undefined) {
15126
- let data119 = data.progress;
15127
- const _errs325 = errors;
15128
- if (errors === _errs325) {
15440
+ let data121 = data.progress;
15441
+ const _errs334 = errors;
15442
+ if (errors === _errs334) {
15129
15443
  if (
15130
- data119 &&
15131
- typeof data119 ==
15444
+ data121 &&
15445
+ typeof data121 ==
15132
15446
  'object' &&
15133
- !Array.isArray(data119)
15447
+ !Array.isArray(data121)
15134
15448
  ) {
15135
- const _errs327 = errors;
15136
- for (const key44 in data119) {
15449
+ const _errs336 = errors;
15450
+ for (const key45 in data121) {
15137
15451
  if (
15138
15452
  !(
15139
- key44 ===
15453
+ key45 ===
15140
15454
  'weight' ||
15141
- key44 ===
15455
+ key45 ===
15142
15456
  'caption'
15143
15457
  )
15144
15458
  ) {
@@ -15154,7 +15468,7 @@ function validate14(
15154
15468
  'additionalProperties',
15155
15469
  params: {
15156
15470
  additionalProperty:
15157
- key44,
15471
+ key45,
15158
15472
  },
15159
15473
  message:
15160
15474
  'must NOT have additional properties',
@@ -15164,21 +15478,21 @@ function validate14(
15164
15478
  break;
15165
15479
  }
15166
15480
  }
15167
- if (_errs327 === errors) {
15481
+ if (_errs336 === errors) {
15168
15482
  if (
15169
- data119.weight !==
15483
+ data121.weight !==
15170
15484
  undefined
15171
15485
  ) {
15172
- let data120 =
15173
- data119.weight;
15174
- const _errs328 =
15486
+ let data122 =
15487
+ data121.weight;
15488
+ const _errs337 =
15175
15489
  errors;
15176
15490
  if (
15177
15491
  !(
15178
- typeof data120 ==
15492
+ typeof data122 ==
15179
15493
  'number' &&
15180
15494
  isFinite(
15181
- data120
15495
+ data122
15182
15496
  )
15183
15497
  )
15184
15498
  ) {
@@ -15201,21 +15515,21 @@ function validate14(
15201
15515
  ];
15202
15516
  return false;
15203
15517
  }
15204
- var valid70 =
15205
- _errs328 ===
15518
+ var valid72 =
15519
+ _errs337 ===
15206
15520
  errors;
15207
15521
  } else {
15208
- var valid70 = true;
15522
+ var valid72 = true;
15209
15523
  }
15210
- if (valid70) {
15524
+ if (valid72) {
15211
15525
  if (
15212
- data119.caption !==
15526
+ data121.caption !==
15213
15527
  undefined
15214
15528
  ) {
15215
- const _errs330 =
15529
+ const _errs339 =
15216
15530
  errors;
15217
15531
  if (
15218
- typeof data119.caption !==
15532
+ typeof data121.caption !==
15219
15533
  'string'
15220
15534
  ) {
15221
15535
  validate14.errors =
@@ -15237,11 +15551,11 @@ function validate14(
15237
15551
  ];
15238
15552
  return false;
15239
15553
  }
15240
- var valid70 =
15241
- _errs330 ===
15554
+ var valid72 =
15555
+ _errs339 ===
15242
15556
  errors;
15243
15557
  } else {
15244
- var valid70 = true;
15558
+ var valid72 = true;
15245
15559
  }
15246
15560
  }
15247
15561
  }
@@ -15264,16 +15578,16 @@ function validate14(
15264
15578
  return false;
15265
15579
  }
15266
15580
  }
15267
- var valid69 = _errs325 === errors;
15581
+ var valid71 = _errs334 === errors;
15268
15582
  } else {
15269
- var valid69 = true;
15583
+ var valid71 = true;
15270
15584
  }
15271
- if (valid69) {
15585
+ if (valid71) {
15272
15586
  if (data.step !== undefined) {
15273
- let data122 = data.step;
15274
- const _errs332 = errors;
15587
+ let data124 = data.step;
15588
+ const _errs341 = errors;
15275
15589
  if (
15276
- typeof data122 !== 'string'
15590
+ typeof data124 !== 'string'
15277
15591
  ) {
15278
15592
  validate14.errors = [
15279
15593
  {
@@ -15294,7 +15608,7 @@ function validate14(
15294
15608
  }
15295
15609
  if (
15296
15610
  'runWpInstallationWizard' !==
15297
- data122
15611
+ data124
15298
15612
  ) {
15299
15613
  validate14.errors = [
15300
15614
  {
@@ -15314,35 +15628,35 @@ function validate14(
15314
15628
  ];
15315
15629
  return false;
15316
15630
  }
15317
- var valid69 =
15318
- _errs332 === errors;
15631
+ var valid71 =
15632
+ _errs341 === errors;
15319
15633
  } else {
15320
- var valid69 = true;
15634
+ var valid71 = true;
15321
15635
  }
15322
- if (valid69) {
15636
+ if (valid71) {
15323
15637
  if (
15324
15638
  data.options !== undefined
15325
15639
  ) {
15326
- let data123 = data.options;
15327
- const _errs334 = errors;
15328
- const _errs335 = errors;
15329
- if (errors === _errs335) {
15640
+ let data125 = data.options;
15641
+ const _errs343 = errors;
15642
+ const _errs344 = errors;
15643
+ if (errors === _errs344) {
15330
15644
  if (
15331
- data123 &&
15332
- typeof data123 ==
15645
+ data125 &&
15646
+ typeof data125 ==
15333
15647
  'object' &&
15334
15648
  !Array.isArray(
15335
- data123
15649
+ data125
15336
15650
  )
15337
15651
  ) {
15338
- const _errs337 =
15652
+ const _errs346 =
15339
15653
  errors;
15340
- for (const key45 in data123) {
15654
+ for (const key46 in data125) {
15341
15655
  if (
15342
15656
  !(
15343
- key45 ===
15657
+ key46 ===
15344
15658
  'adminUsername' ||
15345
- key45 ===
15659
+ key46 ===
15346
15660
  'adminPassword'
15347
15661
  )
15348
15662
  ) {
@@ -15358,7 +15672,7 @@ function validate14(
15358
15672
  'additionalProperties',
15359
15673
  params: {
15360
15674
  additionalProperty:
15361
- key45,
15675
+ key46,
15362
15676
  },
15363
15677
  message:
15364
15678
  'must NOT have additional properties',
@@ -15369,17 +15683,17 @@ function validate14(
15369
15683
  }
15370
15684
  }
15371
15685
  if (
15372
- _errs337 ===
15686
+ _errs346 ===
15373
15687
  errors
15374
15688
  ) {
15375
15689
  if (
15376
- data123.adminUsername !==
15690
+ data125.adminUsername !==
15377
15691
  undefined
15378
15692
  ) {
15379
- const _errs338 =
15693
+ const _errs347 =
15380
15694
  errors;
15381
15695
  if (
15382
- typeof data123.adminUsername !==
15696
+ typeof data125.adminUsername !==
15383
15697
  'string'
15384
15698
  ) {
15385
15699
  validate14.errors =
@@ -15401,21 +15715,21 @@ function validate14(
15401
15715
  ];
15402
15716
  return false;
15403
15717
  }
15404
- var valid72 =
15405
- _errs338 ===
15718
+ var valid74 =
15719
+ _errs347 ===
15406
15720
  errors;
15407
15721
  } else {
15408
- var valid72 = true;
15722
+ var valid74 = true;
15409
15723
  }
15410
- if (valid72) {
15724
+ if (valid74) {
15411
15725
  if (
15412
- data123.adminPassword !==
15726
+ data125.adminPassword !==
15413
15727
  undefined
15414
15728
  ) {
15415
- const _errs340 =
15729
+ const _errs349 =
15416
15730
  errors;
15417
15731
  if (
15418
- typeof data123.adminPassword !==
15732
+ typeof data125.adminPassword !==
15419
15733
  'string'
15420
15734
  ) {
15421
15735
  validate14.errors =
@@ -15437,11 +15751,11 @@ function validate14(
15437
15751
  ];
15438
15752
  return false;
15439
15753
  }
15440
- var valid72 =
15441
- _errs340 ===
15754
+ var valid74 =
15755
+ _errs349 ===
15442
15756
  errors;
15443
15757
  } else {
15444
- var valid72 = true;
15758
+ var valid74 = true;
15445
15759
  }
15446
15760
  }
15447
15761
  }
@@ -15466,10 +15780,10 @@ function validate14(
15466
15780
  return false;
15467
15781
  }
15468
15782
  }
15469
- var valid69 =
15470
- _errs334 === errors;
15783
+ var valid71 =
15784
+ _errs343 === errors;
15471
15785
  } else {
15472
- var valid69 = true;
15786
+ var valid71 = true;
15473
15787
  }
15474
15788
  }
15475
15789
  }
@@ -15489,19 +15803,19 @@ function validate14(
15489
15803
  }
15490
15804
  }
15491
15805
  } else if (tag0 === 'runSql') {
15492
- const _errs342 = errors;
15493
- if (errors === _errs342) {
15806
+ const _errs351 = errors;
15807
+ if (errors === _errs351) {
15494
15808
  if (
15495
15809
  data &&
15496
15810
  typeof data == 'object' &&
15497
15811
  !Array.isArray(data)
15498
15812
  ) {
15499
- let missing22;
15813
+ let missing23;
15500
15814
  if (
15501
15815
  (data.sql === undefined &&
15502
- (missing22 = 'sql')) ||
15816
+ (missing23 = 'sql')) ||
15503
15817
  (data.step === undefined &&
15504
- (missing22 = 'step'))
15818
+ (missing23 = 'step'))
15505
15819
  ) {
15506
15820
  validate14.errors = [
15507
15821
  {
@@ -15509,23 +15823,23 @@ function validate14(
15509
15823
  schemaPath: '#/oneOf/21/required',
15510
15824
  keyword: 'required',
15511
15825
  params: {
15512
- missingProperty: missing22,
15826
+ missingProperty: missing23,
15513
15827
  },
15514
15828
  message:
15515
15829
  "must have required property '" +
15516
- missing22 +
15830
+ missing23 +
15517
15831
  "'",
15518
15832
  },
15519
15833
  ];
15520
15834
  return false;
15521
15835
  } else {
15522
- const _errs344 = errors;
15523
- for (const key46 in data) {
15836
+ const _errs353 = errors;
15837
+ for (const key47 in data) {
15524
15838
  if (
15525
15839
  !(
15526
- key46 === 'progress' ||
15527
- key46 === 'step' ||
15528
- key46 === 'sql'
15840
+ key47 === 'progress' ||
15841
+ key47 === 'step' ||
15842
+ key47 === 'sql'
15529
15843
  )
15530
15844
  ) {
15531
15845
  validate14.errors = [
@@ -15537,7 +15851,7 @@ function validate14(
15537
15851
  'additionalProperties',
15538
15852
  params: {
15539
15853
  additionalProperty:
15540
- key46,
15854
+ key47,
15541
15855
  },
15542
15856
  message:
15543
15857
  'must NOT have additional properties',
@@ -15547,24 +15861,24 @@ function validate14(
15547
15861
  break;
15548
15862
  }
15549
15863
  }
15550
- if (_errs344 === errors) {
15864
+ if (_errs353 === errors) {
15551
15865
  if (data.progress !== undefined) {
15552
- let data126 = data.progress;
15553
- const _errs345 = errors;
15554
- if (errors === _errs345) {
15866
+ let data128 = data.progress;
15867
+ const _errs354 = errors;
15868
+ if (errors === _errs354) {
15555
15869
  if (
15556
- data126 &&
15557
- typeof data126 ==
15870
+ data128 &&
15871
+ typeof data128 ==
15558
15872
  'object' &&
15559
- !Array.isArray(data126)
15873
+ !Array.isArray(data128)
15560
15874
  ) {
15561
- const _errs347 = errors;
15562
- for (const key47 in data126) {
15875
+ const _errs356 = errors;
15876
+ for (const key48 in data128) {
15563
15877
  if (
15564
15878
  !(
15565
- key47 ===
15879
+ key48 ===
15566
15880
  'weight' ||
15567
- key47 ===
15881
+ key48 ===
15568
15882
  'caption'
15569
15883
  )
15570
15884
  ) {
@@ -15580,7 +15894,7 @@ function validate14(
15580
15894
  'additionalProperties',
15581
15895
  params: {
15582
15896
  additionalProperty:
15583
- key47,
15897
+ key48,
15584
15898
  },
15585
15899
  message:
15586
15900
  'must NOT have additional properties',
@@ -15590,21 +15904,21 @@ function validate14(
15590
15904
  break;
15591
15905
  }
15592
15906
  }
15593
- if (_errs347 === errors) {
15907
+ if (_errs356 === errors) {
15594
15908
  if (
15595
- data126.weight !==
15909
+ data128.weight !==
15596
15910
  undefined
15597
15911
  ) {
15598
- let data127 =
15599
- data126.weight;
15600
- const _errs348 =
15912
+ let data129 =
15913
+ data128.weight;
15914
+ const _errs357 =
15601
15915
  errors;
15602
15916
  if (
15603
15917
  !(
15604
- typeof data127 ==
15918
+ typeof data129 ==
15605
15919
  'number' &&
15606
15920
  isFinite(
15607
- data127
15921
+ data129
15608
15922
  )
15609
15923
  )
15610
15924
  ) {
@@ -15627,21 +15941,21 @@ function validate14(
15627
15941
  ];
15628
15942
  return false;
15629
15943
  }
15630
- var valid75 =
15631
- _errs348 ===
15944
+ var valid77 =
15945
+ _errs357 ===
15632
15946
  errors;
15633
15947
  } else {
15634
- var valid75 = true;
15948
+ var valid77 = true;
15635
15949
  }
15636
- if (valid75) {
15950
+ if (valid77) {
15637
15951
  if (
15638
- data126.caption !==
15952
+ data128.caption !==
15639
15953
  undefined
15640
15954
  ) {
15641
- const _errs350 =
15955
+ const _errs359 =
15642
15956
  errors;
15643
15957
  if (
15644
- typeof data126.caption !==
15958
+ typeof data128.caption !==
15645
15959
  'string'
15646
15960
  ) {
15647
15961
  validate14.errors =
@@ -15663,11 +15977,11 @@ function validate14(
15663
15977
  ];
15664
15978
  return false;
15665
15979
  }
15666
- var valid75 =
15667
- _errs350 ===
15980
+ var valid77 =
15981
+ _errs359 ===
15668
15982
  errors;
15669
15983
  } else {
15670
- var valid75 = true;
15984
+ var valid77 = true;
15671
15985
  }
15672
15986
  }
15673
15987
  }
@@ -15690,16 +16004,16 @@ function validate14(
15690
16004
  return false;
15691
16005
  }
15692
16006
  }
15693
- var valid74 = _errs345 === errors;
16007
+ var valid76 = _errs354 === errors;
15694
16008
  } else {
15695
- var valid74 = true;
16009
+ var valid76 = true;
15696
16010
  }
15697
- if (valid74) {
16011
+ if (valid76) {
15698
16012
  if (data.step !== undefined) {
15699
- let data129 = data.step;
15700
- const _errs352 = errors;
16013
+ let data131 = data.step;
16014
+ const _errs361 = errors;
15701
16015
  if (
15702
- typeof data129 !== 'string'
16016
+ typeof data131 !== 'string'
15703
16017
  ) {
15704
16018
  validate14.errors = [
15705
16019
  {
@@ -15718,7 +16032,7 @@ function validate14(
15718
16032
  ];
15719
16033
  return false;
15720
16034
  }
15721
- if ('runSql' !== data129) {
16035
+ if ('runSql' !== data131) {
15722
16036
  validate14.errors = [
15723
16037
  {
15724
16038
  instancePath:
@@ -15737,14 +16051,14 @@ function validate14(
15737
16051
  ];
15738
16052
  return false;
15739
16053
  }
15740
- var valid74 =
15741
- _errs352 === errors;
16054
+ var valid76 =
16055
+ _errs361 === errors;
15742
16056
  } else {
15743
- var valid74 = true;
16057
+ var valid76 = true;
15744
16058
  }
15745
- if (valid74) {
16059
+ if (valid76) {
15746
16060
  if (data.sql !== undefined) {
15747
- const _errs354 = errors;
16061
+ const _errs363 = errors;
15748
16062
  if (
15749
16063
  !validate12(data.sql, {
15750
16064
  instancePath:
@@ -15764,10 +16078,10 @@ function validate14(
15764
16078
  );
15765
16079
  errors = vErrors.length;
15766
16080
  }
15767
- var valid74 =
15768
- _errs354 === errors;
16081
+ var valid76 =
16082
+ _errs363 === errors;
15769
16083
  } else {
15770
- var valid74 = true;
16084
+ var valid76 = true;
15771
16085
  }
15772
16086
  }
15773
16087
  }
@@ -15787,19 +16101,19 @@ function validate14(
15787
16101
  }
15788
16102
  }
15789
16103
  } else if (tag0 === 'setSiteOptions') {
15790
- const _errs355 = errors;
15791
- if (errors === _errs355) {
16104
+ const _errs364 = errors;
16105
+ if (errors === _errs364) {
15792
16106
  if (
15793
16107
  data &&
15794
16108
  typeof data == 'object' &&
15795
16109
  !Array.isArray(data)
15796
16110
  ) {
15797
- let missing23;
16111
+ let missing24;
15798
16112
  if (
15799
16113
  (data.options === undefined &&
15800
- (missing23 = 'options')) ||
16114
+ (missing24 = 'options')) ||
15801
16115
  (data.step === undefined &&
15802
- (missing23 = 'step'))
16116
+ (missing24 = 'step'))
15803
16117
  ) {
15804
16118
  validate14.errors = [
15805
16119
  {
@@ -15807,23 +16121,23 @@ function validate14(
15807
16121
  schemaPath: '#/oneOf/22/required',
15808
16122
  keyword: 'required',
15809
16123
  params: {
15810
- missingProperty: missing23,
16124
+ missingProperty: missing24,
15811
16125
  },
15812
16126
  message:
15813
16127
  "must have required property '" +
15814
- missing23 +
16128
+ missing24 +
15815
16129
  "'",
15816
16130
  },
15817
16131
  ];
15818
16132
  return false;
15819
16133
  } else {
15820
- const _errs357 = errors;
15821
- for (const key48 in data) {
16134
+ const _errs366 = errors;
16135
+ for (const key49 in data) {
15822
16136
  if (
15823
16137
  !(
15824
- key48 === 'progress' ||
15825
- key48 === 'step' ||
15826
- key48 === 'options'
16138
+ key49 === 'progress' ||
16139
+ key49 === 'step' ||
16140
+ key49 === 'options'
15827
16141
  )
15828
16142
  ) {
15829
16143
  validate14.errors = [
@@ -15835,7 +16149,7 @@ function validate14(
15835
16149
  'additionalProperties',
15836
16150
  params: {
15837
16151
  additionalProperty:
15838
- key48,
16152
+ key49,
15839
16153
  },
15840
16154
  message:
15841
16155
  'must NOT have additional properties',
@@ -15845,24 +16159,24 @@ function validate14(
15845
16159
  break;
15846
16160
  }
15847
16161
  }
15848
- if (_errs357 === errors) {
16162
+ if (_errs366 === errors) {
15849
16163
  if (data.progress !== undefined) {
15850
- let data131 = data.progress;
15851
- const _errs358 = errors;
15852
- if (errors === _errs358) {
16164
+ let data133 = data.progress;
16165
+ const _errs367 = errors;
16166
+ if (errors === _errs367) {
15853
16167
  if (
15854
- data131 &&
15855
- typeof data131 ==
16168
+ data133 &&
16169
+ typeof data133 ==
15856
16170
  'object' &&
15857
- !Array.isArray(data131)
16171
+ !Array.isArray(data133)
15858
16172
  ) {
15859
- const _errs360 = errors;
15860
- for (const key49 in data131) {
16173
+ const _errs369 = errors;
16174
+ for (const key50 in data133) {
15861
16175
  if (
15862
16176
  !(
15863
- key49 ===
16177
+ key50 ===
15864
16178
  'weight' ||
15865
- key49 ===
16179
+ key50 ===
15866
16180
  'caption'
15867
16181
  )
15868
16182
  ) {
@@ -15878,7 +16192,7 @@ function validate14(
15878
16192
  'additionalProperties',
15879
16193
  params: {
15880
16194
  additionalProperty:
15881
- key49,
16195
+ key50,
15882
16196
  },
15883
16197
  message:
15884
16198
  'must NOT have additional properties',
@@ -15888,21 +16202,21 @@ function validate14(
15888
16202
  break;
15889
16203
  }
15890
16204
  }
15891
- if (_errs360 === errors) {
16205
+ if (_errs369 === errors) {
15892
16206
  if (
15893
- data131.weight !==
16207
+ data133.weight !==
15894
16208
  undefined
15895
16209
  ) {
15896
- let data132 =
15897
- data131.weight;
15898
- const _errs361 =
16210
+ let data134 =
16211
+ data133.weight;
16212
+ const _errs370 =
15899
16213
  errors;
15900
16214
  if (
15901
16215
  !(
15902
- typeof data132 ==
16216
+ typeof data134 ==
15903
16217
  'number' &&
15904
16218
  isFinite(
15905
- data132
16219
+ data134
15906
16220
  )
15907
16221
  )
15908
16222
  ) {
@@ -15925,21 +16239,21 @@ function validate14(
15925
16239
  ];
15926
16240
  return false;
15927
16241
  }
15928
- var valid78 =
15929
- _errs361 ===
16242
+ var valid80 =
16243
+ _errs370 ===
15930
16244
  errors;
15931
16245
  } else {
15932
- var valid78 = true;
16246
+ var valid80 = true;
15933
16247
  }
15934
- if (valid78) {
16248
+ if (valid80) {
15935
16249
  if (
15936
- data131.caption !==
16250
+ data133.caption !==
15937
16251
  undefined
15938
16252
  ) {
15939
- const _errs363 =
16253
+ const _errs372 =
15940
16254
  errors;
15941
16255
  if (
15942
- typeof data131.caption !==
16256
+ typeof data133.caption !==
15943
16257
  'string'
15944
16258
  ) {
15945
16259
  validate14.errors =
@@ -15961,11 +16275,11 @@ function validate14(
15961
16275
  ];
15962
16276
  return false;
15963
16277
  }
15964
- var valid78 =
15965
- _errs363 ===
16278
+ var valid80 =
16279
+ _errs372 ===
15966
16280
  errors;
15967
16281
  } else {
15968
- var valid78 = true;
16282
+ var valid80 = true;
15969
16283
  }
15970
16284
  }
15971
16285
  }
@@ -15988,16 +16302,16 @@ function validate14(
15988
16302
  return false;
15989
16303
  }
15990
16304
  }
15991
- var valid77 = _errs358 === errors;
16305
+ var valid79 = _errs367 === errors;
15992
16306
  } else {
15993
- var valid77 = true;
16307
+ var valid79 = true;
15994
16308
  }
15995
- if (valid77) {
16309
+ if (valid79) {
15996
16310
  if (data.step !== undefined) {
15997
- let data134 = data.step;
15998
- const _errs365 = errors;
16311
+ let data136 = data.step;
16312
+ const _errs374 = errors;
15999
16313
  if (
16000
- typeof data134 !== 'string'
16314
+ typeof data136 !== 'string'
16001
16315
  ) {
16002
16316
  validate14.errors = [
16003
16317
  {
@@ -16017,7 +16331,7 @@ function validate14(
16017
16331
  return false;
16018
16332
  }
16019
16333
  if (
16020
- 'setSiteOptions' !== data134
16334
+ 'setSiteOptions' !== data136
16021
16335
  ) {
16022
16336
  validate14.errors = [
16023
16337
  {
@@ -16037,33 +16351,33 @@ function validate14(
16037
16351
  ];
16038
16352
  return false;
16039
16353
  }
16040
- var valid77 =
16041
- _errs365 === errors;
16354
+ var valid79 =
16355
+ _errs374 === errors;
16042
16356
  } else {
16043
- var valid77 = true;
16357
+ var valid79 = true;
16044
16358
  }
16045
- if (valid77) {
16359
+ if (valid79) {
16046
16360
  if (
16047
16361
  data.options !== undefined
16048
16362
  ) {
16049
- let data135 = data.options;
16050
- const _errs367 = errors;
16051
- if (errors === _errs367) {
16363
+ let data137 = data.options;
16364
+ const _errs376 = errors;
16365
+ if (errors === _errs376) {
16052
16366
  if (
16053
- data135 &&
16054
- typeof data135 ==
16367
+ data137 &&
16368
+ typeof data137 ==
16055
16369
  'object' &&
16056
16370
  !Array.isArray(
16057
- data135
16371
+ data137
16058
16372
  )
16059
16373
  ) {
16060
- for (const key50 in data135) {
16061
- const _errs370 =
16374
+ for (const key51 in data137) {
16375
+ const _errs379 =
16062
16376
  errors;
16063
- var valid79 =
16064
- _errs370 ===
16377
+ var valid81 =
16378
+ _errs379 ===
16065
16379
  errors;
16066
- if (!valid79) {
16380
+ if (!valid81) {
16067
16381
  break;
16068
16382
  }
16069
16383
  }
@@ -16088,10 +16402,10 @@ function validate14(
16088
16402
  return false;
16089
16403
  }
16090
16404
  }
16091
- var valid77 =
16092
- _errs367 === errors;
16405
+ var valid79 =
16406
+ _errs376 === errors;
16093
16407
  } else {
16094
- var valid77 = true;
16408
+ var valid79 = true;
16095
16409
  }
16096
16410
  }
16097
16411
  }
@@ -16111,19 +16425,19 @@ function validate14(
16111
16425
  }
16112
16426
  }
16113
16427
  } else if (tag0 === 'unzip') {
16114
- const _errs371 = errors;
16115
- if (errors === _errs371) {
16428
+ const _errs380 = errors;
16429
+ if (errors === _errs380) {
16116
16430
  if (
16117
16431
  data &&
16118
16432
  typeof data == 'object' &&
16119
16433
  !Array.isArray(data)
16120
16434
  ) {
16121
- let missing24;
16435
+ let missing25;
16122
16436
  if (
16123
16437
  (data.extractToPath === undefined &&
16124
- (missing24 = 'extractToPath')) ||
16438
+ (missing25 = 'extractToPath')) ||
16125
16439
  (data.step === undefined &&
16126
- (missing24 = 'step'))
16440
+ (missing25 = 'step'))
16127
16441
  ) {
16128
16442
  validate14.errors = [
16129
16443
  {
@@ -16131,25 +16445,25 @@ function validate14(
16131
16445
  schemaPath: '#/oneOf/23/required',
16132
16446
  keyword: 'required',
16133
16447
  params: {
16134
- missingProperty: missing24,
16448
+ missingProperty: missing25,
16135
16449
  },
16136
16450
  message:
16137
16451
  "must have required property '" +
16138
- missing24 +
16452
+ missing25 +
16139
16453
  "'",
16140
16454
  },
16141
16455
  ];
16142
16456
  return false;
16143
16457
  } else {
16144
- const _errs373 = errors;
16145
- for (const key51 in data) {
16458
+ const _errs382 = errors;
16459
+ for (const key52 in data) {
16146
16460
  if (
16147
16461
  !(
16148
- key51 === 'progress' ||
16149
- key51 === 'step' ||
16150
- key51 === 'zipFile' ||
16151
- key51 === 'zipPath' ||
16152
- key51 === 'extractToPath'
16462
+ key52 === 'progress' ||
16463
+ key52 === 'step' ||
16464
+ key52 === 'zipFile' ||
16465
+ key52 === 'zipPath' ||
16466
+ key52 === 'extractToPath'
16153
16467
  )
16154
16468
  ) {
16155
16469
  validate14.errors = [
@@ -16161,7 +16475,7 @@ function validate14(
16161
16475
  'additionalProperties',
16162
16476
  params: {
16163
16477
  additionalProperty:
16164
- key51,
16478
+ key52,
16165
16479
  },
16166
16480
  message:
16167
16481
  'must NOT have additional properties',
@@ -16171,24 +16485,24 @@ function validate14(
16171
16485
  break;
16172
16486
  }
16173
16487
  }
16174
- if (_errs373 === errors) {
16488
+ if (_errs382 === errors) {
16175
16489
  if (data.progress !== undefined) {
16176
- let data137 = data.progress;
16177
- const _errs374 = errors;
16178
- if (errors === _errs374) {
16490
+ let data139 = data.progress;
16491
+ const _errs383 = errors;
16492
+ if (errors === _errs383) {
16179
16493
  if (
16180
- data137 &&
16181
- typeof data137 ==
16494
+ data139 &&
16495
+ typeof data139 ==
16182
16496
  'object' &&
16183
- !Array.isArray(data137)
16497
+ !Array.isArray(data139)
16184
16498
  ) {
16185
- const _errs376 = errors;
16186
- for (const key52 in data137) {
16499
+ const _errs385 = errors;
16500
+ for (const key53 in data139) {
16187
16501
  if (
16188
16502
  !(
16189
- key52 ===
16503
+ key53 ===
16190
16504
  'weight' ||
16191
- key52 ===
16505
+ key53 ===
16192
16506
  'caption'
16193
16507
  )
16194
16508
  ) {
@@ -16204,7 +16518,7 @@ function validate14(
16204
16518
  'additionalProperties',
16205
16519
  params: {
16206
16520
  additionalProperty:
16207
- key52,
16521
+ key53,
16208
16522
  },
16209
16523
  message:
16210
16524
  'must NOT have additional properties',
@@ -16214,21 +16528,21 @@ function validate14(
16214
16528
  break;
16215
16529
  }
16216
16530
  }
16217
- if (_errs376 === errors) {
16531
+ if (_errs385 === errors) {
16218
16532
  if (
16219
- data137.weight !==
16533
+ data139.weight !==
16220
16534
  undefined
16221
16535
  ) {
16222
- let data138 =
16223
- data137.weight;
16224
- const _errs377 =
16536
+ let data140 =
16537
+ data139.weight;
16538
+ const _errs386 =
16225
16539
  errors;
16226
16540
  if (
16227
16541
  !(
16228
- typeof data138 ==
16542
+ typeof data140 ==
16229
16543
  'number' &&
16230
16544
  isFinite(
16231
- data138
16545
+ data140
16232
16546
  )
16233
16547
  )
16234
16548
  ) {
@@ -16251,21 +16565,21 @@ function validate14(
16251
16565
  ];
16252
16566
  return false;
16253
16567
  }
16254
- var valid82 =
16255
- _errs377 ===
16568
+ var valid84 =
16569
+ _errs386 ===
16256
16570
  errors;
16257
16571
  } else {
16258
- var valid82 = true;
16572
+ var valid84 = true;
16259
16573
  }
16260
- if (valid82) {
16574
+ if (valid84) {
16261
16575
  if (
16262
- data137.caption !==
16576
+ data139.caption !==
16263
16577
  undefined
16264
16578
  ) {
16265
- const _errs379 =
16579
+ const _errs388 =
16266
16580
  errors;
16267
16581
  if (
16268
- typeof data137.caption !==
16582
+ typeof data139.caption !==
16269
16583
  'string'
16270
16584
  ) {
16271
16585
  validate14.errors =
@@ -16287,11 +16601,11 @@ function validate14(
16287
16601
  ];
16288
16602
  return false;
16289
16603
  }
16290
- var valid82 =
16291
- _errs379 ===
16604
+ var valid84 =
16605
+ _errs388 ===
16292
16606
  errors;
16293
16607
  } else {
16294
- var valid82 = true;
16608
+ var valid84 = true;
16295
16609
  }
16296
16610
  }
16297
16611
  }
@@ -16314,16 +16628,16 @@ function validate14(
16314
16628
  return false;
16315
16629
  }
16316
16630
  }
16317
- var valid81 = _errs374 === errors;
16631
+ var valid83 = _errs383 === errors;
16318
16632
  } else {
16319
- var valid81 = true;
16633
+ var valid83 = true;
16320
16634
  }
16321
- if (valid81) {
16635
+ if (valid83) {
16322
16636
  if (data.step !== undefined) {
16323
- let data140 = data.step;
16324
- const _errs381 = errors;
16637
+ let data142 = data.step;
16638
+ const _errs390 = errors;
16325
16639
  if (
16326
- typeof data140 !== 'string'
16640
+ typeof data142 !== 'string'
16327
16641
  ) {
16328
16642
  validate14.errors = [
16329
16643
  {
@@ -16342,7 +16656,7 @@ function validate14(
16342
16656
  ];
16343
16657
  return false;
16344
16658
  }
16345
- if ('unzip' !== data140) {
16659
+ if ('unzip' !== data142) {
16346
16660
  validate14.errors = [
16347
16661
  {
16348
16662
  instancePath:
@@ -16361,16 +16675,16 @@ function validate14(
16361
16675
  ];
16362
16676
  return false;
16363
16677
  }
16364
- var valid81 =
16365
- _errs381 === errors;
16678
+ var valid83 =
16679
+ _errs390 === errors;
16366
16680
  } else {
16367
- var valid81 = true;
16681
+ var valid83 = true;
16368
16682
  }
16369
- if (valid81) {
16683
+ if (valid83) {
16370
16684
  if (
16371
16685
  data.zipFile !== undefined
16372
16686
  ) {
16373
- const _errs383 = errors;
16687
+ const _errs392 = errors;
16374
16688
  if (
16375
16689
  !validate12(
16376
16690
  data.zipFile,
@@ -16394,17 +16708,17 @@ function validate14(
16394
16708
  );
16395
16709
  errors = vErrors.length;
16396
16710
  }
16397
- var valid81 =
16398
- _errs383 === errors;
16711
+ var valid83 =
16712
+ _errs392 === errors;
16399
16713
  } else {
16400
- var valid81 = true;
16714
+ var valid83 = true;
16401
16715
  }
16402
- if (valid81) {
16716
+ if (valid83) {
16403
16717
  if (
16404
16718
  data.zipPath !==
16405
16719
  undefined
16406
16720
  ) {
16407
- const _errs384 = errors;
16721
+ const _errs393 = errors;
16408
16722
  if (
16409
16723
  typeof data.zipPath !==
16410
16724
  'string'
@@ -16428,17 +16742,17 @@ function validate14(
16428
16742
  ];
16429
16743
  return false;
16430
16744
  }
16431
- var valid81 =
16432
- _errs384 === errors;
16745
+ var valid83 =
16746
+ _errs393 === errors;
16433
16747
  } else {
16434
- var valid81 = true;
16748
+ var valid83 = true;
16435
16749
  }
16436
- if (valid81) {
16750
+ if (valid83) {
16437
16751
  if (
16438
16752
  data.extractToPath !==
16439
16753
  undefined
16440
16754
  ) {
16441
- const _errs386 =
16755
+ const _errs395 =
16442
16756
  errors;
16443
16757
  if (
16444
16758
  typeof data.extractToPath !==
@@ -16463,11 +16777,11 @@ function validate14(
16463
16777
  ];
16464
16778
  return false;
16465
16779
  }
16466
- var valid81 =
16467
- _errs386 ===
16780
+ var valid83 =
16781
+ _errs395 ===
16468
16782
  errors;
16469
16783
  } else {
16470
- var valid81 = true;
16784
+ var valid83 = true;
16471
16785
  }
16472
16786
  }
16473
16787
  }
@@ -16489,21 +16803,21 @@ function validate14(
16489
16803
  }
16490
16804
  }
16491
16805
  } else if (tag0 === 'updateUserMeta') {
16492
- const _errs388 = errors;
16493
- if (errors === _errs388) {
16806
+ const _errs397 = errors;
16807
+ if (errors === _errs397) {
16494
16808
  if (
16495
16809
  data &&
16496
16810
  typeof data == 'object' &&
16497
16811
  !Array.isArray(data)
16498
16812
  ) {
16499
- let missing25;
16813
+ let missing26;
16500
16814
  if (
16501
16815
  (data.meta === undefined &&
16502
- (missing25 = 'meta')) ||
16816
+ (missing26 = 'meta')) ||
16503
16817
  (data.step === undefined &&
16504
- (missing25 = 'step')) ||
16818
+ (missing26 = 'step')) ||
16505
16819
  (data.userId === undefined &&
16506
- (missing25 = 'userId'))
16820
+ (missing26 = 'userId'))
16507
16821
  ) {
16508
16822
  validate14.errors = [
16509
16823
  {
@@ -16511,24 +16825,24 @@ function validate14(
16511
16825
  schemaPath: '#/oneOf/24/required',
16512
16826
  keyword: 'required',
16513
16827
  params: {
16514
- missingProperty: missing25,
16828
+ missingProperty: missing26,
16515
16829
  },
16516
16830
  message:
16517
16831
  "must have required property '" +
16518
- missing25 +
16832
+ missing26 +
16519
16833
  "'",
16520
16834
  },
16521
16835
  ];
16522
16836
  return false;
16523
16837
  } else {
16524
- const _errs390 = errors;
16525
- for (const key53 in data) {
16838
+ const _errs399 = errors;
16839
+ for (const key54 in data) {
16526
16840
  if (
16527
16841
  !(
16528
- key53 === 'progress' ||
16529
- key53 === 'step' ||
16530
- key53 === 'meta' ||
16531
- key53 === 'userId'
16842
+ key54 === 'progress' ||
16843
+ key54 === 'step' ||
16844
+ key54 === 'meta' ||
16845
+ key54 === 'userId'
16532
16846
  )
16533
16847
  ) {
16534
16848
  validate14.errors = [
@@ -16540,7 +16854,7 @@ function validate14(
16540
16854
  'additionalProperties',
16541
16855
  params: {
16542
16856
  additionalProperty:
16543
- key53,
16857
+ key54,
16544
16858
  },
16545
16859
  message:
16546
16860
  'must NOT have additional properties',
@@ -16550,24 +16864,24 @@ function validate14(
16550
16864
  break;
16551
16865
  }
16552
16866
  }
16553
- if (_errs390 === errors) {
16867
+ if (_errs399 === errors) {
16554
16868
  if (data.progress !== undefined) {
16555
- let data144 = data.progress;
16556
- const _errs391 = errors;
16557
- if (errors === _errs391) {
16869
+ let data146 = data.progress;
16870
+ const _errs400 = errors;
16871
+ if (errors === _errs400) {
16558
16872
  if (
16559
- data144 &&
16560
- typeof data144 ==
16873
+ data146 &&
16874
+ typeof data146 ==
16561
16875
  'object' &&
16562
- !Array.isArray(data144)
16876
+ !Array.isArray(data146)
16563
16877
  ) {
16564
- const _errs393 = errors;
16565
- for (const key54 in data144) {
16878
+ const _errs402 = errors;
16879
+ for (const key55 in data146) {
16566
16880
  if (
16567
16881
  !(
16568
- key54 ===
16882
+ key55 ===
16569
16883
  'weight' ||
16570
- key54 ===
16884
+ key55 ===
16571
16885
  'caption'
16572
16886
  )
16573
16887
  ) {
@@ -16583,7 +16897,7 @@ function validate14(
16583
16897
  'additionalProperties',
16584
16898
  params: {
16585
16899
  additionalProperty:
16586
- key54,
16900
+ key55,
16587
16901
  },
16588
16902
  message:
16589
16903
  'must NOT have additional properties',
@@ -16593,21 +16907,21 @@ function validate14(
16593
16907
  break;
16594
16908
  }
16595
16909
  }
16596
- if (_errs393 === errors) {
16910
+ if (_errs402 === errors) {
16597
16911
  if (
16598
- data144.weight !==
16912
+ data146.weight !==
16599
16913
  undefined
16600
16914
  ) {
16601
- let data145 =
16602
- data144.weight;
16603
- const _errs394 =
16915
+ let data147 =
16916
+ data146.weight;
16917
+ const _errs403 =
16604
16918
  errors;
16605
16919
  if (
16606
16920
  !(
16607
- typeof data145 ==
16921
+ typeof data147 ==
16608
16922
  'number' &&
16609
16923
  isFinite(
16610
- data145
16924
+ data147
16611
16925
  )
16612
16926
  )
16613
16927
  ) {
@@ -16630,21 +16944,21 @@ function validate14(
16630
16944
  ];
16631
16945
  return false;
16632
16946
  }
16633
- var valid85 =
16634
- _errs394 ===
16947
+ var valid87 =
16948
+ _errs403 ===
16635
16949
  errors;
16636
16950
  } else {
16637
- var valid85 = true;
16951
+ var valid87 = true;
16638
16952
  }
16639
- if (valid85) {
16953
+ if (valid87) {
16640
16954
  if (
16641
- data144.caption !==
16955
+ data146.caption !==
16642
16956
  undefined
16643
16957
  ) {
16644
- const _errs396 =
16958
+ const _errs405 =
16645
16959
  errors;
16646
16960
  if (
16647
- typeof data144.caption !==
16961
+ typeof data146.caption !==
16648
16962
  'string'
16649
16963
  ) {
16650
16964
  validate14.errors =
@@ -16666,11 +16980,11 @@ function validate14(
16666
16980
  ];
16667
16981
  return false;
16668
16982
  }
16669
- var valid85 =
16670
- _errs396 ===
16983
+ var valid87 =
16984
+ _errs405 ===
16671
16985
  errors;
16672
16986
  } else {
16673
- var valid85 = true;
16987
+ var valid87 = true;
16674
16988
  }
16675
16989
  }
16676
16990
  }
@@ -16693,16 +17007,16 @@ function validate14(
16693
17007
  return false;
16694
17008
  }
16695
17009
  }
16696
- var valid84 = _errs391 === errors;
17010
+ var valid86 = _errs400 === errors;
16697
17011
  } else {
16698
- var valid84 = true;
17012
+ var valid86 = true;
16699
17013
  }
16700
- if (valid84) {
17014
+ if (valid86) {
16701
17015
  if (data.step !== undefined) {
16702
- let data147 = data.step;
16703
- const _errs398 = errors;
17016
+ let data149 = data.step;
17017
+ const _errs407 = errors;
16704
17018
  if (
16705
- typeof data147 !== 'string'
17019
+ typeof data149 !== 'string'
16706
17020
  ) {
16707
17021
  validate14.errors = [
16708
17022
  {
@@ -16722,7 +17036,7 @@ function validate14(
16722
17036
  return false;
16723
17037
  }
16724
17038
  if (
16725
- 'updateUserMeta' !== data147
17039
+ 'updateUserMeta' !== data149
16726
17040
  ) {
16727
17041
  validate14.errors = [
16728
17042
  {
@@ -16742,31 +17056,31 @@ function validate14(
16742
17056
  ];
16743
17057
  return false;
16744
17058
  }
16745
- var valid84 =
16746
- _errs398 === errors;
17059
+ var valid86 =
17060
+ _errs407 === errors;
16747
17061
  } else {
16748
- var valid84 = true;
17062
+ var valid86 = true;
16749
17063
  }
16750
- if (valid84) {
17064
+ if (valid86) {
16751
17065
  if (data.meta !== undefined) {
16752
- let data148 = data.meta;
16753
- const _errs400 = errors;
16754
- if (errors === _errs400) {
17066
+ let data150 = data.meta;
17067
+ const _errs409 = errors;
17068
+ if (errors === _errs409) {
16755
17069
  if (
16756
- data148 &&
16757
- typeof data148 ==
17070
+ data150 &&
17071
+ typeof data150 ==
16758
17072
  'object' &&
16759
17073
  !Array.isArray(
16760
- data148
17074
+ data150
16761
17075
  )
16762
17076
  ) {
16763
- for (const key55 in data148) {
16764
- const _errs403 =
17077
+ for (const key56 in data150) {
17078
+ const _errs412 =
16765
17079
  errors;
16766
- var valid86 =
16767
- _errs403 ===
17080
+ var valid88 =
17081
+ _errs412 ===
16768
17082
  errors;
16769
- if (!valid86) {
17083
+ if (!valid88) {
16770
17084
  break;
16771
17085
  }
16772
17086
  }
@@ -16791,25 +17105,25 @@ function validate14(
16791
17105
  return false;
16792
17106
  }
16793
17107
  }
16794
- var valid84 =
16795
- _errs400 === errors;
17108
+ var valid86 =
17109
+ _errs409 === errors;
16796
17110
  } else {
16797
- var valid84 = true;
17111
+ var valid86 = true;
16798
17112
  }
16799
- if (valid84) {
17113
+ if (valid86) {
16800
17114
  if (
16801
17115
  data.userId !==
16802
17116
  undefined
16803
17117
  ) {
16804
- let data150 =
17118
+ let data152 =
16805
17119
  data.userId;
16806
- const _errs404 = errors;
17120
+ const _errs413 = errors;
16807
17121
  if (
16808
17122
  !(
16809
- typeof data150 ==
17123
+ typeof data152 ==
16810
17124
  'number' &&
16811
17125
  isFinite(
16812
- data150
17126
+ data152
16813
17127
  )
16814
17128
  )
16815
17129
  ) {
@@ -16832,10 +17146,10 @@ function validate14(
16832
17146
  ];
16833
17147
  return false;
16834
17148
  }
16835
- var valid84 =
16836
- _errs404 === errors;
17149
+ var valid86 =
17150
+ _errs413 === errors;
16837
17151
  } else {
16838
- var valid84 = true;
17152
+ var valid86 = true;
16839
17153
  }
16840
17154
  }
16841
17155
  }
@@ -16856,21 +17170,21 @@ function validate14(
16856
17170
  }
16857
17171
  }
16858
17172
  } else if (tag0 === 'writeFile') {
16859
- const _errs406 = errors;
16860
- if (errors === _errs406) {
17173
+ const _errs415 = errors;
17174
+ if (errors === _errs415) {
16861
17175
  if (
16862
17176
  data &&
16863
17177
  typeof data == 'object' &&
16864
17178
  !Array.isArray(data)
16865
17179
  ) {
16866
- let missing26;
17180
+ let missing27;
16867
17181
  if (
16868
17182
  (data.data === undefined &&
16869
- (missing26 = 'data')) ||
17183
+ (missing27 = 'data')) ||
16870
17184
  (data.path === undefined &&
16871
- (missing26 = 'path')) ||
17185
+ (missing27 = 'path')) ||
16872
17186
  (data.step === undefined &&
16873
- (missing26 = 'step'))
17187
+ (missing27 = 'step'))
16874
17188
  ) {
16875
17189
  validate14.errors = [
16876
17190
  {
@@ -16878,24 +17192,24 @@ function validate14(
16878
17192
  schemaPath: '#/oneOf/25/required',
16879
17193
  keyword: 'required',
16880
17194
  params: {
16881
- missingProperty: missing26,
17195
+ missingProperty: missing27,
16882
17196
  },
16883
17197
  message:
16884
17198
  "must have required property '" +
16885
- missing26 +
17199
+ missing27 +
16886
17200
  "'",
16887
17201
  },
16888
17202
  ];
16889
17203
  return false;
16890
17204
  } else {
16891
- const _errs408 = errors;
16892
- for (const key56 in data) {
17205
+ const _errs417 = errors;
17206
+ for (const key57 in data) {
16893
17207
  if (
16894
17208
  !(
16895
- key56 === 'progress' ||
16896
- key56 === 'step' ||
16897
- key56 === 'path' ||
16898
- key56 === 'data'
17209
+ key57 === 'progress' ||
17210
+ key57 === 'step' ||
17211
+ key57 === 'path' ||
17212
+ key57 === 'data'
16899
17213
  )
16900
17214
  ) {
16901
17215
  validate14.errors = [
@@ -16907,7 +17221,7 @@ function validate14(
16907
17221
  'additionalProperties',
16908
17222
  params: {
16909
17223
  additionalProperty:
16910
- key56,
17224
+ key57,
16911
17225
  },
16912
17226
  message:
16913
17227
  'must NOT have additional properties',
@@ -16917,24 +17231,24 @@ function validate14(
16917
17231
  break;
16918
17232
  }
16919
17233
  }
16920
- if (_errs408 === errors) {
17234
+ if (_errs417 === errors) {
16921
17235
  if (data.progress !== undefined) {
16922
- let data151 = data.progress;
16923
- const _errs409 = errors;
16924
- if (errors === _errs409) {
17236
+ let data153 = data.progress;
17237
+ const _errs418 = errors;
17238
+ if (errors === _errs418) {
16925
17239
  if (
16926
- data151 &&
16927
- typeof data151 ==
17240
+ data153 &&
17241
+ typeof data153 ==
16928
17242
  'object' &&
16929
- !Array.isArray(data151)
17243
+ !Array.isArray(data153)
16930
17244
  ) {
16931
- const _errs411 = errors;
16932
- for (const key57 in data151) {
17245
+ const _errs420 = errors;
17246
+ for (const key58 in data153) {
16933
17247
  if (
16934
17248
  !(
16935
- key57 ===
17249
+ key58 ===
16936
17250
  'weight' ||
16937
- key57 ===
17251
+ key58 ===
16938
17252
  'caption'
16939
17253
  )
16940
17254
  ) {
@@ -16950,7 +17264,7 @@ function validate14(
16950
17264
  'additionalProperties',
16951
17265
  params: {
16952
17266
  additionalProperty:
16953
- key57,
17267
+ key58,
16954
17268
  },
16955
17269
  message:
16956
17270
  'must NOT have additional properties',
@@ -16960,21 +17274,21 @@ function validate14(
16960
17274
  break;
16961
17275
  }
16962
17276
  }
16963
- if (_errs411 === errors) {
17277
+ if (_errs420 === errors) {
16964
17278
  if (
16965
- data151.weight !==
17279
+ data153.weight !==
16966
17280
  undefined
16967
17281
  ) {
16968
- let data152 =
16969
- data151.weight;
16970
- const _errs412 =
17282
+ let data154 =
17283
+ data153.weight;
17284
+ const _errs421 =
16971
17285
  errors;
16972
17286
  if (
16973
17287
  !(
16974
- typeof data152 ==
17288
+ typeof data154 ==
16975
17289
  'number' &&
16976
17290
  isFinite(
16977
- data152
17291
+ data154
16978
17292
  )
16979
17293
  )
16980
17294
  ) {
@@ -16997,21 +17311,21 @@ function validate14(
16997
17311
  ];
16998
17312
  return false;
16999
17313
  }
17000
- var valid89 =
17001
- _errs412 ===
17314
+ var valid91 =
17315
+ _errs421 ===
17002
17316
  errors;
17003
17317
  } else {
17004
- var valid89 = true;
17318
+ var valid91 = true;
17005
17319
  }
17006
- if (valid89) {
17320
+ if (valid91) {
17007
17321
  if (
17008
- data151.caption !==
17322
+ data153.caption !==
17009
17323
  undefined
17010
17324
  ) {
17011
- const _errs414 =
17325
+ const _errs423 =
17012
17326
  errors;
17013
17327
  if (
17014
- typeof data151.caption !==
17328
+ typeof data153.caption !==
17015
17329
  'string'
17016
17330
  ) {
17017
17331
  validate14.errors =
@@ -17033,11 +17347,11 @@ function validate14(
17033
17347
  ];
17034
17348
  return false;
17035
17349
  }
17036
- var valid89 =
17037
- _errs414 ===
17350
+ var valid91 =
17351
+ _errs423 ===
17038
17352
  errors;
17039
17353
  } else {
17040
- var valid89 = true;
17354
+ var valid91 = true;
17041
17355
  }
17042
17356
  }
17043
17357
  }
@@ -17060,16 +17374,16 @@ function validate14(
17060
17374
  return false;
17061
17375
  }
17062
17376
  }
17063
- var valid88 = _errs409 === errors;
17377
+ var valid90 = _errs418 === errors;
17064
17378
  } else {
17065
- var valid88 = true;
17379
+ var valid90 = true;
17066
17380
  }
17067
- if (valid88) {
17381
+ if (valid90) {
17068
17382
  if (data.step !== undefined) {
17069
- let data154 = data.step;
17070
- const _errs416 = errors;
17383
+ let data156 = data.step;
17384
+ const _errs425 = errors;
17071
17385
  if (
17072
- typeof data154 !== 'string'
17386
+ typeof data156 !== 'string'
17073
17387
  ) {
17074
17388
  validate14.errors = [
17075
17389
  {
@@ -17088,7 +17402,7 @@ function validate14(
17088
17402
  ];
17089
17403
  return false;
17090
17404
  }
17091
- if ('writeFile' !== data154) {
17405
+ if ('writeFile' !== data156) {
17092
17406
  validate14.errors = [
17093
17407
  {
17094
17408
  instancePath:
@@ -17107,14 +17421,14 @@ function validate14(
17107
17421
  ];
17108
17422
  return false;
17109
17423
  }
17110
- var valid88 =
17111
- _errs416 === errors;
17424
+ var valid90 =
17425
+ _errs425 === errors;
17112
17426
  } else {
17113
- var valid88 = true;
17427
+ var valid90 = true;
17114
17428
  }
17115
- if (valid88) {
17429
+ if (valid90) {
17116
17430
  if (data.path !== undefined) {
17117
- const _errs418 = errors;
17431
+ const _errs427 = errors;
17118
17432
  if (
17119
17433
  typeof data.path !==
17120
17434
  'string'
@@ -17136,23 +17450,23 @@ function validate14(
17136
17450
  ];
17137
17451
  return false;
17138
17452
  }
17139
- var valid88 =
17140
- _errs418 === errors;
17453
+ var valid90 =
17454
+ _errs427 === errors;
17141
17455
  } else {
17142
- var valid88 = true;
17456
+ var valid90 = true;
17143
17457
  }
17144
- if (valid88) {
17458
+ if (valid90) {
17145
17459
  if (
17146
17460
  data.data !== undefined
17147
17461
  ) {
17148
- let data156 = data.data;
17149
- const _errs420 = errors;
17150
- const _errs421 = errors;
17151
- let valid90 = false;
17152
- const _errs422 = errors;
17462
+ let data158 = data.data;
17463
+ const _errs429 = errors;
17464
+ const _errs430 = errors;
17465
+ let valid92 = false;
17466
+ const _errs431 = errors;
17153
17467
  if (
17154
17468
  !validate12(
17155
- data156,
17469
+ data158,
17156
17470
  {
17157
17471
  instancePath:
17158
17472
  instancePath +
@@ -17174,18 +17488,18 @@ function validate14(
17174
17488
  errors =
17175
17489
  vErrors.length;
17176
17490
  }
17177
- var _valid2 =
17178
- _errs422 === errors;
17179
- valid90 =
17180
- valid90 || _valid2;
17181
- if (!valid90) {
17182
- const _errs423 =
17491
+ var _valid3 =
17492
+ _errs431 === errors;
17493
+ valid92 =
17494
+ valid92 || _valid3;
17495
+ if (!valid92) {
17496
+ const _errs432 =
17183
17497
  errors;
17184
17498
  if (
17185
- typeof data156 !==
17499
+ typeof data158 !==
17186
17500
  'string'
17187
17501
  ) {
17188
- const err2 = {
17502
+ const err9 = {
17189
17503
  instancePath:
17190
17504
  instancePath +
17191
17505
  '/data',
@@ -17204,60 +17518,60 @@ function validate14(
17204
17518
  null
17205
17519
  ) {
17206
17520
  vErrors = [
17207
- err2,
17521
+ err9,
17208
17522
  ];
17209
17523
  } else {
17210
17524
  vErrors.push(
17211
- err2
17525
+ err9
17212
17526
  );
17213
17527
  }
17214
17528
  errors++;
17215
17529
  }
17216
- var _valid2 =
17217
- _errs423 ===
17530
+ var _valid3 =
17531
+ _errs432 ===
17218
17532
  errors;
17219
- valid90 =
17220
- valid90 ||
17221
- _valid2;
17222
- if (!valid90) {
17223
- const _errs425 =
17533
+ valid92 =
17534
+ valid92 ||
17535
+ _valid3;
17536
+ if (!valid92) {
17537
+ const _errs434 =
17224
17538
  errors;
17225
17539
  if (
17226
17540
  errors ===
17227
- _errs425
17541
+ _errs434
17228
17542
  ) {
17229
17543
  if (
17230
- data156 &&
17231
- typeof data156 ==
17544
+ data158 &&
17545
+ typeof data158 ==
17232
17546
  'object' &&
17233
17547
  !Array.isArray(
17234
- data156
17548
+ data158
17235
17549
  )
17236
17550
  ) {
17237
- let missing27;
17551
+ let missing28;
17238
17552
  if (
17239
- (data156.BYTES_PER_ELEMENT ===
17553
+ (data158.BYTES_PER_ELEMENT ===
17240
17554
  undefined &&
17241
- (missing27 =
17555
+ (missing28 =
17242
17556
  'BYTES_PER_ELEMENT')) ||
17243
- (data156.buffer ===
17557
+ (data158.buffer ===
17244
17558
  undefined &&
17245
- (missing27 =
17559
+ (missing28 =
17246
17560
  'buffer')) ||
17247
- (data156.byteLength ===
17561
+ (data158.byteLength ===
17248
17562
  undefined &&
17249
- (missing27 =
17563
+ (missing28 =
17250
17564
  'byteLength')) ||
17251
- (data156.byteOffset ===
17565
+ (data158.byteOffset ===
17252
17566
  undefined &&
17253
- (missing27 =
17567
+ (missing28 =
17254
17568
  'byteOffset')) ||
17255
- (data156.length ===
17569
+ (data158.length ===
17256
17570
  undefined &&
17257
- (missing27 =
17571
+ (missing28 =
17258
17572
  'length'))
17259
17573
  ) {
17260
- const err3 =
17574
+ const err10 =
17261
17575
  {
17262
17576
  instancePath:
17263
17577
  instancePath +
@@ -17268,11 +17582,11 @@ function validate14(
17268
17582
  'required',
17269
17583
  params: {
17270
17584
  missingProperty:
17271
- missing27,
17585
+ missing28,
17272
17586
  },
17273
17587
  message:
17274
17588
  "must have required property '" +
17275
- missing27 +
17589
+ missing28 +
17276
17590
  "'",
17277
17591
  };
17278
17592
  if (
@@ -17281,53 +17595,53 @@ function validate14(
17281
17595
  ) {
17282
17596
  vErrors =
17283
17597
  [
17284
- err3,
17598
+ err10,
17285
17599
  ];
17286
17600
  } else {
17287
17601
  vErrors.push(
17288
- err3
17602
+ err10
17289
17603
  );
17290
17604
  }
17291
17605
  errors++;
17292
17606
  } else {
17293
- const _errs427 =
17607
+ const _errs436 =
17294
17608
  errors;
17295
- for (const key58 in data156) {
17609
+ for (const key59 in data158) {
17296
17610
  if (
17297
17611
  !(
17298
- key58 ===
17612
+ key59 ===
17299
17613
  'BYTES_PER_ELEMENT' ||
17300
- key58 ===
17614
+ key59 ===
17301
17615
  'buffer' ||
17302
- key58 ===
17616
+ key59 ===
17303
17617
  'byteLength' ||
17304
- key58 ===
17618
+ key59 ===
17305
17619
  'byteOffset' ||
17306
- key58 ===
17620
+ key59 ===
17307
17621
  'length'
17308
17622
  )
17309
17623
  ) {
17310
- let data157 =
17311
- data156[
17312
- key58
17624
+ let data159 =
17625
+ data158[
17626
+ key59
17313
17627
  ];
17314
- const _errs428 =
17628
+ const _errs437 =
17315
17629
  errors;
17316
17630
  if (
17317
17631
  !(
17318
- typeof data157 ==
17632
+ typeof data159 ==
17319
17633
  'number' &&
17320
17634
  isFinite(
17321
- data157
17635
+ data159
17322
17636
  )
17323
17637
  )
17324
17638
  ) {
17325
- const err4 =
17639
+ const err11 =
17326
17640
  {
17327
17641
  instancePath:
17328
17642
  instancePath +
17329
17643
  '/data/' +
17330
- key58
17644
+ key59
17331
17645
  .replace(
17332
17646
  /~/g,
17333
17647
  '~0'
@@ -17352,47 +17666,47 @@ function validate14(
17352
17666
  ) {
17353
17667
  vErrors =
17354
17668
  [
17355
- err4,
17669
+ err11,
17356
17670
  ];
17357
17671
  } else {
17358
17672
  vErrors.push(
17359
- err4
17673
+ err11
17360
17674
  );
17361
17675
  }
17362
17676
  errors++;
17363
17677
  }
17364
- var valid91 =
17365
- _errs428 ===
17678
+ var valid93 =
17679
+ _errs437 ===
17366
17680
  errors;
17367
17681
  if (
17368
- !valid91
17682
+ !valid93
17369
17683
  ) {
17370
17684
  break;
17371
17685
  }
17372
17686
  }
17373
17687
  }
17374
17688
  if (
17375
- _errs427 ===
17689
+ _errs436 ===
17376
17690
  errors
17377
17691
  ) {
17378
17692
  if (
17379
- data156.BYTES_PER_ELEMENT !==
17693
+ data158.BYTES_PER_ELEMENT !==
17380
17694
  undefined
17381
17695
  ) {
17382
- let data158 =
17383
- data156.BYTES_PER_ELEMENT;
17384
- const _errs430 =
17696
+ let data160 =
17697
+ data158.BYTES_PER_ELEMENT;
17698
+ const _errs439 =
17385
17699
  errors;
17386
17700
  if (
17387
17701
  !(
17388
- typeof data158 ==
17702
+ typeof data160 ==
17389
17703
  'number' &&
17390
17704
  isFinite(
17391
- data158
17705
+ data160
17392
17706
  )
17393
17707
  )
17394
17708
  ) {
17395
- const err5 =
17709
+ const err12 =
17396
17710
  {
17397
17711
  instancePath:
17398
17712
  instancePath +
@@ -17413,52 +17727,52 @@ function validate14(
17413
17727
  ) {
17414
17728
  vErrors =
17415
17729
  [
17416
- err5,
17730
+ err12,
17417
17731
  ];
17418
17732
  } else {
17419
17733
  vErrors.push(
17420
- err5
17734
+ err12
17421
17735
  );
17422
17736
  }
17423
17737
  errors++;
17424
17738
  }
17425
- var valid92 =
17426
- _errs430 ===
17739
+ var valid94 =
17740
+ _errs439 ===
17427
17741
  errors;
17428
17742
  } else {
17429
- var valid92 = true;
17743
+ var valid94 = true;
17430
17744
  }
17431
17745
  if (
17432
- valid92
17746
+ valid94
17433
17747
  ) {
17434
17748
  if (
17435
- data156.buffer !==
17749
+ data158.buffer !==
17436
17750
  undefined
17437
17751
  ) {
17438
- let data159 =
17439
- data156.buffer;
17440
- const _errs432 =
17752
+ let data161 =
17753
+ data158.buffer;
17754
+ const _errs441 =
17441
17755
  errors;
17442
17756
  if (
17443
17757
  errors ===
17444
- _errs432
17758
+ _errs441
17445
17759
  ) {
17446
17760
  if (
17447
- data159 &&
17448
- typeof data159 ==
17761
+ data161 &&
17762
+ typeof data161 ==
17449
17763
  'object' &&
17450
17764
  !Array.isArray(
17451
- data159
17765
+ data161
17452
17766
  )
17453
17767
  ) {
17454
- let missing28;
17768
+ let missing29;
17455
17769
  if (
17456
- data159.byteLength ===
17770
+ data161.byteLength ===
17457
17771
  undefined &&
17458
- (missing28 =
17772
+ (missing29 =
17459
17773
  'byteLength')
17460
17774
  ) {
17461
- const err6 =
17775
+ const err13 =
17462
17776
  {
17463
17777
  instancePath:
17464
17778
  instancePath +
@@ -17469,11 +17783,11 @@ function validate14(
17469
17783
  'required',
17470
17784
  params: {
17471
17785
  missingProperty:
17472
- missing28,
17786
+ missing29,
17473
17787
  },
17474
17788
  message:
17475
17789
  "must have required property '" +
17476
- missing28 +
17790
+ missing29 +
17477
17791
  "'",
17478
17792
  };
17479
17793
  if (
@@ -17482,25 +17796,25 @@ function validate14(
17482
17796
  ) {
17483
17797
  vErrors =
17484
17798
  [
17485
- err6,
17799
+ err13,
17486
17800
  ];
17487
17801
  } else {
17488
17802
  vErrors.push(
17489
- err6
17803
+ err13
17490
17804
  );
17491
17805
  }
17492
17806
  errors++;
17493
17807
  } else {
17494
- const _errs434 =
17808
+ const _errs443 =
17495
17809
  errors;
17496
- for (const key59 in data159) {
17810
+ for (const key60 in data161) {
17497
17811
  if (
17498
17812
  !(
17499
- key59 ===
17813
+ key60 ===
17500
17814
  'byteLength'
17501
17815
  )
17502
17816
  ) {
17503
- const err7 =
17817
+ const err14 =
17504
17818
  {
17505
17819
  instancePath:
17506
17820
  instancePath +
@@ -17511,7 +17825,7 @@ function validate14(
17511
17825
  'additionalProperties',
17512
17826
  params: {
17513
17827
  additionalProperty:
17514
- key59,
17828
+ key60,
17515
17829
  },
17516
17830
  message:
17517
17831
  'must NOT have additional properties',
@@ -17522,11 +17836,11 @@ function validate14(
17522
17836
  ) {
17523
17837
  vErrors =
17524
17838
  [
17525
- err7,
17839
+ err14,
17526
17840
  ];
17527
17841
  } else {
17528
17842
  vErrors.push(
17529
- err7
17843
+ err14
17530
17844
  );
17531
17845
  }
17532
17846
  errors++;
@@ -17534,25 +17848,25 @@ function validate14(
17534
17848
  }
17535
17849
  }
17536
17850
  if (
17537
- _errs434 ===
17851
+ _errs443 ===
17538
17852
  errors
17539
17853
  ) {
17540
17854
  if (
17541
- data159.byteLength !==
17855
+ data161.byteLength !==
17542
17856
  undefined
17543
17857
  ) {
17544
- let data160 =
17545
- data159.byteLength;
17858
+ let data162 =
17859
+ data161.byteLength;
17546
17860
  if (
17547
17861
  !(
17548
- typeof data160 ==
17862
+ typeof data162 ==
17549
17863
  'number' &&
17550
17864
  isFinite(
17551
- data160
17865
+ data162
17552
17866
  )
17553
17867
  )
17554
17868
  ) {
17555
- const err8 =
17869
+ const err15 =
17556
17870
  {
17557
17871
  instancePath:
17558
17872
  instancePath +
@@ -17573,11 +17887,11 @@ function validate14(
17573
17887
  ) {
17574
17888
  vErrors =
17575
17889
  [
17576
- err8,
17890
+ err15,
17577
17891
  ];
17578
17892
  } else {
17579
17893
  vErrors.push(
17580
- err8
17894
+ err15
17581
17895
  );
17582
17896
  }
17583
17897
  errors++;
@@ -17586,7 +17900,7 @@ function validate14(
17586
17900
  }
17587
17901
  }
17588
17902
  } else {
17589
- const err9 =
17903
+ const err16 =
17590
17904
  {
17591
17905
  instancePath:
17592
17906
  instancePath +
@@ -17607,43 +17921,43 @@ function validate14(
17607
17921
  ) {
17608
17922
  vErrors =
17609
17923
  [
17610
- err9,
17924
+ err16,
17611
17925
  ];
17612
17926
  } else {
17613
17927
  vErrors.push(
17614
- err9
17928
+ err16
17615
17929
  );
17616
17930
  }
17617
17931
  errors++;
17618
17932
  }
17619
17933
  }
17620
- var valid92 =
17621
- _errs432 ===
17934
+ var valid94 =
17935
+ _errs441 ===
17622
17936
  errors;
17623
17937
  } else {
17624
- var valid92 = true;
17938
+ var valid94 = true;
17625
17939
  }
17626
17940
  if (
17627
- valid92
17941
+ valid94
17628
17942
  ) {
17629
17943
  if (
17630
- data156.byteLength !==
17944
+ data158.byteLength !==
17631
17945
  undefined
17632
17946
  ) {
17633
- let data161 =
17634
- data156.byteLength;
17635
- const _errs437 =
17947
+ let data163 =
17948
+ data158.byteLength;
17949
+ const _errs446 =
17636
17950
  errors;
17637
17951
  if (
17638
17952
  !(
17639
- typeof data161 ==
17953
+ typeof data163 ==
17640
17954
  'number' &&
17641
17955
  isFinite(
17642
- data161
17956
+ data163
17643
17957
  )
17644
17958
  )
17645
17959
  ) {
17646
- const err10 =
17960
+ const err17 =
17647
17961
  {
17648
17962
  instancePath:
17649
17963
  instancePath +
@@ -17664,42 +17978,42 @@ function validate14(
17664
17978
  ) {
17665
17979
  vErrors =
17666
17980
  [
17667
- err10,
17981
+ err17,
17668
17982
  ];
17669
17983
  } else {
17670
17984
  vErrors.push(
17671
- err10
17985
+ err17
17672
17986
  );
17673
17987
  }
17674
17988
  errors++;
17675
17989
  }
17676
- var valid92 =
17677
- _errs437 ===
17990
+ var valid94 =
17991
+ _errs446 ===
17678
17992
  errors;
17679
17993
  } else {
17680
- var valid92 = true;
17994
+ var valid94 = true;
17681
17995
  }
17682
17996
  if (
17683
- valid92
17997
+ valid94
17684
17998
  ) {
17685
17999
  if (
17686
- data156.byteOffset !==
18000
+ data158.byteOffset !==
17687
18001
  undefined
17688
18002
  ) {
17689
- let data162 =
17690
- data156.byteOffset;
17691
- const _errs439 =
18003
+ let data164 =
18004
+ data158.byteOffset;
18005
+ const _errs448 =
17692
18006
  errors;
17693
18007
  if (
17694
18008
  !(
17695
- typeof data162 ==
18009
+ typeof data164 ==
17696
18010
  'number' &&
17697
18011
  isFinite(
17698
- data162
18012
+ data164
17699
18013
  )
17700
18014
  )
17701
18015
  ) {
17702
- const err11 =
18016
+ const err18 =
17703
18017
  {
17704
18018
  instancePath:
17705
18019
  instancePath +
@@ -17720,42 +18034,42 @@ function validate14(
17720
18034
  ) {
17721
18035
  vErrors =
17722
18036
  [
17723
- err11,
18037
+ err18,
17724
18038
  ];
17725
18039
  } else {
17726
18040
  vErrors.push(
17727
- err11
18041
+ err18
17728
18042
  );
17729
18043
  }
17730
18044
  errors++;
17731
18045
  }
17732
- var valid92 =
17733
- _errs439 ===
18046
+ var valid94 =
18047
+ _errs448 ===
17734
18048
  errors;
17735
18049
  } else {
17736
- var valid92 = true;
18050
+ var valid94 = true;
17737
18051
  }
17738
18052
  if (
17739
- valid92
18053
+ valid94
17740
18054
  ) {
17741
18055
  if (
17742
- data156.length !==
18056
+ data158.length !==
17743
18057
  undefined
17744
18058
  ) {
17745
- let data163 =
17746
- data156.length;
17747
- const _errs441 =
18059
+ let data165 =
18060
+ data158.length;
18061
+ const _errs450 =
17748
18062
  errors;
17749
18063
  if (
17750
18064
  !(
17751
- typeof data163 ==
18065
+ typeof data165 ==
17752
18066
  'number' &&
17753
18067
  isFinite(
17754
- data163
18068
+ data165
17755
18069
  )
17756
18070
  )
17757
18071
  ) {
17758
- const err12 =
18072
+ const err19 =
17759
18073
  {
17760
18074
  instancePath:
17761
18075
  instancePath +
@@ -17776,20 +18090,20 @@ function validate14(
17776
18090
  ) {
17777
18091
  vErrors =
17778
18092
  [
17779
- err12,
18093
+ err19,
17780
18094
  ];
17781
18095
  } else {
17782
18096
  vErrors.push(
17783
- err12
18097
+ err19
17784
18098
  );
17785
18099
  }
17786
18100
  errors++;
17787
18101
  }
17788
- var valid92 =
17789
- _errs441 ===
18102
+ var valid94 =
18103
+ _errs450 ===
17790
18104
  errors;
17791
18105
  } else {
17792
- var valid92 = true;
18106
+ var valid94 = true;
17793
18107
  }
17794
18108
  }
17795
18109
  }
@@ -17798,7 +18112,7 @@ function validate14(
17798
18112
  }
17799
18113
  }
17800
18114
  } else {
17801
- const err13 =
18115
+ const err20 =
17802
18116
  {
17803
18117
  instancePath:
17804
18118
  instancePath +
@@ -17819,26 +18133,26 @@ function validate14(
17819
18133
  ) {
17820
18134
  vErrors =
17821
18135
  [
17822
- err13,
18136
+ err20,
17823
18137
  ];
17824
18138
  } else {
17825
18139
  vErrors.push(
17826
- err13
18140
+ err20
17827
18141
  );
17828
18142
  }
17829
18143
  errors++;
17830
18144
  }
17831
18145
  }
17832
- var _valid2 =
17833
- _errs425 ===
18146
+ var _valid3 =
18147
+ _errs434 ===
17834
18148
  errors;
17835
- valid90 =
17836
- valid90 ||
17837
- _valid2;
18149
+ valid92 =
18150
+ valid92 ||
18151
+ _valid3;
17838
18152
  }
17839
18153
  }
17840
- if (!valid90) {
17841
- const err14 = {
18154
+ if (!valid92) {
18155
+ const err21 = {
17842
18156
  instancePath:
17843
18157
  instancePath +
17844
18158
  '/data',
@@ -17854,11 +18168,11 @@ function validate14(
17854
18168
  vErrors === null
17855
18169
  ) {
17856
18170
  vErrors = [
17857
- err14,
18171
+ err21,
17858
18172
  ];
17859
18173
  } else {
17860
18174
  vErrors.push(
17861
- err14
18175
+ err21
17862
18176
  );
17863
18177
  }
17864
18178
  errors++;
@@ -17866,23 +18180,23 @@ function validate14(
17866
18180
  vErrors;
17867
18181
  return false;
17868
18182
  } else {
17869
- errors = _errs421;
18183
+ errors = _errs430;
17870
18184
  if (
17871
18185
  vErrors !== null
17872
18186
  ) {
17873
- if (_errs421) {
18187
+ if (_errs430) {
17874
18188
  vErrors.length =
17875
- _errs421;
18189
+ _errs430;
17876
18190
  } else {
17877
18191
  vErrors =
17878
18192
  null;
17879
18193
  }
17880
18194
  }
17881
18195
  }
17882
- var valid88 =
17883
- _errs420 === errors;
18196
+ var valid90 =
18197
+ _errs429 === errors;
17884
18198
  } else {
17885
- var valid88 = true;
18199
+ var valid90 = true;
17886
18200
  }
17887
18201
  }
17888
18202
  }
@@ -17903,21 +18217,21 @@ function validate14(
17903
18217
  }
17904
18218
  }
17905
18219
  } else if (tag0 === 'writeFiles') {
17906
- const _errs443 = errors;
17907
- if (errors === _errs443) {
18220
+ const _errs452 = errors;
18221
+ if (errors === _errs452) {
17908
18222
  if (
17909
18223
  data &&
17910
18224
  typeof data == 'object' &&
17911
18225
  !Array.isArray(data)
17912
18226
  ) {
17913
- let missing29;
18227
+ let missing30;
17914
18228
  if (
17915
18229
  (data.filesTree === undefined &&
17916
- (missing29 = 'filesTree')) ||
18230
+ (missing30 = 'filesTree')) ||
17917
18231
  (data.step === undefined &&
17918
- (missing29 = 'step')) ||
18232
+ (missing30 = 'step')) ||
17919
18233
  (data.writeToPath === undefined &&
17920
- (missing29 = 'writeToPath'))
18234
+ (missing30 = 'writeToPath'))
17921
18235
  ) {
17922
18236
  validate14.errors = [
17923
18237
  {
@@ -17925,24 +18239,24 @@ function validate14(
17925
18239
  schemaPath: '#/oneOf/26/required',
17926
18240
  keyword: 'required',
17927
18241
  params: {
17928
- missingProperty: missing29,
18242
+ missingProperty: missing30,
17929
18243
  },
17930
18244
  message:
17931
18245
  "must have required property '" +
17932
- missing29 +
18246
+ missing30 +
17933
18247
  "'",
17934
18248
  },
17935
18249
  ];
17936
18250
  return false;
17937
18251
  } else {
17938
- const _errs445 = errors;
17939
- for (const key60 in data) {
18252
+ const _errs454 = errors;
18253
+ for (const key61 in data) {
17940
18254
  if (
17941
18255
  !(
17942
- key60 === 'progress' ||
17943
- key60 === 'step' ||
17944
- key60 === 'writeToPath' ||
17945
- key60 === 'filesTree'
18256
+ key61 === 'progress' ||
18257
+ key61 === 'step' ||
18258
+ key61 === 'writeToPath' ||
18259
+ key61 === 'filesTree'
17946
18260
  )
17947
18261
  ) {
17948
18262
  validate14.errors = [
@@ -17954,7 +18268,7 @@ function validate14(
17954
18268
  'additionalProperties',
17955
18269
  params: {
17956
18270
  additionalProperty:
17957
- key60,
18271
+ key61,
17958
18272
  },
17959
18273
  message:
17960
18274
  'must NOT have additional properties',
@@ -17964,24 +18278,24 @@ function validate14(
17964
18278
  break;
17965
18279
  }
17966
18280
  }
17967
- if (_errs445 === errors) {
18281
+ if (_errs454 === errors) {
17968
18282
  if (data.progress !== undefined) {
17969
- let data164 = data.progress;
17970
- const _errs446 = errors;
17971
- if (errors === _errs446) {
18283
+ let data166 = data.progress;
18284
+ const _errs455 = errors;
18285
+ if (errors === _errs455) {
17972
18286
  if (
17973
- data164 &&
17974
- typeof data164 ==
18287
+ data166 &&
18288
+ typeof data166 ==
17975
18289
  'object' &&
17976
- !Array.isArray(data164)
18290
+ !Array.isArray(data166)
17977
18291
  ) {
17978
- const _errs448 = errors;
17979
- for (const key61 in data164) {
18292
+ const _errs457 = errors;
18293
+ for (const key62 in data166) {
17980
18294
  if (
17981
18295
  !(
17982
- key61 ===
18296
+ key62 ===
17983
18297
  'weight' ||
17984
- key61 ===
18298
+ key62 ===
17985
18299
  'caption'
17986
18300
  )
17987
18301
  ) {
@@ -17997,7 +18311,7 @@ function validate14(
17997
18311
  'additionalProperties',
17998
18312
  params: {
17999
18313
  additionalProperty:
18000
- key61,
18314
+ key62,
18001
18315
  },
18002
18316
  message:
18003
18317
  'must NOT have additional properties',
@@ -18007,21 +18321,21 @@ function validate14(
18007
18321
  break;
18008
18322
  }
18009
18323
  }
18010
- if (_errs448 === errors) {
18324
+ if (_errs457 === errors) {
18011
18325
  if (
18012
- data164.weight !==
18326
+ data166.weight !==
18013
18327
  undefined
18014
18328
  ) {
18015
- let data165 =
18016
- data164.weight;
18017
- const _errs449 =
18329
+ let data167 =
18330
+ data166.weight;
18331
+ const _errs458 =
18018
18332
  errors;
18019
18333
  if (
18020
18334
  !(
18021
- typeof data165 ==
18335
+ typeof data167 ==
18022
18336
  'number' &&
18023
18337
  isFinite(
18024
- data165
18338
+ data167
18025
18339
  )
18026
18340
  )
18027
18341
  ) {
@@ -18044,21 +18358,21 @@ function validate14(
18044
18358
  ];
18045
18359
  return false;
18046
18360
  }
18047
- var valid96 =
18048
- _errs449 ===
18361
+ var valid98 =
18362
+ _errs458 ===
18049
18363
  errors;
18050
18364
  } else {
18051
- var valid96 = true;
18365
+ var valid98 = true;
18052
18366
  }
18053
- if (valid96) {
18367
+ if (valid98) {
18054
18368
  if (
18055
- data164.caption !==
18369
+ data166.caption !==
18056
18370
  undefined
18057
18371
  ) {
18058
- const _errs451 =
18372
+ const _errs460 =
18059
18373
  errors;
18060
18374
  if (
18061
- typeof data164.caption !==
18375
+ typeof data166.caption !==
18062
18376
  'string'
18063
18377
  ) {
18064
18378
  validate14.errors =
@@ -18080,11 +18394,11 @@ function validate14(
18080
18394
  ];
18081
18395
  return false;
18082
18396
  }
18083
- var valid96 =
18084
- _errs451 ===
18397
+ var valid98 =
18398
+ _errs460 ===
18085
18399
  errors;
18086
18400
  } else {
18087
- var valid96 = true;
18401
+ var valid98 = true;
18088
18402
  }
18089
18403
  }
18090
18404
  }
@@ -18107,16 +18421,16 @@ function validate14(
18107
18421
  return false;
18108
18422
  }
18109
18423
  }
18110
- var valid95 = _errs446 === errors;
18424
+ var valid97 = _errs455 === errors;
18111
18425
  } else {
18112
- var valid95 = true;
18426
+ var valid97 = true;
18113
18427
  }
18114
- if (valid95) {
18428
+ if (valid97) {
18115
18429
  if (data.step !== undefined) {
18116
- let data167 = data.step;
18117
- const _errs453 = errors;
18430
+ let data169 = data.step;
18431
+ const _errs462 = errors;
18118
18432
  if (
18119
- typeof data167 !== 'string'
18433
+ typeof data169 !== 'string'
18120
18434
  ) {
18121
18435
  validate14.errors = [
18122
18436
  {
@@ -18135,7 +18449,7 @@ function validate14(
18135
18449
  ];
18136
18450
  return false;
18137
18451
  }
18138
- if ('writeFiles' !== data167) {
18452
+ if ('writeFiles' !== data169) {
18139
18453
  validate14.errors = [
18140
18454
  {
18141
18455
  instancePath:
@@ -18154,17 +18468,17 @@ function validate14(
18154
18468
  ];
18155
18469
  return false;
18156
18470
  }
18157
- var valid95 =
18158
- _errs453 === errors;
18471
+ var valid97 =
18472
+ _errs462 === errors;
18159
18473
  } else {
18160
- var valid95 = true;
18474
+ var valid97 = true;
18161
18475
  }
18162
- if (valid95) {
18476
+ if (valid97) {
18163
18477
  if (
18164
18478
  data.writeToPath !==
18165
18479
  undefined
18166
18480
  ) {
18167
- const _errs455 = errors;
18481
+ const _errs464 = errors;
18168
18482
  if (
18169
18483
  typeof data.writeToPath !==
18170
18484
  'string'
@@ -18186,17 +18500,17 @@ function validate14(
18186
18500
  ];
18187
18501
  return false;
18188
18502
  }
18189
- var valid95 =
18190
- _errs455 === errors;
18503
+ var valid97 =
18504
+ _errs464 === errors;
18191
18505
  } else {
18192
- var valid95 = true;
18506
+ var valid97 = true;
18193
18507
  }
18194
- if (valid95) {
18508
+ if (valid97) {
18195
18509
  if (
18196
18510
  data.filesTree !==
18197
18511
  undefined
18198
18512
  ) {
18199
- const _errs457 = errors;
18513
+ const _errs466 = errors;
18200
18514
  if (
18201
18515
  !validate18(
18202
18516
  data.filesTree,
@@ -18221,10 +18535,10 @@ function validate14(
18221
18535
  errors =
18222
18536
  vErrors.length;
18223
18537
  }
18224
- var valid95 =
18225
- _errs457 === errors;
18538
+ var valid97 =
18539
+ _errs466 === errors;
18226
18540
  } else {
18227
- var valid95 = true;
18541
+ var valid97 = true;
18228
18542
  }
18229
18543
  }
18230
18544
  }
@@ -18245,19 +18559,19 @@ function validate14(
18245
18559
  }
18246
18560
  }
18247
18561
  } else if (tag0 === 'wp-cli') {
18248
- const _errs458 = errors;
18249
- if (errors === _errs458) {
18562
+ const _errs467 = errors;
18563
+ if (errors === _errs467) {
18250
18564
  if (
18251
18565
  data &&
18252
18566
  typeof data == 'object' &&
18253
18567
  !Array.isArray(data)
18254
18568
  ) {
18255
- let missing30;
18569
+ let missing31;
18256
18570
  if (
18257
18571
  (data.command === undefined &&
18258
- (missing30 = 'command')) ||
18572
+ (missing31 = 'command')) ||
18259
18573
  (data.step === undefined &&
18260
- (missing30 = 'step'))
18574
+ (missing31 = 'step'))
18261
18575
  ) {
18262
18576
  validate14.errors = [
18263
18577
  {
@@ -18265,24 +18579,24 @@ function validate14(
18265
18579
  schemaPath: '#/oneOf/27/required',
18266
18580
  keyword: 'required',
18267
18581
  params: {
18268
- missingProperty: missing30,
18582
+ missingProperty: missing31,
18269
18583
  },
18270
18584
  message:
18271
18585
  "must have required property '" +
18272
- missing30 +
18586
+ missing31 +
18273
18587
  "'",
18274
18588
  },
18275
18589
  ];
18276
18590
  return false;
18277
18591
  } else {
18278
- const _errs460 = errors;
18279
- for (const key62 in data) {
18592
+ const _errs469 = errors;
18593
+ for (const key63 in data) {
18280
18594
  if (
18281
18595
  !(
18282
- key62 === 'progress' ||
18283
- key62 === 'step' ||
18284
- key62 === 'command' ||
18285
- key62 === 'wpCliPath'
18596
+ key63 === 'progress' ||
18597
+ key63 === 'step' ||
18598
+ key63 === 'command' ||
18599
+ key63 === 'wpCliPath'
18286
18600
  )
18287
18601
  ) {
18288
18602
  validate14.errors = [
@@ -18294,7 +18608,7 @@ function validate14(
18294
18608
  'additionalProperties',
18295
18609
  params: {
18296
18610
  additionalProperty:
18297
- key62,
18611
+ key63,
18298
18612
  },
18299
18613
  message:
18300
18614
  'must NOT have additional properties',
@@ -18304,24 +18618,24 @@ function validate14(
18304
18618
  break;
18305
18619
  }
18306
18620
  }
18307
- if (_errs460 === errors) {
18621
+ if (_errs469 === errors) {
18308
18622
  if (data.progress !== undefined) {
18309
- let data170 = data.progress;
18310
- const _errs461 = errors;
18311
- if (errors === _errs461) {
18623
+ let data172 = data.progress;
18624
+ const _errs470 = errors;
18625
+ if (errors === _errs470) {
18312
18626
  if (
18313
- data170 &&
18314
- typeof data170 ==
18627
+ data172 &&
18628
+ typeof data172 ==
18315
18629
  'object' &&
18316
- !Array.isArray(data170)
18630
+ !Array.isArray(data172)
18317
18631
  ) {
18318
- const _errs463 = errors;
18319
- for (const key63 in data170) {
18632
+ const _errs472 = errors;
18633
+ for (const key64 in data172) {
18320
18634
  if (
18321
18635
  !(
18322
- key63 ===
18636
+ key64 ===
18323
18637
  'weight' ||
18324
- key63 ===
18638
+ key64 ===
18325
18639
  'caption'
18326
18640
  )
18327
18641
  ) {
@@ -18337,7 +18651,7 @@ function validate14(
18337
18651
  'additionalProperties',
18338
18652
  params: {
18339
18653
  additionalProperty:
18340
- key63,
18654
+ key64,
18341
18655
  },
18342
18656
  message:
18343
18657
  'must NOT have additional properties',
@@ -18347,21 +18661,21 @@ function validate14(
18347
18661
  break;
18348
18662
  }
18349
18663
  }
18350
- if (_errs463 === errors) {
18664
+ if (_errs472 === errors) {
18351
18665
  if (
18352
- data170.weight !==
18666
+ data172.weight !==
18353
18667
  undefined
18354
18668
  ) {
18355
- let data171 =
18356
- data170.weight;
18357
- const _errs464 =
18669
+ let data173 =
18670
+ data172.weight;
18671
+ const _errs473 =
18358
18672
  errors;
18359
18673
  if (
18360
18674
  !(
18361
- typeof data171 ==
18675
+ typeof data173 ==
18362
18676
  'number' &&
18363
18677
  isFinite(
18364
- data171
18678
+ data173
18365
18679
  )
18366
18680
  )
18367
18681
  ) {
@@ -18384,21 +18698,21 @@ function validate14(
18384
18698
  ];
18385
18699
  return false;
18386
18700
  }
18387
- var valid99 =
18388
- _errs464 ===
18701
+ var valid101 =
18702
+ _errs473 ===
18389
18703
  errors;
18390
18704
  } else {
18391
- var valid99 = true;
18705
+ var valid101 = true;
18392
18706
  }
18393
- if (valid99) {
18707
+ if (valid101) {
18394
18708
  if (
18395
- data170.caption !==
18709
+ data172.caption !==
18396
18710
  undefined
18397
18711
  ) {
18398
- const _errs466 =
18712
+ const _errs475 =
18399
18713
  errors;
18400
18714
  if (
18401
- typeof data170.caption !==
18715
+ typeof data172.caption !==
18402
18716
  'string'
18403
18717
  ) {
18404
18718
  validate14.errors =
@@ -18420,11 +18734,11 @@ function validate14(
18420
18734
  ];
18421
18735
  return false;
18422
18736
  }
18423
- var valid99 =
18424
- _errs466 ===
18737
+ var valid101 =
18738
+ _errs475 ===
18425
18739
  errors;
18426
18740
  } else {
18427
- var valid99 = true;
18741
+ var valid101 = true;
18428
18742
  }
18429
18743
  }
18430
18744
  }
@@ -18447,16 +18761,16 @@ function validate14(
18447
18761
  return false;
18448
18762
  }
18449
18763
  }
18450
- var valid98 = _errs461 === errors;
18764
+ var valid100 = _errs470 === errors;
18451
18765
  } else {
18452
- var valid98 = true;
18766
+ var valid100 = true;
18453
18767
  }
18454
- if (valid98) {
18768
+ if (valid100) {
18455
18769
  if (data.step !== undefined) {
18456
- let data173 = data.step;
18457
- const _errs468 = errors;
18770
+ let data175 = data.step;
18771
+ const _errs477 = errors;
18458
18772
  if (
18459
- typeof data173 !== 'string'
18773
+ typeof data175 !== 'string'
18460
18774
  ) {
18461
18775
  validate14.errors = [
18462
18776
  {
@@ -18475,7 +18789,7 @@ function validate14(
18475
18789
  ];
18476
18790
  return false;
18477
18791
  }
18478
- if ('wp-cli' !== data173) {
18792
+ if ('wp-cli' !== data175) {
18479
18793
  validate14.errors = [
18480
18794
  {
18481
18795
  instancePath:
@@ -18494,25 +18808,25 @@ function validate14(
18494
18808
  ];
18495
18809
  return false;
18496
18810
  }
18497
- var valid98 =
18498
- _errs468 === errors;
18811
+ var valid100 =
18812
+ _errs477 === errors;
18499
18813
  } else {
18500
- var valid98 = true;
18814
+ var valid100 = true;
18501
18815
  }
18502
- if (valid98) {
18816
+ if (valid100) {
18503
18817
  if (
18504
18818
  data.command !== undefined
18505
18819
  ) {
18506
- let data174 = data.command;
18507
- const _errs470 = errors;
18508
- const _errs471 = errors;
18509
- let valid100 = false;
18510
- const _errs472 = errors;
18820
+ let data176 = data.command;
18821
+ const _errs479 = errors;
18822
+ const _errs480 = errors;
18823
+ let valid102 = false;
18824
+ const _errs481 = errors;
18511
18825
  if (
18512
- typeof data174 !==
18826
+ typeof data176 !==
18513
18827
  'string'
18514
18828
  ) {
18515
- const err15 = {
18829
+ const err22 = {
18516
18830
  instancePath:
18517
18831
  instancePath +
18518
18832
  '/command',
@@ -18526,43 +18840,43 @@ function validate14(
18526
18840
  'must be string',
18527
18841
  };
18528
18842
  if (vErrors === null) {
18529
- vErrors = [err15];
18843
+ vErrors = [err22];
18530
18844
  } else {
18531
- vErrors.push(err15);
18845
+ vErrors.push(err22);
18532
18846
  }
18533
18847
  errors++;
18534
18848
  }
18535
- var _valid3 =
18536
- _errs472 === errors;
18537
- valid100 =
18538
- valid100 || _valid3;
18539
- if (!valid100) {
18540
- const _errs474 = errors;
18849
+ var _valid4 =
18850
+ _errs481 === errors;
18851
+ valid102 =
18852
+ valid102 || _valid4;
18853
+ if (!valid102) {
18854
+ const _errs483 = errors;
18541
18855
  if (
18542
- errors === _errs474
18856
+ errors === _errs483
18543
18857
  ) {
18544
18858
  if (
18545
18859
  Array.isArray(
18546
- data174
18860
+ data176
18547
18861
  )
18548
18862
  ) {
18549
- var valid101 = true;
18863
+ var valid103 = true;
18550
18864
  const len0 =
18551
- data174.length;
18865
+ data176.length;
18552
18866
  for (
18553
18867
  let i0 = 0;
18554
18868
  i0 < len0;
18555
18869
  i0++
18556
18870
  ) {
18557
- const _errs476 =
18871
+ const _errs485 =
18558
18872
  errors;
18559
18873
  if (
18560
- typeof data174[
18874
+ typeof data176[
18561
18875
  i0
18562
18876
  ] !==
18563
18877
  'string'
18564
18878
  ) {
18565
- const err16 =
18879
+ const err23 =
18566
18880
  {
18567
18881
  instancePath:
18568
18882
  instancePath +
@@ -18584,26 +18898,26 @@ function validate14(
18584
18898
  ) {
18585
18899
  vErrors =
18586
18900
  [
18587
- err16,
18901
+ err23,
18588
18902
  ];
18589
18903
  } else {
18590
18904
  vErrors.push(
18591
- err16
18905
+ err23
18592
18906
  );
18593
18907
  }
18594
18908
  errors++;
18595
18909
  }
18596
- var valid101 =
18597
- _errs476 ===
18910
+ var valid103 =
18911
+ _errs485 ===
18598
18912
  errors;
18599
18913
  if (
18600
- !valid101
18914
+ !valid103
18601
18915
  ) {
18602
18916
  break;
18603
18917
  }
18604
18918
  }
18605
18919
  } else {
18606
- const err17 = {
18920
+ const err24 = {
18607
18921
  instancePath:
18608
18922
  instancePath +
18609
18923
  '/command',
@@ -18622,23 +18936,23 @@ function validate14(
18622
18936
  null
18623
18937
  ) {
18624
18938
  vErrors = [
18625
- err17,
18939
+ err24,
18626
18940
  ];
18627
18941
  } else {
18628
18942
  vErrors.push(
18629
- err17
18943
+ err24
18630
18944
  );
18631
18945
  }
18632
18946
  errors++;
18633
18947
  }
18634
18948
  }
18635
- var _valid3 =
18636
- _errs474 === errors;
18637
- valid100 =
18638
- valid100 || _valid3;
18949
+ var _valid4 =
18950
+ _errs483 === errors;
18951
+ valid102 =
18952
+ valid102 || _valid4;
18639
18953
  }
18640
- if (!valid100) {
18641
- const err18 = {
18954
+ if (!valid102) {
18955
+ const err25 = {
18642
18956
  instancePath:
18643
18957
  instancePath +
18644
18958
  '/command',
@@ -18650,36 +18964,36 @@ function validate14(
18650
18964
  'must match a schema in anyOf',
18651
18965
  };
18652
18966
  if (vErrors === null) {
18653
- vErrors = [err18];
18967
+ vErrors = [err25];
18654
18968
  } else {
18655
- vErrors.push(err18);
18969
+ vErrors.push(err25);
18656
18970
  }
18657
18971
  errors++;
18658
18972
  validate14.errors =
18659
18973
  vErrors;
18660
18974
  return false;
18661
18975
  } else {
18662
- errors = _errs471;
18976
+ errors = _errs480;
18663
18977
  if (vErrors !== null) {
18664
- if (_errs471) {
18978
+ if (_errs480) {
18665
18979
  vErrors.length =
18666
- _errs471;
18980
+ _errs480;
18667
18981
  } else {
18668
18982
  vErrors = null;
18669
18983
  }
18670
18984
  }
18671
18985
  }
18672
- var valid98 =
18673
- _errs470 === errors;
18986
+ var valid100 =
18987
+ _errs479 === errors;
18674
18988
  } else {
18675
- var valid98 = true;
18989
+ var valid100 = true;
18676
18990
  }
18677
- if (valid98) {
18991
+ if (valid100) {
18678
18992
  if (
18679
18993
  data.wpCliPath !==
18680
18994
  undefined
18681
18995
  ) {
18682
- const _errs478 = errors;
18996
+ const _errs487 = errors;
18683
18997
  if (
18684
18998
  typeof data.wpCliPath !==
18685
18999
  'string'
@@ -18703,10 +19017,10 @@ function validate14(
18703
19017
  ];
18704
19018
  return false;
18705
19019
  }
18706
- var valid98 =
18707
- _errs478 === errors;
19020
+ var valid100 =
19021
+ _errs487 === errors;
18708
19022
  } else {
18709
- var valid98 = true;
19023
+ var valid100 = true;
18710
19024
  }
18711
19025
  }
18712
19026
  }
@@ -18727,19 +19041,19 @@ function validate14(
18727
19041
  }
18728
19042
  }
18729
19043
  } else if (tag0 === 'setSiteLanguage') {
18730
- const _errs480 = errors;
18731
- if (errors === _errs480) {
19044
+ const _errs489 = errors;
19045
+ if (errors === _errs489) {
18732
19046
  if (
18733
19047
  data &&
18734
19048
  typeof data == 'object' &&
18735
19049
  !Array.isArray(data)
18736
19050
  ) {
18737
- let missing31;
19051
+ let missing32;
18738
19052
  if (
18739
19053
  (data.language === undefined &&
18740
- (missing31 = 'language')) ||
19054
+ (missing32 = 'language')) ||
18741
19055
  (data.step === undefined &&
18742
- (missing31 = 'step'))
19056
+ (missing32 = 'step'))
18743
19057
  ) {
18744
19058
  validate14.errors = [
18745
19059
  {
@@ -18747,23 +19061,23 @@ function validate14(
18747
19061
  schemaPath: '#/oneOf/28/required',
18748
19062
  keyword: 'required',
18749
19063
  params: {
18750
- missingProperty: missing31,
19064
+ missingProperty: missing32,
18751
19065
  },
18752
19066
  message:
18753
19067
  "must have required property '" +
18754
- missing31 +
19068
+ missing32 +
18755
19069
  "'",
18756
19070
  },
18757
19071
  ];
18758
19072
  return false;
18759
19073
  } else {
18760
- const _errs482 = errors;
18761
- for (const key64 in data) {
19074
+ const _errs491 = errors;
19075
+ for (const key65 in data) {
18762
19076
  if (
18763
19077
  !(
18764
- key64 === 'progress' ||
18765
- key64 === 'step' ||
18766
- key64 === 'language'
19078
+ key65 === 'progress' ||
19079
+ key65 === 'step' ||
19080
+ key65 === 'language'
18767
19081
  )
18768
19082
  ) {
18769
19083
  validate14.errors = [
@@ -18775,7 +19089,7 @@ function validate14(
18775
19089
  'additionalProperties',
18776
19090
  params: {
18777
19091
  additionalProperty:
18778
- key64,
19092
+ key65,
18779
19093
  },
18780
19094
  message:
18781
19095
  'must NOT have additional properties',
@@ -18785,24 +19099,24 @@ function validate14(
18785
19099
  break;
18786
19100
  }
18787
19101
  }
18788
- if (_errs482 === errors) {
19102
+ if (_errs491 === errors) {
18789
19103
  if (data.progress !== undefined) {
18790
- let data177 = data.progress;
18791
- const _errs483 = errors;
18792
- if (errors === _errs483) {
19104
+ let data179 = data.progress;
19105
+ const _errs492 = errors;
19106
+ if (errors === _errs492) {
18793
19107
  if (
18794
- data177 &&
18795
- typeof data177 ==
19108
+ data179 &&
19109
+ typeof data179 ==
18796
19110
  'object' &&
18797
- !Array.isArray(data177)
19111
+ !Array.isArray(data179)
18798
19112
  ) {
18799
- const _errs485 = errors;
18800
- for (const key65 in data177) {
19113
+ const _errs494 = errors;
19114
+ for (const key66 in data179) {
18801
19115
  if (
18802
19116
  !(
18803
- key65 ===
19117
+ key66 ===
18804
19118
  'weight' ||
18805
- key65 ===
19119
+ key66 ===
18806
19120
  'caption'
18807
19121
  )
18808
19122
  ) {
@@ -18818,7 +19132,7 @@ function validate14(
18818
19132
  'additionalProperties',
18819
19133
  params: {
18820
19134
  additionalProperty:
18821
- key65,
19135
+ key66,
18822
19136
  },
18823
19137
  message:
18824
19138
  'must NOT have additional properties',
@@ -18828,21 +19142,21 @@ function validate14(
18828
19142
  break;
18829
19143
  }
18830
19144
  }
18831
- if (_errs485 === errors) {
19145
+ if (_errs494 === errors) {
18832
19146
  if (
18833
- data177.weight !==
19147
+ data179.weight !==
18834
19148
  undefined
18835
19149
  ) {
18836
- let data178 =
18837
- data177.weight;
18838
- const _errs486 =
19150
+ let data180 =
19151
+ data179.weight;
19152
+ const _errs495 =
18839
19153
  errors;
18840
19154
  if (
18841
19155
  !(
18842
- typeof data178 ==
19156
+ typeof data180 ==
18843
19157
  'number' &&
18844
19158
  isFinite(
18845
- data178
19159
+ data180
18846
19160
  )
18847
19161
  )
18848
19162
  ) {
@@ -18865,21 +19179,21 @@ function validate14(
18865
19179
  ];
18866
19180
  return false;
18867
19181
  }
18868
- var valid104 =
18869
- _errs486 ===
19182
+ var valid106 =
19183
+ _errs495 ===
18870
19184
  errors;
18871
19185
  } else {
18872
- var valid104 = true;
19186
+ var valid106 = true;
18873
19187
  }
18874
- if (valid104) {
19188
+ if (valid106) {
18875
19189
  if (
18876
- data177.caption !==
19190
+ data179.caption !==
18877
19191
  undefined
18878
19192
  ) {
18879
- const _errs488 =
19193
+ const _errs497 =
18880
19194
  errors;
18881
19195
  if (
18882
- typeof data177.caption !==
19196
+ typeof data179.caption !==
18883
19197
  'string'
18884
19198
  ) {
18885
19199
  validate14.errors =
@@ -18901,11 +19215,11 @@ function validate14(
18901
19215
  ];
18902
19216
  return false;
18903
19217
  }
18904
- var valid104 =
18905
- _errs488 ===
19218
+ var valid106 =
19219
+ _errs497 ===
18906
19220
  errors;
18907
19221
  } else {
18908
- var valid104 = true;
19222
+ var valid106 = true;
18909
19223
  }
18910
19224
  }
18911
19225
  }
@@ -18928,16 +19242,16 @@ function validate14(
18928
19242
  return false;
18929
19243
  }
18930
19244
  }
18931
- var valid103 = _errs483 === errors;
19245
+ var valid105 = _errs492 === errors;
18932
19246
  } else {
18933
- var valid103 = true;
19247
+ var valid105 = true;
18934
19248
  }
18935
- if (valid103) {
19249
+ if (valid105) {
18936
19250
  if (data.step !== undefined) {
18937
- let data180 = data.step;
18938
- const _errs490 = errors;
19251
+ let data182 = data.step;
19252
+ const _errs499 = errors;
18939
19253
  if (
18940
- typeof data180 !== 'string'
19254
+ typeof data182 !== 'string'
18941
19255
  ) {
18942
19256
  validate14.errors = [
18943
19257
  {
@@ -18958,7 +19272,7 @@ function validate14(
18958
19272
  }
18959
19273
  if (
18960
19274
  'setSiteLanguage' !==
18961
- data180
19275
+ data182
18962
19276
  ) {
18963
19277
  validate14.errors = [
18964
19278
  {
@@ -18978,16 +19292,16 @@ function validate14(
18978
19292
  ];
18979
19293
  return false;
18980
19294
  }
18981
- var valid103 =
18982
- _errs490 === errors;
19295
+ var valid105 =
19296
+ _errs499 === errors;
18983
19297
  } else {
18984
- var valid103 = true;
19298
+ var valid105 = true;
18985
19299
  }
18986
- if (valid103) {
19300
+ if (valid105) {
18987
19301
  if (
18988
19302
  data.language !== undefined
18989
19303
  ) {
18990
- const _errs492 = errors;
19304
+ const _errs501 = errors;
18991
19305
  if (
18992
19306
  typeof data.language !==
18993
19307
  'string'
@@ -19009,10 +19323,10 @@ function validate14(
19009
19323
  ];
19010
19324
  return false;
19011
19325
  }
19012
- var valid103 =
19013
- _errs492 === errors;
19326
+ var valid105 =
19327
+ _errs501 === errors;
19014
19328
  } else {
19015
- var valid103 = true;
19329
+ var valid105 = true;
19016
19330
  }
19017
19331
  }
19018
19332
  }