aiware-js 2.21.0 → 2.22.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.
@@ -0,0 +1 @@
1
+ import{m as makeStyles,i as useDispatch,r as react,k as useSelector,ez as userSelector,j as jsxRuntime,B as Box,T as Typography,F as FormattedMessage,a9 as IconButton,fp as Settings,fz as FilterRemove,cG as Filter,eE as injectIntl,gp as Article,gq as Task,gr as View,cf as AIWareThemeProvider,K as lib,A as AIWareIntlProvider,a8 as Tooltip,fq as Hamburger,ci as FullscreenExit,cj as Fullscreen,bU as Hide,fd as selectApiConfigs,eT as panelsSelector,b0 as Tabs,x as classNames,b1 as Tab,Y as Portal}from"./js-core.esm.js";import{getDataCenterBrowseModule,AiAutocomplete}from"./js-core.esm35.js";import"./js-core.esm23.js";import"./js-core.esm36.js";import"./js-core.esm27.js";import"./js-core.esm37.js";import"./js-core.esm38.js";import"./js-core.esm8.js";import"./js-core.esm25.js";import"./js-core.esm20.js";import"./js-core.esm26.js";import"./js-core.esm40.js";import"./js-core.esm33.js";import"./js-core.esm39.js";import"./js-core.esm12.js";import"./js-core.esm16.js";import"./js-core.esm15.js";!function(){var e={};try{if(process)return process.env=Object.assign({},process.env),Object.assign(process.env,e)}catch(e){}globalThis.process={env:e}}();var match,version,activeXDocument,store,wmget,wmhas,wmset,set,get,has,STATE,IteratorPrototype$2,PrototypeOfArrayIteratorPrototype,arrayIterator,commonjsGlobal="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},fails$b=function(e){try{return!!e()}catch(e){return!0}},fails$a=fails$b,functionBindNative=!fails$b(function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}),NATIVE_BIND$1=functionBindNative,FunctionPrototype$1=Function.prototype,bind=FunctionPrototype$1.bind,call$6=FunctionPrototype$1.call,uncurryThis$b=NATIVE_BIND$1&&bind.bind(call$6,call$6),functionUncurryThis=NATIVE_BIND$1?function(e){return e&&uncurryThis$b(e)}:function(e){return e&&function(){return call$6.apply(e,arguments)}},uncurryThis$a=functionUncurryThis,toString$1=uncurryThis$a({}.toString),stringSlice=uncurryThis$a("".slice),classofRaw=function(e){return stringSlice(toString$1(e),8,-1)},uncurryThis$9=functionUncurryThis,fails$9=fails$b,classof=classofRaw,$Object$3=Object,split=functionUncurryThis("".split),indexedObject=fails$9(function(){return!$Object$3("z").propertyIsEnumerable(0)})?function(e){return"String"==classof(e)?split(e,""):$Object$3(e)}:$Object$3,$TypeError$6=TypeError,requireObjectCoercible$2=function(e){if(null==e)throw $TypeError$6("Can't call method on "+e);return e},IndexedObject$1=indexedObject,requireObjectCoercible$1=requireObjectCoercible$2,toIndexedObject$5=function(e){return IndexedObject$1(requireObjectCoercible$1(e))},check=function(e){return e&&e.Math==Math&&e},global$b=check("object"==typeof globalThis&&globalThis)||check("object"==typeof window&&window)||check("object"==typeof self&&self)||check("object"==typeof commonjsGlobal&&commonjsGlobal)||function(){return this}()||Function("return this")(),shared$3={exports:{}},global$a=global$b,defineProperty$5=Object.defineProperty,defineGlobalProperty$3=function(t,r){try{defineProperty$5(global$a,t,{value:r,configurable:!0,writable:!0})}catch(e){global$a[t]=r}return r},global$9=global$b,defineGlobalProperty$2=defineGlobalProperty$3,SHARED="__core-js_shared__",store$3=global$b[SHARED]||defineGlobalProperty$2(SHARED,{}),sharedStore=store$3,store$2=sharedStore,requireObjectCoercible=((shared$3.exports=function(e,t){return store$2[e]||(store$2[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.24.1",mode:"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.24.1/LICENSE",source:"https://github.com/zloirock/core-js"}),requireObjectCoercible$2),$Object$2=Object,toObject$3=function(e){return $Object$2(requireObjectCoercible(e))},uncurryThis$8=functionUncurryThis,toObject$2=toObject$3,hasOwnProperty=functionUncurryThis({}.hasOwnProperty),hasOwnProperty_1=Object.hasOwn||function(e,t){return hasOwnProperty(toObject$2(e),t)},uncurryThis$7=functionUncurryThis,id=0,postfix=Math.random(),toString=uncurryThis$7(1..toString),uid$2=function(e){return"Symbol("+(void 0===e?"":e)+")_"+toString(++id+postfix,36)},isCallable$e=function(e){return"function"==typeof e},global$8=global$b,isCallable$d=isCallable$e,aFunction=function(e){return isCallable$d(e)?e:void 0},getBuiltIn$4=function(e,t){return arguments.length<2?aFunction(global$8[e]):global$8[e]&&global$8[e][t]},getBuiltIn$3=getBuiltIn$4,engineUserAgent=getBuiltIn$4("navigator","userAgent")||"",global$7=global$b,userAgent=engineUserAgent,process$1=global$7.process,Deno=global$7.Deno,versions=process$1&&process$1.versions||Deno&&Deno.version,v8=versions&&versions.v8,engineV8Version=version=!(version=v8?0<(match=v8.split("."))[0]&&match[0]<4?1:+(match[0]+match[1]):version)&&userAgent&&(!(match=userAgent.match(/Edge\/(\d+)/))||74<=match[1])&&(match=userAgent.match(/Chrome\/(\d+)/))?+match[1]:version,V8_VERSION=version,fails$8=fails$b,nativeSymbol=!!Object.getOwnPropertySymbols&&!fails$8(function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&V8_VERSION&&V8_VERSION<41}),NATIVE_SYMBOL$1=nativeSymbol,useSymbolAsUid=nativeSymbol&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,global$6=global$b,shared$2=shared$3.exports,hasOwn$8=hasOwnProperty_1,uid$1=uid$2,NATIVE_SYMBOL=nativeSymbol,USE_SYMBOL_AS_UID$1=useSymbolAsUid,WellKnownSymbolsStore=shared$2("wks"),Symbol$1=global$6.Symbol,symbolFor=Symbol$1&&Symbol$1.for,createWellKnownSymbol=USE_SYMBOL_AS_UID$1?Symbol$1:Symbol$1&&Symbol$1.withoutSetter||uid$1,wellKnownSymbol$6=function(e){var t;return hasOwn$8(WellKnownSymbolsStore,e)&&(NATIVE_SYMBOL||"string"==typeof WellKnownSymbolsStore[e])||(t="Symbol."+e,NATIVE_SYMBOL&&hasOwn$8(Symbol$1,e)?WellKnownSymbolsStore[e]=Symbol$1[e]:WellKnownSymbolsStore[e]=(USE_SYMBOL_AS_UID$1&&symbolFor?symbolFor:createWellKnownSymbol)(t)),WellKnownSymbolsStore[e]},isCallable$c=isCallable$e,isObject$5=function(e){return"object"==typeof e?null!==e:isCallable$c(e)},isObject$4=isObject$5,$String$2=String,$TypeError$5=TypeError,anObject$5=function(e){if(isObject$4(e))return e;throw $TypeError$5($String$2(e)+" is not an object")},objectDefineProperties={},fails$7=fails$b,descriptors=!fails$b(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}),DESCRIPTORS$9=descriptors,fails$6=fails$b,v8PrototypeDefineBug=descriptors&&fails$b(function(){return 42!=Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype}),objectDefineProperty={},global$5=global$b,isObject$3=isObject$5,document$1=global$b.document,EXISTS$1=isObject$3(document$1)&&isObject$3(document$1.createElement),documentCreateElement$2=function(e){return EXISTS$1?document$1.createElement(e):{}},DESCRIPTORS$8=descriptors,fails$5=fails$b,createElement=documentCreateElement$2,ie8DomDefine=!descriptors&&!fails$b(function(){return 7!=Object.defineProperty(createElement("div"),"a",{get:function(){return 7}}).a}),NATIVE_BIND=functionBindNative,call$5=Function.prototype.call,functionCall=NATIVE_BIND?call$5.bind(call$5):function(){return call$5.apply(call$5,arguments)},uncurryThis$6=functionUncurryThis,objectIsPrototypeOf=functionUncurryThis({}.isPrototypeOf),getBuiltIn$2=getBuiltIn$4,isCallable$b=isCallable$e,isPrototypeOf=objectIsPrototypeOf,USE_SYMBOL_AS_UID=useSymbolAsUid,$Object$1=Object,isSymbol$2=useSymbolAsUid?function(e){return"symbol"==typeof e}:function(e){var t=getBuiltIn$2("Symbol");return isCallable$b(t)&&isPrototypeOf(t.prototype,$Object$1(e))},$String$1=String,tryToString$1=function(e){try{return $String$1(e)}catch(e){return"Object"}},isCallable$a=isCallable$e,tryToString=tryToString$1,$TypeError$4=TypeError,aCallable$1=function(e){if(isCallable$a(e))return e;throw $TypeError$4(tryToString(e)+" is not a function")},aCallable=aCallable$1,getMethod$1=function(e,t){e=e[t];return null==e?void 0:aCallable(e)},call$4=functionCall,isCallable$9=isCallable$e,isObject$2=isObject$5,$TypeError$3=TypeError,ordinaryToPrimitive$1=function(e,t){var r,o;if("string"===t&&isCallable$9(r=e.toString)&&!isObject$2(o=call$4(r,e)))return o;if(isCallable$9(r=e.valueOf)&&!isObject$2(o=call$4(r,e)))return o;if("string"!==t&&isCallable$9(r=e.toString)&&!isObject$2(o=call$4(r,e)))return o;throw $TypeError$3("Can't convert object to primitive value")},call$3=functionCall,isObject$1=isObject$5,isSymbol$1=isSymbol$2,getMethod=getMethod$1,ordinaryToPrimitive=ordinaryToPrimitive$1,wellKnownSymbol$5=wellKnownSymbol$6,$TypeError$2=TypeError,TO_PRIMITIVE=wellKnownSymbol$6("toPrimitive"),toPrimitive$1=function(e,t){if(!isObject$1(e)||isSymbol$1(e))return e;var r=getMethod(e,TO_PRIMITIVE);if(r){if(r=call$3(r,e,t=void 0===t?"default":t),!isObject$1(r)||isSymbol$1(r))return r;throw $TypeError$2("Can't convert object to primitive value")}return ordinaryToPrimitive(e,t=void 0===t?"number":t)},toPrimitive=toPrimitive$1,isSymbol=isSymbol$2,toPropertyKey$2=function(e){e=toPrimitive(e,"string");return isSymbol(e)?e:e+""},DESCRIPTORS$7=descriptors,IE8_DOM_DEFINE$1=ie8DomDefine,V8_PROTOTYPE_DEFINE_BUG$1=v8PrototypeDefineBug,anObject$4=anObject$5,toPropertyKey$1=toPropertyKey$2,$TypeError$1=TypeError,$defineProperty=Object.defineProperty,$getOwnPropertyDescriptor$1=Object.getOwnPropertyDescriptor,ENUMERABLE="enumerable",CONFIGURABLE$1="configurable",WRITABLE="writable",ceil=(objectDefineProperty.f=DESCRIPTORS$7?V8_PROTOTYPE_DEFINE_BUG$1?function(e,t,r){var o;return anObject$4(e),t=toPropertyKey$1(t),anObject$4(r),"function"==typeof e&&"prototype"===t&&"value"in r&&WRITABLE in r&&!r[WRITABLE]&&((o=$getOwnPropertyDescriptor$1(e,t))&&o[WRITABLE]&&(e[t]=r.value,r={configurable:(CONFIGURABLE$1 in r?r:o)[CONFIGURABLE$1],enumerable:(ENUMERABLE in r?r:o)[ENUMERABLE],writable:!1})),$defineProperty(e,t,r)}:$defineProperty:function(e,t,r){if(anObject$4(e),t=toPropertyKey$1(t),anObject$4(r),IE8_DOM_DEFINE$1)try{return $defineProperty(e,t,r)}catch(e){}if("get"in r||"set"in r)throw $TypeError$1("Accessors not supported");return"value"in r&&(e[t]=r.value),e},Math.ceil),floor=Math.floor,mathTrunc=Math.trunc||function(e){e=+e;return(0<e?floor:ceil)(e)},trunc=mathTrunc,toIntegerOrInfinity$2=function(e){e=+e;return e!=e||0==e?0:trunc(e)},toIntegerOrInfinity$1=toIntegerOrInfinity$2,max=Math.max,min$1=Math.min,toAbsoluteIndex$1=function(e,t){e=toIntegerOrInfinity$1(e);return e<0?max(e+t,0):min$1(e,t)},toIntegerOrInfinity=toIntegerOrInfinity$2,min=Math.min,toLength$1=function(e){return 0<e?min(toIntegerOrInfinity(e),9007199254740991):0},toLength=toLength$1,lengthOfArrayLike$1=function(e){return toLength(e.length)},toIndexedObject$4=toIndexedObject$5,toAbsoluteIndex=toAbsoluteIndex$1,lengthOfArrayLike=lengthOfArrayLike$1,createMethod=function(a){return function(e,t,r){var o,n=toIndexedObject$4(e),i=lengthOfArrayLike(n),s=toAbsoluteIndex(r,i);if(a&&t!=t){for(;s<i;)if((o=n[s++])!=o)return!0}else for(;s<i;s++)if((a||s in n)&&n[s]===t)return a||s||0;return!a&&-1}},arrayIncludes={includes:createMethod(!0),indexOf:createMethod(!1)},hiddenKeys$4={},uncurryThis$5=functionUncurryThis,hasOwn$7=hasOwnProperty_1,toIndexedObject$3=toIndexedObject$5,indexOf=arrayIncludes.indexOf,hiddenKeys$3=hiddenKeys$4,push=uncurryThis$5([].push),objectKeysInternal=function(e,t){var r,o=toIndexedObject$3(e),n=0,i=[];for(r in o)!hasOwn$7(hiddenKeys$3,r)&&hasOwn$7(o,r)&&push(i,r);for(;t.length>n;)!hasOwn$7(o,r=t[n++])||~indexOf(i,r)||push(i,r);return i},enumBugKeys$3=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],internalObjectKeys$1=objectKeysInternal,enumBugKeys$2=enumBugKeys$3,objectKeys$2=Object.keys||function(e){return internalObjectKeys$1(e,enumBugKeys$2)},DESCRIPTORS$6=descriptors,V8_PROTOTYPE_DEFINE_BUG=v8PrototypeDefineBug,definePropertyModule$3=objectDefineProperty,anObject$3=anObject$5,toIndexedObject$2=toIndexedObject$5,objectKeys$1=objectKeys$2,getBuiltIn$1=(objectDefineProperties.f=DESCRIPTORS$6&&!V8_PROTOTYPE_DEFINE_BUG?Object.defineProperties:function(e,t){anObject$3(e);for(var r,o=toIndexedObject$2(t),n=objectKeys$1(t),i=n.length,s=0;s<i;)definePropertyModule$3.f(e,r=n[s++],o[r]);return e},getBuiltIn$4),html$1=getBuiltIn$4("document","documentElement"),shared$1=shared$3.exports,uid=uid$2,keys=shared$1("keys"),sharedKey$3=function(e){return keys[e]||(keys[e]=uid(e))},anObject$2=anObject$5,definePropertiesModule=objectDefineProperties,enumBugKeys$1=enumBugKeys$3,hiddenKeys$2=hiddenKeys$4,html=html$1,documentCreateElement$1=documentCreateElement$2,sharedKey$2=sharedKey$3,GT=">",LT="<",PROTOTYPE="prototype",SCRIPT="script",IE_PROTO$1=sharedKey$3("IE_PROTO"),EmptyConstructor=function(){},scriptTag=function(e){return LT+SCRIPT+GT+e+LT+"/"+SCRIPT+GT},NullProtoObjectViaActiveX=function(e){e.write(scriptTag("")),e.close();var t=e.parentWindow.Object;return e=null,t},NullProtoObjectViaIFrame=function(){var e=documentCreateElement$1("iframe"),t="java"+SCRIPT+":";return e.style.display="none",html.appendChild(e),e.src=String(t),(t=e.contentWindow.document).open(),t.write(scriptTag("document.F=Object")),t.close(),t.F},NullProtoObject=function(){try{activeXDocument=new ActiveXObject("htmlfile")}catch(e){}NullProtoObject="undefined"==typeof document||document.domain&&activeXDocument?NullProtoObjectViaActiveX(activeXDocument):NullProtoObjectViaIFrame();for(var e=enumBugKeys$1.length;e--;)delete NullProtoObject[PROTOTYPE][enumBugKeys$1[e]];return NullProtoObject()},objectCreate=(hiddenKeys$2[IE_PROTO$1]=!0,Object.create||function(e,t){var r;return null!==e?(EmptyConstructor[PROTOTYPE]=anObject$2(e),r=new EmptyConstructor,EmptyConstructor[PROTOTYPE]=null,r[IE_PROTO$1]=e):r=NullProtoObject(),void 0===t?r:definePropertiesModule.f(r,t)}),wellKnownSymbol$4=wellKnownSymbol$6,create$1=objectCreate,defineProperty$4=objectDefineProperty.f,UNSCOPABLES=wellKnownSymbol$4("unscopables"),ArrayPrototype=Array.prototype,addToUnscopables$1=(null==ArrayPrototype[UNSCOPABLES]&&defineProperty$4(ArrayPrototype,UNSCOPABLES,{configurable:!0,value:create$1(null)}),function(e){ArrayPrototype[UNSCOPABLES][e]=!0}),iterators={},uncurryThis$4=functionUncurryThis,isCallable$8=isCallable$e,store$1=sharedStore,functionToString=functionUncurryThis(Function.toString),inspectSource$2=(isCallable$8(store$1.inspectSource)||(store$1.inspectSource=function(e){return functionToString(e)}),store$1.inspectSource),global$4=global$b,isCallable$7=isCallable$e,inspectSource$1=inspectSource$2,WeakMap$1=global$b.WeakMap,nativeWeakMap=isCallable$7(WeakMap$1)&&/native code/.test(inspectSource$1(WeakMap$1)),createPropertyDescriptor$3=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},DESCRIPTORS$5=descriptors,definePropertyModule$2=objectDefineProperty,createPropertyDescriptor$2=createPropertyDescriptor$3,createNonEnumerableProperty$4=descriptors?function(e,t,r){return definePropertyModule$2.f(e,t,createPropertyDescriptor$2(1,r))}:function(e,t,r){return e[t]=r,e},NATIVE_WEAK_MAP=nativeWeakMap,global$3=global$b,uncurryThis$3=functionUncurryThis,isObject=isObject$5,createNonEnumerableProperty$3=createNonEnumerableProperty$4,hasOwn$6=hasOwnProperty_1,shared=sharedStore,sharedKey$1=sharedKey$3,hiddenKeys$1=hiddenKeys$4,OBJECT_ALREADY_INITIALIZED="Object already initialized",TypeError$1=global$3.TypeError,WeakMap=global$3.WeakMap,enforce=function(e){return has(e)?get(e):set(e,{})},getterFor=function(t){return function(e){if(isObject(e)&&(e=get(e)).type===t)return e;throw TypeError$1("Incompatible receiver, "+t+" required")}},internalState=(has=NATIVE_WEAK_MAP||shared.state?(store=shared.state||(shared.state=new WeakMap),wmget=uncurryThis$3(store.get),wmhas=uncurryThis$3(store.has),wmset=uncurryThis$3(store.set),set=function(e,t){if(wmhas(store,e))throw new TypeError$1(OBJECT_ALREADY_INITIALIZED);return t.facade=e,wmset(store,e,t),t},get=function(e){return wmget(store,e)||{}},function(e){return wmhas(store,e)}):(STATE=sharedKey$1("state"),hiddenKeys$1[STATE]=!0,set=function(e,t){if(hasOwn$6(e,STATE))throw new TypeError$1(OBJECT_ALREADY_INITIALIZED);return t.facade=e,createNonEnumerableProperty$3(e,STATE,t),t},get=function(e){return hasOwn$6(e,STATE)?e[STATE]:{}},function(e){return hasOwn$6(e,STATE)}),{set:set,get:get,has:has,enforce:enforce,getterFor:getterFor}),objectGetOwnPropertyDescriptor={},objectPropertyIsEnumerable={},$propertyIsEnumerable={}.propertyIsEnumerable,getOwnPropertyDescriptor$1=Object.getOwnPropertyDescriptor,NASHORN_BUG=getOwnPropertyDescriptor$1&&!$propertyIsEnumerable.call({1:2},1),DESCRIPTORS$4=(objectPropertyIsEnumerable.f=NASHORN_BUG?function(e){e=getOwnPropertyDescriptor$1(this,e);return!!e&&e.enumerable}:$propertyIsEnumerable,descriptors),call$2=functionCall,propertyIsEnumerableModule$1=objectPropertyIsEnumerable,createPropertyDescriptor$1=createPropertyDescriptor$3,toIndexedObject$1=toIndexedObject$5,toPropertyKey=toPropertyKey$2,hasOwn$5=hasOwnProperty_1,IE8_DOM_DEFINE=ie8DomDefine,$getOwnPropertyDescriptor=Object.getOwnPropertyDescriptor,makeBuiltIn$2=(objectGetOwnPropertyDescriptor.f=DESCRIPTORS$4?$getOwnPropertyDescriptor:function(e,t){if(e=toIndexedObject$1(e),t=toPropertyKey(t),IE8_DOM_DEFINE)try{return $getOwnPropertyDescriptor(e,t)}catch(e){}if(hasOwn$5(e,t))return createPropertyDescriptor$1(!call$2(propertyIsEnumerableModule$1.f,e,t),e[t])},{exports:{}}),DESCRIPTORS$3=descriptors,hasOwn$4=hasOwnProperty_1,FunctionPrototype=Function.prototype,getDescriptor=DESCRIPTORS$3&&Object.getOwnPropertyDescriptor,EXISTS=hasOwn$4(FunctionPrototype,"name"),PROPER=EXISTS&&"something"===function(){}.name,CONFIGURABLE=EXISTS&&(!DESCRIPTORS$3||getDescriptor(FunctionPrototype,"name").configurable),functionName={EXISTS:EXISTS,PROPER:PROPER,CONFIGURABLE:CONFIGURABLE},fails$4=fails$b,isCallable$6=isCallable$e,hasOwn$3=hasOwnProperty_1,DESCRIPTORS$2=descriptors,CONFIGURABLE_FUNCTION_NAME$1=functionName.CONFIGURABLE,inspectSource=inspectSource$2,InternalStateModule$1=internalState,enforceInternalState=InternalStateModule$1.enforce,getInternalState$1=InternalStateModule$1.get,defineProperty$3=Object.defineProperty,CONFIGURABLE_LENGTH=DESCRIPTORS$2&&!fails$4(function(){return 8!==defineProperty$3(function(){},"length",{value:8}).length}),TEMPLATE=String(String).split("String"),makeBuiltIn$1=makeBuiltIn$2.exports=function(e,t,r){"Symbol("===String(t).slice(0,7)&&(t="["+String(t).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),r&&r.getter&&(t="get "+t),r&&r.setter&&(t="set "+t),(!hasOwn$3(e,"name")||CONFIGURABLE_FUNCTION_NAME$1&&e.name!==t)&&(DESCRIPTORS$2?defineProperty$3(e,"name",{value:t,configurable:!0}):e.name=t),CONFIGURABLE_LENGTH&&r&&hasOwn$3(r,"arity")&&e.length!==r.arity&&defineProperty$3(e,"length",{value:r.arity});try{r&&hasOwn$3(r,"constructor")&&r.constructor?DESCRIPTORS$2&&defineProperty$3(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}r=enforceInternalState(e);return hasOwn$3(r,"source")||(r.source=TEMPLATE.join("string"==typeof t?t:"")),e},isCallable$5=(Function.prototype.toString=makeBuiltIn$1(function(){return isCallable$6(this)&&getInternalState$1(this).source||inspectSource(this)},"toString"),isCallable$e),definePropertyModule$1=objectDefineProperty,makeBuiltIn=makeBuiltIn$2.exports,defineGlobalProperty$1=defineGlobalProperty$3,defineBuiltIn$3=function(e,t,r,o){var n=(o=o||{}).enumerable,i=void 0!==o.name?o.name:t;if(isCallable$5(r)&&makeBuiltIn(r,i,o),o.global)n?e[t]=r:defineGlobalProperty$1(t,r);else{try{o.unsafe?e[t]&&(n=!0):delete e[t]}catch(e){}n?e[t]=r:definePropertyModule$1.f(e,t,{value:r,enumerable:!1,configurable:!o.nonConfigurable,writable:!o.nonWritable})}return e},objectGetOwnPropertyNames={},internalObjectKeys=objectKeysInternal,enumBugKeys=enumBugKeys$3,hiddenKeys=enumBugKeys$3.concat("length","prototype"),objectGetOwnPropertySymbols=(objectGetOwnPropertyNames.f=Object.getOwnPropertyNames||function(e){return internalObjectKeys(e,hiddenKeys)},{}),getBuiltIn=(objectGetOwnPropertySymbols.f=Object.getOwnPropertySymbols,getBuiltIn$4),uncurryThis$2=functionUncurryThis,getOwnPropertyNamesModule=objectGetOwnPropertyNames,getOwnPropertySymbolsModule$1=objectGetOwnPropertySymbols,anObject$1=anObject$5,concat$1=functionUncurryThis([].concat),ownKeys$1=getBuiltIn("Reflect","ownKeys")||function(e){var t=getOwnPropertyNamesModule.f(anObject$1(e)),r=getOwnPropertySymbolsModule$1.f;return r?concat$1(t,r(e)):t},hasOwn$2=hasOwnProperty_1,ownKeys=ownKeys$1,getOwnPropertyDescriptorModule=objectGetOwnPropertyDescriptor,definePropertyModule=objectDefineProperty,copyConstructorProperties$1=function(e,t,r){for(var o=ownKeys(t),n=definePropertyModule.f,i=getOwnPropertyDescriptorModule.f,s=0;s<o.length;s++){var a=o[s];hasOwn$2(e,a)||r&&hasOwn$2(r,a)||n(e,a,i(t,a))}},fails$3=fails$b,isCallable$4=isCallable$e,replacement=/#|\.prototype\./,isForced$1=function(e,t){e=data[normalize(e)];return e==POLYFILL||e!=NATIVE&&(isCallable$4(t)?fails$3(t):!!t)},normalize=isForced$1.normalize=function(e){return String(e).replace(replacement,".").toLowerCase()},data=isForced$1.data={},NATIVE=isForced$1.NATIVE="N",POLYFILL=isForced$1.POLYFILL="P",isForced_1=isForced$1,global$2=global$b,getOwnPropertyDescriptor=objectGetOwnPropertyDescriptor.f,createNonEnumerableProperty$2=createNonEnumerableProperty$4,defineBuiltIn$2=defineBuiltIn$3,defineGlobalProperty=defineGlobalProperty$3,copyConstructorProperties=copyConstructorProperties$1,isForced=isForced_1,_export=function(e,t){var r,o,n,i=e.target,s=e.global,a=e.stat,l=s?global$2:a?global$2[i]||defineGlobalProperty(i,{}):(global$2[i]||{}).prototype;if(l)for(r in t){if(o=t[r],n=e.dontCallGetSet?(n=getOwnPropertyDescriptor(l,r))&&n.value:l[r],!isForced(s?r:i+(a?".":"#")+r,e.forced)&&void 0!==n){if(typeof o==typeof n)continue;copyConstructorProperties(o,n)}(e.sham||n&&n.sham)&&createNonEnumerableProperty$2(o,"sham",!0),defineBuiltIn$2(l,r,o,e)}},fails$2=fails$b,correctPrototypeGetter=!fails$b(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}),hasOwn$1=hasOwnProperty_1,isCallable$3=isCallable$e,toObject$1=toObject$3,sharedKey=sharedKey$3,CORRECT_PROTOTYPE_GETTER=correctPrototypeGetter,IE_PROTO=sharedKey$3("IE_PROTO"),$Object=Object,ObjectPrototype=$Object.prototype,objectGetPrototypeOf=CORRECT_PROTOTYPE_GETTER?$Object.getPrototypeOf:function(e){e=toObject$1(e);if(hasOwn$1(e,IE_PROTO))return e[IE_PROTO];var t=e.constructor;return isCallable$3(t)&&e instanceof t?t.prototype:e instanceof $Object?ObjectPrototype:null},fails$1=fails$b,isCallable$2=isCallable$e,getPrototypeOf$1=objectGetPrototypeOf,defineBuiltIn$1=defineBuiltIn$3,wellKnownSymbol$3=wellKnownSymbol$6,ITERATOR$2=wellKnownSymbol$6("iterator"),BUGGY_SAFARI_ITERATORS$1=!1,NEW_ITERATOR_PROTOTYPE=([].keys&&("next"in(arrayIterator=[].keys())?(PrototypeOfArrayIteratorPrototype=getPrototypeOf$1(getPrototypeOf$1(arrayIterator)))!==Object.prototype&&(IteratorPrototype$2=PrototypeOfArrayIteratorPrototype):BUGGY_SAFARI_ITERATORS$1=!0),null==IteratorPrototype$2||fails$1(function(){var e={};return IteratorPrototype$2[ITERATOR$2].call(e)!==e})),iteratorsCore=(isCallable$2((IteratorPrototype$2=NEW_ITERATOR_PROTOTYPE?{}:IteratorPrototype$2)[ITERATOR$2])||defineBuiltIn$1(IteratorPrototype$2,ITERATOR$2,function(){return this}),{IteratorPrototype:IteratorPrototype$2,BUGGY_SAFARI_ITERATORS:BUGGY_SAFARI_ITERATORS$1}),defineProperty$2=objectDefineProperty.f,hasOwn=hasOwnProperty_1,wellKnownSymbol$2=wellKnownSymbol$6,TO_STRING_TAG$1=wellKnownSymbol$6("toStringTag"),setToStringTag$2=function(e,t,r){(e=e&&!r?e.prototype:e)&&!hasOwn(e,TO_STRING_TAG$1)&&defineProperty$2(e,TO_STRING_TAG$1,{configurable:!0,value:t})},IteratorPrototype$1=iteratorsCore.IteratorPrototype,create=objectCreate,createPropertyDescriptor=createPropertyDescriptor$3,setToStringTag$1=setToStringTag$2,Iterators$2=iterators,returnThis$1=function(){return this},createIteratorConstructor$1=function(e,t,r,o){t+=" Iterator";return e.prototype=create(IteratorPrototype$1,{next:createPropertyDescriptor(+!o,r)}),setToStringTag$1(e,t,!1),Iterators$2[t]=returnThis$1,e},isCallable$1=isCallable$e,$String=String,$TypeError=TypeError,aPossiblePrototype$1=function(e){if("object"==typeof e||isCallable$1(e))return e;throw $TypeError("Can't set "+$String(e)+" as a prototype")},uncurryThis$1=functionUncurryThis,anObject=anObject$5,aPossiblePrototype=aPossiblePrototype$1,objectSetPrototypeOf=Object.setPrototypeOf||("__proto__"in{}?function(){var r,o=!1,e={};try{(r=uncurryThis$1(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(e,[]),o=e instanceof Array}catch(e){}return function(e,t){return anObject(e),aPossiblePrototype(t),o?r(e,t):e.__proto__=t,e}}():void 0),$$1=_export,call$1=functionCall,FunctionName=functionName,isCallable=isCallable$e,createIteratorConstructor=createIteratorConstructor$1,getPrototypeOf=objectGetPrototypeOf,setPrototypeOf=objectSetPrototypeOf,setToStringTag=setToStringTag$2,createNonEnumerableProperty$1=createNonEnumerableProperty$4,defineBuiltIn=defineBuiltIn$3,wellKnownSymbol$1=wellKnownSymbol$6,Iterators$1=iterators,IteratorsCore=iteratorsCore,PROPER_FUNCTION_NAME=FunctionName.PROPER,CONFIGURABLE_FUNCTION_NAME=FunctionName.CONFIGURABLE,IteratorPrototype=IteratorsCore.IteratorPrototype,BUGGY_SAFARI_ITERATORS=IteratorsCore.BUGGY_SAFARI_ITERATORS,ITERATOR$1=wellKnownSymbol$1("iterator"),KEYS="keys",VALUES="values",ENTRIES="entries",returnThis=function(){return this},defineIterator$1=function(e,t,r,o,n,i,s){createIteratorConstructor(r,t,o);function a(e){if(e===n&&$)return $;if(!BUGGY_SAFARI_ITERATORS&&e in p)return p[e];switch(e){case KEYS:case VALUES:case ENTRIES:return function(){return new r(this,e)}}return function(){return new r(this)}}var l,c,o=t+" Iterator",u=!1,p=e.prototype,b=p[ITERATOR$1]||p["@@iterator"]||n&&p[n],$=!BUGGY_SAFARI_ITERATORS&&b||a(n),d="Array"==t&&p.entries||b;if(d&&(d=getPrototypeOf(d.call(new e)))!==Object.prototype&&d.next&&(getPrototypeOf(d)!==IteratorPrototype&&(setPrototypeOf?setPrototypeOf(d,IteratorPrototype):isCallable(d[ITERATOR$1])||defineBuiltIn(d,ITERATOR$1,returnThis)),setToStringTag(d,o,!0)),PROPER_FUNCTION_NAME&&n==VALUES&&b&&b.name!==VALUES&&(CONFIGURABLE_FUNCTION_NAME?createNonEnumerableProperty$1(p,"name",VALUES):(u=!0,$=function(){return call$1(b,this)})),n)if(l={values:a(VALUES),keys:i?$:a(KEYS),entries:a(ENTRIES)},s)for(c in l)!BUGGY_SAFARI_ITERATORS&&!u&&c in p||defineBuiltIn(p,c,l[c]);else $$1({target:t,proto:!0,forced:BUGGY_SAFARI_ITERATORS||u},l);return p[ITERATOR$1]!==$&&defineBuiltIn(p,ITERATOR$1,$,{name:n}),Iterators$1[t]=$,l},toIndexedObject=toIndexedObject$5,addToUnscopables=addToUnscopables$1,Iterators=iterators,InternalStateModule=internalState,defineProperty$1=objectDefineProperty.f,defineIterator=defineIterator$1,DESCRIPTORS$1=descriptors,ARRAY_ITERATOR="Array Iterator",setInternalState=InternalStateModule.set,getInternalState=InternalStateModule.getterFor(ARRAY_ITERATOR),es_array_iterator=defineIterator(Array,"Array",function(e,t){setInternalState(this,{type:ARRAY_ITERATOR,target:toIndexedObject(e),index:0,kind:t})},function(){var e=getInternalState(this),t=e.target,r=e.kind,o=e.index++;return!t||o>=t.length?{value:e.target=void 0,done:!0}:"keys"==r?{value:o,done:!1}:"values"==r?{value:t[o],done:!1}:{value:[o,t[o]],done:!1}},"values"),values=Iterators.Arguments=Iterators.Array;if(addToUnscopables("keys"),addToUnscopables("values"),addToUnscopables("entries"),DESCRIPTORS$1&&"values"!==values.name)try{defineProperty$1(values,"name",{value:"values"})}catch(e){}var COLLECTION_NAME,domIterables={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},documentCreateElement=documentCreateElement$2,classList=documentCreateElement$2("span").classList,DOMTokenListPrototype$1=classList&&classList.constructor&&classList.constructor.prototype,domTokenListPrototype=DOMTokenListPrototype$1===Object.prototype?void 0:DOMTokenListPrototype$1,global$1=global$b,DOMIterables=domIterables,DOMTokenListPrototype=domTokenListPrototype,ArrayIteratorMethods=es_array_iterator,createNonEnumerableProperty=createNonEnumerableProperty$4,wellKnownSymbol=wellKnownSymbol$6,ITERATOR=wellKnownSymbol("iterator"),TO_STRING_TAG=wellKnownSymbol("toStringTag"),ArrayValues=ArrayIteratorMethods.values,handlePrototype=function(t,e){if(t){if(t[ITERATOR]!==ArrayValues)try{createNonEnumerableProperty(t,ITERATOR,ArrayValues)}catch(e){t[ITERATOR]=ArrayValues}if(t[TO_STRING_TAG]||createNonEnumerableProperty(t,TO_STRING_TAG,e),DOMIterables[e])for(var r in ArrayIteratorMethods)if(t[r]!==ArrayIteratorMethods[r])try{createNonEnumerableProperty(t,r,ArrayIteratorMethods[r])}catch(e){t[r]=ArrayIteratorMethods[r]}}};for(COLLECTION_NAME in DOMIterables)handlePrototype(global$1[COLLECTION_NAME]&&global$1[COLLECTION_NAME].prototype,COLLECTION_NAME);handlePrototype(DOMTokenListPrototype,"DOMTokenList");var DESCRIPTORS=descriptors,uncurryThis=functionUncurryThis,call=functionCall,fails=fails$b,objectKeys=objectKeys$2,getOwnPropertySymbolsModule=objectGetOwnPropertySymbols,propertyIsEnumerableModule=objectPropertyIsEnumerable,toObject=toObject$3,IndexedObject=indexedObject,$assign=Object.assign,defineProperty=Object.defineProperty,concat=uncurryThis([].concat),objectAssign=!$assign||fails(function(){if(DESCRIPTORS&&1!==$assign({b:1},$assign(defineProperty({},"a",{enumerable:!0,get:function(){defineProperty(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},r=Symbol(),o="abcdefghijklmnopqrst";return e[r]=7,o.split("").forEach(function(e){t[e]=e}),7!=$assign({},e)[r]||objectKeys($assign({},t)).join("")!=o})?function(e,t){for(var r=toObject(e),o=arguments.length,n=1,i=getOwnPropertySymbolsModule.f,s=propertyIsEnumerableModule.f;n<o;)for(var a,l=IndexedObject(arguments[n++]),c=i?concat(objectKeys(l),i(l)):objectKeys(l),u=c.length,p=0;p<u;)a=c[p++],DESCRIPTORS&&!call(s,l,a)||(r[a]=l[a]);return r}:$assign,$=_export,assign=objectAssign;_export({target:"Object",stat:!0,arity:2,forced:Object.assign!==assign},{assign:assign});const useStyles$3=makeStyles()(e=>({root:{display:"flex",flexDirection:"column"},header:{display:"flex",justifyContent:"space-between",padding:e.spacing(2),borderBottom:"0.5px solid "+e.palette.divider,"& button":{height:"40px",width:"40px"},"& h5":{lineHeight:"40px",marginLeft:"10px"}},tableWrapper:{height:"calc(100vh - 55px - 64px - 69px - 22px)",overflow:"hidden"},buttonsContainer:{marginRight:"10px"}})),JobsPanel=({})=>{var e=useStyles$3()["classes"];useDispatch();const[t,r]=react.exports.useState(!1);return useSelector(userSelector),react.exports.useEffect(()=>{},[]),jsxRuntime.exports.jsxs(jsxRuntime.exports.Fragment,{children:[jsxRuntime.exports.jsx("section",Object.assign({className:e.root},{children:jsxRuntime.exports.jsx("header",Object.assign({className:e.header},{children:jsxRuntime.exports.jsxs(Box,Object.assign({sx:{display:"flex",justifyContent:"space-between",verticalAlign:"center","& h5":{lineHeight:"28px"},width:"100%"}},{children:[jsxRuntime.exports.jsx(Typography,Object.assign({variant:"h5","data-testid":"org-applications.header"},{children:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-processing-center.jobs-panel.table.header",defaultMessage:"Jobs",description:"Jobs Header"})})),jsxRuntime.exports.jsxs("div",Object.assign({className:e.buttonsContainer},{children:[jsxRuntime.exports.jsx(IconButton,Object.assign({onClick:()=>({}),"data-testid":"processing-center.jobs.settings","aria-labelledby":"processing-center.jobs.settings",size:"large"},{children:jsxRuntime.exports.jsx(Settings,{})})),jsxRuntime.exports.jsx(IconButton,Object.assign({onClick:()=>r(!t),"data-testid":"processing-center.jobs.filters","aria-labelledby":"processing-center.jobs.filters",size:"large"},{children:t?jsxRuntime.exports.jsx(FilterRemove,{}):jsxRuntime.exports.jsx(Filter,{})}))]}))]}))}))})),jsxRuntime.exports.jsx("div",{className:e.tableWrapper})]})},useStyles$2=(!function(){var e={};try{if(process)return process.env=Object.assign({},process.env),Object.assign(process.env,e)}catch(e){}globalThis.process={env:e}}(),makeStyles()((e,{height:t})=>({header:{alignItems:"center",borderBottom:"0.5px solid "+e.palette.divider,display:"flex",height:t,padding:e.spacing(2),position:"relative"},title:{minWidth:"126px"},marginRight:{marginRight:e.spacing(2)},navigationToggle:{marginRight:e.spacing(1)},headerActionContainer:{alignItems:"center",display:"flex",flexGrow:1,height:"100%",justifyContent:"flex-end"},verticalDivider:{borderRight:".5px solid "+e.palette.divider,height:"70%",margin:"0 "+e.spacing(1)},searchContainer:{alignItems:"center",border:"1px solid transparent",borderRadius:4,display:"flex",flexGrow:1,height:44,marginLeft:"48px"}}))),Header=({intl:e,hidePanel:t,isNavExpanded:r,onLeftNavigationToggle:o,onFullScreenToggle:n,isFullScreen:i,height:s})=>{s=useStyles$2({height:s}).classes,e=e.formatMessage({id:"processing-center-browse.search-input-placeholder",defaultMessage:[{type:0,value:"Search by Job ID, Task ID, TDO ID, Application or User"}]});return jsxRuntime.exports.jsxs("header",Object.assign({className:s.header,"data-testid":"pc-header"},{children:[jsxRuntime.exports.jsx(Tooltip,Object.assign({title:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-processing-center-browse.navigation.menu",defaultMessage:"Toggle Navigation Menu",description:"Toggle Navigation Menu"})},{children:jsxRuntime.exports.jsx(IconButton,Object.assign({sx:{mr:1},onClick:o,"aria-expanded":r,"aria-labelledby":"ac-header-toggle-nav","data-test":"ac-header-toggle-nav",size:"large"},{children:jsxRuntime.exports.jsx(Hamburger,{})}))})),jsxRuntime.exports.jsx(Typography,Object.assign({variant:"h1",className:s.title,"data-test":"ac-title"},{children:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-processing-center-browse.header.title",defaultMessage:"Processing Center",description:"Panel header of the processing center"})})),jsxRuntime.exports.jsx("div",Object.assign({className:s.searchContainer},{children:jsxRuntime.exports.jsx(AiAutocomplete,{placeholder:e})})),jsxRuntime.exports.jsxs("div",Object.assign({className:s.headerActionContainer},{children:[jsxRuntime.exports.jsx("div",{className:s.verticalDivider}),jsxRuntime.exports.jsx(Tooltip,Object.assign({title:i?jsxRuntime.exports.jsx(FormattedMessage,{id:"os-processing-center-browse.close.full.screen",defaultMessage:"Exit Fullscreen",description:"Exit Fullscreen"}):jsxRuntime.exports.jsx(FormattedMessage,{id:"os-processing-center-browse.open.full.screen",defaultMessage:"Enter Fullscreen",description:"Enter Fullscreen"})},{children:jsxRuntime.exports.jsx(IconButton,Object.assign({onClick:n,"aria-labelledby":"ac-toggle-fullscreen","data-test":"ac-fullscreen-toggle",size:"large"},{children:i?jsxRuntime.exports.jsx(FullscreenExit,{}):jsxRuntime.exports.jsx(Fullscreen,{})}))})),jsxRuntime.exports.jsx(Tooltip,Object.assign({title:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-processing-center-browse.close.panel",defaultMessage:"Close Panel",description:"Close Panel"})},{children:jsxRuntime.exports.jsx(IconButton,Object.assign({onClick:t,"aria-labelledby":"ac-close-panel","data-test-id":"ac-close-panel",size:"large"},{children:jsxRuntime.exports.jsx(Hide,{})}))}))]}))]}))};var ProcessingCenterView,Header$1=injectIntl(Header);function __rest(e,t){var r={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r}!function(e){e[e.jobs=0]="jobs",e[e.tasks=1]="tasks",e[e.monitoring=2]="monitoring"}(ProcessingCenterView=ProcessingCenterView||{});const tabWidth=197,useStyles$1=makeStyles()((e,{height:t},r)=>({root:{display:"flex",flexGrow:1,height:t,position:"relative"},tabs:{borderRight:".5px solid "+e.palette.divider,transition:".2s ease",width:e.spacing(14),minWidth:e.spacing(14),padding:e.spacing(1.6)+" "+e.spacing(2.5),boxSizing:"border-box"},tabsContainer:{alignItems:"center"},tabIndicator:{background:"transparent"},tabRoot:{opacity:1,borderRadius:4,fontSize:"14px",marginBottom:e.spacing(1),minHeight:e.spacing(9),minWidth:e.spacing(9),paddingTop:e.spacing(1),paddingBottom:e.spacing(1),width:"100%","&:hover":{background:"#F2F5F9"}},tabsExpanded:{width:tabWidth,minWidth:tabWidth,paddingRight:e.spacing(2),paddingLeft:e.spacing(2),["& "+r.tabRoot]:{width:`calc(${tabWidth}px - ${e.spacing(3)})`,flexDirection:"row",textTransform:"capitalize","& svg":{marginRight:e.spacing(2),marginBottom:"0"}}},tabExpandedWrapper:{flexDirection:"row",display:"flex",justifyContent:"flex-start","& svg":{marginBottom:"0 !important",marginRight:e.spacing(2)}},tabSelected:{background:"#F2F5F9",color:e.palette.primary.main,"& svg":{marginBottom:"0 !important",marginRight:"0",color:e.palette.primary.main}},contentPanel:{flexGrow:1},tabExpandedSelected:{background:"#F2F5F9",color:e.palette.primary.main,"& svg":{marginBottom:"0 !important",marginRight:e.spacing(2),color:e.palette.primary.main}},tabWrapper:{flexDirection:"row",display:"flex",justifyContent:"center","& svg":{marginBottom:"0 !important",marginRight:"0"}}})),navList=[{id:ProcessingCenterView.jobs,label:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-processing-center-browse.jobs.view",defaultMessage:"Jobs",description:"The label of jobs tab button."}),testLabel:"pc-jobs-view",icon:jsxRuntime.exports.jsx(Article,{}),content:e=>jsxRuntime.exports.jsx(JobsPanel,{isPanelFullScreen:e})},{id:ProcessingCenterView.tasks,label:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-processing-center-browse.tasks.view",defaultMessage:"Tasks",description:"The label for tasks view"}),testLabel:"pc-tasks-view",icon:jsxRuntime.exports.jsx(Task,{style:{transform:"translateX(4px)"}}),content:e=>jsxRuntime.exports.jsx("div",{children:"Tasks"})},{id:ProcessingCenterView.monitoring,label:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-processing-center-browse.monitoring.view",defaultMessage:"Monitoring",description:"The label for monitoring view"}),testLabel:"pc-monitoring-view",icon:jsxRuntime.exports.jsx(View,{}),content:e=>jsxRuntime.exports.jsx("div",{children:"Monitoring"})}],MainTabPanel=({isNavExpanded:t,isFullScreen:r,height:e})=>{const o=useStyles$1({height:e})["classes"],[n,i]=react.exports.useState(ProcessingCenterView.jobs),[s]=react.exports.useState(navList);return jsxRuntime.exports.jsxs("div",Object.assign({className:o.root},{children:[jsxRuntime.exports.jsx(Tabs,Object.assign({id:"processingCenterViewTabs",orientation:"vertical",value:n,onChange:(e,t)=>{i(t)},className:classNames(o.tabs,{[o.tabsExpanded]:t}),classes:{flexContainer:o.tabsContainer,indicator:o.tabIndicator},"aria-label":"processing center tabs","data-test":"pc-nav-tabs-container"},{children:s.map(e=>jsxRuntime.exports.jsx(Tooltip,Object.assign({placement:"right",title:t?"":e.label,"data-test":"pc-nav-tab-"+e.testLabel},{children:jsxRuntime.exports.jsx(Tab,Object.assign({wrapped:!0},a11yProps(e.id),{label:t?e.label:"",icon:e.icon,classes:{root:o.tabRoot,wrapped:t?o.tabExpandedWrapper:o.tabWrapper,selected:t?o.tabExpandedSelected:o.tabSelected}}))}),e.id))})),s.map(e=>jsxRuntime.exports.jsx(TabPanel,Object.assign({value:n,index:e.id,className:o.contentPanel},{children:e.content(r)}),e.id))]}))};function TabPanel(e){var{children:t,value:r,index:o}=e,e=__rest(e,["children","value","index"]);return jsxRuntime.exports.jsx("div",Object.assign({role:"tabpanel",hidden:r!==o,id:"processing-center-tabpanel-"+o,"aria-labelledby":"processing-center-tab-"+o},e,{children:r===o&&t}))}function a11yProps(e){return{id:"admin-center-tab-"+e,"aria-controls":"admin-center-tabpanel-"+e}}const Container=({fullScreen:e,classes:t,dimmed:r,children:o})=>e?jsxRuntime.exports.jsx(Portal,{children:jsxRuntime.exports.jsxs("div",Object.assign({role:"presentation","data-test":"ac-widget",className:classNames(t.root,t.panel,t.fullScreen)},{children:[r&&jsxRuntime.exports.jsx("div",{className:t.overlay}),o]}))}):jsxRuntime.exports.jsx("div",Object.assign({role:"presentation","data-test":"ac-widget",className:classNames(t.root,t.panel)},{children:o})),appBarHeight=55,headerHeight=64,borderBottom=5,useStyles=makeStyles()(e=>({root:{width:1020,position:"relative"},panel:{backgroundColor:e.palette.background.paper,boxShadow:"0px 0px 12px rgba(0, 0, 0, 0.25)",height:"100%"},fullScreen:{position:"fixed",width:"100%",height:"100vh",top:0,left:0,right:0,bottom:0,zIndex:1004},overlay:{backgroundColor:e.palette.grey[50],opacity:"0.5 !important",height:"100%",position:"absolute",top:0,width:"100%",zIndex:1001}})),MainLayout=({hidePanel:e})=>{const[t,r]=react.exports.useState(!0),[o,n]=react.exports.useState(!1);var i=useStyles()["classes"];const s=useSelector(panelsSelector)||[];var a=s.find(e=>"PROCESSING_CENTER_BROWSE"===e.panelId)||{panelConfig:{dimmed:0}},a=0<(null==(a=null===a?void 0:a.panelConfig)?void 0:a.dimmed),l=`calc(100vh - ${o?25:appBarHeight+borderBottom}px - ${headerHeight}px)`;return jsxRuntime.exports.jsxs(Container,Object.assign({dimmed:a,fullScreen:o,classes:i},{children:[jsxRuntime.exports.jsx(Header$1,{height:headerHeight,hidePanel:e,isNavExpanded:t,onLeftNavigationToggle:()=>{r(!t)},isFullScreen:o,onFullScreenToggle:()=>{n(!o)}}),jsxRuntime.exports.jsx(MainTabPanel,{height:l,isNavExpanded:t,isFullScreen:o})]}))},Content=e=>{var{apiRoot:t,graphQLEndpoint:r,token:o}=useSelector(selectApiConfigs);return useDispatch(),t&&r&&o?jsxRuntime.exports.jsx(MainLayout,Object.assign({},e)):null},ProcessingCenterBrowse=e=>jsxRuntime.exports.jsx(AIWareThemeProvider,{children:jsxRuntime.exports.jsx(lib.DynamicModuleLoader,Object.assign({modules:[getDataCenterBrowseModule()]},{children:jsxRuntime.exports.jsx(AIWareIntlProvider,{children:jsxRuntime.exports.jsx(Content,Object.assign({},e))})}))});export{ProcessingCenterBrowse};