@harbour-enterprises/superdoc 0.13.0-next.6 → 0.13.2-rev10

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.
Files changed (57) hide show
  1. package/dist/chunks/{eventemitter3-DfVviFzP.cjs → eventemitter3-CHxWXmuK.cjs} +1 -1
  2. package/dist/chunks/{eventemitter3-BrspJk8q.es.js → eventemitter3-KKY27oz-.es.js} +1 -1
  3. package/dist/chunks/{index-Hr3Um-Bg.es.js → index-BqLFjUHn.es.js} +2 -2
  4. package/dist/chunks/{index-B4J7wgs6.cjs → index-CweAXNfB.cjs} +2 -2
  5. package/dist/chunks/{index-Diu6UKHt.es.js → index-DS3W0eVB.es.js} +4 -4
  6. package/dist/chunks/{index-Cdsq63Xq.cjs → index-kOMfCfBT.cjs} +4 -4
  7. package/dist/chunks/{jszip-BTAcmbVg.cjs → jszip-9bCX1h2W.cjs} +1 -1
  8. package/dist/chunks/{jszip-DckFs3A7.es.js → jszip-Cl3s9njw.es.js} +1 -1
  9. package/dist/chunks/{super-editor.es-BSS_LTA0.cjs → super-editor.es-Bdu65rjC.cjs} +1096 -819
  10. package/dist/chunks/{super-editor.es-CU8V5_XY.es.js → super-editor.es-BwWbNxcS.es.js} +1096 -819
  11. package/dist/chunks/{url-BIzg4y2i.cjs → url-B8LY3nwf.cjs} +2 -2
  12. package/dist/chunks/{url-CHayXMZH.es.js → url-Bq00tGvm.es.js} +2 -2
  13. package/dist/chunks/{vue-Bi1uWinj.es.js → vue-BBJVqxjL.es.js} +10 -3
  14. package/dist/chunks/{vue-HIY1g7dm.cjs → vue-BBjMeYfo.cjs} +10 -3
  15. package/dist/chunks/{xml-js-CfClL-1b.es.js → xml-js-1F0lia4t.es.js} +81 -102
  16. package/dist/chunks/{xml-js-BjqmFOSP.cjs → xml-js-BuAdLsHD.cjs} +81 -102
  17. package/dist/style.css +4 -3
  18. package/dist/super-editor/ai-writer.es.js +2 -2
  19. package/dist/super-editor/chunks/{converter-Bns3BtmW.js → converter-lPrQA7b1.js} +637 -55
  20. package/dist/super-editor/chunks/{docx-zipper-qf0kgh0l.js → docx-zipper-HvG9XskR.js} +1 -1
  21. package/dist/super-editor/chunks/{editor-hIfvfc-Y.js → editor-DbkiH8Up.js} +387 -685
  22. package/dist/super-editor/chunks/{toolbar-BC9mPZ43.js → toolbar-JdrfUR1G.js} +2 -3
  23. package/dist/super-editor/converter.es.js +2 -2
  24. package/dist/super-editor/core/Editor.d.ts +7 -0
  25. package/dist/super-editor/core/Editor.d.ts.map +1 -1
  26. package/dist/super-editor/core/InputRule.d.ts +7 -0
  27. package/dist/super-editor/core/InputRule.d.ts.map +1 -1
  28. package/dist/super-editor/core/helpers/annotator.d.ts +4 -0
  29. package/dist/super-editor/core/helpers/annotator.d.ts.map +1 -1
  30. package/dist/super-editor/core/helpers/setImageNodeSelection.d.ts +2 -0
  31. package/dist/super-editor/core/helpers/setImageNodeSelection.d.ts.map +1 -0
  32. package/dist/super-editor/core/super-converter/exporter.d.ts.map +1 -1
  33. package/dist/super-editor/docx-zipper.es.js +2 -2
  34. package/dist/super-editor/editor.es.js +3 -3
  35. package/dist/super-editor/extensions/field-annotation/field-annotation.d.ts.map +1 -1
  36. package/dist/super-editor/extensions/field-annotation/fieldAnnotationHelpers/findRemovedFieldAnnotations.d.ts.map +1 -1
  37. package/dist/super-editor/extensions/image/imageHelpers/startImageUpload.d.ts.map +1 -1
  38. package/dist/super-editor/extensions/line-break/line-break.d.ts.map +1 -1
  39. package/dist/super-editor/extensions/noderesizer/noderesizer.d.ts.map +1 -1
  40. package/dist/super-editor/extensions/pagination/pagination-helpers.d.ts +6 -1
  41. package/dist/super-editor/extensions/pagination/pagination-helpers.d.ts.map +1 -1
  42. package/dist/super-editor/extensions/pagination/pagination.d.ts.map +1 -1
  43. package/dist/super-editor/extensions/paragraph/paragraph.d.ts.map +1 -1
  44. package/dist/super-editor/file-zipper.es.js +1 -1
  45. package/dist/super-editor/style.css +4 -3
  46. package/dist/super-editor/super-editor.es.js +7 -7
  47. package/dist/super-editor/tests/e2e/test-app/dist/assets/index-BTMvkUyI.d.ts +3 -0
  48. package/dist/super-editor/tests/e2e/test-app/dist/assets/index-BTMvkUyI.d.ts.map +1 -0
  49. package/dist/super-editor/tests/e2e/test-app/vite.config.d.ts +1 -1
  50. package/dist/super-editor/toolbar.es.js +2 -2
  51. package/dist/super-editor.cjs +2 -2
  52. package/dist/super-editor.es.js +2 -2
  53. package/dist/superdoc.cjs +8 -9
  54. package/dist/superdoc.es.js +9 -10
  55. package/dist/superdoc.umd.js +1107 -824
  56. package/dist/superdoc.umd.js.map +1 -1
  57. package/package.json +1 -1
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
- const jszip = require("./jszip-BTAcmbVg.cjs");
3
- const xmlJs = require("./xml-js-BjqmFOSP.cjs");
2
+ const jszip = require("./jszip-9bCX1h2W.cjs");
3
+ const xmlJs = require("./xml-js-BuAdLsHD.cjs");
4
4
  const __viteBrowserExternal = require("./__vite-browser-external-DWbQq7bv.cjs");
