@feathery/react 2.22.1 → 2.23.1

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 (110) hide show
  1. package/cjs/Form/components/ActionToast/index.d.ts +2 -1
  2. package/cjs/Form/components/ActionToast/index.d.ts.map +1 -1
  3. package/cjs/Form/components/Assistant/MarkdownText.d.ts +7 -0
  4. package/cjs/Form/components/Assistant/MarkdownText.d.ts.map +1 -0
  5. package/cjs/Form/components/Assistant/ToolStatus.d.ts +12 -0
  6. package/cjs/Form/components/Assistant/ToolStatus.d.ts.map +1 -0
  7. package/cjs/Form/components/Assistant/colors.d.ts +17 -0
  8. package/cjs/Form/components/Assistant/colors.d.ts.map +1 -0
  9. package/cjs/Form/components/Assistant/icons.d.ts +9 -0
  10. package/cjs/Form/components/Assistant/icons.d.ts.map +1 -0
  11. package/cjs/Form/components/Assistant/index.d.ts +8 -0
  12. package/cjs/Form/components/Assistant/index.d.ts.map +1 -0
  13. package/cjs/Form/index.d.ts.map +1 -1
  14. package/cjs/{fthry_FormControl.DO1VrNhK.js → fthry_FormControl.CuPy2JUk.js} +1 -1
  15. package/cjs/{fthry_InlineTooltip.By-RR6_f.js → fthry_InlineTooltip.4tZNBUoj.js} +2 -2
  16. package/cjs/{fthry_Overlay.DWYTsRft.js → fthry_Overlay.CLg0QjGB.js} +1 -1
  17. package/cjs/{fthry_PaymentMethodField.BK4kwCOK.js → fthry_PaymentMethodField.B5OF_uJF.js} +4 -4
  18. package/cjs/{fthry_Placeholder.6RgPOXj2.js → fthry_Placeholder.B7emycrJ.js} +1 -1
  19. package/cjs/{fthry_ShowEyeIcon.Bn3FCzSJ.js → fthry_ShowEyeIcon.C06GM8F_.js} +1 -1
  20. package/cjs/fthry_index.2MKyiG5x.js +10154 -0
  21. package/cjs/{fthry_index.DFwy8zPz.js → fthry_index.B1KVSi2Q.js} +4 -4
  22. package/cjs/{fthry_index.k_4_AZEy.js → fthry_index.B2u9zMFk.js} +1 -1
  23. package/cjs/{fthry_index.Cv6mZaeK.js → fthry_index.BRjYa1i5.js} +3 -3
  24. package/cjs/{fthry_index.BH6XhQdp.js → fthry_index.BVtwbpvr.js} +8 -8
  25. package/cjs/{fthry_index.DSSKVn_1.js → fthry_index.BYOC309Y.js} +1 -1
  26. package/cjs/{fthry_index.Vzvb_jcV.js → fthry_index.BhnLzCo1.js} +6 -6
  27. package/cjs/{fthry_index.CWdkg5Zm.js → fthry_index.BtGbK4L-.js} +5 -5
  28. package/cjs/{fthry_index.VkoiOsK9.js → fthry_index.C-FqSHIr.js} +2 -2
  29. package/cjs/{fthry_index.Gx6e2BxN.js → fthry_index.CHYlePWn.js} +6 -6
  30. package/cjs/{fthry_index.B21E8fM3.js → fthry_index.CIK-JhzZ.js} +1 -1
  31. package/cjs/{fthry_index.DyZ1R4Ss.js → fthry_index.CQAyDFNE.js} +5 -5
  32. package/cjs/{fthry_index.SwhJFwYK.js → fthry_index.CZSAHF3y.js} +4 -4
  33. package/cjs/{fthry_index.D4smc8or.js → fthry_index.Ck3Od3OW.js} +5 -5
  34. package/cjs/{fthry_index.Y9ysXndZ.js → fthry_index.CoJY5HPO.js} +2 -2
  35. package/cjs/{fthry_index.S71Qur9B.js → fthry_index.Cueul4mW.js} +1 -1
  36. package/cjs/{fthry_index.Ctj468qV.js → fthry_index.CyPHkole.js} +1 -1
  37. package/cjs/{fthry_index.yRyX68Km.js → fthry_index.DIPUlSvQ.js} +1 -1
  38. package/cjs/{fthry_index.Dz3HdZ1B.js → fthry_index.DIjcHs3N.js} +3 -3
  39. package/cjs/{fthry_index.CCS0xFt5.js → fthry_index.DSu6DPJi.js} +4 -4
  40. package/cjs/{fthry_index.BtybYc89.js → fthry_index.DpekvEn7.js} +6 -6
  41. package/cjs/{fthry_index.CQ1H9R8w.js → fthry_index.Dz7qzZ1R.js} +117 -81
  42. package/cjs/{fthry_index.CeQp5dil.js → fthry_index.DzobOoLB.js} +1 -1
  43. package/cjs/{fthry_index.DzPmH3iY.js → fthry_index.HHNIpgZ8.js} +1 -1
  44. package/cjs/{fthry_index.DfbrnR6k.js → fthry_index.qXVFITaX.js} +5 -5
  45. package/cjs/{fthry_input.DrPPpTdq.js → fthry_input.FLnWY8lw.js} +1 -1
  46. package/cjs/{fthry_script.BKkDPtX8.js → fthry_script.hc65XBKE.js} +1 -1
  47. package/cjs/{fthry_styles.D3wpqY9E.js → fthry_styles.C6O4YpM-.js} +1 -1
  48. package/cjs/{fthry_useElementSize.DN3P3ek_.js → fthry_useElementSize.BozKbCl6.js} +1 -1
  49. package/cjs/{fthry_useSalesforceSync.DsBDJDOJ.js → fthry_useSalesforceSync.Cgf2uy2K.js} +1 -1
  50. package/cjs/{fthry_webfontloader.DVRrUK76.js → fthry_webfontloader.CqbfylYX.js} +1 -1
  51. package/cjs/index.js +1 -1
  52. package/cjs/utils/formHelperFunctions.d.ts +3 -0
  53. package/cjs/utils/formHelperFunctions.d.ts.map +1 -1
  54. package/dist/Form/components/ActionToast/index.d.ts +2 -1
  55. package/dist/Form/components/ActionToast/index.d.ts.map +1 -1
  56. package/dist/Form/components/Assistant/MarkdownText.d.ts +7 -0
  57. package/dist/Form/components/Assistant/MarkdownText.d.ts.map +1 -0
  58. package/dist/Form/components/Assistant/ToolStatus.d.ts +12 -0
  59. package/dist/Form/components/Assistant/ToolStatus.d.ts.map +1 -0
  60. package/dist/Form/components/Assistant/colors.d.ts +17 -0
  61. package/dist/Form/components/Assistant/colors.d.ts.map +1 -0
  62. package/dist/Form/components/Assistant/icons.d.ts +9 -0
  63. package/dist/Form/components/Assistant/icons.d.ts.map +1 -0
  64. package/dist/Form/components/Assistant/index.d.ts +8 -0
  65. package/dist/Form/components/Assistant/index.d.ts.map +1 -0
  66. package/dist/Form/index.d.ts.map +1 -1
  67. package/dist/{fthry_FormControl.BxUrokqK.js → fthry_FormControl.DuNFaC1X.js} +1 -1
  68. package/dist/{fthry_InlineTooltip.Ci5tV_wI.js → fthry_InlineTooltip.ozl9Ph1O.js} +2 -2
  69. package/dist/{fthry_Overlay.DerqCNin.js → fthry_Overlay.DflC4Ai0.js} +1 -1
  70. package/dist/{fthry_PaymentMethodField.7kpfN-kk.js → fthry_PaymentMethodField.CirvTsWo.js} +4 -4
  71. package/dist/{fthry_Placeholder.4DL4VrHk.js → fthry_Placeholder.Bv3DN3M3.js} +1 -1
  72. package/dist/{fthry_ShowEyeIcon.B630O_g-.js → fthry_ShowEyeIcon.CZ2C4HgX.js} +1 -1
  73. package/dist/fthry_index.-2kAeQc1.js +10152 -0
  74. package/dist/{fthry_index.CgmyiGp_.js → fthry_index.-jj3iEbW.js} +6 -6
  75. package/dist/{fthry_index.3MYBbcV6.js → fthry_index.7KqQkhz_.js} +1 -1
  76. package/dist/{fthry_index.xli19cfL.js → fthry_index.B7Z6RG4M.js} +6 -6
  77. package/dist/{fthry_index.BDrpWWPf.js → fthry_index.BBdzfyd1.js} +73 -38
  78. package/dist/{fthry_index.DQhNMB2b.js → fthry_index.BDyo1rI3.js} +2 -2
  79. package/dist/{fthry_index.5O3QvVEZ.js → fthry_index.BhIcVwBE.js} +8 -8
  80. package/dist/{fthry_index.jH4iMUwU.js → fthry_index.Bl0_B5N5.js} +5 -5
  81. package/dist/{fthry_index.B5P56Wdn.js → fthry_index.BlOxfosG.js} +1 -1
  82. package/dist/{fthry_index.Dt1cSACI.js → fthry_index.BpVjg4b9.js} +6 -6
  83. package/dist/{fthry_index.BAWUo-9K.js → fthry_index.CAngpLcD.js} +1 -1
  84. package/dist/{fthry_index.D7-zC56j.js → fthry_index.CBhbRqMh.js} +2 -2
  85. package/dist/{fthry_index.DhUtbNbg.js → fthry_index.CGLab-8d.js} +4 -4
  86. package/dist/{fthry_index.CYGDbYS_.js → fthry_index.CL6LoNHc.js} +3 -3
  87. package/dist/{fthry_index.B4025Nic.js → fthry_index.CL_D2hdu.js} +5 -5
  88. package/dist/{fthry_index.DCoMERuc.js → fthry_index.CklaK1ip.js} +3 -3
  89. package/dist/{fthry_index.9SEFAxVs.js → fthry_index.D7j8q3ZP.js} +1 -1
  90. package/dist/{fthry_index.YlaxQQbB.js → fthry_index.DBJWKsl3.js} +1 -1
  91. package/dist/{fthry_index.Co1N5Wm2.js → fthry_index.DFFBHyw8.js} +4 -4
  92. package/dist/{fthry_index.D8pad3ZV.js → fthry_index.DGPlyGUQ.js} +1 -1
  93. package/dist/{fthry_index.9PP8aHAm.js → fthry_index.DIl5Nh8C.js} +5 -5
  94. package/dist/{fthry_index.CZq04f_l.js → fthry_index.DKQig1ps.js} +4 -4
  95. package/dist/{fthry_index.B7Uxlphu.js → fthry_index.DPzoPWwb.js} +1 -1
  96. package/dist/{fthry_index.CKr9necb.js → fthry_index.Di1pON21.js} +1 -1
  97. package/dist/{fthry_index.DE5w1XVV.js → fthry_index.Dnygom_j.js} +5 -5
  98. package/dist/{fthry_input.Bzvv0Hez.js → fthry_input.DDNWF6Cm.js} +1 -1
  99. package/dist/{fthry_script.Df3ctynl.js → fthry_script.ASZVFQw_.js} +1 -1
  100. package/dist/{fthry_styles.DBhQHgTf.js → fthry_styles.BOE1asFE.js} +1 -1
  101. package/dist/{fthry_useElementSize.C9CvRCmV.js → fthry_useElementSize.2bbTdsyZ.js} +1 -1
  102. package/dist/{fthry_useSalesforceSync.CFutmtD2.js → fthry_useSalesforceSync.EwxPnzuq.js} +1 -1
  103. package/dist/{fthry_webfontloader.BX5mmtRG.js → fthry_webfontloader.Cnr9jjHq.js} +1 -1
  104. package/dist/index.js +1 -1
  105. package/dist/utils/formHelperFunctions.d.ts +3 -0
  106. package/dist/utils/formHelperFunctions.d.ts.map +1 -1
  107. package/package.json +5 -2
  108. package/umd/790.4e933b431624db11eeec.js +1 -0
  109. package/umd/AssistantChat.ffb5ce7ab5b0350a9159.js +1 -0
  110. package/umd/index.js +1 -1
