@solace-health/ui 0.10.155 → 0.10.157

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -48,8 +48,8 @@ var Ir__default = /*#__PURE__*/_interopDefault(Ir);
48
48
  var En__default = /*#__PURE__*/_interopDefault(En);
49
49
  var CE__namespace = /*#__PURE__*/_interopNamespace(CE);
50
50
 
51
- var iB=Object.create;var g4=Object.defineProperty;var nB=Object.getOwnPropertyDescriptor;var LB=Object.getOwnPropertyNames;var sB=Object.getPrototypeOf,aB=Object.prototype.hasOwnProperty;var y2=(A,C)=>()=>(C||A((C={exports:{}}).exports,C),C.exports);var lB=(A,C,g,E)=>{if(C&&typeof C=="object"||typeof C=="function")for(let B of LB(C))!aB.call(A,B)&&B!==g&&g4(A,B,{get:()=>C[B],enumerable:!(E=nB(C,B))||E.enumerable});return A};var fB=(A,C,g)=>(g=A!=null?iB(sB(A)):{},lB(C||!A||!A.__esModule?g4(g,"default",{value:A,enumerable:!0}):g,A));var B0=y2(Z=>{var n2=typeof Symbol=="function"&&Symbol.for,i7=n2?Symbol.for("react.element"):60103,n7=n2?Symbol.for("react.portal"):60106,HA=n2?Symbol.for("react.fragment"):60107,MA=n2?Symbol.for("react.strict_mode"):60108,SA=n2?Symbol.for("react.profiler"):60114,bA=n2?Symbol.for("react.provider"):60109,kA=n2?Symbol.for("react.context"):60110,L7=n2?Symbol.for("react.async_mode"):60111,XA=n2?Symbol.for("react.concurrent_mode"):60111,FA=n2?Symbol.for("react.forward_ref"):60112,JA=n2?Symbol.for("react.suspense"):60113,_e=n2?Symbol.for("react.suspense_list"):60120,zA=n2?Symbol.for("react.memo"):60115,KA=n2?Symbol.for("react.lazy"):60116,$e=n2?Symbol.for("react.block"):60121,Ao=n2?Symbol.for("react.fundamental"):60117,Co=n2?Symbol.for("react.responder"):60118,go=n2?Symbol.for("react.scope"):60119;function x2(A){if(typeof A=="object"&&A!==null){var C=A.$$typeof;switch(C){case i7:switch(A=A.type,A){case L7:case XA:case HA:case SA:case MA:case JA:return A;default:switch(A=A&&A.$$typeof,A){case kA:case FA:case KA:case zA:case bA:return A;default:return C}}case n7:return C}}}function E0(A){return x2(A)===XA}Z.AsyncMode=L7;Z.ConcurrentMode=XA;Z.ContextConsumer=kA;Z.ContextProvider=bA;Z.Element=i7;Z.ForwardRef=FA;Z.Fragment=HA;Z.Lazy=KA;Z.Memo=zA;Z.Portal=n7;Z.Profiler=SA;Z.StrictMode=MA;Z.Suspense=JA;Z.isAsyncMode=function(A){return E0(A)||x2(A)===L7};Z.isConcurrentMode=E0;Z.isContextConsumer=function(A){return x2(A)===kA};Z.isContextProvider=function(A){return x2(A)===bA};Z.isElement=function(A){return typeof A=="object"&&A!==null&&A.$$typeof===i7};Z.isForwardRef=function(A){return x2(A)===FA};Z.isFragment=function(A){return x2(A)===HA};Z.isLazy=function(A){return x2(A)===KA};Z.isMemo=function(A){return x2(A)===zA};Z.isPortal=function(A){return x2(A)===n7};Z.isProfiler=function(A){return x2(A)===SA};Z.isStrictMode=function(A){return x2(A)===MA};Z.isSuspense=function(A){return x2(A)===JA};Z.isValidElementType=function(A){return typeof A=="string"||typeof A=="function"||A===HA||A===XA||A===SA||A===MA||A===JA||A===_e||typeof A=="object"&&A!==null&&(A.$$typeof===KA||A.$$typeof===zA||A.$$typeof===bA||A.$$typeof===kA||A.$$typeof===FA||A.$$typeof===Ao||A.$$typeof===Co||A.$$typeof===go||A.$$typeof===$e)};Z.typeOf=x2;});var I0=y2(W=>{process.env.NODE_ENV!=="production"&&function(){var A=typeof Symbol=="function"&&Symbol.for,C=A?Symbol.for("react.element"):60103,g=A?Symbol.for("react.portal"):60106,E=A?Symbol.for("react.fragment"):60107,B=A?Symbol.for("react.strict_mode"):60108,I=A?Symbol.for("react.profiler"):60114,Q=A?Symbol.for("react.provider"):60109,e=A?Symbol.for("react.context"):60110,t=A?Symbol.for("react.async_mode"):60111,o=A?Symbol.for("react.concurrent_mode"):60111,r=A?Symbol.for("react.forward_ref"):60112,i=A?Symbol.for("react.suspense"):60113,L=A?Symbol.for("react.suspense_list"):60120,s=A?Symbol.for("react.memo"):60115,f=A?Symbol.for("react.lazy"):60116,q=A?Symbol.for("react.block"):60121,d=A?Symbol.for("react.fundamental"):60117,x=A?Symbol.for("react.responder"):60118,v=A?Symbol.for("react.scope"):60119;function U(P){return typeof P=="string"||typeof P=="function"||P===E||P===o||P===I||P===B||P===i||P===L||typeof P=="object"&&P!==null&&(P.$$typeof===f||P.$$typeof===s||P.$$typeof===Q||P.$$typeof===e||P.$$typeof===r||P.$$typeof===d||P.$$typeof===x||P.$$typeof===v||P.$$typeof===q)}function p(P){if(typeof P=="object"&&P!==null){var a5=P.$$typeof;switch(a5){case C:var oA=P.type;switch(oA){case t:case o:case E:case I:case B:case i:return oA;default:var C4=oA&&oA.$$typeof;switch(C4){case e:case r:case f:case s:case Q:return C4;default:return a5}}case g:return a5}}}var l=t,M=o,m=e,b=Q,N=C,F=r,A2=E,w2=f,n=s,a=g,H=I,X=B,S=i,J=!1;function w(P){return J||(J=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),k(P)||p(P)===t}function k(P){return p(P)===o}function y(P){return p(P)===e}function Y(P){return p(P)===Q}function O(P){return typeof P=="object"&&P!==null&&P.$$typeof===C}function R2(P){return p(P)===r}function c2(P){return p(P)===E}function t1(P){return p(P)===f}function QB(P){return p(P)===s}function eB(P){return p(P)===g}function oB(P){return p(P)===I}function tB(P){return p(P)===B}function rB(P){return p(P)===i}W.AsyncMode=l,W.ConcurrentMode=M,W.ContextConsumer=m,W.ContextProvider=b,W.Element=N,W.ForwardRef=F,W.Fragment=A2,W.Lazy=w2,W.Memo=n,W.Portal=a,W.Profiler=H,W.StrictMode=X,W.Suspense=S,W.isAsyncMode=w,W.isConcurrentMode=k,W.isContextConsumer=y,W.isContextProvider=Y,W.isElement=O,W.isForwardRef=R2,W.isFragment=c2,W.isLazy=t1,W.isMemo=QB,W.isPortal=eB,W.isProfiler=oB,W.isStrictMode=tB,W.isSuspense=rB,W.isValidElementType=U,W.typeOf=p;}();});var a7=y2((LV,s7)=>{process.env.NODE_ENV==="production"?s7.exports=B0():s7.exports=I0();});var o0=y2((sV,e0)=>{var Q0=Object.getOwnPropertySymbols,Eo=Object.prototype.hasOwnProperty,Bo=Object.prototype.propertyIsEnumerable;function Io(A){if(A==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(A)}function Qo(){try{if(!Object.assign)return !1;var A=new String("abc");if(A[5]="de",Object.getOwnPropertyNames(A)[0]==="5")return !1;for(var C={},g=0;g<10;g++)C["_"+String.fromCharCode(g)]=g;var E=Object.getOwnPropertyNames(C).map(function(I){return C[I]});if(E.join("")!=="0123456789")return !1;var B={};return "abcdefghijklmnopqrst".split("").forEach(function(I){B[I]=I;}),Object.keys(Object.assign({},B)).join("")==="abcdefghijklmnopqrst"}catch{return !1}}e0.exports=Qo()?Object.assign:function(A,C){for(var g,E=Io(A),B,I=1;I<arguments.length;I++){g=Object(arguments[I]);for(var Q in g)Eo.call(g,Q)&&(E[Q]=g[Q]);if(Q0){B=Q0(g);for(var e=0;e<B.length;e++)Bo.call(g,B[e])&&(E[B[e]]=g[B[e]]);}}return E};});var yA=y2((aV,t0)=>{var eo="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";t0.exports=eo;});var l7=y2((lV,r0)=>{r0.exports=Function.call.bind(Object.prototype.hasOwnProperty);});var a0=y2((fV,s0)=>{var f7=function(){};process.env.NODE_ENV!=="production"&&(i0=yA(),OA={},n0=l7(),f7=function(A){var C="Warning: "+A;typeof console<"u"&&console.error(C);try{throw new Error(C)}catch{}});var i0,OA,n0;function L0(A,C,g,E,B){if(process.env.NODE_ENV!=="production"){for(var I in A)if(n0(A,I)){var Q;try{if(typeof A[I]!="function"){var e=Error((E||"React class")+": "+g+" type `"+I+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof A[I]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw e.name="Invariant Violation",e}Q=A[I](C,I,E,g,null,i0);}catch(o){Q=o;}if(Q&&!(Q instanceof Error)&&f7((E||"React class")+": type specification of "+g+" `"+I+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof Q+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),Q instanceof Error&&!(Q.message in OA)){OA[Q.message]=!0;var t=B?B():"";f7("Failed "+g+" type: "+Q.message+(t??""));}}}}L0.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(OA={});};s0.exports=L0;});var d0=y2((dV,f0)=>{var oo=a7(),to=o0(),p3=yA(),d7=l7(),l0=a0(),c3=function(){};process.env.NODE_ENV!=="production"&&(c3=function(A){var C="Warning: "+A;typeof console<"u"&&console.error(C);try{throw new Error(C)}catch{}});function DA(){return null}f0.exports=function(A,C){var g=typeof Symbol=="function"&&Symbol.iterator,E="@@iterator";function B(n){var a=n&&(g&&n[g]||n[E]);if(typeof a=="function")return a}var I="<<anonymous>>",Q={array:r("array"),bigint:r("bigint"),bool:r("boolean"),func:r("function"),number:r("number"),object:r("object"),string:r("string"),symbol:r("symbol"),any:i(),arrayOf:L,element:s(),elementType:f(),instanceOf:q,node:U(),objectOf:x,oneOf:d,oneOfType:v,shape:l,exact:M};function e(n,a){return n===a?n!==0||1/n===1/a:n!==n&&a!==a}function t(n,a){this.message=n,this.data=a&&typeof a=="object"?a:{},this.stack="";}t.prototype=Error.prototype;function o(n){if(process.env.NODE_ENV!=="production")var a={},H=0;function X(J,w,k,y,Y,O,R2){if(y=y||I,O=O||k,R2!==p3){if(C){var c2=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw c2.name="Invariant Violation",c2}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var t1=y+":"+k;!a[t1]&&H<3&&(c3("You are manually calling a React.PropTypes validation function for the `"+O+"` prop on `"+y+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),a[t1]=!0,H++);}}return w[k]==null?J?w[k]===null?new t("The "+Y+" `"+O+"` is marked as required "+("in `"+y+"`, but its value is `null`.")):new t("The "+Y+" `"+O+"` is marked as required in "+("`"+y+"`, but its value is `undefined`.")):null:n(w,k,y,Y,O)}var S=X.bind(null,!1);return S.isRequired=X.bind(null,!0),S}function r(n){function a(H,X,S,J,w,k){var y=H[X],Y=N(y);if(Y!==n){var O=F(y);return new t("Invalid "+J+" `"+w+"` of type "+("`"+O+"` supplied to `"+S+"`, expected ")+("`"+n+"`."),{expectedType:n})}return null}return o(a)}function i(){return o(DA)}function L(n){function a(H,X,S,J,w){if(typeof n!="function")return new t("Property `"+w+"` of component `"+S+"` has invalid PropType notation inside arrayOf.");var k=H[X];if(!Array.isArray(k)){var y=N(k);return new t("Invalid "+J+" `"+w+"` of type "+("`"+y+"` supplied to `"+S+"`, expected an array."))}for(var Y=0;Y<k.length;Y++){var O=n(k,Y,S,J,w+"["+Y+"]",p3);if(O instanceof Error)return O}return null}return o(a)}function s(){function n(a,H,X,S,J){var w=a[H];if(!A(w)){var k=N(w);return new t("Invalid "+S+" `"+J+"` of type "+("`"+k+"` supplied to `"+X+"`, expected a single ReactElement."))}return null}return o(n)}function f(){function n(a,H,X,S,J){var w=a[H];if(!oo.isValidElementType(w)){var k=N(w);return new t("Invalid "+S+" `"+J+"` of type "+("`"+k+"` supplied to `"+X+"`, expected a single ReactElement type."))}return null}return o(n)}function q(n){function a(H,X,S,J,w){if(!(H[X]instanceof n)){var k=n.name||I,y=w2(H[X]);return new t("Invalid "+J+" `"+w+"` of type "+("`"+y+"` supplied to `"+S+"`, expected ")+("instance of `"+k+"`."))}return null}return o(a)}function d(n){if(!Array.isArray(n))return process.env.NODE_ENV!=="production"&&(arguments.length>1?c3("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):c3("Invalid argument supplied to oneOf, expected an array.")),DA;function a(H,X,S,J,w){for(var k=H[X],y=0;y<n.length;y++)if(e(k,n[y]))return null;var Y=JSON.stringify(n,function(R2,c2){var t1=F(c2);return t1==="symbol"?String(c2):c2});return new t("Invalid "+J+" `"+w+"` of value `"+String(k)+"` "+("supplied to `"+S+"`, expected one of "+Y+"."))}return o(a)}function x(n){function a(H,X,S,J,w){if(typeof n!="function")return new t("Property `"+w+"` of component `"+S+"` has invalid PropType notation inside objectOf.");var k=H[X],y=N(k);if(y!=="object")return new t("Invalid "+J+" `"+w+"` of type "+("`"+y+"` supplied to `"+S+"`, expected an object."));for(var Y in k)if(d7(k,Y)){var O=n(k,Y,S,J,w+"."+Y,p3);if(O instanceof Error)return O}return null}return o(a)}function v(n){if(!Array.isArray(n))return process.env.NODE_ENV!=="production"&&c3("Invalid argument supplied to oneOfType, expected an instance of array."),DA;for(var a=0;a<n.length;a++){var H=n[a];if(typeof H!="function")return c3("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+A2(H)+" at index "+a+"."),DA}function X(S,J,w,k,y){for(var Y=[],O=0;O<n.length;O++){var R2=n[O],c2=R2(S,J,w,k,y,p3);if(c2==null)return null;c2.data&&d7(c2.data,"expectedType")&&Y.push(c2.data.expectedType);}var t1=Y.length>0?", expected one of type ["+Y.join(", ")+"]":"";return new t("Invalid "+k+" `"+y+"` supplied to "+("`"+w+"`"+t1+"."))}return o(X)}function U(){function n(a,H,X,S,J){return m(a[H])?null:new t("Invalid "+S+" `"+J+"` supplied to "+("`"+X+"`, expected a ReactNode."))}return o(n)}function p(n,a,H,X,S){return new t((n||"React class")+": "+a+" type `"+H+"."+X+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+S+"`.")}function l(n){function a(H,X,S,J,w){var k=H[X],y=N(k);if(y!=="object")return new t("Invalid "+J+" `"+w+"` of type `"+y+"` "+("supplied to `"+S+"`, expected `object`."));for(var Y in n){var O=n[Y];if(typeof O!="function")return p(S,J,w,Y,F(O));var R2=O(k,Y,S,J,w+"."+Y,p3);if(R2)return R2}return null}return o(a)}function M(n){function a(H,X,S,J,w){var k=H[X],y=N(k);if(y!=="object")return new t("Invalid "+J+" `"+w+"` of type `"+y+"` "+("supplied to `"+S+"`, expected `object`."));var Y=to({},H[X],n);for(var O in Y){var R2=n[O];if(d7(n,O)&&typeof R2!="function")return p(S,J,w,O,F(R2));if(!R2)return new t("Invalid "+J+" `"+w+"` key `"+O+"` supplied to `"+S+"`.\nBad object: "+JSON.stringify(H[X],null," ")+`
52
- Valid keys: `+JSON.stringify(Object.keys(n),null," "));var c2=R2(k,O,S,J,w+"."+O,p3);if(c2)return c2}return null}return o(a)}function m(n){switch(typeof n){case"number":case"string":case"undefined":return !0;case"boolean":return !n;case"object":if(Array.isArray(n))return n.every(m);if(n===null||A(n))return !0;var a=B(n);if(a){var H=a.call(n),X;if(a!==n.entries){for(;!(X=H.next()).done;)if(!m(X.value))return !1}else for(;!(X=H.next()).done;){var S=X.value;if(S&&!m(S[1]))return !1}}else return !1;return !0;default:return !1}}function b(n,a){return n==="symbol"?!0:a?a["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&a instanceof Symbol:!1}function N(n){var a=typeof n;return Array.isArray(n)?"array":n instanceof RegExp?"object":b(a,n)?"symbol":a}function F(n){if(typeof n>"u"||n===null)return ""+n;var a=N(n);if(a==="object"){if(n instanceof Date)return "date";if(n instanceof RegExp)return "regexp"}return a}function A2(n){var a=F(n);switch(a){case"array":case"object":return "an "+a;case"boolean":case"date":case"regexp":return "a "+a;default:return a}}function w2(n){return !n.constructor||!n.constructor.name?I:n.constructor.name}return Q.checkPropTypes=l0,Q.resetWarningCache=l0.resetWarningCache,Q.PropTypes=Q,Q};});var h0=y2((pV,u0)=>{var ro=yA();function p0(){}function c0(){}c0.resetWarningCache=p0;u0.exports=function(){function A(E,B,I,Q,e,t){if(t!==ro){var o=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw o.name="Invariant Violation",o}}A.isRequired=A;function C(){return A}var g={array:A,bigint:A,bool:A,func:A,number:A,object:A,string:A,symbol:A,any:A,arrayOf:C,element:A,elementType:A,instanceOf:C,node:A,objectOf:C,oneOf:C,oneOfType:C,shape:C,exact:C,checkPropTypes:c0,resetWarningCache:p0};return g.PropTypes=g,g};});var m0=y2((cV,p7)=>{process.env.NODE_ENV!=="production"?(v0=a7(),w0=!0,p7.exports=d0()(v0.isElement,w0)):p7.exports=h0()();var v0,w0;});var cB={from:{opacity:0},to:{opacity:1}},uB={from:{transform:"translateY(50px)",opacity:0},to:{transform:"translateY(0)",opacity:1}},hB=(A,C,g)=>{if(C&&g)return {to:C,from:g};switch(A){case"fadeIn":return cB;case"slideIn":return uB;default:return {to:C,from:g}}},vB=({children:A,delay:C=0,slow:g=!1,type:E="fadeIn",to:B=null,from:I=null,trigger:Q=!0,style:e={},...t})=>{let{to:o,from:r}=hB(E,B,I),i=web.useSpring({from:r,to:Q?o:r,delay:C,config:g?web.config.slow:web.config.default});return jsxRuntime.jsx(web.animated.div,{style:{...i,...e},...t,children:A})},wB=vB;var xB=T__default.default(web.animated.div)`
51
+ var iB=Object.create;var g4=Object.defineProperty;var nB=Object.getOwnPropertyDescriptor;var LB=Object.getOwnPropertyNames;var sB=Object.getPrototypeOf,aB=Object.prototype.hasOwnProperty;var y2=(A,C)=>()=>(C||A((C={exports:{}}).exports,C),C.exports);var lB=(A,C,g,E)=>{if(C&&typeof C=="object"||typeof C=="function")for(let B of LB(C))!aB.call(A,B)&&B!==g&&g4(A,B,{get:()=>C[B],enumerable:!(E=nB(C,B))||E.enumerable});return A};var fB=(A,C,g)=>(g=A!=null?iB(sB(A)):{},lB(C||!A||!A.__esModule?g4(g,"default",{value:A,enumerable:!0}):g,A));var B0=y2(Z=>{var n2=typeof Symbol=="function"&&Symbol.for,i7=n2?Symbol.for("react.element"):60103,n7=n2?Symbol.for("react.portal"):60106,HA=n2?Symbol.for("react.fragment"):60107,MA=n2?Symbol.for("react.strict_mode"):60108,SA=n2?Symbol.for("react.profiler"):60114,bA=n2?Symbol.for("react.provider"):60109,kA=n2?Symbol.for("react.context"):60110,L7=n2?Symbol.for("react.async_mode"):60111,XA=n2?Symbol.for("react.concurrent_mode"):60111,FA=n2?Symbol.for("react.forward_ref"):60112,JA=n2?Symbol.for("react.suspense"):60113,_e=n2?Symbol.for("react.suspense_list"):60120,zA=n2?Symbol.for("react.memo"):60115,KA=n2?Symbol.for("react.lazy"):60116,$e=n2?Symbol.for("react.block"):60121,Ao=n2?Symbol.for("react.fundamental"):60117,Co=n2?Symbol.for("react.responder"):60118,go=n2?Symbol.for("react.scope"):60119;function x2(A){if(typeof A=="object"&&A!==null){var C=A.$$typeof;switch(C){case i7:switch(A=A.type,A){case L7:case XA:case HA:case SA:case MA:case JA:return A;default:switch(A=A&&A.$$typeof,A){case kA:case FA:case KA:case zA:case bA:return A;default:return C}}case n7:return C}}}function E0(A){return x2(A)===XA}Z.AsyncMode=L7;Z.ConcurrentMode=XA;Z.ContextConsumer=kA;Z.ContextProvider=bA;Z.Element=i7;Z.ForwardRef=FA;Z.Fragment=HA;Z.Lazy=KA;Z.Memo=zA;Z.Portal=n7;Z.Profiler=SA;Z.StrictMode=MA;Z.Suspense=JA;Z.isAsyncMode=function(A){return E0(A)||x2(A)===L7};Z.isConcurrentMode=E0;Z.isContextConsumer=function(A){return x2(A)===kA};Z.isContextProvider=function(A){return x2(A)===bA};Z.isElement=function(A){return typeof A=="object"&&A!==null&&A.$$typeof===i7};Z.isForwardRef=function(A){return x2(A)===FA};Z.isFragment=function(A){return x2(A)===HA};Z.isLazy=function(A){return x2(A)===KA};Z.isMemo=function(A){return x2(A)===zA};Z.isPortal=function(A){return x2(A)===n7};Z.isProfiler=function(A){return x2(A)===SA};Z.isStrictMode=function(A){return x2(A)===MA};Z.isSuspense=function(A){return x2(A)===JA};Z.isValidElementType=function(A){return typeof A=="string"||typeof A=="function"||A===HA||A===XA||A===SA||A===MA||A===JA||A===_e||typeof A=="object"&&A!==null&&(A.$$typeof===KA||A.$$typeof===zA||A.$$typeof===bA||A.$$typeof===kA||A.$$typeof===FA||A.$$typeof===Ao||A.$$typeof===Co||A.$$typeof===go||A.$$typeof===$e)};Z.typeOf=x2;});var I0=y2(W=>{process.env.NODE_ENV!=="production"&&function(){var A=typeof Symbol=="function"&&Symbol.for,C=A?Symbol.for("react.element"):60103,g=A?Symbol.for("react.portal"):60106,E=A?Symbol.for("react.fragment"):60107,B=A?Symbol.for("react.strict_mode"):60108,I=A?Symbol.for("react.profiler"):60114,Q=A?Symbol.for("react.provider"):60109,e=A?Symbol.for("react.context"):60110,t=A?Symbol.for("react.async_mode"):60111,r=A?Symbol.for("react.concurrent_mode"):60111,o=A?Symbol.for("react.forward_ref"):60112,i=A?Symbol.for("react.suspense"):60113,L=A?Symbol.for("react.suspense_list"):60120,s=A?Symbol.for("react.memo"):60115,f=A?Symbol.for("react.lazy"):60116,q=A?Symbol.for("react.block"):60121,d=A?Symbol.for("react.fundamental"):60117,x=A?Symbol.for("react.responder"):60118,v=A?Symbol.for("react.scope"):60119;function U(P){return typeof P=="string"||typeof P=="function"||P===E||P===r||P===I||P===B||P===i||P===L||typeof P=="object"&&P!==null&&(P.$$typeof===f||P.$$typeof===s||P.$$typeof===Q||P.$$typeof===e||P.$$typeof===o||P.$$typeof===d||P.$$typeof===x||P.$$typeof===v||P.$$typeof===q)}function p(P){if(typeof P=="object"&&P!==null){var a5=P.$$typeof;switch(a5){case C:var oA=P.type;switch(oA){case t:case r:case E:case I:case B:case i:return oA;default:var C4=oA&&oA.$$typeof;switch(C4){case e:case o:case f:case s:case Q:return C4;default:return a5}}case g:return a5}}}var l=t,M=r,m=e,b=Q,N=C,F=o,A2=E,w2=f,n=s,a=g,H=I,X=B,S=i,J=!1;function w(P){return J||(J=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),k(P)||p(P)===t}function k(P){return p(P)===r}function y(P){return p(P)===e}function Y(P){return p(P)===Q}function O(P){return typeof P=="object"&&P!==null&&P.$$typeof===C}function R2(P){return p(P)===o}function c2(P){return p(P)===E}function t1(P){return p(P)===f}function QB(P){return p(P)===s}function eB(P){return p(P)===g}function oB(P){return p(P)===I}function tB(P){return p(P)===B}function rB(P){return p(P)===i}W.AsyncMode=l,W.ConcurrentMode=M,W.ContextConsumer=m,W.ContextProvider=b,W.Element=N,W.ForwardRef=F,W.Fragment=A2,W.Lazy=w2,W.Memo=n,W.Portal=a,W.Profiler=H,W.StrictMode=X,W.Suspense=S,W.isAsyncMode=w,W.isConcurrentMode=k,W.isContextConsumer=y,W.isContextProvider=Y,W.isElement=O,W.isForwardRef=R2,W.isFragment=c2,W.isLazy=t1,W.isMemo=QB,W.isPortal=eB,W.isProfiler=oB,W.isStrictMode=tB,W.isSuspense=rB,W.isValidElementType=U,W.typeOf=p;}();});var a7=y2((LV,s7)=>{process.env.NODE_ENV==="production"?s7.exports=B0():s7.exports=I0();});var o0=y2((sV,e0)=>{var Q0=Object.getOwnPropertySymbols,Eo=Object.prototype.hasOwnProperty,Bo=Object.prototype.propertyIsEnumerable;function Io(A){if(A==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(A)}function Qo(){try{if(!Object.assign)return !1;var A=new String("abc");if(A[5]="de",Object.getOwnPropertyNames(A)[0]==="5")return !1;for(var C={},g=0;g<10;g++)C["_"+String.fromCharCode(g)]=g;var E=Object.getOwnPropertyNames(C).map(function(I){return C[I]});if(E.join("")!=="0123456789")return !1;var B={};return "abcdefghijklmnopqrst".split("").forEach(function(I){B[I]=I;}),Object.keys(Object.assign({},B)).join("")==="abcdefghijklmnopqrst"}catch{return !1}}e0.exports=Qo()?Object.assign:function(A,C){for(var g,E=Io(A),B,I=1;I<arguments.length;I++){g=Object(arguments[I]);for(var Q in g)Eo.call(g,Q)&&(E[Q]=g[Q]);if(Q0){B=Q0(g);for(var e=0;e<B.length;e++)Bo.call(g,B[e])&&(E[B[e]]=g[B[e]]);}}return E};});var yA=y2((aV,t0)=>{var eo="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";t0.exports=eo;});var l7=y2((lV,r0)=>{r0.exports=Function.call.bind(Object.prototype.hasOwnProperty);});var a0=y2((fV,s0)=>{var f7=function(){};process.env.NODE_ENV!=="production"&&(i0=yA(),OA={},n0=l7(),f7=function(A){var C="Warning: "+A;typeof console<"u"&&console.error(C);try{throw new Error(C)}catch{}});var i0,OA,n0;function L0(A,C,g,E,B){if(process.env.NODE_ENV!=="production"){for(var I in A)if(n0(A,I)){var Q;try{if(typeof A[I]!="function"){var e=Error((E||"React class")+": "+g+" type `"+I+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof A[I]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw e.name="Invariant Violation",e}Q=A[I](C,I,E,g,null,i0);}catch(r){Q=r;}if(Q&&!(Q instanceof Error)&&f7((E||"React class")+": type specification of "+g+" `"+I+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof Q+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),Q instanceof Error&&!(Q.message in OA)){OA[Q.message]=!0;var t=B?B():"";f7("Failed "+g+" type: "+Q.message+(t??""));}}}}L0.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(OA={});};s0.exports=L0;});var d0=y2((dV,f0)=>{var oo=a7(),to=o0(),p3=yA(),d7=l7(),l0=a0(),c3=function(){};process.env.NODE_ENV!=="production"&&(c3=function(A){var C="Warning: "+A;typeof console<"u"&&console.error(C);try{throw new Error(C)}catch{}});function DA(){return null}f0.exports=function(A,C){var g=typeof Symbol=="function"&&Symbol.iterator,E="@@iterator";function B(n){var a=n&&(g&&n[g]||n[E]);if(typeof a=="function")return a}var I="<<anonymous>>",Q={array:o("array"),bigint:o("bigint"),bool:o("boolean"),func:o("function"),number:o("number"),object:o("object"),string:o("string"),symbol:o("symbol"),any:i(),arrayOf:L,element:s(),elementType:f(),instanceOf:q,node:U(),objectOf:x,oneOf:d,oneOfType:v,shape:l,exact:M};function e(n,a){return n===a?n!==0||1/n===1/a:n!==n&&a!==a}function t(n,a){this.message=n,this.data=a&&typeof a=="object"?a:{},this.stack="";}t.prototype=Error.prototype;function r(n){if(process.env.NODE_ENV!=="production")var a={},H=0;function X(J,w,k,y,Y,O,R2){if(y=y||I,O=O||k,R2!==p3){if(C){var c2=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw c2.name="Invariant Violation",c2}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var t1=y+":"+k;!a[t1]&&H<3&&(c3("You are manually calling a React.PropTypes validation function for the `"+O+"` prop on `"+y+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),a[t1]=!0,H++);}}return w[k]==null?J?w[k]===null?new t("The "+Y+" `"+O+"` is marked as required "+("in `"+y+"`, but its value is `null`.")):new t("The "+Y+" `"+O+"` is marked as required in "+("`"+y+"`, but its value is `undefined`.")):null:n(w,k,y,Y,O)}var S=X.bind(null,!1);return S.isRequired=X.bind(null,!0),S}function o(n){function a(H,X,S,J,w,k){var y=H[X],Y=N(y);if(Y!==n){var O=F(y);return new t("Invalid "+J+" `"+w+"` of type "+("`"+O+"` supplied to `"+S+"`, expected ")+("`"+n+"`."),{expectedType:n})}return null}return r(a)}function i(){return r(DA)}function L(n){function a(H,X,S,J,w){if(typeof n!="function")return new t("Property `"+w+"` of component `"+S+"` has invalid PropType notation inside arrayOf.");var k=H[X];if(!Array.isArray(k)){var y=N(k);return new t("Invalid "+J+" `"+w+"` of type "+("`"+y+"` supplied to `"+S+"`, expected an array."))}for(var Y=0;Y<k.length;Y++){var O=n(k,Y,S,J,w+"["+Y+"]",p3);if(O instanceof Error)return O}return null}return r(a)}function s(){function n(a,H,X,S,J){var w=a[H];if(!A(w)){var k=N(w);return new t("Invalid "+S+" `"+J+"` of type "+("`"+k+"` supplied to `"+X+"`, expected a single ReactElement."))}return null}return r(n)}function f(){function n(a,H,X,S,J){var w=a[H];if(!oo.isValidElementType(w)){var k=N(w);return new t("Invalid "+S+" `"+J+"` of type "+("`"+k+"` supplied to `"+X+"`, expected a single ReactElement type."))}return null}return r(n)}function q(n){function a(H,X,S,J,w){if(!(H[X]instanceof n)){var k=n.name||I,y=w2(H[X]);return new t("Invalid "+J+" `"+w+"` of type "+("`"+y+"` supplied to `"+S+"`, expected ")+("instance of `"+k+"`."))}return null}return r(a)}function d(n){if(!Array.isArray(n))return process.env.NODE_ENV!=="production"&&(arguments.length>1?c3("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):c3("Invalid argument supplied to oneOf, expected an array.")),DA;function a(H,X,S,J,w){for(var k=H[X],y=0;y<n.length;y++)if(e(k,n[y]))return null;var Y=JSON.stringify(n,function(R2,c2){var t1=F(c2);return t1==="symbol"?String(c2):c2});return new t("Invalid "+J+" `"+w+"` of value `"+String(k)+"` "+("supplied to `"+S+"`, expected one of "+Y+"."))}return r(a)}function x(n){function a(H,X,S,J,w){if(typeof n!="function")return new t("Property `"+w+"` of component `"+S+"` has invalid PropType notation inside objectOf.");var k=H[X],y=N(k);if(y!=="object")return new t("Invalid "+J+" `"+w+"` of type "+("`"+y+"` supplied to `"+S+"`, expected an object."));for(var Y in k)if(d7(k,Y)){var O=n(k,Y,S,J,w+"."+Y,p3);if(O instanceof Error)return O}return null}return r(a)}function v(n){if(!Array.isArray(n))return process.env.NODE_ENV!=="production"&&c3("Invalid argument supplied to oneOfType, expected an instance of array."),DA;for(var a=0;a<n.length;a++){var H=n[a];if(typeof H!="function")return c3("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+A2(H)+" at index "+a+"."),DA}function X(S,J,w,k,y){for(var Y=[],O=0;O<n.length;O++){var R2=n[O],c2=R2(S,J,w,k,y,p3);if(c2==null)return null;c2.data&&d7(c2.data,"expectedType")&&Y.push(c2.data.expectedType);}var t1=Y.length>0?", expected one of type ["+Y.join(", ")+"]":"";return new t("Invalid "+k+" `"+y+"` supplied to "+("`"+w+"`"+t1+"."))}return r(X)}function U(){function n(a,H,X,S,J){return m(a[H])?null:new t("Invalid "+S+" `"+J+"` supplied to "+("`"+X+"`, expected a ReactNode."))}return r(n)}function p(n,a,H,X,S){return new t((n||"React class")+": "+a+" type `"+H+"."+X+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+S+"`.")}function l(n){function a(H,X,S,J,w){var k=H[X],y=N(k);if(y!=="object")return new t("Invalid "+J+" `"+w+"` of type `"+y+"` "+("supplied to `"+S+"`, expected `object`."));for(var Y in n){var O=n[Y];if(typeof O!="function")return p(S,J,w,Y,F(O));var R2=O(k,Y,S,J,w+"."+Y,p3);if(R2)return R2}return null}return r(a)}function M(n){function a(H,X,S,J,w){var k=H[X],y=N(k);if(y!=="object")return new t("Invalid "+J+" `"+w+"` of type `"+y+"` "+("supplied to `"+S+"`, expected `object`."));var Y=to({},H[X],n);for(var O in Y){var R2=n[O];if(d7(n,O)&&typeof R2!="function")return p(S,J,w,O,F(R2));if(!R2)return new t("Invalid "+J+" `"+w+"` key `"+O+"` supplied to `"+S+"`.\nBad object: "+JSON.stringify(H[X],null," ")+`
52
+ Valid keys: `+JSON.stringify(Object.keys(n),null," "));var c2=R2(k,O,S,J,w+"."+O,p3);if(c2)return c2}return null}return r(a)}function m(n){switch(typeof n){case"number":case"string":case"undefined":return !0;case"boolean":return !n;case"object":if(Array.isArray(n))return n.every(m);if(n===null||A(n))return !0;var a=B(n);if(a){var H=a.call(n),X;if(a!==n.entries){for(;!(X=H.next()).done;)if(!m(X.value))return !1}else for(;!(X=H.next()).done;){var S=X.value;if(S&&!m(S[1]))return !1}}else return !1;return !0;default:return !1}}function b(n,a){return n==="symbol"?!0:a?a["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&a instanceof Symbol:!1}function N(n){var a=typeof n;return Array.isArray(n)?"array":n instanceof RegExp?"object":b(a,n)?"symbol":a}function F(n){if(typeof n>"u"||n===null)return ""+n;var a=N(n);if(a==="object"){if(n instanceof Date)return "date";if(n instanceof RegExp)return "regexp"}return a}function A2(n){var a=F(n);switch(a){case"array":case"object":return "an "+a;case"boolean":case"date":case"regexp":return "a "+a;default:return a}}function w2(n){return !n.constructor||!n.constructor.name?I:n.constructor.name}return Q.checkPropTypes=l0,Q.resetWarningCache=l0.resetWarningCache,Q.PropTypes=Q,Q};});var h0=y2((pV,u0)=>{var ro=yA();function p0(){}function c0(){}c0.resetWarningCache=p0;u0.exports=function(){function A(E,B,I,Q,e,t){if(t!==ro){var r=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw r.name="Invariant Violation",r}}A.isRequired=A;function C(){return A}var g={array:A,bigint:A,bool:A,func:A,number:A,object:A,string:A,symbol:A,any:A,arrayOf:C,element:A,elementType:A,instanceOf:C,node:A,objectOf:C,oneOf:C,oneOfType:C,shape:C,exact:C,checkPropTypes:c0,resetWarningCache:p0};return g.PropTypes=g,g};});var m0=y2((cV,p7)=>{process.env.NODE_ENV!=="production"?(v0=a7(),w0=!0,p7.exports=d0()(v0.isElement,w0)):p7.exports=h0()();var v0,w0;});var cB={from:{opacity:0},to:{opacity:1}},uB={from:{transform:"translateY(50px)",opacity:0},to:{transform:"translateY(0)",opacity:1}},hB=(A,C,g)=>{if(C&&g)return {to:C,from:g};switch(A){case"fadeIn":return cB;case"slideIn":return uB;default:return {to:C,from:g}}},vB=({children:A,delay:C=0,slow:g=!1,type:E="fadeIn",to:B=null,from:I=null,trigger:Q=!0,style:e={},...t})=>{let{to:r,from:o}=hB(E,B,I),i=web.useSpring({from:o,to:Q?r:o,delay:C,config:g?web.config.slow:web.config.default});return jsxRuntime.jsx(web.animated.div,{style:{...i,...e},...t,children:A})},wB=vB;var xB=T__default.default(web.animated.div)`
53
53
  position: absolute;
54
54
  top: 1px;
55
55
  left: 0px;
@@ -409,7 +409,7 @@ Valid keys: `+JSON.stringify(Object.keys(n),null," "));var c2=R2(k,O,S,J,w+"."+
409
409
  padding-top: 0;
410
410
  }
411
411
  }
412
- `,TI=A=>{let C=reactHookForm.get(A,"isActive",!1),g=web.useSpring(C?{transform:"rotate(0deg)",config:web.config.stiff}:{transform:"rotate(180deg)",config:web.config.stiff});return jsxRuntime.jsx(web.animated.div,{style:g,children:jsxRuntime.jsx("svg",{width:"16",height:"10",viewBox:"0 0 16 10",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:jsxRuntime.jsx("path",{d:"M1.58301 8.24927L7.99968 1.8326L14.4163 8.24927",stroke:"black",strokeWidth:"1.66756",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"})})})},YI=({items:A,onChange:C=()=>null,showIndicator:g=!1,indicatorColor:E="#E4767C",borderColor:B="",...I})=>{let Q=Array.isArray(A)?A:[A];return jsxRuntime.jsx(jI,{items:Q,expandIcon:TI,defaultActiveKey:["1"],onChange:t=>C(t),expandIconPosition:"end",showIndicator:g,borderColor:B,indicatorColor:E,...I})},ZI=YI;var NI=({value:A=null,onChange:C,startRange:g=null,endRange:E=null,defaultValue:B=BA__default.default(),format:I=null,placeholder:Q=null,className:e=null,hasError:t=!1,disabled:o=!1,...r})=>{let[i,L]=co.useState(!1),s=q=>q?!!(g&&q<BA__default.default(g).endOf("day")||E&&q>BA__default.default(E).endOf("day")):!1,f=t?t3.colors.fail:"#5a5a5a";return jsxRuntime.jsx(antd.DatePicker,{className:e,placeholder:Q,format:I,disabled:o,disabledDate:s,onChange:(q,d)=>{C&&C(d,q);},onFocus:()=>{L(!0);},onBlur:()=>{L(!1);},value:A?BA__default.default(A):B,style:{width:"100%",height:"50px",boxSizing:"border-box",borderRadius:"8px",borderWidth:"1px",borderStyle:"solid",borderColor:i?t3.colors.secondaryGreen:f,padding:"20px 23px",backgroundColor:"#fff",fontFamily:t3.typography.family.body,fontWeight:t3.typography.weight.normal,fontStyle:"normal",fontSize:"16px",outlineStyle:"none",boxShadow:i?`0 0 0 1px ${t3.colors.secondaryGreen}`:"none"},...r})},_I=NI;var E9=T__default.default(antd.Flex)`
412
+ `,TI=A=>{let C=reactHookForm.get(A,"isActive",!1),g=web.useSpring(C?{transform:"rotate(0deg)",config:web.config.stiff}:{transform:"rotate(180deg)",config:web.config.stiff});return jsxRuntime.jsx(web.animated.div,{style:g,children:jsxRuntime.jsx("svg",{width:"16",height:"10",viewBox:"0 0 16 10",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:jsxRuntime.jsx("path",{d:"M1.58301 8.24927L7.99968 1.8326L14.4163 8.24927",stroke:"black",strokeWidth:"1.66756",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"})})})},YI=({items:A,onChange:C=()=>null,showIndicator:g=!1,indicatorColor:E="#E4767C",borderColor:B="",...I})=>{let Q=Array.isArray(A)?A:[A];return jsxRuntime.jsx(jI,{items:Q,expandIcon:TI,defaultActiveKey:["1"],onChange:t=>C(t),expandIconPosition:"end",showIndicator:g,borderColor:B,indicatorColor:E,...I})},ZI=YI;var NI=({value:A=null,onChange:C,startRange:g=null,endRange:E=null,defaultValue:B=BA__default.default(),format:I=null,placeholder:Q=null,className:e=null,hasError:t=!1,disabled:r=!1,...o})=>{let[i,L]=co.useState(!1),s=q=>q?!!(g&&q<BA__default.default(g).endOf("day")||E&&q>BA__default.default(E).endOf("day")):!1,f=t?t3.colors.fail:"#5a5a5a";return jsxRuntime.jsx(antd.DatePicker,{className:e,placeholder:Q,format:I,disabled:r,disabledDate:s,onChange:(q,d)=>{C&&C(d,q);},onFocus:()=>{L(!0);},onBlur:()=>{L(!1);},value:A?BA__default.default(A):B,style:{width:"100%",height:"50px",boxSizing:"border-box",borderRadius:"8px",borderWidth:"1px",borderStyle:"solid",borderColor:i?t3.colors.secondaryGreen:f,padding:"20px 23px",backgroundColor:"#fff",fontFamily:t3.typography.family.body,fontWeight:t3.typography.weight.normal,fontStyle:"normal",fontSize:"16px",outlineStyle:"none",boxShadow:i?`0 0 0 1px ${t3.colors.secondaryGreen}`:"none"},...o})},_I=NI;var E9=T__default.default(antd.Flex)`
413
413
  .ant-select-selection-placeholder {
414
414
  font-style: italic;
415
415
  color: #555555;
@@ -540,13 +540,13 @@ Valid keys: `+JSON.stringify(Object.keys(n),null," "));var c2=R2(k,O,S,J,w+"."+
540
540
  gap: 8px;
541
541
  margin-top: 6px;
542
542
  margin-bottom: ${({marginBottom:A})=>A}px;
543
- `,Ge=({children:A=null,text:C="This field is required",includeIcon:g=!0,marginBottom:E=0})=>jsxRuntime.jsxs(We,{marginBottom:E,children:[g&&jsxRuntime.jsx(j.ErrorExclamation,{}),jsxRuntime.jsx(h.Body,{size:"xs",color:"#DA4D54",children:A||C})]}),_=Ge;var L2=fB(m0(),1);var V0=[],u3="";function c7({previousConformedValue:A=u3,previousPlaceholder:C=u3,currentCaretPosition:g=0,conformedValue:E,rawValue:B,placeholderChar:I,placeholder:Q,indexesOfPipedChars:e=V0,caretTrapIndexes:t=V0}){if(g===0||!B.length)return 0;let o=B.length,r=A.length,i=Q.length,L=E.length,s=o-r,f=s>0,q=r===0;if(s>1&&!f&&!q)return g;let x=f&&(A===E||E===Q),v=0,U,p;if(x)v=g-s;else {let l=E.toLowerCase(),b=B.toLowerCase().substr(0,g).split(u3).filter(w=>l.indexOf(w)!==-1);p=b[b.length-1];let N=C.substr(0,b.length).split(u3).filter(w=>w!==I).length,A2=Q.substr(0,b.length).split(u3).filter(w=>w!==I).length!==N,w2=C[b.length-1]!==void 0&&Q[b.length-2]!==void 0&&C[b.length-1]!==I&&C[b.length-1]!==Q[b.length-1]&&C[b.length-1]===Q[b.length-2];!f&&(A2||w2)&&N>0&&Q.indexOf(p)>-1&&B[g]!==void 0&&(U=!0,p=B[g]);let a=e.map(w=>l[w]).filter(w=>w===p).length,H=b.filter(w=>w===p).length,S=Q.substr(0,Q.indexOf(I)).split(u3).filter((w,k)=>w===p&&B[k]!==w).length+H+a+(U?1:0),J=0;for(let w=0;w<L;w++){let k=l[w];if(v=w+1,k===p&&J++,J>=S)break}}if(f){let l=v;for(let M=v;M<=i;M++)if(Q[M]===I&&(l=M),Q[M]===I||t.indexOf(M)!==-1||M===i)return l}else if(U){for(let l=v-1;l>=0;l--)if(E[l]===p||t.indexOf(l)!==-1||l===0)return l}else for(let l=v;l>=0;l--)if(Q[l-1]===I||t.indexOf(l)!==-1||l===0)return l}var h3="_",_3="function";var io=[];function $3(A=io,C=h3){if(!u7(A))throw new Error("Text-mask:convertMaskToPlaceholder; The mask property must be an array.");if(A.indexOf(C)!==-1)throw new Error(`Placeholder character must not be used as part of the mask. Please specify a character that is not present in your mask as your placeholder character.
543
+ `,Ge=({children:A=null,text:C="This field is required",includeIcon:g=!0,marginBottom:E=0})=>jsxRuntime.jsxs(We,{marginBottom:E,children:[g&&jsxRuntime.jsx(j.ErrorExclamation,{}),jsxRuntime.jsx(h.Body,{size:"xs",color:"#DA4D54",children:A||C})]}),_=Ge;var L2=fB(m0(),1);var V0=[],u3="";function c7({previousConformedValue:A=u3,previousPlaceholder:C=u3,currentCaretPosition:g=0,conformedValue:E,rawValue:B,placeholderChar:I,placeholder:Q,indexesOfPipedChars:e=V0,caretTrapIndexes:t=V0}){if(g===0||!B.length)return 0;let r=B.length,o=A.length,i=Q.length,L=E.length,s=r-o,f=s>0,q=o===0;if(s>1&&!f&&!q)return g;let x=f&&(A===E||E===Q),v=0,U,p;if(x)v=g-s;else {let l=E.toLowerCase(),b=B.toLowerCase().substr(0,g).split(u3).filter(w=>l.indexOf(w)!==-1);p=b[b.length-1];let N=C.substr(0,b.length).split(u3).filter(w=>w!==I).length,A2=Q.substr(0,b.length).split(u3).filter(w=>w!==I).length!==N,w2=C[b.length-1]!==void 0&&Q[b.length-2]!==void 0&&C[b.length-1]!==I&&C[b.length-1]!==Q[b.length-1]&&C[b.length-1]===Q[b.length-2];!f&&(A2||w2)&&N>0&&Q.indexOf(p)>-1&&B[g]!==void 0&&(U=!0,p=B[g]);let a=e.map(w=>l[w]).filter(w=>w===p).length,H=b.filter(w=>w===p).length,S=Q.substr(0,Q.indexOf(I)).split(u3).filter((w,k)=>w===p&&B[k]!==w).length+H+a+(U?1:0),J=0;for(let w=0;w<L;w++){let k=l[w];if(v=w+1,k===p&&J++,J>=S)break}}if(f){let l=v;for(let M=v;M<=i;M++)if(Q[M]===I&&(l=M),Q[M]===I||t.indexOf(M)!==-1||M===i)return l}else if(U){for(let l=v-1;l>=0;l--)if(E[l]===p||t.indexOf(l)!==-1||l===0)return l}else for(let l=v;l>=0;l--)if(Q[l-1]===I||t.indexOf(l)!==-1||l===0)return l}var h3="_",_3="function";var io=[];function $3(A=io,C=h3){if(!u7(A))throw new Error("Text-mask:convertMaskToPlaceholder; The mask property must be an array.");if(A.indexOf(C)!==-1)throw new Error(`Placeholder character must not be used as part of the mask. Please specify a character that is not present in your mask as your placeholder character.
544
544
 
545
545
  The placeholder character that was received is: ${JSON.stringify(C)}
546
546
 
547
- The mask that was received is: ${JSON.stringify(A)}`);return A.map(g=>g instanceof RegExp?C:g).join("")}function u7(A){return Array.isArray&&Array.isArray(A)||A instanceof Array}function h7(A){return typeof A=="string"||A instanceof String}function R0(A){return typeof A=="number"&&A.length===void 0&&!isNaN(A)}function AA(A){return typeof A>"u"||A===null}var no="[]";function jA(A){let C=[],g;for(;g=A.indexOf(no),g!==-1;)C.push(g),A.splice(g,1);return {maskWithoutCaretTraps:A,indexes:C}}var Lo=[],A3="";function v7(A=A3,C=Lo,g={}){if(!u7(C))if(typeof C===_3)C=C(A,g),C=jA(C).maskWithoutCaretTraps;else throw new Error("Text-mask:conformToMask; The mask property must be an array.");let{guide:E=!0,previousConformedValue:B=A3,placeholderChar:I=h3,placeholder:Q=$3(C,I),currentCaretPosition:e,keepCharPositions:t}=g,o=E===!1&&B!==void 0,r=A.length,i=B.length,L=Q.length,s=C.length,f=r-i,q=f>0,d=e+(q?-f:0),x=d+Math.abs(f);if(t===!0&&!q){let l=A3;for(let M=d;M<x;M++)Q[M]===I&&(l+=I);A=A.slice(0,d)+l+A.slice(d,r);}let v=A.split(A3).map((l,M)=>({char:l,isNew:M>=d&&M<x}));for(let l=r-1;l>=0;l--){let{char:M}=v[l];if(M!==I){let m=l>=d&&i===s;M===Q[m?l-f:l]&&v.splice(l,1);}}let U=A3,p=!1;A:for(let l=0;l<L;l++){let M=Q[l];if(M===I){if(v.length>0)for(;v.length>0;){let{char:m,isNew:b}=v.shift();if(m===I&&o!==!0){U+=I;continue A}else if(C[l].test(m)){if(t!==!0||b===!1||B===A3||E===!1||!q)U+=m;else {let N=v.length,F=null;for(let A2=0;A2<N;A2++){let w2=v[A2];if(w2.char!==I&&w2.isNew===!1)break;if(w2.char===I){F=A2;break}}F!==null?(U+=m,v.splice(F,1)):l--;}continue A}else p=!0;}o===!1&&(U+=Q.substr(l,L));break}else U+=M;}if(o&&q===!1){let l=null;for(let M=0;M<U.length;M++)Q[M]===I&&(l=M);l!==null?U=U.substr(0,l+1):U=A3;}return {conformedValue:U,meta:{someCharsRejected:p}}}var q0="",P0="none",so="object",ao=typeof navigator<"u"&&/Android/i.test(navigator.userAgent),lo=typeof requestAnimationFrame<"u"?requestAnimationFrame:setTimeout;function w7(A){let C={previousConformedValue:void 0,previousPlaceholder:void 0};return {state:C,update(g,{inputElement:E,mask:B,guide:I,pipe:Q,placeholderChar:e=h3,keepCharPositions:t=!1,showMask:o=!1}=A){if(typeof g>"u"&&(g=E.value),g===C.previousConformedValue)return;typeof B===so&&B.pipe!==void 0&&B.mask!==void 0&&(Q=B.pipe,B=B.mask);let r,i;if(B instanceof Array&&(r=$3(B,e)),B===!1)return;let L=po(g),{selectionEnd:s}=E,{previousConformedValue:f,previousPlaceholder:q}=C,d;if(typeof B===_3){if(i=B(L,{currentCaretPosition:s,previousConformedValue:f,placeholderChar:e}),i===!1)return;let{maskWithoutCaretTraps:F,indexes:A2}=jA(i);i=F,d=A2,r=$3(i,e);}else i=B;let x={previousConformedValue:f,guide:I,placeholderChar:e,pipe:Q,placeholder:r,currentCaretPosition:s,keepCharPositions:t},{conformedValue:v}=v7(L,i,x),U=typeof Q===_3,p={};U&&(p=Q(v,{rawValue:L,...x}),p===!1?p={value:f,rejected:!0}:h7(p)&&(p={value:p}));let l=U?p.value:v,M=c7({previousConformedValue:f,previousPlaceholder:q,conformedValue:l,placeholder:r,rawValue:L,currentCaretPosition:s,placeholderChar:e,indexesOfPipedChars:p.indexesOfPipedChars,caretTrapIndexes:d}),N=l===r&&M===0?o?r:q0:l;C.previousConformedValue=N,C.previousPlaceholder=r,E.value!==N&&(E.value=N,fo(E,M));}}}function fo(A,C){document.activeElement===A&&(ao?lo(()=>A.setSelectionRange(C,C,P0),0):A.setSelectionRange(C,C,P0));}function po(A){if(h7(A))return A;if(R0(A))return String(A);if(A==null)return q0;throw new Error(`The 'value' provided to Text Mask needs to be a string or a number. The value received was:
547
+ The mask that was received is: ${JSON.stringify(A)}`);return A.map(g=>g instanceof RegExp?C:g).join("")}function u7(A){return Array.isArray&&Array.isArray(A)||A instanceof Array}function h7(A){return typeof A=="string"||A instanceof String}function R0(A){return typeof A=="number"&&A.length===void 0&&!isNaN(A)}function AA(A){return typeof A>"u"||A===null}var no="[]";function jA(A){let C=[],g;for(;g=A.indexOf(no),g!==-1;)C.push(g),A.splice(g,1);return {maskWithoutCaretTraps:A,indexes:C}}var Lo=[],A3="";function v7(A=A3,C=Lo,g={}){if(!u7(C))if(typeof C===_3)C=C(A,g),C=jA(C).maskWithoutCaretTraps;else throw new Error("Text-mask:conformToMask; The mask property must be an array.");let{guide:E=!0,previousConformedValue:B=A3,placeholderChar:I=h3,placeholder:Q=$3(C,I),currentCaretPosition:e,keepCharPositions:t}=g,r=E===!1&&B!==void 0,o=A.length,i=B.length,L=Q.length,s=C.length,f=o-i,q=f>0,d=e+(q?-f:0),x=d+Math.abs(f);if(t===!0&&!q){let l=A3;for(let M=d;M<x;M++)Q[M]===I&&(l+=I);A=A.slice(0,d)+l+A.slice(d,o);}let v=A.split(A3).map((l,M)=>({char:l,isNew:M>=d&&M<x}));for(let l=o-1;l>=0;l--){let{char:M}=v[l];if(M!==I){let m=l>=d&&i===s;M===Q[m?l-f:l]&&v.splice(l,1);}}let U=A3,p=!1;A:for(let l=0;l<L;l++){let M=Q[l];if(M===I){if(v.length>0)for(;v.length>0;){let{char:m,isNew:b}=v.shift();if(m===I&&r!==!0){U+=I;continue A}else if(C[l].test(m)){if(t!==!0||b===!1||B===A3||E===!1||!q)U+=m;else {let N=v.length,F=null;for(let A2=0;A2<N;A2++){let w2=v[A2];if(w2.char!==I&&w2.isNew===!1)break;if(w2.char===I){F=A2;break}}F!==null?(U+=m,v.splice(F,1)):l--;}continue A}else p=!0;}r===!1&&(U+=Q.substr(l,L));break}else U+=M;}if(r&&q===!1){let l=null;for(let M=0;M<U.length;M++)Q[M]===I&&(l=M);l!==null?U=U.substr(0,l+1):U=A3;}return {conformedValue:U,meta:{someCharsRejected:p}}}var q0="",P0="none",so="object",ao=typeof navigator<"u"&&/Android/i.test(navigator.userAgent),lo=typeof requestAnimationFrame<"u"?requestAnimationFrame:setTimeout;function w7(A){let C={previousConformedValue:void 0,previousPlaceholder:void 0};return {state:C,update(g,{inputElement:E,mask:B,guide:I,pipe:Q,placeholderChar:e=h3,keepCharPositions:t=!1,showMask:r=!1}=A){if(typeof g>"u"&&(g=E.value),g===C.previousConformedValue)return;typeof B===so&&B.pipe!==void 0&&B.mask!==void 0&&(Q=B.pipe,B=B.mask);let o,i;if(B instanceof Array&&(o=$3(B,e)),B===!1)return;let L=po(g),{selectionEnd:s}=E,{previousConformedValue:f,previousPlaceholder:q}=C,d;if(typeof B===_3){if(i=B(L,{currentCaretPosition:s,previousConformedValue:f,placeholderChar:e}),i===!1)return;let{maskWithoutCaretTraps:F,indexes:A2}=jA(i);i=F,d=A2,o=$3(i,e);}else i=B;let x={previousConformedValue:f,guide:I,placeholderChar:e,pipe:Q,placeholder:o,currentCaretPosition:s,keepCharPositions:t},{conformedValue:v}=v7(L,i,x),U=typeof Q===_3,p={};U&&(p=Q(v,{rawValue:L,...x}),p===!1?p={value:f,rejected:!0}:h7(p)&&(p={value:p}));let l=U?p.value:v,M=c7({previousConformedValue:f,previousPlaceholder:q,conformedValue:l,placeholder:o,rawValue:L,currentCaretPosition:s,placeholderChar:e,indexesOfPipedChars:p.indexesOfPipedChars,caretTrapIndexes:d}),N=l===o&&M===0?r?o:q0:l;C.previousConformedValue=N,C.previousPlaceholder=o,E.value!==N&&(E.value=N,fo(E,M));}}}function fo(A,C){document.activeElement===A&&(ao?lo(()=>A.setSelectionRange(C,C,P0),0):A.setSelectionRange(C,C,P0));}function po(A){if(h7(A))return A;if(R0(A))return String(A);if(A==null)return q0;throw new Error(`The 'value' provided to Text Mask needs to be a string or a number. The value received was:
548
548
 
549
- ${JSON.stringify(A)}`)}var C3=class extends co__default.default.PureComponent{constructor(...C){super(...C),this.setRef=this.setRef.bind(this),this.onBlur=this.onBlur.bind(this),this.onChange=this.onChange.bind(this);}setRef(C){this.inputElement=C;}initTextMask(){let{props:C,props:{value:g}}=this;this.textMaskInputElement=w7({inputElement:this.inputElement,...C}),this.textMaskInputElement.update(g);}componentDidMount(){this.initTextMask();}componentDidUpdate(C){let{value:g,pipe:E,mask:B,guide:I,placeholderChar:Q,showMask:e}=this.props,t={guide:I,placeholderChar:Q,showMask:e},o=typeof E=="function"&&typeof C.pipe=="function"?E.toString()!==C.pipe.toString():AA(E)&&!AA(C.pipe)||!AA(E)&&AA(C.pipe),r=B.toString()!==C.mask.toString(),i=Object.keys(t).some(s=>t[s]!==C[s])||r||o;(g!==this.inputElement.value||i)&&this.initTextMask();}render(){let{render:C,...g}=this.props;return delete g.mask,delete g.guide,delete g.pipe,delete g.placeholderChar,delete g.keepCharPositions,delete g.value,delete g.onBlur,delete g.onChange,delete g.showMask,C(this.setRef,{onBlur:this.onBlur,onChange:this.onChange,defaultValue:this.props.value,...g})}onChange(C){this.textMaskInputElement.update(),typeof this.props.onChange=="function"&&this.props.onChange(C);}onBlur(C){typeof this.props.onBlur=="function"&&this.props.onBlur(C);}};C3.propTypes={mask:L2.default.oneOfType([L2.default.array,L2.default.func,L2.default.bool,L2.default.shape({mask:L2.default.oneOfType([L2.default.array,L2.default.func]),pipe:L2.default.func})]).isRequired,guide:L2.default.bool,value:L2.default.oneOfType([L2.default.string,L2.default.number]),pipe:L2.default.func,placeholderChar:L2.default.string,keepCharPositions:L2.default.bool,showMask:L2.default.bool};C3.defaultProps={render:(A,C)=>jsxRuntime.jsx("input",{ref:A,...C})};var {TextArea:wo}=antd.Input,x0=T__default.default(web.animated.div)`
549
+ ${JSON.stringify(A)}`)}var C3=class extends co__default.default.PureComponent{constructor(...C){super(...C),this.setRef=this.setRef.bind(this),this.onBlur=this.onBlur.bind(this),this.onChange=this.onChange.bind(this);}setRef(C){this.inputElement=C;}initTextMask(){let{props:C,props:{value:g}}=this;this.textMaskInputElement=w7({inputElement:this.inputElement,...C}),this.textMaskInputElement.update(g);}componentDidMount(){this.initTextMask();}componentDidUpdate(C){let{value:g,pipe:E,mask:B,guide:I,placeholderChar:Q,showMask:e}=this.props,t={guide:I,placeholderChar:Q,showMask:e},r=typeof E=="function"&&typeof C.pipe=="function"?E.toString()!==C.pipe.toString():AA(E)&&!AA(C.pipe)||!AA(E)&&AA(C.pipe),o=B.toString()!==C.mask.toString(),i=Object.keys(t).some(s=>t[s]!==C[s])||o||r;(g!==this.inputElement.value||i)&&this.initTextMask();}render(){let{render:C,...g}=this.props;return delete g.mask,delete g.guide,delete g.pipe,delete g.placeholderChar,delete g.keepCharPositions,delete g.value,delete g.onBlur,delete g.onChange,delete g.showMask,C(this.setRef,{onBlur:this.onBlur,onChange:this.onChange,defaultValue:this.props.value,...g})}onChange(C){this.textMaskInputElement.update(),typeof this.props.onChange=="function"&&this.props.onChange(C);}onBlur(C){typeof this.props.onBlur=="function"&&this.props.onBlur(C);}};C3.propTypes={mask:L2.default.oneOfType([L2.default.array,L2.default.func,L2.default.bool,L2.default.shape({mask:L2.default.oneOfType([L2.default.array,L2.default.func]),pipe:L2.default.func})]).isRequired,guide:L2.default.bool,value:L2.default.oneOfType([L2.default.string,L2.default.number]),pipe:L2.default.func,placeholderChar:L2.default.string,keepCharPositions:L2.default.bool,showMask:L2.default.bool};C3.defaultProps={render:(A,C)=>jsxRuntime.jsx("input",{ref:A,...C})};var {TextArea:wo}=antd.Input,x0=T__default.default(web.animated.div)`
550
550
  position: absolute;
551
551
  display: block;
552
552
  width: 45px;
@@ -681,7 +681,7 @@ The mask that was received is: ${JSON.stringify(A)}`);return A.map(g=>g instance
681
681
  }
682
682
  `,Po=T__default.default(web.animated.div)`
683
683
  background-color: #fefefe;
684
- `,m7=({children:A,isOpen:C,onClose:g=()=>null,width:E=560,centered:B=!0,style:I={},styles:Q={},bodyStyle:e={},className:t="",...o})=>jsxRuntime.jsx(Ro,{centered:B,open:C,onCancel:g,footer:!1,width:E,style:I,styles:{body:e,...Q},wrapClassName:t,...o,children:jsxRuntime.jsx(Po,{children:A})});var xo=({modalContent:A,modalLabel:C=void 0,modalButtonText:g="Go Back"})=>{let[E,B]=co.useState(!1);return jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsx(F0,{onClick:()=>B(!0),children:C?jsxRuntime.jsx(J0,{children:`(${C})`}):jsxRuntime.jsx(j.CircleExclamation,{})}),jsxRuntime.jsx(m7,{isOpen:E,onClose:()=>B(!1),footer:jsxRuntime.jsx(P2.Secondary,{onClick:()=>B(!1),children:g}),children:jsxRuntime.jsx("div",{style:{marginTop:"2rem"},children:A})})]})},y0=xo;var Mo=({label:A=null,isLabelBold:C=!1,required:g=!1,details:E=null,helpContent:B=void 0,helpLabel:I=void 0})=>{if(!A)return null;let Q=typeof E=="string"?jsxRuntime.jsx(k0,{size:"lg",children:E}):E;return jsxRuntime.jsxs(X0,{children:[jsxRuntime.jsxs(b0,{className:"input-label",size:"lg",isLabelBold:C,children:[A,g&&jsxRuntime.jsx("span",{style:{color:"#DA4D54"},children:"*"}),B&&jsxRuntime.jsx(y0,{modalContent:B,modalLabel:I})]}),Q]})},G=Mo;var D0=(Q=>(Q.Phone="phone",Q.Currency="currency",Q.Email="email",Q.Zipcode="zipcode",Q.SSN="SSN",Q.Zip="SSN",Q))(D0||{});var j0=A=>{let C;switch(A){case"zipcode":C=[/\d/,/\d/,/\d/,/\d/,/\d/];break;case"phone":C=["(",/[1-9]/,/\d/,/\d/,")"," ",/\d/,/\d/,/\d/,"-",/\d/,/\d/,/\d/,/\d/];break;case"currency":C=textMaskAddons.createNumberMask({prefix:"$"});break;case"email":C=textMaskAddons.emailMask;break;default:C=A;}return C};var Jo=({name:A,label:C=null,details:g=null,type:E="text",formOptions:B={},previewOnly:I=!1,textArea:Q=!1,marginBottom:e=void 0,isLabelBold:t=!0,helpContent:o=void 0,helpLabel:r=void 0,format:i="",errorMessage:L="This field is required",...s})=>{let{control:f,formState:{errors:q}}=reactHookForm.useFormContext(),d=!!reactHookForm.get(q,A),x=q?.[A]?.message?.toString()||L,v=({field:U})=>Q?jsxRuntime.jsx(S0,{...U,marginBottom:e,error:d,disabled:I,...s}):i?jsxRuntime.jsx(H0,{...U,mask:j0(i),guide:!1,disabled:I,type:E,error:d,...s}):jsxRuntime.jsx(U0,{...U,disabled:I,type:E,error:d,...s});return jsxRuntime.jsxs("div",{style:{width:"100%"},children:[jsxRuntime.jsx(G,{label:C,isLabelBold:t,required:!!B.required,details:g,helpLabel:r,helpContent:o}),jsxRuntime.jsxs(M0,{marginBottom:e,children:[jsxRuntime.jsx(reactHookForm.Controller,{render:v,name:A,rules:B,control:f}),jsxRuntime.jsx(x0,{children:d&&jsxRuntime.jsx(j.ErrorExclamation,{})})]}),d&&jsxRuntime.jsx(_,{text:x,includeIcon:!1})]})},m3=Jo;T__default.default.div`
684
+ `,m7=({children:A,isOpen:C,onClose:g=()=>null,width:E=560,centered:B=!0,style:I={},styles:Q={},bodyStyle:e={},className:t="",...r})=>jsxRuntime.jsx(Ro,{centered:B,open:C,onCancel:g,footer:!1,width:E,style:I,styles:{body:e,...Q},wrapClassName:t,...r,children:jsxRuntime.jsx(Po,{children:A})});var xo=({modalContent:A,modalLabel:C=void 0,modalButtonText:g="Go Back"})=>{let[E,B]=co.useState(!1);return jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsx(F0,{onClick:()=>B(!0),children:C?jsxRuntime.jsx(J0,{children:`(${C})`}):jsxRuntime.jsx(j.CircleExclamation,{})}),jsxRuntime.jsx(m7,{isOpen:E,onClose:()=>B(!1),footer:jsxRuntime.jsx(P2.Secondary,{onClick:()=>B(!1),children:g}),children:jsxRuntime.jsx("div",{style:{marginTop:"2rem"},children:A})})]})},y0=xo;var Mo=({label:A=null,isLabelBold:C=!1,required:g=!1,details:E=null,helpContent:B=void 0,helpLabel:I=void 0})=>{if(!A)return null;let Q=typeof E=="string"?jsxRuntime.jsx(k0,{size:"lg",children:E}):E;return jsxRuntime.jsxs(X0,{children:[jsxRuntime.jsxs(b0,{className:"input-label",size:"lg",isLabelBold:C,children:[A,g&&jsxRuntime.jsx("span",{style:{color:"#DA4D54"},children:"*"}),B&&jsxRuntime.jsx(y0,{modalContent:B,modalLabel:I})]}),Q]})},G=Mo;var D0=(Q=>(Q.Phone="phone",Q.Currency="currency",Q.Email="email",Q.Zipcode="zipcode",Q.SSN="SSN",Q.Zip="SSN",Q))(D0||{});var j0=A=>{let C;switch(A){case"zipcode":C=[/\d/,/\d/,/\d/,/\d/,/\d/];break;case"phone":C=["(",/[1-9]/,/\d/,/\d/,")"," ",/\d/,/\d/,/\d/,"-",/\d/,/\d/,/\d/,/\d/];break;case"currency":C=textMaskAddons.createNumberMask({prefix:"$"});break;case"email":C=textMaskAddons.emailMask;break;default:C=A;}return C};var Jo=({name:A,label:C=null,details:g=null,type:E="text",formOptions:B={},previewOnly:I=!1,textArea:Q=!1,marginBottom:e=void 0,isLabelBold:t=!0,helpContent:r=void 0,helpLabel:o=void 0,format:i="",errorMessage:L="This field is required",...s})=>{let{control:f,formState:{errors:q}}=reactHookForm.useFormContext(),d=!!reactHookForm.get(q,A),x=q?.[A]?.message?.toString()||L,v=({field:U})=>Q?jsxRuntime.jsx(S0,{...U,marginBottom:e,error:d,disabled:I,...s}):i?jsxRuntime.jsx(H0,{...U,mask:j0(i),guide:!1,disabled:I,type:E,error:d,...s}):jsxRuntime.jsx(U0,{...U,disabled:I,type:E,error:d,...s});return jsxRuntime.jsxs("div",{style:{width:"100%"},children:[jsxRuntime.jsx(G,{label:C,isLabelBold:t,required:!!B.required,details:g,helpLabel:o,helpContent:r}),jsxRuntime.jsxs(M0,{marginBottom:e,children:[jsxRuntime.jsx(reactHookForm.Controller,{render:v,name:A,rules:B,control:f}),jsxRuntime.jsx(x0,{children:d&&jsxRuntime.jsx(j.ErrorExclamation,{})})]}),d&&jsxRuntime.jsx(_,{text:x,includeIcon:!1})]})},m3=Jo;T__default.default.div`
685
685
  margin-bottom: 32px;
686
686
  `;var Y0=T__default.default.div`
687
687
  display: ${A=>A.isColumns?"grid":"flex"};
@@ -888,7 +888,7 @@ The mask that was received is: ${JSON.stringify(A)}`);return A.map(g=>g instance
888
888
  height: 100%;
889
889
  border-radius: 4px;
890
890
  cursor: pointer;
891
- `;function Oo(){if(typeof window<"u"){let{innerWidth:A,innerHeight:C}=window;return {innerWidth:A,innerHeight:C}}else return {innerWidth:0,innerHeight:0}}var TA={MOBILE:768,TABLET:1024},$0=()=>{let A=Oo();return {isMobile:A.innerWidth<=TA.MOBILE,isTablet:A.innerWidth>TA.MOBILE&&A.innerWidth<=TA.TABLET,isLaptop:A.innerWidth>TA.TABLET,innerWidth:A.innerWidth,windowSize:A}},Do=()=>{let[A,C]=co.useState($0()),g=co.useCallback(()=>{let E=$0();C(E);},[]);return co.useEffect(()=>{if(typeof window<"u")return window.addEventListener("resize",g),()=>window.removeEventListener("resize",g)},[]),A},AC=Do;var YA=({option:A,name:C,formOptions:g={},previewOnly:E=!1,errorMessage:B=void 0,inGroup:I=!1,...Q})=>{let{register:e,formState:{errors:t}}=reactHookForm.useFormContext(),o=!!reactHookForm.get(t,C),r=reactHookForm.get(t,C)?.message?.toString()||B;return jsxRuntime.jsxs(Z0,{children:[jsxRuntime.jsxs(antd.Flex,{gap:".5rem",children:[jsxRuntime.jsx(W0,{type:"checkbox",value:A.value,hasError:o,previewOnly:E,disabled:!!Q?.disabled||E,...e(C,g),...Q}),jsxRuntime.jsx("label",{htmlFor:C,children:jsxRuntime.jsx(h.Body,{children:A.label})})]}),o&&!I&&jsxRuntime.jsx(_,{text:r,includeIcon:!1})]})},CC=({name:A,label:C=void 0,details:g="",options:E=[],inline:B=!1,previewOnly:I=!1,other:Q={},errorMessage:e=void 0,formOptions:t={},...o})=>{let{formState:{errors:r}}=reactHookForm.useFormContext(),i=!!r?.[A];return jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsx(G,{label:C,isLabelBold:!0,required:!!t.required,details:g}),jsxRuntime.jsxs(Y0,{inline:B,isColumns:E.length>5,children:[E.map(L=>jsxRuntime.jsx(YA,{name:A,inGroup:!0,option:L,hasError:i,formOptions:t,previewOnly:I,...o},`${A}-${L.value}`)),Q.label&&jsxRuntime.jsxs(G0,{children:[jsxRuntime.jsx(YA,{option:{label:Q.label,value:"other"},name:A,inGroup:!0,formOptions:t,previewOnly:I,...o},A),jsxRuntime.jsx(m3,{name:`${A}_other`,placeholder:"Other",...o,previewOnly:I})]})]}),i&&jsxRuntime.jsx(_,{text:e,includeIcon:!1})]})},Zo=({option:A,name:C,previewOnly:g=!1,errorMessage:E=void 0,inGroup:B=!1,checked:I,field:Q,hasError:e=!1,...t})=>{let{isMobile:o}=AC(),[r,i]=co.useState(!1);return jsxRuntime.jsxs(k5.Illustration,{selected:I,onMouseEnter:()=>i(!0),onMouseLeave:()=>i(!1),active:I||r&&!o,illustration:A.illustration,children:[jsxRuntime.jsx(_0,{type:"checkbox",value:A.value,disabled:!!t?.disabled||g,onChange:L=>{if(!I){Q.onChange([...Q.value,L.target.value]);return}Q.onChange((Q.value??[]).filter(s=>s!==L.target.value));},...t}),jsxRuntime.jsx("label",{htmlFor:C,children:jsxRuntime.jsx(h.Body,{children:A.label})}),e&&!B&&jsxRuntime.jsx(_,{text:E,includeIcon:!1})]})},gC=({name:A,label:C=void 0,details:g="",options:E=[],previewOnly:B=!1,errorMessage:I=void 0,formOptions:Q={},...e})=>{let{control:t,formState:{errors:o}}=reactHookForm.useFormContext(),r=!!reactHookForm.get(o,A);return jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsx(G,{label:C,isLabelBold:!0,required:!!Q.required,details:g}),jsxRuntime.jsx(N0,{itemNumber:E.length,children:jsxRuntime.jsx(reactHookForm.Controller,{name:A,control:t,rules:{...Q},defaultValue:[],render:({field:i})=>jsxRuntime.jsx(jsxRuntime.Fragment,{children:E.map(L=>jsxRuntime.jsx(Zo,{name:A,inGroup:!0,field:i,option:L,checked:(i.value??[]).some(s=>s===L.value),hasError:r,previewOnly:B,...e},`${A}-${L.value}`))})})}),r&&jsxRuntime.jsx(_,{text:I,includeIcon:!1})]})};var No=({formMethods:A=null,formOptions:C={},onSubmit:g,children:E,className:B=""})=>{let I={mode:"onBlur",...C},Q=reactHookForm.useForm(I),e=A||Q,t=o=>g(o);return jsxRuntime.jsx(reactHookForm.FormProvider,{...e,children:jsxRuntime.jsx("form",{className:B,onSubmit:e.handleSubmit(t),children:E})})},BC=No;T__default.default(web.animated.div)`
891
+ `;function Oo(){if(typeof window<"u"){let{innerWidth:A,innerHeight:C}=window;return {innerWidth:A,innerHeight:C}}else return {innerWidth:0,innerHeight:0}}var TA={MOBILE:768,TABLET:1024},$0=()=>{let A=Oo();return {isMobile:A.innerWidth<=TA.MOBILE,isTablet:A.innerWidth>TA.MOBILE&&A.innerWidth<=TA.TABLET,isLaptop:A.innerWidth>TA.TABLET,innerWidth:A.innerWidth,windowSize:A}},Do=()=>{let[A,C]=co.useState($0()),g=co.useCallback(()=>{let E=$0();C(E);},[]);return co.useEffect(()=>{if(typeof window<"u")return window.addEventListener("resize",g),()=>window.removeEventListener("resize",g)},[]),A},AC=Do;var YA=({option:A,name:C,formOptions:g={},previewOnly:E=!1,errorMessage:B=void 0,inGroup:I=!1,...Q})=>{let{register:e,formState:{errors:t}}=reactHookForm.useFormContext(),r=!!reactHookForm.get(t,C),o=reactHookForm.get(t,C)?.message?.toString()||B;return jsxRuntime.jsxs(Z0,{children:[jsxRuntime.jsxs(antd.Flex,{gap:".5rem",children:[jsxRuntime.jsx(W0,{type:"checkbox",value:A.value,hasError:r,previewOnly:E,disabled:!!Q?.disabled||E,...e(C,g),...Q}),jsxRuntime.jsx("label",{htmlFor:C,children:jsxRuntime.jsx(h.Body,{children:A.label})})]}),r&&!I&&jsxRuntime.jsx(_,{text:o,includeIcon:!1})]})},CC=({name:A,label:C=void 0,details:g="",options:E=[],inline:B=!1,previewOnly:I=!1,other:Q={},errorMessage:e=void 0,formOptions:t={},...r})=>{let{formState:{errors:o}}=reactHookForm.useFormContext(),i=!!o?.[A];return jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsx(G,{label:C,isLabelBold:!0,required:!!t.required,details:g}),jsxRuntime.jsxs(Y0,{inline:B,isColumns:E.length>5,children:[E.map(L=>jsxRuntime.jsx(YA,{name:A,inGroup:!0,option:L,hasError:i,formOptions:t,previewOnly:I,...r},`${A}-${L.value}`)),Q.label&&jsxRuntime.jsxs(G0,{children:[jsxRuntime.jsx(YA,{option:{label:Q.label,value:"other"},name:A,inGroup:!0,formOptions:t,previewOnly:I,...r},A),jsxRuntime.jsx(m3,{name:`${A}_other`,placeholder:"Other",...r,previewOnly:I})]})]}),i&&jsxRuntime.jsx(_,{text:e,includeIcon:!1})]})},Zo=({option:A,name:C,previewOnly:g=!1,errorMessage:E=void 0,inGroup:B=!1,checked:I,field:Q,hasError:e=!1,...t})=>{let{isMobile:r}=AC(),[o,i]=co.useState(!1);return jsxRuntime.jsxs(k5.Illustration,{selected:I,onMouseEnter:()=>i(!0),onMouseLeave:()=>i(!1),active:I||o&&!r,illustration:A.illustration,children:[jsxRuntime.jsx(_0,{type:"checkbox",value:A.value,disabled:!!t?.disabled||g,onChange:L=>{if(!I){Q.onChange([...Q.value,L.target.value]);return}Q.onChange((Q.value??[]).filter(s=>s!==L.target.value));},...t}),jsxRuntime.jsx("label",{htmlFor:C,children:jsxRuntime.jsx(h.Body,{children:A.label})}),e&&!B&&jsxRuntime.jsx(_,{text:E,includeIcon:!1})]})},gC=({name:A,label:C=void 0,details:g="",options:E=[],previewOnly:B=!1,errorMessage:I=void 0,formOptions:Q={},...e})=>{let{control:t,formState:{errors:r}}=reactHookForm.useFormContext(),o=!!reactHookForm.get(r,A);return jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsx(G,{label:C,isLabelBold:!0,required:!!Q.required,details:g}),jsxRuntime.jsx(N0,{itemNumber:E.length,children:jsxRuntime.jsx(reactHookForm.Controller,{name:A,control:t,rules:{...Q},defaultValue:[],render:({field:i})=>jsxRuntime.jsx(jsxRuntime.Fragment,{children:E.map(L=>jsxRuntime.jsx(Zo,{name:A,inGroup:!0,field:i,option:L,checked:(i.value??[]).some(s=>s===L.value),hasError:o,previewOnly:B,...e},`${A}-${L.value}`))})})}),o&&jsxRuntime.jsx(_,{text:I,includeIcon:!1})]})};var No=({formMethods:A=null,formOptions:C={},onSubmit:g,children:E,className:B=""})=>{let I={mode:"onBlur",...C},Q=reactHookForm.useForm(I),e=A||Q,t=r=>g(r);return jsxRuntime.jsx(reactHookForm.FormProvider,{...e,children:jsxRuntime.jsx("form",{className:B,onSubmit:e.handleSubmit(t),children:E})})},BC=No;T__default.default(web.animated.div)`
892
892
  position: absolute;
893
893
  display: block;
894
894
  width: 45px;
@@ -972,7 +972,7 @@ The mask that was received is: ${JSON.stringify(A)}`);return A.map(g=>g instance
972
972
  align-items: center;
973
973
  justify-content: center;
974
974
  padding-right: 1rem;
975
- `;var aC=({color:A="#5A5A5A",size:C=21})=>jsxRuntime.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:C,height:C,viewBox:"0 0 21 21",fill:"none",children:jsxRuntime.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.19934 1.57751L2.02083 2.75603L5.4083 6.14349C5.09278 6.40498 4.78053 6.6858 4.47171 6.98444C3.7807 7.65269 3.15554 8.36611 2.60521 9.07983C2.27313 9.51051 2.03735 9.84931 1.90826 10.0511L1.62109 10.5001L1.90826 10.9491C2.03735 11.151 2.27313 11.4898 2.60521 11.9205C3.15554 12.6342 3.7807 13.3476 4.47171 14.0159C6.49722 15.9746 8.67067 17.1668 10.9436 17.1668C12.3777 17.1668 13.7721 16.6922 15.1148 15.85L18.6875 19.4227L19.866 18.2442L3.19934 1.57751ZM13.8974 14.6326L12.6379 13.3731C12.1421 13.6656 11.5639 13.8334 10.9466 13.8334C9.10567 13.8334 7.61328 12.341 7.61328 10.5C7.61328 9.88272 7.78109 9.30459 8.07359 8.80878L6.5933 7.3285C6.2705 7.58882 5.94924 7.87411 5.63032 8.18252C5.00182 8.79032 4.42895 9.44408 3.92508 10.0975C3.81626 10.2387 3.7157 10.3733 3.62376 10.5001C3.7157 10.627 3.81626 10.7616 3.92508 10.9028C4.42895 11.5562 5.00182 12.21 5.63032 12.8178C7.37487 14.5048 9.18939 15.5001 10.9436 15.5001C11.9171 15.5001 12.9091 15.1937 13.8974 14.6326ZM9.33572 10.0709C9.29934 10.2078 9.27995 10.3517 9.27995 10.5C9.27995 11.4205 10.0261 12.1667 10.9466 12.1667C11.095 12.1667 11.2388 12.1473 11.3758 12.1109L9.33572 10.0709ZM17.6889 13.7426L16.5104 12.5641C17.0388 12.0298 17.5246 11.4662 17.959 10.9027C18.0679 10.7616 18.1684 10.6269 18.2604 10.5001C18.1684 10.3733 18.0679 10.2387 17.959 10.0975C17.4552 9.44405 16.8823 8.79029 16.2538 8.1825C14.5093 6.49543 12.6947 5.50012 10.9405 5.50012C10.5052 5.50012 10.0663 5.56139 9.6256 5.6793L8.30729 4.36099C9.16766 4.01794 10.0464 3.83346 10.9405 3.83346C13.2135 3.83346 15.3869 5.02564 17.4124 6.98441C18.1034 7.65266 18.7286 8.36609 19.2789 9.07981C19.611 9.51049 19.8468 9.84928 19.9759 10.0511L20.263 10.5001L19.9759 10.9491C19.8468 11.151 19.611 11.4898 19.2789 11.9204C18.8029 12.5377 18.271 13.1548 17.6889 13.7426Z",fill:A})});var lC=({color:A="#5A5A5A",size:C=21})=>jsxRuntime.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:C,height:C*.65,viewBox:"0 0 20 13",fill:"none",children:jsxRuntime.jsx("path",{d:"M9.94792 10.3334C10.9896 10.3334 11.875 9.96879 12.6042 9.23962C13.3333 8.51046 13.6979 7.62504 13.6979 6.58337C13.6979 5.54171 13.3333 4.65629 12.6042 3.92712C11.875 3.19796 10.9896 2.83337 9.94792 2.83337C8.90625 2.83337 8.02083 3.19796 7.29167 3.92712C6.5625 4.65629 6.19792 5.54171 6.19792 6.58337C6.19792 7.62504 6.5625 8.51046 7.29167 9.23962C8.02083 9.96879 8.90625 10.3334 9.94792 10.3334ZM9.94792 8.83337C9.32292 8.83337 8.79167 8.61462 8.35417 8.17712C7.91667 7.73962 7.69792 7.20837 7.69792 6.58337C7.69792 5.95837 7.91667 5.42712 8.35417 4.98962C8.79167 4.55212 9.32292 4.33337 9.94792 4.33337C10.5729 4.33337 11.1042 4.55212 11.5417 4.98962C11.9792 5.42712 12.1979 5.95837 12.1979 6.58337C12.1979 7.20837 11.9792 7.73962 11.5417 8.17712C11.1042 8.61462 10.5729 8.83337 9.94792 8.83337ZM9.94792 12.8334C7.92014 12.8334 6.07292 12.2674 4.40625 11.1355C2.73958 10.0035 1.53125 8.48615 0.78125 6.58337C1.53125 4.6806 2.73958 3.16324 4.40625 2.03129C6.07292 0.899346 7.92014 0.333374 9.94792 0.333374C11.9757 0.333374 13.8229 0.899346 15.4896 2.03129C17.1562 3.16324 18.3646 4.6806 19.1146 6.58337C18.3646 8.48615 17.1562 10.0035 15.4896 11.1355C13.8229 12.2674 11.9757 12.8334 9.94792 12.8334ZM9.94792 11.1667C11.5174 11.1667 12.9583 10.7535 14.2708 9.92712C15.5833 9.10073 16.5868 7.98615 17.2813 6.58337C16.5868 5.1806 15.5833 4.06601 14.2708 3.23962C12.9583 2.41323 11.5174 2.00004 9.94792 2.00004C8.37847 2.00004 6.9375 2.41323 5.625 3.23962C4.3125 4.06601 3.30903 5.1806 2.61458 6.58337C3.30903 7.98615 4.3125 9.10073 5.625 9.92712C6.9375 10.7535 8.37847 11.1667 9.94792 11.1667Z",fill:A})});var pt=({previewOnly:A=!1,format:C,onAccept:g=void 0,...E})=>{let[B,I]=co.useState(!1),Q=E?.status==="error",t=["SSN"].some(r=>r===C),o=(()=>{switch(C){case"phone":return "(000) 000-0000";case"email":return /^\S*@?\S*$/;case"SSN":return [{mask:B?"000-00-0000":"XXX-XX-0000",definitions:{X:{mask:"0",displayChar:"\u25CF",placeholderChar:"#"}},lazy:!1,overwrite:"shift"}];case"SSN":return "00000";case"currency":return [{mask:"$num",lazy:!1,blocks:{num:{mask:Number,scale:2,thousandsSeparator:",",padFractionalZeros:!0,radix:".",mapToRadix:["."]}}}];default:return ""}})();return jsxRuntime.jsxs(nC,{children:[jsxRuntime.jsx(iC,{format:C,mask:o,unmask:!0,onAccept:g,disabled:A,error:Q,...E}),Q&&!t&&!!E?.suffix&&jsxRuntime.jsx(sC,{children:E.suffix}),t&&jsxRuntime.jsx(LC,{onClick:()=>I(!B),children:B?jsxRuntime.jsx(lC,{}):jsxRuntime.jsx(aC,{})})]})},fC=pt;var H1={Area:eC,Text:oC,Number:tC,Password:rC,Mask:fC};var dC=A=>{let C;switch(A){case"zipcode":C={value:/\d{5}/,message:"Invalid zipcode"};break;case"phone":C={value:/\d{10}/,message:"Invalid phone number"};break;case"SSN":C={value:/\d{9}/,message:"Invalid social security number"};break;case"currency":C={value:/\d*(?:\.\d{2})?/,message:"Invalid amount"};break;case"email":C={value:/[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}/,message:"Invalid email address"};break;default:C=A;}return C};var vt=({name:A,label:C=null,details:g=null,formOptions:E={},pattern:B=void 0,format:I=void 0,textArea:Q=!1,password:e=!1,isLabelBold:t=!0,errorMessage:o="This field is required",disableErrorState:r=!1,...i})=>{let{control:L,formState:{errors:s}}=reactHookForm.useFormContext(),f=r?!1:!!reactHookForm.get(s,A),q=reactHookForm.get(s,A)?.message?.toString()||o,d=({field:v})=>Q?jsxRuntime.jsx(H1.Area,{status:f?"error":"",suffix:f?jsxRuntime.jsx(j.ErrorExclamation,{}):null,...i,...v}):I?jsxRuntime.jsx(H1.Mask,{name:v.name,onBlur:v.onBlur,format:I,onAccept:U=>v.onChange(U),ref:v.ref,value:v.value,status:f?"error":"",suffix:f?jsxRuntime.jsx(j.ErrorExclamation,{}):null,...i}):e?jsxRuntime.jsx(H1.Password,{status:f?"error":"",suffix:f?jsxRuntime.jsx(j.ErrorExclamation,{}):null,...i,...v}):jsxRuntime.jsx(H1.Text,{status:f?"error":"",suffix:f?jsxRuntime.jsx(j.ErrorExclamation,{}):null,...i,...v}),x=B?{pattern:dC(B)}:{};return jsxRuntime.jsxs("div",{style:{width:"100%"},children:[jsxRuntime.jsx(G,{label:C,isLabelBold:t,required:!!E.required,details:g}),jsxRuntime.jsx(QC,{children:jsxRuntime.jsx(reactHookForm.Controller,{render:d,name:A,rules:{...x,...E},control:L})}),f&&jsxRuntime.jsx(_,{text:q,includeIcon:!1})]})},GA=vt;var Rt=({label:A=null,isLabelBold:C=!0,name:g,disabled:E=!1,defaultValue:B=void 0,formOptions:I={},errorMessage:Q="This field is required.",options:e={},style:t={},...o})=>{let{control:r,formState:{errors:i}}=reactHookForm.useFormContext(),L=!!reactHookForm.get(i,g),s=reactHookForm.get(i,g)?.message?.toString()||Q;return jsxRuntime.jsxs("div",{style:t,children:[jsxRuntime.jsx(G,{label:A,isLabelBold:C,required:!!I.required}),jsxRuntime.jsx(reactHookForm.Controller,{render:({field:f})=>jsxRuntime.jsx(H1.Number,{disabled:E,status:L?"error":"",suffix:L?jsxRuntime.jsx(j.ErrorExclamation,{}):null,...o,...f}),name:g,defaultValue:B,rules:I,control:r,...e}),L&&jsxRuntime.jsx(_,{text:s,includeIcon:!1})]})},uC=Rt;var hC=T__default.default.div`
975
+ `;var aC=({color:A="#5A5A5A",size:C=21})=>jsxRuntime.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:C,height:C,viewBox:"0 0 21 21",fill:"none",children:jsxRuntime.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.19934 1.57751L2.02083 2.75603L5.4083 6.14349C5.09278 6.40498 4.78053 6.6858 4.47171 6.98444C3.7807 7.65269 3.15554 8.36611 2.60521 9.07983C2.27313 9.51051 2.03735 9.84931 1.90826 10.0511L1.62109 10.5001L1.90826 10.9491C2.03735 11.151 2.27313 11.4898 2.60521 11.9205C3.15554 12.6342 3.7807 13.3476 4.47171 14.0159C6.49722 15.9746 8.67067 17.1668 10.9436 17.1668C12.3777 17.1668 13.7721 16.6922 15.1148 15.85L18.6875 19.4227L19.866 18.2442L3.19934 1.57751ZM13.8974 14.6326L12.6379 13.3731C12.1421 13.6656 11.5639 13.8334 10.9466 13.8334C9.10567 13.8334 7.61328 12.341 7.61328 10.5C7.61328 9.88272 7.78109 9.30459 8.07359 8.80878L6.5933 7.3285C6.2705 7.58882 5.94924 7.87411 5.63032 8.18252C5.00182 8.79032 4.42895 9.44408 3.92508 10.0975C3.81626 10.2387 3.7157 10.3733 3.62376 10.5001C3.7157 10.627 3.81626 10.7616 3.92508 10.9028C4.42895 11.5562 5.00182 12.21 5.63032 12.8178C7.37487 14.5048 9.18939 15.5001 10.9436 15.5001C11.9171 15.5001 12.9091 15.1937 13.8974 14.6326ZM9.33572 10.0709C9.29934 10.2078 9.27995 10.3517 9.27995 10.5C9.27995 11.4205 10.0261 12.1667 10.9466 12.1667C11.095 12.1667 11.2388 12.1473 11.3758 12.1109L9.33572 10.0709ZM17.6889 13.7426L16.5104 12.5641C17.0388 12.0298 17.5246 11.4662 17.959 10.9027C18.0679 10.7616 18.1684 10.6269 18.2604 10.5001C18.1684 10.3733 18.0679 10.2387 17.959 10.0975C17.4552 9.44405 16.8823 8.79029 16.2538 8.1825C14.5093 6.49543 12.6947 5.50012 10.9405 5.50012C10.5052 5.50012 10.0663 5.56139 9.6256 5.6793L8.30729 4.36099C9.16766 4.01794 10.0464 3.83346 10.9405 3.83346C13.2135 3.83346 15.3869 5.02564 17.4124 6.98441C18.1034 7.65266 18.7286 8.36609 19.2789 9.07981C19.611 9.51049 19.8468 9.84928 19.9759 10.0511L20.263 10.5001L19.9759 10.9491C19.8468 11.151 19.611 11.4898 19.2789 11.9204C18.8029 12.5377 18.271 13.1548 17.6889 13.7426Z",fill:A})});var lC=({color:A="#5A5A5A",size:C=21})=>jsxRuntime.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:C,height:C*.65,viewBox:"0 0 20 13",fill:"none",children:jsxRuntime.jsx("path",{d:"M9.94792 10.3334C10.9896 10.3334 11.875 9.96879 12.6042 9.23962C13.3333 8.51046 13.6979 7.62504 13.6979 6.58337C13.6979 5.54171 13.3333 4.65629 12.6042 3.92712C11.875 3.19796 10.9896 2.83337 9.94792 2.83337C8.90625 2.83337 8.02083 3.19796 7.29167 3.92712C6.5625 4.65629 6.19792 5.54171 6.19792 6.58337C6.19792 7.62504 6.5625 8.51046 7.29167 9.23962C8.02083 9.96879 8.90625 10.3334 9.94792 10.3334ZM9.94792 8.83337C9.32292 8.83337 8.79167 8.61462 8.35417 8.17712C7.91667 7.73962 7.69792 7.20837 7.69792 6.58337C7.69792 5.95837 7.91667 5.42712 8.35417 4.98962C8.79167 4.55212 9.32292 4.33337 9.94792 4.33337C10.5729 4.33337 11.1042 4.55212 11.5417 4.98962C11.9792 5.42712 12.1979 5.95837 12.1979 6.58337C12.1979 7.20837 11.9792 7.73962 11.5417 8.17712C11.1042 8.61462 10.5729 8.83337 9.94792 8.83337ZM9.94792 12.8334C7.92014 12.8334 6.07292 12.2674 4.40625 11.1355C2.73958 10.0035 1.53125 8.48615 0.78125 6.58337C1.53125 4.6806 2.73958 3.16324 4.40625 2.03129C6.07292 0.899346 7.92014 0.333374 9.94792 0.333374C11.9757 0.333374 13.8229 0.899346 15.4896 2.03129C17.1562 3.16324 18.3646 4.6806 19.1146 6.58337C18.3646 8.48615 17.1562 10.0035 15.4896 11.1355C13.8229 12.2674 11.9757 12.8334 9.94792 12.8334ZM9.94792 11.1667C11.5174 11.1667 12.9583 10.7535 14.2708 9.92712C15.5833 9.10073 16.5868 7.98615 17.2813 6.58337C16.5868 5.1806 15.5833 4.06601 14.2708 3.23962C12.9583 2.41323 11.5174 2.00004 9.94792 2.00004C8.37847 2.00004 6.9375 2.41323 5.625 3.23962C4.3125 4.06601 3.30903 5.1806 2.61458 6.58337C3.30903 7.98615 4.3125 9.10073 5.625 9.92712C6.9375 10.7535 8.37847 11.1667 9.94792 11.1667Z",fill:A})});var pt=({previewOnly:A=!1,format:C,onAccept:g=void 0,...E})=>{let[B,I]=co.useState(!1),Q=E?.status==="error",t=["SSN"].some(o=>o===C),r=(()=>{switch(C){case"phone":return "(000) 000-0000";case"email":return /^\S*@?\S*$/;case"SSN":return [{mask:B?"000-00-0000":"XXX-XX-0000",definitions:{X:{mask:"0",displayChar:"\u25CF",placeholderChar:"#"}},lazy:!1,overwrite:"shift"}];case"SSN":return "00000";case"currency":return [{mask:"$num",lazy:!1,blocks:{num:{mask:Number,scale:2,thousandsSeparator:",",padFractionalZeros:!0,radix:".",mapToRadix:["."]}}}];default:return ""}})();return jsxRuntime.jsxs(nC,{children:[jsxRuntime.jsx(iC,{format:C,mask:r,unmask:!0,onAccept:g,disabled:A,error:Q,...E}),Q&&!t&&!!E?.suffix&&jsxRuntime.jsx(sC,{children:E.suffix}),t&&jsxRuntime.jsx(LC,{onClick:()=>I(!B),children:B?jsxRuntime.jsx(lC,{}):jsxRuntime.jsx(aC,{})})]})},fC=pt;var H1={Area:eC,Text:oC,Number:tC,Password:rC,Mask:fC};var dC=A=>{let C;switch(A){case"zipcode":C={value:/\d{5}/,message:"Invalid zipcode"};break;case"phone":C={value:/\d{10}/,message:"Invalid phone number"};break;case"SSN":C={value:/\d{9}/,message:"Invalid social security number"};break;case"currency":C={value:/\d*(?:\.\d{2})?/,message:"Invalid amount"};break;case"email":C={value:/[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}/,message:"Invalid email address"};break;default:C=A;}return C};var vt=({name:A,label:C=null,details:g=null,formOptions:E={},pattern:B=void 0,format:I=void 0,textArea:Q=!1,password:e=!1,isLabelBold:t=!0,errorMessage:r="This field is required",disableErrorState:o=!1,...i})=>{let{control:L,formState:{errors:s}}=reactHookForm.useFormContext(),f=o?!1:!!reactHookForm.get(s,A),q=reactHookForm.get(s,A)?.message?.toString()||r,d=({field:v})=>Q?jsxRuntime.jsx(H1.Area,{status:f?"error":"",suffix:f?jsxRuntime.jsx(j.ErrorExclamation,{}):null,...i,...v}):I?jsxRuntime.jsx(H1.Mask,{name:v.name,onBlur:v.onBlur,format:I,onAccept:U=>v.onChange(U),ref:v.ref,value:v.value,status:f?"error":"",suffix:f?jsxRuntime.jsx(j.ErrorExclamation,{}):null,...i}):e?jsxRuntime.jsx(H1.Password,{status:f?"error":"",suffix:f?jsxRuntime.jsx(j.ErrorExclamation,{}):null,...i,...v}):jsxRuntime.jsx(H1.Text,{status:f?"error":"",suffix:f?jsxRuntime.jsx(j.ErrorExclamation,{}):null,...i,...v}),x=B?{pattern:dC(B)}:{};return jsxRuntime.jsxs("div",{style:{width:"100%"},children:[jsxRuntime.jsx(G,{label:C,isLabelBold:t,required:!!E.required,details:g}),jsxRuntime.jsx(QC,{children:jsxRuntime.jsx(reactHookForm.Controller,{render:d,name:A,rules:{...x,...E},control:L})}),f&&jsxRuntime.jsx(_,{text:q,includeIcon:!1})]})},GA=vt;var Rt=({label:A=null,isLabelBold:C=!0,name:g,disabled:E=!1,defaultValue:B=void 0,formOptions:I={},errorMessage:Q="This field is required.",options:e={},style:t={},...r})=>{let{control:o,formState:{errors:i}}=reactHookForm.useFormContext(),L=!!reactHookForm.get(i,g),s=reactHookForm.get(i,g)?.message?.toString()||Q;return jsxRuntime.jsxs("div",{style:t,children:[jsxRuntime.jsx(G,{label:A,isLabelBold:C,required:!!I.required}),jsxRuntime.jsx(reactHookForm.Controller,{render:({field:f})=>jsxRuntime.jsx(H1.Number,{disabled:E,status:L?"error":"",suffix:L?jsxRuntime.jsx(j.ErrorExclamation,{}):null,...r,...f}),name:g,defaultValue:B,rules:I,control:o,...e}),L&&jsxRuntime.jsx(_,{text:s,includeIcon:!1})]})},uC=Rt;var hC=T__default.default.div`
976
976
  position: relative;
977
977
  margin-bottom: 24px;
978
978
 
@@ -1035,7 +1035,7 @@ The mask that was received is: ${JSON.stringify(A)}`);return A.map(g=>g instance
1035
1035
  padding: 12px 6px;
1036
1036
  height: 57px;
1037
1037
  border-bottom: 1px solid #000;
1038
- `;var Ut=({label:A,name:C,formOptions:g={},description:E="",previewOnly:B=!1,errorMessage:I=void 0,signatureType:Q=void 0,date:e=void 0,isAdvocate:t=!1,showIcon:o=!0,formStyle:r="MINIMAL",...i})=>{let{control:L,formState:{errors:s}}=reactHookForm.useFormContext(),f=Q==="advocate"?"Advocate":"Client",q=t&&Q==="advocate"||!t&&Q==="client",d=({field:U})=>jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsxs(vC,{previewOnly:B,children:[o&&jsxRuntime.jsx(xA,{}),jsxRuntime.jsx(PC,{...U,...i})]}),jsxRuntime.jsx("label",{htmlFor:C,children:jsxRuntime.jsx(h.Body,{children:A})})]}),x=e?new Date(e).toLocaleDateString():"",v=({field:U})=>jsxRuntime.jsx(wC,{children:jsxRuntime.jsxs(mC,{children:[jsxRuntime.jsxs(VC,{children:[jsxRuntime.jsx(qC,{...U,...i,placeholder:`${f} Signature`,disabled:B||!q,hasError:!!s[C]}),jsxRuntime.jsx(x7,{children:`${f}`}),s[C]&&jsxRuntime.jsx(_,{text:I,includeIcon:!1})]}),jsxRuntime.jsxs(RC,{children:[jsxRuntime.jsx(xC,{children:x}),jsxRuntime.jsx(x7,{children:"Date"})]})]})});return jsxRuntime.jsxs(hC,{previewOnly:B,children:[A&&jsxRuntime.jsx(G,{label:i?`${f} ${A}`:A,required:!0,isLabelBold:!0}),E,jsxRuntime.jsx(reactHookForm.Controller,{render:r==="MINIMAL"?d:v,name:C,rules:g,control:L})]})},UC=Ut;T__default.default.div`
1038
+ `;var Ut=({label:A,name:C,formOptions:g={},description:E="",previewOnly:B=!1,errorMessage:I=void 0,signatureType:Q=void 0,date:e=void 0,isAdvocate:t=!1,showIcon:r=!0,formStyle:o="MINIMAL",...i})=>{let{control:L,formState:{errors:s}}=reactHookForm.useFormContext(),f=Q==="advocate"?"Advocate":"Client",q=t&&Q==="advocate"||!t&&Q==="client",d=({field:U})=>jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsxs(vC,{previewOnly:B,children:[r&&jsxRuntime.jsx(xA,{}),jsxRuntime.jsx(PC,{...U,...i})]}),jsxRuntime.jsx("label",{htmlFor:C,children:jsxRuntime.jsx(h.Body,{children:A})})]}),x=e?new Date(e).toLocaleDateString():"",v=({field:U})=>jsxRuntime.jsx(wC,{children:jsxRuntime.jsxs(mC,{children:[jsxRuntime.jsxs(VC,{children:[jsxRuntime.jsx(qC,{...U,...i,placeholder:`${f} Signature`,disabled:B||!q,hasError:!!s[C]}),jsxRuntime.jsx(x7,{children:`${f}`}),s[C]&&jsxRuntime.jsx(_,{text:I,includeIcon:!1})]}),jsxRuntime.jsxs(RC,{children:[jsxRuntime.jsx(xC,{children:x}),jsxRuntime.jsx(x7,{children:"Date"})]})]})});return jsxRuntime.jsxs(hC,{previewOnly:B,children:[A&&jsxRuntime.jsx(G,{label:i?`${f} ${A}`:A,required:!0,isLabelBold:!0}),E,jsxRuntime.jsx(reactHookForm.Controller,{render:o==="MINIMAL"?d:v,name:C,rules:g,control:L})]})},UC=Ut;T__default.default.div`
1039
1039
  margin-bottom: 32px;
1040
1040
  `;var HC=T__default.default.div`
1041
1041
  display: ${A=>A.isColumns?"grid":"flex"};
@@ -1276,7 +1276,7 @@ The mask that was received is: ${JSON.stringify(A)}`);return A.map(g=>g instance
1276
1276
  display: flex;
1277
1277
  flex-flow: column;
1278
1278
  gap: var(--spacing-m, 1rem);
1279
- `;var NA=({option:A,name:C,inline:g,previewOnly:E=!1,hasError:B=!1,formOptions:I={},...Q})=>{let{register:e}=reactHookForm.useFormContext();return jsxRuntime.jsxs(MC,{inline:g,children:[jsxRuntime.jsx(SC,{type:"radio",...e(C,I),value:A.value,previewOnly:E,disabled:E,hasError:B,...Q}),jsxRuntime.jsx("label",{htmlFor:C,children:jsxRuntime.jsx(h.Body,{children:A.label})})]})},TC=({name:A,label:C,details:g="",options:E=[],inline:B=!1,allowOther:I=!1,previewOnly:Q=!1,formOptions:e={},errorMessage:t=void 0,...o})=>{let{formState:{errors:r}}=reactHookForm.useFormContext(),i=!!reactHookForm.get(r,A);return jsxRuntime.jsxs("div",{children:[jsxRuntime.jsx(G,{label:C,required:!!e.required,isLabelBold:!0,details:g}),jsxRuntime.jsxs(HC,{inline:B,isColumns:E.length>5,children:[E.map(L=>jsxRuntime.jsx(NA,{option:L,name:A,inline:B,previewOnly:Q,formOptions:e,...o,hasError:i},`${A}-${L.value}`)),I&&jsxRuntime.jsxs(bC,{children:[jsxRuntime.jsx(NA,{option:{label:"Other",value:"other"},name:A,inline:B,...o},A),jsxRuntime.jsx(m3,{name:`${A}_other`,...o})]})]}),i&&jsxRuntime.jsx(_,{text:t,includeIcon:!1})]})},kt=({option:A,name:C,formOptions:g})=>{let{register:E,watch:B,formState:I}=reactHookForm.useFormContext(),Q=B(C)===A.value;return jsxRuntime.jsxs(kC,{selected:Q,hasError:!!I.errors[C],children:[jsxRuntime.jsxs(XC,{children:[jsxRuntime.jsxs(JC,{selected:Q,children:[A.icon||null,A.label]}),jsxRuntime.jsx(FC,{type:"radio",value:A.value,...E(C,g)})]}),jsxRuntime.jsx(zC,{selected:Q,children:A.description})]})},YC=({name:A,label:C=null,className:g="",options:E,formOptions:B={},id:I=""})=>jsxRuntime.jsxs(U7,{className:g,id:I,children:[C&&jsxRuntime.jsx(H7,{size:"lg",children:C}),jsxRuntime.jsx("div",{children:E.map(Q=>jsxRuntime.jsx(kt,{option:Q,name:A,formOptions:B},`${Q.label}-${Q.value}`))})]}),Xt=({option:A,name:C,formOptions:g,onClick:E=void 0})=>{let{register:B,watch:I}=reactHookForm.useFormContext(),Q=I(C)===A.value,[e,t]=co.useState(!1),o=H5[A.icon];return jsxRuntime.jsxs("div",{style:{position:"relative"},children:[jsxRuntime.jsx(yC,{type:"radio",onClick:r=>E?E(r.currentTarget.value):null,value:A.value,...B(C,g),onMouseEnter:()=>t(!0),onMouseLeave:()=>t(!1)}),jsxRuntime.jsxs(KC,{selected:Q,children:[jsxRuntime.jsx(o,{active:Q||e}),jsxRuntime.jsxs("div",{style:{display:"flex",gap:4,flexDirection:"column"},children:[jsxRuntime.jsx(OC,{children:A.label}),A?.description&&jsxRuntime.jsx(DC,{children:A.description})]})]})]})},ZC=({name:A,label:C=null,className:g="",options:E,onClick:B=void 0,formOptions:I={}})=>jsxRuntime.jsxs(U7,{className:g,children:[C&&jsxRuntime.jsx(H7,{size:"lg",children:C}),jsxRuntime.jsx(jC,{children:E.map(Q=>jsxRuntime.jsx(Xt,{option:Q,name:A,onClick:B,formOptions:I},`${Q.label}-${Q.value}`))})]});var WC=T__default.default.div`
1279
+ `;var NA=({option:A,name:C,inline:g,previewOnly:E=!1,hasError:B=!1,formOptions:I={},...Q})=>{let{register:e}=reactHookForm.useFormContext();return jsxRuntime.jsxs(MC,{inline:g,children:[jsxRuntime.jsx(SC,{type:"radio",...e(C,I),value:A.value,previewOnly:E,disabled:E,hasError:B,...Q}),jsxRuntime.jsx("label",{htmlFor:C,children:jsxRuntime.jsx(h.Body,{children:A.label})})]})},TC=({name:A,label:C,details:g="",options:E=[],inline:B=!1,allowOther:I=!1,previewOnly:Q=!1,formOptions:e={},errorMessage:t=void 0,...r})=>{let{formState:{errors:o}}=reactHookForm.useFormContext(),i=!!reactHookForm.get(o,A);return jsxRuntime.jsxs("div",{children:[jsxRuntime.jsx(G,{label:C,required:!!e.required,isLabelBold:!0,details:g}),jsxRuntime.jsxs(HC,{inline:B,isColumns:E.length>5,children:[E.map(L=>jsxRuntime.jsx(NA,{option:L,name:A,inline:B,previewOnly:Q,formOptions:e,...r,hasError:i},`${A}-${L.value}`)),I&&jsxRuntime.jsxs(bC,{children:[jsxRuntime.jsx(NA,{option:{label:"Other",value:"other"},name:A,inline:B,...r},A),jsxRuntime.jsx(m3,{name:`${A}_other`,...r})]})]}),i&&jsxRuntime.jsx(_,{text:t,includeIcon:!1})]})},kt=({option:A,name:C,formOptions:g})=>{let{register:E,watch:B,formState:I}=reactHookForm.useFormContext(),Q=B(C)===A.value;return jsxRuntime.jsxs(kC,{selected:Q,hasError:!!I.errors[C],children:[jsxRuntime.jsxs(XC,{children:[jsxRuntime.jsxs(JC,{selected:Q,children:[A.icon||null,A.label]}),jsxRuntime.jsx(FC,{type:"radio",value:A.value,...E(C,g)})]}),jsxRuntime.jsx(zC,{selected:Q,children:A.description})]})},YC=({name:A,label:C=null,className:g="",options:E,formOptions:B={},id:I=""})=>jsxRuntime.jsxs(U7,{className:g,id:I,children:[C&&jsxRuntime.jsx(H7,{size:"lg",children:C}),jsxRuntime.jsx("div",{children:E.map(Q=>jsxRuntime.jsx(kt,{option:Q,name:A,formOptions:B},`${Q.label}-${Q.value}`))})]}),Xt=({option:A,name:C,formOptions:g,onClick:E=void 0})=>{let{register:B,watch:I}=reactHookForm.useFormContext(),Q=I(C)===A.value,[e,t]=co.useState(!1),r=H5[A.icon];return jsxRuntime.jsxs("div",{style:{position:"relative"},children:[jsxRuntime.jsx(yC,{type:"radio",onClick:o=>E?E(o.currentTarget.value):null,value:A.value,...B(C,g),onMouseEnter:()=>t(!0),onMouseLeave:()=>t(!1)}),jsxRuntime.jsxs(KC,{selected:Q,children:[jsxRuntime.jsx(r,{active:Q||e}),jsxRuntime.jsxs("div",{style:{display:"flex",gap:4,flexDirection:"column"},children:[jsxRuntime.jsx(OC,{children:A.label}),A?.description&&jsxRuntime.jsx(DC,{children:A.description})]})]})]})},ZC=({name:A,label:C=null,className:g="",options:E,onClick:B=void 0,formOptions:I={}})=>jsxRuntime.jsxs(U7,{className:g,children:[C&&jsxRuntime.jsx(H7,{size:"lg",children:C}),jsxRuntime.jsx(jC,{children:E.map(Q=>jsxRuntime.jsx(Xt,{option:Q,name:A,onClick:B,formOptions:I},`${Q.label}-${Q.value}`))})]});var WC=T__default.default.div`
1280
1280
  position: relative;
1281
1281
  margin-bottom: 24px;
1282
1282
  z-index: 40;
@@ -1346,7 +1346,7 @@ The mask that was received is: ${JSON.stringify(A)}`);return A.map(g=>g instance
1346
1346
  left: 0;
1347
1347
  `;T__default.default(h.Body)`
1348
1348
  margin-bottom: 24px;
1349
- `;var yt=({label:A="",name:C,details:g="",placeholder:E="",options:B=[],allowInput:I=!1,previewOnly:Q=!1,isLabelBold:e=!0,formOptions:t={},onChange:o=()=>null,containerStyle:r={}})=>{let i=co.useRef(),L=reactHookForm.useFormContext(),{errors:s}=L.formState;L.register(C,t);let f=!!reactHookForm.get(s,C),q=reactHookForm.get(s,C)?.message?.toString(),[d,x]=co.useState(!1),[v,U]=co.useState(""),[p,l]=co.useState(B),M=web.useSpring(d?{opacity:1,transform:"translate(0px, 0px)",display:"block",config:{duration:150}}:{opacity:0,transform:"translate(0px, -2px)",display:"none",config:{duration:150}});co.useEffect(()=>{let F=A2=>{d&&i.current&&!i.current.contains(A2.target)&&x(!1);};return document.addEventListener("mousedown",A2=>F(A2)),()=>{document.removeEventListener("mousedown",A2=>F(A2));}},[d]);let m=B.find(F=>F.value===L.getValues(C))?.label,b=F=>{U(""),L.setValue(C,F.value),L.trigger(C),o&&o(F),x(!1);};co.useEffect(()=>{if(x(!!v),v){let F=B.filter(A2=>String(A2.value).toLowerCase().match(v.toLowerCase()));l(F),L.setValue(C,v);}else l(B);},[v,B.length]);let N=F=>{F.code==="Enter"&&F.preventDefault();};return jsxRuntime.jsxs(WC,{style:r,children:[jsxRuntime.jsx(G,{label:A,isLabelBold:e,required:!!t.required,details:g}),jsxRuntime.jsx(GC,{onClick:()=>x(!d),previewOnly:Q,children:Q?jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsx("i",{style:{color:"#7F7F7F"},children:"--Select--"}),jsxRuntime.jsx(j.Caret,{direction:"down",color:"#7F7F7F"})]}):jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[m||jsxRuntime.jsx("i",{children:E}),I&&jsxRuntime.jsx(Ag,{onKeyDown:N,value:v,onChange:F=>U(F.target.value),type:"text"}),jsxRuntime.jsx(j.Caret,{direction:d?"up":"down"}),jsxRuntime.jsx(NC,{style:M,ref:i,children:p.map(F=>{let{label:A2}=F,w2=F.label===m;return jsxRuntime.jsxs(_C,{onClick:()=>b(F),children:[jsxRuntime.jsx(h.Body,{size:"lg",children:A2}),jsxRuntime.jsx($C,{isCurrent:w2,children:jsxRuntime.jsx(j.Check,{color:"#fff"})})]},F.value)})})]})}),f&&jsxRuntime.jsx(_,{text:q,includeIcon:!1})]})},Bg=yt;var Ig=T__default.default.div`
1349
+ `;var yt=({label:A="",name:C,details:g="",placeholder:E="",options:B=[],allowInput:I=!1,previewOnly:Q=!1,isLabelBold:e=!0,formOptions:t={},onChange:r=()=>null,containerStyle:o={}})=>{let i=co.useRef(),L=reactHookForm.useFormContext(),{errors:s}=L.formState;L.register(C,t);let f=!!reactHookForm.get(s,C),q=reactHookForm.get(s,C)?.message?.toString(),[d,x]=co.useState(!1),[v,U]=co.useState(""),[p,l]=co.useState(B),M=web.useSpring(d?{opacity:1,transform:"translate(0px, 0px)",display:"block",config:{duration:150}}:{opacity:0,transform:"translate(0px, -2px)",display:"none",config:{duration:150}});co.useEffect(()=>{let F=A2=>{d&&i.current&&!i.current.contains(A2.target)&&x(!1);};return document.addEventListener("mousedown",A2=>F(A2)),()=>{document.removeEventListener("mousedown",A2=>F(A2));}},[d]);let m=B.find(F=>F.value===L.getValues(C))?.label,b=F=>{U(""),L.setValue(C,F.value),L.trigger(C),r&&r(F),x(!1);};co.useEffect(()=>{if(x(!!v),v){let F=B.filter(A2=>String(A2.value).toLowerCase().match(v.toLowerCase()));l(F),L.setValue(C,v);}else l(B);},[v,B.length]);let N=F=>{F.code==="Enter"&&F.preventDefault();};return jsxRuntime.jsxs(WC,{style:o,children:[jsxRuntime.jsx(G,{label:A,isLabelBold:e,required:!!t.required,details:g}),jsxRuntime.jsx(GC,{onClick:()=>x(!d),previewOnly:Q,children:Q?jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsx("i",{style:{color:"#7F7F7F"},children:"--Select--"}),jsxRuntime.jsx(j.Caret,{direction:"down",color:"#7F7F7F"})]}):jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[m||jsxRuntime.jsx("i",{children:E}),I&&jsxRuntime.jsx(Ag,{onKeyDown:N,value:v,onChange:F=>U(F.target.value),type:"text"}),jsxRuntime.jsx(j.Caret,{direction:d?"up":"down"}),jsxRuntime.jsx(NC,{style:M,ref:i,children:p.map(F=>{let{label:A2}=F,w2=F.label===m;return jsxRuntime.jsxs(_C,{onClick:()=>b(F),children:[jsxRuntime.jsx(h.Body,{size:"lg",children:A2}),jsxRuntime.jsx($C,{isCurrent:w2,children:jsxRuntime.jsx(j.Check,{color:"#fff"})})]},F.value)})})]})}),f&&jsxRuntime.jsx(_,{text:q,includeIcon:!1})]})},Bg=yt;var Ig=T__default.default.div`
1350
1350
  background: #eeeeee;
1351
1351
  border-radius: 10px;
1352
1352
  border: 1px solid #ccc;
@@ -1462,7 +1462,7 @@ The mask that was received is: ${JSON.stringify(A)}`);return A.map(g=>g instance
1462
1462
  border-color: #3f937c;
1463
1463
  box-shadow: none;
1464
1464
  }