5
5
  var punycode$1 = { exports: {} };
6
6
  /*! https://mths.be/punycode v1.4.1 by @mathias */
@@ -1,5 +1,5 @@
1
- import { c as commonjsGlobal, g as getDefaultExportFromCjs, a as getAugmentedNamespace } from "./jszip-DckFs3A7.es.js";
2
- import { t as type, g as getIntrinsic, c as callBound$2 } from "./xml-js-CfClL-1b.es.js";
1
+ import { c as commonjsGlobal, g as getDefaultExportFromCjs, a as getAugmentedNamespace } from "./jszip-Cl3s9njw.es.js";
2
+ import { t as type, g as getIntrinsic, c as callBound$2 } from "./xml-js-1F0lia4t.es.js";
3
3
  import { _ as __viteBrowserExternal } from "./__vite-browser-external-CURh0WXD.es.js";
4
4
  var punycode$1 = { exports: {} };
5
5
  /*! https://mths.be/punycode v1.4.1 by @mathias */
@@ -162,7 +162,7 @@ process.umask = function() {
162
162
  var browserExports = browser.exports;
163
163
  const process$1 = /* @__PURE__ */ getDefaultExportFromCjs(browserExports);
164
164
  /**
165
- * @vue/shared v3.5.16
165
+ * @vue/shared v3.5.17
166
166
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
167
167
  * @license MIT
168
168
  **/
@@ -787,6 +787,7 @@ class Link {
787
787
  }
788
788
  }
