@abtnode/webapp 1.16.23-beta-06c3a221 → 1.16.23-beta-a2f9b088

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 (160) hide show
  1. package/blocklet.js +1 -1
  2. package/blocklet.yml +1 -1
  3. package/build/asset-manifest.json +84 -74
  4. package/build/index.html +1 -1
  5. package/build/service-worker.js +1 -1
  6. package/build/static/js/1255.55dc5016.chunk.js +1 -0
  7. package/build/static/js/1279.3644d7cd.chunk.js +1 -0
  8. package/build/static/js/1366.d53a732c.chunk.js +2 -0
  9. package/build/static/js/1371.d5b7b2ae.chunk.js +1 -0
  10. package/build/static/js/{1667.c2e0f7d3.chunk.js → 1667.db634784.chunk.js} +1 -1
  11. package/build/static/js/1846.4b9fec13.chunk.js +1 -0
  12. package/build/static/js/{3732.d5b401f7.chunk.js → 1884.890fa2b0.chunk.js} +1 -1
  13. package/build/static/js/2201.071b5207.chunk.js +1 -0
  14. package/build/static/js/2251.442ccceb.chunk.js +1 -0
  15. package/build/static/js/{4494.765058da.chunk.js → 2365.a3571172.chunk.js} +1 -1
  16. package/build/static/js/2537.66c0f7e7.chunk.js +1 -0
  17. package/build/static/js/2611.e3589447.chunk.js +1 -0
  18. package/build/static/js/27.43967fa7.chunk.js +1 -0
  19. package/build/static/js/2739.2c4ef1d7.chunk.js +1 -0
  20. package/build/static/js/3003.47348306.chunk.js +1 -0
  21. package/build/static/js/318.f59bbed5.chunk.js +1 -0
  22. package/build/static/js/3239.21f53604.chunk.js +1 -0
  23. package/build/static/js/3389.b81683f9.chunk.js +1 -0
  24. package/build/static/js/3732.8f85738c.chunk.js +1 -0
  25. package/build/static/js/3748.897c3551.chunk.js +1 -0
  26. package/build/static/js/3910.7717fd80.chunk.js +2 -0
  27. package/build/static/js/4335.afdfe6af.chunk.js +2 -0
  28. package/build/static/js/4382.aa6ec982.chunk.js +2 -0
  29. package/build/static/js/4471.af415e19.chunk.js +1 -0
  30. package/build/static/js/4522.30555616.chunk.js +1 -0
  31. package/build/static/js/4549.d784c0dc.chunk.js +1 -0
  32. package/build/static/js/4775.36c4603d.chunk.js +1 -0
  33. package/build/static/js/4870.e20710f3.chunk.js +1 -0
  34. package/build/static/js/4906.b23f9eba.chunk.js +1 -0
  35. package/build/static/js/5015.4a15d35b.chunk.js +1 -0
  36. package/build/static/js/5059.7520ca24.chunk.js +1 -0
  37. package/build/static/js/{5074.217389e9.chunk.js → 5074.beb0a29b.chunk.js} +1 -1
  38. package/build/static/js/{6950.17ce7cb3.chunk.js → 5126.a0f7c984.chunk.js} +1 -1
  39. package/build/static/js/5165.7238a6aa.chunk.js +1 -0
  40. package/build/static/js/5217.3f129aac.chunk.js +1 -0
  41. package/build/static/js/5454.0ea3ca19.chunk.js +1 -0
  42. package/build/static/js/5522.de3357ec.chunk.js +1 -0
  43. package/build/static/js/5539.829c3ff0.chunk.js +1 -0
  44. package/build/static/js/5545.75c8138a.chunk.js +2 -0
  45. package/build/static/js/5672.913b0d63.chunk.js +1 -0
  46. package/build/static/js/5716.bdba5b4b.chunk.js +1 -0
  47. package/build/static/js/5941.054253be.chunk.js +1 -0
  48. package/build/static/js/5979.9ba4cc65.chunk.js +1 -0
  49. package/build/static/js/6019.8d8dc069.chunk.js +1 -0
  50. package/build/static/js/{7638.e427e7eb.chunk.js → 6076.ebfd327c.chunk.js} +1 -1
  51. package/build/static/js/6230.90c4c4f0.chunk.js +1 -0
  52. package/build/static/js/6296.0c2fd782.chunk.js +1 -0
  53. package/build/static/js/6448.4997f673.chunk.js +1 -0
  54. package/build/static/js/6499.6b17e117.chunk.js +1 -0
  55. package/build/static/js/6511.559f5478.chunk.js +1 -0
  56. package/build/static/js/6580.f68738f7.chunk.js +1 -0
  57. package/build/static/js/6771.5d826eed.chunk.js +1 -0
  58. package/build/static/js/6931.a2c645a5.chunk.js +1 -0
  59. package/build/static/js/6944.324ea8dc.chunk.js +1 -0
  60. package/build/static/js/6974.a54976fd.chunk.js +2 -0
  61. package/build/static/js/7096.3b166778.chunk.js +1 -0
  62. package/build/static/js/7131.e9b49104.chunk.js +2 -0
  63. package/build/static/js/7288.9408f652.chunk.js +1 -0
  64. package/build/static/js/730.6863aa68.chunk.js +1 -0
  65. package/build/static/js/7327.bd5ce26d.chunk.js +1 -0
  66. package/build/static/js/{744.74c12fbb.chunk.js → 744.3ca8c691.chunk.js} +1 -1
  67. package/build/static/js/7534.922dfbaf.chunk.js +1 -0
  68. package/build/static/js/{3135.38b886dd.chunk.js → 7558.10c2eb9c.chunk.js} +1 -1
  69. package/build/static/js/{7676.96ca7a9d.chunk.js → 7676.065418f9.chunk.js} +2 -2
  70. package/build/static/js/7880.3033e72c.chunk.js +1 -0
  71. package/build/static/js/{7913.2a92d95b.chunk.js → 7913.7536ae3f.chunk.js} +1 -1
  72. package/build/static/js/7998.1b37b898.chunk.js +1 -0
  73. package/build/static/js/{8219.6a609267.chunk.js → 8219.50ba71f3.chunk.js} +1 -1
  74. package/build/static/js/8342.53d61f70.chunk.js +1 -0
  75. package/build/static/js/8353.147d5d03.chunk.js +1 -0
  76. package/build/static/js/8387.c80dae7e.chunk.js +1 -0
  77. package/build/static/js/{9038.aa97e3e5.chunk.js → 9038.8440f044.chunk.js} +1 -1
  78. package/build/static/js/9147.1d34e02a.chunk.js +1 -0
  79. package/build/static/js/{9249.7f9c1c36.chunk.js → 9249.56a634fd.chunk.js} +1 -1
  80. package/build/static/js/9364.8a0a4d02.chunk.js +2 -0
  81. package/build/static/js/9534.e20c7fe7.chunk.js +1 -0
  82. package/build/static/js/9552.9a49abdd.chunk.js +1 -0
  83. package/build/static/js/9636.f68486b9.chunk.js +1 -0
  84. package/build/static/js/9760.ee24f252.chunk.js +1 -0
  85. package/build/static/js/9811.24d24075.chunk.js +2 -0
  86. package/build/static/js/9940.1532b9e6.chunk.js +1 -0
  87. package/build/static/js/main.f8c34aa4.js +2 -0
  88. package/package.json +1 -1
  89. package/build/static/js/1279.16c56464.chunk.js +0 -1
  90. package/build/static/js/1366.409596f3.chunk.js +0 -2
  91. package/build/static/js/1371.9dada426.chunk.js +0 -1
  92. package/build/static/js/1524.3b0ec35f.chunk.js +0 -1
  93. package/build/static/js/1685.5ad36577.chunk.js +0 -2
  94. package/build/static/js/1846.c065e8f3.chunk.js +0 -1
  95. package/build/static/js/2168.b50899db.chunk.js +0 -1
  96. package/build/static/js/2183.ddd3936e.chunk.js +0 -1
  97. package/build/static/js/2334.84a8e434.chunk.js +0 -1
  98. package/build/static/js/2365.f0c1d3f5.chunk.js +0 -1
  99. package/build/static/js/253.4a3aa017.chunk.js +0 -1
  100. package/build/static/js/2537.10cf10fb.chunk.js +0 -1
  101. package/build/static/js/2611.a6ba28ea.chunk.js +0 -1
  102. package/build/static/js/271.f6faf47d.chunk.js +0 -1
  103. package/build/static/js/2746.3c3fbc71.chunk.js +0 -1
  104. package/build/static/js/2880.9bfbce77.chunk.js +0 -2
  105. package/build/static/js/2960.d9d73c56.chunk.js +0 -1
  106. package/build/static/js/3058.361813c3.chunk.js +0 -1
  107. package/build/static/js/318.b12ac498.chunk.js +0 -2
  108. package/build/static/js/3216.04d7e546.chunk.js +0 -1
  109. package/build/static/js/3389.8123efdc.chunk.js +0 -1
  110. package/build/static/js/3883.5ba68533.chunk.js +0 -1
  111. package/build/static/js/406.35792759.chunk.js +0 -1
  112. package/build/static/js/436.f8d09df9.chunk.js +0 -1
  113. package/build/static/js/4382.2e63293f.chunk.js +0 -2
  114. package/build/static/js/4471.be33bf7f.chunk.js +0 -1
  115. package/build/static/js/4509.979a620a.chunk.js +0 -2
  116. package/build/static/js/4549.2d28f369.chunk.js +0 -1
  117. package/build/static/js/4775.0e4bd5d9.chunk.js +0 -1
  118. package/build/static/js/4852.b6d13b15.chunk.js +0 -1
  119. package/build/static/js/4901.639e63b2.chunk.js +0 -1
  120. package/build/static/js/4906.117d19c2.chunk.js +0 -1
  121. package/build/static/js/5015.43a32df6.chunk.js +0 -1
  122. package/build/static/js/5059.70e9adb7.chunk.js +0 -1
  123. package/build/static/js/5374.d9d1223d.chunk.js +0 -1
  124. package/build/static/js/5672.80be8e95.chunk.js +0 -1
  125. package/build/static/js/5760.25b1d70f.chunk.js +0 -1
  126. package/build/static/js/5887.aada06d9.chunk.js +0 -2
  127. package/build/static/js/5887.aada06d9.chunk.js.LICENSE.txt +0 -5
  128. package/build/static/js/5914.96b9321c.chunk.js +0 -2
  129. package/build/static/js/592.5e930c27.chunk.js +0 -2
  130. package/build/static/js/5979.f31629cc.chunk.js +0 -1
  131. package/build/static/js/6016.e15d85af.chunk.js +0 -1
  132. package/build/static/js/6230.b9d9b3f3.chunk.js +0 -1
  133. package/build/static/js/6511.2aee4cca.chunk.js +0 -1
  134. package/build/static/js/6931.d2496fd4.chunk.js +0 -1
  135. package/build/static/js/6944.c3ed8c6e.chunk.js +0 -1
  136. package/build/static/js/7020.9e86a0f7.chunk.js +0 -1
  137. package/build/static/js/7534.b8e625dd.chunk.js +0 -1
  138. package/build/static/js/7657.79be5056.chunk.js +0 -2
  139. package/build/static/js/7687.8a828ac5.chunk.js +0 -1
  140. package/build/static/js/7718.672877c0.chunk.js +0 -1
  141. package/build/static/js/8986.70b9952f.chunk.js +0 -1
  142. package/build/static/js/9041.9226982f.chunk.js +0 -1
  143. package/build/static/js/9327.93934827.chunk.js +0 -1
  144. package/build/static/js/95.a50db679.chunk.js +0 -1
  145. package/build/static/js/9552.eb2bee16.chunk.js +0 -1
  146. package/build/static/js/9662.5b1fd43c.chunk.js +0 -1
  147. package/build/static/js/9958.525b838c.chunk.js +0 -1
  148. package/build/static/js/main.d309c07d.js +0 -2
  149. /package/build/static/css/{7657.cc1ab277.chunk.css → 9811.cc1ab277.chunk.css} +0 -0
  150. /package/build/static/js/{1366.409596f3.chunk.js.LICENSE.txt → 1366.d53a732c.chunk.js.LICENSE.txt} +0 -0
  151. /package/build/static/js/{2880.9bfbce77.chunk.js.LICENSE.txt → 3910.7717fd80.chunk.js.LICENSE.txt} +0 -0
  152. /package/build/static/js/{1685.5ad36577.chunk.js.LICENSE.txt → 4335.afdfe6af.chunk.js.LICENSE.txt} +0 -0
  153. /package/build/static/js/{4382.2e63293f.chunk.js.LICENSE.txt → 4382.aa6ec982.chunk.js.LICENSE.txt} +0 -0
  154. /package/build/static/js/{318.b12ac498.chunk.js.LICENSE.txt → 5545.75c8138a.chunk.js.LICENSE.txt} +0 -0
  155. /package/build/static/js/{592.5e930c27.chunk.js.LICENSE.txt → 6974.a54976fd.chunk.js.LICENSE.txt} +0 -0
  156. /package/build/static/js/{5914.96b9321c.chunk.js.LICENSE.txt → 7131.e9b49104.chunk.js.LICENSE.txt} +0 -0
  157. /package/build/static/js/{7676.96ca7a9d.chunk.js.LICENSE.txt → 7676.065418f9.chunk.js.LICENSE.txt} +0 -0
  158. /package/build/static/js/{4509.979a620a.chunk.js.LICENSE.txt → 9364.8a0a4d02.chunk.js.LICENSE.txt} +0 -0
  159. /package/build/static/js/{7657.79be5056.chunk.js.LICENSE.txt → 9811.24d24075.chunk.js.LICENSE.txt} +0 -0
  160. /package/build/static/js/{main.d309c07d.js.LICENSE.txt → main.f8c34aa4.js.LICENSE.txt} +0 -0
