peercore-ui-library 1.0.21 → 1.0.22

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.es.js CHANGED
@@ -6,9 +6,9 @@ import e,{useState as n,useRef as t,useEffect as r,useMemo as l,useId as o}from"
6
6
  *
7
7
  * This source code is licensed under the MIT license found in the
8
8
  * LICENSE file in the root directory of this source tree.
9
- */function j(){return f||(f=1,"production"===process.env.NODE_ENV?u.exports=function(){if(d)return h;d=1;var e="function"==typeof Symbol&&Symbol.for,n=e?Symbol.for("react.element"):60103,t=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,l=e?Symbol.for("react.strict_mode"):60108,o=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,i=e?Symbol.for("react.context"):60110,s=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,p=e?Symbol.for("react.forward_ref"):60112,u=e?Symbol.for("react.suspense"):60113,m=e?Symbol.for("react.suspense_list"):60120,f=e?Symbol.for("react.memo"):60115,g=e?Symbol.for("react.lazy"):60116,v=e?Symbol.for("react.block"):60121,y=e?Symbol.for("react.fundamental"):60117,b=e?Symbol.for("react.responder"):60118,w=e?Symbol.for("react.scope"):60119;function x(e){if("object"==typeof e&&null!==e){var d=e.$$typeof;switch(d){case n:switch(e=e.type){case s:case c:case r:case o:case l:case u:return e;default:switch(e=e&&e.$$typeof){case i:case p:case g:case f:case a:return e;default:return d}}case t:return d}}}function C(e){return x(e)===c}return h.AsyncMode=s,h.ConcurrentMode=c,h.ContextConsumer=i,h.ContextProvider=a,h.Element=n,h.ForwardRef=p,h.Fragment=r,h.Lazy=g,h.Memo=f,h.Portal=t,h.Profiler=o,h.StrictMode=l,h.Suspense=u,h.isAsyncMode=function(e){return C(e)||x(e)===s},h.isConcurrentMode=C,h.isContextConsumer=function(e){return x(e)===i},h.isContextProvider=function(e){return x(e)===a},h.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},h.isForwardRef=function(e){return x(e)===p},h.isFragment=function(e){return x(e)===r},h.isLazy=function(e){return x(e)===g},h.isMemo=function(e){return x(e)===f},h.isPortal=function(e){return x(e)===t},h.isProfiler=function(e){return x(e)===o},h.isStrictMode=function(e){return x(e)===l},h.isSuspense=function(e){return x(e)===u},h.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===r||e===c||e===o||e===l||e===u||e===m||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===f||e.$$typeof===a||e.$$typeof===i||e.$$typeof===p||e.$$typeof===y||e.$$typeof===b||e.$$typeof===w||e.$$typeof===v)},h.typeOf=x,h}():u.exports=(m||(m=1,"production"!==process.env.NODE_ENV&&function(){var e="function"==typeof Symbol&&Symbol.for,n=e?Symbol.for("react.element"):60103,t=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,l=e?Symbol.for("react.strict_mode"):60108,o=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,i=e?Symbol.for("react.context"):60110,s=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,d=e?Symbol.for("react.forward_ref"):60112,p=e?Symbol.for("react.suspense"):60113,u=e?Symbol.for("react.suspense_list"):60120,h=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,f=e?Symbol.for("react.block"):60121,g=e?Symbol.for("react.fundamental"):60117,v=e?Symbol.for("react.responder"):60118,y=e?Symbol.for("react.scope"):60119;function b(e){if("object"==typeof e&&null!==e){var u=e.$$typeof;switch(u){case n:var f=e.type;switch(f){case s:case c:case r:case o:case l:case p:return f;default:var g=f&&f.$$typeof;switch(g){case i:case d:case m:case h:case a:return g;default:return u}}case t:return u}}}var w=s,x=c,C=i,N=a,k=n,S=d,M=r,O=m,T=h,$=t,j=o,z=l,E=p,V=!1;function A(e){return b(e)===c}L.AsyncMode=w,L.ConcurrentMode=x,L.ContextConsumer=C,L.ContextProvider=N,L.Element=k,L.ForwardRef=S,L.Fragment=M,L.Lazy=O,L.Memo=T,L.Portal=$,L.Profiler=j,L.StrictMode=z,L.Suspense=E,L.isAsyncMode=function(e){return V||(V=!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.")),A(e)||b(e)===s},L.isConcurrentMode=A,L.isContextConsumer=function(e){return b(e)===i},L.isContextProvider=function(e){return b(e)===a},L.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},L.isForwardRef=function(e){return b(e)===d},L.isFragment=function(e){return b(e)===r},L.isLazy=function(e){return b(e)===m},L.isMemo=function(e){return b(e)===h},L.isPortal=function(e){return b(e)===t},L.isProfiler=function(e){return b(e)===o},L.isStrictMode=function(e){return b(e)===l},L.isSuspense=function(e){return b(e)===p},L.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===r||e===c||e===o||e===l||e===p||e===u||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===h||e.$$typeof===a||e.$$typeof===i||e.$$typeof===d||e.$$typeof===g||e.$$typeof===v||e.$$typeof===y||e.$$typeof===f)},L.typeOf=b}()),L)),u.exports}
9
+ */function j(){return f||(f=1,"production"===process.env.NODE_ENV?u.exports=function(){if(d)return h;d=1;var e="function"==typeof Symbol&&Symbol.for,n=e?Symbol.for("react.element"):60103,t=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,l=e?Symbol.for("react.strict_mode"):60108,o=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,i=e?Symbol.for("react.context"):60110,s=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,p=e?Symbol.for("react.forward_ref"):60112,u=e?Symbol.for("react.suspense"):60113,m=e?Symbol.for("react.suspense_list"):60120,f=e?Symbol.for("react.memo"):60115,g=e?Symbol.for("react.lazy"):60116,v=e?Symbol.for("react.block"):60121,y=e?Symbol.for("react.fundamental"):60117,b=e?Symbol.for("react.responder"):60118,w=e?Symbol.for("react.scope"):60119;function x(e){if("object"==typeof e&&null!==e){var d=e.$$typeof;switch(d){case n:switch(e=e.type){case s:case c:case r:case o:case l:case u:return e;default:switch(e=e&&e.$$typeof){case i:case p:case g:case f:case a:return e;default:return d}}case t:return d}}}function C(e){return x(e)===c}return h.AsyncMode=s,h.ConcurrentMode=c,h.ContextConsumer=i,h.ContextProvider=a,h.Element=n,h.ForwardRef=p,h.Fragment=r,h.Lazy=g,h.Memo=f,h.Portal=t,h.Profiler=o,h.StrictMode=l,h.Suspense=u,h.isAsyncMode=function(e){return C(e)||x(e)===s},h.isConcurrentMode=C,h.isContextConsumer=function(e){return x(e)===i},h.isContextProvider=function(e){return x(e)===a},h.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},h.isForwardRef=function(e){return x(e)===p},h.isFragment=function(e){return x(e)===r},h.isLazy=function(e){return x(e)===g},h.isMemo=function(e){return x(e)===f},h.isPortal=function(e){return x(e)===t},h.isProfiler=function(e){return x(e)===o},h.isStrictMode=function(e){return x(e)===l},h.isSuspense=function(e){return x(e)===u},h.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===r||e===c||e===o||e===l||e===u||e===m||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===f||e.$$typeof===a||e.$$typeof===i||e.$$typeof===p||e.$$typeof===y||e.$$typeof===b||e.$$typeof===w||e.$$typeof===v)},h.typeOf=x,h}():u.exports=(m||(m=1,"production"!==process.env.NODE_ENV&&function(){var e="function"==typeof Symbol&&Symbol.for,n=e?Symbol.for("react.element"):60103,t=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,l=e?Symbol.for("react.strict_mode"):60108,o=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,i=e?Symbol.for("react.context"):60110,s=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,d=e?Symbol.for("react.forward_ref"):60112,p=e?Symbol.for("react.suspense"):60113,u=e?Symbol.for("react.suspense_list"):60120,h=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,f=e?Symbol.for("react.block"):60121,g=e?Symbol.for("react.fundamental"):60117,v=e?Symbol.for("react.responder"):60118,y=e?Symbol.for("react.scope"):60119;function b(e){if("object"==typeof e&&null!==e){var u=e.$$typeof;switch(u){case n:var f=e.type;switch(f){case s:case c:case r:case o:case l:case p:return f;default:var g=f&&f.$$typeof;switch(g){case i:case d:case m:case h:case a:return g;default:return u}}case t:return u}}}var w=s,x=c,C=i,N=a,k=n,S=d,M=r,O=m,T=h,$=t,j=o,E=l,z=p,V=!1;function A(e){return b(e)===c}L.AsyncMode=w,L.ConcurrentMode=x,L.ContextConsumer=C,L.ContextProvider=N,L.Element=k,L.ForwardRef=S,L.Fragment=M,L.Lazy=O,L.Memo=T,L.Portal=$,L.Profiler=j,L.StrictMode=E,L.Suspense=z,L.isAsyncMode=function(e){return V||(V=!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.")),A(e)||b(e)===s},L.isConcurrentMode=A,L.isContextConsumer=function(e){return b(e)===i},L.isContextProvider=function(e){return b(e)===a},L.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},L.isForwardRef=function(e){return b(e)===d},L.isFragment=function(e){return b(e)===r},L.isLazy=function(e){return b(e)===m},L.isMemo=function(e){return b(e)===h},L.isPortal=function(e){return b(e)===t},L.isProfiler=function(e){return b(e)===o},L.isStrictMode=function(e){return b(e)===l},L.isSuspense=function(e){return b(e)===p},L.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===r||e===c||e===o||e===l||e===p||e===u||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===h||e.$$typeof===a||e.$$typeof===i||e.$$typeof===d||e.$$typeof===g||e.$$typeof===v||e.$$typeof===y||e.$$typeof===f)},L.typeOf=b}()),L)),u.exports}
10
10
  /*
11
11
  object-assign
12
12
  (c) Sindre Sorhus
13
13
  @license MIT
14
- */function z(){if(v)return g;v=1;var e=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,t=Object.prototype.propertyIsEnumerable;return g=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var n={},t=0;t<10;t++)n["_"+String.fromCharCode(t)]=t;if("0123456789"!==Object.getOwnPropertyNames(n).map(function(e){return n[e]}).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach(function(e){r[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(r,l){for(var o,a,i=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(r),s=1;s<arguments.length;s++){for(var c in o=Object(arguments[s]))n.call(o,c)&&(i[c]=o[c]);if(e){a=e(o);for(var d=0;d<a.length;d++)t.call(o,a[d])&&(i[a[d]]=o[a[d]])}}return i},g}function E(){if(b)return y;b=1;return y="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}function V(){return x?w:(x=1,w=Function.call.bind(Object.prototype.hasOwnProperty))}function A(){if(N)return C;N=1;var e=function(){};if("production"!==process.env.NODE_ENV){var n=E(),t={},r=V();e=function(e){var n="Warning: "+e;"undefined"!=typeof console&&console.error(n);try{throw new Error(n)}catch(e){}}}function l(l,o,a,i,s){if("production"!==process.env.NODE_ENV)for(var c in l)if(r(l,c)){var d;try{if("function"!=typeof l[c]){var p=Error((i||"React class")+": "+a+" type `"+c+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof l[c]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw p.name="Invariant Violation",p}d=l[c](o,c,i,a,null,n)}catch(e){d=e}if(!d||d instanceof Error||e((i||"React class")+": type specification of "+a+" `"+c+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof d+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),d instanceof Error&&!(d.message in t)){t[d.message]=!0;var u=s?s():"";e("Failed "+a+" type: "+d.message+(null!=u?u:""))}}}return l.resetWarningCache=function(){"production"!==process.env.NODE_ENV&&(t={})},C=l}function H(){if(S)return k;S=1;var e=j(),n=z(),t=E(),r=V(),l=A(),o=function(){};function a(){return null}return"production"!==process.env.NODE_ENV&&(o=function(e){var n="Warning: "+e;"undefined"!=typeof console&&console.error(n);try{throw new Error(n)}catch(e){}}),k=function(i,s){var c="function"==typeof Symbol&&Symbol.iterator;var d="<<anonymous>>",p={array:f("array"),bigint:f("bigint"),bool:f("boolean"),func:f("function"),number:f("number"),object:f("object"),string:f("string"),symbol:f("symbol"),any:m(a),arrayOf:function(e){return m(function(n,r,l,o,a){if("function"!=typeof e)return new h("Property `"+a+"` of component `"+l+"` has invalid PropType notation inside arrayOf.");var i=n[r];if(!Array.isArray(i))return new h("Invalid "+o+" `"+a+"` of type `"+y(i)+"` supplied to `"+l+"`, expected an array.");for(var s=0;s<i.length;s++){var c=e(i,s,l,o,a+"["+s+"]",t);if(c instanceof Error)return c}return null})},element:m(function(e,n,t,r,l){var o=e[n];return i(o)?null:new h("Invalid "+r+" `"+l+"` of type `"+y(o)+"` supplied to `"+t+"`, expected a single ReactElement.")}),elementType:m(function(n,t,r,l,o){var a=n[t];return e.isValidElementType(a)?null:new h("Invalid "+l+" `"+o+"` of type `"+y(a)+"` supplied to `"+r+"`, expected a single ReactElement type.")}),instanceOf:function(e){return m(function(n,t,r,l,o){if(!(n[t]instanceof e)){var a=e.name||d;return new h("Invalid "+l+" `"+o+"` of type `"+(((i=n[t]).constructor&&i.constructor.name?i.constructor.name:d)+"` supplied to `")+r+"`, expected instance of `"+a+"`.")}var i;return null})},node:m(function(e,n,t,r,l){return v(e[n])?null:new h("Invalid "+r+" `"+l+"` supplied to `"+t+"`, expected a ReactNode.")}),objectOf:function(e){return m(function(n,l,o,a,i){if("function"!=typeof e)return new h("Property `"+i+"` of component `"+o+"` has invalid PropType notation inside objectOf.");var s=n[l],c=y(s);if("object"!==c)return new h("Invalid "+a+" `"+i+"` of type `"+c+"` supplied to `"+o+"`, expected an object.");for(var d in s)if(r(s,d)){var p=e(s,d,o,a,i+"."+d,t);if(p instanceof Error)return p}return null})},oneOf:function(e){if(!Array.isArray(e))return"production"!==process.env.NODE_ENV&&o(arguments.length>1?"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]).":"Invalid argument supplied to oneOf, expected an array."),a;return m(function(n,t,r,l,o){for(var a=n[t],i=0;i<e.length;i++)if(u(a,e[i]))return null;var s=JSON.stringify(e,function(e,n){return"symbol"===b(n)?String(n):n});return new h("Invalid "+l+" `"+o+"` of value `"+String(a)+"` supplied to `"+r+"`, expected one of "+s+".")})},oneOfType:function(e){if(!Array.isArray(e))return"production"!==process.env.NODE_ENV&&o("Invalid argument supplied to oneOfType, expected an instance of array."),a;for(var n=0;n<e.length;n++){var l=e[n];if("function"!=typeof l)return o("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+w(l)+" at index "+n+"."),a}return m(function(n,l,o,a,i){for(var s=[],c=0;c<e.length;c++){var d=(0,e[c])(n,l,o,a,i,t);if(null==d)return null;d.data&&r(d.data,"expectedType")&&s.push(d.data.expectedType)}return new h("Invalid "+a+" `"+i+"` supplied to `"+o+"`"+(s.length>0?", expected one of type ["+s.join(", ")+"]":"")+".")})},shape:function(e){return m(function(n,r,l,o,a){var i=n[r],s=y(i);if("object"!==s)return new h("Invalid "+o+" `"+a+"` of type `"+s+"` supplied to `"+l+"`, expected `object`.");for(var c in e){var d=e[c];if("function"!=typeof d)return g(l,o,a,c,b(d));var p=d(i,c,l,o,a+"."+c,t);if(p)return p}return null})},exact:function(e){return m(function(l,o,a,i,s){var c=l[o],d=y(c);if("object"!==d)return new h("Invalid "+i+" `"+s+"` of type `"+d+"` supplied to `"+a+"`, expected `object`.");var p=n({},l[o],e);for(var u in p){var m=e[u];if(r(e,u)&&"function"!=typeof m)return g(a,i,s,u,b(m));if(!m)return new h("Invalid "+i+" `"+s+"` key `"+u+"` supplied to `"+a+"`.\nBad object: "+JSON.stringify(l[o],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var f=m(c,u,a,i,s+"."+u,t);if(f)return f}return null})}};function u(e,n){return e===n?0!==e||1/e==1/n:e!=e&&n!=n}function h(e,n){this.message=e,this.data=n&&"object"==typeof n?n:{},this.stack=""}function m(e){if("production"!==process.env.NODE_ENV)var n={},r=0;function l(l,a,i,c,p,u,m){if(c=c||d,u=u||i,m!==t){if(s){var f=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 f.name="Invariant Violation",f}if("production"!==process.env.NODE_ENV&&"undefined"!=typeof console){var g=c+":"+i;!n[g]&&r<3&&(o("You are manually calling a React.PropTypes validation function for the `"+u+"` prop on `"+c+"`. 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."),n[g]=!0,r++)}}return null==a[i]?l?null===a[i]?new h("The "+p+" `"+u+"` is marked as required in `"+c+"`, but its value is `null`."):new h("The "+p+" `"+u+"` is marked as required in `"+c+"`, but its value is `undefined`."):null:e(a,i,c,p,u)}var a=l.bind(null,!1);return a.isRequired=l.bind(null,!0),a}function f(e){return m(function(n,t,r,l,o,a){var i=n[t];return y(i)!==e?new h("Invalid "+l+" `"+o+"` of type `"+b(i)+"` supplied to `"+r+"`, expected `"+e+"`.",{expectedType:e}):null})}function g(e,n,t,r,l){return new h((e||"React class")+": "+n+" type `"+t+"."+r+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+l+"`.")}function v(e){switch(typeof e){case"number":case"string":case"undefined":return!0;case"boolean":return!e;case"object":if(Array.isArray(e))return e.every(v);if(null===e||i(e))return!0;var n=function(e){var n=e&&(c&&e[c]||e["@@iterator"]);if("function"==typeof n)return n}(e);if(!n)return!1;var t,r=n.call(e);if(n!==e.entries){for(;!(t=r.next()).done;)if(!v(t.value))return!1}else for(;!(t=r.next()).done;){var l=t.value;if(l&&!v(l[1]))return!1}return!0;default:return!1}}function y(e){var n=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":function(e,n){return"symbol"===e||!!n&&("Symbol"===n["@@toStringTag"]||"function"==typeof Symbol&&n instanceof Symbol)}(n,e)?"symbol":n}function b(e){if(null==e)return""+e;var n=y(e);if("object"===n){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return n}function w(e){var n=b(e);switch(n){case"array":case"object":return"an "+n;case"boolean":case"date":case"regexp":return"a "+n;default:return n}}return h.prototype=Error.prototype,p.checkPropTypes=l,p.resetWarningCache=l.resetWarningCache,p.PropTypes=p,p},k}function q(){if(O)return M;O=1;var e=E();function n(){}function t(){}return t.resetWarningCache=n,M=function(){function r(n,t,r,l,o,a){if(a!==e){var i=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 i.name="Invariant Violation",i}}function l(){return r}r.isRequired=r;var o={array:r,bigint:r,bool:r,func:r,number:r,object:r,string:r,symbol:r,any:r,arrayOf:l,element:r,elementType:r,instanceOf:l,node:r,objectOf:l,oneOf:l,oneOfType:l,shape:l,exact:l,checkPropTypes:t,resetWarningCache:n};return o.PropTypes=o,o}}function P(){if(T)return p.exports;if(T=1,"production"!==process.env.NODE_ENV){var e=j();p.exports=H()(e.isElement,true)}else p.exports=q()();return p.exports}var D=c(P());function R({label:e,icon:n,loading:t=!1,disabled:r=!1,variant:l="primary",type:o="button",className:s="",...c}){const d=!!e;return a("button",{type:o,className:`btn btn-${l} ${s} d-flex align-items-center justify-center gap-2 ${!e&&n?"p-2":""}`,disabled:r||t,...c,children:[t&&i("span",{className:"custom-spinner"}),n&&i("span",{className:"px-2",children:n}),d&&i("span",{children:e}),i("style",{jsx:!0,children:"\n .custom-spinner {\n display: inline-block;\n width: 1rem;\n height: 1rem;\n border: 2px solid rgba(255, 255, 255, 0.3);\n border-top-color: white;\n border-radius: 50%;\n animation: spin 0.6s linear infinite;\n }\n\n @keyframes spin {\n to {\n transform: rotate(360deg);\n }\n }\n "})]})}R.propTypes={label:D.oneOfType([D.string,D.node]),icon:D.node,loading:D.bool,disabled:D.bool,variant:D.oneOf(["primary","secondary","outline-primary","outline-secondary","success","danger","warning","info","light","dark"]),type:D.oneOf(["button","submit","reset"])};const I=({title:e,children:n,isOpen:t,onToggle:r,index:l,id:o,className:c="","data-testid":d})=>{const p=o||`collapse-${l}`,u=`heading-${l}`;return a(s,{children:[a("div",{className:`accordion-item pc-accordion-item pb-0 mb-2 ${c}`.trim(),"data-testid":d,children:[i("h2",{className:"accordion-header",id:u,children:i("button",{className:"accordion-button "+(t?"":"collapsed"),type:"button",onClick:r,"aria-expanded":t,"aria-controls":p,children:"string"==typeof e?i("span",{dangerouslySetInnerHTML:{__html:e}}):e})}),i("div",{id:p,className:"accordion-collapse collapse "+(t?"show":""),"aria-labelledby":u,children:i("div",{className:"accordion-body",children:n})})]}),i("style",{jsx:!0,children:"\n .pc-accordion-item,\n .pc-accordion-item:first-of-type,\n .pc-accordion-item:last-of-type {\n border-radius: 10px;\n border: 1px solid var(--kt-input-border-color);\n overflow: hidden;\n background-color: var(--kt-card-bg);\n }\n \n "})]})},_=({children:t,singleOpen:r=!0,id:l,className:o="","data-testid":c})=>{const[d,p]=n([]),u=e.Children.map(t,(n,t)=>{if(e.isValidElement(n)){const l=d.includes(t)||!d.length&&n.props.OpenByDefault;return e.cloneElement(n,{index:t,isOpen:l,onToggle:()=>((e,n,t)=>{p(l=>{const o=l.includes(e);let a;return a=r?o?[]:[e]:o?l.filter(n=>n!==e):[...l,e],!o&&n&&n(),o&&t&&t(),a})})(t,n.props.onOpen,n.props.onClose)})}return n});return a(s,{children:[i("div",{className:`pc-accordion accordion ${o}`.trim(),id:l||"pcaccordionWrapper","data-testid":c,children:u}),i("style",{jsx:!0,children:"\n .pc-accordion{;\n }\n "})]})},B=({options:e=[],placeholder:l="Select...",onChange:o,isInvalid:s=!1,errMsg:c="",id:d,name:p,dataTestId:u,enableSearch:h=!1,selected:m=null})=>{const[f,g]=n(!1),[v,y]=n(""),b=t(null),w=t(null),[x,C]=n(null),N=null!==m?m:x;r(()=>{null!==m&&C(m)},[m]),r(()=>{const e=e=>{b.current&&!b.current.contains(e.target)&&g(!1)};return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)},[]);const k=e.filter(e=>e.label.toLowerCase().includes(v.toLowerCase()));return a("div",{className:"position-relative w-100",ref:b,children:[a("div",{className:"dropdown",children:[i("button",{type:"button",ref:w,className:"form-select pc-ele-border text-start "+(s?"invalid":""),onClick:()=>g(e=>!e),id:d,name:p,"data-testid":u,children:N?.label||l}),f&&a("div",{className:"slc-dropdown-options-wrp show w-100 pc-ele-border position-absolute top-100 start-0 z-index-2",style:{maxHeight:300},children:[h&&i("div",{className:"mb-2 px-3 py-2 border-bottom",children:i("input",{type:"text",className:"form-control pc-select-opt-input",placeholder:"Search...",value:v,onChange:e=>y(e.target.value)})}),k.length>0?k.map((e,n)=>i("span",{className:"pc-select-opt d-block w-100 py-3 px-4",type:"button",onClick:()=>(e=>{null===m&&C(e),g(!1),o?.(p,e)})(e),children:e.label},n)):i("div",{className:"text-muted px-2",children:"No results found"})]})]}),s&&c&&i("div",{className:"d-block position-absolute w-100 mt-1 pc-err-txt",style:{top:"100%"},children:c}),i("style",{jsx:!0,children:"\n .slc-dropdown-options-wrp {\n border-radius: 0.375rem;\n background-color: var(--kt-dropdown-bg);\n }\n .pc-select-opt:hover {\n background-color: var(--kt-input-solid-bg);\n }\n .pc-select-opt-input {\n margin-top: 3px;\n }\n .pc-select-opt {\n color: var(--kt-form-check-label-color-checked);\n }\n .pc-ele-border {\n border: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color);\n }\n .pc-ele-border.invalid{\n border-color: var(--kt-danger);\n }\n .pc-err-txt {\n color: var(--kt-danger);\n }\n "})]})};B.propTypes={options:D.arrayOf(D.shape({label:D.string,value:D.any})).isRequired,placeholder:D.string,onChange:D.func,isInvalid:D.bool,errMsg:D.string,id:D.string,name:D.string,dataTestId:D.string,enableSearch:D.bool};const Z=({placement:e="top",caption:n,children:t,customStyles:r,visibility:l=!0})=>a(s,{children:[a("div",{className:` tooltip-wrapper tooltip-${e}`,tabIndex:"0",children:[t,l&&i("div",{className:`tooltip-content shadow-sm ${r}`,role:"tooltip",children:n})]}),i("style",{jsx:!0,children:`\n .tooltip-wrapper {\n position: relative;\n display: inline-block;\n cursor: pointer;\n }\n\n .tooltip-content {\n position: absolute;\n z-index: 999;\n background-color: var(--kt-secondary);\n color: var(--kt-secondary-inverse);\n padding: 4px 8px;\n border-radius: 0.375rem;\n font-size: 0.9rem;\n line-height: 1.2;\n text-wrap: nowrap;\n white-space: ${r?"normal":"nowrap"};\n visibility: hidden;\n opacity: 0;\n transition: opacity 0.2s ease-in-out;\n pointer-events: none;\n border: 1px rgba(0, 0, 0, 0.82);\n }\n\n .tooltip-wrapper:hover .tooltip-content,\n .tooltip-wrapper:focus-within .tooltip-content {\n visibility: visible;\n opacity: 1;\n }\n\n .tooltip-content::after {\n content: "";\n position: absolute;\n border-style: solid;\n }\n\n /* Top */\n .tooltip-top .tooltip-content {\n bottom: 125%;\n left: 50%;\n transform: translateX(-50%);\n }\n\n .tooltip-top .tooltip-content::after {\n top: 100%;\n left: 50%;\n margin-left: -5px;\n border-width: 5px;\n border-color: var(--kt-secondary) transparent transparent transparent;\n }\n\n /* Bottom */\n .tooltip-bottom .tooltip-content {\n top: 125%;\n left: 50%;\n transform: translateX(-50%);\n }\n\n .tooltip-bottom .tooltip-content::after {\n bottom: 100%;\n left: 50%;\n margin-left: -5px;\n border-width: 5px;\n border-color: transparent transparent var(--kt-secondary) transparent;\n }\n\n /* Left */\n .tooltip-left .tooltip-content {\n right: 125%;\n top: 50%;\n transform: translateY(-50%);\n }\n\n .tooltip-left .tooltip-content::after {\n top: 50%;\n left: 100%;\n margin-top: -5px;\n border-width: 5px;\n border-color: transparent transparent transparent var(--kt-secondary);\n }\n\n /* Right */\n .tooltip-right .tooltip-content {\n left: 125%;\n top: 50%;\n transform: translateY(-50%);\n }\n\n .tooltip-right .tooltip-content::after {\n top: 50%;\n right: 100%;\n margin-top: -5px;\n border-width: 5px;\n border-color: transparent var(--kt-secondary) transparent transparent;\n }\n `})]});Z.propTypes={placement:D.oneOf(["top","bottom","left","right"]),caption:D.string.isRequired,children:D.node.isRequired};!function(e,n){void 0===n&&(n={});var t=n.insertAt;if("undefined"!=typeof document){var r=document.head||document.getElementsByTagName("head")[0],l=document.createElement("style");l.type="text/css","top"===t&&r.firstChild?r.insertBefore(l,r.firstChild):r.appendChild(l),l.styleSheet?l.styleSheet.cssText=e:l.appendChild(document.createTextNode(e))}}(".pc-table tr {\r\n border-bottom-width: 1px;\r\n border-bottom-style: dashed;\r\n border-bottom-color: var(--kt-border-color);\r\n}\r\n.pc-table>:not(:last-child)>:last-child>*\r\n {\r\n border-bottom-color: inherit;\r\n}\r\n\r\n.pc-table.table.gy-3 td, .pc-table.table.gy-3 th {\r\n padding-top: 1rem;\r\n padding-bottom: 1rem;\r\n}\r\n .pc-table.table.gy-3 th {\r\n font-weight: 600;\r\n}\r\n.pc-table >:not(:first-child) {\r\n border-color: transparent;\r\n border-width: 0;\r\n border-style: none;\r\n}\r\n.pc-table td:last-child, .pc-table th:last-child {\r\n padding-right: 1rem;\r\n}\r\n.pc-table.table-hover>tbody>tr:hover>* {\r\n background-color: var(--bs-table-hover-bg);\r\n color: var(--bs-table-hover-color);\r\n}\r\n.dataTables_info {\r\n display: flex;\r\n flex-direction: column;\r\n font-weight: 500;\r\n color: var(--kt-gray-700);\r\n padding: 1rem 0;\r\n}\r\n.pc-pagination-wrp .page-link{\r\n font-weight: 500;\r\n font-size: 1rem;\r\n}\r\n.pc-pagination-wrp i{\r\n font-size: 0.75rem;\r\n}");const K=({value:t=[],columns:r=[],style:o={},caption:c,header:d,footer:p,children:u,paginator:h=!1,rowsPerPageOptions:m=[10,25,50],currentPageReportTemplate:f="Showing {first} to {last} of {totalRecords} records",onPageChange:g=()=>{},paginationConfig:v=null})=>{const y=!!v,[b,w]=n(1),[x,C]=n(m[0]),N=y?v.current_page:b,k=y?v.page_size:x,S=y?v.total_records:t.length,M=y?v.total_pages:Math.ceil(S/k),O=l(()=>{if(y)return t;const e=(N-1)*k,n=e+k;return t.slice(e,n)},[t,N,k,y]),T=e=>{e<1||e>M||(y||w(e),g({page:e,rows:k}))},$=r?.length>0,L=e.Children.toArray(u).some(n=>e.isValidElement(n)&&"tbody"===n.type),j=!$&&e.Children.count(u)>0;return a(s,{children:[a("div",{className:"table-responsive",children:[c&&i("div",{className:"mb-2",children:c}),a("table",{className:"table pc-table align-middle table-row-dashed fs-6 gy-3 mb-0 dataTable no-footer table-hover gs-4",style:o,children:[$?i("thead",{children:i("tr",{children:r.map((e,n)=>i("th",{children:e.header},n))})}):d&&i("thead",{children:d}),$?i("tbody",{children:O.map((e,n)=>i("tr",{children:r.map((n,t)=>i("td",{children:i("div",{className:"py-2",children:e[n.field]})},t))},n))}):j&&(L?u:i("tbody",{children:u})),p&&i("tfoot",{children:p})]})]}),h&&a("div",{className:"d-flex justify-content-between align-items-center mt-5 pc-pagination-wrp",children:[a("div",{className:"dataTables_length d-flex align-items-center",children:[i("select",{className:"form-select form-select-sm form-select-solid w-auto me-3",value:k,onChange:e=>{const n=parseInt(e.target.value,10);y||(C(n),w(1)),g({page:1,rows:n})},children:m.map(e=>i("option",{value:e,children:e},e))})," ",i("div",{children:(()=>{const e=(N-1)*k+1,n=Math.min(e+k-1,S);return f.replace("{first}",e).replace("{last}",n).replace("{totalRecords}",S)})()})]}),i("div",{className:"d-flex align-items-center gap-2",children:i("nav",{children:a("ul",{className:"pagination mb-0",children:[i("li",{className:"page-item "+(1===N?"disabled":""),children:a("button",{className:"page-link",onClick:()=>T(1),children:[i("i",{class:"previous"}),i("i",{style:{marginLeft:"-5px"},class:"previous"})]})}),i("li",{className:"page-item "+(1===N?"disabled":""),children:i("button",{className:"page-link",onClick:()=>T(N-1),children:i("i",{class:"previous"})})}),Array.from({length:Math.min(M,5)},(e,n)=>{const t=N<=3?n+1:N-2+n;return t>M?null:i("li",{className:"page-item "+(N===t?"active":""),children:i("button",{className:"page-link",onClick:()=>T(t),children:t})},t)}),i("li",{className:"page-item "+(N===M?"disabled":""),children:i("button",{className:"page-link",onClick:()=>T(N+1),children:i("i",{class:"next"})})}),i("li",{className:"page-item "+(N===M?"disabled":""),children:a("button",{className:"page-link",onClick:()=>T(M),children:[i("i",{class:"next fs-1"}),i("i",{style:{marginLeft:"-5px"},class:"next"})]})})]})})})]})]})},F=({value:e,onChange:n,isDisabled:t=!1,isInvalid:r=!1,maxChar:l=null,showCharCount:o=!1,cols:s=30,rows:c=4,id:d,name:p,dataTestId:u,errMsg:h="",placeholder:m=""})=>a("div",{className:"position-relative w-100",children:[l&&o&&a("div",{className:"form-text text-end",children:[e.length,"/",l," characters"]}),i("textarea",{id:d,name:p,"data-testid":u,className:"form-control pc-ele-border "+(r?"invalid":""),cols:s,rows:c,value:e,onChange:e=>{const{value:t}=e.target;(!l||t.length<=l)&&n?.(p,t)},placeholder:m,disabled:t}),r&&h&&i("div",{className:"d-block position-absolute w-100 mt-1 pc-err-txt",style:{top:"100%"},children:h}),i("style",{jsx:!0,children:"\n .slc-dropdown-options-wrp {\n border-radius: 0.375rem;\n background-color: var(--kt-dropdown-bg);\n }\n .pc-select-opt:hover {\n background-color: var(--kt-input-solid-bg);\n }\n .pc-select-opt-input {\n margin-top: 3px;\n }\n .pc-select-opt {\n color: var(--kt-form-check-label-color-checked);\n }\n .pc-ele-border {\n border: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color);\n }\n .pc-ele-border.invalid{\n border-color: var(--kt-danger);\n }\n .pc-err-txt {\n color: var(--kt-danger);\n }\n "})]});F.propTypes={value:D.string.isRequired,onChange:D.func,isDisabled:D.bool,isInvalid:D.bool,maxChar:D.number,showCharCount:D.bool,cols:D.number,rows:D.number,id:D.string,name:D.string,dataTestId:D.string,errMsg:D.string,placeholder:D.string};const W=({options:e=[],placeholder:o="Select...",onChange:s,enableSearch:c=!0,enableSelectAll:d=!0,showCountAfter:p=null,value:u=[],name:h,required:m=!1,labelKey:f="name",valueKey:g="value",isInvalid:v=!1,errMsg:y=""})=>{const[b,w]=n([]),[x,C]=n(!1),[N,k]=n(""),S=t(null),M=t(null),[O,T]=n("100%"),$=l(()=>((e,n,t)=>Array.isArray(e)?e.map(e=>({name:e?.[n]??"",value:e?.[t]??"",original:e})):[])(e,f,g),[e,f,g]);r(()=>{const e=e=>{S.current&&!S.current.contains(e.target)&&C(!1)},n=()=>{M.current&&T(`${M.current.offsetWidth}px`)};return document.addEventListener("mousedown",e),window.addEventListener("resize",n),n(),()=>{document.removeEventListener("mousedown",e),window.removeEventListener("resize",n)}},[]),r(()=>{if(!Array.isArray(u))return;if(!(u.length===b.length&&u.every(e=>b.some(n=>n.original?.[g]===e?.[g])))){const e=$.filter(e=>u.some(n=>n?.[g]===e.original?.[g]));w(e)}},[u,$]);const L=e=>b.some(n=>n.value===e.value),j=$.filter(e=>e.name.toLowerCase().includes(N.toLowerCase()));return a("div",{className:"position-relative pc-multi-select",ref:S,children:[i("div",{ref:M,className:"form-select form-select-solid pc-ele-border d-flex justify-content-between align-items-center "+(v?"invalid":""),onClick:()=>C(!x),style:{cursor:"pointer"},children:i("span",{className:"text-truncate",style:{maxWidth:"85%"},children:(()=>{if(0===b.length)return o;if(null!=p&&b.length>p){return`${b.slice(0,p).map(e=>e.name).join(", ")} +${b.length-p} more`}return b.map(e=>e.name).join(", ")})()})}),v&&y&&i("div",{className:"d-block position-absolute w-100 mt-1 pc-err-txt",style:{top:"100%",zIndex:9999},children:y}),x&&i("div",{className:"multi-slc-dropdown-options-wrp show position-absolute top-100 start-0",style:{maxHeight:300,width:O,zIndex:9999},children:a("div",{className:"dropdown-menu relative show py-3 shadow-none border position-relative",style:{maxHeight:300,overflowY:"auto",width:O,zIndex:9999},children:[(c||d)&&a("div",{className:"d-flex align-items-center gap-2 pb-3 mb-3 border-bottom",children:[d&&a("div",{className:"form-check pl-3 ms-4",children:[i("input",{type:"checkbox",className:"form-check-input",id:"selectAll",checked:b.length===$.length,onChange:()=>{const e=b.length===$.length?[]:[...$];w(e),s?.(h,e.map(e=>e.original))},name:h,required:m}),i("label",{className:"form-check-label",htmlFor:"selectAll",children:"All"})]}),c&&a("div",{className:"input-group me-3 "+(d?"":"ms-3"),children:[i("input",{type:"text",className:"form-control border-end-0",placeholder:"Search...",value:N,onChange:e=>k(e.target.value)}),i("span",{className:"input-group-text border-start-0 bg-transparent",children:i("i",{className:"bi bi-search"})})]})]}),j.length>0?j.map((e,n)=>a("div",{className:"form-check py-3 pl-5 mr-3 pc-multi-select-opt",style:{cursor:"pointer"},children:[i("input",{className:"form-check-input pc-multi-select-opt-input",type:"checkbox",id:`option-${n}`,checked:L(e),onChange:()=>(e=>{let n=b.some(n=>n.value===e.value)?b.filter(n=>n.value!==e.value):[...b,e];n=$.filter(e=>n.some(n=>n.value===e.value)),w(n),s?.(h,n.map(e=>e.original))})(e),name:h,required:m}),i("label",{className:"form-check-label ms-2",htmlFor:`option-${n}`,children:e.name})]},n)):i("div",{className:"text-center text-muted py-2",children:"No records found"})]})}),i("style",{jsx:!0,children:"\n .multi-slc-dropdown-options-wrp {\n border-radius: 0.375rem;\n background-color: var(--kt-page-bg);\n }\n .pc-multi-select-opt {\n padding: 0 15px 0 38px;\n }\n .pc-multi-select-opt:hover {\n background-color: var(--kt-input-solid-bg);\n }\n .pc-multi-select-opt-input {\n margin-top: 3px;\n }\n .pc-multi-select-opt label {\n color: var(--kt-form-check-label-color-checked);\n }\n .pc-ele-border {\n border: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color);\n }\n .pc-ele-border.invalid{\n border-color: var(--kt-danger);\n }\n .pc-err-txt {\n color: var(--kt-danger);\n }\n "})]})},Y={ArrowRightBold:e=>i("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",...e,children:i("path",{fill:"currentColor",d:"m224.49 136.49l-72 72a12 12 0 0 1-17-17L187 140H40a12 12 0 0 1 0-24h147l-51.49-51.52a12 12 0 0 1 17-17l72 72a12 12 0 0 1-.02 17.01"})}),Conditions:e=>i("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",...e,children:i("path",{fill:"currentColor",d:"M3.25 4.07V1.75a.75.75 0 0 1 1.5 0v2.32a4.001 4.001 0 0 1 0 7.86v2.32a.75.75 0 0 1-1.5 0v-2.32a4.001 4.001 0 0 1 0-7.86M4 10.5a2.5 2.5 0 1 0 0-5a2.5 2.5 0 0 0 0 5M9.75 4a.75.75 0 0 0 0 1.5h5.5a.75.75 0 0 0 0-1.5zm0 3.25a.75.75 0 0 0 0 1.5h5.5a.75.75 0 0 0 0-1.5zm-.75 4a.75.75 0 0 1 .75-.75h5.5a.75.75 0 0 1 0 1.5h-5.5a.75.75 0 0 1-.75-.75",clipRule:"evenodd"})}),Up:e=>i("svg",{xmlns:"http://www.w3.org/2000/svg",width:"40",height:"40",viewBox:"0 0 24 24",...e,children:i("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"1.5",d:"m8 14l4-4l4 4",...e})}),Down:e=>i("svg",{xmlns:"http://www.w3.org/2000/svg",width:"40",height:"40",viewBox:"0 0 24 24",...e,children:i("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"1.5",d:"m8 10l4 4l4-4"})}),NewRow:e=>i("svg",{xmlns:"http://www.w3.org/2000/svg",width:"128",height:"128",viewBox:"0 0 24 24",...e,children:i("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M3 14v1a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-2a2 2 0 0 0-2-2h-6m-3-3H7m0 0H4m3 0V5m0 3v3"})}),Settings:e=>i("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",...e,children:i("path",{fill:"currentColor","fill-rule":"evenodd",d:"M12.563 3.2h-1.126l-.645 2.578l-.647.2a6.3 6.3 0 0 0-1.091.452l-.599.317l-2.28-1.368l-.796.797l1.368 2.28l-.317.598a6.3 6.3 0 0 0-.453 1.091l-.199.647l-2.578.645v1.126l2.578.645l.2.647q.173.568.452 1.091l.317.599l-1.368 2.28l.797.796l2.28-1.368l.598.317q.523.278 1.091.453l.647.199l.645 2.578h1.126l.645-2.578l.647-.2a6.3 6.3 0 0 0 1.091-.452l.599-.317l2.28 1.368l.796-.797l-1.368-2.28l.317-.598q.278-.523.453-1.091l.199-.647l2.578-.645v-1.126l-2.578-.645l-.2-.647a6.3 6.3 0 0 0-.452-1.091l-.317-.599l1.368-2.28l-.797-.796l-2.28 1.368l-.598-.317a6.3 6.3 0 0 0-1.091-.453l-.647-.199zm2.945 2.17l1.833-1.1a1 1 0 0 1 1.221.15l1.018 1.018a1 1 0 0 1 .15 1.221l-1.1 1.833q.33.62.54 1.3l2.073.519a1 1 0 0 1 .757.97v1.438a1 1 0 0 1-.757.97l-2.073.519q-.21.68-.54 1.3l1.1 1.833a1 1 0 0 1-.15 1.221l-1.018 1.018a1 1 0 0 1-1.221.15l-1.833-1.1q-.62.33-1.3.54l-.519 2.073a1 1 0 0 1-.97.757h-1.438a1 1 0 0 1-.97-.757l-.519-2.073a7.5 7.5 0 0 1-1.3-.54l-1.833 1.1a1 1 0 0 1-1.221-.15L4.42 18.562a1 1 0 0 1-.15-1.221l1.1-1.833a7.5 7.5 0 0 1-.54-1.3l-2.073-.519A1 1 0 0 1 2 12.72v-1.438a1 1 0 0 1 .757-.97l2.073-.519q.21-.68.54-1.3L4.27 6.66a1 1 0 0 1 .15-1.221L5.438 4.42a1 1 0 0 1 1.221-.15l1.833 1.1q.62-.33 1.3-.54l.519-2.073A1 1 0 0 1 11.28 2h1.438a1 1 0 0 1 .97.757l.519 2.073q.68.21 1.3.54zM12 14.8a2.8 2.8 0 1 0 0-5.6a2.8 2.8 0 0 0 0 5.6m0 1.2a4 4 0 1 1 0-8a4 4 0 0 1 0 8"})}),SettingsTutorial:e=>i("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",...e,children:i("path",{fill:"currentColor","fill-rule":"evenodd",d:"M13.435 2.075a3.33 3.33 0 0 0-2.87 0c-.394.189-.755.497-1.26.928l-.079.066a2.56 2.56 0 0 1-1.58.655l-.102.008c-.662.053-1.135.09-1.547.236a3.33 3.33 0 0 0-2.03 2.029c-.145.412-.182.885-.235 1.547l-.008.102a2.56 2.56 0 0 1-.655 1.58l-.066.078c-.431.506-.74.867-.928 1.261a3.33 3.33 0 0 0 0 2.87c.189.394.497.755.928 1.26l.066.079c.41.48.604.939.655 1.58l.008.102c.053.662.09 1.135.236 1.547a3.33 3.33 0 0 0 2.029 2.03c.412.145.885.182 1.547.235l.102.008c.629.05 1.09.238 1.58.655l.078.066c.506.431.867.74 1.261.928a3.33 3.33 0 0 0 2.87 0c.394-.189.755-.497 1.26-.928l.079-.066c.48-.41.939-.604 1.58-.655l.102-.008c.662-.053 1.135-.09 1.547-.236a3.33 3.33 0 0 0 2.03-2.029c.145-.412.182-.885.235-1.547l.008-.102c.05-.629.238-1.09.655-1.58l.066-.079c.431-.505.74-.866.928-1.26a3.33 3.33 0 0 0 0-2.87c-.189-.394-.497-.755-.928-1.26l-.066-.079a2.56 2.56 0 0 1-.655-1.58l-.008-.102c-.053-.662-.09-1.135-.236-1.547a3.33 3.33 0 0 0-2.029-2.03c-.412-.145-.885-.182-1.547-.235l-.102-.008a2.56 2.56 0 0 1-1.58-.655l-.079-.066c-.505-.431-.866-.74-1.26-.928M12 7.25a.75.75 0 0 1 .75.75v.5a.75.75 0 0 1-1.5 0V8a.75.75 0 0 1 .75-.75M10.75 16a.75.75 0 0 1 .5-.707v-3.586a.75.75 0 0 1 .25-1.457h.5a.75.75 0 0 1 .75.75v4.293a.75.75 0 0 1-.25 1.457h-1a.75.75 0 0 1-.75-.75"})}),CrmUserSettingsListSettings:e=>i("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",...e,children:i("path",{fill:"currentColor",d:"M19.14 12.94c.04-.3.06-.61.06-.94c0-.32-.02-.64-.07-.94l2.03-1.58a.49.49 0 0 0 .12-.61l-1.92-3.32a.49.49 0 0 0-.59-.22l-2.39.96c-.5-.38-1.03-.7-1.62-.94l-.36-2.54a.484.484 0 0 0-.48-.41h-3.84c-.24 0-.43.17-.47.41l-.36 2.54c-.59.24-1.13.57-1.62.94l-2.39-.96c-.22-.08-.47 0-.59.22L2.74 8.87c-.12.21-.08.47.12.61l2.03 1.58c-.05.3-.09.63-.09.94s.02.64.07.94l-2.03 1.58a.49.49 0 0 0-.12.61l1.92 3.32c.12.22.37.29.59.22l2.39-.96c.5.38 1.03.7 1.62.94l.36 2.54c.05.24.24.41.48.41h3.84c.24 0 .44-.17.47-.41l.36-2.54c.59-.24 1.13-.56 1.62-.94l2.39.96c.22.08.47 0 .59-.22l1.92-3.32c.12-.22.07-.47-.12-.61zM12 15.6c-1.98 0-3.6-1.62-3.6-3.6s1.62-3.6 3.6-3.6s3.6 1.62 3.6 3.6s-1.62 3.6-3.6 3.6"})}),CrmUserSettingsEdit:e=>i("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",...e,children:i("path",{fill:"currentColor",d:"M15.891 3.048a3.578 3.578 0 1 1 5.061 5.06l-.892.893L15 3.94zM13.94 5.001L3.94 15a3.1 3.1 0 0 0-.825 1.476L2.02 21.078a.75.75 0 0 0 .904.903l4.601-1.096a3.1 3.1 0 0 0 1.477-.825l1.151-1.151a6.5 6.5 0 0 1 7.754-7.755L19 10.06zm-.662 8.975a2 2 0 0 1-1.441 2.497l-.584.144a5.7 5.7 0 0 0 .006 1.807l.54.13a2 2 0 0 1 1.45 2.51l-.187.632c.44.386.94.699 1.485.922l.493-.52a2 2 0 0 1 2.899.001l.499.525a5.3 5.3 0 0 0 1.482-.913l-.198-.686a2 2 0 0 1 1.442-2.496l.583-.144a5.7 5.7 0 0 0-.006-1.808l-.54-.13a2 2 0 0 1-1.449-2.51l.186-.63a5.3 5.3 0 0 0-1.484-.923l-.493.519a2 2 0 0 1-2.9 0l-.498-.525c-.544.22-1.044.53-1.483.912zm3.222 5.025c-.8 0-1.45-.672-1.45-1.5c0-.829.65-1.5 1.45-1.5s1.45.671 1.45 1.5c0 .828-.65 1.5-1.45 1.5"})}),CrmSaveUserConfig:e=>i("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",...e,children:i("path",{fill:"currentColor",d:"M13.23 22v-2.21l5.334-5.307q.148-.13.307-.19q.16-.062.32-.062q.165 0 .334.064q.17.065.298.194l.925.944q.123.148.187.308q.065.159.065.319t-.052.322t-.2.31L15.44 22zM6.77 9.77h7.422v-3H6.77zm12.42 7.246l.925-.956l-.924-.944l-.95.95zM10.463 20H5.616q-.672 0-1.144-.472T4 18.385V5.615q0-.67.472-1.143Q4.944 4 5.616 4h10.961L20 7.423v4.146q-.244-.085-.468-.099t-.474.003q-.635.017-1.264.265t-1.106.718l-2.822 2.804q.096-.166.134-.322t.039-.361q0-.846-.577-1.423t-1.423-.577t-1.423.577t-.577 1.423t.577 1.423t1.423.577q.178 0 .348-.039t.329-.134l-2.254 2.234z"})}),CrmOutletLead:e=>i("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",...e,children:i("path",{fill:"currentColor",d:"M20.16 7.8c-.09-.46-.5-.8-.98-.8H4.82c-.48 0-.89.34-.98.8L3 12v1c0 .55.45 1 1 1v5c0 .55.45 1 1 1h8c.55 0 1-.45 1-1v-5h4v5c0 .55.45 1 1 1s1-.45 1-1v-5c.55 0 1-.45 1-1v-1zM12 18H6v-4h6zM5 6h14c.55 0 1-.45 1-1s-.45-1-1-1H5c-.55 0-1 .45-1 1s.45 1 1 1"})}),CrmCustomerLead:e=>i("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",...e,children:a("g",{fill:"none",children:[i("path",{d:"m12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035q-.016-.005-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427q-.004-.016-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093q.019.005.029-.008l.004-.014l-.034-.614q-.005-.018-.02-.022m-.715.002a.02.02 0 0 0-.027.006l-.006.014l-.034.614q.001.018.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z"}),i("path",{fill:"currentColor",d:"M16 14a5 5 0 0 1 4.995 4.783L21 19v1a2 2 0 0 1-1.85 1.995L19 22H5a2 2 0 0 1-1.995-1.85L3 20v-1a5 5 0 0 1 4.783-4.995L8 14zM12 2a5 5 0 1 1 0 10a5 5 0 0 1 0-10"})]})}),CrmLeadFormSettingsButton:e=>i("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",...e,children:i("path",{fill:"currentColor",d:"M23.33 12.65v1a1 1 0 0 1-.8 1l-1.24.25a9.3 9.3 0 0 1-1.18 2.81l.71 1.06A1 1 0 0 1 20.7 20l-1.37 1.37a1 1 0 0 1-1.26.12L17 20.77A9.3 9.3 0 0 1 14.2 22l-.2 1.19a1 1 0 0 1-1 .8h-2a1 1 0 0 1-1-.8L9.8 22A9.3 9.3 0 0 1 7 20.77l-1.06.71a1 1 0 0 1-1.26-.12L3.3 20a1 1 0 0 1-.12-1.26l.71-1.06a9.3 9.3 0 0 1-1.18-2.81l-1.24-.25a1 1 0 0 1-.8-1v-1h6.56a4.77 4.77 0 0 0 9.54 0Zm-6.16-8.84a2.32 2.32 0 1 0 4.64 0a2.32 2.32 0 1 0-4.64 0m-14.97 0a2.32 2.32 0 1 0 4.64 0a2.32 2.32 0 1 0-4.64 0M6.8 8.8a5 5 0 0 0-1.15-.54A4.92 4.92 0 0 0 0 10.64h5.73A11 11 0 0 1 6.8 8.8m11.38 1.87H24a4.92 4.92 0 0 0-5.66-2.4a5 5 0 0 0-1.17.55a11.5 11.5 0 0 1 1.01 1.85m-1.11 0A5.74 5.74 0 0 0 12 7a5.76 5.76 0 0 0-5.12 3.68ZM8.99 2.91a2.91 2.91 0 1 0 5.82 0a2.91 2.91 0 1 0-5.82 0"})}),CrmLeadOutletSettings:e=>i("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",...e,children:i("path",{fill:"currentColor",d:"M20.16 7.8c-.09-.46-.5-.8-.98-.8H4.82c-.48 0-.89.34-.98.8L3 12v1c0 .55.45 1 1 1v5c0 .55.45 1 1 1h8c.55 0 1-.45 1-1v-5h4v5c0 .55.45 1 1 1s1-.45 1-1v-5c.55 0 1-.45 1-1v-1zM12 18H6v-4h6zM5 6h14c.55 0 1-.45 1-1s-.45-1-1-1H5c-.55 0-1 .45-1 1s.45 1 1 1"})}),CrmOpportunitySettings:e=>i("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",...e,children:i("path",{fill:"currentColor",d:"M1.998 21v-2h2V4.835a1 1 0 0 1 .821-.984l9.472-1.722a.6.6 0 0 1 .707.59v1.28l4 .001a1 1 0 0 1 1 1v14h2v2h-4V6h-3v15zm10-10h-2v2h2z"})}),CrmUserSettings:e=>i("svg",{xmlns:"http://www.w3.org/2000/svg",width:640,height:512,viewBox:"0 0 640 512",...e,children:i("path",{fill:"currentColor",d:"M224 0a128 128 0 1 1 0 256a128 128 0 1 1 0-256m-45.7 304h91.4c11.8 0 23.4 1.2 34.5 3.3c-2.1 18.5 7.4 35.6 21.8 44.8c-16.6 10.6-26.7 31.6-20 53.3c4 12.9 9.4 25.5 16.4 37.6s15.2 23.1 24.4 33c15.7 16.9 39.6 18.4 57.2 8.7v.9c0 9.2 2.7 18.5 7.9 26.3l-382.2.1C13.3 512 0 498.7 0 482.3C0 383.8 79.8 304 178.3 304M436 218.2c0-7 4.5-13.3 11.3-14.8c10.5-2.4 21.5-3.7 32.7-3.7s22.2 1.3 32.7 3.7c6.8 1.5 11.3 7.8 11.3 14.8v30.6c7.9 3.4 15.4 7.7 22.3 12.8l24.9-14.3c6.1-3.5 13.7-2.7 18.5 2.4c7.6 8.1 14.3 17.2 20.1 27.2s10.3 20.4 13.5 31c2.1 6.7-1.1 13.7-7.2 17.2l-25 14.4c.4 4 .7 8.1.7 12.3s-.2 8.2-.7 12.3l25 14.4c6.1 3.5 9.2 10.5 7.2 17.2c-3.3 10.6-7.8 21-13.5 31s-12.5 19.1-20.1 27.2c-4.8 5.1-12.5 5.9-18.5 2.4L546.3 442c-6.9 5.1-14.3 9.4-22.3 12.8v30.6c0 7-4.5 13.3-11.3 14.8c-10.5 2.4-21.5 3.7-32.7 3.7s-22.2-1.3-32.7-3.7c-6.8-1.5-11.3-7.8-11.3-14.8v-30.5c-8-3.4-15.6-7.7-22.5-12.9l-24.7 14.3c-6.1 3.5-13.7 2.7-18.5-2.4c-7.6-8.1-14.3-17.2-20.1-27.2s-10.3-20.4-13.5-31c-2.1-6.7 1.1-13.7 7.2-17.2l24.8-14.3c-.4-4.1-.7-8.2-.7-12.4s.2-8.3.7-12.4L343.8 325c-6.1-3.5-9.2-10.5-7.2-17.2c3.3-10.6 7.7-21 13.5-31s12.5-19.1 20.1-27.2c4.8-5.1 12.4-5.9 18.5-2.4l24.8 14.3c6.9-5.1 14.5-9.4 22.5-12.9v-30.5zm92.1 133.5a48.1 48.1 0 1 0-96.1 0a48.1 48.1 0 1 0 96.1 0"})}),EmailIconWithCount:({count:e=0,props:n})=>a("div",{className:"position-relative email-icon-wrapper",children:[i("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",...n,children:i("path",{fill:"currentColor",d:"m20 8l-8 5l-8-5V6l8 5l8-5m0-2H4c-1.11 0-2 .89-2 2v12a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2"})}),e>0&&i("span",{className:"counter-badge",children:e>9?"9+":e}),i("style",{jsx:!0,children:"\n .counter-badge {\n position: absolute;\n top: 10px;\n right: -1px;\n min-width: 10px;\n height: 10px;\n background-color: red;\n color: white;\n font-size: 7px;\n border-radius: 50%;\n display: flex;\n justify-content: center;\n align-items: center;\n padding: 2px;\n font-weight: bold;\n }\n "})]}),ViewOriginal:e=>i("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 56 56",...e,children:i("path",{fill:"currentColor",d:"M28.01 46.403C44.556 46.403 56 33.017 56 28.844c0-4.193-11.465-17.558-27.99-17.558C11.588 11.286 0 24.651 0 28.844c0 4.173 11.671 17.559 28.01 17.559m0-6.053c-6.445 0-11.526-5.226-11.567-11.506C16.422 22.4 21.565 17.34 28.01 17.34c6.404 0 11.547 5.06 11.547 11.505c0 6.28-5.143 11.506-11.547 11.506m0-7.354c2.293 0 4.194-1.88 4.194-4.152c0-2.293-1.9-4.172-4.194-4.172c-2.313 0-4.214 1.88-4.214 4.172c0 2.273 1.9 4.152 4.214 4.152"})}),SyncDocument:e=>i("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",...e,children:i("path",{fill:"currentColor",d:"M11 17.5c0-3.6 2.9-6.5 6.5-6.5c.9 0 1.7.2 2.5.5V8l-6-6H6c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h6.8c-1.1-1.2-1.8-2.8-1.8-4.5m2-14L18.5 9H13zm4 8.5v1.5c2.2 0 4 1.8 4 4c0 .8-.2 1.6-.7 2.2l-1.1-1.1c.2-.3.3-.7.3-1.1c0-1.4-1.1-2.5-2.5-2.5v1.5l-2.2-2.2zm0 11v-1.5c-2.2 0-4-1.8-4-4c0-.8.2-1.6.7-2.2l1.1 1.1c-.2.3-.3.7-.3 1.1c0 1.4 1.1 2.5 2.5 2.5v-1.5l2.2 2.2z"})}),ResendDocument:e=>i("svg",{xmlns:"http://www.w3.org/2000/svg",width:10,height:9,fill:"none",viewBox:"0 0 10 9",...e,children:i("path",{fill:"currentColor",d:"M.855.471C.38.471 0 .838 0 1.296v4.947c0 .219.09.429.25.583a.87.87 0 0 0 .605.242H5.34a2.599 2.599 0 0 1-.214-1.03c0-.712.293-1.393.814-1.896a2.83 2.83 0 0 1 2.604-.71V1.296a.81.81 0 0 0-.25-.583A.87.87 0 0 0 7.69.47H.855Zm0 .825 3.418 2.061L7.69 1.296v.825L4.273 4.18.855 2.122v-.825ZM7.69 3.77l-.962.927.962.928v-.619c.283 0 .555.109.755.302a1.013 1.013 0 0 1 .202 1.19l.465.45c.18-.26.287-.573.287-.91 0-.912-.765-1.65-1.71-1.65V3.77ZM6.268 5.126c-.18.26-.286.573-.286.911 0 .911.764 1.65 1.709 1.65v.618l.961-.928-.961-.928v.619c-.284 0-.555-.109-.756-.302a1.013 1.013 0 0 1-.201-1.19l-.466-.45Z"})}),SignedDocument:e=>i("svg",{xmlns:"http://www.w3.org/2000/svg",width:7,height:8,viewBox:"0 0 7 10",...e,children:i("path",{fill:"currentColor",d:"M4.083 2.656V0H.437C.196 0 0 .209 0 .469V9.53c0 .26.195.469.438.469h6.125C6.804 10 7 9.791 7 9.531V3.125H4.52c-.24 0-.437-.21-.437-.469Zm-2.916-1.25c0-.086.065-.156.145-.156h1.459c.08 0 .146.07.146.156v.313c0 .086-.066.156-.146.156H1.313c-.081 0-.146-.07-.146-.156v-.313Zm0 1.25c0-.086.065-.156.145-.156h1.459c.08 0 .146.07.146.156v.313c0 .086-.066.156-.146.156H1.313c-.081 0-.146-.07-.146-.156v-.313ZM4.68 7.5h.86c.162 0 .292.14.292.313 0 .172-.13.312-.291.312h-.86a.78.78 0 0 1-.705-.466c-.054-.116-.147-.127-.185-.127a.197.197 0 0 0-.183.12l-.14.3a.305.305 0 0 1-.107.126.277.277 0 0 1-.174.046.295.295 0 0 1-.256-.213l-.307-.985-.193.622a.794.794 0 0 1-.748.577h-.226c-.16 0-.291-.14-.291-.313 0-.172.13-.312.291-.312h.226c.088 0 .166-.06.194-.15l.332-1.067a.442.442 0 0 1 .415-.32c.188 0 .355.128.415.32l.253.813c.36-.316.985-.189 1.203.277.037.08.109.127.185.127Zm2.191-5.45L5.088.138A.423.423 0 0 0 4.778 0h-.111v2.5H7v-.12a.485.485 0 0 0-.128-.33Z"})}),DocumentVoid:e=>i("svg",{xmlns:"http://www.w3.org/2000/svg",width:15,height:20,viewBox:"0 0 9 11",...e,children:i("path",{d:"M2.548 4.692a.43.43 0 0 0 .43-.44.432.432 0 0 0-.123-.314.412.412 0 0 0-.307-.126.412.412 0 0 0-.306.126.432.432 0 0 0-.124.314.43.43 0 0 0 .43.44Zm1.785.88H2.548a.412.412 0 0 0-.306.126.432.432 0 0 0-.124.314.43.43 0 0 0 .43.44h2.646l-.86-.88Zm4.56 2.157L5.924 4.692h.924a.43.43 0 0 0 .43-.44.431.431 0 0 0-.123-.314.411.411 0 0 0-.307-.126H5.065l-2.581-2.64H8.14a.82.82 0 0 1 .608.258c.168.172.252.38.252.621V7.29c0 .08-.007.157-.022.23a.587.587 0 0 1-.086.21Zm-.818 1.65L6.914 8.213H1.258a.819.819 0 0 1-.607-.259.858.858 0 0 1-.253-.621V2.05c0-.242.084-.449.253-.621a.818.818 0 0 1 .607-.259l3.44 3.52H3.496L.118 1.238A.423.423 0 0 1 0 .93C0 .804.04.702.118.621A.403.403 0 0 1 .42.5C.541.5.642.54.72.621l7.957 8.142c.08.08.12.181.124.303a.415.415 0 0 1-.124.313.403.403 0 0 1-.3.121.403.403 0 0 1-.302-.121Z"})}),SendDocument:e=>i("svg",{xmlns:"http://www.w3.org/2000/svg",width:23,height:23,viewBox:"0 0 23 23",...e,children:i("path",{fill:"currentColor",d:"M4.4 19.425q-.5.2-.95-.088T3 18.5V14l8-2l-8-2V5.5q0-.55.45-.837t.95-.088l15.4 6.5q.625.275.625.925t-.625.925z"})}),DeleteCrm:e=>i("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",...e,children:i("path",{fill:"currentColor",d:"M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6zM19 4h-3.5l-1-1h-5l-1 1H5v2h14z"})}),CrmLink:e=>i("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",...e,children:i("path",{fill:"currentColor",fillRule:"evenodd",d:"M12.415 4.84a4.775 4.775 0 0 1 6.752 6.752l-.013.013l-2.264 2.265a4.776 4.776 0 0 1-7.201-.516a1 1 0 0 1 1.601-1.198a2.774 2.774 0 0 0 4.185.3l2.259-2.259a2.776 2.776 0 0 0-3.925-3.923L12.516 7.56a1 1 0 0 1-1.41-1.418l1.298-1.291zM8.818 9.032a4.775 4.775 0 0 1 5.492 1.614a1 1 0 0 1-1.601 1.198a2.775 2.775 0 0 0-4.185-.3l-2.258 2.259a2.775 2.775 0 0 0 3.923 3.924l1.285-1.285a1 1 0 1 1 1.414 1.414l-1.291 1.291l-.012.013a4.775 4.775 0 0 1-6.752-6.752l.012-.013L7.11 10.13a4.8 4.8 0 0 1 1.708-1.098",clipRule:"evenodd"})}),CrmWarning:e=>a("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",...e,children:[i("path",{fill:"currentColor",d:"M11.001 10h2v5h-2zM11 16h2v2h-2z"}),i("path",{fill:"currentColor",d:"M13.768 4.2C13.42 3.545 12.742 3.138 12 3.138s-1.42.407-1.768 1.063L2.894 18.064a1.99 1.99 0 0 0 .054 1.968A1.98 1.98 0 0 0 4.661 21h14.678c.708 0 1.349-.362 1.714-.968a1.99 1.99 0 0 0 .054-1.968zM4.661 19L12 5.137L19.344 19z"})]}),CrmError:e=>i("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",...e,children:i("path",{fill:"currentColor",d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10s10-4.48 10-10S17.52 2 12 2m1 15h-2v-2h2zm0-4h-2V7h2z"})})};function U({name:e,width:t="1em",height:r="1em",className:l="",color:o="currentColor",activeColor:a,hoverColor:s,...c}){const[d,p]=n(!1),[u,h]=n(!1),m=Y[e];return m?i(m,{width:t,height:r,className:l,style:{color:u?a||o:d&&s||o,cursor:c.onClick?"pointer":void 0},onMouseEnter:()=>p(!0),onMouseLeave:()=>{p(!1),h(!1)},onMouseDown:()=>h(!0),onMouseUp:()=>h(!1),...c}):(console.warn(`Icon "${e}" not found`),null)}function J(e){var n,t,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e)){var l=e.length;for(n=0;n<l;n++)e[n]&&(t=J(e[n]))&&(r&&(r+=" "),r+=t)}else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}function X(){for(var e,n,t=0,r="",l=arguments.length;t<l;t++)(e=arguments[t])&&(n=J(e))&&(r&&(r+=" "),r+=n);return r}const G=({fluid:e=!1,className:n="",children:t,...r})=>{const l=X(e?"container-fluid":"container",n);return i("div",{className:l,...r,children:t})};G.propTypes={fluid:D.bool,className:D.string,children:D.node};const Q=({justify:e="",align:n="",className:t="",children:r,...l})=>{const o=X("row",e&&`justify-content-${e}`,n&&`align-items-${n}`,t);return i("div",{className:o,...l,children:r})};Q.propTypes={justify:D.oneOf(["start","center","end","around","between","evenly"]),align:D.oneOf(["start","center","end","stretch","baseline"]),className:D.string,children:D.node};const ee=({xs:e,sm:n,md:t,lg:r,xl:l,offset:o,order:a,className:s="",children:c,...d})=>{const p=X(void 0!==e&&`col-${e}`,void 0!==n&&`col-sm-${n}`,void 0!==t&&`col-md-${t}`,void 0!==r&&`col-lg-${r}`,void 0!==l&&`col-xl-${l}`,void 0!==o&&`offset-${o}`,void 0!==a&&`order-${a}`,s);return i("div",{className:p,...d,children:c})};ee.propTypes={xs:D.oneOfType([D.string,D.number]),sm:D.oneOfType([D.string,D.number]),md:D.oneOfType([D.string,D.number]),lg:D.oneOfType([D.string,D.number]),xl:D.oneOfType([D.string,D.number]),offset:D.oneOfType([D.string,D.number]),order:D.oneOfType([D.string,D.number]),className:D.string,children:D.node};const ne=({title:e,children:n,footer:l,onClose:o,customStyles:c="",maxWidth:d="600px",width:p="100%",maxHeight:u="80vh",outsideClickHandle:h=!1})=>{const m=t();return r(()=>{if(!h)return;const e=e=>{m.current&&!m.current.contains(e.target)&&o?.()};return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}},[o]),a(s,{children:[i("div",{className:"conditions-overlay position-fixed top-0 start-0 w-100 h-100 bg-dark bg-opacity-10 d-flex justify-content-center align-items-center z-3",children:a("div",{className:`card position-relative shadow p-4 ${c}`,ref:m,style:{width:p,maxWidth:d,maxHeight:u,overflowY:"auto"},children:[i("div",{className:"w-full d-flex justify-content-end svg-icon svg-icon-1",children:i("div",{className:"cursor-pointer w-24px h-24px",onClick:o,children:i(te,{})})}),e&&i("h5",{className:"mb-3",children:e}),n&&i("div",{className:"mb-3",children:n}),l&&i("div",{className:"text-end",children:l})]})}),i("style",{jsx:!0,children:"\n .conditions-overlay {\n z-index: 50;\n }\n\n .cursor-pointer {\n cursor: pointer;\n }\n "})]})},te=()=>i("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",children:i("path",{fill:"none",stroke:"currentColor",strokeDasharray:12,strokeDashoffset:12,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 12l7 7M12 12l-7 -7M12 12l-7 7M12 12l7 -7",children:i("animate",{fill:"freeze",attributeName:"stroke-dashoffset",dur:"0.3s",values:"12;0"})})}),re=({label:e="Enter Label",required:n=!1,type:t="",placeholder:r="",errorMessage:l="",value:s,onChange:c,disabled:d=!1,className:p="",maxLength:u,minLength:h,inputSymbol:m,...f})=>{const g=o(),v=f.id||`input-${g}`;return a("div",{className:"form-group-lg",children:[i("label",{htmlFor:v,className:"form-label "+(n?"required":""),children:e}),a("div",{className:"input-group",style:{fontFamily:"inherit"},children:[m&&i("span",{className:"input-group-text border",children:m}),i("input",{id:v,type:t,placeholder:"date"===t?void 0:r,value:s,required:n,onChange:c,disabled:d,maxLength:u,minLength:h,className:`form-control form-control-solid border${l?" is-invalid border-danger":""}${p?` ${p}`:""}`,...f})]}),l&&i("span",{className:"input-error text-danger",style:{fontSize:13,marginTop:4,display:"block"},children:l})]})};re.propTypes={label:D.string,required:D.bool,type:D.string,placeholder:D.string,errorMessage:D.string,value:D.oneOfType([D.string,D.number]),onChange:D.func,disabled:D.bool,className:D.string,maxLength:D.oneOfType([D.string,D.number]),minLength:D.oneOfType([D.string,D.number]),inputSymbol:D.node,id:D.string};const le=e=>{if(""===e||null===e)return"";const n=Number(e.toString().replace(/[^\d.-]/g,""));return isNaN(n)?"":n.toLocaleString("en-US",{style:"currency",currency:"USD",minimumFractionDigits:0,maximumFractionDigits:0})},oe=({label:e="Enter Lable",value:t="",onChange:l,required:o=!1,errorMessage:s="",name:c,disabled:d=!1})=>{const[p,u]=n(le(t));r(()=>{u(le(t))},[t]);return a("div",{className:"form-group",children:[i("label",{className:`form-label ${o&&"required"}`,children:e}),i("div",{className:"input-group",style:{fontFamily:"inherit"},children:i("input",{name:c,disabled:d,required:o,type:"text",value:p,onChange:e=>{const n=e.target.value.replace(/[^\d.]/g,""),t=le(n);u(t),l&&l(c,n)},placeholder:"$0.00","aria-label":"Currency input",className:"form-control form-control-solid border"+(s?" is-invalid border-danger":"")})}),s&&i("span",{className:"input-error text-danger",style:{fontSize:13,marginTop:4,display:"block"},children:s})]})},ae=({label:e,checked:n=!1,onChange:t,name:r,value:l,disabled:o=!1,id:s,className:c="",dataTestId:d})=>a("div",{className:`form-check ${c}`,"data-testid":d,children:[i("input",{className:"form-check-input",type:"radio",name:r,id:s,value:l,checked:n,onChange:t,disabled:o}),e&&i("label",{className:"form-check-label",htmlFor:s,children:e})]}),ie={small:"spinner-border-sm",medium:"",large:"spinner-border-lg"},se={primary:"text-primary",secondary:"text-secondary",success:"text-success",danger:"text-danger",warning:"text-warning",info:"text-info",light:"text-light",dark:"text-dark"},ce={primary:"#007bff",secondary:"#6c757d",success:"#28a745",danger:"#dc3545",warning:"#ffc107",info:"#17a2b8",light:"#f8f9fa",dark:"#343a40"},de="table",pe="dots",ue="bar",he="circular",me="pulse",fe="text",ge="wave",ve=({size:e="medium",color:n="primary",ariaLabel:t="Loading...",loadingType:r="spinner",className:l="",placeholderRows:o=4})=>{const s="large"===e?"":ie[e]||"",c=se[n]||se.primary,d="large"===e?{width:"3rem",height:"3rem",borderWidth:"0.3em"}:{};if(r===de){const e=ce[n]||ce.primary;return i("div",{className:"w-100",children:i("div",{className:"placeholder-glow",children:Array.from({length:o}).map((n,t)=>i("span",{className:`placeholder col-12 rounded bg-secondary${0===t?" mb-2":""}${t===o-1?" mt-2":" mb-2"}`,style:{height:44,display:"block",background:e}},t))})})}if(r===pe){const e=ce[n]||ce.primary;return a("div",{style:{display:"inline-flex",alignItems:"center"},"aria-label":t,children:[a("span",{className:"dots-loader",children:[i("span",{style:{background:e}}),i("span",{style:{background:e}}),i("span",{style:{background:e}})]}),i("style",{children:"\n .dots-loader {\n display: inline-block;\n }\n .dots-loader span {\n display: inline-block;\n width: 8px;\n height: 8px;\n margin: 0 2px;\n border-radius: 50%;\n animation: dots-bounce 1s infinite;\n }\n .dots-loader span:nth-child(2) { animation-delay: 0.2s; }\n .dots-loader span:nth-child(3) { animation-delay: 0.4s; }\n @keyframes dots-bounce {\n 0%, 80%, 100% { transform: scale(1); }\n 40% { transform: scale(1.5); }\n }\n "})]})}if(r===ue){return a("div",{style:{width:"100%",padding:"8px 0"},"aria-label":t,children:[i("div",{className:"bar-loader",children:i("div",{style:{background:ce[n]||ce.primary}})}),i("style",{children:"\n .bar-loader {\n width: 100%;\n height: 8px;\n background: #e0e0e0;\n border-radius: 4px;\n overflow: hidden;\n position: relative;\n }\n .bar-loader div {\n position: absolute;\n left: 0;\n top: 0;\n height: 100%;\n width: 30%;\n animation: bar-move 1.2s linear infinite;\n }\n @keyframes bar-move {\n 0% { left: -30%; }\n 100% { left: 100%; }\n }\n "})]})}if(r===me){return a("div",{style:{display:"inline-flex",alignItems:"center"},"aria-label":t,children:[i("span",{className:"pulse-loader",style:{background:ce[n]||ce.primary}}),i("style",{children:"\n .pulse-loader {\n display: inline-block;\n width: 16px;\n height: 16px;\n border-radius: 50%;\n animation: pulse-grow 1s infinite;\n }\n @keyframes pulse-grow {\n 0%, 100% { transform: scale(1); opacity: 1; }\n 50% { transform: scale(1.5); opacity: 0.5; }\n }\n "})]})}if(r===fe){const e=ce[n]||ce.primary;return a("div",{style:{display:"inline-flex",alignItems:"center"},"aria-label":t,children:[i("span",{style:{color:e},children:"Loading"}),i("span",{className:"ellipsis-loader",style:{color:e}}),i("style",{children:"\n .ellipsis-loader::after {\n content: '...';\n animation: ellipsis 1.2s infinite steps(4);\n }\n @keyframes ellipsis {\n 0% { content: ''; }\n 25% { content: '.'; }\n 50% { content: '..'; }\n 75% { content: '...'; }\n 100% { content: ''; }\n }\n "})]})}if(r===ge){const e=ce[n]||ce.primary;return a("div",{style:{display:"inline-flex",alignItems:"center",gap:2},"aria-label":t,children:[a("span",{className:"wave-loader",children:[i("span",{style:{background:e}}),i("span",{style:{background:e}}),i("span",{style:{background:e}}),i("span",{style:{background:e}}),i("span",{style:{background:e}})]}),i("style",{children:"\n .wave-loader {\n display: inline-block;\n height: 20px;\n }\n .wave-loader span {\n display: inline-block;\n width: 4px;\n height: 100%;\n margin: 0 2px;\n animation: wave-bounce 1.2s infinite;\n }\n .wave-loader span:nth-child(2) { animation-delay: 0.2s; }\n .wave-loader span:nth-child(3) { animation-delay: 0.4s; }\n .wave-loader span:nth-child(4) { animation-delay: 0.6s; }\n .wave-loader span:nth-child(5) { animation-delay: 0.8s; }\n @keyframes wave-bounce {\n 0%, 100% { transform: scaleY(1); }\n 50% { transform: scaleY(2); }\n }\n "})]})}if(r===he){const e=ce[n]||ce.primary;return a("div",{style:{display:"inline-flex",alignItems:"center"},"aria-label":t,children:[a("svg",{className:"circular-loader",width:"40",height:"40",viewBox:"0 0 40 40",children:[i("circle",{cx:"20",cy:"20",r:"18",stroke:e,strokeWidth:"4",fill:"none",opacity:"0.2"}),i("circle",{cx:"20",cy:"20",r:"18",stroke:e,strokeWidth:"4",fill:"none",strokeDasharray:"113",strokeDashoffset:"80",style:{animation:"circular-spin 1s linear infinite"}})]}),i("style",{children:"\n @keyframes circular-spin {\n 100% { stroke-dashoffset: 0; }\n }\n "})]})}return a("div",{role:"status","aria-label":t,style:{display:"inline-flex",alignItems:"center"},children:[i("span",{className:`spinner-border ${s} ${c} ${l}`.trim(),style:d,"aria-hidden":"true"}),i("span",{className:"visually-hidden",children:t})]})},ye=()=>i("svg",{xmlns:"http://www.w3.org/2000/svg",width:"15",height:"15",viewBox:"0 0 20 20",children:i("path",{fill:"currentColor",d:"M7 20h2V8h3L8 4L4 8h3zm13-4h-3V4h-2v12h-3l4 4z"})}),be=()=>i("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"12",viewBox:"0 0 14 12",children:i("path",{fill:"currentColor",d:"M3 0L6 3H3.75V12H2.25V3H0L3 0ZM6.75 9H13.5V7.5H6.75V9ZM6.75 6H12V4.5H6.75V6ZM6.75 12H15V10.5H6.75V12ZM6.75 3H10.5V1.5H6.75V3Z"})}),we=()=>i("svg",{xmlns:"http://www.w3.org/2000/svg",width:"15",height:"15",viewBox:"0 0 20 20",children:i("path",{fill:"currentColor",d:"m6 20l4-4H7V4H5v12H2zm5-12h9v2h-9zm0 4h7v2h-7zm0-8h11v2H11zm0 12h5v2h-5z"})}),xe=()=>i("svg",{xmlns:"http://www.w3.org/2000/svg",width:"15",height:"15",viewBox:"0 0 20 20",children:i("path",{fill:"currentColor",d:"M14 20.5h-4a.76.76 0 0 1-.75-.75V12L3.9 4.69a.73.73 0 0 1-.07-.78a.76.76 0 0 1 .67-.41h15a.76.76 0 0 1 .67.41a.73.73 0 0 1-.07.78L14.75 12v7.75a.76.76 0 0 1-.75.75M10.75 19h2.5v-7.25a.7.7 0 0 1 .15-.44L18 5H6l4.62 6.31a.7.7 0 0 1 .15.44Z"})}),Ce=()=>i("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",version:"1.1",children:a("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd",children:[i("polygon",{points:"0 0 24 0 24 24 0 24"}),i("path",{d:"M6.70710678,15.7071068 C6.31658249,16.0976311 5.68341751,16.0976311 5.29289322,15.7071068 C4.90236893,15.3165825 4.90236893,14.6834175 5.29289322,14.2928932 L11.2928932,8.29289322 C11.6714722,7.91431428 12.2810586,7.90106866 12.6757246,8.26284586 L18.6757246,13.7628459 C19.0828436,14.1360383 19.1103465,14.7686056 18.7371541,15.1757246 C18.3639617,15.5828436 17.7313944,15.6103465 17.3242754,15.2371541 L12.0300757,10.3841378 L6.70710678,15.7071068 Z",fill:"currentColor","fill-rule":"nonzero",transform:"translate(12.000003, 11.999999) rotate(-270.000000) translate(-12.000003, -11.999999) "})]})}),Ne=()=>i("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",version:"1.1",children:a("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd",children:[i("polygon",{points:"0 0 24 0 24 24 0 24"}),i("path",{d:"M6.70710678,15.7071068 C6.31658249,16.0976311 5.68341751,16.0976311 5.29289322,15.7071068 C4.90236893,15.3165825 4.90236893,14.6834175 5.29289322,14.2928932 L11.2928932,8.29289322 C11.6714722,7.91431428 12.2810586,7.90106866 12.6757246,8.26284586 L18.6757246,13.7628459 C19.0828436,14.1360383 19.1103465,14.7686056 18.7371541,15.1757246 C18.3639617,15.5828436 17.7313944,15.6103465 17.3242754,15.2371541 L12.0300757,10.3841378 L6.70710678,15.7071068 Z",fill:"currentColor","fill-rule":"nonzero",transform:"translate(12.000003, 11.999999) scale(-1, 1) rotate(-270.000000) translate(-12.000003, -11.999999) "})]})});function ke(e){if(!e)return e;return e.replace(/(?<year>[0-9]{4})-(?<month>[0-9]{2})-(?<day>[0-9]{2})(?:T[0-9:.]+(?:[+-][0-9:]+)?)?/,"$<day>-$<month>-$<year>")}const Se=({datePickerDates:e,setDatePickerDates:n})=>{const l=t();return r(()=>{$(l.current).daterangepicker({dateFormat:"dd-mm-yyyy",autoApply:!0,autoUpdateInput:!0},function(e,t){n({startDate:e.format("YYYY-MM-DD"),endDate:t.format("YYYY-MM-DD")})})},[e,n,l]),a("div",{className:"form-control form-control-solid border d-flex align-items-center p-3 justify-content-between",ref:l,children:[i("div",{className:"fs-6",children:e?a(s,{children:[i("input",{hidden:!0,type:"date",defaultValue:e?.startDate,name:"startDate"}),i("input",{hidden:!0,type:"date",defaultValue:e?.endDate,name:"endDate"}),`${ke(e?.startDate)} - ${ke(e?.endDate)}`]}):"Pick a date range"}),i("span",{className:"svg-icon svg-icon-1 ms-2 me-0",children:a("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[i("path",{opacity:"0.3",d:"M21 22H3C2.4 22 2 21.6 2 21V5C2 4.4 2.4 4 3 4H21C21.6 4 22 4.4 22 5V21C22 21.6 21.6 22 21 22Z",fill:"currentColor"}),i("path",{d:"M6 6C5.4 6 5 5.6 5 5V3C5 2.4 5.4 2 6 2C6.6 2 7 2.4 7 3V5C7 5.6 6.6 6 6 6ZM11 5V3C11 2.4 10.6 2 10 2C9.4 2 9 2.4 9 3V5C9 5.6 9.4 6 10 6C10.6 6 11 5.6 11 5ZM15 5V3C15 2.4 14.6 2 14 2C13.4 2 13 2.4 13 3V5C13 5.6 13.4 6 14 6C14.6 6 15 5.6 15 5ZM19 5V3C19 2.4 18.6 2 18 2C17.4 2 17 2.4 17 3V5C17 5.6 17.4 6 18 6C18.6 6 19 5.6 19 5Z",fill:"currentColor"}),i("path",{d:"M8.8 13.1C9.2 13.1 9.5 13 9.7 12.8C9.9 12.6 10.1 12.3 10.1 11.9C10.1 11.6 10 11.3 9.8 11.1C9.6 10.9 9.3 10.8 9 10.8C8.8 10.8 8.59999 10.8 8.39999 10.9C8.19999 11 8.1 11.1 8 11.2C7.9 11.3 7.8 11.4 7.7 11.6C7.6 11.8 7.5 11.9 7.5 12.1C7.5 12.2 7.4 12.2 7.3 12.3C7.2 12.4 7.09999 12.4 6.89999 12.4C6.69999 12.4 6.6 12.3 6.5 12.2C6.4 12.1 6.3 11.9 6.3 11.7C6.3 11.5 6.4 11.3 6.5 11.1C6.6 10.9 6.8 10.7 7 10.5C7.2 10.3 7.49999 10.1 7.89999 10C8.29999 9.90003 8.60001 9.80003 9.10001 9.80003C9.50001 9.80003 9.80001 9.90003 10.1 10C10.4 10.1 10.7 10.3 10.9 10.4C11.1 10.5 11.3 10.8 11.4 11.1C11.5 11.4 11.6 11.6 11.6 11.9C11.6 12.3 11.5 12.6 11.3 12.9C11.1 13.2 10.9 13.5 10.6 13.7C10.9 13.9 11.2 14.1 11.4 14.3C11.6 14.5 11.8 14.7 11.9 15C12 15.3 12.1 15.5 12.1 15.8C12.1 16.2 12 16.5 11.9 16.8C11.8 17.1 11.5 17.4 11.3 17.7C11.1 18 10.7 18.2 10.3 18.3C9.9 18.4 9.5 18.5 9 18.5C8.5 18.5 8.1 18.4 7.7 18.2C7.3 18 7 17.8 6.8 17.6C6.6 17.4 6.4 17.1 6.3 16.8C6.2 16.5 6.10001 16.3 6.10001 16.1C6.10001 15.9 6.2 15.7 6.3 15.6C6.4 15.5 6.6 15.4 6.8 15.4C6.9 15.4 7.00001 15.4 7.10001 15.5C7.20001 15.6 7.3 15.6 7.3 15.7C7.5 16.2 7.7 16.6 8 16.9C8.3 17.2 8.6 17.3 9 17.3C9.2 17.3 9.5 17.2 9.7 17.1C9.9 17 10.1 16.8 10.3 16.6C10.5 16.4 10.5 16.1 10.5 15.8C10.5 15.3 10.4 15 10.1 14.7C9.80001 14.4 9.50001 14.3 9.10001 14.3C9.00001 14.3 8.9 14.3 8.7 14.3C8.5 14.3 8.39999 14.3 8.39999 14.3C8.19999 14.3 7.99999 14.2 7.89999 14.1C7.79999 14 7.7 13.8 7.7 13.7C7.7 13.5 7.79999 13.4 7.89999 13.2C7.99999 13 8.2 13 8.5 13H8.8V13.1ZM15.3 17.5V12.2C14.3 13 13.6 13.3 13.3 13.3C13.1 13.3 13 13.2 12.9 13.1C12.8 13 12.7 12.8 12.7 12.6C12.7 12.4 12.8 12.3 12.9 12.2C13 12.1 13.2 12 13.6 11.8C14.1 11.6 14.5 11.3 14.7 11.1C14.9 10.9 15.2 10.6 15.5 10.3C15.8 10 15.9 9.80003 15.9 9.70003C15.9 9.60003 16.1 9.60004 16.3 9.60004C16.5 9.60004 16.7 9.70003 16.8 9.80003C16.9 9.90003 17 10.2 17 10.5V17.2C17 18 16.7 18.4 16.2 18.4C16 18.4 15.8 18.3 15.6 18.2C15.4 18.1 15.3 17.8 15.3 17.5Z",fill:"currentColor"})]})})]})},Me=()=>null;Me.propTypes={header:D.oneOfType([D.string,D.node]).isRequired,accessor:D.string,colKey:D.string,filterType:D.string,filterOptions:D.any,rangeKeys:D.string,sortable:D.bool,headerClassName:D.string,render:D.func,filterAlignment:D.string,children:D.oneOfType([D.func,D.node])};const Oe=({title:t,data:r=[],children:l,tableClassName:o="",pageSize:c,currentPage:d,totalPages:p=0,onPageChange:u,onPageSizeChange:h,totalRecords:m,pageSizeOptions:f=[10,20,50,100],onSortChange:g,onFilterChange:v,onFilterReset:y,isLoading:b=!1,handleRowClick:w,filterSummery:x,loadingClassName:C,loadingSize:N,loadingType:k,loadingPlaceholderRows:S,loadingColSpan:M})=>{const[O,T]=n([]),[$,L]=n({}),[j,z]=n({}),[E,V]=n(null),[A,H]=n(null),[q,P]=n(null),D=e.Children.toArray(l).filter(n=>e.isValidElement(n)).map(e=>{const{header:n,headerClassName:t,accessor:r,filterAlignment:l,colKey:o,sortable:a,filterType:i,filterOptions:s,rangeKeys:c,render:d}=e.props,p="function"==typeof e.props.children?e.props.children:null;return{header:n,headerClassName:t,accessor:r,colKey:o,sortable:a,filterAlignment:l,filterType:i,filterOptions:s,rangeKeys:c,render:d||p,rawChild:e.props.children}}),R=(e,n)=>{if("object"==typeof e&&null!==e)L(n=>{const t={...n,...e};return v?.(t),t});else{const t={...$,[e]:n};L(t),v?.(t)}},I=e=>{if(V(n=>n===e?null:e),E!==e){const n=D[e]?.colKey;z(e=>({...e,[n]:$[n]||""}))}},_=1===d?1:c*d-(c-1),B=d+1<p?c*d:m,Z=(()=>{if(p<=5)return Array.from({length:p},(e,n)=>n+1);let e=d-Math.floor(2.5),n=e+5-1;return e<1&&(e=1,n=5),n>p&&(n=p,e=n-4),Array.from({length:n-e+1},(n,t)=>e+t)})();function K(e){if(!e)return{};const n={};return e.split(/\s+/).forEach(e=>{if(e.startsWith("left-")){const t=e.replace("left-","");n.left=t.endsWith("px")?t:`${t}`}else if(e.startsWith("right-")){const t=e.replace("right-","");n.right=t.endsWith("px")?t:`${t}`}}),n}return a("div",{className:`filtered-table position-relative ${o}`,children:[t&&i("h4",{className:"mb-3",children:t}),a("div",{className:"table-responsive",children:[Object.keys($).some(e=>$[e])&&a("div",{className:"d-flex justify-content-between align-items-center mb-3 p-2 border bg-light rounded",children:[x&&i("div",{className:"d-flex flex-wrap align-items-center",children:x.filter(e=>""!==e.value&&null!=e.value).map(e=>a("span",{className:"badge bg-primary text-white me-2 mb-1",children:[i("span",{className:"fw-bolder",children:e.label||e.key}),":"," ",String(e.value)]},e.key))}),!x&&$&&i("div",{className:"d-flex flex-wrap align-items-center",children:Object.entries($).map(([e,n])=>{if(!n)return null;const t=D.find(n=>n.colKey===e);return a("span",{className:"badge bg-primary text-white me-2 mb-1",children:[i("span",{className:"fw-bolder",children:t?.header||e}),":"," ",String(n)]},e)})}),i("div",{children:i("span",{className:"btn btn-sm btn-primary",onClick:()=>{const e={};Object.keys($).forEach(n=>e[n]=""),L(e),Object.keys(e).forEach(e=>R(e,"")),y(),H(null),L({}),T([])},children:"Reset Filter"})})]}),a("table",{className:"table align-middle position-relative table-row-dashed fs-6 gy-3 mb-0 table-hover filtered_table",children:[i("thead",{children:i("tr",{className:"fw-bold fs-6 fs-md-5 text-gray-900",children:D.map((e,n)=>{const t=e.colKey,r=O.find(e=>e.field===t);let l=!1;if("DATERANGE"===e.filterType&&e.rangeKeys){const[n,t]=e.rangeKeys.split(",");l=!(!$[n]&&!$[t])}else t&&(l=!!$[t]);return i("th",{scope:"col",className:`text-nowrap min-w-100px min-w-md-auto ${e.headerClassName||""}`,children:a("div",{className:"d-flex align-items-end position-relative",children:[i("span",{dangerouslySetInnerHTML:{__html:e.header}}),a("div",{className:"ms-2 sort-filter-wrp d-flex align-items-end",children:[e.sortable&&t&&a("div",{className:"ms-1",onClick:()=>t?(e=>{const n=e.colKey;n&&T(e=>{const t=e[0];let r=[];return t&&t.field===n?"asc"===t.order?r=[{field:n,order:"desc"}]:"desc"===t.order&&(r=[]):r=[{field:n,order:"asc"}],g?.(r),r})})(e):null,style:{cursor:t?"pointer":"default",marginBottom:"1px"},children:["asc"===r?.order&&i("span",{style:{color:"#d8128c"},children:i(be,{})}),"desc"===r?.order&&i("span",{style:{color:"#d8128c"},children:i(we,{})}),!r&&i(ye,{})]}),e.filterType&&i("div",{className:"flt-btn w-25px h-25px pt-1 pe-3 "+(e.sortable?"ms-2":""),style:{color:l?"#d8128c":""},onClick:()=>I(n),children:i(xe,{})})]}),E===n&&a(s,{children:["TEXT"===e.filterType&&a("div",{className:"filter-dropdown-wrp z-index-1 bg-white",style:K(e.filterAlignment),children:[i("input",{type:"text",className:"form-control form-control-sm",value:j[e.colKey]||"",placeholder:`Filter ${e.header}`,onChange:n=>z(t=>({...t,[e.colKey]:n.target.value}))}),a("div",{className:"d-flex align-items-center justify-content-between mt-5",children:[i("button",{className:"btn btn-sm btn-secondary me-5",onClick:()=>{z(n=>({...n,[e.colKey]:""})),R(e.colKey,""),I(n)},children:"Clear"}),i("button",{className:"btn btn-sm btn-primary",onClick:()=>{R(e.colKey,j[e.colKey]||""),I(n)},children:"Apply"})]})]}),"DATERANGE"===e.filterType&&a("div",{className:"filter-dropdown-wrp z-index-1 bg-white",style:K(e.filterAlignment),children:[i(Se,{datePickerDates:A,setDatePickerDates:e=>H(e)}),a("div",{className:"d-flex align-items-center justify-content-between mt-5",children:[i("button",{className:"btn btn-sm btn-secondary me-5",onClick:()=>{const[t,r]=e.rangeKeys.split(",");z(e=>({...e,[t]:"",[r]:""})),R({[t]:"",[r]:""}),H(null),I(n)},children:"Clear"}),i("button",{className:"btn btn-sm btn-primary",onClick:()=>{const[t,r]=e.rangeKeys.split(",");R({[t]:A?.startDate||"",[r]:A?.endDate||""}),I(n)},children:"Apply"})]})]}),"DROPDOWN"===e.filterType&&a("div",{className:"filter-dropdown-wrp z-index-1 bg-white",style:K(e.filterAlignment),children:[a("select",{className:"form-select form-select-sm form-select-solid text-capitalize mb-3",value:j[e.colKey]||"",onChange:n=>z(t=>({...t,[e.colKey]:n.target.value})),children:[i("option",{value:"",children:"Any"}),e.filterOptions.map((e,n)=>i("option",{value:e.value,className:"text-capitalize",children:e.label},n))]}),a("div",{className:"d-flex align-items-center justify-content-between mt-5",children:[i("button",{className:"btn btn-sm btn-secondary me-5",onClick:()=>{z(n=>({...n,[e.colKey]:""})),R(e.colKey,""),I(n)},children:"Clear"}),i("button",{className:"btn btn-sm btn-primary",onClick:()=>{R(e.colKey,j[e.colKey]||""),I(n)},children:"Apply"})]})]})]})]})},n)})})}),i("tbody",{children:b?i("tr",{children:i("td",{colSpan:M||9,children:i(ve,{className:C||"w-100",size:N||"md",loadingType:k||"table",placeholderRows:S||9})})}):a(s,{children:[r&&r.length>0?r.map((e,n)=>i("tr",{onClick:()=>w(e),style:{cursor:"pointer"},children:D.map((t,r)=>{let l=null;if("function"==typeof t.render)l=t.render(e,n);else if(t.accessor){const n=function(e,n){if(n)return n.split(".").reduce((e,n)=>null==e?void 0:e[n],e)}(e,t.accessor);l=null==n?"":n}else l=t.rawChild??"";return i("td",{children:l},r)})},e.uuid??e.id??n)):i("tr",{children:i("td",{colSpan:D.length,className:"text-center py-4",children:i("div",{className:"my-10 py-10",children:"No data"})})}),r&&r.length<5&&i("tr",{children:i("td",{colSpan:D.length,className:"text-center",children:i("div",{style:{minHeight:"50px"}})})})]})})]})]}),a("div",{className:"d-flex align-items-center justify-content-between mt-6",children:[a("div",{className:"col-sm-12 col-md-6 d-flex align-items-center",children:[i("div",{className:"dataTables_length",children:i("label",{children:i("select",{className:"form-select form-select-sm form-select-solid",value:c,onChange:e=>h(Number(e.target.value)),children:f.map(e=>i("option",{value:e,children:e},e))})})}),a("div",{className:"dataTables_info text-start ms-3",role:"status","aria-live":"polite",children:["Showing ",_," to ",B," of ",m," records"]})]}),i("div",{className:"col-lg-6 col-md-12 d-flex justify-content-end",children:a("ul",{className:"pagination pagination-md",children:[d>1&&i("li",{className:"paginate_button page-item",children:i("span",{className:"page-link svg-icon svg-icon-2",onClick:()=>u(d-1),children:i(Ne,{})})}),p>1&&Z.map(e=>i("li",{className:"paginate_button page-item "+(d===e?"active":""),children:i("span",{onClick:()=>u(e),className:"page-link",children:e})},e)),d<p&&i("li",{className:"paginate_button page-item",children:i("span",{className:"page-link svg-icon svg-icon-2",onClick:()=>u(d+1),children:i(Ce,{})})})]})}),i("style",{jsx:!0,global:!0,children:""})]})]})};Oe.propTypes={title:D.string,data:D.array,children:D.node.isRequired,tableClassName:D.string,pageSize:D.number.isRequired,currentPage:D.number.isRequired,totalPages:D.number.isRequired,onPageChange:D.func.isRequired,onPageSizeChange:D.func.isRequired,pageSizeOptions:D.array,onSortChange:D.func,onFilterChange:D.func,onFilterReset:D.func,isLoading:D.bool},Oe.Col=Me;export{I as AccordionItem,_ as PCAccordionWrapper,R as PCButton,ee as PCCol,G as PCContainer,Oe as PCFilteredTable,U as PCIcon,re as PCInput,oe as PCInputCurrency,ve as PCLoading,ne as PCModal,W as PCMultiSelectDropdown,ae as PCRadio,Q as PCRow,B as PCSelectDropdown,K as PCTable,F as PCTextarea,Z as PCTooltip};
14
+ */function E(){if(v)return g;v=1;var e=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,t=Object.prototype.propertyIsEnumerable;return g=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var n={},t=0;t<10;t++)n["_"+String.fromCharCode(t)]=t;if("0123456789"!==Object.getOwnPropertyNames(n).map(function(e){return n[e]}).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach(function(e){r[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(r,l){for(var o,a,i=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(r),s=1;s<arguments.length;s++){for(var c in o=Object(arguments[s]))n.call(o,c)&&(i[c]=o[c]);if(e){a=e(o);for(var d=0;d<a.length;d++)t.call(o,a[d])&&(i[a[d]]=o[a[d]])}}return i},g}function z(){if(b)return y;b=1;return y="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}function V(){return x?w:(x=1,w=Function.call.bind(Object.prototype.hasOwnProperty))}function A(){if(N)return C;N=1;var e=function(){};if("production"!==process.env.NODE_ENV){var n=z(),t={},r=V();e=function(e){var n="Warning: "+e;"undefined"!=typeof console&&console.error(n);try{throw new Error(n)}catch(e){}}}function l(l,o,a,i,s){if("production"!==process.env.NODE_ENV)for(var c in l)if(r(l,c)){var d;try{if("function"!=typeof l[c]){var p=Error((i||"React class")+": "+a+" type `"+c+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof l[c]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw p.name="Invariant Violation",p}d=l[c](o,c,i,a,null,n)}catch(e){d=e}if(!d||d instanceof Error||e((i||"React class")+": type specification of "+a+" `"+c+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof d+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),d instanceof Error&&!(d.message in t)){t[d.message]=!0;var u=s?s():"";e("Failed "+a+" type: "+d.message+(null!=u?u:""))}}}return l.resetWarningCache=function(){"production"!==process.env.NODE_ENV&&(t={})},C=l}function H(){if(S)return k;S=1;var e=j(),n=E(),t=z(),r=V(),l=A(),o=function(){};function a(){return null}return"production"!==process.env.NODE_ENV&&(o=function(e){var n="Warning: "+e;"undefined"!=typeof console&&console.error(n);try{throw new Error(n)}catch(e){}}),k=function(i,s){var c="function"==typeof Symbol&&Symbol.iterator;var d="<<anonymous>>",p={array:f("array"),bigint:f("bigint"),bool:f("boolean"),func:f("function"),number:f("number"),object:f("object"),string:f("string"),symbol:f("symbol"),any:m(a),arrayOf:function(e){return m(function(n,r,l,o,a){if("function"!=typeof e)return new h("Property `"+a+"` of component `"+l+"` has invalid PropType notation inside arrayOf.");var i=n[r];if(!Array.isArray(i))return new h("Invalid "+o+" `"+a+"` of type `"+y(i)+"` supplied to `"+l+"`, expected an array.");for(var s=0;s<i.length;s++){var c=e(i,s,l,o,a+"["+s+"]",t);if(c instanceof Error)return c}return null})},element:m(function(e,n,t,r,l){var o=e[n];return i(o)?null:new h("Invalid "+r+" `"+l+"` of type `"+y(o)+"` supplied to `"+t+"`, expected a single ReactElement.")}),elementType:m(function(n,t,r,l,o){var a=n[t];return e.isValidElementType(a)?null:new h("Invalid "+l+" `"+o+"` of type `"+y(a)+"` supplied to `"+r+"`, expected a single ReactElement type.")}),instanceOf:function(e){return m(function(n,t,r,l,o){if(!(n[t]instanceof e)){var a=e.name||d;return new h("Invalid "+l+" `"+o+"` of type `"+(((i=n[t]).constructor&&i.constructor.name?i.constructor.name:d)+"` supplied to `")+r+"`, expected instance of `"+a+"`.")}var i;return null})},node:m(function(e,n,t,r,l){return v(e[n])?null:new h("Invalid "+r+" `"+l+"` supplied to `"+t+"`, expected a ReactNode.")}),objectOf:function(e){return m(function(n,l,o,a,i){if("function"!=typeof e)return new h("Property `"+i+"` of component `"+o+"` has invalid PropType notation inside objectOf.");var s=n[l],c=y(s);if("object"!==c)return new h("Invalid "+a+" `"+i+"` of type `"+c+"` supplied to `"+o+"`, expected an object.");for(var d in s)if(r(s,d)){var p=e(s,d,o,a,i+"."+d,t);if(p instanceof Error)return p}return null})},oneOf:function(e){if(!Array.isArray(e))return"production"!==process.env.NODE_ENV&&o(arguments.length>1?"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]).":"Invalid argument supplied to oneOf, expected an array."),a;return m(function(n,t,r,l,o){for(var a=n[t],i=0;i<e.length;i++)if(u(a,e[i]))return null;var s=JSON.stringify(e,function(e,n){return"symbol"===b(n)?String(n):n});return new h("Invalid "+l+" `"+o+"` of value `"+String(a)+"` supplied to `"+r+"`, expected one of "+s+".")})},oneOfType:function(e){if(!Array.isArray(e))return"production"!==process.env.NODE_ENV&&o("Invalid argument supplied to oneOfType, expected an instance of array."),a;for(var n=0;n<e.length;n++){var l=e[n];if("function"!=typeof l)return o("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+w(l)+" at index "+n+"."),a}return m(function(n,l,o,a,i){for(var s=[],c=0;c<e.length;c++){var d=(0,e[c])(n,l,o,a,i,t);if(null==d)return null;d.data&&r(d.data,"expectedType")&&s.push(d.data.expectedType)}return new h("Invalid "+a+" `"+i+"` supplied to `"+o+"`"+(s.length>0?", expected one of type ["+s.join(", ")+"]":"")+".")})},shape:function(e){return m(function(n,r,l,o,a){var i=n[r],s=y(i);if("object"!==s)return new h("Invalid "+o+" `"+a+"` of type `"+s+"` supplied to `"+l+"`, expected `object`.");for(var c in e){var d=e[c];if("function"!=typeof d)return g(l,o,a,c,b(d));var p=d(i,c,l,o,a+"."+c,t);if(p)return p}return null})},exact:function(e){return m(function(l,o,a,i,s){var c=l[o],d=y(c);if("object"!==d)return new h("Invalid "+i+" `"+s+"` of type `"+d+"` supplied to `"+a+"`, expected `object`.");var p=n({},l[o],e);for(var u in p){var m=e[u];if(r(e,u)&&"function"!=typeof m)return g(a,i,s,u,b(m));if(!m)return new h("Invalid "+i+" `"+s+"` key `"+u+"` supplied to `"+a+"`.\nBad object: "+JSON.stringify(l[o],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var f=m(c,u,a,i,s+"."+u,t);if(f)return f}return null})}};function u(e,n){return e===n?0!==e||1/e==1/n:e!=e&&n!=n}function h(e,n){this.message=e,this.data=n&&"object"==typeof n?n:{},this.stack=""}function m(e){if("production"!==process.env.NODE_ENV)var n={},r=0;function l(l,a,i,c,p,u,m){if(c=c||d,u=u||i,m!==t){if(s){var f=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 f.name="Invariant Violation",f}if("production"!==process.env.NODE_ENV&&"undefined"!=typeof console){var g=c+":"+i;!n[g]&&r<3&&(o("You are manually calling a React.PropTypes validation function for the `"+u+"` prop on `"+c+"`. 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."),n[g]=!0,r++)}}return null==a[i]?l?null===a[i]?new h("The "+p+" `"+u+"` is marked as required in `"+c+"`, but its value is `null`."):new h("The "+p+" `"+u+"` is marked as required in `"+c+"`, but its value is `undefined`."):null:e(a,i,c,p,u)}var a=l.bind(null,!1);return a.isRequired=l.bind(null,!0),a}function f(e){return m(function(n,t,r,l,o,a){var i=n[t];return y(i)!==e?new h("Invalid "+l+" `"+o+"` of type `"+b(i)+"` supplied to `"+r+"`, expected `"+e+"`.",{expectedType:e}):null})}function g(e,n,t,r,l){return new h((e||"React class")+": "+n+" type `"+t+"."+r+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+l+"`.")}function v(e){switch(typeof e){case"number":case"string":case"undefined":return!0;case"boolean":return!e;case"object":if(Array.isArray(e))return e.every(v);if(null===e||i(e))return!0;var n=function(e){var n=e&&(c&&e[c]||e["@@iterator"]);if("function"==typeof n)return n}(e);if(!n)return!1;var t,r=n.call(e);if(n!==e.entries){for(;!(t=r.next()).done;)if(!v(t.value))return!1}else for(;!(t=r.next()).done;){var l=t.value;if(l&&!v(l[1]))return!1}return!0;default:return!1}}function y(e){var n=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":function(e,n){return"symbol"===e||!!n&&("Symbol"===n["@@toStringTag"]||"function"==typeof Symbol&&n instanceof Symbol)}(n,e)?"symbol":n}function b(e){if(null==e)return""+e;var n=y(e);if("object"===n){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return n}function w(e){var n=b(e);switch(n){case"array":case"object":return"an "+n;case"boolean":case"date":case"regexp":return"a "+n;default:return n}}return h.prototype=Error.prototype,p.checkPropTypes=l,p.resetWarningCache=l.resetWarningCache,p.PropTypes=p,p},k}function q(){if(O)return M;O=1;var e=z();function n(){}function t(){}return t.resetWarningCache=n,M=function(){function r(n,t,r,l,o,a){if(a!==e){var i=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 i.name="Invariant Violation",i}}function l(){return r}r.isRequired=r;var o={array:r,bigint:r,bool:r,func:r,number:r,object:r,string:r,symbol:r,any:r,arrayOf:l,element:r,elementType:r,instanceOf:l,node:r,objectOf:l,oneOf:l,oneOfType:l,shape:l,exact:l,checkPropTypes:t,resetWarningCache:n};return o.PropTypes=o,o}}function P(){if(T)return p.exports;if(T=1,"production"!==process.env.NODE_ENV){var e=j();p.exports=H()(e.isElement,true)}else p.exports=q()();return p.exports}var D=c(P());function R({label:e,icon:n,loading:t=!1,disabled:r=!1,variant:l="primary",type:o="button",className:s="",...c}){const d=!!e;return a("button",{type:o,className:`btn btn-${l} ${s} d-flex align-items-center justify-center gap-2 ${!e&&n?"p-2":""}`,disabled:r||t,...c,children:[t&&i("span",{className:"custom-spinner"}),n&&i("span",{className:"px-2",children:n}),d&&i("span",{children:e}),i("style",{jsx:!0,children:"\n .custom-spinner {\n display: inline-block;\n width: 1rem;\n height: 1rem;\n border: 2px solid rgba(255, 255, 255, 0.3);\n border-top-color: white;\n border-radius: 50%;\n animation: spin 0.6s linear infinite;\n }\n\n @keyframes spin {\n to {\n transform: rotate(360deg);\n }\n }\n "})]})}R.propTypes={label:D.oneOfType([D.string,D.node]),icon:D.node,loading:D.bool,disabled:D.bool,variant:D.oneOf(["primary","secondary","outline-primary","outline-secondary","success","danger","warning","info","light","dark"]),type:D.oneOf(["button","submit","reset"])};const I=({title:e,children:n,isOpen:t,onToggle:r,index:l,id:o,className:c="","data-testid":d})=>{const p=o||`collapse-${l}`,u=`heading-${l}`;return a(s,{children:[a("div",{className:`accordion-item pc-accordion-item pb-0 mb-2 ${c}`.trim(),"data-testid":d,children:[i("h2",{className:"accordion-header",id:u,children:i("button",{className:"accordion-button "+(t?"":"collapsed"),type:"button",onClick:r,"aria-expanded":t,"aria-controls":p,children:"string"==typeof e?i("span",{dangerouslySetInnerHTML:{__html:e}}):e})}),i("div",{id:p,className:"accordion-collapse collapse "+(t?"show":""),"aria-labelledby":u,children:i("div",{className:"accordion-body",children:n})})]}),i("style",{jsx:!0,children:"\n .pc-accordion-item,\n .pc-accordion-item:first-of-type,\n .pc-accordion-item:last-of-type {\n border-radius: 10px;\n border: 1px solid var(--kt-input-border-color);\n overflow: hidden;\n background-color: var(--kt-card-bg);\n }\n \n "})]})},_=({children:t,singleOpen:r=!0,id:l,className:o="","data-testid":c})=>{const[d,p]=n([]),u=e.Children.map(t,(n,t)=>{if(e.isValidElement(n)){const l=d.includes(t)||!d.length&&n.props.OpenByDefault;return e.cloneElement(n,{index:t,isOpen:l,onToggle:()=>((e,n,t)=>{p(l=>{const o=l.includes(e);let a;return a=r?o?[]:[e]:o?l.filter(n=>n!==e):[...l,e],!o&&n&&n(),o&&t&&t(),a})})(t,n.props.onOpen,n.props.onClose)})}return n});return a(s,{children:[i("div",{className:`pc-accordion accordion ${o}`.trim(),id:l||"pcaccordionWrapper","data-testid":c,children:u}),i("style",{jsx:!0,children:"\n .pc-accordion{;\n }\n "})]})},B=({options:e=[],placeholder:l="Select...",onChange:o,isInvalid:s=!1,errMsg:c="",id:d,name:p,dataTestId:u,enableSearch:h=!1,selected:m=null})=>{const[f,g]=n(!1),[v,y]=n(""),b=t(null),w=t(null),[x,C]=n(null),N=null!==m?m:x;r(()=>{null!==m&&C(m)},[m]),r(()=>{const e=e=>{b.current&&!b.current.contains(e.target)&&g(!1)};return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)},[]);const k=e.filter(e=>e.label.toLowerCase().includes(v.toLowerCase()));return a("div",{className:"position-relative w-100",ref:b,children:[a("div",{className:"dropdown",children:[i("button",{type:"button",ref:w,className:"form-select pc-ele-border text-start "+(s?"invalid":""),onClick:()=>g(e=>!e),id:d,name:p,"data-testid":u,children:N?.label||l}),f&&a("div",{className:"slc-dropdown-options-wrp show w-100 pc-ele-border position-absolute top-100 start-0 z-index-2",style:{maxHeight:300},children:[h&&i("div",{className:"mb-2 px-3 py-2 border-bottom",children:i("input",{type:"text",className:"form-control pc-select-opt-input",placeholder:"Search...",value:v,onChange:e=>y(e.target.value)})}),k.length>0?k.map((e,n)=>i("span",{className:"pc-select-opt d-block w-100 py-3 px-4",type:"button",onClick:()=>(e=>{null===m&&C(e),g(!1),o?.(p,e)})(e),children:e.label},n)):i("div",{className:"text-muted px-2",children:"No results found"})]})]}),s&&c&&i("div",{className:"d-block position-absolute w-100 mt-1 pc-err-txt",style:{top:"100%"},children:c}),i("style",{jsx:!0,children:"\n .slc-dropdown-options-wrp {\n border-radius: 0.375rem;\n background-color: var(--kt-dropdown-bg);\n }\n .pc-select-opt:hover {\n background-color: var(--kt-input-solid-bg);\n }\n .pc-select-opt-input {\n margin-top: 3px;\n }\n .pc-select-opt {\n color: var(--kt-form-check-label-color-checked);\n }\n .pc-ele-border {\n border: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color);\n }\n .pc-ele-border.invalid{\n border-color: var(--kt-danger);\n }\n .pc-err-txt {\n color: var(--kt-danger);\n }\n "})]})};B.propTypes={options:D.arrayOf(D.shape({label:D.string,value:D.any})).isRequired,placeholder:D.string,onChange:D.func,isInvalid:D.bool,errMsg:D.string,id:D.string,name:D.string,dataTestId:D.string,enableSearch:D.bool};const K=({placement:e="top",caption:n,children:t,customStyles:r,visibility:l=!0})=>a(s,{children:[a("div",{className:` tooltip-wrapper tooltip-${e}`,tabIndex:"0",children:[t,l&&i("div",{className:`tooltip-content shadow-sm ${r}`,role:"tooltip",children:n})]}),i("style",{jsx:!0,children:`\n .tooltip-wrapper {\n position: relative;\n display: inline-block;\n cursor: pointer;\n }\n\n .tooltip-content {\n position: absolute;\n z-index: 999;\n background-color: var(--kt-secondary);\n color: var(--kt-secondary-inverse);\n padding: 4px 8px;\n border-radius: 0.375rem;\n font-size: 0.9rem;\n line-height: 1.2;\n text-wrap: nowrap;\n white-space: ${r?"normal":"nowrap"};\n visibility: hidden;\n opacity: 0;\n transition: opacity 0.2s ease-in-out;\n pointer-events: none;\n border: 1px rgba(0, 0, 0, 0.82);\n }\n\n .tooltip-wrapper:hover .tooltip-content,\n .tooltip-wrapper:focus-within .tooltip-content {\n visibility: visible;\n opacity: 1;\n }\n\n .tooltip-content::after {\n content: "";\n position: absolute;\n border-style: solid;\n }\n\n /* Top */\n .tooltip-top .tooltip-content {\n bottom: 125%;\n left: 50%;\n transform: translateX(-50%);\n }\n\n .tooltip-top .tooltip-content::after {\n top: 100%;\n left: 50%;\n margin-left: -5px;\n border-width: 5px;\n border-color: var(--kt-secondary) transparent transparent transparent;\n }\n\n /* Bottom */\n .tooltip-bottom .tooltip-content {\n top: 125%;\n left: 50%;\n transform: translateX(-50%);\n }\n\n .tooltip-bottom .tooltip-content::after {\n bottom: 100%;\n left: 50%;\n margin-left: -5px;\n border-width: 5px;\n border-color: transparent transparent var(--kt-secondary) transparent;\n }\n\n /* Left */\n .tooltip-left .tooltip-content {\n right: 125%;\n top: 50%;\n transform: translateY(-50%);\n }\n\n .tooltip-left .tooltip-content::after {\n top: 50%;\n left: 100%;\n margin-top: -5px;\n border-width: 5px;\n border-color: transparent transparent transparent var(--kt-secondary);\n }\n\n /* Right */\n .tooltip-right .tooltip-content {\n left: 125%;\n top: 50%;\n transform: translateY(-50%);\n }\n\n .tooltip-right .tooltip-content::after {\n top: 50%;\n right: 100%;\n margin-top: -5px;\n border-width: 5px;\n border-color: transparent var(--kt-secondary) transparent transparent;\n }\n `})]});K.propTypes={placement:D.oneOf(["top","bottom","left","right"]),caption:D.string.isRequired,children:D.node.isRequired};!function(e,n){void 0===n&&(n={});var t=n.insertAt;if("undefined"!=typeof document){var r=document.head||document.getElementsByTagName("head")[0],l=document.createElement("style");l.type="text/css","top"===t&&r.firstChild?r.insertBefore(l,r.firstChild):r.appendChild(l),l.styleSheet?l.styleSheet.cssText=e:l.appendChild(document.createTextNode(e))}}(".pc-table tr {\r\n border-bottom-width: 1px;\r\n border-bottom-style: dashed;\r\n border-bottom-color: var(--kt-border-color);\r\n}\r\n.pc-table>:not(:last-child)>:last-child>*\r\n {\r\n border-bottom-color: inherit;\r\n}\r\n\r\n.pc-table.table.gy-3 td, .pc-table.table.gy-3 th {\r\n padding-top: 1rem;\r\n padding-bottom: 1rem;\r\n}\r\n .pc-table.table.gy-3 th {\r\n font-weight: 600;\r\n}\r\n.pc-table >:not(:first-child) {\r\n border-color: transparent;\r\n border-width: 0;\r\n border-style: none;\r\n}\r\n.pc-table td:last-child, .pc-table th:last-child {\r\n padding-right: 1rem;\r\n}\r\n.pc-table.table-hover>tbody>tr:hover>* {\r\n background-color: var(--bs-table-hover-bg);\r\n color: var(--bs-table-hover-color);\r\n}\r\n.dataTables_info {\r\n display: flex;\r\n flex-direction: column;\r\n font-weight: 500;\r\n color: var(--kt-gray-700);\r\n padding: 1rem 0;\r\n}\r\n.pc-pagination-wrp .page-link{\r\n font-weight: 500;\r\n font-size: 1rem;\r\n}\r\n.pc-pagination-wrp i{\r\n font-size: 0.75rem;\r\n}");const Z=({value:t=[],columns:r=[],style:o={},caption:c,header:d,footer:p,children:u,paginator:h=!1,rowsPerPageOptions:m=[10,25,50],currentPageReportTemplate:f="Showing {first} to {last} of {totalRecords} records",onPageChange:g=()=>{},paginationConfig:v=null})=>{const y=!!v,[b,w]=n(1),[x,C]=n(m[0]),N=y?v.current_page:b,k=y?v.page_size:x,S=y?v.total_records:t.length,M=y?v.total_pages:Math.ceil(S/k),O=l(()=>{if(y)return t;const e=(N-1)*k,n=e+k;return t.slice(e,n)},[t,N,k,y]),T=e=>{e<1||e>M||(y||w(e),g({page:e,rows:k}))},L=r?.length>0,$=e.Children.toArray(u).some(n=>e.isValidElement(n)&&"tbody"===n.type),j=!L&&e.Children.count(u)>0;return a(s,{children:[a("div",{className:"table-responsive",children:[c&&i("div",{className:"mb-2",children:c}),a("table",{className:"table pc-table align-middle table-row-dashed fs-6 gy-3 mb-0 dataTable no-footer table-hover gs-4",style:o,children:[L?i("thead",{children:i("tr",{children:r.map((e,n)=>i("th",{children:e.header},n))})}):d&&i("thead",{children:d}),L?i("tbody",{children:O.map((e,n)=>i("tr",{children:r.map((n,t)=>i("td",{children:i("div",{className:"py-2",children:e[n.field]})},t))},n))}):j&&($?u:i("tbody",{children:u})),p&&i("tfoot",{children:p})]})]}),h&&a("div",{className:"d-flex justify-content-between align-items-center mt-5 pc-pagination-wrp",children:[a("div",{className:"dataTables_length d-flex align-items-center",children:[i("select",{className:"form-select form-select-sm form-select-solid w-auto me-3",value:k,onChange:e=>{const n=parseInt(e.target.value,10);y||(C(n),w(1)),g({page:1,rows:n})},children:m.map(e=>i("option",{value:e,children:e},e))})," ",i("div",{children:(()=>{const e=(N-1)*k+1,n=Math.min(e+k-1,S);return f.replace("{first}",e).replace("{last}",n).replace("{totalRecords}",S)})()})]}),i("div",{className:"d-flex align-items-center gap-2",children:i("nav",{children:a("ul",{className:"pagination mb-0",children:[i("li",{className:"page-item "+(1===N?"disabled":""),children:a("button",{className:"page-link",onClick:()=>T(1),children:[i("i",{class:"previous"}),i("i",{style:{marginLeft:"-5px"},class:"previous"})]})}),i("li",{className:"page-item "+(1===N?"disabled":""),children:i("button",{className:"page-link",onClick:()=>T(N-1),children:i("i",{class:"previous"})})}),Array.from({length:Math.min(M,5)},(e,n)=>{const t=N<=3?n+1:N-2+n;return t>M?null:i("li",{className:"page-item "+(N===t?"active":""),children:i("button",{className:"page-link",onClick:()=>T(t),children:t})},t)}),i("li",{className:"page-item "+(N===M?"disabled":""),children:i("button",{className:"page-link",onClick:()=>T(N+1),children:i("i",{class:"next"})})}),i("li",{className:"page-item "+(N===M?"disabled":""),children:a("button",{className:"page-link",onClick:()=>T(M),children:[i("i",{class:"next fs-1"}),i("i",{style:{marginLeft:"-5px"},class:"next"})]})})]})})})]})]})},F=({value:e,onChange:n,isDisabled:t=!1,isInvalid:r=!1,maxChar:l=null,showCharCount:o=!1,cols:s=30,rows:c=4,id:d,name:p,dataTestId:u,errMsg:h="",placeholder:m=""})=>a("div",{className:"position-relative w-100",children:[l&&o&&a("div",{className:"form-text text-end",children:[e.length,"/",l," characters"]}),i("textarea",{id:d,name:p,"data-testid":u,className:"form-control pc-ele-border "+(r?"invalid":""),cols:s,rows:c,value:e,onChange:e=>{const{value:t}=e.target;(!l||t.length<=l)&&n?.(p,t)},placeholder:m,disabled:t}),r&&h&&i("div",{className:"d-block position-absolute w-100 mt-1 pc-err-txt",style:{top:"100%"},children:h}),i("style",{jsx:!0,children:"\n .slc-dropdown-options-wrp {\n border-radius: 0.375rem;\n background-color: var(--kt-dropdown-bg);\n }\n .pc-select-opt:hover {\n background-color: var(--kt-input-solid-bg);\n }\n .pc-select-opt-input {\n margin-top: 3px;\n }\n .pc-select-opt {\n color: var(--kt-form-check-label-color-checked);\n }\n .pc-ele-border {\n border: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color);\n }\n .pc-ele-border.invalid{\n border-color: var(--kt-danger);\n }\n .pc-err-txt {\n color: var(--kt-danger);\n }\n "})]});F.propTypes={value:D.string.isRequired,onChange:D.func,isDisabled:D.bool,isInvalid:D.bool,maxChar:D.number,showCharCount:D.bool,cols:D.number,rows:D.number,id:D.string,name:D.string,dataTestId:D.string,errMsg:D.string,placeholder:D.string};const W=({options:e=[],placeholder:o="Select...",onChange:s,enableSearch:c=!0,enableSelectAll:d=!0,showCountAfter:p=null,value:u=[],name:h,required:m=!1,labelKey:f="name",valueKey:g="value",isInvalid:v=!1,errMsg:y=""})=>{const[b,w]=n([]),[x,C]=n(!1),[N,k]=n(""),S=t(null),M=t(null),[O,T]=n("100%"),L=l(()=>((e,n,t)=>Array.isArray(e)?e.map(e=>({name:e?.[n]??"",value:e?.[t]??"",original:e})):[])(e,f,g),[e,f,g]);r(()=>{const e=e=>{S.current&&!S.current.contains(e.target)&&C(!1)},n=()=>{M.current&&T(`${M.current.offsetWidth}px`)};return document.addEventListener("mousedown",e),window.addEventListener("resize",n),n(),()=>{document.removeEventListener("mousedown",e),window.removeEventListener("resize",n)}},[]),r(()=>{if(!Array.isArray(u))return;if(!(u.length===b.length&&u.every(e=>b.some(n=>n.original?.[g]===e?.[g])))){const e=L.filter(e=>u.some(n=>n?.[g]===e.original?.[g]));w(e)}},[u,L]);const $=e=>b.some(n=>n.value===e.value),j=L.filter(e=>e.name.toLowerCase().includes(N.toLowerCase()));return a("div",{className:"position-relative pc-multi-select",ref:S,children:[i("div",{ref:M,className:"form-select form-select-solid pc-ele-border d-flex justify-content-between align-items-center "+(v?"invalid":""),onClick:()=>C(!x),style:{cursor:"pointer"},children:i("span",{className:"text-truncate",style:{maxWidth:"85%"},children:(()=>{if(0===b.length)return o;if(null!=p&&b.length>p){return`${b.slice(0,p).map(e=>e.name).join(", ")} +${b.length-p} more`}return b.map(e=>e.name).join(", ")})()})}),v&&y&&i("div",{className:"d-block position-absolute w-100 mt-1 pc-err-txt",style:{top:"100%",zIndex:9999},children:y}),x&&i("div",{className:"multi-slc-dropdown-options-wrp show position-absolute top-100 start-0",style:{maxHeight:300,width:O,zIndex:9999},children:a("div",{className:"dropdown-menu relative show py-3 shadow-none border position-relative",style:{maxHeight:300,overflowY:"auto",width:O,zIndex:9999},children:[(c||d)&&a("div",{className:"d-flex align-items-center gap-2 pb-3 mb-3 border-bottom",children:[d&&a("div",{className:"form-check pl-3 ms-4",children:[i("input",{type:"checkbox",className:"form-check-input",id:"selectAll",checked:b.length===L.length,onChange:()=>{const e=b.length===L.length?[]:[...L];w(e),s?.(h,e.map(e=>e.original))},name:h,required:m}),i("label",{className:"form-check-label",htmlFor:"selectAll",children:"All"})]}),c&&a("div",{className:"input-group me-3 "+(d?"":"ms-3"),children:[i("input",{type:"text",className:"form-control border-end-0",placeholder:"Search...",value:N,onChange:e=>k(e.target.value)}),i("span",{className:"input-group-text border-start-0 bg-transparent",children:i("i",{className:"bi bi-search"})})]})]}),j.length>0?j.map((e,n)=>a("div",{className:"form-check py-3 pl-5 mr-3 pc-multi-select-opt",style:{cursor:"pointer"},children:[i("input",{className:"form-check-input pc-multi-select-opt-input",type:"checkbox",id:`option-${n}`,checked:$(e),onChange:()=>(e=>{let n=b.some(n=>n.value===e.value)?b.filter(n=>n.value!==e.value):[...b,e];n=L.filter(e=>n.some(n=>n.value===e.value)),w(n),s?.(h,n.map(e=>e.original))})(e),name:h,required:m}),i("label",{className:"form-check-label ms-2",htmlFor:`option-${n}`,children:e.name})]},n)):i("div",{className:"text-center text-muted py-2",children:"No records found"})]})}),i("style",{jsx:!0,children:"\n .multi-slc-dropdown-options-wrp {\n border-radius: 0.375rem;\n background-color: var(--kt-page-bg);\n }\n .pc-multi-select-opt {\n padding: 0 15px 0 38px;\n }\n .pc-multi-select-opt:hover {\n background-color: var(--kt-input-solid-bg);\n }\n .pc-multi-select-opt-input {\n margin-top: 3px;\n }\n .pc-multi-select-opt label {\n color: var(--kt-form-check-label-color-checked);\n }\n .pc-ele-border {\n border: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color);\n }\n .pc-ele-border.invalid{\n border-color: var(--kt-danger);\n }\n .pc-err-txt {\n color: var(--kt-danger);\n }\n "})]})},Y={ArrowRightBold:e=>i("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",...e,children:i("path",{fill:"currentColor",d:"m224.49 136.49l-72 72a12 12 0 0 1-17-17L187 140H40a12 12 0 0 1 0-24h147l-51.49-51.52a12 12 0 0 1 17-17l72 72a12 12 0 0 1-.02 17.01"})}),Conditions:e=>i("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",...e,children:i("path",{fill:"currentColor",d:"M3.25 4.07V1.75a.75.75 0 0 1 1.5 0v2.32a4.001 4.001 0 0 1 0 7.86v2.32a.75.75 0 0 1-1.5 0v-2.32a4.001 4.001 0 0 1 0-7.86M4 10.5a2.5 2.5 0 1 0 0-5a2.5 2.5 0 0 0 0 5M9.75 4a.75.75 0 0 0 0 1.5h5.5a.75.75 0 0 0 0-1.5zm0 3.25a.75.75 0 0 0 0 1.5h5.5a.75.75 0 0 0 0-1.5zm-.75 4a.75.75 0 0 1 .75-.75h5.5a.75.75 0 0 1 0 1.5h-5.5a.75.75 0 0 1-.75-.75",clipRule:"evenodd"})}),Up:e=>i("svg",{xmlns:"http://www.w3.org/2000/svg",width:"40",height:"40",viewBox:"0 0 24 24",...e,children:i("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"1.5",d:"m8 14l4-4l4 4",...e})}),Down:e=>i("svg",{xmlns:"http://www.w3.org/2000/svg",width:"40",height:"40",viewBox:"0 0 24 24",...e,children:i("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"1.5",d:"m8 10l4 4l4-4"})}),NewRow:e=>i("svg",{xmlns:"http://www.w3.org/2000/svg",width:"128",height:"128",viewBox:"0 0 24 24",...e,children:i("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M3 14v1a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-2a2 2 0 0 0-2-2h-6m-3-3H7m0 0H4m3 0V5m0 3v3"})}),Settings:e=>i("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",...e,children:i("path",{fill:"currentColor","fill-rule":"evenodd",d:"M12.563 3.2h-1.126l-.645 2.578l-.647.2a6.3 6.3 0 0 0-1.091.452l-.599.317l-2.28-1.368l-.796.797l1.368 2.28l-.317.598a6.3 6.3 0 0 0-.453 1.091l-.199.647l-2.578.645v1.126l2.578.645l.2.647q.173.568.452 1.091l.317.599l-1.368 2.28l.797.796l2.28-1.368l.598.317q.523.278 1.091.453l.647.199l.645 2.578h1.126l.645-2.578l.647-.2a6.3 6.3 0 0 0 1.091-.452l.599-.317l2.28 1.368l.796-.797l-1.368-2.28l.317-.598q.278-.523.453-1.091l.199-.647l2.578-.645v-1.126l-2.578-.645l-.2-.647a6.3 6.3 0 0 0-.452-1.091l-.317-.599l1.368-2.28l-.797-.796l-2.28 1.368l-.598-.317a6.3 6.3 0 0 0-1.091-.453l-.647-.199zm2.945 2.17l1.833-1.1a1 1 0 0 1 1.221.15l1.018 1.018a1 1 0 0 1 .15 1.221l-1.1 1.833q.33.62.54 1.3l2.073.519a1 1 0 0 1 .757.97v1.438a1 1 0 0 1-.757.97l-2.073.519q-.21.68-.54 1.3l1.1 1.833a1 1 0 0 1-.15 1.221l-1.018 1.018a1 1 0 0 1-1.221.15l-1.833-1.1q-.62.33-1.3.54l-.519 2.073a1 1 0 0 1-.97.757h-1.438a1 1 0 0 1-.97-.757l-.519-2.073a7.5 7.5 0 0 1-1.3-.54l-1.833 1.1a1 1 0 0 1-1.221-.15L4.42 18.562a1 1 0 0 1-.15-1.221l1.1-1.833a7.5 7.5 0 0 1-.54-1.3l-2.073-.519A1 1 0 0 1 2 12.72v-1.438a1 1 0 0 1 .757-.97l2.073-.519q.21-.68.54-1.3L4.27 6.66a1 1 0 0 1 .15-1.221L5.438 4.42a1 1 0 0 1 1.221-.15l1.833 1.1q.62-.33 1.3-.54l.519-2.073A1 1 0 0 1 11.28 2h1.438a1 1 0 0 1 .97.757l.519 2.073q.68.21 1.3.54zM12 14.8a2.8 2.8 0 1 0 0-5.6a2.8 2.8 0 0 0 0 5.6m0 1.2a4 4 0 1 1 0-8a4 4 0 0 1 0 8"})}),SettingsTutorial:e=>i("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",...e,children:i("path",{fill:"currentColor","fill-rule":"evenodd",d:"M13.435 2.075a3.33 3.33 0 0 0-2.87 0c-.394.189-.755.497-1.26.928l-.079.066a2.56 2.56 0 0 1-1.58.655l-.102.008c-.662.053-1.135.09-1.547.236a3.33 3.33 0 0 0-2.03 2.029c-.145.412-.182.885-.235 1.547l-.008.102a2.56 2.56 0 0 1-.655 1.58l-.066.078c-.431.506-.74.867-.928 1.261a3.33 3.33 0 0 0 0 2.87c.189.394.497.755.928 1.26l.066.079c.41.48.604.939.655 1.58l.008.102c.053.662.09 1.135.236 1.547a3.33 3.33 0 0 0 2.029 2.03c.412.145.885.182 1.547.235l.102.008c.629.05 1.09.238 1.58.655l.078.066c.506.431.867.74 1.261.928a3.33 3.33 0 0 0 2.87 0c.394-.189.755-.497 1.26-.928l.079-.066c.48-.41.939-.604 1.58-.655l.102-.008c.662-.053 1.135-.09 1.547-.236a3.33 3.33 0 0 0 2.03-2.029c.145-.412.182-.885.235-1.547l.008-.102c.05-.629.238-1.09.655-1.58l.066-.079c.431-.505.74-.866.928-1.26a3.33 3.33 0 0 0 0-2.87c-.189-.394-.497-.755-.928-1.26l-.066-.079a2.56 2.56 0 0 1-.655-1.58l-.008-.102c-.053-.662-.09-1.135-.236-1.547a3.33 3.33 0 0 0-2.029-2.03c-.412-.145-.885-.182-1.547-.235l-.102-.008a2.56 2.56 0 0 1-1.58-.655l-.079-.066c-.505-.431-.866-.74-1.26-.928M12 7.25a.75.75 0 0 1 .75.75v.5a.75.75 0 0 1-1.5 0V8a.75.75 0 0 1 .75-.75M10.75 16a.75.75 0 0 1 .5-.707v-3.586a.75.75 0 0 1 .25-1.457h.5a.75.75 0 0 1 .75.75v4.293a.75.75 0 0 1-.25 1.457h-1a.75.75 0 0 1-.75-.75"})}),CrmUserSettingsListSettings:e=>i("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",...e,children:i("path",{fill:"currentColor",d:"M19.14 12.94c.04-.3.06-.61.06-.94c0-.32-.02-.64-.07-.94l2.03-1.58a.49.49 0 0 0 .12-.61l-1.92-3.32a.49.49 0 0 0-.59-.22l-2.39.96c-.5-.38-1.03-.7-1.62-.94l-.36-2.54a.484.484 0 0 0-.48-.41h-3.84c-.24 0-.43.17-.47.41l-.36 2.54c-.59.24-1.13.57-1.62.94l-2.39-.96c-.22-.08-.47 0-.59.22L2.74 8.87c-.12.21-.08.47.12.61l2.03 1.58c-.05.3-.09.63-.09.94s.02.64.07.94l-2.03 1.58a.49.49 0 0 0-.12.61l1.92 3.32c.12.22.37.29.59.22l2.39-.96c.5.38 1.03.7 1.62.94l.36 2.54c.05.24.24.41.48.41h3.84c.24 0 .44-.17.47-.41l.36-2.54c.59-.24 1.13-.56 1.62-.94l2.39.96c.22.08.47 0 .59-.22l1.92-3.32c.12-.22.07-.47-.12-.61zM12 15.6c-1.98 0-3.6-1.62-3.6-3.6s1.62-3.6 3.6-3.6s3.6 1.62 3.6 3.6s-1.62 3.6-3.6 3.6"})}),CrmUserSettingsEdit:e=>i("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",...e,children:i("path",{fill:"currentColor",d:"M15.891 3.048a3.578 3.578 0 1 1 5.061 5.06l-.892.893L15 3.94zM13.94 5.001L3.94 15a3.1 3.1 0 0 0-.825 1.476L2.02 21.078a.75.75 0 0 0 .904.903l4.601-1.096a3.1 3.1 0 0 0 1.477-.825l1.151-1.151a6.5 6.5 0 0 1 7.754-7.755L19 10.06zm-.662 8.975a2 2 0 0 1-1.441 2.497l-.584.144a5.7 5.7 0 0 0 .006 1.807l.54.13a2 2 0 0 1 1.45 2.51l-.187.632c.44.386.94.699 1.485.922l.493-.52a2 2 0 0 1 2.899.001l.499.525a5.3 5.3 0 0 0 1.482-.913l-.198-.686a2 2 0 0 1 1.442-2.496l.583-.144a5.7 5.7 0 0 0-.006-1.808l-.54-.13a2 2 0 0 1-1.449-2.51l.186-.63a5.3 5.3 0 0 0-1.484-.923l-.493.519a2 2 0 0 1-2.9 0l-.498-.525c-.544.22-1.044.53-1.483.912zm3.222 5.025c-.8 0-1.45-.672-1.45-1.5c0-.829.65-1.5 1.45-1.5s1.45.671 1.45 1.5c0 .828-.65 1.5-1.45 1.5"})}),CrmSaveUserConfig:e=>i("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",...e,children:i("path",{fill:"currentColor",d:"M13.23 22v-2.21l5.334-5.307q.148-.13.307-.19q.16-.062.32-.062q.165 0 .334.064q.17.065.298.194l.925.944q.123.148.187.308q.065.159.065.319t-.052.322t-.2.31L15.44 22zM6.77 9.77h7.422v-3H6.77zm12.42 7.246l.925-.956l-.924-.944l-.95.95zM10.463 20H5.616q-.672 0-1.144-.472T4 18.385V5.615q0-.67.472-1.143Q4.944 4 5.616 4h10.961L20 7.423v4.146q-.244-.085-.468-.099t-.474.003q-.635.017-1.264.265t-1.106.718l-2.822 2.804q.096-.166.134-.322t.039-.361q0-.846-.577-1.423t-1.423-.577t-1.423.577t-.577 1.423t.577 1.423t1.423.577q.178 0 .348-.039t.329-.134l-2.254 2.234z"})}),CrmOutletLead:e=>i("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",...e,children:i("path",{fill:"currentColor",d:"M20.16 7.8c-.09-.46-.5-.8-.98-.8H4.82c-.48 0-.89.34-.98.8L3 12v1c0 .55.45 1 1 1v5c0 .55.45 1 1 1h8c.55 0 1-.45 1-1v-5h4v5c0 .55.45 1 1 1s1-.45 1-1v-5c.55 0 1-.45 1-1v-1zM12 18H6v-4h6zM5 6h14c.55 0 1-.45 1-1s-.45-1-1-1H5c-.55 0-1 .45-1 1s.45 1 1 1"})}),CrmCustomerLead:e=>i("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",...e,children:a("g",{fill:"none",children:[i("path",{d:"m12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035q-.016-.005-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427q-.004-.016-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093q.019.005.029-.008l.004-.014l-.034-.614q-.005-.018-.02-.022m-.715.002a.02.02 0 0 0-.027.006l-.006.014l-.034.614q.001.018.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z"}),i("path",{fill:"currentColor",d:"M16 14a5 5 0 0 1 4.995 4.783L21 19v1a2 2 0 0 1-1.85 1.995L19 22H5a2 2 0 0 1-1.995-1.85L3 20v-1a5 5 0 0 1 4.783-4.995L8 14zM12 2a5 5 0 1 1 0 10a5 5 0 0 1 0-10"})]})}),CrmLeadFormSettingsButton:e=>i("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",...e,children:i("path",{fill:"currentColor",d:"M23.33 12.65v1a1 1 0 0 1-.8 1l-1.24.25a9.3 9.3 0 0 1-1.18 2.81l.71 1.06A1 1 0 0 1 20.7 20l-1.37 1.37a1 1 0 0 1-1.26.12L17 20.77A9.3 9.3 0 0 1 14.2 22l-.2 1.19a1 1 0 0 1-1 .8h-2a1 1 0 0 1-1-.8L9.8 22A9.3 9.3 0 0 1 7 20.77l-1.06.71a1 1 0 0 1-1.26-.12L3.3 20a1 1 0 0 1-.12-1.26l.71-1.06a9.3 9.3 0 0 1-1.18-2.81l-1.24-.25a1 1 0 0 1-.8-1v-1h6.56a4.77 4.77 0 0 0 9.54 0Zm-6.16-8.84a2.32 2.32 0 1 0 4.64 0a2.32 2.32 0 1 0-4.64 0m-14.97 0a2.32 2.32 0 1 0 4.64 0a2.32 2.32 0 1 0-4.64 0M6.8 8.8a5 5 0 0 0-1.15-.54A4.92 4.92 0 0 0 0 10.64h5.73A11 11 0 0 1 6.8 8.8m11.38 1.87H24a4.92 4.92 0 0 0-5.66-2.4a5 5 0 0 0-1.17.55a11.5 11.5 0 0 1 1.01 1.85m-1.11 0A5.74 5.74 0 0 0 12 7a5.76 5.76 0 0 0-5.12 3.68ZM8.99 2.91a2.91 2.91 0 1 0 5.82 0a2.91 2.91 0 1 0-5.82 0"})}),CrmLeadOutletSettings:e=>i("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",...e,children:i("path",{fill:"currentColor",d:"M20.16 7.8c-.09-.46-.5-.8-.98-.8H4.82c-.48 0-.89.34-.98.8L3 12v1c0 .55.45 1 1 1v5c0 .55.45 1 1 1h8c.55 0 1-.45 1-1v-5h4v5c0 .55.45 1 1 1s1-.45 1-1v-5c.55 0 1-.45 1-1v-1zM12 18H6v-4h6zM5 6h14c.55 0 1-.45 1-1s-.45-1-1-1H5c-.55 0-1 .45-1 1s.45 1 1 1"})}),CrmOpportunitySettings:e=>i("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",...e,children:i("path",{fill:"currentColor",d:"M1.998 21v-2h2V4.835a1 1 0 0 1 .821-.984l9.472-1.722a.6.6 0 0 1 .707.59v1.28l4 .001a1 1 0 0 1 1 1v14h2v2h-4V6h-3v15zm10-10h-2v2h2z"})}),CrmUserSettings:e=>i("svg",{xmlns:"http://www.w3.org/2000/svg",width:640,height:512,viewBox:"0 0 640 512",...e,children:i("path",{fill:"currentColor",d:"M224 0a128 128 0 1 1 0 256a128 128 0 1 1 0-256m-45.7 304h91.4c11.8 0 23.4 1.2 34.5 3.3c-2.1 18.5 7.4 35.6 21.8 44.8c-16.6 10.6-26.7 31.6-20 53.3c4 12.9 9.4 25.5 16.4 37.6s15.2 23.1 24.4 33c15.7 16.9 39.6 18.4 57.2 8.7v.9c0 9.2 2.7 18.5 7.9 26.3l-382.2.1C13.3 512 0 498.7 0 482.3C0 383.8 79.8 304 178.3 304M436 218.2c0-7 4.5-13.3 11.3-14.8c10.5-2.4 21.5-3.7 32.7-3.7s22.2 1.3 32.7 3.7c6.8 1.5 11.3 7.8 11.3 14.8v30.6c7.9 3.4 15.4 7.7 22.3 12.8l24.9-14.3c6.1-3.5 13.7-2.7 18.5 2.4c7.6 8.1 14.3 17.2 20.1 27.2s10.3 20.4 13.5 31c2.1 6.7-1.1 13.7-7.2 17.2l-25 14.4c.4 4 .7 8.1.7 12.3s-.2 8.2-.7 12.3l25 14.4c6.1 3.5 9.2 10.5 7.2 17.2c-3.3 10.6-7.8 21-13.5 31s-12.5 19.1-20.1 27.2c-4.8 5.1-12.5 5.9-18.5 2.4L546.3 442c-6.9 5.1-14.3 9.4-22.3 12.8v30.6c0 7-4.5 13.3-11.3 14.8c-10.5 2.4-21.5 3.7-32.7 3.7s-22.2-1.3-32.7-3.7c-6.8-1.5-11.3-7.8-11.3-14.8v-30.5c-8-3.4-15.6-7.7-22.5-12.9l-24.7 14.3c-6.1 3.5-13.7 2.7-18.5-2.4c-7.6-8.1-14.3-17.2-20.1-27.2s-10.3-20.4-13.5-31c-2.1-6.7 1.1-13.7 7.2-17.2l24.8-14.3c-.4-4.1-.7-8.2-.7-12.4s.2-8.3.7-12.4L343.8 325c-6.1-3.5-9.2-10.5-7.2-17.2c3.3-10.6 7.7-21 13.5-31s12.5-19.1 20.1-27.2c4.8-5.1 12.4-5.9 18.5-2.4l24.8 14.3c6.9-5.1 14.5-9.4 22.5-12.9v-30.5zm92.1 133.5a48.1 48.1 0 1 0-96.1 0a48.1 48.1 0 1 0 96.1 0"})}),EmailIconWithCount:({count:e=0,props:n})=>a("div",{className:"position-relative email-icon-wrapper",children:[i("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",...n,children:i("path",{fill:"currentColor",d:"m20 8l-8 5l-8-5V6l8 5l8-5m0-2H4c-1.11 0-2 .89-2 2v12a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2"})}),e>0&&i("span",{className:"counter-badge",children:e>9?"9+":e}),i("style",{jsx:!0,children:"\n .counter-badge {\n position: absolute;\n top: 10px;\n right: -1px;\n min-width: 10px;\n height: 10px;\n background-color: red;\n color: white;\n font-size: 7px;\n border-radius: 50%;\n display: flex;\n justify-content: center;\n align-items: center;\n padding: 2px;\n font-weight: bold;\n }\n "})]}),ViewOriginal:e=>i("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 56 56",...e,children:i("path",{fill:"currentColor",d:"M28.01 46.403C44.556 46.403 56 33.017 56 28.844c0-4.193-11.465-17.558-27.99-17.558C11.588 11.286 0 24.651 0 28.844c0 4.173 11.671 17.559 28.01 17.559m0-6.053c-6.445 0-11.526-5.226-11.567-11.506C16.422 22.4 21.565 17.34 28.01 17.34c6.404 0 11.547 5.06 11.547 11.505c0 6.28-5.143 11.506-11.547 11.506m0-7.354c2.293 0 4.194-1.88 4.194-4.152c0-2.293-1.9-4.172-4.194-4.172c-2.313 0-4.214 1.88-4.214 4.172c0 2.273 1.9 4.152 4.214 4.152"})}),SyncDocument:e=>i("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",...e,children:i("path",{fill:"currentColor",d:"M11 17.5c0-3.6 2.9-6.5 6.5-6.5c.9 0 1.7.2 2.5.5V8l-6-6H6c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h6.8c-1.1-1.2-1.8-2.8-1.8-4.5m2-14L18.5 9H13zm4 8.5v1.5c2.2 0 4 1.8 4 4c0 .8-.2 1.6-.7 2.2l-1.1-1.1c.2-.3.3-.7.3-1.1c0-1.4-1.1-2.5-2.5-2.5v1.5l-2.2-2.2zm0 11v-1.5c-2.2 0-4-1.8-4-4c0-.8.2-1.6.7-2.2l1.1 1.1c-.2.3-.3.7-.3 1.1c0 1.4 1.1 2.5 2.5 2.5v-1.5l2.2 2.2z"})}),ResendDocument:e=>i("svg",{xmlns:"http://www.w3.org/2000/svg",width:10,height:9,fill:"none",viewBox:"0 0 10 9",...e,children:i("path",{fill:"currentColor",d:"M.855.471C.38.471 0 .838 0 1.296v4.947c0 .219.09.429.25.583a.87.87 0 0 0 .605.242H5.34a2.599 2.599 0 0 1-.214-1.03c0-.712.293-1.393.814-1.896a2.83 2.83 0 0 1 2.604-.71V1.296a.81.81 0 0 0-.25-.583A.87.87 0 0 0 7.69.47H.855Zm0 .825 3.418 2.061L7.69 1.296v.825L4.273 4.18.855 2.122v-.825ZM7.69 3.77l-.962.927.962.928v-.619c.283 0 .555.109.755.302a1.013 1.013 0 0 1 .202 1.19l.465.45c.18-.26.287-.573.287-.91 0-.912-.765-1.65-1.71-1.65V3.77ZM6.268 5.126c-.18.26-.286.573-.286.911 0 .911.764 1.65 1.709 1.65v.618l.961-.928-.961-.928v.619c-.284 0-.555-.109-.756-.302a1.013 1.013 0 0 1-.201-1.19l-.466-.45Z"})}),SignedDocument:e=>i("svg",{xmlns:"http://www.w3.org/2000/svg",width:7,height:8,viewBox:"0 0 7 10",...e,children:i("path",{fill:"currentColor",d:"M4.083 2.656V0H.437C.196 0 0 .209 0 .469V9.53c0 .26.195.469.438.469h6.125C6.804 10 7 9.791 7 9.531V3.125H4.52c-.24 0-.437-.21-.437-.469Zm-2.916-1.25c0-.086.065-.156.145-.156h1.459c.08 0 .146.07.146.156v.313c0 .086-.066.156-.146.156H1.313c-.081 0-.146-.07-.146-.156v-.313Zm0 1.25c0-.086.065-.156.145-.156h1.459c.08 0 .146.07.146.156v.313c0 .086-.066.156-.146.156H1.313c-.081 0-.146-.07-.146-.156v-.313ZM4.68 7.5h.86c.162 0 .292.14.292.313 0 .172-.13.312-.291.312h-.86a.78.78 0 0 1-.705-.466c-.054-.116-.147-.127-.185-.127a.197.197 0 0 0-.183.12l-.14.3a.305.305 0 0 1-.107.126.277.277 0 0 1-.174.046.295.295 0 0 1-.256-.213l-.307-.985-.193.622a.794.794 0 0 1-.748.577h-.226c-.16 0-.291-.14-.291-.313 0-.172.13-.312.291-.312h.226c.088 0 .166-.06.194-.15l.332-1.067a.442.442 0 0 1 .415-.32c.188 0 .355.128.415.32l.253.813c.36-.316.985-.189 1.203.277.037.08.109.127.185.127Zm2.191-5.45L5.088.138A.423.423 0 0 0 4.778 0h-.111v2.5H7v-.12a.485.485 0 0 0-.128-.33Z"})}),DocumentVoid:e=>i("svg",{xmlns:"http://www.w3.org/2000/svg",width:15,height:20,viewBox:"0 0 9 11",...e,children:i("path",{d:"M2.548 4.692a.43.43 0 0 0 .43-.44.432.432 0 0 0-.123-.314.412.412 0 0 0-.307-.126.412.412 0 0 0-.306.126.432.432 0 0 0-.124.314.43.43 0 0 0 .43.44Zm1.785.88H2.548a.412.412 0 0 0-.306.126.432.432 0 0 0-.124.314.43.43 0 0 0 .43.44h2.646l-.86-.88Zm4.56 2.157L5.924 4.692h.924a.43.43 0 0 0 .43-.44.431.431 0 0 0-.123-.314.411.411 0 0 0-.307-.126H5.065l-2.581-2.64H8.14a.82.82 0 0 1 .608.258c.168.172.252.38.252.621V7.29c0 .08-.007.157-.022.23a.587.587 0 0 1-.086.21Zm-.818 1.65L6.914 8.213H1.258a.819.819 0 0 1-.607-.259.858.858 0 0 1-.253-.621V2.05c0-.242.084-.449.253-.621a.818.818 0 0 1 .607-.259l3.44 3.52H3.496L.118 1.238A.423.423 0 0 1 0 .93C0 .804.04.702.118.621A.403.403 0 0 1 .42.5C.541.5.642.54.72.621l7.957 8.142c.08.08.12.181.124.303a.415.415 0 0 1-.124.313.403.403 0 0 1-.3.121.403.403 0 0 1-.302-.121Z"})}),SendDocument:e=>i("svg",{xmlns:"http://www.w3.org/2000/svg",width:23,height:23,viewBox:"0 0 23 23",...e,children:i("path",{fill:"currentColor",d:"M4.4 19.425q-.5.2-.95-.088T3 18.5V14l8-2l-8-2V5.5q0-.55.45-.837t.95-.088l15.4 6.5q.625.275.625.925t-.625.925z"})}),DeleteCrm:e=>i("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",...e,children:i("path",{fill:"currentColor",d:"M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6zM19 4h-3.5l-1-1h-5l-1 1H5v2h14z"})}),CrmLink:e=>i("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",...e,children:i("path",{fill:"currentColor",fillRule:"evenodd",d:"M12.415 4.84a4.775 4.775 0 0 1 6.752 6.752l-.013.013l-2.264 2.265a4.776 4.776 0 0 1-7.201-.516a1 1 0 0 1 1.601-1.198a2.774 2.774 0 0 0 4.185.3l2.259-2.259a2.776 2.776 0 0 0-3.925-3.923L12.516 7.56a1 1 0 0 1-1.41-1.418l1.298-1.291zM8.818 9.032a4.775 4.775 0 0 1 5.492 1.614a1 1 0 0 1-1.601 1.198a2.775 2.775 0 0 0-4.185-.3l-2.258 2.259a2.775 2.775 0 0 0 3.923 3.924l1.285-1.285a1 1 0 1 1 1.414 1.414l-1.291 1.291l-.012.013a4.775 4.775 0 0 1-6.752-6.752l.012-.013L7.11 10.13a4.8 4.8 0 0 1 1.708-1.098",clipRule:"evenodd"})}),CrmWarning:e=>a("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",...e,children:[i("path",{fill:"currentColor",d:"M11.001 10h2v5h-2zM11 16h2v2h-2z"}),i("path",{fill:"currentColor",d:"M13.768 4.2C13.42 3.545 12.742 3.138 12 3.138s-1.42.407-1.768 1.063L2.894 18.064a1.99 1.99 0 0 0 .054 1.968A1.98 1.98 0 0 0 4.661 21h14.678c.708 0 1.349-.362 1.714-.968a1.99 1.99 0 0 0 .054-1.968zM4.661 19L12 5.137L19.344 19z"})]}),CrmError:e=>i("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",...e,children:i("path",{fill:"currentColor",d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10s10-4.48 10-10S17.52 2 12 2m1 15h-2v-2h2zm0-4h-2V7h2z"})})};function U({name:e,width:t="1em",height:r="1em",className:l="",color:o="currentColor",activeColor:a,hoverColor:s,...c}){const[d,p]=n(!1),[u,h]=n(!1),m=Y[e];return m?i(m,{width:t,height:r,className:l,style:{color:u?a||o:d&&s||o,cursor:c.onClick?"pointer":void 0},onMouseEnter:()=>p(!0),onMouseLeave:()=>{p(!1),h(!1)},onMouseDown:()=>h(!0),onMouseUp:()=>h(!1),...c}):(console.warn(`Icon "${e}" not found`),null)}function J(e){var n,t,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e)){var l=e.length;for(n=0;n<l;n++)e[n]&&(t=J(e[n]))&&(r&&(r+=" "),r+=t)}else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}function X(){for(var e,n,t=0,r="",l=arguments.length;t<l;t++)(e=arguments[t])&&(n=J(e))&&(r&&(r+=" "),r+=n);return r}const G=({fluid:e=!1,className:n="",children:t,...r})=>{const l=X(e?"container-fluid":"container",n);return i("div",{className:l,...r,children:t})};G.propTypes={fluid:D.bool,className:D.string,children:D.node};const Q=({justify:e="",align:n="",className:t="",children:r,...l})=>{const o=X("row",e&&`justify-content-${e}`,n&&`align-items-${n}`,t);return i("div",{className:o,...l,children:r})};Q.propTypes={justify:D.oneOf(["start","center","end","around","between","evenly"]),align:D.oneOf(["start","center","end","stretch","baseline"]),className:D.string,children:D.node};const ee=({xs:e,sm:n,md:t,lg:r,xl:l,offset:o,order:a,className:s="",children:c,...d})=>{const p=X(void 0!==e&&`col-${e}`,void 0!==n&&`col-sm-${n}`,void 0!==t&&`col-md-${t}`,void 0!==r&&`col-lg-${r}`,void 0!==l&&`col-xl-${l}`,void 0!==o&&`offset-${o}`,void 0!==a&&`order-${a}`,s);return i("div",{className:p,...d,children:c})};ee.propTypes={xs:D.oneOfType([D.string,D.number]),sm:D.oneOfType([D.string,D.number]),md:D.oneOfType([D.string,D.number]),lg:D.oneOfType([D.string,D.number]),xl:D.oneOfType([D.string,D.number]),offset:D.oneOfType([D.string,D.number]),order:D.oneOfType([D.string,D.number]),className:D.string,children:D.node};const ne=({title:e,children:n,footer:l,onClose:o,customStyles:c="",maxWidth:d="600px",width:p="100%",maxHeight:u="80vh",outsideClickHandle:h=!1})=>{const m=t();return r(()=>{if(!h)return;const e=e=>{m.current&&!m.current.contains(e.target)&&o?.()};return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}},[o]),a(s,{children:[i("div",{className:"conditions-overlay position-fixed top-0 start-0 w-100 h-100 bg-dark bg-opacity-10 d-flex justify-content-center align-items-center z-3",children:a("div",{className:`card position-relative shadow p-4 ${c}`,ref:m,style:{width:p,maxWidth:d,maxHeight:u,overflowY:"auto"},children:[i("div",{className:"w-full d-flex justify-content-end svg-icon svg-icon-1",children:i("div",{className:"cursor-pointer w-24px h-24px",onClick:o,children:i(te,{})})}),e&&i("h5",{className:"mb-3",children:e}),n&&i("div",{className:"mb-3",children:n}),l&&i("div",{className:"text-end",children:l})]})}),i("style",{jsx:!0,children:"\n .conditions-overlay {\n z-index: 50;\n }\n\n .cursor-pointer {\n cursor: pointer;\n }\n "})]})},te=()=>i("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",children:i("path",{fill:"none",stroke:"currentColor",strokeDasharray:12,strokeDashoffset:12,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 12l7 7M12 12l-7 -7M12 12l-7 7M12 12l7 -7",children:i("animate",{fill:"freeze",attributeName:"stroke-dashoffset",dur:"0.3s",values:"12;0"})})}),re=({label:e="Enter Label",required:n=!1,type:t="",placeholder:r="",errorMessage:l="",value:s,onChange:c,disabled:d=!1,className:p="",maxLength:u,minLength:h,inputSymbol:m,...f})=>{const g=o(),v=f.id||`input-${g}`;return a("div",{className:"form-group-lg",children:[i("label",{htmlFor:v,className:"form-label "+(n?"required":""),children:e}),a("div",{className:"input-group",style:{fontFamily:"inherit"},children:[m&&i("span",{className:"input-group-text border",children:m}),i("input",{id:v,type:t,placeholder:"date"===t?void 0:r,value:s,required:n,onChange:c,disabled:d,maxLength:u,minLength:h,className:`form-control form-control-solid border${l?" is-invalid border-danger":""}${p?` ${p}`:""}`,...f})]}),l&&i("span",{className:"input-error text-danger",style:{fontSize:13,marginTop:4,display:"block"},children:l})]})};re.propTypes={label:D.string,required:D.bool,type:D.string,placeholder:D.string,errorMessage:D.string,value:D.oneOfType([D.string,D.number]),onChange:D.func,disabled:D.bool,className:D.string,maxLength:D.oneOfType([D.string,D.number]),minLength:D.oneOfType([D.string,D.number]),inputSymbol:D.node,id:D.string};const le=e=>{if(""===e||null===e)return"";const n=Number(e.toString().replace(/[^\d.-]/g,""));return isNaN(n)?"":n.toLocaleString("en-US",{style:"currency",currency:"USD",minimumFractionDigits:0,maximumFractionDigits:0})},oe=({label:e="Enter Lable",value:t="",onChange:l,required:o=!1,errorMessage:s="",name:c,disabled:d=!1})=>{const[p,u]=n(le(t));r(()=>{u(le(t))},[t]);return a("div",{className:"form-group",children:[i("label",{className:`form-label ${o&&"required"}`,children:e}),i("div",{className:"input-group",style:{fontFamily:"inherit"},children:i("input",{name:c,disabled:d,required:o,type:"text",value:p,onChange:e=>{const n=e.target.value.replace(/[^\d.]/g,""),t=le(n);u(t),l&&l(c,n)},placeholder:"$0.00","aria-label":"Currency input",className:"form-control form-control-solid border"+(s?" is-invalid border-danger":"")})}),s&&i("span",{className:"input-error text-danger",style:{fontSize:13,marginTop:4,display:"block"},children:s})]})},ae=({label:e,checked:n=!1,onChange:t,name:r,value:l,disabled:o=!1,id:s,className:c="",dataTestId:d})=>a("div",{className:`form-check ${c}`,"data-testid":d,children:[i("input",{className:"form-check-input",type:"radio",name:r,id:s,value:l,checked:n,onChange:t,disabled:o}),e&&i("label",{className:"form-check-label",htmlFor:s,children:e})]}),ie={small:"spinner-border-sm",medium:"",large:"spinner-border-lg"},se={primary:"text-primary",secondary:"text-secondary",success:"text-success",danger:"text-danger",warning:"text-warning",info:"text-info",light:"text-light",dark:"text-dark"},ce={primary:"#007bff",secondary:"#6c757d",success:"#28a745",danger:"#dc3545",warning:"#ffc107",info:"#17a2b8",light:"#f8f9fa",dark:"#343a40"},de="table",pe="dots",ue="bar",he="circular",me="pulse",fe="text",ge="wave",ve=({size:e="medium",color:n="primary",ariaLabel:t="Loading...",loadingType:r="spinner",className:l="",placeholderRows:o=4})=>{const s="large"===e?"":ie[e]||"",c=se[n]||se.primary,d="large"===e?{width:"3rem",height:"3rem",borderWidth:"0.3em"}:{};if(r===de){const e=ce[n]||ce.primary;return i("div",{className:"w-100",children:i("div",{className:"placeholder-glow",children:Array.from({length:o}).map((n,t)=>i("span",{className:`placeholder col-12 rounded bg-secondary${0===t?" mb-2":""}${t===o-1?" mt-2":" mb-2"}`,style:{height:44,display:"block",background:e}},t))})})}if(r===pe){const e=ce[n]||ce.primary;return a("div",{style:{display:"inline-flex",alignItems:"center"},"aria-label":t,children:[a("span",{className:"dots-loader",children:[i("span",{style:{background:e}}),i("span",{style:{background:e}}),i("span",{style:{background:e}})]}),i("style",{children:"\n .dots-loader {\n display: inline-block;\n }\n .dots-loader span {\n display: inline-block;\n width: 8px;\n height: 8px;\n margin: 0 2px;\n border-radius: 50%;\n animation: dots-bounce 1s infinite;\n }\n .dots-loader span:nth-child(2) { animation-delay: 0.2s; }\n .dots-loader span:nth-child(3) { animation-delay: 0.4s; }\n @keyframes dots-bounce {\n 0%, 80%, 100% { transform: scale(1); }\n 40% { transform: scale(1.5); }\n }\n "})]})}if(r===ue){return a("div",{style:{width:"100%",padding:"8px 0"},"aria-label":t,children:[i("div",{className:"bar-loader",children:i("div",{style:{background:ce[n]||ce.primary}})}),i("style",{children:"\n .bar-loader {\n width: 100%;\n height: 8px;\n background: #e0e0e0;\n border-radius: 4px;\n overflow: hidden;\n position: relative;\n }\n .bar-loader div {\n position: absolute;\n left: 0;\n top: 0;\n height: 100%;\n width: 30%;\n animation: bar-move 1.2s linear infinite;\n }\n @keyframes bar-move {\n 0% { left: -30%; }\n 100% { left: 100%; }\n }\n "})]})}if(r===me){return a("div",{style:{display:"inline-flex",alignItems:"center"},"aria-label":t,children:[i("span",{className:"pulse-loader",style:{background:ce[n]||ce.primary}}),i("style",{children:"\n .pulse-loader {\n display: inline-block;\n width: 16px;\n height: 16px;\n border-radius: 50%;\n animation: pulse-grow 1s infinite;\n }\n @keyframes pulse-grow {\n 0%, 100% { transform: scale(1); opacity: 1; }\n 50% { transform: scale(1.5); opacity: 0.5; }\n }\n "})]})}if(r===fe){const e=ce[n]||ce.primary;return a("div",{style:{display:"inline-flex",alignItems:"center"},"aria-label":t,children:[i("span",{style:{color:e},children:"Loading"}),i("span",{className:"ellipsis-loader",style:{color:e}}),i("style",{children:"\n .ellipsis-loader::after {\n content: '...';\n animation: ellipsis 1.2s infinite steps(4);\n }\n @keyframes ellipsis {\n 0% { content: ''; }\n 25% { content: '.'; }\n 50% { content: '..'; }\n 75% { content: '...'; }\n 100% { content: ''; }\n }\n "})]})}if(r===ge){const e=ce[n]||ce.primary;return a("div",{style:{display:"inline-flex",alignItems:"center",gap:2},"aria-label":t,children:[a("span",{className:"wave-loader",children:[i("span",{style:{background:e}}),i("span",{style:{background:e}}),i("span",{style:{background:e}}),i("span",{style:{background:e}}),i("span",{style:{background:e}})]}),i("style",{children:"\n .wave-loader {\n display: inline-block;\n height: 20px;\n }\n .wave-loader span {\n display: inline-block;\n width: 4px;\n height: 100%;\n margin: 0 2px;\n animation: wave-bounce 1.2s infinite;\n }\n .wave-loader span:nth-child(2) { animation-delay: 0.2s; }\n .wave-loader span:nth-child(3) { animation-delay: 0.4s; }\n .wave-loader span:nth-child(4) { animation-delay: 0.6s; }\n .wave-loader span:nth-child(5) { animation-delay: 0.8s; }\n @keyframes wave-bounce {\n 0%, 100% { transform: scaleY(1); }\n 50% { transform: scaleY(2); }\n }\n "})]})}if(r===he){const e=ce[n]||ce.primary;return a("div",{style:{display:"inline-flex",alignItems:"center"},"aria-label":t,children:[a("svg",{className:"circular-loader",width:"40",height:"40",viewBox:"0 0 40 40",children:[i("circle",{cx:"20",cy:"20",r:"18",stroke:e,strokeWidth:"4",fill:"none",opacity:"0.2"}),i("circle",{cx:"20",cy:"20",r:"18",stroke:e,strokeWidth:"4",fill:"none",strokeDasharray:"113",strokeDashoffset:"80",style:{animation:"circular-spin 1s linear infinite"}})]}),i("style",{children:"\n @keyframes circular-spin {\n 100% { stroke-dashoffset: 0; }\n }\n "})]})}return a("div",{role:"status","aria-label":t,style:{display:"inline-flex",alignItems:"center"},children:[i("span",{className:`spinner-border ${s} ${c} ${l}`.trim(),style:d,"aria-hidden":"true"}),i("span",{className:"visually-hidden",children:t})]})},ye=()=>i("svg",{xmlns:"http://www.w3.org/2000/svg",width:"15",height:"15",viewBox:"0 0 20 20",children:i("path",{fill:"currentColor",d:"M7 20h2V8h3L8 4L4 8h3zm13-4h-3V4h-2v12h-3l4 4z"})}),be=()=>i("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"12",viewBox:"0 0 14 12",children:i("path",{fill:"currentColor",d:"M3 0L6 3H3.75V12H2.25V3H0L3 0ZM6.75 9H13.5V7.5H6.75V9ZM6.75 6H12V4.5H6.75V6ZM6.75 12H15V10.5H6.75V12ZM6.75 3H10.5V1.5H6.75V3Z"})}),we=()=>i("svg",{xmlns:"http://www.w3.org/2000/svg",width:"15",height:"15",viewBox:"0 0 20 20",children:i("path",{fill:"currentColor",d:"m6 20l4-4H7V4H5v12H2zm5-12h9v2h-9zm0 4h7v2h-7zm0-8h11v2H11zm0 12h5v2h-5z"})}),xe=()=>i("svg",{xmlns:"http://www.w3.org/2000/svg",width:"15",height:"15",viewBox:"0 0 20 20",children:i("path",{fill:"currentColor",d:"M14 20.5h-4a.76.76 0 0 1-.75-.75V12L3.9 4.69a.73.73 0 0 1-.07-.78a.76.76 0 0 1 .67-.41h15a.76.76 0 0 1 .67.41a.73.73 0 0 1-.07.78L14.75 12v7.75a.76.76 0 0 1-.75.75M10.75 19h2.5v-7.25a.7.7 0 0 1 .15-.44L18 5H6l4.62 6.31a.7.7 0 0 1 .15.44Z"})}),Ce=()=>i("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",version:"1.1",children:a("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd",children:[i("polygon",{points:"0 0 24 0 24 24 0 24"}),i("path",{d:"M6.70710678,15.7071068 C6.31658249,16.0976311 5.68341751,16.0976311 5.29289322,15.7071068 C4.90236893,15.3165825 4.90236893,14.6834175 5.29289322,14.2928932 L11.2928932,8.29289322 C11.6714722,7.91431428 12.2810586,7.90106866 12.6757246,8.26284586 L18.6757246,13.7628459 C19.0828436,14.1360383 19.1103465,14.7686056 18.7371541,15.1757246 C18.3639617,15.5828436 17.7313944,15.6103465 17.3242754,15.2371541 L12.0300757,10.3841378 L6.70710678,15.7071068 Z",fill:"currentColor","fill-rule":"nonzero",transform:"translate(12.000003, 11.999999) rotate(-270.000000) translate(-12.000003, -11.999999) "})]})}),Ne=()=>i("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",version:"1.1",children:a("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd",children:[i("polygon",{points:"0 0 24 0 24 24 0 24"}),i("path",{d:"M6.70710678,15.7071068 C6.31658249,16.0976311 5.68341751,16.0976311 5.29289322,15.7071068 C4.90236893,15.3165825 4.90236893,14.6834175 5.29289322,14.2928932 L11.2928932,8.29289322 C11.6714722,7.91431428 12.2810586,7.90106866 12.6757246,8.26284586 L18.6757246,13.7628459 C19.0828436,14.1360383 19.1103465,14.7686056 18.7371541,15.1757246 C18.3639617,15.5828436 17.7313944,15.6103465 17.3242754,15.2371541 L12.0300757,10.3841378 L6.70710678,15.7071068 Z",fill:"currentColor","fill-rule":"nonzero",transform:"translate(12.000003, 11.999999) scale(-1, 1) rotate(-270.000000) translate(-12.000003, -11.999999) "})]})});function ke(e){if(!e)return e;return e.replace(/(?<year>[0-9]{4})-(?<month>[0-9]{2})-(?<day>[0-9]{2})(?:T[0-9:.]+(?:[+-][0-9:]+)?)?/,"$<day>-$<month>-$<year>")}const Se=({datePickerDates:e,setDatePickerDates:n})=>{const l=t();return r(()=>{$(l.current).daterangepicker({dateFormat:"dd-mm-yyyy",autoApply:!0,autoUpdateInput:!0},function(e,t){n({startDate:e.format("YYYY-MM-DD"),endDate:t.format("YYYY-MM-DD")})})},[e,n,l]),a("div",{className:"form-control form-control-solid border d-flex align-items-center p-3 justify-content-between",ref:l,children:[i("div",{className:"fs-6",children:e?a(s,{children:[i("input",{hidden:!0,type:"date",defaultValue:e?.startDate,name:"startDate"}),i("input",{hidden:!0,type:"date",defaultValue:e?.endDate,name:"endDate"}),`${ke(e?.startDate)} - ${ke(e?.endDate)}`]}):"Pick a date range"}),i("span",{className:"svg-icon svg-icon-1 ms-2 me-0",children:a("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[i("path",{opacity:"0.3",d:"M21 22H3C2.4 22 2 21.6 2 21V5C2 4.4 2.4 4 3 4H21C21.6 4 22 4.4 22 5V21C22 21.6 21.6 22 21 22Z",fill:"currentColor"}),i("path",{d:"M6 6C5.4 6 5 5.6 5 5V3C5 2.4 5.4 2 6 2C6.6 2 7 2.4 7 3V5C7 5.6 6.6 6 6 6ZM11 5V3C11 2.4 10.6 2 10 2C9.4 2 9 2.4 9 3V5C9 5.6 9.4 6 10 6C10.6 6 11 5.6 11 5ZM15 5V3C15 2.4 14.6 2 14 2C13.4 2 13 2.4 13 3V5C13 5.6 13.4 6 14 6C14.6 6 15 5.6 15 5ZM19 5V3C19 2.4 18.6 2 18 2C17.4 2 17 2.4 17 3V5C17 5.6 17.4 6 18 6C18.6 6 19 5.6 19 5Z",fill:"currentColor"}),i("path",{d:"M8.8 13.1C9.2 13.1 9.5 13 9.7 12.8C9.9 12.6 10.1 12.3 10.1 11.9C10.1 11.6 10 11.3 9.8 11.1C9.6 10.9 9.3 10.8 9 10.8C8.8 10.8 8.59999 10.8 8.39999 10.9C8.19999 11 8.1 11.1 8 11.2C7.9 11.3 7.8 11.4 7.7 11.6C7.6 11.8 7.5 11.9 7.5 12.1C7.5 12.2 7.4 12.2 7.3 12.3C7.2 12.4 7.09999 12.4 6.89999 12.4C6.69999 12.4 6.6 12.3 6.5 12.2C6.4 12.1 6.3 11.9 6.3 11.7C6.3 11.5 6.4 11.3 6.5 11.1C6.6 10.9 6.8 10.7 7 10.5C7.2 10.3 7.49999 10.1 7.89999 10C8.29999 9.90003 8.60001 9.80003 9.10001 9.80003C9.50001 9.80003 9.80001 9.90003 10.1 10C10.4 10.1 10.7 10.3 10.9 10.4C11.1 10.5 11.3 10.8 11.4 11.1C11.5 11.4 11.6 11.6 11.6 11.9C11.6 12.3 11.5 12.6 11.3 12.9C11.1 13.2 10.9 13.5 10.6 13.7C10.9 13.9 11.2 14.1 11.4 14.3C11.6 14.5 11.8 14.7 11.9 15C12 15.3 12.1 15.5 12.1 15.8C12.1 16.2 12 16.5 11.9 16.8C11.8 17.1 11.5 17.4 11.3 17.7C11.1 18 10.7 18.2 10.3 18.3C9.9 18.4 9.5 18.5 9 18.5C8.5 18.5 8.1 18.4 7.7 18.2C7.3 18 7 17.8 6.8 17.6C6.6 17.4 6.4 17.1 6.3 16.8C6.2 16.5 6.10001 16.3 6.10001 16.1C6.10001 15.9 6.2 15.7 6.3 15.6C6.4 15.5 6.6 15.4 6.8 15.4C6.9 15.4 7.00001 15.4 7.10001 15.5C7.20001 15.6 7.3 15.6 7.3 15.7C7.5 16.2 7.7 16.6 8 16.9C8.3 17.2 8.6 17.3 9 17.3C9.2 17.3 9.5 17.2 9.7 17.1C9.9 17 10.1 16.8 10.3 16.6C10.5 16.4 10.5 16.1 10.5 15.8C10.5 15.3 10.4 15 10.1 14.7C9.80001 14.4 9.50001 14.3 9.10001 14.3C9.00001 14.3 8.9 14.3 8.7 14.3C8.5 14.3 8.39999 14.3 8.39999 14.3C8.19999 14.3 7.99999 14.2 7.89999 14.1C7.79999 14 7.7 13.8 7.7 13.7C7.7 13.5 7.79999 13.4 7.89999 13.2C7.99999 13 8.2 13 8.5 13H8.8V13.1ZM15.3 17.5V12.2C14.3 13 13.6 13.3 13.3 13.3C13.1 13.3 13 13.2 12.9 13.1C12.8 13 12.7 12.8 12.7 12.6C12.7 12.4 12.8 12.3 12.9 12.2C13 12.1 13.2 12 13.6 11.8C14.1 11.6 14.5 11.3 14.7 11.1C14.9 10.9 15.2 10.6 15.5 10.3C15.8 10 15.9 9.80003 15.9 9.70003C15.9 9.60003 16.1 9.60004 16.3 9.60004C16.5 9.60004 16.7 9.70003 16.8 9.80003C16.9 9.90003 17 10.2 17 10.5V17.2C17 18 16.7 18.4 16.2 18.4C16 18.4 15.8 18.3 15.6 18.2C15.4 18.1 15.3 17.8 15.3 17.5Z",fill:"currentColor"})]})})]})},Me=()=>null;Me.propTypes={header:D.oneOfType([D.string,D.node]).isRequired,accessor:D.string,colKey:D.string,filterKey:D.string,sortKey:D.string,filterType:D.string,filterOptions:D.any,rangeKeys:D.string,sortable:D.bool,headerClassName:D.string,render:D.func,filterAlignment:D.string,children:D.oneOfType([D.func,D.node])};const Oe=({title:l,data:o=[],children:c,tableClassName:d="",pageSize:p,currentPage:u,totalPages:h=0,onPageChange:m,onPageSizeChange:f,totalRecords:g,pageSizeOptions:v=[10,20,50,100],onSortChange:y,onFilterChange:b,onFilterReset:w,isLoading:x=!1,handleRowClick:C,filterSummery:N,loadingClassName:k,loadingSize:S,loadingType:M,loadingPlaceholderRows:O,loadingColSpan:T})=>{const[L,$]=n([]),[j,E]=n({}),[z,V]=n({}),[A,H]=n(null),[q,P]=n(null),[D,R]=n(null),I=t(null);r(()=>{const e=e=>{I.current&&!I.current.contains(e.target)&&H(null)};return null!==A&&document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}},[A]);const _=e.Children.toArray(c).filter(n=>e.isValidElement(n)).map(e=>{const{header:n,headerClassName:t,accessor:r,filterAlignment:l,colKey:o,filterKey:a,sortKey:i,sortable:s,filterType:c,filterOptions:d,rangeKeys:p,render:u}=e.props,h="function"==typeof e.props.children?e.props.children:null;return{header:n,headerClassName:t,accessor:r,colKey:o,filterKey:a||o,sortKey:i||o,sortable:s,filterAlignment:l,filterType:c,filterOptions:d,rangeKeys:p,render:u||h,rawChild:e.props.children}}),B=(e,n)=>{if("object"==typeof e&&null!==e)E(n=>{const t={...n,...e};return b?.(t),t});else{const t={...j,[e]:n};E(t),b?.(t)}},K=e=>{if(H(n=>n===e?null:e),A!==e){const n=_[e]?.filterKey;V(e=>({...e,[n]:j[n]||""}))}},Z=1===u?1:p*u-(p-1),F=u+1<h?p*u:g,W=(()=>{if(h<=5)return Array.from({length:h},(e,n)=>n+1);let e=u-Math.floor(2.5),n=e+5-1;return e<1&&(e=1,n=5),n>h&&(n=h,e=n-4),Array.from({length:n-e+1},(n,t)=>e+t)})();function Y(e){if(!e)return{};const n={};return e.split(/\s+/).forEach(e=>{if(e.startsWith("left-")){const t=e.replace("left-","");n.left=t.endsWith("px")?t:`${t}`}else if(e.startsWith("right-")){const t=e.replace("right-","");n.right=t.endsWith("px")?t:`${t}`}}),n}return a("div",{className:`filtered-table position-relative ${d}`,children:[l&&i("h4",{className:"mb-3",children:l}),a("div",{className:"table-responsive",children:[Object.keys(j).some(e=>j[e])&&a("div",{className:"d-flex justify-content-between align-items-center mb-3 p-2 border bg-light rounded",children:[N&&i("div",{className:"d-flex flex-wrap align-items-center",children:N.filter(e=>""!==e.value&&null!=e.value).map(e=>a("span",{className:"badge bg-primary text-white me-2 mb-1",children:[i("span",{className:"fw-bolder",children:e.label||e.key}),":"," ",String(e.value)]},e.key))}),!N&&j&&i("div",{className:"d-flex flex-wrap align-items-center",children:Object.entries(j).map(([e,n])=>{if(!n)return null;const t=_.find(n=>n.filterKey===e);return a("span",{className:"badge bg-primary text-white me-2 mb-1",children:[i("span",{className:"fw-bolder",children:t?.header||e}),":"," ",String(n)]},e)})}),i("div",{children:i("span",{className:"btn btn-sm btn-primary",onClick:()=>{const e={};Object.keys(j).forEach(n=>e[n]=""),E(e),Object.keys(e).forEach(e=>B(e,"")),w(),P(null),E({}),$([])},children:"Reset Filter"})})]}),a("table",{className:"table align-middle position-relative table-row-dashed fs-6 gy-3 mb-0 table-hover filtered_table",children:[i("thead",{children:i("tr",{className:"fw-bold fs-6 fs-md-5 text-gray-900",children:_.map((e,n)=>{const t=e.sortKey,r=e.filterKey,l=L.find(e=>e.field===t);let o=!1;if("DATERANGE"===e.filterType&&e.rangeKeys){const[n,t]=e.rangeKeys.split(",");o=!(!j[n]&&!j[t])}else r&&(o=!!j[r]);return i("th",{scope:"col",className:`text-nowrap min-w-100px min-w-md-auto ${e.headerClassName||""}`,children:a("div",{className:"d-flex align-items-end position-relative",children:[i("span",{dangerouslySetInnerHTML:{__html:e.header}}),a("div",{className:"ms-2 sort-filter-wrp d-flex align-items-end",children:[e.sortable&&t&&a("div",{className:"ms-1",onClick:()=>t?(e=>{const n=e.sortKey;n&&(H(null),$(e=>{const t=e[0];let r=[];return t&&t.field===n?"asc"===t.order?r=[{field:n,order:"desc"}]:"desc"===t.order&&(r=[]):r=[{field:n,order:"asc"}],y?.(r),r}))})(e):null,style:{cursor:t?"pointer":"default",marginBottom:"1px"},children:["asc"===l?.order&&i("span",{style:{color:"#d8128c"},children:i(be,{})}),"desc"===l?.order&&i("span",{style:{color:"#d8128c"},children:i(we,{})}),!l&&i(ye,{})]}),e.filterType&&i("div",{className:"flt-btn w-25px h-25px pt-1 pe-3 "+(e.sortable?"ms-2":""),style:{color:o?"#d8128c":""},onClick:()=>K(n),children:i(xe,{})})]}),A===n&&a("div",{ref:I,children:["TEXT"===e.filterType&&a("div",{className:"filter-dropdown-wrp z-index-1 bg-white",style:Y(e.filterAlignment),children:[i("input",{type:"text",className:"form-control form-control-sm",value:z[e.filterKey]||"",placeholder:`Filter ${e.header}`,onChange:n=>V(t=>({...t,[e.filterKey]:n.target.value}))}),a("div",{className:"d-flex align-items-center justify-content-between mt-5",children:[i("button",{className:"btn btn-sm btn-secondary me-5",onClick:()=>{V(n=>({...n,[e.filterKey]:""})),B(e.filterKey,""),K(n)},children:"Clear"}),i("button",{className:"btn btn-sm btn-primary",onClick:()=>{B(e.filterKey,z[e.filterKey]||""),K(n)},children:"Apply"})]})]}),"DATERANGE"===e.filterType&&a("div",{className:"filter-dropdown-wrp z-index-1 bg-white",style:Y(e.filterAlignment),children:[i(Se,{datePickerDates:q,setDatePickerDates:e=>P(e)}),a("div",{className:"d-flex align-items-center justify-content-between mt-5",children:[i("button",{className:"btn btn-sm btn-secondary me-5",onClick:()=>{const[t,r]=e.rangeKeys.split(",");V(e=>({...e,[t]:"",[r]:""})),B({[t]:"",[r]:""}),P(null),K(n)},children:"Clear"}),i("button",{className:"btn btn-sm btn-primary",onClick:()=>{const[t,r]=e.rangeKeys.split(",");B({[t]:q?.startDate||"",[r]:q?.endDate||""}),K(n)},children:"Apply"})]})]}),"DROPDOWN"===e.filterType&&a("div",{className:"filter-dropdown-wrp z-index-1 bg-white",style:Y(e.filterAlignment),children:[a("select",{className:"form-select form-select-sm form-select-solid text-capitalize mb-3",value:z[e.filterKey]||"",onChange:n=>V(t=>({...t,[e.filterKey]:n.target.value})),children:[i("option",{value:"",children:"Any"}),e.filterOptions.map((e,n)=>i("option",{value:e.value,className:"text-capitalize",children:e.label},n))]}),a("div",{className:"d-flex align-items-center justify-content-between mt-5",children:[i("button",{className:"btn btn-sm btn-secondary me-5",onClick:()=>{V(n=>({...n,[e.filterKey]:""})),B(e.filterKey,""),K(n)},children:"Clear"}),i("button",{className:"btn btn-sm btn-primary",onClick:()=>{B(e.filterKey,z[e.filterKey]||""),K(n)},children:"Apply"})]})]})]})]})},n)})})}),i("tbody",{children:x?i("tr",{children:i("td",{colSpan:T||9,children:i(ve,{className:k||"w-100",size:S||"md",loadingType:M||"table",placeholderRows:O||9})})}):a(s,{children:[o&&o.length>0?o.map((e,n)=>i("tr",{onClick:()=>C(e),style:{cursor:"pointer"},children:_.map((t,r)=>{let l=null;if("function"==typeof t.render)l=t.render(e,n);else if(t.accessor){const n=function(e,n){if(n)return n.split(".").reduce((e,n)=>null==e?void 0:e[n],e)}(e,t.accessor);l=null==n?"":n}else l=t.rawChild??"";return i("td",{children:l},r)})},e.uuid??e.id??n)):i("tr",{children:i("td",{colSpan:_.length,className:"text-center py-4",children:i("div",{className:"my-10 py-10",children:"No data"})})}),o&&o.length<5&&i("tr",{children:i("td",{colSpan:_.length,className:"text-center",children:i("div",{style:{minHeight:"50px"}})})})]})})]})]}),a("div",{className:"d-flex align-items-center justify-content-between mt-6",children:[a("div",{className:"col-sm-12 col-md-6 d-flex align-items-center",children:[i("div",{className:"dataTables_length",children:i("label",{children:i("select",{className:"form-select form-select-sm form-select-solid",value:p,onChange:e=>f(Number(e.target.value)),children:v.map(e=>i("option",{value:e,children:e},e))})})}),a("div",{className:"dataTables_info text-start ms-3",role:"status","aria-live":"polite",children:["Showing ",Z," to ",F," of ",g," records"]})]}),i("div",{className:"col-lg-6 col-md-12 d-flex justify-content-end",children:a("ul",{className:"pagination pagination-md",children:[u>1&&i("li",{className:"paginate_button page-item",children:i("span",{className:"page-link svg-icon svg-icon-2",onClick:()=>m(u-1),children:i(Ne,{})})}),h>1&&W.map(e=>i("li",{className:"paginate_button page-item "+(u===e?"active":""),children:i("span",{onClick:()=>m(e),className:"page-link",children:e})},e)),u<h&&i("li",{className:"paginate_button page-item",children:i("span",{className:"page-link svg-icon svg-icon-2",onClick:()=>m(u+1),children:i(Ce,{})})})]})}),i("style",{jsx:!0,global:!0,children:""})]})]})};Oe.propTypes={title:D.string,data:D.array,children:D.node.isRequired,tableClassName:D.string,pageSize:D.number.isRequired,currentPage:D.number.isRequired,totalPages:D.number.isRequired,onPageChange:D.func.isRequired,onPageSizeChange:D.func.isRequired,pageSizeOptions:D.array,onSortChange:D.func,onFilterChange:D.func,onFilterReset:D.func,isLoading:D.bool},Oe.Col=Me;export{I as AccordionItem,_ as PCAccordionWrapper,R as PCButton,ee as PCCol,G as PCContainer,Oe as PCFilteredTable,U as PCIcon,re as PCInput,oe as PCInputCurrency,ve as PCLoading,ne as PCModal,W as PCMultiSelectDropdown,ae as PCRadio,Q as PCRow,B as PCSelectDropdown,Z as PCTable,F as PCTextarea,K as PCTooltip};
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- "use strict";var e=require("react"),n=require("react/jsx-runtime");function t(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var r,o={exports:{}},l={exports:{}},s={};var a,i,c,d,p,u,h,m,f,g,x,v,y,b,w,j={};
1
+ "use strict";var e=require("react"),n=require("react/jsx-runtime");function t(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var r,s={exports:{}},l={exports:{}},o={};var a,i,c,d,p,u,h,m,f,g,x,v,y,b,w,j={};
2
2
  /** @license React v16.13.1
3
3
  * react-is.development.js
4
4
  *
@@ -6,9 +6,9 @@
6
6
  *
7
7
  * This source code is licensed under the MIT license found in the
8
8
  * LICENSE file in the root directory of this source tree.
9
- */function C(){return i||(i=1,"production"===process.env.NODE_ENV?l.exports=function(){if(r)return s;r=1;var e="function"==typeof Symbol&&Symbol.for,n=e?Symbol.for("react.element"):60103,t=e?Symbol.for("react.portal"):60106,o=e?Symbol.for("react.fragment"):60107,l=e?Symbol.for("react.strict_mode"):60108,a=e?Symbol.for("react.profiler"):60114,i=e?Symbol.for("react.provider"):60109,c=e?Symbol.for("react.context"):60110,d=e?Symbol.for("react.async_mode"):60111,p=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,h=e?Symbol.for("react.suspense"):60113,m=e?Symbol.for("react.suspense_list"):60120,f=e?Symbol.for("react.memo"):60115,g=e?Symbol.for("react.lazy"):60116,x=e?Symbol.for("react.block"):60121,v=e?Symbol.for("react.fundamental"):60117,y=e?Symbol.for("react.responder"):60118,b=e?Symbol.for("react.scope"):60119;function w(e){if("object"==typeof e&&null!==e){var r=e.$$typeof;switch(r){case n:switch(e=e.type){case d:case p:case o:case a:case l:case h:return e;default:switch(e=e&&e.$$typeof){case c:case u:case g:case f:case i:return e;default:return r}}case t:return r}}}function j(e){return w(e)===p}return s.AsyncMode=d,s.ConcurrentMode=p,s.ContextConsumer=c,s.ContextProvider=i,s.Element=n,s.ForwardRef=u,s.Fragment=o,s.Lazy=g,s.Memo=f,s.Portal=t,s.Profiler=a,s.StrictMode=l,s.Suspense=h,s.isAsyncMode=function(e){return j(e)||w(e)===d},s.isConcurrentMode=j,s.isContextConsumer=function(e){return w(e)===c},s.isContextProvider=function(e){return w(e)===i},s.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},s.isForwardRef=function(e){return w(e)===u},s.isFragment=function(e){return w(e)===o},s.isLazy=function(e){return w(e)===g},s.isMemo=function(e){return w(e)===f},s.isPortal=function(e){return w(e)===t},s.isProfiler=function(e){return w(e)===a},s.isStrictMode=function(e){return w(e)===l},s.isSuspense=function(e){return w(e)===h},s.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===p||e===a||e===l||e===h||e===m||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===f||e.$$typeof===i||e.$$typeof===c||e.$$typeof===u||e.$$typeof===v||e.$$typeof===y||e.$$typeof===b||e.$$typeof===x)},s.typeOf=w,s}():l.exports=(a||(a=1,"production"!==process.env.NODE_ENV&&function(){var e="function"==typeof Symbol&&Symbol.for,n=e?Symbol.for("react.element"):60103,t=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,l=e?Symbol.for("react.profiler"):60114,s=e?Symbol.for("react.provider"):60109,a=e?Symbol.for("react.context"):60110,i=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,d=e?Symbol.for("react.forward_ref"):60112,p=e?Symbol.for("react.suspense"):60113,u=e?Symbol.for("react.suspense_list"):60120,h=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,f=e?Symbol.for("react.block"):60121,g=e?Symbol.for("react.fundamental"):60117,x=e?Symbol.for("react.responder"):60118,v=e?Symbol.for("react.scope"):60119;function y(e){if("object"==typeof e&&null!==e){var u=e.$$typeof;switch(u){case n:var f=e.type;switch(f){case i:case c:case r:case l:case o:case p:return f;default:var g=f&&f.$$typeof;switch(g){case a:case d:case m:case h:case s:return g;default:return u}}case t:return u}}}var b=i,w=c,C=a,N=s,k=n,S=d,M=r,T=m,O=h,$=t,L=l,E=o,z=p,P=!1;function V(e){return y(e)===c}j.AsyncMode=b,j.ConcurrentMode=w,j.ContextConsumer=C,j.ContextProvider=N,j.Element=k,j.ForwardRef=S,j.Fragment=M,j.Lazy=T,j.Memo=O,j.Portal=$,j.Profiler=L,j.StrictMode=E,j.Suspense=z,j.isAsyncMode=function(e){return P||(P=!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.")),V(e)||y(e)===i},j.isConcurrentMode=V,j.isContextConsumer=function(e){return y(e)===a},j.isContextProvider=function(e){return y(e)===s},j.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},j.isForwardRef=function(e){return y(e)===d},j.isFragment=function(e){return y(e)===r},j.isLazy=function(e){return y(e)===m},j.isMemo=function(e){return y(e)===h},j.isPortal=function(e){return y(e)===t},j.isProfiler=function(e){return y(e)===l},j.isStrictMode=function(e){return y(e)===o},j.isSuspense=function(e){return y(e)===p},j.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===r||e===c||e===l||e===o||e===p||e===u||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===h||e.$$typeof===s||e.$$typeof===a||e.$$typeof===d||e.$$typeof===g||e.$$typeof===x||e.$$typeof===v||e.$$typeof===f)},j.typeOf=y}()),j)),l.exports}
9
+ */function C(){return i||(i=1,"production"===process.env.NODE_ENV?l.exports=function(){if(r)return o;r=1;var e="function"==typeof Symbol&&Symbol.for,n=e?Symbol.for("react.element"):60103,t=e?Symbol.for("react.portal"):60106,s=e?Symbol.for("react.fragment"):60107,l=e?Symbol.for("react.strict_mode"):60108,a=e?Symbol.for("react.profiler"):60114,i=e?Symbol.for("react.provider"):60109,c=e?Symbol.for("react.context"):60110,d=e?Symbol.for("react.async_mode"):60111,p=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,h=e?Symbol.for("react.suspense"):60113,m=e?Symbol.for("react.suspense_list"):60120,f=e?Symbol.for("react.memo"):60115,g=e?Symbol.for("react.lazy"):60116,x=e?Symbol.for("react.block"):60121,v=e?Symbol.for("react.fundamental"):60117,y=e?Symbol.for("react.responder"):60118,b=e?Symbol.for("react.scope"):60119;function w(e){if("object"==typeof e&&null!==e){var r=e.$$typeof;switch(r){case n:switch(e=e.type){case d:case p:case s:case a:case l:case h:return e;default:switch(e=e&&e.$$typeof){case c:case u:case g:case f:case i:return e;default:return r}}case t:return r}}}function j(e){return w(e)===p}return o.AsyncMode=d,o.ConcurrentMode=p,o.ContextConsumer=c,o.ContextProvider=i,o.Element=n,o.ForwardRef=u,o.Fragment=s,o.Lazy=g,o.Memo=f,o.Portal=t,o.Profiler=a,o.StrictMode=l,o.Suspense=h,o.isAsyncMode=function(e){return j(e)||w(e)===d},o.isConcurrentMode=j,o.isContextConsumer=function(e){return w(e)===c},o.isContextProvider=function(e){return w(e)===i},o.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},o.isForwardRef=function(e){return w(e)===u},o.isFragment=function(e){return w(e)===s},o.isLazy=function(e){return w(e)===g},o.isMemo=function(e){return w(e)===f},o.isPortal=function(e){return w(e)===t},o.isProfiler=function(e){return w(e)===a},o.isStrictMode=function(e){return w(e)===l},o.isSuspense=function(e){return w(e)===h},o.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===s||e===p||e===a||e===l||e===h||e===m||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===f||e.$$typeof===i||e.$$typeof===c||e.$$typeof===u||e.$$typeof===v||e.$$typeof===y||e.$$typeof===b||e.$$typeof===x)},o.typeOf=w,o}():l.exports=(a||(a=1,"production"!==process.env.NODE_ENV&&function(){var e="function"==typeof Symbol&&Symbol.for,n=e?Symbol.for("react.element"):60103,t=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,s=e?Symbol.for("react.strict_mode"):60108,l=e?Symbol.for("react.profiler"):60114,o=e?Symbol.for("react.provider"):60109,a=e?Symbol.for("react.context"):60110,i=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,d=e?Symbol.for("react.forward_ref"):60112,p=e?Symbol.for("react.suspense"):60113,u=e?Symbol.for("react.suspense_list"):60120,h=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,f=e?Symbol.for("react.block"):60121,g=e?Symbol.for("react.fundamental"):60117,x=e?Symbol.for("react.responder"):60118,v=e?Symbol.for("react.scope"):60119;function y(e){if("object"==typeof e&&null!==e){var u=e.$$typeof;switch(u){case n:var f=e.type;switch(f){case i:case c:case r:case l:case s:case p:return f;default:var g=f&&f.$$typeof;switch(g){case a:case d:case m:case h:case o:return g;default:return u}}case t:return u}}}var b=i,w=c,C=a,N=o,k=n,S=d,M=r,T=m,O=h,L=t,$=l,E=s,z=p,P=!1;function V(e){return y(e)===c}j.AsyncMode=b,j.ConcurrentMode=w,j.ContextConsumer=C,j.ContextProvider=N,j.Element=k,j.ForwardRef=S,j.Fragment=M,j.Lazy=T,j.Memo=O,j.Portal=L,j.Profiler=$,j.StrictMode=E,j.Suspense=z,j.isAsyncMode=function(e){return P||(P=!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.")),V(e)||y(e)===i},j.isConcurrentMode=V,j.isContextConsumer=function(e){return y(e)===a},j.isContextProvider=function(e){return y(e)===o},j.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},j.isForwardRef=function(e){return y(e)===d},j.isFragment=function(e){return y(e)===r},j.isLazy=function(e){return y(e)===m},j.isMemo=function(e){return y(e)===h},j.isPortal=function(e){return y(e)===t},j.isProfiler=function(e){return y(e)===l},j.isStrictMode=function(e){return y(e)===s},j.isSuspense=function(e){return y(e)===p},j.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===r||e===c||e===l||e===s||e===p||e===u||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===h||e.$$typeof===o||e.$$typeof===a||e.$$typeof===d||e.$$typeof===g||e.$$typeof===x||e.$$typeof===v||e.$$typeof===f)},j.typeOf=y}()),j)),l.exports}
10
10
  /*
11
11
  object-assign
12
12
  (c) Sindre Sorhus
13
13
  @license MIT
14
- */function N(){if(d)return c;d=1;var e=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,t=Object.prototype.propertyIsEnumerable;return c=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var n={},t=0;t<10;t++)n["_"+String.fromCharCode(t)]=t;if("0123456789"!==Object.getOwnPropertyNames(n).map(function(e){return n[e]}).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach(function(e){r[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(r,o){for(var l,s,a=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(r),i=1;i<arguments.length;i++){for(var c in l=Object(arguments[i]))n.call(l,c)&&(a[c]=l[c]);if(e){s=e(l);for(var d=0;d<s.length;d++)t.call(l,s[d])&&(a[s[d]]=l[s[d]])}}return a},c}function k(){if(u)return p;u=1;return p="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}function S(){return m?h:(m=1,h=Function.call.bind(Object.prototype.hasOwnProperty))}function M(){if(g)return f;g=1;var e=function(){};if("production"!==process.env.NODE_ENV){var n=k(),t={},r=S();e=function(e){var n="Warning: "+e;"undefined"!=typeof console&&console.error(n);try{throw new Error(n)}catch(e){}}}function o(o,l,s,a,i){if("production"!==process.env.NODE_ENV)for(var c in o)if(r(o,c)){var d;try{if("function"!=typeof o[c]){var p=Error((a||"React class")+": "+s+" type `"+c+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof o[c]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw p.name="Invariant Violation",p}d=o[c](l,c,a,s,null,n)}catch(e){d=e}if(!d||d instanceof Error||e((a||"React class")+": type specification of "+s+" `"+c+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof d+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),d instanceof Error&&!(d.message in t)){t[d.message]=!0;var u=i?i():"";e("Failed "+s+" type: "+d.message+(null!=u?u:""))}}}return o.resetWarningCache=function(){"production"!==process.env.NODE_ENV&&(t={})},f=o}function T(){if(v)return x;v=1;var e=C(),n=N(),t=k(),r=S(),o=M(),l=function(){};function s(){return null}return"production"!==process.env.NODE_ENV&&(l=function(e){var n="Warning: "+e;"undefined"!=typeof console&&console.error(n);try{throw new Error(n)}catch(e){}}),x=function(a,i){var c="function"==typeof Symbol&&Symbol.iterator;var d="<<anonymous>>",p={array:f("array"),bigint:f("bigint"),bool:f("boolean"),func:f("function"),number:f("number"),object:f("object"),string:f("string"),symbol:f("symbol"),any:m(s),arrayOf:function(e){return m(function(n,r,o,l,s){if("function"!=typeof e)return new h("Property `"+s+"` of component `"+o+"` has invalid PropType notation inside arrayOf.");var a=n[r];if(!Array.isArray(a))return new h("Invalid "+l+" `"+s+"` of type `"+v(a)+"` supplied to `"+o+"`, expected an array.");for(var i=0;i<a.length;i++){var c=e(a,i,o,l,s+"["+i+"]",t);if(c instanceof Error)return c}return null})},element:m(function(e,n,t,r,o){var l=e[n];return a(l)?null:new h("Invalid "+r+" `"+o+"` of type `"+v(l)+"` supplied to `"+t+"`, expected a single ReactElement.")}),elementType:m(function(n,t,r,o,l){var s=n[t];return e.isValidElementType(s)?null:new h("Invalid "+o+" `"+l+"` of type `"+v(s)+"` supplied to `"+r+"`, expected a single ReactElement type.")}),instanceOf:function(e){return m(function(n,t,r,o,l){if(!(n[t]instanceof e)){var s=e.name||d;return new h("Invalid "+o+" `"+l+"` of type `"+(((a=n[t]).constructor&&a.constructor.name?a.constructor.name:d)+"` supplied to `")+r+"`, expected instance of `"+s+"`.")}var a;return null})},node:m(function(e,n,t,r,o){return x(e[n])?null:new h("Invalid "+r+" `"+o+"` supplied to `"+t+"`, expected a ReactNode.")}),objectOf:function(e){return m(function(n,o,l,s,a){if("function"!=typeof e)return new h("Property `"+a+"` of component `"+l+"` has invalid PropType notation inside objectOf.");var i=n[o],c=v(i);if("object"!==c)return new h("Invalid "+s+" `"+a+"` of type `"+c+"` supplied to `"+l+"`, expected an object.");for(var d in i)if(r(i,d)){var p=e(i,d,l,s,a+"."+d,t);if(p instanceof Error)return p}return null})},oneOf:function(e){if(!Array.isArray(e))return"production"!==process.env.NODE_ENV&&l(arguments.length>1?"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]).":"Invalid argument supplied to oneOf, expected an array."),s;return m(function(n,t,r,o,l){for(var s=n[t],a=0;a<e.length;a++)if(u(s,e[a]))return null;var i=JSON.stringify(e,function(e,n){return"symbol"===y(n)?String(n):n});return new h("Invalid "+o+" `"+l+"` of value `"+String(s)+"` supplied to `"+r+"`, expected one of "+i+".")})},oneOfType:function(e){if(!Array.isArray(e))return"production"!==process.env.NODE_ENV&&l("Invalid argument supplied to oneOfType, expected an instance of array."),s;for(var n=0;n<e.length;n++){var o=e[n];if("function"!=typeof o)return l("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+b(o)+" at index "+n+"."),s}return m(function(n,o,l,s,a){for(var i=[],c=0;c<e.length;c++){var d=(0,e[c])(n,o,l,s,a,t);if(null==d)return null;d.data&&r(d.data,"expectedType")&&i.push(d.data.expectedType)}return new h("Invalid "+s+" `"+a+"` supplied to `"+l+"`"+(i.length>0?", expected one of type ["+i.join(", ")+"]":"")+".")})},shape:function(e){return m(function(n,r,o,l,s){var a=n[r],i=v(a);if("object"!==i)return new h("Invalid "+l+" `"+s+"` of type `"+i+"` supplied to `"+o+"`, expected `object`.");for(var c in e){var d=e[c];if("function"!=typeof d)return g(o,l,s,c,y(d));var p=d(a,c,o,l,s+"."+c,t);if(p)return p}return null})},exact:function(e){return m(function(o,l,s,a,i){var c=o[l],d=v(c);if("object"!==d)return new h("Invalid "+a+" `"+i+"` of type `"+d+"` supplied to `"+s+"`, expected `object`.");var p=n({},o[l],e);for(var u in p){var m=e[u];if(r(e,u)&&"function"!=typeof m)return g(s,a,i,u,y(m));if(!m)return new h("Invalid "+a+" `"+i+"` key `"+u+"` supplied to `"+s+"`.\nBad object: "+JSON.stringify(o[l],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var f=m(c,u,s,a,i+"."+u,t);if(f)return f}return null})}};function u(e,n){return e===n?0!==e||1/e==1/n:e!=e&&n!=n}function h(e,n){this.message=e,this.data=n&&"object"==typeof n?n:{},this.stack=""}function m(e){if("production"!==process.env.NODE_ENV)var n={},r=0;function o(o,s,a,c,p,u,m){if(c=c||d,u=u||a,m!==t){if(i){var f=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 f.name="Invariant Violation",f}if("production"!==process.env.NODE_ENV&&"undefined"!=typeof console){var g=c+":"+a;!n[g]&&r<3&&(l("You are manually calling a React.PropTypes validation function for the `"+u+"` prop on `"+c+"`. 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."),n[g]=!0,r++)}}return null==s[a]?o?null===s[a]?new h("The "+p+" `"+u+"` is marked as required in `"+c+"`, but its value is `null`."):new h("The "+p+" `"+u+"` is marked as required in `"+c+"`, but its value is `undefined`."):null:e(s,a,c,p,u)}var s=o.bind(null,!1);return s.isRequired=o.bind(null,!0),s}function f(e){return m(function(n,t,r,o,l,s){var a=n[t];return v(a)!==e?new h("Invalid "+o+" `"+l+"` of type `"+y(a)+"` supplied to `"+r+"`, expected `"+e+"`.",{expectedType:e}):null})}function g(e,n,t,r,o){return new h((e||"React class")+": "+n+" type `"+t+"."+r+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+o+"`.")}function x(e){switch(typeof e){case"number":case"string":case"undefined":return!0;case"boolean":return!e;case"object":if(Array.isArray(e))return e.every(x);if(null===e||a(e))return!0;var n=function(e){var n=e&&(c&&e[c]||e["@@iterator"]);if("function"==typeof n)return n}(e);if(!n)return!1;var t,r=n.call(e);if(n!==e.entries){for(;!(t=r.next()).done;)if(!x(t.value))return!1}else for(;!(t=r.next()).done;){var o=t.value;if(o&&!x(o[1]))return!1}return!0;default:return!1}}function v(e){var n=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":function(e,n){return"symbol"===e||!!n&&("Symbol"===n["@@toStringTag"]||"function"==typeof Symbol&&n instanceof Symbol)}(n,e)?"symbol":n}function y(e){if(null==e)return""+e;var n=v(e);if("object"===n){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return n}function b(e){var n=y(e);switch(n){case"array":case"object":return"an "+n;case"boolean":case"date":case"regexp":return"a "+n;default:return n}}return h.prototype=Error.prototype,p.checkPropTypes=o,p.resetWarningCache=o.resetWarningCache,p.PropTypes=p,p},x}function O(){if(b)return y;b=1;var e=k();function n(){}function t(){}return t.resetWarningCache=n,y=function(){function r(n,t,r,o,l,s){if(s!==e){var a=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 a.name="Invariant Violation",a}}function o(){return r}r.isRequired=r;var l={array:r,bigint:r,bool:r,func:r,number:r,object:r,string:r,symbol:r,any:r,arrayOf:o,element:r,elementType:r,instanceOf:o,node:r,objectOf:o,oneOf:o,oneOfType:o,shape:o,exact:o,checkPropTypes:t,resetWarningCache:n};return l.PropTypes=l,l}}function L(){if(w)return o.exports;if(w=1,"production"!==process.env.NODE_ENV){var e=C();o.exports=T()(e.isElement,true)}else o.exports=O()();return o.exports}var E=t(L());function z({label:e,icon:t,loading:r=!1,disabled:o=!1,variant:l="primary",type:s="button",className:a="",...i}){const c=!!e,d=!e&&t;return n.jsxs("button",{type:s,className:`btn btn-${l} ${a} d-flex align-items-center justify-center gap-2 ${d?"p-2":""}`,disabled:o||r,...i,children:[r&&n.jsx("span",{className:"custom-spinner"}),t&&n.jsx("span",{className:"px-2",children:t}),c&&n.jsx("span",{children:e}),n.jsx("style",{jsx:!0,children:"\n .custom-spinner {\n display: inline-block;\n width: 1rem;\n height: 1rem;\n border: 2px solid rgba(255, 255, 255, 0.3);\n border-top-color: white;\n border-radius: 50%;\n animation: spin 0.6s linear infinite;\n }\n\n @keyframes spin {\n to {\n transform: rotate(360deg);\n }\n }\n "})]})}z.propTypes={label:E.oneOfType([E.string,E.node]),icon:E.node,loading:E.bool,disabled:E.bool,variant:E.oneOf(["primary","secondary","outline-primary","outline-secondary","success","danger","warning","info","light","dark"]),type:E.oneOf(["button","submit","reset"])};const P=({options:t=[],placeholder:r="Select...",onChange:o,isInvalid:l=!1,errMsg:s="",id:a,name:i,dataTestId:c,enableSearch:d=!1,selected:p=null})=>{const[u,h]=e.useState(!1),[m,f]=e.useState(""),g=e.useRef(null),x=e.useRef(null),[v,y]=e.useState(null),b=null!==p?p:v;e.useEffect(()=>{null!==p&&y(p)},[p]),e.useEffect(()=>{const e=e=>{g.current&&!g.current.contains(e.target)&&h(!1)};return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)},[]);const w=t.filter(e=>e.label.toLowerCase().includes(m.toLowerCase()));return n.jsxs("div",{className:"position-relative w-100",ref:g,children:[n.jsxs("div",{className:"dropdown",children:[n.jsx("button",{type:"button",ref:x,className:"form-select pc-ele-border text-start "+(l?"invalid":""),onClick:()=>h(e=>!e),id:a,name:i,"data-testid":c,children:b?.label||r}),u&&n.jsxs("div",{className:"slc-dropdown-options-wrp show w-100 pc-ele-border position-absolute top-100 start-0 z-index-2",style:{maxHeight:300},children:[d&&n.jsx("div",{className:"mb-2 px-3 py-2 border-bottom",children:n.jsx("input",{type:"text",className:"form-control pc-select-opt-input",placeholder:"Search...",value:m,onChange:e=>f(e.target.value)})}),w.length>0?w.map((e,t)=>n.jsx("span",{className:"pc-select-opt d-block w-100 py-3 px-4",type:"button",onClick:()=>(e=>{null===p&&y(e),h(!1),o?.(i,e)})(e),children:e.label},t)):n.jsx("div",{className:"text-muted px-2",children:"No results found"})]})]}),l&&s&&n.jsx("div",{className:"d-block position-absolute w-100 mt-1 pc-err-txt",style:{top:"100%"},children:s}),n.jsx("style",{jsx:!0,children:"\n .slc-dropdown-options-wrp {\n border-radius: 0.375rem;\n background-color: var(--kt-dropdown-bg);\n }\n .pc-select-opt:hover {\n background-color: var(--kt-input-solid-bg);\n }\n .pc-select-opt-input {\n margin-top: 3px;\n }\n .pc-select-opt {\n color: var(--kt-form-check-label-color-checked);\n }\n .pc-ele-border {\n border: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color);\n }\n .pc-ele-border.invalid{\n border-color: var(--kt-danger);\n }\n .pc-err-txt {\n color: var(--kt-danger);\n }\n "})]})};P.propTypes={options:E.arrayOf(E.shape({label:E.string,value:E.any})).isRequired,placeholder:E.string,onChange:E.func,isInvalid:E.bool,errMsg:E.string,id:E.string,name:E.string,dataTestId:E.string,enableSearch:E.bool};const V=({placement:e="top",caption:t,children:r,customStyles:o,visibility:l=!0})=>n.jsxs(n.Fragment,{children:[n.jsxs("div",{className:` tooltip-wrapper tooltip-${e}`,tabIndex:"0",children:[r,l&&n.jsx("div",{className:`tooltip-content shadow-sm ${o}`,role:"tooltip",children:t})]}),n.jsx("style",{jsx:!0,children:`\n .tooltip-wrapper {\n position: relative;\n display: inline-block;\n cursor: pointer;\n }\n\n .tooltip-content {\n position: absolute;\n z-index: 999;\n background-color: var(--kt-secondary);\n color: var(--kt-secondary-inverse);\n padding: 4px 8px;\n border-radius: 0.375rem;\n font-size: 0.9rem;\n line-height: 1.2;\n text-wrap: nowrap;\n white-space: ${o?"normal":"nowrap"};\n visibility: hidden;\n opacity: 0;\n transition: opacity 0.2s ease-in-out;\n pointer-events: none;\n border: 1px rgba(0, 0, 0, 0.82);\n }\n\n .tooltip-wrapper:hover .tooltip-content,\n .tooltip-wrapper:focus-within .tooltip-content {\n visibility: visible;\n opacity: 1;\n }\n\n .tooltip-content::after {\n content: "";\n position: absolute;\n border-style: solid;\n }\n\n /* Top */\n .tooltip-top .tooltip-content {\n bottom: 125%;\n left: 50%;\n transform: translateX(-50%);\n }\n\n .tooltip-top .tooltip-content::after {\n top: 100%;\n left: 50%;\n margin-left: -5px;\n border-width: 5px;\n border-color: var(--kt-secondary) transparent transparent transparent;\n }\n\n /* Bottom */\n .tooltip-bottom .tooltip-content {\n top: 125%;\n left: 50%;\n transform: translateX(-50%);\n }\n\n .tooltip-bottom .tooltip-content::after {\n bottom: 100%;\n left: 50%;\n margin-left: -5px;\n border-width: 5px;\n border-color: transparent transparent var(--kt-secondary) transparent;\n }\n\n /* Left */\n .tooltip-left .tooltip-content {\n right: 125%;\n top: 50%;\n transform: translateY(-50%);\n }\n\n .tooltip-left .tooltip-content::after {\n top: 50%;\n left: 100%;\n margin-top: -5px;\n border-width: 5px;\n border-color: transparent transparent transparent var(--kt-secondary);\n }\n\n /* Right */\n .tooltip-right .tooltip-content {\n left: 125%;\n top: 50%;\n transform: translateY(-50%);\n }\n\n .tooltip-right .tooltip-content::after {\n top: 50%;\n right: 100%;\n margin-top: -5px;\n border-width: 5px;\n border-color: transparent var(--kt-secondary) transparent transparent;\n }\n `})]});V.propTypes={placement:E.oneOf(["top","bottom","left","right"]),caption:E.string.isRequired,children:E.node.isRequired};!function(e,n){void 0===n&&(n={});var t=n.insertAt;if("undefined"!=typeof document){var r=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css","top"===t&&r.firstChild?r.insertBefore(o,r.firstChild):r.appendChild(o),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(document.createTextNode(e))}}(".pc-table tr {\r\n border-bottom-width: 1px;\r\n border-bottom-style: dashed;\r\n border-bottom-color: var(--kt-border-color);\r\n}\r\n.pc-table>:not(:last-child)>:last-child>*\r\n {\r\n border-bottom-color: inherit;\r\n}\r\n\r\n.pc-table.table.gy-3 td, .pc-table.table.gy-3 th {\r\n padding-top: 1rem;\r\n padding-bottom: 1rem;\r\n}\r\n .pc-table.table.gy-3 th {\r\n font-weight: 600;\r\n}\r\n.pc-table >:not(:first-child) {\r\n border-color: transparent;\r\n border-width: 0;\r\n border-style: none;\r\n}\r\n.pc-table td:last-child, .pc-table th:last-child {\r\n padding-right: 1rem;\r\n}\r\n.pc-table.table-hover>tbody>tr:hover>* {\r\n background-color: var(--bs-table-hover-bg);\r\n color: var(--bs-table-hover-color);\r\n}\r\n.dataTables_info {\r\n display: flex;\r\n flex-direction: column;\r\n font-weight: 500;\r\n color: var(--kt-gray-700);\r\n padding: 1rem 0;\r\n}\r\n.pc-pagination-wrp .page-link{\r\n font-weight: 500;\r\n font-size: 1rem;\r\n}\r\n.pc-pagination-wrp i{\r\n font-size: 0.75rem;\r\n}");const A=({value:e,onChange:t,isDisabled:r=!1,isInvalid:o=!1,maxChar:l=null,showCharCount:s=!1,cols:a=30,rows:i=4,id:c,name:d,dataTestId:p,errMsg:u="",placeholder:h=""})=>n.jsxs("div",{className:"position-relative w-100",children:[l&&s&&n.jsxs("div",{className:"form-text text-end",children:[e.length,"/",l," characters"]}),n.jsx("textarea",{id:c,name:d,"data-testid":p,className:"form-control pc-ele-border "+(o?"invalid":""),cols:a,rows:i,value:e,onChange:e=>{const{value:n}=e.target;(!l||n.length<=l)&&t?.(d,n)},placeholder:h,disabled:r}),o&&u&&n.jsx("div",{className:"d-block position-absolute w-100 mt-1 pc-err-txt",style:{top:"100%"},children:u}),n.jsx("style",{jsx:!0,children:"\n .slc-dropdown-options-wrp {\n border-radius: 0.375rem;\n background-color: var(--kt-dropdown-bg);\n }\n .pc-select-opt:hover {\n background-color: var(--kt-input-solid-bg);\n }\n .pc-select-opt-input {\n margin-top: 3px;\n }\n .pc-select-opt {\n color: var(--kt-form-check-label-color-checked);\n }\n .pc-ele-border {\n border: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color);\n }\n .pc-ele-border.invalid{\n border-color: var(--kt-danger);\n }\n .pc-err-txt {\n color: var(--kt-danger);\n }\n "})]});A.propTypes={value:E.string.isRequired,onChange:E.func,isDisabled:E.bool,isInvalid:E.bool,maxChar:E.number,showCharCount:E.bool,cols:E.number,rows:E.number,id:E.string,name:E.string,dataTestId:E.string,errMsg:E.string,placeholder:E.string};const R={ArrowRightBold:e=>n.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",...e,children:n.jsx("path",{fill:"currentColor",d:"m224.49 136.49l-72 72a12 12 0 0 1-17-17L187 140H40a12 12 0 0 1 0-24h147l-51.49-51.52a12 12 0 0 1 17-17l72 72a12 12 0 0 1-.02 17.01"})}),Conditions:e=>n.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",...e,children:n.jsx("path",{fill:"currentColor",d:"M3.25 4.07V1.75a.75.75 0 0 1 1.5 0v2.32a4.001 4.001 0 0 1 0 7.86v2.32a.75.75 0 0 1-1.5 0v-2.32a4.001 4.001 0 0 1 0-7.86M4 10.5a2.5 2.5 0 1 0 0-5a2.5 2.5 0 0 0 0 5M9.75 4a.75.75 0 0 0 0 1.5h5.5a.75.75 0 0 0 0-1.5zm0 3.25a.75.75 0 0 0 0 1.5h5.5a.75.75 0 0 0 0-1.5zm-.75 4a.75.75 0 0 1 .75-.75h5.5a.75.75 0 0 1 0 1.5h-5.5a.75.75 0 0 1-.75-.75",clipRule:"evenodd"})}),Up:e=>n.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"40",height:"40",viewBox:"0 0 24 24",...e,children:n.jsx("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"1.5",d:"m8 14l4-4l4 4",...e})}),Down:e=>n.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"40",height:"40",viewBox:"0 0 24 24",...e,children:n.jsx("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"1.5",d:"m8 10l4 4l4-4"})}),NewRow:e=>n.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"128",height:"128",viewBox:"0 0 24 24",...e,children:n.jsx("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M3 14v1a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-2a2 2 0 0 0-2-2h-6m-3-3H7m0 0H4m3 0V5m0 3v3"})}),Settings:e=>n.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",...e,children:n.jsx("path",{fill:"currentColor","fill-rule":"evenodd",d:"M12.563 3.2h-1.126l-.645 2.578l-.647.2a6.3 6.3 0 0 0-1.091.452l-.599.317l-2.28-1.368l-.796.797l1.368 2.28l-.317.598a6.3 6.3 0 0 0-.453 1.091l-.199.647l-2.578.645v1.126l2.578.645l.2.647q.173.568.452 1.091l.317.599l-1.368 2.28l.797.796l2.28-1.368l.598.317q.523.278 1.091.453l.647.199l.645 2.578h1.126l.645-2.578l.647-.2a6.3 6.3 0 0 0 1.091-.452l.599-.317l2.28 1.368l.796-.797l-1.368-2.28l.317-.598q.278-.523.453-1.091l.199-.647l2.578-.645v-1.126l-2.578-.645l-.2-.647a6.3 6.3 0 0 0-.452-1.091l-.317-.599l1.368-2.28l-.797-.796l-2.28 1.368l-.598-.317a6.3 6.3 0 0 0-1.091-.453l-.647-.199zm2.945 2.17l1.833-1.1a1 1 0 0 1 1.221.15l1.018 1.018a1 1 0 0 1 .15 1.221l-1.1 1.833q.33.62.54 1.3l2.073.519a1 1 0 0 1 .757.97v1.438a1 1 0 0 1-.757.97l-2.073.519q-.21.68-.54 1.3l1.1 1.833a1 1 0 0 1-.15 1.221l-1.018 1.018a1 1 0 0 1-1.221.15l-1.833-1.1q-.62.33-1.3.54l-.519 2.073a1 1 0 0 1-.97.757h-1.438a1 1 0 0 1-.97-.757l-.519-2.073a7.5 7.5 0 0 1-1.3-.54l-1.833 1.1a1 1 0 0 1-1.221-.15L4.42 18.562a1 1 0 0 1-.15-1.221l1.1-1.833a7.5 7.5 0 0 1-.54-1.3l-2.073-.519A1 1 0 0 1 2 12.72v-1.438a1 1 0 0 1 .757-.97l2.073-.519q.21-.68.54-1.3L4.27 6.66a1 1 0 0 1 .15-1.221L5.438 4.42a1 1 0 0 1 1.221-.15l1.833 1.1q.62-.33 1.3-.54l.519-2.073A1 1 0 0 1 11.28 2h1.438a1 1 0 0 1 .97.757l.519 2.073q.68.21 1.3.54zM12 14.8a2.8 2.8 0 1 0 0-5.6a2.8 2.8 0 0 0 0 5.6m0 1.2a4 4 0 1 1 0-8a4 4 0 0 1 0 8"})}),SettingsTutorial:e=>n.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",...e,children:n.jsx("path",{fill:"currentColor","fill-rule":"evenodd",d:"M13.435 2.075a3.33 3.33 0 0 0-2.87 0c-.394.189-.755.497-1.26.928l-.079.066a2.56 2.56 0 0 1-1.58.655l-.102.008c-.662.053-1.135.09-1.547.236a3.33 3.33 0 0 0-2.03 2.029c-.145.412-.182.885-.235 1.547l-.008.102a2.56 2.56 0 0 1-.655 1.58l-.066.078c-.431.506-.74.867-.928 1.261a3.33 3.33 0 0 0 0 2.87c.189.394.497.755.928 1.26l.066.079c.41.48.604.939.655 1.58l.008.102c.053.662.09 1.135.236 1.547a3.33 3.33 0 0 0 2.029 2.03c.412.145.885.182 1.547.235l.102.008c.629.05 1.09.238 1.58.655l.078.066c.506.431.867.74 1.261.928a3.33 3.33 0 0 0 2.87 0c.394-.189.755-.497 1.26-.928l.079-.066c.48-.41.939-.604 1.58-.655l.102-.008c.662-.053 1.135-.09 1.547-.236a3.33 3.33 0 0 0 2.03-2.029c.145-.412.182-.885.235-1.547l.008-.102c.05-.629.238-1.09.655-1.58l.066-.079c.431-.505.74-.866.928-1.26a3.33 3.33 0 0 0 0-2.87c-.189-.394-.497-.755-.928-1.26l-.066-.079a2.56 2.56 0 0 1-.655-1.58l-.008-.102c-.053-.662-.09-1.135-.236-1.547a3.33 3.33 0 0 0-2.029-2.03c-.412-.145-.885-.182-1.547-.235l-.102-.008a2.56 2.56 0 0 1-1.58-.655l-.079-.066c-.505-.431-.866-.74-1.26-.928M12 7.25a.75.75 0 0 1 .75.75v.5a.75.75 0 0 1-1.5 0V8a.75.75 0 0 1 .75-.75M10.75 16a.75.75 0 0 1 .5-.707v-3.586a.75.75 0 0 1 .25-1.457h.5a.75.75 0 0 1 .75.75v4.293a.75.75 0 0 1-.25 1.457h-1a.75.75 0 0 1-.75-.75"})}),CrmUserSettingsListSettings:e=>n.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",...e,children:n.jsx("path",{fill:"currentColor",d:"M19.14 12.94c.04-.3.06-.61.06-.94c0-.32-.02-.64-.07-.94l2.03-1.58a.49.49 0 0 0 .12-.61l-1.92-3.32a.49.49 0 0 0-.59-.22l-2.39.96c-.5-.38-1.03-.7-1.62-.94l-.36-2.54a.484.484 0 0 0-.48-.41h-3.84c-.24 0-.43.17-.47.41l-.36 2.54c-.59.24-1.13.57-1.62.94l-2.39-.96c-.22-.08-.47 0-.59.22L2.74 8.87c-.12.21-.08.47.12.61l2.03 1.58c-.05.3-.09.63-.09.94s.02.64.07.94l-2.03 1.58a.49.49 0 0 0-.12.61l1.92 3.32c.12.22.37.29.59.22l2.39-.96c.5.38 1.03.7 1.62.94l.36 2.54c.05.24.24.41.48.41h3.84c.24 0 .44-.17.47-.41l.36-2.54c.59-.24 1.13-.56 1.62-.94l2.39.96c.22.08.47 0 .59-.22l1.92-3.32c.12-.22.07-.47-.12-.61zM12 15.6c-1.98 0-3.6-1.62-3.6-3.6s1.62-3.6 3.6-3.6s3.6 1.62 3.6 3.6s-1.62 3.6-3.6 3.6"})}),CrmUserSettingsEdit:e=>n.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",...e,children:n.jsx("path",{fill:"currentColor",d:"M15.891 3.048a3.578 3.578 0 1 1 5.061 5.06l-.892.893L15 3.94zM13.94 5.001L3.94 15a3.1 3.1 0 0 0-.825 1.476L2.02 21.078a.75.75 0 0 0 .904.903l4.601-1.096a3.1 3.1 0 0 0 1.477-.825l1.151-1.151a6.5 6.5 0 0 1 7.754-7.755L19 10.06zm-.662 8.975a2 2 0 0 1-1.441 2.497l-.584.144a5.7 5.7 0 0 0 .006 1.807l.54.13a2 2 0 0 1 1.45 2.51l-.187.632c.44.386.94.699 1.485.922l.493-.52a2 2 0 0 1 2.899.001l.499.525a5.3 5.3 0 0 0 1.482-.913l-.198-.686a2 2 0 0 1 1.442-2.496l.583-.144a5.7 5.7 0 0 0-.006-1.808l-.54-.13a2 2 0 0 1-1.449-2.51l.186-.63a5.3 5.3 0 0 0-1.484-.923l-.493.519a2 2 0 0 1-2.9 0l-.498-.525c-.544.22-1.044.53-1.483.912zm3.222 5.025c-.8 0-1.45-.672-1.45-1.5c0-.829.65-1.5 1.45-1.5s1.45.671 1.45 1.5c0 .828-.65 1.5-1.45 1.5"})}),CrmSaveUserConfig:e=>n.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",...e,children:n.jsx("path",{fill:"currentColor",d:"M13.23 22v-2.21l5.334-5.307q.148-.13.307-.19q.16-.062.32-.062q.165 0 .334.064q.17.065.298.194l.925.944q.123.148.187.308q.065.159.065.319t-.052.322t-.2.31L15.44 22zM6.77 9.77h7.422v-3H6.77zm12.42 7.246l.925-.956l-.924-.944l-.95.95zM10.463 20H5.616q-.672 0-1.144-.472T4 18.385V5.615q0-.67.472-1.143Q4.944 4 5.616 4h10.961L20 7.423v4.146q-.244-.085-.468-.099t-.474.003q-.635.017-1.264.265t-1.106.718l-2.822 2.804q.096-.166.134-.322t.039-.361q0-.846-.577-1.423t-1.423-.577t-1.423.577t-.577 1.423t.577 1.423t1.423.577q.178 0 .348-.039t.329-.134l-2.254 2.234z"})}),CrmOutletLead:e=>n.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",...e,children:n.jsx("path",{fill:"currentColor",d:"M20.16 7.8c-.09-.46-.5-.8-.98-.8H4.82c-.48 0-.89.34-.98.8L3 12v1c0 .55.45 1 1 1v5c0 .55.45 1 1 1h8c.55 0 1-.45 1-1v-5h4v5c0 .55.45 1 1 1s1-.45 1-1v-5c.55 0 1-.45 1-1v-1zM12 18H6v-4h6zM5 6h14c.55 0 1-.45 1-1s-.45-1-1-1H5c-.55 0-1 .45-1 1s.45 1 1 1"})}),CrmCustomerLead:e=>n.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",...e,children:n.jsxs("g",{fill:"none",children:[n.jsx("path",{d:"m12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035q-.016-.005-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427q-.004-.016-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093q.019.005.029-.008l.004-.014l-.034-.614q-.005-.018-.02-.022m-.715.002a.02.02 0 0 0-.027.006l-.006.014l-.034.614q.001.018.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z"}),n.jsx("path",{fill:"currentColor",d:"M16 14a5 5 0 0 1 4.995 4.783L21 19v1a2 2 0 0 1-1.85 1.995L19 22H5a2 2 0 0 1-1.995-1.85L3 20v-1a5 5 0 0 1 4.783-4.995L8 14zM12 2a5 5 0 1 1 0 10a5 5 0 0 1 0-10"})]})}),CrmLeadFormSettingsButton:e=>n.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",...e,children:n.jsx("path",{fill:"currentColor",d:"M23.33 12.65v1a1 1 0 0 1-.8 1l-1.24.25a9.3 9.3 0 0 1-1.18 2.81l.71 1.06A1 1 0 0 1 20.7 20l-1.37 1.37a1 1 0 0 1-1.26.12L17 20.77A9.3 9.3 0 0 1 14.2 22l-.2 1.19a1 1 0 0 1-1 .8h-2a1 1 0 0 1-1-.8L9.8 22A9.3 9.3 0 0 1 7 20.77l-1.06.71a1 1 0 0 1-1.26-.12L3.3 20a1 1 0 0 1-.12-1.26l.71-1.06a9.3 9.3 0 0 1-1.18-2.81l-1.24-.25a1 1 0 0 1-.8-1v-1h6.56a4.77 4.77 0 0 0 9.54 0Zm-6.16-8.84a2.32 2.32 0 1 0 4.64 0a2.32 2.32 0 1 0-4.64 0m-14.97 0a2.32 2.32 0 1 0 4.64 0a2.32 2.32 0 1 0-4.64 0M6.8 8.8a5 5 0 0 0-1.15-.54A4.92 4.92 0 0 0 0 10.64h5.73A11 11 0 0 1 6.8 8.8m11.38 1.87H24a4.92 4.92 0 0 0-5.66-2.4a5 5 0 0 0-1.17.55a11.5 11.5 0 0 1 1.01 1.85m-1.11 0A5.74 5.74 0 0 0 12 7a5.76 5.76 0 0 0-5.12 3.68ZM8.99 2.91a2.91 2.91 0 1 0 5.82 0a2.91 2.91 0 1 0-5.82 0"})}),CrmLeadOutletSettings:e=>n.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",...e,children:n.jsx("path",{fill:"currentColor",d:"M20.16 7.8c-.09-.46-.5-.8-.98-.8H4.82c-.48 0-.89.34-.98.8L3 12v1c0 .55.45 1 1 1v5c0 .55.45 1 1 1h8c.55 0 1-.45 1-1v-5h4v5c0 .55.45 1 1 1s1-.45 1-1v-5c.55 0 1-.45 1-1v-1zM12 18H6v-4h6zM5 6h14c.55 0 1-.45 1-1s-.45-1-1-1H5c-.55 0-1 .45-1 1s.45 1 1 1"})}),CrmOpportunitySettings:e=>n.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",...e,children:n.jsx("path",{fill:"currentColor",d:"M1.998 21v-2h2V4.835a1 1 0 0 1 .821-.984l9.472-1.722a.6.6 0 0 1 .707.59v1.28l4 .001a1 1 0 0 1 1 1v14h2v2h-4V6h-3v15zm10-10h-2v2h2z"})}),CrmUserSettings:e=>n.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:640,height:512,viewBox:"0 0 640 512",...e,children:n.jsx("path",{fill:"currentColor",d:"M224 0a128 128 0 1 1 0 256a128 128 0 1 1 0-256m-45.7 304h91.4c11.8 0 23.4 1.2 34.5 3.3c-2.1 18.5 7.4 35.6 21.8 44.8c-16.6 10.6-26.7 31.6-20 53.3c4 12.9 9.4 25.5 16.4 37.6s15.2 23.1 24.4 33c15.7 16.9 39.6 18.4 57.2 8.7v.9c0 9.2 2.7 18.5 7.9 26.3l-382.2.1C13.3 512 0 498.7 0 482.3C0 383.8 79.8 304 178.3 304M436 218.2c0-7 4.5-13.3 11.3-14.8c10.5-2.4 21.5-3.7 32.7-3.7s22.2 1.3 32.7 3.7c6.8 1.5 11.3 7.8 11.3 14.8v30.6c7.9 3.4 15.4 7.7 22.3 12.8l24.9-14.3c6.1-3.5 13.7-2.7 18.5 2.4c7.6 8.1 14.3 17.2 20.1 27.2s10.3 20.4 13.5 31c2.1 6.7-1.1 13.7-7.2 17.2l-25 14.4c.4 4 .7 8.1.7 12.3s-.2 8.2-.7 12.3l25 14.4c6.1 3.5 9.2 10.5 7.2 17.2c-3.3 10.6-7.8 21-13.5 31s-12.5 19.1-20.1 27.2c-4.8 5.1-12.5 5.9-18.5 2.4L546.3 442c-6.9 5.1-14.3 9.4-22.3 12.8v30.6c0 7-4.5 13.3-11.3 14.8c-10.5 2.4-21.5 3.7-32.7 3.7s-22.2-1.3-32.7-3.7c-6.8-1.5-11.3-7.8-11.3-14.8v-30.5c-8-3.4-15.6-7.7-22.5-12.9l-24.7 14.3c-6.1 3.5-13.7 2.7-18.5-2.4c-7.6-8.1-14.3-17.2-20.1-27.2s-10.3-20.4-13.5-31c-2.1-6.7 1.1-13.7 7.2-17.2l24.8-14.3c-.4-4.1-.7-8.2-.7-12.4s.2-8.3.7-12.4L343.8 325c-6.1-3.5-9.2-10.5-7.2-17.2c3.3-10.6 7.7-21 13.5-31s12.5-19.1 20.1-27.2c4.8-5.1 12.4-5.9 18.5-2.4l24.8 14.3c6.9-5.1 14.5-9.4 22.5-12.9v-30.5zm92.1 133.5a48.1 48.1 0 1 0-96.1 0a48.1 48.1 0 1 0 96.1 0"})}),EmailIconWithCount:({count:e=0,props:t})=>n.jsxs("div",{className:"position-relative email-icon-wrapper",children:[n.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",...t,children:n.jsx("path",{fill:"currentColor",d:"m20 8l-8 5l-8-5V6l8 5l8-5m0-2H4c-1.11 0-2 .89-2 2v12a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2"})}),e>0&&n.jsx("span",{className:"counter-badge",children:e>9?"9+":e}),n.jsx("style",{jsx:!0,children:"\n .counter-badge {\n position: absolute;\n top: 10px;\n right: -1px;\n min-width: 10px;\n height: 10px;\n background-color: red;\n color: white;\n font-size: 7px;\n border-radius: 50%;\n display: flex;\n justify-content: center;\n align-items: center;\n padding: 2px;\n font-weight: bold;\n }\n "})]}),ViewOriginal:e=>n.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 56 56",...e,children:n.jsx("path",{fill:"currentColor",d:"M28.01 46.403C44.556 46.403 56 33.017 56 28.844c0-4.193-11.465-17.558-27.99-17.558C11.588 11.286 0 24.651 0 28.844c0 4.173 11.671 17.559 28.01 17.559m0-6.053c-6.445 0-11.526-5.226-11.567-11.506C16.422 22.4 21.565 17.34 28.01 17.34c6.404 0 11.547 5.06 11.547 11.505c0 6.28-5.143 11.506-11.547 11.506m0-7.354c2.293 0 4.194-1.88 4.194-4.152c0-2.293-1.9-4.172-4.194-4.172c-2.313 0-4.214 1.88-4.214 4.172c0 2.273 1.9 4.152 4.214 4.152"})}),SyncDocument:e=>n.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",...e,children:n.jsx("path",{fill:"currentColor",d:"M11 17.5c0-3.6 2.9-6.5 6.5-6.5c.9 0 1.7.2 2.5.5V8l-6-6H6c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h6.8c-1.1-1.2-1.8-2.8-1.8-4.5m2-14L18.5 9H13zm4 8.5v1.5c2.2 0 4 1.8 4 4c0 .8-.2 1.6-.7 2.2l-1.1-1.1c.2-.3.3-.7.3-1.1c0-1.4-1.1-2.5-2.5-2.5v1.5l-2.2-2.2zm0 11v-1.5c-2.2 0-4-1.8-4-4c0-.8.2-1.6.7-2.2l1.1 1.1c-.2.3-.3.7-.3 1.1c0 1.4 1.1 2.5 2.5 2.5v-1.5l2.2 2.2z"})}),ResendDocument:e=>n.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:10,height:9,fill:"none",viewBox:"0 0 10 9",...e,children:n.jsx("path",{fill:"currentColor",d:"M.855.471C.38.471 0 .838 0 1.296v4.947c0 .219.09.429.25.583a.87.87 0 0 0 .605.242H5.34a2.599 2.599 0 0 1-.214-1.03c0-.712.293-1.393.814-1.896a2.83 2.83 0 0 1 2.604-.71V1.296a.81.81 0 0 0-.25-.583A.87.87 0 0 0 7.69.47H.855Zm0 .825 3.418 2.061L7.69 1.296v.825L4.273 4.18.855 2.122v-.825ZM7.69 3.77l-.962.927.962.928v-.619c.283 0 .555.109.755.302a1.013 1.013 0 0 1 .202 1.19l.465.45c.18-.26.287-.573.287-.91 0-.912-.765-1.65-1.71-1.65V3.77ZM6.268 5.126c-.18.26-.286.573-.286.911 0 .911.764 1.65 1.709 1.65v.618l.961-.928-.961-.928v.619c-.284 0-.555-.109-.756-.302a1.013 1.013 0 0 1-.201-1.19l-.466-.45Z"})}),SignedDocument:e=>n.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:7,height:8,viewBox:"0 0 7 10",...e,children:n.jsx("path",{fill:"currentColor",d:"M4.083 2.656V0H.437C.196 0 0 .209 0 .469V9.53c0 .26.195.469.438.469h6.125C6.804 10 7 9.791 7 9.531V3.125H4.52c-.24 0-.437-.21-.437-.469Zm-2.916-1.25c0-.086.065-.156.145-.156h1.459c.08 0 .146.07.146.156v.313c0 .086-.066.156-.146.156H1.313c-.081 0-.146-.07-.146-.156v-.313Zm0 1.25c0-.086.065-.156.145-.156h1.459c.08 0 .146.07.146.156v.313c0 .086-.066.156-.146.156H1.313c-.081 0-.146-.07-.146-.156v-.313ZM4.68 7.5h.86c.162 0 .292.14.292.313 0 .172-.13.312-.291.312h-.86a.78.78 0 0 1-.705-.466c-.054-.116-.147-.127-.185-.127a.197.197 0 0 0-.183.12l-.14.3a.305.305 0 0 1-.107.126.277.277 0 0 1-.174.046.295.295 0 0 1-.256-.213l-.307-.985-.193.622a.794.794 0 0 1-.748.577h-.226c-.16 0-.291-.14-.291-.313 0-.172.13-.312.291-.312h.226c.088 0 .166-.06.194-.15l.332-1.067a.442.442 0 0 1 .415-.32c.188 0 .355.128.415.32l.253.813c.36-.316.985-.189 1.203.277.037.08.109.127.185.127Zm2.191-5.45L5.088.138A.423.423 0 0 0 4.778 0h-.111v2.5H7v-.12a.485.485 0 0 0-.128-.33Z"})}),DocumentVoid:e=>n.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:15,height:20,viewBox:"0 0 9 11",...e,children:n.jsx("path",{d:"M2.548 4.692a.43.43 0 0 0 .43-.44.432.432 0 0 0-.123-.314.412.412 0 0 0-.307-.126.412.412 0 0 0-.306.126.432.432 0 0 0-.124.314.43.43 0 0 0 .43.44Zm1.785.88H2.548a.412.412 0 0 0-.306.126.432.432 0 0 0-.124.314.43.43 0 0 0 .43.44h2.646l-.86-.88Zm4.56 2.157L5.924 4.692h.924a.43.43 0 0 0 .43-.44.431.431 0 0 0-.123-.314.411.411 0 0 0-.307-.126H5.065l-2.581-2.64H8.14a.82.82 0 0 1 .608.258c.168.172.252.38.252.621V7.29c0 .08-.007.157-.022.23a.587.587 0 0 1-.086.21Zm-.818 1.65L6.914 8.213H1.258a.819.819 0 0 1-.607-.259.858.858 0 0 1-.253-.621V2.05c0-.242.084-.449.253-.621a.818.818 0 0 1 .607-.259l3.44 3.52H3.496L.118 1.238A.423.423 0 0 1 0 .93C0 .804.04.702.118.621A.403.403 0 0 1 .42.5C.541.5.642.54.72.621l7.957 8.142c.08.08.12.181.124.303a.415.415 0 0 1-.124.313.403.403 0 0 1-.3.121.403.403 0 0 1-.302-.121Z"})}),SendDocument:e=>n.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:23,height:23,viewBox:"0 0 23 23",...e,children:n.jsx("path",{fill:"currentColor",d:"M4.4 19.425q-.5.2-.95-.088T3 18.5V14l8-2l-8-2V5.5q0-.55.45-.837t.95-.088l15.4 6.5q.625.275.625.925t-.625.925z"})}),DeleteCrm:e=>n.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",...e,children:n.jsx("path",{fill:"currentColor",d:"M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6zM19 4h-3.5l-1-1h-5l-1 1H5v2h14z"})}),CrmLink:e=>n.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",...e,children:n.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M12.415 4.84a4.775 4.775 0 0 1 6.752 6.752l-.013.013l-2.264 2.265a4.776 4.776 0 0 1-7.201-.516a1 1 0 0 1 1.601-1.198a2.774 2.774 0 0 0 4.185.3l2.259-2.259a2.776 2.776 0 0 0-3.925-3.923L12.516 7.56a1 1 0 0 1-1.41-1.418l1.298-1.291zM8.818 9.032a4.775 4.775 0 0 1 5.492 1.614a1 1 0 0 1-1.601 1.198a2.775 2.775 0 0 0-4.185-.3l-2.258 2.259a2.775 2.775 0 0 0 3.923 3.924l1.285-1.285a1 1 0 1 1 1.414 1.414l-1.291 1.291l-.012.013a4.775 4.775 0 0 1-6.752-6.752l.012-.013L7.11 10.13a4.8 4.8 0 0 1 1.708-1.098",clipRule:"evenodd"})}),CrmWarning:e=>n.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",...e,children:[n.jsx("path",{fill:"currentColor",d:"M11.001 10h2v5h-2zM11 16h2v2h-2z"}),n.jsx("path",{fill:"currentColor",d:"M13.768 4.2C13.42 3.545 12.742 3.138 12 3.138s-1.42.407-1.768 1.063L2.894 18.064a1.99 1.99 0 0 0 .054 1.968A1.98 1.98 0 0 0 4.661 21h14.678c.708 0 1.349-.362 1.714-.968a1.99 1.99 0 0 0 .054-1.968zM4.661 19L12 5.137L19.344 19z"})]}),CrmError:e=>n.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",...e,children:n.jsx("path",{fill:"currentColor",d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10s10-4.48 10-10S17.52 2 12 2m1 15h-2v-2h2zm0-4h-2V7h2z"})})};function q(e){var n,t,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(n=0;n<o;n++)e[n]&&(t=q(e[n]))&&(r&&(r+=" "),r+=t)}else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}function H(){for(var e,n,t=0,r="",o=arguments.length;t<o;t++)(e=arguments[t])&&(n=q(e))&&(r&&(r+=" "),r+=n);return r}const D=({fluid:e=!1,className:t="",children:r,...o})=>{const l=H(e?"container-fluid":"container",t);return n.jsx("div",{className:l,...o,children:r})};D.propTypes={fluid:E.bool,className:E.string,children:E.node};const I=({justify:e="",align:t="",className:r="",children:o,...l})=>{const s=H("row",e&&`justify-content-${e}`,t&&`align-items-${t}`,r);return n.jsx("div",{className:s,...l,children:o})};I.propTypes={justify:E.oneOf(["start","center","end","around","between","evenly"]),align:E.oneOf(["start","center","end","stretch","baseline"]),className:E.string,children:E.node};const _=({xs:e,sm:t,md:r,lg:o,xl:l,offset:s,order:a,className:i="",children:c,...d})=>{const p=H(void 0!==e&&`col-${e}`,void 0!==t&&`col-sm-${t}`,void 0!==r&&`col-md-${r}`,void 0!==o&&`col-lg-${o}`,void 0!==l&&`col-xl-${l}`,void 0!==s&&`offset-${s}`,void 0!==a&&`order-${a}`,i);return n.jsx("div",{className:p,...d,children:c})};_.propTypes={xs:E.oneOfType([E.string,E.number]),sm:E.oneOfType([E.string,E.number]),md:E.oneOfType([E.string,E.number]),lg:E.oneOfType([E.string,E.number]),xl:E.oneOfType([E.string,E.number]),offset:E.oneOfType([E.string,E.number]),order:E.oneOfType([E.string,E.number]),className:E.string,children:E.node};const B=()=>n.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",children:n.jsx("path",{fill:"none",stroke:"currentColor",strokeDasharray:12,strokeDashoffset:12,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 12l7 7M12 12l-7 -7M12 12l-7 7M12 12l7 -7",children:n.jsx("animate",{fill:"freeze",attributeName:"stroke-dashoffset",dur:"0.3s",values:"12;0"})})}),F=({label:t="Enter Label",required:r=!1,type:o="",placeholder:l="",errorMessage:s="",value:a,onChange:i,disabled:c=!1,className:d="",maxLength:p,minLength:u,inputSymbol:h,...m})=>{const f=e.useId(),g=m.id||`input-${f}`;return n.jsxs("div",{className:"form-group-lg",children:[n.jsx("label",{htmlFor:g,className:"form-label "+(r?"required":""),children:t}),n.jsxs("div",{className:"input-group",style:{fontFamily:"inherit"},children:[h&&n.jsx("span",{className:"input-group-text border",children:h}),n.jsx("input",{id:g,type:o,placeholder:"date"===o?void 0:l,value:a,required:r,onChange:i,disabled:c,maxLength:p,minLength:u,className:`form-control form-control-solid border${s?" is-invalid border-danger":""}${d?` ${d}`:""}`,...m})]}),s&&n.jsx("span",{className:"input-error text-danger",style:{fontSize:13,marginTop:4,display:"block"},children:s})]})};F.propTypes={label:E.string,required:E.bool,type:E.string,placeholder:E.string,errorMessage:E.string,value:E.oneOfType([E.string,E.number]),onChange:E.func,disabled:E.bool,className:E.string,maxLength:E.oneOfType([E.string,E.number]),minLength:E.oneOfType([E.string,E.number]),inputSymbol:E.node,id:E.string};const Z=e=>{if(""===e||null===e)return"";const n=Number(e.toString().replace(/[^\d.-]/g,""));return isNaN(n)?"":n.toLocaleString("en-US",{style:"currency",currency:"USD",minimumFractionDigits:0,maximumFractionDigits:0})},K={small:"spinner-border-sm",medium:"",large:"spinner-border-lg"},W={primary:"text-primary",secondary:"text-secondary",success:"text-success",danger:"text-danger",warning:"text-warning",info:"text-info",light:"text-light",dark:"text-dark"},Y={primary:"#007bff",secondary:"#6c757d",success:"#28a745",danger:"#dc3545",warning:"#ffc107",info:"#17a2b8",light:"#f8f9fa",dark:"#343a40"},U="table",J="dots",X="bar",G="circular",Q="pulse",ee="text",ne="wave",te=({size:e="medium",color:t="primary",ariaLabel:r="Loading...",loadingType:o="spinner",className:l="",placeholderRows:s=4})=>{const a="large"===e?"":K[e]||"",i=W[t]||W.primary,c="large"===e?{width:"3rem",height:"3rem",borderWidth:"0.3em"}:{};if(o===U){const e=Y[t]||Y.primary;return n.jsx("div",{className:"w-100",children:n.jsx("div",{className:"placeholder-glow",children:Array.from({length:s}).map((t,r)=>n.jsx("span",{className:`placeholder col-12 rounded bg-secondary${0===r?" mb-2":""}${r===s-1?" mt-2":" mb-2"}`,style:{height:44,display:"block",background:e}},r))})})}if(o===J){const e=Y[t]||Y.primary;return n.jsxs("div",{style:{display:"inline-flex",alignItems:"center"},"aria-label":r,children:[n.jsxs("span",{className:"dots-loader",children:[n.jsx("span",{style:{background:e}}),n.jsx("span",{style:{background:e}}),n.jsx("span",{style:{background:e}})]}),n.jsx("style",{children:"\n .dots-loader {\n display: inline-block;\n }\n .dots-loader span {\n display: inline-block;\n width: 8px;\n height: 8px;\n margin: 0 2px;\n border-radius: 50%;\n animation: dots-bounce 1s infinite;\n }\n .dots-loader span:nth-child(2) { animation-delay: 0.2s; }\n .dots-loader span:nth-child(3) { animation-delay: 0.4s; }\n @keyframes dots-bounce {\n 0%, 80%, 100% { transform: scale(1); }\n 40% { transform: scale(1.5); }\n }\n "})]})}if(o===X){const e=Y[t]||Y.primary;return n.jsxs("div",{style:{width:"100%",padding:"8px 0"},"aria-label":r,children:[n.jsx("div",{className:"bar-loader",children:n.jsx("div",{style:{background:e}})}),n.jsx("style",{children:"\n .bar-loader {\n width: 100%;\n height: 8px;\n background: #e0e0e0;\n border-radius: 4px;\n overflow: hidden;\n position: relative;\n }\n .bar-loader div {\n position: absolute;\n left: 0;\n top: 0;\n height: 100%;\n width: 30%;\n animation: bar-move 1.2s linear infinite;\n }\n @keyframes bar-move {\n 0% { left: -30%; }\n 100% { left: 100%; }\n }\n "})]})}if(o===Q){const e=Y[t]||Y.primary;return n.jsxs("div",{style:{display:"inline-flex",alignItems:"center"},"aria-label":r,children:[n.jsx("span",{className:"pulse-loader",style:{background:e}}),n.jsx("style",{children:"\n .pulse-loader {\n display: inline-block;\n width: 16px;\n height: 16px;\n border-radius: 50%;\n animation: pulse-grow 1s infinite;\n }\n @keyframes pulse-grow {\n 0%, 100% { transform: scale(1); opacity: 1; }\n 50% { transform: scale(1.5); opacity: 0.5; }\n }\n "})]})}if(o===ee){const e=Y[t]||Y.primary;return n.jsxs("div",{style:{display:"inline-flex",alignItems:"center"},"aria-label":r,children:[n.jsx("span",{style:{color:e},children:"Loading"}),n.jsx("span",{className:"ellipsis-loader",style:{color:e}}),n.jsx("style",{children:"\n .ellipsis-loader::after {\n content: '...';\n animation: ellipsis 1.2s infinite steps(4);\n }\n @keyframes ellipsis {\n 0% { content: ''; }\n 25% { content: '.'; }\n 50% { content: '..'; }\n 75% { content: '...'; }\n 100% { content: ''; }\n }\n "})]})}if(o===ne){const e=Y[t]||Y.primary;return n.jsxs("div",{style:{display:"inline-flex",alignItems:"center",gap:2},"aria-label":r,children:[n.jsxs("span",{className:"wave-loader",children:[n.jsx("span",{style:{background:e}}),n.jsx("span",{style:{background:e}}),n.jsx("span",{style:{background:e}}),n.jsx("span",{style:{background:e}}),n.jsx("span",{style:{background:e}})]}),n.jsx("style",{children:"\n .wave-loader {\n display: inline-block;\n height: 20px;\n }\n .wave-loader span {\n display: inline-block;\n width: 4px;\n height: 100%;\n margin: 0 2px;\n animation: wave-bounce 1.2s infinite;\n }\n .wave-loader span:nth-child(2) { animation-delay: 0.2s; }\n .wave-loader span:nth-child(3) { animation-delay: 0.4s; }\n .wave-loader span:nth-child(4) { animation-delay: 0.6s; }\n .wave-loader span:nth-child(5) { animation-delay: 0.8s; }\n @keyframes wave-bounce {\n 0%, 100% { transform: scaleY(1); }\n 50% { transform: scaleY(2); }\n }\n "})]})}if(o===G){const e=Y[t]||Y.primary;return n.jsxs("div",{style:{display:"inline-flex",alignItems:"center"},"aria-label":r,children:[n.jsxs("svg",{className:"circular-loader",width:"40",height:"40",viewBox:"0 0 40 40",children:[n.jsx("circle",{cx:"20",cy:"20",r:"18",stroke:e,strokeWidth:"4",fill:"none",opacity:"0.2"}),n.jsx("circle",{cx:"20",cy:"20",r:"18",stroke:e,strokeWidth:"4",fill:"none",strokeDasharray:"113",strokeDashoffset:"80",style:{animation:"circular-spin 1s linear infinite"}})]}),n.jsx("style",{children:"\n @keyframes circular-spin {\n 100% { stroke-dashoffset: 0; }\n }\n "})]})}return n.jsxs("div",{role:"status","aria-label":r,style:{display:"inline-flex",alignItems:"center"},children:[n.jsx("span",{className:`spinner-border ${a} ${i} ${l}`.trim(),style:c,"aria-hidden":"true"}),n.jsx("span",{className:"visually-hidden",children:r})]})},re=()=>n.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"15",height:"15",viewBox:"0 0 20 20",children:n.jsx("path",{fill:"currentColor",d:"M7 20h2V8h3L8 4L4 8h3zm13-4h-3V4h-2v12h-3l4 4z"})}),oe=()=>n.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"12",viewBox:"0 0 14 12",children:n.jsx("path",{fill:"currentColor",d:"M3 0L6 3H3.75V12H2.25V3H0L3 0ZM6.75 9H13.5V7.5H6.75V9ZM6.75 6H12V4.5H6.75V6ZM6.75 12H15V10.5H6.75V12ZM6.75 3H10.5V1.5H6.75V3Z"})}),le=()=>n.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"15",height:"15",viewBox:"0 0 20 20",children:n.jsx("path",{fill:"currentColor",d:"m6 20l4-4H7V4H5v12H2zm5-12h9v2h-9zm0 4h7v2h-7zm0-8h11v2H11zm0 12h5v2h-5z"})}),se=()=>n.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"15",height:"15",viewBox:"0 0 20 20",children:n.jsx("path",{fill:"currentColor",d:"M14 20.5h-4a.76.76 0 0 1-.75-.75V12L3.9 4.69a.73.73 0 0 1-.07-.78a.76.76 0 0 1 .67-.41h15a.76.76 0 0 1 .67.41a.73.73 0 0 1-.07.78L14.75 12v7.75a.76.76 0 0 1-.75.75M10.75 19h2.5v-7.25a.7.7 0 0 1 .15-.44L18 5H6l4.62 6.31a.7.7 0 0 1 .15.44Z"})}),ae=()=>n.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",version:"1.1",children:n.jsxs("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd",children:[n.jsx("polygon",{points:"0 0 24 0 24 24 0 24"}),n.jsx("path",{d:"M6.70710678,15.7071068 C6.31658249,16.0976311 5.68341751,16.0976311 5.29289322,15.7071068 C4.90236893,15.3165825 4.90236893,14.6834175 5.29289322,14.2928932 L11.2928932,8.29289322 C11.6714722,7.91431428 12.2810586,7.90106866 12.6757246,8.26284586 L18.6757246,13.7628459 C19.0828436,14.1360383 19.1103465,14.7686056 18.7371541,15.1757246 C18.3639617,15.5828436 17.7313944,15.6103465 17.3242754,15.2371541 L12.0300757,10.3841378 L6.70710678,15.7071068 Z",fill:"currentColor","fill-rule":"nonzero",transform:"translate(12.000003, 11.999999) rotate(-270.000000) translate(-12.000003, -11.999999) "})]})}),ie=()=>n.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",version:"1.1",children:n.jsxs("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd",children:[n.jsx("polygon",{points:"0 0 24 0 24 24 0 24"}),n.jsx("path",{d:"M6.70710678,15.7071068 C6.31658249,16.0976311 5.68341751,16.0976311 5.29289322,15.7071068 C4.90236893,15.3165825 4.90236893,14.6834175 5.29289322,14.2928932 L11.2928932,8.29289322 C11.6714722,7.91431428 12.2810586,7.90106866 12.6757246,8.26284586 L18.6757246,13.7628459 C19.0828436,14.1360383 19.1103465,14.7686056 18.7371541,15.1757246 C18.3639617,15.5828436 17.7313944,15.6103465 17.3242754,15.2371541 L12.0300757,10.3841378 L6.70710678,15.7071068 Z",fill:"currentColor","fill-rule":"nonzero",transform:"translate(12.000003, 11.999999) scale(-1, 1) rotate(-270.000000) translate(-12.000003, -11.999999) "})]})});function ce(e){if(!e)return e;return e.replace(/(?<year>[0-9]{4})-(?<month>[0-9]{2})-(?<day>[0-9]{2})(?:T[0-9:.]+(?:[+-][0-9:]+)?)?/,"$<day>-$<month>-$<year>")}const de=({datePickerDates:t,setDatePickerDates:r})=>{const o=e.useRef();return e.useEffect(()=>{$(o.current).daterangepicker({dateFormat:"dd-mm-yyyy",autoApply:!0,autoUpdateInput:!0},function(e,n){r({startDate:e.format("YYYY-MM-DD"),endDate:n.format("YYYY-MM-DD")})})},[t,r,o]),n.jsxs("div",{className:"form-control form-control-solid border d-flex align-items-center p-3 justify-content-between",ref:o,children:[n.jsx("div",{className:"fs-6",children:t?n.jsxs(n.Fragment,{children:[n.jsx("input",{hidden:!0,type:"date",defaultValue:t?.startDate,name:"startDate"}),n.jsx("input",{hidden:!0,type:"date",defaultValue:t?.endDate,name:"endDate"}),`${ce(t?.startDate)} - ${ce(t?.endDate)}`]}):"Pick a date range"}),n.jsx("span",{className:"svg-icon svg-icon-1 ms-2 me-0",children:n.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[n.jsx("path",{opacity:"0.3",d:"M21 22H3C2.4 22 2 21.6 2 21V5C2 4.4 2.4 4 3 4H21C21.6 4 22 4.4 22 5V21C22 21.6 21.6 22 21 22Z",fill:"currentColor"}),n.jsx("path",{d:"M6 6C5.4 6 5 5.6 5 5V3C5 2.4 5.4 2 6 2C6.6 2 7 2.4 7 3V5C7 5.6 6.6 6 6 6ZM11 5V3C11 2.4 10.6 2 10 2C9.4 2 9 2.4 9 3V5C9 5.6 9.4 6 10 6C10.6 6 11 5.6 11 5ZM15 5V3C15 2.4 14.6 2 14 2C13.4 2 13 2.4 13 3V5C13 5.6 13.4 6 14 6C14.6 6 15 5.6 15 5ZM19 5V3C19 2.4 18.6 2 18 2C17.4 2 17 2.4 17 3V5C17 5.6 17.4 6 18 6C18.6 6 19 5.6 19 5Z",fill:"currentColor"}),n.jsx("path",{d:"M8.8 13.1C9.2 13.1 9.5 13 9.7 12.8C9.9 12.6 10.1 12.3 10.1 11.9C10.1 11.6 10 11.3 9.8 11.1C9.6 10.9 9.3 10.8 9 10.8C8.8 10.8 8.59999 10.8 8.39999 10.9C8.19999 11 8.1 11.1 8 11.2C7.9 11.3 7.8 11.4 7.7 11.6C7.6 11.8 7.5 11.9 7.5 12.1C7.5 12.2 7.4 12.2 7.3 12.3C7.2 12.4 7.09999 12.4 6.89999 12.4C6.69999 12.4 6.6 12.3 6.5 12.2C6.4 12.1 6.3 11.9 6.3 11.7C6.3 11.5 6.4 11.3 6.5 11.1C6.6 10.9 6.8 10.7 7 10.5C7.2 10.3 7.49999 10.1 7.89999 10C8.29999 9.90003 8.60001 9.80003 9.10001 9.80003C9.50001 9.80003 9.80001 9.90003 10.1 10C10.4 10.1 10.7 10.3 10.9 10.4C11.1 10.5 11.3 10.8 11.4 11.1C11.5 11.4 11.6 11.6 11.6 11.9C11.6 12.3 11.5 12.6 11.3 12.9C11.1 13.2 10.9 13.5 10.6 13.7C10.9 13.9 11.2 14.1 11.4 14.3C11.6 14.5 11.8 14.7 11.9 15C12 15.3 12.1 15.5 12.1 15.8C12.1 16.2 12 16.5 11.9 16.8C11.8 17.1 11.5 17.4 11.3 17.7C11.1 18 10.7 18.2 10.3 18.3C9.9 18.4 9.5 18.5 9 18.5C8.5 18.5 8.1 18.4 7.7 18.2C7.3 18 7 17.8 6.8 17.6C6.6 17.4 6.4 17.1 6.3 16.8C6.2 16.5 6.10001 16.3 6.10001 16.1C6.10001 15.9 6.2 15.7 6.3 15.6C6.4 15.5 6.6 15.4 6.8 15.4C6.9 15.4 7.00001 15.4 7.10001 15.5C7.20001 15.6 7.3 15.6 7.3 15.7C7.5 16.2 7.7 16.6 8 16.9C8.3 17.2 8.6 17.3 9 17.3C9.2 17.3 9.5 17.2 9.7 17.1C9.9 17 10.1 16.8 10.3 16.6C10.5 16.4 10.5 16.1 10.5 15.8C10.5 15.3 10.4 15 10.1 14.7C9.80001 14.4 9.50001 14.3 9.10001 14.3C9.00001 14.3 8.9 14.3 8.7 14.3C8.5 14.3 8.39999 14.3 8.39999 14.3C8.19999 14.3 7.99999 14.2 7.89999 14.1C7.79999 14 7.7 13.8 7.7 13.7C7.7 13.5 7.79999 13.4 7.89999 13.2C7.99999 13 8.2 13 8.5 13H8.8V13.1ZM15.3 17.5V12.2C14.3 13 13.6 13.3 13.3 13.3C13.1 13.3 13 13.2 12.9 13.1C12.8 13 12.7 12.8 12.7 12.6C12.7 12.4 12.8 12.3 12.9 12.2C13 12.1 13.2 12 13.6 11.8C14.1 11.6 14.5 11.3 14.7 11.1C14.9 10.9 15.2 10.6 15.5 10.3C15.8 10 15.9 9.80003 15.9 9.70003C15.9 9.60003 16.1 9.60004 16.3 9.60004C16.5 9.60004 16.7 9.70003 16.8 9.80003C16.9 9.90003 17 10.2 17 10.5V17.2C17 18 16.7 18.4 16.2 18.4C16 18.4 15.8 18.3 15.6 18.2C15.4 18.1 15.3 17.8 15.3 17.5Z",fill:"currentColor"})]})})]})},pe=()=>null;pe.propTypes={header:E.oneOfType([E.string,E.node]).isRequired,accessor:E.string,colKey:E.string,filterType:E.string,filterOptions:E.any,rangeKeys:E.string,sortable:E.bool,headerClassName:E.string,render:E.func,filterAlignment:E.string,children:E.oneOfType([E.func,E.node])};const ue=({title:t,data:r=[],children:o,tableClassName:l="",pageSize:s,currentPage:a,totalPages:i=0,onPageChange:c,onPageSizeChange:d,totalRecords:p,pageSizeOptions:u=[10,20,50,100],onSortChange:h,onFilterChange:m,onFilterReset:f,isLoading:g=!1,handleRowClick:x,filterSummery:v,loadingClassName:y,loadingSize:b,loadingType:w,loadingPlaceholderRows:j,loadingColSpan:C})=>{const[N,k]=e.useState([]),[S,M]=e.useState({}),[T,O]=e.useState({}),[$,L]=e.useState(null),[E,z]=e.useState(null),[P,V]=e.useState(null),A=e.Children.toArray(o).filter(n=>e.isValidElement(n)).map(e=>{const{header:n,headerClassName:t,accessor:r,filterAlignment:o,colKey:l,sortable:s,filterType:a,filterOptions:i,rangeKeys:c,render:d}=e.props,p="function"==typeof e.props.children?e.props.children:null;return{header:n,headerClassName:t,accessor:r,colKey:l,sortable:s,filterAlignment:o,filterType:a,filterOptions:i,rangeKeys:c,render:d||p,rawChild:e.props.children}}),R=(e,n)=>{if("object"==typeof e&&null!==e)M(n=>{const t={...n,...e};return m?.(t),t});else{const t={...S,[e]:n};M(t),m?.(t)}},q=e=>{if(L(n=>n===e?null:e),$!==e){const n=A[e]?.colKey;O(e=>({...e,[n]:S[n]||""}))}},H=1===a?1:s*a-(s-1),D=a+1<i?s*a:p,I=(()=>{if(i<=5)return Array.from({length:i},(e,n)=>n+1);let e=a-Math.floor(2.5),n=e+5-1;return e<1&&(e=1,n=5),n>i&&(n=i,e=n-4),Array.from({length:n-e+1},(n,t)=>e+t)})();function _(e){if(!e)return{};const n={};return e.split(/\s+/).forEach(e=>{if(e.startsWith("left-")){const t=e.replace("left-","");n.left=t.endsWith("px")?t:`${t}`}else if(e.startsWith("right-")){const t=e.replace("right-","");n.right=t.endsWith("px")?t:`${t}`}}),n}return n.jsxs("div",{className:`filtered-table position-relative ${l}`,children:[t&&n.jsx("h4",{className:"mb-3",children:t}),n.jsxs("div",{className:"table-responsive",children:[Object.keys(S).some(e=>S[e])&&n.jsxs("div",{className:"d-flex justify-content-between align-items-center mb-3 p-2 border bg-light rounded",children:[v&&n.jsx("div",{className:"d-flex flex-wrap align-items-center",children:v.filter(e=>""!==e.value&&null!=e.value).map(e=>n.jsxs("span",{className:"badge bg-primary text-white me-2 mb-1",children:[n.jsx("span",{className:"fw-bolder",children:e.label||e.key}),":"," ",String(e.value)]},e.key))}),!v&&S&&n.jsx("div",{className:"d-flex flex-wrap align-items-center",children:Object.entries(S).map(([e,t])=>{if(!t)return null;const r=A.find(n=>n.colKey===e),o=r?.header||e;return n.jsxs("span",{className:"badge bg-primary text-white me-2 mb-1",children:[n.jsx("span",{className:"fw-bolder",children:o}),":"," ",String(t)]},e)})}),n.jsx("div",{children:n.jsx("span",{className:"btn btn-sm btn-primary",onClick:()=>{const e={};Object.keys(S).forEach(n=>e[n]=""),M(e),Object.keys(e).forEach(e=>R(e,"")),f(),z(null),M({}),k([])},children:"Reset Filter"})})]}),n.jsxs("table",{className:"table align-middle position-relative table-row-dashed fs-6 gy-3 mb-0 table-hover filtered_table",children:[n.jsx("thead",{children:n.jsx("tr",{className:"fw-bold fs-6 fs-md-5 text-gray-900",children:A.map((e,t)=>{const r=e.colKey,o=N.find(e=>e.field===r);let l=!1;if("DATERANGE"===e.filterType&&e.rangeKeys){const[n,t]=e.rangeKeys.split(",");l=!(!S[n]&&!S[t])}else r&&(l=!!S[r]);return n.jsx("th",{scope:"col",className:`text-nowrap min-w-100px min-w-md-auto ${e.headerClassName||""}`,children:n.jsxs("div",{className:"d-flex align-items-end position-relative",children:[n.jsx("span",{dangerouslySetInnerHTML:{__html:e.header}}),n.jsxs("div",{className:"ms-2 sort-filter-wrp d-flex align-items-end",children:[e.sortable&&r&&n.jsxs("div",{className:"ms-1",onClick:()=>r?(e=>{const n=e.colKey;n&&k(e=>{const t=e[0];let r=[];return t&&t.field===n?"asc"===t.order?r=[{field:n,order:"desc"}]:"desc"===t.order&&(r=[]):r=[{field:n,order:"asc"}],h?.(r),r})})(e):null,style:{cursor:r?"pointer":"default",marginBottom:"1px"},children:["asc"===o?.order&&n.jsx("span",{style:{color:"#d8128c"},children:n.jsx(oe,{})}),"desc"===o?.order&&n.jsx("span",{style:{color:"#d8128c"},children:n.jsx(le,{})}),!o&&n.jsx(re,{})]}),e.filterType&&n.jsx("div",{className:"flt-btn w-25px h-25px pt-1 pe-3 "+(e.sortable?"ms-2":""),style:{color:l?"#d8128c":""},onClick:()=>q(t),children:n.jsx(se,{})})]}),$===t&&n.jsxs(n.Fragment,{children:["TEXT"===e.filterType&&n.jsxs("div",{className:"filter-dropdown-wrp z-index-1 bg-white",style:_(e.filterAlignment),children:[n.jsx("input",{type:"text",className:"form-control form-control-sm",value:T[e.colKey]||"",placeholder:`Filter ${e.header}`,onChange:n=>O(t=>({...t,[e.colKey]:n.target.value}))}),n.jsxs("div",{className:"d-flex align-items-center justify-content-between mt-5",children:[n.jsx("button",{className:"btn btn-sm btn-secondary me-5",onClick:()=>{O(n=>({...n,[e.colKey]:""})),R(e.colKey,""),q(t)},children:"Clear"}),n.jsx("button",{className:"btn btn-sm btn-primary",onClick:()=>{R(e.colKey,T[e.colKey]||""),q(t)},children:"Apply"})]})]}),"DATERANGE"===e.filterType&&n.jsxs("div",{className:"filter-dropdown-wrp z-index-1 bg-white",style:_(e.filterAlignment),children:[n.jsx(de,{datePickerDates:E,setDatePickerDates:e=>z(e)}),n.jsxs("div",{className:"d-flex align-items-center justify-content-between mt-5",children:[n.jsx("button",{className:"btn btn-sm btn-secondary me-5",onClick:()=>{const[n,r]=e.rangeKeys.split(",");O(e=>({...e,[n]:"",[r]:""})),R({[n]:"",[r]:""}),z(null),q(t)},children:"Clear"}),n.jsx("button",{className:"btn btn-sm btn-primary",onClick:()=>{const[n,r]=e.rangeKeys.split(",");R({[n]:E?.startDate||"",[r]:E?.endDate||""}),q(t)},children:"Apply"})]})]}),"DROPDOWN"===e.filterType&&n.jsxs("div",{className:"filter-dropdown-wrp z-index-1 bg-white",style:_(e.filterAlignment),children:[n.jsxs("select",{className:"form-select form-select-sm form-select-solid text-capitalize mb-3",value:T[e.colKey]||"",onChange:n=>O(t=>({...t,[e.colKey]:n.target.value})),children:[n.jsx("option",{value:"",children:"Any"}),e.filterOptions.map((e,t)=>n.jsx("option",{value:e.value,className:"text-capitalize",children:e.label},t))]}),n.jsxs("div",{className:"d-flex align-items-center justify-content-between mt-5",children:[n.jsx("button",{className:"btn btn-sm btn-secondary me-5",onClick:()=>{O(n=>({...n,[e.colKey]:""})),R(e.colKey,""),q(t)},children:"Clear"}),n.jsx("button",{className:"btn btn-sm btn-primary",onClick:()=>{R(e.colKey,T[e.colKey]||""),q(t)},children:"Apply"})]})]})]})]})},t)})})}),n.jsx("tbody",{children:g?n.jsx("tr",{children:n.jsx("td",{colSpan:C||9,children:n.jsx(te,{className:y||"w-100",size:b||"md",loadingType:w||"table",placeholderRows:j||9})})}):n.jsxs(n.Fragment,{children:[r&&r.length>0?r.map((e,t)=>n.jsx("tr",{onClick:()=>x(e),style:{cursor:"pointer"},children:A.map((r,o)=>{let l=null;if("function"==typeof r.render)l=r.render(e,t);else if(r.accessor){const n=function(e,n){if(n)return n.split(".").reduce((e,n)=>null==e?void 0:e[n],e)}(e,r.accessor);l=null==n?"":n}else l=r.rawChild??"";return n.jsx("td",{children:l},o)})},e.uuid??e.id??t)):n.jsx("tr",{children:n.jsx("td",{colSpan:A.length,className:"text-center py-4",children:n.jsx("div",{className:"my-10 py-10",children:"No data"})})}),r&&r.length<5&&n.jsx("tr",{children:n.jsx("td",{colSpan:A.length,className:"text-center",children:n.jsx("div",{style:{minHeight:"50px"}})})})]})})]})]}),n.jsxs("div",{className:"d-flex align-items-center justify-content-between mt-6",children:[n.jsxs("div",{className:"col-sm-12 col-md-6 d-flex align-items-center",children:[n.jsx("div",{className:"dataTables_length",children:n.jsx("label",{children:n.jsx("select",{className:"form-select form-select-sm form-select-solid",value:s,onChange:e=>d(Number(e.target.value)),children:u.map(e=>n.jsx("option",{value:e,children:e},e))})})}),n.jsxs("div",{className:"dataTables_info text-start ms-3",role:"status","aria-live":"polite",children:["Showing ",H," to ",D," of ",p," records"]})]}),n.jsx("div",{className:"col-lg-6 col-md-12 d-flex justify-content-end",children:n.jsxs("ul",{className:"pagination pagination-md",children:[a>1&&n.jsx("li",{className:"paginate_button page-item",children:n.jsx("span",{className:"page-link svg-icon svg-icon-2",onClick:()=>c(a-1),children:n.jsx(ie,{})})}),i>1&&I.map(e=>n.jsx("li",{className:"paginate_button page-item "+(a===e?"active":""),children:n.jsx("span",{onClick:()=>c(e),className:"page-link",children:e})},e)),a<i&&n.jsx("li",{className:"paginate_button page-item",children:n.jsx("span",{className:"page-link svg-icon svg-icon-2",onClick:()=>c(a+1),children:n.jsx(ae,{})})})]})}),n.jsx("style",{jsx:!0,global:!0,children:""})]})]})};ue.propTypes={title:E.string,data:E.array,children:E.node.isRequired,tableClassName:E.string,pageSize:E.number.isRequired,currentPage:E.number.isRequired,totalPages:E.number.isRequired,onPageChange:E.func.isRequired,onPageSizeChange:E.func.isRequired,pageSizeOptions:E.array,onSortChange:E.func,onFilterChange:E.func,onFilterReset:E.func,isLoading:E.bool},ue.Col=pe,exports.AccordionItem=({title:e,children:t,isOpen:r,onToggle:o,index:l,id:s,className:a="","data-testid":i})=>{const c=s||`collapse-${l}`,d=`heading-${l}`;return n.jsxs(n.Fragment,{children:[n.jsxs("div",{className:`accordion-item pc-accordion-item pb-0 mb-2 ${a}`.trim(),"data-testid":i,children:[n.jsx("h2",{className:"accordion-header",id:d,children:n.jsx("button",{className:"accordion-button "+(r?"":"collapsed"),type:"button",onClick:o,"aria-expanded":r,"aria-controls":c,children:"string"==typeof e?n.jsx("span",{dangerouslySetInnerHTML:{__html:e}}):e})}),n.jsx("div",{id:c,className:"accordion-collapse collapse "+(r?"show":""),"aria-labelledby":d,children:n.jsx("div",{className:"accordion-body",children:t})})]}),n.jsx("style",{jsx:!0,children:"\n .pc-accordion-item,\n .pc-accordion-item:first-of-type,\n .pc-accordion-item:last-of-type {\n border-radius: 10px;\n border: 1px solid var(--kt-input-border-color);\n overflow: hidden;\n background-color: var(--kt-card-bg);\n }\n \n "})]})},exports.PCAccordionWrapper=({children:t,singleOpen:r=!0,id:o,className:l="","data-testid":s})=>{const[a,i]=e.useState([]),c=e.Children.map(t,(n,t)=>{if(e.isValidElement(n)){const o=a.includes(t)||!a.length&&n.props.OpenByDefault;return e.cloneElement(n,{index:t,isOpen:o,onToggle:()=>((e,n,t)=>{i(o=>{const l=o.includes(e);let s;return s=r?l?[]:[e]:l?o.filter(n=>n!==e):[...o,e],!l&&n&&n(),l&&t&&t(),s})})(t,n.props.onOpen,n.props.onClose)})}return n});return n.jsxs(n.Fragment,{children:[n.jsx("div",{className:`pc-accordion accordion ${l}`.trim(),id:o||"pcaccordionWrapper","data-testid":s,children:c}),n.jsx("style",{jsx:!0,children:"\n .pc-accordion{;\n }\n "})]})},exports.PCButton=z,exports.PCCol=_,exports.PCContainer=D,exports.PCFilteredTable=ue,exports.PCIcon=function({name:t,width:r="1em",height:o="1em",className:l="",color:s="currentColor",activeColor:a,hoverColor:i,...c}){const[d,p]=e.useState(!1),[u,h]=e.useState(!1),m=u?a||s:d&&i||s,f=R[t];return f?n.jsx(f,{width:r,height:o,className:l,style:{color:m,cursor:c.onClick?"pointer":void 0},onMouseEnter:()=>p(!0),onMouseLeave:()=>{p(!1),h(!1)},onMouseDown:()=>h(!0),onMouseUp:()=>h(!1),...c}):(console.warn(`Icon "${t}" not found`),null)},exports.PCInput=F,exports.PCInputCurrency=({label:t="Enter Lable",value:r="",onChange:o,required:l=!1,errorMessage:s="",name:a,disabled:i=!1})=>{const[c,d]=e.useState(Z(r));e.useEffect(()=>{d(Z(r))},[r]);return n.jsxs("div",{className:"form-group",children:[n.jsx("label",{className:`form-label ${l&&"required"}`,children:t}),n.jsx("div",{className:"input-group",style:{fontFamily:"inherit"},children:n.jsx("input",{name:a,disabled:i,required:l,type:"text",value:c,onChange:e=>{const n=e.target.value.replace(/[^\d.]/g,""),t=Z(n);d(t),o&&o(a,n)},placeholder:"$0.00","aria-label":"Currency input",className:"form-control form-control-solid border"+(s?" is-invalid border-danger":"")})}),s&&n.jsx("span",{className:"input-error text-danger",style:{fontSize:13,marginTop:4,display:"block"},children:s})]})},exports.PCLoading=te,exports.PCModal=({title:t,children:r,footer:o,onClose:l,customStyles:s="",maxWidth:a="600px",width:i="100%",maxHeight:c="80vh",outsideClickHandle:d=!1})=>{const p=e.useRef();return e.useEffect(()=>{if(!d)return;const e=e=>{p.current&&!p.current.contains(e.target)&&l?.()};return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}},[l]),n.jsxs(n.Fragment,{children:[n.jsx("div",{className:"conditions-overlay position-fixed top-0 start-0 w-100 h-100 bg-dark bg-opacity-10 d-flex justify-content-center align-items-center z-3",children:n.jsxs("div",{className:`card position-relative shadow p-4 ${s}`,ref:p,style:{width:i,maxWidth:a,maxHeight:c,overflowY:"auto"},children:[n.jsx("div",{className:"w-full d-flex justify-content-end svg-icon svg-icon-1",children:n.jsx("div",{className:"cursor-pointer w-24px h-24px",onClick:l,children:n.jsx(B,{})})}),t&&n.jsx("h5",{className:"mb-3",children:t}),r&&n.jsx("div",{className:"mb-3",children:r}),o&&n.jsx("div",{className:"text-end",children:o})]})}),n.jsx("style",{jsx:!0,children:"\n .conditions-overlay {\n z-index: 50;\n }\n\n .cursor-pointer {\n cursor: pointer;\n }\n "})]})},exports.PCMultiSelectDropdown=({options:t=[],placeholder:r="Select...",onChange:o,enableSearch:l=!0,enableSelectAll:s=!0,showCountAfter:a=null,value:i=[],name:c,required:d=!1,labelKey:p="name",valueKey:u="value",isInvalid:h=!1,errMsg:m=""})=>{const[f,g]=e.useState([]),[x,v]=e.useState(!1),[y,b]=e.useState(""),w=e.useRef(null),j=e.useRef(null),[C,N]=e.useState("100%"),k=e.useMemo(()=>((e,n,t)=>Array.isArray(e)?e.map(e=>({name:e?.[n]??"",value:e?.[t]??"",original:e})):[])(t,p,u),[t,p,u]);e.useEffect(()=>{const e=e=>{w.current&&!w.current.contains(e.target)&&v(!1)},n=()=>{j.current&&N(`${j.current.offsetWidth}px`)};return document.addEventListener("mousedown",e),window.addEventListener("resize",n),n(),()=>{document.removeEventListener("mousedown",e),window.removeEventListener("resize",n)}},[]),e.useEffect(()=>{if(!Array.isArray(i))return;if(!(i.length===f.length&&i.every(e=>f.some(n=>n.original?.[u]===e?.[u])))){const e=k.filter(e=>i.some(n=>n?.[u]===e.original?.[u]));g(e)}},[i,k]);const S=e=>f.some(n=>n.value===e.value),M=k.filter(e=>e.name.toLowerCase().includes(y.toLowerCase()));return n.jsxs("div",{className:"position-relative pc-multi-select",ref:w,children:[n.jsx("div",{ref:j,className:"form-select form-select-solid pc-ele-border d-flex justify-content-between align-items-center "+(h?"invalid":""),onClick:()=>v(!x),style:{cursor:"pointer"},children:n.jsx("span",{className:"text-truncate",style:{maxWidth:"85%"},children:(()=>{if(0===f.length)return r;if(null!=a&&f.length>a){return`${f.slice(0,a).map(e=>e.name).join(", ")} +${f.length-a} more`}return f.map(e=>e.name).join(", ")})()})}),h&&m&&n.jsx("div",{className:"d-block position-absolute w-100 mt-1 pc-err-txt",style:{top:"100%",zIndex:9999},children:m}),x&&n.jsx("div",{className:"multi-slc-dropdown-options-wrp show position-absolute top-100 start-0",style:{maxHeight:300,width:C,zIndex:9999},children:n.jsxs("div",{className:"dropdown-menu relative show py-3 shadow-none border position-relative",style:{maxHeight:300,overflowY:"auto",width:C,zIndex:9999},children:[(l||s)&&n.jsxs("div",{className:"d-flex align-items-center gap-2 pb-3 mb-3 border-bottom",children:[s&&n.jsxs("div",{className:"form-check pl-3 ms-4",children:[n.jsx("input",{type:"checkbox",className:"form-check-input",id:"selectAll",checked:f.length===k.length,onChange:()=>{const e=f.length===k.length?[]:[...k];g(e),o?.(c,e.map(e=>e.original))},name:c,required:d}),n.jsx("label",{className:"form-check-label",htmlFor:"selectAll",children:"All"})]}),l&&n.jsxs("div",{className:"input-group me-3 "+(s?"":"ms-3"),children:[n.jsx("input",{type:"text",className:"form-control border-end-0",placeholder:"Search...",value:y,onChange:e=>b(e.target.value)}),n.jsx("span",{className:"input-group-text border-start-0 bg-transparent",children:n.jsx("i",{className:"bi bi-search"})})]})]}),M.length>0?M.map((e,t)=>n.jsxs("div",{className:"form-check py-3 pl-5 mr-3 pc-multi-select-opt",style:{cursor:"pointer"},children:[n.jsx("input",{className:"form-check-input pc-multi-select-opt-input",type:"checkbox",id:`option-${t}`,checked:S(e),onChange:()=>(e=>{let n=f.some(n=>n.value===e.value)?f.filter(n=>n.value!==e.value):[...f,e];n=k.filter(e=>n.some(n=>n.value===e.value)),g(n),o?.(c,n.map(e=>e.original))})(e),name:c,required:d}),n.jsx("label",{className:"form-check-label ms-2",htmlFor:`option-${t}`,children:e.name})]},t)):n.jsx("div",{className:"text-center text-muted py-2",children:"No records found"})]})}),n.jsx("style",{jsx:!0,children:"\n .multi-slc-dropdown-options-wrp {\n border-radius: 0.375rem;\n background-color: var(--kt-page-bg);\n }\n .pc-multi-select-opt {\n padding: 0 15px 0 38px;\n }\n .pc-multi-select-opt:hover {\n background-color: var(--kt-input-solid-bg);\n }\n .pc-multi-select-opt-input {\n margin-top: 3px;\n }\n .pc-multi-select-opt label {\n color: var(--kt-form-check-label-color-checked);\n }\n .pc-ele-border {\n border: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color);\n }\n .pc-ele-border.invalid{\n border-color: var(--kt-danger);\n }\n .pc-err-txt {\n color: var(--kt-danger);\n }\n "})]})},exports.PCRadio=({label:e,checked:t=!1,onChange:r,name:o,value:l,disabled:s=!1,id:a,className:i="",dataTestId:c})=>n.jsxs("div",{className:`form-check ${i}`,"data-testid":c,children:[n.jsx("input",{className:"form-check-input",type:"radio",name:o,id:a,value:l,checked:t,onChange:r,disabled:s}),e&&n.jsx("label",{className:"form-check-label",htmlFor:a,children:e})]}),exports.PCRow=I,exports.PCSelectDropdown=P,exports.PCTable=({value:t=[],columns:r=[],style:o={},caption:l,header:s,footer:a,children:i,paginator:c=!1,rowsPerPageOptions:d=[10,25,50],currentPageReportTemplate:p="Showing {first} to {last} of {totalRecords} records",onPageChange:u=()=>{},paginationConfig:h=null})=>{const m=!!h,[f,g]=e.useState(1),[x,v]=e.useState(d[0]),y=m?h.current_page:f,b=m?h.page_size:x,w=m?h.total_records:t.length,j=m?h.total_pages:Math.ceil(w/b),C=e.useMemo(()=>{if(m)return t;const e=(y-1)*b,n=e+b;return t.slice(e,n)},[t,y,b,m]),N=e=>{e<1||e>j||(m||g(e),u({page:e,rows:b}))},k=r?.length>0,S=e.Children.toArray(i).some(n=>e.isValidElement(n)&&"tbody"===n.type),M=!k&&e.Children.count(i)>0;return n.jsxs(n.Fragment,{children:[n.jsxs("div",{className:"table-responsive",children:[l&&n.jsx("div",{className:"mb-2",children:l}),n.jsxs("table",{className:"table pc-table align-middle table-row-dashed fs-6 gy-3 mb-0 dataTable no-footer table-hover gs-4",style:o,children:[k?n.jsx("thead",{children:n.jsx("tr",{children:r.map((e,t)=>n.jsx("th",{children:e.header},t))})}):s&&n.jsx("thead",{children:s}),k?n.jsx("tbody",{children:C.map((e,t)=>n.jsx("tr",{children:r.map((t,r)=>n.jsx("td",{children:n.jsx("div",{className:"py-2",children:e[t.field]})},r))},t))}):M&&(S?i:n.jsx("tbody",{children:i})),a&&n.jsx("tfoot",{children:a})]})]}),c&&n.jsxs("div",{className:"d-flex justify-content-between align-items-center mt-5 pc-pagination-wrp",children:[n.jsxs("div",{className:"dataTables_length d-flex align-items-center",children:[n.jsx("select",{className:"form-select form-select-sm form-select-solid w-auto me-3",value:b,onChange:e=>{const n=parseInt(e.target.value,10);m||(v(n),g(1)),u({page:1,rows:n})},children:d.map(e=>n.jsx("option",{value:e,children:e},e))})," ",n.jsx("div",{children:(()=>{const e=(y-1)*b+1,n=Math.min(e+b-1,w);return p.replace("{first}",e).replace("{last}",n).replace("{totalRecords}",w)})()})]}),n.jsx("div",{className:"d-flex align-items-center gap-2",children:n.jsx("nav",{children:n.jsxs("ul",{className:"pagination mb-0",children:[n.jsx("li",{className:"page-item "+(1===y?"disabled":""),children:n.jsxs("button",{className:"page-link",onClick:()=>N(1),children:[n.jsx("i",{class:"previous"}),n.jsx("i",{style:{marginLeft:"-5px"},class:"previous"})]})}),n.jsx("li",{className:"page-item "+(1===y?"disabled":""),children:n.jsx("button",{className:"page-link",onClick:()=>N(y-1),children:n.jsx("i",{class:"previous"})})}),Array.from({length:Math.min(j,5)},(e,t)=>{const r=y<=3?t+1:y-2+t;return r>j?null:n.jsx("li",{className:"page-item "+(y===r?"active":""),children:n.jsx("button",{className:"page-link",onClick:()=>N(r),children:r})},r)}),n.jsx("li",{className:"page-item "+(y===j?"disabled":""),children:n.jsx("button",{className:"page-link",onClick:()=>N(y+1),children:n.jsx("i",{class:"next"})})}),n.jsx("li",{className:"page-item "+(y===j?"disabled":""),children:n.jsxs("button",{className:"page-link",onClick:()=>N(j),children:[n.jsx("i",{class:"next fs-1"}),n.jsx("i",{style:{marginLeft:"-5px"},class:"next"})]})})]})})})]})]})},exports.PCTextarea=A,exports.PCTooltip=V;
14
+ */function N(){if(d)return c;d=1;var e=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,t=Object.prototype.propertyIsEnumerable;return c=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var n={},t=0;t<10;t++)n["_"+String.fromCharCode(t)]=t;if("0123456789"!==Object.getOwnPropertyNames(n).map(function(e){return n[e]}).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach(function(e){r[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(r,s){for(var l,o,a=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(r),i=1;i<arguments.length;i++){for(var c in l=Object(arguments[i]))n.call(l,c)&&(a[c]=l[c]);if(e){o=e(l);for(var d=0;d<o.length;d++)t.call(l,o[d])&&(a[o[d]]=l[o[d]])}}return a},c}function k(){if(u)return p;u=1;return p="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}function S(){return m?h:(m=1,h=Function.call.bind(Object.prototype.hasOwnProperty))}function M(){if(g)return f;g=1;var e=function(){};if("production"!==process.env.NODE_ENV){var n=k(),t={},r=S();e=function(e){var n="Warning: "+e;"undefined"!=typeof console&&console.error(n);try{throw new Error(n)}catch(e){}}}function s(s,l,o,a,i){if("production"!==process.env.NODE_ENV)for(var c in s)if(r(s,c)){var d;try{if("function"!=typeof s[c]){var p=Error((a||"React class")+": "+o+" type `"+c+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof s[c]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw p.name="Invariant Violation",p}d=s[c](l,c,a,o,null,n)}catch(e){d=e}if(!d||d instanceof Error||e((a||"React class")+": type specification of "+o+" `"+c+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof d+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),d instanceof Error&&!(d.message in t)){t[d.message]=!0;var u=i?i():"";e("Failed "+o+" type: "+d.message+(null!=u?u:""))}}}return s.resetWarningCache=function(){"production"!==process.env.NODE_ENV&&(t={})},f=s}function T(){if(v)return x;v=1;var e=C(),n=N(),t=k(),r=S(),s=M(),l=function(){};function o(){return null}return"production"!==process.env.NODE_ENV&&(l=function(e){var n="Warning: "+e;"undefined"!=typeof console&&console.error(n);try{throw new Error(n)}catch(e){}}),x=function(a,i){var c="function"==typeof Symbol&&Symbol.iterator;var d="<<anonymous>>",p={array:f("array"),bigint:f("bigint"),bool:f("boolean"),func:f("function"),number:f("number"),object:f("object"),string:f("string"),symbol:f("symbol"),any:m(o),arrayOf:function(e){return m(function(n,r,s,l,o){if("function"!=typeof e)return new h("Property `"+o+"` of component `"+s+"` has invalid PropType notation inside arrayOf.");var a=n[r];if(!Array.isArray(a))return new h("Invalid "+l+" `"+o+"` of type `"+v(a)+"` supplied to `"+s+"`, expected an array.");for(var i=0;i<a.length;i++){var c=e(a,i,s,l,o+"["+i+"]",t);if(c instanceof Error)return c}return null})},element:m(function(e,n,t,r,s){var l=e[n];return a(l)?null:new h("Invalid "+r+" `"+s+"` of type `"+v(l)+"` supplied to `"+t+"`, expected a single ReactElement.")}),elementType:m(function(n,t,r,s,l){var o=n[t];return e.isValidElementType(o)?null:new h("Invalid "+s+" `"+l+"` of type `"+v(o)+"` supplied to `"+r+"`, expected a single ReactElement type.")}),instanceOf:function(e){return m(function(n,t,r,s,l){if(!(n[t]instanceof e)){var o=e.name||d;return new h("Invalid "+s+" `"+l+"` of type `"+(((a=n[t]).constructor&&a.constructor.name?a.constructor.name:d)+"` supplied to `")+r+"`, expected instance of `"+o+"`.")}var a;return null})},node:m(function(e,n,t,r,s){return x(e[n])?null:new h("Invalid "+r+" `"+s+"` supplied to `"+t+"`, expected a ReactNode.")}),objectOf:function(e){return m(function(n,s,l,o,a){if("function"!=typeof e)return new h("Property `"+a+"` of component `"+l+"` has invalid PropType notation inside objectOf.");var i=n[s],c=v(i);if("object"!==c)return new h("Invalid "+o+" `"+a+"` of type `"+c+"` supplied to `"+l+"`, expected an object.");for(var d in i)if(r(i,d)){var p=e(i,d,l,o,a+"."+d,t);if(p instanceof Error)return p}return null})},oneOf:function(e){if(!Array.isArray(e))return"production"!==process.env.NODE_ENV&&l(arguments.length>1?"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]).":"Invalid argument supplied to oneOf, expected an array."),o;return m(function(n,t,r,s,l){for(var o=n[t],a=0;a<e.length;a++)if(u(o,e[a]))return null;var i=JSON.stringify(e,function(e,n){return"symbol"===y(n)?String(n):n});return new h("Invalid "+s+" `"+l+"` of value `"+String(o)+"` supplied to `"+r+"`, expected one of "+i+".")})},oneOfType:function(e){if(!Array.isArray(e))return"production"!==process.env.NODE_ENV&&l("Invalid argument supplied to oneOfType, expected an instance of array."),o;for(var n=0;n<e.length;n++){var s=e[n];if("function"!=typeof s)return l("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+b(s)+" at index "+n+"."),o}return m(function(n,s,l,o,a){for(var i=[],c=0;c<e.length;c++){var d=(0,e[c])(n,s,l,o,a,t);if(null==d)return null;d.data&&r(d.data,"expectedType")&&i.push(d.data.expectedType)}return new h("Invalid "+o+" `"+a+"` supplied to `"+l+"`"+(i.length>0?", expected one of type ["+i.join(", ")+"]":"")+".")})},shape:function(e){return m(function(n,r,s,l,o){var a=n[r],i=v(a);if("object"!==i)return new h("Invalid "+l+" `"+o+"` of type `"+i+"` supplied to `"+s+"`, expected `object`.");for(var c in e){var d=e[c];if("function"!=typeof d)return g(s,l,o,c,y(d));var p=d(a,c,s,l,o+"."+c,t);if(p)return p}return null})},exact:function(e){return m(function(s,l,o,a,i){var c=s[l],d=v(c);if("object"!==d)return new h("Invalid "+a+" `"+i+"` of type `"+d+"` supplied to `"+o+"`, expected `object`.");var p=n({},s[l],e);for(var u in p){var m=e[u];if(r(e,u)&&"function"!=typeof m)return g(o,a,i,u,y(m));if(!m)return new h("Invalid "+a+" `"+i+"` key `"+u+"` supplied to `"+o+"`.\nBad object: "+JSON.stringify(s[l],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var f=m(c,u,o,a,i+"."+u,t);if(f)return f}return null})}};function u(e,n){return e===n?0!==e||1/e==1/n:e!=e&&n!=n}function h(e,n){this.message=e,this.data=n&&"object"==typeof n?n:{},this.stack=""}function m(e){if("production"!==process.env.NODE_ENV)var n={},r=0;function s(s,o,a,c,p,u,m){if(c=c||d,u=u||a,m!==t){if(i){var f=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 f.name="Invariant Violation",f}if("production"!==process.env.NODE_ENV&&"undefined"!=typeof console){var g=c+":"+a;!n[g]&&r<3&&(l("You are manually calling a React.PropTypes validation function for the `"+u+"` prop on `"+c+"`. 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."),n[g]=!0,r++)}}return null==o[a]?s?null===o[a]?new h("The "+p+" `"+u+"` is marked as required in `"+c+"`, but its value is `null`."):new h("The "+p+" `"+u+"` is marked as required in `"+c+"`, but its value is `undefined`."):null:e(o,a,c,p,u)}var o=s.bind(null,!1);return o.isRequired=s.bind(null,!0),o}function f(e){return m(function(n,t,r,s,l,o){var a=n[t];return v(a)!==e?new h("Invalid "+s+" `"+l+"` of type `"+y(a)+"` supplied to `"+r+"`, expected `"+e+"`.",{expectedType:e}):null})}function g(e,n,t,r,s){return new h((e||"React class")+": "+n+" type `"+t+"."+r+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+s+"`.")}function x(e){switch(typeof e){case"number":case"string":case"undefined":return!0;case"boolean":return!e;case"object":if(Array.isArray(e))return e.every(x);if(null===e||a(e))return!0;var n=function(e){var n=e&&(c&&e[c]||e["@@iterator"]);if("function"==typeof n)return n}(e);if(!n)return!1;var t,r=n.call(e);if(n!==e.entries){for(;!(t=r.next()).done;)if(!x(t.value))return!1}else for(;!(t=r.next()).done;){var s=t.value;if(s&&!x(s[1]))return!1}return!0;default:return!1}}function v(e){var n=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":function(e,n){return"symbol"===e||!!n&&("Symbol"===n["@@toStringTag"]||"function"==typeof Symbol&&n instanceof Symbol)}(n,e)?"symbol":n}function y(e){if(null==e)return""+e;var n=v(e);if("object"===n){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return n}function b(e){var n=y(e);switch(n){case"array":case"object":return"an "+n;case"boolean":case"date":case"regexp":return"a "+n;default:return n}}return h.prototype=Error.prototype,p.checkPropTypes=s,p.resetWarningCache=s.resetWarningCache,p.PropTypes=p,p},x}function O(){if(b)return y;b=1;var e=k();function n(){}function t(){}return t.resetWarningCache=n,y=function(){function r(n,t,r,s,l,o){if(o!==e){var a=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 a.name="Invariant Violation",a}}function s(){return r}r.isRequired=r;var l={array:r,bigint:r,bool:r,func:r,number:r,object:r,string:r,symbol:r,any:r,arrayOf:s,element:r,elementType:r,instanceOf:s,node:r,objectOf:s,oneOf:s,oneOfType:s,shape:s,exact:s,checkPropTypes:t,resetWarningCache:n};return l.PropTypes=l,l}}function L(){if(w)return s.exports;if(w=1,"production"!==process.env.NODE_ENV){var e=C();s.exports=T()(e.isElement,true)}else s.exports=O()();return s.exports}var E=t(L());function z({label:e,icon:t,loading:r=!1,disabled:s=!1,variant:l="primary",type:o="button",className:a="",...i}){const c=!!e,d=!e&&t;return n.jsxs("button",{type:o,className:`btn btn-${l} ${a} d-flex align-items-center justify-center gap-2 ${d?"p-2":""}`,disabled:s||r,...i,children:[r&&n.jsx("span",{className:"custom-spinner"}),t&&n.jsx("span",{className:"px-2",children:t}),c&&n.jsx("span",{children:e}),n.jsx("style",{jsx:!0,children:"\n .custom-spinner {\n display: inline-block;\n width: 1rem;\n height: 1rem;\n border: 2px solid rgba(255, 255, 255, 0.3);\n border-top-color: white;\n border-radius: 50%;\n animation: spin 0.6s linear infinite;\n }\n\n @keyframes spin {\n to {\n transform: rotate(360deg);\n }\n }\n "})]})}z.propTypes={label:E.oneOfType([E.string,E.node]),icon:E.node,loading:E.bool,disabled:E.bool,variant:E.oneOf(["primary","secondary","outline-primary","outline-secondary","success","danger","warning","info","light","dark"]),type:E.oneOf(["button","submit","reset"])};const P=({options:t=[],placeholder:r="Select...",onChange:s,isInvalid:l=!1,errMsg:o="",id:a,name:i,dataTestId:c,enableSearch:d=!1,selected:p=null})=>{const[u,h]=e.useState(!1),[m,f]=e.useState(""),g=e.useRef(null),x=e.useRef(null),[v,y]=e.useState(null),b=null!==p?p:v;e.useEffect(()=>{null!==p&&y(p)},[p]),e.useEffect(()=>{const e=e=>{g.current&&!g.current.contains(e.target)&&h(!1)};return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)},[]);const w=t.filter(e=>e.label.toLowerCase().includes(m.toLowerCase()));return n.jsxs("div",{className:"position-relative w-100",ref:g,children:[n.jsxs("div",{className:"dropdown",children:[n.jsx("button",{type:"button",ref:x,className:"form-select pc-ele-border text-start "+(l?"invalid":""),onClick:()=>h(e=>!e),id:a,name:i,"data-testid":c,children:b?.label||r}),u&&n.jsxs("div",{className:"slc-dropdown-options-wrp show w-100 pc-ele-border position-absolute top-100 start-0 z-index-2",style:{maxHeight:300},children:[d&&n.jsx("div",{className:"mb-2 px-3 py-2 border-bottom",children:n.jsx("input",{type:"text",className:"form-control pc-select-opt-input",placeholder:"Search...",value:m,onChange:e=>f(e.target.value)})}),w.length>0?w.map((e,t)=>n.jsx("span",{className:"pc-select-opt d-block w-100 py-3 px-4",type:"button",onClick:()=>(e=>{null===p&&y(e),h(!1),s?.(i,e)})(e),children:e.label},t)):n.jsx("div",{className:"text-muted px-2",children:"No results found"})]})]}),l&&o&&n.jsx("div",{className:"d-block position-absolute w-100 mt-1 pc-err-txt",style:{top:"100%"},children:o}),n.jsx("style",{jsx:!0,children:"\n .slc-dropdown-options-wrp {\n border-radius: 0.375rem;\n background-color: var(--kt-dropdown-bg);\n }\n .pc-select-opt:hover {\n background-color: var(--kt-input-solid-bg);\n }\n .pc-select-opt-input {\n margin-top: 3px;\n }\n .pc-select-opt {\n color: var(--kt-form-check-label-color-checked);\n }\n .pc-ele-border {\n border: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color);\n }\n .pc-ele-border.invalid{\n border-color: var(--kt-danger);\n }\n .pc-err-txt {\n color: var(--kt-danger);\n }\n "})]})};P.propTypes={options:E.arrayOf(E.shape({label:E.string,value:E.any})).isRequired,placeholder:E.string,onChange:E.func,isInvalid:E.bool,errMsg:E.string,id:E.string,name:E.string,dataTestId:E.string,enableSearch:E.bool};const V=({placement:e="top",caption:t,children:r,customStyles:s,visibility:l=!0})=>n.jsxs(n.Fragment,{children:[n.jsxs("div",{className:` tooltip-wrapper tooltip-${e}`,tabIndex:"0",children:[r,l&&n.jsx("div",{className:`tooltip-content shadow-sm ${s}`,role:"tooltip",children:t})]}),n.jsx("style",{jsx:!0,children:`\n .tooltip-wrapper {\n position: relative;\n display: inline-block;\n cursor: pointer;\n }\n\n .tooltip-content {\n position: absolute;\n z-index: 999;\n background-color: var(--kt-secondary);\n color: var(--kt-secondary-inverse);\n padding: 4px 8px;\n border-radius: 0.375rem;\n font-size: 0.9rem;\n line-height: 1.2;\n text-wrap: nowrap;\n white-space: ${s?"normal":"nowrap"};\n visibility: hidden;\n opacity: 0;\n transition: opacity 0.2s ease-in-out;\n pointer-events: none;\n border: 1px rgba(0, 0, 0, 0.82);\n }\n\n .tooltip-wrapper:hover .tooltip-content,\n .tooltip-wrapper:focus-within .tooltip-content {\n visibility: visible;\n opacity: 1;\n }\n\n .tooltip-content::after {\n content: "";\n position: absolute;\n border-style: solid;\n }\n\n /* Top */\n .tooltip-top .tooltip-content {\n bottom: 125%;\n left: 50%;\n transform: translateX(-50%);\n }\n\n .tooltip-top .tooltip-content::after {\n top: 100%;\n left: 50%;\n margin-left: -5px;\n border-width: 5px;\n border-color: var(--kt-secondary) transparent transparent transparent;\n }\n\n /* Bottom */\n .tooltip-bottom .tooltip-content {\n top: 125%;\n left: 50%;\n transform: translateX(-50%);\n }\n\n .tooltip-bottom .tooltip-content::after {\n bottom: 100%;\n left: 50%;\n margin-left: -5px;\n border-width: 5px;\n border-color: transparent transparent var(--kt-secondary) transparent;\n }\n\n /* Left */\n .tooltip-left .tooltip-content {\n right: 125%;\n top: 50%;\n transform: translateY(-50%);\n }\n\n .tooltip-left .tooltip-content::after {\n top: 50%;\n left: 100%;\n margin-top: -5px;\n border-width: 5px;\n border-color: transparent transparent transparent var(--kt-secondary);\n }\n\n /* Right */\n .tooltip-right .tooltip-content {\n left: 125%;\n top: 50%;\n transform: translateY(-50%);\n }\n\n .tooltip-right .tooltip-content::after {\n top: 50%;\n right: 100%;\n margin-top: -5px;\n border-width: 5px;\n border-color: transparent var(--kt-secondary) transparent transparent;\n }\n `})]});V.propTypes={placement:E.oneOf(["top","bottom","left","right"]),caption:E.string.isRequired,children:E.node.isRequired};!function(e,n){void 0===n&&(n={});var t=n.insertAt;if("undefined"!=typeof document){var r=document.head||document.getElementsByTagName("head")[0],s=document.createElement("style");s.type="text/css","top"===t&&r.firstChild?r.insertBefore(s,r.firstChild):r.appendChild(s),s.styleSheet?s.styleSheet.cssText=e:s.appendChild(document.createTextNode(e))}}(".pc-table tr {\r\n border-bottom-width: 1px;\r\n border-bottom-style: dashed;\r\n border-bottom-color: var(--kt-border-color);\r\n}\r\n.pc-table>:not(:last-child)>:last-child>*\r\n {\r\n border-bottom-color: inherit;\r\n}\r\n\r\n.pc-table.table.gy-3 td, .pc-table.table.gy-3 th {\r\n padding-top: 1rem;\r\n padding-bottom: 1rem;\r\n}\r\n .pc-table.table.gy-3 th {\r\n font-weight: 600;\r\n}\r\n.pc-table >:not(:first-child) {\r\n border-color: transparent;\r\n border-width: 0;\r\n border-style: none;\r\n}\r\n.pc-table td:last-child, .pc-table th:last-child {\r\n padding-right: 1rem;\r\n}\r\n.pc-table.table-hover>tbody>tr:hover>* {\r\n background-color: var(--bs-table-hover-bg);\r\n color: var(--bs-table-hover-color);\r\n}\r\n.dataTables_info {\r\n display: flex;\r\n flex-direction: column;\r\n font-weight: 500;\r\n color: var(--kt-gray-700);\r\n padding: 1rem 0;\r\n}\r\n.pc-pagination-wrp .page-link{\r\n font-weight: 500;\r\n font-size: 1rem;\r\n}\r\n.pc-pagination-wrp i{\r\n font-size: 0.75rem;\r\n}");const A=({value:e,onChange:t,isDisabled:r=!1,isInvalid:s=!1,maxChar:l=null,showCharCount:o=!1,cols:a=30,rows:i=4,id:c,name:d,dataTestId:p,errMsg:u="",placeholder:h=""})=>n.jsxs("div",{className:"position-relative w-100",children:[l&&o&&n.jsxs("div",{className:"form-text text-end",children:[e.length,"/",l," characters"]}),n.jsx("textarea",{id:c,name:d,"data-testid":p,className:"form-control pc-ele-border "+(s?"invalid":""),cols:a,rows:i,value:e,onChange:e=>{const{value:n}=e.target;(!l||n.length<=l)&&t?.(d,n)},placeholder:h,disabled:r}),s&&u&&n.jsx("div",{className:"d-block position-absolute w-100 mt-1 pc-err-txt",style:{top:"100%"},children:u}),n.jsx("style",{jsx:!0,children:"\n .slc-dropdown-options-wrp {\n border-radius: 0.375rem;\n background-color: var(--kt-dropdown-bg);\n }\n .pc-select-opt:hover {\n background-color: var(--kt-input-solid-bg);\n }\n .pc-select-opt-input {\n margin-top: 3px;\n }\n .pc-select-opt {\n color: var(--kt-form-check-label-color-checked);\n }\n .pc-ele-border {\n border: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color);\n }\n .pc-ele-border.invalid{\n border-color: var(--kt-danger);\n }\n .pc-err-txt {\n color: var(--kt-danger);\n }\n "})]});A.propTypes={value:E.string.isRequired,onChange:E.func,isDisabled:E.bool,isInvalid:E.bool,maxChar:E.number,showCharCount:E.bool,cols:E.number,rows:E.number,id:E.string,name:E.string,dataTestId:E.string,errMsg:E.string,placeholder:E.string};const R={ArrowRightBold:e=>n.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",...e,children:n.jsx("path",{fill:"currentColor",d:"m224.49 136.49l-72 72a12 12 0 0 1-17-17L187 140H40a12 12 0 0 1 0-24h147l-51.49-51.52a12 12 0 0 1 17-17l72 72a12 12 0 0 1-.02 17.01"})}),Conditions:e=>n.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",...e,children:n.jsx("path",{fill:"currentColor",d:"M3.25 4.07V1.75a.75.75 0 0 1 1.5 0v2.32a4.001 4.001 0 0 1 0 7.86v2.32a.75.75 0 0 1-1.5 0v-2.32a4.001 4.001 0 0 1 0-7.86M4 10.5a2.5 2.5 0 1 0 0-5a2.5 2.5 0 0 0 0 5M9.75 4a.75.75 0 0 0 0 1.5h5.5a.75.75 0 0 0 0-1.5zm0 3.25a.75.75 0 0 0 0 1.5h5.5a.75.75 0 0 0 0-1.5zm-.75 4a.75.75 0 0 1 .75-.75h5.5a.75.75 0 0 1 0 1.5h-5.5a.75.75 0 0 1-.75-.75",clipRule:"evenodd"})}),Up:e=>n.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"40",height:"40",viewBox:"0 0 24 24",...e,children:n.jsx("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"1.5",d:"m8 14l4-4l4 4",...e})}),Down:e=>n.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"40",height:"40",viewBox:"0 0 24 24",...e,children:n.jsx("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"1.5",d:"m8 10l4 4l4-4"})}),NewRow:e=>n.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"128",height:"128",viewBox:"0 0 24 24",...e,children:n.jsx("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M3 14v1a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-2a2 2 0 0 0-2-2h-6m-3-3H7m0 0H4m3 0V5m0 3v3"})}),Settings:e=>n.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",...e,children:n.jsx("path",{fill:"currentColor","fill-rule":"evenodd",d:"M12.563 3.2h-1.126l-.645 2.578l-.647.2a6.3 6.3 0 0 0-1.091.452l-.599.317l-2.28-1.368l-.796.797l1.368 2.28l-.317.598a6.3 6.3 0 0 0-.453 1.091l-.199.647l-2.578.645v1.126l2.578.645l.2.647q.173.568.452 1.091l.317.599l-1.368 2.28l.797.796l2.28-1.368l.598.317q.523.278 1.091.453l.647.199l.645 2.578h1.126l.645-2.578l.647-.2a6.3 6.3 0 0 0 1.091-.452l.599-.317l2.28 1.368l.796-.797l-1.368-2.28l.317-.598q.278-.523.453-1.091l.199-.647l2.578-.645v-1.126l-2.578-.645l-.2-.647a6.3 6.3 0 0 0-.452-1.091l-.317-.599l1.368-2.28l-.797-.796l-2.28 1.368l-.598-.317a6.3 6.3 0 0 0-1.091-.453l-.647-.199zm2.945 2.17l1.833-1.1a1 1 0 0 1 1.221.15l1.018 1.018a1 1 0 0 1 .15 1.221l-1.1 1.833q.33.62.54 1.3l2.073.519a1 1 0 0 1 .757.97v1.438a1 1 0 0 1-.757.97l-2.073.519q-.21.68-.54 1.3l1.1 1.833a1 1 0 0 1-.15 1.221l-1.018 1.018a1 1 0 0 1-1.221.15l-1.833-1.1q-.62.33-1.3.54l-.519 2.073a1 1 0 0 1-.97.757h-1.438a1 1 0 0 1-.97-.757l-.519-2.073a7.5 7.5 0 0 1-1.3-.54l-1.833 1.1a1 1 0 0 1-1.221-.15L4.42 18.562a1 1 0 0 1-.15-1.221l1.1-1.833a7.5 7.5 0 0 1-.54-1.3l-2.073-.519A1 1 0 0 1 2 12.72v-1.438a1 1 0 0 1 .757-.97l2.073-.519q.21-.68.54-1.3L4.27 6.66a1 1 0 0 1 .15-1.221L5.438 4.42a1 1 0 0 1 1.221-.15l1.833 1.1q.62-.33 1.3-.54l.519-2.073A1 1 0 0 1 11.28 2h1.438a1 1 0 0 1 .97.757l.519 2.073q.68.21 1.3.54zM12 14.8a2.8 2.8 0 1 0 0-5.6a2.8 2.8 0 0 0 0 5.6m0 1.2a4 4 0 1 1 0-8a4 4 0 0 1 0 8"})}),SettingsTutorial:e=>n.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",...e,children:n.jsx("path",{fill:"currentColor","fill-rule":"evenodd",d:"M13.435 2.075a3.33 3.33 0 0 0-2.87 0c-.394.189-.755.497-1.26.928l-.079.066a2.56 2.56 0 0 1-1.58.655l-.102.008c-.662.053-1.135.09-1.547.236a3.33 3.33 0 0 0-2.03 2.029c-.145.412-.182.885-.235 1.547l-.008.102a2.56 2.56 0 0 1-.655 1.58l-.066.078c-.431.506-.74.867-.928 1.261a3.33 3.33 0 0 0 0 2.87c.189.394.497.755.928 1.26l.066.079c.41.48.604.939.655 1.58l.008.102c.053.662.09 1.135.236 1.547a3.33 3.33 0 0 0 2.029 2.03c.412.145.885.182 1.547.235l.102.008c.629.05 1.09.238 1.58.655l.078.066c.506.431.867.74 1.261.928a3.33 3.33 0 0 0 2.87 0c.394-.189.755-.497 1.26-.928l.079-.066c.48-.41.939-.604 1.58-.655l.102-.008c.662-.053 1.135-.09 1.547-.236a3.33 3.33 0 0 0 2.03-2.029c.145-.412.182-.885.235-1.547l.008-.102c.05-.629.238-1.09.655-1.58l.066-.079c.431-.505.74-.866.928-1.26a3.33 3.33 0 0 0 0-2.87c-.189-.394-.497-.755-.928-1.26l-.066-.079a2.56 2.56 0 0 1-.655-1.58l-.008-.102c-.053-.662-.09-1.135-.236-1.547a3.33 3.33 0 0 0-2.029-2.03c-.412-.145-.885-.182-1.547-.235l-.102-.008a2.56 2.56 0 0 1-1.58-.655l-.079-.066c-.505-.431-.866-.74-1.26-.928M12 7.25a.75.75 0 0 1 .75.75v.5a.75.75 0 0 1-1.5 0V8a.75.75 0 0 1 .75-.75M10.75 16a.75.75 0 0 1 .5-.707v-3.586a.75.75 0 0 1 .25-1.457h.5a.75.75 0 0 1 .75.75v4.293a.75.75 0 0 1-.25 1.457h-1a.75.75 0 0 1-.75-.75"})}),CrmUserSettingsListSettings:e=>n.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",...e,children:n.jsx("path",{fill:"currentColor",d:"M19.14 12.94c.04-.3.06-.61.06-.94c0-.32-.02-.64-.07-.94l2.03-1.58a.49.49 0 0 0 .12-.61l-1.92-3.32a.49.49 0 0 0-.59-.22l-2.39.96c-.5-.38-1.03-.7-1.62-.94l-.36-2.54a.484.484 0 0 0-.48-.41h-3.84c-.24 0-.43.17-.47.41l-.36 2.54c-.59.24-1.13.57-1.62.94l-2.39-.96c-.22-.08-.47 0-.59.22L2.74 8.87c-.12.21-.08.47.12.61l2.03 1.58c-.05.3-.09.63-.09.94s.02.64.07.94l-2.03 1.58a.49.49 0 0 0-.12.61l1.92 3.32c.12.22.37.29.59.22l2.39-.96c.5.38 1.03.7 1.62.94l.36 2.54c.05.24.24.41.48.41h3.84c.24 0 .44-.17.47-.41l.36-2.54c.59-.24 1.13-.56 1.62-.94l2.39.96c.22.08.47 0 .59-.22l1.92-3.32c.12-.22.07-.47-.12-.61zM12 15.6c-1.98 0-3.6-1.62-3.6-3.6s1.62-3.6 3.6-3.6s3.6 1.62 3.6 3.6s-1.62 3.6-3.6 3.6"})}),CrmUserSettingsEdit:e=>n.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",...e,children:n.jsx("path",{fill:"currentColor",d:"M15.891 3.048a3.578 3.578 0 1 1 5.061 5.06l-.892.893L15 3.94zM13.94 5.001L3.94 15a3.1 3.1 0 0 0-.825 1.476L2.02 21.078a.75.75 0 0 0 .904.903l4.601-1.096a3.1 3.1 0 0 0 1.477-.825l1.151-1.151a6.5 6.5 0 0 1 7.754-7.755L19 10.06zm-.662 8.975a2 2 0 0 1-1.441 2.497l-.584.144a5.7 5.7 0 0 0 .006 1.807l.54.13a2 2 0 0 1 1.45 2.51l-.187.632c.44.386.94.699 1.485.922l.493-.52a2 2 0 0 1 2.899.001l.499.525a5.3 5.3 0 0 0 1.482-.913l-.198-.686a2 2 0 0 1 1.442-2.496l.583-.144a5.7 5.7 0 0 0-.006-1.808l-.54-.13a2 2 0 0 1-1.449-2.51l.186-.63a5.3 5.3 0 0 0-1.484-.923l-.493.519a2 2 0 0 1-2.9 0l-.498-.525c-.544.22-1.044.53-1.483.912zm3.222 5.025c-.8 0-1.45-.672-1.45-1.5c0-.829.65-1.5 1.45-1.5s1.45.671 1.45 1.5c0 .828-.65 1.5-1.45 1.5"})}),CrmSaveUserConfig:e=>n.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",...e,children:n.jsx("path",{fill:"currentColor",d:"M13.23 22v-2.21l5.334-5.307q.148-.13.307-.19q.16-.062.32-.062q.165 0 .334.064q.17.065.298.194l.925.944q.123.148.187.308q.065.159.065.319t-.052.322t-.2.31L15.44 22zM6.77 9.77h7.422v-3H6.77zm12.42 7.246l.925-.956l-.924-.944l-.95.95zM10.463 20H5.616q-.672 0-1.144-.472T4 18.385V5.615q0-.67.472-1.143Q4.944 4 5.616 4h10.961L20 7.423v4.146q-.244-.085-.468-.099t-.474.003q-.635.017-1.264.265t-1.106.718l-2.822 2.804q.096-.166.134-.322t.039-.361q0-.846-.577-1.423t-1.423-.577t-1.423.577t-.577 1.423t.577 1.423t1.423.577q.178 0 .348-.039t.329-.134l-2.254 2.234z"})}),CrmOutletLead:e=>n.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",...e,children:n.jsx("path",{fill:"currentColor",d:"M20.16 7.8c-.09-.46-.5-.8-.98-.8H4.82c-.48 0-.89.34-.98.8L3 12v1c0 .55.45 1 1 1v5c0 .55.45 1 1 1h8c.55 0 1-.45 1-1v-5h4v5c0 .55.45 1 1 1s1-.45 1-1v-5c.55 0 1-.45 1-1v-1zM12 18H6v-4h6zM5 6h14c.55 0 1-.45 1-1s-.45-1-1-1H5c-.55 0-1 .45-1 1s.45 1 1 1"})}),CrmCustomerLead:e=>n.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",...e,children:n.jsxs("g",{fill:"none",children:[n.jsx("path",{d:"m12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035q-.016-.005-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427q-.004-.016-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093q.019.005.029-.008l.004-.014l-.034-.614q-.005-.018-.02-.022m-.715.002a.02.02 0 0 0-.027.006l-.006.014l-.034.614q.001.018.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z"}),n.jsx("path",{fill:"currentColor",d:"M16 14a5 5 0 0 1 4.995 4.783L21 19v1a2 2 0 0 1-1.85 1.995L19 22H5a2 2 0 0 1-1.995-1.85L3 20v-1a5 5 0 0 1 4.783-4.995L8 14zM12 2a5 5 0 1 1 0 10a5 5 0 0 1 0-10"})]})}),CrmLeadFormSettingsButton:e=>n.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",...e,children:n.jsx("path",{fill:"currentColor",d:"M23.33 12.65v1a1 1 0 0 1-.8 1l-1.24.25a9.3 9.3 0 0 1-1.18 2.81l.71 1.06A1 1 0 0 1 20.7 20l-1.37 1.37a1 1 0 0 1-1.26.12L17 20.77A9.3 9.3 0 0 1 14.2 22l-.2 1.19a1 1 0 0 1-1 .8h-2a1 1 0 0 1-1-.8L9.8 22A9.3 9.3 0 0 1 7 20.77l-1.06.71a1 1 0 0 1-1.26-.12L3.3 20a1 1 0 0 1-.12-1.26l.71-1.06a9.3 9.3 0 0 1-1.18-2.81l-1.24-.25a1 1 0 0 1-.8-1v-1h6.56a4.77 4.77 0 0 0 9.54 0Zm-6.16-8.84a2.32 2.32 0 1 0 4.64 0a2.32 2.32 0 1 0-4.64 0m-14.97 0a2.32 2.32 0 1 0 4.64 0a2.32 2.32 0 1 0-4.64 0M6.8 8.8a5 5 0 0 0-1.15-.54A4.92 4.92 0 0 0 0 10.64h5.73A11 11 0 0 1 6.8 8.8m11.38 1.87H24a4.92 4.92 0 0 0-5.66-2.4a5 5 0 0 0-1.17.55a11.5 11.5 0 0 1 1.01 1.85m-1.11 0A5.74 5.74 0 0 0 12 7a5.76 5.76 0 0 0-5.12 3.68ZM8.99 2.91a2.91 2.91 0 1 0 5.82 0a2.91 2.91 0 1 0-5.82 0"})}),CrmLeadOutletSettings:e=>n.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",...e,children:n.jsx("path",{fill:"currentColor",d:"M20.16 7.8c-.09-.46-.5-.8-.98-.8H4.82c-.48 0-.89.34-.98.8L3 12v1c0 .55.45 1 1 1v5c0 .55.45 1 1 1h8c.55 0 1-.45 1-1v-5h4v5c0 .55.45 1 1 1s1-.45 1-1v-5c.55 0 1-.45 1-1v-1zM12 18H6v-4h6zM5 6h14c.55 0 1-.45 1-1s-.45-1-1-1H5c-.55 0-1 .45-1 1s.45 1 1 1"})}),CrmOpportunitySettings:e=>n.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",...e,children:n.jsx("path",{fill:"currentColor",d:"M1.998 21v-2h2V4.835a1 1 0 0 1 .821-.984l9.472-1.722a.6.6 0 0 1 .707.59v1.28l4 .001a1 1 0 0 1 1 1v14h2v2h-4V6h-3v15zm10-10h-2v2h2z"})}),CrmUserSettings:e=>n.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:640,height:512,viewBox:"0 0 640 512",...e,children:n.jsx("path",{fill:"currentColor",d:"M224 0a128 128 0 1 1 0 256a128 128 0 1 1 0-256m-45.7 304h91.4c11.8 0 23.4 1.2 34.5 3.3c-2.1 18.5 7.4 35.6 21.8 44.8c-16.6 10.6-26.7 31.6-20 53.3c4 12.9 9.4 25.5 16.4 37.6s15.2 23.1 24.4 33c15.7 16.9 39.6 18.4 57.2 8.7v.9c0 9.2 2.7 18.5 7.9 26.3l-382.2.1C13.3 512 0 498.7 0 482.3C0 383.8 79.8 304 178.3 304M436 218.2c0-7 4.5-13.3 11.3-14.8c10.5-2.4 21.5-3.7 32.7-3.7s22.2 1.3 32.7 3.7c6.8 1.5 11.3 7.8 11.3 14.8v30.6c7.9 3.4 15.4 7.7 22.3 12.8l24.9-14.3c6.1-3.5 13.7-2.7 18.5 2.4c7.6 8.1 14.3 17.2 20.1 27.2s10.3 20.4 13.5 31c2.1 6.7-1.1 13.7-7.2 17.2l-25 14.4c.4 4 .7 8.1.7 12.3s-.2 8.2-.7 12.3l25 14.4c6.1 3.5 9.2 10.5 7.2 17.2c-3.3 10.6-7.8 21-13.5 31s-12.5 19.1-20.1 27.2c-4.8 5.1-12.5 5.9-18.5 2.4L546.3 442c-6.9 5.1-14.3 9.4-22.3 12.8v30.6c0 7-4.5 13.3-11.3 14.8c-10.5 2.4-21.5 3.7-32.7 3.7s-22.2-1.3-32.7-3.7c-6.8-1.5-11.3-7.8-11.3-14.8v-30.5c-8-3.4-15.6-7.7-22.5-12.9l-24.7 14.3c-6.1 3.5-13.7 2.7-18.5-2.4c-7.6-8.1-14.3-17.2-20.1-27.2s-10.3-20.4-13.5-31c-2.1-6.7 1.1-13.7 7.2-17.2l24.8-14.3c-.4-4.1-.7-8.2-.7-12.4s.2-8.3.7-12.4L343.8 325c-6.1-3.5-9.2-10.5-7.2-17.2c3.3-10.6 7.7-21 13.5-31s12.5-19.1 20.1-27.2c4.8-5.1 12.4-5.9 18.5-2.4l24.8 14.3c6.9-5.1 14.5-9.4 22.5-12.9v-30.5zm92.1 133.5a48.1 48.1 0 1 0-96.1 0a48.1 48.1 0 1 0 96.1 0"})}),EmailIconWithCount:({count:e=0,props:t})=>n.jsxs("div",{className:"position-relative email-icon-wrapper",children:[n.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",...t,children:n.jsx("path",{fill:"currentColor",d:"m20 8l-8 5l-8-5V6l8 5l8-5m0-2H4c-1.11 0-2 .89-2 2v12a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2"})}),e>0&&n.jsx("span",{className:"counter-badge",children:e>9?"9+":e}),n.jsx("style",{jsx:!0,children:"\n .counter-badge {\n position: absolute;\n top: 10px;\n right: -1px;\n min-width: 10px;\n height: 10px;\n background-color: red;\n color: white;\n font-size: 7px;\n border-radius: 50%;\n display: flex;\n justify-content: center;\n align-items: center;\n padding: 2px;\n font-weight: bold;\n }\n "})]}),ViewOriginal:e=>n.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 56 56",...e,children:n.jsx("path",{fill:"currentColor",d:"M28.01 46.403C44.556 46.403 56 33.017 56 28.844c0-4.193-11.465-17.558-27.99-17.558C11.588 11.286 0 24.651 0 28.844c0 4.173 11.671 17.559 28.01 17.559m0-6.053c-6.445 0-11.526-5.226-11.567-11.506C16.422 22.4 21.565 17.34 28.01 17.34c6.404 0 11.547 5.06 11.547 11.505c0 6.28-5.143 11.506-11.547 11.506m0-7.354c2.293 0 4.194-1.88 4.194-4.152c0-2.293-1.9-4.172-4.194-4.172c-2.313 0-4.214 1.88-4.214 4.172c0 2.273 1.9 4.152 4.214 4.152"})}),SyncDocument:e=>n.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",...e,children:n.jsx("path",{fill:"currentColor",d:"M11 17.5c0-3.6 2.9-6.5 6.5-6.5c.9 0 1.7.2 2.5.5V8l-6-6H6c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h6.8c-1.1-1.2-1.8-2.8-1.8-4.5m2-14L18.5 9H13zm4 8.5v1.5c2.2 0 4 1.8 4 4c0 .8-.2 1.6-.7 2.2l-1.1-1.1c.2-.3.3-.7.3-1.1c0-1.4-1.1-2.5-2.5-2.5v1.5l-2.2-2.2zm0 11v-1.5c-2.2 0-4-1.8-4-4c0-.8.2-1.6.7-2.2l1.1 1.1c-.2.3-.3.7-.3 1.1c0 1.4 1.1 2.5 2.5 2.5v-1.5l2.2 2.2z"})}),ResendDocument:e=>n.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:10,height:9,fill:"none",viewBox:"0 0 10 9",...e,children:n.jsx("path",{fill:"currentColor",d:"M.855.471C.38.471 0 .838 0 1.296v4.947c0 .219.09.429.25.583a.87.87 0 0 0 .605.242H5.34a2.599 2.599 0 0 1-.214-1.03c0-.712.293-1.393.814-1.896a2.83 2.83 0 0 1 2.604-.71V1.296a.81.81 0 0 0-.25-.583A.87.87 0 0 0 7.69.47H.855Zm0 .825 3.418 2.061L7.69 1.296v.825L4.273 4.18.855 2.122v-.825ZM7.69 3.77l-.962.927.962.928v-.619c.283 0 .555.109.755.302a1.013 1.013 0 0 1 .202 1.19l.465.45c.18-.26.287-.573.287-.91 0-.912-.765-1.65-1.71-1.65V3.77ZM6.268 5.126c-.18.26-.286.573-.286.911 0 .911.764 1.65 1.709 1.65v.618l.961-.928-.961-.928v.619c-.284 0-.555-.109-.756-.302a1.013 1.013 0 0 1-.201-1.19l-.466-.45Z"})}),SignedDocument:e=>n.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:7,height:8,viewBox:"0 0 7 10",...e,children:n.jsx("path",{fill:"currentColor",d:"M4.083 2.656V0H.437C.196 0 0 .209 0 .469V9.53c0 .26.195.469.438.469h6.125C6.804 10 7 9.791 7 9.531V3.125H4.52c-.24 0-.437-.21-.437-.469Zm-2.916-1.25c0-.086.065-.156.145-.156h1.459c.08 0 .146.07.146.156v.313c0 .086-.066.156-.146.156H1.313c-.081 0-.146-.07-.146-.156v-.313Zm0 1.25c0-.086.065-.156.145-.156h1.459c.08 0 .146.07.146.156v.313c0 .086-.066.156-.146.156H1.313c-.081 0-.146-.07-.146-.156v-.313ZM4.68 7.5h.86c.162 0 .292.14.292.313 0 .172-.13.312-.291.312h-.86a.78.78 0 0 1-.705-.466c-.054-.116-.147-.127-.185-.127a.197.197 0 0 0-.183.12l-.14.3a.305.305 0 0 1-.107.126.277.277 0 0 1-.174.046.295.295 0 0 1-.256-.213l-.307-.985-.193.622a.794.794 0 0 1-.748.577h-.226c-.16 0-.291-.14-.291-.313 0-.172.13-.312.291-.312h.226c.088 0 .166-.06.194-.15l.332-1.067a.442.442 0 0 1 .415-.32c.188 0 .355.128.415.32l.253.813c.36-.316.985-.189 1.203.277.037.08.109.127.185.127Zm2.191-5.45L5.088.138A.423.423 0 0 0 4.778 0h-.111v2.5H7v-.12a.485.485 0 0 0-.128-.33Z"})}),DocumentVoid:e=>n.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:15,height:20,viewBox:"0 0 9 11",...e,children:n.jsx("path",{d:"M2.548 4.692a.43.43 0 0 0 .43-.44.432.432 0 0 0-.123-.314.412.412 0 0 0-.307-.126.412.412 0 0 0-.306.126.432.432 0 0 0-.124.314.43.43 0 0 0 .43.44Zm1.785.88H2.548a.412.412 0 0 0-.306.126.432.432 0 0 0-.124.314.43.43 0 0 0 .43.44h2.646l-.86-.88Zm4.56 2.157L5.924 4.692h.924a.43.43 0 0 0 .43-.44.431.431 0 0 0-.123-.314.411.411 0 0 0-.307-.126H5.065l-2.581-2.64H8.14a.82.82 0 0 1 .608.258c.168.172.252.38.252.621V7.29c0 .08-.007.157-.022.23a.587.587 0 0 1-.086.21Zm-.818 1.65L6.914 8.213H1.258a.819.819 0 0 1-.607-.259.858.858 0 0 1-.253-.621V2.05c0-.242.084-.449.253-.621a.818.818 0 0 1 .607-.259l3.44 3.52H3.496L.118 1.238A.423.423 0 0 1 0 .93C0 .804.04.702.118.621A.403.403 0 0 1 .42.5C.541.5.642.54.72.621l7.957 8.142c.08.08.12.181.124.303a.415.415 0 0 1-.124.313.403.403 0 0 1-.3.121.403.403 0 0 1-.302-.121Z"})}),SendDocument:e=>n.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:23,height:23,viewBox:"0 0 23 23",...e,children:n.jsx("path",{fill:"currentColor",d:"M4.4 19.425q-.5.2-.95-.088T3 18.5V14l8-2l-8-2V5.5q0-.55.45-.837t.95-.088l15.4 6.5q.625.275.625.925t-.625.925z"})}),DeleteCrm:e=>n.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",...e,children:n.jsx("path",{fill:"currentColor",d:"M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6zM19 4h-3.5l-1-1h-5l-1 1H5v2h14z"})}),CrmLink:e=>n.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",...e,children:n.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M12.415 4.84a4.775 4.775 0 0 1 6.752 6.752l-.013.013l-2.264 2.265a4.776 4.776 0 0 1-7.201-.516a1 1 0 0 1 1.601-1.198a2.774 2.774 0 0 0 4.185.3l2.259-2.259a2.776 2.776 0 0 0-3.925-3.923L12.516 7.56a1 1 0 0 1-1.41-1.418l1.298-1.291zM8.818 9.032a4.775 4.775 0 0 1 5.492 1.614a1 1 0 0 1-1.601 1.198a2.775 2.775 0 0 0-4.185-.3l-2.258 2.259a2.775 2.775 0 0 0 3.923 3.924l1.285-1.285a1 1 0 1 1 1.414 1.414l-1.291 1.291l-.012.013a4.775 4.775 0 0 1-6.752-6.752l.012-.013L7.11 10.13a4.8 4.8 0 0 1 1.708-1.098",clipRule:"evenodd"})}),CrmWarning:e=>n.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",...e,children:[n.jsx("path",{fill:"currentColor",d:"M11.001 10h2v5h-2zM11 16h2v2h-2z"}),n.jsx("path",{fill:"currentColor",d:"M13.768 4.2C13.42 3.545 12.742 3.138 12 3.138s-1.42.407-1.768 1.063L2.894 18.064a1.99 1.99 0 0 0 .054 1.968A1.98 1.98 0 0 0 4.661 21h14.678c.708 0 1.349-.362 1.714-.968a1.99 1.99 0 0 0 .054-1.968zM4.661 19L12 5.137L19.344 19z"})]}),CrmError:e=>n.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",...e,children:n.jsx("path",{fill:"currentColor",d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10s10-4.48 10-10S17.52 2 12 2m1 15h-2v-2h2zm0-4h-2V7h2z"})})};function q(e){var n,t,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e)){var s=e.length;for(n=0;n<s;n++)e[n]&&(t=q(e[n]))&&(r&&(r+=" "),r+=t)}else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}function H(){for(var e,n,t=0,r="",s=arguments.length;t<s;t++)(e=arguments[t])&&(n=q(e))&&(r&&(r+=" "),r+=n);return r}const D=({fluid:e=!1,className:t="",children:r,...s})=>{const l=H(e?"container-fluid":"container",t);return n.jsx("div",{className:l,...s,children:r})};D.propTypes={fluid:E.bool,className:E.string,children:E.node};const I=({justify:e="",align:t="",className:r="",children:s,...l})=>{const o=H("row",e&&`justify-content-${e}`,t&&`align-items-${t}`,r);return n.jsx("div",{className:o,...l,children:s})};I.propTypes={justify:E.oneOf(["start","center","end","around","between","evenly"]),align:E.oneOf(["start","center","end","stretch","baseline"]),className:E.string,children:E.node};const _=({xs:e,sm:t,md:r,lg:s,xl:l,offset:o,order:a,className:i="",children:c,...d})=>{const p=H(void 0!==e&&`col-${e}`,void 0!==t&&`col-sm-${t}`,void 0!==r&&`col-md-${r}`,void 0!==s&&`col-lg-${s}`,void 0!==l&&`col-xl-${l}`,void 0!==o&&`offset-${o}`,void 0!==a&&`order-${a}`,i);return n.jsx("div",{className:p,...d,children:c})};_.propTypes={xs:E.oneOfType([E.string,E.number]),sm:E.oneOfType([E.string,E.number]),md:E.oneOfType([E.string,E.number]),lg:E.oneOfType([E.string,E.number]),xl:E.oneOfType([E.string,E.number]),offset:E.oneOfType([E.string,E.number]),order:E.oneOfType([E.string,E.number]),className:E.string,children:E.node};const B=()=>n.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",children:n.jsx("path",{fill:"none",stroke:"currentColor",strokeDasharray:12,strokeDashoffset:12,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 12l7 7M12 12l-7 -7M12 12l-7 7M12 12l7 -7",children:n.jsx("animate",{fill:"freeze",attributeName:"stroke-dashoffset",dur:"0.3s",values:"12;0"})})}),F=({label:t="Enter Label",required:r=!1,type:s="",placeholder:l="",errorMessage:o="",value:a,onChange:i,disabled:c=!1,className:d="",maxLength:p,minLength:u,inputSymbol:h,...m})=>{const f=e.useId(),g=m.id||`input-${f}`;return n.jsxs("div",{className:"form-group-lg",children:[n.jsx("label",{htmlFor:g,className:"form-label "+(r?"required":""),children:t}),n.jsxs("div",{className:"input-group",style:{fontFamily:"inherit"},children:[h&&n.jsx("span",{className:"input-group-text border",children:h}),n.jsx("input",{id:g,type:s,placeholder:"date"===s?void 0:l,value:a,required:r,onChange:i,disabled:c,maxLength:p,minLength:u,className:`form-control form-control-solid border${o?" is-invalid border-danger":""}${d?` ${d}`:""}`,...m})]}),o&&n.jsx("span",{className:"input-error text-danger",style:{fontSize:13,marginTop:4,display:"block"},children:o})]})};F.propTypes={label:E.string,required:E.bool,type:E.string,placeholder:E.string,errorMessage:E.string,value:E.oneOfType([E.string,E.number]),onChange:E.func,disabled:E.bool,className:E.string,maxLength:E.oneOfType([E.string,E.number]),minLength:E.oneOfType([E.string,E.number]),inputSymbol:E.node,id:E.string};const K=e=>{if(""===e||null===e)return"";const n=Number(e.toString().replace(/[^\d.-]/g,""));return isNaN(n)?"":n.toLocaleString("en-US",{style:"currency",currency:"USD",minimumFractionDigits:0,maximumFractionDigits:0})},Z={small:"spinner-border-sm",medium:"",large:"spinner-border-lg"},W={primary:"text-primary",secondary:"text-secondary",success:"text-success",danger:"text-danger",warning:"text-warning",info:"text-info",light:"text-light",dark:"text-dark"},Y={primary:"#007bff",secondary:"#6c757d",success:"#28a745",danger:"#dc3545",warning:"#ffc107",info:"#17a2b8",light:"#f8f9fa",dark:"#343a40"},U="table",J="dots",X="bar",G="circular",Q="pulse",ee="text",ne="wave",te=({size:e="medium",color:t="primary",ariaLabel:r="Loading...",loadingType:s="spinner",className:l="",placeholderRows:o=4})=>{const a="large"===e?"":Z[e]||"",i=W[t]||W.primary,c="large"===e?{width:"3rem",height:"3rem",borderWidth:"0.3em"}:{};if(s===U){const e=Y[t]||Y.primary;return n.jsx("div",{className:"w-100",children:n.jsx("div",{className:"placeholder-glow",children:Array.from({length:o}).map((t,r)=>n.jsx("span",{className:`placeholder col-12 rounded bg-secondary${0===r?" mb-2":""}${r===o-1?" mt-2":" mb-2"}`,style:{height:44,display:"block",background:e}},r))})})}if(s===J){const e=Y[t]||Y.primary;return n.jsxs("div",{style:{display:"inline-flex",alignItems:"center"},"aria-label":r,children:[n.jsxs("span",{className:"dots-loader",children:[n.jsx("span",{style:{background:e}}),n.jsx("span",{style:{background:e}}),n.jsx("span",{style:{background:e}})]}),n.jsx("style",{children:"\n .dots-loader {\n display: inline-block;\n }\n .dots-loader span {\n display: inline-block;\n width: 8px;\n height: 8px;\n margin: 0 2px;\n border-radius: 50%;\n animation: dots-bounce 1s infinite;\n }\n .dots-loader span:nth-child(2) { animation-delay: 0.2s; }\n .dots-loader span:nth-child(3) { animation-delay: 0.4s; }\n @keyframes dots-bounce {\n 0%, 80%, 100% { transform: scale(1); }\n 40% { transform: scale(1.5); }\n }\n "})]})}if(s===X){const e=Y[t]||Y.primary;return n.jsxs("div",{style:{width:"100%",padding:"8px 0"},"aria-label":r,children:[n.jsx("div",{className:"bar-loader",children:n.jsx("div",{style:{background:e}})}),n.jsx("style",{children:"\n .bar-loader {\n width: 100%;\n height: 8px;\n background: #e0e0e0;\n border-radius: 4px;\n overflow: hidden;\n position: relative;\n }\n .bar-loader div {\n position: absolute;\n left: 0;\n top: 0;\n height: 100%;\n width: 30%;\n animation: bar-move 1.2s linear infinite;\n }\n @keyframes bar-move {\n 0% { left: -30%; }\n 100% { left: 100%; }\n }\n "})]})}if(s===Q){const e=Y[t]||Y.primary;return n.jsxs("div",{style:{display:"inline-flex",alignItems:"center"},"aria-label":r,children:[n.jsx("span",{className:"pulse-loader",style:{background:e}}),n.jsx("style",{children:"\n .pulse-loader {\n display: inline-block;\n width: 16px;\n height: 16px;\n border-radius: 50%;\n animation: pulse-grow 1s infinite;\n }\n @keyframes pulse-grow {\n 0%, 100% { transform: scale(1); opacity: 1; }\n 50% { transform: scale(1.5); opacity: 0.5; }\n }\n "})]})}if(s===ee){const e=Y[t]||Y.primary;return n.jsxs("div",{style:{display:"inline-flex",alignItems:"center"},"aria-label":r,children:[n.jsx("span",{style:{color:e},children:"Loading"}),n.jsx("span",{className:"ellipsis-loader",style:{color:e}}),n.jsx("style",{children:"\n .ellipsis-loader::after {\n content: '...';\n animation: ellipsis 1.2s infinite steps(4);\n }\n @keyframes ellipsis {\n 0% { content: ''; }\n 25% { content: '.'; }\n 50% { content: '..'; }\n 75% { content: '...'; }\n 100% { content: ''; }\n }\n "})]})}if(s===ne){const e=Y[t]||Y.primary;return n.jsxs("div",{style:{display:"inline-flex",alignItems:"center",gap:2},"aria-label":r,children:[n.jsxs("span",{className:"wave-loader",children:[n.jsx("span",{style:{background:e}}),n.jsx("span",{style:{background:e}}),n.jsx("span",{style:{background:e}}),n.jsx("span",{style:{background:e}}),n.jsx("span",{style:{background:e}})]}),n.jsx("style",{children:"\n .wave-loader {\n display: inline-block;\n height: 20px;\n }\n .wave-loader span {\n display: inline-block;\n width: 4px;\n height: 100%;\n margin: 0 2px;\n animation: wave-bounce 1.2s infinite;\n }\n .wave-loader span:nth-child(2) { animation-delay: 0.2s; }\n .wave-loader span:nth-child(3) { animation-delay: 0.4s; }\n .wave-loader span:nth-child(4) { animation-delay: 0.6s; }\n .wave-loader span:nth-child(5) { animation-delay: 0.8s; }\n @keyframes wave-bounce {\n 0%, 100% { transform: scaleY(1); }\n 50% { transform: scaleY(2); }\n }\n "})]})}if(s===G){const e=Y[t]||Y.primary;return n.jsxs("div",{style:{display:"inline-flex",alignItems:"center"},"aria-label":r,children:[n.jsxs("svg",{className:"circular-loader",width:"40",height:"40",viewBox:"0 0 40 40",children:[n.jsx("circle",{cx:"20",cy:"20",r:"18",stroke:e,strokeWidth:"4",fill:"none",opacity:"0.2"}),n.jsx("circle",{cx:"20",cy:"20",r:"18",stroke:e,strokeWidth:"4",fill:"none",strokeDasharray:"113",strokeDashoffset:"80",style:{animation:"circular-spin 1s linear infinite"}})]}),n.jsx("style",{children:"\n @keyframes circular-spin {\n 100% { stroke-dashoffset: 0; }\n }\n "})]})}return n.jsxs("div",{role:"status","aria-label":r,style:{display:"inline-flex",alignItems:"center"},children:[n.jsx("span",{className:`spinner-border ${a} ${i} ${l}`.trim(),style:c,"aria-hidden":"true"}),n.jsx("span",{className:"visually-hidden",children:r})]})},re=()=>n.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"15",height:"15",viewBox:"0 0 20 20",children:n.jsx("path",{fill:"currentColor",d:"M7 20h2V8h3L8 4L4 8h3zm13-4h-3V4h-2v12h-3l4 4z"})}),se=()=>n.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"12",viewBox:"0 0 14 12",children:n.jsx("path",{fill:"currentColor",d:"M3 0L6 3H3.75V12H2.25V3H0L3 0ZM6.75 9H13.5V7.5H6.75V9ZM6.75 6H12V4.5H6.75V6ZM6.75 12H15V10.5H6.75V12ZM6.75 3H10.5V1.5H6.75V3Z"})}),le=()=>n.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"15",height:"15",viewBox:"0 0 20 20",children:n.jsx("path",{fill:"currentColor",d:"m6 20l4-4H7V4H5v12H2zm5-12h9v2h-9zm0 4h7v2h-7zm0-8h11v2H11zm0 12h5v2h-5z"})}),oe=()=>n.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"15",height:"15",viewBox:"0 0 20 20",children:n.jsx("path",{fill:"currentColor",d:"M14 20.5h-4a.76.76 0 0 1-.75-.75V12L3.9 4.69a.73.73 0 0 1-.07-.78a.76.76 0 0 1 .67-.41h15a.76.76 0 0 1 .67.41a.73.73 0 0 1-.07.78L14.75 12v7.75a.76.76 0 0 1-.75.75M10.75 19h2.5v-7.25a.7.7 0 0 1 .15-.44L18 5H6l4.62 6.31a.7.7 0 0 1 .15.44Z"})}),ae=()=>n.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",version:"1.1",children:n.jsxs("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd",children:[n.jsx("polygon",{points:"0 0 24 0 24 24 0 24"}),n.jsx("path",{d:"M6.70710678,15.7071068 C6.31658249,16.0976311 5.68341751,16.0976311 5.29289322,15.7071068 C4.90236893,15.3165825 4.90236893,14.6834175 5.29289322,14.2928932 L11.2928932,8.29289322 C11.6714722,7.91431428 12.2810586,7.90106866 12.6757246,8.26284586 L18.6757246,13.7628459 C19.0828436,14.1360383 19.1103465,14.7686056 18.7371541,15.1757246 C18.3639617,15.5828436 17.7313944,15.6103465 17.3242754,15.2371541 L12.0300757,10.3841378 L6.70710678,15.7071068 Z",fill:"currentColor","fill-rule":"nonzero",transform:"translate(12.000003, 11.999999) rotate(-270.000000) translate(-12.000003, -11.999999) "})]})}),ie=()=>n.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",version:"1.1",children:n.jsxs("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd",children:[n.jsx("polygon",{points:"0 0 24 0 24 24 0 24"}),n.jsx("path",{d:"M6.70710678,15.7071068 C6.31658249,16.0976311 5.68341751,16.0976311 5.29289322,15.7071068 C4.90236893,15.3165825 4.90236893,14.6834175 5.29289322,14.2928932 L11.2928932,8.29289322 C11.6714722,7.91431428 12.2810586,7.90106866 12.6757246,8.26284586 L18.6757246,13.7628459 C19.0828436,14.1360383 19.1103465,14.7686056 18.7371541,15.1757246 C18.3639617,15.5828436 17.7313944,15.6103465 17.3242754,15.2371541 L12.0300757,10.3841378 L6.70710678,15.7071068 Z",fill:"currentColor","fill-rule":"nonzero",transform:"translate(12.000003, 11.999999) scale(-1, 1) rotate(-270.000000) translate(-12.000003, -11.999999) "})]})});function ce(e){if(!e)return e;return e.replace(/(?<year>[0-9]{4})-(?<month>[0-9]{2})-(?<day>[0-9]{2})(?:T[0-9:.]+(?:[+-][0-9:]+)?)?/,"$<day>-$<month>-$<year>")}const de=({datePickerDates:t,setDatePickerDates:r})=>{const s=e.useRef();return e.useEffect(()=>{$(s.current).daterangepicker({dateFormat:"dd-mm-yyyy",autoApply:!0,autoUpdateInput:!0},function(e,n){r({startDate:e.format("YYYY-MM-DD"),endDate:n.format("YYYY-MM-DD")})})},[t,r,s]),n.jsxs("div",{className:"form-control form-control-solid border d-flex align-items-center p-3 justify-content-between",ref:s,children:[n.jsx("div",{className:"fs-6",children:t?n.jsxs(n.Fragment,{children:[n.jsx("input",{hidden:!0,type:"date",defaultValue:t?.startDate,name:"startDate"}),n.jsx("input",{hidden:!0,type:"date",defaultValue:t?.endDate,name:"endDate"}),`${ce(t?.startDate)} - ${ce(t?.endDate)}`]}):"Pick a date range"}),n.jsx("span",{className:"svg-icon svg-icon-1 ms-2 me-0",children:n.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[n.jsx("path",{opacity:"0.3",d:"M21 22H3C2.4 22 2 21.6 2 21V5C2 4.4 2.4 4 3 4H21C21.6 4 22 4.4 22 5V21C22 21.6 21.6 22 21 22Z",fill:"currentColor"}),n.jsx("path",{d:"M6 6C5.4 6 5 5.6 5 5V3C5 2.4 5.4 2 6 2C6.6 2 7 2.4 7 3V5C7 5.6 6.6 6 6 6ZM11 5V3C11 2.4 10.6 2 10 2C9.4 2 9 2.4 9 3V5C9 5.6 9.4 6 10 6C10.6 6 11 5.6 11 5ZM15 5V3C15 2.4 14.6 2 14 2C13.4 2 13 2.4 13 3V5C13 5.6 13.4 6 14 6C14.6 6 15 5.6 15 5ZM19 5V3C19 2.4 18.6 2 18 2C17.4 2 17 2.4 17 3V5C17 5.6 17.4 6 18 6C18.6 6 19 5.6 19 5Z",fill:"currentColor"}),n.jsx("path",{d:"M8.8 13.1C9.2 13.1 9.5 13 9.7 12.8C9.9 12.6 10.1 12.3 10.1 11.9C10.1 11.6 10 11.3 9.8 11.1C9.6 10.9 9.3 10.8 9 10.8C8.8 10.8 8.59999 10.8 8.39999 10.9C8.19999 11 8.1 11.1 8 11.2C7.9 11.3 7.8 11.4 7.7 11.6C7.6 11.8 7.5 11.9 7.5 12.1C7.5 12.2 7.4 12.2 7.3 12.3C7.2 12.4 7.09999 12.4 6.89999 12.4C6.69999 12.4 6.6 12.3 6.5 12.2C6.4 12.1 6.3 11.9 6.3 11.7C6.3 11.5 6.4 11.3 6.5 11.1C6.6 10.9 6.8 10.7 7 10.5C7.2 10.3 7.49999 10.1 7.89999 10C8.29999 9.90003 8.60001 9.80003 9.10001 9.80003C9.50001 9.80003 9.80001 9.90003 10.1 10C10.4 10.1 10.7 10.3 10.9 10.4C11.1 10.5 11.3 10.8 11.4 11.1C11.5 11.4 11.6 11.6 11.6 11.9C11.6 12.3 11.5 12.6 11.3 12.9C11.1 13.2 10.9 13.5 10.6 13.7C10.9 13.9 11.2 14.1 11.4 14.3C11.6 14.5 11.8 14.7 11.9 15C12 15.3 12.1 15.5 12.1 15.8C12.1 16.2 12 16.5 11.9 16.8C11.8 17.1 11.5 17.4 11.3 17.7C11.1 18 10.7 18.2 10.3 18.3C9.9 18.4 9.5 18.5 9 18.5C8.5 18.5 8.1 18.4 7.7 18.2C7.3 18 7 17.8 6.8 17.6C6.6 17.4 6.4 17.1 6.3 16.8C6.2 16.5 6.10001 16.3 6.10001 16.1C6.10001 15.9 6.2 15.7 6.3 15.6C6.4 15.5 6.6 15.4 6.8 15.4C6.9 15.4 7.00001 15.4 7.10001 15.5C7.20001 15.6 7.3 15.6 7.3 15.7C7.5 16.2 7.7 16.6 8 16.9C8.3 17.2 8.6 17.3 9 17.3C9.2 17.3 9.5 17.2 9.7 17.1C9.9 17 10.1 16.8 10.3 16.6C10.5 16.4 10.5 16.1 10.5 15.8C10.5 15.3 10.4 15 10.1 14.7C9.80001 14.4 9.50001 14.3 9.10001 14.3C9.00001 14.3 8.9 14.3 8.7 14.3C8.5 14.3 8.39999 14.3 8.39999 14.3C8.19999 14.3 7.99999 14.2 7.89999 14.1C7.79999 14 7.7 13.8 7.7 13.7C7.7 13.5 7.79999 13.4 7.89999 13.2C7.99999 13 8.2 13 8.5 13H8.8V13.1ZM15.3 17.5V12.2C14.3 13 13.6 13.3 13.3 13.3C13.1 13.3 13 13.2 12.9 13.1C12.8 13 12.7 12.8 12.7 12.6C12.7 12.4 12.8 12.3 12.9 12.2C13 12.1 13.2 12 13.6 11.8C14.1 11.6 14.5 11.3 14.7 11.1C14.9 10.9 15.2 10.6 15.5 10.3C15.8 10 15.9 9.80003 15.9 9.70003C15.9 9.60003 16.1 9.60004 16.3 9.60004C16.5 9.60004 16.7 9.70003 16.8 9.80003C16.9 9.90003 17 10.2 17 10.5V17.2C17 18 16.7 18.4 16.2 18.4C16 18.4 15.8 18.3 15.6 18.2C15.4 18.1 15.3 17.8 15.3 17.5Z",fill:"currentColor"})]})})]})},pe=()=>null;pe.propTypes={header:E.oneOfType([E.string,E.node]).isRequired,accessor:E.string,colKey:E.string,filterKey:E.string,sortKey:E.string,filterType:E.string,filterOptions:E.any,rangeKeys:E.string,sortable:E.bool,headerClassName:E.string,render:E.func,filterAlignment:E.string,children:E.oneOfType([E.func,E.node])};const ue=({title:t,data:r=[],children:s,tableClassName:l="",pageSize:o,currentPage:a,totalPages:i=0,onPageChange:c,onPageSizeChange:d,totalRecords:p,pageSizeOptions:u=[10,20,50,100],onSortChange:h,onFilterChange:m,onFilterReset:f,isLoading:g=!1,handleRowClick:x,filterSummery:v,loadingClassName:y,loadingSize:b,loadingType:w,loadingPlaceholderRows:j,loadingColSpan:C})=>{const[N,k]=e.useState([]),[S,M]=e.useState({}),[T,O]=e.useState({}),[L,$]=e.useState(null),[E,z]=e.useState(null),[P,V]=e.useState(null),A=e.useRef(null);e.useEffect(()=>{const e=e=>{A.current&&!A.current.contains(e.target)&&$(null)};return null!==L&&document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}},[L]);const R=e.Children.toArray(s).filter(n=>e.isValidElement(n)).map(e=>{const{header:n,headerClassName:t,accessor:r,filterAlignment:s,colKey:l,filterKey:o,sortKey:a,sortable:i,filterType:c,filterOptions:d,rangeKeys:p,render:u}=e.props,h="function"==typeof e.props.children?e.props.children:null;return{header:n,headerClassName:t,accessor:r,colKey:l,filterKey:o||l,sortKey:a||l,sortable:i,filterAlignment:s,filterType:c,filterOptions:d,rangeKeys:p,render:u||h,rawChild:e.props.children}}),q=(e,n)=>{if("object"==typeof e&&null!==e)M(n=>{const t={...n,...e};return m?.(t),t});else{const t={...S,[e]:n};M(t),m?.(t)}},H=e=>{if($(n=>n===e?null:e),L!==e){const n=R[e]?.filterKey;O(e=>({...e,[n]:S[n]||""}))}},D=1===a?1:o*a-(o-1),I=a+1<i?o*a:p,_=(()=>{if(i<=5)return Array.from({length:i},(e,n)=>n+1);let e=a-Math.floor(2.5),n=e+5-1;return e<1&&(e=1,n=5),n>i&&(n=i,e=n-4),Array.from({length:n-e+1},(n,t)=>e+t)})();function B(e){if(!e)return{};const n={};return e.split(/\s+/).forEach(e=>{if(e.startsWith("left-")){const t=e.replace("left-","");n.left=t.endsWith("px")?t:`${t}`}else if(e.startsWith("right-")){const t=e.replace("right-","");n.right=t.endsWith("px")?t:`${t}`}}),n}return n.jsxs("div",{className:`filtered-table position-relative ${l}`,children:[t&&n.jsx("h4",{className:"mb-3",children:t}),n.jsxs("div",{className:"table-responsive",children:[Object.keys(S).some(e=>S[e])&&n.jsxs("div",{className:"d-flex justify-content-between align-items-center mb-3 p-2 border bg-light rounded",children:[v&&n.jsx("div",{className:"d-flex flex-wrap align-items-center",children:v.filter(e=>""!==e.value&&null!=e.value).map(e=>n.jsxs("span",{className:"badge bg-primary text-white me-2 mb-1",children:[n.jsx("span",{className:"fw-bolder",children:e.label||e.key}),":"," ",String(e.value)]},e.key))}),!v&&S&&n.jsx("div",{className:"d-flex flex-wrap align-items-center",children:Object.entries(S).map(([e,t])=>{if(!t)return null;const r=R.find(n=>n.filterKey===e),s=r?.header||e;return n.jsxs("span",{className:"badge bg-primary text-white me-2 mb-1",children:[n.jsx("span",{className:"fw-bolder",children:s}),":"," ",String(t)]},e)})}),n.jsx("div",{children:n.jsx("span",{className:"btn btn-sm btn-primary",onClick:()=>{const e={};Object.keys(S).forEach(n=>e[n]=""),M(e),Object.keys(e).forEach(e=>q(e,"")),f(),z(null),M({}),k([])},children:"Reset Filter"})})]}),n.jsxs("table",{className:"table align-middle position-relative table-row-dashed fs-6 gy-3 mb-0 table-hover filtered_table",children:[n.jsx("thead",{children:n.jsx("tr",{className:"fw-bold fs-6 fs-md-5 text-gray-900",children:R.map((e,t)=>{const r=e.sortKey,s=e.filterKey,l=N.find(e=>e.field===r);let o=!1;if("DATERANGE"===e.filterType&&e.rangeKeys){const[n,t]=e.rangeKeys.split(",");o=!(!S[n]&&!S[t])}else s&&(o=!!S[s]);return n.jsx("th",{scope:"col",className:`text-nowrap min-w-100px min-w-md-auto ${e.headerClassName||""}`,children:n.jsxs("div",{className:"d-flex align-items-end position-relative",children:[n.jsx("span",{dangerouslySetInnerHTML:{__html:e.header}}),n.jsxs("div",{className:"ms-2 sort-filter-wrp d-flex align-items-end",children:[e.sortable&&r&&n.jsxs("div",{className:"ms-1",onClick:()=>r?(e=>{const n=e.sortKey;n&&($(null),k(e=>{const t=e[0];let r=[];return t&&t.field===n?"asc"===t.order?r=[{field:n,order:"desc"}]:"desc"===t.order&&(r=[]):r=[{field:n,order:"asc"}],h?.(r),r}))})(e):null,style:{cursor:r?"pointer":"default",marginBottom:"1px"},children:["asc"===l?.order&&n.jsx("span",{style:{color:"#d8128c"},children:n.jsx(se,{})}),"desc"===l?.order&&n.jsx("span",{style:{color:"#d8128c"},children:n.jsx(le,{})}),!l&&n.jsx(re,{})]}),e.filterType&&n.jsx("div",{className:"flt-btn w-25px h-25px pt-1 pe-3 "+(e.sortable?"ms-2":""),style:{color:o?"#d8128c":""},onClick:()=>H(t),children:n.jsx(oe,{})})]}),L===t&&n.jsxs("div",{ref:A,children:["TEXT"===e.filterType&&n.jsxs("div",{className:"filter-dropdown-wrp z-index-1 bg-white",style:B(e.filterAlignment),children:[n.jsx("input",{type:"text",className:"form-control form-control-sm",value:T[e.filterKey]||"",placeholder:`Filter ${e.header}`,onChange:n=>O(t=>({...t,[e.filterKey]:n.target.value}))}),n.jsxs("div",{className:"d-flex align-items-center justify-content-between mt-5",children:[n.jsx("button",{className:"btn btn-sm btn-secondary me-5",onClick:()=>{O(n=>({...n,[e.filterKey]:""})),q(e.filterKey,""),H(t)},children:"Clear"}),n.jsx("button",{className:"btn btn-sm btn-primary",onClick:()=>{q(e.filterKey,T[e.filterKey]||""),H(t)},children:"Apply"})]})]}),"DATERANGE"===e.filterType&&n.jsxs("div",{className:"filter-dropdown-wrp z-index-1 bg-white",style:B(e.filterAlignment),children:[n.jsx(de,{datePickerDates:E,setDatePickerDates:e=>z(e)}),n.jsxs("div",{className:"d-flex align-items-center justify-content-between mt-5",children:[n.jsx("button",{className:"btn btn-sm btn-secondary me-5",onClick:()=>{const[n,r]=e.rangeKeys.split(",");O(e=>({...e,[n]:"",[r]:""})),q({[n]:"",[r]:""}),z(null),H(t)},children:"Clear"}),n.jsx("button",{className:"btn btn-sm btn-primary",onClick:()=>{const[n,r]=e.rangeKeys.split(",");q({[n]:E?.startDate||"",[r]:E?.endDate||""}),H(t)},children:"Apply"})]})]}),"DROPDOWN"===e.filterType&&n.jsxs("div",{className:"filter-dropdown-wrp z-index-1 bg-white",style:B(e.filterAlignment),children:[n.jsxs("select",{className:"form-select form-select-sm form-select-solid text-capitalize mb-3",value:T[e.filterKey]||"",onChange:n=>O(t=>({...t,[e.filterKey]:n.target.value})),children:[n.jsx("option",{value:"",children:"Any"}),e.filterOptions.map((e,t)=>n.jsx("option",{value:e.value,className:"text-capitalize",children:e.label},t))]}),n.jsxs("div",{className:"d-flex align-items-center justify-content-between mt-5",children:[n.jsx("button",{className:"btn btn-sm btn-secondary me-5",onClick:()=>{O(n=>({...n,[e.filterKey]:""})),q(e.filterKey,""),H(t)},children:"Clear"}),n.jsx("button",{className:"btn btn-sm btn-primary",onClick:()=>{q(e.filterKey,T[e.filterKey]||""),H(t)},children:"Apply"})]})]})]})]})},t)})})}),n.jsx("tbody",{children:g?n.jsx("tr",{children:n.jsx("td",{colSpan:C||9,children:n.jsx(te,{className:y||"w-100",size:b||"md",loadingType:w||"table",placeholderRows:j||9})})}):n.jsxs(n.Fragment,{children:[r&&r.length>0?r.map((e,t)=>n.jsx("tr",{onClick:()=>x(e),style:{cursor:"pointer"},children:R.map((r,s)=>{let l=null;if("function"==typeof r.render)l=r.render(e,t);else if(r.accessor){const n=function(e,n){if(n)return n.split(".").reduce((e,n)=>null==e?void 0:e[n],e)}(e,r.accessor);l=null==n?"":n}else l=r.rawChild??"";return n.jsx("td",{children:l},s)})},e.uuid??e.id??t)):n.jsx("tr",{children:n.jsx("td",{colSpan:R.length,className:"text-center py-4",children:n.jsx("div",{className:"my-10 py-10",children:"No data"})})}),r&&r.length<5&&n.jsx("tr",{children:n.jsx("td",{colSpan:R.length,className:"text-center",children:n.jsx("div",{style:{minHeight:"50px"}})})})]})})]})]}),n.jsxs("div",{className:"d-flex align-items-center justify-content-between mt-6",children:[n.jsxs("div",{className:"col-sm-12 col-md-6 d-flex align-items-center",children:[n.jsx("div",{className:"dataTables_length",children:n.jsx("label",{children:n.jsx("select",{className:"form-select form-select-sm form-select-solid",value:o,onChange:e=>d(Number(e.target.value)),children:u.map(e=>n.jsx("option",{value:e,children:e},e))})})}),n.jsxs("div",{className:"dataTables_info text-start ms-3",role:"status","aria-live":"polite",children:["Showing ",D," to ",I," of ",p," records"]})]}),n.jsx("div",{className:"col-lg-6 col-md-12 d-flex justify-content-end",children:n.jsxs("ul",{className:"pagination pagination-md",children:[a>1&&n.jsx("li",{className:"paginate_button page-item",children:n.jsx("span",{className:"page-link svg-icon svg-icon-2",onClick:()=>c(a-1),children:n.jsx(ie,{})})}),i>1&&_.map(e=>n.jsx("li",{className:"paginate_button page-item "+(a===e?"active":""),children:n.jsx("span",{onClick:()=>c(e),className:"page-link",children:e})},e)),a<i&&n.jsx("li",{className:"paginate_button page-item",children:n.jsx("span",{className:"page-link svg-icon svg-icon-2",onClick:()=>c(a+1),children:n.jsx(ae,{})})})]})}),n.jsx("style",{jsx:!0,global:!0,children:""})]})]})};ue.propTypes={title:E.string,data:E.array,children:E.node.isRequired,tableClassName:E.string,pageSize:E.number.isRequired,currentPage:E.number.isRequired,totalPages:E.number.isRequired,onPageChange:E.func.isRequired,onPageSizeChange:E.func.isRequired,pageSizeOptions:E.array,onSortChange:E.func,onFilterChange:E.func,onFilterReset:E.func,isLoading:E.bool},ue.Col=pe,exports.AccordionItem=({title:e,children:t,isOpen:r,onToggle:s,index:l,id:o,className:a="","data-testid":i})=>{const c=o||`collapse-${l}`,d=`heading-${l}`;return n.jsxs(n.Fragment,{children:[n.jsxs("div",{className:`accordion-item pc-accordion-item pb-0 mb-2 ${a}`.trim(),"data-testid":i,children:[n.jsx("h2",{className:"accordion-header",id:d,children:n.jsx("button",{className:"accordion-button "+(r?"":"collapsed"),type:"button",onClick:s,"aria-expanded":r,"aria-controls":c,children:"string"==typeof e?n.jsx("span",{dangerouslySetInnerHTML:{__html:e}}):e})}),n.jsx("div",{id:c,className:"accordion-collapse collapse "+(r?"show":""),"aria-labelledby":d,children:n.jsx("div",{className:"accordion-body",children:t})})]}),n.jsx("style",{jsx:!0,children:"\n .pc-accordion-item,\n .pc-accordion-item:first-of-type,\n .pc-accordion-item:last-of-type {\n border-radius: 10px;\n border: 1px solid var(--kt-input-border-color);\n overflow: hidden;\n background-color: var(--kt-card-bg);\n }\n \n "})]})},exports.PCAccordionWrapper=({children:t,singleOpen:r=!0,id:s,className:l="","data-testid":o})=>{const[a,i]=e.useState([]),c=e.Children.map(t,(n,t)=>{if(e.isValidElement(n)){const s=a.includes(t)||!a.length&&n.props.OpenByDefault;return e.cloneElement(n,{index:t,isOpen:s,onToggle:()=>((e,n,t)=>{i(s=>{const l=s.includes(e);let o;return o=r?l?[]:[e]:l?s.filter(n=>n!==e):[...s,e],!l&&n&&n(),l&&t&&t(),o})})(t,n.props.onOpen,n.props.onClose)})}return n});return n.jsxs(n.Fragment,{children:[n.jsx("div",{className:`pc-accordion accordion ${l}`.trim(),id:s||"pcaccordionWrapper","data-testid":o,children:c}),n.jsx("style",{jsx:!0,children:"\n .pc-accordion{;\n }\n "})]})},exports.PCButton=z,exports.PCCol=_,exports.PCContainer=D,exports.PCFilteredTable=ue,exports.PCIcon=function({name:t,width:r="1em",height:s="1em",className:l="",color:o="currentColor",activeColor:a,hoverColor:i,...c}){const[d,p]=e.useState(!1),[u,h]=e.useState(!1),m=u?a||o:d&&i||o,f=R[t];return f?n.jsx(f,{width:r,height:s,className:l,style:{color:m,cursor:c.onClick?"pointer":void 0},onMouseEnter:()=>p(!0),onMouseLeave:()=>{p(!1),h(!1)},onMouseDown:()=>h(!0),onMouseUp:()=>h(!1),...c}):(console.warn(`Icon "${t}" not found`),null)},exports.PCInput=F,exports.PCInputCurrency=({label:t="Enter Lable",value:r="",onChange:s,required:l=!1,errorMessage:o="",name:a,disabled:i=!1})=>{const[c,d]=e.useState(K(r));e.useEffect(()=>{d(K(r))},[r]);return n.jsxs("div",{className:"form-group",children:[n.jsx("label",{className:`form-label ${l&&"required"}`,children:t}),n.jsx("div",{className:"input-group",style:{fontFamily:"inherit"},children:n.jsx("input",{name:a,disabled:i,required:l,type:"text",value:c,onChange:e=>{const n=e.target.value.replace(/[^\d.]/g,""),t=K(n);d(t),s&&s(a,n)},placeholder:"$0.00","aria-label":"Currency input",className:"form-control form-control-solid border"+(o?" is-invalid border-danger":"")})}),o&&n.jsx("span",{className:"input-error text-danger",style:{fontSize:13,marginTop:4,display:"block"},children:o})]})},exports.PCLoading=te,exports.PCModal=({title:t,children:r,footer:s,onClose:l,customStyles:o="",maxWidth:a="600px",width:i="100%",maxHeight:c="80vh",outsideClickHandle:d=!1})=>{const p=e.useRef();return e.useEffect(()=>{if(!d)return;const e=e=>{p.current&&!p.current.contains(e.target)&&l?.()};return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}},[l]),n.jsxs(n.Fragment,{children:[n.jsx("div",{className:"conditions-overlay position-fixed top-0 start-0 w-100 h-100 bg-dark bg-opacity-10 d-flex justify-content-center align-items-center z-3",children:n.jsxs("div",{className:`card position-relative shadow p-4 ${o}`,ref:p,style:{width:i,maxWidth:a,maxHeight:c,overflowY:"auto"},children:[n.jsx("div",{className:"w-full d-flex justify-content-end svg-icon svg-icon-1",children:n.jsx("div",{className:"cursor-pointer w-24px h-24px",onClick:l,children:n.jsx(B,{})})}),t&&n.jsx("h5",{className:"mb-3",children:t}),r&&n.jsx("div",{className:"mb-3",children:r}),s&&n.jsx("div",{className:"text-end",children:s})]})}),n.jsx("style",{jsx:!0,children:"\n .conditions-overlay {\n z-index: 50;\n }\n\n .cursor-pointer {\n cursor: pointer;\n }\n "})]})},exports.PCMultiSelectDropdown=({options:t=[],placeholder:r="Select...",onChange:s,enableSearch:l=!0,enableSelectAll:o=!0,showCountAfter:a=null,value:i=[],name:c,required:d=!1,labelKey:p="name",valueKey:u="value",isInvalid:h=!1,errMsg:m=""})=>{const[f,g]=e.useState([]),[x,v]=e.useState(!1),[y,b]=e.useState(""),w=e.useRef(null),j=e.useRef(null),[C,N]=e.useState("100%"),k=e.useMemo(()=>((e,n,t)=>Array.isArray(e)?e.map(e=>({name:e?.[n]??"",value:e?.[t]??"",original:e})):[])(t,p,u),[t,p,u]);e.useEffect(()=>{const e=e=>{w.current&&!w.current.contains(e.target)&&v(!1)},n=()=>{j.current&&N(`${j.current.offsetWidth}px`)};return document.addEventListener("mousedown",e),window.addEventListener("resize",n),n(),()=>{document.removeEventListener("mousedown",e),window.removeEventListener("resize",n)}},[]),e.useEffect(()=>{if(!Array.isArray(i))return;if(!(i.length===f.length&&i.every(e=>f.some(n=>n.original?.[u]===e?.[u])))){const e=k.filter(e=>i.some(n=>n?.[u]===e.original?.[u]));g(e)}},[i,k]);const S=e=>f.some(n=>n.value===e.value),M=k.filter(e=>e.name.toLowerCase().includes(y.toLowerCase()));return n.jsxs("div",{className:"position-relative pc-multi-select",ref:w,children:[n.jsx("div",{ref:j,className:"form-select form-select-solid pc-ele-border d-flex justify-content-between align-items-center "+(h?"invalid":""),onClick:()=>v(!x),style:{cursor:"pointer"},children:n.jsx("span",{className:"text-truncate",style:{maxWidth:"85%"},children:(()=>{if(0===f.length)return r;if(null!=a&&f.length>a){return`${f.slice(0,a).map(e=>e.name).join(", ")} +${f.length-a} more`}return f.map(e=>e.name).join(", ")})()})}),h&&m&&n.jsx("div",{className:"d-block position-absolute w-100 mt-1 pc-err-txt",style:{top:"100%",zIndex:9999},children:m}),x&&n.jsx("div",{className:"multi-slc-dropdown-options-wrp show position-absolute top-100 start-0",style:{maxHeight:300,width:C,zIndex:9999},children:n.jsxs("div",{className:"dropdown-menu relative show py-3 shadow-none border position-relative",style:{maxHeight:300,overflowY:"auto",width:C,zIndex:9999},children:[(l||o)&&n.jsxs("div",{className:"d-flex align-items-center gap-2 pb-3 mb-3 border-bottom",children:[o&&n.jsxs("div",{className:"form-check pl-3 ms-4",children:[n.jsx("input",{type:"checkbox",className:"form-check-input",id:"selectAll",checked:f.length===k.length,onChange:()=>{const e=f.length===k.length?[]:[...k];g(e),s?.(c,e.map(e=>e.original))},name:c,required:d}),n.jsx("label",{className:"form-check-label",htmlFor:"selectAll",children:"All"})]}),l&&n.jsxs("div",{className:"input-group me-3 "+(o?"":"ms-3"),children:[n.jsx("input",{type:"text",className:"form-control border-end-0",placeholder:"Search...",value:y,onChange:e=>b(e.target.value)}),n.jsx("span",{className:"input-group-text border-start-0 bg-transparent",children:n.jsx("i",{className:"bi bi-search"})})]})]}),M.length>0?M.map((e,t)=>n.jsxs("div",{className:"form-check py-3 pl-5 mr-3 pc-multi-select-opt",style:{cursor:"pointer"},children:[n.jsx("input",{className:"form-check-input pc-multi-select-opt-input",type:"checkbox",id:`option-${t}`,checked:S(e),onChange:()=>(e=>{let n=f.some(n=>n.value===e.value)?f.filter(n=>n.value!==e.value):[...f,e];n=k.filter(e=>n.some(n=>n.value===e.value)),g(n),s?.(c,n.map(e=>e.original))})(e),name:c,required:d}),n.jsx("label",{className:"form-check-label ms-2",htmlFor:`option-${t}`,children:e.name})]},t)):n.jsx("div",{className:"text-center text-muted py-2",children:"No records found"})]})}),n.jsx("style",{jsx:!0,children:"\n .multi-slc-dropdown-options-wrp {\n border-radius: 0.375rem;\n background-color: var(--kt-page-bg);\n }\n .pc-multi-select-opt {\n padding: 0 15px 0 38px;\n }\n .pc-multi-select-opt:hover {\n background-color: var(--kt-input-solid-bg);\n }\n .pc-multi-select-opt-input {\n margin-top: 3px;\n }\n .pc-multi-select-opt label {\n color: var(--kt-form-check-label-color-checked);\n }\n .pc-ele-border {\n border: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color);\n }\n .pc-ele-border.invalid{\n border-color: var(--kt-danger);\n }\n .pc-err-txt {\n color: var(--kt-danger);\n }\n "})]})},exports.PCRadio=({label:e,checked:t=!1,onChange:r,name:s,value:l,disabled:o=!1,id:a,className:i="",dataTestId:c})=>n.jsxs("div",{className:`form-check ${i}`,"data-testid":c,children:[n.jsx("input",{className:"form-check-input",type:"radio",name:s,id:a,value:l,checked:t,onChange:r,disabled:o}),e&&n.jsx("label",{className:"form-check-label",htmlFor:a,children:e})]}),exports.PCRow=I,exports.PCSelectDropdown=P,exports.PCTable=({value:t=[],columns:r=[],style:s={},caption:l,header:o,footer:a,children:i,paginator:c=!1,rowsPerPageOptions:d=[10,25,50],currentPageReportTemplate:p="Showing {first} to {last} of {totalRecords} records",onPageChange:u=()=>{},paginationConfig:h=null})=>{const m=!!h,[f,g]=e.useState(1),[x,v]=e.useState(d[0]),y=m?h.current_page:f,b=m?h.page_size:x,w=m?h.total_records:t.length,j=m?h.total_pages:Math.ceil(w/b),C=e.useMemo(()=>{if(m)return t;const e=(y-1)*b,n=e+b;return t.slice(e,n)},[t,y,b,m]),N=e=>{e<1||e>j||(m||g(e),u({page:e,rows:b}))},k=r?.length>0,S=e.Children.toArray(i).some(n=>e.isValidElement(n)&&"tbody"===n.type),M=!k&&e.Children.count(i)>0;return n.jsxs(n.Fragment,{children:[n.jsxs("div",{className:"table-responsive",children:[l&&n.jsx("div",{className:"mb-2",children:l}),n.jsxs("table",{className:"table pc-table align-middle table-row-dashed fs-6 gy-3 mb-0 dataTable no-footer table-hover gs-4",style:s,children:[k?n.jsx("thead",{children:n.jsx("tr",{children:r.map((e,t)=>n.jsx("th",{children:e.header},t))})}):o&&n.jsx("thead",{children:o}),k?n.jsx("tbody",{children:C.map((e,t)=>n.jsx("tr",{children:r.map((t,r)=>n.jsx("td",{children:n.jsx("div",{className:"py-2",children:e[t.field]})},r))},t))}):M&&(S?i:n.jsx("tbody",{children:i})),a&&n.jsx("tfoot",{children:a})]})]}),c&&n.jsxs("div",{className:"d-flex justify-content-between align-items-center mt-5 pc-pagination-wrp",children:[n.jsxs("div",{className:"dataTables_length d-flex align-items-center",children:[n.jsx("select",{className:"form-select form-select-sm form-select-solid w-auto me-3",value:b,onChange:e=>{const n=parseInt(e.target.value,10);m||(v(n),g(1)),u({page:1,rows:n})},children:d.map(e=>n.jsx("option",{value:e,children:e},e))})," ",n.jsx("div",{children:(()=>{const e=(y-1)*b+1,n=Math.min(e+b-1,w);return p.replace("{first}",e).replace("{last}",n).replace("{totalRecords}",w)})()})]}),n.jsx("div",{className:"d-flex align-items-center gap-2",children:n.jsx("nav",{children:n.jsxs("ul",{className:"pagination mb-0",children:[n.jsx("li",{className:"page-item "+(1===y?"disabled":""),children:n.jsxs("button",{className:"page-link",onClick:()=>N(1),children:[n.jsx("i",{class:"previous"}),n.jsx("i",{style:{marginLeft:"-5px"},class:"previous"})]})}),n.jsx("li",{className:"page-item "+(1===y?"disabled":""),children:n.jsx("button",{className:"page-link",onClick:()=>N(y-1),children:n.jsx("i",{class:"previous"})})}),Array.from({length:Math.min(j,5)},(e,t)=>{const r=y<=3?t+1:y-2+t;return r>j?null:n.jsx("li",{className:"page-item "+(y===r?"active":""),children:n.jsx("button",{className:"page-link",onClick:()=>N(r),children:r})},r)}),n.jsx("li",{className:"page-item "+(y===j?"disabled":""),children:n.jsx("button",{className:"page-link",onClick:()=>N(y+1),children:n.jsx("i",{class:"next"})})}),n.jsx("li",{className:"page-item "+(y===j?"disabled":""),children:n.jsxs("button",{className:"page-link",onClick:()=>N(j),children:[n.jsx("i",{class:"next fs-1"}),n.jsx("i",{style:{marginLeft:"-5px"},class:"next"})]})})]})})})]})]})},exports.PCTextarea=A,exports.PCTooltip=V;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "peercore-ui-library",
3
- "version": "1.0.21",
3
+ "version": "1.0.22",
4
4
  "description": "Shared React UI components for PeerCore apps",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.es.js",