@kuadrant/kuadrant-backstage-plugin-frontend 0.0.2-dev-d2ba42b → 0.0.2-dev-9be93a3

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.
Files changed (96) hide show
  1. package/dist/api.esm.js +220 -0
  2. package/dist/api.esm.js.map +1 -0
  3. package/dist/apis.esm.js +15 -0
  4. package/dist/apis.esm.js.map +1 -0
  5. package/dist/components/ApiAccessCard/ApiAccessCard.esm.js +25 -36
  6. package/dist/components/ApiAccessCard/ApiAccessCard.esm.js.map +1 -1
  7. package/dist/components/ApiKeyDetailPage/ApiKeyDetailPage.esm.js +24 -36
  8. package/dist/components/ApiKeyDetailPage/ApiKeyDetailPage.esm.js.map +1 -1
  9. package/dist/components/ApiKeyManagementTab/ApiKeyManagementTab.esm.js +20 -46
  10. package/dist/components/ApiKeyManagementTab/ApiKeyManagementTab.esm.js.map +1 -1
  11. package/dist/components/ApiProductDetailPage/ApiProductDetailPage.esm.js +9 -43
  12. package/dist/components/ApiProductDetailPage/ApiProductDetailPage.esm.js.map +1 -1
  13. package/dist/components/ApiProductInfoCard/ApiProductInfoCard.esm.js +5 -13
  14. package/dist/components/ApiProductInfoCard/ApiProductInfoCard.esm.js.map +1 -1
  15. package/dist/components/ApiProductOpenApiAlert/ApiProductOpenApiAlert.esm.js +7 -10
  16. package/dist/components/ApiProductOpenApiAlert/ApiProductOpenApiAlert.esm.js.map +1 -1
  17. package/dist/components/ApprovalQueueTable/ApprovalQueueTable.esm.js +32 -64
  18. package/dist/components/ApprovalQueueTable/ApprovalQueueTable.esm.js.map +1 -1
  19. package/dist/components/CreateAPIProductDialog/CreateAPIProductDialog.esm.js +29 -51
  20. package/dist/components/CreateAPIProductDialog/CreateAPIProductDialog.esm.js.map +1 -1
  21. package/dist/components/EditAPIKeyDialog/EditAPIKeyDialog.esm.js +8 -18
  22. package/dist/components/EditAPIKeyDialog/EditAPIKeyDialog.esm.js.map +1 -1
  23. package/dist/components/EditAPIProductDialog/EditAPIProductDialog.esm.js +8 -28
  24. package/dist/components/EditAPIProductDialog/EditAPIProductDialog.esm.js.map +1 -1
  25. package/dist/components/EntityApiApprovalTab/EntityApiApprovalTab.esm.js +9 -25
  26. package/dist/components/EntityApiApprovalTab/EntityApiApprovalTab.esm.js.map +1 -1
  27. package/dist/components/KuadrantPage/ApiProductsPage.esm.js +19 -53
  28. package/dist/components/KuadrantPage/ApiProductsPage.esm.js.map +1 -1
  29. package/dist/components/MyApiKeysTable/MyApiKeysTable.esm.js +25 -52
  30. package/dist/components/MyApiKeysTable/MyApiKeysTable.esm.js.map +1 -1
  31. package/dist/components/RequestAccessDialog/RequestAccessDialog.esm.js +10 -25
  32. package/dist/components/RequestAccessDialog/RequestAccessDialog.esm.js.map +1 -1
  33. package/dist/index.d.ts +459 -1
  34. package/dist/index.esm.js +2 -0
  35. package/dist/index.esm.js.map +1 -1
  36. package/dist-scalprum/internal.plugin-kuadrant.8bf02d5482a5a3ed6337.js +2 -0
  37. package/dist-scalprum/internal.plugin-kuadrant.8bf02d5482a5a3ed6337.js.map +1 -0
  38. package/dist-scalprum/plugin-manifest.json +3 -3
  39. package/dist-scalprum/static/2967.28e7c7f8.chunk.js +2 -0
  40. package/dist-scalprum/static/2967.28e7c7f8.chunk.js.map +1 -0
  41. package/dist-scalprum/static/3976.cf3ec7be.chunk.js +2 -0
  42. package/dist-scalprum/static/3976.cf3ec7be.chunk.js.map +1 -0
  43. package/dist-scalprum/static/4447.222bb58d.chunk.js +2 -0
  44. package/dist-scalprum/static/4447.222bb58d.chunk.js.map +1 -0
  45. package/dist-scalprum/static/5203.e92a3353.chunk.js +2 -0
  46. package/dist-scalprum/static/5203.e92a3353.chunk.js.map +1 -0
  47. package/dist-scalprum/static/6371.6ee1f11d.chunk.js +2 -0
  48. package/dist-scalprum/static/6371.6ee1f11d.chunk.js.map +1 -0
  49. package/dist-scalprum/static/6800.a7645f4c.chunk.js +2 -0
  50. package/dist-scalprum/static/6800.a7645f4c.chunk.js.map +1 -0
  51. package/dist-scalprum/static/69.1decc5e8.chunk.js +2 -0
  52. package/dist-scalprum/static/69.1decc5e8.chunk.js.map +1 -0
  53. package/dist-scalprum/static/7005.a9f73153.chunk.js +2 -0
  54. package/dist-scalprum/static/7005.a9f73153.chunk.js.map +1 -0
  55. package/dist-scalprum/static/7270.b0e185f1.chunk.js +2 -0
  56. package/dist-scalprum/static/7270.b0e185f1.chunk.js.map +1 -0
  57. package/dist-scalprum/static/7791.5c1eea8a.chunk.js +2 -0
  58. package/dist-scalprum/static/7791.5c1eea8a.chunk.js.map +1 -0
  59. package/dist-scalprum/static/8789.84963cbc.chunk.js +2 -0
  60. package/dist-scalprum/static/8789.84963cbc.chunk.js.map +1 -0
  61. package/dist-scalprum/static/9051.db875198.chunk.js +2 -0
  62. package/dist-scalprum/static/9051.db875198.chunk.js.map +1 -0
  63. package/dist-scalprum/static/{2946.a35243f1.chunk.js → 9370.2e9fe34b.chunk.js} +3 -3
  64. package/dist-scalprum/static/9370.2e9fe34b.chunk.js.map +1 -0
  65. package/dist-scalprum/static/9838.5df9b1de.chunk.js +2 -0
  66. package/dist-scalprum/static/9838.5df9b1de.chunk.js.map +1 -0
  67. package/dist-scalprum/static/exposed-PluginRoot.8a8dd91f.chunk.js +2 -0
  68. package/dist-scalprum/static/{exposed-PluginRoot.8d8f0b09.chunk.js.map → exposed-PluginRoot.8a8dd91f.chunk.js.map} +1 -1
  69. package/package.json +3 -1
  70. package/dist-scalprum/internal.plugin-kuadrant.eacc31ca4d6c1340f8a8.js +0 -2
  71. package/dist-scalprum/internal.plugin-kuadrant.eacc31ca4d6c1340f8a8.js.map +0 -1
  72. package/dist-scalprum/static/2946.a35243f1.chunk.js.map +0 -1
  73. package/dist-scalprum/static/2967.5bade048.chunk.js +0 -2
  74. package/dist-scalprum/static/2967.5bade048.chunk.js.map +0 -1
  75. package/dist-scalprum/static/3650.89dfc64c.chunk.js +0 -2
  76. package/dist-scalprum/static/3650.89dfc64c.chunk.js.map +0 -1
  77. package/dist-scalprum/static/3976.4cf18515.chunk.js +0 -2
  78. package/dist-scalprum/static/3976.4cf18515.chunk.js.map +0 -1
  79. package/dist-scalprum/static/4447.adbf663f.chunk.js +0 -2
  80. package/dist-scalprum/static/4447.adbf663f.chunk.js.map +0 -1
  81. package/dist-scalprum/static/5203.fce2a28f.chunk.js +0 -2
  82. package/dist-scalprum/static/5203.fce2a28f.chunk.js.map +0 -1
  83. package/dist-scalprum/static/6371.d45f37cc.chunk.js +0 -2
  84. package/dist-scalprum/static/6371.d45f37cc.chunk.js.map +0 -1
  85. package/dist-scalprum/static/6800.cd5c7bcb.chunk.js +0 -2
  86. package/dist-scalprum/static/6800.cd5c7bcb.chunk.js.map +0 -1
  87. package/dist-scalprum/static/7005.72759857.chunk.js +0 -2
  88. package/dist-scalprum/static/7005.72759857.chunk.js.map +0 -1
  89. package/dist-scalprum/static/7270.9473c969.chunk.js +0 -2
  90. package/dist-scalprum/static/7270.9473c969.chunk.js.map +0 -1
  91. package/dist-scalprum/static/7791.01371352.chunk.js +0 -2
  92. package/dist-scalprum/static/7791.01371352.chunk.js.map +0 -1
  93. package/dist-scalprum/static/8789.30227526.chunk.js +0 -2
  94. package/dist-scalprum/static/8789.30227526.chunk.js.map +0 -1
  95. package/dist-scalprum/static/exposed-PluginRoot.8d8f0b09.chunk.js +0 -2
  96. /package/dist-scalprum/static/{2946.a35243f1.chunk.js.LICENSE.txt → 9370.2e9fe34b.chunk.js.LICENSE.txt} +0 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"internal.plugin-kuadrant.8bf02d5482a5a3ed6337.js","mappings":"wEACIA,EADAC,ECAAC,EACAC,ECDAC,EAIAC,EAIAC,EAIAC,EAIAC,EAGAC,EAIAC,EAuBAC,EAMAC,EAUAC,EAMAC,EAWAC,EA0BAC,EAgBAC,EACAC,EAkBAC,EA+CAC,E,mBC3LJ,IAAIC,EAAY,CACf,WAAc,IACNC,EAAoBC,EAA2B,KAAK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AD1B0H,EAAqBF,EAAgBxH,MACRwH,EAAgBxH,QAAW3C,GACrDqK,GAAoB,CACtB,IAAIb,EAAY1E,IAAyB,SAAfA,EAAMU,KAAkB,UAAYV,EAAMU,MAChE8E,EAAUxF,GAASA,EAAMW,QAAUX,EAAMW,OAAOd,IACpD+D,EAAM6B,QAAU,iBAAmB5H,EAAU,cAAgB6G,EAAY,KAAOc,EAAU,IAC1F5B,EAAMrI,KAAO,iBACbqI,EAAMlD,KAAOgE,EACbd,EAAMkB,QAAUU,EAChBD,EAAmB,GAAG3B,EACvB,GAGuC,SAAW/F,EAASA,EAC9D,GAgBJ,IAAI6H,EAAuB,CAACC,EAA4BC,KACvD,IAGI/J,EAAUgC,GAHTgI,EAAUC,EAAaC,GAAWH,EAGhBxG,EAAI,EAC3B,GAAGyG,EAASG,KAAMjK,GAAgC,IAAxBsJ,EAAgBtJ,IAAa,CACtD,IAAIF,KAAYiK,EACZtL,EAAoBM,EAAEgL,EAAajK,KACrCrB,EAAoB2B,EAAEN,GAAYiK,EAAYjK,IAG7CkK,GAAsBA,EAAQvL,EAClC,CAEA,IADGmL,GAA4BA,EAA2BC,GACrDxG,EAAIyG,EAASxG,OAAQD,IACzBvB,EAAUgI,EAASzG,GAChB5E,EAAoBM,EAAEuK,EAAiBxH,IAAYwH,EAAgBxH,IACrEwH,EAAgBxH,GAAS,KAE1BwH,EAAgBxH,GAAW,GAKzBoI,EAAqBC,KAA2C,qCAAIA,KAA2C,sCAAK,GACxHD,EAAmB1I,QAAQmI,EAAqBjF,KAAK,KAAM,IAC3DwF,EAAmBnH,KAAO4G,EAAqBjF,KAAK,KAAMwF,EAAmBnH,KAAK2B,KAAKwF,G,KClF7DzL,EAAoB,M","sources":["webpack://internal.plugin-kuadrant/webpack/runtime/create fake namespace object","webpack://internal.plugin-kuadrant/webpack/runtime/load script","webpack://internal.plugin-kuadrant/webpack/runtime/consumes","webpack://internal.plugin-kuadrant/webpack/container-entry","webpack://internal.plugin-kuadrant/webpack/bootstrap","webpack://internal.plugin-kuadrant/webpack/runtime/compat get default export","webpack://internal.plugin-kuadrant/webpack/runtime/define property getters","webpack://internal.plugin-kuadrant/webpack/runtime/ensure chunk","webpack://internal.plugin-kuadrant/webpack/runtime/get javascript chunk filename","webpack://internal.plugin-kuadrant/webpack/runtime/get mini-css chunk filename","webpack://internal.plugin-kuadrant/webpack/runtime/global","webpack://internal.plugin-kuadrant/webpack/runtime/hasOwnProperty shorthand","webpack://internal.plugin-kuadrant/webpack/runtime/make namespace object","webpack://internal.plugin-kuadrant/webpack/runtime/node module decorator","webpack://internal.plugin-kuadrant/webpack/runtime/sharing","webpack://internal.plugin-kuadrant/webpack/runtime/publicPath","webpack://internal.plugin-kuadrant/webpack/runtime/css loading","webpack://internal.plugin-kuadrant/webpack/runtime/jsonp chunk loading","webpack://internal.plugin-kuadrant/webpack/startup"],"sourcesContent":["var getProto = Object.getPrototypeOf ? (obj) => (Object.getPrototypeOf(obj)) : (obj) => (obj.__proto__);\nvar leafPrototypes;\n// create a fake namespace object\n// mode & 1: value is a module id, require it\n// mode & 2: merge all properties of value into the ns\n// mode & 4: return value when already ns object\n// mode & 16: return value when it's Promise-like\n// mode & 8|1: behave like require\n__webpack_require__.t = function(value, mode) {\n\tif(mode & 1) value = this(value);\n\tif(mode & 8) return value;\n\tif(typeof value === 'object' && value) {\n\t\tif((mode & 4) && value.__esModule) return value;\n\t\tif((mode & 16) && typeof value.then === 'function') return value;\n\t}\n\tvar ns = Object.create(null);\n\t__webpack_require__.r(ns);\n\tvar def = {};\n\tleafPrototypes = leafPrototypes || [null, getProto({}), getProto([]), getProto(getProto)];\n\tfor(var current = mode & 2 && value; (typeof current == 'object' || typeof current == 'function') && !~leafPrototypes.indexOf(current); current = getProto(current)) {\n\t\tObject.getOwnPropertyNames(current).forEach((key) => (def[key] = () => (value[key])));\n\t}\n\tdef['default'] = () => (value);\n\t__webpack_require__.d(ns, def);\n\treturn ns;\n};","var inProgress = {};\nvar dataWebpackPrefix = \"internal.plugin-kuadrant:\";\n// loadScript function to load a script via script tag\n__webpack_require__.l = (url, done, key, chunkId) => {\n\tif(inProgress[url]) { inProgress[url].push(done); return; }\n\tvar script, needAttach;\n\tif(key !== undefined) {\n\t\tvar scripts = document.getElementsByTagName(\"script\");\n\t\tfor(var i = 0; i < scripts.length; i++) {\n\t\t\tvar s = scripts[i];\n\t\t\tif(s.getAttribute(\"src\") == url || s.getAttribute(\"data-webpack\") == dataWebpackPrefix + key) { script = s; break; }\n\t\t}\n\t}\n\tif(!script) {\n\t\tneedAttach = true;\n\t\tscript = document.createElement('script');\n\n\t\tscript.charset = 'utf-8';\n\t\tscript.timeout = 120;\n\t\tif (__webpack_require__.nc) {\n\t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n\t\t}\n\t\tscript.setAttribute(\"data-webpack\", dataWebpackPrefix + key);\n\n\t\tscript.src = url;\n\t}\n\tinProgress[url] = [done];\n\tvar onScriptComplete = (prev, event) => {\n\t\t// avoid mem leaks in IE.\n\t\tscript.onerror = script.onload = null;\n\t\tclearTimeout(timeout);\n\t\tvar doneFns = inProgress[url];\n\t\tdelete inProgress[url];\n\t\tscript.parentNode && script.parentNode.removeChild(script);\n\t\tdoneFns && doneFns.forEach((fn) => (fn(event)));\n\t\tif(prev) return prev(event);\n\t}\n\tvar timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000);\n\tscript.onerror = onScriptComplete.bind(null, script.onerror);\n\tscript.onload = onScriptComplete.bind(null, script.onload);\n\tneedAttach && document.head.appendChild(script);\n};","var parseVersion = (str) => {\n\t// see webpack/lib/util/semver.js for original code\n\tvar p=p=>{return p.split(\".\").map(p=>{return+p==p?+p:p})},n=/^([^-+]+)?(?:-([^+]+))?(?:\\+(.+))?$/.exec(str),r=n[1]?p(n[1]):[];return n[2]&&(r.length++,r.push.apply(r,p(n[2]))),n[3]&&(r.push([]),r.push.apply(r,p(n[3]))),r;\n}\nvar versionLt = (a, b) => {\n\t// see webpack/lib/util/semver.js for original code\n\ta=parseVersion(a),b=parseVersion(b);for(var r=0;;){if(r>=a.length)return r<b.length&&\"u\"!=(typeof b[r])[0];var e=a[r],n=(typeof e)[0];if(r>=b.length)return\"u\"==n;var t=b[r],f=(typeof t)[0];if(n!=f)return\"o\"==n&&\"n\"==f||(\"s\"==f||\"u\"==n);if(\"o\"!=n&&\"u\"!=n&&e!=t)return e<t;r++}\n}\nvar rangeToString = (range) => {\n\t// see webpack/lib/util/semver.js for original code\n\tvar r=range[0],n=\"\";if(1===range.length)return\"*\";if(r+.5){n+=0==r?\">=\":-1==r?\"<\":1==r?\"^\":2==r?\"~\":r>0?\"=\":\"!=\";for(var e=1,a=1;a<range.length;a++){e--,n+=\"u\"==(typeof(t=range[a]))[0]?\"-\":(e>0?\".\":\"\")+(e=2,t)}return n}var g=[];for(a=1;a<range.length;a++){var t=range[a];g.push(0===t?\"not(\"+o()+\")\":1===t?\"(\"+o()+\" || \"+o()+\")\":2===t?g.pop()+\" \"+g.pop():rangeToString(t))}return o();function o(){return g.pop().replace(/^\\((.+)\\)$/,\"$1\")}\n}\nvar satisfy = (range, version) => {\n\t// see webpack/lib/util/semver.js for original code\n\tif(0 in range){version=parseVersion(version);var e=range[0],r=e<0;r&&(e=-e-1);for(var n=0,i=1,a=!0;;i++,n++){var f,s,g=i<range.length?(typeof range[i])[0]:\"\";if(n>=version.length||\"o\"==(s=(typeof(f=version[n]))[0]))return!a||(\"u\"==g?i>e&&!r:\"\"==g!=r);if(\"u\"==s){if(!a||\"u\"!=g)return!1}else if(a)if(g==s)if(i<=e){if(f!=range[i])return!1}else{if(r?f>range[i]:f<range[i])return!1;f!=range[i]&&(a=!1)}else if(\"s\"!=g&&\"n\"!=g){if(r||i<=e)return!1;a=!1,i--}else{if(i<=e||s<g!=r)return!1;a=!1}else\"s\"!=g&&\"n\"!=g&&(a=!1,i--)}}var t=[],o=t.pop.bind(t);for(n=1;n<range.length;n++){var u=range[n];t.push(1==u?o()|o():2==u?o()&o():u?satisfy(u,version):!o())}return!!o();\n}\nvar exists = (scope, key) => {\n\treturn scope && __webpack_require__.o(scope, key);\n}\nvar get = (entry) => {\n\tentry.loaded = 1;\n\treturn entry.get()\n};\nvar eagerOnly = (versions) => {\n\treturn Object.keys(versions).reduce((filtered, version) => {\n\t\t\tif (versions[version].eager) {\n\t\t\t\tfiltered[version] = versions[version];\n\t\t\t}\n\t\t\treturn filtered;\n\t}, {});\n};\nvar findLatestVersion = (scope, key, eager) => {\n\tvar versions = eager ? eagerOnly(scope[key]) : scope[key];\n\tvar key = Object.keys(versions).reduce((a, b) => {\n\t\treturn !a || versionLt(a, b) ? b : a;\n\t}, 0);\n\treturn key && versions[key];\n};\nvar findSatisfyingVersion = (scope, key, requiredVersion, eager) => {\n\tvar versions = eager ? eagerOnly(scope[key]) : scope[key];\n\tvar key = Object.keys(versions).reduce((a, b) => {\n\t\tif (!satisfy(requiredVersion, b)) return a;\n\t\treturn !a || versionLt(a, b) ? b : a;\n\t}, 0);\n\treturn key && versions[key]\n};\nvar findSingletonVersionKey = (scope, key, eager) => {\n\tvar versions = eager ? eagerOnly(scope[key]) : scope[key];\n\treturn Object.keys(versions).reduce((a, b) => {\n\t\treturn !a || (!versions[a].loaded && versionLt(a, b)) ? b : a;\n\t}, 0);\n};\nvar getInvalidSingletonVersionMessage = (scope, key, version, requiredVersion) => {\n\treturn \"Unsatisfied version \" + version + \" from \" + (version && scope[key][version].from) + \" of shared singleton module \" + key + \" (required \" + rangeToString(requiredVersion) + \")\"\n};\nvar getInvalidVersionMessage = (scope, scopeName, key, requiredVersion, eager) => {\n\tvar versions = scope[key];\n\treturn \"No satisfying version (\" + rangeToString(requiredVersion) + \")\" + (eager ? \" for eager consumption\" : \"\") + \" of shared module \" + key + \" found in shared scope \" + scopeName + \".\\n\" +\n\t\t\"Available versions: \" + Object.keys(versions).map((key) => {\n\t\treturn key + \" from \" + versions[key].from;\n\t}).join(\", \");\n};\nvar fail = (msg) => {\n\tthrow new Error(msg);\n}\nvar failAsNotExist = (scopeName, key) => {\n\treturn fail(\"Shared module \" + key + \" doesn't exist in shared scope \" + scopeName);\n}\nvar warn = /*#__PURE__*/ (msg) => {\n\tif (typeof console !== \"undefined\" && console.warn) console.warn(msg);\n};\nvar init = (fn) => (function(scopeName, key, eager, c, d) {\n\tvar promise = __webpack_require__.I(scopeName);\n\tif (promise && promise.then && !eager) {\n\t\treturn promise.then(fn.bind(fn, scopeName, __webpack_require__.S[scopeName], key, false, c, d));\n\t}\n\treturn fn(scopeName, __webpack_require__.S[scopeName], key, eager, c, d);\n});\n\nvar useFallback = (scopeName, key, fallback) => {\n\treturn fallback ? fallback() : failAsNotExist(scopeName, key);\n}\nvar load = /*#__PURE__*/ init((scopeName, scope, key, eager, fallback) => {\n\tif (!exists(scope, key)) return useFallback(scopeName, key, fallback);\n\treturn get(findLatestVersion(scope, key, eager));\n});\nvar loadVersion = /*#__PURE__*/ init((scopeName, scope, key, eager, requiredVersion, fallback) => {\n\tif (!exists(scope, key)) return useFallback(scopeName, key, fallback);\n\tvar satisfyingVersion = findSatisfyingVersion(scope, key, requiredVersion, eager);\n\tif (satisfyingVersion) return get(satisfyingVersion);\n\twarn(getInvalidVersionMessage(scope, scopeName, key, requiredVersion, eager))\n\treturn get(findLatestVersion(scope, key, eager));\n});\nvar loadStrictVersion = /*#__PURE__*/ init((scopeName, scope, key, eager, requiredVersion, fallback) => {\n\tif (!exists(scope, key)) return useFallback(scopeName, key, fallback);\n\tvar satisfyingVersion = findSatisfyingVersion(scope, key, requiredVersion, eager);\n\tif (satisfyingVersion) return get(satisfyingVersion);\n\tif (fallback) return fallback();\n\tfail(getInvalidVersionMessage(scope, scopeName, key, requiredVersion, eager));\n});\nvar loadSingleton = /*#__PURE__*/ init((scopeName, scope, key, eager, fallback) => {\n\tif (!exists(scope, key)) return useFallback(scopeName, key, fallback);\n\tvar version = findSingletonVersionKey(scope, key, eager);\n\treturn get(scope[key][version]);\n});\nvar loadSingletonVersion = /*#__PURE__*/ init((scopeName, scope, key, eager, requiredVersion, fallback) => {\n\tif (!exists(scope, key)) return useFallback(scopeName, key, fallback);\n\tvar version = findSingletonVersionKey(scope, key, eager);\n\tif (!satisfy(requiredVersion, version)) {\n\t\twarn(getInvalidSingletonVersionMessage(scope, key, version, requiredVersion));\n\t}\n\treturn get(scope[key][version]);\n});\nvar loadStrictSingletonVersion = /*#__PURE__*/ init((scopeName, scope, key, eager, requiredVersion, fallback) => {\n\tif (!exists(scope, key)) return useFallback(scopeName, key, fallback);\n\tvar version = findSingletonVersionKey(scope, key, eager);\n\tif (!satisfy(requiredVersion, version)) {\n\t\tfail(getInvalidSingletonVersionMessage(scope, key, version, requiredVersion));\n\t}\n\treturn get(scope[key][version]);\n});\nvar installedModules = {};\nvar moduleToHandlerMapping = {\n\t22097: () => (loadSingletonVersion(\"default\", \"@backstage/core-plugin-api\", false, [0], () => (Promise.all([__webpack_require__.e(9655), __webpack_require__.e(3504), __webpack_require__.e(5478), __webpack_require__.e(9634), __webpack_require__.e(5501), __webpack_require__.e(5427)]).then(() => (() => (__webpack_require__(23504))))))),\n\t95478: () => (loadSingletonVersion(\"default\", \"react\", false, [0], () => (__webpack_require__.e(4041).then(() => (() => (__webpack_require__(14041))))))),\n\t49634: () => (loadSingletonVersion(\"default\", \"react-router-dom\", false, [0], () => (Promise.all([__webpack_require__.e(501), __webpack_require__.e(484), __webpack_require__.e(9829)]).then(() => (() => (__webpack_require__(62882))))))),\n\t15427: () => (loadSingletonVersion(\"default\", \"@backstage/version-bridge\", false, [0], () => (__webpack_require__.e(441).then(() => (() => (__webpack_require__(12822))))))),\n\t75501: () => (loadSingletonVersion(\"default\", \"@backstage/frontend-plugin-api\", false, [0], () => (Promise.all([__webpack_require__.e(9655), __webpack_require__.e(9316), __webpack_require__.e(9738), __webpack_require__.e(9634), __webpack_require__.e(5427)]).then(() => (() => (__webpack_require__(19738))))))),\n\t51723: () => (loadSingletonVersion(\"default\", \"@backstage/core-plugin-api\", false, [0], () => (__webpack_require__.e(4614).then(() => (() => (__webpack_require__(4614))))))),\n\t76322: () => (loadSingletonVersion(\"default\", \"@emotion/cache\", false, [0], () => (__webpack_require__.e(7164).then(() => (() => (__webpack_require__(67164))))))),\n\t11942: () => (loadSingletonVersion(\"default\", \"@material-ui/styles\", false, [0], () => (__webpack_require__.e(4570).then(() => (() => (__webpack_require__(94570))))))),\n\t40484: () => (loadSingletonVersion(\"default\", \"react-dom\", false, [0], () => (__webpack_require__.e(3144).then(() => (() => (__webpack_require__(43144))))))),\n\t79096: () => (loadSingletonVersion(\"default\", \"@mui/styled-engine\", false, [0], () => (Promise.all([__webpack_require__.e(2952), __webpack_require__.e(6322), __webpack_require__.e(5277)]).then(() => (() => (__webpack_require__(92952))))))),\n\t54994: () => (loadSingletonVersion(\"default\", \"@mui/system\", false, [0], () => (Promise.all([__webpack_require__.e(9710), __webpack_require__.e(2464)]).then(() => (() => (__webpack_require__(29710))))))),\n\t5277: () => (loadSingletonVersion(\"default\", \"@emotion/react\", false, [0], () => (__webpack_require__.e(6038).then(() => (() => (__webpack_require__(53657))))))),\n\t22464: () => (loadSingletonVersion(\"default\", \"@mui/private-theming\", false, [0], () => (__webpack_require__.e(4026).then(() => (() => (__webpack_require__(51645))))))),\n\t9829: () => (loadSingletonVersion(\"default\", \"react-router\", false, [0], () => (__webpack_require__.e(7367).then(() => (() => (__webpack_require__(97367))))))),\n\t37976: () => (loadSingletonVersion(\"default\", \"@material-ui/core/styles\", false, [0], () => (__webpack_require__.e(6872).then(() => (() => (__webpack_require__(64491)))))))\n};\n// no consumes in initial chunks\nvar chunkMapping = {\n\t\"484\": [\n\t\t40484\n\t],\n\t\"879\": [\n\t\t22097\n\t],\n\t\"1723\": [\n\t\t51723\n\t],\n\t\"1942\": [\n\t\t11942\n\t],\n\t\"2464\": [\n\t\t22464\n\t],\n\t\"4994\": [\n\t\t54994\n\t],\n\t\"5277\": [\n\t\t5277\n\t],\n\t\"5427\": [\n\t\t15427\n\t],\n\t\"5478\": [\n\t\t95478\n\t],\n\t\"5501\": [\n\t\t75501\n\t],\n\t\"6322\": [\n\t\t76322\n\t],\n\t\"7976\": [\n\t\t37976\n\t],\n\t\"9096\": [\n\t\t79096\n\t],\n\t\"9634\": [\n\t\t49634\n\t],\n\t\"9829\": [\n\t\t9829\n\t]\n};\nvar startedInstallModules = {};\n__webpack_require__.f.consumes = (chunkId, promises) => {\n\tif(__webpack_require__.o(chunkMapping, chunkId)) {\n\t\tchunkMapping[chunkId].forEach((id) => {\n\t\t\tif(__webpack_require__.o(installedModules, id)) return promises.push(installedModules[id]);\n\t\t\tif(!startedInstallModules[id]) {\n\t\t\tvar onFactory = (factory) => {\n\t\t\t\tinstalledModules[id] = 0;\n\t\t\t\t__webpack_require__.m[id] = (module) => {\n\t\t\t\t\tdelete __webpack_require__.c[id];\n\t\t\t\t\tmodule.exports = factory();\n\t\t\t\t}\n\t\t\t};\n\t\t\tstartedInstallModules[id] = true;\n\t\t\tvar onError = (error) => {\n\t\t\t\tdelete installedModules[id];\n\t\t\t\t__webpack_require__.m[id] = (module) => {\n\t\t\t\t\tdelete __webpack_require__.c[id];\n\t\t\t\t\tthrow error;\n\t\t\t\t}\n\t\t\t};\n\t\t\ttry {\n\t\t\t\tvar promise = moduleToHandlerMapping[id]();\n\t\t\t\tif(promise.then) {\n\t\t\t\t\tpromises.push(installedModules[id] = promise.then(onFactory)['catch'](onError));\n\t\t\t\t} else onFactory(promise);\n\t\t\t} catch(e) { onError(e); }\n\t\t\t}\n\t\t});\n\t}\n}","var moduleMap = {\n\t\"PluginRoot\": () => {\n\t\treturn __webpack_require__.e(/* exposed-PluginRoot */ 879).then(() => (() => ((__webpack_require__(72627)))));\n\t},\n\t\"KuadrantPage\": () => {\n\t\treturn __webpack_require__.e(/* exposed-KuadrantPage */ 879).then(() => (() => ((__webpack_require__(72627)))));\n\t},\n\t\"EntityKuadrantApiAccessCard\": () => {\n\t\treturn __webpack_require__.e(/* exposed-EntityKuadrantApiAccessCard */ 879).then(() => (() => ((__webpack_require__(72627)))));\n\t},\n\t\"EntityKuadrantApiKeyManagementTab\": () => {\n\t\treturn __webpack_require__.e(/* exposed-EntityKuadrantApiKeyManagementTab */ 879).then(() => (() => ((__webpack_require__(72627)))));\n\t},\n\t\"EntityKuadrantApiKeysContent\": () => {\n\t\treturn __webpack_require__.e(/* exposed-EntityKuadrantApiKeysContent */ 879).then(() => (() => ((__webpack_require__(72627)))));\n\t},\n\t\"EntityKuadrantApiProductInfoContent\": () => {\n\t\treturn __webpack_require__.e(/* exposed-EntityKuadrantApiProductInfoContent */ 879).then(() => (() => ((__webpack_require__(72627)))));\n\t}\n};\nvar get = (module, getScope) => {\n\t__webpack_require__.R = getScope;\n\tgetScope = (\n\t\t__webpack_require__.o(moduleMap, module)\n\t\t\t? moduleMap[module]()\n\t\t\t: Promise.resolve().then(() => {\n\t\t\t\tthrow new Error('Module \"' + module + '\" does not exist in container.');\n\t\t\t})\n\t);\n\t__webpack_require__.R = undefined;\n\treturn getScope;\n};\nvar init = (shareScope, initScope) => {\n\tif (!__webpack_require__.S) return;\n\tvar name = \"default\"\n\tvar oldScope = __webpack_require__.S[name];\n\tif(oldScope && oldScope !== shareScope) throw new Error(\"Container initialization failed as it has already been initialized with a different share scope\");\n\t__webpack_require__.S[name] = shareScope;\n\treturn __webpack_require__.I(name, initScope);\n};\n\n// This exports getters to disallow modifications\n__webpack_require__.d(exports, {\n\tget: () => (get),\n\tinit: () => (init)\n});","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\tid: moduleId,\n\t\tloaded: false,\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Flag the module as loaded\n\tmodule.loaded = true;\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n// expose the module cache\n__webpack_require__.c = __webpack_module_cache__;\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.f = {};\n// This file contains only the entry chunk.\n// The chunk loading function for additional chunks\n__webpack_require__.e = (chunkId) => {\n\treturn Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key) => {\n\t\t__webpack_require__.f[key](chunkId, promises);\n\t\treturn promises;\n\t}, []));\n};","// This function allow to reference async chunks\n__webpack_require__.u = (chunkId) => {\n\t// return url for filenames based on template\n\treturn \"static/\" + ({\"51\":\"react-syntax-highlighter_languages_highlight_prolog\",\"200\":\"react-syntax-highlighter_languages_highlight_mel\",\"206\":\"react-syntax-highlighter_languages_highlight_gml\",\"371\":\"react-syntax-highlighter_languages_highlight_excel\",\"456\":\"react-syntax-highlighter_languages_highlight_roboconf\",\"460\":\"react-syntax-highlighter_languages_highlight_avrasm\",\"464\":\"react-syntax-highlighter_languages_highlight_shell\",\"557\":\"react-syntax-highlighter_languages_highlight_oneC\",\"579\":\"react-syntax-highlighter_languages_highlight_vbnet\",\"634\":\"react-syntax-highlighter_languages_highlight_scilab\",\"879\":\"exposed-PluginRoot\",\"927\":\"react-syntax-highlighter_languages_highlight_javascript\",\"946\":\"react-syntax-highlighter_languages_highlight_clojure\",\"985\":\"react-syntax-highlighter_languages_highlight_monkey\",\"1062\":\"react-syntax-highlighter_languages_highlight_nim\",\"1084\":\"react-syntax-highlighter_languages_highlight_aspectj\",\"1099\":\"react-syntax-highlighter_languages_highlight_ebnf\",\"1173\":\"react-syntax-highlighter_languages_highlight_autohotkey\",\"1177\":\"react-syntax-highlighter_languages_highlight_profile\",\"1214\":\"react-syntax-highlighter_languages_highlight_properties\",\"1276\":\"react-syntax-highlighter_languages_highlight_phpTemplate\",\"1325\":\"react-syntax-highlighter_languages_highlight_actionscript\",\"1352\":\"react-syntax-highlighter_languages_highlight_fortran\",\"1362\":\"react-syntax-highlighter_languages_highlight_mathematica\",\"1418\":\"react-syntax-highlighter_languages_highlight_pony\",\"1441\":\"react-syntax-highlighter_languages_highlight_coq\",\"1461\":\"react-syntax-highlighter_languages_highlight_livescript\",\"1489\":\"react-syntax-highlighter_languages_highlight_reasonml\",\"1496\":\"react-syntax-highlighter_languages_highlight_lua\",\"1522\":\"react-syntax-highlighter_languages_highlight_dust\",\"1679\":\"react-syntax-highlighter_languages_highlight_scheme\",\"1694\":\"react-syntax-highlighter_languages_highlight_accesslog\",\"1727\":\"react-syntax-highlighter_languages_highlight_oxygene\",\"1750\":\"react-syntax-highlighter_languages_highlight_makefile\",\"1828\":\"react-syntax-highlighter_languages_highlight_dockerfile\",\"1895\":\"react-syntax-highlighter_languages_highlight_pythonRepl\",\"1956\":\"react-syntax-highlighter_languages_highlight_puppet\",\"1961\":\"react-syntax-highlighter_languages_highlight_stan\",\"1972\":\"react-syntax-highlighter_languages_highlight_fsharp\",\"2007\":\"react-syntax-highlighter_languages_highlight_css\",\"2064\":\"react-syntax-highlighter_languages_highlight_vhdl\",\"2108\":\"react-syntax-highlighter_languages_highlight_cLike\",\"2180\":\"react-syntax-highlighter_languages_highlight_sqf\",\"2234\":\"react-syntax-highlighter_languages_highlight_lisp\",\"2267\":\"react-syntax-highlighter_languages_highlight_maxima\",\"2346\":\"react-syntax-highlighter_languages_highlight_d\",\"2362\":\"react-syntax-highlighter_languages_highlight_xquery\",\"2378\":\"react-syntax-highlighter_languages_highlight_parser3\",\"2383\":\"react-syntax-highlighter_languages_highlight_crmsh\",\"2438\":\"react-syntax-highlighter_languages_highlight_haxe\",\"2488\":\"react-syntax-highlighter_languages_highlight_verilog\",\"2496\":\"react-syntax-highlighter_languages_highlight_erlangRepl\",\"2512\":\"react-syntax-highlighter_languages_highlight_stylus\",\"2516\":\"react-syntax-highlighter_languages_highlight_apache\",\"2665\":\"react-syntax-highlighter_languages_highlight_powershell\",\"2693\":\"react-syntax-highlighter_languages_highlight_tap\",\"2727\":\"react-syntax-highlighter_languages_highlight_q\",\"2743\":\"react-syntax-highlighter_languages_highlight_asciidoc\",\"2762\":\"react-syntax-highlighter_languages_highlight_haskell\",\"2795\":\"react-syntax-highlighter_languages_highlight_dns\",\"2871\":\"react-syntax-highlighter_languages_highlight_typescript\",\"2882\":\"react-syntax-highlighter_languages_highlight_sml\",\"2979\":\"react-syntax-highlighter_languages_highlight_plaintext\",\"2981\":\"react-syntax-highlighter_languages_highlight_ruleslanguage\",\"2983\":\"react-syntax-highlighter_languages_highlight_golo\",\"3146\":\"react-syntax-highlighter_languages_highlight_purebasic\",\"3193\":\"react-syntax-highlighter_languages_highlight_xml\",\"3299\":\"react-syntax-highlighter_languages_highlight_fix\",\"3357\":\"react-syntax-highlighter_languages_highlight_x86asm\",\"3384\":\"react-syntax-highlighter_languages_highlight_ini\",\"3418\":\"react-syntax-highlighter_languages_highlight_ruby\",\"3419\":\"react-syntax-highlighter_languages_highlight_nix\",\"3487\":\"react-syntax-highlighter_languages_highlight_mipsasm\",\"3500\":\"react-syntax-highlighter_languages_highlight_autoit\",\"3540\":\"react-syntax-highlighter_languages_highlight_moonscript\",\"3562\":\"react-syntax-highlighter_languages_highlight_gams\",\"3580\":\"react-syntax-highlighter_languages_highlight_csp\",\"3607\":\"react-syntax-highlighter_languages_highlight_abnf\",\"3623\":\"react-syntax-highlighter_languages_highlight_yaml\",\"3722\":\"react-syntax-highlighter_languages_highlight_latex\",\"3736\":\"react-syntax-highlighter_languages_highlight_json\",\"3811\":\"react-syntax-highlighter_languages_highlight_erb\",\"3885\":\"react-syntax-highlighter_languages_highlight_stata\",\"3923\":\"react-syntax-highlighter_languages_highlight_applescript\",\"3988\":\"react-syntax-highlighter_languages_highlight_vala\",\"4014\":\"react-syntax-highlighter_languages_highlight_scss\",\"4075\":\"react-syntax-highlighter_languages_highlight_hsp\",\"4110\":\"react-syntax-highlighter_languages_highlight_tp\",\"4135\":\"react-syntax-highlighter_languages_highlight_mizar\",\"4282\":\"react-syntax-highlighter_languages_highlight_livecodeserver\",\"4300\":\"react-syntax-highlighter_languages_highlight_r\",\"4342\":\"react-syntax-highlighter_languages_highlight_php\",\"4383\":\"react-syntax-highlighter_languages_highlight_dsconfig\",\"4436\":\"react-syntax-highlighter_languages_highlight_zephir\",\"4446\":\"react-syntax-highlighter_languages_highlight_leaf\",\"4493\":\"react-syntax-highlighter_languages_highlight_gauss\",\"4575\":\"react-syntax-highlighter_languages_highlight_processing\",\"4635\":\"react-syntax-highlighter_languages_highlight_jbossCli\",\"4733\":\"react-syntax-highlighter_languages_highlight_llvm\",\"4835\":\"react-syntax-highlighter_languages_highlight_cos\",\"4931\":\"react-syntax-highlighter_languages_highlight_step21\",\"4956\":\"react-syntax-highlighter_languages_highlight_angelscript\",\"4971\":\"react-syntax-highlighter_languages_highlight_lsl\",\"5034\":\"react-syntax-highlighter_languages_highlight_ada\",\"5051\":\"react-syntax-highlighter_languages_highlight_coffeescript\",\"5099\":\"react-syntax-highlighter_languages_highlight_nsis\",\"5123\":\"react-syntax-highlighter_languages_highlight_erlang\",\"5189\":\"react-syntax-highlighter_languages_highlight_dts\",\"5251\":\"react-syntax-highlighter_languages_highlight_pgsql\",\"5253\":\"react-syntax-highlighter_languages_highlight_clojureRepl\",\"5286\":\"react-syntax-highlighter_languages_highlight_nginx\",\"5446\":\"react-syntax-highlighter_languages_highlight_ocaml\",\"5565\":\"react-syntax-highlighter_languages_highlight_kotlin\",\"5613\":\"react-syntax-highlighter_languages_highlight_rib\",\"5664\":\"react-syntax-highlighter_languages_highlight_dos\",\"5773\":\"react-syntax-highlighter_languages_highlight_mojolicious\",\"5813\":\"react-syntax-highlighter_languages_highlight_less\",\"5819\":\"react-syntax-highlighter_languages_highlight_gradle\",\"5868\":\"react-syntax-highlighter_languages_highlight_inform7\",\"5900\":\"react-syntax-highlighter_languages_highlight_lasso\",\"6057\":\"react-syntax-highlighter_languages_highlight_sqlMore\",\"6152\":\"react-syntax-highlighter_languages_highlight_vbscriptHtml\",\"6161\":\"react-syntax-highlighter_languages_highlight_clean\",\"6177\":\"react-syntax-highlighter_languages_highlight_taggerscript\",\"6195\":\"react-syntax-highlighter_languages_highlight_ldif\",\"6228\":\"react-syntax-highlighter_languages_highlight_rust\",\"6267\":\"react-syntax-highlighter_languages_highlight_swift\",\"6354\":\"react-syntax-highlighter_languages_highlight_java\",\"6501\":\"react-syntax-highlighter_languages_highlight_armasm\",\"6512\":\"react-syntax-highlighter_languages_highlight_scala\",\"6542\":\"react-syntax-highlighter_languages_highlight_vim\",\"6555\":\"react-syntax-highlighter_languages_highlight_openscad\",\"6573\":\"react-syntax-highlighter_languages_highlight_cpp\",\"6780\":\"react-syntax-highlighter_languages_highlight_qml\",\"6835\":\"react-syntax-highlighter_languages_highlight_brainfuck\",\"6848\":\"react-syntax-highlighter_languages_highlight_crystal\",\"6924\":\"react-syntax-highlighter_languages_highlight_isbl\",\"6977\":\"react-syntax-highlighter_languages_highlight_rsl\",\"6986\":\"react-syntax-highlighter_languages_highlight_capnproto\",\"7048\":\"react-syntax-highlighter_languages_highlight_gherkin\",\"7079\":\"react-syntax-highlighter_languages_highlight_diff\",\"7131\":\"react-syntax-highlighter_languages_highlight_protobuf\",\"7209\":\"react-syntax-highlighter_languages_highlight_perl\",\"7247\":\"react-syntax-highlighter_languages_highlight_cmake\",\"7254\":\"react-syntax-highlighter_languages_highlight_subunit\",\"7351\":\"react-syntax-highlighter_languages_highlight_elixir\",\"7401\":\"react-syntax-highlighter_languages_highlight_sas\",\"7406\":\"react-syntax-highlighter_languages_highlight_sql\",\"7439\":\"react-syntax-highlighter_languages_highlight_flix\",\"7533\":\"react-syntax-highlighter_languages_highlight_awk\",\"7572\":\"react-syntax-highlighter_languages_highlight_basic\",\"7764\":\"react-syntax-highlighter_languages_highlight_go\",\"7776\":\"react-syntax-highlighter_languages_highlight_haml\",\"7794\":\"react-syntax-highlighter_languages_highlight_http\",\"7818\":\"react-syntax-highlighter_languages_highlight_arduino\",\"7879\":\"react-syntax-highlighter_languages_highlight_csharp\",\"7934\":\"react-syntax-highlighter_languages_highlight_glsl\",\"7959\":\"react-syntax-highlighter_languages_highlight_htmlbars\",\"8001\":\"react-syntax-highlighter_languages_highlight_matlab\",\"8030\":\"react-syntax-highlighter_languages_highlight_handlebars\",\"8058\":\"react-syntax-highlighter_languages_highlight_n1ql\",\"8078\":\"react-syntax-highlighter_languages_highlight_delphi\",\"8138\":\"react-syntax-highlighter_languages_highlight_elm\",\"8140\":\"react-syntax-highlighter_languages_highlight_pf\",\"8216\":\"react-syntax-highlighter_languages_highlight_bnf\",\"8217\":\"react-syntax-highlighter_languages_highlight_twig\",\"8331\":\"react-syntax-highlighter_languages_highlight_thrift\",\"8338\":\"react-syntax-highlighter_languages_highlight_objectivec\",\"8549\":\"react-syntax-highlighter_languages_highlight_c\",\"8595\":\"react-syntax-highlighter_languages_highlight_hy\",\"8705\":\"react-syntax-highlighter_languages_highlight_nodeRepl\",\"8725\":\"react-syntax-highlighter_languages_highlight_smalltalk\",\"8727\":\"react-syntax-highlighter/lowlight-import\",\"8753\":\"react-syntax-highlighter_languages_highlight_mercury\",\"8755\":\"react-syntax-highlighter_languages_highlight_tcl\",\"8763\":\"react-syntax-highlighter_languages_highlight_routeros\",\"8833\":\"react-syntax-highlighter_languages_highlight_markdown\",\"8874\":\"react-syntax-highlighter_languages_highlight_smali\",\"8903\":\"react-syntax-highlighter_languages_highlight_axapta\",\"8904\":\"react-syntax-highlighter_languages_highlight_python\",\"8948\":\"react-syntax-highlighter_languages_highlight_groovy\",\"9078\":\"react-syntax-highlighter_languages_highlight_irpf90\",\"9118\":\"react-syntax-highlighter_languages_highlight_juliaRepl\",\"9139\":\"react-syntax-highlighter_languages_highlight_django\",\"9162\":\"react-syntax-highlighter_languages_highlight_ceylon\",\"9175\":\"react-syntax-highlighter_languages_highlight_vbscript\",\"9229\":\"react-syntax-highlighter_languages_highlight_julia\",\"9265\":\"react-syntax-highlighter_languages_highlight_dart\",\"9406\":\"react-syntax-highlighter_languages_highlight_cal\",\"9612\":\"react-syntax-highlighter_languages_highlight_bash\",\"9702\":\"react-syntax-highlighter_languages_highlight_gcode\",\"9726\":\"react-syntax-highlighter_languages_highlight_xl\",\"9882\":\"react-syntax-highlighter_languages_highlight_arcade\"}[chunkId] || chunkId) + \".\" + {\"51\":\"be0fdf0c\",\"69\":\"1decc5e8\",\"200\":\"5251fe1a\",\"206\":\"2347c999\",\"327\":\"a9a99299\",\"369\":\"2374941c\",\"371\":\"2f5c76b9\",\"441\":\"f708f1e0\",\"456\":\"47518214\",\"460\":\"6381890e\",\"464\":\"9bbc16eb\",\"501\":\"87de76da\",\"557\":\"362a3b0a\",\"579\":\"21c190ed\",\"634\":\"bb9cc730\",\"635\":\"e030b18a\",\"879\":\"8a8dd91f\",\"927\":\"b0ad82d3\",\"946\":\"e3fcc98c\",\"985\":\"5f60f06d\",\"1062\":\"17afaed1\",\"1084\":\"35f221e8\",\"1085\":\"d17e689a\",\"1099\":\"a34b6944\",\"1173\":\"614c5248\",\"1177\":\"615fa721\",\"1214\":\"60f97895\",\"1276\":\"2bd36dc7\",\"1325\":\"78db0238\",\"1352\":\"38ec3d00\",\"1362\":\"d8631b37\",\"1418\":\"1961f69f\",\"1441\":\"6b156852\",\"1461\":\"3ece3068\",\"1489\":\"a5a73a29\",\"1496\":\"52f73c98\",\"1522\":\"b30d0c38\",\"1645\":\"db086648\",\"1679\":\"508b5846\",\"1694\":\"bd112f1a\",\"1727\":\"ea742315\",\"1750\":\"cad796c9\",\"1828\":\"2c5fdf55\",\"1895\":\"feb72aed\",\"1956\":\"ee3f80da\",\"1961\":\"17155e77\",\"1972\":\"2ba37c00\",\"2007\":\"2cc312ae\",\"2064\":\"dea9db6c\",\"2108\":\"f884fdc0\",\"2118\":\"82433765\",\"2180\":\"43421810\",\"2233\":\"bf0c10d7\",\"2234\":\"1cb2f675\",\"2267\":\"f1f17544\",\"2346\":\"bf4f2b44\",\"2362\":\"353780d4\",\"2378\":\"706a4bd6\",\"2383\":\"58c4cb07\",\"2438\":\"e2543cc2\",\"2488\":\"e32adbeb\",\"2496\":\"0d7f4890\",\"2512\":\"cde06cf5\",\"2516\":\"aa86d495\",\"2628\":\"20156dc1\",\"2665\":\"7bd31b3a\",\"2693\":\"402e473f\",\"2727\":\"989943de\",\"2743\":\"4b40a3f9\",\"2762\":\"bbd3c104\",\"2795\":\"6d79126a\",\"2822\":\"27a4ac5b\",\"2871\":\"cf576f17\",\"2882\":\"0e45c1cf\",\"2952\":\"b3c7e41c\",\"2967\":\"28e7c7f8\",\"2979\":\"25f8d292\",\"2981\":\"038504d0\",\"2983\":\"eaa5e2bf\",\"3007\":\"bffc9924\",\"3144\":\"6f99ccee\",\"3146\":\"08443005\",\"3193\":\"ee14d6a4\",\"3299\":\"5ee62733\",\"3357\":\"217c56f0\",\"3384\":\"d9d4ed7e\",\"3418\":\"d84064e5\",\"3419\":\"245f31b6\",\"3487\":\"f5bc5b04\",\"3500\":\"a06c1c62\",\"3504\":\"1c2f2e54\",\"3540\":\"443301b3\",\"3562\":\"a45eb030\",\"3580\":\"7fc6f9a3\",\"3607\":\"bb6a8626\",\"3623\":\"2aae489e\",\"3657\":\"882640ca\",\"3722\":\"b4bb9102\",\"3736\":\"d934b52b\",\"3811\":\"4ac917b8\",\"3885\":\"fe81a7fc\",\"3923\":\"ddf703d6\",\"3947\":\"ff1c25cf\",\"3954\":\"12dd8006\",\"3976\":\"cf3ec7be\",\"3988\":\"843d9bc4\",\"4014\":\"bec19089\",\"4026\":\"d652a7a1\",\"4041\":\"29923ad9\",\"4075\":\"5d714528\",\"4093\":\"ee6f0452\",\"4110\":\"0f4ff415\",\"4135\":\"9b39cf3b\",\"4282\":\"f624f22d\",\"4300\":\"8540ccea\",\"4342\":\"ade4c6c4\",\"4382\":\"a7363415\",\"4383\":\"c3457b50\",\"4436\":\"fc94a148\",\"4446\":\"92519810\",\"4447\":\"222bb58d\",\"4491\":\"83052809\",\"4493\":\"cceeafb0\",\"4570\":\"8b9f98d7\",\"4575\":\"8d1f48c5\",\"4611\":\"0d064cdf\",\"4614\":\"23f2a85b\",\"4635\":\"1ff533ef\",\"4733\":\"f32d41e6\",\"4835\":\"78d69dee\",\"4931\":\"a431b2db\",\"4935\":\"e14465ff\",\"4956\":\"f9816c44\",\"4971\":\"b6519e02\",\"5010\":\"4ef96c87\",\"5034\":\"b0d90871\",\"5051\":\"3bc87b5b\",\"5099\":\"4934a8e8\",\"5123\":\"501777c7\",\"5189\":\"8fd3703c\",\"5203\":\"e92a3353\",\"5235\":\"2a59dc45\",\"5251\":\"5b0d21b9\",\"5253\":\"e6dbc3b4\",\"5286\":\"630147e0\",\"5446\":\"0e42541e\",\"5565\":\"c5eaa6f5\",\"5613\":\"dc8afdf1\",\"5664\":\"1ede6e37\",\"5773\":\"0cf721ff\",\"5813\":\"cc574d49\",\"5819\":\"72fdf84d\",\"5868\":\"78be038f\",\"5900\":\"8d4054e7\",\"6038\":\"63d1f832\",\"6057\":\"d69b1825\",\"6152\":\"42eb54af\",\"6161\":\"97b48014\",\"6177\":\"695a2547\",\"6195\":\"74045e43\",\"6228\":\"7e26e901\",\"6267\":\"7d33a4a9\",\"6354\":\"e04d1c07\",\"6371\":\"6ee1f11d\",\"6422\":\"969d9b8c\",\"6501\":\"4bfb8996\",\"6512\":\"a4629d0a\",\"6542\":\"e82f126f\",\"6555\":\"4a460eaf\",\"6573\":\"ff6a8f78\",\"6780\":\"8f3a0af6\",\"6800\":\"a7645f4c\",\"6835\":\"31bde7c5\",\"6848\":\"3a36e63f\",\"6872\":\"7ef4ed23\",\"6924\":\"abe269c1\",\"6977\":\"909f2a27\",\"6986\":\"79dfc31f\",\"7005\":\"a9f73153\",\"7048\":\"e740620a\",\"7076\":\"8745d395\",\"7079\":\"a8373241\",\"7131\":\"0cd375bc\",\"7164\":\"5dc4bc72\",\"7209\":\"ae8475a2\",\"7247\":\"cb9028b5\",\"7254\":\"c5ac3a0a\",\"7270\":\"b0e185f1\",\"7351\":\"1e79c9b9\",\"7367\":\"62c9669e\",\"7401\":\"94075d6a\",\"7406\":\"651dcc8d\",\"7439\":\"972cc801\",\"7533\":\"dfc9b0b0\",\"7572\":\"ec232b8a\",\"7764\":\"abc0a144\",\"7776\":\"d698757b\",\"7791\":\"5c1eea8a\",\"7794\":\"a55e168b\",\"7818\":\"9b9ce313\",\"7879\":\"ea98c6fb\",\"7934\":\"bb5b0086\",\"7959\":\"e57e3c89\",\"8001\":\"114e44eb\",\"8030\":\"75c0a89b\",\"8058\":\"c54b2c4a\",\"8078\":\"588e191d\",\"8083\":\"4763f88b\",\"8138\":\"8a488b19\",\"8140\":\"5052a768\",\"8216\":\"84e0a497\",\"8217\":\"5cb0fdfc\",\"8331\":\"ecb04f2a\",\"8338\":\"2d204375\",\"8549\":\"b43ce116\",\"8563\":\"46f1a3e1\",\"8595\":\"c60db034\",\"8705\":\"5b05cdf2\",\"8725\":\"53da57ca\",\"8727\":\"2bd53873\",\"8753\":\"fa8fdac0\",\"8755\":\"79af288c\",\"8763\":\"c0bcd6ce\",\"8789\":\"84963cbc\",\"8804\":\"63919453\",\"8833\":\"1489792c\",\"8874\":\"4fa5afdd\",\"8903\":\"80d14346\",\"8904\":\"9e4100ae\",\"8948\":\"ecd68b19\",\"9051\":\"db875198\",\"9078\":\"25afcc29\",\"9118\":\"e3bfcde8\",\"9139\":\"8fb85401\",\"9162\":\"ab3b1c28\",\"9175\":\"4703f4c5\",\"9229\":\"f43a39d0\",\"9265\":\"0a0b12af\",\"9316\":\"d9f2fe18\",\"9370\":\"2e9fe34b\",\"9400\":\"df4a7fb5\",\"9406\":\"781cc6c6\",\"9612\":\"53f7c730\",\"9655\":\"db0c82b2\",\"9702\":\"378d3296\",\"9710\":\"7ec34777\",\"9726\":\"7cff3cbb\",\"9738\":\"b037daf3\",\"9838\":\"5df9b1de\",\"9882\":\"70910623\"}[chunkId] + \".chunk.js\";\n};","// This function allow to reference async chunks\n__webpack_require__.miniCssF = (chunkId) => {\n\t// return url for filenames based on template\n\treturn \"static/\" + chunkId + \".\" + chunkId + \".\" + \"3597955d\" + \".css\";\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.nmd = (module) => {\n\tmodule.paths = [];\n\tif (!module.children) module.children = [];\n\treturn module;\n};","__webpack_require__.S = {};\nvar initPromises = {};\nvar initTokens = {};\n__webpack_require__.I = (name, initScope) => {\n\tif(!initScope) initScope = [];\n\t// handling circular init calls\n\tvar initToken = initTokens[name];\n\tif(!initToken) initToken = initTokens[name] = {};\n\tif(initScope.indexOf(initToken) >= 0) return;\n\tinitScope.push(initToken);\n\t// only runs once\n\tif(initPromises[name]) return initPromises[name];\n\t// creates a new share scope if needed\n\tif(!__webpack_require__.o(__webpack_require__.S, name)) __webpack_require__.S[name] = {};\n\t// runs all init snippets from all modules reachable\n\tvar scope = __webpack_require__.S[name];\n\tvar warn = (msg) => {\n\t\tif (typeof console !== \"undefined\" && console.warn) console.warn(msg);\n\t};\n\tvar uniqueName = \"internal.plugin-kuadrant\";\n\tvar register = (name, version, factory, eager) => {\n\t\tvar versions = scope[name] = scope[name] || {};\n\t\tvar activeVersion = versions[version];\n\t\tif(!activeVersion || (!activeVersion.loaded && (!eager != !activeVersion.eager ? eager : uniqueName > activeVersion.from))) versions[version] = { get: factory, from: uniqueName, eager: !!eager };\n\t};\n\tvar initExternal = (id) => {\n\t\tvar handleError = (err) => (warn(\"Initialization of sharing external failed: \" + err));\n\t\ttry {\n\t\t\tvar module = __webpack_require__(id);\n\t\t\tif(!module) return;\n\t\t\tvar initFn = (module) => (module && module.init && module.init(__webpack_require__.S[name], initScope))\n\t\t\tif(module.then) return promises.push(module.then(initFn, handleError));\n\t\t\tvar initResult = initFn(module);\n\t\t\tif(initResult && initResult.then) return promises.push(initResult['catch'](handleError));\n\t\t} catch(err) { handleError(err); }\n\t}\n\tvar promises = [];\n\tswitch(name) {\n\t\tcase \"default\": {\n\t\t\tregister(\"@backstage/core-plugin-api\", \"1.11.0\", () => (Promise.all([__webpack_require__.e(9655), __webpack_require__.e(5478), __webpack_require__.e(9634), __webpack_require__.e(5427), __webpack_require__.e(2233)]).then(() => (() => (__webpack_require__(4614))))));\n\t\t\tregister(\"@backstage/core-plugin-api\", \"1.12.1\", () => (Promise.all([__webpack_require__.e(9655), __webpack_require__.e(3504), __webpack_require__.e(5478), __webpack_require__.e(9634), __webpack_require__.e(5501), __webpack_require__.e(5427)]).then(() => (() => (__webpack_require__(23504))))));\n\t\t\tregister(\"@backstage/frontend-plugin-api\", \"0.12.0\", () => (Promise.all([__webpack_require__.e(9655), __webpack_require__.e(9316), __webpack_require__.e(4935), __webpack_require__.e(5478), __webpack_require__.e(9634), __webpack_require__.e(5427), __webpack_require__.e(1723)]).then(() => (() => (__webpack_require__(64935))))));\n\t\t\tregister(\"@backstage/frontend-plugin-api\", \"0.13.3\", () => (Promise.all([__webpack_require__.e(9655), __webpack_require__.e(9316), __webpack_require__.e(9738), __webpack_require__.e(5478), __webpack_require__.e(9634), __webpack_require__.e(5501), __webpack_require__.e(5427), __webpack_require__.e(1085)]).then(() => (() => (__webpack_require__(19738))))));\n\t\t\tregister(\"@backstage/version-bridge\", \"1.0.11\", () => (Promise.all([__webpack_require__.e(5478), __webpack_require__.e(2822)]).then(() => (() => (__webpack_require__(12822))))));\n\t\t\tregister(\"@emotion/cache\", \"11.14.0\", () => (__webpack_require__.e(7164).then(() => (() => (__webpack_require__(67164))))));\n\t\t\tregister(\"@emotion/react\", \"11.14.0\", () => (Promise.all([__webpack_require__.e(5478), __webpack_require__.e(6322), __webpack_require__.e(3657)]).then(() => (() => (__webpack_require__(53657))))));\n\t\t\tregister(\"@material-ui/core/styles\", \"4.12.4\", () => (Promise.all([__webpack_require__.e(9400), __webpack_require__.e(5478), __webpack_require__.e(1942), __webpack_require__.e(4491)]).then(() => (() => (__webpack_require__(64491))))));\n\t\t\tregister(\"@material-ui/styles\", \"4.11.5\", () => (Promise.all([__webpack_require__.e(4570), __webpack_require__.e(5478), __webpack_require__.e(3007)]).then(() => (() => (__webpack_require__(94570))))));\n\t\t\tregister(\"@mui/material\", \"5.18.0\", () => (Promise.all([__webpack_require__.e(3954), __webpack_require__.e(8083), __webpack_require__.e(5478), __webpack_require__.e(484), __webpack_require__.e(9096), __webpack_require__.e(4994)]).then(() => (() => (__webpack_require__(10464))))));\n\t\t\tregister(\"@mui/private-theming\", \"5.17.1\", () => (Promise.all([__webpack_require__.e(5478), __webpack_require__.e(1645)]).then(() => (() => (__webpack_require__(51645))))));\n\t\t\tregister(\"@mui/styled-engine\", \"5.18.0\", () => (Promise.all([__webpack_require__.e(2952), __webpack_require__.e(5478), __webpack_require__.e(6322), __webpack_require__.e(5277), __webpack_require__.e(635)]).then(() => (() => (__webpack_require__(92952))))));\n\t\t\tregister(\"@mui/system\", \"5.18.0\", () => (Promise.all([__webpack_require__.e(9710), __webpack_require__.e(3954), __webpack_require__.e(5478), __webpack_require__.e(9096), __webpack_require__.e(2464)]).then(() => (() => (__webpack_require__(29710))))));\n\t\t\tregister(\"react-dom\", \"18.3.1\", () => (Promise.all([__webpack_require__.e(3144), __webpack_require__.e(5478)]).then(() => (() => (__webpack_require__(43144))))));\n\t\t\tregister(\"react-router-dom\", \"6.30.3\", () => (Promise.all([__webpack_require__.e(501), __webpack_require__.e(5478), __webpack_require__.e(484), __webpack_require__.e(9829)]).then(() => (() => (__webpack_require__(62882))))));\n\t\t\tregister(\"react-router\", \"6.30.3\", () => (Promise.all([__webpack_require__.e(7367), __webpack_require__.e(5478)]).then(() => (() => (__webpack_require__(97367))))));\n\t\t\tregister(\"react\", \"18.3.1\", () => (__webpack_require__.e(4041).then(() => (() => (__webpack_require__(14041))))));\n\t\t}\n\t\tbreak;\n\t}\n\tif(!promises.length) return initPromises[name] = 1;\n\treturn initPromises[name] = Promise.all(promises).then(() => (initPromises[name] = 1));\n};","var scriptUrl;\nif (__webpack_require__.g.importScripts) scriptUrl = __webpack_require__.g.location + \"\";\nvar document = __webpack_require__.g.document;\nif (!scriptUrl && document) {\n\tif (document.currentScript && document.currentScript.tagName.toUpperCase() === 'SCRIPT')\n\t\tscriptUrl = document.currentScript.src;\n\tif (!scriptUrl) {\n\t\tvar scripts = document.getElementsByTagName(\"script\");\n\t\tif(scripts.length) {\n\t\t\tvar i = scripts.length - 1;\n\t\t\twhile (i > -1 && (!scriptUrl || !/^http(s?):/.test(scriptUrl))) scriptUrl = scripts[i--].src;\n\t\t}\n\t}\n}\n// When supporting browsers where an automatic publicPath is not supported you must specify an output.publicPath manually via configuration\n// or pass an empty string (\"\") and set the __webpack_public_path__ variable from your code to use your own logic.\nif (!scriptUrl) throw new Error(\"Automatic publicPath is not supported in this browser\");\nscriptUrl = scriptUrl.replace(/^blob:/, \"\").replace(/#.*$/, \"\").replace(/\\?.*$/, \"\").replace(/\\/[^\\/]+$/, \"/\");\n__webpack_require__.p = scriptUrl;","if (typeof document === \"undefined\") return;\nvar createStylesheet = (chunkId, fullhref, oldTag, resolve, reject) => {\n\tvar linkTag = document.createElement(\"link\");\n\n\tlinkTag.rel = \"stylesheet\";\n\tlinkTag.type = \"text/css\";\n\tvar onLinkComplete = (event) => {\n\t\t// avoid mem leaks.\n\t\tlinkTag.onerror = linkTag.onload = null;\n\t\tif (event.type === 'load') {\n\t\t\tresolve();\n\t\t} else {\n\t\t\tvar errorType = event && event.type;\n\t\t\tvar realHref = event && event.target && event.target.href || fullhref;\n\t\t\tvar err = new Error(\"Loading CSS chunk \" + chunkId + \" failed.\\n(\" + errorType + \": \" + realHref + \")\");\n\t\t\terr.name = \"ChunkLoadError\";\n\t\t\terr.code = \"CSS_CHUNK_LOAD_FAILED\";\n\t\t\terr.type = errorType;\n\t\t\terr.request = realHref;\n\t\t\tif (linkTag.parentNode) linkTag.parentNode.removeChild(linkTag)\n\t\t\treject(err);\n\t\t}\n\t}\n\tlinkTag.onerror = linkTag.onload = onLinkComplete;\n\tlinkTag.href = fullhref;\n\n\n\t(function insertBeforeJssStyles(element) {\n\t const head = document.head;\n\t const firstJssNode = head.querySelector(\"style[data-jss]\");\n\t if (!firstJssNode) {\n\t head.appendChild(element);\n\t } else {\n\t head.insertBefore(element, firstJssNode);\n\t }\n\t })(linkTag)\n\treturn linkTag;\n};\nvar findStylesheet = (href, fullhref) => {\n\tvar existingLinkTags = document.getElementsByTagName(\"link\");\n\tfor(var i = 0; i < existingLinkTags.length; i++) {\n\t\tvar tag = existingLinkTags[i];\n\t\tvar dataHref = tag.getAttribute(\"data-href\") || tag.getAttribute(\"href\");\n\t\tif(tag.rel === \"stylesheet\" && (dataHref === href || dataHref === fullhref)) return tag;\n\t}\n\tvar existingStyleTags = document.getElementsByTagName(\"style\");\n\tfor(var i = 0; i < existingStyleTags.length; i++) {\n\t\tvar tag = existingStyleTags[i];\n\t\tvar dataHref = tag.getAttribute(\"data-href\");\n\t\tif(dataHref === href || dataHref === fullhref) return tag;\n\t}\n};\nvar loadStylesheet = (chunkId) => {\n\treturn new Promise((resolve, reject) => {\n\t\tvar href = __webpack_require__.miniCssF(chunkId);\n\t\tvar fullhref = __webpack_require__.p + href;\n\t\tif(findStylesheet(href, fullhref)) return resolve();\n\t\tcreateStylesheet(chunkId, fullhref, null, resolve, reject);\n\t});\n}\n// object to store loaded CSS chunks\nvar installedCssChunks = {\n\t2310: 0\n};\n\n__webpack_require__.f.miniCss = (chunkId, promises) => {\n\tvar cssChunks = {\"4093\":1};\n\tif(installedCssChunks[chunkId]) promises.push(installedCssChunks[chunkId]);\n\telse if(installedCssChunks[chunkId] !== 0 && cssChunks[chunkId]) {\n\t\tpromises.push(installedCssChunks[chunkId] = loadStylesheet(chunkId).then(() => {\n\t\t\tinstalledCssChunks[chunkId] = 0;\n\t\t}, (e) => {\n\t\t\tdelete installedCssChunks[chunkId];\n\t\t\tthrow e;\n\t\t}));\n\t}\n};\n\n// no hmr","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t2310: 0\n};\n\n__webpack_require__.f.j = (chunkId, promises) => {\n\t\t// JSONP chunk loading for javascript\n\t\tvar installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;\n\t\tif(installedChunkData !== 0) { // 0 means \"already installed\".\n\n\t\t\t// a Promise means \"currently loading\".\n\t\t\tif(installedChunkData) {\n\t\t\t\tpromises.push(installedChunkData[2]);\n\t\t\t} else {\n\t\t\t\tif(!/^(5(277|427|478|501)|9(096|634|829)|(246|48|499)4|1723|1942|6322|7976)$/.test(chunkId)) {\n\t\t\t\t\t// setup Promise in chunk cache\n\t\t\t\t\tvar promise = new Promise((resolve, reject) => (installedChunkData = installedChunks[chunkId] = [resolve, reject]));\n\t\t\t\t\tpromises.push(installedChunkData[2] = promise);\n\n\t\t\t\t\t// start chunk loading\n\t\t\t\t\tvar url = __webpack_require__.p + __webpack_require__.u(chunkId);\n\t\t\t\t\t// create error before stack unwound to get useful stacktrace later\n\t\t\t\t\tvar error = new Error();\n\t\t\t\t\tvar loadingEnded = (event) => {\n\t\t\t\t\t\tif(__webpack_require__.o(installedChunks, chunkId)) {\n\t\t\t\t\t\t\tinstalledChunkData = installedChunks[chunkId];\n\t\t\t\t\t\t\tif(installedChunkData !== 0) installedChunks[chunkId] = undefined;\n\t\t\t\t\t\t\tif(installedChunkData) {\n\t\t\t\t\t\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n\t\t\t\t\t\t\t\tvar realSrc = event && event.target && event.target.src;\n\t\t\t\t\t\t\t\terror.message = 'Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';\n\t\t\t\t\t\t\t\terror.name = 'ChunkLoadError';\n\t\t\t\t\t\t\t\terror.type = errorType;\n\t\t\t\t\t\t\t\terror.request = realSrc;\n\t\t\t\t\t\t\t\tinstalledChunkData[1](error);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\t__webpack_require__.l(url, loadingEnded, \"chunk-\" + chunkId, chunkId);\n\t\t\t\t} else installedChunks[chunkId] = 0;\n\t\t\t}\n\t\t}\n};\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n// no on chunks loaded\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = (parentChunkLoadingFunction, data) => {\n\tvar [chunkIds, moreModules, runtime] = data;\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some((id) => (installedChunks[id] !== 0))) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkId] = 0;\n\t}\n\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunkinternal_plugin_kuadrant\"] = self[\"webpackChunkinternal_plugin_kuadrant\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","// module cache are used so entry inlining is disabled\n// startup\n// Load entry module and return exports\nvar __webpack_exports__ = __webpack_require__(63198);\n"],"names":["leafPrototypes","getProto","inProgress","dataWebpackPrefix","parseVersion","versionLt","rangeToString","satisfy","exists","get","eagerOnly","findSingletonVersionKey","getInvalidSingletonVersionMessage","fail","warn","useFallback","loadSingletonVersion","installedModules","moduleToHandlerMapping","chunkMapping","startedInstallModules","moduleMap","__webpack_require__","e","then","module","getScope","R","o","Promise","resolve","Error","undefined","init","shareScope","initScope","S","name","oldScope","I","d","exports","__webpack_module_cache__","moduleId","cachedModule","id","loaded","__webpack_modules__","call","m","c","n","getter","__esModule","a","Object","getPrototypeOf","obj","t","value","mode","this","ns","create","r","def","current","indexOf","getOwnPropertyNames","forEach","key","definition","defineProperty","enumerable","f","chunkId","all","keys","reduce","promises","u","miniCssF","g","globalThis","Function","window","prop","prototype","hasOwnProperty","l","url","done","push","script","needAttach","scripts","document","getElementsByTagName","i","length","s","getAttribute","createElement","charset","timeout","nc","setAttribute","src","onScriptComplete","prev","event","onerror","onload","clearTimeout","doneFns","parentNode","removeChild","fn","setTimeout","bind","type","target","head","appendChild","Symbol","toStringTag","nmd","paths","children","initPromises","initTokens","initToken","scope","uniqueName","register","version","factory","eager","versions","activeVersion","from","scriptUrl","importScripts","location","currentScript","tagName","toUpperCase","test","replace","p","str","split","map","exec","apply","b","range","pop","entry","filtered","requiredVersion","msg","console","scopeName","fallback","failAsNotExist","promise","consumes","onFactory","onError","error","installedCssChunks","miniCss","reject","href","fullhref","existingLinkTags","dataHref","tag","rel","existingStyleTags","findStylesheet","oldTag","linkTag","errorType","realHref","err","code","request","element","firstJssNode","querySelector","insertBefore","createStylesheet","loadStylesheet","installedChunks","j","installedChunkData","realSrc","message","webpackJsonpCallback","parentChunkLoadingFunction","data","chunkIds","moreModules","runtime","some","chunkLoadingGlobal","self"],"sourceRoot":""}
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "internal.plugin-kuadrant",
3
- "version": "0.0.2-dev-d2ba42b",
3
+ "version": "0.0.2-dev-9be93a3",
4
4
  "extensions": [],
