(function(b,j){typeof exports=="object"&&typeof module<"u"?j(exports,require("react")):typeof define=="function"&&define.amd?define(["exports","react"],j):(b=typeof globalThis<"u"?globalThis:b||self,j(b["Enterprize React Essentials"]={},b.React))})(this,function(b,j){"use strict";function je(...c){const s=[];for(const f of c)if(typeof f=="string")s.push(f);else if(typeof f=="object"&&f!=null){const E=Reflect.ownKeys(f);for(const m of E)Reflect.get(f,m)&&s.push(m.toString())}return s.join(" ")}var z={exports:{}},I={};/** * @license React * react-jsx-runtime.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var ee;function xe(){if(ee)return I;ee=1;var c=j,s=Symbol.for("react.element"),f=Symbol.for("react.fragment"),E=Object.prototype.hasOwnProperty,m=c.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,P={key:!0,ref:!0,__self:!0,__source:!0};function h(d,v,w){var R,S={},x=null,$=null;w!==void 0&&(x=""+w),v.key!==void 0&&(x=""+v.key),v.ref!==void 0&&($=v.ref);for(R in v)E.call(v,R)&&!P.hasOwnProperty(R)&&(S[R]=v[R]);if(d&&d.defaultProps)for(R in v=d.defaultProps,v)S[R]===void 0&&(S[R]=v[R]);return{$$typeof:s,type:d,key:x,ref:$,props:S,_owner:m.current}}return I.Fragment=f,I.jsx=h,I.jsxs=h,I}var W={};/** * @license React * react-jsx-runtime.development.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var re;function Fe(){return re||(re=1,process.env.NODE_ENV!=="production"&&function(){var c=j,s=Symbol.for("react.element"),f=Symbol.for("react.portal"),E=Symbol.for("react.fragment"),m=Symbol.for("react.strict_mode"),P=Symbol.for("react.profiler"),h=Symbol.for("react.provider"),d=Symbol.for("react.context"),v=Symbol.for("react.forward_ref"),w=Symbol.for("react.suspense"),R=Symbol.for("react.suspense_list"),S=Symbol.for("react.memo"),x=Symbol.for("react.lazy"),$=Symbol.for("react.offscreen"),ae=Symbol.iterator,Ie="@@iterator";function We(e){if(e===null||typeof e!="object")return null;var r=ae&&e[ae]||e[Ie];return typeof r=="function"?r:null}var k=c.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function g(e){{for(var r=arguments.length,t=new Array(r>1?r-1:0),n=1;n=1&&p>=0&&a[l]!==y[p];)p--;for(;l>=1&&p>=0;l--,p--)if(a[l]!==y[p]){if(l!==1||p!==1)do if(l--,p--,p<0||a[l]!==y[p]){var _=` `+a[l].replace(" at new "," at ");return e.displayName&&_.includes("")&&(_=_.replace("",e.displayName)),typeof e=="function"&&M.set(e,_),_}while(l>=1&&p>=0);break}}}finally{q=!1,K.current=u,Ke(),Error.prepareStackTrace=o}var A=e?e.displayName||e.name:"",Pe=A?N(A):"";return typeof e=="function"&&M.set(e,Pe),Pe}function qe(e,r,t){return he(e,!1)}function Ge(e){var r=e.prototype;return!!(r&&r.isReactComponent)}function V(e,r,t){if(e==null)return"";if(typeof e=="function")return he(e,Ge(e));if(typeof e=="string")return N(e);switch(e){case w:return N("Suspense");case R:return N("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case v:return qe(e.render);case S:return V(e.type,r,t);case x:{var n=e,o=n._payload,u=n._init;try{return V(u(o),r,t)}catch{}}}return""}var U=Object.prototype.hasOwnProperty,ge={},ye=k.ReactDebugCurrentFrame;function B(e){if(e){var r=e._owner,t=V(e.type,e._source,r?r.type:null);ye.setExtraStackFrame(t)}else ye.setExtraStackFrame(null)}function He(e,r,t,n,o){{var u=Function.call.bind(U);for(var i in e)if(u(e,i)){var a=void 0;try{if(typeof e[i]!="function"){var y=Error((n||"React class")+": "+t+" type `"+i+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[i]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw y.name="Invariant Violation",y}a=e[i](r,i,n,t,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(l){a=l}a&&!(a instanceof Error)&&(B(o),g("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",n||"React class",t,i,typeof a),B(null)),a instanceof Error&&!(a.message in ge)&&(ge[a.message]=!0,B(o),g("Failed %s type: %s",t,a.message),B(null))}}}var Xe=Array.isArray;function G(e){return Xe(e)}function Ze(e){{var r=typeof Symbol=="function"&&Symbol.toStringTag,t=r&&e[Symbol.toStringTag]||e.constructor.name||"Object";return t}}function Qe(e){try{return me(e),!1}catch{return!0}}function me(e){return""+e}function Ee(e){if(Qe(e))return g("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Ze(e)),me(e)}var L=k.ReactCurrentOwner,er={key:!0,ref:!0,__self:!0,__source:!0},Re,be,H;H={};function rr(e){if(U.call(e,"ref")){var r=Object.getOwnPropertyDescriptor(e,"ref").get;if(r&&r.isReactWarning)return!1}return e.ref!==void 0}function tr(e){if(U.call(e,"key")){var r=Object.getOwnPropertyDescriptor(e,"key").get;if(r&&r.isReactWarning)return!1}return e.key!==void 0}function nr(e,r){if(typeof e.ref=="string"&&L.current&&r&&L.current.stateNode!==r){var t=C(L.current.type);H[t]||(g('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',C(L.current.type),e.ref),H[t]=!0)}}function ar(e,r){{var t=function(){Re||(Re=!0,g("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",r))};t.isReactWarning=!0,Object.defineProperty(e,"key",{get:t,configurable:!0})}}function ir(e,r){{var t=function(){be||(be=!0,g("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",r))};t.isReactWarning=!0,Object.defineProperty(e,"ref",{get:t,configurable:!0})}}var or=function(e,r,t,n,o,u,i){var a={$$typeof:s,type:e,key:r,ref:t,props:i,_owner:u};return a._store={},Object.defineProperty(a._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(a,"_self",{configurable:!1,enumerable:!1,writable:!1,value:n}),Object.defineProperty(a,"_source",{configurable:!1,enumerable:!1,writable:!1,value:o}),Object.freeze&&(Object.freeze(a.props),Object.freeze(a)),a};function ur(e,r,t,n,o){{var u,i={},a=null,y=null;t!==void 0&&(Ee(t),a=""+t),tr(r)&&(Ee(r.key),a=""+r.key),rr(r)&&(y=r.ref,nr(r,o));for(u in r)U.call(r,u)&&!er.hasOwnProperty(u)&&(i[u]=r[u]);if(e&&e.defaultProps){var l=e.defaultProps;for(u in l)i[u]===void 0&&(i[u]=l[u])}if(a||y){var p=typeof e=="function"?e.displayName||e.name||"Unknown":e;a&&ar(i,p),y&&ir(i,p)}return or(e,a,y,o,n,L.current,i)}}var X=k.ReactCurrentOwner,_e=k.ReactDebugCurrentFrame;function D(e){if(e){var r=e._owner,t=V(e.type,e._source,r?r.type:null);_e.setExtraStackFrame(t)}else _e.setExtraStackFrame(null)}var Z;Z=!1;function Q(e){return typeof e=="object"&&e!==null&&e.$$typeof===s}function Te(){{if(X.current){var e=C(X.current.type);if(e)return` Check the render method of \``+e+"`."}return""}}function sr(e){{if(e!==void 0){var r=e.fileName.replace(/^.*[\\\/]/,""),t=e.lineNumber;return` Check your code at `+r+":"+t+"."}return""}}var we={};function fr(e){{var r=Te();if(!r){var t=typeof e=="string"?e:e.displayName||e.name;t&&(r=` Check the top-level render call using <`+t+">.")}return r}}function Se(e,r){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var t=fr(r);if(we[t])return;we[t]=!0;var n="";e&&e._owner&&e._owner!==X.current&&(n=" It was passed a child from "+C(e._owner.type)+"."),D(e),g('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',t,n),D(null)}}function Ce(e,r){{if(typeof e!="object")return;if(G(e))for(var t=0;t",a=" Did you accidentally export a JSX literal instead of a component?"):l=typeof e,g("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",l,a)}var p=ur(e,r,t,o,u);if(p==null)return p;if(i){var _=r.children;if(_!==void 0)if(n)if(G(_)){for(var A=0;A<_.length;A++)Ce(_[A],e);Object.freeze&&Object.freeze(_)}else g("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else Ce(_,e)}return e===E?cr(p):lr(p),p}}function dr(e,r,t){return Oe(e,r,t,!0)}function vr(e,r,t){return Oe(e,r,t,!1)}var pr=vr,hr=dr;W.Fragment=E,W.jsx=pr,W.jsxs=hr}()),W}process.env.NODE_ENV==="production"?z.exports=xe():z.exports=Fe();var T=z.exports;function ke({expression:c,else:s,children:f}){return T.jsx(T.Fragment,{children:c?f():s!=null?s():null})}function te({children:c}){return T.jsx(T.Fragment,{children:typeof c=="function"?c():c})}function ne({children:c}){return T.jsx(T.Fragment,{children:typeof c=="function"?c():c})}function De({expression:c,children:s}){if(Array.isArray(s)&&s.length===0||s==null)return null;const f=Array.isArray(s)?s:[s],E=f[f.length-1].type===ne?f[f.length-1]:null;let m=null;const P=E!=null?f.length-1:f.length;e:for(let h=0;h{if(f)return h.index;if(E)return h.item;if(s!=null)return typeof s=="function"?s(h):Reflect.get(h.item,s)};return T.jsx(T.Fragment,{children:c.map((h,d,v)=>{const w={item:h,index:d,length:v.length,isOdd:d%2!==0,isEven:d%2===0,isFirst:d===0,isLast:d===v.length-1};return T.jsx(j.Fragment,{children:m(w)},P(w))})})}b.ForOf=Ae,b.If=ke,b.Switch=De,b.SwitchCase=te,b.SwitchCaseDefault=ne,b.classList=je,Object.defineProperty(b,Symbol.toStringTag,{value:"Module"})}); //# sourceMappingURL=index.umd.cjs.map