@abtnode/webapp 1.16.26-beta-351de484 → 1.16.26-beta-63f52a83

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (89) hide show
  1. package/blocklet.js +1 -1
  2. package/blocklet.yml +1 -1
  3. package/build/asset-manifest.json +42 -40
  4. package/build/index.html +1 -1
  5. package/build/service-worker.js +1 -1
  6. package/build/static/js/1059.40eaf71e.chunk.js +1 -0
  7. package/build/static/js/1575.1224630c.chunk.js +1 -0
  8. package/build/static/js/1641.529fa061.chunk.js +1 -0
  9. package/build/static/js/175.b8f52054.chunk.js +1 -0
  10. package/build/static/js/{1846.7c384de2.chunk.js → 1846.6e3f3612.chunk.js} +1 -1
  11. package/build/static/js/2019.2c30b069.chunk.js +1 -0
  12. package/build/static/js/233.610f0c5d.chunk.js +1 -0
  13. package/build/static/js/243.7a6f7438.chunk.js +1 -0
  14. package/build/static/js/2537.10cf10fb.chunk.js +1 -0
  15. package/build/static/js/3803.28541be2.chunk.js +1 -0
  16. package/build/static/js/3930.bc6e9b32.chunk.js +1 -0
  17. package/build/static/js/{4296.1d4de443.chunk.js → 4296.62f838a8.chunk.js} +1 -1
  18. package/build/static/js/4423.bb44f34f.chunk.js +1 -0
  19. package/build/static/js/4465.4f7d20c2.chunk.js +1 -0
  20. package/build/static/js/4527.6d3ce631.chunk.js +2 -0
  21. package/build/static/js/4545.4f5c0bd5.chunk.js +1 -0
  22. package/build/static/js/4549.3a768671.chunk.js +1 -0
  23. package/build/static/js/4804.0799b676.chunk.js +2 -0
  24. package/build/static/js/4906.7f0752d1.chunk.js +1 -0
  25. package/build/static/js/{5059.b4303ef8.chunk.js → 5059.92ba11ba.chunk.js} +1 -1
  26. package/build/static/js/506.fe1f4c17.chunk.js +1 -0
  27. package/build/static/js/5312.fa7da622.chunk.js +1 -0
  28. package/build/static/js/5570.744c0299.chunk.js +2 -0
  29. package/build/static/js/5748.b434b126.chunk.js +1 -0
  30. package/build/static/js/6179.fbea7365.chunk.js +1 -0
  31. package/build/static/js/6511.7e5a293c.chunk.js +1 -0
  32. package/build/static/js/6629.5fc65d11.chunk.js +2 -0
  33. package/build/static/js/6703.7c9ac00a.chunk.js +1 -0
  34. package/build/static/js/6906.9e06617c.chunk.js +1 -0
  35. package/build/static/js/6944.04eb32cb.chunk.js +1 -0
  36. package/build/static/js/7865.9cfee717.chunk.js +1 -0
  37. package/build/static/js/8170.358324c6.chunk.js +1 -0
  38. package/build/static/js/8590.6308ba32.chunk.js +1 -0
  39. package/build/static/js/9132.4a1a304f.chunk.js +1 -0
  40. package/build/static/js/9282.9940b6e0.chunk.js +2 -0
  41. package/build/static/js/9371.a03ab63e.chunk.js +1 -0
  42. package/build/static/js/9450.5a43999b.chunk.js +1 -0
  43. package/build/static/js/{9552.024c3ae2.chunk.js → 9552.becd4013.chunk.js} +1 -1
  44. package/build/static/js/9586.b0bc364f.chunk.js +1 -0
  45. package/build/static/js/9590.694b5369.chunk.js +2 -0
  46. package/build/static/js/main.bfd9a5e2.js +2 -0
  47. package/package.json +1 -1
  48. package/build/static/js/1059.577f662e.chunk.js +0 -1
  49. package/build/static/js/1575.aac11098.chunk.js +0 -1
  50. package/build/static/js/1641.28b81b2a.chunk.js +0 -1
  51. package/build/static/js/2019.a2d8670f.chunk.js +0 -1
  52. package/build/static/js/2080.1b558a42.chunk.js +0 -1
  53. package/build/static/js/233.b8ef7cd9.chunk.js +0 -1
  54. package/build/static/js/3216.04d7e546.chunk.js +0 -1
  55. package/build/static/js/3803.54aaf418.chunk.js +0 -1
  56. package/build/static/js/3930.8a91ec91.chunk.js +0 -1
  57. package/build/static/js/4235.82e1ffd8.chunk.js +0 -1
  58. package/build/static/js/4423.f9aa4282.chunk.js +0 -1
  59. package/build/static/js/4465.e11fb354.chunk.js +0 -1
  60. package/build/static/js/4549.c4d87199.chunk.js +0 -1
  61. package/build/static/js/475.f8cdcb9d.chunk.js +0 -1
  62. package/build/static/js/4804.c4932a07.chunk.js +0 -2
  63. package/build/static/js/4906.f8af0bfa.chunk.js +0 -1
  64. package/build/static/js/506.7795a2df.chunk.js +0 -1
  65. package/build/static/js/5296.5812dffa.chunk.js +0 -2
  66. package/build/static/js/5312.f3f7c64e.chunk.js +0 -1
  67. package/build/static/js/5570.eca72753.chunk.js +0 -2
  68. package/build/static/js/5745.e717f338.chunk.js +0 -1
  69. package/build/static/js/5748.a2be56d1.chunk.js +0 -1
  70. package/build/static/js/6179.4333ab0e.chunk.js +0 -1
  71. package/build/static/js/6511.072d29a7.chunk.js +0 -1
  72. package/build/static/js/6906.22761c9e.chunk.js +0 -1
  73. package/build/static/js/6944.80d9f271.chunk.js +0 -1
  74. package/build/static/js/8170.fcb2e3fb.chunk.js +0 -1
  75. package/build/static/js/8427.591d6dee.chunk.js +0 -2
  76. package/build/static/js/8590.71bbe56c.chunk.js +0 -1
  77. package/build/static/js/8721.4095221a.chunk.js +0 -2
  78. package/build/static/js/9132.8820847d.chunk.js +0 -1
  79. package/build/static/js/9282.21ff751b.chunk.js +0 -2
  80. package/build/static/js/9476.883b7a77.chunk.js +0 -1
  81. package/build/static/js/9586.19d0a41d.chunk.js +0 -1
  82. package/build/static/js/main.6e41cfc3.js +0 -2
  83. /package/build/static/js/{5296.5812dffa.chunk.js.LICENSE.txt → 4527.6d3ce631.chunk.js.LICENSE.txt} +0 -0
  84. /package/build/static/js/{4804.c4932a07.chunk.js.LICENSE.txt → 4804.0799b676.chunk.js.LICENSE.txt} +0 -0
  85. /package/build/static/js/{5570.eca72753.chunk.js.LICENSE.txt → 5570.744c0299.chunk.js.LICENSE.txt} +0 -0
  86. /package/build/static/js/{8427.591d6dee.chunk.js.LICENSE.txt → 6629.5fc65d11.chunk.js.LICENSE.txt} +0 -0
  87. /package/build/static/js/{9282.21ff751b.chunk.js.LICENSE.txt → 9282.9940b6e0.chunk.js.LICENSE.txt} +0 -0
  88. /package/build/static/js/{8721.4095221a.chunk.js.LICENSE.txt → 9590.694b5369.chunk.js.LICENSE.txt} +0 -0
  89. /package/build/static/js/{main.6e41cfc3.js.LICENSE.txt → main.bfd9a5e2.js.LICENSE.txt} +0 -0
