@kuadrant/kuadrant-backstage-plugin-frontend 0.2.0 → 0.3.0-aaa46b4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api.esm.js +40 -2
- package/dist/api.esm.js.map +1 -1
- package/dist/components/ApiAccessCard/ApiAccessCard.esm.js +20 -85
- package/dist/components/ApiAccessCard/ApiAccessCard.esm.js.map +1 -1
- package/dist/components/ApiKeyApprovalPage/ApiKeyApprovalPageWithPermissions.esm.js +18 -0
- package/dist/components/ApiKeyApprovalPage/ApiKeyApprovalPageWithPermissions.esm.js.map +1 -0
- package/dist/components/ApiKeyApprovalPage/index.esm.js +1 -0
- package/dist/components/ApiKeyApprovalPage/index.esm.js.map +1 -1
- package/dist/components/ApiKeyDetailPage/ApiKeyDetailPage.esm.js +19 -60
- package/dist/components/ApiKeyDetailPage/ApiKeyDetailPage.esm.js.map +1 -1
- package/dist/components/ApiKeyManagementTab/ApiKeyManagementTab.esm.js +66 -113
- package/dist/components/ApiKeyManagementTab/ApiKeyManagementTab.esm.js.map +1 -1
- package/dist/components/ApiProductInfoCard/ApiProductInfoCard.esm.js +3 -2
- package/dist/components/ApiProductInfoCard/ApiProductInfoCard.esm.js.map +1 -1
- package/dist/components/ApprovalQueueTable/ApprovalQueueTable.esm.js +16 -15
- package/dist/components/ApprovalQueueTable/ApprovalQueueTable.esm.js.map +1 -1
- package/dist/components/CreateAPIProductDialog/CreateAPIProductDialog.esm.js +1 -7
- package/dist/components/CreateAPIProductDialog/CreateAPIProductDialog.esm.js.map +1 -1
- package/dist/components/EditAPIProductDialog/EditAPIProductDialog.esm.js +2 -3
- package/dist/components/EditAPIProductDialog/EditAPIProductDialog.esm.js.map +1 -1
- package/dist/components/KuadrantIcon/KuadrantIcon.esm.js +22 -0
- package/dist/components/KuadrantIcon/KuadrantIcon.esm.js.map +1 -0
- package/dist/components/KuadrantPage/ApiProductsPage.esm.js +5 -18
- package/dist/components/KuadrantPage/ApiProductsPage.esm.js.map +1 -1
- package/dist/components/MyApiKeysTable/MyApiKeysTable.esm.js +28 -138
- package/dist/components/MyApiKeysTable/MyApiKeysTable.esm.js.map +1 -1
- package/dist/components/PermissionGate/PermissionGate.esm.js +2 -2
- package/dist/components/PermissionGate/PermissionGate.esm.js.map +1 -1
- package/dist/components/RequestAccessDialog/RequestAccessDialog.esm.js +32 -18
- package/dist/components/RequestAccessDialog/RequestAccessDialog.esm.js.map +1 -1
- package/dist/components/SimpleRequestAccessDialog/SimpleRequestAccessDialog.esm.js +13 -2
- package/dist/components/SimpleRequestAccessDialog/SimpleRequestAccessDialog.esm.js.map +1 -1
- package/dist/components/icons.esm.js +11 -0
- package/dist/components/icons.esm.js.map +1 -0
- package/dist/index.d.ts +54 -6
- package/dist/index.esm.js +3 -1
- package/dist/index.esm.js.map +1 -1
- package/dist/plugin.esm.js +2 -10
- package/dist/plugin.esm.js.map +1 -1
- package/dist/utils/apikeys.esm.js +21 -0
- package/dist/utils/apikeys.esm.js.map +1 -0
- package/dist/utils/styles.esm.js +5 -2
- package/dist/utils/styles.esm.js.map +1 -1
- package/dist-scalprum/internal.plugin-kuadrant.7f1de85661b1b848af15.js +2 -0
- package/dist-scalprum/internal.plugin-kuadrant.7f1de85661b1b848af15.js.map +1 -0
- package/dist-scalprum/plugin-manifest.json +3 -3
- package/dist-scalprum/static/{1037.58dd29ad.chunk.js → 1037.25758556.chunk.js} +1 -1
- package/dist-scalprum/static/{1037.58dd29ad.chunk.js.map → 1037.25758556.chunk.js.map} +1 -1
- package/dist-scalprum/static/1340.7c4f4722.chunk.js +3 -0
- package/dist-scalprum/static/1340.7c4f4722.chunk.js.map +1 -0
- package/dist-scalprum/static/1719.52ca7daf.chunk.js +2 -0
- package/dist-scalprum/static/1719.52ca7daf.chunk.js.map +1 -0
- package/dist-scalprum/static/{1881.8221c002.chunk.js → 1931.f6a5edbb.chunk.js} +2 -2
- package/dist-scalprum/static/1931.f6a5edbb.chunk.js.map +1 -0
- package/dist-scalprum/static/20.b3a37d1d.chunk.js +3 -0
- package/dist-scalprum/static/20.b3a37d1d.chunk.js.map +1 -0
- package/dist-scalprum/static/2251.08f3db99.chunk.js +2 -0
- package/dist-scalprum/static/2251.08f3db99.chunk.js.map +1 -0
- package/dist-scalprum/static/2769.e09b0ab0.chunk.js +2 -0
- package/dist-scalprum/static/2769.e09b0ab0.chunk.js.map +1 -0
- package/dist-scalprum/static/2821.1ac360ec.chunk.js +2 -0
- package/dist-scalprum/static/2821.1ac360ec.chunk.js.map +1 -0
- package/dist-scalprum/static/2952.b54bd390.chunk.js +2 -0
- package/dist-scalprum/static/2952.b54bd390.chunk.js.map +1 -0
- package/dist-scalprum/static/2967.004a950e.chunk.js +2 -0
- package/dist-scalprum/static/2967.004a950e.chunk.js.map +1 -0
- package/dist-scalprum/static/3015.1fe097c2.chunk.js +3 -0
- package/dist-scalprum/static/3015.1fe097c2.chunk.js.LICENSE.txt +9 -0
- package/dist-scalprum/static/3015.1fe097c2.chunk.js.map +1 -0
- package/dist-scalprum/static/327.74ecd572.chunk.js +2 -0
- package/dist-scalprum/static/327.74ecd572.chunk.js.map +1 -0
- package/dist-scalprum/static/3657.882640ca.chunk.js +3 -0
- package/dist-scalprum/static/3657.882640ca.chunk.js.LICENSE.txt +8 -0
- package/dist-scalprum/static/3657.882640ca.chunk.js.map +1 -0
- package/dist-scalprum/static/3658.104704cc.chunk.js +2 -0
- package/dist-scalprum/static/3658.104704cc.chunk.js.map +1 -0
- package/dist-scalprum/static/{3897.ef4554b5.chunk.js → 3897.6e9c07c0.chunk.js} +1 -1
- package/dist-scalprum/static/{3897.ef4554b5.chunk.js.map → 3897.6e9c07c0.chunk.js.map} +1 -1
- package/dist-scalprum/static/3917.888fba36.chunk.js +2 -0
- package/dist-scalprum/static/3917.888fba36.chunk.js.map +1 -0
- package/dist-scalprum/static/3947.f5320e89.chunk.js +2 -0
- package/dist-scalprum/static/3947.f5320e89.chunk.js.map +1 -0
- package/dist-scalprum/static/{4083.488ff7a9.chunk.js → 4083.811c4e7a.chunk.js} +2 -2
- package/dist-scalprum/static/{4083.488ff7a9.chunk.js.map → 4083.811c4e7a.chunk.js.map} +1 -1
- package/dist-scalprum/static/438.4335b833.chunk.js +2 -0
- package/dist-scalprum/static/438.4335b833.chunk.js.map +1 -0
- package/dist-scalprum/static/4908.4f21d453.chunk.js +2 -0
- package/dist-scalprum/static/4908.4f21d453.chunk.js.map +1 -0
- package/dist-scalprum/static/{5010.6241b64f.chunk.js → 5010.4f67737b.chunk.js} +2 -2
- package/dist-scalprum/static/{5010.6241b64f.chunk.js.map → 5010.4f67737b.chunk.js.map} +1 -1
- package/dist-scalprum/static/5197.53535ff4.chunk.js +2 -0
- package/dist-scalprum/static/5197.53535ff4.chunk.js.map +1 -0
- package/dist-scalprum/static/5289.6c803140.chunk.js +2 -0
- package/dist-scalprum/static/5289.6c803140.chunk.js.map +1 -0
- package/dist-scalprum/static/5943.4e1dedc5.chunk.js +2 -0
- package/dist-scalprum/static/5943.4e1dedc5.chunk.js.map +1 -0
- package/dist-scalprum/static/6038.63d1f832.chunk.js +3 -0
- package/dist-scalprum/static/6038.63d1f832.chunk.js.LICENSE.txt +8 -0
- package/dist-scalprum/static/6038.63d1f832.chunk.js.map +1 -0
- package/dist-scalprum/static/{6272.b5645dc2.chunk.js → 6272.3ed14ea4.chunk.js} +1 -1
- package/dist-scalprum/static/{6272.b5645dc2.chunk.js.map → 6272.3ed14ea4.chunk.js.map} +1 -1
- package/dist-scalprum/static/6311.da1849d1.chunk.js +2 -0
- package/dist-scalprum/static/6311.da1849d1.chunk.js.map +1 -0
- package/dist-scalprum/static/635.f63679a5.chunk.js +3 -0
- package/dist-scalprum/static/635.f63679a5.chunk.js.map +1 -0
- package/dist-scalprum/static/6371.02375475.chunk.js +3 -0
- package/dist-scalprum/static/6371.02375475.chunk.js.LICENSE.txt +9 -0
- package/dist-scalprum/static/6371.02375475.chunk.js.map +1 -0
- package/dist-scalprum/static/{6386.2d20c412.chunk.js → 6386.5922f271.chunk.js} +3 -3
- package/dist-scalprum/static/{6386.2d20c412.chunk.js.map → 6386.5922f271.chunk.js.map} +1 -1
- package/dist-scalprum/static/6837.6252b97a.chunk.js +2 -0
- package/dist-scalprum/static/6837.6252b97a.chunk.js.map +1 -0
- package/dist-scalprum/static/{6972.e47ec97e.chunk.js → 6972.f22b9446.chunk.js} +1 -1
- package/dist-scalprum/static/{6972.e47ec97e.chunk.js.map → 6972.f22b9446.chunk.js.map} +1 -1
- package/dist-scalprum/static/7164.5dc4bc72.chunk.js +2 -0
- package/dist-scalprum/static/7164.5dc4bc72.chunk.js.map +1 -0
- package/dist-scalprum/static/{7266.e760b8c3.chunk.js → 7266.3c4174cc.chunk.js} +1 -1
- package/dist-scalprum/static/{7266.e760b8c3.chunk.js.map → 7266.3c4174cc.chunk.js.map} +1 -1
- package/dist-scalprum/static/7270.8ee9d452.chunk.js +2 -0
- package/dist-scalprum/static/7270.8ee9d452.chunk.js.map +1 -0
- package/dist-scalprum/static/{7791.8f84478d.chunk.js → 7791.ad31cf6d.chunk.js} +2 -2
- package/dist-scalprum/static/{7791.8f84478d.chunk.js.map → 7791.ad31cf6d.chunk.js.map} +1 -1
- package/dist-scalprum/static/{8563.46f1a3e1.chunk.js → 8563.6501eafb.chunk.js} +2 -2
- package/dist-scalprum/static/{8563.46f1a3e1.chunk.js.map → 8563.6501eafb.chunk.js.map} +1 -1
- package/dist-scalprum/static/980.744a4d36.chunk.js +2 -0
- package/dist-scalprum/static/980.744a4d36.chunk.js.map +1 -0
- package/dist-scalprum/static/exposed-KuadrantIcon.08abbb96.chunk.js +3 -0
- package/dist-scalprum/static/exposed-KuadrantIcon.08abbb96.chunk.js.LICENSE.txt +9 -0
- package/dist-scalprum/static/exposed-KuadrantIcon.08abbb96.chunk.js.map +1 -0
- package/dist-scalprum/static/exposed-KuadrantPage.f123b200.chunk.js +2 -0
- package/dist-scalprum/static/exposed-KuadrantPage.f123b200.chunk.js.map +1 -0
- package/dist-scalprum/static/exposed-PluginRoot.3a5f9157.chunk.js +2 -0
- package/dist-scalprum/static/exposed-PluginRoot.3a5f9157.chunk.js.map +1 -0
- package/package.json +6 -3
- package/dist/components/EntityApiApprovalTab/EntityApiApprovalTab.esm.js +0 -265
- package/dist/components/EntityApiApprovalTab/EntityApiApprovalTab.esm.js.map +0 -1
- package/dist/components/EntityApiApprovalTab/index.esm.js +0 -2
- package/dist/components/EntityApiApprovalTab/index.esm.js.map +0 -1
- package/dist-scalprum/internal.plugin-kuadrant.b3d35dc8b21ce867aa09.js +0 -2
- package/dist-scalprum/internal.plugin-kuadrant.b3d35dc8b21ce867aa09.js.map +0 -1
- package/dist-scalprum/static/1319.ac195ac2.chunk.js +0 -2
- package/dist-scalprum/static/1319.ac195ac2.chunk.js.map +0 -1
- package/dist-scalprum/static/1584.ae3779f0.chunk.js +0 -3
- package/dist-scalprum/static/1584.ae3779f0.chunk.js.map +0 -1
- package/dist-scalprum/static/1881.8221c002.chunk.js.map +0 -1
- package/dist-scalprum/static/2967.7c6a34cd.chunk.js +0 -2
- package/dist-scalprum/static/2967.7c6a34cd.chunk.js.map +0 -1
- package/dist-scalprum/static/3118.daee3324.chunk.js +0 -3
- package/dist-scalprum/static/3118.daee3324.chunk.js.map +0 -1
- package/dist-scalprum/static/3581.b5b97f08.chunk.js +0 -2
- package/dist-scalprum/static/3581.b5b97f08.chunk.js.map +0 -1
- package/dist-scalprum/static/369.2374941c.chunk.js +0 -2
- package/dist-scalprum/static/369.2374941c.chunk.js.map +0 -1
- package/dist-scalprum/static/3947.ad129ba4.chunk.js +0 -2
- package/dist-scalprum/static/3947.ad129ba4.chunk.js.map +0 -1
- package/dist-scalprum/static/3976.e0873210.chunk.js +0 -2
- package/dist-scalprum/static/3976.e0873210.chunk.js.map +0 -1
- package/dist-scalprum/static/4434.f92f6ba4.chunk.js +0 -2
- package/dist-scalprum/static/4434.f92f6ba4.chunk.js.map +0 -1
- package/dist-scalprum/static/483.d55d6ab2.chunk.js +0 -2
- package/dist-scalprum/static/483.d55d6ab2.chunk.js.map +0 -1
- package/dist-scalprum/static/512.f1c51799.chunk.js +0 -2
- package/dist-scalprum/static/512.f1c51799.chunk.js.map +0 -1
- package/dist-scalprum/static/5203.3df62d7e.chunk.js +0 -2
- package/dist-scalprum/static/5203.3df62d7e.chunk.js.map +0 -1
- package/dist-scalprum/static/5289.2e686027.chunk.js +0 -2
- package/dist-scalprum/static/5289.2e686027.chunk.js.map +0 -1
- package/dist-scalprum/static/5453.3c20d0a6.chunk.js +0 -2
- package/dist-scalprum/static/5453.3c20d0a6.chunk.js.map +0 -1
- package/dist-scalprum/static/6371.f183dddb.chunk.js +0 -3
- package/dist-scalprum/static/6371.f183dddb.chunk.js.map +0 -1
- package/dist-scalprum/static/6426.bf20c588.chunk.js +0 -2
- package/dist-scalprum/static/6426.bf20c588.chunk.js.map +0 -1
- package/dist-scalprum/static/6800.ddabed69.chunk.js +0 -2
- package/dist-scalprum/static/6800.ddabed69.chunk.js.map +0 -1
- package/dist-scalprum/static/7005.d548f8f1.chunk.js +0 -2
- package/dist-scalprum/static/7005.d548f8f1.chunk.js.map +0 -1
- package/dist-scalprum/static/7057.fcd688c7.chunk.js +0 -2
- package/dist-scalprum/static/7057.fcd688c7.chunk.js.map +0 -1
- package/dist-scalprum/static/7270.301a3c46.chunk.js +0 -2
- package/dist-scalprum/static/7270.301a3c46.chunk.js.map +0 -1
- package/dist-scalprum/static/9051.f095a8a1.chunk.js +0 -2
- package/dist-scalprum/static/9051.f095a8a1.chunk.js.map +0 -1
- package/dist-scalprum/static/9079.b6d5c19c.chunk.js +0 -2
- package/dist-scalprum/static/9079.b6d5c19c.chunk.js.map +0 -1
- package/dist-scalprum/static/9625.b0c6610a.chunk.js +0 -2
- package/dist-scalprum/static/9625.b0c6610a.chunk.js.map +0 -1
- package/dist-scalprum/static/9838.589f2156.chunk.js +0 -2
- package/dist-scalprum/static/9838.589f2156.chunk.js.map +0 -1
- package/dist-scalprum/static/exposed-PluginRoot.a8448fcc.chunk.js +0 -2
- package/dist-scalprum/static/exposed-PluginRoot.a8448fcc.chunk.js.map +0 -1
- /package/dist-scalprum/static/{1584.ae3779f0.chunk.js.LICENSE.txt → 1340.7c4f4722.chunk.js.LICENSE.txt} +0 -0
- /package/dist-scalprum/static/{3118.daee3324.chunk.js.LICENSE.txt → 20.b3a37d1d.chunk.js.LICENSE.txt} +0 -0
- /package/dist-scalprum/static/{4083.488ff7a9.chunk.js.LICENSE.txt → 4083.811c4e7a.chunk.js.LICENSE.txt} +0 -0
- /package/dist-scalprum/static/{5010.6241b64f.chunk.js.LICENSE.txt → 5010.4f67737b.chunk.js.LICENSE.txt} +0 -0
- /package/dist-scalprum/static/{6371.f183dddb.chunk.js.LICENSE.txt → 635.f63679a5.chunk.js.LICENSE.txt} +0 -0
- /package/dist-scalprum/static/{6386.2d20c412.chunk.js.LICENSE.txt → 6386.5922f271.chunk.js.LICENSE.txt} +0 -0
- /package/dist-scalprum/static/{8563.46f1a3e1.chunk.js.LICENSE.txt → 8563.6501eafb.chunk.js.LICENSE.txt} +0 -0
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkinternal_plugin_kuadrant=self.webpackChunkinternal_plugin_kuadrant||[]).push([[3581],{5030:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});var r=n(85608),a=n(95478),i=r.__importDefault(n(10009));t.default=function(e,t,n){void 0===t&&(t=[]),void 0===n&&(n={loading:!1});var o=a.useRef(0),s=i.default(),l=a.useState(n),c=l[0],d=l[1],u=a.useCallback(function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var a=++o.current;return c.loading||d(function(e){return r.__assign(r.__assign({},e),{loading:!0})}),e.apply(void 0,t).then(function(e){return s()&&a===o.current&&d({value:e,loading:!1}),e},function(e){return s()&&a===o.current&&d({error:e,loading:!1}),e})},t);return[c,u]}},10009:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});var r=n(95478);t.default=function(){var e=r.useRef(!1),t=r.useCallback(function(){return e.current},[]);return r.useEffect(function(){return e.current=!0,function(){e.current=!1}},[]),t}},25467:(e,t,n)=>{n.d(t,{tN:()=>a}),n(31085),n(22097);var r=n(15427);function a(){const e=(0,r.useVersionedContext)("entity-context");if(!e)throw new Error("Entity context is not available");const t=e.atVersion(1);if(!t)throw new Error("EntityContext v1 not available");if(!t.entity)throw new Error("useEntity hook is being called outside of an EntityLayout where the entity has not been loaded. If this is intentional, please use useAsyncEntity instead.");return{entity:t.entity}}(0,r.createVersionedContext)("entity-context")},37725:(e,t,n)=>{n.d(t,{N_:()=>k});var r=n(31085),a=n(22097),i=n(49203),o=n(37976),s=n(72501),l=n(53373),c=n.n(l),d=n(45250),u=n(95478),h=n(49634),p=n(39330);const f=(0,o.makeStyles)(e=>({visuallyHidden:{clip:"rect(0 0 0 0)",clipPath:"inset(50%)",overflow:"hidden",position:"absolute",userSelect:"none",whiteSpace:"nowrap",height:1,width:1},externalLink:{position:"relative"},externalLinkIcon:{verticalAlign:"bottom",marginLeft:e.spacing(.5)}}),{name:"Link"}),g=()=>{const e=(0,a.useApp)().getSystemIcon("externalLink")||p.A,t=f();return(0,r.jsx)(e,{className:t.externalLinkIcon})},m=e=>/^([a-z+.-]+):/.test(e),x=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*\:/i,v=window.open;if(v&&!v.__backstage){const e=function(...e){const t=String(e[0]);if(x.test(t))throw new Error("Rejected window.open() with a javascript: URL as a security precaution");return v.apply(this,e)};e.__backstage=!0,window.open=e}const y=e=>e instanceof Array?e.map(y).join(" ").trim():"object"==typeof e&&e?y(e?.props?.children):["string","number"].includes(typeof e)?String(e):"",k=(0,u.forwardRef)(({onClick:e,noTrack:t,externalLinkIcon:n,...o},l)=>{const u=f(),p=(0,a.useAnalytics)(),v=function(){const[e]=(0,h.createRoutesFromChildren)((0,r.jsx)(h.Route,{index:!0,element:(0,r.jsx)("div",{})}));return!e.index}()?(e=>{let t=String(e);const n=(()=>{const e=(()=>{try{return(0,a.useApi)(a.configApiRef).getOptionalString("app.baseUrl")}catch{return}})()??"/",{pathname:t}=new URL(e,"http://sample.dev");return(0,d.trimEnd)(t,"/")})(),r=m(t),i=t.startsWith(n);return r||i||(t=n.concat(t)),t})(o.to):o.to,k=y(o.children)||v,A=m(v),j=A&&!!/^https?:/.exec(v);if(x.test(v))throw new Error("Link component rejected javascript: URL as a security precaution");const b=n=>{e?.(n),t||p.captureEvent("click",k,{attributes:{to:v}})};return A?(0,r.jsxs)(i.A,{...j?{target:"_blank",rel:"noopener"}:{},...o,...o["aria-label"]?{"aria-label":`${o["aria-label"]}, Opens in a new window`}:{},ref:l,href:v,onClick:b,className:c()(u.externalLink,o.className),children:[o.children,n&&(0,r.jsx)(g,{}),(0,r.jsx)(s.A,{component:"span",className:u.visuallyHidden,children:", Opens in a new window"})]}):(0,r.jsx)(i.A,{...o,ref:l,component:h.Link,to:v,onClick:b})})},39330:(e,t,n)=>{var r=n(4293),a=n(78920);t.A=void 0;var i=a(n(95478)),o=(0,r(n(74044)).default)(i.createElement("path",{d:"M19 19H5V5h7V3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2v-7h-2v7zM14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3h-7z"}),"OpenInNew");t.A=o},52235:(e,t,n)=>{var r=n(4293),a=n(78920);t.A=void 0;var i=a(n(95478)),o=(0,r(n(74044)).default)(i.createElement("path",{d:"M12 4l-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z"}),"ArrowForward");t.A=o},58837:(e,t,n)=>{n.d(t,{A:()=>o});var r=n(89575),a=n(11942),i=n(37247);const o=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(0,a.makeStyles)(e,(0,r.A)({defaultTheme:i.A},t))}},86687:(e,t,n)=>{n.d(t,{k:()=>l});var r=n(31085),a=n(10394),i=n(88951),o=n(37976),s=n(95478);function l(e){const t=(0,o.useTheme)(),[n,l]=(0,s.useState)(!1);return(0,s.useEffect)(()=>{const e=setTimeout(()=>l(!0),t.transitions.duration.short);return()=>clearTimeout(e)},[t.transitions.duration.short]),n?(0,r.jsx)(i.A,{...e,"data-testid":"progress"}):(0,r.jsx)(a.A,{display:"none","data-testid":"progress"})}},91638:(e,t,n)=>{var r=n(85608),a=n(95478),i=r.__importDefault(n(5030));t.A=function(e,t){void 0===t&&(t=[]);var n=i.default(e,t,{loading:!0}),r=n[0],o=n[1];return a.useEffect(function(){o()},[o]),r}},96040:(e,t,n)=>{n.d(t,{n:()=>N});var r=n(31085),a=n(40703),i=n(59469),o=n(48653),s=n(45685),l=n(37197),c=n(37976),d=n(53373),u=n.n(d),h=n(10394),p=n(72501),f=n(52235),g=n(37725);const m=(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 x(e){const{link:t,title:n,onClick:a}=e,i=m();return(0,r.jsxs)(h.A,{children:[(0,r.jsx)(l.A,{}),(0,r.jsx)(g.N_,{to:t,onClick:a,underline:"none",children:(0,r.jsxs)(h.A,{display:"flex",alignItems:"center",className:i.root,children:[(0,r.jsx)(h.A,{className:i.boxTitle,fontWeight:"fontWeightBold",m:1,children:(0,r.jsx)(p.A,{children:(0,r.jsx)("strong",{children:n})})}),(0,r.jsx)(f.A,{className:i.arrow})]})})]})}var v=n(95478),y=n(64947);const k=(0,v.forwardRef)((e,t)=>(0,r.jsx)(g.N_,{ref:t,...e,color:"initial"})),A=(0,v.forwardRef)((e,t)=>(0,r.jsx)(y.A,{ref:t,component:k,...e}));var j=n(34169),b=n(21006),w=n(67550);const C=e=>{const{slackChannel:t}=e,{t:n}=(0,w.i)(b.O);return t?"string"==typeof t?(0,r.jsx)(p.A,{children:n("errorBoundary.title",{slackChannel:t})}):t.href?(0,r.jsx)(A,{to:t.href,variant:"contained",children:t.name}):(0,r.jsx)(p.A,{children:n("errorBoundary.title",{slackChannel:t.name})}):null},_=class extends v.Component{constructor(e){super(e),this.state={error:void 0,errorInfo:void 0}}componentDidCatch(e,t){console.error(`ErrorBoundary, error: ${e}`,{error:e,errorInfo:t}),this.setState({error:e,errorInfo:t})}render(){const{slackChannel:e,children:t}=this.props,{error:n}=this.state;return n?(0,r.jsx)(j.b,{title:"Something Went Wrong",error:n,children:(0,r.jsx)(C,{slackChannel:e})}):t}},S=(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"}),E=(0,c.withStyles)(e=>({root:{display:"inline-block",padding:e.spacing(8,8,0,0),float:"right"}}),{name:"BackstageInfoCardCardActionsTopRight"})(i.A),L={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 N(e){const{title:t,subheader:n,divider:c=!0,deepLink:d,slackChannel:h,errorBoundaryProps:p,variant:f,alignContent:g="normal",children:m,headerStyle:v,headerProps:y,icon:k,action:A,actionsClassName:j,actions:b,cardClassName:w,actionsTopRight:C,className:N,noPadding:I,titleTypographyProps:T,subheaderTypographyProps:B}=e,R=S();let P={},W={};f&&f.split(/[\s]+/g).forEach(e=>{P={...P,...L.card[e]},W={...W,...L.cardContent[e]}});const H=p||(h?{slackChannel:h}:{});return(0,r.jsx)(a.A,{style:P,className:N,children:(0,r.jsxs)(_,{...H,children:[t&&(0,r.jsx)(s.A,{classes:{root:u()(R.header),title:R.headerTitle,subheader:R.headerSubheader,avatar:R.headerAvatar,action:R.headerAction,content:R.headerContent},title:t,subheader:n||k?(0,r.jsxs)("div",{"data-testid":"info-card-subheader",children:[n&&(0,r.jsx)("div",{className:R.subheader,children:n}),k]}):null,action:A,style:{...v},titleTypographyProps:T,subheaderTypographyProps:B,...y}),C&&(0,r.jsx)(E,{children:C}),c&&(0,r.jsx)(l.A,{}),(0,r.jsx)(o.A,{className:u()(w,{[R.noPadding]:I,[R.contentAlignBottom]:"bottom"===g}),style:W,children:m}),b&&(0,r.jsx)(i.A,{className:j,children:b}),d&&(0,r.jsx)(x,{...d})]})})}}}]);
|
|
2
|
-
//# sourceMappingURL=3581.b5b97f08.chunk.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"static/3581.b5b97f08.chunk.js","mappings":"oIACAA,OAAOC,eAAeC,EAAS,aAAc,CAAEC,OAAO,IACtD,IAAIC,EAAU,EAAQ,OAClBC,EAAU,EAAQ,OAClBC,EAAoBF,EAAQG,gBAAgB,EAAQ,QA0BxDL,EAAA,QAzBA,SAAoBM,EAAIC,EAAMC,QACb,IAATD,IAAmBA,EAAO,SACT,IAAjBC,IAA2BA,EAAe,CAAEC,SAAS,IACzD,IAAIC,EAAaP,EAAQQ,OAAO,GAC5BC,EAAYR,EAAkBS,UAC9BC,EAAKX,EAAQY,SAASP,GAAeQ,EAAQF,EAAG,GAAIG,EAAMH,EAAG,GAC7DI,EAAWf,EAAQgB,YAAY,WAE/B,IADA,IAAIC,EAAO,GACFC,EAAK,EAAGA,EAAKC,UAAUC,OAAQF,IACpCD,EAAKC,GAAMC,UAAUD,GAEzB,IAAIG,IAAWd,EAAWe,QAI1B,OAHKT,EAAMP,SACPQ,EAAI,SAAUS,GAAa,OAAQxB,EAAQyB,SAASzB,EAAQyB,SAA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,EAAS,CAAC,IACzB,IAAAnG,KACd6K,EAAA,EACA,CACE5K,UAAW,IAAW8J,EAAe,CACnC,CAAChK,EAAQ2H,WAAYA,EACrB,CAAC3H,EAAQ6H,oBAAsC,WAAjB4B,IAEhCiB,MAAOL,EACP/I,aAGJyI,IAA2B,IAAA9J,KAAI0I,EAAA,EAAa,CAAEzI,UAAW4J,EAAkBxI,SAAUyI,IACrFR,IAA4B,IAAAtJ,KAAI+F,EAAY,IAAKuD,QAErD,C","sources":["webpack://internal.plugin-kuadrant/../../node_modules/react-use/lib/useAsyncFn.js","webpack://internal.plugin-kuadrant/../../node_modules/react-use/lib/useMountedState.js","webpack://internal.plugin-kuadrant/./node_modules/@backstage/plugin-catalog-react/dist/hooks/useEntity.esm.js","webpack://internal.plugin-kuadrant/./node_modules/@backstage/core-components/dist/components/Link/Link.esm.js","webpack://internal.plugin-kuadrant/../../node_modules/@material-ui/icons/OpenInNew.js","webpack://internal.plugin-kuadrant/../../node_modules/@material-ui/icons/ArrowForward.js","webpack://internal.plugin-kuadrant/../../node_modules/@material-ui/core/esm/styles/makeStyles.js","webpack://internal.plugin-kuadrant/./node_modules/@backstage/core-components/dist/components/Progress/Progress.esm.js","webpack://internal.plugin-kuadrant/../../node_modules/react-use/lib/useAsync.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\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar tslib_1 = require(\"tslib\");\nvar react_1 = require(\"react\");\nvar useMountedState_1 = tslib_1.__importDefault(require(\"./useMountedState\"));\nfunction useAsyncFn(fn, deps, initialState) {\n if (deps === void 0) { deps = []; }\n if (initialState === void 0) { initialState = { loading: false }; }\n var lastCallId = react_1.useRef(0);\n var isMounted = useMountedState_1.default();\n var _a = react_1.useState(initialState), state = _a[0], set = _a[1];\n var callback = react_1.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 (tslib_1.__assign(tslib_1.__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}\nexports.default = useAsyncFn;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar react_1 = require(\"react\");\nfunction useMountedState() {\n var mountedRef = react_1.useRef(false);\n var get = react_1.useCallback(function () { return mountedRef.current; }, []);\n react_1.useEffect(function () {\n mountedRef.current = true;\n return function () {\n mountedRef.current = false;\n };\n }, []);\n return get;\n}\nexports.default = useMountedState;\n","import { jsx } from 'react/jsx-runtime';\nimport { stringifyEntityRef } from '@backstage/catalog-model';\nimport { AnalyticsContext } from '@backstage/core-plugin-api';\nimport { createVersionedContext, useVersionedContext, createVersionedValueMap } from '@backstage/version-bridge';\n\nconst NewEntityContext = createVersionedContext(\n \"entity-context\"\n);\nconst AsyncEntityProvider = (props) => {\n const { children, entity, loading, error, refresh } = props;\n const value = { entity, loading, error, refresh };\n return /* @__PURE__ */ jsx(NewEntityContext.Provider, { value: createVersionedValueMap({ 1: value }), children: /* @__PURE__ */ jsx(\n AnalyticsContext,\n {\n attributes: {\n ...entity ? { entityRef: stringifyEntityRef(entity) } : void 0\n },\n children\n }\n ) });\n};\nconst EntityProvider = (props) => /* @__PURE__ */ jsx(\n AsyncEntityProvider,\n {\n entity: props.entity,\n loading: !Boolean(props.entity),\n error: void 0,\n refresh: void 0,\n children: props.children\n }\n);\nfunction useEntity() {\n const versionedHolder = useVersionedContext(\n \"entity-context\"\n );\n if (!versionedHolder) {\n throw new Error(\"Entity context is not available\");\n }\n const value = versionedHolder.atVersion(1);\n if (!value) {\n throw new Error(\"EntityContext v1 not available\");\n }\n if (!value.entity) {\n throw new Error(\n \"useEntity hook is being called outside of an EntityLayout where the entity has not been loaded. If this is intentional, please use useAsyncEntity instead.\"\n );\n }\n return { entity: value.entity };\n}\nfunction useAsyncEntity() {\n const versionedHolder = useVersionedContext(\n \"entity-context\"\n );\n if (!versionedHolder) {\n throw new Error(\"Entity context is not available\");\n }\n const value = versionedHolder.atVersion(1);\n if (!value) {\n throw new Error(\"EntityContext v1 not available\");\n }\n const { entity, loading, error, refresh } = value;\n return { entity, loading, error, refresh };\n}\n\nexport { AsyncEntityProvider, EntityProvider, useAsyncEntity, useEntity };\n//# sourceMappingURL=useEntity.esm.js.map\n","import { jsxs, jsx } from 'react/jsx-runtime';\nimport { useAnalytics, useApp, useApi, configApiRef } from '@backstage/core-plugin-api';\nimport MaterialLink from '@material-ui/core/Link';\nimport { makeStyles } from '@material-ui/core/styles';\nimport Typography from '@material-ui/core/Typography';\nimport classNames from 'classnames';\nimport { trimEnd } from 'lodash';\nimport { forwardRef } from 'react';\nimport { Link as Link$1, createRoutesFromChildren, Route } from 'react-router-dom';\nimport OpenInNew from '@material-ui/icons/OpenInNew';\n\nfunction isReactRouterBeta() {\n const [obj] = createRoutesFromChildren(/* @__PURE__ */ jsx(Route, { index: true, element: /* @__PURE__ */ jsx(\"div\", {}) }));\n return !obj.index;\n}\nconst useStyles = makeStyles(\n (theme) => ({\n visuallyHidden: {\n clip: \"rect(0 0 0 0)\",\n clipPath: \"inset(50%)\",\n overflow: \"hidden\",\n position: \"absolute\",\n userSelect: \"none\",\n whiteSpace: \"nowrap\",\n height: 1,\n width: 1\n },\n externalLink: {\n position: \"relative\"\n },\n externalLinkIcon: {\n verticalAlign: \"bottom\",\n marginLeft: theme.spacing(0.5)\n }\n }),\n { name: \"Link\" }\n);\nconst ExternalLinkIcon = () => {\n const app = useApp();\n const Icon = app.getSystemIcon(\"externalLink\") || OpenInNew;\n const classes = useStyles();\n return /* @__PURE__ */ jsx(Icon, { className: classes.externalLinkIcon });\n};\nconst isExternalUri = (uri) => /^([a-z+.-]+):/.test(uri);\nconst scriptProtocolPattern = (\n // eslint-disable-next-line no-control-regex\n /^[\\u0000-\\u001F ]*j[\\r\\n\\t]*a[\\r\\n\\t]*v[\\r\\n\\t]*a[\\r\\n\\t]*s[\\r\\n\\t]*c[\\r\\n\\t]*r[\\r\\n\\t]*i[\\r\\n\\t]*p[\\r\\n\\t]*t[\\r\\n\\t]*\\:/i\n);\nconst originalWindowOpen = window.open;\nif (originalWindowOpen && !originalWindowOpen.__backstage) {\n const newOpen = function open(...args) {\n const url = String(args[0]);\n if (scriptProtocolPattern.test(url)) {\n throw new Error(\n \"Rejected window.open() with a javascript: URL as a security precaution\"\n );\n }\n return originalWindowOpen.apply(this, args);\n };\n newOpen.__backstage = true;\n window.open = newOpen;\n}\nconst useBaseUrl = () => {\n try {\n const config = useApi(configApiRef);\n return config.getOptionalString(\"app.baseUrl\");\n } catch {\n return void 0;\n }\n};\nconst useBasePath = () => {\n const base = \"http://sample.dev\";\n const url = useBaseUrl() ?? \"/\";\n const { pathname } = new URL(url, base);\n return trimEnd(pathname, \"/\");\n};\nconst useResolvedPath = (uri) => {\n let resolvedPath = String(uri);\n const basePath = useBasePath();\n const external = isExternalUri(resolvedPath);\n const startsWithBasePath = resolvedPath.startsWith(basePath);\n if (!external && !startsWithBasePath) {\n resolvedPath = basePath.concat(resolvedPath);\n }\n return resolvedPath;\n};\nconst getNodeText = (node) => {\n if (node instanceof Array) {\n return node.map(getNodeText).join(\" \").trim();\n }\n if (typeof node === \"object\" && node) {\n return getNodeText(node?.props?.children);\n }\n if ([\"string\", \"number\"].includes(typeof node)) {\n return String(node);\n }\n return \"\";\n};\nconst Link = forwardRef(\n ({ onClick, noTrack, externalLinkIcon, ...props }, ref) => {\n const classes = useStyles();\n const analytics = useAnalytics();\n const to = isReactRouterBeta() ? useResolvedPath(props.to) : props.to;\n const linkText = getNodeText(props.children) || to;\n const external = isExternalUri(to);\n const newWindow = external && !!/^https?:/.exec(to);\n if (scriptProtocolPattern.test(to)) {\n throw new Error(\n \"Link component rejected javascript: URL as a security precaution\"\n );\n }\n const handleClick = (event) => {\n onClick?.(event);\n if (!noTrack) {\n analytics.captureEvent(\"click\", linkText, { attributes: { to } });\n }\n };\n return external ? (\n // External links\n /* @__PURE__ */ jsxs(\n MaterialLink,\n {\n ...newWindow ? { target: \"_blank\", rel: \"noopener\" } : {},\n ...props,\n ...props[\"aria-label\"] ? { \"aria-label\": `${props[\"aria-label\"]}, Opens in a new window` } : {},\n ref,\n href: to,\n onClick: handleClick,\n className: classNames(classes.externalLink, props.className),\n children: [\n props.children,\n externalLinkIcon && /* @__PURE__ */ jsx(ExternalLinkIcon, {}),\n /* @__PURE__ */ jsx(Typography, { component: \"span\", className: classes.visuallyHidden, children: \", Opens in a new window\" })\n ]\n }\n )\n ) : (\n // Interact with React Router for internal links\n /* @__PURE__ */ jsx(\n MaterialLink,\n {\n ...props,\n ref,\n component: Link$1,\n to,\n onClick: handleClick\n }\n )\n );\n }\n);\n\nexport { Link, isExternalUri, isReactRouterBeta, useResolvedPath };\n//# sourceMappingURL=Link.esm.js.map\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: \"M19 19H5V5h7V3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2v-7h-2v7zM14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3h-7z\"\n}), 'OpenInNew');\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 4l-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z\"\n}), 'ArrowForward');\n\nexports.default = _default;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport { makeStyles as makeStylesWithoutDefault } from '@material-ui/styles';\nimport defaultTheme from './defaultTheme';\n\nfunction makeStyles(stylesOrCreator) {\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n return makeStylesWithoutDefault(stylesOrCreator, _extends({\n defaultTheme: defaultTheme\n }, options));\n}\n\nexport default makeStyles;","import { jsx } from 'react/jsx-runtime';\nimport Box from '@material-ui/core/Box';\nimport LinearProgress from '@material-ui/core/LinearProgress';\nimport { useTheme } from '@material-ui/core/styles';\nimport { useState, useEffect } from 'react';\n\nfunction Progress(props) {\n const theme = useTheme();\n const [isVisible, setIsVisible] = useState(false);\n useEffect(() => {\n const handle = setTimeout(\n () => setIsVisible(true),\n theme.transitions.duration.short\n );\n return () => clearTimeout(handle);\n }, [theme.transitions.duration.short]);\n return isVisible ? /* @__PURE__ */ jsx(LinearProgress, { ...props, \"data-testid\": \"progress\" }) : /* @__PURE__ */ jsx(Box, { display: \"none\", \"data-testid\": \"progress\" });\n}\n\nexport { Progress };\n//# sourceMappingURL=Progress.esm.js.map\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar tslib_1 = require(\"tslib\");\nvar react_1 = require(\"react\");\nvar useAsyncFn_1 = tslib_1.__importDefault(require(\"./useAsyncFn\"));\nfunction useAsync(fn, deps) {\n if (deps === void 0) { deps = []; }\n var _a = useAsyncFn_1.default(fn, deps, {\n loading: true,\n }), state = _a[0], callback = _a[1];\n react_1.useEffect(function () {\n callback();\n }, [callback]);\n return state;\n}\nexports.default = useAsync;\n","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":["Object","defineProperty","exports","value","tslib_1","react_1","useMountedState_1","__importDefault","fn","deps","initialState","loading","lastCallId","useRef","isMounted","default","_a","useState","state","set","callback","useCallback","args","_i","arguments","length","callId","current","prevState","__assign","apply","then","error","mountedRef","get","useEffect","useEntity","versionedHolder","useVersionedContext","Error","atVersion","entity","createVersionedContext","useStyles","makeStyles","theme","visuallyHidden","clip","clipPath","overflow","position","userSelect","whiteSpace","height","width","externalLink","externalLinkIcon","verticalAlign","marginLeft","spacing","name","ExternalLinkIcon","Icon","useApp","getSystemIcon","classes","jsx","className","isExternalUri","uri","test","scriptProtocolPattern","originalWindowOpen","window","open","__backstage","newOpen","url","String","this","getNodeText","node","Array","map","join","trim","props","children","includes","Link","forwardRef","onClick","noTrack","ref","analytics","useAnalytics","to","obj","createRoutesFromChildren","Route","index","element","isReactRouterBeta","resolvedPath","basePath","useApi","configApiRef","getOptionalString","useBaseUrl","pathname","URL","trimEnd","useBasePath","external","startsWithBasePath","startsWith","concat","useResolvedPath","linkText","newWindow","exec","handleClick","event","captureEvent","attributes","jsxs","target","rel","href","component","_interopRequireDefault","_interopRequireWildcard","React","_default","createElement","d","stylesOrCreator","options","undefined","defaultTheme","Progress","useTheme","isVisible","setIsVisible","handle","setTimeout","transitions","duration","short","clearTimeout","display","useAsyncFn_1","root","maxWidth","padding","boxTitle","margin","color","palette","textSubtle","arrow","BottomLink","link","title","Box","Divider","underline","alignItems","fontWeight","m","Typography","A","LinkWrapper","LinkButton","Button","SlackLink","slackChannel","t","variant","ErrorBoundary","Component","constructor","super","errorInfo","componentDidCatch","console","setState","render","noPadding","paddingBottom","contentAlignBottom","header","headerTitle","typography","fontWeightBold","headerSubheader","paddingTop","headerAvatar","headerAction","headerContent","subheader","CardActionsTopRight","withStyles","float","CardActions","VARIANT_STYLES","card","flex","flexDirection","fullHeight","gridItem","marginBottom","breakInside","cardContent","InfoCard","divider","deepLink","errorBoundaryProps","alignContent","headerStyle","headerProps","icon","action","actionsClassName","actions","cardClassName","actionsTopRight","titleTypographyProps","subheaderTypographyProps","calculatedStyle","calculatedCardStyle","split","forEach","errProps","Card","style","CardHeader","avatar","content","CardContent"],"sourceRoot":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkinternal_plugin_kuadrant=self.webpackChunkinternal_plugin_kuadrant||[]).push([[369],{8017:(e,t,n)=>{function r(e){return null!=e&&!(Array.isArray(e)&&0===e.length)}function o(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e&&(r(e.value)&&""!==e.value||t&&r(e.defaultValue)&&""!==e.defaultValue)}function a(e){return e.startAdornment}n.d(t,{gr:()=>a,lq:()=>o})},16249:(e,t,n)=>{n.d(t,{A:()=>b});var r=n(89575),o=n(39850),a=n(95478),i=n(36274),l=n(63301),s=n(73481),d=n(35963),u=n(48543),c=n(95061),p=n(51253),m=n(81215),f=n(7031),v={standard:l.A,filled:s.A,outlined:d.A},h=a.forwardRef(function(e,t){var n=e.autoComplete,l=e.autoFocus,s=void 0!==l&&l,d=e.children,f=e.classes,h=e.className,b=e.color,g=void 0===b?"primary":b,A=e.defaultValue,y=e.disabled,x=void 0!==y&&y,w=e.error,C=void 0!==w&&w,E=e.FormHelperTextProps,k=e.fullWidth,S=void 0!==k&&k,R=e.helperText,M=e.hiddenLabel,D=e.id,N=e.InputLabelProps,I=e.inputProps,F=e.InputProps,P=e.inputRef,W=e.label,L=e.multiline,O=void 0!==L&&L,B=e.name,$=e.onBlur,T=e.onChange,q=e.onFocus,H=e.placeholder,z=e.required,K=void 0!==z&&z,V=e.rows,U=e.rowsMax,_=e.maxRows,j=e.minRows,X=e.select,G=void 0!==X&&X,Z=e.SelectProps,J=e.type,Q=e.value,Y=e.variant,ee=void 0===Y?"standard":Y,te=(0,o.A)(e,["autoComplete","autoFocus","children","classes","className","color","defaultValue","disabled","error","FormHelperTextProps","fullWidth","helperText","hiddenLabel","id","InputLabelProps","inputProps","InputProps","inputRef","label","multiline","name","onBlur","onChange","onFocus","placeholder","required","rows","rowsMax","maxRows","minRows","select","SelectProps","type","value","variant"]),ne={};if("outlined"===ee&&(N&&void 0!==N.shrink&&(ne.notched=N.shrink),W)){var re,oe=null!==(re=null==N?void 0:N.required)&&void 0!==re?re:K;ne.label=a.createElement(a.Fragment,null,W,oe&&" *")}G&&(Z&&Z.native||(ne.id=void 0),ne["aria-describedby"]=void 0);var ae=R&&D?"".concat(D,"-helper-text"):void 0,ie=W&&D?"".concat(D,"-label"):void 0,le=v[ee],se=a.createElement(le,(0,r.A)({"aria-describedby":ae,autoComplete:n,autoFocus:s,defaultValue:A,fullWidth:S,multiline:O,name:B,rows:V,rowsMax:U,maxRows:_,minRows:j,type:J,value:Q,id:D,inputRef:P,onBlur:$,onChange:T,onFocus:q,placeholder:H,inputProps:I},ne,F));return a.createElement(c.A,(0,r.A)({className:(0,i.A)(f.root,h),disabled:x,error:C,fullWidth:S,hiddenLabel:M,ref:t,required:K,color:g,variant:ee},te),W&&a.createElement(u.A,(0,r.A)({htmlFor:D,id:ie},N),W),G?a.createElement(m.A,(0,r.A)({"aria-describedby":ae,id:D,labelId:ie,value:Q,input:se},Z),d):se,R&&a.createElement(p.A,(0,r.A)({id:ae},E),R))});const b=(0,f.A)({root:{}},{name:"MuiTextField"})(h)},26343:(e,t,n)=>{n.d(t,{A:()=>c});var r=n(39850),o=n(24586),a=n(89575),i=n(95478),l=n(36274),s=n(7031),d=n(8109),u=i.forwardRef(function(e,t){var n,o=e.classes,s=e.className,u=e.component,c=void 0===u?"li":u,p=e.disableGutters,m=void 0!==p&&p,f=e.ListItemClasses,v=e.role,h=void 0===v?"menuitem":v,b=e.selected,g=e.tabIndex,A=(0,r.A)(e,["classes","className","component","disableGutters","ListItemClasses","role","selected","tabIndex"]);return e.disabled||(n=void 0!==g?g:-1),i.createElement(d.A,(0,a.A)({button:!0,role:h,tabIndex:n,component:c,selected:b,disableGutters:m,classes:(0,a.A)({dense:o.dense},f),className:(0,l.A)(o.root,s,b&&o.selected,!m&&o.gutters),ref:t},A))});const c=(0,s.A)(function(e){return{root:(0,a.A)({},e.typography.body1,(0,o.A)({minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",width:"auto",overflow:"hidden",whiteSpace:"nowrap"},e.breakpoints.up("sm"),{minHeight:"auto"})),gutters:{},selected:{},dense:(0,a.A)({},e.typography.body2,{minHeight:"auto"})}},{name:"MuiMenuItem"})(u)},28233:(e,t,n)=>{n.d(t,{A:()=>h});var r=n(89575),o=n(39850),a=n(95478),i=(n(26948),n(40484)),l=n(76446),s=n(58007),d=n(18977),u=n(19878);function c(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function p(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function m(e,t){if(void 0===t)return!0;var n=e.innerText;return void 0===n&&(n=e.textContent),0!==(n=n.trim().toLowerCase()).length&&(t.repeating?n[0]===t.keys[0]:0===n.indexOf(t.keys.join("")))}function f(e,t,n,r,o,a){for(var i=!1,l=o(e,t,!!t&&n);l;){if(l===e.firstChild){if(i)return;i=!0}var s=!r&&(l.disabled||"true"===l.getAttribute("aria-disabled"));if(l.hasAttribute("tabindex")&&m(l,a)&&!s)return void l.focus();l=o(e,l,n)}}var v="undefined"==typeof window?a.useEffect:a.useLayoutEffect;const h=a.forwardRef(function(e,t){var n=e.actions,h=e.autoFocus,b=void 0!==h&&h,g=e.autoFocusItem,A=void 0!==g&&g,y=e.children,x=e.className,w=e.disabledItemsFocusable,C=void 0!==w&&w,E=e.disableListWrap,k=void 0!==E&&E,S=e.onKeyDown,R=e.variant,M=void 0===R?"selectedMenu":R,D=(0,o.A)(e,["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"]),N=a.useRef(null),I=a.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});v(function(){b&&N.current.focus()},[b]),a.useImperativeHandle(n,function(){return{adjustStyleForScrollbar:function(e,t){var n=!N.current.style.width;if(e.clientHeight<N.current.clientHeight&&n){var r="".concat((0,d.A)(!0),"px");N.current.style["rtl"===t.direction?"paddingLeft":"paddingRight"]=r,N.current.style.width="calc(100% + ".concat(r,")")}return N.current}}},[]);var F=a.useCallback(function(e){N.current=i.findDOMNode(e)},[]),P=(0,u.A)(F,t),W=-1;a.Children.forEach(y,function(e,t){a.isValidElement(e)&&(e.props.disabled||("selectedMenu"===M&&e.props.selected||-1===W)&&(W=t))});var L=a.Children.map(y,function(e,t){if(t===W){var n={};return A&&(n.autoFocus=!0),void 0===e.props.tabIndex&&"selectedMenu"===M&&(n.tabIndex=0),a.cloneElement(e,n)}return e});return a.createElement(s.A,(0,r.A)({role:"menu",ref:P,className:x,onKeyDown:function(e){var t=N.current,n=e.key,r=(0,l.A)(t).activeElement;if("ArrowDown"===n)e.preventDefault(),f(t,r,k,C,c);else if("ArrowUp"===n)e.preventDefault(),f(t,r,k,C,p);else if("Home"===n)e.preventDefault(),f(t,null,k,C,c);else if("End"===n)e.preventDefault(),f(t,null,k,C,p);else if(1===n.length){var o=I.current,a=n.toLowerCase(),i=performance.now();o.keys.length>0&&(i-o.lastTime>500?(o.keys=[],o.repeating=!0,o.previousKeyMatched=!0):o.repeating&&a!==o.keys[0]&&(o.repeating=!1)),o.lastTime=i,o.keys.push(a);var s=r&&!o.repeating&&m(r,o);o.previousKeyMatched&&(s||f(t,r,!1,C,c,o))?e.preventDefault():o.previousKeyMatched=!1}S&&S(e)},tabIndex:b?0:-1},D),L)})},31468:(e,t,n)=>{n.d(t,{A:()=>o});var r=n(95478);const o=(0,n(38483).A)(r.createElement("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown")},35963:(e,t,n)=>{n.d(t,{A:()=>v});var r=n(89575),o=n(39850),a=n(95478),i=n(36274),l=n(41857),s=n(24586),d=n(7031),u=n(54917),c=n(11192),p=a.forwardRef(function(e,t){e.children;var n=e.classes,l=e.className,d=e.label,p=e.labelWidth,m=e.notched,f=e.style,v=(0,o.A)(e,["children","classes","className","label","labelWidth","notched","style"]),h="rtl"===(0,u.A)().direction?"right":"left";if(void 0!==d)return a.createElement("fieldset",(0,r.A)({"aria-hidden":!0,className:(0,i.A)(n.root,l),ref:t,style:f},v),a.createElement("legend",{className:(0,i.A)(n.legendLabelled,m&&n.legendNotched)},d?a.createElement("span",null,d):a.createElement("span",{dangerouslySetInnerHTML:{__html:"​"}})));var b=p>0?.75*p+8:.01;return a.createElement("fieldset",(0,r.A)({"aria-hidden":!0,style:(0,r.A)((0,s.A)({},"padding".concat((0,c.A)(h)),8),f),className:(0,i.A)(n.root,l),ref:t},v),a.createElement("legend",{className:n.legend,style:{width:m?b:.01}},a.createElement("span",{dangerouslySetInnerHTML:{__html:"​"}})))});const m=(0,d.A)(function(e){return{root:{position:"absolute",bottom:0,right:0,top:-5,left:0,margin:0,padding:"0 8px",pointerEvents:"none",borderRadius:"inherit",borderStyle:"solid",borderWidth:1,overflow:"hidden"},legend:{textAlign:"left",padding:0,lineHeight:"11px",transition:e.transitions.create("width",{duration:150,easing:e.transitions.easing.easeOut})},legendLabelled:{display:"block",width:"auto",textAlign:"left",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:e.transitions.create("max-width",{duration:50,easing:e.transitions.easing.easeOut}),"& > span":{paddingLeft:5,paddingRight:5,display:"inline-block"}},legendNotched:{maxWidth:1e3,transition:e.transitions.create("max-width",{duration:100,easing:e.transitions.easing.easeOut,delay:50})}}},{name:"PrivateNotchedOutline"})(p);var f=a.forwardRef(function(e,t){var n=e.classes,s=e.fullWidth,d=void 0!==s&&s,u=e.inputComponent,c=void 0===u?"input":u,p=e.label,f=e.labelWidth,v=void 0===f?0:f,h=e.multiline,b=void 0!==h&&h,g=e.notched,A=e.type,y=void 0===A?"text":A,x=(0,o.A)(e,["classes","fullWidth","inputComponent","label","labelWidth","multiline","notched","type"]);return a.createElement(l.A,(0,r.A)({renderSuffix:function(e){return a.createElement(m,{className:n.notchedOutline,label:p,labelWidth:v,notched:void 0!==g?g:Boolean(e.startAdornment||e.filled||e.focused)})},classes:(0,r.A)({},n,{root:(0,i.A)(n.root,n.underline),notchedOutline:null}),fullWidth:d,inputComponent:c,multiline:b,ref:t,type:y},x))});f.muiName="Input";const v=(0,d.A)(function(e){var t="light"===e.palette.type?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{root:{position:"relative",borderRadius:e.shape.borderRadius,"&:hover $notchedOutline":{borderColor:e.palette.text.primary},"@media (hover: none)":{"&:hover $notchedOutline":{borderColor:t}},"&$focused $notchedOutline":{borderColor:e.palette.primary.main,borderWidth:2},"&$error $notchedOutline":{borderColor:e.palette.error.main},"&$disabled $notchedOutline":{borderColor:e.palette.action.disabled}},colorSecondary:{"&$focused $notchedOutline":{borderColor:e.palette.secondary.main}},focused:{},disabled:{},adornedStart:{paddingLeft:14},adornedEnd:{paddingRight:14},error:{},marginDense:{},multiline:{padding:"18.5px 14px","&$marginDense":{paddingTop:10.5,paddingBottom:10.5}},notchedOutline:{borderColor:t},input:{padding:"18.5px 14px","&:-webkit-autofill":{WebkitBoxShadow:"light"===e.palette.type?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===e.palette.type?null:"#fff",caretColor:"light"===e.palette.type?null:"#fff",borderRadius:"inherit"}},inputMarginDense:{paddingTop:10.5,paddingBottom:10.5},inputMultiline:{padding:0},inputAdornedStart:{paddingLeft:0},inputAdornedEnd:{paddingRight:0}}},{name:"MuiOutlinedInput"})(f)},37757:(e,t,n)=>{n.d(t,{A:()=>h});var r=n(89575),o=n(39850),a=n(95478),i=(n(26948),n(36274)),l=n(7031),s=n(55197),d=n(28233),u=n(40484),c=n(93371),p=n(54917),m={vertical:"top",horizontal:"right"},f={vertical:"top",horizontal:"left"},v=a.forwardRef(function(e,t){var n=e.autoFocus,l=void 0===n||n,v=e.children,h=e.classes,b=e.disableAutoFocusItem,g=void 0!==b&&b,A=e.MenuListProps,y=void 0===A?{}:A,x=e.onClose,w=e.onEntering,C=e.open,E=e.PaperProps,k=void 0===E?{}:E,S=e.PopoverClasses,R=e.transitionDuration,M=void 0===R?"auto":R,D=e.TransitionProps,N=(D=void 0===D?{}:D).onEntering,I=(0,o.A)(D,["onEntering"]),F=e.variant,P=void 0===F?"selectedMenu":F,W=(0,o.A)(e,["autoFocus","children","classes","disableAutoFocusItem","MenuListProps","onClose","onEntering","open","PaperProps","PopoverClasses","transitionDuration","TransitionProps","variant"]),L=(0,p.A)(),O=l&&!g&&C,B=a.useRef(null),$=a.useRef(null),T=-1;a.Children.map(v,function(e,t){a.isValidElement(e)&&(e.props.disabled||("menu"!==P&&e.props.selected||-1===T)&&(T=t))});var q=a.Children.map(v,function(e,t){return t===T?a.cloneElement(e,{ref:function(t){$.current=u.findDOMNode(t),(0,c.A)(e.ref,t)}}):e});return a.createElement(s.Ay,(0,r.A)({getContentAnchorEl:function(){return $.current},classes:S,onClose:x,TransitionProps:(0,r.A)({onEntering:function(e,t){B.current&&B.current.adjustStyleForScrollbar(e,L),w&&w(e,t),N&&N(e,t)}},I),anchorOrigin:"rtl"===L.direction?m:f,transformOrigin:"rtl"===L.direction?m:f,PaperProps:(0,r.A)({},k,{classes:(0,r.A)({},k.classes,{root:h.paper})}),open:C,ref:t,transitionDuration:M},W),a.createElement(d.A,(0,r.A)({onKeyDown:function(e){"Tab"===e.key&&(e.preventDefault(),x&&x(e,"tabKeyDown"))},actions:B,autoFocus:l&&(-1===T||g),autoFocusItem:O,variant:P},y,{className:(0,i.A)(h.list,y.className)}),q))});const h=(0,l.A)({paper:{maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"},list:{outline:0}},{name:"MuiMenu"})(v)},41682:(e,t,n)=>{n.d(t,{A:()=>a});var r=n(95478),o=n(42062);function a(){return r.useContext(o.A)}},41857:(e,t,n)=>{n.d(t,{A:()=>b});var r=n(39850),o=n(89575),a=n(87447),i=n(95478),l=n(36274),s=n(96836),d=n(42062),u=n(7031),c=n(11192),p=n(19878),m=n(51479),f=n(8017),v="undefined"==typeof window?i.useEffect:i.useLayoutEffect,h=i.forwardRef(function(e,t){var n=e["aria-describedby"],u=e.autoComplete,h=e.autoFocus,b=e.classes,g=e.className,A=(e.color,e.defaultValue),y=e.disabled,x=e.endAdornment,w=(e.error,e.fullWidth),C=void 0!==w&&w,E=e.id,k=e.inputComponent,S=void 0===k?"input":k,R=e.inputProps,M=void 0===R?{}:R,D=e.inputRef,N=(e.margin,e.multiline),I=void 0!==N&&N,F=e.name,P=e.onBlur,W=e.onChange,L=e.onClick,O=e.onFocus,B=e.onKeyDown,$=e.onKeyUp,T=e.placeholder,q=e.readOnly,H=e.renderSuffix,z=e.rows,K=e.rowsMax,V=e.rowsMin,U=e.maxRows,_=e.minRows,j=e.startAdornment,X=e.type,G=void 0===X?"text":X,Z=e.value,J=(0,r.A)(e,["aria-describedby","autoComplete","autoFocus","classes","className","color","defaultValue","disabled","endAdornment","error","fullWidth","id","inputComponent","inputProps","inputRef","margin","multiline","name","onBlur","onChange","onClick","onFocus","onKeyDown","onKeyUp","placeholder","readOnly","renderSuffix","rows","rowsMax","rowsMin","maxRows","minRows","startAdornment","type","value"]),Q=null!=M.value?M.value:Z,Y=i.useRef(null!=Q).current,ee=i.useRef(),te=i.useCallback(function(e){},[]),ne=(0,p.A)(M.ref,te),re=(0,p.A)(D,ne),oe=(0,p.A)(ee,re),ae=i.useState(!1),ie=ae[0],le=ae[1],se=(0,d.t)(),de=(0,s.A)({props:e,muiFormControl:se,states:["color","disabled","error","hiddenLabel","margin","required","filled"]});de.focused=se?se.focused:ie,i.useEffect(function(){!se&&y&&ie&&(le(!1),P&&P())},[se,y,ie,P]);var ue=se&&se.onFilled,ce=se&&se.onEmpty,pe=i.useCallback(function(e){(0,f.lq)(e)?ue&&ue():ce&&ce()},[ue,ce]);v(function(){Y&&pe({value:Q})},[Q,pe,Y]),i.useEffect(function(){pe(ee.current)},[]);var me=S,fe=(0,o.A)({},M,{ref:oe});return"string"!=typeof me?fe=(0,o.A)({inputRef:oe,type:G},fe,{ref:null}):I?!z||U||_||K||V?(fe=(0,o.A)({minRows:z||_,rowsMax:K,maxRows:U},fe),me=m.A):me="textarea":fe=(0,o.A)({type:G},fe),i.useEffect(function(){se&&se.setAdornedStart(Boolean(j))},[se,j]),i.createElement("div",(0,o.A)({className:(0,l.A)(b.root,b["color".concat((0,c.A)(de.color||"primary"))],g,de.disabled&&b.disabled,de.error&&b.error,C&&b.fullWidth,de.focused&&b.focused,se&&b.formControl,I&&b.multiline,j&&b.adornedStart,x&&b.adornedEnd,"dense"===de.margin&&b.marginDense),onClick:function(e){ee.current&&e.currentTarget===e.target&&ee.current.focus(),L&&L(e)},ref:t},J),j,i.createElement(d.A.Provider,{value:null},i.createElement(me,(0,o.A)({"aria-invalid":de.error,"aria-describedby":n,autoComplete:u,autoFocus:h,defaultValue:A,disabled:de.disabled,id:E,onAnimationStart:function(e){pe("mui-auto-fill-cancel"===e.animationName?ee.current:{value:"x"})},name:F,placeholder:T,readOnly:q,required:de.required,rows:z,value:Q,onKeyDown:B,onKeyUp:$},fe,{className:(0,l.A)(b.input,M.className,de.disabled&&b.disabled,I&&b.inputMultiline,de.hiddenLabel&&b.inputHiddenLabel,j&&b.inputAdornedStart,x&&b.inputAdornedEnd,"search"===G&&b.inputTypeSearch,"dense"===de.margin&&b.inputMarginDense),onBlur:function(e){P&&P(e),M.onBlur&&M.onBlur(e),se&&se.onBlur?se.onBlur(e):le(!1)},onChange:function(e){if(!Y){var t=e.target||ee.current;if(null==t)throw new Error((0,a.A)(1));pe({value:t.value})}for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];M.onChange&&M.onChange.apply(M,[e].concat(r)),W&&W.apply(void 0,[e].concat(r))},onFocus:function(e){de.disabled?e.stopPropagation():(O&&O(e),M.onFocus&&M.onFocus(e),se&&se.onFocus?se.onFocus(e):le(!0))}}))),x,H?H((0,o.A)({},de,{startAdornment:j})):null)});const b=(0,u.A)(function(e){var t="light"===e.palette.type,n={color:"currentColor",opacity:t?.42:.5,transition:e.transitions.create("opacity",{duration:e.transitions.duration.shorter})},r={opacity:"0 !important"},a={opacity:t?.42:.5};return{"@global":{"@keyframes mui-auto-fill":{},"@keyframes mui-auto-fill-cancel":{}},root:(0,o.A)({},e.typography.body1,{color:e.palette.text.primary,lineHeight:"1.1876em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center","&$disabled":{color:e.palette.text.disabled,cursor:"default"}}),formControl:{},focused:{},disabled:{},adornedStart:{},adornedEnd:{},error:{},marginDense:{},multiline:{padding:"".concat(6,"px 0 ").concat(7,"px"),"&$marginDense":{paddingTop:3}},colorSecondary:{},fullWidth:{width:"100%"},input:{font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"".concat(6,"px 0 ").concat(7,"px"),border:0,boxSizing:"content-box",background:"none",height:"1.1876em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%",animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&::-webkit-input-placeholder":n,"&::-moz-placeholder":n,"&:-ms-input-placeholder":n,"&::-ms-input-placeholder":n,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{"-webkit-appearance":"none"},"label[data-shrink=false] + $formControl &":{"&::-webkit-input-placeholder":r,"&::-moz-placeholder":r,"&:-ms-input-placeholder":r,"&::-ms-input-placeholder":r,"&:focus::-webkit-input-placeholder":a,"&:focus::-moz-placeholder":a,"&:focus:-ms-input-placeholder":a,"&:focus::-ms-input-placeholder":a},"&$disabled":{opacity:1},"&:-webkit-autofill":{animationDuration:"5000s",animationName:"mui-auto-fill"}},inputMarginDense:{paddingTop:3},inputMultiline:{height:"auto",resize:"none",padding:0},inputTypeSearch:{"-moz-appearance":"textfield","-webkit-appearance":"textfield"},inputAdornedStart:{},inputAdornedEnd:{},inputHiddenLabel:{}}},{name:"MuiInputBase"})(h)},42062:(e,t,n)=>{n.d(t,{A:()=>i,t:()=>a});var r=n(95478),o=r.createContext();function a(){return r.useContext(o)}const i=o},42141:(e,t,n)=>{n.d(t,{A:()=>s});var r=n(89575),o=n(39850),a=n(95478),i=n(36274),l=n(11192);const s=a.forwardRef(function(e,t){var n=e.classes,s=e.className,d=e.disabled,u=e.IconComponent,c=e.inputRef,p=e.variant,m=void 0===p?"standard":p,f=(0,o.A)(e,["classes","className","disabled","IconComponent","inputRef","variant"]);return a.createElement(a.Fragment,null,a.createElement("select",(0,r.A)({className:(0,i.A)(n.root,n.select,n[m],s,d&&n.disabled),disabled:d,ref:c||t},f)),e.multiple?null:a.createElement(u,{className:(0,i.A)(n.icon,n["icon".concat((0,l.A)(m))],d&&n.disabled)}))})},48543:(e,t,n)=>{n.d(t,{A:()=>p});var r=n(89575),o=n(39850),a=n(95478),i=n(36274),l=n(96836),s=n(41682),d=n(7031),u=n(91761),c=a.forwardRef(function(e,t){var n=e.classes,d=e.className,c=e.disableAnimation,p=void 0!==c&&c,m=(e.margin,e.shrink),f=(e.variant,(0,o.A)(e,["classes","className","disableAnimation","margin","shrink","variant"])),v=(0,s.A)(),h=m;void 0===h&&v&&(h=v.filled||v.focused||v.adornedStart);var b=(0,l.A)({props:e,muiFormControl:v,states:["margin","variant"]});return a.createElement(u.A,(0,r.A)({"data-shrink":h,className:(0,i.A)(n.root,d,v&&n.formControl,!p&&n.animated,h&&n.shrink,"dense"===b.margin&&n.marginDense,{filled:n.filled,outlined:n.outlined}[b.variant]),classes:{focused:n.focused,disabled:n.disabled,error:n.error,required:n.required,asterisk:n.asterisk},ref:t},f))});const p=(0,d.A)(function(e){return{root:{display:"block",transformOrigin:"top left"},focused:{},disabled:{},error:{},required:{},asterisk:{},formControl:{position:"absolute",left:0,top:0,transform:"translate(0, 24px) scale(1)"},marginDense:{transform:"translate(0, 21px) scale(1)"},shrink:{transform:"translate(0, 1.5px) scale(0.75)",transformOrigin:"top left"},animated:{transition:e.transitions.create(["color","transform"],{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut})},filled:{zIndex:1,pointerEvents:"none",transform:"translate(12px, 20px) scale(1)","&$marginDense":{transform:"translate(12px, 17px) scale(1)"},"&$shrink":{transform:"translate(12px, 10px) scale(0.75)","&$marginDense":{transform:"translate(12px, 7px) scale(0.75)"}}},outlined:{zIndex:1,pointerEvents:"none",transform:"translate(14px, 20px) scale(1)","&$marginDense":{transform:"translate(14px, 12px) scale(1)"},"&$shrink":{transform:"translate(14px, -6px) scale(0.75)"}}}},{name:"MuiInputLabel"})(c)},51253:(e,t,n)=>{n.d(t,{A:()=>c});var r=n(39850),o=n(89575),a=n(95478),i=n(36274),l=n(96836),s=n(41682),d=n(7031),u=a.forwardRef(function(e,t){var n=e.children,d=e.classes,u=e.className,c=e.component,p=void 0===c?"p":c,m=(e.disabled,e.error,e.filled,e.focused,e.margin,e.required,e.variant,(0,r.A)(e,["children","classes","className","component","disabled","error","filled","focused","margin","required","variant"])),f=(0,s.A)(),v=(0,l.A)({props:e,muiFormControl:f,states:["variant","margin","disabled","error","filled","focused","required"]});return a.createElement(p,(0,o.A)({className:(0,i.A)(d.root,("filled"===v.variant||"outlined"===v.variant)&&d.contained,u,v.disabled&&d.disabled,v.error&&d.error,v.filled&&d.filled,v.focused&&d.focused,v.required&&d.required,"dense"===v.margin&&d.marginDense),ref:t},m)," "===n?a.createElement("span",{dangerouslySetInnerHTML:{__html:"​"}}):n)});const c=(0,d.A)(function(e){return{root:(0,o.A)({color:e.palette.text.secondary},e.typography.caption,{textAlign:"left",marginTop:3,margin:0,"&$disabled":{color:e.palette.text.disabled},"&$error":{color:e.palette.error.main}}),error:{},disabled:{},marginDense:{marginTop:4},contained:{marginLeft:14,marginRight:14},focused:{},filled:{},required:{}}},{name:"MuiFormHelperText"})(u)},51479:(e,t,n)=>{n.d(t,{A:()=>c});var r=n(89575),o=n(39850),a=n(95478),i=n(2589),l=n(19878);function s(e,t){return parseInt(e[t],10)||0}var d="undefined"!=typeof window?a.useLayoutEffect:a.useEffect,u={visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"};const c=a.forwardRef(function(e,t){var n=e.onChange,c=e.rows,p=e.rowsMax,m=e.rowsMin,f=e.maxRows,v=e.minRows,h=void 0===v?1:v,b=e.style,g=e.value,A=(0,o.A)(e,["onChange","rows","rowsMax","rowsMin","maxRows","minRows","style","value"]),y=f||p,x=c||m||h,w=a.useRef(null!=g).current,C=a.useRef(null),E=(0,l.A)(t,C),k=a.useRef(null),S=a.useRef(0),R=a.useState({}),M=R[0],D=R[1],N=a.useCallback(function(){var t=C.current,n=window.getComputedStyle(t),r=k.current;r.style.width=n.width,r.value=t.value||e.placeholder||"x","\n"===r.value.slice(-1)&&(r.value+=" ");var o=n["box-sizing"],a=s(n,"padding-bottom")+s(n,"padding-top"),i=s(n,"border-bottom-width")+s(n,"border-top-width"),l=r.scrollHeight-a;r.value="x";var d=r.scrollHeight-a,u=l;x&&(u=Math.max(Number(x)*d,u)),y&&(u=Math.min(Number(y)*d,u));var c=(u=Math.max(u,d))+("border-box"===o?a+i:0),p=Math.abs(u-l)<=1;D(function(e){return S.current<20&&(c>0&&Math.abs((e.outerHeightStyle||0)-c)>1||e.overflow!==p)?(S.current+=1,{overflow:p,outerHeightStyle:c}):e})},[y,x,e.placeholder]);return a.useEffect(function(){var e=(0,i.A)(function(){S.current=0,N()});return window.addEventListener("resize",e),function(){e.clear(),window.removeEventListener("resize",e)}},[N]),d(function(){N()}),a.useEffect(function(){S.current=0},[g]),a.createElement(a.Fragment,null,a.createElement("textarea",(0,r.A)({value:g,onChange:function(e){S.current=0,w||N(),n&&n(e)},ref:E,rows:x,style:(0,r.A)({height:M.outerHeightStyle,overflow:M.overflow?"hidden":null},b)},A)),a.createElement("textarea",{"aria-hidden":!0,className:e.className,readOnly:!0,ref:k,tabIndex:-1,style:(0,r.A)({},u,b)}))})},63301:(e,t,n)=>{n.d(t,{A:()=>u});var r=n(89575),o=n(39850),a=n(95478),i=n(36274),l=n(41857),s=n(7031),d=a.forwardRef(function(e,t){var n=e.disableUnderline,s=e.classes,d=e.fullWidth,u=void 0!==d&&d,c=e.inputComponent,p=void 0===c?"input":c,m=e.multiline,f=void 0!==m&&m,v=e.type,h=void 0===v?"text":v,b=(0,o.A)(e,["disableUnderline","classes","fullWidth","inputComponent","multiline","type"]);return a.createElement(l.A,(0,r.A)({classes:(0,r.A)({},s,{root:(0,i.A)(s.root,!n&&s.underline),underline:null}),fullWidth:u,inputComponent:p,multiline:f,ref:t,type:h},b))});d.muiName="Input";const u=(0,s.A)(function(e){var t="light"===e.palette.type?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return{root:{position:"relative"},formControl:{"label + &":{marginTop:16}},focused:{},disabled:{},colorSecondary:{"&$underline:after":{borderBottomColor:e.palette.secondary.main}},underline:{"&:after":{borderBottom:"2px solid ".concat(e.palette.primary.main),left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},"&$focused:after":{transform:"scaleX(1)"},"&$error:after":{borderBottomColor:e.palette.error.main,transform:"scaleX(1)"},"&:before":{borderBottom:"1px solid ".concat(t),left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},"&:hover:not($disabled):before":{borderBottom:"2px solid ".concat(e.palette.text.primary),"@media (hover: none)":{borderBottom:"1px solid ".concat(t)}},"&$disabled:before":{borderBottomStyle:"dotted"}},error:{},marginDense:{},multiline:{},fullWidth:{},input:{},inputMarginDense:{},inputMultiline:{},inputTypeSearch:{}}},{name:"MuiInput"})(d)},73481:(e,t,n)=>{n.d(t,{A:()=>u});var r=n(89575),o=n(39850),a=n(95478),i=n(36274),l=n(41857),s=n(7031),d=a.forwardRef(function(e,t){var n=e.disableUnderline,s=e.classes,d=e.fullWidth,u=void 0!==d&&d,c=e.inputComponent,p=void 0===c?"input":c,m=e.multiline,f=void 0!==m&&m,v=e.type,h=void 0===v?"text":v,b=(0,o.A)(e,["disableUnderline","classes","fullWidth","inputComponent","multiline","type"]);return a.createElement(l.A,(0,r.A)({classes:(0,r.A)({},s,{root:(0,i.A)(s.root,!n&&s.underline),underline:null}),fullWidth:u,inputComponent:p,multiline:f,ref:t,type:h},b))});d.muiName="Input";const u=(0,s.A)(function(e){var t="light"===e.palette.type,n=t?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",r=t?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.09)";return{root:{position:"relative",backgroundColor:r,borderTopLeftRadius:e.shape.borderRadius,borderTopRightRadius:e.shape.borderRadius,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),"&:hover":{backgroundColor:t?"rgba(0, 0, 0, 0.13)":"rgba(255, 255, 255, 0.13)","@media (hover: none)":{backgroundColor:r}},"&$focused":{backgroundColor:t?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.09)"},"&$disabled":{backgroundColor:t?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)"}},colorSecondary:{"&$underline:after":{borderBottomColor:e.palette.secondary.main}},underline:{"&:after":{borderBottom:"2px solid ".concat(e.palette.primary.main),left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},"&$focused:after":{transform:"scaleX(1)"},"&$error:after":{borderBottomColor:e.palette.error.main,transform:"scaleX(1)"},"&:before":{borderBottom:"1px solid ".concat(n),left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},"&:hover:before":{borderBottom:"1px solid ".concat(e.palette.text.primary)},"&$disabled:before":{borderBottomStyle:"dotted"}},focused:{},disabled:{},adornedStart:{paddingLeft:12},adornedEnd:{paddingRight:12},error:{},marginDense:{},multiline:{padding:"27px 12px 10px","&$marginDense":{paddingTop:23,paddingBottom:6}},input:{padding:"27px 12px 10px","&:-webkit-autofill":{WebkitBoxShadow:"light"===e.palette.type?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===e.palette.type?null:"#fff",caretColor:"light"===e.palette.type?null:"#fff",borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"}},inputMarginDense:{paddingTop:23,paddingBottom:6},inputHiddenLabel:{paddingTop:18,paddingBottom:19,"&$inputMarginDense":{paddingTop:10,paddingBottom:11}},inputMultiline:{padding:0},inputAdornedStart:{paddingLeft:0},inputAdornedEnd:{paddingRight:0}}},{name:"MuiFilledInput"})(d)},73745:(e,t,n)=>{n.d(t,{A:()=>v,R:()=>p});var r=n(89575),o=n(39850),a=n(95478),i=n(42141),l=n(7031),s=n(96836),d=n(41682),u=n(31468),c=n(63301),p=function(e){return{root:{},select:{"-moz-appearance":"none","-webkit-appearance":"none",userSelect:"none",borderRadius:0,minWidth:16,cursor:"pointer","&:focus":{backgroundColor:"light"===e.palette.type?"rgba(0, 0, 0, 0.05)":"rgba(255, 255, 255, 0.05)",borderRadius:0},"&::-ms-expand":{display:"none"},"&$disabled":{cursor:"default"},"&[multiple]":{height:"auto"},"&:not([multiple]) option, &:not([multiple]) optgroup":{backgroundColor:e.palette.background.paper},"&&":{paddingRight:24}},filled:{"&&":{paddingRight:32}},outlined:{borderRadius:e.shape.borderRadius,"&&":{paddingRight:32}},selectMenu:{height:"auto",minHeight:"1.1876em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"},disabled:{},icon:{position:"absolute",right:0,top:"calc(50% - 12px)",pointerEvents:"none",color:e.palette.action.active,"&$disabled":{color:e.palette.action.disabled}},iconOpen:{transform:"rotate(180deg)"},iconFilled:{right:7},iconOutlined:{right:7},nativeInput:{bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%"}}},m=a.createElement(c.A,null),f=a.forwardRef(function(e,t){var n=e.children,l=e.classes,c=e.IconComponent,p=void 0===c?u.A:c,f=e.input,v=void 0===f?m:f,h=e.inputProps,b=(e.variant,(0,o.A)(e,["children","classes","IconComponent","input","inputProps","variant"])),g=(0,d.A)(),A=(0,s.A)({props:e,muiFormControl:g,states:["variant"]});return a.cloneElement(v,(0,r.A)({inputComponent:i.A,inputProps:(0,r.A)({children:n,classes:l,IconComponent:p,variant:A.variant,type:void 0},h,v?v.props.inputProps:{}),ref:t},b))});f.muiName="Select";const v=(0,l.A)(p,{name:"MuiNativeSelect"})(f)},78467:(e,t,n)=>{n.d(t,{A:()=>c});var r=n(89575),o=n(39850),a=n(95478),i=n(36274),l=n(7031),s=n(11192),d=44,u=a.forwardRef(function(e,t){var n=e.classes,l=e.className,u=e.color,c=void 0===u?"primary":u,p=e.disableShrink,m=void 0!==p&&p,f=e.size,v=void 0===f?40:f,h=e.style,b=e.thickness,g=void 0===b?3.6:b,A=e.value,y=void 0===A?0:A,x=e.variant,w=void 0===x?"indeterminate":x,C=(0,o.A)(e,["classes","className","color","disableShrink","size","style","thickness","value","variant"]),E={},k={},S={};if("determinate"===w||"static"===w){var R=2*Math.PI*((d-g)/2);E.strokeDasharray=R.toFixed(3),S["aria-valuenow"]=Math.round(y),E.strokeDashoffset="".concat(((100-y)/100*R).toFixed(3),"px"),k.transform="rotate(-90deg)"}return a.createElement("div",(0,r.A)({className:(0,i.A)(n.root,l,"inherit"!==c&&n["color".concat((0,s.A)(c))],{determinate:n.determinate,indeterminate:n.indeterminate,static:n.static}[w]),style:(0,r.A)({width:v,height:v},k,h),ref:t,role:"progressbar"},S,C),a.createElement("svg",{className:n.svg,viewBox:"".concat(22," ").concat(22," ").concat(d," ").concat(d)},a.createElement("circle",{className:(0,i.A)(n.circle,m&&n.circleDisableShrink,{determinate:n.circleDeterminate,indeterminate:n.circleIndeterminate,static:n.circleStatic}[w]),style:E,cx:d,cy:d,r:(d-g)/2,fill:"none",strokeWidth:g})))});const c=(0,l.A)(function(e){return{root:{display:"inline-block"},static:{transition:e.transitions.create("transform")},indeterminate:{animation:"$circular-rotate 1.4s linear infinite"},determinate:{transition:e.transitions.create("transform")},colorPrimary:{color:e.palette.primary.main},colorSecondary:{color:e.palette.secondary.main},svg:{display:"block"},circle:{stroke:"currentColor"},circleStatic:{transition:e.transitions.create("stroke-dashoffset")},circleIndeterminate:{animation:"$circular-dash 1.4s ease-in-out infinite",strokeDasharray:"80px, 200px",strokeDashoffset:"0px"},circleDeterminate:{transition:e.transitions.create("stroke-dashoffset")},"@keyframes circular-rotate":{"0%":{transformOrigin:"50% 50%"},"100%":{transform:"rotate(360deg)"}},"@keyframes circular-dash":{"0%":{strokeDasharray:"1px, 200px",strokeDashoffset:"0px"},"50%":{strokeDasharray:"100px, 200px",strokeDashoffset:"-15px"},"100%":{strokeDasharray:"100px, 200px",strokeDashoffset:"-125px"}},circleDisableShrink:{animation:"none"}}},{name:"MuiCircularProgress",flip:!1})(u)},81215:(e,t,n)=>{n.d(t,{A:()=>F});var r=n(89575),o=n(39850),a=n(95478),i=n(11942),l=n(90689),s=n(17545),d=n(87447),u=(n(26948),n(36274)),c=n(76446),p=n(11192),m=n(37757),f=n(8017),v=n(19878),h=n(45065);function b(e,t){return"object"===(0,s.A)(t)&&null!==t?e===t:String(e)===String(t)}const g=a.forwardRef(function(e,t){var n=e["aria-label"],i=e.autoFocus,s=e.autoWidth,g=e.children,A=e.classes,y=e.className,x=e.defaultValue,w=e.disabled,C=e.displayEmpty,E=e.IconComponent,k=e.inputRef,S=e.labelId,R=e.MenuProps,M=void 0===R?{}:R,D=e.multiple,N=e.name,I=e.onBlur,F=e.onChange,P=e.onClose,W=e.onFocus,L=e.onOpen,O=e.open,B=e.readOnly,$=e.renderValue,T=e.SelectDisplayProps,q=void 0===T?{}:T,H=e.tabIndex,z=(e.type,e.value),K=e.variant,V=void 0===K?"standard":K,U=(0,o.A)(e,["aria-label","autoFocus","autoWidth","children","classes","className","defaultValue","disabled","displayEmpty","IconComponent","inputRef","labelId","MenuProps","multiple","name","onBlur","onChange","onClose","onFocus","onOpen","open","readOnly","renderValue","SelectDisplayProps","tabIndex","type","value","variant"]),_=(0,h.A)({controlled:z,default:x,name:"Select"}),j=(0,l.A)(_,2),X=j[0],G=j[1],Z=a.useRef(null),J=a.useState(null),Q=J[0],Y=J[1],ee=a.useRef(null!=O).current,te=a.useState(),ne=te[0],re=te[1],oe=a.useState(!1),ae=oe[0],ie=oe[1],le=(0,v.A)(t,k);a.useImperativeHandle(le,function(){return{focus:function(){Q.focus()},node:Z.current,value:X}},[Q,X]),a.useEffect(function(){i&&Q&&Q.focus()},[i,Q]),a.useEffect(function(){if(Q){var e=(0,c.A)(Q).getElementById(S);if(e){var t=function(){getSelection().isCollapsed&&Q.focus()};return e.addEventListener("click",t),function(){e.removeEventListener("click",t)}}}},[S,Q]);var se,de,ue=function(e,t){e?L&&L(t):P&&P(t),ee||(re(s?null:Q.clientWidth),ie(e))},ce=a.Children.toArray(g),pe=function(e){return function(t){var n;if(D||ue(!1,t),D){n=Array.isArray(X)?X.slice():[];var r=X.indexOf(e.props.value);-1===r?n.push(e.props.value):n.splice(r,1)}else n=e.props.value;e.props.onClick&&e.props.onClick(t),X!==n&&(G(n),F&&(t.persist(),Object.defineProperty(t,"target",{writable:!0,value:{value:n,name:N}}),F(t,e)))}},me=null!==Q&&(ee?O:ae);delete U["aria-invalid"];var fe=[],ve=!1;((0,f.lq)({value:X})||C)&&($?se=$(X):ve=!0);var he=ce.map(function(e){if(!a.isValidElement(e))return null;var t;if(D){if(!Array.isArray(X))throw new Error((0,d.A)(2));(t=X.some(function(t){return b(t,e.props.value)}))&&ve&&fe.push(e.props.children)}else(t=b(X,e.props.value))&&ve&&(de=e.props.children);return a.cloneElement(e,{"aria-selected":t?"true":void 0,onClick:pe(e),onKeyUp:function(t){" "===t.key&&t.preventDefault(),e.props.onKeyUp&&e.props.onKeyUp(t)},role:"option",selected:t,value:void 0,"data-value":e.props.value})});ve&&(se=D?fe.join(", "):de);var be,ge=ne;!s&&ee&&Q&&(ge=Q.clientWidth),be=void 0!==H?H:w?null:0;var Ae=q.id||(N?"mui-component-select-".concat(N):void 0);return a.createElement(a.Fragment,null,a.createElement("div",(0,r.A)({className:(0,u.A)(A.root,A.select,A.selectMenu,A[V],y,w&&A.disabled),ref:Y,tabIndex:be,role:"button","aria-disabled":w?"true":void 0,"aria-expanded":me?"true":void 0,"aria-haspopup":"listbox","aria-label":n,"aria-labelledby":[S,Ae].filter(Boolean).join(" ")||void 0,onKeyDown:function(e){B||-1!==[" ","ArrowUp","ArrowDown","Enter"].indexOf(e.key)&&(e.preventDefault(),ue(!0,e))},onMouseDown:w||B?null:function(e){0===e.button&&(e.preventDefault(),Q.focus(),ue(!0,e))},onBlur:function(e){!me&&I&&(e.persist(),Object.defineProperty(e,"target",{writable:!0,value:{value:X,name:N}}),I(e))},onFocus:W},q,{id:Ae}),function(e){return null==e||"string"==typeof e&&!e.trim()}(se)?a.createElement("span",{dangerouslySetInnerHTML:{__html:"​"}}):se),a.createElement("input",(0,r.A)({value:Array.isArray(X)?X.join(","):X,name:N,ref:Z,"aria-hidden":!0,onChange:function(e){var t=ce.map(function(e){return e.props.value}).indexOf(e.target.value);if(-1!==t){var n=ce[t];G(n.props.value),F&&F(e,n)}},tabIndex:-1,className:A.nativeInput,autoFocus:i},U)),a.createElement(E,{className:(0,u.A)(A.icon,A["icon".concat((0,p.A)(V))],me&&A.iconOpen,w&&A.disabled)}),a.createElement(m.A,(0,r.A)({id:"menu-".concat(N||""),anchorEl:Q,open:me,onClose:function(e){ue(!1,e)}},M,{MenuListProps:(0,r.A)({"aria-labelledby":S,role:"listbox",disableListWrap:!0},M.MenuListProps),PaperProps:(0,r.A)({},M.PaperProps,{style:(0,r.A)({minWidth:ge},null!=M.PaperProps?M.PaperProps.style:null)})}),he))});var A=n(96836),y=n(41682),x=n(7031),w=n(31468),C=n(63301),E=n(73745),k=n(42141),S=n(73481),R=n(35963),M=E.R,D=a.createElement(C.A,null),N=a.createElement(S.A,null),I=a.forwardRef(function e(t,n){var l=t.autoWidth,s=void 0!==l&&l,d=t.children,u=t.classes,c=t.displayEmpty,p=void 0!==c&&c,m=t.IconComponent,f=void 0===m?w.A:m,v=t.id,h=t.input,b=t.inputProps,x=t.label,C=t.labelId,E=t.labelWidth,S=void 0===E?0:E,M=t.MenuProps,I=t.multiple,F=void 0!==I&&I,P=t.native,W=void 0!==P&&P,L=t.onClose,O=t.onOpen,B=t.open,$=t.renderValue,T=t.SelectDisplayProps,q=t.variant,H=void 0===q?"standard":q,z=(0,o.A)(t,["autoWidth","children","classes","displayEmpty","IconComponent","id","input","inputProps","label","labelId","labelWidth","MenuProps","multiple","native","onClose","onOpen","open","renderValue","SelectDisplayProps","variant"]),K=W?k.A:g,V=(0,y.A)(),U=(0,A.A)({props:t,muiFormControl:V,states:["variant"]}).variant||H,_=h||{standard:D,outlined:a.createElement(R.A,{label:x,labelWidth:S}),filled:N}[U];return a.cloneElement(_,(0,r.A)({inputComponent:K,inputProps:(0,r.A)({children:d,IconComponent:f,variant:U,type:void 0,multiple:F},W?{id:v}:{autoWidth:s,displayEmpty:p,labelId:C,MenuProps:M,onClose:L,onOpen:O,open:B,renderValue:$,SelectDisplayProps:(0,r.A)({id:v},T)},b,{classes:b?(0,i.mergeClasses)({baseClasses:u,newClasses:b.classes,Component:e}):u},h?h.props.inputProps:{}),ref:n},z))});I.muiName="Select";const F=(0,x.A)(M,{name:"MuiSelect"})(I)},91761:(e,t,n)=>{n.d(t,{A:()=>p});var r=n(39850),o=n(89575),a=n(95478),i=n(36274),l=n(96836),s=n(41682),d=n(11192),u=n(7031),c=a.forwardRef(function(e,t){var n=e.children,u=e.classes,c=e.className,p=(e.color,e.component),m=void 0===p?"label":p,f=(e.disabled,e.error,e.filled,e.focused,e.required,(0,r.A)(e,["children","classes","className","color","component","disabled","error","filled","focused","required"])),v=(0,s.A)(),h=(0,l.A)({props:e,muiFormControl:v,states:["color","required","focused","disabled","error","filled"]});return a.createElement(m,(0,o.A)({className:(0,i.A)(u.root,u["color".concat((0,d.A)(h.color||"primary"))],c,h.disabled&&u.disabled,h.error&&u.error,h.filled&&u.filled,h.focused&&u.focused,h.required&&u.required),ref:t},f),n,h.required&&a.createElement("span",{"aria-hidden":!0,className:(0,i.A)(u.asterisk,h.error&&u.error)}," ","*"))});const p=(0,u.A)(function(e){return{root:(0,o.A)({color:e.palette.text.secondary},e.typography.body1,{lineHeight:1,padding:0,"&$focused":{color:e.palette.primary.main},"&$disabled":{color:e.palette.text.disabled},"&$error":{color:e.palette.error.main}}),colorSecondary:{"&$focused":{color:e.palette.secondary.main}},focused:{},disabled:{},error:{},filled:{},required:{},asterisk:{"&$error":{color:e.palette.error.main}}}},{name:"MuiFormLabel"})(c)},95061:(e,t,n)=>{n.d(t,{A:()=>m});var r=n(89575),o=n(39850),a=n(95478),i=n(36274),l=n(8017),s=n(7031),d=n(11192),u=n(73525),c=n(42062),p=a.forwardRef(function(e,t){var n=e.children,s=e.classes,p=e.className,m=e.color,f=void 0===m?"primary":m,v=e.component,h=void 0===v?"div":v,b=e.disabled,g=void 0!==b&&b,A=e.error,y=void 0!==A&&A,x=e.fullWidth,w=void 0!==x&&x,C=e.focused,E=e.hiddenLabel,k=void 0!==E&&E,S=e.margin,R=void 0===S?"none":S,M=e.required,D=void 0!==M&&M,N=e.size,I=e.variant,F=void 0===I?"standard":I,P=(0,o.A)(e,["children","classes","className","color","component","disabled","error","fullWidth","focused","hiddenLabel","margin","required","size","variant"]),W=a.useState(function(){var e=!1;return n&&a.Children.forEach(n,function(t){if((0,u.A)(t,["Input","Select"])){var n=(0,u.A)(t,["Select"])?t.props.input:t;n&&(0,l.gr)(n.props)&&(e=!0)}}),e}),L=W[0],O=W[1],B=a.useState(function(){var e=!1;return n&&a.Children.forEach(n,function(t){(0,u.A)(t,["Input","Select"])&&(0,l.lq)(t.props,!0)&&(e=!0)}),e}),$=B[0],T=B[1],q=a.useState(!1),H=q[0],z=q[1],K=void 0!==C?C:H;g&&K&&z(!1);var V=a.useCallback(function(){T(!0)},[]),U={adornedStart:L,setAdornedStart:O,color:f,disabled:g,error:y,filled:$,focused:K,fullWidth:w,hiddenLabel:k,margin:("small"===N?"dense":void 0)||R,onBlur:function(){z(!1)},onEmpty:a.useCallback(function(){T(!1)},[]),onFilled:V,onFocus:function(){z(!0)},registerEffect:void 0,required:D,variant:F};return a.createElement(c.A.Provider,{value:U},a.createElement(h,(0,r.A)({className:(0,i.A)(s.root,p,"none"!==R&&s["margin".concat((0,d.A)(R))],w&&s.fullWidth),ref:t},P),n))});const m=(0,s.A)({root:{display:"inline-flex",flexDirection:"column",position:"relative",minWidth:0,padding:0,margin:0,border:0,verticalAlign:"top"},marginNormal:{marginTop:16,marginBottom:8},marginDense:{marginTop:8,marginBottom:4},fullWidth:{width:"100%"}},{name:"MuiFormControl"})(p)},96836:(e,t,n)=>{function r(e){var t=e.props,n=e.states,r=e.muiFormControl;return n.reduce(function(e,n){return e[n]=t[n],r&&void 0===t[n]&&(e[n]=r[n]),e},{})}n.d(t,{A:()=>r})}}]);
|
|
2
|
-
//# sourceMappingURL=369.2374941c.chunk.js.map
|