@abtnode/webapp 1.16.21-beta-445a8baa → 1.16.21-beta-2e75c75c

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 (75) hide show
  1. package/blocklet.js +1 -1
  2. package/blocklet.yml +1 -1
  3. package/build/asset-manifest.json +40 -39
  4. package/build/index.html +1 -1
  5. package/build/service-worker.js +1 -1
  6. package/build/static/js/1366.f2fe8ce7.chunk.js +2 -0
  7. package/build/static/js/{1667.488a600b.chunk.js → 1667.4403e42c.chunk.js} +1 -1
  8. package/build/static/js/1846.5498f998.chunk.js +1 -0
  9. package/build/static/js/{2334.311ae46d.chunk.js → 2334.2b408137.chunk.js} +1 -1
  10. package/build/static/js/2743.99b9b3be.chunk.js +1 -0
  11. package/build/static/js/{2960.a9d50cef.chunk.js → 2960.e4c10af0.chunk.js} +1 -1
  12. package/build/static/js/3058.cea35b61.chunk.js +1 -0
  13. package/build/static/js/{3389.282a0683.chunk.js → 3389.1c4a79ac.chunk.js} +1 -1
  14. package/build/static/js/3883.062d06a9.chunk.js +1 -0
  15. package/build/static/js/406.37ef18fa.chunk.js +1 -0
  16. package/build/static/js/4382.f8edadf8.chunk.js +2 -0
  17. package/build/static/js/{4382.3efe04e3.chunk.js.LICENSE.txt → 4382.f8edadf8.chunk.js.LICENSE.txt} +0 -7
  18. package/build/static/js/4509.04d35bd4.chunk.js +2 -0
  19. package/build/static/js/{4549.2e181d10.chunk.js → 4549.295531bf.chunk.js} +1 -1
  20. package/build/static/js/{4775.19ec4c25.chunk.js → 4775.124a71e4.chunk.js} +1 -1
  21. package/build/static/js/{4906.aced1b76.chunk.js → 4906.eb0403a8.chunk.js} +1 -1
  22. package/build/static/js/5015.c33215f2.chunk.js +1 -0
  23. package/build/static/js/{5526.1c49cfe0.chunk.js → 5526.7f392e7e.chunk.js} +2 -2
  24. package/build/static/js/{5526.1c49cfe0.chunk.js.LICENSE.txt → 5526.7f392e7e.chunk.js.LICENSE.txt} +1 -1
  25. package/build/static/js/{5672.19e3e3e6.chunk.js → 5672.71c6240f.chunk.js} +1 -1
  26. package/build/static/js/5760.02d5f257.chunk.js +1 -0
  27. package/build/static/js/{1494.35b60e8f.chunk.js → 5887.530ce24e.chunk.js} +2 -2
  28. package/build/static/js/5914.593c14f7.chunk.js +2 -0
  29. package/build/static/js/6016.036a6045.chunk.js +1 -0
  30. package/build/static/js/{6230.3ad32909.chunk.js → 6230.467a9016.chunk.js} +1 -1
  31. package/build/static/js/6511.44e20630.chunk.js +1 -0
  32. package/build/static/js/{6780.0338caf8.chunk.js → 6780.aa9fb3ec.chunk.js} +1 -1
  33. package/build/static/js/{6950.9b84af05.chunk.js → 6950.29776777.chunk.js} +1 -1
  34. package/build/static/js/7150.691b3551.chunk.js +1 -0
  35. package/build/static/js/7534.74be3785.chunk.js +1 -0
  36. package/build/static/js/{7657.ec1da0b4.chunk.js → 7657.60faa231.chunk.js} +2 -2
  37. package/build/static/js/7687.c54b6889.chunk.js +1 -0
  38. package/build/static/js/7875.c99786d4.chunk.js +2 -0
  39. package/build/static/js/{7913.2359b90e.chunk.js → 7913.6ff42e1a.chunk.js} +1 -1
  40. package/build/static/js/8537.687f4a57.chunk.js +1 -0
  41. package/build/static/js/9249.e1b97ff3.chunk.js +1 -0
  42. package/build/static/js/9327.cefafd96.chunk.js +1 -0
  43. package/build/static/js/9552.29d817f2.chunk.js +1 -0
  44. package/build/static/js/main.b030daf3.js +2 -0
  45. package/build/static/js/{main.24534c8b.js.LICENSE.txt → main.b030daf3.js.LICENSE.txt} +1 -1
  46. package/build/static/media/login-bg.9936fc84e60f5cea6739.png +0 -0
  47. package/package.json +1 -1
  48. package/build/static/js/1366.da3d7a8e.chunk.js +0 -2
  49. package/build/static/js/2435.88762f30.chunk.js +0 -1
  50. package/build/static/js/3883.5c4045b6.chunk.js +0 -1
  51. package/build/static/js/3896.de9209b2.chunk.js +0 -1
  52. package/build/static/js/4240.ecc8270b.chunk.js +0 -1
  53. package/build/static/js/4382.3efe04e3.chunk.js +0 -2
  54. package/build/static/js/4509.231da63f.chunk.js +0 -2
  55. package/build/static/js/4930.9bd4e54c.chunk.js +0 -2
  56. package/build/static/js/5396.56766685.chunk.js +0 -1
  57. package/build/static/js/5555.3e38d927.chunk.js +0 -1
  58. package/build/static/js/5760.82f7dc8f.chunk.js +0 -1
  59. package/build/static/js/6511.fbff9582.chunk.js +0 -1
  60. package/build/static/js/7150.ff7c498c.chunk.js +0 -1
  61. package/build/static/js/7534.c27466a0.chunk.js +0 -1
  62. package/build/static/js/7687.1a079d52.chunk.js +0 -1
  63. package/build/static/js/7706.74e51876.chunk.js +0 -2
  64. package/build/static/js/8537.b03e14a8.chunk.js +0 -1
  65. package/build/static/js/8585.b9c88d3c.chunk.js +0 -1
  66. package/build/static/js/9249.c5031d0b.chunk.js +0 -1
  67. package/build/static/js/9327.4b32dd25.chunk.js +0 -1
  68. package/build/static/js/9552.3effa95b.chunk.js +0 -1
  69. package/build/static/js/main.24534c8b.js +0 -2
  70. /package/build/static/js/{1366.da3d7a8e.chunk.js.LICENSE.txt → 1366.f2fe8ce7.chunk.js.LICENSE.txt} +0 -0
  71. /package/build/static/js/{1494.35b60e8f.chunk.js.LICENSE.txt → 4509.04d35bd4.chunk.js.LICENSE.txt} +0 -0
  72. /package/build/static/js/{4509.231da63f.chunk.js.LICENSE.txt → 5887.530ce24e.chunk.js.LICENSE.txt} +0 -0
  73. /package/build/static/js/{7706.74e51876.chunk.js.LICENSE.txt → 5914.593c14f7.chunk.js.LICENSE.txt} +0 -0
  74. /package/build/static/js/{7657.ec1da0b4.chunk.js.LICENSE.txt → 7657.60faa231.chunk.js.LICENSE.txt} +0 -0
  75. /package/build/static/js/{4930.9bd4e54c.chunk.js.LICENSE.txt → 7875.c99786d4.chunk.js.LICENSE.txt} +0 -0
