@harbour-enterprises/superdoc 0.13.2-rev12 → 0.13.2-rev13

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-BqLFjUHn.es.js → index-Bwe_KBGC.es.js} +1 -1
  2. package/dist/chunks/{index-kOMfCfBT.cjs → index-QFHilT7W.cjs} +2 -2
  3. package/dist/chunks/{index-DS3W0eVB.es.js → index-T0O8VtHF.es.js} +2 -2
  4. package/dist/chunks/{index-CweAXNfB.cjs → index-v0Pu3REB.cjs} +1 -1
  5. package/dist/chunks/{super-editor.es-BKgM1pcY.cjs → super-editor.es-CsiTGIkB.cjs} +3 -3
  6. package/dist/chunks/{super-editor.es-C_Nq6j7z.es.js → super-editor.es-DxeFHR2r.es.js} +3 -3
  7. package/dist/chunks/{url-Bq00tGvm.es.js → url-B6fLHlvt.es.js} +1 -1
  8. package/dist/chunks/{url-B8LY3nwf.cjs → url-CLXKvLKS.cjs} +1 -1
  9. package/dist/chunks/{xml-js-1F0lia4t.es.js → xml-js-BOAZhvuK.es.js} +111 -83
  10. package/dist/chunks/{xml-js-BuAdLsHD.cjs → xml-js-Dq_F6UB0.cjs} +111 -83
  11. package/dist/style.css +5 -0
  12. package/dist/super-editor/ai-writer.es.js +2 -2
  13. package/dist/super-editor/chunks/{converter-BaxWFoHG.js → converter-CpZwp286.js} +2 -2
  14. package/dist/super-editor/chunks/{docx-zipper-DultQQrr.js → docx-zipper-DjBfWgqD.js} +1 -1
  15. package/dist/super-editor/chunks/{editor-ClD1k7gi.js → editor-Bo39dh9q.js} +3 -3
  16. package/dist/super-editor/chunks/{toolbar-BBZO5GG_.js → toolbar-DcVBLMjT.js} +2 -2
  17. package/dist/super-editor/converter.es.js +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/file-zipper.es.js +1 -1
  21. package/dist/super-editor/style.css +5 -0
  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 +4 -4
  29. package/dist/superdoc.umd.js.map +1 -1
  30. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
1
  import { g as getDefaultExportFromCjs } from "./jszip-Cl3s9njw.es.js";
