@campxdev/pdfme 1.2.0 → 1.2.2

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 (36) hide show
  1. package/dist/cjs/chunks/{helper-DU7Bm8ZQ.js → helper-BfoMn47R.js} +16956 -4
  2. package/dist/cjs/chunks/{index-mgS9yYj7.js → index-C8qZMUOU.js} +4 -4
  3. package/dist/cjs/chunks/{index-BzWo8eqh.js → index-COKtXyPp.js} +6 -2
  4. package/dist/cjs/chunks/{index-Co0Y0KJj.js → index-CVqJfcgy.js} +126 -34
  5. package/dist/cjs/chunks/{pluginRegistry-DlJQZP6L.js → pluginRegistry-C8bMreez.js} +1 -1
  6. package/dist/cjs/common.js +7 -3
  7. package/dist/cjs/converter.js +1 -1
  8. package/dist/cjs/generator.js +3 -3
  9. package/dist/cjs/index.js +9 -5
  10. package/dist/cjs/print-designer-editor.js +189 -112
  11. package/dist/cjs/schemas.js +3 -3
  12. package/dist/cjs/ui.js +83031 -72499
  13. package/dist/esm/chunks/{helper-C8LqGaF4.js → helper-D5PPN6Bv.js} +16953 -5
  14. package/dist/esm/chunks/{index-Rwcd_Vzj.js → index-C4F7EwBG.js} +4 -4
  15. package/dist/esm/chunks/{index-CwqHuiCe.js → index-C7jr4GIK.js} +127 -35
  16. package/dist/esm/chunks/{index-d0iAk7OA.js → index-CDhErAtE.js} +3 -3
  17. package/dist/esm/chunks/{pluginRegistry-C0a91XEw.js → pluginRegistry-B-XSNgmK.js} +1 -1
  18. package/dist/esm/common.js +3 -3
  19. package/dist/esm/converter.js +1 -1
  20. package/dist/esm/generator.js +3 -3
  21. package/dist/esm/index.js +5 -5
  22. package/dist/esm/print-designer-editor.js +188 -114
  23. package/dist/esm/schemas.js +5 -5
  24. package/dist/esm/ui.js +83031 -72499
  25. package/dist/types/_vendors/common/constants.d.ts +1 -2
  26. package/dist/types/_vendors/common/googleFontUrls.d.ts +9 -0
  27. package/dist/types/_vendors/common/googleFonts.d.ts +7 -0
  28. package/dist/types/_vendors/common/helper.d.ts +1 -0
  29. package/dist/types/_vendors/common/index.d.ts +3 -2
  30. package/dist/types/_vendors/print-designer-editor/index.d.ts +1 -1
  31. package/dist/types/_vendors/schemas/text/extraFormatter.d.ts +2 -0
  32. package/dist/types/_vendors/schemas/text/fontCache.d.ts +10 -0
  33. package/dist/types/_vendors/schemas/text/helper.d.ts +1 -0
  34. package/dist/types/_vendors/schemas/text/icons/index.d.ts +2 -0
  35. package/dist/types/_vendors/schemas/text/types.d.ts +2 -0
  36. package/package.json +1 -1
@@ -1,12 +1,12 @@
1
1
  'use strict';
2
2
 
3
3
  var React$c = require('react');
4
- var helper = require('./chunks/helper-DU7Bm8ZQ.js');
5
- var pluginRegistry = require('./chunks/pluginRegistry-DlJQZP6L.js');
4
+ var helper = require('./chunks/helper-BfoMn47R.js');
5
+ var pluginRegistry = require('./chunks/pluginRegistry-C8bMreez.js');
6
6
  var expression = require('./chunks/expression-CoTzcL7v.js');
7
- var index$2 = require('./chunks/index-Co0Y0KJj.js');
7
+ var index$2 = require('./chunks/index-CVqJfcgy.js');
8
8
  var ReactDOM__default = require('react-dom');
9
- var index = require('./chunks/index-mgS9yYj7.js');
9
+ var index = require('./chunks/index-C8qZMUOU.js');
10
10
  require('zod');
11
11
  require('buffer');
12
12
  require('acorn');