5
5
  "registrationMethod": "callback",
6
6
  "baseURL": "auto",
7
7
  "loadScripts": [
8
- "internal.plugin-kuadrant.eacc31ca4d6c1340f8a8.js"
8
+ "internal.plugin-kuadrant.8bf02d5482a5a3ed6337.js"
9
9
  ],
10
- "buildHash": "eacc31ca4d6c1340f8a875d35698468d"
10
+ "buildHash": "8bf02d5482a5a3ed63376aaa35c0ab14"
11
11
  }
@@ -0,0 +1,2 @@
1
+ "use strict";(self.webpackChunkinternal_plugin_kuadrant=self.webpackChunkinternal_plugin_kuadrant||[]).push([[2967],{32269:(e,a,t)=>{var n=t(4293),r=t(78920);a.A=void 0;var i=r(t(95478)),s=(0,n(t(74044)).default)(i.createElement("path",{d:"M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z"}),"Visibility");a.A=s},35015:(e,a,t)=>{t.d(a,{A:()=>s});var n=t(95478),r=t(85608),i=t(71581);function s(e,a){void 0===a&&(a=[]);var t=function(e,a,t){void 0===a&&(a=[]),void 0===t&&(t={loading:!1});var s=(0,n.useRef)(0),l=(0,i.A)(),o=(0,n.useState)(t),c=o[0],d=o[1],h=(0,n.useCallback)(function(){for(var a=[],t=0;t<arguments.length;t++)a[t]=arguments[t];var n=++s.current;return c.loading||d(function(e){return(0,r.__assign)((0,r.__assign)({},e),{loading:!0})}),e.apply(void 0,a).then(function(e){return l()&&n===s.current&&d({value:e,loading:!1}),e},function(e){return l()&&n===s.current&&d({error:e,loading:!1}),e})},a);return[c,h]}(e,a,{loading:!0}),s=t[0],l=t[1];return(0,n.useEffect)(function(){l()},[l]),s}},46299:(e,a,t)=>{t.d(a,{ee:()=>i,g9:()=>n,uU:()=>r});const n=e=>{const a={border:"none"};switch(e){case"Approved":return{...a,backgroundColor:"#1976d2",color:"#fff"};case"Rejected":return{...a,backgroundColor:"#d32f2f",color:"#fff"};default:return{...a,backgroundColor:"#9c27b0",color:"#fff"}}},r=e=>{const a={border:"none"};switch(e){case"Approved":return{...a,backgroundColor:"#2e7d32",color:"#fff"};case"Rejected":return{...a,backgroundColor:"#d32f2f",color:"#fff"};default:return{...a,backgroundColor:"#ed6c02",color:"#fff"}}},i=e=>{switch(e){case"production":return{backgroundColor:"#1976d2",color:"#fff"};case"experimental":return{backgroundColor:"#9c27b0",color:"#fff"};case"deprecated":return{backgroundColor:"#ff9800",color:"#fff"};case"retired":return{backgroundColor:"#d32f2f",color:"#fff"};default:return{}}}},52235:(e,a,t)=>{var n=t(4293),r=t(78920);a.A=void 0;var i=r(t(95478)),s=(0,n(t(74044)).default)(i.createElement("path",{d:"M12 4l-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z"}),"ArrowForward");a.A=s},55735:(e,a,t)=>{var n=t(4293),r=t(78920);a.A=void 0;var i=r(t(95478)),s=(0,n(t(74044)).default)(i.createElement("path",{d:"M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"}),"ArrowBack");a.A=s},61524:(e,a,t)=>{var n=t(4293),r=t(78920);a.A=void 0;var i=r(t(95478)),s=(0,n(t(74044)).default)(i.createElement("path",{d:"M12 7c2.76 0 5 2.24 5 5 0 .65-.13 1.26-.36 1.83l2.92 2.92c1.51-1.26 2.7-2.89 3.43-4.75-1.73-4.39-6-7.5-11-7.5-1.4 0-2.74.25-3.98.7l2.16 2.16C10.74 7.13 11.35 7 12 7zM2 4.27l2.28 2.28.46.46C3.08 8.3 1.78 10.02 1 12c1.73 4.39 6 7.5 11 7.5 1.55 0 3.03-.3 4.38-.84l.42.42L19.73 22 21 20.73 3.27 3 2 4.27zM7.53 9.8l1.55 1.55c-.05.21-.08.43-.08.65 0 1.66 1.34 3 3 3 .22 0 .44-.03.65-.08l1.55 1.55c-.67.33-1.41.53-2.2.53-2.76 0-5-2.24-5-5 0-.79.2-1.53.53-2.2zm4.31-.78l3.15 3.15.02-.16c0-1.66-1.34-3-3-3l-.17.01z"}),"VisibilityOff");a.A=s},64047:(e,a,t)=>{t.d(a,{s:()=>r});var n=t(22097);t(54209);const r=(0,n.createApiRef)({id:"plugin.kuadrant.service"})},72967:(e,a,t)=>{t.r(a),t.d(a,{ApiKeyDetailPage:()=>W});var n=t(31085),r=t(95478),i=t(49634),s=t(22097),l=t(64047),o=t(35015),c=t(86687),d=t(42367),h=t(289),p=t(15831),u=t(37725),m=t(46681),x=t(94641),A=t(96040),v=t(58837),f=t(10394),y=t(71677),g=t(29365),j=t(64947),b=t(72501),k=t(42899),C=t(67720),w=t(31653),P=t(38605),N=t(76891),S=t(61477),I=t(46805),B=t(93453),z=t(32269),R=t(61524),T=t(99594),L=t(77225),_=t(55735),K=t(39330),E=t(85121),$=t(46299);const D=(0,v.A)(e=>({label:{fontWeight:600,color:e.palette.text.secondary,marginBottom:e.spacing(.5)},value:{marginBottom:e.spacing(2)},codeBlock:{backgroundColor:e.palette.background.default,padding:e.spacing(2),borderRadius:e.shape.borderRadius,fontFamily:"monospace",fontSize:"0.875rem",overflow:"auto",whiteSpace:"pre-wrap",wordBreak:"break-all"},apiKeyContainer:{display:"flex",alignItems:"center",gap:e.spacing(1),padding:e.spacing(1.5),backgroundColor:e.palette.background.default,borderRadius:e.shape.borderRadius,fontFamily:"monospace"},tabPanel:{marginTop:e.spacing(2)}})),M=({code:e,onCopy:a})=>{const t=D();return(0,n.jsxs)(f.A,{position:"relative",children:[(0,n.jsx)(f.A,{className:t.codeBlock,children:e}),(0,n.jsx)(y.Ay,{title:"Copy code",children:(0,n.jsx)(g.A,{size:"small",style:{position:"absolute",top:8,right:8},onClick:a,children:(0,n.jsx)(T.A,{fontSize:"small"})})})]})},W=()=>{var e,a,t,v,W,H,q,F,V,U;const O=D(),{namespace:G,name:Y}=(0,i.useParams)(),J=(0,s.useApi)(l.s),Q=(0,s.useApi)(s.alertApiRef),[X,Z]=(0,r.useState)(0),[ee,ae]=(0,r.useState)(!1),[te,ne]=(0,r.useState)(null),[re,ie]=(0,r.useState)(!1),[se,le]=(0,r.useState)(!1),[oe,ce]=(0,r.useState)(!1),{value:de,loading:he,error:pe}=(0,o.A)(async()=>{var e;const[a,t]=await Promise.all([J.getApiKey(G,Y),J.getApiProducts()]);!1===(null===(e=a.status)||void 0===e?void 0:e.canReadSecret)&&le(!0);const n=(t.items||[]).find(e=>{var t;return e.metadata.name===(null===(t=a.spec.apiProductRef)||void 0===t?void 0:t.name)&&e.metadata.namespace===a.metadata.namespace});return{apiKey:a,apiProduct:n}},[G,Y,J]),ue=null==de?void 0:de.apiKey,me=null==de?void 0:de.apiProduct,xe=async e=>{await navigator.clipboard.writeText(e),Q.post({message:"Copied to clipboard",severity:"success",display:"transient"})};if(he)return(0,n.jsx)(c.k,{});if(pe||!ue)return(0,n.jsx)(d._,{error:pe||new Error("API key not found")});const Ae=(null===(e=ue.status)||void 0===e?void 0:e.phase)||"Pending",ve="Approved"===Ae?"Active":Ae,fe=(null===(a=ue.status)||void 0===a?void 0:a.apiHostname)||"api.example.com",ye=te||"<your-api-key>",ge=[{label:"cURL",code:`curl -H "Authorization: Bearer ${ye}" \\\n https://${fe}/`},{label:"Node.js",code:`const response = await fetch('https://${fe}/', {\n headers: {\n 'Authorization': 'Bearer ${ye}'\n }\n});\nconst data = await response.json();`},{label:"Python",code:`import requests\n\nresponse = requests.get(\n 'https://${fe}/',\n headers={'Authorization': 'Bearer ${ye}'}\n)\ndata = response.json()`},{label:"Go",code:`package main\n\nimport (\n "net/http"\n)\n\nfunc main() {\n client := &http.Client{}\n req, _ := http.NewRequest("GET", "https://${fe}/", nil)\n req.Header.Set("Authorization", "Bearer ${ye}")\n resp, _ := client.Do(req)\n defer resp.Body.Close()\n}`}];return(0,n.jsxs)(h.Y,{themeId:"tool",children:[(0,n.jsx)(p.Y,{title:ue.metadata.name,subtitle:`API Key for ${(null===(t=ue.spec.apiProductRef)||void 0===t?void 0:t.name)||"unknown"}`,children:(0,n.jsx)(u.N_,{to:"/kuadrant/my-api-keys",children:(0,n.jsx)(j.A,{startIcon:(0,n.jsx)(_.A,{}),children:"Back to API Keys"})})}),(0,n.jsxs)(m.U,{children:[(0,n.jsx)(f.A,{mb:2,children:(0,n.jsxs)(x.B,{"aria-label":"breadcrumb",children:[(0,n.jsx)(u.N_,{to:"/kuadrant/my-api-keys",children:"API keys"}),(0,n.jsx)(b.A,{children:ue.metadata.name})]})}),(0,n.jsxs)(f.A,{mb:3,display:"flex",style:{gap:8},children:[(0,n.jsx)(u.N_,{to:`/catalog/default/api/${null===(v=ue.spec.apiProductRef)||void 0===v?void 0:v.name}`,children:(0,n.jsx)(j.A,{variant:"outlined",startIcon:(0,n.jsx)(K.A,{}),"data-testid":"view-api-button",children:"View API"})}),(null==me||null===(W=me.spec)||void 0===W?void 0:W.contact)&&(me.spec.contact.email||me.spec.contact.url||me.spec.contact.slack)&&(0,n.jsx)(j.A,{variant:"outlined",startIcon:(0,n.jsx)(E.A,{}),href:me.spec.contact.email?`mailto:${me.spec.contact.email}`:me.spec.contact.slack?me.spec.contact.slack:me.spec.contact.url||"#",target:"_blank",rel:"noopener noreferrer",children:"Contact Owner"})]}),(0,n.jsxs)(k.A,{container:!0,spacing:3,children:[(0,n.jsx)(k.A,{item:!0,xs:12,md:6,children:(0,n.jsx)(A.n,{title:"API Key Details",children:(0,n.jsxs)(f.A,{children:[(0,n.jsx)(b.A,{variant:"caption",className:O.label,children:"Status"}),(0,n.jsx)(f.A,{className:O.value,children:(0,n.jsx)(C.A,{label:ve,size:"small",style:(0,$.uU)(Ae),"data-testid":"api-key-status-chip"})}),(0,n.jsx)(b.A,{variant:"caption",className:O.label,children:"API Product"}),(0,n.jsx)(b.A,{variant:"body1",className:O.value,children:(0,n.jsx)(u.N_,{to:`/catalog/default/api/${null===(H=ue.spec.apiProductRef)||void 0===H?void 0:H.name}/api-keys`,children:(null===(q=ue.spec.apiProductRef)||void 0===q?void 0:q.name)||"unknown"})}),(0,n.jsx)(b.A,{variant:"caption",className:O.label,children:"Tier"}),(0,n.jsx)(f.A,{className:O.value,children:(0,n.jsx)(C.A,{label:ue.spec.planTier,size:"small",variant:"outlined"})}),(0,n.jsx)(b.A,{variant:"caption",className:O.label,children:"Requester"}),(0,n.jsx)(b.A,{variant:"body1",className:O.value,children:null===(F=ue.spec.requestedBy)||void 0===F?void 0:F.userId}),(0,n.jsx)(b.A,{variant:"caption",className:O.label,children:"Requested"}),(0,n.jsx)(b.A,{variant:"body1",className:O.value,children:ue.metadata.creationTimestamp?new Date(ue.metadata.creationTimestamp).toLocaleDateString():"-"}),(null===(V=ue.status)||void 0===V?void 0:V.reviewedBy)&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(b.A,{variant:"caption",className:O.label,children:"Reviewed By"}),(0,n.jsxs)(b.A,{variant:"body1",className:O.value,children:[ue.status.reviewedBy.replace(/^user:default\//,""),ue.status.reviewedAt&&(0,n.jsxs)(b.A,{variant:"caption",color:"textSecondary",children:[" ","on"," ",new Date(ue.status.reviewedAt).toLocaleDateString()]})]})]})]})})}),(0,n.jsxs)(k.A,{item:!0,xs:12,md:6,children:[(0,n.jsx)(A.n,{title:"Use Case",children:(0,n.jsx)(b.A,{variant:"body1",children:ue.spec.useCase||"No use case provided"})}),"Approved"===Ae&&(0,n.jsx)(f.A,{mt:2,children:(0,n.jsx)(A.n,{title:"API Key",children:se&&!te?(0,n.jsx)(y.Ay,{title:"This API key has already been viewed and cannot be retrieved again",children:(0,n.jsxs)(f.A,{display:"flex",alignItems:"center",children:[(0,n.jsx)(b.A,{variant:"body2",color:"textSecondary",children:"Already viewed - cannot be retrieved again"}),(0,n.jsx)(R.A,{fontSize:"small",color:"disabled",style:{marginLeft:8}})]})}):(0,n.jsxs)(f.A,{className:O.apiKeyContainer,children:[(0,n.jsx)(b.A,{variant:"body2",style:{fontFamily:"monospace",flex:1},children:re?"Loading...":ee&&te?te:"•".repeat(32)}),ee&&te&&(0,n.jsx)(y.Ay,{title:"Copy to clipboard",children:(0,n.jsx)(g.A,{size:"small",onClick:()=>xe(te),children:(0,n.jsx)(T.A,{fontSize:"small"})})}),(0,n.jsx)(y.Ay,{title:ee?"Hide API key":"Reveal API key (one-time only)",children:(0,n.jsx)("span",{children:(0,n.jsx)(g.A,{size:"small",onClick:()=>{ee?(ae(!1),ne(null)):se||ce(!0)},disabled:re||se&&!te,children:ee?(0,n.jsx)(R.A,{fontSize:"small"}):(0,n.jsx)(z.A,{fontSize:"small"})})})})]})})})]}),"Approved"===Ae&&(0,n.jsx)(k.A,{item:!0,xs:12,children:(0,n.jsx)(A.n,{title:"Code Examples",children:(0,n.jsxs)(f.A,{children:[(0,n.jsx)(w.A,{value:X,onChange:(e,a)=>Z(a),indicatorColor:"primary",textColor:"primary",children:ge.map(e=>(0,n.jsx)(P.A,{label:e.label},e.label))}),(0,n.jsx)(f.A,{className:O.tabPanel,children:(0,n.jsx)(M,{code:ge[X].code,onCopy:()=>xe(ge[X].code)})})]})})}),(null===(U=ue.status)||void 0===U?void 0:U.limits)&&(0,n.jsx)(k.A,{item:!0,xs:12,children:(0,n.jsx)(A.n,{title:"Rate Limits",children:(0,n.jsxs)(k.A,{container:!0,spacing:2,children:[ue.status.limits.daily&&(0,n.jsxs)(k.A,{item:!0,children:[(0,n.jsx)(b.A,{variant:"caption",className:O.label,children:"Daily"}),(0,n.jsx)(b.A,{variant:"h6",children:ue.status.limits.daily.toLocaleString()})]}),ue.status.limits.weekly&&(0,n.jsxs)(k.A,{item:!0,children:[(0,n.jsx)(b.A,{variant:"caption",className:O.label,children:"Weekly"}),(0,n.jsx)(b.A,{variant:"h6",children:ue.status.limits.weekly.toLocaleString()})]}),ue.status.limits.monthly&&(0,n.jsxs)(k.A,{item:!0,children:[(0,n.jsx)(b.A,{variant:"caption",className:O.label,children:"Monthly"}),(0,n.jsx)(b.A,{variant:"h6",children:ue.status.limits.monthly.toLocaleString()})]})]})})})]})]}),(0,n.jsxs)(N.A,{open:oe,onClose:()=>ce(!1),maxWidth:"sm",children:[(0,n.jsx)(S.A,{children:(0,n.jsxs)(f.A,{display:"flex",alignItems:"center",children:[(0,n.jsx)(L.A,{color:"primary",style:{marginRight:8}}),"View API Key"]})}),(0,n.jsxs)(I.A,{children:[(0,n.jsxs)(b.A,{variant:"body1",paragraph:!0,children:["This API key can only be viewed ",(0,n.jsx)("strong",{children:"once"}),". After you reveal it, you will not be able to retrieve it again."]}),(0,n.jsx)(b.A,{variant:"body2",color:"textSecondary",children:"Make sure to copy and store it securely before closing this view."})]}),(0,n.jsxs)(B.A,{children:[(0,n.jsx)(j.A,{onClick:()=>ce(!1),children:"Cancel"}),(0,n.jsx)(j.A,{variant:"contained",color:"primary",onClick:()=>{ce(!1),(async()=>{ie(!0);try{const e=await J.getApiKeySecret(G,Y);ne(e.apiKey),le(!0),ae(!0)}catch(e){console.error("Failed to fetch API key:",e);const a=e instanceof Error?e.message:"unknown error occurred";a.includes("403")||a.includes("already been viewed")?(le(!0),Q.post({message:"This API key has already been viewed and cannot be retrieved again.",severity:"warning",display:"transient"})):Q.post({message:`Failed to fetch APIKey. ${a}`,severity:"error",display:"transient"})}finally{ie(!1)}})()},children:"Reveal API Key"})]})]})]})}},77225:(e,a,t)=>{var n=t(4293),r=t(78920);a.A=void 0;var i=r(t(95478)),s=(0,n(t(74044)).default)(i.createElement("path",{d:"M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z"}),"Warning");a.A=s},85121:(e,a,t)=>{var n=t(4293),r=t(78920);a.A=void 0;var i=r(t(95478)),s=(0,n(t(74044)).default)(i.createElement("path",{d:"M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z"}),"Email");a.A=s},96040:(e,a,t)=>{t.d(a,{n:()=>B});var n=t(31085),r=t(40703),i=t(59469),s=t(48653),l=t(45685),o=t(37197),c=t(37976),d=t(53373),h=t.n(d),p=t(10394),u=t(72501),m=t(52235),x=t(37725);const A=(0,c.makeStyles)(e=>({root:{maxWidth:"fit-content",padding:e.spacing(2,2,2,2.5)},boxTitle:{margin:0,color:e.palette.textSubtle},arrow:{color:e.palette.textSubtle}}),{name:"BackstageBottomLink"});function v(e){const{link:a,title:t,onClick:r}=e,i=A();return(0,n.jsxs)(p.A,{children:[(0,n.jsx)(o.A,{}),(0,n.jsx)(x.N_,{to:a,onClick:r,underline:"none",children:(0,n.jsxs)(p.A,{display:"flex",alignItems:"center",className:i.root,children:[(0,n.jsx)(p.A,{className:i.boxTitle,fontWeight:"fontWeightBold",m:1,children:(0,n.jsx)(u.A,{children:(0,n.jsx)("strong",{children:t})})}),(0,n.jsx)(m.A,{className:i.arrow})]})})]})}var f=t(95478),y=t(64947);const g=(0,f.forwardRef)((e,a)=>(0,n.jsx)(x.N_,{ref:a,...e,color:"initial"})),j=(0,f.forwardRef)((e,a)=>(0,n.jsx)(y.A,{ref:a,component:g,...e}));var b=t(56573),k=t(21006),C=t(75501);const w=e=>{const{slackChannel:a}=e,{t}=(0,C.useTranslationRef)(k.O);return a?"string"==typeof a?(0,n.jsx)(u.A,{children:t("errorBoundary.title",{slackChannel:a})}):a.href?(0,n.jsx)(j,{to:a.href,variant:"contained",children:a.name}):(0,n.jsx)(u.A,{children:t("errorBoundary.title",{slackChannel:a.name})}):null},P=class extends f.Component{constructor(e){super(e),this.state={error:void 0,errorInfo:void 0}}componentDidCatch(e,a){console.error(`ErrorBoundary, error: ${e}`,{error:e,errorInfo:a}),this.setState({error:e,errorInfo:a})}render(){const{slackChannel:e,children:a}=this.props,{error:t}=this.state;return t?(0,n.jsx)(b.b,{title:"Something Went Wrong",error:t,children:(0,n.jsx)(w,{slackChannel:e})}):a}},N=(0,c.makeStyles)(e=>({noPadding:{padding:0,"&:last-child":{paddingBottom:0}},contentAlignBottom:{display:"flex",alignItems:"self-end"},header:{padding:e.spacing(2,2,2,2.5)},headerTitle:{fontWeight:e.typography.fontWeightBold},headerSubheader:{paddingTop:e.spacing(1)},headerAvatar:{},headerAction:{},headerContent:{},subheader:{display:"flex"}}),{name:"BackstageInfoCard"}),S=(0,c.withStyles)(e=>({root:{display:"inline-block",padding:e.spacing(8,8,0,0),float:"right"}}),{name:"BackstageInfoCardCardActionsTopRight"})(i.A),I={card:{flex:{display:"flex",flexDirection:"column"},fullHeight:{display:"flex",flexDirection:"column",height:"100%"},gridItem:{display:"flex",flexDirection:"column",height:"calc(100% - 10px)",marginBottom:"10px",breakInside:"avoid-page","@media print":{height:"auto"}}},cardContent:{fullHeight:{flex:1},gridItem:{flex:1}}};function B(e){const{title:a,subheader:t,divider:c=!0,deepLink:d,slackChannel:p,errorBoundaryProps:u,variant:m,alignContent:x="normal",children:A,headerStyle:f,headerProps:y,icon:g,action:j,actionsClassName:b,actions:k,cardClassName:C,actionsTopRight:w,className:B,noPadding:z,titleTypographyProps:R,subheaderTypographyProps:T}=e,L=N();let _={},K={};m&&m.split(/[\s]+/g).forEach(e=>{_={..._,...I.card[e]},K={...K,...I.cardContent[e]}});const E=u||(p?{slackChannel:p}:{});return(0,n.jsx)(r.A,{style:_,className:B,children:(0,n.jsxs)(P,{...E,children:[a&&(0,n.jsx)(l.A,{classes:{root:h()(L.header),title:L.headerTitle,subheader:L.headerSubheader,avatar:L.headerAvatar,action:L.headerAction,content:L.headerContent},title:a,subheader:t||g?(0,n.jsxs)("div",{"data-testid":"info-card-subheader",children:[t&&(0,n.jsx)("div",{className:L.subheader,children:t}),g]}):null,action:j,style:{...f},titleTypographyProps:R,subheaderTypographyProps:T,...y}),w&&(0,n.jsx)(S,{children:w}),c&&(0,n.jsx)(o.A,{}),(0,n.jsx)(s.A,{className:h()(C,{[L.noPadding]:z,[L.contentAlignBottom]:"bottom"===x}),style:K,children:A}),k&&(0,n.jsx)(i.A,{className:b,children:k}),d&&(0,n.jsx)(v,{...d})]})})}}}]);
2
+ //# sourceMappingURL=2967.28e7c7f8.chunk.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"static/2967.28e7c7f8.chunk.js","mappings":"yIAEIA,EAAyB,EAAQ,MAEjCC,EAA0B,EAAQ,OAKtCC,EAAQ,OAAU,EAElB,IAAIC,EAAQF,EAAwB,EAAQ,QAIxCG,GAAW,EAFMJ,EAAuB,EAAQ,QAElBK,SAAuBF,EAAMG,cAAc,OAAQ,CACnFC,EAAG,sNACD,cAEJL,EAAQ,EAAUE,C,wECjBH,SAASI,EAASC,EAAIC,QACpB,IAATA,IAAmBA,EAAO,IAC9B,IAAIC,ECDO,SAAoBF,EAAIC,EAAME,QAC5B,IAATF,IAAmBA,EAAO,SACT,IAAjBE,IAA2BA,EAAe,CAAEC,SAAS,IACzD,IAAIC,GAAa,IAAAC,QAAO,GACpBC,GAAY,EAAAC,EAAA,KACZN,GAAK,IAAAO,UAASN,GAAeO,EAAQR,EAAG,GAAIS,EAAMT,EAAG,GACrDU,GAAW,IAAAC,aAAY,WAEvB,IADA,IAAIC,EAAO,GACFC,EAAK,EAAGA,EAAKC,UAAUC,OAAQF,IACpCD,EAAKC,GAAMC,UAAUD,GAEzB,IAAIG,IAAWb,EAAWc,Q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3L,QACA4L,UAtBCA,GAAcmB,GAGI,IAAAxD,MAAK,MAAO,CAAE,cAAe,sBAAuBC,SAAU,CACnFoC,IAA6B,IAAAnC,KAAI,MAAO,CAAE3J,UAAWH,EAAQiM,UAAWpC,SAAUoC,IAClFmB,KAJO,KAsBLC,SACA7M,MAAO,IAAK0M,GACZQ,uBACAC,8BACGR,IAGPM,IAAmC,IAAA3D,KAAIoC,EAAqB,CAAErC,SAAU4D,IACxEX,IAA2B,IAAAhD,KAAIC,EAAA,EAAS,CAAC,IACzB,IAAAD,KACduE,EAAA,EACA,CACElO,UAAW,IAAWqN,EAAe,CACnC,CAACxN,EAAQqL,WAAYA,EACrB,CAACrL,EAAQuL,oBAAsC,WAAjB0B,IAEhCzM,MAAOqN,EACPhE,aAGJ0D,IAA2B,IAAAzD,KAAIuC,EAAA,EAAa,CAAElM,UAAWmN,EAAkBzD,SAAU0D,IACrFR,IAA4B,IAAAjD,KAAIL,EAAY,IAAKsD,QAErD,C","sources":["webpack://internal.plugin-kuadrant/../../node_modules/@material-ui/icons/Visibility.js","webpack://internal.plugin-kuadrant/../../node_modules/react-use/esm/useAsync.js","webpack://internal.plugin-kuadrant/../../node_modules/react-use/esm/useAsyncFn.js","webpack://internal.plugin-kuadrant/./src/utils/styles.ts","webpack://internal.plugin-kuadrant/../../node_modules/@material-ui/icons/ArrowForward.js","webpack://internal.plugin-kuadrant/../../node_modules/@material-ui/icons/ArrowBack.js","webpack://internal.plugin-kuadrant/../../node_modules/@material-ui/icons/VisibilityOff.js","webpack://internal.plugin-kuadrant/./src/api.ts","webpack://internal.plugin-kuadrant/./src/components/ApiKeyDetailPage/ApiKeyDetailPage.tsx","webpack://internal.plugin-kuadrant/../../node_modules/@material-ui/icons/Warning.js","webpack://internal.plugin-kuadrant/../../node_modules/@material-ui/icons/Email.js","webpack://internal.plugin-kuadrant/./node_modules/@backstage/core-components/dist/layout/BottomLink/BottomLink.esm.js","webpack://internal.plugin-kuadrant/./node_modules/@backstage/core-components/dist/components/LinkButton/LinkButton.esm.js","webpack://internal.plugin-kuadrant/./node_modules/@backstage/core-components/dist/layout/ErrorBoundary/ErrorBoundary.esm.js","webpack://internal.plugin-kuadrant/./node_modules/@backstage/core-components/dist/layout/InfoCard/InfoCard.esm.js"],"sourcesContent":["\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nvar _interopRequireWildcard = require(\"@babel/runtime/helpers/interopRequireWildcard\");\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar React = _interopRequireWildcard(require(\"react\"));\n\nvar _createSvgIcon = _interopRequireDefault(require(\"./utils/createSvgIcon\"));\n\nvar _default = (0, _createSvgIcon.default)( /*#__PURE__*/React.createElement(\"path\", {\n d: \"M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z\"\n}), 'Visibility');\n\nexports.default = _default;","import { useEffect } from 'react';\nimport useAsyncFn from './useAsyncFn';\nexport default function useAsync(fn, deps) {\n if (deps === void 0) { deps = []; }\n var _a = useAsyncFn(fn, deps, {\n loading: true,\n }), state = _a[0], callback = _a[1];\n useEffect(function () {\n callback();\n }, [callback]);\n return state;\n}\n","import { __assign } from \"tslib\";\nimport { useCallback, useRef, useState } from 'react';\nimport useMountedState from './useMountedState';\nexport default function useAsyncFn(fn, deps, initialState) {\n if (deps === void 0) { deps = []; }\n if (initialState === void 0) { initialState = { loading: false }; }\n var lastCallId = useRef(0);\n var isMounted = useMountedState();\n var _a = useState(initialState), state = _a[0], set = _a[1];\n var callback = useCallback(function () {\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n var callId = ++lastCallId.current;\n if (!state.loading) {\n set(function (prevState) { return (__assign(__assign({}, prevState), { loading: true })); });\n }\n return fn.apply(void 0, args).then(function (value) {\n isMounted() && callId === lastCallId.current && set({ value: value, loading: false });\n return value;\n }, function (error) {\n isMounted() && callId === lastCallId.current && set({ error: error, loading: false });\n return error;\n });\n }, deps);\n return [state, callback];\n}\n","import { CSSProperties } from \"react\";\n\n/**\n * Returns inline styles for API key status chips on the My API Keys page.\n */\nexport const getMyApiKeysStatusChipStyle = (phase: string): CSSProperties => {\n const base = { border: \"none\" };\n switch (phase) {\n case \"Approved\":\n return { ...base, backgroundColor: \"#1976d2\", color: \"#fff\" }; // Blue\n case \"Rejected\":\n return { ...base, backgroundColor: \"#d32f2f\", color: \"#fff\" }; // Red\n case \"Pending\":\n return { ...base, backgroundColor: \"#9c27b0\", color: \"#fff\" }; // Purple\n default:\n return { ...base, backgroundColor: \"#9c27b0\", color: \"#fff\" }; // Purple (fallback for Pending)\n }\n};\n\n/**\n * Returns inline styles for API key status chips on the Approval Queue page.\n * Uses inline styles to ensure proper specificity with Material-UI Chip.\n */\nexport const getApprovalQueueStatusChipStyle = (phase: string): CSSProperties => {\n const base = { border: \"none\" };\n switch (phase) {\n case \"Approved\":\n return { ...base, backgroundColor: \"#2e7d32\", color: \"#fff\" }; // Green\n case \"Rejected\":\n return { ...base, backgroundColor: \"#d32f2f\", color: \"#fff\" }; // Red\n case \"Pending\":\n return { ...base, backgroundColor: \"#ed6c02\", color: \"#fff\" }; // Orange\n default:\n return { ...base, backgroundColor: \"#ed6c02\", color: \"#fff\" }; // Orange (fallback for Pending)\n }\n};\n\n/**\n * Returns inline styles for lifecycle chips.\n * Uses inline styles to ensure proper specificity with Material-UI Chip.\n */\nexport const getLifecycleChipStyle = (lifecycle: string): CSSProperties => {\n switch (lifecycle) {\n case \"production\":\n return { backgroundColor: \"#1976d2\", color: \"#fff\" }; // Blue\n case \"experimental\":\n return { backgroundColor: \"#9c27b0\", color: \"#fff\" }; // Purple\n case \"deprecated\":\n return { backgroundColor: \"#ff9800\", color: \"#fff\" }; // Orange\n case \"retired\":\n return { backgroundColor: \"#d32f2f\", color: \"#fff\" }; // Red\n default:\n return {};\n }\n};\n","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nvar _interopRequireWildcard = require(\"@babel/runtime/helpers/interopRequireWildcard\");\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar React = _interopRequireWildcard(require(\"react\"));\n\nvar _createSvgIcon = _interopRequireDefault(require(\"./utils/createSvgIcon\"));\n\nvar _default = (0, _createSvgIcon.default)( /*#__PURE__*/React.createElement(\"path\", {\n d: \"M12 4l-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z\"\n}), 'ArrowForward');\n\nexports.default = _default;","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nvar _interopRequireWildcard = require(\"@babel/runtime/helpers/interopRequireWildcard\");\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar React = _interopRequireWildcard(require(\"react\"));\n\nvar _createSvgIcon = _interopRequireDefault(require(\"./utils/createSvgIcon\"));\n\nvar _default = (0, _createSvgIcon.default)( /*#__PURE__*/React.createElement(\"path\", {\n d: \"M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z\"\n}), 'ArrowBack');\n\nexports.default = _default;","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nvar _interopRequireWildcard = require(\"@babel/runtime/helpers/interopRequireWildcard\");\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar React = _interopRequireWildcard(require(\"react\"));\n\nvar _createSvgIcon = _interopRequireDefault(require(\"./utils/createSvgIcon\"));\n\nvar _default = (0, _createSvgIcon.default)( /*#__PURE__*/React.createElement(\"path\", {\n d: \"M12 7c2.76 0 5 2.24 5 5 0 .65-.13 1.26-.36 1.83l2.92 2.92c1.51-1.26 2.7-2.89 3.43-4.75-1.73-4.39-6-7.5-11-7.5-1.4 0-2.74.25-3.98.7l2.16 2.16C10.74 7.13 11.35 7 12 7zM2 4.27l2.28 2.28.46.46C3.08 8.3 1.78 10.02 1 12c1.73 4.39 6 7.5 11 7.5 1.55 0 3.03-.3 4.38-.84l.42.42L19.73 22 21 20.73 3.27 3 2 4.27zM7.53 9.8l1.55 1.55c-.05.21-.08.43-.08.65 0 1.66 1.34 3 3 3 .22 0 .44-.03.65-.08l1.55 1.55c-.67.33-1.41.53-2.2.53-2.76 0-5-2.24-5-5 0-.79.2-1.53.53-2.2zm4.31-.78l3.15 3.15.02-.16c0-1.66-1.34-3-3-3l-.17.01z\"\n}), 'VisibilityOff');\n\nexports.default = _default;","import {\n createApiRef,\n DiscoveryApi,\n FetchApi,\n IdentityApi,\n} from '@backstage/core-plugin-api';\nimport retry from 'async-retry';\nimport { handleFetchError } from './utils/errors';\nimport {\n APIKey, APIKeyRequest,\n APIKeySpec,\n APIProduct,\n BulkOperationResult, ExtractedSecret, K8sList, K8sResource,\n PlanPolicy,\n} from './types/api-management';\n\n/**\n * Generic Kuadrant list type for API responses\n */\nexport interface KuadrantList<T = any> {\n items: T[];\n}\n\n/**\n * Options for constructing the KuadrantApiClient\n */\nexport type Options = {\n discoveryApi: DiscoveryApi;\n fetchApi: FetchApi;\n identityApi: IdentityApi;\n};\n\n/**\n * Retry configuration for read operations (GET requests only)\n * Conservative strategy: 3 retries with exponential backoff\n */\nconst RETRY_OPTIONS: retry.Options = {\n retries: 3,\n factor: 2,\n minTimeout: 300, // 300ms, 600ms, 1200ms\n maxTimeout: 3000,\n randomize: true,\n};\n\n/**\n * Kuadrant API interface defining all operations for managing\n * API products, API keys, and related resources\n */\nexport interface KuadrantAPI {\n // ===== APIKey Requests =====\n\n /**\n * Fetch all API key requests per user\n * @returns Promise with list of all API key requests\n */\n getRequests(): Promise<KuadrantList<APIKey>>;\n\n /**\n * Fetch all API key requests\n * @returns Promise with list of all API key requests\n */\n getAllRequests(): Promise<KuadrantList<APIKey>>;\n\n /**\n * Fetch API key requests for a specific namespace\n * @param namespace - Kubernetes namespace\n * @returns Promise with list of requests in the namespace\n */\n getRequestsByNamespace(namespace: string): Promise<KuadrantList<APIKey>>;\n\n /**\n * Fetch a single API key request\n * @param namespace - API key request name\n * @param name - Kubernetes namespace\n * @returns Promise with the API key request\n */\n getRequest(namespace: string, name: string): Promise<APIKey>;\n\n /**\n * Create a new API key request\n * @param request - APIKeyRequest specification\n * @returns Promise with the created API key\n */\n createRequest(request: APIKeyRequest): Promise<APIKey>;\n\n /**\n * Update an existing API key request\n * @param namespace - Kubernetes namespace\n * @param name - API key request name\n * @param patch - Partial API key spec with fields to update\n * @returns Promise with the updated API key\n */\n updateRequest(\n namespace: string,\n name: string,\n patch: Partial<APIKeySpec>,\n ): Promise<APIKey>;\n\n /**\n * Delete an API key request\n * @param namespace - Kubernetes namespace\n * @param name - API key request name\n * @returns Promise that resolves when deletion completes\n */\n deleteRequest(namespace: string, name: string): Promise<void>;\n\n /**\n * Approve an API key request\n * @param namespace - Kubernetes namespace\n * @param name - API key request name\n * @param reviewedBy - Reviewed By User / System\n * @returns Promise with the approved API key\n */\n approveRequest(namespace: string, name: string, reviewedBy: string): Promise<APIKey>;\n\n /**\n * Reject an API key request\n * @param namespace - Kubernetes namespace\n * @param name - API key request name\n * @param reviewedBy - Reviewed By User / System\n * @returns Promise with the rejected API key\n */\n rejectRequest(namespace: string, name: string, reviewedBy: string): Promise<APIKey>;\n\n /**\n * Bulk approve multiple API key requests\n * @param requests - Array of namespace/name pairs to approve\n * @param reviewedBy - Reviewed By User / System\n * @returns Promise that resolves when all approvals complete\n */\n bulkApproveRequests(\n requests: Array<{ namespace: string; name: string }>,\n reviewedBy: string): Promise<Array<BulkOperationResult>>;\n\n /**\n * Bulk reject multiple API key requests\n * @param requests - Array of namespace/name pairs to reject\n * @param reviewedBy - Reviewed By User / System\n * @returns Promise that resolves when all rejections complete\n */\n bulkRejectRequests(\n requests: Array<{ namespace: string; name: string }>,\n reviewedBy: string): Promise<Array<BulkOperationResult>>;\n\n // ===== API Keys/Secrets =====\n\n /**\n * Fetch an API key resource\n * @param namespace - Kubernetes namespace\n * @param name - API key name\n * @returns Promise with the API key\n */\n getApiKey(namespace: string, name: string): Promise<APIKey>;\n\n /**\n * Retrieve the secret value for an API key (one-time operation)\n * @param namespace - Kubernetes namespace\n * @param name - API key name\n * @returns Promise with the secret value\n */\n getApiKeySecret(namespace: string, name: string): Promise<ExtractedSecret>;\n\n // ===== API Products =====\n\n /**\n * Fetch all API products\n * @returns Promise with list of all API products\n */\n getApiProducts(): Promise<KuadrantList<APIProduct>>;\n\n /**\n * Fetch a single API product\n * @param namespace - Kubernetes namespace\n * @param name - API product name\n * @returns Promise with the API product\n */\n getApiProduct(namespace: string, name: string): Promise<APIProduct>;\n\n /**\n * Create a new API product\n * @param product - API product specification\n * @returns Promise with the created API product\n */\n createApiProduct(product: APIProduct): Promise<APIProduct>;\n\n /**\n * Update an existing API product\n * @param namespace - Kubernetes namespace\n * @param name - API product name\n * @param patch - Partial API product spec with fields to update\n * @returns Promise with the updated API product\n */\n updateApiProduct(\n namespace: string,\n name: string,\n patch: Partial<APIProduct>,\n ): Promise<APIProduct>;\n\n /**\n * Delete an API product\n * @param namespace - Kubernetes namespace\n * @param name - API product name\n * @returns Promise that resolves when deletion completes\n */\n deleteApiProduct(namespace: string, name: string): Promise<void>;\n\n // ===== HTTP Routes & Policies =====\n\n /**\n * Fetch all HTTPRoute(s)\n * @returns Promise with list of all HTTP routes\n */\n getHttpRoutes(): Promise<K8sList>;\n\n /**\n * Fetch a specific HTTPRoute\n * @param namespace - Kubernetes namespace\n * @param name - HTTPRoute name\n * @returns Promise with an HTTPRoute\n */\n getHttpRoute(namespace: string, name: string): Promise<K8sResource>;\n\n // ===== Plan Policies =====\n\n /**\n * Fetch all plan policies\n * @returns Promise with list of all plan policies\n */\n getPlanPolicies(): Promise<KuadrantList<PlanPolicy>>;\n}\n\n/**\n * API reference for the Kuadrant API\n */\nexport const kuadrantApiRef = createApiRef<KuadrantAPI>({\n id: 'plugin.kuadrant.service',\n});\n\n/**\n * Implementation of the Kuadrant API client\n */\nexport class KuadrantApiClient implements KuadrantAPI {\n private readonly discoveryApi: DiscoveryApi;\n private readonly fetchApi: FetchApi;\n\n constructor(options: Options) {\n this.discoveryApi = options.discoveryApi;\n this.fetchApi = options.fetchApi;\n }\n\n /**\n * Get the base URL for the backend API\n */\n private async getBaseUrl(): Promise<string> {\n return await this.discoveryApi.getBaseUrl('');\n }\n\n /**\n * Wrapper for GET requests with automatic retry logic\n * Retries on network failures or 5xx errors with exponential backoff\n */\n private async fetchWithRetry<T>(url: string, errorMsg: string = \"\"): Promise<T> {\n return retry(\n async (bail) => {\n const response = await this.fetchApi.fetch(url);\n if (response.status === 401 || response.status === 403) { // Don't retry on Unauthenticated/Unauthorized\n const error = await handleFetchError(response);\n bail(new Error(error));\n }\n else if (!response.ok) {\n const error = await handleFetchError(response);\n throw new Error(`${errorMsg} ${error}`);\n }\n return await response.json();\n },\n RETRY_OPTIONS,\n );\n }\n\n /**\n * Wrapper for mutations (POST, PATCH, DELETE) without retry\n * These operations are not retried to avoid duplicate side effects\n */\n private async fetchWithoutRetry<T>(\n url: string,\n options: RequestInit,\n errorMsg: string = \"\"): Promise<T> {\n const response = await this.fetchApi.fetch(url, {\n headers: {\n \"Content-Type\": \"application/json\",\n },\n ...options,\n });\n\n if (!response.ok) {\n const error = await handleFetchError(response);\n throw new Error(`${errorMsg} ${error}`);\n }\n\n // DELETE operations don't return a body\n if (options.method === 'DELETE') {\n return undefined as T;\n }\n\n return await response.json();\n }\n\n // ===== API Requests Implementation =====\n\n async getRequests(): Promise<KuadrantList<APIKey>> {\n const baseUrl = await this.getBaseUrl();\n return this.fetchWithRetry(\n `${baseUrl}kuadrant/requests/my`,\n \"Failed to fetch API Key requests.\"\n );\n }\n\n async getAllRequests(): Promise<KuadrantList<APIKey>> {\n const baseUrl = await this.getBaseUrl();\n return this.fetchWithRetry(\n `${baseUrl}kuadrant/requests`,\n \"Failed to fetch API Key requests.\"\n );\n }\n\n async getRequestsByNamespace(namespace: string): Promise<KuadrantList<APIKey>> {\n const baseUrl = await this.getBaseUrl();\n const url = namespace\n ? `${baseUrl}kuadrant/requests/my?namespace=${namespace}`\n : `${baseUrl}kuadrant/requests/my`;\n return this.fetchWithRetry(url, \"Failed to fetch API Key requests by namespace.\");\n }\n\n async getRequest(namespace: string, name: string): Promise<APIKey> {\n const baseUrl = await this.getBaseUrl();\n return this.fetchWithRetry(\n `${baseUrl}kuadrant/requests/${namespace}/${name}`,\n \"Failed to fetch API Key request.\"\n );\n }\n\n async createRequest(request: APIKeyRequest): Promise<APIKey> {\n const baseUrl = await this.getBaseUrl();\n return this.fetchWithoutRetry(`${baseUrl}kuadrant/requests`, {\n method: 'POST',\n body: JSON.stringify(request),\n }, \"Failed to create APIKey request.\");\n }\n\n async updateRequest(\n namespace: string,\n name: string,\n patch: Partial<APIKeySpec>,\n ): Promise<APIKey> {\n const baseUrl = await this.getBaseUrl();\n return this.fetchWithoutRetry(`${baseUrl}kuadrant/requests/${namespace}/${name}`, {\n method: 'PATCH',\n body: JSON.stringify(patch),\n }, \"Failed to update APIKey request.\");\n }\n\n async deleteRequest(namespace: string, name: string): Promise<void> {\n const baseUrl = await this.getBaseUrl();\n return this.fetchWithoutRetry(`${baseUrl}kuadrant/requests/${namespace}/${name}`, {\n method: 'DELETE',\n }, \"Failed to delete APIKey request.\");\n }\n\n async approveRequest(namespace: string, name: string, reviewedBy: string = \"system\"): Promise<APIKey> {\n const baseUrl = await this.getBaseUrl();\n return this.fetchWithoutRetry(`${baseUrl}kuadrant/requests/${namespace}/${name}/approve`, {\n method: 'POST',\n body: JSON.stringify({ reviewedBy }),\n }, \"Failed to approve APIKey request.\");\n }\n\n async rejectRequest(namespace: string, name: string, reviewedBy: string = \"system\"): Promise<APIKey> {\n const baseUrl = await this.getBaseUrl();\n return this.fetchWithoutRetry(`${baseUrl}kuadrant/requests/${namespace}/${name}/reject`, {\n method: 'POST',\n body: JSON.stringify({ reviewedBy }),\n }, \"Failed to reject APIKey request.\");\n }\n\n async bulkApproveRequests(\n requests: Array<{ namespace: string; name: string }>,\n reviewedBy: string): Promise<Array<BulkOperationResult>> {\n const baseUrl = await this.getBaseUrl();\n return this.fetchWithoutRetry(`${baseUrl}kuadrant/requests/bulk-approve`, {\n method: 'POST',\n body: JSON.stringify({requests, reviewedBy}),\n }, \"Failed to bulk approve APIKey requests.\");\n }\n\n async bulkRejectRequests(\n requests: Array<{ namespace: string; name: string }>,\n reviewedBy: string): Promise<Array<BulkOperationResult>> {\n const baseUrl = await this.getBaseUrl();\n return this.fetchWithoutRetry(`${baseUrl}kuadrant/requests/bulk-reject`, {\n method: 'POST',\n body: JSON.stringify({requests, reviewedBy}),\n }, \"Failed to bulk reject APIKey requests\");\n }\n\n // ===== API Keys/Secrets Implementation =====\n\n async getApiKey(namespace: string, name: string): Promise<APIKey> {\n const baseUrl = await this.getBaseUrl();\n return this.fetchWithRetry(\n `${baseUrl}kuadrant/apikeys/${namespace}/${name}`,\n \"Failed to fetch API Key.\"\n );\n }\n\n async getApiKeySecret(\n namespace: string,\n name: string,\n ): Promise<ExtractedSecret> {\n const baseUrl = await this.getBaseUrl();\n return this.fetchWithRetry(\n `${baseUrl}kuadrant/apikeys/${namespace}/${name}/secret`,\n \"Failed to fetch API Key Secret.\"\n );\n }\n\n // ===== API Products Implementation =====\n\n async getApiProducts(): Promise<KuadrantList<APIProduct>> {\n const baseUrl = await this.getBaseUrl();\n return this.fetchWithRetry(\n `${baseUrl}kuadrant/apiproducts`,\n \"Failed to fetch API Products.\"\n );\n }\n\n async getApiProduct(namespace: string, name: string): Promise<APIProduct> {\n const baseUrl = await this.getBaseUrl();\n return this.fetchWithRetry(\n `${baseUrl}kuadrant/apiproducts/${namespace}/${name}`,\n \"Failed to fetch API Product.\"\n );\n }\n\n async createApiProduct(product: APIProduct): Promise<APIProduct> {\n const baseUrl = await this.getBaseUrl();\n return this.fetchWithoutRetry(`${baseUrl}kuadrant/apiproducts`, {\n method: 'POST',\n body: JSON.stringify(product),\n }, \"Failed to create API Product.\");\n }\n\n async updateApiProduct(\n namespace: string,\n name: string,\n patch: Partial<APIProduct>,\n ): Promise<APIProduct> {\n const baseUrl = await this.getBaseUrl();\n return this.fetchWithoutRetry(`${baseUrl}kuadrant/apiproducts/${namespace}/${name}`, {\n method: 'PATCH',\n body: JSON.stringify(patch),\n }, \"Failed to update API Product.\");\n }\n\n async deleteApiProduct(namespace: string, name: string): Promise<void> {\n const baseUrl = await this.getBaseUrl();\n return this.fetchWithoutRetry(`${baseUrl}kuadrant/apiproducts/${namespace}/${name}`, {\n method: 'DELETE',\n }, \"Failed to delete API Product.\");\n }\n\n // ===== HTTP Routes =====\n\n async getHttpRoutes(): Promise<K8sList> {\n const baseUrl = await this.getBaseUrl();\n return this.fetchWithRetry(\n `${baseUrl}kuadrant/httproutes`,\n \"Failed to fetch HTTPRoutes.\"\n );\n }\n\n async getHttpRoute(namespace: string, name: string): Promise<K8sResource> {\n const baseUrl = await this.getBaseUrl();\n return this.fetchWithRetry(\n `${baseUrl}kuadrant/httproutes/${namespace}/${name}`,\n `Failed to fetc HTTPRoute ${namespace}/${name}.`\n );\n }\n\n // ===== Plan Policies Implementation =====\n\n async getPlanPolicies(): Promise<KuadrantList<PlanPolicy>> {\n const baseUrl = await this.getBaseUrl();\n return this.fetchWithRetry(\n `${baseUrl}kuadrant/planpolicies`,\n \"Failed to fetch PlanPolicies.\"\n );\n }\n}\n","import React, { useState } from \"react\";\nimport { useParams } from \"react-router-dom\";\nimport {\n useApi,\n alertApiRef,\n} from \"@backstage/core-plugin-api\";\nimport { kuadrantApiRef } from '../../api';\nimport { useAsync } from \"react-use\";\nimport {\n Header,\n Page,\n Content,\n Progress,\n ResponseErrorPanel,\n InfoCard,\n Link,\n Breadcrumbs,\n} from \"@backstage/core-components\";\nimport {\n Box,\n Grid,\n Typography,\n Chip,\n IconButton,\n Tooltip,\n Tabs,\n Tab,\n Button,\n Dialog,\n DialogTitle,\n DialogContent,\n DialogActions,\n makeStyles,\n} from \"@material-ui/core\";\nimport VisibilityIcon from \"@material-ui/icons/Visibility\";\nimport VisibilityOffIcon from \"@material-ui/icons/VisibilityOff\";\nimport FileCopyIcon from \"@material-ui/icons/FileCopy\";\nimport WarningIcon from \"@material-ui/icons/Warning\";\nimport ArrowBackIcon from \"@material-ui/icons/ArrowBack\";\nimport OpenInNewIcon from \"@material-ui/icons/OpenInNew\";\nimport EmailIcon from \"@material-ui/icons/Email\";\nimport { APIKey, APIProduct } from \"../../types/api-management\";\nimport { getApprovalQueueStatusChipStyle } from \"../../utils/styles\";\n\nconst useStyles = makeStyles((theme) => ({\n label: {\n fontWeight: 600,\n color: theme.palette.text.secondary,\n marginBottom: theme.spacing(0.5),\n },\n value: {\n marginBottom: theme.spacing(2),\n },\n codeBlock: {\n backgroundColor: theme.palette.background.default,\n padding: theme.spacing(2),\n borderRadius: theme.shape.borderRadius,\n fontFamily: \"monospace\",\n fontSize: \"0.875rem\",\n overflow: \"auto\",\n whiteSpace: \"pre-wrap\",\n wordBreak: \"break-all\",\n },\n apiKeyContainer: {\n display: \"flex\",\n alignItems: \"center\",\n gap: theme.spacing(1),\n padding: theme.spacing(1.5),\n backgroundColor: theme.palette.background.default,\n borderRadius: theme.shape.borderRadius,\n fontFamily: \"monospace\",\n },\n tabPanel: {\n marginTop: theme.spacing(2),\n },\n}));\n\nconst CodeExample = ({\n code,\n onCopy,\n}: {\n code: string;\n onCopy: () => void;\n}) => {\n const classes = useStyles();\n\n return (\n <Box position=\"relative\">\n <Box className={classes.codeBlock}>{code}</Box>\n <Tooltip title=\"Copy code\">\n <IconButton\n size=\"small\"\n style={{ position: \"absolute\", top: 8, right: 8 }}\n onClick={onCopy}\n >\n <FileCopyIcon fontSize=\"small\" />\n </IconButton>\n </Tooltip>\n </Box>\n );\n};\n\nexport const ApiKeyDetailPage = () => {\n const classes = useStyles();\n const { namespace, name } = useParams<{ namespace: string; name: string }>();\n const kuadrantApi = useApi(kuadrantApiRef);\n const alertApi = useApi(alertApiRef);\n\n const [selectedTab, setSelectedTab] = useState(0);\n const [showApiKey, setShowApiKey] = useState(false);\n const [apiKeyValue, setApiKeyValue] = useState<string | null>(null);\n const [apiKeyLoading, setApiKeyLoading] = useState(false);\n const [alreadyRead, setAlreadyRead] = useState(false);\n const [showWarning, setShowWarning] = useState(false);\n\n const {\n value: data,\n loading,\n error,\n } = useAsync(async () => {\n const [apiKeyData, productsData] = await Promise.all([\n kuadrantApi.getApiKey(namespace!, name!),\n kuadrantApi.getApiProducts(),\n ]);\n\n // check if key has already been read\n if (apiKeyData.status?.canReadSecret === false) {\n setAlreadyRead(true);\n }\n\n // find matching api product to get contact info\n const apiProduct = (productsData.items || []).find(\n (p: APIProduct) =>\n p.metadata.name === apiKeyData.spec.apiProductRef?.name &&\n p.metadata.namespace === apiKeyData.metadata.namespace,\n );\n\n return { apiKey: apiKeyData as APIKey, apiProduct };\n }, [namespace, name, kuadrantApi]);\n\n const apiKey = data?.apiKey;\n const apiProduct = data?.apiProduct;\n\n const fetchApiKeySecret = async () => {\n setApiKeyLoading(true);\n try {\n const extractedSecret = await kuadrantApi.getApiKeySecret(namespace!, name!);\n setApiKeyValue(extractedSecret.apiKey);\n setAlreadyRead(true);\n setShowApiKey(true);\n } catch (err) {\n console.error(\"Failed to fetch API key:\", err);\n const errorMessage = err instanceof Error ? err.message : \"unknown error occurred\";\n if (errorMessage.includes(\"403\") || errorMessage.includes(\"already been viewed\")) {\n setAlreadyRead(true);\n alertApi.post({\n message:\n \"This API key has already been viewed and cannot be retrieved again.\",\n severity: \"warning\",\n display: \"transient\",\n });\n } else {\n alertApi.post({\n message: `Failed to fetch APIKey. ${errorMessage}`,\n severity: 'error',\n display: 'transient',\n });\n }\n } finally {\n setApiKeyLoading(false);\n }\n };\n\n const handleRevealClick = () => {\n if (showApiKey) {\n setShowApiKey(false);\n setApiKeyValue(null);\n } else if (!alreadyRead) {\n setShowWarning(true);\n }\n };\n\n const handleConfirmReveal = () => {\n setShowWarning(false);\n fetchApiKeySecret();\n };\n\n const handleCopy = async (text: string) => {\n await navigator.clipboard.writeText(text);\n alertApi.post({\n message: \"Copied to clipboard\",\n severity: \"success\",\n display: \"transient\",\n });\n };\n\n if (loading) {\n return <Progress />;\n }\n\n if (error || !apiKey) {\n return (\n <ResponseErrorPanel error={error || new Error(\"API key not found\")} />\n );\n }\n\n const phase = apiKey.status?.phase || \"Pending\";\n const statusLabel = phase === \"Approved\" ? \"Active\" : phase;\n const hostname = apiKey.status?.apiHostname || \"api.example.com\";\n const displayApiKey = apiKeyValue || \"<your-api-key>\";\n\n // code examples\n const curlExample = `curl -H \"Authorization: Bearer ${displayApiKey}\" \\\\\n https://${hostname}/`;\n\n const nodeExample = `const response = await fetch('https://${hostname}/', {\n headers: {\n 'Authorization': 'Bearer ${displayApiKey}'\n }\n});\nconst data = await response.json();`;\n\n const pythonExample = `import requests\n\nresponse = requests.get(\n 'https://${hostname}/',\n headers={'Authorization': 'Bearer ${displayApiKey}'}\n)\ndata = response.json()`;\n\n const goExample = `package main\n\nimport (\n \"net/http\"\n)\n\nfunc main() {\n client := &http.Client{}\n req, _ := http.NewRequest(\"GET\", \"https://${hostname}/\", nil)\n req.Header.Set(\"Authorization\", \"Bearer ${displayApiKey}\")\n resp, _ := client.Do(req)\n defer resp.Body.Close()\n}`;\n\n const codeExamples = [\n { label: \"cURL\", code: curlExample },\n { label: \"Node.js\", code: nodeExample },\n { label: \"Python\", code: pythonExample },\n { label: \"Go\", code: goExample },\n ];\n\n return (\n <Page themeId=\"tool\">\n <Header\n title={apiKey.metadata.name}\n subtitle={`API Key for ${apiKey.spec.apiProductRef?.name || \"unknown\"}`}\n >\n <Link to=\"/kuadrant/my-api-keys\">\n <Button startIcon={<ArrowBackIcon />}>Back to API Keys</Button>\n </Link>\n </Header>\n <Content>\n <Box mb={2}>\n <Breadcrumbs aria-label=\"breadcrumb\">\n <Link to=\"/kuadrant/my-api-keys\">API keys</Link>\n <Typography>{apiKey.metadata.name}</Typography>\n </Breadcrumbs>\n </Box>\n\n <Box mb={3} display=\"flex\" style={{ gap: 8 }}>\n <Link to={`/catalog/default/api/${apiKey.spec.apiProductRef?.name}`}>\n <Button\n variant=\"outlined\"\n startIcon={<OpenInNewIcon />}\n data-testid=\"view-api-button\"\n >\n View API\n </Button>\n </Link>\n {apiProduct?.spec?.contact &&\n (apiProduct.spec.contact.email ||\n apiProduct.spec.contact.url ||\n apiProduct.spec.contact.slack) && (\n <Button\n variant=\"outlined\"\n startIcon={<EmailIcon />}\n href={\n apiProduct.spec.contact.email\n ? `mailto:${apiProduct.spec.contact.email}`\n : apiProduct.spec.contact.slack\n ? apiProduct.spec.contact.slack\n : apiProduct.spec.contact.url || \"#\"\n }\n target=\"_blank\"\n rel=\"noopener noreferrer\"\n >\n Contact Owner\n </Button>\n )}\n </Box>\n\n <Grid container spacing={3}>\n <Grid item xs={12} md={6}>\n <InfoCard title=\"API Key Details\">\n <Box>\n <Typography variant=\"caption\" className={classes.label}>\n Status\n </Typography>\n <Box className={classes.value}>\n <Chip\n label={statusLabel}\n size=\"small\"\n style={getApprovalQueueStatusChipStyle(phase)}\n data-testid=\"api-key-status-chip\"\n />\n </Box>\n\n <Typography variant=\"caption\" className={classes.label}>\n API Product\n </Typography>\n <Typography variant=\"body1\" className={classes.value}>\n <Link\n to={`/catalog/default/api/${apiKey.spec.apiProductRef?.name}/api-keys`}\n >\n {apiKey.spec.apiProductRef?.name || \"unknown\"}\n </Link>\n </Typography>\n\n <Typography variant=\"caption\" className={classes.label}>\n Tier\n </Typography>\n <Box className={classes.value}>\n <Chip\n label={apiKey.spec.planTier}\n size=\"small\"\n variant=\"outlined\"\n />\n </Box>\n\n <Typography variant=\"caption\" className={classes.label}>\n Requester\n </Typography>\n <Typography variant=\"body1\" className={classes.value}>\n {apiKey.spec.requestedBy?.userId}\n </Typography>\n\n <Typography variant=\"caption\" className={classes.label}>\n Requested\n </Typography>\n <Typography variant=\"body1\" className={classes.value}>\n {apiKey.metadata.creationTimestamp\n ? new Date(\n apiKey.metadata.creationTimestamp,\n ).toLocaleDateString()\n : \"-\"}\n </Typography>\n\n {apiKey.status?.reviewedBy && (\n <>\n <Typography variant=\"caption\" className={classes.label}>\n Reviewed By\n </Typography>\n <Typography variant=\"body1\" className={classes.value}>\n {apiKey.status.reviewedBy.replace(/^user:default\\//, \"\")}\n {apiKey.status.reviewedAt && (\n <Typography variant=\"caption\" color=\"textSecondary\">\n {\" \"}\n on{\" \"}\n {new Date(\n apiKey.status.reviewedAt,\n ).toLocaleDateString()}\n </Typography>\n )}\n </Typography>\n </>\n )}\n </Box>\n </InfoCard>\n </Grid>\n\n <Grid item xs={12} md={6}>\n <InfoCard title=\"Use Case\">\n <Typography variant=\"body1\">\n {apiKey.spec.useCase || \"No use case provided\"}\n </Typography>\n </InfoCard>\n\n {phase === \"Approved\" && (\n <Box mt={2}>\n <InfoCard title=\"API Key\">\n {alreadyRead && !apiKeyValue ? (\n <Tooltip title=\"This API key has already been viewed and cannot be retrieved again\">\n <Box display=\"flex\" alignItems=\"center\">\n <Typography variant=\"body2\" color=\"textSecondary\">\n Already viewed - cannot be retrieved again\n </Typography>\n <VisibilityOffIcon\n fontSize=\"small\"\n color=\"disabled\"\n style={{ marginLeft: 8 }}\n />\n </Box>\n </Tooltip>\n ) : (\n <Box className={classes.apiKeyContainer}>\n <Typography\n variant=\"body2\"\n style={{ fontFamily: \"monospace\", flex: 1 }}\n >\n {apiKeyLoading\n ? \"Loading...\"\n : showApiKey && apiKeyValue\n ? apiKeyValue\n : \"•\".repeat(32)}\n </Typography>\n {showApiKey && apiKeyValue && (\n <Tooltip title=\"Copy to clipboard\">\n <IconButton\n size=\"small\"\n onClick={() => handleCopy(apiKeyValue)}\n >\n <FileCopyIcon fontSize=\"small\" />\n </IconButton>\n </Tooltip>\n )}\n <Tooltip\n title={\n showApiKey\n ? \"Hide API key\"\n : \"Reveal API key (one-time only)\"\n }\n >\n <span>\n <IconButton\n size=\"small\"\n onClick={handleRevealClick}\n disabled={\n apiKeyLoading || (alreadyRead && !apiKeyValue)\n }\n >\n {showApiKey ? (\n <VisibilityOffIcon fontSize=\"small\" />\n ) : (\n <VisibilityIcon fontSize=\"small\" />\n )}\n </IconButton>\n </span>\n </Tooltip>\n </Box>\n )}\n </InfoCard>\n </Box>\n )}\n </Grid>\n\n {phase === \"Approved\" && (\n <Grid item xs={12}>\n <InfoCard title=\"Code Examples\">\n <Box>\n <Tabs\n value={selectedTab}\n onChange={(_, newValue) => setSelectedTab(newValue)}\n indicatorColor=\"primary\"\n textColor=\"primary\"\n >\n {codeExamples.map((ex) => (\n <Tab key={ex.label} label={ex.label} />\n ))}\n </Tabs>\n <Box className={classes.tabPanel}>\n <CodeExample\n code={codeExamples[selectedTab].code}\n onCopy={() => handleCopy(codeExamples[selectedTab].code)}\n />\n </Box>\n </Box>\n </InfoCard>\n </Grid>\n )}\n\n {apiKey.status?.limits && (\n <Grid item xs={12}>\n <InfoCard title=\"Rate Limits\">\n <Grid container spacing={2}>\n {apiKey.status.limits.daily && (\n <Grid item>\n <Typography variant=\"caption\" className={classes.label}>\n Daily\n </Typography>\n <Typography variant=\"h6\">\n {apiKey.status.limits.daily.toLocaleString()}\n </Typography>\n </Grid>\n )}\n {apiKey.status.limits.weekly && (\n <Grid item>\n <Typography variant=\"caption\" className={classes.label}>\n Weekly\n </Typography>\n <Typography variant=\"h6\">\n {apiKey.status.limits.weekly.toLocaleString()}\n </Typography>\n </Grid>\n )}\n {apiKey.status.limits.monthly && (\n <Grid item>\n <Typography variant=\"caption\" className={classes.label}>\n Monthly\n </Typography>\n <Typography variant=\"h6\">\n {apiKey.status.limits.monthly.toLocaleString()}\n </Typography>\n </Grid>\n )}\n </Grid>\n </InfoCard>\n </Grid>\n )}\n </Grid>\n </Content>\n\n <Dialog\n open={showWarning}\n onClose={() => setShowWarning(false)}\n maxWidth=\"sm\"\n >\n <DialogTitle>\n <Box display=\"flex\" alignItems=\"center\">\n <WarningIcon color=\"primary\" style={{ marginRight: 8 }} />\n View API Key\n </Box>\n </DialogTitle>\n <DialogContent>\n <Typography variant=\"body1\" paragraph>\n This API key can only be viewed <strong>once</strong>. After you\n reveal it, you will not be able to retrieve it again.\n </Typography>\n <Typography variant=\"body2\" color=\"textSecondary\">\n Make sure to copy and store it securely before closing this view.\n </Typography>\n </DialogContent>\n <DialogActions>\n <Button onClick={() => setShowWarning(false)}>Cancel</Button>\n <Button\n variant=\"contained\"\n color=\"primary\"\n onClick={handleConfirmReveal}\n >\n Reveal API Key\n </Button>\n </DialogActions>\n </Dialog>\n </Page>\n );\n};\n","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nvar _interopRequireWildcard = require(\"@babel/runtime/helpers/interopRequireWildcard\");\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar React = _interopRequireWildcard(require(\"react\"));\n\nvar _createSvgIcon = _interopRequireDefault(require(\"./utils/createSvgIcon\"));\n\nvar _default = (0, _createSvgIcon.default)( /*#__PURE__*/React.createElement(\"path\", {\n d: \"M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z\"\n}), 'Warning');\n\nexports.default = _default;","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nvar _interopRequireWildcard = require(\"@babel/runtime/helpers/interopRequireWildcard\");\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar React = _interopRequireWildcard(require(\"react\"));\n\nvar _createSvgIcon = _interopRequireDefault(require(\"./utils/createSvgIcon\"));\n\nvar _default = (0, _createSvgIcon.default)( /*#__PURE__*/React.createElement(\"path\", {\n d: \"M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z\"\n}), 'Email');\n\nexports.default = _default;","import { jsxs, jsx } from 'react/jsx-runtime';\nimport Box from '@material-ui/core/Box';\nimport Divider from '@material-ui/core/Divider';\nimport { makeStyles } from '@material-ui/core/styles';\nimport Typography from '@material-ui/core/Typography';\nimport ArrowIcon from '@material-ui/icons/ArrowForward';\nimport { Link } from '../../components/Link/Link.esm.js';\n\nconst useStyles = makeStyles(\n (theme) => ({\n root: {\n maxWidth: \"fit-content\",\n padding: theme.spacing(2, 2, 2, 2.5)\n },\n boxTitle: {\n margin: 0,\n color: theme.palette.textSubtle\n },\n arrow: {\n color: theme.palette.textSubtle\n }\n }),\n { name: \"BackstageBottomLink\" }\n);\nfunction BottomLink(props) {\n const { link, title, onClick } = props;\n const classes = useStyles();\n return /* @__PURE__ */ jsxs(Box, { children: [\n /* @__PURE__ */ jsx(Divider, {}),\n /* @__PURE__ */ jsx(Link, { to: link, onClick, underline: \"none\", children: /* @__PURE__ */ jsxs(Box, { display: \"flex\", alignItems: \"center\", className: classes.root, children: [\n /* @__PURE__ */ jsx(Box, { className: classes.boxTitle, fontWeight: \"fontWeightBold\", m: 1, children: /* @__PURE__ */ jsx(Typography, { children: /* @__PURE__ */ jsx(\"strong\", { children: title }) }) }),\n /* @__PURE__ */ jsx(ArrowIcon, { className: classes.arrow })\n ] }) })\n ] });\n}\n\nexport { BottomLink };\n//# sourceMappingURL=BottomLink.esm.js.map\n","import { jsx } from 'react/jsx-runtime';\nimport Button$1 from '@material-ui/core/Button';\nimport { forwardRef } from 'react';\nimport { Link } from '../Link/Link.esm.js';\n\nconst LinkWrapper = forwardRef((props, ref) => /* @__PURE__ */ jsx(Link, { ref, ...props, color: \"initial\" }));\nconst LinkButton = forwardRef((props, ref) => /* @__PURE__ */ jsx(Button$1, { ref, component: LinkWrapper, ...props }));\nconst Button = LinkButton;\n\nexport { Button, LinkButton };\n//# sourceMappingURL=LinkButton.esm.js.map\n","import { jsx } from 'react/jsx-runtime';\nimport Typography from '@material-ui/core/Typography';\nimport { Component } from 'react';\nimport { LinkButton } from '../../components/LinkButton/LinkButton.esm.js';\nimport { ErrorPanel } from '../../components/ErrorPanel/ErrorPanel.esm.js';\nimport { coreComponentsTranslationRef } from '../../translation.esm.js';\nimport { useTranslationRef } from '@backstage/core-plugin-api/alpha';\n\nconst SlackLink = (props) => {\n const { slackChannel } = props;\n const { t } = useTranslationRef(coreComponentsTranslationRef);\n if (!slackChannel) {\n return null;\n } else if (typeof slackChannel === \"string\") {\n return /* @__PURE__ */ jsx(Typography, { children: t(\"errorBoundary.title\", { slackChannel }) });\n } else if (!slackChannel.href) {\n return /* @__PURE__ */ jsx(Typography, { children: t(\"errorBoundary.title\", {\n slackChannel: slackChannel.name\n }) });\n }\n return /* @__PURE__ */ jsx(LinkButton, { to: slackChannel.href, variant: \"contained\", children: slackChannel.name });\n};\nconst ErrorBoundary = class ErrorBoundary2 extends Component {\n constructor(props) {\n super(props);\n this.state = {\n error: void 0,\n errorInfo: void 0\n };\n }\n componentDidCatch(error, errorInfo) {\n console.error(`ErrorBoundary, error: ${error}`, { error, errorInfo });\n this.setState({ error, errorInfo });\n }\n render() {\n const { slackChannel, children } = this.props;\n const { error } = this.state;\n if (!error) {\n return children;\n }\n return /* @__PURE__ */ jsx(ErrorPanel, { title: \"Something Went Wrong\", error, children: /* @__PURE__ */ jsx(SlackLink, { slackChannel }) });\n }\n};\n\nexport { ErrorBoundary };\n//# sourceMappingURL=ErrorBoundary.esm.js.map\n","import { jsx, jsxs } from 'react/jsx-runtime';\nimport Card from '@material-ui/core/Card';\nimport CardActions from '@material-ui/core/CardActions';\nimport CardContent from '@material-ui/core/CardContent';\nimport CardHeader from '@material-ui/core/CardHeader';\nimport Divider from '@material-ui/core/Divider';\nimport { makeStyles, withStyles } from '@material-ui/core/styles';\nimport classNames from 'classnames';\nimport { BottomLink } from '../BottomLink/BottomLink.esm.js';\nimport { ErrorBoundary } from '../ErrorBoundary/ErrorBoundary.esm.js';\n\nconst useStyles = makeStyles(\n (theme) => ({\n noPadding: {\n padding: 0,\n \"&:last-child\": {\n paddingBottom: 0\n }\n },\n contentAlignBottom: {\n display: \"flex\",\n alignItems: \"self-end\"\n },\n header: {\n padding: theme.spacing(2, 2, 2, 2.5)\n },\n headerTitle: {\n fontWeight: theme.typography.fontWeightBold\n },\n headerSubheader: {\n paddingTop: theme.spacing(1)\n },\n headerAvatar: {},\n headerAction: {},\n headerContent: {},\n subheader: {\n display: \"flex\"\n }\n }),\n { name: \"BackstageInfoCard\" }\n);\nconst CardActionsTopRight = withStyles(\n (theme) => ({\n root: {\n display: \"inline-block\",\n padding: theme.spacing(8, 8, 0, 0),\n float: \"right\"\n }\n }),\n { name: \"BackstageInfoCardCardActionsTopRight\" }\n)(CardActions);\nconst VARIANT_STYLES = {\n card: {\n flex: {\n display: \"flex\",\n flexDirection: \"column\"\n },\n fullHeight: {\n display: \"flex\",\n flexDirection: \"column\",\n height: \"100%\"\n },\n gridItem: {\n display: \"flex\",\n flexDirection: \"column\",\n height: \"calc(100% - 10px)\",\n // for pages without content header\n marginBottom: \"10px\",\n breakInside: \"avoid-page\",\n \"@media print\": {\n height: \"auto\"\n }\n }\n },\n cardContent: {\n fullHeight: {\n flex: 1\n },\n gridItem: {\n flex: 1\n }\n }\n};\nfunction InfoCard(props) {\n const {\n title,\n subheader,\n divider = true,\n deepLink,\n slackChannel,\n errorBoundaryProps,\n variant,\n alignContent = \"normal\",\n children,\n headerStyle,\n headerProps,\n icon,\n action,\n actionsClassName,\n actions,\n cardClassName,\n actionsTopRight,\n className,\n noPadding,\n titleTypographyProps,\n subheaderTypographyProps\n } = props;\n const classes = useStyles();\n let calculatedStyle = {};\n let calculatedCardStyle = {};\n if (variant) {\n const variants = variant.split(/[\\s]+/g);\n variants.forEach((name) => {\n calculatedStyle = {\n ...calculatedStyle,\n ...VARIANT_STYLES.card[name]\n };\n calculatedCardStyle = {\n ...calculatedCardStyle,\n ...VARIANT_STYLES.cardContent[name]\n };\n });\n }\n const cardSubTitle = () => {\n if (!subheader && !icon) {\n return null;\n }\n return /* @__PURE__ */ jsxs(\"div\", { \"data-testid\": \"info-card-subheader\", children: [\n subheader && /* @__PURE__ */ jsx(\"div\", { className: classes.subheader, children: subheader }),\n icon\n ] });\n };\n const errProps = errorBoundaryProps || (slackChannel ? { slackChannel } : {});\n return /* @__PURE__ */ jsx(Card, { style: calculatedStyle, className, children: /* @__PURE__ */ jsxs(ErrorBoundary, { ...errProps, children: [\n title && /* @__PURE__ */ jsx(\n CardHeader,\n {\n classes: {\n root: classNames(classes.header),\n title: classes.headerTitle,\n subheader: classes.headerSubheader,\n avatar: classes.headerAvatar,\n action: classes.headerAction,\n content: classes.headerContent\n },\n title,\n subheader: cardSubTitle(),\n action,\n style: { ...headerStyle },\n titleTypographyProps,\n subheaderTypographyProps,\n ...headerProps\n }\n ),\n actionsTopRight && /* @__PURE__ */ jsx(CardActionsTopRight, { children: actionsTopRight }),\n divider && /* @__PURE__ */ jsx(Divider, {}),\n /* @__PURE__ */ jsx(\n CardContent,\n {\n className: classNames(cardClassName, {\n [classes.noPadding]: noPadding,\n [classes.contentAlignBottom]: alignContent === \"bottom\"\n }),\n style: calculatedCardStyle,\n children\n }\n ),\n actions && /* @__PURE__ */ jsx(CardActions, { className: actionsClassName, children: actions }),\n deepLink && /* @__PURE__ */ jsx(BottomLink, { ...deepLink })\n ] }) });\n}\n\nexport { InfoCard };\n//# sourceMappingURL=InfoCard.esm.js.map\n"],"names":["_interopRequireDefault","_interopRequireWildcard","exports","React","_default","default","createElement","d","useAsync","fn","deps","_a","initialState","loading","lastCallId","useRef","isMounted","useMountedState","useState","state","set","callback","useCallback","args","_i","arguments","length","callId","current","prevState","__assign","apply","then","value","error","useAsyncFn","useEffect","getMyApiKeysStatusChipStyle","phase","base","border","backgroundColor","color","getApprovalQueueStatusChipStyle","getLifecycleChipStyle","lifecycle","kuadrantApiRef","createApiRef","id","useStyles","makeStyles","theme","label","fontWeight","palette","text","secondary","marginBottom","spacing","codeBlock","background","padding","borderRadius","shape","fontFamily","fontSize","overflow","whiteSpace","wordBreak","apiKeyContainer","display","alignItems","gap","tabPanel","marginTop","CodeExample","code","onCopy","classes","Box","position","className","Tooltip","title","IconButton","size","style","top","right","onClick","FileCopyIcon","ApiKeyDetailPage","apiKey","apiProduct","namespace","name","useParams","kuadrantApi","useApi","alertApi","alertApiRef","selectedTab","setSelectedTab","showApiKey","setShowApiKey","apiKeyValue","setApiKeyValue","apiKeyLoading","setApiKeyLoading","alreadyRead","setAlreadyRead","showWarning","setShowWarning","data","async","apiKeyData","productsData","Promise","all","getApiKey","getApiProducts","status","canReadSecret","items","find","p","metadata","spec","apiProductRef","handleCopy","navigator","clipboard","writeText","post","message","severity","Progress","ResponseErrorPanel","Error","statusLabel","hostname","apiHostname","displayApiKey","codeExamples","Page","themeId","Header","subtitle","Link","to","Button","startIcon","ArrowBackIcon","Content","mb","Breadcrumbs","aria-label","Typography","variant","OpenInNewIcon","data-testid","contact","email","url","slack","EmailIcon","href","target","rel","Grid","container","item","xs","md","InfoCard","Chip","planTier","requestedBy","userId","creationTimestamp","Date","toLocaleDateString","reviewedBy","replace","reviewedAt","useCase","mt","VisibilityOffIcon","marginLeft","flex","repeat","span","disabled","VisibilityIcon","Tabs","onChange","_","newValue","indicatorColor","textColor","map","ex","Tab","limits","daily","toLocaleString","weekly","monthly","Dialog","open","onClose","maxWidth","DialogTitle","WarningIcon","marginRight","DialogContent","paragraph","strong","DialogActions","extractedSecret","getApiKeySecret","err","console","errorMessage","includes","fetchApiKeySecret","root","boxTitle","margin","textSubtle","arrow","BottomLink","props","link","jsxs","children","jsx","Divider","underline","m","A","LinkWrapper","forwardRef","ref","LinkButton","component","SlackLink","slackChannel","useTranslationRef","t","ErrorBoundary","Component","constructor","super","this","errorInfo","componentDidCatch","setState","render","noPadding","paddingBottom","contentAlignBottom","header","headerTitle","typography","fontWeightBold","headerSubheader","paddingTop","headerAvatar","headerAction","headerContent","subheader","CardActionsTopRight","withStyles","float","CardActions","VARIANT_STYLES","card","flexDirection","fullHeight","height","gridItem","breakInside","cardContent","divider","deepLink","errorBoundaryProps","alignContent","headerStyle","headerProps","icon","action","actionsClassName","actions","cardClassName","actionsTopRight","titleTypographyProps","subheaderTypographyProps","calculatedStyle","calculatedCardStyle","split","forEach","errProps","Card","CardHeader","avatar","content","CardContent"],"sourceRoot":""}
@@ -0,0 +1,2 @@
1
+ "use strict";(self.webpackChunkinternal_plugin_kuadrant=self.webpackChunkinternal_plugin_kuadrant||[]).push([[3976],{12229:(e,s,t)=>{t.d(s,{Z:()=>A});var n=t(31085),r=t(95478),a=t.n(r),i=t(10394),o=t(72501),l=t(64947),c=t(37197),d=t(69621),p=t(12981),u=t(86901),m=t(69076),g=t(58837),h=t(6924),v=t(23164);const x=(0,g.A)(e=>({root:{width:240,minWidth:240,padding:e.spacing(2),borderRight:`1px solid ${e.palette.divider}`,backgroundColor:e.palette.background.paper,height:"100%",overflowY:"auto"},sectionTitle:{fontWeight:600,fontSize:"0.75rem",textTransform:"uppercase",letterSpacing:"0.05em",color:e.palette.text.secondary,marginBottom:e.spacing(1),display:"flex",alignItems:"center",justifyContent:"space-between",cursor:"pointer",userSelect:"none"},filterSection:{marginBottom:e.spacing(2)},checkbox:{padding:e.spacing(.5)},checkboxLabel:{fontSize:"0.875rem"},clearButton:{marginTop:e.spacing(2)},count:{fontSize:"0.75rem",color:e.palette.text.secondary,marginLeft:e.spacing(1)}})),A=({sections:e,filters:s,onChange:t,onClear:r})=>{const g=x(),[A,j]=a().useState(new Set(e.filter(e=>e.collapsed).map(e=>e.id))),f=Object.values(s).some(e=>e.length>0);return(0,n.jsxs)(i.A,{className:g.root,children:[(0,n.jsxs)(i.A,{display:"flex",justifyContent:"space-between",alignItems:"center",mb:2,children:[(0,n.jsx)(o.A,{variant:"subtitle2",children:"Filters"}),f&&(0,n.jsx)(l.A,{size:"small",color:"primary",onClick:()=>{const s={};e.forEach(e=>{s[e.id]=[]}),t(s),null==r||r()},children:"Clear all"})]}),(0,n.jsx)(c.A,{}),e.map(e=>{const r=A.has(e.id),a=(s[e.id]||[]).length;return(0,n.jsxs)(i.A,{className:g.filterSection,mt:2,children:[(0,n.jsxs)(i.A,{className:g.sectionTitle,onClick:()=>{return s=e.id,void j(e=>{const t=new Set(e);return t.has(s)?t.delete(s):t.add(s),t});var s},children:[(0,n.jsxs)(i.A,{display:"flex",alignItems:"center",children:[(0,n.jsx)("span",{children:e.title}),a>0&&(0,n.jsxs)("span",{className:g.count,children:["(",a,")"]})]}),r?(0,n.jsx)(h.A,{fontSize:"small"}):(0,n.jsx)(v.A,{fontSize:"small"})]}),(0,n.jsx)(d.A,{in:!r,children:(0,n.jsx)(p.A,{children:e.options.map(r=>(0,n.jsx)(u.A,{control:(0,n.jsx)(m.A,{checked:(s[e.id]||[]).includes(r.value),onChange:()=>((e,n)=>{const r=s[e]||[],a=r.includes(n)?r.filter(e=>e!==n):[...r,n];t({...s,[e]:a})})(e.id,r.value),size:"small",className:g.checkbox,color:"primary"}),label:(0,n.jsxs)(i.A,{display:"flex",alignItems:"center",children:[(0,n.jsx)("span",{className:g.checkboxLabel,children:r.label}),void 0!==r.count&&(0,n.jsxs)("span",{className:g.count,children:["(",r.count,")"]})]})},r.value))})})]},e.id)})]})}},23164:(e,s,t)=>{var n=t(4293),r=t(78920);s.A=void 0;var a=r(t(95478)),i=(0,n(t(74044)).default)(a.createElement("path",{d:"M12 8l-6 6 1.41 1.41L12 10.83l4.59 4.58L18 14z"}),"ExpandLess");s.A=i},27799:(e,s,t)=>{var n=t(4293),r=t(78920);s.A=void 0;var a=r(t(95478)),i=(0,n(t(74044)).default)(a.createElement("path",{d:"M21 5v6.59l-3-3.01-4 4.01-4-4-4 4-3-3.01V5c0-1.1.9-2 2-2h14c1.1 0 2 .9 2 2zm-3 6.42l3 3.01V19c0 1.1-.9 2-2 2H5c-1.1 0-2-.9-2-2v-6.58l3 2.99 4-4 4 4 4-3.99z"}),"BrokenImage");s.A=i},43976:(e,s,t)=>{t.r(s),t.d(s,{ApiKeyApprovalPage:()=>O});var n=t(31085),r=t(95478),a=t.n(r),i=t(289),o=t(15831),l=t(45210),c=t(46681),d=t(22097),p=t(64047),u=t(35015),m=t(37725),g=t(86687),h=t(42367),v=t(25010),x=t(34955),A=t(46205),j=t(58837),f=t(76891),y=t(61477),b=t(10394),k=t(46805),C=t(72501),w=t(16249),S=t(93453),R=t(64947),P=t(78467),q=t(67720),I=t(55429),B=t(92399),N=t(12229),z=t(46299);const T=(0,j.A)(e=>({container:{display:"flex",height:"100%",minHeight:400},tableContainer:{flex:1,overflow:"auto",padding:10},useCasePanel:{padding:e.spacing(2),backgroundColor:e.palette.background.default},useCaseLabel:{fontWeight:600,marginBottom:e.spacing(1),color:e.palette.text.secondary,textTransform:"uppercase",fontSize:"0.75rem"},bulkActions:{padding:e.spacing(2),backgroundColor:e.palette.background.default,borderBottom:`1px solid ${e.palette.divider}`,display:"flex",alignItems:"center",justifyContent:"space-between"}})),$=({open:e,request:s,action:t,processing:r,onClose:i,onConfirm:o})=>{var l,c;const[d,p]=a().useState(""),u="approve"===t?"Approve":"Reject",m="approve"===t?"Approving...":"Rejecting...",g="reject"===t,h=(null==s||null===(l=s.spec.requestedBy)||void 0===l?void 0:l.userId)||"",v=!g||d===h;return a().useEffect(()=>{e||p("")},[e]),(0,n.jsxs)(f.A,{open:e,onClose:r?void 0:i,maxWidth:"sm",fullWidth:!0,children:[(0,n.jsx)(y.A,{children:g?(0,n.jsxs)(b.A,{display:"flex",alignItems:"center",style:{gap:8},children:[(0,n.jsx)(B.A,{color:"error"}),(0,n.jsxs)("span",{children:[u," API Key"]})]}):(0,n.jsxs)("span",{children:[u," API Key"]})}),(0,n.jsx)(k.A,{children:s&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("p",{children:[(0,n.jsx)("strong",{children:"User:"})," ",s.spec.requestedBy.userId]}),(0,n.jsxs)("p",{children:[(0,n.jsx)("strong",{children:"API:"})," ",(null===(c=s.spec.apiProductRef)||void 0===c?void 0:c.name)||"unknown"]}),(0,n.jsxs)("p",{children:[(0,n.jsx)("strong",{children:"Tier:"})," ",s.spec.planTier]}),(0,n.jsxs)(b.A,{mb:2,children:[(0,n.jsx)(C.A,{variant:"body2",component:"span",style:{fontWeight:"bold"},children:"Use Case:"})," ",(0,n.jsx)(C.A,{variant:"body2",component:"span",style:{whiteSpace:"pre-wrap"},children:s.spec.useCase||"-"})]}),g&&(0,n.jsxs)(b.A,{mt:2,children:[(0,n.jsxs)(C.A,{variant:"body2",color:"textSecondary",gutterBottom:!0,children:["Type ",(0,n.jsx)("strong",{children:h})," to confirm rejection:"]}),(0,n.jsx)(w.A,{fullWidth:!0,variant:"outlined",size:"small",value:d,onChange:e=>p(e.target.value),disabled:r,autoFocus:!0,placeholder:h})]})]})}),(0,n.jsxs)(S.A,{children:[(0,n.jsx)(R.A,{onClick:i,disabled:r,children:"Cancel"}),(0,n.jsx)(R.A,{onClick:o,color:"approve"===t?"primary":"secondary",variant:"contained",disabled:r||!v,startIcon:r?(0,n.jsx)(P.A,{size:16,color:"inherit"}):void 0,children:r?m:u})]})]})},W=({open:e,requests:s,action:t,processing:r,onClose:a,onConfirm:i})=>{const o="approve"===t,l=o?"Approve All":"Reject All",c=o?"Approving...":"Rejecting...";return(0,n.jsxs)(f.A,{open:e,onClose:r?void 0:a,maxWidth:"md",fullWidth:!0,children:[(0,n.jsxs)(y.A,{children:[o?"Approve":"Reject"," ",s.length," API Keys"]}),(0,n.jsxs)(k.A,{children:[(0,n.jsxs)(C.A,{variant:"body2",paragraph:!0,children:["You are about to ",o?"approve":"reject"," the following API keys:"]}),(0,n.jsx)(b.A,{mb:2,maxHeight:200,overflow:"auto",children:s.map(e=>{var s;return(0,n.jsx)(b.A,{mb:1,p:1,bgcolor:"background.default",children:(0,n.jsxs)(C.A,{variant:"body2",children:[(0,n.jsx)("strong",{children:e.spec.requestedBy.userId})," -"," ",(null===(s=e.spec.apiProductRef)||void 0===s?void 0:s.name)||"unknown"," (",e.spec.planTier,")"]})},`${e.metadata.namespace}/${e.metadata.name}`)})})]}),(0,n.jsxs)(S.A,{children:[(0,n.jsx)(R.A,{onClick:a,disabled:r,children:"Cancel"}),(0,n.jsx)(R.A,{onClick:i,color:o?"primary":"secondary",variant:"contained",disabled:r,startIcon:r?(0,n.jsx)(P.A,{size:16,color:"inherit"}):void 0,children:r?c:l})]})]})},F=({request:e})=>{const s=T();return(0,n.jsxs)(b.A,{className:s.useCasePanel,onClick:e=>e.stopPropagation(),children:[(0,n.jsx)(C.A,{className:s.useCaseLabel,children:"Use Case"}),(0,n.jsx)(C.A,{variant:"body2",children:e.spec.useCase||"No use case provided"})]})},L=(0,j.A)(e=>({successSection:{padding:e.spacing(2),backgroundColor:e.palette.success.main+"14",borderRadius:e.shape.borderRadius,marginBottom:e.spacing(2),border:`1px solid ${e.palette.success.main}40`},failureSection:{padding:e.spacing(2),backgroundColor:e.palette.error.main+"14",borderRadius:e.shape.borderRadius,marginBottom:e.spacing(2),border:`1px solid ${e.palette.error.main}40`},warningSection:{padding:e.spacing(2),backgroundColor:e.palette.warning.main+"14",borderRadius:e.shape.borderRadius,marginBottom:e.spacing(2),border:`1px solid ${e.palette.warning.main}40`},statRow:{display:"flex",alignItems:"center",gap:e.spacing(1)},errorList:{marginTop:e.spacing(2),padding:0,listStyle:"none"},errorItem:{padding:e.spacing(1.5),marginBottom:e.spacing(1),backgroundColor:e.palette.background.paper,borderRadius:e.shape.borderRadius,border:`1px solid ${e.palette.divider}`},errorName:{fontWeight:600,fontSize:"0.875rem",marginBottom:e.spacing(.5)},errorMessage:{fontSize:"0.813rem",color:e.palette.error.main,fontFamily:"monospace",wordBreak:"break-word"},expandButton:{marginTop:e.spacing(1),padding:e.spacing(.5)}})),E=({open:e,results:s,isApprove:t,onClose:a})=>{const i=L(),[o,l]=(0,r.useState)(!0),c=s.filter(e=>e.success),d=s.filter(e=>!e.success),p=c.length>0;return(0,n.jsxs)(f.A,{open:e,onClose:a,maxWidth:"md",fullWidth:!0,children:[(0,n.jsx)(y.A,{children:(0,n.jsx)(b.A,{display:"flex",alignItems:"center",style:{gap:8},children:p?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(B.A,{style:{color:"#ff9800"}}),(0,n.jsxs)("span",{children:["Bulk ",t?"Approve":"Reject"," Completed with Issues"]})]}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(B.A,{color:"error"}),(0,n.jsxs)("span",{children:["Bulk ",t?"Approve":"Reject"," Failed"]})]})})}),(0,n.jsxs)(k.A,{children:[p&&(0,n.jsx)(b.A,{className:i.successSection,children:(0,n.jsxs)(b.A,{className:i.statRow,children:[(0,n.jsx)(I.A,{style:{color:"#4caf50"}}),(0,n.jsxs)(C.A,{variant:"body1",children:[(0,n.jsx)("strong",{children:c.length})," API key",1!==c.length?"s":""," ",t?"approved":"rejected"," successfully"]})]})}),(0,n.jsxs)(b.A,{className:p?i.warningSection:i.failureSection,children:[(0,n.jsxs)(b.A,{className:i.statRow,children:[(0,n.jsx)(B.A,{color:"error"}),(0,n.jsxs)(C.A,{variant:"body1",children:[(0,n.jsx)("strong",{children:d.length})," request",1!==d.length?"s":""," failed"]})]}),(0,n.jsxs)(R.A,{size:"small",className:i.expandButton,onClick:()=>l(!o),children:[o?"Hide":"Show"," Error Details"]}),o&&(0,n.jsx)("ul",{className:i.errorList,children:d.map((e,s)=>(0,n.jsxs)("li",{className:i.errorItem,children:[(0,n.jsxs)("div",{className:i.errorName,children:[e.namespace,"/",e.name]}),(0,n.jsx)("div",{className:i.errorMessage,children:e.error||"Unknown error"})]},e.name||s))})]})]}),(0,n.jsx)(S.A,{children:(0,n.jsx)(R.A,{onClick:a,color:"primary",variant:"contained",children:"Close"})})]})},M=()=>{var e;const s=T(),t=(0,d.useApi)(d.identityApiRef),a=(0,d.useApi)(d.alertApiRef),i=(0,d.useApi)(p.s),[o,l]=(0,r.useState)(0),[c,j]=(0,r.useState)([]),[f,y]=(0,r.useState)({open:!1,request:null,action:"approve",processing:!1}),[k,w]=(0,r.useState)({open:!1,requests:[],action:"approve",processing:!1}),[S,P]=(0,r.useState)({open:!1,results:[],isApprove:!0}),[L,M]=(0,r.useState)({status:[],apiProduct:[],tier:[]}),{allowed:O,loading:U,error:_}=(0,A.l)(x.z4),{allowed:Y,loading:D,error:H}=(0,A.l)(x.q0),K=U||D,V=_||H,{value:Z,loading:G,error:X}=(0,u.A)(async()=>{const e=(await t.getBackstageIdentity()).userEntityRef;try{const[t,r]=await Promise.all([i.getAllRequests(),i.getApiProducts()]),a=t.items||[],o=new Set;for(const t of r.items||[]){var s,n;(null===(n=t.metadata)||void 0===n||null===(s=n.annotations)||void 0===s?void 0:s["backstage.io/owner"])===e&&o.add(`${t.metadata.namespace}/${t.metadata.name}`)}return{allRequests:a,reviewedBy:e,ownedApiProducts:o}}catch(s){const t=s instanceof Error?s.message:"unknown error occurred";return a.post({message:`Failed to get resources. ${t}`,display:"transient",severity:"error"}),{allRequests:[],reviewedBy:e,ownedApiProducts:new Set}}},[i,t,o]),J=(0,r.useMemo)(()=>{if(!(null==Z?void 0:Z.allRequests))return[];const e={Approved:0,Pending:0,Rejected:0},s=new Map,t=new Map;return Z.allRequests.forEach(n=>{var r,a;const i=(null===(r=n.status)||void 0===r?void 0:r.phase)||"Pending";e[i]++;const o=(null===(a=n.spec.apiProductRef)||void 0===a?void 0:a.name)||"unknown";s.set(o,(s.get(o)||0)+1);const l=n.spec.planTier||"unknown";t.set(l,(t.get(l)||0)+1)}),[{id:"status",title:"Status",options:[{value:"Pending",label:"Pending",count:e.Pending},{value:"Approved",label:"Approved",count:e.Approved},{value:"Rejected",label:"Rejected",count:e.Rejected}]},{id:"apiProduct",title:"API Product",options:Array.from(s.entries()).map(([e,s])=>({value:e,label:e,count:s})),collapsed:s.size>5},{id:"tier",title:"Tier",options:Array.from(t.entries()).map(([e,s])=>({value:e,label:e.charAt(0).toUpperCase()+e.slice(1),count:s}))}]},[null==Z?void 0:Z.allRequests]),Q=(0,r.useMemo)(()=>(null==Z?void 0:Z.allRequests)?Z.allRequests.filter(e=>{if(L.status.length>0){var s;const t=(null===(s=e.status)||void 0===s?void 0:s.phase)||"Pending";if(!L.status.includes(t))return!1}if(L.apiProduct.length>0){var t;const s=(null===(t=e.spec.apiProductRef)||void 0===t?void 0:t.name)||"unknown";if(!L.apiProduct.includes(s))return!1}if(L.tier.length>0){const s=e.spec.planTier||"unknown";if(!L.tier.includes(s))return!1}return!0}):[],[null==Z?void 0:Z.allRequests,L]),ee=e=>new Date(e).toLocaleDateString("en-GB",{year:"numeric",month:"short",day:"numeric"}),se=[{title:"Requester",field:"spec.requestedBy.userId",render:e=>(0,n.jsx)(C.A,{variant:"body2",children:e.spec.requestedBy.userId})},{title:"API Product",field:"spec.apiProductRef.name",render:e=>{var s;const t=(null===(s=e.spec.apiProductRef)||void 0===s?void 0:s.name)||"unknown";return(0,n.jsx)(m.N_,{to:`/catalog/default/api/${t}`,children:(0,n.jsx)("strong",{children:t})})}},{title:"Status",field:"status.phase",render:e=>{var s;const t=(null===(s=e.status)||void 0===s?void 0:s.phase)||"Pending";return(0,n.jsx)(q.A,{label:t,size:"small",style:(0,z.uU)(t)})}},{title:"Tier",field:"spec.planTier",render:e=>(0,n.jsx)(q.A,{label:e.spec.planTier,size:"small",variant:"outlined"})},{title:"Requested",field:"metadata.creationTimestamp",render:e=>(0,n.jsx)(C.A,{variant:"body2",children:e.metadata.creationTimestamp?ee(e.metadata.creationTimestamp):"-"})},{title:"Reviewed By",field:"status.reviewedBy",render:e=>{var s;if(!(null===(s=e.status)||void 0===s?void 0:s.reviewedBy))return(0,n.jsx)(C.A,{variant:"body2",color:"textSecondary",children:"-"});const t=e.status.reviewedBy.replace(/^user:default\//,""),r="system"===t;return(0,n.jsxs)(b.A,{children:[(0,n.jsx)(C.A,{variant:"body2",children:r?"Automatic":t}),e.status.reviewedAt&&(0,n.jsx)(C.A,{variant:"caption",color:"textSecondary",children:ee(e.status.reviewedAt)})]})}},{title:"Actions",filtering:!1,render:e=>{var s,t,r;if("Pending"!==((null===(s=e.status)||void 0===s?void 0:s.phase)||"Pending"))return null;const a=`${e.metadata.namespace}/${(null===(t=e.spec.apiProductRef)||void 0===t?void 0:t.name)||"unknown"}`;var i;const o=null!==(i=null==Z||null===(r=Z.ownedApiProducts)||void 0===r?void 0:r.has(a))&&void 0!==i&&i;return O||Y&&o?(0,n.jsxs)(b.A,{display:"flex",style:{gap:8},children:[(0,n.jsx)(R.A,{size:"small",startIcon:(0,n.jsx)(I.A,{}),onClick:()=>{y({open:!0,request:e,action:"approve",processing:!1})},color:"primary",variant:"outlined",children:"Approve"}),(0,n.jsx)(R.A,{size:"small",startIcon:(0,n.jsx)(B.A,{}),onClick:()=>{y({open:!0,request:e,action:"reject",processing:!1})},color:"secondary",variant:"outlined",children:"Reject"})]}):null}}],te=(0,r.useMemo)(()=>[{render:e=>{var s;const t=e.rowData;return(null==t||null===(s=t.metadata)||void 0===s?void 0:s.name)?(0,n.jsx)(F,{request:t}):(0,n.jsx)(b.A,{})}}],[]);if(G||K)return(0,n.jsx)(g.k,{});if(X)return(0,n.jsx)(h._,{error:X});if(V)return(0,n.jsx)(b.A,{p:2,children:(0,n.jsxs)(C.A,{color:"error",children:["Unable to check permissions: ",V.message]})});const ne=O||Y;return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(b.A,{className:s.container,children:[(0,n.jsx)(N.Z,{sections:J,filters:L,onChange:M}),(0,n.jsxs)(b.A,{className:s.tableContainer,children:[c.length>0&&(0,n.jsxs)(b.A,{className:s.bulkActions,children:[(0,n.jsxs)(C.A,{variant:"body2",children:[c.length," request",1!==c.length?"s":""," selected"]}),(0,n.jsxs)(b.A,{display:"flex",style:{gap:8},children:[(0,n.jsx)(R.A,{size:"small",variant:"contained",color:"primary",startIcon:(0,n.jsx)(I.A,{}),onClick:()=>{0!==c.length&&w({open:!0,requests:c,action:"approve",processing:!1})},children:"Approve Selected"}),(0,n.jsx)(R.A,{size:"small",variant:"contained",color:"secondary",startIcon:(0,n.jsx)(B.A,{}),onClick:()=>{0!==c.length&&w({open:!0,requests:c,action:"reject",processing:!1})},children:"Reject Selected"})]})]}),0===Q.length?(0,n.jsx)(b.A,{p:4,textAlign:"center",children:(0,n.jsx)(C.A,{variant:"body1",color:"textSecondary",children:0===(null==Z||null===(e=Z.allRequests)||void 0===e?void 0:e.length)?"No API keys found.":"No API keys match the selected filters."})}):(0,n.jsx)(v.X,{options:{selection:ne,showSelectAllCheckbox:Q.some(e=>{var s;return!(null===(s=e.status)||void 0===s?void 0:s.phase)||"Pending"===e.status.phase}),selectionProps:e=>{var s,t;return{disabled:"Pending"!==(null===(s=e.status)||void 0===s?void 0:s.phase)&&void 0!==(null===(t=e.status)||void 0===t?void 0:t.phase)}},paging:Q.length>10,pageSize:20,search:!0,filtering:!1,debounceInterval:300,showTextRowsSelected:!1,toolbar:!0,emptyRowsWhenPaging:!1},columns:se,data:Q.map(e=>{const s=c.some(s=>s.metadata.name===e.metadata.name&&s.metadata.namespace===e.metadata.namespace);return{...e,id:e.metadata.name,tableData:{checked:s}}}),onSelectionChange:e=>{const s=e.filter(e=>{var s;return!(null===(s=e.status)||void 0===s?void 0:s.phase)||"Pending"===e.status.phase});j(s)},detailPanel:te})]})]}),(0,n.jsx)($,{open:f.open,request:f.request,action:f.action,processing:f.processing,onClose:()=>y({open:!1,request:null,action:"approve",processing:!1}),onConfirm:async()=>{if(!f.request||!Z)return;y(e=>({...e,processing:!0}));const e="approve"===f.action?(e,s,t)=>i.approveRequest(e,s,t):(e,s,t)=>i.rejectRequest(e,s,t);try{await e(f.request.metadata.namespace,f.request.metadata.name,Z.reviewedBy),y({open:!1,request:null,action:"approve",processing:!1}),j(e=>e.filter(e=>{var s,t;return e.metadata.name!==(null===(s=f.request)||void 0===s?void 0:s.metadata.name)||e.metadata.namespace!==(null===(t=f.request)||void 0===t?void 0:t.metadata.namespace)})),l(e=>e+1);const s="approve"===f.action?"approved":"rejected";a.post({message:`API key ${s}`,severity:"success",display:"transient"})}catch(e){console.error(`error ${f.action}ing request:`,e),y(e=>({...e,processing:!1}));const s=e instanceof Error?e.message:"unknown error occurred";a.post({message:`Failed to ${f.action} API key. ${s}`,severity:"error",display:"transient"})}}}),(0,n.jsx)(W,{open:k.open,requests:k.requests,action:k.action,processing:k.processing,onClose:()=>w({open:!1,requests:[],action:"approve",processing:!1}),onConfirm:async()=>{if(!Z||0===k.requests.length)return;w(e=>({...e,processing:!0})),P({open:!1,results:[],isApprove:!0});const e="approve"===k.action,s=e?(e,s)=>i.bulkApproveRequests(e,s):(e,s)=>i.bulkRejectRequests(e,s);try{const t=k.requests.map(e=>({namespace:e.metadata.namespace,name:e.metadata.name})),n=await s(t,Z.reviewedBy)||[],r=n.filter(e=>e.success),i=0===n.filter(e=>!e.success).length,o=e?"approved":"rejected";w({open:!1,requests:[],action:"approve",processing:!1}),P({open:!i,results:n,isApprove:e}),j([]),l(e=>e+1),i&&a.post({message:`${r.length} API keys ${o}`,severity:"success",display:"transient"})}catch(e){console.error(`error bulk ${k.action}ing requests:`,e),w(e=>({...e,processing:!1}));const s=e instanceof Error?e.message:"unknown error occurred";a.post({message:`Failed to bulk ${k.action} API keys. ${s}`,severity:"error",display:"transient"})}}}),(0,n.jsx)(E,{open:S.open,results:S.results,isApprove:S.isApprove,onClose:()=>P({open:!1,results:[],isApprove:!0})})]})},O=()=>(0,n.jsxs)(i.Y,{themeId:"tool",children:[(0,n.jsx)(o.Y,{title:"API Key Approval",subtitle:"Review and approve API key requests",children:(0,n.jsx)(l.Y,{children:"Approve or reject API key access requests"})}),(0,n.jsx)(c.U,{children:(0,n.jsx)(M,{})})]})},45210:(e,s,t)=>{t.d(s,{Y:()=>q});var n=t(31085),r=t(22097),a=t(10394),i=t(64947),o=t(93453),l=t(29365),c=t(46423),d=t(5951),p=t(26343),u=t(28233),m=t(55197),g=t(37976),h=t(72501),v=t(5893),x=t(95478),A=(t(45250),t(49634),t(21006)),j=t(75501);const f=()=>{const{t:e}=(0,j.useTranslationRef)(A.O);return{url:"https://github.com/backstage/backstage/issues",items:[{title:e("supportConfig.default.title"),icon:"warning",links:[{title:e("supportConfig.default.linkTitle"),url:"https://github.com/backstage/backstage/blob/master/app-config.yaml"}]}]}};var y=t(27799);function b(e){const{id:s,Fallback:t=y.A,...a}=e,i=(0,r.useApp)().getSystemIcon(s)??t;return(0,n.jsx)(i,{...a})}function k(e){return(0,n.jsx)(b,{id:"help",...e})}var C=t(37725);const w=(0,g.makeStyles)({popoverList:{minWidth:260,maxWidth:400},menuItem:{whiteSpace:"normal"}},{name:"BackstageSupportButton"}),S=({icon:e})=>{const s=(0,r.useApp)(),t=e?s.getSystemIcon(e)??k:k;return(0,n.jsx)(t,{})},R=({link:e})=>(0,n.jsx)(C.N_,{to:e.url,children:e.title??e.url}),P=({item:e})=>(0,n.jsxs)(p.A,{button:!1,children:[(0,n.jsx)(c.A,{children:(0,n.jsx)(S,{icon:e.icon})}),(0,n.jsx)(d.A,{primary:e.title,secondary:e.links?.reduce((e,s,t)=>[...e,t>0&&(0,n.jsx)("br",{},t),(0,n.jsx)(R,{link:s},s.url)],[])})]});function q(e){const{t:s}=(0,j.useTranslationRef)(A.O),{title:t,items:c,children:d}=e,{items:g}=function(){const e=(0,r.useApiHolder)().get(r.configApiRef),s=e?.getOptionalConfig("app.support"),t=f();return s?{url:s.getString("url"),items:s.getConfigArray("items").flatMap(e=>({title:e.getString("title"),icon:e.getOptionalString("icon"),links:(e.getOptionalConfigArray("links")??[]).flatMap(e=>({url:e.getString("url"),title:e.getOptionalString("title")??""}))}))}:t}(),[y,b]=(0,x.useState)(!1),[C,S]=(0,x.useState)(null),R=w(),q=(0,r.useApi)(r.configApiRef).getOptionalConfig("app.support"),I=(0,v.A)(e=>e.breakpoints.down("sm")),B=e=>{S(e.currentTarget),b(!0)},N=()=>{b(!1)};return q?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(a.A,{display:"flex",ml:1,children:I?(0,n.jsx)(l.A,{color:"primary",size:"small",onClick:B,"data-testid":"support-button","aria-label":"Support",children:(0,n.jsx)(k,{})}):(0,n.jsx)(i.A,{"data-testid":"support-button","aria-label":"Support",color:"primary",onClick:B,startIcon:(0,n.jsx)(k,{}),children:s("supportButton.title")})}),(0,n.jsxs)(m.Ay,{"data-testid":"support-button-popover",open:y,anchorEl:C,anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"right"},onClose:N,children:[(0,n.jsxs)(u.A,{className:R.popoverList,autoFocusItem:Boolean(C),children:[t&&(0,n.jsx)(p.A,{button:!1,alignItems:"flex-start",className:R.menuItem,children:(0,n.jsx)(h.A,{variant:"subtitle1",children:t})}),x.Children.map(d,(e,s)=>(0,n.jsx)(p.A,{button:!1,alignItems:"flex-start",className:R.menuItem,children:e},`child-${s}`)),(c??g).map((e,s)=>(0,n.jsx)(P,{item:e},`item-${s}`))]}),(0,n.jsx)(o.A,{children:(0,n.jsx)(i.A,{color:"primary",onClick:N,"aria-label":"Close",children:s("supportButton.close")})})]})]}):null}}}]);
2
+ //# sourceMappingURL=3976.cf3ec7be.chunk.js.map