@@ -1 +1 @@
1
- (self.webpackChunk_abtnode_webapp=self.webpackChunk_abtnode_webapp||[]).push([[4296,9132],{32322:(e,n,t)=>{"use strict";n.h1=void 0;const s=t(77277);function i(e){return(null===e||void 0===e?void 0:e.connectedAccounts)||[]}function o(e){return i(e).find((e=>e.provider===s.LOGIN_PROVIDER.WALLET))}n.h1=function(e){const n=o(e);return null===n||void 0===n?void 0:n.did}},15098:(e,n,t)=>{const{ROLES:s,PASSPORT_STATUS:i}=t(35432);e.exports={hasActiveOwnerPassport:e=>((null===e||void 0===e?void 0:e.passports)||[]).some((e=>e.role===s.OWNER&&e.status===i.VALID))}},92726:(e,n,t)=>{"use strict";t.d(n,{Z:()=>g});var s,i=t(71171),o=t(5057),r=t(55898),a=t.n(r),l=t(33518),c=t(67680),d=t(61533),m=t(74490),u=t(45267),p=t(46954),f=t(44067),h=t(96266);function g(e){let{actions:n,size:t,...s}=e;const[i,r]=(0,o.useState)(null),a=Boolean(i),l=e=>{try{e.stopPropagation(),e.preventDefault()}catch{}r(null)};return(0,h.jsxs)(x,{...s,children:[(0,h.jsx)(c.Z,{"aria-label":"more","aria-controls":"actions-menu","aria-haspopup":"true","data-cy":"actions-menu-icon",onClick:e=>{try{e.stopPropagation(),e.preventDefault()}catch{}r(e.currentTarget)},size:t,children:(0,h.jsx)(u.Z,{})}),(0,h.jsx)(d.Z,{id:"actions-menu","data-cy":"actions-menu",anchorEl:i,keepMounted:!0,open:a,onClose:l,slotProps:{paper:{}},children:n.map(((e,n)=>{if("function"===typeof e)return e({close:l});const{icon:t,text:s,onClick:i,disabled:r=!1,...a}=e;return(0,o.createElement)(m.Z,{...a,disabled:r,dense:!0,onClick:async e=>{await i(e),l()},key:n,"data-cy":"actions-menu-".concat(n)},(0,h.jsx)(p.Z,{style:{minWidth:24,marginRight:8},children:t}),(0,h.jsx)(f.Z,{primary:s}))}))})]})}g.propTypes={actions:a().array,size:a().oneOf(["small","medium","large"])},g.defaultProps={actions:[],size:"small"};const x=l.Z.div(s||(s=(0,i.Z)([""])))},50185:(e,n,t)=>{"use strict";t.d(n,{Z:()=>c});var s=t(5057),i=t(55898),o=t.n(i),r=t(12937),a=t(68420),l=t(96266);function c(e){let{children:n,...t}=e;const{t:i}=(0,s.useContext)(a.RD);return(0,l.jsx)(r.Z,{tip:i("common.copyTip"),copiedTip:i("common.copiedTip"),...t,children:n})}c.propTypes={children:o().any.isRequired}},9729:(e,n,t)=>{"use strict";t.d(n,{Z:()=>d});var s,i=t(71171),o=t(55898),r=t.n(o),a=t(33518),l=t(13727),c=t(96266);function d(e){const{passport:n,onDelete:t,...s}=e;return(0,c.jsxs)(m,{...s,children:[n.title||n.name," ",!!t&&(0,c.jsx)(l.default,{"data-cy":"delete-issuance",className:"delete",onClick:t})]})}d.propTypes={passport:r().object.isRequired,onDelete:r().func},d.defaultProps={onDelete:null};const m=a.Z.span(s||(s=(0,i.Z)(["\n display: inline-flex;\n padding: 2px 8px;\n background: ",";\n border-radius: 100vw;\n font-weight: 400;\n font-size: 12px;\n line-height: 22px;\n color: #fff;\n align-items: center;\n .delete {\n font-size: 1em;\n margin-left: 6px;\n cursor: pointer;\n }\n"])),(e=>e.theme.palette.primary.main))},75672:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>yn});var s,i=t(71171),o=t(5057),r=t(33518),a=t(75506),l=t.n(a),c=t(55898),d=t.n(c),m=t(52277),u=t.n(m),p=t(75239),f=t(39948),h=t(15715),g=t(67680),x=t(83407),v=t(26174),y=t(88092),b=t(13128),j=t(44919),Z=t(80578),S=t(64185),R=t(72333),k=t(68420),w=t(28726),T=t(68051),P=t(18945),C=t(49777),D=t(75760),E=t(49384),I=t(86229),N=t(35432),_=t(77277),A=t(10381),O=t(42061),B=t(99360),L=t(4962),z=t(22228),U=t(17450),W=t(58238),q=t(17425),K=t(29054),F=t(63406),M=t(46090),V=t(44846),H=t(55372),Y=t(11750),G=t(74490),J=t(51177),X=t(47020),Q=t(6041),$=t(80576),ee=t(88574),ne=t(50185),te=t(96266);function se(e){let{teamDid:n,roles:t,onCancel:s,onSuccess:i,onError:r,endpoint:a}=e;const{api:l}=(0,W.h6)(),[c,d]=(0,o.useState)(!1),[m,u]=(0,o.useState)(""),{t:p,locale:f}=(0,k.PE)(),[h,g]=(0,o.useState)(0),[x,v]=(0,o.useState)(""),[y,j]=(0,o.useState)(""),[Z,S]=(0,o.useState)(""),R=async()=>{if(!y)return void u(p("team.member.error.passportEmpty"));const e=Z.trim();u(null),d(!0);try{const{inviteInfo:t}=await l.createMemberInvitation({input:{teamDid:n,role:y,remark:e}});v(t),g(1)}catch(t){const e=(0,M.Z)(t);u(e),r(t)}finally{d(!1)}},T=[{body:(0,te.jsxs)(Y.Z,{component:"div",children:[(0,te.jsxs)($.Z,{style:{width:"100%"},variant:"outlined",children:[(0,te.jsx)(Q.Z,{children:p("common.passport")}),(0,te.jsx)(J.Z,{"data-cy":"invite-member-select-role",value:y,onChange:e=>{u(null),j(e.target.value)},fullWidth:!0,label:p("common.passport"),disabled:c,onKeyPress:e=>{"Enter"===e.key&&(e.preventDefault(),R())},children:t.filter((e=>"owner"!==e.name)).map((e=>(0,te.jsx)(G.Z,{value:e.name,"data-cy":"invite-member-select-option-".concat(e.name),children:(0,te.jsx)("span",{children:e.title||e.name})},e.name)))})]}),(0,te.jsx)("div",{style:{marginTop:20,marginBottom:10}}),(0,te.jsx)(X.Z,{label:p("common.remark"),autoComplete:"off",variant:"outlined",fullWidth:!0,style:{marginBottom:8},value:Z,onChange:e=>{u(null),S(e.target.value)},disabled:c,"data-cy":"invite-member-input-remark"}),(0,te.jsx)("div",{style:{marginTop:20,marginBottom:10}})]}),cancel:p("common.cancel"),confirm:p("team.member.inviteDialog.createInviteLink"),onCancel:s,onConfirm:R},{body:()=>{const e=(0,M.ly)({inviteId:x.inviteId,endpoint:a});return(0,te.jsxs)("div",{children:[(0,te.jsx)(ie,{children:p("team.member.inviteDialog.createSuccessTip",{expireDate:(0,M.B2)(x.expireDate,f)})}),(0,te.jsx)("div",{style:{marginTop:"40px"}}),(0,te.jsx)(ne.Z,{children:e})]})},confirm:p("common.confirm"),onConfirm:i}][h];return(0,te.jsxs)(b.ZP,{title:p("common.invite"),fullWidth:!0,open:!0,showCloseButton:!1,actions:(0,te.jsxs)(te.Fragment,{children:[T.cancel&&(0,te.jsx)(w.Z,{onClick:T.onCancel,color:"inherit",children:T.cancel}),(0,te.jsxs)(w.Z,{onClick:T.onConfirm,color:"primary",disabled:c||!y,variant:"contained",autoFocus:!0,children:[c&&(0,te.jsx)(V.Z,{size:16}),T.confirm]})]}),children:[(0,te.jsx)(H.Z,{component:"div",children:"function"===typeof T.body?T.body():T.body}),!!m&&(0,te.jsx)(ee.Z,{type:"error",variant:"icon",children:m})]})}se.propTypes={teamDid:d().string.isRequired,onCancel:d().func.isRequired,onSuccess:d().func.isRequired,onError:d().func,roles:d().array,endpoint:d().string},se.defaultProps={onError:()=>{},roles:[],endpoint:""};const ie=r.Z.div(s||(s=(0,i.Z)(["\n font-size: 16px;\n font-weight: bold;\n"])));var oe,re=t(26796),ae=t(43681),le=t.n(ae),ce=t(88577),de=t(73545);function me(e){let{teamDid:n,onCancel:t,onSuccess:s,onError:i,endpoint:r}=e;const{api:a,info:l}=(0,W.h6)(),{api:c}=(0,o.useContext)(de.B),[d,m]=(0,o.useState)(!1),{t:u,locale:p}=(0,k.PE)(),[f,h]=(0,o.useState)(""),[g,x]=(0,o.useState)(!1),[v,y]=(0,o.useState)(0),[j,Z]=(0,o.useState)(""),[S,R]=(0,o.useState)(""),T=!!le()(l,"ownerNft.did"),P=(0,re.default)((async()=>{if(T){const{state:e}=await a.getDelegationState();return e}return{delegated:!0}}));if(P.loading)return(0,te.jsx)(b.ZP,{title:u("team.transferNode.inviteDialog.title"),fullWidth:!0,open:!0,onClose:t,children:(0,te.jsx)("div",{style:{display:"flex",justifyContent:"center"},children:(0,te.jsx)(V.Z,{})})});if(P.error)return(0,te.jsx)(b.ZP,{title:u("team.transferNode.inviteDialog.title"),fullWidth:!0,open:!0,onClose:t,children:(0,te.jsx)(ee.Z,{type:"error",variant:"icon",children:(0,M.Z)(P.error)})});const C=async()=>{h(null),m(!0);try{const{inviteInfo:e}=await a.createTransferInvitation({input:{teamDid:n,role:"owner",remark:S.trim()}});Z(e),y(E.length-1)}catch(e){const n=(0,M.Z)(e);h(n),i(e)}finally{m(!1)}},D=()=>{x(!1),y(0)},E=[{body:(0,te.jsxs)(Y.Z,{component:"div",children:[(0,te.jsxs)(ee.Z,{type:"warning",children:[(0,te.jsx)(Y.Z,{children:u("team.transferNode.inviteDialog.tips.progress")}),(0,te.jsx)(Y.Z,{children:u("team.transferNode.inviteDialog.tips.newOwnerPermissions")})]}),(0,te.jsx)(ee.Z,{type:"warning",children:(0,te.jsx)(Y.Z,{children:u("team.transferNode.inviteDialog.tips.revoke")})}),(0,te.jsx)("div",{style:{marginTop:20,marginBottom:10}}),(0,te.jsx)(X.Z,{label:u("common.remark"),autoComplete:"off",variant:"outlined",fullWidth:!0,style:{marginBottom:8},value:S,onChange:e=>{h(null),R(e.target.value)},disabled:d,"data-cy":"transfer-node-input-remark"}),(0,te.jsx)("div",{style:{marginTop:20,marginBottom:10}})]}),cancel:u("common.cancel"),confirm:u("team.transferNode.inviteDialog.createInviteLink"),onCancel:t,onConfirm:T&&!le()(P,"value.delegated")?()=>{x(!0),y(1)}:C},{body:()=>(0,te.jsx)(ce.Z,{action:"delegate-transfer-nft",open:g,locale:p,checkFn:c.get,onClose:D,onSuccess:C,checkTimeout:3e5,webWalletUrl:(0,M.yP)(l),extraParams:{targetDID:l.did},messages:{title:u("team.transferNode.delegateDialog.title"),scan:u("team.transferNode.delegateDialog.scan"),confirm:u("team.transferNode.delegateDialog.confirm"),success:u("team.transferNode.delegateDialog.success")},popup:!0})},{body:()=>{const e=(0,M.ly)({inviteId:j.inviteId,endpoint:r});return(0,te.jsxs)("div",{children:[(0,te.jsx)(ue,{children:u("team.transferNode.inviteDialog.createSuccessTip",{expireDate:(0,M.B2)(j.expireDate,p)})}),(0,te.jsx)("div",{style:{marginTop:"40px"}}),(0,te.jsx)(ne.Z,{children:e})]})},confirm:u("common.confirm"),onConfirm:s}],I=E[v];return(0,te.jsxs)(b.ZP,{title:u("team.transferNode.inviteDialog.title"),fullWidth:!0,open:!0,showCloseButton:!1,actions:(0,te.jsxs)(te.Fragment,{children:[I.cancel&&(0,te.jsx)(w.Z,{onClick:I.onCancel,color:"inherit",children:I.cancel}),(0,te.jsxs)(w.Z,{onClick:I.onConfirm,color:"primary",disabled:d,variant:"contained",autoFocus:!0,children:[d&&(0,te.jsx)(V.Z,{size:16}),I.confirm]})]}),children:[(0,te.jsx)(H.Z,{component:"div",children:"function"===typeof I.body?I.body():I.body}),!!f&&(0,te.jsx)(ee.Z,{type:"error",variant:"icon",children:f})]})}me.propTypes={teamDid:d().string.isRequired,onCancel:d().func.isRequired,onSuccess:d().func.isRequired,onError:d().func,endpoint:d().string},me.defaultProps={onError:()=>{},endpoint:""};const ue=r.Z.div(oe||(oe=(0,i.Z)(["\n font-size: 16px;\n font-weight: bold;\n"])));var pe,fe=t(62681),he=t(94464),ge=t(64886),xe=t(12987),ve=t(71246),ye=t(12673),be=t(70461),je=t(9729);function Ze(e){let{issuances:n,teamDid:t,onRefresh:s}=e;const{api:i,inService:r}=(0,W.h6)(),{t:a,locale:l}=(0,o.useContext)(k.RD),[c,d]=(0,o.useState)(null),[m,u]=(0,o.useState)(!1),{endpoint:p}=(0,q.DJ)(),h=()=>{u(!1),d(null)},g=e=>p?(0,M._)({id:e.id,endpoint:p}):"";function x(e){let{data:n}=e;return(0,te.jsxs)("div",{className:"issuance",children:[(0,te.jsxs)(f.Z,{display:"flex",justifyContent:"space-between",children:[(0,te.jsx)(F.Z,{permission:r?"":"mutate_team",role:r?M.Wf:[],children:e=>e?(0,te.jsx)(je.Z,{passport:{title:n.title,name:n.name},onDelete:()=>d({title:a("team.passport.issuance.delete.title"),description:a("team.passport.issuance.delete.description",{link:g(n)}),confirm:a("common.delConfirm"),cancel:a("common.cancel"),onConfirm:()=>{(async e=>{let{id:n}=e;if(!m){u(!0);try{await i.deletePassportIssuance({input:{teamDid:t,sessionId:n}}),s()}catch(o){I.Z.error(o.message)}finally{u(!1),d(null)}}})(n)},onCancel:h})}):(0,te.jsx)(je.Z,{passport:{title:n.title,name:n.name}})}),(0,te.jsxs)("div",{style:{color:"#999"},children:[a("common.expires"),":\xa0",(0,M.B2)(n.expireDate,l)]})]}),(0,te.jsx)(f.Z,{mt:2,children:(0,te.jsx)(ne.Z,{children:g(n)})})]})}return(0,te.jsxs)(Se,{children:[n.map((e=>(0,te.jsx)(x,{data:e}))),c&&(0,te.jsx)(be.Z,{title:c.title,description:c.description,confirm:c.confirm,cancel:c.cancel,params:c.params,onConfirm:c.onConfirm,onCancel:c.onCancel})]})}const Se=r.Z.div(pe||(pe=(0,i.Z)(["\n .MuiTableHead-root {\n display: none;\n }\n .issuance {\n padding: 16px 0;\n border-bottom: 1px solid #f0f0f0;\n .MuiTypography-root {\n display: inline-block;\n width: 100%;\n background: #f3f3f3;\n border-radius: 4px;\n padding-top: 6px;\n padding-bottom: 6px;\n }\n }\n"])));Ze.propTypes={teamDid:d().string.isRequired,issuances:d().array,onRefresh:d().func},Ze.defaultProps={issuances:[],onRefresh:()=>{}};var Re=t(5178),ke=t(32322),we=t(87806),Te=t(25710),Pe=t(82638),Ce=t(18901);function De(e){let{teamDid:n,ownerDid:t,needReceive:s,roles:i,onCancel:r,onSuccess:a,onError:l,showOwnerPassport:c}=e;const{api:d}=(0,W.h6)(),[m,u]=(0,o.useState)(!1),[p,f]=(0,o.useState)(""),{t:h}=(0,k.PE)(),[g,x]=(0,o.useState)(""),v=async()=>{if(g){f(null),u(!0);try{await d.createPassportIssuance({input:{teamDid:n,name:g,ownerDid:t}}),a()}catch(e){const n=(0,M.Z)(e);f(n),l(e)}finally{u(!1)}}else f(h("team.member.error.passportEmpty"))};return(0,te.jsxs)(b.ZP,{title:h("team.passport.issue"),fullWidth:!0,open:!0,onClick:e=>e.stopPropagation(),onClose:r,disableEscapeKeyDown:!0,PaperProps:{style:{minHeight:"auto"}},actions:(0,te.jsxs)(te.Fragment,{children:[(0,te.jsx)(w.Z,{onClick:r,color:"inherit",size:"small",children:h("common.cancel")}),(0,te.jsxs)(w.Z,{onClick:v,color:"primary",size:"small",disabled:m||!g,variant:"contained",autoFocus:!0,"data-cy":"issue-passport-create-btn",children:[m&&(0,te.jsx)(V.Z,{size:16}),h(s?"team.passport.issuance.create.title":"oauth.issued")]})]}),children:[(0,te.jsx)(H.Z,{component:"div",children:(0,te.jsx)(Y.Z,{component:"div",children:(0,te.jsxs)($.Z,{style:{width:"100%"},variant:"outlined",children:[(0,te.jsx)(Q.Z,{children:h("common.passport")}),(0,te.jsx)(J.Z,{"data-cy":"issue-passport-select-passport",value:g,onChange:e=>{f(null),x(e.target.value)},fullWidth:!0,label:h("common.passport"),disabled:m,onKeyPress:e=>{"Enter"===e.key&&(e.preventDefault(),v())},children:i.filter((e=>c||"owner"!==e.name)).map((e=>(0,te.jsx)(G.Z,{value:e.name,"data-cy":"issue-passport-select-option-".concat(e.name),children:(0,te.jsx)("span",{children:e.title||e.name})},e.name)))})]})})}),!!p&&(0,te.jsx)(ee.Z,{type:"error",variant:"icon",children:p})]})}De.propTypes={teamDid:d().string.isRequired,ownerDid:d().string.isRequired,needReceive:d().bool,onCancel:d().func.isRequired,onSuccess:d().func.isRequired,onError:d().func,roles:d().array,showOwnerPassport:d().bool},De.defaultProps={onError:()=>{},roles:[],showOwnerPassport:!1,needReceive:!0};var Ee,Ie=t(26538),Ne=t.n(Ie);function _e(e){let{passport:n,user:t,color:s,width:i,icon:o,children:r,createPassportSvg:a,...l}=e;const{t:c}=(0,k.PE)();return(0,te.jsxs)(Ae,{display:"flex",alignItems:"center",...l,children:[(0,te.jsx)("div",{dangerouslySetInnerHTML:{__html:a({title:n.title||n.name,issuer:n.issuer&&n.issuer.name,issuerDid:n.issuer&&n.issuer.id,ownerName:t.fullName,ownerDid:t.did,ownerAvatarUrl:t.avatar,revoked:n.revoked,preferredColor:s,width:i})}}),(0,te.jsxs)("div",{className:"body",children:[(0,te.jsxs)(f.Z,{className:"title",display:"flex",alignItems:"center",children:[Ne()(n.title),(0,te.jsxs)("div",{className:"status-icons",children:[o,n.revoked&&(0,te.jsx)(we.Z,{})]})]}),n.expirationDate&&(0,te.jsx)(f.Z,{className:"title",display:"flex",alignItems:"center",children:c("team.passport.validUntil",{date:n.expirationDate})}),r]})]})}_e.propTypes={passport:d().any.isRequired,user:d().any.isRequired,color:d().string.isRequired,createPassportSvg:d().func.isRequired,icon:d().any,children:d().any,width:d().number},_e.defaultProps={icon:null,children:null,width:150};const Ae=(0,r.Z)(f.Z)(Ee||(Ee=(0,i.Z)(["\n .body {\n padding: 0;\n margin-left: 24px;\n margin-top: 0;\n }\n .title {\n font-weight: 400;\n font-size: 16px;\n line-height: 19px;\n color: #222222;\n }\n .tip {\n display: flex;\n align-items: center;\n font-size: 14px;\n margin-top: 6px;\n color: #bbb;\n }\n .status-icons {\n svg {\n fill: #bfbfbf;\n height: 1.2em;\n margin-left: 0.4em;\n }\n }\n"])));var Oe;function Be(e){let{action:n,passport:t}=e;const{t:s}=(0,k.PE)(),{roles:i}=(0,q.DJ)(),o=i.find((e=>e.name===t.role));return(0,te.jsxs)("div",{children:[(0,te.jsx)("div",{children:s("enable"===n?"team.member.enablePassportDescription":"team.member.revokePassportDescription")}),o&&(0,te.jsx)(f.Z,{mt:3,fontWeight:"bold",children:s("team.member.passportPermissionTitle")}),o&&(0,te.jsx)(f.Z,{mt:1,children:o.description})]})}function Le(e){var n;let{user:t,onCreate:s,createPassportSvg:i}=e;const{t:r}=(0,k.PE)(),{session:a}=(0,de.T)(),{roles:l,teamDid:c,teamIssuerDid:d,refresh:m,enablePassportIssuance:u,trustedPassports:h,passportColor:g,blocklet:x}=(0,q.DJ)(),{appIdList:v}=(0,K.y0)(),{api:y,inService:b}=(0,W.h6)(),[Z,S]=(0,o.useState)(!1),[R,T]=(0,o.useState)(null),[C,D]=(0,o.useState)(!1),[E,_]=(0,o.useState)(""),A=[d,...v||[]].filter(Boolean),O=(le()(t,"passports")||[]).map((e=>({...e,revoked:e.status===N.PASSPORT_STATUS.REVOKED}))),B=async e=>{if(!Z){S(!0);try{const n=e.status===N.PASSPORT_STATUS.REVOKED?"enableUserPassport":"revokeUserPassport";await y[n]({input:{teamDid:c,userDid:t.did,passportId:e.id}}),m()}catch(n){I.Z.error((0,M.Z)(n))}finally{S(!1),T(null)}}},L=(e,n)=>t.did===a.user.did&&a.user.passportId&&a.user.passportId===n.id?{revokable:!1,message:r("team.passport.shouldNotDeleteCurrent")}:e?c===n.issuer.id&&"owner"===n.name?{revokable:!1,message:r("team.passport.noPermission")}:{revokable:!0}:{revokable:!1,message:r("team.passport.noPermission")},z=O.filter((e=>!E||e.title.includes(E)||e.name.includes(E)));return(0,te.jsxs)(ze,{children:[(0,te.jsxs)(Ce.Z,{children:[(0,te.jsx)("div",{className:"left",children:(0,te.jsx)(Pe.Z,{placeholder:r("team.passport.search"),value:E,onChange:e=>_(e.target.value)})}),(0,te.jsx)("div",{className:"right",children:u&&!!t.approved&&(0,te.jsx)(F.Z,{permission:b?"":"mutate_team",role:b?M.Wf:[],children:(0,te.jsxs)(w.Z,{variant:"contained",color:"primary","data-cy":"issue-passport",onClick:()=>D(!0),children:[(0,te.jsx)(j.Z,{style:{fontSize:16,marginRight:4}}),r("team.passport.issue")]})})})]}),(0,te.jsxs)(f.Z,{children:[z.map((e=>(0,te.jsx)(F.Z,{permission:b?"":"mutate_team",role:b?M.Wf:[],children:n=>(0,te.jsxs)(f.Z,{className:"passport-item",display:"flex",justifyContent:"space-between",alignItems:"center",mt:3,children:[(0,te.jsx)(_e,{passport:e,user:t,color:g,createPassportSvg:i,icon:A.length&&!A.includes(e.issuer.id)?(0,te.jsx)(P.Z,{}):null,children:!!A.length&&!A.includes(e.issuer.id)&&(0,te.jsxs)("div",{className:"tip",children:[e.issuer.id!==d&&!h.some((n=>n.issuerDid===e.issuer.id))&&(0,te.jsx)(p.Z,{title:r("team.passport.notTrustedIssuerTip"),children:(0,te.jsx)(f.Z,{component:Re.Z,style:{fontSize:"1.3em"},color:"error.main",mr:.5})}),(0,te.jsx)("span",{children:r("team.passport.issueBy",{name:e.issuer.name})})]})}),(0,te.jsx)(f.Z,{children:L(n,e).revokable?(0,te.jsxs)(w.Z,{variant:"outlined",color:e.revoked?"primary":"secondary",onClick:()=>{return(n=e).status===N.PASSPORT_STATUS.REVOKED?T({title:r("team.member.enablePassport"),description:(0,te.jsx)(Be,{action:"enable",passport:n}),confirm:r("common.enable"),cancel:r("common.cancel"),onConfirm:()=>{B(n)},onCancel:()=>{S(!1),T(null)},color:"primary"}):T({title:r("team.member.revokePassport"),description:(0,te.jsx)(Be,{action:"revoke",passport:n}),confirm:r("common.revoke"),cancel:r("common.cancel"),onConfirm:()=>{B(n)},onCancel:()=>{S(!1),T(null)}});var n},children:[e.revoked?(0,te.jsx)(j.Z,{style:{fontSize:16,marginRight:4}}):(0,te.jsx)(we.Z,{style:{height:16,marginRight:4}}),e.revoked?r("common.enable"):r("common.revoke")]}):(0,te.jsx)(p.Z,{title:L(n,e).message,children:(0,te.jsx)(Re.Z,{style:{color:"#ddd"}})})})]})},e.id))),!z.length&&(0,te.jsx)(Te.Z,{children:r("common.empty")})]}),C&&(0,te.jsx)(De,{teamDid:c,ownerDid:t.did,needReceive:(0,ke.h1)(t)===t.did,roles:l,onCancel:()=>D(!1),onSuccess:()=>{s(),D(!1)},showOwnerPassport:x&&!(null!==(n=x.settings)&&void 0!==n&&n.owner)}),R&&(0,te.jsx)(be.Z,{title:R.title,description:R.description,confirm:R.confirm,cancel:R.cancel,params:R.params,onConfirm:R.onConfirm,onCancel:R.onCancel,color:R.color})]})}Be.propTypes={action:d().string.isRequired,passport:d().object.isRequired},Be.defaultProps={},Le.propTypes={user:d().object.isRequired,createPassportSvg:d().func.isRequired,onCreate:d().func},Le.defaultProps={onCreate:()=>{}};const ze=r.Z.div(Oe||(Oe=(0,i.Z)(["\n .passport-item {\n .MuiButton-outlinedSecondary {\n color: #f16e6e;\n fill: #f16e6e;\n background: #fcf3f3;\n border: 0;\n &:hover {\n border: 0;\n }\n }\n }\n"])));var Ue=t(15098);const We=(e,n)=>e.nodeOwner&&e.nodeOwner.did===n,qe=(e,n)=>e&&e.did===n;function Ke(e){let{user:n,onCancel:t,onSuccess:s,onError:i,children:r}=e;const{api:a,info:l,inService:c}=(0,W.h6)(),{session:d}=(0,de.T)(),{teamDid:m,refresh:u}=(0,q.DJ)(),{t:p}=(0,k.PE)(),[f,h]=(0,o.useState)(!1),[g,x]=(0,o.useState)(!1),v={title:n.approved?p("team.member.forbidLogin"):p("team.member.allowLogin"),description:n.approved?p("team.member.forbidLoginDescription"):p("team.member.allowLoginDescription"),confirm:p("common.confirm"),cancel:p("common.cancel"),onConfirm:()=>{(async e=>{const{did:n,approved:t}=e;if(!f){h(!0);try{await a.updateUserApproval({input:{teamDid:m,user:{did:n,approved:!t}}}),x(!1),s(),u()}catch(o){I.Z.error((0,M.Z)(o)),i()}finally{h(!1)}}})(n)},onCancel:()=>{h(!1),x(!1),t()},color:n.approved?"error":"primary"};let y;return y=!(0,Ue.hasActiveOwnerPassport)(n)&&((c||l.nodeOwner&&!We(l,n.did))&&!qe(d.user,n.did)),y?(0,te.jsxs)(te.Fragment,{children:["function"===typeof r?r({can:y,open:()=>x(!0)}):r,g?(0,te.jsx)(be.Z,{title:v.title,description:v.description,confirm:v.confirm,cancel:v.cancel,params:v.params,onConfirm:v.onConfirm,onCancel:v.onCancel,color:v.color}):null]}):null}Ke.propTypes={user:d().object,onSuccess:d().func,onCancel:d().func,onError:d().func,children:d().oneOfType([d().object,d().func])},Ke.defaultProps={user:{},onSuccess:()=>{},onCancel:()=>{},onError:()=>{},children:null};var Fe,Me,Ve,He=t(6352),Ye=t.n(He);function Ge(e,n,t){if(e&&e.startsWith(N.USER_AVATAR_URL_PREFIX)){const s=window.env.apiPrefix||"/";return t?Ye()(s,N.USER_AVATAR_PATH_PREFIX,e.replace(N.USER_AVATAR_URL_PREFIX,"")):Ye()(s,N.USER_AVATAR_PATH_PREFIX,n,e.replace(N.USER_AVATAR_URL_PREFIX,""))}return e}function Je(e){let{user:n}=e;return(n.connectedAccounts||[]).map((e=>(0,te.jsx)(ge.Z,{style:{alignItems:"flex-start"},valueComponent:"div",nameWidth:120,name:e.provider,children:(0,te.jsx)(U.Z,{did:e.did,showQrcode:!0})},e.did)))}Je.propTypes={user:d().object.isRequired},Je.defaultProps={},d().string.isRequired;const Xe="info";function Qe(e){let{userDid:n,onCancel:t,initTab:s,createPassportSvg:i}=e;const{api:r,ws:{useSubscription:a},inService:l}=(0,W.h6)(),{roles:c,teamDid:d,enablePassportIssuance:m}=(0,q.DJ)(),{t:u,locale:p}=(0,k.PE)(),h=(0,ye.Z)({user:null,issuances:null,tab:s||Xe}),g=async(e,n)=>{try{const t=await r.doBatchQuery({getUser:{input:{teamDid:e,user:{did:n},options:{includeTags:!0}}},getPassportIssuances:{input:{teamDid:e,ownerDid:n}}});t.getUser.user&&(t.getUser.user.avatar=Ge(t.getUser.user.avatar,e,l),t.getUser.user.passports=(t.getUser.user.passports||[]).filter((e=>e.issuer))),h.user=t.getUser.user||{},h.issuances=t.getPassportIssuances.list||[]}catch(t){I.Z.error((0,M.Z)(t))}};(0,o.useEffect)((()=>{d&&g(d,n)}),[n,d]);a(_.TeamEvents.userUpdated,(e=>{e.teamDid===d&&e.user&&e.user.did===n&&g(d,n)}),[n,d]),(0,o.useEffect)((()=>{h.issuances&&!h.issuances.length&&"issuances"===h.tab&&(h.tab=Xe)}),[h.issuances]);const x=async e=>{await g(d,e.did),h.tab=Xe},v={info:{label:u("common.basicInfo"),value:Xe,component:()=>{var e,n;return(h.user?[{name:u("team.member.name"),value:h.user.fullName},{name:u("common.email"),value:h.user.email},{name:u("team.member.source"),value:(0,te.jsx)(f.Z,{display:"flex",alignItems:"center",children:_.PROVIDER_NAME[(null===(e=h.user)||void 0===e?void 0:e.sourceProvider)||N.USER_TYPE.WALLET]||(null===(n=h.user)||void 0===n?void 0:n.sourceProvider)})},{name:u("team.member.allowLogin"),value:h.user.approved?u("common.yes"):u("common.no")},{name:u("team.member.lastLogin"),value:(0,M.B2)(h.user.lastLoginAt,p)},{name:u("team.member.lastLoginIp"),value:h.user.lastLoginIp||""},{name:u("common.createdAt"),value:(0,M.B2)(h.user.createdAt,p)},{name:u("common.remark"),value:h.user.remark||"--"},Array.isArray(h.user.tags)&&h.user.tags.length>0?{name:u("common.tags"),value:h.user.tags.map((e=>(0,te.jsx)(z.Z,{style:{background:e.color,color:(0,C.getTextColor)(e.color),marginRight:4},children:e.title},e.id)))}:null].filter(Boolean):[]).map((e=>e.name===u("common.did")?(0,te.jsx)(ge.Z,{valueComponent:"div",nameWidth:120,name:e.name,nameFormatter:()=>u("common.did"),children:e.value},e.name):(0,te.jsx)(ge.Z,{style:{alignItems:"flex-start"},valueComponent:"div",nameWidth:120,name:e.name,children:e.value},e.name)))}},oauth:{label:u("team.member.connectedAccounts"),value:"oauth",component:()=>(0,te.jsx)(Je,{user:h.user,onChangeUser:x})},passports:{label:u("common.passport"),value:"passports",component:()=>(0,te.jsx)(Le,{user:h.user,teamDid:d,roles:c,createPassportSvg:i,onCreate:()=>{g(d,n).then((()=>{m&&h.issuances&&h.issuances.length&&(h.tab="issuances")}))},onRefresh:()=>{g(d,n)}})},issuances:{label:u("team.passport.issuance.pending"),value:"issuances",component:()=>(0,te.jsx)(Ze,{issuances:h.issuances||[],teamDid:d,onRefresh:()=>g(d,n)})}},y=Object.values(v).map((e=>{let{label:n,value:t}=e;return{label:n,value:t}})).filter((e=>{if("issuances"===e.value)return m&&h.issuances&&!!h.issuances.length;if("oauth"===e.value){var n;return((null===(n=h.user)||void 0===n?void 0:n.connectedAccounts)||[]).find((e=>{var n;return e.provider!==((null===(n=h.user)||void 0===n?void 0:n.sourceProvider)||_.LOGIN_PROVIDER.WALLET)}))}return!0})),j=v[h.tab]||v.info;return(0,te.jsx)(b.ZP,{title:u("common.member"),onClose:t,open:!0,PaperProps:{style:{maxWidth:632,minHeight:"80vh"}},fullWidth:!0,actions:h.user&&(0,te.jsx)(F.Z,{permission:l?"":"mutate_team",role:l?M.Wf:[],children:(0,te.jsx)(Ke,{user:h.user,children:e=>{let{open:n}=e;return(0,te.jsxs)(nn,{onClick:n,children:[h.user.approved?(0,te.jsx)(xe.Z,{style:{fontSize:"1.2em",marginRight:"0.4em"}}):(0,te.jsx)(ve.Z,{style:{fontSize:"1.2em",marginRight:"0.4em"}}),h.user.approved?u("team.member.forbidLogin"):u("team.member.allowLogin")]})}})}),children:(0,te.jsxs)($e,{children:[!h.user&&(0,te.jsx)(en,{children:(0,te.jsx)(V.Z,{})}),h.user&&(0,te.jsxs)("div",{children:[(0,te.jsxs)(f.Z,{display:"flex",alignItems:"center",className:"info",children:[(0,te.jsx)(fe.Z,{src:h.user.avatar,style:{width:48,height:48,backgroundColor:"transparent",marginRight:16}}),(0,te.jsxs)(f.Z,{children:[(0,te.jsx)(f.Z,{className:"name",children:h.user.fullName}),(0,te.jsx)(f.Z,{className:"did",mt:1,children:(0,te.jsx)(U.Z,{did:h.user.did,showQrcode:!0})})]})]}),(0,te.jsx)(f.Z,{mx:3,className:"tabs",children:(0,te.jsx)(he.Z,{tabs:y,current:h.tab,onChange:e=>{h.tab=e},scrollButtons:"auto"})}),(0,te.jsx)("div",{className:"body",children:(0,te.jsx)(j.component,{})})]})]})})}Qe.propTypes={userDid:d().string.isRequired,onCancel:d().func.isRequired,createPassportSvg:d().func.isRequired,initTab:d().string},Qe.defaultProps={initTab:Xe};const $e=r.Z.div(Fe||(Fe=(0,i.Z)(["\n .info {\n .name {\n font-weight: 400;\n font-size: 18px;\n line-height: 25px;\n color: #222222;\n }\n }\n\n .tabs {\n margin-top: 24px;\n margin-left: 0;\n margin-right: 0;\n }\n\n .body {\n margin-top: 24px;\n }\n"]))),en=r.Z.div(Me||(Me=(0,i.Z)(["\n flex: 1;\n display: flex;\n justify-content: center;\n align-items: center;\n height: 200px;\n"]))),nn=r.Z.div(Ve||(Ve=(0,i.Z)(["\n flex-shrink: 0;\n width: 100%;\n height: 64px;\n display: flex;\n justify-content: center;\n align-items: center;\n cursor: pointer;\n color: #999;\n fill: #999;\n font-size: 16px;\n border-top: 1px solid #f0f0f0;\n position: sticky;\n bottom: 0;\n background: #fff;\n z-index: 10;\n"])));var tn,sn=t(27773);function on(){const{api:e,inService:n}=(0,W.h6)(),{t:t,locale:s}=(0,o.useContext)(k.RD),{teamDid:i,invitations:r,refresh:a,endpoint:l}=(0,q.DJ)(),[c,d]=(0,o.useState)(null),[m,u]=(0,o.useState)(!1),p=()=>{u(!1),d(null)},f=e=>l?(0,M.ly)({inviteId:e.inviteId,endpoint:l}):"",h=[{label:t("team.inviting.link"),name:"inviteId",options:{sort:!1,customBodyRenderLite:e=>{const n=r[e];return l?(0,te.jsx)(ne.Z,{children:f(n)}):(0,te.jsx)(V.Z,{size:16})}}},{label:t("common.role"),name:"role",widtn:70},{label:t("common.remark"),name:"remark",options:{customBodyRender:e=>e||"--"}},{label:t("team.inviting.inviter"),name:"inviter.fullName",options:{sort:!1,customBodyRender:(e,n)=>{var t;let{rowIndex:s}=n;const i=r[s];return null===i||void 0===i||null===(t=i.inviter)||void 0===t?void 0:t.fullName}}},{label:t("common.expires"),name:"expireDate",options:{customBodyRender:e=>(0,te.jsx)(E.Z,{value:e,locale:s})}},{label:t("common.actions"),name:"",width:100,align:"center",options:{sort:!1,customBodyRenderLite:s=>{const o=r[s];return(0,te.jsx)(F.Z,{permission:n?"":"mutate_team",role:n?M.Wf:[],children:(0,te.jsxs)(w.Z,{onClick:()=>d({title:t("team.inviting.delete.title"),description:t("team.inviting.delete.description",{link:f(o)}),confirm:t("common.delConfirm"),cancel:t("common.cancel"),onConfirm:()=>(async n=>{let{inviteId:t}=n;if(!m){u(!0);try{await e.deleteInvitation({input:{teamDid:i,inviteId:t}}),a(),await(0,M._v)(800)}catch(s){console.error(s)}finally{u(!1),d(null)}}})(o),onCancel:p}),size:"small",color:"error",variant:"text",children:[(0,te.jsx)(sn.default,{style:{fontSize:"1.2em"}}),t("common.delete")]})})}}}];return(0,te.jsxs)(rn,{children:[r.length?(0,te.jsx)(D.Z,{locale:s,data:[...r],columns:h,verticalKeyWidth:100,options:{download:!1,filter:!1,print:!1}}):(0,te.jsx)(Te.Z,{children:t("common.empty")}),c&&(0,te.jsx)(be.Z,{title:c.title,description:c.description,confirm:c.confirm,cancel:c.cancel,params:c.params,onConfirm:c.onConfirm,onCancel:c.onCancel})]})}const rn=r.Z.div(tn||(tn=(0,i.Z)(["\n margin-top: -20px;\n"])));on.propTypes={},on.defaultProps={};var an,ln=t(53047),cn=t(46954),dn=t(44067),mn=t(36299),un=t(92726);function pn(e){let{type:n,user:t,onIssuePassport:s,onRefresh:i}=e;const{teamDid:r,roles:a}=(0,q.DJ)(),{confirmHolder:l,confirmApi:c}=(0,b.N4)(),{t:d}=(0,o.useContext)(k.RD),[m,u]=(0,o.useState)(!1),{api:p}=(0,W.h6)(),f=(0,B.Z)((async()=>{const{userSessions:e=[]}=t,n=e.map((e=>()=>p.logoutUser({input:{teamDid:r,appPid:r,userDid:t.did,visitorId:e.visitorId}})));await(0,mn.Z)(n,{concurrency:3,stopOnError:!1})}));return(0,te.jsxs)(te.Fragment,{children:[l,(0,te.jsx)(un.Z,{"data-cy":"member-actions",actions:[{icon:(0,te.jsx)(j.Z,{fontSize:"small"}),text:d("team.passport.issue"),"data-cy":"action-issue-passport",onClick:e=>{e.stopPropagation(),u(!0)}},e=>{let{close:n}=e;return(0,te.jsx)(Ke,{user:t,children:e=>{let{open:s}=e;return(0,te.jsxs)(G.Z,{dense:!0,onClick:e=>{e.stopPropagation(),n(),s(e)},"data-cy":"action-toggle-block",children:[(0,te.jsx)(cn.Z,{style:{minWidth:24,marginRight:8},children:t.approved?(0,te.jsx)(xe.Z,{}):(0,te.jsx)(ve.Z,{})}),(0,te.jsx)(dn.Z,{primary:t.approved?d("team.member.forbidLogin"):d("team.member.allowLogin")})]})}},"toggle-approval")},"blocklet"===n&&{icon:(0,te.jsx)(ln.Z,{fontSize:"small"}),text:d("team.member.forceLogout"),onClick:e=>{e.stopPropagation(),c.open({title:d("team.member.forceLogout"),content:d("team.member.forceLogoutDescription"),confirmButtonText:d("common.confirm"),cancelButtonText:d("common.cancel"),onClick:e=>e.stopPropagation(),onConfirm:async()=>{await f(),await c.close(),i()}})}}].filter(Boolean)}),m&&(0,te.jsx)(De,{teamDid:r,ownerDid:t.did,needReceive:(0,ke.h1)(t)===t.did,roles:a,onCancel:()=>u(!1),onSuccess:()=>{s(),u(!1)}})]})}pn.propTypes={type:d().oneOf(["server","blocklet"]).isRequired,user:d().object.isRequired,onIssuePassport:d().func,onRefresh:d().func},pn.defaultProps={onIssuePassport:()=>{},onRefresh:()=>{}};const fn="$all",hn="$none",gn=(e,n)=>{const t=e.find((e=>e.key===n));return(null===t||void 0===t?void 0:t.value)||0},xn=(e,n)=>{const t=e.passports||[];return!!t.length&&!t.some((e=>{var t;return n.includes(null===(t=e.issuer)||void 0===t?void 0:t.id)}))};function vn(e){let{user:n}=e;const{t:t}=(0,o.useContext)(k.RD),s=(0,te.jsxs)("div",{className:"member-block",children:[(0,te.jsxs)("div",{className:"member-avatar",children:[(0,te.jsx)(R.Z,{src:"".concat(n.avatar,"?imageFilter=resize&w=48&h=48"),size:32,did:n.did,shape:"circle",style:{borderRadius:"100%",overflow:"hidden"}}),!n.approved&&(0,te.jsx)("did",{className:"badge-block"}),n.isFromExternal&&(0,te.jsx)(p.Z,{title:t("team.passport.externalPassport"),children:(0,te.jsx)(f.Z,{ml:1,className:"icon",children:(0,te.jsx)(P.Z,{})})})]}),(0,te.jsxs)("div",{className:"member-meta",children:[(0,te.jsx)("div",{className:"member-text",children:n.fullName}),Array.isArray(n.tags)&&n.tags.length>0&&(0,te.jsx)("div",{className:"member-tags",children:n.tags.map((e=>(0,te.jsx)(z.Z,{style:{background:e.color,color:(0,C.getTextColor)(e.color),marginRight:4},children:e.title},e.id)))})]})]});return n.approved?s:(0,te.jsx)(f.Z,{display:"flex",alignItems:"center",children:(0,te.jsx)(p.Z,{title:t("team.member.forbidLoginDescription"),children:s})})}function yn(e){let{type:n,createPassportSvg:t}=e;const{confirmApi:s,confirmHolder:i}=(0,b.N4)({sx:{".MuiDialog-paper":{borderRadius:2,maxWidth:1e3},".ux-dialog_title":{fontWeight:600},".ux-dialog_closeButton":{p:1},".MuiDialogActions-root":{display:{xs:"none",md:"flex"}}}}),{appIdList:r=[]}=(0,K.y0)(),a=(0,h.Z)((e=>e.breakpoints.down("md"))),{teamDid:c,invitations:d,teamIssuerDid:m,roles:p,refresh:R,enablePassportIssuance:P,endpoint:C,api:z}=(0,q.DJ)(),{inService:V,ws:{useSubscription:H}}=(0,W.h6)(),{t:Y,locale:G}=(0,o.useContext)(k.RD),[J,X]=(0,o.useState)(!1),[Q,$]=(0,o.useState)(!1),[ee,ne]=(0,o.useState)(!1),[ie,oe]=(0,o.useState)(!1),[re,ae]=(0,o.useState)(!1),[le,ce]=(0,o.useState)([]),[de,ue]=(0,o.useState)(),[pe,fe]=(0,o.useState)([]),[he]=(0,A.Z)({did:void 0}),ge="members-".concat(c),xe=(0,D.$)(ge),[ve,ye]=(0,o.useState)({role:fn,searchText:xe.searchText||"",hideBlocked:!1,pageSize:xe.rowsPerPage||10,page:xe.page?xe.page+1:1});(0,O.Z)((async()=>{if(he.did){const{user:e}=await z.getUser({did:he.did});e&&oe(e)}}));const be=(p||[]).map((e=>({name:e.name,title:e.title,num:gn(pe,e.name)})));be.unshift({name:fn,title:"All Members",num:gn(pe,fn)}),be.push({name:hn,title:"Other",num:gn(pe,hn)});const je=()=>{const e={includeTags:!0,includeUserSessions:"blocklet"===n};ve.hideBlocked&&(e.approved=!0),e.role=ve.role,ve.searchText&&(e.search=ve.searchText),ae(!0),z.getUsers({query:e,paging:{page:ve.page,pageSize:ve.pageSize}}).then((e=>{ae(!1),(e.users||[]).forEach((e=>{e.isFromExternal=xn(e,l()(r)?[m]:r),e.avatar=Ge(e.avatar,c,V),e.passports=(e.passports||[]).filter((e=>e.issuer))})),ce(e.users||[]),ue(e.paging.total)})).catch((e=>{ae(!1),I.Z.error(e.message)}))},Ze=()=>{z.getUsersCountPerRole().then((e=>{fe(e.counts||[])})).catch((e=>{I.Z.error(e.message)}))},Se=e=>{e.teamDid===c&&(je(),Ze())};(0,o.useEffect)((()=>{je()}),["".concat(ve.hideBlocked,"-").concat(ve.role,"-").concat(ve.page,"-").concat(ve.pageSize,"-").concat(ve.searchText)]),(0,o.useEffect)((()=>{Ze()}),[]),H(_.TeamEvents.userUpdated,Se,[ve]),H(_.TeamEvents.userAdded,Se,[ve]);const Re=P,ke=(0,B.Z)((e=>{s.open({title:"User Sessions",content:(0,te.jsx)(L.YZ,{user:e,showAction:!1,showUser:!1}),onConfirm(){s.close()},confirmButtonText:Y("common.close"),showCancelButton:!1})})),we=[{label:Y("common.name"),name:"fullName",options:{customBodyRenderLite:e=>{const n=le[e];return(0,te.jsx)("div",{"data-cy":"member-name-".concat(n.fullName),children:(0,te.jsx)(vn,{user:n})},n.did)}}},{label:Y("common.address"),name:"did",options:{customBodyRender:e=>(0,te.jsx)(U.Z,{size:14,responsive:!a,compact:a,copyable:!1,did:e})}},{label:Y("team.member.lastLogin"),name:"lastLoginAt",options:{customBodyRender:e=>(0,te.jsx)(f.Z,{sx:{minWidth:"100px"},children:(0,te.jsx)(E.Z,{value:e,locale:G})})}},{label:Y("team.member.lastLoginIp"),name:"lastLoginIp",options:{customBodyRender:e=>e||"-"}},{label:Y("team.member.source"),name:"sourceProvider",options:{customBodyRenderLite:e=>{const n=le[e],t=n.sourceProvider||N.USER_TYPE.WALLET,s=_.PROVIDER_NAME[t]||t;return n.sourceAppPid?"".concat(s," (").concat(Y("team.member.federated"),")"):s}}},"blocklet"===n&&{label:Y("team.member.activeUserSessions"),name:"userSessions",options:{customBodyRenderLite:e=>{var n,t,s;const i=le[e];return(0,te.jsx)(g.Z,{onClick:e=>{e.stopPropagation(),ke(i)},children:(0,te.jsx)(x.Z,{badgeContent:null===i||void 0===i||null===(n=i.userSessions)||void 0===n?void 0:n.length,color:(null===i||void 0===i||null===(t=i.userSessions)||void 0===t?void 0:t.length)>0?"primary":"default",sx:(null===i||void 0===i||null===(s=i.userSessions)||void 0===s?void 0:s.length)>0?{}:{".MuiBadge-badge":{backgroundColor:"grey",color:"white"}},showZero:!0,children:(0,te.jsx)(S.Z,{})})})}}},{label:Y("common.actions"),name:"",width:100,align:"center",verticalKeyAlign:"center",options:{customBodyRenderLite:e=>{const t=le[e];return(0,te.jsx)(F.Z,{permission:V?"":"mutate_team",role:V?M.Wf:[],children:(0,te.jsx)(pn,{type:n,user:t,onIssuePassport:()=>oe({...t,initTab:"issuances"}),onRefresh:()=>Se({teamDid:c})})})}}}].filter(Boolean),Te=[];Re&&(Te.push((0,te.jsxs)(w.Z,{variant:"outlined",style:{flexShrink:0,marginRight:16},color:"primary",size:"small",onClick:()=>{ne(!0)},children:[(0,te.jsx)(T.Z,{style:{height:"1em",marginRight:4}}),Y("common.inviting"),d.length?" (".concat(d.length,")"):""]}),(0,te.jsx)(F.Z,{permission:V?"":"mutate_team",role:V?M.Wf:[],children:(0,te.jsxs)(w.Z,{style:{flexShrink:0,marginRight:16},variant:"contained",edge:"end",color:"primary",size:"small","data-cy":"invite-member",onClick:()=>X(!0),children:[(0,te.jsx)(j.Z,{style:{fontSize:"1.3em",marginRight:4}}),Y("team.invite")]})})),"server"===n&&Te.push((0,te.jsx)(F.Z,{role:"owner",children:(0,te.jsxs)(w.Z,{style:{flexShrink:0},variant:"contained",edge:"end",color:"error",size:"small","data-cy":"invite-member",onClick:()=>$(!0),children:[(0,te.jsx)(Z.Z,{style:{fontSize:"1.3em",marginRight:4}}),Y("team.transferNode.name")]})})));const Pe=(0,o.useRef)(null),Ce={sort:!1,download:!1,filter:!1,print:!1,expandableRowsOnClick:!0,onRowClick(e,n,t){var s;let{dataIndex:i}=n;if(null!==(s=Pe.current)&&void 0!==s&&s.contains(t.target)){const e=le[i];oe(e)}},page:ve.page-1,rowsPerPage:ve.pageSize,count:de,searchDebounceTime:600};return(0,te.jsxs)(bn,{children:[i,(0,te.jsxs)(f.Z,{className:"main",display:"flex",sx:{mt:V?4:0},children:[(0,te.jsx)("div",{className:"left",children:(0,te.jsx)("div",{className:"tabs",children:be.map((e=>(0,te.jsxs)("div",{className:"tab ".concat(ve.role===e.name?"active":""),onClick:()=>{return n=e.name,void(re||ye((e=>({...e,role:n,hideBlocked:!1,searchText:"",page:1}))));var n},children:[(0,te.jsx)("span",{className:"text",children:e.title}),(0,te.jsx)("span",{className:u()("badge",{"is-rect":e.num>999}),children:e.num})]},e.name)))})}),(0,te.jsx)("div",{ref:Pe,className:"right",children:(0,te.jsx)(D.Z,{className:"main-table",verticalKeyWidth:100,locale:G,durable:ge,durableKeys:["page","rowsPerPage"],title:(0,te.jsx)("div",{className:"table-toolbar-left",children:(0,te.jsx)(v.Z,{control:(0,te.jsx)(y.Z,{sx:{display:"flex !important"},disabled:re,color:"primary",checked:ve.hideBlocked,onChange:e=>{return n=e.target.checked,void ye((e=>({...e,hideBlocked:n,page:1})));var n}}),label:Y("team.member.hideBlockedMember")})}),data:le,columns:we,customButtons:Te,options:Ce,loading:re,onChange:e=>{let{page:n,rowsPerPage:t,searchText:s}=e;ve.pageSize!==t?ye((e=>({...e,pageSize:t,page:1}))):ve.page!==n+1?ye((e=>({...e,page:n+1}))):ve.searchText!==s&&ye((e=>({...e,searchText:s,page:1})))}})})]}),(0,te.jsx)(b.ZP,{title:Y("common.inviting"),onClose:()=>ne(!1),open:ee,maxWidth:"lg",fullWidth:!0,children:(0,te.jsx)(on,{})}),ie&&(0,te.jsx)(Qe,{onCancel:()=>oe(null),userDid:ie.did,createPassportSvg:t,initTab:ie.initTab}),J&&(0,te.jsx)(se,{teamDid:c,endpoint:C,roles:p,onCancel:()=>X(!1),onSuccess:()=>{R(),X(!1)}}),Q&&(0,te.jsx)(me,{teamDid:c,endpoint:C,roles:p,onCancel:()=>$(!1),onSuccess:()=>{R(),$(!1)}})]})}vn.propTypes={user:d().object.isRequired};const bn=r.Z.div(an||(an=(0,i.Z)(["\n .main {\n .left {\n width: 168px;\n flex-shrink: 0;\n margin-right: 65px;\n .tabs {\n padding-top: 16px;\n .tab {\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: 8px 16px;\n transition: background 0.4s;\n\n width: 168px;\n height: 36px;\n border-radius: 8px;\n\n cursor: pointer;\n user-select: none;\n\n &:nth-child(n + 2) {\n margin-top: 24px;\n }\n\n &.active {\n background: #f2f2f2;\n }\n\n &:hover {\n background: #f2f2f2;\n }\n\n .text {\n font-weight: 400;\n font-size: 16px;\n line-height: 19px;\n\n color: #222222;\n }\n\n .badge {\n display: flex;\n flex-shrink: 0;\n justify-content: center;\n align-items: center;\n width: 20px;\n height: 20px;\n border-radius: 100%;\n color: #fff;\n background: #666666;\n font-size: 10px;\n font-weight: 400;\n &.is-rect {\n width: auto;\n border-radius: 8px;\n padding: 0 4px;\n }\n }\n }\n }\n @media (max-width: ","px) {\n display: none;\n }\n }\n .right {\n flex: 1;\n overflow: auto;\n }\n }\n\n .member-block {\n display: flex;\n justify-content: flex-start;\n align-items: center;\n .member-avatar {\n position: relative;\n display: flex;\n justify-content: center;\n align-items: center;\n }\n .member-meta {\n margin-left: 10px;\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: flex-start;\n }\n .badge-block {\n width: 14px;\n height: 14px;\n position: absolute;\n right: -4px;\n top: -4px;\n background: #ff5757;\n border-radius: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n &::after {\n content: '';\n width: 6px;\n height: 2px;\n background: #fefefe;\n }\n }\n }\n\n .table-toolbar-left {\n display: flex;\n justify-content: center;\n align-items: center;\n padding: 7px 0;\n }\n"])),(e=>e.theme.breakpoints.values.md));yn.propTypes={type:d().oneOf(["server","blocklet"]).isRequired,createPassportSvg:d().func.isRequired}},82638:(e,n,t)=>{"use strict";t.d(n,{Z:()=>c});var s,i=t(71171),o=t(33518),r=t(47020),a=t(57201),l=t(96266);const c=(0,o.Z)((e=>{let{children:n,...t}=e;return(0,l.jsx)(r.Z,{...t,id:"outlined-basic",variant:"outlined",InputProps:{startAdornment:(0,l.jsx)(a.default,{})},size:"small",children:n})}))(s||(s=(0,i.Z)(["\n .MuiOutlinedInput-root {\n color: #999;\n &.MuiInputBase-adornedStart .MuiSvgIcon-root {\n color: #bfbfbf;\n }\n opacity: 1;\n border-radius: 36px;\n background: #f8f8f8;\n padding-left: 16px;\n input {\n padding-left: 8px;\n font-weight: bold;\n &::placeholder {\n opacity: 1;\n color: #bfbfbf;\n }\n padding-top: 8.5px;\n padding-bottom: 8.5px;\n }\n }\n\n .MuiOutlinedInput-notchedOutline,\n .MuiOutlinedInput-root:hover .MuiOutlinedInput-notchedOutline,\n .Mui-focused .MuiOutlinedInput-notchedOutline {\n border-color: #eee;\n border-width: 1px;\n }\n"])))},18901:(e,n,t)=>{"use strict";t.d(n,{Z:()=>o});var s,i=t(71171);const o=t(33518).Z.div(s||(s=(0,i.Z)(["\n display: flex;\n justify-content: space-between;\n align-items: center;\n font-size: 14px;\n .left,\n .right {\n }\n .right {\n display: flex;\n align-items: center;\n }\n .tabs {\n .MuiButton-root {\n border: none;\n color: #999;\n &.active {\n color: #222;\n }\n }\n }\n\n @media (max-width: 600px) {\n display: block;\n .right {\n margin-top: 12px;\n }\n }\n"])))},99132:(e,n,t)=>{"use strict";t.d(n,{x:()=>b});var s=t(35432),i=t(2842),o=t(81534),r=t(10458),a=Object.defineProperty,l=(e,n,t)=>(((e,n,t)=>{n in e?a(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t})(e,"symbol"!==typeof n?n+"":n,t),t);class c{constructor(e){let{api:n}=e;l(this,"api"),this.api=n}async getUserPublicInfo(e){let{did:n}=e;const{data:t}=await this.api.get("/api/user",{params:{did:n}});return t}async getUserPrivacyConfig(e){let{did:n}=e;const{data:t}=await this.api.get("/api/user/privacy/config",{params:{did:n}});return t}async saveUserPrivacyConfig(e){const{data:n}=await this.api.post("/api/user/privacy/config",e);return n}async getUserNotificationConfig(){const{data:e}=await this.api.get("/api/user/notification/config");return e}async saveUserNotificationConfig(e){const{data:n}=await this.api.post("/api/user/notification/config",e);return n}async testNotificationWebhook(e){const{data:n}=await this.api.put("/api/user/notification/webhook",e);return n}async getProfileUrl(e){let{did:n,locale:t}=e;const o="".concat(s.WELLKNOWN_SERVICE_PATH_PREFIX,"/user");return(0,i.jb)(o,{did:n,locale:t})}async logout(e){let{visitorId:n}=e;const{data:t}=await this.api.post("/api/user/logout",{visitorId:n});return t}}class d{getSessionToken(){return o.Z.get(s.SESSION_TOKEN_STORAGE_KEY)}setSessionToken(e){o.Z.set(s.SESSION_TOKEN_STORAGE_KEY,e)}removeSessionToken(){o.Z.remove(s.SESSION_TOKEN_STORAGE_KEY)}getRefreshToken(){return localStorage.getItem(s.REFRESH_TOKEN_STORAGE_KEY)}setRefreshToken(e){localStorage.setItem(s.REFRESH_TOKEN_STORAGE_KEY,e)}removeRefreshToken(){localStorage.removeItem(s.REFRESH_TOKEN_STORAGE_KEY)}}var m=Object.defineProperty,u=(e,n,t)=>(((e,n,t)=>{n in e?m(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t})(e,"symbol"!==typeof n?n+"":n,t),t);class p{constructor(e){let{api:n}=e;u(this,"api"),this.api=n}async getUserSessions(e){let{did:n}=e;const{data:t}=await this.api.get("/api/user-session",{params:{userDid:n}});return t}}async function f(e,n){e.metaData.endTime=+new Date;const{startTime:t,endTime:s}=e.metaData,i=s-t;i<n&&await function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return new Promise((n=>{setTimeout((()=>{n()}),e)}))}(n-i),delete e.metaData}const h=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{lazy:n=!1,lazyTime:t=300}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const s=r.create({...e,headers:{...e.headers,"x-blocklet-js-sdk-version":"1.16.25"}});return n&&(s.interceptors.request.use((e=>(e.metaData={startTime:+new Date},e)),(e=>Promise.reject(e))),s.interceptors.response.use((async e=>(await f(e.config,t),e)),(async e=>(await f(e.response.config,t),Promise.reject(e))))),s},g=s.WELLKNOWN_SERVICE_PATH_PREFIX;function x(e){let{getSessionToken:n,setSessionToken:t,removeSessionToken:i,getRefreshToken:r,setRefreshToken:a,removeRefreshToken:l,onRefreshTokenError:c,onRefreshTokenSuccess:d}=e,m=null;const u=h({baseURL:g,timeout:3e4,...arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}});return u.interceptors.request.use((async e=>{if(!o.Z.get(s.SESSION_TOKEN_STORAGE_KEY)){const t=n();t&&(e.headers.authorization="Bearer ".concat(encodeURIComponent(t)))}return m&&await m,e}),(e=>Promise.reject(e))),u.interceptors.response.use((e=>e),(async e=>{var n;const s=e.config;if(s.headers={...null===s||void 0===s?void 0:s.headers},401===(null===e||void 0===e||null===(n=e.response)||void 0===n?void 0:n.status)&&!s._retry){s._retry=!0,m||(m=async function(e){if(!e)throw new Error("Refresh token not found");const n=h({baseURL:g,timeout:1e4,headers:{authorization:"Bearer ".concat(encodeURIComponent(e))}}),{data:t}=await n.post("api/did/refreshSession");return t}(r()));try{const e=await m;return t(e.nextToken),a(e.nextRefreshToken),"function"===typeof d&&d(e),u(s)}catch(o){return i(),l(),"function"===typeof c&&c(o),Promise.reject(o)}finally{m=null}}return Promise.reject(e)})),u}var v=Object.defineProperty,y=(e,n,t)=>(((e,n,t)=>{n in e?v(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t})(e,"symbol"!==typeof n?n+"":n,t),t);class b{constructor(){y(this,"api"),y(this,"user"),y(this,"userSession"),y(this,"token");const e=new d,n=x({getSessionToken:e.getSessionToken,setSessionToken:e.setSessionToken,removeSessionToken:e.removeSessionToken,getRefreshToken:e.getRefreshToken,setRefreshToken:e.setRefreshToken,removeRefreshToken:e.removeRefreshToken,onRefreshTokenError:()=>{console.error("Failed to refresh token")},onRefreshTokenSuccess:()=>{}});this.user=new c({api:n}),this.userSession=new p({api:n}),this.api=n,this.token=e}}}}]);
1
+ (self.webpackChunk_abtnode_webapp=self.webpackChunk_abtnode_webapp||[]).push([[4296,9132],{32322:(e,n,t)=>{"use strict";n.h1=void 0;const s=t(77277);function i(e){return(null===e||void 0===e?void 0:e.connectedAccounts)||[]}function o(e){return i(e).find((e=>e.provider===s.LOGIN_PROVIDER.WALLET))}n.h1=function(e){const n=o(e);return null===n||void 0===n?void 0:n.did}},15098:(e,n,t)=>{const{ROLES:s,PASSPORT_STATUS:i}=t(35432);e.exports={hasActiveOwnerPassport:e=>((null===e||void 0===e?void 0:e.passports)||[]).some((e=>e.role===s.OWNER&&e.status===i.VALID))}},92726:(e,n,t)=>{"use strict";t.d(n,{Z:()=>g});var s,i=t(71171),o=t(5057),r=t(55898),a=t.n(r),l=t(33518),c=t(67680),d=t(61533),m=t(74490),u=t(45267),p=t(46954),f=t(44067),h=t(96266);function g(e){let{actions:n,size:t,...s}=e;const[i,r]=(0,o.useState)(null),a=Boolean(i),l=e=>{try{e.stopPropagation(),e.preventDefault()}catch{}r(null)};return(0,h.jsxs)(x,{...s,children:[(0,h.jsx)(c.Z,{"aria-label":"more","aria-controls":"actions-menu","aria-haspopup":"true","data-cy":"actions-menu-icon",onClick:e=>{try{e.stopPropagation(),e.preventDefault()}catch{}r(e.currentTarget)},size:t,children:(0,h.jsx)(u.Z,{})}),(0,h.jsx)(d.Z,{id:"actions-menu","data-cy":"actions-menu",anchorEl:i,keepMounted:!0,open:a,onClose:l,slotProps:{paper:{}},children:n.map(((e,n)=>{if("function"===typeof e)return e({close:l});const{icon:t,text:s,onClick:i,disabled:r=!1,...a}=e;return(0,o.createElement)(m.Z,{...a,disabled:r,dense:!0,onClick:async e=>{await i(e),l()},key:n,"data-cy":"actions-menu-".concat(n)},(0,h.jsx)(p.Z,{style:{minWidth:24,marginRight:8},children:t}),(0,h.jsx)(f.Z,{primary:s}))}))})]})}g.propTypes={actions:a().array,size:a().oneOf(["small","medium","large"])},g.defaultProps={actions:[],size:"small"};const x=l.Z.div(s||(s=(0,i.Z)([""])))},50185:(e,n,t)=>{"use strict";t.d(n,{Z:()=>c});var s=t(5057),i=t(55898),o=t.n(i),r=t(12937),a=t(68420),l=t(96266);function c(e){let{children:n,...t}=e;const{t:i}=(0,s.useContext)(a.RD);return(0,l.jsx)(r.Z,{tip:i("common.copyTip"),copiedTip:i("common.copiedTip"),...t,children:n})}c.propTypes={children:o().any.isRequired}},9729:(e,n,t)=>{"use strict";t.d(n,{Z:()=>d});var s,i=t(71171),o=t(55898),r=t.n(o),a=t(33518),l=t(13727),c=t(96266);function d(e){const{passport:n,onDelete:t,...s}=e;return(0,c.jsxs)(m,{...s,children:[n.title||n.name," ",!!t&&(0,c.jsx)(l.default,{"data-cy":"delete-issuance",className:"delete",onClick:t})]})}d.propTypes={passport:r().object.isRequired,onDelete:r().func},d.defaultProps={onDelete:null};const m=a.Z.span(s||(s=(0,i.Z)(["\n display: inline-flex;\n padding: 2px 8px;\n background: ",";\n border-radius: 100vw;\n font-weight: 400;\n font-size: 12px;\n line-height: 22px;\n color: #fff;\n align-items: center;\n .delete {\n font-size: 1em;\n margin-left: 6px;\n cursor: pointer;\n }\n"])),(e=>e.theme.palette.primary.main))},75672:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>yn});var s,i=t(71171),o=t(5057),r=t(33518),a=t(75506),l=t.n(a),c=t(55898),d=t.n(c),m=t(52277),u=t.n(m),p=t(75239),f=t(39948),h=t(15715),g=t(67680),x=t(83407),v=t(26174),y=t(88092),b=t(13128),j=t(44919),Z=t(80578),S=t(64185),R=t(72333),k=t(68420),w=t(28726),T=t(68051),P=t(18945),C=t(49777),D=t(75760),E=t(49384),I=t(86229),N=t(35432),_=t(77277),A=t(10381),O=t(42061),L=t(99360),z=t(4962),B=t(22228),U=t(17450),W=t(58238),q=t(17425),K=t(29054),F=t(63406),M=t(46090),V=t(44846),H=t(55372),Y=t(11750),G=t(74490),J=t(51177),X=t(47020),Q=t(6041),$=t(80576),ee=t(88574),ne=t(50185),te=t(96266);function se(e){let{teamDid:n,roles:t,onCancel:s,onSuccess:i,onError:r,endpoint:a}=e;const{api:l}=(0,W.h6)(),[c,d]=(0,o.useState)(!1),[m,u]=(0,o.useState)(""),{t:p,locale:f}=(0,k.PE)(),[h,g]=(0,o.useState)(0),[x,v]=(0,o.useState)(""),[y,j]=(0,o.useState)(""),[Z,S]=(0,o.useState)(""),R=async()=>{if(!y)return void u(p("team.member.error.passportEmpty"));const e=Z.trim();u(null),d(!0);try{const{inviteInfo:t}=await l.createMemberInvitation({input:{teamDid:n,role:y,remark:e}});v(t),g(1)}catch(t){const e=(0,M.Z)(t);u(e),r(t)}finally{d(!1)}},T=[{body:(0,te.jsxs)(Y.Z,{component:"div",children:[(0,te.jsxs)($.Z,{style:{width:"100%"},variant:"outlined",children:[(0,te.jsx)(Q.Z,{children:p("common.passport")}),(0,te.jsx)(J.Z,{"data-cy":"invite-member-select-role",value:y,onChange:e=>{u(null),j(e.target.value)},fullWidth:!0,label:p("common.passport"),disabled:c,onKeyPress:e=>{"Enter"===e.key&&(e.preventDefault(),R())},children:t.filter((e=>"owner"!==e.name)).map((e=>(0,te.jsx)(G.Z,{value:e.name,"data-cy":"invite-member-select-option-".concat(e.name),children:(0,te.jsx)("span",{children:e.title||e.name})},e.name)))})]}),(0,te.jsx)("div",{style:{marginTop:20,marginBottom:10}}),(0,te.jsx)(X.Z,{label:p("common.remark"),autoComplete:"off",variant:"outlined",fullWidth:!0,style:{marginBottom:8},value:Z,onChange:e=>{u(null),S(e.target.value)},disabled:c,"data-cy":"invite-member-input-remark"}),(0,te.jsx)("div",{style:{marginTop:20,marginBottom:10}})]}),cancel:p("common.cancel"),confirm:p("team.member.inviteDialog.createInviteLink"),onCancel:s,onConfirm:R},{body:()=>{const e=(0,M.ly)({inviteId:x.inviteId,endpoint:a});return(0,te.jsxs)("div",{children:[(0,te.jsx)(ie,{children:p("team.member.inviteDialog.createSuccessTip",{expireDate:(0,M.B2)(x.expireDate,f)})}),(0,te.jsx)("div",{style:{marginTop:"40px"}}),(0,te.jsx)(ne.Z,{children:e})]})},confirm:p("common.confirm"),onConfirm:i}][h];return(0,te.jsxs)(b.ZP,{title:p("common.invite"),fullWidth:!0,open:!0,showCloseButton:!1,actions:(0,te.jsxs)(te.Fragment,{children:[T.cancel&&(0,te.jsx)(w.Z,{onClick:T.onCancel,color:"inherit",children:T.cancel}),(0,te.jsxs)(w.Z,{onClick:T.onConfirm,color:"primary",disabled:c||!y,variant:"contained",autoFocus:!0,children:[c&&(0,te.jsx)(V.Z,{size:16}),T.confirm]})]}),children:[(0,te.jsx)(H.Z,{component:"div",children:"function"===typeof T.body?T.body():T.body}),!!m&&(0,te.jsx)(ee.Z,{type:"error",variant:"icon",children:m})]})}se.propTypes={teamDid:d().string.isRequired,onCancel:d().func.isRequired,onSuccess:d().func.isRequired,onError:d().func,roles:d().array,endpoint:d().string},se.defaultProps={onError:()=>{},roles:[],endpoint:""};const ie=r.Z.div(s||(s=(0,i.Z)(["\n font-size: 16px;\n font-weight: bold;\n"])));var oe,re=t(26796),ae=t(43681),le=t.n(ae),ce=t(88577),de=t(73545);function me(e){let{teamDid:n,onCancel:t,onSuccess:s,onError:i,endpoint:r}=e;const{api:a,info:l}=(0,W.h6)(),{api:c}=(0,o.useContext)(de.B),[d,m]=(0,o.useState)(!1),{t:u,locale:p}=(0,k.PE)(),[f,h]=(0,o.useState)(""),[g,x]=(0,o.useState)(!1),[v,y]=(0,o.useState)(0),[j,Z]=(0,o.useState)(""),[S,R]=(0,o.useState)(""),T=!!le()(l,"ownerNft.did"),P=(0,re.default)((async()=>{if(T){const{state:e}=await a.getDelegationState();return e}return{delegated:!0}}));if(P.loading)return(0,te.jsx)(b.ZP,{title:u("team.transferNode.inviteDialog.title"),fullWidth:!0,open:!0,onClose:t,children:(0,te.jsx)("div",{style:{display:"flex",justifyContent:"center"},children:(0,te.jsx)(V.Z,{})})});if(P.error)return(0,te.jsx)(b.ZP,{title:u("team.transferNode.inviteDialog.title"),fullWidth:!0,open:!0,onClose:t,children:(0,te.jsx)(ee.Z,{type:"error",variant:"icon",children:(0,M.Z)(P.error)})});const C=async()=>{h(null),m(!0);try{const{inviteInfo:e}=await a.createTransferInvitation({input:{teamDid:n,role:"owner",remark:S.trim()}});Z(e),y(E.length-1)}catch(e){const n=(0,M.Z)(e);h(n),i(e)}finally{m(!1)}},D=()=>{x(!1),y(0)},E=[{body:(0,te.jsxs)(Y.Z,{component:"div",children:[(0,te.jsxs)(ee.Z,{type:"warning",children:[(0,te.jsx)(Y.Z,{children:u("team.transferNode.inviteDialog.tips.progress")}),(0,te.jsx)(Y.Z,{children:u("team.transferNode.inviteDialog.tips.newOwnerPermissions")})]}),(0,te.jsx)(ee.Z,{type:"warning",children:(0,te.jsx)(Y.Z,{children:u("team.transferNode.inviteDialog.tips.revoke")})}),(0,te.jsx)("div",{style:{marginTop:20,marginBottom:10}}),(0,te.jsx)(X.Z,{label:u("common.remark"),autoComplete:"off",variant:"outlined",fullWidth:!0,style:{marginBottom:8},value:S,onChange:e=>{h(null),R(e.target.value)},disabled:d,"data-cy":"transfer-node-input-remark"}),(0,te.jsx)("div",{style:{marginTop:20,marginBottom:10}})]}),cancel:u("common.cancel"),confirm:u("team.transferNode.inviteDialog.createInviteLink"),onCancel:t,onConfirm:T&&!le()(P,"value.delegated")?()=>{x(!0),y(1)}:C},{body:()=>(0,te.jsx)(ce.Z,{action:"delegate-transfer-nft",open:g,locale:p,checkFn:c.get,onClose:D,onSuccess:C,checkTimeout:3e5,webWalletUrl:(0,M.yP)(l),extraParams:{targetDID:l.did},messages:{title:u("team.transferNode.delegateDialog.title"),scan:u("team.transferNode.delegateDialog.scan"),confirm:u("team.transferNode.delegateDialog.confirm"),success:u("team.transferNode.delegateDialog.success")},popup:!0})},{body:()=>{const e=(0,M.ly)({inviteId:j.inviteId,endpoint:r});return(0,te.jsxs)("div",{children:[(0,te.jsx)(ue,{children:u("team.transferNode.inviteDialog.createSuccessTip",{expireDate:(0,M.B2)(j.expireDate,p)})}),(0,te.jsx)("div",{style:{marginTop:"40px"}}),(0,te.jsx)(ne.Z,{children:e})]})},confirm:u("common.confirm"),onConfirm:s}],I=E[v];return(0,te.jsxs)(b.ZP,{title:u("team.transferNode.inviteDialog.title"),fullWidth:!0,open:!0,showCloseButton:!1,actions:(0,te.jsxs)(te.Fragment,{children:[I.cancel&&(0,te.jsx)(w.Z,{onClick:I.onCancel,color:"inherit",children:I.cancel}),(0,te.jsxs)(w.Z,{onClick:I.onConfirm,color:"primary",disabled:d,variant:"contained",autoFocus:!0,children:[d&&(0,te.jsx)(V.Z,{size:16}),I.confirm]})]}),children:[(0,te.jsx)(H.Z,{component:"div",children:"function"===typeof I.body?I.body():I.body}),!!f&&(0,te.jsx)(ee.Z,{type:"error",variant:"icon",children:f})]})}me.propTypes={teamDid:d().string.isRequired,onCancel:d().func.isRequired,onSuccess:d().func.isRequired,onError:d().func,endpoint:d().string},me.defaultProps={onError:()=>{},endpoint:""};const ue=r.Z.div(oe||(oe=(0,i.Z)(["\n font-size: 16px;\n font-weight: bold;\n"])));var pe,fe=t(62681),he=t(94464),ge=t(64886),xe=t(12987),ve=t(71246),ye=t(12673),be=t(70461),je=t(9729);function Ze(e){let{issuances:n,teamDid:t,onRefresh:s}=e;const{api:i,inService:r}=(0,W.h6)(),{t:a,locale:l}=(0,o.useContext)(k.RD),[c,d]=(0,o.useState)(null),[m,u]=(0,o.useState)(!1),{endpoint:p}=(0,q.DJ)(),h=()=>{u(!1),d(null)},g=e=>p?(0,M._)({id:e.id,endpoint:p}):"";function x(e){let{data:n}=e;return(0,te.jsxs)("div",{className:"issuance",children:[(0,te.jsxs)(f.Z,{display:"flex",justifyContent:"space-between",children:[(0,te.jsx)(F.Z,{permission:r?"":"mutate_team",role:r?M.Wf:[],children:e=>e?(0,te.jsx)(je.Z,{passport:{title:n.title,name:n.name},onDelete:()=>d({title:a("team.passport.issuance.delete.title"),description:a("team.passport.issuance.delete.description",{link:g(n)}),confirm:a("common.delConfirm"),cancel:a("common.cancel"),onConfirm:()=>{(async e=>{let{id:n}=e;if(!m){u(!0);try{await i.deletePassportIssuance({input:{teamDid:t,sessionId:n}}),s()}catch(o){I.Z.error(o.message)}finally{u(!1),d(null)}}})(n)},onCancel:h})}):(0,te.jsx)(je.Z,{passport:{title:n.title,name:n.name}})}),(0,te.jsxs)("div",{style:{color:"#999"},children:[a("common.expires"),":\xa0",(0,M.B2)(n.expireDate,l)]})]}),(0,te.jsx)(f.Z,{mt:2,children:(0,te.jsx)(ne.Z,{children:g(n)})})]})}return(0,te.jsxs)(Se,{children:[n.map((e=>(0,te.jsx)(x,{data:e}))),c&&(0,te.jsx)(be.Z,{title:c.title,description:c.description,confirm:c.confirm,cancel:c.cancel,params:c.params,onConfirm:c.onConfirm,onCancel:c.onCancel})]})}const Se=r.Z.div(pe||(pe=(0,i.Z)(["\n .MuiTableHead-root {\n display: none;\n }\n .issuance {\n padding: 16px 0;\n border-bottom: 1px solid #f0f0f0;\n .MuiTypography-root {\n display: inline-block;\n width: 100%;\n background: #f3f3f3;\n border-radius: 4px;\n padding-top: 6px;\n padding-bottom: 6px;\n }\n }\n"])));Ze.propTypes={teamDid:d().string.isRequired,issuances:d().array,onRefresh:d().func},Ze.defaultProps={issuances:[],onRefresh:()=>{}};var Re=t(5178),ke=t(32322),we=t(87806),Te=t(25710),Pe=t(82638),Ce=t(18901);function De(e){let{teamDid:n,ownerDid:t,needReceive:s,roles:i,onCancel:r,onSuccess:a,onError:l,showOwnerPassport:c}=e;const{api:d}=(0,W.h6)(),[m,u]=(0,o.useState)(!1),[p,f]=(0,o.useState)(""),{t:h}=(0,k.PE)(),[g,x]=(0,o.useState)(""),v=async()=>{if(g){f(null),u(!0);try{await d.createPassportIssuance({input:{teamDid:n,name:g,ownerDid:t}}),a()}catch(e){const n=(0,M.Z)(e);f(n),l(e)}finally{u(!1)}}else f(h("team.member.error.passportEmpty"))};return(0,te.jsxs)(b.ZP,{title:h("team.passport.issue"),fullWidth:!0,open:!0,onClick:e=>e.stopPropagation(),onClose:r,disableEscapeKeyDown:!0,PaperProps:{style:{minHeight:"auto"}},actions:(0,te.jsxs)(te.Fragment,{children:[(0,te.jsx)(w.Z,{onClick:r,color:"inherit",size:"small",children:h("common.cancel")}),(0,te.jsxs)(w.Z,{onClick:v,color:"primary",size:"small",disabled:m||!g,variant:"contained",autoFocus:!0,"data-cy":"issue-passport-create-btn",children:[m&&(0,te.jsx)(V.Z,{size:16}),h(s?"team.passport.issuance.create.title":"oauth.issued")]})]}),children:[(0,te.jsx)(H.Z,{component:"div",children:(0,te.jsx)(Y.Z,{component:"div",children:(0,te.jsxs)($.Z,{style:{width:"100%"},variant:"outlined",children:[(0,te.jsx)(Q.Z,{children:h("common.passport")}),(0,te.jsx)(J.Z,{"data-cy":"issue-passport-select-passport",value:g,onChange:e=>{f(null),x(e.target.value)},fullWidth:!0,label:h("common.passport"),disabled:m,onKeyPress:e=>{"Enter"===e.key&&(e.preventDefault(),v())},children:i.filter((e=>c||"owner"!==e.name)).map((e=>(0,te.jsx)(G.Z,{value:e.name,"data-cy":"issue-passport-select-option-".concat(e.name),children:(0,te.jsx)("span",{children:e.title||e.name})},e.name)))})]})})}),!!p&&(0,te.jsx)(ee.Z,{type:"error",variant:"icon",children:p})]})}De.propTypes={teamDid:d().string.isRequired,ownerDid:d().string.isRequired,needReceive:d().bool,onCancel:d().func.isRequired,onSuccess:d().func.isRequired,onError:d().func,roles:d().array,showOwnerPassport:d().bool},De.defaultProps={onError:()=>{},roles:[],showOwnerPassport:!1,needReceive:!0};var Ee,Ie=t(26538),Ne=t.n(Ie);function _e(e){let{passport:n,user:t,color:s,width:i,icon:o,children:r,createPassportSvg:a,...l}=e;const{t:c}=(0,k.PE)();return(0,te.jsxs)(Ae,{display:"flex",alignItems:"center",...l,children:[(0,te.jsx)("div",{dangerouslySetInnerHTML:{__html:a({title:n.title||n.name,issuer:n.issuer&&n.issuer.name,issuerDid:n.issuer&&n.issuer.id,ownerName:t.fullName,ownerDid:t.did,ownerAvatarUrl:t.avatar,revoked:n.revoked,preferredColor:s,width:i})}}),(0,te.jsxs)("div",{className:"body",children:[(0,te.jsxs)(f.Z,{className:"title",display:"flex",alignItems:"center",children:[Ne()(n.title),(0,te.jsxs)("div",{className:"status-icons",children:[o,n.revoked&&(0,te.jsx)(we.Z,{})]})]}),n.expirationDate&&(0,te.jsx)(f.Z,{className:"title",display:"flex",alignItems:"center",children:c("team.passport.validUntil",{date:n.expirationDate})}),r]})]})}_e.propTypes={passport:d().any.isRequired,user:d().any.isRequired,color:d().string.isRequired,createPassportSvg:d().func.isRequired,icon:d().any,children:d().any,width:d().number},_e.defaultProps={icon:null,children:null,width:150};const Ae=(0,r.Z)(f.Z)(Ee||(Ee=(0,i.Z)(["\n .body {\n padding: 0;\n margin-left: 24px;\n margin-top: 0;\n }\n .title {\n font-weight: 400;\n font-size: 16px;\n line-height: 19px;\n color: #222222;\n }\n .tip {\n display: flex;\n align-items: center;\n font-size: 14px;\n margin-top: 6px;\n color: #bbb;\n }\n .status-icons {\n svg {\n fill: #bfbfbf;\n height: 1.2em;\n margin-left: 0.4em;\n }\n }\n"])));var Oe;function Le(e){let{action:n,passport:t}=e;const{t:s}=(0,k.PE)(),{roles:i}=(0,q.DJ)(),o=i.find((e=>e.name===t.role));return(0,te.jsxs)("div",{children:[(0,te.jsx)("div",{children:s("enable"===n?"team.member.enablePassportDescription":"team.member.revokePassportDescription")}),o&&(0,te.jsx)(f.Z,{mt:3,fontWeight:"bold",children:s("team.member.passportPermissionTitle")}),o&&(0,te.jsx)(f.Z,{mt:1,children:o.description})]})}function ze(e){var n;let{user:t,onCreate:s,createPassportSvg:i}=e;const{t:r}=(0,k.PE)(),{session:a}=(0,de.T)(),{roles:l,teamDid:c,teamIssuerDid:d,refresh:m,enablePassportIssuance:u,trustedPassports:h,passportColor:g,blocklet:x}=(0,q.DJ)(),{appIdList:v}=(0,K.y0)(),{api:y,inService:b}=(0,W.h6)(),[Z,S]=(0,o.useState)(!1),[R,T]=(0,o.useState)(null),[C,D]=(0,o.useState)(!1),[E,_]=(0,o.useState)(""),A=[d,...v||[]].filter(Boolean),O=(le()(t,"passports")||[]).map((e=>({...e,revoked:e.status===N.PASSPORT_STATUS.REVOKED}))),L=async e=>{if(!Z){S(!0);try{const n=e.status===N.PASSPORT_STATUS.REVOKED?"enableUserPassport":"revokeUserPassport";await y[n]({input:{teamDid:c,userDid:t.did,passportId:e.id}}),m()}catch(n){I.Z.error((0,M.Z)(n))}finally{S(!1),T(null)}}},z=(e,n)=>t.did===a.user.did&&a.user.passportId&&a.user.passportId===n.id?{revokable:!1,message:r("team.passport.shouldNotDeleteCurrent")}:e?c===n.issuer.id&&"owner"===n.name?{revokable:!1,message:r("team.passport.noPermission")}:{revokable:!0}:{revokable:!1,message:r("team.passport.noPermission")},B=O.filter((e=>!E||e.title.includes(E)||e.name.includes(E)));return(0,te.jsxs)(Be,{children:[(0,te.jsxs)(Ce.Z,{children:[(0,te.jsx)("div",{className:"left",children:(0,te.jsx)(Pe.Z,{placeholder:r("team.passport.search"),value:E,onChange:e=>_(e.target.value)})}),(0,te.jsx)("div",{className:"right",children:u&&!!t.approved&&(0,te.jsx)(F.Z,{permission:b?"":"mutate_team",role:b?M.Wf:[],children:(0,te.jsxs)(w.Z,{variant:"contained",color:"primary","data-cy":"issue-passport",onClick:()=>D(!0),children:[(0,te.jsx)(j.Z,{style:{fontSize:16,marginRight:4}}),r("team.passport.issue")]})})})]}),(0,te.jsxs)(f.Z,{children:[B.map((e=>(0,te.jsx)(F.Z,{permission:b?"":"mutate_team",role:b?M.Wf:[],children:n=>(0,te.jsxs)(f.Z,{className:"passport-item",display:"flex",justifyContent:"space-between",alignItems:"center",mt:3,children:[(0,te.jsx)(_e,{passport:e,user:t,color:g,createPassportSvg:i,icon:A.length&&!A.includes(e.issuer.id)?(0,te.jsx)(P.Z,{}):null,children:!!A.length&&!A.includes(e.issuer.id)&&(0,te.jsxs)("div",{className:"tip",children:[e.issuer.id!==d&&!h.some((n=>n.issuerDid===e.issuer.id))&&(0,te.jsx)(p.Z,{title:r("team.passport.notTrustedIssuerTip"),children:(0,te.jsx)(f.Z,{component:Re.Z,style:{fontSize:"1.3em"},color:"error.main",mr:.5})}),(0,te.jsx)("span",{children:r("team.passport.issueBy",{name:e.issuer.name})})]})}),(0,te.jsx)(f.Z,{children:z(n,e).revokable?(0,te.jsxs)(w.Z,{variant:"outlined",color:e.revoked?"primary":"secondary",onClick:()=>{return(n=e).status===N.PASSPORT_STATUS.REVOKED?T({title:r("team.member.enablePassport"),description:(0,te.jsx)(Le,{action:"enable",passport:n}),confirm:r("common.enable"),cancel:r("common.cancel"),onConfirm:()=>{L(n)},onCancel:()=>{S(!1),T(null)},color:"primary"}):T({title:r("team.member.revokePassport"),description:(0,te.jsx)(Le,{action:"revoke",passport:n}),confirm:r("common.revoke"),cancel:r("common.cancel"),onConfirm:()=>{L(n)},onCancel:()=>{S(!1),T(null)}});var n},children:[e.revoked?(0,te.jsx)(j.Z,{style:{fontSize:16,marginRight:4}}):(0,te.jsx)(we.Z,{style:{height:16,marginRight:4}}),e.revoked?r("common.enable"):r("common.revoke")]}):(0,te.jsx)(p.Z,{title:z(n,e).message,children:(0,te.jsx)(Re.Z,{style:{color:"#ddd"}})})})]})},e.id))),!B.length&&(0,te.jsx)(Te.Z,{children:r("common.empty")})]}),C&&(0,te.jsx)(De,{teamDid:c,ownerDid:t.did,needReceive:(0,ke.h1)(t)===t.did,roles:l,onCancel:()=>D(!1),onSuccess:()=>{s(),D(!1)},showOwnerPassport:x&&!(null!==(n=x.settings)&&void 0!==n&&n.owner)}),R&&(0,te.jsx)(be.Z,{title:R.title,description:R.description,confirm:R.confirm,cancel:R.cancel,params:R.params,onConfirm:R.onConfirm,onCancel:R.onCancel,color:R.color})]})}Le.propTypes={action:d().string.isRequired,passport:d().object.isRequired},Le.defaultProps={},ze.propTypes={user:d().object.isRequired,createPassportSvg:d().func.isRequired,onCreate:d().func},ze.defaultProps={onCreate:()=>{}};const Be=r.Z.div(Oe||(Oe=(0,i.Z)(["\n .passport-item {\n .MuiButton-outlinedSecondary {\n color: #f16e6e;\n fill: #f16e6e;\n background: #fcf3f3;\n border: 0;\n &:hover {\n border: 0;\n }\n }\n }\n"])));var Ue=t(15098);const We=(e,n)=>e.nodeOwner&&e.nodeOwner.did===n,qe=(e,n)=>e&&e.did===n;function Ke(e){let{user:n,onCancel:t,onSuccess:s,onError:i,children:r}=e;const{api:a,info:l,inService:c}=(0,W.h6)(),{session:d}=(0,de.T)(),{teamDid:m,refresh:u}=(0,q.DJ)(),{t:p}=(0,k.PE)(),[f,h]=(0,o.useState)(!1),[g,x]=(0,o.useState)(!1),v={title:n.approved?p("team.member.forbidLogin"):p("team.member.allowLogin"),description:n.approved?p("team.member.forbidLoginDescription"):p("team.member.allowLoginDescription"),confirm:p("common.confirm"),cancel:p("common.cancel"),onConfirm:()=>{(async e=>{const{did:n,approved:t}=e;if(!f){h(!0);try{await a.updateUserApproval({input:{teamDid:m,user:{did:n,approved:!t}}}),x(!1),s(),u()}catch(o){I.Z.error((0,M.Z)(o)),i()}finally{h(!1)}}})(n)},onCancel:()=>{h(!1),x(!1),t()},color:n.approved?"error":"primary"};let y;return y=!(0,Ue.hasActiveOwnerPassport)(n)&&((c||l.nodeOwner&&!We(l,n.did))&&!qe(d.user,n.did)),y?(0,te.jsxs)(te.Fragment,{children:["function"===typeof r?r({can:y,open:()=>x(!0)}):r,g?(0,te.jsx)(be.Z,{title:v.title,description:v.description,confirm:v.confirm,cancel:v.cancel,params:v.params,onConfirm:v.onConfirm,onCancel:v.onCancel,color:v.color}):null]}):null}Ke.propTypes={user:d().object,onSuccess:d().func,onCancel:d().func,onError:d().func,children:d().oneOfType([d().object,d().func])},Ke.defaultProps={user:{},onSuccess:()=>{},onCancel:()=>{},onError:()=>{},children:null};var Fe,Me,Ve,He=t(6352),Ye=t.n(He);function Ge(e,n,t){if(e&&e.startsWith(N.USER_AVATAR_URL_PREFIX)){const s=window.env.apiPrefix||"/";return t?Ye()(s,N.USER_AVATAR_PATH_PREFIX,e.replace(N.USER_AVATAR_URL_PREFIX,"")):Ye()(s,N.USER_AVATAR_PATH_PREFIX,n,e.replace(N.USER_AVATAR_URL_PREFIX,""))}return e}function Je(e){let{user:n}=e;return(n.connectedAccounts||[]).map((e=>(0,te.jsx)(ge.Z,{style:{alignItems:"flex-start"},valueComponent:"div",nameWidth:120,name:e.provider,children:(0,te.jsx)(U.Z,{did:e.did,showQrcode:!0})},e.did)))}Je.propTypes={user:d().object.isRequired},Je.defaultProps={},d().string.isRequired;const Xe="info";function Qe(e){let{userDid:n,onCancel:t,initTab:s,createPassportSvg:i}=e;const{api:r,ws:{useSubscription:a},inService:l}=(0,W.h6)(),{roles:c,teamDid:d,enablePassportIssuance:m}=(0,q.DJ)(),{t:u,locale:p}=(0,k.PE)(),h=(0,ye.Z)({user:null,issuances:null,tab:s||Xe}),g=async(e,n)=>{try{const t=await r.doBatchQuery({getUser:{input:{teamDid:e,user:{did:n},options:{includeTags:!0}}},getPassportIssuances:{input:{teamDid:e,ownerDid:n}}});t.getUser.user&&(t.getUser.user.avatar=Ge(t.getUser.user.avatar,e,l),t.getUser.user.passports=(t.getUser.user.passports||[]).filter((e=>e.issuer))),h.user=t.getUser.user||{},h.issuances=t.getPassportIssuances.list||[]}catch(t){I.Z.error((0,M.Z)(t))}};(0,o.useEffect)((()=>{d&&g(d,n)}),[n,d]);a(_.TeamEvents.userUpdated,(e=>{e.teamDid===d&&e.user&&e.user.did===n&&g(d,n)}),[n,d]),(0,o.useEffect)((()=>{h.issuances&&!h.issuances.length&&"issuances"===h.tab&&(h.tab=Xe)}),[h.issuances]);const x=async e=>{await g(d,e.did),h.tab=Xe},v={info:{label:u("common.basicInfo"),value:Xe,component:()=>{var e,n;return(h.user?[{name:u("team.member.name"),value:h.user.fullName},{name:u("common.email"),value:h.user.email},{name:u("team.member.source"),value:(0,te.jsx)(f.Z,{display:"flex",alignItems:"center",children:_.PROVIDER_NAME[(null===(e=h.user)||void 0===e?void 0:e.sourceProvider)||N.USER_TYPE.WALLET]||(null===(n=h.user)||void 0===n?void 0:n.sourceProvider)})},{name:u("team.member.allowLogin"),value:h.user.approved?u("common.yes"):u("common.no")},{name:u("team.member.lastLogin"),value:(0,M.B2)(h.user.lastLoginAt,p)},{name:u("team.member.lastLoginIp"),value:h.user.lastLoginIp||""},{name:u("common.createdAt"),value:(0,M.B2)(h.user.createdAt,p)},{name:u("common.remark"),value:h.user.remark||"--"},Array.isArray(h.user.tags)&&h.user.tags.length>0?{name:u("common.tags"),value:h.user.tags.map((e=>(0,te.jsx)(B.Z,{style:{background:e.color,color:(0,C.getTextColor)(e.color),marginRight:4},children:e.title},e.id)))}:null].filter(Boolean):[]).map((e=>e.name===u("common.did")?(0,te.jsx)(ge.Z,{valueComponent:"div",nameWidth:120,name:e.name,nameFormatter:()=>u("common.did"),children:e.value},e.name):(0,te.jsx)(ge.Z,{style:{alignItems:"flex-start"},valueComponent:"div",nameWidth:120,name:e.name,children:e.value},e.name)))}},oauth:{label:u("team.member.connectedAccounts"),value:"oauth",component:()=>(0,te.jsx)(Je,{user:h.user,onChangeUser:x})},passports:{label:u("common.passport"),value:"passports",component:()=>(0,te.jsx)(ze,{user:h.user,teamDid:d,roles:c,createPassportSvg:i,onCreate:()=>{g(d,n).then((()=>{m&&h.issuances&&h.issuances.length&&(h.tab="issuances")}))},onRefresh:()=>{g(d,n)}})},issuances:{label:u("team.passport.issuance.pending"),value:"issuances",component:()=>(0,te.jsx)(Ze,{issuances:h.issuances||[],teamDid:d,onRefresh:()=>g(d,n)})}},y=Object.values(v).map((e=>{let{label:n,value:t}=e;return{label:n,value:t}})).filter((e=>{if("issuances"===e.value)return m&&h.issuances&&!!h.issuances.length;if("oauth"===e.value){var n;return((null===(n=h.user)||void 0===n?void 0:n.connectedAccounts)||[]).find((e=>{var n;return e.provider!==((null===(n=h.user)||void 0===n?void 0:n.sourceProvider)||_.LOGIN_PROVIDER.WALLET)}))}return!0})),j=v[h.tab]||v.info;return(0,te.jsx)(b.ZP,{title:u("common.member"),onClose:t,open:!0,PaperProps:{style:{maxWidth:632,minHeight:"80vh"}},fullWidth:!0,actions:h.user&&(0,te.jsx)(F.Z,{permission:l?"":"mutate_team",role:l?M.Wf:[],children:(0,te.jsx)(Ke,{user:h.user,children:e=>{let{open:n}=e;return(0,te.jsxs)(nn,{onClick:n,children:[h.user.approved?(0,te.jsx)(xe.Z,{style:{fontSize:"1.2em",marginRight:"0.4em"}}):(0,te.jsx)(ve.Z,{style:{fontSize:"1.2em",marginRight:"0.4em"}}),h.user.approved?u("team.member.forbidLogin"):u("team.member.allowLogin")]})}})}),children:(0,te.jsxs)($e,{children:[!h.user&&(0,te.jsx)(en,{children:(0,te.jsx)(V.Z,{})}),h.user&&(0,te.jsxs)("div",{children:[(0,te.jsxs)(f.Z,{display:"flex",alignItems:"center",className:"info",children:[(0,te.jsx)(fe.Z,{src:h.user.avatar,style:{width:48,height:48,backgroundColor:"transparent",marginRight:16}}),(0,te.jsxs)(f.Z,{children:[(0,te.jsx)(f.Z,{className:"name",children:h.user.fullName}),(0,te.jsx)(f.Z,{className:"did",mt:1,children:(0,te.jsx)(U.Z,{did:h.user.did,showQrcode:!0})})]})]}),(0,te.jsx)(f.Z,{mx:3,className:"tabs",children:(0,te.jsx)(he.Z,{tabs:y,current:h.tab,onChange:e=>{h.tab=e},scrollButtons:"auto"})}),(0,te.jsx)("div",{className:"body",children:(0,te.jsx)(j.component,{})})]})]})})}Qe.propTypes={userDid:d().string.isRequired,onCancel:d().func.isRequired,createPassportSvg:d().func.isRequired,initTab:d().string},Qe.defaultProps={initTab:Xe};const $e=r.Z.div(Fe||(Fe=(0,i.Z)(["\n .info {\n .name {\n font-weight: 400;\n font-size: 18px;\n line-height: 25px;\n color: #222222;\n }\n }\n\n .tabs {\n margin-top: 24px;\n margin-left: 0;\n margin-right: 0;\n }\n\n .body {\n margin-top: 24px;\n }\n"]))),en=r.Z.div(Me||(Me=(0,i.Z)(["\n flex: 1;\n display: flex;\n justify-content: center;\n align-items: center;\n height: 200px;\n"]))),nn=r.Z.div(Ve||(Ve=(0,i.Z)(["\n flex-shrink: 0;\n width: 100%;\n height: 64px;\n display: flex;\n justify-content: center;\n align-items: center;\n cursor: pointer;\n color: #999;\n fill: #999;\n font-size: 16px;\n border-top: 1px solid #f0f0f0;\n position: sticky;\n bottom: 0;\n background: #fff;\n z-index: 10;\n"])));var tn,sn=t(27773);function on(){const{api:e,inService:n}=(0,W.h6)(),{t:t,locale:s}=(0,o.useContext)(k.RD),{teamDid:i,invitations:r,refresh:a,endpoint:l}=(0,q.DJ)(),[c,d]=(0,o.useState)(null),[m,u]=(0,o.useState)(!1),p=()=>{u(!1),d(null)},f=e=>l?(0,M.ly)({inviteId:e.inviteId,endpoint:l}):"",h=[{label:t("team.inviting.link"),name:"inviteId",options:{sort:!1,customBodyRenderLite:e=>{const n=r[e];return l?(0,te.jsx)(ne.Z,{children:f(n)}):(0,te.jsx)(V.Z,{size:16})}}},{label:t("common.role"),name:"role",widtn:70},{label:t("common.remark"),name:"remark",options:{customBodyRender:e=>e||"--"}},{label:t("team.inviting.inviter"),name:"inviter.fullName",options:{sort:!1,customBodyRender:(e,n)=>{var t;let{rowIndex:s}=n;const i=r[s];return null===i||void 0===i||null===(t=i.inviter)||void 0===t?void 0:t.fullName}}},{label:t("common.expires"),name:"expireDate",options:{customBodyRender:e=>(0,te.jsx)(E.Z,{value:e,locale:s})}},{label:t("common.actions"),name:"",width:100,align:"center",options:{sort:!1,customBodyRenderLite:s=>{const o=r[s];return(0,te.jsx)(F.Z,{permission:n?"":"mutate_team",role:n?M.Wf:[],children:(0,te.jsxs)(w.Z,{onClick:()=>d({title:t("team.inviting.delete.title"),description:t("team.inviting.delete.description",{link:f(o)}),confirm:t("common.delConfirm"),cancel:t("common.cancel"),onConfirm:()=>(async n=>{let{inviteId:t}=n;if(!m){u(!0);try{await e.deleteInvitation({input:{teamDid:i,inviteId:t}}),a(),await(0,M._v)(800)}catch(s){console.error(s)}finally{u(!1),d(null)}}})(o),onCancel:p}),size:"small",color:"error",variant:"text",children:[(0,te.jsx)(sn.default,{style:{fontSize:"1.2em"}}),t("common.delete")]})})}}}];return(0,te.jsxs)(rn,{children:[r.length?(0,te.jsx)(D.Z,{locale:s,data:[...r],columns:h,verticalKeyWidth:100,options:{download:!1,filter:!1,print:!1}}):(0,te.jsx)(Te.Z,{children:t("common.empty")}),c&&(0,te.jsx)(be.Z,{title:c.title,description:c.description,confirm:c.confirm,cancel:c.cancel,params:c.params,onConfirm:c.onConfirm,onCancel:c.onCancel})]})}const rn=r.Z.div(tn||(tn=(0,i.Z)(["\n margin-top: -20px;\n"])));on.propTypes={},on.defaultProps={};var an,ln=t(53047),cn=t(46954),dn=t(44067),mn=t(36299),un=t(92726);function pn(e){let{type:n,user:t,onIssuePassport:s,onRefresh:i}=e;const{teamDid:r,roles:a}=(0,q.DJ)(),{confirmHolder:l,confirmApi:c}=(0,b.N4)(),{t:d}=(0,o.useContext)(k.RD),[m,u]=(0,o.useState)(!1),{api:p}=(0,W.h6)(),f=(0,L.Z)((async()=>{const{userSessions:e=[]}=t,n=e.map((e=>()=>p.logoutUser({input:{teamDid:r,appPid:r,userDid:t.did,visitorId:e.visitorId}})));await(0,mn.Z)(n,{concurrency:3,stopOnError:!1})}));return(0,te.jsxs)(te.Fragment,{children:[l,(0,te.jsx)(un.Z,{"data-cy":"member-actions",actions:[{icon:(0,te.jsx)(j.Z,{fontSize:"small"}),text:d("team.passport.issue"),"data-cy":"action-issue-passport",onClick:e=>{e.stopPropagation(),u(!0)}},e=>{let{close:n}=e;return(0,te.jsx)(Ke,{user:t,children:e=>{let{open:s}=e;return(0,te.jsxs)(G.Z,{dense:!0,onClick:e=>{e.stopPropagation(),n(),s(e)},"data-cy":"action-toggle-block",children:[(0,te.jsx)(cn.Z,{style:{minWidth:24,marginRight:8},children:t.approved?(0,te.jsx)(xe.Z,{}):(0,te.jsx)(ve.Z,{})}),(0,te.jsx)(dn.Z,{primary:t.approved?d("team.member.forbidLogin"):d("team.member.allowLogin")})]})}},"toggle-approval")},"blocklet"===n&&{icon:(0,te.jsx)(ln.Z,{fontSize:"small"}),text:d("team.member.forceLogout"),onClick:e=>{e.stopPropagation(),c.open({title:d("team.member.forceLogout"),content:d("team.member.forceLogoutDescription"),confirmButtonText:d("common.confirm"),cancelButtonText:d("common.cancel"),onClick:e=>e.stopPropagation(),onConfirm:async()=>{await f(),await c.close(),i()}})}}].filter(Boolean)}),m&&(0,te.jsx)(De,{teamDid:r,ownerDid:t.did,needReceive:(0,ke.h1)(t)===t.did,roles:a,onCancel:()=>u(!1),onSuccess:()=>{s(),u(!1)}})]})}pn.propTypes={type:d().oneOf(["server","blocklet"]).isRequired,user:d().object.isRequired,onIssuePassport:d().func,onRefresh:d().func},pn.defaultProps={onIssuePassport:()=>{},onRefresh:()=>{}};const fn="$all",hn="$none",gn=(e,n)=>{const t=e.find((e=>e.key===n));return(null===t||void 0===t?void 0:t.value)||0},xn=(e,n)=>{const t=e.passports||[];return!!t.length&&!t.some((e=>{var t;return n.includes(null===(t=e.issuer)||void 0===t?void 0:t.id)}))};function vn(e){let{user:n}=e;const{t:t}=(0,o.useContext)(k.RD),s=(0,te.jsxs)("div",{className:"member-block",children:[(0,te.jsxs)("div",{className:"member-avatar",children:[(0,te.jsx)(R.Z,{src:"".concat(n.avatar,"?imageFilter=resize&w=48&h=48"),size:32,did:n.did,shape:"circle",style:{borderRadius:"100%",overflow:"hidden"}}),!n.approved&&(0,te.jsx)("did",{className:"badge-block"}),n.isFromExternal&&(0,te.jsx)(p.Z,{title:t("team.passport.externalPassport"),children:(0,te.jsx)(f.Z,{ml:1,className:"icon",children:(0,te.jsx)(P.Z,{})})})]}),(0,te.jsxs)("div",{className:"member-meta",children:[(0,te.jsx)("div",{className:"member-text",children:n.fullName}),Array.isArray(n.tags)&&n.tags.length>0&&(0,te.jsx)("div",{className:"member-tags",children:n.tags.map((e=>(0,te.jsx)(B.Z,{style:{background:e.color,color:(0,C.getTextColor)(e.color),marginRight:4},children:e.title},e.id)))})]})]});return n.approved?s:(0,te.jsx)(f.Z,{display:"flex",alignItems:"center",children:(0,te.jsx)(p.Z,{title:t("team.member.forbidLoginDescription"),children:s})})}function yn(e){let{type:n,createPassportSvg:t}=e;const{confirmApi:s,confirmHolder:i}=(0,b.N4)({sx:{".MuiDialog-paper":{borderRadius:2,maxWidth:1e3},".ux-dialog_title":{fontWeight:600},".ux-dialog_closeButton":{p:1},".MuiDialogActions-root":{display:{xs:"none",md:"flex"}}}}),{appIdList:r=[]}=(0,K.y0)(),a=(0,h.Z)((e=>e.breakpoints.down("md"))),{teamDid:c,invitations:d,teamIssuerDid:m,roles:p,refresh:R,enablePassportIssuance:P,endpoint:C,api:B}=(0,q.DJ)(),{inService:V,ws:{useSubscription:H}}=(0,W.h6)(),{t:Y,locale:G}=(0,o.useContext)(k.RD),[J,X]=(0,o.useState)(!1),[Q,$]=(0,o.useState)(!1),[ee,ne]=(0,o.useState)(!1),[ie,oe]=(0,o.useState)(!1),[re,ae]=(0,o.useState)(!1),[le,ce]=(0,o.useState)([]),[de,ue]=(0,o.useState)(),[pe,fe]=(0,o.useState)([]),[he]=(0,A.Z)({did:void 0}),ge="members-".concat(c),xe=(0,D.$)(ge),[ve,ye]=(0,o.useState)({role:fn,searchText:xe.searchText||"",hideBlocked:!1,pageSize:xe.rowsPerPage||10,page:xe.page?xe.page+1:1});(0,O.Z)((async()=>{if(he.did){const{user:e}=await B.getUser({did:he.did});e&&oe(e)}}));const be=(p||[]).map((e=>({name:e.name,title:e.title,num:gn(pe,e.name)})));be.unshift({name:fn,title:"All Members",num:gn(pe,fn)}),be.push({name:hn,title:"Other",num:gn(pe,hn)});const je=()=>{const e={includeTags:!0,includeUserSessions:"blocklet"===n};ve.hideBlocked&&(e.approved=!0),e.role=ve.role,ve.searchText&&(e.search=ve.searchText),ae(!0),B.getUsers({query:e,paging:{page:ve.page,pageSize:ve.pageSize}}).then((e=>{ae(!1),(e.users||[]).forEach((e=>{e.isFromExternal=xn(e,l()(r)?[m]:r),e.avatar=Ge(e.avatar,c,V),e.passports=(e.passports||[]).filter((e=>e.issuer))})),ce(e.users||[]),ue(e.paging.total)})).catch((e=>{ae(!1),I.Z.error(e.message)}))},Ze=()=>{B.getUsersCountPerRole().then((e=>{fe(e.counts||[])})).catch((e=>{I.Z.error(e.message)}))},Se=e=>{e.teamDid===c&&(je(),Ze())};(0,o.useEffect)((()=>{je()}),["".concat(ve.hideBlocked,"-").concat(ve.role,"-").concat(ve.page,"-").concat(ve.pageSize,"-").concat(ve.searchText)]),(0,o.useEffect)((()=>{Ze()}),[]),H(_.TeamEvents.userUpdated,Se,[ve]),H(_.TeamEvents.userAdded,Se,[ve]);const Re=P,ke=(0,L.Z)((e=>{s.open({title:"User Sessions",content:(0,te.jsx)(z.YZ,{user:e,showAction:!1,showUser:!1}),onConfirm(){s.close()},confirmButtonText:Y("common.close"),showCancelButton:!1})})),we=[{label:Y("common.name"),name:"fullName",options:{customBodyRenderLite:e=>{const n=le[e];return(0,te.jsx)("div",{"data-cy":"member-name-".concat(n.fullName),children:(0,te.jsx)(vn,{user:n})},n.did)}}},{label:Y("common.address"),name:"did",options:{customBodyRender:e=>(0,te.jsx)(U.Z,{size:14,responsive:!a,compact:a,copyable:!1,did:e})}},{label:Y("team.member.lastLogin"),name:"lastLoginAt",options:{customBodyRender:e=>(0,te.jsx)(f.Z,{sx:{minWidth:"100px"},children:(0,te.jsx)(E.Z,{value:e,locale:G})})}},{label:Y("team.member.lastLoginIp"),name:"lastLoginIp",options:{customBodyRender:e=>e||"-"}},{label:Y("team.member.source"),name:"sourceProvider",options:{customBodyRenderLite:e=>{const n=le[e],t=n.sourceProvider||N.USER_TYPE.WALLET,s=_.PROVIDER_NAME[t]||t;return n.sourceAppPid?"".concat(s," (").concat(Y("team.member.federated"),")"):s}}},"blocklet"===n&&{label:Y("team.member.activeUserSessions"),name:"userSessions",options:{customBodyRenderLite:e=>{var n,t,s;const i=le[e];return(0,te.jsx)(g.Z,{onClick:e=>{e.stopPropagation(),ke(i)},children:(0,te.jsx)(x.Z,{badgeContent:null===i||void 0===i||null===(n=i.userSessions)||void 0===n?void 0:n.length,color:(null===i||void 0===i||null===(t=i.userSessions)||void 0===t?void 0:t.length)>0?"primary":"default",sx:(null===i||void 0===i||null===(s=i.userSessions)||void 0===s?void 0:s.length)>0?{}:{".MuiBadge-badge":{backgroundColor:"grey",color:"white"}},showZero:!0,children:(0,te.jsx)(S.Z,{})})})}}},{label:Y("common.actions"),name:"",width:100,align:"center",verticalKeyAlign:"center",options:{customBodyRenderLite:e=>{const t=le[e];return(0,te.jsx)(F.Z,{permission:V?"":"mutate_team",role:V?M.Wf:[],children:(0,te.jsx)(pn,{type:n,user:t,onIssuePassport:()=>oe({...t,initTab:"issuances"}),onRefresh:()=>Se({teamDid:c})})})}}}].filter(Boolean),Te=[];Re&&(Te.push((0,te.jsxs)(w.Z,{variant:"outlined",style:{flexShrink:0,marginRight:16},color:"primary",size:"small",onClick:()=>{ne(!0)},children:[(0,te.jsx)(T.Z,{style:{height:"1em",marginRight:4}}),Y("common.inviting"),d.length?" (".concat(d.length,")"):""]}),(0,te.jsx)(F.Z,{permission:V?"":"mutate_team",role:V?M.Wf:[],children:(0,te.jsxs)(w.Z,{style:{flexShrink:0,marginRight:16},variant:"contained",edge:"end",color:"primary",size:"small","data-cy":"invite-member",onClick:()=>X(!0),children:[(0,te.jsx)(j.Z,{style:{fontSize:"1.3em",marginRight:4}}),Y("team.invite")]})})),"server"===n&&Te.push((0,te.jsx)(F.Z,{role:"owner",children:(0,te.jsxs)(w.Z,{style:{flexShrink:0},variant:"contained",edge:"end",color:"error",size:"small","data-cy":"invite-member",onClick:()=>$(!0),children:[(0,te.jsx)(Z.Z,{style:{fontSize:"1.3em",marginRight:4}}),Y("team.transferNode.name")]})})));const Pe=(0,o.useRef)(null),Ce={sort:!1,download:!1,filter:!1,print:!1,expandableRowsOnClick:!0,onRowClick(e,n,t){var s;let{dataIndex:i}=n;if(null!==(s=Pe.current)&&void 0!==s&&s.contains(t.target)){const e=le[i];oe(e)}},page:ve.page-1,rowsPerPage:ve.pageSize,count:de,searchDebounceTime:600};return(0,te.jsxs)(bn,{children:[i,(0,te.jsxs)(f.Z,{className:"main",display:"flex",sx:{mt:V?4:0},children:[(0,te.jsx)("div",{className:"left",children:(0,te.jsx)("div",{className:"tabs",children:be.map((e=>(0,te.jsxs)("div",{className:"tab ".concat(ve.role===e.name?"active":""),onClick:()=>{return n=e.name,void(re||ye((e=>({...e,role:n,hideBlocked:!1,searchText:"",page:1}))));var n},children:[(0,te.jsx)("span",{className:"text",children:e.title}),(0,te.jsx)("span",{className:u()("badge",{"is-rect":e.num>999}),children:e.num})]},e.name)))})}),(0,te.jsx)("div",{ref:Pe,className:"right",children:(0,te.jsx)(D.Z,{className:"main-table",verticalKeyWidth:100,locale:G,durable:ge,durableKeys:["page","rowsPerPage"],title:(0,te.jsx)("div",{className:"table-toolbar-left",children:(0,te.jsx)(v.Z,{control:(0,te.jsx)(y.Z,{sx:{display:"flex !important"},disabled:re,color:"primary",checked:ve.hideBlocked,onChange:e=>{return n=e.target.checked,void ye((e=>({...e,hideBlocked:n,page:1})));var n}}),label:Y("team.member.hideBlockedMember")})}),data:le,columns:we,customButtons:Te,options:Ce,loading:re,onChange:e=>{let{page:n,rowsPerPage:t,searchText:s}=e;ve.pageSize!==t?ye((e=>({...e,pageSize:t,page:1}))):ve.page!==n+1?ye((e=>({...e,page:n+1}))):ve.searchText!==s&&ye((e=>({...e,searchText:s,page:1})))}})})]}),(0,te.jsx)(b.ZP,{title:Y("common.inviting"),onClose:()=>ne(!1),open:ee,maxWidth:"lg",fullWidth:!0,children:(0,te.jsx)(on,{})}),ie&&(0,te.jsx)(Qe,{onCancel:()=>oe(null),userDid:ie.did,createPassportSvg:t,initTab:ie.initTab}),J&&(0,te.jsx)(se,{teamDid:c,endpoint:C,roles:p,onCancel:()=>X(!1),onSuccess:()=>{R(),X(!1)}}),Q&&(0,te.jsx)(me,{teamDid:c,endpoint:C,roles:p,onCancel:()=>$(!1),onSuccess:()=>{R(),$(!1)}})]})}vn.propTypes={user:d().object.isRequired};const bn=r.Z.div(an||(an=(0,i.Z)(["\n .main {\n .left {\n width: 168px;\n flex-shrink: 0;\n margin-right: 65px;\n .tabs {\n padding-top: 16px;\n .tab {\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: 8px 16px;\n transition: background 0.4s;\n\n width: 168px;\n height: 36px;\n border-radius: 8px;\n\n cursor: pointer;\n user-select: none;\n\n &:nth-child(n + 2) {\n margin-top: 24px;\n }\n\n &.active {\n background: #f2f2f2;\n }\n\n &:hover {\n background: #f2f2f2;\n }\n\n .text {\n font-weight: 400;\n font-size: 16px;\n line-height: 19px;\n\n color: #222222;\n }\n\n .badge {\n display: flex;\n flex-shrink: 0;\n justify-content: center;\n align-items: center;\n width: 20px;\n height: 20px;\n border-radius: 100%;\n color: #fff;\n background: #666666;\n font-size: 10px;\n font-weight: 400;\n &.is-rect {\n width: auto;\n border-radius: 8px;\n padding: 0 4px;\n }\n }\n }\n }\n @media (max-width: ","px) {\n display: none;\n }\n }\n .right {\n flex: 1;\n overflow: auto;\n }\n }\n\n .member-block {\n display: flex;\n justify-content: flex-start;\n align-items: center;\n .member-avatar {\n position: relative;\n display: flex;\n justify-content: center;\n align-items: center;\n }\n .member-meta {\n margin-left: 10px;\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: flex-start;\n }\n .badge-block {\n width: 14px;\n height: 14px;\n position: absolute;\n right: -4px;\n top: -4px;\n background: #ff5757;\n border-radius: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n &::after {\n content: '';\n width: 6px;\n height: 2px;\n background: #fefefe;\n }\n }\n }\n\n .table-toolbar-left {\n display: flex;\n justify-content: center;\n align-items: center;\n padding: 7px 0;\n }\n"])),(e=>e.theme.breakpoints.values.md));yn.propTypes={type:d().oneOf(["server","blocklet"]).isRequired,createPassportSvg:d().func.isRequired}},82638:(e,n,t)=>{"use strict";t.d(n,{Z:()=>c});var s,i=t(71171),o=t(33518),r=t(47020),a=t(57201),l=t(96266);const c=(0,o.Z)((e=>{let{children:n,...t}=e;return(0,l.jsx)(r.Z,{...t,id:"outlined-basic",variant:"outlined",InputProps:{startAdornment:(0,l.jsx)(a.default,{})},size:"small",children:n})}))(s||(s=(0,i.Z)(["\n .MuiOutlinedInput-root {\n color: #999;\n &.MuiInputBase-adornedStart .MuiSvgIcon-root {\n color: #bfbfbf;\n }\n opacity: 1;\n border-radius: 36px;\n background: #f8f8f8;\n padding-left: 16px;\n input {\n padding-left: 8px;\n font-weight: bold;\n &::placeholder {\n opacity: 1;\n color: #bfbfbf;\n }\n padding-top: 8.5px;\n padding-bottom: 8.5px;\n }\n }\n\n .MuiOutlinedInput-notchedOutline,\n .MuiOutlinedInput-root:hover .MuiOutlinedInput-notchedOutline,\n .Mui-focused .MuiOutlinedInput-notchedOutline {\n border-color: #eee;\n border-width: 1px;\n }\n"])))},18901:(e,n,t)=>{"use strict";t.d(n,{Z:()=>o});var s,i=t(71171);const o=t(33518).Z.div(s||(s=(0,i.Z)(["\n display: flex;\n justify-content: space-between;\n align-items: center;\n font-size: 14px;\n .left,\n .right {\n }\n .right {\n display: flex;\n align-items: center;\n }\n .tabs {\n .MuiButton-root {\n border: none;\n color: #999;\n &.active {\n color: #222;\n }\n }\n }\n\n @media (max-width: 600px) {\n display: block;\n .right {\n margin-top: 12px;\n }\n }\n"])))},99132:(e,n,t)=>{"use strict";t.d(n,{xb:()=>S});var s=t(35432),i=t(2842),o=t(81534),r=t(10458),a=Object.defineProperty,l=(e,n,t)=>(((e,n,t)=>{n in e?a(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t})(e,"symbol"!==typeof n?n+"":n,t),t);class c{constructor(e){let{api:n}=e;l(this,"api"),this.api=n}async getUserPublicInfo(e){let{did:n}=e;const{data:t}=await this.api.get("/api/user",{params:{did:n}});return t}async getUserPrivacyConfig(e){let{did:n}=e;const{data:t}=await this.api.get("/api/user/privacy/config",{params:{did:n}});return t}async saveUserPrivacyConfig(e){const{data:n}=await this.api.post("/api/user/privacy/config",e);return n}async getUserNotificationConfig(){const{data:e}=await this.api.get("/api/user/notification/config");return e}async saveUserNotificationConfig(e){const{data:n}=await this.api.post("/api/user/notification/config",e);return n}async testNotificationWebhook(e){const{data:n}=await this.api.put("/api/user/notification/webhook",e);return n}async getProfileUrl(e){let{did:n,locale:t}=e;const o="".concat(s.WELLKNOWN_SERVICE_PATH_PREFIX,"/user");return(0,i.jb)(o,{did:n,locale:t})}async logout(e){let{visitorId:n}=e;const{data:t}=await this.api.post("/api/user/logout",{visitorId:n});return t}}class d{getSessionToken(){return o.Z.get(s.SESSION_TOKEN_STORAGE_KEY)}setSessionToken(e){o.Z.set(s.SESSION_TOKEN_STORAGE_KEY,e)}removeSessionToken(){o.Z.remove(s.SESSION_TOKEN_STORAGE_KEY)}getRefreshToken(){return localStorage.getItem(s.REFRESH_TOKEN_STORAGE_KEY)}setRefreshToken(e){localStorage.setItem(s.REFRESH_TOKEN_STORAGE_KEY,e)}removeRefreshToken(){localStorage.removeItem(s.REFRESH_TOKEN_STORAGE_KEY)}}var m=Object.defineProperty,u=(e,n,t)=>(((e,n,t)=>{n in e?m(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t})(e,"symbol"!==typeof n?n+"":n,t),t);class p{constructor(e){let{api:n}=e;u(this,"api"),this.api=n}async getUserSessions(e){let{did:n}=e;const{data:t}=await this.api.get("/api/user-session",{params:{userDid:n}});return t}}const f="1.16.25",h=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return new Promise((n=>{setTimeout((()=>{n()}),e)}))},g=e=>"Bearer ".concat(encodeURIComponent(e)),x=()=>localStorage.getItem("__visitor_id");async function v(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:300;e.metaData.endTime=+new Date;const{startTime:t,endTime:s}=e.metaData,i=s-t;i<n&&await h(n-i),delete e.metaData}const y=(e,n)=>{const t=r.create({...e,headers:{...null===e||void 0===e?void 0:e.headers,"x-blocklet-js-sdk-version":f,"x-blocklet-visitor-id":x()}});return null!==n&&void 0!==n&&n.lazy&&(t.interceptors.request.use((e=>(e.metaData={startTime:+new Date},e)),(e=>Promise.reject(e))),t.interceptors.response.use((async e=>(await v(e.config,null===n||void 0===n?void 0:n.lazyTime),e)),(async e=>(await v(e.response.config,null===n||void 0===n?void 0:n.lazyTime),Promise.reject(e))))),t};function b(e,n,t){let{getSessionToken:i,setSessionToken:r,removeSessionToken:a,getRefreshToken:l,setRefreshToken:c,removeRefreshToken:d,onRefreshTokenError:m,onRefreshTokenSuccess:u}=e,p=null;const f=y({timeout:3e4,...n},t);return f.interceptors.request.use((async e=>{if(!o.Z.get(s.SESSION_TOKEN_STORAGE_KEY)){const n=i();n&&(e.headers.authorization=g(n))}return p&&await p,e}),(e=>Promise.reject(e))),f.interceptors.response.use((e=>e),(async e=>{var n;const t=e.config;if(t.headers={...null===t||void 0===t?void 0:t.headers},401===(null===e||void 0===e||null===(n=e.response)||void 0===n?void 0:n.status)&&!t._retry){t._retry=!0;try{p||(p=async function(e){if(!e)throw new Error("Refresh token not found");const n=y({baseURL:s.WELLKNOWN_SERVICE_PATH_PREFIX,timeout:1e4,headers:{authorization:g(e)}}),{data:t}=await n.post("/api/did/refreshSession");return t}(l()));const e=await p;return r(e.nextToken),c(e.nextRefreshToken),"function"===typeof u&&u(e),f(t)}catch(i){return a(),d(),"function"===typeof m&&m(i),Promise.reject(e)}finally{p=null}}return Promise.reject(e)})),f}var j=Object.defineProperty,Z=(e,n,t)=>(((e,n,t)=>{n in e?j(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t})(e,"symbol"!==typeof n?n+"":n,t),t);class S{constructor(){Z(this,"api"),Z(this,"user"),Z(this,"userSession"),Z(this,"token");const e=new d,n=b({getSessionToken:e.getSessionToken,setSessionToken:e.setSessionToken,removeSessionToken:e.removeSessionToken,getRefreshToken:e.getRefreshToken,setRefreshToken:e.setRefreshToken,removeRefreshToken:e.removeRefreshToken,onRefreshTokenError:()=>{console.error("Failed to refresh token")},onRefreshTokenSuccess:()=>{}},{baseURL:s.WELLKNOWN_SERVICE_PATH_PREFIX});this.user=new c({api:n}),this.userSession=new p({api:n}),this.token=e,this.api=n}}}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunk_abtnode_webapp=self.webpackChunk_abtnode_webapp||[]).push([[4423],{64423:(e,t,i)=>{i.r(t),i.d(t,{default:()=>o});const o={setup:{connect:{title:"\u9700\u8981\u7c3d\u540d",scan:"\u9023\u63a5\u60a8\u7684DID\u9322\u5305\u4ee5\u6210\u70ba\u6b64\u4f3a\u670d\u5668\u7684\u64c1\u6709\u8005",confirm:"\u8acb\u5728\u60a8\u7684DID\u9322\u5305\u4e0a\u6aa2\u67e5\u6b64\u64cd\u4f5c",success:"\u60a8\u7684\u5e33\u6236\u5df2\u9023\u63a5\u5230\u6b64\u4f3a\u670d\u5668"},keyPair:{title:"\u9700\u8981\u884d\u751f\u91d1\u9470\u5c0d",scan:"\u9023\u63a5\u60a8\u7684DID\u9322\u5305\u4ee5\u70ba\u6b64\u61c9\u7528\u7a0b\u5f0f\u7522\u751f\u4e00\u5c0d\u5bc6\u9470",confirm:"\u8acb\u5728\u60a8\u7684 DID \u9322\u5305\u4e0a\u67e5\u770b\u6b64\u64cd\u4f5c",success:"\u60a8\u7684\u91d1\u9470\u5c0d\u5b89\u5168\u5132\u5b58"},verify:{title:"\u9700\u8981\u64c1\u6709\u6b0a\u6191\u8b49",scan:"\u9023\u63a5\u60a8\u7684DID\u9322\u5305\u4ee5\u63d0\u4f9b\u6240\u6709\u6b0a\u6191\u8b49",confirm:"\u8acb\u5728\u60a8\u7684DID\u9322\u5305\u4e0a\u6aa2\u67e5\u6b64\u64cd\u4f5c",success:"\u60a8\u7684\u5e33\u6236\u5df2\u9023\u7dda\u5230\u6b64\u4f3a\u670d\u5668"},accept:{title:"\u63a5\u53d7\u4f3a\u670d\u5668\u8981\u6c42\u7684\u6240\u6709\u6b0a\u8b49\u66f8",scan:"\u9023\u63a5\u60a8\u7684DID\u9322\u5305\u4ee5\u63d0\u4f9b\u6240\u6709\u6b0a\u6191\u8b49",confirm:"\u8acb\u5728\u60a8\u7684DID\u9322\u5305\u4e0a\u6aa2\u67e5\u6b64\u64cd\u4f5c",success:"\u60a8\u7684\u5e33\u6236\u5df2\u9023\u63a5\u5230\u6b64\u4f3a\u670d\u5668"},title:"\u8a2d\u7f6e Blocklet \u4f3a\u670d\u5668",steps:{eula:"\u6700\u7d42\u7528\u6236\u8a31\u53ef\u5354\u8b70",eulaFooter:"\u6211\u5df2\u95b1\u8b80\u4e26\u540c\u610f EULA \u689d\u6b3e",connect:"\u9023\u63a5\u6240\u6709\u8005DID\u9322\u5305",verify:"\u9a57\u8b49\u6240\u6709\u6b0a",basicSettings:"\u57fa\u672c\u8a2d\u7f6e",launchApp:"\u555f\u52d5\u61c9\u7528\u7a0b\u5f0f",complete:"\u5b8c\u6210"},congratulation:"\u606d\u559c\u4f60\uff01\u4f60\u7684Blocklet\u4f3a\u670d\u5668\u5df2\u7d93\u5b89\u5168\u4e14\u6e96\u5099\u597d\u4f7f\u7528\u3002",redirectButton:"\u5e36\u6211\u53bb\u5100\u8868\u677f\uff01"},login:{loginTo:"\u9023\u63a5\u5230",description:"\u53ea\u6709\u4f3a\u670d\u5668\u6240\u6709\u8005\u548c\u5df2\u6838\u51c6\u7684\u6210\u54e1\u624d\u80fd\u5b58\u53d6\u5100\u8868\u677f",dialog:{title:"\u9023\u63a5DID\u9322\u5305",scan:"\u9023\u63a5\u60a8\u7684DID\u9322\u5305\u4ee5\u63d0\u4f9b\u8b77\u7167",confirm:"\u5728\u60a8\u7684DID\u9322\u5305\u4e0a\u78ba\u8a8d",success:"\u4f60\u5df2\u6210\u529f\u9023\u7dda"},switchDid:{title:"\u5207\u63dbDID\u9322\u5305",scan:"\u6383\u63cf\u4ee5\u4e0b QR \u78bc\u4ee5\u5207\u63db\u5e33\u865f",confirm:"\u78ba\u8a8d\u5728\u60a8\u7684DID\u9322\u5305\u4e2d\u5207\u63db",success:"\u6210\u529f\u5207\u63db"},switchSpecifiedDid:{title:"\u5207\u63db DID \u9322\u5305",scan:"\u4f60\u9700\u8981\u5207\u63db DID \u81f3 {did} \u4ee5\u5b8c\u6210\u4ee5\u4e0b\u64cd\u4f5c",confirm:"\u78ba\u8a8d\u5728\u60a8\u7684DID\u9322\u5305\u4e2d\u5207\u63db",success:"\u6210\u529f\u5207\u63db"},connect:{title:"\u9023\u63a5DID\u9322\u5305",scan:"\u9023\u63a5\u60a8\u7684DID\u9322\u5305\u4ee5\u63d0\u4f9b\u8b77\u7167",confirm:"\u5728\u60a8\u7684DID\u9322\u5305\u4e0a\u78ba\u8a8d",success:"\u60a8\u5df2\u6210\u529f\u9023\u7dda"}},acceptServer:{title:"\u4f7f\u7528\u6240\u6709\u6b0aNFT\u7d22\u53d6\u4f3a\u670d\u5668",tooltip:"\u5982\u679c\u60a8\u6536\u5230\u4e86\u4e00\u679a\u4f3a\u670d\u5668\u6240\u6709\u6b0a NFT\uff0c\u60a8\u53ef\u4ee5\u4f7f\u7528\u6b64\u9023\u7d50\u4f86\u9818\u53d6\u60a8\u7684\u6240\u6709\u8005\u8b77\u7167\u3002"},exchangePassport:{title:"\u7528NFT\u4ea4\u63db\u8b77\u7167",success:"\u60a8\u5df2\u6210\u529f\u4ea4\u63db\u60a8\u7684\u8b77\u7167\u4e26\u4f7f\u7528\u8b77\u7167\u767b\u9304",login:"\u767b\u5165",tooltip:"\u5982\u679c\u60a8\u64c1\u6709 {collections} \u96c6\u5408\u7684 NFT\uff0c\u60a8\u53ef\u4ee5\u4f7f\u7528\u6b64\u9023\u7d50\u4ea4\u63db\u60a8\u7684\u8b77\u7167\u3002",dialog:{title:"\u7528NFT\u4ea4\u63db\u8b77\u7167",scan:"\u9023\u63a5\u60a8\u7684DID\u9322\u5305\uff0c\u5c55\u793a\u60a8\u7684NFT\u4ee5\u7372\u5f97\u8b77\u7167",confirm:"\u5728\u60a8\u7684DID\u9322\u5305\u4e0a\u9078\u64c7NFT",success:"\u8b77\u7167\u6210\u529f\u63db\u53d6"}},payablePassport:{title:"\u8cfc\u8cb7\u4e26\u4ed8\u6b3e\u8b77\u7167",tooltip:"\u5982\u679c\u60a8\u6c92\u6709\u8b77\u7167\uff0c\u60a8\u53ef\u4ee5\u4f7f\u7528\u6b64\u9023\u7d50\u8cfc\u8cb7\u8b77\u7167\u3002"},sidebar:{dashboard:"\u5100\u8868\u677f",blocklets:"Blocklets",console:"\u63a7\u5236\u53f0",settings:"\u8a2d\u5b9a"},system:{total:"\u7e3d\u5171",used:"\u5df2\u4f7f\u7528",free:"\u81ea\u7531",cores:"\u6838\u5fc3\u6578",instances:"\u5be6\u4f8b\u6578\u91cf"},common:{invalid:"\u7121\u6548",about:"\u95dc\u65bc",access:"\u8a2a\u554f",accessKey:"\u5b58\u53d6\u91d1\u9470",action:"\u884c\u52d5",actions:"\u884c\u52d5",add:"\u65b0\u589e",address:"\u5730\u5740",afterTime:"\u5728{time}\u5f8c",allow:"\u5141\u8a31",alreadyExist:"\u5df2\u5b58\u5728",approve:"\u6279\u51c6",approved:"\u6279\u51c6",appUrl:"APP\u9023\u7d50",auditLogs:"\u7a3d\u6838\u8ffd\u8e64",author:"\u4f5c\u8005",avatar:"\u963f\u51e1\u9054",back:"\u8fd4\u56de",basic:"\u57fa\u672c",basicInfo:"\u57fa\u672c\u8cc7\u8a0a",profile:"\u500b\u4eba\u6a94\u6848",bind:"\u7d81\u5b9a",blocklet:"\u5340\u584a",blocklets:"Blocklets",blockletsStorage:"\u5340\u584a\u5132\u5b58",cacheStorage:"\u5feb\u53d6\u5b58\u5132",cancel:"\u53d6\u6d88",certificate:"\u8b49\u66f8",category:"\u65e5\u8a8c\u4e3b\u984c",click:"\u9ede\u64ca\u8907\u88fd",close:"\u95dc\u9589",collapseAll:"\u6298\u758a\u6240\u6709",community:"\u793e\u5340",complete:"\u5b8c\u6210",componentBasicInfo:"\u5143\u4ef6\u57fa\u672c\u8cc7\u8a0a",components:"\u5143\u4ef6",config:"\u914d\u7f6e",configuration:"\u914d\u7f6e",configNavigation:"\u5c0e\u822a",configSuccess:"\u914d\u7f6e\u6210\u529f",confirm:"\u78ba\u8a8d",connect:"\u9023\u7dda",console:"\u63a7\u5236\u53f0",continue:"\u7e7c\u7e8c",continueWith:"\u7e7c\u7e8c",copiedTip:"\u5df2\u8907\u88fd",copyAndClose:"\u8907\u88fd\u4e26\u95dc\u9589",copyTip:"\u9ede\u64ca\u8907\u88fd",coreStorage:"\u6838\u5fc3\u5132\u5b58",cpu:"CPU",create:"\u5275\u5efa",createSuccess:"\u5efa\u7acb\u5b58\u53d6\u91d1\u9470",created:"\u5efa\u7acb\u65bc",createdAt:"\u5275\u5efa\u65bc",createdBy:"\u5275\u5efa\u8005\u662f",dAddress:"\u5206\u6563\u5f0f\u8b58\u5225\u7b26 (DID)",dataStorage:"\u672c\u5730\u78c1\u789f\u6a5f\u5132\u5b58",delConfirm:"\u522a\u9664",delConfirmDescription:"\u78ba\u8a8d\u522a\u9664 {data} \u55ce\uff1f",delete:"\u522a\u9664",dependents:"\u53d7\u6276\u990a\u4eba",description:"\u63cf\u8ff0",detail:"\u8a73\u60c5",did:"DID",disk:"\u78c1\u789f",diskInfo:"\u78c1\u789f\u8cc7\u8a0a",docker:"\u662fDocker",documentation:"\u6587\u4ef6",domain:"\u7db2\u57df",downgradeTo:"\u964d\u7d1a\u70ba",download:"\u4e0b\u8f09",downloading:"\u4e0b\u8f09\u4e2d",edit:"\u7de8\u8f2f",email:"\u96fb\u5b50\u90f5\u4ef6",phone:"\u96fb\u8a71",empty:"\u7a7a\u7684",emptyData:"\u627e\u4e0d\u5230\u7d50\u679c",enable:"\u555f\u7528",engine:"\u5f15\u64ce",env:"\u74b0\u5883",environment:"\u74b0\u5883",expandAll:"\u5c55\u958b\u6240\u6709",expired:"\u5df2\u904e\u671f",expires:"\u5230\u671f",export:"\u532f\u51fa",externalIp:"\u5916\u90e8IP",failed:"\u5931\u6557",filter:"\u65e5\u8a8c\u7be9\u9078\u5668",fingerprint:"\u6307\u7d0b",finish:"\u5b8c\u6210",forbid:"\u7981\u6b62",free:"\u81ea\u7531",general:"\u5c07\u8ecd",gitpod:"Gitpod\u662f",goEULA:"\u9ede\u64ca\u6aa2\u8996\u300c\u6700\u7d42\u4f7f\u7528\u8005\u8a31\u53ef\u5354\u8b70\u300d",group:"\u5718\u9ad4",image:"IS \u5716\u50cf",install:"\u5b89\u88dd",installed:"\u5b89\u88dd\u5b8c\u6210",installedAt:"\u5b89\u88dd\u5728",installSuccess:"\u5b89\u88dd\u6210\u529f",installing:"\u6b63\u5728\u5b89\u88dd",internalIp:"\u5167\u90e8IP",introduction:"\u4ecb\u7d39",invite:"\u9080\u8acb",inviting:"\u9080\u8acb",ip:"IP",isPublic:"\u516c\u958b\u7684",issue:"\u554f\u984c",issuer:"\u767c\u884c\u8005",item:"\u7269\u54c1",joined:"\u52a0\u5165",key:"\u95dc\u9375\u5b57",lastPublishedAt:"\u767c\u8868\u65bc",launcher:"\u555f\u52d5\u5668\u8cc7\u8a0a",leavePageTip:"\u4f60\u78ba\u5b9a\u8981\u96e2\u958b\u9801\u9762\u55ce\uff1f",link:"\u9023\u7d50",loading:"\u8f09\u5165\u4e2d",log:"\u6aa2\u8996\u65e5\u8a8c",logStorage:"\u65e5\u8a8c\u5b58\u5132",login:"\u767b\u5165",logo:"\u5546\u6a19",logout:"\u767b\u51fa",logs:"\u65e5\u8a8c",manageTeam:"\u7ba1\u7406\u5718\u968a",marketplace:"\u5e02\u5834",member:"\u6210\u54e1",members:"\u6210\u54e1",memory:"\u8a18\u61b6",meta:"\u5143\u8cc7\u6599",analytics:"\u5206\u6790",runtime:"\u57f7\u884c\u6642\u9593",traffic:"\u4ea4\u901a",more:"\u66f4\u591a",mountPoint:"\u639b\u8f09\u9ede",name:"\u540d\u5b57",next:"\u4e0b\u4e00\u500b",no:"\u4e0d",noData:"\u6c92\u6709\u8a18\u9304\u53ef\u986f\u793a",notice:"\u5982\u679c\u4f60\u4e0d\u8b80\u9019\u500b\uff0c\u6703\u6709\u610f\u5916\u7684\u58de\u4e8b\u767c\u751f\uff01",noticeTitle:"\u6ce8\u610f\u4e8b\u9805",notification:"\u901a\u77e5",open:"\u6253\u958b",management:"\u7ba1\u7406",os:"\u4f5c\u696d\u7cfb\u7d71",overview:"\u6982\u8ff0",owner:"\u6240\u6709\u8005",page404:"404\u9801\u9762",passport:"\u8b77\u7167",permission:"\u5141\u8a31",port:"\u6e2f\u53e3",pre:"\u524d",preferences:"\u504f\u597d",preview:"\u9810\u89bd",protected:"\u53d7\u4fdd\u8b77",protocol:"\u5354\u8b70",published:"\u5df2\u767c\u5e03",purchase:"\u8cfc\u8cb7",readMore:"\u66f4\u591a",redirect:"\u91cd\u65b0\u5c0e\u5411",redirectCode:"\u91cd\u5b9a\u5411\u4ee3\u78bc",redirectPermanently:"\u6c38\u4e45\u91cd\u65b0\u5c0e\u5411",redirectTemporary:"\u81e8\u6642\u91cd\u5b9a\u5411",redirectUrl:"\u91cd\u5b9a\u5411 URL",rewrite:"\u91cd\u5beb",release:"\u91cb\u653e",rewriteUrl:"\u91cd\u5bebURL",reject:"\u62d2\u7d55",reload:"\u91cd\u65b0\u8f09\u5165",remark:"\u5099\u8a3b",remove:"\u522a\u9664",removeSuccess:"\u6210\u529f\u522a\u9664",renew:"\u66f4\u65b0",reportIssue:"\u56de\u5831\u554f\u984c",required:"\u5fc5\u9700",requiredErrorText:"{name} \u662f\u5fc5\u9700\u7684",resource:"\u8cc7\u6e90",restart:"\u91cd\u65b0\u555f\u52d5",restore:"\u9084\u539f",retry:"\u91cd\u8a66",revoke:"\u64a4\u92b7",role:"\u89d2\u8272",running:"\u8dd1\u6b65",runtimeInfo:"\u57f7\u884c\u6642\u8cc7\u8a0a",save:"\u4fdd\u5b58",saveChanges:"\u5132\u5b58\u8b8a\u66f4",saveSuccess:"\u5132\u5b58\u6210\u529f",scheduleFailed:"\u8a08\u5283\u5931\u6557",scheduleSuccess:"\u6210\u529f\u5b89\u6392",scope:"\u7bc4\u570d",screenshot:"\u622a\u5716",search:"\u641c\u7d22",security:"\u5b89\u5168",serverDid:"\u4f3a\u670d\u5668 DID",serverVersion:"\u4f3a\u670d\u5668\u7248\u672c",setting:"\u8a2d\u5b9a",start:"\u958b\u59cb",status:"\u72c0\u614b",stop:"\u505c\u6b62",storage:"\u5132\u5b58",backup:"\u5099\u4efd",store:"\u5546\u5e97",succeeded:"\u6210\u529f",subscription:"\u8a02\u95b1",support:"\u652f\u63f4",switch:"\u958b\u95dc",team:"\u5718\u968a",the:"\u9019\u500b",timeAgo:"{time}\u524d",title:"\u6a19\u984c",type:"\u985e\u578b",unavailable:"\u66ab\u7121",update:"\u66f4\u65b0",updateAvailable:"\u65b0\u7248\u672c {version} \u53ef\u7528",updatedAt:"\u66f4\u65b0\u65bc {time}",updatedBy:"\u66f4\u65b0\u8005",upgrade:"\u5347\u7d1a",upgradeTo:"\u5347\u7d1a\u5230",upgrading:"\u5347\u7d1a",uptime:"\u4e0a\u7dda\u6642\u9593",url:"URL",valid:"\u6709\u6548\u7684",value:"\u50f9\u503c",version:"\u7248\u672c",visit:"\u53c3\u89c0",waiting:"\u7b49\u5f85\u4e2d",webhook:"\u6574\u5408",yes:"\u662f\u7684",invalidParam:"\u7121\u6548\u53c3\u6578",launch:"\u767c\u5c04",price:"\u50f9\u683c",redirecting:"\u91cd\u65b0\u5c0e\u5411",error:"\u932f\u8aa4",reminder:"\u63d0\u9192",normal:"\u6b63\u5e38",gateway:"\u9598\u9053\u5668",verifyNFT:"\u9a57\u8b49NFT",errorMessage:"\u932f\u8aa4\u8a0a\u606f\uff1a",slugifyHint:"\u5be6\u969b\u639b\u8f09\u9ede\u5c07\u662f\uff1a{value}",strategy:"\u7b56\u7565",auto:"\u6c7d\u8eca",manual:"\u624b\u518a",progress:"\u9032\u884c\u4e2d",startTime:"\u958b\u59cb\u6642\u9593",endTime:"\u7d50\u675f\u6642\u9593",selected:"\u5df2\u9078\u53d6",timeoutError:"\u8d85\u6642\u932f\u8aa4",tags:"\u6a19\u7c64",publishToStore:"\u767c\u5e03\u5230\u5546\u5e97",connectToStore:"\u9023\u63a5\u81f3\u5546\u5e97",uploaded:"\u5df2\u4e0a\u50b3",uploadToStore:"\u4e0a\u50b3\u81f3 Store",upload:"\u4e0a\u50b3",blockletStudio:"Blocklet Studio",visitStore:"\u8a2a\u554f Store",reconnect:"\u91cd\u65b0\u9023\u63a5"},blocklet:{external:"\u5916\u90e8\u7684",notFound:"\u5728\u6b64\u4f3a\u670d\u5668\u4e0a\u672a\u627e\u5230\u5340\u584a\uff0c\u53ef\u80fd\u5df2\u7d93\u88ab\u522a\u9664",installFromMarket:"\u5b89\u88dd\u65b0\u7684Blocklets",installFromUrl:"\u5f9eURL\u5b89\u88dd",installFromCreate:"\u5efa\u7acbBlocklet",installFromDiskBackup:"\u5f9e\u6b64\u4f3a\u670d\u5668\u9084\u539f",installedAt:"\u5b89\u88dd\u65bc",internal:"\u5167\u90e8",startedAt:"\u958b\u59cb\u65bc",stoppedAt:"\u505c\u5728",urlEmptyTip:"\u7121\u8a2a\u554fURL",goToAddRule:"\u524d\u5f80\u6dfb\u52a0",services:"\u66b4\u9732\u7684\u670d\u52d9",upstreamPort:"\u4e0a\u6e38\u7aef\u53e3",noService:"\u7121\u670d\u52d9",appId:"App DID",appPid:"\u6c38\u4e45\u7684DID",alsoKnownAs:"\u5225\u540d",skSource:"\u6240\u6709\u4eba\u9322\u5305",reloadSuccess:"Blocklet\u6210\u529f\u91cd\u65b0\u52a0\u8f09",statusTip:"Blocklet \u662f {status}",initialUptime:"\u5c0f\u65bc1\u516c\u5c3a",dashboard:"\u5340\u584a\u6aa2\u6e2c\u5100\u8868\u677f",noComponent:"\u61c9\u7528\u7a0b\u5f0f\u6c92\u6709\u7d44\u4ef6\uff0c\u7121\u6cd5\u555f\u52d5",fromUrl:{title:"\u5b89\u88dd Blocklet",label:"\u5340\u584a\u5143URL",description:"URL \u61c9\u8a72\u6307\u5411 Blocklet \u7684\u5143\u6a94\u6848\u3002\u5982\u679c\u4f60\u9700\u8981\u53c3\u8003\u4e00\u500b\u672c\u5730\u6a94\u6848\uff0c\u8acb\u6dfb\u52a0 file:// \u524d\u7db4\uff0c\u4f8b\u5982\uff1afile:///Users/foo/blocklet.json\u3002",confirm:"\u5b89\u88dd",step0:"\u8f38\u5165URL",step1:"\u78ba\u8a8d\u5143\u4fe1\u606f",existTipPrefix:"\u5177\u6709\u76f8\u540cDID\u7684Blocklet\u5df2\u7d93\u5b58\u5728\uff0c\u7248\u672c\u70ba{version}",existTipSuffix:"\u8acb\u5b89\u88dd\u66f4\u9ad8\u7684\u7248\u672c\u3002"},action:{stopDescription:"\u505c\u6b62\u65b9\u584a\u5c07\u4f7f\u5176\u516c\u5171\u4ecb\u9762\u4e0d\u53ef\u8a2a\u554f\uff0c\u9019\u53ef\u80fd\u5c0e\u81f4\u7d42\u7aef\u4f7f\u7528\u8005\u5931\u6557",stopComponentDescription:"\u505c\u6b62\u8a72\u5143\u4ef6\u5c07\u4f7f\u5176\u516c\u5171\u4ecb\u9762\u7121\u6cd5\u5b58\u53d6\uff0c\u53ef\u80fd\u5c0e\u81f4\u7d42\u7aef\u4f7f\u7528\u8005\u5931\u6557",confirmStop:"\u662f\u7684\uff0c\u505c\u4e0b\u4f86",cancelDownloadDescription:"\u53d6\u6d88\u4e0b\u8f09{name}\uff1f",removeApplicationDescription:"\u79fb\u9664\u8a72\u61c9\u7528\u7a0b\u5f0f\u5c07\u522a\u9664\u7531\u6b64\u61c9\u7528\u7a0b\u5f0f\u7522\u751f\u7684\u7a0b\u5f0f\u78bc\u548c\u8cc7\u6599\uff0c\u5982\u679c\u60a8\u6c92\u6709\u4efb\u4f55\u5099\u4efd\uff0c\u9019\u4e9b\u8cc7\u6599\u5c07\u7121\u6cd5\u9084\u539f",removeApplicationAfterBackup:"\u5099\u4efd\u4e26\u522a\u9664\u61c9\u7528\u7a0b\u5f0f\u3002\u5982\u679c\u9700\u8981\uff0c\u60a8\u53ef\u4ee5\u5f9e\u6b64\u4f3a\u670d\u5668\u6062\u5fa9\u61c9\u7528\u7a0b\u5f0f",removeApplicationComplete:"\u522a\u9664\u6b64\u61c9\u7528\u7a0b\u5f0f\u7684\u7a0b\u5f0f\u78bc\u548c\u8cc7\u6599",removeComponentDescription:"\u522a\u9664\u5143\u4ef6\u5c07\u6e05\u9664\u7531\u6b64\u5143\u4ef6\u751f\u6210\u7684\u4ee3\u78bc\u548c\u6578\u64da\uff0c\u5982\u679c\u60a8\u6c92\u6709\u4efb\u4f55\u5099\u4efd\uff0c\u5247\u7121\u6cd5\u6062\u5fa9",removeComponentKeepData:"\u4fdd\u7559\u6b64\u7d44\u4ef6\u7684\u8cc7\u6599\uff0c\u50c5\u79fb\u9664\u7a0b\u5f0f\u78bc",removeComponentComplete:"\u79fb\u9664\u6b64\u5143\u4ef6\u7684\u7a0b\u5f0f\u78bc\u548c\u8cc7\u6599",confirmRemove:"\u662f\u7684\uff0c\u522a\u9664\u5b83",confirmComponentRemove:"\u662f\u7684\uff0c\u522a\u9664\u5b83",upgradeDescription:"\u5347\u7d1a\u5340\u584a\u5c07\u4f7f\u5176\u66ab\u6642\u7121\u6cd5\u4f7f\u7528\uff0c\u4f60\u78ba\u5b9a\u8981\u7e7c\u7e8c\u55ce\uff1f",confirmUpgrade:"\u662f\u7684\uff0c\u5347\u7d1a\u5b83",confirmRestart:"\u662f\u7684\uff0c\u91cd\u65b0\u555f\u52d5",restartDescription:"\u91cd\u65b0\u555f\u52d5\u584a\u5c07\u66ab\u6642\u66ab\u505c\u4e14\u53ef\u80fd\u7531\u65bc\u914d\u7f6e\u66f4\u6539\u7121\u6cd5\u555f\u52d5"},dev:{modeTip:"\u8acb\u5c07Blocklet\u4f3a\u670d\u5668\u5207\u63db\u5230\u5075\u932f\u6a21\u5f0f"},index:{tableTitle:"\u7ba1\u7406\u60a8\u7684Blocklets",noBlocklet:"\u5728\u9019\u500bBlocklet\u4f3a\u670d\u5668\u4e2d\u627e\u4e0d\u5230blocklets\uff0c\u8acb\u5f9e\u5e02\u5834\u5b89\u88dd\u4e00\u500bblocklet\u958b\u59cb\u3002"},admin:{iframeTitle:"Blocklet\u7ba1\u7406\u4ecb\u9762",title:"\u7ba1\u7406\u754c\u9762",noContent:"\u6b64blocklet\u6c92\u6709\u7ba1\u7406\u8005\u4ecb\u9762",securityError:"\u5b89\u5168\u932f\u8aa4\uff1a\u7121\u6cd5\u5f9e\u5b58\u53d6\u8de8\u57df\u6846\u67b6\u6253\u958b\u7ba1\u7406\u54e1\u7db2\u5740"},config:{name:"\u61c9\u7528\u7a0b\u5f0f\u540d\u7a31",description:"\u61c9\u7528\u7a0b\u5f0f\u63cf\u8ff0",sk:"\u61c9\u7528\u9322\u5305\u7684\u5bc6\u9470",logoSquare:"\u61c9\u7528\u7a0b\u5f0f\u6a19\u8a8c",logoRect:"\u9577\u65b9\u5f62\u6a19\u8a8c",logoRectDesc:"\u901a\u5e38\u986f\u793a\u5728\u9801\u9762\u9802\u90e8\uff0c\u9810\u8a2d\u70ba\u61c9\u7528\u7a0b\u5f0f\u6a19\u8a8c",logoFavicon:"Favicon",logoFaviconDesc:"\u901a\u5e38\u986f\u793a\u5728\u700f\u89bd\u5668\u7684\u4f4d\u5740\u5217\u6216\u6a19\u7c64\u9801\u4e2d\uff0c\u9810\u8a2d\u70ba\u61c9\u7528\u7a0b\u5f0f\u7684\u6a19\u8a8c",clusterSize:"\u5728\u53e2\u96c6\u6a21\u5f0f\u4e0b\u904b\u884c\u6b64 blocklet \u6642\u7684\u5be6\u4f8b\u6578",copyrightOwner:"\u7248\u6b0a\u6240\u6709\u8005\uff08\u986f\u793a\u5728\u9801\u8173\uff09",copyrightYear:"\u7248\u6b0a\u5e74\u4efd\uff08\u5728\u9801\u8173\u986f\u793a\uff09",deletable:{name:"\u522a\u9664\u4fdd\u8b77",enable:"\u76ee\u524d\u7121\u6cd5\u522a\u9664\u6b64 blocklet",disable:"\u9019\u500b\u5340\u584a\u76ee\u524d\u53ef\u4ee5\u522a\u9664"},walletType:{name:"\u9322\u5305\u985e\u578b",description:"Blocklet\u5be6\u4f8b\u9322\u5305\u985e\u578b\uff0c\u5c07\u66f4\u6539\u884d\u751f\u7684DID"},languages:"\u652f\u63f4\u7684\u8a9e\u8a00",selectLanguagesTip:"\u901a\u904e\u522a\u9664\u548c\u91cd\u65b0\u6dfb\u52a0\u4f86\u8abf\u6574\u9806\u5e8f",languagesSearch:"\u900f\u904e\u570b\u5bb6\u672c\u5730\u540d\u7a31\u3001\u82f1\u6587\u540d\u7a31\u6216ISO\u4ee3\u78bc\u641c\u5c0b...",passportColor:"\u8b77\u7167\u984f\u8272",appUrl:"\u61c9\u7528\u7a0b\u5f0f\u7db2\u5740",access:{title:"\u8ab0\u53ef\u4ee5\u5b58\u53d6",description:"\u8ab0\u53ef\u4ee5\u8a2a\u554f\u584a",useDefault:"\u4f7f\u7528\u9810\u8a2d\u503c",defaultDescription:"\u4f7f\u7528\u61c9\u7528\u7a0b\u5f0f\u7684\u9810\u8a2d\u914d\u7f6e",whoCanAccess:{all:{title:"\u9069\u7528\u65bc\u6240\u6709\u4eba",description:"\u958b\u653e\u7d66\u5168\u4e16\u754c\uff0c\u4efb\u4f55\u4eba\u90fd\u53ef\u4ee5\u7121\u9700\u8b77\u7167\u5c31\u80fd\u8a2a\u554f"},owner:{title:"\u53ea\u6709\u6211\u53ef\u4ee5\u5b58\u53d6",description:"\u60a8\u5fc5\u9808\u63d0\u4f9b\u6240\u6709\u8005\u8b77\u7167\u624d\u80fd\u8a2a\u554f\u6b64\u61c9\u7528\u7a0b\u5f0f"},invited:{title:"\u53ea\u6709\u88ab\u9080\u8acb\u7684\u4eba\u53ef\u4ee5\u8a2a\u554f",description:"\u60a8\u53ef\u4ee5\u5728\u7ba1\u7406\u54e1\u9801\u9762\u5f8c\u671f\u9080\u8acb\u6210\u54e1"}},publicToStore:"\u516c\u773e\u5728\u5e97\u5167",publicInstanceTip:"\u6b64\u5340\u584a\u93c8\u7684\u5b58\u53d6\u5730\u5740\u5c07\u6703\u5728\u5546\u5e97\u4e2d\u986f\u793a\uff08\u9023\u540c\u60a8\u7684DID\u7528\u65bc\u63a5\u53d7\u6350\u6b3e\uff09",updatedTip:"\u5b58\u53d6\u63a7\u5236\u5df2\u4fee\u6539"},changedTip:"\u914d\u7f6e\u5df2\u66f4\u65b0\uff0c\u8acb\u91cd\u65b0\u555f\u52d5 Blocklet",missingRequired:"\u7f3a\u5c11\u555f\u52d5\u5340\u584a\u93c8\u6240\u9700\u7684\u914d\u7f6e",gotoFix:"\u53bb\u4fee\u7406",environment:{key:"\u914d\u7f6e\u9375",value:"\u914d\u7f6e\u503c",keyValueRequired:"\u914d\u7f6e\u9375\u548c\u503c\u5fc5\u9808\u6307\u5b9a",invalidKey:"\u914d\u7f6e\u9375\u4e0d\u80fd\u4ee5BLOCKLET_\u6216COMPONENT_\u958b\u982d",deleteForbidden:"\u9019\u500b\u8a2d\u5b9a\u662f\u5fc5\u9700\u7684\uff0c\u4e0d\u61c9\u8a72\u88ab\u522a\u9664",tip:"\u4ee5 BWA_ \u70ba\u524d\u7db4\u7684\u914d\u7f6e\u9805\u4e0d\u61c9\u5305\u542b\u654f\u611f\u4fe1\u606f\uff0c\u56e0\u70ba\u5b83\u5011\u5c07\u88ab\u767c\u9001\u5230\u700f\u89bd\u5668"},dangerZone:"\u5371\u96aa\u5340\u57df",blockletTypeChangeTip:"\u9322\u5305\u985e\u578b\u5c07\u88ab\u66f4\u6539\u70ba<b>{value}</b>",appDidChangeTip:"\u6b64\u64cd\u4f5c\u5c07\u66f4\u6539\u61c9\u7528\u7a0b\u5f0f\u7684DID\uff0c\u9019\u5c07\u5c0e\u81f4\u4ee5\u4e0b\u554f\u984c\u3002\u8acb\u5728\u4ed4\u7d30\u8a55\u4f30\u5f8c\u78ba\u8a8d\uff1a",appDidChangeTipL1:"\u8207\u6b64\u61c9\u7528\u7a0b\u5f0f\u9023\u63a5\u7684\u4f7f\u7528\u8005\u5e33\u6236\u5c07\u6703\u6539\u8b8a",appDidChangeTipL2:"\u61c9\u7528\u7a0b\u5f0f\u7684DID\u57df\u540d\u5c07\u66f4\u6539\uff0c\u539f\u59cb\u57df\u540d\u5c07\u8b8a\u70ba\u7121\u6548",appSkChangeTip:"\u60a8\u6b63\u5728\u66f4\u6539\u61c9\u7528\u7a0b\u5f0f\u7684\u79d8\u5bc6\u91d1\u9470",walletTypeTitle:"\u66f4\u65b0\u9322\u5305\u985e\u578b",appSkTitle:"\u66f4\u65b0\u61c9\u7528\u7a0b\u5f0f\u79d8\u9470",sharedToAllComponents:"\u5c07\u5206\u4eab\u7d66\u6240\u6709\u7d44\u4ef6",session:{ttl:"\u767b\u9304\u6703\u8a71\u6709\u6548\u671f\uff08\u5982\u679c\u4f7f\u7528\u8005\u5728\u6b64\u7ad9\u9ede\u4e0a {day} \u5929\u7121\u4efb\u4f55\u6d3b\u52d5\uff0c\u5c07\u518d\u6b21\u8981\u6c42\u767b\u5165\uff09",day:"{day}\u5929",days:"{day} \u5929"},clearCache:{name:"\u5feb\u53d6\u7ba1\u7406",purpose:"\u7ba1\u7406\u8def\u7531\u5668\u548c\u5340\u584a\u670d\u52d9\u4e2d\u7de9\u5b58\u7684\u6a94\u6848",title:"\u78ba\u8a8d\u6e05\u9664\u5feb\u53d6\u55ce\uff1f",action:"\u6e05\u9664\u5feb\u53d6",success:"\u6210\u529f\u6e05\u9664{count}\u500b\u5feb\u53d6\u9805\u76ee",description:"\u4f60\u78ba\u5b9a\u8981\u6e05\u9664\u8def\u7531\u5668\u548c\u5340\u584a\u670d\u52d9\u4e2d\u7684\u5feb\u53d6\u6587\u4ef6\u55ce\uff1f\u9019\u500b\u64cd\u4f5c\u53ef\u80fd\u6703\u5c0e\u81f4\u77ed\u671f\u5167\u6027\u80fd\u7565\u5fae\u4e0b\u964d\u3002"}},overview:{source:"\u4f86\u6e90",deployedFrom:"\u5f9e\u90e8\u7f72",accessControl:"\u5b58\u53d6\u63a7\u5236",viewInStore:"\u5728\u5546\u5e97\u89c0\u770b"},diskInfo:{empty:"\u78c1\u789f\u8cc7\u8a0a\u76ee\u524d\u7121\u6cd5\u4f7f\u7528\uff01",appDir:"\u61c9\u7528\u7a0b\u5f0f\u76ee\u9304",dataDir:"\u8cc7\u6599\u76ee\u9304",logDir:"\u65e5\u8a8c\u76ee\u9304",cacheDir:"\u5feb\u53d6\u76ee\u9304"},runtimeInfo:{noRunning:"\u7576 blocklet \u6b63\u5728\u904b\u884c\u6642\uff0c\u5c07\u63d0\u4f9b\u57f7\u884c\u6642\u8cc7\u8a0a\uff01",memoryUsage:"\u8a18\u61b6\u9ad4\u4f7f\u7528",cpuUsage:"CPU \u4f7f\u7528\u7387",uptime:"\u6301\u7e8c\u6642\u9593",port:"\u6e2f\u53e3",processId:"\u9032\u7a0b ID"},dist:{downloadLink:"\u4e0b\u8f09\u9023\u7d50",verify:"\u9a57\u8b49"},status:{added:"\u5df2\u52a0\u5165",waiting:"\u7b49\u5f85\u4e2d",downloading:"\u4e0b\u8f09\u4e2d",extracting:"\u63d0\u53d6",installing:"\u5b89\u88dd\u4e2d",upgrading:"\u5347\u7d1a",installed:"\u5df2\u5b89\u88dd",created:"\u5275\u5efa",starting:"\u958b\u59cb",running:"\u8dd1\u6b65",stopping:"\u505c\u6b62",stopped:"\u505c\u6b62",error:"\u932f\u8aa4",deleting:"\u522a\u9664",corrupted:"\u640d\u58de\u7684",purchasing:"\u7b49\u5f85\u8cfc\u8cb7",purchased:"\u5df2\u8cfc\u8cb7",verifying:"\u9a57\u8b49\u8cfc\u8cb7",resource:"\u8cc7\u6e90"},list:{download:"\u4e0b\u8f09",star:"\u661f"},component:{container:"\u5168\u7403\u914d\u7f6e",showContainer:"\u986f\u793a\u5168\u5c40\u914d\u7f6e",didSpaceConfig:"\u8a2d\u5b9a DID \u7a7a\u9593",didSpaceConfigTip:"\u8acb\u5b8c\u6210\u4ee5\u4e0b\u6388\u6b0a\u904e\u7a0b\u4ee5\u5c07\u61c9\u7528\u7a0b\u5f0f\u8cc7\u6599\u5b58\u5132\u5728DID\u7a7a\u9593\u4e2d",didSpaceConnected:"\u6388\u6b0a\u7d66\u5b58\u5132: {endpoint}",checkUpdateTitle:"\u6aa2\u67e5\u66f4\u65b0",updateTitle:"\u66f4\u65b0\u7d44\u4ef6",noUpdate:"\u6c92\u6709\u7d44\u4ef6\u53ef\u66f4\u65b0",add:"\u6dfb\u52a0\u5143\u4ef6",selectComponent:"\u9078\u64c7\u7d44\u4ef6",selectRegistry:"\u9078\u64c7 Blocklet \u5546\u5e97",selectRegistryTip:"\u60a8\u53ef\u4ee5\u5207\u63db Blocklet \u5546\u5e97\u4ee5\u67e5\u770b\u66f4\u591a\u5143\u4ef6",selectInstance:"\u9078\u64c7\u5be6\u4f8b",selectInstanceTip:"\u60a8\u53ef\u4ee5\u9078\u64c7\u73fe\u6709\u5be6\u4f8b\u6216\u5efa\u7acb\u65b0\u5be6\u4f8b\u3002\u73fe\u6709\u5be6\u4f8b\u5c07\u4f7f\u7528\u5148\u524d\u4fdd\u5b58\u7684\u914d\u7f6e\u548c\u6578\u64da",newInstance:"\u5efa\u7acb\u65b0\u5be6\u4f8b",noComponent:"\u6c92\u6709\u5143\u4ef6",mountPoint:"\u639b\u8f09\u9ede\u662f\u4ec0\u9ebc\uff1f",mountPointTip:"\u5982\u679c\u60a8\u5c07\u639b\u8f09\u9ede\u8a2d\u7f6e\u70ba '/my-prefix'\uff0c\u5247\u4ee5\u8a72\u639b\u8f09\u9ede\u958b\u982d\u7684\u6240\u6709\u8acb\u6c42\u90fd\u5c07\u88ab\u8def\u7531\u5230\u6240\u9078\u7d44\u4ef6\u3002",delete:"\u522a\u9664\u5143\u4ef6",deleteDescription:"\u522a\u9664\u5f8c\u6b64\u5143\u4ef6\u5c07\u7121\u6cd5\u88ab\u8b80\u53d6\u3002\u78ba\u8a8d\u522a\u9664\uff1f",purchase:"\u9700\u8981\u4ed8\u6b3e",tip:{stopBlocklet:"\u8acb\u5148\u505c\u6b62\u904b\u884c Blocklet",requiredBy:"\u8a72\u5143\u4ef6\u662f{name}\u6240\u9700\u7684"},choose:"\u9078\u64c7",addWithName:"\u5411{name}\u6dfb\u52a0\u5143\u4ef6",installingCanCloseWindowTip:"\u6b63\u5728\u80cc\u666f\u5b89\u88dd\u5143\u4ef6\uff0c\u60a8\u53ef\u4ee5\u5b89\u5168\u95dc\u9589\u6b64\u8996\u7a97",installSuccessTip:"\u606d\u559c\uff0c\u5143\u4ef6\u5b89\u88dd\u6210\u529f\uff01",missDownloadTokenTip:"\u6c92\u6709\u6709\u6548\u7684\u4e0b\u8f09\u4ee4\u724c\uff0c\u7121\u6cd5\u589e\u52a0\u4ed8\u8cbb\u7d44\u4ef6",purchaseComponentSecondCheckTip:"\u8acb\u51fa\u793a\u60a8\u7684\u5340\u584a\u93c8\u8cfc\u8cb7NFT\u4ee5\u7e7c\u7e8c",installComponentError:"\u5b89\u88dd\u7d44\u4ef6\u6642\u51fa\u73fe\u932f\u8aa4\uff0c\u8acb\u91cd\u8a66",downloadComponentError:"\u4e0b\u8f09\u5143\u4ef6\u51fa\u932f\uff0c\u8acb\u91cd\u8a66",addComponentTip:{introduction:"\u6b61\u8fce\u4f7f\u7528\u65b0\u589e\u5143\u4ef6\u7cbe\u9748",isFree:"\u4f60\u53ef\u4ee5\u514d\u8cbb\u4f7f\u7528<b>{name}</b>\u4f5c\u70ba\u5143\u4ef6;",isPurchase:"\u5728\u4f7f\u7528<b>{name}</b>\u4f5c\u70ba\u7d44\u4ef6\u4e4b\u524d\uff0c\u60a8\u9700\u8981\u9a57\u8b49NFT",belowInformation:"\u4ee5\u4e0b\u662f\u8a72\u7d44\u4ef6\u7684\u8cc7\u8a0a:",verifyNFT:"\u8acb\u9078\u64c7\u9a57\u8b49NFT\u7684\u65b9\u6cd5",config:"\u8acb\u586b\u5beb\u5143\u4ef6\u7684\u914d\u7f6e",environment:"\u8acb\u586b\u5beb\u5143\u4ef6\u7684\u74b0\u5883",fromUrl:"\u5f9e\u7db2\u5740\u6dfb\u52a0\u5143\u4ef6"},addNext:"\u65b0\u589e {name}",upgradeNext:"\u5347\u7d1a {name}",setting:"\u8a2d\u5b9a",components:"{name} \u5143\u4ef6\u7684\u76f8\u4f9d\u6027",noDependencies:"{name}\u6c92\u6709\u4efb\u4f55\u4f9d\u8cf4",relatedComponents:"\u76f8\u95dc\u5143\u4ef6",required:"\u9700\u8981"},router:{urlPath:"URL\u8def\u5f91",noRunning:"\u5340\u584a\u93c8\u672a\u555f\u52d5\u3002\u7121\u6cd5\u900f\u904e\u4ee5\u4e0b\u5730\u5740\u8a2a\u554f\uff01",securitySetting:"\u5b89\u5168\u8a2d\u7f6e",checkUrlAccessible:"\u6aa2\u67e5\u5730\u5740\u7684\u53ef\u8a2a\u554f\u6027",urlInaccessible:"\u53ef\u80fd\u662f\u56e0\u70ba\u7db2\u8def\u539f\u56e0\uff0c\u8a72\u5730\u5740\u66ab\u6642\u7121\u6cd5\u5b58\u53d6",noAccessibleUrl:"\u6c92\u6709\u53ef\u8a2a\u554f\u7684URL",domainLockTooltip:"\u7cfb\u7d71\u751f\u6210\u7684\u57df\u540d\u7121\u6cd5\u7de8\u8f2f\u3002",urlLockTooltip:"\u7cfb\u7d71\u751f\u6210\u7684URL\u8def\u5f91\u7121\u6cd5\u7de8\u8f2f\u3002",showAllDomains:"\u986f\u793a\u6240\u6709\u7db2\u57df",showAllDIDs:"\u986f\u793a\u6240\u6709DID",currentDomainTip:"\u60a8\u6b63\u5728\u900f\u904e\u6b64\u7db2\u57df\u5b58\u53d6\u7576\u524d\u9801\u9762"},export:{title:"\u5c0e\u51faBlocklet",name:"\u6346\u7d81\u540d\u7a31",nameTip:"\u6211\u7684-blocklet-name",result:"\u63a5\u4e0b\u4f86\u662f\u4ec0\u9ebc\uff1f",exportSource:"\u532f\u51fa\u4f86\u6e90",success:"Blocklet \u6210\u529f\u532f\u51fa",resultTipStart:"\u8207",resultTipEnd:"\u60a8\u53ef\u4ee5\u5728\u5e7e\u5206\u9418\u5167\u5efa\u69cb\u4e26\u767c\u5e03\u6b64 Blocklet",uploadedComponentTip:"\u7121\u6cd5\u532f\u51fa\u76f4\u63a5\u4e0a\u50b3\u7684\u7d44\u4ef6"},migrate:{title:"\u9077\u79fb\u61c9\u7528\u7a0b\u5f0f",scan:"\u9023\u63a5\u60a8\u7684DID\u9322\u5305\u4ee5\u70ba\u6b64\u61c9\u7528\u7a0b\u5f0f\u751f\u6210\u91d1\u9470\u5c0d",confirm:"\u8acb\u5728\u60a8\u7684DID\u9322\u5305\u4e0a\u6aa2\u8996\u6b64\u64cd\u4f5c",success:"\u60a8\u7684\u61c9\u7528\u7a0b\u5f0f\u5df2\u6210\u529f\u9077\u79fb\uff0c\u9801\u9762\u5c07\u65bc{sec}\u79d2\u5f8c\u91cd\u65b0\u6574\u7406",intro:{l1:"\u9ede\u64ca\u9019\u88e1",l2:"\u9077\u79fb\u60a8\u7684\u61c9\u7528\u7a0b\u5f0f\u5230\u65b0\u7248\u672c\uff08\u5728\u9077\u79fb\u5b8c\u6210\u4e4b\u524d\u66f4\u6539\u88ab\u7981\u7528\uff09",l3:"DID\u61c9\u7528\u7a0b\u5f0f\u5c07\u5b8c\u5168\u7531\u60a8\u7684DID\u9322\u5305\u63a7\u5236\u3002",l4:"2. \u61c9\u7528\u7a0b\u5f0f\u8cc7\u6599\u5c07\u88ab\u9077\u79fb\uff0c\u4e0d\u9700\u8981\u9032\u4e00\u6b65\u7684\u66f4\u6539\u3002",l5:"3. \u65b0\u7684\u61c9\u7528\u7a0b\u5f0f\u7d50\u69cb\u5728\u66f4\u6539\u5143\u4ef6\u6642\u5c07\u7d66\u60a8\u66f4\u591a\u7684\u5f48\u6027\u3002",l6:"4. \u5728\u7d44\u4ef6\u65b0\u7248\u672c\u767c\u5e03\u4e4b\u524d\uff0c\u8acb\u4e0d\u8981\u66f4\u6539\u7d44\u4ef6\u7684\u639b\u8f09\u9ede\u3002"},tip:{duplicate:"\u67e5\u627e\u91cd\u8907\u7684\u7d44\u4ef6{name}\uff0c\u8acb\u522a\u9664\u7121\u7528\u7684\u7d44\u4ef6\u4e26\u91cd\u65b0\u9077\u79fb",running:"\u8acb\u5728\u9077\u79fb\u4e4b\u524d\u505c\u6b62blocklet"}},error:{isRunning:"Blocklet\u6b63\u5728\u904b\u884c\uff0c\u8acb\u5148\u505c\u6b62\u5b83",isInProgress:"Blocklet\u6b63\u5728\u9032\u884c\u4e2d\uff0c\u8acb\u7b49\u5f85\u5b8c\u6210"},publish:{createResource:"\u5efa\u7acb\u8cc7\u6e90",addResource:"\u65b0\u589e\u767c\u5e03",productTitle:"\u7522\u54c1",versionTitle:"\u7248\u672c",imgTitle:"\u5716\u7247",resourceTitle:"\u8cc7\u6e90",blockletEmptyTip:"\u9019\u88e1\u6c92\u6709\u4efb\u4f55\u5340\u584a\u5143\u4ef6",createBlockletTip:"\u60a8\u53ef\u4ee5\u900f\u904e\u73fe\u6709\u7684\u8cc7\u6e90\u3001\u5143\u4ef6\u548c\u8a2d\u5b9a\uff0c\u5728\u6b64\u61c9\u7528\u7a0b\u5f0f\u4e2d\u5efa\u7acb\u65b0\u7684 blocklet",createBlocklet:"\u65b0\u589e Blocklet",componentNotRunning:"{name}\u5143\u4ef6\u672a\u904b\u884c\uff0c\u8acb\u5148\u555f\u52d5\u3002",releaseEmptyTip:"\u9019\u88e1\u6c92\u6709\u4efb\u4f55\u767c\u5e03",createReleaseTip:"\u60a8\u53ef\u4ee5\u5275\u5efa\u4e00\u500b\u5340\u584a\u91cb\u51fa\uff0c\u9644\u5e36\u91cb\u51fa\u8aaa\u660e\u548c\u8cc7\u6e90\uff0c\u4f9b\u5176\u4ed6\u4eba\u4f7f\u7528",createRelease:"\u65b0\u7248\u672c\u767c\u5e03",deleteReleaseTip:"\u522a\u9664\u5f8c\u7121\u6cd5\u9084\u539f\u767c\u5e03",createBlockletDid:"\u5f9eDID\u9322\u5305\u5275\u5efa",createReleaseSuccess:"\u767c\u4f48\u6210\u529f",saveDraftSuccess:"\u8349\u7a3f\u5df2\u6210\u529f\u5132\u5b58",connect:{title:"\u5275\u5efa Blocklet DID",scan:"\u6383\u63cf\u4e0b\u65b9\u7684QR\u78bc\u4ee5\u751f\u6210Blocklet DID",confirm:"\u4f7f\u7528DID\u9322\u5305\u9032\u884c\u78ba\u8a8d",success:"\u5df2\u751f\u6210Blocklet DID\uff0c\u8acb\u7e7c\u7e8c\u9032\u884c\u64cd\u4f5c"},saveDraft:"\u5132\u5b58\u8349\u7a3f",releaseNote:"\u767c\u4f48\u8aaa\u660e",errorTip:{noDid:"\u9700\u8981Blocklet\u7684DID",noTitle:"\u9700\u8981\u63d0\u4f9bBlocklet\u6a19\u984c",noVersion:"\u9700\u8981 Blocklet \u7248\u672c",noDescription:"\u9700\u8981\u63d0\u4f9b Blocklet \u63cf\u8ff0",noNote:"\u9700\u8981\u63d0\u4f9b\u767c\u4f48\u8aaa\u660e"},packTip:"\u76ee\u524d\uff0cblocklet\u53ef\u4ee5\u76f4\u63a5\u5b89\u88dd\u70ba\u61c9\u7528\u7a0b\u5e8f\u3002\u7d44\u4ef6\u548c\u61c9\u7528\u7a0b\u5e8f\u914d\u7f6e\u5c07\u81ea\u52d5\u5305\u542b\u5728blocklet\u4e2d",resourceChangedWarning:"\u60a8\u5df2\u4fee\u6539\u8cc7\u6e90\uff0c\u8acb\u5118\u901f\u4fdd\u5b58",installResourceTip:"\u5b89\u88dd\u7db2\u5740:",installResourceTip2:"\u5982\u679c\u60a8\u60f3\u67e5\u770b\u66f4\u591a\u63d0\u793a\uff0c\u8acb\u8a2a\u554f {name}",installResourceHelp:"\u5e6b\u52a9\u6587\u4ef6",componentIncluded:"\u5df2\u5305\u542b",componentForceRequired:"\u5f37\u5236\u8981\u6c42",productListTitle:"Blocklet Studio",download:"\u4e0b\u8f09 {name}",delete:"\u522a\u9664 {name}",copyInstallUrl:"\u8907\u88fd\u5b89\u88dd\u9023\u7d50",install:"\u5b89\u88dd{name}",publishToStoreSuccess:"\u6210\u529f\u767c\u4f48\u5230 Store \u7684\u5340\u584a\u93c8",connectStoreSuccess:"Store \u9023\u7dda\u6210\u529f",uploadToStoreSuccess:"Blocklet \u6210\u529f\u4e0a\u50b3\u81f3 Store\uff0c\u8acb\u5728 Store \u4e2d\u767c\u5e03",viewLastRelease:"\u67e5\u770b\u6700\u65b0\u7248\u672c",reconnectStoreTip:"\u91cd\u65b0\u9023\u63a5\u5f8c\uff0c\u5c07\u7d81\u5b9a\u4e00\u500b\u65b0\u7684\u958b\u767c\u8005\u3002\u4f60\u78ba\u5b9a\u8981\u91cd\u65b0\u9023\u63a5\u55ce\uff1f",deleteProject:{title:"\u522a\u9664{name}",scan:"\u6383\u63cf\u4e0b\u65b9\u7684QR\u78bc\u4ee5\u522a\u9664{name}",confirm:"\u78ba\u8a8d\u4f7f\u7528DID\u9322\u5305",success:"Blocklet \u5df2\u88ab\u522a\u9664\uff0c\u8acb\u7e7c\u7e8c\u9032\u884c\u64cd\u4f5c",tip1:"Blocklet \u9805\u76ee\u4e00\u65e6\u522a\u9664\u5c07\u7121\u6cd5\u6062\u5fa9\u3002",tip2:"\u60a8\u5c07\u7121\u6cd5\u518d\u5411\u5df2\u522a\u9664\u7684 Blocklet \u767c\u4f48\u65b0\u7248\u672c\uff0c\u9019\u610f\u5473\u8457\u8a72 Blocklet \u5c07\u4e0d\u518d\u5728\u5546\u5e97\u4e2d\u66f4\u65b0\u3002",tip3:"\u522a\u9664 Blocklet \u4e0d\u6703\u5f71\u97ff\u5546\u5e97\u4e2d\u5df2\u767c\u5e03\u7684\u7248\u672c\u3002",description:"\u60a8\u78ba\u5b9a\u8981\u522a\u9664\u9019\u500b Blocklet \u55ce\uff1f\u522a\u9664\u5f8c\u53ef\u80fd\u6703\u9047\u5230\u4ee5\u4e0b\u554f\u984c\uff1a"},resourceTip:"\u76ee\u524d\uff0c\u4f5c\u70ba\u8cc7\u6e90\u578b Blocklet\uff0c\u7121\u6cd5\u76f4\u63a5\u5f9e\u5546\u5e97\u5b89\u88dd\u3002",whyCantSeeInStore:"\u70ba\u4ec0\u9ebc\u6211\u7121\u6cd5\u5728\u5546\u5e97\u4e2d\u770b\u5230\u9019\u500b Blocklet\uff1f",whyCantSeeResourceBlockletInStore:"\u70ba\u4ec0\u9ebc\u6211\u5728\u5546\u5e97\u88e1\u770b\u4e0d\u5230\u9019\u500b\u8cc7\u6e90\u578b Blocklet\uff1f"},titleValidationError:"\u6a19\u984c\u9577\u5ea6\u5fc5\u9808\u81f3\u5c11\u70ba3\u523040\u500b\u5b57\u7b26",descriptionValidationError:"\u63cf\u8ff0\u9577\u5ea6\u5fc5\u9808\u4ecb\u65bc3\u5230160\u500b\u5b57\u7b26\u4e4b\u9593"},dashboard:{nodeDid:"\u7bc0\u9ede",ownerDid:"\u4e3b\u4eba",routingEngine:"\u8def\u7531\u5f15\u64ce",ownerNftURL:"NFT\u64c1\u6709\u8005",expirationLeft:"\u5269\u9918\u5230\u671f\u65e5",startFromCrashTip:"Blocklet \u4f3a\u670d\u5668\u4e0a\u6b21\u672a\u6b63\u5e38\u7d50\u675f\uff0c\u8acb\u624b\u52d5\u555f\u52d5\u9700\u8981\u904b\u884c\u7684 blocklet\u3002",runtimeConfig:{blockletMaxMemoryLimit:"Blocklet\u6700\u5927\u8a18\u61b6\u9ad4\u9650\u5236",daemonMaxMemoryLimit:"\u4f3a\u670d\u5668\u6700\u5927\u8a18\u61b6\u9ad4\u9650\u5236",proxyMaxMemoryLimit:"\u4e8b\u4ef6\u7e3d\u7dda\u6700\u5927\u5167\u5b58\u9650\u5236"}},store:{nameSort:"\u540d\u5b57",popularSort:"\u6d41\u884c\u5ea6",headerDescription:"\u5c0b\u627e\u4e26\u5b89\u88dd\u60a8\u7684 Blocklets",detail:{purchase:"\u8cfc\u8cb7 {name}",open:"\u6253\u958b {name}",install:"\u5b89\u88dd {name}",upgrade:"\u5347\u7d1a{name}",empty:"\u6c92\u6709\u4ecb\u7d39"},blockletRegistry:{changeFailed:"\u66f4\u6539Blocklet\u5546\u5e97\u5931\u6557",addFailed:"\u65b0\u589eBlocklet Store\u5931\u6557",editFailed:"\u7de8\u8f2fBlocklet\u5546\u5e97\u5931\u6557",switchRegistry:"\u5207\u63db\u5340\u584a\u5b58\u5132",addRegistry:"\u6dfb\u52a0 Blocklet Store",editRegistry:"\u7de8\u8f2f Blocklet \u5546\u5e97",deleteRegistry:"\u522a\u9664 Blocklet Store",haveSameRegistry:"\u5b58\u5728\u76f8\u540c\u7684blocklet\u5546\u5e97",registryName:"Blocklet\u5546\u5e97\u540d\u7a31",registryUrl:"Blocklet Store \u7684 URL",registryNameEmpty:"Blocklet \u5546\u5e97\u540d\u7a31\u4e0d\u80fd\u70ba\u7a7a",registryUrlEmpty:"Blocklet\u5546\u5e97URL\u4e0d\u80fd\u70ba\u7a7a",deleteDesc:'\u78ba\u8a8d\u522a\u9664 blocklet \u5546\u5e97 {name} \uff1f<br/><span style="color: {color}">*\u522a\u9664\u6b64 blocklet \u5546\u5e97\u4e4b\u5f8c\uff0c\u9664\u975e\u91cd\u65b0\u52a0\u5165\uff0c\u5426\u5247\u7121\u6cd5\u66f4\u65b0\u5f9e\u8a72 blocklet \u5546\u5e97\u5b89\u88dd\u7684\u61c9\u7528\u7a0b\u5f0f\u3002</span>',confirmDesc:"\u8acb\u8f38\u5165\u8981\u522a\u9664\u7684{name}"},purchase:{title:"\u8cfc\u8cb7 {name}",confirmed:"\u60a8\u7684 Blocklet \u8cfc\u8cb7 NFT \u5df2\u9a57\u8b49",declined:"\u60a8\u672a\u63d0\u4f9b\u6709\u6548\u7684 Blocklet \u8cfc\u8cb7 NFT",waiting:"\u7b49\u5f85\u8cfc\u8cb7\u5b8c\u6210...",purchase:{title:"\u8cfc\u8cb7 NFT",description:"\u5728\u5b89\u88dd\u6b64blocklet\u4e4b\u524d\uff0c\u8acb\u652f\u4ed8\u4e00\u4e9b\u4ee3\u5e63\uff0c\u5982\u679c\u4f60\u5c1a\u672a\u8cfc\u8cb7\u6b64blocklet"},verify:{title:"\u9a57\u8b49NFT",description:"\u5728\u5b89\u88dd\u6b64Blocklet\u4e4b\u524d\uff0c\u5c07\u9a57\u8b49\u60a8\u662f\u5426\u5df2\u8cfc\u8cb7\u4e26\u6301\u6709\u8cfc\u8cb7\u7684NFT",auth:{title:"\u8cfc\u8cb7\u6191\u8b49\u5fc5\u9700",scan:"\u5c07DID\u9322\u5305\u9023\u63a5\u4ee5\u63d0\u4f9bblocklet\u8cfc\u8cb7NFT",confirm:"\u8acb\u5728\u60a8\u7684DID\u9322\u5305\u4e0a\u67e5\u770b\u6b64\u64cd\u4f5c",success:"\u60a8\u7684 NFT \u8cfc\u8cb7\u5df2\u7d93\u9a57\u8b49\u4e26\u958b\u59cb\u5b89\u88dd"}},auth:{title:"\u8cfc\u8cb7{name}",scan:"\u8acb\u4f7f\u7528\u60a8\u7684DID\u9322\u5305\u6383\u63cf\u4ee5\u4e0bQR\u78bc",confirm:"\u5728\u60a8\u7684DID\u9322\u5305\u4e0a\u78ba\u8a8d",success:"\u8cfc\u8cb7\u7684NFT\u5df2\u767c\u9001\u5230\u60a8\u7684DID\u9322\u5305"},launch:"\u555f\u52d5{name}",autoLaunch:"{name} \u8cfc\u8cb7\u6210\u529f\uff0c\u6b63\u5728\u91cd\u65b0\u5c0e\u5411\u81f3\u555f\u52d5\u9801\u9762..."}},setting:{saveSuccess:"\u8a2d\u5b9a\u5132\u5b58\u6210\u529f",unSavedTip:"\u6709\u672a\u4fdd\u5b58\u7684\u8b8a\u66f4\uff0c\u8acb\u9ede\u64ca\u300c\u5132\u5b58\u8b8a\u66f4\u300d\u4ee5\u4fdd\u5b58\u5b83\u5011\u3002",unSavedLeaveTip:"\u6709\u672a\u4fdd\u5b58\u7684\u66f4\u6539\uff0c\u78ba\u5b9a\u8981\u96e2\u958b\u9801\u9762\u55ce\uff1f",form:{name:"\u4f3a\u670d\u5668\u540d\u7a31",nameRequired:"\u9700\u8981\u4f3a\u670d\u5668\u63cf\u8ff0",namePlaceholder:"\u4f3a\u670d\u5668\u540d\u7a31",description:"\u63cf\u8ff0\u4f60\u7684\u4f3a\u670d\u5668",descriptionHolder:"\u4f3a\u670d\u5668\u63cf\u8ff0",descriptionRequired:"\u9700\u8981\u4f3a\u670d\u5668\u63cf\u8ff0",domain:"\u4f60\u7684\u4f3a\u670d\u5668\u57df\u540d",domainPlaceholder:"\u4f3a\u670d\u5668\u7db2\u57df\u540d\u7a31",domainRequired:"\u4f3a\u670d\u5668\u7db2\u57df\u662f\u5fc5\u8981\u7684",ipPlaceholder:"IP",ipRequired:"IP\u662f\u5fc5\u9700\u7684",registry:"Blocklet Store",registryPlaceholder:"\u5340\u584a\u5b58\u5132\u5668\u7372\u53d6\u5340\u584a",registryRequired:"\u9700\u8981Blocklet\u5546\u5e97",registerUrl:"Blocklet Launcher URL",registerUrlPlaceholder:"\u8f38\u5165\u60a8\u9996\u9078\u7684Blocklet Launcher\u7684URL\uff0c\u60a8\u53ef\u4ee5\u5b89\u5168\u4f7f\u7528\u5b98\u65b9\u7684",webWalletUrl:"DID \u9322\u5305\u7db2\u5740",webWalletUrlPlaceholder:"\u8acb\u8f38\u5165\u60a8\u6258\u7ba1\u7684\u201cDID\u9322\u5305\u201d\u7684URL\uff0c\u60a8\u53ef\u4ee5\u5b89\u5168\u5730\u4f7f\u7528\u5b98\u65b9\u7684",nftDomainUrl:"NFT\u57df\u540dURL",nftDomainUrlPlaceholder:"\u8acb\u8f38\u5165\u60a8\u8a17\u7ba1\u7684\u300cNFT\u57df\u540d\u300d\u7684URL\uff0c\u60a8\u53ef\u4ee5\u5b89\u5168\u4f7f\u7528\u5b98\u65b9\u7db2\u5740",enableWelcomePage:"\u555f\u7528\u6b61\u8fce\u9801",welcome:{switchLabel:"\u6b61\u8fce\u9801\u9762"},upgrade:{title:"\u5347\u7d1a Blocklet \u4f3a\u670d\u5668",description:"\u5728\u5347\u7d1a\u671f\u9593\uff0c\u60a8\u7684 Blocklet \u4f3a\u670d\u5668\u5c07\u9032\u5165\u7dad\u8b77\u6a21\u5f0f\uff0c\u66f4\u65b0\u5b8c\u6210\u5f8c\u5c07\u6301\u7e8c\u5e7e\u5206\u9418\u3002",dialog:'\u9ede\u64ca"\u78ba\u8a8d"\u5b89\u88dd\u66f4\u65b0\u3002Blocklet\u670d\u52d9\u5668\u5c07\u9032\u5165\u7dad\u8b77\u6a21\u5f0f\uff0c\u76f4\u5230\u66f4\u65b0\u5b8c\u6210\u4e26\u81ea\u52d5\u8fd4\u56de\u751f\u7522\u6a21\u5f0f\u3002',confirm:"\u5347\u7d1a",switchLabel:"\u81ea\u52d5\u66f4\u65b0\u6aa2\u67e5",enableBetaRelease:"\u555f\u7528\u6e2c\u8a66\u7248\u91cb\u51fa",setup:"\u6e96\u5099\u5347\u7d1a",installing:"\u6b63\u5728\u5b89\u88ddBlocklet\u4f3a\u670d\u5668 v{version}",restarting:"\u91cd\u65b0\u555f\u52d5Blocklet\u4f3a\u670d\u5668",cleanup:"\u9077\u79fb Blocklet \u4f3a\u670d\u5668\u8cc7\u6599",verifying:"\u6b63\u5728\u9a57\u8b49Blocklet\u670d\u52d9\u5668v{version}",rollback:"\u56de\u6efeBlocklet\u4f3a\u670d\u5668",complete:"\u5347\u7d1a\u5b8c\u6210\uff01",progress:"\u5347\u7d1a {name}",check:"\u6aa2\u67e5\u66f4\u65b0",latest:"\u60a8\u6b63\u5728\u57f7\u884c\u6700\u65b0\u7248\u672c\u3002"},restart:{title:"\u91cd\u65b0\u555f\u52d5 Blocklet \u4f3a\u670d\u5668",description:"\u5728\u91cd\u65b0\u555f\u52d5\u671f\u9593\uff0c\u60a8\u7684 Blocklet \u4f3a\u670d\u5668\u5c07\u9032\u5165\u7dad\u8b77\u6a21\u5f0f\uff0c\u76f4\u5230\u91cd\u65b0\u555f\u52d5\u5b8c\u6210\u3002",dialog:'\u9ede\u64ca "\u78ba\u8a8d" \u91cd\u65b0\u555f\u52d5\u3002Blocklet \u4f3a\u670d\u5668\u5c07\u9032\u5165\u7dad\u8b77\u6a21\u5f0f\uff0c\u76f4\u5230\u91cd\u65b0\u555f\u52d5\u5b8c\u6210\u4e26\u81ea\u52d5\u8fd4\u56de\u5230\u751f\u7522\u6a21\u5f0f\u3002',confirm:"\u91cd\u65b0\u958b\u59cb",setup:"\u6e96\u5099\u91cd\u65b0\u555f\u52d5",verifying:"\u9a57\u8b49 Blocklet \u4f3a\u670d\u5668",restarting:"\u91cd\u65b0\u555f\u52d5 Blocklet \u4f3a\u670d\u5668",cleanup:"\u78ba\u4fdd\u4e00\u5207\u6b63\u5e38",rollback:"\u6e05\u7406\u9ad2\u6c61\u72c0\u614b",complete:"\u7dad\u8b77\u5b8c\u6210\uff01",progress:"\u91cd\u65b0\u555f\u52d5 {name}"},register:{titleAdded:"\u5df2\u65b0\u589e\u81f3 Blocklet Launcher",title:"\u65b0\u589e\u81f3Blocklet Launcher",description:"\u4e00\u65e6\u6dfb\u52a0\uff0c\u4f60\u53ef\u4ee5\u5f9e{url}\u555f\u52d5\u9019\u500bblocklet\u4f3a\u670d\u5668\u4e0a\u7684blocklets",descriptionOnAdded:"\u4f60\u53ef\u4ee5\u5f9e {url} \u5c07 blocklets \u767c\u4f48\u5230\u9019\u500b blocklet \u4f3a\u670d\u5668\u3002",btn:"\u65b0\u589e",update:"\u66f4\u65b0",added:"\u65b0\u589e\u4e86",addSucceed:"\u65b0\u589e\u6210\u529f",updateSucceed:"\u66f4\u65b0\u6210\u529f",detecting:"\u5075\u6e2c\u4e2d",timeout:"\u5075\u6e2c\u903e\u6642\uff0c\u8acb\u6aa2\u67e5\u5340\u584a\u93c8\u555f\u52d5\u5668\u662f\u5426\u5df2\u555f\u52d5"},monitor:{diskThreshold:"\u7576\u78c1\u789f\u4f7f\u7528\u91cf\u8d85\u904e (%) \u6642\u767c\u9001\u8b66\u793a",diskThresholdPlaceholder:"\u8acb\u8a2d\u7f6e\u78c1\u789f\u4f7f\u7528\u8b66\u793a\u95be\u503c"}},accessKey:{accessKeyId:"\u5b58\u53d6\u91d1\u9470",lastUsed:"\u4e0a\u6b21\u4f7f\u7528\u65bc",tip:"\u8acb\u70ba\u6b64\u5b58\u53d6\u91d1\u9470\u8f38\u5165\u4e00\u500b\u540d\u7a31\u4ee5\u4f9b\u5c07\u4f86\u53c3\u8003\u3002",saveSecretTip:"\u9019\u662f\u60a8\u7684\u5b58\u53d6\u79d8\u5bc6\u91d1\u9470\u552f\u4e00\u80fd\u5920\u6aa2\u8996\u4e14\u7121\u6cd5\u5fa9\u539f\u7684\u6642\u9593\u3002\u7136\u800c\uff0c\u60a8\u53ef\u4ee5\u96a8\u6642\u5efa\u7acb\u65b0\u7684\u5b58\u53d6\u91d1\u9470",iKnow:"\u6211\u5df2\u8907\u88fd\u4e26\u4fdd\u5b58\u4e86Access Secret",showSecret:"\u986f\u793a\u79d8\u5bc6\u5b58\u53d6\u91d1\u9470",hideSecret:"\u96b1\u85cf\u79d8\u5bc6",title:"\u522a\u9664\u8a2a\u554f\u91d1\u9470",descriptionNoTime:"\u9019\u6703\u6c38\u4e45\u522a\u9664\u540d\u70ba {name} \u7684\u5b58\u53d6\u91d1\u9470 {key}\uff0c\u8a72\u91d1\u9470\u4ee5\u524d\u5f9e\u672a\u4f7f\u7528",description:"\u9019\u5c07\u6c38\u4e45\u522a\u9664\u8a2a\u554f\u91d1\u9470 {key}\uff0c\u5176\u540d\u7a31\u70ba {name}\uff0c\u4e0a\u6b21\u4f7f\u7528\u6642\u9593\u70ba {time}\uff0c{timeAge}",confirm_desc:"\u8acb\u8f38\u5165{name}\u4ee5\u522a\u9664",remark:"\u8a2a\u554f\u91d1\u9470\u540d\u7a31",remarkInvalid:"\u9700\u8981\u5b58\u53d6\u91d1\u9470\u540d\u7a31"},webhook:{add:"\u6dfb\u52a0\u6574\u5408",delTitle:"\u522a\u9664\u6574\u5408",requiredError:"\u8acb\u63d0\u4f9b\u6709\u6548\u7684{type}",confirm_desc:"\u8acb\u8f38\u5165\u8981\u522a\u9664\u7684{name}",test:"\u6e2c\u8a66",description:"\u9019\u5c07\u6c38\u4e45\u522a\u9664\u8207ID {id} \u7684\u6574\u5408",columns:{description:"ID",params:"\u53c3\u6578",createdAt:"\u5efa\u7acb\u65bc"}}},notification:{title:"\u6d3b\u52d5",empty:"\u9084\u6c92\u6709\u6d3b\u52d5",viewAll:"\u6aa2\u8996\u5168\u90e8",showRead:"\u986f\u793a\u95b1\u8b80",markAllAsRead:"\u5c07\u5168\u90e8\u6a19\u8a18\u70ba\u5df2\u8b80",markAsRead:"\u6a19\u8a18\u70ba\u5df2\u8b80",proceed:"\u7e7c\u7e8c",checkingForUpdates:"\u6b63\u5728\u6aa2\u67e5\u66f4\u65b0...",email:{enable:"\u555f\u7528\u96fb\u5b50\u90f5\u4ef6\u901a\u77e5",from:"\u96fb\u5b50\u90f5\u4ef6\u5bc4\u4ef6\u4eba",host:"SMTP\u4f3a\u670d\u5668\u4e3b\u6a5f",port:"SMTP\u670d\u52d9\u5668\u7aef\u53e3",user:"SMTP\u4f3a\u670d\u5668\u4f7f\u7528\u8005\u540d\u7a31",secure:"\u555f\u7528\u5b89\u5168\u9023\u7dda",password:"SMTP \u4f3a\u670d\u5668\u4f7f\u7528\u8005\u5bc6\u78bc",fromRequired:"\u96fb\u5b50\u90f5\u4ef6\u5bc4\u4ef6\u4eba\u662f\u5fc5\u9700\u7684",fromInvalid:"\u96fb\u5b50\u90f5\u4ef6\u767c\u9001\u8005\u7121\u6548",receiverRequired:"\u96fb\u5b50\u90f5\u4ef6\u63a5\u6536\u8005\u662f\u5fc5\u9700\u7684",receiverInvalid:"\u96fb\u5b50\u90f5\u4ef6\u63a5\u6536\u8005\u7121\u6548",hostRequired:"\u9700\u8981SMTP\u4f3a\u670d\u5668\u4e3b\u6a5f",hostInvalid:"SMTP\u4f3a\u670d\u5668\u4e3b\u6a5f\u7121\u6548",portRequired:"SMTP\u670d\u52d9\u5668\u7aef\u53e3\u662f\u5fc5\u9700\u7684",portInvalid:"SMTP \u4f3a\u670d\u5668\u9023\u63a5\u57e0\u7121\u6548\uff0c\u9023\u63a5\u57e0\u61c9\u8a72\u57281\u548c65535\u4e4b\u9593",userRequired:"\u9700\u8981\u63d0\u4f9b SMTP \u4f3a\u670d\u5668\u4f7f\u7528\u8005\u540d\u7a31",passwordRequired:"\u9700\u8981SMTP\u4f3a\u670d\u5668\u4f7f\u7528\u8005\u5bc6\u78bc\u3002",testSuccess:"\u6e2c\u8a66\u96fb\u5b50\u90f5\u4ef6\u767c\u9001\u6210\u529f",testFailed:"\u6e2c\u8a66\u90f5\u4ef6\u767c\u9001\u5931\u6557",testReceiver:"\u96fb\u5b50\u90f5\u4ef6\u63a5\u6536\u8005",testSendEmail:"\u6e2c\u8a66\u90f5\u4ef6\u767c\u9001",inputTestReceiver:"\u8acb\u8f38\u5165\u6e2c\u8a66\u6536\u4ef6\u4eba\u96fb\u5b50\u90f5\u4ef6",disable:"\u53d6\u6d88\u96fb\u5b50\u90f5\u4ef6\u901a\u77e5",disableDescription:"\u53d6\u6d88\u8a02\u95b1\u5f8c\uff0c\u60a8\u5c07\u4e0d\u518d\u6536\u5230\u96fb\u5b50\u90f5\u4ef6\u901a\u77e5\u3002\u8981\u6536\u5230\u96fb\u5b50\u90f5\u4ef6\u901a\u77e5\uff0c\u60a8\u53ef\u4ee5\u5728\u6b64\u9801\u9762\u4e0a\u518d\u6b21\u8a02\u95b1\u3002",unsubscribe:"\u53d6\u6d88\u96fb\u5b50\u90f5\u4ef6\u901a\u77e5",unsubscribeDescription:"\u53d6\u6d88\u8a02\u95b1\u5f8c\uff0c\u60a8\u5c07\u4e0d\u518d\u6536\u5230\u4efb\u4f55\u96fb\u5b50\u90f5\u4ef6\u901a\u77e5\u3002",subscribe:"\u8a02\u95b1",subscribeDescription:"\u8981\u63a5\u6536\u96fb\u5b50\u90f5\u4ef6\u901a\u77e5\uff0c\u60a8\u53ef\u4ee5\u5728\u8a2d\u7f6e\u9801\u9762\u4e0a\u518d\u6b21\u8a02\u95b1\u3002"},comingSoon:"\u66f4\u591a\u901a\u77e5\u983b\u9053\u6b63\u5728\u5efa\u8a2d\u4e2d",unsubscribe:"\u53d6\u6d88\u8a02\u95b1",unsubscribeSucceed:"\u9000\u8a02\u6210\u529f",unsubscribeFailed:"\u53d6\u6d88\u8a02\u95b1\u5931\u6557",unsubscribeTokenRequired:"\u5fc5\u9808\u63d0\u4f9b\u9000\u8a02\u4ee4\u724c",unsubscribeTokenExpired:"\u9000\u8a02\u4ee4\u724c\u5df2\u904e\u671f",unsubscribeTokenInvalid:"\u9000\u8a02\u4ee4\u724c\u7121\u6548",installComponentError:"\u672a\u627e\u5230\u5df2\u5378\u8f09\u7684\u7d44\u4ef6 {name}",installingComponent:"\u5b89\u88dd\u5143\u4ef6{name}"},router:{routerSetting:"\u7db2\u57df\u548c\u7db2\u5740",certSetting:"SSL\u8b49\u66f8",defaultSite:"\u9810\u8a2d",urlHelperText:"\u4e0d\u4ee5HTTP/HTTPS\u958b\u982d\u7684URL\u88ab\u8996\u70ba\u76f8\u5c0d\u8def\u5f91",empty:"\u9ede\u64ca\u64cd\u4f5c\u4ee5\u8a2d\u7f6eURL\u6620\u5c04",healthy:{ok:"\u5340\u584a\u6216\u670d\u52d9\u6b63\u5728\u904b\u884c",error:"Blocklet\u6216\u670d\u52d9\u672a\u904b\u884c\u6216\u672a\u5b89\u88dd"},service:{select:"\u9078\u64c7\u5340\u584a\u670d\u52d9 (\u53ef\u9078)",what:"Blocklet\u670d\u52d9\u662f\u5728\u5c07\u8acb\u6c42\u91cd\u5b9a\u5411\u5230\u4e0a\u6e38blocklet\u4e4b\u524d\u57f7\u884c\u7684\u7ba1\u9053"},nonProvider:{title:"\u5f15\u64ce\u66f4\u6539\u8b66\u544a",description:"\u5982\u679c\u60a8\u5c07\u5f15\u64ce\u66f4\u6539\u70ba\u201c\u7121\u201d\uff0c\u5247\u7576\u524d\u9801\u9762\u53ef\u80fd\u7121\u6cd5\u6b63\u5e38\u904b\u4f5c\uff0c\u56e0\u70ba\u5148\u524d\u7684\u5f15\u64ce\u5c07\u505c\u6b62\u904b\u884c\u3002\u60a8\u78ba\u5b9a\u8981\u7e7c\u7e8c\u55ce\uff1f",confirm:"\u6211\u7406\u89e3\uff0c\u7e7c\u7e8c"},validation:{urlRequired:"\u9700\u8981URL",redirectCodeRequired:"\u8f49\u5411\u7a0b\u5f0f\u78bc\u662f\u5fc5\u9700\u7684",didRequired:"\u9700\u8981Blocklet",pathPrefixTooLong:"URL\u524d\u7db4\u4e0d\u80fd\u8d85\u904e{length}\u500b\u5b57\u7b26",pathPrefixCannotBeEmpty:"URL\u524d\u7db4\u4e0d\u80fd\u70ba\u7a7a",domainRequired:"\u9700\u8981\u4f3a\u670d\u5668\u7db2\u57df",invalidUrl:"\u8acb\u63d0\u4f9b\u6709\u6548\u7684URL",pathPrefixRequired:"\u9700\u8981URL\u524d\u7db4",redirectUrlRequired:"\u9700\u8981\u91cd\u65b0\u5c0e\u5411URL",rewriteUrlRequired:"\u9700\u8981\u91cd\u5bebURL"},domain:{addSite:"\u65b0\u589e\u7ad9\u9ede",validate:{emptyTip:"\u7ad9\u9ede\u7db2\u57df\u4e0d\u80fd\u70ba\u7a7a",suffixTip:"\u7db2\u7ad9\u57df\u540d\u4e0d\u80fd\u5305\u542b{suffix}"},add:{title:"\u65b0\u589e\u7db2\u57df\u540d\u7a31",description:"\u8acb\u63d0\u4f9b\u6709\u6548\u7684\u57df\u540d",confirm:"\u65b0\u589e",cancel:"\u53d6\u6d88",blocklet:"\u9078\u64c7Blocklet",redirect:"\u5c07\u6d41\u91cf\u91cd\u5b9a\u5411\u5230\u54ea\u88e1\uff1f",port:"\u60a8\u7684\u8acb\u6c42\u8655\u7406\u7a0b\u5e8f\u9700\u8981\u76e3\u807d\u54ea\u500b\u57e0\uff1f",portTip:"\u9810\u8a2d\u70ba\u8acb\u6c42\u8655\u7406\u7a0b\u5e8f\u7684\u4e3b\u8981\u7aef\u53e3\uff0c\u60a8\u53ef\u4ee5\u81ea\u8a02\u6b64\u7aef\u53e3",type:"\u4ea4\u901a\u7ba1\u7406\u54e1",component:"\u9078\u64c7\u5143\u4ef6",pageGroup:"\u9801\u9762\u7fa4\u7d44",pageGroupTip:"\u6b64\u5143\u4ef6\u53ef\u4ee5\u5448\u73fe\u4e0a\u9762\u5217\u51fa\u7684\u4efb\u4f55\u9801\u9762\u7fa4\u7d44\uff0c\u7559\u7a7a\u4ee5\u5448\u73fe\u6240\u6709\u9801\u9762"},update:{title:"\u66f4\u65b0\u7db2\u7ad9\u57df\u540d",label:"\u7db2\u7ad9\u7db2\u57df",description:"\u8acb\u63d0\u4f9b\u6709\u6548\u7684\u7db2\u7ad9\u57df\u540d"},setup:{tipStart:"\u70ba\u8a72\u57df\u540d\u65b0\u589eDNS\u8a18\u9304",tipEnd:"\u6839\u64da\u4ee5\u4e0b\u6e96\u5247",recordType:"\u7d00\u9304\u985e\u578b",recordValue:"\u8a18\u9304\u503c"},verify:{ok:"\u57df\u540d\u89e3\u6790\u6b63\u5e38",notResolved:"\u6b64\u57df\u540d\u672a\u89e3\u6790\uff0c\u4e5f\u7121\u6cd5\u5b58\u53d6\uff0c\u8acb\u6aa2\u67e5\u60a8\u7684 DNS \u914d\u7f6e"},https:{ok:"\u8a72\u57df\u540d\u5df2\u555f\u7528https\u5354\u8b70",bad:"\u6b64\u7db2\u57df\u5c1a\u672a\u555f\u7528 https"},delete:{title:"\u522a\u9664\u7db2\u7ad9",description:'\u78ba\u8a8d\u5f8c\uff0c\u5c07\u522a\u9664\u73fe\u6709\u7684"{name}"\u7ad9\u9ede\u3002\u8acb\u5728\u4e0b\u65b9\u8f38\u5165"{name}"\uff0c\u9078\u64c7\u522a\u9664\u4ee5\u5b8c\u6210\u8b8a\u66f4\uff0c\u6216\u8005\u9078\u64c7\u53d6\u6d88\u4ee5\u4fdd\u7559\u60a8\u7684\u7ad9\u9ede\u3002',confirm_desc:"\u8acb\u8f38\u5165{name}\u4ee5\u78ba\u8a8d"}},domainAlias:{inputDomain:"\u624b\u52d5\u914d\u7f6e\u7db2\u57df",nftDomain:"\u4f7f\u7528 DID \u57df\u540d\u7684\u81ea\u52d5\u914d\u7f6e",showTipHint:"\u5982\u4f55\u914d\u7f6e\u57df\u540d\u89e3\u6790\uff1f",add:{title:"\u6dfb\u52a0\u984d\u5916\u57df\u540d",domainDescription:"\u8acb\u63d0\u4f9b\u6709\u6548\u7684\u57df\u540d",forceTip:"\u5982\u679c\u57df\u540d\u5df2\u7d93\u5b58\u5728\uff0c\u5f37\u5236\u6dfb\u52a0",helperText:"\u5982\u679c\u8f38\u5165HTTP\u6216HTTPS URL\uff0c\u5c07\u81ea\u52d5\u8f49\u63db\u70ba\u7db2\u57df\u540d\u7a31\u3002",isDidDomainError:"\u6b64\u7db2\u57df\u662f\u4e00\u500bDID\u7db2\u57df\u3002\u8acb\u4f7f\u7528\u81ea\u52d5\u7db2\u57df\u914d\u7f6e\u65b9\u6cd5\u6dfb\u52a0\u3002"},addCustomDomain:{name:"\u81ea\u8a02\u7db2\u57df"},addDomainNFT:{showNFT:"\u81ea\u52d5\u914d\u7f6e\u7db2\u57df",tips:"DID\u57df\u540d\u5c07\u81ea\u52d5\u57f7\u884c\u57df\u540d\u89e3\u6790\uff0c\u7121\u9700\u624b\u52d5\u914d\u7f6e\uff0c\u7576\u9700\u8981\u6642\u61c9\u7528\u7a0b\u5f0f\u5c07\u81ea\u52d5\u66f4\u65b0\u57df\u540d\u7684\u89e3\u6790\u8a18\u9304\u3002",connect:{title:"\u8acb\u5c55\u793a\u4f60\u7684\u57df\u540d NFT",scan:"\u4f7f\u7528DID\u9322\u5305\u6383\u63cf\u4ee5\u4e0bQR\u78bc\u4ee5\u6388\u6b0aBlocklet\u4f7f\u7528\u60a8\u7684\u57df\u540d",confirm:"\u5728\u60a8\u7684DID\u9322\u5305\u4e0a\u78ba\u8a8d",success:"\u6388\u6b0a\u6210\u529f"},buyTip:"\u5982\u679c\u60a8\u9084\u6c92\u6709 DID \u57df\u540d NFT\uff0c",buy:"\u7acb\u5373\u8cfc\u8cb7\uff01"},delete:{title:"\u522a\u9664",description:"\u522a\u9664\u57df\u540d\u5225\u540d\u5f8c\uff0c\u5c0d\u8a72\u5225\u540d\u7684\u8a2a\u554f\u53ef\u80fd\u7121\u6cd5\u6b63\u78ba\u8655\u7406\u3002"}},domainSecurity:{title:"\u57df\u540d\u5b89\u5168",cors:{title:"\u5141\u8a31\u7684CORS\u57df\u540d",description:'\u53ef\u4ee5\u5411{name}\u50b3\u9001\u8de8\u4f86\u6e90\u8acb\u6c42\u7684\u57df\u540d\u6e05\u55ae\uff0c\u7528\u9017\u865f\u5206\u9694\uff0c\u4f7f\u7528"*"\u5141\u8a31\u4efb\u4f55\u4eba\uff0c\u4f46\u4e0d\u88ab\u63a8\u85a6',domainInvalid:"\u8acb\u8f38\u5165\u6709\u6548\u7684\u57df\u540d\u5217\u8868"}},rule:{add:{title:"\u65b0\u589eURL\u5c0d\u61c9",confirm:"\u52a0",pathPrefix:"URL \u524d\u7db4\u662f\u4ec0\u9ebc\uff1f",pathPrefixTip:"\u5982\u679c\u60a8\u5c07\u524d\u7db4\u8a2d\u7f6e\u70ba'/my-prefix'\uff0c\u5247\u6240\u6709\u4ee5\u8a72\u524d\u7db4\u958b\u982d\u7684\u8acb\u6c42\u5c07\u88ab\u8def\u7531\u5230\u914d\u7f6e\u7684\u5340\u584a",blocklet:"\u54ea\u4e00\u500bBlocklet\u5c07\u8655\u7406\u9019\u4e9b\u8acb\u6c42\uff1f",port:"\u5340\u584a\u4e0a\u7684\u54ea\u500b\u57e0\u5c07\u8655\u7406\u8acb\u6c42\uff1f",portTip:"\u9019\u9810\u8a2d\u70ba blocklet \u7684\u4e3b\u8981\u57e0\u53e3\uff0c\u5982\u679c\u60a8\u7684 blocklet \u76e3\u807d\u591a\u500b\u57e0\u53e3\uff0c\u60a8\u53ef\u4ee5\u81ea\u8a02\u9019\u500b",responseType:"\u56de\u61c9\u985e\u578b",responseBody:"\u56de\u61c9\u5167\u5bb9",responseBodyTip:"\u8acb\u5c07\u60a8\u7684\u56de\u8986\u5167\u5bb9\u8cbc\u4e0a\u6b64\u8655\uff0c\u4e0d\u5f97\u8d85\u904e4096\u500b\u5b57\u5143",responseBodyRequired:"\u56de\u61c9\u5167\u5bb9\u4e0d\u80fd\u70ba\u7a7a"},delete:{title:"\u522a\u9664URL\u6620\u5c04",description:'\u78ba\u8a8d\u5f8c\uff0c\u60a8\u5c07\u522a\u9664\u73fe\u6709\u7684"{name}"URL\u6620\u5c04\u3002\u8acb\u8f38\u5165"{name}"\uff0c\u7136\u5f8c\u9078\u64c7\u522a\u9664\u4ee5\u5b8c\u6210\u66f4\u6539\uff0c\u6216\u8005\u9078\u64c7\u53d6\u6d88\u4ee5\u4fdd\u7559\u60a8\u7684URL\u6620\u5c04\u3002',confirm_desc:"\u8acb\u8f38\u5165 {name} \u4ee5\u522a\u9664",cancel:"\u53d6\u6d88"},update:{title:"\u66f4\u65b0 URL \u6620\u5c04",confirm:"\u662f\u7684\uff0c\u66f4\u65b0",cancel:"\u53d6\u6d88"}},cert:{name:"\u8b49\u66f8\u540d\u7a31",domain:"\u57df\u540d",action:"\u884c\u52d5",commonName:"\u901a\u7528\u540d\u7a31",boundDomains:"\u9818\u57df",source:"\u4f86\u6e90",expired:"\u5df2\u904e\u671f",leftDays:"\u5269\u9918\u5929\u6578",issuedOn:"\u767c\u884c\u65e5\u671f",expiryOn:"\u5230\u671f\u65e5",fingerprintAlg:"\u6307\u7d0b\u7b97\u6cd5",validityPeriod:"\u6709\u6548\u671f\u9650",matchedSites:"\u5339\u914d\u7684\u7db2\u7ad9",upload:"\u624b\u52d5\u4e0a\u50b3",publicCertHelperText:"\u516c\u958b\u8b49\u66f8\u53ef\u4ee5\u4e0b\u8f09",nonPublicCertHelperText:"\u7121\u6cd5\u4e0b\u8f09\u975e\u516c\u958b\u8b49\u66f8",protectedCertHelperText:"\u7121\u6cd5\u7de8\u8f2f\u53d7\u4fdd\u8b77\u7684\u8b49\u66f8",unprotectedCertHelperText:"\u672a\u53d7\u4fdd\u8b77\u7684\u8b49\u66f8\u53ef\u4ee5\u88ab\u7de8\u8f2f",issuing:"\u8b49\u66f8\u6b63\u5728\u751f\u6210",sourceTypes:{upload:"\u624b\u52d5\u4e0a\u50b3",lets_encrypt:"\u8b93\u6211\u5011\u52a0\u5bc6"},table:{nodata:"\u7121\u6578\u64da"},delete:{title:"\u522a\u9664\u8b49\u66f8",description:"\u78ba\u8a8d\u522a\u9664\u7db2\u57df{domain}\u7684\u6191\u8b49\u55ce\uff1f\u522a\u9664\u5b83\u53ef\u80fd\u6703\u5f71\u97ff\u76f8\u95dc\u670d\u52d9\u3002\u5728\u7e7c\u7e8c\u522a\u9664\u4e4b\u524d\uff0c\u8acb\u78ba\u8a8d\u5b83\u662f\u5b89\u5168\u7684\u3002",confirm:"\u78ba\u8a8d"},nginx:{title:"\u66f4\u65b0\u8b49\u66f8",titleAdd:"\u65b0\u589e\u8b49\u66f8",pem:"SSL\u8b49\u66f8\u6a94\u6848",pemTip:'\u8acb\u5c07\u60a8\u7684\u4f3a\u670d\u5668\u6191\u8b49\u6a94\u6848\u653e\u5728\u9019\u88e1\uff0c\u5b83\u61c9\u8a72\u4ee5".pem"\u6216".crt"\u7d50\u5c3e',key:"\u79c1\u9470\u6a94\u6848",keyTip:'\u8acb\u5728\u9019\u88e1\u653e\u7f6e\u60a8\u7684\u4f3a\u670d\u5668\u79c1\u9470\u6a94\u6848\uff0c\u5b83\u61c9\u8a72\u4ee5".pem"\u6216".key"\u7d50\u5c3e',confirm:"\u4fdd\u5b58",cancel:"\u53d6\u6d88",invalidFile:"\u60a8\u9078\u64c7\u4e86\u4e00\u500b\u7121\u6548\u7684\u6a94\u6848",empty:"\u5c1a\u672a\u9078\u64c7\u6a94\u6848",source:"\u4f86\u6e90",sourceTypes:{upload:"\u624b\u52d5\u4e0a\u50b3",lets_encrypt:"\u8b93\u6211\u5011\u52a0\u5bc6"}},detail:{title:"\u8b49\u66f8\u8a73\u60c5"},genLetsEncryptCert:{title:"\u751f\u6210Let's Encrypt\u8b49\u66f8",dnsTip:"\u8acb\u78ba\u4fdd\u57df\u540d\u5df2\u6307\u5411\u7576\u524d\u7684Blocklet\u4f3a\u670d\u5668\u3002",description:"\u6dfb\u52a0\u8b49\u66f8\u5c07\u4f7f\u670d\u52d9\u66f4\u5b89\u5168\uff0cBlocklet Server \u5c07\u5728\u8b49\u66f8\u5230\u671f\u4e4b\u524d\u81ea\u52d5 renew \u8a72\u8b49\u66f8\u3002"}},gateway:{reqLimit:{status:{true:"\u555f\u7528",false:"\u7981\u7528"},switchLabel:"\u8acb\u6c42\u9650\u5236",rate:"\u8acb\u6c42\u9650\u5236\uff08{rate} \u8acb\u6c42/\u79d2\uff09",ipHeaderLabel:"\u81ea\u8a02\u5ba2\u6236\u7aef IP \u6a19\u982d\uff08\u9078\u586b\uff09",ipHeaderDesc:"\u5982\u679c Blocklet \u4f3a\u670d\u5668\u5728\u67d0\u4e9b\u4ee3\u7406\u5f8c\u9762\u904b\u884c\uff0c\u60a8\u53ef\u4ee5\u5728\u9019\u88e1\u8a2d\u7f6e\u5ba2\u6236\u7aef\u771f\u5be6 IP \u7684\u6a19\u982d\u3002\u9078\u586b\uff0c\u7559\u7a7a\u4f7f\u7528\u9810\u8a2d\u503c\u3002"},cacheEnabled:{switchLabel:"\u555f\u7528\u9598\u9053\u5feb\u53d6"}}},noMatch:{desc:"\u627e\u4e0d\u5230\u60a8\u8981\u5c0b\u627e\u7684\u9801\u9762"},health:{connectionErrorTip:"Blocklet\u4f3a\u670d\u5668\u7121\u6cd5\u9023\u63a5\u5230\u7db2\u8def\uff0c\u8acb\u6aa2\u67e5Blocklet\u4f3a\u670d\u5668\u662f\u5426\u5df2\u505c\u6b62\u6216\u7db2\u8def\u662f\u5426\u6709\u554f\u984c",connectionRecoveryTip:"\u5340\u584a\u93c8\u4f3a\u670d\u5668\u7684\u9023\u63a5\u5df2\u6062\u5fa9",connectionStoppedTip:"Blocklet\u4f3a\u670d\u5668\u5df2\u505c\u6b62",wrongAccessUrlTip:"Blocklet \u4f3a\u670d\u5668\u5b58\u53d6\u4f4d\u5740\u932f\u8aa4\uff0c\u8acb\u4f7f\u7528\u6b63\u78ba\u7684\u5b58\u53d6\u4f4d\u5740"},debug:{title:"\u60a8\u7684 Blocklet \u4f3a\u670d\u5668\u5df2\u555f\u52d5\u4e26\u904b\u884c\u4e2d\uff01"},team:{invite:"\u9080\u8acb\u65b0\u7684",add:"\u65b0\u589e",member:{name:"\u540d\u5b57",passport:"\u8b77\u7167",passports:"\u8b77\u7167",lastLogin:"\u6700\u5f8c\u767b\u5165",lastLoginIp:"\u4e0a\u6b21\u767b\u5165IP",source:"\u8a3b\u518a\u4f86\u6e90",source_derived:"\u5f9eoauth\u6d3e\u751f",source_wallet:"DID\u9322\u5305",filter:"\u4f9d\u7be9\u9078",forbidLogin:"\u7981\u6b62\u767b\u9304",forbidLoginDescription:"\u4f7f\u7528\u8005\u7121\u6cd5\u9023\u63a5\u5230\u6b64\u61c9\u7528\u7a0b\u5f0f",allowLogin:"\u5141\u8a31\u767b\u9304",allowLoginDescription:"\u4f7f\u7528\u8005\u5c07\u80fd\u5920\u9023\u63a5\u5230\u6b64\u61c9\u7528\u7a0b\u5f0f",updateRole:"\u66f4\u65b0\u89d2\u8272",deleteUser:"\u522a\u9664\u4f7f\u7528\u8005",deleteUserDescription:'\u78ba\u8a8d\u522a\u9664\u4f7f\u7528\u8005"{name}"\u55ce\uff1f',revokePassport:"\u64a4\u92b7\u8b77\u7167",revokePassportDescription:"\u4e00\u65e6\u8b77\u7167\u88ab\u540a\u92b7\uff0c\u6301\u6709\u4eba\u5c07\u7121\u6cd5\u518d\u4f7f\u7528\u8a72\u8b77\u7167\u767b\u9304\uff0c\u78ba\u5b9a\u8981\u7e7c\u7e8c\u55ce\uff1f",enablePassport:"\u555f\u7528\u8b77\u7167",enablePassportDescription:"\u4e00\u65e6\u540a\u92b7\u7684\u8b77\u7167\u518d\u6b21\u555f\u7528\uff0c\u8b77\u7167\u6301\u6709\u4eba\u53ef\u4ee5\u518d\u6b21\u4f7f\u7528\u5b83\u9032\u884c\u767b\u9304\uff0c\u60a8\u78ba\u5b9a\u8981\u7e7c\u7e8c\u55ce\uff1f",passportPermissionTitle:"\u8b77\u7167\u5177\u6709\u4ee5\u4e0b\u6b0a\u9650\uff1a",search:"\u641c\u5c0b\u6703\u54e1",hideBlockedMember:"\u96b1\u85cf\u672a\u6838\u51c6\u7684\u6210\u54e1",inviteDialog:{createInviteLink:"\u751f\u6210\u9080\u8acb\u93c8\u63a5",createSuccessTip:"\u9080\u8acb\u9023\u7d50\u5df2\u6210\u529f\u5efa\u7acb\uff0c\u8acb\u9ede\u64ca\u8907\u88fd\u4e26\u5c07\u9023\u7d50\u767c\u9001\u7d66\u88ab\u9080\u8acb\u6210\u54e1\uff0c\u8acb\u6ce8\u610f\u6b64\u9080\u8acb\u9023\u7d50\u7121\u6cd5\u91cd\u8907\u4f7f\u7528\u4e26\u4e14\u5c07\u65bc {expireDate} \u904e\u671f\u3002"},error:{passportEmpty:"\u8b77\u7167\u4e0d\u80fd\u70ba\u7a7a"},connectedAccounts:"\u5df2\u9023\u63a5\u5e33\u6236",connections:"\u9023\u7dda",federated:"\u806f\u90a6\u7684",switch:{did:"\u5207\u63dbDID",profile:"\u5207\u63db\u8a2d\u5b9a\u6a94",passport:"\u5207\u63db\u8b77\u7167"},settings:{notification:"\u901a\u77e5",email:"\u7576\u4e00\u4e9b\u4e8b\u4ef6\u767c\u751f\u6642\uff0c\u8acb\u7d66\u6211\u767c\u9001\u96fb\u5b50\u90f5\u4ef6",wallet:"\u7576\u4e00\u4e9b\u4e8b\u4ef6\u767c\u751f\u6642\uff0c\u8acb\u901a\u77e5\u6211\u7684\u9322\u5305",phone:"\u7576\u767c\u751f\u67d0\u4e9b\u4e8b\u4ef6\u6642\uff0c\u8acb\u767c\u9001\u77ed\u4fe1\u7d66\u6211",webhook:"Webhooks",add:"\u65b0\u589e webhook",url:"\u5ba2\u88fd\u7db2\u5740",slack:"Slack Webhook",tested:"\u6e2c\u8a66\u8a0a\u606f\u5df2\u767c\u9001"},activeUserSessions:"\u6d3b\u8e8d\u7528\u6236\u6703\u8a71",forceLogout:"\u5f37\u5236\u767b\u51fa",forceLogoutDescription:"\u78ba\u8a8d\u662f\u5426\u5f37\u5236\u767b\u51fa\u6b64\u4f7f\u7528\u8005\uff1f"},transferNode:{name:"\u8f49\u8b93\u6240\u6709\u6b0a",inviteDialog:{title:"\u8f49\u79fb Blocklet \u4f3a\u670d\u5668",tips:{progress:"\u70ba\u4e86\u5b8c\u6210\u8f49\u79fb\u64cd\u4f5c\uff0c\u63a5\u6536\u8005\u5fc5\u9808\u63a5\u53d7\u4f3a\u670d\u5668\u7684\u8f49\u79fb\u8acb\u6c42\u3002\u4e00\u65e6\u63a5\u53d7\uff0c\u60a8\u5c07\u7121\u6cd5\u518d\u4f7f\u7528\u7576\u524d\u8b77\u7167\u767b\u5165\u4f3a\u670d\u5668\u3002",newOwnerPermissions:"\u65b0\u5c6c\u4e3b\u5c07\u6709\u6b0a\u7ba1\u7406\u6240\u6709\u64cd\u4f5c\uff0c\u5982\u6210\u54e1\u3001\u8b77\u7167\u548cBlocklets\u3002",revoke:"\u5982\u679c\u60a8\u8981\u64a4\u56de\u8f49\u8b93\u9080\u8acb\uff0c\u53ef\u4ee5\u5728\u300c\u5718\u968a-> \u6210\u54e1-> \u9080\u8acb\u300d\u9801\u9762\u4e2d \u522a\u9664\u9080\u8acb\u9023\u7d50\u3002"},createInviteLink:"\u751f\u6210\u9080\u8acb\u93c8\u63a5",createSuccessTip:"\u9080\u8acb\u9023\u7d50\u5df2\u6210\u529f\u5efa\u7acb\uff0c\u8acb\u9ede\u64ca\u8907\u88fd\u4e26\u5c07\u9023\u7d50\u767c\u9001\u7d66\u88ab\u9080\u8acb\u7684\u6210\u54e1\uff0c\u8acb\u6ce8\u610f\u8a72\u9080\u8acb\u9023\u7d50\u4e0d\u53ef\u91cd\u8907\u4f7f\u7528\u4e26\u5c07\u65bc {expireDate} \u5230\u671f"},delegateDialog:{title:"\u9700\u8981\u6388\u6b0a",scan:"\u4f7f\u7528DID\u9322\u5305\u6383\u63cf\u4ee5\u4e0bQR\u78bc\uff0c\u6388\u6b0a\u4f3a\u670d\u5668\u8f49\u79fb\u4f3a\u670d\u5668\u6240\u6709\u6b0aNFT\u3002",confirm:"\u5728\u60a8\u7684DID\u9322\u5305\u4e0a\u78ba\u8a8d",success:"\u6388\u6b0a\u6210\u529f"}},transferApp:{name:"\u8f49\u79fb\u6240\u6709\u6b0a",transferDialog:{title:"\u8f49\u79fb\u7533\u8acb",tips:{progress:"\u7533\u8acb\u7684\u8f49\u8b93\u9700\u8981\u63a5\u6536\u65b9\u63a5\u53d7\u624d\u80fd\u5b8c\u6210\u8f49\u8b93\u64cd\u4f5c\uff0c\u4e00\u65e6\u63a5\u6536\u65b9\u63a5\u53d7\u5f8c\uff0c\u60a8\u5c07\u7121\u6cd5\u518d\u4f7f\u7528\u7576\u524d\u8b77\u7167\u767b\u9304\u8a72\u61c9\u7528\u7a0b\u5e8f\u3002",newOwnerPermissions:"\u65b0\u6240\u6709\u8005\u5c07\u64c1\u6709\u7ba1\u7406\u6240\u6709\u64cd\u4f5c\u7684\u6b0a\u5229\uff0c\u5982\u6210\u54e1\u3001\u8b77\u7167\u548c\u8a2d\u7f6e\u3002"},createTransferLink:"\u751f\u6210\u8f49\u79fb\u9023\u7d50",createSuccessTip1:'\u6210\u529f\u5efa\u7acb\u8f49\u79fb\u9023\u7d50\uff0c\u53d7\u9080\u8005\u5fc5\u9808\u4f7f\u7528<a style="color: rgb(29, 193, 199)" target="_blank" href="https://www.didwallet.io/">DID Wallet</a>\u63a5\u6536\u61c9\u7528\u7a0b\u5f0f\u6240\u6709\u6b0a',createSuccessTip2:"\u8acb\u9ede\u64ca\u8907\u88fd\u4e26\u5c07\u9023\u7d50\u767c\u9001\u7d66\u53d7\u9080\u6210\u54e1\uff0c\u8acb\u6ce8\u610f\u6b64\u8f49\u79fb\u9023\u7d50\u7121\u6cd5\u91cd\u8907\u4f7f\u7528\u4e14\u5c07\u65bc {expireDate} \u5230\u671f\u3002\u4f60\u7684\u8f49\u79fb\u9023\u7d50\u53ea\u6703\u5728\u95dc\u9589\u6b64\u5c0d\u8a71\u6846\u5f8c\u986f\u793a\u4e00\u6b21\uff0c\u4e4b\u5f8c\u5c07\u7121\u6cd5\u67e5\u770b\u3002",createSuccessTip3:"\u8f49\u5e33\u6210\u529f\u5f8c\uff0c\u61c9\u7528\u7a0b\u5f0f\u5c07\u81ea\u52d5\u91cd\u65b0\u555f\u52d5\u4ee5\u4f7f\u66f4\u6539\u751f\u6548",link:"\u8f49\u79fb\u9023\u7d50",iKnow:"\u6211\u5df2\u7d93\u8907\u88fd\u4e26\u4fdd\u5b58\u4e86\u9023\u7d50"},connectDialog:{title:"\u9700\u8981\u6388\u6b0a",scan:"\u8acb\u4f7f\u7528DID\u9322\u5305\u6383\u63cf\u4ee5\u4e0bQR\u78bc\u6388\u6b0a\u61c9\u7528\u7a0b\u5e8f\u9032\u884c\u6240\u6709\u6b0a\u8f49\u79fb\u3002",confirm:"\u5728\u60a8\u7684DID\u9322\u5305\u4e0a\u78ba\u8a8d",success:"\u6388\u6b0a\u6210\u529f"},receiveDialog:{title:"\u63a5\u6536\u7533\u8acb\u6240\u6709\u6b0a",scan:"\u4f7f\u7528DID\u9322\u5305\u6383\u63cf\u4ee5\u4e0bQR\u78bc\u4ee5\u6536\u5230\u61c9\u7528\u7a0b\u5f0f\u6240\u6709\u6b0a",confirm:"\u5728\u4f60\u7684DID\u9322\u5305\u4e0a\u78ba\u8a8d",success:"\u63a5\u6536\u6240\u6709\u6b0a\u6210\u529f"},successTitle:"\u60a8\u5df2\u6210\u70ba\u6b64\u61c9\u7528\u7a0b\u5f0f\u7684\u65b0\u64c1\u6709\u8005",visitDashboard:"\u8a2a\u554f\u61c9\u7528\u7a0b\u5f0f\u5100\u8868\u677f"},permission:{create:{title:"\u5efa\u7acb\u6b0a\u9650",description:"\u683c\u5f0f\uff1a<action>_<resource> \u4f8b\u5982\uff1a'\u67e5\u8a62\u4f7f\u7528\u8005'\uff0c'\u4fee\u6539\u4f7f\u7528\u8005'"},delete:{title:"\u522a\u9664\u6b0a\u9650",description:"\u78ba\u8a8d\u522a\u9664{name}\uff1f"},error:{actionEmpty:"\u52d5\u4f5c\u4e0d\u80fd\u70ba\u7a7a",resourceEmpty:"\u8cc7\u6e90\u4e0d\u80fd\u70ba\u7a7a",permissionTooLong:"\u6b0a\u9650\u4e0d\u80fd\u8d85\u904e{length}\u500b\u5b57\u7b26",descriptionTooLong:"\u63cf\u8ff0\u4e0d\u80fd\u8d85\u904e{length}\u500b\u5b57\u7b26"}},passport:{create:{title:"\u5efa\u7acb\u8b77\u7167",titleTip:"\u6a19\u984c\u5728\u5efa\u7acb\u5f8c\u7121\u6cd5\u4fee\u6539\uff0c\u5efa\u8b70\u6700\u591a\u4f7f\u752814\u500b\u5b57\u6bcd"},bind:{title:"\u7d81\u5b9a\u6b0a\u9650",roleTip:"\u7d81\u5b9a\u5f8c\uff0c\u60a8\u5c07\u7372\u5f97\u6240\u9078\u8b77\u7167\u7684\u6240\u6709\u6b0a\u9650\u3002",permissionTip:"\u7d81\u5b9a\u5f8c\u5c07\u7372\u5f97\u6240\u9078\u6b0a\u9650",transferLeftTitle:"\u6240\u6709\u6b0a\u9650",transferRightTitle:"\u6388\u4e88\u7684\u6b0a\u9650"},delete:{title:"\u522a\u9664\u8b77\u7167",description:"\u4f7f\u7528\u8005\u6301\u6709\u7684\u8b77\u7167\u5728\u88ab\u522a\u9664\u5f8c\u5c07\u5931\u53bb\u6240\u6709\u6b0a\u9650\u3002\u60a8\u78ba\u5b9a\u8981\u7e7c\u7e8c\u55ce\uff1f"},error:{titleEmpty:"\u6a19\u984c\u4e0d\u80fd\u70ba\u7a7a",titleTooLong:"\u6a19\u984c\u4e0d\u80fd\u8d85\u904e{length}\u500b\u5b57\u5143",descriptionEmpty:"\u63cf\u8ff0\u4e0d\u80fd\u70ba\u7a7a"},issuance:{pending:"\u5f85\u5b9a",create:{title:"\u751f\u6210\u9023\u7d50"},delete:{title:"\u522a\u9664\u63a5\u6536\u9023\u7d50",description:"\u78ba\u8a8d\u522a\u9664{link}\uff1f"}},issue:"\u767c\u7c3d\u8b49",disableIssuance:"\u505c\u7528\u8b77\u7167\u767c\u653e",enableIssuance:"\u555f\u7528\u8b77\u7167\u7c3d\u767c",disableIssuanceTip:"\u5c07\u7981\u7528\u201cIssue Passport\u201d\uff0c\u201cInvite Member\u201d\u548c\u5176\u4ed6\u64cd\u4f5c\u3002",enableIssuanceTip:'\u5c07\u555f\u7528"Issue Passport", "Invite Member"\u548c\u5176\u4ed6\u64cd\u4f5c',trustedPassportIssuers:"\u53ef\u4fe1\u4efb\u7684\u8b77\u7167\u9812\u767c\u6a5f\u69cb",trustedIssuers:"\u53ef\u4fe1\u4efb\u7684\u767c\u884c\u8005",trustedFactories:"\u53ef\u4fe1\u7684NFT\u6536\u85cf\u54c1",trustedFactoriesTip:"\u7ba1\u7406\u53ef\u7528\u65bc\u514c\u63db\u8b77\u7167\u7684\u53ef\u4fe1NFT\u6536\u85cf",searchFactoryAddress:"\u641c\u5c0b\u6536\u85cf DID",configFactories:"\u914d\u7f6e\u53ef\u4fe1\u7684NFT\u6536\u85cf\u54c1",configFactoriesTip:"\u5141\u8a31\u7528\u6236\u5c07NFT\u4ea4\u63db\u6210\u8b77\u7167",factoryAddress:"NFT \u6536\u85cf\u5730\u5740",factory404:"\u672a\u627e\u5230NFT\u6536\u85cf",factoryAddressTip:"NFT Collection\u5730\u5740\u5fc5\u9808\u5b58\u5728\u65bcArcBlock\u4e3b\u93c8\u4e0a",role:"\u8b77\u7167\u985e\u578b",ttl:"\u8b77\u7167\u5230\u671f\u653f\u7b56",ttlNever:"\u6c38\u4e0d\u904e\u671f",ttlMint:"\u81eaNFT\u8cfc\u8cb7\u4ee5\u4f86",ttlExchange:"\u7531\u65bc\u8b77\u7167\u4ea4\u63db",ttlNeverTip:"\u8b77\u7167\u6709\u6548\u671f\u81f3\u540a\u92b7\u524d",ttlMintTip:"\u81ea\u5f9e\u8cfc\u8cb7NFT\u8d77\uff0c\u8b77\u7167\u5c07\u6709\u6548\uff0c\u76f4\u5230\u60a8\u6307\u5b9a\u7684ttl\u6216\u64a4\u92b7",ttlExchangeTip:"\u8b77\u7167\u5c07\u5728\u4f7f\u7528\u8005\u6210\u529f\u4ea4\u63db\u5f8c\u6709\u6548\uff0c\u76f4\u5230\u60a8\u6307\u5b9attl\u6216\u64a4\u92b7",ttlTip:"365d \u610f\u5473\u8457365\u5929\uff0c\u4f60\u4e5f\u53ef\u4ee5\u4f7f\u752830\u5929\u621624h",validUntil:"\u6709\u6548\u671f\u81f3\uff1a{date}",externalPassport:"\u5916\u90e8\u8b77\u7167",notTrustedIssuerTip:"\u7531\u65bc\u7c3d\u767c\u6a5f\u69cb\u4e0d\u5728\u4fe1\u4efb\u6a5f\u69cb\u6e05\u55ae\u4e2d\uff0c\u8b77\u7167\u7121\u6cd5\u4f7f\u7528",issuerDid:"\u767c\u884c\u4ebaDID",addNodeToTrustedIssuers:"\u5c07\u7576\u524d\u4f3a\u670d\u5668\u6dfb\u52a0\u70ba\u53d7\u4fe1\u4efb\u7684\u8b77\u7167\u7c3d\u767c\u6a5f\u69cb",revoked:"\u5df2\u64a4\u92b7",noPermission:"\u6c92\u6709\u6b0a\u9650\u57f7\u884c\u6b64\u64cd\u4f5c",shouldNotDeleteCurrent:"\u60a8\u76ee\u524d\u4e0d\u80fd\u64a4\u92b7\u60a8\u7684\u6b63\u5728\u4f7f\u7528\u7684\u8b77\u7167",mappingRule:"\u6620\u5c04\u898f\u5247",defaultRule:"\u9810\u8a2d\u898f\u5247",search:"\u641c\u5c0b\u8b77\u7167",searchIssuerDid:"\u641c\u5c0b\u767c\u884c\u65b9DID",issueBy:"{name}\u554f\u984c",configColor:"\u914d\u7f6e\u8b77\u7167\u984f\u8272",configColorTip:"\u81ea\u8a02\u8b77\u7167\u7684\u984f\u8272",color:"\u8b77\u7167\u984f\u8272",description:"\u4f7f\u7528\u9019\u500b\u8b77\u7167\u9023\u63a5 {teamName} \u4f5c\u70ba {title}"},inviting:{link:"\u9080\u8acb\u9023\u7d50",inviter:"\u9080\u8acb\u8005",delete:{title:"\u522a\u9664\u9080\u8acb\u9023\u7d50",description:"\u78ba\u8a8d\u522a\u9664 {link}\uff1f"},disabledTip:"\u9080\u8acb\u672a\u555f\u7528"},whoCanAccess:{all:{title:"\u9069\u7528\u65bc\u6240\u6709\u4eba"},owner:{title:"\u50c5\u9650\u64c1\u6709\u8005"},invited:{title:"\u50c5\u9650\u53d7\u9080\u7528\u6236"}}},launcher:{provider:"\u63d0\u4f9b\u8005",adminUrl:"URL"},session:{forbidLogin:"\u60a8\u5df2\u88ab\u7981\u6b62\u8a2a\u554f\u6b64\u4f3a\u670d\u5668"},launchBlocklet:{appInfo:"\u61c9\u7528\u7a0b\u5f0f\u8cc7\u8a0a",appInfoDesc:"\u78ba\u8a8d\u7533\u8acb\u8cc7\u8a0a",author:"\u61c9\u7528\u7a0b\u5f0f\u4f5c\u8005\uff1a{author}",setup:"\u8a2d\u7f6eBlocklet",redirect:"\u91cd\u5b9a\u5411",alreadyRunning:"{name} \u61c9\u7528\u7a0b\u5f0f\u5df2\u7d93\u5728\u6b64 Blocklet \u4f3a\u670d\u5668\u4e0a\u904b\u884c",alreadyInstalled:"\u61c9\u7528\u7a0b\u5f0f {name} \u5df2\u5728\u6b64 Blocklet \u4f3a\u670d\u5668\u4e0a\u5b89\u88dd",alreadyExists:"\u6b64\u61c9\u7528\u7a0b\u5f0f\u5df2\u7d93\u5b58\u5728\uff0c\u6b63\u5728\u91cd\u65b0\u5c0e\u5411...",purchased:"\u5df2\u8cfc\u8cb7",purchase:"\u8cfc\u8cb7",nextStep:"\u4e0b\u4e00\u6b65",agreement:"\u8a31\u53ef\u5354\u8b70",agreeAll:"\u540c\u610f\u4e26\u7e7c\u7e8c",installing:"\u6b63\u5728\u5b89\u88dd{appName}\u5728{serverName}\u4e0a\uff0c\u53ef\u80fd\u9700\u8981\u5e7e\u5206\u9418\u624d\u80fd\u5b8c\u6210\uff0c\u8acb\u8010\u5fc3\u7b49\u5019...",redirecting:"{appName} \u5b89\u88dd\u6210\u529f\uff0c\u73fe\u5728\u555f\u52d5...",start:"\u767c\u5e03",launch:"\u5c07Blocklet\u5b89\u88dd\u5230\u4f3a\u670d\u5668",launchSuccess:"{appName}\u6210\u529f\u4e0a\u7dda\u4e86!",installSuccess:"Blocklet\u5728{serverName}\u4e0a\u6210\u529f\u5b89\u88dd\u4e26\u555f\u52d5",openInRegistry:"\u5728Blocklet Store\u4e2d\u67e5\u770b",subTitle:"\u6e96\u5099\u5728{serverName}\u4e0a\u5b89\u88ddBlocklet {appName}",installingSubTitle:"{appName} \u5b89\u88dd\u4e2d",access:"\u958b\u555f\u61c9\u7528\u7a0b\u5f0f",viewApplication:"\u67e5\u770b\u61c9\u7528\u7a0b\u5f0f",newVersion:"\u65b0\u7248\u672c",newVersionDesc:"\u8a72\u61c9\u7528\u7a0b\u5f0f\u5df2\u7d93\u5b58\u5728\uff0c\u4f46\u7576\u524d\u7248\u672c\u53ef\u4ee5\u5347\u7d1a",upgradeNow:"\u7acb\u5373\u5347\u7d1a",later:"\u7a0d\u5f8c",introduction:"\u4ecb\u7d39",welcome:"\u6b61\u8fce\u4f7f\u7528 Blocklet \u767c\u4f48\u56ae\u5c0e",accept:"\u6211\u540c\u610fBlocklet\u7684\u6700\u7d42\u7528\u6236\u8a31\u53ef\u5354\u8b70",license:"\u61c9\u7528\u8a31\u53ef",next:"\u540c\u610f EULA \u4e26\u7e7c\u7e8c",purchaseApp:"\u8cfc\u8cb7 Blocklet",setupAppDesc:"\u521d\u59cb\u5316\u60a8\u7684\u5340\u584a\u93c8\u6a21\u584a",launched:"\u5b8c\u6210",confirmInstall:"\u78ba\u8a8d\u5b89\u88dd",dialog:{title:"\u6210\u70ba\u61c9\u7528\u7a0b\u5f0f\u6240\u6709\u8005",nftFreeDescription:"\u8acb\u5c55\u793a\u61c9\u7528\u7a7a\u9593NFT\u4e26\u5275\u5efa\u61c9\u7528\u5e33\u6236\u4ee5\u7e7c\u7e8c",nftPaidDescription:"\u8acb\u5c55\u793a\u61c9\u7528\u7a7a\u9593 NFT \u548c\u61c9\u7528\u8cfc\u8cb7 NFT \u4ee5\u7e7c\u7e8c",freeDescription:"\u8acb\u5efa\u7acb\u61c9\u7528\u7a0b\u5f0f\u5e33\u865f\u4ee5\u7e7c\u7e8c",paidDescription:"\u8acb\u5c55\u793a\u61c9\u7528\u8cfc\u8cb7NFT\u4e26\u5275\u5efa\u61c9\u7528\u5e33\u865f\u4ee5\u7e7c\u7e8c",confirm:"\u5728\u60a8\u7684DID\u9322\u5305\u4e0a\u9032\u884c\u78ba\u8a8d",success:"\u6388\u6b0a\u6210\u529f",authorizationTimeout:"\u6b0a\u9650\u903e\u6642"},waiting:{verifying:"\u9a57\u8b49\u61c9\u7528\u7a0b\u5f0f\u5143\u6578\u64da...",downloading:"\u6b63\u5728\u4e0b\u8f09\u61c9\u7528\u7a0b\u5f0f\u5957\u4ef6...",downloadingComponent:"\u6b63\u5728\u4e0b\u8f09{name}",extractingComponent:"\u63d0\u53d6 {name}",extracting:"\u6b63\u5728\u63d0\u53d6\u61c9\u7528\u7a0b\u5f0f\u5305...",installing:"\u6b63\u5728\u5b89\u88dd\u61c9\u7528\u7a0b\u5f0f\u5143\u4ef6...",installed:"\u5df2\u5b89\u88dd",starting:"\u555f\u52d5\u61c9\u7528\u7a0b\u5f0f...",done:"\u7b49\u5f85\u61c9\u7528\u7a0b\u5f0f\u6e96\u5099\u597d..."},error:{loadMetaFailed:"\u8f09\u5165\u61c9\u7528\u7a0b\u5f0f\u8cc7\u8a0a\u5931\u6557",appMetaNotFound:"\u627e\u4e0d\u5230\u6b64\u61c9\u7528\u7a0b\u5f0f\u7684\u8cc7\u8a0a",downloadFailed:"\u4e0b\u8f09\u61c9\u7528\u5931\u6557\uff0c\u8acb\u91cd\u8a66",installFailed:"\u5b89\u88dd\u61c9\u7528\u5931\u6557\uff0c\u8acb\u91cd\u8a66",startFailed:"\u555f\u52d5\u61c9\u7528\u7a0b\u5f0f\u5931\u6557\uff0c\u8acb\u91cd\u8a66",launchFailed:"\u555f\u52d5\u61c9\u7528\u7a0b\u5f0f\u5931\u6557\uff0c\u8acb\u518d\u8a66\u4e00\u6b21",installedButStopped:"\u61c9\u7528\u7a0b\u5f0f\u5b89\u88dd\u6210\u529f\uff0c\u4f46\u7121\u6cd5\u555f\u52d5\u3002\u5728\u89e3\u6c7a\u963b\u585e\u554f\u984c\u5f8c\uff0c\u60a8\u53ef\u4ee5\u624b\u52d5\u555f\u52d5\u5b83",installedButError:"\u61c9\u7528\u7a0b\u5f0f\u5b89\u88dd\u6210\u529f\uff0c\u4f46\u7121\u6cd5\u555f\u52d5",restoreFailed:"\u61c9\u7528\u7a0b\u5f0f\u6062\u5fa9\u5931\u6557\uff0c\u8acb\u91cd\u8a66",resourceBlocklet:"\u8cc7\u6e90 Blocklet \u7121\u6cd5\u5b89\u88dd\u70ba\u61c9\u7528\u7a0b\u5f0f\uff0c\u60a8\u53ef\u4ee5\u5c07\u6b64 Blocklet \u639b\u8f09\u5230\u73fe\u6709\u61c9\u7528\u7a0b\u5f0f\u4e2d\u3002"},steps:{introduction:"\u4ecb\u7d39",installApp:"\u5b89\u88dd\u61c9\u7528\u7a0b\u5f0f",purchaseSpace:"\u8cfc\u8cb7\u7a7a\u9593",prepareSpace:"\u6e96\u5099\u7a7a\u9593"},installRelatedDependencies:"\u5b89\u88dd\u76f8\u95dc\u4f9d\u8cf4",installRelatedComponents:"\u5b89\u88dd\u76f8\u95dc\u5143\u4ef6"},issuePassport:{title:"\u6536\u5230\u8b77\u7167",description:"\u4f7f\u7528DID\u9322\u5305\u63a5\u6536{name}\u767c\u884c\u7684\u8b77\u7167",dialog:{scan:"\u4f7f\u7528\u60a8\u7684DID\u9322\u5305\u4f86\u7533\u9818\u8b77\u7167",confirm:"\u5728\u4f60\u7684 DID \u9322\u5305\u4e0a\u78ba\u8a8d",success:"\u8b77\u7167\u5df2\u6210\u529f\u6dfb\u52a0\u5230\u60a8\u7684\u9322\u5305",loginWithPassport:"\u9023\u63a5\u5230\u6b64\u8b77\u7167",autoClose:"\u9801\u9762\u5c07\u5728 {seconds} \u79d2\u5f8c\u81ea\u52d5\u95dc\u9589",autoJump:"\u9801\u9762\u5c07\u5728 {seconds} \u79d2\u5f8c\u81ea\u52d5\u8f49\u8df3"}},lostPassport:{title:"\u4e1f\u5931\u8b77\u7167",description:"\u7528\u6236{name}\u7684\u64c1\u6709\u8005\u53ef\u4ee5\u6383\u63cfQR\u78bc\u4ee5\u53d6\u56de\u8b77\u7167\uff0c\u6703\u54e1\u8acb\u806f\u7e6b\u64c1\u6709\u8005\u91cd\u65b0\u767c\u653e\u8b77\u7167\u3002",dialog:{title:"\u6062\u5fa9\u8b77\u7167",scan:"\u4f7f\u7528\u60a8\u7684DID\u9322\u5305\u6062\u5fa9\u8b77\u7167",confirm:"\u5728\u60a8\u7684DID\u9322\u5305\u4e0a\u78ba\u8a8d",success:"\u8b77\u7167\u5df2\u6210\u529f\u52a0\u5165\u60a8\u7684\u9322\u5305"},return:"\u9023\u63a5\u8b77\u7167",selectPassport:"\u9078\u64c7\u8b77\u7167",receivePassport:"\u6536\u5230\u8b77\u7167"},invite:{message:"{name}\u9080\u8acb\u60a8\u6210\u70ba{dapp}\u7684{role}",success:"\u4f60\u5df2\u6210\u529f\u52a0\u5165 {dapp}",receive:"\u63a5\u6536\u8207",validUntil:"\u6709\u6548\u671f\u9650\uff1a",viewPermission:"\u6aa2\u8996\u6b0a\u9650",emptyPermission:"\u7a7a\u8a31\u53ef\u6b0a",open:"\u6253\u958b",description:{step1:"\u4e0b\u8f09\u4e26\u8a2d\u7f6e\u60a8\u7684{wallet}",step2:"\u9ede\u64ca\u4e0a\u65b9\u6309\u9215\u4ee5\u6536\u53d6\u8b77\u7167",step3:"\u4f7f\u7528\u6536\u5230\u7684\u8b77\u7167\u767b\u9304{dapp}"},transferNFTDialog:{title:"\u63a5\u53d7Blocklet\u4f3a\u670d\u5668{name}",scan:"\u9023\u63a5\u555f\u52d5\u5668\u4ee5\u5b8c\u6210\u5c0d\u5340\u584a\u670d\u52d9\u5668\u7684\u63a5\u6536\u3002",confirm:"\u8acb\u5728\u60a8\u7684DID\u9322\u5305\u4e0a\u6aa2\u67e5\u6b64\u64cd\u4f5c",success:"\u9023\u7dda\u6210\u529f\uff0c\u7b49\u5f85\u6536\u5230\u4f3a\u670d\u5668\u78ba\u8a8d"}},receive:{dialog:{title:"\u4f7f\u7528\u60a8\u7684DID\u9322\u5305\u6536\u53d6\u8b77\u7167",scan:"\u5c07\u60a8\u7684DID\u9322\u5305\u9023\u63a5\u4ee5\u63a5\u6536\u8b77\u7167",confirm:"\u5728\u4f60\u7684DID\u9322\u5305\u4e0a\u78ba\u8a8d",success:"\u4f60\u5df2\u6210\u529f\u9023\u7dda"}},navigation:{navigation:"\u5c0e\u822a",actionFailed:"\u52d5\u4f5c\u5931\u6557",form:{title:"\u6a19\u984c",titlePlaceholder:"\u8acb\u8f38\u5165\u5c0e\u822a\u6a19\u984c",titleTooLong:"\u6a19\u984c\u9577\u5ea6\u61c9\u5c0f\u65bc {len}",icon:"\u5c0e\u822a\u5716\u793a",iconPlaceholder:"\u8acb\u8f38\u5165\u5c0e\u822a\u5716\u793a",invalidIcon:"\u5716\u793a\u7121\u6548",findMoreIcon:"\u5c0b\u627e\u66f4\u591a\u5716\u6a19",link:"\u9023\u7d50",linkPlaceholder:"\u8acb\u8f38\u5165\u5c0e\u822a\u9023\u7d50",invalidLink:"\u9023\u7d50\u7121\u6548",component:"\u5143\u4ef6",componentPlaceholder:"\u8acb\u9078\u64c7\u5c0e\u822a\u5143\u4ef6",role:"\u89d2\u8272",rolePlaceholder:"\u8acb\u9078\u64c7\u5c0e\u822a\u89d2\u8272",locale:"\u8a9e\u7cfb",localePlaceholder:"\u8acb\u8f38\u5165\u60a8\u60f3\u8981\u6dfb\u52a0\u7684\u5730\u5340\u8a2d\u7f6e",localeExists:"{value} \u5df2\u7d93\u5b58\u5728"},action:{add:"\u65b0\u589e\u5c0e\u822a",addSub:"\u6dfb\u52a0\u6b21\u5c0e\u822a",edit:"\u7de8\u8f2f\u5c0e\u822a",hide:"\u96b1\u85cf\u5c0e\u822a",show:"\u986f\u793a\u5c0e\u822a",del:"\u522a\u9664\u5c0e\u822a",new:"\u65b0",noAddSub:"\u7121\u6cd5\u5b89\u88dd\u7684\u5143\u4ef6\u7121\u6cd5\u65b0\u589e\u5b50\u5c0e\u89bd",noEdit:"\u7121\u6cd5\u7de8\u8f2f\u5df2\u89e3\u9664\u5b89\u88dd\u7684\u5143\u4ef6",noDel:"\u4e0d\u5141\u8a31\u522a\u9664\u5167\u5efa\u5c0e\u822a",reset:"\u91cd\u7f6e",restConfirmTitle:"\u60a8\u8981\u6e05\u9664\u6240\u6709\u81ea\u8a02\u5c0e\u822a\u55ce\uff1f",restConfirmDesc:"\u6e05\u9664\u5f8c\uff0c\u5c0e\u822a\u5c07\u6062\u5fa9\u5230Blocklet\u7684\u539f\u59cb\u9ed8\u8a8d\u914d\u7f6e",resetSuccessful:"\u91cd\u8a2d\u6210\u529f"}},storage:{spaces:{tips:"\u5c0f\u8cbb",label:"\u8acb\u8f38\u5165DID\u7a7a\u9593\u7db2\u95dc",connected:{title:"\u9023\u63a5\u7684DID\u7a7a\u9593",tag:"\u5df2\u9023\u63a5"},connectedWithName:"\u60a8\u5df2\u6210\u529f\u9023\u63a5\u5230{name}",addedWithName:"\u60a8\u5df2\u6210\u529f\u65b0\u589e{name}",connects:"\u9023\u63a5",reconnect:"\u91cd\u65b0\u9023\u63a5",addressCannotEmpty:"\u5730\u5740\u4e0d\u80fd\u70ba\u7a7a",addressNotValid:"{url} \u4e0d\u662f\u4e00\u500b\u6709\u6548\u7684\u5730\u5740",authorize:{title:"\u5c07{appName}\u9023\u63a5\u5230DID\u7a7a\u9593",scan:"\u4f7f\u7528\u60a8\u7684DID\u9322\u5305\u6383\u63cf\u4e0b\u65b9\u7684QR\u78bc\uff0c\u5141\u8a31\u61c9\u7528\u7a0b\u5f0f{appName}\u9023\u63a5\u5230DID\u7a7a\u9593",success:"\u9023\u7dda\u6210\u529f"},provideNFT:{title:"\u8acb\u5c55\u793a {appName} \u7684DID Spaces NFT",scan:"\u4f7f\u7528\u60a8\u7684DID\u9322\u5305\u6383\u63cf\u4e0b\u65b9\u7684QR\u78bc\uff0c\u5141\u8a31\u61c9\u7528\u7a0b\u5f0f{appName}\u986f\u793aDID\u7a7a\u9593NFT",success:"\u9023\u7dda\u6210\u529f"},backup:{title:"\u5099\u4efd",records:"\u5099\u4efd\u8a18\u9304"},autoBackup:{title:"\u81ea\u52d5\u5099\u4efd",enabled:"\u81ea\u52d5\u5099\u4efd\u5df2\u555f\u7528",disabled:"\u81ea\u52d5\u5099\u4efd\u5df2\u95dc\u9589"},autoCheckUpdate:{title:"\u81ea\u52d5\u6aa2\u67e5\u65b0\u7248\u672c\u901a\u77e5",enabled:"\u81ea\u52d5\u6aa2\u67e5\u65b0\u7248\u672c\u5df2\u555f\u7528\u3002",disabled:"\u81ea\u52d5\u6aa2\u67e5\u65b0\u7248\u672c\u5df2\u95dc\u9589"},backupSuccessfully:"\u5099\u4efd\u6210\u529f",restore:"\u9084\u539f",restoreSuccessfully:"\u9084\u539f\u6210\u529f",gateway:{title:"\u9598\u9053\u5668",select:"\u9078\u64c7\u4e00\u500bDID\u7a7a\u9593",add:{title:"\u65b0\u589eDID\u7a7a\u9593",label:"\u8acb\u8f38\u5165DID Spaces\u7684\u7db2\u5740",failed:"\u6dfb\u52a0DID\u7a7a\u9593\u5931\u6557",invalidUrl:"\u7121\u6548\u7684DID\u7a7a\u9593\u7db2\u95dcURL",duplicate:"DID\u7a7a\u9593\uff08{name}\uff09\u5df2\u7d93\u5b58\u5728\u55ce\uff1f"},delete:{title:"\u522a\u9664\u7db2\u95dc",succeeded:"\u522a\u9664 DID \u7a7a\u9593 {name} \u6210\u529f",failed:"\u522a\u9664\u9598\u9053\u5931\u6557",failedForSelected:"\u7121\u6cd5\u522a\u9664\u6240\u9078\u7684DID\u7a7a\u9593"},connect:{title:"\u9023\u63a5DID\u7a7a\u9593",add:"\u73fe\u5728\u9023\u63a5\u5230DID Spaces",addTips:"\u60a8\u5c1a\u672a\u9023\u63a5\u5230\u4efb\u4f55\u7a7a\u9593",switch:"\u5207\u63dbDID\u7a7a\u9593",switchTips:"\u60a8\u5df2\u9023\u7dda\u5230{name}",connected:"\u5df2\u9023\u63a5"},switch:{failedForMismatchSpace:"\u8acb\u9023\u63a5\u5230\u6b63\u78ba\u7684\u7a7a\u9593{name}"},connectTo:"\u9023\u63a5\u5230DID Spaces"},strategy:{title:"\u5099\u4efd\u7b56\u7565",autoBackup:"\u81ea\u52d5\u5099\u4efd",backupNow:"\u7acb\u5373\u5099\u4efd",viewBackupFiles:"\u67e5\u770b\u5099\u4efd\u6a94\u6848"},progress:{title:"\u5099\u4efd\u9032\u5ea6"},record:{title:"\u5099\u4efd\u8a18\u9304",emptyData:"\u6c92\u6709\u7d00\u9304"},notYet:"\u4f60\u9084\u6c92\u6709\u9032\u884c\u5099\u4efd...",connect:{now:"\u7acb\u5373\u9023\u63a5",title:"\u9023\u63a5DID\u7a7a\u9593",provider:"\u63d0\u4f9b\u60a8\u7684 DID \u7a7a\u9593\u4ee5\u958b\u59cb\u5099\u4efd",providerForStorage:"\u8acb\u9023\u63a5\u60a8\u7684DID\u7a7a\u9593",useWallet:"\u8207DID\u9322\u5305\u9023\u63a5",useWalletReconnect:"\u91cd\u65b0\u9023\u63a5DID\u9322\u5305",useSpaceGateway:"\u4f7f\u7528DID Spaces\u9598\u9053\u5668\u9032\u884c\u9023\u63a5",useSpaceGatewayReconnect:"\u4f7f\u7528DID Spaces \u7db2\u95dc\u91cd\u65b0\u9023\u63a5",switchToSpace:"\u5207\u63db\u5230\u7a7a\u9593",switchToSpaceSucceeded:"\u5207\u63db\u5230{name}\u7a7a\u9593",succeeded:"\u60a8\u5df2\u6210\u529f\u9023\u63a5\u5230DID\u7a7a\u9593",disconnect:"\u65b7\u958b\u9023\u63a5"},disconnected:{tag:"\u65b7\u958b\u9023\u63a5",reconnectNow:"\u91cd\u65b0\u9023\u63a5"}}},log:{lastDays:{1:"\u6700\u8fd11\u5929",7:"\u6700\u8fd11\u9031"}},oauth:{commonSettings:"\u5e38\u7528\u8a2d\u5b9a",save:"\u5132\u5b58",saveSuccess:"\u4fdd\u5b58\u6210\u529f",saveFailed:"\u5132\u5b58\u5931\u6557",issued:"\u5df2\u767c\u884c",thirdPartyLogin:"\u7b2c\u4e09\u65b9\u767b\u5165",alreadyBindOAuth:"\u5df2\u7d93\u7d81\u5b9a\u7b2c\u4e09\u65b9\u767b\u9304",alreadyBindWallet:"\u5df2\u7d81\u5b9aDID\u9322\u5305",auth0:{enable:"\u555f\u7528Auth0\u767b\u9304",domain:"\u7db2\u57df",domainDescription:"\u9700\u8981\u586b\u5bebAuth0\u7684\u7db2\u57df",clientId:"Client ID",clientIdDescription:"\u9700\u8981 Auth0 \u7684 Client ID",clientSecret:"Client Secret",clientSecretDescription:"\u9700\u8981 Auth0 OAuth \u61c9\u7528\u7a0b\u5f0f Client Secret"},comingSoon:"\u66f4\u591a\u7684\u767b\u5165\u65b9\u5f0f\u6b63\u5728\u5efa\u8a2d\u4e2d",moreLogin:"\u767b\u5165",federated:"\u806f\u90a6\u767b\u9304",runTest:"\u6e2c\u8a66",github:{enable:"\u555f\u7528 Github \u767b\u5165",clientId:"Client ID",clientIdDescription:"Github OAuth \u61c9\u7528\u7a0b\u5f0f Client ID \u662f\u5fc5\u8981\u7684",clientSecret:"Client Secret",clientSecretDescription:"Github OAuth \u61c9\u7528\u7a0b\u5f0f\u7684 Client Secret \u8cc7\u8a0a\u662f\u5fc5\u8981\u7684"},google:{enable:"\u555f\u7528\u8c37\u6b4c\u767b\u5165",clientId:"Client ID",clientIdDescription:"\u9700\u8981 Google OAuth \u61c9\u7528\u7684 Client ID",clientSecret:"Client Secret",clientSecretDescription:"Google OAuth \u61c9\u7528\u7a0b\u5f0f\u7684 Client Secret \u662f\u5fc5\u9808\u7684"},apple:{enable:"\u555f\u7528 Apple \u767b\u5165",teamId:"Team ID",teamIdDescription:"\u9700\u8981 Apple OAuth \u61c9\u7528\u7a0b\u5f0f Team ID",serviceId:"Service ID",serviceIdDescription:"\u9700\u8981 Apple OAuth \u61c9\u7528 Service ID",keyId:"Key ID",keyIdDescription:"\u9700\u8981 Apple OAuth \u61c9\u7528\u7a0b\u5f0f Key ID",authKey:"Auth Key",authKeyDescription:"\u9700\u8981\u860b\u679cOAuth\u61c9\u7528\u7a0b\u5e8f\u7684 Auth Key",bundleId:"\u7522\u54c1\u5305 ID",bundleIdDescription:"Apple\xa0OAuth\xa0\u61c9\u7528\u7a0b\u5f0f Bundle ID \u70ba\u5fc5\u586b"},oauth:"\u7b2c\u4e09\u65b9\u767b\u5165"},expiration:{mobile:{tips:{success:"\u4f60\u597d, {validity}",warning:"{validity}",error:"\u5df2\u904e\u671f"},loadFailed:"\u91cd\u8a66!"},desktop:{tips:{success:"\u8a02\u95b1\u5c07\u5728 {validity} \u5f8c\u5230\u671f",warning:"\u8a02\u95b1\u5c07\u5728 {validity} \u5f8c\u5230\u671f",error:"\u8a02\u95b1\u5df2\u5230\u671f"},loading:"\u52a0\u8f09\u8a02\u95b1...",loadFailed:"\u8f09\u5165\u8a02\u95b1\u8cc7\u8a0a\u5931\u6557\uff0c\u8acb\u91cd\u8a66\uff01"}},analytics:{trend:"\u8da8\u52e2",detail:"\u6545\u969c",traffic:{totalRequests:"\u7e3d\u8acb\u6c42\u6578",validRequests:"\u6210\u529f\u8acb\u6c42",failedRequests:"\u5931\u6557\u7684\u8acb\u6c42",uniqueVisitors:"\u7368\u7279\u8a2a\u5ba2",uniqueFiles:"\u7368\u7279\u7684URL",uniqueReferrers:"\u552f\u4e00\u63a8\u85a6\u4eba",uniqueNotFound:"\u7368\u7279\u7684404",uniqueStaticFiles:"\u552f\u4e00\u7684\u975c\u614b\u6a94\u6848",logSize:"\u65e5\u8a8c\u5927\u5c0f",bandwidth:"\u983b\u5bec"}},federated:{inviteJoinFederatedLogin:"\u9080\u8acb\u52a0\u5165\u806f\u5408\u767b\u9304",inviteJoinFederatedLoginDescription:"\u8907\u88fd\u4ee5\u4e0b\u5730\u5740\u4e26\u586b\u5beb\u5728\u9700\u8981\u7533\u8acb\u806f\u5408\u767b\u9304\u7684\u61c9\u7528\u7a0b\u5f0f\u4e2d\u3002",federatedLogin:"\u806f\u5408\u767b\u9304",joinFederatedLogin:"\u52a0\u5165\u806f\u5408\u767b\u9304",joinFederatedLoginDescription:"\u8acb\u8f38\u5165\u7531 Master Blocklet \u63d0\u4f9b\u7684\u806f\u5408\u767b\u9304\u5730\u5740\u4ee5\u52a0\u5165\u806f\u5408\u767b\u9304",quitFederatedLogin:"\u9000\u51fa\u806f\u90a6\u767b\u9304",quitFederatedLoginDescription:"\u9000\u51fa\u806f\u5408\u767b\u9304\u5f8c\uff0c\u5e38\u898f\u767b\u9304\u59cb\u7d42\u53ef\u7528",federatedJoinAppUrl:"\u52a0\u5165\u806f\u5408\u767b\u9304\u61c9\u7528\u7a0b\u5f0f\u65bcappUrl",federatedJoinAppUrlRequired:"\u8acb\u8f38\u5165\u806f\u5408\u767b\u9304\u52a0\u5165appUrl",failedToGetFederatedLoginAppUrl:"\u7121\u6cd5\u53d6\u5f97\u806f\u76df\u767b\u9304\u52a0\u5165\u61c9\u7528URL",federatedJoinAppUrlInvalid:"\u806f\u90a6\u767b\u9304 appUrl \u7121\u6548",siteDetail:"\u7ad9\u9ede\u8a73\u7d30\u8cc7\u8a0a",approveToJoinLogin:"\u6279\u51c6\u52a0\u5165\u806f\u76df\u767b\u9304",approve:"\u555f\u7528\u767b\u5165",revoke:"\u7981\u7528\u767b\u9304",enableFederatedLogin:"\u555f\u7528\u806f\u5408\u767b\u9304",disableFederatedLogin:"\u505c\u7528\u806f\u5408\u767b\u9304",enableFederatedLoginDescription:"\u555f\u7528\u806f\u5408\u767b\u9304\u5f8c\uff0c\u6b64\u7db2\u7ad9\u5c07\u81ea\u52d5\u767b\u9304",disableFederatedLoginDescription:"\u505c\u7528\u806f\u5408\u767b\u9304\u5f8c\uff0c\u6b64\u7db2\u7ad9\u5c07\u4e0d\u6703\u81ea\u52d5\u767b\u9304",enableFederatedAutoLogin:"\u555f\u7528\u81ea\u52d5\u767b\u9304",enableFederatedAutoLoginDescription:"\u555f\u7528\u81ea\u52d5\u767b\u9304\u5f8c\uff0c\u5982\u679c\u76ee\u524d\u5b58\u5728\u7d71\u4e00\u767b\u9304\u72c0\u614b\uff0c\u8a72\u7db2\u7ad9\u5c07\u81ea\u52d5\u4ee5\u806f\u5408\u767b\u9304\u7684\u8eab\u4efd\u767b\u9304",disableFederatedAutoLogin:"\u505c\u7528\u81ea\u52d5\u767b\u9304",disableFederatedAutoLoginDescription:"\u95dc\u9589\u81ea\u52d5\u767b\u9304\u5f8c\uff0c\u8a72\u7db2\u7ad9\u5c07\u4e0d\u6703\u81ea\u52d5\u4f7f\u7528\u7d71\u4e00\u767b\u9304\u7684\u4f7f\u7528\u8005\u8cc7\u8a0a\u9032\u884c\u767b\u9304\uff0c\u60a8\u4ecd\u7136\u53ef\u4ee5\u9078\u64c7\u4ee5\u806f\u5408\u767b\u9304\u7684\u8eab\u4efd\u624b\u52d5\u9ede\u64ca\u9032\u884c\u767b\u9304\u3002",info:{appId:"APP\u505a\u4e86",appPid:"\u6c38\u4e45ID",migratedFrom:"\u4ea6\u7a31\u70ba",appName:"Blocklet \u540d\u7a31",appDescription:"\u5340\u584a\u63cf\u8ff0",appUrl:"Blocklet \u7db2\u5740",appLogo:"Blocklet \u6a19\u8a8c",did:"\u5340\u584a DID",serverId:"Blocklet\u4f3a\u670d\u5668ID",serverVersion:"Blocklet \u4f3a\u670d\u5668\u7248\u672c",version:"Blocklet\u7248\u672c",appliedAt:"\u7533\u8acb\u65bc",status:"\u72c0\u614b"},status:{pending:"\u5f85\u8fa6",approved:"\u6838\u51c6",rejected:"\u88ab\u62d2\u7d55",revoked:"\u64a4\u92b7"},disbandFederatedLogin:"\u89e3\u6563\u806f\u5408\u767b\u9304",disbandFederatedLoginDescription:"\u89e3\u9664\u806f\u90a6\u767b\u9304\u5f8c\uff0c\u6240\u6709\u6210\u54e1\u7db2\u7ad9\u5c07\u81ea\u52d5\u9000\u51fa\u806f\u90a6\u767b\u9304\u3002"},optionsOrder:{1:"\u9078\u9805\u4e00",2:"\u9078\u9805\u4e8c"}}}}]);