@harbour-enterprises/superdoc 0.14.9-next.1 → 0.14.9-next.3

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 (30) hide show
  1. package/dist/chunks/{index-CtKTO471.es.js → index-BvK-G6B1.es.js} +2 -2
  2. package/dist/chunks/{index-NNBaoa7m.cjs → index-CCRVYhTn.cjs} +1 -1
  3. package/dist/chunks/{index-BYM9Q-5k.cjs → index-CgJ5KVh6.cjs} +2 -2
  4. package/dist/chunks/{index-CtmwketW.es.js → index-oHslWah4.es.js} +1 -1
  5. package/dist/chunks/{super-editor.es-aq3c4S5T.es.js → super-editor.es-Cm485wgf.es.js} +20 -11
  6. package/dist/chunks/{super-editor.es-yUyLWBnh.cjs → super-editor.es-D4w4gOxp.cjs} +20 -11
  7. package/dist/chunks/{url-CHbZrfPf.cjs → url-BG1Z_Z2_.cjs} +1 -1
  8. package/dist/chunks/{url-CGuSEi6H.es.js → url-Dvx6wrNT.es.js} +1 -1
  9. package/dist/chunks/{xml-js-BjZxwY3_.cjs → xml-js-BHJlXtfU.cjs} +111 -83
  10. package/dist/chunks/{xml-js-pilYeQmG.es.js → xml-js-DNISVjNF.es.js} +111 -83
  11. package/dist/super-editor/ai-writer.es.js +2 -2
  12. package/dist/super-editor/chunks/{converter-ClWai7D4.js → converter-wprLSvGf.js} +2 -2
  13. package/dist/super-editor/chunks/{docx-zipper-UoYB441C.js → docx-zipper-XpZaObsQ.js} +1 -1
  14. package/dist/super-editor/chunks/{editor-QzIAZx5N.js → editor-B-syl6XT.js} +20 -11
  15. package/dist/super-editor/chunks/{toolbar-DIjrr1N2.js → toolbar-D0Pksjxw.js} +2 -2
  16. package/dist/super-editor/converter.es.js +1 -1
  17. package/dist/super-editor/core/migrations/0.14-listsv2/listsv2migration.d.ts.map +1 -1
  18. package/dist/super-editor/docx-zipper.es.js +2 -2
  19. package/dist/super-editor/editor.es.js +3 -3
  20. package/dist/super-editor/extensions/image/image.d.ts.map +1 -1
  21. package/dist/super-editor/file-zipper.es.js +1 -1
  22. package/dist/super-editor/super-editor.es.js +6 -6
  23. package/dist/super-editor/toolbar.es.js +2 -2
  24. package/dist/super-editor.cjs +1 -1
  25. package/dist/super-editor.es.js +1 -1
  26. package/dist/superdoc.cjs +5 -5
  27. package/dist/superdoc.es.js +6 -6
  28. package/dist/superdoc.umd.js +21 -12
  29. package/dist/superdoc.umd.js.map +1 -1
  30. package/package.json +2 -2
@@ -1,7 +1,7 @@
1
1
  import { c as commonjsGlobal, B as Buffer, a as getAugmentedNamespace, g as getDefaultExportFromCjs } from "./jszip-CYDYUNnI.es.js";
2
2
  import { p as process$1 } from "./vue-lU0o_RlU.es.js";
