d5-testing-library 1.9.0-alpha.27 → 1.9.0-alpha.29

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.
@@ -245,7 +245,7 @@ var init_actions = __esm({
245
245
  });
246
246
 
247
247
  // src/utils/locators.ts
248
- var import_selenium_webdriver2, byTestIdCssSelector, byTestId, readonlyLocator;
248
+ var import_selenium_webdriver2, byTestIdCssSelector, byTestId, readonlyLocator, disabledLocator;
249
249
  var init_locators = __esm({
250
250
  "src/utils/locators.ts"() {
251
251
  "use strict";
@@ -257,6 +257,7 @@ var init_locators = __esm({
257
257
  return import_selenium_webdriver2.By.css(byTestIdCssSelector(testId, element));
258
258
  };
259
259
  readonlyLocator = "readonly";
260
+ disabledLocator = "disabled";
260
261
  }
261
262
  });
262
263
 
@@ -310,6 +311,10 @@ var init_AbstractElementWithParent = __esm({
310
311
  const classSting = await this.getClasses();
311
312
  return classSting.includes(readonlyLocator);
312
313
  }
314
+ async isDisabled() {
315
+ const classSting = await this.getClasses();
316
+ return classSting.includes(disabledLocator);
317
+ }
313
318
  };
314
319
  }
315
320
  });
