@moontra/moonui-pro 2.32.8 → 2.32.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.global.js +1 -1
- package/dist/index.global.js.map +1 -1
- package/dist/index.mjs +34 -1
- package/package.json +1 -2
package/dist/index.global.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* @license Commercial - https://moonui.dev/license
|
|
6
6
|
* IMPORTANT: Valid license required for production use
|
|
7
7
|
*/
|
|
8
|
-
"use strict";var MoonUIPro=(()=>{var Cnt=Object.create;var eB=Object.defineProperty;var Snt=Object.getOwnPropertyDescriptor;var Pnt=Object.getOwnPropertyNames;var Int=Object.getPrototypeOf,knt=Object.prototype.hasOwnProperty;var Efe=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof require<"u"?require:t)[r]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw new Error('Dynamic require of "'+e+'" is not supported')});var Dfe=(e,t)=>()=>(e&&(t=e(e=0)),t);var de=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),iT=(e,t)=>{for(var r in t)eB(e,r,{get:t[r],enumerable:!0})},Ofe=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of Pnt(t))!knt.call(e,o)&&o!==r&&eB(e,o,{get:()=>t[o],enumerable:!(n=Snt(t,o))||n.enumerable});return e};var E=(e,t,r)=>(r=e!=null?Cnt(Int(e)):{},Ofe(t||!e||!e.__esModule?eB(r,"default",{value:e,enumerable:!0}):r,e)),_fe=e=>Ofe(eB({},"__esModule",{value:!0}),e);var Ffe=(e,t,r)=>{if(!t.has(e))throw TypeError("Cannot "+r)};var co=(e,t,r)=>(Ffe(e,t,"read from private field"),r?r.call(e):t.get(e)),tB=(e,t,r)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,r)},tP=(e,t,r,n)=>(Ffe(e,t,"write to private field"),n?n.call(e,r):t.set(e,r),r);var ope=de(_n=>{"use strict";var pT=Symbol.for("react.element"),oot=Symbol.for("react.portal"),aot=Symbol.for("react.fragment"),iot=Symbol.for("react.strict_mode"),sot=Symbol.for("react.profiler"),lot=Symbol.for("react.provider"),cot=Symbol.for("react.context"),uot=Symbol.for("react.forward_ref"),dot=Symbol.for("react.suspense"),fot=Symbol.for("react.memo"),pot=Symbol.for("react.lazy"),Gfe=Symbol.iterator;function mot(e){return e===null||typeof e!="object"?null:(e=Gfe&&e[Gfe]||e["@@iterator"],typeof e=="function"?e:null)}var Yfe={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Qfe=Object.assign,Zfe={};function aP(e,t,r){this.props=e,this.context=t,this.refs=Zfe,this.updater=r||Yfe}aP.prototype.isReactComponent={};aP.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): 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")};aP.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Jfe(){}Jfe.prototype=aP.prototype;function Y8(e,t,r){this.props=e,this.context=t,this.refs=Zfe,this.updater=r||Yfe}var Q8=Y8.prototype=new Jfe;Q8.constructor=Y8;Qfe(Q8,aP.prototype);Q8.isPureReactComponent=!0;var Kfe=Array.isArray,epe=Object.prototype.hasOwnProperty,Z8={current:null},tpe={key:!0,ref:!0,__self:!0,__source:!0};function rpe(e,t,r){var n,o={},a=null,i=null;if(t!=null)for(n in t.ref!==void 0&&(i=t.ref),t.key!==void 0&&(a=""+t.key),t)epe.call(t,n)&&!tpe.hasOwnProperty(n)&&(o[n]=t[n]);var s=arguments.length-2;if(s===1)o.children=r;else if(1<s){for(var l=Array(s),c=0;c<s;c++)l[c]=arguments[c+2];o.children=l}if(e&&e.defaultProps)for(n in s=e.defaultProps,s)o[n]===void 0&&(o[n]=s[n]);return{$$typeof:pT,type:e,key:a,ref:i,props:o,_owner:Z8.current}}function hot(e,t){return{$$typeof:pT,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function J8(e){return typeof e=="object"&&e!==null&&e.$$typeof===pT}function got(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(r){return t[r]})}var Xfe=/\/+/g;function X8(e,t){return typeof e=="object"&&e!==null&&e.key!=null?got(""+e.key):t.toString(36)}function nB(e,t,r,n,o){var a=typeof e;(a==="undefined"||a==="boolean")&&(e=null);var i=!1;if(e===null)i=!0;else switch(a){case"string":case"number":i=!0;break;case"object":switch(e.$$typeof){case pT:case oot:i=!0}}if(i)return i=e,o=o(i),e=n===""?"."+X8(i,0):n,Kfe(o)?(r="",e!=null&&(r=e.replace(Xfe,"$&/")+"/"),nB(o,t,r,"",function(c){return c})):o!=null&&(J8(o)&&(o=hot(o,r+(!o.key||i&&i.key===o.key?"":(""+o.key).replace(Xfe,"$&/")+"/")+e)),t.push(o)),1;if(i=0,n=n===""?".":n+":",Kfe(e))for(var s=0;s<e.length;s++){a=e[s];var l=n+X8(a,s);i+=nB(a,t,r,l,o)}else if(l=mot(e),typeof l=="function")for(e=l.call(e),s=0;!(a=e.next()).done;)a=a.value,l=n+X8(a,s++),i+=nB(a,t,r,l,o);else if(a==="object")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 rB(e,t,r){if(e==null)return e;var n=[],o=0;return nB(e,n,"","",function(a){return t.call(r,a,o++)}),n}function vot(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(r){(e._status===0||e._status===-1)&&(e._status=1,e._result=r)},function(r){(e._status===0||e._status===-1)&&(e._status=2,e._result=r)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var Xc={current:null},oB={transition:null},yot={ReactCurrentDispatcher:Xc,ReactCurrentBatchConfig:oB,ReactCurrentOwner:Z8};function npe(){throw Error("act(...) is not supported in production builds of React.")}_n.Children={map:rB,forEach:function(e,t,r){rB(e,function(){t.apply(this,arguments)},r)},count:function(e){var t=0;return rB(e,function(){t++}),t},toArray:function(e){return rB(e,function(t){return t})||[]},only:function(e){if(!J8(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};_n.Component=aP;_n.Fragment=aot;_n.Profiler=sot;_n.PureComponent=Y8;_n.StrictMode=iot;_n.Suspense=dot;_n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=yot;_n.act=npe;_n.cloneElement=function(e,t,r){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var n=Qfe({},e.props),o=e.key,a=e.ref,i=e._owner;if(t!=null){if(t.ref!==void 0&&(a=t.ref,i=Z8.current),t.key!==void 0&&(o=""+t.key),e.type&&e.type.defaultProps)var s=e.type.defaultProps;for(l in t)epe.call(t,l)&&!tpe.hasOwnProperty(l)&&(n[l]=t[l]===void 0&&s!==void 0?s[l]:t[l])}var l=arguments.length-2;if(l===1)n.children=r;else if(1<l){s=Array(l);for(var c=0;c<l;c++)s[c]=arguments[c+2];n.children=s}return{$$typeof:pT,type:e.type,key:o,ref:a,props:n,_owner:i}};_n.createContext=function(e){return e={$$typeof:cot,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:lot,_context:e},e.Consumer=e};_n.createElement=rpe;_n.createFactory=function(e){var t=rpe.bind(null,e);return t.type=e,t};_n.createRef=function(){return{current:null}};_n.forwardRef=function(e){return{$$typeof:uot,render:e}};_n.isValidElement=J8;_n.lazy=function(e){return{$$typeof:pot,_payload:{_status:-1,_result:e},_init:vot}};_n.memo=function(e,t){return{$$typeof:fot,type:e,compare:t===void 0?null:t}};_n.startTransition=function(e){var t=oB.transition;oB.transition={};try{e()}finally{oB.transition=t}};_n.unstable_act=npe;_n.useCallback=function(e,t){return Xc.current.useCallback(e,t)};_n.useContext=function(e){return Xc.current.useContext(e)};_n.useDebugValue=function(){};_n.useDeferredValue=function(e){return Xc.current.useDeferredValue(e)};_n.useEffect=function(e,t){return Xc.current.useEffect(e,t)};_n.useId=function(){return Xc.current.useId()};_n.useImperativeHandle=function(e,t,r){return Xc.current.useImperativeHandle(e,t,r)};_n.useInsertionEffect=function(e,t){return Xc.current.useInsertionEffect(e,t)};_n.useLayoutEffect=function(e,t){return Xc.current.useLayoutEffect(e,t)};_n.useMemo=function(e,t){return Xc.current.useMemo(e,t)};_n.useReducer=function(e,t,r){return Xc.current.useReducer(e,t,r)};_n.useRef=function(e){return Xc.current.useRef(e)};_n.useState=function(e){return Xc.current.useState(e)};_n.useSyncExternalStore=function(e,t,r){return Xc.current.useSyncExternalStore(e,t,r)};_n.useTransition=function(){return Xc.current.useTransition()};_n.version="18.3.1"});var ce=de((adr,ape)=>{"use strict";ape.exports=ope()});var lpe={};iT(lpe,{clearCache:()=>lB,forceRefresh:()=>mT,useSubscription:()=>ct});function xot(){aB.forEach(e=>e())}function Sw(e){e9={...e9,...e},xot()}async function bot(){{let r=process.env.NEXT_PUBLIC_MOONUI_AUTH_TOKEN||process.env.NEXT_PUBLIC_MOONUI_LICENSE_KEY;if(r&&r.trim()!=="")return r;if(typeof window<"u"){let n=localStorage.getItem("moonui_auth_token");if(n)return n}return null}return process.env.NEXT_PUBLIC_MOONUI_AUTH_TOKEN||process.env.NEXT_PUBLIC_MOONUI_LICENSE_KEY||null}async function iB(){let e=await bot();if(!e){typeof window<"u"&&localStorage.removeItem(wx),Sw({hasProAccess:!1,isAuthenticated:!1,isLoading:!1});return}try{let t=await fetch("https://moonui.dev/api/auth/validate",{headers:{Authorization:`Bearer ${e}`}});if(t.ok){let r=await t.json(),n={valid:r.valid,hasLifetimeAccess:r.user?.hasLifetimeAccess||!1,timestamp:Date.now(),cacheUntil:r.cacheUntil?new Date(r.cacheUntil).getTime():void 0};typeof window<"u"&&localStorage.setItem(wx,JSON.stringify(n));let o=r.valid&&(r.user?.hasLifetimeAccess||r.user?.features?.includes("pro_components"));Sw({hasProAccess:o,isAuthenticated:r.valid,subscriptionPlan:o?"lifetime":"free",subscription:{status:o?"active":"inactive",plan:o?"lifetime":"free"},isLoading:!1})}else typeof window<"u"&&localStorage.removeItem(wx),Sw({hasProAccess:!1,isAuthenticated:!1,isLoading:!1})}catch{Sw({hasProAccess:!1,isAuthenticated:!1,isLoading:!1})}}async function spe(){if(!t9){if(t9=!0,typeof window<"u"){let e=localStorage.getItem(wx);if(e){let t=JSON.parse(e);if(Date.now()-t.timestamp<ipe){Sw({hasProAccess:t.valid&&t.hasLifetimeAccess,isAuthenticated:t.valid,subscriptionPlan:t.valid&&t.hasLifetimeAccess?"lifetime":"free",subscription:{status:t.valid&&t.hasLifetimeAccess?"active":"inactive",plan:t.valid&&t.hasLifetimeAccess?"lifetime":"free"},isLoading:!1});return}}}await iB()}}async function mT(){typeof window<"u"&&(localStorage.removeItem(wx),console.log("[MoonUI Pro] Cache cleared, forcing refresh...")),t9=!1,Sw({isLoading:!0,hasProAccess:!1,isAuthenticated:!1}),await spe()}function lB(){typeof window<"u"&&(localStorage.removeItem(wx),localStorage.removeItem("moonui_auth_token"),console.log("[MoonUI Pro] Auth cache cleared"))}function ct(){let[,e]=(0,sB.useState)({});return(0,sB.useEffect)(()=>{spe();let t=()=>e({});aB.push(t);let r=async()=>{if(typeof window<"u"){let o=localStorage.getItem(wx);if(o){let a=JSON.parse(o);Date.now()-a.timestamp>ipe&&(console.log("[MoonUI Pro] Cache expired on focus, revalidating..."),await iB())}else console.log("[MoonUI Pro] No cache on focus, validating..."),await iB()}},n=async o=>{(o.key==="moonui_auth_token"||o.key===wx)&&(console.log("[MoonUI Pro] Auth storage changed, revalidating..."),o.newValue?await mT():Sw({hasProAccess:!1,isAuthenticated:!1,isLoading:!1}))};return window.addEventListener("focus",r),window.addEventListener("storage",n),()=>{let o=aB.indexOf(t);o>-1&&aB.splice(o,1),window.removeEventListener("focus",r),window.removeEventListener("storage",n)}},[]),{...e9,checkAccess:iB,forceRefresh:mT,clearCache:lB}}var sB,e9,t9,aB,wx,ipe,idr,_r=Dfe(()=>{"use strict";sB=E(ce(),1),e9={isLoading:!0,hasProAccess:!1,isAuthenticated:!1,subscriptionPlan:"free",subscription:{status:"inactive",plan:"free"},isAdmin:!1},t9=!1,aB=[],wx="moonui_license_cache",ipe=2*60*60*1e3,idr=4*60*60*1e3});var upe=de(uB=>{"use strict";var wot=ce(),Cot=Symbol.for("react.element"),Sot=Symbol.for("react.fragment"),Pot=Object.prototype.hasOwnProperty,Iot=wot.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,kot={key:!0,ref:!0,__self:!0,__source:!0};function cpe(e,t,r){var n,o={},a=null,i=null;r!==void 0&&(a=""+r),t.key!==void 0&&(a=""+t.key),t.ref!==void 0&&(i=t.ref);for(n in t)Pot.call(t,n)&&!kot.hasOwnProperty(n)&&(o[n]=t[n]);if(e&&e.defaultProps)for(n in t=e.defaultProps,t)o[n]===void 0&&(o[n]=t[n]);return{$$typeof:Cot,type:e,key:a,ref:i,props:o,_owner:Iot.current}}uB.Fragment=Sot;uB.jsx=cpe;uB.jsxs=cpe});var ue=de((cdr,dpe)=>{"use strict";dpe.exports=upe()});var Mpe=de(ha=>{"use strict";function c9(e,t){var r=e.length;e.push(t);e:for(;0<r;){var n=r-1>>>1,o=e[n];if(0<pB(o,t))e[n]=t,e[r]=o,r=n;else break e}}function lm(e){return e.length===0?null:e[0]}function hB(e){if(e.length===0)return null;var t=e[0],r=e.pop();if(r!==t){e[0]=r;e:for(var n=0,o=e.length,a=o>>>1;n<a;){var i=2*(n+1)-1,s=e[i],l=i+1,c=e[l];if(0>pB(s,r))l<o&&0>pB(c,s)?(e[n]=c,e[l]=r,n=l):(e[n]=s,e[i]=r,n=i);else if(l<o&&0>pB(c,r))e[n]=c,e[l]=r,n=l;else break e}}return t}function pB(e,t){var r=e.sortIndex-t.sortIndex;return r!==0?r:e.id-t.id}typeof performance=="object"&&typeof performance.now=="function"?(bpe=performance,ha.unstable_now=function(){return bpe.now()}):(i9=Date,wpe=i9.now(),ha.unstable_now=function(){return i9.now()-wpe});var bpe,i9,wpe,Sh=[],Sx=[],Bot=1,Hf=null,hc=3,gB=!1,Pw=!1,gT=!1,Ppe=typeof setTimeout=="function"?setTimeout:null,Ipe=typeof clearTimeout=="function"?clearTimeout:null,Cpe=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function u9(e){for(var t=lm(Sx);t!==null;){if(t.callback===null)hB(Sx);else if(t.startTime<=e)hB(Sx),t.sortIndex=t.expirationTime,c9(Sh,t);else break;t=lm(Sx)}}function d9(e){if(gT=!1,u9(e),!Pw)if(lm(Sh)!==null)Pw=!0,p9(f9);else{var t=lm(Sx);t!==null&&m9(d9,t.startTime-e)}}function f9(e,t){Pw=!1,gT&&(gT=!1,Ipe(vT),vT=-1),gB=!0;var r=hc;try{for(u9(t),Hf=lm(Sh);Hf!==null&&(!(Hf.expirationTime>t)||e&&!Npe());){var n=Hf.callback;if(typeof n=="function"){Hf.callback=null,hc=Hf.priorityLevel;var o=n(Hf.expirationTime<=t);t=ha.unstable_now(),typeof o=="function"?Hf.callback=o:Hf===lm(Sh)&&hB(Sh),u9(t)}else hB(Sh);Hf=lm(Sh)}if(Hf!==null)var a=!0;else{var i=lm(Sx);i!==null&&m9(d9,i.startTime-t),a=!1}return a}finally{Hf=null,hc=r,gB=!1}}var vB=!1,mB=null,vT=-1,kpe=5,Rpe=-1;function Npe(){return!(ha.unstable_now()-Rpe<kpe)}function s9(){if(mB!==null){var e=ha.unstable_now();Rpe=e;var t=!0;try{t=mB(!0,e)}finally{t?hT():(vB=!1,mB=null)}}else vB=!1}var hT;typeof Cpe=="function"?hT=function(){Cpe(s9)}:typeof MessageChannel<"u"?(l9=new MessageChannel,Spe=l9.port2,l9.port1.onmessage=s9,hT=function(){Spe.postMessage(null)}):hT=function(){Ppe(s9,0)};var l9,Spe;function p9(e){mB=e,vB||(vB=!0,hT())}function m9(e,t){vT=Ppe(function(){e(ha.unstable_now())},t)}ha.unstable_IdlePriority=5;ha.unstable_ImmediatePriority=1;ha.unstable_LowPriority=4;ha.unstable_NormalPriority=3;ha.unstable_Profiling=null;ha.unstable_UserBlockingPriority=2;ha.unstable_cancelCallback=function(e){e.callback=null};ha.unstable_continueExecution=function(){Pw||gB||(Pw=!0,p9(f9))};ha.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):kpe=0<e?Math.floor(1e3/e):5};ha.unstable_getCurrentPriorityLevel=function(){return hc};ha.unstable_getFirstCallbackNode=function(){return lm(Sh)};ha.unstable_next=function(e){switch(hc){case 1:case 2:case 3:var t=3;break;default:t=hc}var r=hc;hc=t;try{return e()}finally{hc=r}};ha.unstable_pauseExecution=function(){};ha.unstable_requestPaint=function(){};ha.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var r=hc;hc=e;try{return t()}finally{hc=r}};ha.unstable_scheduleCallback=function(e,t,r){var n=ha.unstable_now();switch(typeof r=="object"&&r!==null?(r=r.delay,r=typeof r=="number"&&0<r?n+r:n):r=n,e){case 1:var o=-1;break;case 2:o=250;break;case 5:o=1073741823;break;case 4:o=1e4;break;default:o=5e3}return o=r+o,e={id:Bot++,callback:t,priorityLevel:e,startTime:r,expirationTime:o,sortIndex:-1},r>n?(e.sortIndex=r,c9(Sx,e),lm(Sh)===null&&e===lm(Sx)&&(gT?(Ipe(vT),vT=-1):gT=!0,m9(d9,r-n))):(e.sortIndex=o,c9(Sh,e),Pw||gB||(Pw=!0,p9(f9))),e};ha.unstable_shouldYield=Npe;ha.unstable_wrapCallback=function(e){var t=hc;return function(){var r=hc;hc=t;try{return e.apply(this,arguments)}finally{hc=r}}}});var Ape=de((kdr,Tpe)=>{"use strict";Tpe.exports=Mpe()});var Oge=de(Kd=>{"use strict";var Vot=ce(),Wd=Ape();function dt(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r<arguments.length;r++)t+="&args[]="+encodeURIComponent(arguments[r]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var Bme=new Set,VT={};function Fw(e,t){RP(e,t),RP(e+"Capture",t)}function RP(e,t){for(VT[e]=t,e=0;e<t.length;e++)Bme.add(t[e])}var bv=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),F9=Object.prototype.hasOwnProperty,Uot=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,Lpe={},Epe={};function zot(e){return F9.call(Epe,e)?!0:F9.call(Lpe,e)?!1:Uot.test(e)?Epe[e]=!0:(Lpe[e]=!0,!1)}function Hot(e,t,r,n){if(r!==null&&r.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return n?!1:r!==null?!r.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function jot(e,t,r,n){if(t===null||typeof t>"u"||Hot(e,t,r,n))return!0;if(n)return!1;if(r!==null)switch(r.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function Zc(e,t,r,n,o,a,i){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=n,this.attributeNamespace=o,this.mustUseProperty=r,this.propertyName=e,this.type=t,this.sanitizeURL=a,this.removeEmptyString=i}var $l={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){$l[e]=new Zc(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];$l[t]=new Zc(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){$l[e]=new Zc(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){$l[e]=new Zc(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){$l[e]=new Zc(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){$l[e]=new Zc(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){$l[e]=new Zc(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){$l[e]=new Zc(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){$l[e]=new Zc(e,5,!1,e.toLowerCase(),null,!1,!1)});var MK=/[\-:]([a-z])/g;function TK(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(MK,TK);$l[t]=new Zc(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(MK,TK);$l[t]=new Zc(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(MK,TK);$l[t]=new Zc(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){$l[e]=new Zc(e,1,!1,e.toLowerCase(),null,!1,!1)});$l.xlinkHref=new Zc("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){$l[e]=new Zc(e,1,!1,e.toLowerCase(),null,!0,!0)});function AK(e,t,r,n){var o=$l.hasOwnProperty(t)?$l[t]:null;(o!==null?o.type!==0:n||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(jot(t,r,o,n)&&(r=null),n||o===null?zot(t)&&(r===null?e.removeAttribute(t):e.setAttribute(t,""+r)):o.mustUseProperty?e[o.propertyName]=r===null?o.type===3?!1:"":r:(t=o.attributeName,n=o.attributeNamespace,r===null?e.removeAttribute(t):(o=o.type,r=o===3||o===4&&r===!0?"":""+r,n?e.setAttributeNS(n,t,r):e.setAttribute(t,r))))}var Pv=Vot.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,yB=Symbol.for("react.element"),cP=Symbol.for("react.portal"),uP=Symbol.for("react.fragment"),LK=Symbol.for("react.strict_mode"),B9=Symbol.for("react.profiler"),Vme=Symbol.for("react.provider"),Ume=Symbol.for("react.context"),EK=Symbol.for("react.forward_ref"),V9=Symbol.for("react.suspense"),U9=Symbol.for("react.suspense_list"),DK=Symbol.for("react.memo"),Ix=Symbol.for("react.lazy");Symbol.for("react.scope");Symbol.for("react.debug_trace_mode");var zme=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden");Symbol.for("react.cache");Symbol.for("react.tracing_marker");var Dpe=Symbol.iterator;function yT(e){return e===null||typeof e!="object"?null:(e=Dpe&&e[Dpe]||e["@@iterator"],typeof e=="function"?e:null)}var bi=Object.assign,h9;function kT(e){if(h9===void 0)try{throw Error()}catch(r){var t=r.stack.trim().match(/\n( *(at )?)/);h9=t&&t[1]||""}return`
|
|
8
|
+
"use strict";var MoonUIPro=(()=>{var Cnt=Object.create;var eB=Object.defineProperty;var Snt=Object.getOwnPropertyDescriptor;var Pnt=Object.getOwnPropertyNames;var Int=Object.getPrototypeOf,knt=Object.prototype.hasOwnProperty;var Efe=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof require<"u"?require:t)[r]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw new Error('Dynamic require of "'+e+'" is not supported')});var Dfe=(e,t)=>()=>(e&&(t=e(e=0)),t);var de=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),iT=(e,t)=>{for(var r in t)eB(e,r,{get:t[r],enumerable:!0})},Ofe=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of Pnt(t))!knt.call(e,o)&&o!==r&&eB(e,o,{get:()=>t[o],enumerable:!(n=Snt(t,o))||n.enumerable});return e};var E=(e,t,r)=>(r=e!=null?Cnt(Int(e)):{},Ofe(t||!e||!e.__esModule?eB(r,"default",{value:e,enumerable:!0}):r,e)),_fe=e=>Ofe(eB({},"__esModule",{value:!0}),e);var Ffe=(e,t,r)=>{if(!t.has(e))throw TypeError("Cannot "+r)};var co=(e,t,r)=>(Ffe(e,t,"read from private field"),r?r.call(e):t.get(e)),tB=(e,t,r)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,r)},tP=(e,t,r,n)=>(Ffe(e,t,"write to private field"),n?n.call(e,r):t.set(e,r),r);var ope=de(_n=>{"use strict";var pT=Symbol.for("react.element"),oot=Symbol.for("react.portal"),aot=Symbol.for("react.fragment"),iot=Symbol.for("react.strict_mode"),sot=Symbol.for("react.profiler"),lot=Symbol.for("react.provider"),cot=Symbol.for("react.context"),uot=Symbol.for("react.forward_ref"),dot=Symbol.for("react.suspense"),fot=Symbol.for("react.memo"),pot=Symbol.for("react.lazy"),Gfe=Symbol.iterator;function mot(e){return e===null||typeof e!="object"?null:(e=Gfe&&e[Gfe]||e["@@iterator"],typeof e=="function"?e:null)}var Yfe={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Qfe=Object.assign,Zfe={};function aP(e,t,r){this.props=e,this.context=t,this.refs=Zfe,this.updater=r||Yfe}aP.prototype.isReactComponent={};aP.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): 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")};aP.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Jfe(){}Jfe.prototype=aP.prototype;function Y8(e,t,r){this.props=e,this.context=t,this.refs=Zfe,this.updater=r||Yfe}var Q8=Y8.prototype=new Jfe;Q8.constructor=Y8;Qfe(Q8,aP.prototype);Q8.isPureReactComponent=!0;var Kfe=Array.isArray,epe=Object.prototype.hasOwnProperty,Z8={current:null},tpe={key:!0,ref:!0,__self:!0,__source:!0};function rpe(e,t,r){var n,o={},a=null,i=null;if(t!=null)for(n in t.ref!==void 0&&(i=t.ref),t.key!==void 0&&(a=""+t.key),t)epe.call(t,n)&&!tpe.hasOwnProperty(n)&&(o[n]=t[n]);var s=arguments.length-2;if(s===1)o.children=r;else if(1<s){for(var l=Array(s),c=0;c<s;c++)l[c]=arguments[c+2];o.children=l}if(e&&e.defaultProps)for(n in s=e.defaultProps,s)o[n]===void 0&&(o[n]=s[n]);return{$$typeof:pT,type:e,key:a,ref:i,props:o,_owner:Z8.current}}function hot(e,t){return{$$typeof:pT,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function J8(e){return typeof e=="object"&&e!==null&&e.$$typeof===pT}function got(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(r){return t[r]})}var Xfe=/\/+/g;function X8(e,t){return typeof e=="object"&&e!==null&&e.key!=null?got(""+e.key):t.toString(36)}function nB(e,t,r,n,o){var a=typeof e;(a==="undefined"||a==="boolean")&&(e=null);var i=!1;if(e===null)i=!0;else switch(a){case"string":case"number":i=!0;break;case"object":switch(e.$$typeof){case pT:case oot:i=!0}}if(i)return i=e,o=o(i),e=n===""?"."+X8(i,0):n,Kfe(o)?(r="",e!=null&&(r=e.replace(Xfe,"$&/")+"/"),nB(o,t,r,"",function(c){return c})):o!=null&&(J8(o)&&(o=hot(o,r+(!o.key||i&&i.key===o.key?"":(""+o.key).replace(Xfe,"$&/")+"/")+e)),t.push(o)),1;if(i=0,n=n===""?".":n+":",Kfe(e))for(var s=0;s<e.length;s++){a=e[s];var l=n+X8(a,s);i+=nB(a,t,r,l,o)}else if(l=mot(e),typeof l=="function")for(e=l.call(e),s=0;!(a=e.next()).done;)a=a.value,l=n+X8(a,s++),i+=nB(a,t,r,l,o);else if(a==="object")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 rB(e,t,r){if(e==null)return e;var n=[],o=0;return nB(e,n,"","",function(a){return t.call(r,a,o++)}),n}function vot(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(r){(e._status===0||e._status===-1)&&(e._status=1,e._result=r)},function(r){(e._status===0||e._status===-1)&&(e._status=2,e._result=r)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var Xc={current:null},oB={transition:null},yot={ReactCurrentDispatcher:Xc,ReactCurrentBatchConfig:oB,ReactCurrentOwner:Z8};function npe(){throw Error("act(...) is not supported in production builds of React.")}_n.Children={map:rB,forEach:function(e,t,r){rB(e,function(){t.apply(this,arguments)},r)},count:function(e){var t=0;return rB(e,function(){t++}),t},toArray:function(e){return rB(e,function(t){return t})||[]},only:function(e){if(!J8(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};_n.Component=aP;_n.Fragment=aot;_n.Profiler=sot;_n.PureComponent=Y8;_n.StrictMode=iot;_n.Suspense=dot;_n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=yot;_n.act=npe;_n.cloneElement=function(e,t,r){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var n=Qfe({},e.props),o=e.key,a=e.ref,i=e._owner;if(t!=null){if(t.ref!==void 0&&(a=t.ref,i=Z8.current),t.key!==void 0&&(o=""+t.key),e.type&&e.type.defaultProps)var s=e.type.defaultProps;for(l in t)epe.call(t,l)&&!tpe.hasOwnProperty(l)&&(n[l]=t[l]===void 0&&s!==void 0?s[l]:t[l])}var l=arguments.length-2;if(l===1)n.children=r;else if(1<l){s=Array(l);for(var c=0;c<l;c++)s[c]=arguments[c+2];n.children=s}return{$$typeof:pT,type:e.type,key:o,ref:a,props:n,_owner:i}};_n.createContext=function(e){return e={$$typeof:cot,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:lot,_context:e},e.Consumer=e};_n.createElement=rpe;_n.createFactory=function(e){var t=rpe.bind(null,e);return t.type=e,t};_n.createRef=function(){return{current:null}};_n.forwardRef=function(e){return{$$typeof:uot,render:e}};_n.isValidElement=J8;_n.lazy=function(e){return{$$typeof:pot,_payload:{_status:-1,_result:e},_init:vot}};_n.memo=function(e,t){return{$$typeof:fot,type:e,compare:t===void 0?null:t}};_n.startTransition=function(e){var t=oB.transition;oB.transition={};try{e()}finally{oB.transition=t}};_n.unstable_act=npe;_n.useCallback=function(e,t){return Xc.current.useCallback(e,t)};_n.useContext=function(e){return Xc.current.useContext(e)};_n.useDebugValue=function(){};_n.useDeferredValue=function(e){return Xc.current.useDeferredValue(e)};_n.useEffect=function(e,t){return Xc.current.useEffect(e,t)};_n.useId=function(){return Xc.current.useId()};_n.useImperativeHandle=function(e,t,r){return Xc.current.useImperativeHandle(e,t,r)};_n.useInsertionEffect=function(e,t){return Xc.current.useInsertionEffect(e,t)};_n.useLayoutEffect=function(e,t){return Xc.current.useLayoutEffect(e,t)};_n.useMemo=function(e,t){return Xc.current.useMemo(e,t)};_n.useReducer=function(e,t,r){return Xc.current.useReducer(e,t,r)};_n.useRef=function(e){return Xc.current.useRef(e)};_n.useState=function(e){return Xc.current.useState(e)};_n.useSyncExternalStore=function(e,t,r){return Xc.current.useSyncExternalStore(e,t,r)};_n.useTransition=function(){return Xc.current.useTransition()};_n.version="18.3.1"});var ce=de((adr,ape)=>{"use strict";ape.exports=ope()});var lpe={};iT(lpe,{clearCache:()=>lB,forceRefresh:()=>mT,useSubscription:()=>ct});function xot(){aB.forEach(e=>e())}function Sw(e){e9={...e9,...e},xot()}async function bot(){console.log("[MoonUI Pro Auth] Getting auth token...",{isDevelopment:!1,isProduction:!0,hasWindow:typeof window<"u"});{let n=process.env.NEXT_PUBLIC_MOONUI_AUTH_TOKEN||process.env.NEXT_PUBLIC_MOONUI_LICENSE_KEY;if(n&&n.trim()!=="")return console.log("[MoonUI Pro Auth] Found public token in environment"),n;if(typeof window<"u"){let o=localStorage.getItem("moonui_auth_token");if(o)return console.log("[MoonUI Pro Auth] Found token in localStorage"),o}return console.log("[MoonUI Pro Auth] No token found in production"),null}let r=process.env.NEXT_PUBLIC_MOONUI_AUTH_TOKEN||process.env.NEXT_PUBLIC_MOONUI_LICENSE_KEY;return console.log("[MoonUI Pro Auth] Checking env variables:",{hasPublicToken:!!process.env.NEXT_PUBLIC_MOONUI_AUTH_TOKEN,hasLicenseKey:!!process.env.NEXT_PUBLIC_MOONUI_LICENSE_KEY,result:r?"Found":"Not found"}),r||null}async function iB(){let e=await bot();if(console.log("[MoonUI Pro Auth] Validating license:",{hasToken:!!e,tokenLength:e?e.length:0,tokenPreview:e?`${e.substring(0,10)}...`:"null"}),!e){console.log("[MoonUI Pro Auth] No token found, clearing cache"),typeof window<"u"&&localStorage.removeItem(wx),Sw({hasProAccess:!1,isAuthenticated:!1,isLoading:!1});return}try{console.log("[MoonUI Pro Auth] Calling validate API...");let t=await fetch("https://moonui.dev/api/auth/validate",{headers:{Authorization:`Bearer ${e}`}});if(t.ok){let r=await t.json();console.log("[MoonUI Pro Auth] API Response:",{valid:r.valid,hasLifetimeAccess:r.user?.hasLifetimeAccess,features:r.user?.features,plan:r.user?.plan});let n={valid:r.valid,hasLifetimeAccess:r.user?.hasLifetimeAccess||!1,timestamp:Date.now(),cacheUntil:r.cacheUntil?new Date(r.cacheUntil).getTime():void 0};typeof window<"u"&&localStorage.setItem(wx,JSON.stringify(n));let o=r.valid&&(r.user?.hasLifetimeAccess||r.user?.features?.includes("pro_components"));console.log("[MoonUI Pro Auth] Access result:",{hasProAccess:o,isAuthenticated:r.valid}),Sw({hasProAccess:o,isAuthenticated:r.valid,subscriptionPlan:o?"lifetime":"free",subscription:{status:o?"active":"inactive",plan:o?"lifetime":"free"},isLoading:!1})}else console.log("[MoonUI Pro Auth] Invalid response:",t.status),typeof window<"u"&&localStorage.removeItem(wx),Sw({hasProAccess:!1,isAuthenticated:!1,isLoading:!1})}catch{Sw({hasProAccess:!1,isAuthenticated:!1,isLoading:!1})}}async function spe(){if(!t9){if(t9=!0,typeof window<"u"){let e=localStorage.getItem(wx);if(e){let t=JSON.parse(e);if(Date.now()-t.timestamp<ipe){Sw({hasProAccess:t.valid&&t.hasLifetimeAccess,isAuthenticated:t.valid,subscriptionPlan:t.valid&&t.hasLifetimeAccess?"lifetime":"free",subscription:{status:t.valid&&t.hasLifetimeAccess?"active":"inactive",plan:t.valid&&t.hasLifetimeAccess?"lifetime":"free"},isLoading:!1});return}}}await iB()}}async function mT(){typeof window<"u"&&(localStorage.removeItem(wx),console.log("[MoonUI Pro] Cache cleared, forcing refresh...")),t9=!1,Sw({isLoading:!0,hasProAccess:!1,isAuthenticated:!1}),await spe()}function lB(){typeof window<"u"&&(localStorage.removeItem(wx),localStorage.removeItem("moonui_auth_token"),console.log("[MoonUI Pro] Auth cache cleared"))}function ct(){let[,e]=(0,sB.useState)({});return(0,sB.useEffect)(()=>{spe();let t=()=>e({});aB.push(t);let r=async()=>{if(typeof window<"u"){let o=localStorage.getItem(wx);if(o){let a=JSON.parse(o);Date.now()-a.timestamp>ipe&&(console.log("[MoonUI Pro] Cache expired on focus, revalidating..."),await iB())}else console.log("[MoonUI Pro] No cache on focus, validating..."),await iB()}},n=async o=>{(o.key==="moonui_auth_token"||o.key===wx)&&(console.log("[MoonUI Pro] Auth storage changed, revalidating..."),o.newValue?await mT():Sw({hasProAccess:!1,isAuthenticated:!1,isLoading:!1}))};return window.addEventListener("focus",r),window.addEventListener("storage",n),()=>{let o=aB.indexOf(t);o>-1&&aB.splice(o,1),window.removeEventListener("focus",r),window.removeEventListener("storage",n)}},[]),{...e9,checkAccess:iB,forceRefresh:mT,clearCache:lB}}var sB,e9,t9,aB,wx,ipe,idr,_r=Dfe(()=>{"use strict";sB=E(ce(),1),e9={isLoading:!0,hasProAccess:!1,isAuthenticated:!1,subscriptionPlan:"free",subscription:{status:"inactive",plan:"free"},isAdmin:!1},t9=!1,aB=[],wx="moonui_license_cache",ipe=2*60*60*1e3,idr=4*60*60*1e3});var upe=de(uB=>{"use strict";var wot=ce(),Cot=Symbol.for("react.element"),Sot=Symbol.for("react.fragment"),Pot=Object.prototype.hasOwnProperty,Iot=wot.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,kot={key:!0,ref:!0,__self:!0,__source:!0};function cpe(e,t,r){var n,o={},a=null,i=null;r!==void 0&&(a=""+r),t.key!==void 0&&(a=""+t.key),t.ref!==void 0&&(i=t.ref);for(n in t)Pot.call(t,n)&&!kot.hasOwnProperty(n)&&(o[n]=t[n]);if(e&&e.defaultProps)for(n in t=e.defaultProps,t)o[n]===void 0&&(o[n]=t[n]);return{$$typeof:Cot,type:e,key:a,ref:i,props:o,_owner:Iot.current}}uB.Fragment=Sot;uB.jsx=cpe;uB.jsxs=cpe});var ue=de((cdr,dpe)=>{"use strict";dpe.exports=upe()});var Mpe=de(ha=>{"use strict";function c9(e,t){var r=e.length;e.push(t);e:for(;0<r;){var n=r-1>>>1,o=e[n];if(0<pB(o,t))e[n]=t,e[r]=o,r=n;else break e}}function lm(e){return e.length===0?null:e[0]}function hB(e){if(e.length===0)return null;var t=e[0],r=e.pop();if(r!==t){e[0]=r;e:for(var n=0,o=e.length,a=o>>>1;n<a;){var i=2*(n+1)-1,s=e[i],l=i+1,c=e[l];if(0>pB(s,r))l<o&&0>pB(c,s)?(e[n]=c,e[l]=r,n=l):(e[n]=s,e[i]=r,n=i);else if(l<o&&0>pB(c,r))e[n]=c,e[l]=r,n=l;else break e}}return t}function pB(e,t){var r=e.sortIndex-t.sortIndex;return r!==0?r:e.id-t.id}typeof performance=="object"&&typeof performance.now=="function"?(bpe=performance,ha.unstable_now=function(){return bpe.now()}):(i9=Date,wpe=i9.now(),ha.unstable_now=function(){return i9.now()-wpe});var bpe,i9,wpe,Sh=[],Sx=[],Bot=1,Hf=null,hc=3,gB=!1,Pw=!1,gT=!1,Ppe=typeof setTimeout=="function"?setTimeout:null,Ipe=typeof clearTimeout=="function"?clearTimeout:null,Cpe=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function u9(e){for(var t=lm(Sx);t!==null;){if(t.callback===null)hB(Sx);else if(t.startTime<=e)hB(Sx),t.sortIndex=t.expirationTime,c9(Sh,t);else break;t=lm(Sx)}}function d9(e){if(gT=!1,u9(e),!Pw)if(lm(Sh)!==null)Pw=!0,p9(f9);else{var t=lm(Sx);t!==null&&m9(d9,t.startTime-e)}}function f9(e,t){Pw=!1,gT&&(gT=!1,Ipe(vT),vT=-1),gB=!0;var r=hc;try{for(u9(t),Hf=lm(Sh);Hf!==null&&(!(Hf.expirationTime>t)||e&&!Npe());){var n=Hf.callback;if(typeof n=="function"){Hf.callback=null,hc=Hf.priorityLevel;var o=n(Hf.expirationTime<=t);t=ha.unstable_now(),typeof o=="function"?Hf.callback=o:Hf===lm(Sh)&&hB(Sh),u9(t)}else hB(Sh);Hf=lm(Sh)}if(Hf!==null)var a=!0;else{var i=lm(Sx);i!==null&&m9(d9,i.startTime-t),a=!1}return a}finally{Hf=null,hc=r,gB=!1}}var vB=!1,mB=null,vT=-1,kpe=5,Rpe=-1;function Npe(){return!(ha.unstable_now()-Rpe<kpe)}function s9(){if(mB!==null){var e=ha.unstable_now();Rpe=e;var t=!0;try{t=mB(!0,e)}finally{t?hT():(vB=!1,mB=null)}}else vB=!1}var hT;typeof Cpe=="function"?hT=function(){Cpe(s9)}:typeof MessageChannel<"u"?(l9=new MessageChannel,Spe=l9.port2,l9.port1.onmessage=s9,hT=function(){Spe.postMessage(null)}):hT=function(){Ppe(s9,0)};var l9,Spe;function p9(e){mB=e,vB||(vB=!0,hT())}function m9(e,t){vT=Ppe(function(){e(ha.unstable_now())},t)}ha.unstable_IdlePriority=5;ha.unstable_ImmediatePriority=1;ha.unstable_LowPriority=4;ha.unstable_NormalPriority=3;ha.unstable_Profiling=null;ha.unstable_UserBlockingPriority=2;ha.unstable_cancelCallback=function(e){e.callback=null};ha.unstable_continueExecution=function(){Pw||gB||(Pw=!0,p9(f9))};ha.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):kpe=0<e?Math.floor(1e3/e):5};ha.unstable_getCurrentPriorityLevel=function(){return hc};ha.unstable_getFirstCallbackNode=function(){return lm(Sh)};ha.unstable_next=function(e){switch(hc){case 1:case 2:case 3:var t=3;break;default:t=hc}var r=hc;hc=t;try{return e()}finally{hc=r}};ha.unstable_pauseExecution=function(){};ha.unstable_requestPaint=function(){};ha.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var r=hc;hc=e;try{return t()}finally{hc=r}};ha.unstable_scheduleCallback=function(e,t,r){var n=ha.unstable_now();switch(typeof r=="object"&&r!==null?(r=r.delay,r=typeof r=="number"&&0<r?n+r:n):r=n,e){case 1:var o=-1;break;case 2:o=250;break;case 5:o=1073741823;break;case 4:o=1e4;break;default:o=5e3}return o=r+o,e={id:Bot++,callback:t,priorityLevel:e,startTime:r,expirationTime:o,sortIndex:-1},r>n?(e.sortIndex=r,c9(Sx,e),lm(Sh)===null&&e===lm(Sx)&&(gT?(Ipe(vT),vT=-1):gT=!0,m9(d9,r-n))):(e.sortIndex=o,c9(Sh,e),Pw||gB||(Pw=!0,p9(f9))),e};ha.unstable_shouldYield=Npe;ha.unstable_wrapCallback=function(e){var t=hc;return function(){var r=hc;hc=t;try{return e.apply(this,arguments)}finally{hc=r}}}});var Ape=de((kdr,Tpe)=>{"use strict";Tpe.exports=Mpe()});var Oge=de(Kd=>{"use strict";var Vot=ce(),Wd=Ape();function dt(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r<arguments.length;r++)t+="&args[]="+encodeURIComponent(arguments[r]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var Bme=new Set,VT={};function Fw(e,t){RP(e,t),RP(e+"Capture",t)}function RP(e,t){for(VT[e]=t,e=0;e<t.length;e++)Bme.add(t[e])}var bv=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),F9=Object.prototype.hasOwnProperty,Uot=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,Lpe={},Epe={};function zot(e){return F9.call(Epe,e)?!0:F9.call(Lpe,e)?!1:Uot.test(e)?Epe[e]=!0:(Lpe[e]=!0,!1)}function Hot(e,t,r,n){if(r!==null&&r.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return n?!1:r!==null?!r.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function jot(e,t,r,n){if(t===null||typeof t>"u"||Hot(e,t,r,n))return!0;if(n)return!1;if(r!==null)switch(r.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function Zc(e,t,r,n,o,a,i){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=n,this.attributeNamespace=o,this.mustUseProperty=r,this.propertyName=e,this.type=t,this.sanitizeURL=a,this.removeEmptyString=i}var $l={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){$l[e]=new Zc(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];$l[t]=new Zc(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){$l[e]=new Zc(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){$l[e]=new Zc(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){$l[e]=new Zc(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){$l[e]=new Zc(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){$l[e]=new Zc(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){$l[e]=new Zc(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){$l[e]=new Zc(e,5,!1,e.toLowerCase(),null,!1,!1)});var MK=/[\-:]([a-z])/g;function TK(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(MK,TK);$l[t]=new Zc(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(MK,TK);$l[t]=new Zc(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(MK,TK);$l[t]=new Zc(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){$l[e]=new Zc(e,1,!1,e.toLowerCase(),null,!1,!1)});$l.xlinkHref=new Zc("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){$l[e]=new Zc(e,1,!1,e.toLowerCase(),null,!0,!0)});function AK(e,t,r,n){var o=$l.hasOwnProperty(t)?$l[t]:null;(o!==null?o.type!==0:n||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(jot(t,r,o,n)&&(r=null),n||o===null?zot(t)&&(r===null?e.removeAttribute(t):e.setAttribute(t,""+r)):o.mustUseProperty?e[o.propertyName]=r===null?o.type===3?!1:"":r:(t=o.attributeName,n=o.attributeNamespace,r===null?e.removeAttribute(t):(o=o.type,r=o===3||o===4&&r===!0?"":""+r,n?e.setAttributeNS(n,t,r):e.setAttribute(t,r))))}var Pv=Vot.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,yB=Symbol.for("react.element"),cP=Symbol.for("react.portal"),uP=Symbol.for("react.fragment"),LK=Symbol.for("react.strict_mode"),B9=Symbol.for("react.profiler"),Vme=Symbol.for("react.provider"),Ume=Symbol.for("react.context"),EK=Symbol.for("react.forward_ref"),V9=Symbol.for("react.suspense"),U9=Symbol.for("react.suspense_list"),DK=Symbol.for("react.memo"),Ix=Symbol.for("react.lazy");Symbol.for("react.scope");Symbol.for("react.debug_trace_mode");var zme=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden");Symbol.for("react.cache");Symbol.for("react.tracing_marker");var Dpe=Symbol.iterator;function yT(e){return e===null||typeof e!="object"?null:(e=Dpe&&e[Dpe]||e["@@iterator"],typeof e=="function"?e:null)}var bi=Object.assign,h9;function kT(e){if(h9===void 0)try{throw Error()}catch(r){var t=r.stack.trim().match(/\n( *(at )?)/);h9=t&&t[1]||""}return`
|
|
9
9
|
`+h9+e}var g9=!1;function v9(e,t){if(!e||g9)return"";g9=!0;var r=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(c){var n=c}Reflect.construct(e,[],t)}else{try{t.call()}catch(c){n=c}e.call(t.prototype)}else{try{throw Error()}catch(c){n=c}e()}}catch(c){if(c&&n&&typeof c.stack=="string"){for(var o=c.stack.split(`
|
|
10
10
|
`),a=n.stack.split(`
|
|
11
11
|
`),i=o.length-1,s=a.length-1;1<=i&&0<=s&&o[i]!==a[s];)s--;for(;1<=i&&0<=s;i--,s--)if(o[i]!==a[s]){if(i!==1||s!==1)do if(i--,s--,0>s||o[i]!==a[s]){var l=`
|