@abtnode/webapp 1.16.30-beta-2876881d → 1.16.30-beta-5d9c2c41
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/blocklet.js +1 -1
- package/blocklet.yml +1 -1
- package/dist/assets/{Add-Dm7UdGMO.js → Add-240wNjwq.js} +1 -1
- package/dist/assets/{ArrowDropDown-Dhxyxf8P.js → ArrowDropDown-C_UcQOEh.js} +1 -1
- package/dist/assets/{Autocomplete-DbjuEcJc.js → Autocomplete-BcT7Oksd.js} +1 -1
- package/dist/assets/{Breadcrumbs-zbuG9F1t.js → Breadcrumbs-6lYKQe5b.js} +1 -1
- package/dist/assets/{ButtonGroup-DFb7hc3N.js → ButtonGroup-D2VNVq8p.js} +1 -1
- package/dist/assets/{CheckCircle-w523LUfy.js → CheckCircle-C3oHDZBR.js} +1 -1
- package/dist/assets/{ChevronLeft-DKilrXcl.js → ChevronLeft-CsFylH21.js} +1 -1
- package/dist/assets/{ChevronRight-Ck2pJ53x.js → ChevronRight-DB27L3xw.js} +1 -1
- package/dist/assets/{Close-GdYjDgtS.js → Close-B0TqWuc9.js} +1 -1
- package/dist/assets/{Delete-DAbDwewn.js → Delete-DmepPquU.js} +1 -1
- package/dist/assets/{DeleteOutline-nDXYkTkC.js → DeleteOutline-o5TFeql0.js} +1 -1
- package/dist/assets/{Done-CO1x4xXs.js → Done-DcWcwr60.js} +1 -1
- package/dist/assets/{Edit-BjYWOGNd.js → Edit-D1BvuH2M.js} +1 -1
- package/dist/assets/EditIcon-CDlQ1Y8-.js +1 -0
- package/dist/assets/{ExpandMore-Cq8xyHBp.js → ExpandMore-CK0-Eu1n.js} +1 -1
- package/dist/assets/{FilterList-LzSA9lp1.js → FilterList-Bw1ZqePf.js} +1 -1
- package/dist/assets/Google-DmQIUmmK.js +27 -0
- package/dist/assets/{Https-DQ0VY-Zl.js → Https-CdebkXl3.js} +1 -1
- package/dist/assets/{InputAdornment-B6_Xggjz.js → InputAdornment-BRIOp0gH.js} +1 -1
- package/dist/assets/{InputLabel-hGLRSUVj.js → InputLabel-C31crC9j.js} +1 -1
- package/dist/assets/{LastPage-BSomuocQ.js → LastPage-15pWD2wJ.js} +1 -1
- package/dist/assets/{Launch-Dwo1hHQx.js → Launch-CMM_hnCO.js} +1 -1
- package/dist/assets/{Link-DT09sYPL.js → Link-C4-IDwJx.js} +1 -1
- package/dist/assets/{LoadingButton-dM0ZqHQb.js → LoadingButton-hwdCNe1X.js} +1 -1
- package/dist/assets/LockIcon-DGv96agC.js +1 -0
- package/dist/assets/{Loop-fX6hg0CY.js → Loop-B2Vl1OiI.js} +1 -1
- package/dist/assets/MoreHoriz-q-g-RPDL.js +1 -0
- package/dist/assets/{MoreVert-B_ttDoGP.js → MoreVert-s3M1upT5.js} +1 -1
- package/dist/assets/{Pagination-DsySx-AR.js → Pagination-B5dMIe8j.js} +1 -1
- package/dist/assets/{Public-CGJCXHxD.js → Public-CF6xMrln.js} +1 -1
- package/dist/assets/{SchemaReference.es-4Hse8Dck.js → SchemaReference.es-BLQMCHdi.js} +1 -1
- package/dist/assets/{Search-DkvGGbdo.js → Search-B0peOjeQ.js} +1 -1
- package/dist/assets/{Select-DfLcTPPw.js → Select-C--LsVoO.js} +1 -1
- package/dist/assets/{Skeleton-Blk9FJbM.js → Skeleton-CaItownp.js} +1 -1
- package/dist/assets/{Slider-CiaHZh2P.js → Slider-BA1jwO1h.js} +1 -1
- package/dist/assets/{Stepper-DTxGaX7e.js → Stepper-BQ3ikYJX.js} +1 -1
- package/dist/assets/{TextField-BWuX6Gtq.js → TextField-D1TVUQl2.js} +1 -1
- package/dist/assets/{ToggleButtonGroup-Ci96oZn-.js → ToggleButtonGroup-CbsnXtMY.js} +1 -1
- package/dist/assets/{ViewList-Cr_f4cOa.js → ViewList-C8_Q1ZaL.js} +1 -1
- package/dist/assets/actions-DkIxbagz.js +1 -0
- package/dist/assets/{actions-Bd8707fo.js → actions-Drufb-pQ.js} +1 -1
- package/dist/assets/{agreement-DcfLPbYM.js → agreement-DxK9sfKx.js} +1 -1
- package/dist/assets/api-DOcnwqon.js +1 -0
- package/dist/assets/{app-avatar-DbmhsPmy.js → app-avatar-C7ZZG5lQ.js} +1 -1
- package/dist/assets/ar-CqvGG4eC.js +1 -0
- package/dist/assets/{audit-logs-D1XM0WpE.js → audit-logs-CrN9QYVu.js} +1 -1
- package/dist/assets/blocklet-DX4HGT6b.js +1 -0
- package/dist/assets/{brace-fold.es-BTYe34_x.js → brace-fold.es-Byk4OhlU.js} +1 -1
- package/dist/assets/{bundle-avatar-DtGs2mWp.js → bundle-avatar-BDTyLzjh.js} +1 -1
- package/dist/assets/{chart-BqHdcNMo.js → chart-BXerkWdt.js} +1 -1
- package/dist/assets/{click-to-copy-BPBp5hpL.js → click-to-copy-CK-Mkhd0.js} +1 -1
- package/dist/assets/{closebrackets.es-DFBb0519.js → closebrackets.es-CTZfsjeS.js} +1 -1
- package/dist/assets/{codemirror.es-B2YEfOp1.js → codemirror.es-CosWD2iy.js} +1 -1
- package/dist/assets/{comment.es-CDX4BYk8.js → comment.es-DxS_C5_M.js} +1 -1
- package/dist/assets/{config-navigation-DjtOP8BE.js → config-navigation-D8N_TmOY.js} +1 -1
- package/dist/assets/de-l0XzFKav.js +1 -0
- package/dist/assets/{delete-confirm-BBsZKDlp.js → delete-confirm-BKnCoOpO.js} +1 -1
- package/dist/assets/{detail-CU5kLSxd.js → detail-BmlatkjD.js} +3 -3
- package/dist/assets/{dialog.es-DPOqqKYS.js → dialog.es-Bg0EeV0q.js} +1 -1
- package/dist/assets/{download-AsVB0WzT.js → download-C0fC4yYB.js} +7 -7
- package/dist/assets/es-DYmEeFzA.js +1 -0
- package/dist/assets/{foldgutter.es-CD4p2LEe.js → foldgutter.es-pqkwUOpu.js} +1 -1
- package/dist/assets/fr-DwS-xj4v.js +1 -0
- package/dist/assets/getValidReactChildren-Bwdvi5zb.js +1 -0
- package/dist/assets/hi-Dj91QHv6.js +1 -0
- package/dist/assets/{hint.es-BDJ76gbD.js → hint.es-EAu4kf7y.js} +1 -1
- package/dist/assets/{hint.es2-admBPNyI.js → hint.es2-BFhwDvJp.js} +1 -1
- package/dist/assets/id-CzhlCzfQ.js +1 -0
- package/dist/assets/{iframe-XQV1HWhH.js → iframe-DCJ7N4jM.js} +1 -1
- package/dist/assets/{index-CRRBf2t0.js → index-6XBeHuD_.js} +43 -43
- package/dist/assets/{index-BTVDhe8g.js → index-7fpoPAbz.js} +1 -1
- package/dist/assets/{index-CnGpafrg.js → index-B4PWSsiR.js} +1 -1
- package/dist/assets/index-B8Hu4oNh.js +80 -0
- package/dist/assets/{index-B89KUtLC.js → index-BH1hVJpW.js} +1 -1
- package/dist/assets/{index-C1vBjdFx.js → index-BI-i5kKF.js} +1 -1
- package/dist/assets/{index-DlsKoBBn.js → index-BJXHdeeV.js} +1 -1
- package/dist/assets/{index-Bc93He6x.js → index-BMfXnuvp.js} +1 -1
- package/dist/assets/{index-Y2PVOGvn.js → index-BPY6z3Rs.js} +4 -4
- package/dist/assets/{index-DjURT7Rh.js → index-BUnnmW1r.js} +1 -1
- package/dist/assets/{index-IFZZJHzX.js → index-B_FDrImE.js} +1 -1
- package/dist/assets/{index-DFHlwGYO.js → index-BeN4ZgCH.js} +1 -1
- package/dist/assets/{index-_WOTLckw.js → index-BvnS-7-1.js} +1 -1
- package/dist/assets/{index-Chipn4bv.js → index-C1PiAS_Y.js} +1 -1
- package/dist/assets/{index-CbFUjQO-.js → index-C8xCbxUE.js} +1 -1
- package/dist/assets/{index-Dt-hqt8X.js → index-CDRbsQoL.js} +1 -1
- package/dist/assets/{index-B7feKnal.js → index-CDre3mnK.js} +3 -3
- package/dist/assets/{index-4GrmpyhO.js → index-CGjwUKrb.js} +1 -1
- package/dist/assets/{index-BR5jHBS3.js → index-CGyIRwUl.js} +1 -1
- package/dist/assets/{index-VRAnvMf7.js → index-CIV9Tvzf.js} +1 -1
- package/dist/assets/{index-Cww3vDI8.js → index-CRLxFVWY.js} +12 -12
- package/dist/assets/{index-OqFlXfZF.js → index-CZrhCkal.js} +1 -1
- package/dist/assets/{index-Dn05lUkJ.js → index-Ch9-jINY.js} +7 -7
- package/dist/assets/{index-A4KGVGVv.js → index-CheSXyoA.js} +1 -1
- package/dist/assets/{index-BBcEf-Ju.js → index-ClZOvGLQ.js} +1 -1
- package/dist/assets/index-CmFVyjgY.js +11 -0
- package/dist/assets/{index-Ccaa89FV.js → index-Cu-S2eZJ.js} +2 -2
- package/dist/assets/{index-BH7rBwDG.js → index-CuOQXV32.js} +1 -1
- package/dist/assets/{index-DZykNE6O.js → index-Cx3miQZ4.js} +18 -6
- package/dist/assets/{index-DxozhO8x.js → index-D8KWuR1-.js} +1 -1
- package/dist/assets/{index-Ba9MvGxx.js → index-D9XZ1bG6.js} +1 -1
- package/dist/assets/{index-BhDNfk_q.js → index-DIrIbW6w.js} +1 -1
- package/dist/assets/{index-CiDTz_P_.js → index-DdIvdpgD.js} +1 -1
- package/dist/assets/{index-oSw1Q2_j.js → index-DivETz-Z.js} +6 -6
- package/dist/assets/{index-ARGpBTmv.js → index-DnZQlEKp.js} +1 -1
- package/dist/assets/{index-BXEUU9im.js → index-DqnDo97c.js} +3 -3
- package/dist/assets/{index-BvYED14L.js → index-DxuvuH9i.js} +1 -1
- package/dist/assets/index-HwE3ySwC.js +68 -0
- package/dist/assets/{index-d8p7Ly1K.js → index-M9-_GBvS.js} +1 -1
- package/dist/assets/index-c1dR1RcA.js +12 -0
- package/dist/assets/{index-XBhShZN3.js → index-de76ek1K.js} +1 -1
- package/dist/assets/{index-BJ1go2ml.js → index-nsaxnXRB.js} +1 -1
- package/dist/assets/{index-CmDKnSzE.js → index-qU6j-u6W.js} +25 -17
- package/dist/assets/{index-BO1nDkRj.js → index-wRDZOUMs.js} +1 -1
- package/dist/assets/{index.es-GX2Asw5F.js → index.es-CZDnnfg-.js} +1 -1
- package/dist/assets/{index.esm-Brebvtfp.js → index.esm-Dkpk3RMi.js} +1 -1
- package/dist/assets/{info-addon.es-CbXIv_Ct.js → info-addon.es-B1aKFVvv.js} +1 -1
- package/dist/assets/{info.es-WruJCCLB.js → info.es-DTXDBN9z.js} +1 -1
- package/dist/assets/{install-from-url-BhAO_138.js → install-from-url-DjctVTOl.js} +1 -1
- package/dist/assets/{invitation-BWaGzr9c.js → invitation-DSdBJgkC.js} +1 -1
- package/dist/assets/{is-path-prefix-equal-Dz7d6V3o.js → is-path-prefix-equal-C6zlDhVp.js} +1 -1
- package/dist/assets/{isEqual-bpHE-CsL.js → isEqual-0cnx2qOS.js} +1 -1
- package/dist/assets/{item-_UkeWhQa.js → item-Dln-w3Iq.js} +1 -1
- package/dist/assets/ja-Ut-jFS9r.js +1 -0
- package/dist/assets/{javascript.es-DhtwFdCV.js → javascript.es-DKea0oPd.js} +1 -1
- package/dist/assets/{jump-to-line.es-DwQ6xO39.js → jump-to-line.es-DmWSMR-E.js} +1 -1
- package/dist/assets/{jump.es-DjoJLHDS.js → jump.es-CQGzFoAd.js} +1 -1
- package/dist/assets/ko-Clp4qzRT.js +1 -0
- package/dist/assets/{line-DbFQ6-jn.js → line-BIpTQfTJ.js} +3 -3
- package/dist/assets/{lint.es-YLLhz6t5.js → lint.es-BAY5Woc0.js} +1 -1
- package/dist/assets/{lint.es2-DEt6vPg6.js → lint.es2-C4O9zzDQ.js} +1 -1
- package/dist/assets/{lint.es3-BzGrSqsE.js → lint.es3-q80vs6e3.js} +1 -1
- package/dist/assets/list-header-DuWvRnX_.js +57 -0
- package/dist/assets/{log-_IvqtO72.js → log-U-Oy1msj.js} +1 -1
- package/dist/assets/{lottie-D7oBfPQf.js → lottie-D0zUdkp5.js} +1 -1
- package/dist/assets/{matchbrackets.es-Bw-AAX6c.js → matchbrackets.es-B_OCWqIS.js} +1 -1
- package/dist/assets/{memory-DrO5wNHz.js → memory-CESYopLm.js} +1 -1
- package/dist/assets/{mode.es-GM4Ej7DF.js → mode.es-DVfsqtAx.js} +1 -1
- package/dist/assets/{mode.es2-DQxPqnKR.js → mode.es2-gg_0Yels.js} +1 -1
- package/dist/assets/{mode.es3-D5eX28Q4.js → mode.es3-CWCOwidy.js} +1 -1
- package/dist/assets/{onlineParser.es-DqmndBx3.js → onlineParser.es-CTZOlUJG.js} +1 -1
- package/dist/assets/overview-D7OPOkGE.js +26 -0
- package/dist/assets/pt-BXaJbqdY.js +1 -0
- package/dist/assets/react-Blm3BSvE.js +57 -0
- package/dist/assets/{redux-B7ppTFhc.js → redux-CaV6uiOr.js} +1 -1
- package/dist/assets/resource-dialog-Cbfivwvi.js +57 -0
- package/dist/assets/ru-p_K_7IoQ.js +1 -0
- package/dist/assets/{runtime-CWFJrh9J.js → runtime-BE0JWW3n.js} +1 -1
- package/dist/assets/{schema-ByLPwXbx.js → schema-BKkMgYH9.js} +6 -6
- package/dist/assets/sdk-DM3m0pIz.js +1 -0
- package/dist/assets/{search.es-DJknIswJ.js → search.es-CGDd2k_t.js} +1 -1
- package/dist/assets/{searchcursor.es-BB0AMZq6.js → searchcursor.es-xO-dGzm1.js} +1 -1
- package/dist/assets/service-CqEmzSuD.js +1 -0
- package/dist/assets/{shorten-label-BOzBA4zM.js → shorten-label-CZVhjulh.js} +1 -1
- package/dist/assets/{show-hint.es-CdHvJt2C.js → show-hint.es-opE1QlXT.js} +1 -1
- package/dist/assets/{slicedToArray-DU4rAA4G.js → slicedToArray-C3_toPJB.js} +1 -1
- package/dist/assets/{spaces-BLF_Jrv8.js → spaces-Swq2BNwF.js} +1 -1
- package/dist/assets/{status-CZkdUEuf.js → status-dc380TH5.js} +1 -1
- package/dist/assets/{sublime.es-DTMc10_F.js → sublime.es-Bw3Iznmf.js} +1 -1
- package/dist/assets/{switch-control-DWZgQdF6.js → switch-control-CcMPAAj7.js} +1 -1
- package/dist/assets/{table-icons--Lm88QZc.js → table-icons-TmY--eR2.js} +1 -1
- package/dist/assets/{team-B0qdRzoW.js → team-CBZV1UuS.js} +1 -1
- package/dist/assets/th-BJT9w_Lk.js +1 -0
- package/dist/assets/{toUpper-Dbw34Ras.js → toUpper-Bjz0AMGp.js} +1 -1
- package/dist/assets/traffic-wydTjZWz.js +8 -0
- package/dist/assets/{url-evaluation-Brz4Ir30.js → url-evaluation-Oli2ZbAu.js} +1 -1
- package/dist/assets/{url-join-C4CVYdSb.js → url-join-BPHLmPis.js} +1 -1
- package/dist/assets/use-blocklet-info-for-connect-did-spaces-DRjxN2RW.js +1 -0
- package/dist/assets/{useLocalStorage-CLwKnvrP.js → useLocalStorage-DABDAbRI.js} +1 -1
- package/dist/assets/{useThemeProps-Dgbotsr7.js → useThemeProps-Cqic-E0U.js} +1 -1
- package/dist/assets/{util-Yhhk8QYV.js → util-DMkhCe5T.js} +1 -1
- package/dist/assets/vi-CycHlNkN.js +1 -0
- package/dist/assets/wait-container-7MRBml26.js +181 -0
- package/dist/assets/{withStyles-GA69SNEl.js → withStyles-mttjYCTj.js} +1 -1
- package/dist/assets/wrap-locale-Dy0OLcMz.js +1 -0
- package/dist/assets/{zh-C1zF4vlg.js → zh-Dv1l1HNj.js} +1 -1
- package/dist/assets/zh-tw-44W5osxR.js +1 -0
- package/dist/index.html +1 -1
- package/dist/service-worker.js +1 -1
- package/package.json +1 -1
- package/dist/assets/EditIcon-KJqshA0X.js +0 -1
- package/dist/assets/LockIcon-CXYqKWpT.js +0 -1
- package/dist/assets/actions-z_0knrxb.js +0 -1
- package/dist/assets/api-D4IkMHot.js +0 -1
- package/dist/assets/ar-Bk-8E67P.js +0 -1
- package/dist/assets/blocklet-XuJIbMyM.js +0 -1
- package/dist/assets/de-Cu2RTl6l.js +0 -1
- package/dist/assets/es-DDPFvDl4.js +0 -1
- package/dist/assets/fr-CnF6MLuI.js +0 -1
- package/dist/assets/getValidReactChildren-j3luDnz8.js +0 -1
- package/dist/assets/hi-BXN3D_GN.js +0 -1
- package/dist/assets/id-BEXmSSv4.js +0 -1
- package/dist/assets/index-5SK2trFY.js +0 -706
- package/dist/assets/index-BgcmgXUa.js +0 -54
- package/dist/assets/index-CAwTBDuj.js +0 -11
- package/dist/assets/index-COxjgI-I.js +0 -12
- package/dist/assets/index-D0qKeIlw.js +0 -80
- package/dist/assets/ja-nMk3xlFJ.js +0 -1
- package/dist/assets/ko-CsOxrRrq.js +0 -1
- package/dist/assets/list-header-CUzAza3b.js +0 -57
- package/dist/assets/overview-DXJR976k.js +0 -26
- package/dist/assets/pt-BViI9ESj.js +0 -1
- package/dist/assets/react-BwJLoWwW.js +0 -56
- package/dist/assets/resource-dialog-mBOGt9Gd.js +0 -736
- package/dist/assets/ru-C_GgRAP9.js +0 -1
- package/dist/assets/sdk-C-9BXd9p.js +0 -1
- package/dist/assets/service-D490SxxK.js +0 -1
- package/dist/assets/th-BmzrcHqy.js +0 -1
- package/dist/assets/traffic-uZwpbrLl.js +0 -8
- package/dist/assets/use-blocklet-info-for-connect-did-spaces-B4mB6MKk.js +0 -1
- package/dist/assets/vi-NbF9HZkr.js +0 -1
- package/dist/assets/wait-container-an6omPu8.js +0 -171
- package/dist/assets/wrap-locale-BC-JRsSH.js +0 -1
- package/dist/assets/zh-tw-BXz91JiB.js +0 -1
|
@@ -1,736 +0,0 @@
|
|
|
1
|
-
import{P as D,j as u,Q as O,d0 as z,fM as s1,dM as p1,r as R,q as Z1,cB as P1,t as z1,ch as j1,fz as G1,fK as N1,g2 as q1,dO as W1,f_ as Y1,dN as K1,a2 as _1,fc as B1,dx as X1,dA as J1,cN as J,gb as Q1,gc as e2,av as V1,n as T1,g as t2,cz as i2,gd as a2}from"./index-Cww3vDI8.js";import"./index-DlsKoBBn.js";function w1({optionalComponent:i,index:L,installStatus:x,hasPermission:d,t:B}){const o=()=>{window.open(i==null?void 0:i.installUrl,"_blank")},$=()=>{window.open(i==null?void 0:i.storeUrl,"_blank")},A=()=>{window.location.reload()},k=x==="stopped"||x==="running",v=60;return u.jsxs(O,{children:[L===0?null:u.jsx(O,{sx:{width:"100%",height:"1px",backgroundColor:z.gray6}}),u.jsxs(O,{sx:{padding:"20px 24px",paddingTop:.5,marginTop:2,display:"flex",flexDirection:"row",justifyContent:"start",alignItems:"flex-start"},children:[u.jsx("img",{style:{width:v,height:v,minWidth:v,minHeight:v},src:i.logoUrl,alt:i.meta.title}),u.jsxs(O,{sx:{display:"flex",flexDirection:"column",justifyContent:"start",alignItems:"start",marginLeft:2},children:[u.jsxs(O,{sx:{fontSize:"16px",fontWeight:"bold",cursor:"pointer",".link-icon":{opacity:0},":hover .link-icon":{opacity:1}},onClick:()=>{var h;return $((h=i.meta)==null?void 0:h.did)},children:[i.meta.title,u.jsxs(O,{sx:{paddingLeft:1,fontSize:"13px",fontWeight:"400"},component:"span",children:[i.meta.version,u.jsx(s1,{className:"link-icon",icon:"fluent:open-20-filled",style:{color:z.primaryBase,fontSize:16,transform:"translate(6px, 3px)",transition:"all 0.3s"}})]})]}),u.jsx(O,{sx:{marginTop:0,opacity:.7},children:i.meta.description}),u.jsx(O,{sx:{display:d?"flex":"none",flexDirection:"row",gap:1},children:x?u.jsx(O,{sx:{marginTop:2,opacity:.7},children:k?u.jsx(p1,{variant:"contained",onClick:A,children:B("componentInstallerRefresh")},"refresh"):u.jsx(p1,{disabled:!0,sx:{color:"#333"},startIcon:u.jsx(s1,{icon:"line-md:loading-loop",style:{color:"#333",fontSize:16}}),variant:"contained",children:x},"status")}):u.jsx(p1,{sx:{marginTop:2},variant:"contained",className:"button",onClick:()=>{var h;return o((h=i.meta)==null?void 0:h.did)},children:B("componentInstallerInstall")},"install")}),k?u.jsx(O,{sx:{marginTop:2,opacity:.7},children:B("componentInstallerSuccessInstalled")}):null]})]})]})}w1.propTypes={t:D.func.isRequired,optionalComponent:D.object.isRequired,index:D.number.isRequired,installStatus:D.string,hasPermission:D.bool.isRequired};w1.defaultProps={installStatus:""};const s2={zh:{componentInstallerTitle:"缺少组件",componentInstallerInstall:"安装",componentInstallerClose:"关闭",componentInstallerRefresh:"重载页面",componentInstallerSuccessInstalled:"安装成功,请重载页面查看变化。",componentInstallerSuggestions:"请联系系统管理员安装该组件。",componentInstallerNoDefinedInBlockletYML:"组件未在 blocklet.yml 中定义"},en:{componentInstallerTitle:"Missing component",componentInstallerInstall:"Install",componentInstallerClose:"Close",componentInstallerRefresh:"Refresh",componentInstallerSuccessInstalled:"Successfully installed, please refresh the page to see the changes.",componentInstallerSuggestions:"Please contact the system administrator to install the component.",componentInstallerNoDefinedInBlockletYML:"The component is not defined in blocklet.yml"}},h1=i=>typeof i=="string"?new Set(i.split(";;")):new Set(i);function r2({did:i,onInstalled:L,onError:x}){const d=Array.isArray(i)?i.join(";;"):i,[B,o]=R.useState({}),$=R.useRef({onInstalled:L,onError:x});$.current={onInstalled:L,onError:x};const{optionalComponents:A,componentMountPoints:k}=window.blocklet,v=R.useMemo(()=>{var s;if(!A||!A.length)return[];const m=h1(d),e=A.filter(t=>m.has(t.meta.did));return(s=e?$.current.onError:$.current.onInstalled)==null||s(e),e},[d,A]),h=R.useMemo(()=>{if(v.length)return!0;const m=h1(d);return(k||[]).find(e=>m.has(e.did))},[v,k,d]);return v.forEach(m=>{m.storeUrl=Z1(m.meta.homepage,"blocklets",m.meta.did),m.installUrl=Z1(window.blocklet.appUrl,P1,`/admin/components?install-component=${m.meta.did}`)}),R.useEffect(()=>{const m=e=>{var s,t,a,n,S;if(e.origin===window.blocklet.appUrl&&((s=e.data)==null?void 0:s.kind)==="component-installer"&&(a=(t=e.data)==null?void 0:t.blocklet)!=null&&a.children){let _=!1;const p=h1(d);(S=(n=e.data)==null?void 0:n.blocklet)==null||S.children.forEach(c=>{var I;p.has((I=c.meta)==null?void 0:I.did)&&(_=!0,o(l=>{var r;return{...l,[(r=c.meta)==null?void 0:r.did]:c.status||"waiting"}}))}),_||o({})}};return window.addEventListener("message",m),()=>{window.removeEventListener("message",m)}},[d]),{optComponents:v,installed:!v.length&&h,installStatus:B,setInstallStatus:o,definedInBlockletYML:h}}function Q({warnIcon:i,did:L,noPermissionMute:x,onInstalled:d,onError:B,children:o,closeByOutSize:$,onClose:A,fallback:k,disabled:v,roles:h=["owner","admin"]}){const{locale:m}=z1(),e=j1((p,c={})=>G1(s2,p,m,"en",c)),{installed:s,optComponents:t,installStatus:a,definedInBlockletYML:n}=r2({did:L,onInstalled:d,onError:B}),S=R.useContext(N1),_=()=>{A==null||A(!1)};return v?o:u.jsx(q1,{session:S==null?void 0:S.session,roles:h,children:({hasPermission:p})=>s?o:x&&!p?k||null:typeof o=="function"?u.jsxs(u.Fragment,{children:[k,o({hasPermission:p,optComponents:t,installStatus:a})]}):u.jsxs(u.Fragment,{children:[k,u.jsx(W1,{onClickAway:c=>{c.preventDefault(),c.stopPropagation(),$&&_()},children:u.jsx(Y1,{in:!0,timeout:350,children:u.jsx(K1,{variant:"outlined",sx:{position:"fixed",top:20,right:20,zIndex:3e3,borderRadius:3,width:400,maxWidth:"90vw",borderColor:z.lineStep,border:"0 !important",fontSize:"14px",textAlign:"left",boxShadow:`0px 8px 16px 0px ${z.gray6}, 0px 0px 0px 1px ${z.gray6}`},children:n?u.jsxs(O,{sx:{display:"flex",flexDirection:"column"},children:[u.jsxs(O,{sx:{padding:"20px 24px",marginLeft:0,display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"flex-start"},children:[i||u.jsx(s1,{icon:"mdi:warning-box",style:{color:"yellowgreen",fontSize:24}}),u.jsx(O,{sx:{marginLeft:1,fontSize:"16px",fontWeight:"bold"},children:e("componentInstallerTitle")}),u.jsx(O,{sx:{flex:1}}),A?u.jsx(_1,{variant:"outlined",className:"button",onClick:_,children:u.jsx(B1,{})}):null]}),u.jsx(O,{sx:{width:"100%",height:"1px",backgroundColor:z.gray6}}),u.jsx(O,{sx:{maxHeight:"70vh",overflowY:"auto"},children:t.map((c,I)=>{var l,r;return u.jsx(w1,{t:e,hasPermission:p,index:I,optionalComponent:c,installStatus:a[(l=c.meta)==null?void 0:l.did]},((r=c.meta)==null?void 0:r.did)||I)})}),p?null:u.jsxs(u.Fragment,{children:[u.jsx(O,{sx:{width:"100%",height:"1px",backgroundColor:z.gray6}}),u.jsx(O,{sx:{padding:"20px 24px"},children:u.jsx(O,{sx:{opacity:1},children:e("componentInstallerSuggestions")})})]})]}):u.jsxs(O,{sx:{display:"flex",flexDirection:"column"},children:[u.jsxs(O,{sx:{padding:"20px 24px",marginLeft:0,display:"flex",alignItems:"center",flexDirection:"row",justifyContent:"flex-start"},children:[i||u.jsx(s1,{icon:"mdi:warning-box",style:{color:"yellowgreen",fontSize:24}}),u.jsx(O,{sx:{marginLeft:1,fontSize:"16px",fontWeight:"bold"},children:e("componentInstallerTitle")}),u.jsx(O,{sx:{flex:1}}),A?u.jsx(_1,{variant:"outlined",className:"button",onClick:_,children:u.jsx(B1,{})}):null]}),u.jsx(O,{sx:{width:"100%",height:"1px",backgroundColor:z.gray6}}),u.jsxs(O,{sx:{padding:"20px 24px",marginTop:0},children:[e("componentInstallerNoDefinedInBlockletYML"),": ",L]})]})})})})]})})}Q.propTypes={disabled:D.bool,warnIcon:D.node,did:D.oneOfType([D.string,D.arrayOf(D.string)]).isRequired,noPermissionMute:D.bool,onInstalled:D.func,onError:D.func,children:D.any.isRequired,closeByOutSize:D.bool,onClose:D.func,fallback:D.node,roles:D.array};Q.defaultProps={disabled:!1,warnIcon:null,noPermissionMute:!1,onInstalled:null,onError:null,closeByOutSize:!1,onClose:null,fallback:null,roles:["owner","admin"]};function R1(i){return window.blocklet?u.jsx(Q,{...i}):i.children}R1.propTypes={...Q.propTypes,children:D.any.isRequired};R1.defaultProps={...Q.defaultProps};var n2={},g1={};(function(i){Object.defineProperty(i,"__esModule",{value:!0}),i.MOTIF_COLORS=i.DEFAULT_COLORS=void 0,i.rgbToHsl=d,i.hslToRgb=B,i.getNftBGColor=o,i.getPassportColorFromDid=$,i.getNftBGColorFromDid=A;const L=X1,x=J1;i.DEFAULT_COLORS={"did-space":{start:"#7D3AC5",end:"#9761D1"},"app-space":{start:"#6CC68D",end:"#47B871"},"app-purchase":{start:"#DE7021",end:"#E48D4E"},"app-passport":{start:"#3882C7",end:"#7AB2F6"}},i.MOTIF_COLORS=["#E94E4E","#E41115","#E96B4E","#E5502E","#E98F4E","#E57A2E","#E98F4E","#E5A82E","#DACD5D","#DAC825","#BDD13D","#C8E31C","#AEE94E","#7FD558","#52CC19","#4FC469","#59DE9C","#19CC73","#5ED9D1","#19CCC0","#4ED7E9","#19B7CC","#45ACE8","#1C97DE","#4E68E9","#2E4DE5","#7F4EE9","#682EE5","#BE65E7","#AF40E2","#DF58C2","#E94E8F"];function d(k){const v=k.replace("#",""),h=parseInt(v.slice(0,2),16)/255,m=parseInt(v.slice(2,4),16)/255,e=parseInt(v.slice(4,6),16)/255,s=Math.max(h,m,e),t=Math.min(h,m,e);let a,n;const S=(s+t)/2;if(s===t)a=0,n=0;else{const _=s-t;switch(n=S>.5?_/(2-s-t):_/(s+t),s){case h:a=(m-e)/_+(m<e?6:0);break;case m:a=(e-h)/_+2;break;case e:a=(h-m)/_+4;break}a/=6}return[a,n,S]}function B(k,v,h){let m,e,s;if(v===0)m=h,e=h,s=h;else{const t=(S,_,p)=>{let c=p;return c<0&&(c+=1),c>1&&(c-=1),c<.16666666666666666?S+(_-S)*6*c:c<.5?_:c<.6666666666666666?S+(_-S)*(.6666666666666666-c)*6:S},a=h<.5?h*(1+v):h+v-h*v,n=2*h-a;m=t(n,a,k+1/3),e=t(n,a,k),s=t(n,a,k-1/3)}return`#${[Math.round(m*255),Math.round(e*255),Math.round(s*255)].map(t=>t.toString(16).padStart(2,"0")).join("")}`}function o(k){if(k){const v=d(k),h=[v[0]];v[1]>.7?h.push(.7):h.push(v[1]),v[2]>.6?h.push(.6):v[2]<.3?h.push(.3):h.push(v[2]);const m=[h[0],h[1],h[2]-.1],e=B(...h);return{start:B(...m),end:e}}return i.DEFAULT_COLORS["app-passport"]}function $(k){return`#${(0,L.toHex)(x.Hasher.SHA3.hash224(k)).slice(-6)}`}function A(k){return o($(k))}})(g1);(function(i){var L=J&&J.__createBinding||(Object.create?function(l,r,f,w){w===void 0&&(w=f);var y=Object.getOwnPropertyDescriptor(r,f);(!y||("get"in y?!r.__esModule:y.writable||y.configurable))&&(y={enumerable:!0,get:function(){return r[f]}}),Object.defineProperty(l,w,y)}:function(l,r,f,w){w===void 0&&(w=f),l[w]=r[f]}),x=J&&J.__exportStar||function(l,r){for(var f in l)f!=="default"&&!Object.prototype.hasOwnProperty.call(r,f)&&L(r,l,f)};Object.defineProperty(i,"__esModule",{value:!0}),i.getSvg=i.nanoid=i.getTagSvg=i.getBadgesSvg=i.getChainBadge=i.getVerifiableBadge=i.getDidSvg=i.getExtraSvg=i.getIssuerSvg=i.getHeaderSvg=i.getLayoutSvg=i.formatDid=void 0;const d=Q1,B=g1;x(g1,i);const o=(l,r)=>[l,r].join("-"),$=228,A=258,k=l=>/^(0x)?[0-9a-f]{40}$/i.test(l),v=l=>{const r=Uint8Array.from(l.slice(2).match(/.{1,2}/g).map(f=>parseInt(f,16))).slice(0,8).reduce((f,w)=>f+w,0)%B.MOTIF_COLORS.length;return B.MOTIF_COLORS[r]},h=(l,r=5)=>l.length>2*r?`${l.slice(0,r)}..${l.slice(-r)}`:l;i.formatDid=h;const m=(l,r,f)=>l==="did-space"?(w,y,j)=>`<svg
|
|
2
|
-
width="${y}"
|
|
3
|
-
height="${j}"
|
|
4
|
-
viewBox="0 0 228 258"
|
|
5
|
-
fill="none"
|
|
6
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
7
|
-
xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
8
|
-
<g filter="url(#${o(r,"layout-filter")})">
|
|
9
|
-
<path
|
|
10
|
-
d="M56.9706 2C53.788 2 50.7357 3.26428 48.4853 5.51472L7.51472 46.4853C5.26428 48.7357 4 51.788 4 54.9706V240C4 246.627 9.37258 252 16 252H212C218.627 252 224 246.627 224 240V14C224 7.37258 218.627 2 212 2H56.9706Z"
|
|
11
|
-
fill="url(#${o(r,"header-paint")})" />
|
|
12
|
-
<mask
|
|
13
|
-
id="${o(r,"layout-mask")}"
|
|
14
|
-
style="mask-type: alpha"
|
|
15
|
-
maskUnits="userSpaceOnUse"
|
|
16
|
-
x="4"
|
|
17
|
-
y="2"
|
|
18
|
-
width="220"
|
|
19
|
-
height="250">
|
|
20
|
-
<path
|
|
21
|
-
d="M56.9706 2C53.788 2 50.7357 3.26428 48.4853 5.51472L7.51472 46.4853C5.26428 48.7357 4 51.788 4 54.9706V240C4 246.627 9.37258 252 16 252H212C218.627 252 224 246.627 224 240V14C224 7.37258 218.627 2 212 2H56.9706Z"
|
|
22
|
-
fill="#D9D9D9" />
|
|
23
|
-
</mask>
|
|
24
|
-
<g mask="url(#${o(r,"layout-mask")})">
|
|
25
|
-
<rect x="4" y="2" width="220" height="125" fill="none" />
|
|
26
|
-
<rect x="4" y="127" width="220" height="125" fill="url(#${o(r,"footer-paint")})" />
|
|
27
|
-
</g>
|
|
28
|
-
</g>
|
|
29
|
-
<defs>
|
|
30
|
-
<filter
|
|
31
|
-
id="${o(r,"layout-filter")}"
|
|
32
|
-
x="0"
|
|
33
|
-
y="0"
|
|
34
|
-
width="228"
|
|
35
|
-
height="258"
|
|
36
|
-
filterUnits="userSpaceOnUse"
|
|
37
|
-
color-interpolation-filters="sRGB">
|
|
38
|
-
<feFlood flood-opacity="0" result="BackgroundImageFix" />
|
|
39
|
-
<feColorMatrix
|
|
40
|
-
in="SourceAlpha"
|
|
41
|
-
type="matrix"
|
|
42
|
-
values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"
|
|
43
|
-
result="hardAlpha" />
|
|
44
|
-
<feOffset dy="2" />
|
|
45
|
-
<feGaussianBlur stdDeviation="2" />
|
|
46
|
-
<feComposite in2="hardAlpha" operator="out" />
|
|
47
|
-
<feColorMatrix type="matrix" values="0 0 0 0 0.0631944 0 0 0 0 0.242785 0 0 0 0 0.403472 0 0 0 0.2 0" />
|
|
48
|
-
<feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_1582_53235" />
|
|
49
|
-
<feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_1582_53235" result="shape" />
|
|
50
|
-
</filter>
|
|
51
|
-
<linearGradient
|
|
52
|
-
id="${o(r,"header-paint")}"
|
|
53
|
-
x1="220.071"
|
|
54
|
-
y1="252"
|
|
55
|
-
x2="-24.022"
|
|
56
|
-
y2="33.2716"
|
|
57
|
-
gradientUnits="userSpaceOnUse">
|
|
58
|
-
<stop stop-color="${f.start}" />
|
|
59
|
-
<stop offset="1" stop-color="${f.end}" />
|
|
60
|
-
</linearGradient>
|
|
61
|
-
<linearGradient
|
|
62
|
-
id="${o(r,"footer-paint")}"
|
|
63
|
-
x1="224"
|
|
64
|
-
y1="157.738"
|
|
65
|
-
x2="1.00001"
|
|
66
|
-
y2="157.738"
|
|
67
|
-
gradientUnits="userSpaceOnUse">
|
|
68
|
-
<stop stop-color="#101010" />
|
|
69
|
-
<stop offset="1" stop-color="#272727" />
|
|
70
|
-
</linearGradient>
|
|
71
|
-
</defs>
|
|
72
|
-
${w}
|
|
73
|
-
</svg>`:l==="app-space"?(w,y,j)=>`<svg
|
|
74
|
-
width="${y}"
|
|
75
|
-
height="${j}"
|
|
76
|
-
viewBox="0 0 228 258"
|
|
77
|
-
fill="none"
|
|
78
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
79
|
-
xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
80
|
-
<g filter="url(#${o(r,"layout-filter")})">
|
|
81
|
-
<mask
|
|
82
|
-
id="${o(r,"layout-mask")}"
|
|
83
|
-
style="mask-type: alpha"
|
|
84
|
-
maskUnits="userSpaceOnUse"
|
|
85
|
-
x="4"
|
|
86
|
-
y="2"
|
|
87
|
-
width="220"
|
|
88
|
-
height="250">
|
|
89
|
-
<path
|
|
90
|
-
d="M187.029 2C190.212 2 193.264 3.26428 195.515 5.51472L220.485 30.4853C222.736 32.7357 224 35.788 224 38.9706V240C224 246.627 218.627 252 212 252H40.4706C37.288 252 34.2357 250.736 31.9853 248.485L7.51472 224.015C5.26428 221.764 4 218.712 4 215.529V14C4 7.37258 9.37259 2 16 2H187.029Z"
|
|
91
|
-
fill="#7D37D7" />
|
|
92
|
-
</mask>
|
|
93
|
-
<g mask="url(#${o(r,"layout-mask")})">
|
|
94
|
-
<path
|
|
95
|
-
d="M187.029 2C190.212 2 193.264 3.26428 195.515 5.51472L220.485 30.4853C222.736 32.7357 224 35.788 224 38.9706V240C224 246.627 218.627 252 212 252H40.4706C37.288 252 34.2357 250.736 31.9853 248.485L7.51472 224.015C5.26428 221.764 4 218.712 4 215.529V14C4 7.37258 9.37259 2 16 2H187.029Z"
|
|
96
|
-
fill="url(#${o(r,"header-paint")})" />
|
|
97
|
-
<rect x="4" y="2" width="220" height="125" fill="none" />
|
|
98
|
-
<path d="M4 127H224V252H4V127Z" fill="url(#${o(r,"footer-paint")})" />
|
|
99
|
-
</g>
|
|
100
|
-
</g>
|
|
101
|
-
<defs>
|
|
102
|
-
<filter
|
|
103
|
-
id="${o(r,"layout-filter")}"
|
|
104
|
-
x="0"
|
|
105
|
-
y="0"
|
|
106
|
-
width="228"
|
|
107
|
-
height="258"
|
|
108
|
-
filterUnits="userSpaceOnUse"
|
|
109
|
-
color-interpolation-filters="sRGB">
|
|
110
|
-
<feFlood flood-opacity="0" result="BackgroundImageFix" />
|
|
111
|
-
<feColorMatrix
|
|
112
|
-
in="SourceAlpha"
|
|
113
|
-
type="matrix"
|
|
114
|
-
values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"
|
|
115
|
-
result="hardAlpha" />
|
|
116
|
-
<feOffset dy="2" />
|
|
117
|
-
<feGaussianBlur stdDeviation="2" />
|
|
118
|
-
<feComposite in2="hardAlpha" operator="out" />
|
|
119
|
-
<feColorMatrix type="matrix" values="0 0 0 0 0.0631944 0 0 0 0 0.242785 0 0 0 0 0.403472 0 0 0 0.2 0" />
|
|
120
|
-
<feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_1583_54199" />
|
|
121
|
-
<feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_1583_54199" result="shape" />
|
|
122
|
-
</filter>
|
|
123
|
-
<linearGradient
|
|
124
|
-
id="${o(r,"header-paint")}"
|
|
125
|
-
x1="211.69"
|
|
126
|
-
y1="7.13393"
|
|
127
|
-
x2="51.0187"
|
|
128
|
-
y2="272.342"
|
|
129
|
-
gradientUnits="userSpaceOnUse">
|
|
130
|
-
<stop stop-color="${f.start}" />
|
|
131
|
-
<stop offset="1" stop-color="${f.end}" />
|
|
132
|
-
</linearGradient>
|
|
133
|
-
<linearGradient
|
|
134
|
-
id="${o(r,"footer-paint")}"
|
|
135
|
-
x1="224"
|
|
136
|
-
y1="157.738"
|
|
137
|
-
x2="1.00001"
|
|
138
|
-
y2="157.738"
|
|
139
|
-
gradientUnits="userSpaceOnUse">
|
|
140
|
-
<stop stop-color="#101010" />
|
|
141
|
-
<stop offset="1" stop-color="#272727" />
|
|
142
|
-
</linearGradient>
|
|
143
|
-
</defs>
|
|
144
|
-
${w}
|
|
145
|
-
</svg>`:l==="app-purchase"?(w,y,j)=>`<svg
|
|
146
|
-
width="${y}"
|
|
147
|
-
height="${j}"
|
|
148
|
-
viewBox="0 0 228 258"
|
|
149
|
-
fill="none"
|
|
150
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
151
|
-
xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
152
|
-
<g filter="url(#${o(r,"layout-filter")})">
|
|
153
|
-
<mask
|
|
154
|
-
id="${o(r,"layout-mask")}"
|
|
155
|
-
style="mask-type: alpha"
|
|
156
|
-
maskUnits="userSpaceOnUse"
|
|
157
|
-
x="4"
|
|
158
|
-
y="2"
|
|
159
|
-
width="220"
|
|
160
|
-
height="250">
|
|
161
|
-
<path
|
|
162
|
-
d="M4 14C4 7.37258 9.37258 2 16 2H212C218.627 2 224 7.37258 224 14V240C224 246.627 218.627 252 212 252H16C9.37258 252 4 246.627 4 240V14Z"
|
|
163
|
-
fill="#7D37D7" />
|
|
164
|
-
</mask>
|
|
165
|
-
<g mask="url(#${o(r,"layout-mask")})">
|
|
166
|
-
<rect x="4" y="2" width="220" height="250" rx="12" fill="url(#${o(r,"header-paint")})" />
|
|
167
|
-
<rect x="4.5" y="2.5" width="219" height="249" rx="11.5" stroke="black" stroke-opacity="0.08" />
|
|
168
|
-
<rect x="4" y="2" width="220" height="125" fill="none" />
|
|
169
|
-
<rect x="4" y="127" width="220" height="125" fill="url(#${o(r,"footer-paint")})" />
|
|
170
|
-
</g>
|
|
171
|
-
</g>
|
|
172
|
-
<defs>
|
|
173
|
-
<filter
|
|
174
|
-
id="${o(r,"layout-filter")}"
|
|
175
|
-
x="0"
|
|
176
|
-
y="0"
|
|
177
|
-
width="228"
|
|
178
|
-
height="258"
|
|
179
|
-
filterUnits="userSpaceOnUse"
|
|
180
|
-
color-interpolation-filters="sRGB">
|
|
181
|
-
<feFlood flood-opacity="0" result="BackgroundImageFix" />
|
|
182
|
-
<feColorMatrix
|
|
183
|
-
in="SourceAlpha"
|
|
184
|
-
type="matrix"
|
|
185
|
-
values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"
|
|
186
|
-
result="hardAlpha" />
|
|
187
|
-
<feOffset dy="2" />
|
|
188
|
-
<feGaussianBlur stdDeviation="2" />
|
|
189
|
-
<feComposite in2="hardAlpha" operator="out" />
|
|
190
|
-
<feColorMatrix type="matrix" values="0 0 0 0 0.0631944 0 0 0 0 0.242785 0 0 0 0 0.403472 0 0 0 0.2 0" />
|
|
191
|
-
<feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_1583_54637" />
|
|
192
|
-
<feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_1583_54637" result="shape" />
|
|
193
|
-
</filter>
|
|
194
|
-
<linearGradient
|
|
195
|
-
id="${o(r,"header-paint")}"
|
|
196
|
-
x1="224"
|
|
197
|
-
y1="252"
|
|
198
|
-
x2="46.7372"
|
|
199
|
-
y2="-25.3178"
|
|
200
|
-
gradientUnits="userSpaceOnUse">
|
|
201
|
-
<stop stop-color="${f.start}" />
|
|
202
|
-
<stop offset="1" stop-color="${f.end}" />
|
|
203
|
-
</linearGradient>
|
|
204
|
-
<linearGradient
|
|
205
|
-
id="${o(r,"footer-paint")}"
|
|
206
|
-
x1="224"
|
|
207
|
-
y1="157.738"
|
|
208
|
-
x2="1.00001"
|
|
209
|
-
y2="157.738"
|
|
210
|
-
gradientUnits="userSpaceOnUse">
|
|
211
|
-
<stop stop-color="#101010" />
|
|
212
|
-
<stop offset="1" stop-color="#272727" />
|
|
213
|
-
</linearGradient>
|
|
214
|
-
</defs>
|
|
215
|
-
${w}
|
|
216
|
-
</svg>`:l==="app-passport"?(w,y,j)=>`<svg
|
|
217
|
-
width="${y}"
|
|
218
|
-
height="${j}"
|
|
219
|
-
viewBox="0 0 228 258"
|
|
220
|
-
fill="none"
|
|
221
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
222
|
-
xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
223
|
-
<g filter="url(#${o(r,"layout-filter")})">
|
|
224
|
-
<mask
|
|
225
|
-
id="${o(r,"layout-mask")}"
|
|
226
|
-
style="mask-type: alpha"
|
|
227
|
-
maskUnits="userSpaceOnUse"
|
|
228
|
-
x="4"
|
|
229
|
-
y="2"
|
|
230
|
-
width="220"
|
|
231
|
-
height="250">
|
|
232
|
-
<path
|
|
233
|
-
fill-rule="evenodd"
|
|
234
|
-
clip-rule="evenodd"
|
|
235
|
-
d="M4 14C4 7.37258 9.37258 2 16 2H212C218.627 2 224 7.37258 224 14V115C224 117.209 222.102 118.917 220.164 119.978C217.683 121.336 216 123.972 216 127C216 130.028 217.683 132.664 220.164 134.022C222.102 135.083 224 136.791 224 139V240C224 246.627 218.627 252 212 252H16C9.37258 252 4 246.627 4 240V139C4 136.791 5.89809 135.083 7.83588 134.022C10.3173 132.664 12 130.028 12 127C12 123.972 10.3173 121.336 7.83589 119.978C5.89809 118.917 4 117.209 4 115V14Z"
|
|
236
|
-
fill="#7D37D7" />
|
|
237
|
-
</mask>
|
|
238
|
-
<g mask="url(#${o(r,"layout-mask")})">
|
|
239
|
-
<rect x="4" y="2" width="220" height="250" rx="12" fill="url(#${o(r,"header-paint")})" />
|
|
240
|
-
<rect x="4.5" y="2.5" width="219" height="249" rx="11.5" stroke="black" stroke-opacity="0.08" />
|
|
241
|
-
<rect x="4" y="2" width="220" height="125" fill="none" />
|
|
242
|
-
<rect x="4" y="127" width="220" height="125" fill="url(#${o(r,"footer-paint")})" />
|
|
243
|
-
</g>
|
|
244
|
-
</g>
|
|
245
|
-
<defs>
|
|
246
|
-
<filter
|
|
247
|
-
id="${o(r,"layout-filter")}"
|
|
248
|
-
x="0"
|
|
249
|
-
y="0"
|
|
250
|
-
width="228"
|
|
251
|
-
height="258"
|
|
252
|
-
filterUnits="userSpaceOnUse"
|
|
253
|
-
color-interpolation-filters="sRGB">
|
|
254
|
-
<feFlood flood-opacity="0" result="BackgroundImageFix" />
|
|
255
|
-
<feColorMatrix
|
|
256
|
-
in="SourceAlpha"
|
|
257
|
-
type="matrix"
|
|
258
|
-
values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"
|
|
259
|
-
result="hardAlpha" />
|
|
260
|
-
<feOffset dy="2" />
|
|
261
|
-
<feGaussianBlur stdDeviation="2" />
|
|
262
|
-
<feComposite in2="hardAlpha" operator="out" />
|
|
263
|
-
<feColorMatrix type="matrix" values="0 0 0 0 0.0631944 0 0 0 0 0.242785 0 0 0 0 0.403472 0 0 0 0.2 0" />
|
|
264
|
-
<feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_1583_54471" />
|
|
265
|
-
<feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_1583_54471" result="shape" />
|
|
266
|
-
</filter>
|
|
267
|
-
<linearGradient
|
|
268
|
-
id="${o(r,"header-paint")}"
|
|
269
|
-
x1="224"
|
|
270
|
-
y1="252"
|
|
271
|
-
x2="46.7372"
|
|
272
|
-
y2="-25.3178"
|
|
273
|
-
gradientUnits="userSpaceOnUse">
|
|
274
|
-
<stop stop-color="${f.start}" />
|
|
275
|
-
<stop offset="1" stop-color="${f.end}" />
|
|
276
|
-
</linearGradient>
|
|
277
|
-
<linearGradient
|
|
278
|
-
id="${o(r,"footer-paint")}"
|
|
279
|
-
x1="224"
|
|
280
|
-
y1="157.738"
|
|
281
|
-
x2="1.00001"
|
|
282
|
-
y2="157.738"
|
|
283
|
-
gradientUnits="userSpaceOnUse">
|
|
284
|
-
<stop stop-color="#101010" />
|
|
285
|
-
<stop offset="1" stop-color="#272727" />
|
|
286
|
-
</linearGradient>
|
|
287
|
-
</defs>
|
|
288
|
-
${w}
|
|
289
|
-
</svg>`:()=>"";i.getLayoutSvg=m;const e=(l,r,f)=>{const w=o(r,"header");if(l==="did-space")return`<g id="${w}" transform="translate(90, 42)" width="48" height="47" viewBox="0 0 48 47" fill="none">
|
|
290
|
-
<path
|
|
291
|
-
d="M27.5999 2.53821L31.9962 0H47.9999V46.9586H31.9962L14.7939 37.0269L14.7939 9.93175L16.8325 8.75477L20.4222 10.8272L18.3836 12.0042V34.9544L32.9581 43.369H44.4103V3.58962H32.9581L31.1896 4.61068L27.5999 2.53821Z"
|
|
292
|
-
fill="url(#${o(r,"space-gradient1")})" />
|
|
293
|
-
<path
|
|
294
|
-
fill-rule="evenodd"
|
|
295
|
-
clip-rule="evenodd"
|
|
296
|
-
d="M29.6164 34.9544V12.0042L15.0419 3.58962H3.58962V43.369H15.0419L16.8159 42.3448L20.4055 44.4173L16.0037 46.9586H0V0H16.0037L33.206 9.93175V37.0269L31.1729 38.2007L27.5833 36.1282L29.6164 34.9544Z"
|
|
297
|
-
fill="url(#${o(r,"space-gradient2")})" />
|
|
298
|
-
<defs>
|
|
299
|
-
<linearGradient
|
|
300
|
-
id="${o(r,"space-gradient1")}"
|
|
301
|
-
x1="31.3969"
|
|
302
|
-
y1="0"
|
|
303
|
-
x2="31.3969"
|
|
304
|
-
y2="46.9586"
|
|
305
|
-
gradientUnits="userSpaceOnUse">
|
|
306
|
-
<stop stop-color="white" stop-opacity="0.4" />
|
|
307
|
-
<stop offset="1" stop-color="white" />
|
|
308
|
-
</linearGradient>
|
|
309
|
-
<linearGradient
|
|
310
|
-
id="${o(r,"space-gradient2")}"
|
|
311
|
-
x1="16.603"
|
|
312
|
-
y1="0"
|
|
313
|
-
x2="16.603"
|
|
314
|
-
y2="46.9586"
|
|
315
|
-
gradientUnits="userSpaceOnUse">
|
|
316
|
-
<stop stop-color="white" />
|
|
317
|
-
<stop offset="1" stop-color="white" stop-opacity="0.4" />
|
|
318
|
-
</linearGradient>
|
|
319
|
-
</defs>
|
|
320
|
-
</g>`;if(l==="app-purchase")return`<g id="${w}" transform="translate(90, 42)" width="47" height="48" viewBox="0 0 47 48" fill="none">
|
|
321
|
-
<path
|
|
322
|
-
opacity="0.6"
|
|
323
|
-
fill-rule="evenodd"
|
|
324
|
-
clip-rule="evenodd"
|
|
325
|
-
d="M36.9715 8.00457L23.1072 0L9.24289 8.00457V18.6495L0 23.9859V39.9951L13.8643 47.9996L23.0844 42.6764L23.1072 42.6895L23.13 42.6764L32.3501 47.9996L46.2144 39.9951V23.9859L36.9715 18.6495V8.00457ZM44.7702 24.8199L35.5273 19.4835V8.83852L23.1072 1.66776L10.6871 8.83852V19.4835L1.4442 24.8199V39.1614L13.8643 46.3321L23.0844 41.0089L23.1072 41.0221L23.13 41.0089L32.3501 46.3321L44.7702 39.1614V24.8199Z"
|
|
326
|
-
fill="white" />
|
|
327
|
-
<path
|
|
328
|
-
fill-rule="evenodd"
|
|
329
|
-
clip-rule="evenodd"
|
|
330
|
-
d="M36.9716 18.6775L23.1072 10.673L9.24292 18.6775V34.6867L23.1072 42.6912L36.9716 34.6867V18.6775ZM10.6871 19.5117L23.1072 12.3409L35.5274 19.5117V33.8532L23.1072 41.0239L10.6871 33.8532V19.5117Z"
|
|
331
|
-
fill="white" />
|
|
332
|
-
<path
|
|
333
|
-
fill-rule="evenodd"
|
|
334
|
-
clip-rule="evenodd"
|
|
335
|
-
d="M15.9236 25.8547V19.5111H22.2671V25.8547H15.9236ZM28.3539 19.5111H30.2908V21.448C30.2908 23.8817 28.3179 25.8547 25.8842 25.8547H23.9473V23.9177C23.9473 21.484 25.9202 19.5111 28.3539 19.5111ZM15.9236 33.8523H22.2671V27.5088H15.9236V33.8523ZM23.9473 33.8523V27.5088H30.2908V33.8523H23.9473Z"
|
|
336
|
-
fill="white" />
|
|
337
|
-
</g>`;if(l==="app-space")return`<g id="${w}" transform="translate(90, 42)" width="48" height="48" viewBox="0 0 48 48" fill="none">
|
|
338
|
-
<path
|
|
339
|
-
fill-rule="evenodd"
|
|
340
|
-
clip-rule="evenodd"
|
|
341
|
-
d="M37.614 7.98129L23.79 0L9.966 7.98129V18.5957L0.75 23.9165V39.8791L14.574 47.8604L23.7676 42.5525L23.79 42.5654L23.8124 42.5525L33.006 47.8604L46.83 39.8791V23.9165L37.614 18.5957V7.98129ZM45.39 24.7479L36.174 19.4271V8.81267L23.79 1.66277L11.406 8.81267V19.4271L2.19 24.7479V39.0477L14.574 46.1976L23.7676 40.8897L23.79 40.9026L23.8124 40.8897L33.006 46.1976L45.39 39.0477V24.7479Z"
|
|
342
|
-
fill="white" />
|
|
343
|
-
<path
|
|
344
|
-
fill-rule="evenodd"
|
|
345
|
-
clip-rule="evenodd"
|
|
346
|
-
d="M37.6141 18.623L23.7901 10.6417L9.96606 18.623V34.5856L23.7901 42.5669L37.6141 34.5856V18.623ZM11.4061 19.4544L23.7901 12.3045L36.1741 19.4544V33.7542L23.7901 40.9041L11.4061 33.7542V19.4544ZM21.4098 17.2848C21.4981 16.9757 21.7806 16.7626 22.1021 16.7626H25.478C25.7995 16.7626 26.082 16.9757 26.1703 17.2848L26.8128 19.5335L28.4022 20.4511L30.6709 19.8832C30.9827 19.8051 31.3085 19.9432 31.4693 20.2216L33.1572 23.1453C33.318 23.4237 33.2747 23.7749 33.0511 24.0059L31.4249 25.6867V27.5219L33.0511 29.2027C33.2747 29.4337 33.318 29.7849 33.1572 30.0633L31.4693 32.987C31.3085 33.2654 30.9827 33.4035 30.6709 33.3254L28.4022 32.7575L26.8128 33.6751L26.1703 35.9238C26.082 36.2329 25.7995 36.446 25.478 36.446H22.1021C21.7806 36.446 21.4981 36.2329 21.4098 35.9238L20.7673 33.6751L19.1779 32.7575L16.9093 33.3254C16.5974 33.4035 16.2716 33.2654 16.1109 32.987L14.4229 30.0633C14.2622 29.7849 14.3055 29.4337 14.529 29.2027L16.1552 27.5219V25.6867L14.529 24.0059C14.3055 23.7749 14.2622 23.4237 14.4229 23.1453L16.1109 20.2216C16.2716 19.9432 16.5974 19.8051 16.9093 19.8832L19.1779 20.4511L20.7673 19.5335L21.4098 17.2848ZM21.7396 20.6349C21.9014 20.5415 22.0205 20.3888 22.0719 20.2092L22.6452 18.2026H24.9349L25.5083 20.2092C25.5596 20.3888 25.6787 20.5415 25.8406 20.6349L27.9345 21.8438C28.0963 21.9373 28.2881 21.9641 28.4693 21.9187L30.4937 21.4119L31.6386 23.3949L30.1875 24.8947C30.0576 25.029 29.9849 25.2085 29.9849 25.3954V27.8132C29.9849 28.0001 30.0576 28.1796 30.1875 28.3139L31.6386 29.8137L30.4937 31.7967L28.4693 31.2899C28.2881 31.2445 28.0963 31.2713 27.9345 31.3648L25.8406 32.5737C25.6787 32.6671 25.5596 32.8198 25.5083 32.9994L24.9349 35.006H22.6452L22.0719 32.9994C22.0205 32.8198 21.9014 32.6671 21.7396 32.5737L19.6457 31.3648C19.4839 31.2713 19.2921 31.2445 19.1108 31.2899L17.0864 31.7967L15.9415 29.8137L17.3926 28.3139C17.5226 28.1796 17.5952 28.0001 17.5952 27.8132V25.3954C17.5952 25.2085 17.5226 25.029 17.3926 24.8947L15.9415 23.3949L17.0864 21.4119L19.1108 21.9187C19.2921 21.9641 19.4839 21.9373 19.6457 21.8438L21.7396 20.6349ZM23.7901 31.2306C21.2351 31.2306 19.1638 29.1593 19.1638 26.6043C19.1638 24.0493 21.2351 21.9781 23.7901 21.9781C26.3451 21.9781 28.4163 24.0493 28.4163 26.6043C28.4163 29.1593 26.3451 31.2306 23.7901 31.2306ZM26.9763 26.6043C26.9763 28.364 25.5498 29.7906 23.7901 29.7906C22.0303 29.7906 20.6038 28.364 20.6038 26.6043C20.6038 24.8446 22.0303 23.418 23.7901 23.418C25.5498 23.418 26.9763 24.8446 26.9763 26.6043Z"
|
|
347
|
-
fill="white" />
|
|
348
|
-
</g>`;if(l==="app-passport"){const y=o(r,"passport-avatar-mask");return f.icon?`<g id="${w}" transform="translate(0, 30)" width="228" height="70" viewBox="0 0 228 70">
|
|
349
|
-
<defs>
|
|
350
|
-
<clipPath id="${y}">
|
|
351
|
-
<circle cx="114" cy="20" r="20" fill="#FFFFFF" />
|
|
352
|
-
</clipPath>
|
|
353
|
-
</defs>
|
|
354
|
-
<image xlink:href="${f.icon}" x="94" y="0" width="40" height="40" clip-path="url(#${y})" />
|
|
355
|
-
<text x="50%" y="55" width="228" font-size="14" fill="#FFFFFF" text-anchor="middle" dominant-baseline="middle" font-family="Helvetica, Arial, sans-serif">${f.name}</text>
|
|
356
|
-
</g>`:`<g id="${w}" transform="translate(0, 30)" width="228" height="70" viewBox="0 0 228 70">
|
|
357
|
-
<circle cx="114" cy="15" r="20" fill="#D9D9D9"/>
|
|
358
|
-
<text x="50%" y="55" width="228" font-size="14" fill="#FFFFFF" text-anchor="middle" dominant-baseline="middle" font-family="Helvetica, Arial, sans-serif">${f.name}</text>
|
|
359
|
-
</g>`}return""};i.getHeaderSvg=e;const s=(l,r,f=12)=>l.icon?`<g id="${o(r,"issuer")}" transform="translate(24, 151)" width="180" height="14">
|
|
360
|
-
<rect x="0" y="0" width="14" height="14" rx="2" fill="url(#${o(r,"issuer-image")})" />
|
|
361
|
-
<image
|
|
362
|
-
xlink:href="${l.icon}"
|
|
363
|
-
x="0"
|
|
364
|
-
y="0"
|
|
365
|
-
width="14"
|
|
366
|
-
height="14" />
|
|
367
|
-
<text
|
|
368
|
-
x="20"
|
|
369
|
-
y="8"
|
|
370
|
-
font-size="${f}"
|
|
371
|
-
font-family="Helvetica, Arial, sans-serif"
|
|
372
|
-
fill="#D1D1D1"
|
|
373
|
-
text-anchor="start"
|
|
374
|
-
alignment-baseline="middle"
|
|
375
|
-
dominant-baseline="middle">
|
|
376
|
-
${l.name}
|
|
377
|
-
</text>
|
|
378
|
-
<defs>
|
|
379
|
-
<pattern id="${o(r,"issuer-image")}" width="14" height="14" patternUnits="userSpaceOnUse">
|
|
380
|
-
<image
|
|
381
|
-
xlink:href="${l.icon}"
|
|
382
|
-
x="0"
|
|
383
|
-
y="0"
|
|
384
|
-
width="14"
|
|
385
|
-
height="14" />
|
|
386
|
-
</pattern>
|
|
387
|
-
</defs>
|
|
388
|
-
</g>`:`<g id="${o(r,"issuer")}" transform="translate(24, 151)" width="180" height="14">
|
|
389
|
-
<rect x="0" y="0" width="14" height="14" rx="2" fill="#6D6D6D"/>
|
|
390
|
-
<text
|
|
391
|
-
x="20"
|
|
392
|
-
y="8"
|
|
393
|
-
font-size="${f}"
|
|
394
|
-
font-family="Helvetica, Arial, sans-serif"
|
|
395
|
-
fill="#D1D1D1"
|
|
396
|
-
text-anchor="start"
|
|
397
|
-
alignment-baseline="middle"
|
|
398
|
-
dominant-baseline="middle">
|
|
399
|
-
${l.name}
|
|
400
|
-
</text>
|
|
401
|
-
</g>`;i.getIssuerSvg=s;const t=(l,r,f=12)=>`<g id="${o(r,"extra")}" transform="translate(24, 181)" width="180" height="14">
|
|
402
|
-
<text
|
|
403
|
-
x="0"
|
|
404
|
-
y="8"
|
|
405
|
-
font-size="${f}"
|
|
406
|
-
font-family="Helvetica, Arial, sans-serif"
|
|
407
|
-
fill="#D1D1D1"
|
|
408
|
-
text-anchor="start"
|
|
409
|
-
alignment-baseline="middle"
|
|
410
|
-
dominant-baseline="middle">
|
|
411
|
-
${l.key}
|
|
412
|
-
<tspan
|
|
413
|
-
dx="${l.key.length?4:0}"
|
|
414
|
-
dy="0"
|
|
415
|
-
font-size="${f}"
|
|
416
|
-
font-family="Helvetica, Arial, sans-serif"
|
|
417
|
-
fill="#FFFFFF"
|
|
418
|
-
text-anchor="start"
|
|
419
|
-
alignment-baseline="middle"
|
|
420
|
-
dominant-baseline="middle">
|
|
421
|
-
${l.value}
|
|
422
|
-
</tspan>
|
|
423
|
-
</text>
|
|
424
|
-
</g>`;i.getExtraSvg=t;const a=(l,r,f=10)=>{const w=l.replace("did:abt:",""),y=k(w),j=y?v(w):(0,d.getDIDMotifInfo)(w).color,G=`<g id="${o(r,"did-prefix")}" transform="translate(24, 210)" height="14">
|
|
425
|
-
<text
|
|
426
|
-
x="0"
|
|
427
|
-
y="8"
|
|
428
|
-
font-size="${f}"
|
|
429
|
-
font-family="Helvetica, Arial, sans-serif"
|
|
430
|
-
fill="${j}"
|
|
431
|
-
text-anchor="start"
|
|
432
|
-
alignment-baseline="middle"
|
|
433
|
-
dominant-baseline="middle">
|
|
434
|
-
DID:<tspan
|
|
435
|
-
dx="0"
|
|
436
|
-
dy="0"
|
|
437
|
-
font-size="${f}"
|
|
438
|
-
font-family="Helvetica, Arial, sans-serif"
|
|
439
|
-
fill="#D1D1D1"
|
|
440
|
-
text-anchor="start"
|
|
441
|
-
alignment-baseline="middle"
|
|
442
|
-
dominant-baseline="middle">ABT:</tspan>
|
|
443
|
-
</text>
|
|
444
|
-
</g>`;let V="";y===!1&&(V=(0,d.toSvg)(w).replace("<svg ",`<g id="${o(r,"did-motif")}" transform="translate(67, 211) scale(0.12, 0.12)" width="12" height="12" `).replace("</svg>","</g>"));const P=`<g id="${o(r,"did-suffix")}" transform="translate(${y?67:80}, 210)" height="14">
|
|
445
|
-
<text
|
|
446
|
-
x="0"
|
|
447
|
-
y="8"
|
|
448
|
-
font-size="${f}"
|
|
449
|
-
font-family="monospace, Arial, sans-serif"
|
|
450
|
-
fill="#D1D1D1"
|
|
451
|
-
text-anchor="start"
|
|
452
|
-
alignment-baseline="middle"
|
|
453
|
-
dominant-baseline="middle">
|
|
454
|
-
${(0,i.formatDid)(w)}
|
|
455
|
-
</text>
|
|
456
|
-
</g>`;return[G,V,P].filter(Boolean).join("")};i.getDidSvg=a;const n=l=>`<g id="${o(l,"verifiable-badge")}" transform="translate(189, 206)" width="22" height="22" viewBox="0 0 22 22" fill="none">
|
|
457
|
-
<path
|
|
458
|
-
fill-rule="evenodd"
|
|
459
|
-
clip-rule="evenodd"
|
|
460
|
-
d="M9.32218 0.226122L10.6305 0.0488281L10.6849 0.437063L9.84501 0.550946L9.90971 1.03495L10.6267 0.937887L10.6797 1.32612L9.96277 1.42318L10.0715 2.22942L9.60301 2.29283L9.32218 0.226122ZM7.90771 0.615652L7.46254 0.776122L8.17301 2.74448L8.61818 2.584L7.90771 0.615652ZM4.86783 2.18153L5.50065 1.77259C5.87336 1.53189 6.26289 1.46459 6.53595 1.88259C6.71202 2.15212 6.68901 2.3969 6.55052 2.60097L7.39783 3.04471L6.95265 3.32553L6.20681 2.91365L5.99371 3.04989L6.40265 3.68271L6.00536 3.94153L4.86783 2.18153ZM5.98983 2.60342C6.19948 2.474 6.24865 2.30706 6.14254 2.13365C6.03642 1.96024 5.88371 1.97448 5.67148 2.10906L5.4683 2.23848L5.78665 2.73153L5.98983 2.60342ZM3.72771 3.16506L2.85289 4.14083L4.40971 5.53848L5.30654 4.52906L5.01148 4.27024L4.43042 4.9173L4.07195 4.59248L4.54689 4.06189L4.25183 3.80306L3.7756 4.33495L3.46371 4.04765L4.02277 3.42389L3.72771 3.16506ZM1.27018 6.79765L1.49795 6.35118L2.48018 6.57118C2.5982 6.59558 2.70984 6.62299 2.82194 6.65053L2.82197 6.65053L2.82199 6.65054C2.9299 6.67704 3.03825 6.70365 3.15313 6.72777V6.71612C3.06117 6.63161 2.97134 6.55416 2.88178 6.47695L2.88178 6.47694L2.88177 6.47694L2.88177 6.47693C2.79991 6.40636 2.71829 6.33598 2.63548 6.26059L1.87971 5.598L2.09971 5.16706L3.67465 6.68118L3.41583 7.18718L1.27018 6.79765ZM12.0668 13.0321V8.62819L9.27011 7.0135H7.07252V14.6468H9.27011L9.61052 14.4503L10.2993 14.848L9.45467 15.3356H6.3837V6.32468H9.45467L12.7556 8.2305V13.4298L12.3655 13.6551L11.6767 13.2574L12.0668 13.0321ZM11.6799 6.81176L12.5235 6.3247H15.5945V15.3356H12.7914C12.6159 15.3356 12.4435 15.2894 12.2914 15.2017L9.22253 13.4298V8.23051L9.61372 8.00466L10.3025 8.40235L9.91135 8.6282V13.0321L12.7081 14.6468H14.9057V7.01351H12.7081L12.3687 7.20944L11.6799 6.81176ZM3.02371 13.5788C2.87489 13.0612 2.35465 12.7364 1.68042 12.9318C0.997126 13.1311 0.765479 13.6642 0.915596 14.1832C0.949598 14.3085 1.01116 14.4247 1.09579 14.5232C1.18042 14.6217 1.28599 14.7001 1.40477 14.7526L1.62089 14.4174C1.54869 14.3853 1.48413 14.3383 1.43148 14.2794C1.37883 14.2205 1.33929 14.1511 1.31548 14.0758C1.23007 13.7807 1.42418 13.5115 1.83313 13.3925C2.24207 13.2734 2.55007 13.4222 2.6303 13.7005C2.64794 13.7684 2.65199 13.8392 2.64222 13.9087C2.63245 13.9782 2.60905 14.0451 2.57336 14.1055L2.9383 14.266C2.99751 14.1629 3.03556 14.049 3.05022 13.931C3.06489 13.813 3.05588 13.6933 3.02371 13.5788ZM3.50642 14.9351L3.90889 15.5821C4.14571 15.9626 4.20654 16.3586 3.77948 16.6174C3.50841 16.7817 3.2655 16.7593 3.06364 16.6238L2.59795 17.478L2.31583 17.0238L2.74969 16.2773L2.6083 16.0506L1.96124 16.4518L1.71148 16.0467L3.50642 14.9351ZM3.06124 16.0635C3.19065 16.2771 3.3563 16.334 3.5336 16.2253C3.71089 16.1166 3.69795 15.9665 3.56595 15.7491L3.43654 15.542L2.93183 15.8552L3.06124 16.0635ZM5.8863 17.8404L4.91571 16.9345L3.47536 18.4861L4.46795 19.4114L4.74877 19.1086L4.10171 18.5094L4.4343 18.1522L4.96101 18.644L5.23407 18.3502L4.70736 17.8585L4.99465 17.5531L5.61324 18.1315L5.8863 17.8404ZM6.62136 18.3761L7.15065 18.6531C7.72265 18.9507 7.94265 19.4295 7.60748 20.0766C7.2723 20.7237 6.7443 20.8285 6.1956 20.5425L5.64301 20.2539L6.62136 18.3761ZM6.32501 20.1711C6.64207 20.3367 6.93842 20.2927 7.17266 19.8449C7.40689 19.3972 7.26454 19.1448 6.94748 18.9792L6.86595 18.9365L6.24477 20.1284L6.32501 20.1711ZM10.2061 19.6871L8.91195 19.4114L8.47324 21.4678L9.79971 21.7499L9.88383 21.3617L9.02324 21.1818L9.12418 20.7055L9.82948 20.8557L9.9123 20.4674L9.2083 20.3173L9.29501 19.898L10.1232 20.0753L10.2061 19.6871ZM11.1119 19.7647L11.6011 19.7337L12.2171 20.7482L12.4552 21.1986H12.4682C12.4606 21.152 12.452 21.1022 12.443 21.0501L12.443 21.0501C12.4093 20.8548 12.3704 20.6292 12.3582 20.4351L12.3116 19.6897L12.7658 19.6612L12.8952 21.7706L12.4061 21.8017L11.7901 20.7845L11.5519 20.3367H11.539C11.5471 20.3861 11.5559 20.4378 11.5651 20.491L11.5651 20.4913C11.5986 20.6862 11.6355 20.9012 11.6477 21.0964L11.6956 21.8457L11.2414 21.8741L11.1119 19.7647ZM13.6704 19.8812L14.2191 19.6871L14.7924 21.3034L15.2428 21.1442L14.6721 19.5279L15.2234 19.3351L15.0939 18.9572L13.541 19.5033L13.6704 19.8812ZM15.8031 18.5431L16.2095 18.292L17.3224 20.0882L16.9161 20.3393L15.8031 18.5431ZM17.7132 17.0458L17.303 17.4444L18.2956 19.4244L18.6489 19.084L18.3941 18.6348L18.8557 18.1822L19.2985 18.4525L19.6622 18.1005L17.7132 17.0458ZM18.5275 17.9818L18.3551 17.8766C18.2405 17.8103 18.1169 17.7327 17.9943 17.6557C17.9135 17.605 17.8331 17.5546 17.7559 17.5078L17.7469 17.5168L17.7557 17.5312C17.8724 17.7228 18.0005 17.9331 18.1028 18.1212L18.2027 18.2974L18.5275 17.9818ZM18.5932 16.0066L18.8417 15.5989L20.3041 16.4906L20.7389 15.7788L21.0805 15.9872L20.3972 17.1079L18.5932 16.0066ZM21.1038 14.4304L21.3381 14.7888C21.5849 14.64 21.7682 14.4055 21.8531 14.1301C21.9994 13.6474 21.7936 13.2799 21.4584 13.1777C21.1737 13.0897 20.9602 13.1945 20.7855 13.4106L20.603 13.6371C20.4788 13.7924 20.3843 13.9075 20.2691 13.8726C20.1539 13.8377 20.119 13.7173 20.1669 13.5594C20.2163 13.4062 20.3174 13.275 20.4529 13.188L20.2355 12.8697C20.0129 12.992 19.8467 13.1963 19.7722 13.4391C19.6492 13.8622 19.8252 14.244 20.1604 14.3449C20.2839 14.3807 20.4155 14.3768 20.5367 14.3339C20.6579 14.2909 20.7625 14.2111 20.8359 14.1055L21.0275 13.8726L21.0309 13.8685C21.1558 13.7168 21.2382 13.6167 21.3575 13.6539C21.4778 13.6914 21.5244 13.8066 21.4662 13.9981C21.3986 14.1796 21.2707 14.3322 21.1038 14.4304ZM12.4255 0.0967106L11.9544 0.0617694L11.7991 2.14789L12.2715 2.18283L12.4255 0.0967106ZM14.2592 0.430593L14.8015 0.593652L14.8248 2.79365L14.3459 2.64871L14.3668 2.12973L13.7601 1.9465L13.4879 2.39377L13.0259 2.254L14.2592 0.430593ZM14.3899 1.55518L14.3822 1.74864L13.9585 1.62052L14.0574 1.45812C14.166 1.28796 14.2813 1.08628 14.3877 0.900319L14.3877 0.900299L14.4107 0.86024H14.4223C14.4189 0.944179 14.4136 1.03189 14.4082 1.12017L14.4082 1.12021C14.3991 1.26873 14.3899 1.41883 14.3899 1.55518ZM17.2008 1.74024L16.5964 1.352L15.4757 3.12236L16.1305 3.53906C16.5136 3.78236 16.9199 3.81471 17.1477 3.45495C17.2142 3.36233 17.2452 3.24887 17.235 3.1353C17.2248 3.02172 17.1741 2.91561 17.0921 2.83636L17.0998 2.826C17.193 2.83723 17.2874 2.82105 17.3716 2.77945C17.4557 2.73785 17.5258 2.67263 17.5735 2.59177C17.7883 2.25789 17.567 1.97318 17.2008 1.74024ZM16.7737 3.17671C16.6728 3.33459 16.511 3.34236 16.2936 3.20518L16.0645 3.06283L16.3544 2.6073L16.5822 2.74836C16.8022 2.88812 16.8747 3.01883 16.7737 3.17671ZM17.1464 2.39506C17.0649 2.52448 16.9264 2.55812 16.7336 2.42871L16.5408 2.30965L16.7996 1.91106L16.9898 2.03142C17.1762 2.14918 17.2279 2.26565 17.1464 2.39506ZM18.9918 3.13271L19.3115 3.48083L18.064 4.62871L18.6243 5.23565L18.3318 5.50483L17.4518 4.54977L18.9918 3.13271ZM21.2928 6.38612L20.6729 5.23177L18.8262 6.22177L19.4603 7.40459L19.8149 7.21695L19.4034 6.45083L19.8278 6.22306L20.1643 6.85071L20.5137 6.66306L20.1772 6.03542L20.5474 5.83612L20.9434 6.57377L21.2928 6.38612Z"
|
|
461
|
-
fill="url(#${o(l,"badge-gradient")})"
|
|
462
|
-
/>
|
|
463
|
-
<defs>
|
|
464
|
-
<radialGradient
|
|
465
|
-
id="${o(l,"badge-gradient")}"
|
|
466
|
-
cx="0"
|
|
467
|
-
cy="0"
|
|
468
|
-
r="1"
|
|
469
|
-
gradientUnits="userSpaceOnUse"
|
|
470
|
-
gradientTransform="translate(7.56316 1.95853) rotate(57.9973) scale(23.4846 25.6709)"
|
|
471
|
-
>
|
|
472
|
-
<stop stop-color="#4F72ED" />
|
|
473
|
-
<stop offset="0.632636" stop-color="#75CCCF" />
|
|
474
|
-
<stop offset="1" stop-color="#94F0BA" />
|
|
475
|
-
</radialGradient>
|
|
476
|
-
</defs>
|
|
477
|
-
</g>`;i.getVerifiableBadge=n;const S=(l,r,f)=>{const w=o(f,"chain-badge"),y=r?189:162;return l==="ethereum"?`<g id="${w}" transform="translate(${y}, 205)" width="24" height="24" viewBox="0 0 24 24">
|
|
478
|
-
<defs>
|
|
479
|
-
<style>
|
|
480
|
-
.cls-1,
|
|
481
|
-
.cls-3 {
|
|
482
|
-
opacity: 0.8;
|
|
483
|
-
}
|
|
484
|
-
.cls-2,
|
|
485
|
-
.cls-3 {
|
|
486
|
-
fill: #fff;
|
|
487
|
-
}
|
|
488
|
-
.cls-3 {
|
|
489
|
-
fill-opacity: 0.8;
|
|
490
|
-
}
|
|
491
|
-
</style>
|
|
492
|
-
</defs>
|
|
493
|
-
<g>
|
|
494
|
-
<g class="cls-1">
|
|
495
|
-
<path class="cls-2" d="M3,12.62l.2,1.25-.38.06-.13-.8-.4.07.11.68-.38.06L2,13.26l-.46.07.13.83-.38.06L1,12.94Z" />
|
|
496
|
-
<path class="cls-2" d="M3.31,15.31l-.22-.51.35-.15.63,1.43-.35.16-.23-.51L2,16.38,1.81,16Z" />
|
|
497
|
-
<path
|
|
498
|
-
class="cls-2"
|
|
499
|
-
d="M4.49,16.8l.29.36-.61.48.44.55.6-.49.29.35L3.93,19.32,3.64,19l.66-.53-.44-.54-.65.53-.29-.36Z"
|
|
500
|
-
/>
|
|
501
|
-
<path
|
|
502
|
-
class="cls-2"
|
|
503
|
-
d="M6.24,18.71l1,.74L7,19.76l-.65-.47-.24.33.56.4-.23.31-.56-.4-.27.38.68.49-.22.31-1.05-.76Z"
|
|
504
|
-
/>
|
|
505
|
-
<path
|
|
506
|
-
class="cls-2"
|
|
507
|
-
d="M8.09,19.92l.68.26c.4.16.67.42.5.87a.68.68,0,0,1-1,.34l-.25-.1L7.79,22l-.43-.17ZM8.4,21c.22.08.38,0,.45-.15s0-.3-.25-.38l-.22-.09-.2.53Zm-.13.2.4-.15.19,1.29-.48-.19Z"
|
|
508
|
-
/>
|
|
509
|
-
<path
|
|
510
|
-
class="cls-2"
|
|
511
|
-
d="M10.27,21.75l.1-1.08.45,0-.1,1.13c0,.39.07.54.29.56s.37-.1.41-.5l.1-1.12.44,0-.1,1.08c-.06.67-.36.94-.88.89S10.2,22.42,10.27,21.75Z"
|
|
512
|
-
/>
|
|
513
|
-
<path
|
|
514
|
-
class="cls-2"
|
|
515
|
-
d="M12.94,20.78l.49-.11.51.81.19.35h0c0-.13,0-.26,0-.39l.12-.94.49-.1.42,2-.41.09-.15-.72a5.43,5.43,0,0,1-.09-.69h0l-.06.51-.12.81-.25.05-.44-.69-.26-.44h0c.06.19.16.47.2.66l.15.73-.4.09Z"
|
|
516
|
-
/>
|
|
517
|
-
<path
|
|
518
|
-
class="cls-2"
|
|
519
|
-
d="M16.73,19.49l.4-.31.8.51.32.23h0l-.13-.36-.3-.91.4-.3,1.23,1.6-.33.25-.45-.59c-.12-.15-.27-.41-.38-.58h0l.17.48.24.79-.2.15L17.8,20l-.42-.29h0a5.68,5.68,0,0,1,.47.51l.45.59-.32.25Z"
|
|
520
|
-
/>
|
|
521
|
-
<path
|
|
522
|
-
class="cls-2"
|
|
523
|
-
d="M19.11,17.3l.32-.44,2,.67-.28.39-1-.39-.63-.25h0l.43.51.67.82-.27.37Zm.83.87.57-.79.28.21-.57.78Z"
|
|
524
|
-
/>
|
|
525
|
-
<path class="cls-2" d="M20.11,15.65l.19-.42,1.85.82-.19.42Z" />
|
|
526
|
-
<path
|
|
527
|
-
class="cls-2"
|
|
528
|
-
d="M20.66,14.3l.09-.46,1.09-.32.47-.11h0a6.91,6.91,0,0,1-.73-.09l-.7-.13.09-.43,2,.39-.09.46-1.09.32L21.3,14h0a6.16,6.16,0,0,1,.72.09l.71.13-.09.43Z"
|
|
529
|
-
/>
|
|
530
|
-
<path
|
|
531
|
-
class="cls-2"
|
|
532
|
-
d="M3.89,5.92a.92.92,0,0,1-.17-1.38.91.91,0,0,1,1.38,0A.93.93,0,1,1,3.89,5.92Zm.9-1c-.3-.27-.6-.3-.78-.09s-.11.5.19.76.61.31.8.1S5.1,5.15,4.79,4.89Z"
|
|
533
|
-
/>
|
|
534
|
-
<path
|
|
535
|
-
class="cls-2"
|
|
536
|
-
d="M5.41,3l.4-.25,1,.56.41.26h0A7,7,0,0,1,6.77,3l-.39-.6.37-.24,1.09,1.7-.39.26-1-.57-.41-.26H6a6.77,6.77,0,0,1,.44.58l.39.6-.36.24Z"
|
|
537
|
-
/>
|
|
538
|
-
<path class="cls-2" d="M8.32,2.6,9,2.34l.11.31-.72.25Z" />
|
|
539
|
-
<path
|
|
540
|
-
class="cls-2"
|
|
541
|
-
d="M10,2A1,1,0,0,1,10.79.84a.89.89,0,0,1,.64.19l-.2.32a.58.58,0,0,0-.38-.12c-.27,0-.46.31-.41.71s.28.63.57.59a.5.5,0,0,0,.37-.23l.28.25a.83.83,0,0,1-.61.38A.94.94,0,0,1,10,2Z"
|
|
542
|
-
/>
|
|
543
|
-
<path
|
|
544
|
-
class="cls-2"
|
|
545
|
-
d="M12.73.82l.45.06-.11.77.69.1L13.87,1l.45.06-.27,2L13.59,3l.12-.84L13,2.05l-.12.83-.45-.06Z"
|
|
546
|
-
/>
|
|
547
|
-
<path
|
|
548
|
-
class="cls-2"
|
|
549
|
-
d="M16.08,1.6l.5.22-.21,2.11-.44-.2.16-1c0-.21.07-.45.1-.67h0l-.4.54-.65.83-.43-.18Zm-.67,1,.9.39-.14.32-.9-.38Z"
|
|
550
|
-
/>
|
|
551
|
-
<path class="cls-2" d="M18.14,2.7l.37.26L17.35,4.61,17,4.35Z" />
|
|
552
|
-
<path
|
|
553
|
-
class="cls-2"
|
|
554
|
-
d="M19.61,3.86l.32.34-.4,1.07-.19.44h0c.15-.16.33-.37.51-.53l.53-.48.29.32-1.5,1.36L18.86,6,19.25,5l.2-.44h0c-.15.16-.33.37-.5.53l-.54.48-.29-.32Z"
|
|
555
|
-
/>
|
|
556
|
-
</g>
|
|
557
|
-
<path class="cls-3" d="M15,12.09l-3,1.82L9,12.09,12,7Zm-3,2.4L9,12.68,12,17l3-4.32Z" />
|
|
558
|
-
</g>
|
|
559
|
-
</g>`:l==="arcblock"?`<g id="${w}" transform="translate(${y}, 205)" width="24" height="24" viewBox="0 0 24 24">
|
|
560
|
-
<defs>
|
|
561
|
-
<style>
|
|
562
|
-
.cls-1 {
|
|
563
|
-
opacity: 0.8;
|
|
564
|
-
}
|
|
565
|
-
.cls-2,
|
|
566
|
-
.cls-3,
|
|
567
|
-
.cls-4 {
|
|
568
|
-
fill: #fff;
|
|
569
|
-
}
|
|
570
|
-
.cls-3,
|
|
571
|
-
.cls-4 {
|
|
572
|
-
fill-rule: evenodd;
|
|
573
|
-
}
|
|
574
|
-
.cls-4 {
|
|
575
|
-
isolation: isolate;
|
|
576
|
-
opacity: 0.6;
|
|
577
|
-
}
|
|
578
|
-
</style>
|
|
579
|
-
</defs>
|
|
580
|
-
<g>
|
|
581
|
-
<g class="cls-1">
|
|
582
|
-
<path
|
|
583
|
-
class="cls-2"
|
|
584
|
-
d="M3,12.1l0,.55-2,.76,0-.48,1-.33.65-.21h0c-.21,0-.45-.07-.66-.12l-1-.2,0-.46ZM1.83,12l.06,1-.36,0-.06-1Z"
|
|
585
|
-
/>
|
|
586
|
-
<path
|
|
587
|
-
class="cls-2"
|
|
588
|
-
d="M3.26,14l.23.68c.14.41.11.79-.34.94s-.74-.12-.88-.52l-.09-.26-.68.23-.15-.43Zm-.9,1,.37.2-.87,1-.16-.48Zm.24,0c.08.22.21.31.4.25s.21-.21.14-.44l-.08-.22-.54.18Z"
|
|
589
|
-
/>
|
|
590
|
-
<path
|
|
591
|
-
class="cls-2"
|
|
592
|
-
d="M3.27,16.73a1,1,0,0,1,1.41.21.88.88,0,0,1,.12.65l-.38,0a.51.51,0,0,0-.06-.38c-.16-.23-.48-.28-.82-.05s-.44.52-.27.77a.5.5,0,0,0,.37.22l-.1.36a.81.81,0,0,1-.61-.38A.93.93,0,0,1,3.27,16.73Z"
|
|
593
|
-
/>
|
|
594
|
-
<path
|
|
595
|
-
class="cls-2"
|
|
596
|
-
d="M5.56,18.09l.52.46c.31.27.48.57.23.86a.47.47,0,0,1-.49.16h0a.47.47,0,0,1,0,.6c-.28.31-.66.22-1-.08l-.56-.49ZM5,19.81c.19.17.35.19.47.05s.07-.27-.12-.44l-.19-.17-.35.4Zm.54-.67c.17.15.3.14.4,0s.06-.23-.1-.37l-.16-.14-.3.34Z"
|
|
597
|
-
/>
|
|
598
|
-
<path class="cls-2" d="M7.43,19.55l.41.21L7.1,21.22l.71.36-.18.34-1.11-.57Z" />
|
|
599
|
-
<path
|
|
600
|
-
class="cls-2"
|
|
601
|
-
d="M9.06,21.38a.92.92,0,1,1,1.79.37.92.92,0,1,1-1.79-.37Zm1.33.28c.09-.4,0-.67-.31-.72s-.48.14-.57.54,0,.68.31.74S10.31,22.05,10.39,21.66Z"
|
|
602
|
-
/>
|
|
603
|
-
<path
|
|
604
|
-
class="cls-2"
|
|
605
|
-
d="M11.93,21.82a1,1,0,0,1,.88-1.12.86.86,0,0,1,.63.22l-.22.31a.5.5,0,0,0-.37-.14c-.28,0-.48.28-.45.69s.24.64.53.62a.5.5,0,0,0,.38-.22l.26.27a.83.83,0,0,1-.63.35A.94.94,0,0,1,11.93,21.82Z"
|
|
606
|
-
/>
|
|
607
|
-
<path
|
|
608
|
-
class="cls-2"
|
|
609
|
-
d="M14.26,20.52l.43-.15.27.78h0l.3-1,.48-.16-.32,1,1.08.91-.47.17-.75-.65-.12.37.18.51-.43.15Z"
|
|
610
|
-
/>
|
|
611
|
-
<path
|
|
612
|
-
class="cls-2"
|
|
613
|
-
d="M17.49,19l.36-.34.85.42.34.19h0c-.05-.12-.12-.23-.17-.35L18.49,18l.36-.34,1.39,1.46-.3.29-.51-.54c-.13-.14-.31-.38-.43-.54h0l.21.46.33.76-.18.17-.75-.36-.44-.23h0a5.47,5.47,0,0,1,.51.45l.52.54-.3.28Z"
|
|
614
|
-
/>
|
|
615
|
-
<path
|
|
616
|
-
class="cls-2"
|
|
617
|
-
d="M19.62,16.55l.27-.47,2.07.46-.24.42-1-.28-.65-.19h0l.48.47.76.74-.24.4Zm.92.78.48-.84.31.18-.49.84Z"
|
|
618
|
-
/>
|
|
619
|
-
<path class="cls-2" d="M20.46,14.82l.14-.43,1.92.62-.14.44Z" />
|
|
620
|
-
<path
|
|
621
|
-
class="cls-2"
|
|
622
|
-
d="M20.87,13.42l.05-.47,1-.43.46-.15v0c-.21,0-.49,0-.73,0L21,12.28l0-.44L23,12l0,.47-1.06.43-.45.15v0c.22,0,.49,0,.73,0l.71.06,0,.44Z"
|
|
623
|
-
/>
|
|
624
|
-
<path
|
|
625
|
-
class="cls-2"
|
|
626
|
-
d="M3.89,5.92a.92.92,0,0,1-.17-1.38.91.91,0,0,1,1.38,0A.93.93,0,1,1,3.89,5.92Zm.9-1c-.3-.27-.59-.3-.78-.09s-.11.5.19.76.62.31.8.1S5.1,5.15,4.79,4.89Z"
|
|
627
|
-
/>
|
|
628
|
-
<path
|
|
629
|
-
class="cls-2"
|
|
630
|
-
d="M5.41,3l.4-.25,1,.56.41.26h0c-.13-.17-.31-.39-.44-.59l-.39-.6.37-.24,1.09,1.7-.39.26-1-.57-.41-.26H6a5.19,5.19,0,0,1,.44.58l.39.6-.36.24Z"
|
|
631
|
-
/>
|
|
632
|
-
<path class="cls-2" d="M8.32,2.6,9,2.34l.11.31-.72.25Z" />
|
|
633
|
-
<path
|
|
634
|
-
class="cls-2"
|
|
635
|
-
d="M10,2A1,1,0,0,1,10.79.84a.88.88,0,0,1,.64.19l-.2.32a.58.58,0,0,0-.38-.12c-.27,0-.46.31-.41.71s.28.63.57.59a.5.5,0,0,0,.37-.23l.28.25a.83.83,0,0,1-.61.38A.94.94,0,0,1,10,2Z"
|
|
636
|
-
/>
|
|
637
|
-
<path
|
|
638
|
-
class="cls-2"
|
|
639
|
-
d="M12.73.82l.45.06-.1.77.68.1L13.87,1l.45.06-.27,2L13.59,3l.12-.84L13,2.05l-.12.83-.45-.06Z"
|
|
640
|
-
/>
|
|
641
|
-
<path
|
|
642
|
-
class="cls-2"
|
|
643
|
-
d="M16.08,1.6l.5.22-.21,2.11-.44-.2.16-1c0-.21.07-.45.1-.67h0l-.4.54-.65.83-.43-.18Zm-.67,1,.9.39-.14.32-.9-.38Z"
|
|
644
|
-
/>
|
|
645
|
-
<path class="cls-2" d="M18.14,2.7l.37.26L17.35,4.61,17,4.35Z" />
|
|
646
|
-
<path
|
|
647
|
-
class="cls-2"
|
|
648
|
-
d="M19.61,3.86l.32.34-.4,1.07-.19.44h0c.15-.16.33-.37.51-.53l.53-.48.29.32-1.5,1.36L18.86,6,19.25,5l.2-.44h0c-.15.16-.33.37-.5.53l-.54.48-.29-.32Z"
|
|
649
|
-
/>
|
|
650
|
-
</g>
|
|
651
|
-
<g class="cls-1">
|
|
652
|
-
<path
|
|
653
|
-
class="cls-3"
|
|
654
|
-
d="M12.27,6.41l5,2.89v5.77l-5,2.89-5-2.89V9.3Zm-4.53,3,3.11,1.79,1.42-2.46,1.42,2.46L16.8,9.39,12.27,6.77ZM17,9.66l-3.11,1.79,1.42,2.47-2.84,1.64v2L17,14.89Zm-4.84,7.85v-2L9.27,13.92l1.42-2.47L7.58,9.66v5.23ZM11,11.61,9.7,13.8l2.42,1.4V12.27L12,12.18Zm1.47,3.59,2.42-1.4-1.27-2.19-1,.57-.15.09V15.2Zm1-3.86-1.15-2-1.15,2,1.15.66Z"
|
|
655
|
-
/>
|
|
656
|
-
<path
|
|
657
|
-
class="cls-4"
|
|
658
|
-
d="M12.12,11.91v.18l-.16.09-4.5,2.6.15.27,4.66-2.69,4.66,2.69.16-.27-4.51-2.6-.15-.09V6.71h-.31Z"
|
|
659
|
-
/>
|
|
660
|
-
</g>
|
|
661
|
-
</g>
|
|
662
|
-
</g>`:""};i.getChainBadge=S;const _=(l,r,f)=>{const w=l?(0,i.getVerifiableBadge)(f):"",y=(0,i.getChainBadge)(r,!l,f);return[w,y].filter(Boolean).join("")};i.getBadgesSvg=_;const p=(l,r,f)=>{const w={success:"#34BE74",error:"#F16E6E",info:"#0775F8",warning:"#DE9E37"};if(l){const y=o(f,"tag-distort");return`<g id="${o(f,"tag")}" transform="translate(112,-36) rotate(45)">
|
|
663
|
-
<rect x="60" y="0" width="95" height="30" stroke="${w[r]}" stroke-width="2" />
|
|
664
|
-
<text
|
|
665
|
-
x="104"
|
|
666
|
-
y="12"
|
|
667
|
-
font-size="14"
|
|
668
|
-
font-weight="bold"
|
|
669
|
-
font-family="Helvetica, Arial, sans-serif"
|
|
670
|
-
fill="${w[r]}"
|
|
671
|
-
text-anchor="middle"
|
|
672
|
-
alignment-baseline="middle"
|
|
673
|
-
dominant-baseline="middle" filter="url(#${y})">${l.toUpperCase()}</text>
|
|
674
|
-
<defs>
|
|
675
|
-
<filter id="${y}">
|
|
676
|
-
<feTurbulence baseFrequency="0.01 0.01" numOctaves="1" result="noise" />
|
|
677
|
-
<feDisplacementMap in="SourceGraphic" in2="noise" scale="10" xChannelSelector="R" yChannelSelector="R" />
|
|
678
|
-
</filter>
|
|
679
|
-
</defs>
|
|
680
|
-
</g>`}return""};i.getTagSvg=p;const c=(l=8)=>[...Array(l)].map(()=>Math.random().toString(36)[2]).join("");i.nanoid=c;const I=l=>{const r=l.id||(0,i.nanoid)(8),f=l.width||$,w=l.height||A,y=l.color||B.DEFAULT_COLORS[l.variant]||B.DEFAULT_COLORS["app-passport"],j=(0,i.getLayoutSvg)(l.variant,r,y),G=(0,i.getHeaderSvg)(l.variant,r,l.header),V=(0,i.getIssuerSvg)(l.issuer,r),P=(0,i.getExtraSvg)(l.extra,r),r1=(0,i.getBadgesSvg)(l.verifiable,l.chain,r),N=(0,i.getDidSvg)(l.did,r),q=(0,i.getTagSvg)(l.tag,l.tagVariant,r);return j([G,V,P,r1,N,q].filter(Boolean).join(""),f,w)};i.getSvg=I})(n2);var b1={};Object.defineProperty(b1,"__esModule",{value:!0});var l2=b1.default=void 0;o2(R);var A1=u;function o2(i){return i&&i.__esModule?i:{default:i}}function I1(i,L){var x=Object.keys(i);if(Object.getOwnPropertySymbols){var d=Object.getOwnPropertySymbols(i);L&&(d=d.filter(function(B){return Object.getOwnPropertyDescriptor(i,B).enumerable})),x.push.apply(x,d)}return x}function $1(i){for(var L=1;L<arguments.length;L++){var x=arguments[L]!=null?arguments[L]:{};L%2?I1(Object(x),!0).forEach(function(d){c2(i,d,x[d])}):Object.getOwnPropertyDescriptors?Object.defineProperties(i,Object.getOwnPropertyDescriptors(x)):I1(Object(x)).forEach(function(d){Object.defineProperty(i,d,Object.getOwnPropertyDescriptor(x,d))})}return i}function c2(i,L,x){return L=d2(L),L in i?Object.defineProperty(i,L,{value:x,enumerable:!0,configurable:!0,writable:!0}):i[L]=x,i}function d2(i){var L=f2(i,"string");return typeof L=="symbol"?L:String(L)}function f2(i,L){if(typeof i!="object"||!i)return i;var x=i[Symbol.toPrimitive];if(x!==void 0){var d=x.call(i,L||"default");if(typeof d!="object")return d;throw new TypeError("@@toPrimitive must return a primitive value.")}return(L==="string"?String:Number)(i)}var L1=function(L){return(0,A1.jsx)("svg",$1($1({},L),{},{children:(0,A1.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.25 10a6.75 6.75 0 1 1 13.5 0 6.75 6.75 0 0 1-13.5 0zM10 1.75a8.25 8.25 0 1 0 0 16.5 8.25 8.25 0 0 0 0-16.5zM8.03 6.97a.75.75 0 0 0-1.06 1.06l5 5a.75.75 0 1 0 1.06-1.06l-5-5z"})}))};L1.defaultProps={width:"20",height:"20",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"};L1.displayName="revoke";l2=b1.default=L1;D.any.isRequired,D.any.isRequired,D.string.isRequired,D.func.isRequired,D.any,D.any,D.number;R.createContext({});const m2=new e2;V1.defaults.timeout=10*1e3;V1.create();T1(O)`
|
|
681
|
-
.selected-container {
|
|
682
|
-
position: absolute;
|
|
683
|
-
right: 0px;
|
|
684
|
-
bottom: 0px;
|
|
685
|
-
display: flex;
|
|
686
|
-
-webkit-box-pack: end;
|
|
687
|
-
justify-content: flex-end;
|
|
688
|
-
align-items: flex-end;
|
|
689
|
-
width: 32px;
|
|
690
|
-
height: 32px;
|
|
691
|
-
border-radius: 0px 0px 8px;
|
|
692
|
-
color: rgb(255, 255, 255);
|
|
693
|
-
overflow: hidden;
|
|
694
|
-
transition: all 0.4s ease 0s;
|
|
695
|
-
|
|
696
|
-
&::after {
|
|
697
|
-
position: absolute;
|
|
698
|
-
z-index: 0;
|
|
699
|
-
left: 60px;
|
|
700
|
-
top: 60px;
|
|
701
|
-
display: block;
|
|
702
|
-
width: 0px;
|
|
703
|
-
height: 0px;
|
|
704
|
-
border-width: 16px;
|
|
705
|
-
border-style: solid;
|
|
706
|
-
border-color: transparent #1dc1c7 #1dc1c7 transparent;
|
|
707
|
-
transition: all 0.1s ease 0s;
|
|
708
|
-
content: '';
|
|
709
|
-
}
|
|
710
|
-
|
|
711
|
-
.selected-icon {
|
|
712
|
-
visibility: hidden;
|
|
713
|
-
width: 60%;
|
|
714
|
-
height: 60%;
|
|
715
|
-
position: relative;
|
|
716
|
-
z-index: 2;
|
|
717
|
-
margin: 0px 1px 1px 0px;
|
|
718
|
-
font-size: 16px;
|
|
719
|
-
transition: all 0.2s ease 0s;
|
|
720
|
-
}
|
|
721
|
-
}
|
|
722
|
-
|
|
723
|
-
.selected-container.selected {
|
|
724
|
-
&::after {
|
|
725
|
-
left: 0px;
|
|
726
|
-
top: 0px;
|
|
727
|
-
}
|
|
728
|
-
|
|
729
|
-
.selected-icon {
|
|
730
|
-
visibility: visible;
|
|
731
|
-
}
|
|
732
|
-
}
|
|
733
|
-
`;T1(O)`
|
|
734
|
-
height: 100%;
|
|
735
|
-
overflow-y: auto;
|
|
736
|
-
`;var m1={exports:{}};(function(i,L){(function(x,d){var B="1.0.38",o="",$="?",A="function",k="undefined",v="object",h="string",m="major",e="model",s="name",t="type",a="vendor",n="version",S="architecture",_="console",p="mobile",c="tablet",I="smarttv",l="wearable",r="embedded",f=500,w="Amazon",y="Apple",j="ASUS",G="BlackBerry",V="Browser",P="Chrome",r1="Edge",N="Firefox",q="Google",x1="Huawei",n1="LG",l1="Microsoft",v1="Motorola",Y="Opera",e1="Samsung",y1="Sharp",t1="Sony",o1="Xiaomi",c1="Zebra",C1="Facebook",k1="Chromium OS",M1="Mac OS",U1=function(C,E){var b={};for(var Z in C)E[Z]&&E[Z].length%2===0?b[Z]=E[Z].concat(C[Z]):b[Z]=C[Z];return b},i1=function(C){for(var E={},b=0;b<C.length;b++)E[C[b].toUpperCase()]=C[b];return E},S1=function(C,E){return typeof C===h?K(E).indexOf(K(C))!==-1:!1},K=function(C){return C.toLowerCase()},H1=function(C){return typeof C===h?C.replace(/[^\d\.]/g,o).split(".")[0]:d},d1=function(C,E){if(typeof C===h)return C=C.replace(/^\s\s*/,o),typeof E===k?C:C.substring(0,f)},X=function(C,E){for(var b=0,Z,F,U,M,g,H;b<E.length&&!g;){var u1=E[b],D1=E[b+1];for(Z=F=0;Z<u1.length&&!g&&u1[Z];)if(g=u1[Z++].exec(C),g)for(U=0;U<D1.length;U++)H=g[++F],M=D1[U],typeof M===v&&M.length>0?M.length===2?typeof M[1]==A?this[M[0]]=M[1].call(this,H):this[M[0]]=M[1]:M.length===3?typeof M[1]===A&&!(M[1].exec&&M[1].test)?this[M[0]]=H?M[1].call(this,H,M[2]):d:this[M[0]]=H?H.replace(M[1],M[2]):d:M.length===4&&(this[M[0]]=H?M[3].call(this,H.replace(M[1],M[2])):d):this[M]=H||d;b+=2}},f1=function(C,E){for(var b in E)if(typeof E[b]===v&&E[b].length>0){for(var Z=0;Z<E[b].length;Z++)if(S1(E[b][Z],C))return b===$?d:b}else if(S1(E[b],C))return b===$?d:b;return C},F1={"1.0":"/8","1.2":"/1","1.3":"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"},E1={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2","8.1":"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},O1={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[n,[s,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[n,[s,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[s,n],[/opios[\/ ]+([\w\.]+)/i],[n,[s,Y+" Mini"]],[/\bop(?:rg)?x\/([\w\.]+)/i],[n,[s,Y+" GX"]],[/\bopr\/([\w\.]+)/i],[n,[s,Y]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[n,[s,"Baidu"]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i,/(avant|iemobile|slim)\s?(?:browser)?[\/ ]?([\w\.]*)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|qq|duckduckgo)\/([-\w\.]+)/i,/(heytap|ovi)browser\/([\d\.]+)/i,/(weibo)__([\d\.]+)/i],[s,n],[/\bddg\/([\w\.]+)/i],[n,[s,"DuckDuckGo"]],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[n,[s,"UC"+V]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[n,[s,"WeChat"]],[/konqueror\/([\w\.]+)/i],[n,[s,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[n,[s,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[n,[s,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[n,[s,"Smart Lenovo "+V]],[/(avast|avg)\/([\w\.]+)/i],[[s,/(.+)/,"$1 Secure "+V],n],[/\bfocus\/([\w\.]+)/i],[n,[s,N+" Focus"]],[/\bopt\/([\w\.]+)/i],[n,[s,Y+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[n,[s,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[n,[s,"Dolphin"]],[/coast\/([\w\.]+)/i],[n,[s,Y+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[n,[s,"MIUI "+V]],[/fxios\/([-\w\.]+)/i],[n,[s,N]],[/\bqihu|(qi?ho?o?|360)browser/i],[[s,"360 "+V]],[/(oculus|sailfish|huawei|vivo)browser\/([\w\.]+)/i],[[s,/(.+)/,"$1 "+V],n],[/samsungbrowser\/([\w\.]+)/i],[n,[s,e1+" Internet"]],[/(comodo_dragon)\/([\w\.]+)/i],[[s,/_/g," "],n],[/metasr[\/ ]?([\d\.]+)/i],[n,[s,"Sogou Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[s,"Sogou Mobile"],n],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345Explorer)[\/ ]?([\w\.]+)/i],[s,n],[/(lbbrowser)/i,/\[(linkedin)app\]/i],[s],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[s,C1],n],[/(Klarna)\/([\w\.]+)/i,/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(alipay)client\/([\w\.]+)/i,/(twitter)(?:and| f.+e\/([\w\.]+))/i,/(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i],[s,n],[/\bgsa\/([\w\.]+) .*safari\//i],[n,[s,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[n,[s,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[n,[s,P+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[s,P+" WebView"],n],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[n,[s,"Android "+V]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[s,n],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[n,[s,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[n,s],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[s,[n,f1,F1]],[/(webkit|khtml)\/([\w\.]+)/i],[s,n],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[s,"Netscape"],n],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[n,[s,N+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i,/panasonic;(viera)/i],[s,n],[/(cobalt)\/([\w\.]+)/i],[s,[n,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[S,"amd64"]],[/(ia32(?=;))/i],[[S,K]],[/((?:i[346]|x)86)[;\)]/i],[[S,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[S,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[S,"armhf"]],[/windows (ce|mobile); ppc;/i],[[S,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[S,/ower/,o,K]],[/(sun4\w)[;\)]/i],[[S,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[S,K]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[e,[a,e1],[t,c]],[/\b((?:s[cgp]h|gt|sm)-\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[e,[a,e1],[t,p]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[e,[a,y],[t,p]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[e,[a,y],[t,c]],[/(macintosh);/i],[e,[a,y]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[e,[a,y1],[t,p]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[e,[a,x1],[t,c]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[e,[a,x1],[t,p]],[/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i],[[e,/_/g," "],[a,o1],[t,p]],[/oid[^\)]+; (2\d{4}(283|rpbf)[cgl])( bui|\))/i,/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[e,/_/g," "],[a,o1],[t,c]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[e,[a,"OPPO"],[t,p]],[/\b(opd2\d{3}a?) bui/i],[e,[a,"OPPO"],[t,c]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[e,[a,"Vivo"],[t,p]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[e,[a,"Realme"],[t,p]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[e,[a,v1],[t,p]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[e,[a,v1],[t,c]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[e,[a,n1],[t,c]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[e,[a,n1],[t,p]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[e,[a,"Lenovo"],[t,c]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[e,/_/g," "],[a,"Nokia"],[t,p]],[/(pixel c)\b/i],[e,[a,q],[t,c]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[e,[a,q],[t,p]],[/droid.+ (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[e,[a,t1],[t,p]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[e,"Xperia Tablet"],[a,t1],[t,c]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[e,[a,"OnePlus"],[t,p]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[e,[a,w],[t,c]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[e,/(.+)/g,"Fire Phone $1"],[a,w],[t,p]],[/(playbook);[-\w\),; ]+(rim)/i],[e,a,[t,c]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[e,[a,G],[t,p]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[e,[a,j],[t,c]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[e,[a,j],[t,p]],[/(nexus 9)/i],[e,[a,"HTC"],[t,c]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[a,[e,/_/g," "],[t,p]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[e,[a,"Acer"],[t,c]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[e,[a,"Meizu"],[t,p]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[e,[a,"Ulefone"],[t,p]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron|infinix|tecno)[-_ ]?([-\w]*)/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[a,e,[t,p]],[/(kobo)\s(ereader|touch)/i,/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[a,e,[t,c]],[/(surface duo)/i],[e,[a,l1],[t,c]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[e,[a,"Fairphone"],[t,p]],[/(u304aa)/i],[e,[a,"AT&T"],[t,p]],[/\bsie-(\w*)/i],[e,[a,"Siemens"],[t,p]],[/\b(rct\w+) b/i],[e,[a,"RCA"],[t,c]],[/\b(venue[\d ]{2,7}) b/i],[e,[a,"Dell"],[t,c]],[/\b(q(?:mv|ta)\w+) b/i],[e,[a,"Verizon"],[t,c]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[e,[a,"Barnes & Noble"],[t,c]],[/\b(tm\d{3}\w+) b/i],[e,[a,"NuVision"],[t,c]],[/\b(k88) b/i],[e,[a,"ZTE"],[t,c]],[/\b(nx\d{3}j) b/i],[e,[a,"ZTE"],[t,p]],[/\b(gen\d{3}) b.+49h/i],[e,[a,"Swiss"],[t,p]],[/\b(zur\d{3}) b/i],[e,[a,"Swiss"],[t,c]],[/\b((zeki)?tb.*\b) b/i],[e,[a,"Zeki"],[t,c]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[a,"Dragon Touch"],e,[t,c]],[/\b(ns-?\w{0,9}) b/i],[e,[a,"Insignia"],[t,c]],[/\b((nxa|next)-?\w{0,9}) b/i],[e,[a,"NextBook"],[t,c]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[a,"Voice"],e,[t,p]],[/\b(lvtel\-)?(v1[12]) b/i],[[a,"LvTel"],e,[t,p]],[/\b(ph-1) /i],[e,[a,"Essential"],[t,p]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[e,[a,"Envizen"],[t,c]],[/\b(trio[-\w\. ]+) b/i],[e,[a,"MachSpeed"],[t,c]],[/\btu_(1491) b/i],[e,[a,"Rotor"],[t,c]],[/(shield[\w ]+) b/i],[e,[a,"Nvidia"],[t,c]],[/(sprint) (\w+)/i],[a,e,[t,p]],[/(kin\.[onetw]{3})/i],[[e,/\./g," "],[a,l1],[t,p]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[e,[a,c1],[t,c]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[e,[a,c1],[t,p]],[/smart-tv.+(samsung)/i],[a,[t,I]],[/hbbtv.+maple;(\d+)/i],[[e,/^/,"SmartTV"],[a,e1],[t,I]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[a,n1],[t,I]],[/(apple) ?tv/i],[a,[e,y+" TV"],[t,I]],[/crkey/i],[[e,P+"cast"],[a,q],[t,I]],[/droid.+aft(\w+)( bui|\))/i],[e,[a,w],[t,I]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[e,[a,y1],[t,I]],[/(bravia[\w ]+)( bui|\))/i],[e,[a,t1],[t,I]],[/(mitv-\w{5}) bui/i],[e,[a,o1],[t,I]],[/Hbbtv.*(technisat) (.*);/i],[a,e,[t,I]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[a,d1],[e,d1],[t,I]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[t,I]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[a,e,[t,_]],[/droid.+; (shield) bui/i],[e,[a,"Nvidia"],[t,_]],[/(playstation [345portablevi]+)/i],[e,[a,t1],[t,_]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[e,[a,l1],[t,_]],[/((pebble))app/i],[a,e,[t,l]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[e,[a,y],[t,l]],[/droid.+; (glass) \d/i],[e,[a,q],[t,l]],[/droid.+; (wt63?0{2,3})\)/i],[e,[a,c1],[t,l]],[/(quest( \d| pro)?)/i],[e,[a,C1],[t,l]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[a,[t,r]],[/(aeobc)\b/i],[e,[a,w],[t,r]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i],[e,[t,p]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[e,[t,c]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[t,c]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[t,p]],[/(android[-\w\. ]{0,9});.+buil/i],[e,[a,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[n,[s,r1+"HTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[n,[s,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[s,n],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[n,s]],os:[[/microsoft (windows) (vista|xp)/i],[s,n],[/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i],[s,[n,f1,E1]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[n,f1,E1],[s,"Windows"]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[n,/_/g,"."],[s,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[s,M1],[n,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[n,s],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[s,n],[/\(bb(10);/i],[n,[s,G]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[n,[s,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[n,[s,N+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[n,[s,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[n,[s,"watchOS"]],[/crkey\/([\d\.]+)/i],[n,[s,P+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[s,k1],n],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[s,n],[/(sunos) ?([\w\.\d]*)/i],[[s,"Solaris"],n],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[s,n]]},T=function(C,E){if(typeof C===v&&(E=C,C=d),!(this instanceof T))return new T(C,E).getResult();var b=typeof x!==k&&x.navigator?x.navigator:d,Z=C||(b&&b.userAgent?b.userAgent:o),F=b&&b.userAgentData?b.userAgentData:d,U=E?U1(O1,E):O1,M=b&&b.userAgent==Z;return this.getBrowser=function(){var g={};return g[s]=d,g[n]=d,X.call(g,Z,U.browser),g[m]=H1(g[n]),M&&b&&b.brave&&typeof b.brave.isBrave==A&&(g[s]="Brave"),g},this.getCPU=function(){var g={};return g[S]=d,X.call(g,Z,U.cpu),g},this.getDevice=function(){var g={};return g[a]=d,g[e]=d,g[t]=d,X.call(g,Z,U.device),M&&!g[t]&&F&&F.mobile&&(g[t]=p),M&&g[e]=="Macintosh"&&b&&typeof b.standalone!==k&&b.maxTouchPoints&&b.maxTouchPoints>2&&(g[e]="iPad",g[t]=c),g},this.getEngine=function(){var g={};return g[s]=d,g[n]=d,X.call(g,Z,U.engine),g},this.getOS=function(){var g={};return g[s]=d,g[n]=d,X.call(g,Z,U.os),M&&!g[s]&&F&&F.platform&&F.platform!="Unknown"&&(g[s]=F.platform.replace(/chrome os/i,k1).replace(/macos/i,M1)),g},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return Z},this.setUA=function(g){return Z=typeof g===h&&g.length>f?d1(g,f):g,this},this.setUA(Z),this};T.VERSION=B,T.BROWSER=i1([s,n,m]),T.CPU=i1([S]),T.DEVICE=i1([e,a,t,_,p,I,c,l,r]),T.ENGINE=T.OS=i1([s,n]),i.exports&&(L=i.exports=T),L.UAParser=T;var W=typeof x!==k&&(x.jQuery||x.Zepto);if(W&&!W.ua){var a1=new T;W.ua=a1.getResult(),W.ua.get=function(){return a1.getUA()},W.ua.set=function(C){a1.setUA(C);var E=a1.getResult();for(var b in E)W.ua[b]=E[b]}}})(typeof window=="object"?window:J)})(m1,m1.exports);var u2=m1.exports;const w2=t2(u2);function p2({src:i,open:L=!1,componentDid:x,loading:d=!0,storeUrl:B,onClose:o=()=>{},onComplete:$=()=>{},onLoad:A=()=>{}},k){const v=R.useRef(null),h=j1(m=>{var e,s,t;L&&(((e=m==null?void 0:m.data)==null?void 0:e.event)==="resourceDialog.close"&&o(),((s=m==null?void 0:m.data)==null?void 0:s.event)==="resourceDialog.complete"&&$(),((t=m==null?void 0:m.data)==null?void 0:t.event)==="resourceDialog.loaded"&&A())});return i2(()=>{window.addEventListener("message",h)}),a2(()=>{window.removeEventListener("message",h)}),R.useImperativeHandle(k,()=>({selectBlocklet:m=>{var e;(e=v.current)!=null&&e.contentWindow&&v.current.contentWindow.postMessage({event:"resourceDialog.select",data:m,componentDid:x,storeUrl:B},"*")}})),L?u.jsx("iframe",{ref:v,src:i,title:"Resource Dialog",style:{position:"fixed",top:0,left:d?"-100vw":0,width:"100vw",height:"100vh",zIndex:9999,backgroundColor:"transparent",border:"none"}}):null}R.forwardRef(p2);export{w2 as U,R1 as W,m2 as c,l2 as d};
|