@feathery/react 2.39.3 → 2.39.5

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 (94) hide show
  1. package/cjs/elements/basic/ProgressBarElement/components/StepperBar.d.ts +1 -1
  2. package/cjs/elements/basic/ProgressBarElement/components/StepperBar.d.ts.map +1 -1
  3. package/cjs/elements/components/QuikFormViewer/transforms/form.d.ts.map +1 -1
  4. package/cjs/{fthry_AssistantChat.Do9Ujq9D.js → fthry_AssistantChat.YQCuhhst.js} +4 -4
  5. package/cjs/{fthry_FormControl.P35fCu0k.js → fthry_FormControl._40lAY3B.js} +1 -1
  6. package/cjs/{fthry_InlineTooltip.Bak-7e6n.js → fthry_InlineTooltip.BfrVpfYj.js} +2 -2
  7. package/cjs/{fthry_Overlay.DilDYonW.js → fthry_Overlay.C6scqGHc.js} +1 -1
  8. package/cjs/{fthry_PaymentMethodField.C2hrFVnH.js → fthry_PaymentMethodField.FKIxWFGb.js} +4 -4
  9. package/cjs/{fthry_Placeholder.B3-G02Bh.js → fthry_Placeholder.BYp77nuH.js} +1 -1
  10. package/cjs/{fthry_ShowEyeIcon.cKtFl23S.js → fthry_ShowEyeIcon.C9PPQrMG.js} +1 -1
  11. package/cjs/{fthry_highlighted-body-TPN3WLV5.BUyd2LkM.js → fthry_highlighted-body-TPN3WLV5.DV7vusTB.js} +3 -3
  12. package/cjs/{fthry_index.DJLW1zLP.js → fthry_index.BKgdz8wA.js} +6 -6
  13. package/cjs/{fthry_index.Q01SxjQX.js → fthry_index.BMoZkdA6.js} +5 -5
  14. package/cjs/{fthry_index.B8dM90us.js → fthry_index.B_DcdLHz.js} +6 -6
  15. package/cjs/{fthry_index.CvYB4XZG.js → fthry_index.BeoZ7ahe.js} +6 -6
  16. package/cjs/{fthry_index.9q-J6H-U.js → fthry_index.Blb-S2FV.js} +1 -1
  17. package/cjs/{fthry_index.CS_Y7wr2.js → fthry_index.BqjGgn8c.js} +3 -3
  18. package/cjs/{fthry_index.ChndtckS.js → fthry_index.C6B_9YEq.js} +1 -1
  19. package/cjs/{fthry_index.CVmniSIU.js → fthry_index.CAyIvRN9.js} +1 -1
  20. package/cjs/{fthry_index.CurkjKk3.js → fthry_index.CDpXSBnO.js} +1 -1
  21. package/cjs/{fthry_index.DlD_KScI.js → fthry_index.CN5FWNGo.js} +5 -5
  22. package/cjs/{fthry_index.Vn_GxZy5.js → fthry_index.CSa2GNkT.js} +5 -5
  23. package/cjs/{fthry_index.DqGd-rC0.js → fthry_index.CXfcph5D.js} +1 -1
  24. package/cjs/{fthry_index.CcA1lyx4.js → fthry_index.D71_kAqf.js} +2 -2
  25. package/cjs/{fthry_index.CZXZNqLu.js → fthry_index.DcGjJE6I.js} +8 -8
  26. package/cjs/{fthry_index.BGwV0ujG.js → fthry_index.DcuaSdF3.js} +6 -6
  27. package/cjs/{fthry_index.t1eHdn42.js → fthry_index.DhA0OYaa.js} +1 -1
  28. package/cjs/{fthry_index.MX2rvPw4.js → fthry_index.DuFt4scb.js} +7 -15
  29. package/cjs/{fthry_index.5UEJU5L5.js → fthry_index.Dx_qH62x.js} +1 -1
  30. package/cjs/{fthry_index.BrLNinbH.js → fthry_index.ErupPDHm.js} +1 -1
  31. package/cjs/{fthry_index.CzgMz0Zx.js → fthry_index.F9ntcl8d.js} +2 -2
  32. package/cjs/{fthry_index.BW42pxTr.js → fthry_index.UL-HkR2L.js} +150 -101
  33. package/cjs/{fthry_index.B6DKRqF4.js → fthry_index.WGuV-KCz.js} +4 -4
  34. package/cjs/{fthry_index.CIwGx-kQ.js → fthry_index.WT4DAN_S.js} +3 -3
  35. package/cjs/{fthry_index.vXK1VN34.js → fthry_index.ZWVnlGH6.js} +4 -4
  36. package/cjs/{fthry_index.DSeQsNLX.js → fthry_index.sT-w-rf1.js} +1 -1
  37. package/cjs/{fthry_input.C5PNyr0t.js → fthry_input.DIy-Ecsj.js} +1 -1
  38. package/cjs/{fthry_mermaid-O7DHMXV3.ntyfADzr.js → fthry_mermaid-O7DHMXV3.Kmx4whY_.js} +3 -3
  39. package/cjs/{fthry_script.DROa80lC.js → fthry_script.4CA-i2YC.js} +1 -1
  40. package/cjs/{fthry_styles.CHUy-8cR.js → fthry_styles.2InnXe-4.js} +79 -10
  41. package/cjs/{fthry_useElementSize.PV91LYqP.js → fthry_useElementSize.BsJKStem.js} +1 -1
  42. package/cjs/{fthry_useSalesforceSync.CNkXldKe.js → fthry_useSalesforceSync.xD4e3uQO.js} +1 -1
  43. package/cjs/{fthry_webfontloader.CgPBmgxa.js → fthry_webfontloader.DMtsPRTb.js} +1 -1
  44. package/cjs/index.js +1 -1
  45. package/dist/elements/basic/ProgressBarElement/components/StepperBar.d.ts +1 -1
  46. package/dist/elements/basic/ProgressBarElement/components/StepperBar.d.ts.map +1 -1
  47. package/dist/elements/components/QuikFormViewer/transforms/form.d.ts.map +1 -1
  48. package/dist/{fthry_AssistantChat.7IHFhmWu.js → fthry_AssistantChat.hnRlYNVg.js} +4 -4
  49. package/dist/{fthry_FormControl.DPSb7yUR.js → fthry_FormControl.8pSBTA31.js} +1 -1
  50. package/dist/{fthry_InlineTooltip.CvjSSGKM.js → fthry_InlineTooltip.Bq9500oG.js} +2 -2
  51. package/dist/{fthry_Overlay.BV_vE3K3.js → fthry_Overlay.DEggBAsa.js} +1 -1
  52. package/dist/{fthry_PaymentMethodField.BRFKNkQe.js → fthry_PaymentMethodField.BKglAUrx.js} +4 -4
  53. package/dist/{fthry_Placeholder.Do45acle.js → fthry_Placeholder.CVnQrsv8.js} +1 -1
  54. package/dist/{fthry_ShowEyeIcon.DgeKOLlH.js → fthry_ShowEyeIcon.DqjkGj6h.js} +1 -1
  55. package/dist/{fthry_highlighted-body-TPN3WLV5.0WkAj9kk.js → fthry_highlighted-body-TPN3WLV5.BF-Qm433.js} +3 -3
  56. package/dist/{fthry_index.DH2CYFCC.js → fthry_index.7adkb-Yo.js} +8 -8
  57. package/dist/{fthry_index.CpPyr71U.js → fthry_index.B0dTcALC.js} +151 -101
  58. package/dist/{fthry_index.BmbcZtaY.js → fthry_index.B3z3FXtp.js} +1 -1
  59. package/dist/{fthry_index.DBzRf4Xn.js → fthry_index.BAJON1mr.js} +1 -1
  60. package/dist/{fthry_index.D_fIGqLO.js → fthry_index.BBA4M9Ym.js} +1 -1
  61. package/dist/{fthry_index.BWutFEHx.js → fthry_index.BMui71Q7.js} +1 -1
  62. package/dist/{fthry_index.D1OVjTFi.js → fthry_index.BWxZjCVE.js} +1 -1
  63. package/dist/{fthry_index.DjKiRDR5.js → fthry_index.BXJn-2VJ.js} +1 -1
  64. package/dist/{fthry_index.ChwXJfUv.js → fthry_index.Bd4KkVao.js} +1 -1
  65. package/dist/{fthry_index.CPJDFJws.js → fthry_index.BdnUxvNg.js} +1 -1
  66. package/dist/{fthry_index.yQ6xXxSy.js → fthry_index.CFwYUXZ8.js} +2 -2
  67. package/dist/{fthry_index.Cg_MIfff.js → fthry_index.CPcpxgDL.js} +5 -5
  68. package/dist/{fthry_index.Cq7pT83J.js → fthry_index.CS-REvYp.js} +6 -6
  69. package/dist/{fthry_index.BEPJGeYZ.js → fthry_index.CSxTJscJ.js} +5 -5
  70. package/dist/{fthry_index.DgtRP8YP.js → fthry_index.Cr_PhEG5.js} +3 -3
  71. package/dist/{fthry_index.DOENWZLY.js → fthry_index.CsB6qfcs.js} +1 -1
  72. package/dist/{fthry_index.BUpr7PPc.js → fthry_index.CwkH8CR1.js} +5 -5
  73. package/dist/{fthry_index.FI8-xIR_.js → fthry_index.CzxXXkNC.js} +6 -6
  74. package/dist/{fthry_index.BL77F8L5.js → fthry_index.D0WpbHv8.js} +7 -15
  75. package/dist/{fthry_index.DYZfE6Eb.js → fthry_index.D3ON8w4i.js} +2 -2
  76. package/dist/{fthry_index.BhXiGbN_.js → fthry_index.DmeA3gX-.js} +4 -4
  77. package/dist/{fthry_index.DIeH1Fha.js → fthry_index.Dvx8Ucl2.js} +5 -5
  78. package/dist/{fthry_index.DCca32vH.js → fthry_index.Iziq-Kbr.js} +3 -3
  79. package/dist/{fthry_index.CLkq8RJ5.js → fthry_index.LnYfWd3O.js} +4 -4
  80. package/dist/{fthry_index.DuFvbDvW.js → fthry_index.V-k8b4Uk.js} +6 -6
  81. package/dist/{fthry_input.DSLxO-Fg.js → fthry_input.C9_eZY4n.js} +1 -1
  82. package/dist/{fthry_mermaid-O7DHMXV3.BAO4irKu.js → fthry_mermaid-O7DHMXV3.CMda8-_P.js} +3 -3
  83. package/dist/{fthry_script.Citmw5JL.js → fthry_script.BzA0wgMM.js} +1 -1
  84. package/dist/{fthry_styles.jykBHQWz.js → fthry_styles.CecGNp-8.js} +70 -1
  85. package/dist/{fthry_useElementSize.C2KEM4Ci.js → fthry_useElementSize.DlGauB6l.js} +1 -1
  86. package/dist/{fthry_useSalesforceSync.99Af5jox.js → fthry_useSalesforceSync.t_h78aUg.js} +1 -1
  87. package/dist/{fthry_webfontloader.0HWdUjSQ.js → fthry_webfontloader.B3Cs903r.js} +1 -1
  88. package/dist/index.js +1 -1
  89. package/package.json +4 -8
  90. package/umd/{529.2bfdaee9e2bdc6d6c340.js → 529.63afee65c745ca950f81.js} +1 -1
  91. package/umd/94.e8ad20ab98c664d13197.js +2 -0
  92. package/umd/94.e8ad20ab98c664d13197.js.LICENSE.txt +5 -0
  93. package/umd/index.js +1 -1
  94. package/umd/94.825cd88111c75098af1f.js +0 -1