@@ -1,14 +1,14 @@
1
- import { b as __read, a as jsxs, _ as __assign, j as jsx, i as iosScrollOnFocus, r as resetStyles } from './fthry_index.BDrpWWPf.js';
1
+ import { b as __read, a as jsxs, _ as __assign, j as jsx, k as iosScrollOnFocus, r as resetStyles } from './fthry_index.BBdzfyd1.js';
2
2
  import { useRef, useState, useMemo } from 'react';
3
- import { F as FormControl } from './fthry_FormControl.BxUrokqK.js';
4
- import { applyCheckableInputStyles, composeCheckableInputStyle, applyHeightWidthMarginByFontSize } from './fthry_index.9SEFAxVs.js';
5
- import { I as InlineTooltip } from './fthry_InlineTooltip.Ci5tV_wI.js';
6
- import { u as useSalesforceSync } from './fthry_useSalesforceSync.CFutmtD2.js';
3
+ import { F as FormControl } from './fthry_FormControl.DuNFaC1X.js';
4
+ import { applyCheckableInputStyles, composeCheckableInputStyle, applyHeightWidthMarginByFontSize } from './fthry_index.D7j8q3ZP.js';
5
+ import { I as InlineTooltip } from './fthry_InlineTooltip.ozl9Ph1O.js';
6
+ import { u as useSalesforceSync } from './fthry_useSalesforceSync.EwxPnzuq.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.DerqCNin.js';
11
+ import './fthry_Overlay.DflC4Ai0.js';
12
12
 
13
13
  var applyRadioGroupStyles = function (element, responsiveStyles) {
14
14
  responsiveStyles.addTargets('radioGroup');
@@ -1,4 +1,4 @@
1
- import { t as featheryWindow, a as jsxs, _ as __assign, j as jsx, b as __read, u as useBorder, h as hoverStylesGuard, aj as isNum } from './fthry_index.BDrpWWPf.js';
1
+ import { v as featheryWindow, a as jsxs, _ as __assign, j as jsx, b as __read, u as useBorder, h as hoverStylesGuard, al as isNum } from './fthry_index.BBdzfyd1.js';
2
2
  import { useRef, useCallback, useEffect, useState } from 'react';
3
3
  import 'react/jsx-runtime';
4
4
  import 'react-dom/client';
@@ -1,16 +1,16 @@
1
- import { j as jsx, G as Global, v as css, w as __makeTemplateObject, _ as __assign, b as __read, x as isMobile, t as featheryWindow, f as featheryDoc, u as useBorder, a as jsxs$1, h as hoverStylesGuard, r as resetStyles, y as __rest, z as formatDateString } from './fthry_index.BDrpWWPf.js';
1
+ import { j as jsx, G as Global, w as css, x as __makeTemplateObject, _ as __assign, b as __read, y as isMobile, v as featheryWindow, f as featheryDoc, u as useBorder, a as jsxs$1, h as hoverStylesGuard, r as resetStyles, z as __rest, B as formatDateString } from './fthry_index.BBdzfyd1.js';
2
2
  import * as React from 'react';
3
3
  import React__default, { useMemo, useLayoutEffect, cloneElement, createRef, Component, useRef, useCallback, useEffect, createElement, memo, useState } from 'react';
4
- import { P as Placeholder } from './fthry_Placeholder.4DL4VrHk.js';
5
- import { I as InlineTooltip } from './fthry_InlineTooltip.Ci5tV_wI.js';
4
+ import { P as Placeholder } from './fthry_Placeholder.Bv3DN3M3.js';
5
+ import { I as InlineTooltip } from './fthry_InlineTooltip.ozl9Ph1O.js';
6
6
  import { jsxs, jsx as jsx$1 } from 'react/jsx-runtime';
7
7
  import * as ReactDOM from 'react-dom';
8
8
  import ReactDOM__default from 'react-dom';
9
- import { I as IMask, a as IMaskInput } from './fthry_input.Bzvv0Hez.js';
9
+ import { I as IMask, a as IMaskInput } from './fthry_input.DDNWF6Cm.js';
10
10
  import 'react-dom/client';
11
11
  import 'jszip';
12
- import './fthry_Overlay.DerqCNin.js';
13
- import './fthry_index.CKr9necb.js';
12
+ import './fthry_Overlay.DflC4Ai0.js';
13
+ import './fthry_index.Di1pON21.js';
14
14
 
15
15
  var PORTAL_CONTAINER_CLASS = '.react-datepicker__portal';
16
16
  var DATEPICKER_PADDING_TOP_VALUE = '--datepicker-pad-top';
@@ -38735,12 +38735,12 @@ var getTitle = function (data) {
38735
38735
  }
38736
38736
  return 'Scanning Documents';
38737
38737
  };