@@ -2238,6 +2243,16 @@ var init_AbstractEditor2 = __esm({
2238
2243
  await this.initEditor();
2239
2244
  return this.editor.isReadonly();
2240
2245
  }
2246
+ /**
2247
+ * Возвращает значение true|false в зависимости isDisabled поле или нет
2248
+ * @example
2249
+ * expect(await formEdit.field('NumberFld').isDisabled()).toBe(true);
2250
+ * expect(await formEdit.field('TextFld').isDisabled()).toBe(false);
2251
+ */
2252
+ async isDisabled() {
2253
+ await this.initEditor();
2254
+ return this.editor.isDisabled();
2255
+ }
2241
2256
  /**
2242
2257
  * Возвращает значение true|false в зависимости isDisplayed поле или нет
2243
2258
  * @example
@@ -2712,16 +2727,18 @@ var init_Table = __esm({
2712
2727
  });
2713
2728
 
2714
2729
  // src/pageObjects/elements/TableToolbar/ToolbarButton.ts
2715
- var import_selenium_webdriver27, TOOLBAR_BUTTON_CLASS, TOOLBAR_BUTTON_TEXT_CLASS, getToolbarButtonSelector, getToolbarButtonTextSelector, ToolbarButton;
2730
+ var import_selenium_webdriver27, TOOLBAR_BUTTON_CLASS, TOOLBAR_BUTTON_TEXT_CLASS, getToolbarButtonSelector, getToolbarButtonTextSelector, getToolbarButtonTextByTestIdSelector, ToolbarButton;
2716
2731
  var init_ToolbarButton = __esm({
2717
2732
  "src/pageObjects/elements/TableToolbar/ToolbarButton.ts"() {
2718
2733
  "use strict";
2719
2734
  import_selenium_webdriver27 = require("selenium-webdriver");
2720
2735
  init_AbstractButton();
2736
+ init_locators();
2721
2737
  TOOLBAR_BUTTON_CLASS = "toolbar-button";
2722
2738
  TOOLBAR_BUTTON_TEXT_CLASS = "dx-button-text";
2723
2739
  getToolbarButtonSelector = (name) => `#${TOOLBAR_BUTTON_CLASS}-${name}`;
2724
2740
  getToolbarButtonTextSelector = (name) => `${getToolbarButtonSelector(name)} .${TOOLBAR_BUTTON_TEXT_CLASS}`;
2741
+ getToolbarButtonTextByTestIdSelector = (testId) => `${byTestIdCssSelector(testId)} .${TOOLBAR_BUTTON_TEXT_CLASS}`;
2725
2742
  ToolbarButton = class extends AbstractButton {
2726
2743
  name;
2727
2744
  constructor(parentCssSelector, name, driver) {
@@ -2762,7 +2779,8 @@ var init_ToolbarGroupButton = __esm({
2762
2779
  }
2763
2780
  async getTitle() {
2764
2781
  try {
2765
- const buttonTextContainer = await this.driver.findElement(import_selenium_webdriver28.By.css(getToolbarButtonTextSelector(this.name)));
2782
+ const buttonTestId = await this.getDataTestId();
2783
+ const buttonTextContainer = await this.driver.findElement(import_selenium_webdriver28.By.css(getToolbarButtonTextByTestIdSelector(buttonTestId)));
2766
2784
  return await buttonTextContainer.getText();
2767
2785
  } catch (_) {
2768
2786
  return null;
@@ -3219,6 +3237,12 @@ var init_FormFilterField = __esm({
3219
3237
  const filterOperation = await this.initOperation();
3220
3238
  return await filterOperation.getIsBlank();
3221
3239
  }
3240
+ async isReadonly() {
3241
+ return super.isReadonly();
3242
+ }
3243
+ async isDisabled() {
3244
+ return super.isDisabled();
3245
+ }
3222
3246
  };
3223
3247
  }
3224
3248
  });
@@ -3327,6 +3351,12 @@ var init_PanelFilterField = __esm({
3327
3351
  const filterOperation = await this.initOperation();
3328
3352
  return await filterOperation.getIsBlank();
3329
3353
  }
3354
+ async isReadonly() {
3355
+ return super.isReadonly();
3356
+ }
3357
+ async isDisabled() {
3358
+ return super.isDisabled();
3359
+ }
3330
3360
  };
3331
3361
  }
3332
3362
  });
@@ -3415,6 +3445,12 @@ var init_HeaderFilterField = __esm({
3415
3445
  async remove(itemText) {
3416
3446
  return super.remove(itemText);
3417
3447
  }
3448
+ async isReadonly() {
3449
+ return super.isReadonly();
3450
+ }
3451
+ async isDisabled() {
3452
+ return super.isDisabled();
3453
+ }
3418
3454
  };
3419
3455
  }
3420
3456
  });
@@ -3596,6 +3632,18 @@ var init_ColumnFilter = __esm({
3596
3632
  const filterOperation = await this.initOperation();
3597
3633
  return await filterOperation.getIsBlank();
3598
3634
  }
3635
+ async isReadonly() {
3636
+ const filter = await this.initFilter();
3637
+ const result = await filter.isReadonly();
3638
+ await this.cancel();
3639
+ return result;
3640
+ }
3641
+ async isDisabled() {
3642
+ const filter = await this.initFilter();
3643
+ const result = await filter.isDisabled();
3644
+ await this.cancel();
3645
+ return result;
3646
+ }
3599
3647
  };
3600
3648
  }
3601
3649
  });
@@ -3964,9 +4012,9 @@ var require_d5lib = __commonJS({
3964
4012
  var i2 = n2(5912), o = n2(7651);
3965
4013
  e2.exports = function(e3, a3, n3, t) {
3966
4014
  var s = n3.keyedList ? n3.keyedList[n3.index] : n3.index;
3967
- n3.jobs[s] = function(e4, a4, n4, o2) {
4015
+ n3.jobs[s] = (function(e4, a4, n4, o2) {
3968
4016
  return 2 == e4.length ? e4(n4, i2(o2)) : e4(n4, a4, i2(o2));
3969
- }(a3, s, e3[s], function(e4, a4) {
4017
+ })(a3, s, e3[s], function(e4, a4) {
3970
4018
  s in n3.jobs && (delete n3.jobs[s], e4 ? o(n3) : n3.results[s] = a4, t(e4, n3.results));
3971
4019
  });
3972
4020
  };
@@ -4228,12 +4276,12 @@ var require_d5lib = __commonJS({
4228
4276
  if ("undefined" != typeof navigator && navigator.userAgent && navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)) return false;
4229
4277
  let e3;
4230
4278
  return "undefined" != typeof document && document.documentElement && document.documentElement.style && document.documentElement.style.WebkitAppearance || "undefined" != typeof window && window.console && (window.console.firebug || window.console.exception && window.console.table) || "undefined" != typeof navigator && navigator.userAgent && (e3 = navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)) && parseInt(e3[1], 10) >= 31 || "undefined" != typeof navigator && navigator.userAgent && navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/);
4231
- }, a2.storage = function() {
4279
+ }, a2.storage = (function() {
4232
4280
  try {
4233
4281
  return localStorage;
4234
4282
  } catch (e3) {
4235
4283
  }
4236
- }(), a2.destroy = /* @__PURE__ */ (() => {
4284
+ })(), a2.destroy = /* @__PURE__ */ (() => {
4237
4285
  let e3 = false;
4238
4286
  return () => {
4239
4287
  e3 || (e3 = true, console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."));
@@ -4589,13 +4637,13 @@ var require_d5lib = __commonJS({
4589
4637
  for (var o2 of (i3._redirectable = this, x)) i3.on(o2, h[o2]);
4590
4638
  if (this._currentUrl = /^\//.test(this._options.path) ? s.format(this._options) : this._options.path, this._isRedirect) {
4591
4639
  var t2 = 0, r2 = this, c2 = this._requestBodyBuffers;
4592
- !function e4(a4) {
4640
+ !(function e4(a4) {
4593
4641
  if (i3 === r2._currentRequest) if (a4) r2.emit("error", a4);
4594
4642
  else if (t2 < c2.length) {
4595
4643
  var n4 = c2[t2++];
4596
4644
  i3.finished || i3.write(n4.data, n4.encoding, e4);
4597
4645
  } else r2._ended && i3.end();
4598
- }();
4646
+ })();
4599
4647
  }
4600
4648
  }, j.prototype._processResponse = function(e3) {
4601
4649
  var a3 = e3.statusCode;
@@ -4608,11 +4656,11 @@ var require_d5lib = __commonJS({
4608
4656
  var t2 = this._options.method;
4609
4657
  ((301 === a3 || 302 === a3) && "POST" === this._options.method || 303 === a3 && !/^(?:GET|HEAD)$/.test(this._options.method)) && (this._options.method = "GET", this._requestBodyBuffers = [], S(/^content-/i, this._options.headers));
4610
4658
  var c2, p2, l2 = S(/^host$/i, this._options.headers), f2 = O(this._currentUrl), x2 = l2 || f2.host, h2 = /^\w+:/.test(i3) ? this._currentUrl : s.format(Object.assign(f2, { host: x2 })), v2 = (c2 = i3, p2 = h2, d ? new r(c2, p2) : O(s.resolve(p2, c2)));
4611
- if (m("redirecting to", v2.href), this._isRedirect = true, C(v2, this._options), (v2.protocol !== f2.protocol && "https:" !== v2.protocol || v2.host !== x2 && !function(e4, a4) {
4659
+ if (m("redirecting to", v2.href), this._isRedirect = true, C(v2, this._options), (v2.protocol !== f2.protocol && "https:" !== v2.protocol || v2.host !== x2 && !(function(e4, a4) {
4612
4660
  u(F(e4) && F(a4));
4613
4661
  var n4 = e4.length - a4.length - 1;
4614
4662
  return n4 > 0 && "." === e4[n4] && e4.endsWith(a4);
4615
- }(v2.host, x2)) && S(/^(?:(?:proxy-)?authorization|cookie)$/i, this._options.headers), P(o2)) {
4663
+ })(v2.host, x2)) && S(/^(?:(?:proxy-)?authorization|cookie)$/i, this._options.headers), P(o2)) {
4616
4664
  var b2 = { headers: e3.headers, statusCode: a3 }, y2 = { url: h2, method: t2, headers: n3 };
4617
4665
  o2(this._options, b2, y2), this._sanitizeOptions(this._options);
4618
4666
  }
@@ -4719,14 +4767,14 @@ var require_d5lib = __commonJS({
4719
4767
  e2.exports = function(e3) {
4720
4768
  var o = this;
4721
4769
  if ("function" != typeof o || "[object Function]" !== a2.apply(o)) throw new TypeError("Function.prototype.bind called on incompatible " + o);
4722
- for (var t, s = function(e4) {
4770
+ for (var t, s = (function(e4) {
4723
4771
  for (var a3 = [], n3 = 1, i3 = 0; n3 < e4.length; n3 += 1, i3 += 1) a3[i3] = e4[n3];
4724
4772
  return a3;
4725
- }(arguments), r = n2(0, o.length - s.length), c = [], p = 0; p < r; p++) c[p] = "$" + p;
4726
- if (t = Function("binder", "return function (" + function(e4) {
4773
+ })(arguments), r = n2(0, o.length - s.length), c = [], p = 0; p < r; p++) c[p] = "$" + p;
4774
+ if (t = Function("binder", "return function (" + (function(e4) {
4727
4775
  for (var a3 = "", n3 = 0; n3 < e4.length; n3 += 1) a3 += e4[n3], n3 + 1 < e4.length && (a3 += ",");
4728
4776
  return a3;
4729
- }(c) + "){ return binder.apply(this,arguments); }")(function() {
4777
+ })(c) + "){ return binder.apply(this,arguments); }")(function() {
4730
4778
  if (this instanceof t) {
4731
4779
  var a3 = o.apply(this, i2(s, arguments));
4732
4780
  return Object(a3) === a3 ? a3 : this;
@@ -4752,7 +4800,7 @@ var require_d5lib = __commonJS({
4752
4800
  }
4753
4801
  }, w = n2(7296), _ = n2(4429), j = function() {
4754
4802
  throw new l();
4755
- }, k = w ? function() {
4803
+ }, k = w ? (function() {
4756
4804
  try {
4757
4805
  return j;
4758
4806
  } catch (e3) {
@@ -4762,7 +4810,7 @@ var require_d5lib = __commonJS({
4762
4810
  return j;
4763
4811
  }
4764
4812
  }
4765
- }() : j, E = n2(1405)(), O = n2(1618), R = n2(8899), C = n2(443), S = n2(1768), A = n2(8928), T = {}, F = "undefined" != typeof Uint8Array && O ? O(Uint8Array) : i2, P = { __proto__: null, "%AggregateError%": "undefined" == typeof AggregateError ? i2 : AggregateError, "%Array%": Array, "%ArrayBuffer%": "undefined" == typeof ArrayBuffer ? i2 : ArrayBuffer, "%ArrayIteratorPrototype%": E && O ? O([][Symbol.iterator]()) : i2, "%AsyncFromSyncIteratorPrototype%": i2, "%AsyncFunction%": T, "%AsyncGenerator%": T, "%AsyncGeneratorFunction%": T, "%AsyncIteratorPrototype%": T, "%Atomics%": "undefined" == typeof Atomics ? i2 : Atomics, "%BigInt%": "undefined" == typeof BigInt ? i2 : BigInt, "%BigInt64Array%": "undefined" == typeof BigInt64Array ? i2 : BigInt64Array, "%BigUint64Array%": "undefined" == typeof BigUint64Array ? i2 : BigUint64Array, "%Boolean%": Boolean, "%DataView%": "undefined" == typeof DataView ? i2 : DataView, "%Date%": Date, "%decodeURI%": decodeURI, "%decodeURIComponent%": decodeURIComponent, "%encodeURI%": encodeURI, "%encodeURIComponent%": encodeURIComponent, "%Error%": t, "%eval%": eval, "%EvalError%": s, "%Float16Array%": "undefined" == typeof Float16Array ? i2 : Float16Array, "%Float32Array%": "undefined" == typeof Float32Array ? i2 : Float32Array, "%Float64Array%": "undefined" == typeof Float64Array ? i2 : Float64Array, "%FinalizationRegistry%": "undefined" == typeof FinalizationRegistry ? i2 : FinalizationRegistry, "%Function%": g, "%GeneratorFunction%": T, "%Int8Array%": "undefined" == typeof Int8Array ? i2 : Int8Array, "%Int16Array%": "undefined" == typeof Int16Array ? i2 : Int16Array, "%Int32Array%": "undefined" == typeof Int32Array ? i2 : Int32Array, "%isFinite%": isFinite, "%isNaN%": isNaN, "%IteratorPrototype%": E && O ? O(O([][Symbol.iterator]())) : i2, "%JSON%": "object" == typeof JSON ? JSON : i2, "%Map%": "undefined" == typeof Map ? i2 : Map, "%MapIteratorPrototype%": "undefined" != typeof Map && E && O ? O((/* @__PURE__ */ new Map())[Symbol.iterator]()) : i2, "%Math%": Math, "%Number%": Number, "%Object%": o, "%Object.getOwnPropertyDescriptor%": w, "%parseFloat%": parseFloat, "%parseInt%": parseInt, "%Promise%": "undefined" == typeof Promise ? i2 : Promise, "%Proxy%": "undefined" == typeof Proxy ? i2 : Proxy, "%RangeError%": r, "%ReferenceError%": c, "%Reflect%": "undefined" == typeof Reflect ? i2 : Reflect, "%RegExp%": RegExp, "%Set%": "undefined" == typeof Set ? i2 : Set, "%SetIteratorPrototype%": "undefined" != typeof Set && E && O ? O((/* @__PURE__ */ new Set())[Symbol.iterator]()) : i2, "%SharedArrayBuffer%": "undefined" == typeof SharedArrayBuffer ? i2 : SharedArrayBuffer, "%String%": String, "%StringIteratorPrototype%": E && O ? O(""[Symbol.iterator]()) : i2, "%Symbol%": E ? Symbol : i2, "%SyntaxError%": p, "%ThrowTypeError%": k, "%TypedArray%": F, "%TypeError%": l, "%Uint8Array%": "undefined" == typeof Uint8Array ? i2 : Uint8Array, "%Uint8ClampedArray%": "undefined" == typeof Uint8ClampedArray ? i2 : Uint8ClampedArray, "%Uint16Array%": "undefined" == typeof Uint16Array ? i2 : Uint16Array, "%Uint32Array%": "undefined" == typeof Uint32Array ? i2 : Uint32Array, "%URIError%": u, "%WeakMap%": "undefined" == typeof WeakMap ? i2 : WeakMap, "%WeakRef%": "undefined" == typeof WeakRef ? i2 : WeakRef, "%WeakSet%": "undefined" == typeof WeakSet ? i2 : WeakSet, "%Function.prototype.call%": A, "%Function.prototype.apply%": S, "%Object.defineProperty%": _, "%Object.getPrototypeOf%": R, "%Math.abs%": m, "%Math.floor%": d, "%Math.max%": f, "%Math.min%": x, "%Math.pow%": h, "%Math.round%": v, "%Math.sign%": b, "%Reflect.getPrototypeOf%": C };
4813
+ })() : j, E = n2(1405)(), O = n2(1618), R = n2(8899), C = n2(443), S = n2(1768), A = n2(8928), T = {}, F = "undefined" != typeof Uint8Array && O ? O(Uint8Array) : i2, P = { __proto__: null, "%AggregateError%": "undefined" == typeof AggregateError ? i2 : AggregateError, "%Array%": Array, "%ArrayBuffer%": "undefined" == typeof ArrayBuffer ? i2 : ArrayBuffer, "%ArrayIteratorPrototype%": E && O ? O([][Symbol.iterator]()) : i2, "%AsyncFromSyncIteratorPrototype%": i2, "%AsyncFunction%": T, "%AsyncGenerator%": T, "%AsyncGeneratorFunction%": T, "%AsyncIteratorPrototype%": T, "%Atomics%": "undefined" == typeof Atomics ? i2 : Atomics, "%BigInt%": "undefined" == typeof BigInt ? i2 : BigInt, "%BigInt64Array%": "undefined" == typeof BigInt64Array ? i2 : BigInt64Array, "%BigUint64Array%": "undefined" == typeof BigUint64Array ? i2 : BigUint64Array, "%Boolean%": Boolean, "%DataView%": "undefined" == typeof DataView ? i2 : DataView, "%Date%": Date, "%decodeURI%": decodeURI, "%decodeURIComponent%": decodeURIComponent, "%encodeURI%": encodeURI, "%encodeURIComponent%": encodeURIComponent, "%Error%": t, "%eval%": eval, "%EvalError%": s, "%Float16Array%": "undefined" == typeof Float16Array ? i2 : Float16Array, "%Float32Array%": "undefined" == typeof Float32Array ? i2 : Float32Array, "%Float64Array%": "undefined" == typeof Float64Array ? i2 : Float64Array, "%FinalizationRegistry%": "undefined" == typeof FinalizationRegistry ? i2 : FinalizationRegistry, "%Function%": g, "%GeneratorFunction%": T, "%Int8Array%": "undefined" == typeof Int8Array ? i2 : Int8Array, "%Int16Array%": "undefined" == typeof Int16Array ? i2 : Int16Array, "%Int32Array%": "undefined" == typeof Int32Array ? i2 : Int32Array, "%isFinite%": isFinite, "%isNaN%": isNaN, "%IteratorPrototype%": E && O ? O(O([][Symbol.iterator]())) : i2, "%JSON%": "object" == typeof JSON ? JSON : i2, "%Map%": "undefined" == typeof Map ? i2 : Map, "%MapIteratorPrototype%": "undefined" != typeof Map && E && O ? O((/* @__PURE__ */ new Map())[Symbol.iterator]()) : i2, "%Math%": Math, "%Number%": Number, "%Object%": o, "%Object.getOwnPropertyDescriptor%": w, "%parseFloat%": parseFloat, "%parseInt%": parseInt, "%Promise%": "undefined" == typeof Promise ? i2 : Promise, "%Proxy%": "undefined" == typeof Proxy ? i2 : Proxy, "%RangeError%": r, "%ReferenceError%": c, "%Reflect%": "undefined" == typeof Reflect ? i2 : Reflect, "%RegExp%": RegExp, "%Set%": "undefined" == typeof Set ? i2 : Set, "%SetIteratorPrototype%": "undefined" != typeof Set && E && O ? O((/* @__PURE__ */ new Set())[Symbol.iterator]()) : i2, "%SharedArrayBuffer%": "undefined" == typeof SharedArrayBuffer ? i2 : SharedArrayBuffer, "%String%": String, "%StringIteratorPrototype%": E && O ? O(""[Symbol.iterator]()) : i2, "%Symbol%": E ? Symbol : i2, "%SyntaxError%": p, "%ThrowTypeError%": k, "%TypedArray%": F, "%TypeError%": l, "%Uint8Array%": "undefined" == typeof Uint8Array ? i2 : Uint8Array, "%Uint8ClampedArray%": "undefined" == typeof Uint8ClampedArray ? i2 : Uint8ClampedArray, "%Uint16Array%": "undefined" == typeof Uint16Array ? i2 : Uint16Array, "%Uint32Array%": "undefined" == typeof Uint32Array ? i2 : Uint32Array, "%URIError%": u, "%WeakMap%": "undefined" == typeof WeakMap ? i2 : WeakMap, "%WeakRef%": "undefined" == typeof WeakRef ? i2 : WeakRef, "%WeakSet%": "undefined" == typeof WeakSet ? i2 : WeakSet, "%Function.prototype.call%": A, "%Function.prototype.apply%": S, "%Object.defineProperty%": _, "%Object.getPrototypeOf%": R, "%Math.abs%": m, "%Math.floor%": d, "%Math.max%": f, "%Math.min%": x, "%Math.pow%": h, "%Math.round%": v, "%Math.sign%": b, "%Reflect.getPrototypeOf%": C };
4766
4814
  if (O) try {
4767
4815
  null.error;
4768
4816
  } catch (e3) {
@@ -4795,7 +4843,7 @@ var require_d5lib = __commonJS({
4795
4843
  if ("string" != typeof e3 || 0 === e3.length) throw new l("intrinsic name must be a non-empty string");
4796
4844
  if (arguments.length > 1 && "boolean" != typeof a3) throw new l('"allowMissing" argument must be a boolean');
4797
4845
  if (null === H(/^%?[^%]*%?$/, e3)) throw new p("`%` may not be present anywhere but at the beginning and end of the intrinsic name");
4798
- var n3 = function(e4) {
4846
+ var n3 = (function(e4) {
4799
4847
  var a4 = M(e4, 0, 1), n4 = M(e4, -1);
4800
4848
  if ("%" === a4 && "%" !== n4) throw new p("invalid intrinsic syntax, expected closing `%`");
4801
4849
  if ("%" === n4 && "%" !== a4) throw new p("invalid intrinsic syntax, expected opening `%`");
@@ -4803,7 +4851,7 @@ var require_d5lib = __commonJS({
4803
4851
  return D(e4, G, function(e5, a5, n5, o3) {
4804
4852
  i4[i4.length] = n5 ? D(o3, K, "$1") : a5 || e5;
4805
4853
  }), i4;
4806
- }(e3), i3 = n3.length > 0 ? n3[0] : "", o2 = W("%" + i3 + "%", a3), t2 = o2.name, s2 = o2.value, r2 = false, c2 = o2.alias;
4854
+ })(e3), i3 = n3.length > 0 ? n3[0] : "", o2 = W("%" + i3 + "%", a3), t2 = o2.name, s2 = o2.value, r2 = false, c2 = o2.alias;
4807
4855
  c2 && (i3 = c2[0], I(n3, U([0, 1], c2)));
4808
4856
  for (var u2 = 1, m2 = true; u2 < n3.length; u2 += 1) {
4809
4857
  var d2 = n3[u2], f2 = M(d2, 0, 1), x2 = M(d2, -1);
@@ -4975,7 +5023,7 @@ var require_d5lib = __commonJS({
4975
5023
  e2.exports = function(e3, r) {
4976
5024
  r = r || {};
4977
5025
  var c, p, l = typeof e3;
4978
- if ("string" === l && e3.length > 0) return function(e4) {
5026
+ if ("string" === l && e3.length > 0) return (function(e4) {
4979
5027
  if (!((e4 = String(e4)).length > 100)) {
4980
5028
  var s2 = /^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e4);
4981
5029
  if (s2) {
@@ -5024,11 +5072,11 @@ var require_d5lib = __commonJS({
5024
5072
  }
5025
5073
  }
5026
5074
  }
5027
- }(e3);
5028
- if ("number" === l && isFinite(e3)) return r.long ? (c = e3, (p = Math.abs(c)) >= o ? s(c, p, o, "day") : p >= i2 ? s(c, p, i2, "hour") : p >= n2 ? s(c, p, n2, "minute") : p >= a2 ? s(c, p, a2, "second") : c + " ms") : function(e4) {
5075
+ })(e3);
5076
+ if ("number" === l && isFinite(e3)) return r.long ? (c = e3, (p = Math.abs(c)) >= o ? s(c, p, o, "day") : p >= i2 ? s(c, p, i2, "hour") : p >= n2 ? s(c, p, n2, "minute") : p >= a2 ? s(c, p, a2, "second") : c + " ms") : (function(e4) {
5029
5077
  var t2 = Math.abs(e4);
5030
5078
  return t2 >= o ? Math.round(e4 / o) + "d" : t2 >= i2 ? Math.round(e4 / i2) + "h" : t2 >= n2 ? Math.round(e4 / n2) + "m" : t2 >= a2 ? Math.round(e4 / a2) + "s" : e4 + "ms";
5031
- }(e3);
5079
+ })(e3);
5032
5080
  throw new Error("val is not a non-empty string or a valid number. val=" + JSON.stringify(e3));
5033
5081
  };
5034
5082
  }, 1394: (e2, a2, n2) => {
@@ -5042,14 +5090,14 @@ var require_d5lib = __commonJS({
5042
5090
  a2.j = function(e3) {
5043
5091
  var a3 = "string" == typeof e3 ? i2(e3) : e3 || {}, n3 = a3.protocol, r = a3.host, c = a3.port;
5044
5092
  if ("string" != typeof r || !r || "string" != typeof n3) return "";
5045
- if (n3 = n3.split(":", 1)[0], !function(e4, a4) {
5093
+ if (n3 = n3.split(":", 1)[0], !(function(e4, a4) {
5046
5094
  var n4 = (s("npm_config_no_proxy") || s("no_proxy")).toLowerCase();
5047
5095
  return !n4 || "*" !== n4 && n4.split(/[,\s]/).every(function(n5) {
5048
5096
  if (!n5) return true;
5049
5097
  var i3 = n5.match(/^(.+):(\d+)$/), o2 = i3 ? i3[1] : n5, s2 = i3 ? parseInt(i3[2]) : 0;
5050
5098
  return !(!s2 || s2 === a4) || (/^[.*]/.test(o2) ? ("*" === o2.charAt(0) && (o2 = o2.slice(1)), !t.call(e4, o2)) : e4 !== o2);
5051
5099
  });
5052
- }(r = r.replace(/:\d*$/, ""), c = parseInt(c) || o[n3] || 0)) return "";
5100
+ })(r = r.replace(/:\d*$/, ""), c = parseInt(c) || o[n3] || 0)) return "";
5053
5101
  var p = s("npm_config_" + n3 + "_proxy") || s(n3 + "_proxy") || s("npm_config_proxy") || s("all_proxy");
5054
5102
  return p && -1 === p.indexOf("://") && (p = n3 + "://" + p), p;
5055
5103
  };
@@ -5146,7 +5194,7 @@ var require_d5lib = __commonJS({
5146
5194
  return e3;
5147
5195
  }, o.apply(this, arguments);
5148
5196
  };
5149
- const t = function() {
5197
+ const t = (function() {
5150
5198
  function e3(e4, a3) {
5151
5199
  this._objectName = e4, this._body = null != a3 ? a3 : {};
5152
5200
  }
@@ -5276,7 +5324,7 @@ var require_d5lib = __commonJS({
5276
5324
  var a3;
5277
5325
  return !!(null === (a3 = this._body.Filters) || void 0 === a3 ? void 0 : a3.hasOwnProperty(e4));
5278
5326
  }, e3;
5279
- }();
5327
+ })();
5280
5328
  function s(e3, a3) {
5281
5329
  return function() {
5282
5330
  return e3.apply(a3, arguments);
@@ -5456,9 +5504,9 @@ var require_d5lib = __commonJS({
5456
5504
  let r3 = e4;
5457
5505
  if (e4 && !o3 && "object" == typeof e4) {
5458
5506
  if (I.endsWith(n3, "{}")) n3 = i2 ? n3 : n3.slice(0, -2), e4 = JSON.stringify(e4);
5459
- else if (I.isArray(e4) && function(e5) {
5507
+ else if (I.isArray(e4) && (function(e5) {
5460
5508
  return I.isArray(e5) && !e5.some(W);
5461
- }(e4) || (I.isFileList(e4) || I.endsWith(n3, "[]")) && (r3 = I.toArray(e4))) return n3 = V(n3), r3.forEach(function(e5, i3) {
5509
+ })(e4) || (I.isFileList(e4) || I.endsWith(n3, "[]")) && (r3 = I.toArray(e4))) return n3 = V(n3), r3.forEach(function(e5, i3) {
5462
5510
  !I.isUndefined(e5) && null !== e5 && a3.append(true === s2 ? $([n3], i3, t2) : null === s2 ? n3 : n3 + "[]", c2(e5));
5463
5511
  }), false;
5464
5512
  }
@@ -5466,14 +5514,14 @@ var require_d5lib = __commonJS({
5466
5514
  }
5467
5515
  const l2 = [], u2 = Object.assign(J, { defaultVisitor: p2, convertValue: c2, isVisitable: W });
5468
5516
  if (!I.isObject(e3)) throw new TypeError("data must be an object");
5469
- return function e4(n3, i3) {
5517
+ return (function e4(n3, i3) {
5470
5518
  if (!I.isUndefined(n3)) {
5471
5519
  if (-1 !== l2.indexOf(n3)) throw Error("Circular reference detected in " + i3.join("."));
5472
5520
  l2.push(n3), I.forEach(n3, function(n4, t3) {
5473
5521
  true === (!(I.isUndefined(n4) || null === n4) && o2.call(a3, n4, I.isString(t3) ? t3.trim() : t3, i3, u2)) && e4(n4, i3 ? i3.concat(t3) : [t3]);
5474
5522
  }), l2.pop();
5475
5523
  }
5476
- }(e3), a3;
5524
+ })(e3), a3;
5477
5525
  };
5478
5526
  function Q(e3) {
5479
5527
  const a3 = { "!": "%21", "'": "%27", "(": "%28", ")": "%29", "~": "%7E", "%20": "+", "%00": "\0" };
@@ -5531,21 +5579,21 @@ var require_d5lib = __commonJS({
5531
5579
  function a3(e4, n2, i2, o2) {
5532
5580
  let t2 = e4[o2++];
5533
5581
  const s2 = Number.isFinite(+t2), r2 = o2 >= e4.length;
5534
- return t2 = !t2 && I.isArray(i2) ? i2.length : t2, r2 ? (I.hasOwnProp(i2, t2) ? i2[t2] = [i2[t2], n2] : i2[t2] = n2, !s2) : (i2[t2] && I.isObject(i2[t2]) || (i2[t2] = []), a3(e4, n2, i2[t2], o2) && I.isArray(i2[t2]) && (i2[t2] = function(e5) {
5582
+ return t2 = !t2 && I.isArray(i2) ? i2.length : t2, r2 ? (I.hasOwnProp(i2, t2) ? i2[t2] = [i2[t2], n2] : i2[t2] = n2, !s2) : (i2[t2] && I.isObject(i2[t2]) || (i2[t2] = []), a3(e4, n2, i2[t2], o2) && I.isArray(i2[t2]) && (i2[t2] = (function(e5) {
5535
5583
  const a4 = {}, n3 = Object.keys(e5);
5536
5584
  let i3;
5537
5585
  const o3 = n3.length;
5538
5586
  let t3;
5539
5587
  for (i3 = 0; i3 < o3; i3++) t3 = n3[i3], a4[t3] = e5[t3];
5540
5588
  return a4;
5541
- }(i2[t2])), !s2);
5589
+ })(i2[t2])), !s2);
5542
5590
  }
5543
5591
  if (I.isFormData(e3) && I.isFunction(e3.entries)) {
5544
5592
  const n2 = {};
5545
5593
  return I.forEachEntry(e3, (e4, i2) => {
5546
- a3(function(e5) {
5594
+ a3((function(e5) {
5547
5595
  return I.matchAll(/\w+|\[(\w*)]/g, e5).map((e6) => "[]" === e6[0] ? "" : e6[1] || e6[0]);
5548
- }(e4), i2, n2, 0);
5596
+ })(e4), i2, n2, 0);
5549
5597
  }), n2;
5550
5598
  }
5551
5599
  return null;
@@ -5557,24 +5605,24 @@ var require_d5lib = __commonJS({
5557
5605
  if (I.isURLSearchParams(e3)) return a3.setContentType("application/x-www-form-urlencoded;charset=utf-8", false), e3.toString();
5558
5606
  let t2;
5559
5607
  if (o2) {
5560
- if (n2.indexOf("application/x-www-form-urlencoded") > -1) return function(e4, a4) {
5608
+ if (n2.indexOf("application/x-www-form-urlencoded") > -1) return (function(e4, a4) {
5561
5609
  return Y(e4, new te.classes.URLSearchParams(), Object.assign({ visitor: function(e5, a5, n3, i3) {
5562
5610
  return te.isNode && I.isBuffer(e5) ? (this.append(a5, e5.toString("base64")), false) : i3.defaultVisitor.apply(this, arguments);
5563
5611
  } }, a4));
5564
- }(e3, this.formSerializer).toString();
5612
+ })(e3, this.formSerializer).toString();
5565
5613
  if ((t2 = I.isFileList(e3)) || n2.indexOf("multipart/form-data") > -1) {
5566
5614
  const a4 = this.env && this.env.FormData;
5567
5615
  return Y(t2 ? { "files[]": e3 } : e3, a4 && new a4(), this.formSerializer);
5568
5616
  }
5569
5617
  }
5570
- return o2 || i2 ? (a3.setContentType("application/json", false), function(e4) {
5618
+ return o2 || i2 ? (a3.setContentType("application/json", false), (function(e4) {
5571
5619
  if (I.isString(e4)) try {
5572
5620
  return (0, JSON.parse)(e4), I.trim(e4);
5573
5621
  } catch (e5) {
5574
5622
  if ("SyntaxError" !== e5.name) throw e5;
5575
5623
  }
5576
5624
  return (0, JSON.stringify)(e4);
5577
- }(e3)) : e3;
5625
+ })(e3)) : e3;
5578
5626
  }], transformResponse: [function(e3) {
5579
5627
  const a3 = this.transitional || ce.transitional, n2 = a3 && a3.forcedJSONParsing, i2 = "json" === this.responseType;
5580
5628
  if (e3 && I.isString(e3) && (n2 && !this.responseType || i2)) {
@@ -5634,12 +5682,12 @@ var require_d5lib = __commonJS({
5634
5682
  if (n2) {
5635
5683
  const e4 = this[n2];
5636
5684
  if (!a3) return e4;
5637
- if (true === a3) return function(e5) {
5685
+ if (true === a3) return (function(e5) {
5638
5686
  const a4 = /* @__PURE__ */ Object.create(null), n3 = /([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;
5639
5687
  let i2;
5640
5688
  for (; i2 = n3.exec(e5); ) a4[i2[1]] = i2[2];
5641
5689
  return a4;
5642
- }(e4);
5690
+ })(e4);
5643
5691
  if (I.isFunction(a3)) return a3.call(this, e4, n2);
5644
5692
  if (I.isRegExp(a3)) return a3.exec(e4);
5645
5693
  throw new TypeError("parser must be boolean|regexp|function");
@@ -5678,9 +5726,9 @@ var require_d5lib = __commonJS({
5678
5726
  return I.forEach(this, (i2, o2) => {
5679
5727
  const t2 = I.findKey(n2, o2);
5680
5728
  if (t2) return a3[t2] = de(i2), void delete a3[o2];
5681
- const s2 = e3 ? function(e4) {
5729
+ const s2 = e3 ? (function(e4) {
5682
5730
  return e4.trim().toLowerCase().replace(/([a-z\d])(\w*)/g, (e5, a4, n3) => a4.toUpperCase() + n3);
5683
- }(o2) : String(o2).trim();
5731
+ })(o2) : String(o2).trim();
5684
5732
  s2 !== o2 && delete a3[o2], a3[s2] = de(i2), n2[s2] = true;
5685
5733
  }), this;
5686
5734
  }
@@ -5713,14 +5761,14 @@ var require_d5lib = __commonJS({
5713
5761
  const a3 = (this[ue] = this[ue] = { accessors: {} }).accessors, n2 = this.prototype;
5714
5762
  function i2(e4) {
5715
5763
  const i3 = me(e4);
5716
- a3[i3] || (function(e5, a4) {
5764
+ a3[i3] || ((function(e5, a4) {
5717
5765
  const n3 = I.toCamelCase(" " + a4);
5718
5766
  ["get", "set", "has"].forEach((i4) => {
5719
5767
  Object.defineProperty(e5, i4 + n3, { value: function(e6, n4, o2) {
5720
5768
  return this[i4].call(this, a4, e6, n4, o2);
5721
5769
  }, configurable: true });
5722
5770
  });
5723
- }(n2, e4), a3[i3] = true);
5771
+ })(n2, e4), a3[i3] = true);
5724
5772
  }
5725
5773
  return I.isArray(e3) ? e3.forEach(i2) : i2(e3), this;
5726
5774
  }
@@ -5747,9 +5795,9 @@ var require_d5lib = __commonJS({
5747
5795
  n2.status && i2 && !i2(n2.status) ? a3(new G("Request failed with status code " + n2.status, [G.ERR_BAD_REQUEST, G.ERR_BAD_RESPONSE][Math.floor(n2.status / 100) - 4], n2.config, n2.request, n2)) : e3(n2);
5748
5796
  }
5749
5797
  function _e(e3, a3) {
5750
- return e3 && !/^([a-z][a-z\d+\-.]*:)?\/\//i.test(a3) ? function(e4, a4) {
5798
+ return e3 && !/^([a-z][a-z\d+\-.]*:)?\/\//i.test(a3) ? (function(e4, a4) {
5751
5799
  return a4 ? e4.replace(/\/+$/, "") + "/" + a4.replace(/^\/+/, "") : e4;
5752
- }(e3, a3) : a3;
5800
+ })(e3, a3) : a3;
5753
5801
  }
5754
5802
  var je = n(1394), ke = n(3685), Ee = n(5687), Oe = n(3837), Re = n(938);
5755
5803
  const Ce = require("zlib"), Se = "1.4.0";
@@ -5781,7 +5829,7 @@ var require_d5lib = __commonJS({
5781
5829
  "progress" === e4 && (n2.isCaptured || (n2.isCaptured = true));
5782
5830
  });
5783
5831
  let o2 = 0;
5784
- n2.updateProgress = function(e4, a4) {
5832
+ n2.updateProgress = (function(e4, a4) {
5785
5833
  let n3 = 0;
5786
5834
  const i3 = 1e3 / a4;
5787
5835
  let o3 = null;
@@ -5790,7 +5838,7 @@ var require_d5lib = __commonJS({
5790
5838
  if (a5 || s2 - n3 > i3) return o3 && (clearTimeout(o3), o3 = null), n3 = s2, e4.apply(null, t3);
5791
5839
  o3 || (o3 = setTimeout(() => (o3 = null, n3 = Date.now(), e4.apply(null, t3)), i3 - (s2 - n3)));
5792
5840
  };
5793
- }(function() {
5841
+ })(function() {
5794
5842
  const e4 = n2.length, t3 = n2.bytesSeen, s2 = t3 - o2;
5795
5843
  if (!s2 || a3.destroyed) return;
5796
5844
  const r2 = i2(s2);
@@ -5821,12 +5869,12 @@ var require_d5lib = __commonJS({
5821
5869
  }, r2 - d2);
5822
5870
  l3 < m2 && (m2 = l3);
5823
5871
  }
5824
- m2 && n3 > m2 && n3 - m2 > p2 && (u2 = e4.subarray(m2), e4 = e4.subarray(0, m2)), function(e5, a5) {
5872
+ m2 && n3 > m2 && n3 - m2 > p2 && (u2 = e4.subarray(m2), e4 = e4.subarray(0, m2)), (function(e5, a5) {
5825
5873
  const n4 = Buffer.byteLength(e5);
5826
5874
  o2.bytesSeen += n4, o2.bytes += n4, o2.isCaptured && o2.updateProgress(), i2.push(e5) ? process.nextTick(a5) : o2.onReadCallback = () => {
5827
5875
  o2.onReadCallback = null, process.nextTick(a5);
5828
5876
  };
5829
- }(e4, u2 ? () => {
5877
+ })(e4, u2 ? () => {
5830
5878
  process.nextTick(a4, null, u2);
5831
5879
  } : a4);
5832
5880
  };
@@ -5926,7 +5974,7 @@ var require_d5lib = __commonJS({
5926
5974
  let i3;
5927
5975
  if ("GET" !== p2) return we(a4, n2, { status: 405, statusText: "method not allowed", headers: {}, config: e3 });
5928
5976
  try {
5929
- i3 = function(e4, a5, n3) {
5977
+ i3 = (function(e4, a5, n3) {
5930
5978
  const i4 = n3 && n3.Blob || te.classes.Blob, o3 = Ae(e4);
5931
5979
  if (void 0 === a5 && i4 && (a5 = true), "data" === o3) {
5932
5980
  e4 = o3.length ? e4.slice(o3.length + 1) : e4;
@@ -5940,7 +5988,7 @@ var require_d5lib = __commonJS({
5940
5988
  return c3;
5941
5989
  }
5942
5990
  throw new G("Unsupported protocol " + o3, G.ERR_NOT_SUPPORT);
5943
- }(e3.url, "blob" === r2, { Blob: e3.env && e3.env.Blob });
5991
+ })(e3.url, "blob" === r2, { Blob: e3.env && e3.env.Blob });
5944
5992
  } catch (a5) {
5945
5993
  throw G.from(a5, G.ERR_BAD_REQUEST, e3);
5946
5994
  }
@@ -5965,10 +6013,10 @@ var require_d5lib = __commonJS({
5965
6013
  });
5966
6014
  c3 += s3.byteLength * p3.length, c3 = I.toFiniteNumber(c3);
5967
6015
  const l3 = { "Content-Type": `multipart/form-data; boundary=${t3}` };
5968
- return Number.isFinite(c3) && (l3["Content-Length"] = c3), a5 && a5(l3), Fe.Readable.from(async function* () {
6016
+ return Number.isFinite(c3) && (l3["Content-Length"] = c3), a5 && a5(l3), Fe.Readable.from((async function* () {
5969
6017
  for (const e6 of p3) yield s3, yield* e6.encode();
5970
6018
  yield r3;
5971
- }());
6019
+ })());
5972
6020
  })(o2, (e5) => {
5973
6021
  g2.set(e5);
5974
6022
  }, { tag: `axios-${Se}-boundary`, boundary: e4 && e4[1] || void 0 });
@@ -6107,7 +6155,7 @@ var require_d5lib = __commonJS({
6107
6155
  }, read: function() {
6108
6156
  return null;
6109
6157
  }, remove: function() {
6110
- } }, ta = te.isStandardBrowserEnv ? function() {
6158
+ } }, ta = te.isStandardBrowserEnv ? (function() {
6111
6159
  const e3 = /(msie|trident)/i.test(navigator.userAgent), a3 = document.createElement("a");
6112
6160
  let n2;
6113
6161
  function i2(n3) {
@@ -6118,7 +6166,7 @@ var require_d5lib = __commonJS({
6118
6166
  const a4 = I.isString(e4) ? i2(e4) : e4;
6119
6167
  return a4.protocol === n2.protocol && a4.host === n2.host;
6120
6168
  };
6121
- }() : function() {
6169
+ })() : function() {
6122
6170
  return true;
6123
6171
  };
6124
6172
  function sa(e3, a3) {
@@ -6373,12 +6421,12 @@ var require_d5lib = __commonJS({
6373
6421
  Object.entries(wa).forEach(([e3, a3]) => {
6374
6422
  wa[a3] = e3;
6375
6423
  });
6376
- const _a = wa, ja = function e3(a3) {
6424
+ const _a = wa, ja = (function e3(a3) {
6377
6425
  const n2 = new ba(a3), i2 = s(ba.prototype.request, n2);
6378
6426
  return I.extend(i2, ba.prototype, n2, { allOwnKeys: true }), I.extend(i2, n2, null, { allOwnKeys: true }), i2.create = function(n3) {
6379
6427
  return e3(ma(a3, n3));
6380
6428
  }, i2;
6381
- }(pe);
6429
+ })(pe);
6382
6430
  ja.Axios = ba, ja.CanceledError = ye, ja.CancelToken = ya, ja.isCancel = be, ja.VERSION = Se, ja.toFormData = Y, ja.AxiosError = G, ja.Cancel = ja.CanceledError, ja.all = function(e3) {
6383
6431
  return Promise.all(e3);
6384
6432
  }, ja.spread = function(e3) {
@@ -6393,7 +6441,7 @@ var require_d5lib = __commonJS({
6393
6441
  function Oa(e3) {
6394
6442
  var a3, n2, i2, o2, t2 = e3.body, s2 = e3.url, r2 = e3.auth, c2 = e3.headers, p2 = void 0 === c2 ? { "Content-Type": "application/json" } : c2;
6395
6443
  return a3 = this, n2 = void 0, o2 = function() {
6396
- return function(e4, a4) {
6444
+ return (function(e4, a4) {
6397
6445
  var n3, i3, o3, t3, s3 = { label: 0, sent: function() {
6398
6446
  if (1 & o3[0]) throw o3[1];
6399
6447
  return o3[1];
@@ -6403,7 +6451,7 @@ var require_d5lib = __commonJS({
6403
6451
  }), t3;
6404
6452
  function r3(r4) {
6405
6453
  return function(c3) {
6406
- return function(r5) {
6454
+ return (function(r5) {
6407
6455
  if (n3) throw new TypeError("Generator is already executing.");
6408
6456
  for (; t3 && (t3 = 0, r5[0] && (s3 = 0)), s3; ) try {
6409
6457
  if (n3 = 1, i3 && (o3 = 2 & r5[0] ? i3.return : r5[0] ? i3.throw || ((o3 = i3.return) && o3.call(i3), 0) : i3.next) && !(o3 = o3.call(i3, r5[1])).done) return o3;
@@ -6448,10 +6496,10 @@ var require_d5lib = __commonJS({
6448
6496
  }
6449
6497
  if (5 & r5[0]) throw r5[1];
6450
6498
  return { value: r5[0] ? r5[1] : void 0, done: true };
6451
- }([r4, c3]);
6499
+ })([r4, c3]);
6452
6500
  };
6453
6501
  }
6454
- }(this, function(e4) {
6502
+ })(this, function(e4) {
6455
6503
  return [2, ka.post(s2, t2, { auth: r2, headers: p2 }).then(function(e5) {
6456
6504
  return e5.data;
6457
6505
  })];
@@ -6480,7 +6528,7 @@ var require_d5lib = __commonJS({
6480
6528
  c3((o2 = o2.apply(a3, n2 || [])).next());
6481
6529
  });
6482
6530
  }
6483
- var Ra = new (function() {
6531
+ var Ra = new ((function() {
6484
6532
  function e3() {
6485
6533
  if (this._host = "", this._login = "", this._password = "", Ea) throw new Error("You can only create one instance!");
6486
6534
  Ea = this;
@@ -6498,7 +6546,7 @@ var require_d5lib = __commonJS({
6498
6546
  }, enumerable: false, configurable: true }), e3.prototype.setLogin = function(e4) {
6499
6547
  this._login = null != e4 ? e4 : "";
6500
6548
  }, e3;
6501
- }())();
6549
+ })())();
6502
6550
  function Ca(e3) {
6503
6551
  Ra.setLogin(e3.login), Ra.setPassword(e3.password), Ra.setHost(e3.host);
6504
6552
  }
@@ -6508,7 +6556,7 @@ var require_d5lib = __commonJS({
6508
6556
  }, Fa = function(e3) {
6509
6557
  return Sa.host + "/wapi" + e3;
6510
6558
  };
6511
- const Pa = new (function() {
6559
+ const Pa = new ((function() {
6512
6560
  function e3() {
6513
6561
  if (Aa) throw new Error("You can only create one instance!");
6514
6562
  Aa = this;
@@ -6518,7 +6566,7 @@ var require_d5lib = __commonJS({
6518
6566
  }, e3.prototype.createFileHandler = function(e4) {
6519
6567
  return new this.service(e4);
6520
6568
  }, e3;
6521
- }())();
6569
+ })())();
6522
6570
  var za, La = (za = function(e3, a3) {
6523
6571
  return za = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e4, a4) {
6524
6572
  e4.__proto__ = a4;
@@ -6536,9 +6584,9 @@ var require_d5lib = __commonJS({
6536
6584
  for (var a3, n2 = 1, i2 = arguments.length; n2 < i2; n2++) for (var o2 in a3 = arguments[n2]) Object.prototype.hasOwnProperty.call(a3, o2) && (e3[o2] = a3[o2]);
6537
6585
  return e3;
6538
6586
  }, Ba.apply(this, arguments);
6539
- }, Na = function(e3) {
6587
+ }, Na = (function(e3) {
6540
6588
  function n2(a3) {
6541
- var n3 = this, i2 = a3.url, o2 = a3.auth, t2 = function(e4, a4) {
6589
+ var n3 = this, i2 = a3.url, o2 = a3.auth, t2 = (function(e4, a4) {
6542
6590
  var n4 = {};
6543
6591
  for (var i3 in e4) Object.prototype.hasOwnProperty.call(e4, i3) && a4.indexOf(i3) < 0 && (n4[i3] = e4[i3]);
6544
6592
  if (null != e4 && "function" == typeof Object.getOwnPropertySymbols) {
@@ -6546,7 +6594,7 @@ var require_d5lib = __commonJS({
6546
6594
  for (i3 = Object.getOwnPropertySymbols(e4); o3 < i3.length; o3++) a4.indexOf(i3[o3]) < 0 && Object.prototype.propertyIsEnumerable.call(e4, i3[o3]) && (n4[i3[o3]] = e4[i3[o3]]);
6547
6595
  }
6548
6596
  return n4;
6549
- }(a3, ["url", "auth"]);
6597
+ })(a3, ["url", "auth"]);
6550
6598
  return (n3 = e3.call(this, t2.objectName, t2.body) || this).url = i2, n3.auth = o2, n3;
6551
6599
  }
6552
6600
  return La(n2, e3), n2.prototype.createModBody = function(e4) {
@@ -6582,7 +6630,7 @@ var require_d5lib = __commonJS({
6582
6630
  var a3, n3, i2, o2, t2, s2;
6583
6631
  return void 0 === e4 && (e4 = false), i2 = this, o2 = void 0, s2 = function() {
6584
6632
  var i3, o3, t3;
6585
- return function(e5, a4) {
6633
+ return (function(e5, a4) {
6586
6634
  var n4, i4, o4, t4, s3 = { label: 0, sent: function() {
6587
6635
  if (1 & o4[0]) throw o4[1];
6588
6636
  return o4[1];
@@ -6592,7 +6640,7 @@ var require_d5lib = __commonJS({
6592
6640
  }), t4;
6593
6641
  function r2(r3) {
6594
6642
  return function(c2) {
6595
- return function(r4) {
6643
+ return (function(r4) {
6596
6644
  if (n4) throw new TypeError("Generator is already executing.");
6597
6645
  for (; t4 && (t4 = 0, r4[0] && (s3 = 0)), s3; ) try {
6598
6646
  if (n4 = 1, i4 && (o4 = 2 & r4[0] ? i4.return : r4[0] ? i4.throw || ((o4 = i4.return) && o4.call(i4), 0) : i4.next) && !(o4 = o4.call(i4, r4[1])).done) return o4;
@@ -6637,10 +6685,10 @@ var require_d5lib = __commonJS({
6637
6685
  }
6638
6686
  if (5 & r4[0]) throw r4[1];
6639
6687
  return { value: r4[0] ? r4[1] : void 0, done: true };
6640
- }([r3, c2]);
6688
+ })([r3, c2]);
6641
6689
  };
6642
6690
  }
6643
- }(this, function(s3) {
6691
+ })(this, function(s3) {
6644
6692
  switch (s3.label) {
6645
6693
  case 0:
6646
6694
  return i3 = (null === (a3 = this.auth) || void 0 === a3 ? void 0 : a3.username) ? this.auth : void 0, o3 = this.requestBody(), [4, Oa({ url: this.url, auth: i3, body: o3.data, headers: o3.headers })];
@@ -6674,7 +6722,7 @@ var require_d5lib = __commonJS({
6674
6722
  c2((s2 = s2.apply(i2, o2 || [])).next());
6675
6723
  });
6676
6724
  }, n2;
6677
- }(t);
6725
+ })(t);
6678
6726
  function qa(e3, a3, n2) {
6679
6727
  var i2 = { username: Sa.login, password: Sa.password };
6680
6728
  return new Na({ objectName: e3, body: n2, url: Fa("/".concat(e3, "/").concat(a3)), auth: i2 });
@@ -6706,7 +6754,7 @@ var require_d5lib = __commonJS({
6706
6754
  function Va(e3) {
6707
6755
  return Ua(e3, "Del");
6708
6756
  }
6709
- var $a = n(7147), Ja = n.n($a), Ya = n(1017), Qa = n.n(Ya), Xa = [{ ext: ".aac", mime: "audio/aac" }, { ext: ".abw", mime: "application/x-abiword" }, { ext: ".arc", mime: "application/x-freearc" }, { ext: ".avif", mime: "image/avif" }, { ext: ".avi", mime: "video/x-msvideo" }, { ext: ".azw", mime: "application/vnd.amazon.ebook" }, { ext: ".bin", mime: "application/octet-stream" }, { ext: ".bmp", mime: "image/bmp" }, { ext: ".bz", mime: "application/x-bzip" }, { ext: ".bz2", mime: "application/x-bzip2" }, { ext: ".cda", mime: "application/x-cdf" }, { ext: ".csh", mime: "application/x-csh" }, { ext: ".css", mime: "text/css" }, { ext: ".csv", mime: "text/csv" }, { ext: ".doc", mime: "application/msword" }, { ext: ".docx", mime: "application/vnd.openxmlformats-officedocument.wordprocessingml.document" }, { ext: ".eot", mime: "application/vnd.ms-fontobject" }, { ext: ".epub", mime: "application/epub+zip" }, { ext: ".gz", mime: "application/gzip" }, { ext: ".gif", mime: "image/gif" }, { ext: ".htm, .html", mime: "text/html" }, { ext: ".ico", mime: "image/vnd.microsoft.icon" }, { ext: ".ics", mime: "text/calendar" }, { ext: ".jar", mime: "application/java-archive" }, { ext: ".jpeg, .jpg", mime: "image/jpeg" }, { ext: ".js", mime: "text/javascript (Specifications: HTML and RFC 9239)" }, { ext: ".json", mime: "application/json" }, { ext: ".jsonld", mime: "application/ld+json" }, { ext: ".mid, .midi", mime: "audio/midi, audio/x-midi" }, { ext: ".mjs", mime: "text/javascript" }, { ext: ".mp3", mime: "audio/mpeg" }, { ext: ".mp4", mime: "video/mp4" }, { ext: ".mpeg", mime: "video/mpeg" }, { ext: ".mpkg", mime: "application/vnd.apple.installer+xml" }, { ext: ".odp", mime: "application/vnd.oasis.opendocument.presentation" }, { ext: ".ods", mime: "application/vnd.oasis.opendocument.spreadsheet" }, { ext: ".odt", mime: "application/vnd.oasis.opendocument.text" }, { ext: ".oga", mime: "audio/ogg" }, { ext: ".ogv", mime: "video/ogg" }, { ext: ".ogx", mime: "application/ogg" }, { ext: ".opus", mime: "audio/opus" }, { ext: ".otf", mime: "font/otf" }, { ext: ".png", mime: "image/png" }, { ext: ".pdf", mime: "application/pdf" }, { ext: ".php", mime: "application/x-httpd-php" }, { ext: ".ppt", mime: "application/vnd.ms-powerpoint" }, { ext: ".pptx", mime: "application/vnd.openxmlformats-officedocument.presentationml.presentation" }, { ext: ".rar", mime: "application/vnd.rar" }, { ext: ".rtf", mime: "application/rtf" }, { ext: ".sh", mime: "application/x-sh" }, { ext: ".svg", mime: "image/svg+xml" }, { ext: ".tar", mime: "application/x-tar" }, { ext: ".tif, .tiff", mime: "image/tiff" }, { ext: ".ts", mime: "video/mp2t" }, { ext: ".ttf", mime: "font/ttf" }, { ext: ".txt", mime: "text/plain" }, { ext: ".md", mime: "text/plain" }, { ext: ".vsd", mime: "application/vnd.visio" }, { ext: ".wav", mime: "audio/wav" }, { ext: ".weba", mime: "audio/webm" }, { ext: ".webm", mime: "video/webm" }, { ext: ".webp", mime: "image/webp" }, { ext: ".woff", mime: "font/woff" }, { ext: ".woff2", mime: "font/woff2" }, { ext: ".xhtml", mime: "application/xhtml+xml" }, { ext: ".xls", mime: "application/vnd.ms-excel" }, { ext: ".xlsx", mime: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" }, { ext: ".xml", mime: "application/xml is recommended as of RFC 7303 (section 4.1), but text/xml is still used sometimes. You can assign a specific MIME type to a file with .xml extension depending on how its contents are meant to be interpreted. For instance, an Atom feed is application/atom+xml, but application/xml serves as a valid default." }, { ext: ".xul", mime: "application/vnd.mozilla.xul+xml" }, { ext: ".zip", mime: "application/zip" }, { ext: ".3gp", mime: "video/3gpp; audio/3gpp if it doesn't contain video" }, { ext: ".3g2", mime: "video/3gpp2; audio/3gpp2 if it doesn't contain video" }, { ext: ".7z", mime: "application/x-7z-compressed" }], Za = function() {
6757
+ var $a = n(7147), Ja = n.n($a), Ya = n(1017), Qa = n.n(Ya), Xa = [{ ext: ".aac", mime: "audio/aac" }, { ext: ".abw", mime: "application/x-abiword" }, { ext: ".arc", mime: "application/x-freearc" }, { ext: ".avif", mime: "image/avif" }, { ext: ".avi", mime: "video/x-msvideo" }, { ext: ".azw", mime: "application/vnd.amazon.ebook" }, { ext: ".bin", mime: "application/octet-stream" }, { ext: ".bmp", mime: "image/bmp" }, { ext: ".bz", mime: "application/x-bzip" }, { ext: ".bz2", mime: "application/x-bzip2" }, { ext: ".cda", mime: "application/x-cdf" }, { ext: ".csh", mime: "application/x-csh" }, { ext: ".css", mime: "text/css" }, { ext: ".csv", mime: "text/csv" }, { ext: ".doc", mime: "application/msword" }, { ext: ".docx", mime: "application/vnd.openxmlformats-officedocument.wordprocessingml.document" }, { ext: ".eot", mime: "application/vnd.ms-fontobject" }, { ext: ".epub", mime: "application/epub+zip" }, { ext: ".gz", mime: "application/gzip" }, { ext: ".gif", mime: "image/gif" }, { ext: ".htm, .html", mime: "text/html" }, { ext: ".ico", mime: "image/vnd.microsoft.icon" }, { ext: ".ics", mime: "text/calendar" }, { ext: ".jar", mime: "application/java-archive" }, { ext: ".jpeg, .jpg", mime: "image/jpeg" }, { ext: ".js", mime: "text/javascript (Specifications: HTML and RFC 9239)" }, { ext: ".json", mime: "application/json" }, { ext: ".jsonld", mime: "application/ld+json" }, { ext: ".mid, .midi", mime: "audio/midi, audio/x-midi" }, { ext: ".mjs", mime: "text/javascript" }, { ext: ".mp3", mime: "audio/mpeg" }, { ext: ".mp4", mime: "video/mp4" }, { ext: ".mpeg", mime: "video/mpeg" }, { ext: ".mpkg", mime: "application/vnd.apple.installer+xml" }, { ext: ".odp", mime: "application/vnd.oasis.opendocument.presentation" }, { ext: ".ods", mime: "application/vnd.oasis.opendocument.spreadsheet" }, { ext: ".odt", mime: "application/vnd.oasis.opendocument.text" }, { ext: ".oga", mime: "audio/ogg" }, { ext: ".ogv", mime: "video/ogg" }, { ext: ".ogx", mime: "application/ogg" }, { ext: ".opus", mime: "audio/opus" }, { ext: ".otf", mime: "font/otf" }, { ext: ".png", mime: "image/png" }, { ext: ".pdf", mime: "application/pdf" }, { ext: ".php", mime: "application/x-httpd-php" }, { ext: ".ppt", mime: "application/vnd.ms-powerpoint" }, { ext: ".pptx", mime: "application/vnd.openxmlformats-officedocument.presentationml.presentation" }, { ext: ".rar", mime: "application/vnd.rar" }, { ext: ".rtf", mime: "application/rtf" }, { ext: ".sh", mime: "application/x-sh" }, { ext: ".svg", mime: "image/svg+xml" }, { ext: ".tar", mime: "application/x-tar" }, { ext: ".tif, .tiff", mime: "image/tiff" }, { ext: ".ts", mime: "video/mp2t" }, { ext: ".ttf", mime: "font/ttf" }, { ext: ".txt", mime: "text/plain" }, { ext: ".md", mime: "text/plain" }, { ext: ".vsd", mime: "application/vnd.visio" }, { ext: ".wav", mime: "audio/wav" }, { ext: ".weba", mime: "audio/webm" }, { ext: ".webm", mime: "video/webm" }, { ext: ".webp", mime: "image/webp" }, { ext: ".woff", mime: "font/woff" }, { ext: ".woff2", mime: "font/woff2" }, { ext: ".xhtml", mime: "application/xhtml+xml" }, { ext: ".xls", mime: "application/vnd.ms-excel" }, { ext: ".xlsx", mime: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" }, { ext: ".xml", mime: "application/xml is recommended as of RFC 7303 (section 4.1), but text/xml is still used sometimes. You can assign a specific MIME type to a file with .xml extension depending on how its contents are meant to be interpreted. For instance, an Atom feed is application/atom+xml, but application/xml serves as a valid default." }, { ext: ".xul", mime: "application/vnd.mozilla.xul+xml" }, { ext: ".zip", mime: "application/zip" }, { ext: ".3gp", mime: "video/3gpp; audio/3gpp if it doesn't contain video" }, { ext: ".3g2", mime: "video/3gpp2; audio/3gpp2 if it doesn't contain video" }, { ext: ".7z", mime: "application/x-7z-compressed" }], Za = (function() {
6710
6758
  function e3(e4) {
6711
6759
  this._data = e4;
6712
6760
  }
@@ -6715,17 +6763,17 @@ var require_d5lib = __commonJS({
6715
6763
  }, Object.defineProperty(e3.prototype, "size", { get: function() {
6716
6764
  return Ja().statSync(this._data.path).size;
6717
6765
  }, enumerable: false, configurable: true }), Object.defineProperty(e3.prototype, "type", { get: function() {
6718
- return function(e4) {
6766
+ return (function(e4) {
6719
6767
  for (var a3 = 0, n2 = Xa; a3 < n2.length; a3++) {
6720
6768
  var i2 = n2[a3];
6721
6769
  if (i2.ext === e4) return i2.mime;
6722
6770
  }
6723
6771
  return "";
6724
- }(en(this._data.path).ext);
6772
+ })(en(this._data.path).ext);
6725
6773
  }, enumerable: false, configurable: true }), Object.defineProperty(e3.prototype, "name", { get: function() {
6726
6774
  return en(this._data.path).base;
6727
6775
  }, enumerable: false, configurable: true }), e3;
6728
- }();
6776
+ })();
6729
6777
  function en(e3) {
6730
6778
  return Qa().parse(e3);
6731
6779
  }
@@ -6760,6 +6808,7 @@ __export(src_exports, {
6760
6808
  config: () => config,
6761
6809
  contextMenu: () => contextMenu,
6762
6810
  createDriver: () => createDriver,
6811
+ disabledLocator: () => disabledLocator,
6763
6812
  editorFactory: () => editorFactory,
6764
6813
  elementIsNotPresent: () => elementIsNotPresent,
6765
6814
  readonlyLocator: () => readonlyLocator,
@@ -7178,6 +7227,7 @@ function ApiRequest(objectName, operation) {
7178
7227
  config,
7179
7228
  contextMenu,
7180
7229
  createDriver,
7230
+ disabledLocator,
7181
7231
  editorFactory,
7182
7232
  elementIsNotPresent,
7183
7233
  readonlyLocator,