diff --git a/404.html b/404.html index 310e0c4..d5e1b16 100644 --- a/404.html +++ b/404.html @@ -6,7 +6,8 @@
t=>{const{theme:r,css:n,__css:o,sx:i,...a}=t,s=ik(a,(f,p)=>UR(p)),l=sk(e,t),c=U8({},o,l,ak(s),i),u=VC(c)(t.theme);return n?[u,n]:u};function Bh(e,t){const{baseStyle:r,...n}=t??{};n.shouldForwardProp||(n.shouldForwardProp=V8);const o=J8({baseStyle:r}),i=Q8(e,n)(o);return Q.forwardRef(function(l,c){const{colorMode:u,forced:f}=Ag();return Q.createElement(i,{ref:c,"data-theme":f?u:void 0,...l})})}function e$(){const e=new Map;return new Proxy(Bh,{apply(t,r,n){return Bh(...n)},get(t,r){return e.has(r)||e.set(r,Bh(r)),e.get(r)}})}var L=e$();function H(e){return y.forwardRef(e)}function ck(e={}){const{strict:t=!0,errorMessage:r="useContext: `context` is undefined. Seems you forgot to wrap component within the Provider",name:n}=e,o=y.createContext(void 0);o.displayName=n;function i(){var a;const s=y.useContext(o);if(!s&&t){const l=new Error(r);throw l.name="ContextError",(a=Error.captureStackTrace)==null||a.call(Error,l,i),l}return s}return[o.Provider,i,o]}function t$(e){const{cssVarsRoot:t,theme:r,children:n}=e,o=y.useMemo(()=>DR(r),[r]);return d.jsxs(yO,{theme:o,children:[d.jsx(r$,{root:t}),n]})}function r$({root:e=":host, :root"}){const t=[e,"[data-theme]"].join(",");return d.jsx(cp,{styles:r=>({[t]:r.__cssVars})})}ck({name:"StylesContext",errorMessage:"useStyles: `styles` is undefined. Seems you forgot to wrap the components in ` {if(!n._listeners)return;let i=n._listeners.length;for(;i-- >0;)n._listeners[i](o);n._listeners=null}),this.promise.then=o=>{let i;const a=new Promise(s=>{n.subscribe(s),i=s}).then(o);return a.cancel=function(){n.unsubscribe(i)},a},t(function(i,a,s){n.reason||(n.reason=new Qc(i,a,s),r(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const r=this._listeners.indexOf(t);r!==-1&&this._listeners.splice(r,1)}static source(){let t;return{token:new Zy(function(o){t=o}),cancel:t}}}const jY=Zy;function OY(e){return function(r){return e.apply(null,r)}}function RY(e){return I.isObject(e)&&e.isAxiosError===!0}const yv={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(yv).forEach(([e,t])=>{yv[t]=e});const IY=yv;function MT(e){const t=new Td(e),r=vT(Td.prototype.request,t);return I.extend(r,Td.prototype,t,{allOwnKeys:!0}),I.extend(r,t,null,{allOwnKeys:!0}),r.create=function(o){return MT(bs(e,o))},r}const wt=MT(Gy);wt.Axios=Td;wt.CanceledError=Qc;wt.CancelToken=jY;wt.isCancel=OT;wt.VERSION=IT;wt.toFormData=$p;wt.AxiosError=_e;wt.Cancel=wt.CanceledError;wt.all=function(t){return Promise.all(t)};wt.spread=OY;wt.isAxiosError=RY;wt.mergeConfig=bs;wt.AxiosHeaders=ao;wt.formToJSON=e=>jT(I.isHTMLForm(e)?new FormData(e):e);wt.HttpStatusCode=IY;wt.default=wt;const de=wt,MY=e=>{const t=localStorage.getItem("config")?JSON.parse(localStorage.getItem("config")):{server:{host:"",port:""}},[r,n]=y.useState(t),o=(s,l)=>{var c={...r,server:{host:s,port:l}};n(c),localStorage.setItem("config",JSON.stringify(c))},i=()=>r.server.host!==""&&r.server.port!=="";return(()=>{if(window.location.host=="dashboard.swiftwave.org"){let s=r.server.host+":"+r.server.port;de.defaults.baseURL="https://proxy.swiftwave.org",de.defaults.headers.common["X-PROXY-PASS"]=s}else{let s=r.server.host+":"+r.server.port;de.defaults.baseURL="http://"+s}})(),d.jsx(dT.Provider,{value:{state:r,setServer:o,isSet:i},children:e.children})},pe={AUTH_LOGIN:"/auth/login",AUTH_VERIFY:"/auth/verify",AUTH_LOGOUT:"/auth/logout",REDIRECT_RULES:"/mapping/redirects",INGRESS_RULES:"/mapping/ingresses",RESTRICTED_PORTS:"/mapping/ingresses/restricted-ports",DOMAINS:"/domains",DOMAIN_NAMES:"/domains/shortlist",DOMAIN_REACHIBILITY_TEST:"/tests/domain/reachibility",GIT_CREDENTIALS:"/git/credentials",VOLUMES:"/volumes",SERVICE_NAMES:"/applications/servicenames",APPLICATIONS:"/applications",APPLICATIONS_SUMMARY:"/applications/summary",APPLICATION_SERVICE_NAME_AVAILABILITY:"/applications/availiblity/service_name",DOCKER_CONFIG_GENERATE_GIT:"/applications/deploy/dockerconfig/generate/git",DOCKER_CONFIG_GENERATE_CODE:"/applications/deploy/dockerconfig/generate/tarball",DEPLOY_APPLICATION:"/applications/deploy",UPLOAD_TAR:"/applications/deploy/upload"};var NY=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var t={},r=Symbol("test"),n=Object(r);if(typeof r=="string"||Object.prototype.toString.call(r)!=="[object Symbol]"||Object.prototype.toString.call(n)!=="[object Symbol]")return!1;var o=42;t[r]=o;for(r in t)return!1;if(typeof Object.keys=="function"&&Object.keys(t).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(t).length!==0)return!1;var i=Object.getOwnPropertySymbols(t);if(i.length!==1||i[0]!==r||!Object.prototype.propertyIsEnumerable.call(t,r))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var a=Object.getOwnPropertyDescriptor(t,r);if(a.value!==o||a.enumerable!==!0)return!1}return!0},Mw=typeof Symbol<"u"&&Symbol,FY=NY,$Y=function(){return typeof Mw!="function"||typeof Symbol!="function"||typeof Mw("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:FY()},Nw={foo:{}},DY=Object,LY=function(){return{__proto__:Nw}.foo===Nw.foo&&!({__proto__:null}instanceof DY)},zY="Function.prototype.bind called on incompatible ",gm=Array.prototype.slice,BY=Object.prototype.toString,VY="[object Function]",UY=function(t){var r=this;if(typeof r!="function"||BY.call(r)!==VY)throw new TypeError(zY+r);for(var n=gm.call(arguments,1),o,i=function(){if(this instanceof o){var u=r.apply(this,n.concat(gm.call(arguments)));return Object(u)===u?u:this}else return r.apply(t,n.concat(gm.call(arguments)))},a=Math.max(0,r.length-n.length),s=[],l=0;l"u"||!_t?me:_t(Uint8Array),Bi={"%AggregateError%":typeof AggregateError>"u"?me:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?me:ArrayBuffer,"%ArrayIteratorPrototype%":ha&&_t?_t([][Symbol.iterator]()):me,"%AsyncFromSyncIteratorPrototype%":me,"%AsyncFunction%":va,"%AsyncGenerator%":va,"%AsyncGeneratorFunction%":va,"%AsyncIteratorPrototype%":va,"%Atomics%":typeof Atomics>"u"?me:Atomics,"%BigInt%":typeof BigInt>"u"?me:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?me:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?me:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?me:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?me:Float32Array,"%Float64Array%":typeof Float64Array>"u"?me:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?me:FinalizationRegistry,"%Function%":NT,"%GeneratorFunction%":va,"%Int8Array%":typeof Int8Array>"u"?me:Int8Array,"%Int16Array%":typeof Int16Array>"u"?me:Int16Array,"%Int32Array%":typeof Int32Array>"u"?me:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":ha&&_t?_t(_t([][Symbol.iterator]())):me,"%JSON%":typeof JSON=="object"?JSON:me,"%Map%":typeof Map>"u"?me:Map,"%MapIteratorPrototype%":typeof Map>"u"||!ha||!_t?me:_t(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?me:Promise,"%Proxy%":typeof Proxy>"u"?me:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?me:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?me:Set,"%SetIteratorPrototype%":typeof Set>"u"||!ha||!_t?me:_t(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?me:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":ha&&_t?_t(""[Symbol.iterator]()):me,"%Symbol%":ha?Symbol:me,"%SyntaxError%":xs,"%ThrowTypeError%":qY,"%TypedArray%":KY,"%TypeError%":rs,"%Uint8Array%":typeof Uint8Array>"u"?me:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?me:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?me:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?me:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?me:WeakMap,"%WeakRef%":typeof WeakRef>"u"?me:WeakRef,"%WeakSet%":typeof WeakSet>"u"?me:WeakSet};if(_t)try{null.error}catch(e){var YY=_t(_t(e));Bi["%Error.prototype%"]=YY}var XY=function e(t){var r;if(t==="%AsyncFunction%")r=ym("async function () {}");else if(t==="%GeneratorFunction%")r=ym("function* () {}");else if(t==="%AsyncGeneratorFunction%")r=ym("async function* () {}");else if(t==="%AsyncGenerator%"){var n=e("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if(t==="%AsyncIteratorPrototype%"){var o=e("%AsyncGenerator%");o&&_t&&(r=_t(o.prototype))}return Bi[t]=r,r},Fw={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},Jc=Ky,Tf=GY,QY=Jc.call(Function.call,Array.prototype.concat),JY=Jc.call(Function.apply,Array.prototype.splice),$w=Jc.call(Function.call,String.prototype.replace),Af=Jc.call(Function.call,String.prototype.slice),eX=Jc.call(Function.call,RegExp.prototype.exec),tX=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,rX=/\\(\\)?/g,nX=function(t){var r=Af(t,0,1),n=Af(t,-1);if(r==="%"&&n!=="%")throw new xs("invalid intrinsic syntax, expected closing `%`");if(n==="%"&&r!=="%")throw new xs("invalid intrinsic syntax, expected opening `%`");var o=[];return $w(t,tX,function(i,a,s,l){o[o.length]=s?$w(l,rX,"$1"):a||i}),o},oX=function(t,r){var n=t,o;if(Tf(Fw,n)&&(o=Fw[n],n="%"+o[0]+"%"),Tf(Bi,n)){var i=Bi[n];if(i===va&&(i=XY(n)),typeof i>"u"&&!r)throw new rs("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:o,name:n,value:i}}throw new xs("intrinsic "+t+" does not exist!")},Yy=function(t,r){if(typeof t!="string"||t.length===0)throw new rs("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof r!="boolean")throw new rs('"allowMissing" argument must be a boolean');if(eX(/^%?[^%]*%?$/,t)===null)throw new xs("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=nX(t),o=n.length>0?n[0]:"",i=oX("%"+o+"%",r),a=i.name,s=i.value,l=!1,c=i.alias;c&&(o=c[0],JY(n,QY([0,1],c)));for(var u=1,f=!0;u t=>{const{theme:r,css:n,__css:o,sx:i,...a}=t,s=xk(a,(f,p)=>gI(p)),l=wk(e,t),c=gF({},o,l,Sk(s),i),u=nk(c)(t.theme);return n?[u,n]:u};function Qh(e,t){const{baseStyle:r,...n}=t??{};n.shouldForwardProp||(n.shouldForwardProp=vF);const o=_F({baseStyle:r}),i=PF(e,n)(o);return ee.forwardRef(function(l,c){const{colorMode:u,forced:f}=Ug();return ee.createElement(i,{ref:c,"data-theme":f?u:void 0,...l})})}function TF(){const e=new Map;return new Proxy(Qh,{apply(t,r,n){return Qh(...n)},get(t,r){return e.has(r)||e.set(r,Qh(r)),e.get(r)}})}var W=TF();function Y(e){return g.forwardRef(e)}function kk(e={}){const{strict:t=!0,errorMessage:r="useContext: `context` is undefined. Seems you forgot to wrap component within the Provider",name:n}=e,o=g.createContext(void 0);o.displayName=n;function i(){var a;const s=g.useContext(o);if(!s&&t){const l=new Error(r);throw l.name="ContextError",(a=Error.captureStackTrace)==null||a.call(Error,l,i),l}return s}return[o.Provider,i,o]}function AF(e){const{cssVarsRoot:t,theme:r,children:n}=e,o=g.useMemo(()=>fI(r),[r]);return d.jsxs(GO,{theme:o,children:[d.jsx(jF,{root:t}),n]})}function jF({root:e=":host, :root"}){const t=[e,"[data-theme]"].join(",");return d.jsx(bp,{styles:r=>({[t]:r.__cssVars})})}kk({name:"StylesContext",errorMessage:"useStyles: `styles` is undefined. Seems you forgot to wrap the components in ` {if(!n._listeners)return;let i=n._listeners.length;for(;i-- >0;)n._listeners[i](o);n._listeners=null}),this.promise.then=o=>{let i;const a=new Promise(s=>{n.subscribe(s),i=s}).then(o);return a.cancel=function(){n.unsubscribe(i)},a},t(function(i,a,s){n.reason||(n.reason=new au(i,a,s),r(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const r=this._listeners.indexOf(t);r!==-1&&this._listeners.splice(r,1)}static source(){let t;return{token:new n1(function(o){t=o}),cancel:t}}}const uQ=n1;function dQ(e){return function(r){return e.apply(null,r)}}function fQ(e){return $.isObject(e)&&e.isAxiosError===!0}const Rv={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Rv).forEach(([e,t])=>{Rv[t]=e});const pQ=Rv;function lA(e){const t=new Fd(e),r=WT(Fd.prototype.request,t);return $.extend(r,Fd.prototype,t,{allOwnKeys:!0}),$.extend(r,t,null,{allOwnKeys:!0}),r.create=function(o){return lA(ws(e,o))},r}const kt=lA(t1);kt.Axios=Fd;kt.CanceledError=au;kt.CancelToken=uQ;kt.isCancel=iA;kt.VERSION=sA;kt.toFormData=Zp;kt.AxiosError=Te;kt.Cancel=kt.CanceledError;kt.all=function(t){return Promise.all(t)};kt.spread=dQ;kt.isAxiosError=fQ;kt.mergeConfig=ws;kt.AxiosHeaders=so;kt.formToJSON=e=>oA($.isHTMLForm(e)?new FormData(e):e);kt.HttpStatusCode=pQ;kt.default=kt;const pe=kt,hQ=e=>{const t=localStorage.getItem("config")?JSON.parse(localStorage.getItem("config")):{server:{host:"",port:""}},[r,n]=g.useState(t),o=(s,l)=>{var c={...r,server:{host:s,port:l}};n(c),localStorage.setItem("config",JSON.stringify(c))},i=()=>r.server.host!==""&&r.server.port!=="";return(()=>{if(window.location.host=="dashboard.swiftwave.org"){let s=r.server.host+":"+r.server.port;pe.defaults.baseURL="https://proxy.swiftwave.org",pe.defaults.headers.common["X-PROXY-PASS"]=s}else{let s=r.server.host+":"+r.server.port;pe.defaults.baseURL="http://"+s}})(),d.jsx(OT.Provider,{value:{state:r,setServer:o,isSet:i},children:e.children})},ve={AUTH_LOGIN:"/auth/login",AUTH_VERIFY:"/auth/verify",AUTH_LOGOUT:"/auth/logout",REDIRECT_RULES:"/mapping/redirects",INGRESS_RULES:"/mapping/ingresses",RESTRICTED_PORTS:"/mapping/ingresses/restricted-ports",DOMAINS:"/domains",DOMAIN_NAMES:"/domains/shortlist",DOMAIN_REACHIBILITY_TEST:"/tests/domain/reachibility",GIT_CREDENTIALS:"/git/credentials",VOLUMES:"/volumes",SERVICE_NAMES:"/applications/servicenames",APPLICATIONS:"/applications",APPLICATIONS_SUMMARY:"/applications/summary",APPLICATION_SERVICE_NAME_AVAILABILITY:"/applications/availiblity/service_name",DOCKER_CONFIG_GENERATE_GIT:"/applications/deploy/dockerconfig/generate/git",DOCKER_CONFIG_GENERATE_CODE:"/applications/deploy/dockerconfig/generate/tarball",DOCKER_CONFIG_GENERATE_CUSTOM:"/applications/deploy/dockerconfig/generate/custom",DEPLOY_APPLICATION:"/applications/deploy",UPLOAD_TAR:"/applications/deploy/upload"};var mQ=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var t={},r=Symbol("test"),n=Object(r);if(typeof r=="string"||Object.prototype.toString.call(r)!=="[object Symbol]"||Object.prototype.toString.call(n)!=="[object Symbol]")return!1;var o=42;t[r]=o;for(r in t)return!1;if(typeof Object.keys=="function"&&Object.keys(t).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(t).length!==0)return!1;var i=Object.getOwnPropertySymbols(t);if(i.length!==1||i[0]!==r||!Object.prototype.propertyIsEnumerable.call(t,r))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var a=Object.getOwnPropertyDescriptor(t,r);if(a.value!==o||a.enumerable!==!0)return!1}return!0},Kw=typeof Symbol<"u"&&Symbol,vQ=mQ,gQ=function(){return typeof Kw!="function"||typeof Symbol!="function"||typeof Kw("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:vQ()},Yw={foo:{}},yQ=Object,bQ=function(){return{__proto__:Yw}.foo===Yw.foo&&!({__proto__:null}instanceof yQ)},xQ="Function.prototype.bind called on incompatible ",Om=Array.prototype.slice,SQ=Object.prototype.toString,wQ="[object Function]",CQ=function(t){var r=this;if(typeof r!="function"||SQ.call(r)!==wQ)throw new TypeError(xQ+r);for(var n=Om.call(arguments,1),o,i=function(){if(this instanceof o){var u=r.apply(this,n.concat(Om.call(arguments)));return Object(u)===u?u:this}else return r.apply(t,n.concat(Om.call(arguments)))},a=Math.max(0,r.length-n.length),s=[],l=0;l"u"||!_t?ye:_t(Uint8Array),Wi={"%AggregateError%":typeof AggregateError>"u"?ye:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?ye:ArrayBuffer,"%ArrayIteratorPrototype%":va&&_t?_t([][Symbol.iterator]()):ye,"%AsyncFromSyncIteratorPrototype%":ye,"%AsyncFunction%":ya,"%AsyncGenerator%":ya,"%AsyncGeneratorFunction%":ya,"%AsyncIteratorPrototype%":ya,"%Atomics%":typeof Atomics>"u"?ye:Atomics,"%BigInt%":typeof BigInt>"u"?ye:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?ye:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?ye:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?ye:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?ye:Float32Array,"%Float64Array%":typeof Float64Array>"u"?ye:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?ye:FinalizationRegistry,"%Function%":cA,"%GeneratorFunction%":ya,"%Int8Array%":typeof Int8Array>"u"?ye:Int8Array,"%Int16Array%":typeof Int16Array>"u"?ye:Int16Array,"%Int32Array%":typeof Int32Array>"u"?ye:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":va&&_t?_t(_t([][Symbol.iterator]())):ye,"%JSON%":typeof JSON=="object"?JSON:ye,"%Map%":typeof Map>"u"?ye:Map,"%MapIteratorPrototype%":typeof Map>"u"||!va||!_t?ye:_t(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?ye:Promise,"%Proxy%":typeof Proxy>"u"?ye:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?ye:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?ye:Set,"%SetIteratorPrototype%":typeof Set>"u"||!va||!_t?ye:_t(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?ye:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":va&&_t?_t(""[Symbol.iterator]()):ye,"%Symbol%":va?Symbol:ye,"%SyntaxError%":Cs,"%ThrowTypeError%":_Q,"%TypedArray%":AQ,"%TypeError%":is,"%Uint8Array%":typeof Uint8Array>"u"?ye:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?ye:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?ye:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?ye:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?ye:WeakMap,"%WeakRef%":typeof WeakRef>"u"?ye:WeakRef,"%WeakSet%":typeof WeakSet>"u"?ye:WeakSet};if(_t)try{null.error}catch(e){var jQ=_t(_t(e));Wi["%Error.prototype%"]=jQ}var OQ=function e(t){var r;if(t==="%AsyncFunction%")r=Rm("async function () {}");else if(t==="%GeneratorFunction%")r=Rm("function* () {}");else if(t==="%AsyncGeneratorFunction%")r=Rm("async function* () {}");else if(t==="%AsyncGenerator%"){var n=e("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if(t==="%AsyncIteratorPrototype%"){var o=e("%AsyncGenerator%");o&&_t&&(r=_t(o.prototype))}return Wi[t]=r,r},Xw={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},su=o1,Lf=PQ,RQ=su.call(Function.call,Array.prototype.concat),IQ=su.call(Function.apply,Array.prototype.splice),Qw=su.call(Function.call,String.prototype.replace),zf=su.call(Function.call,String.prototype.slice),MQ=su.call(Function.call,RegExp.prototype.exec),$Q=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,NQ=/\\(\\)?/g,DQ=function(t){var r=zf(t,0,1),n=zf(t,-1);if(r==="%"&&n!=="%")throw new Cs("invalid intrinsic syntax, expected closing `%`");if(n==="%"&&r!=="%")throw new Cs("invalid intrinsic syntax, expected opening `%`");var o=[];return Qw(t,$Q,function(i,a,s,l){o[o.length]=s?Qw(l,NQ,"$1"):a||i}),o},FQ=function(t,r){var n=t,o;if(Lf(Xw,n)&&(o=Xw[n],n="%"+o[0]+"%"),Lf(Wi,n)){var i=Wi[n];if(i===ya&&(i=OQ(n)),typeof i>"u"&&!r)throw new is("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:o,name:n,value:i}}throw new Cs("intrinsic "+t+" does not exist!")},i1=function(t,r){if(typeof t!="string"||t.length===0)throw new is("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof r!="boolean")throw new is('"allowMissing" argument must be a boolean');if(MQ(/^%?[^%]*%?$/,t)===null)throw new Cs("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=DQ(t),o=n.length>0?n[0]:"",i=FQ("%"+o+"%",r),a=i.name,s=i.value,l=!1,c=i.alias;c&&(o=c[0],IQ(n,RQ([0,1],c)));for(var u=1,f=!0;ut=>typeof t=="string"&&t.startsWith(e),xk=bk("--"),I0=bk("var(--"),C$=/var\s*\(\s*--[\w-]+(\s*,\s*(?:(?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)+)?\s*\)/g,k$=(e,t)=>t&&typeof e=="number"?t.transform(e):e,Zo=(e,t,r)=>Math.min(Math.max(r,e),t),ea={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},Dl={...ea,transform:e=>Zo(0,1,e)},Ru={...ea,default:1},Ll=e=>Math.round(e*1e5)/1e5,yp=/(-)?([\d]*\.?[\d])+/g,Sk=/(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,E$=/^(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function Bc(e){return typeof e=="string"}const Vc=e=>({test:t=>Bc(t)&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),Co=Vc("deg"),$n=Vc("%"),ie=Vc("px"),P$=Vc("vh"),_$=Vc("vw"),Ax={...$n,parse:e=>$n.parse(e)/100,transform:e=>$n.transform(e*100)},jx={...ea,transform:Math.round},wk={borderWidth:ie,borderTopWidth:ie,borderRightWidth:ie,borderBottomWidth:ie,borderLeftWidth:ie,borderRadius:ie,radius:ie,borderTopLeftRadius:ie,borderTopRightRadius:ie,borderBottomRightRadius:ie,borderBottomLeftRadius:ie,width:ie,maxWidth:ie,height:ie,maxHeight:ie,size:ie,top:ie,right:ie,bottom:ie,left:ie,padding:ie,paddingTop:ie,paddingRight:ie,paddingBottom:ie,paddingLeft:ie,margin:ie,marginTop:ie,marginRight:ie,marginBottom:ie,marginLeft:ie,rotate:Co,rotateX:Co,rotateY:Co,rotateZ:Co,scale:Ru,scaleX:Ru,scaleY:Ru,scaleZ:Ru,skew:Co,skewX:Co,skewY:Co,distance:ie,translateX:ie,translateY:ie,translateZ:ie,x:ie,y:ie,z:ie,perspective:ie,transformPerspective:ie,opacity:Dl,originX:Ax,originY:Ax,originZ:ie,zIndex:jx,fillOpacity:Dl,strokeOpacity:Dl,numOctaves:jx};function Vg(e,t,r,n){const{style:o,vars:i,transform:a,transformOrigin:s}=e;let l=!1,c=!1,u=!0;for(const f in t){const p=t[f];if(xk(f)){i[f]=p;continue}const h=wk[f],m=k$(p,h);if(Ji.has(f)){if(l=!0,a[f]=m,!u)continue;p!==(h.default||0)&&(u=!1)}else f.startsWith("origin")?(c=!0,s[f]=m):o[f]=m}if(t.transform||(l||n?o.transform=w$(e.transform,r,u,n):o.transform&&(o.transform="none")),c){const{originX:f="50%",originY:p="50%",originZ:h=0}=s;o.transformOrigin=`${f} ${p} ${h}`}}const Ug=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function Ck(e,t,r){for(const n in t)!mr(t[n])&&!yk(n,r)&&(e[n]=t[n])}function T$({transformTemplate:e},t,r){return y.useMemo(()=>{const n=Ug();return Vg(n,t,{enableHardwareAcceleration:!r},e),Object.assign({},n.vars,n.style)},[t])}function A$(e,t,r){const n=e.style||{},o={};return Ck(o,n,e),Object.assign(o,T$(e,t,r)),e.transformValues?e.transformValues(o):o}function j$(e,t,r){const n={},o=A$(e,t,r);return e.drag&&e.dragListener!==!1&&(n.draggable=!1,o.userSelect=o.WebkitUserSelect=o.WebkitTouchCallout="none",o.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=o,n}const O$=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","transformValues","custom","inherit","onLayoutAnimationStart","onLayoutAnimationComplete","onLayoutMeasure","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","ignoreStrict","viewport"]);function uf(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||O$.has(e)}let kk=e=>!uf(e);function R$(e){e&&(kk=t=>t.startsWith("on")?!uf(t):e(t))}try{R$(require("@emotion/is-prop-valid").default)}catch{}function I$(e,t,r){const n={};for(const o in e)o==="values"&&typeof e.values=="object"||(kk(o)||r===!0&&uf(o)||!t&&!uf(o)||e.draggable&&o.startsWith("onDrag"))&&(n[o]=e[o]);return n}function Ox(e,t,r){return typeof e=="string"?e:ie.transform(t+r*e)}function M$(e,t,r){const n=Ox(t,e.x,e.width),o=Ox(r,e.y,e.height);return`${n} ${o}`}const N$={offset:"stroke-dashoffset",array:"stroke-dasharray"},F$={offset:"strokeDashoffset",array:"strokeDasharray"};function $$(e,t,r=1,n=0,o=!0){e.pathLength=1;const i=o?N$:F$;e[i.offset]=ie.transform(-n);const a=ie.transform(t),s=ie.transform(r);e[i.array]=`${a} ${s}`}function Wg(e,{attrX:t,attrY:r,attrScale:n,originX:o,originY:i,pathLength:a,pathSpacing:s=1,pathOffset:l=0,...c},u,f,p){if(Vg(e,c,u,p),f){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:h,style:m,dimensions:v}=e;h.transform&&(v&&(m.transform=h.transform),delete h.transform),v&&(o!==void 0||i!==void 0||m.transform)&&(m.transformOrigin=M$(v,o!==void 0?o:.5,i!==void 0?i:.5)),t!==void 0&&(h.x=t),r!==void 0&&(h.y=r),n!==void 0&&(h.scale=n),a!==void 0&&$$(h,a,s,l,!1)}const Ek=()=>({...Ug(),attrs:{}}),Hg=e=>typeof e=="string"&&e.toLowerCase()==="svg";function D$(e,t,r,n){const o=y.useMemo(()=>{const i=Ek();return Wg(i,t,{enableHardwareAcceleration:!1},Hg(n),e.transformTemplate),{...i.attrs,style:{...i.style}}},[t]);if(e.style){const i={};Ck(i,e.style,e),o.style={...i,...o.style}}return o}function L$(e=!1){return(r,n,o,{latestValues:i},a)=>{const l=(Bg(r)?D$:j$)(n,i,a,r),u={...I$(n,typeof r=="string",e),...l,ref:o},{children:f}=n,p=y.useMemo(()=>mr(f)?f.get():f,[f]);return y.createElement(r,{...u,children:p})}}const Gg=e=>e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();function Pk(e,{style:t,vars:r},n,o){Object.assign(e.style,t,o&&o.getProjectionStyles(n));for(const i in r)e.style.setProperty(i,r[i])}const _k=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function Tk(e,t,r,n){Pk(e,t,void 0,n);for(const o in t.attrs)e.setAttribute(_k.has(o)?o:Gg(o),t.attrs[o])}function qg(e,t){const{style:r}=e,n={};for(const o in r)(mr(r[o])||t.style&&mr(t.style[o])||yk(o,e))&&(n[o]=r[o]);return n}function Ak(e,t){const r=qg(e,t);for(const n in e)if(mr(e[n])||mr(t[n])){const o=zc.indexOf(n)!==-1?"attr"+n.charAt(0).toUpperCase()+n.substring(1):n;r[o]=e[n]}return r}function Zg(e,t,r,n={},o={}){return typeof t=="function"&&(t=t(r!==void 0?r:e.custom,n,o)),typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"&&(t=t(r!==void 0?r:e.custom,n,o)),t}function jk(e){const t=y.useRef(null);return t.current===null&&(t.current=e()),t.current}const df=e=>Array.isArray(e),z$=e=>!!(e&&typeof e=="object"&&e.mix&&e.toValue),B$=e=>df(e)?e[e.length-1]||0:e;function md(e){const t=mr(e)?e.get():e;return z$(t)?t.toValue():t}function V$({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:r},n,o,i){const a={latestValues:U$(n,o,i,e),renderState:t()};return r&&(a.mount=s=>r(n,s,a)),a}const Ok=e=>(t,r)=>{const n=y.useContext(hp),o=y.useContext(Lc),i=()=>V$(e,t,n,o);return r?i():jk(i)};function U$(e,t,r,n){const o={},i=n(e,{});for(const p in i)o[p]=md(i[p]);let{initial:a,animate:s}=e;const l=gp(e),c=vk(e);t&&c&&!l&&e.inherit!==!1&&(a===void 0&&(a=t.initial),s===void 0&&(s=t.animate));let u=r?r.initial===!1:!1;u=u||a===!1;const f=u?s:a;return f&&typeof f!="boolean"&&!vp(f)&&(Array.isArray(f)?f:[f]).forEach(h=>{const m=Zg(e,h);if(!m)return;const{transitionEnd:v,transition:S,...b}=m;for(const g in b){let x=b[g];if(Array.isArray(x)){const w=u?x.length-1:0;x=x[w]}x!==null&&(o[g]=x)}for(const g in v)o[g]=v[g]}),o}const W$={useVisualState:Ok({scrapeMotionValuesFromProps:Ak,createRenderState:Ek,onMount:(e,t,{renderState:r,latestValues:n})=>{try{r.dimensions=typeof t.getBBox=="function"?t.getBBox():t.getBoundingClientRect()}catch{r.dimensions={x:0,y:0,width:0,height:0}}Wg(r,n,{enableHardwareAcceleration:!1},Hg(t.tagName),e.transformTemplate),Tk(t,r)}})},H$={useVisualState:Ok({scrapeMotionValuesFromProps:qg,createRenderState:Ug})};function G$(e,{forwardMotionProps:t=!1},r,n){return{...Bg(e)?W$:H$,preloadedFeatures:r,useRender:L$(t),createVisualElement:n,Component:e}}function eo(e,t,r,n={passive:!0}){return e.addEventListener(t,r,n),()=>e.removeEventListener(t,r)}const Rk=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1;function bp(e,t="page"){return{point:{x:e[t+"X"],y:e[t+"Y"]}}}const q$=e=>t=>Rk(t)&&e(t,bp(t));function no(e,t,r,n){return eo(e,t,q$(r),n)}const Z$=(e,t)=>r=>t(e(r)),Uo=(...e)=>e.reduce(Z$);function Ik(e){let t=null;return()=>{const r=()=>{t=null};return t===null?(t=e,r):!1}}const Rx=Ik("dragHorizontal"),Ix=Ik("dragVertical");function Mk(e){let t=!1;if(e==="y")t=Ix();else if(e==="x")t=Rx();else{const r=Rx(),n=Ix();r&&n?t=()=>{r(),n()}:(r&&r(),n&&n())}return t}function Nk(){const e=Mk(!0);return e?(e(),!1):!0}class Jo{constructor(t){this.isMounted=!1,this.node=t}update(){}}const at=e=>e;function K$(e){let t=[],r=[],n=0,o=!1,i=!1;const a=new WeakSet,s={schedule:(l,c=!1,u=!1)=>{const f=u&&o,p=f?t:r;return c&&a.add(l),p.indexOf(l)===-1&&(p.push(l),f&&o&&(n=t.length)),l},cancel:l=>{const c=r.indexOf(l);c!==-1&&r.splice(c,1),a.delete(l)},process:l=>{if(o){i=!0;return}if(o=!0,[t,r]=[r,t],r.length=0,n=t.length,n)for(let c=0;cl,m=P=>s===void 0?l:l===void 0||Math.abs(s-P)" `}),oa=H((e,t)=>{const r=Qr("Table",e),{className:n,layout:o,...i}=ft(e);return d.jsx(NH,{value:r,children:d.jsx(L.table,{ref:t,__css:{tableLayout:o,...r.table},className:J("chakra-table",n),...i})})});oa.displayName="Table";var Os=H((e,t)=>{const r=js();return d.jsx(L.thead,{...e,ref:t,__css:r.thead})}),Ot=H((e,t)=>{const r=js();return d.jsx(L.tr,{...e,ref:t,__css:r.tr})}),Rs=H((e,t)=>{var r;const{overflow:n,overflowX:o,className:i,...a}=e;return d.jsx(L.div,{ref:t,className:J("chakra-table__container",i),...a,__css:{display:"block",whiteSpace:"nowrap",WebkitOverflowScrolling:"touch",overflowX:(r=n??o)!=null?r:"auto",overflowY:"hidden",maxWidth:"100%"}})}),Is=H((e,t)=>{const r=js();return d.jsx(L.tbody,{...e,ref:t,__css:r.tbody})}),Te=H(({isNumeric:e,...t},r)=>{const n=js();return d.jsx(L.td,{...t,ref:r,__css:n.td,"data-is-numeric":e})}),Ms=H((e,t)=>{const r=js();return d.jsx(L.tfoot,{...e,ref:t,__css:r.tfoot})}),W=H(({isNumeric:e,...t},r)=>{const n=js();return d.jsx(L.th,{...t,ref:r,__css:n.th,"data-is-numeric":e})}),[FH,$H,DH,LH]=BE();function zH(e){var t;const{defaultIndex:r,onChange:n,index:o,isManual:i,isLazy:a,lazyBehavior:s="unmount",orientation:l="horizontal",direction:c="ltr",...u}=e,[f,p]=y.useState(r??0),[h,m]=VE({defaultValue:r??0,value:o,onChange:n});y.useEffect(()=>{o!=null&&p(o)},[o]);const v=DH(),S=y.useId();return{id:`tabs-${(t=e.id)!=null?t:S}`,selectedIndex:h,focusedIndex:f,setSelectedIndex:m,setFocusedIndex:p,isManual:i,isLazy:a,lazyBehavior:s,orientation:l,descendants:v,direction:c,htmlProps:u}}var[BH,Tp]=dt({name:"TabsContext",errorMessage:"useTabsContext: `context` is undefined. Seems you forgot to wrap all tabs components within
>>1,I=D[F];if(0l,m=P=>s===void 0?l:l===void 0||Math.abs(s-P)m.cancel(),S=()=>{Qe.update(v),s(),c()};return m.onfinish=()=>{e.set(W8(u,o)),n&&n(),S()},{then(y,x){return l.then(y,x)},attachTimeline(y){return m.timeline=y,m.onfinish=null,at},get time(){return io(m.currentTime||0)},set time(y){m.currentTime=Qo(y)},get speed(){return m.playbackRate},set speed(y){m.playbackRate=y},get duration(){return io(f)},play:()=>{a||(m.play(),ho(v))},pause:()=>m.pause(),stop:()=>{if(a=!0,m.playState==="idle")return;const{currentTime:y}=m;if(y){const x=kf({...o,autoplay:!1});e.setWithVelocity(x.sample(y-Vu).value,x.sample(y).value,Vu)}S()},complete:()=>m.finish(),cancel:S}}function ML({keyframes:e,delay:t,onUpdate:r,onComplete:n}){const o=()=>(r&&r(e[e.length-1]),n&&n(),{time:0,speed:1,duration:0,play:at,pause:at,stop:at,then:i=>(i(),Promise.resolve()),cancel:at,complete:at});return t?kf({keyframes:[0,1],duration:0,delay:t,onComplete:o}):o()}const $L={type:"spring",stiffness:500,damping:25,restSpeed:10},NL=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),DL={type:"keyframes",duration:.8},FL={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},LL=(e,{keyframes:t})=>t.length>2?DL:ta.has(e)?e.startsWith("scale")?NL(t[1]):$L:FL,X0=(e,t)=>e==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&(oi.test(t)||t==="0")&&!t.startsWith("url(")),zL=new Set(["brightness","contrast","saturate","opacity"]);function BL(e){const[t,r]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[n]=r.match(Tp)||[];if(!n)return e;const o=r.replace(n,"");let i=zL.has(t)?1:0;return n!==r&&(i*=100),t+"("+i+o+")"}const VL=/([a-z-]*)\(.*?\)/g,Q0={...oi,getAnimatableNone:e=>{const t=e.match(VL);return t?t.map(BL).join(" "):e}},UL={...Dk,color:Jt,backgroundColor:Jt,outlineColor:Jt,fill:Jt,stroke:Jt,borderColor:Jt,borderTopColor:Jt,borderRightColor:Jt,borderBottomColor:Jt,borderLeftColor:Jt,filter:Q0,WebkitFilter:Q0},py=e=>UL[e];function kE(e,t){let r=py(e);return r!==Q0&&(r=oi),r.getAnimatableNone?r.getAnimatableNone(t):void 0}const EE=e=>/^0[^.\s]+$/.test(e);function WL(e){if(typeof e=="number")return e===0;if(e!==null)return e==="none"||e==="0"||EE(e)}function HL(e,t,r,n){const o=X0(t,r);let i;Array.isArray(r)?i=[...r]:i=[null,r];const a=n.from!==void 0?n.from:e.get();let s;const l=[];for(let c=0;c
" `}),aa=Y((e,t)=>{const r=Jr("Table",e),{className:n,layout:o,...i}=pt(e);return d.jsx(cG,{value:r,children:d.jsx(W.table,{ref:t,__css:{tableLayout:o,...r.table},className:re("chakra-table",n),...i})})});aa.displayName="Table";var Ms=Y((e,t)=>{const r=Is();return d.jsx(W.thead,{...e,ref:t,__css:r.thead})}),Ot=Y((e,t)=>{const r=Is();return d.jsx(W.tr,{...e,ref:t,__css:r.tr})}),$s=Y((e,t)=>{var r;const{overflow:n,overflowX:o,className:i,...a}=e;return d.jsx(W.div,{ref:t,className:re("chakra-table__container",i),...a,__css:{display:"block",whiteSpace:"nowrap",WebkitOverflowScrolling:"touch",overflowX:(r=n??o)!=null?r:"auto",overflowY:"hidden",maxWidth:"100%"}})}),Ns=Y((e,t)=>{const r=Is();return d.jsx(W.tbody,{...e,ref:t,__css:r.tbody})}),Ae=Y(({isNumeric:e,...t},r)=>{const n=Is();return d.jsx(W.td,{...t,ref:r,__css:n.td,"data-is-numeric":e})}),Ds=Y((e,t)=>{const r=Is();return d.jsx(W.tfoot,{...e,ref:t,__css:r.tfoot})}),K=Y(({isNumeric:e,...t},r)=>{const n=Is();return d.jsx(W.th,{...t,ref:r,__css:n.th,"data-is-numeric":e})}),[uG,dG,fG,pG]=rP();function hG(e){var t;const{defaultIndex:r,onChange:n,index:o,isManual:i,isLazy:a,lazyBehavior:s="unmount",orientation:l="horizontal",direction:c="ltr",...u}=e,[f,p]=g.useState(r??0),[h,m]=oP({defaultValue:r??0,value:o,onChange:n});g.useEffect(()=>{o!=null&&p(o)},[o]);const v=fG(),S=g.useId();return{id:`tabs-${(t=e.id)!=null?t:S}`,selectedIndex:h,focusedIndex:f,setSelectedIndex:m,setFocusedIndex:p,isManual:i,isLazy:a,lazyBehavior:s,orientation:l,descendants:v,direction:c,htmlProps:u}}var[mG,Fp]=ft({name:"TabsContext",errorMessage:"useTabsContext: `context` is undefined. Seems you forgot to wrap all tabs components within