@@ -98845,7 +98845,7 @@ strings$6.utf8border = function(a, s) {
98845
98845
  function ZStream$6() {
98846
98846
  this.input = null, this.next_in = 0, this.avail_in = 0, this.total_in = 0, this.output = null, this.next_out = 0, this.avail_out = 0, this.total_out = 0, this.msg = "", this.state = null, this.data_type = 2, this.adler = 0;
98847
98847
  }
98848
- var zstream$2 = ZStream$6, zlib_deflate$1 = deflate$9, utils$c = common$3, strings$5 = strings$6, msg$4 = messages$2, ZStream$5 = zstream$2, toString$8 = Object.prototype.toString, Z_NO_FLUSH$4 = 0, Z_FINISH$6 = 4, Z_OK$6 = 0, Z_STREAM_END$6 = 1, Z_SYNC_FLUSH$2 = 2, Z_DEFAULT_COMPRESSION$3 = -1, Z_DEFAULT_STRATEGY$3 = 0, Z_DEFLATED$5 = 8;
98848
+ var zstream$2 = ZStream$6, zlib_deflate$1 = deflate$9, utils$c = common$3, strings$5 = strings$6, msg$4 = messages$2, ZStream$5 = zstream$2, toString$7 = Object.prototype.toString, Z_NO_FLUSH$4 = 0, Z_FINISH$6 = 4, Z_OK$6 = 0, Z_STREAM_END$6 = 1, Z_SYNC_FLUSH$2 = 2, Z_DEFAULT_COMPRESSION$3 = -1, Z_DEFAULT_STRATEGY$3 = 0, Z_DEFLATED$5 = 8;
98849
98849
  function Deflate$3(a) {
98850
98850
  if (!(this instanceof Deflate$3))
98851
98851
  return new Deflate$3(a);
@@ -98872,7 +98872,7 @@ function Deflate$3(a) {
98872
98872
  throw new Error(msg$4[x]);
98873
98873
  if (s.header && zlib_deflate$1.deflateSetHeader(this.strm, s.header), s.dictionary) {
98874
98874
  var y;
98875
- if (typeof s.dictionary == "string" ? y = strings$5.string2buf(s.dictionary) : toString$8.call(s.dictionary) === "[object ArrayBuffer]" ? y = new Uint8Array(s.dictionary) : y = s.dictionary, x = zlib_deflate$1.deflateSetDictionary(this.strm, y), x !== Z_OK$6)
98875
+ if (typeof s.dictionary == "string" ? y = strings$5.string2buf(s.dictionary) : toString$7.call(s.dictionary) === "[object ArrayBuffer]" ? y = new Uint8Array(s.dictionary) : y = s.dictionary, x = zlib_deflate$1.deflateSetDictionary(this.strm, y), x !== Z_OK$6)
98876
98876
  throw new Error(msg$4[x]);
98877
98877
  this._dict_set = true;
98878
98878
  }
@@ -98881,7 +98881,7 @@ Deflate$3.prototype.push = function(a, s) {
98881
98881
  var x = this.strm, y = this.options.chunkSize, $, S;
98882
98882
  if (this.ended)
98883
98883
  return false;
98884
- S = s === ~~s ? s : s === true ? Z_FINISH$6 : Z_NO_FLUSH$4, typeof a == "string" ? x.input = strings$5.string2buf(a) : toString$8.call(a) === "[object ArrayBuffer]" ? x.input = new Uint8Array(a) : x.input = a, x.next_in = 0, x.avail_in = x.input.length;
98884
+ S = s === ~~s ? s : s === true ? Z_FINISH$6 : Z_NO_FLUSH$4, typeof a == "string" ? x.input = strings$5.string2buf(a) : toString$7.call(a) === "[object ArrayBuffer]" ? x.input = new Uint8Array(a) : x.input = a, x.next_in = 0, x.avail_in = x.input.length;
98885
98885
  do {
98886
98886
  if (x.avail_out === 0 && (x.output = new utils$c.Buf8(y), x.next_out = 0, x.avail_out = y), $ = zlib_deflate$1.deflate(x, S), $ !== Z_STREAM_END$6 && $ !== Z_OK$6)
98887
98887
  return this.onEnd($), this.ended = true, false;
@@ -99722,7 +99722,7 @@ var constants$5 = {
99722
99722
  function GZheader$4() {
99723
99723
  this.text = 0, this.time = 0, this.xflags = 0, this.os = 0, this.extra = null, this.extra_len = 0, this.name = "", this.comment = "", this.hcrc = 0, this.done = false;
99724
99724
  }
99725
- var gzheader$2 = GZheader$4, zlib_inflate$1 = inflate$a, utils$9 = common$3, strings$4 = strings$6, c$1 = constants$5, msg$3 = messages$2, ZStream$4 = zstream$2, GZheader$3 = gzheader$2, toString$7 = Object.prototype.toString;
99725
+ var gzheader$2 = GZheader$4, zlib_inflate$1 = inflate$a, utils$9 = common$3, strings$4 = strings$6, c$1 = constants$5, msg$3 = messages$2, ZStream$4 = zstream$2, GZheader$3 = gzheader$2, toString$6 = Object.prototype.toString;
99726
99726
  function Inflate$3(a) {
99727
99727
  if (!(this instanceof Inflate$3))
99728
99728
  return new Inflate$3(a);
@@ -99739,14 +99739,14 @@ function Inflate$3(a) {
99739
99739
  );
99740
99740
  if (x !== c$1.Z_OK)
99741
99741
  throw new Error(msg$3[x]);
99742
- if (this.header = new GZheader$3(), zlib_inflate$1.inflateGetHeader(this.strm, this.header), s.dictionary && (typeof s.dictionary == "string" ? s.dictionary = strings$4.string2buf(s.dictionary) : toString$7.call(s.dictionary) === "[object ArrayBuffer]" && (s.dictionary = new Uint8Array(s.dictionary)), s.raw && (x = zlib_inflate$1.inflateSetDictionary(this.strm, s.dictionary), x !== c$1.Z_OK)))
99742
+ if (this.header = new GZheader$3(), zlib_inflate$1.inflateGetHeader(this.strm, this.header), s.dictionary && (typeof s.dictionary == "string" ? s.dictionary = strings$4.string2buf(s.dictionary) : toString$6.call(s.dictionary) === "[object ArrayBuffer]" && (s.dictionary = new Uint8Array(s.dictionary)), s.raw && (x = zlib_inflate$1.inflateSetDictionary(this.strm, s.dictionary), x !== c$1.Z_OK)))
99743
99743
  throw new Error(msg$3[x]);
99744
99744
  }
99745
99745
  Inflate$3.prototype.push = function(a, s) {
99746
99746
  var x = this.strm, y = this.options.chunkSize, $ = this.options.dictionary, S, _, E, A, w, T = false;
99747
99747
  if (this.ended)
99748
99748
  return false;
99749
- _ = s === ~~s ? s : s === true ? c$1.Z_FINISH : c$1.Z_NO_FLUSH, typeof a == "string" ? x.input = strings$4.binstring2buf(a) : toString$7.call(a) === "[object ArrayBuffer]" ? x.input = new Uint8Array(a) : x.input = a, x.next_in = 0, x.avail_in = x.input.length;
99749
+ _ = s === ~~s ? s : s === true ? c$1.Z_FINISH : c$1.Z_NO_FLUSH, typeof a == "string" ? x.input = strings$4.binstring2buf(a) : toString$6.call(a) === "[object ArrayBuffer]" ? x.input = new Uint8Array(a) : x.input = a, x.next_in = 0, x.avail_in = x.input.length;
99750
99750
  do {
99751
99751
  if (x.avail_out === 0 && (x.output = new utils$9.Buf8(y), x.next_out = 0, x.avail_out = y), S = zlib_inflate$1.inflate(x, c$1.Z_NO_FLUSH), S === c$1.Z_NEED_DICT && $ && (S = zlib_inflate$1.inflateSetDictionary(this.strm, $)), S === c$1.Z_BUF_ERROR && T === true && (S = c$1.Z_OK, T = false), S !== c$1.Z_STREAM_END && S !== c$1.Z_OK)
99752
99752
  return this.onEnd(S), this.ended = true, false;
@@ -101837,7 +101837,7 @@ function GZheader$2() {
101837
101837
  this.text = 0, this.time = 0, this.xflags = 0, this.os = 0, this.extra = null, this.extra_len = 0, this.name = "", this.comment = "", this.hcrc = 0, this.done = false;
101838
101838
  }
101839
101839
  var gzheader$1 = GZheader$2;
101840
- const toString$6 = Object.prototype.toString, {
101840
+ const toString$5 = Object.prototype.toString, {
101841
101841
  Z_NO_FLUSH: Z_NO_FLUSH$3,
101842
101842
  Z_FINISH: Z_FINISH$4,
101843
101843
  Z_OK: Z_OK$4,
@@ -101861,7 +101861,7 @@ function Inflate$1(a) {
101861
101861
  );
101862
101862
  if (x !== Z_OK$4)
101863
101863
  throw new Error(messages$1[x]);
101864
- if (this.header = new gzheader$1(), inflate_1$2.inflateGetHeader(this.strm, this.header), s.dictionary && (typeof s.dictionary == "string" ? s.dictionary = strings$3.string2buf(s.dictionary) : toString$6.call(s.dictionary) === "[object ArrayBuffer]" && (s.dictionary = new Uint8Array(s.dictionary)), s.raw && (x = inflate_1$2.inflateSetDictionary(this.strm, s.dictionary), x !== Z_OK$4)))
101864
+ if (this.header = new gzheader$1(), inflate_1$2.inflateGetHeader(this.strm, this.header), s.dictionary && (typeof s.dictionary == "string" ? s.dictionary = strings$3.string2buf(s.dictionary) : toString$5.call(s.dictionary) === "[object ArrayBuffer]" && (s.dictionary = new Uint8Array(s.dictionary)), s.raw && (x = inflate_1$2.inflateSetDictionary(this.strm, s.dictionary), x !== Z_OK$4)))
101865
101865
  throw new Error(messages$1[x]);
101866
101866
  }
101867
101867
  Inflate$1.prototype.push = function(a, s) {
@@ -101869,7 +101869,7 @@ Inflate$1.prototype.push = function(a, s) {
101869
101869
  let S, _, E;
101870
101870
  if (this.ended)
101871
101871
  return false;
101872
- for (s === ~~s ? _ = s : _ = s === true ? Z_FINISH$4 : Z_NO_FLUSH$3, toString$6.call(a) === "[object ArrayBuffer]" ? x.input = new Uint8Array(a) : x.input = a, x.next_in = 0, x.avail_in = x.input.length; ; ) {
101872
+ for (s === ~~s ? _ = s : _ = s === true ? Z_FINISH$4 : Z_NO_FLUSH$3, toString$5.call(a) === "[object ArrayBuffer]" ? x.input = new Uint8Array(a) : x.input = a, x.next_in = 0, x.avail_in = x.input.length; ; ) {
101873
101873
  for (x.avail_out === 0 && (x.output = new Uint8Array(y), x.next_out = 0, x.avail_out = y), S = inflate_1$2.inflate(x, _), S === Z_NEED_DICT$2 && $ && (S = inflate_1$2.inflateSetDictionary(x, $), S === Z_OK$4 ? S = inflate_1$2.inflate(x, _) : S === Z_DATA_ERROR$3 && (S = Z_NEED_DICT$2)); x.avail_in > 0 && S === Z_STREAM_END$4 && x.state.wrap > 0 && a[x.next_in] !== 0; )
101874
101874
  inflate_1$2.inflateReset(x), S = inflate_1$2.inflate(x, _);
101875
101875
  switch (S) {
@@ -105152,7 +105152,7 @@ strings$2.utf8border = function(a, s) {
105152
105152
  function ZStream$2() {
105153
105153
  this.input = null, this.next_in = 0, this.avail_in = 0, this.total_in = 0, this.output = null, this.next_out = 0, this.avail_out = 0, this.total_out = 0, this.msg = "", this.state = null, this.data_type = 2, this.adler = 0;
105154
105154
  }
105155
- var zstream = ZStream$2, zlib_deflate = deflate$3, utils$5 = common$1, strings$1 = strings$2, msg$1 = messages, ZStream$1 = zstream, toString$5 = Object.prototype.toString, Z_NO_FLUSH = 0, Z_FINISH$1 = 4, Z_OK$1 = 0, Z_STREAM_END$1 = 1, Z_SYNC_FLUSH = 2, Z_DEFAULT_COMPRESSION = -1, Z_DEFAULT_STRATEGY = 0, Z_DEFLATED$1 = 8;
105155
+ var zstream = ZStream$2, zlib_deflate = deflate$3, utils$5 = common$1, strings$1 = strings$2, msg$1 = messages, ZStream$1 = zstream, toString$4 = Object.prototype.toString, Z_NO_FLUSH = 0, Z_FINISH$1 = 4, Z_OK$1 = 0, Z_STREAM_END$1 = 1, Z_SYNC_FLUSH = 2, Z_DEFAULT_COMPRESSION = -1, Z_DEFAULT_STRATEGY = 0, Z_DEFLATED$1 = 8;
105156
105156
  function Deflate(a) {
105157
105157
  if (!(this instanceof Deflate))
105158
105158
  return new Deflate(a);
@@ -105179,7 +105179,7 @@ function Deflate(a) {
105179
105179
  throw new Error(msg$1[x]);
105180
105180
  if (s.header && zlib_deflate.deflateSetHeader(this.strm, s.header), s.dictionary) {
105181
105181
  var y;
105182
- if (typeof s.dictionary == "string" ? y = strings$1.string2buf(s.dictionary) : toString$5.call(s.dictionary) === "[object ArrayBuffer]" ? y = new Uint8Array(s.dictionary) : y = s.dictionary, x = zlib_deflate.deflateSetDictionary(this.strm, y), x !== Z_OK$1)
105182
+ if (typeof s.dictionary == "string" ? y = strings$1.string2buf(s.dictionary) : toString$4.call(s.dictionary) === "[object ArrayBuffer]" ? y = new Uint8Array(s.dictionary) : y = s.dictionary, x = zlib_deflate.deflateSetDictionary(this.strm, y), x !== Z_OK$1)
105183
105183
  throw new Error(msg$1[x]);
105184
105184
  this._dict_set = true;
105185
105185
  }
@@ -105188,7 +105188,7 @@ Deflate.prototype.push = function(a, s) {
105188
105188
  var x = this.strm, y = this.options.chunkSize, $, S;
105189
105189
  if (this.ended)
105190
105190
  return false;
105191
- S = s === ~~s ? s : s === true ? Z_FINISH$1 : Z_NO_FLUSH, typeof a == "string" ? x.input = strings$1.string2buf(a) : toString$5.call(a) === "[object ArrayBuffer]" ? x.input = new Uint8Array(a) : x.input = a, x.next_in = 0, x.avail_in = x.input.length;
105191
+ S = s === ~~s ? s : s === true ? Z_FINISH$1 : Z_NO_FLUSH, typeof a == "string" ? x.input = strings$1.string2buf(a) : toString$4.call(a) === "[object ArrayBuffer]" ? x.input = new Uint8Array(a) : x.input = a, x.next_in = 0, x.avail_in = x.input.length;
105192
105192
  do {
105193
105193
  if (x.avail_out === 0 && (x.output = new utils$5.Buf8(y), x.next_out = 0, x.avail_out = y), $ = zlib_deflate.deflate(x, S), $ !== Z_STREAM_END$1 && $ !== Z_OK$1)
105194
105194
  return this.onEnd($), this.ended = true, false;
@@ -106029,7 +106029,7 @@ var constants$1 = {
106029
106029
  function GZheader$1() {
106030
106030
  this.text = 0, this.time = 0, this.xflags = 0, this.os = 0, this.extra = null, this.extra_len = 0, this.name = "", this.comment = "", this.hcrc = 0, this.done = false;
106031
106031
  }
106032
- var gzheader = GZheader$1, zlib_inflate = inflate$4, utils$2 = common$1, strings = strings$2, c = constants$1, msg = messages, ZStream = zstream, GZheader = gzheader, toString$4 = Object.prototype.toString;
106032
+ var gzheader = GZheader$1, zlib_inflate = inflate$4, utils$2 = common$1, strings = strings$2, c = constants$1, msg = messages, ZStream = zstream, GZheader = gzheader, toString$3 = Object.prototype.toString;
106033
106033
  function Inflate(a) {
106034
106034
  if (!(this instanceof Inflate))
106035
106035
  return new Inflate(a);
@@ -106046,14 +106046,14 @@ function Inflate(a) {
106046
106046
  );
106047
106047
  if (x !== c.Z_OK)
106048
106048
  throw new Error(msg[x]);
106049
- if (this.header = new GZheader(), zlib_inflate.inflateGetHeader(this.strm, this.header), s.dictionary && (typeof s.dictionary == "string" ? s.dictionary = strings.string2buf(s.dictionary) : toString$4.call(s.dictionary) === "[object ArrayBuffer]" && (s.dictionary = new Uint8Array(s.dictionary)), s.raw && (x = zlib_inflate.inflateSetDictionary(this.strm, s.dictionary), x !== c.Z_OK)))
106049
+ if (this.header = new GZheader(), zlib_inflate.inflateGetHeader(this.strm, this.header), s.dictionary && (typeof s.dictionary == "string" ? s.dictionary = strings.string2buf(s.dictionary) : toString$3.call(s.dictionary) === "[object ArrayBuffer]" && (s.dictionary = new Uint8Array(s.dictionary)), s.raw && (x = zlib_inflate.inflateSetDictionary(this.strm, s.dictionary), x !== c.Z_OK)))
106050
106050
  throw new Error(msg[x]);
106051
106051
  }
106052
106052
  Inflate.prototype.push = function(a, s) {
106053
106053
  var x = this.strm, y = this.options.chunkSize, $ = this.options.dictionary, S, _, E, A, w, T = false;
106054
106054
  if (this.ended)
106055
106055
  return false;
106056
- _ = s === ~~s ? s : s === true ? c.Z_FINISH : c.Z_NO_FLUSH, typeof a == "string" ? x.input = strings.binstring2buf(a) : toString$4.call(a) === "[object ArrayBuffer]" ? x.input = new Uint8Array(a) : x.input = a, x.next_in = 0, x.avail_in = x.input.length;
106056
+ _ = s === ~~s ? s : s === true ? c.Z_FINISH : c.Z_NO_FLUSH, typeof a == "string" ? x.input = strings.binstring2buf(a) : toString$3.call(a) === "[object ArrayBuffer]" ? x.input = new Uint8Array(a) : x.input = a, x.next_in = 0, x.avail_in = x.input.length;
106057
106057
  do {
106058
106058
  if (x.avail_out === 0 && (x.output = new utils$2.Buf8(y), x.next_out = 0, x.avail_out = y), S = zlib_inflate.inflate(x, c.Z_NO_FLUSH), S === c.Z_NEED_DICT && $ && (S = zlib_inflate.inflateSetDictionary(this.strm, $)), S === c.Z_BUF_ERROR && T === true && (S = c.Z_OK, T = false), S !== c.Z_STREAM_END && S !== c.Z_OK)
106059
106059
  return this.onEnd(S), this.ended = true, false;
@@ -123309,7 +123309,7 @@ const arrayBufferToBase64 = (a) => {
123309
123309
  options: x = {},
123310
123310
  children: y
123311
123311
  }) => {
123312
- const $ = React$c.useMemo(() => pluginRegistry.pluginRegistry(s), [s]), S = React$c.useMemo(() => x.font || helper.getAllFonts(), [x.font]);
123312
+ const $ = React$c.useMemo(() => pluginRegistry.pluginRegistry(s), [s]), S = React$c.useMemo(() => x.font || helper.getAllFontsWithGoogle(), [x.font]);
123313
123313
  return /* @__PURE__ */ jsxRuntimeExports.jsx(
123314
123314
  AppContextProvider$1,
123315
123315
  {
@@ -138995,11 +138995,11 @@ var rePropName = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\
138995
138995
  }), s;
138996
138996
  });
138997
138997
  const stringToPath$1 = stringToPath;
138998
- function toString$3(a) {
138998
+ function toString$2(a) {
138999
138999
  return a == null ? "" : baseToString(a);
139000
139000
  }
139001
139001
  function castPath(a, s) {
139002
- return isArray$3(a) ? a : isKey(a, s) ? [a] : stringToPath$1(toString$3(a));
139002
+ return isArray$3(a) ? a : isKey(a, s) ? [a] : stringToPath$1(toString$2(a));
139003
139003
  }
139004
139004
  function toKey(a) {
139005
139005
  if (typeof a == "string" || isSymbol$2(a))
@@ -139528,7 +139528,7 @@ var objectProto$3 = Object.prototype, hasOwnProperty$4 = objectProto$3.hasOwnPro
139528
139528
  function baseHas(a, s) {
139529
139529
  return a != null && hasOwnProperty$4.call(a, s);
139530
139530
  }
139531
- function has$7(a, s) {
139531
+ function has$6(a, s) {
139532
139532
  return a != null && hasPath(a, s, baseHas);
139533
139533
  }
139534
139534
  function parent(a, s) {
@@ -140198,7 +140198,7 @@ var executeCallBack = function a(s, x, y, $) {
140198
140198
  allValues: x,
140199
140199
  flatValues: S
140200
140200
  }), Object.keys(y).forEach(function(_) {
140201
- if (has$7(S, _)) {
140201
+ if (has$6(S, _)) {
140202
140202
  var E = _get(S, _), A = E.value, w = E.index, T = y[_];
140203
140203
  executeCallBack(T, A, _, w);
140204
140204
  }
@@ -144385,17 +144385,25 @@ var _coreExports = _core.exports, _aFunction = function(a) {
144385
144385
  if (!isObject$3(a))
144386
144386
  throw TypeError(a + " is not an object!");
144387
144387
  return a;
144388
- }, _fails = function(a) {
144389
- try {
144390
- return !!a();
144391
- } catch {
144392
- return true;
144393
- }
144394
- }, _descriptors = !_fails(function() {
144395
- return Object.defineProperty({}, "a", { get: function() {
144396
- return 7;
144397
- } }).a != 7;
144398
- }), _domCreate, hasRequired_domCreate;
144388
+ }, _fails, hasRequired_fails;
144389
+ function require_fails() {
144390
+ return hasRequired_fails || (hasRequired_fails = 1, _fails = function(a) {
144391
+ try {
144392
+ return !!a();
144393
+ } catch {
144394
+ return true;
144395
+ }
144396
+ }), _fails;
144397
+ }
144398
+ var _descriptors, hasRequired_descriptors;
144399
+ function require_descriptors() {
144400
+ return hasRequired_descriptors || (hasRequired_descriptors = 1, _descriptors = !require_fails()(function() {
144401
+ return Object.defineProperty({}, "a", { get: function() {
144402
+ return 7;
144403
+ } }).a != 7;
144404
+ })), _descriptors;
144405
+ }
144406
+ var _domCreate, hasRequired_domCreate;
144399
144407
  function require_domCreate() {
144400
144408
  if (hasRequired_domCreate)
144401
144409
  return _domCreate;
@@ -144405,7 +144413,7 @@ function require_domCreate() {
144405
144413
  return x ? s.createElement(y) : {};
144406
144414
  }, _domCreate;
144407
144415
  }
144408
- var _ie8DomDefine = !_descriptors && !_fails(function() {
144416
+ var _ie8DomDefine = !require_descriptors() && !require_fails()(function() {
144409
144417
  return Object.defineProperty(require_domCreate()("div"), "a", { get: function() {
144410
144418
  return 7;
144411
144419
  } }).a != 7;
@@ -144417,7 +144425,7 @@ var _ie8DomDefine = !_descriptors && !_fails(function() {
144417
144425
  return y;
144418
144426
  throw TypeError("Can't convert object to primitive value");
144419
144427
  }, anObject$3 = _anObject, IE8_DOM_DEFINE$1 = _ie8DomDefine, toPrimitive$2 = _toPrimitive$5, dP$3 = Object.defineProperty;
144420
- _objectDp.f = _descriptors ? Object.defineProperty : function a(s, x, y) {
144428
+ _objectDp.f = require_descriptors() ? Object.defineProperty : function a(s, x, y) {
144421
144429
  if (anObject$3(s), x = toPrimitive$2(x, true), anObject$3(y), IE8_DOM_DEFINE$1)
144422
144430
  try {
144423
144431
  return dP$3(s, x, y);
@@ -144434,17 +144442,17 @@ var _propertyDesc = function(a, s) {
144434
144442
  writable: !(a & 4),
144435
144443
  value: s
144436
144444
  };
144437
- }, dP$2 = _objectDp, createDesc$2 = _propertyDesc, _hide = _descriptors ? function(a, s, x) {
144445
+ }, dP$2 = _objectDp, createDesc$2 = _propertyDesc, _hide = require_descriptors() ? function(a, s, x) {
144438
144446
  return dP$2.f(a, s, createDesc$2(1, x));
144439
144447
  } : function(a, s, x) {
144440
144448
  return a[s] = x, a;
144441
144449
  }, hasOwnProperty$1 = {}.hasOwnProperty, _has = function(a, s) {
144442
144450
  return hasOwnProperty$1.call(a, s);
144443
- }, global$4 = _globalExports, core$2 = _coreExports, ctx = _ctx, hide$2 = _hide, has$6 = _has, PROTOTYPE$2 = "prototype", $export$6 = function(a, s, x) {
144451
+ }, global$4 = _globalExports, core$2 = _coreExports, ctx = _ctx, hide$2 = _hide, has$5 = _has, PROTOTYPE$2 = "prototype", $export$6 = function(a, s, x) {
144444
144452
  var y = a & $export$6.F, $ = a & $export$6.G, S = a & $export$6.S, _ = a & $export$6.P, E = a & $export$6.B, A = a & $export$6.W, w = $ ? core$2 : core$2[s] || (core$2[s] = {}), T = w[PROTOTYPE$2], P = $ ? global$4 : S ? global$4[s] : (global$4[s] || {})[PROTOTYPE$2], C, R, I;
144445
144453
  $ && (x = s);
144446
144454
  for (C in x)
144447
- R = !y && P && P[C] !== void 0, !(R && has$6(w, C)) && (I = R ? P[C] : x[C], w[C] = $ && typeof P[C] != "function" ? x[C] : E && R ? ctx(I, global$4) : A && P[C] == I ? function(N) {
144455
+ R = !y && P && P[C] !== void 0, !(R && has$5(w, C)) && (I = R ? P[C] : x[C], w[C] = $ && typeof P[C] != "function" ? x[C] : E && R ? ctx(I, global$4) : A && P[C] == I ? function(N) {
144448
144456
  var M = function(D, B, F) {
144449
144457
  if (this instanceof N) {
144450
144458
  switch (arguments.length) {
@@ -144470,39 +144478,80 @@ $export$6.B = 16;
144470
144478
  $export$6.W = 32;
144471
144479
  $export$6.U = 64;
144472
144480
  $export$6.R = 128;
144473
- var _export = $export$6, toString$2 = {}.toString, _cof = function(a) {
144474
- return toString$2.call(a).slice(8, -1);
144475
- }, _iobject, hasRequired_iobject;
144481
+ var _export = $export$6, _cof, hasRequired_cof;
144482
+ function require_cof() {
144483
+ if (hasRequired_cof)
144484
+ return _cof;
144485
+ hasRequired_cof = 1;
144486
+ var a = {}.toString;
144487
+ return _cof = function(s) {
144488
+ return a.call(s).slice(8, -1);
144489
+ }, _cof;
144490
+ }
144491
+ var _iobject, hasRequired_iobject;
144476
144492
  function require_iobject() {
144477
144493
  if (hasRequired_iobject)
144478
144494
  return _iobject;
144479
144495
  hasRequired_iobject = 1;
144480
- var a = _cof;
144496
+ var a = require_cof();
144481
144497
  return _iobject = Object("z").propertyIsEnumerable(0) ? Object : function(s) {
144482
144498
  return a(s) == "String" ? s.split("") : Object(s);
144483
144499
  }, _iobject;
144484
144500
  }
144485
- var _defined = function(a) {
144486
- if (a == null)
144487
- throw TypeError("Can't call method on " + a);
144488
- return a;
144489
- }, IObject = require_iobject(), defined$2 = _defined, _toIobject = function(a) {
144490
- return IObject(defined$2(a));
144501
+ var _defined, hasRequired_defined;
144502
+ function require_defined() {
144503
+ return hasRequired_defined || (hasRequired_defined = 1, _defined = function(a) {
144504
+ if (a == null)
144505
+ throw TypeError("Can't call method on " + a);
144506
+ return a;
144507
+ }), _defined;
144508
+ }
144509
+ var IObject = require_iobject(), defined$1 = require_defined(), _toIobject = function(a) {
144510
+ return IObject(defined$1(a));
144491
144511
  }, ceil = Math.ceil, floor = Math.floor, _toInteger = function(a) {
144492
144512
  return isNaN(a = +a) ? 0 : (a > 0 ? floor : ceil)(a);
144493
- }, toInteger$2 = _toInteger, min$1 = Math.min, _toLength = function(a) {
144494
- return a > 0 ? min$1(toInteger$2(a), 9007199254740991) : 0;
144495
- }, toInteger$1 = _toInteger, max = Math.max, min = Math.min, _toAbsoluteIndex = function(a, s) {
144496
- return a = toInteger$1(a), a < 0 ? max(a + s, 0) : min(a, s);
144497
- }, toIObject$5 = _toIobject, toLength = _toLength, toAbsoluteIndex = _toAbsoluteIndex, _arrayIncludes = function(a) {
144498
- return function(s, x, y) {
144499
- var $ = toIObject$5(s), S = toLength($.length), _ = toAbsoluteIndex(y, S);
144500
- for (; S > _; _++)
144501
- if ((_ in $) && $[_] === x)
144502
- return _ || 0;
144503
- return -1;
144504
- };
144505
- }, _shared = { exports: {} }, core$1 = _coreExports, global$3 = _globalExports, SHARED = "__core-js_shared__", store$1 = global$3[SHARED] || (global$3[SHARED] = {});
144513
+ }, _toLength, hasRequired_toLength;
144514
+ function require_toLength() {
144515
+ if (hasRequired_toLength)
144516
+ return _toLength;
144517
+ hasRequired_toLength = 1;
144518
+ var a = _toInteger, s = Math.min;
144519
+ return _toLength = function(x) {
144520
+ return x > 0 ? s(a(x), 9007199254740991) : 0;
144521
+ }, _toLength;
144522
+ }
144523
+ var _toAbsoluteIndex, hasRequired_toAbsoluteIndex;
144524
+ function require_toAbsoluteIndex() {
144525
+ if (hasRequired_toAbsoluteIndex)
144526
+ return _toAbsoluteIndex;
144527
+ hasRequired_toAbsoluteIndex = 1;
144528
+ var a = _toInteger, s = Math.max, x = Math.min;
144529
+ return _toAbsoluteIndex = function(y, $) {
144530
+ return y = a(y), y < 0 ? s(y + $, 0) : x(y, $);
144531
+ }, _toAbsoluteIndex;
144532
+ }
144533
+ var _arrayIncludes, hasRequired_arrayIncludes;
144534
+ function require_arrayIncludes() {
144535
+ if (hasRequired_arrayIncludes)
144536
+ return _arrayIncludes;
144537
+ hasRequired_arrayIncludes = 1;
144538
+ var a = _toIobject, s = require_toLength(), x = require_toAbsoluteIndex();
144539
+ return _arrayIncludes = function(y) {
144540
+ return function($, S, _) {
144541
+ var E = a($), A = s(E.length), w = x(_, A), T;
144542
+ if (y && S != S) {
144543
+ for (; A > w; )
144544
+ if (T = E[w++], T != T)
144545
+ return true;
144546
+ } else
144547
+ for (; A > w; w++)
144548
+ if ((y || w in E) && E[w] === S)
144549
+ return y || w || 0;
144550
+ return !y && -1;
144551
+ };
144552
+ }, _arrayIncludes;
144553
+ }
144554
+ var _shared = { exports: {} }, core$1 = _coreExports, global$3 = _globalExports, SHARED = "__core-js_shared__", store$1 = global$3[SHARED] || (global$3[SHARED] = {});
144506
144555
  (_shared.exports = function(a, s) {
144507
144556
  return store$1[a] || (store$1[a] = s !== void 0 ? s : {});
144508
144557
  })("versions", []).push({
@@ -144514,30 +144563,56 @@ var _sharedExports = _shared.exports, id$1 = 0, px = Math.random(), _uid = funct
144514
144563
  return "Symbol(".concat(a === void 0 ? "" : a, ")_", (++id$1 + px).toString(36));
144515
144564
  }, shared$1 = _sharedExports("keys"), uid$2 = _uid, _sharedKey = function(a) {
144516
144565
  return shared$1[a] || (shared$1[a] = uid$2(a));
144517
- }, has$5 = _has, toIObject$4 = _toIobject, arrayIndexOf = _arrayIncludes(), IE_PROTO$2 = _sharedKey("IE_PROTO"), _objectKeysInternal = function(a, s) {
144518
- var x = toIObject$4(a), y = 0, $ = [], S;
144519
- for (S in x)
144520
- S != IE_PROTO$2 && has$5(x, S) && $.push(S);
144521
- for (; s.length > y; )
144522
- has$5(x, S = s[y++]) && (~arrayIndexOf($, S) || $.push(S));
144523
- return $;
144524
- }, _enumBugKeys = "constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(","), $keys$1 = _objectKeysInternal, enumBugKeys$1 = _enumBugKeys, _objectKeys = Object.keys || function a(s) {
144525
- return $keys$1(s, enumBugKeys$1);
144526
- }, _objectGops = {};
144527
- _objectGops.f = Object.getOwnPropertySymbols;
144566
+ }, _objectKeysInternal, hasRequired_objectKeysInternal;
144567
+ function require_objectKeysInternal() {
144568
+ if (hasRequired_objectKeysInternal)
144569
+ return _objectKeysInternal;
144570
+ hasRequired_objectKeysInternal = 1;
144571
+ var a = _has, s = _toIobject, x = require_arrayIncludes()(false), y = _sharedKey("IE_PROTO");
144572
+ return _objectKeysInternal = function($, S) {
144573
+ var _ = s($), E = 0, A = [], w;
144574
+ for (w in _)
144575
+ w != y && a(_, w) && A.push(w);
144576
+ for (; S.length > E; )
144577
+ a(_, w = S[E++]) && (~x(A, w) || A.push(w));
144578
+ return A;
144579
+ }, _objectKeysInternal;
144580
+ }
144581
+ var _enumBugKeys = "constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(","), _objectKeys, hasRequired_objectKeys;
144582
+ function require_objectKeys() {
144583
+ if (hasRequired_objectKeys)
144584
+ return _objectKeys;
144585
+ hasRequired_objectKeys = 1;
144586
+ var a = require_objectKeysInternal(), s = _enumBugKeys;
144587
+ return _objectKeys = Object.keys || function(y) {
144588
+ return a(y, s);
144589
+ }, _objectKeys;
144590
+ }
144591
+ var _objectGops = {}, hasRequired_objectGops;
144592
+ function require_objectGops() {
144593
+ return hasRequired_objectGops || (hasRequired_objectGops = 1, _objectGops.f = Object.getOwnPropertySymbols), _objectGops;
144594
+ }
144528
144595
  var _objectPie = {}, hasRequired_objectPie;
144529
144596
  function require_objectPie() {
144530
144597
  return hasRequired_objectPie || (hasRequired_objectPie = 1, _objectPie.f = {}.propertyIsEnumerable), _objectPie;
144531
144598
  }
144532
- var defined$1 = _defined, _toObject = function(a) {
144533
- return Object(defined$1(a));
144534
- }, _objectAssign, hasRequired_objectAssign;
144599
+ var _toObject, hasRequired_toObject;
144600
+ function require_toObject() {
144601
+ if (hasRequired_toObject)
144602
+ return _toObject;
144603
+ hasRequired_toObject = 1;
144604
+ var a = require_defined();
144605
+ return _toObject = function(s) {
144606
+ return Object(a(s));
144607
+ }, _toObject;
144608
+ }
144609
+ var _objectAssign, hasRequired_objectAssign;
144535
144610
  function require_objectAssign() {
144536
144611
  if (hasRequired_objectAssign)
144537
144612
  return _objectAssign;
144538
144613
  hasRequired_objectAssign = 1;
144539
- var a = _descriptors, s = _objectKeys, x = _objectGops, y = require_objectPie(), $ = _toObject, S = require_iobject(), _ = Object.assign;
144540
- return _objectAssign = !_ || _fails(function() {
144614
+ var a = require_descriptors(), s = require_objectKeys(), x = require_objectGops(), y = require_objectPie(), $ = require_toObject(), S = require_iobject(), _ = Object.assign;
144615
+ return _objectAssign = !_ || require_fails()(function() {
144541
144616
  var E = {}, A = {}, w = Symbol(), T = "abcdefghijklmnopqrst";
144542
144617
  return E[w] = 7, T.split("").forEach(function(P) {
144543
144618
  A[P] = P;
@@ -145241,7 +145316,7 @@ var _default$7 = function(a, s) {
145241
145316
  if (!(a instanceof s))
145242
145317
  throw new TypeError("Cannot call a class as a function");
145243
145318
  }, $export$4 = _export;
145244
- $export$4($export$4.S + $export$4.F * !_descriptors, "Object", { defineProperty: _objectDp.f });
145319
+ $export$4($export$4.S + $export$4.F * !require_descriptors(), "Object", { defineProperty: _objectDp.f });
145245
145320
  var $Object$1 = _coreExports.Object, defineProperty$2 = function a(s, x, y) {
145246
145321
  return $Object$1.defineProperty(s, x, y);
145247
145322
  }, defineProperty$1 = { default: defineProperty$2, __esModule: true }, _defineProperty$8 = defineProperty$1, _defineProperty2$1 = _interopRequireDefault$f(_defineProperty$8);
@@ -145258,12 +145333,12 @@ var _default$6 = function() {
145258
145333
  return function(s, x, y) {
145259
145334
  return x && a(s.prototype, x), y && a(s, y), s;
145260
145335
  };
145261
- }(), _typeof$i = {}, toInteger = _toInteger, defined = _defined, _stringAt = function(a) {
145336
+ }(), _typeof$i = {}, toInteger = _toInteger, defined = require_defined(), _stringAt = function(a) {
145262
145337
  return function(s, x) {
145263
145338
  var y = String(defined(s)), $ = toInteger(x), S = y.length, _, E;
145264
145339
  return $ < 0 || $ >= S ? "" : (_ = y.charCodeAt($), _ < 55296 || _ > 56319 || $ + 1 === S || (E = y.charCodeAt($ + 1)) < 56320 || E > 57343 ? y.charAt($) : y.slice($, $ + 2) );
145265
145340
  };
145266
- }, _redefine = _hide, _iterators = {}, dP$1 = _objectDp, anObject$2 = _anObject, getKeys$1 = _objectKeys, _objectDps = _descriptors ? Object.defineProperties : function a(s, x) {
145341
+ }, _redefine = _hide, _iterators = {}, dP$1 = _objectDp, anObject$2 = _anObject, getKeys$1 = require_objectKeys(), _objectDps = require_descriptors() ? Object.defineProperties : function a(s, x) {
145267
145342
  anObject$2(s);
145268
145343
  for (var y = getKeys$1(x), $ = y.length, S = 0, _; $ > S; )
145269
145344
  dP$1.f(s, _ = y[S++], x[_]);
@@ -145297,7 +145372,7 @@ _hide(IteratorPrototype, _wksExports("iterator"), function() {
145297
145372
  });
145298
145373
  var _iterCreate = function(a, s, x) {
145299
145374
  a.prototype = create$2(IteratorPrototype, { next: descriptor(1, x) }), setToStringTag$2(a, s + " Iterator");
145300
- }, has$3 = _has, toObject$1 = _toObject, IE_PROTO = _sharedKey("IE_PROTO"), ObjectProto$1 = Object.prototype, _objectGpo = Object.getPrototypeOf || function(a) {
145375
+ }, has$3 = _has, toObject$1 = require_toObject(), IE_PROTO = _sharedKey("IE_PROTO"), ObjectProto$1 = Object.prototype, _objectGpo = Object.getPrototypeOf || function(a) {
145301
145376
  return a = toObject$1(a), has$3(a, IE_PROTO) ? a[IE_PROTO] : typeof a.constructor == "function" && a instanceof a.constructor ? a.constructor.prototype : a instanceof Object ? ObjectProto$1 : null;
145302
145377
  }, $export$3 = _export, Iterators$2 = _iterators, $iterCreate = _iterCreate, setToStringTag$1 = _setToStringTag, getPrototypeOf = _objectGpo, ITERATOR = _wksExports("iterator"), BUGGY = !([].keys && "next" in [].keys()), FF_ITERATOR = "@@iterator", KEYS = "keys", VALUES = "values", returnThis = function() {
145303
145378
  return this;
@@ -145358,7 +145433,7 @@ var _wksExt = {};
145358
145433
  _wksExt.f = _wksExports;
145359
145434
  var iterator$1 = _wksExt.f("iterator"), iterator = { default: iterator$1, __esModule: true }, _meta = { exports: {} }, META$1 = _uid("meta"), isObject$1 = _isObject, has$2 = _has, setDesc = _objectDp.f, id = 0, isExtensible = Object.isExtensible || function() {
145360
145435
  return true;
145361
- }, FREEZE = !_fails(function() {
145436
+ }, FREEZE = !require_fails()(function() {
145362
145437
  return isExtensible(Object.preventExtensions({}));
145363
145438
  }), setMeta = function(a) {
145364
145439
  setDesc(a, META$1, { value: {
@@ -145398,25 +145473,19 @@ var iterator$1 = _wksExt.f("iterator"), iterator = { default: iterator$1, __esMo
145398
145473
  }, _metaExports = _meta.exports, core = _coreExports, wksExt$1 = _wksExt, defineProperty = _objectDp.f, _wksDefine = function(a) {
145399
145474
  var s = core.Symbol || (core.Symbol = {});
145400
145475
  a.charAt(0) != "_" && !(a in s) && defineProperty(s, a, { value: wksExt$1.f(a) });
145401
- }, getKeys = _objectKeys, gOPS = _objectGops, pIE$1 = require_objectPie(), _enumKeys = function(a) {
145476
+ }, getKeys = require_objectKeys(), gOPS = require_objectGops(), pIE$1 = require_objectPie(), _enumKeys = function(a) {
145402
145477
  var s = getKeys(a), x = gOPS.f;
145403
145478
  if (x)
145404
145479
  for (var y = x(a), $ = pIE$1.f, S = 0, _; y.length > S; )
145405
145480
  $.call(a, _ = y[S++]) && s.push(_);
145406
145481
  return s;
145407
- }, cof = _cof, _isArray = Array.isArray || function a(s) {
145482
+ }, cof = require_cof(), _isArray = Array.isArray || function a(s) {
145408
145483
  return cof(s) == "Array";
145409
- }, _objectGopnExt = {}, _objectGopn = {}, hasRequired_objectGopn;
145410
- function require_objectGopn() {
145411
- if (hasRequired_objectGopn)
145412
- return _objectGopn;
145413
- hasRequired_objectGopn = 1;
145414
- var a = _objectKeysInternal, s = _enumBugKeys.concat("length", "prototype");
145415
- return _objectGopn.f = Object.getOwnPropertyNames || function(y) {
145416
- return a(y, s);
145417
- }, _objectGopn;
145418
- }
145419
- var toIObject$2 = _toIobject, gOPN$1 = require_objectGopn().f, toString$1 = {}.toString, windowNames = typeof window == "object" && window && Object.getOwnPropertyNames ? Object.getOwnPropertyNames(window) : [], getWindowNames = function(a) {
145484
+ }, _objectGopnExt = {}, _objectGopn = {}, $keys$1 = require_objectKeysInternal(), hiddenKeys = _enumBugKeys.concat("length", "prototype");
145485
+ _objectGopn.f = Object.getOwnPropertyNames || function a(s) {
145486
+ return $keys$1(s, hiddenKeys);
145487
+ };
145488
+ var toIObject$2 = _toIobject, gOPN$1 = _objectGopn.f, toString$1 = {}.toString, windowNames = typeof window == "object" && window && Object.getOwnPropertyNames ? Object.getOwnPropertyNames(window) : [], getWindowNames = function(a) {
145420
145489
  try {
145421
145490
  return gOPN$1(a);
145422
145491
  } catch {
@@ -145427,7 +145496,7 @@ _objectGopnExt.f = function a(s) {
145427
145496
  return windowNames && toString$1.call(s) == "[object Window]" ? getWindowNames(s) : gOPN$1(toIObject$2(s));
145428
145497
  };
145429
145498
  var _objectGopd = {}, pIE = require_objectPie(), createDesc$1 = _propertyDesc, toIObject$1 = _toIobject, toPrimitive$1 = _toPrimitive$5, has$1 = _has, IE8_DOM_DEFINE = _ie8DomDefine, gOPD$1 = Object.getOwnPropertyDescriptor;
145430
- _objectGopd.f = _descriptors ? gOPD$1 : function a(s, x) {
145499
+ _objectGopd.f = require_descriptors() ? gOPD$1 : function a(s, x) {
145431
145500
  if (s = toIObject$1(s), x = toPrimitive$1(x, true), IE8_DOM_DEFINE)
145432
145501
  try {
145433
145502
  return gOPD$1(s, x);
@@ -145436,7 +145505,7 @@ _objectGopd.f = _descriptors ? gOPD$1 : function a(s, x) {
145436
145505
  if (has$1(s, x))
145437
145506
  return createDesc$1(!pIE.f.call(s, x), s[x]);
145438
145507
  };
145439
- var global$1 = _globalExports, has = _has, DESCRIPTORS = _descriptors, $export$2 = _export, redefine = _redefine, META = _metaExports.KEY, $fails = _fails, shared = _sharedExports, setToStringTag = _setToStringTag, uid = _uid, wks = _wksExports, wksExt = _wksExt, wksDefine = _wksDefine, enumKeys = _enumKeys, isArray = _isArray, anObject = _anObject, isObject = _isObject, toObject = _toObject, toIObject = _toIobject, toPrimitive = _toPrimitive$5, createDesc = _propertyDesc, _create$1 = _objectCreate, gOPNExt = _objectGopnExt, $GOPD = _objectGopd, $GOPS = _objectGops, $DP = _objectDp, $keys = _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() {
145508
+ 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 = _isArray, anObject = _anObject, isObject = _isObject, toObject = require_toObject(), toIObject = _toIobject, toPrimitive = _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() {
145440
145509
  return _create$1(dP({}, "a", {
145441
145510
  get: function() {
145442
145511
  return dP(this, "a", { value: 7 }).a;
@@ -145487,7 +145556,7 @@ USE_NATIVE || ($Symbol = function() {
145487
145556
  return DESCRIPTORS && setter && setSymbolDesc(ObjectProto, s, { configurable: true, set: x }), wrap(s);
145488
145557
  }, redefine($Symbol[PROTOTYPE], "toString", function() {
145489
145558
  return this._k;
145490
- }), $GOPD.f = $getOwnPropertyDescriptor, $DP.f = $defineProperty, require_objectGopn().f = gOPNExt.f = $getOwnPropertyNames, require_objectPie().f = $propertyIsEnumerable, $GOPS.f = $getOwnPropertySymbols, wksExt.f = function(a) {
145559
+ }), $GOPD.f = $getOwnPropertyDescriptor, $DP.f = $defineProperty, _objectGopn.f = gOPNExt.f = $getOwnPropertyNames, require_objectPie().f = $propertyIsEnumerable, $GOPS.f = $getOwnPropertySymbols, wksExt.f = function(a) {
145491
145560
  return wrap(wks(a));
145492
145561
  });
145493
145562
  $export$2($export$2.G + $export$2.W + $export$2.F * !USE_NATIVE, { Symbol: $Symbol });
@@ -154685,21 +154754,26 @@ const FormRenderComponent = withProvider(FormCore, defaultWidgets), AlignWidget
154685
154754
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { style: s, children: /* @__PURE__ */ jsxRuntimeExports.jsx(LoaderCircle, { size: 50, style: x }) })
154686
154755
  ] });
154687
154756
  }, Spinner$1 = Spinner, Root = ({ size: a, scale: s, children: x }, y) => {
154688
- const $ = React$c.useContext(FontContext), S = React$c.useRef(/* @__PURE__ */ new Set());
154757
+ const $ = React$c.useContext(FontContext), S = React$c.useRef(/* @__PURE__ */ new Set()), _ = React$c.useCallback((E, A) => {
154758
+ if (S.current.has(E) || !(document != null && document.fonts))
154759
+ return;
154760
+ const w = new FontFace(E, typeof A == "string" ? `url(${A})` : A, {
154761
+ display: "swap"
154762
+ });
154763
+ w.load().then(() => {
154764
+ document.fonts.add(w), S.current.add(E);
154765
+ }).catch(() => {
154766
+ });
154767
+ }, []);
154689
154768
  return React$c.useEffect(() => {
154690
154769
  if (!document || !document.fonts)
154691
154770
  return;
154692
- const E = Object.entries($).filter(([A]) => !S.current.has(A)).map(
154693
- ([A, { data: w }]) => new FontFace(A, typeof w == "string" ? `url(${w})` : w, {
154694
- display: "swap"
154695
- })
154771
+ const E = Object.entries($).filter(
154772
+ ([A]) => !S.current.has(A) && !helper.isGoogleFont(A)
154696
154773
  );
154697
- Promise.allSettled(E.map((A) => A.load())).then((A) => {
154698
- A.forEach((w, T) => {
154699
- w.status === "fulfilled" && (document.fonts.add(E[T]), S.current.add(E[T].family));
154700
- });
154701
- });
154702
- }, [$]), /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: DESIGNER_CLASSNAME + "root", ref: y, style: { position: "relative", background: BACKGROUND_COLOR, ...a }, children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: DESIGNER_CLASSNAME + "background", style: { margin: "0 auto", ...a }, children: s === 0 ? /* @__PURE__ */ jsxRuntimeExports.jsx(Spinner$1, {}) : x }) });
154774
+ for (const [A, { data: w }] of E)
154775
+ _(A, w);
154776
+ }, [$, _]), /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: DESIGNER_CLASSNAME + "root", ref: y, style: { position: "relative", background: BACKGROUND_COLOR, ...a }, children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: DESIGNER_CLASSNAME + "background", style: { margin: "0 auto", ...a }, children: s === 0 ? /* @__PURE__ */ jsxRuntimeExports.jsx(Spinner$1, {}) : x }) });
154703
154777
  }, Root$1 = React$c.forwardRef(Root), scaleDragPosAdjustment = (a, s) => s > 1 ? a * (s - 1) : s < 1 ? a * -(1 - s) : 0, Canvas = ({
154704
154778
  style: a,
154705
154779
  className: s,
@@ -154958,7 +155032,7 @@ const FormRenderComponent = withProvider(FormCore, defaultWidgets), AlignWidget
154958
155032
  return a;
154959
155033
  };
154960
155034
  async function convertPdfToBase64(a) {
154961
- const { getB64BasePdf: s } = await Promise.resolve().then(function () { return require('./chunks/index-BzWo8eqh.js'); }), x = await a.arrayBuffer();
155035
+ const { getB64BasePdf: s } = await Promise.resolve().then(function () { return require('./chunks/index-COKtXyPp.js'); }), x = await a.arrayBuffer();
154962
155036
  return s(new Uint8Array(x));
154963
155037
  }
154964
155038
  const ENCODING_MAPPING = {
@@ -169951,9 +170025,12 @@ Check this document: https://pdfme.com/docs/custom-schemas`);
169951
170025
  };
169952
170026
 
169953
170027
  exports.getAllFonts = helper.getAllFonts;
170028
+ exports.getAllFontsWithGoogle = helper.getAllFontsWithGoogle;
169954
170029
  exports.getBuiltinFontsData = helper.getBuiltinFontsData;
169955
170030
  exports.getDefaultFont = helper.getDefaultFont;
170031
+ exports.getGoogleFontsData = helper.getGoogleFontsData;
169956
170032
  exports.getInputFromTemplate = helper.getInputFromTemplate;
170033
+ exports.isGoogleFont = helper.isGoogleFont;
169957
170034
  exports.Canvas = Canvas;
169958
170035
  exports.PdfmeProvider = PdfmeProvider;
169959
170036
  exports.PropPanel = PropPanel;
@@ -1,9 +1,9 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./chunks/index-Co0Y0KJj.js');
4
- var index$1 = require('./chunks/index-mgS9yYj7.js');
3
+ var index = require('./chunks/index-CVqJfcgy.js');
4
+ var index$1 = require('./chunks/index-C8qZMUOU.js');
5
5
  var lucide = require('lucide');
6
- var helper = require('./chunks/helper-DU7Bm8ZQ.js');
6
+ var helper = require('./chunks/helper-BfoMn47R.js');
7
7
  var AirDatepicker = require('air-datepicker');
8
8
  var localeAr = require('air-datepicker/locale/ar');
9
9
  var localeBg = require('air-datepicker/locale/bg');