38738
- var ActionToast = function (_a) {
38738
+ var ActionToast = forwardRef(function (_a, ref) {
38739
38739
  var data = _a.data, _b = _a.bottom, bottom = _b === void 0 ? 20 : _b;
38740
38740
  var _c = __read(useState(true), 2), isToastExpanded = _c[0], setIsToastExpanded = _c[1];
38741
38741
  if (data.length === 0)
38742
38742
  return null;
38743
- return (jsxs("div", __assign({ css: {
38743
+ return (jsxs("div", __assign({ ref: ref, css: {
38744
38744
  position: 'fixed',
38745
38745
  bottom: "".concat(bottom, "px"),
38746
38746
  right: '16px',
@@ -38771,7 +38771,7 @@ var ActionToast = function (_a) {
38771
38771
  maxHeight: '384px',
38772
38772
  overflowY: 'auto'
38773
38773
  } }, { children: data.map(function (item, index) { return (jsx$1(ToastItem, { item: item }, index)); }) })))] })));
38774
- };
38774
+ });
38775
38775
 
38776
38776
  // Type guard function
38777
38777
  function isAIExtractionAction(action) {
@@ -39073,6 +39073,7 @@ function useTrackUserInteraction(formRef, activeStep, stepKey, formName) {
39073
39073
  }, [activeStep, stepKey, formName]);
39074
39074
  }
39075
39075
 
39076
+ var AssistantChat = lazy(function () { return import(/* webpackChunkName: "AssistantChat" */ './fthry_index.-2kAeQc1.js'); });
39076
39077
  var getSubmissionErrorMessage = function (error) {
39077
39078
  if (error instanceof TypeError && error.message === 'Failed to fetch') {
39078
39079
  return 'Unable to upload files. Please check your connection and try again.';
@@ -39142,7 +39143,10 @@ function Form(_a) {
39142
39143
  clearHideIfFields: false,
39143
39144
  completionBehavior: '',
39144
39145
  globalStyles: {},
39145
- mobileBreakpoint: DEFAULT_MOBILE_BREAKPOINT
39146
+ mobileBreakpoint: DEFAULT_MOBILE_BREAKPOINT,
39147
+ assistantEnabled: false,
39148
+ assistantContext: '',
39149
+ assistantColor: '#6b7280'
39146
39150
  }), 2), formSettings = _12[0], setFormSettings = _12[1];
39147
39151
  var trackHashes = useRef(false);
39148
39152
  var curLanguage = useRef(undefined);
@@ -39296,6 +39300,31 @@ function Form(_a) {
39296
39300
  }, [setLoaders]);
39297
39301
  var _30 = useAIExtractionToast(), currentActionExtractions = _30.currentActionExtractions, initializeActionExtractions = _30.initializeActionExtractions, updateExtractionInAction = _30.updateExtractionInAction, handleExtractionStatusUpdate = _30.handleExtractionStatusUpdate;
39298
39302
  var _31 = useEnvelopeGenerationToast(), currentEnvelopeGeneration = _31.currentEnvelopeGeneration, initializeEnvelopeGeneration = _31.initializeEnvelopeGeneration, updateEnvelopeGeneration = _31.updateEnvelopeGeneration;
39303
+ // Track ActionToast height for positioning WorkflowChat above it
39304
+ var _32 = __read(useState(0), 2), actionToastHeight = _32[0], setActionToastHeight = _32[1];
39305
+ var actionToastRef = useRef(null);
39306
+ var actionToastObserverRef = useRef(null);
39307
+ // Reset height when toast data becomes empty
39308
+ var actionToastData = useMemo(function () { return __spreadArray(__spreadArray([], __read(currentActionExtractions), false), __read(currentEnvelopeGeneration), false); }, [currentActionExtractions, currentEnvelopeGeneration]);
39309
+ useEffect(function () {
39310
+ if (actionToastData.length === 0) {
39311
+ setActionToastHeight(0);
39312
+ }
39313
+ }, [actionToastData.length]);
39314
+ var setActionToastRef = useCallback(function (node) {
39315
+ if (actionToastObserverRef.current) {
39316
+ actionToastObserverRef.current.disconnect();
39317
+ actionToastObserverRef.current = null;
39318
+ }
39319
+ actionToastRef.current = node;
39320
+ if (node) {
39321
+ var observer = new ResizeObserver(function (entries) {
39322
+ setActionToastHeight(entries[0].contentRect.height);
39323
+ });
39324
+ observer.observe(node);
39325
+ actionToastObserverRef.current = observer;
39326
+ }
39327
+ }, []);
39299
39328
  // Tracks element to focus
39300
39329
  var focusRef = useRef(undefined);
39301
39330
  // Tracks the execution of user-provided callback functions
@@ -39370,7 +39399,7 @@ function Form(_a) {
39370
39399
  setRequiredStepAction(requiredStepAction);
39371
39400
  }, [activeStep === null || activeStep === void 0 ? void 0 : activeStep.id]);
39372
39401
  // viewElements state
39373
- var _32 = __read(useState([]), 2), viewElements = _32[0], setViewElements = _32[1];
39402
+ var _33 = __read(useState([]), 2), viewElements = _33[0], setViewElements = _33[1];
39374
39403
  useEffect(function () {
39375
39404
  setViewElements(onViewElements);
39376
39405
  }, [onViewElements.length]);
@@ -39514,7 +39543,7 @@ function Form(_a) {
39514
39543
  return true;
39515
39544
  };
39516
39545
  // For audio AI only right now
39517
- var _33 = __read(useState(_pollFuserData), 2), pollFuserData = _33[0], setPollFuserData = _33[1];
39546
+ var _34 = __read(useState(_pollFuserData), 2), pollFuserData = _34[0], setPollFuserData = _34[1];
39518
39547
  usePollFuserData(pollFuserData, client, updateFieldValues);
39519
39548
  var eventCallbackMap = {
39520
39549
  change: onChange,
@@ -40301,7 +40330,7 @@ function Form(_a) {
40301
40330
  });
40302
40331
  }); };
40303
40332
  // usePayments (Stripe)
40304
- var _34 = __read(usePayments(), 2), getCardElement = _34[0], setCardElement = _34[1];
40333
+ var _35 = __read(usePayments(), 2), getCardElement = _35[0], setCardElement = _35[1];
40305
40334
  function setupStepPaymentMethod(formattedFields) {
40306
40335
  return __awaiter$2(this, void 0, void 0, function () {
40307
40336
  var i, field, integrationData, actionData, actionResult;
@@ -40634,7 +40663,7 @@ function Form(_a) {
40634
40663
  }
40635
40664
  return state;
40636
40665
  };
40637
- var _35 = useCheckButtonAction(setButtonLoader, clearLoaders), isButtonActionRunning = _35.isButtonActionRunning, updateButtonActionState = _35.updateButtonActionState, clearButtonActionState = _35.clearButtonActionState, setUserLogicRunning = _35.setUserLogicRunning;
40666
+ var _36 = useCheckButtonAction(setButtonLoader, clearLoaders), isButtonActionRunning = _36.isButtonActionRunning, updateButtonActionState = _36.updateButtonActionState, clearButtonActionState = _36.clearButtonActionState, setUserLogicRunning = _36.setUserLogicRunning;
40638
40667
  var buttonOnClick = function (button) { return __awaiter$2(_this, void 0, void 0, function () {
40639
40668
  var setButtonError, actions, preOpenedWindows, invalid, running, e_5;
40640
40669
  var _a;
@@ -41736,10 +41765,13 @@ function Form(_a) {
41736
41765
  navigate(getNewStepUrl(stepKey));
41737
41766
  else
41738
41767
  setStepKey(stepKey);
41739
- }, formName: formName, draft: _draft, visible: !hideTestUI })), global.firebase && (jsx$1("div", { id: 'featheryRecaptcha', style: { position: 'absolute', visibility: 'hidden' } })), jsx$1(Watermark, { show: formSettings.showBrand, brandPosition: formSettings.brandPosition }), jsx$1(ActionToast, { data: __spreadArray(__spreadArray([], __read(currentActionExtractions), false), __read(currentEnvelopeGeneration), false), bottom: formSettings.showBrand &&
41768
+ }, formName: formName, draft: _draft, visible: !hideTestUI })), global.firebase && (jsx$1("div", { id: 'featheryRecaptcha', style: { position: 'absolute', visibility: 'hidden' } })), jsx$1(Watermark, { show: formSettings.showBrand, brandPosition: formSettings.brandPosition }), jsx$1(ActionToast, { ref: setActionToastRef, data: actionToastData, bottom: formSettings.showBrand &&
41740
41769
  formSettings.brandPosition === 'bottom_right'
41741
41770
  ? 67
41742
- : 20 })] })) })));
41771
+ : 20 }), formSettings.assistantEnabled && (jsx$1(Suspense, __assign({ fallback: null }, { children: jsx$1(AssistantChat, { formId: formId, bottom: (formSettings.showBrand &&
41772
+ formSettings.brandPosition === 'bottom_right'
41773
+ ? 67
41774
+ : 20) + (actionToastHeight > 0 ? actionToastHeight + 10 : 0), color: formSettings.assistantColor }) })))] })) })));
41743
41775
  }