2
- import { s as streamHttp, r as require$$1 } from "./index-DS3W0eVB.es.js";
2
+ import { s as streamHttp, r as require$$1 } from "./index-T0O8VtHF.es.js";
3
3
  function _mergeNamespaces(n, m) {
4
4
  for (var i = 0; i < m.length; i++) {
5
5
  const e = m[i];
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  const jszip = require("./jszip-9bCX1h2W.cjs");
3
3
  const vue = require("./vue-BBjMeYfo.cjs");
4
- const xmlJs = require("./xml-js-BuAdLsHD.cjs");
5
- const url = require("./url-B8LY3nwf.cjs");
4
+ const xmlJs = require("./xml-js-Dq_F6UB0.cjs");
5
+ const url = require("./url-CLXKvLKS.cjs");
6
6
  function _mergeNamespaces(n, m) {
7
7
  for (var i = 0; i < m.length; i++) {
8
8
  const e = m[i];
@@ -1,7 +1,7 @@
1
1
  import { c as commonjsGlobal, B as Buffer, a as getAugmentedNamespace, g as getDefaultExportFromCjs } from "./jszip-Cl3s9njw.es.js";
2
2
  import { p as process$1 } from "./vue-BBJVqxjL.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-1F0lia4t.es.js";
4
- import { u as url } from "./url-Bq00tGvm.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-BOAZhvuK.es.js";
4
+ import { u as url } from "./url-B6fLHlvt.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-9bCX1h2W.cjs");
3
- const index$2 = require("./index-kOMfCfBT.cjs");
3
+ const index$2 = require("./index-QFHilT7W.cjs");
4
4
  function _mergeNamespaces(n, m) {
5
5
  for (var i = 0; i < m.length; i++) {
6
6
  const e = m[i];
@@ -23989,7 +23989,7 @@ const _SuperConverter = class _SuperConverter2 {
23989
23989
  return;
23990
23990
  }
23991
23991
  }
23992
- static updateDocumentVersion(docx = this.convertedXml, version2 = "0.13.2-rev12") {
23992
+ static updateDocumentVersion(docx = this.convertedXml, version2 = "0.13.2-rev13") {
23993
23993
  const customLocation = "docProps/custom.xml";
23994
23994
  if (!docx[customLocation]) {
23995
23995
  docx[customLocation] = generateCustomXml();
@@ -24456,7 +24456,7 @@ function storeSuperdocVersion(docx) {
24456
24456
  function generateCustomXml() {
24457
24457
  return DEFAULT_CUSTOM_XML;
24458
24458
  }
24459
- function generateSuperdocVersion(pid = 2, version2 = "0.13.2-rev12") {
24459
+ function generateSuperdocVersion(pid = 2, version2 = "0.13.2-rev13") {
24460
24460
  return {
24461
24461
  type: "element",
24462
24462
  name: "property",
@@ -41378,7 +41378,7 @@ const _Editor = class _Editor2 extends EventEmitter$1 {
41378
41378
  * @returns {Object | void} Migration results
41379
41379
  */
41380
41380
  processCollaborationMigrations() {
41381
- console.debug("[checkVersionMigrations] Current editor version", "0.13.2-rev12");
41381
+ console.debug("[checkVersionMigrations] Current editor version", "0.13.2-rev13");
41382
41382
  if (!this.options.ydoc) return;
41383
41383
  const metaMap = this.options.ydoc.getMap("meta");
41384
41384
  let docVersion = metaMap.get("version");
@@ -23972,7 +23972,7 @@ const _SuperConverter = class _SuperConverter2 {
23972
23972
  return;
23973
23973
  }
23974
23974
  }
23975
- static updateDocumentVersion(docx = this.convertedXml, version2 = "0.13.2-rev12") {
23975
+ static updateDocumentVersion(docx = this.convertedXml, version2 = "0.13.2-rev13") {
23976
23976
  const customLocation = "docProps/custom.xml";
23977
23977
  if (!docx[customLocation]) {
23978
23978
  docx[customLocation] = generateCustomXml();
@@ -24439,7 +24439,7 @@ function storeSuperdocVersion(docx) {
24439
24439
  function generateCustomXml() {
24440
24440
  return DEFAULT_CUSTOM_XML;
24441
24441
  }
24442
- function generateSuperdocVersion(pid = 2, version2 = "0.13.2-rev12") {
24442
+ function generateSuperdocVersion(pid = 2, version2 = "0.13.2-rev13") {
24443
24443
  return {
24444
24444
  type: "element",
24445
24445
  name: "property",
@@ -41361,7 +41361,7 @@ const _Editor = class _Editor2 extends EventEmitter$1 {
41361
41361
  * @returns {Object | void} Migration results
41362
41362
  */
41363
41363
  processCollaborationMigrations() {
41364
- console.debug("[checkVersionMigrations] Current editor version", "0.13.2-rev12");
41364
+ console.debug("[checkVersionMigrations] Current editor version", "0.13.2-rev13");
41365
41365
  if (!this.options.ydoc) return;
41366
41366
  const metaMap = this.options.ydoc.getMap("meta");
41367
41367
  let docVersion = metaMap.get("version");
@@ -1,5 +1,5 @@
1
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";
2
+ import { t as type, g as getIntrinsic, c as callBound$2 } from "./xml-js-BOAZhvuK.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 */
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  const jszip = require("./jszip-9bCX1h2W.cjs");
3
- const xmlJs = require("./xml-js-BuAdLsHD.cjs");
3
+ const xmlJs = require("./xml-js-Dq_F6UB0.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 */
@@ -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$2 = Math.max;
459
+ var max$1 = Math.max;
460
460
  var min$1 = Math.min;
461
461
  var pow$1 = Math.pow;
462
462
  var round$1 = Math.round;
@@ -514,80 +514,108 @@ function requireHasSymbols() {
514
514
  return hasSymbols$1;
515
515
  }
516
516
  var Reflect_getPrototypeOf = typeof Reflect !== "undefined" && Reflect.getPrototypeOf || null;
517
- var $Object$2 = esObjectAtoms;
518
- var Object_getPrototypeOf = $Object$2.getPrototypeOf || null;
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;
517
+ var Object_getPrototypeOf;
518
+ var hasRequiredObject_getPrototypeOf;
519
+ function requireObject_getPrototypeOf() {
520
+ if (hasRequiredObject_getPrototypeOf) return Object_getPrototypeOf;
521
+ hasRequiredObject_getPrototypeOf = 1;
522
+ var $Object2 = esObjectAtoms;
523
+ Object_getPrototypeOf = $Object2.getPrototypeOf || null;
524
+ return Object_getPrototypeOf;
525
+ }
526
+ var implementation;
527
+ var hasRequiredImplementation;
528
+ function requireImplementation() {
529
+ if (hasRequiredImplementation) return implementation;
530
+ hasRequiredImplementation = 1;
531
+ var ERROR_MESSAGE = "Function.prototype.bind called on incompatible ";
532
+ var toStr2 = Object.prototype.toString;
533
+ var max2 = Math.max;
534
+ var funcType = "[object Function]";
535
+ var concatty = function concatty2(a, b) {
536
+ var arr = [];
537
+ for (var i = 0; i < a.length; i += 1) {
538
+ arr[i] = a[i];
539
+ }
540
+ for (var j = 0; j < b.length; j += 1) {
541
+ arr[j + a.length] = b[j];
542
+ }
543
+ return arr;
544
+ };
545
+ var slicy = function slicy2(arrLike, offset) {
546
+ var arr = [];
547
+ for (var i = offset, j = 0; i < arrLike.length; i += 1, j += 1) {
548
+ arr[j] = arrLike[i];
546
549
  }
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,
561
- concatty(args, arguments)
562
- );
563
- if (Object(result) === result) {
564
- return result;
550
+ return arr;
551
+ };
552
+ var joiny = function(arr, joiner) {
553
+ var str = "";
554
+ for (var i = 0; i < arr.length; i += 1) {
555
+ str += arr[i];
556
+ if (i + 1 < arr.length) {
557
+ str += joiner;
565
558
  }
566
- return this;
567
559
  }
568
- return target.apply(
569
- that,
570
- concatty(args, arguments)
571
- );
560
+ return str;
572
561
  };
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() {
562
+ implementation = function bind2(that) {
563
+ var target = this;
564
+ if (typeof target !== "function" || toStr2.apply(target) !== funcType) {
565
+ throw new TypeError(ERROR_MESSAGE + target);
566
+ }
567
+ var args = slicy(arguments, 1);
568
+ var bound;
569
+ var binder = function() {
570
+ if (this instanceof bound) {
571
+ var result = target.apply(
572
+ this,
573
+ concatty(args, arguments)
574
+ );
575
+ if (Object(result) === result) {
576
+ return result;
577
+ }
578
+ return this;
579
+ }
580
+ return target.apply(
581
+ that,
582
+ concatty(args, arguments)
583
+ );
581
584
  };
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;
585
+ var boundLength = max2(0, target.length - args.length);
586
+ var boundArgs = [];
587
+ for (var i = 0; i < boundLength; i++) {
588
+ boundArgs[i] = "$" + i;
589
+ }
590
+ bound = Function("binder", "return function (" + joiny(boundArgs, ",") + "){ return binder.apply(this,arguments); }")(binder);
591
+ if (target.prototype) {
592
+ var Empty = function Empty2() {
593
+ };
594
+ Empty.prototype = target.prototype;
595
+ bound.prototype = new Empty();
596
+ Empty.prototype = null;
597
+ }
598
+ return bound;
599
+ };
600
+ return implementation;
601
+ }
602
+ var functionBind;
603
+ var hasRequiredFunctionBind;
604
+ function requireFunctionBind() {
605
+ if (hasRequiredFunctionBind) return functionBind;
606
+ hasRequiredFunctionBind = 1;
607
+ var implementation2 = requireImplementation();
608
+ functionBind = Function.prototype.bind || implementation2;
609
+ return functionBind;
610
+ }
611
+ var functionCall;
612
+ var hasRequiredFunctionCall;
613
+ function requireFunctionCall() {
614
+ if (hasRequiredFunctionCall) return functionCall;
615
+ hasRequiredFunctionCall = 1;
616
+ functionCall = Function.prototype.call;
617
+ return functionCall;
618
+ }
591
619
  var functionApply;
592
620
  var hasRequiredFunctionApply;
593
621
  function requireFunctionApply() {
@@ -597,14 +625,14 @@ function requireFunctionApply() {
597
625
  return functionApply;
598
626
  }
599
627
  var reflectApply$1 = typeof Reflect !== "undefined" && Reflect && Reflect.apply;
600
- var bind$3 = functionBind;
628
+ var bind$3 = requireFunctionBind();
601
629
  var $apply$2 = requireFunctionApply();
602
- var $call$2 = functionCall;
630
+ var $call$2 = requireFunctionCall();
603
631
  var $reflectApply = reflectApply$1;
604
632
  var actualApply$1 = $reflectApply || bind$3.call($call$2, $apply$2);
605
- var bind$2 = functionBind;
633
+ var bind$2 = requireFunctionBind();
606
634
  var $TypeError$4 = type;
607
- var $call$1 = functionCall;
635
+ var $call$1 = requireFunctionCall();
608
636
  var $actualApply = actualApply$1;
609
637
  var callBindApplyHelpers = function callBindBasic(args) {
610
638
  if (args.length < 1 || typeof args[0] !== "function") {
@@ -637,7 +665,7 @@ var get = desc && typeof desc.get === "function" ? callBind$2([desc.get]) : type
637
665
  }
638
666
  ) : false;
639
667
  var reflectGetProto = Reflect_getPrototypeOf;
640
- var originalGetProto = Object_getPrototypeOf;
668
+ var originalGetProto = requireObject_getPrototypeOf();
641
669
  var getDunderProto = get;
642
670
  var getProto$3 = reflectGetProto ? function getProto(O) {
643
671
  return reflectGetProto(O);
@@ -656,8 +684,8 @@ function requireHasown() {
656
684
  hasRequiredHasown = 1;
657
685
  var call = Function.prototype.call;
658
686
  var $hasOwn = Object.prototype.hasOwnProperty;
659
- var bind3 = functionBind;
660
- hasown = bind3.call(call, $hasOwn);
687
+ var bind2 = requireFunctionBind();
688
+ hasown = bind2.call(call, $hasOwn);
661
689
  return hasown;
662
690
  }
663
691
  var undefined$1;
@@ -671,7 +699,7 @@ var $TypeError$3 = type;
671
699
  var $URIError = uri;
672
700
  var abs = abs$1;
673
701
  var floor = floor$1;
674
- var max = max$2;
702
+ var max = max$1;
675
703
  var min = min$1;
676
704
  var pow = pow$1;
677
705
  var round = round$1;
@@ -702,10 +730,10 @@ var ThrowTypeError = $gOPD ? function() {
702
730
  }() : throwTypeError;
703
731
  var hasSymbols2 = requireHasSymbols()();
704
732
  var getProto$2 = getProto$3;
705
- var $ObjectGPO = Object_getPrototypeOf;
733
+ var $ObjectGPO = requireObject_getPrototypeOf();
706
734
  var $ReflectGPO = Reflect_getPrototypeOf;
707
735
  var $apply$1 = requireFunctionApply();
708
- var $call = functionCall;
736
+ var $call = requireFunctionCall();
709
737
  var needsEval = {};
710
738
  var TypedArray = typeof Uint8Array === "undefined" || !getProto$2 ? undefined$1 : getProto$2(Uint8Array);
711
739
  var INTRINSICS = {
@@ -876,7 +904,7 @@ var LEGACY_ALIASES = {
876
904
  "%WeakMapPrototype%": ["WeakMap", "prototype"],
877
905
  "%WeakSetPrototype%": ["WeakSet", "prototype"]
878
906
  };
879
- var bind$1 = functionBind;
907
+ var bind$1 = requireFunctionBind();
880
908
  var hasOwn$1 = requireHasown();
881
909
  var $concat = bind$1.call($call, Array.prototype.concat);
882
910
  var $spliceApply = bind$1.call($apply$1, Array.prototype.splice);
@@ -1418,11 +1446,11 @@ var setFunctionLength = function setFunctionLength2(fn2, length) {
1418
1446
  }
1419
1447
  return fn2;
1420
1448
  };
1421
- var bind2 = functionBind;
1449
+ var bind = requireFunctionBind();
1422
1450
  var $apply = requireFunctionApply();
1423
1451
  var actualApply = actualApply$1;
1424
1452
  var applyBind = function applyBind2() {
1425
- return actualApply(bind2, $apply, arguments);
1453
+ return actualApply(bind, $apply, arguments);
1426
1454
  };
1427
1455
  (function(module) {
1428
1456
  var setFunctionLength$1 = setFunctionLength;
@@ -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;
package/dist/style.css CHANGED
@@ -960,6 +960,11 @@ on the right if it is inside shape textbox.
960
960
  .pagination-section-footer img[contenteditable="false"] {
961
961
  pointer-events: none;
962
962
  }
963
+ .pagination-break-wrapper {
964
+ font-weight: normal;
965
+ font-style: normal;
966
+ color: initial;
967
+ }
963
968
  /* TODO: This is going to be enabled again */
964
969
  /* .pagination-section-header div[contenteditable="false"]:not([documentmode="viewing"]),
965
970
  .pagination-section-footer div[contenteditable="false"]:not([documentmode="viewing"]) {