@primereact/core 11.0.0-alpha.8 → 11.0.0-rc.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (46) hide show
  1. package/LICENSE.md +45 -0
  2. package/README.md +43 -0
  3. package/base/index.d.mts +1 -1
  4. package/base/index.mjs +1 -1
  5. package/base/index.mjs.map +1 -1
  6. package/component/index.d.mts +11 -9
  7. package/component/index.mjs +1 -1
  8. package/component/index.mjs.map +1 -1
  9. package/config/index.mjs +1 -1
  10. package/config/index.mjs.map +1 -1
  11. package/dnd/index.d.mts +69 -0
  12. package/dnd/index.mjs +2 -0
  13. package/dnd/index.mjs.map +1 -0
  14. package/headless/index.d.mts +1 -1
  15. package/headless/index.mjs +1 -1
  16. package/headless/index.mjs.map +1 -1
  17. package/icon/index.d.mts +3 -3
  18. package/icon/index.mjs +1 -46
  19. package/icon/index.mjs.map +1 -1
  20. package/index.d.mts +3 -0
  21. package/index.mjs +1 -1
  22. package/index.mjs.map +1 -1
  23. package/license/index.d.mts +22 -0
  24. package/license/index.mjs +2 -0
  25. package/license/index.mjs.map +1 -0
  26. package/locale/index.mjs +1 -1
  27. package/locale/index.mjs.map +1 -1
  28. package/motion/index.d.mts +24 -10
  29. package/motion/index.mjs +1 -1
  30. package/motion/index.mjs.map +1 -1
  31. package/overlay-manager/index.d.mts +84 -0
  32. package/overlay-manager/index.mjs +2 -0
  33. package/overlay-manager/index.mjs.map +1 -0
  34. package/package.json +13 -15
  35. package/passthrough/index.mjs +1 -1
  36. package/passthrough/index.mjs.map +1 -1
  37. package/theme/index.mjs +1 -1
  38. package/theme/index.mjs.map +1 -1
  39. package/umd/index.js +7 -212
  40. package/umd/index.js.map +1 -1
  41. package/use-style/index.mjs +1 -1
  42. package/use-style/index.mjs.map +1 -1
  43. package/utils/index.d.mts +73 -4
  44. package/utils/index.mjs +1 -1
  45. package/utils/index.mjs.map +1 -1
  46. package/LICENSE +0 -21