41744
41776
  // normal <Form /> (aka ReactForm) component is exported with just `props:
41745
41777
  // Props`, so need this component to support exposing _internalId for use in
@@ -45911,9 +45943,9 @@ function init(sdkKey, options) {
45911
45943
  if (runningInClient()) {
45912
45944
  // Dynamically load libraries that must be client side
45913
45945
  global.scriptjsLoadPromise = import(
45914
- /* webpackChunkName: "scriptjs" */ './fthry_script.Df3ctynl.js').then(function (n) { return n.s; });
45946
+ /* webpackChunkName: "scriptjs" */ './fthry_script.ASZVFQw_.js').then(function (n) { return n.s; });
45915
45947
  global.webfontloaderPromise = import(
45916
- /* webpackChunkName: "webfontloader" */ './fthry_webfontloader.BX5mmtRG.js').then(function (n) { return n.w; });
45948
+ /* webpackChunkName: "webfontloader" */ './fthry_webfontloader.Cnr9jjHq.js').then(function (n) { return n.w; });
45917
45949
  // Client-side tracking logic
45918
45950
  if (initState.userTracking === 'cookie') {
45919
45951
  var cookieKey = "feathery-user-id-".concat(sdkKey);
@@ -46059,7 +46091,7 @@ function getFieldValues() {
46059
46091
  return __assign({}, fieldValues);
46060
46092
  }
46061
46093
  function logFeatheryBadge() {
46062
- console.log('%c Feathery %c v' + "2.22.1" + ' ', // replaced with real version during build
46094
+ console.log('%c Feathery %c v' + "2.23.1" + ' ', // replaced with real version during build
46063
46095
  '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;');
46064
46096
  }
46065
46097
 
@@ -46340,7 +46372,10 @@ function mapFormSettingsResponse(res) {
46340
46372
  globalStyles: res.global_styles,
46341
46373
  saveHideIfFields: res.save_hide_if_fields,
46342
46374
  clearHideIfFields: res.clear_hide_if_fields,
46343
- mobileBreakpoint: (_a = res.mobile_breakpoint) !== null && _a !== void 0 ? _a : DEFAULT_MOBILE_BREAKPOINT
46375
+ mobileBreakpoint: (_a = res.mobile_breakpoint) !== null && _a !== void 0 ? _a : DEFAULT_MOBILE_BREAKPOINT,
46376
+ assistantEnabled: res.assistant_enabled,
46377
+ assistantContext: res.assistant_context,
46378
+ assistantColor: res.assistant_color ? "#".concat(res.assistant_color) : '#6b7280'
46344
46379
  };
46345
46380
  }
46346
46381
  function updateCustomHead(headCode) {
@@ -47487,39 +47522,39 @@ breakpoint) {
47487
47522
  return styles.getTarget('inner-container', undefined, viewport === 'mobile');
47488
47523
  };
47489
47524
 
47490
- var AddressLine1 = lazy(function () { return import(/* webpackChunkName: "AddressField" */ './fthry_index.jH4iMUwU.js'); });
47491
- var ButtonGroupField = lazy(function () { return import(/* webpackChunkName: "ButtonGroupField" */ './fthry_index.DhUtbNbg.js'); });
47492
- var CheckboxField = lazy(function () { return import(/* webpackChunkName: "CheckboxField" */ './fthry_index.9SEFAxVs.js'); });
47525
+ var AddressLine1 = lazy(function () { return import(/* webpackChunkName: "AddressField" */ './fthry_index.Bl0_B5N5.js'); });
47526
+ var ButtonGroupField = lazy(function () { return import(/* webpackChunkName: "ButtonGroupField" */ './fthry_index.CGLab-8d.js'); });
47527
+ var CheckboxField = lazy(function () { return import(/* webpackChunkName: "CheckboxField" */ './fthry_index.D7j8q3ZP.js'); });
47493
47528
  var CheckboxGroupField = lazy(function () {
47494
- return import(/* webpackChunkName: "CheckboxGroupField" */ './fthry_index.Dt1cSACI.js');
47529
+ return import(/* webpackChunkName: "CheckboxGroupField" */ './fthry_index.BpVjg4b9.js');
47495
47530
  });
47496
- var ColorPickerField = lazy(function () { return import(/* webpackChunkName: "ColorPickerField" */ './fthry_index.BAWUo-9K.js'); });
47497
- var CustomField = lazy(function () { return import(/* webpackChunkName: "CustomField" */ './fthry_index.YlaxQQbB.js'); });
47531
+ var ColorPickerField = lazy(function () { return import(/* webpackChunkName: "ColorPickerField" */ './fthry_index.CAngpLcD.js'); });
47532
+ var CustomField = lazy(function () { return import(/* webpackChunkName: "CustomField" */ './fthry_index.DBJWKsl3.js'); });
47498
47533
  var DateSelectorField = lazy(function () {
47499
- return import(/* webpackChunkName: "DateSelectorField" */ './fthry_index.xli19cfL.js');
47534
+ return import(/* webpackChunkName: "DateSelectorField" */ './fthry_index.B7Z6RG4M.js');
47500
47535
  });
47501
- var DropdownField = lazy(function () { return import(/* webpackChunkName: "DropdownField" */ './fthry_index.Co1N5Wm2.js'); });
47536
+ var DropdownField = lazy(function () { return import(/* webpackChunkName: "DropdownField" */ './fthry_index.DFFBHyw8.js'); });
47502
47537
  var DropdownMultiField = lazy(function () {
47503
- return import(/* webpackChunkName: "DropdownMultiField" */ './fthry_index.DE5w1XVV.js');
47538
+ return import(/* webpackChunkName: "DropdownMultiField" */ './fthry_index.Dnygom_j.js');
47504
47539
  });
47505
- var FileUploadField = lazy(function () { return import(/* webpackChunkName: "FileUploadField" */ './fthry_index.B7Uxlphu.js'); });
47506
- var MatrixField = lazy(function () { return import(/* webpackChunkName: "MatrixField" */ './fthry_index.DCoMERuc.js'); });
47507
- var PasswordField = lazy(function () { return import(/* webpackChunkName: "PasswordField" */ './fthry_index.9PP8aHAm.js'); });
47540
+ var FileUploadField = lazy(function () { return import(/* webpackChunkName: "FileUploadField" */ './fthry_index.DPzoPWwb.js'); });
47541
+ var MatrixField = lazy(function () { return import(/* webpackChunkName: "MatrixField" */ './fthry_index.CklaK1ip.js'); });
47542
+ var PasswordField = lazy(function () { return import(/* webpackChunkName: "PasswordField" */ './fthry_index.DIl5Nh8C.js'); });
47508
47543
  var PaymentMethodField = lazy(function () {
47509
- return import(/* webpackChunkName: "PaymentMethodField" */ './fthry_PaymentMethodField.7kpfN-kk.js');
47544
+ return import(/* webpackChunkName: "PaymentMethodField" */ './fthry_PaymentMethodField.CirvTsWo.js');
47510
47545
  });
47511
- var PhoneField = lazy(function () { return import(/* webpackChunkName: "PhoneField" */ './fthry_index.B4025Nic.js'); });
47512
- var PinInputField = lazy(function () { return import(/* webpackChunkName: "PinInputField" */ './fthry_index.3MYBbcV6.js'); });
47513
- var QRScanner = lazy(function () { return import(/* webpackChunkName: "QRScanner" */ './fthry_index.DQhNMB2b.js'); });
47546
+ var PhoneField = lazy(function () { return import(/* webpackChunkName: "PhoneField" */ './fthry_index.CL_D2hdu.js'); });
47547
+ var PinInputField = lazy(function () { return import(/* webpackChunkName: "PinInputField" */ './fthry_index.7KqQkhz_.js'); });
47548
+ var QRScanner = lazy(function () { return import(/* webpackChunkName: "QRScanner" */ './fthry_index.BDyo1rI3.js'); });
47514
47549
  var RadioButtonGroupField = lazy(function () {
47515
47550
  return import(
47516
- /* webpackChunkName: "RadioButtonGroupField" */ './fthry_index.CgmyiGp_.js');
47551
+ /* webpackChunkName: "RadioButtonGroupField" */ './fthry_index.-jj3iEbW.js');
47517
47552
  });