@@ -0,0 +1 @@
1
+ (self.webpackChunk_abtnode_webapp=self.webpackChunk_abtnode_webapp||[]).push([[1371],{58854:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>p});var a=n(85493),o=n(91373),r=n(86230),i=n(37618),s=n(43077),l=n(13644),c=n(75793),d=n(96266);function p(){const e=(0,a.useNavigate)(),{name:t="abtnode"}=(0,a.useParams)(),{info:n}=(0,c.h6)(),p=n.routing.provider,u=[{id:"abtnode",name:"Blocklet Server",types:["error","info","access","stdout","stderr","pm2"]},{id:"blocklet-services",name:"Blocklet Services",types:["error","info","access","stdout","stderr"]}];if(p){const e="Service Gateway(".concat(p,")");u.push({id:"service-gateway-".concat(p),name:e,types:["error","access"]})}const m=(0,d.jsx)(o.Z,{sx:{minWidth:240},children:(0,d.jsx)(r.Z,{value:t,onChange:t=>{e("/logs/".concat(t.target.value))},size:"small",children:u.map((e=>(0,d.jsx)(i.Z,{value:e.id,children:e.name},e.id)))})}),g=u.find((e=>e.id===t))||u[0];return(0,d.jsx)(s.l,{name:g.name,logId:g.id,types:g.types,prepend:m,postpend:(0,d.jsx)(l.Z,{id:n.did,name:"blocklet-server"})},g.id)}},24460:(e,t,n)=>{const a=n(93845);e.exports=e=>a((e||"").replace(/^[@./-]/,"").replace(/[@./_]/g,"-"))},13644:(e,t,n)=>{"use strict";n.d(t,{Z:()=>j});var a=n(5057),o=n(55898),r=n.n(o),i=n(1577),s=n.n(i),l=n(87543),c=n(79146),d=n(35214),p=n(70116),u=n(76282),m=n(69544),g=n(28726),f=n(68420),h=n(13128),b=n(24460),v=n.n(b),x=n(86229),y=n(58238),Z=n(96266);const w=[1,7];function j(e){let{id:t,name:n}=e;const{t:o}=(0,f.PE)(),{restApi:r,inService:i}=(0,y.h6)(),[b,j]=(0,a.useState)(!1),[k,C]=(0,a.useState)(!1),[S,M]=(0,a.useState)(1);return[(0,Z.jsx)(l.Z,{display:"flex",alignItems:"center",style:{gap:16},children:(0,Z.jsxs)(g.Z,{"data-cy":"download-logs",variant:"outlined",onClick:()=>j(!0),disabled:k,children:[k?(0,Z.jsx)(m.Z,{size:16}):(0,Z.jsx)(c.Z,{fontSize:"small",style:{transform:"translateY(2px)"}}),(0,Z.jsx)(l.Z,{ml:.5,children:o("common.download")})]})}),b&&(0,Z.jsx)(h.ZP,{open:!0,onClose:()=>{j(!1)},disableEscapeKeyDown:!0,title:o("common.download"),PaperProps:{style:{minHeight:"auto"}},actions:(0,Z.jsxs)(g.Z,{"data-cy":"download-logs",variant:"outlined",onClick:()=>(async()=>{if(!k)try{C(!0);const e=i?"":"/".concat(t),a=await r.get("/download/log".concat(e,"?days=").concat(S),{responseType:"blob"}),o=URL.createObjectURL(a.data),l=document.createElement("a");l.href=o,l.setAttribute("download","".concat(v()(n||t),".").concat(s()().format("YYYYMMDDHHmmss"),".log.zip")),document.body.appendChild(l),l.click(),document.body.removeChild(l),URL.revokeObjectURL(o),C(!1),j(!1)}catch(e){C(!1),x.Z.error(e.message)}})(),disabled:k,children:[k&&(0,Z.jsx)(m.Z,{size:16}),(0,Z.jsx)(l.Z,{ml:.5,children:o("common.confirm")})]}),children:(0,Z.jsx)(l.Z,{mb:2,display:"flex",justifyContent:"center",children:(0,Z.jsx)(d.Z,{size:"small",fullWidth:!0,children:(0,Z.jsx)(p.Z,{value:S,onChange:e=>{M(e.target.value)},children:w.map((e=>(0,Z.jsx)(u.Z,{value:e,children:o("log.lastDays.".concat(e))},e)))})})})})]}j.propTypes={id:r().string.isRequired,name:r().string},j.defaultProps={name:""}},43077:(e,t,n)=>{"use strict";n.d(t,{l:()=>x});var a=n(71171),o=n(5057),r=n(33518),i=n(55898),s=n.n(i),l=n(12958),c=n(83388),d=n(92102),p=n(9746),u=n(12726),m=n(14491);const g=function(){const[e,t]=(0,o.useState)(+new Date);return(0,u.Z)((()=>{t(+new Date)}),1e3),(0,m.mr)(e,"MMMM Do YYYY, h:mm:ss a")};var f,h,b=n(58238),v=n(96266);function x(e){let{name:t,logId:n,types:a,defaultTypeIndex:r,initialData:i,prepend:s,postpend:p,onTypeChange:u,...m}=e;const{ws:{useSubscription:g}}=(0,b.h6)(),f={info:"Info",error:"Error",access:"Access",stdout:"stdout",stderr:"stderr",pm2:"PM2"},h=(0,d.Z)((e=>e.breakpoints.down("md"))),[x,w]=(0,o.useState)(a[r||0]),[j,k]=(0,o.useState)(),C=(0,o.useRef)({});return(0,o.useEffect)((()=>{a.forEach((e=>{const n=C.current[e];n&&(n.write("Collecting ".concat(e," logs for ").concat(t,"...")),n.write("\r\n\r\n"),i.forEach((e=>n.write(e))))}))}),[]),g("log.".concat(n),(e=>{j||k(e.logFiles||{});const t=C.current[e.level];t&&(t.write(e.data.replace(/.\n/g,(e=>"\r\n"===e?e:"".concat(e[0],"\r\n\r\n")))),t.write("\r\n\r\n"))}),[]),(0,v.jsxs)(y,{...m,children:[(0,v.jsxs)("div",{className:"log-terminal-group-head",children:[(0,v.jsxs)("div",{className:"log-terminal-group-head-start",children:[s,(0,v.jsx)(c.Z,{variant:"outlined",size:h?"small":"medium",children:a.map((e=>{const t=e===x?{variant:"contained"}:{};return(0,v.jsx)(l.Z,{...t,onClick:()=>{w(e),u(e)},children:f[e]},e)}))})]}),(0,v.jsx)("div",{className:"log-terminal-group-head-end",children:p})]}),(0,v.jsx)("div",{className:"log-terminal-group-terminals",children:a.map((e=>(0,v.jsx)(Z,{ref:t=>{C.current[e]=t},logFile:null===j||void 0===j?void 0:j[e],style:{visibility:e===x?"visible":"hidden"}},e)))})]})}x.propTypes={name:s().string.isRequired,logId:s().string.isRequired,types:s().arrayOf(s().string),defaultTypeIndex:s().number,initialData:s().arrayOf(s().string),prepend:s().node,postpend:s().node,onTypeChange:s().func},x.defaultProps={types:["error","info","access","stdout","stderr"],defaultTypeIndex:0,initialData:[],prepend:null,postpend:null,onTypeChange:()=>{}};const y=r.Z.div(f||(f=(0,a.Z)(["\n display: flex;\n flex-direction: column;\n height: 100%;\n .log-terminal-group-head {\n display: flex;\n align-items: center;\n justify-content: space-between;\n padding-bottom: 16px;\n }\n\n .log-terminal-group-head-start {\n flex: 0 0 auto;\n display: flex;\n align-items: center;\n gap: 16px;\n "," {\n flex-direction: column;\n align-items: start;\n }\n }\n\n .log-terminal-group-head-end {\n flex: 0 0 auto;\n display: flex;\n align-items: center;\n gap: 16px;\n "," {\n flex-direction: column;\n align-items: start;\n }\n }\n .log-terminal-group-terminals {\n flex: 1;\n position: relative;\n overflow: hidden;\n > * {\n position: absolute;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n }\n }\n"])),(e=>e.theme.breakpoints.down("md")),(e=>e.theme.breakpoints.down("md"))),Z=(0,o.forwardRef)(((e,t)=>{let{logFile:n,...a}=e;return(0,v.jsxs)(w,{...a,children:[(0,v.jsxs)("div",{className:"log-terminal-top",children:[(0,v.jsx)(g,{}),n&&(0,v.jsx)("span",{children:n})]}),(0,v.jsx)("div",{className:"log-terminal-container",style:{position:"relative"},children:(0,v.jsx)(p.Z,{ref:t,style:{width:"100%",boxSizing:"border-box",height:"100%"},options:{theme:{background:"#2C313C",foreground:"#EEEEEE"}}})})]})}));Z.propTypes={logFile:s().string},Z.defaultProps={logFile:""};const w=r.Z.div(h||(h=(0,a.Z)(["\n height: 100%;\n display: flex;\n flex-direction: column;\n .log-terminal-top {\n flex: 0 0 auto;\n display: flex;\n justify-content: space-between;\n align-items: center;\n flex-wrap: wrap;\n padding: 8px;\n font-size: 14px;\n color: aquamarine;\n background: darkgray;\n word-break: break-word;\n }\n .log-terminal-container {\n flex: 1;\n height: 100%;\n padding: 8px;\n overflow: hidden;\n background: #2c313c;\n }\n\n .xterm-viewport::-webkit-scrollbar {\n width: 10px;\n }\n .xterm-viewport::-webkit-scrollbar-track {\n opacity: 0;\n }\n .xterm-viewport::-webkit-scrollbar-thumb {\n min-height: 20px;\n background-color: #ffffff20;\n }\n"])))},68421:(e,t,n)=>{"use strict";n.d(t,{V:()=>r,Z:()=>i});var a=n(31821),o=n(18561);function r(e){return(0,o.ZP)("MuiDivider",e)}const i=(0,a.Z)("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"])},37618:(e,t,n)=>{"use strict";n.d(t,{Z:()=>C});var a=n(31461),o=n(7896),r=n(5057),i=n(9978),s=n(91213),l=n(66685),c=n(76625),d=n(16282),p=n(65326),u=n(96517),m=n(47254),g=n(5099),f=n(68421),h=n(7781),b=n(16318),v=n(31821),x=n(18561);function y(e){return(0,x.ZP)("MuiMenuItem",e)}const Z=(0,v.Z)("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]);var w=n(96266);const j=["autoFocus","component","dense","divider","disableGutters","focusVisibleClassName","role","tabIndex","className"],k=(0,c.ZP)(u.Z,{shouldForwardProp:e=>(0,c.FO)(e)||"classes"===e,name:"MuiMenuItem",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,n.divider&&t.divider,!n.disableGutters&&t.gutters]}})((e=>{let{theme:t,ownerState:n}=e;return(0,o.Z)({},t.typography.body1,{display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",whiteSpace:"nowrap"},!n.disableGutters&&{paddingLeft:16,paddingRight:16},n.divider&&{borderBottom:"1px solid ".concat((t.vars||t).palette.divider),backgroundClip:"padding-box"},{"&:hover":{textDecoration:"none",backgroundColor:(t.vars||t).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},["&.".concat(Z.selected)]:{backgroundColor:t.vars?"rgba(".concat(t.vars.palette.primary.mainChannel," / ").concat(t.vars.palette.action.selectedOpacity,")"):(0,l.Fq)(t.palette.primary.main,t.palette.action.selectedOpacity),["&.".concat(Z.focusVisible)]:{backgroundColor:t.vars?"rgba(".concat(t.vars.palette.primary.mainChannel," / calc(").concat(t.vars.palette.action.selectedOpacity," + ").concat(t.vars.palette.action.focusOpacity,"))"):(0,l.Fq)(t.palette.primary.main,t.palette.action.selectedOpacity+t.palette.action.focusOpacity)}},["&.".concat(Z.selected,":hover")]:{backgroundColor:t.vars?"rgba(".concat(t.vars.palette.primary.mainChannel," / calc(").concat(t.vars.palette.action.selectedOpacity," + ").concat(t.vars.palette.action.hoverOpacity,"))"):(0,l.Fq)(t.palette.primary.main,t.palette.action.selectedOpacity+t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:t.vars?"rgba(".concat(t.vars.palette.primary.mainChannel," / ").concat(t.vars.palette.action.selectedOpacity,")"):(0,l.Fq)(t.palette.primary.main,t.palette.action.selectedOpacity)}},["&.".concat(Z.focusVisible)]:{backgroundColor:(t.vars||t).palette.action.focus},["&.".concat(Z.disabled)]:{opacity:(t.vars||t).palette.action.disabledOpacity},["& + .".concat(f.Z.root)]:{marginTop:t.spacing(1),marginBottom:t.spacing(1)},["& + .".concat(f.Z.inset)]:{marginLeft:52},["& .".concat(b.Z.root)]:{marginTop:0,marginBottom:0},["& .".concat(b.Z.inset)]:{paddingLeft:36},["& .".concat(h.Z.root)]:{minWidth:36}},!n.dense&&{[t.breakpoints.up("sm")]:{minHeight:"auto"}},n.dense&&(0,o.Z)({minHeight:32,paddingTop:4,paddingBottom:4},t.typography.body2,{["& .".concat(h.Z.root," svg")]:{fontSize:"1.25rem"}}))})),C=r.forwardRef((function(e,t){const n=(0,d.Z)({props:e,name:"MuiMenuItem"}),{autoFocus:l=!1,component:c="li",dense:u=!1,divider:f=!1,disableGutters:h=!1,focusVisibleClassName:b,role:v="menuitem",tabIndex:x,className:Z}=n,C=(0,a.Z)(n,j),S=r.useContext(p.Z),M=r.useMemo((()=>({dense:u||S.dense||!1,disableGutters:h})),[S.dense,u,h]),O=r.useRef(null);(0,m.Z)((()=>{l&&O.current&&O.current.focus()}),[l]);const I=(0,o.Z)({},n,{dense:M.dense,divider:f,disableGutters:h}),R=(e=>{const{disabled:t,dense:n,divider:a,disableGutters:r,selected:i,classes:l}=e,c={root:["root",n&&"dense",t&&"disabled",!r&&"gutters",a&&"divider",i&&"selected"]},d=(0,s.Z)(c,y,l);return(0,o.Z)({},l,d)})(n),D=(0,g.Z)(O,t);let P;return n.disabled||(P=void 0!==x?x:-1),(0,w.jsx)(p.Z.Provider,{value:M,children:(0,w.jsx)(k,(0,o.Z)({ref:D,role:v,tabIndex:P,component:c,focusVisibleClassName:(0,i.Z)(R.focusVisible,b),className:(0,i.Z)(R.root,Z)},C,{ownerState:I,classes:R}))})}))}}]);
@@ -1 +1 @@
1
- "use strict";(self.webpackChunk_abtnode_webapp=self.webpackChunk_abtnode_webapp||[]).push([[1667],{13455:(e,n,t)=>{t.d(n,{Z:()=>d});var l=t(55898),o=t.n(l),a=t(36687),s=t(72333);const i="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAUAAAAFACAYAAADNkKWq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RRZxJXjMFWr8/yOAJrosRQAbl/Gl6h4YbNQggJ0QwmkIXy0C2BkhPIyJbk0C2Ckh3I3BRm0C2LmM+8YZCB9BAIuI+MUGRWxSVA2hiS7bBLCgTC9VL8Fgg+sIYGG9h1D4uI0A0l0ITXTZlQDyt9ZDaLDBvgSQ72T9EILrCB+HEkCulXHf+LL4cIgnT54IHwcTQG6V6aVqgw2mJIDsbM0QCh9zEED2tmQIx2+piy9nEj6mJoAcbM4QGmywBAHkaFPuGwsfSxJAJnPMvrGJLmsQQGaxy0vVBhusTQCZVYTww4cPmy84iu/6iNDFqtr9+/eFj9UJIFCWH79AWQIIlCWAQFn/BizMxGSX68uEAAAAAElFTkSuQmCC";var r=t(74094),c=t(96266);function d(e){let{blocklet:n,blockletMetaUrl:t}=e;const{did:l,logo:o}=n.meta;let d;return d=o?(0,c.jsx)(a.Z,{src:(0,r.aZ)({did:l,logoPath:o,baseUrl:new URL(t).origin}),fallback:i,width:64,size:"contain",placeholder:"application logo"}):(0,c.jsx)(s.Z,{did:l,size:64}),d}d.propTypes={blocklet:o().object.isRequired,blockletMetaUrl:o().string.isRequired}},13932:(e,n,t)=>{t.d(n,{Z:()=>f});var l,o=t(71171),a=t(68420),s=t(77277),i=t(33518),r=t(39948),c=t(5057),d=t(11397),u=t.n(d),h=t(34937),p=t(96266);const m=u()("@abtnode/webapp:launch-blocklet:download-progress");const g=(e,n)=>{m("getDownloadBundleStep",e);return(e||[]).map((e=>{var t;const l=n("launchBlocklet.waiting.".concat("extracting"===e.status?"extractingComponent":"downloadingComponent"),{name:(null===(t=e.component)||void 0===t?void 0:t.title)||""}),o=e.total&&e.current?": ".concat(Math.floor(e.current/e.total*100)," %"):"";let a=e.name?": ".concat(e.name):"";return o||(a+="..."),"".concat(l).concat(o).concat(a)})).join("\n")};function f(e){let{appDid:n,visible:t}=e;const{t:l}=(0,a.PE)(),o=function(e){let{appDid:n}=e;const[t,l]=(0,c.useState)([]),o=(0,h.ZP)();return(0,c.useEffect)((()=>(o.on(s.BlockletEvents.downloadBundleProgress,(e=>{n&&n===(null===e||void 0===e?void 0:e.appDid)&&l((n=>{const t=[...n],l=t.findIndex((n=>{var t,l;return(null===(t=n.component)||void 0===t?void 0:t.did)===(null===(l=e.component)||void 0===l?void 0:l.did)}));return"completed"===e.status?-1!==l&&t.splice(l,1):-1!==l?t[l]=e:t.push(e),[...t]}))})),()=>{o.off(s.BlockletEvents.downloadBundleProgress)})),[n,o]),t}({appDid:n});return(0,p.jsx)(x,{style:{display:t?"block":"none"},children:g(o,l)})}f.defaultProps={appDid:"",visible:!0};const x=(0,i.Z)(r.Z)(l||(l=(0,o.Z)(["\n flex: 0 0 auto;\n white-space: pre;\n overflow-y: auto;\n overflow-x: auto;\n max-height: 10em;\n max-width: 500px;\n min-width: auto;\n @media (max-width: ","px) {\n max-width: 90%;\n max-height: 30vh;\n }\n"])),(e=>e.theme.breakpoints.values.md))},66436:(e,n,t)=>{t.d(n,{Z:()=>i});var l,o=t(71171),a=t(33518),s=t(96266);function i(e){let{children:n}=e;return(0,s.jsx)(r,{children:n})}const r=a.Z.div(l||(l=(0,o.Z)(["\n color: #1dc1c7;\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n width: 100%;\n"])))},11476:(e,n,t)=>{t.d(n,{Z:()=>x});var l=t(5057),o=t(77277),a=t(31853),s=t(11397),i=t.n(s),r=t(34937),c=t(10155);const d=i()("@abtnode/webapp:launch-blocklet:runtime-state"),u=Object.keys(o.BlockletStatus),h=Object.values(o.BlockletStatus),p=Object.values(o.BlockletEvents).filter((e=>![o.BlockletEvents.purchaseChange,o.BlockletEvents.domainStatus].includes(e))),m=(e,n)=>{var t;return(null===e||void 0===e?void 0:e.appDid)===n||(null===e||void 0===e||null===(t=e.meta)||void 0===t?void 0:t.did)===n},g=8e3,f=2e3;function x(e){const n=(0,c.Z)(),t=(0,r.ZP)(),o=(0,l.useRef)(null),s=()=>{e&&!o.current&&(o.current=setInterval((()=>{e&&(d("polling blocklet state"),v())}),f))},[i,x]=(0,a.Z)({status:null,eventName:"",runtimeBlocklet:null,error:"",isGetBlocklet:!1,startPolling:s,stopPolling:()=>{o.current&&clearInterval(o.current)}}),v=()=>{n.getBlocklet({input:{did:e,attachRuntimeInfo:!0}}).then((e=>{x({status:e.blocklet?e.blocklet.status:"",eventName:"",runtimeBlocklet:e.blocklet,isGetBlocklet:!0})})).catch((e=>{console.error("get blocklet failed",e)}))};(0,l.useEffect)((()=>{let n=null;return e&&(d("schedule polling blocklet state"),n=setTimeout((()=>{s()}),g)),()=>{n&&clearInterval(n)}}),[e]),(0,l.useEffect)((()=>{e?null===i.status&&(d("polling blocklet state on start"),v()):x({status:"",eventName:"",runtimeBlocklet:null})}),[e,i.status]);const b=n=>t=>{if(m(t,e)){const e={status:null,eventName:n,runtimeBlocklet:t,isGetBlocklet:!1};if(t.error)d("blocklet error",{blockletEventName:n,error:t.error}),e.status="error",e.error=t.error;else{const l=u[h.indexOf(t.status)];d("blocklet event",{blockletEventName:n,status:l}),l&&(e.status=l)}x(e)}};for(const a of p)(0,l.useEffect)((()=>{const n=b(a);return e&&t.on(a,n),()=>{e&&t.off(a,n)}}),[e]);return i}},71667:(e,n,t)=>{t.r(n),t.d(n,{default:()=>Ue});var l,o,a=t(71171),s=t(85493),i=t(6352),r=t.n(i),c=t(21371),d=t(72904),u=t(33518),h=t(68420),p=t(63902),m=t(51703),g=t(12073),f=t(15959),x=t(10866),v=t(4456),b=t(28864),k=t(99641),y=t(44846),j=t(88574),w=t(35966),A=t(75793),C=t(38242),E=t(55309),Z=t(8790),B=t(77609),L=t(23484),P=t(96266);const D=u.Z.a(l||(l=(0,a.Z)(["\n display: block;\n height: 36px;\n color: ",";\n"])),(e=>e.theme.palette.primary.main)),N=(0,u.Z)(Z.Z)(o||(o=(0,a.Z)(["\n .app-info_desc {\n font-weight: 400;\n margin-top: 40px;\n font-size: 18px;\n line-height: 21px;\n color: #222222;\n }\n\n .body {\n text-align: center;\n }\n\n "," {\n .app-info_desc {\n font-size: 16px;\n }\n }\n\n .circle_icon {\n font-size: 58px;\n color: ",";\n }\n"])),(e=>e.theme.breakpoints.down("md")),(e=>"error"===e.variant?e.theme.palette.error.main:e.theme.palette.success.main)),M=function(){const{t:e}=(0,h.PE)(),{info:n}=(0,A.h6)(),t=(0,L.Z)(),l=decodeURIComponent(t.get("accessUrl")||""),{meta:o}=(0,B.H0)();return(0,P.jsx)(N,{children:(0,P.jsx)("div",{className:"body",children:(0,P.jsx)(E.Z,{variant:"success",title:(0,C.getDisplayName)({meta:o},!0),subTitle:e("launchBlocklet.installSuccess",{serverName:n.name}),footer:(0,P.jsx)(D,{href:l,rel:"noreferrer","data-cy":"open-blocklet",children:e("common.open")})})})})};var R=t(39463),I=t(4651),S=t(86229),T=t(14491),O=t(60344),Q=t(17450),z=t(43316),U=t(35266),J=t(77277),H=t(2660),F=t(77429),X=t(48086),K=t(38898),V=t(75506),G=t.n(V),W=t(50482),Y=t.n(W),_=t(5057),q=t(15849),$=t(67654),ee=t(31853),ne=t(11397),te=t.n(ne),le=t(52581),oe=t(11476),ae=t(25339),se=t(74094),ie=t(13455),re=t(28726);function ce(e){let{children:n,...t}=e;return(0,P.jsx)(re.Z,{variant:"contained",color:"primary",...t,children:n})}const de=(0,_.forwardRef)(((e,n)=>(0,P.jsx)(ce,{...e,forwardedRef:n})));var ue,he,pe,me,ge=t(13932),fe=t(93040),xe=t(66436);const ve=te()("@abtnode/webapp:launch-blocklet:step-install"),be=(e,n)=>!n.statusChanged&&("installed"===e||"running"===e)&&!n.launching,ke=(e,n,t)=>t("nft"===n?e?"launchBlocklet.dialog.nftFreeDescription":"launchBlocklet.dialog.nftPaidDescription":e?"launchBlocklet.dialog.freeDescription":"launchBlocklet.dialog.paidDescription"),ye="setup_token",je=e=>{sessionStorage.setItem(ye,e)},we=()=>{sessionStorage.removeItem(ye)},Ae=()=>sessionStorage.getItem(ye);function Ce(){const e=(0,L.Z)(),{t:n,locale:t}=(0,h.PE)(),{api:l,info:o}=(0,A.h6)(),{session:a,api:i}=(0,ae.Tt)(),c=(0,s.useNavigate)(),{loading:d,meta:u,isFree:p,appDid:m,sessionId:g,storeUrl:f,blockletMetaUrl:x,isExternal:v,setAppDid:b,launcherUrl:k,launcherSessionId:j,isInstalling:E,isInstalled:Z}=(0,B.H0)(),D=u?(0,C.getDisplayName)({meta:u},!0):null,N=e.get("launchType"),M=e.get("chainHost"),V=!!e.get("onlyRequired"),W=e.get("nftId"),ne=(0,_.useRef)(null),{decrypt:te,encryptKey:re}=(0,z.R)(),[ce]=(0,$.Z)("skip-blocklet-setup",!1),[ue,he]=(0,ee.Z)({launching:!1,visiting:!1,statusChanged:!1,isConnectOpen:!1,nextAccessUrl:"",loaded:!1,installError:null,progressIndex:0,connectData:{action:"",baseUrl:"",checkFn:()=>{},extraParams:{}}}),pe=(0,fe.Iq)({user:a.user,launchType:N,nftId:W}),me=(0,R.getServerAuthMethod)(o,N,j,pe),ye=(0,oe.Z)(pe?m:""),{status:Ce,eventName:Pe}=ye,De=e.get("from");(0,_.useEffect)((()=>{d||(Z||E||Ne(),he({loaded:!0}))}),[d]);const Ne=async()=>{const e=a.user?"".concat(a.user.fullName,"'s ").concat(D):D;if(he({installError:null}),null!==a&&void 0!==a&&a.user&&!v&&"serverless"!==N)try{await(async()=>{const{isNew:e,decoded:n}=(0,se.bQ)(f,o.blockletRegistryList);e&&await l.addBlockletStore({input:{teamDid:o.did,url:n}})})()}catch(h){console.error("addNewRegistryToRegistryList error:",h)}if(p){var n,t,s;const l="launch-free-blocklet-by-".concat(me);he({isConnectOpen:!0,connectData:{action:l,baseUrl:"",checkFn:O.od.create({baseURL:null!==(n=null===(t=window)||void 0===t||null===(s=t.env)||void 0===s?void 0:s.apiPrefix)&&void 0!==n?n:"/"}).get,extraParams:{wt:(0,I.iK)(u),title:e,blockletMetaUrl:x,launchType:N,nftId:W,chainHost:decodeURIComponent(M),launcherUrl:k,launcherSessionId:j,onlyRequired:V}}})}else{var i,c,d;const n="launch-paid-blocklet-by-".concat(me),t=new URL(window.location.href);t.pathname=r()(null!==(i=null===(c=window)||void 0===c||null===(d=c.env)||void 0===d?void 0:d.apiPrefix)&&void 0!==i?i:"/","/api/did/".concat(n,"/token")),t.searchParams.set("wt",(0,I.iK)(u)),t.searchParams.set("_ek_",re),t.searchParams.set("title",e),t.searchParams.set("autoConnect",!1),t.searchParams.set("blockletMetaUrl",x),N&&t.searchParams.set("launchType",N),W&&t.searchParams.set("nftId",W),k&&t.searchParams.set("launcherUrl",k),j&&t.searchParams.set("launcherSessionId",j);const{data:l}=await O.hi.get(t.href);he({isConnectOpen:!0,connectData:{action:"verify-purchase-blocklet",baseUrl:new URL(x).origin,checkFn:O.od.create({baseURL:new URL(x).origin}).get,extraParams:{serverDid:o.did,blockletDid:null===u||void 0===u?void 0:u.did,nw:l.url}}})}},Me=async n=>{if(ve("visitBlocklet",{status:Ce,state:ue,appDid:m}),ue.visiting)return;he({visiting:!0});const t=(0,T.A6)({blocklet:n}),l=await(0,se.D)(t);if(G()(l)&&"serverless"!==N||ce)return he({visiting:!1}),void setTimeout((()=>{(n=>{const t="/".concat(o.routing.adminPath,"/blocklets/").concat(n.meta.did,"/configuration").replace(/\/+/g,"/");let l="/launch-blocklet/complete?status=installed&name=".concat(encodeURIComponent(D),"&accessUrl=").concat(encodeURIComponent(t),"&blocklet_meta_url=").concat(x);const a=e.get("fromLauncher");a&&(l+="&fromLauncher=".concat(a)),N&&(l+="&launchType=".concat(N)),M&&(l+="&chainHost=".concat(M)),c(l)})(n)}),1e3);if(G()(l))return void he({visiting:!1});if(!1===be(Ce,ue))try{await i.post("/api/launch/".concat(g))}catch(d){ve("end launch failed",{error:(0,se.Z)(d)})}const a=new URL(l);a.searchParams.set("serverUrl",(0,I.RU)(o)),"running"!==n.status&&a.searchParams.set("__start__","1");const s=e.get("fromLauncher");s&&a.searchParams.set("fromLauncher",s),N&&a.searchParams.set("launchType",N),W&&a.searchParams.set("nftId",W),M&&a.searchParams.set("chainHost",M);const r=Ae();r&&a.searchParams.set("setupToken",r),he({nextAccessUrl:a.href,visiting:!1}),setTimeout((()=>{we(),window.location.href=a.href}),1e3)},Re=[n("launchBlocklet.waiting.verifying"),n("launchBlocklet.waiting.downloading"),n("launchBlocklet.waiting.extracting"),n("upgrading"===Ce?"common.upgrading":"launchBlocklet.waiting.installing"),n("launchBlocklet.waiting.done")],Ie=()=>{ve("handleInstalledProgress",{status:Ce,state:ue}),Ce&&(he({progressIndex:4}),ne.current&&(clearTimeout(ne.current),ne.current=null),ne.current=setTimeout((()=>{l.getBlocklet({input:{did:m,attachRuntimeInfo:!0}}).then((e=>{e.blocklet&&Me(e.blocklet)}))}),500))};if((0,_.useEffect)((()=>{E&&he({launching:!0}),Z&&Ie()}),[Z,E]),(0,_.useEffect)((()=>{if("serverless"!==N||Pe!==J.BlockletEvents.nftConsumed)switch(Ce){case"waiting":he({progressIndex:1,statusChanged:!0});break;case"downloading":he({progressIndex:2,statusChanged:!0});break;case"installing":case"upgrading":he({progressIndex:3,statusChanged:!0});break;case"installed":if("serverless"===N&&!(0,fe.MZ)(ye))break;Ie();break;case"starting":case"running":case"stopped":Ie();break;case"corrupted":case"error":{const n={message:ye.error.message,name:ye.eventName};var e;if([J.BlockletEvents.downloadFailed,J.BlockletEvents.installFailed].includes(ye.eventName)?n.action="retry":"error"!==Ce&&"corrupted"!==Ce||(n.action="view"),!Y()(n,ue.installError))null!==ye&&void 0!==ye&&null!==(e=ye.error)&&void 0!==e&&e.message&&S.Z.error((0,se.Z)(ye.error))}}else Ie()}),[Ce,Pe,ye]),ve("render",{status:Ce,eventName:Pe,launchType:N,runtimeBlockletState:ye,state:ue}),d||a.user&&null===Ce||G()(u))return(0,P.jsx)(w.Z,{relative:"parent",children:(0,P.jsx)(y.Z,{})});if(ue.installError){const e={view:!v&&(0,P.jsx)(de,{className:"bottom-button",component:q.Link,to:"/blocklets/".concat(m,"/overview"),"data-cy":"view-blocklet",color:"primary",variant:"contained",children:n("launchBlocklet.viewApplication")}),retry:(0,P.jsxs)(Be,{children:[De&&(0,P.jsx)(de,{variant:"text",className:"bottom-button","data-cy":"go-back",disabled:ue.isConnectOpen,onClick:()=>{window.location.href=De},children:n("common.back")}),(0,P.jsxs)(de,{className:"bottom-button","data-cy":"retry-install",disabled:ue.isConnectOpen,onClick:Ne,children:[ue.isConnectOpen&&(0,P.jsx)(y.Z,{size:16}),n("common.retry")]})]})},t=ue.installError.name?ue.installError.name.replace("blocklet.",""):"installFailed";return(0,P.jsx)(Le,{variant:"error",title:D,subTitle:(0,P.jsxs)(Ze,{children:[(0,P.jsx)("div",{children:n("launchBlocklet.error.".concat(t))}),ue.installError.message&&(0,P.jsx)("div",{className:"error-desc",children:n("common.errorMessage")+ue.installError.message})]}),footer:e[ue.installError.action]})}if(be(Ce,ue))return ve("alreadyExists",{status:Ce,state:ue,runtimeBlockletState:ye}),(0,P.jsx)(Le,{variant:"info",title:n("common.reminder"),subTitle:n("launchBlocklet.alreadyExists",{name:(0,C.getDisplayName)({meta:u},!0)}),footer:(0,P.jsxs)("div",{children:[!ue.nextAccessUrl&&(0,P.jsx)(y.Z,{size:16}),ue.nextAccessUrl&&(0,P.jsx)(K.Z,{href:ue.nextAccessUrl,"data-cy":"open-blocklet",children:n("launchBlocklet.redirect")})]})});const Se=!ue.launching&&!Ce;return(0,P.jsxs)(Ee,{children:[(0,P.jsx)("div",{className:"header",children:(0,P.jsx)(H.Z,{title:n(Se?"common.install":"common.installing"),subTitle:Se?n("launchBlocklet.subTitle",{appName:D,serverName:o.name}):""})}),(0,P.jsxs)("div",{className:"body",children:[Se&&(0,P.jsxs)(P.Fragment,{children:[(0,P.jsxs)("div",{className:"illustrations",children:[(0,P.jsx)("div",{className:"ills-block ills-block-left",children:(0,P.jsxs)("div",{className:"ills-block-inner",children:[(0,P.jsx)(ie.Z,{className:"i-icon",blocklet:{meta:u},blockletMetaUrl:x}),(0,P.jsx)("div",{className:"i-name",children:D})]})}),(0,P.jsx)(X.Z,{className:"arrow-icon"}),(0,P.jsx)("div",{className:"ills-block ills-block-right",children:(0,P.jsxs)("div",{className:"ills-block-inner",children:[(0,P.jsx)("img",{width:"64",height:"64",src:le.Z,alt:""}),(0,P.jsx)("div",{className:"i-name",children:o.name}),(0,P.jsx)(Q.Z,{size:12,responsive:!1,compact:!0,did:o.did})]})})]}),ue.loaded&&!Z&&!ue.launching&&(0,P.jsxs)(de,{className:"bottom-button","data-cy":"start-launch",disabled:ue.isConnectOpen,onClick:Ne,children:[ue.isConnectOpen&&(0,P.jsx)(y.Z,{size:16}),n("launchBlocklet.confirmInstall")]})]}),ue.launching&&(0,P.jsxs)(xe.Z,{children:[(0,P.jsx)(U.Z,{increaseSpeed:.3,messageLoop:!1,message:(0,P.jsx)(F.Z,{steps:Re,stepIndex:ue.progressIndex,autoGrowth:4===ue.progressIndex?1e3:4e3})}),[1,2].includes(ue.progressIndex)&&(0,P.jsx)(ge.Z,{appDid:m})]})]}),ue.isConnectOpen&&(0,P.jsx)(ge.Z,{appDid:m,visible:!1}),(0,P.jsx)(z.Z,{open:ue.isConnectOpen,popup:!0,saveConnect:!1,className:"connect",baseUrl:ue.connectData.baseUrl,action:ue.connectData.action,checkFn:ue.connectData.checkFn,extraParams:ue.connectData.extraParams,checkTimeout:6e5,webWalletUrl:(0,se.yP)(o),onSuccess:async e=>{S.Z.success(n("launchBlocklet.dialog.success"));const t=Array.isArray(e)?e[e.length-1]:e;if(t.sessionToken&&((0,se.ZB)(te(t.sessionToken)),await a.refresh()),t.setupToken&&je(t.setupToken),he({launching:!t.isInstalled,isConnectOpen:!1}),t.appDid){b(t.appDid,t.sessionId);const e=new URL(window.location.href);e.searchParams.set("appDid",t.appDid),e.searchParams.set("sessionId",t.sessionId),window.history.replaceState(null,"",e.toString())}},onClose:()=>he({isConnectOpen:!1}),locale:t,messages:{title:"".concat(n("launchBlocklet.dialog.title")),scan:ke(p,me,n),confirm:n("launchBlocklet.dialog.confirm"),success:n("launchBlocklet.dialog.success")}})]})}const Ee=(0,u.Z)(Z.Z)(ue||(ue=(0,a.Z)(["\n .body {\n align-items: center;\n animation: fadein ease 0.3s;\n }\n\n .illustrations {\n display: flex;\n flex-direction: row;\n justify-content: center;\n align-items: start;\n text-align: center;\n margin-top: 16px;\n margin-bottom: 40px;\n width: 100%;\n }\n\n .ills-block,\n .ills-block-inner {\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n flex-shrink: 0;\n flex: 1;\n }\n .ills-block {\n max-width: 220px;\n .i-icon {\n width: 64px;\n height: 64px;\n }\n\n .i-name {\n margin-top: 16px;\n font-weight: 400;\n font-size: 16px;\n color: #222222;\n }\n\n .i-sub-name {\n color: #999999;\n }\n }\n\n .arrow-icon {\n align-self: start;\n color: #c4c5ca;\n font-size: 30px;\n margin: 16px 0 0;\n "," {\n margin: 25px 24px 0;\n }\n }\n\n @keyframes fadein {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }\n"])),(e=>e.theme.breakpoints.down("md"))),Ze=u.Z.div(he||(he=(0,a.Z)(["\n line-height: 1.4em;\n .error-desc {\n margin-top: 8px;\n word-wrap: break-word;\n color: ",";\n }\n"])),(e=>e.theme.palette.grey[500])),Be=u.Z.div(pe||(pe=(0,a.Z)(["\n display: flex;\n justify-content: space-around;\n flex-wrap: wrap;\n button {\n margin: 0 10px 18px;\n }\n"]))),Le=(0,u.Z)(E.Z)(me||(me=(0,a.Z)(["\n .result-footer {\n height: auto;\n }\n"])));var Pe,De,Ne=t(53927),Me=t(35432),Re=t(32828);function Ie(e){var n;let{onClickNext:t,handleDescEle:l,showPageHeader:o}=e;const a=(0,s.useNavigate)(),[i,r]=(0,_.useState)(null),[c,d]=(0,_.useState)(!1),{t:u}=(0,h.PE)(),{info:p,api:m}=(0,A.h6)(),{loading:g,meta:f,isRunning:x,isInstalled:v,isInstalling:b,appDid:k,isExternal:j}=(0,B.H0)(),[Z,L]=(0,_.useState)(!0),D=(0,_.useMemo)((()=>{if(!j)return"/blocklets/".concat(k,"/overview");if(!i)return"";const e=new URL(i);return"".concat(e.origin).concat(Me.WELLKNOWN_SERVICE_PATH_PREFIX,"/admin")}),[i,j,k]),N=()=>{const e=new URLSearchParams(window.location.search);Z||e.set("onlyRequired","1"),a("/launch-blocklet/install?".concat(e.toString()))},M=t||N;if((0,_.useEffect)((()=>{g||(b?N():(x||v&&j)&&(async()=>{try{d(!0);const{blocklet:e}=await m.getBlocklet({input:{did:f.did,attachRuntimeInfo:!0}}),n=(0,T.A6)({blocklet:e}),t=await(0,se.D)(n);if(!t&&G()(t))return void r(null);r(new URL(t).href)}catch(e){S.Z.error(e.message)}finally{d(!1)}})())}),[x,j,v,b]),v){const e=x?"alreadyRunning":"alreadyInstalled";return(0,P.jsx)(E.Z,{variant:"info",title:u("common.reminder"),subTitle:u("launchBlocklet.".concat(e),{name:(0,C.getDisplayName)({meta:f},!0)}),footer:(0,P.jsxs)(Te,{children:[(0,P.jsx)(de,{loading:!D,"data-cy":"view-blocklet",component:j?void 0:q.Link,to:D,href:D,variant:x?"outlined":"contained",color:"primary",children:u("launchBlocklet.viewApplication")}),x&&(0,P.jsx)(de,{loading:c,className:"last-button",disabled:!i,href:i,"data-cy":"open-blocklet",children:u("common.open")})]})})}return p?(0,Re.default)(f)||null!==f&&void 0!==f&&null!==(n=f.components)&&void 0!==n&&n.length?(0,P.jsxs)(Se,{children:[o&&(0,P.jsx)(H.Z,{title:u("launchBlocklet.introduction"),subTitle:u("launchBlocklet.welcome")}),(0,P.jsx)(Ne.Z,{installRelated:Z,onChangeInstallRelated:L,meta:f,onClickNext:M,handleDescEle:l})]}):(0,P.jsx)(Se,{className:"center",children:(0,P.jsx)(E.Z,{variant:"error",subTitle:u("launchBlocklet.error.resourceBlocklet")})}):(0,P.jsx)(w.Z,{relative:"parent",children:(0,P.jsx)(y.Z,{})})}Ie.defaultProps={onClickNext:null,handleDescEle:"",showPageHeader:!0};const Se=u.Z.div(Pe||(Pe=(0,a.Z)(["\n display: flex;\n flex-direction: column;\n align-items: center;\n width: 100%;\n height: 100%;\n &.center {\n justify-content: center;\n }\n"]))),Te=u.Z.div(De||(De=(0,a.Z)(["\n .MuiButton-root {\n "," {\n min-width: 200px;\n }\n }\n .last-button {\n margin-left: ",";\n }\n"])),(e=>e.theme.breakpoints.up("md")),(e=>e.theme.spacing(2)));var Oe,Qe,ze;function Ue(){const e=(0,d.Z)((e=>e.breakpoints.down("md"))),{t:n,locale:t}=(0,h.PE)(),{info:l}=(0,A.h6)(),o=(0,se.yP)(l),{serverUrl:a,fromLauncher:i,meta:u,isFree:C,loading:E,error:Z,storeUrl:L}=(0,B.H0)(),D=r()((0,se.Y5)(),"/launch-blocklet"),N=[{key:"install",name:n("launchBlocklet.steps.installApp"),path:r()(D,"install")},{key:"setup",name:n("setup.steps.launchApp")}];let R=[{key:"agreement",name:n("launchBlocklet.introduction"),path:r()(D,"agreement")},...N];const I=()=>{a&&window.open(a)};let S=(0,P.jsx)(Fe,{className:"".concat(a?"logo-can-click":""),children:(0,P.jsx)(k.Z,{onClick:I,logo:e?(0,P.jsx)(x.Z,{width:"32",height:"32"}):(0,P.jsx)(v.Z,{width:"128",height:"48"})})});i&&(R=[{key:"purchase-space",name:n("launchBlocklet.steps.purchaseSpace")},{key:"prepare-space",name:n("launchBlocklet.steps.prepareSpace")},...N],S=(0,P.jsx)(Fe,{className:"".concat(a?"logo-can-click":""),children:(0,P.jsx)(k.Z,{logo:e?(0,P.jsx)(x.Z,{onClick:I,width:"32",height:"32"}):(0,P.jsx)(v.Z,{onClick:I,width:"128",height:"48"}),previousData:{logo:e?(0,P.jsx)(f.Z,{width:"32",height:"32"}):(0,P.jsx)(b.Z,{width:"145",height:"48"})}})}));const T={meta:u,isFree:C};return(0,P.jsx)(m.W,{steps:R,children:(0,P.jsx)(p.Z,{locale:t,loading:E,blockletMeta:{...u,isFree:C},useOfSkeleton:!1,navLogo:S,headerEndAddons:(0,P.jsx)(g.Z,{webWalletUrl:o,SessionContext:ae.B3}),pcWidth:"80%",style:{height:"100%"},logoUrl:u&&u.logo?(0,se.aZ)({did:u.did,baseUrl:L,logoPath:u.logo}):null,children:(0,P.jsxs)(He,{children:[(0,P.jsx)(c.Global,{styles:Je}),E&&(0,P.jsx)(w.Z,{relative:"parent",children:(0,P.jsx)(y.Z,{})}),!E&&Z&&(0,P.jsx)(w.Z,{relative:"parent",children:(0,P.jsx)(j.Z,{style:{wordBreak:"break-all"},variant:"icon",type:"error",children:Z})}),!E&&!Z&&(0,P.jsxs)(s.Routes,{children:[(0,P.jsx)(s.Route,{path:"agreement",element:(0,P.jsx)(Ie,{})}),(0,P.jsx)(s.Route,{path:"install",element:(0,P.jsx)(Ce,{})}),(0,P.jsx)(s.Route,{path:"complete",element:(0,P.jsx)(M,{blocklet:T})}),(0,P.jsx)(s.Route,{path:"*",element:(0,P.jsx)(s.Navigate,{to:"agreement".concat(window.location.search),replace:!0})})]})]})})})}const Je=(0,c.css)(Oe||(Oe=(0,a.Z)(["\n html,\n body,\n #root,\n #root > .wrapper {\n height: 100%;\n }\n"]))),He=u.Z.div(Qe||(Qe=(0,a.Z)(["\n width: 100%;\n height: 100%;\n display: flex;\n flex-direction: column;\n justify-content: flex-start;\n align-items: flex-start;\n\n .bottom-button {\n min-width: 200px;\n }\n"]))),Fe=u.Z.div(ze||(ze=(0,a.Z)(["\n margin-top: -1px;\n &.logo-can-click {\n cursor: pointer;\n }\n"])))},53927:(e,n,t)=>{t.d(n,{Z:()=>Z});var l=t(71171),o=t(55898),a=t.n(o),s=t(85493),i=t(33518),r=t(68420),c=t(40265),d=t(44566),u=t(55498),h=t(39948),p=t(26174),m=t(88092),g=t(67680),f=t(5057),x=t(35432),v=t(96266);function b(e){let{...n}=e;return(0,v.jsxs)("div",{...n,style:{width:"100%"},children:[(0,v.jsx)("h3",{children:"End User License Agreement for Application"}),(0,v.jsxs)("p",{children:["Blocklet Server License Agreement ",x.COPYRIGHT_OWNER," version 2020-08-28"]}),(0,v.jsx)("p",{children:"BLOCKLET SERVER LICENSE AGREEMENT"}),(0,v.jsx)("p",{children:"\u6682\u65e0"})]})}var k=t(44483),y=t(72904),j=t(15849),w=t(58238);const A=function(e){const{api:n}=(0,w.h6)(),[t]=(0,j.useSearchParams)(),l=t.get("blocklet_meta_url")||function(e){return e&&e.homepage&&e.did?"".concat(null===e||void 0===e?void 0:e.homepage,"/api/blocklets/").concat(null===e||void 0===e?void 0:e.did,"/blocklet.json"):""}(e),[o,a]=(0,f.useState)([]),[s,i]=(0,f.useState)(!1);return(0,f.useEffect)((()=>{l&&(i(!0),n.getDynamicComponents({input:{url:l}}).then((e=>{a(e.components)})).finally((()=>{i(!1)})))}),[l]),{components:o,loading:s}};function C(e){let{installRelated:n,meta:t,show:l,onClose:o}=e;const{t:a}=(0,r.PE)(),s=(0,y.Z)((e=>e.breakpoints.down("md"))),{components:i,loading:c}=A(t),d=(0,f.useMemo)((()=>t&&t.components?t.components.reduce(((e,n)=>(n.required&&(e[n.did||n.name]=!0),e)),{}):{}),[t]);if(!l)return null;const p=!c&&0===i.length,m=!c&&0!==i.length;return(0,v.jsxs)(k.ZP,{title:a("blocklet.component.relatedComponents",{name:t.title}),maxWidth:!1,fullWidth:!1,onClose:(e,n)=>{"backdropClick"!==n&&o(!1)},PaperProps:{style:s?{width:"100%",height:window.innerHeight}:{maxWidth:400,minWidth:300,width:"80%"}},showCloseButton:!0,disableEscapeKeyDown:!0,open:!0,children:[c&&(0,v.jsx)(h.Z,{sx:{marginTop:4,display:"flex",flexDirection:"row",justifyContent:"center",alignItems:"center"},children:(0,v.jsx)(h.Z,{sx:{fontSize:32},color:"primary.main",component:u.JO,icon:"line-md:loading-loop"})}),p&&(0,v.jsx)(h.Z,{sx:{textAlign:"center"},children:a("blocklet.component.noDependencies",{name:t.title})}),m&&(0,v.jsx)(h.Z,{sx:{marginBottom:2},children:i.map((e=>{if(!e.meta)return null;let l;return l=n||d[e.meta.name]?1:.5,(0,v.jsxs)(h.Z,{sx:{opacity:l,padding:"10px 0px",paddingBottom:.5,marginTop:0,display:"flex",flexDirection:"row",justifyContent:"start",alignItems:"flex-start"},children:[(0,v.jsx)("img",{style:{width:40,height:40,minWidth:40,minHeight:40},src:"".concat(e.meta.homepage,"/assets/").concat(t.did,"/logo.png?v=").concat(t.version),alt:e.meta.title}),(0,v.jsxs)(h.Z,{sx:{display:"flex",flexDirection:"column",justifyContent:"start",alignItems:"start",marginLeft:2},children:[(0,v.jsxs)(h.Z,{sx:{fontSize:"16px",fontWeight:"bold",cursor:"pointer",".link-icon":{opacity:0},":hover .link-icon":{opacity:1}},onClick:()=>{window.open("".concat(e.meta.homepage,"/blocklets/").concat(e.meta.did),"_blank")},children:[e.meta.title,(0,v.jsxs)(h.Z,{sx:{paddingLeft:1,fontSize:"13px",fontWeight:"400"},component:"span",children:[e.meta.version,(0,v.jsx)(h.Z,{className:"link-icon",icon:"fluent:open-20-filled",component:u.JO,sx:{color:"primary.main",fontSize:16,transform:"translate(6px, 3px)",transition:"all 0.1s"}})]})]}),(0,v.jsx)(h.Z,{sx:{marginTop:0,opacity:.7},children:e.meta.description})]})]},e.meta.did)}))})]})}var E;function Z(e){let{installRelated:n,onChangeInstallRelated:t,meta:l,onClickNext:o,handleDescEle:a}=e;const i=(0,s.useNavigate)(),{t:x,locale:k}=(0,r.PE)(),[y,j]=(0,f.useState)(!1),w=o||(()=>{i("/launch-blocklet/install".concat(window.location.search))});return(0,v.jsxs)(B,{children:[(0,v.jsx)("div",{className:"app-content",children:(0,v.jsx)("div",{className:"agreement",children:(0,v.jsx)("div",{className:"agreement-content",children:(0,v.jsx)(d.Z,{blockletMeta:{data:l},locale:k,handleDescEle:a})})})}),(0,v.jsxs)("div",{className:"agreement-bottom",children:[t&&(0,v.jsxs)(h.Z,{sx:{display:"flex",flexDirection:"row",justifyContent:"flex-start",alignItems:"center"},children:[(0,v.jsx)(p.Z,{sx:{mr:.5},checked:n,onChange:e=>t(e.currentTarget.checked),control:(0,v.jsx)(m.Z,{}),label:(0,v.jsx)("span",{children:x("launchBlocklet.installRelatedComponents")})}),(0,v.jsx)(h.Z,{sx:{"> button svg":{color:"primary.main"}},children:(0,v.jsx)(g.Z,{size:"small",onClick:()=>{j(!0)},children:(0,v.jsx)(u.JO,{icon:"octicon:package-dependencies-16"})})})]}),(0,v.jsx)("div",{className:"button-container","data-cy":"agree-all",children:(0,v.jsx)(c.Z,{onContinue:w,description:(0,v.jsx)(b,{}),texts:{listenName:x("launchBlocklet.license"),buttonNext:x("launchBlocklet.next")}})})]}),(0,v.jsx)(C,{installRelated:n,meta:l,show:y,onClose:()=>{j(!1)}})]})}C.propTypes={meta:a().object,show:a().bool,onClose:a().func.isRequired,installRelated:a().func},C.defaultProps={meta:null,show:!1,installRelated:!1},Z.propTypes={meta:a().object.isRequired,onClickNext:a().func,handleDescEle:a().node,installRelated:a().bool,onChangeInstallRelated:a().func},Z.defaultProps={onClickNext:null,handleDescEle:"",installRelated:!0,onChangeInstallRelated:null};const B=i.Z.div(E||(E=(0,l.Z)(["\n display: flex;\n flex-direction: column;\n align-items: center;\n width: 100%;\n height: 100%;\n flex: 1;\n .app-content {\n padding: 2px 24px 24px;\n "," {\n padding-top: 10px;\n }\n width: 100%;\n flex: 1;\n letter-spacing: normal;\n }\n .agreement {\n position: relative;\n display: flex;\n flex-direction: column;\n width: 100%;\n height: 100%;\n border: 1px solid ",";\n border-radius: 12px;\n "," {\n margin-top: 24px;\n }\n "," {\n margin-top: 16px;\n }\n .agreement-content {\n position: absolute;\n left: 0;\n top: 0;\n width: 100%;\n height: 100%;\n font-size: 14px;\n overflow-y: auto;\n "," {\n padding: 0 24px;\n }\n "," {\n padding: 0 16px;\n }\n &:after {\n display: block;\n content: '';\n height: 24px;\n }\n }\n }\n .agreement-bottom {\n display: flex;\n width: 100%;\n padding: 24px;\n "," {\n flex-direction: row;\n align-items: center;\n margin-left: auto;\n }\n "," {\n flex-direction: column;\n align-items: center;\n padding-top: 0;\n padding-bottom: 16px;\n }\n }\n .button-container {\n "," {\n margin-left: auto;\n }\n "," {\n padding-top: 0;\n padding-bottom: 16px;\n }\n }\n"])),(e=>e.theme.breakpoints.down("md")),(e=>e.theme.palette.grey[100]),(e=>e.theme.breakpoints.up("md")),(e=>e.theme.breakpoints.down("md")),(e=>e.theme.breakpoints.up("md")),(e=>e.theme.breakpoints.down("md")),(e=>e.theme.breakpoints.up("md")),(e=>e.theme.breakpoints.down("md")),(e=>e.theme.breakpoints.up("md")),(e=>e.theme.breakpoints.down("md")))},8790:(e,n,t)=>{t.d(n,{Z:()=>c});var l,o=t(71171),a=t(33518),s=t(55898),i=t.n(s),r=t(96266);function c(e){let{children:n,...t}=e;return(0,r.jsx)(d,{...t,children:n})}c.propTypes={children:i().any.isRequired};const d=a.Z.div(l||(l=(0,o.Z)(["\n display: flex;\n flex-direction: column;\n align-items: center;\n width: 100%;\n height: 100%;\n\n .header {\n text-align: center;\n }\n\n .body {\n display: flex;\n flex-direction: column;\n align-items: center;\n margin-top: 30px;\n width: 100%;\n min-height: 200px;\n flex: 1;\n\n "," {\n padding: 24px;\n }\n\n "," {\n padding: 0 16px 16px;\n }\n }\n\n .footer {\n display: flex;\n justify-content: center;\n\n "," {\n padding-bottom: 34px;\n }\n\n "," {\n margin-top: auto;\n padding-bottom: 10px;\n }\n }\n"])),(e=>e.theme.breakpoints.up("md")),(e=>e.theme.breakpoints.down("md")),(e=>e.theme.breakpoints.up("sm")),(e=>e.theme.breakpoints.down("md")))},99641:(e,n,t)=>{t.d(n,{Z:()=>d});var l,o,a=t(71171),s=t(55898),i=t.n(s),r=t(33518),c=t(96266);function d(e){let{logo:n,name:t,subname:l,previousData:o,...a}=e,s=(0,c.jsx)(u,{logo:n}),i=t,r=l;return o.logo&&(s=(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(u,{logo:n,className:"left-fade-in-ele"}),(0,c.jsx)(u,{logo:o.logo,className:"postion-abs left-fade-out-ele"})]})),o.name&&o.name!==t&&(i=(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)("span",{className:"right-fade-in-ele",style:{display:"inline-block"},children:t}),(0,c.jsx)("span",{className:"postion-abs right-fade-out-ele",children:o.name})]})),o.subname&&o.subname!==l&&(r=(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)("span",{className:"right-fade-in-ele",style:{display:"inline-block"},children:l}),(0,c.jsx)("span",{className:"postion-abs right-fade-out-ele",children:o.subname})]})),(0,c.jsx)(p,{...a,children:(0,c.jsxs)("div",{className:"logo-inner",children:[(0,c.jsx)("div",{className:"logo-img-content",children:s}),(0,c.jsxs)("div",{className:"logo-info ".concat(t||l?"":"zero-left"),children:[(0,c.jsx)("div",{className:"logo-name",children:i}),(0,c.jsx)("div",{className:"logo-subname",children:r})]})]})})}function u(e){let{logo:n,...t}=e;return(0,c.jsx)(h,{...t,children:n})}d.propTypes={logo:i().element.isRequired,name:i().string,subname:i().string,previousData:i().object},d.defaultProps={name:"",subname:"",previousData:{logo:"",name:"",subname:""}};const h=r.Z.div(l||(l=(0,a.Z)(["\n display: block;\n > * {\n display: block;\n }\n"]))),p=r.Z.div(o||(o=(0,a.Z)(["\n position: relative;\n display: block;\n\n .logo-inner {\n display: flex;\n align-items: center;\n height: 100%;\n .logo-img-content {\n position: relative;\n display: block;\n }\n .logo-info {\n display: flex;\n flex-direction: column;\n justify-content: center;\n margin-left: 10px;\n letter-spacing: 0.1px;\n &.zero-left {\n margin-left: 0%;\n }\n .logo-name {\n position: relative;\n line-height: 16px;\n font-size: 16px;\n color: #121319;\n }\n .logo-subname {\n position: relative;\n line-height: 13px;\n font-size: 13px;\n color: #7d8085;\n }\n }\n }\n\n .postion-abs {\n position: absolute;\n left: 0;\n top: 0;\n height: 100%;\n }\n\n .right-fade-out-ele {\n animation: right-fade-out ease 0.5s;\n animation-delay: 2s;\n animation-fill-mode: forwards;\n }\n\n .right-fade-in-ele {\n animation: right-fade-in ease 0.5s;\n animation-delay: 2s;\n animation-fill-mode: both;\n }\n\n @keyframes right-fade-out {\n 0% {\n opacity: 1;\n transform: translate(0, 0);\n }\n 100% {\n opacity: 0;\n transform: translate(8px, 0);\n }\n }\n\n @keyframes right-fade-in {\n 0% {\n opacity: 0;\n transform: translate(8px, 0);\n }\n 100% {\n opacity: 1;\n transform: translate(0, 0);\n }\n }\n\n .left-fade-out-ele {\n animation: left-fade-out ease 0.5s;\n animation-delay: 2s;\n animation-fill-mode: forwards;\n }\n\n .left-fade-in-ele {\n animation: left-fade-in ease 0.5s;\n animation-delay: 2s;\n animation-fill-mode: both;\n }\n\n @keyframes left-fade-out {\n 0% {\n opacity: 1;\n transform: translate(0, 0);\n }\n 100% {\n opacity: 0;\n transform: translate(-8px, 0);\n }\n }\n\n @keyframes left-fade-in {\n 0% {\n opacity: 0;\n transform: translate(-8px, 0);\n }\n 100% {\n opacity: 1;\n transform: translate(0, 0);\n }\n }\n"])))},60344:(e,n,t)=>{t.d(n,{hi:()=>a,od:()=>o.a});var l=t(10458),o=t.n(l);o().defaults.timeout=1e4;const a=o().create()},28864:(e,n,t)=>{n.Z=void 0;(l=t(5057))&&l.__esModule;var l,o=t(96266);function a(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);n&&(l=l.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,l)}return t}function s(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?a(Object(t),!0).forEach((function(n){i(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):a(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}function i(e,n,t){return(n=function(e){var n=function(e,n){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var l=t.call(e,n||"default");if("object"!=typeof l)return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(e)}(e,"string");return"symbol"==typeof n?n:String(n)}(n))in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}var r=function(e){return(0,o.jsxs)("svg",s(s({},e),{},{children:[(0,o.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M80.005 25.994V10h7.737a3.79 3.79 0 0 1 3.79 3.79v1.149a3.777 3.777 0 0 1-1.035 2.602 3.788 3.788 0 0 1 1.901 3.286v1.377a3.79 3.79 0 0 1-3.79 3.79h-8.603zm1.684-8.957h6.226a2.105 2.105 0 0 0 1.932-2.098v-1.15a2.105 2.105 0 0 0-2.105-2.105h-6.053v5.353zm0 7.273v-5.582l6.92-.007c1.163 0 2.105.943 2.105 2.106v1.377a2.105 2.105 0 0 1-2.105 2.106h-6.92zM97.255 10v15.994h-1.762V10h1.762zm8.733 4.319h-1.827a3.81 3.81 0 0 0-3.811 3.81v4.054a3.81 3.81 0 0 0 3.811 3.81h1.827a3.811 3.811 0 0 0 3.811-3.81V18.13a3.811 3.811 0 0 0-3.811-3.81zm-1.827 1.762a2.05 2.05 0 0 0-2.049 2.048v4.054a2.05 2.05 0 0 0 2.049 2.049h1.827a2.048 2.048 0 0 0 2.048-2.049V18.13a2.048 2.048 0 0 0-2.048-2.048h-1.827zM125.204 26v-5.754h2.148L130.674 26h2.035l-3.821-6.618 2.993-5.184h-2.035l-2.474 4.286h-2.168V10h-1.762v16h1.762zm-5.556-7.56v-.31a2.048 2.048 0 0 0-2.048-2.05h-1.827a2.048 2.048 0 0 0-2.049 2.05v4.053c0 1.132.917 2.049 2.049 2.049h1.827a2.048 2.048 0 0 0 2.048-2.049v-.311h1.762v.311a3.81 3.81 0 0 1-3.81 3.81h-1.827a3.81 3.81 0 0 1-3.811-3.81V18.13a3.81 3.81 0 0 1 3.811-3.81h1.827a3.81 3.81 0 0 1 3.81 3.81v.312h-1.762zm17.918 7.554V10h-1.762v15.994h1.762zm4.989-5.357v1.546c0 1.132.917 2.049 2.049 2.049h1.827a2.048 2.048 0 0 0 2.048-2.049v-.311h1.762v.311a3.81 3.81 0 0 1-3.81 3.81h-1.827a3.81 3.81 0 0 1-3.811-3.81V18.13a3.81 3.81 0 0 1 3.811-3.81h1.827a3.81 3.81 0 0 1 3.81 3.81v.746h.001v1.762h-7.687zm5.924-1.762h-5.924v-.746c0-1.131.917-2.048 2.049-2.048h1.827c1.131 0 2.048.917 2.048 2.048v.746zm5.489-1.912H152.4v-1.762h1.568v-2.848h1.684v2.848h4.077v1.762h-4.077v5.677a1.669 1.669 0 1 0 3.339 0v-.35h1.684v.35a3.353 3.353 0 1 1-6.707 0v-5.677z",fill:"#121319"}),(0,o.jsx)("path",{d:"M92.112 50.259v3.108H80.254V33.123h3.766v17.136h8.092zM101.843 47.235c-.999.047-1.839.135-2.52.266-.681.121-1.227.28-1.638.476-.41.196-.705.425-.882.686a1.49 1.49 0 0 0-.266.854c0 .606.177 1.04.532 1.302.364.261.835.392 1.414.392.71 0 1.32-.126 1.834-.378.523-.261 1.031-.654 1.526-1.176v-2.422zm-7.924-6.23c1.652-1.512 3.64-2.268 5.964-2.268.84 0 1.591.14 2.254.42.663.27 1.223.653 1.68 1.148a4.765 4.765 0 0 1 1.036 1.75c.243.681.364 1.428.364 2.24v9.072h-1.568c-.327 0-.579-.047-.756-.14-.177-.103-.317-.303-.42-.602l-.308-1.036c-.364.327-.719.616-1.064.868a6.54 6.54 0 0 1-1.078.616 5.498 5.498 0 0 1-1.204.378c-.42.093-.887.14-1.4.14-.607 0-1.167-.08-1.68-.238a3.775 3.775 0 0 1-1.33-.742 3.297 3.297 0 0 1-.868-1.218c-.206-.486-.308-1.05-.308-1.694a3.308 3.308 0 0 1 .77-2.114 5.12 5.12 0 0 1 1.078-.924c.438-.29.975-.541 1.61-.756a13.74 13.74 0 0 1 2.24-.518c.85-.14 1.82-.224 2.912-.252v-.84c0-.962-.205-1.67-.616-2.128-.411-.467-1.003-.7-1.778-.7-.56 0-1.027.065-1.4.196-.364.13-.686.28-.966.448-.28.159-.537.303-.77.434-.224.13-.476.196-.756.196-.243 0-.448-.06-.616-.182a1.67 1.67 0 0 1-.406-.448l-.616-1.106zM120.85 39.003v14.364h-2.114c-.458 0-.747-.21-.868-.63l-.238-1.148a7.862 7.862 0 0 1-1.946 1.456c-.71.364-1.545.546-2.506.546-.784 0-1.48-.13-2.086-.392a4.236 4.236 0 0 1-1.512-1.134 5.016 5.016 0 0 1-.938-1.722 7.52 7.52 0 0 1-.308-2.212v-9.128h3.458v9.128c0 .877.2 1.559.602 2.044.41.476 1.022.714 1.834.714.597 0 1.157-.13 1.68-.392a6.037 6.037 0 0 0 1.484-1.106V39.003h3.458zM127.512 40.767c.29-.29.593-.556.91-.798a5.623 5.623 0 0 1 2.184-1.036 5.542 5.542 0 0 1 1.344-.154c.784 0 1.48.135 2.086.406a3.957 3.957 0 0 1 1.512 1.12 4.69 4.69 0 0 1 .924 1.722c.215.663.322 1.395.322 2.198v9.142h-3.458v-9.142c0-.878-.2-1.554-.602-2.03-.401-.486-1.012-.728-1.834-.728-.597 0-1.157.135-1.68.406-.522.27-1.017.64-1.484 1.106v10.388h-3.458V39.003h2.114c.448 0 .742.21.882.63l.238 1.134zM150.373 42.04c-.103.132-.205.234-.308.309-.093.075-.233.112-.42.112a.982.982 0 0 1-.518-.154 9.315 9.315 0 0 0-.602-.364 3.902 3.902 0 0 0-.84-.364c-.317-.112-.714-.168-1.19-.168-.607 0-1.139.112-1.596.336-.457.215-.84.527-1.148.938-.299.41-.523.91-.672 1.498-.149.578-.224 1.236-.224 1.974 0 .765.079 1.447.238 2.044.168.597.406 1.101.714 1.512.308.401.681.71 1.12.924.439.205.933.308 1.484.308.551 0 .994-.066 1.33-.196.345-.14.635-.29.868-.448.233-.168.434-.318.602-.448a.925.925 0 0 1 .588-.21c.28 0 .49.107.63.322l.994 1.26a6.449 6.449 0 0 1-1.246 1.134 7.144 7.144 0 0 1-1.4.728 7.208 7.208 0 0 1-1.484.378 10.3 10.3 0 0 1-1.512.112 6.448 6.448 0 0 1-2.506-.49 6 6 0 0 1-2.058-1.456c-.588-.635-1.055-1.41-1.4-2.324-.336-.924-.504-1.974-.504-3.15 0-1.055.149-2.03.448-2.926.308-.906.756-1.685 1.344-2.338a6.09 6.09 0 0 1 2.184-1.554c.868-.373 1.867-.56 2.996-.56 1.073 0 2.011.172 2.814.518.812.345 1.54.84 2.184 1.484l-.91 1.26zM157.049 40.543a7.51 7.51 0 0 1 1.848-1.274c.672-.327 1.46-.49 2.366-.49.784 0 1.479.135 2.086.406.606.261 1.11.634 1.512 1.12.41.476.718 1.05.924 1.722.214.663.322 1.395.322 2.198v9.142h-3.458v-9.142c0-.878-.201-1.554-.602-2.03-.402-.486-1.013-.728-1.834-.728-.598 0-1.158.135-1.68.406-.523.27-1.018.64-1.484 1.106v10.388h-3.458V32.563h3.458v7.98zM178.649 44.533a3.95 3.95 0 0 0-.196-1.26 2.908 2.908 0 0 0-.559-1.05 2.562 2.562 0 0 0-.967-.7c-.382-.178-.83-.266-1.343-.266-.999 0-1.788.285-2.367.854-.569.57-.933 1.377-1.091 2.422h6.523zm-6.593 2.086c.056.737.186 1.377.392 1.918.205.532.475.975.811 1.33.336.345.733.607 1.191.784.466.168.98.252 1.54.252s1.04-.066 1.442-.196c.41-.13.765-.276 1.063-.434.308-.159.575-.304.799-.434.233-.13.457-.196.671-.196.29 0 .504.107.644.322l.995 1.26a5.93 5.93 0 0 1-1.289 1.134 7.641 7.641 0 0 1-1.498.728 8.291 8.291 0 0 1-1.581.378c-.532.074-1.05.112-1.554.112a7.766 7.766 0 0 1-2.786-.49 6.352 6.352 0 0 1-2.24-1.47c-.635-.653-1.134-1.456-1.498-2.408-.364-.962-.546-2.072-.546-3.332 0-.98.158-1.9.476-2.758.317-.868.77-1.62 1.358-2.254a6.462 6.462 0 0 1 2.17-1.526c.858-.373 1.824-.56 2.898-.56.905 0 1.74.144 2.506.434a5.41 5.41 0 0 1 1.973 1.274c.551.55.981 1.232 1.289 2.044.317.803.475 1.722.475 2.758 0 .523-.055.877-.167 1.064-.112.177-.327.266-.644.266h-8.89zM187.615 41.495c.448-.859.98-1.53 1.596-2.016.616-.495 1.344-.742 2.184-.742.662 0 1.194.145 1.596.434l-.224 2.59c-.047.168-.117.29-.21.364a.558.558 0 0 1-.35.098c-.14 0-.35-.023-.63-.07a4.704 4.704 0 0 0-.798-.07c-.383 0-.724.056-1.022.168-.299.112-.57.275-.812.49a3.359 3.359 0 0 0-.63.756c-.178.298-.346.64-.504 1.022v8.848h-3.458V39.003h2.03c.354 0 .602.065.742.196.14.121.233.345.28.672l.21 1.624z",fill:"#121319"}),(0,o.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M49.152 10.642L30.72 0 12.288 10.642v14.152L0 31.89v21.283l18.432 10.642 12.258-7.077.03.017.03-.017 12.258 7.077L61.44 53.172V31.89l-12.288-7.095V10.642zM59.52 32.997l-12.288-7.094V11.75L30.72 2.217 14.208 11.75v14.153L1.92 32.997v19.067l16.512 9.533L30.69 54.52l.03.017.03-.017 12.258 7.077 16.512-9.533V32.997z",fill:"url(#paint0_linear_615_416)"}),(0,o.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M49.152 24.83L30.72 14.19 12.288 24.831v21.283L30.72 56.756l18.432-10.642V24.831zm-34.944 1.11l16.512-9.534 16.512 9.533v19.067L30.72 54.539l-16.512-9.533V25.939zm14.52-3.756l.484.284 12.202 7.142 1.073.61V40.4l-.408.287-.461.32-12.89 7.545-7.743-4.503.02-17.35 7.722-4.516zm-5.822 20.762l.017-15.145 5.804-3.393 11.728 6.866.112.063v8.066L28.725 46.33l-5.819-3.384zm4.04-12.717l1.442-.827L37.2 34.53v1.66l-8.845 5.146-1.443-.833.034-10.273zm7.862 5.133l-5.971 3.474.023-6.935 5.948 3.46z",fill:"url(#paint1_linear_615_416)"}),(0,o.jsxs)("defs",{children:[(0,o.jsxs)("linearGradient",{id:"paint0_linear_615_416",x1:"30.72",y1:"95.721",x2:"94.488",y2:"34.325",gradientUnits:"userSpaceOnUse",children:[(0,o.jsx)("stop",{stopColor:"#0FA4B7"}),(0,o.jsx)("stop",{offset:".495",stopColor:"#1DC1C7"}),(0,o.jsx)("stop",{offset:"1",stopColor:"#2BE0D7"})]}),(0,o.jsxs)("linearGradient",{id:"paint1_linear_615_416",x1:"27.437",y1:"99.246",x2:"97.761",y2:"44.937",gradientUnits:"userSpaceOnUse",children:[(0,o.jsx)("stop",{stopColor:"#0FA4B7"}),(0,o.jsx)("stop",{offset:".495",stopColor:"#1DC1C7"}),(0,o.jsx)("stop",{offset:"1",stopColor:"#2BE0D7"})]})]})]}))};r.defaultProps={width:"193",height:"64",viewBox:"0 0 193 64",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.displayName="launcher-logo";n.Z=r},15959:(e,n,t)=>{n.Z=void 0;(l=t(5057))&&l.__esModule;var l,o=t(96266);function a(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);n&&(l=l.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,l)}return t}function s(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?a(Object(t),!0).forEach((function(n){i(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):a(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}function i(e,n,t){return(n=function(e){var n=function(e,n){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var l=t.call(e,n||"default");if("object"!=typeof l)return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(e)}(e,"string");return"symbol"==typeof n?n:String(n)}(n))in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}var r=function(e){return(0,o.jsxs)("svg",s(s({},e),{},{children:[(0,o.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M50.152 10.642L31.72 0 13.288 10.642v14.152L1 31.89v21.283l18.432 10.642 12.258-7.077.03.017.03-.017 12.258 7.077L62.44 53.172V31.89l-12.288-7.095V10.642zM60.52 32.997l-12.288-7.094V11.75L31.72 2.217 15.208 11.75v14.153L2.92 32.997v19.067l16.512 9.533L31.69 54.52l.03.017.03-.017 12.258 7.077 16.512-9.533V32.997z",fill:"url(#paint0_linear_615_428)"}),(0,o.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M50.152 24.83L31.72 14.19 13.288 24.831v21.283L31.72 56.756l18.432-10.642V24.831zm-34.944 1.11l16.512-9.534 16.512 9.533v19.067L31.72 54.539l-16.512-9.533V25.939zm14.52-3.756l.484.284 12.202 7.142 1.073.61V40.4l-.408.287-.461.32-12.89 7.545-7.743-4.503.02-17.35 7.722-4.516zm-5.822 20.762l.017-15.145 5.804-3.393 11.728 6.866.112.063v8.066L29.725 46.33l-5.819-3.384zm4.04-12.717l1.442-.827L38.2 34.53v1.66l-8.845 5.146-1.443-.833.034-10.273zm7.862 5.133l-5.971 3.474.023-6.935 5.948 3.46z",fill:"url(#paint1_linear_615_428)"}),(0,o.jsxs)("defs",{children:[(0,o.jsxs)("linearGradient",{id:"paint0_linear_615_428",x1:"31.72",y1:"95.721",x2:"95.488",y2:"34.325",gradientUnits:"userSpaceOnUse",children:[(0,o.jsx)("stop",{stopColor:"#0FA4B7"}),(0,o.jsx)("stop",{offset:".495",stopColor:"#1DC1C7"}),(0,o.jsx)("stop",{offset:"1",stopColor:"#2BE0D7"})]}),(0,o.jsxs)("linearGradient",{id:"paint1_linear_615_428",x1:"28.437",y1:"99.246",x2:"98.761",y2:"44.937",gradientUnits:"userSpaceOnUse",children:[(0,o.jsx)("stop",{stopColor:"#0FA4B7"}),(0,o.jsx)("stop",{offset:".495",stopColor:"#1DC1C7"}),(0,o.jsx)("stop",{offset:"1",stopColor:"#2BE0D7"})]})]})]}))};r.defaultProps={width:"64",height:"64",viewBox:"0 0 64 64",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.displayName="launcher-logo-notext";n.Z=r}}]);
1
+ "use strict";(self.webpackChunk_abtnode_webapp=self.webpackChunk_abtnode_webapp||[]).push([[1667],{13455:(e,n,t)=>{t.d(n,{Z:()=>d});var l=t(55898),a=t.n(l),o=t(36687),s=t(72333);const i="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAUAAAAFACAYAAADNkKWqAAAACXBIWXMAACxLAAAsSwGlPZapAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAA1aSURBVHgB7d3ZjhxVEoDhxDKN902AUF/w/s/lCwthtXc3VsvyzETNJNOUe6kllzgnvk9KwVyMMNj5d2ZGRtUP//qPAaCgOwNAUQIIlCWAQFl3B5jJt2/fhvPz8+HDhw/DxcXF5n/fuXNnODk5GR4/fjzcv39/uHvXH0HW84MhCFOL0L1//35zxN9fJ+J379694cWLF0LIKgSQyewavqs8evRICFmcAHK0Y8K3LUL45MmTzZUhzE0AOdiU4dsWAYznhHHAXASQvX39+nUTvY8fP04evm1xS/z8+XMhZBYCyM5ikjuGb2ljCE2OmZIAcqsvX74Mb9682fx1bSbHTEkAuVam8F3F5JhjCSDfyR6+bSbHHEoA+Vtr4dtmcsy+BJDh06dPm3W1VsO3zeSYXQlgUeOeblzxxWstPTI55jYCWMycLy9nZXLMdQSwiIrhu4rJMZcJYOeE72omxwQB7FTG8MVnAWaLsMlxbQLYmSX3dHc1DiMePny4WaeLX9sa63Q3MTmuSQA7seae7nVuurqKUL99+zZtCE2OaxDAxmV8eXmcuO7yfG0M4V9//ZXqdRyT4xoEsFGth29bxG/8d8r2XqLJcb8EsDG9he8qsZmSNYQmx30RwEZUCN+2rCt6Jsf9EMDkMkYgroSePXu2+XrLJcS/u8kxcxDAhDLu6cY7fHGiP336dLVnYSbHTE0AE8n68nJEL474+wxMjpmKACYgfIcxOeZYArgi4ZuOyTGHEMAVCN98TI7ZhwAuKPuebsvh22ZyzC4EcAEZp5dVrkhMjrmJAM6o4svLW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H0y0a3HWXIEIeyDiW5dzo4J2Dduj4kuQQAnZN84PxNdLhPAGdg3zsdEl6t4EXoBVbZLMr4IbaLLTQRwQb2HMFMATXTZhQCuoNcQZgigiS77EMAV9bZvvFYATXQ5lCHIiuwbH8dEl2MJYAL2jfdjostUBDAZ2yXXM9FlagKYlBD+n4kucxHA5CqH0ESXuQlgI1rYN56CiS5L8hpMoyKAEYmIRRZxJXjMFWr8/yOAJrosRQAbl/Gl6h4YbNQggJ0QwmkIXy0C2BkhPIyJbk0C2Ckh3I3BRm0C2LmM+8YZCB9BAIuI+MUGRWxSVA2hiS7bBLCgTC9VL8Fgg+sIYGG9h1D4uI0A0l0ITXTZlQDyt9ZDaLDBvgSQ72T9EILrCB+HEkCulXHf+LL4cIgnT54IHwcTQG6V6aVqgw2mJIDsbM0QCh9zEED2tmQIx2+piy9nEj6mJoAcbM4QGmywBAHkaFPuGwsfSxJAJnPMvrGJLmsQQGaxy0vVBhusTQCZVYTww4cPmy84iu/6iNDFqtr9+/eFj9UJIFCWH79AWQIIlCWAQFn/BizMxGSX68uEAAAAAElFTkSuQmCC";var r=t(74094),c=t(96266);function d(e){let{blocklet:n,blockletMetaUrl:t}=e;const{did:l,logo:a}=n.meta;let d;return d=a?(0,c.jsx)(o.Z,{src:(0,r.aZ)({did:l,logoPath:a,baseUrl:new URL(t).origin}),fallback:i,width:64,size:"contain",placeholder:"application logo"}):(0,c.jsx)(s.Z,{did:l,size:64}),d}d.propTypes={blocklet:a().object.isRequired,blockletMetaUrl:a().string.isRequired}},13932:(e,n,t)=>{t.d(n,{Z:()=>f});var l,a=t(71171),o=t(68420),s=t(77277),i=t(33518),r=t(47125),c=t(5057),d=t(11397),u=t.n(d),h=t(34937),p=t(96266);const m=u()("@abtnode/webapp:launch-blocklet:download-progress");const g=(e,n)=>{m("getDownloadBundleStep",e);return(e||[]).map((e=>{var t;const l=n("launchBlocklet.waiting.".concat("extracting"===e.status?"extractingComponent":"downloadingComponent"),{name:(null===(t=e.component)||void 0===t?void 0:t.title)||""}),a=e.total&&e.current?": ".concat(Math.floor(e.current/e.total*100)," %"):"";let o=e.name?": ".concat(e.name):"";return a||(o+="..."),"".concat(l).concat(a).concat(o)})).join("\n")};function f(e){let{appDid:n,visible:t}=e;const{t:l}=(0,o.PE)(),a=function(e){let{appDid:n}=e;const[t,l]=(0,c.useState)([]),a=(0,h.ZP)();return(0,c.useEffect)((()=>(a.on(s.BlockletEvents.downloadBundleProgress,(e=>{n&&n===(null===e||void 0===e?void 0:e.appDid)&&l((n=>{const t=[...n],l=t.findIndex((n=>{var t,l;return(null===(t=n.component)||void 0===t?void 0:t.did)===(null===(l=e.component)||void 0===l?void 0:l.did)}));return"completed"===e.status?-1!==l&&t.splice(l,1):-1!==l?t[l]=e:t.push(e),[...t]}))})),()=>{a.off(s.BlockletEvents.downloadBundleProgress)})),[n,a]),t}({appDid:n});return(0,p.jsx)(x,{style:{display:t?"block":"none"},children:g(a,l)})}f.defaultProps={appDid:"",visible:!0};const x=(0,i.Z)(r.Z)(l||(l=(0,a.Z)(["\n flex: 0 0 auto;\n white-space: pre;\n overflow-y: auto;\n overflow-x: auto;\n max-height: 10em;\n max-width: 500px;\n min-width: auto;\n @media (max-width: ","px) {\n max-width: 90%;\n max-height: 30vh;\n }\n"])),(e=>e.theme.breakpoints.values.md))},66436:(e,n,t)=>{t.d(n,{Z:()=>i});var l,a=t(71171),o=t(33518),s=t(96266);function i(e){let{children:n}=e;return(0,s.jsx)(r,{children:n})}const r=o.Z.div(l||(l=(0,a.Z)(["\n color: #1dc1c7;\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n width: 100%;\n"])))},11476:(e,n,t)=>{t.d(n,{Z:()=>x});var l=t(5057),a=t(77277),o=t(31853),s=t(11397),i=t.n(s),r=t(34937),c=t(10155);const d=i()("@abtnode/webapp:launch-blocklet:runtime-state"),u=Object.keys(a.BlockletStatus),h=Object.values(a.BlockletStatus),p=Object.values(a.BlockletEvents).filter((e=>![a.BlockletEvents.purchaseChange,a.BlockletEvents.domainStatus].includes(e))),m=(e,n)=>{var t;return(null===e||void 0===e?void 0:e.appDid)===n||(null===e||void 0===e||null===(t=e.meta)||void 0===t?void 0:t.did)===n},g=8e3,f=2e3;function x(e){const n=(0,c.Z)(),t=(0,r.ZP)(),a=(0,l.useRef)(null),s=()=>{e&&!a.current&&(a.current=setInterval((()=>{e&&(d("polling blocklet state"),v())}),f))},[i,x]=(0,o.Z)({status:null,eventName:"",runtimeBlocklet:null,error:"",isGetBlocklet:!1,startPolling:s,stopPolling:()=>{a.current&&clearInterval(a.current)}}),v=()=>{n.getBlocklet({input:{did:e,attachRuntimeInfo:!0}}).then((e=>{x({status:e.blocklet?e.blocklet.status:"",eventName:"",runtimeBlocklet:e.blocklet,isGetBlocklet:!0})})).catch((e=>{console.error("get blocklet failed",e)}))};(0,l.useEffect)((()=>{let n=null;return e&&(d("schedule polling blocklet state"),n=setTimeout((()=>{s()}),g)),()=>{n&&clearInterval(n)}}),[e]),(0,l.useEffect)((()=>{e?null===i.status&&(d("polling blocklet state on start"),v()):x({status:"",eventName:"",runtimeBlocklet:null})}),[e,i.status]);const b=n=>t=>{if(m(t,e)){const e={status:null,eventName:n,runtimeBlocklet:t,isGetBlocklet:!1};if(t.error)d("blocklet error",{blockletEventName:n,error:t.error}),e.status="error",e.error=t.error;else{const l=u[h.indexOf(t.status)];d("blocklet event",{blockletEventName:n,status:l}),l&&(e.status=l)}x(e)}};for(const o of p)(0,l.useEffect)((()=>{const n=b(o);return e&&t.on(o,n),()=>{e&&t.off(o,n)}}),[e]);return i}},71667:(e,n,t)=>{t.r(n),t.d(n,{default:()=>Ue});var l,a,o=t(71171),s=t(85493),i=t(6352),r=t.n(i),c=t(21371),d=t(28131),u=t(33518),h=t(68420),p=t(63902),m=t(51703),g=t(12073),f=t(15959),x=t(10866),v=t(4456),b=t(28864),k=t(99641),y=t(13798),j=t(88574),w=t(35966),A=t(75793),C=t(38242),E=t(55309),Z=t(8790),B=t(77609),L=t(23484),P=t(96266);const D=u.Z.a(l||(l=(0,o.Z)(["\n display: block;\n height: 36px;\n color: ",";\n"])),(e=>e.theme.palette.primary.main)),N=(0,u.Z)(Z.Z)(a||(a=(0,o.Z)(["\n .app-info_desc {\n font-weight: 400;\n margin-top: 40px;\n font-size: 18px;\n line-height: 21px;\n color: #222222;\n }\n\n .body {\n text-align: center;\n }\n\n "," {\n .app-info_desc {\n font-size: 16px;\n }\n }\n\n .circle_icon {\n font-size: 58px;\n color: ",";\n }\n"])),(e=>e.theme.breakpoints.down("md")),(e=>"error"===e.variant?e.theme.palette.error.main:e.theme.palette.success.main)),M=function(){const{t:e}=(0,h.PE)(),{info:n}=(0,A.h6)(),t=(0,L.Z)(),l=decodeURIComponent(t.get("accessUrl")||""),{meta:a}=(0,B.H0)();return(0,P.jsx)(N,{children:(0,P.jsx)("div",{className:"body",children:(0,P.jsx)(E.Z,{variant:"success",title:(0,C.getDisplayName)({meta:a},!0),subTitle:e("launchBlocklet.installSuccess",{serverName:n.name}),footer:(0,P.jsx)(D,{href:l,rel:"noreferrer","data-cy":"open-blocklet",children:e("common.open")})})})})};var R=t(39463),I=t(4651),S=t(86229),T=t(14491),z=t(60344),O=t(17450),Q=t(66935),U=t(35266),J=t(77277),H=t(2660),F=t(77429),X=t(34331),K=t(16829),V=t(75506),G=t.n(V),W=t(50482),Y=t.n(W),_=t(5057),q=t(15849),$=t(67654),ee=t(31853),ne=t(11397),te=t.n(ne),le=t(52581),ae=t(11476),oe=t(25339),se=t(74094),ie=t(13455),re=t(28726);function ce(e){let{children:n,...t}=e;return(0,P.jsx)(re.Z,{variant:"contained",color:"primary",...t,children:n})}const de=(0,_.forwardRef)(((e,n)=>(0,P.jsx)(ce,{...e,forwardedRef:n})));var ue,he,pe,me,ge=t(13932),fe=t(93040),xe=t(66436);const ve=te()("@abtnode/webapp:launch-blocklet:step-install"),be=(e,n)=>!n.statusChanged&&("installed"===e||"running"===e)&&!n.launching,ke=(e,n,t)=>t("nft"===n?e?"launchBlocklet.dialog.nftFreeDescription":"launchBlocklet.dialog.nftPaidDescription":e?"launchBlocklet.dialog.freeDescription":"launchBlocklet.dialog.paidDescription"),ye="setup_token",je=e=>{sessionStorage.setItem(ye,e)},we=()=>{sessionStorage.removeItem(ye)},Ae=()=>sessionStorage.getItem(ye);function Ce(){const e=(0,L.Z)(),{t:n,locale:t}=(0,h.PE)(),{api:l,info:a}=(0,A.h6)(),{session:o,api:i}=(0,oe.Tt)(),c=(0,s.useNavigate)(),{loading:d,meta:u,isFree:p,appDid:m,sessionId:g,storeUrl:f,blockletMetaUrl:x,isExternal:v,setAppDid:b,launcherUrl:k,launcherSessionId:j,isInstalling:E,isInstalled:Z}=(0,B.H0)(),D=u?(0,C.getDisplayName)({meta:u},!0):null,N=e.get("launchType"),M=e.get("chainHost"),V=!!e.get("onlyRequired"),W=e.get("nftId"),ne=(0,_.useRef)(null),{decrypt:te,encryptKey:re}=(0,Q.R)(),[ce]=(0,$.Z)("skip-blocklet-setup",!1),[ue,he]=(0,ee.Z)({launching:!1,visiting:!1,statusChanged:!1,isConnectOpen:!1,nextAccessUrl:"",loaded:!1,installError:null,progressIndex:0,connectData:{action:"",baseUrl:"",checkFn:()=>{},extraParams:{}}}),pe=(0,fe.Iq)({user:o.user,launchType:N,nftId:W}),me=(0,R.getServerAuthMethod)(a,N,j,pe),ye=(0,ae.Z)(pe?m:""),{status:Ce,eventName:Pe}=ye,De=e.get("from");(0,_.useEffect)((()=>{d||(Z||E||Ne(),he({loaded:!0}))}),[d]);const Ne=async()=>{const e=o.user?"".concat(o.user.fullName,"'s ").concat(D):D;if(he({installError:null}),null!==o&&void 0!==o&&o.user&&!v&&"serverless"!==N)try{await(async()=>{const{isNew:e,decoded:n}=(0,se.bQ)(f,a.blockletRegistryList);e&&await l.addBlockletStore({input:{teamDid:a.did,url:n}})})()}catch(h){console.error("addNewRegistryToRegistryList error:",h)}if(p){var n,t,s;const l="launch-free-blocklet-by-".concat(me);he({isConnectOpen:!0,connectData:{action:l,baseUrl:"",checkFn:z.od.create({baseURL:null!==(n=null===(t=window)||void 0===t||null===(s=t.env)||void 0===s?void 0:s.apiPrefix)&&void 0!==n?n:"/"}).get,extraParams:{wt:(0,I.iK)(u),title:e,blockletMetaUrl:x,launchType:N,nftId:W,chainHost:decodeURIComponent(M),launcherUrl:k,launcherSessionId:j,onlyRequired:V}}})}else{var i,c,d;const n="launch-paid-blocklet-by-".concat(me),t=new URL(window.location.href);t.pathname=r()(null!==(i=null===(c=window)||void 0===c||null===(d=c.env)||void 0===d?void 0:d.apiPrefix)&&void 0!==i?i:"/","/api/did/".concat(n,"/token")),t.searchParams.set("wt",(0,I.iK)(u)),t.searchParams.set("_ek_",re),t.searchParams.set("title",e),t.searchParams.set("autoConnect",!1),t.searchParams.set("blockletMetaUrl",x),N&&t.searchParams.set("launchType",N),W&&t.searchParams.set("nftId",W),k&&t.searchParams.set("launcherUrl",k),j&&t.searchParams.set("launcherSessionId",j);const{data:l}=await z.hi.get(t.href);he({isConnectOpen:!0,connectData:{action:"verify-purchase-blocklet",baseUrl:new URL(x).origin,checkFn:z.od.create({baseURL:new URL(x).origin}).get,extraParams:{serverDid:a.did,blockletDid:null===u||void 0===u?void 0:u.did,nw:l.url}}})}},Me=async n=>{if(ve("visitBlocklet",{status:Ce,state:ue,appDid:m}),ue.visiting)return;he({visiting:!0});const t=(0,T.A6)({blocklet:n}),l=await(0,se.D)(t);if(G()(l)&&"serverless"!==N||ce)return he({visiting:!1}),void setTimeout((()=>{(n=>{const t="/".concat(a.routing.adminPath,"/blocklets/").concat(n.meta.did,"/configuration").replace(/\/+/g,"/");let l="/launch-blocklet/complete?status=installed&name=".concat(encodeURIComponent(D),"&accessUrl=").concat(encodeURIComponent(t),"&blocklet_meta_url=").concat(x);const o=e.get("fromLauncher");o&&(l+="&fromLauncher=".concat(o)),N&&(l+="&launchType=".concat(N)),M&&(l+="&chainHost=".concat(M)),c(l)})(n)}),1e3);if(G()(l))return void he({visiting:!1});if(!1===be(Ce,ue))try{await i.post("/api/launch/".concat(g))}catch(d){ve("end launch failed",{error:(0,se.Z)(d)})}const o=new URL(l);o.searchParams.set("serverUrl",(0,I.RU)(a)),"running"!==n.status&&o.searchParams.set("__start__","1");const s=e.get("fromLauncher");s&&o.searchParams.set("fromLauncher",s),N&&o.searchParams.set("launchType",N),W&&o.searchParams.set("nftId",W),M&&o.searchParams.set("chainHost",M);const r=Ae();r&&o.searchParams.set("setupToken",r),he({nextAccessUrl:o.href,visiting:!1}),setTimeout((()=>{we(),window.location.href=o.href}),1e3)},Re=[n("launchBlocklet.waiting.verifying"),n("launchBlocklet.waiting.downloading"),n("launchBlocklet.waiting.extracting"),n("upgrading"===Ce?"common.upgrading":"launchBlocklet.waiting.installing"),n("launchBlocklet.waiting.done")],Ie=()=>{ve("handleInstalledProgress",{status:Ce,state:ue}),Ce&&(he({progressIndex:4}),ne.current&&(clearTimeout(ne.current),ne.current=null),ne.current=setTimeout((()=>{l.getBlocklet({input:{did:m,attachRuntimeInfo:!0}}).then((e=>{e.blocklet&&Me(e.blocklet)}))}),500))};if((0,_.useEffect)((()=>{E&&he({launching:!0}),Z&&Ie()}),[Z,E]),(0,_.useEffect)((()=>{if("serverless"!==N||Pe!==J.BlockletEvents.nftConsumed)switch(Ce){case"waiting":he({progressIndex:1,statusChanged:!0});break;case"downloading":he({progressIndex:2,statusChanged:!0});break;case"installing":case"upgrading":he({progressIndex:3,statusChanged:!0});break;case"installed":if("serverless"===N&&!(0,fe.MZ)(ye))break;Ie();break;case"starting":case"running":case"stopped":Ie();break;case"corrupted":case"error":{const n={message:ye.error.message,name:ye.eventName};var e;if([J.BlockletEvents.downloadFailed,J.BlockletEvents.installFailed].includes(ye.eventName)?n.action="retry":"error"!==Ce&&"corrupted"!==Ce||(n.action="view"),!Y()(n,ue.installError))null!==ye&&void 0!==ye&&null!==(e=ye.error)&&void 0!==e&&e.message&&S.Z.error((0,se.Z)(ye.error))}}else Ie()}),[Ce,Pe,ye]),ve("render",{status:Ce,eventName:Pe,launchType:N,runtimeBlockletState:ye,state:ue}),d||o.user&&null===Ce||G()(u))return(0,P.jsx)(w.Z,{relative:"parent",children:(0,P.jsx)(y.Z,{})});if(ue.installError){const e={view:!v&&(0,P.jsx)(de,{className:"bottom-button",component:q.Link,to:"/blocklets/".concat(m,"/overview"),"data-cy":"view-blocklet",color:"primary",variant:"contained",children:n("launchBlocklet.viewApplication")}),retry:(0,P.jsxs)(Be,{children:[De&&(0,P.jsx)(de,{variant:"text",className:"bottom-button","data-cy":"go-back",disabled:ue.isConnectOpen,onClick:()=>{window.location.href=De},children:n("common.back")}),(0,P.jsxs)(de,{className:"bottom-button","data-cy":"retry-install",disabled:ue.isConnectOpen,onClick:Ne,children:[ue.isConnectOpen&&(0,P.jsx)(y.Z,{size:16}),n("common.retry")]})]})},t=ue.installError.name?ue.installError.name.replace("blocklet.",""):"installFailed";return(0,P.jsx)(Le,{variant:"error",title:D,subTitle:(0,P.jsxs)(Ze,{children:[(0,P.jsx)("div",{children:n("launchBlocklet.error.".concat(t))}),ue.installError.message&&(0,P.jsx)("div",{className:"error-desc",children:n("common.errorMessage")+ue.installError.message})]}),footer:e[ue.installError.action]})}if(be(Ce,ue))return ve("alreadyExists",{status:Ce,state:ue,runtimeBlockletState:ye}),(0,P.jsx)(Le,{variant:"info",title:n("common.reminder"),subTitle:n("launchBlocklet.alreadyExists",{name:(0,C.getDisplayName)({meta:u},!0)}),footer:(0,P.jsxs)("div",{children:[!ue.nextAccessUrl&&(0,P.jsx)(y.Z,{size:16}),ue.nextAccessUrl&&(0,P.jsx)(K.Z,{href:ue.nextAccessUrl,"data-cy":"open-blocklet",children:n("launchBlocklet.redirect")})]})});const Se=!ue.launching&&!Ce;return(0,P.jsxs)(Ee,{children:[(0,P.jsx)("div",{className:"header",children:(0,P.jsx)(H.Z,{title:n(Se?"common.install":"common.installing"),subTitle:Se?n("launchBlocklet.subTitle",{appName:D,serverName:a.name}):""})}),(0,P.jsxs)("div",{className:"body",children:[Se&&(0,P.jsxs)(P.Fragment,{children:[(0,P.jsxs)("div",{className:"illustrations",children:[(0,P.jsx)("div",{className:"ills-block ills-block-left",children:(0,P.jsxs)("div",{className:"ills-block-inner",children:[(0,P.jsx)(ie.Z,{className:"i-icon",blocklet:{meta:u},blockletMetaUrl:x}),(0,P.jsx)("div",{className:"i-name",children:D})]})}),(0,P.jsx)(X.Z,{className:"arrow-icon"}),(0,P.jsx)("div",{className:"ills-block ills-block-right",children:(0,P.jsxs)("div",{className:"ills-block-inner",children:[(0,P.jsx)("img",{width:"64",height:"64",src:le.Z,alt:""}),(0,P.jsx)("div",{className:"i-name",children:a.name}),(0,P.jsx)(O.Z,{size:12,responsive:!1,compact:!0,did:a.did})]})})]}),ue.loaded&&!Z&&!ue.launching&&(0,P.jsxs)(de,{className:"bottom-button","data-cy":"start-launch",disabled:ue.isConnectOpen,onClick:Ne,children:[ue.isConnectOpen&&(0,P.jsx)(y.Z,{size:16}),n("launchBlocklet.confirmInstall")]})]}),ue.launching&&(0,P.jsxs)(xe.Z,{children:[(0,P.jsx)(U.Z,{increaseSpeed:.3,messageLoop:!1,message:(0,P.jsx)(F.Z,{steps:Re,stepIndex:ue.progressIndex,autoGrowth:4===ue.progressIndex?1e3:4e3})}),[1,2].includes(ue.progressIndex)&&(0,P.jsx)(ge.Z,{appDid:m})]})]}),ue.isConnectOpen&&(0,P.jsx)(ge.Z,{appDid:m,visible:!1}),(0,P.jsx)(Q.Z,{open:ue.isConnectOpen,popup:!0,saveConnect:!1,className:"connect",baseUrl:ue.connectData.baseUrl,action:ue.connectData.action,checkFn:ue.connectData.checkFn,extraParams:ue.connectData.extraParams,checkTimeout:6e5,webWalletUrl:(0,se.yP)(a),onSuccess:async e=>{S.Z.success(n("launchBlocklet.dialog.success"));const t=Array.isArray(e)?e[e.length-1]:e;if(t.sessionToken&&((0,se.ZB)(te(t.sessionToken)),await o.refresh()),t.setupToken&&je(t.setupToken),he({launching:!t.isInstalled,isConnectOpen:!1}),t.appDid){b(t.appDid,t.sessionId);const e=new URL(window.location.href);e.searchParams.set("appDid",t.appDid),e.searchParams.set("sessionId",t.sessionId),window.history.replaceState(null,"",e.toString())}},onClose:()=>he({isConnectOpen:!1}),locale:t,messages:{title:"".concat(n("launchBlocklet.dialog.title")),scan:ke(p,me,n),confirm:n("launchBlocklet.dialog.confirm"),success:n("launchBlocklet.dialog.success")}})]})}const Ee=(0,u.Z)(Z.Z)(ue||(ue=(0,o.Z)(["\n .body {\n align-items: center;\n animation: fadein ease 0.3s;\n }\n\n .illustrations {\n display: flex;\n flex-direction: row;\n justify-content: center;\n align-items: start;\n text-align: center;\n margin-top: 16px;\n margin-bottom: 40px;\n width: 100%;\n }\n\n .ills-block,\n .ills-block-inner {\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n flex-shrink: 0;\n flex: 1;\n }\n .ills-block {\n max-width: 220px;\n .i-icon {\n width: 64px;\n height: 64px;\n }\n\n .i-name {\n margin-top: 16px;\n font-weight: 400;\n font-size: 16px;\n color: #222222;\n }\n\n .i-sub-name {\n color: #999999;\n }\n }\n\n .arrow-icon {\n align-self: start;\n color: #c4c5ca;\n font-size: 30px;\n margin: 16px 0 0;\n "," {\n margin: 25px 24px 0;\n }\n }\n\n @keyframes fadein {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }\n"])),(e=>e.theme.breakpoints.down("md"))),Ze=u.Z.div(he||(he=(0,o.Z)(["\n line-height: 1.4em;\n .error-desc {\n margin-top: 8px;\n word-wrap: break-word;\n color: ",";\n }\n"])),(e=>e.theme.palette.grey[500])),Be=u.Z.div(pe||(pe=(0,o.Z)(["\n display: flex;\n justify-content: space-around;\n flex-wrap: wrap;\n button {\n margin: 0 10px 18px;\n }\n"]))),Le=(0,u.Z)(E.Z)(me||(me=(0,o.Z)(["\n .result-footer {\n height: auto;\n }\n"])));var Pe,De,Ne=t(53927),Me=t(35432),Re=t(32828);function Ie(e){var n;let{onClickNext:t,handleDescEle:l,showPageHeader:a}=e;const o=(0,s.useNavigate)(),[i,r]=(0,_.useState)(null),[c,d]=(0,_.useState)(!1),{t:u}=(0,h.PE)(),{info:p,api:m}=(0,A.h6)(),{loading:g,meta:f,isRunning:x,isInstalled:v,isInstalling:b,appDid:k,isExternal:j}=(0,B.H0)(),[Z,L]=(0,_.useState)(!0),D=(0,_.useMemo)((()=>{if(!j)return"/blocklets/".concat(k,"/overview");if(!i)return"";const e=new URL(i);return"".concat(e.origin).concat(Me.WELLKNOWN_SERVICE_PATH_PREFIX,"/admin")}),[i,j,k]),N=()=>{const e=new URLSearchParams(window.location.search);Z||e.set("onlyRequired","1"),o("/launch-blocklet/install?".concat(e.toString()))},M=t||N;if((0,_.useEffect)((()=>{g||(b?N():(x||v&&j)&&(async()=>{try{d(!0);const{blocklet:e}=await m.getBlocklet({input:{did:f.did,attachRuntimeInfo:!0}}),n=(0,T.A6)({blocklet:e}),t=await(0,se.D)(n);if(!t&&G()(t))return void r(null);r(new URL(t).href)}catch(e){S.Z.error(e.message)}finally{d(!1)}})())}),[x,j,v,b]),v){const e=x?"alreadyRunning":"alreadyInstalled";return(0,P.jsx)(E.Z,{variant:"info",title:u("common.reminder"),subTitle:u("launchBlocklet.".concat(e),{name:(0,C.getDisplayName)({meta:f},!0)}),footer:(0,P.jsxs)(Te,{children:[(0,P.jsx)(de,{loading:!D,"data-cy":"view-blocklet",component:j?void 0:q.Link,to:D,href:D,variant:x?"outlined":"contained",color:"primary",children:u("launchBlocklet.viewApplication")}),x&&(0,P.jsx)(de,{loading:c,className:"last-button",disabled:!i,href:i,"data-cy":"open-blocklet",children:u("common.open")})]})})}return p?(0,Re.default)(f)||null!==f&&void 0!==f&&null!==(n=f.components)&&void 0!==n&&n.length?(0,P.jsxs)(Se,{children:[a&&(0,P.jsx)(H.Z,{title:u("launchBlocklet.introduction"),subTitle:u("launchBlocklet.welcome")}),(0,P.jsx)(Ne.Z,{installRelated:Z,onChangeInstallRelated:L,meta:f,onClickNext:M,handleDescEle:l})]}):(0,P.jsx)(Se,{className:"center",children:(0,P.jsx)(E.Z,{variant:"error",subTitle:u("launchBlocklet.error.resourceBlocklet")})}):(0,P.jsx)(w.Z,{relative:"parent",children:(0,P.jsx)(y.Z,{})})}Ie.defaultProps={onClickNext:null,handleDescEle:"",showPageHeader:!0};const Se=u.Z.div(Pe||(Pe=(0,o.Z)(["\n display: flex;\n flex-direction: column;\n align-items: center;\n width: 100%;\n height: 100%;\n &.center {\n justify-content: center;\n }\n"]))),Te=u.Z.div(De||(De=(0,o.Z)(["\n .MuiButton-root {\n "," {\n min-width: 200px;\n }\n }\n .last-button {\n margin-left: ",";\n }\n"])),(e=>e.theme.breakpoints.up("md")),(e=>e.theme.spacing(2)));var ze,Oe,Qe;function Ue(){const e=(0,d.Z)((e=>e.breakpoints.down("md"))),{t:n,locale:t}=(0,h.PE)(),{info:l}=(0,A.h6)(),a=(0,se.yP)(l),{serverUrl:o,fromLauncher:i,meta:u,isFree:C,loading:E,error:Z,storeUrl:L}=(0,B.H0)(),D=r()((0,se.Y5)(),"/launch-blocklet"),N=[{key:"install",name:n("launchBlocklet.steps.installApp"),path:r()(D,"install")},{key:"setup",name:n("setup.steps.launchApp")}];let R=[{key:"agreement",name:n("launchBlocklet.introduction"),path:r()(D,"agreement")},...N];const I=()=>{o&&window.open(o)};let S=(0,P.jsx)(Fe,{className:"".concat(o?"logo-can-click":""),children:(0,P.jsx)(k.Z,{onClick:I,logo:e?(0,P.jsx)(x.Z,{width:"32",height:"32"}):(0,P.jsx)(v.Z,{width:"128",height:"48"})})});i&&(R=[{key:"purchase-space",name:n("launchBlocklet.steps.purchaseSpace")},{key:"prepare-space",name:n("launchBlocklet.steps.prepareSpace")},...N],S=(0,P.jsx)(Fe,{className:"".concat(o?"logo-can-click":""),children:(0,P.jsx)(k.Z,{logo:e?(0,P.jsx)(x.Z,{onClick:I,width:"32",height:"32"}):(0,P.jsx)(v.Z,{onClick:I,width:"128",height:"48"}),previousData:{logo:e?(0,P.jsx)(f.Z,{width:"32",height:"32"}):(0,P.jsx)(b.Z,{width:"145",height:"48"})}})}));const T={meta:u,isFree:C};return(0,P.jsx)(m.W,{steps:R,children:(0,P.jsx)(p.Z,{locale:t,loading:E,blockletMeta:{...u,isFree:C},useOfSkeleton:!1,navLogo:S,headerEndAddons:(0,P.jsx)(g.Z,{webWalletUrl:a,SessionContext:oe.B3}),pcWidth:"80%",style:{height:"100%"},logoUrl:u&&u.logo?(0,se.aZ)({did:u.did,baseUrl:L,logoPath:u.logo}):null,children:(0,P.jsxs)(He,{children:[(0,P.jsx)(c.Global,{styles:Je}),E&&(0,P.jsx)(w.Z,{relative:"parent",children:(0,P.jsx)(y.Z,{})}),!E&&Z&&(0,P.jsx)(w.Z,{relative:"parent",children:(0,P.jsx)(j.Z,{style:{wordBreak:"break-all"},variant:"icon",type:"error",children:Z})}),!E&&!Z&&(0,P.jsxs)(s.Routes,{children:[(0,P.jsx)(s.Route,{path:"agreement",element:(0,P.jsx)(Ie,{})}),(0,P.jsx)(s.Route,{path:"install",element:(0,P.jsx)(Ce,{})}),(0,P.jsx)(s.Route,{path:"complete",element:(0,P.jsx)(M,{blocklet:T})}),(0,P.jsx)(s.Route,{path:"*",element:(0,P.jsx)(s.Navigate,{to:"agreement".concat(window.location.search),replace:!0})})]})]})})})}const Je=(0,c.css)(ze||(ze=(0,o.Z)(["\n html,\n body,\n #root,\n #root > .wrapper {\n height: 100%;\n }\n"]))),He=u.Z.div(Oe||(Oe=(0,o.Z)(["\n width: 100%;\n height: 100%;\n display: flex;\n flex-direction: column;\n justify-content: flex-start;\n align-items: flex-start;\n\n .bottom-button {\n min-width: 200px;\n }\n"]))),Fe=u.Z.div(Qe||(Qe=(0,o.Z)(["\n margin-top: -1px;\n &.logo-can-click {\n cursor: pointer;\n }\n"])))},53927:(e,n,t)=>{t.d(n,{Z:()=>Z});var l=t(71171),a=t(55898),o=t.n(a),s=t(85493),i=t(33518),r=t(68420),c=t(40265),d=t(44566),u=t(55498),h=t(87543),p=t(54272),m=t(44024),g=t(53066),f=t(5057),x=t(35432),v=t(96266);function b(e){let{...n}=e;return(0,v.jsxs)("div",{...n,style:{width:"100%"},children:[(0,v.jsx)("h3",{children:"End User License Agreement for Application"}),(0,v.jsxs)("p",{children:["Blocklet Server License Agreement ",x.COPYRIGHT_OWNER," version 2020-08-28"]}),(0,v.jsx)("p",{children:"BLOCKLET SERVER LICENSE AGREEMENT"}),(0,v.jsx)("p",{children:"\u6682\u65e0"})]})}var k=t(13128),y=t(92102),j=t(15849),w=t(58238);const A=function(e){const{api:n}=(0,w.h6)(),[t]=(0,j.useSearchParams)(),l=t.get("blocklet_meta_url")||function(e){return e&&e.homepage&&e.did?"".concat(null===e||void 0===e?void 0:e.homepage,"/api/blocklets/").concat(null===e||void 0===e?void 0:e.did,"/blocklet.json"):""}(e),[a,o]=(0,f.useState)([]),[s,i]=(0,f.useState)(!1);return(0,f.useEffect)((()=>{l&&(i(!0),n.getDynamicComponents({input:{url:l}}).then((e=>{o(e.components)})).finally((()=>{i(!1)})))}),[l]),{components:a,loading:s}};function C(e){let{installRelated:n,meta:t,show:l,onClose:a}=e;const{t:o}=(0,r.PE)(),s=(0,y.Z)((e=>e.breakpoints.down("md"))),{components:i,loading:c}=A(t),d=(0,f.useMemo)((()=>t&&t.components?t.components.reduce(((e,n)=>(n.required&&(e[n.did||n.name]=!0),e)),{}):{}),[t]);if(!l)return null;const p=!c&&0===i.length,m=!c&&0!==i.length;return(0,v.jsxs)(k.ZP,{title:o("blocklet.component.relatedComponents",{name:t.title}),maxWidth:!1,fullWidth:!1,onClose:(e,n)=>{"backdropClick"!==n&&a(!1)},PaperProps:{style:s?{width:"100%",height:window.innerHeight}:{maxWidth:400,minWidth:300,width:"80%"}},showCloseButton:!0,disableEscapeKeyDown:!0,open:!0,children:[c&&(0,v.jsx)(h.Z,{sx:{marginTop:4,display:"flex",flexDirection:"row",justifyContent:"center",alignItems:"center"},children:(0,v.jsx)(h.Z,{sx:{fontSize:32},color:"primary.main",component:u.JO,icon:"line-md:loading-loop"})}),p&&(0,v.jsx)(h.Z,{sx:{textAlign:"center"},children:o("blocklet.component.noDependencies",{name:t.title})}),m&&(0,v.jsx)(h.Z,{sx:{marginBottom:2},children:i.map((e=>{if(!e.meta)return null;let l;return l=n||d[e.meta.name]?1:.5,(0,v.jsxs)(h.Z,{sx:{opacity:l,padding:"10px 0px",paddingBottom:.5,marginTop:0,display:"flex",flexDirection:"row",justifyContent:"start",alignItems:"flex-start"},children:[(0,v.jsx)("img",{style:{width:40,height:40,minWidth:40,minHeight:40},src:"".concat(e.meta.homepage,"/assets/").concat(t.did,"/logo.png?v=").concat(t.version),alt:e.meta.title}),(0,v.jsxs)(h.Z,{sx:{display:"flex",flexDirection:"column",justifyContent:"start",alignItems:"start",marginLeft:2},children:[(0,v.jsxs)(h.Z,{sx:{fontSize:"16px",fontWeight:"bold",cursor:"pointer",".link-icon":{opacity:0},":hover .link-icon":{opacity:1}},onClick:()=>{window.open("".concat(e.meta.homepage,"/blocklets/").concat(e.meta.did),"_blank")},children:[e.meta.title,(0,v.jsxs)(h.Z,{sx:{paddingLeft:1,fontSize:"13px",fontWeight:"400"},component:"span",children:[e.meta.version,(0,v.jsx)(h.Z,{className:"link-icon",icon:"fluent:open-20-filled",component:u.JO,sx:{color:"primary.main",fontSize:16,transform:"translate(6px, 3px)",transition:"all 0.1s"}})]})]}),(0,v.jsx)(h.Z,{sx:{marginTop:0,opacity:.7},children:e.meta.description})]})]},e.meta.did)}))})]})}var E;function Z(e){let{installRelated:n,onChangeInstallRelated:t,meta:l,onClickNext:a,handleDescEle:o}=e;const i=(0,s.useNavigate)(),{t:x,locale:k}=(0,r.PE)(),[y,j]=(0,f.useState)(!1),w=a||(()=>{i("/launch-blocklet/install".concat(window.location.search))});return(0,v.jsxs)(B,{children:[(0,v.jsx)("div",{className:"app-content",children:(0,v.jsx)("div",{className:"agreement",children:(0,v.jsx)("div",{className:"agreement-content",children:(0,v.jsx)(d.Z,{blockletMeta:{data:l},locale:k,handleDescEle:o})})})}),(0,v.jsxs)("div",{className:"agreement-bottom",children:[t&&(0,v.jsxs)(h.Z,{sx:{display:"flex",flexDirection:"row",justifyContent:"flex-start",alignItems:"center"},children:[(0,v.jsx)(p.Z,{sx:{mr:.5},checked:n,onChange:e=>t(e.currentTarget.checked),control:(0,v.jsx)(m.Z,{}),label:(0,v.jsx)("span",{children:x("launchBlocklet.installRelatedComponents")})}),(0,v.jsx)(h.Z,{sx:{"> button svg":{color:"primary.main"}},children:(0,v.jsx)(g.Z,{size:"small",onClick:()=>{j(!0)},children:(0,v.jsx)(u.JO,{icon:"octicon:package-dependencies-16"})})})]}),(0,v.jsx)("div",{className:"button-container","data-cy":"agree-all",children:(0,v.jsx)(c.Z,{onContinue:w,description:(0,v.jsx)(b,{}),texts:{listenName:x("launchBlocklet.license"),buttonNext:x("launchBlocklet.next")}})})]}),(0,v.jsx)(C,{installRelated:n,meta:l,show:y,onClose:()=>{j(!1)}})]})}C.propTypes={meta:o().object,show:o().bool,onClose:o().func.isRequired,installRelated:o().func},C.defaultProps={meta:null,show:!1,installRelated:!1},Z.propTypes={meta:o().object.isRequired,onClickNext:o().func,handleDescEle:o().node,installRelated:o().bool,onChangeInstallRelated:o().func},Z.defaultProps={onClickNext:null,handleDescEle:"",installRelated:!0,onChangeInstallRelated:null};const B=i.Z.div(E||(E=(0,l.Z)(["\n display: flex;\n flex-direction: column;\n align-items: center;\n width: 100%;\n height: 100%;\n flex: 1;\n .app-content {\n padding: 2px 24px 24px;\n "," {\n padding-top: 10px;\n }\n width: 100%;\n flex: 1;\n letter-spacing: normal;\n }\n .agreement {\n position: relative;\n display: flex;\n flex-direction: column;\n width: 100%;\n height: 100%;\n border: 1px solid ",";\n border-radius: 12px;\n "," {\n margin-top: 24px;\n }\n "," {\n margin-top: 16px;\n }\n .agreement-content {\n position: absolute;\n left: 0;\n top: 0;\n width: 100%;\n height: 100%;\n font-size: 14px;\n overflow-y: auto;\n "," {\n padding: 0 24px;\n }\n "," {\n padding: 0 16px;\n }\n &:after {\n display: block;\n content: '';\n height: 24px;\n }\n }\n }\n .agreement-bottom {\n display: flex;\n width: 100%;\n padding: 24px;\n "," {\n flex-direction: row;\n align-items: center;\n margin-left: auto;\n }\n "," {\n flex-direction: column;\n align-items: center;\n padding-top: 0;\n padding-bottom: 16px;\n }\n }\n .button-container {\n "," {\n margin-left: auto;\n }\n "," {\n padding-top: 0;\n padding-bottom: 16px;\n }\n }\n"])),(e=>e.theme.breakpoints.down("md")),(e=>e.theme.palette.grey[100]),(e=>e.theme.breakpoints.up("md")),(e=>e.theme.breakpoints.down("md")),(e=>e.theme.breakpoints.up("md")),(e=>e.theme.breakpoints.down("md")),(e=>e.theme.breakpoints.up("md")),(e=>e.theme.breakpoints.down("md")),(e=>e.theme.breakpoints.up("md")),(e=>e.theme.breakpoints.down("md")))},8790:(e,n,t)=>{t.d(n,{Z:()=>c});var l,a=t(71171),o=t(33518),s=t(55898),i=t.n(s),r=t(96266);function c(e){let{children:n,...t}=e;return(0,r.jsx)(d,{...t,children:n})}c.propTypes={children:i().any.isRequired};const d=o.Z.div(l||(l=(0,a.Z)(["\n display: flex;\n flex-direction: column;\n align-items: center;\n width: 100%;\n height: 100%;\n\n .header {\n text-align: center;\n }\n\n .body {\n display: flex;\n flex-direction: column;\n align-items: center;\n margin-top: 30px;\n width: 100%;\n min-height: 200px;\n flex: 1;\n\n "," {\n padding: 24px;\n }\n\n "," {\n padding: 0 16px 16px;\n }\n }\n\n .footer {\n display: flex;\n justify-content: center;\n\n "," {\n padding-bottom: 34px;\n }\n\n "," {\n margin-top: auto;\n padding-bottom: 10px;\n }\n }\n"])),(e=>e.theme.breakpoints.up("md")),(e=>e.theme.breakpoints.down("md")),(e=>e.theme.breakpoints.up("sm")),(e=>e.theme.breakpoints.down("md")))},99641:(e,n,t)=>{t.d(n,{Z:()=>d});var l,a,o=t(71171),s=t(55898),i=t.n(s),r=t(33518),c=t(96266);function d(e){let{logo:n,name:t,subname:l,previousData:a,...o}=e,s=(0,c.jsx)(u,{logo:n}),i=t,r=l;return a.logo&&(s=(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(u,{logo:n,className:"left-fade-in-ele"}),(0,c.jsx)(u,{logo:a.logo,className:"postion-abs left-fade-out-ele"})]})),a.name&&a.name!==t&&(i=(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)("span",{className:"right-fade-in-ele",style:{display:"inline-block"},children:t}),(0,c.jsx)("span",{className:"postion-abs right-fade-out-ele",children:a.name})]})),a.subname&&a.subname!==l&&(r=(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)("span",{className:"right-fade-in-ele",style:{display:"inline-block"},children:l}),(0,c.jsx)("span",{className:"postion-abs right-fade-out-ele",children:a.subname})]})),(0,c.jsx)(p,{...o,children:(0,c.jsxs)("div",{className:"logo-inner",children:[(0,c.jsx)("div",{className:"logo-img-content",children:s}),(0,c.jsxs)("div",{className:"logo-info ".concat(t||l?"":"zero-left"),children:[(0,c.jsx)("div",{className:"logo-name",children:i}),(0,c.jsx)("div",{className:"logo-subname",children:r})]})]})})}function u(e){let{logo:n,...t}=e;return(0,c.jsx)(h,{...t,children:n})}d.propTypes={logo:i().element.isRequired,name:i().string,subname:i().string,previousData:i().object},d.defaultProps={name:"",subname:"",previousData:{logo:"",name:"",subname:""}};const h=r.Z.div(l||(l=(0,o.Z)(["\n display: block;\n > * {\n display: block;\n }\n"]))),p=r.Z.div(a||(a=(0,o.Z)(["\n position: relative;\n display: block;\n\n .logo-inner {\n display: flex;\n align-items: center;\n height: 100%;\n .logo-img-content {\n position: relative;\n display: block;\n }\n .logo-info {\n display: flex;\n flex-direction: column;\n justify-content: center;\n margin-left: 10px;\n letter-spacing: 0.1px;\n &.zero-left {\n margin-left: 0%;\n }\n .logo-name {\n position: relative;\n line-height: 16px;\n font-size: 16px;\n color: #121319;\n }\n .logo-subname {\n position: relative;\n line-height: 13px;\n font-size: 13px;\n color: #7d8085;\n }\n }\n }\n\n .postion-abs {\n position: absolute;\n left: 0;\n top: 0;\n height: 100%;\n }\n\n .right-fade-out-ele {\n animation: right-fade-out ease 0.5s;\n animation-delay: 2s;\n animation-fill-mode: forwards;\n }\n\n .right-fade-in-ele {\n animation: right-fade-in ease 0.5s;\n animation-delay: 2s;\n animation-fill-mode: both;\n }\n\n @keyframes right-fade-out {\n 0% {\n opacity: 1;\n transform: translate(0, 0);\n }\n 100% {\n opacity: 0;\n transform: translate(8px, 0);\n }\n }\n\n @keyframes right-fade-in {\n 0% {\n opacity: 0;\n transform: translate(8px, 0);\n }\n 100% {\n opacity: 1;\n transform: translate(0, 0);\n }\n }\n\n .left-fade-out-ele {\n animation: left-fade-out ease 0.5s;\n animation-delay: 2s;\n animation-fill-mode: forwards;\n }\n\n .left-fade-in-ele {\n animation: left-fade-in ease 0.5s;\n animation-delay: 2s;\n animation-fill-mode: both;\n }\n\n @keyframes left-fade-out {\n 0% {\n opacity: 1;\n transform: translate(0, 0);\n }\n 100% {\n opacity: 0;\n transform: translate(-8px, 0);\n }\n }\n\n @keyframes left-fade-in {\n 0% {\n opacity: 0;\n transform: translate(-8px, 0);\n }\n 100% {\n opacity: 1;\n transform: translate(0, 0);\n }\n }\n"])))},60344:(e,n,t)=>{t.d(n,{hi:()=>o,od:()=>a.a});var l=t(10458),a=t.n(l);a().defaults.timeout=1e4;const o=a().create()},34331:(e,n,t)=>{var l=t(71600);n.Z=void 0;var a=l(t(7675)),o=t(96266);n.Z=(0,a.default)((0,o.jsx)("path",{d:"m12 4-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z"}),"ArrowForward")},28864:(e,n,t)=>{n.Z=void 0;(l=t(5057))&&l.__esModule;var l,a=t(96266);function o(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);n&&(l=l.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,l)}return t}function s(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?o(Object(t),!0).forEach((function(n){i(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):o(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}function i(e,n,t){return(n=function(e){var n=function(e,n){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var l=t.call(e,n||"default");if("object"!=typeof l)return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(e)}(e,"string");return"symbol"==typeof n?n:String(n)}(n))in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}var r=function(e){return(0,a.jsxs)("svg",s(s({},e),{},{children:[(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M80.005 25.994V10h7.737a3.79 3.79 0 0 1 3.79 3.79v1.149a3.777 3.777 0 0 1-1.035 2.602 3.788 3.788 0 0 1 1.901 3.286v1.377a3.79 3.79 0 0 1-3.79 3.79h-8.603zm1.684-8.957h6.226a2.105 2.105 0 0 0 1.932-2.098v-1.15a2.105 2.105 0 0 0-2.105-2.105h-6.053v5.353zm0 7.273v-5.582l6.92-.007c1.163 0 2.105.943 2.105 2.106v1.377a2.105 2.105 0 0 1-2.105 2.106h-6.92zM97.255 10v15.994h-1.762V10h1.762zm8.733 4.319h-1.827a3.81 3.81 0 0 0-3.811 3.81v4.054a3.81 3.81 0 0 0 3.811 3.81h1.827a3.811 3.811 0 0 0 3.811-3.81V18.13a3.811 3.811 0 0 0-3.811-3.81zm-1.827 1.762a2.05 2.05 0 0 0-2.049 2.048v4.054a2.05 2.05 0 0 0 2.049 2.049h1.827a2.048 2.048 0 0 0 2.048-2.049V18.13a2.048 2.048 0 0 0-2.048-2.048h-1.827zM125.204 26v-5.754h2.148L130.674 26h2.035l-3.821-6.618 2.993-5.184h-2.035l-2.474 4.286h-2.168V10h-1.762v16h1.762zm-5.556-7.56v-.31a2.048 2.048 0 0 0-2.048-2.05h-1.827a2.048 2.048 0 0 0-2.049 2.05v4.053c0 1.132.917 2.049 2.049 2.049h1.827a2.048 2.048 0 0 0 2.048-2.049v-.311h1.762v.311a3.81 3.81 0 0 1-3.81 3.81h-1.827a3.81 3.81 0 0 1-3.811-3.81V18.13a3.81 3.81 0 0 1 3.811-3.81h1.827a3.81 3.81 0 0 1 3.81 3.81v.312h-1.762zm17.918 7.554V10h-1.762v15.994h1.762zm4.989-5.357v1.546c0 1.132.917 2.049 2.049 2.049h1.827a2.048 2.048 0 0 0 2.048-2.049v-.311h1.762v.311a3.81 3.81 0 0 1-3.81 3.81h-1.827a3.81 3.81 0 0 1-3.811-3.81V18.13a3.81 3.81 0 0 1 3.811-3.81h1.827a3.81 3.81 0 0 1 3.81 3.81v.746h.001v1.762h-7.687zm5.924-1.762h-5.924v-.746c0-1.131.917-2.048 2.049-2.048h1.827c1.131 0 2.048.917 2.048 2.048v.746zm5.489-1.912H152.4v-1.762h1.568v-2.848h1.684v2.848h4.077v1.762h-4.077v5.677a1.669 1.669 0 1 0 3.339 0v-.35h1.684v.35a3.353 3.353 0 1 1-6.707 0v-5.677z",fill:"#121319"}),(0,a.jsx)("path",{d:"M92.112 50.259v3.108H80.254V33.123h3.766v17.136h8.092zM101.843 47.235c-.999.047-1.839.135-2.52.266-.681.121-1.227.28-1.638.476-.41.196-.705.425-.882.686a1.49 1.49 0 0 0-.266.854c0 .606.177 1.04.532 1.302.364.261.835.392 1.414.392.71 0 1.32-.126 1.834-.378.523-.261 1.031-.654 1.526-1.176v-2.422zm-7.924-6.23c1.652-1.512 3.64-2.268 5.964-2.268.84 0 1.591.14 2.254.42.663.27 1.223.653 1.68 1.148a4.765 4.765 0 0 1 1.036 1.75c.243.681.364 1.428.364 2.24v9.072h-1.568c-.327 0-.579-.047-.756-.14-.177-.103-.317-.303-.42-.602l-.308-1.036c-.364.327-.719.616-1.064.868a6.54 6.54 0 0 1-1.078.616 5.498 5.498 0 0 1-1.204.378c-.42.093-.887.14-1.4.14-.607 0-1.167-.08-1.68-.238a3.775 3.775 0 0 1-1.33-.742 3.297 3.297 0 0 1-.868-1.218c-.206-.486-.308-1.05-.308-1.694a3.308 3.308 0 0 1 .77-2.114 5.12 5.12 0 0 1 1.078-.924c.438-.29.975-.541 1.61-.756a13.74 13.74 0 0 1 2.24-.518c.85-.14 1.82-.224 2.912-.252v-.84c0-.962-.205-1.67-.616-2.128-.411-.467-1.003-.7-1.778-.7-.56 0-1.027.065-1.4.196-.364.13-.686.28-.966.448-.28.159-.537.303-.77.434-.224.13-.476.196-.756.196-.243 0-.448-.06-.616-.182a1.67 1.67 0 0 1-.406-.448l-.616-1.106zM120.85 39.003v14.364h-2.114c-.458 0-.747-.21-.868-.63l-.238-1.148a7.862 7.862 0 0 1-1.946 1.456c-.71.364-1.545.546-2.506.546-.784 0-1.48-.13-2.086-.392a4.236 4.236 0 0 1-1.512-1.134 5.016 5.016 0 0 1-.938-1.722 7.52 7.52 0 0 1-.308-2.212v-9.128h3.458v9.128c0 .877.2 1.559.602 2.044.41.476 1.022.714 1.834.714.597 0 1.157-.13 1.68-.392a6.037 6.037 0 0 0 1.484-1.106V39.003h3.458zM127.512 40.767c.29-.29.593-.556.91-.798a5.623 5.623 0 0 1 2.184-1.036 5.542 5.542 0 0 1 1.344-.154c.784 0 1.48.135 2.086.406a3.957 3.957 0 0 1 1.512 1.12 4.69 4.69 0 0 1 .924 1.722c.215.663.322 1.395.322 2.198v9.142h-3.458v-9.142c0-.878-.2-1.554-.602-2.03-.401-.486-1.012-.728-1.834-.728-.597 0-1.157.135-1.68.406-.522.27-1.017.64-1.484 1.106v10.388h-3.458V39.003h2.114c.448 0 .742.21.882.63l.238 1.134zM150.373 42.04c-.103.132-.205.234-.308.309-.093.075-.233.112-.42.112a.982.982 0 0 1-.518-.154 9.315 9.315 0 0 0-.602-.364 3.902 3.902 0 0 0-.84-.364c-.317-.112-.714-.168-1.19-.168-.607 0-1.139.112-1.596.336-.457.215-.84.527-1.148.938-.299.41-.523.91-.672 1.498-.149.578-.224 1.236-.224 1.974 0 .765.079 1.447.238 2.044.168.597.406 1.101.714 1.512.308.401.681.71 1.12.924.439.205.933.308 1.484.308.551 0 .994-.066 1.33-.196.345-.14.635-.29.868-.448.233-.168.434-.318.602-.448a.925.925 0 0 1 .588-.21c.28 0 .49.107.63.322l.994 1.26a6.449 6.449 0 0 1-1.246 1.134 7.144 7.144 0 0 1-1.4.728 7.208 7.208 0 0 1-1.484.378 10.3 10.3 0 0 1-1.512.112 6.448 6.448 0 0 1-2.506-.49 6 6 0 0 1-2.058-1.456c-.588-.635-1.055-1.41-1.4-2.324-.336-.924-.504-1.974-.504-3.15 0-1.055.149-2.03.448-2.926.308-.906.756-1.685 1.344-2.338a6.09 6.09 0 0 1 2.184-1.554c.868-.373 1.867-.56 2.996-.56 1.073 0 2.011.172 2.814.518.812.345 1.54.84 2.184 1.484l-.91 1.26zM157.049 40.543a7.51 7.51 0 0 1 1.848-1.274c.672-.327 1.46-.49 2.366-.49.784 0 1.479.135 2.086.406.606.261 1.11.634 1.512 1.12.41.476.718 1.05.924 1.722.214.663.322 1.395.322 2.198v9.142h-3.458v-9.142c0-.878-.201-1.554-.602-2.03-.402-.486-1.013-.728-1.834-.728-.598 0-1.158.135-1.68.406-.523.27-1.018.64-1.484 1.106v10.388h-3.458V32.563h3.458v7.98zM178.649 44.533a3.95 3.95 0 0 0-.196-1.26 2.908 2.908 0 0 0-.559-1.05 2.562 2.562 0 0 0-.967-.7c-.382-.178-.83-.266-1.343-.266-.999 0-1.788.285-2.367.854-.569.57-.933 1.377-1.091 2.422h6.523zm-6.593 2.086c.056.737.186 1.377.392 1.918.205.532.475.975.811 1.33.336.345.733.607 1.191.784.466.168.98.252 1.54.252s1.04-.066 1.442-.196c.41-.13.765-.276 1.063-.434.308-.159.575-.304.799-.434.233-.13.457-.196.671-.196.29 0 .504.107.644.322l.995 1.26a5.93 5.93 0 0 1-1.289 1.134 7.641 7.641 0 0 1-1.498.728 8.291 8.291 0 0 1-1.581.378c-.532.074-1.05.112-1.554.112a7.766 7.766 0 0 1-2.786-.49 6.352 6.352 0 0 1-2.24-1.47c-.635-.653-1.134-1.456-1.498-2.408-.364-.962-.546-2.072-.546-3.332 0-.98.158-1.9.476-2.758.317-.868.77-1.62 1.358-2.254a6.462 6.462 0 0 1 2.17-1.526c.858-.373 1.824-.56 2.898-.56.905 0 1.74.144 2.506.434a5.41 5.41 0 0 1 1.973 1.274c.551.55.981 1.232 1.289 2.044.317.803.475 1.722.475 2.758 0 .523-.055.877-.167 1.064-.112.177-.327.266-.644.266h-8.89zM187.615 41.495c.448-.859.98-1.53 1.596-2.016.616-.495 1.344-.742 2.184-.742.662 0 1.194.145 1.596.434l-.224 2.59c-.047.168-.117.29-.21.364a.558.558 0 0 1-.35.098c-.14 0-.35-.023-.63-.07a4.704 4.704 0 0 0-.798-.07c-.383 0-.724.056-1.022.168-.299.112-.57.275-.812.49a3.359 3.359 0 0 0-.63.756c-.178.298-.346.64-.504 1.022v8.848h-3.458V39.003h2.03c.354 0 .602.065.742.196.14.121.233.345.28.672l.21 1.624z",fill:"#121319"}),(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M49.152 10.642L30.72 0 12.288 10.642v14.152L0 31.89v21.283l18.432 10.642 12.258-7.077.03.017.03-.017 12.258 7.077L61.44 53.172V31.89l-12.288-7.095V10.642zM59.52 32.997l-12.288-7.094V11.75L30.72 2.217 14.208 11.75v14.153L1.92 32.997v19.067l16.512 9.533L30.69 54.52l.03.017.03-.017 12.258 7.077 16.512-9.533V32.997z",fill:"url(#paint0_linear_615_416)"}),(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M49.152 24.83L30.72 14.19 12.288 24.831v21.283L30.72 56.756l18.432-10.642V24.831zm-34.944 1.11l16.512-9.534 16.512 9.533v19.067L30.72 54.539l-16.512-9.533V25.939zm14.52-3.756l.484.284 12.202 7.142 1.073.61V40.4l-.408.287-.461.32-12.89 7.545-7.743-4.503.02-17.35 7.722-4.516zm-5.822 20.762l.017-15.145 5.804-3.393 11.728 6.866.112.063v8.066L28.725 46.33l-5.819-3.384zm4.04-12.717l1.442-.827L37.2 34.53v1.66l-8.845 5.146-1.443-.833.034-10.273zm7.862 5.133l-5.971 3.474.023-6.935 5.948 3.46z",fill:"url(#paint1_linear_615_416)"}),(0,a.jsxs)("defs",{children:[(0,a.jsxs)("linearGradient",{id:"paint0_linear_615_416",x1:"30.72",y1:"95.721",x2:"94.488",y2:"34.325",gradientUnits:"userSpaceOnUse",children:[(0,a.jsx)("stop",{stopColor:"#0FA4B7"}),(0,a.jsx)("stop",{offset:".495",stopColor:"#1DC1C7"}),(0,a.jsx)("stop",{offset:"1",stopColor:"#2BE0D7"})]}),(0,a.jsxs)("linearGradient",{id:"paint1_linear_615_416",x1:"27.437",y1:"99.246",x2:"97.761",y2:"44.937",gradientUnits:"userSpaceOnUse",children:[(0,a.jsx)("stop",{stopColor:"#0FA4B7"}),(0,a.jsx)("stop",{offset:".495",stopColor:"#1DC1C7"}),(0,a.jsx)("stop",{offset:"1",stopColor:"#2BE0D7"})]})]})]}))};r.defaultProps={width:"193",height:"64",viewBox:"0 0 193 64",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.displayName="launcher-logo";n.Z=r},15959:(e,n,t)=>{n.Z=void 0;(l=t(5057))&&l.__esModule;var l,a=t(96266);function o(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);n&&(l=l.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,l)}return t}function s(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?o(Object(t),!0).forEach((function(n){i(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):o(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}function i(e,n,t){return(n=function(e){var n=function(e,n){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var l=t.call(e,n||"default");if("object"!=typeof l)return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(e)}(e,"string");return"symbol"==typeof n?n:String(n)}(n))in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}var r=function(e){return(0,a.jsxs)("svg",s(s({},e),{},{children:[(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M50.152 10.642L31.72 0 13.288 10.642v14.152L1 31.89v21.283l18.432 10.642 12.258-7.077.03.017.03-.017 12.258 7.077L62.44 53.172V31.89l-12.288-7.095V10.642zM60.52 32.997l-12.288-7.094V11.75L31.72 2.217 15.208 11.75v14.153L2.92 32.997v19.067l16.512 9.533L31.69 54.52l.03.017.03-.017 12.258 7.077 16.512-9.533V32.997z",fill:"url(#paint0_linear_615_428)"}),(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M50.152 24.83L31.72 14.19 13.288 24.831v21.283L31.72 56.756l18.432-10.642V24.831zm-34.944 1.11l16.512-9.534 16.512 9.533v19.067L31.72 54.539l-16.512-9.533V25.939zm14.52-3.756l.484.284 12.202 7.142 1.073.61V40.4l-.408.287-.461.32-12.89 7.545-7.743-4.503.02-17.35 7.722-4.516zm-5.822 20.762l.017-15.145 5.804-3.393 11.728 6.866.112.063v8.066L29.725 46.33l-5.819-3.384zm4.04-12.717l1.442-.827L38.2 34.53v1.66l-8.845 5.146-1.443-.833.034-10.273zm7.862 5.133l-5.971 3.474.023-6.935 5.948 3.46z",fill:"url(#paint1_linear_615_428)"}),(0,a.jsxs)("defs",{children:[(0,a.jsxs)("linearGradient",{id:"paint0_linear_615_428",x1:"31.72",y1:"95.721",x2:"95.488",y2:"34.325",gradientUnits:"userSpaceOnUse",children:[(0,a.jsx)("stop",{stopColor:"#0FA4B7"}),(0,a.jsx)("stop",{offset:".495",stopColor:"#1DC1C7"}),(0,a.jsx)("stop",{offset:"1",stopColor:"#2BE0D7"})]}),(0,a.jsxs)("linearGradient",{id:"paint1_linear_615_428",x1:"28.437",y1:"99.246",x2:"98.761",y2:"44.937",gradientUnits:"userSpaceOnUse",children:[(0,a.jsx)("stop",{stopColor:"#0FA4B7"}),(0,a.jsx)("stop",{offset:".495",stopColor:"#1DC1C7"}),(0,a.jsx)("stop",{offset:"1",stopColor:"#2BE0D7"})]})]})]}))};r.defaultProps={width:"64",height:"64",viewBox:"0 0 64 64",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.displayName="launcher-logo-notext";n.Z=r}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunk_abtnode_webapp=self.webpackChunk_abtnode_webapp||[]).push([[1846],{44784:(e,l,i)=>{i.d(l,{Z:()=>d});var t,s=i(71171),h=i(33518),c=i(44736),a=i(96266);function n(e){let{labelProps:l,className:i,style:t,...s}=e;const h={...l,labelPlacement:(null===l||void 0===l?void 0:l.labelPlacement)||"start"};return(0,a.jsx)(o,{className:i,style:t,children:(0,a.jsx)(c.Z,{labelProps:h,...s})})}n.propTypes=c.Z.propTypes,n.defaultProps=c.Z.defaultProps;const o=h.Z.div(t||(t=(0,s.Z)(["\n max-width: 300px;\n > label {\n display: flex;\n justify-content: space-between;\n width: 100%;\n margin-left: 0;\n margin-right: 0;\n }\n "," {\n max-width: 100%;\n }\n"])),(e=>{let{theme:l}=e;return l.breakpoints.down("sm")})),d=n},39565:(e,l,i)=>{i.d(l,{Z:()=>A});var t=i(5057),s=i(22256),h=i(55898),c=i(11824),a=i(64057),n=i(53066),o=i(28383),d=i(96266),r=function(e){return(0,d.jsxs)("svg",{...e,children:[(0,d.jsxs)("g",{filter:"url(#a)",children:[(0,d.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,d.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M49.192 6.222l-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,d.jsx)("mask",{id:"b",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"4",y:"2",width:"220",height:"250",children:(0,d.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,d.jsxs)("g",{mask:"url(#b)",children:[(0,d.jsx)("path",{opacity:".5",fill:"url(#c)",d:"M4 2h220v128H4z"}),(0,d.jsx)("path",{opacity:".1",fill:"url(#d)",d:"M4 130h220v122H4z"}),(0,d.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,d.jsx)("path",{d:"M117.604 47.263L121.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,d.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,d.jsxs)("g",{clipPath:"url(#g)",fillRule:"evenodd",clipRule:"evenodd",fill:"#fff",children:[(0,d.jsx)("path",{d:"M50.928 216.089l1.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,d.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,d.jsx)("circle",{cx:"191.32",cy:"218",r:"10",fill:"url(#h)"}),(0,d.jsx)("path",{d:"M192.064 213.333l.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,d.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,d.jsxs)("defs",{children:[(0,d.jsxs)("filter",{id:"a",x:"0",y:"0",width:"228",height:"258",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[(0,d.jsx)("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),(0,d.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,d.jsx)("feOffset",{dy:"2"}),(0,d.jsx)("feGaussianBlur",{stdDeviation:"2"}),(0,d.jsx)("feComposite",{in2:"hardAlpha",operator:"out"}),(0,d.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,d.jsx)("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_1410_22507"}),(0,d.jsx)("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_1410_22507",result:"shape"})]}),(0,d.jsx)("pattern",{id:"c",patternContentUnits:"objectBoundingBox",width:"1",height:"1",children:(0,d.jsx)("use",{xlinkHref:"#i",transform:"scale(.00455 .00781)"})}),(0,d.jsxs)("linearGradient",{id:"d",x1:"114",y1:"130",x2:"114",y2:"252",gradientUnits:"userSpaceOnUse",children:[(0,d.jsx)("stop",{stopColor:"#101010"}),(0,d.jsx)("stop",{offset:"1",stopColor:"#272727"})]}),(0,d.jsxs)("linearGradient",{id:"e",x1:"120.989",y1:"45",x2:"120.989",y2:"86.862",gradientUnits:"userSpaceOnUse",children:[(0,d.jsx)("stop",{stopColor:"#fff",stopOpacity:".4"}),(0,d.jsx)("stop",{offset:"1",stopColor:"#fff"})]}),(0,d.jsxs)("linearGradient",{id:"f",x1:"107.801",y1:"45",x2:"107.801",y2:"86.862",gradientUnits:"userSpaceOnUse",children:[(0,d.jsx)("stop",{stopColor:"#fff"}),(0,d.jsx)("stop",{offset:"1",stopColor:"#fff",stopOpacity:".4"})]}),(0,d.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,d.jsx)("stop",{stopColor:"#016BED"}),(0,d.jsx)("stop",{offset:".699",stopColor:"#4498FB"}),(0,d.jsx)("stop",{offset:"1",stopColor:"#9DFFE8"})]}),(0,d.jsx)("clipPath",{id:"g",children:(0,d.jsx)("path",{fill:"#fff",transform:"translate(28 214)",d:"M0 0h40.32v8H0z"})}),(0,d.jsx)("image",{id:"i",width:"220",height:"128",xlinkHref:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAANwAAACABAMAAACSOBo+AAAAG1BMVEUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACUUeIgAAAACXRSTlMSFhkOHAsfCCOMH5MiAAAjjElEQVRo3hTQ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024NmOvVgxASvU9TonFxUqG8cUTy3m5s3i7BqLbFkKcfxLQYhAXfjam0yFFd3PZE9wlXWfHYKlg2cFlTcnwRH6z8DpSfQHidMhElmCMb07li9ceHQHFknk/98f4KJRLpX6xQEXVAnJxlr8Aw6/qb0wu9SNolstScB0izxmMC5DiytBJd9Rcm3RGf42aiddmUTM4d4dgdjiT+vMPX0/RzfZdLoZ4aQqPzhx9plNI3QyvsMZHn2j2wOECoTtkfJt89O+eYUnXB/gFxHxPmOeL9ogAAAABJRU5ErkJggg=="})]})]})};function p(e){let{src:l,alt:i}=e;const[h,p]=(0,t.useState)(!1),[A,g]=(0,t.useState)(!1),f=()=>g(!0),v=()=>g(!1);return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(s.Z,{ready:h,customPlaceholder:(0,d.jsx)("img",{style:{cursor:"pointer"},alt:i,src:l,width:"58px",height:"58px",onError:()=>p(!0),onClick:f}),children:(0,d.jsx)(r,{style:{cursor:"pointer",width:"58px",height:"58px"},onClick:f})}),(0,d.jsx)(c.Z,{open:A,onClose:v,"aria-labelledby":"preview-space-nft-display","aria-describedby":"preview space nft display",fullWidth:!0,maxWidth:"md",children:(0,d.jsxs)(a.Z,{style:{padding:"8px 8px",backgroundColor:"rgba(0,0,0,0.8)"},children:[(0,d.jsx)(n.Z,{color:"inherit",onClick:v,"aria-label":"close",style:{position:"absolute",top:8,right:8,color:"white"},children:(0,d.jsx)(o.Z,{})}),h?(0,d.jsx)(r,{style:{width:"100%",height:"75vh"}}):(0,d.jsx)("img",{src:l,alt:"",style:{width:"100%",height:"75vh",objectFit:"contain"}})]})})]})}r.defaultProps={width:"228",height:"258",viewBox:"0 0 228 258",fill:"none",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},p.propTypes={src:h.string.isRequired,alt:h.string.isRequired};const A=p},56277:(e,l,i)=>{i.d(l,{Z:()=>c});var t=i(38242),s=i(75506),h=i.n(s);const c=function(e){var l,i,s;let{blocklet:c}=e;if(h()(c))return{};const{appDid:a}=c,n=(0,t.getAppName)(c),o=(0,t.getAppDescription)(c),d=null===c||void 0===c||null===(l=c.site)||void 0===l||null===(i=l.domainAliases)||void 0===i||null===(s=i.sort(((e,l)=>e.accessibility.accessible&&l.accessibility.accessible?+e.isProtected-+l.isProtected:+l.accessibility.accessible-+e.accessibility.accessible)))||void 0===s?void 0:s.map((e=>{var l;const i=null!==e&&void 0!==e&&null!==(l=e.domainStatus)&&void 0!==l&&l.isHttps?"https://":"http://",t=null===e||void 0===e?void 0:e.value;return"".concat(i).concat(t)})).filter(Boolean),r=null===d||void 0===d?void 0:d[0];return{appDid:a,appName:n,appDescription:o,appUrl:r,scopes:"list:object read:object write:object",referrer:window.location.href,isReady:Boolean(r)}}}}]);
@@ -1 +1 @@
1
- "use strict";(self.webpackChunk_abtnode_webapp=self.webpackChunk_abtnode_webapp||[]).push([[3732],{53732:(e,o,t)=>{t.r(o);var n=t(48262),i=(t(40125),t(5057),t(53627),Object.defineProperty),r=(e,o)=>i(e,"name",{value:o,configurable:!0});function u(e){return{options:e instanceof Function?{render:e}:!0===e?{}:e}}function m(e){const o=e.state.info.options;return(null===o||void 0===o?void 0:o.hoverTime)||500}function s(e,o){const t=e.state.info,i=o.target||o.srcElement;if(!(i instanceof HTMLElement))return;if("SPAN"!==i.nodeName||void 0!==t.hoverTimeout)return;const u=i.getBoundingClientRect(),s=r((function(){clearTimeout(t.hoverTimeout),t.hoverTimeout=setTimeout(f,c)}),"onMouseMove"),p=r((function(){n.C.off(document,"mousemove",s),n.C.off(e.getWrapperElement(),"mouseout",p),clearTimeout(t.hoverTimeout),t.hoverTimeout=void 0}),"onMouseOut"),f=r((function(){n.C.off(document,"mousemove",s),n.C.off(e.getWrapperElement(),"mouseout",p),t.hoverTimeout=void 0,a(e,u)}),"onHover"),c=m(e);t.hoverTimeout=setTimeout(f,c),n.C.on(document,"mousemove",s),n.C.on(e.getWrapperElement(),"mouseout",p)}function a(e,o){const t=e.coordsChar({left:(o.left+o.right)/2,top:(o.top+o.bottom)/2}),n=e.state.info.options,i=n.render||e.getHelper(t,"info");if(i){const r=e.getTokenAt(t,!0);if(r){const u=i(r,n,e,t);u&&p(e,o,u)}}}function p(e,o,t){const i=document.createElement("div");i.className="CodeMirror-info",i.appendChild(t),document.body.appendChild(i);const u=i.getBoundingClientRect(),m=window.getComputedStyle(i),s=u.right-u.left+parseFloat(m.marginLeft)+parseFloat(m.marginRight),a=u.bottom-u.top+parseFloat(m.marginTop)+parseFloat(m.marginBottom);let p=o.bottom;a>window.innerHeight-o.bottom-15&&o.top>window.innerHeight-o.bottom&&(p=o.top-a),p<0&&(p=o.bottom);let f,c=Math.max(0,window.innerWidth-s-15);c>o.left&&(c=o.left),i.style.opacity="1",i.style.top=p+"px",i.style.left=c+"px";const l=r((function(){clearTimeout(f)}),"onMouseOverPopup"),d=r((function(){clearTimeout(f),f=setTimeout(v,200)}),"onMouseOut"),v=r((function(){n.C.off(i,"mouseover",l),n.C.off(i,"mouseout",d),n.C.off(e.getWrapperElement(),"mouseout",d),i.style.opacity?(i.style.opacity="0",setTimeout((()=>{i.parentNode&&i.parentNode.removeChild(i)}),600)):i.parentNode&&i.parentNode.removeChild(i)}),"hidePopup");n.C.on(i,"mouseover",l),n.C.on(i,"mouseout",d),n.C.on(e.getWrapperElement(),"mouseout",d)}n.C.defineOption("info",!1,((e,o,t)=>{if(t&&t!==n.C.Init){const o=e.state.info.onMouseOver;n.C.off(e.getWrapperElement(),"mouseover",o),clearTimeout(e.state.info.hoverTimeout),delete e.state.info}if(o){const t=e.state.info=u(o);t.onMouseOver=s.bind(null,e),n.C.on(e.getWrapperElement(),"mouseover",t.onMouseOver)}})),r(u,"createState"),r(m,"getHoverTime"),r(s,"onMouseOver"),r(a,"onMouseHover"),r(p,"showPopup")}}]);
1
+ "use strict";(self.webpackChunk_abtnode_webapp=self.webpackChunk_abtnode_webapp||[]).push([[1884],{53732:(e,o,t)=>{t.r(o);var n=t(48262),i=(t(40125),t(5057),t(53627),Object.defineProperty),r=(e,o)=>i(e,"name",{value:o,configurable:!0});function u(e){return{options:e instanceof Function?{render:e}:!0===e?{}:e}}function m(e){const o=e.state.info.options;return(null===o||void 0===o?void 0:o.hoverTime)||500}function s(e,o){const t=e.state.info,i=o.target||o.srcElement;if(!(i instanceof HTMLElement))return;if("SPAN"!==i.nodeName||void 0!==t.hoverTimeout)return;const u=i.getBoundingClientRect(),s=r((function(){clearTimeout(t.hoverTimeout),t.hoverTimeout=setTimeout(f,c)}),"onMouseMove"),p=r((function(){n.C.off(document,"mousemove",s),n.C.off(e.getWrapperElement(),"mouseout",p),clearTimeout(t.hoverTimeout),t.hoverTimeout=void 0}),"onMouseOut"),f=r((function(){n.C.off(document,"mousemove",s),n.C.off(e.getWrapperElement(),"mouseout",p),t.hoverTimeout=void 0,a(e,u)}),"onHover"),c=m(e);t.hoverTimeout=setTimeout(f,c),n.C.on(document,"mousemove",s),n.C.on(e.getWrapperElement(),"mouseout",p)}function a(e,o){const t=e.coordsChar({left:(o.left+o.right)/2,top:(o.top+o.bottom)/2}),n=e.state.info.options,i=n.render||e.getHelper(t,"info");if(i){const r=e.getTokenAt(t,!0);if(r){const u=i(r,n,e,t);u&&p(e,o,u)}}}function p(e,o,t){const i=document.createElement("div");i.className="CodeMirror-info",i.appendChild(t),document.body.appendChild(i);const u=i.getBoundingClientRect(),m=window.getComputedStyle(i),s=u.right-u.left+parseFloat(m.marginLeft)+parseFloat(m.marginRight),a=u.bottom-u.top+parseFloat(m.marginTop)+parseFloat(m.marginBottom);let p=o.bottom;a>window.innerHeight-o.bottom-15&&o.top>window.innerHeight-o.bottom&&(p=o.top-a),p<0&&(p=o.bottom);let f,c=Math.max(0,window.innerWidth-s-15);c>o.left&&(c=o.left),i.style.opacity="1",i.style.top=p+"px",i.style.left=c+"px";const l=r((function(){clearTimeout(f)}),"onMouseOverPopup"),d=r((function(){clearTimeout(f),f=setTimeout(v,200)}),"onMouseOut"),v=r((function(){n.C.off(i,"mouseover",l),n.C.off(i,"mouseout",d),n.C.off(e.getWrapperElement(),"mouseout",d),i.style.opacity?(i.style.opacity="0",setTimeout((()=>{i.parentNode&&i.parentNode.removeChild(i)}),600)):i.parentNode&&i.parentNode.removeChild(i)}),"hidePopup");n.C.on(i,"mouseover",l),n.C.on(i,"mouseout",d),n.C.on(e.getWrapperElement(),"mouseout",d)}n.C.defineOption("info",!1,((e,o,t)=>{if(t&&t!==n.C.Init){const o=e.state.info.onMouseOver;n.C.off(e.getWrapperElement(),"mouseover",o),clearTimeout(e.state.info.hoverTimeout),delete e.state.info}if(o){const t=e.state.info=u(o);t.onMouseOver=s.bind(null,e),n.C.on(e.getWrapperElement(),"mouseover",t.onMouseOver)}})),r(u,"createState"),r(m,"getHoverTime"),r(s,"onMouseOver"),r(a,"onMouseHover"),r(p,"showPopup")}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunk_abtnode_webapp=self.webpackChunk_abtnode_webapp||[]).push([[2201],{98221:(e,r,t)=>{var n=t(71600);r.Z=void 0;var o=n(t(84115)),a=t(96266);r.Z=(0,o.default)((0,a.jsx)("path",{d:"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6z"}),"Add")},83963:(e,r,t)=>{t.d(r,{Z:()=>y});var n=t(31461),o=t(7896),a=t(5057),i=t(9978),s=t(91213),l=t(91149),c=t(84722),u=t(98880),f=t(709),p=t(96266);const d=["className"],m=(0,l.ZP)("div",{name:"MuiListItemIcon",slot:"Root",overridesResolver:(e,r)=>{const{ownerState:t}=e;return[r.root,"flex-start"===t.alignItems&&r.alignItemsFlexStart]}})((e=>{let{theme:r,ownerState:t}=e;return(0,o.Z)({minWidth:56,color:(r.vars||r).palette.action.active,flexShrink:0,display:"inline-flex"},"flex-start"===t.alignItems&&{marginTop:8})})),y=a.forwardRef((function(e,r){const t=(0,c.Z)({props:e,name:"MuiListItemIcon"}),{className:l}=t,y=(0,n.Z)(t,d),h=a.useContext(f.Z),g=(0,o.Z)({},t,{alignItems:h.alignItems}),v=(e=>{const{alignItems:r,classes:t}=e,n={root:["root","flex-start"===r&&"alignItemsFlexStart"]};return(0,s.Z)(n,u.f,t)})(g);return(0,p.jsx)(m,(0,o.Z)({className:(0,i.Z)(v.root,l),ownerState:g,ref:r},y))}))},98880:(e,r,t)=>{t.d(r,{Z:()=>i,f:()=>a});var n=t(31821),o=t(18561);function a(e){return(0,o.ZP)("MuiListItemIcon",e)}const i=(0,n.Z)("MuiListItemIcon",["root","alignItemsFlexStart"])},51405:(e,r,t)=>{var n=t(71600);r.Z=void 0;var o=n(t(7675)),a=t(96266);r.Z=(0,o.default)((0,a.jsx)("path",{d:"m7 10 5 5 5-5z"}),"ArrowDropDown")},59793:(e,r,t)=>{t.d(r,{Z:()=>P});var n=t(7896),o=t(31461),a=t(5057),i=(t(97408),t(9978)),s=t(91213),l=t(80520),c=t(76625),u=t(16282),f=t(82084),p=t(66685),d=t(5909),m=t(96266);const y=(0,d.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 h=t(96517);const g=["slots","slotProps"],v=(0,c.ZP)(h.Z)((e=>{let{theme:r}=e;return(0,n.Z)({display:"flex",marginLeft:"calc(".concat(r.spacing(1)," * 0.5)"),marginRight:"calc(".concat(r.spacing(1)," * 0.5)")},"light"===r.palette.mode?{backgroundColor:r.palette.grey[100],color:r.palette.grey[700]}:{backgroundColor:r.palette.grey[700],color:r.palette.grey[100]},{borderRadius:2,"&:hover, &:focus":(0,n.Z)({},"light"===r.palette.mode?{backgroundColor:r.palette.grey[200]}:{backgroundColor:r.palette.grey[600]}),"&:active":(0,n.Z)({boxShadow:r.shadows[0]},"light"===r.palette.mode?{backgroundColor:(0,p._4)(r.palette.grey[200],.12)}:{backgroundColor:(0,p._4)(r.palette.grey[600],.12)})})})),b=(0,c.ZP)(y)({width:24,height:16});const x=function(e){const{slots:r={},slotProps:t={}}=e,a=(0,o.Z)(e,g),i=e;return(0,m.jsx)("li",{children:(0,m.jsx)(v,(0,n.Z)({focusRipple:!0},a,{ownerState:i,children:(0,m.jsx)(b,(0,n.Z)({as:r.CollapsedIcon,ownerState:i},t.collapsedIcon))}))})};var S=t(31821),Z=t(18561);function w(e){return(0,Z.ZP)("MuiBreadcrumbs",e)}const j=(0,S.Z)("MuiBreadcrumbs",["root","ol","li","separator"]),C=["children","className","component","slots","slotProps","expandText","itemsAfterCollapse","itemsBeforeCollapse","maxItems","separator"],I=(0,c.ZP)(f.Z,{name:"MuiBreadcrumbs",slot:"Root",overridesResolver:(e,r)=>[{["& .".concat(j.li)]:r.li},r.root]})({}),O=(0,c.ZP)("ol",{name:"MuiBreadcrumbs",slot:"Ol",overridesResolver:(e,r)=>r.ol})({display:"flex",flexWrap:"wrap",alignItems:"center",padding:0,margin:0,listStyle:"none"}),k=(0,c.ZP)("li",{name:"MuiBreadcrumbs",slot:"Separator",overridesResolver:(e,r)=>r.separator})({display:"flex",userSelect:"none",marginLeft:8,marginRight:8});function N(e,r,t,n){return e.reduce(((o,a,i)=>(i<e.length-1?o=o.concat(a,(0,m.jsx)(k,{"aria-hidden":!0,className:r,ownerState:n,children:t},"separator-".concat(i))):o.push(a),o)),[])}const P=a.forwardRef((function(e,r){const t=(0,u.Z)({props:e,name:"MuiBreadcrumbs"}),{children:c,className:f,component:p="nav",slots:d={},slotProps:y={},expandText:h="Show path",itemsAfterCollapse:g=1,itemsBeforeCollapse:v=1,maxItems:b=8,separator:S="/"}=t,Z=(0,o.Z)(t,C),[j,k]=a.useState(!1),P=(0,n.Z)({},t,{component:p,expanded:j,expandText:h,itemsAfterCollapse:g,itemsBeforeCollapse:v,maxItems:b,separator:S}),A=(e=>{const{classes:r}=e;return(0,s.Z)({root:["root"],li:["li"],ol:["ol"],separator:["separator"]},w,r)})(P),M=(0,l.y)({elementType:d.CollapsedIcon,externalSlotProps:y.collapsedIcon,ownerState:P}),R=a.useRef(null),B=a.Children.toArray(c).filter((e=>a.isValidElement(e))).map(((e,r)=>(0,m.jsx)("li",{className:A.li,children:e},"child-".concat(r))));return(0,m.jsx)(I,(0,n.Z)({ref:r,component:p,color:"text.secondary",className:(0,i.Z)(A.root,f),ownerState:P},Z,{children:(0,m.jsx)(O,{className:A.ol,ref:R,ownerState:P,children:N(j||b&&B.length<=b?B:(e=>v+g>=e.length?e:[...e.slice(0,v),(0,m.jsx)(x,{"aria-label":h,slots:{CollapsedIcon:d.CollapsedIcon},slotProps:{collapsedIcon:M},onClick:()=>{k(!0);const e=R.current.querySelector("a[href],button,[tabindex]");e&&e.focus()}},"ellipsis"),...e.slice(e.length-g,e.length)])(B),A.separator,S,P)})}))}))},16829:(e,r,t)=>{t.d(r,{Z:()=>C});var n=t(31461),o=t(7896),a=t(5057),i=t(9978),s=t(91213),l=t(17199),c=t(76625),u=t(16282),f=t(74306),p=t(5099),d=t(82084),m=t(31821),y=t(18561);function h(e){return(0,y.ZP)("MuiLink",e)}const g=(0,m.Z)("MuiLink",["root","underlineNone","underlineHover","underlineAlways","button","focusVisible"]);var v=t(466),b=t(66685);const x={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},S=e=>{let{theme:r,ownerState:t}=e;const n=(e=>x[e]||e)(t.color),o=(0,v.DW)(r,"palette.".concat(n),!1)||t.color,a=(0,v.DW)(r,"palette.".concat(n,"Channel"));return"vars"in r&&a?"rgba(".concat(a," / 0.4)"):(0,b.Fq)(o,.4)};var Z=t(96266);const w=["className","color","component","onBlur","onFocus","TypographyClasses","underline","variant","sx"],j=(0,c.ZP)(d.Z,{name:"MuiLink",slot:"Root",overridesResolver:(e,r)=>{const{ownerState:t}=e;return[r.root,r["underline".concat((0,l.Z)(t.underline))],"button"===t.component&&r.button]}})((e=>{let{theme:r,ownerState:t}=e;return(0,o.Z)({},"none"===t.underline&&{textDecoration:"none"},"hover"===t.underline&&{textDecoration:"none","&:hover":{textDecoration:"underline"}},"always"===t.underline&&(0,o.Z)({textDecoration:"underline"},"inherit"!==t.color&&{textDecorationColor:S({theme:r,ownerState:t})},{"&:hover":{textDecorationColor:"inherit"}}),"button"===t.component&&{position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none","&::-moz-focus-inner":{borderStyle:"none"},["&.".concat(g.focusVisible)]:{outline:"auto"}})})),C=a.forwardRef((function(e,r){const t=(0,u.Z)({props:e,name:"MuiLink"}),{className:c,color:d="primary",component:m="a",onBlur:y,onFocus:g,TypographyClasses:v,underline:b="always",variant:S="inherit",sx:C}=t,I=(0,n.Z)(t,w),{isFocusVisibleRef:O,onBlur:k,onFocus:N,ref:P}=(0,f.Z)(),[A,M]=a.useState(!1),R=(0,p.Z)(r,P),B=(0,o.Z)({},t,{color:d,component:m,focusVisible:A,underline:b,variant:S}),J=(e=>{const{classes:r,component:t,focusVisible:n,underline:o}=e,a={root:["root","underline".concat((0,l.Z)(o)),"button"===t&&"button",n&&"focusVisible"]};return(0,s.Z)(a,h,r)})(B);return(0,Z.jsx)(j,(0,o.Z)({color:d,className:(0,i.Z)(J.root,c),classes:v,component:m,onBlur:e=>{k(e),!1===O.current&&M(!1),y&&y(e)},onFocus:e=>{N(e),!0===O.current&&M(!0),g&&g(e)},ref:R,ownerState:B,variant:S,sx:[...Object.keys(x).includes(d)?[]:[{color:d}],...Array.isArray(C)?C:[C]]},I))}))},57201:(e,r,t)=>{var n=t(71600);Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var o=n(t(56930)),a=t(96266);r.default=(0,o.default)((0,a.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")},33938:(e,r,t)=>{var n="undefined"!==typeof JSON?JSON:t(99426),o=Array.isArray||function(e){return"[object Array]"==={}.toString.call(e)},a=Object.keys||function(e){var r=Object.prototype.hasOwnProperty||function(){return!0},t=[];for(var n in e)r.call(e,n)&&t.push(n);return t};e.exports=function(e,r){r||(r={}),"function"===typeof r&&(r={cmp:r});var t=r.space||"";"number"===typeof t&&(t=Array(t+1).join(" "));var i,s="boolean"===typeof r.cycles&&r.cycles,l=r.replacer||function(e,r){return r},c=r.cmp&&(i=r.cmp,function(e){return function(r,t){var n={key:r,value:e[r]},o={key:t,value:e[t]};return i(n,o)}}),u=[];return function e(r,i,f,p){var d=t?"\n"+new Array(p+1).join(t):"",m=t?": ":":";if(f&&f.toJSON&&"function"===typeof f.toJSON&&(f=f.toJSON()),void 0!==(f=l.call(r,i,f))){if("object"!==typeof f||null===f)return n.stringify(f);if(o(f)){for(var y=[],h=0;h<f.length;h++){var g=e(f,h,f[h],p+1)||n.stringify(null);y.push(d+t+g)}return"["+y.join(",")+d+"]"}if(-1!==u.indexOf(f)){if(s)return n.stringify("__cycle__");throw new TypeError("Converting circular structure to JSON")}u.push(f);var v=a(f).sort(c&&c(f));for(y=[],h=0;h<v.length;h++){var b=e(f,i=v[h],f[i],p+1);if(b){var x=n.stringify(i)+m+b;y.push(d+t+x)}}return u.splice(u.indexOf(f),1),"{"+y.join(",")+d+"}"}}({"":e},"",e,0)}},99426:(e,r,t)=>{r.parse=t(1329),r.stringify=t(17326)},1329:e=>{var r,t,n,o={'"':'"',"\\":"\\","/":"/",b:"\b",f:"\f",n:"\n",r:"\r",t:"\t"};function a(e){throw{name:"SyntaxError",message:e,at:r,text:n}}function i(e){return e&&e!==t&&a("Expected '"+e+"' instead of '"+t+"'"),t=n.charAt(r),r+=1,t}function s(){var e,r="";for("-"===t&&(r="-",i("-"));t>="0"&&t<="9";)r+=t,i();if("."===t)for(r+=".";i()&&t>="0"&&t<="9";)r+=t;if("e"===t||"E"===t)for(r+=t,i(),"-"!==t&&"+"!==t||(r+=t,i());t>="0"&&t<="9";)r+=t,i();return e=Number(r),isFinite(e)||a("Bad number"),e}function l(){var e,r,n,s="";if('"'===t)for(;i();){if('"'===t)return i(),s;if("\\"===t)if(i(),"u"===t){for(n=0,r=0;r<4&&(e=parseInt(i(),16),isFinite(e));r+=1)n=16*n+e;s+=String.fromCharCode(n)}else{if("string"!==typeof o[t])break;s+=o[t]}else s+=t}a("Bad string")}function c(){for(;t&&t<=" ";)i()}function u(){switch(c(),t){case"{":return function(){var e,r={};if("{"===t){if(i("{"),c(),"}"===t)return i("}"),r;for(;t;){if(e=l(),c(),i(":"),Object.prototype.hasOwnProperty.call(r,e)&&a('Duplicate key "'+e+'"'),r[e]=u(),c(),"}"===t)return i("}"),r;i(","),c()}}a("Bad object")}();case"[":return function(){var e=[];if("["===t){if(i("["),c(),"]"===t)return i("]"),e;for(;t;){if(e.push(u()),c(),"]"===t)return i("]"),e;i(","),c()}}a("Bad array")}();case'"':return l();case"-":return s();default:return t>="0"&&t<="9"?s():function(){switch(t){case"t":return i("t"),i("r"),i("u"),i("e"),!0;case"f":return i("f"),i("a"),i("l"),i("s"),i("e"),!1;case"n":return i("n"),i("u"),i("l"),i("l"),null;default:a("Unexpected '"+t+"'")}}()}}e.exports=function(e,o){var i;return n=e,r=0,t=" ",i=u(),c(),t&&a("Syntax error"),"function"===typeof o?function e(r,t){var n,a,i=r[t];if(i&&"object"===typeof i)for(n in u)Object.prototype.hasOwnProperty.call(i,n)&&("undefined"===typeof(a=e(i,n))?delete i[n]:i[n]=a);return o.call(r,t,i)}({"":i},""):i}},17326:e=>{var r,t,n,o=/[\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,a={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"};function i(e){return o.lastIndex=0,o.test(e)?'"'+e.replace(o,(function(e){var r=a[e];return"string"===typeof r?r:"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)}))+'"':'"'+e+'"'}function s(e,o){var a,l,c,u,f,p=r,d=o[e];switch(d&&"object"===typeof d&&"function"===typeof d.toJSON&&(d=d.toJSON(e)),"function"===typeof n&&(d=n.call(o,e,d)),typeof d){case"string":return i(d);case"number":return isFinite(d)?String(d):"null";case"boolean":case"null":return String(d);case"object":if(!d)return"null";if(r+=t,f=[],"[object Array]"===Object.prototype.toString.apply(d)){for(u=d.length,a=0;a<u;a+=1)f[a]=s(a,d)||"null";return c=0===f.length?"[]":r?"[\n"+r+f.join(",\n"+r)+"\n"+p+"]":"["+f.join(",")+"]",r=p,c}if(n&&"object"===typeof n)for(u=n.length,a=0;a<u;a+=1)"string"===typeof(l=n[a])&&(c=s(l,d))&&f.push(i(l)+(r?": ":":")+c);else for(l in d)Object.prototype.hasOwnProperty.call(d,l)&&(c=s(l,d))&&f.push(i(l)+(r?": ":":")+c);return c=0===f.length?"{}":r?"{\n"+r+f.join(",\n"+r)+"\n"+p+"}":"{"+f.join(",")+"}",r=p,c}}e.exports=function(e,o,a){var i;if(r="",t="","number"===typeof a)for(i=0;i<a;i+=1)t+=" ";else"string"===typeof a&&(t=a);if(n=o,o&&"function"!==typeof o&&("object"!==typeof o||"number"!==typeof o.length))throw new Error("JSON.stringify");return s("",{"":e})}},67654:(e,r,t)=>{var n=t(5057),o=t(77931);r.Z=function(e,r,t){if(!o.isBrowser)return[r,o.noop,o.noop];if(!e)throw new Error("useLocalStorage key may not be falsy");var a=t?t.raw?function(e){return e}:t.deserializer:JSON.parse,i=n.useRef((function(e){try{var n=t?t.raw?String:t.serializer:JSON.stringify,o=localStorage.getItem(e);return null!==o?a(o):(r&&localStorage.setItem(e,n(r)),r)}catch(s){return r}})),s=n.useState((function(){return i.current(e)})),l=s[0],c=s[1];n.useLayoutEffect((function(){return c(i.current(e))}),[e]);var u=n.useCallback((function(r){try{var n="function"===typeof r?r(l):r;if("undefined"===typeof n)return;var o=void 0;o=t?t.raw?"string"===typeof n?n:JSON.stringify(n):t.serializer?t.serializer(n):JSON.stringify(n):JSON.stringify(n),localStorage.setItem(e,o),c(a(o))}catch(s){}}),[e,c]),f=n.useCallback((function(){try{localStorage.removeItem(e),c(void 0)}catch(s){}}),[e,c]);return[l,u,f]}}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunk_abtnode_webapp=self.webpackChunk_abtnode_webapp||[]).push([[2251],{92251:(e,t,a)=>{a.d(t,{ZP:()=>G});var o=a(31461),n=a(7896),s=a(5057),i=a(9978),r=a(91213),c=a(39584),d=a(66685),l=a(91149),p=a(84722),u=a(41141),m=a(36448),b=a(95449),g=a(12085),v=a(709),y=a(31821),Z=a(18561);function h(e){return(0,Z.ZP)("MuiListItem",e)}const f=(0,y.Z)("MuiListItem",["root","container","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","padding","button","secondaryAction","selected"]);var C=a(23638),x=a(64147),S=a(96266);const I=["className"],P=["alignItems","autoFocus","button","children","className","component","components","componentsProps","ContainerComponent","ContainerProps","dense","disabled","disableGutters","disablePadding","divider","focusVisibleClassName","secondaryAction","selected","slotProps","slots"],A=(0,l.ZP)("div",{name:"MuiListItem",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:a}=e;return[t.root,a.dense&&t.dense,"flex-start"===a.alignItems&&t.alignItemsFlexStart,a.divider&&t.divider,!a.disableGutters&&t.gutters,!a.disablePadding&&t.padding,a.button&&t.button,a.hasSecondaryAction&&t.secondaryAction]}})((e=>{let{theme:t,ownerState:a}=e;return(0,n.Z)({display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",width:"100%",boxSizing:"border-box",textAlign:"left"},!a.disablePadding&&(0,n.Z)({paddingTop:8,paddingBottom:8},a.dense&&{paddingTop:4,paddingBottom:4},!a.disableGutters&&{paddingLeft:16,paddingRight:16},!!a.secondaryAction&&{paddingRight:48}),!!a.secondaryAction&&{["& > .".concat(C.Z.root)]:{paddingRight:48}},{["&.".concat(f.focusVisible)]:{backgroundColor:(t.vars||t).palette.action.focus},["&.".concat(f.selected)]:{backgroundColor:t.vars?"rgba(".concat(t.vars.palette.primary.mainChannel," / ").concat(t.vars.palette.action.selectedOpacity,")"):(0,d.Fq)(t.palette.primary.main,t.palette.action.selectedOpacity),["&.".concat(f.focusVisible)]:{backgroundColor:t.vars?"rgba(".concat(t.vars.palette.primary.mainChannel," / calc(").concat(t.vars.palette.action.selectedOpacity," + ").concat(t.vars.palette.action.focusOpacity,"))"):(0,d.Fq)(t.palette.primary.main,t.palette.action.selectedOpacity+t.palette.action.focusOpacity)}},["&.".concat(f.disabled)]:{opacity:(t.vars||t).palette.action.disabledOpacity}},"flex-start"===a.alignItems&&{alignItems:"flex-start"},a.divider&&{borderBottom:"1px solid ".concat((t.vars||t).palette.divider),backgroundClip:"padding-box"},a.button&&{transition:t.transitions.create("background-color",{duration:t.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(t.vars||t).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},["&.".concat(f.selected,":hover")]:{backgroundColor:t.vars?"rgba(".concat(t.vars.palette.primary.mainChannel," / calc(").concat(t.vars.palette.action.selectedOpacity," + ").concat(t.vars.palette.action.hoverOpacity,"))"):(0,d.Fq)(t.palette.primary.main,t.palette.action.selectedOpacity+t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:t.vars?"rgba(".concat(t.vars.palette.primary.mainChannel," / ").concat(t.vars.palette.action.selectedOpacity,")"):(0,d.Fq)(t.palette.primary.main,t.palette.action.selectedOpacity)}}},a.hasSecondaryAction&&{paddingRight:48})})),w=(0,l.ZP)("li",{name:"MuiListItem",slot:"Container",overridesResolver:(e,t)=>t.container})({position:"relative"}),G=s.forwardRef((function(e,t){const a=(0,p.Z)({props:e,name:"MuiListItem"}),{alignItems:d="center",autoFocus:l=!1,button:y=!1,children:Z,className:C,component:G,components:N={},componentsProps:k={},ContainerComponent:O="li",ContainerProps:{className:R}={},dense:L=!1,disabled:F=!1,disableGutters:M=!1,disablePadding:j=!1,divider:V=!1,focusVisibleClassName:q,secondaryAction:_,selected:B=!1,slotProps:D={},slots:T={}}=a,X=(0,o.Z)(a.ContainerProps,I),z=(0,o.Z)(a,P),Y=s.useContext(v.Z),E=s.useMemo((()=>({dense:L||Y.dense||!1,alignItems:d,disableGutters:M})),[d,Y.dense,L,M]),H=s.useRef(null);(0,b.Z)((()=>{l&&H.current&&H.current.focus()}),[l]);const J=s.Children.toArray(Z),K=J.length&&(0,m.Z)(J[J.length-1],["ListItemSecondaryAction"]),Q=(0,n.Z)({},a,{alignItems:d,autoFocus:l,button:y,dense:E.dense,disabled:F,disableGutters:M,disablePadding:j,divider:V,hasSecondaryAction:K,selected:B}),U=(e=>{const{alignItems:t,button:a,classes:o,dense:n,disabled:s,disableGutters:i,disablePadding:c,divider:d,hasSecondaryAction:l,selected:p}=e,u={root:["root",n&&"dense",!i&&"gutters",!c&&"padding",d&&"divider",s&&"disabled",a&&"button","flex-start"===t&&"alignItemsFlexStart",l&&"secondaryAction",p&&"selected"],container:["container"]};return(0,r.Z)(u,h,o)})(Q),W=(0,g.Z)(H,t),$=T.root||N.Root||A,ee=D.root||k.root||{},te=(0,n.Z)({className:(0,i.Z)(U.root,ee.className,C),disabled:F},z);let ae=G||"li";return y&&(te.component=G||"div",te.focusVisibleClassName=(0,i.Z)(f.focusVisible,q),ae=u.Z),K?(ae=te.component||G?ae:"div","li"===O&&("li"===ae?ae="div":"li"===te.component&&(te.component="div")),(0,S.jsx)(v.Z.Provider,{value:E,children:(0,S.jsxs)(w,(0,n.Z)({as:O,className:(0,i.Z)(U.container,R),ref:W,ownerState:Q},X,{children:[(0,S.jsx)($,(0,n.Z)({},ee,!(0,c.X)($)&&{as:ae,ownerState:(0,n.Z)({},Q,ee.ownerState)},te,{children:J})),J.pop()]}))})):(0,S.jsx)(v.Z.Provider,{value:E,children:(0,S.jsxs)($,(0,n.Z)({},ee,{as:ae,ref:W},!(0,c.X)($)&&{ownerState:(0,n.Z)({},Q,ee.ownerState)},te,{children:[J,_&&(0,S.jsx)(x.Z,{children:_})]}))})}))},64147:(e,t,a)=>{a.d(t,{Z:()=>Z});var o=a(31461),n=a(7896),s=a(5057),i=a(9978),r=a(91213),c=a(91149),d=a(84722),l=a(709),p=a(31821),u=a(18561);function m(e){return(0,u.ZP)("MuiListItemSecondaryAction",e)}(0,p.Z)("MuiListItemSecondaryAction",["root","disableGutters"]);var b=a(96266);const g=["className"],v=(0,c.ZP)("div",{name:"MuiListItemSecondaryAction",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:a}=e;return[t.root,a.disableGutters&&t.disableGutters]}})((e=>{let{ownerState:t}=e;return(0,n.Z)({position:"absolute",right:16,top:"50%",transform:"translateY(-50%)"},t.disableGutters&&{right:0})})),y=s.forwardRef((function(e,t){const a=(0,d.Z)({props:e,name:"MuiListItemSecondaryAction"}),{className:c}=a,p=(0,o.Z)(a,g),u=s.useContext(l.Z),y=(0,n.Z)({},a,{disableGutters:u.disableGutters}),Z=(e=>{const{disableGutters:t,classes:a}=e,o={root:["root",t&&"disableGutters"]};return(0,r.Z)(o,m,a)})(y);return(0,b.jsx)(v,(0,n.Z)({className:(0,i.Z)(Z.root,c),ownerState:y,ref:t},p))}));y.muiName="ListItemSecondaryAction";const Z=y}}]);
@@ -1 +1 @@
1
- (self.webpackChunk_abtnode_webapp=self.webpackChunk_abtnode_webapp||[]).push([[4494],{72365:function(t){var i={default:this,call:function(t,i,s){var e="";"function"==typeof i&&(s=i,i={});var a={data:void 0===i?null:i};if("function"==typeof s){var n="dscb"+window.dscb++;window[n]=s,a._dscbstub=n}return a=JSON.stringify(a),window._dsbridge?e=_dsbridge.call(t,a):(window._dswk||-1!=navigator.userAgent.indexOf("_dsbridge"))&&(e=prompt("_dsbridge="+t,a)),JSON.parse(e||"{}").data},register:function(t,s,e){var a=e?window._dsaf:window._dsf;window._dsInit||(window._dsInit=!0,setTimeout((function(){i.call("_dsb.dsinit")}),0)),"object"==typeof s?a._obs[t]=s:a[t]=s},registerAsyn:function(t,i){this.register(t,i,!0)},hasNativeMethod:function(t,i){return this.call("_dsb.hasNativeMethod",{name:t,type:i||"all"})},disableJavascriptDialogBlock:function(t){this.call("_dsb.disableJavascriptDialogBlock",{disable:!1!==t})}};!function(){if(!window._dsf){var t={_dsf:{_obs:{}},_dsaf:{_obs:{}},dscb:0,dsBridge:i,close:function(){i.call("_dsb.closePage")},_handleMessageFromNative:function(t){var s=JSON.parse(t.data),e={id:t.callbackId,complete:!0},a=this._dsf[t.method],n=this._dsaf[t.method],d=function(t,a){e.data=t.apply(a,s),i.call("_dsb.returnValue",e)},o=function(t,a){s.push((function(t,s){e.data=t,e.complete=!1!==s,i.call("_dsb.returnValue",e)})),t.apply(a,s)};if(a)d(a,this._dsf);else if(n)o(n,this._dsaf);else{var r=t.method.split(".");if(r.length<2)return;var f=r.pop(),l=r.join("."),c=this._dsf._obs,_=c[l]||{},u=_[f];if(u&&"function"==typeof u)return void d(u,_);if((u=(_=(c=this._dsaf._obs)[l]||{})[f])&&"function"==typeof u)return void o(u,_)}}};for(var s in t)window[s]=t[s];i.register("_hasJavascriptMethod",(function(t,i){var s=t.split(".");if(s.length<2)return!(!_dsf[s]&&!_dsaf[s]);t=s.pop();var e=s.join("."),a=_dsf._obs[e]||_dsaf._obs[e];return a&&!!a[t]}))}}(),t.exports=i}}]);
1
+ (self.webpackChunk_abtnode_webapp=self.webpackChunk_abtnode_webapp||[]).push([[2365],{72365:function(t){var i={default:this,call:function(t,i,s){var e="";"function"==typeof i&&(s=i,i={});var a={data:void 0===i?null:i};if("function"==typeof s){var n="dscb"+window.dscb++;window[n]=s,a._dscbstub=n}return a=JSON.stringify(a),window._dsbridge?e=_dsbridge.call(t,a):(window._dswk||-1!=navigator.userAgent.indexOf("_dsbridge"))&&(e=prompt("_dsbridge="+t,a)),JSON.parse(e||"{}").data},register:function(t,s,e){var a=e?window._dsaf:window._dsf;window._dsInit||(window._dsInit=!0,setTimeout((function(){i.call("_dsb.dsinit")}),0)),"object"==typeof s?a._obs[t]=s:a[t]=s},registerAsyn:function(t,i){this.register(t,i,!0)},hasNativeMethod:function(t,i){return this.call("_dsb.hasNativeMethod",{name:t,type:i||"all"})},disableJavascriptDialogBlock:function(t){this.call("_dsb.disableJavascriptDialogBlock",{disable:!1!==t})}};!function(){if(!window._dsf){var t={_dsf:{_obs:{}},_dsaf:{_obs:{}},dscb:0,dsBridge:i,close:function(){i.call("_dsb.closePage")},_handleMessageFromNative:function(t){var s=JSON.parse(t.data),e={id:t.callbackId,complete:!0},a=this._dsf[t.method],n=this._dsaf[t.method],d=function(t,a){e.data=t.apply(a,s),i.call("_dsb.returnValue",e)},o=function(t,a){s.push((function(t,s){e.data=t,e.complete=!1!==s,i.call("_dsb.returnValue",e)})),t.apply(a,s)};if(a)d(a,this._dsf);else if(n)o(n,this._dsaf);else{var r=t.method.split(".");if(r.length<2)return;var f=r.pop(),l=r.join("."),c=this._dsf._obs,_=c[l]||{},u=_[f];if(u&&"function"==typeof u)return void d(u,_);if((u=(_=(c=this._dsaf._obs)[l]||{})[f])&&"function"==typeof u)return void o(u,_)}}};for(var s in t)window[s]=t[s];i.register("_hasJavascriptMethod",(function(t,i){var s=t.split(".");if(s.length<2)return!(!_dsf[s]&&!_dsaf[s]);t=s.pop();var e=s.join("."),a=_dsf._obs[e]||_dsaf._obs[e];return a&&!!a[t]}))}}(),t.exports=i}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunk_abtnode_webapp=self.webpackChunk_abtnode_webapp||[]).push([[2537],{82638:(n,t,e)=>{e.d(t,{Z:()=>u});var o,i=e(71171),d=e(33518),r=e(72739),p=e(36959),l=e(96266);const u=(0,d.Z)((n=>{let{children:t,...e}=n;return(0,l.jsx)(r.Z,{...e,id:"outlined-basic",variant:"outlined",InputProps:{startAdornment:(0,l.jsx)(p.Z,{})},size:"small",children:t})}))(o||(o=(0,i.Z)(["\n .MuiOutlinedInput-root {\n color: #999;\n &.MuiInputBase-adornedStart .MuiSvgIcon-root {\n color: #bfbfbf;\n }\n opacity: 1;\n border-radius: 36px;\n background: #f8f8f8;\n padding-left: 16px;\n input {\n padding-left: 8px;\n font-weight: bold;\n &::placeholder {\n opacity: 1;\n color: #bfbfbf;\n }\n padding-top: 8.5px;\n padding-bottom: 8.5px;\n }\n }\n\n .MuiOutlinedInput-notchedOutline,\n .MuiOutlinedInput-root:hover .MuiOutlinedInput-notchedOutline,\n .Mui-focused .MuiOutlinedInput-notchedOutline {\n border-color: #eee;\n border-width: 1px;\n }\n"])))},18901:(n,t,e)=>{e.d(t,{Z:()=>d});var o,i=e(71171);const d=e(33518).Z.div(o||(o=(0,i.Z)(["\n display: flex;\n justify-content: space-between;\n align-items: center;\n font-size: 14px;\n .left,\n .right {\n }\n .right {\n display: flex;\n align-items: center;\n }\n .tabs {\n .MuiButton-root {\n border: none;\n color: #999;\n &.active {\n color: #222;\n }\n }\n }\n\n @media (max-width: 600px) {\n display: block;\n .right {\n margin-top: 12px;\n }\n }\n"])))}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunk_abtnode_webapp=self.webpackChunk_abtnode_webapp||[]).push([[2611],{844:(e,t,n)=>{n.d(t,{Z:()=>h});var a,i=n(71171),l=n(55898),s=n.n(l),r=n(33518),o=n(15008),d=n(51744),c=n(60967),u=n(87543),p=n(96266);function h(e){let{style:t,title:n,value:a,graph:i,description:l}=e;return(0,p.jsx)(f,{children:(0,p.jsxs)(d.Z,{style:{...t},children:[(0,p.jsx)(c.Z,{sx:{fontSize:14},color:"text.secondary",children:n}),(0,p.jsx)(c.Z,{variant:"h5",component:"div",mt:1,children:a}),i,!!l&&(0,p.jsx)(u.Z,{display:"flex",sx:{fontSize:12,marginTop:3},color:"text.secondary",children:l})]})})}h.propTypes={style:s().object,title:s().node,value:s().node,graph:s().node,description:s().any},h.defaultProps={style:{},title:null,value:null,graph:null,description:null};const f=(0,r.Z)(o.Z)(a||(a=(0,i.Z)(["\n .card-content {\n height: 150px;\n }\n\n .card-sparkline {\n flex: 2;\n display: flex;\n position: relative;\n *[hidden] {\n display: none;\n }\n }\n .sparkline {\n stroke: ",";\n fill: ","1A;\n }\n .tooltip {\n position: absolute;\n background: rgba(0, 0, 0, 0.7);\n color: #fff;\n padding: 2px 5px;\n font-size: 12px;\n white-space: nowrap;\n z-index: 9999;\n }\n .sparkline--cursor {\n stroke: orange;\n }\n\n .sparkline--spot {\n fill: red;\n stroke: red;\n }\n"])),(e=>e.theme.palette.primary.main),(e=>e.theme.palette.primary.main))},52959:(e,t,n)=>{n.d(t,{Z:()=>u});var a=n(5057),i=n(55898),l=n.n(i),s=n(12673),r=n(28563),o=n(26089),d=n(844),c=n(96266);function u(e){let{id:t,title:n,current:i,description:l,data:u,dateFn:p,valueFn:h}=e;const f=(0,a.useRef)(null),m=(0,a.useRef)(null),x=(0,s.Z)({style:{top:0,left:0},hidden:!0,textContent:""}),[Z,g]=(0,a.useState)(null),y=(0,r.Z)(Z),v={onmousemove(e,t){const{date:n,value:a}=t;x.textContent="".concat(p(n),": ").concat(h(a)),x.style.top=-30,x.style.left=80,x.hidden=!1},onmouseout(){x.hidden=!0}};return(0,a.useEffect)((()=>{setTimeout((()=>{g(document.querySelector(".".concat(t))),setTimeout((()=>{f.current&&(0,o.Z)(f.current,u||[],v)}),400)}))}),[u]),(0,c.jsx)(d.Z,{title:n,value:i,graph:(0,c.jsxs)("div",{className:"card-sparkline ".concat(t),style:{marginTop:16},children:[(0,c.jsx)("svg",{ref:f,className:"sparkline",width:(null===y||void 0===y?void 0:y.width)||100,height:30,strokeWidth:"2"}),(0,c.jsx)("span",{className:"tooltip",ref:m,hidden:x.hidden,style:{...x.style},children:x.textContent})]}),description:l})}u.propTypes={id:l().string.isRequired,title:l().string.isRequired,current:l().any.isRequired,description:l().any,data:l().array,dateFn:l().func,valueFn:l().func},u.defaultProps={description:null,data:[],dateFn:e=>e,valueFn:e=>e}},42611:(e,t,n)=>{n.r(t),n.d(t,{default:()=>O,getDefaultRanges:()=>I});var a=n(5057),i=n(1577),l=n.n(i),s=n(6465),r=n.n(s),o=n(6352),d=n.n(o),c=n(90049),u=n.n(c),p=n(74511),h=n(96181),f=n(58717),m=n(69544),x=n(6296),Z=n(60967),g=n(12958),y=n(53066),v=n(50410),D=n(36645),b=n(77946),j=n(94448),k=n(88868),w=n(53919),F=n(68420),R=n(35432),S=n(87364),Y=n(39458),q=n(4903),z=n(44926),P=n(90298),T=n(43713),C=n(59497),M=n(9732),_=n(13379),E=n(14491),N=n(58238),L=n(52959),W=n(96266);const A=r()(0),I=(e,t)=>[{label:"This Week",startDate:(0,S.Z)(e,{locale:t}),endDate:(0,Y.Z)(e,{locale:t})},{label:"Last Week",startDate:(0,S.Z)((0,q.Z)(e,-1),{locale:t}),endDate:(0,Y.Z)((0,q.Z)(e,-1),{locale:t})},{label:"Last 7 Days",startDate:(0,q.Z)(e,-1),endDate:e},{label:"This Month",startDate:(0,z.Z)(e),endDate:(0,P.Z)(e)},{label:"Last Month",startDate:(0,z.Z)((0,T.Z)(e,-1)),endDate:(0,P.Z)((0,T.Z)(e,-1))},{label:"This Year",startDate:(0,C.Z)(e),endDate:(0,M.Z)(e)},{label:"Last Year",startDate:(0,C.Z)((0,_.Z)(e,-1)),endDate:(0,M.Z)((0,_.Z)(e,-1))}];function O(e){let{client:t,did:n}=e;const i=l()().subtract(1,"day").toDate(),{info:s,inService:r}=(0,N.h6)(),{t:o,locale:c}=(0,F.PE)(),[S,Y]=(0,a.useState)(null),[q,z]=(0,a.useState)(!1),[P,T]=(0,a.useState)(i),[C,M]=(0,a.useState)({startDate:l()().subtract(30,"day").toDate(),endDate:i}),_=(0,p.Z)((async()=>(await t.getTrafficInsights({input:{did:n,startDate:l()(C.startDate).format("YYYY-MM-DD"),endDate:l()(C.endDate).format("YYYY-MM-DD")}})).list));(0,a.useEffect)((()=>{_.loading||C.startDate&&C.endDate&&_.retry()}),[C]);const O=e=>{Y(S?null:e.currentTarget)},B=_.value||[],{loading:H,error:V}=_;if(!B.length&&H)return(0,W.jsx)(m.Z,{});if(V)return(0,W.jsx)(f.Z,{severity:"error",children:(0,E.Z)(V)});const K={totalRequests:A,validRequests:A,failedRequests:A,uniqueVisitors:A,uniqueFiles:A,uniqueReferrers:A,uniqueNotFound:A,uniqueStaticFiles:A,logSize:u(),bandwidth:u()},X=Object.keys(K).map((e=>({id:"".concat(e,"_chart"),title:o("analytics.traffic.".concat(e)),current:B.length?K[e](B[0][e]):0,data:B.map((t=>({date:t.date,value:t[e]}))).reverse(),dateFn:A,valueFn:K[e]}))),G=Boolean(S),J=G?"date-range-picker-popover":void 0,Q=r?R.WELLKNOWN_SERVICE_PATH_PREFIX:s.routing.adminPath,U=d()(window.location.origin,Q,"/api/analytics/traffic?date=".concat(l()(P).format("YYYY-MM-DD"),"&did=").concat(n));return(0,W.jsxs)("div",{children:[(0,W.jsxs)(Z.Z,{component:"div",variant:"h5",className:"page-header",color:"textPrimary",style:{fontSize:18,fontWeight:"bold"},mb:2,children:[o("analytics.trend"),(0,W.jsxs)(g.Z,{onClick:O,variant:"outlined",size:"small",color:"secondary",children:[(0,E.pz)(C.startDate,c)," - ",(0,E.pz)(C.endDate,c)]})]}),(0,W.jsx)(v.ZP,{id:J,open:G,anchorEl:S,onClose:()=>Y(null),anchorOrigin:{vertical:"bottom",horizontal:"left"},children:(0,W.jsx)(b.D,{open:!0,toggle:O,maxDate:i,definedRanges:I(P),onChange:e=>{M(e),Y(null)}})}),(0,W.jsx)(x.ZP,{container:!0,spacing:4,children:X.map((e=>(0,W.jsx)(x.ZP,{item:!0,lg:3,md:6,sm:6,xs:12,children:(0,W.jsx)(L.Z,{...e})},e.id)))}),(0,W.jsxs)(Z.Z,{component:"div",variant:"h5",className:"page-header",color:"textPrimary",style:{fontSize:18,fontWeight:"bold"},mt:4,mb:1,children:[o("analytics.detail"),(0,W.jsxs)("span",{children:[q&&(0,W.jsx)(y.Z,{onClick:()=>{window.open(U)},style:{marginRight:32},children:(0,W.jsx)(D.Z,{})}),(0,W.jsx)(w._,{dateAdapter:k.y,children:(0,W.jsx)(j.M,{disableFuture:!0,format:"ll",value:l()(P),onChange:e=>{T(e.toDate()),z(!1)},slotProps:{textField:{size:"small"}}})})]})]}),(0,W.jsx)(h.Z,{url:U,width:"100%",height:"100%",frameBorder:0,onLoad:()=>z(!0),styles:{border:0,minHeight:"400vh"}})]})}}}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_abtnode_webapp=self.webpackChunk_abtnode_webapp||[]).push([[27],{80027:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>Le});var r=t(71171),a=t(5057),o=t(33518),i=t(50844),s=t(95335),l=t(90049),c=t.n(l),m=t(5609),d=t(45603),u=t.n(d),p=t(74511),f=t(43681),h=t.n(f),v=t(8354),x=t.n(v),g=t(16829),b=t(82084),y=t(29585),Z=t(31461),w=t(7896),j=t(9978),k=t(91213),_=t(21371),C=t(66685),P=t(17199),S=t(59487),N=t(76625),D=t(16282),z=t(31821),T=t(18561);function R(e){return(0,T.ZP)("MuiLinearProgress",e)}(0,z.Z)("MuiLinearProgress",["root","colorPrimary","colorSecondary","determinate","indeterminate","buffer","query","dashed","dashedColorPrimary","dashedColorSecondary","bar","barColorPrimary","barColorSecondary","bar1Indeterminate","bar1Determinate","bar1Buffer","bar2Indeterminate","bar2Buffer"]);var M,I,L,B,U,F,q=t(96266);const A=["className","color","value","valueBuffer","variant"];let V,W,E,O,$,H;const G=(0,_.keyframes)(V||(V=M||(M=(0,r.Z)(["\n 0% {\n left: -35%;\n right: 100%;\n }\n\n 60% {\n left: 100%;\n right: -90%;\n }\n\n 100% {\n left: 100%;\n right: -90%;\n }\n"])))),X=(0,_.keyframes)(W||(W=I||(I=(0,r.Z)(["\n 0% {\n left: -200%;\n right: 100%;\n }\n\n 60% {\n left: 107%;\n right: -8%;\n }\n\n 100% {\n left: 107%;\n right: -8%;\n }\n"])))),Y=(0,_.keyframes)(E||(E=L||(L=(0,r.Z)(["\n 0% {\n opacity: 1;\n background-position: 0 -23px;\n }\n\n 60% {\n opacity: 0;\n background-position: 0 -23px;\n }\n\n 100% {\n opacity: 1;\n background-position: -200px -23px;\n }\n"])))),J=(e,n)=>"inherit"===n?"currentColor":e.vars?e.vars.palette.LinearProgress["".concat(n,"Bg")]:"light"===e.palette.mode?(0,C.$n)(e.palette[n].main,.62):(0,C._j)(e.palette[n].main,.5),K=(0,N.ZP)("span",{name:"MuiLinearProgress",slot:"Root",overridesResolver:(e,n)=>{const{ownerState:t}=e;return[n.root,n["color".concat((0,P.Z)(t.color))],n[t.variant]]}})((e=>{let{ownerState:n,theme:t}=e;return(0,w.Z)({position:"relative",overflow:"hidden",display:"block",height:4,zIndex:0,"@media print":{colorAdjust:"exact"},backgroundColor:J(t,n.color)},"inherit"===n.color&&"buffer"!==n.variant&&{backgroundColor:"none","&::before":{content:'""',position:"absolute",left:0,top:0,right:0,bottom:0,backgroundColor:"currentColor",opacity:.3}},"buffer"===n.variant&&{backgroundColor:"transparent"},"query"===n.variant&&{transform:"rotate(180deg)"})})),Q=(0,N.ZP)("span",{name:"MuiLinearProgress",slot:"Dashed",overridesResolver:(e,n)=>{const{ownerState:t}=e;return[n.dashed,n["dashedColor".concat((0,P.Z)(t.color))]]}})((e=>{let{ownerState:n,theme:t}=e;const r=J(t,n.color);return(0,w.Z)({position:"absolute",marginTop:0,height:"100%",width:"100%"},"inherit"===n.color&&{opacity:.3},{backgroundImage:"radial-gradient(".concat(r," 0%, ").concat(r," 16%, transparent 42%)"),backgroundSize:"10px 10px",backgroundPosition:"0 -23px"})}),(0,_.css)(O||(O=B||(B=(0,r.Z)(["\n animation: "," 3s infinite linear;\n "]))),Y)),ee=(0,N.ZP)("span",{name:"MuiLinearProgress",slot:"Bar1",overridesResolver:(e,n)=>{const{ownerState:t}=e;return[n.bar,n["barColor".concat((0,P.Z)(t.color))],("indeterminate"===t.variant||"query"===t.variant)&&n.bar1Indeterminate,"determinate"===t.variant&&n.bar1Determinate,"buffer"===t.variant&&n.bar1Buffer]}})((e=>{let{ownerState:n,theme:t}=e;return(0,w.Z)({width:"100%",position:"absolute",left:0,bottom:0,top:0,transition:"transform 0.2s linear",transformOrigin:"left",backgroundColor:"inherit"===n.color?"currentColor":(t.vars||t).palette[n.color].main},"determinate"===n.variant&&{transition:"transform .".concat(4,"s linear")},"buffer"===n.variant&&{zIndex:1,transition:"transform .".concat(4,"s linear")})}),(e=>{let{ownerState:n}=e;return("indeterminate"===n.variant||"query"===n.variant)&&(0,_.css)($||($=U||(U=(0,r.Z)(["\n width: auto;\n animation: "," 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite;\n "]))),G)})),ne=(0,N.ZP)("span",{name:"MuiLinearProgress",slot:"Bar2",overridesResolver:(e,n)=>{const{ownerState:t}=e;return[n.bar,n["barColor".concat((0,P.Z)(t.color))],("indeterminate"===t.variant||"query"===t.variant)&&n.bar2Indeterminate,"buffer"===t.variant&&n.bar2Buffer]}})((e=>{let{ownerState:n,theme:t}=e;return(0,w.Z)({width:"100%",position:"absolute",left:0,bottom:0,top:0,transition:"transform 0.2s linear",transformOrigin:"left"},"buffer"!==n.variant&&{backgroundColor:"inherit"===n.color?"currentColor":(t.vars||t).palette[n.color].main},"inherit"===n.color&&{opacity:.3},"buffer"===n.variant&&{backgroundColor:J(t,n.color),transition:"transform .".concat(4,"s linear")})}),(e=>{let{ownerState:n}=e;return("indeterminate"===n.variant||"query"===n.variant)&&(0,_.css)(H||(H=F||(F=(0,r.Z)(["\n width: auto;\n animation: "," 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) 1.15s infinite;\n "]))),X)})),te=a.forwardRef((function(e,n){const t=(0,D.Z)({props:e,name:"MuiLinearProgress"}),{className:r,color:a="primary",value:o,valueBuffer:i,variant:s="indeterminate"}=t,l=(0,Z.Z)(t,A),c=(0,w.Z)({},t,{color:a,variant:s}),m=(e=>{const{classes:n,variant:t,color:r}=e,a={root:["root","color".concat((0,P.Z)(r)),t],dashed:["dashed","dashedColor".concat((0,P.Z)(r))],bar1:["bar","barColor".concat((0,P.Z)(r)),("indeterminate"===t||"query"===t)&&"bar1Indeterminate","determinate"===t&&"bar1Determinate","buffer"===t&&"bar1Buffer"],bar2:["bar","buffer"!==t&&"barColor".concat((0,P.Z)(r)),"buffer"===t&&"color".concat((0,P.Z)(r)),("indeterminate"===t||"query"===t)&&"bar2Indeterminate","buffer"===t&&"bar2Buffer"]};return(0,k.Z)(a,R,n)})(c),d=(0,S.Z)(),u={},p={bar1:{},bar2:{}};if("determinate"===s||"buffer"===s)if(void 0!==o){u["aria-valuenow"]=Math.round(o),u["aria-valuemin"]=0,u["aria-valuemax"]=100;let e=o-100;"rtl"===d.direction&&(e=-e),p.bar1.transform="translateX(".concat(e,"%)")}else 0;if("buffer"===s)if(void 0!==i){let e=(i||0)-100;"rtl"===d.direction&&(e=-e),p.bar2.transform="translateX(".concat(e,"%)")}else 0;return(0,q.jsxs)(K,(0,w.Z)({className:(0,j.Z)(m.root,r),ownerState:c,role:"progressbar"},u,{ref:n},l,{children:["buffer"===s?(0,q.jsx)(Q,{className:m.dashed,ownerState:c}):null,(0,q.jsx)(ee,{className:m.bar1,ownerState:c,style:p.bar1}),"determinate"===s?null:(0,q.jsx)(ne,{className:m.bar2,ownerState:c,style:p.bar2})]}))}));var re,ae=t(13798),oe=t(19778),ie=t(64886),se=t(55898),le=t.n(se),ce=t(10767),me=t(47685);function de(e){let{icon:n,value:t,name:r,url:a,animated:o,LinkComponent:i,prefix:s}=e;const l=(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)("div",{className:"metric__image",children:(0,q.jsx)(ce.Z,{name:n,alt:"string"===typeof r?r:"",size:30,prefix:s,color:"#222222"})}),(0,q.jsxs)("div",{children:[(0,q.jsx)("div",{className:"metric__number ".concat(o?"metric__number--animated":""),dangerouslySetInnerHTML:{__html:t}}),(0,q.jsx)("div",{className:"metric__name",children:r})]})]});return(0,q.jsx)(ue,{children:a?(0,q.jsx)(i,{to:a,children:l}):l})}de.propTypes={icon:le().string.isRequired,value:le().oneOfType([le().string,le().number]).isRequired,name:le().node.isRequired,animated:le().bool,url:le().string,LinkComponent:le().any,prefix:le().string},de.defaultProps={animated:!1,url:"",LinkComponent:null,prefix:"/images"};const ue=(0,me.zo)("div")(re||(re=(0,r.Z)(["\n border-left: 1px solid ",";\n padding: 10px 0 10px 16px;\n @media (max-width: ","px) {\n padding: 0 0 0 8px;\n }\n\n display: flex;\n justify-items: center;\n align-items: flex-start;\n\n a {\n display: flex;\n justify-items: center;\n align-items: flex-start;\n }\n\n .metric__image {\n margin-right: 8px;\n }\n\n .metric__number {\n margin-bottom: 8px;\n font-size: ","px;\n font-weight: 600;\n line-height: 36px;\n color: ",";\n\n small {\n font-size: 12px;\n line-height: 12px;\n }\n\n @media (max-width: ","px) {\n font-size: ","px;\n line-height: ","px;\n margin-bottom: 2px;\n }\n }\n\n .metric__number--animated {\n animation-name: blink-opacity;\n animation-duration: 250ms;\n animation-timing-function: linear;\n animation-iteration-count: 1;\n background-color: transparent !important;\n }\n\n .metric__name {\n font-size: 14px;\n text-transform: capitalize;\n line-height: 1.2;\n font-weight: 500;\n color: ",";\n @media (max-width: ","px) {\n font-size: 10px;\n line-height: 1;\n }\n }\n\n @keyframes blink-opacity {\n 0% {\n opacity: 1;\n }\n 50% {\n opacity: 0.3;\n }\n 100% {\n opacity: 1;\n }\n }\n"])),(e=>e.theme.typography.color.main),(e=>e.theme.breakpoints.values.sm),(e=>"small"===e.size?32:36),(e=>e.theme.typography.color.main),(e=>e.theme.breakpoints.values.sm),(e=>"small"===e.size?24:28),(e=>"small"===e.size?24:28),(e=>e.theme.typography.color.main),(e=>e.theme.breakpoints.values.sm));var pe=t(68420),fe=t(17450),he=t(50185),ve=t(75793),xe=t(52926),ge=t(77277),be=t(10155),ye=t(34937);const Ze=(0,a.createContext)({}),{Provider:we,Consumer:je}=Ze;function ke(e){let{children:n}=e;const{info:t}=(0,ve.h6)(),r=(0,be.Z)(),[o,i]=(0,a.useState)(null),[s,l]=(0,a.useState)(!1),[c,m]=(0,a.useState)([]),d=4,u=async function(){let{silent:e=!0,retries:n=d}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e||l(!0);try{i(null);const{users:e}=await r.getUsers({input:{teamDid:t.did,paging:{pageSize:100}}});l(!1),m(e)}catch(a){n>0?setTimeout((()=>u({silent:e,retries:n-1})),1e3):(l(!1),i(a))}};(0,a.useEffect)((()=>{u({silent:!1})}),[]),(0,ye.mU)(ge.TeamEvents.userAdded,(e=>{let{teamDid:n}=e;n===t.did&&u()})),(0,ye.mU)(ge.TeamEvents.userRemoved,(e=>{let{teamDid:n,user:{did:r}}=e;n===t.did&&m((e=>e.filter((e=>e.did!==r))))})),(0,ye.mU)(ge.TeamEvents.userUpdated,(e=>{let{teamDid:n}=e;n===t.did&&u()}));const p={loading:s,error:o,users:c,refresh:u};return(0,q.jsx)(we,{value:{users:p},children:n})}var _e=t(74094);const Ce=1,Pe=60,Se=3600,Ne=86400,De=(e,n)=>{const[t,r]=(0,a.useState)(0),o=e=>e>=Ne?Ne:e>=Se?Se:e>=Pe?Pe:Ce,[i,s]=(0,a.useState)(o(e/1e3));return(0,a.useEffect)((()=>{const n=setInterval((()=>{r(t+i);const n=o(e/1e3+t+i);i!==n&&s(n)}),1e3*i);return()=>clearInterval(n)}),[i,t]),(0,a.useEffect)((()=>{r(0),s(o(e/1e3))}),[e]),n(e+1e3*t)};var ze,Te;const Re=async e=>{const n=await e.getNodeEnv();return Object.assign({},n.info||{})};(0,i.Z)((e=>({root:{height:20},colorPrimary:{backgroundColor:e.palette.grey["light"===e.palette.mode?200:700]},bar:{backgroundColor:"#1a90ff"}})))(te);function Me(){const{info:e,api:n,imgPrefix:t,loading:r}=(0,ve.h6)(),{data:o}=(0,xe.RJ)(),{users:i}=function(){const{users:e}=(0,a.useContext)(Ze);return e}(),l=(0,p.Z)((()=>Re(n))),{t:d,locale:f}=(0,a.useContext)(pe.RD),v=(0,s.Z)(),Z=De(+new Date-e.startAt,(e=>{const n={compact:!0,verbose:!0,locale:(0,_e.FF)(f)};return u()(e,n)}));let w=null;if(r)w=(0,q.jsx)(ae.Z,{});else{const n=[{name:d("dashboard.nodeDid"),value:(0,q.jsx)(fe.Z,{did:e.did})}];e.nodeOwner&&n.push({name:d("dashboard.ownerDid"),value:(0,q.jsx)(fe.Z,{did:e.nodeOwner.did})});let r=[];e.launcher&&(r=[{name:d("common.did"),value:(0,q.jsx)(fe.Z,{did:e.launcher.did})},{name:d("common.type"),value:e.launcher.type},{name:d("launcher.provider"),value:e.launcher.provider},{name:d("launcher.adminUrl"),value:(0,q.jsx)(g.Z,{target:"_blank",href:e.launcher.url,underline:"hover",children:e.launcher.url})}]);const a=(e,n)=>"-"===e?e:n&&"-"!==n?(0,q.jsxs)(b.Z,{component:"ul",children:[(0,q.jsxs)("li",{className:"ip-item",children:[(0,q.jsx)(oe.Z,{children:"IPV4"}),(0,q.jsx)(he.Z,{children:e})]}),(0,q.jsxs)("li",{className:"ip-item",children:[(0,q.jsx)(oe.Z,{children:"IPV6"}),(0,q.jsx)(he.Z,{children:n})]})]}):(0,q.jsxs)(b.Z,{className:"ip-item",children:[(0,q.jsx)(oe.Z,{children:"IPV4"}),(0,q.jsx)(he.Z,{children:e})]}),s=()=>{const e=[{name:"".concat(d("common.internalIp")),value:a(l.value.ip.internalV4,l.value.ip.internalV6)},{name:"".concat(d("common.externalIp")),value:a(l.value.ip.externalV4,l.value.ip.externalV6)}];return l.value.docker?[]:e},u=l.value?[{name:"".concat(d("common.version")),value:e.version},...s(),{name:"".concat(d("common.os")),value:l.value.os},l.value.docker?{name:"".concat(d("common.docker")),value:(0,q.jsx)(oe.Z,{type:"success",children:"Yes"})}:null,l.value.gitpod?{name:"".concat(d("common.gitpod")),value:(0,q.jsx)(oe.Z,{type:"success",children:"Yes"})}:null].filter(Boolean):[];Array.isArray(h()(l,"value.blockletEngines",null))&&l.value.blockletEngines.filter((e=>e.visible&&e.available)).forEach((e=>{u.push({name:e.displayName,value:(0,q.jsx)(oe.Z,{type:"success",children:"".concat(e.version)||"N/A"})})}));const p=i.length,j=i.filter((e=>e.approved)).length;let k=p;j&&(k+="<small><strong>".concat(x()(d("common.approved"))," ").concat(j,"</strong></small>"));let _=0,C=0;o&&(_=o.length,C=o.filter((e=>"running"===e.status)).length);let P=_;C&&(P+="<small>".concat(d("common.running")," ").concat(C,"</small>"));const S=[{name:d("common.blocklets"),value:P,icon:"blocklets"},{name:d("common.members"),value:k,icon:"member"},{name:d("common.uptime"),value:Z,icon:"time"},{name:d("common.created"),value:(0,m.WU)(new Date(e.createdAt).getTime(),(0,_e.FF)(f)),icon:"time"}];let N=[];l.value&&l.value.disk&&(N=[{name:d("common.blockletsStorage"),value:c()(l.value.disk.blocklets||0).toUpperCase(),icon:"storage"},{name:d("common.dataStorage"),value:c()(l.value.disk.data||0).toUpperCase(),icon:"storage"},{name:d("common.logStorage"),value:c()(l.value.disk.log||0).toUpperCase(),icon:"storage"},{name:d("common.cacheStorage"),value:c()(l.value.disk.cache||0).toUpperCase(),icon:"storage"},{name:d("common.coreStorage"),value:c()(l.value.disk.app||0).toUpperCase(),icon:"storage"}]),w=(0,q.jsxs)(q.Fragment,{children:[(0,q.jsxs)("div",{className:"section",children:[(0,q.jsx)(b.Z,{className:"section__header",component:"h2",variant:"h4",color:"textPrimary",children:d("common.overview")}),(0,q.jsx)(y.ZP,{className:"page-metrics",container:!0,spacing:5,children:S.map((e=>(0,q.jsx)(y.ZP,{item:!0,lg:3,md:4,sm:6,xs:12,children:(0,q.jsx)(de,{...e,prefix:t})},e.name)))})]}),(0,q.jsxs)("div",{className:"section",children:[(0,q.jsx)(b.Z,{className:"section__header",component:"h2",variant:"h4",color:"textPrimary",children:d("common.storage")}),(0,q.jsx)(y.ZP,{className:"page-metrics",container:!0,spacing:5,children:N.map((e=>(0,q.jsx)(y.ZP,{item:!0,lg:3,md:4,sm:6,xs:12,children:(0,q.jsx)(de,{...e,prefix:t})},e.name)))})]}),(0,q.jsxs)("div",{className:"section",children:[(0,q.jsx)(b.Z,{className:"section__header",component:"h2",variant:"h4",color:"textPrimary",children:d("common.meta")}),(0,q.jsxs)(y.ZP,{className:"page-metrics",container:!0,spacing:5,children:[(0,q.jsxs)(y.ZP,{item:!0,lg:6,md:12,sm:12,xs:12,children:[(0,q.jsx)(b.Z,{className:"section__header",component:"h3",variant:"h5",color:"textPrimary",children:d("common.dAddress")}),n.map((e=>(0,q.jsx)(ie.Z,{nameWidth:150,name:e.name,children:e.value},e.name))),r.length>0&&(0,q.jsxs)("div",{style:{marginTop:v.spacing(8)},children:[(0,q.jsx)(b.Z,{className:"section__header",component:"h3",variant:"h5",color:"textPrimary",children:d("common.launcher")}),r.map((e=>(0,q.jsx)(ie.Z,{nameWidth:150,name:e.name,children:e.value},e.name)))]})]},"address"),(0,q.jsxs)(y.ZP,{item:!0,lg:6,md:12,sm:12,xs:12,children:[(0,q.jsx)(b.Z,{className:"section__header",component:"h3",variant:"h5",color:"textPrimary",children:d("common.env")}),u.map((e=>(0,q.jsx)(ie.Z,{valueComponent:"div",nameWidth:150,name:e.name,children:e.value},e.name)))]},"environment")]})]})]})}return(0,q.jsx)(Ie,{children:w})}const Ie=o.Z.main(ze||(ze=(0,r.Z)(["\n .page-header {\n display: flex;\n justify-content: space-between;\n align-items: center;\n }\n\n .page-content {\n margin-top: 16px;\n }\n\n .section {\n display: flex;\n flex-direction: column;\n margin-bottom: 64px;\n\n .section__header {\n font-weight: bold;\n margin-bottom: 24px;\n }\n\n .info-row__name {\n text-transform: uppercase;\n font-size: 0.9em;\n }\n\n .info-row__value .ip-item {\n display: flex;\n align-items: center;\n }\n\n .info-row__value .ip-item:not(:first-of-type) {\n margin-top: 5px;\n }\n\n /* \u5c4f\u5bbd\u5c0f\u4e8e 600px \u65f6, container padding \u4e3a 16px, .MuiGrid-spacing-xs-5 \u4f1a\u5728\u6c34\u5e73\u65b9\u5411\u5ef6\u4f38 40px, \u8d85\u51fa\u5bb9\u5668\u5bbd\u5ea6, \u4f1a\u5bfc\u81f4\u6c34\u5e73\u6eda\u52a8\u6761 */\n .MuiGrid-spacing-xs-5 {\n width: calc(100% + 32px);\n margin: -16px;\n }\n }\n\n .section-flex {\n flex-direction: row;\n }\n\n .section-item {\n flex: 1;\n }\n\n .section-item-desc {\n display: flex;\n margin-top: 15px;\n }\n\n .used::before {\n content: ' ';\n border: 0;\n background-color: #1a90ff;\n }\n\n .free::before {\n content: ' ';\n border: 0;\n background-color: #eeeeee;\n }\n\n @media (max-width: ","px) {\n .section-flex {\n flex-direction: column;\n }\n }\n"])),(e=>e.theme.breakpoints.values.md));o.Z.div(Te||(Te=(0,r.Z)(["\n flex: 1;\n display: flex;\n\n &::before {\n content: '';\n display: block;\n width: 12px;\n height: 12px;\n border: 1px solid #999;\n border-radius: 2px;\n margin-top: 3px;\n margin-right: 10px;\n }\n"])));function Le(){return(0,q.jsx)(ke,{children:(0,q.jsx)(Me,{})})}},50185:(e,n,t)=>{"use strict";t.d(n,{Z:()=>c});var r=t(5057),a=t(55898),o=t.n(a),i=t(12937),s=t(68420),l=t(96266);function c(e){let{children:n,...t}=e;const{t:a}=(0,r.useContext)(s.RD);return(0,l.jsx)(i.Z,{tip:a("common.copyTip"),copiedTip:a("common.copiedTip"),...t,children:n})}c.propTypes={children:o().any.isRequired}},16829:(e,n,t)=>{"use strict";t.d(n,{Z:()=>_});var r=t(31461),a=t(7896),o=t(5057),i=t(9978),s=t(91213),l=t(17199),c=t(76625),m=t(16282),d=t(74306),u=t(5099),p=t(82084),f=t(31821),h=t(18561);function v(e){return(0,h.ZP)("MuiLink",e)}const x=(0,f.Z)("MuiLink",["root","underlineNone","underlineHover","underlineAlways","button","focusVisible"]);var g=t(466),b=t(66685);const y={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},Z=e=>{let{theme:n,ownerState:t}=e;const r=(e=>y[e]||e)(t.color),a=(0,g.DW)(n,"palette.".concat(r),!1)||t.color,o=(0,g.DW)(n,"palette.".concat(r,"Channel"));return"vars"in n&&o?"rgba(".concat(o," / 0.4)"):(0,b.Fq)(a,.4)};var w=t(96266);const j=["className","color","component","onBlur","onFocus","TypographyClasses","underline","variant","sx"],k=(0,c.ZP)(p.Z,{name:"MuiLink",slot:"Root",overridesResolver:(e,n)=>{const{ownerState:t}=e;return[n.root,n["underline".concat((0,l.Z)(t.underline))],"button"===t.component&&n.button]}})((e=>{let{theme:n,ownerState:t}=e;return(0,a.Z)({},"none"===t.underline&&{textDecoration:"none"},"hover"===t.underline&&{textDecoration:"none","&:hover":{textDecoration:"underline"}},"always"===t.underline&&(0,a.Z)({textDecoration:"underline"},"inherit"!==t.color&&{textDecorationColor:Z({theme:n,ownerState:t})},{"&:hover":{textDecorationColor:"inherit"}}),"button"===t.component&&{position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none","&::-moz-focus-inner":{borderStyle:"none"},["&.".concat(x.focusVisible)]:{outline:"auto"}})})),_=o.forwardRef((function(e,n){const t=(0,m.Z)({props:e,name:"MuiLink"}),{className:c,color:p="primary",component:f="a",onBlur:h,onFocus:x,TypographyClasses:g,underline:b="always",variant:Z="inherit",sx:_}=t,C=(0,r.Z)(t,j),{isFocusVisibleRef:P,onBlur:S,onFocus:N,ref:D}=(0,d.Z)(),[z,T]=o.useState(!1),R=(0,u.Z)(n,D),M=(0,a.Z)({},t,{color:p,component:f,focusVisible:z,underline:b,variant:Z}),I=(e=>{const{classes:n,component:t,focusVisible:r,underline:a}=e,o={root:["root","underline".concat((0,l.Z)(a)),"button"===t&&"button",r&&"focusVisible"]};return(0,s.Z)(o,v,n)})(M);return(0,w.jsx)(k,(0,a.Z)({color:p,className:(0,i.Z)(I.root,c),classes:g,component:f,onBlur:e=>{S(e),!1===P.current&&T(!1),h&&h(e)},onFocus:e=>{N(e),!0===P.current&&T(!0),x&&x(e)},ref:R,ownerState:M,variant:Z,sx:[...Object.keys(y).includes(p)?[]:[{color:p}],...Array.isArray(_)?_:[_]]},C))}))},64886:(e,n,t)=>{"use strict";t.d(n,{Z:()=>v});var r,a=t(71171),o=t(55898),i=t.n(o),s=t(51540),l=t.n(s),c=t(26538),m=t.n(c),d=t(11750),u=t(47685),p=t(96266);function f(e){let{name:n,nameFormatter:t,layout:r,children:a,valueComponent:o,nameWidth:i,...s}=e;return(0,p.jsxs)(h,{layout:r,width:i,...s,children:[(0,p.jsx)(d.Z,{color:"textSecondary",className:"info-row__name",children:t(n)}),a&&(0,p.jsx)(d.Z,{color:"textPrimary",component:o,className:"info-row__value",children:a})]})}f.propTypes={name:i().any.isRequired,layout:i().oneOf(["horizontal","vertical"]),children:i().any,nameFormatter:i().func,valueComponent:i().string,nameWidth:i().number},f.defaultProps={children:null,nameWidth:90,nameFormatter:e=>{const n=e.split(" ").map((e=>m()(l()(e)))).join(" ");return"string"===typeof e?n:e},valueComponent:"div",layout:"horizontal"};const h=(0,u.zo)("div")(r||(r=(0,a.Z)(["\n display: flex;\n flex-direction: ",";\n justify-content: flex-start;\n align-items: ",";\n margin-bottom: 16px;\n\n .info-row__name {\n width: ","px;\n margin-right: ",";\n margin-bottom: ",";\n text-transform: capitalize;\n }\n\n .info-row__value {\n flex: 1;\n overflow: auto;\n word-wrap: break-word;\n font-weight: 500;\n }\n\n @media (max-width: ","px) {\n flex-direction: column;\n justify-content: flex-start;\n align-items: flex-start;\n .info-row__name {\n font-weight: bold;\n }\n\n .info-row__value {\n width: 100%;\n font-size: 12px;\n margin-top: 8px;\n }\n }\n"])),(e=>"vertical"===e.layout?"column":"row"),(e=>"vertical"===e.layout?"flex-start":"center"),(e=>e.width),(e=>"vertical"===e.layout?"0":"8px"),(e=>"vertical"===e.layout?"8px":"0"),(e=>e.theme.breakpoints.values.md)),v=f},50844:(e,n,t)=>{"use strict";t.d(n,{Z:()=>p});var r=t(7896),a=t(31461),o=t(5057),i=t(56129),s=t.n(i),l=t(92877);var c=t(95335),m=t(96266);const d=["defaultTheme","withTheme","name"],u=["classes"],p=function(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return t=>{const{defaultTheme:i,withTheme:p=!1,name:f}=n,h=(0,a.Z)(n,d);let v=f;const x=(0,l.Z)(e,(0,r.Z)({defaultTheme:i,Component:t,name:f||t.displayName,classNamePrefix:v},h)),g=o.forwardRef((function(e,n){const o=(0,a.Z)(e,u),s=x((0,r.Z)({},t.defaultProps,e));let l,d=o;return("string"===typeof f||p)&&(l=(0,c.Z)()||i,f&&(d=function(e){const{theme:n,name:t,props:a}=e;if(!n||!n.components||!n.components[t]||!n.components[t].defaultProps)return a;const o=(0,r.Z)({},a),i=n.components[t].defaultProps;let s;for(s in i)void 0===o[s]&&(o[s]=i[s]);return o}({theme:l,name:f,props:o})),p&&!d.theme&&(d.theme=l)),(0,m.jsx)(t,(0,r.Z)({ref:n,classes:s},d))}));return s()(g,t),g}}},8354:(e,n,t)=>{var r=t(81106)((function(e,n,t){return e+(t?" ":"")+n.toLowerCase()}));e.exports=r},5609:(e,n,t)=>{"use strict";t.d(n,{WU:()=>c});var r=["second","minute","hour","day","week","month","year"];var a=["\u79d2","\u5206\u949f","\u5c0f\u65f6","\u5929","\u5468","\u4e2a\u6708","\u5e74"];var o={},i=function(e,n){o[e]=n},s=[60,60,24,7,365/7/12,12];function l(e){return e instanceof Date?e:!isNaN(e)||/^\d+$/.test(e)?new Date(parseInt(e)):(e=(e||"").trim().replace(/\.\d+/,"").replace(/-/,"/").replace(/-/,"/").replace(/(\d)T(\d)/,"$1 $2").replace(/Z/," UTC").replace(/([+-]\d\d):?(\d\d)/," $1$2"),new Date(e))}var c=function(e,n,t){var r=function(e,n){return(+(n?l(n):new Date)-+l(e))/1e3}(e,t&&t.relativeDate);return function(e,n){for(var t=e<0?1:0,r=e=Math.abs(e),a=0;e>=s[a]&&a<s.length;a++)e/=s[a];return(e=Math.floor(e))>(0===(a*=2)?9:1)&&(a+=1),n(e,a,r)[t].replace("%s",e.toString())}(r,function(e){return o[e]||o.en_US}(n))};i("en_US",(function(e,n){if(0===n)return["just now","right now"];var t=r[Math.floor(n/2)];return e>1&&(t+="s"),[e+" "+t+" ago","in "+e+" "+t]})),i("zh_CN",(function(e,n){if(0===n)return["\u521a\u521a","\u7247\u523b\u540e"];var t=a[~~(n/2)];return[e+" "+t+"\u524d",e+" "+t+"\u540e"]}))}}]);