789
789
  class Dep {
790
+ // TODO isolatedDeclarations "__v_skip"
790
791
  constructor(computed2) {
791
792
  this.computed = computed2;
792
793
  this.version = 0;
@@ -795,6 +796,7 @@ class Dep {
795
796
  this.map = void 0;
796
797
  this.key = void 0;
797
798
  this.sc = 0;
799
+ this.__v_skip = true;
798
800
  if (!!(process$1.env.NODE_ENV !== "production")) {
799
801
  this.subsHead = void 0;
800
802
  }
@@ -5210,6 +5212,8 @@ const assignSlots = (slots, children, optimized) => {
5210
5212
  const initSlots = (instance, children, optimized) => {
5211
5213
  const slots = instance.slots = createInternalObject();
5212
5214
  if (instance.vnode.shapeFlag & 32) {
5215
+ const cacheIndexes = children.__;
5216
+ if (cacheIndexes) def(slots, "__", cacheIndexes, true);
5213
5217
  const type = children._;
5214
5218
  if (type) {
5215
5219
  assignSlots(slots, children, optimized);
@@ -5430,6 +5434,8 @@ function baseCreateRenderer(options, createHydrationFns) {
5430
5434
  }
5431
5435
  if (ref3 != null && parentComponent) {
5432
5436
  setRef(ref3, n1 && n1.ref, parentSuspense, n2 || n1, !n2);
5437
+ } else if (ref3 == null && n1 && n1.ref != null) {
5438
+ setRef(n1.ref, null, parentSuspense, n1, true);
5433
5439
  }
5434
5440
  };
5435
5441
  const processText = (n1, n2, container, anchor) => {
@@ -5968,7 +5974,8 @@ function baseCreateRenderer(options, createHydrationFns) {
5968
5974
  }
5969
5975
  toggleRecurse(instance, true);
5970
5976
  {
5971
- if (root.ce) {
5977
+ if (root.ce && // @ts-expect-error _def is private
5978
+ root.ce._def.shadowRoot !== false) {
5972
5979
  root.ce._injectChildStyle(type);
5973
5980
  }
5974
5981
  if (!!(process$1.env.NODE_ENV !== "production")) {
@@ -8333,7 +8340,7 @@ function initCustomFormatter() {
8333
8340
  window.devtoolsFormatters = [formatter];
8334
8341
  }
8335
8342
  }
8336
- const version = "3.5.16";
8343
+ const version = "3.5.17";
8337
8344
  const warn = !!(process$1.env.NODE_ENV !== "production") ? warn$1 : NOOP;
8338
8345
  !!(process$1.env.NODE_ENV !== "production") || true ? devtools$1 : void 0;
8339
8346
  !!(process$1.env.NODE_ENV !== "production") || true ? setDevtoolsHook$1 : NOOP;
@@ -163,7 +163,7 @@ process.umask = function() {
163
163
  var browserExports = browser.exports;
164
164
  const process$1 = /* @__PURE__ */ getDefaultExportFromCjs(browserExports);
165
165
  /**
166
- * @vue/shared v3.5.16
166
+ * @vue/shared v3.5.17
167
167
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
168
168
  * @license MIT
169
169
  **/
@@ -788,6 +788,7 @@ class Link {
788
788
  }
789
789
  }
790
790
  class Dep {
791
+ // TODO isolatedDeclarations "__v_skip"
791
792
  constructor(computed2) {
792
793
  this.computed = computed2;
793
794
  this.version = 0;
@@ -796,6 +797,7 @@ class Dep {
796
797
  this.map = void 0;
797
798
  this.key = void 0;
798
799
  this.sc = 0;
800
+ this.__v_skip = true;
799
801
  if (!!(process$1.env.NODE_ENV !== "production")) {
800
802
  this.subsHead = void 0;
801
803
  }
@@ -5211,6 +5213,8 @@ const assignSlots = (slots, children, optimized) => {
5211
5213
  const initSlots = (instance, children, optimized) => {
5212
5214
  const slots = instance.slots = createInternalObject();
5213
5215
  if (instance.vnode.shapeFlag & 32) {
5216
+ const cacheIndexes = children.__;
5217
+ if (cacheIndexes) def(slots, "__", cacheIndexes, true);
5214
5218
  const type = children._;
5215
5219
  if (type) {
5216
5220
  assignSlots(slots, children, optimized);
@@ -5431,6 +5435,8 @@ function baseCreateRenderer(options, createHydrationFns) {
5431
5435
  }
5432
5436
  if (ref3 != null && parentComponent) {
5433
5437
  setRef(ref3, n1 && n1.ref, parentSuspense, n2 || n1, !n2);
5438
+ } else if (ref3 == null && n1 && n1.ref != null) {
5439
+ setRef(n1.ref, null, parentSuspense, n1, true);
5434
5440
  }
5435
5441
  };
5436
5442
  const processText = (n1, n2, container, anchor) => {
@@ -5969,7 +5975,8 @@ function baseCreateRenderer(options, createHydrationFns) {
5969
5975
  }
5970
5976
  toggleRecurse(instance, true);
5971
5977
  {
5972
- if (root.ce) {
5978
+ if (root.ce && // @ts-expect-error _def is private
5979
+ root.ce._def.shadowRoot !== false) {
5973
5980
  root.ce._injectChildStyle(type);
5974
5981
  }
5975
5982
  if (!!(process$1.env.NODE_ENV !== "production")) {
@@ -8334,7 +8341,7 @@ function initCustomFormatter() {
8334
8341
  window.devtoolsFormatters = [formatter];
8335
8342
  }
8336
8343
  }
8337
- const version = "3.5.16";
8344
+ const version = "3.5.17";
8338
8345
  const warn = !!(process$1.env.NODE_ENV !== "production") ? warn$1 : NOOP;
8339
8346
  !!(process$1.env.NODE_ENV !== "production") || true ? devtools$1 : void 0;
8340
8347
  !!(process$1.env.NODE_ENV !== "production") || true ? setDevtoolsHook$1 : NOOP;
@@ -1,5 +1,5 @@
1
- import { a as getAugmentedNamespace, d as dist, c as commonjsGlobal } from "./jszip-DckFs3A7.es.js";
2
- import { p as process$1 } from "./vue-Bi1uWinj.es.js";
1
+ import { a as getAugmentedNamespace, d as dist, c as commonjsGlobal } from "./jszip-Cl3s9njw.es.js";
2
+ import { p as process$1 } from "./vue-BBJVqxjL.es.js";
3
3
  var inherits_browser = { exports: {} };
4
4
  if (typeof Object.create === "function") {
5
5
  inherits_browser.exports = function inherits(ctor, superCtor) {
@@ -456,7 +456,7 @@ var type = TypeError;
456
456
  var uri = URIError;
457
457
  var abs$1 = Math.abs;
458
458
  var floor$1 = Math.floor;
459
- var max$1 = Math.max;
459
+ var max$2 = Math.max;
460
460
  var min$1 = Math.min;
461
461
  var pow$1 = Math.pow;
462
462
  var round$1 = Math.round;
@@ -516,99 +516,78 @@ function requireHasSymbols() {
516
516
  var Reflect_getPrototypeOf = typeof Reflect !== "undefined" && Reflect.getPrototypeOf || null;
517
517
  var $Object$2 = esObjectAtoms;
518
518
  var Object_getPrototypeOf = $Object$2.getPrototypeOf || null;
519
- var implementation;
520
- var hasRequiredImplementation;
521
- function requireImplementation() {
522
- if (hasRequiredImplementation) return implementation;
523
- hasRequiredImplementation = 1;
524
- var ERROR_MESSAGE = "Function.prototype.bind called on incompatible ";
525
- var toStr2 = Object.prototype.toString;
526
- var max2 = Math.max;
527
- var funcType = "[object Function]";
528
- var concatty = function concatty2(a, b) {
529
- var arr = [];
530
- for (var i = 0; i < a.length; i += 1) {
531
- arr[i] = a[i];
532
- }
533
- for (var j = 0; j < b.length; j += 1) {
534
- arr[j + a.length] = b[j];
535
- }
536
- return arr;
537
- };
538
- var slicy = function slicy2(arrLike, offset) {
539
- var arr = [];
540
- for (var i = offset, j = 0; i < arrLike.length; i += 1, j += 1) {
541
- arr[j] = arrLike[i];
542
- }
543
- return arr;
544
- };
545
- var joiny = function(arr, joiner) {
546
- var str = "";
547
- for (var i = 0; i < arr.length; i += 1) {
548
- str += arr[i];
549
- if (i + 1 < arr.length) {
550
- str += joiner;
551
- }
519
+ var ERROR_MESSAGE = "Function.prototype.bind called on incompatible ";
520
+ var toStr$3 = Object.prototype.toString;
521
+ var max$1 = Math.max;
522
+ var funcType = "[object Function]";
523
+ var concatty = function concatty2(a, b) {
524
+ var arr = [];
525
+ for (var i = 0; i < a.length; i += 1) {
526
+ arr[i] = a[i];
527
+ }
528
+ for (var j = 0; j < b.length; j += 1) {
529
+ arr[j + a.length] = b[j];
530
+ }
531
+ return arr;
532
+ };
533
+ var slicy = function slicy2(arrLike, offset) {
534
+ var arr = [];
535
+ for (var i = offset, j = 0; i < arrLike.length; i += 1, j += 1) {
536
+ arr[j] = arrLike[i];
537
+ }
538
+ return arr;
539
+ };
540
+ var joiny = function(arr, joiner) {
541
+ var str = "";
542
+ for (var i = 0; i < arr.length; i += 1) {
543
+ str += arr[i];
544
+ if (i + 1 < arr.length) {
545
+ str += joiner;
552
546
  }
553
- return str;
554
- };
555
- implementation = function bind2(that) {
556
- var target = this;
557
- if (typeof target !== "function" || toStr2.apply(target) !== funcType) {
558
- throw new TypeError(ERROR_MESSAGE + target);
559
- }
560
- var args = slicy(arguments, 1);
561
- var bound;
562
- var binder = function() {
563
- if (this instanceof bound) {
564
- var result = target.apply(
565
- this,
566
- concatty(args, arguments)
567
- );
568
- if (Object(result) === result) {
569
- return result;
570
- }
571
- return this;
572
- }
573
- return target.apply(
574
- that,
547
+ }
548
+ return str;
549
+ };
550
+ var implementation$1 = function bind(that) {
551
+ var target = this;
552
+ if (typeof target !== "function" || toStr$3.apply(target) !== funcType) {
553
+ throw new TypeError(ERROR_MESSAGE + target);
554
+ }
555
+ var args = slicy(arguments, 1);
556
+ var bound;
557
+ var binder = function() {
558
+ if (this instanceof bound) {
559
+ var result = target.apply(
560
+ this,
575
561
  concatty(args, arguments)
576
562
  );
577
- };
578
- var boundLength = max2(0, target.length - args.length);
579
- var boundArgs = [];
580
- for (var i = 0; i < boundLength; i++) {
581
- boundArgs[i] = "$" + i;
582
- }
583
- bound = Function("binder", "return function (" + joiny(boundArgs, ",") + "){ return binder.apply(this,arguments); }")(binder);
584
- if (target.prototype) {
585
- var Empty = function Empty2() {
586
- };
587
- Empty.prototype = target.prototype;
588
- bound.prototype = new Empty();
589
- Empty.prototype = null;
563
+ if (Object(result) === result) {
564
+ return result;
565
+ }
566
+ return this;
590
567
  }
591
- return bound;
568
+ return target.apply(
569
+ that,
570
+ concatty(args, arguments)
571
+ );
592
572
  };
593
- return implementation;
594
- }
595
- var functionBind;
596
- var hasRequiredFunctionBind;
597
- function requireFunctionBind() {
598
- if (hasRequiredFunctionBind) return functionBind;
599
- hasRequiredFunctionBind = 1;
600
- var implementation2 = requireImplementation();
601
- functionBind = Function.prototype.bind || implementation2;
602
- return functionBind;
603
- }
604
- var functionCall;
605
- var hasRequiredFunctionCall;
606
- function requireFunctionCall() {
607
- if (hasRequiredFunctionCall) return functionCall;
608
- hasRequiredFunctionCall = 1;
609
- functionCall = Function.prototype.call;
610
- return functionCall;
611
- }
573
+ var boundLength = max$1(0, target.length - args.length);
574
+ var boundArgs = [];
575
+ for (var i = 0; i < boundLength; i++) {
576
+ boundArgs[i] = "$" + i;
577
+ }
578
+ bound = Function("binder", "return function (" + joiny(boundArgs, ",") + "){ return binder.apply(this,arguments); }")(binder);
579
+ if (target.prototype) {
580
+ var Empty = function Empty2() {
581
+ };
582
+ Empty.prototype = target.prototype;
583
+ bound.prototype = new Empty();
584
+ Empty.prototype = null;
585
+ }
586
+ return bound;
587
+ };
588
+ var implementation = implementation$1;
589
+ var functionBind = Function.prototype.bind || implementation;
590
+ var functionCall = Function.prototype.call;
612
591
  var functionApply;
613
592
  var hasRequiredFunctionApply;
614
593
  function requireFunctionApply() {
@@ -618,14 +597,14 @@ function requireFunctionApply() {
618
597
  return functionApply;
619
598
  }
620
599
  var reflectApply$1 = typeof Reflect !== "undefined" && Reflect && Reflect.apply;
621
- var bind$3 = requireFunctionBind();
600
+ var bind$3 = functionBind;
622
601
  var $apply$2 = requireFunctionApply();
623
- var $call$2 = requireFunctionCall();
602
+ var $call$2 = functionCall;
624
603
  var $reflectApply = reflectApply$1;
625
604
  var actualApply$1 = $reflectApply || bind$3.call($call$2, $apply$2);
626
- var bind$2 = requireFunctionBind();
605
+ var bind$2 = functionBind;
627
606
  var $TypeError$4 = type;
628
- var $call$1 = requireFunctionCall();
607
+ var $call$1 = functionCall;
629
608
  var $actualApply = actualApply$1;
630
609
  var callBindApplyHelpers = function callBindBasic(args) {
631
610
  if (args.length < 1 || typeof args[0] !== "function") {
@@ -677,8 +656,8 @@ function requireHasown() {
677
656
  hasRequiredHasown = 1;
678
657
  var call = Function.prototype.call;
679
658
  var $hasOwn = Object.prototype.hasOwnProperty;
680
- var bind2 = requireFunctionBind();
681
- hasown = bind2.call(call, $hasOwn);
659
+ var bind3 = functionBind;
660
+ hasown = bind3.call(call, $hasOwn);
682
661
  return hasown;
683
662
  }
684
663
  var undefined$1;
@@ -692,7 +671,7 @@ var $TypeError$3 = type;
692
671
  var $URIError = uri;
693
672
  var abs = abs$1;
694
673
  var floor = floor$1;
695
- var max = max$1;
674
+ var max = max$2;
696
675
  var min = min$1;
697
676
  var pow = pow$1;
698
677
  var round = round$1;
@@ -726,7 +705,7 @@ var getProto$2 = getProto$3;
726
705
  var $ObjectGPO = Object_getPrototypeOf;
727
706
  var $ReflectGPO = Reflect_getPrototypeOf;
728
707
  var $apply$1 = requireFunctionApply();
729
- var $call = requireFunctionCall();
708
+ var $call = functionCall;
730
709
  var needsEval = {};
731
710
  var TypedArray = typeof Uint8Array === "undefined" || !getProto$2 ? undefined$1 : getProto$2(Uint8Array);
732
711
  var INTRINSICS = {
@@ -897,7 +876,7 @@ var LEGACY_ALIASES = {
897
876
  "%WeakMapPrototype%": ["WeakMap", "prototype"],
898
877
  "%WeakSetPrototype%": ["WeakSet", "prototype"]
899
878
  };
900
- var bind$1 = requireFunctionBind();
879
+ var bind$1 = functionBind;
901
880
  var hasOwn$1 = requireHasown();
902
881
  var $concat = bind$1.call($call, Array.prototype.concat);
903
882
  var $spliceApply = bind$1.call($apply$1, Array.prototype.splice);
@@ -1439,11 +1418,11 @@ var setFunctionLength = function setFunctionLength2(fn2, length) {
1439
1418
  }
1440
1419
  return fn2;
1441
1420
  };
1442
- var bind = requireFunctionBind();
1421
+ var bind2 = functionBind;
1443
1422
  var $apply = requireFunctionApply();
1444
1423
  var actualApply = actualApply$1;
1445
1424
  var applyBind = function applyBind2() {
1446
- return actualApply(bind, $apply, arguments);
1425
+ return actualApply(bind2, $apply, arguments);
1447
1426
  };
1448
1427
  (function(module) {
1449
1428
  var setFunctionLength$1 = setFunctionLength;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
- const jszip = require("./jszip-BTAcmbVg.cjs");
3
- const vue = require("./vue-HIY1g7dm.cjs");
2
+ const jszip = require("./jszip-9bCX1h2W.cjs");
3
+ const vue = require("./vue-BBjMeYfo.cjs");
4
4
  var inherits_browser = { exports: {} };
5
5
  if (typeof Object.create === "function") {
6
6
  inherits_browser.exports = function inherits(ctor, superCtor) {
@@ -457,7 +457,7 @@ var type = TypeError;
457
457
  var uri = URIError;
458
458
  var abs$1 = Math.abs;
459
459
  var floor$1 = Math.floor;
460
- var max$1 = Math.max;
460
+ var max$2 = Math.max;
461
461
  var min$1 = Math.min;
462
462
  var pow$1 = Math.pow;
463
463
  var round$1 = Math.round;
@@ -517,99 +517,78 @@ function requireHasSymbols() {
517
517
  var Reflect_getPrototypeOf = typeof Reflect !== "undefined" && Reflect.getPrototypeOf || null;
518
518
  var $Object$2 = esObjectAtoms;
519
519
  var Object_getPrototypeOf = $Object$2.getPrototypeOf || null;
520
- var implementation;
521
- var hasRequiredImplementation;
522
- function requireImplementation() {
523
- if (hasRequiredImplementation) return implementation;
524
- hasRequiredImplementation = 1;
525
- var ERROR_MESSAGE = "Function.prototype.bind called on incompatible ";
526
- var toStr2 = Object.prototype.toString;
527
- var max2 = Math.max;
528
- var funcType = "[object Function]";
529
- var concatty = function concatty2(a, b) {
530
- var arr = [];
531
- for (var i = 0; i < a.length; i += 1) {
532
- arr[i] = a[i];
533
- }
534
- for (var j = 0; j < b.length; j += 1) {
535
- arr[j + a.length] = b[j];
536
- }
537
- return arr;
538
- };
539
- var slicy = function slicy2(arrLike, offset) {
540
- var arr = [];
541
- for (var i = offset, j = 0; i < arrLike.length; i += 1, j += 1) {
542
- arr[j] = arrLike[i];
543
- }
544
- return arr;
545
- };
546
- var joiny = function(arr, joiner) {
547
- var str = "";
548
- for (var i = 0; i < arr.length; i += 1) {
549
- str += arr[i];
550
- if (i + 1 < arr.length) {
551
- str += joiner;
552
- }
520
+ var ERROR_MESSAGE = "Function.prototype.bind called on incompatible ";
521
+ var toStr$3 = Object.prototype.toString;
522
+ var max$1 = Math.max;
523
+ var funcType = "[object Function]";
524
+ var concatty = function concatty2(a, b) {
525
+ var arr = [];
526
+ for (var i = 0; i < a.length; i += 1) {
527
+ arr[i] = a[i];
528
+ }
529
+ for (var j = 0; j < b.length; j += 1) {
530
+ arr[j + a.length] = b[j];
531
+ }
532
+ return arr;
533
+ };
534
+ var slicy = function slicy2(arrLike, offset) {
535
+ var arr = [];
536
+ for (var i = offset, j = 0; i < arrLike.length; i += 1, j += 1) {
537
+ arr[j] = arrLike[i];
538
+ }
539
+ return arr;
540
+ };
541
+ var joiny = function(arr, joiner) {
542
+ var str = "";
543
+ for (var i = 0; i < arr.length; i += 1) {
544
+ str += arr[i];
545
+ if (i + 1 < arr.length) {
546
+ str += joiner;
553
547
  }
554
- return str;
555
- };
556
- implementation = function bind2(that) {
557
- var target = this;
558
- if (typeof target !== "function" || toStr2.apply(target) !== funcType) {
559
- throw new TypeError(ERROR_MESSAGE + target);
560
- }
561
- var args = slicy(arguments, 1);
562
- var bound;
563
- var binder = function() {
564
- if (this instanceof bound) {
565
- var result = target.apply(
566
- this,
567
- concatty(args, arguments)
568
- );
569
- if (Object(result) === result) {
570
- return result;
571
- }
572
- return this;
573
- }
574
- return target.apply(
575
- that,
548
+ }
549
+ return str;
550
+ };
551
+ var implementation$1 = function bind(that) {
552
+ var target = this;
553
+ if (typeof target !== "function" || toStr$3.apply(target) !== funcType) {
554
+ throw new TypeError(ERROR_MESSAGE + target);
555
+ }
556
+ var args = slicy(arguments, 1);
557
+ var bound;
558
+ var binder = function() {
559
+ if (this instanceof bound) {
560
+ var result = target.apply(
561
+ this,
576
562
  concatty(args, arguments)
577
563
  );
578
- };
579
- var boundLength = max2(0, target.length - args.length);
580
- var boundArgs = [];
581
- for (var i = 0; i < boundLength; i++) {
582
- boundArgs[i] = "$" + i;
583
- }
584
- bound = Function("binder", "return function (" + joiny(boundArgs, ",") + "){ return binder.apply(this,arguments); }")(binder);
585
- if (target.prototype) {
586
- var Empty = function Empty2() {
587
- };
588
- Empty.prototype = target.prototype;
589
- bound.prototype = new Empty();
590
- Empty.prototype = null;
564
+ if (Object(result) === result) {
565
+ return result;
566
+ }
567
+ return this;
591
568
  }
592
- return bound;
569
+ return target.apply(
570
+ that,
571
+ concatty(args, arguments)
572
+ );
593
573
  };
594
- return implementation;
595
- }
596
- var functionBind;
597
- var hasRequiredFunctionBind;
598
- function requireFunctionBind() {
599
- if (hasRequiredFunctionBind) return functionBind;
600
- hasRequiredFunctionBind = 1;
601
- var implementation2 = requireImplementation();
602
- functionBind = Function.prototype.bind || implementation2;
603
- return functionBind;
604
- }
605
- var functionCall;
606
- var hasRequiredFunctionCall;
607
- function requireFunctionCall() {
608
- if (hasRequiredFunctionCall) return functionCall;
609
- hasRequiredFunctionCall = 1;
610
- functionCall = Function.prototype.call;
611
- return functionCall;
612
- }
574
+ var boundLength = max$1(0, target.length - args.length);
575
+ var boundArgs = [];
576
+ for (var i = 0; i < boundLength; i++) {
577
+ boundArgs[i] = "$" + i;
578
+ }
579
+ bound = Function("binder", "return function (" + joiny(boundArgs, ",") + "){ return binder.apply(this,arguments); }")(binder);
580
+ if (target.prototype) {
581
+ var Empty = function Empty2() {
582
+ };
583
+ Empty.prototype = target.prototype;
584
+ bound.prototype = new Empty();
585
+ Empty.prototype = null;
586
+ }
587
+ return bound;
588
+ };
589
+ var implementation = implementation$1;
590
+ var functionBind = Function.prototype.bind || implementation;
591
+ var functionCall = Function.prototype.call;
613
592
  var functionApply;
614
593
  var hasRequiredFunctionApply;
615
594
  function requireFunctionApply() {
@@ -619,14 +598,14 @@ function requireFunctionApply() {
619
598
  return functionApply;
620
599
  }
621
600
  var reflectApply$1 = typeof Reflect !== "undefined" && Reflect && Reflect.apply;
622
- var bind$3 = requireFunctionBind();
601
+ var bind$3 = functionBind;
623
602
  var $apply$2 = requireFunctionApply();
624
- var $call$2 = requireFunctionCall();
603
+ var $call$2 = functionCall;
625
604
  var $reflectApply = reflectApply$1;
626
605
  var actualApply$1 = $reflectApply || bind$3.call($call$2, $apply$2);
627
- var bind$2 = requireFunctionBind();
606
+ var bind$2 = functionBind;
628
607
  var $TypeError$4 = type;
629
- var $call$1 = requireFunctionCall();
608
+ var $call$1 = functionCall;
630
609
  var $actualApply = actualApply$1;
631
610
  var callBindApplyHelpers = function callBindBasic(args) {
632
611
  if (args.length < 1 || typeof args[0] !== "function") {
@@ -678,8 +657,8 @@ function requireHasown() {
678
657
  hasRequiredHasown = 1;
679
658
  var call = Function.prototype.call;
680
659
  var $hasOwn = Object.prototype.hasOwnProperty;
681
- var bind2 = requireFunctionBind();
682
- hasown = bind2.call(call, $hasOwn);
660
+ var bind3 = functionBind;
661
+ hasown = bind3.call(call, $hasOwn);
683
662
  return hasown;
684
663
  }
685
664
  var undefined$1;
@@ -693,7 +672,7 @@ var $TypeError$3 = type;
693
672
  var $URIError = uri;
694
673
  var abs = abs$1;
695
674
  var floor = floor$1;
696
- var max = max$1;
675
+ var max = max$2;
697
676
  var min = min$1;
698
677
  var pow = pow$1;
699
678
  var round = round$1;
@@ -727,7 +706,7 @@ var getProto$2 = getProto$3;
727
706
  var $ObjectGPO = Object_getPrototypeOf;
728
707
  var $ReflectGPO = Reflect_getPrototypeOf;
729
708
  var $apply$1 = requireFunctionApply();
730
- var $call = requireFunctionCall();
709
+ var $call = functionCall;
731
710
  var needsEval = {};
732
711
  var TypedArray = typeof Uint8Array === "undefined" || !getProto$2 ? undefined$1 : getProto$2(Uint8Array);
733
712
  var INTRINSICS = {
@@ -898,7 +877,7 @@ var LEGACY_ALIASES = {
898
877
  "%WeakMapPrototype%": ["WeakMap", "prototype"],
899
878
  "%WeakSetPrototype%": ["WeakSet", "prototype"]
900
879
  };
901
- var bind$1 = requireFunctionBind();
880
+ var bind$1 = functionBind;
902
881
  var hasOwn$1 = requireHasown();
903
882
  var $concat = bind$1.call($call, Array.prototype.concat);
904
883
  var $spliceApply = bind$1.call($apply$1, Array.prototype.splice);
@@ -1440,11 +1419,11 @@ var setFunctionLength = function setFunctionLength2(fn2, length) {
1440
1419
  }
1441
1420
  return fn2;
1442
1421
  };
1443
- var bind = requireFunctionBind();
1422
+ var bind2 = functionBind;
1444
1423
  var $apply = requireFunctionApply();
1445
1424
  var actualApply = actualApply$1;
1446
1425
  var applyBind = function applyBind2() {
1447
- return actualApply(bind, $apply, arguments);
1426
+ return actualApply(bind2, $apply, arguments);
1448
1427
  };
1449
1428
  (function(module2) {
1450
1429
  var setFunctionLength$1 = setFunctionLength;