47518
- var RatingField = lazy(function () { return import(/* webpackChunkName: "RatingField" */ './fthry_index.B5P56Wdn.js'); });
47519
- var SignatureField = lazy(function () { return import(/* webpackChunkName: "SignatureField" */ './fthry_index.CYGDbYS_.js'); });
47520
- var SliderField = lazy(function () { return import(/* webpackChunkName: "SliderField" */ './fthry_index.D7-zC56j.js'); });
47521
- var TextField = lazy(function () { return import(/* webpackChunkName: "TextField" */ './fthry_index.5O3QvVEZ.js'); });
47522
- var TextArea = lazy(function () { return import(/* webpackChunkName: "TextArea" */ './fthry_index.CZq04f_l.js'); });
47553
+ var RatingField = lazy(function () { return import(/* webpackChunkName: "RatingField" */ './fthry_index.BlOxfosG.js'); });
47554
+ var SignatureField = lazy(function () { return import(/* webpackChunkName: "SignatureField" */ './fthry_index.CL6LoNHc.js'); });
47555
+ var SliderField = lazy(function () { return import(/* webpackChunkName: "SliderField" */ './fthry_index.CBhbRqMh.js'); });
47556
+ var TextField = lazy(function () { return import(/* webpackChunkName: "TextField" */ './fthry_index.BhIcVwBE.js'); });
47557
+ var TextArea = lazy(function () { return import(/* webpackChunkName: "TextArea" */ './fthry_index.DKQig1ps.js'); });
47523
47558
  var Fields = {
47524
47559
  AddressLine1: AddressLine1,
47525
47560
  ButtonGroupField: ButtonGroupField,
@@ -48459,7 +48494,7 @@ function ElementSkeleton(_a) {
48459
48494
  }
48460
48495
  var templateObject_1;
48461
48496
 
48462
- var TableElement = lazy(function () { return import(/* webpackChunkName: "TableElement" */ './fthry_index.D8pad3ZV.js'); });
48497
+ var TableElement = lazy(function () { return import(/* webpackChunkName: "TableElement" */ './fthry_index.DGPlyGUQ.js'); });
48463
48498
  var Basic = {
48464
48499
  ImageElement: ImageElement,
48465
48500
  VideoElement: VideoElement,
@@ -48756,4 +48791,4 @@ var Feathery = {
48756
48791
  renderAt: renderAt
48757
48792
  };
48758
48793
 
48759
- export { next as $, countryData as A, stringify$2 as B, rulesheet as C, DROPDOWN_Z_INDEX as D, ErrorInput as E, Fragment as F, Global as G, COMMENT as H, middleware as I, combine as J, match as K, serialize as L, copy as M, replace as N, MOZ as O, MS as P, KEYFRAMES as Q, RULESET as R, DECLARATION as S, dealloc as T, alloc as U, hash as V, WEBKIT as W, charat as X, strlen as Y, indexof as Z, __assign as _, jsxs as a, token as a0, from as a1, peek as a2, delimit as a3, slice as a4, position as a5, compile as a6, isEmptyArray as a7, toList as a8, useThumbnailData as a9, setFieldValues as aA, getFieldValues as aB, renderAt as aC, LoginForm as aD, useAuthClient as aE, Feathery as aF, StyledContainer as aG, downloadFile as aa, CloseIcon as ab, justRemove as ac, getStripe as ad, filterKeys as ae, ERROR_COLOR as af, authState as ag, firebaseSMSCountries as ah, phoneLibPromise as ai, isNum as aj, loadQRScanner as ak, throttle as al, qrPromise as am, devicePixelRatio as an, toBase64 as ao, MODAL_Z_INDEX as ap, dataURLToFile as aq, cls as ar, getFieldValue$1 as as, emailPatternStr as at, replaceTextVariables as au, ReactForm as av, Elements as aw, init as ax, updateUserId as ay, updateTheme as az, __read as b, fieldValues as c, __values as d, __spreadArray as e, featheryDoc as f, getDefaultExportFromCjs as g, hoverStylesGuard as h, iosScrollOnFocus as i, jsx$1 as j, __awaiter$2 as k, __generator as l, FeatheryClient as m, debounce as n, imgMaxSizeStyles as o, noTextSelectStyles as p, FORM_Z_INDEX as q, resetStyles as r, stringifyWithNull as s, featheryWindow as t, useBorder as u, css as v, __makeTemplateObject as w, isMobile as x, __rest$1 as y, formatDateString as z };
48794
+ export { strlen as $, API_URL as A, formatDateString as B, countryData as C, DROPDOWN_Z_INDEX as D, ErrorInput as E, Fragment as F, Global as G, stringify$2 as H, rulesheet as I, COMMENT as J, middleware as K, combine as L, match as M, serialize as N, copy as O, replace as P, MOZ as Q, RULESET as R, MS as S, KEYFRAMES as T, DECLARATION as U, dealloc as V, WEBKIT as W, alloc as X, hash as Y, charat as Z, __assign as _, jsxs as a, indexof as a0, next as a1, token as a2, from as a3, peek as a4, delimit as a5, slice as a6, position as a7, compile as a8, isEmptyArray as a9, updateUserId as aA, updateTheme as aB, setFieldValues as aC, getFieldValues as aD, renderAt as aE, LoginForm as aF, useAuthClient as aG, Feathery as aH, StyledContainer as aI, toList as aa, useThumbnailData as ab, downloadFile as ac, CloseIcon as ad, justRemove as ae, getStripe as af, filterKeys as ag, ERROR_COLOR as ah, authState as ai, firebaseSMSCountries as aj, phoneLibPromise as ak, isNum as al, loadQRScanner as am, throttle as an, qrPromise as ao, devicePixelRatio as ap, toBase64 as aq, MODAL_Z_INDEX as ar, dataURLToFile as as, cls as at, getFieldValue$1 as au, emailPatternStr as av, replaceTextVariables as aw, ReactForm as ax, Elements as ay, init as az, __read as b, fieldValues as c, __values as d, __spreadArray as e, featheryDoc as f, getDefaultExportFromCjs as g, hoverStylesGuard as h, initInfo as i, jsx$1 as j, iosScrollOnFocus as k, __awaiter$2 as l, __generator as m, FeatheryClient as n, debounce as o, imgMaxSizeStyles as p, noTextSelectStyles as q, resetStyles as r, stringifyWithNull as s, FORM_Z_INDEX as t, useBorder as u, featheryWindow as v, css as w, __makeTemplateObject as x, isMobile as y, __rest$1 as z };
@@ -1,6 +1,6 @@
1
- import { k as __awaiter, l as __generator, e as __spreadArray, b as __read, d as __values, t as featheryWindow, ak as loadQRScanner, al as throttle, j as jsx, a as jsxs, _ as __assign, F as Fragment, E as ErrorInput, am as qrPromise } from './fthry_index.BDrpWWPf.js';
1
+ import { l as __awaiter, m as __generator, e as __spreadArray, b as __read, d as __values, v as featheryWindow, am as loadQRScanner, an as throttle, j as jsx, a as jsxs, _ as __assign, F as Fragment, E as ErrorInput, ao as qrPromise } from './fthry_index.BBdzfyd1.js';
2
2
  import React__default, { useEffect, useCallback } from 'react';
3
- import { S as SliderStyles, a as Slider } from './fthry_styles.DBhQHgTf.js';
3
+ import { S as SliderStyles, a as Slider } from './fthry_styles.BOE1asFE.js';
4
4
  import 'react/jsx-runtime';
5
5
  import 'react-dom/client';
6
6
  import 'jszip';
@@ -1,16 +1,16 @@
1
- import { a as jsxs, _ as __assign, j as jsx, D as DROPDOWN_Z_INDEX, b as __read, u as useBorder, as as getFieldValue, s as stringifyWithNull, h as hoverStylesGuard, i as iosScrollOnFocus, q as FORM_Z_INDEX, r as resetStyles, at as emailPatternStr } from './fthry_index.BDrpWWPf.js';
1
+ import { a as jsxs, _ as __assign, j as jsx, D as DROPDOWN_Z_INDEX, b as __read, u as useBorder, au as getFieldValue, s as stringifyWithNull, h as hoverStylesGuard, k as iosScrollOnFocus, t as FORM_Z_INDEX, r as resetStyles, av as emailPatternStr } from './fthry_index.BBdzfyd1.js';
2
2
  import { memo, useRef, useState } from 'react';
3
- import { P as Placeholder } from './fthry_Placeholder.4DL4VrHk.js';
4
- import { I as InlineTooltip } from './fthry_InlineTooltip.Ci5tV_wI.js';
5
- import { O as Overlay } from './fthry_Overlay.DerqCNin.js';
6
- import { u as useElementSize } from './fthry_useElementSize.C9CvRCmV.js';
7
- import { S as ShowEyeIcon, a as ShowEyeIcon$1 } from './fthry_ShowEyeIcon.B630O_g-.js';
8
- import { a as IMaskInput } from './fthry_input.Bzvv0Hez.js';
3
+ import { P as Placeholder } from './fthry_Placeholder.Bv3DN3M3.js';
4
+ import { I as InlineTooltip } from './fthry_InlineTooltip.ozl9Ph1O.js';
5
+ import { O as Overlay } from './fthry_Overlay.DflC4Ai0.js';
6
+ import { u as useElementSize } from './fthry_useElementSize.2bbTdsyZ.js';
7
+ import { S as ShowEyeIcon, a as ShowEyeIcon$1 } from './fthry_ShowEyeIcon.CZ2C4HgX.js';
8
+ import { a as IMaskInput } from './fthry_input.DDNWF6Cm.js';
9
9
  import 'react/jsx-runtime';
10
10
  import 'react-dom/client';
11
11
  import 'jszip';
12
12
  import 'react-dom';
13
- import './fthry_index.CKr9necb.js';
13
+ import './fthry_index.Di1pON21.js';
14
14
 
15
15
  function TextAutocomplete(_a) {
16
16
  var _b = _a.allOptions, allOptions = _b === void 0 ? [] : _b, showOptions = _a.showOptions, _c = _a.onSelect, onSelect = _c === void 0 ? function () { } : _c, _d = _a.onHide, onHide = _d === void 0 ? function () { } : _d, _e = _a.onInputFocus, onInputFocus = _e === void 0 ? function () { } : _e, _f = _a.value, value = _f === void 0 ? '' : _f, containerRef = _a.containerRef, responsiveStyles = _a.responsiveStyles, listItemRef = _a.listItemRef, children = _a.children;
@@ -1,9 +1,9 @@
1
- import { b as __read, u as useBorder, a as jsxs, _ as __assign, h as hoverStylesGuard, j as jsx, i as iosScrollOnFocus, r as resetStyles, D as DROPDOWN_Z_INDEX, k as __awaiter, l as __generator, m as FeatheryClient, n as debounce } from './fthry_index.BDrpWWPf.js';
1
+ import { b as __read, u as useBorder, a as jsxs, _ as __assign, h as hoverStylesGuard, j as jsx, k as iosScrollOnFocus, r as resetStyles, D as DROPDOWN_Z_INDEX, l as __awaiter, m as __generator, n as FeatheryClient, o as debounce } from './fthry_index.BBdzfyd1.js';
2
2
  import { useRef, useEffect, memo, useState, useCallback } from 'react';
3
- import { P as Placeholder } from './fthry_Placeholder.4DL4VrHk.js';
4
- import { I as InlineTooltip } from './fthry_InlineTooltip.Ci5tV_wI.js';
5
- import { O as Overlay } from './fthry_Overlay.DerqCNin.js';
6
- import { u as useElementSize } from './fthry_useElementSize.C9CvRCmV.js';
3
+ import { P as Placeholder } from './fthry_Placeholder.Bv3DN3M3.js';
4
+ import { I as InlineTooltip } from './fthry_InlineTooltip.ozl9Ph1O.js';
5
+ import { O as Overlay } from './fthry_Overlay.DflC4Ai0.js';
6
+ import { u as useElementSize } from './fthry_useElementSize.2bbTdsyZ.js';
7
7
  import 'react/jsx-runtime';
8
8
  import 'react-dom/client';
9
9
  import 'jszip';
@@ -1,4 +1,4 @@
1
- import { j as jsx, _ as __assign, b as __read, a as jsxs, E as ErrorInput } from './fthry_index.BDrpWWPf.js';
1
+ import { j as jsx, _ as __assign, b as __read, a as jsxs, E as ErrorInput } from './fthry_index.BBdzfyd1.js';
2
2
  import { useState } from 'react';
3
3
  import 'react/jsx-runtime';
4
4
  import 'react-dom/client';
@@ -1,14 +1,14 @@
1
- import { a as jsxs, _ as __assign, j as jsx, i as iosScrollOnFocus, r as resetStyles } from './fthry_index.BDrpWWPf.js';
1
+ import { a as jsxs, _ as __assign, j as jsx, k as iosScrollOnFocus, r as resetStyles } from './fthry_index.BBdzfyd1.js';
2
2
  import { useRef, useMemo } from 'react';
3
- import { F as FormControl } from './fthry_FormControl.BxUrokqK.js';
4
- import { applyCheckableInputStyles, composeCheckableInputStyle, applyHeightWidthMarginByFontSize } from './fthry_index.9SEFAxVs.js';
5
- import { I as InlineTooltip } from './fthry_InlineTooltip.Ci5tV_wI.js';
6
- import { u as useSalesforceSync } from './fthry_useSalesforceSync.CFutmtD2.js';
3
+ import { F as FormControl } from './fthry_FormControl.DuNFaC1X.js';
4
+ import { applyCheckableInputStyles, composeCheckableInputStyle, applyHeightWidthMarginByFontSize } from './fthry_index.D7j8q3ZP.js';
5
+ import { I as InlineTooltip } from './fthry_InlineTooltip.ozl9Ph1O.js';
6
+ import { u as useSalesforceSync } from './fthry_useSalesforceSync.EwxPnzuq.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.DerqCNin.js';
11
+ import './fthry_Overlay.DflC4Ai0.js';
12
12
 
13
13
  var applyCheckboxGroupStyles = function (element, responsiveStyles) {
14
14
  responsiveStyles.addTargets('checkboxGroup');
@@ -1,4 +1,4 @@
1
- import { b as __read, a as jsxs$1, _ as __assign, j as jsx$1, q as FORM_Z_INDEX } from './fthry_index.BDrpWWPf.js';
1
+ import { b as __read, a as jsxs$1, _ as __assign, j as jsx$1, t as FORM_Z_INDEX } from './fthry_index.BBdzfyd1.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,6 +1,6 @@
1
- import { b as __read, a as jsxs, _ as __assign, j as jsx, h as hoverStylesGuard } from './fthry_index.BDrpWWPf.js';
1
+ import { b as __read, a as jsxs, _ as __assign, j as jsx, h as hoverStylesGuard } from './fthry_index.BBdzfyd1.js';
2
2
  import { useState, useEffect } from 'react';
3
- import { S as SliderStyles, a as Slider } from './fthry_styles.DBhQHgTf.js';
3
+ import { S as SliderStyles, a as Slider } from './fthry_styles.BOE1asFE.js';
4
4
  import 'react/jsx-runtime';
5
5
  import 'react-dom/client';
6
6
  import 'jszip';
@@ -1,12 +1,12 @@
1
- import { u as useBorder, a as jsxs, _ as __assign, j as jsx, h as hoverStylesGuard, o as imgMaxSizeStyles, p as noTextSelectStyles, E as ErrorInput } from './fthry_index.BDrpWWPf.js';
1
+ import { u as useBorder, a as jsxs, _ as __assign, j as jsx, h as hoverStylesGuard, p as imgMaxSizeStyles, q as noTextSelectStyles, E as ErrorInput } from './fthry_index.BBdzfyd1.js';
2
2
  import { useRef, useMemo } from 'react';
3
- import { I as InlineTooltip } from './fthry_InlineTooltip.Ci5tV_wI.js';
4
- import { u as useSalesforceSync } from './fthry_useSalesforceSync.CFutmtD2.js';
3
+ import { I as InlineTooltip } from './fthry_InlineTooltip.ozl9Ph1O.js';
4
+ import { u as useSalesforceSync } from './fthry_useSalesforceSync.EwxPnzuq.js';
5
5
  import 'react/jsx-runtime';
6
6
  import 'react-dom/client';
7
7
  import 'jszip';
8
8
  import 'react-dom';
9
- import './fthry_Overlay.DerqCNin.js';
9
+ import './fthry_Overlay.DflC4Ai0.js';
10
10
 
11
11
  function ButtonGroupField(_a) {
12
12
  var element = _a.element, responsiveStyles = _a.responsiveStyles, fieldLabel = _a.fieldLabel, inlineError = _a.inlineError, _b = _a.fieldVal, fieldVal = _b === void 0 ? null : _b, _c = _a.repeatIndex, repeatIndex = _c === void 0 ? null : _c, editMode = _a.editMode, _d = _a.onClick, onClick = _d === void 0 ? function () { } : _d, _e = _a.elementProps, elementProps = _e === void 0 ? {} : _e, _f = _a.disabled, disabled = _f === void 0 ? false : _f, children = _a.children;
@@ -1,6 +1,6 @@
1
- import { f as featheryDoc, an as devicePixelRatio, g as getDefaultExportFromCjs, b as __read, a as jsxs, j as jsx, _ as __assign, F as Fragment, k as __awaiter, l as __generator, ao as toBase64, n as debounce, ap as MODAL_Z_INDEX, ab as CloseIcon, aq as dataURLToFile, q as FORM_Z_INDEX, E as ErrorInput } from './fthry_index.BDrpWWPf.js';
1
+ import { f as featheryDoc, ap as devicePixelRatio, g as getDefaultExportFromCjs, b as __read, a as jsxs, j as jsx, _ as __assign, F as Fragment, l as __awaiter, m as __generator, aq as toBase64, o as debounce, ar as MODAL_Z_INDEX, ad as CloseIcon, as as dataURLToFile, t as FORM_Z_INDEX, E as ErrorInput } from './fthry_index.BBdzfyd1.js';
2
2
  import React__default, { Component, forwardRef, useState, useRef, useImperativeHandle, useEffect, useCallback, Suspense } from 'react';
3
- import { P as PropTypes } from './fthry_index.CKr9necb.js';
3
+ import { P as PropTypes } from './fthry_index.Di1pON21.js';
4
4
  import 'react/jsx-runtime';
5
5
  import 'react-dom/client';
6
6
  import 'jszip';
@@ -1433,7 +1433,7 @@ function SignatureField(_a) {
1433
1433
  useEffect(function () {
1434
1434
  if (!global.webfontloaderPromise)
1435
1435
  global.webfontloaderPromise = import(
1436
- /* webpackChunkName: "webfontloader" */ './fthry_webfontloader.BX5mmtRG.js').then(function (n) { return n.w; });
1436
+ /* webpackChunkName: "webfontloader" */ './fthry_webfontloader.Cnr9jjHq.js').then(function (n) { return n.w; });
1437
1437
  global.webfontloaderPromise.then(function (WebFont) {
1438
1438
  WebFont.load({ google: { families: ['La Belle Aurore'] } });
1439
1439
  });
@@ -1,9 +1,9 @@
1
- import { y as __rest, b as __read, A as countryData, ag as authState, ah as firebaseSMSCountries, a as jsxs, j as jsx, _ as __assign, F as Fragment, D as DROPDOWN_Z_INDEX, u as useBorder, ai as phoneLibPromise, h as hoverStylesGuard, aj as isNum, i as iosScrollOnFocus, r as resetStyles } from './fthry_index.BDrpWWPf.js';
1
+ import { z as __rest, b as __read, C as countryData, ai as authState, aj as firebaseSMSCountries, a as jsxs, j as jsx, _ as __assign, F as Fragment, D as DROPDOWN_Z_INDEX, u as useBorder, ak as phoneLibPromise, h as hoverStylesGuard, al as isNum, k as iosScrollOnFocus, r as resetStyles } from './fthry_index.BBdzfyd1.js';
2
2
  import { forwardRef, useRef, useState, useEffect, useMemo, memo } from 'react';
3
- import { P as Placeholder } from './fthry_Placeholder.4DL4VrHk.js';
4
- import { I as InlineTooltip } from './fthry_InlineTooltip.Ci5tV_wI.js';
5
- import { O as Overlay } from './fthry_Overlay.DerqCNin.js';
6
- import { u as useElementSize } from './fthry_useElementSize.C9CvRCmV.js';
3
+ import { P as Placeholder } from './fthry_Placeholder.Bv3DN3M3.js';
4
+ import { I as InlineTooltip } from './fthry_InlineTooltip.ozl9Ph1O.js';
5
+ import { O as Overlay } from './fthry_Overlay.DflC4Ai0.js';
6
+ import { u as useElementSize } from './fthry_useElementSize.2bbTdsyZ.js';
7
7
  import 'react/jsx-runtime';
8
8
  import 'react-dom/client';
9
9
  import 'jszip';
@@ -1,7 +1,7 @@
1
- import { b as __read, j as jsx, F as Fragment, x as isMobile, a as jsxs, _ as __assign, q as FORM_Z_INDEX, i as iosScrollOnFocus } from './fthry_index.BDrpWWPf.js';
1
+ import { b as __read, j as jsx, F as Fragment, y as isMobile, a as jsxs, _ as __assign, t as FORM_Z_INDEX, k as iosScrollOnFocus } from './fthry_index.BBdzfyd1.js';
2
2
  import { useState, useRef, useMemo } from 'react';
3
- import { O as Overlay, T as Tooltip } from './fthry_Overlay.DerqCNin.js';
4
- import { applyCheckableInputStyles, composeCheckableInputStyle } from './fthry_index.9SEFAxVs.js';
3
+ import { O as Overlay, T as Tooltip } from './fthry_Overlay.DflC4Ai0.js';
4
+ import { applyCheckableInputStyles, composeCheckableInputStyle } from './fthry_index.D7j8q3ZP.js';
5
5
  import 'react/jsx-runtime';
6
6
  import 'react-dom/client';
7
7
  import 'jszip';
@@ -1,4 +1,4 @@
1
- import { _ as __assign, h as hoverStylesGuard, a as jsxs, j as jsx, i as iosScrollOnFocus } from './fthry_index.BDrpWWPf.js';
1
+ import { _ as __assign, h as hoverStylesGuard, a as jsxs, j as jsx, k as iosScrollOnFocus } from './fthry_index.BBdzfyd1.js';
2
2
  import { useMemo } from 'react';
3
3
  import 'react/jsx-runtime';
4
4
  import 'react-dom/client';
@@ -1,4 +1,4 @@
1
- import { j as jsx, _ as __assign, a as jsxs, b as __read, k as __awaiter, l as __generator, t as featheryWindow, F as Fragment, E as ErrorInput } from './fthry_index.BDrpWWPf.js';
1
+ import { j as jsx, _ as __assign, a as jsxs, b as __read, l as __awaiter, m as __generator, v as featheryWindow, F as Fragment, E as ErrorInput } from './fthry_index.BBdzfyd1.js';
2
2
  import { useRef, useState, useEffect, memo, useMemo } from 'react';
3
3
  import 'react/jsx-runtime';
4
4
  import 'react-dom/client';
@@ -1,12 +1,12 @@
1
- import { j as jsx, _ as __assign, u as useBorder, b as __read, A as countryData, c as fieldValues, a as jsxs, h as hoverStylesGuard, v as css, w as __makeTemplateObject, G as Global, i as iosScrollOnFocus, r as resetStyles } from './fthry_index.BDrpWWPf.js';
1
+ import { j as jsx, _ as __assign, u as useBorder, b as __read, C as countryData, c as fieldValues, a as jsxs, h as hoverStylesGuard, w as css, x as __makeTemplateObject, G as Global, k as iosScrollOnFocus, r as resetStyles } from './fthry_index.BBdzfyd1.js';
2
2
  import { useState, useRef, useEffect } from 'react';
3
- import { I as InlineTooltip } from './fthry_InlineTooltip.Ci5tV_wI.js';
4
- import { u as useSalesforceSync } from './fthry_useSalesforceSync.CFutmtD2.js';
3
+ import { I as InlineTooltip } from './fthry_InlineTooltip.ozl9Ph1O.js';
4
+ import { u as useSalesforceSync } from './fthry_useSalesforceSync.EwxPnzuq.js';
5
5
  import 'react/jsx-runtime';
6
6
  import 'react-dom/client';
7
7
  import 'jszip';
8
8
  import 'react-dom';
9
- import './fthry_Overlay.DerqCNin.js';
9
+ import './fthry_Overlay.DflC4Ai0.js';
10
10
 
11
11
  var ae = [
12
12
  { name: 'Abu Dhabi', code: 'AZ' },
@@ -1,4 +1,4 @@
1
- import { _ as __assign, j as jsx, a as jsxs, F as Fragment, b as __read, f as featheryDoc, c as fieldValues, s as stringifyWithNull, d as __values, e as __spreadArray } from './fthry_index.BDrpWWPf.js';
1
+ import { _ as __assign, j as jsx, a as jsxs, F as Fragment, b as __read, f as featheryDoc, c as fieldValues, s as stringifyWithNull, d as __values, e as __spreadArray } from './fthry_index.BBdzfyd1.js';
2
2
  import { useState, useRef, useEffect, useMemo } from 'react';
3
3
  import { createPortal } from 'react-dom';
4
4
  import 'react/jsx-runtime';
@@ -1,13 +1,13 @@
1
- import { u as useBorder, b as __read, a as jsxs, _ as __assign, h as hoverStylesGuard, j as jsx, i as iosScrollOnFocus, q as FORM_Z_INDEX, r as resetStyles } from './fthry_index.BDrpWWPf.js';
1
+ import { u as useBorder, b as __read, a as jsxs, _ as __assign, h as hoverStylesGuard, j as jsx, k as iosScrollOnFocus, t as FORM_Z_INDEX, r as resetStyles } from './fthry_index.BBdzfyd1.js';
2
2
  import { memo, useState, useRef } from 'react';
3
- import { P as Placeholder } from './fthry_Placeholder.4DL4VrHk.js';
4
- import { I as InlineTooltip } from './fthry_InlineTooltip.Ci5tV_wI.js';
5
- import { S as ShowEyeIcon, a as ShowEyeIcon$1 } from './fthry_ShowEyeIcon.B630O_g-.js';
3
+ import { P as Placeholder } from './fthry_Placeholder.Bv3DN3M3.js';
4
+ import { I as InlineTooltip } from './fthry_InlineTooltip.ozl9Ph1O.js';
5
+ import { S as ShowEyeIcon, a as ShowEyeIcon$1 } from './fthry_ShowEyeIcon.CZ2C4HgX.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.DerqCNin.js';
10
+ import './fthry_Overlay.DflC4Ai0.js';
11
11
 
12
12
  function PasswordField(_a) {
13
13
  var _b;
@@ -1,12 +1,12 @@
1
- import { b as __read, u as useBorder, a as jsxs, _ as __assign, h as hoverStylesGuard, j as jsx, r as resetStyles } from './fthry_index.BDrpWWPf.js';
1
+ import { b as __read, u as useBorder, a as jsxs, _ as __assign, h as hoverStylesGuard, j as jsx, r as resetStyles } from './fthry_index.BBdzfyd1.js';
2
2
  import { memo, useState, useRef } from 'react';
3
- import { P as Placeholder } from './fthry_Placeholder.4DL4VrHk.js';
4
- import { I as InlineTooltip } from './fthry_InlineTooltip.Ci5tV_wI.js';
3
+ import { P as Placeholder } from './fthry_Placeholder.Bv3DN3M3.js';
4
+ import { I as InlineTooltip } from './fthry_InlineTooltip.ozl9Ph1O.js';
5
5
  import 'react/jsx-runtime';
6
6
  import 'react-dom/client';
7
7
  import 'jszip';
8
8
  import 'react-dom';
9
- import './fthry_Overlay.DerqCNin.js';
9
+ import './fthry_Overlay.DflC4Ai0.js';
10
10
 
11
11
  function TextArea(_a) {
12
12
  var element = _a.element, responsiveStyles = _a.responsiveStyles, fieldLabel = _a.fieldLabel, _b = _a.elementProps, elementProps = _b === void 0 ? {} : _b, _c = _a.required, required = _c === void 0 ? false : _c, _d = _a.disabled, disabled = _d === void 0 ? false : _d, editMode = _a.editMode, _e = _a.onChange, onChange = _e === void 0 ? function () { } : _e, _f = _a.setRef, setRef = _f === void 0 ? function () { } : _f, _g = _a.rawValue, rawValue = _g === void 0 ? '' : _g, inlineError = _a.inlineError, _h = _a.repeatIndex, repeatIndex = _h === void 0 ? null : _h, children = _a.children;
@@ -1,4 +1,4 @@
1
- import { a as jsxs, _ as __assign, j as jsx, b as __read, a7 as isEmptyArray, a8 as toList, a9 as useThumbnailData, e as __spreadArray, o as imgMaxSizeStyles, k as __awaiter, l as __generator, aa as downloadFile, ab as CloseIcon, i as iosScrollOnFocus, q as FORM_Z_INDEX, ac as justRemove } from './fthry_index.BDrpWWPf.js';
1
+ import { a as jsxs, _ as __assign, j as jsx, b as __read, a9 as isEmptyArray, aa as toList, ab as useThumbnailData, e as __spreadArray, p as imgMaxSizeStyles, l as __awaiter, m as __generator, ac as downloadFile, ad as CloseIcon, k as iosScrollOnFocus, t as FORM_Z_INDEX, ae as justRemove } from './fthry_index.BBdzfyd1.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 { g as getDefaultExportFromCjs } from './fthry_index.BDrpWWPf.js';
1
+ import { g as getDefaultExportFromCjs } from './fthry_index.BBdzfyd1.js';
2
2
 
3
3
  var propTypes = {exports: {}};
4
4
 
@@ -1,10 +1,10 @@
1
- import { B as stringify, C as rulesheet, H as COMMENT, I as middleware, R as RULESET, J as combine, K as match, L as serialize, M as copy, N as replace, W as WEBKIT, O as MOZ, P as MS, Q as KEYFRAMES, S as DECLARATION, T as dealloc, U as alloc, V as hash, X as charat, Y as strlen, Z as indexof, $ as next, a0 as token, a1 as from, a2 as peek, a3 as delimit, a4 as slice, a5 as position, a6 as compile, j as jsx$1, _ as __assign, a as jsxs, F as Fragment$1, y as __rest, b as __read, q as FORM_Z_INDEX, t as featheryWindow, f as featheryDoc, e as __spreadArray, d as __values, u as useBorder, D as DROPDOWN_Z_INDEX } from './fthry_index.BDrpWWPf.js';
1
+ import { H as stringify, I as rulesheet, J as COMMENT, K as middleware, R as RULESET, L as combine, M as match, N as serialize, O as copy, P as replace, W as WEBKIT, Q as MOZ, S as MS, T as KEYFRAMES, U as DECLARATION, V as dealloc, X as alloc, Y as hash, Z as charat, $ as strlen, a0 as indexof, a1 as next, a2 as token, a3 as from, a4 as peek, a5 as delimit, a6 as slice, a7 as position, a8 as compile, j as jsx$1, _ as __assign, a as jsxs, F as Fragment$1, z as __rest, b as __read, t as FORM_Z_INDEX, v as featheryWindow, f as featheryDoc, e as __spreadArray, d as __values, u as useBorder, D as DROPDOWN_Z_INDEX } from './fthry_index.BBdzfyd1.js';
2
2
  import * as React from 'react';
3
3
  import { useState, useCallback, forwardRef, useContext, useLayoutEffect, useEffect, createContext, useRef, useMemo, Component, Fragment } from 'react';
4
- import { I as InlineTooltip } from './fthry_InlineTooltip.Ci5tV_wI.js';
5
- import { P as Placeholder$2 } from './fthry_Placeholder.4DL4VrHk.js';
6
- import { u as useSalesforceSync } from './fthry_useSalesforceSync.CFutmtD2.js';
7
- import { T as Tooltip, O as Overlay } from './fthry_Overlay.DerqCNin.js';
4
+ import { I as InlineTooltip } from './fthry_InlineTooltip.ozl9Ph1O.js';
5
+ import { P as Placeholder$2 } from './fthry_Placeholder.Bv3DN3M3.js';
6
+ import { u as useSalesforceSync } from './fthry_useSalesforceSync.EwxPnzuq.js';
7
+ import { T as Tooltip, O as Overlay } from './fthry_Overlay.DflC4Ai0.js';
8
8
  import { createPortal } from 'react-dom';
9
9
  import 'react/jsx-runtime';
10
10
  import 'react-dom/client';
@@ -1,5 +1,5 @@
1
1
  import React__default from 'react';
2
- import { P as PropTypes } from './fthry_index.CKr9necb.js';
2
+ import { P as PropTypes } from './fthry_index.Di1pON21.js';
3
3
 
4
4
  /** Checks if value is string */
5
5
  function isString(str) {