@@ -1 +1 @@
1
- "use strict";(self.webpackChunk_abtnode_webapp=self.webpackChunk_abtnode_webapp||[]).push([[1667],{13455:(e,n,t)=>{t.d(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ATXQ5lCHIiuwbH8dEl2MJYAL2jfdjostUBDAZ2yXXM9FlagKYlBD+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:a,logo:l}=n.meta;let d;return d=l?(0,c.jsx)(o.Z,{src:(0,r.aZ)({did:a,logoPath:l,baseUrl:new URL(t).origin}),fallback:i,width:64,size:"contain",placeholder:"application logo"}):(0,c.jsx)(s.Z,{did:a,size:64}),d}d.propTypes={blocklet:l().object.isRequired,blockletMetaUrl:l().string.isRequired}},13932:(e,n,t)=>{t.d(n,{Z:()=>p});var a,l=t(71171),o=t(68420),s=t(77277),i=t(33518),r=t(39948),c=t(5057),d=t(34937),u=t(96266);const h=(e,n)=>{console.info("getDownloadBundleStep",e);return(e||[]).map((e=>{var t;const a=n("launchBlocklet.waiting.".concat("extracting"===e.status?"extractingComponent":"downloadingComponent"),{name:(null===(t=e.component)||void 0===t?void 0:t.title)||""}),l=e.total&&e.current?": ".concat(Math.floor(e.current/e.total*100)," %"):"";let o=e.name?": ".concat(e.name):"";return l||(o+="..."),"".concat(a).concat(l).concat(o)})).join("\n")};function p(e){let{appDid:n,visible:t}=e;const{t:a}=(0,o.PE)(),l=function(e){let{appDid:n}=e;const[t,a]=(0,c.useState)([]),l=(0,d.ZP)();return(0,c.useEffect)((()=>(l.on(s.BlockletEvents.downloadBundleProgress,(e=>{n&&n===(null===e||void 0===e?void 0:e.appDid)&&a((n=>{const t=[...n],a=t.findIndex((n=>{var t,a;return(null===(t=n.component)||void 0===t?void 0:t.did)===(null===(a=e.component)||void 0===a?void 0:a.did)}));return"completed"===e.status?-1!==a&&t.splice(a,1):-1!==a?t[a]=e:t.push(e),[...t]}))})),()=>{l.off(s.BlockletEvents.downloadBundleProgress)})),[n,l]),t}({appDid:n});return(0,u.jsx)(m,{style:{display:t?"block":"none"},children:h(l,a)})}p.defaultProps={appDid:"",visible:!0};const m=(0,i.Z)(r.Z)(a||(a=(0,l.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 a,l=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(a||(a=(0,l.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 a=t(5057),l=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(l.BlockletStatus),h=Object.values(l.BlockletStatus),p=Object.values(l.BlockletEvents).filter((e=>![l.BlockletEvents.purchaseChange,l.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)(),l=(0,a.useRef)(null),s=()=>{e&&!l.current&&(l.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:()=>{l.current&&clearInterval(l.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,a.useEffect)((()=>{let n=null;return e&&(d("schedule polling blocklet state"),n=setTimeout((()=>{s()}),g)),()=>{n&&clearInterval(n)}}),[e]),(0,a.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 a=u[h.indexOf(t.status)];d("blocklet event",{blockletEventName:n,status:a}),a&&(e.status=a)}x(e)}};for(const o of p)(0,a.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 a,l,o=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),E=t(38242),C=t(55309),Z=t(8790),B=t(77609),L=t(23484),N=t(96266);const M=u.Z.a(a||(a=(0,o.Z)(["\n display: block;\n height: 36px;\n color: ",";\n"])),(e=>e.theme.palette.primary.main)),P=(0,u.Z)(Z.Z)(l||(l=(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)),D=function(){const{t:e}=(0,h.PE)(),{info:n}=(0,A.h6)(),t=(0,L.Z)(),a=decodeURIComponent(t.get("accessUrl")||""),{meta:l}=(0,B.H0)();return(0,N.jsx)(P,{children:(0,N.jsx)("div",{className:"body",children:(0,N.jsx)(C.Z,{variant:"success",title:(0,E.getDisplayName)({meta:l},!0),subTitle:e("launchBlocklet.installSuccess",{serverName:n.name}),footer:(0,N.jsx)(M,{href:a,rel:"noreferrer","data-cy":"open-blocklet",children:e("common.open")})})})})};var I=t(39463),R=t(4651),Q=t(86229),T=t(14491),O=t(60344),S=t(17450),z=t(49983),U=t(35266),J=t(77277),F=t(2660),H=t(77429),X=t(48086),K=t(38898),V=t(75506),G=t.n(V),Y=t(50482),W=t.n(Y),_=t(5057),q=t(15849),$=t(67654),ee=t(31853),ne=t(11397),te=t.n(ne),ae=t(52581),le=t(11476),oe=t(25339),se=t(74094),ie=t(13455),re=t(28726);function ce(e){let{children:n,...t}=e;return(0,N.jsx)(re.Z,{variant:"contained",color:"primary",...t,children:n})}const de=(0,_.forwardRef)(((e,n)=>(0,N.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 Ee(){const e=(0,L.Z)(),{t:n,locale:t}=(0,h.PE)(),{api:a,info:l}=(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:C,isInstalled:Z}=(0,B.H0)(),M=u?(0,E.getDisplayName)({meta:u},!0):null,P=e.get("launchType"),D=e.get("chainHost"),V=e.get("nftId"),Y=(0,_.useRef)(null),{decrypt:ne,encryptKey:te}=(0,z.R)(),[re]=(0,$.Z)("skip-blocklet-setup",!1),[ce,ue]=(0,ee.Z)({launching:!1,visiting:!1,statusChanged:!1,isConnectOpen:!1,nextAccessUrl:"",loaded:!1,installError:null,progressIndex:0,connectData:{action:"",baseUrl:"",checkFn:()=>{},extraParams:{}}}),he=(0,fe.Iq)({user:o.user,launchType:P,nftId:V}),pe=(0,I.getServerAuthMethod)(l,P,j,he),me=(0,le.Z)(he?m:""),{status:ye,eventName:Ee}=me,Ne=e.get("from");(0,_.useEffect)((()=>{d||(Z||C||Me(),ue({loaded:!0}))}),[d]);const Me=async()=>{const e=o.user?"".concat(o.user.fullName,"'s ").concat(M):M;if(ue({installError:null}),null!==o&&void 0!==o&&o.user&&!v&&"serverless"!==P)try{await(async()=>{const{isNew:e,decoded:n}=(0,se.bQ)(f,l.blockletRegistryList);e&&await a.addBlockletStore({input:{teamDid:l.did,url:n}})})()}catch(h){console.error("addNewRegistryToRegistryList error:",h)}if(p){var n,t,s;const a="launch-free-blocklet-by-".concat(pe);ue({isConnectOpen:!0,connectData:{action:a,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,R.iK)(u),title:e,blockletMetaUrl:x,launchType:P,nftId:V,chainHost:decodeURIComponent(D),launcherUrl:k,launcherSessionId:j}}})}else{var i,c,d;const n="launch-paid-blocklet-by-".concat(pe),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,R.iK)(u)),t.searchParams.set("_ek_",te),t.searchParams.set("title",e),t.searchParams.set("autoConnect",!1),t.searchParams.set("blockletMetaUrl",x),P&&t.searchParams.set("launchType",P),V&&t.searchParams.set("nftId",V),k&&t.searchParams.set("launcherUrl",k),j&&t.searchParams.set("launcherSessionId",j);const{data:a}=await O.hi.get(t.href);ue({isConnectOpen:!0,connectData:{action:"verify-purchase-blocklet",baseUrl:new URL(x).origin,checkFn:O.od.create({baseURL:new URL(x).origin}).get,extraParams:{serverDid:l.did,blockletDid:null===u||void 0===u?void 0:u.did,nw:a.url}}})}},Pe=async n=>{if(ve("visitBlocklet",{status:ye,state:ce,appDid:m}),ce.visiting)return;ue({visiting:!0});const t=(0,T.A6)({blocklet:n}),a=await(0,se.D)(t);if(G()(a)&&"serverless"!==P||re)return ue({visiting:!1}),void setTimeout((()=>{(n=>{const t="/".concat(l.routing.adminPath,"/blocklets/").concat(n.meta.did,"/configuration").replace(/\/+/g,"/");let a="/launch-blocklet/complete?status=installed&name=".concat(encodeURIComponent(M),"&accessUrl=").concat(encodeURIComponent(t),"&blocklet_meta_url=").concat(x);const o=e.get("fromLauncher");o&&(a+="&fromLauncher=".concat(o)),P&&(a+="&launchType=".concat(P)),D&&(a+="&chainHost=".concat(D)),c(a)})(n)}),1e3);if(G()(a))return void ue({visiting:!1});if(!1===be(ye,ce))try{await i.post("/api/launch/".concat(g))}catch(d){ve("end launch failed",{error:(0,se.Z)(d)})}const o=new URL(a);o.searchParams.set("serverUrl",(0,R.RU)(l)),"running"!==n.status&&o.searchParams.set("__start__","1");const s=e.get("fromLauncher");s&&o.searchParams.set("fromLauncher",s),P&&o.searchParams.set("launchType",P),V&&o.searchParams.set("nftId",V),D&&o.searchParams.set("chainHost",D);const r=Ae();r&&o.searchParams.set("setupToken",r),ue({nextAccessUrl:o.href,visiting:!1}),setTimeout((()=>{we(),window.location.href=o.href}),1e3)},De=[n("launchBlocklet.waiting.verifying"),n("launchBlocklet.waiting.downloading"),n("launchBlocklet.waiting.extracting"),n("upgrading"===ye?"common.upgrading":"launchBlocklet.waiting.installing"),n("launchBlocklet.waiting.done")],Ie=()=>{ve("handleInstalledProgress",{status:ye,state:ce}),ye&&(ue({progressIndex:4}),Y.current&&(clearTimeout(Y.current),Y.current=null),Y.current=setTimeout((()=>{a.getBlocklet({input:{did:m,attachRuntimeInfo:!0}}).then((e=>{e.blocklet&&Pe(e.blocklet)}))}),500))};if((0,_.useEffect)((()=>{C&&ue({launching:!0}),Z&&Ie()}),[Z,C]),(0,_.useEffect)((()=>{if("serverless"!==P||Ee!==J.BlockletEvents.nftConsumed)switch(ye){case"waiting":ue({progressIndex:1,statusChanged:!0});break;case"downloading":ue({progressIndex:2,statusChanged:!0});break;case"installing":case"upgrading":ue({progressIndex:3,statusChanged:!0});break;case"installed":if("serverless"===P&&!(0,fe.MZ)(me))break;Ie();break;case"starting":case"running":case"stopped":Ie();break;case"corrupted":case"error":{const n={message:me.error.message,name:me.eventName};var e;if([J.BlockletEvents.downloadFailed,J.BlockletEvents.installFailed].includes(me.eventName)?n.action="retry":"error"!==ye&&"corrupted"!==ye||(n.action="view"),!W()(n,ce.installError))null!==me&&void 0!==me&&null!==(e=me.error)&&void 0!==e&&e.message&&Q.Z.error((0,se.Z)(me.error))}}else Ie()}),[ye,Ee,me]),ve("render",{status:ye,eventName:Ee,launchType:P,runtimeBlockletState:me,state:ce}),d||o.user&&null===ye||G()(u))return(0,N.jsx)(w.Z,{relative:"parent",children:(0,N.jsx)(y.Z,{})});if(ce.installError){const e={view:!v&&(0,N.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,N.jsxs)(Be,{children:[Ne&&(0,N.jsx)(de,{variant:"text",className:"bottom-button","data-cy":"go-back",disabled:ce.isConnectOpen,onClick:()=>{window.location.href=Ne},children:n("common.back")}),(0,N.jsxs)(de,{className:"bottom-button","data-cy":"retry-install",disabled:ce.isConnectOpen,onClick:Me,children:[ce.isConnectOpen&&(0,N.jsx)(y.Z,{size:16}),n("common.retry")]})]})},t=ce.installError.name?ce.installError.name.replace("blocklet.",""):"installFailed";return(0,N.jsx)(Le,{variant:"error",title:M,subTitle:(0,N.jsxs)(Ze,{children:[(0,N.jsx)("div",{children:n("launchBlocklet.error.".concat(t))}),ce.installError.message&&(0,N.jsx)("div",{className:"error-desc",children:n("common.errorMessage")+ce.installError.message})]}),footer:e[ce.installError.action]})}if(be(ye,ce))return ve("alreadyExists",{status:ye,state:ce,runtimeBlockletState:me}),(0,N.jsx)(Le,{variant:"info",title:n("common.reminder"),subTitle:n("launchBlocklet.alreadyExists",{name:(0,E.getDisplayName)({meta:u},!0)}),footer:(0,N.jsxs)("div",{children:[!ce.nextAccessUrl&&(0,N.jsx)(y.Z,{size:16}),ce.nextAccessUrl&&(0,N.jsx)(K.Z,{href:ce.nextAccessUrl,"data-cy":"open-blocklet",children:n("launchBlocklet.redirect")})]})});const Re=!ce.launching&&!ye;return(0,N.jsxs)(Ce,{children:[(0,N.jsx)("div",{className:"header",children:(0,N.jsx)(F.Z,{title:n(Re?"common.install":"common.installing"),subTitle:Re?n("launchBlocklet.subTitle",{appName:M,serverName:l.name}):""})}),(0,N.jsxs)("div",{className:"body",children:[Re&&(0,N.jsxs)(N.Fragment,{children:[(0,N.jsxs)("div",{className:"illustrations",children:[(0,N.jsx)("div",{className:"ills-block ills-block-left",children:(0,N.jsxs)("div",{className:"ills-block-inner",children:[(0,N.jsx)(ie.Z,{className:"i-icon",blocklet:{meta:u},blockletMetaUrl:x}),(0,N.jsx)("div",{className:"i-name",children:M})]})}),(0,N.jsx)(X.Z,{className:"arrow-icon"}),(0,N.jsx)("div",{className:"ills-block ills-block-right",children:(0,N.jsxs)("div",{className:"ills-block-inner",children:[(0,N.jsx)("img",{width:"64",height:"64",src:ae.Z,alt:""}),(0,N.jsx)("div",{className:"i-name",children:l.name}),(0,N.jsx)(S.Z,{size:12,responsive:!1,compact:!0,did:l.did})]})})]}),ce.loaded&&!Z&&!ce.launching&&(0,N.jsxs)(de,{className:"bottom-button","data-cy":"start-launch",disabled:ce.isConnectOpen,onClick:Me,children:[ce.isConnectOpen&&(0,N.jsx)(y.Z,{size:16}),n("launchBlocklet.confirmInstall")]})]}),ce.launching&&(0,N.jsxs)(xe.Z,{children:[(0,N.jsx)(U.Z,{increaseSpeed:.3,messageLoop:!1,message:(0,N.jsx)(H.Z,{steps:De,stepIndex:ce.progressIndex,autoGrowth:4===ce.progressIndex?1e3:4e3})}),[1,2].includes(ce.progressIndex)&&(0,N.jsx)(ge.Z,{appDid:m})]})]}),ce.isConnectOpen&&(0,N.jsx)(ge.Z,{appDid:m,visible:!1}),(0,N.jsx)(z.Z,{open:ce.isConnectOpen,popup:!0,saveConnect:!1,className:"connect",baseUrl:ce.connectData.baseUrl,action:ce.connectData.action,checkFn:ce.connectData.checkFn,extraParams:ce.connectData.extraParams,checkTimeout:6e5,webWalletUrl:(0,se.yP)(l),onSuccess:async e=>{Q.Z.success(n("launchBlocklet.dialog.success"));const t=Array.isArray(e)?e[e.length-1]:e;if(t.sessionToken&&((0,se.ZB)(ne(t.sessionToken)),await o.refresh()),t.setupToken&&je(t.setupToken),ue({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:()=>ue({isConnectOpen:!1}),locale:t,messages:{title:"".concat(n("launchBlocklet.dialog.title")),scan:ke(p,pe,n),confirm:n("launchBlocklet.dialog.confirm"),success:n("launchBlocklet.dialog.success")}})]})}const Ce=(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)(C.Z)(me||(me=(0,o.Z)(["\n .result-footer {\n height: auto;\n }\n"])));var Ne,Me,Pe=t(31440),De=t(35432),Ie=t(32828);function Re(e){var n;let{onClickNext:t,handleDescEle:a,showPageHeader:l}=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=(0,_.useMemo)((()=>{if(!j)return"/blocklets/".concat(k,"/overview");if(!i)return"";const e=new URL(i);return"".concat(e.origin).concat(De.WELLKNOWN_SERVICE_PATH_PREFIX,"/admin")}),[i,j,k]),L=()=>{o("/launch-blocklet/install".concat(window.location.search))},M=t||L;if((0,_.useEffect)((()=>{g||(b?L():(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){Q.Z.error(e.message)}finally{d(!1)}})())}),[x,j,v,b]),v){const e=x?"alreadyRunning":"alreadyInstalled";return(0,N.jsx)(C.Z,{variant:"info",title:u("common.reminder"),subTitle:u("launchBlocklet.".concat(e),{name:(0,E.getDisplayName)({meta:f},!0)}),footer:(0,N.jsxs)(Te,{children:[(0,N.jsx)(de,{loading:!Z,"data-cy":"view-blocklet",component:j?void 0:q.Link,to:Z,href:Z,variant:x?"outlined":"contained",color:"primary",children:u("launchBlocklet.viewApplication")}),x&&(0,N.jsx)(de,{loading:c,className:"last-button",disabled:!i,href:i,"data-cy":"open-blocklet",children:u("common.open")})]})})}return p?(0,Ie.default)(f)||null!==f&&void 0!==f&&null!==(n=f.components)&&void 0!==n&&n.length?(0,N.jsxs)(Qe,{children:[l&&(0,N.jsx)(F.Z,{title:u("launchBlocklet.introduction"),subTitle:u("launchBlocklet.welcome")}),(0,N.jsx)(Pe.Z,{meta:f,onClickNext:M,handleDescEle:a})]}):(0,N.jsx)(Qe,{className:"center",children:(0,N.jsx)(C.Z,{variant:"error",subTitle:u("launchBlocklet.error.resourceBlocklet")})}):(0,N.jsx)(w.Z,{relative:"parent",children:(0,N.jsx)(y.Z,{})})}Re.defaultProps={onClickNext:null,handleDescEle:"",showPageHeader:!0};const Qe=u.Z.div(Ne||(Ne=(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(Me||(Me=(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 Oe,Se,ze;function Ue(){const e=(0,d.Z)((e=>e.breakpoints.down("md"))),{t:n,locale:t}=(0,h.PE)(),{info:a}=(0,A.h6)(),l=(0,se.yP)(a),{serverUrl:o,fromLauncher:i,meta:u,isFree:E,loading:C,error:Z,storeUrl:L}=(0,B.H0)(),M=r()((0,se.Y5)(),"/launch-blocklet"),P=[{key:"install",name:n("launchBlocklet.steps.installApp"),path:r()(M,"install")},{key:"setup",name:n("setup.steps.launchApp")}];let I=[{key:"agreement",name:n("launchBlocklet.introduction"),path:r()(M,"agreement")},...P];const R=()=>{o&&window.open(o)};let Q=(0,N.jsx)(He,{className:"".concat(o?"logo-can-click":""),children:(0,N.jsx)(k.Z,{onClick:R,logo:e?(0,N.jsx)(x.Z,{width:"32",height:"32"}):(0,N.jsx)(v.Z,{width:"128",height:"48"})})});i&&(I=[{key:"purchase-space",name:n("launchBlocklet.steps.purchaseSpace")},{key:"prepare-space",name:n("launchBlocklet.steps.prepareSpace")},...P],Q=(0,N.jsx)(He,{className:"".concat(o?"logo-can-click":""),children:(0,N.jsx)(k.Z,{logo:e?(0,N.jsx)(x.Z,{onClick:R,width:"32",height:"32"}):(0,N.jsx)(v.Z,{onClick:R,width:"128",height:"48"}),previousData:{logo:e?(0,N.jsx)(f.Z,{width:"32",height:"32"}):(0,N.jsx)(b.Z,{width:"145",height:"48"})}})}));const T={meta:u,isFree:E};return(0,N.jsx)(m.W,{steps:I,children:(0,N.jsx)(p.Z,{locale:t,loading:C,blockletMeta:{...u,isFree:E},useOfSkeleton:!1,navLogo:Q,headerEndAddons:(0,N.jsx)(g.Z,{webWalletUrl:l,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,N.jsxs)(Fe,{children:[(0,N.jsx)(c.Global,{styles:Je}),C&&(0,N.jsx)(w.Z,{relative:"parent",children:(0,N.jsx)(y.Z,{})}),!C&&Z&&(0,N.jsx)(w.Z,{relative:"parent",children:(0,N.jsx)(j.Z,{style:{wordBreak:"break-all"},variant:"icon",type:"error",children:Z})}),!C&&!Z&&(0,N.jsxs)(s.Routes,{children:[(0,N.jsx)(s.Route,{path:"agreement",element:(0,N.jsx)(Re,{})}),(0,N.jsx)(s.Route,{path:"install",element:(0,N.jsx)(Ee,{})}),(0,N.jsx)(s.Route,{path:"complete",element:(0,N.jsx)(D,{blocklet:T})}),(0,N.jsx)(s.Route,{path:"*",element:(0,N.jsx)(s.Navigate,{to:"agreement".concat(window.location.search),replace:!0})})]})]})})})}const Je=(0,c.css)(Oe||(Oe=(0,o.Z)(["\n html,\n body,\n #root,\n #root > .wrapper {\n height: 100%;\n }\n"]))),Fe=u.Z.div(Se||(Se=(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"]))),He=u.Z.div(ze||(ze=(0,o.Z)(["\n margin-top: -1px;\n &.logo-can-click {\n cursor: pointer;\n }\n"])))},31440:(e,n,t)=>{t.d(n,{Z:()=>g});var a,l=t(71171),o=t(55898),s=t.n(o),i=t(85493),r=t(33518),c=t(68420),d=t(40265),u=t(44566),h=t(35432),p=t(96266);function m(e){let{...n}=e;return(0,p.jsxs)("div",{...n,style:{width:"100%"},children:[(0,p.jsx)("h3",{children:"End User License Agreement for Application"}),(0,p.jsxs)("p",{children:["Blocklet Server License Agreement ",h.COPYRIGHT_OWNER," version 2020-08-28"]}),(0,p.jsx)("p",{children:"BLOCKLET SERVER LICENSE AGREEMENT"}),(0,p.jsx)("p",{children:"\u6682\u65e0"})]})}function g(e){let{meta:n,onClickNext:t,handleDescEle:a}=e;const l=(0,i.useNavigate)(),{t:o,locale:s}=(0,c.PE)(),r=t||(()=>{l("/launch-blocklet/install".concat(window.location.search))});return(0,p.jsxs)(f,{children:[(0,p.jsx)("div",{className:"app-content",children:(0,p.jsx)("div",{className:"agreement",children:(0,p.jsx)("div",{className:"agreement-content",children:(0,p.jsx)(u.Z,{blockletMeta:{data:n},locale:s,handleDescEle:a})})})}),(0,p.jsx)("div",{className:"button-container","data-cy":"agree-all",children:(0,p.jsx)(d.Z,{onContinue:r,description:(0,p.jsx)(m,{}),texts:{listenName:o("launchBlocklet.license"),buttonNext:o("launchBlocklet.next")}})})]})}g.propTypes={meta:s().object.isRequired,onClickNext:s().func,handleDescEle:s().node},g.defaultProps={onClickNext:null,handleDescEle:""};const f=r.Z.div(a||(a=(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 .button-container {\n padding-top: 24px;\n padding-bottom: 34px;\n "," {\n padding-right: 24px;\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")))},8790:(e,n,t)=>{t.d(n,{Z:()=>c});var a,l=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(a||(a=(0,l.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 a,l,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:a,previousData:l,...o}=e,s=(0,c.jsx)(u,{logo:n}),i=t,r=a;return l.logo&&(s=(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(u,{logo:n,className:"left-fade-in-ele"}),(0,c.jsx)(u,{logo:l.logo,className:"postion-abs left-fade-out-ele"})]})),l.name&&l.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:l.name})]})),l.subname&&l.subname!==a&&(r=(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)("span",{className:"right-fade-in-ele",style:{display:"inline-block"},children:a}),(0,c.jsx)("span",{className:"postion-abs right-fade-out-ele",children:l.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||a?"":"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(a||(a=(0,o.Z)(["\n display: block;\n > * {\n display: block;\n }\n"]))),p=r.Z.div(l||(l=(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:()=>l.a});var a=t(10458),l=t.n(a);l().defaults.timeout=1e4;const o=l().create()},28864:(e,n,t)=>{n.Z=void 0;(a=t(5057))&&a.__esModule;var a,l=t(96266);function o(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);n&&(a=a.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,a)}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||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var a=t.call(e,n||"default");if("object"!==typeof a)return a;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,l.jsxs)("svg",s(s({},e),{},{children:[(0,l.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,l.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,l.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,l.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,l.jsxs)("defs",{children:[(0,l.jsxs)("linearGradient",{id:"paint0_linear_615_416",x1:"30.72",y1:"95.721",x2:"94.488",y2:"34.325",gradientUnits:"userSpaceOnUse",children:[(0,l.jsx)("stop",{stopColor:"#0FA4B7"}),(0,l.jsx)("stop",{offset:".495",stopColor:"#1DC1C7"}),(0,l.jsx)("stop",{offset:"1",stopColor:"#2BE0D7"})]}),(0,l.jsxs)("linearGradient",{id:"paint1_linear_615_416",x1:"27.437",y1:"99.246",x2:"97.761",y2:"44.937",gradientUnits:"userSpaceOnUse",children:[(0,l.jsx)("stop",{stopColor:"#0FA4B7"}),(0,l.jsx)("stop",{offset:".495",stopColor:"#1DC1C7"}),(0,l.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";var c=r;n.Z=c},15959:(e,n,t)=>{n.Z=void 0;(a=t(5057))&&a.__esModule;var a,l=t(96266);function o(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);n&&(a=a.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,a)}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||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var a=t.call(e,n||"default");if("object"!==typeof a)return a;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,l.jsxs)("svg",s(s({},e),{},{children:[(0,l.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,l.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,l.jsxs)("defs",{children:[(0,l.jsxs)("linearGradient",{id:"paint0_linear_615_428",x1:"31.72",y1:"95.721",x2:"95.488",y2:"34.325",gradientUnits:"userSpaceOnUse",children:[(0,l.jsx)("stop",{stopColor:"#0FA4B7"}),(0,l.jsx)("stop",{offset:".495",stopColor:"#1DC1C7"}),(0,l.jsx)("stop",{offset:"1",stopColor:"#2BE0D7"})]}),(0,l.jsxs)("linearGradient",{id:"paint1_linear_615_428",x1:"28.437",y1:"99.246",x2:"98.761",y2:"44.937",gradientUnits:"userSpaceOnUse",children:[(0,l.jsx)("stop",{stopColor:"#0FA4B7"}),(0,l.jsx)("stop",{offset:".495",stopColor:"#1DC1C7"}),(0,l.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";var c=r;n.Z=c}}]);
1
+ "use strict";(self.webpackChunk_abtnode_webapp=self.webpackChunk_abtnode_webapp||[]).push([[1667],{13455:(e,n,t)=>{t.d(n,{Z:()=>d});var a=t(55898),l=t.n(a),o=t(36687),s=t(72333);const i="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAUAAAAFACAYAAADNkKWqAAAACXBIWXMAACxLAAAsSwGlPZap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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:a,logo:l}=n.meta;let d;return d=l?(0,c.jsx)(o.Z,{src:(0,r.aZ)({did:a,logoPath:l,baseUrl:new URL(t).origin}),fallback:i,width:64,size:"contain",placeholder:"application logo"}):(0,c.jsx)(s.Z,{did:a,size:64}),d}d.propTypes={blocklet:l().object.isRequired,blockletMetaUrl:l().string.isRequired}},13932:(e,n,t)=>{t.d(n,{Z:()=>p});var a,l=t(71171),o=t(68420),s=t(77277),i=t(33518),r=t(39948),c=t(5057),d=t(34937),u=t(96266);const h=(e,n)=>{console.info("getDownloadBundleStep",e);return(e||[]).map((e=>{var t;const a=n("launchBlocklet.waiting.".concat("extracting"===e.status?"extractingComponent":"downloadingComponent"),{name:(null===(t=e.component)||void 0===t?void 0:t.title)||""}),l=e.total&&e.current?": ".concat(Math.floor(e.current/e.total*100)," %"):"";let o=e.name?": ".concat(e.name):"";return l||(o+="..."),"".concat(a).concat(l).concat(o)})).join("\n")};function p(e){let{appDid:n,visible:t}=e;const{t:a}=(0,o.PE)(),l=function(e){let{appDid:n}=e;const[t,a]=(0,c.useState)([]),l=(0,d.ZP)();return(0,c.useEffect)((()=>(l.on(s.BlockletEvents.downloadBundleProgress,(e=>{n&&n===(null===e||void 0===e?void 0:e.appDid)&&a((n=>{const t=[...n],a=t.findIndex((n=>{var t,a;return(null===(t=n.component)||void 0===t?void 0:t.did)===(null===(a=e.component)||void 0===a?void 0:a.did)}));return"completed"===e.status?-1!==a&&t.splice(a,1):-1!==a?t[a]=e:t.push(e),[...t]}))})),()=>{l.off(s.BlockletEvents.downloadBundleProgress)})),[n,l]),t}({appDid:n});return(0,u.jsx)(m,{style:{display:t?"block":"none"},children:h(l,a)})}p.defaultProps={appDid:"",visible:!0};const m=(0,i.Z)(r.Z)(a||(a=(0,l.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 a,l=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(a||(a=(0,l.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 a=t(5057),l=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(l.BlockletStatus),h=Object.values(l.BlockletStatus),p=Object.values(l.BlockletEvents).filter((e=>![l.BlockletEvents.purchaseChange,l.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)(),l=(0,a.useRef)(null),s=()=>{e&&!l.current&&(l.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:()=>{l.current&&clearInterval(l.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,a.useEffect)((()=>{let n=null;return e&&(d("schedule polling blocklet state"),n=setTimeout((()=>{s()}),g)),()=>{n&&clearInterval(n)}}),[e]),(0,a.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 a=u[h.indexOf(t.status)];d("blocklet event",{blockletEventName:n,status:a}),a&&(e.status=a)}x(e)}};for(const o of p)(0,a.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 a,l,o=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),E=t(38242),C=t(55309),Z=t(8790),B=t(77609),L=t(23484),N=t(96266);const M=u.Z.a(a||(a=(0,o.Z)(["\n display: block;\n height: 36px;\n color: ",";\n"])),(e=>e.theme.palette.primary.main)),P=(0,u.Z)(Z.Z)(l||(l=(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)),D=function(){const{t:e}=(0,h.PE)(),{info:n}=(0,A.h6)(),t=(0,L.Z)(),a=decodeURIComponent(t.get("accessUrl")||""),{meta:l}=(0,B.H0)();return(0,N.jsx)(P,{children:(0,N.jsx)("div",{className:"body",children:(0,N.jsx)(C.Z,{variant:"success",title:(0,E.getDisplayName)({meta:l},!0),subTitle:e("launchBlocklet.installSuccess",{serverName:n.name}),footer:(0,N.jsx)(M,{href:a,rel:"noreferrer","data-cy":"open-blocklet",children:e("common.open")})})})})};var I=t(39463),R=t(4651),Q=t(86229),T=t(14491),O=t(60344),S=t(17450),z=t(43316),U=t(35266),J=t(77277),F=t(2660),H=t(77429),X=t(48086),K=t(38898),V=t(75506),G=t.n(V),Y=t(50482),W=t.n(Y),_=t(5057),q=t(15849),$=t(67654),ee=t(31853),ne=t(11397),te=t.n(ne),ae=t(52581),le=t(11476),oe=t(25339),se=t(74094),ie=t(13455),re=t(28726);function ce(e){let{children:n,...t}=e;return(0,N.jsx)(re.Z,{variant:"contained",color:"primary",...t,children:n})}const de=(0,_.forwardRef)(((e,n)=>(0,N.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 Ee(){const e=(0,L.Z)(),{t:n,locale:t}=(0,h.PE)(),{api:a,info:l}=(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:C,isInstalled:Z}=(0,B.H0)(),M=u?(0,E.getDisplayName)({meta:u},!0):null,P=e.get("launchType"),D=e.get("chainHost"),V=e.get("nftId"),Y=(0,_.useRef)(null),{decrypt:ne,encryptKey:te}=(0,z.R)(),[re]=(0,$.Z)("skip-blocklet-setup",!1),[ce,ue]=(0,ee.Z)({launching:!1,visiting:!1,statusChanged:!1,isConnectOpen:!1,nextAccessUrl:"",loaded:!1,installError:null,progressIndex:0,connectData:{action:"",baseUrl:"",checkFn:()=>{},extraParams:{}}}),he=(0,fe.Iq)({user:o.user,launchType:P,nftId:V}),pe=(0,I.getServerAuthMethod)(l,P,j,he),me=(0,le.Z)(he?m:""),{status:ye,eventName:Ee}=me,Ne=e.get("from");(0,_.useEffect)((()=>{d||(Z||C||Me(),ue({loaded:!0}))}),[d]);const Me=async()=>{const e=o.user?"".concat(o.user.fullName,"'s ").concat(M):M;if(ue({installError:null}),null!==o&&void 0!==o&&o.user&&!v&&"serverless"!==P)try{await(async()=>{const{isNew:e,decoded:n}=(0,se.bQ)(f,l.blockletRegistryList);e&&await a.addBlockletStore({input:{teamDid:l.did,url:n}})})()}catch(h){console.error("addNewRegistryToRegistryList error:",h)}if(p){var n,t,s;const a="launch-free-blocklet-by-".concat(pe);ue({isConnectOpen:!0,connectData:{action:a,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,R.iK)(u),title:e,blockletMetaUrl:x,launchType:P,nftId:V,chainHost:decodeURIComponent(D),launcherUrl:k,launcherSessionId:j}}})}else{var i,c,d;const n="launch-paid-blocklet-by-".concat(pe),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,R.iK)(u)),t.searchParams.set("_ek_",te),t.searchParams.set("title",e),t.searchParams.set("autoConnect",!1),t.searchParams.set("blockletMetaUrl",x),P&&t.searchParams.set("launchType",P),V&&t.searchParams.set("nftId",V),k&&t.searchParams.set("launcherUrl",k),j&&t.searchParams.set("launcherSessionId",j);const{data:a}=await O.hi.get(t.href);ue({isConnectOpen:!0,connectData:{action:"verify-purchase-blocklet",baseUrl:new URL(x).origin,checkFn:O.od.create({baseURL:new URL(x).origin}).get,extraParams:{serverDid:l.did,blockletDid:null===u||void 0===u?void 0:u.did,nw:a.url}}})}},Pe=async n=>{if(ve("visitBlocklet",{status:ye,state:ce,appDid:m}),ce.visiting)return;ue({visiting:!0});const t=(0,T.A6)({blocklet:n}),a=await(0,se.D)(t);if(G()(a)&&"serverless"!==P||re)return ue({visiting:!1}),void setTimeout((()=>{(n=>{const t="/".concat(l.routing.adminPath,"/blocklets/").concat(n.meta.did,"/configuration").replace(/\/+/g,"/");let a="/launch-blocklet/complete?status=installed&name=".concat(encodeURIComponent(M),"&accessUrl=").concat(encodeURIComponent(t),"&blocklet_meta_url=").concat(x);const o=e.get("fromLauncher");o&&(a+="&fromLauncher=".concat(o)),P&&(a+="&launchType=".concat(P)),D&&(a+="&chainHost=".concat(D)),c(a)})(n)}),1e3);if(G()(a))return void ue({visiting:!1});if(!1===be(ye,ce))try{await i.post("/api/launch/".concat(g))}catch(d){ve("end launch failed",{error:(0,se.Z)(d)})}const o=new URL(a);o.searchParams.set("serverUrl",(0,R.RU)(l)),"running"!==n.status&&o.searchParams.set("__start__","1");const s=e.get("fromLauncher");s&&o.searchParams.set("fromLauncher",s),P&&o.searchParams.set("launchType",P),V&&o.searchParams.set("nftId",V),D&&o.searchParams.set("chainHost",D);const r=Ae();r&&o.searchParams.set("setupToken",r),ue({nextAccessUrl:o.href,visiting:!1}),setTimeout((()=>{we(),window.location.href=o.href}),1e3)},De=[n("launchBlocklet.waiting.verifying"),n("launchBlocklet.waiting.downloading"),n("launchBlocklet.waiting.extracting"),n("upgrading"===ye?"common.upgrading":"launchBlocklet.waiting.installing"),n("launchBlocklet.waiting.done")],Ie=()=>{ve("handleInstalledProgress",{status:ye,state:ce}),ye&&(ue({progressIndex:4}),Y.current&&(clearTimeout(Y.current),Y.current=null),Y.current=setTimeout((()=>{a.getBlocklet({input:{did:m,attachRuntimeInfo:!0}}).then((e=>{e.blocklet&&Pe(e.blocklet)}))}),500))};if((0,_.useEffect)((()=>{C&&ue({launching:!0}),Z&&Ie()}),[Z,C]),(0,_.useEffect)((()=>{if("serverless"!==P||Ee!==J.BlockletEvents.nftConsumed)switch(ye){case"waiting":ue({progressIndex:1,statusChanged:!0});break;case"downloading":ue({progressIndex:2,statusChanged:!0});break;case"installing":case"upgrading":ue({progressIndex:3,statusChanged:!0});break;case"installed":if("serverless"===P&&!(0,fe.MZ)(me))break;Ie();break;case"starting":case"running":case"stopped":Ie();break;case"corrupted":case"error":{const n={message:me.error.message,name:me.eventName};var e;if([J.BlockletEvents.downloadFailed,J.BlockletEvents.installFailed].includes(me.eventName)?n.action="retry":"error"!==ye&&"corrupted"!==ye||(n.action="view"),!W()(n,ce.installError))null!==me&&void 0!==me&&null!==(e=me.error)&&void 0!==e&&e.message&&Q.Z.error((0,se.Z)(me.error))}}else Ie()}),[ye,Ee,me]),ve("render",{status:ye,eventName:Ee,launchType:P,runtimeBlockletState:me,state:ce}),d||o.user&&null===ye||G()(u))return(0,N.jsx)(w.Z,{relative:"parent",children:(0,N.jsx)(y.Z,{})});if(ce.installError){const e={view:!v&&(0,N.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,N.jsxs)(Be,{children:[Ne&&(0,N.jsx)(de,{variant:"text",className:"bottom-button","data-cy":"go-back",disabled:ce.isConnectOpen,onClick:()=>{window.location.href=Ne},children:n("common.back")}),(0,N.jsxs)(de,{className:"bottom-button","data-cy":"retry-install",disabled:ce.isConnectOpen,onClick:Me,children:[ce.isConnectOpen&&(0,N.jsx)(y.Z,{size:16}),n("common.retry")]})]})},t=ce.installError.name?ce.installError.name.replace("blocklet.",""):"installFailed";return(0,N.jsx)(Le,{variant:"error",title:M,subTitle:(0,N.jsxs)(Ze,{children:[(0,N.jsx)("div",{children:n("launchBlocklet.error.".concat(t))}),ce.installError.message&&(0,N.jsx)("div",{className:"error-desc",children:n("common.errorMessage")+ce.installError.message})]}),footer:e[ce.installError.action]})}if(be(ye,ce))return ve("alreadyExists",{status:ye,state:ce,runtimeBlockletState:me}),(0,N.jsx)(Le,{variant:"info",title:n("common.reminder"),subTitle:n("launchBlocklet.alreadyExists",{name:(0,E.getDisplayName)({meta:u},!0)}),footer:(0,N.jsxs)("div",{children:[!ce.nextAccessUrl&&(0,N.jsx)(y.Z,{size:16}),ce.nextAccessUrl&&(0,N.jsx)(K.Z,{href:ce.nextAccessUrl,"data-cy":"open-blocklet",children:n("launchBlocklet.redirect")})]})});const Re=!ce.launching&&!ye;return(0,N.jsxs)(Ce,{children:[(0,N.jsx)("div",{className:"header",children:(0,N.jsx)(F.Z,{title:n(Re?"common.install":"common.installing"),subTitle:Re?n("launchBlocklet.subTitle",{appName:M,serverName:l.name}):""})}),(0,N.jsxs)("div",{className:"body",children:[Re&&(0,N.jsxs)(N.Fragment,{children:[(0,N.jsxs)("div",{className:"illustrations",children:[(0,N.jsx)("div",{className:"ills-block ills-block-left",children:(0,N.jsxs)("div",{className:"ills-block-inner",children:[(0,N.jsx)(ie.Z,{className:"i-icon",blocklet:{meta:u},blockletMetaUrl:x}),(0,N.jsx)("div",{className:"i-name",children:M})]})}),(0,N.jsx)(X.Z,{className:"arrow-icon"}),(0,N.jsx)("div",{className:"ills-block ills-block-right",children:(0,N.jsxs)("div",{className:"ills-block-inner",children:[(0,N.jsx)("img",{width:"64",height:"64",src:ae.Z,alt:""}),(0,N.jsx)("div",{className:"i-name",children:l.name}),(0,N.jsx)(S.Z,{size:12,responsive:!1,compact:!0,did:l.did})]})})]}),ce.loaded&&!Z&&!ce.launching&&(0,N.jsxs)(de,{className:"bottom-button","data-cy":"start-launch",disabled:ce.isConnectOpen,onClick:Me,children:[ce.isConnectOpen&&(0,N.jsx)(y.Z,{size:16}),n("launchBlocklet.confirmInstall")]})]}),ce.launching&&(0,N.jsxs)(xe.Z,{children:[(0,N.jsx)(U.Z,{increaseSpeed:.3,messageLoop:!1,message:(0,N.jsx)(H.Z,{steps:De,stepIndex:ce.progressIndex,autoGrowth:4===ce.progressIndex?1e3:4e3})}),[1,2].includes(ce.progressIndex)&&(0,N.jsx)(ge.Z,{appDid:m})]})]}),ce.isConnectOpen&&(0,N.jsx)(ge.Z,{appDid:m,visible:!1}),(0,N.jsx)(z.Z,{open:ce.isConnectOpen,popup:!0,saveConnect:!1,className:"connect",baseUrl:ce.connectData.baseUrl,action:ce.connectData.action,checkFn:ce.connectData.checkFn,extraParams:ce.connectData.extraParams,checkTimeout:6e5,webWalletUrl:(0,se.yP)(l),onSuccess:async e=>{Q.Z.success(n("launchBlocklet.dialog.success"));const t=Array.isArray(e)?e[e.length-1]:e;if(t.sessionToken&&((0,se.ZB)(ne(t.sessionToken)),await o.refresh()),t.setupToken&&je(t.setupToken),ue({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:()=>ue({isConnectOpen:!1}),locale:t,messages:{title:"".concat(n("launchBlocklet.dialog.title")),scan:ke(p,pe,n),confirm:n("launchBlocklet.dialog.confirm"),success:n("launchBlocklet.dialog.success")}})]})}const Ce=(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)(C.Z)(me||(me=(0,o.Z)(["\n .result-footer {\n height: auto;\n }\n"])));var Ne,Me,Pe=t(31440),De=t(35432),Ie=t(32828);function Re(e){var n;let{onClickNext:t,handleDescEle:a,showPageHeader:l}=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=(0,_.useMemo)((()=>{if(!j)return"/blocklets/".concat(k,"/overview");if(!i)return"";const e=new URL(i);return"".concat(e.origin).concat(De.WELLKNOWN_SERVICE_PATH_PREFIX,"/admin")}),[i,j,k]),L=()=>{o("/launch-blocklet/install".concat(window.location.search))},M=t||L;if((0,_.useEffect)((()=>{g||(b?L():(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){Q.Z.error(e.message)}finally{d(!1)}})())}),[x,j,v,b]),v){const e=x?"alreadyRunning":"alreadyInstalled";return(0,N.jsx)(C.Z,{variant:"info",title:u("common.reminder"),subTitle:u("launchBlocklet.".concat(e),{name:(0,E.getDisplayName)({meta:f},!0)}),footer:(0,N.jsxs)(Te,{children:[(0,N.jsx)(de,{loading:!Z,"data-cy":"view-blocklet",component:j?void 0:q.Link,to:Z,href:Z,variant:x?"outlined":"contained",color:"primary",children:u("launchBlocklet.viewApplication")}),x&&(0,N.jsx)(de,{loading:c,className:"last-button",disabled:!i,href:i,"data-cy":"open-blocklet",children:u("common.open")})]})})}return p?(0,Ie.default)(f)||null!==f&&void 0!==f&&null!==(n=f.components)&&void 0!==n&&n.length?(0,N.jsxs)(Qe,{children:[l&&(0,N.jsx)(F.Z,{title:u("launchBlocklet.introduction"),subTitle:u("launchBlocklet.welcome")}),(0,N.jsx)(Pe.Z,{meta:f,onClickNext:M,handleDescEle:a})]}):(0,N.jsx)(Qe,{className:"center",children:(0,N.jsx)(C.Z,{variant:"error",subTitle:u("launchBlocklet.error.resourceBlocklet")})}):(0,N.jsx)(w.Z,{relative:"parent",children:(0,N.jsx)(y.Z,{})})}Re.defaultProps={onClickNext:null,handleDescEle:"",showPageHeader:!0};const Qe=u.Z.div(Ne||(Ne=(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(Me||(Me=(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 Oe,Se,ze;function Ue(){const e=(0,d.Z)((e=>e.breakpoints.down("md"))),{t:n,locale:t}=(0,h.PE)(),{info:a}=(0,A.h6)(),l=(0,se.yP)(a),{serverUrl:o,fromLauncher:i,meta:u,isFree:E,loading:C,error:Z,storeUrl:L}=(0,B.H0)(),M=r()((0,se.Y5)(),"/launch-blocklet"),P=[{key:"install",name:n("launchBlocklet.steps.installApp"),path:r()(M,"install")},{key:"setup",name:n("setup.steps.launchApp")}];let I=[{key:"agreement",name:n("launchBlocklet.introduction"),path:r()(M,"agreement")},...P];const R=()=>{o&&window.open(o)};let Q=(0,N.jsx)(He,{className:"".concat(o?"logo-can-click":""),children:(0,N.jsx)(k.Z,{onClick:R,logo:e?(0,N.jsx)(x.Z,{width:"32",height:"32"}):(0,N.jsx)(v.Z,{width:"128",height:"48"})})});i&&(I=[{key:"purchase-space",name:n("launchBlocklet.steps.purchaseSpace")},{key:"prepare-space",name:n("launchBlocklet.steps.prepareSpace")},...P],Q=(0,N.jsx)(He,{className:"".concat(o?"logo-can-click":""),children:(0,N.jsx)(k.Z,{logo:e?(0,N.jsx)(x.Z,{onClick:R,width:"32",height:"32"}):(0,N.jsx)(v.Z,{onClick:R,width:"128",height:"48"}),previousData:{logo:e?(0,N.jsx)(f.Z,{width:"32",height:"32"}):(0,N.jsx)(b.Z,{width:"145",height:"48"})}})}));const T={meta:u,isFree:E};return(0,N.jsx)(m.W,{steps:I,children:(0,N.jsx)(p.Z,{locale:t,loading:C,blockletMeta:{...u,isFree:E},useOfSkeleton:!1,navLogo:Q,headerEndAddons:(0,N.jsx)(g.Z,{webWalletUrl:l,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,N.jsxs)(Fe,{children:[(0,N.jsx)(c.Global,{styles:Je}),C&&(0,N.jsx)(w.Z,{relative:"parent",children:(0,N.jsx)(y.Z,{})}),!C&&Z&&(0,N.jsx)(w.Z,{relative:"parent",children:(0,N.jsx)(j.Z,{style:{wordBreak:"break-all"},variant:"icon",type:"error",children:Z})}),!C&&!Z&&(0,N.jsxs)(s.Routes,{children:[(0,N.jsx)(s.Route,{path:"agreement",element:(0,N.jsx)(Re,{})}),(0,N.jsx)(s.Route,{path:"install",element:(0,N.jsx)(Ee,{})}),(0,N.jsx)(s.Route,{path:"complete",element:(0,N.jsx)(D,{blocklet:T})}),(0,N.jsx)(s.Route,{path:"*",element:(0,N.jsx)(s.Navigate,{to:"agreement".concat(window.location.search),replace:!0})})]})]})})})}const Je=(0,c.css)(Oe||(Oe=(0,o.Z)(["\n html,\n body,\n #root,\n #root > .wrapper {\n height: 100%;\n }\n"]))),Fe=u.Z.div(Se||(Se=(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"]))),He=u.Z.div(ze||(ze=(0,o.Z)(["\n margin-top: -1px;\n &.logo-can-click {\n cursor: pointer;\n }\n"])))},31440:(e,n,t)=>{t.d(n,{Z:()=>g});var a,l=t(71171),o=t(55898),s=t.n(o),i=t(85493),r=t(33518),c=t(68420),d=t(40265),u=t(44566),h=t(35432),p=t(96266);function m(e){let{...n}=e;return(0,p.jsxs)("div",{...n,style:{width:"100%"},children:[(0,p.jsx)("h3",{children:"End User License Agreement for Application"}),(0,p.jsxs)("p",{children:["Blocklet Server License Agreement ",h.COPYRIGHT_OWNER," version 2020-08-28"]}),(0,p.jsx)("p",{children:"BLOCKLET SERVER LICENSE AGREEMENT"}),(0,p.jsx)("p",{children:"\u6682\u65e0"})]})}function g(e){let{meta:n,onClickNext:t,handleDescEle:a}=e;const l=(0,i.useNavigate)(),{t:o,locale:s}=(0,c.PE)(),r=t||(()=>{l("/launch-blocklet/install".concat(window.location.search))});return(0,p.jsxs)(f,{children:[(0,p.jsx)("div",{className:"app-content",children:(0,p.jsx)("div",{className:"agreement",children:(0,p.jsx)("div",{className:"agreement-content",children:(0,p.jsx)(u.Z,{blockletMeta:{data:n},locale:s,handleDescEle:a})})})}),(0,p.jsx)("div",{className:"button-container","data-cy":"agree-all",children:(0,p.jsx)(d.Z,{onContinue:r,description:(0,p.jsx)(m,{}),texts:{listenName:o("launchBlocklet.license"),buttonNext:o("launchBlocklet.next")}})})]})}g.propTypes={meta:s().object.isRequired,onClickNext:s().func,handleDescEle:s().node},g.defaultProps={onClickNext:null,handleDescEle:""};const f=r.Z.div(a||(a=(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 .button-container {\n padding-top: 24px;\n padding-bottom: 34px;\n "," {\n padding-right: 24px;\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")))},8790:(e,n,t)=>{t.d(n,{Z:()=>c});var a,l=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(a||(a=(0,l.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 a,l,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:a,previousData:l,...o}=e,s=(0,c.jsx)(u,{logo:n}),i=t,r=a;return l.logo&&(s=(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(u,{logo:n,className:"left-fade-in-ele"}),(0,c.jsx)(u,{logo:l.logo,className:"postion-abs left-fade-out-ele"})]})),l.name&&l.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:l.name})]})),l.subname&&l.subname!==a&&(r=(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)("span",{className:"right-fade-in-ele",style:{display:"inline-block"},children:a}),(0,c.jsx)("span",{className:"postion-abs right-fade-out-ele",children:l.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||a?"":"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(a||(a=(0,o.Z)(["\n display: block;\n > * {\n display: block;\n }\n"]))),p=r.Z.div(l||(l=(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:()=>l.a});var a=t(10458),l=t.n(a);l().defaults.timeout=1e4;const o=l().create()},28864:(e,n,t)=>{n.Z=void 0;(a=t(5057))&&a.__esModule;var a,l=t(96266);function o(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);n&&(a=a.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,a)}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||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var a=t.call(e,n||"default");if("object"!==typeof a)return a;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,l.jsxs)("svg",s(s({},e),{},{children:[(0,l.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,l.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,l.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,l.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,l.jsxs)("defs",{children:[(0,l.jsxs)("linearGradient",{id:"paint0_linear_615_416",x1:"30.72",y1:"95.721",x2:"94.488",y2:"34.325",gradientUnits:"userSpaceOnUse",children:[(0,l.jsx)("stop",{stopColor:"#0FA4B7"}),(0,l.jsx)("stop",{offset:".495",stopColor:"#1DC1C7"}),(0,l.jsx)("stop",{offset:"1",stopColor:"#2BE0D7"})]}),(0,l.jsxs)("linearGradient",{id:"paint1_linear_615_416",x1:"27.437",y1:"99.246",x2:"97.761",y2:"44.937",gradientUnits:"userSpaceOnUse",children:[(0,l.jsx)("stop",{stopColor:"#0FA4B7"}),(0,l.jsx)("stop",{offset:".495",stopColor:"#1DC1C7"}),(0,l.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";var c=r;n.Z=c},15959:(e,n,t)=>{n.Z=void 0;(a=t(5057))&&a.__esModule;var a,l=t(96266);function o(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);n&&(a=a.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,a)}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||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var a=t.call(e,n||"default");if("object"!==typeof a)return a;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,l.jsxs)("svg",s(s({},e),{},{children:[(0,l.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,l.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,l.jsxs)("defs",{children:[(0,l.jsxs)("linearGradient",{id:"paint0_linear_615_428",x1:"31.72",y1:"95.721",x2:"95.488",y2:"34.325",gradientUnits:"userSpaceOnUse",children:[(0,l.jsx)("stop",{stopColor:"#0FA4B7"}),(0,l.jsx)("stop",{offset:".495",stopColor:"#1DC1C7"}),(0,l.jsx)("stop",{offset:"1",stopColor:"#2BE0D7"})]}),(0,l.jsxs)("linearGradient",{id:"paint1_linear_615_428",x1:"28.437",y1:"99.246",x2:"98.761",y2:"44.937",gradientUnits:"userSpaceOnUse",children:[(0,l.jsx)("stop",{stopColor:"#0FA4B7"}),(0,l.jsx)("stop",{offset:".495",stopColor:"#1DC1C7"}),(0,l.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";var c=r;n.Z=c}}]);
@@ -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(82790),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(37541),a=i(7278),n=i(67680),o=i(29042),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+AAAAG1BMVEUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACUUeIgAAAACXRSTlMSFhkOHAsfCCOMH5MiAAAjjElEQVRo3hTQO3sjRRBG4a+qWzJhVfdIJqzuGXsJe2bkJe0e2UA4shdIJS2X1LBcUpbL/wae5yQnfVHGjp2+V08yKR7OwBDYte8pi5Aq9DObSBouqN9cidZyusonzWtGJO13phLebEn6xKEnlYyXe5hnySc53Ym9Abn7crTse8r7BMeIB8yBOVZK0trMjxT5S/cgc9G63BQqZoF3xSYZYeRk2hoIvEBFA7XMtaaF8TdY1GjiDDqgEswRDlWnRtmYzl5zRUq3sx3I+JL7sBJKXchDGJY9D+SfHAIoA+TuHCyYYYFjkhNB8tO5hhju0ANjdCITLx4/JDL+yyP0ErZR+m3M322bY8OKHzoOcAXLQMBHiIh+X59pv6udCJ7MAV9HARPtTEuFSdAzNVn7uPmkk3TpBGHb8DJZ3p36ScsuJVFQP6CUBXimN3BABZJUiEwBOMsHUisZiXU8k3bVSTrPcHsKEEg8gV/vP7U26vRWhl2UnfEbX3VlVbRHgSwmcy2tWTjsxmIb4YjgbAkmpyEOINs1gCtSC4YsjwnY9l1MJYRz1NMk5NAC3MffnLwiHnNH7IoyER5VEI6S4Um++uKyho0BwmD+1rA90yarpO4ZpjLgs8+BTUfU9w+gkwEi6ftxqyB9Wt6IBstE0E8kxJLeKaVhNA/uEwIslv1JmRwcSzAo+URPCF5M8AGzEF8yG+QVBFl53FqhfYqd7/PM6AmJouW4cVge9pZuMJga2N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sggYWWkvLT27f2dhwRULpny5D5yKI7vD/4iAW9KWHB7JsEZeCE1E/mdgVHZTOci8X+YIanJt7+aBd2k8f2RL45Z2puefelcXjUWbKdMSYwr58dAPaHymSU0o9/zjFt7/VoGmNAwCyvrKe2L1hYJqtd5gh6FGiCAGzqFk6on9pQdSAQzkctDTtXGbDih5iRPVIk9TwCJGwP3tpATkHsNwloUilnNMFce7twgDgrgWhsE8jWW+EBLlTDMn9pmtJOefTJc6Cxld039TN4XiwL4pMtU+8tXJ4g/LghG5APdF7/e3FSi4v8vnEBiIEm+5LlZtsk2LbbbY5hN9JkkJkd5BjQFPoUcwjJdTm0mx0024NmOvVgxASvU9TonFxUqG8cUTy3m5s3i7BqLbFkKcfxLQYhAXfjam0yFFd3PZE9wlXWfHYKlg2cFlTcnwRH6z8DpSfQHidMhElmCMb07li9ceHQHFknk/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),v=()=>g(!0),f=()=>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:v}),children:(0,d.jsx)(r,{style:{cursor:"pointer",width:"58px",height:"58px"},onClick:v})}),(0,d.jsx)(c.Z,{open:A,onClose:f,"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:f,"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:()=>s});var t=i(38242);const s=function(e){var l,i,s;let{blocklet:h}=e;const{appDid:c}=h,a=(0,t.getAppName)(h),n=(0,t.getAppDescription)(h),o=null===h||void 0===h||null===(l=h.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),d=null===o||void 0===o?void 0:o[0];return{appDid:c,appName:a,appDescription:n,appUrl:d,scopes:"list:object read:object write:object",referrer:window.location.href,isReady:Boolean(d)}}}}]);
@@ -1 +1 @@
1
- "use strict";(self.webpackChunk_abtnode_webapp=self.webpackChunk_abtnode_webapp||[]).push([[2334],{22334:(e,n,t)=>{t.r(n),t.d(n,{default:()=>U});var s,a=t(71171),o=t(5057),r=t(33518),i=t(85493),l=t(15849),c=t(11750),d=t(22139),p=t(76005),u=t(39948),h=t(20870),m=t(31089),x=t(71767),g=t(64185),v=t(41105),f=t(56184),w=t(62681),b=t(28726),j=t(68420),Z=t(60829),S=t(49983),y=t(35432),P=t(12673),k=t(55898),C=t.n(k),N=t(96266);function L(e){let{list:n,width:t,height:s,cardSpace:a,onSelect:r,defaultIndex:i}=e;const[l,c]=(0,o.useState)(0),[d,p]=(0,o.useState)(0),u=(0,o.useRef)(null),h=e=>{if(e<0||e>n.length-1)return;c(e);const s=u.current.clientWidth;p(e*(t+a)-(s-t)/2+.5*a),r(e)};let m;(0,o.useEffect)((()=>{h(i);u.current.addEventListener("touchmove",(e=>e.preventDefault()),{passive:!1})}),[]);return(0,N.jsx)(z,{ref:u,onTouchStart:e=>{const n=e.touches[0];m=n.clientX},onTouchEnd:e=>{const n=e.changedTouches[0],t=m-n.clientX;Math.abs(t)>60&&h(t>0?l+1:l-1)},children:(0,N.jsx)("div",{className:"card-container",style:{transform:"translate(".concat(-d,"px, 0)")},children:n.map(((e,n)=>(0,N.jsx)("div",{className:"card-item ".concat(n===l?"selected":""),style:{width:t,height:s,margin:a/2},onClick:()=>h(n),children:(0,N.jsx)("div",{className:"card-content",dangerouslySetInnerHTML:{__html:e.src}})},e.id)))})})}const z=r.Z.div(s||(s=(0,a.Z)(["\n overflow: hidden;\n mask-image: linear-gradient(to left, transparent, black 3%, black 97%, transparent);\n overflow: hidden;\n .card-container {\n display: flex;\n white-space: nowrap;\n width: max-content;\n transition: all ease 0.3s;\n }\n .card-item {\n display: inline-flex;\n justify-content: center;\n align-items: center;\n flex-shrink: 0;\n cursor: pointer;\n\n .card-content {\n pointer-events: none;\n max-width: 100%;\n max-height: 100%;\n width: auto;\n height: auto;\n outline: #526ded solid 0;\n transition: all ease 0.2s;\n box-shadow: rgba(0, 0, 0, 0.2) 0 0 10px;\n }\n &.selected {\n cursor: default;\n .card-content {\n outline: #526ded solid 5px;\n }\n }\n }\n"])));L.propTypes={list:C().array,width:C().number,height:C().number,cardSpace:C().number,onSelect:C().func,defaultIndex:C().number},L.defaultProps={list:"",width:300,height:400,cardSpace:40,onSelect:()=>{},defaultIndex:0};var I,H=t(17450),M=t(5766),T=t(70284);function W(e){let{icon:n,active:t,completed:s}=e;const a={1:(0,N.jsx)(g.Z,{className:"step-icon"}),2:(0,N.jsx)(v.Z,{className:"step-icon"}),3:(0,N.jsx)(f.Z,{className:"step-icon"})},o=["step-icon-w"];return t&&o.push("step-icon-w--active"),s&&o.push("step-icon-w--completed"),(0,N.jsx)("div",{className:o.join(" "),children:a[String(n)]})}const _=(0,r.Z)(d.Z)(I||(I=(0,a.Z)(["\n padding-top: 46px;\n padding-bottom: 46px;\n height: 100%;\n overflow: auto;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n @media (max-width: ","px) {\n display: block;\n }\n .header {\n text-align: center;\n margin-bottom: 24px;\n }\n\n .stepper {\n padding: 24px;\n height: auto;\n width: 100%;\n min-height: 640px;\n display: flex;\n flex-direction: column;\n\n .stepper-progress {\n padding: 0;\n flex: 0;\n margin-bottom: 24px;\n\n .MuiStepLabel-label.MuiStepLabel-alternativeLabel {\n margin-top: 8px;\n }\n\n .MuiStepConnector-alternativeLabel {\n top: 24px;\n }\n\n .MuiStepConnector-lineHorizontal {\n height: 3px;\n border: none;\n background-color: #eaeaf0;\n border-radius: 1px;\n }\n\n .step-icon-w {\n background-color: ",";\n z-index: 1;\n color: ",";\n width: 50px;\n height: 50px;\n display: flex;\n border-radius: 50%;\n justify-content: center;\n align-items: center;\n .step-icon {\n font-size: 30px;\n }\n }\n\n .step-icon-w--active {\n background-color: ",";\n }\n\n .step-icon-w--completed {\n background-color: ",";\n }\n }\n\n .stepper-content {\n padding: 0 64px;\n flex: 1;\n display: flex;\n justify-content: center;\n align-items: center;\n margin-bottom: 24px;\n\n .stepper-icon {\n margin-left: 40px;\n }\n\n .stepper-auth {\n padding: 0;\n\n .auth-title {\n margin-bottom: 16px;\n }\n }\n\n .stepper-tip {\n text-align: center;\n margin-bottom: 16px;\n }\n @media (max-width: ","px) {\n padding: 0;\n }\n }\n\n .stepper-actions {\n flex: 0;\n text-align: right;\n padding: 0 64px;\n display: none;\n .step-button {\n margin-right: 8px;\n }\n }\n\n .select-passport {\n width: 80%;\n @media (max-width: ","px) {\n width: 100%;\n }\n }\n\n .user-info {\n .name {\n font-weight: 500;\n font-size: 18px;\n line-height: 25px;\n color: #222222;\n }\n }\n }\n\n .connect {\n background: #fafafa;\n }\n"])),(e=>e.theme.breakpoints.values.sm),(e=>e.theme.palette.grey[500]),(e=>e.theme.palette.common.white),(e=>e.theme.palette.primary.main),(e=>e.theme.palette.secondary.main),(e=>e.theme.breakpoints.values.sm),(e=>e.theme.breakpoints.values.sm)),E=(0,M.Z)((function(e){let{SessionContext:n,webWalletUrl:s,createPassportSvg:a,passportColor:r}=e;const{api:d,session:g}=(0,o.useContext)(n),v=(0,P.Z)({user:null,passport:null,success:!1,activeStep:0}),{setPassportId:f,clearPassportId:k}=(0,T.Z)(),{t:C,locale:z}=(0,o.useContext)(j.RD),I=(0,i.useNavigate)(),{wallet:M}=(0,Z.Z)(),{searchParams:E}=new URL(window.location.href),R=()=>{v.activeStep++},A=e=>{v.user=e.user},D=e=>{null!==e&&void 0!==e&&e.passportId&&f(e.passportId),v.success=!0,R()},U=()=>{var e;if(M&&(()=>{const{searchParams:e}=new URL(window.location.href);return"1"===e.get("fromWallet")})())return void t.e(2365).then(t.t.bind(t,72365,23)).then((e=>{e.call("arcClosePage")}));try{g.logout()}catch(s){}const n=E.get("redirect");n?window.location.replace(n):((null===(e=window.env)||void 0===e?void 0:e.apiPrefix)||"").startsWith(y.WELLKNOWN_SERVICE_PATH_PREFIX)?I("".concat(y.WELLKNOWN_SERVICE_PATH_PREFIX,"/connect"),{replace:!0}):(k(),window.location.replace("/"))},V=[{label:C("lostPassport.selectPassport"),content:()=>v.user?(0,N.jsxs)(u.Z,{className:"select-passport",children:[(0,N.jsxs)(u.Z,{my:1,display:"flex",alignItems:"center",className:"user-info",children:[(0,N.jsx)(w.Z,{src:v.user.avatar,style:{width:48,height:48,backgroundColor:"transparent",marginRight:16}}),(0,N.jsxs)(u.Z,{children:[(0,N.jsx)(u.Z,{className:"name",children:v.user.fullName}),(0,N.jsx)(u.Z,{className:"did",mt:1,children:(0,N.jsx)(H.Z,{did:v.user.did})})]})]}),(0,N.jsx)("div",{children:(0,N.jsx)(L,{width:230,height:306,cardSpace:24,list:v.user.passportTypes.map((e=>({src:a({title:e.title,issuer:e.issuer.name,issuerDid:e.issuer.id,ownerDid:v.user.did,ownerName:v.user.fullName,ownerAvatarUrl:v.user.avatar,preferredColor:r||"auto"}),name:e.title,id:e.id}))),onSelect:e=>{return n={target:{value:v.user.passportTypes[e].name}},void(v.passport=n.target.value);var n},defaultIndex:0})}),(0,N.jsx)(u.Z,{textAlign:"center",children:(0,N.jsx)(b.Z,{variant:"contained",color:"primary",onClick:()=>{R()},disabled:!v.passport,children:C("common.next")})})]}):(0,N.jsx)(S.Z,{popup:!0,open:!0,hideCloseButton:!0,className:"connect",action:"lost-passport-list",forceConnected:!1,autoConnect:!1,checkFn:d.get,checkTimeout:6e5,webWalletUrl:s,onSuccess:A,locale:z,messages:{title:C("lostPassport.dialog.title"),scan:C("lostPassport.dialog.scan"),confirm:C("lostPassport.dialog.confirm"),success:C("lostPassport.dialog.success")}})},{label:C("lostPassport.receivePassport"),content:()=>{var e,n;const t={receiverDid:v.user.did,passportName:v.passport,teamDid:(null===(e=window)||void 0===e||null===(n=e.blocklet)||void 0===n?void 0:n.did)||""};return(0,N.jsx)(S.Z,{popup:!0,open:!0,hideCloseButton:!0,className:"connect",action:"lost-passport-issue",checkFn:d.get,checkTimeout:6e5,webWalletUrl:s,onSuccess:D,locale:z,messages:{title:"".concat(C("lostPassport.dialog.title")),scan:C("lostPassport.dialog.scan"),confirm:C("lostPassport.dialog.confirm"),success:C("lostPassport.dialog.success")},extraParams:t})}},{label:C("common.complete"),content:()=>(0,N.jsxs)(u.Z,{textAlign:"center",children:[(0,N.jsx)(u.Z,{mb:3,color:"success.main",children:(0,N.jsx)(p.Z,{style:{fontSize:60}})}),(0,N.jsx)(c.Z,{component:"p",variant:"body1",className:"subheader",children:C("issuePassport.dialog.success")}),(0,N.jsx)(b.Z,{style:{marginTop:40},variant:"contained",color:"primary",onClick:U,children:C("issuePassport.dialog.loginWithPassport")})]})}];return(0,N.jsx)(_,{children:(0,N.jsxs)("div",{className:"stepper",children:[(0,N.jsx)(h.Z,{className:"stepper-progress",alternativeLabel:!0,activeStep:v.activeStep,children:V.map((e=>{let{label:n}=e;return(0,N.jsx)(m.Z,{children:(0,N.jsx)(x.Z,{StepIconComponent:W,children:n})},n)}))}),(0,N.jsx)("div",{className:"stepper-content",children:V[v.activeStep].content()}),!v.success&&(0,N.jsx)(u.Z,{textAlign:"center",fontSize:12,children:(0,N.jsx)(l.Link,{to:"/",style:{color:"#4598FA"},children:C("lostPassport.return")})})]})})}));var R=t(25339),A=t(74094),D=t(75793);function U(){const{info:e}=(0,D.h6)(),n=(0,A.yP)(e);return(0,N.jsx)(E,{SessionContext:R.B3,webWalletUrl:n,createPassportSvg:n=>(0,A.Ju)(n,e),passportColor:"default"})}},5766:(e,n,t)=>{t.d(n,{Z:()=>d});var s=t(68420),a=t(77668),o=t.n(a),r=t(2586),i=t(56944);const l={zh:o()(i.Z),en:o()(r.Z)};var c=t(96266);function d(e){return function(n){return(0,c.jsx)(s.Iw,{translations:l,children:(0,c.jsx)(e,{...n})})}}},76005:(e,n,t)=>{var s=t(71600);n.Z=void 0;var a=s(t(56930)),o=t(96266),r=(0,a.default)((0,o.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}),"CheckCircle");n.Z=r},56184:(e,n,t)=>{var s=t(71600);n.Z=void 0;var a=s(t(56930)),o=t(96266),r=(0,a.default)((0,o.jsx)("path",{d:"M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z"}),"Done");n.Z=r},41105:(e,n,t)=>{var s=t(71600);n.Z=void 0;var a=s(t(56930)),o=t(96266),r=(0,a.default)((0,o.jsx)("path",{d:"M19 9h-4V3H9v6H5l7 7 7-7zM5 18v2h14v-2H5z"}),"GetApp");n.Z=r},64185:(e,n,t)=>{var s=t(71600);n.Z=void 0;var a=s(t(56930)),o=t(96266),r=(0,a.default)((0,o.jsx)("path",{d:"M3 14h4v-4H3v4zm0 5h4v-4H3v4zM3 9h4V5H3v4zm5 5h13v-4H8v4zm0 5h13v-4H8v4zM8 5v4h13V5H8z"}),"ViewList");n.Z=r}}]);
1
+ "use strict";(self.webpackChunk_abtnode_webapp=self.webpackChunk_abtnode_webapp||[]).push([[2334],{22334:(e,n,t)=>{t.r(n),t.d(n,{default:()=>U});var s,a=t(71171),o=t(5057),r=t(33518),i=t(85493),l=t(15849),c=t(11750),d=t(22139),p=t(76005),u=t(39948),h=t(20870),m=t(31089),x=t(71767),g=t(64185),v=t(41105),f=t(56184),w=t(62681),b=t(28726),j=t(68420),Z=t(60829),S=t(43316),y=t(35432),P=t(12673),k=t(55898),C=t.n(k),N=t(96266);function L(e){let{list:n,width:t,height:s,cardSpace:a,onSelect:r,defaultIndex:i}=e;const[l,c]=(0,o.useState)(0),[d,p]=(0,o.useState)(0),u=(0,o.useRef)(null),h=e=>{if(e<0||e>n.length-1)return;c(e);const s=u.current.clientWidth;p(e*(t+a)-(s-t)/2+.5*a),r(e)};let m;(0,o.useEffect)((()=>{h(i);u.current.addEventListener("touchmove",(e=>e.preventDefault()),{passive:!1})}),[]);return(0,N.jsx)(z,{ref:u,onTouchStart:e=>{const n=e.touches[0];m=n.clientX},onTouchEnd:e=>{const n=e.changedTouches[0],t=m-n.clientX;Math.abs(t)>60&&h(t>0?l+1:l-1)},children:(0,N.jsx)("div",{className:"card-container",style:{transform:"translate(".concat(-d,"px, 0)")},children:n.map(((e,n)=>(0,N.jsx)("div",{className:"card-item ".concat(n===l?"selected":""),style:{width:t,height:s,margin:a/2},onClick:()=>h(n),children:(0,N.jsx)("div",{className:"card-content",dangerouslySetInnerHTML:{__html:e.src}})},e.id)))})})}const z=r.Z.div(s||(s=(0,a.Z)(["\n overflow: hidden;\n mask-image: linear-gradient(to left, transparent, black 3%, black 97%, transparent);\n overflow: hidden;\n .card-container {\n display: flex;\n white-space: nowrap;\n width: max-content;\n transition: all ease 0.3s;\n }\n .card-item {\n display: inline-flex;\n justify-content: center;\n align-items: center;\n flex-shrink: 0;\n cursor: pointer;\n\n .card-content {\n pointer-events: none;\n max-width: 100%;\n max-height: 100%;\n width: auto;\n height: auto;\n outline: #526ded solid 0;\n transition: all ease 0.2s;\n box-shadow: rgba(0, 0, 0, 0.2) 0 0 10px;\n }\n &.selected {\n cursor: default;\n .card-content {\n outline: #526ded solid 5px;\n }\n }\n }\n"])));L.propTypes={list:C().array,width:C().number,height:C().number,cardSpace:C().number,onSelect:C().func,defaultIndex:C().number},L.defaultProps={list:"",width:300,height:400,cardSpace:40,onSelect:()=>{},defaultIndex:0};var I,H=t(17450),M=t(5766),T=t(70284);function W(e){let{icon:n,active:t,completed:s}=e;const a={1:(0,N.jsx)(g.Z,{className:"step-icon"}),2:(0,N.jsx)(v.Z,{className:"step-icon"}),3:(0,N.jsx)(f.Z,{className:"step-icon"})},o=["step-icon-w"];return t&&o.push("step-icon-w--active"),s&&o.push("step-icon-w--completed"),(0,N.jsx)("div",{className:o.join(" "),children:a[String(n)]})}const _=(0,r.Z)(d.Z)(I||(I=(0,a.Z)(["\n padding-top: 46px;\n padding-bottom: 46px;\n height: 100%;\n overflow: auto;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n @media (max-width: ","px) {\n display: block;\n }\n .header {\n text-align: center;\n margin-bottom: 24px;\n }\n\n .stepper {\n padding: 24px;\n height: auto;\n width: 100%;\n min-height: 640px;\n display: flex;\n flex-direction: column;\n\n .stepper-progress {\n padding: 0;\n flex: 0;\n margin-bottom: 24px;\n\n .MuiStepLabel-label.MuiStepLabel-alternativeLabel {\n margin-top: 8px;\n }\n\n .MuiStepConnector-alternativeLabel {\n top: 24px;\n }\n\n .MuiStepConnector-lineHorizontal {\n height: 3px;\n border: none;\n background-color: #eaeaf0;\n border-radius: 1px;\n }\n\n .step-icon-w {\n background-color: ",";\n z-index: 1;\n color: ",";\n width: 50px;\n height: 50px;\n display: flex;\n border-radius: 50%;\n justify-content: center;\n align-items: center;\n .step-icon {\n font-size: 30px;\n }\n }\n\n .step-icon-w--active {\n background-color: ",";\n }\n\n .step-icon-w--completed {\n background-color: ",";\n }\n }\n\n .stepper-content {\n padding: 0 64px;\n flex: 1;\n display: flex;\n justify-content: center;\n align-items: center;\n margin-bottom: 24px;\n\n .stepper-icon {\n margin-left: 40px;\n }\n\n .stepper-auth {\n padding: 0;\n\n .auth-title {\n margin-bottom: 16px;\n }\n }\n\n .stepper-tip {\n text-align: center;\n margin-bottom: 16px;\n }\n @media (max-width: ","px) {\n padding: 0;\n }\n }\n\n .stepper-actions {\n flex: 0;\n text-align: right;\n padding: 0 64px;\n display: none;\n .step-button {\n margin-right: 8px;\n }\n }\n\n .select-passport {\n width: 80%;\n @media (max-width: ","px) {\n width: 100%;\n }\n }\n\n .user-info {\n .name {\n font-weight: 500;\n font-size: 18px;\n line-height: 25px;\n color: #222222;\n }\n }\n }\n\n .connect {\n background: #fafafa;\n }\n"])),(e=>e.theme.breakpoints.values.sm),(e=>e.theme.palette.grey[500]),(e=>e.theme.palette.common.white),(e=>e.theme.palette.primary.main),(e=>e.theme.palette.secondary.main),(e=>e.theme.breakpoints.values.sm),(e=>e.theme.breakpoints.values.sm)),E=(0,M.Z)((function(e){let{SessionContext:n,webWalletUrl:s,createPassportSvg:a,passportColor:r}=e;const{api:d,session:g}=(0,o.useContext)(n),v=(0,P.Z)({user:null,passport:null,success:!1,activeStep:0}),{setPassportId:f,clearPassportId:k}=(0,T.Z)(),{t:C,locale:z}=(0,o.useContext)(j.RD),I=(0,i.useNavigate)(),{wallet:M}=(0,Z.Z)(),{searchParams:E}=new URL(window.location.href),R=()=>{v.activeStep++},A=e=>{v.user=e.user},D=e=>{null!==e&&void 0!==e&&e.passportId&&f(e.passportId),v.success=!0,R()},U=()=>{var e;if(M&&(()=>{const{searchParams:e}=new URL(window.location.href);return"1"===e.get("fromWallet")})())return void t.e(2365).then(t.t.bind(t,72365,23)).then((e=>{e.call("arcClosePage")}));try{g.logout()}catch(s){}const n=E.get("redirect");n?window.location.replace(n):((null===(e=window.env)||void 0===e?void 0:e.apiPrefix)||"").startsWith(y.WELLKNOWN_SERVICE_PATH_PREFIX)?I("".concat(y.WELLKNOWN_SERVICE_PATH_PREFIX,"/connect"),{replace:!0}):(k(),window.location.replace("/"))},V=[{label:C("lostPassport.selectPassport"),content:()=>v.user?(0,N.jsxs)(u.Z,{className:"select-passport",children:[(0,N.jsxs)(u.Z,{my:1,display:"flex",alignItems:"center",className:"user-info",children:[(0,N.jsx)(w.Z,{src:v.user.avatar,style:{width:48,height:48,backgroundColor:"transparent",marginRight:16}}),(0,N.jsxs)(u.Z,{children:[(0,N.jsx)(u.Z,{className:"name",children:v.user.fullName}),(0,N.jsx)(u.Z,{className:"did",mt:1,children:(0,N.jsx)(H.Z,{did:v.user.did})})]})]}),(0,N.jsx)("div",{children:(0,N.jsx)(L,{width:230,height:306,cardSpace:24,list:v.user.passportTypes.map((e=>({src:a({title:e.title,issuer:e.issuer.name,issuerDid:e.issuer.id,ownerDid:v.user.did,ownerName:v.user.fullName,ownerAvatarUrl:v.user.avatar,preferredColor:r||"auto"}),name:e.title,id:e.id}))),onSelect:e=>{return n={target:{value:v.user.passportTypes[e].name}},void(v.passport=n.target.value);var n},defaultIndex:0})}),(0,N.jsx)(u.Z,{textAlign:"center",children:(0,N.jsx)(b.Z,{variant:"contained",color:"primary",onClick:()=>{R()},disabled:!v.passport,children:C("common.next")})})]}):(0,N.jsx)(S.Z,{popup:!0,open:!0,hideCloseButton:!0,className:"connect",action:"lost-passport-list",forceConnected:!1,autoConnect:!1,checkFn:d.get,checkTimeout:6e5,webWalletUrl:s,onSuccess:A,locale:z,messages:{title:C("lostPassport.dialog.title"),scan:C("lostPassport.dialog.scan"),confirm:C("lostPassport.dialog.confirm"),success:C("lostPassport.dialog.success")}})},{label:C("lostPassport.receivePassport"),content:()=>{var e,n;const t={receiverDid:v.user.did,passportName:v.passport,teamDid:(null===(e=window)||void 0===e||null===(n=e.blocklet)||void 0===n?void 0:n.did)||""};return(0,N.jsx)(S.Z,{popup:!0,open:!0,hideCloseButton:!0,className:"connect",action:"lost-passport-issue",checkFn:d.get,checkTimeout:6e5,webWalletUrl:s,onSuccess:D,locale:z,messages:{title:"".concat(C("lostPassport.dialog.title")),scan:C("lostPassport.dialog.scan"),confirm:C("lostPassport.dialog.confirm"),success:C("lostPassport.dialog.success")},extraParams:t})}},{label:C("common.complete"),content:()=>(0,N.jsxs)(u.Z,{textAlign:"center",children:[(0,N.jsx)(u.Z,{mb:3,color:"success.main",children:(0,N.jsx)(p.Z,{style:{fontSize:60}})}),(0,N.jsx)(c.Z,{component:"p",variant:"body1",className:"subheader",children:C("issuePassport.dialog.success")}),(0,N.jsx)(b.Z,{style:{marginTop:40},variant:"contained",color:"primary",onClick:U,children:C("issuePassport.dialog.loginWithPassport")})]})}];return(0,N.jsx)(_,{children:(0,N.jsxs)("div",{className:"stepper",children:[(0,N.jsx)(h.Z,{className:"stepper-progress",alternativeLabel:!0,activeStep:v.activeStep,children:V.map((e=>{let{label:n}=e;return(0,N.jsx)(m.Z,{children:(0,N.jsx)(x.Z,{StepIconComponent:W,children:n})},n)}))}),(0,N.jsx)("div",{className:"stepper-content",children:V[v.activeStep].content()}),!v.success&&(0,N.jsx)(u.Z,{textAlign:"center",fontSize:12,children:(0,N.jsx)(l.Link,{to:"/",style:{color:"#4598FA"},children:C("lostPassport.return")})})]})})}));var R=t(25339),A=t(74094),D=t(75793);function U(){const{info:e}=(0,D.h6)(),n=(0,A.yP)(e);return(0,N.jsx)(E,{SessionContext:R.B3,webWalletUrl:n,createPassportSvg:n=>(0,A.Ju)(n,e),passportColor:"default"})}},5766:(e,n,t)=>{t.d(n,{Z:()=>d});var s=t(68420),a=t(77668),o=t.n(a),r=t(2586),i=t(56944);const l={zh:o()(i.Z),en:o()(r.Z)};var c=t(96266);function d(e){return function(n){return(0,c.jsx)(s.Iw,{translations:l,children:(0,c.jsx)(e,{...n})})}}},76005:(e,n,t)=>{var s=t(71600);n.Z=void 0;var a=s(t(56930)),o=t(96266),r=(0,a.default)((0,o.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}),"CheckCircle");n.Z=r},56184:(e,n,t)=>{var s=t(71600);n.Z=void 0;var a=s(t(56930)),o=t(96266),r=(0,a.default)((0,o.jsx)("path",{d:"M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z"}),"Done");n.Z=r},41105:(e,n,t)=>{var s=t(71600);n.Z=void 0;var a=s(t(56930)),o=t(96266),r=(0,a.default)((0,o.jsx)("path",{d:"M19 9h-4V3H9v6H5l7 7 7-7zM5 18v2h14v-2H5z"}),"GetApp");n.Z=r},64185:(e,n,t)=>{var s=t(71600);n.Z=void 0;var a=s(t(56930)),o=t(96266),r=(0,a.default)((0,o.jsx)("path",{d:"M3 14h4v-4H3v4zm0 5h4v-4H3v4zM3 9h4V5H3v4zm5 5h13v-4H8v4zm0 5h13v-4H8v4zM8 5v4h13V5H8z"}),"ViewList");n.Z=r}}]);