1465
- `;var jt=({placeholder:A="",unit:C="",options:g=[],disabled:E=!1,mode:B=void 0,previewOnly:I=!1,onChange:Q=()=>null,style:e={},allowClear:t=!0,loading:o=!1,value:r=void 0,sort:i=!0,defaultValue:L=void 0,isError:s=!1,...f})=>{let q=v=>{Q(v);},d=(v,U)=>U?.label?(U.label.toString().toLowerCase()??"").includes(v.toLowerCase()):!1,x=(v,U)=>{let p=v?.label?.toString().toLowerCase()??"",l=U?.label?.toString().toLowerCase()??"";return p.localeCompare(l)};return jsxRuntime.jsx(og,{allowClear:t,loading:o,mode:B,showSearch:!0,onChange:q,placeholder:A,options:g,disabled:E||I,value:r,defaultValue:g.find(v=>v.value===L),style:{width:C?"auto":"100%",...e},filterOption:d,filterSort:i?x:void 0,isError:!!s,virtual:!1,...f})},C5=jt;var Wt=({label:A="",name:C,details:g="",placeholder:E="",unit:B="",options:I=[],disabled:Q=!1,mode:e=void 0,previewOnly:t=!1,isLabelBold:o=!0,formOptions:r={},onChange:i=()=>null,showPreview:L=!1,containerStyle:s={},style:f={},allowClear:q=!0,loading:d=!1,value:x=void 0,errorMessage:v="This field is required",defaultValue:U=void 0,...p})=>{let l=reactHookForm.useFormContext();l.register(C,r);let{control:M,formState:{errors:m},getValues:b}=reactHookForm.useFormContext(),N=!!reactHookForm.get(m,C),F=v||m?.[C]?.message?.toString(),w2=b()[C],n=H=>{l.setValue(C,H,{shouldDirty:!0,shouldTouch:!0}),l.trigger(C),i(H);},a=({field:H})=>jsxRuntime.jsx(C5,{allowClear:q,loading:d,mode:e,showSearch:!0,onChange:n,placeholder:E,options:I,isError:N,disabled:Q||t,value:H.value??x,defaultValue:U,style:f,...p});return jsxRuntime.jsxs("div",{style:s,children:[jsxRuntime.jsx(G,{label:A,isLabelBold:o,required:!!r.required,details:g}),jsxRuntime.jsxs(eg,{children:[jsxRuntime.jsx(reactHookForm.Controller,{control:M,name:C,rules:r,render:a}),B&&jsxRuntime.jsx(h.Body,{size:"lg",children:B})]}),t&&L&&jsxRuntime.jsx(Ig,{children:I.map(H=>jsxRuntime.jsx(Qg,{selected:H.value===w2,children:H.label}))}),N&&jsxRuntime.jsx(_,{text:F,includeIcon:!1})]})},ig=Wt;var $t=({label:A="Submit",isSubmitting:C=!1,hideWhenInvalid:g=!1,...E})=>{let B=reactHookForm.useFormContext(),{isValid:I}=B.formState,e=web.useSpring((g?I:!0)?{position:"relative",zIndex:0,opacity:1,transform:"translate(0px, 0px)",display:"block",config:{duration:250}}:{opacity:0,transform:"translate(0px, -3px)",display:"none",config:{duration:250}});return jsxRuntime.jsx(web.animated.div,{style:e,...E,children:jsxRuntime.jsx(P2.Primary,{htmlType:"submit",isSubmitting:C,...E,children:A})})},Lg=$t;var ag=T__default.default.div`
1465
+ `;var jt=({placeholder:A="",unit:C="",options:g=[],disabled:E=!1,mode:B=void 0,previewOnly:I=!1,onChange:Q=()=>null,style:e={},allowClear:t=!0,loading:r=!1,value:o=void 0,sort:i=!0,defaultValue:L=void 0,isError:s=!1,...f})=>{let q=v=>{Q(v);},d=(v,U)=>U?.label?(U.label.toString().toLowerCase()??"").includes(v.toLowerCase()):!1,x=(v,U)=>{let p=v?.label?.toString().toLowerCase()??"",l=U?.label?.toString().toLowerCase()??"";return p.localeCompare(l)};return jsxRuntime.jsx(og,{allowClear:t,loading:r,mode:B,showSearch:!0,onChange:q,placeholder:A,options:g,disabled:E||I,value:o,defaultValue:g.find(v=>v.value===L),style:{width:C?"auto":"100%",...e},filterOption:d,filterSort:i?x:void 0,isError:!!s,virtual:!1,...f})},C5=jt;var Wt=({label:A="",name:C,details:g="",placeholder:E="",unit:B="",options:I=[],disabled:Q=!1,mode:e=void 0,previewOnly:t=!1,isLabelBold:r=!0,formOptions:o={},onChange:i=()=>null,showPreview:L=!1,containerStyle:s={},style:f={},allowClear:q=!0,loading:d=!1,value:x=void 0,errorMessage:v="This field is required",defaultValue:U=void 0,...p})=>{let l=reactHookForm.useFormContext();l.register(C,o);let{control:M,formState:{errors:m},getValues:b}=reactHookForm.useFormContext(),N=!!reactHookForm.get(m,C),F=v||m?.[C]?.message?.toString(),w2=b()[C],n=H=>{l.setValue(C,H,{shouldDirty:!0,shouldTouch:!0}),l.trigger(C),i(H);},a=({field:H})=>jsxRuntime.jsx(C5,{allowClear:q,loading:d,mode:e,showSearch:!0,onChange:n,placeholder:E,options:I,isError:N,disabled:Q||t,value:H.value??x,defaultValue:U,style:f,...p});return jsxRuntime.jsxs("div",{style:s,children:[jsxRuntime.jsx(G,{label:A,isLabelBold:r,required:!!o.required,details:g}),jsxRuntime.jsxs(eg,{children:[jsxRuntime.jsx(reactHookForm.Controller,{control:M,name:C,rules:o,render:a}),B&&jsxRuntime.jsx(h.Body,{size:"lg",children:B})]}),t&&L&&jsxRuntime.jsx(Ig,{children:I.map(H=>jsxRuntime.jsx(Qg,{selected:H.value===w2,children:H.label}))}),N&&jsxRuntime.jsx(_,{text:F,includeIcon:!1})]})},ig=Wt;var $t=({label:A="Submit",isSubmitting:C=!1,hideWhenInvalid:g=!1,...E})=>{let B=reactHookForm.useFormContext(),{isValid:I}=B.formState,e=web.useSpring((g?I:!0)?{position:"relative",zIndex:0,opacity:1,transform:"translate(0px, 0px)",display:"block",config:{duration:250}}:{opacity:0,transform:"translate(0px, -3px)",display:"none",config:{duration:250}});return jsxRuntime.jsx(web.animated.div,{style:e,...E,children:jsxRuntime.jsx(P2.Primary,{htmlType:"submit",isSubmitting:C,...E,children:A})})},Lg=$t;var ag=T__default.default.div`
1466
1466
  position: relative;