package/umd/index.js CHANGED
@@ -1,224 +1,16 @@
1
- "use strict";var PrimeReact=PrimeReact||{};PrimeReact.Core=(()=>{var oo=Object.create;var Ze=Object.defineProperty,so=Object.defineProperties,ao=Object.getOwnPropertyDescriptor,io=Object.getOwnPropertyDescriptors,uo=Object.getOwnPropertyNames,Rt=Object.getOwnPropertySymbols,lo=Object.getPrototypeOf,Bt=Object.prototype.hasOwnProperty,Bn=Object.prototype.propertyIsEnumerable;var Un=(e,t,n)=>t in e?Ze(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,v=(e,t)=>{for(var n in t||(t={}))Bt.call(t,n)&&Un(e,n,t[n]);if(Rt)for(var n of Rt(t))Bn.call(t,n)&&Un(e,n,t[n]);return e},z=(e,t)=>so(e,io(t));var Oe=(e,t)=>{var n={};for(var o in e)Bt.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&Rt)for(var o of Rt(e))t.indexOf(o)<0&&Bn.call(e,o)&&(n[o]=e[o]);return n};var Wt=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),co=(e,t)=>{for(var n in t)Ze(e,n,{get:t[n],enumerable:!0})},Wn=(e,t,n,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of uo(t))!Bt.call(e,a)&&a!==n&&Ze(e,a,{get:()=>t[a],enumerable:!(o=ao(t,a))||o.enumerable});return e};var M=(e,t,n)=>(n=e!=null?oo(lo(e)):{},Wn(t||!e||!e.__esModule?Ze(n,"default",{value:e,enumerable:!0}):n,e)),fo=e=>Wn(Ze({},"__esModule",{value:!0}),e);var er=Wt(T=>{"use strict";var zt=Symbol.for("react.transitional.element"),mo=Symbol.for("react.portal"),ho=Symbol.for("react.fragment"),yo=Symbol.for("react.strict_mode"),go=Symbol.for("react.profiler"),vo=Symbol.for("react.consumer"),bo=Symbol.for("react.context"),Eo=Symbol.for("react.forward_ref"),Ro=Symbol.for("react.suspense"),So=Symbol.for("react.memo"),qn=Symbol.for("react.lazy"),Co=Symbol.for("react.activity"),Kn=Symbol.iterator;function wo(e){return e===null||typeof e!="object"?null:(e=Kn&&e[Kn]||e["@@iterator"],typeof e=="function"?e:null)}var Gn={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Qn=Object.assign,Xn={};function je(e,t,n){this.props=e,this.context=t,this.refs=Xn,this.updater=n||Gn}je.prototype.isReactComponent={};je.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};je.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Zn(){}Zn.prototype=je.prototype;function Yt(e,t,n){this.props=e,this.context=t,this.refs=Xn,this.updater=n||Gn}var qt=Yt.prototype=new Zn;qt.constructor=Yt;Qn(qt,je.prototype);qt.isPureReactComponent=!0;var Vn=Array.isArray;function Vt(){}var Q={H:null,A:null,T:null,S:null},Jn=Object.prototype.hasOwnProperty;function Gt(e,t,n){var o=n.ref;return{$$typeof:zt,type:e,key:t,ref:o!==void 0?o:null,props:n}}function xo(e,t){return Gt(e.type,t,e.props)}function Qt(e){return typeof e=="object"&&e!==null&&e.$$typeof===zt}function To(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var zn=/\/+/g;function Kt(e,t){return typeof e=="object"&&e!==null&&e.key!=null?To(""+e.key):t.toString(36)}function Po(e){switch(e.status){case"fulfilled":return e.value;case"rejected":throw e.reason;default:switch(typeof e.status=="string"?e.then(Vt,Vt):(e.status="pending",e.then(function(t){e.status==="pending"&&(e.status="fulfilled",e.value=t)},function(t){e.status==="pending"&&(e.status="rejected",e.reason=t)})),e.status){case"fulfilled":return e.value;case"rejected":throw e.reason}}throw e}function Ne(e,t,n,o,a){var u=typeof e;(u==="undefined"||u==="boolean")&&(e=null);var s=!1;if(e===null)s=!0;else switch(u){case"bigint":case"string":case"number":s=!0;break;case"object":switch(e.$$typeof){case zt:case mo:s=!0;break;case qn:return s=e._init,Ne(s(e._payload),t,n,o,a)}}if(s)return a=a(e),s=o===""?"."+Kt(e,0):o,Vn(a)?(n="",s!=null&&(n=s.replace(zn,"$&/")+"/"),Ne(a,t,n,"",function(f){return f})):a!=null&&(Qt(a)&&(a=xo(a,n+(a.key==null||e&&e.key===a.key?"":(""+a.key).replace(zn,"$&/")+"/")+s)),t.push(a)),1;s=0;var i=o===""?".":o+":";if(Vn(e))for(var l=0;l<e.length;l++)o=e[l],u=i+Kt(o,l),s+=Ne(o,t,n,u,a);else if(l=wo(e),typeof l=="function")for(e=l.call(e),l=0;!(o=e.next()).done;)o=o.value,u=i+Kt(o,l++),s+=Ne(o,t,n,u,a);else if(u==="object"){if(typeof e.then=="function")return Ne(Po(e),t,n,o,a);throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.")}return s}function St(e,t,n){if(e==null)return e;var o=[],a=0;return Ne(e,o,"","",function(u){return t.call(n,u,a++)}),o}function _o(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(n){(e._status===0||e._status===-1)&&(e._status=1,e._result=n)},function(n){(e._status===0||e._status===-1)&&(e._status=2,e._result=n)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var Yn=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)},ko={map:St,forEach:function(e,t,n){St(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return St(e,function(){t++}),t},toArray:function(e){return St(e,function(t){return t})||[]},only:function(e){if(!Qt(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};T.Activity=Co;T.Children=ko;T.Component=je;T.Fragment=ho;T.Profiler=go;T.PureComponent=Yt;T.StrictMode=yo;T.Suspense=Ro;T.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=Q;T.__COMPILER_RUNTIME={__proto__:null,c:function(e){return Q.H.useMemoCache(e)}};T.cache=function(e){return function(){return e.apply(null,arguments)}};T.cacheSignal=function(){return null};T.cloneElement=function(e,t,n){if(e==null)throw Error("The argument must be a React element, but you passed "+e+".");var o=Qn({},e.props),a=e.key;if(t!=null)for(u in t.key!==void 0&&(a=""+t.key),t)!Jn.call(t,u)||u==="key"||u==="__self"||u==="__source"||u==="ref"&&t.ref===void 0||(o[u]=t[u]);var u=arguments.length-2;if(u===1)o.children=n;else if(1<u){for(var s=Array(u),i=0;i<u;i++)s[i]=arguments[i+2];o.children=s}return Gt(e.type,a,o)};T.createContext=function(e){return e={$$typeof:bo,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider=e,e.Consumer={$$typeof:vo,_context:e},e};T.createElement=function(e,t,n){var o,a={},u=null;if(t!=null)for(o in t.key!==void 0&&(u=""+t.key),t)Jn.call(t,o)&&o!=="key"&&o!=="__self"&&o!=="__source"&&(a[o]=t[o]);var s=arguments.length-2;if(s===1)a.children=n;else if(1<s){for(var i=Array(s),l=0;l<s;l++)i[l]=arguments[l+2];a.children=i}if(e&&e.defaultProps)for(o in s=e.defaultProps,s)a[o]===void 0&&(a[o]=s[o]);return Gt(e,u,a)};T.createRef=function(){return{current:null}};T.forwardRef=function(e){return{$$typeof:Eo,render:e}};T.isValidElement=Qt;T.lazy=function(e){return{$$typeof:qn,_payload:{_status:-1,_result:e},_init:_o}};T.memo=function(e,t){return{$$typeof:So,type:e,compare:t===void 0?null:t}};T.startTransition=function(e){var t=Q.T,n={};Q.T=n;try{var o=e(),a=Q.S;a!==null&&a(n,o),typeof o=="object"&&o!==null&&typeof o.then=="function"&&o.then(Vt,Yn)}catch(u){Yn(u)}finally{t!==null&&n.types!==null&&(t.types=n.types),Q.T=t}};T.unstable_useCacheRefresh=function(){return Q.H.useCacheRefresh()};T.use=function(e){return Q.H.use(e)};T.useActionState=function(e,t,n){return Q.H.useActionState(e,t,n)};T.useCallback=function(e,t){return Q.H.useCallback(e,t)};T.useContext=function(e){return Q.H.useContext(e)};T.useDebugValue=function(){};T.useDeferredValue=function(e,t){return Q.H.useDeferredValue(e,t)};T.useEffect=function(e,t){return Q.H.useEffect(e,t)};T.useEffectEvent=function(e){return Q.H.useEffectEvent(e)};T.useId=function(){return Q.H.useId()};T.useImperativeHandle=function(e,t,n){return Q.H.useImperativeHandle(e,t,n)};T.useInsertionEffect=function(e,t){return Q.H.useInsertionEffect(e,t)};T.useLayoutEffect=function(e,t){return Q.H.useLayoutEffect(e,t)};T.useMemo=function(e,t){return Q.H.useMemo(e,t)};T.useOptimistic=function(e,t){return Q.H.useOptimistic(e,t)};T.useReducer=function(e,t,n){return Q.H.useReducer(e,t,n)};T.useRef=function(e){return Q.H.useRef(e)};T.useState=function(e){return Q.H.useState(e)};T.useSyncExternalStore=function(e,t,n){return Q.H.useSyncExternalStore(e,t,n)};T.useTransition=function(){return Q.H.useTransition()};T.version="19.2.0"});var tr=Wt((x,Ct)=>{"use strict";process.env.NODE_ENV!=="production"&&(function(){function e(r,c){Object.defineProperty(o.prototype,r,{get:function(){console.warn("%s(...) is deprecated in plain JavaScript React classes. %s",c[0],c[1])}})}function t(r){return r===null||typeof r!="object"?null:(r=lt&&r[lt]||r["@@iterator"],typeof r=="function"?r:null)}function n(r,c){r=(r=r.constructor)&&(r.displayName||r.name)||"ReactClass";var d=r+"."+c;ct[d]||(console.error("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",c,r),ct[d]=!0)}function o(r,c,d){this.props=r,this.context=c,this.refs=Qe,this.updater=d||ft}function a(){}function u(r,c,d){this.props=r,this.context=c,this.refs=Qe,this.updater=d||ft}function s(){}function i(r){return""+r}function l(r){try{i(r);var c=!1}catch(R){c=!0}if(c){c=console;var d=c.error,g=typeof Symbol=="function"&&Symbol.toStringTag&&r[Symbol.toStringTag]||r.constructor.name||"Object";return d.call(c,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",g),i(r)}}function f(r){if(r==null)return null;if(typeof r=="function")return r.$$typeof===Dt?null:r.displayName||r.name||null;if(typeof r=="string")return r;switch(r){case ne:return"Fragment";case ee:return"Profiler";case J:return"StrictMode";case qe:return"Suspense";case it:return"SuspenseList";case ut:return"Activity"}if(typeof r=="object")switch(typeof r.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),r.$$typeof){case q:return"Portal";case ze:return r.displayName||"Context";case de:return(r._context.displayName||"Context")+".Consumer";case Ye:var c=r.render;return r=r.displayName,r||(r=c.displayName||c.name||"",r=r!==""?"ForwardRef("+r+")":"ForwardRef"),r;case Ge:return c=r.displayName||null,c!==null?c:f(r.type)||"Memo";case ke:c=r._payload,r=r._init;try{return f(r(c))}catch(d){}}return null}function p(r){if(r===ne)return"<>";if(typeof r=="object"&&r!==null&&r.$$typeof===ke)return"<...>";try{var c=f(r);return c?"<"+c+">":"<...>"}catch(d){return"<...>"}}function h(){var r=_.A;return r===null?null:r.getOwner()}function m(){return Error("react-stack-top-frame")}function y(r){if(Me.call(r,"key")){var c=Object.getOwnPropertyDescriptor(r,"key").get;if(c&&c.isReactWarning)return!1}return r.key!==void 0}function S(r,c){function d(){ht||(ht=!0,console.error("%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://react.dev/link/special-props)",c))}d.isReactWarning=!0,Object.defineProperty(r,"key",{get:d,configurable:!0})}function w(){var r=f(this.type);return gt[r]||(gt[r]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),r=this.props.ref,r!==void 0?r:null}function I(r,c,d,g,R,A){var k=d.ref;return r={$$typeof:Z,type:r,key:c,props:d,_owner:g},(k!==void 0?k:null)!==null?Object.defineProperty(r,"ref",{enumerable:!1,get:w}):Object.defineProperty(r,"ref",{enumerable:!1,value:null}),r._store={},Object.defineProperty(r._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(r,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(r,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:R}),Object.defineProperty(r,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:A}),Object.freeze&&(Object.freeze(r.props),Object.freeze(r)),r}function D(r,c){return c=I(r.type,c,r.props,r._owner,r._debugStack,r._debugTask),r._store&&(c._store.validated=r._store.validated),c}function F(r){Y(r)?r._store&&(r._store.validated=1):typeof r=="object"&&r!==null&&r.$$typeof===ke&&(r._payload.status==="fulfilled"?Y(r._payload.value)&&r._payload.value._store&&(r._payload.value._store.validated=1):r._store&&(r._store.validated=1))}function Y(r){return typeof r=="object"&&r!==null&&r.$$typeof===Z}function P(r){var c={"=":"=0",":":"=2"};return"$"+r.replace(/[=:]/g,function(d){return c[d]})}function $(r,c){return typeof r=="object"&&r!==null&&r.key!=null?(l(r.key),P(""+r.key)):c.toString(36)}function K(r){switch(r.status){case"fulfilled":return r.value;case"rejected":throw r.reason;default:switch(typeof r.status=="string"?r.then(s,s):(r.status="pending",r.then(function(c){r.status==="pending"&&(r.status="fulfilled",r.value=c)},function(c){r.status==="pending"&&(r.status="rejected",r.reason=c)})),r.status){case"fulfilled":return r.value;case"rejected":throw r.reason}}throw r}function U(r,c,d,g,R){var A=typeof r;(A==="undefined"||A==="boolean")&&(r=null);var k=!1;if(r===null)k=!0;else switch(A){case"bigint":case"string":case"number":k=!0;break;case"object":switch(r.$$typeof){case Z:case q:k=!0;break;case ke:return k=r._init,U(k(r._payload),c,d,g,R)}}if(k){k=r,R=R(k);var V=g===""?"."+$(k,0):g;return dt(R)?(d="",V!=null&&(d=V.replace($n,"$&/")+"/"),U(R,c,d,"",function(we){return we})):R!=null&&(Y(R)&&(R.key!=null&&(k&&k.key===R.key||l(R.key)),d=D(R,d+(R.key==null||k&&k.key===R.key?"":(""+R.key).replace($n,"$&/")+"/")+V),g!==""&&k!=null&&Y(k)&&k.key==null&&k._store&&!k._store.validated&&(d._store.validated=2),R=d),c.push(R)),1}if(k=0,V=g===""?".":g+":",dt(r))for(var L=0;L<r.length;L++)g=r[L],A=V+$(g,L),k+=U(g,c,d,A,R);else if(L=t(r),typeof L=="function")for(L===r.entries&&(jn||console.warn("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),jn=!0),r=L.call(r),L=0;!(g=r.next()).done;)g=g.value,A=V+$(g,L++),k+=U(g,c,d,A,R);else if(A==="object"){if(typeof r.then=="function")return U(K(r),c,d,g,R);throw c=String(r),Error("Objects are not valid as a React child (found: "+(c==="[object Object]"?"object with keys {"+Object.keys(r).join(", ")+"}":c)+"). If you meant to render a collection of children, use an array instead.")}return k}function B(r,c,d){if(r==null)return r;var g=[],R=0;return U(r,g,"","",function(A){return c.call(d,A,R++)}),g}function oe(r){if(r._status===-1){var c=r._ioInfo;c!=null&&(c.start=c.end=performance.now()),c=r._result;var d=c();if(d.then(function(R){if(r._status===0||r._status===-1){r._status=1,r._result=R;var A=r._ioInfo;A!=null&&(A.end=performance.now()),d.status===void 0&&(d.status="fulfilled",d.value=R)}},function(R){if(r._status===0||r._status===-1){r._status=2,r._result=R;var A=r._ioInfo;A!=null&&(A.end=performance.now()),d.status===void 0&&(d.status="rejected",d.reason=R)}}),c=r._ioInfo,c!=null){c.value=d;var g=d.displayName;typeof g=="string"&&(c.name=g)}r._status===-1&&(r._status=0,r._result=d)}if(r._status===1)return c=r._result,c===void 0&&console.error(`lazy: Expected the result of a dynamic import() call. Instead received: %s
1
+ "use strict";var PrimeReact=PrimeReact||{};PrimeReact.Core=(()=>{var mi=Object.create;var Yt=Object.defineProperty,gi=Object.defineProperties,hi=Object.getOwnPropertyDescriptor,yi=Object.getOwnPropertyDescriptors,vi=Object.getOwnPropertyNames,pn=Object.getOwnPropertySymbols,bi=Object.getPrototypeOf,Un=Object.prototype.hasOwnProperty,po=Object.prototype.propertyIsEnumerable;var jn=(e,t,n)=>t in e?Yt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,S=(e,t)=>{for(var n in t||(t={}))Un.call(t,n)&&jn(e,n,t[n]);if(pn)for(var n of pn(t))po.call(t,n)&&jn(e,n,t[n]);return e},B=(e,t)=>gi(e,yi(t));var Gt=(e,t)=>{var n={};for(var r in e)Un.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&pn)for(var r of pn(e))t.indexOf(r)<0&&po.call(e,r)&&(n[r]=e[r]);return n};var Bn=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Ri=(e,t)=>{for(var n in t)Yt(e,n,{get:t[n],enumerable:!0})},mo=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of vi(t))!Un.call(e,o)&&o!==n&&Yt(e,o,{get:()=>t[o],enumerable:!(r=hi(t,o))||r.enumerable});return e};var K=(e,t,n)=>(n=e!=null?mi(bi(e)):{},mo(t||!e||!e.__esModule?Yt(n,"default",{value:e,enumerable:!0}):n,e)),xi=e=>mo(Yt({},"__esModule",{value:!0}),e);var yt=(e,t,n)=>jn(e,typeof t!="symbol"?t+"":t,n);var Xt=(e,t,n)=>new Promise((r,o)=>{var a=l=>{try{u(n.next(l))}catch(c){o(c)}},i=l=>{try{u(n.throw(l))}catch(c){o(c)}},u=l=>l.done?r(l.value):Promise.resolve(l.value).then(a,i);u((n=n.apply(e,t)).next())});var Co=Bn(G=>{"use strict";var Wn=Symbol.for("react.transitional.element"),Si=Symbol.for("react.portal"),Ti=Symbol.for("react.fragment"),Ci=Symbol.for("react.strict_mode"),wi=Symbol.for("react.profiler"),Pi=Symbol.for("react.consumer"),Mi=Symbol.for("react.context"),Ii=Symbol.for("react.forward_ref"),ki=Symbol.for("react.suspense"),Oi=Symbol.for("react.memo"),bo=Symbol.for("react.lazy"),_i=Symbol.for("react.activity"),go=Symbol.iterator;function Li(e){return e===null||typeof e!="object"?null:(e=go&&e[go]||e["@@iterator"],typeof e=="function"?e:null)}var Ro={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},xo=Object.assign,Eo={};function It(e,t,n){this.props=e,this.context=t,this.refs=Eo,this.updater=n||Ro}It.prototype.isReactComponent={};It.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};It.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function So(){}So.prototype=It.prototype;function qn(e,t,n){this.props=e,this.context=t,this.refs=Eo,this.updater=n||Ro}var Yn=qn.prototype=new So;Yn.constructor=qn;xo(Yn,It.prototype);Yn.isPureReactComponent=!0;var ho=Array.isArray;function zn(){}var me={H:null,A:null,T:null,S:null},To=Object.prototype.hasOwnProperty;function Gn(e,t,n){var r=n.ref;return{$$typeof:Wn,type:e,key:t,ref:r!==void 0?r:null,props:n}}function Ai(e,t){return Gn(e.type,t,e.props)}function Xn(e){return typeof e=="object"&&e!==null&&e.$$typeof===Wn}function Di(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var yo=/\/+/g;function Kn(e,t){return typeof e=="object"&&e!==null&&e.key!=null?Di(""+e.key):t.toString(36)}function Ni(e){switch(e.status){case"fulfilled":return e.value;case"rejected":throw e.reason;default:switch(typeof e.status=="string"?e.then(zn,zn):(e.status="pending",e.then(function(t){e.status==="pending"&&(e.status="fulfilled",e.value=t)},function(t){e.status==="pending"&&(e.status="rejected",e.reason=t)})),e.status){case"fulfilled":return e.value;case"rejected":throw e.reason}}throw e}function Mt(e,t,n,r,o){var a=typeof e;(a==="undefined"||a==="boolean")&&(e=null);var i=!1;if(e===null)i=!0;else switch(a){case"bigint":case"string":case"number":i=!0;break;case"object":switch(e.$$typeof){case Wn:case Si:i=!0;break;case bo:return i=e._init,Mt(i(e._payload),t,n,r,o)}}if(i)return o=o(e),i=r===""?"."+Kn(e,0):r,ho(o)?(n="",i!=null&&(n=i.replace(yo,"$&/")+"/"),Mt(o,t,n,"",function(c){return c})):o!=null&&(Xn(o)&&(o=Ai(o,n+(o.key==null||e&&e.key===o.key?"":(""+o.key).replace(yo,"$&/")+"/")+i)),t.push(o)),1;i=0;var u=r===""?".":r+":";if(ho(e))for(var l=0;l<e.length;l++)r=e[l],a=u+Kn(r,l),i+=Mt(r,t,n,a,o);else if(l=Li(e),typeof l=="function")for(e=l.call(e),l=0;!(r=e.next()).done;)r=r.value,a=u+Kn(r,l++),i+=Mt(r,t,n,a,o);else if(a==="object"){if(typeof e.then=="function")return Mt(Ni(e),t,n,r,o);throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.")}return i}function mn(e,t,n){if(e==null)return e;var r=[],o=0;return Mt(e,r,"","",function(a){return t.call(n,a,o++)}),r}function Fi(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(n){(e._status===0||e._status===-1)&&(e._status=1,e._result=n)},function(n){(e._status===0||e._status===-1)&&(e._status=2,e._result=n)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var vo=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)},$i={map:mn,forEach:function(e,t,n){mn(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return mn(e,function(){t++}),t},toArray:function(e){return mn(e,function(t){return t})||[]},only:function(e){if(!Xn(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};G.Activity=_i;G.Children=$i;G.Component=It;G.Fragment=Ti;G.Profiler=wi;G.PureComponent=qn;G.StrictMode=Ci;G.Suspense=ki;G.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=me;G.__COMPILER_RUNTIME={__proto__:null,c:function(e){return me.H.useMemoCache(e)}};G.cache=function(e){return function(){return e.apply(null,arguments)}};G.cacheSignal=function(){return null};G.cloneElement=function(e,t,n){if(e==null)throw Error("The argument must be a React element, but you passed "+e+".");var r=xo({},e.props),o=e.key;if(t!=null)for(a in t.key!==void 0&&(o=""+t.key),t)!To.call(t,a)||a==="key"||a==="__self"||a==="__source"||a==="ref"&&t.ref===void 0||(r[a]=t[a]);var a=arguments.length-2;if(a===1)r.children=n;else if(1<a){for(var i=Array(a),u=0;u<a;u++)i[u]=arguments[u+2];r.children=i}return Gn(e.type,o,r)};G.createContext=function(e){return e={$$typeof:Mi,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider=e,e.Consumer={$$typeof:Pi,_context:e},e};G.createElement=function(e,t,n){var r,o={},a=null;if(t!=null)for(r in t.key!==void 0&&(a=""+t.key),t)To.call(t,r)&&r!=="key"&&r!=="__self"&&r!=="__source"&&(o[r]=t[r]);var i=arguments.length-2;if(i===1)o.children=n;else if(1<i){for(var u=Array(i),l=0;l<i;l++)u[l]=arguments[l+2];o.children=u}if(e&&e.defaultProps)for(r in i=e.defaultProps,i)o[r]===void 0&&(o[r]=i[r]);return Gn(e,a,o)};G.createRef=function(){return{current:null}};G.forwardRef=function(e){return{$$typeof:Ii,render:e}};G.isValidElement=Xn;G.lazy=function(e){return{$$typeof:bo,_payload:{_status:-1,_result:e},_init:Fi}};G.memo=function(e,t){return{$$typeof:Oi,type:e,compare:t===void 0?null:t}};G.startTransition=function(e){var t=me.T,n={};me.T=n;try{var r=e(),o=me.S;o!==null&&o(n,r),typeof r=="object"&&r!==null&&typeof r.then=="function"&&r.then(zn,vo)}catch(a){vo(a)}finally{t!==null&&n.types!==null&&(t.types=n.types),me.T=t}};G.unstable_useCacheRefresh=function(){return me.H.useCacheRefresh()};G.use=function(e){return me.H.use(e)};G.useActionState=function(e,t,n){return me.H.useActionState(e,t,n)};G.useCallback=function(e,t){return me.H.useCallback(e,t)};G.useContext=function(e){return me.H.useContext(e)};G.useDebugValue=function(){};G.useDeferredValue=function(e,t){return me.H.useDeferredValue(e,t)};G.useEffect=function(e,t){return me.H.useEffect(e,t)};G.useEffectEvent=function(e){return me.H.useEffectEvent(e)};G.useId=function(){return me.H.useId()};G.useImperativeHandle=function(e,t,n){return me.H.useImperativeHandle(e,t,n)};G.useInsertionEffect=function(e,t){return me.H.useInsertionEffect(e,t)};G.useLayoutEffect=function(e,t){return me.H.useLayoutEffect(e,t)};G.useMemo=function(e,t){return me.H.useMemo(e,t)};G.useOptimistic=function(e,t){return me.H.useOptimistic(e,t)};G.useReducer=function(e,t,n){return me.H.useReducer(e,t,n)};G.useRef=function(e){return me.H.useRef(e)};G.useState=function(e){return me.H.useState(e)};G.useSyncExternalStore=function(e,t,n){return me.H.useSyncExternalStore(e,t,n)};G.useTransition=function(){return me.H.useTransition()};G.version="19.2.7"});var wo=Bn((W,gn)=>{"use strict";process.env.NODE_ENV!=="production"&&(function(){function e(s,d){Object.defineProperty(r.prototype,s,{get:function(){console.warn("%s(...) is deprecated in plain JavaScript React classes. %s",d[0],d[1])}})}function t(s){return s===null||typeof s!="object"?null:(s=gt&&s[gt]||s["@@iterator"],typeof s=="function"?s:null)}function n(s,d){s=(s=s.constructor)&&(s.displayName||s.name)||"ReactClass";var R=s+"."+d;Ue[R]||(console.error("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",d,s),Ue[R]=!0)}function r(s,d,R){this.props=s,this.context=d,this.refs=ht,this.updater=R||Tt}function o(){}function a(s,d,R){this.props=s,this.context=d,this.refs=ht,this.updater=R||Tt}function i(){}function u(s){return""+s}function l(s){try{u(s);var d=!1}catch(M){d=!0}if(d){d=console;var R=d.error,C=typeof Symbol=="function"&&Symbol.toStringTag&&s[Symbol.toStringTag]||s.constructor.name||"Object";return R.call(d,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",C),u(s)}}function c(s){if(s==null)return null;if(typeof s=="function")return s.$$typeof===qt?null:s.displayName||s.name||null;if(typeof s=="string")return s;switch(s){case ce:return"Fragment";case Je:return"Profiler";case _e:return"StrictMode";case it:return"Suspense";case at:return"SuspenseList";case Ae:return"Activity"}if(typeof s=="object")switch(typeof s.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),s.$$typeof){case fe:return"Portal";case et:return s.displayName||"Context";case Ke:return(s._context.displayName||"Context")+".Consumer";case st:var d=s.render;return s=s.displayName,s||(s=d.displayName||d.name||"",s=s!==""?"ForwardRef("+s+")":"ForwardRef"),s;case Le:return d=s.displayName||null,d!==null?d:c(s.type)||"Memo";case je:d=s._payload,s=s._init;try{return c(s(d))}catch(R){}}return null}function f(s){if(s===ce)return"<>";if(typeof s=="object"&&s!==null&&s.$$typeof===je)return"<...>";try{var d=c(s);return d?"<"+d+">":"<...>"}catch(R){return"<...>"}}function m(){var s=Y.A;return s===null?null:s.getOwner()}function g(){return Error("react-stack-top-frame")}function p(s){if(b.call(s,"key")){var d=Object.getOwnPropertyDescriptor(s,"key").get;if(d&&d.isReactWarning)return!1}return s.key!==void 0}function h(s,d){function R(){E||(E=!0,console.error("%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://react.dev/link/special-props)",d))}R.isReactWarning=!0,Object.defineProperty(s,"key",{get:R,configurable:!0})}function y(){var s=c(this.type);return q[s]||(q[s]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),s=this.props.ref,s!==void 0?s:null}function v(s,d,R,C,M,U){var H=R.ref;return s={$$typeof:be,type:s,key:d,props:R,_owner:C},(H!==void 0?H:null)!==null?Object.defineProperty(s,"ref",{enumerable:!1,get:y}):Object.defineProperty(s,"ref",{enumerable:!1,value:null}),s._store={},Object.defineProperty(s._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(s,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(s,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:M}),Object.defineProperty(s,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:U}),Object.freeze&&(Object.freeze(s.props),Object.freeze(s)),s}function w(s,d){return d=v(s.type,d,s.props,s._owner,s._debugStack,s._debugTask),s._store&&(d._store.validated=s._store.validated),d}function T(s){P(s)?s._store&&(s._store.validated=1):typeof s=="object"&&s!==null&&s.$$typeof===je&&(s._payload.status==="fulfilled"?P(s._payload.value)&&s._payload.value._store&&(s._payload.value._store.validated=1):s._store&&(s._store.validated=1))}function P(s){return typeof s=="object"&&s!==null&&s.$$typeof===be}function A(s){var d={"=":"=0",":":"=2"};return"$"+s.replace(/[=:]/g,function(R){return d[R]})}function Q(s,d){return typeof s=="object"&&s!==null&&s.key!=null?(l(s.key),A(""+s.key)):d.toString(36)}function re(s){switch(s.status){case"fulfilled":return s.value;case"rejected":throw s.reason;default:switch(typeof s.status=="string"?s.then(i,i):(s.status="pending",s.then(function(d){s.status==="pending"&&(s.status="fulfilled",s.value=d)},function(d){s.status==="pending"&&(s.status="rejected",s.reason=d)})),s.status){case"fulfilled":return s.value;case"rejected":throw s.reason}}throw s}function J(s,d,R,C,M){var U=typeof s;(U==="undefined"||U==="boolean")&&(s=null);var H=!1;if(s===null)H=!0;else switch(U){case"bigint":case"string":case"number":H=!0;break;case"object":switch(s.$$typeof){case be:case fe:H=!0;break;case je:return H=s._init,J(H(s._payload),d,R,C,M)}}if(H){H=s,M=M(H);var N=C===""?"."+Q(H,0):C;return wt(M)?(R="",N!=null&&(R=N.replace(ge,"$&/")+"/"),J(M,d,R,"",function(De){return De})):M!=null&&(P(M)&&(M.key!=null&&(H&&H.key===M.key||l(M.key)),R=w(M,R+(M.key==null||H&&H.key===M.key?"":(""+M.key).replace(ge,"$&/")+"/")+N),C!==""&&H!=null&&P(H)&&H.key==null&&H._store&&!H._store.validated&&(R._store.validated=2),M=R),d.push(M)),1}if(H=0,N=C===""?".":C+":",wt(s))for(var j=0;j<s.length;j++)C=s[j],U=N+Q(C,j),H+=J(C,d,R,U,M);else if(j=t(s),typeof j=="function")for(j===s.entries&&(de||console.warn("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),de=!0),s=j.call(s),j=0;!(C=s.next()).done;)C=C.value,U=N+Q(C,j++),H+=J(C,d,R,U,M);else if(U==="object"){if(typeof s.then=="function")return J(re(s),d,R,C,M);throw d=String(s),Error("Objects are not valid as a React child (found: "+(d==="[object Object]"?"object with keys {"+Object.keys(s).join(", ")+"}":d)+"). If you meant to render a collection of children, use an array instead.")}return H}function te(s,d,R){if(s==null)return s;var C=[],M=0;return J(s,C,"","",function(U){return d.call(R,U,M++)}),C}function $(s){if(s._status===-1){var d=s._ioInfo;d!=null&&(d.start=d.end=performance.now()),d=s._result;var R=d();if(R.then(function(M){if(s._status===0||s._status===-1){s._status=1,s._result=M;var U=s._ioInfo;U!=null&&(U.end=performance.now()),R.status===void 0&&(R.status="fulfilled",R.value=M)}},function(M){if(s._status===0||s._status===-1){s._status=2,s._result=M;var U=s._ioInfo;U!=null&&(U.end=performance.now()),R.status===void 0&&(R.status="rejected",R.reason=M)}}),d=s._ioInfo,d!=null){d.value=R;var C=R.displayName;typeof C=="string"&&(d.name=C)}s._status===-1&&(s._status=0,s._result=R)}if(s._status===1)return d=s._result,d===void 0&&console.error(`lazy: Expected the result of a dynamic import() call. Instead received: %s
2
2
 
3
3
  Your code should look like:
4
4
  const MyComponent = lazy(() => import('./MyComponent'))
5
5
 
6
- Did you accidentally put curly braces around the import?`,c),"default"in c||console.error(`lazy: Expected the result of a dynamic import() call. Instead received: %s
6
+ Did you accidentally put curly braces around the import?`,d),"default"in d||console.error(`lazy: Expected the result of a dynamic import() call. Instead received: %s
7
7
 
8
8
  Your code should look like:
9
- const MyComponent = lazy(() => import('./MyComponent'))`,c),c.default;throw r._result}function j(){var r=_.H;return r===null&&console.error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
9
+ const MyComponent = lazy(() => import('./MyComponent'))`,d),d.default;throw s._result}function O(){var s=Y.H;return s===null&&console.error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
10
10
  1. You might have mismatching versions of React and the renderer (such as React DOM)
11
11
  2. You might be breaking the Rules of Hooks
12
12
  3. You might have more than one copy of React in the same app
13
- See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),r}function ue(){_.asyncTransitions--}function b(r){if(vt===null)try{var c=("require"+Math.random()).slice(0,7);vt=(Ct&&Ct[c]).call(Ct,"timers").setImmediate}catch(d){vt=function(g){Dn===!1&&(Dn=!0,typeof MessageChannel=="undefined"&&console.error("This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning."));var R=new MessageChannel;R.port1.onmessage=g,R.port2.postMessage(void 0)}}return vt(r)}function E(r){return 1<r.length&&typeof AggregateError=="function"?new AggregateError(r):r[0]}function C(r,c){c!==bt-1&&console.error("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "),bt=c}function H(r,c,d){var g=_.actQueue;if(g!==null)if(g.length!==0)try{G(g),b(function(){return H(r,c,d)});return}catch(R){_.thrownErrors.push(R)}else _.actQueue=null;0<_.thrownErrors.length?(g=E(_.thrownErrors),_.thrownErrors.length=0,d(g)):c(r)}function G(r){if(!Ut){Ut=!0;var c=0;try{for(;c<r.length;c++){var d=r[c];do{_.didUsePromise=!1;var g=d(!1);if(g!==null){if(_.didUsePromise){r[c]=d,r.splice(0,c);return}d=g}else break}while(!0)}r.length=0}catch(R){r.splice(0,c+1),_.thrownErrors.push(R)}finally{Ut=!1}}}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var Z=Symbol.for("react.transitional.element"),q=Symbol.for("react.portal"),ne=Symbol.for("react.fragment"),J=Symbol.for("react.strict_mode"),ee=Symbol.for("react.profiler"),de=Symbol.for("react.consumer"),ze=Symbol.for("react.context"),Ye=Symbol.for("react.forward_ref"),qe=Symbol.for("react.suspense"),it=Symbol.for("react.suspense_list"),Ge=Symbol.for("react.memo"),ke=Symbol.for("react.lazy"),ut=Symbol.for("react.activity"),lt=Symbol.iterator,ct={},ft={isMounted:function(){return!1},enqueueForceUpdate:function(r){n(r,"forceUpdate")},enqueueReplaceState:function(r){n(r,"replaceState")},enqueueSetState:function(r){n(r,"setState")}},pt=Object.assign,Qe={};Object.freeze(Qe),o.prototype.isReactComponent={},o.prototype.setState=function(r,c){if(typeof r!="object"&&typeof r!="function"&&r!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,r,c,"setState")},o.prototype.forceUpdate=function(r){this.updater.enqueueForceUpdate(this,r,"forceUpdate")};var se={isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]};for(Xe in se)se.hasOwnProperty(Xe)&&e(Xe,se[Xe]);a.prototype=o.prototype,se=u.prototype=new a,se.constructor=u,pt(se,o.prototype),se.isPureReactComponent=!0;var dt=Array.isArray,Dt=Symbol.for("react.client.reference"),_={H:null,A:null,T:null,S:null,actQueue:null,asyncTransitions:0,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1,didUsePromise:!1,thrownErrors:[],getCurrentStack:null,recentlyCreatedOwnerStacks:0},Me=Object.prototype.hasOwnProperty,mt=console.createTask?console.createTask:function(){return null};se={react_stack_bottom_frame:function(r){return r()}};var ht,yt,gt={},Ft=se.react_stack_bottom_frame.bind(se,m)(),to=mt(p(m)),jn=!1,$n=/\/+/g,Hn=typeof reportError=="function"?reportError:function(r){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var c=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof r=="object"&&r!==null&&typeof r.message=="string"?String(r.message):String(r),error:r});if(!window.dispatchEvent(c))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",r);return}console.error(r)},Dn=!1,vt=null,bt=0,Et=!1,Ut=!1,Fn=typeof queueMicrotask=="function"?function(r){queueMicrotask(function(){return queueMicrotask(r)})}:b;se=Object.freeze({__proto__:null,c:function(r){return j().useMemoCache(r)}});var Xe={map:B,forEach:function(r,c,d){B(r,function(){c.apply(this,arguments)},d)},count:function(r){var c=0;return B(r,function(){c++}),c},toArray:function(r){return B(r,function(c){return c})||[]},only:function(r){if(!Y(r))throw Error("React.Children.only expected to receive a single React element child.");return r}};x.Activity=ut,x.Children=Xe,x.Component=o,x.Fragment=ne,x.Profiler=ee,x.PureComponent=u,x.StrictMode=J,x.Suspense=qe,x.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=_,x.__COMPILER_RUNTIME=se,x.act=function(r){var c=_.actQueue,d=bt;bt++;var g=_.actQueue=c!==null?c:[],R=!1;try{var A=r()}catch(L){_.thrownErrors.push(L)}if(0<_.thrownErrors.length)throw C(c,d),r=E(_.thrownErrors),_.thrownErrors.length=0,r;if(A!==null&&typeof A=="object"&&typeof A.then=="function"){var k=A;return Fn(function(){R||Et||(Et=!0,console.error("You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);"))}),{then:function(L,we){R=!0,k.then(function(Ie){if(C(c,d),d===0){try{G(g),b(function(){return H(Ie,L,we)})}catch(ro){_.thrownErrors.push(ro)}if(0<_.thrownErrors.length){var no=E(_.thrownErrors);_.thrownErrors.length=0,we(no)}}else L(Ie)},function(Ie){C(c,d),0<_.thrownErrors.length&&(Ie=E(_.thrownErrors),_.thrownErrors.length=0),we(Ie)})}}}var V=A;if(C(c,d),d===0&&(G(g),g.length!==0&&Fn(function(){R||Et||(Et=!0,console.error("A component suspended inside an `act` scope, but the `act` call was not awaited. When testing React components that depend on asynchronous data, you must await the result:\n\nawait act(() => ...)"))}),_.actQueue=null),0<_.thrownErrors.length)throw r=E(_.thrownErrors),_.thrownErrors.length=0,r;return{then:function(L,we){R=!0,d===0?(_.actQueue=g,b(function(){return H(V,L,we)})):L(V)}}},x.cache=function(r){return function(){return r.apply(null,arguments)}},x.cacheSignal=function(){return null},x.captureOwnerStack=function(){var r=_.getCurrentStack;return r===null?null:r()},x.cloneElement=function(r,c,d){if(r==null)throw Error("The argument must be a React element, but you passed "+r+".");var g=pt({},r.props),R=r.key,A=r._owner;if(c!=null){var k;e:{if(Me.call(c,"ref")&&(k=Object.getOwnPropertyDescriptor(c,"ref").get)&&k.isReactWarning){k=!1;break e}k=c.ref!==void 0}k&&(A=h()),y(c)&&(l(c.key),R=""+c.key);for(V in c)!Me.call(c,V)||V==="key"||V==="__self"||V==="__source"||V==="ref"&&c.ref===void 0||(g[V]=c[V])}var V=arguments.length-2;if(V===1)g.children=d;else if(1<V){k=Array(V);for(var L=0;L<V;L++)k[L]=arguments[L+2];g.children=k}for(g=I(r.type,R,g,A,r._debugStack,r._debugTask),R=2;R<arguments.length;R++)F(arguments[R]);return g},x.createContext=function(r){return r={$$typeof:ze,_currentValue:r,_currentValue2:r,_threadCount:0,Provider:null,Consumer:null},r.Provider=r,r.Consumer={$$typeof:de,_context:r},r._currentRenderer=null,r._currentRenderer2=null,r},x.createElement=function(r,c,d){for(var g=2;g<arguments.length;g++)F(arguments[g]);g={};var R=null;if(c!=null)for(L in yt||!("__self"in c)||"key"in c||(yt=!0,console.warn("Your app (or one of its dependencies) is using an outdated JSX transform. Update to the modern JSX transform for faster performance: https://react.dev/link/new-jsx-transform")),y(c)&&(l(c.key),R=""+c.key),c)Me.call(c,L)&&L!=="key"&&L!=="__self"&&L!=="__source"&&(g[L]=c[L]);var A=arguments.length-2;if(A===1)g.children=d;else if(1<A){for(var k=Array(A),V=0;V<A;V++)k[V]=arguments[V+2];Object.freeze&&Object.freeze(k),g.children=k}if(r&&r.defaultProps)for(L in A=r.defaultProps,A)g[L]===void 0&&(g[L]=A[L]);R&&S(g,typeof r=="function"?r.displayName||r.name||"Unknown":r);var L=1e4>_.recentlyCreatedOwnerStacks++;return I(r,R,g,h(),L?Error("react-stack-top-frame"):Ft,L?mt(p(r)):to)},x.createRef=function(){var r={current:null};return Object.seal(r),r},x.forwardRef=function(r){r!=null&&r.$$typeof===Ge?console.error("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof r!="function"?console.error("forwardRef requires a render function but was given %s.",r===null?"null":typeof r):r.length!==0&&r.length!==2&&console.error("forwardRef render functions accept exactly two parameters: props and ref. %s",r.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),r!=null&&r.defaultProps!=null&&console.error("forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?");var c={$$typeof:Ye,render:r},d;return Object.defineProperty(c,"displayName",{enumerable:!1,configurable:!0,get:function(){return d},set:function(g){d=g,r.name||r.displayName||(Object.defineProperty(r,"name",{value:g}),r.displayName=g)}}),c},x.isValidElement=Y,x.lazy=function(r){r={_status:-1,_result:r};var c={$$typeof:ke,_payload:r,_init:oe},d={name:"lazy",start:-1,end:-1,value:null,owner:null,debugStack:Error("react-stack-top-frame"),debugTask:console.createTask?console.createTask("lazy()"):null};return r._ioInfo=d,c._debugInfo=[{awaited:d}],c},x.memo=function(r,c){r==null&&console.error("memo: The first argument must be a component. Instead received: %s",r===null?"null":typeof r),c={$$typeof:Ge,type:r,compare:c===void 0?null:c};var d;return Object.defineProperty(c,"displayName",{enumerable:!1,configurable:!0,get:function(){return d},set:function(g){d=g,r.name||r.displayName||(Object.defineProperty(r,"name",{value:g}),r.displayName=g)}}),c},x.startTransition=function(r){var c=_.T,d={};d._updatedFibers=new Set,_.T=d;try{var g=r(),R=_.S;R!==null&&R(d,g),typeof g=="object"&&g!==null&&typeof g.then=="function"&&(_.asyncTransitions++,g.then(ue,ue),g.then(s,Hn))}catch(A){Hn(A)}finally{c===null&&d._updatedFibers&&(r=d._updatedFibers.size,d._updatedFibers.clear(),10<r&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table.")),c!==null&&d.types!==null&&(c.types!==null&&c.types!==d.types&&console.error("We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."),c.types=d.types),_.T=c}},x.unstable_useCacheRefresh=function(){return j().useCacheRefresh()},x.use=function(r){return j().use(r)},x.useActionState=function(r,c,d){return j().useActionState(r,c,d)},x.useCallback=function(r,c){return j().useCallback(r,c)},x.useContext=function(r){var c=j();return r.$$typeof===de&&console.error("Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?"),c.useContext(r)},x.useDebugValue=function(r,c){return j().useDebugValue(r,c)},x.useDeferredValue=function(r,c){return j().useDeferredValue(r,c)},x.useEffect=function(r,c){return r==null&&console.warn("React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?"),j().useEffect(r,c)},x.useEffectEvent=function(r){return j().useEffectEvent(r)},x.useId=function(){return j().useId()},x.useImperativeHandle=function(r,c,d){return j().useImperativeHandle(r,c,d)},x.useInsertionEffect=function(r,c){return r==null&&console.warn("React Hook useInsertionEffect requires an effect callback. Did you forget to pass a callback to the hook?"),j().useInsertionEffect(r,c)},x.useLayoutEffect=function(r,c){return r==null&&console.warn("React Hook useLayoutEffect requires an effect callback. Did you forget to pass a callback to the hook?"),j().useLayoutEffect(r,c)},x.useMemo=function(r,c){return j().useMemo(r,c)},x.useOptimistic=function(r,c){return j().useOptimistic(r,c)},x.useReducer=function(r,c,d){return j().useReducer(r,c,d)},x.useRef=function(r){return j().useRef(r)},x.useState=function(r){return j().useState(r)},x.useSyncExternalStore=function(r,c,d){return j().useSyncExternalStore(r,c,d)},x.useTransition=function(){return j().useTransition()},x.version="19.2.0",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var O=Wt((Is,Xt)=>{"use strict";process.env.NODE_ENV==="production"?Xt.exports=er():Xt.exports=tr()});var Ts={};co(Ts,{Component:()=>We,ConnectedOverlayScrollHandler:()=>Sn,FilterMatchMode:()=>re,FilterOperator:()=>po,Icon:()=>is,LocaleContext:()=>He,LocaleProvider:()=>fn,Motion:()=>xs,MotionProvider:()=>Ln,PassThroughContext:()=>De,PassThroughProvider:()=>dn,PrimeReactContext:()=>Nt,PrimeReactProvider:()=>ns,PrimeReactStyleSheet:()=>Nn,StyleRegistry:()=>Be,ThemeContext:()=>Ee,ThemeProvider:()=>vn,combinedRefs:()=>Rn,createOptionalContext:()=>Cn,createSafeContext:()=>rs,defaultComponentProps:()=>os,defaultConfigProps:()=>bn,defaultIconProps:()=>_n,defaultLocaleProps:()=>cn,defaultMotionProps:()=>Mn,defaultPTProps:()=>pn,defaultThemeProps:()=>gn,defaultUseMotionProps:()=>st,defaultUseStyleProps:()=>ss,globalProps:()=>jt,isValidElement:()=>wn,styles:()=>kn,useBase:()=>nt,useComponent:()=>Tn,useHeadless:()=>Pn,useIcon:()=>On,useLocale:()=>Wo,useMotion:()=>In,useMotionContext:()=>ls,usePassThrough:()=>Ko,usePrimeReact:()=>En,useStyle:()=>xn,useTheme:()=>ts,withComponent:()=>rt,withHeadless:()=>ot,withIcon:()=>An});var re=Object.freeze({STARTS_WITH:"startsWith",CONTAINS:"contains",NOT_CONTAINS:"notContains",ENDS_WITH:"endsWith",EQUALS:"equals",NOT_EQUALS:"notEquals",IN:"in",LESS_THAN:"lt",LESS_THAN_OR_EQUAL_TO:"lte",GREATER_THAN:"gt",GREATER_THAN_OR_EQUAL_TO:"gte",BETWEEN:"between",DATE_IS:"dateIs",DATE_IS_NOT:"dateIsNot",DATE_BEFORE:"dateBefore",DATE_AFTER:"dateAfter",CUSTOM:"custom"});var po=Object.freeze({AND:"and",OR:"or"});var wt=M(O());function nr(e=""){let t=wt.useId();return wt.useMemo(()=>`${e}${t.replaceAll(/:|«|»/g,"")}`.trim().toLowerCase(),[t,e])}function Je(...e){if(e){let t=[];for(let n=0;n<e.length;n++){let o=e[n];if(!o)continue;let a=typeof o;if(a==="string"||a==="number")t.push(o);else if(a==="object"){let u=Array.isArray(o)?[Je(...o)]:Object.entries(o).map(([s,i])=>i?s:void 0);t=u.length?t.concat(u.filter(s=>!!s)):t}}return t.join(" ").trim()}}function Oo(e,t){return e?e.classList?e.classList.contains(t):new RegExp("(^| )"+t+"( |$)","gi").test(e.className):!1}function xt(e,t){if(e&&t){let n=o=>{Oo(e,o)||(e.classList?e.classList.add(o):e.className+=" "+o)};[t].flat().filter(Boolean).forEach(o=>o.split(" ").forEach(n))}}function Zt(e,t){if(e&&t){let n=o=>{e.classList?e.classList.remove(o):e.className=e.className.replace(new RegExp("(^|\\b)"+o.split(" ").join("|")+"(\\b|$)","gi")," ")};[t].flat().filter(Boolean).forEach(o=>o.split(" ").forEach(n))}}function rr(e){let t={width:0,height:0};if(e){let[n,o]=[e.style.visibility,e.style.display],a=e.getBoundingClientRect();e.style.visibility="hidden",e.style.display="block",t.width=a.width||e.offsetWidth,t.height=a.height||e.offsetHeight,e.style.display=o,e.style.visibility=n}return t}function Ao(e){if(e){let t=e.parentNode;return t&&t instanceof ShadowRoot&&t.host&&(t=t.host),t}return null}function or(e){return typeof Element!="undefined"?e instanceof Element:e!==null&&typeof e=="object"&&e.nodeType===1&&typeof e.nodeName=="string"}function sr(e){let t=e;return e&&typeof e=="object"&&(Object.hasOwn(e,"current")?t=e.current:Object.hasOwn(e,"el")&&(Object.hasOwn(e.el,"nativeElement")?t=e.el.nativeElement:t=e.el)),or(t)?t:void 0}function ar(e,t={}){return e?`<style${Object.entries(t).reduce((n,[o,a])=>n+` ${o}="${a}"`,"")}>${e}</style>`:""}function Lo(e,t){return or(e)?e.matches(t)?e:e.querySelector(t):null}function ir(e,t=[]){let n=Ao(e);return n===null?t:ir(n,t.concat([n]))}function ur(e){let t=[];if(e){let n=ir(e),o=/(auto|scroll)/,a=u=>{try{let s=window.getComputedStyle(u,null);return o.test(s.getPropertyValue("overflow"))||o.test(s.getPropertyValue("overflowX"))||o.test(s.getPropertyValue("overflowY"))}catch(s){return!1}};for(let u of n){let s=u.nodeType===1&&u.dataset.scrollselectors;if(s){let i=s.split(",");for(let l of i){let f=Lo(u,l);f&&a(f)&&t.push(f)}}u.nodeType!==9&&a(u)&&t.push(u)}}return t}function Jt(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}function lr(){return typeof window=="undefined"||!window.matchMedia?!1:window.matchMedia("(prefers-reduced-motion: reduce)").matches}function cr(){return new Promise(e=>{requestAnimationFrame(()=>{requestAnimationFrame(e)})})}function en(e,t,n=null,o){var a;t&&((a=e==null?void 0:e.style)==null||a.setProperty(t,n,o))}function fr(){let e=new Map;return{on(t,n){let o=e.get(t);return o?o.push(n):o=[n],e.set(t,o),this},off(t,n){let o=e.get(t);return o&&o.splice(o.indexOf(n)>>>0,1),this},emit(t,n){let o=e.get(t);o&&o.forEach(a=>{a(n)})},clear(){e.clear()}}}var Mo=Object.defineProperty,pr=Object.getOwnPropertySymbols,Io=Object.prototype.hasOwnProperty,No=Object.prototype.propertyIsEnumerable,dr=(e,t,n)=>t in e?Mo(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,mr=(e,t)=>{for(var n in t||(t={}))Io.call(t,n)&&dr(e,n,t[n]);if(pr)for(var n of pr(t))No.call(t,n)&&dr(e,n,t[n]);return e};function hr(...e){if(e){let t=[];for(let n=0;n<e.length;n++){let o=e[n];if(!o)continue;let a=typeof o;if(a==="string"||a==="number")t.push(o);else if(a==="object"){let u=Array.isArray(o)?[hr(...o)]:Object.entries(o).map(([s,i])=>i?s:void 0);t=u.length?t.concat(u.filter(s=>!!s)):t}}return t.join(" ").trim()}}function jo(e){return typeof e=="function"&&"call"in e&&"apply"in e}function xe(...e){return e==null?void 0:e.reduce((t,n={})=>{for(let o in n){let a=n[o];if(o==="style")t.style=mr(mr({},t.style),n.style);else if(o==="class"||o==="className")t[o]=hr(t[o],n[o]);else if(jo(a)){let u=t[o];t[o]=u?(...s)=>{u(...s),a(...s)}:a}else t[o]=a}return t},{})}var $o=Object.defineProperty,yr=Object.getOwnPropertySymbols,Ho=Object.prototype.hasOwnProperty,Do=Object.prototype.propertyIsEnumerable,gr=(e,t,n)=>t in e?$o(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Fo=(e,t)=>{for(var n in t||(t={}))Ho.call(t,n)&&gr(e,n,t[n]);if(yr)for(var n of yr(t))Do.call(t,n)&&gr(e,n,t[n]);return e};function ve(e){return e==null||e===""||Array.isArray(e)&&e.length===0||!(e instanceof Date)&&typeof e=="object"&&Object.keys(e).length===0}function tn(e){return typeof e=="function"&&"call"in e&&"apply"in e}function W(e){return!ve(e)}function ie(e,t=!0){return e instanceof Object&&e.constructor===Object&&(t||Object.keys(e).length!==0)}function N(e,...t){return tn(e)?e(...t):e}function le(e,t=!0){return typeof e=="string"&&(t||e!=="")}function Te(e){return le(e)?e.replace(/(-|_)/g,"").toLowerCase():e}function me(e,t="",n={}){let o=Te(t).split("."),a=o.shift();if(a){if(ie(e)){let u=Object.keys(e).find(s=>Te(s)===a)||"";return me(N(e[u],n),o.join("."),n)}return}return N(e,n)}function nn(e,t=!0){return Array.isArray(e)&&(t||e.length!==0)}function vr(e){return W(e)&&!isNaN(e)}function he(e,t){if(t){let n=t.test(e);return t.lastIndex=0,n}return!1}function Ae(e){return e&&e.replace(/\/\*(?:(?!\*\/)[\s\S])*\*\/|[\r\n\t]+/g,"").replace(/ {2,}/g," ").replace(/ ([{:}]) /g,"$1").replace(/([;,]) /g,"$1").replace(/ !/g,"!").replace(/: /g,":").trim()}function br(e,...t){if(!ie(e))return e;let n=Fo({},e);return t==null||t.flat().forEach(o=>delete n[o]),n}function Tt(e){return le(e)?e.replace(/(_)/g,"-").replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase():e}function rn(e){return e==="auto"?0:typeof e=="number"?e:Number(e.replace(/[^\d.]/g,"").replace(",","."))*1e3}var on=M(O());var sn=M(O());var Er=M(O());var $e=M(O());function Rr(e){let t=$e.useId(),[n,o]=$e.useState(e||`pr_id_${t.replaceAll(/:|«|»/g,"")}`);return $e.useEffect(()=>{o(e||`pr_id_${t.replaceAll(/:|«|»/g,"")}`)},[e,t]),n}var Uo=M(O());var un=M(O());var Pt=M(O());function an(e){let t=Pt.useRef(!1);Pt.useEffect(()=>{t.current||(t.current=!0,e==null||e())},[])}var ln=M(O());var Sr=M(O());function be(e={},t={}){return Sr.useMemo(()=>{let n={props:v({},t),attrs:{}};return Object.entries(e).forEach(([o,a])=>{o in t?n.props[o]=a:n.attrs[o]=a}),n},[e,t])}var Cr=M(O());var wr=M(O());function xr(e){wr.useEffect(()=>()=>{e==null||e()},[])}var _t=M(O());function Tr(e,t){let n=_t.useRef(!1);_t.useEffect(()=>{if(!n.current){n.current=!0;return}return e==null?void 0:e()},t)}var Bo=M(O());var Pr=M(O());var kt=M(O());var cn={lang:"en"};var He=kt.createContext(void 0),fn=(e={})=>{let{attrs:t}=be(e,cn),n=void 0;return kt.createElement(He.Provider,{value:n},N(t.children,n))};var _r=M(O());function Wo(){let e=_r.useContext(He);if(e===void 0)throw new Error("Context must be used within a LocaleProvider");return e}var Ot=M(O());var pn={value:void 0,mergeProps:!1,mergeSections:!0};var De=Ot.createContext(void 0),dn=(e={})=>{let{props:t,attrs:n}=be(e,pn),s=t,{value:o}=s,a=Oe(s,["value"]),u={value:o,options:a};return Ot.createElement(De.Provider,{value:u},N(n.children,u))};var kr=M(O());function Ko(){let e=kr.useContext(De);if(e===void 0)throw new Error("Context must be used within a PassThroughProvider");return e}var Vo=Object.defineProperty,zo=Object.defineProperties,Yo=Object.getOwnPropertyDescriptors,Lt=Object.getOwnPropertySymbols,Lr=Object.prototype.hasOwnProperty,Mr=Object.prototype.propertyIsEnumerable,Or=(e,t,n)=>t in e?Vo(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ce=(e,t)=>{for(var n in t||(t={}))Lr.call(t,n)&&Or(e,n,t[n]);if(Lt)for(var n of Lt(t))Mr.call(t,n)&&Or(e,n,t[n]);return e},At=(e,t)=>zo(e,Yo(t)),Re=(e,t)=>{var n={};for(var o in e)Lr.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&Lt)for(var o of Lt(e))t.indexOf(o)<0&&Mr.call(e,o)&&(n[o]=e[o]);return n};var qo=fr(),Se=qo,et=/{([^}]*)}/g,Ir=/(\d+\s+[\+\-\*\/]\s+\d+)/g,Nr=/var\([^)]+\)/g;function Ar(e){return le(e)?e.replace(/[A-Z]/g,(t,n)=>n===0?t:"."+t.toLowerCase()).toLowerCase():e}function Go(e){return ie(e)&&e.hasOwnProperty("$value")&&e.hasOwnProperty("$type")?e.$value:e}function Qo(e){return e.replaceAll(/ /g,"").replace(/[^\w]/g,"-")}function mn(e="",t=""){return Qo(`${le(e,!1)&&le(t,!1)?`${e}-`:e}${t}`)}function jr(e="",t=""){return`--${mn(e,t)}`}function Xo(e=""){let t=(e.match(/{/g)||[]).length,n=(e.match(/}/g)||[]).length;return(t+n)%2!==0}function $r(e,t="",n="",o=[],a){if(le(e)){let u=e.trim();if(Xo(u))return;if(he(u,et)){let s=u.replaceAll(et,i=>{let l=i.replace(/{|}/g,"").split(".").filter(f=>!o.some(p=>he(f,p)));return`var(${jr(n,Tt(l.join("-")))}${W(a)?`, ${a}`:""})`});return he(s.replace(Nr,"0"),Ir)?`calc(${s})`:s}return u}else if(vr(e))return e}function Zo(e,t,n){le(t,!1)&&e.push(`${t}:${n};`)}function Fe(e,t){return e?`${e}{${t}}`:""}function Hr(e,t){if(e.indexOf("dt(")===-1)return e;function n(s,i){let l=[],f=0,p="",h=null,m=0;for(;f<=s.length;){let y=s[f];if((y==='"'||y==="'"||y==="`")&&s[f-1]!=="\\"&&(h=h===y?null:y),!h&&(y==="("&&m++,y===")"&&m--,(y===","||f===s.length)&&m===0)){let S=p.trim();S.startsWith("dt(")?l.push(Hr(S,i)):l.push(o(S)),p="",f++;continue}y!==void 0&&(p+=y),f++}return l}function o(s){let i=s[0];if((i==='"'||i==="'"||i==="`")&&s[s.length-1]===i)return s.slice(1,-1);let l=Number(s);return isNaN(l)?s:l}let a=[],u=[];for(let s=0;s<e.length;s++)if(e[s]==="d"&&e.slice(s,s+3)==="dt(")u.push(s),s+=2;else if(e[s]===")"&&u.length>0){let i=u.pop();u.length===0&&a.push([i,s])}if(!a.length)return e;for(let s=a.length-1;s>=0;s--){let[i,l]=a[s],f=e.slice(i+3,l),p=n(f,t),h=t(...p);e=e.slice(0,i)+h+e.slice(l+1)}return e}var yn=e=>{var t;let n=X.getTheme(),o=hn(n,e,void 0,"variable"),a=(t=o==null?void 0:o.match(/--[\w-]+/g))==null?void 0:t[0],u=hn(n,e,void 0,"value");return{name:a,variable:o,value:u}},Pe=(...e)=>hn(X.getTheme(),...e),hn=(e={},t,n,o)=>{if(t){let{variable:a,options:u}=X.defaults||{},{prefix:s,transform:i}=(e==null?void 0:e.options)||u||{},l=he(t,et)?t:`{${t}}`;return o==="value"||ve(o)&&i==="strict"?X.getTokenValue(t):$r(l,void 0,s,[a.excludedKeyRegex],n)}return""};function Mt(e,...t){if(e instanceof Array){let n=e.reduce((o,a,u)=>{var s;return o+a+((s=N(t[u],{dt:Pe}))!=null?s:"")},"");return Hr(n,Pe)}return N(e,{dt:Pe})}function Jo(e,t={}){let n=X.defaults.variable,{prefix:o=n.prefix,selector:a=n.selector,excludedKeyRegex:u=n.excludedKeyRegex}=t,s=[],i=[],l=[{node:e,path:o}];for(;l.length;){let{node:p,path:h}=l.pop();for(let m in p){let y=p[m],S=Go(y),w=he(m,u)?mn(h):mn(h,Tt(m));if(ie(S))l.push({node:S,path:w});else{let I=jr(w),D=$r(S,w,o,[u]);Zo(i,I,D);let F=w;o&&F.startsWith(o+"-")&&(F=F.slice(o.length+1)),s.push(F.replace(/-/g,"."))}}}let f=i.join("");return{value:i,tokens:s,declarations:f,css:Fe(a,f)}}var ye={regex:{rules:{class:{pattern:/^\.([a-zA-Z][\w-]*)$/,resolve(e){return{type:"class",selector:e,matched:this.pattern.test(e.trim())}}},attr:{pattern:/^\[(.*)\]$/,resolve(e){return{type:"attr",selector:`:root${e},:host${e}`,matched:this.pattern.test(e.trim())}}},media:{pattern:/^@media (.*)$/,resolve(e){return{type:"media",selector:e,matched:this.pattern.test(e.trim())}}},system:{pattern:/^system$/,resolve(e){return{type:"system",selector:"@media (prefers-color-scheme: dark)",matched:this.pattern.test(e.trim())}}},custom:{resolve(e){return{type:"custom",selector:e,matched:!0}}}},resolve(e){let t=Object.keys(this.rules).filter(n=>n!=="custom").map(n=>this.rules[n]);return[e].flat().map(n=>{var o;return(o=t.map(a=>a.resolve(n)).find(a=>a.matched))!=null?o:this.rules.custom.resolve(n)})}},_toVariables(e,t){return Jo(e,{prefix:t==null?void 0:t.prefix})},getCommon({name:e="",theme:t={},params:n,set:o,defaults:a}){var u,s,i,l,f,p,h;let{preset:m,options:y}=t,S,w,I,D,F,Y,P;if(W(m)&&y.transform!=="strict"){let{primitive:$,semantic:K,extend:U}=m,B=K||{},{colorScheme:oe}=B,j=Re(B,["colorScheme"]),ue=U||{},{colorScheme:b}=ue,E=Re(ue,["colorScheme"]),C=oe||{},{dark:H}=C,G=Re(C,["dark"]),Z=b||{},{dark:q}=Z,ne=Re(Z,["dark"]),J=W($)?this._toVariables({primitive:$},y):{},ee=W(j)?this._toVariables({semantic:j},y):{},de=W(G)?this._toVariables({light:G},y):{},ze=W(H)?this._toVariables({dark:H},y):{},Ye=W(E)?this._toVariables({semantic:E},y):{},qe=W(ne)?this._toVariables({light:ne},y):{},it=W(q)?this._toVariables({dark:q},y):{},[Ge,ke]=[(u=J.declarations)!=null?u:"",J.tokens],[ut,lt]=[(s=ee.declarations)!=null?s:"",ee.tokens||[]],[ct,ft]=[(i=de.declarations)!=null?i:"",de.tokens||[]],[pt,Qe]=[(l=ze.declarations)!=null?l:"",ze.tokens||[]],[se,dt]=[(f=Ye.declarations)!=null?f:"",Ye.tokens||[]],[Dt,_]=[(p=qe.declarations)!=null?p:"",qe.tokens||[]],[Me,mt]=[(h=it.declarations)!=null?h:"",it.tokens||[]];S=this.transformCSS(e,Ge,"light","variable",y,o,a),w=ke;let ht=this.transformCSS(e,`${ut}${ct}`,"light","variable",y,o,a),yt=this.transformCSS(e,`${pt}`,"dark","variable",y,o,a);I=`${ht}${yt}`,D=[...new Set([...lt,...ft,...Qe])];let gt=this.transformCSS(e,`${se}${Dt}color-scheme:light`,"light","variable",y,o,a),Ft=this.transformCSS(e,`${Me}color-scheme:dark`,"dark","variable",y,o,a);F=`${gt}${Ft}`,Y=[...new Set([...dt,..._,...mt])],P=N(m.css,{dt:Pe})}return{primitive:{css:S,tokens:w},semantic:{css:I,tokens:D},global:{css:F,tokens:Y},style:P}},getPreset({name:e="",preset:t={},options:n,params:o,set:a,defaults:u,selector:s}){var i,l,f;let p,h,m;if(W(t)&&n.transform!=="strict"){let y=e.replace("-directive",""),S=t,{colorScheme:w,extend:I,css:D}=S,F=Re(S,["colorScheme","extend","css"]),Y=I||{},{colorScheme:P}=Y,$=Re(Y,["colorScheme"]),K=w||{},{dark:U}=K,B=Re(K,["dark"]),oe=P||{},{dark:j}=oe,ue=Re(oe,["dark"]),b=W(F)?this._toVariables({[y]:ce(ce({},F),$)},n):{},E=W(B)?this._toVariables({[y]:ce(ce({},B),ue)},n):{},C=W(U)?this._toVariables({[y]:ce(ce({},U),j)},n):{},[H,G]=[(i=b.declarations)!=null?i:"",b.tokens||[]],[Z,q]=[(l=E.declarations)!=null?l:"",E.tokens||[]],[ne,J]=[(f=C.declarations)!=null?f:"",C.tokens||[]],ee=this.transformCSS(y,`${H}${Z}`,"light","variable",n,a,u,s),de=this.transformCSS(y,ne,"dark","variable",n,a,u,s);p=`${ee}${de}`,h=[...new Set([...G,...q,...J])],m=N(D,{dt:Pe})}return{css:p,tokens:h,style:m}},getPresetC({name:e="",theme:t={},params:n,set:o,defaults:a}){var u;let{preset:s,options:i}=t,l=(u=s==null?void 0:s.components)==null?void 0:u[e];return this.getPreset({name:e,preset:l,options:i,params:n,set:o,defaults:a})},getPresetD({name:e="",theme:t={},params:n,set:o,defaults:a}){var u,s;let i=e.replace("-directive",""),{preset:l,options:f}=t,p=((u=l==null?void 0:l.components)==null?void 0:u[i])||((s=l==null?void 0:l.directives)==null?void 0:s[i]);return this.getPreset({name:i,preset:p,options:f,params:n,set:o,defaults:a})},applyDarkColorScheme(e){return!(e.darkModeSelector==="none"||e.darkModeSelector===!1)},getColorSchemeOption(e,t){var n;return this.applyDarkColorScheme(e)?this.regex.resolve(e.darkModeSelector===!0?t.options.darkModeSelector:(n=e.darkModeSelector)!=null?n:t.options.darkModeSelector):[]},getLayerOrder(e,t={},n,o){let{cssLayer:a}=t;return a?`@layer ${N(a.order||a.name||"primeui",n)}`:""},getCommonStyleSheet({name:e="",theme:t={},params:n,props:o={},set:a,defaults:u}){let s=this.getCommon({name:e,theme:t,params:n,set:a,defaults:u}),i=Object.entries(o).reduce((l,[f,p])=>l.push(`${f}="${p}"`)&&l,[]).join(" ");return Object.entries(s||{}).reduce((l,[f,p])=>{if(ie(p)&&Object.hasOwn(p,"css")){let h=Ae(p.css),m=`${f}-variables`;l.push(`<style type="text/css" data-primevue-style-id="${m}" ${i}>${h}</style>`)}return l},[]).join("")},getStyleSheet({name:e="",theme:t={},params:n,props:o={},set:a,defaults:u}){var s;let i={name:e,theme:t,params:n,set:a,defaults:u},l=(s=e.includes("-directive")?this.getPresetD(i):this.getPresetC(i))==null?void 0:s.css,f=Object.entries(o).reduce((p,[h,m])=>p.push(`${h}="${m}"`)&&p,[]).join(" ");return l?`<style type="text/css" data-primevue-style-id="${e}-variables" ${f}>${Ae(l)}</style>`:""},createTokens(e={},t,n="",o="",a={}){let u=function(i,l={},f=[]){if(f.includes(this.path))return console.warn(`Circular reference detected at ${this.path}`),{colorScheme:i,path:this.path,paths:l,value:void 0};f.push(this.path),l.name=this.path,l.binding||(l.binding={});let p=this.value;if(typeof this.value=="string"&&et.test(this.value)){let h=this.value.trim().replace(et,m=>{var y;let S=m.slice(1,-1),w=this.tokens[S];if(!w)return console.warn(`Token not found for path: ${S}`),"__UNRESOLVED__";let I=w.computed(i,l,f);return Array.isArray(I)&&I.length===2?`light-dark(${I[0].value},${I[1].value})`:(y=I==null?void 0:I.value)!=null?y:"__UNRESOLVED__"});p=Ir.test(h.replace(Nr,"0"))?`calc(${h})`:h}return ve(l.binding)&&delete l.binding,f.pop(),{colorScheme:i,path:this.path,paths:l,value:p.includes("__UNRESOLVED__")?void 0:p}},s=(i,l,f)=>{Object.entries(i).forEach(([p,h])=>{let m=he(p,t.variable.excludedKeyRegex)?l:l?`${l}.${Ar(p)}`:Ar(p),y=f?`${f}.${p}`:p;ie(h)?s(h,m,y):(a[m]||(a[m]={paths:[],computed:(S,w={},I=[])=>{if(a[m].paths.length===1)return a[m].paths[0].computed(a[m].paths[0].scheme,w.binding,I);if(S&&S!=="none")for(let D=0;D<a[m].paths.length;D++){let F=a[m].paths[D];if(F.scheme===S)return F.computed(S,w.binding,I)}return a[m].paths.map(D=>D.computed(D.scheme,w[D.scheme],I))}}),a[m].paths.push({path:y,value:h,scheme:y.includes("colorScheme.light")?"light":y.includes("colorScheme.dark")?"dark":"none",computed:u,tokens:a}))})};return s(e,n,o),a},getTokenValue(e,t,n){var o;let a=(i=>i.split(".").filter(l=>!he(l.toLowerCase(),n.variable.excludedKeyRegex)).join("."))(t),u=t.includes("colorScheme.light")?"light":t.includes("colorScheme.dark")?"dark":void 0,s=[(o=e[a])==null?void 0:o.computed(u)].flat().filter(i=>i);return s.length===1?s[0].value:s.reduce((i={},l)=>{let f=l,{colorScheme:p}=f,h=Re(f,["colorScheme"]);return i[p]=h,i},void 0)},getSelectorRule(e,t,n,o){return n==="class"||n==="attr"?Fe(W(t)?`${e}${t},${e} ${t}`:e,o):Fe(e,Fe(t!=null?t:":root,:host",o))},transformCSS(e,t,n,o,a={},u,s,i){if(W(t)){let{cssLayer:l}=a;if(o!=="style"){let f=this.getColorSchemeOption(a,s);t=n==="dark"?f.reduce((p,{type:h,selector:m})=>(W(m)&&(p+=m.includes("[CSS]")?m.replace("[CSS]",t):this.getSelectorRule(m,i,h,t)),p),""):Fe(i!=null?i:":root,:host",t)}if(l){let f={name:"primeui",order:"primeui"};ie(l)&&(f.name=N(l.name,{name:e,type:o})),W(f.name)&&(t=Fe(`@layer ${f.name}`,t),u==null||u.layerNames(f.name))}return t}return""}},X={defaults:{variable:{prefix:"p",selector:":root,:host",excludedKeyRegex:/^(primitive|semantic|components|directives|variables|colorscheme|light|dark|common|root|states|extend|css)$/gi},options:{prefix:"p",darkModeSelector:"system",cssLayer:!1}},_theme:void 0,_layerNames:new Set,_loadedStyleNames:new Set,_loadingStyles:new Set,_tokens:{},update(e={}){let{theme:t}=e;t&&(this._theme=At(ce({},t),{options:ce(ce({},this.defaults.options),t.options)}),this._tokens=ye.createTokens(this.preset,this.defaults),this.clearLoadedStyleNames())},get theme(){return this._theme},get preset(){var e;return((e=this.theme)==null?void 0:e.preset)||{}},get options(){var e;return((e=this.theme)==null?void 0:e.options)||{}},get tokens(){return this._tokens},getTheme(){return this.theme},setTheme(e){this.update({theme:e}),Se.emit("theme:change",e)},getPreset(){return this.preset},setPreset(e){this._theme=At(ce({},this.theme),{preset:e}),this._tokens=ye.createTokens(e,this.defaults),this.clearLoadedStyleNames(),Se.emit("preset:change",e),Se.emit("theme:change",this.theme)},getOptions(){return this.options},setOptions(e){this._theme=At(ce({},this.theme),{options:e}),this.clearLoadedStyleNames(),Se.emit("options:change",e),Se.emit("theme:change",this.theme)},getLayerNames(){return[...this._layerNames]},setLayerNames(e){this._layerNames.add(e)},getLoadedStyleNames(){return this._loadedStyleNames},isStyleNameLoaded(e){return this._loadedStyleNames.has(e)},setLoadedStyleName(e){this._loadedStyleNames.add(e)},deleteLoadedStyleName(e){this._loadedStyleNames.delete(e)},clearLoadedStyleNames(){this._loadedStyleNames.clear()},getTokenValue(e){return ye.getTokenValue(this.tokens,e,this.defaults)},getCommon(e="",t){return ye.getCommon({name:e,theme:this.theme,params:t,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}})},getComponent(e="",t){let n={name:e,theme:this.theme,params:t,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}};return ye.getPresetC(n)},getDirective(e="",t){let n={name:e,theme:this.theme,params:t,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}};return ye.getPresetD(n)},getCustomPreset(e="",t,n,o){let a={name:e,preset:t,options:this.options,selector:n,params:o,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}};return ye.getPreset(a)},getLayerOrderCSS(e=""){return ye.getLayerOrder(e,this.options,{names:this.getLayerNames()},this.defaults)},transformCSS(e="",t,n="style",o){return ye.transformCSS(e,t,o,n,this.options,{layerNames:this.setLayerNames.bind(this)},this.defaults)},getCommonStyleSheet(e="",t,n={}){return ye.getCommonStyleSheet({name:e,theme:this.theme,params:t,props:n,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}})},getStyleSheet(e,t,n={}){return ye.getStyleSheet({name:e,theme:this.theme,params:t,props:n,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}})},onStyleMounted(e){this._loadingStyles.add(e)},onStyleUpdated(e){this._loadingStyles.add(e)},onStyleLoaded(e,{name:t}){this._loadingStyles.size&&(this._loadingStyles.delete(t),Se.emit(`theme:${t}:load`,e),!this._loadingStyles.size&&Se.emit("theme:load"))}};var es=class{constructor({attrs:e}={}){this._styles=new Map,this._attrs=e||{}}get(e){return this._styles.get(e)}has(e){return this._styles.has(e)}delete(e){this._styles.delete(e)}clear(){this._styles.clear()}add(e,t){if(W(t)){let n={name:e,css:t,attrs:this._attrs,markup:ar(t,this._attrs)};this._styles.set(e,At(ce({},n),{element:this.createStyleElement(n)}))}}update(){}getStyles(){return this._styles}getAllCSS(){return[...this._styles.values()].map(e=>e.css).filter(String)}getAllMarkup(){return[...this._styles.values()].map(e=>e.markup).filter(String)}getAllElements(){return[...this._styles.values()].map(e=>e.element)}createStyleElement(e={}){}},Dr=es;var It=M(O());var gn={preset:void 0,prefix:"p",darkModeSelector:"system",cssLayer:!1,stylesheet:void 0};var Ee=It.createContext(null),vn=(e={})=>{let{props:t}=be(e,gn),s=t,{stylesheet:n,preset:o}=s,a=Oe(s,["stylesheet","preset"]),u=v({preset:o,stylesheet:n},a);return X.setTheme({preset:o,options:a}),It.createElement(Ee.Provider,{value:u},N(e.children,u))};var Fr=M(O());function ts(){let e=Fr.useContext(Ee);if(e===void 0)throw new Error("Context must be used within a ThemeProvider");return e}var ge=M(O());var bn={csp:{nonce:void 0},defaults:void 0,filterMatchModeOptions:{text:[re.STARTS_WITH,re.CONTAINS,re.NOT_CONTAINS,re.ENDS_WITH,re.EQUALS,re.NOT_EQUALS],numeric:[re.EQUALS,re.NOT_EQUALS,re.LESS_THAN,re.LESS_THAN_OR_EQUAL_TO,re.GREATER_THAN,re.GREATER_THAN_OR_EQUAL_TO],date:[re.DATE_IS,re.DATE_IS_NOT,re.DATE_BEFORE,re.DATE_AFTER]},inputVariant:void 0,locale:"en",pt:void 0,ptOptions:{mergeSections:!0,mergeProps:!1},ripple:!1,theme:void 0,stylesheet:void 0,unstyled:!1,zIndex:{modal:1100,overlay:1e3,menu:1e3,tooltip:1100}};var Nt=ge.createContext(void 0);function ns(e={}){var p,h;let{props:t,attrs:n}=be(e,bn),[o,a]=ge.useState(t.inputVariant),[u,s]=ge.useState(t.defaults),[i,l]=ge.useState(t.zIndex),f={inputVariant:o,setInputVariant:a,defaults:u,setDefaults:s,zIndex:i,setZIndex:l};return ge.createElement(Nt.Provider,{value:f},ge.createElement(fn,{lang:t.locale},ge.createElement(dn,v({value:t.pt},t.ptOptions),ge.createElement(vn,v({preset:(p=t.theme)==null?void 0:p.preset,stylesheet:t.stylesheet},(h=t.theme)==null?void 0:h.options),N(n.children,f)))))}var tt=M(O());function En(){let e=tt.useContext(Nt),t=tt.useContext(He),n=tt.useContext(De),o=tt.useContext(Ee);if(e===void 0)throw new Error("Context must be used within a PrimeReactProvider");return{config:e,locale:t,passthrough:n,theme:o}}var Rn=(e,t)=>{e&&t&&(typeof t=="function"?t(e&&"current"in e?e.current:null):"current"in t&&(t.current=e&&"current"in e?e.current:null))};var Sn=class{constructor(t,n=()=>{}){this.scrollableParents=null;this.element=t,this.listener=n}bindScrollListener(){if(this.element){this.scrollableParents=ur(this.element);for(let t=0;t<this.scrollableParents.length;t++){let n=this.scrollableParents[t];n&&this.listener&&n.addEventListener("scroll",this.listener)}}}unbindScrollListener(){if(this.scrollableParents&&this.listener)for(let t=0;t<this.scrollableParents.length;t++){let n=this.scrollableParents[t];n&&n.removeEventListener("scroll",this.listener)}}destroy(){this.unbindScrollListener(),this.element=null,this.listener=null,this.scrollableParents=null}};var Ue=M(O());function Ur(e,t){let n=Ue.createContext(e);return[({value:u,children:s})=>Ue.createElement(n.Provider,{value:u},N(s,u)),()=>{let u=Ue.useContext(n);return u===void 0?t==null?void 0:t():u}]}function rs(e,t){return Ur(e,()=>{throw new Error(t||"Context must be used within a Provider")})}function Cn(e){return Ur(e,()=>e)}var Be={_loadedStyleNames:new Set,getLoadedStyleNames(){return this._loadedStyleNames},isStyleNameLoaded(e){return this._loadedStyleNames.has(e)},setLoadedStyleName(e){this._loadedStyleNames.add(e)},deleteLoadedStyleName(e){this._loadedStyleNames.delete(e)},clearLoadedStyleNames(){this._loadedStyleNames.clear()}};function wn(e){return typeof e=="object"&&e!==null&&(e.$$typeof===Symbol.for("react.transitional.element")||e.$$typeof===Symbol.for("react.element"))}var fe=M(O());var nt=(e="UnknownBase",t)=>{var D,F,Y;let n=En(),{inProps:o,defaultProps:a,setup:u}=t||{},s=Rr(o==null?void 0:o.id),i=nr("pc_"),l=fe.useRef((D=o==null?void 0:o.ref)!=null?D:null),f=fe.useRef(null),p=fe.useMemo(()=>({ref:l,elementRef:f,id:s,name:e,inProps:o,$attrSelector:i,$primereact:n}),[s,o,i,n]),h=fe.useMemo(()=>{var $,K,U,B;let P=N(((K=($=n==null?void 0:n.config)==null?void 0:$.defaults)==null?void 0:K[e])||((B=(U=n==null?void 0:n.config)==null?void 0:U.defaults)==null?void 0:B[e.toLowerCase()]),p);return v(v({},a),P==null?void 0:P.props)},[a,(Y=(F=n==null?void 0:n.config)==null?void 0:F.defaults)==null?void 0:Y[e]]),{props:m,attrs:y}=be(o,h),S=fe.useMemo(()=>z(v({},p),{props:m,attrs:y}),[p,m,y]),w=N(u,S),I=fe.useMemo(()=>{var P;return z(v(v({state:{},$computedSetup:w},w),S),{elementRef:(P=w==null?void 0:w.elementRef)!=null?P:f})},[w,S]);return fe.useEffect(()=>{Rn(l,o==null?void 0:o.ref)},[l,o==null?void 0:o.ref]),fe.useImperativeHandle(l,()=>I,[I]),I};var Le=M(O());function We(e={}){var P,$,U,B;let Y=e,{pIf:t=!0,style:n,className:o,as:a,asChild:u,instance:s}=Y,i=Oe(Y,["pIf","style","className","as","asChild","instance"]);if(t===!1)return null;let l=a||((P=s==null?void 0:s.props)==null?void 0:P.as)||Le.Fragment,f=u||(($=s==null?void 0:s.props)==null?void 0:$.asChild),p=l===Le.Fragment,K=i,{ref:h=s==null?void 0:s.elementRef,children:m,attrs:y}=K,S=Oe(K,["ref","children","attrs"]),w=v(v({},y),S),I=N(m,s,w),D=N(n||((U=s==null?void 0:s.props)==null?void 0:U.style),s),F=N(o||((B=s==null?void 0:s.props)==null?void 0:B.className),s);return f||p?Le.createElement(Le.Fragment,null,I):wn(l)?N(l,s):Le.createElement(l,z(v({},w),{ref:h,style:v(v({},w.style),D),className:Je(w.className,F)}),I)}We.displayName="PrimeReact.Component";var jt={ref:void 0,pIf:!0,style:void 0,className:void 0,as:void 0,asChild:!1,pt:void 0,ptOptions:void 0,unstyled:void 0,dt:void 0,children:void 0},os=z(v({},br(jt,"pt","ptOptions","dt","styles")),{instance:void 0,attrs:void 0});var Ve=M(O());var te=M(O());function Br(e,t){var oe,j,ue;let{id:n,name:o,props:a,attrs:u,$primereact:s,$attrSelector:i}=e||{},l=te.useCallback(b=>{let E=S(y(a.pt,o),me,`hooks.${b}`),C=$(me,`hooks.${b}`);E==null||E(),C==null||C()},[a.pt,o]),f=te.useCallback((b,...E)=>tn(b)?b(...E):b?xe(...E):Object.assign({},...E),[]),p=te.useCallback((b={},E="",C={},H=!0)=>{var de;let G=/./g.test(E)&&!!C[E.split(".")[0]],{mergeSections:Z=!0,mergeProps:q=!1}=(a==null?void 0:a.ptOptions)||((de=s.passthrough)==null?void 0:de.options)||{},ne=H?G?P(m,E,C):$(m,E,C):void 0,J=G?void 0:Y(b,m,E,z(v({},C),{global:ne||{}})),ee=h(E);return Z||!Z&&J?f(q,ne,J,ee):v(v({},J),ee)},[a.ptOptions,f]),h=te.useCallback((b="")=>{var H,G;let E="data-pc-",C=b==="root"&&W((H=a==null?void 0:a.pt)==null?void 0:H["data-pc-section"]);return b!=="transition"&&z(v({},b==="root"&&z(v({[`${E}name`]:Te(C?(G=a.pt)==null?void 0:G["data-pc-section"]:o)},C&&{[`${E}extend`]:Te(o)}),{[`${i}`]:""})),{[`${E}section`]:Te(b)})},[a.pt,i]),m=te.useCallback((b={},E="",C)=>{let H=me(b,E,C);return le(H)||nn(H)?{className:H}:H},[]),y=te.useCallback((b,E="",C)=>{let H=(G,Z=!1)=>{var ee;let q=C?C(G):G,ne=Te(E),J=Te(o);return(ee=Z?ne!==J?q==null?void 0:q[ne]:void 0:q==null?void 0:q[ne])!=null?ee:q};return b&&Object.hasOwn(b,"_usept")?{_usept:b._usept,originalValue:H(b.originalValue),value:H(b.value)}:H(b,!0)},[]),S=te.useCallback((b,E,C="",H)=>{var Z;let G=q=>E(q,C,H);if(b&&Object.hasOwn(b,"_usept")){let{mergeSections:q=!0,mergeProps:ne=!1}=b._usept||((Z=s.passthrough)==null?void 0:Z.options)||{},J=G(b.originalValue),ee=G(b.value);return J===void 0&&ee===void 0?void 0:le(ee)?ee:le(J)?J:q||!q&&ee?f(ne,J,ee):ee}return G(b)},[(oe=s.passthrough)==null?void 0:oe.options,f]),w=te.useMemo(()=>{var b;return y((b=s==null?void 0:s.passthrough)==null?void 0:b.value,void 0,E=>N(E,e))},[(j=s==null?void 0:s.passthrough)==null?void 0:j.value]),I=te.useMemo(()=>{var b;return y((b=s==null?void 0:s.passthrough)==null?void 0:b.value,void 0,E=>me(E,o,e)||N(E,e))},[(ue=s==null?void 0:s.passthrough)==null?void 0:ue.value]),D=te.useMemo(()=>Object.entries(u||{}).filter(([b])=>b==null?void 0:b.startsWith("pt-")).reduce((b,[E,C])=>{let[,H,...G]=E.split("-");return[H,G==null?void 0:G.join("-")].filter(Boolean).reduce((Z,q,ne,J)=>(Z[q]||(Z[q]=ne===J.length-1?C:{}),Z[q]),b),b},{}),[u]),F=te.useMemo(()=>Object.entries(u||{}).filter(([b])=>!(b!=null&&b.startsWith("pt-"))).reduce((b,[E,C])=>(b[E]=C,b),{}),[u]),Y=te.useCallback((b={},E,C="",H)=>xe(S(y(b,o),E,C,H),S(D,E,C,H)),[D]),P=te.useCallback((b,E="",C)=>S(w,b,E,C),[w]),$=te.useCallback((b,E,C)=>S(I,b,E,C),[I]),K=te.useCallback((b="",E={})=>p(a.pt,b,v(v({},t),E)),[a.pt,t]),U=te.useCallback((b="",E={})=>{var H;let C=xe(F,K(b,E));return C&&Object.hasOwn(C,"id")&&((H=C.id)!=null||(C.id=n)),C},[K,n,F]),B=te.useCallback((b={},E="",C={})=>p(b,E,v(v({},t),C),!1),[t]);return an(()=>l("onMounted")),Tr(()=>l("onUpdated")),xr(()=>l("onUnmounted")),te.useMemo(()=>({ptm:K,ptmi:U,ptmo:B}),[K,U,B])}var ae=M(O());var _e=M(O());function xn(){let e=_e.useContext(Ee),t=_e.useCallback((a={})=>{let{name:u,css:s,element:i,options:l={}}=a;if(Jt()&&W(s)){let f=i==null?void 0:i.getRootNode();(!f||f===document)&&(f=document.head);let p=f.querySelector(`style[data-primereact-style-id="${u}"]`)||document.createElement("style");return p.isConnected||(l!=null&&l.first?f.prepend(p):f.appendChild(p),p.setAttribute("data-primereact-style-id",u||"")),p.textContent=s!=null?s:"",p}},[e]),n=_e.useCallback((a={})=>{var i,l;let{name:u,css:s}=a;if(W(a.css))return u&&!((i=e==null?void 0:e.stylesheet)!=null&&i.has(u))&&!Jt()&&u!=="layer-order"&&((l=e==null?void 0:e.stylesheet)==null||l.add(u,s)),t(a)},[e]),o=_e.useCallback(()=>{e!=null&&e.stylesheet&&e.stylesheet.clear()},[e]);return _e.useInsertionEffect(()=>{var a,u;return(u=(a=e==null?void 0:e.stylesheet)==null?void 0:a.getStyles())==null||u.forEach((s,i)=>{t({name:i,css:s==null?void 0:s.css})}),()=>{o()}},[e]),[n,o]}var ss={};var Ke=M(O());function Wr(e,t){let n=Ke.useContext(Ee),[o]=xn(),a=Ke.useCallback((u,s)=>o({name:s==null?void 0:s.name,css:u,element:sr(t),options:s}),[o,t]);return Ke.useMemo(()=>{let u=z(v({name:"base"},e),{load(s="",i={},l="",f=!1){let p=i.name||u.name,h=Mt`${s}${l}`,m=f?X.transformCSS(p,h):h;return W(m)?a(Ae(m),v({name:p},i)):{}},loadCSS(s){return this.load(this.css,s)},loadStyle(s,i=""){return this.load(this.style,s,i,!0)},getCommonTheme(s){return X.getCommon(this.name,s)},getComponentTheme(s){return X.getComponent(this.name,s)},getPresetTheme(s,i,l){return X.getCustomPreset(this.name,s,i,l)},getLayerOrderThemeCSS(){return X.getLayerOrderCSS(this.name)},getStyleSheet(s="",i={}){if(this.css){let l=N(this.css,{dt:Pe}),f=Ae(Mt`${l}${s}`),p=Object.entries(i).reduce((h,[m,y])=>(h.push(`${m}="${y}"`),h),[]).join(" ");return`<style type="text/css" data-primereact-style-id="${this.name}" ${p}>${f}</style>`}return""},getCommonThemeStyleSheet(s,i={}){return X.getCommonStyleSheet(this.name,s,i)},getThemeStyleSheet(s,i={}){let l=[X.getStyleSheet(this.name,s,i)];if(n){let f=this.name==="base"?"global-style":`${this.name}-style`,p=Mt`${N(n,{dt:Pe})}`,h=Ae(X.transformCSS(this.name,p)),m=Object.entries(i).reduce((y,[S,w])=>(y.push(`${S}="${w}"`),y),[]).join(" ");l.push(`<style type="text/css" data-primereact-style-id="${f}" ${m}>${h}</style>`)}return l.join("")}});return u},[e,n,a])}function Kr(e,t,n){var Y;let{props:o={unstyled:!1,dt:void 0},$primereact:a,$attrSelector:u,elementRef:s}=e||{},i=Wr(t,s),l=ae.useRef(null),f=ae.useCallback(()=>{if(!Be.isStyleNameLoaded("base")){let{css:P}=i.baseStyles||{};i.load(P,v({name:"base"},m)),Be.setLoadedStyleName("base")}S()},[i]),p=ae.useCallback(()=>{f(),I(f)},[f]),h=ae.useMemo(()=>{var P;return o.unstyled!==void 0?o.unstyled:(P=a==null?void 0:a.config)==null?void 0:P.unstyled},[o,a==null?void 0:a.config]),m=ae.useMemo(()=>{var P,$;return{nonce:($=(P=a==null?void 0:a.config)==null?void 0:P.csp)==null?void 0:$.nonce}},[a==null?void 0:a.config]),y=ae.useCallback(()=>{if(!Be.isStyleNameLoaded(i==null?void 0:i.name)&&(i!=null&&i.name)){let P=i.name==="global"?"base":i.name;i.loadCSS(v({name:P},m)),Be.setLoadedStyleName(i.name)}},[i,m]),S=ae.useCallback(()=>{var P,$,K,U;if(!(h||(a==null?void 0:a.theme)==="none")){if(!X.isStyleNameLoaded("common")){let{primitive:B,semantic:oe,global:j,style:ue}=((P=i==null?void 0:i.getCommonTheme)==null?void 0:P.call(i))||{};i.load(B==null?void 0:B.css,v({name:"primitive-variables"},m)),i.load(oe==null?void 0:oe.css,v({name:"semantic-variables"},m)),i.load(j==null?void 0:j.css,v({name:"global-variables"},m)),i.load(($=i.baseStyles)==null?void 0:$.style,v({name:"global-style"},m),ue,!0),X.setLoadedStyleName("common")}if(!X.isStyleNameLoaded(i==null?void 0:i.name)&&(i!=null&&i.name)){let{css:B,style:oe}=((K=i==null?void 0:i.getComponentTheme)==null?void 0:K.call(i))||{};i.load(B,v({name:`${i.name}-variables`},m)),i.loadStyle(v({name:`${i.name}-style`},m),oe),X.setLoadedStyleName(i.name)}if(!X.isStyleNameLoaded("layer-order")){let B=(U=i==null?void 0:i.getLayerOrderThemeCSS)==null?void 0:U.call(i);i.load(B,v({name:"layer-order",first:!0},m)),X.setLoadedStyleName("layer-order")}}},[h,i,m]),w=P=>{var U;let{css:$}=((U=i==null?void 0:i.getPresetTheme)==null?void 0:U.call(i,P,`[${u}]`))||{},K=i==null?void 0:i.load($,v({name:`${u}-${i.name}`},m));l.current=K},I=ae.useCallback((P=()=>{})=>{Se.on("theme:change",P)},[]),D=ae.useCallback((P="",$={})=>h?void 0:Je(me(i.classes,P,z(v({},n),{context:$}))),[h,e,i.classes]),F=ae.useCallback((P="",$=!0,K={})=>{var U;if($){let B=me(i.inlineStyles,P,z(v({},n),{context:K})),oe=me((U=i.baseStyles)==null?void 0:U.inlineStyles,P,z(v({},n),{context:K}));return v(v({},oe),B)}},[i.inlineStyles,(Y=i.baseStyles)==null?void 0:Y.inlineStyles,e]);return h||(y(),p(),w(o.dt)),ae.useMemo(()=>({cx:D,sx:F,isUnstyled:h,$style:i}),[D,F,h,i])}function Tn(e="UnknownComponent",t={}){let n=Ve.useMemo(()=>v(v({},jt),t.defaultProps),[t.defaultProps]),o=nt(e,{inProps:t.inProps,defaultProps:n,setup:t.setup}),{ref:a,props:u}=o,s=Ve.useMemo(()=>({instance:o,props:o.props,attrs:o.attrs,state:o.state}),[o.props,o.attrs,o.state]),i=Br(o,s),l=Kr(o,u.styles||t.styles,s),f=Ve.useMemo(()=>v(v(v({},o),i),l),[o,i,l]);return Ve.useImperativeHandle(a,()=>f,[f]),f}var $t=M(O());function rt({name:e="UnknownComponent",defaultProps:t,styles:n,components:o,setup:a,render:u}){let i=$t.memo(l=>{let f=Tn(e,{inProps:l,defaultProps:t,styles:n,setup:a}),p=u!=null?u:(()=>null);return f.props.pIf?$t.createElement(p,v({},f)):null},(l,f)=>!ie(l)||!ie(f)?!1:l===f&&Object.keys(t||{}).every(p=>l[p]===f[p]));return i.displayName=`PrimeReact.${e}`,Object.entries(o||{}).forEach(([l,f])=>{i[l]=f}),i}function Pn(e="UnknownHeadless",t={}){return nt(e,t)}function ot({name:e,defaultProps:t,setup:n}){return o=>Pn(e,{inProps:o,defaultProps:t,setup:n})}var zr=M(O());var _n={as:"i",size:void 0,rotate:void 0,flip:void 0,spin:!1};var as=`
14
- .p-icon {
15
- display: inline-block;
16
- vertical-align: baseline;
17
- font-size: dt('icon.size');
18
- width: dt('icon.size');
19
- height: dt('icon.size');
20
- transform: rotate(dt('icon.rotate'));
21
- flex-shrink: 0;
22
- }
23
-
24
- .p-icon-flip-horizontal {
25
- transform: scaleX(-1);
26
- }
27
-
28
- .p-icon-flip-vertical {
29
- transform: scaleY(-1);
30
- }
31
-
32
- .p-icon-spin {
33
- -webkit-animation: p-icon-spin 2s infinite linear;
34
- animation: p-icon-spin 2s infinite linear;
35
- }
36
-
37
- @-webkit-keyframes p-icon-spin {
38
- 0% {
39
- -webkit-transform: rotate(0deg);
40
- transform: rotate(0deg);
41
- }
42
- 100% {
43
- -webkit-transform: rotate(359deg);
44
- transform: rotate(359deg);
45
- }
46
- }
47
-
48
- @keyframes p-icon-spin {
49
- 0% {
50
- -webkit-transform: rotate(0deg);
51
- transform: rotate(0deg);
52
- }
53
- 100% {
54
- -webkit-transform: rotate(359deg);
55
- transform: rotate(359deg);
56
- }
57
- }
58
- `,kn={name:"icon",css:as,classes:{root:({props:e})=>["p-icon",{"p-icon-spin":e.spin,"p-icon-flip-horizontal":e.flip==="horizontal","p-icon-flip-vertical":e.flip==="vertical"}]},inlineStyles:{root:({props:e})=>v(v({},e.size?{[yn("icon.size").name]:e.size}:void 0),e.rotate?{[yn("icon.rotate").name]:`${e.rotate}deg`}:void 0)}};var Vr=M(O());var On=ot({name:"useIcon",setup({attrs:e}){return{pti:()=>{let n=ve(e["aria-label"]);return{role:n?void 0:"img","aria-hidden":ve(e.tabIndex)&&n}}}}});function An({name:e,defaultProps:t,styles:n,components:o,setup:a,render:u}){return rt({name:`${e!=null?e:"Unknown"}Icon`,defaultProps:t,styles:n,components:o,setup(s){let i=On(s==null?void 0:s.inProps),l=N(a,s);return Vr.useMemo(()=>v(v({},i),l),[i,l])},render:u})}var is=An({name:"Icon",styles:kn,defaultProps:_n,render(e){let{id:t,props:n,ptmi:o,pti:a,cx:u,sx:s}=e,i=xe({id:t,style:s("root"),className:u("root")},a==null?void 0:a(),o("root"));return zr.createElement(We,{instance:e,attrs:i,children:n.children})}});var Yr=`
59
- *,
60
- ::before,
61
- ::after {
62
- box-sizing: border-box;
63
- }
64
-
65
- /* Non vue overlay animations */
66
- .p-connected-overlay {
67
- opacity: 0;
68
- transform: scaleY(0.8);
69
- transition:
70
- transform 0.12s cubic-bezier(0, 0, 0.2, 1),
71
- opacity 0.12s cubic-bezier(0, 0, 0.2, 1);
72
- }
73
-
74
- .p-connected-overlay-visible {
75
- opacity: 1;
76
- transform: scaleY(1);
77
- }
78
-
79
- .p-connected-overlay-hidden {
80
- opacity: 0;
81
- transform: scaleY(1);
82
- transition: opacity 0.1s linear;
83
- }
84
-
85
- /* Vue based overlay animations */
86
- .p-connected-overlay-enter-from {
87
- opacity: 0;
88
- transform: scaleY(0.8);
89
- }
90
-
91
- .p-connected-overlay-leave-to {
92
- opacity: 0;
93
- }
94
-
95
- .p-connected-overlay-enter-active {
96
- transition:
97
- transform 0.12s cubic-bezier(0, 0, 0.2, 1),
98
- opacity 0.12s cubic-bezier(0, 0, 0.2, 1);
99
- }
100
-
101
- .p-connected-overlay-leave-active {
102
- transition: opacity 0.1s linear;
103
- }
104
-
105
- /* Toggleable Content */
106
- .p-toggleable-content-enter-from,
107
- .p-toggleable-content-leave-to {
108
- max-height: 0;
109
- }
110
-
111
- .p-toggleable-content-enter-to,
112
- .p-toggleable-content-leave-from {
113
- max-height: 1000px;
114
- }
115
-
116
- .p-toggleable-content-leave-active {
117
- overflow: hidden;
118
- transition: max-height 0.45s cubic-bezier(0, 1, 0, 1);
119
- }
120
-
121
- .p-toggleable-content-enter-active {
122
- overflow: hidden;
123
- transition: max-height 1s ease-in-out;
124
- }
125
-
126
- .p-disabled,
127
- .p-disabled * {
128
- cursor: default;
129
- pointer-events: none;
130
- user-select: none;
131
- }
132
-
133
- .p-disabled,
134
- .p-component:disabled {
135
- opacity: dt('disabled.opacity');
136
- }
137
-
138
- .pi {
139
- font-size: dt('icon.size');
140
- }
141
-
142
- .p-icon {
143
- width: dt('icon.size');
144
- height: dt('icon.size');
145
- }
146
-
147
- .p-overlay-mask {
148
- background: dt('mask.background');
149
- color: dt('mask.color');
150
- position: fixed;
151
- top: 0;
152
- left: 0;
153
- width: 100%;
154
- height: 100%;
155
- }
156
-
157
- .p-overlay-mask-enter {
158
- animation: p-overlay-mask-enter-animation dt('mask.transition.duration') forwards;
159
- }
160
-
161
- .p-overlay-mask-leave {
162
- animation: p-overlay-mask-leave-animation dt('mask.transition.duration') forwards;
163
- }
164
-
165
- @keyframes p-overlay-mask-enter-animation {
166
- from {
167
- background: transparent;
168
- }
169
- to {
170
- background: dt('mask.background');
171
- }
172
- }
173
- @keyframes p-overlay-mask-leave-animation {
174
- from {
175
- background: dt('mask.background');
176
- }
177
- to {
178
- background: transparent;
179
- }
180
- }
181
- `;var us=`
182
- .p-hidden-accessible {
183
- border: 0;
184
- clip: rect(0 0 0 0);
185
- height: 1px;
186
- margin: -1px;
187
- opacity: 0;
188
- overflow: hidden;
189
- padding: 0;
190
- pointer-events: none;
191
- position: absolute;
192
- white-space: nowrap;
193
- width: 1px;
194
- }
195
-
196
- .p-overflow-hidden {
197
- overflow: hidden;
198
- padding-right: dt('scrollbar.width');
199
- }
200
-
201
- /* For PrimeReact Motion */
202
- .p-toggleable-content-enter-from,
203
- .p-toggleable-content-leave-to {
204
- max-height: 0;
205
- }
206
-
207
- .p-toggleable-content-enter-to,
208
- .p-toggleable-content-leave-from {
209
- max-height: var(--pui-motion-height, 1000px);
210
- }
211
-
212
- .p-toggleable-content-leave-active {
213
- overflow: hidden;
214
- transition: max-height 200ms ease-out;
215
- }
216
-
217
- .p-toggleable-content-enter-active {
218
- overflow: hidden;
219
- transition: max-height 200ms ease-out;
220
- }
221
- `,qr={name:"base",css:us,style:Yr,classes:{},inlineStyles:{}};var Gr=({name:e="UnknownComponent",defaultProps:t,styles:n=z(v({},qr),{name:"global"}),components:o,setup:a,render:u})=>rt({name:e,defaultProps:t,styles:n,components:o,setup:a,render:u});var pe=M(O());var[Ln,ls]=Cn();var st={name:void 0,type:void 0,safe:!1,appear:!1,enter:!0,leave:!0,duration:void 0,enterFromClassName:void 0,enterToClassName:void 0,enterActiveClassName:void 0,leaveFromClassName:void 0,leaveToClassName:void 0,leaveActiveClassName:void 0,onBeforeEnter:void 0,onEnter:void 0,onAfterEnter:void 0,onEnterCancelled:void 0,onBeforeLeave:void 0,onLeave:void 0,onAfterLeave:void 0,onLeaveCancelled:void 0};var Mn=z(v({},st),{as:"div",in:!1,mountOnEnter:!0,unmountOnLeave:!0});var fs=Object.defineProperty,Qr=Object.getOwnPropertySymbols,ps=Object.prototype.hasOwnProperty,ds=Object.prototype.propertyIsEnumerable,Xr=(e,t,n)=>t in e?fs(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Zr=(e,t)=>{for(var n in t||(t={}))ps.call(t,n)&&Xr(e,n,t[n]);if(Qr)for(var n of Qr(t))ds.call(t,n)&&Xr(e,n,t[n]);return e},ms=(e,t,n)=>new Promise((o,a)=>{var u=l=>{try{i(n.next(l))}catch(f){a(f)}},s=l=>{try{i(n.throw(l))}catch(f){a(f)}},i=l=>l.done?o(l.value):Promise.resolve(l.value).then(u,s);i((n=n.apply(e,t)).next())}),Ht="animation",at="transition";function hs(e){return e?e.disabled||!!(e.safe&&lr()):!1}function ys(e,t){return e?Zr(Zr({},e),Object.entries(t).reduce((n,[o,a])=>{var u;return n[o]=(u=e[o])!=null?u:a,n},{})):t}function gs(e){let{name:t,enterClass:n,leaveClass:o}=e||{};return{enter:{from:(n==null?void 0:n.from)||`${t}-enter-from`,to:(n==null?void 0:n.to)||`${t}-enter-to`,active:(n==null?void 0:n.active)||`${t}-enter-active`},leave:{from:(o==null?void 0:o.from)||`${t}-leave-from`,to:(o==null?void 0:o.to)||`${t}-leave-to`,active:(o==null?void 0:o.active)||`${t}-leave-active`}}}function vs(e){return{enter:{onBefore:e==null?void 0:e.onBeforeEnter,onStart:e==null?void 0:e.onEnter,onAfter:e==null?void 0:e.onAfterEnter,onCancelled:e==null?void 0:e.onEnterCancelled},leave:{onBefore:e==null?void 0:e.onBeforeLeave,onStart:e==null?void 0:e.onLeave,onAfter:e==null?void 0:e.onAfterLeave,onCancelled:e==null?void 0:e.onLeaveCancelled}}}function bs(e,t){let n=window.getComputedStyle(e),o=y=>{let S=n[`${y}Delay`],w=n[`${y}Duration`];return[S.split(", ").map(rn),w.split(", ").map(rn)]},[a,u]=o(at),[s,i]=o(Ht),l=Math.max(...u.map((y,S)=>y+a[S])),f=Math.max(...i.map((y,S)=>y+s[S])),p,h=0,m=0;return t===at?l>0&&(p=at,h=l,m=u.length):t===Ht?f>0&&(p=Ht,h=f,m=i.length):(h=Math.max(l,f),p=h>0?l>f?at:Ht:void 0,m=p?p===at?u.length:i.length:0),{type:p,timeout:h,count:m}}function Es(e,t){return typeof e=="number"?e:typeof e=="object"&&e[t]!=null?e[t]:null}function Rs(e,t=!0,n=!1){if(!t&&!n)return;let o=rr(e);t&&en(e,"--pui-motion-height",o.height+"px"),n&&en(e,"--pui-motion-width",o.width+"px")}var Ss={name:"p",safe:!0,disabled:!1,enter:!0,leave:!0,autoHeight:!0,autoWidth:!1};function Jr(e,t){if(!e)throw new Error("Element is required.");let n={},o=!1,a={},u=null,s={},i=p=>{if(Object.assign(n,ys(p,Ss)),!n.enter&&!n.leave)throw new Error("Enter or leave must be true.");s=vs(n),o=hs(n),a=gs(n),u=null},l=p=>ms(null,null,function*(){u==null||u();let{onBefore:h,onStart:m,onAfter:y,onCancelled:S}=s[p]||{},w={element:e};if(o){h==null||h(w),m==null||m(w),y==null||y(w);return}let{from:I,active:D,to:F}=a[p]||{};return Rs(e,n.autoHeight,n.autoWidth),h==null||h(w),xt(e,I),xt(e,D),e.offsetHeight,Zt(e,I),xt(e,F),m==null||m(w),new Promise(Y=>{let P=Es(n.duration,p),$=()=>{Zt(e,[F,D]),u=null},K=()=>{$(),y==null||y(w),Y()};u=()=>{$(),S==null||S(w),Y()},ws(e,n.type,P,K)})});i(t);let f={enter:()=>n.enter?l("enter"):Promise.resolve(),leave:()=>n.leave?l("leave"):Promise.resolve(),cancel:()=>{u==null||u(),u=null},update:(p,h)=>{if(!p)throw new Error("Element is required.");e=p,f.cancel(),i(h)}};return n.appear&&f.enter(),f}var Cs=0;function ws(e,t,n,o){let a=e._motionEndId=++Cs,u=()=>{a===e._motionEndId&&o()};if(n!=null)return setTimeout(u,n);let{type:s,timeout:i,count:l}=bs(e,t);if(!s){o();return}let f=s+"end",p=0,h=()=>{e.removeEventListener(f,m,!0),u()},m=y=>{y.target===e&&++p>=l&&h()};e.addEventListener(f,m,{capture:!0,once:!0}),setTimeout(()=>{p<l&&h()},i+1)}var Ce=M(O());var In=ot({name:"useMotion",defaultProps:st,setup({props:e,elementRef:t}){let n=Ce.useRef(null),o=Ce.useCallback(()=>{var i;return(i=n.current)==null?void 0:i.enter()},[n.current]),a=Ce.useCallback(()=>{var i;return(i=n.current)==null?void 0:i.leave()},[n.current]),u=Ce.useCallback(()=>{var i;return(i=n.current)==null?void 0:i.cancel()},[n.current]),s=Ce.useCallback((i,l)=>{var p;let f=z(v({},l),{name:l==null?void 0:l.name,enterClass:{from:l==null?void 0:l.enterFromClassName,to:l==null?void 0:l.enterToClassName,active:l==null?void 0:l.enterActiveClassName},leaveClass:{from:l==null?void 0:l.leaveFromClassName,to:l==null?void 0:l.leaveToClassName,active:l==null?void 0:l.leaveActiveClassName}});n.current?(p=n.current)==null||p.update(i,f):n.current=Jr(i,f)},[n.current]);return Ce.useLayoutEffect(()=>{t.current&&s(t.current,e)},[]),{motionRef:n,enter:o,leave:a,cancel:u,update:s}}});var xs=Gr({name:"Motion",defaultProps:Mn,setup(e){let{props:t}=e,[n,o]=pe.useState(()=>t.in||!t.mountOnEnter),a=pe.useRef(!0),u=In(t);return pe.useEffect(()=>{t.in&&!n&&o(!0)},[t.in]),pe.useLayoutEffect(()=>{var f,p,h,m,y;let s=(f=u==null?void 0:u.elementRef)==null?void 0:f.current;if(!s||!n){a.current=!1;return}let i=!1,l=a.current&&t.in&&t.appear;return s.style.display="",(p=u.update)==null||p.call(u,s,t),t.in?(l||!a.current)&&((h=u.enter)==null||h.call(u)):(y=(m=u.leave)==null?void 0:m.call(u))==null||y.then(()=>{!s||i||t.in||(t.unmountOnLeave?(s.style.display="none",cr().then(()=>{i||o(!1)})):s.style.display="none")}),a.current=!1,()=>{var S;i=!0,(S=u.cancel)==null||S.call(u)}},[t.in,n,t.unmountOnLeave,t.appear]),pe.useEffect(()=>()=>{a.current=!0},[]),z(v({},u),{rendered:n})},render(e){let{id:t,props:n,ptmi:o,rendered:a}=e,u=xe({id:t},o("root"));return pe.createElement(Ln,{value:e},pe.createElement(We,{pIf:a,instance:e,attrs:u,children:n.children}))}});var eo=M(O());var Nn=class extends Dr{constructor({attrs:t}={}){super({attrs:t}),this._styles.set("layer-order",{})}has(t){var n;return t==="layer-order"?((n=this._styles.get(t))==null?void 0:n.css)!==void 0:this._styles.has(t)}createStyleElement(t={}){let{css:n,attrs:o,name:a}=t;if(!ve(a))return eo.createElement("style",z(v({},o),{"data-primereact-style-id":a,key:a}),n)}};return fo(Ts);})();
13
+ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),s}function I(){Y.asyncTransitions--}function L(s){if(ee===null)try{var d=("require"+Math.random()).slice(0,7);ee=(gn&&gn[d]).call(gn,"timers").setImmediate}catch(R){ee=function(C){ve===!1&&(ve=!0,typeof MessageChannel=="undefined"&&console.error("This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning."));var M=new MessageChannel;M.port1.onmessage=C,M.port2.postMessage(void 0)}}return ee(s)}function D(s){return 1<s.length&&typeof AggregateError=="function"?new AggregateError(s):s[0]}function ne(s,d){d!==se-1&&console.error("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "),se=d}function oe(s,d,R){var C=Y.actQueue;if(C!==null)if(C.length!==0)try{ae(C),L(function(){return oe(s,d,R)});return}catch(M){Y.thrownErrors.push(M)}else Y.actQueue=null;0<Y.thrownErrors.length?(C=D(Y.thrownErrors),Y.thrownErrors.length=0,R(C)):d(s)}function ae(s){if(!z){z=!0;var d=0;try{for(;d<s.length;d++){var R=s[d];do{Y.didUsePromise=!1;var C=R(!1);if(C!==null){if(Y.didUsePromise){s[d]=R,s.splice(0,d);return}R=C}else break}while(!0)}s.length=0}catch(M){s.splice(0,d+1),Y.thrownErrors.push(M)}finally{z=!1}}}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var be=Symbol.for("react.transitional.element"),fe=Symbol.for("react.portal"),ce=Symbol.for("react.fragment"),_e=Symbol.for("react.strict_mode"),Je=Symbol.for("react.profiler"),Ke=Symbol.for("react.consumer"),et=Symbol.for("react.context"),st=Symbol.for("react.forward_ref"),it=Symbol.for("react.suspense"),at=Symbol.for("react.suspense_list"),Le=Symbol.for("react.memo"),je=Symbol.for("react.lazy"),Ae=Symbol.for("react.activity"),gt=Symbol.iterator,Ue={},Tt={isMounted:function(){return!1},enqueueForceUpdate:function(s){n(s,"forceUpdate")},enqueueReplaceState:function(s){n(s,"replaceState")},enqueueSetState:function(s){n(s,"setState")}},Ct=Object.assign,ht={};Object.freeze(ht),r.prototype.isReactComponent={},r.prototype.setState=function(s,d){if(typeof s!="object"&&typeof s!="function"&&s!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,s,d,"setState")},r.prototype.forceUpdate=function(s){this.updater.enqueueForceUpdate(this,s,"forceUpdate")};var Te={isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]};for(ue in Te)Te.hasOwnProperty(ue)&&e(ue,Te[ue]);o.prototype=r.prototype,Te=a.prototype=new o,Te.constructor=a,Ct(Te,r.prototype),Te.isPureReactComponent=!0;var wt=Array.isArray,qt=Symbol.for("react.client.reference"),Y={H:null,A:null,T:null,S:null,actQueue:null,asyncTransitions:0,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1,didUsePromise:!1,thrownErrors:[],getCurrentStack:null,recentlyCreatedOwnerStacks:0},b=Object.prototype.hasOwnProperty,x=console.createTask?console.createTask:function(){return null};Te={react_stack_bottom_frame:function(s){return s()}};var E,k,q={},F=Te.react_stack_bottom_frame.bind(Te,g)(),X=x(f(g)),de=!1,ge=/\/+/g,Re=typeof reportError=="function"?reportError:function(s){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var d=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof s=="object"&&s!==null&&typeof s.message=="string"?String(s.message):String(s),error:s});if(!window.dispatchEvent(d))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",s);return}console.error(s)},ve=!1,ee=null,se=0,he=!1,z=!1,pe=typeof queueMicrotask=="function"?function(s){queueMicrotask(function(){return queueMicrotask(s)})}:L;Te=Object.freeze({__proto__:null,c:function(s){return O().useMemoCache(s)}});var ue={map:te,forEach:function(s,d,R){te(s,function(){d.apply(this,arguments)},R)},count:function(s){var d=0;return te(s,function(){d++}),d},toArray:function(s){return te(s,function(d){return d})||[]},only:function(s){if(!P(s))throw Error("React.Children.only expected to receive a single React element child.");return s}};W.Activity=Ae,W.Children=ue,W.Component=r,W.Fragment=ce,W.Profiler=Je,W.PureComponent=a,W.StrictMode=_e,W.Suspense=it,W.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=Y,W.__COMPILER_RUNTIME=Te,W.act=function(s){var d=Y.actQueue,R=se;se++;var C=Y.actQueue=d!==null?d:[],M=!1;try{var U=s()}catch(j){Y.thrownErrors.push(j)}if(0<Y.thrownErrors.length)throw ne(d,R),s=D(Y.thrownErrors),Y.thrownErrors.length=0,s;if(U!==null&&typeof U=="object"&&typeof U.then=="function"){var H=U;return pe(function(){M||he||(he=!0,console.error("You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);"))}),{then:function(j,De){M=!0,H.then(function(Pt){if(ne(d,R),R===0){try{ae(C),L(function(){return oe(Pt,j,De)})}catch(pi){Y.thrownErrors.push(pi)}if(0<Y.thrownErrors.length){var fi=D(Y.thrownErrors);Y.thrownErrors.length=0,De(fi)}}else j(Pt)},function(Pt){ne(d,R),0<Y.thrownErrors.length&&(Pt=D(Y.thrownErrors),Y.thrownErrors.length=0),De(Pt)})}}}var N=U;if(ne(d,R),R===0&&(ae(C),C.length!==0&&pe(function(){M||he||(he=!0,console.error("A component suspended inside an `act` scope, but the `act` call was not awaited. When testing React components that depend on asynchronous data, you must await the result:\n\nawait act(() => ...)"))}),Y.actQueue=null),0<Y.thrownErrors.length)throw s=D(Y.thrownErrors),Y.thrownErrors.length=0,s;return{then:function(j,De){M=!0,R===0?(Y.actQueue=C,L(function(){return oe(N,j,De)})):j(N)}}},W.cache=function(s){return function(){return s.apply(null,arguments)}},W.cacheSignal=function(){return null},W.captureOwnerStack=function(){var s=Y.getCurrentStack;return s===null?null:s()},W.cloneElement=function(s,d,R){if(s==null)throw Error("The argument must be a React element, but you passed "+s+".");var C=Ct({},s.props),M=s.key,U=s._owner;if(d!=null){var H;e:{if(b.call(d,"ref")&&(H=Object.getOwnPropertyDescriptor(d,"ref").get)&&H.isReactWarning){H=!1;break e}H=d.ref!==void 0}H&&(U=m()),p(d)&&(l(d.key),M=""+d.key);for(N in d)!b.call(d,N)||N==="key"||N==="__self"||N==="__source"||N==="ref"&&d.ref===void 0||(C[N]=d[N])}var N=arguments.length-2;if(N===1)C.children=R;else if(1<N){H=Array(N);for(var j=0;j<N;j++)H[j]=arguments[j+2];C.children=H}for(C=v(s.type,M,C,U,s._debugStack,s._debugTask),M=2;M<arguments.length;M++)T(arguments[M]);return C},W.createContext=function(s){return s={$$typeof:et,_currentValue:s,_currentValue2:s,_threadCount:0,Provider:null,Consumer:null},s.Provider=s,s.Consumer={$$typeof:Ke,_context:s},s._currentRenderer=null,s._currentRenderer2=null,s},W.createElement=function(s,d,R){for(var C=2;C<arguments.length;C++)T(arguments[C]);C={};var M=null;if(d!=null)for(j in k||!("__self"in d)||"key"in d||(k=!0,console.warn("Your app (or one of its dependencies) is using an outdated JSX transform. Update to the modern JSX transform for faster performance: https://react.dev/link/new-jsx-transform")),p(d)&&(l(d.key),M=""+d.key),d)b.call(d,j)&&j!=="key"&&j!=="__self"&&j!=="__source"&&(C[j]=d[j]);var U=arguments.length-2;if(U===1)C.children=R;else if(1<U){for(var H=Array(U),N=0;N<U;N++)H[N]=arguments[N+2];Object.freeze&&Object.freeze(H),C.children=H}if(s&&s.defaultProps)for(j in U=s.defaultProps,U)C[j]===void 0&&(C[j]=U[j]);M&&h(C,typeof s=="function"?s.displayName||s.name||"Unknown":s);var j=1e4>Y.recentlyCreatedOwnerStacks++;return v(s,M,C,m(),j?Error("react-stack-top-frame"):F,j?x(f(s)):X)},W.createRef=function(){var s={current:null};return Object.seal(s),s},W.forwardRef=function(s){s!=null&&s.$$typeof===Le?console.error("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof s!="function"?console.error("forwardRef requires a render function but was given %s.",s===null?"null":typeof s):s.length!==0&&s.length!==2&&console.error("forwardRef render functions accept exactly two parameters: props and ref. %s",s.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),s!=null&&s.defaultProps!=null&&console.error("forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?");var d={$$typeof:st,render:s},R;return Object.defineProperty(d,"displayName",{enumerable:!1,configurable:!0,get:function(){return R},set:function(C){R=C,s.name||s.displayName||(Object.defineProperty(s,"name",{value:C}),s.displayName=C)}}),d},W.isValidElement=P,W.lazy=function(s){s={_status:-1,_result:s};var d={$$typeof:je,_payload:s,_init:$},R={name:"lazy",start:-1,end:-1,value:null,owner:null,debugStack:Error("react-stack-top-frame"),debugTask:console.createTask?console.createTask("lazy()"):null};return s._ioInfo=R,d._debugInfo=[{awaited:R}],d},W.memo=function(s,d){s==null&&console.error("memo: The first argument must be a component. Instead received: %s",s===null?"null":typeof s),d={$$typeof:Le,type:s,compare:d===void 0?null:d};var R;return Object.defineProperty(d,"displayName",{enumerable:!1,configurable:!0,get:function(){return R},set:function(C){R=C,s.name||s.displayName||(Object.defineProperty(s,"name",{value:C}),s.displayName=C)}}),d},W.startTransition=function(s){var d=Y.T,R={};R._updatedFibers=new Set,Y.T=R;try{var C=s(),M=Y.S;M!==null&&M(R,C),typeof C=="object"&&C!==null&&typeof C.then=="function"&&(Y.asyncTransitions++,C.then(I,I),C.then(i,Re))}catch(U){Re(U)}finally{d===null&&R._updatedFibers&&(s=R._updatedFibers.size,R._updatedFibers.clear(),10<s&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table.")),d!==null&&R.types!==null&&(d.types!==null&&d.types!==R.types&&console.error("We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."),d.types=R.types),Y.T=d}},W.unstable_useCacheRefresh=function(){return O().useCacheRefresh()},W.use=function(s){return O().use(s)},W.useActionState=function(s,d,R){return O().useActionState(s,d,R)},W.useCallback=function(s,d){return O().useCallback(s,d)},W.useContext=function(s){var d=O();return s.$$typeof===Ke&&console.error("Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?"),d.useContext(s)},W.useDebugValue=function(s,d){return O().useDebugValue(s,d)},W.useDeferredValue=function(s,d){return O().useDeferredValue(s,d)},W.useEffect=function(s,d){return s==null&&console.warn("React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?"),O().useEffect(s,d)},W.useEffectEvent=function(s){return O().useEffectEvent(s)},W.useId=function(){return O().useId()},W.useImperativeHandle=function(s,d,R){return O().useImperativeHandle(s,d,R)},W.useInsertionEffect=function(s,d){return s==null&&console.warn("React Hook useInsertionEffect requires an effect callback. Did you forget to pass a callback to the hook?"),O().useInsertionEffect(s,d)},W.useLayoutEffect=function(s,d){return s==null&&console.warn("React Hook useLayoutEffect requires an effect callback. Did you forget to pass a callback to the hook?"),O().useLayoutEffect(s,d)},W.useMemo=function(s,d){return O().useMemo(s,d)},W.useOptimistic=function(s,d){return O().useOptimistic(s,d)},W.useReducer=function(s,d,R){return O().useReducer(s,d,R)},W.useRef=function(s){return O().useRef(s)},W.useState=function(s){return O().useState(s)},W.useSyncExternalStore=function(s,d,R){return O().useSyncExternalStore(s,d,R)},W.useTransition=function(){return O().useTransition()},W.version="19.2.7",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var V=Bn((Du,Zn)=>{"use strict";process.env.NODE_ENV==="production"?Zn.exports=Co():Zn.exports=wo()});var Tu={};Ri(Tu,{Component:()=>Nt,ConnectedOverlayScrollHandler:()=>fr,DEFAULT_MOTION_OPTIONS:()=>li,FilterMatchMode:()=>xe,FilterOperator:()=>Ei,Icon:()=>wa,LocaleContext:()=>At,LocaleProvider:()=>lr,Motion:()=>hu,MotionProvider:()=>no,OverlayEventBus:()=>aa,PassThroughContext:()=>Dt,PassThroughProvider:()=>dr,PrimeReactContext:()=>Dn,PrimeReactProvider:()=>Ja,PrimeReactStyleSheet:()=>fo,StylePreloadRegistry:()=>rn,StyleRegistry:()=>bt,ThemeContext:()=>Ge,ThemeProvider:()=>Ar,addStylePreloadsToStyleSheet:()=>yr,arrayMove:()=>eo,arrayTransfer:()=>to,collisionStrategies:()=>Wt,combinedRefs:()=>oa,createDnd:()=>Zs,createMotion2:()=>ci,createOptionalContext:()=>pr,createOverlayManager:()=>Su,createSafeContext:()=>sa,defaultComponentProps:()=>fa,defaultConfigProps:()=>Yr,defaultIconProps:()=>Ir,defaultLocaleProps:()=>ur,defaultMotionProps:()=>ro,defaultPTProps:()=>cr,defaultThemeProps:()=>Lr,defaultUseMotionProps:()=>cn,defaultUseStyleProps:()=>Ca,globalProps:()=>Tn,isDev:()=>mr,isElementOfType:()=>da,isValidElement:()=>br,mergeRefs:()=>gr,showInvalidLicenseBanner:()=>Vn,styles:()=>an,upsertStylePreloadsToHead:()=>vr,useBase:()=>on,useComponent:()=>Mr,useHeadless:()=>kr,useIcon:()=>Or,useLocale:()=>na,useMotion:()=>lo,useMotionContext:()=>su,usePassThrough:()=>ra,usePrimeReact:()=>Gr,useStyle:()=>Pr,useTheme:()=>Pa,withComponent:()=>sn,withHeadless:()=>un,withIcon:()=>_r});var xe=Object.freeze({STARTS_WITH:"startsWith",CONTAINS:"contains",NOT_CONTAINS:"notContains",ENDS_WITH:"endsWith",EQUALS:"equals",NOT_EQUALS:"notEquals",IN:"in",LESS_THAN:"lt",LESS_THAN_OR_EQUAL_TO:"lte",GREATER_THAN:"gt",GREATER_THAN_OR_EQUAL_TO:"gte",BETWEEN:"between",DATE_IS:"dateIs",DATE_IS_NOT:"dateIsNot",DATE_BEFORE:"dateBefore",DATE_AFTER:"dateAfter",CUSTOM:"custom"});var Ei=Object.freeze({AND:"and",OR:"or"});function Vn(){if(typeof document=="undefined"||document.getElementById("p-license-host"))return;let e=document.createElement("div");e.id="p-license-host",e.style.cssText="all:initial;position:fixed;bottom:16px;right:16px;z-index:2147483647;pointer-events:none;";let t=e.attachShadow({mode:"closed"});t.innerHTML='<div role="alert" style="padding:10px 14px;background:#991b1b;color:#fff;font:600 13px/1.2 system-ui,-apple-system,sans-serif;border-radius:6px;box-shadow:0 4px 12px rgba(0,0,0,0.2);">Invalid PrimeUI License</div>',document.body.appendChild(e)}var hn=K(V());function Po(e=""){let t=hn.useId();return hn.useMemo(()=>`${e}${t.replaceAll(/:|«|»/g,"")}`.trim().toLowerCase(),[t,e])}var Qn=K(V());function Zt(...e){if(e){let t=[];for(let n=0;n<e.length;n++){let r=e[n];if(!r)continue;let o=typeof r;if(o==="string"||o==="number")t.push(r);else if(o==="object"){let a=Array.isArray(r)?[Zt(...r)]:Object.entries(r).map(([i,u])=>u?i:void 0);t=a.length?t.concat(a.filter(i=>!!i)):t}}return t.join(" ").trim()}}var Hi=Object.defineProperty,Mo=Object.getOwnPropertySymbols,ji=Object.prototype.hasOwnProperty,Ui=Object.prototype.propertyIsEnumerable,Io=(e,t,n)=>t in e?Hi(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Bi=(e,t)=>{for(var n in t||(t={}))ji.call(t,n)&&Io(e,n,t[n]);if(Mo)for(var n of Mo(t))Ui.call(t,n)&&Io(e,n,t[n]);return e};function ze(e){return e==null||e===""||Array.isArray(e)&&e.length===0||!(e instanceof Date)&&typeof e=="object"&&Object.keys(e).length===0}function Jn(e){return typeof e=="function"&&"call"in e&&"apply"in e}function ie(e){return!ze(e)}function Ie(e,t=!0){return e instanceof Object&&e.constructor===Object&&(t||Object.keys(e).length!==0)}function Z(e,...t){return Jn(e)?e(...t):e}function ke(e,t=!0){return typeof e=="string"&&(t||e!=="")}function Qt(e){return ke(e)?e.replace(/(-|_)/g,"").toLowerCase():e}function Ne(e,t="",n={}){let r=Qt(t).split("."),o=r.shift();if(o){if(Ie(e)){let a=Object.keys(e).find(i=>Qt(i)===o)||"";return Ne(Z(e[a],n),r.join("."),n)}return}return Z(e,n)}function er(e,t=!0){return Array.isArray(e)&&(t||e.length!==0)}function ko(e){return ie(e)&&!isNaN(e)}function We(e,t){if(t){let n=t.test(e);return t.lastIndex=0,n}return!1}function tt(e){return e&&e.replace(/\/\*(?:(?!\*\/)[\s\S])*\*\/|[\r\n\t]+/g,"").replace(/ {2,}/g," ").replace(/ ([{:}]) /g,"$1").replace(/([;,]) /g,"$1").replace(/ !/g,"!").replace(/: /g,":").trim()}function Oo(e,...t){if(!Ie(e))return e;let n=Bi({},e);return t==null||t.flat().forEach(r=>delete n[r]),n}function kt(e){return ke(e)?e.replace(/(_)/g,"-").replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase():e}function tr(e){return e==="auto"?0:typeof e=="number"?e:Number(e.replace(/[^\d.]/g,"").replace(",","."))*1e3}function Vi(e,t){return e?e.classList?e.classList.contains(t):new RegExp("(^| )"+t+"( |$)","gi").test(e.className):!1}function yn(e,t){if(e&&t){let n=r=>{Vi(e,r)||(e.classList?e.classList.add(r):e.className+=" "+r)};[t].flat().filter(Boolean).forEach(r=>r.split(" ").forEach(n))}}function rr(e,t){if(e&&t){let n=r=>{e.classList?e.classList.remove(r):e.className=e.className.replace(new RegExp("(^|\\b)"+r.split(" ").join("|")+"(\\b|$)","gi")," ")};[t].flat().filter(Boolean).forEach(r=>r.split(" ").forEach(n))}}function _o(e){let t={width:0,height:0};if(e){let[n,r]=[e.style.visibility,e.style.display],o=e.getBoundingClientRect();e.style.visibility="hidden",e.style.display="block",t.width=o.width||e.offsetWidth,t.height=o.height||e.offsetHeight,e.style.display=r,e.style.visibility=n}return t}function Ki(e){if(e){let t=e.parentNode;return t&&t instanceof ShadowRoot&&t.host&&(t=t.host),t}return null}function nr(e){return typeof Element!="undefined"?e instanceof Element:e!==null&&typeof e=="object"&&e.nodeType===1&&typeof e.nodeName=="string"}function Ot(e){var t;if(nr(e))return e;if(!e||typeof e!="object")return;let n=e;if("current"in e)n=e.current,n=(t=Ot(n==null?void 0:n.elementRef))!=null?t:n;else if("value"in e)n=e.value;else if("nativeElement"in e)n=e.nativeElement;else if("el"in e){let r=e.el;r&&typeof r=="object"&&"nativeElement"in r?n=r.nativeElement:n=r}else if("elementRef"in e)return Ot(e.elementRef);return n=Z(n),nr(n)?n:void 0}function Lo(e,t={}){return e?`<style${Object.entries(t).reduce((n,[r,o])=>n+` ${r}="${o}"`,"")}>${e}</style>`:""}function zi(e,t){return nr(e)?e.matches(t)?e:e.querySelector(t):null}function Ao(e,t=[]){let n=Ki(e);return n===null?t:Ao(n,t.concat([n]))}function Do(e){let t=[];if(e){let n=Ao(e),r=/(auto|scroll)/,o=a=>{try{let i=window.getComputedStyle(a,null);return r.test(i.getPropertyValue("overflow"))||r.test(i.getPropertyValue("overflowX"))||r.test(i.getPropertyValue("overflowY"))}catch(i){return!1}};for(let a of n){let i=a.nodeType===1&&a.dataset.scrollselectors;if(i){let u=i.split(",");for(let l of u){let c=zi(a,l);c&&o(c)&&t.push(c)}}a.nodeType!==9&&o(a)&&t.push(a)}}return t}function Me(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}function No(){return typeof window=="undefined"||!window.matchMedia?!1:window.matchMedia("(prefers-reduced-motion: reduce)").matches}function or(){return new Promise(e=>{requestAnimationFrame(()=>{requestAnimationFrame(e)})})}function sr(e,t,n=null,r){var o;t&&((o=e==null?void 0:e.style)==null||o.setProperty(t,n,r))}function vn(){let e=new Map;return{on(t,n){let r=e.get(t);return r?r.push(n):r=[n],e.set(t,r),this},off(t,n){let r=e.get(t);return r&&r.splice(r.indexOf(n)>>>0,1),this},emit(t,n){let r=e.get(t);r&&r.forEach(o=>{o(n)})},clear(){e.clear()}}}var Wi=Object.defineProperty,Fo=Object.getOwnPropertySymbols,qi=Object.prototype.hasOwnProperty,Yi=Object.prototype.propertyIsEnumerable,$o=(e,t,n)=>t in e?Wi(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Ho=(e,t)=>{for(var n in t||(t={}))qi.call(t,n)&&$o(e,n,t[n]);if(Fo)for(var n of Fo(t))Yi.call(t,n)&&$o(e,n,t[n]);return e};function jo(...e){if(e){let t=[];for(let n=0;n<e.length;n++){let r=e[n];if(!r)continue;let o=typeof r;if(o==="string"||o==="number")t.push(r);else if(o==="object"){let a=Array.isArray(r)?[jo(...r)]:Object.entries(r).map(([i,u])=>u?i:void 0);t=a.length?t.concat(a.filter(i=>!!i)):t}}return t.join(" ").trim()}}function Gi(e){return typeof e=="function"&&"call"in e&&"apply"in e}function Xi({skipUndefined:e=!1},...t){return t==null?void 0:t.reduce((n,r={})=>{for(let o in r){let a=r[o];if(!(e&&a===void 0))if(o==="style")n.style=Ho(Ho({},n.style),r.style);else if(o==="class"||o==="className")n[o]=jo(n[o],r[o]);else if(Gi(a)){let i=n[o];n[o]=i?(...u)=>{i(...u),a(...u)}:a}else n[o]=a}return n},{})}function ut(...e){return Xi({skipUndefined:!1},...e)}var bn=K(V());var ir=K(V());var Uo=K(V());var Jt=K(V());var en=K(V());var Bo=K(V());var _t=K(V());function Vo(e){let t=_t.useId(),[n,r]=_t.useState(e||`pr_id_${t.replaceAll(/:|«|»/g,"")}`);return _t.useEffect(()=>{r(e||`pr_id_${t.replaceAll(/:|«|»/g,"")}`)},[e,t]),n}var tn=K(V());var nn=K(V());var ar=K(V());var Rn=K(V());function Ko(e){let t=Rn.useRef(!1);Rn.useEffect(()=>{t.current||(t.current=!0,e==null||e())},[])}var zo=K(V());var Wo=K(V());var xn=K(V());var En=K(V());function qo(e,t){if(e===t)return!0;let n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(let o=0;o<n.length;o++){let a=n[o];if(e[a]!==t[a])return!1}return!0}function qe(e={},t={}){let n=En.useRef(null);return En.useMemo(()=>{let r=S({},e),o={};Object.entries(t).forEach(([u,l])=>{u in e?r[u]=l:o[u]=l});let a=n.current;if(a&&qo(a.props,r)&&qo(a.attrs,o))return a;let i={props:r,attrs:o};return n.current=i,i},[e,t])}var Yo=K(V());var Go=K(V());var Xo=K(V());function Zo(e){Xo.useEffect(()=>()=>{e==null||e()},[])}var Sn=K(V());function Qo(e,t){let n=Sn.useRef(!1);Sn.useEffect(()=>{if(!n.current){n.current=!0;return}return e==null?void 0:e()},t)}var ta=K(V());var Jo=K(V());var Lt=K(V());var ur={lang:"en"};var At=Lt.createContext(void 0),lr=(e={})=>{let{attrs:t}=qe(ur,e),n=void 0,r=Lt.useMemo(()=>Z(t.children,n),[t.children,n]);return Lt.createElement(At.Provider,{value:n},r)};var es=K(V());function na(){let e=es.useContext(At);if(e===void 0)throw new Error("Context must be used within a LocaleProvider");return e}var vt=K(V());var cr={value:void 0,mergeProps:!1,mergeSections:!0};var Dt=vt.createContext(void 0),dr=(e={})=>{let{props:t,attrs:n}=qe(cr,e),{value:r,mergeProps:o,mergeSections:a}=t,i=vt.useMemo(()=>({value:r,options:{mergeProps:o,mergeSections:a}}),[r,o,a]),u=vt.useMemo(()=>Z(n.children,i),[n.children,i]);return vt.createElement(Dt.Provider,{value:i},u)};var ts=K(V());function ra(){let e=ts.useContext(Dt);if(e===void 0)throw new Error("Context must be used within a PassThroughProvider");return e}var oa=(e,t)=>{e&&t&&t!==e&&(typeof t=="function"?t(e&&"current"in e?e.current:null):"current"in t&&"current"in e&&t.current!==e.current&&(t.current=e&&"current"in e?e.current:null))};var fr=class{constructor(t,n=()=>{}){this.scrollableParents=null;this.isBound=!1;this.element=t,this.listener=n}bindScrollListener(){if(this.element){this.isBound&&this.unbindScrollListener(),this.scrollableParents=Do(this.element);for(let t=0;t<this.scrollableParents.length;t++){let n=this.scrollableParents[t];n&&this.listener&&n.addEventListener("scroll",this.listener)}this.isBound=!0}}unbindScrollListener(){if(this.scrollableParents&&this.listener)for(let t=0;t<this.scrollableParents.length;t++){let n=this.scrollableParents[t];n&&n.removeEventListener("scroll",this.listener)}this.scrollableParents=null,this.isBound=!1}destroy(){this.unbindScrollListener(),this.element=null,this.listener=null,this.scrollableParents=null,this.isBound=!1}};var lt=K(V());function ns(e,t){let n=lt.createContext(e);return[({value:a,children:i})=>{let u=lt.useMemo(()=>Z(i,a),[i,a]);return lt.createElement(n.Provider,{value:a},u)},()=>{let a=lt.useContext(n);return a===void 0?t==null?void 0:t():a}]}function sa(e,t){return ns(e,()=>{throw new Error(t||"Context must be used within a Provider")})}function pr(e){return ns(e,()=>e)}var rs,mr=typeof process!="undefined"&&((rs=process.env)==null?void 0:rs.NODE_ENV)!=="production";function gr(...e){return t=>{for(let n of e)if(n!=null)if(typeof n=="function")n(t);else try{n.current=t}catch(r){}}}var ia=vn(),aa=ia;var ua=e=>{var t,n;return{id:e.id,css:e.css,phase:(t=e.phase)!=null?t:"both",priority:(n=e.priority)!=null?n:0}},hr=e=>e.sort((t,n)=>{let r=t.priority-n.priority;return r!==0?r:t.id.localeCompare(n.id)}),rn={_entries:new Map,register(e){!e.id||!e.css||this._entries.set(e.id,ua(e))},registerMany(e=[]){e.forEach(t=>this.register(t))},has(e){return this._entries.has(e)},getAll(){return hr([...this._entries.values()])},getForSSR(){return hr([...this._entries.values()].filter(e=>e.phase!=="client"))},getForClient(){return hr([...this._entries.values()].filter(e=>e.phase!=="ssr"))},clear(){this._entries.clear()}},yr=(e,t)=>{t.forEach(n=>{e!=null&&e.has(n.id)||e==null||e.add(n.id,n.css)})},vr=e=>{e.forEach(t=>{let n=document.head.querySelector(`style[data-primereact-style-id="${t.id}"]`)||document.createElement("style");n.isConnected||(document.head.appendChild(n),n.setAttribute("data-primereact-style-id",t.id)),n.textContent=t.css})};var bt={_loadedStyleNames:new Set,_styleRefCount:new Map,getLoadedStyleNames(){return this._loadedStyleNames},isStyleNameLoaded(e){var t;return((t=this._styleRefCount.get(e))!=null?t:0)>0},getStyleRefCount(e){var t;return(t=this._styleRefCount.get(e))!=null?t:0},retainStyleName(e){let t=this.getStyleRefCount(e),n=t+1;return this._styleRefCount.set(e,n),this._loadedStyleNames.add(e),t===0},releaseStyleName(e){let t=this.getStyleRefCount(e);return t<=1?(this._styleRefCount.delete(e),this._loadedStyleNames.delete(e),!0):(this._styleRefCount.set(e,t-1),!1)},setLoadedStyleName(e){this.retainStyleName(e)},deleteLoadedStyleName(e){this._styleRefCount.delete(e),this._loadedStyleNames.delete(e)},clearLoadedStyleNames(){this._styleRefCount.clear(),this._loadedStyleNames.clear()},getStats(){return{totalStyles:this._loadedStyleNames.size,styleRefCounts:Array.from(this._styleRefCount.entries()).map(([e,t])=>({name:e,refCount:t}))}}};var la=Symbol.for("react.element"),ca=Symbol.for("react.transitional.element");function br(e){return typeof e=="object"&&e!==null&&(e.$$typeof===la||e.$$typeof===ca)}function da(e,t){var r,o;if(typeof e!="object"||e===null)return!1;let n=e.displayName||((r=e.type)==null?void 0:r.displayName)||((o=e.type)==null?void 0:o.name);return n===t||(n==null?void 0:n.includes(`PrimeReact.${t}`))||(n==null?void 0:n.includes(`PrimeReact.UI${t}`))}var ct=K(V());function Nt(e={}){var Q,re,te,$,O;let A=e,{pIf:t=!0,style:n,className:r,as:o,asChild:a,instance:i,render:u}=A,l=Gt(A,["pIf","style","className","as","asChild","instance","render"]);if(t===!1)return null;let c=o||((Q=i==null?void 0:i.props)==null?void 0:Q.as)||ct.Fragment,f=u||a||((re=i==null?void 0:i.props)==null?void 0:re.asChild),m=c===ct.Fragment,J=l,{ref:g,children:p,attrs:h}=J,y=Gt(J,["ref","children","attrs"]),v=S(S({},h),y),w=Z(u!=null?u:p,i,v),T=Z(n||((te=i==null?void 0:i.props)==null?void 0:te.style),i),P=Z(r||(($=i==null?void 0:i.props)==null?void 0:$.className),i);if(f||m)return ct.createElement(ct.Fragment,null,w);if(br(c))return Z(c,i);{let I=B(S({},v),{style:S(S({},v.style),T),className:Zt(v.className,P)}),L=gr(i==null?void 0:i.elementRef,v.ref,g,(O=i==null?void 0:i.props)==null?void 0:O.ref);return I.children?ct.createElement(c,B(S({},I),{ref:L})):ct.createElement(c,B(S({},I),{ref:L}),w)}}Nt.displayName="PrimeReact.Component";var Tn=Object.freeze({ref:void 0,pIf:!0,style:void 0,className:void 0,as:void 0,asChild:!1,instance:void 0,pt:void 0,ptOptions:void 0,unstyled:void 0,dt:void 0,styles:void 0,render:void 0,children:void 0}),fa=Object.freeze(B(S({},Oo(Tn,"pt","ptOptions","dt","styles")),{attrs:void 0}));var Ut=K(V());var Se=K(V());function Cn(e,...t){return Jn(e)?e(...t):e?ut(...t):Object.assign({},...t)}function wn(e={},t="",n){let r=Ne(e,t,n);return ke(r)||er(r)?{className:r}:r}function Ft(e,t,n,r){let o=(a,i=!1)=>{var f;let u=r?r(a):a,l=Qt(t!=null?t:""),c=Qt(n!=null?n:"");return(f=i?l!==c?u==null?void 0:u[l]:void 0:u==null?void 0:u[l])!=null?f:u};return e&&Object.hasOwn(e,"_usept")?{_usept:e._usept,originalValue:o(e.originalValue),value:o(e.value)}:o(e,!0)}function os(e,t){let{id:n,name:r,scope:o,part:a,props:i,attrs:u,$primereact:l,$attrSelector:c}=e||{},f=l==null?void 0:l.passthrough,m=f==null?void 0:f.value,g=f==null?void 0:f.options,p=Se.useCallback((I,L,D="",ne)=>{let oe=ae=>L(ae,D,ne);if(I&&Object.hasOwn(I,"_usept")){let{mergeSections:ae=!0,mergeProps:be=!1}=I._usept||g||{},fe=oe(I.originalValue),ce=oe(I.value);return fe===void 0&&ce===void 0?void 0:ke(ce)?ce:ke(fe)?fe:ae||!ae&&ce?Cn(be,fe,ce):ce}return oe(I)},[g]),h=Se.useCallback(I=>{let L=p(Ft(i.pt,r,r),Ne,`hooks.${I}`),D=p(Ft(m,void 0,r),Ne,`hooks.${I}`);L==null||L(),D==null||D()},[i.pt,r,p,m]),y=Se.useMemo(()=>Ft(m,void 0,r,I=>Z(I,e)),[m,r]),v=Se.useMemo(()=>Ft(m,void 0,r,I=>Ne(I,r,e)||Z(I,e)),[m,r]),w=Se.useMemo(()=>Object.entries(u||{}).filter(([I])=>I==null?void 0:I.startsWith("pt-")).reduce((I,[L,D])=>{let[,ne,...oe]=L.split("-");return[ne,oe==null?void 0:oe.join("-")].filter(Boolean).reduce((ae,be,fe,ce)=>(ae[be]||(ae[be]=fe===ce.length-1?D:{}),ae[be]),I),I},{}),[u]),T=Se.useMemo(()=>Object.entries(u||{}).filter(([I])=>!(I!=null&&I.startsWith("pt-"))).reduce((I,[L,D])=>(I[L]=D,I),{}),[u]),P=Se.useCallback((I="")=>{let L="data-";return I==="root"&&ie(u==null?void 0:u["data-scope"])?{[`${L}extend`]:o,[`${L}styled`]:o}:B(S({[`${L}scope`]:o},I==="root"&&{[`${L}part`]:a,[`${L}id`]:c,[`${L}styled`]:o}),{[`${L}slot`]:I})},[o,a,c,u]),A=Se.useCallback((I={},L,D="",ne)=>{let oe=p(Ft(I,r,r),L,D,ne),ae=p(w,L,D,ne);return Cn(!0,oe!=null?oe:{},ae!=null?ae:{})},[w,p,r]),Q=Se.useCallback((I,L="",D)=>p(y,I,L,D),[y,p]),re=Se.useCallback((I,L,D)=>p(v,I,L,D),[v,p]),J=Se.useCallback((I={},L="",D={},ne=!0)=>{let oe=L.includes(".")&&!!D[L.split(".")[0]],{mergeSections:ae=!0,mergeProps:be=!1}=(i==null?void 0:i.ptOptions)||g||{},fe=ne?oe?Q(wn,L,D):re(wn,L,D):void 0,ce=oe?void 0:A(I,wn,L,B(S({},D),{global:fe||{}})),_e=P(L);return ae||!ae&&ce?Cn(be,fe,ce,_e):S(S({},ce),_e)},[i.ptOptions,Q,re,A,P]),te=Se.useCallback((I="",L={})=>J(i.pt,I,S(S({},t),L)),[i.pt,t,J]),$=Se.useCallback((I="",L={})=>{var ne;let D=ut(T,te(I,L));return D&&Object.hasOwn(D,"id")&&((ne=D.id)!=null||(D.id=n)),D},[te,n,T]),O=Se.useCallback((I={},L="",D={})=>J(I,L,S(S({},t),D),!1),[t,J]);return Ko(()=>h("onMounted")),Qo(()=>h("onUpdated")),Zo(()=>h("onUnmounted")),Se.useMemo(()=>({ptm:te,ptmi:$,ptmo:O}),[te,$,O])}var pa=Object.defineProperty,ma=Object.defineProperties,ga=Object.getOwnPropertyDescriptors,Mn=Object.getOwnPropertySymbols,is=Object.prototype.hasOwnProperty,as=Object.prototype.propertyIsEnumerable,ss=(e,t,n)=>t in e?pa(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Fe=(e,t)=>{for(var n in t||(t={}))is.call(t,n)&&ss(e,n,t[n]);if(Mn)for(var n of Mn(t))as.call(t,n)&&ss(e,n,t[n]);return e},Pn=(e,t)=>ma(e,ga(t)),dt=(e,t)=>{var n={};for(var r in e)is.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&Mn)for(var r of Mn(e))t.indexOf(r)<0&&as.call(e,r)&&(n[r]=e[r]);return n};var ha=vn(),Ye=ha,Rt=/{([^}]*)}/g,Rr=/(\d+\s+[\+\-\*\/]\s+\d+)/g,xr=/var\([^)]+\)/g;function Er(e){return ke(e)?e.replace(/[A-Z]/g,(t,n)=>n===0?t:"."+t.toLowerCase()).toLowerCase():e}function ya(e){return Ie(e)&&e.hasOwnProperty("$value")&&e.hasOwnProperty("$type")?e.$value:e}function va(e){return e.replaceAll(/ /g,"").replace(/[^\w]/g,"-")}function Sr(e="",t=""){return va(`${ke(e,!1)&&ke(t,!1)?`${e}-`:e}${t}`)}function us(e="",t=""){return`--${Sr(e,t)}`}function ba(e=""){let t=(e.match(/{/g)||[]).length,n=(e.match(/}/g)||[]).length;return(t+n)%2!==0}function Cr(e,t="",n="",r=[],o){if(ke(e)){let a=e.trim();if(ba(a))return;if(We(a,Rt)){let i=a.replaceAll(Rt,u=>{let l=u.replace(/{|}/g,"").split(".").filter(c=>!r.some(f=>We(c,f)));return`var(${us(n,kt(l.join("-")))}${ie(o)?`, ${o}`:""})`});return We(i.replace(xr,"0"),Rr)?`calc(${i})`:i}return a}else if(ko(e))return e}function Ra(e,t,n){ke(t,!1)&&e.push(`${t}:${n};`)}function $t(e,t){return e?`${e}{${t}}`:""}function ls(e,t){if(e.indexOf("dt(")===-1)return e;function n(i,u){let l=[],c=0,f="",m=null,g=0;for(;c<=i.length;){let p=i[c];if((p==='"'||p==="'"||p==="`")&&i[c-1]!=="\\"&&(m=m===p?null:p),!m&&(p==="("&&g++,p===")"&&g--,(p===","||c===i.length)&&g===0)){let h=f.trim();h.startsWith("dt(")?l.push(ls(h,u)):l.push(r(h)),f="",c++;continue}p!==void 0&&(f+=p),c++}return l}function r(i){let u=i[0];if((u==='"'||u==="'"||u==="`")&&i[i.length-1]===u)return i.slice(1,-1);let l=Number(i);return isNaN(l)?i:l}let o=[],a=[];for(let i=0;i<e.length;i++)if(e[i]==="d"&&e.slice(i,i+3)==="dt(")a.push(i),i+=2;else if(e[i]===")"&&a.length>0){let u=a.pop();a.length===0&&o.push([u,i])}if(!o.length)return e;for(let i=o.length-1;i>=0;i--){let[u,l]=o[i],c=e.slice(u+3,l),f=n(c,t),m=t(...f);e=e.slice(0,u)+m+e.slice(l+1)}return e}var xa=(e,t)=>{let n=e.split("."),r="";for(let o=0;o<n.length;o++){let a=Er(n[o]);t.lastIndex=0,!t.test(a)&&(r=r?`${r}.${a}`:a)}return r},Ea=(e,t,n,r)=>{var o,a,i;let u=le.tokens,l=xa(e,n),c=u.__strictCache;c||(c=new Map,Object.defineProperty(u,"__strictCache",{value:c,enumerable:!1,configurable:!0}));let f=r?`${t}|${l}|${r}`:`${t}|${l}`;if(c.has(f))return c.get(f);let m=(i=(a=(o=u[l])==null?void 0:o.paths)==null?void 0:a[0])==null?void 0:i.value,g;if(typeof m!="string")g=m!=null?m:le.getTokenValue(e);else if(Rt.lastIndex=0,!Rt.test(m))g=m;else{let p=l.slice(0,l.indexOf(".")),h=m.replace(Rt,y=>{let v=y.slice(1,-1),w=v.indexOf(".");if((w===-1?v:v.slice(0,w))!==p)return y;let T=le.getTokenValue(v);return T==null?y:`${T}`});g=Cr(h,void 0,t,[n],r)}return c.set(f,g),g},wr=e=>{var t;let n=le.getTheme(),r=Tr(n,e,void 0,"variable"),o=(t=r==null?void 0:r.match(/--[\w-]+/g))==null?void 0:t[0],a=Tr(n,e,void 0,"value");return{name:o,variable:r,value:a}},ft=(...e)=>Tr(le.getTheme(),...e),Tr=(e={},t,n,r)=>{var o,a,i,u,l,c,f,m,g,p;if(!t)return"";let h=(o=le.defaults)==null?void 0:o.variable,y=(l=(a=e==null?void 0:e.options)==null?void 0:a.prefix)!=null?l:(u=(i=le.defaults)==null?void 0:i.options)==null?void 0:u.prefix,v=(p=(g=(c=e==null?void 0:e.options)==null?void 0:c.cssVariables)!=null?g:(m=(f=le.defaults)==null?void 0:f.options)==null?void 0:m.cssVariables)!=null?p:!0;if(r==="value")return le.getTokenValue(t);if(ze(r)&&!v)return Ea(t,y,h.excludedKeyRegex,n);let w=We(t,Rt)?t:`{${t}}`;return Cr(w,void 0,y,[h.excludedKeyRegex],n)};function Ht(e,...t){if(e instanceof Array){let n=e.reduce((r,o,a)=>{var i;return r+o+((i=Z(t[a],{dt:ft}))!=null?i:"")},"");return ls(n,ft)}return Z(e,{dt:ft})}function Sa(e,t={}){let n=le.defaults.variable,{prefix:r=n.prefix,selector:o=n.selector,excludedKeyRegex:a=n.excludedKeyRegex}=t,i=[],u=[],l=[{node:e,path:r}];for(;l.length;){let{node:f,path:m}=l.pop();for(let g in f){let p=f[g],h=ya(p),y=We(g,a)?Sr(m):Sr(m,kt(g));if(Ie(h))l.push({node:h,path:y});else{let v=us(y),w=Cr(h,y,r,[a]);Ra(u,v,w);let T=y;r&&T.startsWith(r+"-")&&(T=T.slice(r.length+1)),i.push(T.replace(/-/g,"."))}}}let c=u.join("");return{value:u,tokens:i,declarations:c,css:$t(o,c)}}var Be={regex:{rules:{class:{pattern:/^\.([a-zA-Z][\w-]*)$/,resolve(e){return{type:"class",selector:e,matched:this.pattern.test(e.trim())}}},attr:{pattern:/^\[(.*)\]$/,resolve(e){return{type:"attr",selector:`:root${e},:host${e}`,matched:this.pattern.test(e.trim())}}},media:{pattern:/^@media (.*)$/,resolve(e){return{type:"media",selector:e,matched:this.pattern.test(e.trim())}}},system:{pattern:/^system$/,resolve(e){return{type:"system",selector:"@media (prefers-color-scheme: dark)",matched:this.pattern.test(e.trim())}}},custom:{resolve(e){return{type:"custom",selector:e,matched:!0}}}},resolve(e){let t=Object.keys(this.rules).filter(n=>n!=="custom").map(n=>this.rules[n]);return[e].flat().map(n=>{var r;return(r=t.map(o=>o.resolve(n)).find(o=>o.matched))!=null?r:this.rules.custom.resolve(n)})}},_toVariables(e,t){return Sa(e,{prefix:t==null?void 0:t.prefix})},getCommon({name:e="",theme:t={},params:n,set:r,defaults:o}){var a,i,u,l,c,f,m;let{preset:g,options:p}=t,h,y,v,w,T,P,A;if(ie(g)){let{primitive:Q,semantic:re,extend:J}=g,te=re||{},{colorScheme:$}=te,O=dt(te,["colorScheme"]),I=J||{},{colorScheme:L}=I,D=dt(I,["colorScheme"]),ne=$||{},{dark:oe}=ne,ae=dt(ne,["dark"]),be=L||{},{dark:fe}=be,ce=dt(be,["dark"]),_e=ie(Q)?this._toVariables({primitive:Q},p):{},Je=ie(O)?this._toVariables({semantic:O},p):{},Ke=ie(ae)?this._toVariables({light:ae},p):{},et=ie(oe)?this._toVariables({dark:oe},p):{},st=ie(D)?this._toVariables({semantic:D},p):{},it=ie(ce)?this._toVariables({light:ce},p):{},at=ie(fe)?this._toVariables({dark:fe},p):{},[Le,je]=[(a=_e.declarations)!=null?a:"",_e.tokens],[Ae,gt]=[(i=Je.declarations)!=null?i:"",Je.tokens||[]],[Ue,Tt]=[(u=Ke.declarations)!=null?u:"",Ke.tokens||[]],[Ct,ht]=[(l=et.declarations)!=null?l:"",et.tokens||[]],[Te,wt]=[(c=st.declarations)!=null?c:"",st.tokens||[]],[qt,Y]=[(f=it.declarations)!=null?f:"",it.tokens||[]],[b,x]=[(m=at.declarations)!=null?m:"",at.tokens||[]];h=this.transformCSS(e,Le,"light","variable",p,r,o),y=je;let E=this.transformCSS(e,`${Ae}${Ue}`,"light","variable",p,r,o),k=this.transformCSS(e,`${Ct}`,"dark","variable",p,r,o);v=`${E}${k}`,w=[...new Set([...gt,...Tt,...ht])];let q=this.transformCSS(e,`${Te}${qt}color-scheme:light`,"light","variable",p,r,o),F=this.transformCSS(e,`${b}color-scheme:dark`,"dark","variable",p,r,o);T=`${q}${F}`,P=[...new Set([...wt,...Y,...x])],A=Z(g.css,{dt:ft})}return{primitive:{css:h,tokens:y},semantic:{css:v,tokens:w},global:{css:T,tokens:P},style:A}},getPreset({name:e="",preset:t={},options:n,params:r,set:o,defaults:a,selector:i}){var u,l,c,f;let m,g,p;if(ie(t)&&((u=n.cssVariables)==null||u)){let h=e.replace("-directive",""),y=t,{colorScheme:v,extend:w,css:T}=y,P=dt(y,["colorScheme","extend","css"]),A=w||{},{colorScheme:Q}=A,re=dt(A,["colorScheme"]),J=v||{},{dark:te}=J,$=dt(J,["dark"]),O=Q||{},{dark:I}=O,L=dt(O,["dark"]),D=ie(P)?this._toVariables({[h]:Fe(Fe({},P),re)},n):{},ne=ie($)?this._toVariables({[h]:Fe(Fe({},$),L)},n):{},oe=ie(te)?this._toVariables({[h]:Fe(Fe({},te),I)},n):{},[ae,be]=[(l=D.declarations)!=null?l:"",D.tokens||[]],[fe,ce]=[(c=ne.declarations)!=null?c:"",ne.tokens||[]],[_e,Je]=[(f=oe.declarations)!=null?f:"",oe.tokens||[]],Ke=this.transformCSS(h,`${ae}${fe}`,"light","variable",n,o,a,i),et=this.transformCSS(h,_e,"dark","variable",n,o,a,i);m=`${Ke}${et}`,g=[...new Set([...be,...ce,...Je])],p=Z(T,{dt:ft})}return{css:m,tokens:g,style:p}},getScopedSelector(e,t){if(!(!(t!=null&&t.scoped)||!e))return`[data-styled="${e}"]`},getPresetC({name:e="",theme:t={},params:n,set:r,defaults:o}){var a;let{preset:i,options:u}=t,l=(a=i==null?void 0:i.components)==null?void 0:a[e],c=this.getScopedSelector(e,u);return this.getPreset({name:e,preset:l,options:u,params:n,set:r,defaults:o,selector:c})},getPresetD({name:e="",theme:t={},params:n,set:r,defaults:o}){var a,i;let u=e.replace("-directive",""),{preset:l,options:c}=t,f=((a=l==null?void 0:l.components)==null?void 0:a[u])||((i=l==null?void 0:l.directives)==null?void 0:i[u]),m=this.getScopedSelector(u,c);return this.getPreset({name:u,preset:f,options:c,params:n,set:r,defaults:o,selector:m})},applyDarkColorScheme(e){return!(e.darkModeSelector==="none"||e.darkModeSelector===!1)},getColorSchemeOption(e,t){var n;return this.applyDarkColorScheme(e)?this.regex.resolve(e.darkModeSelector===!0?t.options.darkModeSelector:(n=e.darkModeSelector)!=null?n:t.options.darkModeSelector):[]},getLayerOrder(e,t={},n,r){let{cssLayer:o}=t;return o?`@layer ${Z(o.order||o.name||"primeui",n)}`:""},getCommonStyleSheet({name:e="",theme:t={},params:n,props:r={},set:o,defaults:a}){let i=this.getCommon({name:e,theme:t,params:n,set:o,defaults:a}),u=Object.entries(r).reduce((l,[c,f])=>l.push(`${c}="${f}"`)&&l,[]).join(" ");return Object.entries(i||{}).reduce((l,[c,f])=>{if(Ie(f)&&Object.hasOwn(f,"css")){let m=tt(f.css),g=`${c}-variables`;l.push(`<style type="text/css" data-primevue-style-id="${g}" ${u}>${m}</style>`)}return l},[]).join("")},getStyleSheet({name:e="",theme:t={},params:n,props:r={},set:o,defaults:a}){var i;let u={name:e,theme:t,params:n,set:o,defaults:a},l=(i=e.includes("-directive")?this.getPresetD(u):this.getPresetC(u))==null?void 0:i.css,c=Object.entries(r).reduce((f,[m,g])=>f.push(`${m}="${g}"`)&&f,[]).join(" ");return l?`<style type="text/css" data-primevue-style-id="${e}-variables" ${c}>${tt(l)}</style>`:""},createTokens(e={},t,n="",r="",o={}){let a=function(c,f,m,g){return c.replace(Rt,p=>{var h;let y=p.slice(1,-1),v=this.tokens[y];if(!v)return console.warn(`Token not found for path: ${y}`),"__UNRESOLVED__";let w=v.computed(f,m,g);if(Array.isArray(w)&&w.length===2){let T=w[0].value,P=w[1].value;return T===P?T!=null?T:"__UNRESOLVED__":`light-dark(${T},${P})`}return(h=w==null?void 0:w.value)!=null?h:"__UNRESOLVED__"})},i=function(c,f,m,g){if(c.indexOf("light-dark(")===-1)return c;let p=[],h=c.length,y=0;for(;y<h;){let v=c.indexOf("light-dark(",y);if(v===-1){p.push(c.slice(y));break}p.push(c.slice(y,v));let w=1,T=v+11,P=-1;for(;T<h&&w>0;){let J=c.charCodeAt(T);J===40?w++:J===41?w--:J===44&&w===1&&P===-1&&(P=T),T++}if(w!==0||P===-1){p.push(c.slice(v));break}let A=c.slice(v+11,P).trim(),Q=c.slice(P+1,T-1).trim(),re=f&&f!=="none"?f:null;if(re==="light")p.push(i.call(this,A,"light",m,g));else if(re==="dark")p.push(i.call(this,Q,"dark",m,g));else{let J=a.call(this,i.call(this,A,"light",m,g),"light",m,g),te=a.call(this,i.call(this,Q,"dark",m,g),"dark",m,g);p.push(J===te?J:`light-dark(${J},${te})`)}y=T}return p.join("")},u=function(c,f={},m=[]){if(m.includes(this.path))return console.warn(`Circular reference detected at ${this.path}`),{colorScheme:c,path:this.path,paths:f,value:void 0};m.push(this.path),f.name=this.path,f.binding||(f.binding={});let g=this.value;if(typeof this.value=="string"){let p=this.value.trim(),h=p.indexOf("light-dark(")!==-1,y=p.indexOf("{")!==-1;if(h||y){let v=h?i.call(this,p,c,f,m):p,w=v.indexOf("{")!==-1?a.call(this,v,c,f,m):v;Rr.lastIndex=0,xr.lastIndex=0,g=Rr.test(w.replace(xr,"0"))?`calc(${w})`:w}}return ze(f.binding)&&delete f.binding,m.pop(),{colorScheme:c,path:this.path,paths:f,value:typeof g=="string"&&g.indexOf("__UNRESOLVED__")!==-1?void 0:g}},l=(c,f,m)=>{Object.entries(c).forEach(([g,p])=>{let h=We(g,t.variable.excludedKeyRegex)?f:f?`${f}.${Er(g)}`:Er(g),y=m?`${m}.${g}`:g;Ie(p)?l(p,h,y):(o[h]||(o[h]={paths:[],computed:(v,w={},T=[])=>{let P=o[h].paths;if(P.length===1){let A=P[0],Q=A.scheme!=="none"?A.scheme:v;return A.computed(Q,w.binding,T)}else if(v&&v!=="none")for(let A=0;A<P.length;A++){let Q=P[A];if(Q.scheme===v)return Q.computed(v,w.binding,T)}return P.map(A=>A.computed(A.scheme,w[A.scheme],T))}}),o[h].paths.push({path:y,value:p,scheme:y.includes("colorScheme.light")?"light":y.includes("colorScheme.dark")?"dark":"none",computed:u,tokens:o}))})};return l(e,n,r),o},getTokenValue(e,t,n){var r,o,a;let i=e.__cache;i||(i=new Map,Object.defineProperty(e,"__cache",{value:i,enumerable:!1,configurable:!0}));let u=i.get(t);if(u!==void 0||i.has(t))return u;let l=n.variable.excludedKeyRegex,c=t.split("."),f=[];for(let y=0;y<c.length;y++){let v=c[y];l.lastIndex=0,l.test(v.toLowerCase())||f.push(v)}let m=f.join("."),g=t.indexOf("colorScheme.light")!==-1?"light":t.indexOf("colorScheme.dark")!==-1?"dark":void 0,p=e[m];if(!p){i.set(t,void 0);return}let h;if(g){let y=p.computed(g);if(Array.isArray(y)){for(let v=0;v<y.length;v++)if(((r=y[v])==null?void 0:r.colorScheme)===g){h=y[v].value;break}}else h=y==null?void 0:y.value}else{let y=p.computed("light"),v=p.computed("dark"),w,T;if(Array.isArray(y)){for(let P=0;P<y.length;P++)if(((o=y[P])==null?void 0:o.colorScheme)==="light"){w=y[P].value;break}}else w=y==null?void 0:y.value;if(Array.isArray(v)){for(let P=0;P<v.length;P++)if(((a=v[P])==null?void 0:a.colorScheme)==="dark"){T=v[P].value;break}}else T=v==null?void 0:v.value;w===void 0&&T===void 0?h=void 0:w===void 0?h=T:T===void 0||w===T?h=w:h=`light-dark(${w},${T})`}return i.set(t,h),h},getSelectorRule(e,t,n,r,o=":root,:host"){return n==="class"||n==="attr"?$t(ie(t)?`${e}${t},${e} ${t}`:e,r):$t(e,$t(t!=null?t:o,r))},transformCSS(e,t,n,r,o={},a,i,u){var l,c;if(ie(t)){let{cssLayer:f}=o;if(r!=="style"){let m=this.getColorSchemeOption(o,i),g=(c=(l=i==null?void 0:i.variable)==null?void 0:l.selector)!=null?c:":root,:host";t=n==="dark"?m.reduce((p,{type:h,selector:y})=>(ie(y)&&(p+=y.includes("[CSS]")?y.replace("[CSS]",t):this.getSelectorRule(y,u,h,t,g)),p),""):$t(u!=null?u:g,t)}if(f){let m={name:"primeui",order:"primeui"};Ie(f)&&(m.name=Z(f.name,{name:e,type:r})),ie(m.name)&&(t=$t(`@layer ${m.name}`,t),a==null||a.layerNames(m.name))}return t}return""}},le={defaults:{variable:{prefix:"p",selector:":root,:host",excludedKeyRegex:/^(primitive|semantic|components|directives|variables|colorscheme|light|dark|common|root|states|extend|css)$/gi},options:{prefix:"p",darkModeSelector:"system",cssLayer:!1,cssVariables:!0,scoped:!1}},_theme:void 0,_layerNames:new Set,_loadedStyleNames:new Set,_loadingStyles:new Set,_tokens:{},update(e={}){let{theme:t}=e;t&&(this._theme=Pn(Fe({},t),{options:Fe(Fe({},this.defaults.options),t.options)}),this._tokens=Be.createTokens(this.preset,this.defaults),this.clearLoadedStyleNames())},get theme(){return this._theme},get preset(){var e;return((e=this.theme)==null?void 0:e.preset)||{}},get options(){var e;return((e=this.theme)==null?void 0:e.options)||{}},get tokens(){return this._tokens},getTheme(){return this.theme},setTheme(e){this.update({theme:e}),Ye.emit("theme:change",e)},getPreset(){return this.preset},setPreset(e){this._theme=Pn(Fe({},this.theme),{preset:e}),this._tokens=Be.createTokens(e,this.defaults),this.clearLoadedStyleNames(),Ye.emit("preset:change",e),Ye.emit("theme:change",this.theme)},getOptions(){return this.options},setOptions(e){this._theme=Pn(Fe({},this.theme),{options:e}),this.clearLoadedStyleNames(),Ye.emit("options:change",e),Ye.emit("theme:change",this.theme)},getLayerNames(){return[...this._layerNames]},setLayerNames(e){this._layerNames.add(e)},getLoadedStyleNames(){return this._loadedStyleNames},isStyleNameLoaded(e){return this._loadedStyleNames.has(e)},setLoadedStyleName(e){this._loadedStyleNames.add(e)},deleteLoadedStyleName(e){this._loadedStyleNames.delete(e)},clearLoadedStyleNames(){this._loadedStyleNames.clear()},getTokenValue(e){return Be.getTokenValue(this.tokens,e,this.defaults)},getCommon(e="",t){return Be.getCommon({name:e,theme:this.theme,params:t,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}})},getComponent(e="",t){let n={name:e,theme:this.theme,params:t,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}};return Be.getPresetC(n)},getDirective(e="",t){let n={name:e,theme:this.theme,params:t,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}};return Be.getPresetD(n)},getCustomPreset(e="",t,n,r){let o={name:e,preset:t,options:this.options,selector:n,params:r,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}};return Be.getPreset(o)},getLayerOrderCSS(e=""){return Be.getLayerOrder(e,this.options,{names:this.getLayerNames()},this.defaults)},transformCSS(e="",t,n="style",r){return Be.transformCSS(e,t,r,n,this.options,{layerNames:this.setLayerNames.bind(this)},this.defaults)},getCommonStyleSheet(e="",t,n={}){return Be.getCommonStyleSheet({name:e,theme:this.theme,params:t,props:n,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}})},getStyleSheet(e,t,n={}){return Be.getStyleSheet({name:e,theme:this.theme,params:t,props:n,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}})},onStyleMounted(e){this._loadingStyles.add(e)},onStyleUpdated(e){this._loadingStyles.add(e)},onStyleLoaded(e,{name:t}){this._loadingStyles.size&&(this._loadingStyles.delete(t),Ye.emit(`theme:${t}:load`,e),!this._loadingStyles.size&&Ye.emit("theme:load"))}};var Ta=class{constructor({attrs:e}={}){this._styles=new Map,this._attrs=e||{}}get(e){return this._styles.get(e)}has(e){return this._styles.has(e)}delete(e){this._styles.delete(e)}clear(){this._styles.clear()}add(e,t){if(ie(t)){let n={name:e,css:t,attrs:this._attrs,markup:Lo(t,this._attrs)};this._styles.set(e,Pn(Fe({},n),{element:this.createStyleElement(n)}))}}update(){}getStyles(){return this._styles}getAllCSS(){return[...this._styles.values()].map(e=>e.css).filter(String)}getAllMarkup(){return[...this._styles.values()].map(e=>e.markup).filter(String)}getAllElements(){return[...this._styles.values()].map(e=>e.element)}createStyleElement(e={}){}},cs=Ta;var ye=K(V());var pt=K(V());function Pr(){let e=pt.useContext(Ge),t=pt.useCallback((o={})=>{let{name:a,css:i,element:u,options:l={}}=o;if(Me()&&ie(i)){let c=u==null?void 0:u.getRootNode();(!c||c===document)&&(c=document.head);let f=c.querySelector(`style[data-primereact-style-id="${a}"]`)||document.createElement("style");f.isConnected||(l!=null&&l.first?c.prepend(f):c.appendChild(f),f.setAttribute("data-primereact-style-id",a||""));let m=i!=null?i:"";return f.textContent!==m&&(f.textContent=m),f}},[]),n=pt.useCallback((o={})=>{var u,l;let{name:a,css:i}=o;if(ie(o.css))return a&&!((u=e==null?void 0:e.stylesheet)!=null&&u.has(a))&&!Me()&&a!=="layer-order"&&((l=e==null?void 0:e.stylesheet)==null||l.add(a,i)),t(o)},[e,t]),r=pt.useCallback(()=>{e!=null&&e.stylesheet&&e.stylesheet.clear()},[e]);return pt.useInsertionEffect(()=>{var o,a;(a=(o=e==null?void 0:e.stylesheet)==null?void 0:o.getStyles())==null||a.forEach((i,u)=>{t({name:u,css:i==null?void 0:i.css})})},[e,t]),[n,r]}var Ca={};var jt=K(V());function ds(e,t){let n=jt.useContext(Ge),[r]=Pr(),o=jt.useCallback((a,i)=>r({name:i==null?void 0:i.name,css:a,element:Ot(t),options:i}),[r,t]);return jt.useMemo(()=>{let a=B(S({name:"base"},e),{load(i="",u={},l="",c=!1){let f=u.name||a.name,m=Ht`${i}${l}`,g=c?le.transformCSS(f,m):m;return ie(g)?o(tt(g),S({name:f},u)):void 0},loadCSS(i){return this.load(this.css,i)},loadStyle(i,u=""){return this.load(this.style,i,u,!0)},getCommonTheme(i){return le.getCommon(this.name,i)},getComponentTheme(i){return le.getComponent(this.name,i)},getPresetTheme(i,u,l){return le.getCustomPreset(this.name,i,u,l)},getLayerOrderThemeCSS(){return le.getLayerOrderCSS(this.name)},getStyleSheet(i="",u={}){if(this.css){let l=Z(this.css,{dt:ft}),c=tt(Ht`${l}${i}`),f=Object.entries(u).reduce((m,[g,p])=>(m.push(`${g}="${p}"`),m),[]).join(" ");return`<style type="text/css" data-primereact-style-id="${this.name}" ${f}>${c}</style>`}return""},getCommonThemeStyleSheet(i,u={}){return le.getCommonStyleSheet(this.name,i,u)},getThemeStyleSheet(i,u={}){let l=[le.getStyleSheet(this.name,i,u)];if(n){let c=this.name==="base"?"global-style":`${this.name}-style`,f=Ht`${Z(n,{dt:ft})}`,m=tt(le.transformCSS(this.name,f)),g=Object.entries(u).reduce((p,[h,y])=>(p.push(`${h}="${y}"`),p),[]).join(" ");l.push(`<style type="text/css" data-primereact-style-id="${c}" ${g}>${m}</style>`)}return l.join("")}});return a},[e,n,o])}function fs(e,t,n){var Q,re,J,te;let{props:r={unstyled:!1,dt:void 0},$primereact:o,$attrSelector:a,elementRef:i}=e||{},u=ds(t,i),l=ye.useMemo(()=>{var $;return r.unstyled!==void 0?r.unstyled:($=o==null?void 0:o.config)==null?void 0:$.unstyled},[r.unstyled,(Q=o==null?void 0:o.config)==null?void 0:Q.unstyled]),c=ye.useMemo(()=>{var $,O;return{nonce:(O=($=o==null?void 0:o.config)==null?void 0:$.csp)==null?void 0:O.nonce}},[(J=(re=o==null?void 0:o.config)==null?void 0:re.csp)==null?void 0:J.nonce]),f=ye.useRef(null),m=ye.useRef(!1),g=ye.useRef(null),p=ye.useRef(null),h=ye.useRef(!1);if(mr){let $=t==null?void 0:t.style,O=typeof $=="string"?$:null;O!==null&&p.current!==O&&(p.current=O,h.current=!0)}let y=ye.useCallback(()=>{if(!(u!=null&&u.name))return;let $=u.name==="global"?"base":u.name;if(!Me()){u.loadCSS(S({name:$},c));return}g.current&&g.current!==u.name&&(bt.releaseStyleName(g.current),g.current=null);let O=h.current;(O||!g.current)&&((O||bt.retainStyleName(u.name))&&u.loadCSS(S({name:$},c)),g.current=u.name)},[u,c]),v=ye.useCallback(()=>{if(l||(o==null?void 0:o.theme)==="none")return;let $=()=>{var be,fe;let{primitive:D,semantic:ne,global:oe,style:ae}=((be=u==null?void 0:u.getCommonTheme)==null?void 0:be.call(u))||{};u.load(D==null?void 0:D.css,S({name:"primitive-variables"},c)),u.load(ne==null?void 0:ne.css,S({name:"semantic-variables"},c)),u.load(oe==null?void 0:oe.css,S({name:"global-variables"},c)),u.load((fe=u.baseStyles)==null?void 0:fe.style,S({name:"global-style"},c),ae,!0)},O=()=>{var oe;let{css:D,style:ne}=((oe=u==null?void 0:u.getComponentTheme)==null?void 0:oe.call(u))||{};u.load(D,S({name:`${u.name}-variables`},c)),u.loadStyle(S({name:`${u.name}-style`},c),ne)},I=()=>{var ne;let D=(ne=u==null?void 0:u.getLayerOrderThemeCSS)==null?void 0:ne.call(u);u.load(D,S({name:"layer-order",first:!0},c))};if(!Me()){$(),u!=null&&u.name&&O(),I();return}let L=h.current;(L||!le.isStyleNameLoaded("common"))&&($(),le.setLoadedStyleName("common")),(L||!le.isStyleNameLoaded(u==null?void 0:u.name))&&(u!=null&&u.name)&&(O(),le.setLoadedStyleName(u.name)),(L||!le.isStyleNameLoaded("layer-order"))&&(I(),le.setLoadedStyleName("layer-order"))},[l,u,c]),w=ye.useCallback(()=>{let{css:$}=u.baseStyles||{};if(!Me()){u.load($,S({name:"base"},c)),v();return}let O=h.current;(O||!m.current)&&(m.current=!0,(O||bt.retainStyleName("base"))&&u.load($,S({name:"base"},c))),v(),h.current=!1},[u,c,v]),T=ye.useCallback($=>{var L;let{css:O}=((L=u==null?void 0:u.getPresetTheme)==null?void 0:L.call(u,$,`[${a}]`))||{},I=u==null?void 0:u.load(O,S({name:`${a}-${u.name}`},c));f.current=I||null},[u,a,c]),P=ye.useCallback(($="",O={})=>l?void 0:Zt(Ne(u.classes,$,B(S({},n),{context:O}))),[l,n,u.classes]),A=ye.useCallback(($="",O=!0,I={})=>{var L;if(O){let D=Ne(u.inlineStyles,$,B(S({},n),{context:I})),ne=Ne((L=u.baseStyles)==null?void 0:L.inlineStyles,$,B(S({},n),{context:I}));return S(S({},ne),D)}},[u.inlineStyles,(te=u.baseStyles)==null?void 0:te.inlineStyles,n]);return!Me()&&!l&&(y(),w(),T(r.dt)),ye.useInsertionEffect(()=>{!Me()||l||(y(),w())},[l,y,w]),ye.useEffect(()=>{if(!Me()||l||(o==null?void 0:o.theme)==="none")return;let $=()=>{v(),T(r.dt)};return Ye.on("theme:change",$),()=>{Ye.off("theme:change",$)}},[l,o==null?void 0:o.theme,v,T,r.dt]),ye.useInsertionEffect(()=>{var $;if(!(!Me()||l))return($=f.current)==null||$.remove(),f.current=null,T(r.dt),()=>{var O;(O=f.current)==null||O.remove(),f.current=null}},[l,r.dt,T]),ye.useEffect(()=>{if(Me())return()=>{m.current&&(bt.releaseStyleName("base"),m.current=!1),g.current&&(bt.releaseStyleName(g.current),g.current=null)}},[]),ye.useMemo(()=>({cx:P,sx:A,isUnstyled:l,$style:u}),[P,A,l,u])}function Mr(e="UnknownComponent",t={}){let n=Ut.useMemo(()=>S(S({},Tn),t.defaultProps),[t.defaultProps]),r=on(e,{type:t.type,inProps:t.inProps,defaultProps:n,setup:t.setup}),{ref:o,props:a}=r,i=Ut.useMemo(()=>({instance:r,props:r.props,attrs:r.attrs,state:r.state}),[r.props,r.attrs,r.state]),u=os(r,i),l=fs(r,a.styles||t.styles,i),c=Ut.useMemo(()=>S(S(S({},r),u),l),[r,u,l]);return Ut.useImperativeHandle(o,()=>c,[c]),c}var In=K(V());function sn({name:e="UnknownComponent",type:t="primitive",defaultProps:n,styles:r,components:o,setup:a,render:i}){let l=In.memo(c=>{let f=Mr(e,{type:t,inProps:c,defaultProps:n,styles:r,setup:a}),m=i!=null?i:(()=>null);return f.props.pIf?In.createElement(m,S({},f)):null},(c,f)=>{if(!Ie(c)||!Ie(f))return!1;let m=c,g=f,p=Object.keys(m);if(p.length!==Object.keys(g).length)return!1;for(let h of p){let y=m[h],v=g[h];if(typeof y=="function"||typeof v=="function"){if(y!==v)return!1;continue}if(!Object.is(y,v))return!1}return!0});return l.displayName=`PrimeReact.${e}`,Object.entries(o||{}).forEach(([c,f])=>{l[c]=f}),l}var gs=K(V());var Ir={as:"i",size:void 0,rotate:void 0,flip:void 0,spin:!1};var an={name:"icon",classes:{root:({props:e})=>["p-icon",{"p-icon-spin":e.spin,"p-icon-flip-horizontal":e.flip==="horizontal","p-icon-flip-vertical":e.flip==="vertical"}]},inlineStyles:{root:({props:e})=>S(S({},e.size?{[wr("icon.size").name]:e.size}:void 0),e.rotate?{[wr("icon.rotate").name]:`${e.rotate}deg`}:void 0)}};var ms=K(V());function kr(e="UnknownHeadless",t={}){return on(e,t)}function un({name:e,type:t="headless",defaultProps:n,setup:r}){return o=>kr(e,{type:t,inProps:o,defaultProps:n,setup:r})}var ps=K(V()),Or=un({name:"useIcon",setup({attrs:e}){let t=e["aria-label"],n=e.tabIndex;return{pti:ps.useCallback(()=>{let o=ze(t);return{role:o?void 0:"img","aria-hidden":ze(n)&&o}},[t,n])}}});function _r({name:e,defaultProps:t,styles:n,components:r,setup:o,render:a}){return sn({name:`${e!=null?e:"Unknown"}Icon`,defaultProps:t,styles:n,components:r,setup(i){let u=Or(i==null?void 0:i.inProps),l=Z(o,i);return ms.useMemo(()=>S(S({},u),l),[u,l])},render:a})}var wa=_r({name:"Icon",styles:an,defaultProps:Ir,render(e){let{id:t,props:n,ptmi:r,pti:o,cx:a,sx:i}=e,u=ut({id:t,style:i("root"),className:a("root")},o==null?void 0:o(),r("root"));return gs.createElement(Nt,{instance:e,attrs:u,children:n.children})}});var nt=K(V());var Lr={preset:void 0,prefix:"p",darkModeSelector:"system",cssLayer:!1,cssVariables:!0,scoped:!1,stylesheet:void 0};var Ge=nt.createContext(null),Ar=(e={})=>{let{props:t}=qe(Lr,e),u=t,{stylesheet:n,preset:r}=u,o=Gt(u,["stylesheet","preset"]),a=S({preset:r,stylesheet:n},o);le.setTheme({preset:r,options:o});let i=nt.useMemo(()=>tt(Ht`${an.css}`)||"",[]);return nt.useMemo(()=>{ie(i)&&rn.register({id:"icon",css:i,phase:"both",priority:10})},[i]),Me()||yr(n,rn.getForSSR()),nt.useInsertionEffect(()=>{Me()&&vr(rn.getForClient())},[]),nt.createElement(Ge.Provider,{value:a},Z(e.children,a))};var hs=K(V());function Pa(){let e=hs.useContext(Ge);if(e===void 0)throw new Error("Context must be used within a ThemeProvider");return e}var Ma={p:BigInt("0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffed"),n:BigInt("0x1000000000000000000000000000000014def9dea2f79cd65812631a5cf5d3ed"),h:BigInt(8),a:BigInt("0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffec"),d:BigInt("0x52036cee2b6ffe738cc740797779e89800700a4d4141d8ab75eb4dca135978a3"),Gx:BigInt("0x216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a"),Gy:BigInt("0x6666666666666666666666666666666666666666666666666666666666666658")},{p:Ce,n:kn,Gx:ys,Gy:vs,a:Dr,d:Nr}=Ma,Ia=BigInt(8),ln=32,Fr=64,$e=(e="")=>{throw new Error(e)},ka=e=>typeof e=="bigint",Ts=e=>typeof e=="string",Oa=e=>e instanceof Uint8Array||ArrayBuffer.isView(e)&&e.constructor.name==="Uint8Array",Vt=(e,t)=>!Oa(e)||typeof t=="number"&&t>0&&e.length!==t?$e("Uint8Array expected"):e,An=e=>new Uint8Array(e),Ur=e=>Uint8Array.from(e),Cs=(e,t)=>e.toString(16).padStart(t,"0"),Br=e=>Array.from(Vt(e)).map(t=>Cs(t,2)).join(""),rt={_0:48,_9:57,A:65,F:70,a:97,f:102},bs=e=>{if(e>=rt._0&&e<=rt._9)return e-rt._0;if(e>=rt.A&&e<=rt.F)return e-(rt.A-10);if(e>=rt.a&&e<=rt.f)return e-(rt.a-10)},Vr=e=>{let t="hex invalid";if(!Ts(e))return $e(t);let n=e.length,r=n/2;if(n%2)return $e(t);let o=An(r);for(let a=0,i=0;a<r;a++,i+=2){let u=bs(e.charCodeAt(i)),l=bs(e.charCodeAt(i+1));if(u===void 0||l===void 0)return $e(t);o[a]=u*16+l}return o},On=(e,t)=>Vt(Ts(e)?Vr(e):Ur(Vt(e)),t),ws=()=>globalThis==null?void 0:globalThis.crypto,_a=()=>{var e,t;return(t=(e=ws())==null?void 0:e.subtle)!=null?t:$e("crypto.subtle must be defined")},$r=(...e)=>{let t=An(e.reduce((r,o)=>r+Vt(o).length,0)),n=0;return e.forEach(r=>{t.set(r,n),n+=r.length}),t},La=(e=ln)=>ws().getRandomValues(An(e)),_n=BigInt,xt=(e,t,n,r="bad number: out of range")=>ka(e)&&t<=e&&e<n?e:$e(r),_=(e,t=Ce)=>{let n=e%t;return n>=BigInt(0)?n:t+n},Aa=e=>_(e,kn),Ps=(e,t)=>{(e===BigInt(0)||t<=BigInt(0))&&$e("no inverse n="+e+" mod="+t);let n=_(e,t),r=t,o=BigInt(0),a=BigInt(1),i=BigInt(1),u=BigInt(0);for(;n!==BigInt(0);){let l=r/n,c=r%n,f=o-i*l,m=a-u*l;r=n,n=c,o=i,a=u,i=f,u=m}return r===BigInt(1)?_(o,t):$e("no inverse")};var Rs=e=>e instanceof ot?e:$e("Point expected"),Hr=BigInt(2)**BigInt(256),Ze=class Ze{constructor(t,n,r,o){yt(this,"ex");yt(this,"ey");yt(this,"ez");yt(this,"et");let a=Hr;this.ex=xt(t,BigInt(0),a),this.ey=xt(n,BigInt(0),a),this.ez=xt(r,BigInt(1),a),this.et=xt(o,BigInt(0),a),Object.freeze(this)}static fromAffine(t){return new Ze(t.x,t.y,BigInt(1),_(t.x*t.y))}static fromBytes(t,n=!1){let r=Nr,o=Ur(Vt(t,ln)),a=t[31];o[31]=a&-129;let i=Kr(o);xt(i,BigInt(0),n?Hr:Ce);let l=_(i*i),c=_(l-BigInt(1)),f=_(r*l+BigInt(1)),{isValid:m,value:g}=Fa(c,f);m||$e("bad point: y not sqrt");let p=(g&BigInt(1))===BigInt(1),h=(a&128)!==0;return!n&&g===BigInt(0)&&h&&$e("bad point: x==0, isLastByteOdd"),h!==p&&(g=_(-g)),new Ze(g,i,BigInt(1),_(g*i))}assertValidity(){let t=Dr,n=Nr,r=this;if(r.is0())throw new Error("bad point: ZERO");let{ex:o,ey:a,ez:i,et:u}=r,l=_(o*o),c=_(a*a),f=_(i*i),m=_(f*f),g=_(l*t),p=_(f*_(g+c)),h=_(m+_(n*_(l*c)));if(p!==h)throw new Error("bad point: equation left != right (1)");let y=_(o*a),v=_(i*u);if(y!==v)throw new Error("bad point: equation left != right (2)");return this}equals(t){let{ex:n,ey:r,ez:o}=this,{ex:a,ey:i,ez:u}=Rs(t),l=_(n*u),c=_(a*o),f=_(r*u),m=_(i*o);return l===c&&f===m}is0(){return this.equals(Bt)}negate(){return new Ze(_(-this.ex),this.ey,this.ez,_(-this.et))}double(){let{ex:t,ey:n,ez:r}=this,o=Dr,a=_(t*t),i=_(n*n),u=_(BigInt(2)*_(r*r)),l=_(o*a),c=t+n,f=_(_(c*c)-a-i),m=l+i,g=m-u,p=l-i,h=_(f*g),y=_(m*p),v=_(f*p),w=_(g*m);return new Ze(h,y,w,v)}add(t){let{ex:n,ey:r,ez:o,et:a}=this,{ex:i,ey:u,ez:l,et:c}=Rs(t),f=Dr,m=Nr,g=_(n*i),p=_(r*u),h=_(a*m*c),y=_(o*l),v=_((n+r)*(i+u)-g-p),w=_(y-h),T=_(y+h),P=_(p-f*g),A=_(v*w),Q=_(T*P),re=_(v*P),J=_(w*T);return new Ze(A,Q,J,re)}multiply(t,n=!0){if(!n&&(t===BigInt(0)||this.is0()))return Bt;if(xt(t,BigInt(1),kn),t===BigInt(1))return this;if(this.equals(Kt))return za(t).p;let r=Bt,o=Kt;for(let a=this;t>BigInt(0);a=a.double(),t>>=BigInt(1))t&BigInt(1)?r=r.add(a):n&&(o=o.add(a));return r}toAffine(){let{ex:t,ey:n,ez:r}=this;if(this.equals(Bt))return{x:BigInt(0),y:BigInt(1)};let o=Ps(r,Ce);return _(r*o)!==BigInt(1)&&$e("invalid inverse"),{x:_(t*o),y:_(n*o)}}toBytes(){let{x:t,y:n}=this.assertValidity().toAffine(),r=Da(n);return r[31]|=t&BigInt(1)?128:0,r}toHex(){return Br(this.toBytes())}clearCofactor(){return this.multiply(_n(Ia),!1)}isSmallOrder(){return this.clearCofactor().is0()}isTorsionFree(){let t=this.multiply(kn/BigInt(2),!1).double();return kn%BigInt(2)&&(t=t.add(this)),t.is0()}static fromHex(t,n){return Ze.fromBytes(On(t),n)}get x(){return this.toAffine().x}get y(){return this.toAffine().y}toRawBytes(){return this.toBytes()}};yt(Ze,"BASE"),yt(Ze,"ZERO");var ot=Ze,Kt=new ot(ys,vs,BigInt(1),_(ys*vs)),Bt=new ot(BigInt(0),BigInt(1),BigInt(1),BigInt(0));ot.BASE=Kt;ot.ZERO=Bt;var Da=e=>Vr(Cs(xt(e,BigInt(0),Hr),Fr)).reverse(),Kr=e=>_n("0x"+Br(Ur(Vt(e)).reverse())),Xe=(e,t)=>{let n=e;for(;t-- >BigInt(0);)n*=n,n%=Ce;return n},Na=e=>{let n=e*e%Ce*e%Ce,r=Xe(n,BigInt(2))*n%Ce,o=Xe(r,BigInt(1))*e%Ce,a=Xe(o,BigInt(5))*o%Ce,i=Xe(a,BigInt(10))*a%Ce,u=Xe(i,BigInt(20))*i%Ce,l=Xe(u,BigInt(40))*u%Ce,c=Xe(l,BigInt(80))*l%Ce,f=Xe(c,BigInt(80))*l%Ce,m=Xe(f,BigInt(10))*a%Ce;return{pow_p_5_8:Xe(m,BigInt(2))*e%Ce,b2:n}},xs=BigInt("0x2b8324804fc1df0b2b4d00993dfbd7a72f431806ad2fe478c4ee1b274a0ea0b0"),Fa=(e,t)=>{let n=_(t*t*t),r=_(n*n*t),o=Na(e*r).pow_p_5_8,a=_(e*n*o),i=_(t*a*a),u=a,l=_(a*xs),c=i===e,f=i===_(-e),m=i===_(-e*xs);return c&&(a=u),(f||m)&&(a=l),(_(a)&BigInt(1))===BigInt(1)&&(a=_(-a)),{isValid:c||f,value:a}},$a=e=>Aa(Kr(e)),Ha=(...e)=>Ba.sha512Async(...e);var ja=e=>Ha(e.hashable).then(e.finish);var Ms={zip215:!0},Ua=(e,t,n,r=Ms)=>{e=On(e,Fr),t=On(t),n=On(n,ln);let{zip215:o}=r,a,i,u,l,c=Uint8Array.of();try{a=ot.fromHex(n,o),i=ot.fromHex(e.slice(0,ln),o),u=Kr(e.slice(ln,Fr)),l=Kt.multiply(u,!1),c=$r(i.toBytes(),a.toBytes(),t)}catch(m){}return{hashable:c,finish:m=>{if(l==null||!o&&a.isSmallOrder())return!1;let g=$a(m);return i.add(a.multiply(g,!1)).add(l.negate()).clearCofactor().is0()}}},Is=(o,a,i,...u)=>Xt(null,[o,a,i,...u],function*(e,t,n,r=Ms){return ja(Ua(e,t,n,r))});var Ba={sha512Async:(...e)=>Xt(null,null,function*(){let t=_a(),n=$r(...e);return An(yield t.digest("SHA-512",n.buffer))}),sha512Sync:void 0,bytesToHex:Br,hexToBytes:Vr,concatBytes:$r,mod:_,invert:Ps,randomBytes:La};var Ln=8,Va=256,ks=Math.ceil(Va/Ln)+1,jr=2**(Ln-1),Ka=()=>{let e=[],t=Kt,n=t;for(let r=0;r<ks;r++){n=t,e.push(n);for(let o=1;o<jr;o++)n=n.add(t),e.push(n);t=n.double()}return e},Es,Ss=(e,t)=>{let n=t.negate();return e?n:t},za=e=>{let t=Es||(Es=Ka()),n=Bt,r=Kt,o=2**Ln,a=o,i=_n(o-1),u=_n(Ln);for(let l=0;l<ks;l++){let c=Number(e&i);e>>=u,c>jr&&(c-=a,e+=BigInt(1));let f=l*jr,m=f,g=f+Math.abs(c)-1,p=l%2!==0,h=c<0;c===0?r=r.add(Ss(p,t[m])):n=n.add(Ss(h,t[g]))}return{p:n,f:r}};var qa=Object.defineProperty,Os=Object.getOwnPropertySymbols,Ya=Object.prototype.hasOwnProperty,Ga=Object.prototype.propertyIsEnumerable,_s=(e,t,n)=>t in e?qa(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,$s=(e,t,n)=>new Promise((r,o)=>{var a=l=>{try{u(n.next(l))}catch(c){o(c)}},i=l=>{try{u(n.throw(l))}catch(c){o(c)}},u=l=>l.done?r(l.value):Promise.resolve(l.value).then(a,i);u((n=n.apply(e,t)).next())});function Ls(e){let t={};for(let l=0;l<64;l++)t["ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"[l]]=l;let n=e.replace(/=+$/,""),r=Math.floor(6*n.length/8),o=new Uint8Array(r),a=0,i=0,u=0;for(let l=0;l<n.length;l++){let c=t[n[l]];if(c===void 0)throw new Error("Invalid base64url character");a=a<<6|c,i+=6,i>=8&&(i-=8,o[u++]=a>>i&255)}return o}var Xa="primeui",zr="primeui-pro:",As={primeui:"primeui",scheduler:"primeui-pro:scheduler",texteditor:"primeui-pro:text-editor",charts:"primeui-pro:charts",diagram:"primeui-pro:diagram",pdfviewer:"primeui-pro:pdf-viewer",taskboard:"primeui-pro:task-board",datagrid:"primeui-pro:datagrid",ganttchart:"primeui-pro:gantt-chart",filemanager:"primeui-pro:file-manager"},Hs={primeui:"PrimeUI",scheduler:"Scheduler",texteditor:"TextEditor",charts:"Charts",diagram:"Diagram",pdfviewer:"PDF Viewer",taskboard:"Task Board",datagrid:"DataGrid",ganttchart:"Gantt",filemanager:"File Manager"};function qr(e,t="PrimeUI"){switch(e){case"active":return`${t} license is active.`;case"grace":return`${t} license is in its grace period. Renew soon to keep using this version.`;case"expired":return`${t} license does not cover this version. Renew at primeui.store, or downgrade to a version released within your updates window.`;case"tampered":return`${t} license signature is invalid.`;case"wrong-product":return`License does not cover ${t}.`;case"missing":return`No license key configured for ${t}.`;case"invalid":return`${t} license is malformed.`;case"unconfigured":return`${t} license is not configured.`;default:return`${t} license status unknown.`}}var Ds=864e5;function Oe(e,t,n={}){return((r,o)=>{for(var a in o||(o={}))Ya.call(o,a)&&_s(r,a,o[a]);if(Os)for(var a of Os(o))Ga.call(o,a)&&_s(r,a,o[a]);return r})({valid:e==="active"||e==="grace",status:e,message:qr(e,t)},n)}function Ns(e,t){return $s(this,null,function*(){var n,r;let o=t.productLabel;if(typeof e!="string"||!e.includes("."))return Oe("invalid",o);let a=e.split(".");if(a.length!==2)return Oe("invalid",o);let[i,u]=a,l,c,f;try{l=(function(T){let P=Ls(T),A=new TextDecoder().decode(P);return JSON.parse(A)})(i)}catch(T){return Oe("invalid",o)}if(!l||typeof l!="object"||typeof l.product!="string"||typeof l.type!="string"||typeof l.exp!="number"||typeof l.iat!="number"||typeof l.id!="string")return Oe("invalid",o);try{c=Ls(u),f=new TextEncoder().encode(i)}catch(T){return Oe("invalid",o)}let m=(n=t.publicKeyOverride)!=null?n:"dae75e66b9f59bebf87d4bb29ca6494f37deccfcc2b132b98ee159ee7505373b",g;try{g=(function(T){if(T.length%2!=0)throw new Error("Invalid hex length");let P=new Uint8Array(T.length/2);for(let A=0;A<P.length;A++)P[A]=parseInt(T.substr(2*A,2),16);return P})(m)}catch(T){return Oe("invalid",o)}let p=!1;try{p=yield Is(c,f,g)}catch(T){return Oe("tampered",o,{payload:l})}if(!p)return Oe("tampered",o,{payload:l});if(!(function(T,P){return T.product===P||!(!P.startsWith(zr)||T.product!==Xa||T.tier!=="commercial")})(l,t.product))return Oe("wrong-product",o,{payload:l});let h=1e3*l.exp,y=Date.now(),v=Math.floor((h-y)/Ds),w=(function(T){if(T===void 0)return null;if(typeof T=="number")return 1e3*T;let P=Date.parse(T);return Number.isNaN(P)?null:P})(t.releaseDate);if(w!==null&&w>h)return Oe("expired",o,{daysUntilExpiry:v,payload:l});if((function(T){return T.type==="oem"||T.tier==="community"})(l)){if(y>h+((r=t.graceDays)!=null?r:30)*Ds)return Oe("expired",o,{daysUntilExpiry:v,payload:l});if(y>h)return Oe("grace",o,{daysUntilExpiry:v,payload:l})}return Oe("active",o,{daysUntilExpiry:v,payload:l})})}function Fs(e,t){return{valid:!1,status:e,message:qr(e,t)}}function Za(e,t){let n=t==null?void 0:t.graceDays,r=t==null?void 0:t.publicKeyOverride;return{verify(o,a){return $s(this,null,function*(){var i;let u=As[o],l=(i=Hs[o])!=null?i:"PrimeUI",c=a==null?void 0:a.releaseDate;if(!u)return Fs("invalid",l);let f=e[o],m=e.primeui;if(f){let g=yield Ns(f,{product:u,productLabel:l,releaseDate:c,graceDays:n,publicKeyOverride:r});if(g.valid||g.status!=="wrong-product")return g}return m&&o!=="primeui"&&u.startsWith(zr)?Ns(m,{product:u,productLabel:l,releaseDate:c,graceDays:n,publicKeyOverride:r}):Fs(f?"wrong-product":"missing",l)})},has(o){let a=As[o];return!!a&&(!!e[o]||o!=="primeui"&&a.startsWith(zr)&&!!e.primeui)}}}var Wr=null;function js(e,t){if(!e)throw new Error("[@primeui/license-manager] registerLicense: keys argument is required.");return Wr=Za(e,t)}function Us(e,t){var n;if(!Wr){let r=(n=Hs[e])!=null?n:"PrimeUI";return Promise.resolve({valid:!1,status:"unconfigured",message:qr("unconfigured",r)})}return Wr.verify(e,t)}var we=K(V());var Yr={csp:{nonce:void 0},defaults:void 0,filterMatchModeOptions:{text:[xe.STARTS_WITH,xe.CONTAINS,xe.NOT_CONTAINS,xe.ENDS_WITH,xe.EQUALS,xe.NOT_EQUALS],numeric:[xe.EQUALS,xe.NOT_EQUALS,xe.LESS_THAN,xe.LESS_THAN_OR_EQUAL_TO,xe.GREATER_THAN,xe.GREATER_THAN_OR_EQUAL_TO],date:[xe.DATE_IS,xe.DATE_IS_NOT,xe.DATE_BEFORE,xe.DATE_AFTER]},inputVariant:void 0,locale:"en",pt:void 0,ptOptions:{mergeSections:!0,mergeProps:!1},ripple:!1,theme:void 0,stylesheet:void 0,unstyled:!1,zIndex:{modal:1100,overlay:1e3,menu:1e3,tooltip:1100},license:void 0};var Qa="2026-06-28",Dn=we.createContext(void 0);function Ja(e={}){var m,g;let{props:t,attrs:n}=qe(Yr,e),[r,o]=we.useState(t.inputVariant),[a,i]=we.useState(t.defaults),[u,l]=we.useState(t.zIndex);we.useEffect(()=>{t.license&&js({primeui:t.license}),Us("primeui",{releaseDate:Qa}).then(p=>{p.valid||(console.warn(`[PrimeUI] ${p.message}`),Vn())})},[]);let c=we.useMemo(()=>({inputVariant:r,setInputVariant:o,defaults:a,setDefaults:i,zIndex:u,setZIndex:l}),[r,a,u]),f=we.useMemo(()=>Z(n.children,c),[n.children,c]);return we.createElement(Dn.Provider,{value:c},we.createElement(lr,{lang:t.locale},we.createElement(dr,S({value:t.pt},t.ptOptions),we.createElement(Ar,S({preset:(m=t.theme)==null?void 0:m.preset,stylesheet:t.stylesheet},(g=t.theme)==null?void 0:g.options),f))))}var Et=K(V());function Gr(){let e=Et.useContext(Dn),t=Et.useContext(At),n=Et.useContext(Dt),r=Et.useContext(Ge);if(e===void 0)throw new Error("[PrimeReact] PrimeReactProvider not found. Wrap your application in <PrimeReactProvider> before using PrimeReact components.");return Et.useMemo(()=>({config:e,locale:t,passthrough:n,theme:r}),[e,t,n,r])}var Ve=K(V());var on=(e="UnknownBase",t)=>{var Q;let n=Gr(),{type:r,inProps:o,defaultProps:a,setup:i}=t||{},u=Vo(o==null?void 0:o.id),l=Po("pc_"),[c,f]=Ve.useMemo(()=>e.toLowerCase().split("."),[e]),m=Ve.useRef(null),g=Ve.useRef(void 0),p=Ve.useMemo(()=>({ref:m,elementRef:g,id:u,name:e,type:r,scope:c,part:kt(f),inProps:o,$attrSelector:l,$primereact:n}),[u,o,l,n,e,r]),h=(Q=n.config)==null?void 0:Q.defaults,y=Ve.useMemo(()=>{let re=Z((h==null?void 0:h[e])||(h==null?void 0:h[e.toLowerCase()]),p);return S(S({},a),re==null?void 0:re.props)},[a,h,e]),{props:v,attrs:w}=qe(y,o),T=Ve.useMemo(()=>B(S({},p),{props:v,attrs:w}),[p,v,w]),P=Z(i,T),A=Ve.useMemo(()=>{var re;return B(S(S({state:{},$computedSetup:P},P),T),{elementRef:(re=P==null?void 0:P.elementRef)!=null?re:g})},[P,T]);return Ve.useImperativeHandle(m,()=>A,[A]),A};var Bs={onDragStart:e=>{var t,n;return`Picked up ${(n=(t=e.active.data)==null?void 0:t.label)!=null?n:"item"}. Use Arrow keys to move, Space or Enter to drop, Escape to cancel.`},onDragOver:e=>{var t,n;return e.over?`Over ${(n=(t=e.over.data)==null?void 0:t.label)!=null?n:"drop zone"}.`:"Not over a drop zone."},onDragEnd:e=>{var t,n;return e.cancelled?"Drag cancelled. Item returned to original position.":e.over?`Dropped on ${(n=(t=e.over.data)==null?void 0:t.label)!=null?n:"drop zone"}.`:"Dropped."},onDragCancel:()=>"Drag cancelled. Item returned to original position.",onSortOver:e=>`Moved to position ${e.index+1} of ${e.total}${e.containerId?` in ${String(e.containerId)}`:""}.`};function Qe(){return typeof window!="undefined"&&typeof document!="undefined"}function zt(e){let t=e.getBoundingClientRect();return{x:t.x,y:t.y,width:t.width,height:t.height,top:t.top,right:t.right,bottom:t.bottom,left:t.left}}function Xr(e,t,n,r){return{x:e,y:t,width:n,height:r,top:t,right:e+n,bottom:t+r,left:e}}function Vs(e,t){return Xr(e.x-t.x,e.y-t.y,e.width,e.height)}function mt(e,t){return Math.sqrt((e.x-t.x)**2+(e.y-t.y)**2)}function He(e){return{x:e.x+e.width/2,y:e.y+e.height/2}}function Nn(e,t){return e.x>=t.left&&e.x<=t.right&&e.y>=t.top&&e.y<=t.bottom}function Zr(e){return e.width*e.height}function Ks(e,t){let n=Math.max(e.left,t.left),r=Math.max(e.top,t.top),o=Math.min(e.right,t.right)-n,a=Math.min(e.bottom,t.bottom)-r;return o>0&&a>0?o*a:0}function zs(e){if(!Qe())return null;let t=e.parentElement;for(;t&&t!==document.documentElement;){let n=getComputedStyle(t),r=(n.overflowY==="auto"||n.overflowY==="scroll")&&t.scrollHeight>t.clientHeight,o=(n.overflowX==="auto"||n.overflowX==="scroll")&&t.scrollWidth>t.clientWidth;if(r||o)return t;t=t.parentElement}return document.documentElement.scrollHeight>document.documentElement.clientHeight?document.documentElement:null}function Qr(e){return e===document.documentElement?{x:window.scrollX,y:window.scrollY}:{x:e.scrollLeft,y:e.scrollTop}}function Ws(e,t,n){e===document.documentElement?window.scrollBy(t,n):e.scrollBy(t,n)}function Jr(e,t){let n=null;return{call(){n!==null&&clearTimeout(n),n=setTimeout(()=>{n=null,e()},t)},cancel(){n!==null&&(clearTimeout(n),n=null)}}}function eu(e){let t=[];for(let n of e.droppables)if(!n.disabled&&Nn(e.position,n.rect)){let r=Zr(n.rect);r>0&&t.push({id:n.id,data:n.data,ratio:1/r})}return t.sort((n,r)=>{var o,a;return((o=r.ratio)!=null?o:0)-((a=n.ratio)!=null?a:0)}),t}function tu(e){if(!e.activeRect)return[];let t=[];for(let n of e.droppables){if(n.disabled)continue;let r=Ks(e.activeRect,n.rect);if(r>0){let o=Zr(n.rect);t.push({id:n.id,data:n.data,ratio:o>0?r/o:0})}}return t.sort((n,r)=>{var o,a;return((o=r.ratio)!=null?o:0)-((a=n.ratio)!=null?a:0)}),t}function nu(e){if(!e.activeRect)return[];let t=He(e.activeRect),n=[];for(let r of e.droppables)r.disabled||n.push({id:r.id,data:r.data,distance:mt(t,He(r.rect))});return n.sort((r,o)=>{var a,i;return((a=r.distance)!=null?a:1/0)-((i=o.distance)!=null?i:1/0)}),n}function ru(e){if(!e.activeRect)return[];let t=e.activeRect,n=[{x:t.left,y:t.top},{x:t.right,y:t.top},{x:t.left,y:t.bottom},{x:t.right,y:t.bottom}],r=[];for(let o of e.droppables){if(o.disabled)continue;let a=o.rect,i=[{x:a.left,y:a.top},{x:a.right,y:a.top},{x:a.left,y:a.bottom},{x:a.right,y:a.bottom}],u=0;for(let l=0;l<4;l++)u+=mt(n[l],i[l]);r.push({id:o.id,data:o.data,distance:u/4})}return r.sort((o,a)=>{var i,u;return((i=o.distance)!=null?i:1/0)-((u=a.distance)!=null?u:1/0)}),r}var Wt={pointerWithin:eu,rectIntersection:tu,closestCenter:nu,closestCorners:ru};var qs=.25;function Ys(e){let{position:t,items:n,direction:r,activeId:o,allowInsideDrop:a=!1}=e,i={index:0,position:"before",targetId:null,dropPosition:"before",targetRect:null};if(n.length===0)return i;let u=n.filter(v=>v.id!==o);if(u.length===0)return i;let l=0,c=1/0;for(let v=0;v<u.length;v++){let w=He(u[v].rect),T=r==="horizontal"?Math.abs(t.x-w.x):r==="vertical"?Math.abs(t.y-w.y):mt(t,w);T<c&&(c=T,l=v)}let f=u[l],m=f.rect,g=He(m),p;r==="horizontal"?p=t.x<g.x?"before":"after":r==="vertical"?p=t.y<g.y?"before":"after":p=t.y<g.y?"before":t.y>g.y?"after":t.x<g.x?"before":"after";let h;a?h=ou(t,m,r):h=p;let y=n.findIndex(v=>v.id===f.id);return{index:p==="after"?y+1:y,position:p,targetId:f.id,dropPosition:h,targetRect:m}}function ou(e,t,n){if(n==="horizontal"){let o=t.width*qs;return e.x<t.left+o?"before":e.x>t.right-o?"after":"inside"}let r=t.height*qs;return e.y<t.top+r?"before":e.y>t.bottom-r?"after":"inside"}function Gs(e){let{items:t,activeId:n,originalIndex:r,projectedIndex:o,activeRect:a,itemRects:i,direction:u}=e,l=new Map;if(!a||r===o)return l;let c=o>r;if(u==="grid")for(let f=0;f<t.length;f++){let m=t[f];if(m===n||!(c?f>r&&f<=o:f>=o&&f<r))continue;let p=c?f-1:f+1;t[p]===n&&(p=c?p-1:p+1);let h=t[p],y=i.get(m),v=h?i.get(h):null;y&&v&&l.set(m,{x:v.x-y.x,y:v.y-y.y,scaleX:1,scaleY:1})}else{let f=u==="horizontal"?a.width:0,m=u==="vertical"?a.height:0;for(let g=0;g<t.length;g++){let p=t[g];if(p===n)continue;let h=0,y=0;c?g>r&&g<=o&&(h=-f,y=-m):g>=o&&g<r&&(h=f,y=m),(h!==0||y!==0)&&l.set(p,{x:h,y,scaleX:1,scaleY:1})}}return l}function Xs(e){let{sourceItems:t,targetItems:n,activeId:r,originalIndex:o,projectedIndex:a,activeRect:i,sourceDirection:u,targetDirection:l}=e,c=new Map,f=new Map;if(!i)return{sourceTransforms:c,targetTransforms:f};let m=u==="horizontal"?i.width:0,g=u==="vertical"||u==="grid"?i.height:0;for(let y=0;y<t.length;y++)t[y]!==r&&y>o&&c.set(t[y],{x:-m,y:-g,scaleX:1,scaleY:1});let p=l==="horizontal"?i.width:0,h=l==="vertical"||l==="grid"?i.height:0;for(let y=0;y<n.length;y++)y>=a&&f.set(n[y],{x:p,y:h,scaleX:1,scaleY:1});return{sourceTransforms:c,targetTransforms:f}}function eo(e,t,n){if(t<0||t>=e.length||n<0||n>e.length)return e.slice();let r=e.slice(),[o]=r.splice(t,1);return r.splice(n,0,o),r}function to(e,t,n,r){if(n<0||n>=e.length||r<0||r>t.length)return{source:e.slice(),target:t.slice()};let o=e.slice(),[a]=o.splice(n,1),i=t.slice();return i.splice(r,0,a),{source:o,target:i}}function Zs(e){var Y;let t=!1;function n(){if(t)throw new Error("createDnd: instance has been destroyed.")}let r={operation:null,draggables:new Map,droppables:new Map,sortableContainers:new Map,collisions:[],sortable:null},o=new Set,a=!1;function i(){if(!a){a=!0;try{for(let b of o)b()}finally{a=!1}}}function u(b){let x=b(r);x!==r&&(r=x,i())}let l=new Map;function c(b,x){let E=l.get(b);if(E)for(let k of E)k(x)}let f=(Y=e==null?void 0:e.collisionDetection)!=null?Y:"pointerWithin";function m(){var b;return(b=Wt[f])!=null?b:Wt.pointerWithin}let g=null,p=(e==null?void 0:e.autoScroll)!==!1,h=typeof(e==null?void 0:e.autoScroll)=="object"?e.autoScroll:{},y=null,v={x:0,y:0},w=S(S({},Bs),e==null?void 0:e.announcements),T=new Map;function P(){if(Qe()){T.clear();for(let[b,x]of r.draggables)x.node&&T.set(b,zt(x.node));for(let[b,x]of r.droppables)x.node&&T.set(b,zt(x.node));for(let[b,x]of r.sortableContainers)x.node&&T.set(b,zt(x.node))}}function A(b,x){let E=T.get(b);return E?Vs(E,x):null}function Q(){r.operation&&(P(),v={x:0,y:0},fe(r.operation.current))}let re=Jr(Q,50),J=Jr(Q,100),te=null,$=null,O=null,I=null;function L(){if(!(!Qe()||typeof ResizeObserver=="undefined")){te=new ResizeObserver(()=>re.call());for(let[,b]of r.sortableContainers)b.node&&te.observe(b.node)}}function D(){if(!Qe())return;let b=()=>J.call();window.addEventListener("resize",b,{passive:!0}),I=()=>{window.removeEventListener("resize",b),J.cancel()}}function ne(){if(!Qe())return;if(typeof MutationObserver!="undefined"){$=new MutationObserver(()=>re.call());for(let[,E]of r.sortableContainers)E.node&&$.observe(E.node,{childList:!0})}let b=g!=null?g:window,x=()=>re.call();b.addEventListener("scroll",x,{passive:!0}),O=()=>b.removeEventListener("scroll",x)}function oe(){$==null||$.disconnect(),$=null,O==null||O(),O=null,re.cancel()}function ae(b){var q;let x=[],E=r.operation;if(!E)return x;let k=r.draggables.get(E.activeId);for(let[F,X]of r.droppables){if(X.disabled)continue;let de=A(F,b);if(!de)continue;let ge=!X.accept||(k==null?void 0:k.scope)!=null&&X.accept.includes(k.scope),Re=X.canDrop?X.canDrop(E.data):!0;ge&&Re&&x.push({id:F,rect:de,data:(q=X.data)!=null?q:{},disabled:!1})}for(let[F,X]of r.sortableContainers){if(X.disabled)continue;let de=A(F,b);if(!de)continue;(!X.accept||(k==null?void 0:k.scope)!=null&&X.accept.includes(k.scope))&&x.push({id:F,rect:de,data:{},disabled:!1})}return x}function be(b,x){if(b.length!==x.length)return!1;for(let E=0;E<b.length;E++)if(b[E].id!==x[E].id)return!1;return!0}function fe(b,x){var ge,Re;let E=r.operation;if(!E)return;let k=x!=null?x:v,q=ae(k),F=A(E.activeId,k),X=m()({position:b,activeRect:F,droppables:q});if(!be(r.collisions,X)){let ve=(ge=r.collisions[0])!=null?ge:null,ee=(Re=X[0])!=null?Re:null;u(se=>B(S({},se),{collisions:X})),(ve==null?void 0:ve.id)!==(ee==null?void 0:ee.id)&&c("dragOver",{active:{id:E.activeId,data:E.data},over:ee?{id:ee.id,data:ee.data}:null})}Ke(b,k)}let ce=null;function _e(b){if(ce){let x=r.sortableContainers.get(ce.containerId);if(x){let E=x.items.indexOf(b);if(E!==-1)return{container:x,index:E}}ce=null}for(let[,x]of r.sortableContainers){let E=x.items.indexOf(b);if(E!==-1)return ce={containerId:x.id,index:E},{container:x,index:E}}return null}function Je(b,x){if(b.size!==x.size)return!1;for(let[E,k]of b){let q=x.get(E);if(!q||k.x!==q.x||k.y!==q.y)return!1}return!0}function Ke(b,x){var z,pe,ue,s;let E=r.operation;if(!E)return;let k=_e(E.activeId);if(!k){r.sortable!==null&&u(d=>B(S({},d),{sortable:null}));return}let q=r.draggables.get(E.activeId),F=null;for(let[,d]of r.sortableContainers){let R=A(d.id,x);if(!R||!Nn(b,R))continue;if(!d.accept||(q==null?void 0:q.scope)!=null&&d.accept.includes(q.scope)||d.id===k.container.id){F=d;break}}F||(F=k.container);let X=[];for(let d of F.items){let R=A(d,x);R&&X.push({id:d,rect:R})}let de=Ys({position:b,items:X,direction:F.direction,activeId:E.activeId,allowInsideDrop:F.allowInsideDrop}),ge=de.index,Re=F.id!==k.container.id,ve;if(Re){let{sourceTransforms:d,targetTransforms:R}=Xs({sourceItems:k.container.items,targetItems:F.items,activeId:E.activeId,originalIndex:k.index,projectedIndex:ge,activeRect:A(E.activeId,x),sourceDirection:k.container.direction,targetDirection:F.direction});ve=new Map([...d,...R])}else ve=Gs({items:k.container.items,activeId:E.activeId,originalIndex:k.index,projectedIndex:ge,activeRect:A(E.activeId,x),itemRects:T,direction:k.container.direction});let ee=de.targetId!=null?{targetId:de.targetId,position:de.dropPosition,targetRect:de.targetRect}:null,se={sourceContainerId:k.container.id,currentContainerId:F.id,originalIndex:k.index,projectedIndex:ge,transforms:ve,dropIndicator:ee},he=r.sortable;(!he||he.currentContainerId!==se.currentContainerId||he.projectedIndex!==se.projectedIndex||!Je(he.transforms,se.transforms)||((z=he.dropIndicator)==null?void 0:z.targetId)!==((pe=se.dropIndicator)==null?void 0:pe.targetId)||((ue=he.dropIndicator)==null?void 0:ue.position)!==((s=se.dropIndicator)==null?void 0:s.position))&&u(d=>B(S({},d),{sortable:se}))}function et(){if(!(!p||!Qe())){if(!g){let b=r.draggables.get(r.operation.activeId);b!=null&&b.node&&(g=zs(b.node))}g&&(v={x:0,y:0},it())}}function st(){y!==null&&(cancelAnimationFrame(y),y=null),v={x:0,y:0}}function it(){var ge,Re,ve;let b=r.operation;if(!b||!g)return;let x=(ge=h.threshold)!=null?ge:50,E=(Re=h.speed)!=null?Re:15,k=(ve=h.direction)!=null?ve:"both",q=b.current,F=g===document.documentElement?Xr(0,0,window.innerWidth,window.innerHeight):zt(g),X=0,de=0;if(k!=="horizontal"){let ee=q.y-F.top,se=F.bottom-q.y;ee>=0&&ee<x?de=-E*(1-ee/x):se>=0&&se<x&&(de=E*(1-se/x))}if(k!=="vertical"){let ee=q.x-F.left,se=F.right-q.x;ee>=0&&ee<x?X=-E*(1-ee/x):se>=0&&se<x&&(X=E*(1-se/x))}if(X!==0||de!==0){let ee=Qr(g);Ws(g,X,de);let se=Qr(g),he=se.x-ee.x,z=se.y-ee.y;(he!==0||z!==0)&&(v={x:v.x+he,y:v.y+z},fe(b.current,v))}y=requestAnimationFrame(it)}function at(b,x){if(n(),r.operation)return;let E=r.draggables.get(x);if(!E||E.disabled)return;let k=S({},E.data),q;if("clientX"in b){let F=b;q={x:F.clientX,y:F.clientY}}else{let F=E.node?zt(E.node):null;q=F?He(F):{x:0,y:0}}u(F=>B(S({},F),{operation:{activeId:x,origin:q,current:S({},q),delta:{x:0,y:0},data:k},collisions:[],sortable:null})),P(),ne(),et(),c("dragStart",{active:{id:x,data:k,node:E.node},event:b}),fe(q)}function Le(b,x){var F;n();let E=r.operation;if(!E)return;let k={x:x.x-E.origin.x,y:x.y-E.origin.y};u(X=>B(S({},X),{operation:X.operation?B(S({},X.operation),{current:x,delta:k}):null})),fe(x);let q=r.draggables.get(E.activeId);c("dragMove",{active:{id:E.activeId,data:E.data,node:(F=q==null?void 0:q.node)!=null?F:null},position:x,delta:k,event:b})}function je(b){var q;n();let x=r.operation;if(!x)return;let E=(q=r.collisions[0])!=null?q:null,k=r.sortable;k&&(k.sourceContainerId!==k.currentContainerId?c("transfer",{activeId:x.activeId,from:{containerId:k.sourceContainerId,index:k.originalIndex},to:{containerId:k.currentContainerId,index:k.projectedIndex},event:b}):k.originalIndex!==k.projectedIndex&&c("sort",{containerId:k.sourceContainerId,activeId:x.activeId,fromIndex:k.originalIndex,toIndex:k.projectedIndex,event:b})),c("dragEnd",{active:{id:x.activeId,data:x.data},over:E?{id:E.id,data:E.data}:null,cancelled:!1,event:b}),gt()}function Ae(b){n();let x=r.operation;x&&(c("dragCancel",{active:{id:x.activeId,data:x.data},event:b}),c("dragEnd",{active:{id:x.activeId,data:x.data},over:null,cancelled:!0,event:b}),gt())}function gt(){st(),oe(),T.clear(),v={x:0,y:0},ce=null,g=null,u(b=>B(S({},b),{operation:null,collisions:[],sortable:null}))}let Ue=new Set;function Tt(b,x,E){var U,H;if(n(),!Qe())return()=>{};let k=(U=E==null?void 0:E.activationDistance)!=null?U:5,q=(H=E==null?void 0:E.activationDelay)!=null?H:0,F=!1,X=!1,de=null,ge=null,Re=q===0,ve=null,ee=null,se=null;function he(){F=!1,X=!1,de=null,Re=q===0,ge!==null&&(clearTimeout(ge),ge=null),ve!==null&&(cancelAnimationFrame(ve),ve=null),ee=null,se=null,document.removeEventListener("pointermove",ue),document.removeEventListener("pointerup",s),document.removeEventListener("pointercancel",d),document.removeEventListener("keydown",R),document.removeEventListener("contextmenu",C)}function z(){ee&&se&&X&&(Le(se,ee),ee=null,se=null),ve=null}function pe(N){if(N.button!==0||r.operation)return;let j=r.draggables.get(x);if(!(j!=null&&j.disabled)){F=!0,de={x:N.clientX,y:N.clientY},Re=q===0;try{b.setPointerCapture(N.pointerId)}catch(De){}q>0&&(ge=setTimeout(()=>{Re=!0,ge=null},q)),document.addEventListener("pointermove",ue),document.addEventListener("pointerup",s),document.addEventListener("pointercancel",d),document.addEventListener("keydown",R),document.addEventListener("contextmenu",C)}}function ue(N){if(!F&&!X||!de)return;let j={x:N.clientX,y:N.clientY};if(!X){let De=mt(de,j);if(!Re){De>k&&he();return}if(De<k)return;X=!0,F=!1,at(N,x);return}ee=j,se=N,ve===null&&(ve=requestAnimationFrame(z))}function s(N){X&&(ee&&Le(N,ee),je(N));try{b.releasePointerCapture(N.pointerId)}catch(j){}he()}function d(N){X&&Ae(N);try{b.releasePointerCapture(N.pointerId)}catch(j){}he()}function R(N){N.key==="Escape"&&X&&(Ae(N),he())}function C(N){(X||F)&&N.preventDefault()}b.addEventListener("pointerdown",pe);let M=()=>{he(),b.removeEventListener("pointerdown",pe),Ue.delete(M)};return Ue.add(M),M}function Ct(b,x,E){var se,he;if(n(),!Qe())return()=>{};let k=(se=E==null?void 0:E.step)!=null?se:25,q=(he=E==null?void 0:E.fastStep)!=null?he:k*5,F=!1;function X(z){let pe=r.draggables.get(x);if(!(pe!=null&&pe.disabled)){if(!F){(z.key===" "||z.key==="Enter")&&(z.preventDefault(),F=!0,at(z,x));return}switch(z.preventDefault(),z.key){case"Escape":F=!1,Ae(z);break;case"Tab":F=!1,Ae(z);break;case" ":case"Enter":F=!1,je(z);break;case"ArrowUp":case"ArrowDown":case"ArrowLeft":case"ArrowRight":if(!r.operation)break;if(r.sortable!==null)de(z);else{let ue=z.shiftKey?q:k,s=r.operation.current,d={x:s.x,y:s.y};z.key==="ArrowUp"&&(d.y-=ue),z.key==="ArrowDown"&&(d.y+=ue),z.key==="ArrowLeft"&&(d.x-=ue),z.key==="ArrowRight"&&(d.x+=ue),Le(z,d)}break;case"Home":case"End":r.sortable&&ge(z);break}}}function de(z){if(!r.operation||!r.sortable)return;let{currentContainerId:pe,projectedIndex:ue}=r.sortable,s=r.sortableContainers.get(pe);if(!s)return;let d=s.direction==="vertical"||s.direction==="grid",R=s.direction==="horizontal"||s.direction==="grid",C=ue,M=pe;if(z.key==="ArrowUp"&&d||z.key==="ArrowLeft"&&R)C>0&&C--;else if(z.key==="ArrowDown"&&d||z.key==="ArrowRight"&&R){let U=s.items.filter(H=>H!==r.operation.activeId).length;C<U&&C++}else if(z.key==="ArrowLeft"||z.key==="ArrowRight"){let U=ve(pe,z.key==="ArrowRight"?"right":"left");U&&(M=U.id,C=0)}(C!==ue||M!==pe)&&Re(M,C,z)}function ge(z){if(!r.operation||!r.sortable)return;let pe=r.sortableContainers.get(r.sortable.currentContainerId);if(!pe)return;let ue=pe.items.filter(d=>d!==r.operation.activeId),s=z.key==="Home"?ue[0]:ue[ue.length-1];if(s!=null){let d=A(s,v);d&&Le(z,He(d))}}function Re(z,pe,ue){let s=r.sortableContainers.get(z);if(!s)return;let d=s.items.filter(C=>C!==r.operation.activeId),R=d[Math.min(pe,d.length-1)];if(R!=null){let C=A(R,v);if(C){Le(ue,He(C));let M=r.draggables.get(R);M!=null&&M.node&&M.node.scrollIntoView({block:"nearest",inline:"nearest",behavior:"smooth"})}}}function ve(z,pe){let ue=A(z,v);if(!ue)return null;let s=He(ue),d=null,R=1/0;for(let[C,M]of r.sortableContainers){if(C===z)continue;let U=A(C,v);if(!U)continue;let H=He(U);if(pe==="right"&&H.x<=s.x||pe==="left"&&H.x>=s.x)continue;let N=r.draggables.get(r.operation.activeId);if(M.accept&&(N==null?void 0:N.scope)!=null&&!M.accept.includes(N.scope))continue;let j=mt(s,H);j<R&&(R=j,d=M)}return d}b.addEventListener("keydown",X);let ee=()=>{F&&(F=!1,Ae()),b.removeEventListener("keydown",X),Ue.delete(ee)};return Ue.add(ee),ee}function ht(b){return n(),u(x=>{let E=new Map(x.draggables);return E.set(b.id,b),B(S({},x),{draggables:E})}),()=>{var x;((x=r.operation)==null?void 0:x.activeId)===b.id&&Ae(),u(E=>{let k=new Map(E.draggables);return k.delete(b.id),B(S({},E),{draggables:k})})}}function Te(b){return n(),u(x=>{let E=new Map(x.droppables);return E.set(b.id,b),B(S({},x),{droppables:E})}),()=>{u(x=>{let E=new Map(x.droppables);return E.delete(b.id),B(S({},x),{droppables:E})})}}function wt(b){return n(),u(x=>{let E=new Map(x.sortableContainers);return E.set(b.id,b),B(S({},x),{sortableContainers:E})}),b.node&&te&&te.observe(b.node),()=>{b.node&&te&&te.unobserve(b.node),u(x=>{let E=new Map(x.sortableContainers);return E.delete(b.id),B(S({},x),{sortableContainers:E})})}}function qt(b,x){let E=w[b];return E?E(x):""}return Qe()&&(L(),D()),{getState:()=>r,subscribe(b){return n(),o.add(b),()=>{o.delete(b)}},registerDraggable:ht,registerDroppable:Te,registerSortableContainer:wt,startDrag:at,updateDrag:Le,endDrag:je,cancelDrag:Ae,on(b,x){n(),l.has(b)||l.set(b,new Set);let E=l.get(b),k=x;return E.add(k),()=>{E.delete(k)}},attachPointerSensor:Tt,attachKeyboardSensor:Ct,setScrollableElement(b){g=b},setCollisionDetection(b){f=b},measureRects:P,getAdjustedRect:A,getAnnouncement:qt,destroy(){if(!t){t=!0,r.operation&&(c("dragCancel",{active:{id:r.operation.activeId,data:r.operation.data}}),c("dragEnd",{active:{id:r.operation.activeId,data:r.operation.data},over:null,cancelled:!0}),st(),oe());for(let b of Ue)b();Ue.clear(),te==null||te.disconnect(),te=null,I==null||I(),I=null,re.cancel(),J.cancel(),l.clear(),o.clear(),T.clear(),r={operation:null,draggables:new Map,droppables:new Map,sortableContainers:new Map,collisions:[],sortable:null}}}}}var co=K(V());var[no,su]=pr();var cn={elementRef:void 0,visible:!1,mountOnEnter:!0,unmountOnLeave:!0,name:void 0,type:void 0,safe:!1,disabled:!1,appear:!1,enter:!0,leave:!0,duration:void 0,hideStrategy:"display",cssVarPrefix:void 0,enterFromClassName:void 0,enterToClassName:void 0,enterActiveClassName:void 0,leaveFromClassName:void 0,leaveToClassName:void 0,leaveActiveClassName:void 0,onBeforeEnter:void 0,onEnter:void 0,onAfterEnter:void 0,onEnterCancelled:void 0,onBeforeLeave:void 0,onLeave:void 0,onAfterLeave:void 0,onLeaveCancelled:void 0};var ro=B(S({},cn),{as:"div"});var Ee=K(V());var Fn=new WeakMap,au=Object.freeze({display:"none"}),uu=Object.freeze({visibility:"hidden",maxHeight:"0"});function oo(e){switch(e){case"display":return au;case"visibility":return uu;default:return}}function $n(e,t){if(!e)return;Fn.has(e)||Fn.set(e,{display:e.style.display==="none"?"":e.style.display,visibility:e.style.visibility==="hidden"?"":e.style.visibility,maxHeight:e.style.maxHeight==="0"?"":e.style.maxHeight});let n=oo(t);n&&Object.assign(e.style,n)}function so(e,t){var r,o,a;if(!e)return;let n=Fn.get(e);switch(t){case"display":e.style.display=(r=n==null?void 0:n.display)!=null?r:"";break;case"visibility":e.style.visibility=(o=n==null?void 0:n.visibility)!=null?o:"",e.style.maxHeight=(a=n==null?void 0:n.maxHeight)!=null?a:"";break}Fn.delete(e)}var lu=Object.defineProperty,Qs=Object.getOwnPropertySymbols,cu=Object.prototype.hasOwnProperty,du=Object.prototype.propertyIsEnumerable,Js=(e,t,n)=>t in e?lu(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ei=(e,t)=>{for(var n in t||(t={}))cu.call(t,n)&&Js(e,n,t[n]);if(Qs)for(var n of Qs(t))du.call(t,n)&&Js(e,n,t[n]);return e};var Hn="animation",dn="transition",fu=["data-enter-phase","data-enter-from","data-enter-to","data-enter-active","data-leave-phase","data-leave-from","data-leave-to","data-leave-active"];function ti(e){return e?e.disabled||!!(e.safe&&No()):!1}function ni(e,t){return e?ei(ei({},e),Object.entries(t).reduce((n,[r,o])=>{var a;return n[r]=(a=e[r])!=null?a:o,n},{})):t}function ri(e){let{name:t,enterClass:n,leaveClass:r}=e||{};return{enter:{from:(n==null?void 0:n.from)||`${t}-enter-from`,to:(n==null?void 0:n.to)||`${t}-enter-to`,active:(n==null?void 0:n.active)||`${t}-enter-active`},leave:{from:(r==null?void 0:r.from)||`${t}-leave-from`,to:(r==null?void 0:r.to)||`${t}-leave-to`,active:(r==null?void 0:r.active)||`${t}-leave-active`}}}function oi(e){return{enter:{onBefore:e==null?void 0:e.onBeforeEnter,onStart:e==null?void 0:e.onEnter,onAfter:e==null?void 0:e.onAfterEnter,onCancelled:e==null?void 0:e.onEnterCancelled},leave:{onBefore:e==null?void 0:e.onBeforeLeave,onStart:e==null?void 0:e.onLeave,onAfter:e==null?void 0:e.onAfterLeave,onCancelled:e==null?void 0:e.onLeaveCancelled}}}function si(e,t){let n=window.getComputedStyle(e),r=p=>{let h=n[`${p}Delay`],y=n[`${p}Duration`];return[h.split(", ").map(tr),y.split(", ").map(tr)]},[o,a]=r(dn),[i,u]=r(Hn),l=Math.max(...a.map((p,h)=>p+o[h])),c=Math.max(...u.map((p,h)=>p+i[h])),f,m=0,g=0;return t===dn?l>0&&(f=dn,m=l,g=a.length):t===Hn?c>0&&(f=Hn,m=c,g=u.length):(m=Math.max(l,c),f=m>0?l>c?dn:Hn:void 0,g=f?f===dn?a.length:u.length:0),{type:f,timeout:m,count:g}}function ii(e,t){return typeof e=="number"?e:typeof e=="object"&&e[t]!=null?e[t]:null}function St(e,t){return e?`--${e}-${t}`:`--${t}`}function fn(e,t,n){let{autoHeight:r,autoWidth:o,cssVarPrefix:a}=t,i=typeof n=="object";r&&sr(e,St(a,"height"),i?n.height:n),o&&sr(e,St(a,"width"),i?n.width:n)}function io(e,t){if(!t.autoHeight&&!t.autoWidth)return;let n=_o(e);fn(e,t,{height:(e.scrollHeight||n.height)+"px",width:(e.scrollWidth||n.width)+"px"})}function ai(e,t){e.setAttribute(`data-${t}-phase`,"")}function ao(e,t,n){e.removeAttribute("data-enter-from"),e.removeAttribute("data-enter-to"),e.removeAttribute("data-leave-from"),e.removeAttribute("data-leave-to"),e.setAttribute(`data-${t}-${n}`,""),e.setAttribute(`data-${t}-active`,"")}function uo(e){e.removeAttribute("data-enter-phase"),e.removeAttribute("data-leave-phase")}function ui(e){fu.forEach(t=>e.removeAttribute(t))}var pu=Object.freeze({}),li={name:"p",safe:!0,disabled:!1,enter:!0,leave:!0,autoHeight:!0,autoWidth:!1};function ci(e,t){if(!e)throw new Error("Element is required.");let n={},r=!1,o={},a=null,i={},u=f=>{if(Object.assign(n,ni(f,li)),!n.enter&&!n.leave)throw new Error("Enter or leave must be true.");i=oi(n),r=ti(n),o=ri(n),a=null},l=f=>Xt(null,null,function*(){a==null||a();let{onBefore:m,onStart:g,onAfter:p,onCancelled:h}=i[f]||{},y={element:e};if(ai(e,f),r){m==null||m(y),g==null||g(y),p==null||p(y),uo(e);return}let{from:v,active:w,to:T}=o[f]||{};return m==null||m(y),f==="enter"?fn(e,n,"0px"):io(e,n),yn(e,v),yn(e,w),ao(e,f,"from"),yield or(),f==="enter"?io(e,n):fn(e,n,"0px"),rr(e,v),yn(e,T),ao(e,f,"to"),g==null||g(y),new Promise(P=>{let A=ii(n.duration,f),Q=()=>{rr(e,[T,w]),a=null,ui(e),uo(e)},re=()=>{Q(),p==null||p(y),P(),f==="enter"&&fn(e,n,"auto")};a=()=>{Q(),h==null||h(y),P()},gu(e,n.type,A,re)})});u(t);let c={enter:()=>n.enter?l("enter"):Promise.resolve(),leave:()=>n.leave?l("leave"):Promise.resolve(),cancel:()=>{a==null||a(),a=null},update:(f,m)=>{if(!f)throw new Error("Element is required.");e=f,c.cancel(),u(m)}};return n.appear&&c.enter(),c}var mu=0;function gu(e,t,n,r){let o=e._motionEndId=++mu,a=()=>{o===e._motionEndId&&r()};if(n!=null)return setTimeout(a,n);let{type:i,timeout:u,count:l}=si(e,t);if(!i){r();return}let c=i+"end",f=0,m=()=>{e.removeEventListener(c,g,!0),a()},g=p=>{p.target===e&&++f>=l&&m()};e.addEventListener(c,g,{capture:!0,once:!0}),setTimeout(()=>{f<l&&m()},u+1)}var lo=un({name:"useMotion",defaultProps:cn,setup({props:e,elementRef:t}){let[n,r]=Ee.useState(()=>e.visible&&e.mountOnEnter||!e.mountOnEnter),o={rendered:n},a=Ee.useRef(void 0),i=Ee.useRef(!0),u=Ee.useCallback(()=>{var p;return(p=Ot(e.elementRef))!=null?p:t==null?void 0:t.current},[e.elementRef,t]),l=Ee.useCallback(()=>{var p;return(p=a.current)==null?void 0:p.enter()},[]),c=Ee.useCallback(()=>{var p;return(p=a.current)==null?void 0:p.leave()},[]),f=Ee.useCallback(()=>{var p;return(p=a.current)==null?void 0:p.cancel()},[]),m=Ee.useCallback((p,h={})=>{var v;if(!p)return;let y=B(S({},h),{enterClass:{from:h.enterFromClassName,to:h.enterToClassName,active:h.enterActiveClassName},leaveClass:{from:h.leaveFromClassName,to:h.leaveToClassName,active:h.leaveActiveClassName}});a.current?(v=a.current)==null||v.update(p,y):a.current=ci(p,y)},[]);Ee.useLayoutEffect(()=>()=>{let p=u();so(p,e.hideStrategy),i.current=!0},[]),Ee.useLayoutEffect(()=>{e.visible&&!n&&r(!0)},[e.visible]),Ee.useLayoutEffect(()=>{let p=u();m==null||m(p,e)},[]),Ee.useLayoutEffect(()=>{var v;let p=u();if(!p||!n){p&&!e.visible&&$n(p,e.hideStrategy),i.current=!1;return}let h=!1,y=i.current&&e.visible&&e.appear;if(so(p,e.hideStrategy),m==null||m(p,e),e.visible){if(y||!i.current)l==null||l();else if(e.cssVarPrefix){let w=St(e.cssVarPrefix,"width"),T=St(e.cssVarPrefix,"height");p.style.setProperty(w,"auto"),p.style.setProperty(T,"auto")}}else(v=c==null?void 0:c())==null||v.then(()=>{!p||h||e.visible||(e.unmountOnLeave?($n(p,e.hideStrategy),or().then(()=>{h||r(!1)})):$n(p,e.hideStrategy))});return i.current=!1,()=>{h=!0,f==null||f()}},[e.visible,n,e.unmountOnLeave,e.appear,u]);let g=Ee.useMemo(()=>{if(!e.visible&&!n){let p=St(e.cssVarPrefix,"width"),h=St(e.cssVarPrefix,"height");return{style:B(S({},oo(e.hideStrategy)),{[p]:"0px",[h]:"0px"})}}return pu},[e.visible,n,e.hideStrategy,e.cssVarPrefix]);return{state:o,enter:l,leave:c,cancel:f,update:m,rootProps:g}}});var hu=sn({name:"Motion",defaultProps:ro,setup(e){return lo(e.inProps)},render(e){let{id:t,props:n,state:r,ptmi:o,rootProps:a}=e,i=ut({id:t},o("root"),a);return co.createElement(no,{value:e},co.createElement(Nt,{pIf:r.rendered,instance:e,attrs:i,children:n.children}))}});var Pe=K(V());var yu=(e,t)=>{if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(e[n].id!==t[n].id||e[n].open!==t[n].open)return!1;return!0};function vu(){let e=new Map,t=new Set,n=[],r=[],o=()=>{let i=Array.from(e.values()),u=i.map(l=>({id:l.id,open:l.open}));return yu(r,u)&&i.length===n.length&&!i.some((c,f)=>{var m;return c.props!==((m=n[f])==null?void 0:m.props)})?!1:(n=i,r=u,!0)},a=()=>{o()&&t.forEach(i=>i())};return{subscribe(i){return t.add(i),()=>{t.delete(i)}},getSnapshot(){return n},open(i,u){e.set(i,{id:i,props:u,open:!0}),a()},close(i){if(i===void 0){let l=!1;e.forEach((c,f)=>{c.open&&(e.set(f,B(S({},c),{open:!1})),l=!0)}),l&&a();return}let u=e.get(i);u!=null&&u.open&&(e.set(i,B(S({},u),{open:!1})),a())},remove(i){e.delete(i)&&a()},removeAll(){e.size!==0&&(e.clear(),a())},update(i,u){let l=e.get(i);l&&(e.set(i,B(S({},l),{props:S(S({},l.props),u)})),a())},getItem(i){return e.get(i)},isOpen(i){var u,l;return(l=(u=e.get(i))==null?void 0:u.open)!=null?l:!1},isAnyOpen(){for(let i of e.values())if(i.open)return!0;return!1}}}function bu({item:e,store:t,render:n,defaults:r}){let[o,a]=Pe.useState(!1);Pe.useEffect(()=>{a(!0)},[]);let i=Pe.useCallback(l=>{l.value||t.close(e.id)},[e.id,t]),u=Pe.useCallback(()=>{t.remove(e.id)},[e.id,t]);return Pe.createElement(Pe.Fragment,null,n.current(B(S(S({},r.current),e.props),{overlayId:e.id,open:o?e.open:!1,onOpenChange:i,onExitComplete:u})))}var Ru=(e,t,n)=>{let r=()=>{let o=Pe.useSyncExternalStore(e.subscribe,e.getSnapshot,e.getSnapshot);return Pe.createElement(Pe.Fragment,null,o.map(a=>Pe.createElement(bu,{key:a.id,item:a,store:e,render:t,defaults:n})))};return r.displayName="OverlayManagerRender",r},xu=["open","onOpenChange","onExitComplete","overlayId"];function Eu(e){let t=S({},e);for(let n of xu)delete t[n];return t}function Su(e,t={}){let n=vu(),r={current:e},o={current:t.props},a=Ru(n,r,o);return{open:n.open,close:n.close,remove:n.remove,removeAll:n.removeAll,update:(i,u)=>n.update(i,Eu(u)),isOpen:n.isOpen,isAnyOpen:n.isAnyOpen,get:i=>{var u;return(u=n.getItem(i))==null?void 0:u.props},getSnapshot:n.getSnapshot,setRender:i=>{r.current=i},Viewport:a}}var di=K(V());var fo=class extends cs{constructor({attrs:t}={}){super({attrs:t}),this._styles.set("layer-order",{})}has(t){var n;return t==="layer-order"?((n=this._styles.get(t))==null?void 0:n.css)!==void 0:this._styles.has(t)}createStyleElement(t={}){let{css:n,attrs:r,name:o}=t;if(!ze(o))return di.createElement("style",B(S({},r),{"data-primereact-style-id":o,key:o}),n)}};return xi(Tu);})();
222
14
  /*! Bundled license information:
223
15
 
224
16
  react/cjs/react.production.js:
@@ -242,5 +34,8 @@ react/cjs/react.development.js:
242
34
  * This source code is licensed under the MIT license found in the
243
35
  * LICENSE file in the root directory of this source tree.
244
36
  *)
37
+
38
+ @noble/ed25519/index.js:
39
+ (*! noble-ed25519 - MIT License (c) 2019 Paul Miller (paulmillr.com) *)
245
40
  */
246
41
  //# sourceMappingURL=index.js.map