recently-published
Version:
A simple CLI tool to get the most recently published versions of a package on npm or see which install package versions were most recently published.
39 lines (30 loc) • 56.2 kB
JavaScript
#!/usr/bin/env node
"use strict";var zn=Object.create;var ot=Object.defineProperty;var Kn=Object.getOwnPropertyDescriptor;var Hn=Object.getOwnPropertyNames;var Jn=Object.getPrototypeOf,qn=Object.prototype.hasOwnProperty;var Ae=(n,o)=>()=>(o||n((o={exports:{}}).exports,o),o.exports);var Lt=(n,o,l,s)=>{if(o&&typeof o=="object"||typeof o=="function")for(let d of Hn(o))!qn.call(n,d)&&d!==l&&ot(n,d,{get:()=>o[d],enumerable:!(s=Kn(o,d))||s.enumerable});return n};var se=(n,o,l)=>(l=n!=null?zn(Jn(n)):{},Lt(o||!n||!n.__esModule?ot(l,"default",{value:n,enumerable:!0}):l,n)),Gn=n=>Lt(ot({},"__esModule",{value:!0}),n);var dn=Ae(C=>{"use strict";var Ge=Symbol.for("react.element"),Qn=Symbol.for("react.portal"),Zn=Symbol.for("react.fragment"),eo=Symbol.for("react.strict_mode"),ro=Symbol.for("react.profiler"),to=Symbol.for("react.provider"),no=Symbol.for("react.context"),oo=Symbol.for("react.forward_ref"),ao=Symbol.for("react.suspense"),io=Symbol.for("react.memo"),so=Symbol.for("react.lazy"),en=Symbol.iterator;function uo(n){return n===null||typeof n!="object"?null:(n=en&&n[en]||n["@@iterator"],typeof n=="function"?n:null)}var nn={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},on=Object.assign,an={};function $e(n,o,l){this.props=n,this.context=o,this.refs=an,this.updater=l||nn}$e.prototype.isReactComponent={};$e.prototype.setState=function(n,o){if(typeof n!="object"&&typeof n!="function"&&n!=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,n,o,"setState")};$e.prototype.forceUpdate=function(n){this.updater.enqueueForceUpdate(this,n,"forceUpdate")};function sn(){}sn.prototype=$e.prototype;function ct(n,o,l){this.props=n,this.context=o,this.refs=an,this.updater=l||nn}var ft=ct.prototype=new sn;ft.constructor=ct;on(ft,$e.prototype);ft.isPureReactComponent=!0;var rn=Array.isArray,un=Object.prototype.hasOwnProperty,dt={current:null},ln={key:!0,ref:!0,__self:!0,__source:!0};function cn(n,o,l){var s,d={},v=null,b=null;if(o!=null)for(s in o.ref!==void 0&&(b=o.ref),o.key!==void 0&&(v=""+o.key),o)un.call(o,s)&&!ln.hasOwnProperty(s)&&(d[s]=o[s]);var _=arguments.length-2;if(_===1)d.children=l;else if(1<_){for(var y=Array(_),x=0;x<_;x++)y[x]=arguments[x+2];d.children=y}if(n&&n.defaultProps)for(s in _=n.defaultProps,_)d[s]===void 0&&(d[s]=_[s]);return{$$typeof:Ge,type:n,key:v,ref:b,props:d,_owner:dt.current}}function lo(n,o){return{$$typeof:Ge,type:n.type,key:o,ref:n.ref,props:n.props,_owner:n._owner}}function pt(n){return typeof n=="object"&&n!==null&&n.$$typeof===Ge}function co(n){var o={"=":"=0",":":"=2"};return"$"+n.replace(/[=:]/g,function(l){return o[l]})}var tn=/\/+/g;function lt(n,o){return typeof n=="object"&&n!==null&&n.key!=null?co(""+n.key):o.toString(36)}function Sr(n,o,l,s,d){var v=typeof n;(v==="undefined"||v==="boolean")&&(n=null);var b=!1;if(n===null)b=!0;else switch(v){case"string":case"number":b=!0;break;case"object":switch(n.$$typeof){case Ge:case Qn:b=!0}}if(b)return b=n,d=d(b),n=s===""?"."+lt(b,0):s,rn(d)?(l="",n!=null&&(l=n.replace(tn,"$&/")+"/"),Sr(d,o,l,"",function(x){return x})):d!=null&&(pt(d)&&(d=lo(d,l+(!d.key||b&&b.key===d.key?"":(""+d.key).replace(tn,"$&/")+"/")+n)),o.push(d)),1;if(b=0,s=s===""?".":s+":",rn(n))for(var _=0;_<n.length;_++){v=n[_];var y=s+lt(v,_);b+=Sr(v,o,l,y,d)}else if(y=uo(n),typeof y=="function")for(n=y.call(n),_=0;!(v=n.next()).done;)v=v.value,y=s+lt(v,_++),b+=Sr(v,o,l,y,d);else if(v==="object")throw o=String(n),Error("Objects are not valid as a React child (found: "+(o==="[object Object]"?"object with keys {"+Object.keys(n).join(", ")+"}":o)+"). If you meant to render a collection of children, use an array instead.");return b}function kr(n,o,l){if(n==null)return n;var s=[],d=0;return Sr(n,s,"","",function(v){return o.call(l,v,d++)}),s}function fo(n){if(n._status===-1){var o=n._result;o=o(),o.then(function(l){(n._status===0||n._status===-1)&&(n._status=1,n._result=l)},function(l){(n._status===0||n._status===-1)&&(n._status=2,n._result=l)}),n._status===-1&&(n._status=0,n._result=o)}if(n._status===1)return n._result.default;throw n._result}var K={current:null},Or={transition:null},po={ReactCurrentDispatcher:K,ReactCurrentBatchConfig:Or,ReactCurrentOwner:dt};function fn(){throw Error("act(...) is not supported in production builds of React.")}C.Children={map:kr,forEach:function(n,o,l){kr(n,function(){o.apply(this,arguments)},l)},count:function(n){var o=0;return kr(n,function(){o++}),o},toArray:function(n){return kr(n,function(o){return o})||[]},only:function(n){if(!pt(n))throw Error("React.Children.only expected to receive a single React element child.");return n}};C.Component=$e;C.Fragment=Zn;C.Profiler=ro;C.PureComponent=ct;C.StrictMode=eo;C.Suspense=ao;C.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=po;C.act=fn;C.cloneElement=function(n,o,l){if(n==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+n+".");var s=on({},n.props),d=n.key,v=n.ref,b=n._owner;if(o!=null){if(o.ref!==void 0&&(v=o.ref,b=dt.current),o.key!==void 0&&(d=""+o.key),n.type&&n.type.defaultProps)var _=n.type.defaultProps;for(y in o)un.call(o,y)&&!ln.hasOwnProperty(y)&&(s[y]=o[y]===void 0&&_!==void 0?_[y]:o[y])}var y=arguments.length-2;if(y===1)s.children=l;else if(1<y){_=Array(y);for(var x=0;x<y;x++)_[x]=arguments[x+2];s.children=_}return{$$typeof:Ge,type:n.type,key:d,ref:v,props:s,_owner:b}};C.createContext=function(n){return n={$$typeof:no,_currentValue:n,_currentValue2:n,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},n.Provider={$$typeof:to,_context:n},n.Consumer=n};C.createElement=cn;C.createFactory=function(n){var o=cn.bind(null,n);return o.type=n,o};C.createRef=function(){return{current:null}};C.forwardRef=function(n){return{$$typeof:oo,render:n}};C.isValidElement=pt;C.lazy=function(n){return{$$typeof:so,_payload:{_status:-1,_result:n},_init:fo}};C.memo=function(n,o){return{$$typeof:io,type:n,compare:o===void 0?null:o}};C.startTransition=function(n){var o=Or.transition;Or.transition={};try{n()}finally{Or.transition=o}};C.unstable_act=fn;C.useCallback=function(n,o){return K.current.useCallback(n,o)};C.useContext=function(n){return K.current.useContext(n)};C.useDebugValue=function(){};C.useDeferredValue=function(n){return K.current.useDeferredValue(n)};C.useEffect=function(n,o){return K.current.useEffect(n,o)};C.useId=function(){return K.current.useId()};C.useImperativeHandle=function(n,o,l){return K.current.useImperativeHandle(n,o,l)};C.useInsertionEffect=function(n,o){return K.current.useInsertionEffect(n,o)};C.useLayoutEffect=function(n,o){return K.current.useLayoutEffect(n,o)};C.useMemo=function(n,o){return K.current.useMemo(n,o)};C.useReducer=function(n,o,l){return K.current.useReducer(n,o,l)};C.useRef=function(n){return K.current.useRef(n)};C.useState=function(n){return K.current.useState(n)};C.useSyncExternalStore=function(n,o,l){return K.current.useSyncExternalStore(n,o,l)};C.useTransition=function(){return K.current.useTransition()};C.version="18.3.1"});var pn=Ae((P,xr)=>{"use strict";process.env.NODE_ENV!=="production"&&function(){"use strict";typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var n="18.3.1",o=Symbol.for("react.element"),l=Symbol.for("react.portal"),s=Symbol.for("react.fragment"),d=Symbol.for("react.strict_mode"),v=Symbol.for("react.profiler"),b=Symbol.for("react.provider"),_=Symbol.for("react.context"),y=Symbol.for("react.forward_ref"),x=Symbol.for("react.suspense"),N=Symbol.for("react.suspense_list"),V=Symbol.for("react.memo"),H=Symbol.for("react.lazy"),Fe=Symbol.for("react.offscreen"),Me=Symbol.iterator,$r="@@iterator";function Ze(e){if(e===null||typeof e!="object")return null;var t=Me&&e[Me]||e[$r];return typeof t=="function"?t:null}var oe={current:null},A={transition:null},L={current:null,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1},Z={current:null},ve={},be=null;function er(e){be=e}ve.setExtraStackFrame=function(e){be=e},ve.getCurrentStack=null,ve.getStackAddendum=function(){var e="";be&&(e+=be);var t=ve.getCurrentStack;return t&&(e+=t()||""),e};var Ir=!1,rr=!1,Fr=!1,Mr=!1,tr=!1,W={ReactCurrentDispatcher:oe,ReactCurrentBatchConfig:A,ReactCurrentOwner:Z};W.ReactDebugCurrentFrame=ve,W.ReactCurrentActQueue=L;function J(e){{for(var t=arguments.length,a=new Array(t>1?t-1:0),i=1;i<t;i++)a[i-1]=arguments[i];Ve("warn",e,a)}}function E(e){{for(var t=arguments.length,a=new Array(t>1?t-1:0),i=1;i<t;i++)a[i-1]=arguments[i];Ve("error",e,a)}}function Ve(e,t,a){{var i=W.ReactDebugCurrentFrame,c=i.getStackAddendum();c!==""&&(t+="%s",a=a.concat([c]));var h=a.map(function(p){return String(p)});h.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,h)}}var Ne={};function _e(e,t){{var a=e.constructor,i=a&&(a.displayName||a.name)||"ReactClass",c=i+"."+t;if(Ne[c])return;E("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.",t,i),Ne[c]=!0}}var Le={isMounted:function(e){return!1},enqueueForceUpdate:function(e,t,a){_e(e,"forceUpdate")},enqueueReplaceState:function(e,t,a,i){_e(e,"replaceState")},enqueueSetState:function(e,t,a,i){_e(e,"setState")}},X=Object.assign,Ee={};Object.freeze(Ee);function te(e,t,a){this.props=e,this.context=t,this.refs=Ee,this.updater=a||Le}te.prototype.isReactComponent={},te.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw new 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")},te.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};{var Re={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)."]},Vr=function(e,t){Object.defineProperty(te.prototype,e,{get:function(){J("%s(...) is deprecated in plain JavaScript React classes. %s",t[0],t[1])}})};for(var We in Re)Re.hasOwnProperty(We)&&Vr(We,Re[We])}function Ce(){}Ce.prototype=te.prototype;function ye(e,t,a){this.props=e,this.context=t,this.refs=Ee,this.updater=a||Le}var ue=ye.prototype=new Ce;ue.constructor=ye,X(ue,te.prototype),ue.isPureReactComponent=!0;function Ue(){var e={current:null};return Object.seal(e),e}var Pe=Array.isArray;function Te(e){return Pe(e)}function nr(e){{var t=typeof Symbol=="function"&&Symbol.toStringTag,a=t&&e[Symbol.toStringTag]||e.constructor.name||"Object";return a}}function Nr(e){try{return or(e),!1}catch{return!0}}function or(e){return""+e}function ae(e){if(Nr(e))return E("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",nr(e)),or(e)}function he(e,t,a){var i=e.displayName;if(i)return i;var c=t.displayName||t.name||"";return c!==""?a+"("+c+")":a}function Ye(e){return e.displayName||"Context"}function ee(e){if(e==null)return null;if(typeof e.tag=="number"&&E("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case s:return"Fragment";case l:return"Portal";case v:return"Profiler";case d:return"StrictMode";case x:return"Suspense";case N:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case _:var t=e;return Ye(t)+".Consumer";case b:var a=e;return Ye(a._context)+".Provider";case y:return he(e,e.render,"ForwardRef");case V:var i=e.displayName||null;return i!==null?i:ee(e.type)||"Memo";case H:{var c=e,h=c._payload,p=c._init;try{return ee(p(h))}catch{return null}}}return null}var ne=Object.prototype.hasOwnProperty,ar={key:!0,ref:!0,__self:!0,__source:!0},ir,we,Be;Be={};function sr(e){if(ne.call(e,"ref")){var t=Object.getOwnPropertyDescriptor(e,"ref").get;if(t&&t.isReactWarning)return!1}return e.ref!==void 0}function ze(e){if(ne.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return e.key!==void 0}function ur(e,t){var a=function(){ir||(ir=!0,E("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",t))};a.isReactWarning=!0,Object.defineProperty(e,"key",{get:a,configurable:!0})}function me(e,t){var a=function(){we||(we=!0,E("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",t))};a.isReactWarning=!0,Object.defineProperty(e,"ref",{get:a,configurable:!0})}function Lr(e){if(typeof e.ref=="string"&&Z.current&&e.__self&&Z.current.stateNode!==e.__self){var t=ee(Z.current.type);Be[t]||(E('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',t,e.ref),Be[t]=!0)}}var ke=function(e,t,a,i,c,h,p){var g={$$typeof:o,type:e,key:t,ref:a,props:p,_owner:h};return g._store={},Object.defineProperty(g._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(g,"_self",{configurable:!1,enumerable:!1,writable:!1,value:i}),Object.defineProperty(g,"_source",{configurable:!1,enumerable:!1,writable:!1,value:c}),Object.freeze&&(Object.freeze(g.props),Object.freeze(g)),g};function lr(e,t,a){var i,c={},h=null,p=null,g=null,w=null;if(t!=null){sr(t)&&(p=t.ref,Lr(t)),ze(t)&&(ae(t.key),h=""+t.key),g=t.__self===void 0?null:t.__self,w=t.__source===void 0?null:t.__source;for(i in t)ne.call(t,i)&&!ar.hasOwnProperty(i)&&(c[i]=t[i])}var O=arguments.length-2;if(O===1)c.children=a;else if(O>1){for(var j=Array(O),D=0;D<O;D++)j[D]=arguments[D+2];Object.freeze&&Object.freeze(j),c.children=j}if(e&&e.defaultProps){var I=e.defaultProps;for(i in I)c[i]===void 0&&(c[i]=I[i])}if(h||p){var M=typeof e=="function"?e.displayName||e.name||"Unknown":e;h&&ur(c,M),p&&me(c,M)}return ke(e,h,p,g,w,Z.current,c)}function Ke(e,t){var a=ke(e.type,t,e.ref,e._self,e._source,e._owner,e.props);return a}function Wr(e,t,a){if(e==null)throw new Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var i,c=X({},e.props),h=e.key,p=e.ref,g=e._self,w=e._source,O=e._owner;if(t!=null){sr(t)&&(p=t.ref,O=Z.current),ze(t)&&(ae(t.key),h=""+t.key);var j;e.type&&e.type.defaultProps&&(j=e.type.defaultProps);for(i in t)ne.call(t,i)&&!ar.hasOwnProperty(i)&&(t[i]===void 0&&j!==void 0?c[i]=j[i]:c[i]=t[i])}var D=arguments.length-2;if(D===1)c.children=a;else if(D>1){for(var I=Array(D),M=0;M<D;M++)I[M]=arguments[M+2];c.children=I}return ke(e.type,h,p,g,w,O,c)}function le(e){return typeof e=="object"&&e!==null&&e.$$typeof===o}var cr=".",Ur=":";function Yr(e){var t=/[=:]/g,a={"=":"=0",":":"=2"},i=e.replace(t,function(c){return a[c]});return"$"+i}var fr=!1,Br=/\/+/g;function Se(e){return e.replace(Br,"$&/")}function Oe(e,t){return typeof e=="object"&&e!==null&&e.key!=null?(ae(e.key),Yr(""+e.key)):t.toString(36)}function re(e,t,a,i,c){var h=typeof e;(h==="undefined"||h==="boolean")&&(e=null);var p=!1;if(e===null)p=!0;else switch(h){case"string":case"number":p=!0;break;case"object":switch(e.$$typeof){case o:case l:p=!0}}if(p){var g=e,w=c(g),O=i===""?cr+Oe(g,0):i;if(Te(w)){var j="";O!=null&&(j=Se(O)+"/"),re(w,t,j,"",function(Bn){return Bn})}else w!=null&&(le(w)&&(w.key&&(!g||g.key!==w.key)&&ae(w.key),w=Ke(w,a+(w.key&&(!g||g.key!==w.key)?Se(""+w.key)+"/":"")+O)),t.push(w));return 1}var D,I,M=0,Y=i===""?cr:i+Ur;if(Te(e))for(var wr=0;wr<e.length;wr++)D=e[wr],I=Y+Oe(D,wr),M+=re(D,t,a,I,c);else{var nt=Ze(e);if(typeof nt=="function"){var Mt=e;nt===Mt.entries&&(fr||J("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),fr=!0);for(var Un=nt.call(Mt),Vt,Yn=0;!(Vt=Un.next()).done;)D=Vt.value,I=Y+Oe(D,Yn++),M+=re(D,t,a,I,c)}else if(h==="object"){var Nt=String(e);throw new Error("Objects are not valid as a React child (found: "+(Nt==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":Nt)+"). If you meant to render a collection of children, use an array instead.")}}return M}function ce(e,t,a){if(e==null)return e;var i=[],c=0;return re(e,i,"","",function(h){return t.call(a,h,c++)}),i}function He(e){var t=0;return ce(e,function(){t++}),t}function dr(e,t,a){ce(e,function(){t.apply(this,arguments)},a)}function zr(e){return ce(e,function(t){return t})||[]}function pr(e){if(!le(e))throw new Error("React.Children.only expected to receive a single React element child.");return e}function Kr(e){var t={$$typeof:_,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null};t.Provider={$$typeof:b,_context:t};var a=!1,i=!1,c=!1;{var h={$$typeof:_,_context:t};Object.defineProperties(h,{Provider:{get:function(){return i||(i=!0,E("Rendering <Context.Consumer.Provider> is not supported and will be removed in a future major release. Did you mean to render <Context.Provider> instead?")),t.Provider},set:function(p){t.Provider=p}},_currentValue:{get:function(){return t._currentValue},set:function(p){t._currentValue=p}},_currentValue2:{get:function(){return t._currentValue2},set:function(p){t._currentValue2=p}},_threadCount:{get:function(){return t._threadCount},set:function(p){t._threadCount=p}},Consumer:{get:function(){return a||(a=!0,E("Rendering <Context.Consumer.Consumer> is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?")),t.Consumer}},displayName:{get:function(){return t.displayName},set:function(p){c||(J("Setting `displayName` on Context.Consumer has no effect. You should set it directly on the context with Context.displayName = '%s'.",p),c=!0)}}}),t.Consumer=h}return t._currentRenderer=null,t._currentRenderer2=null,t}var fe=-1,xe=0,vr=1,Hr=2;function yr(e){if(e._status===fe){var t=e._result,a=t();if(a.then(function(h){if(e._status===xe||e._status===fe){var p=e;p._status=vr,p._result=h}},function(h){if(e._status===xe||e._status===fe){var p=e;p._status=Hr,p._result=h}}),e._status===fe){var i=e;i._status=xe,i._result=a}}if(e._status===vr){var c=e._result;return c===void 0&&E(`lazy: Expected the result of a dynamic import() call. Instead received: %s
Your code should look like:
const MyComponent = lazy(() => import('./MyComponent'))
Did you accidentally put curly braces around the import?`,c),"default"in c||E(`lazy: Expected the result of a dynamic import() call. Instead received: %s
Your code should look like:
const MyComponent = lazy(() => import('./MyComponent'))`,c),c.default}else throw e._result}function hr(e){var t={_status:fe,_result:e},a={$$typeof:H,_payload:t,_init:yr};{var i,c;Object.defineProperties(a,{defaultProps:{configurable:!0,get:function(){return i},set:function(h){E("React.lazy(...): It is not supported to assign `defaultProps` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),i=h,Object.defineProperty(a,"defaultProps",{enumerable:!0})}},propTypes:{configurable:!0,get:function(){return c},set:function(h){E("React.lazy(...): It is not supported to assign `propTypes` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),c=h,Object.defineProperty(a,"propTypes",{enumerable:!0})}}})}return a}function Jr(e){e!=null&&e.$$typeof===V?E("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof e!="function"?E("forwardRef requires a render function but was given %s.",e===null?"null":typeof e):e.length!==0&&e.length!==2&&E("forwardRef render functions accept exactly two parameters: props and ref. %s",e.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),e!=null&&(e.defaultProps!=null||e.propTypes!=null)&&E("forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?");var t={$$typeof:y,render:e};{var a;Object.defineProperty(t,"displayName",{enumerable:!1,configurable:!0,get:function(){return a},set:function(i){a=i,!e.name&&!e.displayName&&(e.displayName=i)}})}return t}var mr;mr=Symbol.for("react.module.reference");function gr(e){return!!(typeof e=="string"||typeof e=="function"||e===s||e===v||tr||e===d||e===x||e===N||Mr||e===Fe||Ir||rr||Fr||typeof e=="object"&&e!==null&&(e.$$typeof===H||e.$$typeof===V||e.$$typeof===b||e.$$typeof===_||e.$$typeof===y||e.$$typeof===mr||e.getModuleId!==void 0))}function qr(e,t){gr(e)||E("memo: The first argument must be a component. Instead received: %s",e===null?"null":typeof e);var a={$$typeof:V,type:e,compare:t===void 0?null:t};{var i;Object.defineProperty(a,"displayName",{enumerable:!1,configurable:!0,get:function(){return i},set:function(c){i=c,!e.name&&!e.displayName&&(e.displayName=c)}})}return a}function r(){var e=oe.current;return e===null&&E(`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:
1. You might have mismatching versions of React and the renderer (such as React DOM)
2. You might be breaking the Rules of Hooks
3. You might have more than one copy of React in the same app
See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`),e}function u(e){var t=r();if(e._context!==void 0){var a=e._context;a.Consumer===e?E("Calling useContext(Context.Consumer) is not supported, may cause bugs, and will be removed in a future major release. Did you mean to call useContext(Context) instead?"):a.Provider===e&&E("Calling useContext(Context.Provider) is not supported. Did you mean to call useContext(Context) instead?")}return t.useContext(e)}function f(e){var t=r();return t.useState(e)}function m(e,t,a){var i=r();return i.useReducer(e,t,a)}function k(e){var t=r();return t.useRef(e)}function S(e,t){var a=r();return a.useEffect(e,t)}function T(e,t){var a=r();return a.useInsertionEffect(e,t)}function R(e,t){var a=r();return a.useLayoutEffect(e,t)}function U(e,t){var a=r();return a.useCallback(e,t)}function $(e,t){var a=r();return a.useMemo(e,t)}function F(e,t,a){var i=r();return i.useImperativeHandle(e,t,a)}function q(e,t){{var a=r();return a.useDebugValue(e,t)}}function de(){var e=r();return e.useTransition()}function ie(e){var t=r();return t.useDeferredValue(e)}function B(){var e=r();return e.useId()}function Je(e,t,a){var i=r();return i.useSyncExternalStore(e,t,a)}var ge=0,br,mt,gt,bt,_t,Et,Rt;function Ct(){}Ct.__reactDisabledLog=!0;function Pn(){{if(ge===0){br=console.log,mt=console.info,gt=console.warn,bt=console.error,_t=console.group,Et=console.groupCollapsed,Rt=console.groupEnd;var e={configurable:!0,enumerable:!0,value:Ct,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}ge++}}function Tn(){{if(ge--,ge===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:X({},e,{value:br}),info:X({},e,{value:mt}),warn:X({},e,{value:gt}),error:X({},e,{value:bt}),group:X({},e,{value:_t}),groupCollapsed:X({},e,{value:Et}),groupEnd:X({},e,{value:Rt})})}ge<0&&E("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Gr=W.ReactCurrentDispatcher,Xr;function _r(e,t,a){{if(Xr===void 0)try{throw Error()}catch(c){var i=c.stack.trim().match(/\n( *(at )?)/);Xr=i&&i[1]||""}return`
`+Xr+e}}var Qr=!1,Er;{var wn=typeof WeakMap=="function"?WeakMap:Map;Er=new wn}function Pt(e,t){if(!e||Qr)return"";{var a=Er.get(e);if(a!==void 0)return a}var i;Qr=!0;var c=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var h;h=Gr.current,Gr.current=null,Pn();try{if(t){var p=function(){throw Error()};if(Object.defineProperty(p.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(p,[])}catch(Y){i=Y}Reflect.construct(e,[],p)}else{try{p.call()}catch(Y){i=Y}e.call(p.prototype)}}else{try{throw Error()}catch(Y){i=Y}e()}}catch(Y){if(Y&&i&&typeof Y.stack=="string"){for(var g=Y.stack.split(`
`),w=i.stack.split(`
`),O=g.length-1,j=w.length-1;O>=1&&j>=0&&g[O]!==w[j];)j--;for(;O>=1&&j>=0;O--,j--)if(g[O]!==w[j]){if(O!==1||j!==1)do if(O--,j--,j<0||g[O]!==w[j]){var D=`
`+g[O].replace(" at new "," at ");return e.displayName&&D.includes("<anonymous>")&&(D=D.replace("<anonymous>",e.displayName)),typeof e=="function"&&Er.set(e,D),D}while(O>=1&&j>=0);break}}}finally{Qr=!1,Gr.current=h,Tn(),Error.prepareStackTrace=c}var I=e?e.displayName||e.name:"",M=I?_r(I):"";return typeof e=="function"&&Er.set(e,M),M}function kn(e,t,a){return Pt(e,!1)}function Sn(e){var t=e.prototype;return!!(t&&t.isReactComponent)}function Rr(e,t,a){if(e==null)return"";if(typeof e=="function")return Pt(e,Sn(e));if(typeof e=="string")return _r(e);switch(e){case x:return _r("Suspense");case N:return _r("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case y:return kn(e.render);case V:return Rr(e.type,t,a);case H:{var i=e,c=i._payload,h=i._init;try{return Rr(h(c),t,a)}catch{}}}return""}var Tt={},wt=W.ReactDebugCurrentFrame;function Cr(e){if(e){var t=e._owner,a=Rr(e.type,e._source,t?t.type:null);wt.setExtraStackFrame(a)}else wt.setExtraStackFrame(null)}function On(e,t,a,i,c){{var h=Function.call.bind(ne);for(var p in e)if(h(e,p)){var g=void 0;try{if(typeof e[p]!="function"){var w=Error((i||"React class")+": "+a+" type `"+p+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[p]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw w.name="Invariant Violation",w}g=e[p](t,p,i,a,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(O){g=O}g&&!(g instanceof Error)&&(Cr(c),E("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",i||"React class",a,p,typeof g),Cr(null)),g instanceof Error&&!(g.message in Tt)&&(Tt[g.message]=!0,Cr(c),E("Failed %s type: %s",a,g.message),Cr(null))}}}function je(e){if(e){var t=e._owner,a=Rr(e.type,e._source,t?t.type:null);er(a)}else er(null)}var Zr;Zr=!1;function kt(){if(Z.current){var e=ee(Z.current.type);if(e)return`
Check the render method of \``+e+"`."}return""}function xn(e){if(e!==void 0){var t=e.fileName.replace(/^.*[\\\/]/,""),a=e.lineNumber;return`
Check your code at `+t+":"+a+"."}return""}function jn(e){return e!=null?xn(e.__source):""}var St={};function Dn(e){var t=kt();if(!t){var a=typeof e=="string"?e:e.displayName||e.name;a&&(t=`
Check the top-level render call using <`+a+">.")}return t}function Ot(e,t){if(!(!e._store||e._store.validated||e.key!=null)){e._store.validated=!0;var a=Dn(t);if(!St[a]){St[a]=!0;var i="";e&&e._owner&&e._owner!==Z.current&&(i=" It was passed a child from "+ee(e._owner.type)+"."),je(e),E('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',a,i),je(null)}}}function xt(e,t){if(typeof e=="object"){if(Te(e))for(var a=0;a<e.length;a++){var i=e[a];le(i)&&Ot(i,t)}else if(le(e))e._store&&(e._store.validated=!0);else if(e){var c=Ze(e);if(typeof c=="function"&&c!==e.entries)for(var h=c.call(e),p;!(p=h.next()).done;)le(p.value)&&Ot(p.value,t)}}}function jt(e){{var t=e.type;if(t==null||typeof t=="string")return;var a;if(typeof t=="function")a=t.propTypes;else if(typeof t=="object"&&(t.$$typeof===y||t.$$typeof===V))a=t.propTypes;else return;if(a){var i=ee(t);On(a,e.props,"prop",i,e)}else if(t.PropTypes!==void 0&&!Zr){Zr=!0;var c=ee(t);E("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",c||"Unknown")}typeof t.getDefaultProps=="function"&&!t.getDefaultProps.isReactClassApproved&&E("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function An(e){{for(var t=Object.keys(e.props),a=0;a<t.length;a++){var i=t[a];if(i!=="children"&&i!=="key"){je(e),E("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",i),je(null);break}}e.ref!==null&&(je(e),E("Invalid attribute `ref` supplied to `React.Fragment`."),je(null))}}function Dt(e,t,a){var i=gr(e);if(!i){var c="";(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(c+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var h=jn(t);h?c+=h:c+=kt();var p;e===null?p="null":Te(e)?p="array":e!==void 0&&e.$$typeof===o?(p="<"+(ee(e.type)||"Unknown")+" />",c=" Did you accidentally export a JSX literal instead of a component?"):p=typeof e,E("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",p,c)}var g=lr.apply(this,arguments);if(g==null)return g;if(i)for(var w=2;w<arguments.length;w++)xt(arguments[w],e);return e===s?An(g):jt(g),g}var At=!1;function $n(e){var t=Dt.bind(null,e);return t.type=e,At||(At=!0,J("React.createFactory() is deprecated and will be removed in a future major release. Consider using JSX or use React.createElement() directly instead.")),Object.defineProperty(t,"type",{enumerable:!1,get:function(){return J("Factory.type is deprecated. Access the class directly before passing it to createFactory."),Object.defineProperty(this,"type",{value:e}),e}}),t}function In(e,t,a){for(var i=Wr.apply(this,arguments),c=2;c<arguments.length;c++)xt(arguments[c],i.type);return jt(i),i}function Fn(e,t){var a=A.transition;A.transition={};var i=A.transition;A.transition._updatedFibers=new Set;try{e()}finally{if(A.transition=a,a===null&&i._updatedFibers){var c=i._updatedFibers.size;c>10&&J("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."),i._updatedFibers.clear()}}}var $t=!1,Pr=null;function Mn(e){if(Pr===null)try{var t=("require"+Math.random()).slice(0,7),a=xr&&xr[t];Pr=a.call(xr,"timers").setImmediate}catch{Pr=function(c){$t===!1&&($t=!0,typeof MessageChannel>"u"&&E("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 h=new MessageChannel;h.port1.onmessage=c,h.port2.postMessage(void 0)}}return Pr(e)}var De=0,It=!1;function Ft(e){{var t=De;De++,L.current===null&&(L.current=[]);var a=L.isBatchingLegacy,i;try{if(L.isBatchingLegacy=!0,i=e(),!a&&L.didScheduleLegacyUpdate){var c=L.current;c!==null&&(L.didScheduleLegacyUpdate=!1,tt(c))}}catch(I){throw Tr(t),I}finally{L.isBatchingLegacy=a}if(i!==null&&typeof i=="object"&&typeof i.then=="function"){var h=i,p=!1,g={then:function(I,M){p=!0,h.then(function(Y){Tr(t),De===0?et(Y,I,M):I(Y)},function(Y){Tr(t),M(Y)})}};return!It&&typeof Promise<"u"&&Promise.resolve().then(function(){}).then(function(){p||(It=!0,E("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 () => ...);"))}),g}else{var w=i;if(Tr(t),De===0){var O=L.current;O!==null&&(tt(O),L.current=null);var j={then:function(I,M){L.current===null?(L.current=[],et(w,I,M)):I(w)}};return j}else{var D={then:function(I,M){I(w)}};return D}}}}function Tr(e){e!==De-1&&E("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "),De=e}function et(e,t,a){{var i=L.current;if(i!==null)try{tt(i),Mn(function(){i.length===0?(L.current=null,t(e)):et(e,t,a)})}catch(c){a(c)}else t(e)}}var rt=!1;function tt(e){if(!rt){rt=!0;var t=0;try{for(;t<e.length;t++){var a=e[t];do a=a(!0);while(a!==null)}e.length=0}catch(i){throw e=e.slice(t+1),i}finally{rt=!1}}}var Vn=Dt,Nn=In,Ln=$n,Wn={map:ce,forEach:dr,count:He,toArray:zr,only:pr};P.Children=Wn,P.Component=te,P.Fragment=s,P.Profiler=v,P.PureComponent=ye,P.StrictMode=d,P.Suspense=x,P.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=W,P.act=Ft,P.cloneElement=Nn,P.createContext=Kr,P.createElement=Vn,P.createFactory=Ln,P.createRef=Ue,P.forwardRef=Jr,P.isValidElement=le,P.lazy=hr,P.memo=qr,P.startTransition=Fn,P.unstable_act=Ft,P.useCallback=U,P.useContext=u,P.useDebugValue=q,P.useDeferredValue=ie,P.useEffect=S,P.useId=B,P.useImperativeHandle=F,P.useInsertionEffect=T,P.useLayoutEffect=R,P.useMemo=$,P.useReducer=m,P.useRef=k,P.useState=f,P.useSyncExternalStore=Je,P.useTransition=de,P.version=n,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()});var jr=Ae((Do,vt)=>{"use strict";process.env.NODE_ENV==="production"?vt.exports=dn():vt.exports=pn()});var yn=Ae(Dr=>{"use strict";var vo=jr(),yo=Symbol.for("react.element"),ho=Symbol.for("react.fragment"),mo=Object.prototype.hasOwnProperty,go=vo.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,bo={key:!0,ref:!0,__self:!0,__source:!0};function vn(n,o,l){var s,d={},v=null,b=null;l!==void 0&&(v=""+l),o.key!==void 0&&(v=""+o.key),o.ref!==void 0&&(b=o.ref);for(s in o)mo.call(o,s)&&!bo.hasOwnProperty(s)&&(d[s]=o[s]);if(n&&n.defaultProps)for(s in o=n.defaultProps,o)d[s]===void 0&&(d[s]=o[s]);return{$$typeof:yo,type:n,key:v,ref:b,props:d,_owner:go.current}}Dr.Fragment=ho;Dr.jsx=vn;Dr.jsxs=vn});var hn=Ae(Ar=>{"use strict";process.env.NODE_ENV!=="production"&&function(){"use strict";var n=jr(),o=Symbol.for("react.element"),l=Symbol.for("react.portal"),s=Symbol.for("react.fragment"),d=Symbol.for("react.strict_mode"),v=Symbol.for("react.profiler"),b=Symbol.for("react.provider"),_=Symbol.for("react.context"),y=Symbol.for("react.forward_ref"),x=Symbol.for("react.suspense"),N=Symbol.for("react.suspense_list"),V=Symbol.for("react.memo"),H=Symbol.for("react.lazy"),Fe=Symbol.for("react.offscreen"),Me=Symbol.iterator,$r="@@iterator";function Ze(r){if(r===null||typeof r!="object")return null;var u=Me&&r[Me]||r[$r];return typeof u=="function"?u:null}var oe=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function A(r){{for(var u=arguments.length,f=new Array(u>1?u-1:0),m=1;m<u;m++)f[m-1]=arguments[m];L("error",r,f)}}function L(r,u,f){{var m=oe.ReactDebugCurrentFrame,k=m.getStackAddendum();k!==""&&(u+="%s",f=f.concat([k]));var S=f.map(function(T){return String(T)});S.unshift("Warning: "+u),Function.prototype.apply.call(console[r],console,S)}}var Z=!1,ve=!1,be=!1,er=!1,Ir=!1,rr;rr=Symbol.for("react.module.reference");function Fr(r){return!!(typeof r=="string"||typeof r=="function"||r===s||r===v||Ir||r===d||r===x||r===N||er||r===Fe||Z||ve||be||typeof r=="object"&&r!==null&&(r.$$typeof===H||r.$$typeof===V||r.$$typeof===b||r.$$typeof===_||r.$$typeof===y||r.$$typeof===rr||r.getModuleId!==void 0))}function Mr(r,u,f){var m=r.displayName;if(m)return m;var k=u.displayName||u.name||"";return k!==""?f+"("+k+")":f}function tr(r){return r.displayName||"Context"}function W(r){if(r==null)return null;if(typeof r.tag=="number"&&A("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof r=="function")return r.displayName||r.name||null;if(typeof r=="string")return r;switch(r){case s:return"Fragment";case l:return"Portal";case v:return"Profiler";case d:return"StrictMode";case x:return"Suspense";case N:return"SuspenseList"}if(typeof r=="object")switch(r.$$typeof){case _:var u=r;return tr(u)+".Consumer";case b:var f=r;return tr(f._context)+".Provider";case y:return Mr(r,r.render,"ForwardRef");case V:var m=r.displayName||null;return m!==null?m:W(r.type)||"Memo";case H:{var k=r,S=k._payload,T=k._init;try{return W(T(S))}catch{return null}}}return null}var J=Object.assign,E=0,Ve,Ne,_e,Le,X,Ee,te;function Re(){}Re.__reactDisabledLog=!0;function Vr(){{if(E===0){Ve=console.log,Ne=console.info,_e=console.warn,Le=console.error,X=console.group,Ee=console.groupCollapsed,te=console.groupEnd;var r={configurable:!0,enumerable:!0,value:Re,writable:!0};Object.defineProperties(console,{info:r,log:r,warn:r,error:r,group:r,groupCollapsed:r,groupEnd:r})}E++}}function We(){{if(E--,E===0){var r={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:J({},r,{value:Ve}),info:J({},r,{value:Ne}),warn:J({},r,{value:_e}),error:J({},r,{value:Le}),group:J({},r,{value:X}),groupCollapsed:J({},r,{value:Ee}),groupEnd:J({},r,{value:te})})}E<0&&A("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Ce=oe.ReactCurrentDispatcher,ye;function ue(r,u,f){{if(ye===void 0)try{throw Error()}catch(k){var m=k.stack.trim().match(/\n( *(at )?)/);ye=m&&m[1]||""}return`
`+ye+r}}var Ue=!1,Pe;{var Te=typeof WeakMap=="function"?WeakMap:Map;Pe=new Te}function nr(r,u){if(!r||Ue)return"";{var f=Pe.get(r);if(f!==void 0)return f}var m;Ue=!0;var k=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var S;S=Ce.current,Ce.current=null,Vr();try{if(u){var T=function(){throw Error()};if(Object.defineProperty(T.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(T,[])}catch(B){m=B}Reflect.construct(r,[],T)}else{try{T.call()}catch(B){m=B}r.call(T.prototype)}}else{try{throw Error()}catch(B){m=B}r()}}catch(B){if(B&&m&&typeof B.stack=="string"){for(var R=B.stack.split(`
`),U=m.stack.split(`
`),$=R.length-1,F=U.length-1;$>=1&&F>=0&&R[$]!==U[F];)F--;for(;$>=1&&F>=0;$--,F--)if(R[$]!==U[F]){if($!==1||F!==1)do if($--,F--,F<0||R[$]!==U[F]){var q=`
`+R[$].replace(" at new "," at ");return r.displayName&&q.includes("<anonymous>")&&(q=q.replace("<anonymous>",r.displayName)),typeof r=="function"&&Pe.set(r,q),q}while($>=1&&F>=0);break}}}finally{Ue=!1,Ce.current=S,We(),Error.prepareStackTrace=k}var de=r?r.displayName||r.name:"",ie=de?ue(de):"";return typeof r=="function"&&Pe.set(r,ie),ie}function Nr(r,u,f){return nr(r,!1)}function or(r){var u=r.prototype;return!!(u&&u.isReactComponent)}function ae(r,u,f){if(r==null)return"";if(typeof r=="function")return nr(r,or(r));if(typeof r=="string")return ue(r);switch(r){case x:return ue("Suspense");case N:return ue("SuspenseList")}if(typeof r=="object")switch(r.$$typeof){case y:return Nr(r.render);case V:return ae(r.type,u,f);case H:{var m=r,k=m._payload,S=m._init;try{return ae(S(k),u,f)}catch{}}}return""}var he=Object.prototype.hasOwnProperty,Ye={},ee=oe.ReactDebugCurrentFrame;function ne(r){if(r){var u=r._owner,f=ae(r.type,r._source,u?u.type:null);ee.setExtraStackFrame(f)}else ee.setExtraStackFrame(null)}function ar(r,u,f,m,k){{var S=Function.call.bind(he);for(var T in r)if(S(r,T)){var R=void 0;try{if(typeof r[T]!="function"){var U=Error((m||"React class")+": "+f+" type `"+T+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof r[T]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw U.name="Invariant Violation",U}R=r[T](u,T,m,f,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch($){R=$}R&&!(R instanceof Error)&&(ne(k),A("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",m||"React class",f,T,typeof R),ne(null)),R instanceof Error&&!(R.message in Ye)&&(Ye[R.message]=!0,ne(k),A("Failed %s type: %s",f,R.message),ne(null))}}}var ir=Array.isArray;function we(r){return ir(r)}function Be(r){{var u=typeof Symbol=="function"&&Symbol.toStringTag,f=u&&r[Symbol.toStringTag]||r.constructor.name||"Object";return f}}function sr(r){try{return ze(r),!1}catch{return!0}}function ze(r){return""+r}function ur(r){if(sr(r))return A("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Be(r)),ze(r)}var me=oe.ReactCurrentOwner,Lr={key:!0,ref:!0,__self:!0,__source:!0},ke,lr,Ke;Ke={};function Wr(r){if(he.call(r,"ref")){var u=Object.getOwnPropertyDescriptor(r,"ref").get;if(u&&u.isReactWarning)return!1}return r.ref!==void 0}function le(r){if(he.call(r,"key")){var u=Object.getOwnPropertyDescriptor(r,"key").get;if(u&&u.isReactWarning)return!1}return r.key!==void 0}function cr(r,u){if(typeof r.ref=="string"&&me.current&&u&&me.current.stateNode!==u){var f=W(me.current.type);Ke[f]||(A('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',W(me.current.type),r.ref),Ke[f]=!0)}}function Ur(r,u){{var f=function(){ke||(ke=!0,A("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",u))};f.isReactWarning=!0,Object.defineProperty(r,"key",{get:f,configurable:!0})}}function Yr(r,u){{var f=function(){lr||(lr=!0,A("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",u))};f.isReactWarning=!0,Object.defineProperty(r,"ref",{get:f,configurable:!0})}}var fr=function(r,u,f,m,k,S,T){var R={$$typeof:o,type:r,key:u,ref:f,props:T,_owner:S};return R._store={},Object.defineProperty(R._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(R,"_self",{configurable:!1,enumerable:!1,writable:!1,value:m}),Object.defineProperty(R,"_source",{configurable:!1,enumerable:!1,writable:!1,value:k}),Object.freeze&&(Object.freeze(R.props),Object.freeze(R)),R};function Br(r,u,f,m,k){{var S,T={},R=null,U=null;f!==void 0&&(ur(f),R=""+f),le(u)&&(ur(u.key),R=""+u.key),Wr(u)&&(U=u.ref,cr(u,k));for(S in u)he.call(u,S)&&!Lr.hasOwnProperty(S)&&(T[S]=u[S]);if(r&&r.defaultProps){var $=r.defaultProps;for(S in $)T[S]===void 0&&(T[S]=$[S])}if(R||U){var F=typeof r=="function"?r.displayName||r.name||"Unknown":r;R&&Ur(T,F),U&&Yr(T,F)}return fr(r,R,U,k,m,me.current,T)}}var Se=oe.ReactCurrentOwner,Oe=oe.ReactDebugCurrentFrame;function re(r){if(r){var u=r._owner,f=ae(r.type,r._source,u?u.type:null);Oe.setExtraStackFrame(f)}else Oe.setExtraStackFrame(null)}var ce;ce=!1;function He(r){return typeof r=="object"&&r!==null&&r.$$typeof===o}function dr(){{if(Se.current){var r=W(Se.current.type);if(r)return`
Check the render method of \``+r+"`."}return""}}function zr(r){{if(r!==void 0){var u=r.fileName.replace(/^.*[\\\/]/,""),f=r.lineNumber;return`
Check your code at `+u+":"+f+"."}return""}}var pr={};function Kr(r){{var u=dr();if(!u){var f=typeof r=="string"?r:r.displayName||r.name;f&&(u=`
Check the top-level render call using <`+f+">.")}return u}}function fe(r,u){{if(!r._store||r._store.validated||r.key!=null)return;r._store.validated=!0;var f=Kr(u);if(pr[f])return;pr[f]=!0;var m="";r&&r._owner&&r._owner!==Se.current&&(m=" It was passed a child from "+W(r._owner.type)+"."),re(r),A('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',f,m),re(null)}}function xe(r,u){{if(typeof r!="object")return;if(we(r))for(var f=0;f<r.length;f++){var m=r[f];He(m)&&fe(m,u)}else if(He(r))r._store&&(r._store.validated=!0);else if(r){var k=Ze(r);if(typeof k=="function"&&k!==r.entries)for(var S=k.call(r),T;!(T=S.next()).done;)He(T.value)&&fe(T.value,u)}}}function vr(r){{var u=r.type;if(u==null||typeof u=="string")return;var f;if(typeof u=="function")f=u.propTypes;else if(typeof u=="object"&&(u.$$typeof===y||u.$$typeof===V))f=u.propTypes;else return;if(f){var m=W(u);ar(f,r.props,"prop",m,r)}else if(u.PropTypes!==void 0&&!ce){ce=!0;var k=W(u);A("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",k||"Unknown")}typeof u.getDefaultProps=="function"&&!u.getDefaultProps.isReactClassApproved&&A("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Hr(r){{for(var u=Object.keys(r.props),f=0;f<u.length;f++){var m=u[f];if(m!=="children"&&m!=="key"){re(r),A("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",m),re(null);break}}r.ref!==null&&(re(r),A("Invalid attribute `ref` supplied to `React.Fragment`."),re(null))}}var yr={};function hr(r,u,f,m,k,S){{var T=Fr(r);if(!T){var R="";(r===void 0||typeof r=="object"&&r!==null&&Object.keys(r).length===0)&&(R+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var U=zr(k);U?R+=U:R+=dr();var $;r===null?$="null":we(r)?$="array":r!==void 0&&r.$$typeof===o?($="<"+(W(r.type)||"Unknown")+" />",R=" Did you accidentally export a JSX literal instead of a component?"):$=typeof r,A("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",$,R)}var F=Br(r,u,f,k,S);if(F==null)return F;if(T){var q=u.children;if(q!==void 0)if(m)if(we(q)){for(var de=0;de<q.length;de++)xe(q[de],r);Object.freeze&&Object.freeze(q)}else A("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else xe(q,r)}if(he.call(u,"key")){var ie=W(r),B=Object.keys(u).filter(function(br){return br!=="key"}),Je=B.length>0?"{key: someKey, "+B.join(": ..., ")+": ...}":"{key: someKey}";if(!yr[ie+Je]){var ge=B.length>0?"{"+B.join(": ..., ")+": ...}":"{}";A(`A props object containing a "key" prop is being spread into JSX:
let props = %s;
<%s {...props} />
React keys must be passed directly to JSX without using spread:
let props = %s;
<%s key={someKey} {...props} />`,Je,ie,ge,ie),yr[ie+Je]=!0}}return r===s?Hr(F):vr(F),F}}function Jr(r,u,f){return hr(r,u,f,!0)}function mr(r,u,f){return hr(r,u,f,!1)}var gr=mr,qr=Jr;Ar.Fragment=s,Ar.jsx=gr,Ar.jsxs=qr}()});var Xe=Ae((Io,yt)=>{"use strict";process.env.NODE_ENV==="production"?yt.exports=yn():yt.exports=hn()});var Po={};module.exports=Gn(Po);var Rn=require("commander");var Ut="recently-published";var Yt="0.9.2";var Ht=se(require("semver/functions/parse.js"),1),Jt=se(require("validate-npm-package-name"),1);var Bt=se(require("util"),1),zt=require("child_process"),qe=Bt.default.promisify(zt.exec);async function Kt(n,o,l){let s=[];for(let d=0;d<n.length;d+=o){let v=d+o>n.length?n.length:d+o,b=await Promise.all(n.slice(d,v).map(l));s=[...s,...b]}return s}var qt=async n=>{try{let{stdout:o}=await qe(`npm view ${n} time --json`),l=JSON.parse(o);return delete l.created,delete l.modified,Object.entries(l).map(([s,d])=>({version:s,...(0,Ht.default)(s),publishDate:new Date(d)}))}catch(o){console.error(o.message),process.exit(1)}},Gt=async()=>{try{let{stdout:n}=await qe("npm list --json"),o=JSON.parse(n);if(!o.dependencies)throw new Error("No installed packages found in this directory");return Object.entries(o.dependencies).map(([l,s])=>({name:l,...s}))}catch(n){console.error(n.message),process.exit(1)}},Xt=n=>{if(n===void 0)return!0;let o=(0,Jt.default)(n);return!(!o.validForNewPackages&&!o.validForOldPackages)};var Qt=require("semver"),at=(n,o)=>o.display==="all"?n:n.slice(0,parseInt(o.display)),Zt=(n,o)=>o.excludePrerelease?n.filter(l=>Array.isArray(l.prerelease)&&l.prerelease.length==0):n,it=n=>n.sort((o,l)=>{let s=l.publishDate.getTime()-o.publishDate.getTime();return s===0?(0,Qt.compare)(l.version,o.version):s});function st(n){let l=Math.floor((new Date().getTime()-n.getTime())/1e3),s=Math.floor(l/31536e3);return s>1?`${s} years ago`:(s=Math.floor(l/2592e3),s>1?`${s} months ago`:(s=Math.floor(l/86400),s>1?`${s} days ago`:(s=Math.floor(l/3600),s>1?`${s} hours ago`:(s=Math.floor(l/60),s>1?`${s} minutes ago`:`${Math.floor(l)} seconds ago`))))}function ut(n){let o=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],s=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"][n.getDay()],d=o[n.getMonth()],v=n.getDate(),b=n.getFullYear(),_=n.getHours(),y=n.getMinutes().toString().padStart(2,"0"),x=_>=12?"PM":"AM";return _=_%12||12,`${s} ${d} ${v} ${b} ${_}:${y} ${x}`}var mn=se(jr(),1),pe=require("ink"),gn=require("object-hash"),z=se(Xe(),1),Ie=class extends mn.default.Component{getConfig(){return{data:this.props.data,columns:this.props.columns||this.getDataKeys(),padding:this.props.padding||1,header:this.props.header||_o,cell:this.props.cell||Eo,skeleton:this.props.skeleton||Ro}}getDataKeys(){let