3
- import { e as eventsExports, r as require$$2, u as util, i as inherits_browserExports, b as browser$1, a as requireString_decoder } from "./xml-js-pilYeQmG.es.js";
4
- import { u as url } from "./url-CGuSEi6H.es.js";
3
+ import { e as eventsExports, r as require$$2, u as util, i as inherits_browserExports, b as browser$1, a as requireString_decoder } from "./xml-js-DNISVjNF.es.js";
4
+ import { u as url } from "./url-Dvx6wrNT.es.js";
5
5
  function _mergeNamespaces(n, m) {
6
6
  for (var i = 0; i < m.length; i++) {
7
7
  const e = m[i];
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  const jszip = require("./jszip-D5XoMX4C.cjs");
3
- const index$2 = require("./index-BYM9Q-5k.cjs");
3
+ const index$2 = require("./index-CgJ5KVh6.cjs");
4
4
  function _mergeNamespaces(n, m) {
5
5
  for (var i = 0; i < m.length; i++) {
6
6
  const e = m[i];
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  const jszip = require("./jszip-D5XoMX4C.cjs");
3
3
  const vue = require("./vue-tQYF719J.cjs");
4
- const xmlJs = require("./xml-js-BjZxwY3_.cjs");
5
- const url = require("./url-CHbZrfPf.cjs");
4
+ const xmlJs = require("./xml-js-BHJlXtfU.cjs");
5
+ const url = require("./url-BG1Z_Z2_.cjs");
6
6
  function _mergeNamespaces(n, m) {
7
7
  for (var i = 0; i < m.length; i++) {
8
8
  const e = m[i];
@@ -1,5 +1,5 @@
1
1
  import { g as getDefaultExportFromCjs } from "./jszip-CYDYUNnI.es.js";
2
- import { s as streamHttp, r as require$$1 } from "./index-CtKTO471.es.js";
2
+ import { s as streamHttp, r as require$$1 } from "./index-BvK-G6B1.es.js";
3
3
  function _mergeNamespaces(n, m) {
4
4
  for (var i = 0; i < m.length; i++) {
5
5
  const e = m[i];
@@ -26359,7 +26359,7 @@ const _SuperConverter = class _SuperConverter2 {
26359
26359
  return;
26360
26360
  }
26361
26361
  }
26362
- static updateDocumentVersion(docx = this.convertedXml, version2 = "0.14.9-next.1") {
26362
+ static updateDocumentVersion(docx = this.convertedXml, version2 = "0.14.9-next.3") {
26363
26363
  const customLocation = "docProps/custom.xml";
26364
26364
  if (!docx[customLocation]) {
26365
26365
  docx[customLocation] = generateCustomXml();
@@ -26835,7 +26835,7 @@ function storeSuperdocVersion(docx) {
26835
26835
  function generateCustomXml() {
26836
26836
  return DEFAULT_CUSTOM_XML;
26837
26837
  }
26838
- function generateSuperdocVersion(pid = 2, version2 = "0.14.9-next.1") {
26838
+ function generateSuperdocVersion(pid = 2, version2 = "0.14.9-next.3") {
26839
26839
  return {
26840
26840
  type: "element",
26841
26841
  name: "property",
@@ -42106,11 +42106,9 @@ const migrateParagraphFieldsListsV2 = async (annotationValues = [], editor) => {
42106
42106
  const value = matchedAnnotation?.input_value;
42107
42107
  if (!value) continue;
42108
42108
  await new Promise((resolve2, reject) => {
42109
- const mockDocument = editor.options.mockDocument;
42110
- const element = mockDocument.createElement("div");
42111
- element.id = `child-editor-${Date.now()}-${Math.random()}`;
42109
+ const element = document.createElement("div");
42112
42110
  editor.createChildEditor({
42113
- element: { mount: element },
42111
+ element,
42114
42112
  html: value,
42115
42113
  onCreate: ({ editor: localEditor }) => {
42116
42114
  const { migrated } = localEditor.options;
@@ -42924,7 +42922,7 @@ const _Editor = class _Editor2 extends EventEmitter$1 {
42924
42922
  * @returns {Object | void} Migration results
42925
42923
  */
42926
42924
  processCollaborationMigrations() {
42927
- console.debug("[checkVersionMigrations] Current editor version", "0.14.9-next.1");
42925
+ console.debug("[checkVersionMigrations] Current editor version", "0.14.9-next.3");
42928
42926
  if (!this.options.ydoc) return;
42929
42927
  const metaMap = this.options.ydoc.getMap("meta");
42930
42928
  let docVersion = metaMap.get("version");
@@ -50605,11 +50603,16 @@ const Image = Node$1.create({
50605
50603
  },
50606
50604
  marginOffset: {
50607
50605
  default: {},
50608
- renderDOM: ({ marginOffset }) => {
50606
+ renderDOM: ({ marginOffset, anchorData }) => {
50607
+ const relativeFromPageV = anchorData?.vRelativeFrom === "page";
50608
+ const maxMarginV = 500;
50609
50609
  const { left: left2 = 0, top: top2 = 0 } = marginOffset ?? {};
50610
50610
  let style2 = "";
50611
50611
  if (left2) style2 += `margin-left: ${left2}px;`;
50612
- if (top2) style2 += `margin-top: ${top2}px;`;
50612
+ if (top2) {
50613
+ if (relativeFromPageV && top2 >= maxMarginV) style2 += `margin-top: ${maxMarginV}px;`;
50614
+ else style2 += `margin-top: ${top2}px;`;
50615
+ }
50613
50616
  return { style: style2 };
50614
50617
  }
50615
50618
  },
@@ -56400,7 +56403,9 @@ function generateInternalPageBreaks(doc2, view, editor, sectionData) {
56400
56403
  let currentPos = pos;
56401
56404
  coords = view?.coordsAtPos(currentPos);
56402
56405
  if (!coords) return;
56403
- let shouldAddPageBreak = coords.bottom > pageHeightThreshold;
56406
+ const endPos = currentPos + currentNode.nodeSize;
56407
+ const endCoords = view.coordsAtPos(endPos);
56408
+ let shouldAddPageBreak = currentNode.isBlock ? endCoords && endCoords.bottom > pageHeightThreshold : coords.bottom > pageHeightThreshold;
56404
56409
  let isHardBreakNode = currentNode.type.name === "hardBreak";
56405
56410
  const paragraphSectPrBreak = currentNode.attrs?.pageBreakSource;
56406
56411
  if (paragraphSectPrBreak === "sectPr") {
@@ -56430,11 +56435,15 @@ function generateInternalPageBreaks(doc2, view, editor, sectionData) {
56430
56435
  const table = findParentNodeClosestToPos($currentPos, (node22) => node22.type.name === "table");
56431
56436
  const tableRow = findParentNodeClosestToPos($currentPos, (node22) => node22.type.name === "tableRow");
56432
56437
  let isInTable2 = table || tableRow ? true : false;
56433
- const {
56438
+ let {
56434
56439
  top: actualBreakTop,
56435
56440
  bottom: actualBreakBottom,
56436
56441
  pos: breakPos
56437
56442
  } = getActualBreakCoords(view, currentPos, pageHeightThreshold);
56443
+ const $breakPos = view.state.doc.resolve(breakPos);
56444
+ if ($breakPos.parent.type.name === "listItem") {
56445
+ breakPos = $breakPos.before($breakPos.depth);
56446
+ }
56438
56447
  const footerId2 = getHeaderFooterId(currentPageNumber, "footerIds", editor, currentNode);
56439
56448
  currentPageNumber++;
56440
56449
  const headerId2 = getHeaderFooterId(currentPageNumber, "headerIds", editor);
@@ -26376,7 +26376,7 @@ const _SuperConverter = class _SuperConverter2 {
26376
26376
  return;
26377
26377
  }
26378
26378
  }
26379
- static updateDocumentVersion(docx = this.convertedXml, version2 = "0.14.9-next.1") {
26379
+ static updateDocumentVersion(docx = this.convertedXml, version2 = "0.14.9-next.3") {
26380
26380
  const customLocation = "docProps/custom.xml";
26381
26381
  if (!docx[customLocation]) {
26382
26382
  docx[customLocation] = generateCustomXml();
@@ -26852,7 +26852,7 @@ function storeSuperdocVersion(docx) {
26852
26852
  function generateCustomXml() {
26853
26853
  return DEFAULT_CUSTOM_XML;
26854
26854
  }
26855
- function generateSuperdocVersion(pid = 2, version2 = "0.14.9-next.1") {
26855
+ function generateSuperdocVersion(pid = 2, version2 = "0.14.9-next.3") {
26856
26856
  return {
26857
26857
  type: "element",
26858
26858
  name: "property",
@@ -42123,11 +42123,9 @@ const migrateParagraphFieldsListsV2 = async (annotationValues = [], editor) => {
42123
42123
  const value = matchedAnnotation?.input_value;
42124
42124
  if (!value) continue;
42125
42125
  await new Promise((resolve2, reject) => {
42126
- const mockDocument = editor.options.mockDocument;
42127
- const element = mockDocument.createElement("div");
42128
- element.id = `child-editor-${Date.now()}-${Math.random()}`;
42126
+ const element = document.createElement("div");
42129
42127
  editor.createChildEditor({
42130
- element: { mount: element },
42128
+ element,
42131
42129
  html: value,
42132
42130
  onCreate: ({ editor: localEditor }) => {
42133
42131
  const { migrated } = localEditor.options;
@@ -42941,7 +42939,7 @@ const _Editor = class _Editor2 extends EventEmitter$1 {
42941
42939
  * @returns {Object | void} Migration results
42942
42940
  */
42943
42941
  processCollaborationMigrations() {
42944
- console.debug("[checkVersionMigrations] Current editor version", "0.14.9-next.1");
42942
+ console.debug("[checkVersionMigrations] Current editor version", "0.14.9-next.3");
42945
42943
  if (!this.options.ydoc) return;
42946
42944
  const metaMap = this.options.ydoc.getMap("meta");
42947
42945
  let docVersion = metaMap.get("version");
@@ -50622,11 +50620,16 @@ const Image = Node$1.create({
50622
50620
  },
50623
50621
  marginOffset: {
50624
50622
  default: {},
50625
- renderDOM: ({ marginOffset }) => {
50623
+ renderDOM: ({ marginOffset, anchorData }) => {
50624
+ const relativeFromPageV = anchorData?.vRelativeFrom === "page";
50625
+ const maxMarginV = 500;
50626
50626
  const { left: left2 = 0, top: top2 = 0 } = marginOffset ?? {};
50627
50627
  let style2 = "";
50628
50628
  if (left2) style2 += `margin-left: ${left2}px;`;
50629
- if (top2) style2 += `margin-top: ${top2}px;`;
50629
+ if (top2) {
50630
+ if (relativeFromPageV && top2 >= maxMarginV) style2 += `margin-top: ${maxMarginV}px;`;
50631
+ else style2 += `margin-top: ${top2}px;`;
50632
+ }
50630
50633
  return { style: style2 };
50631
50634
  }
50632
50635
  },
@@ -56417,7 +56420,9 @@ function generateInternalPageBreaks(doc2, view, editor, sectionData) {
56417
56420
  let currentPos = pos;
56418
56421
  coords = view?.coordsAtPos(currentPos);
56419
56422
  if (!coords) return;
56420
- let shouldAddPageBreak = coords.bottom > pageHeightThreshold;
56423
+ const endPos = currentPos + currentNode.nodeSize;
56424
+ const endCoords = view.coordsAtPos(endPos);
56425
+ let shouldAddPageBreak = currentNode.isBlock ? endCoords && endCoords.bottom > pageHeightThreshold : coords.bottom > pageHeightThreshold;
56421
56426
  let isHardBreakNode = currentNode.type.name === "hardBreak";
56422
56427
  const paragraphSectPrBreak = currentNode.attrs?.pageBreakSource;
56423
56428
  if (paragraphSectPrBreak === "sectPr") {
@@ -56447,11 +56452,15 @@ function generateInternalPageBreaks(doc2, view, editor, sectionData) {
56447
56452
  const table = findParentNodeClosestToPos($currentPos, (node22) => node22.type.name === "table");
56448
56453
  const tableRow = findParentNodeClosestToPos($currentPos, (node22) => node22.type.name === "tableRow");
56449
56454
  let isInTable2 = table || tableRow ? true : false;
56450
- const {
56455
+ let {
56451
56456
  top: actualBreakTop,
56452
56457
  bottom: actualBreakBottom,
56453
56458
  pos: breakPos
56454
56459
  } = getActualBreakCoords(view, currentPos, pageHeightThreshold);
56460
+ const $breakPos = view.state.doc.resolve(breakPos);
56461
+ if ($breakPos.parent.type.name === "listItem") {
56462
+ breakPos = $breakPos.before($breakPos.depth);
56463
+ }
56455
56464
  const footerId2 = getHeaderFooterId(currentPageNumber, "footerIds", editor, currentNode);
56456
56465
  currentPageNumber++;
56457
56466
  const headerId2 = getHeaderFooterId(currentPageNumber, "headerIds", editor);
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  const jszip = require("./jszip-D5XoMX4C.cjs");
3
- const xmlJs = require("./xml-js-BjZxwY3_.cjs");
3
+ const xmlJs = require("./xml-js-BHJlXtfU.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
1
  import { c as commonjsGlobal, g as getDefaultExportFromCjs, a as getAugmentedNamespace } from "./jszip-CYDYUNnI.es.js";
2
- import { t as type, g as getIntrinsic, c as callBound$2 } from "./xml-js-pilYeQmG.es.js";
2
+ import { t as type, g as getIntrinsic, c as callBound$2 } from "./xml-js-DNISVjNF.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 */
@@ -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$2 = Math.max;
460
+ var max$1 = Math.max;
461
461
  var min$1 = Math.min;
462
462
  var pow$1 = Math.pow;
463
463
  var round$1 = Math.round;
@@ -515,80 +515,108 @@ function requireHasSymbols() {
515
515
  return hasSymbols$1;
516
516
  }
517
517
  var Reflect_getPrototypeOf = typeof Reflect !== "undefined" && Reflect.getPrototypeOf || null;
518
- var $Object$2 = esObjectAtoms;
519
- var Object_getPrototypeOf = $Object$2.getPrototypeOf || null;
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;
518
+ var Object_getPrototypeOf;
519
+ var hasRequiredObject_getPrototypeOf;
520
+ function requireObject_getPrototypeOf() {
521
+ if (hasRequiredObject_getPrototypeOf) return Object_getPrototypeOf;
522
+ hasRequiredObject_getPrototypeOf = 1;
523
+ var $Object2 = esObjectAtoms;
524
+ Object_getPrototypeOf = $Object2.getPrototypeOf || null;
525
+ return Object_getPrototypeOf;
526
+ }
527
+ var implementation;
528
+ var hasRequiredImplementation;
529
+ function requireImplementation() {
530
+ if (hasRequiredImplementation) return implementation;
531
+ hasRequiredImplementation = 1;
532
+ var ERROR_MESSAGE = "Function.prototype.bind called on incompatible ";
533
+ var toStr2 = Object.prototype.toString;
534
+ var max2 = Math.max;
535
+ var funcType = "[object Function]";
536
+ var concatty = function concatty2(a, b) {
537
+ var arr = [];
538
+ for (var i = 0; i < a.length; i += 1) {
539
+ arr[i] = a[i];
540
+ }
541
+ for (var j = 0; j < b.length; j += 1) {
542
+ arr[j + a.length] = b[j];
543
+ }
544
+ return arr;
545
+ };
546
+ var slicy = function slicy2(arrLike, offset) {
547
+ var arr = [];
548
+ for (var i = offset, j = 0; i < arrLike.length; i += 1, j += 1) {
549
+ arr[j] = arrLike[i];
547
550
  }
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,
562
- concatty(args, arguments)
563
- );
564
- if (Object(result) === result) {
565
- return result;
551
+ return arr;
552
+ };
553
+ var joiny = function(arr, joiner) {
554
+ var str = "";
555
+ for (var i = 0; i < arr.length; i += 1) {
556
+ str += arr[i];
557
+ if (i + 1 < arr.length) {
558
+ str += joiner;
566
559
  }
567
- return this;
568
560
  }
569
- return target.apply(
570
- that,
571
- concatty(args, arguments)
572
- );
561
+ return str;
573
562
  };
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() {
563
+ implementation = function bind2(that) {
564
+ var target = this;
565
+ if (typeof target !== "function" || toStr2.apply(target) !== funcType) {
566
+ throw new TypeError(ERROR_MESSAGE + target);
567
+ }
568
+ var args = slicy(arguments, 1);
569
+ var bound;
570
+ var binder = function() {
571
+ if (this instanceof bound) {
572
+ var result = target.apply(
573
+ this,
574
+ concatty(args, arguments)
575
+ );
576
+ if (Object(result) === result) {
577
+ return result;
578
+ }
579
+ return this;
580
+ }
581
+ return target.apply(
582
+ that,
583
+ concatty(args, arguments)
584
+ );
582
585
  };
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;
586
+ var boundLength = max2(0, target.length - args.length);
587
+ var boundArgs = [];
588
+ for (var i = 0; i < boundLength; i++) {
589
+ boundArgs[i] = "$" + i;
590
+ }
591
+ bound = Function("binder", "return function (" + joiny(boundArgs, ",") + "){ return binder.apply(this,arguments); }")(binder);
592
+ if (target.prototype) {
593
+ var Empty = function Empty2() {
594
+ };
595
+ Empty.prototype = target.prototype;
596
+ bound.prototype = new Empty();
597
+ Empty.prototype = null;
598
+ }
599
+ return bound;
600
+ };
601
+ return implementation;
602
+ }
603
+ var functionBind;
604
+ var hasRequiredFunctionBind;
605
+ function requireFunctionBind() {
606
+ if (hasRequiredFunctionBind) return functionBind;
607
+ hasRequiredFunctionBind = 1;
608
+ var implementation2 = requireImplementation();
609
+ functionBind = Function.prototype.bind || implementation2;
610
+ return functionBind;
611
+ }
612
+ var functionCall;
613
+ var hasRequiredFunctionCall;
614
+ function requireFunctionCall() {
615
+ if (hasRequiredFunctionCall) return functionCall;
616
+ hasRequiredFunctionCall = 1;
617
+ functionCall = Function.prototype.call;
618
+ return functionCall;
619
+ }
592
620
  var functionApply;
593
621
  var hasRequiredFunctionApply;
594
622
  function requireFunctionApply() {
@@ -598,14 +626,14 @@ function requireFunctionApply() {
598
626
  return functionApply;
599
627
  }
600
628
  var reflectApply$1 = typeof Reflect !== "undefined" && Reflect && Reflect.apply;
601
- var bind$3 = functionBind;
629
+ var bind$3 = requireFunctionBind();
602
630
  var $apply$2 = requireFunctionApply();
603
- var $call$2 = functionCall;
631
+ var $call$2 = requireFunctionCall();
604
632
  var $reflectApply = reflectApply$1;
605
633
  var actualApply$1 = $reflectApply || bind$3.call($call$2, $apply$2);
606
- var bind$2 = functionBind;
634
+ var bind$2 = requireFunctionBind();
607
635
  var $TypeError$4 = type;
608
- var $call$1 = functionCall;
636
+ var $call$1 = requireFunctionCall();
609
637
  var $actualApply = actualApply$1;
610
638
  var callBindApplyHelpers = function callBindBasic(args) {
611
639
  if (args.length < 1 || typeof args[0] !== "function") {
@@ -638,7 +666,7 @@ var get = desc && typeof desc.get === "function" ? callBind$2([desc.get]) : type
638
666
  }
639
667
  ) : false;
640
668
  var reflectGetProto = Reflect_getPrototypeOf;
641
- var originalGetProto = Object_getPrototypeOf;
669
+ var originalGetProto = requireObject_getPrototypeOf();
642
670
  var getDunderProto = get;
643
671
  var getProto$3 = reflectGetProto ? function getProto(O) {
644
672
  return reflectGetProto(O);
@@ -657,8 +685,8 @@ function requireHasown() {
657
685
  hasRequiredHasown = 1;
658
686
  var call = Function.prototype.call;
659
687
  var $hasOwn = Object.prototype.hasOwnProperty;
660
- var bind3 = functionBind;
661
- hasown = bind3.call(call, $hasOwn);
688
+ var bind2 = requireFunctionBind();
689
+ hasown = bind2.call(call, $hasOwn);
662
690
  return hasown;
663
691
  }
664
692
  var undefined$1;
@@ -672,7 +700,7 @@ var $TypeError$3 = type;
672
700
  var $URIError = uri;
673
701
  var abs = abs$1;
674
702
  var floor = floor$1;
675
- var max = max$2;
703
+ var max = max$1;
676
704
  var min = min$1;
677
705
  var pow = pow$1;
678
706
  var round = round$1;
@@ -703,10 +731,10 @@ var ThrowTypeError = $gOPD ? function() {
703
731
  }() : throwTypeError;
704
732
  var hasSymbols2 = requireHasSymbols()();
705
733
  var getProto$2 = getProto$3;
706
- var $ObjectGPO = Object_getPrototypeOf;
734
+ var $ObjectGPO = requireObject_getPrototypeOf();
707
735
  var $ReflectGPO = Reflect_getPrototypeOf;
708
736
  var $apply$1 = requireFunctionApply();
709
- var $call = functionCall;
737
+ var $call = requireFunctionCall();
710
738
  var needsEval = {};
711
739
  var TypedArray = typeof Uint8Array === "undefined" || !getProto$2 ? undefined$1 : getProto$2(Uint8Array);
712
740
  var INTRINSICS = {
@@ -877,7 +905,7 @@ var LEGACY_ALIASES = {
877
905
  "%WeakMapPrototype%": ["WeakMap", "prototype"],
878
906
  "%WeakSetPrototype%": ["WeakSet", "prototype"]
879
907
  };
880
- var bind$1 = functionBind;
908
+ var bind$1 = requireFunctionBind();
881
909
  var hasOwn$1 = requireHasown();
882
910
  var $concat = bind$1.call($call, Array.prototype.concat);
883
911
  var $spliceApply = bind$1.call($apply$1, Array.prototype.splice);
@@ -1419,11 +1447,11 @@ var setFunctionLength = function setFunctionLength2(fn2, length) {
1419
1447
  }
1420
1448
  return fn2;
1421
1449
  };
1422
- var bind2 = functionBind;
1450
+ var bind = requireFunctionBind();
1423
1451
  var $apply = requireFunctionApply();
1424
1452
  var actualApply = actualApply$1;
1425
1453
  var applyBind = function applyBind2() {
1426
- return actualApply(bind2, $apply, arguments);
1454
+ return actualApply(bind, $apply, arguments);
1427
1455
  };
1428
1456
  (function(module2) {
1429
1457
  var setFunctionLength$1 = setFunctionLength;