@pdfme/ui 4.2.5-dev.6 → 4.3.0

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.
package/dist/index.es.js CHANGED
@@ -59762,7 +59762,7 @@ function getMods(a, s) {
59762
59762
  $[_] = a[$[_].toLowerCase()];
59763
59763
  return $;
59764
59764
  }
59765
- function getKeys$3(a) {
59765
+ function getKeys$2(a) {
59766
59766
  typeof a != "string" && (a = ""), a = a.replace(/\s/g, "");
59767
59767
  const s = a.split(",");
59768
59768
  let $ = s.lastIndexOf("");
@@ -59951,7 +59951,7 @@ const eachUnbind = (a) => {
59951
59951
  method: _,
59952
59952
  splitKey: _e = "+"
59953
59953
  } = a;
59954
- getKeys$3(s).forEach((nt) => {
59954
+ getKeys$2(s).forEach((nt) => {
59955
59955
  const at = nt.split(_e), ot = at.length, rt = at[ot - 1], st = rt === "*" ? "*" : code(rt);
59956
59956
  if (!_handlers[st])
59957
59957
  return;
@@ -60010,7 +60010,7 @@ function isElementBind(a) {
60010
60010
  }
60011
60011
  function hotkeys(a, s, $) {
60012
60012
  _downKeys = [];
60013
- const _ = getKeys$3(a);
60013
+ const _ = getKeys$2(a);
60014
60014
  let _e = [], tt = "all", nt = document, at = 0, ot = !1, rt = !0, st = "+", lt = !1, et = !1;
60015
60015
  for ($ === void 0 && typeof s == "function" && ($ = s), Object.prototype.toString.call(s) === "[object Object]" && (s.scope && (tt = s.scope), s.element && (nt = s.element), s.keyup && (ot = s.keyup), s.keydown !== void 0 && (rt = s.keydown), s.capture !== void 0 && (lt = s.capture), typeof s.splitKey == "string" && (st = s.splitKey), s.single === !0 && (et = !0)), typeof s == "string" && (tt = s), et && unbind(a, tt); at < _.length; at++)
60016
60016
  a = _[at].split(st), _e = [], a.length > 1 && (_e = getMods(_modifier, a)), a = a[a.length - 1], a = a === "*" ? "*" : code(a), a in _handlers || (_handlers[a] = []), _handlers[a].push({
@@ -87198,7 +87198,7 @@ var parseStyle = function a(s) {
87198
87198
  function uniqueHash(a, s) {
87199
87199
  return murmur2("".concat(a.join("%")).concat(s));
87200
87200
  }
87201
- function Empty$4() {
87201
+ function Empty$3() {
87202
87202
  return null;
87203
87203
  }
87204
87204
  var STYLE_PREFIX = "style";
@@ -87258,7 +87258,7 @@ function useStyleRegister(a, s) {
87258
87258
  return function(St) {
87259
87259
  var Bt;
87260
87260
  if (!ft || ct || !et)
87261
- Bt = /* @__PURE__ */ reactExports.createElement(Empty$4, null);
87261
+ Bt = /* @__PURE__ */ reactExports.createElement(Empty$3, null);
87262
87262
  else {
87263
87263
  var Ot;
87264
87264
  Bt = /* @__PURE__ */ reactExports.createElement("style", _extends$2({}, (Ot = {}, _defineProperty$c(Ot, ATTR_TOKEN, bt), _defineProperty$c(Ot, ATTR_MARK, Et), Ot), {
@@ -99400,7 +99400,7 @@ function getStatusClassNames(a, s, $) {
99400
99400
  [`${a}-has-feedback`]: $
99401
99401
  });
99402
99402
  }
99403
- const getMergedStatus = (a, s) => s || a, Empty$3 = () => {
99403
+ const getMergedStatus = (a, s) => s || a, Empty$2 = () => {
99404
99404
  const [, a] = useToken$1(), $ = new TinyColor(a.colorBgBase).toHsl().l < 0.5 ? {
99405
99405
  opacity: 0.65
99406
99406
  } : {};
@@ -99449,7 +99449,7 @@ const getMergedStatus = (a, s) => s || a, Empty$3 = () => {
99449
99449
  }), /* @__PURE__ */ reactExports.createElement("path", {
99450
99450
  d: "M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"
99451
99451
  }))));
99452
- }, DefaultEmptyImg = Empty$3, Simple = () => {
99452
+ }, DefaultEmptyImg = Empty$2, Simple = () => {
99453
99453
  const [, a] = useToken$1(), {
99454
99454
  colorFill: s,
99455
99455
  colorFillTertiary: $,
@@ -99565,7 +99565,7 @@ var __rest$X = function(a, s) {
99565
99565
  s.indexOf(_[_e]) < 0 && Object.prototype.propertyIsEnumerable.call(a, _[_e]) && ($[_[_e]] = a[_[_e]]);
99566
99566
  return $;
99567
99567
  };
99568
- const defaultEmptyImg = /* @__PURE__ */ reactExports.createElement(DefaultEmptyImg, null), simpleEmptyImg = /* @__PURE__ */ reactExports.createElement(SimpleEmptyImg, null), Empty$1 = (a) => {
99568
+ const defaultEmptyImg = /* @__PURE__ */ reactExports.createElement(DefaultEmptyImg, null), simpleEmptyImg = /* @__PURE__ */ reactExports.createElement(SimpleEmptyImg, null), Empty = (a) => {
99569
99569
  var {
99570
99570
  className: s,
99571
99571
  rootClassName: $,
@@ -99600,9 +99600,9 @@ const defaultEmptyImg = /* @__PURE__ */ reactExports.createElement(DefaultEmptyI
99600
99600
  className: `${it}-footer`
99601
99601
  }, nt)));
99602
99602
  };
99603
- Empty$1.PRESENTED_IMAGE_DEFAULT = defaultEmptyImg;
99604
- Empty$1.PRESENTED_IMAGE_SIMPLE = simpleEmptyImg;
99605
- const Empty$2 = Empty$1, DefaultRenderEmpty = (a) => {
99603
+ Empty.PRESENTED_IMAGE_DEFAULT = defaultEmptyImg;
99604
+ Empty.PRESENTED_IMAGE_SIMPLE = simpleEmptyImg;
99605
+ const Empty$1 = Empty, DefaultRenderEmpty = (a) => {
99606
99606
  const {
99607
99607
  componentName: s
99608
99608
  } = a, {
@@ -99611,20 +99611,20 @@ const Empty$2 = Empty$1, DefaultRenderEmpty = (a) => {
99611
99611
  switch (s) {
99612
99612
  case "Table":
99613
99613
  case "List":
99614
- return /* @__PURE__ */ React$a.createElement(Empty$2, {
99615
- image: Empty$2.PRESENTED_IMAGE_SIMPLE
99614
+ return /* @__PURE__ */ React$a.createElement(Empty$1, {
99615
+ image: Empty$1.PRESENTED_IMAGE_SIMPLE
99616
99616
  });
99617
99617
  case "Select":
99618
99618
  case "TreeSelect":
99619
99619
  case "Cascader":
99620
99620
  case "Transfer":
99621
99621
  case "Mentions":
99622
- return /* @__PURE__ */ React$a.createElement(Empty$2, {
99623
- image: Empty$2.PRESENTED_IMAGE_SIMPLE,
99622
+ return /* @__PURE__ */ React$a.createElement(Empty$1, {
99623
+ image: Empty$1.PRESENTED_IMAGE_SIMPLE,
99624
99624
  className: `${_}-small`
99625
99625
  });
99626
99626
  default:
99627
- return /* @__PURE__ */ React$a.createElement(Empty$2, null);
99627
+ return /* @__PURE__ */ React$a.createElement(Empty$1, null);
99628
99628
  }
99629
99629
  }, DefaultRenderEmpty$1 = DefaultRenderEmpty, genItemStyle = (a) => {
99630
99630
  const {
@@ -119255,10 +119255,10 @@ function getOffset$2(a) {
119255
119255
  top: s.top + (window.pageYOffset || $.scrollTop) - ($.clientTop || document.body.clientTop || 0)
119256
119256
  };
119257
119257
  }
119258
- var COMMON_PROPS = ["crossOrigin", "decoding", "draggable", "loading", "referrerPolicy", "sizes", "srcSet", "useMap", "alt"], PreviewGroupContext = /* @__PURE__ */ reactExports.createContext(null), uid$4 = 0;
119258
+ var COMMON_PROPS = ["crossOrigin", "decoding", "draggable", "loading", "referrerPolicy", "sizes", "srcSet", "useMap", "alt"], PreviewGroupContext = /* @__PURE__ */ reactExports.createContext(null), uid$3 = 0;
119259
119259
  function useRegisterImage(a, s) {
119260
119260
  var $ = reactExports.useState(function() {
119261
- return uid$4 += 1, String(uid$4);
119261
+ return uid$3 += 1, String(uid$3);
119262
119262
  }), _ = _slicedToArray$e($, 1), _e = _[0], tt = reactExports.useContext(PreviewGroupContext), nt = {
119263
119263
  data: s,
119264
119264
  canPreview: a
@@ -129650,8 +129650,8 @@ function FilterDropdown(a) {
129650
129650
  else if (tt.filterDropdown)
129651
129651
  Vt = tt.filterDropdown;
129652
129652
  else {
129653
- const ar = Ot() || [], Jt = () => (tt.filters || []).length === 0 ? /* @__PURE__ */ reactExports.createElement(Empty$2, {
129654
- image: Empty$2.PRESENTED_IMAGE_SIMPLE,
129653
+ const ar = Ot() || [], Jt = () => (tt.filters || []).length === 0 ? /* @__PURE__ */ reactExports.createElement(Empty$1, {
129654
+ image: Empty$1.PRESENTED_IMAGE_SIMPLE,
129655
129655
  description: it.filterEmptyText,
129656
129656
  imageStyle: {
129657
129657
  height: 24
@@ -133631,7 +133631,7 @@ function upload(a) {
133631
133631
  };
133632
133632
  }
133633
133633
  var now$1 = +/* @__PURE__ */ new Date(), index$3 = 0;
133634
- function uid$3() {
133634
+ function uid$2() {
133635
133635
  return "rc-upload-".concat(now$1, "-").concat(++index$3);
133636
133636
  }
133637
133637
  const attrAccept = function(a, s) {
@@ -133694,7 +133694,7 @@ var traverseFileTree = function a(s, $, _) {
133694
133694
  for (var _e = arguments.length, tt = new Array(_e), nt = 0; nt < _e; nt++)
133695
133695
  tt[nt] = arguments[nt];
133696
133696
  return _ = s.call.apply(s, [this].concat(tt)), _.state = {
133697
- uid: uid$3()
133697
+ uid: uid$2()
133698
133698
  }, _.reqs = {}, _.fileInput = void 0, _._isMounted = void 0, _.onChange = function(at) {
133699
133699
  var ot = _.props, rt = ot.accept, st = ot.directory, lt = at.target.files, et = _toConsumableArray$d(lt).filter(function(it) {
133700
133700
  return !st || attrAccept(it, rt);
@@ -133727,7 +133727,7 @@ var traverseFileTree = function a(s, $, _) {
133727
133727
  }
133728
133728
  }, _.uploadFiles = function(at) {
133729
133729
  var ot = _toConsumableArray$d(at), rt = ot.map(function(st) {
133730
- return st.uid = uid$3(), _.processFile(st, ot);
133730
+ return st.uid = uid$2(), _.processFile(st, ot);
133731
133731
  });
133732
133732
  Promise.all(rt).then(function(st) {
133733
133733
  var lt = _.props.onBatchStart;
@@ -133860,7 +133860,7 @@ var traverseFileTree = function a(s, $, _) {
133860
133860
  key: "reset",
133861
133861
  value: function() {
133862
133862
  this.setState({
133863
- uid: uid$3()
133863
+ uid: uid$2()
133864
133864
  });
133865
133865
  }
133866
133866
  }, {
@@ -142413,11 +142413,11 @@ var _ie8DomDefine = !require_descriptors() && !require_fails()(function() {
142413
142413
  if (s && typeof ($ = a.toString) == "function" && !isObject$4(_ = $.call(a)) || typeof ($ = a.valueOf) == "function" && !isObject$4(_ = $.call(a)) || !s && typeof ($ = a.toString) == "function" && !isObject$4(_ = $.call(a)))
142414
142414
  return _;
142415
142415
  throw TypeError("Can't convert object to primitive value");
142416
- }, anObject$3 = _anObject, IE8_DOM_DEFINE$1 = _ie8DomDefine, toPrimitive$3 = _toPrimitive$5, dP$3 = Object.defineProperty;
142416
+ }, anObject$1 = _anObject, IE8_DOM_DEFINE$1 = _ie8DomDefine, toPrimitive$3 = _toPrimitive$5, dP$2 = Object.defineProperty;
142417
142417
  _objectDp.f = require_descriptors() ? Object.defineProperty : function a(s, $, _) {
142418
- if (anObject$3(s), $ = toPrimitive$3($, !0), anObject$3(_), IE8_DOM_DEFINE$1)
142418
+ if (anObject$1(s), $ = toPrimitive$3($, !0), anObject$1(_), IE8_DOM_DEFINE$1)
142419
142419
  try {
142420
- return dP$3(s, $, _);
142420
+ return dP$2(s, $, _);
142421
142421
  } catch {
142422
142422
  }
142423
142423
  if ("get" in _ || "set" in _)
@@ -142431,14 +142431,14 @@ var _propertyDesc = function(a, s) {
142431
142431
  writable: !(a & 4),
142432
142432
  value: s
142433
142433
  };
142434
- }, dP$2 = _objectDp, createDesc$2 = _propertyDesc, _hide = require_descriptors() ? function(a, s, $) {
142435
- return dP$2.f(a, s, createDesc$2(1, $));
142434
+ }, dP$1 = _objectDp, createDesc$2 = _propertyDesc, _hide = require_descriptors() ? function(a, s, $) {
142435
+ return dP$1.f(a, s, createDesc$2(1, $));
142436
142436
  } : function(a, s, $) {
142437
142437
  return a[s] = $, a;
142438
142438
  }, hasOwnProperty = {}.hasOwnProperty, _has = function(a, s) {
142439
142439
  return hasOwnProperty.call(a, s);
142440
- }, global$4 = _globalExports, core$2 = _coreExports, ctx = _ctx, hide$1 = _hide, has$4 = _has, PROTOTYPE$2 = "prototype", $export$5 = function(a, s, $) {
142441
- var _ = a & $export$5.F, _e = a & $export$5.G, tt = a & $export$5.S, nt = a & $export$5.P, at = a & $export$5.B, ot = a & $export$5.W, rt = _e ? core$2 : core$2[s] || (core$2[s] = {}), st = rt[PROTOTYPE$2], lt = _e ? global$4 : tt ? global$4[s] : (global$4[s] || {})[PROTOTYPE$2], et, it, ut;
142440
+ }, global$4 = _globalExports, core$2 = _coreExports, ctx = _ctx, hide$1 = _hide, has$4 = _has, PROTOTYPE$1 = "prototype", $export$5 = function(a, s, $) {
142441
+ var _ = a & $export$5.F, _e = a & $export$5.G, tt = a & $export$5.S, nt = a & $export$5.P, at = a & $export$5.B, ot = a & $export$5.W, rt = _e ? core$2 : core$2[s] || (core$2[s] = {}), st = rt[PROTOTYPE$1], lt = _e ? global$4 : tt ? global$4[s] : (global$4[s] || {})[PROTOTYPE$1], et, it, ut;
142442
142442
  _e && ($ = s);
142443
142443
  for (et in $)
142444
142444
  it = !_ && lt && lt[et] !== void 0, !(it && has$4(rt, et)) && (ut = it ? lt[et] : $[et], rt[et] = _e && typeof lt[et] != "function" ? $[et] : at && it ? ctx(ut, global$4) : ot && lt[et] == ut ? function(ft) {
@@ -142456,7 +142456,7 @@ var _propertyDesc = function(a, s) {
142456
142456
  }
142457
142457
  return ft.apply(this, arguments);
142458
142458
  };
142459
- return ht[PROTOTYPE$2] = ft[PROTOTYPE$2], ht;
142459
+ return ht[PROTOTYPE$1] = ft[PROTOTYPE$1], ht;
142460
142460
  }(ut) : nt && typeof ut == "function" ? ctx(Function.call, ut) : ut, nt && ((rt.virtual || (rt.virtual = {}))[et] = ut, a & $export$5.R && st && !st[et] && hide$1(st, et, ut)));
142461
142461
  };
142462
142462
  $export$5.F = 1;
@@ -142550,14 +142550,22 @@ var _shared = { exports: {} }, _library = !0, core$1 = _coreExports, global$3 =
142550
142550
  });
142551
142551
  var _sharedExports = _shared.exports, id$1 = 0, px = Math.random(), _uid = function(a) {
142552
142552
  return "Symbol(".concat(a === void 0 ? "" : a, ")_", (++id$1 + px).toString(36));
142553
- }, shared$1 = _sharedExports("keys"), uid$2 = _uid, _sharedKey = function(a) {
142554
- return shared$1[a] || (shared$1[a] = uid$2(a));
142555
- }, _objectKeysInternal, hasRequired_objectKeysInternal;
142553
+ }, _sharedKey, hasRequired_sharedKey;
142554
+ function require_sharedKey() {
142555
+ if (hasRequired_sharedKey)
142556
+ return _sharedKey;
142557
+ hasRequired_sharedKey = 1;
142558
+ var a = _sharedExports("keys"), s = _uid;
142559
+ return _sharedKey = function($) {
142560
+ return a[$] || (a[$] = s($));
142561
+ }, _sharedKey;
142562
+ }
142563
+ var _objectKeysInternal, hasRequired_objectKeysInternal;
142556
142564
  function require_objectKeysInternal() {
142557
142565
  if (hasRequired_objectKeysInternal)
142558
142566
  return _objectKeysInternal;
142559
142567
  hasRequired_objectKeysInternal = 1;
142560
- var a = _has, s = _toIobject, $ = require_arrayIncludes()(!1), _ = _sharedKey("IE_PROTO");
142568
+ var a = _has, s = _toIobject, $ = require_arrayIncludes()(!1), _ = require_sharedKey()("IE_PROTO");
142561
142569
  return _objectKeysInternal = function(_e, tt) {
142562
142570
  var nt = s(_e), at = 0, ot = [], rt;
142563
142571
  for (rt in nt)
@@ -142567,12 +142575,16 @@ function require_objectKeysInternal() {
142567
142575
  return ot;
142568
142576
  }, _objectKeysInternal;
142569
142577
  }
142570
- var _enumBugKeys = "constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(","), _objectKeys, hasRequired_objectKeys;
142578
+ var _enumBugKeys, hasRequired_enumBugKeys;
142579
+ function require_enumBugKeys() {
142580
+ return hasRequired_enumBugKeys || (hasRequired_enumBugKeys = 1, _enumBugKeys = "constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")), _enumBugKeys;
142581
+ }
142582
+ var _objectKeys, hasRequired_objectKeys;
142571
142583
  function require_objectKeys() {
142572
142584
  if (hasRequired_objectKeys)
142573
142585
  return _objectKeys;
142574
142586
  hasRequired_objectKeys = 1;
142575
- var a = require_objectKeysInternal(), s = _enumBugKeys;
142587
+ var a = require_objectKeysInternal(), s = require_enumBugKeys();
142576
142588
  return _objectKeys = Object.keys || function(_) {
142577
142589
  return a(_, s);
142578
142590
  }, _objectKeys;
@@ -143284,12 +143296,20 @@ var _default$f = /* @__PURE__ */ function() {
143284
143296
  var _ = String(defined(s)), _e = toInteger($), tt = _.length, nt, at;
143285
143297
  return _e < 0 || _e >= tt ? a ? "" : void 0 : (nt = _.charCodeAt(_e), nt < 55296 || nt > 56319 || _e + 1 === tt || (at = _.charCodeAt(_e + 1)) < 56320 || at > 57343 ? a ? _.charAt(_e) : nt : a ? _.slice(_e, _e + 2) : (nt - 55296 << 10) + (at - 56320) + 65536);
143286
143298
  };
143287
- }, _redefine = _hide, _iterators = {}, dP$1 = _objectDp, anObject$2 = _anObject, getKeys$2 = require_objectKeys(), _objectDps = require_descriptors() ? Object.defineProperties : function a(s, $) {
143288
- anObject$2(s);
143289
- for (var _ = getKeys$2($), _e = _.length, tt = 0, nt; _e > tt; )
143290
- dP$1.f(s, nt = _[tt++], $[nt]);
143291
- return s;
143292
- }, _html, hasRequired_html;
143299
+ }, _redefine = _hide, _iterators = {}, _objectDps, hasRequired_objectDps;
143300
+ function require_objectDps() {
143301
+ if (hasRequired_objectDps)
143302
+ return _objectDps;
143303
+ hasRequired_objectDps = 1;
143304
+ var a = _objectDp, s = _anObject, $ = require_objectKeys();
143305
+ return _objectDps = require_descriptors() ? Object.defineProperties : function(_e, tt) {
143306
+ s(_e);
143307
+ for (var nt = $(tt), at = nt.length, ot = 0, rt; at > ot; )
143308
+ a.f(_e, rt = nt[ot++], tt[rt]);
143309
+ return _e;
143310
+ }, _objectDps;
143311
+ }
143312
+ var _html, hasRequired_html;
143293
143313
  function require_html() {
143294
143314
  if (hasRequired_html)
143295
143315
  return _html;
@@ -143297,16 +143317,24 @@ function require_html() {
143297
143317
  var a = _globalExports.document;
143298
143318
  return _html = a && a.documentElement, _html;
143299
143319
  }
143300
- var anObject$1 = _anObject, dPs = _objectDps, enumBugKeys = _enumBugKeys, IE_PROTO = _sharedKey("IE_PROTO"), Empty = function() {
143301
- }, PROTOTYPE$1 = "prototype", createDict = function() {
143302
- var a = require_domCreate()("iframe"), s = enumBugKeys.length, $ = "<", _ = ">", _e;
143303
- for (a.style.display = "none", require_html().appendChild(a), a.src = "javascript:", _e = a.contentWindow.document, _e.open(), _e.write($ + "script" + _ + "document.F=Object" + $ + "/script" + _), _e.close(), createDict = _e.F; s--; )
143304
- delete createDict[PROTOTYPE$1][enumBugKeys[s]];
143305
- return createDict();
143306
- }, _objectCreate = Object.create || function a(s, $) {
143307
- var _;
143308
- return s !== null ? (Empty[PROTOTYPE$1] = anObject$1(s), _ = new Empty(), Empty[PROTOTYPE$1] = null, _[IE_PROTO] = s) : _ = createDict(), $ === void 0 ? _ : dPs(_, $);
143309
- }, _wks = { exports: {} }, store = _sharedExports("wks"), uid$1 = _uid, Symbol$1 = _globalExports.Symbol, USE_SYMBOL = typeof Symbol$1 == "function", $exports = _wks.exports = function(a) {
143320
+ var _objectCreate, hasRequired_objectCreate;
143321
+ function require_objectCreate() {
143322
+ if (hasRequired_objectCreate)
143323
+ return _objectCreate;
143324
+ hasRequired_objectCreate = 1;
143325
+ var a = _anObject, s = require_objectDps(), $ = require_enumBugKeys(), _ = require_sharedKey()("IE_PROTO"), _e = function() {
143326
+ }, tt = "prototype", nt = function() {
143327
+ var at = require_domCreate()("iframe"), ot = $.length, rt = "<", st = ">", lt;
143328
+ for (at.style.display = "none", require_html().appendChild(at), at.src = "javascript:", lt = at.contentWindow.document, lt.open(), lt.write(rt + "script" + st + "document.F=Object" + rt + "/script" + st), lt.close(), nt = lt.F; ot--; )
143329
+ delete nt[tt][$[ot]];
143330
+ return nt();
143331
+ };
143332
+ return _objectCreate = Object.create || function(ot, rt) {
143333
+ var st;
143334
+ return ot !== null ? (_e[tt] = a(ot), st = new _e(), _e[tt] = null, st[_] = ot) : st = nt(), rt === void 0 ? st : s(st, rt);
143335
+ }, _objectCreate;
143336
+ }
143337
+ var _wks = { exports: {} }, store = _sharedExports("wks"), uid$1 = _uid, Symbol$1 = _globalExports.Symbol, USE_SYMBOL = typeof Symbol$1 == "function", $exports = _wks.exports = function(a) {
143310
143338
  return store[a] || (store[a] = USE_SYMBOL && Symbol$1[a] || (USE_SYMBOL ? Symbol$1 : uid$1)("Symbol." + a));
143311
143339
  };
143312
143340
  $exports.store = store;
@@ -143317,7 +143345,7 @@ function require_iterCreate() {
143317
143345
  if (hasRequired_iterCreate)
143318
143346
  return _iterCreate;
143319
143347
  hasRequired_iterCreate = 1;
143320
- var a = _objectCreate, s = _propertyDesc, $ = _setToStringTag, _ = {};
143348
+ var a = require_objectCreate(), s = _propertyDesc, $ = _setToStringTag, _ = {};
143321
143349
  return _hide(_, _wksExports("iterator"), function() {
143322
143350
  return this;
143323
143351
  }), _iterCreate = function(_e, tt, nt) {
@@ -143329,7 +143357,7 @@ function require_objectGpo() {
143329
143357
  if (hasRequired_objectGpo)
143330
143358
  return _objectGpo;
143331
143359
  hasRequired_objectGpo = 1;
143332
- var a = _has, s = require_toObject(), $ = _sharedKey("IE_PROTO"), _ = Object.prototype;
143360
+ var a = _has, s = require_toObject(), $ = require_sharedKey()("IE_PROTO"), _ = Object.prototype;
143333
143361
  return _objectGpo = Object.getPrototypeOf || function(_e) {
143334
143362
  return _e = s(_e), a(_e, $) ? _e[$] : typeof _e.constructor == "function" && _e instanceof _e.constructor ? _e.constructor.prototype : _e instanceof Object ? _ : null;
143335
143363
  }, _objectGpo;
@@ -143450,7 +143478,7 @@ var iterator$1 = _wksExt.f("iterator"), iterator = { default: iterator$1, __esMo
143450
143478
  return s;
143451
143479
  }, cof = require_cof(), _isArray = Array.isArray || function a(s) {
143452
143480
  return cof(s) == "Array";
143453
- }, _objectGopnExt = {}, _objectGopn = {}, $keys$1 = require_objectKeysInternal(), hiddenKeys = _enumBugKeys.concat("length", "prototype");
143481
+ }, _objectGopnExt = {}, _objectGopn = {}, $keys$1 = require_objectKeysInternal(), hiddenKeys = require_enumBugKeys().concat("length", "prototype");
143454
143482
  _objectGopn.f = Object.getOwnPropertyNames || function a(s) {
143455
143483
  return $keys$1(s, hiddenKeys);
143456
143484
  };
@@ -143474,7 +143502,7 @@ _objectGopd.f = require_descriptors() ? gOPD$1 : function a(s, $) {
143474
143502
  if (has$1(s, $))
143475
143503
  return createDesc$1(!pIE.f.call(s, $), s[$]);
143476
143504
  };
143477
- var global$1 = _globalExports, has = _has, DESCRIPTORS = require_descriptors(), $export$2 = _export, redefine = _redefine, META = _metaExports.KEY, $fails = require_fails(), shared = _sharedExports, setToStringTag = _setToStringTag, uid = _uid, wks = _wksExports, wksExt = _wksExt, wksDefine = _wksDefine, enumKeys = _enumKeys, isArray$1 = _isArray, anObject = _anObject, isObject$2 = _isObject, toObject = require_toObject(), toIObject = _toIobject, toPrimitive$1 = _toPrimitive$5, createDesc = _propertyDesc, _create$1 = _objectCreate, gOPNExt = _objectGopnExt, $GOPD = _objectGopd, $GOPS = require_objectGops(), $DP = _objectDp, $keys = require_objectKeys(), gOPD = $GOPD.f, dP = $DP.f, gOPN = gOPNExt.f, $Symbol = global$1.Symbol, $JSON = global$1.JSON, _stringify = $JSON && $JSON.stringify, PROTOTYPE = "prototype", HIDDEN = wks("_hidden"), TO_PRIMITIVE = wks("toPrimitive"), isEnum = {}.propertyIsEnumerable, SymbolRegistry = shared("symbol-registry"), AllSymbols = shared("symbols"), OPSymbols = shared("op-symbols"), ObjectProto = Object[PROTOTYPE], USE_NATIVE = typeof $Symbol == "function" && !!$GOPS.f, QObject = global$1.QObject, setter = !QObject || !QObject[PROTOTYPE] || !QObject[PROTOTYPE].findChild, setSymbolDesc = DESCRIPTORS && $fails(function() {
143505
+ var global$1 = _globalExports, has = _has, DESCRIPTORS = require_descriptors(), $export$2 = _export, redefine = _redefine, META = _metaExports.KEY, $fails = require_fails(), shared = _sharedExports, setToStringTag = _setToStringTag, uid = _uid, wks = _wksExports, wksExt = _wksExt, wksDefine = _wksDefine, enumKeys = _enumKeys, isArray$1 = _isArray, anObject = _anObject, isObject$2 = _isObject, toObject = require_toObject(), toIObject = _toIobject, toPrimitive$1 = _toPrimitive$5, createDesc = _propertyDesc, _create$1 = require_objectCreate(), gOPNExt = _objectGopnExt, $GOPD = _objectGopd, $GOPS = require_objectGops(), $DP = _objectDp, $keys = require_objectKeys(), gOPD = $GOPD.f, dP = $DP.f, gOPN = gOPNExt.f, $Symbol = global$1.Symbol, $JSON = global$1.JSON, _stringify = $JSON && $JSON.stringify, PROTOTYPE = "prototype", HIDDEN = wks("_hidden"), TO_PRIMITIVE = wks("toPrimitive"), isEnum = {}.propertyIsEnumerable, SymbolRegistry = shared("symbol-registry"), AllSymbols = shared("symbols"), OPSymbols = shared("op-symbols"), ObjectProto = Object[PROTOTYPE], USE_NATIVE = typeof $Symbol == "function" && !!$GOPS.f, QObject = global$1.QObject, setter = !QObject || !QObject[PROTOTYPE] || !QObject[PROTOTYPE].findChild, setSymbolDesc = DESCRIPTORS && $fails(function() {
143478
143506
  return _create$1(dP({}, "a", {
143479
143507
  get: function() {
143480
143508
  return dP(this, "a", { value: 7 }).a;
@@ -143649,7 +143677,7 @@ function require_setProto() {
143649
143677
  var $export$1 = _export;
143650
143678
  $export$1($export$1.S, "Object", { setPrototypeOf: require_setProto().set });
143651
143679
  var setPrototypeOf$1 = _coreExports.Object.setPrototypeOf, setPrototypeOf = { default: setPrototypeOf$1, __esModule: !0 }, $export = _export;
143652
- $export($export.S, "Object", { create: _objectCreate });
143680
+ $export($export.S, "Object", { create: require_objectCreate() });
143653
143681
  var $Object = _coreExports.Object, create$1 = function a(s, $) {
143654
143682
  return $Object.create(s, $);
143655
143683
  }, create = { default: create$1, __esModule: !0 }, _setPrototypeOf = setPrototypeOf, _setPrototypeOf2 = _interopRequireDefault$c(_setPrototypeOf), _create = create, _create2 = _interopRequireDefault$c(_create), _typeof2 = _typeof$j, _typeof3 = _interopRequireDefault$c(_typeof2);
@@ -162467,7 +162495,7 @@ const Guides$2 = Guides$1, guideStyle = (a, s, $, _) => ({
162467
162495
  dt(Dt), Ct(), pt(0), (Ut = at.current) != null && Ut.scroll && at.current.scroll({ top: 0, behavior: "smooth" });
162468
162496
  }, []), jt = (Tt) => {
162469
162497
  const [Dt, Ut, Vt, Qt] = isBlankPdf(a.basePdf) ? a.basePdf.padding : [0, 0, 0, 0], qt = St[gt], Zt = (rr) => {
162470
- let Yt = ht.reduce((nr, tr) => nr + tr.length, 0), Kt = rr + Yt;
162498
+ let Yt = ht.reduce((nr, tr) => nr + tr.length, 1), Kt = rr + Yt;
162471
162499
  for (; ht.some((nr) => nr.find((tr) => tr.key === Kt)); )
162472
162500
  Yt++, Kt = rr + Yt;
162473
162501
  return Kt;