1467
1467
  margin-bottom: 24px;
1468
1468
  z-index: 20;
@@ -1585,16 +1585,16 @@ The mask that was received is: ${JSON.stringify(A)}`);return A.map(g=>g instance
1585
1585
  stroke: ${({color:A})=>A||"#fff"};
1586
1586
  }
1587
1587
  }
1588
- `,b7=({color:A=void 0,size:C="sm"})=>jsxRuntime.jsx(gr,{color:A,size:C,children:jsxRuntime.jsx("div",{className:"loader",children:jsxRuntime.jsx("svg",{className:"circular-loader",viewBox:"25 25 50 50",children:jsxRuntime.jsx("circle",{className:"loader-path",cx:"50",cy:"50",r:"20",fill:"none"})})})});var or=A=>{let C="",g="",E="",B="",I="";A.address_components.forEach(o=>{o.types.some(r=>{switch(r){case"locality":return C=o.short_name,!0;case"administrative_area_level_1":return g=o.short_name,!0;case"street_number":return E=o.short_name,!0;case"route":return B=o.short_name,!0;case"postal_code":return I=o.short_name,!0;default:return !1}});});let Q=A.geometry.location.lat(),e=A.geometry.location.lng(),t=`${E} ${B}`;return {city:C,state:g,street:t,zip:I,lat:Q,long:e}},tr=({handleSelect:A,option:C,value:g})=>{let{description:E}=C,B=E===g,I=E.replace(", USA","");return jsxRuntime.jsx(pg,{isCurrent:B,onClick:()=>A(I),children:jsxRuntime.jsx(h.Body,{size:"lg",children:I})})},rr=({label:A="",details:C="",formOptions:g={},previewOnly:E=!1,locationType:B="city",streetFieldName:I="street",cityFieldName:Q="city",stateFieldName:e="state",zipFieldName:t="zip",placeholder:o="",containerStyle:r={}})=>{let i=co.useRef(),[L,s]=co.useState(!1),[f,q]=co.useState(!1),d=reactHookForm.useFormContext(),x=B==="city"?Q:I,v=web.useSpring(L?{opacity:1,transform:"translate(0px, 0px)",display:"block",config:{duration:150}}:{opacity:0,transform:"translate(0px, -2px)",display:"none",config:{duration:150}});co.useEffect(()=>{let n=a=>{L&&i.current&&!i.current.contains(a.target)&&s(!1);};return document.addEventListener("mousedown",a=>n(a)),()=>{document.removeEventListener("mousedown",a=>n(a));}},[L]);let U=d.getValues(x)?`${d.getValues(x)}, ${d.getValues(e)}`:"",{value:p,suggestions:{data:l,loading:M},setValue:m,clearSuggestions:b}=Ir__default.default({requestOptions:{...B==="city"?{types:["locality","postal_code"]}:{},componentRestrictions:{country:"us"}}});co.useEffect(()=>{if(M){q(M);return}setTimeout(()=>{q(M);},2e3);},[M]);let N=web.useSpring(f?{opacity:1,transform:"translate(0px, 0px)",config:{duration:400}}:{opacity:0,transform:"translate(5px, 0px)",config:{duration:200}}),F=n=>{m(n.target.value),d.setValue(e,""),B==="full"&&(d.setValue(t,""),d.setValue(Q,"")),d.trigger(x),n.target.value.length>=3&&s(!0);},A2=n=>{m(n,!1),b(),!(n.length<=2)&&Ir.getGeocode({address:n}).then(a=>{let{city:H,state:X,street:S,zip:J,lat:w,long:k}=or(a[0]),y=[x,Q,e];d.setValue(Q,H),d.setValue(e,X),B==="full"&&(d.setValue(I,S),d.setValue(t,J),y.push(I,t)),d.setValue("lat",w),d.setValue("long",k),d.trigger(y);}).catch(a=>console.error(`Google Maps API error: ${a}`));},w2=n=>{n.code==="Enter"&&n.preventDefault();};return jsxRuntime.jsxs(ag,{children:[jsxRuntime.jsx(G,{label:A,isLabelBold:!0,required:!!g.required,details:C}),E?jsxRuntime.jsx(ug,{size:"md",children:U||"N/A"}):jsxRuntime.jsxs(lg,{style:r,children:[jsxRuntime.jsx(cg,{onKeyDown:w2,type:"text",placeholder:o,...d.register(x,{...g,onChange:F})}),l.length>0&&jsxRuntime.jsx(fg,{style:v,ref:i,children:l.map(n=>jsxRuntime.jsx(tr,{handleSelect:A2,option:n,value:p},n.description))}),jsxRuntime.jsx(dg,{style:N,children:jsxRuntime.jsx(b7,{size:"sm"})})]})]})},Vg=A=>{let{isLoaded:C}=api.useLoadScript({googleMapsApiKey:A.api_key||process.env.GOOGLE_MAPS_API_KEY||"",libraries:["places"]});return C?jsxRuntime.jsx(rr,{...A}):null};var Lr=T__default.default(antd.TimePicker)`
1588
+ `,b7=({color:A=void 0,size:C="sm"})=>jsxRuntime.jsx(gr,{color:A,size:C,children:jsxRuntime.jsx("div",{className:"loader",children:jsxRuntime.jsx("svg",{className:"circular-loader",viewBox:"25 25 50 50",children:jsxRuntime.jsx("circle",{className:"loader-path",cx:"50",cy:"50",r:"20",fill:"none"})})})});var or=A=>{let C="",g="",E="",B="",I="";A.address_components.forEach(r=>{r.types.some(o=>{switch(o){case"locality":return C=r.short_name,!0;case"administrative_area_level_1":return g=r.short_name,!0;case"street_number":return E=r.short_name,!0;case"route":return B=r.short_name,!0;case"postal_code":return I=r.short_name,!0;default:return !1}});});let Q=A.geometry.location.lat(),e=A.geometry.location.lng(),t=`${E} ${B}`;return {city:C,state:g,street:t,zip:I,lat:Q,long:e}},tr=({handleSelect:A,option:C,value:g})=>{let{description:E}=C,B=E===g,I=E.replace(", USA","");return jsxRuntime.jsx(pg,{isCurrent:B,onClick:()=>A(I),children:jsxRuntime.jsx(h.Body,{size:"lg",children:I})})},rr=({label:A="",details:C="",formOptions:g={},previewOnly:E=!1,locationType:B="city",streetFieldName:I="street",cityFieldName:Q="city",stateFieldName:e="state",zipFieldName:t="zip",placeholder:r="",containerStyle:o={}})=>{let i=co.useRef(),[L,s]=co.useState(!1),[f,q]=co.useState(!1),d=reactHookForm.useFormContext(),x=B==="city"?Q:I,v=web.useSpring(L?{opacity:1,transform:"translate(0px, 0px)",display:"block",config:{duration:150}}:{opacity:0,transform:"translate(0px, -2px)",display:"none",config:{duration:150}});co.useEffect(()=>{let n=a=>{L&&i.current&&!i.current.contains(a.target)&&s(!1);};return document.addEventListener("mousedown",a=>n(a)),()=>{document.removeEventListener("mousedown",a=>n(a));}},[L]);let U=d.getValues(x)?`${d.getValues(x)}, ${d.getValues(e)}`:"",{value:p,suggestions:{data:l,loading:M},setValue:m,clearSuggestions:b}=Ir__default.default({requestOptions:{...B==="city"?{types:["locality","postal_code"]}:{},componentRestrictions:{country:"us"}}});co.useEffect(()=>{if(M){q(M);return}setTimeout(()=>{q(M);},2e3);},[M]);let N=web.useSpring(f?{opacity:1,transform:"translate(0px, 0px)",config:{duration:400}}:{opacity:0,transform:"translate(5px, 0px)",config:{duration:200}}),F=n=>{m(n.target.value),d.setValue(e,""),B==="full"&&(d.setValue(t,""),d.setValue(Q,"")),d.trigger(x),n.target.value.length>=3&&s(!0);},A2=n=>{m(n,!1),b(),!(n.length<=2)&&Ir.getGeocode({address:n}).then(a=>{let{city:H,state:X,street:S,zip:J,lat:w,long:k}=or(a[0]),y=[x,Q,e];d.setValue(Q,H),d.setValue(e,X),B==="full"&&(d.setValue(I,S),d.setValue(t,J),y.push(I,t)),d.setValue("lat",w),d.setValue("long",k),d.trigger(y);}).catch(a=>console.error(`Google Maps API error: ${a}`));},w2=n=>{n.code==="Enter"&&n.preventDefault();};return jsxRuntime.jsxs(ag,{children:[jsxRuntime.jsx(G,{label:A,isLabelBold:!0,required:!!g.required,details:C}),E?jsxRuntime.jsx(ug,{size:"md",children:U||"N/A"}):jsxRuntime.jsxs(lg,{style:o,children:[jsxRuntime.jsx(cg,{onKeyDown:w2,type:"text",placeholder:r,...d.register(x,{...g,onChange:F})}),l.length>0&&jsxRuntime.jsx(fg,{style:v,ref:i,children:l.map(n=>jsxRuntime.jsx(tr,{handleSelect:A2,option:n,value:p},n.description))}),jsxRuntime.jsx(dg,{style:N,children:jsxRuntime.jsx(b7,{size:"sm"})})]})]})},Vg=A=>{let{isLoaded:C}=api.useLoadScript({googleMapsApiKey:A.api_key||process.env.GOOGLE_MAPS_API_KEY||"",libraries:["places"]});return C?jsxRuntime.jsx(rr,{...A}):null};var Lr=T__default.default(antd.TimePicker)`
1589
1589
  height: 40px;
1590
1590
  border-color: #424242;
1591
1591
  `,sr=({onChange:A=()=>null,format:C="h:mma",...g})=>jsxRuntime.jsx(Lr,{use12Hours:!0,format:C,onChange:A,...g}),k7=sr;var cr=T__default.default.div`
1592
1592
  position: relative;
1593
1593
  margin-bottom: 24px;
1594
- `,ur=({label:A="",formOptions:C={},defaultValue:g=null,name:E,...B})=>{let{control:I,formState:{errors:Q}}=reactHookForm.useFormContext(),e=reactHookForm.get(Q,E),t=e?e.message?.toString():"This field is required";return jsxRuntime.jsxs(cr,{children:[jsxRuntime.jsx(G,{isLabelBold:!0,label:A,required:!!C.required}),jsxRuntime.jsx(reactHookForm.Controller,{render:({field:o})=>jsxRuntime.jsx(k7,{...B,...o,status:e?"error":""}),name:E,defaultValue:g?BA__default.default(g):null,rules:C,control:I,...C}),e&&jsxRuntime.jsx(_,{includeIcon:!1,children:t})]})},Rg=ur;var mr=({startTime:A="00:00",endTime:C="24:00",interval:g=30,defaultValue:E="",onChange:B=()=>null,...I})=>{let e=co.useCallback(()=>{let r=luxon.DateTime.fromFormat(C,"HH:mm"),i=luxon.Duration.fromObject({minutes:g}),L=[],s=luxon.DateTime.fromFormat(A,"hh:mm");for(;s<=r;)L.push({label:s.toFormat("h:mm a"),value:{hour:s.toFormat("HH"),min:s.toFormat("mm"),raw:s.toFormat("HH:mm"),formatted:s.toFormat("h:mm a")}}),s=s.plus(i);return L},[A,C,g,E])(),t=e.map(r=>({label:r.label,value:r.value.raw})),o=r=>{let i=e.find(L=>L.value.raw===r);B(i);};return jsxRuntime.jsx(C5,{options:t,defaultValue:E||t[0].value,onChange:o,showSearch:!1,sort:!1,allowClear:!1,style:{maxWidth:"15rem"},...I})},X7=mr;var Pr=({label:A="",name:C,options:g=void 0,...E})=>{let{setValue:B,watch:I}=reactHookForm.useFormContext(),Q=I(C),e=T__default.default.div`
1594
+ `,ur=({label:A="",formOptions:C={},defaultValue:g=null,name:E,...B})=>{let{control:I,formState:{errors:Q}}=reactHookForm.useFormContext(),e=reactHookForm.get(Q,E),t=e?e.message?.toString():"This field is required";return jsxRuntime.jsxs(cr,{children:[jsxRuntime.jsx(G,{isLabelBold:!0,label:A,required:!!C.required}),jsxRuntime.jsx(reactHookForm.Controller,{render:({field:r})=>jsxRuntime.jsx(k7,{...B,...r,status:e?"error":""}),name:E,defaultValue:g?BA__default.default(g):null,rules:C,control:I,...C}),e&&jsxRuntime.jsx(_,{includeIcon:!1,children:t})]})},Rg=ur;var mr=({startTime:A="00:00",endTime:C="24:00",interval:g=30,defaultValue:E="",onChange:B=()=>null,...I})=>{let e=co.useCallback(()=>{let o=luxon.DateTime.fromFormat(C,"HH:mm"),i=luxon.Duration.fromObject({minutes:g}),L=[],s=luxon.DateTime.fromFormat(A,"hh:mm");for(;s<=o;)L.push({label:s.toFormat("h:mm a"),value:{hour:s.toFormat("HH"),min:s.toFormat("mm"),raw:s.toFormat("HH:mm"),formatted:s.toFormat("h:mm a")}}),s=s.plus(i);return L},[A,C,g,E])(),t=e.map(o=>({label:o.label,value:o.value.raw})),r=o=>{let i=e.find(L=>L.value.raw===o);B(i);};return jsxRuntime.jsx(C5,{options:t,defaultValue:E||t[0].value,onChange:r,showSearch:!1,sort:!1,allowClear:!1,style:{maxWidth:"15rem"},...I})},X7=mr;var Pr=({label:A="",name:C,options:g=void 0,...E})=>{let{setValue:B,watch:I}=reactHookForm.useFormContext(),Q=I(C),e=T__default.default.div`
1595
1595
  position: relative;
1596
1596
  margin-bottom: 24px;
1597
- `,t=o=>{B(C,o);};return jsxRuntime.jsxs(e,{children:[jsxRuntime.jsx(G,{label:A,required:!!g?.required}),jsxRuntime.jsx(X7,{name:C,...E,onChange:t,value:Q})]})},xg=Pr;var Mr=T__default.default.div`
1597
+ `,t=r=>{B(C,r);};return jsxRuntime.jsxs(e,{children:[jsxRuntime.jsx(G,{label:A,required:!!g?.required}),jsxRuntime.jsx(X7,{name:C,...E,onChange:t,value:Q})]})},xg=Pr;var Mr=T__default.default.div`
1598
1598
  position: relative;
1599
1599
  margin-bottom: 24px;
1600
1600
  z-index: 20;
@@ -1677,11 +1677,11 @@ The mask that was received is: ${JSON.stringify(A)}`);return A.map(g=>g instance
1677
1677
  border: 0.766898px solid;
1678
1678
  border-color: ${A=>A.isCurrent?"#285E50 !important":"#3f937c"};
1679
1679
  background: ${A=>A.isCurrent?"#285E50 !important":"#FFF"};
1680
- `,Kr=({label:A="",name:C,details:g="",options:E=[],previewOnly:B=!1})=>{let I=co.useRef(),Q=reactHookForm.useFormContext(),[e,t]=co.useState(!1),[o,r]=co.useState(""),[i,L]=co.useState(Q.getValues(C)||[]),s=co.useRef({search:o,keywords:i});co.useEffect(()=>{s.current={search:o,keywords:i};},[o,i]);let[f,q]=co.useState(E),d=web.useSpring(e?{opacity:1,transform:"translate(0px, 0px)",display:"block",config:{duration:150}}:{opacity:0,transform:"translate(0px, -2px)",display:"none",config:{duration:150}}),x=E.find(m=>m===Q.getValues(C)),v=m=>{let b=[...s.current.keywords,m];r(""),L(b),Q.setValue(C,b),t(!1);},U=m=>m?m.charAt(0).toUpperCase()+m.slice(1).toLowerCase():"",p=()=>{if(!s.current.search)return;let m=U(s.current.search);v(m);};co.useEffect(()=>{let m=b=>{e&&I.current&&!I.current.contains(b.target)&&(p(),t(!1));};return document.addEventListener("mousedown",b=>m(b)),()=>{document.removeEventListener("mousedown",b=>m(b));}},[e]);let l=m=>{m.code==="Enter"&&(p(),m.preventDefault());},M=m=>{let b=i.filter(N=>N!==m);L(b),r(""),Q.setValue(C,b);};return co.useEffect(()=>{if(t(!!o),o){let m=E.filter(b=>b.toLowerCase().match(o.toLowerCase()));q(m);}else q(E);},[o]),co.useEffect(()=>{let m=E.filter(b=>!i.includes(b));q(m);},[i]),jsxRuntime.jsxs(Mr,{children:[jsxRuntime.jsx(Sr,{size:"lg",children:A}),g&&jsxRuntime.jsx(br,{children:g}),!B&&jsxRuntime.jsxs(kr,{onClick:()=>t(!e),children:[jsxRuntime.jsx(qA,{}),x,jsxRuntime.jsx(Fr,{onKeyDown:l,value:o,onChange:m=>r(m.target.value),type:"text",style:{marginLeft:"45px",width:"calc(100% - 80px)"}}),jsxRuntime.jsxs(Xr,{style:d,ref:I,children:[f.map(m=>{let b=m===x;return jsxRuntime.jsxs(Hg,{onClick:()=>v(m),children:[jsxRuntime.jsx(h.Body,{size:"lg",children:m}),jsxRuntime.jsx(zr,{isCurrent:b,children:jsxRuntime.jsx(j.Check,{color:"#fff"})})]},m)}),!f.length&&jsxRuntime.jsx(Hg,{onClick:()=>p(),children:jsxRuntime.jsx(h.Body,{size:"lg",children:"Add Option"})},"add")]})]}),jsxRuntime.jsxs("div",{style:{display:"flex",flexDirection:"row",flexWrap:"wrap"},children:[B&&i.length===0&&"N/A",i.map(m=>jsxRuntime.jsxs(Jr,{onClick:()=>M(m),children:[m,!B&&jsxRuntime.jsx(cA,{})]},m))]})]})},Mg=Kr;var Tr=({defaultState:A=!1,name:C,label:g={active:"YES",inactive:"NO"},handleEvent:E=null,value:B,disabled:I=!1,loading:Q=!1})=>{let e=reactHookForm.useFormContext(),[t,o]=co.useState(A);co.useEffect(()=>{e&&A&&e.setValue(C,B),o(A);},[A]);let r=i=>{I||(e&&e.setValue(C,i?B:null),E&&E(i),o(i));};return jsxRuntime.jsx(antd.Switch,{defaultChecked:A,checkedChildren:g.active,unCheckedChildren:g.inactive,checked:t,loading:Q,disabled:I,onChange:r})},F7=Tr;var $r=T__default.default(antd.DatePicker)`
1680
+ `,Kr=({label:A="",name:C,details:g="",options:E=[],previewOnly:B=!1})=>{let I=co.useRef(),Q=reactHookForm.useFormContext(),[e,t]=co.useState(!1),[r,o]=co.useState(""),[i,L]=co.useState(Q.getValues(C)||[]),s=co.useRef({search:r,keywords:i});co.useEffect(()=>{s.current={search:r,keywords:i};},[r,i]);let[f,q]=co.useState(E),d=web.useSpring(e?{opacity:1,transform:"translate(0px, 0px)",display:"block",config:{duration:150}}:{opacity:0,transform:"translate(0px, -2px)",display:"none",config:{duration:150}}),x=E.find(m=>m===Q.getValues(C)),v=m=>{let b=[...s.current.keywords,m];o(""),L(b),Q.setValue(C,b),t(!1);},U=m=>m?m.charAt(0).toUpperCase()+m.slice(1).toLowerCase():"",p=()=>{if(!s.current.search)return;let m=U(s.current.search);v(m);};co.useEffect(()=>{let m=b=>{e&&I.current&&!I.current.contains(b.target)&&(p(),t(!1));};return document.addEventListener("mousedown",b=>m(b)),()=>{document.removeEventListener("mousedown",b=>m(b));}},[e]);let l=m=>{m.code==="Enter"&&(p(),m.preventDefault());},M=m=>{let b=i.filter(N=>N!==m);L(b),o(""),Q.setValue(C,b);};return co.useEffect(()=>{if(t(!!r),r){let m=E.filter(b=>b.toLowerCase().match(r.toLowerCase()));q(m);}else q(E);},[r]),co.useEffect(()=>{let m=E.filter(b=>!i.includes(b));q(m);},[i]),jsxRuntime.jsxs(Mr,{children:[jsxRuntime.jsx(Sr,{size:"lg",children:A}),g&&jsxRuntime.jsx(br,{children:g}),!B&&jsxRuntime.jsxs(kr,{onClick:()=>t(!e),children:[jsxRuntime.jsx(qA,{}),x,jsxRuntime.jsx(Fr,{onKeyDown:l,value:r,onChange:m=>o(m.target.value),type:"text",style:{marginLeft:"45px",width:"calc(100% - 80px)"}}),jsxRuntime.jsxs(Xr,{style:d,ref:I,children:[f.map(m=>{let b=m===x;return jsxRuntime.jsxs(Hg,{onClick:()=>v(m),children:[jsxRuntime.jsx(h.Body,{size:"lg",children:m}),jsxRuntime.jsx(zr,{isCurrent:b,children:jsxRuntime.jsx(j.Check,{color:"#fff"})})]},m)}),!f.length&&jsxRuntime.jsx(Hg,{onClick:()=>p(),children:jsxRuntime.jsx(h.Body,{size:"lg",children:"Add Option"})},"add")]})]}),jsxRuntime.jsxs("div",{style:{display:"flex",flexDirection:"row",flexWrap:"wrap"},children:[B&&i.length===0&&"N/A",i.map(m=>jsxRuntime.jsxs(Jr,{onClick:()=>M(m),children:[m,!B&&jsxRuntime.jsx(cA,{})]},m))]})]})},Mg=Kr;var Tr=({defaultState:A=!1,name:C,label:g={active:"YES",inactive:"NO"},handleEvent:E=null,value:B,disabled:I=!1,loading:Q=!1})=>{let e=reactHookForm.useFormContext(),[t,r]=co.useState(A);co.useEffect(()=>{e&&A&&e.setValue(C,B),r(A);},[A]);let o=i=>{I||(e&&e.setValue(C,i?B:null),E&&E(i),r(i));};return jsxRuntime.jsx(antd.Switch,{defaultChecked:A,checkedChildren:g.active,unCheckedChildren:g.inactive,checked:t,loading:Q,disabled:I,onChange:o})},F7=Tr;var $r=T__default.default(antd.DatePicker)`
1681
1681
  padding: 12px 24px;
1682
1682
  width: 100%;
1683
1683
  max-width: 25rem;
1684
- `,Ai=({label:A=null,isLabelBold:C=!0,name:g,details:E=void 0,disabled:B=!1,defaultValue:I=void 0,startRange:Q=null,endRange:e=null,formOptions:t={},errorMessage:o="This field is required.",options:r={},style:i={},format:L="MM/DD/YYYY",...s})=>{let{control:f,formState:{errors:q}}=reactHookForm.useFormContext(),d=!!reactHookForm.get(q,g),x=q?.[g]?.message?.toString()||o,v=p=>p?!!(Q&&p<BA__default.default(Q).endOf("day")||e&&p>BA__default.default(e).endOf("day")):!1,U=p=>{if(p)return BA__default.default(p);if(I)return BA__default.default(I)};return jsxRuntime.jsxs("div",{style:i,children:[jsxRuntime.jsx(G,{label:A,details:E,isLabelBold:C,required:!!t.required}),jsxRuntime.jsx(reactHookForm.Controller,{render:({field:p})=>jsxRuntime.jsx($r,{format:L,disabled:B,disabledDate:v,defaultValue:U(p.value),status:d?"error":"",onChange:(l,M)=>p.onChange(M),value:p.value?BA__default.default(p.value):null,changeOnBlur:!0,...s}),name:g,rules:t,control:f,...r}),d&&jsxRuntime.jsx(_,{text:x,includeIcon:!1})]})},Sg=Ai;var kg=T__default.default.div`
1684
+ `,Ai=({label:A=null,isLabelBold:C=!0,name:g,details:E=void 0,disabled:B=!1,defaultValue:I=void 0,startRange:Q=null,endRange:e=null,formOptions:t={},errorMessage:r="This field is required.",options:o={},style:i={},format:L="MM/DD/YYYY",...s})=>{let{control:f,formState:{errors:q}}=reactHookForm.useFormContext(),d=!!reactHookForm.get(q,g),x=q?.[g]?.message?.toString()||r,v=p=>p?!!(Q&&p<BA__default.default(Q).endOf("day")||e&&p>BA__default.default(e).endOf("day")):!1,U=p=>{if(p)return BA__default.default(p);if(I)return BA__default.default(I)};return jsxRuntime.jsxs("div",{style:i,children:[jsxRuntime.jsx(G,{label:A,details:E,isLabelBold:C,required:!!t.required}),jsxRuntime.jsx(reactHookForm.Controller,{render:({field:p})=>jsxRuntime.jsx($r,{format:L,disabled:B,disabledDate:v,defaultValue:U(p.value),status:d?"error":"",onChange:(l,M)=>p.onChange(M),value:p.value?BA__default.default(p.value):null,changeOnBlur:!0,...s}),name:g,rules:t,control:f,...o}),d&&jsxRuntime.jsx(_,{text:x,includeIcon:!1})]})},Sg=Ai;var kg=T__default.default.div`
1685
1685
  display: flex;
1686
1686
  flex: 1;
1687
1687
  align-items: center;
@@ -1691,7 +1691,7 @@ The mask that was received is: ${JSON.stringify(A)}`);return A.map(g=>g instance
1691
1691
  gap: 8px;
1692
1692
  `,J7=T__default.default(h.Body)`
1693
1693
  color: rgba(135, 135, 135);
1694
- `;var{Dragger:Bi}=antd.Upload,Ii=({label:A="",name:C,disabled:g=!1,description:E="",isLabelBold:B=!0,formOptions:I={},onChange:Q,onRemove:e,onDownload:t,onDrop:o,defaultValue:r=void 0,containerStyle:i={},errorMessage:L=void 0,action:s="",headers:f={},uploadData:q={},defaultFileList:d=[],...x})=>{reactHookForm.useFormContext().register(C,I);let{getFieldState:U,formState:{errors:p}}=reactHookForm.useFormContext(),l=!!reactHookForm.get(p,C);return jsxRuntime.jsxs("div",{style:i,children:[jsxRuntime.jsx(G,{label:A,isLabelBold:B,required:!!I.required,details:E}),jsxRuntime.jsx("div",{style:{height:"0px",width:"0px",opacity:0},children:jsxRuntime.jsx(GA,{formOptions:{required:U(C).invalid},name:`${C}_validation`,type:"text"})}),jsxRuntime.jsxs(Bi,{name:"file",multiple:!0,onChange:Q,onDrop:o,onRemove:e,onDownload:t,action:s,disabled:g,headers:f,defaultFileList:d,showUploadList:{showDownloadIcon:!0},data:q,...x,capture:void 0,children:[jsxRuntime.jsx(j.Attachment,{}),jsxRuntime.jsxs(kg,{children:[jsxRuntime.jsx(J7,{children:jsxRuntime.jsx("span",{style:{fontWeight:"bold"},children:"DRAG FILE HERE"})}),jsxRuntime.jsx(J7,{size:"sm",children:"or click to browse (10 MB max)"})]})]}),r?jsxRuntime.jsxs(jsxRuntime.Fragment,{children:["Current Value: ",r]}):null,l&&jsxRuntime.jsx(_,{text:L,includeIcon:!1})]})},Fg=Ii;var oi=A=>{let{title:C,description:g}=A;return jsxRuntime.jsxs(j2,{vertical:!0,style:{paddingBottom:24},children:[jsxRuntime.jsx(h.Header,{children:C}),g&&jsxRuntime.jsx(h.Body,{children:g})]})};function o5({defaultExpandAll:A,treeData:C,checkedKeys:g,...E}){let[B,I]=co.useState([]),[Q,e]=co.useState([]),t=r=>{let i=[];return r.forEach(L=>{L.key&&i.push(L.key),Array.isArray(L.children)&&(i=i.concat(t(L.children)));}),i},o=(r,i)=>{if(Q.includes(i.node.key)){let s=new Set([i.node.key]);i.node.children&&i.node.children.forEach(({key:f})=>s.add(f)),e(f=>f.filter(q=>!s.has(q))),I(f=>f.filter(q=>!s.has(q)));}else e(s=>[...s,i.node.key]),I(s=>[...s,i.node.key]);};return co.useEffect(()=>{if(!A||!C)return;let r=t(C);e(r),I(r);},[A]),co.useEffect(()=>{g&&(A||(e(g),I(g)));},[A,g]),jsxRuntime.jsx(antd.Tree,{switcherIcon:null,expandedKeys:B,checkedKeys:g,checkable:!0,checkStrictly:!0,selectable:!1,treeData:C,onCheck:o,titleRender:oi,style:{backgroundColor:"#F4F8F7"},...E})}var ni=({name:A,...C})=>{let{control:g}=reactHookForm.useFormContext();return jsxRuntime.jsx(reactHookForm.Controller,{control:g,name:A,render:({field:E})=>jsxRuntime.jsx(o5,{onCheck:B=>{Array.isArray(B)?E.onChange(B):E.onChange(B.checked);},checkedKeys:E.value,onBlur:E.onBlur,...C})})},yg=ni;var Og=T__default.default.div`
1694
+ `;var{Dragger:Bi}=antd.Upload,Ii=({label:A="",name:C,disabled:g=!1,description:E="",isLabelBold:B=!0,formOptions:I={},onChange:Q,onRemove:e,onDownload:t,onDrop:r,defaultValue:o=void 0,containerStyle:i={},errorMessage:L=void 0,action:s="",headers:f={},uploadData:q={},defaultFileList:d=[],...x})=>{reactHookForm.useFormContext().register(C,I);let{getFieldState:U,formState:{errors:p}}=reactHookForm.useFormContext(),l=!!reactHookForm.get(p,C);return jsxRuntime.jsxs("div",{style:i,children:[jsxRuntime.jsx(G,{label:A,isLabelBold:B,required:!!I.required,details:E}),jsxRuntime.jsx("div",{style:{height:"0px",width:"0px",opacity:0},children:jsxRuntime.jsx(GA,{formOptions:{required:U(C).invalid},name:`${C}_validation`,type:"text"})}),jsxRuntime.jsxs(Bi,{name:"file",multiple:!0,onChange:Q,onDrop:r,onRemove:e,onDownload:t,action:s,disabled:g,headers:f,defaultFileList:d,showUploadList:{showDownloadIcon:!0},data:q,...x,capture:void 0,children:[jsxRuntime.jsx(j.Attachment,{}),jsxRuntime.jsxs(kg,{children:[jsxRuntime.jsx(J7,{children:jsxRuntime.jsx("span",{style:{fontWeight:"bold"},children:"DRAG FILE HERE"})}),jsxRuntime.jsx(J7,{size:"sm",children:"or click to browse (10 MB max)"})]})]}),o?jsxRuntime.jsxs(jsxRuntime.Fragment,{children:["Current Value: ",o]}):null,l&&jsxRuntime.jsx(_,{text:L,includeIcon:!1})]})},Fg=Ii;var oi=A=>{let{title:C,description:g}=A;return jsxRuntime.jsxs(j2,{vertical:!0,style:{paddingBottom:24},children:[jsxRuntime.jsx(h.Header,{children:C}),g&&jsxRuntime.jsx(h.Body,{children:g})]})};function o5({defaultExpandAll:A,treeData:C,checkedKeys:g,...E}){let[B,I]=co.useState([]),[Q,e]=co.useState([]),t=o=>{let i=[];return o.forEach(L=>{L.key&&i.push(L.key),Array.isArray(L.children)&&(i=i.concat(t(L.children)));}),i},r=(o,i)=>{if(Q.includes(i.node.key)){let s=new Set([i.node.key]);i.node.children&&i.node.children.forEach(({key:f})=>s.add(f)),e(f=>f.filter(q=>!s.has(q))),I(f=>f.filter(q=>!s.has(q)));}else e(s=>[...s,i.node.key]),I(s=>[...s,i.node.key]);};return co.useEffect(()=>{if(!A||!C)return;let o=t(C);e(o),I(o);},[A]),co.useEffect(()=>{g&&(A||(e(g),I(g)));},[A,g]),jsxRuntime.jsx(antd.Tree,{switcherIcon:null,expandedKeys:B,checkedKeys:g,checkable:!0,checkStrictly:!0,selectable:!1,treeData:C,onCheck:r,titleRender:oi,style:{backgroundColor:"#F4F8F7"},...E})}var ni=({name:A,...C})=>{let{control:g}=reactHookForm.useFormContext();return jsxRuntime.jsx(reactHookForm.Controller,{control:g,name:A,render:({field:E})=>jsxRuntime.jsx(o5,{onCheck:B=>{Array.isArray(B)?E.onChange(B):E.onChange(B.checked);},checkedKeys:E.value,onBlur:E.onBlur,...C})})},yg=ni;var Og=T__default.default.div`
1695
1695
  position: relative;
1696
1696
  margin-bottom: 24px;
1697
1697
  z-index: 40;
@@ -1742,7 +1742,7 @@ The mask that was received is: ${JSON.stringify(A)}`);return A.map(g=>g instance
1742
1742
  left: 0;
1743
1743
  `;T__default.default(h.Body)`
1744
1744
  margin-bottom: 24px;
1745
- `;var ai=({label:A="",name:C,formOptions:g={},containerStyle:E={}})=>{let{formState:{errors:B,defaultValues:I},register:Q,setValue:e}=reactHookForm.useFormContext();Q(C,g);let t=!!reactHookForm.get(B,C),o=reactHookForm.get(B,C)?.message?.toString();return jsxRuntime.jsxs(Og,{style:E,children:[jsxRuntime.jsx(K7,{label:A,onChange:r=>e(C,r),hasError:t,defaultValue:I?.[C]}),t&&jsxRuntime.jsx(_,{text:o})]})},Tg=ai;var P3={ButtonRadioGroup:ZC,Container:BC,Checkbox:YA,CheckboxGroup:CC,CheckboxCardGroup:gC,InputLabel:G,DateSelect:Sg,TextInput:m3,Text:GA,TimePicker:Rg,TimeSelect:xg,Radio:NA,RadioGroup:TC,CardRadioGroup:YC,Number:uC,Select:Bg,SelectMenu:ig,Signature:UC,Submit:Lg,LocationSelect:Vg,Keyword:Mg,Toggle:F7,FileUpload:Fg,Tree:yg,DateDropdown:Tg};var Vi=()=>Array.from({length:12},(C,g)=>({label:new Date(g,g).toLocaleString("en-US",{month:"long"}),value:g+1})),Ri=(A,C)=>{let g=A||1,E=C||2024,B=new Date(E,g,0).getDate();return Array.from({length:B},(Q,e)=>({label:e+1,value:e+1}))},Pi=()=>Array.from({length:100},(C,g)=>{let E=new Date().getFullYear()-g;return {label:E,value:E}}),qi=({label:A="",onChange:C=()=>null,defaultValue:g=null,hasError:E=!1})=>{let B=co.useRef(null),[I,Q]=co.useState(!1),e=null;g&&(e=new Date(g));let t=reactHookForm.useForm({defaultValues:e?{month:e.getMonth()+1,day:e.getDate(),year:e.getFullYear()}:{month:null,day:null,year:null}}),o=t.watch(),r=Ri(o?.month,o?.year);return co.useEffect(()=>{let i=r.find(L=>L.value===o.day);if(o.month&&o.day&&o.year&&i){let L=new Date(o.year,o.month-1,o.day);C(L);}else C(null);},[o.month,o.day,o.year]),co.useEffect(()=>{B.current&&Q(!0);},[B,I]),jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsx("div",{ref:B}),I&&reactDom.createPortal(jsxRuntime.jsx(P3.Container,{formMethods:t,onSubmit:()=>null,children:jsxRuntime.jsxs(j2,{vertical:!0,gap:12,children:[jsxRuntime.jsx(h.Header,{size:"sm",children:A}),jsxRuntime.jsxs(E9,{gap:8,hasError:E,children:[jsxRuntime.jsx(P3.SelectMenu,{name:"month",options:Vi(),placeholder:"Month",containerStyle:{width:"100%"},sort:!1}),jsxRuntime.jsx(P3.SelectMenu,{name:"day",options:r,placeholder:"Day",containerStyle:{width:"100%"},sort:!1}),jsxRuntime.jsx(P3.SelectMenu,{name:"year",options:Pi(),placeholder:"Year",containerStyle:{width:"100%"}})]})]})}),B.current||document.body)]})},K7=qi;var Hi=({style:A={width:50,borderWidth:2,borderColor:"#d4e2dd"},type:C="horizontal",...g})=>jsxRuntime.jsx(antd.Divider,{style:A,type:C,...g}),Mi=Hi;var Zg=T__default.default(({className:A,...C})=>jsxRuntime.jsx(antd.Drawer,{rootClassName:A,classNames:{content:A},...C}))`
1745
+ `;var ai=({label:A="",name:C,formOptions:g={},containerStyle:E={}})=>{let{formState:{errors:B,defaultValues:I},register:Q,setValue:e}=reactHookForm.useFormContext();Q(C,g);let t=!!reactHookForm.get(B,C),r=reactHookForm.get(B,C)?.message?.toString();return jsxRuntime.jsxs(Og,{style:E,children:[jsxRuntime.jsx(K7,{label:A,onChange:o=>e(C,o),hasError:t,defaultValue:I?.[C]}),t&&jsxRuntime.jsx(_,{text:r})]})},Tg=ai;var P3={ButtonRadioGroup:ZC,Container:BC,Checkbox:YA,CheckboxGroup:CC,CheckboxCardGroup:gC,InputLabel:G,DateSelect:Sg,TextInput:m3,Text:GA,TimePicker:Rg,TimeSelect:xg,Radio:NA,RadioGroup:TC,CardRadioGroup:YC,Number:uC,Select:Bg,SelectMenu:ig,Signature:UC,Submit:Lg,LocationSelect:Vg,Keyword:Mg,Toggle:F7,FileUpload:Fg,Tree:yg,DateDropdown:Tg};var Vi=()=>Array.from({length:12},(C,g)=>({label:new Date(g,g).toLocaleString("en-US",{month:"long"}),value:g+1})),Ri=(A,C)=>{let g=A||1,E=C||2024,B=new Date(E,g,0).getDate();return Array.from({length:B},(Q,e)=>({label:e+1,value:e+1}))},Pi=()=>Array.from({length:100},(C,g)=>{let E=new Date().getFullYear()-g;return {label:E,value:E}}),qi=({label:A="",onChange:C=()=>null,defaultValue:g=null,hasError:E=!1})=>{let B=co.useRef(null),[I,Q]=co.useState(!1),e=null;g&&(e=new Date(g));let t=reactHookForm.useForm({defaultValues:e?{month:e.getMonth()+1,day:e.getDate(),year:e.getFullYear()}:{month:null,day:null,year:null}}),r=t.watch(),o=Ri(r?.month,r?.year);return co.useEffect(()=>{let i=o.find(L=>L.value===r.day);if(r.month&&r.day&&r.year&&i){let L=new Date(r.year,r.month-1,r.day);C(L);}else C(null);},[r.month,r.day,r.year]),co.useEffect(()=>{B.current&&Q(!0);},[B,I]),jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsx("div",{ref:B}),I&&reactDom.createPortal(jsxRuntime.jsx(P3.Container,{formMethods:t,onSubmit:()=>null,children:jsxRuntime.jsxs(j2,{vertical:!0,gap:12,children:[jsxRuntime.jsx(h.Header,{size:"sm",children:A}),jsxRuntime.jsxs(E9,{gap:8,hasError:E,children:[jsxRuntime.jsx(P3.SelectMenu,{name:"month",options:Vi(),placeholder:"Month",containerStyle:{width:"100%"},sort:!1}),jsxRuntime.jsx(P3.SelectMenu,{name:"day",options:o,placeholder:"Day",containerStyle:{width:"100%"},sort:!1}),jsxRuntime.jsx(P3.SelectMenu,{name:"year",options:Pi(),placeholder:"Year",containerStyle:{width:"100%"}})]})]})}),B.current||document.body)]})},K7=qi;var Hi=({style:A={width:50,borderWidth:2,borderColor:"#d4e2dd"},type:C="horizontal",...g})=>jsxRuntime.jsx(antd.Divider,{style:A,type:C,...g}),Mi=Hi;var Zg=T__default.default(({className:A,...C})=>jsxRuntime.jsx(antd.Drawer,{rootClassName:A,classNames:{content:A},...C}))`
1746
1746
  --border-radius: ${A=>A.placement==="bottom"?32:0}px;
1747
1747
 
1748
1748
  &.ant-drawer-content {
@@ -2033,7 +2033,7 @@ The mask that was received is: ${JSON.stringify(A)}`);return A.map(g=>g instance
2033
2033
  }
2034
2034
 
2035
2035
  ${EE}
2036
- `;function T7({className:A="",isActive:C=!1,color:g="#000"}){let E=web.useSpring(C?{transform:"rotate(0deg)",config:web.config.stiff}:{transform:"rotate(180deg)",config:web.config.stiff});return jsxRuntime.jsx(web.animated.div,{className:A,style:{...E,display:"flex",alignItems:"center"},children:jsxRuntime.jsx(j.Caret,{direction:"up",color:g})})}var LE={overflow:"auto",position:"anchor",viewScroll:"auto",boundingBoxPadding:"20 0 50 0",gap:10,transition:!0,transitionTimeout:50},ln=({children:A,cta:C,onItemClick:g=()=>null,onMenuChange:E=()=>null,className:B="",expandIconClassName:I="",menuProps:Q={menuButton:null},caretColor:e="#000",borderColor:t="#555555"})=>{let o=co.useRef(null),[r,i]=reactMenu.useMenuState({transition:!0}),L=reactMenu.useClick(r.state,i),s=r.state==="open"||r.state==="opening";return co.useEffect(()=>{E(r.state);},[r.state]),jsxRuntime.jsx(jsxRuntime.Fragment,{children:jsxRuntime.jsxs(IE,{className:`${B} ${s?"menu-open":"menu-closed"}`,ref:o,borderColor:t,...L,children:[jsxRuntime.jsx(gE,{children:C}),jsxRuntime.jsx(T7,{className:I,isActive:s,color:e}),jsxRuntime.jsx(reactMenu.ControlledMenu,{...r,anchorRef:o,onClose:()=>i(!1),onItemClick:g,onMenuChange:E,...LE,...Q,children:A})]})})},fn=({children:A,cta:C,onItemClick:g=()=>null,onMenuChange:E=()=>null,className:B="",menuProps:I={menuButton:null}})=>{let Q=co.useRef(null),[e,t]=reactMenu.useMenuState({transition:!0}),o=reactMenu.useClick(e.state,t),r=e.state==="open"||e.state==="opening";return co.useEffect(()=>{E(e.state);},[e.state]),jsxRuntime.jsx(jsxRuntime.Fragment,{children:jsxRuntime.jsxs(BE,{className:`${B} ${r?"menu-open":"menu-closed"}`,ref:Q,...o,children:[C,jsxRuntime.jsx(reactMenu.ControlledMenu,{...e,anchorRef:Q,onClose:()=>t(!1),onItemClick:g,onMenuChange:E,...LE,...I,children:A})]})})},dn=({label:A,className:C=""})=>jsxRuntime.jsx(reactMenu.MenuButton,{className:C,children:A}),pn=({label:A,value:C,selected:g=!1,onClick:E=()=>null,disabled:B=!1,linkTo:I="",className:Q=""})=>jsxRuntime.jsx(reactMenu.MenuItem,{className:`${Q} ${g?"active":"inactive"}`,value:C,onClick:E,href:I,disabled:B,children:A}),cn=({value:A,onChange:C=()=>null,className:g=""})=>jsxRuntime.jsx(reactMenu.FocusableItem,{children:({ref:E})=>jsxRuntime.jsx("input",{className:g,ref:E,type:"text",placeholder:"Type to filter",value:A,onChange:C})}),un=({children:A,className:C=""})=>jsxRuntime.jsx(reactMenu.MenuHeader,{className:C,children:A}),hn=({className:A=""})=>jsxRuntime.jsx(reactMenu.MenuDivider,{className:A}),vn={Button:dn,Container:ln,Wrapper:fn,Search:cn,Divider:hn,Header:un,Item:pn};var lE=T__default.default.div`
2036
+ `;function T7({className:A="",isActive:C=!1,color:g="#000"}){let E=web.useSpring(C?{transform:"rotate(0deg)",config:web.config.stiff}:{transform:"rotate(180deg)",config:web.config.stiff});return jsxRuntime.jsx(web.animated.div,{className:A,style:{...E,display:"flex",alignItems:"center"},children:jsxRuntime.jsx(j.Caret,{direction:"up",color:g})})}var LE={overflow:"auto",position:"anchor",viewScroll:"auto",boundingBoxPadding:"20 0 50 0",gap:10,transition:!0,transitionTimeout:50},ln=({children:A,cta:C,onItemClick:g=()=>null,onMenuChange:E=()=>null,className:B="",expandIconClassName:I="",menuProps:Q={menuButton:null},caretColor:e="#000",borderColor:t="#555555"})=>{let r=co.useRef(null),[o,i]=reactMenu.useMenuState({transition:!0}),L=reactMenu.useClick(o.state,i),s=o.state==="open"||o.state==="opening";return co.useEffect(()=>{E(o.state);},[o.state]),jsxRuntime.jsx(jsxRuntime.Fragment,{children:jsxRuntime.jsxs(IE,{className:`${B} ${s?"menu-open":"menu-closed"}`,ref:r,borderColor:t,...L,children:[jsxRuntime.jsx(gE,{children:C}),jsxRuntime.jsx(T7,{className:I,isActive:s,color:e}),jsxRuntime.jsx(reactMenu.ControlledMenu,{...o,anchorRef:r,onClose:()=>i(!1),onItemClick:g,onMenuChange:E,...LE,...Q,children:A})]})})},fn=({children:A,cta:C,onItemClick:g=()=>null,onMenuChange:E=()=>null,className:B="",menuProps:I={menuButton:null}})=>{let Q=co.useRef(null),[e,t]=reactMenu.useMenuState({transition:!0}),r=reactMenu.useClick(e.state,t),o=e.state==="open"||e.state==="opening";return co.useEffect(()=>{E(e.state);},[e.state]),jsxRuntime.jsx(jsxRuntime.Fragment,{children:jsxRuntime.jsxs(BE,{className:`${B} ${o?"menu-open":"menu-closed"}`,ref:Q,...r,children:[C,jsxRuntime.jsx(reactMenu.ControlledMenu,{...e,anchorRef:Q,onClose:()=>t(!1),onItemClick:g,onMenuChange:E,...LE,...I,children:A})]})})},dn=({label:A,className:C=""})=>jsxRuntime.jsx(reactMenu.MenuButton,{className:C,children:A}),pn=({label:A,value:C,selected:g=!1,onClick:E=()=>null,disabled:B=!1,linkTo:I="",className:Q=""})=>jsxRuntime.jsx(reactMenu.MenuItem,{className:`${Q} ${g?"active":"inactive"}`,value:C,onClick:E,href:I,disabled:B,children:A}),cn=({value:A,onChange:C=()=>null,className:g=""})=>jsxRuntime.jsx(reactMenu.FocusableItem,{children:({ref:E})=>jsxRuntime.jsx("input",{className:g,ref:E,type:"text",placeholder:"Type to filter",value:A,onChange:C})}),un=({children:A,className:C=""})=>jsxRuntime.jsx(reactMenu.MenuHeader,{className:C,children:A}),hn=({className:A=""})=>jsxRuntime.jsx(reactMenu.MenuDivider,{className:A}),vn={Button:dn,Container:ln,Wrapper:fn,Search:cn,Divider:hn,Header:un,Item:pn};var lE=T__default.default.div`
2037
2037
  --steps-number: ${A=>A.steps};
2038
2038
 
2039
2039
  display: grid;
@@ -2172,7 +2172,7 @@ The mask that was received is: ${JSON.stringify(A)}`);return A.map(g=>g instance
2172
2172
  top: 0;
2173
2173
  left: ${({isWide:A})=>A?"-3px":"-2px"};
2174
2174
  width: ${({isWide:A})=>A?"2px":"1px"};
2175
- background-color: #347866;
2175
+ background: ${({showGradient:A,gradientPercent:C})=>A?`linear-gradient(#fff, #347866 ${C?`${C}%`:""})`:"#347866"};
2176
2176
  z-index: -1;
2177
2177
  height: ${({lineHeight:A})=>`${A}px`};
2178
2178
  `,RE=T__default.default.div`
@@ -2225,7 +2225,7 @@ The mask that was received is: ${JSON.stringify(A)}`);return A.map(g=>g instance
2225
2225
  div * {
2226
2226
  color: ${({isActive:A})=>A?"#000":"rgba(85, 85, 85, 0.50)"};
2227
2227
  }
2228
- `;var ME=({steps:A,activeStep:C=void 0,isWide:g=!1})=>{let[E,B]=co.useState(0),I=co.useRef(null),Q=co.useRef(null);co.useEffect(()=>{if(Q.current&&I.current){let o=Q.current.getBoundingClientRect().top,r=I.current.getBoundingClientRect().bottom;B(r-o);}},[A]);let e=o=>o===0?Q:o===A.length-1?I:null,t=A.map((o,r)=>jsxRuntime.jsxs(mE,{children:[o?.icon&&o?.iconOnly?jsxRuntime.jsx(PE,{children:o.icon}):jsxRuntime.jsx("div",{children:jsxRuntime.jsx(RE,{hideBorder:!!o?.icon,isActive:C===r,children:o?.icon?o.icon:r+1})}),jsxRuntime.jsxs(qE,{children:[jsxRuntime.jsx(xE,{isActive:C===r,ref:e(r),children:o.title}),jsxRuntime.jsx(UE,{isActive:C===r,children:o.description})]})]},o.title.toString()));return jsxRuntime.jsxs(wE,{children:[t,jsxRuntime.jsx(VE,{lineHeight:E,isWide:g})]})};var Pn={Horizontal:vE,Vertical:ME};var Hn=T__default.default(antd.Tag)`
2228
+ `;var ME=({steps:A,activeStep:C=void 0,isWide:g=!1,showGradient:E=!1})=>{let[B,I]=co.useState(0),Q=co.useRef(null),e=co.useRef(null);co.useEffect(()=>{if(e.current&&Q.current){let o=e.current.getBoundingClientRect().top,i=Q.current.getBoundingClientRect().bottom;I(i-o);}},[A]);let t=o=>o===0?e:o===A.length-1?Q:null,r=A.map((o,i)=>jsxRuntime.jsxs(mE,{children:[o?.icon&&o?.iconOnly?jsxRuntime.jsx(PE,{children:o.icon}):jsxRuntime.jsx("div",{children:jsxRuntime.jsx(RE,{hideBorder:!!o?.icon,isActive:C===i,children:o?.icon?o.icon:i+1})}),jsxRuntime.jsxs(qE,{children:[jsxRuntime.jsx(xE,{isActive:C===i,ref:t(i),children:o.title}),jsxRuntime.jsx(UE,{isActive:C===i,children:o.description})]})]},o.title.toString()));return jsxRuntime.jsxs(wE,{children:[jsxRuntime.jsx(VE,{lineHeight:B,isWide:g,gradientPercent:C?C/A.length*100:void 0,showGradient:E}),r]})};var Pn={Horizontal:vE,Vertical:ME};var Hn=T__default.default(antd.Tag)`
2229
2229
  font-size: 16px;
2230
2230
  line-height: 16px;
2231
2231
  padding: ${({padding:A})=>A||"4px 10px"};
@@ -2282,10 +2282,10 @@ The mask that was received is: ${JSON.stringify(A)}`);return A.map(g=>g instance
2282
2282
  justify-content: center;
2283
2283
  flex: 1 1 0;
2284
2284
  flex-direction: column;
2285
- `;function W7({id:A,children:C,onClickElement:g,style:E={}}){let{attributes:B,listeners:I,setNodeRef:Q,transform:e,transition:t,isDragging:o}=sortable.useSortable({id:A}),r={...E,transform:utilities.CSS.Transform.toString(e),transition:t,opacity:o?.25:1};return jsxRuntime.jsx(aL,{style:r,ref:Q,...B,...I,onClick:()=>g(A),id:A,children:jsxRuntime.jsx(lL,{children:C})})}var wL=T__default.default.div`
2285
+ `;function W7({id:A,children:C,onClickElement:g,style:E={}}){let{attributes:B,listeners:I,setNodeRef:Q,transform:e,transition:t,isDragging:r}=sortable.useSortable({id:A}),o={...E,transform:utilities.CSS.Transform.toString(e),transition:t,opacity:r?.25:1};return jsxRuntime.jsx(aL,{style:o,ref:Q,...B,...I,onClick:()=>g(A),id:A,children:jsxRuntime.jsx(lL,{children:C})})}var wL=T__default.default.div`
2286
2286
  display: flex;
2287
2287
  flex-direction: column;
2288
- `;function KE({id:A,onClickElement:C=()=>null,elements:g=[],onChange:E,onDragOver:B=()=>null,className:I=""}){let{setNodeRef:Q}=core.useDroppable({id:A}),e=({active:r,over:i,delta:L})=>{if(Math.abs(L.x)<1&&Math.abs(L.y)<1)return C(r.id);let f=g.findIndex(x=>x.id===r.id),q=g.findIndex(x=>x.id===i?.id),d=x=>sortable.arrayMove(x,f,q);return i?.id&&B(d(g)),!1},t=({active:r,over:i,delta:L})=>{if(Math.abs(L.x)<1&&Math.abs(L.y)<1)return C(r.id);let f=g.findIndex(x=>x.id===r.id),q=g.findIndex(x=>x.id===i?.id),d=x=>sortable.arrayMove(x,f,q);return i?.id&&E(d(g)),null},o=core.useSensors(core.useSensor(r5),core.useSensor(i5));return jsxRuntime.jsx(core.DndContext,{collisionDetection:core.closestCorners,onDragOver:e,onDragEnd:t,sensors:o,children:jsxRuntime.jsx(sortable.SortableContext,{id:A,items:g,strategy:sortable.verticalListSortingStrategy,children:jsxRuntime.jsx(wL,{ref:Q,className:I,children:g.map(r=>jsxRuntime.jsx(W7,{onClickElement:C,id:r.id,children:r.children},r.id))})})})}var mL=()=>jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"8",height:"12",viewBox:"0 0 8 12",fill:"none",children:jsxRuntime.jsx("path",{d:"M6.17984 0L7.58984 1.41L3.00984 6L7.58984 10.59L6.17984 12L0.179844 6L6.17984 0Z",fill:"#555555"})}),"Previous"]}),VL=()=>jsxRuntime.jsxs(jsxRuntime.Fragment,{children:["Next",jsxRuntime.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"8",height:"12",viewBox:"0 0 8 12",fill:"none",children:jsxRuntime.jsx("path",{d:"M1.99984 0L0.589844 1.41L5.16984 6L0.589844 10.59L1.99984 12L7.99984 6L1.99984 0Z",fill:"#555555"})})]}),G7={Previous:mL,Next:VL};T__default.default.header`
2288
+ `;function KE({id:A,onClickElement:C=()=>null,elements:g=[],onChange:E,onDragOver:B=()=>null,className:I=""}){let{setNodeRef:Q}=core.useDroppable({id:A}),e=({active:o,over:i,delta:L})=>{if(Math.abs(L.x)<1&&Math.abs(L.y)<1)return C(o.id);let f=g.findIndex(x=>x.id===o.id),q=g.findIndex(x=>x.id===i?.id),d=x=>sortable.arrayMove(x,f,q);return i?.id&&B(d(g)),!1},t=({active:o,over:i,delta:L})=>{if(Math.abs(L.x)<1&&Math.abs(L.y)<1)return C(o.id);let f=g.findIndex(x=>x.id===o.id),q=g.findIndex(x=>x.id===i?.id),d=x=>sortable.arrayMove(x,f,q);return i?.id&&E(d(g)),null},r=core.useSensors(core.useSensor(r5),core.useSensor(i5));return jsxRuntime.jsx(core.DndContext,{collisionDetection:core.closestCorners,onDragOver:e,onDragEnd:t,sensors:r,children:jsxRuntime.jsx(sortable.SortableContext,{id:A,items:g,strategy:sortable.verticalListSortingStrategy,children:jsxRuntime.jsx(wL,{ref:Q,className:I,children:g.map(o=>jsxRuntime.jsx(W7,{onClickElement:C,id:o.id,children:o.children},o.id))})})})}var mL=()=>jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"8",height:"12",viewBox:"0 0 8 12",fill:"none",children:jsxRuntime.jsx("path",{d:"M6.17984 0L7.58984 1.41L3.00984 6L7.58984 10.59L6.17984 12L0.179844 6L6.17984 0Z",fill:"#555555"})}),"Previous"]}),VL=()=>jsxRuntime.jsxs(jsxRuntime.Fragment,{children:["Next",jsxRuntime.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"8",height:"12",viewBox:"0 0 8 12",fill:"none",children:jsxRuntime.jsx("path",{d:"M1.99984 0L0.589844 1.41L5.16984 6L0.589844 10.59L1.99984 12L7.99984 6L1.99984 0Z",fill:"#555555"})})]}),G7={Previous:mL,Next:VL};T__default.default.header`
2289
2289
  display: flex;
2290
2290
  justify-content: space-between;
2291
2291
  margin-bottom: 1rem;
@@ -2537,7 +2537,7 @@ The mask that was received is: ${JSON.stringify(A)}`);return A.map(g=>g instance
2537
2537
  margin: 0;
2538
2538
  line-height: 12px;
2539
2539
  color: #1d4339;
2540
- `,Bs=({contentfulConfig:A,size:C=58})=>{let[g,E]=co.useState(""),[B,I]=web.useSpring(()=>({from:{width:C+24,backgroundColor:"#fff",color:"#ffffff"}}));co.useEffect(()=>{new x3(A).getImage("vanta-logo").then(L=>{E(L);});},[]);let[Q,e]=web.useSpring(()=>({from:{opacity:0},delay:100})),t=L=>({width:L?198+C:C+24,backgroundColor:L?"#d4e2dd":"#fff"}),o=L=>({opacity:L?1:0}),r=()=>{I(t(!0)),e(o(!0));},i=()=>{I(t(!1)),e(o(!1));};return g?jsxRuntime.jsxs(As,{style:B,onMouseEnter:r,onMouseLeave:i,size:C,children:[jsxRuntime.jsx("img",{alt:"Vanta Logo",src:g,height:C,width:C}),jsxRuntime.jsxs(Cs,{style:Q,children:[jsxRuntime.jsx(h.Body,{children:jsxRuntime.jsx(gs,{children:"Guaranteed Security"})}),jsxRuntime.jsx(h.Body,{size:"xs",children:jsxRuntime.jsx(Es,{children:"We're committed to protecting your privacy. Solace is safe, secure, and HIPAA compliant\u2014 certified by Vanta."})})]})]}):null},Is=Bs;var es=({style:A={},...C})=>jsxRuntime.jsx(antd.DatePicker,{open:!0,style:{marginTop:"-30px",marginBottom:"350px",visibility:"hidden",width:"100%",...A},...C}),os=es;/*! Bundled license information:
2540
+ `,Bs=({contentfulConfig:A,size:C=58})=>{let[g,E]=co.useState(""),[B,I]=web.useSpring(()=>({from:{width:C+24,backgroundColor:"#fff",color:"#ffffff"}}));co.useEffect(()=>{new x3(A).getImage("vanta-logo").then(L=>{E(L);});},[]);let[Q,e]=web.useSpring(()=>({from:{opacity:0},delay:100})),t=L=>({width:L?198+C:C+24,backgroundColor:L?"#d4e2dd":"#fff"}),r=L=>({opacity:L?1:0}),o=()=>{I(t(!0)),e(r(!0));},i=()=>{I(t(!1)),e(r(!1));};return g?jsxRuntime.jsxs(As,{style:B,onMouseEnter:o,onMouseLeave:i,size:C,children:[jsxRuntime.jsx("img",{alt:"Vanta Logo",src:g,height:C,width:C}),jsxRuntime.jsxs(Cs,{style:Q,children:[jsxRuntime.jsx(h.Body,{children:jsxRuntime.jsx(gs,{children:"Guaranteed Security"})}),jsxRuntime.jsx(h.Body,{size:"xs",children:jsxRuntime.jsx(Es,{children:"We're committed to protecting your privacy. Solace is safe, secure, and HIPAA compliant\u2014 certified by Vanta."})})]})]}):null},Is=Bs;var es=({style:A={},...C})=>jsxRuntime.jsx(antd.DatePicker,{open:!0,style:{marginTop:"-30px",marginBottom:"350px",visibility:"hidden",width:"100%",...A},...C}),os=es;/*! Bundled license information:
2541
2541
 
2542
2542
  react-is/cjs/react-is.production.min.js:
2543
2543
  (** @license React v16.13.1