aiware-js 2.37.0 → 2.38.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/index.esm.css +92 -92
- package/index.esm.css.gz +0 -0
- package/index.esm.js.gz +0 -0
- package/index.esm.min.css +92 -92
- package/index.esm.min.css.gz +0 -0
- package/js-core.esm.js +4 -4
- package/js-core.esm.js.gz +0 -0
- package/js-core.esm10.js.gz +0 -0
- package/js-core.esm11.js.gz +0 -0
- package/js-core.esm12.js.gz +0 -0
- package/js-core.esm13.js.gz +0 -0
- package/js-core.esm14.js.gz +0 -0
- package/js-core.esm15.js.gz +0 -0
- package/js-core.esm16.js.gz +0 -0
- package/js-core.esm17.js.gz +0 -0
- package/js-core.esm18.js +1 -1
- package/js-core.esm18.js.gz +0 -0
- package/js-core.esm19.js.gz +0 -0
- package/js-core.esm2.js.gz +0 -0
- package/js-core.esm20.js +13 -1
- package/js-core.esm20.js.gz +0 -0
- package/js-core.esm21.js.gz +0 -0
- package/js-core.esm22.js.gz +0 -0
- package/js-core.esm23.js.gz +0 -0
- package/js-core.esm24.js.gz +0 -0
- package/js-core.esm25.js.gz +0 -0
- package/js-core.esm26.js.gz +0 -0
- package/js-core.esm27.js.gz +0 -0
- package/js-core.esm28.js.gz +0 -0
- package/js-core.esm29.js.gz +0 -0
- package/js-core.esm3.js.gz +0 -0
- package/js-core.esm30.js.gz +0 -0
- package/js-core.esm31.js.gz +0 -0
- package/js-core.esm32.js.gz +0 -0
- package/js-core.esm33.js +1 -1
- package/js-core.esm33.js.gz +0 -0
- package/js-core.esm34.js.gz +0 -0
- package/js-core.esm35.js.gz +0 -0
- package/js-core.esm36.js.gz +0 -0
- package/js-core.esm37.js.gz +0 -0
- package/js-core.esm38.js +41 -29
- package/js-core.esm38.js.gz +0 -0
- package/js-core.esm39.js.gz +0 -0
- package/js-core.esm4.js +1 -1
- package/js-core.esm4.js.gz +0 -0
- package/js-core.esm40.js +2 -2
- package/js-core.esm40.js.gz +0 -0
- package/js-core.esm41.js.gz +0 -0
- package/js-core.esm42.js.gz +0 -0
- package/js-core.esm43.js.gz +0 -0
- package/js-core.esm44.js +2 -2
- package/js-core.esm44.js.gz +0 -0
- package/js-core.esm45.js +1 -1
- package/js-core.esm45.js.gz +0 -0
- package/js-core.esm46.js +1 -1
- package/js-core.esm46.js.gz +0 -0
- package/js-core.esm47.js +31 -1
- package/js-core.esm47.js.gz +0 -0
- package/js-core.esm48.js +1 -31
- package/js-core.esm48.js.gz +0 -0
- package/js-core.esm49.js +85 -1
- package/js-core.esm49.js.gz +0 -0
- package/js-core.esm5.js.gz +0 -0
- package/js-core.esm50.js +52 -73
- package/js-core.esm50.js.gz +0 -0
- package/js-core.esm51.js +7 -63
- package/js-core.esm51.js.gz +0 -0
- package/js-core.esm52.js +1 -8
- package/js-core.esm52.js.gz +0 -0
- package/js-core.esm53.js +1 -1
- package/js-core.esm53.js.gz +0 -0
- package/js-core.esm54.js +56 -1
- package/js-core.esm54.js.gz +0 -0
- package/js-core.esm55.js +116 -48
- package/js-core.esm55.js.gz +0 -0
- package/js-core.esm56.js +150 -107
- package/js-core.esm56.js.gz +0 -0
- package/js-core.esm57.js +57 -149
- package/js-core.esm57.js.gz +0 -0
- package/js-core.esm58.js +15 -75
- package/js-core.esm58.js.gz +0 -0
- package/js-core.esm59.js +1 -15
- package/js-core.esm59.js.gz +0 -0
- package/js-core.esm6.js.gz +0 -0
- package/js-core.esm60.js +1 -1
- package/js-core.esm60.js.gz +0 -0
- package/js-core.esm61.js +121 -1
- package/js-core.esm61.js.gz +0 -0
- package/js-core.esm62.js +14 -103
- package/js-core.esm62.js.gz +0 -0
- package/js-core.esm63.js +15 -27
- package/js-core.esm63.js.gz +0 -0
- package/js-core.esm64.js +13 -19
- package/js-core.esm64.js.gz +0 -0
- package/js-core.esm65.js +1 -14
- package/js-core.esm65.js.gz +0 -0
- package/js-core.esm66.js +1 -1
- package/js-core.esm66.js.gz +0 -0
- package/js-core.esm67.js +61 -1
- package/js-core.esm67.js.gz +0 -0
- package/js-core.esm68.js +37 -52
- package/js-core.esm68.js.gz +0 -0
- package/js-core.esm69.js +79 -37
- package/js-core.esm69.js.gz +0 -0
- package/js-core.esm7.js +1 -1
- package/js-core.esm7.js.gz +0 -0
- package/js-core.esm70.js +1 -88
- package/js-core.esm70.js.gz +0 -0
- package/js-core.esm71.js +1 -1
- package/js-core.esm71.js.gz +0 -0
- package/js-core.esm72.js +35 -1
- package/js-core.esm72.js.gz +0 -0
- package/js-core.esm73.js +1 -35
- package/js-core.esm73.js.gz +0 -0
- package/js-core.esm74.js +1 -1
- package/js-core.esm74.js.gz +0 -0
- package/js-core.esm75.js +1 -1
- package/js-core.esm75.js.gz +0 -0
- package/js-core.esm76.js +1 -1
- package/js-core.esm76.js.gz +0 -0
- package/js-core.esm77.js +1 -1
- package/js-core.esm77.js.gz +0 -0
- package/js-core.esm78.js +1 -1
- package/js-core.esm78.js.gz +0 -0
- package/js-core.esm79.js +1 -1
- package/js-core.esm79.js.gz +0 -0
- package/js-core.esm8.js.gz +0 -0
- package/js-core.esm80.js +1 -1
- package/js-core.esm80.js.gz +0 -0
- package/js-core.esm81.js +1 -1
- package/js-core.esm81.js.gz +0 -0
- package/js-core.esm82.js +1 -1
- package/js-core.esm82.js.gz +0 -0
- package/js-core.esm83.js +1 -1
- package/js-core.esm83.js.gz +0 -0
- package/js-core.esm84.js +1 -1
- package/js-core.esm84.js.gz +0 -0
- package/js-core.esm85.js +1 -1
- package/js-core.esm85.js.gz +0 -0
- package/js-core.esm86.js +1 -1
- package/js-core.esm86.js.gz +0 -0
- package/js-core.esm87.js +1 -1
- package/js-core.esm87.js.gz +0 -0
- package/js-core.esm88.js +1 -1
- package/js-core.esm88.js.gz +0 -0
- package/js-core.esm89.js +1 -1
- package/js-core.esm89.js.gz +0 -0
- package/js-core.esm9.js.gz +0 -0
- package/js-core.esm90.js +1 -1
- package/js-core.esm90.js.gz +0 -0
- package/js-core.esm91.js +1 -1
- package/js-core.esm91.js.gz +0 -0
- package/js-core.umd.css +92 -92
- package/js-core.umd.css.gz +0 -0
- package/js-core.umd.js +224 -193
- package/js-core.umd.js.gz +0 -0
- package/js-core.umd.min.css +92 -92
- package/js-core.umd.min.css.gz +0 -0
- package/locales/en.json +1 -1
- package/locales/es.json +1 -1
- package/locales/fr.json +1 -1
- package/package.json +1 -1
- package/js-core.esm92.js +0 -1
- package/js-core.esm92.js.gz +0 -0
package/js-core.esm73.js
CHANGED
|
@@ -1,35 +1 @@
|
|
|
1
|
-
import{ca as createSvgIcon,j as jsxRuntime,X as createSlice,fL as md5,m as makeStyles,ci as combineReducers,B as Box,T as Typography,F as FormattedMessage,K as Button,cL as Add,cl as AIWareThemeProvider,n as useSelector,l as useDispatch,ah as all,G as Grid,N as Divider,dE as takeEvery$1,bY as Avatar,E as IconButton,at as select,dG as selectApiConfigs,as as put,cJ as baseGraphQLApiWithError,r as react,fq as ErrorState,aK as CircularProgress,am as Tooltip,fE as Users,$ as DynamicModuleLoader,A as AIWareIntlProvider,dH as panelsSelector,f0 as Hamburger,co as FullscreenExit,cp as Fullscreen,c5 as Hide,ba as Tabs,z as classNames,bb as Tab,aa as Portal}from"./js-core.esm.js";import{t as tableInfiniteScroll,i as index,a as AutoSizer,I as InfiniteLoader}from"./js-core.esm20.js";import{M as MoreVert}from"./js-core.esm54.js";import{V as VariableSizeList}from"./js-core.esm30.js";import"./js-core.esm36.js";import"./js-core.esm33.js";import"./js-core.esm32.js";var match$2,version$2,store$5,wmget$2,wmhas$2,wmset$2,set$2,get$2,has$2,STATE$2,TOrganizationStatus,Business=createSvgIcon(jsxRuntime.exports.jsx("path",{d:"M12 7V3H2v18h20V7H12zM6 19H4v-2h2v2zm0-4H4v-2h2v2zm0-4H4V9h2v2zm0-4H4V5h2v2zm4 12H8v-2h2v2zm0-4H8v-2h2v2zm0-4H8V9h2v2zm0-4H8V5h2v2zm10 12h-8v-2h2v-2h-2v-2h2v-2h-2V9h8v10zm-2-8h-2v2h2v-2zm0 4h-2v2h2v-2z"}),"Business"),commonjsGlobal$2="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},check$2=function(e){return e&&e.Math==Math&&e},global$c$1=check$2("object"==typeof globalThis&&globalThis)||check$2("object"==typeof window&&window)||check$2("object"==typeof self&&self)||check$2("object"==typeof commonjsGlobal$2&&commonjsGlobal$2)||function(){return this}()||Function("return this")(),objectGetOwnPropertyDescriptor$2={},fails$c$1=function(e){try{return!!e()}catch(e){return!0}},fails$b$2=fails$c$1,descriptors$2=!fails$c$1(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}),fails$a$2=fails$c$1,functionBindNative$2=!fails$c$1(function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}),NATIVE_BIND$1$2=functionBindNative$2,call$6$2=Function.prototype.call,functionCall$2=NATIVE_BIND$1$2?call$6$2.bind(call$6$2):function(){return call$6$2.apply(call$6$2,arguments)},objectPropertyIsEnumerable$2={},$propertyIsEnumerable$2={}.propertyIsEnumerable,getOwnPropertyDescriptor$1$2=Object.getOwnPropertyDescriptor,NASHORN_BUG$2=getOwnPropertyDescriptor$1$2&&!$propertyIsEnumerable$2.call({1:2},1),createPropertyDescriptor$3$2=(objectPropertyIsEnumerable$2.f=NASHORN_BUG$2?function(e){e=getOwnPropertyDescriptor$1$2(this,e);return!!e&&e.enumerable}:$propertyIsEnumerable$2,function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}),NATIVE_BIND$3=functionBindNative$2,FunctionPrototype$1$2=Function.prototype,bind$2=FunctionPrototype$1$2.bind,call$5$2=FunctionPrototype$1$2.call,uncurryThis$d$1=NATIVE_BIND$3&&bind$2.bind(call$5$2,call$5$2),functionUncurryThis$2=NATIVE_BIND$3?function(e){return e&&uncurryThis$d$1(e)}:function(e){return e&&function(){return call$5$2.apply(e,arguments)}},uncurryThis$c$1=functionUncurryThis$2,toString$4$1=uncurryThis$c$1({}.toString),stringSlice$2=uncurryThis$c$1("".slice),classofRaw$1$1=function(e){return stringSlice$2(toString$4$1(e),8,-1)},uncurryThis$b$2=functionUncurryThis$2,fails$9$2=fails$c$1,classof$2$1=classofRaw$1$1,$Object$4$1=Object,split$2=functionUncurryThis$2("".split),indexedObject$2=fails$9$2(function(){return!$Object$4$1("z").propertyIsEnumerable(0)})?function(e){return"String"==classof$2$1(e)?split$2(e,""):$Object$4$1(e)}:$Object$4$1,$TypeError$6$2=TypeError,requireObjectCoercible$3$1=function(e){if(null==e)throw $TypeError$6$2("Can't call method on "+e);return e},IndexedObject$1$2=indexedObject$2,requireObjectCoercible$2$2=requireObjectCoercible$3$1,toIndexedObject$5$2=function(e){return IndexedObject$1$2(requireObjectCoercible$2$2(e))},isCallable$f$1=function(e){return"function"==typeof e},isCallable$e$2=isCallable$f$1,isObject$5$2=function(e){return"object"==typeof e?null!==e:isCallable$e$2(e)},global$b$2=global$c$1,isCallable$d$2=isCallable$f$1,aFunction$2=function(e){return isCallable$d$2(e)?e:void 0},getBuiltIn$4$2=function(e,t){return arguments.length<2?aFunction$2(global$b$2[e]):global$b$2[e]&&global$b$2[e][t]},uncurryThis$a$2=functionUncurryThis$2,objectIsPrototypeOf$2=functionUncurryThis$2({}.isPrototypeOf),getBuiltIn$3$2=getBuiltIn$4$2,engineUserAgent$2=getBuiltIn$4$2("navigator","userAgent")||"",global$a$2=global$c$1,userAgent$2=engineUserAgent$2,process$2=global$a$2.process,Deno$2=global$a$2.Deno,versions$2=process$2&&process$2.versions||Deno$2&&Deno$2.version,v8$2=versions$2&&versions$2.v8,engineV8Version$2=version$2=!(version$2=v8$2?0<(match$2=v8$2.split("."))[0]&&match$2[0]<4?1:+(match$2[0]+match$2[1]):version$2)&&userAgent$2&&(!(match$2=userAgent$2.match(/Edge\/(\d+)/))||74<=match$2[1])&&(match$2=userAgent$2.match(/Chrome\/(\d+)/))?+match$2[1]:version$2,V8_VERSION$2=version$2,fails$8$2=fails$c$1,nativeSymbol$2=!!Object.getOwnPropertySymbols&&!fails$8$2(function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&V8_VERSION$2&&V8_VERSION$2<41}),NATIVE_SYMBOL$1$2=nativeSymbol$2,useSymbolAsUid$2=nativeSymbol$2&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,getBuiltIn$2$2=getBuiltIn$4$2,isCallable$c$2=isCallable$f$1,isPrototypeOf$2=objectIsPrototypeOf$2,USE_SYMBOL_AS_UID$1$2=useSymbolAsUid$2,$Object$3$2=Object,isSymbol$2$2=useSymbolAsUid$2?function(e){return"symbol"==typeof e}:function(e){var t=getBuiltIn$2$2("Symbol");return isCallable$c$2(t)&&isPrototypeOf$2(t.prototype,$Object$3$2(e))},$String$3$1=String,tryToString$1$2=function(e){try{return $String$3$1(e)}catch(e){return"Object"}},isCallable$b$2=isCallable$f$1,tryToString$3=tryToString$1$2,$TypeError$5$2=TypeError,aCallable$1$2=function(e){if(isCallable$b$2(e))return e;throw $TypeError$5$2(tryToString$3(e)+" is not a function")},aCallable$3=aCallable$1$2,getMethod$1$2=function(e,t){e=e[t];return null==e?void 0:aCallable$3(e)},call$4$2=functionCall$2,isCallable$a$2=isCallable$f$1,isObject$4$2=isObject$5$2,$TypeError$4$2=TypeError,ordinaryToPrimitive$1$2=function(e,t){var r,n;if("string"===t&&isCallable$a$2(r=e.toString)&&!isObject$4$2(n=call$4$2(r,e)))return n;if(isCallable$a$2(r=e.valueOf)&&!isObject$4$2(n=call$4$2(r,e)))return n;if("string"!==t&&isCallable$a$2(r=e.toString)&&!isObject$4$2(n=call$4$2(r,e)))return n;throw $TypeError$4$2("Can't convert object to primitive value")},shared$3$2={exports:{}},global$9$2=global$c$1,defineProperty$5$2=Object.defineProperty,defineGlobalProperty$3$2=function(t,r){try{defineProperty$5$2(global$9$2,t,{value:r,configurable:!0,writable:!0})}catch(e){global$9$2[t]=r}return r},global$8$2=global$c$1,defineGlobalProperty$2$2=defineGlobalProperty$3$2,SHARED$2="__core-js_shared__",store$3$2=global$c$1[SHARED$2]||defineGlobalProperty$2$2(SHARED$2,{}),sharedStore$2=store$3$2,store$2$2=sharedStore$2,requireObjectCoercible$1$2=((shared$3$2.exports=function(e,t){return store$2$2[e]||(store$2$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$3$1),$Object$2$2=Object,toObject$3$2=function(e){return $Object$2$2(requireObjectCoercible$1$2(e))},uncurryThis$9$2=functionUncurryThis$2,toObject$2$2=toObject$3$2,hasOwnProperty$2=functionUncurryThis$2({}.hasOwnProperty),hasOwnProperty_1$2=Object.hasOwn||function(e,t){return hasOwnProperty$2(toObject$2$2(e),t)},uncurryThis$8$2=functionUncurryThis$2,id$2=0,postfix$2=Math.random(),toString$3$1=uncurryThis$8$2(1..toString),uid$2$2=function(e){return"Symbol("+(void 0===e?"":e)+")_"+toString$3$1(++id$2+postfix$2,36)},global$7$2=global$c$1,shared$2$2=shared$3$2.exports,hasOwn$8$2=hasOwnProperty_1$2,uid$1$2=uid$2$2,NATIVE_SYMBOL$3=nativeSymbol$2,USE_SYMBOL_AS_UID$3=useSymbolAsUid$2,WellKnownSymbolsStore$2=shared$2$2("wks"),Symbol$2$1=global$7$2.Symbol,symbolFor$2=Symbol$2$1&&Symbol$2$1.for,createWellKnownSymbol$2=USE_SYMBOL_AS_UID$3?Symbol$2$1:Symbol$2$1&&Symbol$2$1.withoutSetter||uid$1$2,wellKnownSymbol$8$1=function(e){var t;return hasOwn$8$2(WellKnownSymbolsStore$2,e)&&(NATIVE_SYMBOL$3||"string"==typeof WellKnownSymbolsStore$2[e])||(t="Symbol."+e,NATIVE_SYMBOL$3&&hasOwn$8$2(Symbol$2$1,e)?WellKnownSymbolsStore$2[e]=Symbol$2$1[e]:WellKnownSymbolsStore$2[e]=(USE_SYMBOL_AS_UID$3&&symbolFor$2?symbolFor$2:createWellKnownSymbol$2)(t)),WellKnownSymbolsStore$2[e]},call$3$2=functionCall$2,isObject$3$2=isObject$5$2,isSymbol$1$2=isSymbol$2$2,getMethod$3=getMethod$1$2,ordinaryToPrimitive$3=ordinaryToPrimitive$1$2,wellKnownSymbol$7$1=wellKnownSymbol$8$1,$TypeError$3$2=TypeError,TO_PRIMITIVE$2=wellKnownSymbol$8$1("toPrimitive"),toPrimitive$1$2=function(e,t){if(!isObject$3$2(e)||isSymbol$1$2(e))return e;var r=getMethod$3(e,TO_PRIMITIVE$2);if(r){if(r=call$3$2(r,e,t=void 0===t?"default":t),!isObject$3$2(r)||isSymbol$1$2(r))return r;throw $TypeError$3$2("Can't convert object to primitive value")}return ordinaryToPrimitive$3(e,t=void 0===t?"number":t)},toPrimitive$3=toPrimitive$1$2,isSymbol$4=isSymbol$2$2,toPropertyKey$2$2=function(e){e=toPrimitive$3(e,"string");return isSymbol$4(e)?e:e+""},global$6$2=global$c$1,isObject$2$2=isObject$5$2,document$1$2=global$c$1.document,EXISTS$1$2=isObject$2$2(document$1$2)&&isObject$2$2(document$1$2.createElement),documentCreateElement$2$2=function(e){return EXISTS$1$2?document$1$2.createElement(e):{}},DESCRIPTORS$9$2=descriptors$2,fails$7$2=fails$c$1,createElement$2=documentCreateElement$2$2,ie8DomDefine$2=!descriptors$2&&!fails$c$1(function(){return 7!=Object.defineProperty(createElement$2("div"),"a",{get:function(){return 7}}).a}),DESCRIPTORS$8$2=descriptors$2,call$2$2=functionCall$2,propertyIsEnumerableModule$1$2=objectPropertyIsEnumerable$2,createPropertyDescriptor$2$2=createPropertyDescriptor$3$2,toIndexedObject$4$2=toIndexedObject$5$2,toPropertyKey$1$2=toPropertyKey$2$2,hasOwn$7$2=hasOwnProperty_1$2,IE8_DOM_DEFINE$1$2=ie8DomDefine$2,$getOwnPropertyDescriptor$1$2=Object.getOwnPropertyDescriptor,objectDefineProperty$2=(objectGetOwnPropertyDescriptor$2.f=DESCRIPTORS$8$2?$getOwnPropertyDescriptor$1$2:function(e,t){if(e=toIndexedObject$4$2(e),t=toPropertyKey$1$2(t),IE8_DOM_DEFINE$1$2)try{return $getOwnPropertyDescriptor$1$2(e,t)}catch(e){}if(hasOwn$7$2(e,t))return createPropertyDescriptor$2$2(!call$2$2(propertyIsEnumerableModule$1$2.f,e,t),e[t])},{}),DESCRIPTORS$7$2=descriptors$2,fails$6$2=fails$c$1,v8PrototypeDefineBug$2=descriptors$2&&fails$c$1(function(){return 42!=Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype}),isObject$1$2=isObject$5$2,$String$2$2=String,$TypeError$2$2=TypeError,anObject$5$2=function(e){if(isObject$1$2(e))return e;throw $TypeError$2$2($String$2$2(e)+" is not an object")},DESCRIPTORS$6$2=descriptors$2,IE8_DOM_DEFINE$3=ie8DomDefine$2,V8_PROTOTYPE_DEFINE_BUG$1$2=v8PrototypeDefineBug$2,anObject$4$2=anObject$5$2,toPropertyKey$4=toPropertyKey$2$2,$TypeError$1$2=TypeError,$defineProperty$2=Object.defineProperty,$getOwnPropertyDescriptor$3=Object.getOwnPropertyDescriptor,ENUMERABLE$2="enumerable",CONFIGURABLE$1$2="configurable",WRITABLE$2="writable",DESCRIPTORS$5$2=(objectDefineProperty$2.f=DESCRIPTORS$6$2?V8_PROTOTYPE_DEFINE_BUG$1$2?function(e,t,r){var n;return anObject$4$2(e),t=toPropertyKey$4(t),anObject$4$2(r),"function"==typeof e&&"prototype"===t&&"value"in r&&WRITABLE$2 in r&&!r[WRITABLE$2]&&(n=$getOwnPropertyDescriptor$3(e,t))&&n[WRITABLE$2]&&(e[t]=r.value,r={configurable:(CONFIGURABLE$1$2 in r?r:n)[CONFIGURABLE$1$2],enumerable:(ENUMERABLE$2 in r?r:n)[ENUMERABLE$2],writable:!1}),$defineProperty$2(e,t,r)}:$defineProperty$2:function(e,t,r){if(anObject$4$2(e),t=toPropertyKey$4(t),anObject$4$2(r),IE8_DOM_DEFINE$3)try{return $defineProperty$2(e,t,r)}catch(e){}if("get"in r||"set"in r)throw $TypeError$1$2("Accessors not supported");return"value"in r&&(e[t]=r.value),e},descriptors$2),definePropertyModule$3$2=objectDefineProperty$2,createPropertyDescriptor$1$2=createPropertyDescriptor$3$2,createNonEnumerableProperty$4$2=DESCRIPTORS$5$2?function(e,t,r){return definePropertyModule$3$2.f(e,t,createPropertyDescriptor$1$2(1,r))}:function(e,t,r){return e[t]=r,e},makeBuiltIn$2$2={exports:{}},DESCRIPTORS$4$2=descriptors$2,hasOwn$6$2=hasOwnProperty_1$2,FunctionPrototype$3=Function.prototype,getDescriptor$2=DESCRIPTORS$4$2&&Object.getOwnPropertyDescriptor,EXISTS$3=hasOwn$6$2(FunctionPrototype$3,"name"),PROPER$2=EXISTS$3&&"something"===function(){}.name,CONFIGURABLE$3=EXISTS$3&&(!DESCRIPTORS$4$2||getDescriptor$2(FunctionPrototype$3,"name").configurable),functionName$2={EXISTS:EXISTS$3,PROPER:PROPER$2,CONFIGURABLE:CONFIGURABLE$3},uncurryThis$7$2=functionUncurryThis$2,isCallable$9$2=isCallable$f$1,store$1$2=sharedStore$2,functionToString$2=functionUncurryThis$2(Function.toString),inspectSource$2$2=(isCallable$9$2(store$1$2.inspectSource)||(store$1$2.inspectSource=function(e){return functionToString$2(e)}),store$1$2.inspectSource),global$5$2=global$c$1,isCallable$8$2=isCallable$f$1,inspectSource$1$2=inspectSource$2$2,WeakMap$1$2=global$c$1.WeakMap,nativeWeakMap$2=isCallable$8$2(WeakMap$1$2)&&/native code/.test(inspectSource$1$2(WeakMap$1$2)),shared$1$2=shared$3$2.exports,uid$4=uid$2$2,keys$2=shared$1$2("keys"),sharedKey$3$2=function(e){return keys$2[e]||(keys$2[e]=uid$4(e))},hiddenKeys$4$2={},NATIVE_WEAK_MAP$2=nativeWeakMap$2,global$4$2=global$c$1,uncurryThis$6$2=functionUncurryThis$2,isObject$7=isObject$5$2,createNonEnumerableProperty$3$2=createNonEnumerableProperty$4$2,hasOwn$5$2=hasOwnProperty_1$2,shared$5=sharedStore$2,sharedKey$2$2=sharedKey$3$2,hiddenKeys$3$2=hiddenKeys$4$2,OBJECT_ALREADY_INITIALIZED$2="Object already initialized",TypeError$1$2=global$4$2.TypeError,WeakMap$3=global$4$2.WeakMap,enforce$2=function(e){return has$2(e)?get$2(e):set$2(e,{})},getterFor$2=function(t){return function(e){if(isObject$7(e)&&(e=get$2(e)).type===t)return e;throw TypeError$1$2("Incompatible receiver, "+t+" required")}},internalState$2=(has$2=NATIVE_WEAK_MAP$2||shared$5.state?(store$5=shared$5.state||(shared$5.state=new WeakMap$3),wmget$2=uncurryThis$6$2(store$5.get),wmhas$2=uncurryThis$6$2(store$5.has),wmset$2=uncurryThis$6$2(store$5.set),set$2=function(e,t){if(wmhas$2(store$5,e))throw new TypeError$1$2(OBJECT_ALREADY_INITIALIZED$2);return t.facade=e,wmset$2(store$5,e,t),t},get$2=function(e){return wmget$2(store$5,e)||{}},function(e){return wmhas$2(store$5,e)}):(STATE$2=sharedKey$2$2("state"),hiddenKeys$3$2[STATE$2]=!0,set$2=function(e,t){if(hasOwn$5$2(e,STATE$2))throw new TypeError$1$2(OBJECT_ALREADY_INITIALIZED$2);return t.facade=e,createNonEnumerableProperty$3$2(e,STATE$2,t),t},get$2=function(e){return hasOwn$5$2(e,STATE$2)?e[STATE$2]:{}},function(e){return hasOwn$5$2(e,STATE$2)}),{set:set$2,get:get$2,has:has$2,enforce:enforce$2,getterFor:getterFor$2}),fails$5$2=fails$c$1,isCallable$7$2=isCallable$f$1,hasOwn$4$2=hasOwnProperty_1$2,DESCRIPTORS$3$2=descriptors$2,CONFIGURABLE_FUNCTION_NAME$1$2=functionName$2.CONFIGURABLE,inspectSource$4=inspectSource$2$2,InternalStateModule$1$2=internalState$2,enforceInternalState$2=InternalStateModule$1$2.enforce,getInternalState$1$2=InternalStateModule$1$2.get,defineProperty$4$2=Object.defineProperty,CONFIGURABLE_LENGTH$2=DESCRIPTORS$3$2&&!fails$5$2(function(){return 8!==defineProperty$4$2(function(){},"length",{value:8}).length}),TEMPLATE$2=String(String).split("String"),makeBuiltIn$1$2=makeBuiltIn$2$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$4$2(e,"name")||CONFIGURABLE_FUNCTION_NAME$1$2&&e.name!==t)&&(DESCRIPTORS$3$2?defineProperty$4$2(e,"name",{value:t,configurable:!0}):e.name=t),CONFIGURABLE_LENGTH$2&&r&&hasOwn$4$2(r,"arity")&&e.length!==r.arity&&defineProperty$4$2(e,"length",{value:r.arity});try{r&&hasOwn$4$2(r,"constructor")&&r.constructor?DESCRIPTORS$3$2&&defineProperty$4$2(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}r=enforceInternalState$2(e);return hasOwn$4$2(r,"source")||(r.source=TEMPLATE$2.join("string"==typeof t?t:"")),e},isCallable$6$2=(Function.prototype.toString=makeBuiltIn$1$2(function(){return isCallable$7$2(this)&&getInternalState$1$2(this).source||inspectSource$4(this)},"toString"),isCallable$f$1),definePropertyModule$2$2=objectDefineProperty$2,makeBuiltIn$4=makeBuiltIn$2$2.exports,defineGlobalProperty$1$2=defineGlobalProperty$3$2,defineBuiltIn$3$2=function(e,t,r,n){var o=(n=n||{}).enumerable,$=void 0!==n.name?n.name:t;if(isCallable$6$2(r)&&makeBuiltIn$4(r,$,n),n.global)o?e[t]=r:defineGlobalProperty$1$2(t,r);else{try{n.unsafe?e[t]&&(o=!0):delete e[t]}catch(e){}o?e[t]=r:definePropertyModule$2$2.f(e,t,{value:r,enumerable:!1,configurable:!n.nonConfigurable,writable:!n.nonWritable})}return e},objectGetOwnPropertyNames$2={},ceil$2=Math.ceil,floor$2=Math.floor,mathTrunc$2=Math.trunc||function(e){e=+e;return(0<e?floor$2:ceil$2)(e)},trunc$2=mathTrunc$2,toIntegerOrInfinity$2$2=function(e){e=+e;return e!=e||0==e?0:trunc$2(e)},toIntegerOrInfinity$1$2=toIntegerOrInfinity$2$2,max$2=Math.max,min$1$2=Math.min,toAbsoluteIndex$1$2=function(e,t){e=toIntegerOrInfinity$1$2(e);return e<0?max$2(e+t,0):min$1$2(e,t)},toIntegerOrInfinity$4=toIntegerOrInfinity$2$2,min$3=Math.min,toLength$1$2=function(e){return 0<e?min$3(toIntegerOrInfinity$4(e),9007199254740991):0},toLength$3=toLength$1$2,lengthOfArrayLike$1$2=function(e){return toLength$3(e.length)},toIndexedObject$3$2=toIndexedObject$5$2,toAbsoluteIndex$3=toAbsoluteIndex$1$2,lengthOfArrayLike$3=lengthOfArrayLike$1$2,createMethod$1$1=function(i){return function(e,t,r){var n,o=toIndexedObject$3$2(e),$=lengthOfArrayLike$3(o),a=toAbsoluteIndex$3(r,$);if(i&&t!=t){for(;a<$;)if((n=o[a++])!=n)return!0}else for(;a<$;a++)if((i||a in o)&&o[a]===t)return i||a||0;return!i&&-1}},arrayIncludes$2={includes:createMethod$1$1(!0),indexOf:createMethod$1$1(!1)},uncurryThis$5$2=functionUncurryThis$2,hasOwn$3$2=hasOwnProperty_1$2,toIndexedObject$2$2=toIndexedObject$5$2,indexOf$2=arrayIncludes$2.indexOf,hiddenKeys$2$2=hiddenKeys$4$2,push$2=uncurryThis$5$2([].push),objectKeysInternal$2=function(e,t){var r,n=toIndexedObject$2$2(e),o=0,$=[];for(r in n)!hasOwn$3$2(hiddenKeys$2$2,r)&&hasOwn$3$2(n,r)&&push$2($,r);for(;t.length>o;)!hasOwn$3$2(n,r=t[o++])||~indexOf$2($,r)||push$2($,r);return $},enumBugKeys$3$2=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],internalObjectKeys$1$2=objectKeysInternal$2,enumBugKeys$2$2=enumBugKeys$3$2,hiddenKeys$1$2=enumBugKeys$3$2.concat("length","prototype"),objectGetOwnPropertySymbols$2=(objectGetOwnPropertyNames$2.f=Object.getOwnPropertyNames||function(e){return internalObjectKeys$1$2(e,hiddenKeys$1$2)},{}),getBuiltIn$1$2=(objectGetOwnPropertySymbols$2.f=Object.getOwnPropertySymbols,getBuiltIn$4$2),uncurryThis$4$2=functionUncurryThis$2,getOwnPropertyNamesModule$2=objectGetOwnPropertyNames$2,getOwnPropertySymbolsModule$1$2=objectGetOwnPropertySymbols$2,anObject$3$2=anObject$5$2,concat$1$2=functionUncurryThis$2([].concat),ownKeys$1$2=getBuiltIn$1$2("Reflect","ownKeys")||function(e){var t=getOwnPropertyNamesModule$2.f(anObject$3$2(e)),r=getOwnPropertySymbolsModule$1$2.f;return r?concat$1$2(t,r(e)):t},hasOwn$2$2=hasOwnProperty_1$2,ownKeys$3=ownKeys$1$2,getOwnPropertyDescriptorModule$2=objectGetOwnPropertyDescriptor$2,definePropertyModule$1$2=objectDefineProperty$2,copyConstructorProperties$1$2=function(e,t,r){for(var n=ownKeys$3(t),o=definePropertyModule$1$2.f,$=getOwnPropertyDescriptorModule$2.f,a=0;a<n.length;a++){var i=n[a];hasOwn$2$2(e,i)||r&&hasOwn$2$2(r,i)||o(e,i,$(t,i))}},fails$4$2=fails$c$1,isCallable$5$2=isCallable$f$1,replacement$2=/#|\.prototype\./,isForced$1$2=function(e,t){e=data$2[normalize$2(e)];return e==POLYFILL$2||e!=NATIVE$2&&(isCallable$5$2(t)?fails$4$2(t):!!t)},normalize$2=isForced$1$2.normalize=function(e){return String(e).replace(replacement$2,".").toLowerCase()},data$2=isForced$1$2.data={},NATIVE$2=isForced$1$2.NATIVE="N",POLYFILL$2=isForced$1$2.POLYFILL="P",isForced_1$2=isForced$1$2,global$3$2=global$c$1,getOwnPropertyDescriptor$3=objectGetOwnPropertyDescriptor$2.f,createNonEnumerableProperty$2$2=createNonEnumerableProperty$4$2,defineBuiltIn$2$2=defineBuiltIn$3$2,defineGlobalProperty$5=defineGlobalProperty$3$2,copyConstructorProperties$3=copyConstructorProperties$1$2,isForced$3=isForced_1$2,_export$2=function(e,t){var r,n,o,$=e.target,a=e.global,i=e.stat,s=a?global$3$2:i?global$3$2[$]||defineGlobalProperty$5($,{}):(global$3$2[$]||{}).prototype;if(s)for(r in t){if(n=t[r],o=e.dontCallGetSet?(o=getOwnPropertyDescriptor$3(s,r))&&o.value:s[r],!isForced$3(a?r:$+(i?".":"#")+r,e.forced)&&void 0!==o){if(typeof n==typeof o)continue;copyConstructorProperties$3(n,o)}(e.sham||o&&o.sham)&&createNonEnumerableProperty$2$2(n,"sham",!0),defineBuiltIn$2$2(s,r,n,e)}},internalObjectKeys$3=objectKeysInternal$2,enumBugKeys$1$2=enumBugKeys$3$2,objectKeys$2$2=Object.keys||function(e){return internalObjectKeys$3(e,enumBugKeys$1$2)},DESCRIPTORS$2$2=descriptors$2,uncurryThis$3$2=functionUncurryThis$2,call$1$2=functionCall$2,fails$3$2=fails$c$1,objectKeys$1$2=objectKeys$2$2,getOwnPropertySymbolsModule$3=objectGetOwnPropertySymbols$2,propertyIsEnumerableModule$3=objectPropertyIsEnumerable$2,toObject$1$2=toObject$3$2,IndexedObject$3=indexedObject$2,$assign$2=Object.assign,defineProperty$3$2=Object.defineProperty,concat$3=uncurryThis$3$2([].concat),objectAssign$2=!$assign$2||fails$3$2(function(){var e,t,r,n;return!(!DESCRIPTORS$2$2||1===$assign$2({b:1},$assign$2(defineProperty$3$2({},"a",{enumerable:!0,get:function(){defineProperty$3$2(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)||(t={},n="abcdefghijklmnopqrst",(e={})[r=Symbol()]=7,n.split("").forEach(function(e){t[e]=e}),7!=$assign$2({},e)[r])||objectKeys$1$2($assign$2({},t)).join("")!=n})?function(e,t){for(var r=toObject$1$2(e),n=arguments.length,o=1,$=getOwnPropertySymbolsModule$3.f,a=propertyIsEnumerableModule$3.f;o<n;)for(var i,s=IndexedObject$3(arguments[o++]),l=$?concat$3(objectKeys$1$2(s),$(s)):objectKeys$1$2(s),c=l.length,u=0;u<c;)i=l[u++],DESCRIPTORS$2$2&&!call$1$2(a,s,i)||(r[i]=s[i]);return r}:$assign$2,$$2$1=_export$2,assign$2=objectAssign$2;_export$2({target:"Object",stat:!0,arity:2,forced:Object.assign!==assign$2},{assign:assign$2});const SLICE_NAME$1="instanceAdminCenterOrgs",PAGE_LIMIT$1=30;!function(e){e.ACTIVE="active",e.DELETED="deleted"}(TOrganizationStatus=TOrganizationStatus||{});var activeXDocument$2,IteratorPrototype$2$2,PrototypeOfArrayIteratorPrototype$2,arrayIterator$2,objectDefineProperties$2={},DESCRIPTORS$1$2=descriptors$2,V8_PROTOTYPE_DEFINE_BUG$3=v8PrototypeDefineBug$2,definePropertyModule$5=objectDefineProperty$2,anObject$2$2=anObject$5$2,toIndexedObject$1$2=toIndexedObject$5$2,objectKeys$4=objectKeys$2$2,getBuiltIn$6=(objectDefineProperties$2.f=DESCRIPTORS$1$2&&!V8_PROTOTYPE_DEFINE_BUG$3?Object.defineProperties:function(e,t){anObject$2$2(e);for(var r,n=toIndexedObject$1$2(t),o=objectKeys$4(t),$=o.length,a=0;a<$;)definePropertyModule$5.f(e,r=o[a++],n[r]);return e},getBuiltIn$4$2),html$1$2=getBuiltIn$4$2("document","documentElement"),anObject$1$2=anObject$5$2,definePropertiesModule$2=objectDefineProperties$2,enumBugKeys$5=enumBugKeys$3$2,hiddenKeys$6=hiddenKeys$4$2,html$3=html$1$2,documentCreateElement$1$2=documentCreateElement$2$2,sharedKey$1$2=sharedKey$3$2,GT$2=">",LT$2="<",PROTOTYPE$2="prototype",SCRIPT$2="script",IE_PROTO$1$2=sharedKey$3$2("IE_PROTO"),EmptyConstructor$2=function(){},scriptTag$2=function(e){return LT$2+SCRIPT$2+GT$2+e+LT$2+"/"+SCRIPT$2+GT$2},NullProtoObjectViaActiveX$2=function(e){e.write(scriptTag$2("")),e.close();var t=e.parentWindow.Object;return e=null,t},NullProtoObjectViaIFrame$2=function(){var e=documentCreateElement$1$2("iframe"),t="java"+SCRIPT$2+":";return e.style.display="none",html$3.appendChild(e),e.src=String(t),(t=e.contentWindow.document).open(),t.write(scriptTag$2("document.F=Object")),t.close(),t.F},NullProtoObject$2=function(){try{activeXDocument$2=new ActiveXObject("htmlfile")}catch(e){}NullProtoObject$2="undefined"==typeof document||document.domain&&activeXDocument$2?NullProtoObjectViaActiveX$2(activeXDocument$2):NullProtoObjectViaIFrame$2();for(var e=enumBugKeys$5.length;e--;)delete NullProtoObject$2[PROTOTYPE$2][enumBugKeys$5[e]];return NullProtoObject$2()},objectCreate$2=(hiddenKeys$6[IE_PROTO$1$2]=!0,Object.create||function(e,t){var r;return null!==e?(EmptyConstructor$2[PROTOTYPE$2]=anObject$1$2(e),r=new EmptyConstructor$2,EmptyConstructor$2[PROTOTYPE$2]=null,r[IE_PROTO$1$2]=e):r=NullProtoObject$2(),void 0===t?r:definePropertiesModule$2.f(r,t)}),wellKnownSymbol$6$2=wellKnownSymbol$8$1,create$1$2=objectCreate$2,defineProperty$2$2=objectDefineProperty$2.f,UNSCOPABLES$2=wellKnownSymbol$6$2("unscopables"),ArrayPrototype$2=Array.prototype,addToUnscopables$1$2=(null==ArrayPrototype$2[UNSCOPABLES$2]&&defineProperty$2$2(ArrayPrototype$2,UNSCOPABLES$2,{configurable:!0,value:create$1$2(null)}),function(e){ArrayPrototype$2[UNSCOPABLES$2][e]=!0}),iterators$2={},fails$2$2=fails$c$1,correctPrototypeGetter$2=!fails$c$1(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}),hasOwn$1$2=hasOwnProperty_1$2,isCallable$4$2=isCallable$f$1,toObject$5=toObject$3$2,sharedKey$5=sharedKey$3$2,CORRECT_PROTOTYPE_GETTER$2=correctPrototypeGetter$2,IE_PROTO$3=sharedKey$3$2("IE_PROTO"),$Object$1$2=Object,ObjectPrototype$2=$Object$1$2.prototype,objectGetPrototypeOf$2=CORRECT_PROTOTYPE_GETTER$2?$Object$1$2.getPrototypeOf:function(e){var t,e=toObject$5(e);return hasOwn$1$2(e,IE_PROTO$3)?e[IE_PROTO$3]:(t=e.constructor,isCallable$4$2(t)&&e instanceof t?t.prototype:e instanceof $Object$1$2?ObjectPrototype$2:null)},fails$1$2=fails$c$1,isCallable$3$2=isCallable$f$1,getPrototypeOf$1$2=objectGetPrototypeOf$2,defineBuiltIn$1$2=defineBuiltIn$3$2,wellKnownSymbol$5$2=wellKnownSymbol$8$1,ITERATOR$3$1=wellKnownSymbol$8$1("iterator"),BUGGY_SAFARI_ITERATORS$1$2=!1,NEW_ITERATOR_PROTOTYPE$2=([].keys&&("next"in(arrayIterator$2=[].keys())?(PrototypeOfArrayIteratorPrototype$2=getPrototypeOf$1$2(getPrototypeOf$1$2(arrayIterator$2)))!==Object.prototype&&(IteratorPrototype$2$2=PrototypeOfArrayIteratorPrototype$2):BUGGY_SAFARI_ITERATORS$1$2=!0),null==IteratorPrototype$2$2||fails$1$2(function(){var e={};return IteratorPrototype$2$2[ITERATOR$3$1].call(e)!==e})),iteratorsCore$2=(isCallable$3$2((IteratorPrototype$2$2=NEW_ITERATOR_PROTOTYPE$2?{}:IteratorPrototype$2$2)[ITERATOR$3$1])||defineBuiltIn$1$2(IteratorPrototype$2$2,ITERATOR$3$1,function(){return this}),{IteratorPrototype:IteratorPrototype$2$2,BUGGY_SAFARI_ITERATORS:BUGGY_SAFARI_ITERATORS$1$2}),defineProperty$1$2=objectDefineProperty$2.f,hasOwn$a=hasOwnProperty_1$2,wellKnownSymbol$4$2=wellKnownSymbol$8$1,TO_STRING_TAG$3$1=wellKnownSymbol$8$1("toStringTag"),setToStringTag$2$2=function(e,t,r){(e=e&&!r?e.prototype:e)&&!hasOwn$a(e,TO_STRING_TAG$3$1)&&defineProperty$1$2(e,TO_STRING_TAG$3$1,{configurable:!0,value:t})},IteratorPrototype$1$2=iteratorsCore$2.IteratorPrototype,create$3=objectCreate$2,createPropertyDescriptor$5=createPropertyDescriptor$3$2,setToStringTag$1$2=setToStringTag$2$2,Iterators$2$2=iterators$2,returnThis$1$2=function(){return this},createIteratorConstructor$1$2=function(e,t,r,n){t+=" Iterator";return e.prototype=create$3(IteratorPrototype$1$2,{next:createPropertyDescriptor$5(+!n,r)}),setToStringTag$1$2(e,t,!1),Iterators$2$2[t]=returnThis$1$2,e},isCallable$2$2=isCallable$f$1,$String$1$2=String,$TypeError$8=TypeError,aPossiblePrototype$1$2=function(e){if("object"==typeof e||isCallable$2$2(e))return e;throw $TypeError$8("Can't set "+$String$1$2(e)+" as a prototype")},uncurryThis$2$2=functionUncurryThis$2,anObject$7=anObject$5$2,aPossiblePrototype$3=aPossiblePrototype$1$2,objectSetPrototypeOf$2=Object.setPrototypeOf||("__proto__"in{}?function(){var r,n=!1,e={};try{(r=uncurryThis$2$2(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(e,[]),n=e instanceof Array}catch(e){}return function(e,t){return anObject$7(e),aPossiblePrototype$3(t),n?r(e,t):e.__proto__=t,e}}():void 0),$$1$2=_export$2,call$8=functionCall$2,FunctionName$2=functionName$2,isCallable$1$2=isCallable$f$1,createIteratorConstructor$3=createIteratorConstructor$1$2,getPrototypeOf$3=objectGetPrototypeOf$2,setPrototypeOf$2=objectSetPrototypeOf$2,setToStringTag$4=setToStringTag$2$2,createNonEnumerableProperty$1$2=createNonEnumerableProperty$4$2,defineBuiltIn$5=defineBuiltIn$3$2,wellKnownSymbol$3$2=wellKnownSymbol$8$1,Iterators$1$2=iterators$2,IteratorsCore$2=iteratorsCore$2,PROPER_FUNCTION_NAME$2=FunctionName$2.PROPER,CONFIGURABLE_FUNCTION_NAME$3=FunctionName$2.CONFIGURABLE,IteratorPrototype$4=IteratorsCore$2.IteratorPrototype,BUGGY_SAFARI_ITERATORS$3=IteratorsCore$2.BUGGY_SAFARI_ITERATORS,ITERATOR$2$2=wellKnownSymbol$3$2("iterator"),KEYS$2="keys",VALUES$2="values",ENTRIES$2="entries",returnThis$3=function(){return this},defineIterator$1$2=function(e,t,r,n,o,$,a){createIteratorConstructor$3(r,t,n);function i(e){if(e===o&&d)return d;if(!BUGGY_SAFARI_ITERATORS$3&&e in u)return u[e];switch(e){case KEYS$2:case VALUES$2:case ENTRIES$2:return function(){return new r(this,e)}}return function(){return new r(this)}}var s,l,n=t+" Iterator",c=!1,u=e.prototype,p=u[ITERATOR$2$2]||u["@@iterator"]||o&&u[o],d=!BUGGY_SAFARI_ITERATORS$3&&p||i(o),y="Array"==t&&u.entries||p;if(y&&(y=getPrototypeOf$3(y.call(new e)))!==Object.prototype&&y.next&&(getPrototypeOf$3(y)!==IteratorPrototype$4&&(setPrototypeOf$2?setPrototypeOf$2(y,IteratorPrototype$4):isCallable$1$2(y[ITERATOR$2$2])||defineBuiltIn$5(y,ITERATOR$2$2,returnThis$3)),setToStringTag$4(y,n,!0)),PROPER_FUNCTION_NAME$2&&o==VALUES$2&&p&&p.name!==VALUES$2&&(CONFIGURABLE_FUNCTION_NAME$3?createNonEnumerableProperty$1$2(u,"name",VALUES$2):(c=!0,d=function(){return call$8(p,this)})),o)if(s={values:i(VALUES$2),keys:$?d:i(KEYS$2),entries:i(ENTRIES$2)},a)for(l in s)!BUGGY_SAFARI_ITERATORS$3&&!c&&l in u||defineBuiltIn$5(u,l,s[l]);else $$1$2({target:t,proto:!0,forced:BUGGY_SAFARI_ITERATORS$3||c},s);return u[ITERATOR$2$2]!==d&&defineBuiltIn$5(u,ITERATOR$2$2,d,{name:o}),Iterators$1$2[t]=d,s},toIndexedObject$7=toIndexedObject$5$2,addToUnscopables$3=addToUnscopables$1$2,Iterators$4=iterators$2,InternalStateModule$3=internalState$2,defineProperty$7=objectDefineProperty$2.f,defineIterator$3=defineIterator$1$2,DESCRIPTORS$b=descriptors$2,ARRAY_ITERATOR$2="Array Iterator",setInternalState$2=InternalStateModule$3.set,getInternalState$3=InternalStateModule$3.getterFor(ARRAY_ITERATOR$2),es_array_iterator$2=defineIterator$3(Array,"Array",function(e,t){setInternalState$2(this,{type:ARRAY_ITERATOR$2,target:toIndexedObject$7(e),index:0,kind:t})},function(){var e=getInternalState$3(this),t=e.target,r=e.kind,n=e.index++;return!t||n>=t.length?{value:e.target=void 0,done:!0}:"keys"==r?{value:n,done:!1}:"values"==r?{value:t[n],done:!1}:{value:[n,t[n]],done:!1}},"values"),values$2=Iterators$4.Arguments=Iterators$4.Array;if(addToUnscopables$3("keys"),addToUnscopables$3("values"),addToUnscopables$3("entries"),DESCRIPTORS$b&&"values"!==values$2.name)try{defineProperty$7(values$2,"name",{value:"values"})}catch(e){}var COLLECTION_NAME$2,domIterables$2={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$4=documentCreateElement$2$2,classList$2=documentCreateElement$2$2("span").classList,DOMTokenListPrototype$1$2=classList$2&&classList$2.constructor&&classList$2.constructor.prototype,domTokenListPrototype$2=DOMTokenListPrototype$1$2===Object.prototype?void 0:DOMTokenListPrototype$1$2,global$2$2=global$c$1,DOMIterables$2=domIterables$2,DOMTokenListPrototype$3=domTokenListPrototype$2,ArrayIteratorMethods$2=es_array_iterator$2,createNonEnumerableProperty$6=createNonEnumerableProperty$4$2,wellKnownSymbol$2$2=wellKnownSymbol$8$1,ITERATOR$1$2=wellKnownSymbol$2$2("iterator"),TO_STRING_TAG$2$1=wellKnownSymbol$2$2("toStringTag"),ArrayValues$2=ArrayIteratorMethods$2.values,handlePrototype$2=function(t,e){if(t){if(t[ITERATOR$1$2]!==ArrayValues$2)try{createNonEnumerableProperty$6(t,ITERATOR$1$2,ArrayValues$2)}catch(e){t[ITERATOR$1$2]=ArrayValues$2}if(t[TO_STRING_TAG$2$1]||createNonEnumerableProperty$6(t,TO_STRING_TAG$2$1,e),DOMIterables$2[e])for(var r in ArrayIteratorMethods$2)if(t[r]!==ArrayIteratorMethods$2[r])try{createNonEnumerableProperty$6(t,r,ArrayIteratorMethods$2[r])}catch(e){t[r]=ArrayIteratorMethods$2[r]}}};for(COLLECTION_NAME$2 in DOMIterables$2)handlePrototype$2(global$2$2[COLLECTION_NAME$2]&&global$2$2[COLLECTION_NAME$2].prototype,COLLECTION_NAME$2);handlePrototype$2(DOMTokenListPrototype$3,"DOMTokenList");var wellKnownSymbol$1$2=wellKnownSymbol$8$1,TO_STRING_TAG$1$2=wellKnownSymbol$8$1("toStringTag"),test$1={},toStringTagSupport$1=(test$1[TO_STRING_TAG$1$2]="z","[object z]"===String(test$1)),TO_STRING_TAG_SUPPORT$1=toStringTagSupport$1,isCallable$h=isCallable$f$1,classofRaw$3=classofRaw$1$1,wellKnownSymbol$a=wellKnownSymbol$8$1,TO_STRING_TAG$5=wellKnownSymbol$8$1("toStringTag"),$Object$6=Object,CORRECT_ARGUMENTS$1="Arguments"==classofRaw$3(function(){return arguments}()),tryGet$1=function(e,t){try{return e[t]}catch(e){}},classof$1$1=TO_STRING_TAG_SUPPORT$1?classofRaw$3:function(e){var t;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(t=tryGet$1(e=$Object$6(e),TO_STRING_TAG$5))?t:CORRECT_ARGUMENTS$1?classofRaw$3(e):"Object"==(t=classofRaw$3(e))&&isCallable$h(e.callee)?"Arguments":t},classof$4=classof$1$1,$String$5=String,toString$2$1=function(e){if("Symbol"===classof$4(e))throw TypeError("Cannot convert a Symbol value to a string");return $String$5(e)},whitespaces$2$1="\t\n\v\f\r \u2028\u2029\ufeff",uncurryThis$1$2=functionUncurryThis$2,requireObjectCoercible$5=requireObjectCoercible$3$1,toString$1$2=toString$2$1,whitespaces$1$1=whitespaces$2$1,replace$1=functionUncurryThis$2("".replace),whitespace$1="["+whitespaces$1$1+"]",ltrim$1=RegExp("^"+whitespace$1+whitespace$1+"*"),rtrim$1=RegExp(whitespace$1+whitespace$1+"*$"),createMethod$3=function(t){return function(e){e=toString$1$2(requireObjectCoercible$5(e));return 1&t&&(e=replace$1(e,ltrim$1,"")),e=2&t?replace$1(e,rtrim$1,""):e}},stringTrim$1={start:createMethod$3(1),end:createMethod$3(2),trim:createMethod$3(3)},global$1$2=global$c$1,fails$e=fails$c$1,uncurryThis$f=functionUncurryThis$2,toString$6=toString$2$1,trim$1=stringTrim$1.trim,whitespaces$3=whitespaces$2$1,$parseInt$1$1=global$1$2.parseInt,Symbol$1$2=global$1$2.Symbol,ITERATOR$5=Symbol$1$2&&Symbol$1$2.iterator,hex$1=/^[+-]?0x/i,exec$1=uncurryThis$f(hex$1.exec),FORCED$1=8!==$parseInt$1$1(whitespaces$3+"08")||22!==$parseInt$1$1(whitespaces$3+"0x16")||ITERATOR$5&&!fails$e(function(){$parseInt$1$1(Object(ITERATOR$5))}),numberParseInt$1=FORCED$1?function(e,t){e=trim$1(toString$6(e));return $parseInt$1$1(e,t>>>0||(exec$1(hex$1,e)?16:10))}:$parseInt$1$1,$$4=_export$2,$parseInt$2=numberParseInt$1;_export$2({global:!0,forced:parseInt!=numberParseInt$1},{parseInt:numberParseInt$1});const namespace$1$1="instanceAdminCenterOrgs",avatarColors$1=["#f94144ff","#f3722cff","#f8961eff","#f9844aff","#f9c74fff","#90be6dff","#43aa8bff","#4d908eff","#577590ff","#277da1ff"];let prevIndex$1=0;const initialState$1$1={organizations:[],offset:0,hasMore:!0,status:"idle"},instanceAdminCenterOrgsSlice=createSlice({name:SLICE_NAME$1+"/"+namespace$1$1,initialState:initialState$1$1,reducers:{fetchAllOrganizationsStart(e,t){e.status="loading",t.payload.offsetReset&&(e.offset=0)},fetchAllOrganizationsSuccess(e,t){var{hasMore:t,records:r,nextOffset:n}=t.payload,o=(e.status="success",[]);for(const a of r){var $=md5((a.id||"")+(a.name||"")+a.createdDateTime);let e=parseInt($,16)%avatarColors$1.length;e===prevIndex$1&&(e+1>avatarColors$1.length-1?--e:e+=1),prevIndex$1=e,o.push(Object.assign(Object.assign({},a),{avatarColor:avatarColors$1[e]}))}e.organizations=[...e.organizations,...o],e.hasMore=t,e.offset=n},fetchAllOrganizationsFailure(e){e.status="failure"}}}),actions$1$1=instanceAdminCenterOrgsSlice.actions;var instanceAdminCenterOrgs_state=instanceAdminCenterOrgsSlice.reducer;const selectOrganizations=e=>{var{organizations:e,hasMore:t,offset:r}=null==(e=null==e?void 0:e[SLICE_NAME$1])?void 0:e[namespace$1$1];return{organizations:e,hasMore:t,offset:r}},selectStatus$1=e=>{return null==(e=null==e?void 0:e[SLICE_NAME$1])?void 0:e[namespace$1$1].status},useStyles$2$2=makeStyles()(()=>({active:{background:"rgba(27, 94, 32, 0.2)",color:"rgba(56, 142, 60, 1)",fontSize:"9px",borderRadius:"30px",height:"20px",width:"fit-content",padding:"0px 10px",fontWeight:800},deleted:{background:"rgba(33, 33, 33, 0.1)",color:"rgba(33, 33, 33, 1)",fontSize:"9px",borderRadius:"30px",height:"20px",width:"fit-content",padding:"0px 10px",fontWeight:800}})),OrgStatusBadge=({status:e})=>{var t=useStyles$2$2()["classes"];return jsxRuntime.exports.jsx(Box,Object.assign({className:t[e],"data-testid":"instance-admin-center.orgs-status-badge"},{children:null==e?void 0:e.toUpperCase()}))},useStyles$1$2=makeStyles()(e=>({orgAvatar:{border:"2px solid #FFFFFF",height:"40px",width:"40px",marginRight:"14px",fontSize:"14px",color:"white",fontWeight:400,lineHeight:"20px"},truncate:{paddingRight:"20px","& p":{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"}},row:{padding:"13px"}})),OrgsTableRow=({org:e,index:t})=>{var r,n=useStyles$1$2()["classes"],{avatarColor:e,id:o,name:$,createdDateTime:a,imageUrl:i,status:s}=e;return jsxRuntime.exports.jsxs("div",Object.assign({"data-testid":"instance-admin-center-orgs-row-"+o},{children:[jsxRuntime.exports.jsxs(Grid,Object.assign({direction:"row",justifyContent:"space-between",alignItems:"center",container:!0,"data-testid":"instance-admin-center-orgs-row",className:n.row},{children:[jsxRuntime.exports.jsxs(Grid,Object.assign({sx:{display:"flex"},xs:4,item:!0,className:n.truncate,"data-testid":"instance-admin-center-orgs.avatar-name-col"},{children:[i?jsxRuntime.exports.jsx(Avatar,{alt:""+(null==(r=null==$?void 0:$.charAt(0))?void 0:r.toUpperCase())+String(t+1)[0],src:i,className:n.orgAvatar}):jsxRuntime.exports.jsx(Avatar,Object.assign({className:n.orgAvatar,sx:{background:""+e}},{children:$?""+(null==(r=null==$?void 0:$.charAt(0))?void 0:r.toUpperCase())+String(t)[0]:"--"})),jsxRuntime.exports.jsx(Typography,Object.assign({variant:"body2",sx:{fontWeight:400,translate:"0px 3px",whiteSpace:"nowrap",lineHeight:"40px"},"data-testid":"instance-admin-center-all-orgs.org-name"},{children:index.truncatedString($||"",15)}))]})),jsxRuntime.exports.jsx(Grid,Object.assign({xs:3,item:!0},{children:jsxRuntime.exports.jsx(Typography,Object.assign({variant:"body2",sx:{fontWeight:400,translate:"0px 3px",whiteSpace:"nowrap"},"data-testid":"instance-admin-center-org.id"},{children:o}))})),jsxRuntime.exports.jsx(Grid,Object.assign({xs:3,item:!0},{children:a&&jsxRuntime.exports.jsxs(jsxRuntime.exports.Fragment,{children:[jsxRuntime.exports.jsx(Typography,Object.assign({variant:"body2",sx:{mb:"-6px",fontWeight:400},"data-testid":"instance-admin-center-org.created-date-time"},{children:new Date(a).toLocaleDateString()})),jsxRuntime.exports.jsx(Typography,Object.assign({variant:"caption"},{children:index.formatTime(new Date(a))}))]})})),jsxRuntime.exports.jsx(Grid,Object.assign({xs:1,item:!0,"data-testid":"instance-admin-center-org.status-col"},{children:jsxRuntime.exports.jsx(OrgStatusBadge,{status:s})})),jsxRuntime.exports.jsx(Grid,Object.assign({xs:1,sx:{textAlign:"end"},item:!0,"data-testid":"instance-admin-center-org.menu-col"},{children:jsxRuntime.exports.jsx(IconButton,Object.assign({"data-testid":"instance-admin-center-orgs-row-menu-button-"+o,size:"small"},{children:jsxRuntime.exports.jsx(MoreVert,{fontSize:"small"})}))}))]})),jsxRuntime.exports.jsx(Divider,{})]}))},OrgsTableHeader=()=>jsxRuntime.exports.jsxs(jsxRuntime.exports.Fragment,{children:[jsxRuntime.exports.jsxs(Grid,Object.assign({direction:"row",justifyContent:"space-between",alignItems:"center",container:!0,"data-testid":"instance-admin-center-orgs-table-header",sx:{pl:"13px",pr:"13px",height:"35px"}},{children:[jsxRuntime.exports.jsx(Grid,Object.assign({xs:4,item:!0},{children:jsxRuntime.exports.jsx(Typography,Object.assign({variant:"caption",sx:{fontWeight:400}},{children:jsxRuntime.exports.jsx(FormattedMessage,{id:"instance-admin-center-orgs-table.header.name-col",defaultMessage:"Name",description:"Name column header"})}))})),jsxRuntime.exports.jsx(Grid,Object.assign({xs:3,item:!0},{children:jsxRuntime.exports.jsx(Typography,Object.assign({variant:"caption",sx:{fontWeight:400}},{children:jsxRuntime.exports.jsx(FormattedMessage,{id:"instance-admin-center-orgs-table.header.email-col",defaultMessage:"Org ID",description:"Organization ID column header"})}))})),jsxRuntime.exports.jsx(Grid,Object.assign({xs:3,item:!0},{children:jsxRuntime.exports.jsx(Typography,Object.assign({variant:"caption",sx:{fontWeight:400}},{children:jsxRuntime.exports.jsx(FormattedMessage,{id:"instance-admin-center-orgs-table.header.created-col",defaultMessage:"Created",description:"Created column header"})}))})),jsxRuntime.exports.jsx(Grid,Object.assign({xs:1,item:!0},{children:jsxRuntime.exports.jsx(Typography,Object.assign({variant:"caption",sx:{fontWeight:400}},{children:jsxRuntime.exports.jsx(FormattedMessage,{id:"instance-admin-center-orgs-table.header.status-col",defaultMessage:"Status",description:"Status column header"})}))})),jsxRuntime.exports.jsx(Grid,{xs:1,item:!0})]})),jsxRuntime.exports.jsx(Divider,{})]}),{TableInfiniteScroll}=tableInfiniteScroll["jsx"],OrgsTable=()=>{var{organizations:e,hasMore:t,offset:r}=useSelector(selectOrganizations);var n=useSelector(selectStatus$1);const o=useDispatch();return jsxRuntime.exports.jsx(TableInfiniteScroll,{hasMore:t||!1,fetchMore:()=>{o(actions$1$1.fetchAllOrganizationsStart({offsetReset:!1}))},fetchOnMount:0===(null==e?void 0:e.length),offset:r||0,items:e,itemHeight:60,isLoading:"pending"===n,error:"failure"===n,TableRowComponent:({item:e,index:t})=>jsxRuntime.exports.jsx(Box,Object.assign({sx:{width:"100%",height:"60px"}},{children:jsxRuntime.exports.jsx(OrgsTableRow,{org:e,index:t})})),TableHeaderComponent:jsxRuntime.exports.jsx(OrgsTableHeader,{}),adjustTableHeight:-35})},useStyles$5=makeStyles()(e=>({root:{display:"flex",flexDirection:"column"},header:{display:"flex",justifyContent:"space-between",padding:e.spacing(4),borderBottom:"0.5px solid "+e.palette.divider,"& h5":{lineHeight:"40px",marginLeft:"10px"}},orgHeader:{display:"flex",flexDirection:"column",justifyContent:"space-between",verticalAlign:"center","& h5":{lineHeight:"28px"}},titleStyle:{fontWeight:"400"},tableWrapper:{height:"calc(100vh - 55px - 64px - 69px - 22px)",overflow:"hidden"},createBtn:{fontSize:"12px",lineHeight:"16px","& svg":{height:"15px",width:"15px",marginRight:"7px"}}})),AllOrgsPanel=({isPanelFullScreen:e})=>{var t=useStyles$5()["classes"],t=jsxRuntime.exports.jsxs(Box,Object.assign({"data-testid":"os-instance-admin-center-orgs.nav"},{children:[jsxRuntime.exports.jsx("section",Object.assign({className:t.root},{children:jsxRuntime.exports.jsxs("header",Object.assign({className:t.header},{children:[jsxRuntime.exports.jsxs(Box,Object.assign({className:t.orgHeader,"data-testid":"os-instance-admin-center-orgs.header"},{children:[jsxRuntime.exports.jsx(Typography,Object.assign({variant:"h3",className:t.titleStyle,id:"os-instance-admin-center-orgs.header-title"},{children:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-instance-admin-center-orgs.table.header",defaultMessage:"All Organizations",description:"Organizations Header"})})),jsxRuntime.exports.jsx(Typography,Object.assign({variant:"caption",className:t.titleStyle,id:"os-instance-admin-center-orgs.sub-header-title"},{children:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-instance-admin-center-orgs.table.sub-header",defaultMessage:"View all Organizations available inside of this Instance",description:"Organizations sub Header"})}))]})),jsxRuntime.exports.jsx(Box,{children:jsxRuntime.exports.jsxs(Button,Object.assign({color:"primary",variant:"contained",className:t.createBtn,sx:{}},{children:[jsxRuntime.exports.jsx(Add,{}),jsxRuntime.exports.jsx(FormattedMessage,{id:"os-instance-admin-center-orgs.create-new-organization.button",defaultMessage:"Create New",description:"Create New Organization"})]}))})]}))})),jsxRuntime.exports.jsx("div",Object.assign({className:t.tableWrapper},{children:jsxRuntime.exports.jsx(OrgsTable,{})}))]}));return e?jsxRuntime.exports.jsx(AIWareThemeProvider,{children:t}):t},rootReducer$1=combineReducers({[namespace$1$1]:instanceAdminCenterOrgs_state});function __awaiter$1(e,a,i,s){return new(i=i||Promise)(function(r,t){function n(e){try{$(s.next(e))}catch(e){t(e)}}function o(e){try{$(s.throw(e))}catch(e){t(e)}}function $(e){var t;e.done?r(e.value):((t=e.value)instanceof i?t:new i(function(e){e(t)})).then(n,o)}$((s=s.apply(e,a||[])).next())})}function fetchAllOrganizations(r,n,o){return __awaiter$1(this,void 0,void 0,function*(){var e="fetchAllOrganizations",t="organizations";return(yield baseGraphQLApiWithError(Object.assign({query:`
|
|
2
|
-
query ${e}{
|
|
3
|
-
${t} (
|
|
4
|
-
offset: ${n},
|
|
5
|
-
limit: ${o}
|
|
6
|
-
) {
|
|
7
|
-
records {
|
|
8
|
-
id
|
|
9
|
-
name
|
|
10
|
-
imageUrl
|
|
11
|
-
status
|
|
12
|
-
createdDateTime
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
`,operationName:e},r)))[t]})}function*fetchAllOrganizationsSaga(){try{var e,t=yield select(selectApiConfigs),{offset:r,hasMore:n}=yield select(selectOrganizations);n?(e=(yield fetchAllOrganizations(t,r,PAGE_LIMIT$1))["records"],yield put(actions$1$1.fetchAllOrganizationsSuccess({records:e,hasMore:PAGE_LIMIT$1===e.length,nextOffset:r+PAGE_LIMIT$1}))):yield put(actions$1$1.fetchAllOrganizationsSuccess({records:[],hasMore:n,nextOffset:r}))}catch(e){yield put(actions$1$1.fetchAllOrganizationsFailure()),console.log(e)}}function*fetchAllOrganizationsWatcher(){yield takeEvery$1(actions$1$1.fetchAllOrganizationsStart.type,fetchAllOrganizationsSaga)}function*rootSaga$1(){yield all([fetchAllOrganizationsWatcher()])}function getInstanceAdminCenterOrgsModule(){return{id:SLICE_NAME$1,reducerMap:{[SLICE_NAME$1]:rootReducer$1},sagas:[rootSaga$1],initialActions:[]}}var match$1,version$1,store$4,wmget$1,wmhas$1,wmset$1,set$1,get$1,has$1,STATE$1,commonjsGlobal$1="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},check$1=function(e){return e&&e.Math==Math&&e},global$c=check$1("object"==typeof globalThis&&globalThis)||check$1("object"==typeof window&&window)||check$1("object"==typeof self&&self)||check$1("object"==typeof commonjsGlobal$1&&commonjsGlobal$1)||function(){return this}()||Function("return this")(),objectGetOwnPropertyDescriptor$1={},fails$c=function(e){try{return!!e()}catch(e){return!0}},fails$b$1=fails$c,descriptors$1=!fails$c(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}),fails$a$1=fails$c,functionBindNative$1=!fails$c(function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}),NATIVE_BIND$1$1=functionBindNative$1,call$6$1=Function.prototype.call,functionCall$1=NATIVE_BIND$1$1?call$6$1.bind(call$6$1):function(){return call$6$1.apply(call$6$1,arguments)},objectPropertyIsEnumerable$1={},$propertyIsEnumerable$1={}.propertyIsEnumerable,getOwnPropertyDescriptor$1$1=Object.getOwnPropertyDescriptor,NASHORN_BUG$1=getOwnPropertyDescriptor$1$1&&!$propertyIsEnumerable$1.call({1:2},1),createPropertyDescriptor$3$1=(objectPropertyIsEnumerable$1.f=NASHORN_BUG$1?function(e){e=getOwnPropertyDescriptor$1$1(this,e);return!!e&&e.enumerable}:$propertyIsEnumerable$1,function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}),NATIVE_BIND$2=functionBindNative$1,FunctionPrototype$1$1=Function.prototype,bind$1=FunctionPrototype$1$1.bind,call$5$1=FunctionPrototype$1$1.call,uncurryThis$d=NATIVE_BIND$2&&bind$1.bind(call$5$1,call$5$1),functionUncurryThis$1=NATIVE_BIND$2?function(e){return e&&uncurryThis$d(e)}:function(e){return e&&function(){return call$5$1.apply(e,arguments)}},uncurryThis$c=functionUncurryThis$1,toString$4=uncurryThis$c({}.toString),stringSlice$1=uncurryThis$c("".slice),classofRaw$1=function(e){return stringSlice$1(toString$4(e),8,-1)},uncurryThis$b$1=functionUncurryThis$1,fails$9$1=fails$c,classof$2=classofRaw$1,$Object$4=Object,split$1=functionUncurryThis$1("".split),indexedObject$1=fails$9$1(function(){return!$Object$4("z").propertyIsEnumerable(0)})?function(e){return"String"==classof$2(e)?split$1(e,""):$Object$4(e)}:$Object$4,$TypeError$6$1=TypeError,requireObjectCoercible$3=function(e){if(null==e)throw $TypeError$6$1("Can't call method on "+e);return e},IndexedObject$1$1=indexedObject$1,requireObjectCoercible$2$1=requireObjectCoercible$3,toIndexedObject$5$1=function(e){return IndexedObject$1$1(requireObjectCoercible$2$1(e))},isCallable$f=function(e){return"function"==typeof e},isCallable$e$1=isCallable$f,isObject$5$1=function(e){return"object"==typeof e?null!==e:isCallable$e$1(e)},global$b$1=global$c,isCallable$d$1=isCallable$f,aFunction$1=function(e){return isCallable$d$1(e)?e:void 0},getBuiltIn$4$1=function(e,t){return arguments.length<2?aFunction$1(global$b$1[e]):global$b$1[e]&&global$b$1[e][t]},uncurryThis$a$1=functionUncurryThis$1,objectIsPrototypeOf$1=functionUncurryThis$1({}.isPrototypeOf),getBuiltIn$3$1=getBuiltIn$4$1,engineUserAgent$1=getBuiltIn$4$1("navigator","userAgent")||"",global$a$1=global$c,userAgent$1=engineUserAgent$1,process$1=global$a$1.process,Deno$1=global$a$1.Deno,versions$1=process$1&&process$1.versions||Deno$1&&Deno$1.version,v8$1=versions$1&&versions$1.v8,engineV8Version$1=version$1=!(version$1=v8$1?0<(match$1=v8$1.split("."))[0]&&match$1[0]<4?1:+(match$1[0]+match$1[1]):version$1)&&userAgent$1&&(!(match$1=userAgent$1.match(/Edge\/(\d+)/))||74<=match$1[1])&&(match$1=userAgent$1.match(/Chrome\/(\d+)/))?+match$1[1]:version$1,V8_VERSION$1=version$1,fails$8$1=fails$c,nativeSymbol$1=!!Object.getOwnPropertySymbols&&!fails$8$1(function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&V8_VERSION$1&&V8_VERSION$1<41}),NATIVE_SYMBOL$1$1=nativeSymbol$1,useSymbolAsUid$1=nativeSymbol$1&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,getBuiltIn$2$1=getBuiltIn$4$1,isCallable$c$1=isCallable$f,isPrototypeOf$1=objectIsPrototypeOf$1,USE_SYMBOL_AS_UID$1$1=useSymbolAsUid$1,$Object$3$1=Object,isSymbol$2$1=useSymbolAsUid$1?function(e){return"symbol"==typeof e}:function(e){var t=getBuiltIn$2$1("Symbol");return isCallable$c$1(t)&&isPrototypeOf$1(t.prototype,$Object$3$1(e))},$String$3=String,tryToString$1$1=function(e){try{return $String$3(e)}catch(e){return"Object"}},isCallable$b$1=isCallable$f,tryToString$2=tryToString$1$1,$TypeError$5$1=TypeError,aCallable$1$1=function(e){if(isCallable$b$1(e))return e;throw $TypeError$5$1(tryToString$2(e)+" is not a function")},aCallable$2=aCallable$1$1,getMethod$1$1=function(e,t){e=e[t];return null==e?void 0:aCallable$2(e)},call$4$1=functionCall$1,isCallable$a$1=isCallable$f,isObject$4$1=isObject$5$1,$TypeError$4$1=TypeError,ordinaryToPrimitive$1$1=function(e,t){var r,n;if("string"===t&&isCallable$a$1(r=e.toString)&&!isObject$4$1(n=call$4$1(r,e)))return n;if(isCallable$a$1(r=e.valueOf)&&!isObject$4$1(n=call$4$1(r,e)))return n;if("string"!==t&&isCallable$a$1(r=e.toString)&&!isObject$4$1(n=call$4$1(r,e)))return n;throw $TypeError$4$1("Can't convert object to primitive value")},shared$3$1={exports:{}},global$9$1=global$c,defineProperty$5$1=Object.defineProperty,defineGlobalProperty$3$1=function(t,r){try{defineProperty$5$1(global$9$1,t,{value:r,configurable:!0,writable:!0})}catch(e){global$9$1[t]=r}return r},global$8$1=global$c,defineGlobalProperty$2$1=defineGlobalProperty$3$1,SHARED$1="__core-js_shared__",store$3$1=global$c[SHARED$1]||defineGlobalProperty$2$1(SHARED$1,{}),sharedStore$1=store$3$1,store$2$1=sharedStore$1,requireObjectCoercible$1$1=((shared$3$1.exports=function(e,t){return store$2$1[e]||(store$2$1[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$3),$Object$2$1=Object,toObject$3$1=function(e){return $Object$2$1(requireObjectCoercible$1$1(e))},uncurryThis$9$1=functionUncurryThis$1,toObject$2$1=toObject$3$1,hasOwnProperty$1=functionUncurryThis$1({}.hasOwnProperty),hasOwnProperty_1$1=Object.hasOwn||function(e,t){return hasOwnProperty$1(toObject$2$1(e),t)},uncurryThis$8$1=functionUncurryThis$1,id$1=0,postfix$1=Math.random(),toString$3=uncurryThis$8$1(1..toString),uid$2$1=function(e){return"Symbol("+(void 0===e?"":e)+")_"+toString$3(++id$1+postfix$1,36)},global$7$1=global$c,shared$2$1=shared$3$1.exports,hasOwn$8$1=hasOwnProperty_1$1,uid$1$1=uid$2$1,NATIVE_SYMBOL$2=nativeSymbol$1,USE_SYMBOL_AS_UID$2=useSymbolAsUid$1,WellKnownSymbolsStore$1=shared$2$1("wks"),Symbol$2=global$7$1.Symbol,symbolFor$1=Symbol$2&&Symbol$2.for,createWellKnownSymbol$1=USE_SYMBOL_AS_UID$2?Symbol$2:Symbol$2&&Symbol$2.withoutSetter||uid$1$1,wellKnownSymbol$8=function(e){var t;return hasOwn$8$1(WellKnownSymbolsStore$1,e)&&(NATIVE_SYMBOL$2||"string"==typeof WellKnownSymbolsStore$1[e])||(t="Symbol."+e,NATIVE_SYMBOL$2&&hasOwn$8$1(Symbol$2,e)?WellKnownSymbolsStore$1[e]=Symbol$2[e]:WellKnownSymbolsStore$1[e]=(USE_SYMBOL_AS_UID$2&&symbolFor$1?symbolFor$1:createWellKnownSymbol$1)(t)),WellKnownSymbolsStore$1[e]},call$3$1=functionCall$1,isObject$3$1=isObject$5$1,isSymbol$1$1=isSymbol$2$1,getMethod$2=getMethod$1$1,ordinaryToPrimitive$2=ordinaryToPrimitive$1$1,wellKnownSymbol$7=wellKnownSymbol$8,$TypeError$3$1=TypeError,TO_PRIMITIVE$1=wellKnownSymbol$8("toPrimitive"),toPrimitive$1$1=function(e,t){if(!isObject$3$1(e)||isSymbol$1$1(e))return e;var r=getMethod$2(e,TO_PRIMITIVE$1);if(r){if(r=call$3$1(r,e,t=void 0===t?"default":t),!isObject$3$1(r)||isSymbol$1$1(r))return r;throw $TypeError$3$1("Can't convert object to primitive value")}return ordinaryToPrimitive$2(e,t=void 0===t?"number":t)},toPrimitive$2=toPrimitive$1$1,isSymbol$3=isSymbol$2$1,toPropertyKey$2$1=function(e){e=toPrimitive$2(e,"string");return isSymbol$3(e)?e:e+""},global$6$1=global$c,isObject$2$1=isObject$5$1,document$1$1=global$c.document,EXISTS$1$1=isObject$2$1(document$1$1)&&isObject$2$1(document$1$1.createElement),documentCreateElement$2$1=function(e){return EXISTS$1$1?document$1$1.createElement(e):{}},DESCRIPTORS$9$1=descriptors$1,fails$7$1=fails$c,createElement$1=documentCreateElement$2$1,ie8DomDefine$1=!descriptors$1&&!fails$c(function(){return 7!=Object.defineProperty(createElement$1("div"),"a",{get:function(){return 7}}).a}),DESCRIPTORS$8$1=descriptors$1,call$2$1=functionCall$1,propertyIsEnumerableModule$1$1=objectPropertyIsEnumerable$1,createPropertyDescriptor$2$1=createPropertyDescriptor$3$1,toIndexedObject$4$1=toIndexedObject$5$1,toPropertyKey$1$1=toPropertyKey$2$1,hasOwn$7$1=hasOwnProperty_1$1,IE8_DOM_DEFINE$1$1=ie8DomDefine$1,$getOwnPropertyDescriptor$1$1=Object.getOwnPropertyDescriptor,objectDefineProperty$1=(objectGetOwnPropertyDescriptor$1.f=DESCRIPTORS$8$1?$getOwnPropertyDescriptor$1$1:function(e,t){if(e=toIndexedObject$4$1(e),t=toPropertyKey$1$1(t),IE8_DOM_DEFINE$1$1)try{return $getOwnPropertyDescriptor$1$1(e,t)}catch(e){}if(hasOwn$7$1(e,t))return createPropertyDescriptor$2$1(!call$2$1(propertyIsEnumerableModule$1$1.f,e,t),e[t])},{}),DESCRIPTORS$7$1=descriptors$1,fails$6$1=fails$c,v8PrototypeDefineBug$1=descriptors$1&&fails$c(function(){return 42!=Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype}),isObject$1$1=isObject$5$1,$String$2$1=String,$TypeError$2$1=TypeError,anObject$5$1=function(e){if(isObject$1$1(e))return e;throw $TypeError$2$1($String$2$1(e)+" is not an object")},DESCRIPTORS$6$1=descriptors$1,IE8_DOM_DEFINE$2=ie8DomDefine$1,V8_PROTOTYPE_DEFINE_BUG$1$1=v8PrototypeDefineBug$1,anObject$4$1=anObject$5$1,toPropertyKey$3=toPropertyKey$2$1,$TypeError$1$1=TypeError,$defineProperty$1=Object.defineProperty,$getOwnPropertyDescriptor$2=Object.getOwnPropertyDescriptor,ENUMERABLE$1="enumerable",CONFIGURABLE$1$1="configurable",WRITABLE$1="writable",DESCRIPTORS$5$1=(objectDefineProperty$1.f=DESCRIPTORS$6$1?V8_PROTOTYPE_DEFINE_BUG$1$1?function(e,t,r){var n;return anObject$4$1(e),t=toPropertyKey$3(t),anObject$4$1(r),"function"==typeof e&&"prototype"===t&&"value"in r&&WRITABLE$1 in r&&!r[WRITABLE$1]&&(n=$getOwnPropertyDescriptor$2(e,t))&&n[WRITABLE$1]&&(e[t]=r.value,r={configurable:(CONFIGURABLE$1$1 in r?r:n)[CONFIGURABLE$1$1],enumerable:(ENUMERABLE$1 in r?r:n)[ENUMERABLE$1],writable:!1}),$defineProperty$1(e,t,r)}:$defineProperty$1:function(e,t,r){if(anObject$4$1(e),t=toPropertyKey$3(t),anObject$4$1(r),IE8_DOM_DEFINE$2)try{return $defineProperty$1(e,t,r)}catch(e){}if("get"in r||"set"in r)throw $TypeError$1$1("Accessors not supported");return"value"in r&&(e[t]=r.value),e},descriptors$1),definePropertyModule$3$1=objectDefineProperty$1,createPropertyDescriptor$1$1=createPropertyDescriptor$3$1,createNonEnumerableProperty$4$1=DESCRIPTORS$5$1?function(e,t,r){return definePropertyModule$3$1.f(e,t,createPropertyDescriptor$1$1(1,r))}:function(e,t,r){return e[t]=r,e},makeBuiltIn$2$1={exports:{}},DESCRIPTORS$4$1=descriptors$1,hasOwn$6$1=hasOwnProperty_1$1,FunctionPrototype$2=Function.prototype,getDescriptor$1=DESCRIPTORS$4$1&&Object.getOwnPropertyDescriptor,EXISTS$2=hasOwn$6$1(FunctionPrototype$2,"name"),PROPER$1=EXISTS$2&&"something"===function(){}.name,CONFIGURABLE$2=EXISTS$2&&(!DESCRIPTORS$4$1||getDescriptor$1(FunctionPrototype$2,"name").configurable),functionName$1={EXISTS:EXISTS$2,PROPER:PROPER$1,CONFIGURABLE:CONFIGURABLE$2},uncurryThis$7$1=functionUncurryThis$1,isCallable$9$1=isCallable$f,store$1$1=sharedStore$1,functionToString$1=functionUncurryThis$1(Function.toString),inspectSource$2$1=(isCallable$9$1(store$1$1.inspectSource)||(store$1$1.inspectSource=function(e){return functionToString$1(e)}),store$1$1.inspectSource),global$5$1=global$c,isCallable$8$1=isCallable$f,inspectSource$1$1=inspectSource$2$1,WeakMap$1$1=global$c.WeakMap,nativeWeakMap$1=isCallable$8$1(WeakMap$1$1)&&/native code/.test(inspectSource$1$1(WeakMap$1$1)),shared$1$1=shared$3$1.exports,uid$3=uid$2$1,keys$1=shared$1$1("keys"),sharedKey$3$1=function(e){return keys$1[e]||(keys$1[e]=uid$3(e))},hiddenKeys$4$1={},NATIVE_WEAK_MAP$1=nativeWeakMap$1,global$4$1=global$c,uncurryThis$6$1=functionUncurryThis$1,isObject$6=isObject$5$1,createNonEnumerableProperty$3$1=createNonEnumerableProperty$4$1,hasOwn$5$1=hasOwnProperty_1$1,shared$4=sharedStore$1,sharedKey$2$1=sharedKey$3$1,hiddenKeys$3$1=hiddenKeys$4$1,OBJECT_ALREADY_INITIALIZED$1="Object already initialized",TypeError$1$1=global$4$1.TypeError,WeakMap$2=global$4$1.WeakMap,enforce$1=function(e){return has$1(e)?get$1(e):set$1(e,{})},getterFor$1=function(t){return function(e){if(isObject$6(e)&&(e=get$1(e)).type===t)return e;throw TypeError$1$1("Incompatible receiver, "+t+" required")}},internalState$1=(has$1=NATIVE_WEAK_MAP$1||shared$4.state?(store$4=shared$4.state||(shared$4.state=new WeakMap$2),wmget$1=uncurryThis$6$1(store$4.get),wmhas$1=uncurryThis$6$1(store$4.has),wmset$1=uncurryThis$6$1(store$4.set),set$1=function(e,t){if(wmhas$1(store$4,e))throw new TypeError$1$1(OBJECT_ALREADY_INITIALIZED$1);return t.facade=e,wmset$1(store$4,e,t),t},get$1=function(e){return wmget$1(store$4,e)||{}},function(e){return wmhas$1(store$4,e)}):(STATE$1=sharedKey$2$1("state"),hiddenKeys$3$1[STATE$1]=!0,set$1=function(e,t){if(hasOwn$5$1(e,STATE$1))throw new TypeError$1$1(OBJECT_ALREADY_INITIALIZED$1);return t.facade=e,createNonEnumerableProperty$3$1(e,STATE$1,t),t},get$1=function(e){return hasOwn$5$1(e,STATE$1)?e[STATE$1]:{}},function(e){return hasOwn$5$1(e,STATE$1)}),{set:set$1,get:get$1,has:has$1,enforce:enforce$1,getterFor:getterFor$1}),fails$5$1=fails$c,isCallable$7$1=isCallable$f,hasOwn$4$1=hasOwnProperty_1$1,DESCRIPTORS$3$1=descriptors$1,CONFIGURABLE_FUNCTION_NAME$1$1=functionName$1.CONFIGURABLE,inspectSource$3=inspectSource$2$1,InternalStateModule$1$1=internalState$1,enforceInternalState$1=InternalStateModule$1$1.enforce,getInternalState$1$1=InternalStateModule$1$1.get,defineProperty$4$1=Object.defineProperty,CONFIGURABLE_LENGTH$1=DESCRIPTORS$3$1&&!fails$5$1(function(){return 8!==defineProperty$4$1(function(){},"length",{value:8}).length}),TEMPLATE$1=String(String).split("String"),makeBuiltIn$1$1=makeBuiltIn$2$1.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$4$1(e,"name")||CONFIGURABLE_FUNCTION_NAME$1$1&&e.name!==t)&&(DESCRIPTORS$3$1?defineProperty$4$1(e,"name",{value:t,configurable:!0}):e.name=t),CONFIGURABLE_LENGTH$1&&r&&hasOwn$4$1(r,"arity")&&e.length!==r.arity&&defineProperty$4$1(e,"length",{value:r.arity});try{r&&hasOwn$4$1(r,"constructor")&&r.constructor?DESCRIPTORS$3$1&&defineProperty$4$1(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}r=enforceInternalState$1(e);return hasOwn$4$1(r,"source")||(r.source=TEMPLATE$1.join("string"==typeof t?t:"")),e},isCallable$6$1=(Function.prototype.toString=makeBuiltIn$1$1(function(){return isCallable$7$1(this)&&getInternalState$1$1(this).source||inspectSource$3(this)},"toString"),isCallable$f),definePropertyModule$2$1=objectDefineProperty$1,makeBuiltIn$3=makeBuiltIn$2$1.exports,defineGlobalProperty$1$1=defineGlobalProperty$3$1,defineBuiltIn$3$1=function(e,t,r,n){var o=(n=n||{}).enumerable,$=void 0!==n.name?n.name:t;if(isCallable$6$1(r)&&makeBuiltIn$3(r,$,n),n.global)o?e[t]=r:defineGlobalProperty$1$1(t,r);else{try{n.unsafe?e[t]&&(o=!0):delete e[t]}catch(e){}o?e[t]=r:definePropertyModule$2$1.f(e,t,{value:r,enumerable:!1,configurable:!n.nonConfigurable,writable:!n.nonWritable})}return e},objectGetOwnPropertyNames$1={},ceil$1=Math.ceil,floor$1=Math.floor,mathTrunc$1=Math.trunc||function(e){e=+e;return(0<e?floor$1:ceil$1)(e)},trunc$1=mathTrunc$1,toIntegerOrInfinity$2$1=function(e){e=+e;return e!=e||0==e?0:trunc$1(e)},toIntegerOrInfinity$1$1=toIntegerOrInfinity$2$1,max$1=Math.max,min$1$1=Math.min,toAbsoluteIndex$1$1=function(e,t){e=toIntegerOrInfinity$1$1(e);return e<0?max$1(e+t,0):min$1$1(e,t)},toIntegerOrInfinity$3=toIntegerOrInfinity$2$1,min$2=Math.min,toLength$1$1=function(e){return 0<e?min$2(toIntegerOrInfinity$3(e),9007199254740991):0},toLength$2=toLength$1$1,lengthOfArrayLike$1$1=function(e){return toLength$2(e.length)},toIndexedObject$3$1=toIndexedObject$5$1,toAbsoluteIndex$2=toAbsoluteIndex$1$1,lengthOfArrayLike$2=lengthOfArrayLike$1$1,createMethod$1=function(i){return function(e,t,r){var n,o=toIndexedObject$3$1(e),$=lengthOfArrayLike$2(o),a=toAbsoluteIndex$2(r,$);if(i&&t!=t){for(;a<$;)if((n=o[a++])!=n)return!0}else for(;a<$;a++)if((i||a in o)&&o[a]===t)return i||a||0;return!i&&-1}},arrayIncludes$1={includes:createMethod$1(!0),indexOf:createMethod$1(!1)},uncurryThis$5$1=functionUncurryThis$1,hasOwn$3$1=hasOwnProperty_1$1,toIndexedObject$2$1=toIndexedObject$5$1,indexOf$1=arrayIncludes$1.indexOf,hiddenKeys$2$1=hiddenKeys$4$1,push$1=uncurryThis$5$1([].push),objectKeysInternal$1=function(e,t){var r,n=toIndexedObject$2$1(e),o=0,$=[];for(r in n)!hasOwn$3$1(hiddenKeys$2$1,r)&&hasOwn$3$1(n,r)&&push$1($,r);for(;t.length>o;)!hasOwn$3$1(n,r=t[o++])||~indexOf$1($,r)||push$1($,r);return $},enumBugKeys$3$1=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],internalObjectKeys$1$1=objectKeysInternal$1,enumBugKeys$2$1=enumBugKeys$3$1,hiddenKeys$1$1=enumBugKeys$3$1.concat("length","prototype"),objectGetOwnPropertySymbols$1=(objectGetOwnPropertyNames$1.f=Object.getOwnPropertyNames||function(e){return internalObjectKeys$1$1(e,hiddenKeys$1$1)},{}),getBuiltIn$1$1=(objectGetOwnPropertySymbols$1.f=Object.getOwnPropertySymbols,getBuiltIn$4$1),uncurryThis$4$1=functionUncurryThis$1,getOwnPropertyNamesModule$1=objectGetOwnPropertyNames$1,getOwnPropertySymbolsModule$1$1=objectGetOwnPropertySymbols$1,anObject$3$1=anObject$5$1,concat$1$1=functionUncurryThis$1([].concat),ownKeys$1$1=getBuiltIn$1$1("Reflect","ownKeys")||function(e){var t=getOwnPropertyNamesModule$1.f(anObject$3$1(e)),r=getOwnPropertySymbolsModule$1$1.f;return r?concat$1$1(t,r(e)):t},hasOwn$2$1=hasOwnProperty_1$1,ownKeys$2=ownKeys$1$1,getOwnPropertyDescriptorModule$1=objectGetOwnPropertyDescriptor$1,definePropertyModule$1$1=objectDefineProperty$1,copyConstructorProperties$1$1=function(e,t,r){for(var n=ownKeys$2(t),o=definePropertyModule$1$1.f,$=getOwnPropertyDescriptorModule$1.f,a=0;a<n.length;a++){var i=n[a];hasOwn$2$1(e,i)||r&&hasOwn$2$1(r,i)||o(e,i,$(t,i))}},fails$4$1=fails$c,isCallable$5$1=isCallable$f,replacement$1=/#|\.prototype\./,isForced$1$1=function(e,t){e=data$1[normalize$1(e)];return e==POLYFILL$1||e!=NATIVE$1&&(isCallable$5$1(t)?fails$4$1(t):!!t)},normalize$1=isForced$1$1.normalize=function(e){return String(e).replace(replacement$1,".").toLowerCase()},data$1=isForced$1$1.data={},NATIVE$1=isForced$1$1.NATIVE="N",POLYFILL$1=isForced$1$1.POLYFILL="P",isForced_1$1=isForced$1$1,global$3$1=global$c,getOwnPropertyDescriptor$2=objectGetOwnPropertyDescriptor$1.f,createNonEnumerableProperty$2$1=createNonEnumerableProperty$4$1,defineBuiltIn$2$1=defineBuiltIn$3$1,defineGlobalProperty$4=defineGlobalProperty$3$1,copyConstructorProperties$2=copyConstructorProperties$1$1,isForced$2=isForced_1$1,_export$1=function(e,t){var r,n,o,$=e.target,a=e.global,i=e.stat,s=a?global$3$1:i?global$3$1[$]||defineGlobalProperty$4($,{}):(global$3$1[$]||{}).prototype;if(s)for(r in t){if(n=t[r],o=e.dontCallGetSet?(o=getOwnPropertyDescriptor$2(s,r))&&o.value:s[r],!isForced$2(a?r:$+(i?".":"#")+r,e.forced)&&void 0!==o){if(typeof n==typeof o)continue;copyConstructorProperties$2(n,o)}(e.sham||o&&o.sham)&&createNonEnumerableProperty$2$1(n,"sham",!0),defineBuiltIn$2$1(s,r,n,e)}},internalObjectKeys$2=objectKeysInternal$1,enumBugKeys$1$1=enumBugKeys$3$1,objectKeys$2$1=Object.keys||function(e){return internalObjectKeys$2(e,enumBugKeys$1$1)},DESCRIPTORS$2$1=descriptors$1,uncurryThis$3$1=functionUncurryThis$1,call$1$1=functionCall$1,fails$3$1=fails$c,objectKeys$1$1=objectKeys$2$1,getOwnPropertySymbolsModule$2=objectGetOwnPropertySymbols$1,propertyIsEnumerableModule$2=objectPropertyIsEnumerable$1,toObject$1$1=toObject$3$1,IndexedObject$2=indexedObject$1,$assign$1=Object.assign,defineProperty$3$1=Object.defineProperty,concat$2=uncurryThis$3$1([].concat),objectAssign$1=!$assign$1||fails$3$1(function(){var e,t,r,n;return!(!DESCRIPTORS$2$1||1===$assign$1({b:1},$assign$1(defineProperty$3$1({},"a",{enumerable:!0,get:function(){defineProperty$3$1(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)||(t={},n="abcdefghijklmnopqrst",(e={})[r=Symbol()]=7,n.split("").forEach(function(e){t[e]=e}),7!=$assign$1({},e)[r])||objectKeys$1$1($assign$1({},t)).join("")!=n})?function(e,t){for(var r=toObject$1$1(e),n=arguments.length,o=1,$=getOwnPropertySymbolsModule$2.f,a=propertyIsEnumerableModule$2.f;o<n;)for(var i,s=IndexedObject$2(arguments[o++]),l=$?concat$2(objectKeys$1$1(s),$(s)):objectKeys$1$1(s),c=l.length,u=0;u<c;)i=l[u++],DESCRIPTORS$2$1&&!call$1$1(a,s,i)||(r[i]=s[i]);return r}:$assign$1,$$2=_export$1,assign$1=objectAssign$1;_export$1({target:"Object",stat:!0,arity:2,forced:Object.assign!==assign$1},{assign:assign$1});const useStyles$3=makeStyles()(()=>({active:{background:"rgba(27, 94, 32, 0.2)",color:"rgba(56, 142, 60, 1)",fontSize:"9px",borderRadius:"30px",height:"20px",width:"fit-content",padding:"0px 10px",fontWeight:800},deactivated:{background:"rgba(183, 28, 28, 0.2)",color:"rgba(183, 28, 28, 1)",fontSize:"9px",borderRadius:"30px",height:"20px",width:"fit-content",padding:"0px 10px",fontWeight:800},suspended:{background:"rgba(249, 168, 37, 0.2)",color:"rgba(245, 124, 0, 1)",fontSize:"9px",borderRadius:"30px",height:"20px",width:"fit-content",padding:"0px 10px",fontWeight:800},deleted:{background:"rgba(33, 33, 33, 0.1)",color:"rgba(33, 33, 33, 1)",fontSize:"9px",borderRadius:"30px",height:"20px",width:"fit-content",padding:"0px 10px",fontWeight:800}})),UserStatusBadge=({status:e})=>{var t=useStyles$3()["classes"];return jsxRuntime.exports.jsx(Box,Object.assign({className:t[e],"data-testid":"instance-admin-center.users.user-status-badge"},{children:e.toUpperCase()}))},useStyles$2$1=makeStyles()((e,{})=>({userAvatar:{border:"2px solid #FFFFFF",height:"40px",width:"40px",marginRight:"14px",fontSize:"14px",color:"white"},truncate:{paddingRight:"20px","& p":{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"}},row:{padding:"13px"},userName:{alignSelf:"center"}})),UserRow=({user:{id:e,imageUrl:t,firstName:r,lastName:n,email:o,lastLoginDateTime:$,status:a,organization:i,avatarColor:s}})=>{var l=useStyles$2$1({status:a})["classes"];return jsxRuntime.exports.jsxs("div",Object.assign({"data-testid":"iac-user-row-"+e},{children:[jsxRuntime.exports.jsxs(Grid,Object.assign({direction:"row",justifyContent:"space-between",alignItems:"center",item:!0,container:!0,xs:12,"data-testid":"instance-admin-center-all-users-row",className:l.row},{children:[jsxRuntime.exports.jsxs(Grid,Object.assign({sx:{display:"flex"},xs:4,item:!0,className:l.truncate,"data-testid":"instance-admin-center-all-users.avatar-name-col"},{children:[t?jsxRuntime.exports.jsx(Avatar,{alt:r+" "+n,src:t,className:l.userAvatar}):jsxRuntime.exports.jsx(Avatar,Object.assign({className:l.userAvatar,sx:{background:s}},{children:(t=n||"",""+(null==(s=null==(s=r||"")?void 0:s.charAt(0))?void 0:s.toUpperCase())+(null==(s=null==t?void 0:t.charAt(0))?void 0:s.toUpperCase()))})),jsxRuntime.exports.jsxs(Box,{children:[jsxRuntime.exports.jsx(Typography,Object.assign({className:l.userName,variant:"body2",sx:{fontWeight:400,translate:"0px 3px",whiteSpace:"nowrap"},"data-testid":"instance-admin-center-all-users.user-name"},{children:index.truncatedString(r+" "+n||" ",22)})),jsxRuntime.exports.jsx(Typography,Object.assign({sx:{whiteSpace:"nowrap"},className:l.truncate,variant:"caption","data-testid":"instance-admin-center-all-users.user-email"},{children:index.truncatedString(o||"",27)}))]})]})),jsxRuntime.exports.jsx(Grid,Object.assign({xs:3,item:!0,className:l.truncate,"data-testid":"instance-admin-center-all-users.email-col"},{children:jsxRuntime.exports.jsx(Tooltip,Object.assign({title:(null==i?void 0:i.name)||"",arrow:!0},{children:jsxRuntime.exports.jsx(Typography,Object.assign({variant:"body2",sx:{fontWeight:400,color:"#0C53B0"},"data-testid":"instance-admin-center-all-users.user-organization.name"},{children:null==i?void 0:i.name}))}))})),jsxRuntime.exports.jsx(Grid,Object.assign({xs:3,item:!0,"data-testid":"instance-admin-center-all-users.last-login-col"},{children:$&&jsxRuntime.exports.jsxs(jsxRuntime.exports.Fragment,{children:[jsxRuntime.exports.jsx(Typography,Object.assign({variant:"body2",sx:{mb:"-6px",fontWeight:400},"data-testid":"instance-admin-center-all-users.user-last-login-date"},{children:new Date($).toLocaleDateString()})),jsxRuntime.exports.jsx(Typography,Object.assign({variant:"caption","data-testid":"instance-admin-center-all-users.user-last-login-time"},{children:index.formatTime(new Date($))}))]})})),jsxRuntime.exports.jsx(Grid,Object.assign({xs:1,item:!0,"data-testid":"instance-admin-center-all-users.status-col"},{children:jsxRuntime.exports.jsx(UserStatusBadge,{status:a})})),jsxRuntime.exports.jsx(Grid,Object.assign({xs:1,sx:{textAlign:"end"},item:!0,"data-testid":"instance-admin-center-all-users.menu-col"},{children:jsxRuntime.exports.jsx(IconButton,Object.assign({"data-testid":"user-row-menu-button-"+e,size:"small"},{children:jsxRuntime.exports.jsx(MoreVert,{fontSize:"small"})}))}))]})),jsxRuntime.exports.jsx(Divider,{})]}))},SLICE_NAME="instanceAdminCenterUsers",PAGE_LIMIT=30;var activeXDocument$1,IteratorPrototype$2$1,PrototypeOfArrayIteratorPrototype$1,arrayIterator$1,objectDefineProperties$1={},DESCRIPTORS$1$1=descriptors$1,V8_PROTOTYPE_DEFINE_BUG$2=v8PrototypeDefineBug$1,definePropertyModule$4=objectDefineProperty$1,anObject$2$1=anObject$5$1,toIndexedObject$1$1=toIndexedObject$5$1,objectKeys$3=objectKeys$2$1,getBuiltIn$5=(objectDefineProperties$1.f=DESCRIPTORS$1$1&&!V8_PROTOTYPE_DEFINE_BUG$2?Object.defineProperties:function(e,t){anObject$2$1(e);for(var r,n=toIndexedObject$1$1(t),o=objectKeys$3(t),$=o.length,a=0;a<$;)definePropertyModule$4.f(e,r=o[a++],n[r]);return e},getBuiltIn$4$1),html$1$1=getBuiltIn$4$1("document","documentElement"),anObject$1$1=anObject$5$1,definePropertiesModule$1=objectDefineProperties$1,enumBugKeys$4=enumBugKeys$3$1,hiddenKeys$5=hiddenKeys$4$1,html$2=html$1$1,documentCreateElement$1$1=documentCreateElement$2$1,sharedKey$1$1=sharedKey$3$1,GT$1=">",LT$1="<",PROTOTYPE$1="prototype",SCRIPT$1="script",IE_PROTO$1$1=sharedKey$3$1("IE_PROTO"),EmptyConstructor$1=function(){},scriptTag$1=function(e){return LT$1+SCRIPT$1+GT$1+e+LT$1+"/"+SCRIPT$1+GT$1},NullProtoObjectViaActiveX$1=function(e){e.write(scriptTag$1("")),e.close();var t=e.parentWindow.Object;return e=null,t},NullProtoObjectViaIFrame$1=function(){var e=documentCreateElement$1$1("iframe"),t="java"+SCRIPT$1+":";return e.style.display="none",html$2.appendChild(e),e.src=String(t),(t=e.contentWindow.document).open(),t.write(scriptTag$1("document.F=Object")),t.close(),t.F},NullProtoObject$1=function(){try{activeXDocument$1=new ActiveXObject("htmlfile")}catch(e){}NullProtoObject$1="undefined"==typeof document||document.domain&&activeXDocument$1?NullProtoObjectViaActiveX$1(activeXDocument$1):NullProtoObjectViaIFrame$1();for(var e=enumBugKeys$4.length;e--;)delete NullProtoObject$1[PROTOTYPE$1][enumBugKeys$4[e]];return NullProtoObject$1()},objectCreate$1=(hiddenKeys$5[IE_PROTO$1$1]=!0,Object.create||function(e,t){var r;return null!==e?(EmptyConstructor$1[PROTOTYPE$1]=anObject$1$1(e),r=new EmptyConstructor$1,EmptyConstructor$1[PROTOTYPE$1]=null,r[IE_PROTO$1$1]=e):r=NullProtoObject$1(),void 0===t?r:definePropertiesModule$1.f(r,t)}),wellKnownSymbol$6$1=wellKnownSymbol$8,create$1$1=objectCreate$1,defineProperty$2$1=objectDefineProperty$1.f,UNSCOPABLES$1=wellKnownSymbol$6$1("unscopables"),ArrayPrototype$1=Array.prototype,addToUnscopables$1$1=(null==ArrayPrototype$1[UNSCOPABLES$1]&&defineProperty$2$1(ArrayPrototype$1,UNSCOPABLES$1,{configurable:!0,value:create$1$1(null)}),function(e){ArrayPrototype$1[UNSCOPABLES$1][e]=!0}),iterators$1={},fails$2$1=fails$c,correctPrototypeGetter$1=!fails$c(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}),hasOwn$1$1=hasOwnProperty_1$1,isCallable$4$1=isCallable$f,toObject$4=toObject$3$1,sharedKey$4=sharedKey$3$1,CORRECT_PROTOTYPE_GETTER$1=correctPrototypeGetter$1,IE_PROTO$2=sharedKey$3$1("IE_PROTO"),$Object$1$1=Object,ObjectPrototype$1=$Object$1$1.prototype,objectGetPrototypeOf$1=CORRECT_PROTOTYPE_GETTER$1?$Object$1$1.getPrototypeOf:function(e){var t,e=toObject$4(e);return hasOwn$1$1(e,IE_PROTO$2)?e[IE_PROTO$2]:(t=e.constructor,isCallable$4$1(t)&&e instanceof t?t.prototype:e instanceof $Object$1$1?ObjectPrototype$1:null)},fails$1$1=fails$c,isCallable$3$1=isCallable$f,getPrototypeOf$1$1=objectGetPrototypeOf$1,defineBuiltIn$1$1=defineBuiltIn$3$1,wellKnownSymbol$5$1=wellKnownSymbol$8,ITERATOR$3=wellKnownSymbol$8("iterator"),BUGGY_SAFARI_ITERATORS$1$1=!1,NEW_ITERATOR_PROTOTYPE$1=([].keys&&("next"in(arrayIterator$1=[].keys())?(PrototypeOfArrayIteratorPrototype$1=getPrototypeOf$1$1(getPrototypeOf$1$1(arrayIterator$1)))!==Object.prototype&&(IteratorPrototype$2$1=PrototypeOfArrayIteratorPrototype$1):BUGGY_SAFARI_ITERATORS$1$1=!0),null==IteratorPrototype$2$1||fails$1$1(function(){var e={};return IteratorPrototype$2$1[ITERATOR$3].call(e)!==e})),iteratorsCore$1=(isCallable$3$1((IteratorPrototype$2$1=NEW_ITERATOR_PROTOTYPE$1?{}:IteratorPrototype$2$1)[ITERATOR$3])||defineBuiltIn$1$1(IteratorPrototype$2$1,ITERATOR$3,function(){return this}),{IteratorPrototype:IteratorPrototype$2$1,BUGGY_SAFARI_ITERATORS:BUGGY_SAFARI_ITERATORS$1$1}),defineProperty$1$1=objectDefineProperty$1.f,hasOwn$9=hasOwnProperty_1$1,wellKnownSymbol$4$1=wellKnownSymbol$8,TO_STRING_TAG$3=wellKnownSymbol$8("toStringTag"),setToStringTag$2$1=function(e,t,r){(e=e&&!r?e.prototype:e)&&!hasOwn$9(e,TO_STRING_TAG$3)&&defineProperty$1$1(e,TO_STRING_TAG$3,{configurable:!0,value:t})},IteratorPrototype$1$1=iteratorsCore$1.IteratorPrototype,create$2=objectCreate$1,createPropertyDescriptor$4=createPropertyDescriptor$3$1,setToStringTag$1$1=setToStringTag$2$1,Iterators$2$1=iterators$1,returnThis$1$1=function(){return this},createIteratorConstructor$1$1=function(e,t,r,n){t+=" Iterator";return e.prototype=create$2(IteratorPrototype$1$1,{next:createPropertyDescriptor$4(+!n,r)}),setToStringTag$1$1(e,t,!1),Iterators$2$1[t]=returnThis$1$1,e},isCallable$2$1=isCallable$f,$String$1$1=String,$TypeError$7=TypeError,aPossiblePrototype$1$1=function(e){if("object"==typeof e||isCallable$2$1(e))return e;throw $TypeError$7("Can't set "+$String$1$1(e)+" as a prototype")},uncurryThis$2$1=functionUncurryThis$1,anObject$6=anObject$5$1,aPossiblePrototype$2=aPossiblePrototype$1$1,objectSetPrototypeOf$1=Object.setPrototypeOf||("__proto__"in{}?function(){var r,n=!1,e={};try{(r=uncurryThis$2$1(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(e,[]),n=e instanceof Array}catch(e){}return function(e,t){return anObject$6(e),aPossiblePrototype$2(t),n?r(e,t):e.__proto__=t,e}}():void 0),$$1$1=_export$1,call$7=functionCall$1,FunctionName$1=functionName$1,isCallable$1$1=isCallable$f,createIteratorConstructor$2=createIteratorConstructor$1$1,getPrototypeOf$2=objectGetPrototypeOf$1,setPrototypeOf$1=objectSetPrototypeOf$1,setToStringTag$3=setToStringTag$2$1,createNonEnumerableProperty$1$1=createNonEnumerableProperty$4$1,defineBuiltIn$4=defineBuiltIn$3$1,wellKnownSymbol$3$1=wellKnownSymbol$8,Iterators$1$1=iterators$1,IteratorsCore$1=iteratorsCore$1,PROPER_FUNCTION_NAME$1=FunctionName$1.PROPER,CONFIGURABLE_FUNCTION_NAME$2=FunctionName$1.CONFIGURABLE,IteratorPrototype$3=IteratorsCore$1.IteratorPrototype,BUGGY_SAFARI_ITERATORS$2=IteratorsCore$1.BUGGY_SAFARI_ITERATORS,ITERATOR$2$1=wellKnownSymbol$3$1("iterator"),KEYS$1="keys",VALUES$1="values",ENTRIES$1="entries",returnThis$2=function(){return this},defineIterator$1$1=function(e,t,r,n,o,$,a){createIteratorConstructor$2(r,t,n);function i(e){if(e===o&&d)return d;if(!BUGGY_SAFARI_ITERATORS$2&&e in u)return u[e];switch(e){case KEYS$1:case VALUES$1:case ENTRIES$1:return function(){return new r(this,e)}}return function(){return new r(this)}}var s,l,n=t+" Iterator",c=!1,u=e.prototype,p=u[ITERATOR$2$1]||u["@@iterator"]||o&&u[o],d=!BUGGY_SAFARI_ITERATORS$2&&p||i(o),y="Array"==t&&u.entries||p;if(y&&(y=getPrototypeOf$2(y.call(new e)))!==Object.prototype&&y.next&&(getPrototypeOf$2(y)!==IteratorPrototype$3&&(setPrototypeOf$1?setPrototypeOf$1(y,IteratorPrototype$3):isCallable$1$1(y[ITERATOR$2$1])||defineBuiltIn$4(y,ITERATOR$2$1,returnThis$2)),setToStringTag$3(y,n,!0)),PROPER_FUNCTION_NAME$1&&o==VALUES$1&&p&&p.name!==VALUES$1&&(CONFIGURABLE_FUNCTION_NAME$2?createNonEnumerableProperty$1$1(u,"name",VALUES$1):(c=!0,d=function(){return call$7(p,this)})),o)if(s={values:i(VALUES$1),keys:$?d:i(KEYS$1),entries:i(ENTRIES$1)},a)for(l in s)!BUGGY_SAFARI_ITERATORS$2&&!c&&l in u||defineBuiltIn$4(u,l,s[l]);else $$1$1({target:t,proto:!0,forced:BUGGY_SAFARI_ITERATORS$2||c},s);return u[ITERATOR$2$1]!==d&&defineBuiltIn$4(u,ITERATOR$2$1,d,{name:o}),Iterators$1$1[t]=d,s},toIndexedObject$6=toIndexedObject$5$1,addToUnscopables$2=addToUnscopables$1$1,Iterators$3=iterators$1,InternalStateModule$2=internalState$1,defineProperty$6=objectDefineProperty$1.f,defineIterator$2=defineIterator$1$1,DESCRIPTORS$a=descriptors$1,ARRAY_ITERATOR$1="Array Iterator",setInternalState$1=InternalStateModule$2.set,getInternalState$2=InternalStateModule$2.getterFor(ARRAY_ITERATOR$1),es_array_iterator$1=defineIterator$2(Array,"Array",function(e,t){setInternalState$1(this,{type:ARRAY_ITERATOR$1,target:toIndexedObject$6(e),index:0,kind:t})},function(){var e=getInternalState$2(this),t=e.target,r=e.kind,n=e.index++;return!t||n>=t.length?{value:e.target=void 0,done:!0}:"keys"==r?{value:n,done:!1}:"values"==r?{value:t[n],done:!1}:{value:[n,t[n]],done:!1}},"values"),values$1=Iterators$3.Arguments=Iterators$3.Array;if(addToUnscopables$2("keys"),addToUnscopables$2("values"),addToUnscopables$2("entries"),DESCRIPTORS$a&&"values"!==values$1.name)try{defineProperty$6(values$1,"name",{value:"values"})}catch(e){}var COLLECTION_NAME$1,domIterables$1={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$3=documentCreateElement$2$1,classList$1=documentCreateElement$2$1("span").classList,DOMTokenListPrototype$1$1=classList$1&&classList$1.constructor&&classList$1.constructor.prototype,domTokenListPrototype$1=DOMTokenListPrototype$1$1===Object.prototype?void 0:DOMTokenListPrototype$1$1,global$2$1=global$c,DOMIterables$1=domIterables$1,DOMTokenListPrototype$2=domTokenListPrototype$1,ArrayIteratorMethods$1=es_array_iterator$1,createNonEnumerableProperty$5=createNonEnumerableProperty$4$1,wellKnownSymbol$2$1=wellKnownSymbol$8,ITERATOR$1$1=wellKnownSymbol$2$1("iterator"),TO_STRING_TAG$2=wellKnownSymbol$2$1("toStringTag"),ArrayValues$1=ArrayIteratorMethods$1.values,handlePrototype$1=function(t,e){if(t){if(t[ITERATOR$1$1]!==ArrayValues$1)try{createNonEnumerableProperty$5(t,ITERATOR$1$1,ArrayValues$1)}catch(e){t[ITERATOR$1$1]=ArrayValues$1}if(t[TO_STRING_TAG$2]||createNonEnumerableProperty$5(t,TO_STRING_TAG$2,e),DOMIterables$1[e])for(var r in ArrayIteratorMethods$1)if(t[r]!==ArrayIteratorMethods$1[r])try{createNonEnumerableProperty$5(t,r,ArrayIteratorMethods$1[r])}catch(e){t[r]=ArrayIteratorMethods$1[r]}}};for(COLLECTION_NAME$1 in DOMIterables$1)handlePrototype$1(global$2$1[COLLECTION_NAME$1]&&global$2$1[COLLECTION_NAME$1].prototype,COLLECTION_NAME$1);handlePrototype$1(DOMTokenListPrototype$2,"DOMTokenList");var wellKnownSymbol$1$1=wellKnownSymbol$8,TO_STRING_TAG$1$1=wellKnownSymbol$8("toStringTag"),test={},toStringTagSupport=(test[TO_STRING_TAG$1$1]="z","[object z]"===String(test)),TO_STRING_TAG_SUPPORT=toStringTagSupport,isCallable$g=isCallable$f,classofRaw$2=classofRaw$1,wellKnownSymbol$9=wellKnownSymbol$8,TO_STRING_TAG$4=wellKnownSymbol$8("toStringTag"),$Object$5=Object,CORRECT_ARGUMENTS="Arguments"==classofRaw$2(function(){return arguments}()),tryGet=function(e,t){try{return e[t]}catch(e){}},classof$1=TO_STRING_TAG_SUPPORT?classofRaw$2:function(e){var t;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(t=tryGet(e=$Object$5(e),TO_STRING_TAG$4))?t:CORRECT_ARGUMENTS?classofRaw$2(e):"Object"==(t=classofRaw$2(e))&&isCallable$g(e.callee)?"Arguments":t},classof$3=classof$1,$String$4=String,toString$2=function(e){if("Symbol"===classof$3(e))throw TypeError("Cannot convert a Symbol value to a string");return $String$4(e)},whitespaces$2="\t\n\v\f\r \u2028\u2029\ufeff",uncurryThis$1$1=functionUncurryThis$1,requireObjectCoercible$4=requireObjectCoercible$3,toString$1$1=toString$2,whitespaces$1=whitespaces$2,replace=functionUncurryThis$1("".replace),whitespace="["+whitespaces$1+"]",ltrim=RegExp("^"+whitespace+whitespace+"*"),rtrim=RegExp(whitespace+whitespace+"*$"),createMethod$2=function(t){return function(e){e=toString$1$1(requireObjectCoercible$4(e));return 1&t&&(e=replace(e,ltrim,"")),e=2&t?replace(e,rtrim,""):e}},stringTrim={start:createMethod$2(1),end:createMethod$2(2),trim:createMethod$2(3)},global$1$1=global$c,fails$d=fails$c,uncurryThis$e=functionUncurryThis$1,toString$5=toString$2,trim=stringTrim.trim,whitespaces=whitespaces$2,$parseInt$1=global$1$1.parseInt,Symbol$1$1=global$1$1.Symbol,ITERATOR$4=Symbol$1$1&&Symbol$1$1.iterator,hex=/^[+-]?0x/i,exec=uncurryThis$e(hex.exec),FORCED=8!==$parseInt$1(whitespaces+"08")||22!==$parseInt$1(whitespaces+"0x16")||ITERATOR$4&&!fails$d(function(){$parseInt$1(Object(ITERATOR$4))}),numberParseInt=FORCED?function(e,t){e=trim(toString$5(e));return $parseInt$1(e,t>>>0||(exec(hex,e)?16:10))}:$parseInt$1,$$3=_export$1,$parseInt=numberParseInt;_export$1({global:!0,forced:parseInt!=numberParseInt},{parseInt:numberParseInt});const namespace$1="instanceAdminCenterUsers",avatarColors=["#f94144ff","#f3722cff","#f8961eff","#f9844aff","#f9c74fff","#90be6dff","#43aa8bff","#4d908eff","#577590ff","#277da1ff"];let prevIndex=0;const initialState$1={status:"idle",users:[],offset:0,hasMore:!0},adminCenterSlice=createSlice({name:SLICE_NAME+"/"+namespace$1,initialState:initialState$1,reducers:{fetchAllUsersStart(e){e.status="loading"},fetchAllUsersSuccess(e,t){e.status="success";var r=[];for(const $ of t.payload.records){var n=md5(($.id||"")+($.email||"")+$.lastLoginDateTime+($.firstName||""));let e=parseInt(n,16)%avatarColors.length;e===prevIndex&&(e+1>avatarColors.length-1?--e:e+=1),prevIndex=e,r.push(Object.assign(Object.assign({},$),{avatarColor:avatarColors[e]}))}var o=[...e.users,...r],o=[...new Map(o.map(e=>[e.id,e])).values()];e.users=o,e.hasMore=t.payload.hasMore,e.offset=t.payload.nextOffset},fetchAllUsersFailure(e){e.status="failure"}}}),actions$1=adminCenterSlice.actions;var adminCenterUsers_state=adminCenterSlice.reducer;const selectAllUsers=e=>{var{users:e,hasMore:t,offset:r}=null==(e=null==e?void 0:e[SLICE_NAME])?void 0:e[namespace$1];return{users:e,hasMore:t,offset:r}},selectStatus=e=>{return null==(e=null==e?void 0:e[SLICE_NAME])?void 0:e[namespace$1].status},useStyles$1$1=makeStyles()(e=>({root:{height:"100%"},loader:{display:"flex",marginTop:e.spacing(1),justifyContent:"center"}})),UserTable=()=>{const{users:r=[],hasMore:t}=useSelector(selectAllUsers),e=useSelector(selectStatus),o=useDispatch(),n=useStyles$1$1()["classes"],$=(react.exports.useEffect(()=>{o(actions$1.fetchAllUsersStart())},[o]),e=>!t||e<r.length),a=t?r.length+1:r.length,i=({index:e,style:t})=>$(e)?jsxRuntime.exports.jsx("div",Object.assign({style:Object.assign({},t)},{children:jsxRuntime.exports.jsx(UserRow,{user:r[e]})}),e):jsxRuntime.exports.jsx("div",Object.assign({"data-test":"iac-all-users-table-row-loader",style:Object.assign(Object.assign({},t),{top:0}),className:n.loader},{children:jsxRuntime.exports.jsx(CircularProgress,{size:36})}));return jsxRuntime.exports.jsxs("div",Object.assign({className:n.root,"data-testid":"instance-admin-center-users-table"},{children:[jsxRuntime.exports.jsxs(Grid,Object.assign({direction:"row",justifyContent:"space-between",alignItems:"center",item:!0,container:!0,xs:12,"data-testid":"instance-admin-center-all-user-table-header",sx:{pl:"13px",pr:"13px"}},{children:[jsxRuntime.exports.jsx(Grid,Object.assign({xs:4,item:!0},{children:jsxRuntime.exports.jsx(Typography,Object.assign({variant:"caption","data-testid":"instance-admin-center-all-user-table-header-name"},{children:jsxRuntime.exports.jsx(FormattedMessage,{id:"iac-all-users-table.header.name-col",defaultMessage:"Name",description:"Name column header"})}))})),jsxRuntime.exports.jsx(Grid,Object.assign({xs:3,item:!0},{children:jsxRuntime.exports.jsx(Typography,Object.assign({variant:"caption","data-testid":"instance-admin-center-all-user-table-header-organization"},{children:jsxRuntime.exports.jsx(FormattedMessage,{id:"iac-all-users-table.header.email-col",defaultMessage:"Organization",description:"Organization column header"})}))})),jsxRuntime.exports.jsx(Grid,Object.assign({xs:3,item:!0},{children:jsxRuntime.exports.jsx(Typography,Object.assign({variant:"caption","data-testid":"instance-admin-center-all-user-table-header-last-login"},{children:jsxRuntime.exports.jsx(FormattedMessage,{id:"iac-all-users-table.header.last-login-col",defaultMessage:"Last Login",description:"Last Login column header"})}))})),jsxRuntime.exports.jsx(Grid,Object.assign({xs:1,item:!0},{children:jsxRuntime.exports.jsx(Typography,Object.assign({variant:"caption","data-testid":"instance-admin-center-all-user-table-header-status"},{children:jsxRuntime.exports.jsx(FormattedMessage,{id:"iac-all-users-table.header.status-col",defaultMessage:"Status",description:"Status column header"})}))})),jsxRuntime.exports.jsx(Grid,{xs:1,item:!0})]})),jsxRuntime.exports.jsx(Divider,{}),"failure"===e?jsxRuntime.exports.jsx(ErrorState,{onRetry:()=>o(actions$1.fetchAllUsersStart()),errorMessage:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-instance-admin-center.users.error-message",defaultMessage:"Something went wrong while loading user list.",description:"Admin Center Users table loading error"})}):jsxRuntime.exports.jsx(AutoSizer,{children:({height:r,width:n})=>jsxRuntime.exports.jsx(InfiniteLoader,Object.assign({isItemLoaded:$,itemCount:a,loadMoreItems:()=>{"success"===e&&o(actions$1.fetchAllUsersStart())}},{children:({onItemsRendered:e,ref:t})=>jsxRuntime.exports.jsx("div",Object.assign({"data-testid":"iac-list-wrapper"},{children:jsxRuntime.exports.jsx(VariableSizeList,Object.assign({height:r-40,itemCount:a,itemSize:()=>60,initialScrollOffset:0,onItemsRendered:e,ref:t,width:n},{children:i}))}))}))})]}))},useStyles$4=makeStyles()(e=>({root:{display:"flex",flexDirection:"column"},header:{display:"flex",justifyContent:"space-between",padding:e.spacing(4),borderBottom:"0.5px solid "+e.palette.divider,"& h5":{lineHeight:"40px",marginLeft:"10px"}},orgHeader:{display:"flex",flexDirection:"column",justifyContent:"space-between",verticalAlign:"center","& h5":{lineHeight:"28px"}},titleStyle:{fontWeight:"400"},tableWrapper:{height:"calc(100vh - 55px - 64px - 69px - 22px)",overflow:"hidden"},createBtn:{fontSize:"12px",lineHeight:"16px","& svg":{height:"15px",width:"15px",marginRight:"7px"}}})),UsersPanel=({isPanelFullScreen:e})=>{var t=useStyles$4()["classes"],t=(useDispatch(),jsxRuntime.exports.jsxs(Box,Object.assign({"data-testid":"os-instance-admin-center-users.nav"},{children:[jsxRuntime.exports.jsx("section",Object.assign({className:t.root},{children:jsxRuntime.exports.jsx("header",Object.assign({className:t.header},{children:jsxRuntime.exports.jsxs(Box,Object.assign({className:t.orgHeader,"data-testid":"os-instance-admin-center-users.header"},{children:[jsxRuntime.exports.jsx(Typography,Object.assign({variant:"h3",className:t.titleStyle,id:"os-instance-admin-center-users.header-title"},{children:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-instance-admin-center-users.table.header",defaultMessage:"All Users",description:"Users Header"})})),jsxRuntime.exports.jsx(Typography,Object.assign({variant:"caption",className:t.titleStyle,id:"os-instance-admin-center-users.sub-header-title"},{children:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-instance-admin-center-users.table.sub-header",defaultMessage:"View all users within this Instance",description:"Users sub Header"})}))]}))}))})),jsxRuntime.exports.jsx("div",Object.assign({className:t.tableWrapper},{children:jsxRuntime.exports.jsx(UserTable,{})}))]})));return e?jsxRuntime.exports.jsx(AIWareThemeProvider,{children:t}):t},actions={[namespace$1]:actions$1},rootReducer=combineReducers({[namespace$1]:adminCenterUsers_state});function __awaiter(e,a,i,s){return new(i=i||Promise)(function(r,t){function n(e){try{$(s.next(e))}catch(e){t(e)}}function o(e){try{$(s.throw(e))}catch(e){t(e)}}function $(e){var t;e.done?r(e.value):((t=e.value)instanceof i?t:new i(function(e){e(t)})).then(n,o)}$((s=s.apply(e,a||[])).next())})}function fetchAllUsers(e,t,r){return __awaiter(this,void 0,void 0,function*(){return(yield baseGraphQLApiWithError(Object.assign({query:`
|
|
17
|
-
query users {
|
|
18
|
-
users (includeAllOrgUsers:true, offset: ${t}, limit: ${r}) {
|
|
19
|
-
records {
|
|
20
|
-
id
|
|
21
|
-
imageUrl
|
|
22
|
-
firstName
|
|
23
|
-
lastName
|
|
24
|
-
email
|
|
25
|
-
lastLoginDateTime
|
|
26
|
-
status
|
|
27
|
-
organizationGuids
|
|
28
|
-
organization {
|
|
29
|
-
guid
|
|
30
|
-
name
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
`,operationName:"users"},e))).users})}function*fetchUsersSaga(e){try{var t,r=yield select(selectApiConfigs),{offset:n,hasMore:o}=yield select(selectAllUsers);o&&(t=(yield fetchAllUsers(r,n,PAGE_LIMIT))["records"],yield put(actions.instanceAdminCenterUsers.fetchAllUsersSuccess({records:t,hasMore:PAGE_LIMIT===t.length,nextOffset:n+PAGE_LIMIT})))}catch(e){console.log(e),yield put(actions.instanceAdminCenterUsers.fetchAllUsersFailure())}}function*fetchUsersWatcher(){yield takeEvery$1(actions.instanceAdminCenterUsers.fetchAllUsersStart.type,fetchUsersSaga)}function*rootSaga(){yield all([fetchUsersWatcher()])}function getInstanceAdminCenterUsersModule(){return{id:SLICE_NAME,reducerMap:{[SLICE_NAME]:rootReducer},sagas:[rootSaga],initialActions:[]}}var match,version,store,wmget,wmhas,wmset,set,get,has,STATE,activeXDocument,IteratorPrototype$2,PrototypeOfArrayIteratorPrototype,arrayIterator,commonjsGlobal="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},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")(),objectGetOwnPropertyDescriptor={},fails$b=function(e){try{return!!e()}catch(e){return!0}},fails$a=fails$b,descriptors=!fails$b(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}),fails$9=fails$b,functionBindNative=!fails$b(function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}),NATIVE_BIND$1=functionBindNative,call$6=Function.prototype.call,functionCall=NATIVE_BIND$1?call$6.bind(call$6):function(){return call$6.apply(call$6,arguments)},objectPropertyIsEnumerable={},$propertyIsEnumerable={}.propertyIsEnumerable,getOwnPropertyDescriptor$1=Object.getOwnPropertyDescriptor,NASHORN_BUG=getOwnPropertyDescriptor$1&&!$propertyIsEnumerable.call({1:2},1),createPropertyDescriptor$3=(objectPropertyIsEnumerable.f=NASHORN_BUG?function(e){e=getOwnPropertyDescriptor$1(this,e);return!!e&&e.enumerable}:$propertyIsEnumerable,function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}),NATIVE_BIND=functionBindNative,FunctionPrototype$1=Function.prototype,bind=FunctionPrototype$1.bind,call$5=FunctionPrototype$1.call,uncurryThis$b=NATIVE_BIND&&bind.bind(call$5,call$5),functionUncurryThis=NATIVE_BIND?function(e){return e&&uncurryThis$b(e)}:function(e){return e&&function(){return call$5.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$8=fails$b,classof=classofRaw,$Object$3=Object,split=functionUncurryThis("".split),indexedObject=fails$8(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))},isCallable$e=function(e){return"function"==typeof e},isCallable$d=isCallable$e,isObject$5=function(e){return"object"==typeof e?null!==e:isCallable$d(e)},global$a=global$b,isCallable$c=isCallable$e,aFunction=function(e){return isCallable$c(e)?e:void 0},getBuiltIn$4=function(e,t){return arguments.length<2?aFunction(global$a[e]):global$a[e]&&global$a[e][t]},uncurryThis$8=functionUncurryThis,objectIsPrototypeOf=functionUncurryThis({}.isPrototypeOf),getBuiltIn$3=getBuiltIn$4,engineUserAgent=getBuiltIn$4("navigator","userAgent")||"",global$9=global$b,userAgent=engineUserAgent,process=global$9.process,Deno=global$9.Deno,versions=process&&process.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$7=fails$b,nativeSymbol=!!Object.getOwnPropertySymbols&&!fails$7(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,getBuiltIn$2=getBuiltIn$4,isCallable$b=isCallable$e,isPrototypeOf=objectIsPrototypeOf,USE_SYMBOL_AS_UID$1=useSymbolAsUid,$Object$2=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$2(e))},$String$2=String,tryToString$1=function(e){try{return $String$2(e)}catch(e){return"Object"}},isCallable$a=isCallable$e,tryToString=tryToString$1,$TypeError$5=TypeError,aCallable$1=function(e){if(isCallable$a(e))return e;throw $TypeError$5(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$4=isObject$5,$TypeError$4=TypeError,ordinaryToPrimitive$1=function(e,t){var r,n;if("string"===t&&isCallable$9(r=e.toString)&&!isObject$4(n=call$4(r,e)))return n;if(isCallable$9(r=e.valueOf)&&!isObject$4(n=call$4(r,e)))return n;if("string"!==t&&isCallable$9(r=e.toString)&&!isObject$4(n=call$4(r,e)))return n;throw $TypeError$4("Can't convert object to primitive value")},shared$3={exports:{}},global$8=global$b,defineProperty$5=Object.defineProperty,defineGlobalProperty$3=function(t,r){try{defineProperty$5(global$8,t,{value:r,configurable:!0,writable:!0})}catch(e){global$8[t]=r}return r},global$7=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$1=Object,toObject$3=function(e){return $Object$1(requireObjectCoercible(e))},uncurryThis$7=functionUncurryThis,toObject$2=toObject$3,hasOwnProperty=functionUncurryThis({}.hasOwnProperty),hasOwnProperty_1=Object.hasOwn||function(e,t){return hasOwnProperty(toObject$2(e),t)},uncurryThis$6=functionUncurryThis,id=0,postfix=Math.random(),toString=uncurryThis$6(1..toString),uid$2=function(e){return"Symbol("+(void 0===e?"":e)+")_"+toString(++id+postfix,36)},global$6=global$b,shared$2=shared$3.exports,hasOwn$8=hasOwnProperty_1,uid$1=uid$2,NATIVE_SYMBOL=nativeSymbol,USE_SYMBOL_AS_UID=useSymbolAsUid,WellKnownSymbolsStore=shared$2("wks"),Symbol$1=global$6.Symbol,symbolFor=Symbol$1&&Symbol$1.for,createWellKnownSymbol=USE_SYMBOL_AS_UID?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&&symbolFor?symbolFor:createWellKnownSymbol)(t)),WellKnownSymbolsStore[e]},call$3=functionCall,isObject$3=isObject$5,isSymbol$1=isSymbol$2,getMethod=getMethod$1,ordinaryToPrimitive=ordinaryToPrimitive$1,wellKnownSymbol$5=wellKnownSymbol$6,$TypeError$3=TypeError,TO_PRIMITIVE=wellKnownSymbol$6("toPrimitive"),toPrimitive$1=function(e,t){if(!isObject$3(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$3(r)||isSymbol$1(r))return r;throw $TypeError$3("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+""},global$5=global$b,isObject$2=isObject$5,document$1=global$b.document,EXISTS$1=isObject$2(document$1)&&isObject$2(document$1.createElement),documentCreateElement$2=function(e){return EXISTS$1?document$1.createElement(e):{}},DESCRIPTORS$9=descriptors,fails$6=fails$b,createElement=documentCreateElement$2,ie8DomDefine=!descriptors&&!fails$b(function(){return 7!=Object.defineProperty(createElement("div"),"a",{get:function(){return 7}}).a}),DESCRIPTORS$8=descriptors,call$2=functionCall,propertyIsEnumerableModule$1=objectPropertyIsEnumerable,createPropertyDescriptor$2=createPropertyDescriptor$3,toIndexedObject$4=toIndexedObject$5,toPropertyKey$1=toPropertyKey$2,hasOwn$7=hasOwnProperty_1,IE8_DOM_DEFINE$1=ie8DomDefine,$getOwnPropertyDescriptor$1=Object.getOwnPropertyDescriptor,objectDefineProperty=(objectGetOwnPropertyDescriptor.f=DESCRIPTORS$8?$getOwnPropertyDescriptor$1:function(e,t){if(e=toIndexedObject$4(e),t=toPropertyKey$1(t),IE8_DOM_DEFINE$1)try{return $getOwnPropertyDescriptor$1(e,t)}catch(e){}if(hasOwn$7(e,t))return createPropertyDescriptor$2(!call$2(propertyIsEnumerableModule$1.f,e,t),e[t])},{}),DESCRIPTORS$7=descriptors,fails$5=fails$b,v8PrototypeDefineBug=descriptors&&fails$b(function(){return 42!=Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype}),isObject$1=isObject$5,$String$1=String,$TypeError$2=TypeError,anObject$5=function(e){if(isObject$1(e))return e;throw $TypeError$2($String$1(e)+" is not an object")},DESCRIPTORS$6=descriptors,IE8_DOM_DEFINE=ie8DomDefine,V8_PROTOTYPE_DEFINE_BUG$1=v8PrototypeDefineBug,anObject$4=anObject$5,toPropertyKey=toPropertyKey$2,$TypeError$1=TypeError,$defineProperty=Object.defineProperty,$getOwnPropertyDescriptor=Object.getOwnPropertyDescriptor,ENUMERABLE="enumerable",CONFIGURABLE$1="configurable",WRITABLE="writable",DESCRIPTORS$5=(objectDefineProperty.f=DESCRIPTORS$6?V8_PROTOTYPE_DEFINE_BUG$1?function(e,t,r){var n;return anObject$4(e),t=toPropertyKey(t),anObject$4(r),"function"==typeof e&&"prototype"===t&&"value"in r&&WRITABLE in r&&!r[WRITABLE]&&(n=$getOwnPropertyDescriptor(e,t))&&n[WRITABLE]&&(e[t]=r.value,r={configurable:(CONFIGURABLE$1 in r?r:n)[CONFIGURABLE$1],enumerable:(ENUMERABLE in r?r:n)[ENUMERABLE],writable:!1}),$defineProperty(e,t,r)}:$defineProperty:function(e,t,r){if(anObject$4(e),t=toPropertyKey(t),anObject$4(r),IE8_DOM_DEFINE)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},descriptors),definePropertyModule$3=objectDefineProperty,createPropertyDescriptor$1=createPropertyDescriptor$3,createNonEnumerableProperty$4=DESCRIPTORS$5?function(e,t,r){return definePropertyModule$3.f(e,t,createPropertyDescriptor$1(1,r))}:function(e,t,r){return e[t]=r,e},makeBuiltIn$2={exports:{}},DESCRIPTORS$4=descriptors,hasOwn$6=hasOwnProperty_1,FunctionPrototype=Function.prototype,getDescriptor=DESCRIPTORS$4&&Object.getOwnPropertyDescriptor,EXISTS=hasOwn$6(FunctionPrototype,"name"),PROPER=EXISTS&&"something"===function(){}.name,CONFIGURABLE=EXISTS&&(!DESCRIPTORS$4||getDescriptor(FunctionPrototype,"name").configurable),functionName={EXISTS:EXISTS,PROPER:PROPER,CONFIGURABLE:CONFIGURABLE},uncurryThis$5=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)),shared$1=shared$3.exports,uid=uid$2,keys=shared$1("keys"),sharedKey$3=function(e){return keys[e]||(keys[e]=uid(e))},hiddenKeys$4={},NATIVE_WEAK_MAP=nativeWeakMap,global$3=global$b,uncurryThis$4=functionUncurryThis,isObject=isObject$5,createNonEnumerableProperty$3=createNonEnumerableProperty$4,hasOwn$5=hasOwnProperty_1,shared=sharedStore,sharedKey$2=sharedKey$3,hiddenKeys$3=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$4(store.get),wmhas=uncurryThis$4(store.has),wmset=uncurryThis$4(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$2("state"),hiddenKeys$3[STATE]=!0,set=function(e,t){if(hasOwn$5(e,STATE))throw new TypeError$1(OBJECT_ALREADY_INITIALIZED);return t.facade=e,createNonEnumerableProperty$3(e,STATE,t),t},get=function(e){return hasOwn$5(e,STATE)?e[STATE]:{}},function(e){return hasOwn$5(e,STATE)}),{set:set,get:get,has:has,enforce:enforce,getterFor:getterFor}),fails$4=fails$b,isCallable$6=isCallable$e,hasOwn$4=hasOwnProperty_1,DESCRIPTORS$3=descriptors,CONFIGURABLE_FUNCTION_NAME$1=functionName.CONFIGURABLE,inspectSource=inspectSource$2,InternalStateModule$1=internalState,enforceInternalState=InternalStateModule$1.enforce,getInternalState$1=InternalStateModule$1.get,defineProperty$4=Object.defineProperty,CONFIGURABLE_LENGTH=DESCRIPTORS$3&&!fails$4(function(){return 8!==defineProperty$4(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$4(e,"name")||CONFIGURABLE_FUNCTION_NAME$1&&e.name!==t)&&(DESCRIPTORS$3?defineProperty$4(e,"name",{value:t,configurable:!0}):e.name=t),CONFIGURABLE_LENGTH&&r&&hasOwn$4(r,"arity")&&e.length!==r.arity&&defineProperty$4(e,"length",{value:r.arity});try{r&&hasOwn$4(r,"constructor")&&r.constructor?DESCRIPTORS$3&&defineProperty$4(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}r=enforceInternalState(e);return hasOwn$4(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$2=objectDefineProperty,makeBuiltIn=makeBuiltIn$2.exports,defineGlobalProperty$1=defineGlobalProperty$3,defineBuiltIn$3=function(e,t,r,n){var o=(n=n||{}).enumerable,$=void 0!==n.name?n.name:t;if(isCallable$5(r)&&makeBuiltIn(r,$,n),n.global)o?e[t]=r:defineGlobalProperty$1(t,r);else{try{n.unsafe?e[t]&&(o=!0):delete e[t]}catch(e){}o?e[t]=r:definePropertyModule$2.f(e,t,{value:r,enumerable:!1,configurable:!n.nonConfigurable,writable:!n.nonWritable})}return e},objectGetOwnPropertyNames={},ceil=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$3=toIndexedObject$5,toAbsoluteIndex=toAbsoluteIndex$1,lengthOfArrayLike=lengthOfArrayLike$1,createMethod=function(i){return function(e,t,r){var n,o=toIndexedObject$3(e),$=lengthOfArrayLike(o),a=toAbsoluteIndex(r,$);if(i&&t!=t){for(;a<$;)if((n=o[a++])!=n)return!0}else for(;a<$;a++)if((i||a in o)&&o[a]===t)return i||a||0;return!i&&-1}},arrayIncludes={includes:createMethod(!0),indexOf:createMethod(!1)},uncurryThis$3=functionUncurryThis,hasOwn$3=hasOwnProperty_1,toIndexedObject$2=toIndexedObject$5,indexOf=arrayIncludes.indexOf,hiddenKeys$2=hiddenKeys$4,push=uncurryThis$3([].push),objectKeysInternal=function(e,t){var r,n=toIndexedObject$2(e),o=0,$=[];for(r in n)!hasOwn$3(hiddenKeys$2,r)&&hasOwn$3(n,r)&&push($,r);for(;t.length>o;)!hasOwn$3(n,r=t[o++])||~indexOf($,r)||push($,r);return $},enumBugKeys$3=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],internalObjectKeys$1=objectKeysInternal,enumBugKeys$2=enumBugKeys$3,hiddenKeys$1=enumBugKeys$3.concat("length","prototype"),objectGetOwnPropertySymbols=(objectGetOwnPropertyNames.f=Object.getOwnPropertyNames||function(e){return internalObjectKeys$1(e,hiddenKeys$1)},{}),getBuiltIn$1=(objectGetOwnPropertySymbols.f=Object.getOwnPropertySymbols,getBuiltIn$4),uncurryThis$2=functionUncurryThis,getOwnPropertyNamesModule=objectGetOwnPropertyNames,getOwnPropertySymbolsModule$1=objectGetOwnPropertySymbols,anObject$3=anObject$5,concat$1=functionUncurryThis([].concat),ownKeys$1=getBuiltIn$1("Reflect","ownKeys")||function(e){var t=getOwnPropertyNamesModule.f(anObject$3(e)),r=getOwnPropertySymbolsModule$1.f;return r?concat$1(t,r(e)):t},hasOwn$2=hasOwnProperty_1,ownKeys=ownKeys$1,getOwnPropertyDescriptorModule=objectGetOwnPropertyDescriptor,definePropertyModule$1=objectDefineProperty,copyConstructorProperties$1=function(e,t,r){for(var n=ownKeys(t),o=definePropertyModule$1.f,$=getOwnPropertyDescriptorModule.f,a=0;a<n.length;a++){var i=n[a];hasOwn$2(e,i)||r&&hasOwn$2(r,i)||o(e,i,$(t,i))}},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,n,o,$=e.target,a=e.global,i=e.stat,s=a?global$2:i?global$2[$]||defineGlobalProperty($,{}):(global$2[$]||{}).prototype;if(s)for(r in t){if(n=t[r],o=e.dontCallGetSet?(o=getOwnPropertyDescriptor(s,r))&&o.value:s[r],!isForced(a?r:$+(i?".":"#")+r,e.forced)&&void 0!==o){if(typeof n==typeof o)continue;copyConstructorProperties(n,o)}(e.sham||o&&o.sham)&&createNonEnumerableProperty$2(n,"sham",!0),defineBuiltIn$2(s,r,n,e)}},internalObjectKeys=objectKeysInternal,enumBugKeys$1=enumBugKeys$3,objectKeys$2=Object.keys||function(e){return internalObjectKeys(e,enumBugKeys$1)},DESCRIPTORS$2=descriptors,uncurryThis$1=functionUncurryThis,call$1=functionCall,fails$2=fails$b,objectKeys$1=objectKeys$2,getOwnPropertySymbolsModule=objectGetOwnPropertySymbols,propertyIsEnumerableModule=objectPropertyIsEnumerable,toObject$1=toObject$3,IndexedObject=indexedObject,$assign=Object.assign,defineProperty$3=Object.defineProperty,concat=uncurryThis$1([].concat),objectAssign=!$assign||fails$2(function(){var e,t,r,n;return!(!DESCRIPTORS$2||1===$assign({b:1},$assign(defineProperty$3({},"a",{enumerable:!0,get:function(){defineProperty$3(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)||(t={},n="abcdefghijklmnopqrst",(e={})[r=Symbol()]=7,n.split("").forEach(function(e){t[e]=e}),7!=$assign({},e)[r])||objectKeys$1($assign({},t)).join("")!=n})?function(e,t){for(var r=toObject$1(e),n=arguments.length,o=1,$=getOwnPropertySymbolsModule.f,a=propertyIsEnumerableModule.f;o<n;)for(var i,s=IndexedObject(arguments[o++]),l=$?concat(objectKeys$1(s),$(s)):objectKeys$1(s),c=l.length,u=0;u<c;)i=l[u++],DESCRIPTORS$2&&!call$1(a,s,i)||(r[i]=s[i]);return r}:$assign,$$1=_export,assign=objectAssign,objectDefineProperties=(_export({target:"Object",stat:!0,arity:2,forced:Object.assign!==assign},{assign:assign}),{}),DESCRIPTORS$1=descriptors,V8_PROTOTYPE_DEFINE_BUG=v8PrototypeDefineBug,definePropertyModule=objectDefineProperty,anObject$2=anObject$5,toIndexedObject$1=toIndexedObject$5,objectKeys=objectKeys$2,getBuiltIn=(objectDefineProperties.f=DESCRIPTORS$1&&!V8_PROTOTYPE_DEFINE_BUG?Object.defineProperties:function(e,t){anObject$2(e);for(var r,n=toIndexedObject$1(t),o=objectKeys(t),$=o.length,a=0;a<$;)definePropertyModule.f(e,r=o[a++],n[r]);return e},getBuiltIn$4),html$1=getBuiltIn$4("document","documentElement"),anObject$1=anObject$5,definePropertiesModule=objectDefineProperties,enumBugKeys=enumBugKeys$3,hiddenKeys=hiddenKeys$4,html=html$1,documentCreateElement$1=documentCreateElement$2,sharedKey$1=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.length;e--;)delete NullProtoObject[PROTOTYPE][enumBugKeys[e]];return NullProtoObject()},objectCreate=(hiddenKeys[IE_PROTO$1]=!0,Object.create||function(e,t){var r;return null!==e?(EmptyConstructor[PROTOTYPE]=anObject$1(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$2=objectDefineProperty.f,UNSCOPABLES=wellKnownSymbol$4("unscopables"),ArrayPrototype=Array.prototype,addToUnscopables$1=(null==ArrayPrototype[UNSCOPABLES]&&defineProperty$2(ArrayPrototype,UNSCOPABLES,{configurable:!0,value:create$1(null)}),function(e){ArrayPrototype[UNSCOPABLES][e]=!0}),iterators={},fails$1=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=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){var t,e=toObject(e);return hasOwn$1(e,IE_PROTO)?e[IE_PROTO]:(t=e.constructor,isCallable$3(t)&&e instanceof t?t.prototype:e instanceof $Object?ObjectPrototype:null)},fails=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(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$1=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$1(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,n){t+=" Iterator";return e.prototype=create(IteratorPrototype$1,{next:createPropertyDescriptor(+!n,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=functionUncurryThis,anObject=anObject$5,aPossiblePrototype=aPossiblePrototype$1,objectSetPrototypeOf=Object.setPrototypeOf||("__proto__"in{}?function(){var r,n=!1,e={};try{(r=uncurryThis(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(e,[]),n=e instanceof Array}catch(e){}return function(e,t){return anObject(e),aPossiblePrototype(t),n?r(e,t):e.__proto__=t,e}}():void 0),$=_export,call=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,n,o,a,i){createIteratorConstructor(r,t,n);function s(e){if(e===o&&y)return y;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,n=t+" Iterator",u=!1,p=e.prototype,d=p[ITERATOR$1]||p["@@iterator"]||o&&p[o],y=!BUGGY_SAFARI_ITERATORS&&d||s(o),b="Array"==t&&p.entries||d;if(b&&(b=getPrototypeOf(b.call(new e)))!==Object.prototype&&b.next&&(getPrototypeOf(b)!==IteratorPrototype&&(setPrototypeOf?setPrototypeOf(b,IteratorPrototype):isCallable(b[ITERATOR$1])||defineBuiltIn(b,ITERATOR$1,returnThis)),setToStringTag(b,n,!0)),PROPER_FUNCTION_NAME&&o==VALUES&&d&&d.name!==VALUES&&(CONFIGURABLE_FUNCTION_NAME?createNonEnumerableProperty$1(p,"name",VALUES):(u=!0,y=function(){return call(d,this)})),o)if(l={values:s(VALUES),keys:a?y:s(KEYS),entries:s(ENTRIES)},i)for(c in l)!BUGGY_SAFARI_ITERATORS&&!u&&c in p||defineBuiltIn(p,c,l[c]);else $({target:t,proto:!0,forced:BUGGY_SAFARI_ITERATORS||u},l);return p[ITERATOR$1]!==y&&defineBuiltIn(p,ITERATOR$1,y,{name:o}),Iterators$1[t]=y,l},toIndexedObject=toIndexedObject$5,addToUnscopables=addToUnscopables$1,Iterators=iterators,InternalStateModule=internalState,defineProperty=objectDefineProperty.f,defineIterator=defineIterator$1,DESCRIPTORS=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,n=e.index++;return!t||n>=t.length?{value:e.target=void 0,done:!0}:"keys"==r?{value:n,done:!1}:"values"==r?{value:t[n],done:!1}:{value:[n,t[n]],done:!1}},"values"),values=Iterators.Arguments=Iterators.Array;if(addToUnscopables("keys"),addToUnscopables("values"),addToUnscopables("entries"),DESCRIPTORS&&"values"!==values.name)try{defineProperty(values,"name",{value:"values"})}catch(e){}var COLLECTION_NAME,InstanceAdminCenterView,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");const useStyles$2=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)}})),Header=({hidePanel:e,isNavExpanded:t,onLeftNavigationToggle:r,onFullScreenToggle:n,isFullScreen:o,height:$})=>{$=useStyles$2({height:$}).classes;return jsxRuntime.exports.jsxs("header",Object.assign({className:$.header,"data-test":"iac-header"},{children:[jsxRuntime.exports.jsx(Tooltip,Object.assign({title:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-instance-admin-center-browse.navigation.menu",defaultMessage:"Toggle Navigation Menu",description:"Toggle Navigation Menu"})},{children:jsxRuntime.exports.jsx(IconButton,Object.assign({sx:{mr:1},onClick:r,"aria-expanded":t,"aria-labelledby":"iac-header-toggle-nav","data-test":"iac-header-toggle-nav",size:"large"},{children:jsxRuntime.exports.jsx(Hamburger,{})}))})),jsxRuntime.exports.jsx(Typography,Object.assign({variant:"h1",className:$.title,"data-test":"iac-title"},{children:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-instance-admin-center-browse.header.title",defaultMessage:"Instance Admin Center",description:"Panel header of the instance admin center"})})),jsxRuntime.exports.jsxs("div",Object.assign({className:$.headerActionContainer},{children:[jsxRuntime.exports.jsx("div",{className:$.verticalDivider}),jsxRuntime.exports.jsx(Tooltip,Object.assign({title:o?jsxRuntime.exports.jsx(FormattedMessage,{id:"os-instance-admin-center-browse.close.full.screen",defaultMessage:"Exit Fullscreen",description:"Exit Fullscreen"}):jsxRuntime.exports.jsx(FormattedMessage,{id:"os-instance-admin-center-browse.open.full.screen",defaultMessage:"Enter Fullscreen",description:"Enter Fullscreen"})},{children:jsxRuntime.exports.jsx(IconButton,Object.assign({onClick:n,"aria-labelledby":"iac-toggle-fullscreen","data-test":"iac-fullscreen-toggle",size:"large"},{children:o?jsxRuntime.exports.jsx(FullscreenExit,{}):jsxRuntime.exports.jsx(Fullscreen,{})}))})),jsxRuntime.exports.jsx(Tooltip,Object.assign({title:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-instance-admin-center-browse.close.panel",defaultMessage:"Close Panel",description:"Close Panel"})},{children:jsxRuntime.exports.jsx(IconButton,Object.assign({onClick:e,"aria-labelledby":"iac-close-panel","data-test-id":"iac-close-panel",size:"large"},{children:jsxRuntime.exports.jsx(Hide,{})}))}))]}))]}))};function __rest(e,t){var r={};for(o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,o=Object.getOwnPropertySymbols(e);n<o.length;n++)t.indexOf(o[n])<0&&Object.prototype.propertyIsEnumerable.call(e,o[n])&&(r[o[n]]=e[o[n]]);return r}!function(e){e[e.organizations=0]="organizations",e[e.users=1]="users"}(InstanceAdminCenterView=InstanceAdminCenterView||{});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:InstanceAdminCenterView.organizations,label:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-instance-admin-center-browse.orgs.view",defaultMessage:"All Orgs",description:"The label of all orgs tab button."}),testLabel:"iac-orgs-view",icon:jsxRuntime.exports.jsx(Business,{}),content:e=>jsxRuntime.exports.jsx(AllOrgsPanel,{isPanelFullScreen:e})},{id:InstanceAdminCenterView.users,label:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-instance-admin-center-browse.users.view",defaultMessage:"All Users",description:"The label of users tab button."}),testLabel:"iac-users-view",icon:jsxRuntime.exports.jsx(Users,{}),content:e=>jsxRuntime.exports.jsx(UsersPanel,{isPanelFullScreen:e})}],MainTabPanel=({isNavExpanded:r,isFullScreen:t,height:e})=>{const n=useStyles$1({height:e})["classes"],[o,$]=react.exports.useState(InstanceAdminCenterView.organizations);var[e]=react.exports.useState(navList);return jsxRuntime.exports.jsx(AIWareThemeProvider,{children:jsxRuntime.exports.jsxs("div",Object.assign({className:n.root},{children:[jsxRuntime.exports.jsx(Tabs,Object.assign({id:"insanceAdminCenterViewTabs",orientation:"vertical",value:o,onChange:(e,t)=>{$(t)},className:classNames(n.tabs,{[n.tabsExpanded]:r}),classes:{flexContainer:n.tabsContainer,indicator:n.tabIndicator},"aria-label":"instance admin center tabs","data-test":"iac-nav-tabs-container"},{children:e.map((e,t)=>jsxRuntime.exports.jsx(Tooltip,Object.assign({placement:"right",title:r?"":e.label,"data-test":"ac-nav-tab-"+e.testLabel},{children:react.exports.createElement(Tab,Object.assign({wrapped:!0},a11yProps(e.id),{label:r?e.label:"",icon:e.icon,classes:{root:n.tabRoot,wrapped:r?n.tabExpandedWrapper:n.tabWrapper,selected:r?n.tabExpandedSelected:n.tabSelected},"data-test":"iac-nav-tab-"+e.testLabel,key:"ac-nav-tab-"+t}))}),e.id))})),e.map(e=>jsxRuntime.exports.jsx(TabPanel,Object.assign({value:o,index:e.id,className:n.contentPanel},{children:e.content(t)}),e.id))]}))})};function TabPanel(e){var{children:t,value:r,index:n}=e,e=__rest(e,["children","value","index"]);return jsxRuntime.exports.jsx("div",Object.assign({role:"tabpanel",hidden:r!==n,id:"instance-admin-center-tab-panel-"+n,"aria-labelledby":"instance-admin-center-tab-"+n},e,{children:r===n&&t}))}function a11yProps(e){return{id:"instance-admin-center-tab-"+e,"aria-controls":"instance-admin-center-tabpanel-"+e}}const Container=({fullScreen:e,classes:t,dimmed:r,children:n})=>e?jsxRuntime.exports.jsx(Portal,{children:jsxRuntime.exports.jsxs("div",Object.assign({role:"presentation","data-test":"iac-widget",className:classNames(t.panel,t.fullScreen)},{children:[r&&jsxRuntime.exports.jsx("div",{className:t.overlay}),n]}))}):jsxRuntime.exports.jsx("div",Object.assign({role:"presentation","data-test":"iac-widget",className:classNames(t.root,t.panel)},{children:n})),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),[n,o]=react.exports.useState(!1);var $=useStyles()["classes"],a=(useSelector(panelsSelector)||[]).find(e=>"INSTANCE_ADMIN_CENTER_BROWSE"===e.panelId)||{panelConfig:{dimmed:0}},a=0<(null==(a=null===a?void 0:a.panelConfig)?void 0:a.dimmed),i=`calc(100vh - ${n?25:appBarHeight+borderBottom}px - ${headerHeight}px)`;return jsxRuntime.exports.jsxs(Container,Object.assign({dimmed:a,fullScreen:n,classes:$},{children:[jsxRuntime.exports.jsx(Header,{height:headerHeight,hidePanel:e,isNavExpanded:t,onLeftNavigationToggle:()=>{r(!t)},isFullScreen:n,onFullScreenToggle:()=>{o(!n)}}),jsxRuntime.exports.jsx(MainTabPanel,{height:i,isNavExpanded:t,isFullScreen:n})]}))},Content=e=>{var{apiRoot:t,graphQLEndpoint:r,token:n}=useSelector(selectApiConfigs);return t&&r&&n?jsxRuntime.exports.jsx(MainLayout,Object.assign({},e)):null},InstanceAdminCenterBrowse=e=>jsxRuntime.exports.jsx(AIWareThemeProvider,{children:jsxRuntime.exports.jsx(DynamicModuleLoader,Object.assign({modules:[getInstanceAdminCenterUsersModule(),getInstanceAdminCenterOrgsModule()]},{children:jsxRuntime.exports.jsx(AIWareIntlProvider,{children:jsxRuntime.exports.jsx(Content,Object.assign({},e))})}))});export{InstanceAdminCenterBrowse};
|
|
1
|
+
export{R as ResourcesTab,S as SchemaDetailsPanel,a as actions,s as applications,b as engineCategories,c as flows,g as getResourceCenterResourcesModule,i as initialState,n as namespace,r as resourcesTabSelectors,d as rootReducer,e as schemaDetailsSelectors,f as schemas,h as selectApiConfigs,u as uiState}from"./js-core.esm69.js";import"./js-core.esm.js";import"./js-core.esm20.js";import"./js-core.esm68.js";import"./js-core.esm10.js";import"./js-core.esm6.js";import"./js-core.esm33.js";import"./js-core.esm30.js";import"./js-core.esm36.js";import"./js-core.esm32.js";
|
package/js-core.esm73.js.gz
CHANGED
|
Binary file
|
package/js-core.esm74.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
import{u as useStyles,s as selectIsFullScreen,a as selectSourceSelected,b as selectIsEditMode,c as selectUpdateJobErrors,d as actions$8,S as SHARED_TEXT,e as SelectSource,P as PanelControls$1,E as ENextButtonType,f as actions$7}from"./js-core.esm64.js";import{i as createSvgIcon,k as interopRequireDefault,j as jsxRuntime,l as useDispatch,n as useSelector,r as react,T as Typography,K as Button,cw as mountPanel}from"./js-core.esm.js";import"./js-core.esm38.js";import"./js-core.esm58.js";import"./js-core.esm40.js";import"./js-core.esm20.js";import"./js-core.esm30.js";import"./js-core.esm9.js";import"./js-core.esm42.js";import"./js-core.esm23.js";import"./js-core.esm32.js";import"./js-core.esm33.js";import"./js-core.esm10.js";import"./js-core.esm59.js";import"./js-core.esm28.js";import"./js-core.esm34.js";import"./js-core.esm65.js";import"./js-core.esm43.js";import"./js-core.esm27.js";import"./js-core.esm39.js";import"./js-core.esm5.js";import"./js-core.esm41.js";import"./js-core.esm11.js";import"./js-core.esm36.js";import"./js-core.esm44.js";import"./js-core.esm35.js";import"./js-core.esm17.js";import"./js-core.esm29.js";import"./js-core.esm24.js";var Settings={},_interopRequireDefault=interopRequireDefault.exports,default_1=(Object.defineProperty(Settings,"__esModule",{value:!0}),Settings.default=void 0),_createSvgIcon=_interopRequireDefault(createSvgIcon),_jsxRuntime=jsxRuntime.exports,_default=(0,_createSvgIcon.default)((0,_jsxRuntime.jsx)("path",{d:"M19.14 12.94c.04-.3.06-.61.06-.94 0-.32-.02-.64-.07-.94l2.03-1.58c.18-.14.23-.41.12-.61l-1.92-3.32c-.12-.22-.37-.29-.59-.22l-2.39.96c-.5-.38-1.03-.7-1.62-.94l-.36-2.54c-.04-.24-.24-.41-.48-.41h-3.84c-.24 0-.43.17-.47.41l-.36 2.54c-.59.24-1.13.57-1.62.94l-2.39-.96c-.22-.08-.47 0-.59.22L2.74 8.87c-.12.21-.08.47.12.61l2.03 1.58c-.05.3-.09.63-.09.94s.02.64.07.94l-2.03 1.58c-.18.14-.23.41-.12.61l1.92 3.32c.12.22.37.29.59.22l2.39-.96c.5.38 1.03.7 1.62.94l.36 2.54c.05.24.24.41.48.41h3.84c.24 0 .44-.17.47-.41l.36-2.54c.59-.24 1.13-.56 1.62-.94l2.39.96c.22.08.47 0 .59-.22l1.92-3.32c.12-.22.07-.47-.12-.61l-2.01-1.58zM12 15.6c-1.98 0-3.6-1.62-3.6-3.6s1.62-3.6 3.6-3.6 3.6 1.62 3.6 3.6-1.62 3.6-3.6 3.6z"}),"Settings"),default_1=Settings.default=_default;const SelectSourceStep=({sourceTypeIds:e})=>{const s=useDispatch();var t=useStyles()["classes"];const r=useSelector(selectIsFullScreen),o=useSelector(selectSourceSelected);const c=useSelector(selectIsEditMode);var a=useSelector(selectUpdateJobErrors);react.exports.useEffect(()=>{var e;c&&(e=!o,s(actions$8.setUpdateJobErrors({add:e,tabIndex:1})))},[c,o]);return jsxRuntime.exports.jsxs("div",Object.assign({className:t.selectSourceContainer},{children:[jsxRuntime.exports.jsx(Typography,Object.assign({variant:"h5"},{children:SHARED_TEXT.sourceSelectTitle()})),jsxRuntime.exports.jsx(Typography,Object.assign({variant:"caption"},{children:SHARED_TEXT.sourceSelectSubTitle()})),jsxRuntime.exports.jsx("div",Object.assign({className:t.selectContainer},{children:jsxRuntime.exports.jsx(SelectSource,{sourceTypeIds:e,sourceSelected:o,onChangeSource:e=>{s(actions$7.setSourceSelected(e))},isAffiliate:!1})})),jsxRuntime.exports.jsx("div",Object.assign({className:t.advancedSettings},{children:jsxRuntime.exports.jsx(Button,Object.assign({"data-test":"processing-center-ingestion-advanced-settings-button",onClick:()=>{var e={header:{title:"Advanced Settings"},divider:!1,type:"APP_BAR_PANEL_TEMPLATE",marginTop:r?0:55,marginStart:r?0:80,size:"small",zIndex:r?1011:1002,parentPanelId:"PROCESSING_CENTER_INGESTION",dimmed:0,dimmedStatus:"dimParent"};s(mountPanel({panelId:"PROCESSING_CENTER_ADVANCED_SETTINGS",microFrontend:{name:"PROCESSING_CENTER_ADVANCED_SETTINGS",config:{}},panelConfig:e}))},variant:"outlined",startIcon:jsxRuntime.exports.jsx(default_1,{}),disabled:!o},{children:SHARED_TEXT.advancedSettingsButton()}))})),jsxRuntime.exports.jsx(PanelControls$1,{disableNext:!o||0<a.length,disableBack:!1,nextButtonType:c?ENextButtonType.UPDATE_SCHEDULED_JOB:ENextButtonType.NEXT})]}))};export{SelectSourceStep as default};
|
package/js-core.esm74.js.gz
CHANGED
|
Binary file
|
package/js-core.esm75.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{u as useStyles,s as selectIsFullScreen,a as selectSourceSelected,b as selectIsEditMode,c as selectUpdateJobErrors,d as actions$8,S as SHARED_TEXT,e as SelectSource,P as PanelControls$1,E as ENextButtonType,f as actions$7}from"./js-core.esm65.js";import{i as createSvgIcon,k as interopRequireDefault,j as jsxRuntime,l as useDispatch,n as useSelector,r as react,T as Typography,K as Button,cw as mountPanel}from"./js-core.esm.js";import"./js-core.esm38.js";import"./js-core.esm59.js";import"./js-core.esm40.js";import"./js-core.esm20.js";import"./js-core.esm30.js";import"./js-core.esm9.js";import"./js-core.esm42.js";import"./js-core.esm23.js";import"./js-core.esm32.js";import"./js-core.esm33.js";import"./js-core.esm10.js";import"./js-core.esm60.js";import"./js-core.esm28.js";import"./js-core.esm34.js";import"./js-core.esm66.js";import"./js-core.esm43.js";import"./js-core.esm27.js";import"./js-core.esm39.js";import"./js-core.esm5.js";import"./js-core.esm41.js";import"./js-core.esm11.js";import"./js-core.esm44.js";import"./js-core.esm36.js";import"./js-core.esm35.js";import"./js-core.esm17.js";import"./js-core.esm29.js";import"./js-core.esm24.js";var Settings={},_interopRequireDefault=interopRequireDefault.exports,default_1=(Object.defineProperty(Settings,"__esModule",{value:!0}),Settings.default=void 0),_createSvgIcon=_interopRequireDefault(createSvgIcon),_jsxRuntime=jsxRuntime.exports,_default=(0,_createSvgIcon.default)((0,_jsxRuntime.jsx)("path",{d:"M19.14 12.94c.04-.3.06-.61.06-.94 0-.32-.02-.64-.07-.94l2.03-1.58c.18-.14.23-.41.12-.61l-1.92-3.32c-.12-.22-.37-.29-.59-.22l-2.39.96c-.5-.38-1.03-.7-1.62-.94l-.36-2.54c-.04-.24-.24-.41-.48-.41h-3.84c-.24 0-.43.17-.47.41l-.36 2.54c-.59.24-1.13.57-1.62.94l-2.39-.96c-.22-.08-.47 0-.59.22L2.74 8.87c-.12.21-.08.47.12.61l2.03 1.58c-.05.3-.09.63-.09.94s.02.64.07.94l-2.03 1.58c-.18.14-.23.41-.12.61l1.92 3.32c.12.22.37.29.59.22l2.39-.96c.5.38 1.03.7 1.62.94l.36 2.54c.05.24.24.41.48.41h3.84c.24 0 .44-.17.47-.41l.36-2.54c.59-.24 1.13-.56 1.62-.94l2.39.96c.22.08.47 0 .59-.22l1.92-3.32c.12-.22.07-.47-.12-.61l-2.01-1.58zM12 15.6c-1.98 0-3.6-1.62-3.6-3.6s1.62-3.6 3.6-3.6 3.6 1.62 3.6 3.6-1.62 3.6-3.6 3.6z"}),"Settings"),default_1=Settings.default=_default;const SelectSourceStep=({sourceTypeIds:e})=>{const s=useDispatch();var t=useStyles()["classes"];const r=useSelector(selectIsFullScreen),o=useSelector(selectSourceSelected);const c=useSelector(selectIsEditMode);var a=useSelector(selectUpdateJobErrors);react.exports.useEffect(()=>{var e;c&&(e=!o,s(actions$8.setUpdateJobErrors({add:e,tabIndex:1})))},[c,o]);return jsxRuntime.exports.jsxs("div",Object.assign({className:t.selectSourceContainer},{children:[jsxRuntime.exports.jsx(Typography,Object.assign({variant:"h5"},{children:SHARED_TEXT.sourceSelectTitle()})),jsxRuntime.exports.jsx(Typography,Object.assign({variant:"caption"},{children:SHARED_TEXT.sourceSelectSubTitle()})),jsxRuntime.exports.jsx("div",Object.assign({className:t.selectContainer},{children:jsxRuntime.exports.jsx(SelectSource,{sourceTypeIds:e,sourceSelected:o,onChangeSource:e=>{s(actions$7.setSourceSelected(e))},isAffiliate:!1})})),jsxRuntime.exports.jsx("div",Object.assign({className:t.advancedSettings},{children:jsxRuntime.exports.jsx(Button,Object.assign({"data-test":"processing-center-ingestion-advanced-settings-button",onClick:()=>{var e={header:{title:"Advanced Settings"},divider:!1,type:"APP_BAR_PANEL_TEMPLATE",marginTop:r?0:55,marginStart:r?0:80,size:"small",zIndex:r?1011:1002,parentPanelId:"PROCESSING_CENTER_INGESTION",dimmed:0,dimmedStatus:"dimParent"};s(mountPanel({panelId:"PROCESSING_CENTER_ADVANCED_SETTINGS",microFrontend:{name:"PROCESSING_CENTER_ADVANCED_SETTINGS",config:{}},panelConfig:e}))},variant:"outlined",startIcon:jsxRuntime.exports.jsx(default_1,{}),disabled:!o},{children:SHARED_TEXT.advancedSettingsButton()}))})),jsxRuntime.exports.jsx(PanelControls$1,{disableNext:!o||0<a.length,disableBack:!1,nextButtonType:c?ENextButtonType.UPDATE_SCHEDULED_JOB:ENextButtonType.NEXT})]}))};export{SelectSourceStep as default};
|
|
1
|
+
import{g as selectScheduleName,h as selectBasicInfoInvalidFields,b as selectIsEditMode,c as selectUpdateJobErrors,d as actions$8,P as PanelControls$1,E as ENextButtonType,i as defineIterator$1,j as fails$l,w as wellKnownSymbol$i,k as functionUncurryThis,_ as _export,l as global$o,m as defineBuiltIn$7,n as setToStringTag$3,o as createIteratorConstructor$1,p as isCallable$n,q as descriptors,r as functionBindContext,t as objectAssign,v as engineUserAgent,x as aCallable$7,y as toObject$4,z as lengthOfArrayLike$2$1,A as engineV8Version,B as selectPrograms,C as selectBasicInfoMeta,T as TvField,D as selectActiveEngine,F as actions$5,S as SHARED_TEXT,s as selectIsFullScreen,G as EAffiliatePanelView,H as toString$7,I as internalState,J as anInstance$1$1,K as classof$6,L as isObject$8,M as objectCreate,N as createPropertyDescriptor$3,O as validateArgumentsLength$1$1,Q as selectBasicInfoAffiliates,R as stringMultibyte,U as makeBuiltIn$2,V as objectDefineProperty,W as functionCall,X as hasOwnProperty_1,Y as anObject$e,Z as getIterator$1$1,$ as getIteratorMethod$2,a0 as tryToString$4,a1 as format,a2 as DayTimeslotsContainer,a3 as getEnabledDays,a4 as requiredArgs,a5 as toInteger,a6 as isArrayIteratorMethod$1,a7 as isConstructor$1,a8 as toAbsoluteIndex$1,a9 as iteratorClose$1,aa as toPropertyKey$2}from"./js-core.esm64.js";import{i as createSvgIcon,k as interopRequireDefault,j as jsxRuntime,m as makeStyles,l as useDispatch,n as useSelector,r as react,T as Typography,x as FormControl,y as TextField,cy as userSelector,N as Divider,F as FormattedMessage,am as Tooltip,I as InputLabel,H as Select,M as MenuItem,aB as FormControlLabel,aC as Checkbox,dt as guid,K as Button,aO as TableContainer,aP as Table,aQ as TableHead,aR as TableRow,aS as TableCell,aU as TableBody,cw as mountPanel,E as IconButton,cO as Collapse,B as Box}from"./js-core.esm.js";import{d as default_1$2,a as default_1$3}from"./js-core.esm22.js";import{d as default_1$1}from"./js-core.esm33.js";import"./js-core.esm38.js";import"./js-core.esm58.js";import"./js-core.esm40.js";import"./js-core.esm20.js";import"./js-core.esm30.js";import"./js-core.esm9.js";import"./js-core.esm42.js";import"./js-core.esm23.js";import"./js-core.esm32.js";import"./js-core.esm10.js";import"./js-core.esm59.js";import"./js-core.esm28.js";import"./js-core.esm34.js";import"./js-core.esm65.js";import"./js-core.esm43.js";import"./js-core.esm27.js";import"./js-core.esm39.js";import"./js-core.esm5.js";import"./js-core.esm41.js";import"./js-core.esm11.js";import"./js-core.esm36.js";import"./js-core.esm44.js";import"./js-core.esm35.js";import"./js-core.esm17.js";import"./js-core.esm29.js";import"./js-core.esm24.js";var Edit={},_interopRequireDefault=interopRequireDefault.exports,default_1=(Object.defineProperty(Edit,"__esModule",{value:!0}),Edit.default=void 0),_createSvgIcon=_interopRequireDefault(createSvgIcon),_jsxRuntime=jsxRuntime.exports,_default=(0,_createSvgIcon.default)((0,_jsxRuntime.jsx)("path",{d:"M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34a.9959.9959 0 0 0-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z"}),"Edit"),default_1=Edit.default=_default,isPure=!1,millisecondsInMinute=6e4,millisecondsInHour=36e5;function parseISO(e,t){requiredArgs(1,arguments);var r,a,n=toInteger(null!=(n=null==t?void 0:t.additionalDigits)?n:2);if(2!==n&&1!==n&&0!==n)throw new RangeError("additionalDigits must be 0, 1 or 2");return"string"!=typeof e&&"[object String]"!==Object.prototype.toString.call(e)||!(r=(a=splitDateString(e)).date?parseDate((n=parseYear(a.date,n)).restDateString,n.year):r)||isNaN(r.getTime())||(n=r.getTime(),r=0,a.time&&(r=parseTime(a.time),isNaN(r)))?new Date(NaN):a.timezone?(a=parseTimezone(a.timezone),isNaN(a)?new Date(NaN):new Date(n+r+a)):(a=new Date(n+r),(n=new Date(0)).setFullYear(a.getUTCFullYear(),a.getUTCMonth(),a.getUTCDate()),n.setHours(a.getUTCHours(),a.getUTCMinutes(),a.getUTCSeconds(),a.getUTCMilliseconds()),n)}var patterns={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},dateRegex=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,timeRegex=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,timezoneRegex=/^([+-])(\d{2})(?::?(\d{2}))?$/;function splitDateString(e){var t,r={},a=e.split(patterns.dateTimeDelimiter);return 2<a.length||(/:/.test(a[0])?t=a[0]:(r.date=a[0],t=a[1],patterns.timeZoneDelimiter.test(r.date)&&(r.date=e.split(patterns.timeZoneDelimiter)[0],t=e.substr(r.date.length,e.length))),t&&((a=patterns.timezone.exec(t))?(r.time=t.replace(a[1],""),r.timezone=a[1]):r.time=t)),r}function parseYear(e,t){var r,a,t=new RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+t)+"})|(\\d{2}|[+-]\\d{"+(2+t)+"})$)"),t=e.match(t);return t?(r=t[1]?parseInt(t[1]):null,{year:null===(a=t[2]?parseInt(t[2]):null)?r:100*a,restDateString:e.slice((t[1]||t[2]).length)}):{year:NaN,restDateString:""}}function parseDate(e,t){var r,a,n,s,i;return null!==t&&(e=e.match(dateRegex))?(i=!!e[4],r=parseDateUnit(e[1]),a=parseDateUnit(e[2])-1,n=parseDateUnit(e[3]),s=parseDateUnit(e[4]),e=parseDateUnit(e[5])-1,i?validateWeekDate(t,s,e)?dayOfISOWeekYear(t,s,e):new Date(NaN):(i=new Date(0),validateDate(t,a,n)&&validateDayOfYearDate(t,r)?(i.setUTCFullYear(t,a,Math.max(r,n)),i):new Date(NaN))):new Date(NaN)}function parseDateUnit(e){return e?parseInt(e):1}function parseTime(e){var t,r,e=e.match(timeRegex);return e&&validateTime(t=parseTimeUnit(e[1]),r=parseTimeUnit(e[2]),e=parseTimeUnit(e[3]))?t*millisecondsInHour+r*millisecondsInMinute+1e3*e:NaN}function parseTimeUnit(e){return e&&parseFloat(e.replace(",","."))||0}function parseTimezone(e){var t,r;return"Z"!==e&&(e=e.match(timezoneRegex))?(t="+"===e[1]?-1:1,validateTimezone(r=parseInt(e[2]),e=e[3]&&parseInt(e[3])||0)?t*(r*millisecondsInHour+e*millisecondsInMinute):NaN):0}function dayOfISOWeekYear(e,t,r){var a=new Date(0);a.setUTCFullYear(e,0,4);e=7*(t-1)+r+1-(a.getUTCDay()||7);return a.setUTCDate(a.getUTCDate()+e),a}var daysInMonths=[31,null,31,30,31,30,31,31,30,31,30,31];function isLeapYearIndex(e){return e%400==0||e%4==0&&e%100!=0}function validateDate(e,t,r){return 0<=t&&t<=11&&1<=r&&r<=(daysInMonths[t]||(isLeapYearIndex(e)?29:28))}function validateDayOfYearDate(e,t){return 1<=t&&t<=(isLeapYearIndex(e)?366:365)}function validateWeekDate(e,t,r){return 1<=t&&t<=53&&0<=r&&r<=6}function validateTime(e,t,r){return 24===e?0===t&&0===r:0<=r&&r<60&&0<=t&&t<60&&0<=e&&e<25}function validateTimezone(e,t){return 0<=t&&t<=59}const useStyles$4=makeStyles()(e=>({sectionContainer:{marginTop:"10px",overflowY:"auto","&::-webkit-scrollbar":{display:"none"}},wrapper:{padding:"24px"},mainContent:{display:"flex"},title:{marginBottom:"4px"},subtitle:{marginBottom:"8px"},sourceInfoContainer:{display:"flex",marginTop:"5px",flexDirection:"column",flexGrow:"1",alignItems:"flex-start"},sourceInputsContainer:{display:"flex",flexDirection:"column",alignItems:"center",marginTop:"5px",width:"100%"},sourceInput:{width:"100%"},avatarContainer:{marginTop:"5px",width:"190px",padding:"0 10px 0 40px"},buttons:{display:"flex",justifyContent:"flex-end",alignItems:"flex-end",padding:"16px",Button:{color:e.palette.grey[700]}},saveButtonEnabled:{color:e.palette.primary.contrastText+" !important"},formControlWrapper:{marginTop:15},inputLabel:{fontFamily:"Nunito",fontWeight:300,display:"block",fontSize:14,color:"#5C6269",marginBottom:6},inputLabelError:{color:e.palette.error.main}}));var headersHas,headersSet,wrapRequestOptions,RequestConstructor,EOF,nativeCreateObjectURL,nativeRevokeObjectURL,charAt$2=stringMultibyte.charAt,toString$1=toString$7,InternalStateModule$2=internalState,defineIterator=defineIterator$1,STRING_ITERATOR="String Iterator",setInternalState$2=InternalStateModule$2.set,getInternalState=InternalStateModule$2.getterFor(STRING_ITERATOR),fails$2=(defineIterator(String,"String",function(e){setInternalState$2(this,{type:STRING_ITERATOR,string:toString$1(e),index:0})},function(){var e=getInternalState(this),t=e.string,r=e.index;return r>=t.length?{value:void 0,done:!0}:(t=charAt$2(t,r),e.index+=t.length,{value:t,done:!1})}),fails$l),wellKnownSymbol$1=wellKnownSymbol$i,IS_PURE=isPure,ITERATOR$1=wellKnownSymbol$i("iterator"),nativeUrl=!fails$2(function(){var e=new URL("b?a=1&b=2&c=3","http://a"),r=e.searchParams,a="";return e.pathname="c%20d",r.forEach(function(e,t){r.delete("b"),a+=t+e}),IS_PURE&&!e.toJSON||!r.sort||"http://a/c%20d?a=1&c=3"!==e.href||"3"!==r.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!r[ITERATOR$1]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==a||"x"!==new URL("http://x",void 0).host}),makeBuiltIn=makeBuiltIn$2.exports,defineProperty=objectDefineProperty,defineBuiltInAccessor$1=function(e,t,r){return r.get&&makeBuiltIn(r.get,t,{getter:!0}),r.set&&makeBuiltIn(r.set,t,{setter:!0}),defineProperty.f(e,t,r)},anObject$1=anObject$e,iteratorClose=iteratorClose$1,callWithSafeIterationClosing$1=function(t,e,r,a){try{return a?e(anObject$1(r)[0],r[1]):e(r)}catch(e){iteratorClose(t,"throw",e)}},toPropertyKey=toPropertyKey$2,definePropertyModule=objectDefineProperty,createPropertyDescriptor$1=createPropertyDescriptor$3,createProperty$2=function(e,t,r){t=toPropertyKey(t);t in e?definePropertyModule.f(e,t,createPropertyDescriptor$1(0,r)):e[t]=r},bind$2=functionBindContext,call$1=functionCall,toObject$1=toObject$4,callWithSafeIterationClosing=callWithSafeIterationClosing$1,isArrayIteratorMethod=isArrayIteratorMethod$1,isConstructor=isConstructor$1,lengthOfArrayLike$2=lengthOfArrayLike$2$1,createProperty$1=createProperty$2,getIterator$1=getIterator$1$1,getIteratorMethod$1=getIteratorMethod$2,$Array$1=Array,arrayFrom$1=function(e){var t,r,a,n,s,i,o=toObject$1(e),l=isConstructor(this),c=arguments.length,u=1<c?arguments[1]:void 0,d=void 0!==u,c=(d&&(u=bind$2(u,2<c?arguments[2]:void 0)),getIteratorMethod$1(o)),p=0;if(!c||this===$Array$1&&isArrayIteratorMethod(c))for(t=lengthOfArrayLike$2(o),r=l?new this(t):$Array$1(t);p<t;p++)i=d?u(o[p],p):o[p],createProperty$1(r,p,i);else for(s=(n=getIterator$1(o,c)).next,r=l?new this:[];!(a=call$1(s,n)).done;p++)i=d?callWithSafeIterationClosing(n,u,[a.value,p],!0):a.value,createProperty$1(r,p,i);return r.length=p,r},toAbsoluteIndex=toAbsoluteIndex$1,lengthOfArrayLike$1=lengthOfArrayLike$2$1,createProperty=createProperty$2,$Array=Array,max=Math.max,arraySliceSimple=function(e,t,r){for(var a=lengthOfArrayLike$1(e),n=toAbsoluteIndex(t,a),s=toAbsoluteIndex(void 0===r?a:r,a),i=$Array(max(s-n,0)),o=0;n<s;n++,o++)createProperty(i,o,e[n]);return i.length=o,i},uncurryThis$3=functionUncurryThis,maxInt=2147483647,base=36,tMin=1,tMax=26,skew=38,damp=700,initialBias=72,initialN=128,delimiter="-",regexNonASCII=/[^\0-\u007E]/,regexSeparators=/[.\u3002\uFF0E\uFF61]/g,OVERFLOW_ERROR="Overflow: input needs wider integers to process",baseMinusTMin=base-tMin,$RangeError=RangeError,exec$1=uncurryThis$3(regexSeparators.exec),floor$2=Math.floor,fromCharCode=String.fromCharCode,charCodeAt=uncurryThis$3("".charCodeAt),join$2=uncurryThis$3([].join),push$3=uncurryThis$3([].push),replace$2=uncurryThis$3("".replace),split$2=uncurryThis$3("".split),toLowerCase$1=uncurryThis$3("".toLowerCase),ucs2decode=function(e){for(var t=[],r=0,a=e.length;r<a;){var n,s=charCodeAt(e,r++);55296<=s&&s<=56319&&r<a?56320==(64512&(n=charCodeAt(e,r++)))?push$3(t,((1023&s)<<10)+(1023&n)+65536):(push$3(t,s),r--):push$3(t,s)}return t},digitToBasic=function(e){return e+22+75*(e<26)},adapt=function(e,t,r){var a=0;for(e=r?floor$2(e/damp):e>>1,e+=floor$2(e/t);baseMinusTMin*tMax>>1<e;)e=floor$2(e/baseMinusTMin),a+=base;return floor$2(a+(baseMinusTMin+1)*e/(e+skew))},encode=function(e){var t,r=[],a=(e=ucs2decode(e)).length,n=initialN,s=0,i=initialBias;for(u=0;u<e.length;u++)(t=e[u])<128&&push$3(r,fromCharCode(t));var o=r.length,l=o;for(o&&push$3(r,delimiter);l<a;){for(var c=maxInt,u=0;u<e.length;u++)n<=(t=e[u])&&t<c&&(c=t);var d=l+1;if(c-n>floor$2((maxInt-s)/d))throw $RangeError(OVERFLOW_ERROR);for(s+=(c-n)*d,n=c,u=0;u<e.length;u++){if((t=e[u])<n&&++s>maxInt)throw $RangeError(OVERFLOW_ERROR);if(t==n){for(var p=s,h=base;;){var m=h<=i?tMin:i+tMax<=h?tMax:h-i;if(p<m)break;var g=p-m,f=base-m;push$3(r,fromCharCode(digitToBasic(m+g%f))),p=floor$2(g/f),h+=base}push$3(r,fromCharCode(digitToBasic(p))),i=adapt(s,d,l==o),s=0,l++}}s++,n++}return join$2(r,"")},stringPunycodeToAscii=function(e){for(var t,r=[],a=split$2(replace$2(toLowerCase$1(e),regexSeparators,"."),"."),n=0;n<a.length;n++)t=a[n],push$3(r,exec$1(regexNonASCII,t)?"xn--"+encode(t):t);return join$2(r,".")},defineBuiltIn$2=defineBuiltIn$7,defineBuiltIns$1=function(e,t,r){for(var a in t)defineBuiltIn$2(e,a,t[a],r);return e},arraySlice$1=arraySliceSimple,floor$1=Math.floor,mergeSort=function(e,t){var r=e.length,a=floor$1(r/2);return r<8?insertionSort(e,t):merge(e,mergeSort(arraySlice$1(e,0,a),t),mergeSort(arraySlice$1(e,a),t),t)},insertionSort=function(e,t){for(var r,a,n=e.length,s=1;s<n;){for(r=e[a=s];a&&0<t(e[a-1],r);)e[a]=e[--a];a!==s++&&(e[a]=r)}return e},merge=function(e,t,r,a){for(var n=t.length,s=r.length,i=0,o=0;i<n||o<s;)e[i+o]=i<n&&o<s?a(t[i],r[o])<=0?t[i++]:r[o++]:i<n?t[i++]:r[o++];return e},arraySort$1=mergeSort,$$2=_export,global$1=global$o,call=functionCall,uncurryThis$2=functionUncurryThis,DESCRIPTORS$1=descriptors,USE_NATIVE_URL$1=nativeUrl,defineBuiltIn$1=defineBuiltIn$7,defineBuiltIns=defineBuiltIns$1,setToStringTag$1=setToStringTag$3,createIteratorConstructor=createIteratorConstructor$1,InternalStateModule$1=internalState,anInstance$1=anInstance$1$1,isCallable=isCallable$n,hasOwn$1=hasOwnProperty_1,bind$1=functionBindContext,classof=classof$6,anObject=anObject$e,isObject=isObject$8,$toString$1=toString$7,create=objectCreate,createPropertyDescriptor=createPropertyDescriptor$3,getIterator=getIterator$1$1,getIteratorMethod=getIteratorMethod$2,validateArgumentsLength$1=validateArgumentsLength$1$1,wellKnownSymbol=wellKnownSymbol$i,arraySort=arraySort$1,ITERATOR=wellKnownSymbol$i("iterator"),URL_SEARCH_PARAMS="URLSearchParams",URL_SEARCH_PARAMS_ITERATOR=URL_SEARCH_PARAMS+"Iterator",setInternalState$1=InternalStateModule$1.set,getInternalParamsState=InternalStateModule$1.getterFor(URL_SEARCH_PARAMS),getInternalIteratorState=InternalStateModule$1.getterFor(URL_SEARCH_PARAMS_ITERATOR),getOwnPropertyDescriptor=Object.getOwnPropertyDescriptor,safeGetBuiltIn=function(e){var t;return DESCRIPTORS$1?(t=getOwnPropertyDescriptor(global$1,e))&&t.value:global$1[e]},nativeFetch=safeGetBuiltIn("fetch"),NativeRequest=safeGetBuiltIn("Request"),Headers=safeGetBuiltIn("Headers"),RequestPrototype=NativeRequest&&NativeRequest.prototype,HeadersPrototype=Headers&&Headers.prototype,RegExp$1=global$1.RegExp,TypeError$2=global$1.TypeError,decodeURIComponent=global$1.decodeURIComponent,encodeURIComponent$1=global$1.encodeURIComponent,charAt$1=uncurryThis$2("".charAt),join$1=uncurryThis$2([].join),push$2=uncurryThis$2([].push),replace$1=uncurryThis$2("".replace),shift$1=uncurryThis$2([].shift),splice=uncurryThis$2([].splice),split$1=uncurryThis$2("".split),stringSlice$1=uncurryThis$2("".slice),plus=/\+/g,sequences=Array(4),percentSequence=function(e){return sequences[e-1]||(sequences[e-1]=RegExp$1("((?:%[\\da-f]{2}){"+e+"})","gi"))},percentDecode=function(t){try{return decodeURIComponent(t)}catch(e){return t}},deserialize=function(e){var t=replace$1(e,plus," "),r=4;try{return decodeURIComponent(t)}catch(e){for(;r;)t=replace$1(t,percentSequence(r--),percentDecode);return t}},find=/[!'()~]|%20/g,replacements={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},replacer=function(e){return replacements[e]},serialize=function(e){return replace$1(encodeURIComponent$1(e),find,replacer)},URLSearchParamsIterator=createIteratorConstructor(function(e,t){setInternalState$1(this,{type:URL_SEARCH_PARAMS_ITERATOR,iterator:getIterator(getInternalParamsState(e).entries),kind:t})},"Iterator",function(){var e=getInternalIteratorState(this),t=e.kind,e=e.iterator.next(),r=e.value;return e.done||(e.value="keys"===t?r.key:"values"===t?r.value:[r.key,r.value]),e},!0),URLSearchParamsState=function(e){this.entries=[],this.url=null,void 0!==e&&(isObject(e)?this.parseObject(e):this.parseQuery("string"==typeof e?"?"===charAt$1(e,0)?stringSlice$1(e,1):e:$toString$1(e)))},URLSearchParamsConstructor=(URLSearchParamsState.prototype={type:URL_SEARCH_PARAMS,bindURL:function(e){this.url=e,this.update()},parseObject:function(e){var t,r,a,n,s,i,o=getIteratorMethod(e);if(o)for(r=(t=getIterator(e,o)).next;!(a=call(r,t)).done;){if(n=(a=getIterator(anObject(a.value))).next,(s=call(n,a)).done||(i=call(n,a)).done||!call(n,a).done)throw TypeError$2("Expected sequence with length 2");push$2(this.entries,{key:$toString$1(s.value),value:$toString$1(i.value)})}else for(var l in e)hasOwn$1(e,l)&&push$2(this.entries,{key:l,value:$toString$1(e[l])})},parseQuery:function(e){if(e)for(var t,r=split$1(e,"&"),a=0;a<r.length;)(t=r[a++]).length&&(t=split$1(t,"="),push$2(this.entries,{key:deserialize(shift$1(t)),value:deserialize(join$1(t,"="))}))},serialize:function(){for(var e,t=this.entries,r=[],a=0;a<t.length;)e=t[a++],push$2(r,serialize(e.key)+"="+serialize(e.value));return join$1(r,"&")},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}},function(){anInstance$1(this,URLSearchParamsPrototype),setInternalState$1(this,new URLSearchParamsState(0<arguments.length?arguments[0]:void 0))}),URLSearchParamsPrototype=URLSearchParamsConstructor.prototype,web_urlSearchParams_constructor=(defineBuiltIns(URLSearchParamsPrototype,{append:function(e,t){validateArgumentsLength$1(arguments.length,2);var r=getInternalParamsState(this);push$2(r.entries,{key:$toString$1(e),value:$toString$1(t)}),r.updateURL()},delete:function(e){validateArgumentsLength$1(arguments.length,1);for(var t=getInternalParamsState(this),r=t.entries,a=$toString$1(e),n=0;n<r.length;)r[n].key===a?splice(r,n,1):n++;t.updateURL()},get:function(e){validateArgumentsLength$1(arguments.length,1);for(var t=getInternalParamsState(this).entries,r=$toString$1(e),a=0;a<t.length;a++)if(t[a].key===r)return t[a].value;return null},getAll:function(e){validateArgumentsLength$1(arguments.length,1);for(var t=getInternalParamsState(this).entries,r=$toString$1(e),a=[],n=0;n<t.length;n++)t[n].key===r&&push$2(a,t[n].value);return a},has:function(e){validateArgumentsLength$1(arguments.length,1);for(var t=getInternalParamsState(this).entries,r=$toString$1(e),a=0;a<t.length;)if(t[a++].key===r)return!0;return!1},set:function(e,t){validateArgumentsLength$1(arguments.length,1);for(var r,a=getInternalParamsState(this),n=a.entries,s=!1,i=$toString$1(e),o=$toString$1(t),l=0;l<n.length;l++)(r=n[l]).key===i&&(s?splice(n,l--,1):(s=!0,r.value=o));s||push$2(n,{key:i,value:o}),a.updateURL()},sort:function(){var e=getInternalParamsState(this);arraySort(e.entries,function(e,t){return e.key>t.key?1:-1}),e.updateURL()},forEach:function(e){for(var t,r=getInternalParamsState(this).entries,a=bind$1(e,1<arguments.length?arguments[1]:void 0),n=0;n<r.length;)a((t=r[n++]).value,t.key,this)},keys:function(){return new URLSearchParamsIterator(this,"keys")},values:function(){return new URLSearchParamsIterator(this,"values")},entries:function(){return new URLSearchParamsIterator(this,"entries")}},{enumerable:!0}),defineBuiltIn$1(URLSearchParamsPrototype,ITERATOR,URLSearchParamsPrototype.entries,{name:"entries"}),defineBuiltIn$1(URLSearchParamsPrototype,"toString",function(){return getInternalParamsState(this).serialize()},{enumerable:!0}),setToStringTag$1(URLSearchParamsConstructor,URL_SEARCH_PARAMS),$$2({global:!0,constructor:!0,forced:!USE_NATIVE_URL$1},{URLSearchParams:URLSearchParamsConstructor}),!USE_NATIVE_URL$1&&isCallable(Headers)&&(headersHas=uncurryThis$2(HeadersPrototype.has),headersSet=uncurryThis$2(HeadersPrototype.set),wrapRequestOptions=function(e){if(isObject(e)){var t,r=e.body;if(classof(r)===URL_SEARCH_PARAMS)return t=e.headers?new Headers(e.headers):new Headers,headersHas(t,"content-type")||headersSet(t,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),create(e,{body:createPropertyDescriptor(0,$toString$1(r)),headers:createPropertyDescriptor(0,t)})}return e},isCallable(nativeFetch)&&$$2({global:!0,enumerable:!0,dontCallGetSet:!0,forced:!0},{fetch:function(e){return nativeFetch(e,1<arguments.length?wrapRequestOptions(arguments[1]):{})}}),isCallable(NativeRequest))&&((RequestPrototype.constructor=RequestConstructor=function(e){return anInstance$1(this,RequestPrototype),new NativeRequest(e,1<arguments.length?wrapRequestOptions(arguments[1]):{})}).prototype=RequestPrototype,$$2({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:RequestConstructor})),{URLSearchParams:URLSearchParamsConstructor,getState:getInternalParamsState}),$$1=_export,DESCRIPTORS=descriptors,USE_NATIVE_URL=nativeUrl,global=global$o,bind=functionBindContext,uncurryThis$1=functionUncurryThis,defineBuiltIn=defineBuiltIn$7,defineBuiltInAccessor=defineBuiltInAccessor$1,anInstance=anInstance$1$1,hasOwn=hasOwnProperty_1,assign=objectAssign,arrayFrom=arrayFrom$1,arraySlice=arraySliceSimple,codeAt=stringMultibyte.codeAt,toASCII=stringPunycodeToAscii,$toString=toString$7,setToStringTag=setToStringTag$3,validateArgumentsLength=validateArgumentsLength$1$1,URLSearchParamsModule=web_urlSearchParams_constructor,InternalStateModule=internalState,setInternalState=InternalStateModule.set,getInternalURLState=InternalStateModule.getterFor("URL"),URLSearchParams$1=URLSearchParamsModule.URLSearchParams,getInternalSearchParamsState=URLSearchParamsModule.getState,NativeURL=global.URL,TypeError$1=global.TypeError,parseInt$1=global.parseInt,floor=Math.floor,pow=Math.pow,charAt=uncurryThis$1("".charAt),exec=uncurryThis$1(/./.exec),join=uncurryThis$1([].join),numberToString=uncurryThis$1(1..toString),pop=uncurryThis$1([].pop),push$1=uncurryThis$1([].push),replace=uncurryThis$1("".replace),shift=uncurryThis$1([].shift),split=uncurryThis$1("".split),stringSlice=uncurryThis$1("".slice),toLowerCase=uncurryThis$1("".toLowerCase),unshift=uncurryThis$1([].unshift),INVALID_AUTHORITY="Invalid authority",INVALID_SCHEME="Invalid scheme",INVALID_HOST="Invalid host",INVALID_PORT="Invalid port",ALPHA=/[a-z]/i,ALPHANUMERIC=/[\d+-.a-z]/i,DIGIT=/\d/,HEX_START=/^0x/i,OCT=/^[0-7]+$/,DEC=/^\d+$/,HEX=/^[\da-f]+$/i,FORBIDDEN_HOST_CODE_POINT=/[\0\t\n\r #%/:<>?@[\\\]^|]/,FORBIDDEN_HOST_CODE_POINT_EXCLUDING_PERCENT=/[\0\t\n\r #/:<>?@[\\\]^|]/,LEADING_AND_TRAILING_C0_CONTROL_OR_SPACE=/^[\u0000-\u0020]+|[\u0000-\u0020]+$/g,TAB_AND_NEW_LINE=/[\t\n\r]/g,parseIPv4=function(e){var t,r,a,n,s,i,o,l=split(e,".");if(l.length&&""==l[l.length-1]&&l.length--,4<(t=l.length))return e;for(r=[],a=0;a<t;a++){if(""==(n=l[a]))return e;if(s=10,1<n.length&&"0"==charAt(n,0)&&(s=exec(HEX_START,n)?16:8,n=stringSlice(n,8==s?1:2)),""===n)i=0;else{if(!exec(10==s?DEC:8==s?OCT:HEX,n))return e;i=parseInt$1(n,s)}push$1(r,i)}for(a=0;a<t;a++)if(i=r[a],a==t-1){if(i>=pow(256,5-t))return null}else if(255<i)return null;for(o=pop(r),a=0;a<r.length;a++)o+=r[a]*pow(256,3-a);return o},parseIPv6=function(e){function t(){return charAt(e,p)}var r,a,n,s,i,o,l,c=[0,0,0,0,0,0,0,0],u=0,d=null,p=0;if(":"==t()){if(":"!=charAt(e,1))return;p+=2,d=++u}for(;t();){if(8==u)return;if(":"==t()){if(null!==d)return;p++,d=++u}else{for(r=a=0;a<4&&exec(HEX,t());)r=16*r+parseInt$1(t(),16),p++,a++;if("."==t()){if(0==a)return;if(p-=a,6<u)return;for(n=0;t();){if(s=null,0<n){if(!("."==t()&&n<4))return;p++}if(!exec(DIGIT,t()))return;for(;exec(DIGIT,t());){if(i=parseInt$1(t(),10),null===s)s=i;else{if(0==s)return;s=10*s+i}if(255<s)return;p++}c[u]=256*c[u]+s,2!=++n&&4!=n||u++}if(4!=n)return;break}if(":"==t()){if(p++,!t())return}else if(t())return;c[u++]=r}}if(null!==d)for(o=u-d,u=7;0!=u&&0<o;)l=c[u],c[u--]=c[d+o-1],c[d+--o]=l;else if(8!=u)return;return c},findLongestZeroSequence=function(e){for(var t=null,r=1,a=null,n=0,s=0;s<8;s++)0!==e[s]?(r<n&&(t=a,r=n),a=null,n=0):(null===a&&(a=s),++n);return r<n&&(t=a,r=n),t},serializeHost=function(e){var t,r,a,n;if("number"==typeof e){for(t=[],r=0;r<4;r++)unshift(t,e%256),e=floor(e/256);return join(t,".")}if("object"!=typeof e)return e;for(t="",a=findLongestZeroSequence(e),r=0;r<8;r++)n&&0===e[r]||(n=n&&!1,a===r?(t+=r?":":"::",n=!0):(t+=numberToString(e[r],16),r<7&&(t+=":")));return"["+t+"]"},C0ControlPercentEncodeSet={},fragmentPercentEncodeSet=assign({},C0ControlPercentEncodeSet,{" ":1,'"':1,"<":1,">":1,"`":1}),pathPercentEncodeSet=assign({},fragmentPercentEncodeSet,{"#":1,"?":1,"{":1,"}":1}),userinfoPercentEncodeSet=assign({},pathPercentEncodeSet,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),percentEncode=function(e,t){var r=codeAt(e,0);return 32<r&&r<127&&!hasOwn(t,e)?e:encodeURIComponent(e)},specialSchemes={ftp:21,file:null,http:80,https:443,ws:80,wss:443},isWindowsDriveLetter=function(e,t){return 2==e.length&&exec(ALPHA,charAt(e,0))&&(":"==(e=charAt(e,1))||!t&&"|"==e)},startsWithWindowsDriveLetter=function(e){return 1<e.length&&isWindowsDriveLetter(stringSlice(e,0,2))&&(2==e.length||"/"===(e=charAt(e,2))||"\\"===e||"?"===e||"#"===e)},isSingleDot=function(e){return"."===e||"%2e"===toLowerCase(e)},isDoubleDot=function(e){return".."===(e=toLowerCase(e))||"%2e."===e||".%2e"===e||"%2e%2e"===e},SCHEME_START={},SCHEME={},NO_SCHEME={},SPECIAL_RELATIVE_OR_AUTHORITY={},PATH_OR_AUTHORITY={},RELATIVE={},RELATIVE_SLASH={},SPECIAL_AUTHORITY_SLASHES={},SPECIAL_AUTHORITY_IGNORE_SLASHES={},AUTHORITY={},HOST={},HOSTNAME={},PORT={},FILE={},FILE_SLASH={},FILE_HOST={},PATH_START={},PATH={},CANNOT_BE_A_BASE_URL_PATH={},QUERY={},FRAGMENT={},URLState=function(e,t,r){var a,n,e=$toString(e);if(t){if(n=this.parse(e))throw TypeError$1(n);this.searchParams=null}else{if(void 0!==r&&(a=new URLState(r,!0)),n=this.parse(e,null,a))throw TypeError$1(n);(t=getInternalSearchParamsState(new URLSearchParams$1)).bindURL(this),this.searchParams=t}},URLConstructor=(URLState.prototype={type:"URL",parse:function(e,t,r){var a,n,s,i=this,o=t||SCHEME_START,l=0,c="",u=!1,d=!1,p=!1;for(e=$toString(e),t||(i.scheme="",i.username="",i.password="",i.host=null,i.port=null,i.path=[],i.query=null,i.fragment=null,i.cannotBeABaseURL=!1,e=replace(e,LEADING_AND_TRAILING_C0_CONTROL_OR_SPACE,"")),e=replace(e,TAB_AND_NEW_LINE,""),a=arrayFrom(e);l<=a.length;){switch(n=a[l],o){case SCHEME_START:if(!n||!exec(ALPHA,n)){if(t)return INVALID_SCHEME;o=NO_SCHEME;continue}c+=toLowerCase(n),o=SCHEME;break;case SCHEME:if(n&&(exec(ALPHANUMERIC,n)||"+"==n||"-"==n||"."==n))c+=toLowerCase(n);else{if(":"!=n){if(t)return INVALID_SCHEME;c="",o=NO_SCHEME,l=0;continue}if(t&&(i.isSpecial()!=hasOwn(specialSchemes,c)||"file"==c&&(i.includesCredentials()||null!==i.port)||"file"==i.scheme&&!i.host))return;if(i.scheme=c,t)return void(i.isSpecial()&&specialSchemes[i.scheme]==i.port&&(i.port=null));c="","file"==i.scheme?o=FILE:i.isSpecial()&&r&&r.scheme==i.scheme?o=SPECIAL_RELATIVE_OR_AUTHORITY:i.isSpecial()?o=SPECIAL_AUTHORITY_SLASHES:"/"==a[l+1]?(o=PATH_OR_AUTHORITY,l++):(i.cannotBeABaseURL=!0,push$1(i.path,""),o=CANNOT_BE_A_BASE_URL_PATH)}break;case NO_SCHEME:if(!r||r.cannotBeABaseURL&&"#"!=n)return INVALID_SCHEME;if(r.cannotBeABaseURL&&"#"==n){i.scheme=r.scheme,i.path=arraySlice(r.path),i.query=r.query,i.fragment="",i.cannotBeABaseURL=!0,o=FRAGMENT;break}o="file"==r.scheme?FILE:RELATIVE;continue;case SPECIAL_RELATIVE_OR_AUTHORITY:if("/"!=n||"/"!=a[l+1]){o=RELATIVE;continue}o=SPECIAL_AUTHORITY_IGNORE_SLASHES,l++;break;case PATH_OR_AUTHORITY:if("/"==n){o=AUTHORITY;break}o=PATH;continue;case RELATIVE:if(i.scheme=r.scheme,n==EOF)i.username=r.username,i.password=r.password,i.host=r.host,i.port=r.port,i.path=arraySlice(r.path),i.query=r.query;else if("/"==n||"\\"==n&&i.isSpecial())o=RELATIVE_SLASH;else if("?"==n)i.username=r.username,i.password=r.password,i.host=r.host,i.port=r.port,i.path=arraySlice(r.path),i.query="",o=QUERY;else{if("#"!=n){i.username=r.username,i.password=r.password,i.host=r.host,i.port=r.port,i.path=arraySlice(r.path),i.path.length--,o=PATH;continue}i.username=r.username,i.password=r.password,i.host=r.host,i.port=r.port,i.path=arraySlice(r.path),i.query=r.query,i.fragment="",o=FRAGMENT}break;case RELATIVE_SLASH:if(!i.isSpecial()||"/"!=n&&"\\"!=n){if("/"!=n){i.username=r.username,i.password=r.password,i.host=r.host,i.port=r.port,o=PATH;continue}o=AUTHORITY}else o=SPECIAL_AUTHORITY_IGNORE_SLASHES;break;case SPECIAL_AUTHORITY_SLASHES:if(o=SPECIAL_AUTHORITY_IGNORE_SLASHES,"/"!=n||"/"!=charAt(c,l+1))continue;l++;break;case SPECIAL_AUTHORITY_IGNORE_SLASHES:if("/"==n||"\\"==n)break;o=AUTHORITY;continue;case AUTHORITY:if("@"==n){u&&(c="%40"+c);for(var u=!0,h=arrayFrom(c),m=0;m<h.length;m++){var g=h[m];":"!=g||p?(g=percentEncode(g,userinfoPercentEncodeSet),p?i.password+=g:i.username+=g):p=!0}c=""}else if(n==EOF||"/"==n||"?"==n||"#"==n||"\\"==n&&i.isSpecial()){if(u&&""==c)return INVALID_AUTHORITY;l-=arrayFrom(c).length+1,c="",o=HOST}else c+=n;break;case HOST:case HOSTNAME:if(t&&"file"==i.scheme){o=FILE_HOST;continue}if(":"!=n||d){if(n==EOF||"/"==n||"?"==n||"#"==n||"\\"==n&&i.isSpecial()){if(i.isSpecial()&&""==c)return INVALID_HOST;if(t&&""==c&&(i.includesCredentials()||null!==i.port))return;if(s=i.parseHost(c))return s;if(c="",o=PATH_START,t)return;continue}"["==n?d=!0:"]"==n&&(d=!1),c+=n}else{if(""==c)return INVALID_HOST;if(s=i.parseHost(c))return s;if(c="",o=PORT,t==HOSTNAME)return}break;case PORT:if(!exec(DIGIT,n)){if(n==EOF||"/"==n||"?"==n||"#"==n||"\\"==n&&i.isSpecial()||t){if(""!=c){var f=parseInt$1(c,10);if(65535<f)return INVALID_PORT;i.port=i.isSpecial()&&f===specialSchemes[i.scheme]?null:f,c=""}if(t)return;o=PATH_START;continue}return INVALID_PORT}c+=n;break;case FILE:if(i.scheme="file","/"==n||"\\"==n)o=FILE_SLASH;else{if(!r||"file"!=r.scheme){o=PATH;continue}if(n==EOF)i.host=r.host,i.path=arraySlice(r.path),i.query=r.query;else if("?"==n)i.host=r.host,i.path=arraySlice(r.path),i.query="",o=QUERY;else{if("#"!=n){startsWithWindowsDriveLetter(join(arraySlice(a,l),""))||(i.host=r.host,i.path=arraySlice(r.path),i.shortenPath()),o=PATH;continue}i.host=r.host,i.path=arraySlice(r.path),i.query=r.query,i.fragment="",o=FRAGMENT}}break;case FILE_SLASH:if("/"==n||"\\"==n){o=FILE_HOST;break}r&&"file"==r.scheme&&!startsWithWindowsDriveLetter(join(arraySlice(a,l),""))&&(isWindowsDriveLetter(r.path[0],!0)?push$1(i.path,r.path[0]):i.host=r.host),o=PATH;continue;case FILE_HOST:if(n==EOF||"/"==n||"\\"==n||"?"==n||"#"==n){if(!t&&isWindowsDriveLetter(c))o=PATH;else{if(""==c){if(i.host="",t)return}else{if(s=i.parseHost(c))return s;if("localhost"==i.host&&(i.host=""),t)return;c=""}o=PATH_START}continue}c+=n;break;case PATH_START:if(i.isSpecial()){if(o=PATH,"/"!=n&&"\\"!=n)continue}else if(t||"?"!=n)if(t||"#"!=n){if(n!=EOF&&(o=PATH,"/"!=n))continue}else i.fragment="",o=FRAGMENT;else i.query="",o=QUERY;break;case PATH:if(n==EOF||"/"==n||"\\"==n&&i.isSpecial()||!t&&("?"==n||"#"==n)){if(isDoubleDot(c)?(i.shortenPath(),"/"==n||"\\"==n&&i.isSpecial()||push$1(i.path,"")):isSingleDot(c)?"/"==n||"\\"==n&&i.isSpecial()||push$1(i.path,""):("file"==i.scheme&&!i.path.length&&isWindowsDriveLetter(c)&&(i.host&&(i.host=""),c=charAt(c,0)+":"),push$1(i.path,c)),c="","file"==i.scheme&&(n==EOF||"?"==n||"#"==n))for(;1<i.path.length&&""===i.path[0];)shift(i.path);"?"==n?(i.query="",o=QUERY):"#"==n&&(i.fragment="",o=FRAGMENT)}else c+=percentEncode(n,pathPercentEncodeSet);break;case CANNOT_BE_A_BASE_URL_PATH:"?"==n?(i.query="",o=QUERY):"#"==n?(i.fragment="",o=FRAGMENT):n!=EOF&&(i.path[0]+=percentEncode(n,C0ControlPercentEncodeSet));break;case QUERY:t||"#"!=n?n!=EOF&&("'"==n&&i.isSpecial()?i.query+="%27":i.query+="#"==n?"%23":percentEncode(n,C0ControlPercentEncodeSet)):(i.fragment="",o=FRAGMENT);break;case FRAGMENT:n!=EOF&&(i.fragment+=percentEncode(n,fragmentPercentEncodeSet))}l++}},parseHost:function(e){var t,r,a;if("["==charAt(e,0))return"]"==charAt(e,e.length-1)&&(t=parseIPv6(stringSlice(e,1,-1)))?void(this.host=t):INVALID_HOST;if(this.isSpecial())return e=toASCII(e),exec(FORBIDDEN_HOST_CODE_POINT,e)||null===(t=parseIPv4(e))?INVALID_HOST:void(this.host=t);if(exec(FORBIDDEN_HOST_CODE_POINT_EXCLUDING_PERCENT,e))return INVALID_HOST;for(t="",r=arrayFrom(e),a=0;a<r.length;a++)t+=percentEncode(r[a],C0ControlPercentEncodeSet);this.host=t},cannotHaveUsernamePasswordPort:function(){return!this.host||this.cannotBeABaseURL||"file"==this.scheme},includesCredentials:function(){return""!=this.username||""!=this.password},isSpecial:function(){return hasOwn(specialSchemes,this.scheme)},shortenPath:function(){var e=this.path,t=e.length;!t||"file"==this.scheme&&1==t&&isWindowsDriveLetter(e[0],!0)||e.length--},serialize:function(){var e=this,t=e.scheme,r=e.username,a=e.password,n=e.host,s=e.port,i=e.path,o=e.query,l=e.fragment,c=t+":";return null!==n?(c+="//",e.includesCredentials()&&(c+=r+(a?":"+a:"")+"@"),c+=serializeHost(n),null!==s&&(c+=":"+s)):"file"==t&&(c+="//"),c+=e.cannotBeABaseURL?i[0]:i.length?"/"+join(i,"/"):"",null!==o&&(c+="?"+o),null!==l&&(c+="#"+l),c},setHref:function(e){e=this.parse(e);if(e)throw TypeError$1(e);this.searchParams.update()},getOrigin:function(){var e=this.scheme,t=this.port;if("blob"==e)try{return new URLConstructor(e.path[0]).origin}catch(e){return"null"}return"file"!=e&&this.isSpecial()?e+"://"+serializeHost(this.host)+(null!==t?":"+t:""):"null"},getProtocol:function(){return this.scheme+":"},setProtocol:function(e){this.parse($toString(e)+":",SCHEME_START)},getUsername:function(){return this.username},setUsername:function(e){var t=arrayFrom($toString(e));if(!this.cannotHaveUsernamePasswordPort()){this.username="";for(var r=0;r<t.length;r++)this.username+=percentEncode(t[r],userinfoPercentEncodeSet)}},getPassword:function(){return this.password},setPassword:function(e){var t=arrayFrom($toString(e));if(!this.cannotHaveUsernamePasswordPort()){this.password="";for(var r=0;r<t.length;r++)this.password+=percentEncode(t[r],userinfoPercentEncodeSet)}},getHost:function(){var e=this.host,t=this.port;return null===e?"":null===t?serializeHost(e):serializeHost(e)+":"+t},setHost:function(e){this.cannotBeABaseURL||this.parse(e,HOST)},getHostname:function(){var e=this.host;return null===e?"":serializeHost(e)},setHostname:function(e){this.cannotBeABaseURL||this.parse(e,HOSTNAME)},getPort:function(){var e=this.port;return null===e?"":$toString(e)},setPort:function(e){this.cannotHaveUsernamePasswordPort()||(""==(e=$toString(e))?this.port=null:this.parse(e,PORT))},getPathname:function(){var e=this.path;return this.cannotBeABaseURL?e[0]:e.length?"/"+join(e,"/"):""},setPathname:function(e){this.cannotBeABaseURL||(this.path=[],this.parse(e,PATH_START))},getSearch:function(){var e=this.query;return e?"?"+e:""},setSearch:function(e){""==(e=$toString(e))?this.query=null:("?"==charAt(e,0)&&(e=stringSlice(e,1)),this.query="",this.parse(e,QUERY)),this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var e=this.fragment;return e?"#"+e:""},setHash:function(e){""==(e=$toString(e))?this.fragment=null:("#"==charAt(e,0)&&(e=stringSlice(e,1)),this.fragment="",this.parse(e,FRAGMENT))},update:function(){this.query=this.searchParams.serialize()||null}},function(e){var t=anInstance(this,URLPrototype),r=1<validateArgumentsLength(arguments.length,1)?arguments[1]:void 0,r=setInternalState(t,new URLState(e,!1,r));DESCRIPTORS||(t.href=r.serialize(),t.origin=r.getOrigin(),t.protocol=r.getProtocol(),t.username=r.getUsername(),t.password=r.getPassword(),t.host=r.getHost(),t.hostname=r.getHostname(),t.port=r.getPort(),t.pathname=r.getPathname(),t.search=r.getSearch(),t.searchParams=r.getSearchParams(),t.hash=r.getHash())}),URLPrototype=URLConstructor.prototype,accessorDescriptor=function(e,t){return{get:function(){return getInternalURLState(this)[e]()},set:t&&function(e){return getInternalURLState(this)[t](e)},configurable:!0,enumerable:!0}};DESCRIPTORS&&(defineBuiltInAccessor(URLPrototype,"href",accessorDescriptor("serialize","setHref")),defineBuiltInAccessor(URLPrototype,"origin",accessorDescriptor("getOrigin")),defineBuiltInAccessor(URLPrototype,"protocol",accessorDescriptor("getProtocol","setProtocol")),defineBuiltInAccessor(URLPrototype,"username",accessorDescriptor("getUsername","setUsername")),defineBuiltInAccessor(URLPrototype,"password",accessorDescriptor("getPassword","setPassword")),defineBuiltInAccessor(URLPrototype,"host",accessorDescriptor("getHost","setHost")),defineBuiltInAccessor(URLPrototype,"hostname",accessorDescriptor("getHostname","setHostname")),defineBuiltInAccessor(URLPrototype,"port",accessorDescriptor("getPort","setPort")),defineBuiltInAccessor(URLPrototype,"pathname",accessorDescriptor("getPathname","setPathname")),defineBuiltInAccessor(URLPrototype,"search",accessorDescriptor("getSearch","setSearch")),defineBuiltInAccessor(URLPrototype,"searchParams",accessorDescriptor("getSearchParams")),defineBuiltInAccessor(URLPrototype,"hash",accessorDescriptor("getHash","setHash"))),defineBuiltIn(URLPrototype,"toJSON",function(){return getInternalURLState(this).serialize()},{enumerable:!0}),defineBuiltIn(URLPrototype,"toString",function(){return getInternalURLState(this).serialize()},{enumerable:!0}),NativeURL&&(nativeCreateObjectURL=NativeURL.createObjectURL,nativeRevokeObjectURL=NativeURL.revokeObjectURL,nativeCreateObjectURL&&defineBuiltIn(URLConstructor,"createObjectURL",bind(nativeCreateObjectURL,NativeURL)),nativeRevokeObjectURL)&&defineBuiltIn(URLConstructor,"revokeObjectURL",bind(nativeRevokeObjectURL,NativeURL)),setToStringTag(URLConstructor,"URL"),$$1({global:!0,constructor:!0,forced:!USE_NATIVE_URL,sham:!DESCRIPTORS},{URL:URLConstructor});const useStyles$3=makeStyles()(e=>({sourceInfoContainer:{display:"flex",marginTop:"5px",flexDirection:"column",flexGrow:"1",alignItems:"flex-start"},sourceInputsContainer:{display:"flex",flexDirection:"column",alignItems:"center",marginTop:"5px",width:"100%"},programImagesContainer:{display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"center",width:"100%"},programImageContainer:{width:"100%",boxSizing:"border-box","&:first-of-type":{marginRight:"15px"}},sourceInput:{width:"100%"},formControlWrapper:{marginTop:15}}));var tryToString=tryToString$4,$TypeError=TypeError,deletePropertyOrThrow$1=function(e,t){if(!delete e[t])throw $TypeError("Cannot delete property "+tryToString(t)+" of "+tryToString(e))},fails$1=fails$l,arrayMethodIsStrict$1=function(e,t){var r=[][e];return!!r&&fails$1(function(){r.call(null,t||function(){return 1},1)})},userAgent$1=engineUserAgent,firefox=engineUserAgent.match(/firefox\/(\d+)/i),engineFfVersion=!!firefox&&+firefox[1],UA=engineUserAgent,engineIsIeOrEdge=/MSIE|Trident/.test(UA),userAgent=engineUserAgent,webkit=engineUserAgent.match(/AppleWebKit\/(\d+)\./),engineWebkitVersion=!!webkit&&+webkit[1],$=_export,uncurryThis=functionUncurryThis,aCallable=aCallable$7,toObject=toObject$4,lengthOfArrayLike=lengthOfArrayLike$2$1,deletePropertyOrThrow=deletePropertyOrThrow$1,toString=toString$7,fails=fails$l,internalSort=arraySort$1,arrayMethodIsStrict=arrayMethodIsStrict$1,FF=engineFfVersion,IE_OR_EDGE=engineIsIeOrEdge,V8=engineV8Version,WEBKIT=engineWebkitVersion,test=[],un$Sort=uncurryThis(test.sort),push=uncurryThis(test.push),FAILS_ON_UNDEFINED=fails(function(){test.sort(void 0)}),FAILS_ON_NULL=fails(function(){test.sort(null)}),STRICT_METHOD=arrayMethodIsStrict("sort"),STABLE_SORT=!fails(function(){if(V8)return V8<70;if(!(FF&&3<FF)){if(IE_OR_EDGE)return!0;if(WEBKIT)return WEBKIT<603;for(var e,t,r,a="",n=65;n<76;n++){switch(e=String.fromCharCode(n),n){case 66:case 69:case 70:case 72:t=3;break;case 68:case 71:t=4;break;default:t=2}for(r=0;r<47;r++)test.push({k:e+r,v:t})}for(test.sort(function(e,t){return t.v-e.v}),r=0;r<test.length;r++)e=test[r].k.charAt(0),a.charAt(a.length-1)!==e&&(a+=e);return"DGBEFHACIJK"!==a}}),FORCED=FAILS_ON_UNDEFINED||!FAILS_ON_NULL||!STRICT_METHOD||!STABLE_SORT,getSortCompare=function(r){return function(e,t){return void 0===t?-1:void 0===e?1:void 0!==r?+r(e,t)||0:toString(e)>toString(t)?1:-1}};function createData(e){var t=[];for(const a in e){var r={source:e[a].source,startDate:e[a].startDate,stopDate:e[a].stopDate,schedule:e[a].schedule};t.push(r)}return t.sort((e,t)=>{e=e.source.name,t=t.source.name;return e<t?-1:t<e?1:0})}function Row(e){const r=e["row"],[t,a]=react.exports.useState(!1),n=useDispatch(),s=useSelector(selectIsFullScreen);return jsxRuntime.exports.jsxs(react.exports.Fragment,{children:[jsxRuntime.exports.jsxs(TableRow,Object.assign({sx:{"&:last-child td, &:last-child th":{border:0}}},{children:[jsxRuntime.exports.jsx(TableCell,Object.assign({"data-testid":"ingestion-job-affiliate-table-id-"+r.source.id,sx:{padding:"5px 5px"},component:"th",scope:"row"},{children:r.source.id})),jsxRuntime.exports.jsx(TableCell,Object.assign({"data-testid":"ingestion-job-affiliate-table-name-"+r.source.id,sx:{padding:"5px 5px",maxWidth:"200px"}},{children:r.source.name})),jsxRuntime.exports.jsx(TableCell,Object.assign({"data-testid":"ingestion-job-affiliate-table-start-date-"+r.source.id,sx:{padding:"5px 5px"}},{children:format(parseISO(r.startDate),"P")})),jsxRuntime.exports.jsx(TableCell,Object.assign({"data-testid":"ingestion-job-affiliate-table-end-date-"+r.source.id,sx:{padding:"5px 5px"}},{children:format(parseISO(r.stopDate),"P")})),jsxRuntime.exports.jsxs(TableCell,Object.assign({sx:{padding:"5px 5px"}},{children:[jsxRuntime.exports.jsx(IconButton,Object.assign({"data-testid":"ingestion-job-affiliate-table-edit-"+r.source.id,color:"secondary",size:"small",onClick:()=>{var e,t;e={name:"PROCESSING_CENTER_AFFILIATE_PANEL",config:{activeView:e=EAffiliatePanelView.editAffiliate,affiliateId:r.source.id,isEdit:!0}},t={header:{title:SHARED_TEXT.affiliatePanel.panelHeaders.editAffiliateSchedule()},divider:!1,type:"APP_BAR_PANEL_TEMPLATE",marginTop:s?0:55,marginStart:s?0:80,size:"medium",zIndex:s?1011:1002,parentPanelId:"PROCESSING_CENTER_INGESTION",dimmed:0,dimmedStatus:"dimParent"},n(mountPanel({panelId:"PROCESSING_CENTER_AFFILIATE_PANEL",microFrontend:e,panelConfig:t}))}},{children:jsxRuntime.exports.jsx(default_1,{})})),jsxRuntime.exports.jsx(IconButton,Object.assign({"data-testid":"ingestion-job-affiliate-table-delete-"+r.source.id,color:"secondary",size:"small",onClick:()=>n(actions$5.deleteAffiliate(r.source.id))},{children:jsxRuntime.exports.jsx(default_1$1,{})}))]})),jsxRuntime.exports.jsx(TableCell,Object.assign({sx:{padding:"5px 5px"}},{children:jsxRuntime.exports.jsx(IconButton,Object.assign({"data-testid":"ingestion-job-affiliate-table-expand-schedule-"+r.source.id,size:"small",onClick:()=>a(!t)},{children:t?jsxRuntime.exports.jsx(default_1$2,{}):jsxRuntime.exports.jsx(default_1$3,{})}))}))]})),jsxRuntime.exports.jsx(TableRow,{children:jsxRuntime.exports.jsx(TableCell,Object.assign({style:{paddingBottom:0,paddingTop:0},colSpan:6},{children:jsxRuntime.exports.jsx(Collapse,Object.assign({in:t,timeout:"auto",unmountOnExit:!0},{children:jsxRuntime.exports.jsxs(Box,Object.assign({sx:{margin:1,'& input[type="time"]::-webkit-calendar-picker-indicator':{width:"0px",margin:"0px",padding:"0px"}}},{children:[jsxRuntime.exports.jsx(Typography,Object.assign({variant:"h6",gutterBottom:!0,component:"div"},{children:SHARED_TEXT.affiliatePanel.afilliateTable.scheduleTitle()})),jsxRuntime.exports.jsx(Divider,{}),jsxRuntime.exports.jsx("div",Object.assign({style:{marginLeft:"10px",marginTop:"10px",marginBottom:"10px"}},{children:jsxRuntime.exports.jsx(DayTimeslotsContainer,{enabledDays:getEnabledDays(r.schedule),timeslots:r.schedule,onAdd:()=>null,onDelete:()=>null,onChangeTime:()=>null,onCopyToAll:()=>null,disabled:!0})}))]}))}))}))})]})}$({target:"Array",proto:!0,forced:FORCED},{sort:function(e){void 0!==e&&aCallable(e);var t=toObject(this);if(STABLE_SORT)return void 0===e?un$Sort(t):un$Sort(t,e);for(var r,a=[],n=lengthOfArrayLike(t),s=0;s<n;s++)s in t&&push(a,t[s]);for(internalSort(a,getSortCompare(e)),r=a.length,s=0;s<r;)t[s]=a[s++];for(;s<n;)deletePropertyOrThrow(t,s++);return t}});const AffiliateTable=()=>{var e=createData(useSelector(selectBasicInfoAffiliates));return 0<e.length?jsxRuntime.exports.jsx(TableContainer,Object.assign({sx:{marginTop:"5px"}},{children:jsxRuntime.exports.jsxs(Table,Object.assign({size:"small"},{children:[jsxRuntime.exports.jsx(TableHead,{children:jsxRuntime.exports.jsxs(TableRow,{children:[jsxRuntime.exports.jsx(TableCell,Object.assign({"data-testid":"ingestion-job-affiliate-table-header-id",sx:{fontSize:"12px",padding:"5px 5px"}},{children:SHARED_TEXT.affiliatePanel.afilliateTable.headerId()})),jsxRuntime.exports.jsx(TableCell,Object.assign({"data-testid":"ingestion-job-affiliate-table-header-name",sx:{fontSize:"12px",padding:"5px 5px",maxWidth:"200px"}},{children:SHARED_TEXT.affiliatePanel.afilliateTable.headerName()})),jsxRuntime.exports.jsx(TableCell,Object.assign({"data-testid":"ingestion-job-affiliate-table-header-start-date",sx:{fontSize:"12px",padding:"5px 5px"}},{children:SHARED_TEXT.affiliatePanel.afilliateTable.headerStartDate()})),jsxRuntime.exports.jsx(TableCell,Object.assign({"data-testid":"ingestion-job-affiliate-table-header-end-date",sx:{fontSize:"12px",padding:"5px 5px"}},{children:SHARED_TEXT.affiliatePanel.afilliateTable.headerEndDate()})),jsxRuntime.exports.jsx(TableCell,Object.assign({"data-testid":"ingestion-job-affiliate-table-header-edit-delete",sx:{fontSize:"12px",padding:"5px 5px"}},{children:SHARED_TEXT.affiliatePanel.afilliateTable.headerEditDelete()})),jsxRuntime.exports.jsx(TableCell,{sx:{fontSize:"12px",padding:"5px 5px"}})]})}),jsxRuntime.exports.jsx(TableBody,{children:e.map(e=>jsxRuntime.exports.jsx(Row,{row:e},e.source.id))})]}))})):null},useStyles$2=makeStyles()(e=>({buttonContainer:{position:"relative",margin:"16px"},fileButton:{border:"1px solid #1871E8!important",borderRadius:e.shape.borderRadius,fontWeight:600,fontSize:"12px!important",background:e.palette.background.paper,color:"#1871E8!important",padding:"6px 15px!important"},hiddenFileButton:{height:1,width:1,overflow:"hidden",clip:"rect(1px, 1px, 1px, 1px)",position:"absolute"}})),ImageUpload=({id:e,labelCss:t,onUpload:r,render:a,imageOnly:n=!1,isUploadEnabled:s=!0})=>{const i=react.exports.useRef();var o=useStyles$2()["classes"];return react.exports.useEffect(()=>{s||i.current&&(i.current.value="")},[i,s]),jsxRuntime.exports.jsxs("label",Object.assign({htmlFor:"image-upload-"+e,className:t,onClick:e=>{s||e.preventDefault()}},{children:[a&&a({handleButtonClick:()=>{var e;s&&null!=(e=i.current)&&e.click()}}),jsxRuntime.exports.jsx("input",{id:"image-upload-"+e,"data-test":"image-upload-"+e,type:"file",multiple:!0,accept:n?"image/*":"",className:o.hiddenFileButton,onChange:r,ref:e=>i.current=e})]}))},useStyles$1=makeStyles()(e=>({container:{position:"relative",borderRadius:"5px",zIndex:2}})),AddImageIcon=({id:e,color:t="black",size:r=55})=>{var a=useStyles$1()["classes"];return jsxRuntime.exports.jsx("div",Object.assign({"data-testid":e,id:"addImageIcon-"+e,className:a.container},{children:jsxRuntime.exports.jsx("svg",Object.assign({version:"1.2",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 500 500",width:r,height:r},{children:jsxRuntime.exports.jsx("path",{fill:t,fillRule:"evenodd",d:"M249.5 62c147.7 0 151.1 0 157.5 1.9 3.6 1.1 8.9 3.7 11.9 5.8 3 2.1 7.3 6.1 9.6 8.8 2.3 2.7 5.2 7.7 9 17l.3 101c.1 55.6.1 101.4-.2 102-.2.7-4.1.6-11.2-.3-6-.7-14-1-17.9-.7-3.9.3-8.4.8-13 1.6V104.5h-291v291H297l-.7 8c-.5 4.4-.8 9.8-.8 12 0 2.2.4 8.2 1.5 22.5h-97.3c-82.7 0-98.2-.3-104.2-1.5-3.8-.9-9-2.8-11.5-4.2-2.5-1.5-6-4.1-7.9-5.8-1.9-1.6-5.2-5.7-7.3-9-2.5-3.9-4.4-8.5-5.4-13-1.3-6.1-1.4-26.2-.9-309l2.4-6c1.4-3.3 4.3-8.3 6.6-11 2.3-2.8 6.6-6.7 9.6-8.8 3-2.1 8.1-4.6 11.4-5.7 5.8-1.8 11.6-1.9 157-2zm45.4 185c.3 0 12.2 15.8 52.6 70.3l-4 3.1c-2.2 1.7-7.7 6.7-12.3 11.1-4.6 4.4-10.6 11.3-18.7 22.5h-93.8c-90.2 0-93.7-.1-92.5-1.8.7-1 14.7-19 31-40 16.4-21 30-38.2 30.3-38.2.3 0 7.8 8.9 16.7 19.8 8.9 10.8 18.7 22.7 21.7 26.5 3.1 3.7 5.8 6.7 6.1 6.7.3-.1 14.4-18.1 31.4-40.1 17-21.9 31.2-39.9 31.5-39.9zm122.6 87.5c13.3.3 15.8.7 22 3 3.9 1.5 9.3 3.8 12 5.2 2.8 1.4 8.4 5.1 12.4 8.2 4.1 3.1 10 8.7 13.1 12.6 3 3.9 7.1 10.1 9.1 14 2 3.9 4.7 9.9 6 13.5 2.1 5.9 2.3 8.2 2.3 24.5s-.2 18.6-2.3 24.5c-1.3 3.6-4 9.6-6 13.5-2 3.9-6.1 10.1-9.1 14-3.1 3.9-9 9.5-13.1 12.5-4 3.1-9.6 6.7-12.4 8.2-2.7 1.5-8.1 3.9-12 5.4-6.8 2.7-7.6 2.8-26 2.8s-19.2-.1-26-2.8c-3.9-1.5-9.2-3.9-12-5.3-2.7-1.4-8.4-5.1-12.4-8.2-4.1-3.1-10-8.7-13.1-12.6-3-3.9-7.1-10.1-9.1-14-2-3.9-4.7-9.9-6-13.5-2.1-5.9-2.3-8.2-2.3-24.5s.2-18.6 2.3-24.5c1.3-3.6 4-9.6 6-13.5 2-3.9 6.1-10.1 9.1-14 3.1-3.9 9-9.5 13.1-12.5 4-3.1 9.7-6.7 12.4-8.2 2.8-1.4 7.5-3.6 10.5-4.8 3-1.2 8-2.6 11-3 3-.5 12.3-.7 20.5-.5zM390 355.6c-3.6 1.6-8.5 4-11 5.4-2.5 1.4-7.4 5.4-11 9-3.9 3.8-8.2 9.6-10.6 14-2.3 4.1-5 10-6 13-1.3 4.2-1.8 8.7-1.8 18.5s.5 14.3 1.8 18.5c1 3 3.7 8.9 5.9 13 2.7 4.8 6.8 10.1 11.3 14.5 5.2 5.1 9.3 8.1 15.5 11.1 4.6 2.3 10.2 4.7 12.4 5.5 2.5.8 8.8 1.3 17 1.3s14.5-.5 17-1.3c2.2-.8 7.8-3.2 12.4-5.5 6.5-3.1 10.2-5.9 16-11.7 5.8-5.7 8.6-9.6 11.8-16 2.3-4.6 4.7-10.2 5.4-12.4.7-2.4 1.3-9.3 1.3-17 0-7.7-.6-14.6-1.3-17-.7-2.2-3.1-7.8-5.4-12.4-3.2-6.4-6-10.3-11.8-16-5.6-5.7-9.6-8.6-15.5-11.5-4.3-2.1-9.7-4.5-11.9-5.3-2.2-.7-8.5-1.5-14-1.7-5.5-.3-12.5-.1-15.5.3s-8.4 2.1-12 3.7zm15 18.4h17v33h33v17h-33v33h-17v-33h-33v-17h33z"})}))}))},useStyles=makeStyles()(e=>({addImageBoxContainer:{display:"flex",justifyContent:"flex-start",flexDirection:"column"},addImageBoxTitle:{padding:"0px",margin:"0px",color:"rgb(92, 98, 105)",fontSize:"12px",fontWeight:400,textAlign:"left",paddingLeft:"5px",paddingBottom:"3px"},addImageBoxSizeAvatar:{width:"135px"},addImageBoxSizeCover:{width:"100%"},addImageBoxIconDiv:{height:"180px",display:"flex",alignItems:"center",justifyContent:"center",border:"1px solid #D5DFE9",overflow:"hidden",position:"relative",textAlign:"left",borderRadius:"4px"},addImageBoxBackground:{position:"absolute",height:"100%",width:"100%",top:0,left:0,backgroundSize:"cover"},addImageBoxShadow:{background:"rgba(0,0,0,0.35)",position:"absolute",width:"100%",height:"100%",zIndex:1},iconButtonContainer:{width:"100%",padding:0},deleteIconContainer:{position:"absolute",top:0,left:0,width:"100%",height:"100%",background:"transparent",zIndex:10,display:"flex",justifyContent:"center",alignItems:"center"},deleteIcon:{color:"white",fontSize:"24px"}})),AddImageBox=({id:e,title:t,backgroundImgUrl:r="",aspectRatio:a="avatar",onClick:n,onDelete:s})=>{var i=useStyles()["classes"];const[o,l]=react.exports.useState(!1);var c=!!r,u=o&&r,d=o&&r,p=!r||o&&r,h=r?{backgroundImage:`url(${r})`}:{};return jsxRuntime.exports.jsxs("div",Object.assign({className:i.addImageBoxContainer},{children:[jsxRuntime.exports.jsx(Typography,Object.assign({id:`image-item-${e}-image-title`,variant:"body2",className:i.addImageBoxTitle,color:"secondary","data-test":`image-item-${e}-image-title`},{children:t})),jsxRuntime.exports.jsx(Button,Object.assign({className:i.iconButtonContainer,onClick:n},{children:jsxRuntime.exports.jsxs("div",Object.assign({"data-test":`image-item-${e}-container`,onMouseEnter:()=>l(!0),onMouseLeave:()=>l(!1),className:i.addImageBoxIconDiv+" "+("avatar"===a?i.addImageBoxSizeAvatar:i.addImageBoxSizeCover)},{children:[p&&!d&&jsxRuntime.exports.jsx(AddImageIcon,{id:`add-${e}-img`,color:r?"#fff":"#2A323C",size:45}),d&&jsxRuntime.exports.jsx("div",Object.assign({className:i.deleteIconContainer,onClick:s},{children:jsxRuntime.exports.jsx(default_1$1,{"data-test":`delete-${e}-image`,style:{fontSize:42},className:i.deleteIcon,color:"inherit"})})),u&&jsxRuntime.exports.jsx("div",{className:i.addImageBoxShadow}),c&&jsxRuntime.exports.jsx("div",{"data-testid":`image-box-${e}-img`,className:i.addImageBoxBackground,style:h})]}))}))]}))},TvRadioAdapterMetaInfo=()=>{var e=useStyles$3()["classes"];const t=useDispatch();var r=useSelector(selectPrograms);const a=useSelector(selectBasicInfoMeta),n=h(TvField.programWebsite)&&!isValidUrl(h(TvField.programWebsite))||!1,[s,i]=react.exports.useState(null),[o,l]=react.exports.useState(null),c=useSelector(userSelector);var u=useSelector(selectActiveEngine).supportedSourceTypes||[];return react.exports.useEffect(()=>{t(actions$5.setInvalidFields(n))},[n]),react.exports.useEffect(()=>{setTimeout(()=>{t(actions$5.getProgramsStart())},300)},[]),jsxRuntime.exports.jsxs(jsxRuntime.exports.Fragment,{children:[jsxRuntime.exports.jsx(Divider,{style:{marginTop:"30px",marginBottom:"20px"}}),jsxRuntime.exports.jsxs("section",Object.assign({className:e.programImagesContainer},{children:[jsxRuntime.exports.jsx("div",Object.assign({className:e.programImageContainer},{children:jsxRuntime.exports.jsx(ImageUpload,{id:"ingestion-job-wizard-tvRadioAdapter-cover-image",imageOnly:!0,onUpload:e=>{e=m(e.target.files&&e.target.files[0]);i(e),t(actions$5.setImage({image:e,type:TvField.coverImg}))},isUploadEnabled:!s,render:({handleButtonClick:e})=>jsxRuntime.exports.jsx(AddImageBox,{id:"cover",title:jsxRuntime.exports.jsx(FormattedMessage,{id:"image-box-ingestion-job-wizard-tvRadioAdapter-cover-image",defaultMessage:"Cover Image",description:"Cover Image"}),backgroundImgUrl:s?null===s||void 0===s?void 0:s.fileUrl:a.programLiveImage,aspectRatio:"cover",onClick:e,onDelete:d})})})),jsxRuntime.exports.jsx("div",Object.assign({className:e.programImageContainer},{children:jsxRuntime.exports.jsx(ImageUpload,{id:"ingestion-job-wizard-tvRadioAdapter-avatar-image",imageOnly:!0,onUpload:e=>{e=m(e.target.files&&e.target.files[0]);l(e),t(actions$5.setImage({image:e,type:TvField.avatarImg}))},isUploadEnabled:!o,render:({handleButtonClick:e})=>jsxRuntime.exports.jsx(AddImageBox,{id:"avatar",title:jsxRuntime.exports.jsx(FormattedMessage,{id:"image-box-ingestion-job-wizard-tvRadioAdapter-avatar-image",defaultMessage:"Avatar Image",description:"Avatar Image"}),backgroundImgUrl:o?null===o||void 0===o?void 0:o.fileUrl:a.programImage,aspectRatio:"cover",onClick:e,onDelete:p})})}))]})),jsxRuntime.exports.jsx(FormControl,Object.assign({sx:{width:"100%"},className:e.formControlWrapper},{children:jsxRuntime.exports.jsx(TextField,{"data-testid":"ingestion-job-wizard-tvRadioAdapter-description",id:"ingestion-job-wizard-tvRadioAdapter-description",className:e.sourceInput,value:h(TvField.description),variant:"outlined",label:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-processing-center-ingestion.basic-info.description-field",defaultMessage:"Description",description:"Ingestion Wizard Program Description Field"}),InputLabelProps:{shrink:!0},onChange:e=>{t(actions$5.setBasicInfoMeta({key:TvField.description,meta:e.target.value}))},multiline:!0,rows:4})})),jsxRuntime.exports.jsx(FormControl,Object.assign({sx:{width:"100%"},className:e.formControlWrapper},{children:jsxRuntime.exports.jsx(Tooltip,Object.assign({disableInteractive:!0,componentsProps:{tooltip:{sx:{bgcolor:"rgb(211 47 47 / 85%)"}}},"data-testid":"ingestion-job-wizard-tvRadioAdapter-program-website-invalid",open:n,title:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-processing-center-ingestion.basic-info.website-invalid-tooltip",defaultMessage:"This website URL is not valid.",description:"Tooltip label for invalid website"})},{children:jsxRuntime.exports.jsx(TextField,{"data-testid":"ingestion-job-wizard-tvRadioAdapter-program-website",id:"ingestion-job-wizard-tvRadioAdapter-program-website",className:e.sourceInput,value:h(TvField.programWebsite),error:n,placeholder:"https://",variant:"outlined",label:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-processing-center-ingestion.basic-info.program-website-field",defaultMessage:"Program Website",description:"Ingestion Wizard Program Website Field"}),InputLabelProps:{shrink:!0},onChange:e=>{t(actions$5.setBasicInfoMeta({key:TvField.programWebsite,meta:e.target.value}))}})}))})),jsxRuntime.exports.jsxs(FormControl,Object.assign({sx:{width:"100%"},className:e.formControlWrapper},{children:[jsxRuntime.exports.jsx(InputLabel,Object.assign({id:"pc-ingestion-wizard-program-format-label"},{children:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-processing-center-ingestion.basic-info.program-format-field",defaultMessage:"Program Format",description:"Ingestion Wizard Program Format Field"})})),jsxRuntime.exports.jsx(Select,Object.assign({"data-testid":"ingestion-job-wizard-tvRadioAdapter-program-format-selectbox",labelId:"pc-ingestion-wizard-program-format-label",label:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-processing-center-ingestion.basic-info.program-format-field",defaultMessage:"Program Format",description:"Ingestion Wizard Program Format Field"}),id:"ingestion-job-wizard-tvRadioAdapter-program-format",value:h(TvField.programFormat),MenuProps:{sx:{maxHeight:"40vh"},className:"aiware-el"},onChange:e=>{t(actions$5.setBasicInfoMeta({key:TvField.programFormat,meta:e.target.value}))},variant:"outlined",className:e.sourceInput,displayEmpty:!0},{children:null==r?void 0:r.map(e=>jsxRuntime.exports.jsx(MenuItem,Object.assign({"data-testid":"ingestion-job-wizard-tvRadioAdapter-program-format-item",value:e},{children:e}),e))}))]})),jsxRuntime.exports.jsx(FormControl,Object.assign({sx:{width:"100%"},className:e.formControlWrapper},{children:jsxRuntime.exports.jsx(FormControlLabel,{id:"ingestion-job-wizard-tvRadioAdapter-is-national",control:jsxRuntime.exports.jsx(Checkbox,{"data-testid":"ingestion-job-wizard-tvRadioAdapter-is-national-checkbox",checked:h(TvField.isNational)}),label:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-processing-center-ingestion.basic-info.is-national-field",defaultMessage:"Is National",description:"Ingestion Wizard Is National Field"}),checked:h(TvField.isNational),onChange:e=>{t(actions$5.setBasicInfoMeta({key:TvField.isNational,meta:e.target.checked}))}})})),!(!c||!c.myRights)&&0<=c.myRights.indexOf("cms.customerservice")&&!(0<=u.indexOf("4"))&&jsxRuntime.exports.jsxs(jsxRuntime.exports.Fragment,{children:[jsxRuntime.exports.jsx(AffiliateText,{}),jsxRuntime.exports.jsx(AffiliateTable,{}),jsxRuntime.exports.jsx(AffiliateActions,{})]})]});function d(){i(null),t(actions$5.deleteImageUrl({key:TvField.coverImg}))}function p(){l(null),t(actions$5.deleteImageUrl({key:TvField.avatarImg}))}function h(e){var t=a[e];return t||e!==TvField.isNational&&""}function m(e){var t=URL.createObjectURL(e);return{id:guid(),fileUrl:t,name:e.name,size:e.size,type:e.type,percentComplete:0}}},isValidUrl=e=>{try{return Boolean(new URL(e))}catch(e){return!1}},AffiliateText=()=>{var e=makeStyles()(e=>({container:{marginTop:"25px",display:"flex",flexDirection:"column",gap:"10px"}}))()["classes"];return jsxRuntime.exports.jsxs("div",Object.assign({className:e.container},{children:[jsxRuntime.exports.jsx(Typography,Object.assign({variant:"subtitle1"},{children:SHARED_TEXT.affiliatePanel.tvAdapterText.title()})),jsxRuntime.exports.jsx(Typography,Object.assign({variant:"caption"},{children:SHARED_TEXT.affiliatePanel.tvAdapterText.subtitle()}))]}))},AffiliateActions=()=>{var e=makeStyles()(e=>({container:{marginTop:"25px",display:"flex",gap:"20px"}}))()["classes"];const r=useDispatch(),a=useSelector(selectIsFullScreen),t=e=>{var t={name:"PROCESSING_CENTER_AFFILIATE_PANEL",config:{activeView:e,affiliateId:e===EAffiliatePanelView.editAffiliate?"1234-5678-9000":void 0}},e={header:{title:(e=>{switch(e){case EAffiliatePanelView.addAffiliate:return SHARED_TEXT.affiliatePanel.panelHeaders.addAffiliate();case EAffiliatePanelView.bulkAffiliate:return SHARED_TEXT.affiliatePanel.panelHeaders.bulkAffiliateSchedule()}return""})(e)},divider:!1,type:"APP_BAR_PANEL_TEMPLATE",marginTop:a?0:55,marginStart:a?0:80,size:"medium",zIndex:a?1011:1002,parentPanelId:"PROCESSING_CENTER_INGESTION",dimmed:0,dimmedStatus:"dimParent"};r(mountPanel({panelId:"PROCESSING_CENTER_AFFILIATE_PANEL",microFrontend:t,panelConfig:e}))};return jsxRuntime.exports.jsx(jsxRuntime.exports.Fragment,{children:jsxRuntime.exports.jsx("div",Object.assign({className:e.container},{children:jsxRuntime.exports.jsx(Button,Object.assign({variant:"contained",onClick:()=>t(EAffiliatePanelView.addAffiliate),"data-testid":"ingestion-job-wizard-tvRadioAdapter-add-affiliate-button"},{children:SHARED_TEXT.affiliatePanel.tvAdapterText.addAffiliateButton()}))}))})},BasicInfoStep=({activeEngine:e})=>{var t=useStyles$4()["classes"];const r=useDispatch(),a=useSelector(selectScheduleName),n=useSelector(selectBasicInfoInvalidFields),s=useSelector(selectIsEditMode);var i=useSelector(selectUpdateJobErrors);react.exports.useEffect(()=>{var e;s&&(e=n||!a,r(actions$8.setUpdateJobErrors({add:e,tabIndex:2})))},[s,n,a]);return jsxRuntime.exports.jsxs("div",Object.assign({className:t.sectionContainer},{children:[jsxRuntime.exports.jsx("section",{children:jsxRuntime.exports.jsx("div",Object.assign({className:t.mainContent},{children:jsxRuntime.exports.jsxs("div",Object.assign({className:t.sourceInfoContainer},{children:[jsxRuntime.exports.jsx(Typography,Object.assign({variant:"h5",className:t.title},{children:"Basic Information"})),jsxRuntime.exports.jsx(Typography,Object.assign({variant:"caption",className:t.subtitle},{children:"Please fill out the information below to create a new ingestion job."})),jsxRuntime.exports.jsx("div",Object.assign({className:t.sourceInputsContainer},{children:jsxRuntime.exports.jsx(FormControl,Object.assign({sx:{width:"100%"},className:t.formControlWrapper,error:!0},{children:jsxRuntime.exports.jsx(TextField,{id:"ingestion-job-name",onChange:({target:e})=>{e=e.value;r(actions$5.setScheduleName(e))},className:t.sourceInput,placeholder:"Schedule Name",variant:"outlined",InputLabelProps:{shrink:!0},value:a,fullWidth:!0,required:!0})}))}))]}))}))}),"74dfd76b-472a-48f0-8395-c7e01dd7f255"===(null==e?void 0:e.id)&&jsxRuntime.exports.jsx(TvRadioAdapterMetaInfo,{}),jsxRuntime.exports.jsx(PanelControls$1,{disableNext:!a||n||0<i.length,disableBack:!1,invalidFields:n,nextButtonType:s?ENextButtonType.UPDATE_SCHEDULED_JOB:ENextButtonType.NEXT})]}))};export{BasicInfoStep as default};
|
package/js-core.esm75.js.gz
CHANGED
|
Binary file
|