@campxdev/pdfme 1.2.1 → 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 (32) hide show
  1. package/dist/cjs/chunks/{helper-C2o2tpNj.js → helper-BfoMn47R.js} +16955 -4
  2. package/dist/cjs/chunks/{index-dHRmLCnu.js → index-C8qZMUOU.js} +2 -2
  3. package/dist/cjs/chunks/{index-qB7eb2BC.js → index-COKtXyPp.js} +6 -2
  4. package/dist/cjs/chunks/{index-CXm3doOM.js → index-CVqJfcgy.js} +101 -36
  5. package/dist/cjs/chunks/{pluginRegistry-Ba3ANzzx.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 +122 -140
  11. package/dist/cjs/schemas.js +3 -3
  12. package/dist/cjs/ui.js +83020 -72511
  13. package/dist/esm/chunks/{helper-D7XF1bxK.js → helper-D5PPN6Bv.js} +16952 -5
  14. package/dist/esm/chunks/{index-pDt5vVVj.js → index-C4F7EwBG.js} +2 -2
  15. package/dist/esm/chunks/{index-qTsnfbi7.js → index-C7jr4GIK.js} +102 -37
  16. package/dist/esm/chunks/{index-D1FuD_XZ.js → index-CDhErAtE.js} +3 -3
  17. package/dist/esm/chunks/{pluginRegistry-DEA2P0ud.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 +121 -142
  23. package/dist/esm/schemas.js +5 -5
  24. package/dist/esm/ui.js +83020 -72511
  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/fontCache.d.ts +10 -0
  32. 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-C2o2tpNj.js');
5
- var pluginRegistry = require('./chunks/pluginRegistry-Ba3ANzzx.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-CXm3doOM.js');
7
+ var index$2 = require('./chunks/index-CVqJfcgy.js');
8
8
  var ReactDOM__default = require('react-dom');
9
- var index = require('./chunks/index-dHRmLCnu.js');
9
+ var index = require('./chunks/index-C8qZMUOU.js');
10
10
  require('zod');
11
11
  require('buffer');
12
12
  require('acorn');
@@ -1939,7 +1939,7 @@ var parseStyle = function a(s) {
1939
1939
  function uniqueHash(a, s) {
1940
1940
  return murmur2("".concat(a.join("%")).concat(s));
1941
1941
  }
1942
- function Empty$3() {
1942
+ function Empty$4() {
1943
1943
  return null;
1944
1944
  }
1945
1945
  var STYLE_PREFIX = "style";
@@ -2009,7 +2009,7 @@ function useStyleRegister(a, s) {
2009
2009
  ), V = _slicedToArray$e(z, 3), U = V[0], G = V[1], Z = V[2];
2010
2010
  return function(ie) {
2011
2011
  var J;
2012
- return !N || H || !C ? J = /* @__PURE__ */ React$c__namespace.createElement(Empty$3, null) : J = /* @__PURE__ */ React$c__namespace.createElement("style", _extends$1({}, _defineProperty$c(_defineProperty$c({}, ATTR_TOKEN, G), ATTR_MARK, Z), {
2012
+ return !N || H || !C ? J = /* @__PURE__ */ React$c__namespace.createElement(Empty$4, null) : J = /* @__PURE__ */ React$c__namespace.createElement("style", _extends$1({}, _defineProperty$c(_defineProperty$c({}, ATTR_TOKEN, G), ATTR_MARK, Z), {
2013
2013
  dangerouslySetInnerHTML: {
2014
2014
  __html: U
2015
2015
  }
@@ -15613,7 +15613,7 @@ function getStatusClassNames(a, s, x) {
15613
15613
  [`${a}-has-feedback`]: x
15614
15614
  });
15615
15615
  }
15616
- const getMergedStatus = (a, s) => s || a, Empty$2 = () => {
15616
+ const getMergedStatus = (a, s) => s || a, Empty$3 = () => {
15617
15617
  const [, a] = useToken$1(), [s] = useLocale$2("Empty"), y = new FastColor(a.colorBgBase).toHsl().l < 0.5 ? {
15618
15618
  opacity: 0.65
15619
15619
  } : {};
@@ -15662,7 +15662,7 @@ const getMergedStatus = (a, s) => s || a, Empty$2 = () => {
15662
15662
  }), /* @__PURE__ */ React$c__namespace.createElement("path", {
15663
15663
  d: "M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"
15664
15664
  }))));
15665
- }, DefaultEmptyImg = Empty$2, Simple = () => {
15665
+ }, DefaultEmptyImg = Empty$3, Simple = () => {
15666
15666
  const [, a] = useToken$1(), [s] = useLocale$2("Empty"), {
15667
15667
  colorFill: x,
15668
15668
  colorFillTertiary: y,
@@ -15778,7 +15778,7 @@ var __rest$$ = globalThis && globalThis.__rest || function(a, s) {
15778
15778
  s.indexOf(y[$]) < 0 && Object.prototype.propertyIsEnumerable.call(a, y[$]) && (x[y[$]] = a[y[$]]);
15779
15779
  return x;
15780
15780
  };
15781
- const defaultEmptyImg = /* @__PURE__ */ React$c__namespace.createElement(DefaultEmptyImg, null), simpleEmptyImg = /* @__PURE__ */ React$c__namespace.createElement(SimpleEmptyImg, null), Empty = (a) => {
15781
+ const defaultEmptyImg = /* @__PURE__ */ React$c__namespace.createElement(DefaultEmptyImg, null), simpleEmptyImg = /* @__PURE__ */ React$c__namespace.createElement(SimpleEmptyImg, null), Empty$1 = (a) => {
15782
15782
  var s;
15783
15783
  const {
15784
15784
  className: x,
@@ -15822,9 +15822,9 @@ const defaultEmptyImg = /* @__PURE__ */ React$c__namespace.createElement(Default
15822
15822
  style: Object.assign(Object.assign({}, B.footer), P == null ? void 0 : P.footer)
15823
15823
  }, E)));
15824
15824
  };
15825
- Empty.PRESENTED_IMAGE_DEFAULT = defaultEmptyImg;
15826
- Empty.PRESENTED_IMAGE_SIMPLE = simpleEmptyImg;
15827
- const Empty$1 = Empty, DefaultRenderEmpty = (a) => {
15825
+ Empty$1.PRESENTED_IMAGE_DEFAULT = defaultEmptyImg;
15826
+ Empty$1.PRESENTED_IMAGE_SIMPLE = simpleEmptyImg;
15827
+ const Empty$2 = Empty$1, DefaultRenderEmpty = (a) => {
15828
15828
  const {
15829
15829
  componentName: s
15830
15830
  } = a, {
@@ -15833,22 +15833,22 @@ const Empty$1 = Empty, DefaultRenderEmpty = (a) => {
15833
15833
  switch (s) {
15834
15834
  case "Table":
15835
15835
  case "List":
15836
- return /* @__PURE__ */ React$c__namespace.default.createElement(Empty$1, {
15837
- image: Empty$1.PRESENTED_IMAGE_SIMPLE
15836
+ return /* @__PURE__ */ React$c__namespace.default.createElement(Empty$2, {
15837
+ image: Empty$2.PRESENTED_IMAGE_SIMPLE
15838
15838
  });
15839
15839
  case "Select":
15840
15840
  case "TreeSelect":
15841
15841
  case "Cascader":
15842
15842
  case "Transfer":
15843
15843
  case "Mentions":
15844
- return /* @__PURE__ */ React$c__namespace.default.createElement(Empty$1, {
15845
- image: Empty$1.PRESENTED_IMAGE_SIMPLE,
15844
+ return /* @__PURE__ */ React$c__namespace.default.createElement(Empty$2, {
15845
+ image: Empty$2.PRESENTED_IMAGE_SIMPLE,
15846
15846
  className: `${y}-small`
15847
15847
  });
15848
15848
  case "Table.filter":
15849
15849
  return null;
15850
15850
  default:
15851
- return /* @__PURE__ */ React$c__namespace.default.createElement(Empty$1, null);
15851
+ return /* @__PURE__ */ React$c__namespace.default.createElement(Empty$2, null);
15852
15852
  }
15853
15853
  }, DefaultRenderEmpty$1 = DefaultRenderEmpty, useVariant = (a, s, x) => {
15854
15854
  var y, $;
@@ -36918,10 +36918,10 @@ var _excluded$j = ["visible", "onVisibleChange", "getContainer", "current", "mov
36918
36918
  imageRender: V,
36919
36919
  onChange: ye
36920
36920
  }, U)));
36921
- }, uid$3 = 0;
36921
+ }, uid$4 = 0;
36922
36922
  function useRegisterImage(a, s) {
36923
36923
  var x = React$c__namespace.useState(function() {
36924
- return uid$3 += 1, String(uid$3);
36924
+ return uid$4 += 1, String(uid$4);
36925
36925
  }), y = _slicedToArray$e(x, 1), $ = y[0], S = React$c__namespace.useContext(PreviewGroupContext), _ = {
36926
36926
  data: s,
36927
36927
  canPreview: a
@@ -46011,8 +46011,8 @@ const FilterDropdown = (a) => {
46011
46011
  else {
46012
46012
  const we = ee() || [], Re = () => {
46013
46013
  var Pe, Ie;
46014
- const Te = (Pe = Ee == null ? void 0 : Ee("Table.filter")) !== null && Pe !== void 0 ? Pe : /* @__PURE__ */ React$c__namespace.createElement(Empty$1, {
46015
- image: Empty$1.PRESENTED_IMAGE_SIMPLE,
46014
+ const Te = (Pe = Ee == null ? void 0 : Ee("Table.filter")) !== null && Pe !== void 0 ? Pe : /* @__PURE__ */ React$c__namespace.createElement(Empty$2, {
46015
+ image: Empty$2.PRESENTED_IMAGE_SIMPLE,
46016
46016
  description: M.filterEmptyText,
46017
46017
  styles: {
46018
46018
  image: {
@@ -50346,7 +50346,7 @@ var traverseFileTree = /* @__PURE__ */ function() {
50346
50346
  return a.apply(this, arguments);
50347
50347
  };
50348
50348
  }(), now$1 = +/* @__PURE__ */ new Date(), index$n = 0;
50349
- function uid$2() {
50349
+ function uid$3() {
50350
50350
  return "rc-upload-".concat(now$1, "-").concat(++index$n);
50351
50351
  }
50352
50352
  var _excluded$1 = ["component", "prefixCls", "className", "classNames", "disabled", "id", "name", "style", "styles", "multiple", "accept", "capture", "children", "directory", "folder", "openFileDialogOnClick", "onMouseEnter", "onMouseLeave", "hasControlInside"], AjaxUploader = /* @__PURE__ */ function(a) {
@@ -50358,7 +50358,7 @@ var _excluded$1 = ["component", "prefixCls", "className", "classNames", "disable
50358
50358
  for (var $ = arguments.length, S = new Array($), _ = 0; _ < $; _++)
50359
50359
  S[_] = arguments[_];
50360
50360
  return y = s.call.apply(s, [this].concat(S)), _defineProperty$c(_assertThisInitialized(y), "state", {
50361
- uid: uid$2()
50361
+ uid: uid$3()
50362
50362
  }), _defineProperty$c(_assertThisInitialized(y), "reqs", {}), _defineProperty$c(_assertThisInitialized(y), "fileInput", void 0), _defineProperty$c(_assertThisInitialized(y), "_isMounted", void 0), _defineProperty$c(_assertThisInitialized(y), "onChange", function(E) {
50363
50363
  var A = y.props, w = A.accept, T = A.directory, P = E.target.files, C = _toConsumableArray$e(P).filter(function(R) {
50364
50364
  return !T || attrAccept(R, w);
@@ -50462,7 +50462,7 @@ var _excluded$1 = ["component", "prefixCls", "className", "classNames", "disable
50462
50462
  };
50463
50463
  }()), _defineProperty$c(_assertThisInitialized(y), "uploadFiles", function(E) {
50464
50464
  var A = _toConsumableArray$e(E), w = A.map(function(T) {
50465
- return T.uid = uid$2(), y.processFile(T, A);
50465
+ return T.uid = uid$3(), y.processFile(T, A);
50466
50466
  });
50467
50467
  Promise.all(w).then(function(T) {
50468
50468
  var P = y.props.onBatchStart;
@@ -50605,7 +50605,7 @@ var _excluded$1 = ["component", "prefixCls", "className", "classNames", "disable
50605
50605
  key: "reset",
50606
50606
  value: function() {
50607
50607
  this.setState({
50608
- uid: uid$2()
50608
+ uid: uid$3()
50609
50609
  });
50610
50610
  }
50611
50611
  }, {
@@ -52805,7 +52805,7 @@ function getMods(a, s) {
52805
52805
  x[y] = a[x[y].toLowerCase()];
52806
52806
  return x;
52807
52807
  }
52808
- function getKeys$2(a) {
52808
+ function getKeys$3(a) {
52809
52809
  typeof a != "string" && (a = ""), a = a.replace(/\s/g, "");
52810
52810
  const s = a.split(",");
52811
52811
  let x = s.lastIndexOf("");
@@ -53011,7 +53011,7 @@ const eachUnbind = (a) => {
53011
53011
  method: y,
53012
53012
  splitKey: $ = "+"
53013
53013
  } = a;
53014
- getKeys$2(s).forEach((_) => {
53014
+ getKeys$3(s).forEach((_) => {
53015
53015
  const E = _.split($), A = E.length, w = E[A - 1], T = w === "*" ? "*" : code$1(w);
53016
53016
  if (!_handlers[T])
53017
53017
  return;
@@ -53074,7 +53074,7 @@ function dispatch(a, s) {
53074
53074
  }
53075
53075
  function hotkeys$1(a, s, x) {
53076
53076
  _downKeys = [];
53077
- const y = getKeys$2(a);
53077
+ const y = getKeys$3(a);
53078
53078
  let $ = [], S = "all", _ = document, E = 0, A = false, w = true, T = "+", P = false, C = false;
53079
53079
  for (x === void 0 && typeof s == "function" && (x = s), Object.prototype.toString.call(s) === "[object Object]" && (s.scope && (S = s.scope), s.element && (_ = s.element), s.keyup && (A = s.keyup), s.keydown !== void 0 && (w = s.keydown), s.capture !== void 0 && (P = s.capture), typeof s.splitKey == "string" && (T = s.splitKey), s.single === true && (C = true)), typeof s == "string" && (S = s), C && unbind(a, S); E < y.length; E++)
53080
53080
  a = y[E].split(T), $ = [], a.length > 1 && ($ = getMods(_modifier, a)), a = a[a.length - 1], a = a === "*" ? "*" : code$1(a), a in _handlers || (_handlers[a] = []), _handlers[a].push({
@@ -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
  {
@@ -126361,7 +126361,7 @@ var requestAnimationFrame$1 = /* @__PURE__ */ function() {
126361
126361
  clearTimeout(s);
126362
126362
  };
126363
126363
  }();
126364
- function getKeys$1(a) {
126364
+ function getKeys$2(a) {
126365
126365
  return Object.keys(a);
126366
126366
  }
126367
126367
  function convertUnitSize(a, s) {
@@ -130068,7 +130068,7 @@ function renderDirectionControlsByInfos(a, s, x, y) {
130068
130068
  return null;
130069
130069
  C[D] = true;
130070
130070
  var F = (throttle(w, 15) + R * DIRECTION_ROTATIONS[D] + 720) % 180, L = {};
130071
- return getKeys$1(N).forEach(function(O) {
130071
+ return getKeys$2(N).forEach(function(O) {
130072
130072
  L["data-".concat(O)] = N[O];
130073
130073
  }), y.createElement("div", __assign$1({ className: prefix$2.apply(void 0, __spreadArray$1(["control", "direction", D, s], __read(M), false)), "data-rotation": F, "data-direction": D }, L, { key: "direction-".concat(D), style: getControlTransform.apply(void 0, __spreadArray$1([_, A], __read(B.map(function(O) {
130074
130074
  return S[O];
@@ -130118,7 +130118,7 @@ function renderAroundControls(a, s, x, y) {
130118
130118
  var $ = a.renderState;
130119
130119
  $.renderDirectionMap || ($.renderDirectionMap = {});
130120
130120
  var S = a.getState(), _ = S.renderPoses, E = S.rotation, A = S.direction, w = $.renderDirectionMap, T = a.props.zoom, P = sign(A), C = E / Math.PI * 180;
130121
- return (y || getKeys$1(w)).map(function(R) {
130121
+ return (y || getKeys$2(w)).map(function(R) {
130122
130122
  var I = DIRECTION_INDEXES[R];
130123
130123
  if (!I)
130124
130124
  return null;
@@ -131730,7 +131730,7 @@ cursor: move;
131730
131730
  } })
131731
131731
  ));
131732
131732
  }), _) {
131733
- var I = getKeys$1(A || {}), N = {};
131733
+ var I = getKeys$2(A || {}), N = {};
131734
131734
  I.forEach(function(D) {
131735
131735
  A[D].forEach(function(B) {
131736
131736
  N[B] = D;
@@ -133259,7 +133259,7 @@ function fillCSSObject(a, s) {
133259
133259
  }
133260
133260
  return {
133261
133261
  style: a,
133262
- cssText: getKeys$1(a).map(function(y) {
133262
+ cssText: getKeys$2(a).map(function(y) {
133263
133263
  return "".concat(decamelize(y, "-"), ": ").concat(a[y], ";");
133264
133264
  }).join("")
133265
133265
  };
@@ -136090,7 +136090,7 @@ var MoveableManager = /* @__PURE__ */ function(a) {
136090
136090
  var y = this.props, $ = y.dragTarget || y.target, S = this._prevOriginalDragTarget, _ = this._prevDragArea, E = y.dragArea, A = !E && S !== $, w = (x || E) && _ !== E;
136091
136091
  return A || w || this._prevPropTarget != this._propTarget;
136092
136092
  }, s.prototype._updateNativeEvents = function() {
136093
- var x = this, y = this.props, $ = y.dragArea ? this.areaElement : this.state.target, S = this.events, _ = getKeys$1(S);
136093
+ var x = this, y = this.props, $ = y.dragArea ? this.areaElement : this.state.target, S = this.events, _ = getKeys$2(S);
136094
136094
  if (this._isTargetChanged())
136095
136095
  for (var E in S) {
136096
136096
  var A = S[E];
@@ -136704,7 +136704,7 @@ var InitialMoveable = /* @__PURE__ */ function(a) {
136704
136704
  x[E] = true;
136705
136705
  });
136706
136706
  });
136707
- var $ = getKeys$1(x).join(`
136707
+ var $ = getKeys$2(x).join(`
136708
136708
  `);
136709
136709
  this.defaultStyled = styled("div", prefixCSS(PREFIX, MOVEABLE_CSS + $));
136710
136710
  }, s.getTotalAbles = function() {
@@ -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;
@@ -144416,11 +144424,11 @@ var _ie8DomDefine = !_descriptors && !_fails(function() {
144416
144424
  if (s && typeof (x = a.toString) == "function" && !isObject$2(y = x.call(a)) || typeof (x = a.valueOf) == "function" && !isObject$2(y = x.call(a)) || !s && typeof (x = a.toString) == "function" && !isObject$2(y = x.call(a)))
144417
144425
  return y;
144418
144426
  throw TypeError("Can't convert object to primitive value");
144419
- }, anObject$1 = _anObject, IE8_DOM_DEFINE$1 = _ie8DomDefine, toPrimitive$2 = _toPrimitive$5, dP$2 = Object.defineProperty;
144420
- _objectDp.f = _descriptors ? Object.defineProperty : function a(s, x, y) {
144421
- if (anObject$1(s), x = toPrimitive$2(x, true), anObject$1(y), IE8_DOM_DEFINE$1)
144427
+ }, anObject$3 = _anObject, IE8_DOM_DEFINE$1 = _ie8DomDefine, toPrimitive$2 = _toPrimitive$5, dP$3 = Object.defineProperty;
144428
+ _objectDp.f = require_descriptors() ? Object.defineProperty : function a(s, x, y) {
144429
+ if (anObject$3(s), x = toPrimitive$2(x, true), anObject$3(y), IE8_DOM_DEFINE$1)
144422
144430
  try {
144423
- return dP$2(s, x, y);
144431
+ return dP$3(s, x, y);
144424
144432
  } catch {
144425
144433
  }
144426
144434
  if ("get" in y || "set" in y)
@@ -144434,14 +144442,14 @@ var _propertyDesc = function(a, s) {
144434
144442
  writable: !(a & 4),
144435
144443
  value: s
144436
144444
  };
144437
- }, dP$1 = _objectDp, createDesc$2 = _propertyDesc, _hide = _descriptors ? function(a, s, x) {
144438
- return dP$1.f(a, s, createDesc$2(1, x));
144445
+ }, dP$2 = _objectDp, createDesc$2 = _propertyDesc, _hide = require_descriptors() ? function(a, s, x) {
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$5 = _has, PROTOTYPE$1 = "prototype", $export$6 = function(a, s, x) {
144444
- 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$1], P = $ ? global$4 : S ? global$4[s] : (global$4[s] || {})[PROTOTYPE$1], C, R, I;
144451
+ }, global$4 = _globalExports, core$2 = _coreExports, ctx = _ctx, hide$2 = _hide, has$5 = _has, PROTOTYPE$2 = "prototype", $export$6 = function(a, s, x) {
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
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) {
@@ -144459,7 +144467,7 @@ var _propertyDesc = function(a, s) {
144459
144467
  }
144460
144468
  return N.apply(this, arguments);
144461
144469
  };
144462
- return M[PROTOTYPE$1] = N[PROTOTYPE$1], M;
144470
+ return M[PROTOTYPE$2] = N[PROTOTYPE$2], M;
144463
144471
  }(I) : _ && typeof I == "function" ? ctx(Function.call, I) : I, _ && ((w.virtual || (w.virtual = {}))[C] = I, a & $export$6.R && T && !T[C] && hide$2(T, C, I)));
144464
144472
  };
144465
144473
  $export$6.F = 1;
@@ -144553,22 +144561,14 @@ var _shared = { exports: {} }, core$1 = _coreExports, global$3 = _globalExports,
144553
144561
  });
144554
144562
  var _sharedExports = _shared.exports, id$1 = 0, px = Math.random(), _uid = function(a) {
144555
144563
  return "Symbol(".concat(a === void 0 ? "" : a, ")_", (++id$1 + px).toString(36));
144556
- }, _sharedKey, hasRequired_sharedKey;
144557
- function require_sharedKey() {
144558
- if (hasRequired_sharedKey)
144559
- return _sharedKey;
144560
- hasRequired_sharedKey = 1;
144561
- var a = _sharedExports("keys"), s = _uid;
144562
- return _sharedKey = function(x) {
144563
- return a[x] || (a[x] = s(x));
144564
- }, _sharedKey;
144565
- }
144566
- var _objectKeysInternal, hasRequired_objectKeysInternal;
144564
+ }, shared$1 = _sharedExports("keys"), uid$2 = _uid, _sharedKey = function(a) {
144565
+ return shared$1[a] || (shared$1[a] = uid$2(a));
144566
+ }, _objectKeysInternal, hasRequired_objectKeysInternal;
144567
144567
  function require_objectKeysInternal() {
144568
144568
  if (hasRequired_objectKeysInternal)
144569
144569
  return _objectKeysInternal;
144570
144570
  hasRequired_objectKeysInternal = 1;
144571
- var a = _has, s = _toIobject, x = require_arrayIncludes()(false), y = require_sharedKey()("IE_PROTO");
144571
+ var a = _has, s = _toIobject, x = require_arrayIncludes()(false), y = _sharedKey("IE_PROTO");
144572
144572
  return _objectKeysInternal = function($, S) {
144573
144573
  var _ = s($), E = 0, A = [], w;
144574
144574
  for (w in _)
@@ -144578,16 +144578,12 @@ function require_objectKeysInternal() {
144578
144578
  return A;
144579
144579
  }, _objectKeysInternal;
144580
144580
  }
144581
- var _enumBugKeys, hasRequired_enumBugKeys;
144582
- function require_enumBugKeys() {
144583
- return hasRequired_enumBugKeys || (hasRequired_enumBugKeys = 1, _enumBugKeys = "constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")), _enumBugKeys;
144584
- }
144585
- var _objectKeys, hasRequired_objectKeys;
144581
+ var _enumBugKeys = "constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(","), _objectKeys, hasRequired_objectKeys;
144586
144582
  function require_objectKeys() {
144587
144583
  if (hasRequired_objectKeys)
144588
144584
  return _objectKeys;
144589
144585
  hasRequired_objectKeys = 1;
144590
- var a = require_objectKeysInternal(), s = require_enumBugKeys();
144586
+ var a = require_objectKeysInternal(), s = _enumBugKeys;
144591
144587
  return _objectKeys = Object.keys || function(y) {
144592
144588
  return a(y, s);
144593
144589
  }, _objectKeys;
@@ -144615,8 +144611,8 @@ function require_objectAssign() {
144615
144611
  if (hasRequired_objectAssign)
144616
144612
  return _objectAssign;
144617
144613
  hasRequired_objectAssign = 1;
144618
- var a = _descriptors, s = require_objectKeys(), x = require_objectGops(), y = require_objectPie(), $ = require_toObject(), S = require_iobject(), _ = Object.assign;
144619
- 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() {
144620
144616
  var E = {}, A = {}, w = Symbol(), T = "abcdefghijklmnopqrst";
144621
144617
  return E[w] = 7, T.split("").forEach(function(P) {
144622
144618
  A[P] = P;
@@ -145320,7 +145316,7 @@ var _default$7 = function(a, s) {
145320
145316
  if (!(a instanceof s))
145321
145317
  throw new TypeError("Cannot call a class as a function");
145322
145318
  }, $export$4 = _export;
145323
- $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 });
145324
145320
  var $Object$1 = _coreExports.Object, defineProperty$2 = function a(s, x, y) {
145325
145321
  return $Object$1.defineProperty(s, x, y);
145326
145322
  }, defineProperty$1 = { default: defineProperty$2, __esModule: true }, _defineProperty$8 = defineProperty$1, _defineProperty2$1 = _interopRequireDefault$f(_defineProperty$8);
@@ -145342,20 +145338,12 @@ var _default$6 = function() {
145342
145338
  var y = String(defined(s)), $ = toInteger(x), S = y.length, _, E;
145343
145339
  return $ < 0 || $ >= S ? "" : (_ = y.charCodeAt($), _ < 55296 || _ > 56319 || $ + 1 === S || (E = y.charCodeAt($ + 1)) < 56320 || E > 57343 ? y.charAt($) : y.slice($, $ + 2) );
145344
145340
  };
145345
- }, _redefine = _hide, _iterators = {}, _objectDps, hasRequired_objectDps;
145346
- function require_objectDps() {
145347
- if (hasRequired_objectDps)
145348
- return _objectDps;
145349
- hasRequired_objectDps = 1;
145350
- var a = _objectDp, s = _anObject, x = require_objectKeys();
145351
- return _objectDps = _descriptors ? Object.defineProperties : function($, S) {
145352
- s($);
145353
- for (var _ = x(S), E = _.length, A = 0, w; E > A; )
145354
- a.f($, w = _[A++], S[w]);
145355
- return $;
145356
- }, _objectDps;
145357
- }
145358
- var _html, hasRequired_html;
145341
+ }, _redefine = _hide, _iterators = {}, dP$1 = _objectDp, anObject$2 = _anObject, getKeys$1 = require_objectKeys(), _objectDps = require_descriptors() ? Object.defineProperties : function a(s, x) {
145342
+ anObject$2(s);
145343
+ for (var y = getKeys$1(x), $ = y.length, S = 0, _; $ > S; )
145344
+ dP$1.f(s, _ = y[S++], x[_]);
145345
+ return s;
145346
+ }, _html, hasRequired_html;
145359
145347
  function require_html() {
145360
145348
  if (hasRequired_html)
145361
145349
  return _html;
@@ -145363,36 +145351,28 @@ function require_html() {
145363
145351
  var a = _globalExports.document;
145364
145352
  return _html = a && a.documentElement, _html;
145365
145353
  }
145366
- var _objectCreate, hasRequired_objectCreate;
145367
- function require_objectCreate() {
145368
- if (hasRequired_objectCreate)
145369
- return _objectCreate;
145370
- hasRequired_objectCreate = 1;
145371
- var a = _anObject, s = require_objectDps(), x = require_enumBugKeys(), y = require_sharedKey()("IE_PROTO"), $ = function() {
145372
- }, S = "prototype", _ = function() {
145373
- var E = require_domCreate()("iframe"), A = x.length, w = "<", T = ">", P;
145374
- for (E.style.display = "none", require_html().appendChild(E), E.src = "javascript:", P = E.contentWindow.document, P.open(), P.write(w + "script" + T + "document.F=Object" + w + "/script" + T), P.close(), _ = P.F; A--; )
145375
- delete _[S][x[A]];
145376
- return _();
145377
- };
145378
- return _objectCreate = Object.create || function(A, w) {
145379
- var T;
145380
- return A !== null ? ($[S] = a(A), T = new $(), $[S] = null, T[y] = A) : T = _(), w === void 0 ? T : s(T, w);
145381
- }, _objectCreate;
145382
- }
145383
- var _wks = { exports: {} }, store = _sharedExports("wks"), uid$1 = _uid, Symbol$1 = _globalExports.Symbol, USE_SYMBOL = typeof Symbol$1 == "function", $exports = _wks.exports = function(a) {
145354
+ var anObject$1 = _anObject, dPs = _objectDps, enumBugKeys = _enumBugKeys, IE_PROTO$1 = _sharedKey("IE_PROTO"), Empty = function() {
145355
+ }, PROTOTYPE$1 = "prototype", createDict = function() {
145356
+ var a = require_domCreate()("iframe"), s = enumBugKeys.length, x = "<", y = ">", $;
145357
+ for (a.style.display = "none", require_html().appendChild(a), a.src = "javascript:", $ = a.contentWindow.document, $.open(), $.write(x + "script" + y + "document.F=Object" + x + "/script" + y), $.close(), createDict = $.F; s--; )
145358
+ delete createDict[PROTOTYPE$1][enumBugKeys[s]];
145359
+ return createDict();
145360
+ }, _objectCreate = Object.create || function a(s, x) {
145361
+ var y;
145362
+ return s !== null ? (Empty[PROTOTYPE$1] = anObject$1(s), y = new Empty(), Empty[PROTOTYPE$1] = null, y[IE_PROTO$1] = s) : y = createDict(), x === void 0 ? y : dPs(y, x);
145363
+ }, _wks = { exports: {} }, store = _sharedExports("wks"), uid$1 = _uid, Symbol$1 = _globalExports.Symbol, USE_SYMBOL = typeof Symbol$1 == "function", $exports = _wks.exports = function(a) {
145384
145364
  return store[a] || (store[a] = USE_SYMBOL && Symbol$1[a] || (USE_SYMBOL ? Symbol$1 : uid$1)("Symbol." + a));
145385
145365
  };
145386
145366
  $exports.store = store;
145387
145367
  var _wksExports = _wks.exports, def = _objectDp.f, has$4 = _has, TAG = _wksExports("toStringTag"), _setToStringTag = function(a, s, x) {
145388
145368
  a && !has$4(a = x ? a : a.prototype, TAG) && def(a, TAG, { configurable: true, value: s });
145389
- }, create$2 = require_objectCreate(), descriptor = _propertyDesc, setToStringTag$2 = _setToStringTag, IteratorPrototype = {};
145369
+ }, create$2 = _objectCreate, descriptor = _propertyDesc, setToStringTag$2 = _setToStringTag, IteratorPrototype = {};
145390
145370
  _hide(IteratorPrototype, _wksExports("iterator"), function() {
145391
145371
  return this;
145392
145372
  });
145393
145373
  var _iterCreate = function(a, s, x) {
145394
145374
  a.prototype = create$2(IteratorPrototype, { next: descriptor(1, x) }), setToStringTag$2(a, s + " Iterator");
145395
- }, has$3 = _has, toObject$1 = require_toObject(), IE_PROTO = require_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) {
145396
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;
145397
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() {
145398
145378
  return this;
@@ -145453,7 +145433,7 @@ var _wksExt = {};
145453
145433
  _wksExt.f = _wksExports;
145454
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() {
145455
145435
  return true;
145456
- }, FREEZE = !_fails(function() {
145436
+ }, FREEZE = !require_fails()(function() {
145457
145437
  return isExtensible(Object.preventExtensions({}));
145458
145438
  }), setMeta = function(a) {
145459
145439
  setDesc(a, META$1, { value: {
@@ -145501,17 +145481,11 @@ var iterator$1 = _wksExt.f("iterator"), iterator = { default: iterator$1, __esMo
145501
145481
  return s;
145502
145482
  }, cof = require_cof(), _isArray = Array.isArray || function a(s) {
145503
145483
  return cof(s) == "Array";
145504
- }, _objectGopnExt = {}, _objectGopn = {}, hasRequired_objectGopn;
145505
- function require_objectGopn() {
145506
- if (hasRequired_objectGopn)
145507
- return _objectGopn;
145508
- hasRequired_objectGopn = 1;
145509
- var a = require_objectKeysInternal(), s = require_enumBugKeys().concat("length", "prototype");
145510
- return _objectGopn.f = Object.getOwnPropertyNames || function(y) {
145511
- return a(y, s);
145512
- }, _objectGopn;
145513
- }
145514
- 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) {
145515
145489
  try {
145516
145490
  return gOPN$1(a);
145517
145491
  } catch {
@@ -145522,7 +145496,7 @@ _objectGopnExt.f = function a(s) {
145522
145496
  return windowNames && toString$1.call(s) == "[object Window]" ? getWindowNames(s) : gOPN$1(toIObject$2(s));
145523
145497
  };
145524
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;
145525
- _objectGopd.f = _descriptors ? gOPD$1 : function a(s, x) {
145499
+ _objectGopd.f = require_descriptors() ? gOPD$1 : function a(s, x) {
145526
145500
  if (s = toIObject$1(s), x = toPrimitive$1(x, true), IE8_DOM_DEFINE)
145527
145501
  try {
145528
145502
  return gOPD$1(s, x);
@@ -145531,7 +145505,7 @@ _objectGopd.f = _descriptors ? gOPD$1 : function a(s, x) {
145531
145505
  if (has$1(s, x))
145532
145506
  return createDesc$1(!pIE.f.call(s, x), s[x]);
145533
145507
  };
145534
- 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 = require_toObject(), toIObject = _toIobject, toPrimitive = _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() {
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() {
145535
145509
  return _create$1(dP({}, "a", {
145536
145510
  get: function() {
145537
145511
  return dP(this, "a", { value: 7 }).a;
@@ -145582,7 +145556,7 @@ USE_NATIVE || ($Symbol = function() {
145582
145556
  return DESCRIPTORS && setter && setSymbolDesc(ObjectProto, s, { configurable: true, set: x }), wrap(s);
145583
145557
  }, redefine($Symbol[PROTOTYPE], "toString", function() {
145584
145558
  return this._k;
145585
- }), $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) {
145586
145560
  return wrap(wks(a));
145587
145561
  });
145588
145562
  $export$2($export$2.G + $export$2.W + $export$2.F * !USE_NATIVE, { Symbol: $Symbol });
@@ -145706,7 +145680,7 @@ function require_setProto() {
145706
145680
  var $export$1 = _export;
145707
145681
  $export$1($export$1.S, "Object", { setPrototypeOf: require_setProto().set });
145708
145682
  var setPrototypeOf$1 = _coreExports.Object.setPrototypeOf, setPrototypeOf = { default: setPrototypeOf$1, __esModule: true }, $export = _export;
145709
- $export($export.S, "Object", { create: require_objectCreate() });
145683
+ $export($export.S, "Object", { create: _objectCreate });
145710
145684
  var $Object = _coreExports.Object, create$1 = function a(s, x) {
145711
145685
  return $Object.create(s, x);
145712
145686
  }, create = { default: create$1, __esModule: true }, _setPrototypeOf = setPrototypeOf, _setPrototypeOf2 = _interopRequireDefault$c(_setPrototypeOf), _create = create, _create2 = _interopRequireDefault$c(_create), _typeof2 = _typeof$i, _typeof3 = _interopRequireDefault$c(_typeof2);
@@ -154780,21 +154754,26 @@ const FormRenderComponent = withProvider(FormCore, defaultWidgets), AlignWidget
154780
154754
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { style: s, children: /* @__PURE__ */ jsxRuntimeExports.jsx(LoaderCircle, { size: 50, style: x }) })
154781
154755
  ] });
154782
154756
  }, Spinner$1 = Spinner, Root = ({ size: a, scale: s, children: x }, y) => {
154783
- 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
+ }, []);
154784
154768
  return React$c.useEffect(() => {
154785
154769
  if (!document || !document.fonts)
154786
154770
  return;
154787
- const E = Object.entries($).filter(([A]) => !S.current.has(A)).map(
154788
- ([A, { data: w }]) => new FontFace(A, typeof w == "string" ? `url(${w})` : w, {
154789
- display: "swap"
154790
- })
154771
+ const E = Object.entries($).filter(
154772
+ ([A]) => !S.current.has(A) && !helper.isGoogleFont(A)
154791
154773
  );
154792
- Promise.allSettled(E.map((A) => A.load())).then((A) => {
154793
- A.forEach((w, T) => {
154794
- w.status === "fulfilled" && (document.fonts.add(E[T]), S.current.add(E[T].family));
154795
- });
154796
- });
154797
- }, [$]), /* @__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 }) });
154798
154777
  }, Root$1 = React$c.forwardRef(Root), scaleDragPosAdjustment = (a, s) => s > 1 ? a * (s - 1) : s < 1 ? a * -(1 - s) : 0, Canvas = ({
154799
154778
  style: a,
154800
154779
  className: s,
@@ -155053,7 +155032,7 @@ const FormRenderComponent = withProvider(FormCore, defaultWidgets), AlignWidget
155053
155032
  return a;
155054
155033
  };
155055
155034
  async function convertPdfToBase64(a) {
155056
- const { getB64BasePdf: s } = await Promise.resolve().then(function () { return require('./chunks/index-qB7eb2BC.js'); }), x = await a.arrayBuffer();
155035
+ const { getB64BasePdf: s } = await Promise.resolve().then(function () { return require('./chunks/index-COKtXyPp.js'); }), x = await a.arrayBuffer();
155057
155036
  return s(new Uint8Array(x));
155058
155037
  }
155059
155038
  const ENCODING_MAPPING = {
@@ -170046,9 +170025,12 @@ Check this document: https://pdfme.com/docs/custom-schemas`);
170046
170025
  };
170047
170026
 
170048
170027
  exports.getAllFonts = helper.getAllFonts;
170028
+ exports.getAllFontsWithGoogle = helper.getAllFontsWithGoogle;
170049
170029
  exports.getBuiltinFontsData = helper.getBuiltinFontsData;
170050
170030
  exports.getDefaultFont = helper.getDefaultFont;
170031
+ exports.getGoogleFontsData = helper.getGoogleFontsData;
170051
170032
  exports.getInputFromTemplate = helper.getInputFromTemplate;
170033
+ exports.isGoogleFont = helper.isGoogleFont;
170052
170034
  exports.Canvas = Canvas;
170053
170035
  exports.PdfmeProvider = PdfmeProvider;
170054
170036
  exports.PropPanel = PropPanel;
@@ -1,9 +1,9 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./chunks/index-CXm3doOM.js');
4
- var index$1 = require('./chunks/index-dHRmLCnu.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-C2o2tpNj.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');