@abtnode/webapp 1.16.26-beta-cca12425 → 1.16.26-beta-63f52a83

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 (84) hide show
  1. package/blocklet.js +1 -1
  2. package/blocklet.yml +1 -1
  3. package/build/asset-manifest.json +40 -38
  4. package/build/index.html +1 -1
  5. package/build/service-worker.js +1 -1
  6. package/build/static/js/1059.40eaf71e.chunk.js +1 -0
  7. package/build/static/js/1575.1224630c.chunk.js +1 -0
  8. package/build/static/js/1641.529fa061.chunk.js +1 -0
  9. package/build/static/js/175.b8f52054.chunk.js +1 -0
  10. package/build/static/js/{1846.7c384de2.chunk.js → 1846.6e3f3612.chunk.js} +1 -1
  11. package/build/static/js/2019.2c30b069.chunk.js +1 -0
  12. package/build/static/js/233.610f0c5d.chunk.js +1 -0
  13. package/build/static/js/243.7a6f7438.chunk.js +1 -0
  14. package/build/static/js/2537.10cf10fb.chunk.js +1 -0
  15. package/build/static/js/3803.28541be2.chunk.js +1 -0
  16. package/build/static/js/3930.bc6e9b32.chunk.js +1 -0
  17. package/build/static/js/{4296.8887004f.chunk.js → 4296.62f838a8.chunk.js} +1 -1
  18. package/build/static/js/4423.bb44f34f.chunk.js +1 -0
  19. package/build/static/js/4465.4f7d20c2.chunk.js +1 -0
  20. package/build/static/js/4527.6d3ce631.chunk.js +2 -0
  21. package/build/static/js/4545.4f5c0bd5.chunk.js +1 -0
  22. package/build/static/js/4549.3a768671.chunk.js +1 -0
  23. package/build/static/js/4906.7f0752d1.chunk.js +1 -0
  24. package/build/static/js/{5059.b4303ef8.chunk.js → 5059.92ba11ba.chunk.js} +1 -1
  25. package/build/static/js/5312.fa7da622.chunk.js +1 -0
  26. package/build/static/js/5570.744c0299.chunk.js +2 -0
  27. package/build/static/js/5748.b434b126.chunk.js +1 -0
  28. package/build/static/js/6179.fbea7365.chunk.js +1 -0
  29. package/build/static/js/6511.7e5a293c.chunk.js +1 -0
  30. package/build/static/js/6629.5fc65d11.chunk.js +2 -0
  31. package/build/static/js/6703.7c9ac00a.chunk.js +1 -0
  32. package/build/static/js/6906.9e06617c.chunk.js +1 -0
  33. package/build/static/js/6944.04eb32cb.chunk.js +1 -0
  34. package/build/static/js/7865.9cfee717.chunk.js +1 -0
  35. package/build/static/js/8170.358324c6.chunk.js +1 -0
  36. package/build/static/js/8590.6308ba32.chunk.js +1 -0
  37. package/build/static/js/9132.4a1a304f.chunk.js +1 -0
  38. package/build/static/js/9282.9940b6e0.chunk.js +2 -0
  39. package/build/static/js/9371.a03ab63e.chunk.js +1 -0
  40. package/build/static/js/9450.5a43999b.chunk.js +1 -0
  41. package/build/static/js/{9552.024c3ae2.chunk.js → 9552.becd4013.chunk.js} +1 -1
  42. package/build/static/js/9586.b0bc364f.chunk.js +1 -0
  43. package/build/static/js/9590.694b5369.chunk.js +2 -0
  44. package/build/static/js/main.bfd9a5e2.js +2 -0
  45. package/package.json +1 -1
  46. package/build/static/js/1059.577f662e.chunk.js +0 -1
  47. package/build/static/js/1575.aac11098.chunk.js +0 -1
  48. package/build/static/js/1641.28b81b2a.chunk.js +0 -1
  49. package/build/static/js/2019.a2d8670f.chunk.js +0 -1
  50. package/build/static/js/2080.1b558a42.chunk.js +0 -1
  51. package/build/static/js/233.b8ef7cd9.chunk.js +0 -1
  52. package/build/static/js/3216.04d7e546.chunk.js +0 -1
  53. package/build/static/js/3803.54aaf418.chunk.js +0 -1
  54. package/build/static/js/3930.8a91ec91.chunk.js +0 -1
  55. package/build/static/js/4235.82e1ffd8.chunk.js +0 -1
  56. package/build/static/js/4423.f9aa4282.chunk.js +0 -1
  57. package/build/static/js/4465.e11fb354.chunk.js +0 -1
  58. package/build/static/js/4549.c4d87199.chunk.js +0 -1
  59. package/build/static/js/475.f8cdcb9d.chunk.js +0 -1
  60. package/build/static/js/4906.f8af0bfa.chunk.js +0 -1
  61. package/build/static/js/5296.5812dffa.chunk.js +0 -2
  62. package/build/static/js/5312.bb165dac.chunk.js +0 -1
  63. package/build/static/js/5570.eca72753.chunk.js +0 -2
  64. package/build/static/js/5745.e717f338.chunk.js +0 -1
  65. package/build/static/js/5748.a2be56d1.chunk.js +0 -1
  66. package/build/static/js/6179.4333ab0e.chunk.js +0 -1
  67. package/build/static/js/6511.072d29a7.chunk.js +0 -1
  68. package/build/static/js/6906.22761c9e.chunk.js +0 -1
  69. package/build/static/js/6944.80d9f271.chunk.js +0 -1
  70. package/build/static/js/8170.fcb2e3fb.chunk.js +0 -1
  71. package/build/static/js/8427.591d6dee.chunk.js +0 -2
  72. package/build/static/js/8590.71bbe56c.chunk.js +0 -1
  73. package/build/static/js/8721.4095221a.chunk.js +0 -2
  74. package/build/static/js/9132.50e5bf38.chunk.js +0 -1
  75. package/build/static/js/9282.21bb92f3.chunk.js +0 -2
  76. package/build/static/js/9476.883b7a77.chunk.js +0 -1
  77. package/build/static/js/9586.19d0a41d.chunk.js +0 -1
  78. package/build/static/js/main.38a3525f.js +0 -2
  79. /package/build/static/js/{5296.5812dffa.chunk.js.LICENSE.txt → 4527.6d3ce631.chunk.js.LICENSE.txt} +0 -0
  80. /package/build/static/js/{5570.eca72753.chunk.js.LICENSE.txt → 5570.744c0299.chunk.js.LICENSE.txt} +0 -0
  81. /package/build/static/js/{8427.591d6dee.chunk.js.LICENSE.txt → 6629.5fc65d11.chunk.js.LICENSE.txt} +0 -0
  82. /package/build/static/js/{9282.21bb92f3.chunk.js.LICENSE.txt → 9282.9940b6e0.chunk.js.LICENSE.txt} +0 -0
  83. /package/build/static/js/{8721.4095221a.chunk.js.LICENSE.txt → 9590.694b5369.chunk.js.LICENSE.txt} +0 -0
  84. /package/build/static/js/{main.38a3525f.js.LICENSE.txt → main.bfd9a5e2.js.LICENSE.txt} +0 -0
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunk_abtnode_webapp=self.webpackChunk_abtnode_webapp||[]).push([[9132],{99132:(e,t,s)=>{s.d(t,{xb:()=>_});var o=s(35432),n=s(2842),i=s(81534),r=s(10458),a=Object.defineProperty,c=(e,t,s)=>(((e,t,s)=>{t in e?a(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s})(e,"symbol"!==typeof t?t+"":t,s),s);class u{constructor(e){let{api:t}=e;c(this,"api"),this.api=t}async getUserPublicInfo(e){let{did:t}=e;const{data:s}=await this.api.get("/api/user",{params:{did:t}});return s}async getUserPrivacyConfig(e){let{did:t}=e;const{data:s}=await this.api.get("/api/user/privacy/config",{params:{did:t}});return s}async saveUserPrivacyConfig(e){const{data:t}=await this.api.post("/api/user/privacy/config",e);return t}async getUserNotificationConfig(){const{data:e}=await this.api.get("/api/user/notification/config");return e}async saveUserNotificationConfig(e){const{data:t}=await this.api.post("/api/user/notification/config",e);return t}async testNotificationWebhook(e){const{data:t}=await this.api.put("/api/user/notification/webhook",e);return t}async getProfileUrl(e){let{did:t,locale:s}=e;const i="".concat(o.WELLKNOWN_SERVICE_PATH_PREFIX,"/user");return(0,n.jb)(i,{did:t,locale:s})}async logout(e){let{visitorId:t}=e;const{data:s}=await this.api.post("/api/user/logout",{visitorId:t});return s}}class l{getSessionToken(){return i.Z.get(o.SESSION_TOKEN_STORAGE_KEY)}setSessionToken(e){i.Z.set(o.SESSION_TOKEN_STORAGE_KEY,e)}removeSessionToken(){i.Z.remove(o.SESSION_TOKEN_STORAGE_KEY)}getRefreshToken(){return localStorage.getItem(o.REFRESH_TOKEN_STORAGE_KEY)}setRefreshToken(e){localStorage.setItem(o.REFRESH_TOKEN_STORAGE_KEY,e)}removeRefreshToken(){localStorage.removeItem(o.REFRESH_TOKEN_STORAGE_KEY)}}var d=Object.defineProperty,f=(e,t,s)=>(((e,t,s)=>{t in e?d(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s})(e,"symbol"!==typeof t?t+"":t,s),s);class p{constructor(e){let{api:t}=e;f(this,"api"),this.api=t}async getUserSessions(e){let{did:t}=e;const{data:s}=await this.api.get("/api/user-session",{params:{userDid:t}});return s}}const h="1.16.25",T=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return new Promise((t=>{setTimeout((()=>{t()}),e)}))},S=e=>"Bearer ".concat(encodeURIComponent(e)),E=()=>localStorage.getItem("__visitor_id");async function g(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:300;e.metaData.endTime=+new Date;const{startTime:s,endTime:o}=e.metaData,n=o-s;n<t&&await T(t-n),delete e.metaData}const k=(e,t)=>{const s=r.create({...e,headers:{...null===e||void 0===e?void 0:e.headers,"x-blocklet-js-sdk-version":h,"x-blocklet-visitor-id":E()}});return null!==t&&void 0!==t&&t.lazy&&(s.interceptors.request.use((e=>(e.metaData={startTime:+new Date},e)),(e=>Promise.reject(e))),s.interceptors.response.use((async e=>(await g(e.config,null===t||void 0===t?void 0:t.lazyTime),e)),(async e=>(await g(e.response.config,null===t||void 0===t?void 0:t.lazyTime),Promise.reject(e))))),s};function m(e,t,s){let{getSessionToken:n,setSessionToken:r,removeSessionToken:a,getRefreshToken:c,setRefreshToken:u,removeRefreshToken:l,onRefreshTokenError:d,onRefreshTokenSuccess:f}=e,p=null;const h=k({timeout:3e4,...t},s);return h.interceptors.request.use((async e=>{if(!i.Z.get(o.SESSION_TOKEN_STORAGE_KEY)){const t=n();t&&(e.headers.authorization=S(t))}return p&&await p,e}),(e=>Promise.reject(e))),h.interceptors.response.use((e=>e),(async e=>{var t;const s=e.config;if(s.headers={...null===s||void 0===s?void 0:s.headers},401===(null===e||void 0===e||null===(t=e.response)||void 0===t?void 0:t.status)&&!s._retry){s._retry=!0;try{p||(p=async function(e){if(!e)throw new Error("Refresh token not found");const t=k({baseURL:o.WELLKNOWN_SERVICE_PATH_PREFIX,timeout:1e4,headers:{authorization:S(e)}}),{data:s}=await t.post("/api/did/refreshSession");return s}(c()));const e=await p;return r(e.nextToken),u(e.nextRefreshToken),"function"===typeof f&&f(e),h(s)}catch(n){return a(),l(),"function"===typeof d&&d(n),Promise.reject(e)}finally{p=null}}return Promise.reject(e)})),h}var v=Object.defineProperty,R=(e,t,s)=>(((e,t,s)=>{t in e?v(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s})(e,"symbol"!==typeof t?t+"":t,s),s);class _{constructor(){R(this,"api"),R(this,"user"),R(this,"userSession"),R(this,"token");const e=new l,t=m({getSessionToken:e.getSessionToken,setSessionToken:e.setSessionToken,removeSessionToken:e.removeSessionToken,getRefreshToken:e.getRefreshToken,setRefreshToken:e.setRefreshToken,removeRefreshToken:e.removeRefreshToken,onRefreshTokenError:()=>{console.error("Failed to refresh token")},onRefreshTokenSuccess:()=>{}},{baseURL:o.WELLKNOWN_SERVICE_PATH_PREFIX});this.user=new u({api:t}),this.userSession=new p({api:t}),this.token=e,this.api=t}}}}]);
@@ -0,0 +1,2 @@
1
+ /*! For license information please see 9282.9940b6e0.chunk.js.LICENSE.txt */
2
+ (self.webpackChunk_abtnode_webapp=self.webpackChunk_abtnode_webapp||[]).push([[9282],{87806:(e,i,t)=>{"use strict";i.Z=void 0;(n=t(5057))&&n.__esModule;var n,o=t(96266);function r(e,i){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);i&&(n=n.filter((function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable}))),t.push.apply(t,n)}return t}function s(e){for(var i=1;i<arguments.length;i++){var t=null!=arguments[i]?arguments[i]:{};i%2?r(Object(t),!0).forEach((function(i){a(e,i,t[i])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):r(Object(t)).forEach((function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(t,i))}))}return e}function a(e,i,t){return(i=function(e){var i=function(e,i){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,i||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===i?String:Number)(e)}(e,"string");return"symbol"==typeof i?i:String(i)}(i))in e?Object.defineProperty(e,i,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[i]=t,e}var l=function(e){return(0,o.jsx)("svg",s(s({},e),{},{children:(0,o.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.25 10a6.75 6.75 0 1 1 13.5 0 6.75 6.75 0 0 1-13.5 0zM10 1.75a8.25 8.25 0 1 0 0 16.5 8.25 8.25 0 0 0 0-16.5zM8.03 6.97a.75.75 0 0 0-1.06 1.06l5 5a.75.75 0 1 0 1.06-1.06l-5-5z"})}))};l.defaultProps={width:"20",height:"20",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},l.displayName="revoke";i.Z=l},4962:(e,i,t)=>{"use strict";t.d(i,{qY:()=>Z,YZ:()=>be});t(1192),t(2484),t(5873),t(79787);var n=t(96266),o=t(47220),r=t(76223),s=t(68420),a=t(11337),l=t(43907),c=t(55498),d=t(13727),u=t(72113),p=t(7469),m=t(25228),f=t(39948),b=t(67680),w=t(99360),h=t(55898),v=t.n(h),g=t(5057),x=t(56556);function y(e){let{optionalComponent:i,index:t,installStatus:o,hasPermission:s,t:a}=e;const l="stopped"===o||"running"===o;return(0,n.jsxs)(f.Z,{children:[0===t?null:(0,n.jsx)(f.Z,{sx:{width:"100%",height:"1px",backgroundColor:r.E.gray6}}),(0,n.jsxs)(f.Z,{sx:{padding:"20px 24px",paddingTop:.5,marginTop:2,display:"flex",flexDirection:"row",justifyContent:"start",alignItems:"flex-start"},children:[(0,n.jsx)("img",{style:{width:60,height:60,minWidth:60,minHeight:60},src:i.logoUrl,alt:i.meta.title}),(0,n.jsxs)(f.Z,{sx:{display:"flex",flexDirection:"column",justifyContent:"start",alignItems:"start",marginLeft:2},children:[(0,n.jsxs)(f.Z,{sx:{fontSize:"16px",fontWeight:"bold",cursor:"pointer",".link-icon":{opacity:0},":hover .link-icon":{opacity:1}},onClick:()=>{var e;return null===(e=i.meta)||void 0===e||e.did,void window.open(null===i||void 0===i?void 0:i.storeUrl,"_blank")},children:[i.meta.title,(0,n.jsxs)(f.Z,{sx:{paddingLeft:1,fontSize:"13px",fontWeight:"400"},component:"span",children:[i.meta.version,(0,n.jsx)(c.JO,{className:"link-icon",icon:"fluent:open-20-filled",style:{color:r.E.primaryBase,fontSize:16,transform:"translate(6px, 3px)",transition:"all 0.3s"}})]})]}),(0,n.jsx)(f.Z,{sx:{marginTop:0,opacity:.7},children:i.meta.description}),(0,n.jsx)(f.Z,{sx:{display:s?"flex":"none",flexDirection:"row",gap:1},children:o?(0,n.jsx)(f.Z,{sx:{marginTop:2,opacity:.7},children:l?(0,n.jsx)(x.Z,{variant:"contained",onClick:()=>{window.location.reload()},children:a("componentInstallerRefresh")},"refresh"):(0,n.jsx)(x.Z,{disabled:!0,sx:{color:"#333"},startIcon:(0,n.jsx)(c.JO,{icon:"line-md:loading-loop",style:{color:"#333",fontSize:16}}),variant:"contained",children:o},"status")}):(0,n.jsx)(x.Z,{sx:{marginTop:2},variant:"contained",className:"button",onClick:()=>{var e;return null===(e=i.meta)||void 0===e||e.did,void window.open(null===i||void 0===i?void 0:i.installUrl,"_blank")},children:a("componentInstallerInstall")},"install")}),l?(0,n.jsx)(f.Z,{sx:{marginTop:2,opacity:.7},children:a("componentInstallerSuccessInstalled")}):null]})]})]})}y.propTypes={t:v().func.isRequired,optionalComponent:v().object.isRequired,index:v().number.isRequired,installStatus:v().string,hasPermission:v().bool.isRequired},y.defaultProps={installStatus:""};const k={zh:{componentInstallerTitle:"\u7f3a\u5c11\u7ec4\u4ef6",componentInstallerInstall:"\u5b89\u88c5",componentInstallerClose:"\u5173\u95ed",componentInstallerRefresh:"\u91cd\u8f7d\u9875\u9762",componentInstallerSuccessInstalled:"\u5b89\u88c5\u6210\u529f\uff0c\u8bf7\u91cd\u8f7d\u9875\u9762\u67e5\u770b\u53d8\u5316\u3002",componentInstallerSuggestions:"\u8bf7\u8054\u7cfb\u7cfb\u7edf\u7ba1\u7406\u5458\u5b89\u88c5\u8be5\u7ec4\u4ef6\u3002",componentInstallerNoDefinedInBlockletYML:"\u7ec4\u4ef6\u672a\u5728 blocklet.yml \u4e2d\u5b9a\u4e49"},en:{componentInstallerTitle:"Missing component",componentInstallerInstall:"Install",componentInstallerClose:"Close",componentInstallerRefresh:"Refresh",componentInstallerSuccessInstalled:"Successfully installed, please refresh the page to see the changes.",componentInstallerSuggestions:"Please contact the system administrator to install the component.",componentInstallerNoDefinedInBlockletYML:"The component is not defined in blocklet.yml"}};var j=t(74958),S=t(6352),I=t.n(S);const O=e=>"string"===typeof e?new Set(e.split(";;")):new Set(e);const C=function(e){let{did:i,onInstalled:t,onError:n}=e;const o=Array.isArray(i)?i.join(";;"):i,[r,s]=(0,g.useState)({}),a=(0,g.useRef)({onInstalled:t,onError:n});a.current={onInstalled:t,onError:n};const{optionalComponents:l,componentMountPoints:c}=window.blocklet,d=(0,g.useMemo)((()=>{var e;if(!l||!l.length)return[];const i=O(o),t=l.filter((e=>i.has(e.meta.did)));return null===(e=t?a.current.onError:a.current.onInstalled)||void 0===e||e(t),t}),[o,l]),u=(0,g.useMemo)((()=>{if(d.length)return!0;const e=O(o);return(c||[]).find((i=>e.has(i.did)))}),[d,c,o]);return d.forEach((e=>{e.storeUrl=I()(e.meta.homepage,"blocklets",e.meta.did),e.installUrl=I()(window.blocklet.appUrl,j.Bu,"/admin/components?install-component=".concat(e.meta.did))})),(0,g.useEffect)((()=>{const e=e=>{var i,t;if(e.origin===window.blocklet.appUrl&&"component-installer"===(null===(i=e.data)||void 0===i?void 0:i.kind)&&null!==(t=e.data)&&void 0!==t&&null!==(t=t.blocklet)&&void 0!==t&&t.children){var n;let i=!1;const t=O(o);null===(n=e.data)||void 0===n||null===(n=n.blocklet)||void 0===n||n.children.forEach((e=>{var n;t.has(null===(n=e.meta)||void 0===n?void 0:n.did)&&(i=!0,s((i=>{var t;return{...i,[null===(t=e.meta)||void 0===t?void 0:t.did]:e.status||"waiting"}})))})),i||s({})}};return window.addEventListener("message",e),()=>{window.removeEventListener("message",e)}}),[o]),{optComponents:d,installed:!d.length&&u,installStatus:r,setInstallStatus:s,definedInBlockletYML:u}};function T(e){let{warnIcon:i,did:t,noPermissionMute:h,onInstalled:v,onError:x,children:j,closeByOutSize:S,onClose:I,fallback:O,disabled:T,roles:Z=["owner","admin"]}=e;const{locale:_}=(0,s.PE)(),E=(0,w.Z)((function(e){let i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(0,a.I)(k,e,_,"en",i)})),{installed:N,optComponents:A,installStatus:R,definedInBlockletYML:P}=C({did:t,onInstalled:v,onError:x}),z=(0,g.useContext)(o.B3),B=()=>{null===I||void 0===I||I(!1)};return T?j:(0,n.jsx)(l.Z,{session:null===z||void 0===z?void 0:z.session,roles:Z,children:e=>{let{hasPermission:o}=e;return N?j:h&&!o?O||null:"function"===typeof j?(0,n.jsxs)(n.Fragment,{children:[O,j({hasPermission:o,optComponents:A,installStatus:R})]}):(0,n.jsxs)(n.Fragment,{children:[O,(0,n.jsx)(u.d,{onClickAway:e=>{e.preventDefault(),e.stopPropagation(),S&&B()},children:(0,n.jsx)(p.Z,{in:!0,timeout:350,children:(0,n.jsx)(m.Z,{variant:"outlined",sx:{position:"fixed",top:20,right:20,zIndex:3e3,borderRadius:3,width:400,maxWidth:"90vw",borderColor:r.E.lineStep,border:"0 !important",fontSize:"14px",textAlign:"left",boxShadow:"0px 8px 16px 0px ".concat(r.E.gray6,", 0px 0px 0px 1px ").concat(r.E.gray6)},children:P?(0,n.jsxs)(f.Z,{sx:{display:"flex",flexDirection:"column"},children:[(0,n.jsxs)(f.Z,{sx:{padding:"20px 24px",marginLeft:0,display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"flex-start"},children:[i||(0,n.jsx)(c.JO,{icon:"mdi:warning-box",style:{color:"yellowgreen",fontSize:24}}),(0,n.jsx)(f.Z,{sx:{marginLeft:1,fontSize:"16px",fontWeight:"bold"},children:E("componentInstallerTitle")}),(0,n.jsx)(f.Z,{sx:{flex:1}}),I?(0,n.jsx)(b.Z,{variant:"outlined",className:"button",onClick:B,children:(0,n.jsx)(d.default,{})}):null]}),(0,n.jsx)(f.Z,{sx:{width:"100%",height:"1px",backgroundColor:r.E.gray6}}),(0,n.jsx)(f.Z,{sx:{maxHeight:"70vh",overflowY:"auto"},children:A.map(((e,i)=>{var t,r;return(0,n.jsx)(y,{t:E,hasPermission:o,index:i,optionalComponent:e,installStatus:R[null===(t=e.meta)||void 0===t?void 0:t.did]},(null===(r=e.meta)||void 0===r?void 0:r.did)||i)}))}),o?null:(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(f.Z,{sx:{width:"100%",height:"1px",backgroundColor:r.E.gray6}}),(0,n.jsx)(f.Z,{sx:{padding:"20px 24px"},children:(0,n.jsx)(f.Z,{sx:{opacity:1},children:E("componentInstallerSuggestions")})})]})]}):(0,n.jsxs)(f.Z,{sx:{display:"flex",flexDirection:"column"},children:[(0,n.jsxs)(f.Z,{sx:{padding:"20px 24px",marginLeft:0,display:"flex",alignItems:"center",flexDirection:"row",justifyContent:"flex-start"},children:[i||(0,n.jsx)(c.JO,{icon:"mdi:warning-box",style:{color:"yellowgreen",fontSize:24}}),(0,n.jsx)(f.Z,{sx:{marginLeft:1,fontSize:"16px",fontWeight:"bold"},children:E("componentInstallerTitle")}),(0,n.jsx)(f.Z,{sx:{flex:1}}),I?(0,n.jsx)(b.Z,{variant:"outlined",className:"button",onClick:B,children:(0,n.jsx)(d.default,{})}):null]}),(0,n.jsx)(f.Z,{sx:{width:"100%",height:"1px",backgroundColor:r.E.gray6}}),(0,n.jsxs)(f.Z,{sx:{padding:"20px 24px",marginTop:0},children:[E("componentInstallerNoDefinedInBlockletYML"),": ",t]})]})})})})]})}})}function Z(e){return window.blocklet?(0,n.jsx)(T,{...e}):e.children}T.propTypes={disabled:v().bool,warnIcon:v().node,did:v().oneOfType([v().string,v().arrayOf(v().string)]).isRequired,noPermissionMute:v().bool,onInstalled:v().func,onError:v().func,children:v().any.isRequired,closeByOutSize:v().bool,onClose:v().func,fallback:v().node,roles:v().array},T.defaultProps={disabled:!1,warnIcon:null,noPermissionMute:!1,onInstalled:null,onError:null,closeByOutSize:!1,onClose:null,fallback:null,roles:["owner","admin"]},Z.propTypes={...T.propTypes,children:v().any.isRequired},Z.defaultProps={...T.defaultProps};t(28018),t(94464),t(25710),t(28726);var _=t(13128);t(71569),t(25842);t(60251);var E=t(95712);t(47685),t(72966),t(92706);t(23939);var N=t(49384);t(21998);t(94457);var A=t(26538),R=t.n(A),P=t(87806);function z(e){let{passport:i,user:t,color:o,width:r,icon:a,children:l,createPassportSvg:c,...d}=e;const{t:u}=(0,s.PE)();return(0,n.jsxs)(f.Z,{...d,sx:{display:"flex",alignItems:"center",...null===d||void 0===d?void 0:d.sx},children:[(0,n.jsx)(f.Z,{className:"passport-item__display",dangerouslySetInnerHTML:{__html:c({title:i.title||i.name,issuer:i.issuer&&i.issuer.name,issuerDid:i.issuer&&i.issuer.id,ownerName:t.fullName,ownerDid:t.did,ownerAvatarUrl:t.avatar,revoked:i.revoked,preferredColor:o,width:r})}}),(0,n.jsxs)(f.Z,{className:"passport-item__body",sx:{p:0,ml:3,mt:0},children:[(0,n.jsxs)(f.Z,{className:"passport-item__title",sx:{display:"flex",alignItems:"center",fontWeight:400,fontSize:"16px",lineHeight:1.1875,color:"#222222"},children:[R()(i.title),(0,n.jsxs)(f.Z,{className:"passport-item__status-icon",sx:{svg:{fill:"#bfbfbf",height:"1.2em",marginLeft:"0.4em"}},children:[a,i.revoked&&(0,n.jsx)(P.Z,{})]})]}),i.expirationDate&&(0,n.jsx)(f.Z,{className:"passport-item__title",sx:{display:"flex",alignItems:"center",fontWeight:400,fontSize:"16px",lineHeight:1.1875,color:"#222222"},children:u("team.passport.validUntil",{date:i.expirationDate})}),l]})]})}z.propTypes={passport:v().any.isRequired,user:v().any.isRequired,color:v().string.isRequired,createPassportSvg:v().func.isRequired,icon:v().any,children:v().any,width:v().number},z.defaultProps={icon:null,children:null,width:150};t(30278),t(76818);const B=(0,g.createContext)({}),{Provider:L,Consumer:M}=B;t(82790),t(86229),t(82434),t(14506),t(16967);const D=new(t(99132).xb);var U=t(71171),q=(t(35966),t(33518)),W=(t(88577),t(75506),t(10458)),F=t.n(W);F().defaults.timeout=1e4;F().create();t.p;t(22256);t.p;var H;(0,q.Z)(f.Z)(H||(H=(0,U.Z)(["\n .selected-container {\n position: absolute;\n right: 0px;\n bottom: 0px;\n display: flex;\n -webkit-box-pack: end;\n justify-content: flex-end;\n align-items: flex-end;\n width: 32px;\n height: 32px;\n border-radius: 0px 0px 8px;\n color: rgb(255, 255, 255);\n overflow: hidden;\n transition: all 0.4s ease 0s;\n\n &::after {\n position: absolute;\n z-index: 0;\n left: 60px;\n top: 60px;\n display: block;\n width: 0px;\n height: 0px;\n border-width: 16px;\n border-style: solid;\n border-color: transparent #1dc1c7 #1dc1c7 transparent;\n transition: all 0.1s ease 0s;\n content: '';\n }\n\n .selected-icon {\n visibility: hidden;\n width: 60%;\n height: 60%;\n position: relative;\n z-index: 2;\n margin: 0px 1px 1px 0px;\n font-size: 16px;\n transition: all 0.2s ease 0s;\n }\n }\n\n .selected-container.selected {\n &::after {\n left: 0px;\n top: 0px;\n }\n\n .selected-icon {\n visibility: visible;\n }\n }\n"])));var V;(0,q.Z)(f.Z)(V||(V=(0,U.Z)(["\n height: 100%;\n overflow-y: auto;\n"])));var Y=t(75760),G=t(79366),J=t(93066),$=t(62219),X=t.n($),K=t(35833),Q=t.n(K),ee=t(14520);class ie extends Error{constructor(e){super(),this.name="AbortError",this.message=e}}const te=e=>void 0===globalThis.DOMException?new ie(e):new DOMException(e),ne=e=>{const i=void 0===e.reason?te("This operation was aborted."):e.reason;return i instanceof Error?i:te(i)};const oe=Symbol("skip");async function re(e,i){return async function(e,i){let{concurrency:t=Number.POSITIVE_INFINITY,stopOnError:n=!0,signal:o}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return new Promise(((r,s)=>{if(void 0===e[Symbol.iterator]&&void 0===e[Symbol.asyncIterator])throw new TypeError("Expected `input` to be either an `Iterable` or `AsyncIterable`, got (".concat(typeof e,")"));if("function"!==typeof i)throw new TypeError("Mapper function is required");if(!Number.isSafeInteger(t)&&t!==Number.POSITIVE_INFINITY||!(t>=1))throw new TypeError("Expected `concurrency` to be an integer from 1 and up or `Infinity`, got `".concat(t,"` (").concat(typeof t,")"));const a=[],l=[],c=new Map;let d=!1,u=!1,p=!1,m=0,f=0;const b=void 0===e[Symbol.iterator]?e[Symbol.asyncIterator]():e[Symbol.iterator](),w=e=>{d=!0,u=!0,s(e)};o&&(o.aborted&&w(ne(o)),o.addEventListener("abort",(()=>{w(ne(o))})));const h=async()=>{if(u)return;const e=await b.next(),t=f;if(f++,e.done){if(p=!0,0===m&&!u){if(!n&&l.length>0)return void w(new AggregateError(l));if(u=!0,0===c.size)return void r(a);const e=[];for(const[i,t]of a.entries())c.get(i)!==oe&&e.push(t);r(e)}}else m++,(async()=>{try{const n=await e.value;if(u)return;const o=await i(n,t);o===oe&&c.set(t,o),a[t]=o,m--,await h()}catch(o){if(n)w(o);else{l.push(o),m--;try{await h()}catch(o){w(o)}}}})()};(async()=>{for(let i=0;i<t;i++){try{await h()}catch(e){w(e);break}if(p||d)break}})()}))}(e,(e=>e()),i)}var se=t(75239),ae=t(11750),le=t(19654);function ce(e){let{user:i,sessionUser:t}=e;const o=(0,J.Z)((()=>{var e;return null===(e=(null===i||void 0===i?void 0:i.passports)||[])||void 0===e?void 0:e.find((e=>e.name===t.role))}),[null===i||void 0===i?void 0:i.passports,null===t||void 0===t?void 0:t.role]);return(0,n.jsxs)(f.Z,{sx:{display:"flex",alignItems:"center",gap:1},children:[(0,n.jsx)(E.Z,{size:40,variant:"circle",shape:"circle",src:t.avatar,did:t.did,sx:{flexShrink:0}}),(0,n.jsxs)(f.Z,{sx:{flex:1,overflow:"hidden"},children:[(0,n.jsxs)(f.Z,{sx:{display:"flex",alignItems:"center",gap:1},children:[(0,n.jsx)(se.Z,{title:t.fullName,children:(0,n.jsx)(ae.Z,{sx:{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",flex:1},children:t.fullName})}),(0,n.jsx)(le.Z,{label:(null===o||void 0===o?void 0:o.title)||(null===o||void 0===o?void 0:o.name)||"Guest",size:"small",variant:"outlined",sx:{flexShrink:0,fontWeight:"bold",fontSize:"12px",color:r.E.textBase,borderColor:r.E.strokeBorderStrong,backgroundColor:"transparent",textTransform:"capitalize",pr:.5,pl:0,height:"auto"}})]}),(0,n.jsx)(se.Z,{title:t.email,children:(0,n.jsx)(ae.Z,{variant:"body2",color:"grey",sx:{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},children:t.email})})]})]})}const de={zh:{confirm:"\u786e\u8ba4",cancel:"\u53d6\u6d88",visitorId:"\u8bbe\u5907\u6807\u8bc6",deviceType:"\u8bbe\u5907\u7c7b\u578b",platform:"\u64cd\u4f5c\u7cfb\u7edf",walletOS:"\u94b1\u5305\u7c7b\u578b",role:"\u89d2\u8272",fullname:"\u59d3\u540d",email:"\u90ae\u7bb1",avatar:"\u5934\u50cf",user:"\u7528\u6237",createdAt:"\u9996\u6b21\u6d3b\u52a8\u65f6\u95f4",updatedAt:"\u6700\u8fd1\u6d3b\u52a8\u65f6\u95f4",lastLoginIp:"\u6700\u8fd1\u6d3b\u52a8\u5730\u5740",actions:"\u64cd\u4f5c",logoutAll:"\u6ce8\u9500\u6240\u6709\u4f1a\u8bdd",logoutAllTips:"\u4e0d\u4f1a\u6ce8\u9500\u5f53\u524d\u4f1a\u8bdd",logout:"\u6ce8\u9500",currentSession:"\u5f53\u524d\u4f1a\u8bdd",unknown:"\u672a\u77e5",expired:"\u5df2\u8fc7\u671f",remove:"\u5220\u9664",logoutThisSession:"\u6ce8\u9500\u6307\u5b9a\u4f1a\u8bdd",logoutThisSessionConfirm:"\u786e\u5b9a\u8981\u6ce8\u9500\u6b64\u4f1a\u8bdd\u5417?",logoutAllSession:"\u6ce8\u9500\u6240\u6709\u4f1a\u8bdd",logoutAllSessionConfirm:"\u786e\u5b9a\u8981\u6ce8\u9500\u6240\u6709\u4f1a\u8bdd\u5417?"},en:{confirm:"Confirm",cancel:"Cancel",visitorId:"Device ID",deviceType:"Device Type",platform:"Platform",walletOS:"Wallet OS",role:"Role",fullname:"Fullname",email:"Email",avatar:"Avatar",user:"User",createdAt:"First Active Time",updatedAt:"Last Active Time",actions:"Actions",lastLoginIp:"Last Login IP",logoutAll:"Logout all",logoutAllTips:"Will not logout current session",logout:"Logout",currentSession:"Current Session",unknown:"Unknown",expired:"Expired",remove:"Remove",logoutThisSession:"Logout this session",logoutThisSessionConfirm:"Are you sure to logout this session?",logoutAllSession:"Logout all sessions",logoutAllSessionConfirm:"Are you sure to logout all sessions?"}},ue="Reserved IP",pe="ip-region-cache";async function me(e){let i="",t={};try{const e=localStorage.getItem(pe);e&&(t=JSON.parse(e))}catch{t={}}if(t[e])i=t[e];else{try{i=await async function(e){const i="https://api.ip.sb/geoip/".concat(e),t=await fetch(i),n=await t.json();let o="";return n.error?n.reserved&&(o=ue):o=[n.country,n.region,n.city].filter(Boolean).join("/"),o}(e)}catch{console.warn("Fail to get ip region from ip.sb")}if(!i)try{i=await async function(e){const i="https://ipapi.co/".concat(e,"/json/"),t=await fetch(i),n=await t.json();let o="";return n.error?n.reserved&&(o=ue):o=[n.country_name,n.region,n.city].filter(Boolean).join("/"),o}(e)}catch{console.warn("Fail to get ip region from ip-api.co")}}if(i){const n=Object.keys(t);n.length>100&&delete t[n[0]],t[e]&&delete t[e],t[e]=i,localStorage.setItem(pe,JSON.stringify(t))}return i}const fe=e=>new(Q())(e,{browser:[[/(ArcWallet)\/([\w\.]+)/i],[Q().BROWSER.NAME,Q().BROWSER.VERSION]]}).getResult();function be(e){let{user:i,showAction:t=!0,showUser:o=!0}=e;const r=(0,ee.OP)(),{locale:l}=(0,s.PE)(),{confirmApi:c,confirmHolder:d}=(0,_.N4)(),u=(0,w.Z)((function(e){let i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(0,a.I)(de,e,l,"en",i)})),p=(0,w.Z)((async()=>{let e=null===i||void 0===i?void 0:i.userSessions;e||(e=await D.userSession.getUserSessions({did:i.did}));try{var t;const i=null===(t=e)||void 0===t?void 0:t.map(((e,i)=>[i,e.lastLoginIp])).filter((e=>!!e[1])),n=null===i||void 0===i?void 0:i.map((e=>e[1])),o=await async function(e){return Promise.all(e.map((e=>me(e))))}(n);for(let t=0;t<o.length;t++){const n=o[t],r=i[t];e[r[0]].ipRegion=n}}catch(o){console.warn("Failed to convert ip to region"),console.error(o)}const n=(new Date).getTime();return X()(e,(e=>e.visitorId===r?-1:n-new Date(e.updatedAt).getTime()))})),m=(0,G.Z)(p),b=(0,J.Z)((()=>m.data||[]),[m.data]),h=(0,J.Z)((()=>b.reduce(((e,i)=>(e[i.lastLoginIp]=i.ipRegion,e)),{})),[b]),v=(0,w.Z)((e=>{let{visitorId:i}=e;c.open({title:u("logoutThisSession"),content:u("logoutThisSessionConfirm"),confirmButtonText:u("confirm"),cancelButtonText:u("cancel"),onConfirm:async()=>{await D.user.logout({visitorId:i}),m.refresh(),c.close()}})})),g=(0,J.Z)((()=>b.filter((e=>e.visitorId!==r))),[b]),y=(0,w.Z)((()=>{c.open({title:u("logoutAllSession"),content:u("logoutAllSessionConfirm"),confirmButtonText:u("confirm"),cancelButtonText:u("cancel"),onConfirm:async()=>{const e=g.map((e=>()=>D.user.logout({visitorId:e.visitorId})));await re(e,{concurrency:3,stopOnError:!1}),m.refresh(),c.close()}})})),k=[];t&&k.push((0,n.jsx)(se.Z,{title:u("logoutAllTips"),children:(0,n.jsx)(x.Z,{sx:{ml:.5},size:"small",variant:"contained",color:"error",onClick:y,disabled:0===g.length,children:u("logoutAll")})},"logoutAll"));const j=(0,J.Z)((()=>({search:!1,sort:!1,download:!1,filter:!1,print:!1,expandableRowsOnClick:!1,searchDebounceTime:600})),[]),S=[{label:u("platform"),name:"platform",options:{customBodyRenderLite:e=>{var i,t;const o=b[e],r=fe(o.ua);return(0,n.jsx)(f.Z,{children:[null===(i=r.os)||void 0===i?void 0:i.name,null===(t=r.os)||void 0===t?void 0:t.version].filter(Boolean).join("/")||u("unknown")})}}},{label:u("deviceType"),name:"deviceType",options:{customBodyRenderLite:e=>{var i,t;const o=b[e],r=fe(o.ua);return(0,n.jsx)(f.Z,{children:[null===(i=r.browser)||void 0===i?void 0:i.name,null===(t=r.browser)||void 0===t?void 0:t.version].filter(Boolean).join("/")||u("unknown")})}}},{label:u("walletOS"),name:"walletOS",options:{customBodyRenderLite:e=>{var i;const t=b[e];return(0,n.jsx)(f.Z,{children:(null===(i=t.extra)||void 0===i?void 0:i.walletOS)||u("unknown")})}}},o&&{label:u("user"),name:"user",options:{customBodyRenderLite:e=>{const t=b[e];return(0,n.jsx)(f.Z,{sx:{minWidth:150,maxWidth:250},children:(0,n.jsx)(ce,{sessionUser:t.user,user:i})})}}},{label:u("createdAt"),name:"createdAt",options:{customBodyRenderLite:e=>{const i=b[e];return i.createdAt?(0,n.jsx)(N.Z,{value:i.createdAt,relativeRange:2592e5,locale:l}):u("unknown")}}},{label:u("updatedAt"),name:"updatedAt",options:{customBodyRenderLite:e=>{const i=b[e];return"expired"===i.status?u("expired"):(0,n.jsx)(N.Z,{value:i.updatedAt,relativeRange:2592e5,locale:l})}}},{label:u("lastLoginIp"),name:"lastLoginIp",options:{customBodyRenderLite:e=>{const i=b[e];return(0,n.jsx)(f.Z,{children:h[i.lastLoginIp]?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(ae.Z,{variant:"body2",children:h[i.lastLoginIp]}),(0,n.jsx)(ae.Z,{variant:"body2",color:"grey",children:i.lastLoginIp||u("unknown")})]}):(0,n.jsx)(ae.Z,{children:i.lastLoginIp||u("unknown")})})}}},t&&{label:u("actions"),name:"actions",options:{customBodyRenderLite:e=>{const i=b[e];return(0,n.jsx)(f.Z,{children:(0,n.jsx)(x.Z,{sx:{whiteSpace:"nowrap",fontSize:"12px",px:1},disabled:r===i.visitorId,variant:"outlined",size:"small",color:"error",onClick:()=>v({visitorId:i.visitorId}),children:"expired"===i.status?u("remove"):r===i.visitorId?u("currentSession"):u("logout")})})}}}].filter(Boolean);return(0,n.jsxs)(f.Z,{sx:{".MuiTableCell-head":{whiteSpace:"nowrap",fontWeight:"bold"}},children:[d,(0,n.jsx)(Y.Z,{locale:l,data:b,columns:S,customButtons:k,options:j,loading:m.loading})]})}t(21764),t(25125),t(13573),t(8708),t(54198)},30278:(e,i,t)=>{var n=t(31104),o=t(43676);e.exports=function(e,i){return e&&e.length?o(e,n(i,2)):[]}},94166:function(e,i,t){"use strict";var n=this&&this.__assign||function(){return n=Object.assign||function(e){for(var i,t=1,n=arguments.length;t<n;t++)for(var o in i=arguments[t])Object.prototype.hasOwnProperty.call(i,o)&&(e[o]=i[o]);return e},n.apply(this,arguments)},o=this&&this.__rest||function(e,i){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&i.indexOf(n)<0&&(t[n]=e[n]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)i.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(t[n[o]]=e[n[o]])}return t};i.__esModule=!0;var r=t(5057),s=t(18294),a=t(49266);i.default=function(e){var i=e.delay,t=void 0===i?0:i,l=e.type,c=void 0===l?"text":l,d=e.color,u=void 0===d?"#CDCDCD":d,p=e.rows,m=void 0===p?3:p,f=e.ready,b=e.firstLaunchOnly,w=e.children,h=e.className,v=e.showLoadingAnimation,g=e.customPlaceholder,x=o(e,["delay","type","color","rows","ready","firstLaunchOnly","children","className","showLoadingAnimation","customPlaceholder"]),y=r.useState(f),k=y[0],j=y[1],S=r.useRef(null);return r.useEffect((function(){b||!k||f?f&&(S.current&&window.clearTimeout(S.current),k||j(!0)):t&&t>0?S.current=window.setTimeout((function(){j(!1)}),t):j(!1)}),[b,k,f,t]),r.useEffect((function(){return function(){S.current&&window.clearTimeout(S.current)}}),[]),k?w:function(){var e=v?a.joinClassNames("show-loading-animation",h):h;if(g&&r.isValidElement(g)){var i=a.joinClassNames(g.props.className,e);return r.cloneElement(g,{className:i})}if(g)return g;var t=s[c];return r.createElement(t,n({},x,{color:u,rows:m,className:e}))}()}},22256:(e,i,t)=>{"use strict";var n=t(94166);i.Z=n.default},98392:function(e,i,t){"use strict";var n=this&&this.__assign||function(){return n=Object.assign||function(e){for(var i,t=1,n=arguments.length;t<n;t++)for(var o in i=arguments[t])Object.prototype.hasOwnProperty.call(i,o)&&(e[o]=i[o]);return e},n.apply(this,arguments)};i.__esModule=!0;var o=t(5057),r=t(49354),s=t(12208),a=t(49266),l={display:"flex"};i.default=function(e){var i=e.className,t=e.style,c=e.color,d=e.rows;return o.createElement("div",{className:a.joinClassNames("media-block",i),style:n(n({},l),t)},o.createElement(s.default,{color:c,style:{minHeight:55,width:55,minWidth:55,marginRight:10}}),o.createElement(r.default,{color:c,rows:d}))}},16102:function(e,i,t){"use strict";var n=this&&this.__assign||function(){return n=Object.assign||function(e){for(var i,t=1,n=arguments.length;t<n;t++)for(var o in i=arguments[t])Object.prototype.hasOwnProperty.call(i,o)&&(e[o]=i[o]);return e},n.apply(this,arguments)};i.__esModule=!0;var o=t(5057),r=t(49266);i.default=function(e){var i=e.className,t=e.style,s={backgroundColor:e.color,width:"100%",height:"100%",marginRight:10};return o.createElement("div",{className:r.joinClassNames("rect-shape",i),style:n(n({},s),t)})}},12208:function(e,i,t){"use strict";var n=this&&this.__assign||function(){return n=Object.assign||function(e){for(var i,t=1,n=arguments.length;t<n;t++)for(var o in i=arguments[t])Object.prototype.hasOwnProperty.call(i,o)&&(e[o]=i[o]);return e},n.apply(this,arguments)};i.__esModule=!0;var o=t(5057),r=t(49266);i.default=function(e){var i=e.className,t=e.style,s={backgroundColor:e.color,borderRadius:"500rem",width:"100%",height:"100%"};return o.createElement("div",{className:r.joinClassNames("round-shape",i),style:n(n({},s),t)})}},49354:function(e,i,t){"use strict";var n=this&&this.__assign||function(){return n=Object.assign||function(e){for(var i,t=1,n=arguments.length;t<n;t++)for(var o in i=arguments[t])Object.prototype.hasOwnProperty.call(i,o)&&(e[o]=i[o]);return e},n.apply(this,arguments)};i.__esModule=!0;var o=t(5057),r=t(13672),s=t(49266),a={width:"100%"},l=[97,100,94,90,98,95,98,40];i.default=function(e){var i=e.rows,t=e.lineSpacing,c=e.color,d=e.style,u=e.className,p=e.widths,m=void 0===p?l:p,f=function(e){return{maxHeight:100/(2*i-1)+"%",width:m[(e+m.length)%m.length]+"%"}};return o.createElement("div",{className:s.joinClassNames("text-block",u),style:n(n({},a),d)},Array.apply(null,Array(i)).map((function(e,i){return o.createElement(r.default,{color:c,style:f(i),lineSpacing:0!==i?t:0,key:i})})))}},13672:function(e,i,t){"use strict";var n=this&&this.__assign||function(){return n=Object.assign||function(e){for(var i,t=1,n=arguments.length;t<n;t++)for(var o in i=arguments[t])Object.prototype.hasOwnProperty.call(i,o)&&(e[o]=i[o]);return e},n.apply(this,arguments)};i.__esModule=!0;var o=t(5057),r=t(49266);i.default=function(e){var i=e.className,t=e.maxHeight,s=e.color,a=e.lineSpacing,l=void 0===a?"0.7em":a,c=e.style,d={maxHeight:t,width:"100%",height:"1em",backgroundColor:s,marginTop:l};return o.createElement("div",{className:r.joinClassNames("text-row",i),style:n(n({},d),c)})}},18294:(e,i,t)=>{"use strict";i.__esModule=!0,i.media=i.text=i.rect=i.round=i.textRow=i.MediaBlock=i.TextBlock=i.RectShape=i.RoundShape=i.TextRow=void 0;var n=t(13672);i.TextRow=n.default;var o=t(12208);i.RoundShape=o.default;var r=t(16102);i.RectShape=r.default;var s=t(49354);i.TextBlock=s.default;var a=t(98392);i.MediaBlock=a.default,i.textRow=n.default,i.round=o.default,i.rect=r.default,i.text=s.default,i.media=a.default},49266:(e,i)=>{"use strict";i.__esModule=!0,i.joinClassNames=void 0,i.joinClassNames=function(){for(var e=[],i=0;i<arguments.length;i++)e[i]=arguments[i];return e.filter((function(e){return e})).join(" ")}},35833:function(e,i,t){var n;!function(o,r){"use strict";var s="function",a="undefined",l="object",c="string",d="major",u="model",p="name",m="type",f="vendor",b="version",w="architecture",h="console",v="mobile",g="tablet",x="smarttv",y="wearable",k="embedded",j="Amazon",S="Apple",I="ASUS",O="BlackBerry",C="Browser",T="Chrome",Z="Firefox",_="Google",E="Huawei",N="LG",A="Microsoft",R="Motorola",P="Opera",z="Samsung",B="Sharp",L="Sony",M="Xiaomi",D="Zebra",U="Facebook",q="Chromium OS",W="Mac OS",F=function(e){for(var i={},t=0;t<e.length;t++)i[e[t].toUpperCase()]=e[t];return i},H=function(e,i){return typeof e===c&&-1!==V(i).indexOf(V(e))},V=function(e){return e.toLowerCase()},Y=function(e,i){if(typeof e===c)return e=e.replace(/^\s\s*/,""),typeof i===a?e:e.substring(0,500)},G=function(e,i){for(var t,n,o,a,c,d,u=0;u<i.length&&!c;){var p=i[u],m=i[u+1];for(t=n=0;t<p.length&&!c&&p[t];)if(c=p[t++].exec(e))for(o=0;o<m.length;o++)d=c[++n],typeof(a=m[o])===l&&a.length>0?2===a.length?typeof a[1]==s?this[a[0]]=a[1].call(this,d):this[a[0]]=a[1]:3===a.length?typeof a[1]!==s||a[1].exec&&a[1].test?this[a[0]]=d?d.replace(a[1],a[2]):r:this[a[0]]=d?a[1].call(this,d,a[2]):r:4===a.length&&(this[a[0]]=d?a[3].call(this,d.replace(a[1],a[2])):r):this[a]=d||r;u+=2}},J=function(e,i){for(var t in i)if(typeof i[t]===l&&i[t].length>0){for(var n=0;n<i[t].length;n++)if(H(i[t][n],e))return"?"===t?r:t}else if(H(i[t],e))return"?"===t?r:t;return e},$={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2",8.1:"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},X={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[b,[p,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[b,[p,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[p,b],[/opios[\/ ]+([\w\.]+)/i],[b,[p,P+" Mini"]],[/\bopr\/([\w\.]+)/i],[b,[p,P]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[b,[p,"Baidu"]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i,/(avant|iemobile|slim)\s?(?:browser)?[\/ ]?([\w\.]*)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|qq|duckduckgo)\/([-\w\.]+)/i,/(heytap|ovi)browser\/([\d\.]+)/i,/(weibo)__([\d\.]+)/i],[p,b],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[b,[p,"UC"+C]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[b,[p,"WeChat"]],[/konqueror\/([\w\.]+)/i],[b,[p,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[b,[p,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[b,[p,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[b,[p,"Smart Lenovo "+C]],[/(avast|avg)\/([\w\.]+)/i],[[p,/(.+)/,"$1 Secure "+C],b],[/\bfocus\/([\w\.]+)/i],[b,[p,Z+" Focus"]],[/\bopt\/([\w\.]+)/i],[b,[p,P+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[b,[p,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[b,[p,"Dolphin"]],[/coast\/([\w\.]+)/i],[b,[p,P+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[b,[p,"MIUI "+C]],[/fxios\/([-\w\.]+)/i],[b,[p,Z]],[/\bqihu|(qi?ho?o?|360)browser/i],[[p,"360 "+C]],[/(oculus|sailfish|huawei|vivo)browser\/([\w\.]+)/i],[[p,/(.+)/,"$1 "+C],b],[/samsungbrowser\/([\w\.]+)/i],[b,[p,z+" Internet"]],[/(comodo_dragon)\/([\w\.]+)/i],[[p,/_/g," "],b],[/metasr[\/ ]?([\d\.]+)/i],[b,[p,"Sogou Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[p,"Sogou Mobile"],b],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345Explorer)[\/ ]?([\w\.]+)/i],[p,b],[/(lbbrowser)/i,/\[(linkedin)app\]/i],[p],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[p,U],b],[/(Klarna)\/([\w\.]+)/i,/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(alipay)client\/([\w\.]+)/i,/(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i],[p,b],[/\bgsa\/([\w\.]+) .*safari\//i],[b,[p,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[b,[p,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[b,[p,T+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[p,T+" WebView"],b],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[b,[p,"Android "+C]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[p,b],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[b,[p,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[b,p],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[p,[b,J,{"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}]],[/(webkit|khtml)\/([\w\.]+)/i],[p,b],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[p,"Netscape"],b],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[b,[p,Z+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i,/panasonic;(viera)/i],[p,b],[/(cobalt)\/([\w\.]+)/i],[p,[b,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[w,"amd64"]],[/(ia32(?=;))/i],[[w,V]],[/((?:i[346]|x)86)[;\)]/i],[[w,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[w,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[w,"armhf"]],[/windows (ce|mobile); ppc;/i],[[w,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[w,/ower/,"",V]],[/(sun4\w)[;\)]/i],[[w,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[w,V]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[u,[f,z],[m,g]],[/\b((?:s[cgp]h|gt|sm)-\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[u,[f,z],[m,v]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[u,[f,S],[m,v]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[u,[f,S],[m,g]],[/(macintosh);/i],[u,[f,S]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[u,[f,B],[m,v]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[u,[f,E],[m,g]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[u,[f,E],[m,v]],[/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i],[[u,/_/g," "],[f,M],[m,v]],[/oid[^\)]+; (2\d{4}(283|rpbf)[cgl])( bui|\))/i,/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[u,/_/g," "],[f,M],[m,g]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[u,[f,"OPPO"],[m,v]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[u,[f,"Vivo"],[m,v]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[u,[f,"Realme"],[m,v]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[u,[f,R],[m,v]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[u,[f,R],[m,g]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[u,[f,N],[m,g]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[u,[f,N],[m,v]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[u,[f,"Lenovo"],[m,g]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[u,/_/g," "],[f,"Nokia"],[m,v]],[/(pixel c)\b/i],[u,[f,_],[m,g]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[u,[f,_],[m,v]],[/droid.+ (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[u,[f,L],[m,v]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[u,"Xperia Tablet"],[f,L],[m,g]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[u,[f,"OnePlus"],[m,v]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[u,[f,j],[m,g]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[u,/(.+)/g,"Fire Phone $1"],[f,j],[m,v]],[/(playbook);[-\w\),; ]+(rim)/i],[u,f,[m,g]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[u,[f,O],[m,v]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[u,[f,I],[m,g]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[u,[f,I],[m,v]],[/(nexus 9)/i],[u,[f,"HTC"],[m,g]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[f,[u,/_/g," "],[m,v]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[u,[f,"Acer"],[m,g]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[u,[f,"Meizu"],[m,v]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[u,[f,"Ulefone"],[m,v]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron|infinix|tecno)[-_ ]?([-\w]*)/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[f,u,[m,v]],[/(kobo)\s(ereader|touch)/i,/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[f,u,[m,g]],[/(surface duo)/i],[u,[f,A],[m,g]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[u,[f,"Fairphone"],[m,v]],[/(u304aa)/i],[u,[f,"AT&T"],[m,v]],[/\bsie-(\w*)/i],[u,[f,"Siemens"],[m,v]],[/\b(rct\w+) b/i],[u,[f,"RCA"],[m,g]],[/\b(venue[\d ]{2,7}) b/i],[u,[f,"Dell"],[m,g]],[/\b(q(?:mv|ta)\w+) b/i],[u,[f,"Verizon"],[m,g]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[u,[f,"Barnes & Noble"],[m,g]],[/\b(tm\d{3}\w+) b/i],[u,[f,"NuVision"],[m,g]],[/\b(k88) b/i],[u,[f,"ZTE"],[m,g]],[/\b(nx\d{3}j) b/i],[u,[f,"ZTE"],[m,v]],[/\b(gen\d{3}) b.+49h/i],[u,[f,"Swiss"],[m,v]],[/\b(zur\d{3}) b/i],[u,[f,"Swiss"],[m,g]],[/\b((zeki)?tb.*\b) b/i],[u,[f,"Zeki"],[m,g]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[f,"Dragon Touch"],u,[m,g]],[/\b(ns-?\w{0,9}) b/i],[u,[f,"Insignia"],[m,g]],[/\b((nxa|next)-?\w{0,9}) b/i],[u,[f,"NextBook"],[m,g]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[f,"Voice"],u,[m,v]],[/\b(lvtel\-)?(v1[12]) b/i],[[f,"LvTel"],u,[m,v]],[/\b(ph-1) /i],[u,[f,"Essential"],[m,v]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[u,[f,"Envizen"],[m,g]],[/\b(trio[-\w\. ]+) b/i],[u,[f,"MachSpeed"],[m,g]],[/\btu_(1491) b/i],[u,[f,"Rotor"],[m,g]],[/(shield[\w ]+) b/i],[u,[f,"Nvidia"],[m,g]],[/(sprint) (\w+)/i],[f,u,[m,v]],[/(kin\.[onetw]{3})/i],[[u,/\./g," "],[f,A],[m,v]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[u,[f,D],[m,g]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[u,[f,D],[m,v]],[/smart-tv.+(samsung)/i],[f,[m,x]],[/hbbtv.+maple;(\d+)/i],[[u,/^/,"SmartTV"],[f,z],[m,x]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[f,N],[m,x]],[/(apple) ?tv/i],[f,[u,S+" TV"],[m,x]],[/crkey/i],[[u,T+"cast"],[f,_],[m,x]],[/droid.+aft(\w+)( bui|\))/i],[u,[f,j],[m,x]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[u,[f,B],[m,x]],[/(bravia[\w ]+)( bui|\))/i],[u,[f,L],[m,x]],[/(mitv-\w{5}) bui/i],[u,[f,M],[m,x]],[/Hbbtv.*(technisat) (.*);/i],[f,u,[m,x]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[f,Y],[u,Y],[m,x]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[m,x]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[f,u,[m,h]],[/droid.+; (shield) bui/i],[u,[f,"Nvidia"],[m,h]],[/(playstation [345portablevi]+)/i],[u,[f,L],[m,h]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[u,[f,A],[m,h]],[/((pebble))app/i],[f,u,[m,y]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[u,[f,S],[m,y]],[/droid.+; (glass) \d/i],[u,[f,_],[m,y]],[/droid.+; (wt63?0{2,3})\)/i],[u,[f,D],[m,y]],[/(quest( 2| pro)?)/i],[u,[f,U],[m,y]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[f,[m,k]],[/(aeobc)\b/i],[u,[f,j],[m,k]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i],[u,[m,v]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[u,[m,g]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[m,g]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[m,v]],[/(android[-\w\. ]{0,9});.+buil/i],[u,[f,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[b,[p,"EdgeHTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[b,[p,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[p,b],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[b,p]],os:[[/microsoft (windows) (vista|xp)/i],[p,b],[/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i],[p,[b,J,$]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[b,J,$],[p,"Windows"]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[b,/_/g,"."],[p,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[p,W],[b,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[b,p],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[p,b],[/\(bb(10);/i],[b,[p,O]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[b,[p,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[b,[p,Z+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[b,[p,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[b,[p,"watchOS"]],[/crkey\/([\d\.]+)/i],[b,[p,T+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[p,q],b],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[p,b],[/(sunos) ?([\w\.\d]*)/i],[[p,"Solaris"],b],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[p,b]]},K=function(e,i){if(typeof e===l&&(i=e,e=r),!(this instanceof K))return new K(e,i).getResult();var t=typeof o!==a&&o.navigator?o.navigator:r,n=e||(t&&t.userAgent?t.userAgent:""),h=t&&t.userAgentData?t.userAgentData:r,x=i?function(e,i){var t={};for(var n in e)i[n]&&i[n].length%2===0?t[n]=i[n].concat(e[n]):t[n]=e[n];return t}(X,i):X,y=t&&t.userAgent==n;return this.getBrowser=function(){var e,i={};return i[p]=r,i[b]=r,G.call(i,n,x.browser),i[d]=typeof(e=i[b])===c?e.replace(/[^\d\.]/g,"").split(".")[0]:r,y&&t&&t.brave&&typeof t.brave.isBrave==s&&(i[p]="Brave"),i},this.getCPU=function(){var e={};return e[w]=r,G.call(e,n,x.cpu),e},this.getDevice=function(){var e={};return e[f]=r,e[u]=r,e[m]=r,G.call(e,n,x.device),y&&!e[m]&&h&&h.mobile&&(e[m]=v),y&&"Macintosh"==e[u]&&t&&typeof t.standalone!==a&&t.maxTouchPoints&&t.maxTouchPoints>2&&(e[u]="iPad",e[m]=g),e},this.getEngine=function(){var e={};return e[p]=r,e[b]=r,G.call(e,n,x.engine),e},this.getOS=function(){var e={};return e[p]=r,e[b]=r,G.call(e,n,x.os),y&&!e[p]&&h&&"Unknown"!=h.platform&&(e[p]=h.platform.replace(/chrome os/i,q).replace(/macos/i,W)),e},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return n},this.setUA=function(e){return n=typeof e===c&&e.length>500?Y(e,500):e,this},this.setUA(n),this};K.VERSION="1.0.37",K.BROWSER=F([p,b,d]),K.CPU=F([w]),K.DEVICE=F([u,f,m,h,v,x,g,y,k]),K.ENGINE=K.OS=F([p,b]),typeof i!==a?(e.exports&&(i=e.exports=K),i.UAParser=K):t.amdO?(n=function(){return K}.call(i,t,i,e))===r||(e.exports=n):typeof o!==a&&(o.UAParser=K);var Q=typeof o!==a&&(o.jQuery||o.Zepto);if(Q&&!Q.ua){var ee=new K;Q.ua=ee.getResult(),Q.ua.get=function(){return ee.getUA()},Q.ua.set=function(e){ee.setUA(e);var i=ee.getResult();for(var t in i)Q.ua[t]=i[t]}}}("object"===typeof window?window:this)},81534:(e,i,t)=>{"use strict";function n(e){for(var i=1;i<arguments.length;i++){var t=arguments[i];for(var n in t)e[n]=t[n]}return e}t.d(i,{Z:()=>o});var o=function e(i,t){function o(e,o,r){if("undefined"!==typeof document){"number"===typeof(r=n({},t,r)).expires&&(r.expires=new Date(Date.now()+864e5*r.expires)),r.expires&&(r.expires=r.expires.toUTCString()),e=encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var s="";for(var a in r)r[a]&&(s+="; "+a,!0!==r[a]&&(s+="="+r[a].split(";")[0]));return document.cookie=e+"="+i.write(o,e)+s}}return Object.create({set:o,get:function(e){if("undefined"!==typeof document&&(!arguments.length||e)){for(var t=document.cookie?document.cookie.split("; "):[],n={},o=0;o<t.length;o++){var r=t[o].split("="),s=r.slice(1).join("=");try{var a=decodeURIComponent(r[0]);if(n[a]=i.read(s,a),e===a)break}catch(l){}}return e?n[e]:n}},remove:function(e,i){o(e,"",n({},i,{expires:-1}))},withAttributes:function(i){return e(this.converter,n({},this.attributes,i))},withConverter:function(i){return e(n({},this.converter,i),this.attributes)}},{attributes:{value:Object.freeze(t)},converter:{value:Object.freeze(i)}})}({read:function(e){return'"'===e[0]&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}},{path:"/"})}}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_abtnode_webapp=self.webpackChunk_abtnode_webapp||[]).push([[9371],{35701:(t,r,e)=>{"use strict";r.Z=void 0;(o=e(5057))&&o.__esModule;var o,n=e(96266);function i(t,r){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);r&&(o=o.filter((function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable}))),e.push.apply(e,o)}return e}function a(t){for(var r=1;r<arguments.length;r++){var e=null!=arguments[r]?arguments[r]:{};r%2?i(Object(e),!0).forEach((function(r){p(t,r,e[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):i(Object(e)).forEach((function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(e,r))}))}return t}function p(t,r,e){return(r=function(t){var r=function(t,r){if("object"!=typeof t||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var o=e.call(t,r||"default");if("object"!=typeof o)return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(t)}(t,"string");return"symbol"==typeof r?r:String(r)}(r))in t?Object.defineProperty(t,r,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[r]=e,t}var y=function(t){return(0,n.jsx)("svg",a(a({},t),{},{children:(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.361 2.4a.8.8 0 0 0-.728.469L.873 15.54a.8.8 0 0 0-.072.33V27.393a.8.8 0 0 0 .8.8h28.8a.8.8 0 0 0 .8-.8v-11.52a.8.8 0 0 0-.072-.331L25.37 2.869a.8.8 0 0 0-.728-.47H7.361zm-4.96 14.4v9.792h27.2v-9.799a.814.814 0 0 1-.104.007h-7.098l-2.066 3.1a.8.8 0 0 1-.666.356h-8.064a.8.8 0 0 1-.665-.356L8.87 16.8h-6.47zm26.816-1.6H21.97a.8.8 0 0 0-.665.356l-2.067 3.1h-7.208l-2.066-3.1a.8.8 0 0 0-.666-.356H2.785L7.876 4h16.25l5.09 11.2z",fill:"currentColor"})}))};y.defaultProps={width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},y.displayName="empty";r.Z=y},25710:(t,r,e)=>{"use strict";e.d(r,{Z:()=>s});var o,n=e(71171),i=e(55898),a=e.n(i),p=e(39948),y=e(35701),f=e(47685),u=e(96266);const c=(0,f.zo)(p.Z)(o||(o=(0,n.Z)(["\n display: flex;\n justify-content: center;\n align-items: center;\n flex-direction: column;\n height: 100%;\n min-height: 100px;\n color: #999;\n .empty-icon {\n margin: 10px 0;\n }\n"])));function l(t){let{color:r,size:e,children:o,...n}=t;return(0,u.jsxs)(c,{...n,children:[(0,u.jsx)(y.Z,{style:{width:e,height:e,color:r},className:"empty-icon"}),(0,u.jsx)(p.Z,{className:"empty-content",children:o})]})}l.propTypes={color:a().string,size:a().number,children:a().any},l.defaultProps={color:"inherit",size:36,children:null};const s=l},44919:(t,r,e)=>{"use strict";var o=e(71600);r.Z=void 0;var n=o(e(56930)),i=e(96266);r.Z=(0,n.default)((0,i.jsx)("path",{d:"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6z"}),"Add")},72601:(t,r,e)=>{"use strict";var o=e(38713),n=e(45807),i=n(o("String.prototype.indexOf"));t.exports=function(t,r){var e=o(t,!!r);return"function"===typeof e&&i(t,".prototype.")>-1?n(e):e}},45807:(t,r,e)=>{"use strict";var o=e(47462),n=e(38713),i=e(14580),a=n("%TypeError%"),p=n("%Function.prototype.apply%"),y=n("%Function.prototype.call%"),f=n("%Reflect.apply%",!0)||o.call(y,p),u=n("%Object.defineProperty%",!0),c=n("%Math.max%");if(u)try{u({},"a",{value:1})}catch(s){u=null}t.exports=function(t){if("function"!==typeof t)throw new a("a function is required");var r=f(o,y,arguments);return i(r,1+c(0,t.length-(arguments.length-1)),!0)};var l=function(){return f(o,p,arguments)};u?u(t.exports,"apply",{value:l}):t.exports.apply=l},8840:(t,r,e)=>{"use strict";var o=e(61211)(),n=e(38713),i=o&&n("%Object.defineProperty%",!0);if(i)try{i({},"a",{value:1})}catch(f){i=!1}var a=n("%SyntaxError%"),p=n("%TypeError%"),y=e(93911);t.exports=function(t,r,e){if(!t||"object"!==typeof t&&"function"!==typeof t)throw new p("`obj` must be an object or a function`");if("string"!==typeof r&&"symbol"!==typeof r)throw new p("`property` must be a string or a symbol`");if(arguments.length>3&&"boolean"!==typeof arguments[3]&&null!==arguments[3])throw new p("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&"boolean"!==typeof arguments[4]&&null!==arguments[4])throw new p("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&"boolean"!==typeof arguments[5]&&null!==arguments[5])throw new p("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&"boolean"!==typeof arguments[6])throw new p("`loose`, if provided, must be a boolean");var o=arguments.length>3?arguments[3]:null,n=arguments.length>4?arguments[4]:null,f=arguments.length>5?arguments[5]:null,u=arguments.length>6&&arguments[6],c=!!y&&y(t,r);if(i)i(t,r,{configurable:null===f&&c?c.configurable:!f,enumerable:null===o&&c?c.enumerable:!o,value:e,writable:null===n&&c?c.writable:!n});else{if(!u&&(o||n||f))throw new a("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");t[r]=e}}},2904:t=>{"use strict";var r=Object.prototype.toString,e=Math.max,o=function(t,r){for(var e=[],o=0;o<t.length;o+=1)e[o]=t[o];for(var n=0;n<r.length;n+=1)e[n+t.length]=r[n];return e};t.exports=function(t){var n=this;if("function"!==typeof n||"[object Function]"!==r.apply(n))throw new TypeError("Function.prototype.bind called on incompatible "+n);for(var i,a=function(t,r){for(var e=[],o=r||0,n=0;o<t.length;o+=1,n+=1)e[n]=t[o];return e}(arguments,1),p=e(0,n.length-a.length),y=[],f=0;f<p;f++)y[f]="$"+f;if(i=Function("binder","return function ("+function(t,r){for(var e="",o=0;o<t.length;o+=1)e+=t[o],o+1<t.length&&(e+=r);return e}(y,",")+"){ return binder.apply(this,arguments); }")((function(){if(this instanceof i){var r=n.apply(this,o(a,arguments));return Object(r)===r?r:this}return n.apply(t,o(a,arguments))})),n.prototype){var u=function(){};u.prototype=n.prototype,i.prototype=new u,u.prototype=null}return i}},47462:(t,r,e)=>{"use strict";var o=e(2904);t.exports=Function.prototype.bind||o},38713:(t,r,e)=>{"use strict";var o,n=SyntaxError,i=Function,a=TypeError,p=function(t){try{return i('"use strict"; return ('+t+").constructor;")()}catch(r){}},y=Object.getOwnPropertyDescriptor;if(y)try{y({},"")}catch(U){y=null}var f=function(){throw new a},u=y?function(){try{return f}catch(t){try{return y(arguments,"callee").get}catch(r){return f}}}():f,c=e(49211)(),l=e(71495)(),s=Object.getPrototypeOf||(l?function(t){return t.__proto__}:null),b={},g="undefined"!==typeof Uint8Array&&s?s(Uint8Array):o,d={"%AggregateError%":"undefined"===typeof AggregateError?o:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"===typeof ArrayBuffer?o:ArrayBuffer,"%ArrayIteratorPrototype%":c&&s?s([][Symbol.iterator]()):o,"%AsyncFromSyncIteratorPrototype%":o,"%AsyncFunction%":b,"%AsyncGenerator%":b,"%AsyncGeneratorFunction%":b,"%AsyncIteratorPrototype%":b,"%Atomics%":"undefined"===typeof Atomics?o:Atomics,"%BigInt%":"undefined"===typeof BigInt?o:BigInt,"%BigInt64Array%":"undefined"===typeof BigInt64Array?o:BigInt64Array,"%BigUint64Array%":"undefined"===typeof BigUint64Array?o:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"===typeof DataView?o:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"===typeof Float32Array?o:Float32Array,"%Float64Array%":"undefined"===typeof Float64Array?o:Float64Array,"%FinalizationRegistry%":"undefined"===typeof FinalizationRegistry?o:FinalizationRegistry,"%Function%":i,"%GeneratorFunction%":b,"%Int8Array%":"undefined"===typeof Int8Array?o:Int8Array,"%Int16Array%":"undefined"===typeof Int16Array?o:Int16Array,"%Int32Array%":"undefined"===typeof Int32Array?o:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":c&&s?s(s([][Symbol.iterator]())):o,"%JSON%":"object"===typeof JSON?JSON:o,"%Map%":"undefined"===typeof Map?o:Map,"%MapIteratorPrototype%":"undefined"!==typeof Map&&c&&s?s((new Map)[Symbol.iterator]()):o,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"===typeof Promise?o:Promise,"%Proxy%":"undefined"===typeof Proxy?o:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"===typeof Reflect?o:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"===typeof Set?o:Set,"%SetIteratorPrototype%":"undefined"!==typeof Set&&c&&s?s((new Set)[Symbol.iterator]()):o,"%SharedArrayBuffer%":"undefined"===typeof SharedArrayBuffer?o:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":c&&s?s(""[Symbol.iterator]()):o,"%Symbol%":c?Symbol:o,"%SyntaxError%":n,"%ThrowTypeError%":u,"%TypedArray%":g,"%TypeError%":a,"%Uint8Array%":"undefined"===typeof Uint8Array?o:Uint8Array,"%Uint8ClampedArray%":"undefined"===typeof Uint8ClampedArray?o:Uint8ClampedArray,"%Uint16Array%":"undefined"===typeof Uint16Array?o:Uint16Array,"%Uint32Array%":"undefined"===typeof Uint32Array?o:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"===typeof WeakMap?o:WeakMap,"%WeakRef%":"undefined"===typeof WeakRef?o:WeakRef,"%WeakSet%":"undefined"===typeof WeakSet?o:WeakSet};if(s)try{null.error}catch(U){var h=s(s(U));d["%Error.prototype%"]=h}var v=function t(r){var e;if("%AsyncFunction%"===r)e=p("async function () {}");else if("%GeneratorFunction%"===r)e=p("function* () {}");else if("%AsyncGeneratorFunction%"===r)e=p("async function* () {}");else if("%AsyncGenerator%"===r){var o=t("%AsyncGeneratorFunction%");o&&(e=o.prototype)}else if("%AsyncIteratorPrototype%"===r){var n=t("%AsyncGenerator%");n&&s&&(e=s(n.prototype))}return d[r]=e,e},m={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},w=e(47462),A=e(85869),O=w.call(Function.call,Array.prototype.concat),P=w.call(Function.apply,Array.prototype.splice),j=w.call(Function.call,String.prototype.replace),S=w.call(Function.call,String.prototype.slice),x=w.call(Function.call,RegExp.prototype.exec),E=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,F=/\\(\\)?/g,I=function(t,r){var e,o=t;if(A(m,o)&&(o="%"+(e=m[o])[0]+"%"),A(d,o)){var i=d[o];if(i===b&&(i=v(o)),"undefined"===typeof i&&!r)throw new a("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:e,name:o,value:i}}throw new n("intrinsic "+t+" does not exist!")};t.exports=function(t,r){if("string"!==typeof t||0===t.length)throw new a("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!==typeof r)throw new a('"allowMissing" argument must be a boolean');if(null===x(/^%?[^%]*%?$/,t))throw new n("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var e=function(t){var r=S(t,0,1),e=S(t,-1);if("%"===r&&"%"!==e)throw new n("invalid intrinsic syntax, expected closing `%`");if("%"===e&&"%"!==r)throw new n("invalid intrinsic syntax, expected opening `%`");var o=[];return j(t,E,(function(t,r,e,n){o[o.length]=e?j(n,F,"$1"):r||t})),o}(t),o=e.length>0?e[0]:"",i=I("%"+o+"%",r),p=i.name,f=i.value,u=!1,c=i.alias;c&&(o=c[0],P(e,O([0,1],c)));for(var l=1,s=!0;l<e.length;l+=1){var b=e[l],g=S(b,0,1),h=S(b,-1);if(('"'===g||"'"===g||"`"===g||'"'===h||"'"===h||"`"===h)&&g!==h)throw new n("property names with quotes must have matching quotes");if("constructor"!==b&&s||(u=!0),A(d,p="%"+(o+="."+b)+"%"))f=d[p];else if(null!=f){if(!(b in f)){if(!r)throw new a("base intrinsic for "+t+" exists, but the property is not available.");return}if(y&&l+1>=e.length){var v=y(f,b);f=(s=!!v)&&"get"in v&&!("originalValue"in v.get)?v.get:f[b]}else s=A(f,b),f=f[b];s&&!u&&(d[p]=f)}}return f}},93911:(t,r,e)=>{"use strict";var o=e(38713)("%Object.getOwnPropertyDescriptor%",!0);if(o)try{o([],"length")}catch(n){o=null}t.exports=o},61211:(t,r,e)=>{"use strict";var o=e(38713)("%Object.defineProperty%",!0),n=function(){if(o)try{return o({},"a",{value:1}),!0}catch(t){return!1}return!1};n.hasArrayLengthDefineBug=function(){if(!n())return null;try{return 1!==o([],"length",{value:1}).length}catch(t){return!0}},t.exports=n},71495:t=>{"use strict";var r={foo:{}},e=Object;t.exports=function(){return{__proto__:r}.foo===r.foo&&!({__proto__:null}instanceof e)}},49211:(t,r,e)=>{"use strict";var o="undefined"!==typeof Symbol&&Symbol,n=e(22888);t.exports=function(){return"function"===typeof o&&("function"===typeof Symbol&&("symbol"===typeof o("foo")&&("symbol"===typeof Symbol("bar")&&n())))}},22888:t=>{"use strict";t.exports=function(){if("function"!==typeof Symbol||"function"!==typeof Object.getOwnPropertySymbols)return!1;if("symbol"===typeof Symbol.iterator)return!0;var t={},r=Symbol("test"),e=Object(r);if("string"===typeof r)return!1;if("[object Symbol]"!==Object.prototype.toString.call(r))return!1;if("[object Symbol]"!==Object.prototype.toString.call(e))return!1;for(r in t[r]=42,t)return!1;if("function"===typeof Object.keys&&0!==Object.keys(t).length)return!1;if("function"===typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(t).length)return!1;var o=Object.getOwnPropertySymbols(t);if(1!==o.length||o[0]!==r)return!1;if(!Object.prototype.propertyIsEnumerable.call(t,r))return!1;if("function"===typeof Object.getOwnPropertyDescriptor){var n=Object.getOwnPropertyDescriptor(t,r);if(42!==n.value||!0!==n.enumerable)return!1}return!0}},85869:(t,r,e)=>{"use strict";var o=Function.prototype.call,n=Object.prototype.hasOwnProperty,i=e(47462);t.exports=i.call(o,n)},85866:t=>{var r={}.toString;t.exports=Array.isArray||function(t){return"[object Array]"==r.call(t)}},33938:(t,r,e)=>{"use strict";var o=("undefined"!==typeof JSON?JSON:e(99426)).stringify,n=e(85866),i=e(4521),a=e(45807),p=e(72601),y=p("Array.prototype.join"),f=p("Array.prototype.push"),u=function(t,r){for(var e="",o=0;o<t;o+=1)e+=r;return e},c=function(t,r,e){return e};t.exports=function(t){var r=arguments.length>1?arguments[1]:void 0,e=r&&r.space||"";"number"===typeof e&&(e=u(e," "));var p=!!r&&"boolean"===typeof r.cycles&&r.cycles,l=r&&r.replacer?a(r.replacer):c,s="function"===typeof r?r:r&&r.cmp,b=s&&function(t){var r=s.length>2&&function(r){return t[r]};return function(e,o){return s({key:e,value:t[e]},{key:o,value:t[o]},r?{__proto__:null,get:r}:void 0)}},g=[];return function t(r,a,c,s){var d=e?"\n"+u(s,e):"",h=e?": ":":";if(c&&c.toJSON&&"function"===typeof c.toJSON&&(c=c.toJSON()),void 0!==(c=l(r,a,c))){if("object"!==typeof c||null===c)return o(c);if(n(c)){for(var v=[],m=0;m<c.length;m++){var w=t(c,m,c[m],s+1)||o(null);f(v,d+e+w)}return"["+y(v,",")+d+"]"}if(-1!==g.indexOf(c)){if(p)return o("__cycle__");throw new TypeError("Converting circular structure to JSON")}f(g,c);var A=i(c).sort(b&&b(c));for(v=[],m=0;m<A.length;m++){var O=t(c,a=A[m],c[a],s+1);if(O){var P=o(a)+h+O;f(v,d+e+P)}}return g.splice(g.indexOf(c),1),"{"+y(v,",")+d+"}"}}({"":t},"",t,0)}},99426:(t,r,e)=>{"use strict";r.parse=e(1329),r.stringify=e(17326)},1329:t=>{"use strict";var r,e,o,n={'"':'"',"\\":"\\","/":"/",b:"\b",f:"\f",n:"\n",r:"\r",t:"\t"};function i(t){throw{name:"SyntaxError",message:t,at:r,text:o}}function a(t){return t&&t!==e&&i("Expected '"+t+"' instead of '"+e+"'"),e=o.charAt(r),r+=1,e}function p(){var t,r="";for("-"===e&&(r="-",a("-"));e>="0"&&e<="9";)r+=e,a();if("."===e)for(r+=".";a()&&e>="0"&&e<="9";)r+=e;if("e"===e||"E"===e)for(r+=e,a(),"-"!==e&&"+"!==e||(r+=e,a());e>="0"&&e<="9";)r+=e,a();return t=Number(r),isFinite(t)||i("Bad number"),t}function y(){var t,r,o,p="";if('"'===e)for(;a();){if('"'===e)return a(),p;if("\\"===e)if(a(),"u"===e){for(o=0,r=0;r<4&&(t=parseInt(a(),16),isFinite(t));r+=1)o=16*o+t;p+=String.fromCharCode(o)}else{if("string"!==typeof n[e])break;p+=n[e]}else p+=e}i("Bad string")}function f(){for(;e&&e<=" ";)a()}function u(){switch(f(),e){case"{":return function(){var t,r={};if("{"===e){if(a("{"),f(),"}"===e)return a("}"),r;for(;e;){if(t=y(),f(),a(":"),Object.prototype.hasOwnProperty.call(r,t)&&i('Duplicate key "'+t+'"'),r[t]=u(),f(),"}"===e)return a("}"),r;a(","),f()}}i("Bad object")}();case"[":return function(){var t=[];if("["===e){if(a("["),f(),"]"===e)return a("]"),t;for(;e;){if(t.push(u()),f(),"]"===e)return a("]"),t;a(","),f()}}i("Bad array")}();case'"':return y();case"-":return p();default:return e>="0"&&e<="9"?p():function(){switch(e){case"t":return a("t"),a("r"),a("u"),a("e"),!0;case"f":return a("f"),a("a"),a("l"),a("s"),a("e"),!1;case"n":return a("n"),a("u"),a("l"),a("l"),null;default:i("Unexpected '"+e+"'")}}()}}t.exports=function(t,n){var a;return o=t,r=0,e=" ",a=u(),f(),e&&i("Syntax error"),"function"===typeof n?function t(r,e){var o,i,a=r[e];if(a&&"object"===typeof a)for(o in u)Object.prototype.hasOwnProperty.call(a,o)&&("undefined"===typeof(i=t(a,o))?delete a[o]:a[o]=i);return n.call(r,e,a)}({"":a},""):a}},17326:t=>{"use strict";var r,e,o,n=/[\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,i={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"};function a(t){return n.lastIndex=0,n.test(t)?'"'+t.replace(n,(function(t){var r=i[t];return"string"===typeof r?r:"\\u"+("0000"+t.charCodeAt(0).toString(16)).slice(-4)}))+'"':'"'+t+'"'}function p(t,n){var i,y,f,u,c,l=r,s=n[t];switch(s&&"object"===typeof s&&"function"===typeof s.toJSON&&(s=s.toJSON(t)),"function"===typeof o&&(s=o.call(n,t,s)),typeof s){case"string":return a(s);case"number":return isFinite(s)?String(s):"null";case"boolean":case"null":return String(s);case"object":if(!s)return"null";if(r+=e,c=[],"[object Array]"===Object.prototype.toString.apply(s)){for(u=s.length,i=0;i<u;i+=1)c[i]=p(i,s)||"null";return f=0===c.length?"[]":r?"[\n"+r+c.join(",\n"+r)+"\n"+l+"]":"["+c.join(",")+"]",r=l,f}if(o&&"object"===typeof o)for(u=o.length,i=0;i<u;i+=1)"string"===typeof(y=o[i])&&(f=p(y,s))&&c.push(a(y)+(r?": ":":")+f);else for(y in s)Object.prototype.hasOwnProperty.call(s,y)&&(f=p(y,s))&&c.push(a(y)+(r?": ":":")+f);return f=0===c.length?"{}":r?"{\n"+r+c.join(",\n"+r)+"\n"+l+"}":"{"+c.join(",")+"}",r=l,f}}t.exports=function(t,n,i){var a;if(r="",e="","number"===typeof i)for(a=0;a<i;a+=1)e+=" ";else"string"===typeof i&&(e=i);if(o=n,n&&"function"!==typeof n&&("object"!==typeof n||"number"!==typeof n.length))throw new Error("JSON.stringify");return p("",{"":t})}},54652:(t,r,e)=>{"use strict";var o;if(!Object.keys){var n=Object.prototype.hasOwnProperty,i=Object.prototype.toString,a=e(82923),p=Object.prototype.propertyIsEnumerable,y=!p.call({toString:null},"toString"),f=p.call((function(){}),"prototype"),u=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],c=function(t){var r=t.constructor;return r&&r.prototype===t},l={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},s=function(){if("undefined"===typeof window)return!1;for(var t in window)try{if(!l["$"+t]&&n.call(window,t)&&null!==window[t]&&"object"===typeof window[t])try{c(window[t])}catch(r){return!0}}catch(r){return!0}return!1}();o=function(t){var r=null!==t&&"object"===typeof t,e="[object Function]"===i.call(t),o=a(t),p=r&&"[object String]"===i.call(t),l=[];if(!r&&!e&&!o)throw new TypeError("Object.keys called on a non-object");var b=f&&e;if(p&&t.length>0&&!n.call(t,0))for(var g=0;g<t.length;++g)l.push(String(g));if(o&&t.length>0)for(var d=0;d<t.length;++d)l.push(String(d));else for(var h in t)b&&"prototype"===h||!n.call(t,h)||l.push(String(h));if(y)for(var v=function(t){if("undefined"===typeof window||!s)return c(t);try{return c(t)}catch(r){return!1}}(t),m=0;m<u.length;++m)v&&"constructor"===u[m]||!n.call(t,u[m])||l.push(u[m]);return l}}t.exports=o},4521:(t,r,e)=>{"use strict";var o=Array.prototype.slice,n=e(82923),i=Object.keys,a=i?function(t){return i(t)}:e(54652),p=Object.keys;a.shim=function(){if(Object.keys){var t=function(){var t=Object.keys(arguments);return t&&t.length===arguments.length}(1,2);t||(Object.keys=function(t){return n(t)?p(o.call(t)):p(t)})}else Object.keys=a;return Object.keys||a},t.exports=a},82923:t=>{"use strict";var r=Object.prototype.toString;t.exports=function(t){var e=r.call(t),o="[object Arguments]"===e;return o||(o="[object Array]"!==e&&null!==t&&"object"===typeof t&&"number"===typeof t.length&&t.length>=0&&"[object Function]"===r.call(t.callee)),o}},14580:(t,r,e)=>{"use strict";var o=e(38713),n=e(8840),i=e(61211)(),a=e(93911),p=o("%TypeError%"),y=o("%Math.floor%");t.exports=function(t,r){if("function"!==typeof t)throw new p("`fn` is not a function");if("number"!==typeof r||r<0||r>4294967295||y(r)!==r)throw new p("`length` must be a positive 32-bit integer");var e=arguments.length>2&&!!arguments[2],o=!0,f=!0;if("length"in t&&a){var u=a(t,"length");u&&!u.configurable&&(o=!1),u&&!u.writable&&(f=!1)}return(o||f||!e)&&(i?n(t,"length",r,!0,!0):n(t,"length",r)),t}}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunk_abtnode_webapp=self.webpackChunk_abtnode_webapp||[]).push([[9450],{49390:(e,t,o)=>{var r=o(71600);t.Z=void 0;var a=r(o(56930)),n=o(96266);t.Z=(0,a.default)((0,n.jsx)("path",{d:"m7 10 5 5 5-5z"}),"ArrowDropDown")},47595:(e,t,o)=>{var r=o(71600);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(o(56930)),n=o(96266);t.default=(0,a.default)((0,n.jsx)("path",{d:"M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6zM8 9h8v10H8zm7.5-5-1-1h-5l-1 1H5v2h14V4z"}),"DeleteOutline")},83294:(e,t,o)=>{var r=o(71600);t.Z=void 0;var a=r(o(56930)),n=o(96266);t.Z=(0,a.default)((0,n.jsx)("path",{d:"M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2m0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2"}),"MoreVert")},57201:(e,t,o)=>{var r=o(71600);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(o(56930)),n=o(96266);t.default=(0,a.default)((0,n.jsx)("path",{d:"M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14"}),"Search")},39434:(e,t,o)=>{o.d(t,{Z:()=>M});var r=o(7896),a=o(29218),n=o(5057),i=(o(97408),o(9978)),l=o(15109),s=o(82261),d=o(62773),c=o(42908),u=o(11750),p=o(96295),v=o(57471),m=o(96266);const h=(0,v.Z)((0,m.jsx)("path",{d:"M6 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm12 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm-6 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"}),"MoreHoriz");var g=o(66230);const b=["slots","slotProps"],f=(0,d.ZP)(g.Z)((e=>{let{theme:t}=e;return(0,r.Z)({display:"flex",marginLeft:"calc(".concat(t.spacing(1)," * 0.5)"),marginRight:"calc(".concat(t.spacing(1)," * 0.5)")},"light"===t.palette.mode?{backgroundColor:t.palette.grey[100],color:t.palette.grey[700]}:{backgroundColor:t.palette.grey[700],color:t.palette.grey[100]},{borderRadius:2,"&:hover, &:focus":(0,r.Z)({},"light"===t.palette.mode?{backgroundColor:t.palette.grey[200]}:{backgroundColor:t.palette.grey[600]}),"&:active":(0,r.Z)({boxShadow:t.shadows[0]},"light"===t.palette.mode?{backgroundColor:(0,p._4)(t.palette.grey[200],.12)}:{backgroundColor:(0,p._4)(t.palette.grey[600],.12)})})})),Z=(0,d.ZP)(h)({width:24,height:16});const x=function(e){const{slots:t={},slotProps:o={}}=e,n=(0,a.Z)(e,b),i=e;return(0,m.jsx)("li",{children:(0,m.jsx)(f,(0,r.Z)({focusRipple:!0},n,{ownerState:i,children:(0,m.jsx)(Z,(0,r.Z)({as:t.CollapsedIcon,ownerState:i},o.collapsedIcon))}))})};var y=o(46849),B=o(96036);function R(e){return(0,B.ZP)("MuiBreadcrumbs",e)}const S=(0,y.Z)("MuiBreadcrumbs",["root","ol","li","separator"]),w=["children","className","component","slots","slotProps","expandText","itemsAfterCollapse","itemsBeforeCollapse","maxItems","separator"],C=(0,d.ZP)(u.Z,{name:"MuiBreadcrumbs",slot:"Root",overridesResolver:(e,t)=>[{["& .".concat(S.li)]:t.li},t.root]})({}),z=(0,d.ZP)("ol",{name:"MuiBreadcrumbs",slot:"Ol",overridesResolver:(e,t)=>t.ol})({display:"flex",flexWrap:"wrap",alignItems:"center",padding:0,margin:0,listStyle:"none"}),P=(0,d.ZP)("li",{name:"MuiBreadcrumbs",slot:"Separator",overridesResolver:(e,t)=>t.separator})({display:"flex",userSelect:"none",marginLeft:8,marginRight:8});function E(e,t,o,r){return e.reduce(((a,n,i)=>(i<e.length-1?a=a.concat(n,(0,m.jsx)(P,{"aria-hidden":!0,className:t,ownerState:r,children:o},"separator-".concat(i))):a.push(n),a)),[])}const M=n.forwardRef((function(e,t){const o=(0,c.Z)({props:e,name:"MuiBreadcrumbs"}),{children:d,className:u,component:p="nav",slots:v={},slotProps:h={},expandText:g="Show path",itemsAfterCollapse:b=1,itemsBeforeCollapse:f=1,maxItems:Z=8,separator:y="/"}=o,B=(0,a.Z)(o,w),[S,P]=n.useState(!1),M=(0,r.Z)({},o,{component:p,expanded:S,expandText:g,itemsAfterCollapse:b,itemsBeforeCollapse:f,maxItems:Z,separator:y}),j=(e=>{const{classes:t}=e;return(0,s.Z)({root:["root"],li:["li"],ol:["ol"],separator:["separator"]},R,t)})(M),I=(0,l.y)({elementType:v.CollapsedIcon,externalSlotProps:h.collapsedIcon,ownerState:M}),N=n.useRef(null),k=n.Children.toArray(d).filter((e=>n.isValidElement(e))).map(((e,t)=>(0,m.jsx)("li",{className:j.li,children:e},"child-".concat(t))));return(0,m.jsx)(C,(0,r.Z)({ref:t,component:p,color:"text.secondary",className:(0,i.Z)(j.root,u),ownerState:M},B,{children:(0,m.jsx)(z,{className:j.ol,ref:N,ownerState:M,children:E(S||Z&&k.length<=Z?k:(e=>f+b>=e.length?e:[...e.slice(0,f),(0,m.jsx)(x,{"aria-label":g,slots:{CollapsedIcon:v.CollapsedIcon},slotProps:{collapsedIcon:I},onClick:()=>{P(!0);const e=N.current.querySelector("a[href],button,[tabindex]");e&&e.focus()}},"ellipsis"),...e.slice(e.length-b,e.length)])(k),j.separator,y,M)})}))}))},80633:(e,t,o)=>{o.d(t,{Z:()=>B});var r=o(29218),a=o(7896),n=o(5057),i=o(9978),l=o(82261),s=o(96295),d=o(88781),c=o(6285),u=o(62773),p=o(42908),v=o(46849),m=o(96036);function h(e){return(0,m.ZP)("MuiButtonGroup",e)}const g=(0,v.Z)("MuiButtonGroup",["root","contained","outlined","text","disableElevation","disabled","firstButton","fullWidth","vertical","grouped","groupedHorizontal","groupedVertical","groupedText","groupedTextHorizontal","groupedTextVertical","groupedTextPrimary","groupedTextSecondary","groupedOutlined","groupedOutlinedHorizontal","groupedOutlinedVertical","groupedOutlinedPrimary","groupedOutlinedSecondary","groupedContained","groupedContainedHorizontal","groupedContainedVertical","groupedContainedPrimary","groupedContainedSecondary","lastButton","middleButton"]);var b=o(17681),f=o(27258),Z=o(96266);const x=["children","className","color","component","disabled","disableElevation","disableFocusRipple","disableRipple","fullWidth","orientation","size","variant"],y=(0,u.ZP)("div",{name:"MuiButtonGroup",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[{["& .".concat(g.grouped)]:t.grouped},{["& .".concat(g.grouped)]:t["grouped".concat((0,c.Z)(o.orientation))]},{["& .".concat(g.grouped)]:t["grouped".concat((0,c.Z)(o.variant))]},{["& .".concat(g.grouped)]:t["grouped".concat((0,c.Z)(o.variant)).concat((0,c.Z)(o.orientation))]},{["& .".concat(g.grouped)]:t["grouped".concat((0,c.Z)(o.variant)).concat((0,c.Z)(o.color))]},{["& .".concat(g.firstButton)]:t.firstButton},{["& .".concat(g.lastButton)]:t.lastButton},{["& .".concat(g.middleButton)]:t.middleButton},t.root,t[o.variant],!0===o.disableElevation&&t.disableElevation,o.fullWidth&&t.fullWidth,"vertical"===o.orientation&&t.vertical]}})((e=>{let{theme:t,ownerState:o}=e;return(0,a.Z)({display:"inline-flex",borderRadius:(t.vars||t).shape.borderRadius},"contained"===o.variant&&{boxShadow:(t.vars||t).shadows[2]},o.disableElevation&&{boxShadow:"none"},o.fullWidth&&{width:"100%"},"vertical"===o.orientation&&{flexDirection:"column"},{["& .".concat(g.grouped)]:(0,a.Z)({minWidth:40,"&:hover":(0,a.Z)({},"contained"===o.variant&&{boxShadow:"none"})},"contained"===o.variant&&{boxShadow:"none"}),["& .".concat(g.firstButton,",& .").concat(g.middleButton)]:(0,a.Z)({},"horizontal"===o.orientation&&{borderTopRightRadius:0,borderBottomRightRadius:0},"vertical"===o.orientation&&{borderBottomRightRadius:0,borderBottomLeftRadius:0},"text"===o.variant&&"horizontal"===o.orientation&&{borderRight:t.vars?"1px solid rgba(".concat(t.vars.palette.common.onBackgroundChannel," / 0.23)"):"1px solid ".concat("light"===t.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)"),["&.".concat(g.disabled)]:{borderRight:"1px solid ".concat((t.vars||t).palette.action.disabled)}},"text"===o.variant&&"vertical"===o.orientation&&{borderBottom:t.vars?"1px solid rgba(".concat(t.vars.palette.common.onBackgroundChannel," / 0.23)"):"1px solid ".concat("light"===t.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)"),["&.".concat(g.disabled)]:{borderBottom:"1px solid ".concat((t.vars||t).palette.action.disabled)}},"text"===o.variant&&"inherit"!==o.color&&{borderColor:t.vars?"rgba(".concat(t.vars.palette[o.color].mainChannel," / 0.5)"):(0,s.Fq)(t.palette[o.color].main,.5)},"outlined"===o.variant&&"horizontal"===o.orientation&&{borderRightColor:"transparent"},"outlined"===o.variant&&"vertical"===o.orientation&&{borderBottomColor:"transparent"},"contained"===o.variant&&"horizontal"===o.orientation&&{borderRight:"1px solid ".concat((t.vars||t).palette.grey[400]),["&.".concat(g.disabled)]:{borderRight:"1px solid ".concat((t.vars||t).palette.action.disabled)}},"contained"===o.variant&&"vertical"===o.orientation&&{borderBottom:"1px solid ".concat((t.vars||t).palette.grey[400]),["&.".concat(g.disabled)]:{borderBottom:"1px solid ".concat((t.vars||t).palette.action.disabled)}},"contained"===o.variant&&"inherit"!==o.color&&{borderColor:(t.vars||t).palette[o.color].dark},{"&:hover":(0,a.Z)({},"outlined"===o.variant&&"horizontal"===o.orientation&&{borderRightColor:"currentColor"},"outlined"===o.variant&&"vertical"===o.orientation&&{borderBottomColor:"currentColor"})}),["& .".concat(g.lastButton,",& .").concat(g.middleButton)]:(0,a.Z)({},"horizontal"===o.orientation&&{borderTopLeftRadius:0,borderBottomLeftRadius:0},"vertical"===o.orientation&&{borderTopRightRadius:0,borderTopLeftRadius:0},"outlined"===o.variant&&"horizontal"===o.orientation&&{marginLeft:-1},"outlined"===o.variant&&"vertical"===o.orientation&&{marginTop:-1})})})),B=n.forwardRef((function(e,t){const o=(0,p.Z)({props:e,name:"MuiButtonGroup"}),{children:s,className:u,color:v="primary",component:m="div",disabled:g=!1,disableElevation:B=!1,disableFocusRipple:R=!1,disableRipple:S=!1,fullWidth:w=!1,orientation:C="horizontal",size:z="medium",variant:P="outlined"}=o,E=(0,r.Z)(o,x),M=(0,a.Z)({},o,{color:v,component:m,disabled:g,disableElevation:B,disableFocusRipple:R,disableRipple:S,fullWidth:w,orientation:C,size:z,variant:P}),j=(e=>{const{classes:t,color:o,disabled:r,disableElevation:a,fullWidth:n,orientation:i,variant:s}=e,d={root:["root",s,"vertical"===i&&"vertical",n&&"fullWidth",a&&"disableElevation"],grouped:["grouped","grouped".concat((0,c.Z)(i)),"grouped".concat((0,c.Z)(s)),"grouped".concat((0,c.Z)(s)).concat((0,c.Z)(i)),"grouped".concat((0,c.Z)(s)).concat((0,c.Z)(o)),r&&"disabled"],firstButton:["firstButton"],lastButton:["lastButton"],middleButton:["middleButton"]};return(0,l.Z)(d,h,t)})(M),I=n.useMemo((()=>({className:j.grouped,color:v,disabled:g,disableElevation:B,disableFocusRipple:R,disableRipple:S,fullWidth:w,size:z,variant:P})),[v,g,B,R,S,w,z,P,j.grouped]),N=(0,d.Z)(s),k=N.length,L=e=>{const t=0===e,o=e===k-1;return t&&o?"":t?j.firstButton:o?j.lastButton:j.middleButton};return(0,Z.jsx)(y,(0,a.Z)({as:m,role:"group",className:(0,i.Z)(j.root,u),ref:t,ownerState:M},E,{children:(0,Z.jsx)(b.Z.Provider,{value:I,children:N.map(((e,t)=>(0,Z.jsx)(f.Z.Provider,{value:L(t),children:e},t)))})}))}))},53070:(e,t,o)=>{o.d(t,{Z:()=>Z});var r,a=o(29218),n=o(7896),i=o(5057),l=o(9978),s=o(82261),d=o(6285),c=o(11750),u=o(54352),p=o(38038),v=o(62773),m=o(17815),h=o(42908),g=o(96266);const b=["children","className","component","disablePointerEvents","disableTypography","position","variant"],f=(0,v.ZP)("div",{name:"MuiInputAdornment",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,t["position".concat((0,d.Z)(o.position))],!0===o.disablePointerEvents&&t.disablePointerEvents,t[o.variant]]}})((e=>{let{theme:t,ownerState:o}=e;return(0,n.Z)({display:"flex",height:"0.01em",maxHeight:"2em",alignItems:"center",whiteSpace:"nowrap",color:(t.vars||t).palette.action.active},"filled"===o.variant&&{["&.".concat(m.Z.positionStart,"&:not(.").concat(m.Z.hiddenLabel,")")]:{marginTop:16}},"start"===o.position&&{marginRight:8},"end"===o.position&&{marginLeft:8},!0===o.disablePointerEvents&&{pointerEvents:"none"})})),Z=i.forwardRef((function(e,t){const o=(0,h.Z)({props:e,name:"MuiInputAdornment"}),{children:v,className:Z,component:x="div",disablePointerEvents:y=!1,disableTypography:B=!1,position:R,variant:S}=o,w=(0,a.Z)(o,b),C=(0,p.Z)()||{};let z=S;S&&C.variant,C&&!z&&(z=C.variant);const P=(0,n.Z)({},o,{hiddenLabel:C.hiddenLabel,size:C.size,disablePointerEvents:y,position:R,variant:z}),E=(e=>{const{classes:t,disablePointerEvents:o,hiddenLabel:r,position:a,size:n,variant:i}=e,l={root:["root",o&&"disablePointerEvents",a&&"position".concat((0,d.Z)(a)),i,r&&"hiddenLabel",n&&"size".concat((0,d.Z)(n))]};return(0,s.Z)(l,m.w,t)})(P);return(0,g.jsx)(u.Z.Provider,{value:null,children:(0,g.jsx)(f,(0,n.Z)({as:x,ownerState:P,className:(0,l.Z)(E.root,Z),ref:t},w,{children:"string"!==typeof v||B?(0,g.jsxs)(i.Fragment,{children:["start"===R?r||(r=(0,g.jsx)("span",{className:"notranslate",children:"\u200b"})):null,v]}):(0,g.jsx)(c.Z,{color:"text.secondary",children:v})}))})}))},17815:(e,t,o)=>{o.d(t,{Z:()=>i,w:()=>n});var r=o(46849),a=o(96036);function n(e){return(0,a.ZP)("MuiInputAdornment",e)}const i=(0,r.Z)("MuiInputAdornment",["root","filled","standard","outlined","positionStart","positionEnd","disablePointerEvents","hiddenLabel","sizeSmall"])},88781:(e,t,o)=>{o.d(t,{Z:()=>a});var r=o(5057);function a(e){return r.Children.toArray(e).filter((e=>r.isValidElement(e)))}},67654:(e,t,o)=>{var r=o(5057),a=o(77931);t.Z=function(e,t,o){if(!a.isBrowser)return[t,a.noop,a.noop];if(!e)throw new Error("useLocalStorage key may not be falsy");var n=o?o.raw?function(e){return e}:o.deserializer:JSON.parse,i=r.useRef((function(e){try{var r=o?o.raw?String:o.serializer:JSON.stringify,a=localStorage.getItem(e);return null!==a?n(a):(t&&localStorage.setItem(e,r(t)),t)}catch(l){return t}})),l=r.useState((function(){return i.current(e)})),s=l[0],d=l[1];r.useLayoutEffect((function(){return d(i.current(e))}),[e]);var c=r.useCallback((function(t){try{var r="function"===typeof t?t(s):t;if("undefined"===typeof r)return;var a=void 0;a=o?o.raw?"string"===typeof r?r:JSON.stringify(r):o.serializer?o.serializer(r):JSON.stringify(r):JSON.stringify(r),localStorage.setItem(e,a),d(n(a))}catch(l){}}),[e,d]),u=r.useCallback((function(){try{localStorage.removeItem(e),d(void 0)}catch(l){}}),[e,d]);return[s,c,u]}}}]);
@@ -1 +1 @@
1
- "use strict";(self.webpackChunk_abtnode_webapp=self.webpackChunk_abtnode_webapp||[]).push([[9552],{39552:(e,n,t)=>{t.r(n),t.d(n,{default:()=>Ee});var s=t(5057),a=t(39948),o=t(11750),i=t(68420),c=t(29054),l=t(44846),r=t(55372),d=t(47020),p=t(28726),h=t(88577),m=t(6352),u=t.n(m),x=t(86229),g=t(17682),f=t(13128),y=t(88574),v=t(65873),j=t(60344),Z=t(46090),A=t(58238),k=t(56277),C=t(84584),b=t(85531),S=t(96266);function w(e){let{...n}=e;const{blocklet:t}=(0,c.y0)(),{info:m}=(0,A.h6)(),{t:w,locale:B}=(0,i.PE)(),[I,U]=(0,s.useState)(""),[D,E]=(0,s.useState)(!1),[R,T]=(0,s.useState)(!1),[F,O]=(0,s.useState)(""),L=(0,k.Z)({blocklet:t}),M=(0,Z.yP)(m),{spaceGateways:P,addSpaceGateway:N}=(0,b.XN)(),[z,J]=(0,s.useState)({open:!1,action:"connect-to-did-spaces",checkTimeout:3e5,checkFn:j.od.create({baseURL:u()(window.location.origin,(0,Z.Y5)())}).get,messages:{title:w("storage.spaces.provideNFT.title",{appName:L.appName},B),scan:w("storage.spaces.provideNFT.scan",{appName:L.appName},B),confirm:"",success:(0,S.jsx)(o.Z,{gutterBottom:!0,children:w("storage.spaces.provideNFT.success")})},onClose:()=>{J((e=>({...e,open:!1})))}}),[G,Q]=(0,s.useState)({open:!1,action:"one-click-authorization",checkTimeout:3e5,messages:{title:w("storage.spaces.authorize.title",{appName:L.appName},B),scan:w("storage.spaces.authorize.scan",{appName:L.appName},B),confirm:"",success:(0,S.jsx)(o.Z,{gutterBottom:!0,children:w("storage.spaces.authorize.success")})},onClose:()=>{Q((e=>({...e,open:!1})))}}),H=async e=>{var n;let{endpoint:t,name:s,did:a}=e;const o=await(0,C.Z3)(t);if(!await(0,C.w2)(o))return void x.Z.error(w("storage.spaces.gateway.add.invalidUrl"));if(P.some((e=>e.endpoint===t)))return void x.Z.error(w("storage.spaces.gateway.add.duplicate",{name:s}));const i={name:s,did:a,url:o,endpoint:t};await N(i,t),x.Z.success(w("storage.spaces.connectedWithName",{name:null!==(n=null===i||void 0===i?void 0:i.name)&&void 0!==n?n:"DID Spaces"}))},V=async(e,n)=>{try{if((0,v.isEmpty)(e.spaceGateway)){const t=n(e.endpoint),s=e.space?n(e.space):{};await H({endpoint:t,did:(0,C.LQ)(t),name:"DID Space",...s})}else await H(n(e.spaceGateway));Q((e=>({...e,open:!1}))),U(null),J((e=>({...e,open:!1})))}catch(t){console.error(t),x.Z.error((0,Z.Z)(t))}},X=async()=>{try{E(!0);const e=await(0,C.Z3)(I),n=(0,C.ag)(e),t=new URL(e).searchParams.get("spaceDid");if(!await(0,C.w2)(n))throw new Error(w("storage.spaces.gateway.add.invalidUrl"));Q((e=>({...e,open:!0,prefix:u()(n,"space/api/did"),baseUrl:new URL(n).origin,checkFn:j.od.create({baseURL:u()(n,"space")}).get,extraParams:{appDid:L.appDid,appName:L.appName,appDescription:L.appDescription,scopes:L.scopes,appUrl:L.appUrl,referrer:L.referrer,nodeDid:m.did,spaceDid:t}}))),T(!1)}catch(e){const n="".concat(w("storage.spaces.gateway.add.failed",B),": ").concat((0,Z.Z)(e));O(n)}finally{E(!1)}};return(0,S.jsxs)(a.Z,{children:[(0,S.jsx)(g.Z,{color:"primary",style:{textTransform:"none !important",fontSize:"1rem"},size:"small",onClick:()=>{J((e=>({...e,open:!0,extraParams:{appPid:t.appPid,appName:L.appName,appDescription:L.appDescription,scopes:L.scopes,appUrl:L.appUrl,referrer:L.referrer,nodeDid:m.did}})))},menu:[(0,S.jsx)(g.Z.Item,{sx:{textTransform:"none"},onClick:()=>T(!0),size:"small",...n,children:w("storage.spaces.connect.useSpaceGateway")},"1")],children:(0,S.jsx)(o.Z,{sx:{fontWeight:"bold",textTransform:"none"},children:w("storage.spaces.connect.useWallet")})}),(0,S.jsx)(h.Z,{forceConnected:!1,saveConnect:!1,prefix:z.prefix,open:z.open,popup:!0,action:z.action,webWalletUrl:M,baseUrl:z.baseUrl,checkFn:z.checkFn,onSuccess:V,onClose:z.onClose,checkTimeout:z.checkTimeout,extraParams:z.extraParams,messages:z.messages,locale:B}),(0,S.jsx)(h.Z,{forceConnected:!1,saveConnect:!1,prefix:G.prefix,open:G.open,popup:!0,action:G.action,baseUrl:G.baseUrl,checkFn:G.checkFn,onSuccess:V,onClose:G.onClose,checkTimeout:G.checkTimeout,extraParams:G.extraParams,messages:G.messages,locale:B}),(0,S.jsxs)(f.ZP,{title:w("storage.spaces.gateway.add.title"),fullWidth:!0,maxWidth:"md",open:R,onClose:()=>T(!1),PaperProps:{style:{minHeight:"auto"}},actions:(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)(p.Z,{onClick:e=>{e.stopPropagation(),T(!1)},color:"inherit",children:w("common.cancel")}),(0,S.jsxs)(p.Z,{onClick:X,color:"primary",disabled:D||!I,variant:"contained",autoFocus:!0,children:[D&&(0,S.jsx)(l.Z,{size:16}),w("common.confirm")]})]}),children:[(0,S.jsx)("div",{style:{paddingTop:12,overflowY:"hidden"},children:(0,S.jsx)(r.Z,{component:"div",children:(0,S.jsx)(o.Z,{component:"div",children:(0,S.jsx)(d.Z,{label:w("storage.spaces.gateway.add.label"),autoComplete:"off",variant:"outlined",name:"url",fullWidth:!0,value:I,onChange:e=>{O(null),U(e.target.value)},disabled:D,onKeyPress:async e=>{"Enter"===e.key&&await X()},autoFocus:!0})})})}),Boolean(F)&&(0,S.jsx)(y.Z,{type:"error",style:{width:"100%"},children:F})]})]})}w.propTypes={},w.defaultProps={};const B=w;var I,U=t(71171),D=t(33518),E=t(55898),R=t.n(E),T=t(38898),F=t(64886);function O(e){let{blocklet:n,...t}=e;const{t:a}=(0,s.useContext)(i.RD);if(!n.diskInfo)return(0,S.jsx)(o.Z,{children:a("blocklet.diskInfo.empty")});const c=(e,n,t)=>(0,S.jsxs)(o.Z,{children:[t?(0,S.jsx)(T.Z,{style:{cursor:"pointer"},onClick:t,underline:"hover",children:e}):e," ",(0,S.jsx)("strong",{children:n?(0,Z.Gw)(n):"empty"})]}),l=n.environments.reduce(((e,n)=>(e[n.key]=n.value,e)),{}),r=[{key:"appDir",name:a("blocklet.diskInfo.appDir"),value:c(l.BLOCKLET_APP_DIR,n.diskInfo.app)},{key:"dataDir",name:a("blocklet.diskInfo.dataDir"),value:c(l.BLOCKLET_DATA_DIR,n.diskInfo.data)},{key:"logDir",name:a("blocklet.diskInfo.logDir"),value:c(l.BLOCKLET_LOG_DIR,n.diskInfo.log)},{key:"cacheDir",name:a("blocklet.diskInfo.cacheDir"),value:c(l.BLOCKLET_CACHE_DIR,n.diskInfo.cache)}];return(0,S.jsx)(L,{component:"div",...t,children:r.map((e=>(0,S.jsx)(F.Z,{valueComponent:"div",nameWidth:120,name:e.name,children:e.value},e.key)))})}O.propTypes={blocklet:R().object.isRequired},O.defaultProps={};const L=(0,D.Z)(o.Z)(I||(I=(0,U.Z)([""])));var M=function(e){return(0,S.jsxs)("svg",{...e,children:[(0,S.jsxs)("g",{filter:"url(#a)",children:[(0,S.jsx)("path",{d:"M56.97 2a12 12 0 0 0-8.485 3.515l-40.97 40.97A12 12 0 0 0 4 54.971V240c0 6.627 5.373 12 12 12h196c6.627 0 12-5.373 12-12V14c0-6.627-5.373-12-12-12H56.97Z",fill:"#DDD"}),(0,S.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"m49.192 6.222-40.97 40.97A11 11 0 0 0 5 54.971V240c0 6.075 4.925 11 11 11h196c6.075 0 11-4.925 11-11V14c0-6.075-4.925-11-11-11H56.97a11 11 0 0 0-7.778 3.222Zm-.707-.707A12 12 0 0 1 56.971 2H212c6.627 0 12 5.373 12 12v226c0 6.627-5.373 12-12 12H16c-6.627 0-12-5.373-12-12V54.97a12 12 0 0 1 3.515-8.485l40.97-40.97Z",fill:"#000",fillOpacity:".08"}),(0,S.jsx)("mask",{id:"b",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"4",y:"2",width:"220",height:"250",children:(0,S.jsx)("path",{d:"M56.97 2a12 12 0 0 0-8.485 3.515l-40.97 40.97A12 12 0 0 0 4 54.971V240c0 6.627 5.373 12 12 12h196c6.627 0 12-5.373 12-12V14c0-6.627-5.373-12-12-12H56.97Z",fill:"#D9D9D9"})}),(0,S.jsxs)("g",{mask:"url(#b)",children:[(0,S.jsx)("path",{opacity:".5",fill:"url(#c)",d:"M4 2h220v128H4z"}),(0,S.jsx)("path",{opacity:".1",fill:"url(#d)",d:"M4 130h220v122H4z"}),(0,S.jsx)("path",{d:"M33.045 169h-3.767v-11.636h3.887c1.14 0 2.12.233 2.937.698a4.61 4.61 0 0 1 1.881 1.995c.44.863.659 1.899.659 3.108 0 1.212-.222 2.254-.665 3.125a4.668 4.668 0 0 1-1.909 2.011c-.833.466-1.84.699-3.023.699Zm-2.01-1.534h1.914c.886 0 1.623-.167 2.21-.5a3.152 3.152 0 0 0 1.318-1.46c.292-.64.438-1.421.438-2.341 0-.913-.146-1.688-.438-2.324a3.095 3.095 0 0 0-1.29-1.449c-.572-.33-1.282-.494-2.13-.494h-2.023v8.568Zm11.546-10.102V169h-1.756v-11.636h1.756ZM48.905 169h-3.767v-11.636h3.886c1.14 0 2.12.233 2.938.698a4.609 4.609 0 0 1 1.88 1.995c.44.863.66 1.899.66 3.108 0 1.212-.222 2.254-.665 3.125a4.667 4.667 0 0 1-1.91 2.011c-.833.466-1.84.699-3.022.699Zm-2.011-1.534h1.914c.887 0 1.623-.167 2.21-.5a3.151 3.151 0 0 0 1.319-1.46c.291-.64.437-1.421.437-2.341 0-.913-.146-1.688-.437-2.324a3.095 3.095 0 0 0-1.29-1.449c-.572-.33-1.282-.494-2.13-.494h-2.023v8.568Zm20.372-7.046a1.662 1.662 0 0 0-.75-1.25c-.44-.299-.993-.448-1.66-.448-.477 0-.89.075-1.238.227a1.91 1.91 0 0 0-.813.613c-.189.258-.284.552-.284.881 0 .277.065.515.194.716.132.201.304.369.516.506.216.132.447.244.694.335.246.087.483.159.71.216l1.136.295c.371.091.752.214 1.142.37.39.155.752.36 1.086.613.333.254.602.568.806.944.209.374.313.823.313 1.346 0 .659-.17 1.244-.511 1.756-.338.511-.828.915-1.472 1.21-.64.295-1.415.443-2.324.443-.871 0-1.625-.138-2.261-.415-.637-.276-1.135-.668-1.495-1.176-.36-.511-.558-1.117-.596-1.818h1.761c.034.421.17.771.41 1.051.242.277.55.483.925.62.38.132.794.198 1.245.198.496 0 .937-.077 1.324-.233.39-.159.697-.378.92-.659a1.56 1.56 0 0 0 .335-.994c0-.345-.098-.627-.295-.847a2.191 2.191 0 0 0-.79-.545 7.725 7.725 0 0 0-1.12-.381l-1.374-.375c-.932-.253-1.67-.627-2.216-1.119-.542-.492-.813-1.144-.813-1.955 0-.67.182-1.255.546-1.755.363-.5.856-.888 1.477-1.165.621-.28 1.322-.42 2.102-.42.788 0 1.483.138 2.085.414.607.277 1.084.658 1.432 1.142.349.481.53 1.034.546 1.659h-1.693Zm3.813 11.853v-12h1.66v1.415h.142c.098-.182.24-.393.426-.631.185-.239.443-.447.772-.625.33-.182.766-.273 1.307-.273.705 0 1.334.178 1.887.534.553.356.987.869 1.3 1.54.319.67.478 1.477.478 2.42 0 .944-.157 1.752-.472 2.427-.314.67-.746 1.187-1.295 1.551-.55.36-1.176.539-1.88.539-.53 0-.965-.089-1.302-.267a2.457 2.457 0 0 1-.784-.625 4.667 4.667 0 0 1-.437-.636h-.103v4.631H71.08Zm1.665-7.637c0 .614.09 1.152.267 1.614.178.462.436.824.773 1.085.337.258.75.387 1.239.387.507 0 .931-.135 1.273-.404.34-.273.598-.642.772-1.108.178-.466.267-.99.267-1.574 0-.575-.087-1.092-.261-1.551-.17-.458-.428-.82-.773-1.085-.34-.265-.767-.398-1.278-.398-.493 0-.91.127-1.25.381-.337.254-.593.608-.767 1.062-.175.455-.262.985-.262 1.591Zm10.75 4.557a3.557 3.557 0 0 1-1.5-.307 2.523 2.523 0 0 1-1.062-.903c-.258-.394-.386-.877-.386-1.449 0-.492.094-.898.283-1.216.19-.318.446-.57.768-.756a4.036 4.036 0 0 1 1.08-.42c.397-.095.802-.167 1.215-.216l1.273-.148c.325-.041.562-.108.71-.198.148-.091.222-.239.222-.444v-.039c0-.497-.14-.881-.42-1.154-.277-.273-.69-.409-1.24-.409-.572 0-1.022.127-1.352.381-.325.25-.55.528-.676.835l-1.597-.364c.19-.53.466-.958.83-1.284.368-.329.79-.568 1.267-.716.477-.151.98-.227 1.506-.227.348 0 .718.042 1.108.125.394.08.761.227 1.102.443.345.216.627.525.847.926.22.398.33.915.33 1.552V169h-1.66v-1.193h-.068c-.11.22-.275.435-.495.648-.22.212-.501.388-.846.528s-.758.21-1.239.21Zm.37-1.363c.47 0 .87-.093 1.204-.279.337-.185.593-.428.767-.727.178-.303.267-.627.267-.972v-1.125c-.06.061-.178.118-.352.171-.17.049-.365.093-.585.13-.22.034-.434.067-.642.097l-.523.068c-.33.042-.63.112-.903.21a1.553 1.553 0 0 0-.648.427c-.16.181-.239.424-.239.727 0 .42.156.738.466.954.31.212.707.319 1.188.319Zm9.876 1.346c-.845 0-1.572-.191-2.182-.574a3.796 3.796 0 0 1-1.398-1.596c-.325-.678-.488-1.455-.488-2.33 0-.886.166-1.668.5-2.346a3.832 3.832 0 0 1 1.409-1.597c.606-.383 1.32-.574 2.142-.574.663 0 1.254.123 1.773.369.519.243.937.584 1.255 1.023.322.44.514.953.574 1.54h-1.653c-.091-.409-.3-.761-.625-1.057-.322-.295-.754-.443-1.296-.443a2.11 2.11 0 0 0-1.244.375c-.352.246-.627.598-.824 1.057-.197.454-.295.992-.295 1.613 0 .637.096 1.186.29 1.648.193.462.466.82.818 1.074.356.254.774.381 1.255.381.322 0 .614-.059.875-.177.266-.121.487-.293.665-.517.182-.223.309-.492.38-.806h1.654a3.211 3.211 0 0 1-.55 1.511 3.165 3.165 0 0 1-1.234 1.045c-.511.254-1.111.381-1.8.381Zm9.163 0c-.859 0-1.6-.184-2.221-.551a3.732 3.732 0 0 1-1.432-1.563c-.333-.674-.5-1.464-.5-2.369 0-.894.167-1.682.5-2.363a3.887 3.887 0 0 1 1.409-1.597c.606-.383 1.314-.574 2.125-.574.493 0 .97.082 1.432.244.462.163.877.419 1.244.767.368.349.657.802.87 1.358.212.553.318 1.226.318 2.017v.603H99.71v-1.273h5.273c0-.447-.091-.843-.273-1.187a2.052 2.052 0 0 0-.767-.824c-.326-.201-.708-.302-1.148-.302a2.22 2.22 0 0 0-1.25.353 2.364 2.364 0 0 0-.818.909 2.626 2.626 0 0 0-.284 1.21v.994c0 .584.102 1.08.307 1.489.208.409.498.722.869.938.372.212.805.318 1.301.318a2.7 2.7 0 0 0 .881-.137c.265-.094.494-.234.688-.42.193-.186.341-.415.443-.688l1.608.29c-.129.474-.36.888-.693 1.244-.33.353-.745.627-1.245.824-.496.194-1.062.29-1.699.29Z",fill:"#fff"}),(0,S.jsx)("path",{d:"M117.604 47.263 121.523 45h14.267v41.862h-14.267l-15.335-8.854V53.854l1.818-1.05 3.2 1.848-1.818 1.05V76.16l12.993 7.502h10.209V48.2h-10.209l-1.577.91-3.2-1.847Z",fill:"url(#e)"}),(0,S.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M119.402 76.16V55.701L106.409 48.2H96.2v35.462h10.209l1.582-.913 3.2 1.847-3.924 2.266H93V45h14.267l15.335 8.854v24.154l-1.813 1.046-3.2-1.847 1.813-1.047Z",fill:"url(#f)"}),(0,S.jsxs)("g",{clipPath:"url(#g)",fillRule:"evenodd",clipRule:"evenodd",fill:"#fff",children:[(0,S.jsx)("path",{d:"m50.928 216.089 1.034 2.852h-2.503l1.028-2.842a4.95 4.95 0 0 0 .107-.338 7.17 7.17 0 0 0 .111-.409c.075.297.15.542.223.737Zm2.28 5.591h.796l-2.775-7.352h-1.043l-2.774 7.352h.795a.338.338 0 0 0 .223-.077.425.425 0 0 0 .127-.179l.615-1.705h3.07l.617 1.705a.399.399 0 0 0 .126.184.339.339 0 0 0 .223.072Zm4.823-.963a2.023 2.023 0 0 1-.67.098h-1.455v-2.453h1.456c.5 0 .871.106 1.11.318.24.208.36.495.36.86 0 .184-.028.355-.083.512a1.005 1.005 0 0 1-.262.399 1.2 1.2 0 0 1-.456.266Zm-2.125-3.128v-2.406h1.237c.498 0 .865.095 1.101.286.236.192.355.497.355.917 0 .369-.125.662-.374.881-.246.215-.623.322-1.13.322h-1.189Zm2.358-3.128a4.106 4.106 0 0 0-1.12-.133h-2.27v7.352h2.507c.391 0 .74-.051 1.048-.154.307-.102.566-.247.776-.435.21-.188.37-.409.48-.665.11-.26.165-.547.165-.861 0-.904-.506-1.462-1.518-1.674.22-.075.41-.169.572-.281a1.79 1.79 0 0 0 .403-.379c.106-.144.186-.297.237-.461.052-.164.078-.335.078-.512a2.1 2.1 0 0 0-.146-.804 1.49 1.49 0 0 0-.441-.609 2.073 2.073 0 0 0-.771-.384Zm7.535.778h-2.212v6.441h-1.028v-6.441h-2.222v-.911H65.8v.911Zm2.439.564h-1.13v1.193h1.13v-1.193Zm-1.13 2.983h1.13v1.193h-1.13v-1.193Z",fillOpacity:".8"}),(0,S.jsx)("path",{d:"M28.247 221.771V214h3.894c.99.072 1.765.944 1.765 1.998v3.77c0 1.106-.85 2.003-1.897 2.003h-3.762ZM36.355 214h-1.011v7.783h1.01V214Zm-7.097 6.704v-5.642h2.751c.49 0 .886.419.886.936v3.77c0 .517-.396.936-.886.936h-2.75ZM37.775 214v7.771h3.762c1.047 0 1.897-.897 1.897-2.003v-3.77c0-1.054-.774-1.926-1.765-1.998h-3.894Zm6.946 1.803h1.13v1.193h-1.13v-1.193Zm1.13 2.983h-1.13v1.193h1.13v-1.193Zm-7.065-3.724v5.642h2.75c.49 0 .887-.419.887-.936v-3.77c0-.517-.397-.936-.886-.936h-2.751Z"})]}),(0,S.jsx)("circle",{cx:"191.32",cy:"218",r:"10",fill:"url(#h)"}),(0,S.jsx)("path",{d:"m192.064 213.333.976-.564h3.554v10.427h-3.286a1 1 0 0 1-.5-.134l-3.588-2.071v-6.016l.453-.262.797.46-.453.262v5.096l3.237 1.868h2.543v-8.833h-2.543l-.393.227-.797-.46Z",fill:"#fff"}),(0,S.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M192.512 220.531v-5.096l-3.237-1.869h-2.543v8.833h2.543l.394-.227.797.46-.977.564h-3.554v-10.427h3.554l3.82 2.206v6.016l-.452.261-.797-.461.452-.26Z",fill:"#fff"})]})]}),(0,S.jsxs)("defs",{children:[(0,S.jsxs)("linearGradient",{id:"d",x1:"114",y1:"130",x2:"114",y2:"252",gradientUnits:"userSpaceOnUse",children:[(0,S.jsx)("stop",{stopColor:"#101010"}),(0,S.jsx)("stop",{offset:"1",stopColor:"#272727"})]}),(0,S.jsxs)("linearGradient",{id:"e",x1:"120.989",y1:"45",x2:"120.989",y2:"86.862",gradientUnits:"userSpaceOnUse",children:[(0,S.jsx)("stop",{stopColor:"#fff",stopOpacity:".4"}),(0,S.jsx)("stop",{offset:"1",stopColor:"#fff"})]}),(0,S.jsxs)("linearGradient",{id:"f",x1:"107.801",y1:"45",x2:"107.801",y2:"86.862",gradientUnits:"userSpaceOnUse",children:[(0,S.jsx)("stop",{stopColor:"#fff"}),(0,S.jsx)("stop",{offset:"1",stopColor:"#fff",stopOpacity:".4"})]}),(0,S.jsxs)("radialGradient",{id:"h",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"matrix(17 -8.76924 6.97565 13.52294 183.166 221)",children:[(0,S.jsx)("stop",{stopColor:"#016BED"}),(0,S.jsx)("stop",{offset:".699",stopColor:"#4498FB"}),(0,S.jsx)("stop",{offset:"1",stopColor:"#9DFFE8"})]}),(0,S.jsx)("clipPath",{id:"g",children:(0,S.jsx)("path",{fill:"#fff",transform:"translate(28 214)",d:"M0 0h40.32v8H0z"})}),(0,S.jsx)("pattern",{id:"c",patternContentUnits:"objectBoundingBox",width:"1",height:"1",children:(0,S.jsx)("use",{xlinkHref:"#i",transform:"scale(.00455 .00781)"})}),(0,S.jsxs)("filter",{id:"a",x:"0",y:"0",width:"228",height:"258",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[(0,S.jsx)("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),(0,S.jsx)("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),(0,S.jsx)("feOffset",{dy:"2"}),(0,S.jsx)("feGaussianBlur",{stdDeviation:"2"}),(0,S.jsx)("feComposite",{in2:"hardAlpha",operator:"out"}),(0,S.jsx)("feColorMatrix",{values:"0 0 0 0 0.0631944 0 0 0 0 0.242785 0 0 0 0 0.403472 0 0 0 0.2 0"}),(0,S.jsx)("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_1410_22507"}),(0,S.jsx)("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_1410_22507",result:"shape"})]}),(0,S.jsx)("image",{id:"i",width:"220",height:"128",x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P3tpATkHsNwloUilnNMFce7twgDgrgWhsE8jWW+EBLlTDMn9pmtJOefTJc6Cxld039TN4XiwL4pMtU+8tXJ4g/LghG5APdF7/e3FSi4v8vnEBiIEm+5LlZtsk2LbbbY5hN9JkkJkd5BjQFPoUcwjJdTm0mx0024NmOvVgxASvU9TonFxUqG8cUTy3m5s3i7BqLbFkKcfxLQYhAXfjam0yFFd3PZE9wlXWfHYKlg2cFlTcnwRH6z8DpSfQHidMhElmCMb07li9ceHQHFknk/98f4KJRLpX6xQEXVAnJxlr8Aw6/qb0wu9SNolstScB0izxmMC5DiytBJd9Rcm3RGf42aiddmUTM4d4dgdjiT+vMPX0/RzfZdLoZ4aQqPzhx9plNI3QyvsMZHn2j2wOECoTtkfJt89O+eYUnXB/gFxHxPmOeL9ogAAAABJRU5ErkJggg=="})]})]})};function P(){const{t:e}=(0,i.PE)(),{blocklet:n}=(0,c.y0)();return(0,S.jsxs)(a.Z,{children:[(0,S.jsxs)(a.Z,{minHeight:"40vh",display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",alignContent:"center",children:[(0,S.jsx)(M,{style:{width:200,height:250}}),(0,S.jsx)(o.Z,{marginTop:"24px",marginBottom:"24px",children:e("storage.spaces.connect.provider")}),(0,S.jsx)(B,{})]}),(0,S.jsx)(o.Z,{fontSize:"1.2rem",fontWeight:"bold",mb:2,children:e("common.dataStorage")}),(0,S.jsx)(O,{blocklet:n})]})}M.defaultProps={width:"228",height:"258",fill:"none",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},P.propTypes={};const N=P;var z=t(15715),J=t(19654),G=t(99154),Q=t(77277),H=t(79366),V=t(42876),X=t(17450),K=t(44784),Y=t(67680),W=t(61533),q=t(74490),_=t(46954),$=t(44067),ee=t(83294),ne=t(45396),te=t(14482),se=t(85733),ae=t(47595),oe=t(60939);function ie(e){let{spaceGateway:n,onDelete:t}=e;const{t:a}=(0,i.PE)(),[o,c]=(0,s.useState)(!1),[l,r]=(0,s.useState)(!1),d=(e,n)=>{null===e||void 0===e||e.preventDefault(),null===e||void 0===e||e.stopPropagation(),c(n)};return(0,S.jsxs)(S.Fragment,{children:[(0,S.jsxs)(q.Z,{color:"red",onClick:e=>d(e,!0),children:[(0,S.jsx)(_.Z,{style:{minWidth:24,color:"red"},children:(0,S.jsx)(ae.default,{fontSize:"small"})}),(0,S.jsx)($.Z,{style:{color:"red"},children:a("common.delete")})]}),(0,S.jsx)(oe.Z,{title:a("common.delConfirmDescription",{data:"".concat(null===n||void 0===n?void 0:n.name)}),open:o,confirmButton:{text:a("common.confirm"),props:{variant:"contained",color:"error",loading:l}},cancelButton:{text:a("common.cancel"),props:{variant:"contained",color:"primary"},loading:l},onConfirm:async e=>{try{null===e||void 0===e||e.stopPropagation(),r(!0),await t(n),c(!1)}catch(s){console.error(s),x.Z.error("".concat(a("storage.space.gateway.delete.failed"),": ").concat((0,Z.Z)(s)))}finally{r(!1)}},onCancel:e=>d(e,!1)})]})}ie.propTypes={onDelete:R().func,spaceGateway:R().shape({name:R().string.isRequired,url:R().string.isRequired,protected:R().bool}).isRequired},ie.defaultProps={onDelete:()=>{}};const ce=ie;function le(e){let{spaceGateway:n,connected:t,onDelete:a,onConnect:o,enableSwitchToSpace:c,backupInProgress:r,...d}=e;const[p,h]=(0,s.useState)(null),{t:m}=(0,i.PE)(),[u,g]=(0,s.useState)(!1),f=(e,n)=>{e.stopPropagation(),e.preventDefault(),h(n&&e.currentTarget)};return(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)(Y.Z,{"aria-label":"more","aria-controls":"actions-menu","aria-haspopup":"true","data-cy":"trigger-blocklet-actions",onClick:e=>f(e,!0),size:"small",...d,children:u||null!==n&&void 0!==n&&n.loading?(0,S.jsx)(l.Z,{size:"24px"}):(0,S.jsx)(ee.Z,{})}),(0,S.jsxs)(W.Z,{id:"simple-menu",anchorEl:p,keepMounted:!0,open:Boolean(p),onClose:e=>f(e,!1),children:[(0,S.jsxs)(q.Z,{onClick:e=>{f(e,!1),window.open(n.endpoint?(0,C.nD)(n.endpoint):n.url)},children:[(0,S.jsx)(_.Z,{style:{minWidth:24},children:(0,S.jsx)(ne.Z,{fontSize:"small"})}),(0,S.jsx)($.Z,{children:m("common.open")})]}),(0,S.jsxs)(q.Z,{onClick:e=>{f(e,!1),window.open((0,C.Xv)(n.endpoint))},children:[(0,S.jsx)(_.Z,{style:{minWidth:24},children:(0,S.jsx)(se.Z,{fontSize:"small"})}),(0,S.jsx)($.Z,{children:m("storage.spaces.strategy.viewBackupFiles")})]}),!t&&c&&(0,S.jsxs)(q.Z,{onClick:async e=>{try{g(!0),f(e,!1),await o(n)}catch(t){console.error(t),x.Z.error(t.message)}finally{g(!1)}},children:[(0,S.jsx)(_.Z,{style:{minWidth:24},children:(0,S.jsx)(te.Z,{fontSize:"small"})}),(0,S.jsx)($.Z,{children:m("storage.spaces.connect.switchToSpace")})]}),!r&&(0,S.jsx)(ce,{spaceGateway:n,onDelete:a})]})]})}le.propTypes={spaceGateway:R().shape({name:R().string.isRequired,url:R().string.isRequired,protected:R().bool,endpoint:R().string.isRequired,loading:R().bool}).isRequired,connected:R().bool.isRequired,enableSwitchToSpace:R().bool,onDelete:R().func,onConnect:R().func,backupInProgress:R().bool},le.defaultProps={onDelete:()=>{},onConnect:()=>{},enableSwitchToSpace:!0,backupInProgress:!1};const re=le;var de,pe=t(54063),he=t(39565),me=function(e){return(0,S.jsx)("svg",{...e,children:(0,S.jsx)("circle",{cx:"4",cy:"4",r:"4",fill:"#25C99B"})})};me.defaultProps={width:"8",height:"8",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var ue=function(e){return(0,S.jsx)("svg",{...e,children:(0,S.jsx)("circle",{cx:"4",cy:"4",r:"4",fill:"#F16E6E"})})};function xe(e){let{spaceGateway:n,connected:t,onDelete:l,onBackupNow:r,...d}=e;const m=(0,z.Z)((e=>e.breakpoints.down("md"))),{t:g,locale:f}=(0,i.PE)(),{blocklet:y}=(0,c.y0)(),{api:Z,info:{did:w}}=(0,A.h6)(),{appDid:B,appName:I,appDescription:U,scopes:D,appUrl:E,referrer:R}=(0,k.Z)({blocklet:y}),{updateSpaceGateway:T,backupEndpoint:F,backupProgress:O,refreshBackupEndpoint:L}=(0,b.XN)(),[M,P]=(0,s.useState)(!1),[N,Y]=(0,s.useState)({open:!1,action:"one-click-authorization",checkTimeout:3e5,messages:{title:g("storage.spaces.authorize.title",{appName:I},f),scan:g("storage.spaces.authorize.scan",{appName:I},f),confirm:"",success:(0,S.jsx)(o.Z,{gutterBottom:!0,children:g("storage.spaces.authorize.success")})},onClose:()=>{Y((e=>({...e,open:!1})))}}),{data:W,loading:q}=(0,H.Z)((async()=>!t||(0,C.Nb)(F)),{refreshDeps:[t,F,null===N||void 0===N?void 0:N.open,M]}),_=t&&W,$=t&&!M&&W&&!(null!==n&&void 0!==n&&n.loading),ee=t&&M&&W,ne=t&&!W&&!q&&!M,te=async()=>{if(await(0,C.Nb)(null===n||void 0===n?void 0:n.endpoint))return await Z.configBlocklet({input:{did:[y.meta.did],configs:[{key:Q.BLOCKLET_CONFIGURABLE_KEY.BLOCKLET_APP_BACKUP_ENDPOINT,value:n.endpoint}]}}),L(),void x.Z.success(g("storage.spaces.connect.switchToSpaceSucceeded",{name:n.name?"(".concat(n.name,")"):""}));Y((e=>({...e,open:!0,prefix:u()(n.url,"space/api/did"),baseUrl:new URL(n.url).origin,checkFn:j.od.create({baseURL:u()(n.url,"space")}).get,extraParams:{appDid:B,appName:I,appDescription:U,scopes:D,appUrl:E,referrer:R,nodeDid:w,spaceDid:n.did}})))};return(0,s.useEffect)((()=>{null!==O&&void 0!==O&&O.completed?(100===(null===O||void 0===O?void 0:O.progress)?x.Z.success(g("storage.spaces.backupSuccessfully")):-1===(null===O||void 0===O?void 0:O.progress)&&x.Z.error(null===O||void 0===O?void 0:O.message),P(!1),O.progress=0,O.message=""):O.progress&&P(!0)}),[O]),(0,S.jsxs)(ge,{style:{position:"relative"},children:[(0,S.jsxs)(a.Z,{sx:{backgroundColor:t?"#F0FDFF":"inherit","&:hover":{backgroundColor:t?"#F0FDFF":"#FBFBFB"},borderRadius:"8px"},display:"flex",padding:"12px 20px",...d,children:[(0,S.jsx)(a.Z,{display:"flex",children:(0,S.jsx)(he.Z,{alt:n.did,src:(0,C.Jf)(n.endpoint)})}),(0,S.jsxs)(a.Z,{className:"spaces-info",display:"flex",flexGrow:(!m||!ee)&&1,minWidth:"180px",flexDirection:ee?"row":"column",sx:{marginLeft:"20px",padding:"0px 0px"},children:[(0,S.jsxs)(a.Z,{className:"spaces-info",display:"flex",maxWidth:"360px",alignItems:"center",children:[(0,S.jsx)(o.Z,{color:t?"primary":"inherit",fontSize:"1rem",fontWeight:"bold",children:n.name}),_&&(0,S.jsx)(J.Z,{label:(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)(me,{style:{marginRight:"4px"}}),g("storage.spaces.connected.tag")]}),variant:"outlined",size:"small",style:{marginLeft:"20px",fontWeight:"bold"}}),ne&&(0,S.jsx)(J.Z,{label:(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)(ue,{style:{marginRight:"4px"}}),g("storage.spaces.disconnected.tag")]}),variant:"outlined",size:"small",style:{marginLeft:"20px",fontWeight:"bold"}})]}),(0,S.jsx)(a.Z,{className:"spaces-address",display:ee?"none":"flex",color:"#9397A1",marginTop:"8px",children:(0,S.jsx)(o.Z,{sx:{display:"inline-flex",alignItems:"center",fontSize:"14px"},color:"#9397A1",children:n.did&&(0,S.jsx)(X.Z,{copyable:!1,size:14,compact:!0,responsive:!1,did:n.did})})})]}),(0,S.jsxs)(a.Z,{className:"spaces-backup",display:"flex",alignItems:"center",flex:m&&ee&&1,children:[$&&(0,S.jsxs)(a.Z,{className:"backup-strategy",display:"flex",alignItems:"center",width:"100%",children:[(0,S.jsx)(p.Z,{variant:"contained",size:"small",onClick:async()=>{try{if(M)return;P(!0),await r()}catch(e){console.error(e),x.Z.error(e.message)}finally{P(!0)}},children:g("storage.spaces.strategy.backupNow")}),pe.C&&(0,S.jsx)(K.Z,{name:"enable-auto-backup",title:"coming soon",disabled:!0,labelProps:{label:(0,S.jsx)(o.Z,{sx:{marginRight:"8px",fontSize:"16px"},children:(0,S.jsx)("span",{children:g("storage.spaces.strategy.autoBackup")})})},style:{marginLeft:"64px"}})]}),ee&&(0,S.jsxs)(a.Z,{className:"backup-progress",display:"flex",flexDirection:"column",alignItems:"center",minWidth:!m&&"640px",marginLeft:m&&"16px",width:m&&"360px",marginRight:"auto",alignSelf:"flex-end",children:[(0,S.jsx)(o.Z,{color:"primary",children:null===O||void 0===O?void 0:O.message}),(0,S.jsxs)(a.Z,{sx:{display:"flex",alignItems:"center"},width:"100%",children:[(0,S.jsx)(a.Z,{sx:{width:"100%",mr:1},children:(0,S.jsx)(G.Z,{color:"primary",variant:"determinate",value:null===O||void 0===O?void 0:O.progress})}),(0,S.jsx)(a.Z,{sx:{maxWidth:"100%"},children:(0,S.jsxs)(o.Z,{variant:"body2",color:"text.secondary",children:[null===O||void 0===O?void 0:O.progress,"%"]})})]})]}),ne&&(0,S.jsx)(a.Z,{className:"backup-strategy",display:"flex",alignItems:"center",width:"100%",children:(0,S.jsx)(p.Z,{color:"error",variant:"contained",size:"small",onClick:te,children:g("storage.spaces.disconnected.reconnectNow")})}),(0,S.jsx)(re,{sx:{marginLeft:"16px",marginRight:"16px",alignItems:"flex-end",justifyItems:"flex-end"},spaceGateway:n,connected:t,onDelete:l,onConnect:te,enableSwitchToSpace:(null===O||void 0===O?void 0:O.completed)||(0,v.isEmpty)(null===O||void 0===O?void 0:O.message),backupInProgress:ee})]})]}),(0,S.jsx)(h.Z,{forceConnected:!1,saveConnect:!1,prefix:N.prefix,open:N.open,popup:!0,action:N.action,baseUrl:N.baseUrl,checkFn:N.checkFn,onSuccess:async(e,t)=>{var s,a;const o=t(e.endpoint),i=(0,C.LQ)(o),c=e.space?t(e.space):{};if(n.did&&i!==n.did)return Y((e=>({...e,open:!1}))),void x.Z.error(g("storage.spaces.gateway.switch.failedForMismatchSpace",{name:null!==c&&void 0!==c&&c.name?c.name:""}));const l={...n,name:null!==(s=c.name)&&void 0!==s?s:"DID Space",did:null!==(a=c.did)&&void 0!==a?a:(0,C.LQ)(o),endpoint:o};await T(l),Y((e=>({...e,open:!1})))},onClose:N.onClose,checkTimeout:N.checkTimeout,extraParams:N.extraParams,messages:N.messages,locale:f},"get-endpoint"),(0,S.jsx)(a.Z,{className:"selected-container ".concat(t?"selected":""),children:(0,S.jsx)(V.default,{className:"selected-icon"})})]})}ue.defaultProps={width:"8",height:"8",fill:"none",xmlns:"http://www.w3.org/2000/svg"},xe.propTypes={spaceGateway:R().shape({did:R().string.isRequired,name:R().string.isRequired,url:R().string.isRequired,endpoint:R().string.isRequired,protected:R().bool,loading:R().bool}).isRequired,connected:R().bool.isRequired,progress:R().any.isRequired,onDelete:R().func,onBackupNow:R().func},xe.defaultProps={onDelete:()=>{},onBackupNow:()=>{}};const ge=(0,D.Z)(a.Z)(de||(de=(0,U.Z)(["\n .selected-container {\n position: absolute;\n right: 0px;\n bottom: 0px;\n display: flex;\n -webkit-box-pack: end;\n justify-content: flex-end;\n align-items: flex-end;\n width: 32px;\n height: 32px;\n border-radius: 0px 0px 8px;\n color: rgb(255, 255, 255);\n overflow: hidden;\n transition: all 0.4s ease 0s;\n\n &::after {\n position: absolute;\n z-index: 0;\n left: 60px;\n top: 60px;\n display: block;\n width: 0px;\n height: 0px;\n border-width: 16px;\n border-style: solid;\n border-color: transparent #1dc1c7 #1dc1c7 transparent;\n transition: all 0.1s ease 0s;\n content: '';\n }\n\n .selected-icon {\n visibility: hidden;\n width: 60%;\n height: 60%;\n position: relative;\n z-index: 2;\n margin: 0px 1px 1px 0px;\n font-size: 16px;\n transition: all 0.2s ease 0s;\n }\n }\n\n .selected-container.selected {\n &::after {\n left: 0px;\n top: 0px;\n }\n\n .selected-icon {\n visibility: visible;\n }\n }\n"]))),fe=xe;var ye=t(19778),ve=t(75760),je=t(75239),Ze=t(21722),Ae=t(1577),ke=t.n(Ae),Ce=t(73119),be=t(35432);function Se(e){let{...n}=e;const{t:t,locale:s}=(0,i.PE)(),{spaceGateways:c,backups:r}=(0,b.XN)(),d=[{label:"DID Spaces",name:"target",options:{customBodyRenderLite:e=>{var n;const{targetUrl:t,targetName:s,status:a,createdAt:i}=r[e],l=a===be.BACKUPS.STATUS.PROGRESS&&ke()().diff(i,"hours")>=be.BACKUPS.TIMEOUT_HOURS,d=a===be.BACKUPS.STATUS.SUCCEEDED&&!l,p=s||(null===(n=c.find((e=>null===t||void 0===t?void 0:t.includes((0,C.LQ)(null===e||void 0===e?void 0:e.endpoint)))))||void 0===n?void 0:n.name)||"Unknown DID Space";return d?(0,S.jsx)(T.Z,{fontSize:"16px",href:t,target:"_blank",children:p}):(0,S.jsx)(o.Z,{variant:"body1",fontSize:"16px",children:p})}}},{label:t("common.strategy"),name:"strategy",options:{customBodyRender:e=>{const n=t(0===e?"common.auto":"common.manual");return(0,S.jsx)(ye.Z,{children:n})}}},{label:t("common.startTime"),name:"createdAt",options:{customBodyRender:e=>ke()(e).format("YYYY-MM-DD HH:mm:ss")}},{label:t("common.endTime"),name:"updatedAt",options:{customBodyRender:e=>(0,v.isEmpty)(e)?"":ke()(e).format("YYYY-MM-DD HH:mm:ss")}},{label:t("common.status"),name:"status",options:{customBodyRenderLite:e=>{var n;const{status:s,message:i,createdAt:c}=null!==(n=null===r||void 0===r?void 0:r[e])&&void 0!==n?n:{},d=s===be.BACKUPS.STATUS.PROGRESS&&ke()().diff(c,"hours")>=be.BACKUPS.TIMEOUT_HOURS,p=d&&t("common.timeoutError"),h=s===be.BACKUPS.STATUS.PROGRESS&&!d,m=s===be.BACKUPS.STATUS.SUCCEEDED&&!d;return h?(0,S.jsxs)(o.Z,{display:"inline-flex",alignItems:"center",fontSize:"14px",children:[(0,S.jsx)(l.Z,{sx:{marginRight:"4px"},size:"12px"}),t("common.progress")]}):m?(0,S.jsx)(ye.Z,{type:"success",children:t("common.succeeded")}):(0,S.jsxs)(a.Z,{display:"inline-flex",alignItems:"center",children:[(0,S.jsx)(ye.Z,{type:"error",children:t("common.failed")})," \xa0",(0,S.jsx)(je.Z,{style:{display:"flex",alignItems:"center",flexShrink:0},title:i||p,children:(0,S.jsx)(Ze.Z,{children:(0,S.jsx)(Ce.Z,{style:{width:"24px",height:"24px"},color:"error"})})})]})}}}];return(0,S.jsx)(a.Z,{...n,children:null!==r&&void 0!==r&&r.length?(0,S.jsx)(ve.Z,{title:(0,S.jsx)(o.Z,{fontSize:"1.2rem",fontWeight:"bold",children:t("storage.spaces.backup.records")}),data:r,columns:d,emptyNode:t("storage.spaces.record.emptyData",s),options:{download:!1,filter:!1,print:!1}}):(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)(a.Z,{display:"flex",height:"56px",lineHeight:"56px",alignItems:"center",children:(0,S.jsx)(o.Z,{fontSize:"1.2rem",fontWeight:"bold",children:t("storage.spaces.backup.records")})}),(0,S.jsx)(a.Z,{color:"#9397A1",marginTop:"16px",marginBottom:"24px",children:t("storage.spaces.record.emptyData")})]})})}Se.propTypes={};const we=Se;function Be(e){let{...n}=e;const{t:t}=(0,i.PE)(),{autoBackup:s,updateAutoBackup:a}=(0,b.XN)();return(0,S.jsx)(K.Z,{checked:Boolean(null===s||void 0===s?void 0:s.enabled),onChange:async()=>{try{const e=!s.enabled;await a({enabled:e}),x.Z.success(t(e?"storage.spaces.autoBackup.enabled":"storage.spaces.autoBackup.disabled"))}catch(e){x.Z.error(e.message)}},name:"enableWelcomePage",labelProps:{label:(0,S.jsx)(o.Z,{marginRight:"8px",children:(0,S.jsx)("span",{children:t("storage.spaces.autoBackup.title")})})},style:{...n.style}})}Be.propTypes={};const Ie=Be;const Ue=function(){const{t:e}=(0,i.PE)(),{blocklet:n}=(0,c.y0)(),{api:t}=(0,A.h6)(),{spaceGateways:s,spaceGatewaysLoading:r,deleteSpaceGateway:d,spaceGatewayIsSelected:p}=(0,b.XN)(),h=r&&!(null!==s&&void 0!==s&&s.length),m=async n=>{await d(n),x.Z.success(e("storage.spaces.gateway.delete.succeeded",{name:"(".concat(n.name,")")}))},u=async()=>{await t.backupBlocklet({input:{appDid:n.appDid,to:"spaces"}})};return(0,S.jsxs)(a.Z,{display:"flex",flexDirection:"column",children:[(0,S.jsxs)(a.Z,{display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"space-between",marginBottom:"12px",children:[(0,S.jsx)(o.Z,{fontSize:"1.2rem",fontWeight:"bold",flexGrow:1,children:e("storage.spaces.connected.title")}),(0,S.jsx)(Ie,{style:{marginRight:"32px"}}),(0,S.jsx)(B,{})]}),(0,S.jsx)(a.Z,{children:h?(0,S.jsx)(a.Z,{display:"flex",justifyContent:"center",children:(0,S.jsx)(l.Z,{})}):s.map((e=>(0,S.jsx)(fe,{style:{marginTop:"12px"},spaceGateway:e,connected:p(e),onDelete:m,onBackupNow:u},e.endpoint)))}),(0,S.jsx)(we,{sx:{marginTop:"24px"}}),(0,S.jsx)(o.Z,{fontSize:"1.2rem",fontWeight:"bold",mb:2,children:e("common.dataStorage")}),(0,S.jsx)(O,{blocklet:n})]})};function De(){const{backupEndpoint:e}=(0,b.XN)();return e?(0,S.jsx)(Ue,{}):(0,S.jsx)(N,{})}De.propTypes={};const Ee=De},54063:(e,n,t)=>{t.d(n,{C:()=>s});const s="true"===localStorage.getItem("enableDebug")},17682:(e,n,t)=>{t.d(n,{Z:()=>Z});var s,a,o=t(71171),i=t(5057),c=t(55898),l=t.n(c),r=t(76720),d=t(49020),p=t(25228),h=t(72113),m=t(1733),u=t(74490),x=t(80633),g=t(56556),f=t(92706),y=t.n(f),v=t(47685),j=t(96266);function Z(e){const{size:n,color:t,menu:s,children:a,variant:o,onClick:c,menuButtonProps:l,...d}=e,[x,f]=(0,i.useState)(!1),y=(0,i.useRef)(null),v=Array.isArray(s)?s.map(((e,n)=>(0,i.isValidElement)(e)?e:(0,i.createElement)(u.Z,{...e,key:n}))):s;return(0,j.jsxs)(j.Fragment,{children:[(0,j.jsxs)(A,{variant:o,size:n,color:t,ref:y,...d,children:["function"===typeof a?a():(0,j.jsx)(g.Z,{onClick:c,color:t,children:a}),(0,j.jsx)(g.Z,{onClick:()=>{f((e=>!e))},color:t,...l,"aria-label":"more functions",children:(0,j.jsx)(r.Z,{})})]}),(0,j.jsx)(k,{open:x,anchorEl:y.current,placement:"bottom-end",disablePortal:!1,children:(0,j.jsx)(p.Z,{children:(0,j.jsx)(h.d,{onClickAway:e=>{y.current&&y.current.contains(e.target)||f(!1)},children:(0,j.jsx)(m.Z,{onClick:e=>{e.target.closest(".MuiMenuItem-root")&&f(!1)},children:v})})})})]})}Z.propTypes={size:l().oneOf(["small","medium","large"]),color:l().oneOf(["primary","secondary","inherit"]),menu:l().oneOfType([l().node,l().array]),children:l().node,variant:l().oneOf(["outlined","contained"]),onClick:l().func,menuButtonProps:l().object},Z.defaultProps={size:"medium",color:"primary",menu:[],children:null,variant:"contained",onClick:y(),menuButtonProps:{}},Z.Item=u.Z;const A=(0,v.zo)(x.Z)(s||(s=(0,o.Z)(["\n > .MuiButtonBase-root:last-of-type {\n min-width: 2em;\n padding-left: 0;\n padding-right: 0;\n }\n"]))),k=(0,v.zo)(d.Z)(a||(a=(0,o.Z)(["\n z-index: ",";\n .MuiList-root {\n padding: 4px 0;\n }\n .MuiListItem-root {\n padding-top: 4px;\n padding-bottom: 4px;\n }\n"])),(e=>e.theme.zIndex.tooltip))},45396:(e,n,t)=>{var s=t(71600);n.Z=void 0;var a=s(t(56930)),o=t(96266);n.Z=(0,a.default)((0,o.jsx)("path",{d:"M6 6v2h8.59L5 17.59 6.41 19 16 9.41V18h2V6z"}),"ArrowOutward")},47595:(e,n,t)=>{var s=t(71600);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=s(t(56930)),o=t(96266);n.default=(0,a.default)((0,o.jsx)("path",{d:"M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6zM8 9h8v10H8zm7.5-5-1-1h-5l-1 1H5v2h14V4z"}),"DeleteOutline")},14482:(e,n,t)=>{var s=t(71600);n.Z=void 0;var a=s(t(56930)),o=t(96266);n.Z=(0,a.default)((0,o.jsx)("path",{d:"M14.69 2.21 4.33 11.49c-.64.58-.28 1.65.58 1.73L13 14l-4.85 6.76c-.22.31-.19.74.08 1.01.3.3.77.31 1.08.02l10.36-9.28c.64-.58.28-1.65-.58-1.73L11 10l4.85-6.76c.22-.31.19-.74-.08-1.01-.3-.3-.77-.31-1.08-.02"}),"ElectricBoltOutlined")},85733:(e,n,t)=>{var s=t(71600);n.Z=void 0;var a=s(t(56930)),o=t(96266);n.Z=(0,a.default)((0,o.jsx)("path",{d:"m9.17 6 2 2H20v10H4V6zM10 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2h-8z"}),"FolderOutlined")},73119:(e,n,t)=>{var s=t(71600);n.Z=void 0;var a=s(t(56930)),o=t(96266);n.Z=(0,a.default)((0,o.jsx)("path",{d:"M11 18h2v-2h-2zm1-16C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8m0-14c-2.21 0-4 1.79-4 4h2c0-1.1.9-2 2-2s2 .9 2 2c0 2-3 1.75-3 5h2c0-2.25 3-2.5 3-5 0-2.21-1.79-4-4-4"}),"HelpOutline")}}]);
1
+ "use strict";(self.webpackChunk_abtnode_webapp=self.webpackChunk_abtnode_webapp||[]).push([[9552],{39552:(e,n,s)=>{s.r(n),s.d(n,{default:()=>Re});var a=s(5057),t=s(39948),o=s(11750),i=s(68420),c=s(29054),l=s(44846),r=s(55372),d=s(47020),p=s(28726),h=s(88577),m=s(6352),x=s.n(m),g=s(86229),u=s(17682),f=s(13128),y=s(88574),v=s(65873),j=s(60344),Z=s(46090),A=s(58238),k=s(56277),C=s(84584),b=s(85531),S=s(96266);function w(e){let{...n}=e;const{blocklet:s}=(0,c.y0)(),{info:m}=(0,A.h6)(),{t:w,locale:B}=(0,i.PE)(),[I,U]=(0,a.useState)(""),[D,R]=(0,a.useState)(!1),[E,T]=(0,a.useState)(!1),[F,L]=(0,a.useState)(""),O=(0,k.Z)({blocklet:s}),N=(0,Z.yP)(m),{spaceGateways:P,addSpaceGateway:M}=(0,b.XN)(),[J,G]=(0,a.useState)({open:!1,action:"connect-to-did-spaces",checkTimeout:3e5,checkFn:j.od.create({baseURL:x()(window.location.origin,(0,Z.Y5)())}).get,messages:{title:w("storage.spaces.provideNFT.title",{appName:O.appName},B),scan:w("storage.spaces.provideNFT.scan",{appName:O.appName},B),confirm:"",success:(0,S.jsx)(o.Z,{gutterBottom:!0,children:w("storage.spaces.provideNFT.success")})},onClose:()=>{G((e=>({...e,open:!1})))}}),[Q,z]=(0,a.useState)({open:!1,action:"one-click-authorization",checkTimeout:3e5,messages:{title:w("storage.spaces.authorize.title",{appName:O.appName},B),scan:w("storage.spaces.authorize.scan",{appName:O.appName},B),confirm:"",success:(0,S.jsx)(o.Z,{gutterBottom:!0,children:w("storage.spaces.authorize.success")})},onClose:()=>{z((e=>({...e,open:!1})))}}),H=async e=>{var n;let{endpoint:s,name:a,did:t}=e;const o=await(0,C.Z3)(s);if(!await(0,C.w2)(o))return void g.Z.error(w("storage.spaces.gateway.add.invalidUrl"));if(P.some((e=>e.endpoint===s)))return void g.Z.error(w("storage.spaces.gateway.add.duplicate",{name:a}));const i={name:a,did:t,url:o,endpoint:s};await M(i,s),g.Z.success(w("storage.spaces.connectedWithName",{name:null!==(n=null===i||void 0===i?void 0:i.name)&&void 0!==n?n:"DID Spaces"}))},V=async(e,n)=>{try{if((0,v.isEmpty)(e.spaceGateway)){const s=n(e.endpoint),a=e.space?n(e.space):{};await H({endpoint:s,did:(0,C.LQ)(s),name:"DID Space",...a})}else await H(n(e.spaceGateway));z((e=>({...e,open:!1}))),U(null),G((e=>({...e,open:!1})))}catch(s){console.error(s),g.Z.error((0,Z.Z)(s))}},X=async()=>{try{R(!0);const e=await(0,C.Z3)(I),n=(0,C.ag)(e),s=new URL(e).searchParams.get("spaceDid");if(!await(0,C.w2)(n))throw new Error(w("storage.spaces.gateway.add.invalidUrl"));z((e=>({...e,open:!0,prefix:x()(n,"space/api/did"),baseUrl:new URL(n).origin,checkFn:j.od.create({baseURL:x()(n,"space")}).get,extraParams:{appDid:O.appDid,appName:O.appName,appDescription:O.appDescription,scopes:O.scopes,appUrl:O.appUrl,referrer:O.referrer,nodeDid:m.did,spaceDid:s}}))),T(!1)}catch(e){const n="".concat(w("storage.spaces.gateway.add.failed",B),": ").concat((0,Z.Z)(e));L(n)}finally{R(!1)}};return(0,S.jsxs)(t.Z,{children:[(0,S.jsx)(u.Z,{color:"primary",style:{textTransform:"none !important",fontSize:"1rem"},size:"small",onClick:()=>{G((e=>({...e,open:!0,extraParams:{appPid:s.appPid,appName:O.appName,appDescription:O.appDescription,scopes:O.scopes,appUrl:O.appUrl,referrer:O.referrer,nodeDid:m.did}})))},menu:[(0,S.jsx)(u.Z.Item,{sx:{textTransform:"none"},onClick:()=>T(!0),size:"small",...n,children:w("storage.spaces.connect.useSpaceGateway")},"1")],children:(0,S.jsx)(o.Z,{sx:{fontWeight:"bold",textTransform:"none"},children:w("storage.spaces.connect.useWallet")})}),(0,S.jsx)(h.Z,{forceConnected:!1,saveConnect:!1,prefix:J.prefix,open:J.open,popup:!0,action:J.action,webWalletUrl:N,baseUrl:J.baseUrl,checkFn:J.checkFn,onSuccess:V,onClose:J.onClose,checkTimeout:J.checkTimeout,extraParams:J.extraParams,messages:J.messages,locale:B}),(0,S.jsx)(h.Z,{forceConnected:!1,saveConnect:!1,prefix:Q.prefix,open:Q.open,popup:!0,action:Q.action,baseUrl:Q.baseUrl,checkFn:Q.checkFn,onSuccess:V,onClose:Q.onClose,checkTimeout:Q.checkTimeout,extraParams:Q.extraParams,messages:Q.messages,locale:B}),(0,S.jsxs)(f.ZP,{title:w("storage.spaces.gateway.add.title"),fullWidth:!0,maxWidth:"md",open:E,onClose:()=>T(!1),PaperProps:{style:{minHeight:"auto"}},actions:(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)(p.Z,{onClick:e=>{e.stopPropagation(),T(!1)},color:"inherit",children:w("common.cancel")}),(0,S.jsxs)(p.Z,{onClick:X,color:"primary",disabled:D||!I,variant:"contained",autoFocus:!0,children:[D&&(0,S.jsx)(l.Z,{size:16}),w("common.confirm")]})]}),children:[(0,S.jsx)("div",{style:{paddingTop:12,overflowY:"hidden"},children:(0,S.jsx)(r.Z,{component:"div",children:(0,S.jsx)(o.Z,{component:"div",children:(0,S.jsx)(d.Z,{label:w("storage.spaces.gateway.add.label"),autoComplete:"off",variant:"outlined",name:"url",fullWidth:!0,value:I,onChange:e=>{L(null),U(e.target.value)},disabled:D,onKeyPress:async e=>{"Enter"===e.key&&await X()},autoFocus:!0})})})}),Boolean(F)&&(0,S.jsx)(y.Z,{type:"error",style:{width:"100%"},children:F})]})]})}w.propTypes={},w.defaultProps={};const B=w;var I,U=s(71171),D=s(33518),R=s(55898),E=s.n(R),T=s(38898),F=s(64886);function L(e){let{blocklet:n,...s}=e;const{t:t}=(0,a.useContext)(i.RD);if(!n.diskInfo)return(0,S.jsx)(o.Z,{children:t("blocklet.diskInfo.empty")});const c=(e,n,s)=>(0,S.jsxs)(o.Z,{children:[s?(0,S.jsx)(T.Z,{style:{cursor:"pointer"},onClick:s,underline:"hover",children:e}):e," ",(0,S.jsx)("strong",{children:n?(0,Z.Gw)(n):"empty"})]}),l=n.environments.reduce(((e,n)=>(e[n.key]=n.value,e)),{}),r=[{key:"appDir",name:t("blocklet.diskInfo.appDir"),value:c(l.BLOCKLET_APP_DIR,n.diskInfo.app)},{key:"dataDir",name:t("blocklet.diskInfo.dataDir"),value:c(l.BLOCKLET_DATA_DIR,n.diskInfo.data)},{key:"logDir",name:t("blocklet.diskInfo.logDir"),value:c(l.BLOCKLET_LOG_DIR,n.diskInfo.log)},{key:"cacheDir",name:t("blocklet.diskInfo.cacheDir"),value:c(l.BLOCKLET_CACHE_DIR,n.diskInfo.cache)}];return(0,S.jsx)(O,{component:"div",...s,children:r.map((e=>(0,S.jsx)(F.Z,{valueComponent:"div",nameWidth:120,name:e.name,children:e.value},e.key)))})}L.propTypes={blocklet:E().object.isRequired},L.defaultProps={};const O=(0,D.Z)(o.Z)(I||(I=(0,U.Z)([""])));var N=function(e){return(0,S.jsxs)("svg",{...e,children:[(0,S.jsxs)("g",{filter:"url(#a)",children:[(0,S.jsx)("path",{d:"M56.97 2a12 12 0 0 0-8.485 3.515l-40.97 40.97A12 12 0 0 0 4 54.971V240c0 6.627 5.373 12 12 12h196c6.627 0 12-5.373 12-12V14c0-6.627-5.373-12-12-12H56.97Z",fill:"#DDD"}),(0,S.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"m49.192 6.222-40.97 40.97A11 11 0 0 0 5 54.971V240c0 6.075 4.925 11 11 11h196c6.075 0 11-4.925 11-11V14c0-6.075-4.925-11-11-11H56.97a11 11 0 0 0-7.778 3.222Zm-.707-.707A12 12 0 0 1 56.971 2H212c6.627 0 12 5.373 12 12v226c0 6.627-5.373 12-12 12H16c-6.627 0-12-5.373-12-12V54.97a12 12 0 0 1 3.515-8.485l40.97-40.97Z",fill:"#000",fillOpacity:".08"}),(0,S.jsx)("mask",{id:"b",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"4",y:"2",width:"220",height:"250",children:(0,S.jsx)("path",{d:"M56.97 2a12 12 0 0 0-8.485 3.515l-40.97 40.97A12 12 0 0 0 4 54.971V240c0 6.627 5.373 12 12 12h196c6.627 0 12-5.373 12-12V14c0-6.627-5.373-12-12-12H56.97Z",fill:"#D9D9D9"})}),(0,S.jsxs)("g",{mask:"url(#b)",children:[(0,S.jsx)("path",{opacity:".5",fill:"url(#c)",d:"M4 2h220v128H4z"}),(0,S.jsx)("path",{opacity:".1",fill:"url(#d)",d:"M4 130h220v122H4z"}),(0,S.jsx)("path",{d:"M33.045 169h-3.767v-11.636h3.887c1.14 0 2.12.233 2.937.698a4.61 4.61 0 0 1 1.881 1.995c.44.863.659 1.899.659 3.108 0 1.212-.222 2.254-.665 3.125a4.668 4.668 0 0 1-1.909 2.011c-.833.466-1.84.699-3.023.699Zm-2.01-1.534h1.914c.886 0 1.623-.167 2.21-.5a3.152 3.152 0 0 0 1.318-1.46c.292-.64.438-1.421.438-2.341 0-.913-.146-1.688-.438-2.324a3.095 3.095 0 0 0-1.29-1.449c-.572-.33-1.282-.494-2.13-.494h-2.023v8.568Zm11.546-10.102V169h-1.756v-11.636h1.756ZM48.905 169h-3.767v-11.636h3.886c1.14 0 2.12.233 2.938.698a4.609 4.609 0 0 1 1.88 1.995c.44.863.66 1.899.66 3.108 0 1.212-.222 2.254-.665 3.125a4.667 4.667 0 0 1-1.91 2.011c-.833.466-1.84.699-3.022.699Zm-2.011-1.534h1.914c.887 0 1.623-.167 2.21-.5a3.151 3.151 0 0 0 1.319-1.46c.291-.64.437-1.421.437-2.341 0-.913-.146-1.688-.437-2.324a3.095 3.095 0 0 0-1.29-1.449c-.572-.33-1.282-.494-2.13-.494h-2.023v8.568Zm20.372-7.046a1.662 1.662 0 0 0-.75-1.25c-.44-.299-.993-.448-1.66-.448-.477 0-.89.075-1.238.227a1.91 1.91 0 0 0-.813.613c-.189.258-.284.552-.284.881 0 .277.065.515.194.716.132.201.304.369.516.506.216.132.447.244.694.335.246.087.483.159.71.216l1.136.295c.371.091.752.214 1.142.37.39.155.752.36 1.086.613.333.254.602.568.806.944.209.374.313.823.313 1.346 0 .659-.17 1.244-.511 1.756-.338.511-.828.915-1.472 1.21-.64.295-1.415.443-2.324.443-.871 0-1.625-.138-2.261-.415-.637-.276-1.135-.668-1.495-1.176-.36-.511-.558-1.117-.596-1.818h1.761c.034.421.17.771.41 1.051.242.277.55.483.925.62.38.132.794.198 1.245.198.496 0 .937-.077 1.324-.233.39-.159.697-.378.92-.659a1.56 1.56 0 0 0 .335-.994c0-.345-.098-.627-.295-.847a2.191 2.191 0 0 0-.79-.545 7.725 7.725 0 0 0-1.12-.381l-1.374-.375c-.932-.253-1.67-.627-2.216-1.119-.542-.492-.813-1.144-.813-1.955 0-.67.182-1.255.546-1.755.363-.5.856-.888 1.477-1.165.621-.28 1.322-.42 2.102-.42.788 0 1.483.138 2.085.414.607.277 1.084.658 1.432 1.142.349.481.53 1.034.546 1.659h-1.693Zm3.813 11.853v-12h1.66v1.415h.142c.098-.182.24-.393.426-.631.185-.239.443-.447.772-.625.33-.182.766-.273 1.307-.273.705 0 1.334.178 1.887.534.553.356.987.869 1.3 1.54.319.67.478 1.477.478 2.42 0 .944-.157 1.752-.472 2.427-.314.67-.746 1.187-1.295 1.551-.55.36-1.176.539-1.88.539-.53 0-.965-.089-1.302-.267a2.457 2.457 0 0 1-.784-.625 4.667 4.667 0 0 1-.437-.636h-.103v4.631H71.08Zm1.665-7.637c0 .614.09 1.152.267 1.614.178.462.436.824.773 1.085.337.258.75.387 1.239.387.507 0 .931-.135 1.273-.404.34-.273.598-.642.772-1.108.178-.466.267-.99.267-1.574 0-.575-.087-1.092-.261-1.551-.17-.458-.428-.82-.773-1.085-.34-.265-.767-.398-1.278-.398-.493 0-.91.127-1.25.381-.337.254-.593.608-.767 1.062-.175.455-.262.985-.262 1.591Zm10.75 4.557a3.557 3.557 0 0 1-1.5-.307 2.523 2.523 0 0 1-1.062-.903c-.258-.394-.386-.877-.386-1.449 0-.492.094-.898.283-1.216.19-.318.446-.57.768-.756a4.036 4.036 0 0 1 1.08-.42c.397-.095.802-.167 1.215-.216l1.273-.148c.325-.041.562-.108.71-.198.148-.091.222-.239.222-.444v-.039c0-.497-.14-.881-.42-1.154-.277-.273-.69-.409-1.24-.409-.572 0-1.022.127-1.352.381-.325.25-.55.528-.676.835l-1.597-.364c.19-.53.466-.958.83-1.284.368-.329.79-.568 1.267-.716.477-.151.98-.227 1.506-.227.348 0 .718.042 1.108.125.394.08.761.227 1.102.443.345.216.627.525.847.926.22.398.33.915.33 1.552V169h-1.66v-1.193h-.068c-.11.22-.275.435-.495.648-.22.212-.501.388-.846.528s-.758.21-1.239.21Zm.37-1.363c.47 0 .87-.093 1.204-.279.337-.185.593-.428.767-.727.178-.303.267-.627.267-.972v-1.125c-.06.061-.178.118-.352.171-.17.049-.365.093-.585.13-.22.034-.434.067-.642.097l-.523.068c-.33.042-.63.112-.903.21a1.553 1.553 0 0 0-.648.427c-.16.181-.239.424-.239.727 0 .42.156.738.466.954.31.212.707.319 1.188.319Zm9.876 1.346c-.845 0-1.572-.191-2.182-.574a3.796 3.796 0 0 1-1.398-1.596c-.325-.678-.488-1.455-.488-2.33 0-.886.166-1.668.5-2.346a3.832 3.832 0 0 1 1.409-1.597c.606-.383 1.32-.574 2.142-.574.663 0 1.254.123 1.773.369.519.243.937.584 1.255 1.023.322.44.514.953.574 1.54h-1.653c-.091-.409-.3-.761-.625-1.057-.322-.295-.754-.443-1.296-.443a2.11 2.11 0 0 0-1.244.375c-.352.246-.627.598-.824 1.057-.197.454-.295.992-.295 1.613 0 .637.096 1.186.29 1.648.193.462.466.82.818 1.074.356.254.774.381 1.255.381.322 0 .614-.059.875-.177.266-.121.487-.293.665-.517.182-.223.309-.492.38-.806h1.654a3.211 3.211 0 0 1-.55 1.511 3.165 3.165 0 0 1-1.234 1.045c-.511.254-1.111.381-1.8.381Zm9.163 0c-.859 0-1.6-.184-2.221-.551a3.732 3.732 0 0 1-1.432-1.563c-.333-.674-.5-1.464-.5-2.369 0-.894.167-1.682.5-2.363a3.887 3.887 0 0 1 1.409-1.597c.606-.383 1.314-.574 2.125-.574.493 0 .97.082 1.432.244.462.163.877.419 1.244.767.368.349.657.802.87 1.358.212.553.318 1.226.318 2.017v.603H99.71v-1.273h5.273c0-.447-.091-.843-.273-1.187a2.052 2.052 0 0 0-.767-.824c-.326-.201-.708-.302-1.148-.302a2.22 2.22 0 0 0-1.25.353 2.364 2.364 0 0 0-.818.909 2.626 2.626 0 0 0-.284 1.21v.994c0 .584.102 1.08.307 1.489.208.409.498.722.869.938.372.212.805.318 1.301.318a2.7 2.7 0 0 0 .881-.137c.265-.094.494-.234.688-.42.193-.186.341-.415.443-.688l1.608.29c-.129.474-.36.888-.693 1.244-.33.353-.745.627-1.245.824-.496.194-1.062.29-1.699.29Z",fill:"#fff"}),(0,S.jsx)("path",{d:"M117.604 47.263 121.523 45h14.267v41.862h-14.267l-15.335-8.854V53.854l1.818-1.05 3.2 1.848-1.818 1.05V76.16l12.993 7.502h10.209V48.2h-10.209l-1.577.91-3.2-1.847Z",fill:"url(#e)"}),(0,S.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M119.402 76.16V55.701L106.409 48.2H96.2v35.462h10.209l1.582-.913 3.2 1.847-3.924 2.266H93V45h14.267l15.335 8.854v24.154l-1.813 1.046-3.2-1.847 1.813-1.047Z",fill:"url(#f)"}),(0,S.jsxs)("g",{clipPath:"url(#g)",fillRule:"evenodd",clipRule:"evenodd",fill:"#fff",children:[(0,S.jsx)("path",{d:"m50.928 216.089 1.034 2.852h-2.503l1.028-2.842a4.95 4.95 0 0 0 .107-.338 7.17 7.17 0 0 0 .111-.409c.075.297.15.542.223.737Zm2.28 5.591h.796l-2.775-7.352h-1.043l-2.774 7.352h.795a.338.338 0 0 0 .223-.077.425.425 0 0 0 .127-.179l.615-1.705h3.07l.617 1.705a.399.399 0 0 0 .126.184.339.339 0 0 0 .223.072Zm4.823-.963a2.023 2.023 0 0 1-.67.098h-1.455v-2.453h1.456c.5 0 .871.106 1.11.318.24.208.36.495.36.86 0 .184-.028.355-.083.512a1.005 1.005 0 0 1-.262.399 1.2 1.2 0 0 1-.456.266Zm-2.125-3.128v-2.406h1.237c.498 0 .865.095 1.101.286.236.192.355.497.355.917 0 .369-.125.662-.374.881-.246.215-.623.322-1.13.322h-1.189Zm2.358-3.128a4.106 4.106 0 0 0-1.12-.133h-2.27v7.352h2.507c.391 0 .74-.051 1.048-.154.307-.102.566-.247.776-.435.21-.188.37-.409.48-.665.11-.26.165-.547.165-.861 0-.904-.506-1.462-1.518-1.674.22-.075.41-.169.572-.281a1.79 1.79 0 0 0 .403-.379c.106-.144.186-.297.237-.461.052-.164.078-.335.078-.512a2.1 2.1 0 0 0-.146-.804 1.49 1.49 0 0 0-.441-.609 2.073 2.073 0 0 0-.771-.384Zm7.535.778h-2.212v6.441h-1.028v-6.441h-2.222v-.911H65.8v.911Zm2.439.564h-1.13v1.193h1.13v-1.193Zm-1.13 2.983h1.13v1.193h-1.13v-1.193Z",fillOpacity:".8"}),(0,S.jsx)("path",{d:"M28.247 221.771V214h3.894c.99.072 1.765.944 1.765 1.998v3.77c0 1.106-.85 2.003-1.897 2.003h-3.762ZM36.355 214h-1.011v7.783h1.01V214Zm-7.097 6.704v-5.642h2.751c.49 0 .886.419.886.936v3.77c0 .517-.396.936-.886.936h-2.75ZM37.775 214v7.771h3.762c1.047 0 1.897-.897 1.897-2.003v-3.77c0-1.054-.774-1.926-1.765-1.998h-3.894Zm6.946 1.803h1.13v1.193h-1.13v-1.193Zm1.13 2.983h-1.13v1.193h1.13v-1.193Zm-7.065-3.724v5.642h2.75c.49 0 .887-.419.887-.936v-3.77c0-.517-.397-.936-.886-.936h-2.751Z"})]}),(0,S.jsx)("circle",{cx:"191.32",cy:"218",r:"10",fill:"url(#h)"}),(0,S.jsx)("path",{d:"m192.064 213.333.976-.564h3.554v10.427h-3.286a1 1 0 0 1-.5-.134l-3.588-2.071v-6.016l.453-.262.797.46-.453.262v5.096l3.237 1.868h2.543v-8.833h-2.543l-.393.227-.797-.46Z",fill:"#fff"}),(0,S.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M192.512 220.531v-5.096l-3.237-1.869h-2.543v8.833h2.543l.394-.227.797.46-.977.564h-3.554v-10.427h3.554l3.82 2.206v6.016l-.452.261-.797-.461.452-.26Z",fill:"#fff"})]})]}),(0,S.jsxs)("defs",{children:[(0,S.jsxs)("linearGradient",{id:"d",x1:"114",y1:"130",x2:"114",y2:"252",gradientUnits:"userSpaceOnUse",children:[(0,S.jsx)("stop",{stopColor:"#101010"}),(0,S.jsx)("stop",{offset:"1",stopColor:"#272727"})]}),(0,S.jsxs)("linearGradient",{id:"e",x1:"120.989",y1:"45",x2:"120.989",y2:"86.862",gradientUnits:"userSpaceOnUse",children:[(0,S.jsx)("stop",{stopColor:"#fff",stopOpacity:".4"}),(0,S.jsx)("stop",{offset:"1",stopColor:"#fff"})]}),(0,S.jsxs)("linearGradient",{id:"f",x1:"107.801",y1:"45",x2:"107.801",y2:"86.862",gradientUnits:"userSpaceOnUse",children:[(0,S.jsx)("stop",{stopColor:"#fff"}),(0,S.jsx)("stop",{offset:"1",stopColor:"#fff",stopOpacity:".4"})]}),(0,S.jsxs)("radialGradient",{id:"h",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"matrix(17 -8.76924 6.97565 13.52294 183.166 221)",children:[(0,S.jsx)("stop",{stopColor:"#016BED"}),(0,S.jsx)("stop",{offset:".699",stopColor:"#4498FB"}),(0,S.jsx)("stop",{offset:"1",stopColor:"#9DFFE8"})]}),(0,S.jsx)("clipPath",{id:"g",children:(0,S.jsx)("path",{fill:"#fff",transform:"translate(28 214)",d:"M0 0h40.32v8H0z"})}),(0,S.jsx)("pattern",{id:"c",patternContentUnits:"objectBoundingBox",width:"1",height:"1",children:(0,S.jsx)("use",{xlinkHref:"#i",transform:"scale(.00455 .00781)"})}),(0,S.jsxs)("filter",{id:"a",x:"0",y:"0",width:"228",height:"258",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[(0,S.jsx)("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),(0,S.jsx)("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),(0,S.jsx)("feOffset",{dy:"2"}),(0,S.jsx)("feGaussianBlur",{stdDeviation:"2"}),(0,S.jsx)("feComposite",{in2:"hardAlpha",operator:"out"}),(0,S.jsx)("feColorMatrix",{values:"0 0 0 0 0.0631944 0 0 0 0 0.242785 0 0 0 0 0.403472 0 0 0 0.2 0"}),(0,S.jsx)("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_1410_22507"}),(0,S.jsx)("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_1410_22507",result:"shape"})]}),(0,S.jsx)("image",{id:"i",width:"220",height:"128",xlinkHref:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAANwAAACABAMAAACSOBo+AAAAG1BMVEUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACUUeIgAAAACXRSTlMSFhkOHAsfCCOMH5MiAAAjjElEQVRo3hTQO3sjRRBG4a+qWzJhVfdIJqzuGXsJe2bkJe0e2UA4shdIJS2X1LBcUpbL/wae5yQnfVHGjp2+V08yKR7OwBDYte8pi5Aq9DObSBouqN9cidZyusonzWtGJO13phLebEn6xKEnlYyXe5hnySc53Ym9Abn7crTse8r7BMeIB8yBOVZK0trMjxT5S/cgc9G63BQqZoF3xSYZYeRk2hoIvEBFA7XMtaaF8TdY1GjiDDqgEswRDlWnRtmYzl5zRUq3sx3I+JL7sBJKXchDGJY9D+SfHAIoA+TuHCyYYYFjkhNB8tO5hhju0ANjdCITLx4/JDL+yyP0ErZR+m3M322bY8OKHzoOcAXLQMBHiIh+X59pv6udCJ7MAV9HARPtTEuFSdAzNVn7uPmkk3TpBGHb8DJZ3p36ScsuJVFQP6CUBXimN3BABZJUiEwBOMsHUisZiXU8k3bVSTrPcHsKEEg8gV/vP7U26vRWhl2UnfEbX3VlVbRHgSwmcy2tWTjsxmIb4YjgbAkmpyEOINs1gCtSC4YsjwnY9l1MJYRz1NMk5NAC3MffnLwiHnNH7IoyER5VEI6S4Um++uKyho0BwmD+1rA90yarpO4ZpjLgs8+BTUfU9w+gkwEi6ftxqyB9Wt6IBstE0E8kxJLeKaVhNA/uEwIslv1JmRwcSzAo+URPCF5M8AGzE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ZnM0/oZSUzcd5By2cDzUtH3ng8PHIzAKL25wuSv+gDBsggYWWkvLT27f2dhwRULpny5D5yKI7vD/4iAW9KWHB7JsEZeCE1E/mdgVHZTOci8X+YIanJt7+aBd2k8f2RL45Z2puefelcXjUWbKdMSYwr58dAPaHymSU0o9/zjFt7/VoGmNAwCyvrKe2L1hYJqtd5gh6FGiCAGzqFk6on9pQdSAQzkctDTtXGbDih5iRPVIk9TwCJGwP3tpATkHsNwloUilnNMFce7twgDgrgWhsE8jWW+EBLlTDMn9pmtJOefTJc6Cxld039TN4XiwL4pMtU+8tXJ4g/LghG5APdF7/e3FSi4v8vnEBiIEm+5LlZtsk2LbbbY5hN9JkkJkd5BjQFPoUcwjJdTm0mx0024NmOvVgxASvU9TonFxUqG8cUTy3m5s3i7BqLbFkKcfxLQYhAXfjam0yFFd3PZE9wlXWfHYKlg2cFlTcnwRH6z8DpSfQHidMhElmCMb07li9ceHQHFknk/98f4KJRLpX6xQEXVAnJxlr8Aw6/qb0wu9SNolstScB0izxmMC5DiytBJd9Rcm3RGf42aiddmUTM4d4dgdjiT+vMPX0/RzfZdLoZ4aQqPzhx9plNI3QyvsMZHn2j2wOECoTtkfJt89O+eYUnXB/gFxHxPmOeL9ogAAAABJRU5ErkJggg=="})]})]})};function P(){const{t:e}=(0,i.PE)(),{blocklet:n}=(0,c.y0)();return(0,S.jsxs)(t.Z,{children:[(0,S.jsxs)(t.Z,{minHeight:"40vh",display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",alignContent:"center",children:[(0,S.jsx)(N,{style:{width:200,height:250}}),(0,S.jsx)(o.Z,{marginTop:"24px",marginBottom:"24px",children:e("storage.spaces.connect.provider")}),(0,S.jsx)(B,{})]}),(0,S.jsx)(o.Z,{fontSize:"1.2rem",fontWeight:"bold",mb:2,children:e("common.dataStorage")}),(0,S.jsx)(L,{blocklet:n})]})}N.defaultProps={width:"228",height:"258",fill:"none",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},P.propTypes={};const M=P;var J=s(15715),G=s(19654),Q=s(99154),z=s(77277),H=s(79366),V=s(42876),X=s(17450),K=s(44784),Y=s(67680),W=s(61533),q=s(74490),_=s(46954),$=s(44067),ee=s(83294),ne=s(45396),se=s(14482),ae=s(85733),te=s(47595),oe=s(60939);function ie(e){let{spaceGateway:n,onDelete:s}=e;const{t:t}=(0,i.PE)(),[o,c]=(0,a.useState)(!1),[l,r]=(0,a.useState)(!1),d=(e,n)=>{null===e||void 0===e||e.preventDefault(),null===e||void 0===e||e.stopPropagation(),c(n)};return(0,S.jsxs)(S.Fragment,{children:[(0,S.jsxs)(q.Z,{color:"red",onClick:e=>d(e,!0),children:[(0,S.jsx)(_.Z,{style:{minWidth:24,color:"red"},children:(0,S.jsx)(te.default,{fontSize:"small"})}),(0,S.jsx)($.Z,{style:{color:"red"},children:t("common.delete")})]}),(0,S.jsx)(oe.Z,{title:t("common.delConfirmDescription",{data:"".concat(null===n||void 0===n?void 0:n.name)}),open:o,confirmButton:{text:t("common.confirm"),props:{variant:"contained",color:"error",loading:l}},cancelButton:{text:t("common.cancel"),props:{variant:"contained",color:"primary"},loading:l},onConfirm:async e=>{try{null===e||void 0===e||e.stopPropagation(),r(!0),await s(n),c(!1)}catch(a){console.error(a),g.Z.error("".concat(t("storage.space.gateway.delete.failed"),": ").concat((0,Z.Z)(a)))}finally{r(!1)}},onCancel:e=>d(e,!1)})]})}ie.propTypes={onDelete:E().func,spaceGateway:E().shape({name:E().string.isRequired,url:E().string.isRequired,protected:E().bool}).isRequired},ie.defaultProps={onDelete:()=>{}};const ce=ie;function le(e){let{spaceGateway:n,connected:s,onDelete:t,onConnect:o,enableSwitchToSpace:c,backupInProgress:r,...d}=e;const[p,h]=(0,a.useState)(null),{t:m}=(0,i.PE)(),[x,u]=(0,a.useState)(!1),f=(e,n)=>{e.stopPropagation(),e.preventDefault(),h(n&&e.currentTarget)};return(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)(Y.Z,{"aria-label":"more","aria-controls":"actions-menu","aria-haspopup":"true","data-cy":"trigger-blocklet-actions",onClick:e=>f(e,!0),size:"small",...d,children:x||null!==n&&void 0!==n&&n.loading?(0,S.jsx)(l.Z,{size:"24px"}):(0,S.jsx)(ee.Z,{})}),(0,S.jsxs)(W.Z,{id:"simple-menu",anchorEl:p,keepMounted:!0,open:Boolean(p),onClose:e=>f(e,!1),children:[(0,S.jsxs)(q.Z,{onClick:e=>{f(e,!1),window.open(n.endpoint?(0,C.nD)(n.endpoint):n.url)},children:[(0,S.jsx)(_.Z,{style:{minWidth:24},children:(0,S.jsx)(ne.Z,{fontSize:"small"})}),(0,S.jsx)($.Z,{children:m("common.open")})]}),(0,S.jsxs)(q.Z,{onClick:e=>{f(e,!1),window.open((0,C.Xv)(n.endpoint))},children:[(0,S.jsx)(_.Z,{style:{minWidth:24},children:(0,S.jsx)(ae.Z,{fontSize:"small"})}),(0,S.jsx)($.Z,{children:m("storage.spaces.strategy.viewBackupFiles")})]}),!s&&c&&(0,S.jsxs)(q.Z,{onClick:async e=>{try{u(!0),f(e,!1),await o(n)}catch(s){console.error(s),g.Z.error(s.message)}finally{u(!1)}},children:[(0,S.jsx)(_.Z,{style:{minWidth:24},children:(0,S.jsx)(se.Z,{fontSize:"small"})}),(0,S.jsx)($.Z,{children:m("storage.spaces.connect.switchToSpace")})]}),!r&&(0,S.jsx)(ce,{spaceGateway:n,onDelete:t})]})]})}le.propTypes={spaceGateway:E().shape({name:E().string.isRequired,url:E().string.isRequired,protected:E().bool,endpoint:E().string.isRequired,loading:E().bool}).isRequired,connected:E().bool.isRequired,enableSwitchToSpace:E().bool,onDelete:E().func,onConnect:E().func,backupInProgress:E().bool},le.defaultProps={onDelete:()=>{},onConnect:()=>{},enableSwitchToSpace:!0,backupInProgress:!1};const re=le;var de,pe=s(54063),he=s(39565),me=function(e){return(0,S.jsx)("svg",{...e,children:(0,S.jsx)("circle",{cx:"4",cy:"4",r:"4",fill:"#25C99B"})})};me.defaultProps={width:"8",height:"8",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var xe=function(e){return(0,S.jsx)("svg",{...e,children:(0,S.jsx)("circle",{cx:"4",cy:"4",r:"4",fill:"#F16E6E"})})};function ge(e){let{spaceGateway:n,connected:s,onDelete:l,onBackupNow:r,...d}=e;const m=(0,J.Z)((e=>e.breakpoints.down("md"))),{t:u,locale:f}=(0,i.PE)(),{blocklet:y}=(0,c.y0)(),{api:Z,info:{did:w}}=(0,A.h6)(),{appDid:B,appName:I,appDescription:U,scopes:D,appUrl:R,referrer:E}=(0,k.Z)({blocklet:y}),{updateSpaceGateway:T,backupEndpoint:F,backupProgress:L,refreshBackupEndpoint:O}=(0,b.XN)(),[N,P]=(0,a.useState)(!1),[M,Y]=(0,a.useState)({open:!1,action:"one-click-authorization",checkTimeout:3e5,messages:{title:u("storage.spaces.authorize.title",{appName:I},f),scan:u("storage.spaces.authorize.scan",{appName:I},f),confirm:"",success:(0,S.jsx)(o.Z,{gutterBottom:!0,children:u("storage.spaces.authorize.success")})},onClose:()=>{Y((e=>({...e,open:!1})))}}),{data:W,loading:q}=(0,H.Z)((async()=>!s||(0,C.Nb)(F)),{refreshDeps:[s,F,null===M||void 0===M?void 0:M.open,N]}),_=s&&W,$=s&&!N&&W&&!(null!==n&&void 0!==n&&n.loading),ee=s&&N&&W,ne=s&&!W&&!q&&!N,se=async()=>{if(await(0,C.Nb)(null===n||void 0===n?void 0:n.endpoint))return await Z.configBlocklet({input:{did:[y.meta.did],configs:[{key:z.BLOCKLET_CONFIGURABLE_KEY.BLOCKLET_APP_BACKUP_ENDPOINT,value:n.endpoint}]}}),O(),void g.Z.success(u("storage.spaces.connect.switchToSpaceSucceeded",{name:n.name?"(".concat(n.name,")"):""}));Y((e=>({...e,open:!0,prefix:x()(n.url,"space/api/did"),baseUrl:new URL(n.url).origin,checkFn:j.od.create({baseURL:x()(n.url,"space")}).get,extraParams:{appDid:B,appName:I,appDescription:U,scopes:D,appUrl:R,referrer:E,nodeDid:w,spaceDid:n.did}})))};return(0,a.useEffect)((()=>{null!==L&&void 0!==L&&L.completed?(100===(null===L||void 0===L?void 0:L.progress)?g.Z.success(u("storage.spaces.backupSuccessfully")):-1===(null===L||void 0===L?void 0:L.progress)&&g.Z.error(null===L||void 0===L?void 0:L.message),P(!1),L.progress=0,L.message=""):L.progress&&P(!0)}),[L]),(0,S.jsxs)(ue,{style:{position:"relative"},children:[(0,S.jsxs)(t.Z,{sx:{backgroundColor:s?"#F0FDFF":"inherit","&:hover":{backgroundColor:s?"#F0FDFF":"#FBFBFB"},borderRadius:"8px"},display:"flex",padding:"12px 20px",...d,children:[(0,S.jsx)(t.Z,{display:"flex",children:(0,S.jsx)(he.Z,{alt:n.did,src:(0,C.Jf)(n.endpoint)})}),(0,S.jsxs)(t.Z,{className:"spaces-info",display:"flex",flexGrow:(!m||!ee)&&1,minWidth:"180px",flexDirection:ee?"row":"column",sx:{marginLeft:"20px",padding:"0px 0px"},children:[(0,S.jsxs)(t.Z,{className:"spaces-info",display:"flex",maxWidth:"360px",alignItems:"center",children:[(0,S.jsx)(o.Z,{color:s?"primary":"inherit",fontSize:"1rem",fontWeight:"bold",children:n.name}),_&&(0,S.jsx)(G.Z,{label:(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)(me,{style:{marginRight:"4px"}}),u("storage.spaces.connected.tag")]}),variant:"outlined",size:"small",style:{marginLeft:"20px",fontWeight:"bold"}}),ne&&(0,S.jsx)(G.Z,{label:(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)(xe,{style:{marginRight:"4px"}}),u("storage.spaces.disconnected.tag")]}),variant:"outlined",size:"small",style:{marginLeft:"20px",fontWeight:"bold"}})]}),(0,S.jsx)(t.Z,{className:"spaces-address",display:ee?"none":"flex",color:"#9397A1",marginTop:"8px",children:(0,S.jsx)(o.Z,{sx:{display:"inline-flex",alignItems:"center",fontSize:"14px"},color:"#9397A1",children:n.did&&(0,S.jsx)(X.Z,{copyable:!1,size:14,compact:!0,responsive:!1,did:n.did})})})]}),(0,S.jsxs)(t.Z,{className:"spaces-backup",display:"flex",alignItems:"center",flex:m&&ee&&1,children:[$&&(0,S.jsxs)(t.Z,{className:"backup-strategy",display:"flex",alignItems:"center",width:"100%",children:[(0,S.jsx)(p.Z,{variant:"contained",size:"small",onClick:async()=>{try{if(N)return;P(!0),await r()}catch(e){console.error(e),g.Z.error(e.message)}finally{P(!0)}},children:u("storage.spaces.strategy.backupNow")}),pe.C&&(0,S.jsx)(K.Z,{name:"enable-auto-backup",title:"coming soon",disabled:!0,labelProps:{label:(0,S.jsx)(o.Z,{sx:{marginRight:"8px",fontSize:"16px"},children:(0,S.jsx)("span",{children:u("storage.spaces.strategy.autoBackup")})})},style:{marginLeft:"64px"}})]}),ee&&(0,S.jsxs)(t.Z,{className:"backup-progress",display:"flex",flexDirection:"column",alignItems:"center",minWidth:!m&&"640px",marginLeft:m&&"16px",width:m&&"360px",marginRight:"auto",alignSelf:"flex-end",children:[(0,S.jsx)(o.Z,{color:"primary",children:null===L||void 0===L?void 0:L.message}),(0,S.jsxs)(t.Z,{sx:{display:"flex",alignItems:"center"},width:"100%",children:[(0,S.jsx)(t.Z,{sx:{width:"100%",mr:1},children:(0,S.jsx)(Q.Z,{color:"primary",variant:"determinate",value:null===L||void 0===L?void 0:L.progress})}),(0,S.jsx)(t.Z,{sx:{maxWidth:"100%"},children:(0,S.jsxs)(o.Z,{variant:"body2",color:"text.secondary",children:[null===L||void 0===L?void 0:L.progress,"%"]})})]})]}),ne&&(0,S.jsx)(t.Z,{className:"backup-strategy",display:"flex",alignItems:"center",width:"100%",children:(0,S.jsx)(p.Z,{color:"error",variant:"contained",size:"small",onClick:se,children:u("storage.spaces.disconnected.reconnectNow")})}),(0,S.jsx)(re,{sx:{marginLeft:"16px",marginRight:"16px",alignItems:"flex-end",justifyItems:"flex-end"},spaceGateway:n,connected:s,onDelete:l,onConnect:se,enableSwitchToSpace:(null===L||void 0===L?void 0:L.completed)||(0,v.isEmpty)(null===L||void 0===L?void 0:L.message),backupInProgress:ee})]})]}),(0,S.jsx)(h.Z,{forceConnected:!1,saveConnect:!1,prefix:M.prefix,open:M.open,popup:!0,action:M.action,baseUrl:M.baseUrl,checkFn:M.checkFn,onSuccess:async(e,s)=>{var a,t;const o=s(e.endpoint),i=(0,C.LQ)(o),c=e.space?s(e.space):{};if(n.did&&i!==n.did)return Y((e=>({...e,open:!1}))),void g.Z.error(u("storage.spaces.gateway.switch.failedForMismatchSpace",{name:null!==c&&void 0!==c&&c.name?c.name:""}));const l={...n,name:null!==(a=c.name)&&void 0!==a?a:"DID Space",did:null!==(t=c.did)&&void 0!==t?t:(0,C.LQ)(o),endpoint:o};await T(l),Y((e=>({...e,open:!1})))},onClose:M.onClose,checkTimeout:M.checkTimeout,extraParams:M.extraParams,messages:M.messages,locale:f},"get-endpoint"),(0,S.jsx)(t.Z,{className:"selected-container ".concat(s?"selected":""),children:(0,S.jsx)(V.default,{className:"selected-icon"})})]})}xe.defaultProps={width:"8",height:"8",fill:"none",xmlns:"http://www.w3.org/2000/svg"},ge.propTypes={spaceGateway:E().shape({did:E().string.isRequired,name:E().string.isRequired,url:E().string.isRequired,endpoint:E().string.isRequired,protected:E().bool,loading:E().bool}).isRequired,connected:E().bool.isRequired,progress:E().any.isRequired,onDelete:E().func,onBackupNow:E().func},ge.defaultProps={onDelete:()=>{},onBackupNow:()=>{}};const ue=(0,D.Z)(t.Z)(de||(de=(0,U.Z)(["\n .selected-container {\n position: absolute;\n right: 0px;\n bottom: 0px;\n display: flex;\n -webkit-box-pack: end;\n justify-content: flex-end;\n align-items: flex-end;\n width: 32px;\n height: 32px;\n border-radius: 0px 0px 8px;\n color: rgb(255, 255, 255);\n overflow: hidden;\n transition: all 0.4s ease 0s;\n\n &::after {\n position: absolute;\n z-index: 0;\n left: 60px;\n top: 60px;\n display: block;\n width: 0px;\n height: 0px;\n border-width: 16px;\n border-style: solid;\n border-color: transparent #1dc1c7 #1dc1c7 transparent;\n transition: all 0.1s ease 0s;\n content: '';\n }\n\n .selected-icon {\n visibility: hidden;\n width: 60%;\n height: 60%;\n position: relative;\n z-index: 2;\n margin: 0px 1px 1px 0px;\n font-size: 16px;\n transition: all 0.2s ease 0s;\n }\n }\n\n .selected-container.selected {\n &::after {\n left: 0px;\n top: 0px;\n }\n\n .selected-icon {\n visibility: visible;\n }\n }\n"]))),fe=ge;var ye=s(19778),ve=s(75760),je=s(75239),Ze=s(21722),Ae=s(1577),ke=s.n(Ae),Ce=s(73119),be=s(35432);function Se(e){let{...n}=e;const{t:s,locale:a}=(0,i.PE)(),{spaceGateways:c,backups:r}=(0,b.XN)(),d=[{label:"DID Spaces",name:"target",options:{customBodyRenderLite:e=>{var n;const{targetUrl:s,targetName:a,status:t,createdAt:i}=r[e],l=t===be.BACKUPS.STATUS.PROGRESS&&ke()().diff(i,"hours")>=be.BACKUPS.TIMEOUT_HOURS,d=t===be.BACKUPS.STATUS.SUCCEEDED&&!l,p=a||(null===(n=c.find((e=>null===s||void 0===s?void 0:s.includes((0,C.LQ)(null===e||void 0===e?void 0:e.endpoint)))))||void 0===n?void 0:n.name)||"Unknown DID Space";return d?(0,S.jsx)(T.Z,{fontSize:"16px",href:s,target:"_blank",children:p}):(0,S.jsx)(o.Z,{variant:"body1",fontSize:"16px",children:p})}}},{label:s("common.strategy"),name:"strategy",options:{customBodyRender:e=>{const n=s(0===e?"common.auto":"common.manual");return(0,S.jsx)(ye.Z,{children:n})}}},{label:s("common.startTime"),name:"createdAt",options:{customBodyRender:e=>ke()(e).format("YYYY-MM-DD HH:mm:ss")}},{label:s("common.endTime"),name:"updatedAt",options:{customBodyRender:e=>(0,v.isEmpty)(e)?"":ke()(e).format("YYYY-MM-DD HH:mm:ss")}},{label:s("common.status"),name:"status",options:{customBodyRenderLite:e=>{var n;const{status:a,message:i,createdAt:c}=null!==(n=null===r||void 0===r?void 0:r[e])&&void 0!==n?n:{},d=a===be.BACKUPS.STATUS.PROGRESS&&ke()().diff(c,"hours")>=be.BACKUPS.TIMEOUT_HOURS,p=d&&s("common.timeoutError"),h=a===be.BACKUPS.STATUS.PROGRESS&&!d,m=a===be.BACKUPS.STATUS.SUCCEEDED&&!d;return h?(0,S.jsxs)(o.Z,{display:"inline-flex",alignItems:"center",fontSize:"14px",children:[(0,S.jsx)(l.Z,{sx:{marginRight:"4px"},size:"12px"}),s("common.progress")]}):m?(0,S.jsx)(ye.Z,{type:"success",children:s("common.succeeded")}):(0,S.jsxs)(t.Z,{display:"inline-flex",alignItems:"center",children:[(0,S.jsx)(ye.Z,{type:"error",children:s("common.failed")})," \xa0",(0,S.jsx)(je.Z,{style:{display:"flex",alignItems:"center",flexShrink:0},title:i||p,children:(0,S.jsx)(Ze.Z,{children:(0,S.jsx)(Ce.Z,{style:{width:"24px",height:"24px"},color:"error"})})})]})}}}];return(0,S.jsx)(t.Z,{...n,children:null!==r&&void 0!==r&&r.length?(0,S.jsx)(ve.Z,{title:(0,S.jsx)(o.Z,{fontSize:"1.2rem",fontWeight:"bold",children:s("storage.spaces.backup.records")}),data:r,columns:d,emptyNode:s("storage.spaces.record.emptyData",a),options:{download:!1,filter:!1,print:!1}}):(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)(t.Z,{display:"flex",height:"56px",lineHeight:"56px",alignItems:"center",children:(0,S.jsx)(o.Z,{fontSize:"1.2rem",fontWeight:"bold",children:s("storage.spaces.backup.records")})}),(0,S.jsx)(t.Z,{color:"#9397A1",marginTop:"16px",marginBottom:"24px",children:s("storage.spaces.record.emptyData")})]})})}Se.propTypes={};const we=Se;function Be(e){let{...n}=e;const{t:s}=(0,i.PE)(),{autoBackup:a,updateAutoBackup:t}=(0,b.XN)();return(0,S.jsx)(K.Z,{checked:Boolean(null===a||void 0===a?void 0:a.enabled),onChange:async()=>{try{const e=!a.enabled;await t({enabled:e}),g.Z.success(s(e?"storage.spaces.autoBackup.enabled":"storage.spaces.autoBackup.disabled"))}catch(e){g.Z.error(e.message)}},name:"enableWelcomePage",labelProps:{label:(0,S.jsx)(o.Z,{marginRight:"8px",children:(0,S.jsx)("span",{children:s("storage.spaces.autoBackup.title")})})},style:{...n.style}})}Be.propTypes={};const Ie=Be;const Ue=function(){const{t:e}=(0,i.PE)(),{blocklet:n}=(0,c.y0)(),{api:s}=(0,A.h6)(),{spaceGateways:a,spaceGatewaysLoading:r,deleteSpaceGateway:d,spaceGatewayIsSelected:p}=(0,b.XN)(),h=r&&!(null!==a&&void 0!==a&&a.length),m=async n=>{await d(n),g.Z.success(e("storage.spaces.gateway.delete.succeeded",{name:"(".concat(n.name,")")}))},x=async()=>{await s.backupBlocklet({input:{appDid:n.appDid,to:"spaces"}})};return(0,S.jsxs)(t.Z,{display:"flex",flexDirection:"column",children:[(0,S.jsxs)(t.Z,{display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"space-between",marginBottom:"12px",children:[(0,S.jsx)(o.Z,{fontSize:"1.2rem",fontWeight:"bold",flexGrow:1,children:e("storage.spaces.connected.title")}),(0,S.jsx)(Ie,{style:{marginRight:"32px"}}),(0,S.jsx)(B,{})]}),(0,S.jsx)(t.Z,{children:h?(0,S.jsx)(t.Z,{display:"flex",justifyContent:"center",children:(0,S.jsx)(l.Z,{})}):a.map((e=>(0,S.jsx)(fe,{style:{marginTop:"12px"},spaceGateway:e,connected:p(e),onDelete:m,onBackupNow:x},e.endpoint)))}),(0,S.jsx)(we,{sx:{marginTop:"24px"}}),(0,S.jsx)(o.Z,{fontSize:"1.2rem",fontWeight:"bold",mb:2,children:e("common.dataStorage")}),(0,S.jsx)(L,{blocklet:n})]})};function De(){const{backupEndpoint:e}=(0,b.XN)();return e?(0,S.jsx)(Ue,{}):(0,S.jsx)(M,{})}De.propTypes={};const Re=De},54063:(e,n,s)=>{s.d(n,{C:()=>a});const a="true"===localStorage.getItem("enableDebug")}}]);