@@ -23224,39 +23224,57 @@ function requireClassnames () {
23224
23224
 
23225
23225
  var hasOwn = {}.hasOwnProperty;
23226
23226
 
23227
- function classNames() {
23228
- var classes = [];
23227
+ function classNames () {
23228
+ var classes = '';
23229
23229
 
23230
23230
  for (var i = 0; i < arguments.length; i++) {
23231
23231
  var arg = arguments[i];
23232
- if (!arg) continue;
23233
-
23234
- var argType = typeof arg;
23235
-
23236
- if (argType === 'string' || argType === 'number') {
23237
- classes.push(arg);
23238
- } else if (Array.isArray(arg)) {
23239
- if (arg.length) {
23240
- var inner = classNames.apply(null, arg);
23241
- if (inner) {
23242
- classes.push(inner);
23243
- }
23244
- }
23245
- } else if (argType === 'object') {
23246
- if (arg.toString !== Object.prototype.toString && !arg.toString.toString().includes('[native code]')) {
23247
- classes.push(arg.toString());
23248
- continue;
23249
- }
23250
-
23251
- for (var key in arg) {
23252
- if (hasOwn.call(arg, key) && arg[key]) {
23253
- classes.push(key);
23254
- }
23255
- }
23232
+ if (arg) {
23233
+ classes = appendClass(classes, parseValue(arg));
23256
23234
  }
23257
23235
  }
23258
23236
 
23259
- return classes.join(' ');
23237
+ return classes;
23238
+ }
23239
+
23240
+ function parseValue (arg) {
23241
+ if (typeof arg === 'string' || typeof arg === 'number') {
23242
+ return arg;
23243
+ }
23244
+
23245
+ if (typeof arg !== 'object') {
23246
+ return '';
23247
+ }
23248
+
23249
+ if (Array.isArray(arg)) {
23250
+ return classNames.apply(null, arg);
23251
+ }
23252
+
23253
+ if (arg.toString !== Object.prototype.toString && !arg.toString.toString().includes('[native code]')) {
23254
+ return arg.toString();
23255
+ }
23256
+
23257
+ var classes = '';
23258
+
23259
+ for (var key in arg) {
23260
+ if (hasOwn.call(arg, key) && arg[key]) {
23261
+ classes = appendClass(classes, key);
23262
+ }
23263
+ }
23264
+
23265
+ return classes;
23266
+ }
23267
+
23268
+ function appendClass (value, newClass) {
23269
+ if (!newClass) {
23270
+ return value;
23271
+ }
23272
+
23273
+ if (value) {
23274
+ return value + ' ' + newClass;
23275
+ }
23276
+
23277
+ return value + newClass;
23260
23278
  }
23261
23279
 
23262
23280
  if (module.exports) {
@@ -23271,7 +23289,7 @@ function requireClassnames () {
23271
23289
  }
23272
23290
 
23273
23291
  var classnamesExports = requireClassnames();
23274
- var cls = /*@__PURE__*/getDefaultExportFromCjs(classnamesExports);
23292
+ var classNames = /*@__PURE__*/getDefaultExportFromCjs(classnamesExports);
23275
23293
 
23276
23294
  var UserIdError = /** @class */ (function (_super) {
23277
23295
  __extends(UserIdError, _super);
@@ -23406,9 +23424,9 @@ var StyledContainer = forwardRef(function (_a, ref) {
23406
23424
  var elementType = (_e = (_d = node.servar) === null || _d === void 0 ? void 0 : _d.type) !== null && _e !== void 0 ? _e : node.type;
23407
23425
  if (component) {
23408
23426
  var Component = component;
23409
- return (jsx$1(Component, __assign({ ref: ref, node: _node, css: styles, className: cls('styled-container', type, className) }, props, { children: jsx$1("div", __assign({ className: 'inner-container', css: innerStyles }, { children: children })) }), node.id));
23427
+ return (jsx$1(Component, __assign({ ref: ref, node: _node, css: styles, className: classNames('styled-container', type, className) }, props, { children: jsx$1("div", __assign({ className: 'inner-container', css: innerStyles }, { children: children })) }), node.id));
23410
23428
  }
23411
- return (jsxs(Fragment, { children: [isFixed && (jsx$1("div", __assign({ className: cls('styled-container', type, className) }, props, { css: __assign(__assign({}, styles), { position: 'fixed', zIndex: FORM_Z_INDEX + 1 }), ref: fixedContainerRef, "data-feathery-id": node.key, "data-element": elementType }, { children: jsx$1("div", __assign({ className: 'inner-container', css: innerStyles }, { children: children })) }), "".concat(node.id, "-fixed"))), jsx$1("div", __assign({ ref: ref, css: isFixed ? __assign(__assign({}, styles), { visibility: 'hidden' }) : styles, className: cls('styled-container', type, className) }, props, { "data-id": node.id, "data-feathery-id": node.key, "data-element": elementType }, { children: jsx$1("div", __assign({ className: 'inner-container', css: innerStyles }, { children: isFixed ? null : children })) }), node.id)] }));
23429
+ return (jsxs(Fragment, { children: [isFixed && (jsx$1("div", __assign({ className: classNames('styled-container', type, className) }, props, { css: __assign(__assign({}, styles), { position: 'fixed', zIndex: FORM_Z_INDEX + 1 }), ref: fixedContainerRef, "data-feathery-id": node.key, "data-element": elementType }, { children: jsx$1("div", __assign({ className: 'inner-container', css: innerStyles }, { children: children })) }), "".concat(node.id, "-fixed"))), jsx$1("div", __assign({ ref: ref, css: isFixed ? __assign(__assign({}, styles), { visibility: 'hidden' }) : styles, className: classNames('styled-container', type, className) }, props, { "data-id": node.id, "data-feathery-id": node.key, "data-element": elementType }, { children: jsx$1("div", __assign({ className: 'inner-container', css: innerStyles }, { children: isFixed ? null : children })) }), node.id)] }));
23412
23430
  });
23413
23431
 
23414
23432
  /**
@@ -23628,7 +23646,20 @@ function generateHeaderElement(doc, inline) {
23628
23646
  return newHeader;
23629
23647
  }
23630
23648
 
23631
- var FORM_STYLES = "\n #QFVFormPage {\n display: flex;\n flex: 1;\n flex-direction: column;\n width: 100%;\n margin: 0 auto;\n }\n #wrapper {\n position: static;\n background: #f6f7fa;\n overflow: auto;\n width: 100% !important;\n height: 100%;\n }\n #scroller {\n width: auto;\n position: static;\n max-width: 1000px;\n margin: 0 auto;\n background: none !important;\n }\n\n #QFVPageList {\n position: relative;\n border: none !important;\n }\n\n #QFVPageList li {\n position: relative;\n margin: 5% 15pt;\n border: none !important;\n box-shadow: 0px 1.05px 5.27px 0px #23254340;\n border-radius: 8px;\n overflow: hidden;\n }\n\n #QFVPageList li > div {\n width: 100% !important;\n height: auto !important;\n position: relative;\n overflow: hidden;\n }\n\n #QFVPageList li > div > div {\n background: none !important;\n }\n\n #QFVPageList li > div > div > img {\n width: 100% !important;\n }\n\n .input-label {\n border: none !important;\n }\n\n #QFVPageList .input-label > span {\n width: 100% !important;\n aspect-ratio: 1 / 1;\n height: auto !important;\n background-size: contain;\n }\n";
23649
+ var FORM_STYLES = "\n #QFVFormPage {\n display: flex;\n flex: 1;\n flex-direction: column;\n width: 100%;\n margin: 0 auto;\n }\n #wrapper {\n position: static;\n background: #f6f7fa;\n overflow: auto;\n width: 100% !important;\n height: 100%;\n }\n #scroller {\n width: auto;\n position: static;\n max-width: 1000px;\n margin: 0 auto;\n background: none !important;\n }\n\n #QFVPageList {\n position: relative;\n border: none !important;\n }\n\n /*\n * Each <li> is the responsive \"card\". Its aspect-ratio (set inline per page\n * from the page's pt dimensions) reserves the correct height as the column\n * width changes, since the scaled page below does not contribute layout size.\n */\n #QFVPageList li {\n position: relative;\n margin: 5% 15pt;\n border: none !important;\n box-shadow: 0px 1.05px 5.27px 0px #23254340;\n border-radius: 8px;\n overflow: hidden;\n }\n\n /*\n * The page itself stays at its natural pt size and is scaled to fill the card\n * with a single uniform transform. Because the page image and every overlay\n * live in this one rigid coordinate space, they scale together and cannot\n * drift relative to each other at any width. --quik-page-scale is set per\n * page by the injected ResizeObserver (see PAGE_SCALE_SCRIPT).\n */\n #QFVPageList li > div {\n position: absolute;\n top: 0;\n left: 0;\n transform-origin: top left;\n transform: scale(var(--quik-page-scale, 1));\n }\n\n #QFVPageList li > div > div {\n background: none !important;\n }\n\n #QFVPageList li > div > div > img {\n width: 100% !important;\n display: block !important;\n }\n\n /*\n * Overlay inputs are sized in pt that already account for their padding and\n * border (the source renders them border-box via its external CSS/JS, which\n * does not run inside this restructured iframe). Force border-box so the pt\n * width/height is the rendered box \u2014 otherwise content-box adds padding +\n * border on top and the boxes render too large, most visibly in height.\n */\n #QFVPageList input,\n #QFVPageList textarea,\n #QFVPageList select,\n #QFVPageList label {\n box-sizing: border-box !important;\n }\n\n .input-label {\n border: none !important;\n }\n\n #QFVPageList .input-label > span {\n width: 100% !important;\n aspect-ratio: 1 / 1;\n height: auto !important;\n background-size: contain;\n }\n";
23650
+ /**
23651
+ * Left inset (in pt) that every overlay's source 'left' carries relative to the
23652
+ * page-width basis. Subtracted from all elements so inputs align with the page
23653
+ * image the same way labels already did.
23654
+ */
23655
+ var PAGE_LEFT_OFFSET_PT = 2;
23656
+ /**
23657
+ * Per-page top inset (in pt) baked into the source coordinate system: each page
23658
+ * contributes a 2px (= 1.5pt at 96dpi) top border, so page N's origin is
23659
+ * `1.5 + N * (pageHeight + 1.5)`. Confirmed empirically — before this offset the
23660
+ * residual vertical drift was exactly 1.5pt × (pageIndex + 1).
23661
+ */
23662
+ var PAGE_TOP_GAP_PT = 1.5;
23632
23663
  /**
23633
23664
  * Parses a CSS style value (e.g., "123pt" or "calc(2*456pt)") and returns the numerical value in 'pt'.
23634
23665
  * This function handles simple 'pt' values and 'calc()' expressions by using a safe evaluation.
@@ -23639,60 +23670,65 @@ function parsePtValue(styleValue) {
23639
23670
  return styleValue ? parseFloat(styleValue.replace('pt', '')) : 0;
23640
23671
  }
23641
23672
  /**
23642
- * Recalculates the 'top', 'left', 'width', and 'height' of all elements to be
23643
- * relative to their page container and converts them to percentage values.
23673
+ * Makes the Quik document responsive by localizing each overlay onto its page
23674
+ * (in native `pt`) and scaling each page as a single rigid unit to fill its
23675
+ * responsive container.
23644
23676
  *
23645
- * This function is designed to work with the provided HTML structure where
23646
- * elements have absolute positioning based on the entire document and page
23647
- * containers have their dimensions defined in `pt` in their style attribute.
23648
- * It makes the layout responsive by converting these fixed `pt` values to
23649
- * percentages based on the parent page's dimensions.
23677
+ * The source HTML positions every overlay absolutely against one document-wide
23678
+ * container, so coordinates are cumulative across pages and page dimensions are
23679
+ * declared in `pt`. Rather than re-deriving per-axis percentages (which couples
23680
+ * alignment to containing-block and box-model behavior), this keeps the page's
23681
+ * exact coordinate space intact and applies a uniform CSS transform, so the
23682
+ * page image and its overlays can never drift relative to one another.
23650
23683
  *
23651
23684
  * @param doc The document object to manipulate.
23652
23685
  */
23653
23686
  function repositionFormInputs(doc) {
23654
- var pageOffsetPt = 1.5; // original positions include 2px (1.5pt) top border per page
23687
+ // Overlays are absolutely positioned against a single document-wide container
23688
+ // (#scroller in the source), so their `top` values are cumulative across all
23689
+ // pages. Each page contributes its height plus a 2px (1.5pt) top border, so
23690
+ // the running origin starts at one border and grows by height + border.
23691
+ var pageOffsetPt = PAGE_TOP_GAP_PT;
23655
23692
  var pages = doc.querySelectorAll('#QFVPageList > li > div');
23656
23693
  pages.forEach(function (page) {
23657
- // Dynamically get the page's dimensions from its style attribute.
23658
23694
  var pageWidthPt = parsePtValue(page.style.width);
23659
23695
  var pageHeightPt = parsePtValue(page.style.height);
23660
23696
  if (pageWidthPt === 0 || pageHeightPt === 0) {
23661
23697
  console.error('Could not determine page dimensions from style attribute:', page);
23662
- return; // Skip this page if dimensions are not found.
23698
+ // Still advance the cumulative origin so later pages stay in sync.
23699
+ pageOffsetPt += pageHeightPt + PAGE_TOP_GAP_PT;
23700
+ return;
23663
23701
  }
23664
- // Get all child elements of the page, not just inputs.
23665
- var elements = Array.from(page.children);
23666
- elements.forEach(function (element) {
23667
- if (element instanceof HTMLElement) {
23668
- var style = element.style;
23669
- // Get original pt values for all relevant properties.
23670
- var currentTopPt = parsePtValue(style.top);
23671
- var currentLeftPt = parsePtValue(style.left);
23672
- var currentWidthPt = parsePtValue(style.width);
23673
- var currentHeightPt = parsePtValue(style.height);
23674
- // Recalculate relative top position in pt by subtracting the cumulative page offset.
23675
- var relativeTopPt = currentTopPt - pageOffsetPt;
23676
- if (element.tagName === 'LABEL') {
23677
- currentLeftPt -= 2; // Adjust for label (radio box)'s left offset
23678
- }
23679
- // Convert pt values to percentages.
23680
- var newTopPercent = (relativeTopPt / pageHeightPt) * 100;
23681
- var newLeftPercent = (currentLeftPt / pageWidthPt) * 100;
23682
- var newWidthPercent = (currentWidthPt / pageWidthPt) * 100;
23683
- var newHeightPercent = (currentHeightPt / pageHeightPt) * 100;
23684
- // Update the element's style with percentage values.
23685
- style.top = "".concat(newTopPercent.toFixed(2), "%");
23686
- style.left = "".concat(newLeftPercent.toFixed(2), "%");
23687
- style.width = "".concat(newWidthPercent.toFixed(2), "%");
23688
- style.height = "".concat(newHeightPercent.toFixed(2), "%");
23689
- if (element.tagName === 'LABEL') {
23690
- element.className = "input-label ".concat(element.className);
23691
- }
23702
+ // Localize each overlay from the document-wide cumulative coordinate system
23703
+ // onto this page, keeping native pt units. The whole page is scaled as one
23704
+ // rigid unit (see below), so overlays cannot drift relative to the image.
23705
+ Array.from(page.children).forEach(function (element) {
23706
+ if (!(element instanceof HTMLElement))
23707
+ return;
23708
+ // The page image fills the page box; leave it at its natural size.
23709
+ if (element.tagName === 'IMG' || element.querySelector('img'))
23710
+ return;
23711
+ var localTopPt = parsePtValue(element.style.top) - pageOffsetPt;
23712
+ // The source 'left' carries a small (~2pt) inset relative to the page
23713
+ // image's left edge; remove it so overlays sit on the artwork.
23714
+ var localLeftPt = parsePtValue(element.style.left) - PAGE_LEFT_OFFSET_PT;
23715
+ element.style.top = "".concat(localTopPt, "pt");
23716
+ element.style.left = "".concat(localLeftPt, "pt");
23717
+ // width/height stay in their native pt units and scale with the page.
23718
+ if (element.tagName === 'LABEL') {
23719
+ element.className = "input-label ".concat(element.className);
23692
23720
  }
23693
23721
  });
23694
- // Update the cumulative page offset for the next page.
23695
- pageOffsetPt += pageHeightPt + 1.5; // Add 1.5pt for the top border of the next page
23722
+ // Pin the page to its natural pt size; the injected ResizeObserver scales it
23723
+ // (via --quik-page-scale) to fill the responsive <li> card. The <li> gets
23724
+ // the matching aspect-ratio so it reserves the correct layout height.
23725
+ page.style.width = "".concat(pageWidthPt, "pt");
23726
+ page.style.height = "".concat(pageHeightPt, "pt");
23727
+ page.dataset.quikPageWidthPt = "".concat(pageWidthPt);
23728
+ var li = page.parentElement;
23729
+ if (li)
23730
+ li.style.aspectRatio = "".concat(pageWidthPt, " / ").concat(pageHeightPt);
23731
+ pageOffsetPt += pageHeightPt + PAGE_TOP_GAP_PT;
23696
23732
  });
23697
23733
  }
23698
23734
  function generateFormElement(doc) {
@@ -23703,12 +23739,26 @@ function generateFormElement(doc) {
23703
23739
  }
23704
23740
  repositionFormInputs(doc);
23705
23741
  injectFormStyles(doc);
23742
+ injectPageScaleScript(doc);
23706
23743
  return form;
23707
23744
  }
23708
23745
  function injectFormStyles(doc) {
23709
23746
  var customFormStyle = doc.createElement('style');
23710
23747
  customFormStyle.innerHTML = FORM_STYLES;
23711
23748
  doc.head.appendChild(customFormStyle);
23749
+ }
23750
+ /** Points-to-pixels factor at 96dpi (CSS reference pixel: 96px === 72pt). */
23751
+ var PT_TO_PX = 96 / 72;
23752
+ /**
23753
+ * Sets each page's --quik-page-scale so its natural pt width fills the
23754
+ * responsive <li> card, and keeps it updated on resize. Runs inside the form
23755
+ * iframe. Kept dependency-free and ES5-safe since it executes verbatim there.
23756
+ */
23757
+ var PAGE_SCALE_SCRIPT = "\n(function () {\n var PT_TO_PX = ".concat(PT_TO_PX, ";\n function applyScale() {\n var pages = document.querySelectorAll(\n '#QFVPageList > li > div[data-quik-page-width-pt]'\n );\n for (var i = 0; i < pages.length; i++) {\n var page = pages[i];\n var li = page.parentElement;\n if (!li) continue;\n var widthPt = parseFloat(page.getAttribute('data-quik-page-width-pt'));\n if (!widthPt) continue;\n var naturalPx = widthPt * PT_TO_PX;\n var scale = li.clientWidth / naturalPx;\n if (scale > 0 && isFinite(scale)) {\n page.style.setProperty('--quik-page-scale', String(scale));\n }\n }\n }\n if (document.readyState === 'loading') {\n document.addEventListener('DOMContentLoaded', applyScale);\n } else {\n applyScale();\n }\n window.addEventListener('resize', applyScale);\n if (typeof ResizeObserver !== 'undefined') {\n var list = document.querySelector('#QFVPageList');\n if (list) new ResizeObserver(applyScale).observe(list);\n }\n})();\n");
23758
+ function injectPageScaleScript(doc) {
23759
+ var script = doc.createElement('script');
23760
+ script.textContent = PAGE_SCALE_SCRIPT;
23761
+ doc.body.appendChild(script);
23712
23762
  }
23713
23763
 
23714
23764
  var SIDEBAR_WIDTH = '200px';
@@ -40873,7 +40923,7 @@ function useTrackUserInteraction(formRef, activeStep, stepKey, formName) {
40873
40923
  }, [activeStep, stepKey, formName]);
40874
40924
  }
40875
40925
 
40876
- var LazyAssistantChat = lazy(function () { return import(/* webpackChunkName: "AssistantChat" */ './fthry_AssistantChat.7IHFhmWu.js').then(function (n) { return n.A; }); });
40926
+ var LazyAssistantChat = lazy(function () { return import(/* webpackChunkName: "AssistantChat" */ './fthry_AssistantChat.hnRlYNVg.js').then(function (n) { return n.A; }); });
40877
40927
  var AssistantChat = function (props) { return (jsx$1(Suspense, __assign({ fallback: null }, { children: jsx$1(LazyAssistantChat, __assign({}, props)) }))); };
40878
40928
 
40879
40929
  var AssistantClient = /** @class */ (function () {
@@ -47479,9 +47529,9 @@ function init(sdkKey, options) {
47479
47529
  if (runningInClient()) {
47480
47530
  // Dynamically load libraries that must be client side
47481
47531
  global.scriptjsLoadPromise = import(
47482
- /* webpackChunkName: "scriptjs" */ './fthry_script.Citmw5JL.js').then(function (n) { return n.s; });
47532
+ /* webpackChunkName: "scriptjs" */ './fthry_script.BzA0wgMM.js').then(function (n) { return n.s; });
47483
47533
  global.webfontloaderPromise = import(
47484
- /* webpackChunkName: "webfontloader" */ './fthry_webfontloader.0HWdUjSQ.js').then(function (n) { return n.w; });
47534
+ /* webpackChunkName: "webfontloader" */ './fthry_webfontloader.B3Cs903r.js').then(function (n) { return n.w; });
47485
47535
  // Client-side tracking logic
47486
47536
  if (initState.userTracking === 'cookie') {
47487
47537
  var cookieKey = "feathery-user-id-".concat(sdkKey);
@@ -47627,7 +47677,7 @@ function getFieldValues() {
47627
47677
  return __assign({}, fieldValues);
47628
47678
  }
47629
47679
  function logFeatheryBadge() {
47630
- console.log('%c Feathery %c v' + "2.39.3" + ' ', // replaced with real version during build
47680
+ console.log('%c Feathery %c v' + "2.39.5" + ' ', // replaced with real version during build
47631
47681
  'background: #e2626e; color: white; padding: 2px 6px; border-radius: 3px 0 0 3px; font-weight: bold;', 'background: #fce7e9; color: #c5495a; padding: 2px 6px; border-radius: 0 3px 3px 0;');
47632
47682
  }
47633
47683
 
@@ -49142,64 +49192,64 @@ breakpoint) {
49142
49192
 
49143
49193
  var fieldLoaders = {
49144
49194
  AddressLine1: function () {
49145
- return import(/* webpackChunkName: "AddressField" */ './fthry_index.DIeH1Fha.js');
49195
+ return import(/* webpackChunkName: "AddressField" */ './fthry_index.Dvx8Ucl2.js');
49146
49196
  },
49147
49197
  ButtonGroupField: function () {
49148
- return import(/* webpackChunkName: "ButtonGroupField" */ './fthry_index.BhXiGbN_.js');
49198
+ return import(/* webpackChunkName: "ButtonGroupField" */ './fthry_index.DmeA3gX-.js');
49149
49199
  },
49150
49200
  CheckboxField: function () {
49151
- return import(/* webpackChunkName: "CheckboxField" */ './fthry_index.CPJDFJws.js');
49201
+ return import(/* webpackChunkName: "CheckboxField" */ './fthry_index.BdnUxvNg.js');
49152
49202
  },
49153
49203
  CheckboxGroupField: function () {
49154
- return import(/* webpackChunkName: "CheckboxGroupField" */ './fthry_index.FI8-xIR_.js');
49204
+ return import(/* webpackChunkName: "CheckboxGroupField" */ './fthry_index.CzxXXkNC.js');
49155
49205
  },
49156
49206
  ColorPickerField: function () {
49157
- return import(/* webpackChunkName: "ColorPickerField" */ './fthry_index.BWutFEHx.js');
49207
+ return import(/* webpackChunkName: "ColorPickerField" */ './fthry_index.BMui71Q7.js');
49158
49208
  },
49159
49209
  CustomField: function () {
49160
- return import(/* webpackChunkName: "CustomField" */ './fthry_index.ChwXJfUv.js');
49210
+ return import(/* webpackChunkName: "CustomField" */ './fthry_index.Bd4KkVao.js');
49161
49211
  },
49162
49212
  DateSelectorField: function () {
49163
- return import(/* webpackChunkName: "DateSelectorField" */ './fthry_index.DuFvbDvW.js');
49213
+ return import(/* webpackChunkName: "DateSelectorField" */ './fthry_index.V-k8b4Uk.js');
49164
49214
  },
49165
49215
  DropdownField: function () {
49166
- return import(/* webpackChunkName: "DropdownField" */ './fthry_index.BEPJGeYZ.js');
49216
+ return import(/* webpackChunkName: "DropdownField" */ './fthry_index.CSxTJscJ.js');
49167
49217
  },
49168
49218
  DropdownMultiField: function () {
49169
- return import(/* webpackChunkName: "DropdownMultiField" */ './fthry_index.BL77F8L5.js');
49219
+ return import(/* webpackChunkName: "DropdownMultiField" */ './fthry_index.D0WpbHv8.js');
49170
49220
  },
49171
49221
  FileUploadField: function () {
49172
- return import(/* webpackChunkName: "FileUploadField" */ './fthry_index.D1OVjTFi.js');
49222
+ return import(/* webpackChunkName: "FileUploadField" */ './fthry_index.BWxZjCVE.js');
49173
49223
  },
49174
49224
  MatrixField: function () {
49175
- return import(/* webpackChunkName: "MatrixField" */ './fthry_index.DgtRP8YP.js');
49225
+ return import(/* webpackChunkName: "MatrixField" */ './fthry_index.Cr_PhEG5.js');
49176
49226
  },
49177
49227
  PasswordField: function () {
49178
- return import(/* webpackChunkName: "PasswordField" */ './fthry_index.BUpr7PPc.js');
49228
+ return import(/* webpackChunkName: "PasswordField" */ './fthry_index.CwkH8CR1.js');
49179
49229
  },
49180
49230
  PaymentMethodField: function () {
49181
- return import(/* webpackChunkName: "PaymentMethodField" */ './fthry_PaymentMethodField.BRFKNkQe.js');
49231
+ return import(/* webpackChunkName: "PaymentMethodField" */ './fthry_PaymentMethodField.BKglAUrx.js');
49182
49232
  },
49183
- PhoneField: function () { return import(/* webpackChunkName: "PhoneField" */ './fthry_index.Cg_MIfff.js'); },
49233
+ PhoneField: function () { return import(/* webpackChunkName: "PhoneField" */ './fthry_index.CPcpxgDL.js'); },
49184
49234
  PinInputField: function () {
49185
- return import(/* webpackChunkName: "PinInputField" */ './fthry_index.BmbcZtaY.js');
49235
+ return import(/* webpackChunkName: "PinInputField" */ './fthry_index.B3z3FXtp.js');
49186
49236
  },
49187
- QRScanner: function () { return import(/* webpackChunkName: "QRScanner" */ './fthry_index.yQ6xXxSy.js'); },
49237
+ QRScanner: function () { return import(/* webpackChunkName: "QRScanner" */ './fthry_index.CFwYUXZ8.js'); },
49188
49238
  RadioButtonGroupField: function () {
49189
49239
  return import(
49190
- /* webpackChunkName: "RadioButtonGroupField" */ './fthry_index.Cq7pT83J.js');
49240
+ /* webpackChunkName: "RadioButtonGroupField" */ './fthry_index.CS-REvYp.js');
49191
49241
  },
49192
49242
  RatingField: function () {
49193
- return import(/* webpackChunkName: "RatingField" */ './fthry_index.D_fIGqLO.js');
49243
+ return import(/* webpackChunkName: "RatingField" */ './fthry_index.BBA4M9Ym.js');
49194
49244
  },
49195
49245
  SignatureField: function () {
49196
- return import(/* webpackChunkName: "SignatureField" */ './fthry_index.DCca32vH.js');
49246
+ return import(/* webpackChunkName: "SignatureField" */ './fthry_index.Iziq-Kbr.js');
49197
49247
  },
49198
49248
  SliderField: function () {
49199
- return import(/* webpackChunkName: "SliderField" */ './fthry_index.DYZfE6Eb.js');
49249
+ return import(/* webpackChunkName: "SliderField" */ './fthry_index.D3ON8w4i.js');
49200
49250
  },
49201
- TextField: function () { return import(/* webpackChunkName: "TextField" */ './fthry_index.DH2CYFCC.js'); },
49202
- TextArea: function () { return import(/* webpackChunkName: "TextArea" */ './fthry_index.CLkq8RJ5.js'); }
49251
+ TextField: function () { return import(/* webpackChunkName: "TextField" */ './fthry_index.7adkb-Yo.js'); },
49252
+ TextArea: function () { return import(/* webpackChunkName: "TextArea" */ './fthry_index.LnYfWd3O.js'); }
49203
49253
  };
49204
49254
  var getPositionKey = function (element) { var _a; return ((_a = element.position) === null || _a === void 0 ? void 0 : _a.join(',')) || 'root'; };
49205
49255
  // Share the resolved component between preload and render. A separate
@@ -50103,9 +50153,9 @@ function isFieldTruthy(fieldKey) {
50103
50153
  }
50104
50154
  function isStepVisible(step) {
50105
50155
  var cond = step.visibility_condition;
50106
- if (!cond || !step.visibility_field)
50156
+ if (!cond || !step.visibility_field_key)
50107
50157
  return true;
50108
- var truthy = isFieldTruthy(step.visibility_field);
50158
+ var truthy = isFieldTruthy(step.visibility_field_key);
50109
50159
  return cond === 'show' ? truthy : !truthy;
50110
50160
  }
50111
50161
  function StepperBar(_a) {
@@ -50393,7 +50443,7 @@ function ElementSkeleton(_a) {
50393
50443
  }
50394
50444
  var templateObject_1;
50395
50445
 
50396
- var TableElement = lazy(function () { return import(/* webpackChunkName: "TableElement" */ './fthry_index.DjKiRDR5.js'); });
50446
+ var TableElement = lazy(function () { return import(/* webpackChunkName: "TableElement" */ './fthry_index.BXJn-2VJ.js'); });
50397
50447
  var Basic = {
50398
50448
  ImageElement: ImageElement,
50399
50449
  VideoElement: VideoElement,
@@ -50690,4 +50740,4 @@ var Feathery = {
50690
50740
  renderAt: renderAt
50691
50741
  };
50692
50742
 
50693
- export { toBase64 as $, emailPatternStr as A, replaceTextVariables as B, getDefaultExportFromCjs as C, DROPDOWN_Z_INDEX as D, ErrorInput as E, FORM_Z_INDEX as F, Global as G, debounce as H, isEmptyArray as I, toList as J, useThumbnailData as K, __spreadArray as L, downloadFile as M, CloseIcon as N, justRemove as O, isNum as P, phoneLib as Q, authState as R, firebaseSMSCountries as S, phoneLibPromise as T, __values as U, loadQRScanner as V, throttle as W, qrPromise as X, cls as Y, devicePixelRatio as Z, __assign as _, jsx$1 as a, MODAL_Z_INDEX as a0, dataURLToFile as a1, stringify$2 as a2, rulesheet as a3, COMMENT as a4, middleware as a5, RULESET as a6, combine as a7, match as a8, serialize as a9, initInfo as aA, getCookie as aB, v4$1 as aC, ReactForm as aD, Elements as aE, init as aF, updateUserId as aG, updateTheme as aH, getFieldValues as aI, renderAt as aJ, LoginForm as aK, useAuthClient as aL, AssistantChat as aM, Feathery as aN, StyledContainer as aO, copy as aa, replace as ab, WEBKIT as ac, MOZ as ad, MS as ae, KEYFRAMES as af, DECLARATION as ag, dealloc as ah, alloc as ai, hash as aj, charat as ak, strlen as al, indexof as am, next as an, token as ao, from as ap, peek as aq, delimit as ar, slice as as, position as at, compile as au, formatDateString as av, internalState as aw, initState as ax, setFieldValues as ay, loadPhoneValidator as az, iosScrollOnFocus as b, __read as c, countryData as d, css as e, fieldValues as f, __makeTemplateObject as g, hoverStylesGuard as h, imgMaxSizeStyles as i, jsxs as j, __rest$1 as k, __awaiter$2 as l, __generator as m, noTextSelectStyles as n, FeatheryClient as o, featheryWindow as p, Fragment as q, resetStyles as r, isMobile as s, featheryDoc as t, useBorder as u, getStripe as v, filterKeys as w, ERROR_COLOR as x, getFieldValue$1 as y, stringifyWithNull as z };
50743
+ export { MODAL_Z_INDEX as $, emailPatternStr as A, replaceTextVariables as B, getDefaultExportFromCjs as C, DROPDOWN_Z_INDEX as D, ErrorInput as E, FORM_Z_INDEX as F, Global as G, debounce as H, isEmptyArray as I, toList as J, useThumbnailData as K, __spreadArray as L, downloadFile as M, CloseIcon as N, justRemove as O, isNum as P, phoneLib as Q, authState as R, firebaseSMSCountries as S, phoneLibPromise as T, __values as U, loadQRScanner as V, throttle as W, qrPromise as X, devicePixelRatio as Y, toBase64 as Z, __assign as _, jsx$1 as a, dataURLToFile as a0, stringify$2 as a1, rulesheet as a2, COMMENT as a3, middleware as a4, RULESET as a5, combine as a6, match as a7, serialize as a8, copy as a9, getCookie as aA, v4$1 as aB, ReactForm as aC, Elements as aD, init as aE, updateUserId as aF, updateTheme as aG, getFieldValues as aH, renderAt as aI, LoginForm as aJ, useAuthClient as aK, AssistantChat as aL, Feathery as aM, StyledContainer as aN, replace as aa, WEBKIT as ab, MOZ as ac, MS as ad, KEYFRAMES as ae, DECLARATION as af, dealloc as ag, alloc as ah, hash as ai, charat as aj, strlen as ak, indexof as al, next as am, token as an, from as ao, peek as ap, delimit as aq, slice as ar, position as as, compile as at, formatDateString as au, internalState as av, initState as aw, setFieldValues as ax, loadPhoneValidator as ay, initInfo as az, iosScrollOnFocus as b, __read as c, countryData as d, css as e, fieldValues as f, __makeTemplateObject as g, hoverStylesGuard as h, imgMaxSizeStyles as i, jsxs as j, __rest$1 as k, __awaiter$2 as l, __generator as m, noTextSelectStyles as n, FeatheryClient as o, featheryWindow as p, Fragment as q, resetStyles as r, isMobile as s, featheryDoc as t, useBorder as u, getStripe as v, filterKeys as w, ERROR_COLOR as x, getFieldValue$1 as y, stringifyWithNull as z };
@@ -1,4 +1,4 @@
1
- import { p as featheryWindow, j as jsxs, _ as __assign, a as jsx, c as __read, u as useBorder, h as hoverStylesGuard, P as isNum } from './fthry_index.CpPyr71U.js';
1
+ import { p as featheryWindow, j as jsxs, _ as __assign, a as jsx, c as __read, u as useBorder, h as hoverStylesGuard, P as isNum } from './fthry_index.B0dTcALC.js';
2
2
  import { useRef, useCallback, useEffect, useState } from 'react';
3
3
  import 'react/jsx-runtime';
4
4
  import 'react-dom/client';
@@ -1,4 +1,4 @@
1
- import { C as getDefaultExportFromCjs } from './fthry_index.CpPyr71U.js';
1
+ import { C as getDefaultExportFromCjs } from './fthry_index.B0dTcALC.js';
2
2
 
3
3
  var propTypes = {exports: {}};
4
4
 
@@ -1,4 +1,4 @@
1
- import { a as jsx, _ as __assign, c as __read, j as jsxs, E as ErrorInput } from './fthry_index.CpPyr71U.js';
1
+ import { a as jsx, _ as __assign, c as __read, j as jsxs, E as ErrorInput } from './fthry_index.B0dTcALC.js';
2
2
  import { useState } from 'react';
3
3
  import 'react/jsx-runtime';
4
4
  import 'react-dom/client';
@@ -1,4 +1,4 @@
1
- import { c as __read, j as jsxs$1, _ as __assign, a as jsx$1, F as FORM_Z_INDEX } from './fthry_index.CpPyr71U.js';
1
+ import { c as __read, j as jsxs$1, _ as __assign, a as jsx$1, F as FORM_Z_INDEX } from './fthry_index.B0dTcALC.js';
2
2
  import React__default, { useRef, useEffect, useCallback, useState, useMemo, Fragment } from 'react';
3
3
  import { jsx, jsxs } from 'react/jsx-runtime';
4
4
  import 'react-dom/client';
@@ -1,4 +1,4 @@
1
- import { j as jsxs, _ as __assign, a as jsx, c as __read, I as isEmptyArray, J as toList, K as useThumbnailData, L as __spreadArray, i as imgMaxSizeStyles, l as __awaiter, m as __generator, M as downloadFile, N as CloseIcon, b as iosScrollOnFocus, F as FORM_Z_INDEX, O as justRemove } from './fthry_index.CpPyr71U.js';
1
+ import { j as jsxs, _ as __assign, a as jsx, c as __read, I as isEmptyArray, J as toList, K as useThumbnailData, L as __spreadArray, i as imgMaxSizeStyles, l as __awaiter, m as __generator, M as downloadFile, N as CloseIcon, b as iosScrollOnFocus, F as FORM_Z_INDEX, O as justRemove } from './fthry_index.B0dTcALC.js';
2
2
  import { useRef, useState, useEffect } from 'react';
3
3
  import 'react/jsx-runtime';
4
4
  import 'react-dom/client';
@@ -1,4 +1,4 @@
1
- import { k as __rest, a as jsx, _ as __assign, j as jsxs, q as Fragment, c as __read, t as featheryDoc, f as fieldValues, z as stringifyWithNull, U as __values, L as __spreadArray } from './fthry_index.CpPyr71U.js';
1
+ import { k as __rest, a as jsx, _ as __assign, j as jsxs, q as Fragment, c as __read, t as featheryDoc, f as fieldValues, z as stringifyWithNull, U as __values, L as __spreadArray } from './fthry_index.B0dTcALC.js';
2
2
  import { useState, useRef, useEffect, useCallback, useMemo } from 'react';
3
3
  import { createPortal } from 'react-dom';
4
4
  import 'react/jsx-runtime';
@@ -1,4 +1,4 @@
1
- import { a as jsx, _ as __assign, j as jsxs, c as __read, l as __awaiter, m as __generator, p as featheryWindow, q as Fragment, E as ErrorInput } from './fthry_index.CpPyr71U.js';
1
+ import { a as jsx, _ as __assign, j as jsxs, c as __read, l as __awaiter, m as __generator, p as featheryWindow, q as Fragment, E as ErrorInput } from './fthry_index.B0dTcALC.js';
2
2
  import { useRef, useState, useEffect, memo, useMemo } from 'react';
3
3
  import 'react/jsx-runtime';
4
4
  import 'react-dom/client';
@@ -1,4 +1,4 @@
1
- import { _ as __assign, h as hoverStylesGuard, j as jsxs, a as jsx, b as iosScrollOnFocus } from './fthry_index.CpPyr71U.js';
1
+ import { _ as __assign, h as hoverStylesGuard, j as jsxs, a as jsx, b as iosScrollOnFocus } from './fthry_index.B0dTcALC.js';
2
2
  import { useMemo } from 'react';
3
3
  import 'react/jsx-runtime';
4
4
  import 'react-dom/client';
@@ -1,6 +1,6 @@
1
- import { l as __awaiter, m as __generator, L as __spreadArray, c as __read, U as __values, p as featheryWindow, V as loadQRScanner, W as throttle, a as jsx, j as jsxs, _ as __assign, q as Fragment, E as ErrorInput, X as qrPromise } from './fthry_index.CpPyr71U.js';
1
+ import { l as __awaiter, m as __generator, L as __spreadArray, c as __read, U as __values, p as featheryWindow, V as loadQRScanner, W as throttle, a as jsx, j as jsxs, _ as __assign, q as Fragment, E as ErrorInput, X as qrPromise } from './fthry_index.B0dTcALC.js';
2
2
  import React__default, { useEffect, useCallback } from 'react';
3
- import { S as SliderStyles, a as Slider } from './fthry_styles.jykBHQWz.js';
3
+ import { S as SliderStyles, a as Slider } from './fthry_styles.CecGNp-8.js';
4
4
  import 'react/jsx-runtime';
5
5
  import 'react-dom/client';
6
6
  import 'jszip';
@@ -1,9 +1,9 @@
1
- import { k as __rest, c as __read, d as countryData, Q as phoneLib, R as authState, S as firebaseSMSCountries, j as jsxs, a as jsx, _ as __assign, q as Fragment, D as DROPDOWN_Z_INDEX, u as useBorder, T as phoneLibPromise, h as hoverStylesGuard, P as isNum, b as iosScrollOnFocus, r as resetStyles } from './fthry_index.CpPyr71U.js';
1
+ import { k as __rest, c as __read, d as countryData, Q as phoneLib, R as authState, S as firebaseSMSCountries, j as jsxs, a as jsx, _ as __assign, q as Fragment, D as DROPDOWN_Z_INDEX, u as useBorder, T as phoneLibPromise, h as hoverStylesGuard, P as isNum, b as iosScrollOnFocus, r as resetStyles } from './fthry_index.B0dTcALC.js';
2
2
  import { forwardRef, useRef, useState, useEffect, useMemo, memo } from 'react';
3
- import { P as Placeholder } from './fthry_Placeholder.Do45acle.js';
4
- import { I as InlineTooltip } from './fthry_InlineTooltip.CvjSSGKM.js';
5
- import { O as Overlay } from './fthry_Overlay.BV_vE3K3.js';
6
- import { u as useElementSize } from './fthry_useElementSize.C2KEM4Ci.js';
3
+ import { P as Placeholder } from './fthry_Placeholder.CVnQrsv8.js';
4
+ import { I as InlineTooltip } from './fthry_InlineTooltip.Bq9500oG.js';
5
+ import { O as Overlay } from './fthry_Overlay.DEggBAsa.js';
6
+ import { u as useElementSize } from './fthry_useElementSize.DlGauB6l.js';
7
7
  import 'react/jsx-runtime';
8
8
  import 'react-dom/client';
9
9
  import 'jszip';
@@ -1,14 +1,14 @@
1
- import { c as __read, j as jsxs, _ as __assign, a as jsx, b as iosScrollOnFocus, r as resetStyles } from './fthry_index.CpPyr71U.js';
1
+ import { c as __read, j as jsxs, _ as __assign, a as jsx, b as iosScrollOnFocus, r as resetStyles } from './fthry_index.B0dTcALC.js';
2
2
  import { useRef, useState, useMemo } from 'react';
3
- import { F as FormControl } from './fthry_FormControl.DPSb7yUR.js';
4
- import { applyCheckableInputStyles, composeCheckableInputStyle, applyHeightWidthMarginByFontSize } from './fthry_index.CPJDFJws.js';
5
- import { I as InlineTooltip } from './fthry_InlineTooltip.CvjSSGKM.js';
6
- import { u as useSalesforceSync } from './fthry_useSalesforceSync.99Af5jox.js';
3
+ import { F as FormControl } from './fthry_FormControl.8pSBTA31.js';
4
+ import { applyCheckableInputStyles, composeCheckableInputStyle, applyHeightWidthMarginByFontSize } from './fthry_index.BdnUxvNg.js';
5
+ import { I as InlineTooltip } from './fthry_InlineTooltip.Bq9500oG.js';
6
+ import { u as useSalesforceSync } from './fthry_useSalesforceSync.t_h78aUg.js';
7
7
  import 'react/jsx-runtime';
8
8
  import 'react-dom/client';
9
9
  import 'jszip';
10
10
  import 'react-dom';
11
- import './fthry_Overlay.BV_vE3K3.js';
11
+ import './fthry_Overlay.DEggBAsa.js';
12
12
 
13
13
  var applyRadioGroupStyles = function (element, responsiveStyles) {
14
14
  responsiveStyles.addTargets('radioGroup');
@@ -1,13 +1,13 @@
1
- import { u as useBorder, c as __read, a as jsx, _ as __assign, d as countryData, f as fieldValues, j as jsxs, h as hoverStylesGuard, e as css, g as __makeTemplateObject, G as Global, b as iosScrollOnFocus, r as resetStyles } from './fthry_index.CpPyr71U.js';
1
+ import { u as useBorder, c as __read, a as jsx, _ as __assign, d as countryData, f as fieldValues, j as jsxs, h as hoverStylesGuard, e as css, g as __makeTemplateObject, G as Global, b as iosScrollOnFocus, r as resetStyles } from './fthry_index.B0dTcALC.js';
2
2
  import { useState, useRef, useEffect } from 'react';
3
- import { I as InlineTooltip } from './fthry_InlineTooltip.CvjSSGKM.js';
4
- import { h as hasState, g as getStateOptions } from './fthry_index.DOENWZLY.js';
5
- import { u as useSalesforceSync } from './fthry_useSalesforceSync.99Af5jox.js';
3
+ import { I as InlineTooltip } from './fthry_InlineTooltip.Bq9500oG.js';
4
+ import { h as hasState, g as getStateOptions } from './fthry_index.CsB6qfcs.js';
5
+ import { u as useSalesforceSync } from './fthry_useSalesforceSync.t_h78aUg.js';
6
6
  import 'react/jsx-runtime';
7
7
  import 'react-dom/client';
8
8
  import 'jszip';
9
9
  import 'react-dom';
10
- import './fthry_Overlay.BV_vE3K3.js';
10
+ import './fthry_Overlay.DEggBAsa.js';
11
11
 
12
12
  function DropdownField(_a) {
13
13
  var _b, _c, _d;
@@ -1,7 +1,7 @@
1
- import { c as __read, a as jsx, q as Fragment, s as isMobile, j as jsxs, _ as __assign, F as FORM_Z_INDEX, b as iosScrollOnFocus } from './fthry_index.CpPyr71U.js';
1
+ import { c as __read, a as jsx, q as Fragment, s as isMobile, j as jsxs, _ as __assign, F as FORM_Z_INDEX, b as iosScrollOnFocus } from './fthry_index.B0dTcALC.js';
2
2
  import { useState, useRef, useMemo } from 'react';
3
- import { O as Overlay, T as Tooltip } from './fthry_Overlay.BV_vE3K3.js';
4
- import { applyCheckableInputStyles, composeCheckableInputStyle } from './fthry_index.CPJDFJws.js';
3
+ import { O as Overlay, T as Tooltip } from './fthry_Overlay.DEggBAsa.js';
4
+ import { applyCheckableInputStyles, composeCheckableInputStyle } from './fthry_index.BdnUxvNg.js';
5
5
  import 'react/jsx-runtime';
6
6
  import 'react-dom/client';
7
7
  import 'jszip';
@@ -1,4 +1,4 @@
1
- import { a as jsx, _ as __assign } from './fthry_index.CpPyr71U.js';
1
+ import { a as jsx, _ as __assign } from './fthry_index.B0dTcALC.js';
2
2
 
3
3
  var ae = [
4
4
  { name: 'Abu Dhabi', code: 'AZ' },
@@ -1,13 +1,13 @@
1
- import { u as useBorder, c as __read, j as jsxs, _ as __assign, h as hoverStylesGuard, a as jsx, b as iosScrollOnFocus, F as FORM_Z_INDEX, r as resetStyles } from './fthry_index.CpPyr71U.js';
1
+ import { u as useBorder, c as __read, j as jsxs, _ as __assign, h as hoverStylesGuard, a as jsx, b as iosScrollOnFocus, F as FORM_Z_INDEX, r as resetStyles } from './fthry_index.B0dTcALC.js';
2
2
  import { memo, useState, useRef } from 'react';
3
- import { P as Placeholder } from './fthry_Placeholder.Do45acle.js';
4
- import { I as InlineTooltip } from './fthry_InlineTooltip.CvjSSGKM.js';
5
- import { S as ShowEyeIcon, a as ShowEyeIcon$1 } from './fthry_ShowEyeIcon.DgeKOLlH.js';
3
+ import { P as Placeholder } from './fthry_Placeholder.CVnQrsv8.js';
4
+ import { I as InlineTooltip } from './fthry_InlineTooltip.Bq9500oG.js';
5
+ import { S as ShowEyeIcon, a as ShowEyeIcon$1 } from './fthry_ShowEyeIcon.DqjkGj6h.js';
6
6
  import 'react/jsx-runtime';
7
7
  import 'react-dom/client';
8
8
  import 'jszip';
9
9
  import 'react-dom';
10
- import './fthry_Overlay.BV_vE3K3.js';
10
+ import './fthry_Overlay.DEggBAsa.js';
11
11
 
12
12
  function PasswordField(_a) {
13
13
  var _b;
@@ -1,14 +1,14 @@
1
- import { j as jsxs, _ as __assign, a as jsx, b as iosScrollOnFocus, r as resetStyles } from './fthry_index.CpPyr71U.js';
1
+ import { j as jsxs, _ as __assign, a as jsx, b as iosScrollOnFocus, r as resetStyles } from './fthry_index.B0dTcALC.js';
2
2
  import { useRef, useMemo, useEffect } from 'react';
3
- import { F as FormControl } from './fthry_FormControl.DPSb7yUR.js';
4
- import { applyCheckableInputStyles, composeCheckableInputStyle, applyHeightWidthMarginByFontSize } from './fthry_index.CPJDFJws.js';
5
- import { I as InlineTooltip } from './fthry_InlineTooltip.CvjSSGKM.js';
6
- import { u as useSalesforceSync } from './fthry_useSalesforceSync.99Af5jox.js';
3
+ import { F as FormControl } from './fthry_FormControl.8pSBTA31.js';
4
+ import { applyCheckableInputStyles, composeCheckableInputStyle, applyHeightWidthMarginByFontSize } from './fthry_index.BdnUxvNg.js';
5
+ import { I as InlineTooltip } from './fthry_InlineTooltip.Bq9500oG.js';
6
+ import { u as useSalesforceSync } from './fthry_useSalesforceSync.t_h78aUg.js';
7
7
  import 'react/jsx-runtime';
8
8
  import 'react-dom/client';
9
9
  import 'jszip';
10
10
  import 'react-dom';
11
- import './fthry_Overlay.BV_vE3K3.js';
11
+ import './fthry_Overlay.DEggBAsa.js';
12
12
 
13
13
  var applyCheckboxGroupStyles = function (element, responsiveStyles) {
14
14
  responsiveStyles.addTargets('checkboxGroup');