@omniviewdev/providers 0.1.0

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.js ADDED
@@ -0,0 +1,37 @@
1
+ "use strict";var Ke=Object.create;var dt=Object.defineProperty;var Qe=Object.getOwnPropertyDescriptor;var Xe=Object.getOwnPropertyNames;var Ze=Object.getPrototypeOf,tn=Object.prototype.hasOwnProperty;var xt=(t,i)=>()=>(i||t((i={exports:{}}).exports,i),i.exports),D=(t,i)=>{for(var l in i)dt(t,l,{get:i[l],enumerable:!0})},ve=(t,i,l,c)=>{if(i&&typeof i=="object"||typeof i=="function")for(let p of Xe(i))!tn.call(t,p)&&p!==l&&dt(t,p,{get:()=>i[p],enumerable:!(c=Qe(i,p))||c.enumerable});return t};var be=(t,i,l)=>(l=t!=null?Ke(Ze(t)):{},ve(i||!t||!t.__esModule?dt(l,"default",{value:t,enumerable:!0}):l,t)),en=t=>ve(dt({},"__esModule",{value:!0}),t);var Ge=xt(x=>{"use strict";var qt=Symbol.for("react.transitional.element"),zo=Symbol.for("react.portal"),Yo=Symbol.for("react.fragment"),Bo=Symbol.for("react.strict_mode"),qo=Symbol.for("react.profiler"),Ko=Symbol.for("react.consumer"),Qo=Symbol.for("react.context"),Xo=Symbol.for("react.forward_ref"),Zo=Symbol.for("react.suspense"),ts=Symbol.for("react.memo"),Ae=Symbol.for("react.lazy"),es=Symbol.for("react.activity"),Te=Symbol.iterator;function ns(t){return t===null||typeof t!="object"?null:(t=Te&&t[Te]||t["@@iterator"],typeof t=="function"?t:null)}var De={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Me=Object.assign,Ve={};function Z(t,i,l){this.props=t,this.context=i,this.refs=Ve,this.updater=l||De}Z.prototype.isReactComponent={};Z.prototype.setState=function(t,i){if(typeof t!="object"&&typeof t!="function"&&t!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,t,i,"setState")};Z.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this,t,"forceUpdate")};function je(){}je.prototype=Z.prototype;function Kt(t,i,l){this.props=t,this.context=i,this.refs=Ve,this.updater=l||De}var Qt=Kt.prototype=new je;Qt.constructor=Kt;Me(Qt,Z.prototype);Qt.isPureReactComponent=!0;var ke=Array.isArray;function Bt(){}var F={H:null,A:null,T:null,S:null},Le=Object.prototype.hasOwnProperty;function Xt(t,i,l){var c=l.ref;return{$$typeof:qt,type:t,key:i,ref:c!==void 0?c:null,props:l}}function rs(t,i){return Xt(t.type,i,t.props)}function Zt(t){return typeof t=="object"&&t!==null&&t.$$typeof===qt}function is(t){var i={"=":"=0",":":"=2"};return"$"+t.replace(/[=:]/g,function(l){return i[l]})}var Fe=/\/+/g;function Yt(t,i){return typeof t=="object"&&t!==null&&t.key!=null?is(""+t.key):i.toString(36)}function os(t){switch(t.status){case"fulfilled":return t.value;case"rejected":throw t.reason;default:switch(typeof t.status=="string"?t.then(Bt,Bt):(t.status="pending",t.then(function(i){t.status==="pending"&&(t.status="fulfilled",t.value=i)},function(i){t.status==="pending"&&(t.status="rejected",t.reason=i)})),t.status){case"fulfilled":return t.value;case"rejected":throw t.reason}}throw t}function X(t,i,l,c,p){var w=typeof t;(w==="undefined"||w==="boolean")&&(t=null);var o=!1;if(t===null)o=!0;else switch(w){case"bigint":case"string":case"number":o=!0;break;case"object":switch(t.$$typeof){case qt:case zo:o=!0;break;case Ae:return o=t._init,X(o(t._payload),i,l,c,p)}}if(o)return p=p(t),o=c===""?"."+Yt(t,0):c,ke(p)?(l="",o!=null&&(l=o.replace(Fe,"$&/")+"/"),X(p,i,l,"",function(a){return a})):p!=null&&(Zt(p)&&(p=rs(p,l+(p.key==null||t&&t.key===p.key?"":(""+p.key).replace(Fe,"$&/")+"/")+o)),i.push(p)),1;o=0;var n=c===""?".":c+":";if(ke(t))for(var g=0;g<t.length;g++)c=t[g],w=n+Yt(c,g),o+=X(c,i,l,w,p);else if(g=ns(t),typeof g=="function")for(t=g.call(t),g=0;!(c=t.next()).done;)c=c.value,w=n+Yt(c,g++),o+=X(c,i,l,w,p);else if(w==="object"){if(typeof t.then=="function")return X(os(t),i,l,c,p);throw i=String(t),Error("Objects are not valid as a React child (found: "+(i==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":i)+"). If you meant to render a collection of children, use an array instead.")}return o}function mt(t,i,l){if(t==null)return t;var c=[],p=0;return X(t,c,"","",function(w){return i.call(l,w,p++)}),c}function ss(t){if(t._status===-1){var i=t._result;i=i(),i.then(function(l){(t._status===0||t._status===-1)&&(t._status=1,t._result=l)},function(l){(t._status===0||t._status===-1)&&(t._status=2,t._result=l)}),t._status===-1&&(t._status=0,t._result=i)}if(t._status===1)return t._result.default;throw t._result}var Ne=typeof reportError=="function"?reportError:function(t){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var i=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof t=="object"&&t!==null&&typeof t.message=="string"?String(t.message):String(t),error:t});if(!window.dispatchEvent(i))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",t);return}console.error(t)},as={map:mt,forEach:function(t,i,l){mt(t,function(){i.apply(this,arguments)},l)},count:function(t){var i=0;return mt(t,function(){i++}),i},toArray:function(t){return mt(t,function(i){return i})||[]},only:function(t){if(!Zt(t))throw Error("React.Children.only expected to receive a single React element child.");return t}};x.Activity=es;x.Children=as;x.Component=Z;x.Fragment=Yo;x.Profiler=qo;x.PureComponent=Kt;x.StrictMode=Bo;x.Suspense=Zo;x.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=F;x.__COMPILER_RUNTIME={__proto__:null,c:function(t){return F.H.useMemoCache(t)}};x.cache=function(t){return function(){return t.apply(null,arguments)}};x.cacheSignal=function(){return null};x.cloneElement=function(t,i,l){if(t==null)throw Error("The argument must be a React element, but you passed "+t+".");var c=Me({},t.props),p=t.key;if(i!=null)for(w in i.key!==void 0&&(p=""+i.key),i)!Le.call(i,w)||w==="key"||w==="__self"||w==="__source"||w==="ref"&&i.ref===void 0||(c[w]=i[w]);var w=arguments.length-2;if(w===1)c.children=l;else if(1<w){for(var o=Array(w),n=0;n<w;n++)o[n]=arguments[n+2];c.children=o}return Xt(t.type,p,c)};x.createContext=function(t){return t={$$typeof:Qo,_currentValue:t,_currentValue2:t,_threadCount:0,Provider:null,Consumer:null},t.Provider=t,t.Consumer={$$typeof:Ko,_context:t},t};x.createElement=function(t,i,l){var c,p={},w=null;if(i!=null)for(c in i.key!==void 0&&(w=""+i.key),i)Le.call(i,c)&&c!=="key"&&c!=="__self"&&c!=="__source"&&(p[c]=i[c]);var o=arguments.length-2;if(o===1)p.children=l;else if(1<o){for(var n=Array(o),g=0;g<o;g++)n[g]=arguments[g+2];p.children=n}if(t&&t.defaultProps)for(c in o=t.defaultProps,o)p[c]===void 0&&(p[c]=o[c]);return Xt(t,w,p)};x.createRef=function(){return{current:null}};x.forwardRef=function(t){return{$$typeof:Xo,render:t}};x.isValidElement=Zt;x.lazy=function(t){return{$$typeof:Ae,_payload:{_status:-1,_result:t},_init:ss}};x.memo=function(t,i){return{$$typeof:ts,type:t,compare:i===void 0?null:i}};x.startTransition=function(t){var i=F.T,l={};F.T=l;try{var c=t(),p=F.S;p!==null&&p(l,c),typeof c=="object"&&c!==null&&typeof c.then=="function"&&c.then(Bt,Ne)}catch(w){Ne(w)}finally{i!==null&&l.types!==null&&(i.types=l.types),F.T=i}};x.unstable_useCacheRefresh=function(){return F.H.useCacheRefresh()};x.use=function(t){return F.H.use(t)};x.useActionState=function(t,i,l){return F.H.useActionState(t,i,l)};x.useCallback=function(t,i){return F.H.useCallback(t,i)};x.useContext=function(t){return F.H.useContext(t)};x.useDebugValue=function(){};x.useDeferredValue=function(t,i){return F.H.useDeferredValue(t,i)};x.useEffect=function(t,i){return F.H.useEffect(t,i)};x.useEffectEvent=function(t){return F.H.useEffectEvent(t)};x.useId=function(){return F.H.useId()};x.useImperativeHandle=function(t,i,l){return F.H.useImperativeHandle(t,i,l)};x.useInsertionEffect=function(t,i){return F.H.useInsertionEffect(t,i)};x.useLayoutEffect=function(t,i){return F.H.useLayoutEffect(t,i)};x.useMemo=function(t,i){return F.H.useMemo(t,i)};x.useOptimistic=function(t,i){return F.H.useOptimistic(t,i)};x.useReducer=function(t,i,l){return F.H.useReducer(t,i,l)};x.useRef=function(t){return F.H.useRef(t)};x.useState=function(t){return F.H.useState(t)};x.useSyncExternalStore=function(t,i,l){return F.H.useSyncExternalStore(t,i,l)};x.useTransition=function(){return F.H.useTransition()};x.version="19.2.4"});var Ie=xt((S,yt)=>{"use strict";process.env.NODE_ENV!=="production"&&function(){function t(r,u){Object.defineProperty(c.prototype,r,{get:function(){console.warn("%s(...) is deprecated in plain JavaScript React classes. %s",u[0],u[1])}})}function i(r){return r===null||typeof r!="object"?null:(r=M&&r[M]||r["@@iterator"],typeof r=="function"?r:null)}function l(r,u){r=(r=r.constructor)&&(r.displayName||r.name)||"ReactClass";var f=r+"."+u;se[f]||(console.error("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",u,r),se[f]=!0)}function c(r,u,f){this.props=r,this.context=u,this.refs=bt,this.updater=f||ae}function p(){}function w(r,u,f){this.props=r,this.context=u,this.refs=bt,this.updater=f||ae}function o(){}function n(r){return""+r}function g(r){try{n(r);var u=!1}catch{u=!0}if(u){u=console;var f=u.error,d=typeof Symbol=="function"&&Symbol.toStringTag&&r[Symbol.toStringTag]||r.constructor.name||"Object";return f.call(u,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",d),n(r)}}function a(r){if(r==null)return null;if(typeof r=="function")return r.$$typeof===$e?null:r.displayName||r.name||null;if(typeof r=="string")return r;switch(r){case b:return"Fragment";case y:return"Profiler";case k:return"StrictMode";case ie:return"Suspense";case He:return"SuspenseList";case oe:return"Activity"}if(typeof r=="object")switch(typeof r.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),r.$$typeof){case e:return"Portal";case ne:return r.displayName||"Context";case ht:return(r._context.displayName||"Context")+".Consumer";case re:var u=r.render;return r=r.displayName,r||(r=u.displayName||u.name||"",r=r!==""?"ForwardRef("+r+")":"ForwardRef"),r;case vt:return u=r.displayName||null,u!==null?u:a(r.type)||"Memo";case rt:u=r._payload,r=r._init;try{return a(r(u))}catch{}}return null}function m(r){if(r===b)return"<>";if(typeof r=="object"&&r!==null&&r.$$typeof===rt)return"<...>";try{var u=a(r);return u?"<"+u+">":"<...>"}catch{return"<...>"}}function j(){var r=E.A;return r===null?null:r.getOwner()}function P(){return Error("react-stack-top-frame")}function L(r){if(lt.call(r,"key")){var u=Object.getOwnPropertyDescriptor(r,"key").get;if(u&&u.isReactWarning)return!1}return r.key!==void 0}function s(r,u){function f(){pe||(pe=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",u))}f.isReactWarning=!0,Object.defineProperty(r,"key",{get:f,configurable:!0})}function _(){var r=a(this.type);return ge[r]||(ge[r]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),r=this.props.ref,r!==void 0?r:null}function N(r,u,f,d,h,R){var O=f.ref;return r={$$typeof:wt,type:r,key:u,props:f,_owner:d},(O!==void 0?O:null)!==null?Object.defineProperty(r,"ref",{enumerable:!1,get:_}):Object.defineProperty(r,"ref",{enumerable:!1,value:null}),r._store={},Object.defineProperty(r._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(r,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(r,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:h}),Object.defineProperty(r,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:R}),Object.freeze&&(Object.freeze(r.props),Object.freeze(r)),r}function v(r,u){return u=N(r.type,u,r.props,r._owner,r._debugStack,r._debugTask),r._store&&(u._store.validated=r._store.validated),u}function tt(r){I(r)?r._store&&(r._store.validated=1):typeof r=="object"&&r!==null&&r.$$typeof===rt&&(r._payload.status==="fulfilled"?I(r._payload.value)&&r._payload.value._store&&(r._payload.value._store.validated=1):r._store&&(r._store.validated=1))}function I(r){return typeof r=="object"&&r!==null&&r.$$typeof===wt}function ut(r){var u={"=":"=0",":":"=2"};return"$"+r.replace(/[=:]/g,function(f){return u[f]})}function Y(r,u){return typeof r=="object"&&r!==null&&r.key!=null?(g(r.key),ut(""+r.key)):u.toString(36)}function et(r){switch(r.status){case"fulfilled":return r.value;case"rejected":throw r.reason;default:switch(typeof r.status=="string"?r.then(o,o):(r.status="pending",r.then(function(u){r.status==="pending"&&(r.status="fulfilled",r.value=u)},function(u){r.status==="pending"&&(r.status="rejected",r.reason=u)})),r.status){case"fulfilled":return r.value;case"rejected":throw r.reason}}throw r}function W(r,u,f,d,h){var R=typeof r;(R==="undefined"||R==="boolean")&&(r=null);var O=!1;if(r===null)O=!0;else switch(R){case"bigint":case"string":case"number":O=!0;break;case"object":switch(r.$$typeof){case wt:case e:O=!0;break;case rt:return O=r._init,W(O(r._payload),u,f,d,h)}}if(O){O=r,h=h(O);var T=d===""?"."+Y(O,0):d;return ce(h)?(f="",T!=null&&(f=T.replace(me,"$&/")+"/"),W(h,u,f,"",function(U){return U})):h!=null&&(I(h)&&(h.key!=null&&(O&&O.key===h.key||g(h.key)),f=v(h,f+(h.key==null||O&&O.key===h.key?"":(""+h.key).replace(me,"$&/")+"/")+T),d!==""&&O!=null&&I(O)&&O.key==null&&O._store&&!O._store.validated&&(f._store.validated=2),h=f),u.push(h)),1}if(O=0,T=d===""?".":d+":",ce(r))for(var C=0;C<r.length;C++)d=r[C],R=T+Y(d,C),O+=W(d,u,f,R,h);else if(C=i(r),typeof C=="function")for(C===r.entries&&(de||console.warn("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),de=!0),r=C.call(r),C=0;!(d=r.next()).done;)d=d.value,R=T+Y(d,C++),O+=W(d,u,f,R,h);else if(R==="object"){if(typeof r.then=="function")return W(et(r),u,f,d,h);throw u=String(r),Error("Objects are not valid as a React child (found: "+(u==="[object Object]"?"object with keys {"+Object.keys(r).join(", ")+"}":u)+"). If you meant to render a collection of children, use an array instead.")}return O}function H(r,u,f){if(r==null)return r;var d=[],h=0;return W(r,d,"","",function(R){return u.call(f,R,h++)}),d}function ct(r){if(r._status===-1){var u=r._ioInfo;u!=null&&(u.start=u.end=performance.now()),u=r._result;var f=u();if(f.then(function(h){if(r._status===0||r._status===-1){r._status=1,r._result=h;var R=r._ioInfo;R!=null&&(R.end=performance.now()),f.status===void 0&&(f.status="fulfilled",f.value=h)}},function(h){if(r._status===0||r._status===-1){r._status=2,r._result=h;var R=r._ioInfo;R!=null&&(R.end=performance.now()),f.status===void 0&&(f.status="rejected",f.reason=h)}}),u=r._ioInfo,u!=null){u.value=f;var d=f.displayName;typeof d=="string"&&(u.name=d)}r._status===-1&&(r._status=0,r._result=f)}if(r._status===1)return u=r._result,u===void 0&&console.error(`lazy: Expected the result of a dynamic import() call. Instead received: %s
2
+
3
+ Your code should look like:
4
+ const MyComponent = lazy(() => import('./MyComponent'))
5
+
6
+ Did you accidentally put curly braces around the import?`,u),"default"in u||console.error(`lazy: Expected the result of a dynamic import() call. Instead received: %s
7
+
8
+ Your code should look like:
9
+ const MyComponent = lazy(() => import('./MyComponent'))`,u),u.default;throw r._result}function A(){var r=E.H;return r===null&&console.error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
10
+ 1. You might have mismatching versions of React and the renderer (such as React DOM)
11
+ 2. You might be breaking the Rules of Hooks
12
+ 3. You might have more than one copy of React in the same app
13
+ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),r}function nt(){E.asyncTransitions--}function $(r){if(pt===null)try{var u=("require"+Math.random()).slice(0,7);pt=(yt&&yt[u]).call(yt,"timers").setImmediate}catch{pt=function(d){we===!1&&(we=!0,typeof MessageChannel>"u"&&console.error("This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning."));var h=new MessageChannel;h.port1.onmessage=d,h.port2.postMessage(void 0)}}return pt(r)}function J(r){return 1<r.length&&typeof AggregateError=="function"?new AggregateError(r):r[0]}function z(r,u){u!==ft-1&&console.error("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "),ft=u}function B(r,u,f){var d=E.actQueue;if(d!==null)if(d.length!==0)try{q(d),$(function(){return B(r,u,f)});return}catch(h){E.thrownErrors.push(h)}else E.actQueue=null;0<E.thrownErrors.length?(d=J(E.thrownErrors),E.thrownErrors.length=0,f(d)):u(r)}function q(r){if(!St){St=!0;var u=0;try{for(;u<r.length;u++){var f=r[u];do{E.didUsePromise=!1;var d=f(!1);if(d!==null){if(E.didUsePromise){r[u]=f,r.splice(0,u);return}f=d}else break}while(!0)}r.length=0}catch(h){r.splice(0,u+1),E.thrownErrors.push(h)}finally{St=!1}}}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var wt=Symbol.for("react.transitional.element"),e=Symbol.for("react.portal"),b=Symbol.for("react.fragment"),k=Symbol.for("react.strict_mode"),y=Symbol.for("react.profiler"),ht=Symbol.for("react.consumer"),ne=Symbol.for("react.context"),re=Symbol.for("react.forward_ref"),ie=Symbol.for("react.suspense"),He=Symbol.for("react.suspense_list"),vt=Symbol.for("react.memo"),rt=Symbol.for("react.lazy"),oe=Symbol.for("react.activity"),M=Symbol.iterator,se={},ae={isMounted:function(){return!1},enqueueForceUpdate:function(r){l(r,"forceUpdate")},enqueueReplaceState:function(r){l(r,"replaceState")},enqueueSetState:function(r){l(r,"setState")}},ue=Object.assign,bt={};Object.freeze(bt),c.prototype.isReactComponent={},c.prototype.setState=function(r,u){if(typeof r!="object"&&typeof r!="function"&&r!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,r,u,"setState")},c.prototype.forceUpdate=function(r){this.updater.enqueueForceUpdate(this,r,"forceUpdate")};var G={isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]};for(it in G)G.hasOwnProperty(it)&&t(it,G[it]);p.prototype=c.prototype,G=w.prototype=new p,G.constructor=w,ue(G,c.prototype),G.isPureReactComponent=!0;var ce=Array.isArray,$e=Symbol.for("react.client.reference"),E={H:null,A:null,T:null,S:null,actQueue:null,asyncTransitions:0,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1,didUsePromise:!1,thrownErrors:[],getCurrentStack:null,recentlyCreatedOwnerStacks:0},lt=Object.prototype.hasOwnProperty,le=console.createTask?console.createTask:function(){return null};G={react_stack_bottom_frame:function(r){return r()}};var pe,fe,ge={},ze=G.react_stack_bottom_frame.bind(G,P)(),Ye=le(m(P)),de=!1,me=/\/+/g,ye=typeof reportError=="function"?reportError:function(r){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var u=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof r=="object"&&r!==null&&typeof r.message=="string"?String(r.message):String(r),error:r});if(!window.dispatchEvent(u))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",r);return}console.error(r)},we=!1,pt=null,ft=0,gt=!1,St=!1,he=typeof queueMicrotask=="function"?function(r){queueMicrotask(function(){return queueMicrotask(r)})}:$;G=Object.freeze({__proto__:null,c:function(r){return A().useMemoCache(r)}});var it={map:H,forEach:function(r,u,f){H(r,function(){u.apply(this,arguments)},f)},count:function(r){var u=0;return H(r,function(){u++}),u},toArray:function(r){return H(r,function(u){return u})||[]},only:function(r){if(!I(r))throw Error("React.Children.only expected to receive a single React element child.");return r}};S.Activity=oe,S.Children=it,S.Component=c,S.Fragment=b,S.Profiler=y,S.PureComponent=w,S.StrictMode=k,S.Suspense=ie,S.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=E,S.__COMPILER_RUNTIME=G,S.act=function(r){var u=E.actQueue,f=ft;ft++;var d=E.actQueue=u!==null?u:[],h=!1;try{var R=r()}catch(C){E.thrownErrors.push(C)}if(0<E.thrownErrors.length)throw z(u,f),r=J(E.thrownErrors),E.thrownErrors.length=0,r;if(R!==null&&typeof R=="object"&&typeof R.then=="function"){var O=R;return he(function(){h||gt||(gt=!0,console.error("You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);"))}),{then:function(C,U){h=!0,O.then(function(K){if(z(u,f),f===0){try{q(d),$(function(){return B(K,C,U)})}catch(qe){E.thrownErrors.push(qe)}if(0<E.thrownErrors.length){var Be=J(E.thrownErrors);E.thrownErrors.length=0,U(Be)}}else C(K)},function(K){z(u,f),0<E.thrownErrors.length&&(K=J(E.thrownErrors),E.thrownErrors.length=0),U(K)})}}}var T=R;if(z(u,f),f===0&&(q(d),d.length!==0&&he(function(){h||gt||(gt=!0,console.error("A component suspended inside an `act` scope, but the `act` call was not awaited. When testing React components that depend on asynchronous data, you must await the result:\n\nawait act(() => ...)"))}),E.actQueue=null),0<E.thrownErrors.length)throw r=J(E.thrownErrors),E.thrownErrors.length=0,r;return{then:function(C,U){h=!0,f===0?(E.actQueue=d,$(function(){return B(T,C,U)})):C(T)}}},S.cache=function(r){return function(){return r.apply(null,arguments)}},S.cacheSignal=function(){return null},S.captureOwnerStack=function(){var r=E.getCurrentStack;return r===null?null:r()},S.cloneElement=function(r,u,f){if(r==null)throw Error("The argument must be a React element, but you passed "+r+".");var d=ue({},r.props),h=r.key,R=r._owner;if(u!=null){var O;t:{if(lt.call(u,"ref")&&(O=Object.getOwnPropertyDescriptor(u,"ref").get)&&O.isReactWarning){O=!1;break t}O=u.ref!==void 0}O&&(R=j()),L(u)&&(g(u.key),h=""+u.key);for(T in u)!lt.call(u,T)||T==="key"||T==="__self"||T==="__source"||T==="ref"&&u.ref===void 0||(d[T]=u[T])}var T=arguments.length-2;if(T===1)d.children=f;else if(1<T){O=Array(T);for(var C=0;C<T;C++)O[C]=arguments[C+2];d.children=O}for(d=N(r.type,h,d,R,r._debugStack,r._debugTask),h=2;h<arguments.length;h++)tt(arguments[h]);return d},S.createContext=function(r){return r={$$typeof:ne,_currentValue:r,_currentValue2:r,_threadCount:0,Provider:null,Consumer:null},r.Provider=r,r.Consumer={$$typeof:ht,_context:r},r._currentRenderer=null,r._currentRenderer2=null,r},S.createElement=function(r,u,f){for(var d=2;d<arguments.length;d++)tt(arguments[d]);d={};var h=null;if(u!=null)for(C in fe||!("__self"in u)||"key"in u||(fe=!0,console.warn("Your app (or one of its dependencies) is using an outdated JSX transform. Update to the modern JSX transform for faster performance: https://react.dev/link/new-jsx-transform")),L(u)&&(g(u.key),h=""+u.key),u)lt.call(u,C)&&C!=="key"&&C!=="__self"&&C!=="__source"&&(d[C]=u[C]);var R=arguments.length-2;if(R===1)d.children=f;else if(1<R){for(var O=Array(R),T=0;T<R;T++)O[T]=arguments[T+2];Object.freeze&&Object.freeze(O),d.children=O}if(r&&r.defaultProps)for(C in R=r.defaultProps,R)d[C]===void 0&&(d[C]=R[C]);h&&s(d,typeof r=="function"?r.displayName||r.name||"Unknown":r);var C=1e4>E.recentlyCreatedOwnerStacks++;return N(r,h,d,j(),C?Error("react-stack-top-frame"):ze,C?le(m(r)):Ye)},S.createRef=function(){var r={current:null};return Object.seal(r),r},S.forwardRef=function(r){r!=null&&r.$$typeof===vt?console.error("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof r!="function"?console.error("forwardRef requires a render function but was given %s.",r===null?"null":typeof r):r.length!==0&&r.length!==2&&console.error("forwardRef render functions accept exactly two parameters: props and ref. %s",r.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),r!=null&&r.defaultProps!=null&&console.error("forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?");var u={$$typeof:re,render:r},f;return Object.defineProperty(u,"displayName",{enumerable:!1,configurable:!0,get:function(){return f},set:function(d){f=d,r.name||r.displayName||(Object.defineProperty(r,"name",{value:d}),r.displayName=d)}}),u},S.isValidElement=I,S.lazy=function(r){r={_status:-1,_result:r};var u={$$typeof:rt,_payload:r,_init:ct},f={name:"lazy",start:-1,end:-1,value:null,owner:null,debugStack:Error("react-stack-top-frame"),debugTask:console.createTask?console.createTask("lazy()"):null};return r._ioInfo=f,u._debugInfo=[{awaited:f}],u},S.memo=function(r,u){r==null&&console.error("memo: The first argument must be a component. Instead received: %s",r===null?"null":typeof r),u={$$typeof:vt,type:r,compare:u===void 0?null:u};var f;return Object.defineProperty(u,"displayName",{enumerable:!1,configurable:!0,get:function(){return f},set:function(d){f=d,r.name||r.displayName||(Object.defineProperty(r,"name",{value:d}),r.displayName=d)}}),u},S.startTransition=function(r){var u=E.T,f={};f._updatedFibers=new Set,E.T=f;try{var d=r(),h=E.S;h!==null&&h(f,d),typeof d=="object"&&d!==null&&typeof d.then=="function"&&(E.asyncTransitions++,d.then(nt,nt),d.then(o,ye))}catch(R){ye(R)}finally{u===null&&f._updatedFibers&&(r=f._updatedFibers.size,f._updatedFibers.clear(),10<r&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table.")),u!==null&&f.types!==null&&(u.types!==null&&u.types!==f.types&&console.error("We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."),u.types=f.types),E.T=u}},S.unstable_useCacheRefresh=function(){return A().useCacheRefresh()},S.use=function(r){return A().use(r)},S.useActionState=function(r,u,f){return A().useActionState(r,u,f)},S.useCallback=function(r,u){return A().useCallback(r,u)},S.useContext=function(r){var u=A();return r.$$typeof===ht&&console.error("Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?"),u.useContext(r)},S.useDebugValue=function(r,u){return A().useDebugValue(r,u)},S.useDeferredValue=function(r,u){return A().useDeferredValue(r,u)},S.useEffect=function(r,u){return r==null&&console.warn("React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?"),A().useEffect(r,u)},S.useEffectEvent=function(r){return A().useEffectEvent(r)},S.useId=function(){return A().useId()},S.useImperativeHandle=function(r,u,f){return A().useImperativeHandle(r,u,f)},S.useInsertionEffect=function(r,u){return r==null&&console.warn("React Hook useInsertionEffect requires an effect callback. Did you forget to pass a callback to the hook?"),A().useInsertionEffect(r,u)},S.useLayoutEffect=function(r,u){return r==null&&console.warn("React Hook useLayoutEffect requires an effect callback. Did you forget to pass a callback to the hook?"),A().useLayoutEffect(r,u)},S.useMemo=function(r,u){return A().useMemo(r,u)},S.useOptimistic=function(r,u){return A().useOptimistic(r,u)},S.useReducer=function(r,u,f){return A().useReducer(r,u,f)},S.useRef=function(r){return A().useRef(r)},S.useState=function(r){return A().useState(r)},S.useSyncExternalStore=function(r,u,f){return A().useSyncExternalStore(r,u,f)},S.useTransition=function(){return A().useTransition()},S.version="19.2.4",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())}()});var ee=xt((gs,te)=>{"use strict";process.env.NODE_ENV==="production"?te.exports=Ge():te.exports=Ie()});var cs={};D(cs,{PortForwardContext:()=>Je,app:()=>Rt,config:()=>ot,data:()=>Ct,devserver:()=>Pt,diagnostics:()=>Tt,exec:()=>kt,logs:()=>Ft,main:()=>_t,metric:()=>Nt,networker:()=>Vt,plugin:()=>Ot,pluginManager:()=>jt,registry:()=>Et,resource:()=>Lt,runtime:()=>Wt,settings:()=>Jt,settingsProvider:()=>Ut,time:()=>V,trivy:()=>Ht,types:()=>Q,ui:()=>$t,useResourcePortForwarder:()=>Ue,utils:()=>zt});module.exports=en(cs);var ot;(n=>{class t{static createFrom(a={}){return new t(a)}constructor(a={}){typeof a=="string"&&(a=JSON.parse(a)),this.name=a.name,this.email=a.email,this.url=a.url}}n.PluginAuthor=t;class i{static createFrom(a={}){return new i(a)}constructor(a={}){typeof a=="string"&&(a=JSON.parse(a)),this.name=a.name,this.plugin=a.plugin,this.area=a.area,this.resources=a.resources,this.extension=a.extension}}n.PluginResourceComponent=i;class l{static createFrom(a={}){return new l(a)}constructor(a={}){typeof a=="string"&&(a=JSON.parse(a)),this.resource=this.convertValues(a.resource,i)}convertValues(a,m,j=!1){if(!a)return a;if(a.slice&&a.map)return a.map(P=>this.convertValues(P,m));if(typeof a=="object"){if(j){for(let P of Object.keys(a))a[P]=new m(a[P]);return a}return new m(a)}return a}}n.PluginComponents=l;class c{static createFrom(a={}){return new c(a)}constructor(a={}){typeof a=="string"&&(a=JSON.parse(a)),this.name=a.name,this.email=a.email}}n.PluginMaintainer=c;class p{static createFrom(a={}){return new p(a)}constructor(a={}){typeof a=="string"&&(a=JSON.parse(a)),this.primary=a.primary,this.secondary=a.secondary,this.tertiary=a.tertiary}}n.PluginThemeColors=p;class w{static createFrom(a={}){return new w(a)}constructor(a={}){typeof a=="string"&&(a=JSON.parse(a)),this.colors=this.convertValues(a.colors,p)}convertValues(a,m,j=!1){if(!a)return a;if(a.slice&&a.map)return a.map(P=>this.convertValues(P,m));if(typeof a=="object"){if(j){for(let P of Object.keys(a))a[P]=new m(a[P]);return a}return new m(a)}return a}}n.PluginTheme=w;class o{static createFrom(a={}){return new o(a)}constructor(a={}){typeof a=="string"&&(a=JSON.parse(a)),this.id=a.id,this.version=a.version,this.name=a.name,this.icon=a.icon,this.icon_url=a.icon_url,this.description=a.description,this.repository=a.repository,this.website=a.website,this.category=a.category,this.license=a.license,this.author=this.convertValues(a.author,t),this.maintainers=this.convertValues(a.maintainers,c),this.tags=a.tags,this.dependencies=a.dependencies,this.capabilities=a.capabilities,this.theme=this.convertValues(a.theme,w),this.components=this.convertValues(a.components,l)}convertValues(a,m,j=!1){if(!a)return a;if(a.slice&&a.map)return a.map(P=>this.convertValues(P,m));if(typeof a=="object"){if(j){for(let P of Object.keys(a))a[P]=new m(a[P]);return a}return new m(a)}return a}}n.PluginMeta=o})(ot||(ot={}));var Se;(p=>{class t{static createFrom(o={}){return new t(o)}constructor(o={}){typeof o=="string"&&(o=JSON.parse(o)),this.pid=o.pid,this.protocol=o.protocol,this.protocolVersion=o.protocolVersion,this.addr=o.addr,this.vitePort=o.vitePort,this.pluginId=o.pluginId,this.version=o.version,this.startedAt=o.startedAt}}p.DevInfoFile=t;class i{static createFrom(o={}){return new i(o)}constructor(o={}){typeof o=="string"&&(o=JSON.parse(o))}}p.DevServerManager=i;class l{static createFrom(o={}){return new l(o)}constructor(o={}){typeof o=="string"&&(o=JSON.parse(o)),this.pluginID=o.pluginID,this.mode=o.mode,this.devPath=o.devPath,this.vitePort=o.vitePort,this.viteURL=o.viteURL,this.viteStatus=o.viteStatus,this.goStatus=o.goStatus,this.lastBuildDuration=o.lastBuildDuration,this.lastBuildTime=this.convertValues(o.lastBuildTime,V.Time),this.lastError=o.lastError,this.grpcConnected=o.grpcConnected}convertValues(o,n,g=!1){if(!o)return o;if(o.slice&&o.map)return o.map(a=>this.convertValues(a,n));if(typeof o=="object"){if(g){for(let a of Object.keys(o))o[a]=new n(o[a]);return o}return new n(o)}return o}}p.DevServerState=l;class c{static createFrom(o={}){return new c(o)}constructor(o={}){typeof o=="string"&&(o=JSON.parse(o)),this.timestamp=this.convertValues(o.timestamp,V.Time),this.source=o.source,this.level=o.level,this.message=o.message,this.pluginID=o.pluginID}convertValues(o,n,g=!1){if(!o)return o;if(o.slice&&o.map)return o.map(a=>this.convertValues(a,n));if(typeof o=="object"){if(g){for(let a of Object.keys(o))o[a]=new n(o[a]);return o}return new n(o)}return o}}p.LogEntry=c})(Se||(Se={}));var xe;(w=>{class t{static createFrom(n={}){return new t(n)}constructor(n={}){typeof n=="string"&&(n=JSON.parse(n)),this.created_at=this.convertValues(n.created_at,V.Time),this.labels=n.labels,this.params=n.params,this.id=n.id,this.command=n.command,this.attached=n.attached}convertValues(n,g,a=!1){if(!n)return n;if(n.slice&&n.map)return n.map(m=>this.convertValues(m,g));if(typeof n=="object"){if(a){for(let m of Object.keys(n))n[m]=new g(n[m]);return n}return new g(n)}return n}}w.Session=t;class i{static createFrom(n={}){return new i(n)}constructor(n={}){typeof n=="string"&&(n=JSON.parse(n)),this.session=this.convertValues(n.session,t),this.buffer=n.buffer}convertValues(n,g,a=!1){if(!n)return n;if(n.slice&&n.map)return n.map(m=>this.convertValues(m,g));if(typeof n=="object"){if(a){for(let m of Object.keys(n))n[m]=new g(n[m]);return n}return new g(n)}return n}}w.AttachSessionResult=i;class l{static createFrom(n={}){return new l(n)}constructor(n={}){typeof n=="string"&&(n=JSON.parse(n)),this.labels=n.labels,this.command=n.command}}w.CreateTerminalOptions=l;class c{static createFrom(n={}){return new c(n)}constructor(n={}){typeof n=="string"&&(n=JSON.parse(n)),this.plugin=n.plugin,this.resource=n.resource,this.target_builder=this.convertValues(n.target_builder,Q.ActionTargetBuilder),this.default_command=n.default_command}convertValues(n,g,a=!1){if(!n)return n;if(n.slice&&n.map)return n.map(m=>this.convertValues(m,g));if(typeof n=="object"){if(a){for(let m of Object.keys(n))n[m]=new g(n[m]);return n}return new g(n)}return n}}w.Handler=c;class p{static createFrom(n={}){return new p(n)}constructor(n={}){typeof n=="string"&&(n=JSON.parse(n)),this.params=n.params,this.labels=n.labels,this.id=n.id,this.resource_plugin=n.resource_plugin,this.resource_key=n.resource_key,this.resource_data=n.resource_data,this.command=n.command,this.tty=n.tty}}w.SessionOptions=p})(xe||(xe={}));var _e;(w=>{class t{static createFrom(n={}){return new t(n)}constructor(n={}){typeof n=="string"&&(n=JSON.parse(n)),this.target=n.target,this.follow=n.follow,this.include_previous=n.include_previous,this.include_timestamps=n.include_timestamps,this.tail_lines=n.tail_lines,this.since_seconds=n.since_seconds,this.since_time=this.convertValues(n.since_time,V.Time),this.limit_bytes=n.limit_bytes,this.include_source_events=n.include_source_events,this.params=n.params}convertValues(n,g,a=!1){if(!n)return n;if(n.slice&&n.map)return n.map(m=>this.convertValues(m,g));if(typeof n=="object"){if(a){for(let m of Object.keys(n))n[m]=new g(n[m]);return n}return new g(n)}return n}}w.LogSessionOptions=t;class i{static createFrom(n={}){return new i(n)}constructor(n={}){typeof n=="string"&&(n=JSON.parse(n)),this.resource_key=n.resource_key,this.resource_id=n.resource_id,this.resource_data=n.resource_data,this.options=this.convertValues(n.options,t)}convertValues(n,g,a=!1){if(!n)return n;if(n.slice&&n.map)return n.map(m=>this.convertValues(m,g));if(typeof n=="object"){if(a){for(let m of Object.keys(n))n[m]=new g(n[m]);return n}return new g(n)}return n}}w.CreateSessionOptions=i;class l{static createFrom(n={}){return new l(n)}constructor(n={}){typeof n=="string"&&(n=JSON.parse(n)),this.plugin=n.plugin,this.resource=n.resource,this.target_builder=this.convertValues(n.target_builder,Q.ActionTargetBuilder)}convertValues(n,g,a=!1){if(!n)return n;if(n.slice&&n.map)return n.map(m=>this.convertValues(m,g));if(typeof n=="object"){if(a){for(let m of Object.keys(n))n[m]=new g(n[m]);return n}return new g(n)}return n}}w.Handler=l;class c{static createFrom(n={}){return new c(n)}constructor(n={}){typeof n=="string"&&(n=JSON.parse(n)),this.id=n.id,this.labels=n.labels}}w.LogSource=c;class p{static createFrom(n={}){return new p(n)}constructor(n={}){typeof n=="string"&&(n=JSON.parse(n)),this.id=n.id,this.plugin_id=n.plugin_id,this.connection_id=n.connection_id,this.resource_key=n.resource_key,this.resource_id=n.resource_id,this.options=this.convertValues(n.options,t),this.status=n.status,this.active_sources=this.convertValues(n.active_sources,c),this.created_at=this.convertValues(n.created_at,V.Time)}convertValues(n,g,a=!1){if(!n)return n;if(n.slice&&n.map)return n.map(m=>this.convertValues(m,g));if(typeof n=="object"){if(a){for(let m of Object.keys(n))n[m]=new g(n[m]);return n}return new g(n)}return n}}w.LogSession=p})(_e||(_e={}));var _t;(l=>{class t{static createFrom(p={}){return new t(p)}constructor(p={}){typeof p=="string"&&(p=JSON.parse(p)),this.displayName=p.displayName,this.pattern=p.pattern}}l.FileFilter=t;class i{static createFrom(p={}){return new i(p)}constructor(p={}){typeof p=="string"&&(p=JSON.parse(p)),this.defaultDirectory=p.defaultDirectory,this.defaultFilename=p.defaultFilename,this.title=p.title,this.filters=this.convertValues(p.filters,t),this.showHiddenFiles=p.showHiddenFiles,this.canCreateDirectories=p.canCreateDirectories,this.resolvesAliases=p.resolvesAliases,this.treatPackagesAsDirectories=p.treatPackagesAsDirectories}convertValues(p,w,o=!1){if(!p)return p;if(p.slice&&p.map)return p.map(n=>this.convertValues(n,w));if(typeof p=="object"){if(o){for(let n of Object.keys(p))p[n]=new w(p[n]);return p}return new w(p)}return p}}l.FileDialogOptions=i})(_t||(_t={}));var Oe;(P=>{class t{static createFrom(s={}){return new t(s)}constructor(s={}){typeof s=="string"&&(s=JSON.parse(s)),this.metric_id=s.metric_id,this.min=s.min,this.max=s.max,this.avg=s.avg,this.sum=s.sum,this.p50=s.p50,this.p90=s.p90,this.p99=s.p99,this.count=s.count,this.window=s.window,this.labels=s.labels}}P.AggregateValue=t;class i{static createFrom(s={}){return new i(s)}constructor(s={}){typeof s=="string"&&(s=JSON.parse(s)),this.min=s.min,this.max=s.max,this.color=s.color}}P.ColorRange=i;class l{static createFrom(s={}){return new l(s)}constructor(s={}){typeof s=="string"&&(s=JSON.parse(s)),this.metric_id=s.metric_id,this.value=s.value,this.timestamp=this.convertValues(s.timestamp,V.Time),this.labels=s.labels}convertValues(s,_,N=!1){if(!s)return s;if(s.slice&&s.map)return s.map(v=>this.convertValues(v,_));if(typeof s=="object"){if(N){for(let v of Object.keys(s))s[v]=new _(s[v]);return s}return new _(s)}return s}}P.CurrentValue=l;class c{static createFrom(s={}){return new c(s)}constructor(s={}){typeof s=="string"&&(s=JSON.parse(s)),this.timestamp=this.convertValues(s.timestamp,V.Time),this.value=s.value,this.labels=s.labels}convertValues(s,_,N=!1){if(!s)return s;if(s.slice&&s.map)return s.map(v=>this.convertValues(v,_));if(typeof s=="object"){if(N){for(let v of Object.keys(s))s[v]=new _(s[v]);return s}return new _(s)}return s}}P.DataPoint=c;class p{static createFrom(s={}){return new p(s)}constructor(s={}){typeof s=="string"&&(s=JSON.parse(s)),this.id=s.id,this.name=s.name,this.unit=s.unit,this.icon=s.icon,this.color_ranges=this.convertValues(s.color_ranges,i),this.format_string=s.format_string,this.supported_shapes=s.supported_shapes,this.chart_group=s.chart_group}convertValues(s,_,N=!1){if(!s)return s;if(s.slice&&s.map)return s.map(v=>this.convertValues(v,_));if(typeof s=="object"){if(N){for(let v of Object.keys(s))s[v]=new _(s[v]);return s}return new _(s)}return s}}P.MetricDescriptor=p;class w{static createFrom(s={}){return new w(s)}constructor(s={}){typeof s=="string"&&(s=JSON.parse(s)),this.resource=s.resource,this.metrics=this.convertValues(s.metrics,p)}convertValues(s,_,N=!1){if(!s)return s;if(s.slice&&s.map)return s.map(v=>this.convertValues(v,_));if(typeof s=="object"){if(N){for(let v of Object.keys(s))s[v]=new _(s[v]);return s}return new _(s)}return s}}P.Handler=w;class o{static createFrom(s={}){return new o(s)}constructor(s={}){typeof s=="string"&&(s=JSON.parse(s)),this.plugin_id=s.plugin_id,this.provider_id=s.provider_id,this.name=s.name,this.icon=s.icon,this.description=s.description,this.handlers=this.convertValues(s.handlers,w)}convertValues(s,_,N=!1){if(!s)return s;if(s.slice&&s.map)return s.map(v=>this.convertValues(v,_));if(typeof s=="object"){if(N){for(let v of Object.keys(s))s[v]=new _(s[v]);return s}return new _(s)}return s}}P.MetricProviderSummary=o;class n{static createFrom(s={}){return new n(s)}constructor(s={}){typeof s=="string"&&(s=JSON.parse(s)),this.metric_id=s.metric_id,this.data_points=this.convertValues(s.data_points,c),this.labels=s.labels}convertValues(s,_,N=!1){if(!s)return s;if(s.slice&&s.map)return s.map(v=>this.convertValues(v,_));if(typeof s=="object"){if(N){for(let v of Object.keys(s))s[v]=new _(s[v]);return s}return new _(s)}return s}}P.TimeSeries=n;class g{static createFrom(s={}){return new g(s)}constructor(s={}){typeof s=="string"&&(s=JSON.parse(s)),this.time_series=this.convertValues(s.time_series,n),this.current_value=this.convertValues(s.current_value,l),this.aggregate_value=this.convertValues(s.aggregate_value,t)}convertValues(s,_,N=!1){if(!s)return s;if(s.slice&&s.map)return s.map(v=>this.convertValues(v,_));if(typeof s=="object"){if(N){for(let v of Object.keys(s))s[v]=new _(s[v]);return s}return new _(s)}return s}}P.MetricResult=g;class a{static createFrom(s={}){return new a(s)}constructor(s={}){typeof s=="string"&&(s=JSON.parse(s)),this.resource_key=s.resource_key,this.resource_id=s.resource_id,this.resource_namespace=s.resource_namespace,this.resource_data=s.resource_data,this.metric_ids=s.metric_ids,this.shape=s.shape,this.start_time=this.convertValues(s.start_time,V.Time),this.end_time=this.convertValues(s.end_time,V.Time),this.step=s.step,this.params=s.params}convertValues(s,_,N=!1){if(!s)return s;if(s.slice&&s.map)return s.map(v=>this.convertValues(v,_));if(typeof s=="object"){if(N){for(let v of Object.keys(s))s[v]=new _(s[v]);return s}return new _(s)}return s}}P.QueryRequest=a;class m{static createFrom(s={}){return new m(s)}constructor(s={}){typeof s=="string"&&(s=JSON.parse(s)),this.success=s.success,this.results=this.convertValues(s.results,g),this.error=s.error}convertValues(s,_,N=!1){if(!s)return s;if(s.slice&&s.map)return s.map(v=>this.convertValues(v,_));if(typeof s=="object"){if(N){for(let v of Object.keys(s))s[v]=new _(s[v]);return s}return new _(s)}return s}}P.QueryResponse=m;class j{static createFrom(s={}){return new j(s)}constructor(s={}){typeof s=="string"&&(s=JSON.parse(s)),this.resource_key=s.resource_key,this.resource_id=s.resource_id,this.resource_namespace=s.resource_namespace,this.resource_data=s.resource_data,this.metric_ids=s.metric_ids,this.interval=s.interval}}P.SubscribeRequest=j})(Oe||(Oe={}));var st;(p=>{class t{static createFrom(o={}){return new t(o)}constructor(o={}){typeof o=="string"&&(o=JSON.parse(o)),this.resource_id=o.resource_id,this.connection_id=o.connection_id}}p.FindPortForwardSessionRequest=t;class i{static createFrom(o={}){return new i(o)}constructor(o={}){typeof o=="string"&&(o=JSON.parse(o)),this.algorithm=o.algorithm,this.key=o.key,this.enabled=o.enabled}}p.PortForwardSessionEncryption=i;class l{static createFrom(o={}){return new l(o)}constructor(o={}){typeof o=="string"&&(o=JSON.parse(o)),this.created_at=this.convertValues(o.created_at,V.Time),this.updated_at=this.convertValues(o.updated_at,V.Time),this.connection=o.connection,this.labels=o.labels,this.id=o.id,this.protocol=o.protocol,this.state=o.state,this.connection_type=o.connection_type,this.encryption=this.convertValues(o.encryption,i),this.local_port=o.local_port,this.remote_port=o.remote_port}convertValues(o,n,g=!1){if(!o)return o;if(o.slice&&o.map)return o.map(a=>this.convertValues(a,n));if(typeof o=="object"){if(g){for(let a of Object.keys(o))o[a]=new n(o[a]);return o}return new n(o)}return o}}p.PortForwardSession=l;class c{static createFrom(o={}){return new c(o)}constructor(o={}){typeof o=="string"&&(o=JSON.parse(o)),this.connection=o.connection,this.labels=o.labels,this.params=o.params,this.protocol=o.protocol,this.connection_type=o.connection_type,this.encryption=this.convertValues(o.encryption,i),this.local_port=o.local_port,this.remote_port=o.remote_port}convertValues(o,n,g=!1){if(!o)return o;if(o.slice&&o.map)return o.map(a=>this.convertValues(a,n));if(typeof o=="object"){if(g){for(let a of Object.keys(o))o[a]=new n(o[a]);return o}return new n(o)}return o}}p.PortForwardSessionOptions=c})(st||(st={}));var Ot;(i=>{class t{static createFrom(c={}){return new t(c)}constructor(c={}){typeof c=="string"&&(c=JSON.parse(c)),this.DevMode=c.DevMode,this.DevModePath=c.DevModePath,this.ExistingState=this.convertValues(c.ExistingState,Q.PluginState)}convertValues(c,p,w=!1){if(!c)return c;if(c.slice&&c.map)return c.map(o=>this.convertValues(o,p));if(typeof c=="object"){if(w){for(let o of Object.keys(c))c[o]=new p(c[o]);return c}return new p(c)}return c}}i.LoadPluginOptions=t})(Ot||(Ot={}));var Et;(w=>{class t{static createFrom(n={}){return new t(n)}constructor(n={}){typeof n=="string"&&(n=JSON.parse(n)),this.id=n.id,this.name=n.name,this.description=n.description,this.icon_url=n.icon_url,this.category=n.category,this.tags=n.tags,this.license=n.license,this.official=n.official,this.featured=n.featured,this.download_count=n.download_count,this.average_rating=n.average_rating,this.review_count=n.review_count,this.repository=n.repository,this.url=n.url,this.installed=n.installed,this.installed_version=n.installed_version,this.latest_version=n.latest_version,this.update_available=n.update_available}}w.AvailablePlugin=t;class i{static createFrom(n={}){return new i(n)}constructor(n={}){typeof n=="string"&&(n=JSON.parse(n)),this.date=n.date,this.count=n.count}}w.DailyStat=i;class l{static createFrom(n={}){return new l(n)}constructor(n={}){typeof n=="string"&&(n=JSON.parse(n)),this.total=n.total,this.last_month=n.last_month,this.last_week=n.last_week,this.daily_stats=this.convertValues(n.daily_stats,i)}convertValues(n,g,a=!1){if(!n)return n;if(n.slice&&n.map)return n.map(m=>this.convertValues(m,g));if(typeof n=="object"){if(a){for(let m of Object.keys(n))n[m]=new g(n[m]);return n}return new g(n)}return n}}w.DownloadStats=l;class c{static createFrom(n={}){return new c(n)}constructor(n={}){typeof n=="string"&&(n=JSON.parse(n)),this.id=n.id,this.user_id=n.user_id,this.rating=n.rating,this.title=n.title,this.body=n.body,this.created_at=n.created_at}}w.Review=c;class p{static createFrom(n={}){return new p(n)}constructor(n={}){typeof n=="string"&&(n=JSON.parse(n)),this.version=n.version,this.description=n.description,this.changelog=n.changelog,this.min_ide_version=n.min_ide_version,this.max_ide_version=n.max_ide_version,this.capabilities=n.capabilities,this.created_at=n.created_at}}w.VersionInfo=p})(Et||(Et={}));var Ee;(w=>{let t;(L=>(L.TEXT="text",L.INTEGER="integer",L.FLOAT="float",L.TOGGLE="toggle",L.COLOR="color",L.DATETIME="datetime",L.PASSWORD="password"))(t=w.SettingType||(w.SettingType={}));class i{static createFrom(n={}){return new i(n)}constructor(n={}){typeof n=="string"&&(n=JSON.parse(n)),this.enabled=n.enabled,this.allowFolders=n.allowFolders,this.extensions=n.extensions,this.multiple=n.multiple,this.relative=n.relative,this.defaultPath=n.defaultPath}}w.SettingFileSelection=i;class l{static createFrom(n={}){return new l(n)}constructor(n={}){typeof n=="string"&&(n=JSON.parse(n)),this.label=n.label,this.description=n.description,this.value=n.value}}w.SettingOption=l;class c{static createFrom(n={}){return new c(n)}constructor(n={}){typeof n=="string"&&(n=JSON.parse(n)),this.id=n.id,this.label=n.label,this.description=n.description,this.type=n.type,this.value=n.value,this.default=n.default,this.options=this.convertValues(n.options,l),this.fileSelection=this.convertValues(n.fileSelection,i),this.sensitive=n.sensitive}convertValues(n,g,a=!1){if(!n)return n;if(n.slice&&n.map)return n.map(m=>this.convertValues(m,g));if(typeof n=="object"){if(a){for(let m of Object.keys(n))n[m]=new g(n[m]);return n}return new g(n)}return n}}w.Setting=c;class p{static createFrom(n={}){return new p(n)}constructor(n={}){typeof n=="string"&&(n=JSON.parse(n)),this.settings=this.convertValues(n.settings,c,!0),this.id=n.id,this.label=n.label,this.description=n.description,this.icon=n.icon}convertValues(n,g,a=!1){if(!n)return n;if(n.slice&&n.map)return n.map(m=>this.convertValues(m,g));if(typeof n=="object"){if(a){for(let m of Object.keys(n))n[m]=new g(n[m]);return n}return new g(n)}return n}}w.Category=p})(Ee||(Ee={}));var V;(i=>{class t{static createFrom(c={}){return new t(c)}constructor(c={}){typeof c=="string"&&(c=JSON.parse(c))}}i.Time=t})(V||(V={}));var Re;(p=>{let t;(P=>(P.CONFIG="config",P.FILESYSTEM="fs",P.IMAGE="image",P.KUBERNETES="kubernetes",P.REPOSITORY="repository",P.ROOTFS="rootfs",P.SBOM="sbom"))(t=p.Command||(p.Command={}));let i;(a=>(a.VULN="vuln",a.MISCONFIG="misconfig",a.SECRET="secret",a.LICENSE="license"))(i=p.Scanner||(p.Scanner={}));class l{static createFrom(o={}){return new l(o)}constructor(o={}){typeof o=="string"&&(o=JSON.parse(o)),this.filePatterns=o.filePatterns,this.skipDirs=o.skipDirs,this.skipFiles=o.skipFiles,this.scanners=o.scanners}}p.ScanOptions=l;class c{static createFrom(o={}){return new c(o)}constructor(o={}){typeof o=="string"&&(o=JSON.parse(o)),this.timestamp=this.convertValues(o.timestamp,V.Time),this.result=o.result,this.id=o.id,this.command=o.command}convertValues(o,n,g=!1){if(!o)return o;if(o.slice&&o.map)return o.map(a=>this.convertValues(a,n));if(typeof o=="object"){if(g){for(let a of Object.keys(o))o[a]=new n(o[a]);return o}return new n(o)}return o}}p.ScanResult=c})(Re||(Re={}));var Q;(q=>{let t;(M=>(M.UNKNOWN="UNKNOWN",M.CONNECTED="CONNECTED",M.DISCONNECTED="DISCONNECTED",M.PENDING="PENDING",M.FAILED="FAILED",M.ERROR="ERROR",M.UNAUTHORIZED="UNAUTHORIZED",M.FORBIDDEN="FORBIDDEN",M.BAD_REQUEST="BAD_REQUEST",M.NOT_FOUND="NOT_FOUND",M.TIMEOUT="TIMEOUT",M.UNAVAILABLE="UNAVAILABLE",M.REQUEST_ENTITY_TOO_LARGE="REQUEST_ENTITY_TOO_LARGE"))(t=q.ConnectionStatusCode||(q.ConnectionStatusCode={}));class i{static createFrom(e={}){return new i(e)}constructor(e={}){typeof e=="string"&&(e=JSON.parse(e)),this.id=e.id,this.label=e.label,this.description=e.description,this.icon=e.icon,this.scope=e.scope,this.streaming=e.streaming}}q.ActionDescriptor=i;class l{static createFrom(e={}){return new l(e)}constructor(e={}){typeof e=="string"&&(e=JSON.parse(e)),this.id=e.id,this.namespace=e.namespace,this.params=e.params}}q.ActionInput=l;class c{static createFrom(e={}){return new c(e)}constructor(e={}){typeof e=="string"&&(e=JSON.parse(e)),this.success=e.success,this.data=e.data,this.message=e.message}}q.ActionResult=c;class p{static createFrom(e={}){return new p(e)}constructor(e={}){typeof e=="string"&&(e=JSON.parse(e)),this.selectors=e.selectors,this.label_selector=e.label_selector,this.label=e.label,this.paths=e.paths}}q.ActionTargetBuilder=p;class w{static createFrom(e={}){return new w(e)}constructor(e={}){typeof e=="string"&&(e=JSON.parse(e)),this.idAccessor=e.idAccessor,this.namespaceAccessor=e.namespaceAccessor,this.namespaced=e.namespaced,this.resourceKey=e.resourceKey,this.keyAccessor=e.keyAccessor,this.keyMap=e.keyMap,this.detailExtractors=e.detailExtractors,this.displayId=e.displayId}}q.ResourceLink=w;class o{static createFrom(e={}){return new o(e)}constructor(e={}){typeof e=="string"&&(e=JSON.parse(e)),this.id=e.id,this.header=e.header,this.accessor=e.accessor,this.accessorPriority=e.accessorPriority,this.colorMap=e.colorMap,this.color=e.color,this.align=e.align,this.hidden=e.hidden,this.width=e.width,this.formatter=e.formatter,this.component=e.component,this.componentParams=e.componentParams,this.resourceLink=this.convertValues(e.resourceLink,w),this.valueMap=e.valueMap}convertValues(e,b,k=!1){if(!e)return e;if(e.slice&&e.map)return e.map(y=>this.convertValues(y,b));if(typeof e=="object"){if(k){for(let y of Object.keys(e))e[y]=new b(e[y]);return e}return new b(e)}return e}}q.ColumnDef=o;class n{static createFrom(e={}){return new n(e)}constructor(e={}){typeof e=="string"&&(e=JSON.parse(e)),this.last_refresh=this.convertValues(e.last_refresh,V.Time),this.data=e.data,this.labels=e.labels,this.id=e.id,this.uid=e.uid,this.name=e.name,this.description=e.description,this.avatar=e.avatar,this.expiry_time=e.expiry_time,this.Client=e.Client}convertValues(e,b,k=!1){if(!e)return e;if(e.slice&&e.map)return e.map(y=>this.convertValues(y,b));if(typeof e=="object"){if(k){for(let y of Object.keys(e))e[y]=new b(e[y]);return e}return new b(e)}return e}}q.Connection=n;class g{static createFrom(e={}){return new g(e)}constructor(e={}){typeof e=="string"&&(e=JSON.parse(e)),this.connection=this.convertValues(e.connection,n),this.status=e.status,this.error=e.error,this.details=e.details}convertValues(e,b,k=!1){if(!e)return e;if(e.slice&&e.map)return e.map(y=>this.convertValues(y,b));if(typeof e=="object"){if(k){for(let y of Object.keys(e))e[y]=new b(e[y]);return e}return new b(e)}return e}}q.ConnectionStatus=g;class a{static createFrom(e={}){return new a(e)}constructor(e={}){typeof e=="string"&&(e=JSON.parse(e)),this.params=e.params,this.input=e.input,this.namespace=e.namespace}}q.CreateInput=a;class m{static createFrom(e={}){return new m(e)}constructor(e={}){typeof e=="string"&&(e=JSON.parse(e)),this.result=e.result,this.success=e.success}}q.CreateResult=m;class j{static createFrom(e={}){return new j(e)}constructor(e={}){typeof e=="string"&&(e=JSON.parse(e)),this.input=e.input,this.params=e.params,this.id=e.id,this.namespace=e.namespace}}q.DeleteInput=j;class P{static createFrom(e={}){return new P(e)}constructor(e={}){typeof e=="string"&&(e=JSON.parse(e)),this.result=e.result,this.success=e.success}}q.DeleteResult=P;class L{static createFrom(e={}){return new L(e)}constructor(e={}){typeof e=="string"&&(e=JSON.parse(e)),this.resourceKey=e.resourceKey,this.fileMatch=e.fileMatch,this.uri=e.uri,this.url=e.url,this.content=e.content,this.language=e.language}}q.EditorSchema=L;class s{static createFrom(e={}){return new s(e)}constructor(e={}){typeof e=="string"&&(e=JSON.parse(e)),this.page=e.page,this.pageSize=e.pageSize}}q.PaginationParams=s;class _{static createFrom(e={}){return new _(e)}constructor(e={}){typeof e=="string"&&(e=JSON.parse(e)),this.by=e.by,this.direction=e.direction}}q.OrderParams=_;class N{static createFrom(e={}){return new N(e)}constructor(e={}){typeof e=="string"&&(e=JSON.parse(e)),this.params=e.params,this.conditions=e.conditions,this.namespaces=e.namespaces,this.order=this.convertValues(e.order,_),this.pagination=this.convertValues(e.pagination,s)}convertValues(e,b,k=!1){if(!e)return e;if(e.slice&&e.map)return e.map(y=>this.convertValues(y,b));if(typeof e=="object"){if(k){for(let y of Object.keys(e))e[y]=new b(e[y]);return e}return new b(e)}return e}}q.FindInput=N;class v{static createFrom(e={}){return new v(e)}constructor(e={}){typeof e=="string"&&(e=JSON.parse(e)),this.page=e.page,this.pageSize=e.pageSize,this.total=e.total,this.pages=e.pages}}q.PaginationResult=v;class tt{static createFrom(e={}){return new tt(e)}constructor(e={}){typeof e=="string"&&(e=JSON.parse(e)),this.result=e.result,this.success=e.success,this.pagination=this.convertValues(e.pagination,v)}convertValues(e,b,k=!1){if(!e)return e;if(e.slice&&e.map)return e.map(y=>this.convertValues(y,b));if(typeof e=="object"){if(k){for(let y of Object.keys(e))e[y]=new b(e[y]);return e}return new b(e)}return e}}q.FindResult=tt;class I{static createFrom(e={}){return new I(e)}constructor(e={}){typeof e=="string"&&(e=JSON.parse(e)),this.params=e.params,this.id=e.id,this.namespace=e.namespace}}q.GetInput=I;class ut{static createFrom(e={}){return new ut(e)}constructor(e={}){typeof e=="string"&&(e=JSON.parse(e)),this.result=e.result,this.success=e.success}}q.GetResult=ut;class Y{static createFrom(e={}){return new Y(e)}constructor(e={}){typeof e=="string"&&(e=JSON.parse(e)),this.connection=e.connection,this.resources=e.resources,this.resourceCounts=e.resourceCounts,this.totalResources=e.totalResources,this.syncedCount=e.syncedCount,this.errorCount=e.errorCount}}q.InformerConnectionSummary=Y;class et{static createFrom(e={}){return new et(e)}constructor(e={}){typeof e=="string"&&(e=JSON.parse(e)),this.id=e.id,this.title=e.title,this.icon=e.icon,this.description=e.description,this.items=this.convertValues(e.items,et)}convertValues(e,b,k=!1){if(!e)return e;if(e.slice&&e.map)return e.map(y=>this.convertValues(y,b));if(typeof e=="object"){if(k){for(let y of Object.keys(e))e[y]=new b(e[y]);return e}return new b(e)}return e}}q.LayoutItem=et;class W{static createFrom(e={}){return new W(e)}constructor(e={}){typeof e=="string"&&(e=JSON.parse(e)),this.params=e.params,this.namespaces=e.namespaces,this.order=this.convertValues(e.order,_),this.pagination=this.convertValues(e.pagination,s)}convertValues(e,b,k=!1){if(!e)return e;if(e.slice&&e.map)return e.map(y=>this.convertValues(y,b));if(typeof e=="object"){if(k){for(let y of Object.keys(e))e[y]=new b(e[y]);return e}return new b(e)}return e}}q.ListInput=W;class H{static createFrom(e={}){return new H(e)}constructor(e={}){typeof e=="string"&&(e=JSON.parse(e)),this.result=e.result,this.success=e.success,this.pagination=this.convertValues(e.pagination,v)}convertValues(e,b,k=!1){if(!e)return e;if(e.slice&&e.map)return e.map(y=>this.convertValues(y,b));if(typeof e=="object"){if(k){for(let y of Object.keys(e))e[y]=new b(e[y]);return e}return new b(e)}return e}}q.ListResult=H;class ct{static createFrom(e={}){return new ct(e)}constructor(e={}){typeof e=="string"&&(e=JSON.parse(e)),this.id=e.id,this.metadata=this.convertValues(e.metadata,ot.PluginMeta),this.enabled=e.enabled,this.running=e.running,this.devMode=e.devMode,this.devPath=e.devPath,this.loading=e.loading,this.loadError=e.loadError,this.capabilities=e.capabilities}convertValues(e,b,k=!1){if(!e)return e;if(e.slice&&e.map)return e.map(y=>this.convertValues(y,b));if(typeof e=="object"){if(k){for(let y of Object.keys(e))e[y]=new b(e[y]);return e}return new b(e)}return e}}q.Plugin=ct;class A{static createFrom(e={}){return new A(e)}constructor(e={}){typeof e=="string"&&(e=JSON.parse(e)),this.Metadata=this.convertValues(e.Metadata,ot.PluginMeta),this.ID=e.ID,this.DevPath=e.DevPath,this.Enabled=e.Enabled,this.DevMode=e.DevMode}convertValues(e,b,k=!1){if(!e)return e;if(e.slice&&e.map)return e.map(y=>this.convertValues(y,b));if(typeof e=="object"){if(k){for(let y of Object.keys(e))e[y]=new b(e[y]);return e}return new b(e)}return e}}q.PluginState=A;class nt{static createFrom(e={}){return new nt(e)}constructor(e={}){typeof e=="string"&&(e=JSON.parse(e)),this.id_accessor=e.id_accessor,this.namespace_accessor=e.namespace_accessor,this.memoizer_accessor=e.memoizer_accessor,this.columnDefs=this.convertValues(e.columnDefs,o),this.supportedOperations=e.supportedOperations}convertValues(e,b,k=!1){if(!e)return e;if(e.slice&&e.map)return e.map(y=>this.convertValues(y,b));if(typeof e=="object"){if(k){for(let y of Object.keys(e))e[y]=new b(e[y]);return e}return new b(e)}return e}}q.ResourceDefinition=nt;class ${static createFrom(e={}){return new $(e)}constructor(e={}){typeof e=="string"&&(e=JSON.parse(e)),this.id=e.id,this.name=e.name,this.description=e.description,this.icon=e.icon,this.resources=this.convertValues(e.resources,Array,!0)}convertValues(e,b,k=!1){if(!e)return e;if(e.slice&&e.map)return e.map(y=>this.convertValues(y,b));if(typeof e=="object"){if(k){for(let y of Object.keys(e))e[y]=new b(e[y]);return e}return new b(e)}return e}}q.ResourceGroup=$;class J{static createFrom(e={}){return new J(e)}constructor(e={}){typeof e=="string"&&(e=JSON.parse(e)),this.group=e.group,this.version=e.version,this.kind=e.kind,this.label=e.label,this.icon=e.icon,this.description=e.description,this.category=e.category}}q.ResourceMeta=J;class z{static createFrom(e={}){return new z(e)}constructor(e={}){typeof e=="string"&&(e=JSON.parse(e)),this.input=e.input,this.params=e.params,this.id=e.id,this.namespace=e.namespace}}q.UpdateInput=z;class B{static createFrom(e={}){return new B(e)}constructor(e={}){typeof e=="string"&&(e=JSON.parse(e)),this.result=e.result,this.success=e.success}}q.UpdateResult=B})(Q||(Q={}));var Ce;(p=>{class t{static createFrom(o={}){return new t(o)}constructor(o={}){typeof o=="string"&&(o=JSON.parse(o)),this.plugin=o.plugin}}p.GetPluginComponentsInput=t;class i{static createFrom(o={}){return new i(o)}constructor(o={}){typeof o=="string"&&(o=JSON.parse(o)),this.plugin=o.plugin,this.resource=o.resource,this.area=o.area}}p.GetResourceAreaComponentInput=i;class l{static createFrom(o={}){return new l(o)}constructor(o={}){typeof o=="string"&&(o=JSON.parse(o)),this.plugin=o.plugin,this.resource=o.resource}}p.GetResourceComponentsInput=l;class c{static createFrom(o={}){return new c(o)}constructor(o={}){typeof o=="string"&&(o=JSON.parse(o)),this.owner=o.owner,this.name=o.name,this.plugin=o.plugin,this.resource=o.resource,this.area=o.area,this.extension=o.extension}}p.ResourceComponent=c})(Ce||(Ce={}));var Pe;(i=>{class t{static createFrom(c={}){return new t(c)}constructor(c={}){typeof c=="string"&&(c=JSON.parse(c)),this.filename=c.filename,this.contents=c.contents}}i.GetLanguageInput=t})(Pe||(Pe={}));var Rt={};D(Rt,{GetOperatingSystem:()=>nn,OpenFileSelectionDialog:()=>rn,SaveFileDialog:()=>on,WriteFileContent:()=>sn});function nn(){return window.go.main.App.GetOperatingSystem()}function rn(t){return window.go.main.App.OpenFileSelectionDialog(t)}function on(t){return window.go.main.App.SaveFileDialog(t)}function sn(t,i){return window.go.main.App.WriteFileContent(t,i)}var Ct={};D(Ct,{Delete:()=>an,Get:()=>un,Keys:()=>cn,Set:()=>ln});function an(t,i){return window.go.data.Client.Delete(t,i)}function un(t,i){return window.go.data.Client.Get(t,i)}function cn(t){return window.go.data.Client.Keys(t)}function ln(t,i,l){return window.go.data.Client.Set(t,i,l)}var Pt={};D(Pt,{GetDevServerLogs:()=>pn,GetDevServerState:()=>fn,GetExternalPluginInfo:()=>gn,Initialize:()=>dn,IsManaged:()=>mn,ListDevServerStates:()=>yn,RestartDevServer:()=>wn,Shutdown:()=>hn,StartDevServer:()=>vn,StartDevServerForPath:()=>bn,StopDevServer:()=>Sn});function pn(t,i){return window.go.devserver.DevServerManager.GetDevServerLogs(t,i)}function fn(t){return window.go.devserver.DevServerManager.GetDevServerState(t)}function gn(t){return window.go.devserver.DevServerManager.GetExternalPluginInfo(t)}function dn(t){return window.go.devserver.DevServerManager.Initialize(t)}function mn(t){return window.go.devserver.DevServerManager.IsManaged(t)}function yn(){return window.go.devserver.DevServerManager.ListDevServerStates()}function wn(t){return window.go.devserver.DevServerManager.RestartDevServer(t)}function hn(){return window.go.devserver.DevServerManager.Shutdown()}function vn(t){return window.go.devserver.DevServerManager.StartDevServer(t)}function bn(t,i){return window.go.devserver.DevServerManager.StartDevServerForPath(t,i)}function Sn(t){return window.go.devserver.DevServerManager.StopDevServer(t)}var Tt={};D(Tt,{Debug:()=>xn,Error:()=>_n,Info:()=>On,Log:()=>En,ReadLog:()=>Rn,StartTail:()=>Cn,StopTail:()=>Pn,Warn:()=>Tn});function xn(t,i){return window.go.diagnostics.DiagnosticsClient.Debug(t,i)}function _n(t,i){return window.go.diagnostics.DiagnosticsClient.Error(t,i)}function On(t,i){return window.go.diagnostics.DiagnosticsClient.Info(t,i)}function En(t,i,l){return window.go.diagnostics.DiagnosticsClient.Log(t,i,l)}function Rn(t){return window.go.diagnostics.DiagnosticsClient.ReadLog(t)}function Cn(t){return window.go.diagnostics.DiagnosticsClient.StartTail(t)}function Pn(t){return window.go.diagnostics.DiagnosticsClient.StopTail(t)}function Tn(t,i){return window.go.diagnostics.DiagnosticsClient.Warn(t,i)}var kt={};D(kt,{AttachSession:()=>kn,CloseSession:()=>Fn,CreateSession:()=>Nn,CreateTerminal:()=>An,DetachSession:()=>Dn,GetHandler:()=>Mn,GetHandlers:()=>Vn,GetPluginHandlers:()=>jn,GetSession:()=>Ln,ListPlugins:()=>Gn,ListSessions:()=>In,ResizeSession:()=>Wn,WriteSession:()=>Jn});function kn(t){return window.go.exec.Client.AttachSession(t)}function Fn(t){return window.go.exec.Client.CloseSession(t)}function Nn(t,i,l){return window.go.exec.Client.CreateSession(t,i,l)}function An(t){return window.go.exec.Client.CreateTerminal(t)}function Dn(t){return window.go.exec.Client.DetachSession(t)}function Mn(t,i){return window.go.exec.Client.GetHandler(t,i)}function Vn(){return window.go.exec.Client.GetHandlers()}function jn(t){return window.go.exec.Client.GetPluginHandlers(t)}function Ln(t){return window.go.exec.Client.GetSession(t)}function Gn(){return window.go.exec.Client.ListPlugins()}function In(){return window.go.exec.Client.ListSessions()}function Wn(t,i,l){return window.go.exec.Client.ResizeSession(t,i,l)}function Jn(t,i){return window.go.exec.Client.WriteSession(t,i)}var Ft={};D(Ft,{CloseSession:()=>Un,CreateSession:()=>Hn,GetSession:()=>$n,GetSupportedResources:()=>zn,ListSessions:()=>Yn,PauseSession:()=>Bn,ResumeSession:()=>qn,UpdateSessionOptions:()=>Kn});function Un(t){return window.go.logs.Client.CloseSession(t)}function Hn(t,i,l){return window.go.logs.Client.CreateSession(t,i,l)}function $n(t){return window.go.logs.Client.GetSession(t)}function zn(t){return window.go.logs.Client.GetSupportedResources(t)}function Yn(){return window.go.logs.Client.ListSessions()}function Bn(t){return window.go.logs.Client.PauseSession(t)}function qn(t){return window.go.logs.Client.ResumeSession(t)}function Kn(t,i){return window.go.logs.Client.UpdateSessionOptions(t,i)}var Nt={};D(Nt,{GetProviders:()=>Qn,GetProvidersForResource:()=>Xn,Query:()=>Zn,QueryAll:()=>tr,Subscribe:()=>er,Unsubscribe:()=>nr});function Qn(){return window.go.metric.Client.GetProviders()}function Xn(t){return window.go.metric.Client.GetProvidersForResource(t)}function Zn(t,i,l){return window.go.metric.Client.Query(t,i,l)}function tr(t,i,l,c,p,w,o,n,g,a){return window.go.metric.Client.QueryAll(t,i,l,c,p,w,o,n,g,a)}function er(t,i,l){return window.go.metric.Client.Subscribe(t,i,l)}function nr(t){return window.go.metric.Client.Unsubscribe(t)}var Vt={};D(Vt,{ClosePortForwardSession:()=>At,FindPortForwardSessions:()=>Dt,GetPortForwardSession:()=>rr,GetSupportedPortForwardTargets:()=>ir,ListAllPortForwardSessions:()=>or,ListPortForwardSessions:()=>sr,StartResourcePortForwardingSession:()=>Mt});function At(t){return window.go.networker.Client.ClosePortForwardSession(t)}function Dt(t,i,l){return window.go.networker.Client.FindPortForwardSessions(t,i,l)}function rr(t){return window.go.networker.Client.GetPortForwardSession(t)}function ir(t){return window.go.networker.Client.GetSupportedPortForwardTargets(t)}function or(){return window.go.networker.Client.ListAllPortForwardSessions()}function sr(t,i){return window.go.networker.Client.ListPortForwardSessions(t,i)}function Mt(t,i,l){return window.go.networker.Client.StartResourcePortForwardingSession(t,i,l)}var jt={};D(jt,{AddTarget:()=>ar,GetPlugin:()=>ur,GetPluginDownloadStats:()=>cr,GetPluginMeta:()=>lr,GetPluginReadme:()=>pr,GetPluginReleaseHistory:()=>fr,GetPluginReviews:()=>gr,GetPluginVersions:()=>dr,Initialize:()=>mr,InstallFromPathPrompt:()=>yr,InstallInDevMode:()=>wr,InstallPluginFromPath:()=>hr,InstallPluginVersion:()=>vr,ListAvailablePlugins:()=>br,ListPluginMetas:()=>Sr,ListPlugins:()=>xr,LoadPlugin:()=>_r,ReloadPlugin:()=>Or,RemoveTarget:()=>Er,Run:()=>Rr,SearchPlugins:()=>Cr,SetDevServerChecker:()=>Pr,SetDevServerManager:()=>Tr,Shutdown:()=>kr,UninstallPlugin:()=>Fr,UnloadPlugin:()=>Nr});function ar(t){return window.go.plugin.pluginManager.AddTarget(t)}function ur(t){return window.go.plugin.pluginManager.GetPlugin(t)}function cr(t){return window.go.plugin.pluginManager.GetPluginDownloadStats(t)}function lr(t){return window.go.plugin.pluginManager.GetPluginMeta(t)}function pr(t){return window.go.plugin.pluginManager.GetPluginReadme(t)}function fr(t){return window.go.plugin.pluginManager.GetPluginReleaseHistory(t)}function gr(t,i){return window.go.plugin.pluginManager.GetPluginReviews(t,i)}function dr(t){return window.go.plugin.pluginManager.GetPluginVersions(t)}function mr(t){return window.go.plugin.pluginManager.Initialize(t)}function yr(){return window.go.plugin.pluginManager.InstallFromPathPrompt()}function wr(){return window.go.plugin.pluginManager.InstallInDevMode()}function hr(t){return window.go.plugin.pluginManager.InstallPluginFromPath(t)}function vr(t,i){return window.go.plugin.pluginManager.InstallPluginVersion(t,i)}function br(){return window.go.plugin.pluginManager.ListAvailablePlugins()}function Sr(){return window.go.plugin.pluginManager.ListPluginMetas()}function xr(){return window.go.plugin.pluginManager.ListPlugins()}function _r(t,i){return window.go.plugin.pluginManager.LoadPlugin(t,i)}function Or(t){return window.go.plugin.pluginManager.ReloadPlugin(t)}function Er(t){return window.go.plugin.pluginManager.RemoveTarget(t)}function Rr(t){return window.go.plugin.pluginManager.Run(t)}function Cr(t,i,l){return window.go.plugin.pluginManager.SearchPlugins(t,i,l)}function Pr(t){return window.go.plugin.pluginManager.SetDevServerChecker(t)}function Tr(t){return window.go.plugin.pluginManager.SetDevServerManager(t)}function kr(){return window.go.plugin.pluginManager.Shutdown()}function Fr(t){return window.go.plugin.pluginManager.UninstallPlugin(t)}function Nr(t){return window.go.plugin.pluginManager.UnloadPlugin(t)}var Lt={};D(Lt,{AddConnection:()=>Ar,Create:()=>Dr,Delete:()=>Mr,EnsureInformerForResource:()=>Vr,ExecuteAction:()=>jr,Find:()=>Lr,Get:()=>Gr,GetActions:()=>Ir,GetConnection:()=>Wr,GetConnectionNamespaces:()=>Jr,GetDefaultLayout:()=>Ur,GetEditorSchemas:()=>Hr,GetInformerState:()=>$r,GetLayout:()=>zr,GetResourceDefinition:()=>Yr,GetResourceGroup:()=>Br,GetResourceGroups:()=>qr,GetResourceType:()=>Kr,GetResourceTypes:()=>Qr,HasResourceType:()=>Xr,List:()=>Zr,ListAllConnections:()=>ti,ListConnections:()=>ei,ListPlugins:()=>ni,LoadConnections:()=>ri,RemoveConnection:()=>ii,SetLayout:()=>oi,StartConnection:()=>si,StartConnectionInformer:()=>ai,StopConnection:()=>ui,StopConnectionInformer:()=>ci,StreamAction:()=>li,Update:()=>pi,UpdateConnection:()=>fi});function Ar(t,i){return window.go.resource.Client.AddConnection(t,i)}function Dr(t,i,l,c){return window.go.resource.Client.Create(t,i,l,c)}function Mr(t,i,l,c){return window.go.resource.Client.Delete(t,i,l,c)}function Vr(t,i,l){return window.go.resource.Client.EnsureInformerForResource(t,i,l)}function jr(t,i,l,c,p){return window.go.resource.Client.ExecuteAction(t,i,l,c,p)}function Lr(t,i,l,c){return window.go.resource.Client.Find(t,i,l,c)}function Gr(t,i,l,c){return window.go.resource.Client.Get(t,i,l,c)}function Ir(t,i,l){return window.go.resource.Client.GetActions(t,i,l)}function Wr(t,i){return window.go.resource.Client.GetConnection(t,i)}function Jr(t,i){return window.go.resource.Client.GetConnectionNamespaces(t,i)}function Ur(t){return window.go.resource.Client.GetDefaultLayout(t)}function Hr(t,i){return window.go.resource.Client.GetEditorSchemas(t,i)}function $r(t,i){return window.go.resource.Client.GetInformerState(t,i)}function zr(t,i){return window.go.resource.Client.GetLayout(t,i)}function Yr(t,i){return window.go.resource.Client.GetResourceDefinition(t,i)}function Br(t,i){return window.go.resource.Client.GetResourceGroup(t,i)}function qr(t,i){return window.go.resource.Client.GetResourceGroups(t,i)}function Kr(t,i){return window.go.resource.Client.GetResourceType(t,i)}function Qr(t,i){return window.go.resource.Client.GetResourceTypes(t,i)}function Xr(t,i){return window.go.resource.Client.HasResourceType(t,i)}function Zr(t,i,l,c){return window.go.resource.Client.List(t,i,l,c)}function ti(){return window.go.resource.Client.ListAllConnections()}function ei(t){return window.go.resource.Client.ListConnections(t)}function ni(){return window.go.resource.Client.ListPlugins()}function ri(t){return window.go.resource.Client.LoadConnections(t)}function ii(t,i){return window.go.resource.Client.RemoveConnection(t,i)}function oi(t,i,l){return window.go.resource.Client.SetLayout(t,i,l)}function si(t,i){return window.go.resource.Client.StartConnection(t,i)}function ai(t,i){return window.go.resource.Client.StartConnectionInformer(t,i)}function ui(t,i){return window.go.resource.Client.StopConnection(t,i)}function ci(t,i){return window.go.resource.Client.StopConnectionInformer(t,i)}function li(t,i,l,c,p){return window.go.resource.Client.StreamAction(t,i,l,c,p)}function pi(t,i,l,c){return window.go.resource.Client.Update(t,i,l,c)}function fi(t,i){return window.go.resource.Client.UpdateConnection(t,i)}var Wt={};D(Wt,{BrowserOpenURL:()=>It,CanResolveFilePaths:()=>uo,ClipboardGetText:()=>io,ClipboardSetText:()=>oo,Environment:()=>to,EventsEmit:()=>Oi,EventsOff:()=>Si,EventsOffAll:()=>xi,EventsOn:()=>bi,EventsOnMultiple:()=>Gt,EventsOnce:()=>_i,Hide:()=>no,LogDebug:()=>mi,LogError:()=>hi,LogFatal:()=>vi,LogInfo:()=>yi,LogPrint:()=>gi,LogTrace:()=>di,LogWarning:()=>wi,OnFileDrop:()=>so,OnFileDropOff:()=>ao,Quit:()=>eo,ResolveFilePaths:()=>co,ScreenGetAll:()=>Qi,Show:()=>ro,WindowCenter:()=>Fi,WindowFullscreen:()=>Ai,WindowGetPosition:()=>Wi,WindowGetSize:()=>Vi,WindowHide:()=>Ji,WindowIsFullscreen:()=>Mi,WindowIsMaximised:()=>Yi,WindowIsMinimised:()=>Xi,WindowIsNormal:()=>Zi,WindowMaximise:()=>Hi,WindowMinimise:()=>Bi,WindowReload:()=>Ei,WindowReloadApp:()=>Ri,WindowSetAlwaysOnTop:()=>Ci,WindowSetBackgroundColour:()=>Ki,WindowSetDarkTheme:()=>ki,WindowSetLightTheme:()=>Ti,WindowSetMaxSize:()=>Li,WindowSetMinSize:()=>Gi,WindowSetPosition:()=>Ii,WindowSetSize:()=>ji,WindowSetSystemDefaultTheme:()=>Pi,WindowSetTitle:()=>Ni,WindowShow:()=>Ui,WindowToggleMaximise:()=>$i,WindowUnfullscreen:()=>Di,WindowUnmaximise:()=>zi,WindowUnminimise:()=>qi});function gi(t){window.runtime.LogPrint(t)}function di(t){window.runtime.LogTrace(t)}function mi(t){window.runtime.LogDebug(t)}function yi(t){window.runtime.LogInfo(t)}function wi(t){window.runtime.LogWarning(t)}function hi(t){window.runtime.LogError(t)}function vi(t){window.runtime.LogFatal(t)}function Gt(t,i,l){return window.runtime.EventsOnMultiple(t,i,l)}function bi(t,i){return Gt(t,i,-1)}function Si(t,...i){return window.runtime.EventsOff(t,...i)}function xi(){return window.runtime.EventsOffAll()}function _i(t,i){return Gt(t,i,1)}function Oi(t){let i=[t].slice.call(arguments);return window.runtime.EventsEmit.apply(null,i)}function Ei(){window.runtime.WindowReload()}function Ri(){window.runtime.WindowReloadApp()}function Ci(t){window.runtime.WindowSetAlwaysOnTop(t)}function Pi(){window.runtime.WindowSetSystemDefaultTheme()}function Ti(){window.runtime.WindowSetLightTheme()}function ki(){window.runtime.WindowSetDarkTheme()}function Fi(){window.runtime.WindowCenter()}function Ni(t){window.runtime.WindowSetTitle(t)}function Ai(){window.runtime.WindowFullscreen()}function Di(){window.runtime.WindowUnfullscreen()}function Mi(){return window.runtime.WindowIsFullscreen()}function Vi(){return window.runtime.WindowGetSize()}function ji(t,i){window.runtime.WindowSetSize(t,i)}function Li(t,i){window.runtime.WindowSetMaxSize(t,i)}function Gi(t,i){window.runtime.WindowSetMinSize(t,i)}function Ii(t,i){window.runtime.WindowSetPosition(t,i)}function Wi(){return window.runtime.WindowGetPosition()}function Ji(){window.runtime.WindowHide()}function Ui(){window.runtime.WindowShow()}function Hi(){window.runtime.WindowMaximise()}function $i(){window.runtime.WindowToggleMaximise()}function zi(){window.runtime.WindowUnmaximise()}function Yi(){return window.runtime.WindowIsMaximised()}function Bi(){window.runtime.WindowMinimise()}function qi(){window.runtime.WindowUnminimise()}function Ki(t,i,l,c){window.runtime.WindowSetBackgroundColour(t,i,l,c)}function Qi(){return window.runtime.ScreenGetAll()}function Xi(){return window.runtime.WindowIsMinimised()}function Zi(){return window.runtime.WindowIsNormal()}function It(t){window.runtime.BrowserOpenURL(t)}function to(){return window.runtime.Environment()}function eo(){window.runtime.Quit()}function no(){window.runtime.Hide()}function ro(){window.runtime.Show()}function io(){return window.runtime.ClipboardGetText()}function oo(t){return window.runtime.ClipboardSetText(t)}function so(t,i){return window.runtime.OnFileDrop(t,i)}function ao(){return window.runtime.OnFileDropOff()}function uo(){return window.runtime.CanResolveFilePaths()}function co(t){return window.runtime.ResolveFilePaths(t)}var Jt={};D(Jt,{GetSetting:()=>lo,ListPlugins:()=>po,ListSettings:()=>fo,PluginValues:()=>go,SetSetting:()=>mo,SetSettings:()=>yo,Values:()=>wo});function lo(t,i){return window.go.settings.Client.GetSetting(t,i)}function po(){return window.go.settings.Client.ListPlugins()}function fo(t){return window.go.settings.Client.ListSettings(t)}function go(t){return window.go.settings.Client.PluginValues(t)}function mo(t,i,l){return window.go.settings.Client.SetSetting(t,i,l)}function yo(t,i){return window.go.settings.Client.SetSettings(t,i)}function wo(){return window.go.settings.Client.Values()}var Ut={};D(Ut,{GetBool:()=>ho,GetCategories:()=>vo,GetCategory:()=>bo,GetCategoryValues:()=>So,GetFloat:()=>xo,GetFloatSlice:()=>_o,GetInt:()=>Oo,GetIntSlice:()=>Eo,GetSetting:()=>Ro,GetSettingValue:()=>Co,GetString:()=>Po,GetStringSlice:()=>To,HasSetting:()=>ko,Initialize:()=>Fo,ListSettings:()=>No,LoadSettings:()=>Ao,RegisterSetting:()=>Do,RegisterSettings:()=>Mo,ResetSetting:()=>Vo,SaveSettings:()=>jo,SetSetting:()=>Lo,SetSettings:()=>Go,Values:()=>Io});function ho(t){return window.go.settings.provider.GetBool(t)}function vo(){return window.go.settings.provider.GetCategories()}function bo(t){return window.go.settings.provider.GetCategory(t)}function So(t){return window.go.settings.provider.GetCategoryValues(t)}function xo(t){return window.go.settings.provider.GetFloat(t)}function _o(t){return window.go.settings.provider.GetFloatSlice(t)}function Oo(t){return window.go.settings.provider.GetInt(t)}function Eo(t){return window.go.settings.provider.GetIntSlice(t)}function Ro(t){return window.go.settings.provider.GetSetting(t)}function Co(t){return window.go.settings.provider.GetSettingValue(t)}function Po(t){return window.go.settings.provider.GetString(t)}function To(t){return window.go.settings.provider.GetStringSlice(t)}function ko(t){return window.go.settings.provider.HasSetting(t)}function Fo(t,i){return window.go.settings.provider.Initialize(t,i)}function No(){return window.go.settings.provider.ListSettings()}function Ao(){return window.go.settings.provider.LoadSettings()}function Do(t,i){return window.go.settings.provider.RegisterSetting(t,i)}function Mo(t,i){return window.go.settings.provider.RegisterSettings(t,i)}function Vo(t){return window.go.settings.provider.ResetSetting(t)}function jo(){return window.go.settings.provider.SaveSettings()}function Lo(t,i){return window.go.settings.provider.SetSetting(t,i)}function Go(t){return window.go.settings.provider.SetSettings(t)}function Io(){return window.go.settings.provider.Values()}var Ht={};D(Ht,{Scan:()=>Wo});function Wo(t,i,l){return window.go.trivy.Manager.Scan(t,i,l)}var $t={};D($t,{GetPluginComponents:()=>Jo,GetResourceAreaComponent:()=>Uo,GetResourceComponents:()=>Ho});function Jo(t){return window.go.ui.Client.GetPluginComponents(t)}function Uo(t){return window.go.ui.Client.GetResourceAreaComponent(t)}function Ho(t){return window.go.ui.Client.GetResourceComponents(t)}var zt={};D(zt,{DetectLanguage:()=>$o});function $o(t){return window.go.utils.Client.DetectLanguage(t)}var We=be(ee()),us={},Je=We.default.createContext(void 0);us.env.DEV&&(Je.displayName="PortForwardContext");var at=be(ee());function Ue({pluginID:t,connectionID:i,resourceID:l}){let[c,p]=at.default.useState([]);at.default.useEffect(()=>{!t||!i||!l||Dt(t,i,st.FindPortForwardSessionRequest.createFrom({resource_id:l,connection_id:i})).then(n=>{p(n)}).catch(n=>{n instanceof Error&&console.log(n)})},[t,i]);let w=at.default.useCallback(async n=>{let g=st.PortForwardSessionOptions.createFrom({local_port:n.toPort||0,remote_port:n.fromPort,protocol:n.protocol||"TCP",connection_type:"RESOURCE",connection:{resource_data:n.resource,connection_id:i,plugin_id:t,resource_id:n.resourceId,resource_key:n.resourceKey},labels:n.labels??{},params:n.parameters??{}});try{let a=await Mt(t,i,g);return p([...c,a]),n.openInBrowser&&It(`http://localhost:${a.remote_port}`),a}catch(a){throw a instanceof Error&&console.log(a),a}},[t,i,c]),o=at.default.useCallback(async n=>{try{await At(n),p(c.filter(g=>g.id!==n))}catch(g){throw g instanceof Error&&console.log(g),g}},[c]);return{sessions:c,forward:w,close:o}}0&&(module.exports={PortForwardContext,app,config,data,devserver,diagnostics,exec,logs,main,metric,networker,plugin,pluginManager,registry,resource,runtime,settings,settingsProvider,time,trivy,types,ui,useResourcePortForwarder,utils});
14
+ /*! Bundled license information:
15
+
16
+ react/cjs/react.production.js:
17
+ (**
18
+ * @license React
19
+ * react.production.js
20
+ *
21
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
22
+ *
23
+ * This source code is licensed under the MIT license found in the
24
+ * LICENSE file in the root directory of this source tree.
25
+ *)
26
+
27
+ react/cjs/react.development.js:
28
+ (**
29
+ * @license React
30
+ * react.development.js
31
+ *
32
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
33
+ *
34
+ * This source code is licensed under the MIT license found in the
35
+ * LICENSE file in the root directory of this source tree.
36
+ *)
37
+ */
package/dist/index.mjs ADDED
@@ -0,0 +1,37 @@
1
+ var Ye=Object.create;var St=Object.defineProperty;var Be=Object.getOwnPropertyDescriptor;var qe=Object.getOwnPropertyNames;var Ke=Object.getPrototypeOf,Qe=Object.prototype.hasOwnProperty;var xt=(t,i)=>()=>(i||t((i={exports:{}}).exports,i),i.exports),M=(t,i)=>{for(var l in i)St(t,l,{get:i[l],enumerable:!0})},Xe=(t,i,l,c)=>{if(i&&typeof i=="object"||typeof i=="function")for(let p of qe(i))!Qe.call(t,p)&&p!==l&&St(t,p,{get:()=>i[p],enumerable:!(c=Be(i,p))||c.enumerable});return t};var te=(t,i,l)=>(l=t!=null?Ye(Ke(t)):{},Xe(i||!t||!t.__esModule?St(l,"default",{value:t,enumerable:!0}):l,t));var Le=xt(x=>{"use strict";var kt=Symbol.for("react.transitional.element"),Uo=Symbol.for("react.portal"),Ho=Symbol.for("react.fragment"),$o=Symbol.for("react.strict_mode"),zo=Symbol.for("react.profiler"),Yo=Symbol.for("react.consumer"),Bo=Symbol.for("react.context"),qo=Symbol.for("react.forward_ref"),Ko=Symbol.for("react.suspense"),Qo=Symbol.for("react.memo"),Ne=Symbol.for("react.lazy"),Xo=Symbol.for("react.activity"),Pe=Symbol.iterator;function Zo(t){return t===null||typeof t!="object"?null:(t=Pe&&t[Pe]||t["@@iterator"],typeof t=="function"?t:null)}var Ae={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},De=Object.assign,Me={};function X(t,i,l){this.props=t,this.context=i,this.refs=Me,this.updater=l||Ae}X.prototype.isReactComponent={};X.prototype.setState=function(t,i){if(typeof t!="object"&&typeof t!="function"&&t!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,t,i,"setState")};X.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this,t,"forceUpdate")};function Ve(){}Ve.prototype=X.prototype;function Ft(t,i,l){this.props=t,this.context=i,this.refs=Me,this.updater=l||Ae}var Nt=Ft.prototype=new Ve;Nt.constructor=Ft;De(Nt,X.prototype);Nt.isPureReactComponent=!0;var Te=Array.isArray;function Tt(){}var F={H:null,A:null,T:null,S:null},je=Object.prototype.hasOwnProperty;function At(t,i,l){var c=l.ref;return{$$typeof:kt,type:t,key:i,ref:c!==void 0?c:null,props:l}}function ts(t,i){return At(t.type,i,t.props)}function Dt(t){return typeof t=="object"&&t!==null&&t.$$typeof===kt}function es(t){var i={"=":"=0",":":"=2"};return"$"+t.replace(/[=:]/g,function(l){return i[l]})}var ke=/\/+/g;function Pt(t,i){return typeof t=="object"&&t!==null&&t.key!=null?es(""+t.key):i.toString(36)}function ns(t){switch(t.status){case"fulfilled":return t.value;case"rejected":throw t.reason;default:switch(typeof t.status=="string"?t.then(Tt,Tt):(t.status="pending",t.then(function(i){t.status==="pending"&&(t.status="fulfilled",t.value=i)},function(i){t.status==="pending"&&(t.status="rejected",t.reason=i)})),t.status){case"fulfilled":return t.value;case"rejected":throw t.reason}}throw t}function Q(t,i,l,c,p){var w=typeof t;(w==="undefined"||w==="boolean")&&(t=null);var o=!1;if(t===null)o=!0;else switch(w){case"bigint":case"string":case"number":o=!0;break;case"object":switch(t.$$typeof){case kt:case Uo:o=!0;break;case Ne:return o=t._init,Q(o(t._payload),i,l,c,p)}}if(o)return p=p(t),o=c===""?"."+Pt(t,0):c,Te(p)?(l="",o!=null&&(l=o.replace(ke,"$&/")+"/"),Q(p,i,l,"",function(a){return a})):p!=null&&(Dt(p)&&(p=ts(p,l+(p.key==null||t&&t.key===p.key?"":(""+p.key).replace(ke,"$&/")+"/")+o)),i.push(p)),1;o=0;var n=c===""?".":c+":";if(Te(t))for(var g=0;g<t.length;g++)c=t[g],w=n+Pt(c,g),o+=Q(c,i,l,w,p);else if(g=Zo(t),typeof g=="function")for(t=g.call(t),g=0;!(c=t.next()).done;)c=c.value,w=n+Pt(c,g++),o+=Q(c,i,l,w,p);else if(w==="object"){if(typeof t.then=="function")return Q(ns(t),i,l,c,p);throw i=String(t),Error("Objects are not valid as a React child (found: "+(i==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":i)+"). If you meant to render a collection of children, use an array instead.")}return o}function dt(t,i,l){if(t==null)return t;var c=[],p=0;return Q(t,c,"","",function(w){return i.call(l,w,p++)}),c}function rs(t){if(t._status===-1){var i=t._result;i=i(),i.then(function(l){(t._status===0||t._status===-1)&&(t._status=1,t._result=l)},function(l){(t._status===0||t._status===-1)&&(t._status=2,t._result=l)}),t._status===-1&&(t._status=0,t._result=i)}if(t._status===1)return t._result.default;throw t._result}var Fe=typeof reportError=="function"?reportError:function(t){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var i=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof t=="object"&&t!==null&&typeof t.message=="string"?String(t.message):String(t),error:t});if(!window.dispatchEvent(i))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",t);return}console.error(t)},is={map:dt,forEach:function(t,i,l){dt(t,function(){i.apply(this,arguments)},l)},count:function(t){var i=0;return dt(t,function(){i++}),i},toArray:function(t){return dt(t,function(i){return i})||[]},only:function(t){if(!Dt(t))throw Error("React.Children.only expected to receive a single React element child.");return t}};x.Activity=Xo;x.Children=is;x.Component=X;x.Fragment=Ho;x.Profiler=zo;x.PureComponent=Ft;x.StrictMode=$o;x.Suspense=Ko;x.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=F;x.__COMPILER_RUNTIME={__proto__:null,c:function(t){return F.H.useMemoCache(t)}};x.cache=function(t){return function(){return t.apply(null,arguments)}};x.cacheSignal=function(){return null};x.cloneElement=function(t,i,l){if(t==null)throw Error("The argument must be a React element, but you passed "+t+".");var c=De({},t.props),p=t.key;if(i!=null)for(w in i.key!==void 0&&(p=""+i.key),i)!je.call(i,w)||w==="key"||w==="__self"||w==="__source"||w==="ref"&&i.ref===void 0||(c[w]=i[w]);var w=arguments.length-2;if(w===1)c.children=l;else if(1<w){for(var o=Array(w),n=0;n<w;n++)o[n]=arguments[n+2];c.children=o}return At(t.type,p,c)};x.createContext=function(t){return t={$$typeof:Bo,_currentValue:t,_currentValue2:t,_threadCount:0,Provider:null,Consumer:null},t.Provider=t,t.Consumer={$$typeof:Yo,_context:t},t};x.createElement=function(t,i,l){var c,p={},w=null;if(i!=null)for(c in i.key!==void 0&&(w=""+i.key),i)je.call(i,c)&&c!=="key"&&c!=="__self"&&c!=="__source"&&(p[c]=i[c]);var o=arguments.length-2;if(o===1)p.children=l;else if(1<o){for(var n=Array(o),g=0;g<o;g++)n[g]=arguments[g+2];p.children=n}if(t&&t.defaultProps)for(c in o=t.defaultProps,o)p[c]===void 0&&(p[c]=o[c]);return At(t,w,p)};x.createRef=function(){return{current:null}};x.forwardRef=function(t){return{$$typeof:qo,render:t}};x.isValidElement=Dt;x.lazy=function(t){return{$$typeof:Ne,_payload:{_status:-1,_result:t},_init:rs}};x.memo=function(t,i){return{$$typeof:Qo,type:t,compare:i===void 0?null:i}};x.startTransition=function(t){var i=F.T,l={};F.T=l;try{var c=t(),p=F.S;p!==null&&p(l,c),typeof c=="object"&&c!==null&&typeof c.then=="function"&&c.then(Tt,Fe)}catch(w){Fe(w)}finally{i!==null&&l.types!==null&&(i.types=l.types),F.T=i}};x.unstable_useCacheRefresh=function(){return F.H.useCacheRefresh()};x.use=function(t){return F.H.use(t)};x.useActionState=function(t,i,l){return F.H.useActionState(t,i,l)};x.useCallback=function(t,i){return F.H.useCallback(t,i)};x.useContext=function(t){return F.H.useContext(t)};x.useDebugValue=function(){};x.useDeferredValue=function(t,i){return F.H.useDeferredValue(t,i)};x.useEffect=function(t,i){return F.H.useEffect(t,i)};x.useEffectEvent=function(t){return F.H.useEffectEvent(t)};x.useId=function(){return F.H.useId()};x.useImperativeHandle=function(t,i,l){return F.H.useImperativeHandle(t,i,l)};x.useInsertionEffect=function(t,i){return F.H.useInsertionEffect(t,i)};x.useLayoutEffect=function(t,i){return F.H.useLayoutEffect(t,i)};x.useMemo=function(t,i){return F.H.useMemo(t,i)};x.useOptimistic=function(t,i){return F.H.useOptimistic(t,i)};x.useReducer=function(t,i,l){return F.H.useReducer(t,i,l)};x.useRef=function(t){return F.H.useRef(t)};x.useState=function(t){return F.H.useState(t)};x.useSyncExternalStore=function(t,i,l){return F.H.useSyncExternalStore(t,i,l)};x.useTransition=function(){return F.H.useTransition()};x.version="19.2.4"});var Ge=xt((S,mt)=>{"use strict";process.env.NODE_ENV!=="production"&&function(){function t(r,u){Object.defineProperty(c.prototype,r,{get:function(){console.warn("%s(...) is deprecated in plain JavaScript React classes. %s",u[0],u[1])}})}function i(r){return r===null||typeof r!="object"?null:(r=D&&r[D]||r["@@iterator"],typeof r=="function"?r:null)}function l(r,u){r=(r=r.constructor)&&(r.displayName||r.name)||"ReactClass";var f=r+"."+u;Wt[f]||(console.error("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",u,r),Wt[f]=!0)}function c(r,u,f){this.props=r,this.context=u,this.refs=vt,this.updater=f||Jt}function p(){}function w(r,u,f){this.props=r,this.context=u,this.refs=vt,this.updater=f||Jt}function o(){}function n(r){return""+r}function g(r){try{n(r);var u=!1}catch{u=!0}if(u){u=console;var f=u.error,d=typeof Symbol=="function"&&Symbol.toStringTag&&r[Symbol.toStringTag]||r.constructor.name||"Object";return f.call(u,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",d),n(r)}}function a(r){if(r==null)return null;if(typeof r=="function")return r.$$typeof===Je?null:r.displayName||r.name||null;if(typeof r=="string")return r;switch(r){case b:return"Fragment";case y:return"Profiler";case k:return"StrictMode";case Gt:return"Suspense";case We:return"SuspenseList";case It:return"Activity"}if(typeof r=="object")switch(typeof r.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),r.$$typeof){case e:return"Portal";case jt:return r.displayName||"Context";case wt:return(r._context.displayName||"Context")+".Consumer";case Lt:var u=r.render;return r=r.displayName,r||(r=u.displayName||u.name||"",r=r!==""?"ForwardRef("+r+")":"ForwardRef"),r;case ht:return u=r.displayName||null,u!==null?u:a(r.type)||"Memo";case nt:u=r._payload,r=r._init;try{return a(r(u))}catch{}}return null}function m(r){if(r===b)return"<>";if(typeof r=="object"&&r!==null&&r.$$typeof===nt)return"<...>";try{var u=a(r);return u?"<"+u+">":"<...>"}catch{return"<...>"}}function j(){var r=E.A;return r===null?null:r.getOwner()}function P(){return Error("react-stack-top-frame")}function L(r){if(ct.call(r,"key")){var u=Object.getOwnPropertyDescriptor(r,"key").get;if(u&&u.isReactWarning)return!1}return r.key!==void 0}function s(r,u){function f(){zt||(zt=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",u))}f.isReactWarning=!0,Object.defineProperty(r,"key",{get:f,configurable:!0})}function _(){var r=a(this.type);return Bt[r]||(Bt[r]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),r=this.props.ref,r!==void 0?r:null}function N(r,u,f,d,h,R){var O=f.ref;return r={$$typeof:yt,type:r,key:u,props:f,_owner:d},(O!==void 0?O:null)!==null?Object.defineProperty(r,"ref",{enumerable:!1,get:_}):Object.defineProperty(r,"ref",{enumerable:!1,value:null}),r._store={},Object.defineProperty(r._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(r,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(r,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:h}),Object.defineProperty(r,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:R}),Object.freeze&&(Object.freeze(r.props),Object.freeze(r)),r}function v(r,u){return u=N(r.type,u,r.props,r._owner,r._debugStack,r._debugTask),r._store&&(u._store.validated=r._store.validated),u}function Z(r){I(r)?r._store&&(r._store.validated=1):typeof r=="object"&&r!==null&&r.$$typeof===nt&&(r._payload.status==="fulfilled"?I(r._payload.value)&&r._payload.value._store&&(r._payload.value._store.validated=1):r._store&&(r._store.validated=1))}function I(r){return typeof r=="object"&&r!==null&&r.$$typeof===yt}function at(r){var u={"=":"=0",":":"=2"};return"$"+r.replace(/[=:]/g,function(f){return u[f]})}function Y(r,u){return typeof r=="object"&&r!==null&&r.key!=null?(g(r.key),at(""+r.key)):u.toString(36)}function tt(r){switch(r.status){case"fulfilled":return r.value;case"rejected":throw r.reason;default:switch(typeof r.status=="string"?r.then(o,o):(r.status="pending",r.then(function(u){r.status==="pending"&&(r.status="fulfilled",r.value=u)},function(u){r.status==="pending"&&(r.status="rejected",r.reason=u)})),r.status){case"fulfilled":return r.value;case"rejected":throw r.reason}}throw r}function W(r,u,f,d,h){var R=typeof r;(R==="undefined"||R==="boolean")&&(r=null);var O=!1;if(r===null)O=!0;else switch(R){case"bigint":case"string":case"number":O=!0;break;case"object":switch(r.$$typeof){case yt:case e:O=!0;break;case nt:return O=r._init,W(O(r._payload),u,f,d,h)}}if(O){O=r,h=h(O);var T=d===""?"."+Y(O,0):d;return Ht(h)?(f="",T!=null&&(f=T.replace(Kt,"$&/")+"/"),W(h,u,f,"",function(U){return U})):h!=null&&(I(h)&&(h.key!=null&&(O&&O.key===h.key||g(h.key)),f=v(h,f+(h.key==null||O&&O.key===h.key?"":(""+h.key).replace(Kt,"$&/")+"/")+T),d!==""&&O!=null&&I(O)&&O.key==null&&O._store&&!O._store.validated&&(f._store.validated=2),h=f),u.push(h)),1}if(O=0,T=d===""?".":d+":",Ht(r))for(var C=0;C<r.length;C++)d=r[C],R=T+Y(d,C),O+=W(d,u,f,R,h);else if(C=i(r),typeof C=="function")for(C===r.entries&&(qt||console.warn("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),qt=!0),r=C.call(r),C=0;!(d=r.next()).done;)d=d.value,R=T+Y(d,C++),O+=W(d,u,f,R,h);else if(R==="object"){if(typeof r.then=="function")return W(tt(r),u,f,d,h);throw u=String(r),Error("Objects are not valid as a React child (found: "+(u==="[object Object]"?"object with keys {"+Object.keys(r).join(", ")+"}":u)+"). If you meant to render a collection of children, use an array instead.")}return O}function H(r,u,f){if(r==null)return r;var d=[],h=0;return W(r,d,"","",function(R){return u.call(f,R,h++)}),d}function ut(r){if(r._status===-1){var u=r._ioInfo;u!=null&&(u.start=u.end=performance.now()),u=r._result;var f=u();if(f.then(function(h){if(r._status===0||r._status===-1){r._status=1,r._result=h;var R=r._ioInfo;R!=null&&(R.end=performance.now()),f.status===void 0&&(f.status="fulfilled",f.value=h)}},function(h){if(r._status===0||r._status===-1){r._status=2,r._result=h;var R=r._ioInfo;R!=null&&(R.end=performance.now()),f.status===void 0&&(f.status="rejected",f.reason=h)}}),u=r._ioInfo,u!=null){u.value=f;var d=f.displayName;typeof d=="string"&&(u.name=d)}r._status===-1&&(r._status=0,r._result=f)}if(r._status===1)return u=r._result,u===void 0&&console.error(`lazy: Expected the result of a dynamic import() call. Instead received: %s
2
+
3
+ Your code should look like:
4
+ const MyComponent = lazy(() => import('./MyComponent'))
5
+
6
+ Did you accidentally put curly braces around the import?`,u),"default"in u||console.error(`lazy: Expected the result of a dynamic import() call. Instead received: %s
7
+
8
+ Your code should look like:
9
+ const MyComponent = lazy(() => import('./MyComponent'))`,u),u.default;throw r._result}function A(){var r=E.H;return r===null&&console.error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
10
+ 1. You might have mismatching versions of React and the renderer (such as React DOM)
11
+ 2. You might be breaking the Rules of Hooks
12
+ 3. You might have more than one copy of React in the same app
13
+ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),r}function et(){E.asyncTransitions--}function $(r){if(lt===null)try{var u=("require"+Math.random()).slice(0,7);lt=(mt&&mt[u]).call(mt,"timers").setImmediate}catch{lt=function(d){Xt===!1&&(Xt=!0,typeof MessageChannel>"u"&&console.error("This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning."));var h=new MessageChannel;h.port1.onmessage=d,h.port2.postMessage(void 0)}}return lt(r)}function J(r){return 1<r.length&&typeof AggregateError=="function"?new AggregateError(r):r[0]}function z(r,u){u!==pt-1&&console.error("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "),pt=u}function B(r,u,f){var d=E.actQueue;if(d!==null)if(d.length!==0)try{q(d),$(function(){return B(r,u,f)});return}catch(h){E.thrownErrors.push(h)}else E.actQueue=null;0<E.thrownErrors.length?(d=J(E.thrownErrors),E.thrownErrors.length=0,f(d)):u(r)}function q(r){if(!bt){bt=!0;var u=0;try{for(;u<r.length;u++){var f=r[u];do{E.didUsePromise=!1;var d=f(!1);if(d!==null){if(E.didUsePromise){r[u]=f,r.splice(0,u);return}f=d}else break}while(!0)}r.length=0}catch(h){r.splice(0,u+1),E.thrownErrors.push(h)}finally{bt=!1}}}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var yt=Symbol.for("react.transitional.element"),e=Symbol.for("react.portal"),b=Symbol.for("react.fragment"),k=Symbol.for("react.strict_mode"),y=Symbol.for("react.profiler"),wt=Symbol.for("react.consumer"),jt=Symbol.for("react.context"),Lt=Symbol.for("react.forward_ref"),Gt=Symbol.for("react.suspense"),We=Symbol.for("react.suspense_list"),ht=Symbol.for("react.memo"),nt=Symbol.for("react.lazy"),It=Symbol.for("react.activity"),D=Symbol.iterator,Wt={},Jt={isMounted:function(){return!1},enqueueForceUpdate:function(r){l(r,"forceUpdate")},enqueueReplaceState:function(r){l(r,"replaceState")},enqueueSetState:function(r){l(r,"setState")}},Ut=Object.assign,vt={};Object.freeze(vt),c.prototype.isReactComponent={},c.prototype.setState=function(r,u){if(typeof r!="object"&&typeof r!="function"&&r!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,r,u,"setState")},c.prototype.forceUpdate=function(r){this.updater.enqueueForceUpdate(this,r,"forceUpdate")};var G={isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]};for(rt in G)G.hasOwnProperty(rt)&&t(rt,G[rt]);p.prototype=c.prototype,G=w.prototype=new p,G.constructor=w,Ut(G,c.prototype),G.isPureReactComponent=!0;var Ht=Array.isArray,Je=Symbol.for("react.client.reference"),E={H:null,A:null,T:null,S:null,actQueue:null,asyncTransitions:0,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1,didUsePromise:!1,thrownErrors:[],getCurrentStack:null,recentlyCreatedOwnerStacks:0},ct=Object.prototype.hasOwnProperty,$t=console.createTask?console.createTask:function(){return null};G={react_stack_bottom_frame:function(r){return r()}};var zt,Yt,Bt={},Ue=G.react_stack_bottom_frame.bind(G,P)(),He=$t(m(P)),qt=!1,Kt=/\/+/g,Qt=typeof reportError=="function"?reportError:function(r){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var u=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof r=="object"&&r!==null&&typeof r.message=="string"?String(r.message):String(r),error:r});if(!window.dispatchEvent(u))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",r);return}console.error(r)},Xt=!1,lt=null,pt=0,ft=!1,bt=!1,Zt=typeof queueMicrotask=="function"?function(r){queueMicrotask(function(){return queueMicrotask(r)})}:$;G=Object.freeze({__proto__:null,c:function(r){return A().useMemoCache(r)}});var rt={map:H,forEach:function(r,u,f){H(r,function(){u.apply(this,arguments)},f)},count:function(r){var u=0;return H(r,function(){u++}),u},toArray:function(r){return H(r,function(u){return u})||[]},only:function(r){if(!I(r))throw Error("React.Children.only expected to receive a single React element child.");return r}};S.Activity=It,S.Children=rt,S.Component=c,S.Fragment=b,S.Profiler=y,S.PureComponent=w,S.StrictMode=k,S.Suspense=Gt,S.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=E,S.__COMPILER_RUNTIME=G,S.act=function(r){var u=E.actQueue,f=pt;pt++;var d=E.actQueue=u!==null?u:[],h=!1;try{var R=r()}catch(C){E.thrownErrors.push(C)}if(0<E.thrownErrors.length)throw z(u,f),r=J(E.thrownErrors),E.thrownErrors.length=0,r;if(R!==null&&typeof R=="object"&&typeof R.then=="function"){var O=R;return Zt(function(){h||ft||(ft=!0,console.error("You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);"))}),{then:function(C,U){h=!0,O.then(function(K){if(z(u,f),f===0){try{q(d),$(function(){return B(K,C,U)})}catch(ze){E.thrownErrors.push(ze)}if(0<E.thrownErrors.length){var $e=J(E.thrownErrors);E.thrownErrors.length=0,U($e)}}else C(K)},function(K){z(u,f),0<E.thrownErrors.length&&(K=J(E.thrownErrors),E.thrownErrors.length=0),U(K)})}}}var T=R;if(z(u,f),f===0&&(q(d),d.length!==0&&Zt(function(){h||ft||(ft=!0,console.error("A component suspended inside an `act` scope, but the `act` call was not awaited. When testing React components that depend on asynchronous data, you must await the result:\n\nawait act(() => ...)"))}),E.actQueue=null),0<E.thrownErrors.length)throw r=J(E.thrownErrors),E.thrownErrors.length=0,r;return{then:function(C,U){h=!0,f===0?(E.actQueue=d,$(function(){return B(T,C,U)})):C(T)}}},S.cache=function(r){return function(){return r.apply(null,arguments)}},S.cacheSignal=function(){return null},S.captureOwnerStack=function(){var r=E.getCurrentStack;return r===null?null:r()},S.cloneElement=function(r,u,f){if(r==null)throw Error("The argument must be a React element, but you passed "+r+".");var d=Ut({},r.props),h=r.key,R=r._owner;if(u!=null){var O;t:{if(ct.call(u,"ref")&&(O=Object.getOwnPropertyDescriptor(u,"ref").get)&&O.isReactWarning){O=!1;break t}O=u.ref!==void 0}O&&(R=j()),L(u)&&(g(u.key),h=""+u.key);for(T in u)!ct.call(u,T)||T==="key"||T==="__self"||T==="__source"||T==="ref"&&u.ref===void 0||(d[T]=u[T])}var T=arguments.length-2;if(T===1)d.children=f;else if(1<T){O=Array(T);for(var C=0;C<T;C++)O[C]=arguments[C+2];d.children=O}for(d=N(r.type,h,d,R,r._debugStack,r._debugTask),h=2;h<arguments.length;h++)Z(arguments[h]);return d},S.createContext=function(r){return r={$$typeof:jt,_currentValue:r,_currentValue2:r,_threadCount:0,Provider:null,Consumer:null},r.Provider=r,r.Consumer={$$typeof:wt,_context:r},r._currentRenderer=null,r._currentRenderer2=null,r},S.createElement=function(r,u,f){for(var d=2;d<arguments.length;d++)Z(arguments[d]);d={};var h=null;if(u!=null)for(C in Yt||!("__self"in u)||"key"in u||(Yt=!0,console.warn("Your app (or one of its dependencies) is using an outdated JSX transform. Update to the modern JSX transform for faster performance: https://react.dev/link/new-jsx-transform")),L(u)&&(g(u.key),h=""+u.key),u)ct.call(u,C)&&C!=="key"&&C!=="__self"&&C!=="__source"&&(d[C]=u[C]);var R=arguments.length-2;if(R===1)d.children=f;else if(1<R){for(var O=Array(R),T=0;T<R;T++)O[T]=arguments[T+2];Object.freeze&&Object.freeze(O),d.children=O}if(r&&r.defaultProps)for(C in R=r.defaultProps,R)d[C]===void 0&&(d[C]=R[C]);h&&s(d,typeof r=="function"?r.displayName||r.name||"Unknown":r);var C=1e4>E.recentlyCreatedOwnerStacks++;return N(r,h,d,j(),C?Error("react-stack-top-frame"):Ue,C?$t(m(r)):He)},S.createRef=function(){var r={current:null};return Object.seal(r),r},S.forwardRef=function(r){r!=null&&r.$$typeof===ht?console.error("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof r!="function"?console.error("forwardRef requires a render function but was given %s.",r===null?"null":typeof r):r.length!==0&&r.length!==2&&console.error("forwardRef render functions accept exactly two parameters: props and ref. %s",r.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),r!=null&&r.defaultProps!=null&&console.error("forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?");var u={$$typeof:Lt,render:r},f;return Object.defineProperty(u,"displayName",{enumerable:!1,configurable:!0,get:function(){return f},set:function(d){f=d,r.name||r.displayName||(Object.defineProperty(r,"name",{value:d}),r.displayName=d)}}),u},S.isValidElement=I,S.lazy=function(r){r={_status:-1,_result:r};var u={$$typeof:nt,_payload:r,_init:ut},f={name:"lazy",start:-1,end:-1,value:null,owner:null,debugStack:Error("react-stack-top-frame"),debugTask:console.createTask?console.createTask("lazy()"):null};return r._ioInfo=f,u._debugInfo=[{awaited:f}],u},S.memo=function(r,u){r==null&&console.error("memo: The first argument must be a component. Instead received: %s",r===null?"null":typeof r),u={$$typeof:ht,type:r,compare:u===void 0?null:u};var f;return Object.defineProperty(u,"displayName",{enumerable:!1,configurable:!0,get:function(){return f},set:function(d){f=d,r.name||r.displayName||(Object.defineProperty(r,"name",{value:d}),r.displayName=d)}}),u},S.startTransition=function(r){var u=E.T,f={};f._updatedFibers=new Set,E.T=f;try{var d=r(),h=E.S;h!==null&&h(f,d),typeof d=="object"&&d!==null&&typeof d.then=="function"&&(E.asyncTransitions++,d.then(et,et),d.then(o,Qt))}catch(R){Qt(R)}finally{u===null&&f._updatedFibers&&(r=f._updatedFibers.size,f._updatedFibers.clear(),10<r&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table.")),u!==null&&f.types!==null&&(u.types!==null&&u.types!==f.types&&console.error("We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."),u.types=f.types),E.T=u}},S.unstable_useCacheRefresh=function(){return A().useCacheRefresh()},S.use=function(r){return A().use(r)},S.useActionState=function(r,u,f){return A().useActionState(r,u,f)},S.useCallback=function(r,u){return A().useCallback(r,u)},S.useContext=function(r){var u=A();return r.$$typeof===wt&&console.error("Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?"),u.useContext(r)},S.useDebugValue=function(r,u){return A().useDebugValue(r,u)},S.useDeferredValue=function(r,u){return A().useDeferredValue(r,u)},S.useEffect=function(r,u){return r==null&&console.warn("React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?"),A().useEffect(r,u)},S.useEffectEvent=function(r){return A().useEffectEvent(r)},S.useId=function(){return A().useId()},S.useImperativeHandle=function(r,u,f){return A().useImperativeHandle(r,u,f)},S.useInsertionEffect=function(r,u){return r==null&&console.warn("React Hook useInsertionEffect requires an effect callback. Did you forget to pass a callback to the hook?"),A().useInsertionEffect(r,u)},S.useLayoutEffect=function(r,u){return r==null&&console.warn("React Hook useLayoutEffect requires an effect callback. Did you forget to pass a callback to the hook?"),A().useLayoutEffect(r,u)},S.useMemo=function(r,u){return A().useMemo(r,u)},S.useOptimistic=function(r,u){return A().useOptimistic(r,u)},S.useReducer=function(r,u,f){return A().useReducer(r,u,f)},S.useRef=function(r){return A().useRef(r)},S.useState=function(r){return A().useState(r)},S.useSyncExternalStore=function(r,u,f){return A().useSyncExternalStore(r,u,f)},S.useTransition=function(){return A().useTransition()},S.version="19.2.4",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())}()});var Vt=xt((ls,Mt)=>{"use strict";process.env.NODE_ENV==="production"?Mt.exports=Le():Mt.exports=Ge()});var gt;(n=>{class t{static createFrom(a={}){return new t(a)}constructor(a={}){typeof a=="string"&&(a=JSON.parse(a)),this.name=a.name,this.email=a.email,this.url=a.url}}n.PluginAuthor=t;class i{static createFrom(a={}){return new i(a)}constructor(a={}){typeof a=="string"&&(a=JSON.parse(a)),this.name=a.name,this.plugin=a.plugin,this.area=a.area,this.resources=a.resources,this.extension=a.extension}}n.PluginResourceComponent=i;class l{static createFrom(a={}){return new l(a)}constructor(a={}){typeof a=="string"&&(a=JSON.parse(a)),this.resource=this.convertValues(a.resource,i)}convertValues(a,m,j=!1){if(!a)return a;if(a.slice&&a.map)return a.map(P=>this.convertValues(P,m));if(typeof a=="object"){if(j){for(let P of Object.keys(a))a[P]=new m(a[P]);return a}return new m(a)}return a}}n.PluginComponents=l;class c{static createFrom(a={}){return new c(a)}constructor(a={}){typeof a=="string"&&(a=JSON.parse(a)),this.name=a.name,this.email=a.email}}n.PluginMaintainer=c;class p{static createFrom(a={}){return new p(a)}constructor(a={}){typeof a=="string"&&(a=JSON.parse(a)),this.primary=a.primary,this.secondary=a.secondary,this.tertiary=a.tertiary}}n.PluginThemeColors=p;class w{static createFrom(a={}){return new w(a)}constructor(a={}){typeof a=="string"&&(a=JSON.parse(a)),this.colors=this.convertValues(a.colors,p)}convertValues(a,m,j=!1){if(!a)return a;if(a.slice&&a.map)return a.map(P=>this.convertValues(P,m));if(typeof a=="object"){if(j){for(let P of Object.keys(a))a[P]=new m(a[P]);return a}return new m(a)}return a}}n.PluginTheme=w;class o{static createFrom(a={}){return new o(a)}constructor(a={}){typeof a=="string"&&(a=JSON.parse(a)),this.id=a.id,this.version=a.version,this.name=a.name,this.icon=a.icon,this.icon_url=a.icon_url,this.description=a.description,this.repository=a.repository,this.website=a.website,this.category=a.category,this.license=a.license,this.author=this.convertValues(a.author,t),this.maintainers=this.convertValues(a.maintainers,c),this.tags=a.tags,this.dependencies=a.dependencies,this.capabilities=a.capabilities,this.theme=this.convertValues(a.theme,w),this.components=this.convertValues(a.components,l)}convertValues(a,m,j=!1){if(!a)return a;if(a.slice&&a.map)return a.map(P=>this.convertValues(P,m));if(typeof a=="object"){if(j){for(let P of Object.keys(a))a[P]=new m(a[P]);return a}return new m(a)}return a}}n.PluginMeta=o})(gt||(gt={}));var ee;(p=>{class t{static createFrom(o={}){return new t(o)}constructor(o={}){typeof o=="string"&&(o=JSON.parse(o)),this.pid=o.pid,this.protocol=o.protocol,this.protocolVersion=o.protocolVersion,this.addr=o.addr,this.vitePort=o.vitePort,this.pluginId=o.pluginId,this.version=o.version,this.startedAt=o.startedAt}}p.DevInfoFile=t;class i{static createFrom(o={}){return new i(o)}constructor(o={}){typeof o=="string"&&(o=JSON.parse(o))}}p.DevServerManager=i;class l{static createFrom(o={}){return new l(o)}constructor(o={}){typeof o=="string"&&(o=JSON.parse(o)),this.pluginID=o.pluginID,this.mode=o.mode,this.devPath=o.devPath,this.vitePort=o.vitePort,this.viteURL=o.viteURL,this.viteStatus=o.viteStatus,this.goStatus=o.goStatus,this.lastBuildDuration=o.lastBuildDuration,this.lastBuildTime=this.convertValues(o.lastBuildTime,V.Time),this.lastError=o.lastError,this.grpcConnected=o.grpcConnected}convertValues(o,n,g=!1){if(!o)return o;if(o.slice&&o.map)return o.map(a=>this.convertValues(a,n));if(typeof o=="object"){if(g){for(let a of Object.keys(o))o[a]=new n(o[a]);return o}return new n(o)}return o}}p.DevServerState=l;class c{static createFrom(o={}){return new c(o)}constructor(o={}){typeof o=="string"&&(o=JSON.parse(o)),this.timestamp=this.convertValues(o.timestamp,V.Time),this.source=o.source,this.level=o.level,this.message=o.message,this.pluginID=o.pluginID}convertValues(o,n,g=!1){if(!o)return o;if(o.slice&&o.map)return o.map(a=>this.convertValues(a,n));if(typeof o=="object"){if(g){for(let a of Object.keys(o))o[a]=new n(o[a]);return o}return new n(o)}return o}}p.LogEntry=c})(ee||(ee={}));var ne;(w=>{class t{static createFrom(n={}){return new t(n)}constructor(n={}){typeof n=="string"&&(n=JSON.parse(n)),this.created_at=this.convertValues(n.created_at,V.Time),this.labels=n.labels,this.params=n.params,this.id=n.id,this.command=n.command,this.attached=n.attached}convertValues(n,g,a=!1){if(!n)return n;if(n.slice&&n.map)return n.map(m=>this.convertValues(m,g));if(typeof n=="object"){if(a){for(let m of Object.keys(n))n[m]=new g(n[m]);return n}return new g(n)}return n}}w.Session=t;class i{static createFrom(n={}){return new i(n)}constructor(n={}){typeof n=="string"&&(n=JSON.parse(n)),this.session=this.convertValues(n.session,t),this.buffer=n.buffer}convertValues(n,g,a=!1){if(!n)return n;if(n.slice&&n.map)return n.map(m=>this.convertValues(m,g));if(typeof n=="object"){if(a){for(let m of Object.keys(n))n[m]=new g(n[m]);return n}return new g(n)}return n}}w.AttachSessionResult=i;class l{static createFrom(n={}){return new l(n)}constructor(n={}){typeof n=="string"&&(n=JSON.parse(n)),this.labels=n.labels,this.command=n.command}}w.CreateTerminalOptions=l;class c{static createFrom(n={}){return new c(n)}constructor(n={}){typeof n=="string"&&(n=JSON.parse(n)),this.plugin=n.plugin,this.resource=n.resource,this.target_builder=this.convertValues(n.target_builder,ot.ActionTargetBuilder),this.default_command=n.default_command}convertValues(n,g,a=!1){if(!n)return n;if(n.slice&&n.map)return n.map(m=>this.convertValues(m,g));if(typeof n=="object"){if(a){for(let m of Object.keys(n))n[m]=new g(n[m]);return n}return new g(n)}return n}}w.Handler=c;class p{static createFrom(n={}){return new p(n)}constructor(n={}){typeof n=="string"&&(n=JSON.parse(n)),this.params=n.params,this.labels=n.labels,this.id=n.id,this.resource_plugin=n.resource_plugin,this.resource_key=n.resource_key,this.resource_data=n.resource_data,this.command=n.command,this.tty=n.tty}}w.SessionOptions=p})(ne||(ne={}));var re;(w=>{class t{static createFrom(n={}){return new t(n)}constructor(n={}){typeof n=="string"&&(n=JSON.parse(n)),this.target=n.target,this.follow=n.follow,this.include_previous=n.include_previous,this.include_timestamps=n.include_timestamps,this.tail_lines=n.tail_lines,this.since_seconds=n.since_seconds,this.since_time=this.convertValues(n.since_time,V.Time),this.limit_bytes=n.limit_bytes,this.include_source_events=n.include_source_events,this.params=n.params}convertValues(n,g,a=!1){if(!n)return n;if(n.slice&&n.map)return n.map(m=>this.convertValues(m,g));if(typeof n=="object"){if(a){for(let m of Object.keys(n))n[m]=new g(n[m]);return n}return new g(n)}return n}}w.LogSessionOptions=t;class i{static createFrom(n={}){return new i(n)}constructor(n={}){typeof n=="string"&&(n=JSON.parse(n)),this.resource_key=n.resource_key,this.resource_id=n.resource_id,this.resource_data=n.resource_data,this.options=this.convertValues(n.options,t)}convertValues(n,g,a=!1){if(!n)return n;if(n.slice&&n.map)return n.map(m=>this.convertValues(m,g));if(typeof n=="object"){if(a){for(let m of Object.keys(n))n[m]=new g(n[m]);return n}return new g(n)}return n}}w.CreateSessionOptions=i;class l{static createFrom(n={}){return new l(n)}constructor(n={}){typeof n=="string"&&(n=JSON.parse(n)),this.plugin=n.plugin,this.resource=n.resource,this.target_builder=this.convertValues(n.target_builder,ot.ActionTargetBuilder)}convertValues(n,g,a=!1){if(!n)return n;if(n.slice&&n.map)return n.map(m=>this.convertValues(m,g));if(typeof n=="object"){if(a){for(let m of Object.keys(n))n[m]=new g(n[m]);return n}return new g(n)}return n}}w.Handler=l;class c{static createFrom(n={}){return new c(n)}constructor(n={}){typeof n=="string"&&(n=JSON.parse(n)),this.id=n.id,this.labels=n.labels}}w.LogSource=c;class p{static createFrom(n={}){return new p(n)}constructor(n={}){typeof n=="string"&&(n=JSON.parse(n)),this.id=n.id,this.plugin_id=n.plugin_id,this.connection_id=n.connection_id,this.resource_key=n.resource_key,this.resource_id=n.resource_id,this.options=this.convertValues(n.options,t),this.status=n.status,this.active_sources=this.convertValues(n.active_sources,c),this.created_at=this.convertValues(n.created_at,V.Time)}convertValues(n,g,a=!1){if(!n)return n;if(n.slice&&n.map)return n.map(m=>this.convertValues(m,g));if(typeof n=="object"){if(a){for(let m of Object.keys(n))n[m]=new g(n[m]);return n}return new g(n)}return n}}w.LogSession=p})(re||(re={}));var ie;(l=>{class t{static createFrom(p={}){return new t(p)}constructor(p={}){typeof p=="string"&&(p=JSON.parse(p)),this.displayName=p.displayName,this.pattern=p.pattern}}l.FileFilter=t;class i{static createFrom(p={}){return new i(p)}constructor(p={}){typeof p=="string"&&(p=JSON.parse(p)),this.defaultDirectory=p.defaultDirectory,this.defaultFilename=p.defaultFilename,this.title=p.title,this.filters=this.convertValues(p.filters,t),this.showHiddenFiles=p.showHiddenFiles,this.canCreateDirectories=p.canCreateDirectories,this.resolvesAliases=p.resolvesAliases,this.treatPackagesAsDirectories=p.treatPackagesAsDirectories}convertValues(p,w,o=!1){if(!p)return p;if(p.slice&&p.map)return p.map(n=>this.convertValues(n,w));if(typeof p=="object"){if(o){for(let n of Object.keys(p))p[n]=new w(p[n]);return p}return new w(p)}return p}}l.FileDialogOptions=i})(ie||(ie={}));var oe;(P=>{class t{static createFrom(s={}){return new t(s)}constructor(s={}){typeof s=="string"&&(s=JSON.parse(s)),this.metric_id=s.metric_id,this.min=s.min,this.max=s.max,this.avg=s.avg,this.sum=s.sum,this.p50=s.p50,this.p90=s.p90,this.p99=s.p99,this.count=s.count,this.window=s.window,this.labels=s.labels}}P.AggregateValue=t;class i{static createFrom(s={}){return new i(s)}constructor(s={}){typeof s=="string"&&(s=JSON.parse(s)),this.min=s.min,this.max=s.max,this.color=s.color}}P.ColorRange=i;class l{static createFrom(s={}){return new l(s)}constructor(s={}){typeof s=="string"&&(s=JSON.parse(s)),this.metric_id=s.metric_id,this.value=s.value,this.timestamp=this.convertValues(s.timestamp,V.Time),this.labels=s.labels}convertValues(s,_,N=!1){if(!s)return s;if(s.slice&&s.map)return s.map(v=>this.convertValues(v,_));if(typeof s=="object"){if(N){for(let v of Object.keys(s))s[v]=new _(s[v]);return s}return new _(s)}return s}}P.CurrentValue=l;class c{static createFrom(s={}){return new c(s)}constructor(s={}){typeof s=="string"&&(s=JSON.parse(s)),this.timestamp=this.convertValues(s.timestamp,V.Time),this.value=s.value,this.labels=s.labels}convertValues(s,_,N=!1){if(!s)return s;if(s.slice&&s.map)return s.map(v=>this.convertValues(v,_));if(typeof s=="object"){if(N){for(let v of Object.keys(s))s[v]=new _(s[v]);return s}return new _(s)}return s}}P.DataPoint=c;class p{static createFrom(s={}){return new p(s)}constructor(s={}){typeof s=="string"&&(s=JSON.parse(s)),this.id=s.id,this.name=s.name,this.unit=s.unit,this.icon=s.icon,this.color_ranges=this.convertValues(s.color_ranges,i),this.format_string=s.format_string,this.supported_shapes=s.supported_shapes,this.chart_group=s.chart_group}convertValues(s,_,N=!1){if(!s)return s;if(s.slice&&s.map)return s.map(v=>this.convertValues(v,_));if(typeof s=="object"){if(N){for(let v of Object.keys(s))s[v]=new _(s[v]);return s}return new _(s)}return s}}P.MetricDescriptor=p;class w{static createFrom(s={}){return new w(s)}constructor(s={}){typeof s=="string"&&(s=JSON.parse(s)),this.resource=s.resource,this.metrics=this.convertValues(s.metrics,p)}convertValues(s,_,N=!1){if(!s)return s;if(s.slice&&s.map)return s.map(v=>this.convertValues(v,_));if(typeof s=="object"){if(N){for(let v of Object.keys(s))s[v]=new _(s[v]);return s}return new _(s)}return s}}P.Handler=w;class o{static createFrom(s={}){return new o(s)}constructor(s={}){typeof s=="string"&&(s=JSON.parse(s)),this.plugin_id=s.plugin_id,this.provider_id=s.provider_id,this.name=s.name,this.icon=s.icon,this.description=s.description,this.handlers=this.convertValues(s.handlers,w)}convertValues(s,_,N=!1){if(!s)return s;if(s.slice&&s.map)return s.map(v=>this.convertValues(v,_));if(typeof s=="object"){if(N){for(let v of Object.keys(s))s[v]=new _(s[v]);return s}return new _(s)}return s}}P.MetricProviderSummary=o;class n{static createFrom(s={}){return new n(s)}constructor(s={}){typeof s=="string"&&(s=JSON.parse(s)),this.metric_id=s.metric_id,this.data_points=this.convertValues(s.data_points,c),this.labels=s.labels}convertValues(s,_,N=!1){if(!s)return s;if(s.slice&&s.map)return s.map(v=>this.convertValues(v,_));if(typeof s=="object"){if(N){for(let v of Object.keys(s))s[v]=new _(s[v]);return s}return new _(s)}return s}}P.TimeSeries=n;class g{static createFrom(s={}){return new g(s)}constructor(s={}){typeof s=="string"&&(s=JSON.parse(s)),this.time_series=this.convertValues(s.time_series,n),this.current_value=this.convertValues(s.current_value,l),this.aggregate_value=this.convertValues(s.aggregate_value,t)}convertValues(s,_,N=!1){if(!s)return s;if(s.slice&&s.map)return s.map(v=>this.convertValues(v,_));if(typeof s=="object"){if(N){for(let v of Object.keys(s))s[v]=new _(s[v]);return s}return new _(s)}return s}}P.MetricResult=g;class a{static createFrom(s={}){return new a(s)}constructor(s={}){typeof s=="string"&&(s=JSON.parse(s)),this.resource_key=s.resource_key,this.resource_id=s.resource_id,this.resource_namespace=s.resource_namespace,this.resource_data=s.resource_data,this.metric_ids=s.metric_ids,this.shape=s.shape,this.start_time=this.convertValues(s.start_time,V.Time),this.end_time=this.convertValues(s.end_time,V.Time),this.step=s.step,this.params=s.params}convertValues(s,_,N=!1){if(!s)return s;if(s.slice&&s.map)return s.map(v=>this.convertValues(v,_));if(typeof s=="object"){if(N){for(let v of Object.keys(s))s[v]=new _(s[v]);return s}return new _(s)}return s}}P.QueryRequest=a;class m{static createFrom(s={}){return new m(s)}constructor(s={}){typeof s=="string"&&(s=JSON.parse(s)),this.success=s.success,this.results=this.convertValues(s.results,g),this.error=s.error}convertValues(s,_,N=!1){if(!s)return s;if(s.slice&&s.map)return s.map(v=>this.convertValues(v,_));if(typeof s=="object"){if(N){for(let v of Object.keys(s))s[v]=new _(s[v]);return s}return new _(s)}return s}}P.QueryResponse=m;class j{static createFrom(s={}){return new j(s)}constructor(s={}){typeof s=="string"&&(s=JSON.parse(s)),this.resource_key=s.resource_key,this.resource_id=s.resource_id,this.resource_namespace=s.resource_namespace,this.resource_data=s.resource_data,this.metric_ids=s.metric_ids,this.interval=s.interval}}P.SubscribeRequest=j})(oe||(oe={}));var it;(p=>{class t{static createFrom(o={}){return new t(o)}constructor(o={}){typeof o=="string"&&(o=JSON.parse(o)),this.resource_id=o.resource_id,this.connection_id=o.connection_id}}p.FindPortForwardSessionRequest=t;class i{static createFrom(o={}){return new i(o)}constructor(o={}){typeof o=="string"&&(o=JSON.parse(o)),this.algorithm=o.algorithm,this.key=o.key,this.enabled=o.enabled}}p.PortForwardSessionEncryption=i;class l{static createFrom(o={}){return new l(o)}constructor(o={}){typeof o=="string"&&(o=JSON.parse(o)),this.created_at=this.convertValues(o.created_at,V.Time),this.updated_at=this.convertValues(o.updated_at,V.Time),this.connection=o.connection,this.labels=o.labels,this.id=o.id,this.protocol=o.protocol,this.state=o.state,this.connection_type=o.connection_type,this.encryption=this.convertValues(o.encryption,i),this.local_port=o.local_port,this.remote_port=o.remote_port}convertValues(o,n,g=!1){if(!o)return o;if(o.slice&&o.map)return o.map(a=>this.convertValues(a,n));if(typeof o=="object"){if(g){for(let a of Object.keys(o))o[a]=new n(o[a]);return o}return new n(o)}return o}}p.PortForwardSession=l;class c{static createFrom(o={}){return new c(o)}constructor(o={}){typeof o=="string"&&(o=JSON.parse(o)),this.connection=o.connection,this.labels=o.labels,this.params=o.params,this.protocol=o.protocol,this.connection_type=o.connection_type,this.encryption=this.convertValues(o.encryption,i),this.local_port=o.local_port,this.remote_port=o.remote_port}convertValues(o,n,g=!1){if(!o)return o;if(o.slice&&o.map)return o.map(a=>this.convertValues(a,n));if(typeof o=="object"){if(g){for(let a of Object.keys(o))o[a]=new n(o[a]);return o}return new n(o)}return o}}p.PortForwardSessionOptions=c})(it||(it={}));var se;(i=>{class t{static createFrom(c={}){return new t(c)}constructor(c={}){typeof c=="string"&&(c=JSON.parse(c)),this.DevMode=c.DevMode,this.DevModePath=c.DevModePath,this.ExistingState=this.convertValues(c.ExistingState,ot.PluginState)}convertValues(c,p,w=!1){if(!c)return c;if(c.slice&&c.map)return c.map(o=>this.convertValues(o,p));if(typeof c=="object"){if(w){for(let o of Object.keys(c))c[o]=new p(c[o]);return c}return new p(c)}return c}}i.LoadPluginOptions=t})(se||(se={}));var ae;(w=>{class t{static createFrom(n={}){return new t(n)}constructor(n={}){typeof n=="string"&&(n=JSON.parse(n)),this.id=n.id,this.name=n.name,this.description=n.description,this.icon_url=n.icon_url,this.category=n.category,this.tags=n.tags,this.license=n.license,this.official=n.official,this.featured=n.featured,this.download_count=n.download_count,this.average_rating=n.average_rating,this.review_count=n.review_count,this.repository=n.repository,this.url=n.url,this.installed=n.installed,this.installed_version=n.installed_version,this.latest_version=n.latest_version,this.update_available=n.update_available}}w.AvailablePlugin=t;class i{static createFrom(n={}){return new i(n)}constructor(n={}){typeof n=="string"&&(n=JSON.parse(n)),this.date=n.date,this.count=n.count}}w.DailyStat=i;class l{static createFrom(n={}){return new l(n)}constructor(n={}){typeof n=="string"&&(n=JSON.parse(n)),this.total=n.total,this.last_month=n.last_month,this.last_week=n.last_week,this.daily_stats=this.convertValues(n.daily_stats,i)}convertValues(n,g,a=!1){if(!n)return n;if(n.slice&&n.map)return n.map(m=>this.convertValues(m,g));if(typeof n=="object"){if(a){for(let m of Object.keys(n))n[m]=new g(n[m]);return n}return new g(n)}return n}}w.DownloadStats=l;class c{static createFrom(n={}){return new c(n)}constructor(n={}){typeof n=="string"&&(n=JSON.parse(n)),this.id=n.id,this.user_id=n.user_id,this.rating=n.rating,this.title=n.title,this.body=n.body,this.created_at=n.created_at}}w.Review=c;class p{static createFrom(n={}){return new p(n)}constructor(n={}){typeof n=="string"&&(n=JSON.parse(n)),this.version=n.version,this.description=n.description,this.changelog=n.changelog,this.min_ide_version=n.min_ide_version,this.max_ide_version=n.max_ide_version,this.capabilities=n.capabilities,this.created_at=n.created_at}}w.VersionInfo=p})(ae||(ae={}));var ue;(w=>{let t;(L=>(L.TEXT="text",L.INTEGER="integer",L.FLOAT="float",L.TOGGLE="toggle",L.COLOR="color",L.DATETIME="datetime",L.PASSWORD="password"))(t=w.SettingType||(w.SettingType={}));class i{static createFrom(n={}){return new i(n)}constructor(n={}){typeof n=="string"&&(n=JSON.parse(n)),this.enabled=n.enabled,this.allowFolders=n.allowFolders,this.extensions=n.extensions,this.multiple=n.multiple,this.relative=n.relative,this.defaultPath=n.defaultPath}}w.SettingFileSelection=i;class l{static createFrom(n={}){return new l(n)}constructor(n={}){typeof n=="string"&&(n=JSON.parse(n)),this.label=n.label,this.description=n.description,this.value=n.value}}w.SettingOption=l;class c{static createFrom(n={}){return new c(n)}constructor(n={}){typeof n=="string"&&(n=JSON.parse(n)),this.id=n.id,this.label=n.label,this.description=n.description,this.type=n.type,this.value=n.value,this.default=n.default,this.options=this.convertValues(n.options,l),this.fileSelection=this.convertValues(n.fileSelection,i),this.sensitive=n.sensitive}convertValues(n,g,a=!1){if(!n)return n;if(n.slice&&n.map)return n.map(m=>this.convertValues(m,g));if(typeof n=="object"){if(a){for(let m of Object.keys(n))n[m]=new g(n[m]);return n}return new g(n)}return n}}w.Setting=c;class p{static createFrom(n={}){return new p(n)}constructor(n={}){typeof n=="string"&&(n=JSON.parse(n)),this.settings=this.convertValues(n.settings,c,!0),this.id=n.id,this.label=n.label,this.description=n.description,this.icon=n.icon}convertValues(n,g,a=!1){if(!n)return n;if(n.slice&&n.map)return n.map(m=>this.convertValues(m,g));if(typeof n=="object"){if(a){for(let m of Object.keys(n))n[m]=new g(n[m]);return n}return new g(n)}return n}}w.Category=p})(ue||(ue={}));var V;(i=>{class t{static createFrom(c={}){return new t(c)}constructor(c={}){typeof c=="string"&&(c=JSON.parse(c))}}i.Time=t})(V||(V={}));var ce;(p=>{let t;(P=>(P.CONFIG="config",P.FILESYSTEM="fs",P.IMAGE="image",P.KUBERNETES="kubernetes",P.REPOSITORY="repository",P.ROOTFS="rootfs",P.SBOM="sbom"))(t=p.Command||(p.Command={}));let i;(a=>(a.VULN="vuln",a.MISCONFIG="misconfig",a.SECRET="secret",a.LICENSE="license"))(i=p.Scanner||(p.Scanner={}));class l{static createFrom(o={}){return new l(o)}constructor(o={}){typeof o=="string"&&(o=JSON.parse(o)),this.filePatterns=o.filePatterns,this.skipDirs=o.skipDirs,this.skipFiles=o.skipFiles,this.scanners=o.scanners}}p.ScanOptions=l;class c{static createFrom(o={}){return new c(o)}constructor(o={}){typeof o=="string"&&(o=JSON.parse(o)),this.timestamp=this.convertValues(o.timestamp,V.Time),this.result=o.result,this.id=o.id,this.command=o.command}convertValues(o,n,g=!1){if(!o)return o;if(o.slice&&o.map)return o.map(a=>this.convertValues(a,n));if(typeof o=="object"){if(g){for(let a of Object.keys(o))o[a]=new n(o[a]);return o}return new n(o)}return o}}p.ScanResult=c})(ce||(ce={}));var ot;(q=>{let t;(D=>(D.UNKNOWN="UNKNOWN",D.CONNECTED="CONNECTED",D.DISCONNECTED="DISCONNECTED",D.PENDING="PENDING",D.FAILED="FAILED",D.ERROR="ERROR",D.UNAUTHORIZED="UNAUTHORIZED",D.FORBIDDEN="FORBIDDEN",D.BAD_REQUEST="BAD_REQUEST",D.NOT_FOUND="NOT_FOUND",D.TIMEOUT="TIMEOUT",D.UNAVAILABLE="UNAVAILABLE",D.REQUEST_ENTITY_TOO_LARGE="REQUEST_ENTITY_TOO_LARGE"))(t=q.ConnectionStatusCode||(q.ConnectionStatusCode={}));class i{static createFrom(e={}){return new i(e)}constructor(e={}){typeof e=="string"&&(e=JSON.parse(e)),this.id=e.id,this.label=e.label,this.description=e.description,this.icon=e.icon,this.scope=e.scope,this.streaming=e.streaming}}q.ActionDescriptor=i;class l{static createFrom(e={}){return new l(e)}constructor(e={}){typeof e=="string"&&(e=JSON.parse(e)),this.id=e.id,this.namespace=e.namespace,this.params=e.params}}q.ActionInput=l;class c{static createFrom(e={}){return new c(e)}constructor(e={}){typeof e=="string"&&(e=JSON.parse(e)),this.success=e.success,this.data=e.data,this.message=e.message}}q.ActionResult=c;class p{static createFrom(e={}){return new p(e)}constructor(e={}){typeof e=="string"&&(e=JSON.parse(e)),this.selectors=e.selectors,this.label_selector=e.label_selector,this.label=e.label,this.paths=e.paths}}q.ActionTargetBuilder=p;class w{static createFrom(e={}){return new w(e)}constructor(e={}){typeof e=="string"&&(e=JSON.parse(e)),this.idAccessor=e.idAccessor,this.namespaceAccessor=e.namespaceAccessor,this.namespaced=e.namespaced,this.resourceKey=e.resourceKey,this.keyAccessor=e.keyAccessor,this.keyMap=e.keyMap,this.detailExtractors=e.detailExtractors,this.displayId=e.displayId}}q.ResourceLink=w;class o{static createFrom(e={}){return new o(e)}constructor(e={}){typeof e=="string"&&(e=JSON.parse(e)),this.id=e.id,this.header=e.header,this.accessor=e.accessor,this.accessorPriority=e.accessorPriority,this.colorMap=e.colorMap,this.color=e.color,this.align=e.align,this.hidden=e.hidden,this.width=e.width,this.formatter=e.formatter,this.component=e.component,this.componentParams=e.componentParams,this.resourceLink=this.convertValues(e.resourceLink,w),this.valueMap=e.valueMap}convertValues(e,b,k=!1){if(!e)return e;if(e.slice&&e.map)return e.map(y=>this.convertValues(y,b));if(typeof e=="object"){if(k){for(let y of Object.keys(e))e[y]=new b(e[y]);return e}return new b(e)}return e}}q.ColumnDef=o;class n{static createFrom(e={}){return new n(e)}constructor(e={}){typeof e=="string"&&(e=JSON.parse(e)),this.last_refresh=this.convertValues(e.last_refresh,V.Time),this.data=e.data,this.labels=e.labels,this.id=e.id,this.uid=e.uid,this.name=e.name,this.description=e.description,this.avatar=e.avatar,this.expiry_time=e.expiry_time,this.Client=e.Client}convertValues(e,b,k=!1){if(!e)return e;if(e.slice&&e.map)return e.map(y=>this.convertValues(y,b));if(typeof e=="object"){if(k){for(let y of Object.keys(e))e[y]=new b(e[y]);return e}return new b(e)}return e}}q.Connection=n;class g{static createFrom(e={}){return new g(e)}constructor(e={}){typeof e=="string"&&(e=JSON.parse(e)),this.connection=this.convertValues(e.connection,n),this.status=e.status,this.error=e.error,this.details=e.details}convertValues(e,b,k=!1){if(!e)return e;if(e.slice&&e.map)return e.map(y=>this.convertValues(y,b));if(typeof e=="object"){if(k){for(let y of Object.keys(e))e[y]=new b(e[y]);return e}return new b(e)}return e}}q.ConnectionStatus=g;class a{static createFrom(e={}){return new a(e)}constructor(e={}){typeof e=="string"&&(e=JSON.parse(e)),this.params=e.params,this.input=e.input,this.namespace=e.namespace}}q.CreateInput=a;class m{static createFrom(e={}){return new m(e)}constructor(e={}){typeof e=="string"&&(e=JSON.parse(e)),this.result=e.result,this.success=e.success}}q.CreateResult=m;class j{static createFrom(e={}){return new j(e)}constructor(e={}){typeof e=="string"&&(e=JSON.parse(e)),this.input=e.input,this.params=e.params,this.id=e.id,this.namespace=e.namespace}}q.DeleteInput=j;class P{static createFrom(e={}){return new P(e)}constructor(e={}){typeof e=="string"&&(e=JSON.parse(e)),this.result=e.result,this.success=e.success}}q.DeleteResult=P;class L{static createFrom(e={}){return new L(e)}constructor(e={}){typeof e=="string"&&(e=JSON.parse(e)),this.resourceKey=e.resourceKey,this.fileMatch=e.fileMatch,this.uri=e.uri,this.url=e.url,this.content=e.content,this.language=e.language}}q.EditorSchema=L;class s{static createFrom(e={}){return new s(e)}constructor(e={}){typeof e=="string"&&(e=JSON.parse(e)),this.page=e.page,this.pageSize=e.pageSize}}q.PaginationParams=s;class _{static createFrom(e={}){return new _(e)}constructor(e={}){typeof e=="string"&&(e=JSON.parse(e)),this.by=e.by,this.direction=e.direction}}q.OrderParams=_;class N{static createFrom(e={}){return new N(e)}constructor(e={}){typeof e=="string"&&(e=JSON.parse(e)),this.params=e.params,this.conditions=e.conditions,this.namespaces=e.namespaces,this.order=this.convertValues(e.order,_),this.pagination=this.convertValues(e.pagination,s)}convertValues(e,b,k=!1){if(!e)return e;if(e.slice&&e.map)return e.map(y=>this.convertValues(y,b));if(typeof e=="object"){if(k){for(let y of Object.keys(e))e[y]=new b(e[y]);return e}return new b(e)}return e}}q.FindInput=N;class v{static createFrom(e={}){return new v(e)}constructor(e={}){typeof e=="string"&&(e=JSON.parse(e)),this.page=e.page,this.pageSize=e.pageSize,this.total=e.total,this.pages=e.pages}}q.PaginationResult=v;class Z{static createFrom(e={}){return new Z(e)}constructor(e={}){typeof e=="string"&&(e=JSON.parse(e)),this.result=e.result,this.success=e.success,this.pagination=this.convertValues(e.pagination,v)}convertValues(e,b,k=!1){if(!e)return e;if(e.slice&&e.map)return e.map(y=>this.convertValues(y,b));if(typeof e=="object"){if(k){for(let y of Object.keys(e))e[y]=new b(e[y]);return e}return new b(e)}return e}}q.FindResult=Z;class I{static createFrom(e={}){return new I(e)}constructor(e={}){typeof e=="string"&&(e=JSON.parse(e)),this.params=e.params,this.id=e.id,this.namespace=e.namespace}}q.GetInput=I;class at{static createFrom(e={}){return new at(e)}constructor(e={}){typeof e=="string"&&(e=JSON.parse(e)),this.result=e.result,this.success=e.success}}q.GetResult=at;class Y{static createFrom(e={}){return new Y(e)}constructor(e={}){typeof e=="string"&&(e=JSON.parse(e)),this.connection=e.connection,this.resources=e.resources,this.resourceCounts=e.resourceCounts,this.totalResources=e.totalResources,this.syncedCount=e.syncedCount,this.errorCount=e.errorCount}}q.InformerConnectionSummary=Y;class tt{static createFrom(e={}){return new tt(e)}constructor(e={}){typeof e=="string"&&(e=JSON.parse(e)),this.id=e.id,this.title=e.title,this.icon=e.icon,this.description=e.description,this.items=this.convertValues(e.items,tt)}convertValues(e,b,k=!1){if(!e)return e;if(e.slice&&e.map)return e.map(y=>this.convertValues(y,b));if(typeof e=="object"){if(k){for(let y of Object.keys(e))e[y]=new b(e[y]);return e}return new b(e)}return e}}q.LayoutItem=tt;class W{static createFrom(e={}){return new W(e)}constructor(e={}){typeof e=="string"&&(e=JSON.parse(e)),this.params=e.params,this.namespaces=e.namespaces,this.order=this.convertValues(e.order,_),this.pagination=this.convertValues(e.pagination,s)}convertValues(e,b,k=!1){if(!e)return e;if(e.slice&&e.map)return e.map(y=>this.convertValues(y,b));if(typeof e=="object"){if(k){for(let y of Object.keys(e))e[y]=new b(e[y]);return e}return new b(e)}return e}}q.ListInput=W;class H{static createFrom(e={}){return new H(e)}constructor(e={}){typeof e=="string"&&(e=JSON.parse(e)),this.result=e.result,this.success=e.success,this.pagination=this.convertValues(e.pagination,v)}convertValues(e,b,k=!1){if(!e)return e;if(e.slice&&e.map)return e.map(y=>this.convertValues(y,b));if(typeof e=="object"){if(k){for(let y of Object.keys(e))e[y]=new b(e[y]);return e}return new b(e)}return e}}q.ListResult=H;class ut{static createFrom(e={}){return new ut(e)}constructor(e={}){typeof e=="string"&&(e=JSON.parse(e)),this.id=e.id,this.metadata=this.convertValues(e.metadata,gt.PluginMeta),this.enabled=e.enabled,this.running=e.running,this.devMode=e.devMode,this.devPath=e.devPath,this.loading=e.loading,this.loadError=e.loadError,this.capabilities=e.capabilities}convertValues(e,b,k=!1){if(!e)return e;if(e.slice&&e.map)return e.map(y=>this.convertValues(y,b));if(typeof e=="object"){if(k){for(let y of Object.keys(e))e[y]=new b(e[y]);return e}return new b(e)}return e}}q.Plugin=ut;class A{static createFrom(e={}){return new A(e)}constructor(e={}){typeof e=="string"&&(e=JSON.parse(e)),this.Metadata=this.convertValues(e.Metadata,gt.PluginMeta),this.ID=e.ID,this.DevPath=e.DevPath,this.Enabled=e.Enabled,this.DevMode=e.DevMode}convertValues(e,b,k=!1){if(!e)return e;if(e.slice&&e.map)return e.map(y=>this.convertValues(y,b));if(typeof e=="object"){if(k){for(let y of Object.keys(e))e[y]=new b(e[y]);return e}return new b(e)}return e}}q.PluginState=A;class et{static createFrom(e={}){return new et(e)}constructor(e={}){typeof e=="string"&&(e=JSON.parse(e)),this.id_accessor=e.id_accessor,this.namespace_accessor=e.namespace_accessor,this.memoizer_accessor=e.memoizer_accessor,this.columnDefs=this.convertValues(e.columnDefs,o),this.supportedOperations=e.supportedOperations}convertValues(e,b,k=!1){if(!e)return e;if(e.slice&&e.map)return e.map(y=>this.convertValues(y,b));if(typeof e=="object"){if(k){for(let y of Object.keys(e))e[y]=new b(e[y]);return e}return new b(e)}return e}}q.ResourceDefinition=et;class ${static createFrom(e={}){return new $(e)}constructor(e={}){typeof e=="string"&&(e=JSON.parse(e)),this.id=e.id,this.name=e.name,this.description=e.description,this.icon=e.icon,this.resources=this.convertValues(e.resources,Array,!0)}convertValues(e,b,k=!1){if(!e)return e;if(e.slice&&e.map)return e.map(y=>this.convertValues(y,b));if(typeof e=="object"){if(k){for(let y of Object.keys(e))e[y]=new b(e[y]);return e}return new b(e)}return e}}q.ResourceGroup=$;class J{static createFrom(e={}){return new J(e)}constructor(e={}){typeof e=="string"&&(e=JSON.parse(e)),this.group=e.group,this.version=e.version,this.kind=e.kind,this.label=e.label,this.icon=e.icon,this.description=e.description,this.category=e.category}}q.ResourceMeta=J;class z{static createFrom(e={}){return new z(e)}constructor(e={}){typeof e=="string"&&(e=JSON.parse(e)),this.input=e.input,this.params=e.params,this.id=e.id,this.namespace=e.namespace}}q.UpdateInput=z;class B{static createFrom(e={}){return new B(e)}constructor(e={}){typeof e=="string"&&(e=JSON.parse(e)),this.result=e.result,this.success=e.success}}q.UpdateResult=B})(ot||(ot={}));var le;(p=>{class t{static createFrom(o={}){return new t(o)}constructor(o={}){typeof o=="string"&&(o=JSON.parse(o)),this.plugin=o.plugin}}p.GetPluginComponentsInput=t;class i{static createFrom(o={}){return new i(o)}constructor(o={}){typeof o=="string"&&(o=JSON.parse(o)),this.plugin=o.plugin,this.resource=o.resource,this.area=o.area}}p.GetResourceAreaComponentInput=i;class l{static createFrom(o={}){return new l(o)}constructor(o={}){typeof o=="string"&&(o=JSON.parse(o)),this.plugin=o.plugin,this.resource=o.resource}}p.GetResourceComponentsInput=l;class c{static createFrom(o={}){return new c(o)}constructor(o={}){typeof o=="string"&&(o=JSON.parse(o)),this.owner=o.owner,this.name=o.name,this.plugin=o.plugin,this.resource=o.resource,this.area=o.area,this.extension=o.extension}}p.ResourceComponent=c})(le||(le={}));var pe;(i=>{class t{static createFrom(c={}){return new t(c)}constructor(c={}){typeof c=="string"&&(c=JSON.parse(c)),this.filename=c.filename,this.contents=c.contents}}i.GetLanguageInput=t})(pe||(pe={}));var fe={};M(fe,{GetOperatingSystem:()=>Ze,OpenFileSelectionDialog:()=>tn,SaveFileDialog:()=>en,WriteFileContent:()=>nn});function Ze(){return window.go.main.App.GetOperatingSystem()}function tn(t){return window.go.main.App.OpenFileSelectionDialog(t)}function en(t){return window.go.main.App.SaveFileDialog(t)}function nn(t,i){return window.go.main.App.WriteFileContent(t,i)}var ge={};M(ge,{Delete:()=>rn,Get:()=>on,Keys:()=>sn,Set:()=>an});function rn(t,i){return window.go.data.Client.Delete(t,i)}function on(t,i){return window.go.data.Client.Get(t,i)}function sn(t){return window.go.data.Client.Keys(t)}function an(t,i,l){return window.go.data.Client.Set(t,i,l)}var de={};M(de,{GetDevServerLogs:()=>un,GetDevServerState:()=>cn,GetExternalPluginInfo:()=>ln,Initialize:()=>pn,IsManaged:()=>fn,ListDevServerStates:()=>gn,RestartDevServer:()=>dn,Shutdown:()=>mn,StartDevServer:()=>yn,StartDevServerForPath:()=>wn,StopDevServer:()=>hn});function un(t,i){return window.go.devserver.DevServerManager.GetDevServerLogs(t,i)}function cn(t){return window.go.devserver.DevServerManager.GetDevServerState(t)}function ln(t){return window.go.devserver.DevServerManager.GetExternalPluginInfo(t)}function pn(t){return window.go.devserver.DevServerManager.Initialize(t)}function fn(t){return window.go.devserver.DevServerManager.IsManaged(t)}function gn(){return window.go.devserver.DevServerManager.ListDevServerStates()}function dn(t){return window.go.devserver.DevServerManager.RestartDevServer(t)}function mn(){return window.go.devserver.DevServerManager.Shutdown()}function yn(t){return window.go.devserver.DevServerManager.StartDevServer(t)}function wn(t,i){return window.go.devserver.DevServerManager.StartDevServerForPath(t,i)}function hn(t){return window.go.devserver.DevServerManager.StopDevServer(t)}var me={};M(me,{Debug:()=>vn,Error:()=>bn,Info:()=>Sn,Log:()=>xn,ReadLog:()=>_n,StartTail:()=>On,StopTail:()=>En,Warn:()=>Rn});function vn(t,i){return window.go.diagnostics.DiagnosticsClient.Debug(t,i)}function bn(t,i){return window.go.diagnostics.DiagnosticsClient.Error(t,i)}function Sn(t,i){return window.go.diagnostics.DiagnosticsClient.Info(t,i)}function xn(t,i,l){return window.go.diagnostics.DiagnosticsClient.Log(t,i,l)}function _n(t){return window.go.diagnostics.DiagnosticsClient.ReadLog(t)}function On(t){return window.go.diagnostics.DiagnosticsClient.StartTail(t)}function En(t){return window.go.diagnostics.DiagnosticsClient.StopTail(t)}function Rn(t,i){return window.go.diagnostics.DiagnosticsClient.Warn(t,i)}var ye={};M(ye,{AttachSession:()=>Cn,CloseSession:()=>Pn,CreateSession:()=>Tn,CreateTerminal:()=>kn,DetachSession:()=>Fn,GetHandler:()=>Nn,GetHandlers:()=>An,GetPluginHandlers:()=>Dn,GetSession:()=>Mn,ListPlugins:()=>Vn,ListSessions:()=>jn,ResizeSession:()=>Ln,WriteSession:()=>Gn});function Cn(t){return window.go.exec.Client.AttachSession(t)}function Pn(t){return window.go.exec.Client.CloseSession(t)}function Tn(t,i,l){return window.go.exec.Client.CreateSession(t,i,l)}function kn(t){return window.go.exec.Client.CreateTerminal(t)}function Fn(t){return window.go.exec.Client.DetachSession(t)}function Nn(t,i){return window.go.exec.Client.GetHandler(t,i)}function An(){return window.go.exec.Client.GetHandlers()}function Dn(t){return window.go.exec.Client.GetPluginHandlers(t)}function Mn(t){return window.go.exec.Client.GetSession(t)}function Vn(){return window.go.exec.Client.ListPlugins()}function jn(){return window.go.exec.Client.ListSessions()}function Ln(t,i,l){return window.go.exec.Client.ResizeSession(t,i,l)}function Gn(t,i){return window.go.exec.Client.WriteSession(t,i)}var we={};M(we,{CloseSession:()=>In,CreateSession:()=>Wn,GetSession:()=>Jn,GetSupportedResources:()=>Un,ListSessions:()=>Hn,PauseSession:()=>$n,ResumeSession:()=>zn,UpdateSessionOptions:()=>Yn});function In(t){return window.go.logs.Client.CloseSession(t)}function Wn(t,i,l){return window.go.logs.Client.CreateSession(t,i,l)}function Jn(t){return window.go.logs.Client.GetSession(t)}function Un(t){return window.go.logs.Client.GetSupportedResources(t)}function Hn(){return window.go.logs.Client.ListSessions()}function $n(t){return window.go.logs.Client.PauseSession(t)}function zn(t){return window.go.logs.Client.ResumeSession(t)}function Yn(t,i){return window.go.logs.Client.UpdateSessionOptions(t,i)}var he={};M(he,{GetProviders:()=>Bn,GetProvidersForResource:()=>qn,Query:()=>Kn,QueryAll:()=>Qn,Subscribe:()=>Xn,Unsubscribe:()=>Zn});function Bn(){return window.go.metric.Client.GetProviders()}function qn(t){return window.go.metric.Client.GetProvidersForResource(t)}function Kn(t,i,l){return window.go.metric.Client.Query(t,i,l)}function Qn(t,i,l,c,p,w,o,n,g,a){return window.go.metric.Client.QueryAll(t,i,l,c,p,w,o,n,g,a)}function Xn(t,i,l){return window.go.metric.Client.Subscribe(t,i,l)}function Zn(t){return window.go.metric.Client.Unsubscribe(t)}var ve={};M(ve,{ClosePortForwardSession:()=>_t,FindPortForwardSessions:()=>Ot,GetPortForwardSession:()=>tr,GetSupportedPortForwardTargets:()=>er,ListAllPortForwardSessions:()=>nr,ListPortForwardSessions:()=>rr,StartResourcePortForwardingSession:()=>Et});function _t(t){return window.go.networker.Client.ClosePortForwardSession(t)}function Ot(t,i,l){return window.go.networker.Client.FindPortForwardSessions(t,i,l)}function tr(t){return window.go.networker.Client.GetPortForwardSession(t)}function er(t){return window.go.networker.Client.GetSupportedPortForwardTargets(t)}function nr(){return window.go.networker.Client.ListAllPortForwardSessions()}function rr(t,i){return window.go.networker.Client.ListPortForwardSessions(t,i)}function Et(t,i,l){return window.go.networker.Client.StartResourcePortForwardingSession(t,i,l)}var be={};M(be,{AddTarget:()=>ir,GetPlugin:()=>or,GetPluginDownloadStats:()=>sr,GetPluginMeta:()=>ar,GetPluginReadme:()=>ur,GetPluginReleaseHistory:()=>cr,GetPluginReviews:()=>lr,GetPluginVersions:()=>pr,Initialize:()=>fr,InstallFromPathPrompt:()=>gr,InstallInDevMode:()=>dr,InstallPluginFromPath:()=>mr,InstallPluginVersion:()=>yr,ListAvailablePlugins:()=>wr,ListPluginMetas:()=>hr,ListPlugins:()=>vr,LoadPlugin:()=>br,ReloadPlugin:()=>Sr,RemoveTarget:()=>xr,Run:()=>_r,SearchPlugins:()=>Or,SetDevServerChecker:()=>Er,SetDevServerManager:()=>Rr,Shutdown:()=>Cr,UninstallPlugin:()=>Pr,UnloadPlugin:()=>Tr});function ir(t){return window.go.plugin.pluginManager.AddTarget(t)}function or(t){return window.go.plugin.pluginManager.GetPlugin(t)}function sr(t){return window.go.plugin.pluginManager.GetPluginDownloadStats(t)}function ar(t){return window.go.plugin.pluginManager.GetPluginMeta(t)}function ur(t){return window.go.plugin.pluginManager.GetPluginReadme(t)}function cr(t){return window.go.plugin.pluginManager.GetPluginReleaseHistory(t)}function lr(t,i){return window.go.plugin.pluginManager.GetPluginReviews(t,i)}function pr(t){return window.go.plugin.pluginManager.GetPluginVersions(t)}function fr(t){return window.go.plugin.pluginManager.Initialize(t)}function gr(){return window.go.plugin.pluginManager.InstallFromPathPrompt()}function dr(){return window.go.plugin.pluginManager.InstallInDevMode()}function mr(t){return window.go.plugin.pluginManager.InstallPluginFromPath(t)}function yr(t,i){return window.go.plugin.pluginManager.InstallPluginVersion(t,i)}function wr(){return window.go.plugin.pluginManager.ListAvailablePlugins()}function hr(){return window.go.plugin.pluginManager.ListPluginMetas()}function vr(){return window.go.plugin.pluginManager.ListPlugins()}function br(t,i){return window.go.plugin.pluginManager.LoadPlugin(t,i)}function Sr(t){return window.go.plugin.pluginManager.ReloadPlugin(t)}function xr(t){return window.go.plugin.pluginManager.RemoveTarget(t)}function _r(t){return window.go.plugin.pluginManager.Run(t)}function Or(t,i,l){return window.go.plugin.pluginManager.SearchPlugins(t,i,l)}function Er(t){return window.go.plugin.pluginManager.SetDevServerChecker(t)}function Rr(t){return window.go.plugin.pluginManager.SetDevServerManager(t)}function Cr(){return window.go.plugin.pluginManager.Shutdown()}function Pr(t){return window.go.plugin.pluginManager.UninstallPlugin(t)}function Tr(t){return window.go.plugin.pluginManager.UnloadPlugin(t)}var Se={};M(Se,{AddConnection:()=>kr,Create:()=>Fr,Delete:()=>Nr,EnsureInformerForResource:()=>Ar,ExecuteAction:()=>Dr,Find:()=>Mr,Get:()=>Vr,GetActions:()=>jr,GetConnection:()=>Lr,GetConnectionNamespaces:()=>Gr,GetDefaultLayout:()=>Ir,GetEditorSchemas:()=>Wr,GetInformerState:()=>Jr,GetLayout:()=>Ur,GetResourceDefinition:()=>Hr,GetResourceGroup:()=>$r,GetResourceGroups:()=>zr,GetResourceType:()=>Yr,GetResourceTypes:()=>Br,HasResourceType:()=>qr,List:()=>Kr,ListAllConnections:()=>Qr,ListConnections:()=>Xr,ListPlugins:()=>Zr,LoadConnections:()=>ti,RemoveConnection:()=>ei,SetLayout:()=>ni,StartConnection:()=>ri,StartConnectionInformer:()=>ii,StopConnection:()=>oi,StopConnectionInformer:()=>si,StreamAction:()=>ai,Update:()=>ui,UpdateConnection:()=>ci});function kr(t,i){return window.go.resource.Client.AddConnection(t,i)}function Fr(t,i,l,c){return window.go.resource.Client.Create(t,i,l,c)}function Nr(t,i,l,c){return window.go.resource.Client.Delete(t,i,l,c)}function Ar(t,i,l){return window.go.resource.Client.EnsureInformerForResource(t,i,l)}function Dr(t,i,l,c,p){return window.go.resource.Client.ExecuteAction(t,i,l,c,p)}function Mr(t,i,l,c){return window.go.resource.Client.Find(t,i,l,c)}function Vr(t,i,l,c){return window.go.resource.Client.Get(t,i,l,c)}function jr(t,i,l){return window.go.resource.Client.GetActions(t,i,l)}function Lr(t,i){return window.go.resource.Client.GetConnection(t,i)}function Gr(t,i){return window.go.resource.Client.GetConnectionNamespaces(t,i)}function Ir(t){return window.go.resource.Client.GetDefaultLayout(t)}function Wr(t,i){return window.go.resource.Client.GetEditorSchemas(t,i)}function Jr(t,i){return window.go.resource.Client.GetInformerState(t,i)}function Ur(t,i){return window.go.resource.Client.GetLayout(t,i)}function Hr(t,i){return window.go.resource.Client.GetResourceDefinition(t,i)}function $r(t,i){return window.go.resource.Client.GetResourceGroup(t,i)}function zr(t,i){return window.go.resource.Client.GetResourceGroups(t,i)}function Yr(t,i){return window.go.resource.Client.GetResourceType(t,i)}function Br(t,i){return window.go.resource.Client.GetResourceTypes(t,i)}function qr(t,i){return window.go.resource.Client.HasResourceType(t,i)}function Kr(t,i,l,c){return window.go.resource.Client.List(t,i,l,c)}function Qr(){return window.go.resource.Client.ListAllConnections()}function Xr(t){return window.go.resource.Client.ListConnections(t)}function Zr(){return window.go.resource.Client.ListPlugins()}function ti(t){return window.go.resource.Client.LoadConnections(t)}function ei(t,i){return window.go.resource.Client.RemoveConnection(t,i)}function ni(t,i,l){return window.go.resource.Client.SetLayout(t,i,l)}function ri(t,i){return window.go.resource.Client.StartConnection(t,i)}function ii(t,i){return window.go.resource.Client.StartConnectionInformer(t,i)}function oi(t,i){return window.go.resource.Client.StopConnection(t,i)}function si(t,i){return window.go.resource.Client.StopConnectionInformer(t,i)}function ai(t,i,l,c,p){return window.go.resource.Client.StreamAction(t,i,l,c,p)}function ui(t,i,l,c){return window.go.resource.Client.Update(t,i,l,c)}function ci(t,i){return window.go.resource.Client.UpdateConnection(t,i)}var xe={};M(xe,{BrowserOpenURL:()=>Ct,CanResolveFilePaths:()=>oo,ClipboardGetText:()=>eo,ClipboardSetText:()=>no,Environment:()=>Qi,EventsEmit:()=>Si,EventsOff:()=>hi,EventsOffAll:()=>vi,EventsOn:()=>wi,EventsOnMultiple:()=>Rt,EventsOnce:()=>bi,Hide:()=>Zi,LogDebug:()=>fi,LogError:()=>mi,LogFatal:()=>yi,LogInfo:()=>gi,LogPrint:()=>li,LogTrace:()=>pi,LogWarning:()=>di,OnFileDrop:()=>ro,OnFileDropOff:()=>io,Quit:()=>Xi,ResolveFilePaths:()=>so,ScreenGetAll:()=>Bi,Show:()=>to,WindowCenter:()=>Pi,WindowFullscreen:()=>ki,WindowGetPosition:()=>Li,WindowGetSize:()=>Ai,WindowHide:()=>Gi,WindowIsFullscreen:()=>Ni,WindowIsMaximised:()=>Hi,WindowIsMinimised:()=>qi,WindowIsNormal:()=>Ki,WindowMaximise:()=>Wi,WindowMinimise:()=>$i,WindowReload:()=>xi,WindowReloadApp:()=>_i,WindowSetAlwaysOnTop:()=>Oi,WindowSetBackgroundColour:()=>Yi,WindowSetDarkTheme:()=>Ci,WindowSetLightTheme:()=>Ri,WindowSetMaxSize:()=>Mi,WindowSetMinSize:()=>Vi,WindowSetPosition:()=>ji,WindowSetSize:()=>Di,WindowSetSystemDefaultTheme:()=>Ei,WindowSetTitle:()=>Ti,WindowShow:()=>Ii,WindowToggleMaximise:()=>Ji,WindowUnfullscreen:()=>Fi,WindowUnmaximise:()=>Ui,WindowUnminimise:()=>zi});function li(t){window.runtime.LogPrint(t)}function pi(t){window.runtime.LogTrace(t)}function fi(t){window.runtime.LogDebug(t)}function gi(t){window.runtime.LogInfo(t)}function di(t){window.runtime.LogWarning(t)}function mi(t){window.runtime.LogError(t)}function yi(t){window.runtime.LogFatal(t)}function Rt(t,i,l){return window.runtime.EventsOnMultiple(t,i,l)}function wi(t,i){return Rt(t,i,-1)}function hi(t,...i){return window.runtime.EventsOff(t,...i)}function vi(){return window.runtime.EventsOffAll()}function bi(t,i){return Rt(t,i,1)}function Si(t){let i=[t].slice.call(arguments);return window.runtime.EventsEmit.apply(null,i)}function xi(){window.runtime.WindowReload()}function _i(){window.runtime.WindowReloadApp()}function Oi(t){window.runtime.WindowSetAlwaysOnTop(t)}function Ei(){window.runtime.WindowSetSystemDefaultTheme()}function Ri(){window.runtime.WindowSetLightTheme()}function Ci(){window.runtime.WindowSetDarkTheme()}function Pi(){window.runtime.WindowCenter()}function Ti(t){window.runtime.WindowSetTitle(t)}function ki(){window.runtime.WindowFullscreen()}function Fi(){window.runtime.WindowUnfullscreen()}function Ni(){return window.runtime.WindowIsFullscreen()}function Ai(){return window.runtime.WindowGetSize()}function Di(t,i){window.runtime.WindowSetSize(t,i)}function Mi(t,i){window.runtime.WindowSetMaxSize(t,i)}function Vi(t,i){window.runtime.WindowSetMinSize(t,i)}function ji(t,i){window.runtime.WindowSetPosition(t,i)}function Li(){return window.runtime.WindowGetPosition()}function Gi(){window.runtime.WindowHide()}function Ii(){window.runtime.WindowShow()}function Wi(){window.runtime.WindowMaximise()}function Ji(){window.runtime.WindowToggleMaximise()}function Ui(){window.runtime.WindowUnmaximise()}function Hi(){return window.runtime.WindowIsMaximised()}function $i(){window.runtime.WindowMinimise()}function zi(){window.runtime.WindowUnminimise()}function Yi(t,i,l,c){window.runtime.WindowSetBackgroundColour(t,i,l,c)}function Bi(){return window.runtime.ScreenGetAll()}function qi(){return window.runtime.WindowIsMinimised()}function Ki(){return window.runtime.WindowIsNormal()}function Ct(t){window.runtime.BrowserOpenURL(t)}function Qi(){return window.runtime.Environment()}function Xi(){window.runtime.Quit()}function Zi(){window.runtime.Hide()}function to(){window.runtime.Show()}function eo(){return window.runtime.ClipboardGetText()}function no(t){return window.runtime.ClipboardSetText(t)}function ro(t,i){return window.runtime.OnFileDrop(t,i)}function io(){return window.runtime.OnFileDropOff()}function oo(){return window.runtime.CanResolveFilePaths()}function so(t){return window.runtime.ResolveFilePaths(t)}var _e={};M(_e,{GetSetting:()=>ao,ListPlugins:()=>uo,ListSettings:()=>co,PluginValues:()=>lo,SetSetting:()=>po,SetSettings:()=>fo,Values:()=>go});function ao(t,i){return window.go.settings.Client.GetSetting(t,i)}function uo(){return window.go.settings.Client.ListPlugins()}function co(t){return window.go.settings.Client.ListSettings(t)}function lo(t){return window.go.settings.Client.PluginValues(t)}function po(t,i,l){return window.go.settings.Client.SetSetting(t,i,l)}function fo(t,i){return window.go.settings.Client.SetSettings(t,i)}function go(){return window.go.settings.Client.Values()}var Oe={};M(Oe,{GetBool:()=>mo,GetCategories:()=>yo,GetCategory:()=>wo,GetCategoryValues:()=>ho,GetFloat:()=>vo,GetFloatSlice:()=>bo,GetInt:()=>So,GetIntSlice:()=>xo,GetSetting:()=>_o,GetSettingValue:()=>Oo,GetString:()=>Eo,GetStringSlice:()=>Ro,HasSetting:()=>Co,Initialize:()=>Po,ListSettings:()=>To,LoadSettings:()=>ko,RegisterSetting:()=>Fo,RegisterSettings:()=>No,ResetSetting:()=>Ao,SaveSettings:()=>Do,SetSetting:()=>Mo,SetSettings:()=>Vo,Values:()=>jo});function mo(t){return window.go.settings.provider.GetBool(t)}function yo(){return window.go.settings.provider.GetCategories()}function wo(t){return window.go.settings.provider.GetCategory(t)}function ho(t){return window.go.settings.provider.GetCategoryValues(t)}function vo(t){return window.go.settings.provider.GetFloat(t)}function bo(t){return window.go.settings.provider.GetFloatSlice(t)}function So(t){return window.go.settings.provider.GetInt(t)}function xo(t){return window.go.settings.provider.GetIntSlice(t)}function _o(t){return window.go.settings.provider.GetSetting(t)}function Oo(t){return window.go.settings.provider.GetSettingValue(t)}function Eo(t){return window.go.settings.provider.GetString(t)}function Ro(t){return window.go.settings.provider.GetStringSlice(t)}function Co(t){return window.go.settings.provider.HasSetting(t)}function Po(t,i){return window.go.settings.provider.Initialize(t,i)}function To(){return window.go.settings.provider.ListSettings()}function ko(){return window.go.settings.provider.LoadSettings()}function Fo(t,i){return window.go.settings.provider.RegisterSetting(t,i)}function No(t,i){return window.go.settings.provider.RegisterSettings(t,i)}function Ao(t){return window.go.settings.provider.ResetSetting(t)}function Do(){return window.go.settings.provider.SaveSettings()}function Mo(t,i){return window.go.settings.provider.SetSetting(t,i)}function Vo(t){return window.go.settings.provider.SetSettings(t)}function jo(){return window.go.settings.provider.Values()}var Ee={};M(Ee,{Scan:()=>Lo});function Lo(t,i,l){return window.go.trivy.Manager.Scan(t,i,l)}var Re={};M(Re,{GetPluginComponents:()=>Go,GetResourceAreaComponent:()=>Io,GetResourceComponents:()=>Wo});function Go(t){return window.go.ui.Client.GetPluginComponents(t)}function Io(t){return window.go.ui.Client.GetResourceAreaComponent(t)}function Wo(t){return window.go.ui.Client.GetResourceComponents(t)}var Ce={};M(Ce,{DetectLanguage:()=>Jo});function Jo(t){return window.go.utils.Client.DetectLanguage(t)}var Ie=te(Vt()),os=Ie.default.createContext(void 0);import.meta.env.DEV&&(os.displayName="PortForwardContext");var st=te(Vt());function ss({pluginID:t,connectionID:i,resourceID:l}){let[c,p]=st.default.useState([]);st.default.useEffect(()=>{!t||!i||!l||Ot(t,i,it.FindPortForwardSessionRequest.createFrom({resource_id:l,connection_id:i})).then(n=>{p(n)}).catch(n=>{n instanceof Error&&console.log(n)})},[t,i]);let w=st.default.useCallback(async n=>{let g=it.PortForwardSessionOptions.createFrom({local_port:n.toPort||0,remote_port:n.fromPort,protocol:n.protocol||"TCP",connection_type:"RESOURCE",connection:{resource_data:n.resource,connection_id:i,plugin_id:t,resource_id:n.resourceId,resource_key:n.resourceKey},labels:n.labels??{},params:n.parameters??{}});try{let a=await Et(t,i,g);return p([...c,a]),n.openInBrowser&&Ct(`http://localhost:${a.remote_port}`),a}catch(a){throw a instanceof Error&&console.log(a),a}},[t,i,c]),o=st.default.useCallback(async n=>{try{await _t(n),p(c.filter(g=>g.id!==n))}catch(g){throw g instanceof Error&&console.log(g),g}},[c]);return{sessions:c,forward:w,close:o}}export{os as PortForwardContext,fe as app,gt as config,ge as data,de as devserver,me as diagnostics,ye as exec,we as logs,ie as main,he as metric,ve as networker,se as plugin,be as pluginManager,ae as registry,Se as resource,xe as runtime,_e as settings,Oe as settingsProvider,V as time,Ee as trivy,ot as types,Re as ui,ss as useResourcePortForwarder,Ce as utils};
14
+ /*! Bundled license information:
15
+
16
+ react/cjs/react.production.js:
17
+ (**
18
+ * @license React
19
+ * react.production.js
20
+ *
21
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
22
+ *
23
+ * This source code is licensed under the MIT license found in the
24
+ * LICENSE file in the root directory of this source tree.
25
+ *)
26
+
27
+ react/cjs/react.development.js:
28
+ (**
29
+ * @license React
30
+ * react.development.js
31
+ *
32
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
33
+ *
34
+ * This source code is licensed under the MIT license found in the
35
+ * LICENSE file in the root directory of this source tree.
36
+ *)
37
+ */
package/package.json ADDED
@@ -0,0 +1,41 @@
1
+ {
2
+ "name": "@omniviewdev/providers",
3
+ "version": "0.1.0",
4
+ "description": "Package to interact with the various providers in Omniview via the UI.",
5
+ "main": "dist/index.js",
6
+ "module": "dist/index.mjs",
7
+ "types": "dist/index.d.ts",
8
+ "repository": {
9
+ "directory": "pkg/providers",
10
+ "url": "https://github.com/omniviewdev/omniview"
11
+ },
12
+ "files": [
13
+ "dist"
14
+ ],
15
+ "publishConfig": {
16
+ "registry": "https://registry.npmjs.org/",
17
+ "access": "public"
18
+ },
19
+ "keywords": [
20
+ "omniview"
21
+ ],
22
+ "author": "Omniview",
23
+ "license": "AGPL-3.0-only",
24
+ "engines": {
25
+ "node": ">=20"
26
+ },
27
+ "devDependencies": {
28
+ "@types/node": "^20.12.7",
29
+ "@types/react": "^19.0.0",
30
+ "@vitejs/plugin-react": "^4.2.1",
31
+ "react": "^19.0.0",
32
+ "tsup": "^8.0.2",
33
+ "typescript": "^5.4.5",
34
+ "vite": "^5.2.10"
35
+ },
36
+ "scripts": {
37
+ "build": "tsup index.ts --minify --dts --format cjs,esm --out-dir dist",
38
+ "lint": "eslint --cache --ext .js,.jsx,.ts,.tsx ./src",
39
+ "lint:fix": "npm run lint -- --fix"
40
+ }
41
+ }