@peculiar/certificates-viewer 4.7.1-alpha.4 → 4.8.0

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 (357) hide show
  1. package/components/actions.js +1 -2
  2. package/components/actions.js.map +1 -1
  3. package/components/arrow_top.js +2 -4
  4. package/components/arrow_top.js.map +1 -1
  5. package/components/attribute-certificate-viewer.js +7 -12
  6. package/components/attribute-certificate-viewer.js.map +1 -1
  7. package/components/button-menu.js +4 -2
  8. package/components/button-menu.js.map +1 -1
  9. package/components/button.js +5 -8
  10. package/components/button.js.map +1 -1
  11. package/components/certificate-chain-viewer.js +5 -3
  12. package/components/certificate-chain-viewer.js.map +1 -1
  13. package/components/certificate-viewer.js +4 -2
  14. package/components/certificate-viewer.js.map +1 -1
  15. package/components/circular-progress.js +4 -2
  16. package/components/circular-progress.js.map +1 -1
  17. package/components/crl-viewer.js +6 -7
  18. package/components/crl-viewer.js.map +1 -1
  19. package/components/cross.js +3 -6
  20. package/components/cross.js.map +1 -1
  21. package/components/csr-viewer.js +4 -2
  22. package/components/csr-viewer.js.map +1 -1
  23. package/components/download.js +93 -94
  24. package/components/download.js.map +1 -1
  25. package/components/highlight-words.js +4 -2
  26. package/components/highlight-words.js.map +1 -1
  27. package/components/index2.js +14 -49
  28. package/components/index2.js.map +1 -1
  29. package/components/issuer_name.js.map +1 -1
  30. package/components/miscellaneous.js +61 -153
  31. package/components/miscellaneous.js.map +1 -1
  32. package/components/peculiar-certificate-decoder.js +6 -4
  33. package/components/peculiar-certificate-decoder.js.map +1 -1
  34. package/components/peculiar-certificates-viewer.js +6 -16
  35. package/components/peculiar-certificates-viewer.js.map +1 -1
  36. package/components/pkcs10_certificate_request.js.map +1 -1
  37. package/components/row.js +6 -17
  38. package/components/row.js.map +1 -1
  39. package/components/ssh-certificate-viewer.js +5 -5
  40. package/components/ssh-certificate-viewer.js.map +1 -1
  41. package/components/subject_name.js.map +1 -1
  42. package/components/text-hider.js +4 -2
  43. package/components/text-hider.js.map +1 -1
  44. package/dist/cjs/{actions-ByC9jQU-.js → actions-mGiqn4uZ.js} +4 -5
  45. package/dist/cjs/{actions-ByC9jQU-.js.map → actions-mGiqn4uZ.js.map} +1 -1
  46. package/dist/cjs/{arrow_top-Cw9KN115.js → arrow_top-opfTrg-m.js} +5 -7
  47. package/dist/cjs/{arrow_top-Cw9KN115.js.map → arrow_top-opfTrg-m.js.map} +1 -1
  48. package/dist/cjs/{button-C8EWG_-r.js → button-B215SxsO.js} +8 -11
  49. package/dist/{esm-es5/button-Bbh7MwG6.js.map → cjs/button-B215SxsO.js.map} +1 -1
  50. package/dist/cjs/cross-DV79hJ_S.js +49 -0
  51. package/dist/cjs/{cross-3DqhA0G_.js.map → cross-DV79hJ_S.js.map} +1 -1
  52. package/dist/cjs/download-DAw3krU6.js +23 -0
  53. package/dist/cjs/{download-DQP0KR4o.js.map → download-DAw3krU6.js.map} +1 -1
  54. package/dist/cjs/{extension-DTtJlxk8.js → extension-BDpdRJkE.js} +3 -3
  55. package/dist/cjs/extension-BDpdRJkE.js.map +1 -0
  56. package/dist/cjs/{index-uHmGhObe.js → index-BDWR3dnW.js} +88 -47
  57. package/dist/cjs/index-BDWR3dnW.js.map +1 -0
  58. package/dist/cjs/index.cjs.js +9 -11
  59. package/dist/cjs/{link-Cgh8wnbs.js → link-BScgjwVZ.js} +5 -5
  60. package/dist/cjs/{link-Cgh8wnbs.js.map → link-BScgjwVZ.js.map} +1 -1
  61. package/dist/cjs/loader.cjs.js +2 -4
  62. package/dist/cjs/{miscellaneous-DCeacaAw.js → miscellaneous-Bomq8zQH.js} +75 -178
  63. package/dist/cjs/miscellaneous-Bomq8zQH.js.map +1 -0
  64. package/dist/cjs/peculiar-attribute-certificate-viewer.peculiar-certificate-chain-viewer.peculiar-crl-viewer.peculiar-csr-viewer.peculiar-ssh-certificate-viewer.entry.cjs.js.map +1 -1
  65. package/dist/cjs/peculiar-attribute-certificate-viewer_5.cjs.entry.js +30 -79
  66. package/dist/cjs/peculiar-button-menu_3.cjs.entry.js +3 -5
  67. package/dist/cjs/peculiar-certificate-decoder.cjs.entry.js +8 -10
  68. package/dist/cjs/peculiar-certificate-decoder.entry.cjs.js.map +1 -1
  69. package/dist/cjs/peculiar-certificate-viewer.cjs.entry.js +8 -10
  70. package/dist/cjs/peculiar-certificate-viewer.entry.cjs.js.map +1 -1
  71. package/dist/cjs/peculiar-certificates-viewer.cjs.entry.js +10 -24
  72. package/dist/cjs/peculiar-certificates-viewer.entry.cjs.js.map +1 -1
  73. package/dist/cjs/peculiar-text-hider.cjs.entry.js +3 -5
  74. package/dist/cjs/peculiar.cjs.js +3 -5
  75. package/dist/cjs/peculiar.cjs.js.map +1 -1
  76. package/dist/cjs/{pkcs10_certificate_request-DE-0eDXE.js → pkcs10_certificate_request-DZLiHGCV.js} +3 -3
  77. package/dist/cjs/{pkcs10_certificate_request-DE-0eDXE.js.map → pkcs10_certificate_request-DZLiHGCV.js.map} +1 -1
  78. package/dist/cjs/{ssh_certificate-D2q_p49O.js → ssh_certificate-Bh14rhzR.js} +93 -93
  79. package/dist/cjs/ssh_certificate-Bh14rhzR.js.map +1 -0
  80. package/dist/cjs/{x509_certificate-Cto1q-eu.js → x509_certificate-p8RMn7Hw.js} +4 -4
  81. package/dist/cjs/{x509_certificate-Cto1q-eu.js.map → x509_certificate-p8RMn7Hw.js.map} +1 -1
  82. package/dist/cjs/{x509_crl-CgixMZrh.js → x509_crl-tjmX6l3R.js} +5 -5
  83. package/dist/cjs/{x509_crl-CgixMZrh.js.map → x509_crl-tjmX6l3R.js.map} +1 -1
  84. package/dist/collection/collection-manifest.json +2 -2
  85. package/dist/collection/components/attribute-certificate-viewer/attribute-certificate-viewer.js +14 -14
  86. package/dist/collection/components/button-menu/button-menu.js +1 -2
  87. package/dist/collection/components/button-menu/button-menu.js.map +1 -1
  88. package/dist/collection/components/certificate-chain-viewer/certificate-chain-viewer.css +0 -447
  89. package/dist/collection/components/certificate-chain-viewer/certificate-chain-viewer.js +2 -3
  90. package/dist/collection/components/certificate-chain-viewer/certificate-chain-viewer.js.map +1 -1
  91. package/dist/collection/components/certificate-decoder/certificate-decoder.js +3 -4
  92. package/dist/collection/components/certificate-decoder/certificate-decoder.js.map +1 -1
  93. package/dist/collection/components/certificate-details-parts/extensions/certificate_transparency_extension.js +1 -1
  94. package/dist/collection/components/certificate-details-parts/extensions/certificate_transparency_extension.js.map +1 -1
  95. package/dist/collection/components/certificate-details-parts/extensions/qc_statements_extension.js +1 -1
  96. package/dist/collection/components/certificate-details-parts/extensions/qc_statements_extension.js.map +1 -1
  97. package/dist/collection/components/certificate-viewer/certificate-viewer.js +16 -16
  98. package/dist/collection/components/certificates-viewer/certificates-viewer.js +4 -5
  99. package/dist/collection/components/certificates-viewer/certificates-viewer.js.map +1 -1
  100. package/dist/collection/components/circular-progress/circular-progress.js +2 -2
  101. package/dist/collection/components/crl-viewer/crl-viewer.js +12 -12
  102. package/dist/collection/components/csr-viewer/csr-viewer.js +10 -10
  103. package/dist/collection/components/highlight-words/highlight-words.js +2 -2
  104. package/dist/collection/components/ssh-certificate-viewer/-components/miscellaneous.js +1 -1
  105. package/dist/collection/components/ssh-certificate-viewer/-components/miscellaneous.js.map +1 -1
  106. package/dist/collection/components/ssh-certificate-viewer/ssh-certificate-viewer.js +6 -6
  107. package/dist/collection/crypto/extensions/cabforganization_identifier.js.map +1 -1
  108. package/dist/collection/crypto/ssh_certificate.js +10 -5
  109. package/dist/collection/crypto/ssh_certificate.js.map +1 -1
  110. package/dist/collection/locales/en.json +0 -1
  111. package/dist/collection/utils/download.js +2 -2
  112. package/dist/collection/utils/download.js.map +1 -1
  113. package/dist/esm/{actions-BOY2Tl0T.js → actions-CabuIstu.js} +4 -5
  114. package/dist/esm/{actions-BOY2Tl0T.js.map → actions-CabuIstu.js.map} +1 -1
  115. package/dist/esm/{arrow_top-DL0RWe4n.js → arrow_top-CWdnzNJA.js} +5 -7
  116. package/dist/{esm-es5/arrow_top-DL0RWe4n.js.map → esm/arrow_top-CWdnzNJA.js.map} +1 -1
  117. package/dist/esm/{button-Bbh7MwG6.js → button-DoyFdU2L.js} +8 -11
  118. package/dist/esm/{button-Bbh7MwG6.js.map → button-DoyFdU2L.js.map} +1 -1
  119. package/dist/esm/cross-B4NPVkar.js +45 -0
  120. package/dist/{esm-es5/cross-G84H_-QL.js.map → esm/cross-B4NPVkar.js.map} +1 -1
  121. package/dist/esm/download-C7Viw-3R.js +21 -0
  122. package/dist/esm/{download-ykcxSgxU.js.map → download-C7Viw-3R.js.map} +1 -1
  123. package/dist/esm/{extension-DmlhftES.js → extension-xW03sQxn.js} +3 -3
  124. package/dist/esm/extension-xW03sQxn.js.map +1 -0
  125. package/dist/esm/{index-CwgZaF40.js → index-B0tLzdJT.js} +88 -47
  126. package/dist/esm/index-B0tLzdJT.js.map +1 -0
  127. package/dist/esm/index.js +9 -11
  128. package/dist/esm/{link-CGURvKy1.js → link-BDCg-T_l.js} +5 -5
  129. package/dist/esm/{link-CGURvKy1.js.map → link-BDCg-T_l.js.map} +1 -1
  130. package/dist/esm/loader.js +3 -5
  131. package/dist/esm/{miscellaneous-BTlqwN5_.js → miscellaneous-DxE6a1mr.js} +75 -178
  132. package/dist/esm/miscellaneous-DxE6a1mr.js.map +1 -0
  133. package/dist/esm/peculiar-attribute-certificate-viewer.peculiar-certificate-chain-viewer.peculiar-crl-viewer.peculiar-csr-viewer.peculiar-ssh-certificate-viewer.entry.js.map +1 -1
  134. package/dist/esm/peculiar-attribute-certificate-viewer_5.entry.js +30 -79
  135. package/dist/esm/peculiar-button-menu_3.entry.js +3 -5
  136. package/dist/esm/peculiar-certificate-decoder.entry.js +8 -10
  137. package/dist/esm/peculiar-certificate-decoder.entry.js.map +1 -1
  138. package/dist/esm/peculiar-certificate-viewer.entry.js +8 -10
  139. package/dist/esm/peculiar-certificate-viewer.entry.js.map +1 -1
  140. package/dist/esm/peculiar-certificates-viewer.entry.js +10 -24
  141. package/dist/esm/peculiar-certificates-viewer.entry.js.map +1 -1
  142. package/dist/esm/peculiar-text-hider.entry.js +3 -5
  143. package/dist/esm/peculiar.js +4 -6
  144. package/dist/esm/peculiar.js.map +1 -1
  145. package/dist/esm/{pkcs10_certificate_request-B5C1NYFc.js → pkcs10_certificate_request-Crr9FABo.js} +3 -3
  146. package/dist/{esm-es5/pkcs10_certificate_request-B5C1NYFc.js.map → esm/pkcs10_certificate_request-Crr9FABo.js.map} +1 -1
  147. package/dist/esm/{ssh_certificate-PCn0WXhQ.js → ssh_certificate-CmOVFH_Z.js} +93 -93
  148. package/dist/esm/ssh_certificate-CmOVFH_Z.js.map +1 -0
  149. package/dist/esm/{x509_certificate-BiAmXJ4S.js → x509_certificate-C2EVTspY.js} +4 -4
  150. package/dist/{esm-es5/x509_certificate-BiAmXJ4S.js.map → esm/x509_certificate-C2EVTspY.js.map} +1 -1
  151. package/dist/esm/{x509_crl-CCeoLLUZ.js → x509_crl-Bdnys_YT.js} +5 -5
  152. package/dist/{esm-es5/x509_crl-CCeoLLUZ.js.map → esm/x509_crl-Bdnys_YT.js.map} +1 -1
  153. package/dist/esm-es5/{actions-BOY2Tl0T.js → actions-CabuIstu.js} +3 -3
  154. package/dist/esm-es5/{actions-BOY2Tl0T.js.map → actions-CabuIstu.js.map} +1 -1
  155. package/dist/esm-es5/{arrow_top-DL0RWe4n.js → arrow_top-CWdnzNJA.js} +2 -2
  156. package/dist/{esm/arrow_top-DL0RWe4n.js.map → esm-es5/arrow_top-CWdnzNJA.js.map} +1 -1
  157. package/dist/esm-es5/{button-Bbh7MwG6.js → button-DoyFdU2L.js} +2 -2
  158. package/dist/{cjs/button-C8EWG_-r.js.map → esm-es5/button-DoyFdU2L.js.map} +1 -1
  159. package/dist/esm-es5/{cross-G84H_-QL.js → cross-B4NPVkar.js} +2 -2
  160. package/dist/{esm/cross-G84H_-QL.js.map → esm-es5/cross-B4NPVkar.js.map} +1 -1
  161. package/dist/esm-es5/{download-ykcxSgxU.js → download-C7Viw-3R.js} +2 -2
  162. package/dist/esm-es5/{download-ykcxSgxU.js.map → download-C7Viw-3R.js.map} +1 -1
  163. package/dist/esm-es5/{extension-DmlhftES.js → extension-xW03sQxn.js} +2 -2
  164. package/dist/esm-es5/extension-xW03sQxn.js.map +1 -0
  165. package/dist/esm-es5/index-B0tLzdJT.js +6 -0
  166. package/dist/esm-es5/index-B0tLzdJT.js.map +1 -0
  167. package/dist/esm-es5/index.js +1 -1
  168. package/dist/esm-es5/{link-CGURvKy1.js → link-BDCg-T_l.js} +3 -3
  169. package/dist/esm-es5/{link-CGURvKy1.js.map → link-BDCg-T_l.js.map} +1 -1
  170. package/dist/esm-es5/loader.js +2 -2
  171. package/dist/esm-es5/{miscellaneous-BTlqwN5_.js → miscellaneous-DxE6a1mr.js} +4 -4
  172. package/dist/esm-es5/miscellaneous-DxE6a1mr.js.map +1 -0
  173. package/dist/esm-es5/peculiar-attribute-certificate-viewer.peculiar-certificate-chain-viewer.peculiar-crl-viewer.peculiar-csr-viewer.peculiar-ssh-certificate-viewer.entry.js.map +1 -1
  174. package/dist/esm-es5/peculiar-attribute-certificate-viewer_5.entry.js +4 -4
  175. package/dist/esm-es5/peculiar-attribute-certificate-viewer_5.entry.js.map +1 -1
  176. package/dist/esm-es5/peculiar-button-menu_3.entry.js +1 -1
  177. package/dist/esm-es5/peculiar-button-menu_3.entry.js.map +1 -1
  178. package/dist/esm-es5/peculiar-certificate-decoder.entry.js +2 -2
  179. package/dist/esm-es5/peculiar-certificate-decoder.entry.js.map +1 -1
  180. package/dist/esm-es5/peculiar-certificate-viewer.entry.js +2 -2
  181. package/dist/esm-es5/peculiar-certificate-viewer.entry.js.map +1 -1
  182. package/dist/esm-es5/peculiar-certificates-viewer.entry.js +2 -2
  183. package/dist/esm-es5/peculiar-certificates-viewer.entry.js.map +1 -1
  184. package/dist/esm-es5/peculiar-text-hider.entry.js +1 -1
  185. package/dist/esm-es5/peculiar.js +2 -2
  186. package/dist/esm-es5/peculiar.js.map +1 -1
  187. package/dist/esm-es5/{pkcs10_certificate_request-B5C1NYFc.js → pkcs10_certificate_request-Crr9FABo.js} +3 -3
  188. package/dist/{esm/pkcs10_certificate_request-B5C1NYFc.js.map → esm-es5/pkcs10_certificate_request-Crr9FABo.js.map} +1 -1
  189. package/dist/esm-es5/{ssh_certificate-PCn0WXhQ.js → ssh_certificate-CmOVFH_Z.js} +7 -7
  190. package/dist/esm-es5/ssh_certificate-CmOVFH_Z.js.map +1 -0
  191. package/dist/esm-es5/{x509_certificate-BiAmXJ4S.js → x509_certificate-C2EVTspY.js} +4 -4
  192. package/dist/{esm/x509_certificate-BiAmXJ4S.js.map → esm-es5/x509_certificate-C2EVTspY.js.map} +1 -1
  193. package/dist/esm-es5/{x509_crl-CCeoLLUZ.js → x509_crl-Bdnys_YT.js} +4 -4
  194. package/dist/{esm/x509_crl-CCeoLLUZ.js.map → esm-es5/x509_crl-Bdnys_YT.js.map} +1 -1
  195. package/dist/peculiar/index.esm.js +1 -1
  196. package/dist/peculiar/locales/en.json +0 -1
  197. package/dist/peculiar/p--UIbyTPo.system.js.map +1 -0
  198. package/dist/peculiar/p-16bd5fac.system.entry.js +153 -0
  199. package/dist/peculiar/p-16bd5fac.system.entry.js.map +1 -0
  200. package/dist/peculiar/{p-71eab586.entry.js → p-26e1e392.entry.js} +3 -3
  201. package/dist/peculiar/p-26e1e392.entry.js.map +1 -0
  202. package/dist/peculiar/{p-7273601a.entry.js → p-2c5ec624.entry.js} +2 -2
  203. package/dist/peculiar/p-2c5ec624.entry.js.map +1 -0
  204. package/dist/peculiar/{p-27ae6a3a.entry.js → p-4111bd62.entry.js} +2 -2
  205. package/dist/peculiar/p-4111bd62.entry.js.map +1 -0
  206. package/dist/peculiar/{p-46c17c8d.system.entry.js → p-4b510453.system.entry.js} +3 -3
  207. package/dist/peculiar/p-4b510453.system.entry.js.map +1 -0
  208. package/dist/peculiar/{p-83bfd8e5.system.entry.js → p-4fc81fd0.system.entry.js} +3 -3
  209. package/dist/peculiar/p-4fc81fd0.system.entry.js.map +1 -0
  210. package/dist/peculiar/p-51832de2.entry.js +152 -0
  211. package/dist/peculiar/p-51832de2.entry.js.map +1 -0
  212. package/dist/peculiar/{p-B4PdAFCr.system.js → p-AHlPpL1z.system.js} +2 -2
  213. package/dist/peculiar/{p-B4PdAFCr.system.js.map → p-AHlPpL1z.system.js.map} +1 -1
  214. package/dist/peculiar/p-B0tLzdJT.js +6 -0
  215. package/dist/peculiar/p-B0tLzdJT.js.map +1 -0
  216. package/dist/peculiar/{p-h7XP7otl.js → p-B4vvBwd6.js} +2 -2
  217. package/dist/peculiar/{p-h7XP7otl.js.map → p-B4vvBwd6.js.map} +1 -1
  218. package/dist/peculiar/{p-Db41gPxb.js → p-B7cL9SBA.js} +4 -4
  219. package/dist/peculiar/{p-Db41gPxb.js.map → p-B7cL9SBA.js.map} +1 -1
  220. package/dist/peculiar/{p-DanjeXNk.js → p-BAAnYCav.js} +3 -3
  221. package/dist/peculiar/{p-DanjeXNk.js.map → p-BAAnYCav.js.map} +1 -1
  222. package/dist/peculiar/{p-CHnDlTqM.js → p-BLjDwIXV.js} +3 -3
  223. package/dist/peculiar/{p-CHnDlTqM.js.map → p-BLjDwIXV.js.map} +1 -1
  224. package/dist/peculiar/{p-CutTi-2B.js → p-BNRN5kAu.js} +2 -2
  225. package/dist/peculiar/{p-CutTi-2B.js.map → p-BNRN5kAu.js.map} +1 -1
  226. package/dist/peculiar/{p-Bi5mjeeg.system.js → p-BX5m4Pk2.system.js} +2 -2
  227. package/dist/peculiar/{p-Bi5mjeeg.system.js.map → p-BX5m4Pk2.system.js.map} +1 -1
  228. package/dist/peculiar/{p-N3w4Sc5c.system.js.map → p-BdGJr6Nw.system.js.map} +1 -1
  229. package/dist/peculiar/{p-DPbpwYQ8.system.js → p-Bfl7RVFY.system.js} +4 -4
  230. package/dist/peculiar/{p-DPbpwYQ8.system.js.map → p-Bfl7RVFY.system.js.map} +1 -1
  231. package/dist/peculiar/{p-DnOLjFJP.js → p-BjREwt05.js} +43 -43
  232. package/dist/peculiar/p-BjREwt05.js.map +1 -0
  233. package/dist/peculiar/{p-BGASC3UX.system.js → p-BjfN0sUP.system.js} +3 -3
  234. package/dist/peculiar/p-BjfN0sUP.system.js.map +1 -0
  235. package/dist/peculiar/{p-DMZr5ztF.js → p-BrjKJZAs.js} +2 -2
  236. package/dist/peculiar/{p-DMZr5ztF.js.map → p-BrjKJZAs.js.map} +1 -1
  237. package/dist/peculiar/{p-CstRxc9v.js → p-BxiR02Uf.js} +4 -4
  238. package/dist/peculiar/{p-CstRxc9v.js.map → p-BxiR02Uf.js.map} +1 -1
  239. package/dist/peculiar/{p-ZT6tVIen.js → p-C-zA8CWJ.js} +2 -2
  240. package/dist/peculiar/{p-ZT6tVIen.js.map → p-C-zA8CWJ.js.map} +1 -1
  241. package/dist/peculiar/{p-Bknpl7EO.system.js → p-C9U3cZjb.system.js} +3 -3
  242. package/dist/peculiar/{p-Bknpl7EO.system.js.map → p-C9U3cZjb.system.js.map} +1 -1
  243. package/dist/peculiar/{p-B5GO6_Ut.system.js → p-CCPSoWEH.system.js} +43 -43
  244. package/dist/peculiar/p-CCPSoWEH.system.js.map +1 -0
  245. package/dist/peculiar/{p-B2FH4Pv2.system.js → p-CGipIfjs.system.js} +4 -4
  246. package/dist/peculiar/{p-B2FH4Pv2.system.js.map → p-CGipIfjs.system.js.map} +1 -1
  247. package/dist/peculiar/{p-DMDALRLP.system.js → p-CLcRtCZ9.system.js} +7 -7
  248. package/dist/peculiar/p-CLcRtCZ9.system.js.map +1 -0
  249. package/dist/peculiar/{p-CdS84qJs.system.js → p-CNRpL2vk.system.js} +2 -2
  250. package/dist/peculiar/{p-CdS84qJs.system.js.map → p-CNRpL2vk.system.js.map} +1 -1
  251. package/dist/peculiar/{p-JyD6URnB.js → p-CVqAvraM.js} +2 -2
  252. package/dist/peculiar/{p-JyD6URnB.js.map → p-CVqAvraM.js.map} +1 -1
  253. package/dist/peculiar/{p-D8xU284r.system.js → p-CWwlqwKM.system.js} +2 -2
  254. package/dist/peculiar/{p-D8xU284r.system.js.map → p-CWwlqwKM.system.js.map} +1 -1
  255. package/dist/peculiar/p-CbJUBy06.system.js +5 -0
  256. package/dist/peculiar/p-CbJUBy06.system.js.map +1 -0
  257. package/dist/peculiar/p-CfHXB_pJ.system.js.map +1 -0
  258. package/dist/peculiar/p-Ckf8xErP.system.js +12 -0
  259. package/dist/peculiar/p-Ckf8xErP.system.js.map +1 -0
  260. package/dist/peculiar/{p-PCn0WXhQ.js → p-CmOVFH_Z.js} +6 -6
  261. package/dist/peculiar/p-CmOVFH_Z.js.map +1 -0
  262. package/dist/peculiar/{p-CbJQZ9Hh.system.js.map → p-Cp79UjaU.system.js.map} +1 -1
  263. package/dist/peculiar/p-D4MqnJ9p.system.js.map +1 -0
  264. package/dist/peculiar/p-D5BlV4_w.system.js +6 -0
  265. package/dist/peculiar/p-D5BlV4_w.system.js.map +1 -0
  266. package/dist/peculiar/{p-eziSY5IJ.system.js.map → p-DOSHmuRc.system.js.map} +1 -1
  267. package/dist/peculiar/p-DXA1451q.js +12 -0
  268. package/dist/peculiar/p-DXA1451q.js.map +1 -0
  269. package/dist/peculiar/{p-SjVQtfgD.system.js → p-DberG072.system.js} +5 -5
  270. package/dist/peculiar/{p-SjVQtfgD.system.js.map → p-DberG072.system.js.map} +1 -1
  271. package/dist/peculiar/{p-de857304.system.entry.js → p-ae88bf01.system.entry.js} +2 -2
  272. package/dist/peculiar/p-ae88bf01.system.entry.js.map +1 -0
  273. package/dist/peculiar/{p-24861cf6.system.entry.js → p-c4bbd44c.system.entry.js} +3 -3
  274. package/dist/peculiar/p-c4bbd44c.system.entry.js.map +1 -0
  275. package/dist/peculiar/{p-9d9f24bd.entry.js → p-d212830c.entry.js} +2 -2
  276. package/dist/peculiar/p-d212830c.entry.js.map +1 -0
  277. package/dist/peculiar/{p-98219569.entry.js → p-e40e47be.entry.js} +2 -2
  278. package/dist/peculiar/p-e40e47be.entry.js.map +1 -0
  279. package/dist/peculiar/{p-607d08e8.system.entry.js → p-ef52478f.system.entry.js} +2 -2
  280. package/dist/peculiar/p-ef52478f.system.entry.js.map +1 -0
  281. package/dist/peculiar/p-qOxEa6Ap.system.js.map +1 -0
  282. package/dist/peculiar/{p-NnCM1ETy.system.js → p-vusQjz44.system.js} +2 -2
  283. package/dist/peculiar/{p-NnCM1ETy.system.js.map → p-vusQjz44.system.js.map} +1 -1
  284. package/dist/peculiar/peculiar-attribute-certificate-viewer.peculiar-certificate-chain-viewer.peculiar-crl-viewer.peculiar-csr-viewer.peculiar-ssh-certificate-viewer.entry.esm.js.map +1 -1
  285. package/dist/peculiar/peculiar-certificate-decoder.entry.esm.js.map +1 -1
  286. package/dist/peculiar/peculiar-certificate-viewer.entry.esm.js.map +1 -1
  287. package/dist/peculiar/peculiar-certificates-viewer.entry.esm.js.map +1 -1
  288. package/dist/peculiar/peculiar.esm.js +1 -1
  289. package/dist/peculiar/peculiar.esm.js.map +1 -1
  290. package/dist/peculiar/peculiar.js +1 -1
  291. package/dist/types/crypto/ssh_certificate.d.ts +2 -2
  292. package/dist/types/interface.d.ts +86 -86
  293. package/dist/types/stencil-public-runtime.d.ts +49 -2
  294. package/dist/types/utils/download.d.ts +1 -1
  295. package/dist/types/utils/l10n.d.ts +0 -1
  296. package/hydrate/index.d.ts +2 -0
  297. package/hydrate/index.js +373 -502
  298. package/hydrate/index.mjs +373 -502
  299. package/package.json +4 -4
  300. package/dist/cjs/cross-3DqhA0G_.js +0 -52
  301. package/dist/cjs/download-DQP0KR4o.js +0 -24
  302. package/dist/cjs/extension-DTtJlxk8.js.map +0 -1
  303. package/dist/cjs/index-uHmGhObe.js.map +0 -1
  304. package/dist/cjs/miscellaneous-DCeacaAw.js.map +0 -1
  305. package/dist/cjs/peculiar-attribute-certificate-viewer_5.cjs.entry.js.map +0 -1
  306. package/dist/cjs/peculiar-button-menu_3.cjs.entry.js.map +0 -1
  307. package/dist/cjs/peculiar-certificate-decoder.cjs.entry.js.map +0 -1
  308. package/dist/cjs/peculiar-certificate-viewer.cjs.entry.js.map +0 -1
  309. package/dist/cjs/peculiar-certificates-viewer.cjs.entry.js.map +0 -1
  310. package/dist/cjs/peculiar-text-hider.cjs.entry.js.map +0 -1
  311. package/dist/cjs/ssh_certificate-D2q_p49O.js.map +0 -1
  312. package/dist/esm/cross-G84H_-QL.js +0 -48
  313. package/dist/esm/download-ykcxSgxU.js +0 -22
  314. package/dist/esm/extension-DmlhftES.js.map +0 -1
  315. package/dist/esm/index-CwgZaF40.js.map +0 -1
  316. package/dist/esm/miscellaneous-BTlqwN5_.js.map +0 -1
  317. package/dist/esm/peculiar-attribute-certificate-viewer_5.entry.js.map +0 -1
  318. package/dist/esm/peculiar-button-menu_3.entry.js.map +0 -1
  319. package/dist/esm/ssh_certificate-PCn0WXhQ.js.map +0 -1
  320. package/dist/esm-es5/extension-DmlhftES.js.map +0 -1
  321. package/dist/esm-es5/index-CwgZaF40.js +0 -6
  322. package/dist/esm-es5/index-CwgZaF40.js.map +0 -1
  323. package/dist/esm-es5/miscellaneous-BTlqwN5_.js.map +0 -1
  324. package/dist/esm-es5/ssh_certificate-PCn0WXhQ.js.map +0 -1
  325. package/dist/peculiar/p-24861cf6.system.entry.js.map +0 -1
  326. package/dist/peculiar/p-27ae6a3a.entry.js.map +0 -1
  327. package/dist/peculiar/p-46c17c8d.system.entry.js.map +0 -1
  328. package/dist/peculiar/p-607d08e8.system.entry.js.map +0 -1
  329. package/dist/peculiar/p-71cb31c6.entry.js +0 -152
  330. package/dist/peculiar/p-71cb31c6.entry.js.map +0 -1
  331. package/dist/peculiar/p-71eab586.entry.js.map +0 -1
  332. package/dist/peculiar/p-7273601a.entry.js.map +0 -1
  333. package/dist/peculiar/p-83bfd8e5.system.entry.js.map +0 -1
  334. package/dist/peculiar/p-98219569.entry.js.map +0 -1
  335. package/dist/peculiar/p-9MJeDspO.system.js.map +0 -1
  336. package/dist/peculiar/p-9d9f24bd.entry.js.map +0 -1
  337. package/dist/peculiar/p-AjXipXSl.system.js +0 -12
  338. package/dist/peculiar/p-AjXipXSl.system.js.map +0 -1
  339. package/dist/peculiar/p-B5GO6_Ut.system.js.map +0 -1
  340. package/dist/peculiar/p-B82-c-xr.system.js.map +0 -1
  341. package/dist/peculiar/p-BGASC3UX.system.js.map +0 -1
  342. package/dist/peculiar/p-BHpSDBz_.system.js.map +0 -1
  343. package/dist/peculiar/p-BwlcJAh0.js +0 -12
  344. package/dist/peculiar/p-BwlcJAh0.js.map +0 -1
  345. package/dist/peculiar/p-CSz5liuX.system.js.map +0 -1
  346. package/dist/peculiar/p-CwgZaF40.js +0 -6
  347. package/dist/peculiar/p-CwgZaF40.js.map +0 -1
  348. package/dist/peculiar/p-DKl0YViA.system.js +0 -6
  349. package/dist/peculiar/p-DKl0YViA.system.js.map +0 -1
  350. package/dist/peculiar/p-DMDALRLP.system.js.map +0 -1
  351. package/dist/peculiar/p-DnOLjFJP.js.map +0 -1
  352. package/dist/peculiar/p-PCn0WXhQ.js.map +0 -1
  353. package/dist/peculiar/p-cc01a2da.system.entry.js +0 -153
  354. package/dist/peculiar/p-cc01a2da.system.entry.js.map +0 -1
  355. package/dist/peculiar/p-dOkqMp-O.system.js +0 -5
  356. package/dist/peculiar/p-dOkqMp-O.system.js.map +0 -1
  357. package/dist/peculiar/p-de857304.system.entry.js.map +0 -1
package/hydrate/index.js CHANGED
@@ -130,10 +130,10 @@ function hydrateFactory($stencilWindow, $stencilHydrateOpts, $stencilHydrateResu
130
130
 
131
131
 
132
132
  const NAMESPACE = 'peculiar';
133
- const BUILD = /* peculiar */ { hydratedSelectorName: "hydrated", slotRelocation: true, updatable: true};
133
+ const BUILD = /* peculiar */ { hydratedSelectorName: "hydrated", slotRelocation: true, state: true, updatable: true};
134
134
 
135
135
  /*
136
- Stencil Hydrate Platform v4.36.1 | MIT Licensed | https://stenciljs.com
136
+ Stencil Hydrate Platform v4.38.3 | MIT Licensed | https://stenciljs.com
137
137
  */
138
138
  var __defProp = Object.defineProperty;
139
139
  var __export = (target, all) => {
@@ -169,6 +169,40 @@ var TYPE_CONSTANT = "type";
169
169
  var VALUE_CONSTANT = "value";
170
170
  var SERIALIZED_PREFIX = "serialized:";
171
171
 
172
+ // src/utils/es2022-rewire-class-members.ts
173
+ var reWireGetterSetter = (instance, hostRef) => {
174
+ var _a;
175
+ const cmpMeta = hostRef.$cmpMeta$;
176
+ const members = Object.entries((_a = cmpMeta.$members$) != null ? _a : {});
177
+ members.map(([memberName, [memberFlags]]) => {
178
+ if ((memberFlags & 31 /* Prop */ || memberFlags & 32 /* State */)) {
179
+ const ogValue = instance[memberName];
180
+ const ogDescriptor = getPropertyDescriptor(Object.getPrototypeOf(instance), memberName) || Object.getOwnPropertyDescriptor(instance, memberName);
181
+ if (ogDescriptor) {
182
+ Object.defineProperty(instance, memberName, {
183
+ get() {
184
+ return ogDescriptor.get.call(this);
185
+ },
186
+ set(newValue) {
187
+ ogDescriptor.set.call(this, newValue);
188
+ },
189
+ configurable: true,
190
+ enumerable: true
191
+ });
192
+ }
193
+ instance[memberName] = hostRef.$instanceValues$.has(memberName) ? hostRef.$instanceValues$.get(memberName) : ogValue;
194
+ }
195
+ });
196
+ };
197
+ function getPropertyDescriptor(obj, memberName) {
198
+ while (obj) {
199
+ const desc = Object.getOwnPropertyDescriptor(obj, memberName);
200
+ if (desc == null ? void 0 : desc.get) return desc;
201
+ obj = Object.getPrototypeOf(obj);
202
+ }
203
+ return void 0;
204
+ }
205
+
172
206
  // src/utils/helpers.ts
173
207
  var isDef = (v) => v != null && v !== void 0;
174
208
  var isComplexType = (o) => {
@@ -726,7 +760,7 @@ var convertToPrivate = (node) => {
726
760
 
727
761
  // src/runtime/client-hydrate.ts
728
762
  var initializeClientHydrate = (hostElm, tagName, hostId, hostRef) => {
729
- var _a, _b, _c;
763
+ var _a, _b;
730
764
  const endHydrate = createTime("hydrateClient", tagName);
731
765
  const shadowRoot = hostElm.shadowRoot;
732
766
  const childRenderNodes = [];
@@ -735,21 +769,6 @@ var initializeClientHydrate = (hostElm, tagName, hostId, hostRef) => {
735
769
  const shadowRootNodes = shadowRoot ? [] : null;
736
770
  const vnode = newVNode(tagName, null);
737
771
  vnode.$elm$ = hostElm;
738
- const members = Object.entries(((_a = hostRef.$cmpMeta$) == null ? void 0 : _a.$members$) || {});
739
- members.forEach(([memberName, [memberFlags, metaAttributeName]]) => {
740
- var _b2;
741
- if (!(memberFlags & 31 /* Prop */)) {
742
- return;
743
- }
744
- const attributeName = metaAttributeName || memberName;
745
- const attrVal = hostElm.getAttribute(attributeName);
746
- if (attrVal !== null) {
747
- const attrPropVal = parsePropertyValue(
748
- attrVal,
749
- memberFlags);
750
- (_b2 = hostRef == null ? void 0 : hostRef.$instanceValues$) == null ? void 0 : _b2.set(memberName, attrPropVal);
751
- }
752
- });
753
772
  let scopeId2;
754
773
  {
755
774
  const cmpMeta = hostRef.$cmpMeta$;
@@ -788,7 +807,7 @@ var initializeClientHydrate = (hostElm, tagName, hostId, hostRef) => {
788
807
  if (childRenderNode.$tag$ === "slot") {
789
808
  node["s-cr"] = hostElm["s-cr"];
790
809
  }
791
- } else if (((_b = childRenderNode.$tag$) == null ? void 0 : _b.toString().includes("-")) && childRenderNode.$tag$ !== "slot-fb" && !childRenderNode.$elm$.shadowRoot) {
810
+ } else if (((_a = childRenderNode.$tag$) == null ? void 0 : _a.toString().includes("-")) && childRenderNode.$tag$ !== "slot-fb" && !childRenderNode.$elm$.shadowRoot) {
792
811
  const cmpMeta = getHostRef(childRenderNode.$elm$);
793
812
  if (cmpMeta) {
794
813
  const scopeId3 = getScopeId(
@@ -857,7 +876,7 @@ var initializeClientHydrate = (hostElm, tagName, hostId, hostRef) => {
857
876
  }
858
877
  }
859
878
  addSlotRelocateNode(slottedItem.node, slottedItem.slot, false, slottedItem.node["s-oo"]);
860
- if (((_c = slottedItem.node.parentElement) == null ? void 0 : _c.shadowRoot) && slottedItem.node["getAttribute"] && slottedItem.node.getAttribute("slot")) {
879
+ if (((_b = slottedItem.node.parentElement) == null ? void 0 : _b.shadowRoot) && slottedItem.node["getAttribute"] && slottedItem.node.getAttribute("slot")) {
861
880
  slottedItem.node.removeAttribute("slot");
862
881
  }
863
882
  }
@@ -1561,13 +1580,6 @@ var scopeCss = (cssText, scopeId2, commentOriginalSelector) => {
1561
1580
  return cssText;
1562
1581
  };
1563
1582
  var parsePropertyValue = (propValue, propType, isFormAssociated) => {
1564
- if (typeof propValue === "string" && (propValue.startsWith("{") && propValue.endsWith("}") || propValue.startsWith("[") && propValue.endsWith("]"))) {
1565
- try {
1566
- propValue = JSON.parse(propValue);
1567
- return propValue;
1568
- } catch (e) {
1569
- }
1570
- }
1571
1583
  if (typeof propValue === "string" && propValue.startsWith(SERIALIZED_PREFIX)) {
1572
1584
  propValue = deserializeProperty(propValue);
1573
1585
  return propValue;
@@ -2167,9 +2179,11 @@ var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
2167
2179
  hostTagName = hostElm.tagName;
2168
2180
  if (cmpMeta.$attrsToReflect$) {
2169
2181
  rootVnode.$attrs$ = rootVnode.$attrs$ || {};
2170
- cmpMeta.$attrsToReflect$.map(
2171
- ([propName, attribute]) => rootVnode.$attrs$[attribute] = hostElm[propName]
2172
- );
2182
+ cmpMeta.$attrsToReflect$.forEach(([propName, attribute]) => {
2183
+ {
2184
+ rootVnode.$attrs$[attribute] = hostElm[propName];
2185
+ }
2186
+ });
2173
2187
  }
2174
2188
  if (isInitialLoad && rootVnode.$attrs$) {
2175
2189
  for (const key of Object.keys(rootVnode.$attrs$)) {
@@ -2296,6 +2310,11 @@ var dispatchHooks = (hostRef, isInitialLoad) => {
2296
2310
  }
2297
2311
  let maybePromise;
2298
2312
  if (isInitialLoad) {
2313
+ {
2314
+ if (hostRef.$fetchedCbList$.length) {
2315
+ hostRef.$fetchedCbList$.forEach((cb) => cb(elm));
2316
+ }
2317
+ }
2299
2318
  maybePromise = safeCall(instance, "componentWillLoad", void 0, elm);
2300
2319
  } else {
2301
2320
  maybePromise = safeCall(instance, "componentWillUpdate", void 0, elm);
@@ -2500,9 +2519,17 @@ var setValue = (ref, propName, newVal, cmpMeta) => {
2500
2519
  var proxyComponent = (Cstr, cmpMeta, flags) => {
2501
2520
  var _a;
2502
2521
  const prototype = Cstr.prototype;
2503
- if (cmpMeta.$members$ || (cmpMeta.$watchers$ || Cstr.watchers)) {
2504
- if (Cstr.watchers && !cmpMeta.$watchers$) {
2505
- cmpMeta.$watchers$ = Cstr.watchers;
2522
+ {
2523
+ {
2524
+ if (Cstr.watchers && !cmpMeta.$watchers$) {
2525
+ cmpMeta.$watchers$ = Cstr.watchers;
2526
+ }
2527
+ if (Cstr.deserializers && !cmpMeta.$deserializers$) {
2528
+ cmpMeta.$deserializers$ = Cstr.deserializers;
2529
+ }
2530
+ if (Cstr.serializers && !cmpMeta.$serializers$) {
2531
+ cmpMeta.$serializers$ = Cstr.serializers;
2532
+ }
2506
2533
  }
2507
2534
  const members = Object.entries((_a = cmpMeta.$members$) != null ? _a : {});
2508
2535
  members.map(([memberName, [memberFlags]]) => {
@@ -2537,8 +2564,6 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
2537
2564
  const currentValue = memberFlags & 32 /* State */ ? this[memberName] : ref.$hostElement$[memberName];
2538
2565
  if (typeof currentValue === "undefined" && ref.$instanceValues$.get(memberName)) {
2539
2566
  newValue = ref.$instanceValues$.get(memberName);
2540
- } else if (!ref.$instanceValues$.get(memberName) && currentValue) {
2541
- ref.$instanceValues$.set(memberName, currentValue);
2542
2567
  }
2543
2568
  origSetter.apply(this, [
2544
2569
  parsePropertyValue(
@@ -2584,6 +2609,8 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
2584
2609
  if (!Cstr.isProxied) {
2585
2610
  {
2586
2611
  cmpMeta.$watchers$ = Cstr.watchers;
2612
+ cmpMeta.$serializers$ = Cstr.serializers;
2613
+ cmpMeta.$deserializers$ = Cstr.deserializers;
2587
2614
  }
2588
2615
  proxyComponent(Cstr, cmpMeta);
2589
2616
  Cstr.isProxied = true;
@@ -2873,6 +2900,9 @@ var hAsync = (nodeName, vnodeData, ...children) => {
2873
2900
  // src/hydrate/platform/proxy-host-element.ts
2874
2901
  function proxyHostElement(elm, cstr) {
2875
2902
  const cmpMeta = cstr.cmpMeta;
2903
+ cmpMeta.$watchers$ = cmpMeta.$watchers$ || cstr.watchers;
2904
+ cmpMeta.$deserializers$ = cmpMeta.$deserializers$ || cstr.deserializers;
2905
+ cmpMeta.$serializers$ = cmpMeta.$serializers$ || cstr.serializers;
2876
2906
  if (typeof elm.componentOnReady !== "function") {
2877
2907
  elm.componentOnReady = componentOnReady;
2878
2908
  }
@@ -2886,7 +2916,7 @@ function proxyHostElement(elm, cstr) {
2886
2916
  const hostRef = getHostRef(elm);
2887
2917
  const members = Object.entries(cmpMeta.$members$);
2888
2918
  members.forEach(([memberName, [memberFlags, metaAttributeName]]) => {
2889
- var _a;
2919
+ var _a, _b;
2890
2920
  if (memberFlags & 31 /* Prop */) {
2891
2921
  const attributeName = metaAttributeName || memberName;
2892
2922
  const attrValue = elm.getAttribute(attributeName);
@@ -2894,7 +2924,13 @@ function proxyHostElement(elm, cstr) {
2894
2924
  let attrPropVal;
2895
2925
  const { get: origGetter, set: origSetter } = Object.getOwnPropertyDescriptor(cstr.prototype, memberName) || {};
2896
2926
  if (attrValue != null) {
2897
- attrPropVal = parsePropertyValue(attrValue, memberFlags);
2927
+ if ((_a = cmpMeta.$deserializers$) == null ? void 0 : _a[memberName]) {
2928
+ for (const methodName of cmpMeta.$deserializers$[memberName]) {
2929
+ attrPropVal = cstr.prototype[methodName](attrValue, memberName);
2930
+ }
2931
+ } else {
2932
+ attrPropVal = parsePropertyValue(attrValue, memberFlags);
2933
+ }
2898
2934
  }
2899
2935
  if (propValue !== void 0) {
2900
2936
  attrPropVal = propValue;
@@ -2905,7 +2941,7 @@ function proxyHostElement(elm, cstr) {
2905
2941
  origSetter.apply(elm, [attrPropVal]);
2906
2942
  attrPropVal = origGetter ? origGetter.apply(elm) : attrPropVal;
2907
2943
  }
2908
- (_a = hostRef == null ? void 0 : hostRef.$instanceValues$) == null ? void 0 : _a.set(memberName, attrPropVal);
2944
+ (_b = hostRef == null ? void 0 : hostRef.$instanceValues$) == null ? void 0 : _b.set(memberName, attrPropVal);
2909
2945
  }
2910
2946
  const getterSetterDescriptor = {
2911
2947
  get: function() {
@@ -2919,21 +2955,18 @@ function proxyHostElement(elm, cstr) {
2919
2955
  };
2920
2956
  Object.defineProperty(elm, memberName, getterSetterDescriptor);
2921
2957
  Object.defineProperty(elm, metaAttributeName, getterSetterDescriptor);
2922
- if (!cstr.prototype.__stencilAugmented) {
2923
- Object.defineProperty(cstr.prototype, memberName, {
2924
- get: function() {
2925
- var _a2;
2926
- const ref = getHostRef(this);
2927
- const attrPropVal2 = (_a2 = ref == null ? void 0 : ref.$instanceValues$) == null ? void 0 : _a2.get(memberName);
2928
- if (origGetter && attrPropVal2 === void 0 && !getValue(this, memberName)) {
2929
- setValue(this, memberName, origGetter.apply(this), cmpMeta);
2930
- }
2931
- return attrPropVal2 !== void 0 ? attrPropVal2 : origGetter ? origGetter.apply(this) : getValue(this, memberName);
2932
- },
2933
- configurable: true,
2934
- enumerable: true
2935
- });
2936
- }
2958
+ hostRef.$fetchedCbList$.push(() => {
2959
+ var _a2;
2960
+ if (!((_a2 = hostRef == null ? void 0 : hostRef.$instanceValues$) == null ? void 0 : _a2.has(memberName))) {
2961
+ setValue(
2962
+ elm,
2963
+ memberName,
2964
+ attrPropVal !== void 0 ? attrPropVal : hostRef.$lazyInstance$[memberName],
2965
+ cmpMeta
2966
+ );
2967
+ }
2968
+ Object.defineProperty(hostRef.$lazyInstance$, memberName, getterSetterDescriptor);
2969
+ });
2937
2970
  } else if (memberFlags & 64 /* Method */) {
2938
2971
  Object.defineProperty(elm, memberName, {
2939
2972
  value(...args) {
@@ -2949,7 +2982,6 @@ function proxyHostElement(elm, cstr) {
2949
2982
  });
2950
2983
  }
2951
2984
  });
2952
- cstr.prototype.__stencilAugmented = true;
2953
2985
  }
2954
2986
  }
2955
2987
  function componentOnReady() {
@@ -3298,8 +3330,12 @@ var getHostRef = (ref) => {
3298
3330
  return void 0;
3299
3331
  };
3300
3332
  var registerInstance = (lazyInstance, hostRef) => {
3333
+ if (!hostRef) return void 0;
3301
3334
  lazyInstance.__stencil__getHostRef = () => hostRef;
3302
3335
  hostRef.$lazyInstance$ = lazyInstance;
3336
+ if (hostRef.$cmpMeta$.$flags$ & 512 /* hasModernPropertyDecls */ && (BUILD.state)) {
3337
+ reWireGetterSetter(lazyInstance, hostRef);
3338
+ }
3303
3339
  return hostRef;
3304
3340
  };
3305
3341
  var registerHost = (elm, cmpMeta) => {
@@ -3308,8 +3344,10 @@ var registerHost = (elm, cmpMeta) => {
3308
3344
  $cmpMeta$: cmpMeta,
3309
3345
  $hostElement$: elm,
3310
3346
  $instanceValues$: /* @__PURE__ */ new Map(),
3347
+ $serializerValues$: /* @__PURE__ */ new Map(),
3311
3348
  $renderCount$: 0
3312
3349
  };
3350
+ hostRef.$fetchedCbList$ = [];
3313
3351
  hostRef.$onInstancePromise$ = new Promise((r) => hostRef.$onInstanceResolve$ = r);
3314
3352
  hostRef.$onReadyPromise$ = new Promise((r) => hostRef.$onReadyResolve$ = r);
3315
3353
  elm["s-p"] = [];
@@ -7488,6 +7526,7 @@ const AsnProp = (options) => (target, propertyKey) => {
7488
7526
  }
7489
7527
  copyOptions.converter = defaultConverter$1;
7490
7528
  }
7529
+ copyOptions.raw = options.raw;
7491
7530
  schema.items[propertyKey] = copyOptions;
7492
7531
  };
7493
7532
 
@@ -7524,15 +7563,11 @@ class AsnParser {
7524
7563
  targetSchema = choiceResult.targetSchema;
7525
7564
  }
7526
7565
  const sequenceResult = this.handleSequenceTypes(asn1Schema, schema, target, targetSchema);
7527
- if (sequenceResult && "isManualMapping" in sequenceResult) {
7528
- return sequenceResult.result;
7529
- }
7530
- const asn1ComparedSchema = sequenceResult;
7531
7566
  const res = new target();
7532
7567
  if (isTypeOfArray(target)) {
7533
7568
  return this.handleArrayTypes(asn1Schema, schema, target);
7534
7569
  }
7535
- this.processSchemaItems(schema, asn1ComparedSchema, res);
7570
+ this.processSchemaItems(schema, sequenceResult, res);
7536
7571
  return res;
7537
7572
  }
7538
7573
  catch (error) {
@@ -7586,65 +7621,20 @@ class AsnParser {
7586
7621
  }
7587
7622
  static handleSequenceTypes(asn1Schema, schema, target, targetSchema) {
7588
7623
  if (schema.type === AsnTypeTypes.Sequence) {
7589
- const optionalChoiceFields = Object.keys(schema.items).filter((key) => {
7590
- const item = schema.items[key];
7591
- return (item.optional &&
7592
- typeof item.type === "function" &&
7593
- schemaStorage.has(item.type) &&
7594
- schemaStorage.get(item.type).type === AsnTypeTypes.Choice);
7595
- });
7596
- if (optionalChoiceFields.length > 0 &&
7597
- "value" in asn1Schema.valueBlock &&
7598
- Array.isArray(asn1Schema.valueBlock.value) &&
7599
- target.name === "CertReqMsg") {
7600
- return this.handleManualMapping(asn1Schema, schema, target);
7601
- }
7602
7624
  const asn1ComparedSchema = compareSchema({}, asn1Schema, targetSchema);
7603
7625
  if (!asn1ComparedSchema.verified) {
7604
- throw new AsnSchemaValidationError(`Data does not match to ${target.name} ASN1 schema. ${asn1ComparedSchema.result.error}`);
7626
+ throw new AsnSchemaValidationError(`Data does not match to ${target.name} ASN1 schema.${asn1ComparedSchema.result.error ? ` ${asn1ComparedSchema.result.error}` : ""}`);
7605
7627
  }
7606
7628
  return asn1ComparedSchema;
7607
7629
  }
7608
7630
  else {
7609
7631
  const asn1ComparedSchema = compareSchema({}, asn1Schema, targetSchema);
7610
7632
  if (!asn1ComparedSchema.verified) {
7611
- throw new AsnSchemaValidationError(`Data does not match to ${target.name} ASN1 schema. ${asn1ComparedSchema.result.error}`);
7633
+ throw new AsnSchemaValidationError(`Data does not match to ${target.name} ASN1 schema.${asn1ComparedSchema.result.error ? ` ${asn1ComparedSchema.result.error}` : ""}`);
7612
7634
  }
7613
7635
  return asn1ComparedSchema;
7614
7636
  }
7615
7637
  }
7616
- static handleManualMapping(asn1Schema, schema, target) {
7617
- const res = new target();
7618
- const asn1Elements = asn1Schema.valueBlock.value;
7619
- const schemaKeys = Object.keys(schema.items);
7620
- let asn1Index = 0;
7621
- for (let i = 0; i < schemaKeys.length; i++) {
7622
- const key = schemaKeys[i];
7623
- const schemaItem = schema.items[key];
7624
- if (asn1Index >= asn1Elements.length)
7625
- break;
7626
- if (schemaItem.repeated) {
7627
- res[key] = this.processRepeatedField(asn1Elements, asn1Index, schemaItem);
7628
- break;
7629
- }
7630
- else if (typeof schemaItem.type === "number") {
7631
- res[key] = this.processPrimitiveField(asn1Elements[asn1Index], schemaItem);
7632
- asn1Index++;
7633
- }
7634
- else if (this.isOptionalChoiceField(schemaItem)) {
7635
- const result = this.processOptionalChoiceField(asn1Elements[asn1Index], schemaItem);
7636
- if (result.processed) {
7637
- res[key] = result.value;
7638
- asn1Index++;
7639
- }
7640
- }
7641
- else {
7642
- res[key] = this.fromASN(asn1Elements[asn1Index], schemaItem.type);
7643
- asn1Index++;
7644
- }
7645
- }
7646
- return { result: res, verified: true, isManualMapping: true };
7647
- }
7648
7638
  static processRepeatedField(asn1Elements, asn1Index, schemaItem) {
7649
7639
  let elementsToProcess = asn1Elements.slice(asn1Index);
7650
7640
  if (elementsToProcess.length === 1 && elementsToProcess[0].constructor.name === "Sequence") {
@@ -7732,11 +7722,22 @@ class AsnParser {
7732
7722
  }
7733
7723
  const schemaItem = schema.items[key];
7734
7724
  const schemaItemType = schemaItem.type;
7725
+ let parsedValue;
7735
7726
  if (typeof schemaItemType === "number" || isConvertible(schemaItemType)) {
7736
- res[key] = this.processPrimitiveSchemaItem(asn1SchemaValue, schemaItem, schemaItemType);
7727
+ parsedValue = this.processPrimitiveSchemaItem(asn1SchemaValue, schemaItem, schemaItemType);
7728
+ }
7729
+ else {
7730
+ parsedValue = this.processComplexSchemaItem(asn1SchemaValue, schemaItem, schemaItemType);
7731
+ }
7732
+ if (parsedValue &&
7733
+ typeof parsedValue === "object" &&
7734
+ "value" in parsedValue &&
7735
+ "raw" in parsedValue) {
7736
+ res[key] = parsedValue.value;
7737
+ res[`${key}Raw`] = parsedValue.raw;
7737
7738
  }
7738
7739
  else {
7739
- res[key] = this.processComplexSchemaItem(asn1SchemaValue, schemaItem, schemaItemType);
7740
+ res[key] = parsedValue;
7740
7741
  }
7741
7742
  }
7742
7743
  }
@@ -7817,7 +7818,14 @@ class AsnParser {
7817
7818
  }
7818
7819
  }
7819
7820
  else {
7820
- return this.fromASN(valueToProcess, schemaItemType);
7821
+ const parsedValue = this.fromASN(valueToProcess, schemaItemType);
7822
+ if (schemaItem.raw) {
7823
+ return {
7824
+ value: parsedValue,
7825
+ raw: asn1SchemaValue.valueBeforeDecodeView,
7826
+ };
7827
+ }
7828
+ return parsedValue;
7821
7829
  }
7822
7830
  }
7823
7831
  }
@@ -9285,7 +9293,7 @@ class Certificate {
9285
9293
  }
9286
9294
  }
9287
9295
  __decorate$1([
9288
- AsnProp({ type: TBSCertificate })
9296
+ AsnProp({ type: TBSCertificate, raw: true })
9289
9297
  ], Certificate.prototype, "tbsCertificate", void 0);
9290
9298
  __decorate$1([
9291
9299
  AsnProp({ type: AlgorithmIdentifier })
@@ -9349,7 +9357,7 @@ class CertificateList {
9349
9357
  }
9350
9358
  }
9351
9359
  __decorate$1([
9352
- AsnProp({ type: TBSCertList })
9360
+ AsnProp({ type: TBSCertList, raw: true })
9353
9361
  ], CertificateList.prototype, "tbsCertList", void 0);
9354
9362
  __decorate$1([
9355
9363
  AsnProp({ type: AlgorithmIdentifier })
@@ -10004,7 +10012,6 @@ var en = {
10004
10012
  download: download,
10005
10013
  "download.pem": "Download PEM",
10006
10014
  "download.der": "Download DER",
10007
- "download.ssh": "Download SSH",
10008
10015
  serialNumber: serialNumber,
10009
10016
  version: version,
10010
10017
  validity: validity,
@@ -10177,8 +10184,8 @@ Download.crl = {
10177
10184
  },
10178
10185
  };
10179
10186
  Download.certSSH = {
10180
- asSSH: (value, name) => {
10181
- downloadFromBuffer(Convert.FromString(value), name, 'cert', 'application/ssh-cert');
10187
+ asPub: (value, name) => {
10188
+ downloadFromBuffer(Convert.FromString(value), name, 'pub', 'text/plain');
10182
10189
  },
10183
10190
  };
10184
10191
 
@@ -12589,14 +12596,19 @@ function camelCaseToWords(value) {
12589
12596
  * LICENSE file in the root directory of this source tree.
12590
12597
  */
12591
12598
  var __classPrivateFieldSet$2 = (undefined && undefined.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
12592
- if (kind === "m") throw new TypeError("Private method is not writable");
12593
- if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
12594
- if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
12599
+ if (kind === "m")
12600
+ throw new TypeError("Private method is not writable");
12601
+ if (kind === "a" && !f)
12602
+ throw new TypeError("Private accessor was defined without a setter");
12603
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
12604
+ throw new TypeError("Cannot write private member to an object whose class did not declare it");
12595
12605
  return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
12596
12606
  };
12597
12607
  var __classPrivateFieldGet$2 = (undefined && undefined.__classPrivateFieldGet) || function (receiver, state, kind, f) {
12598
- if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
12599
- if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
12608
+ if (kind === "a" && !f)
12609
+ throw new TypeError("Private accessor was defined without a getter");
12610
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
12611
+ throw new TypeError("Cannot read private member from an object whose class did not declare it");
12600
12612
  return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
12601
12613
  };
12602
12614
  var _Name_asn;
@@ -12683,7 +12695,6 @@ const id_pe_qcStatements = `${id_pe$1}.3`;
12683
12695
  class QCStatement {
12684
12696
  constructor() {
12685
12697
  this.statementId = "";
12686
- this.statementInfo = new ArrayBuffer(0);
12687
12698
  }
12688
12699
  }
12689
12700
  __decorate$1([
@@ -14125,8 +14136,12 @@ __decorate$1([
14125
14136
 
14126
14137
  var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
14127
14138
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
14128
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
14129
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
14139
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
14140
+ r = Reflect.decorate(decorators, target, key, desc);
14141
+ else
14142
+ for (var i = decorators.length - 1; i >= 0; i--)
14143
+ if (d = decorators[i])
14144
+ r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
14130
14145
  return c > 3 && r && Object.defineProperty(target, key, r), r;
14131
14146
  };
14132
14147
  /**
@@ -14177,14 +14192,19 @@ __decorate([
14177
14192
  * LICENSE file in the root directory of this source tree.
14178
14193
  */
14179
14194
  var __classPrivateFieldSet$1 = (undefined && undefined.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
14180
- if (kind === "m") throw new TypeError("Private method is not writable");
14181
- if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
14182
- if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
14195
+ if (kind === "m")
14196
+ throw new TypeError("Private method is not writable");
14197
+ if (kind === "a" && !f)
14198
+ throw new TypeError("Private accessor was defined without a setter");
14199
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
14200
+ throw new TypeError("Cannot write private member to an object whose class did not declare it");
14183
14201
  return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
14184
14202
  };
14185
14203
  var __classPrivateFieldGet$1 = (undefined && undefined.__classPrivateFieldGet) || function (receiver, state, kind, f) {
14186
- if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
14187
- if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
14204
+ if (kind === "a" && !f)
14205
+ throw new TypeError("Private accessor was defined without a getter");
14206
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
14207
+ throw new TypeError("Cannot read private member from an object whose class did not declare it");
14188
14208
  return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
14189
14209
  };
14190
14210
  var _AsnData_asn, _AsnData_raw;
@@ -15342,7 +15362,14 @@ __decorate$1([
15342
15362
  AsnProp({ type: DigestAlgorithmIdentifier })
15343
15363
  ], SignerInfo.prototype, "digestAlgorithm", void 0);
15344
15364
  __decorate$1([
15345
- AsnProp({ type: Attribute$1, repeated: "set", context: 0, implicit: true, optional: true })
15365
+ AsnProp({
15366
+ type: Attribute$1,
15367
+ repeated: "set",
15368
+ context: 0,
15369
+ implicit: true,
15370
+ optional: true,
15371
+ raw: true,
15372
+ })
15346
15373
  ], SignerInfo.prototype, "signedAttrs", void 0);
15347
15374
  __decorate$1([
15348
15375
  AsnProp({ type: SignatureAlgorithmIdentifier })
@@ -15363,17 +15390,18 @@ SignerInfos = SignerInfos_1 = __decorate$1([
15363
15390
  AsnType({ type: AsnTypeTypes.Set, itemType: SignerInfo })
15364
15391
  ], SignerInfos);
15365
15392
 
15366
- let SigningTime$1 = class SigningTime extends Time {
15367
- };
15368
- SigningTime$1 = __decorate$1([
15369
- AsnType({ type: AsnTypeTypes.Choice })
15370
- ], SigningTime$1);
15371
15393
  let CounterSignature$1 = class CounterSignature extends SignerInfo {
15372
15394
  };
15373
15395
  CounterSignature$1 = __decorate$1([
15374
15396
  AsnType({ type: AsnTypeTypes.Sequence })
15375
15397
  ], CounterSignature$1);
15376
15398
 
15399
+ let SigningTime$1 = class SigningTime extends Time {
15400
+ };
15401
+ SigningTime$1 = __decorate$1([
15402
+ AsnType({ type: AsnTypeTypes.Choice })
15403
+ ], SigningTime$1);
15404
+
15377
15405
  var CertificateSet_1;
15378
15406
  class OtherCertificateFormat {
15379
15407
  constructor(params = {}) {
@@ -16409,7 +16437,7 @@ __decorate$1([
16409
16437
  AsnProp({ type: SubjectPublicKeyInfo })
16410
16438
  ], CertificationRequestInfo.prototype, "subjectPKInfo", void 0);
16411
16439
  __decorate$1([
16412
- AsnProp({ type: Attributes$1, implicit: true, context: 0 })
16440
+ AsnProp({ type: Attributes$1, implicit: true, context: 0, optional: true })
16413
16441
  ], CertificationRequestInfo.prototype, "attributes", void 0);
16414
16442
 
16415
16443
  class CertificationRequest {
@@ -16421,7 +16449,7 @@ class CertificationRequest {
16421
16449
  }
16422
16450
  }
16423
16451
  __decorate$1([
16424
- AsnProp({ type: CertificationRequestInfo })
16452
+ AsnProp({ type: CertificationRequestInfo, raw: true })
16425
16453
  ], CertificationRequest.prototype, "certificationRequestInfo", void 0);
16426
16454
  __decorate$1([
16427
16455
  AsnProp({ type: AlgorithmIdentifier })
@@ -18239,21 +18267,28 @@ let SshCertificate$1 = class SshCertificate extends SshObject {
18239
18267
  };
18240
18268
 
18241
18269
  var __classPrivateFieldSet = (undefined && undefined.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
18242
- if (kind === "m") throw new TypeError("Private method is not writable");
18243
- if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
18244
- if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
18270
+ if (kind === "m")
18271
+ throw new TypeError("Private method is not writable");
18272
+ if (kind === "a" && !f)
18273
+ throw new TypeError("Private accessor was defined without a setter");
18274
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
18275
+ throw new TypeError("Cannot write private member to an object whose class did not declare it");
18245
18276
  return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
18246
18277
  };
18247
18278
  var __classPrivateFieldGet = (undefined && undefined.__classPrivateFieldGet) || function (receiver, state, kind, f) {
18248
- if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
18249
- if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
18279
+ if (kind === "a" && !f)
18280
+ throw new TypeError("Private accessor was defined without a getter");
18281
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
18282
+ throw new TypeError("Cannot read private member from an object whose class did not declare it");
18250
18283
  return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
18251
18284
  };
18252
18285
  var _SshCertificate_cert;
18253
18286
  class SshCertificate {
18254
18287
  constructor(raw) {
18255
18288
  _SshCertificate_cert.set(this, void 0);
18256
- const blob = parse(raw.trim());
18289
+ const blob = parse(Convert.isBase64Url(raw.trim())
18290
+ ? Convert.ToString(Convert.FromBase64Url(raw.trim()))
18291
+ : raw.trim());
18257
18292
  // @ts-expect-error - SshCertificateType is not a constructor
18258
18293
  __classPrivateFieldSet(this, _SshCertificate_cert, new SshCertificate$1(blob), "f");
18259
18294
  this.notBefore = __classPrivateFieldGet(this, _SshCertificate_cert, "f").validAfter;
@@ -18288,15 +18323,18 @@ class SshCertificate {
18288
18323
  thumbprint: Convert.ToBase64(thumbprint),
18289
18324
  };
18290
18325
  }
18291
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
18292
- async toString(_format = 'pem') {
18326
+ async toString(format = 'pem') {
18327
+ if (format === 'base64url') {
18328
+ const blob = await __classPrivateFieldGet(this, _SshCertificate_cert, "f").toSSH();
18329
+ return Convert.ToBase64Url(Convert.FromString(blob));
18330
+ }
18293
18331
  return __classPrivateFieldGet(this, _SshCertificate_cert, "f").toSSH();
18294
18332
  }
18295
18333
  get commonName() {
18296
18334
  return __classPrivateFieldGet(this, _SshCertificate_cert, "f").principals.join('_') || __classPrivateFieldGet(this, _SshCertificate_cert, "f").keyId || __classPrivateFieldGet(this, _SshCertificate_cert, "f").certType;
18297
18335
  }
18298
- async downloadAsSSH(name) {
18299
- Download.certSSH.asSSH(await this.toString(), name || this.commonName);
18336
+ async downloadAsPub(name) {
18337
+ Download.certSSH.asPub(await this.toString(), name || [this.commonName, 'cert'].join('-'));
18300
18338
  }
18301
18339
  }
18302
18340
  _SshCertificate_cert = new WeakMap();
@@ -18332,8 +18370,9 @@ function isLink(value) {
18332
18370
  */
18333
18371
  var __rest = (undefined && undefined.__rest) || function (s, e) {
18334
18372
  var t = {};
18335
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
18336
- t[p] = s[p];
18373
+ for (var p in s)
18374
+ if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
18375
+ t[p] = s[p];
18337
18376
  if (s != null && typeof Object.getOwnPropertySymbols === "function")
18338
18377
  for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
18339
18378
  if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
@@ -18365,9 +18404,7 @@ const Typography = (props, children) => {
18365
18404
  [`t-${variant}`]: true,
18366
18405
  [`c-${color}`]: true,
18367
18406
  [classProp]: Boolean(classProp),
18368
- } }),
18369
- hAsync("span", null),
18370
- children));
18407
+ } }), hAsync("span", null), children));
18371
18408
  };
18372
18409
 
18373
18410
  /**
@@ -18379,7 +18416,7 @@ const Typography = (props, children) => {
18379
18416
  */
18380
18417
  const Link = (props, children) => {
18381
18418
  const { href, variant, } = props;
18382
- return (hAsync(Typography, { component: "a", variant: variant, color: "secondary",
18419
+ return (hAsync(Typography, { component: "a", variant: variant, color: "secondary",
18383
18420
  // @ts-expect-error - href is a string
18384
18421
  href: href, target: "_blank", rel: "noreferrer noopener" }, children));
18385
18422
  };
@@ -18391,21 +18428,15 @@ const Link = (props, children) => {
18391
18428
  * This source code is licensed under the MIT license found in the
18392
18429
  * LICENSE file in the root directory of this source tree.
18393
18430
  */
18394
- const TableRowTable = (_, children) => (hAsync("tr", null,
18395
- hAsync("td", { colSpan: 2 },
18396
- hAsync("table", null, children))));
18431
+ const TableRowTable = (_, children) => (hAsync("tr", null, hAsync("td", { colSpan: 2 }, hAsync("table", null, children))));
18397
18432
  const RowTitle = (props) => {
18398
18433
  const { value } = props;
18399
18434
  if (!value) {
18400
18435
  return null;
18401
18436
  }
18402
18437
  return [
18403
- hAsync("tr", { class: "title" },
18404
- hAsync("td", { colSpan: 2 },
18405
- hAsync(Typography, { variant: "s1", color: "black" }, value))),
18406
- hAsync("tr", null,
18407
- hAsync("td", { colSpan: 2, class: "divider" },
18408
- hAsync("span", null))),
18438
+ hAsync("tr", { class: "title" }, hAsync("td", { colSpan: 2 }, hAsync(Typography, { variant: "s1", color: "black" }, value))),
18439
+ hAsync("tr", null, hAsync("td", { colSpan: 2, class: "divider" }, hAsync("span", null))),
18409
18440
  ];
18410
18441
  };
18411
18442
  const RowValue = (props) => {
@@ -18424,14 +18455,9 @@ const RowValue = (props) => {
18424
18455
  elementValue = value;
18425
18456
  }
18426
18457
  const hasValue = !!value.toString();
18427
- return (hAsync("tr", null,
18428
- hAsync("td", { colSpan: hasValue ? 1 : 2 },
18429
- hAsync(Typography, { variant: "b2", color: "gray-9" }, name)),
18430
- hasValue && (hAsync("td", { class: { monospace } }, (isLink(value.toString()) || href)
18431
- ? (hAsync(Link, { variant: "b2", href: href || value.toString() }, value))
18432
- : (hAsync(Typography, { variant: "b2", color: "black" },
18433
- elementValue,
18434
- extraValue))))));
18458
+ return (hAsync("tr", null, hAsync("td", { colSpan: hasValue ? 1 : 2 }, hAsync(Typography, { variant: "b2", color: "gray-9" }, name)), hasValue && (hAsync("td", { class: { monospace } }, (isLink(value.toString()) || href)
18459
+ ? (hAsync(Link, { variant: "b2", href: href || value.toString() }, value))
18460
+ : (hAsync(Typography, { variant: "b2", color: "black" }, elementValue, extraValue))))));
18435
18461
  };
18436
18462
 
18437
18463
  /**
@@ -18595,9 +18621,7 @@ const BasicExtension = (props, children) => {
18595
18621
  hAsync(RowValue, { name: "Name", value: getStringByOID(extension.asn.extnID) }),
18596
18622
  hAsync(RowValue, { name: "Critical", value: extension.asn.critical ? l10n.getString('yes') : l10n.getString('no') }),
18597
18623
  children,
18598
- hAsync("tr", null,
18599
- hAsync("td", { colSpan: 2, class: "divider" },
18600
- hAsync("span", null))),
18624
+ hAsync("tr", null, hAsync("td", { colSpan: 2, class: "divider" }, hAsync("span", null))),
18601
18625
  ]);
18602
18626
  };
18603
18627
 
@@ -18610,8 +18634,7 @@ const BasicExtension = (props, children) => {
18610
18634
  */
18611
18635
  const KeyUsageExtension = (props) => {
18612
18636
  const { extension } = props;
18613
- return (hAsync(BasicExtension, { extension: extension },
18614
- hAsync(RowValue, { name: "Usage", value: extension.value.toJSON().join(', ') })));
18637
+ return (hAsync(BasicExtension, { extension: extension }, hAsync(RowValue, { name: "Usage", value: extension.value.toJSON().join(', ') })));
18615
18638
  };
18616
18639
 
18617
18640
  /**
@@ -18623,9 +18646,7 @@ const KeyUsageExtension = (props) => {
18623
18646
  */
18624
18647
  const BasicConstraintsExtension = (props) => {
18625
18648
  const { extension } = props;
18626
- return (hAsync(BasicExtension, { extension: extension },
18627
- hAsync(RowValue, { name: "Certificate Authority", value: extension.value.cA ? l10n.getString('yes') : l10n.getString('no') }),
18628
- hAsync(RowValue, { name: "Path Length Constraint", value: extension.value.pathLenConstraint })));
18649
+ return (hAsync(BasicExtension, { extension: extension }, hAsync(RowValue, { name: "Certificate Authority", value: extension.value.cA ? l10n.getString('yes') : l10n.getString('no') }), hAsync(RowValue, { name: "Path Length Constraint", value: extension.value.pathLenConstraint })));
18629
18650
  };
18630
18651
 
18631
18652
  /**
@@ -18639,8 +18660,7 @@ const ExtendedKeyUsageExtension = (props) => {
18639
18660
  const { extension } = props;
18640
18661
  return (hAsync(BasicExtension, { extension: extension }, Boolean(extension.value.length) && ([
18641
18662
  hAsync(RowValue, { name: "Purposes", value: "" }),
18642
- extension.value.map((usage) => (hAsync(TableRowTable, null,
18643
- hAsync(RowValue, { name: "Purpose", value: getStringByOID(usage) })))),
18663
+ extension.value.map((usage) => (hAsync(TableRowTable, null, hAsync(RowValue, { name: "Purpose", value: getStringByOID(usage) })))),
18644
18664
  ])));
18645
18665
  };
18646
18666
 
@@ -18656,17 +18676,10 @@ const SubjectKeyIdentifierExtension = (props) => {
18656
18676
  const keyId = Convert.ToHex(extension.value.buffer);
18657
18677
  const childrenLink = getSubjectKeyIdChildrenLink(keyId);
18658
18678
  const siblingsLink = getSubjectKeyIdSiblingsLink(keyId);
18659
- return (hAsync(BasicExtension, { extension: extension },
18660
- hAsync(RowValue, { name: "Key ID", value: keyId, monospace: true, extraValue: [
18661
- childrenLink && (hAsync("span", null,
18662
- "\u00A0[",
18663
- hAsync(Link, { href: childrenLink }, "children"),
18664
- "]")),
18665
- siblingsLink && (hAsync("span", null,
18666
- "\u00A0[",
18667
- hAsync(Link, { href: siblingsLink }, "siblings"),
18668
- "]")),
18669
- ] })));
18679
+ return (hAsync(BasicExtension, { extension: extension }, hAsync(RowValue, { name: "Key ID", value: keyId, monospace: true, extraValue: [
18680
+ childrenLink && (hAsync("span", null, "\u00A0[", hAsync(Link, { href: childrenLink }, "children"), "]")),
18681
+ siblingsLink && (hAsync("span", null, "\u00A0[", hAsync(Link, { href: siblingsLink }, "siblings"), "]")),
18682
+ ] })));
18670
18683
  };
18671
18684
 
18672
18685
  /**
@@ -18681,17 +18694,10 @@ const AuthorityKeyIdentifierExtension = (props) => {
18681
18694
  const keyId = Convert.ToHex(extension.value.keyIdentifier.buffer);
18682
18695
  const parentLink = getAuthKeyIdParentLink(keyId);
18683
18696
  const siblingsLink = getAuthKeyIdSiblingsLink(keyId);
18684
- return (hAsync(BasicExtension, { extension: extension },
18685
- hAsync(RowValue, { name: "Key ID", value: keyId, monospace: true, extraValue: [
18686
- parentLink && (hAsync("span", null,
18687
- "\u00A0[",
18688
- hAsync(Link, { href: parentLink }, "parents"),
18689
- "]")),
18690
- siblingsLink && (hAsync("span", null,
18691
- "\u00A0[",
18692
- hAsync(Link, { href: siblingsLink }, "siblings"),
18693
- "]")),
18694
- ] })));
18697
+ return (hAsync(BasicExtension, { extension: extension }, hAsync(RowValue, { name: "Key ID", value: keyId, monospace: true, extraValue: [
18698
+ parentLink && (hAsync("span", null, "\u00A0[", hAsync(Link, { href: parentLink }, "parents"), "]")),
18699
+ siblingsLink && (hAsync("span", null, "\u00A0[", hAsync(Link, { href: siblingsLink }, "siblings"), "]")),
18700
+ ] })));
18695
18701
  };
18696
18702
 
18697
18703
  /**
@@ -18789,9 +18795,7 @@ const InfoAccessSyntaxExtension = (props) => {
18789
18795
  const { extension } = props;
18790
18796
  return (hAsync(BasicExtension, { extension: extension }, Boolean(extension.value.length) && ([
18791
18797
  hAsync(RowValue, { name: "Descriptions", value: "" }),
18792
- extension.value.map((description) => (hAsync(TableRowTable, null,
18793
- hAsync(RowValue, { name: "Method", value: getStringByOID(description.accessMethod) }),
18794
- hAsync(GeneralNamePart, Object.assign({ generalName: description.accessLocation }, props))))),
18798
+ extension.value.map((description) => (hAsync(TableRowTable, null, hAsync(RowValue, { name: "Method", value: getStringByOID(description.accessMethod) }), hAsync(GeneralNamePart, Object.assign({ generalName: description.accessLocation }, props))))),
18795
18799
  ])));
18796
18800
  };
18797
18801
 
@@ -18818,27 +18822,25 @@ const CertificatePoliciesExtension = (props) => {
18818
18822
  const { extension } = props;
18819
18823
  return (hAsync(BasicExtension, { extension: extension }, Boolean(extension.value.length) && ([
18820
18824
  hAsync(RowValue, { name: "Policies", value: "" }),
18821
- extension.value.map((policy) => (hAsync(TableRowTable, null,
18822
- hAsync(RowValue, { name: "Policy ID", value: getStringByOID(policy.policyIdentifier) }),
18823
- policy.policyQualifiers && Boolean(policy.policyQualifiers.length) && ([
18824
- hAsync(RowValue, { name: "Qualifiers", value: "" }),
18825
- policy.policyQualifiers.map((qualifierInfo) => {
18826
- const data = [
18827
- hAsync(RowValue, { name: "Qualifier ID", value: getStringByOID(qualifierInfo.policyQualifierId) }),
18828
- ];
18829
- if (qualifierInfo.policyQualifierId === '1.3.6.1.5.5.7.2.1') {
18830
- const value = AsnParser.parse(qualifierInfo.qualifier, DisplayText);
18831
- data.push(hAsync(RowValue, { name: "Value", value: value.toString() }));
18832
- }
18833
- if (qualifierInfo.policyQualifierId === '1.3.6.1.5.5.7.2.2') {
18834
- const value = AsnParser.parse(qualifierInfo.qualifier, UserNotice);
18835
- if (value.explicitText) {
18836
- data.push(hAsync(RowValue, { name: "Value", value: value.explicitText.toString() }));
18837
- }
18825
+ extension.value.map((policy) => (hAsync(TableRowTable, null, hAsync(RowValue, { name: "Policy ID", value: getStringByOID(policy.policyIdentifier) }), policy.policyQualifiers && Boolean(policy.policyQualifiers.length) && ([
18826
+ hAsync(RowValue, { name: "Qualifiers", value: "" }),
18827
+ policy.policyQualifiers.map((qualifierInfo) => {
18828
+ const data = [
18829
+ hAsync(RowValue, { name: "Qualifier ID", value: getStringByOID(qualifierInfo.policyQualifierId) }),
18830
+ ];
18831
+ if (qualifierInfo.policyQualifierId === '1.3.6.1.5.5.7.2.1') {
18832
+ const value = AsnParser.parse(qualifierInfo.qualifier, DisplayText);
18833
+ data.push(hAsync(RowValue, { name: "Value", value: value.toString() }));
18834
+ }
18835
+ if (qualifierInfo.policyQualifierId === '1.3.6.1.5.5.7.2.2') {
18836
+ const value = AsnParser.parse(qualifierInfo.qualifier, UserNotice);
18837
+ if (value.explicitText) {
18838
+ data.push(hAsync(RowValue, { name: "Value", value: value.explicitText.toString() }));
18838
18839
  }
18839
- return (hAsync(TableRowTable, null, data));
18840
- }),
18841
- ])))),
18840
+ }
18841
+ return (hAsync(TableRowTable, null, data));
18842
+ }),
18843
+ ])))),
18842
18844
  ])));
18843
18845
  };
18844
18846
 
@@ -18940,13 +18942,7 @@ const CertificateTransparencyExtension = (props) => {
18940
18942
  const { extension } = props;
18941
18943
  return (hAsync(BasicExtension, { extension: extension }, Boolean(extension.value.items.length) && ([
18942
18944
  hAsync(RowValue, { name: "Signed Certificate Timestamps", value: "" }),
18943
- extension.value.toJSON().map((signedCertificateTimestamp) => (hAsync(TableRowTable, null,
18944
- hAsync(RowValue, { name: "Version", value: signedCertificateTimestamp.version + 1 }),
18945
- hAsync(RowValue, { name: "Log Operator", value: logs[signedCertificateTimestamp.logId] || signedCertificateTimestamp.logId }),
18946
- hAsync(RowValue, { name: "Log Key ID", value: signedCertificateTimestamp.logId, monospace: true }),
18947
- hAsync(RowValue, { name: "Timestamp", value: dateShort(signedCertificateTimestamp.timestamp) }),
18948
- hAsync(RowValue, { name: "Signature Algorithm", value: `${signedCertificateTimestamp.hashAlgorithm} ${signedCertificateTimestamp.signatureAlgorithm}`.toUpperCase() }),
18949
- hAsync(RowValue, { name: "Signature", value: signedCertificateTimestamp.signature, monospace: true })))),
18945
+ extension.value.toJSON().map((signedCertificateTimestamp) => (hAsync(TableRowTable, null, hAsync(RowValue, { name: "Version", value: signedCertificateTimestamp.version + 1 }), hAsync(RowValue, { name: "Log Operator", value: logs[signedCertificateTimestamp.logId] || signedCertificateTimestamp.logId }), hAsync(RowValue, { name: "Log Key ID", value: signedCertificateTimestamp.logId, monospace: true }), hAsync(RowValue, { name: "Timestamp", value: dateShort(signedCertificateTimestamp.timestamp) }), hAsync(RowValue, { name: "Signature Algorithm", value: `${signedCertificateTimestamp.hashAlgorithm} ${signedCertificateTimestamp.signatureAlgorithm}`.toUpperCase() }), hAsync(RowValue, { name: "Signature", value: signedCertificateTimestamp.signature, monospace: true }), hAsync(RowValue, { name: "Extensions", value: signedCertificateTimestamp.extensions || undefined, monospace: true })))),
18950
18946
  ])));
18951
18947
  };
18952
18948
 
@@ -18974,10 +18970,7 @@ const NameConstraintsExtension = (props) => {
18974
18970
  */
18975
18971
  const CertificateTemplateExtension = (props) => {
18976
18972
  const { extension } = props;
18977
- return (hAsync(BasicExtension, { extension: extension },
18978
- hAsync(RowValue, { name: "Template ID", value: extension.value.templateID }),
18979
- hAsync(RowValue, { name: "Template Major Version", value: extension.value.templateMajorVersion }),
18980
- hAsync(RowValue, { name: "Template Minor Version", value: extension.value.templateMinorVersion })));
18973
+ return (hAsync(BasicExtension, { extension: extension }, hAsync(RowValue, { name: "Template ID", value: extension.value.templateID }), hAsync(RowValue, { name: "Template Major Version", value: extension.value.templateMajorVersion }), hAsync(RowValue, { name: "Template Minor Version", value: extension.value.templateMinorVersion })));
18981
18974
  };
18982
18975
 
18983
18976
  /**
@@ -18989,8 +18982,7 @@ const CertificateTemplateExtension = (props) => {
18989
18982
  */
18990
18983
  const EnrollCertTypeChoiceExtension = (props) => {
18991
18984
  const { extension } = props;
18992
- return (hAsync(BasicExtension, { extension: extension },
18993
- hAsync(RowValue, { name: "Name", value: extension.value.toString() })));
18985
+ return (hAsync(BasicExtension, { extension: extension }, hAsync(RowValue, { name: "Name", value: extension.value.toString() })));
18994
18986
  };
18995
18987
 
18996
18988
  /**
@@ -19003,9 +18995,7 @@ const EnrollCertTypeChoiceExtension = (props) => {
19003
18995
  const CaVersionExtension = (props) => {
19004
18996
  const { extension } = props;
19005
18997
  const version = extension.value.getVersion();
19006
- return (hAsync(BasicExtension, { extension: extension },
19007
- hAsync(RowValue, { name: "Certificate Index", value: version.certificateIndex }),
19008
- hAsync(RowValue, { name: "Key Index", value: version.keyIndex })));
18998
+ return (hAsync(BasicExtension, { extension: extension }, hAsync(RowValue, { name: "Certificate Index", value: version.certificateIndex }), hAsync(RowValue, { name: "Key Index", value: version.keyIndex })));
19009
18999
  };
19010
19000
 
19011
19001
  var PdsLocations_1, QcEuPDS_1, QcType_1, QcCClegislation_1;
@@ -19128,7 +19118,7 @@ const id_etsi_qcs_qcType = `${id_etsi_qcs}.6`;
19128
19118
  const QCStatementsExtension = (props) => {
19129
19119
  const { extension } = props;
19130
19120
  function renderStatementInfo(statementId, statementInfo) {
19131
- if (!statementInfo.byteLength) {
19121
+ if (!statementInfo || !statementInfo.byteLength) {
19132
19122
  return null;
19133
19123
  }
19134
19124
  if (statementId === id_qcs_pkixQCSyntax_v2) {
@@ -19147,18 +19137,14 @@ const QCStatementsExtension = (props) => {
19147
19137
  const pdsLocations = AsnParser.parse(statementInfo, PdsLocations);
19148
19138
  return ([
19149
19139
  hAsync(RowValue, { name: "PDS Locations", value: "" }),
19150
- pdsLocations.map((location) => (hAsync(TableRowTable, null,
19151
- hAsync(RowValue, { name: "URL", value: location.url }),
19152
- hAsync(RowValue, { name: "Language", value: location.language })))),
19140
+ pdsLocations.map((location) => (hAsync(TableRowTable, null, hAsync(RowValue, { name: "URL", value: location.url }), hAsync(RowValue, { name: "Language", value: location.language })))),
19153
19141
  ]);
19154
19142
  }
19155
19143
  return (hAsync(RowValue, { name: "Info", value: Convert.ToHex(statementInfo), monospace: true }));
19156
19144
  }
19157
19145
  return (hAsync(BasicExtension, { extension: extension }, Boolean(extension.value.length) && ([
19158
19146
  hAsync(RowValue, { name: "Statements", value: "" }),
19159
- extension.value.map((statement) => (hAsync(TableRowTable, null,
19160
- hAsync(RowValue, { name: "Statement ID", value: getStringByOID(statement.statementId) }),
19161
- renderStatementInfo(statement.statementId, statement.statementInfo)))),
19147
+ extension.value.map((statement) => (hAsync(TableRowTable, null, hAsync(RowValue, { name: "Statement ID", value: getStringByOID(statement.statementId) }), renderStatementInfo(statement.statementId, statement.statementInfo)))),
19162
19148
  ])));
19163
19149
  };
19164
19150
 
@@ -19171,8 +19157,7 @@ const QCStatementsExtension = (props) => {
19171
19157
  */
19172
19158
  const NetscapeCommentExtension = (props) => {
19173
19159
  const { extension } = props;
19174
- return (hAsync(BasicExtension, { extension: extension },
19175
- hAsync(RowValue, { name: "Comment", value: extension.value.value })));
19160
+ return (hAsync(BasicExtension, { extension: extension }, hAsync(RowValue, { name: "Comment", value: extension.value.value })));
19176
19161
  };
19177
19162
 
19178
19163
  /**
@@ -19184,8 +19169,7 @@ const NetscapeCommentExtension = (props) => {
19184
19169
  */
19185
19170
  const NetscapeCertTypeExtension = (props) => {
19186
19171
  const { extension } = props;
19187
- return (hAsync(BasicExtension, { extension: extension },
19188
- hAsync(RowValue, { name: "Type", value: extension.value.toJSON().join(', ') })));
19172
+ return (hAsync(BasicExtension, { extension: extension }, hAsync(RowValue, { name: "Type", value: extension.value.toJSON().join(', ') })));
19189
19173
  };
19190
19174
 
19191
19175
  /**
@@ -19197,8 +19181,7 @@ const NetscapeCertTypeExtension = (props) => {
19197
19181
  */
19198
19182
  const LeiRoleExtension = (props) => {
19199
19183
  const { extension } = props;
19200
- return (hAsync(BasicExtension, { extension: extension },
19201
- hAsync(RowValue, { name: "Role", value: extension.value.text })));
19184
+ return (hAsync(BasicExtension, { extension: extension }, hAsync(RowValue, { name: "Role", value: extension.value.text })));
19202
19185
  };
19203
19186
 
19204
19187
  /**
@@ -19210,8 +19193,7 @@ const LeiRoleExtension = (props) => {
19210
19193
  */
19211
19194
  const LeiExtension = (props) => {
19212
19195
  const { extension, getLEILink } = props;
19213
- return (hAsync(BasicExtension, { extension: extension },
19214
- hAsync(RowValue, { name: "Identifier", value: extension.value.text, href: getLEILink(extension.value.text) })));
19196
+ return (hAsync(BasicExtension, { extension: extension }, hAsync(RowValue, { name: "Identifier", value: extension.value.text, href: getLEILink(extension.value.text) })));
19215
19197
  };
19216
19198
 
19217
19199
  /**
@@ -19223,10 +19205,7 @@ const LeiExtension = (props) => {
19223
19205
  */
19224
19206
  const TimestampExtension = (props) => {
19225
19207
  const { extension } = props;
19226
- return (hAsync(BasicExtension, { extension: extension },
19227
- hAsync(RowValue, { name: "Version", value: extension.value.version }),
19228
- hAsync(GeneralNamePart, Object.assign({ generalName: extension.value.location }, props)),
19229
- hAsync(RowValue, { name: "Requires Auth", value: extension.value.requiresAuth ? l10n.getString('yes') : l10n.getString('no') })));
19208
+ return (hAsync(BasicExtension, { extension: extension }, hAsync(RowValue, { name: "Version", value: extension.value.version }), hAsync(GeneralNamePart, Object.assign({ generalName: extension.value.location }, props)), hAsync(RowValue, { name: "Requires Auth", value: extension.value.requiresAuth ? l10n.getString('yes') : l10n.getString('no') })));
19230
19209
  };
19231
19210
 
19232
19211
  /**
@@ -19238,8 +19217,7 @@ const TimestampExtension = (props) => {
19238
19217
  */
19239
19218
  const ArchiveRevInfoExtension = (props) => {
19240
19219
  const { extension } = props;
19241
- return (hAsync(BasicExtension, { extension: extension },
19242
- hAsync(RowValue, { name: "Version", value: extension.value.version })));
19220
+ return (hAsync(BasicExtension, { extension: extension }, hAsync(RowValue, { name: "Version", value: extension.value.version })));
19243
19221
  };
19244
19222
 
19245
19223
  /**
@@ -19251,8 +19229,7 @@ const ArchiveRevInfoExtension = (props) => {
19251
19229
  */
19252
19230
  const CRLReasonExtension = (props) => {
19253
19231
  const { extension } = props;
19254
- return (hAsync(BasicExtension, { extension: extension },
19255
- hAsync(RowValue, { name: "Reason", value: extension.value.toJSON() })));
19232
+ return (hAsync(BasicExtension, { extension: extension }, hAsync(RowValue, { name: "Reason", value: extension.value.toJSON() })));
19256
19233
  };
19257
19234
 
19258
19235
  /**
@@ -19277,9 +19254,7 @@ const SubjectDirectoryAttributesExtension = (props) => {
19277
19254
  const { extension } = props;
19278
19255
  return (hAsync(BasicExtension, { extension: extension }, Boolean(extension.value.length) && ([
19279
19256
  hAsync(RowValue, { name: "Attributes", value: "" }),
19280
- extension.value.map((attribute) => (hAsync(TableRowTable, null,
19281
- hAsync(RowValue, { name: "Type", value: getStringByOID(attribute.type) }),
19282
- hAsync(RowValue, { name: "Value", value: getAttributeValue(attribute) })))),
19257
+ extension.value.map((attribute) => (hAsync(TableRowTable, null, hAsync(RowValue, { name: "Type", value: getStringByOID(attribute.type) }), hAsync(RowValue, { name: "Value", value: getAttributeValue(attribute) })))),
19283
19258
  ])));
19284
19259
  };
19285
19260
 
@@ -19292,8 +19267,7 @@ const SubjectDirectoryAttributesExtension = (props) => {
19292
19267
  */
19293
19268
  const AsStringExtension = (props) => {
19294
19269
  const { extension } = props;
19295
- return (hAsync(BasicExtension, { extension: extension },
19296
- hAsync(RowValue, { name: "Value", value: extension.value, monospace: true })));
19270
+ return (hAsync(BasicExtension, { extension: extension }, hAsync(RowValue, { name: "Value", value: extension.value, monospace: true })));
19297
19271
  };
19298
19272
 
19299
19273
  /**
@@ -19305,9 +19279,7 @@ const AsStringExtension = (props) => {
19305
19279
  */
19306
19280
  const PrivateKeyUsagePeriodExtension = (props) => {
19307
19281
  const { extension } = props;
19308
- return (hAsync(BasicExtension, { extension: extension },
19309
- hAsync(RowValue, { name: "Not Before", value: dateShort(extension.value.notBefore) }),
19310
- hAsync(RowValue, { name: "Not After", value: dateShort(extension.value.notAfter) })));
19282
+ return (hAsync(BasicExtension, { extension: extension }, hAsync(RowValue, { name: "Not Before", value: dateShort(extension.value.notBefore) }), hAsync(RowValue, { name: "Not After", value: dateShort(extension.value.notAfter) })));
19311
19283
  };
19312
19284
 
19313
19285
  /**
@@ -19319,9 +19291,7 @@ const PrivateKeyUsagePeriodExtension = (props) => {
19319
19291
  */
19320
19292
  const EntrustVersionInfoExtension = (props) => {
19321
19293
  const { extension } = props;
19322
- return (hAsync(BasicExtension, { extension: extension },
19323
- hAsync(RowValue, { name: "Version", value: extension.value.entrustVers }),
19324
- hAsync(RowValue, { name: "Info Flags", value: extension.value.entrustInfoFlags.toJSON().join(', ') })));
19294
+ return (hAsync(BasicExtension, { extension: extension }, hAsync(RowValue, { name: "Version", value: extension.value.entrustVers }), hAsync(RowValue, { name: "Info Flags", value: extension.value.entrustInfoFlags.toJSON().join(', ') })));
19325
19295
  };
19326
19296
 
19327
19297
  /**
@@ -19335,12 +19305,7 @@ const BiometricSyntaxExtension = (props) => {
19335
19305
  const { extension } = props;
19336
19306
  return (hAsync(BasicExtension, { extension: extension }, Boolean(extension.value.length) && ([
19337
19307
  hAsync(RowValue, { name: "Biometrics", value: "" }),
19338
- extension.value.map((data) => (hAsync(TableRowTable, null,
19339
- hAsync(RowValue, { name: "OID", value: getStringByOID(data.typeOfBiometricData.biometricDataOid) }),
19340
- hAsync(RowValue, { name: "Type", value: data.typeOfBiometricData.predefinedBiometricType }),
19341
- hAsync(RowValue, { name: "Algorithm", value: getStringByOID(data.hashAlgorithm.algorithm) }),
19342
- hAsync(RowValue, { name: "Hash", value: Convert.ToHex(data.biometricDataHash.buffer), monospace: true }),
19343
- hAsync(RowValue, { name: "Source Uri", value: data.sourceDataUri })))),
19308
+ extension.value.map((data) => (hAsync(TableRowTable, null, hAsync(RowValue, { name: "OID", value: getStringByOID(data.typeOfBiometricData.biometricDataOid) }), hAsync(RowValue, { name: "Type", value: data.typeOfBiometricData.predefinedBiometricType }), hAsync(RowValue, { name: "Algorithm", value: getStringByOID(data.hashAlgorithm.algorithm) }), hAsync(RowValue, { name: "Hash", value: Convert.ToHex(data.biometricDataHash.buffer), monospace: true }), hAsync(RowValue, { name: "Source Uri", value: data.sourceDataUri })))),
19344
19309
  ])));
19345
19310
  };
19346
19311
 
@@ -19390,14 +19355,10 @@ const LogotypeExtension = (props) => {
19390
19355
  hAsync(RowValue, { name: "Type", value: title }),
19391
19356
  renderImage(image),
19392
19357
  renderAudio(audio),
19393
- hAsync("tr", null,
19394
- hAsync("td", null),
19395
- hAsync("td", null)),
19358
+ hAsync("tr", null, hAsync("td", null), hAsync("td", null)),
19396
19359
  ];
19397
19360
  };
19398
- return (hAsync(BasicExtension, { extension: extension },
19399
- renderLogo('Subject', extension.value.subjectLogo),
19400
- renderLogo('Issuer', extension.value.issuerLogo)));
19361
+ return (hAsync(BasicExtension, { extension: extension }, renderLogo('Subject', extension.value.subjectLogo), renderLogo('Issuer', extension.value.issuerLogo)));
19401
19362
  };
19402
19363
 
19403
19364
  /**
@@ -19411,10 +19372,7 @@ const TNAuthListExtension = (props) => {
19411
19372
  const { extension } = props;
19412
19373
  return (hAsync(BasicExtension, { extension: extension }, extension.value.length > 0 && ([
19413
19374
  hAsync(RowValue, { name: "Entries", value: "" }),
19414
- extension.value.map((entry) => (hAsync(TableRowTable, null,
19415
- hAsync(RowValue, { name: "SPC", value: entry.spc }),
19416
- hAsync(RowValue, { name: "Range", value: entry.range ? `start=${entry.range.start} count==${entry.range.count}` : null }),
19417
- hAsync(RowValue, { name: "One", value: entry.one })))),
19375
+ extension.value.map((entry) => (hAsync(TableRowTable, null, hAsync(RowValue, { name: "SPC", value: entry.spc }), hAsync(RowValue, { name: "Range", value: entry.range ? `start=${entry.range.start} count==${entry.range.count}` : null }), hAsync(RowValue, { name: "One", value: entry.one })))),
19418
19376
  ])));
19419
19377
  };
19420
19378
 
@@ -19427,9 +19385,7 @@ const TNAuthListExtension = (props) => {
19427
19385
  */
19428
19386
  const PolicyConstraintsExtension = (props) => {
19429
19387
  const { extension } = props;
19430
- return (hAsync(BasicExtension, { extension: extension },
19431
- extension.value.requireExplicitPolicy && (hAsync(RowValue, { name: "Require Explicit Policy", value: AsnIntegerArrayBufferConverter.toASN(extension.value.requireExplicitPolicy).valueBlock.toString() })),
19432
- extension.value.inhibitPolicyMapping && (hAsync(RowValue, { name: "Inhibit Policy Mapping", value: AsnIntegerArrayBufferConverter.toASN(extension.value.inhibitPolicyMapping).valueBlock.toString() }))));
19388
+ return (hAsync(BasicExtension, { extension: extension }, extension.value.requireExplicitPolicy && (hAsync(RowValue, { name: "Require Explicit Policy", value: AsnIntegerArrayBufferConverter.toASN(extension.value.requireExplicitPolicy).valueBlock.toString() })), extension.value.inhibitPolicyMapping && (hAsync(RowValue, { name: "Inhibit Policy Mapping", value: AsnIntegerArrayBufferConverter.toASN(extension.value.inhibitPolicyMapping).valueBlock.toString() }))));
19433
19389
  };
19434
19390
 
19435
19391
  /**
@@ -19443,9 +19399,7 @@ const PolicyMappingsExtension = (props) => {
19443
19399
  const { extension } = props;
19444
19400
  return (hAsync(BasicExtension, { extension: extension }, extension.value.length > 0 && ([
19445
19401
  hAsync(RowValue, { name: "Policies", value: "" }),
19446
- extension.value.map((policy) => (hAsync(TableRowTable, null,
19447
- hAsync(RowValue, { name: "Issuer Domain", value: getStringByOID(policy.issuerDomainPolicy) }),
19448
- hAsync(RowValue, { name: "Subject Domain", value: getStringByOID(policy.subjectDomainPolicy) })))),
19402
+ extension.value.map((policy) => (hAsync(TableRowTable, null, hAsync(RowValue, { name: "Issuer Domain", value: getStringByOID(policy.issuerDomainPolicy) }), hAsync(RowValue, { name: "Subject Domain", value: getStringByOID(policy.subjectDomainPolicy) })))),
19449
19403
  ])));
19450
19404
  };
19451
19405
 
@@ -19458,8 +19412,7 @@ const PolicyMappingsExtension = (props) => {
19458
19412
  */
19459
19413
  const CRLNumberExtension = (props) => {
19460
19414
  const { extension } = props;
19461
- return (hAsync(BasicExtension, { extension: extension },
19462
- hAsync(RowValue, { name: l10n.getString('value'), value: extension.value.value })));
19415
+ return (hAsync(BasicExtension, { extension: extension }, hAsync(RowValue, { name: l10n.getString('value'), value: extension.value.value })));
19463
19416
  };
19464
19417
 
19465
19418
  /**
@@ -19473,12 +19426,7 @@ const IssuingDistributionPointExtension = (props) => {
19473
19426
  var _a;
19474
19427
  const { extension } = props;
19475
19428
  return (hAsync(BasicExtension, { extension: extension }, (_a = extension.value.distributionPoint) === null || _a === void 0 ? void 0 :
19476
- _a.fullName.map((gn) => (hAsync(GeneralNamePart, Object.assign({ generalName: gn }, props)))),
19477
- extension.value.onlySomeReasons && (hAsync(RowValue, { name: l10n.getString('onlyReasons'), value: extension.value.onlySomeReasons.toJSON().join(', ') })),
19478
- extension.value.indirectCRL && (hAsync(RowValue, { name: l10n.getString('indirectCRL'), value: l10n.getString('yes') })),
19479
- extension.value.onlyContainsUserCerts && (hAsync(RowValue, { name: l10n.getString('onlyUserCertificates'), value: l10n.getString('yes') })),
19480
- extension.value.onlyContainsAttributeCerts && (hAsync(RowValue, { name: l10n.getString('onlyAttributeCertificates'), value: l10n.getString('yes') })),
19481
- extension.value.onlyContainsCACerts && (hAsync(RowValue, { name: l10n.getString('onlyCACertificates'), value: l10n.getString('yes') }))));
19429
+ _a.fullName.map((gn) => (hAsync(GeneralNamePart, Object.assign({ generalName: gn }, props)))), extension.value.onlySomeReasons && (hAsync(RowValue, { name: l10n.getString('onlyReasons'), value: extension.value.onlySomeReasons.toJSON().join(', ') })), extension.value.indirectCRL && (hAsync(RowValue, { name: l10n.getString('indirectCRL'), value: l10n.getString('yes') })), extension.value.onlyContainsUserCerts && (hAsync(RowValue, { name: l10n.getString('onlyUserCertificates'), value: l10n.getString('yes') })), extension.value.onlyContainsAttributeCerts && (hAsync(RowValue, { name: l10n.getString('onlyAttributeCertificates'), value: l10n.getString('yes') })), extension.value.onlyContainsCACerts && (hAsync(RowValue, { name: l10n.getString('onlyCACertificates'), value: l10n.getString('yes') }))));
19482
19430
  };
19483
19431
 
19484
19432
  /**
@@ -19520,9 +19468,7 @@ const KeyDescriptionExtension = (props) => {
19520
19468
  if (parsed.packageInfos.length || parsed.signatureDigests.length) {
19521
19469
  return [
19522
19470
  hAsync(RowValue, { name: camelCaseToWords(keyName), value: "" }),
19523
- Boolean(parsed.packageInfos) && (hAsync(TableRowTable, null,
19524
- hAsync(RowValue, { name: camelCaseToWords('packageInfos'), value: "" }),
19525
- parsed.packageInfos.map((attestationPackageInfo) => (hAsync(TableRowTable, null, renderRowValue(attestationPackageInfo)))))),
19471
+ Boolean(parsed.packageInfos) && (hAsync(TableRowTable, null, hAsync(RowValue, { name: camelCaseToWords('packageInfos'), value: "" }), parsed.packageInfos.map((attestationPackageInfo) => (hAsync(TableRowTable, null, renderRowValue(attestationPackageInfo)))))),
19526
19472
  ];
19527
19473
  }
19528
19474
  }
@@ -19549,15 +19495,7 @@ const KeyDescriptionExtension = (props) => {
19549
19495
  hAsync(TableRowTable, null, authorizationList.map(renderRowValue)),
19550
19496
  ];
19551
19497
  };
19552
- return (hAsync(BasicExtension, { extension: extension },
19553
- hAsync(RowValue, { name: camelCaseToWords('attestationVersion'), value: extension.value.attestationVersion }),
19554
- hAsync(RowValue, { name: camelCaseToWords('attestationSecurityLevel'), value: extension.value.attestationSecurityLevel }),
19555
- hAsync(RowValue, { name: camelCaseToWords('keymasterVersion'), value: extension.value.keymasterVersion }),
19556
- hAsync(RowValue, { name: camelCaseToWords('keymasterSecurityLevel'), value: extension.value.keymasterSecurityLevel }),
19557
- hAsync(RowValue, { name: camelCaseToWords('attestationChallenge'), value: Convert.ToString(extension.value.attestationChallenge) }),
19558
- hAsync(RowValue, { name: camelCaseToWords('uniqueId'), value: Convert.ToString(extension.value.uniqueId) || undefined }),
19559
- renderAuthorizationList(camelCaseToWords('softwareEnforced'), extension.value.softwareEnforced),
19560
- renderAuthorizationList(camelCaseToWords('teeEnforced'), extension.value.teeEnforced)));
19498
+ return (hAsync(BasicExtension, { extension: extension }, hAsync(RowValue, { name: camelCaseToWords('attestationVersion'), value: extension.value.attestationVersion }), hAsync(RowValue, { name: camelCaseToWords('attestationSecurityLevel'), value: extension.value.attestationSecurityLevel }), hAsync(RowValue, { name: camelCaseToWords('keymasterVersion'), value: extension.value.keymasterVersion }), hAsync(RowValue, { name: camelCaseToWords('keymasterSecurityLevel'), value: extension.value.keymasterSecurityLevel }), hAsync(RowValue, { name: camelCaseToWords('attestationChallenge'), value: Convert.ToString(extension.value.attestationChallenge) }), hAsync(RowValue, { name: camelCaseToWords('uniqueId'), value: Convert.ToString(extension.value.uniqueId) || undefined }), renderAuthorizationList(camelCaseToWords('softwareEnforced'), extension.value.softwareEnforced), renderAuthorizationList(camelCaseToWords('teeEnforced'), extension.value.teeEnforced)));
19561
19499
  };
19562
19500
 
19563
19501
  /**
@@ -19716,9 +19654,7 @@ const BasicAttribute = (props, children) => {
19716
19654
  return ([
19717
19655
  hAsync(RowValue, { name: "Name", value: getStringByOID(attribute.asn.type) }),
19718
19656
  children,
19719
- hAsync("tr", null,
19720
- hAsync("td", { colSpan: 2, class: "divider" },
19721
- hAsync("span", null))),
19657
+ hAsync("tr", null, hAsync("td", { colSpan: 2, class: "divider" }, hAsync("span", null))),
19722
19658
  ]);
19723
19659
  };
19724
19660
 
@@ -19747,8 +19683,7 @@ const NamePart = (props) => {
19747
19683
  */
19748
19684
  const NameAttribute = (props) => {
19749
19685
  const { attribute } = props;
19750
- return (hAsync(BasicAttribute, { attribute: attribute },
19751
- hAsync(NamePart, { name: attribute.value })));
19686
+ return (hAsync(BasicAttribute, { attribute: attribute }, hAsync(NamePart, { name: attribute.value })));
19752
19687
  };
19753
19688
 
19754
19689
  /**
@@ -19760,15 +19695,7 @@ const NameAttribute = (props) => {
19760
19695
  */
19761
19696
  const ActivityDescriptionAttribute = (props) => {
19762
19697
  const { attribute } = props;
19763
- return (hAsync(BasicAttribute, { attribute: attribute },
19764
- hAsync(RowValue, { name: camelCaseToWords('codeAuthority'), value: "" }),
19765
- hAsync(TableRowTable, null,
19766
- hAsync(GeneralNamePart, { generalName: attribute.value.codeAuthority, getDNSNameLink: () => '', getIPAddressLink: () => '' })),
19767
- hAsync(RowValue, { name: camelCaseToWords('codeId'), value: "" }),
19768
- hAsync(TableRowTable, null,
19769
- hAsync(GeneralNamePart, { generalName: attribute.value.codeId, getDNSNameLink: () => '', getIPAddressLink: () => '' })),
19770
- hAsync(RowValue, { name: camelCaseToWords('shortName'), value: attribute.value.shortName }),
19771
- hAsync(RowValue, { name: camelCaseToWords('shortDescription'), value: attribute.value.shortDescription })));
19698
+ return (hAsync(BasicAttribute, { attribute: attribute }, hAsync(RowValue, { name: camelCaseToWords('codeAuthority'), value: "" }), hAsync(TableRowTable, null, hAsync(GeneralNamePart, { generalName: attribute.value.codeAuthority, getDNSNameLink: () => '', getIPAddressLink: () => '' })), hAsync(RowValue, { name: camelCaseToWords('codeId'), value: "" }), hAsync(TableRowTable, null, hAsync(GeneralNamePart, { generalName: attribute.value.codeId, getDNSNameLink: () => '', getIPAddressLink: () => '' })), hAsync(RowValue, { name: camelCaseToWords('shortName'), value: attribute.value.shortName }), hAsync(RowValue, { name: camelCaseToWords('shortDescription'), value: attribute.value.shortDescription })));
19772
19699
  };
19773
19700
 
19774
19701
  /**
@@ -19780,18 +19707,7 @@ const ActivityDescriptionAttribute = (props) => {
19780
19707
  */
19781
19708
  const WebGdprAttribute = (props) => {
19782
19709
  const { attribute } = props;
19783
- return (hAsync(BasicAttribute, { attribute: attribute },
19784
- hAsync(RowValue, { name: camelCaseToWords('assessmentAuthority'), value: "" }),
19785
- hAsync(TableRowTable, null,
19786
- hAsync(GeneralNamePart, { generalName: attribute.value.assessmentAuthority, getDNSNameLink: () => '', getIPAddressLink: () => '' })),
19787
- hAsync(RowValue, { name: camelCaseToWords('assessmentLocation'), value: "" }),
19788
- hAsync(TableRowTable, null,
19789
- hAsync(GeneralNamePart, { generalName: attribute.value.assessmentLocation, getDNSNameLink: () => '', getIPAddressLink: () => '' })),
19790
- hAsync(RowValue, { name: camelCaseToWords('assessmentRef'), value: "" }),
19791
- hAsync(TableRowTable, null,
19792
- hAsync(GeneralNamePart, { generalName: attribute.value.assessmentRef, getDNSNameLink: () => '', getIPAddressLink: () => '' })),
19793
- hAsync(RowValue, { name: camelCaseToWords('dataStorageTerritory'), value: attribute.value.dataStorageTerritory }),
19794
- hAsync(RowValue, { name: camelCaseToWords('description'), value: attribute.value.description })));
19710
+ return (hAsync(BasicAttribute, { attribute: attribute }, hAsync(RowValue, { name: camelCaseToWords('assessmentAuthority'), value: "" }), hAsync(TableRowTable, null, hAsync(GeneralNamePart, { generalName: attribute.value.assessmentAuthority, getDNSNameLink: () => '', getIPAddressLink: () => '' })), hAsync(RowValue, { name: camelCaseToWords('assessmentLocation'), value: "" }), hAsync(TableRowTable, null, hAsync(GeneralNamePart, { generalName: attribute.value.assessmentLocation, getDNSNameLink: () => '', getIPAddressLink: () => '' })), hAsync(RowValue, { name: camelCaseToWords('assessmentRef'), value: "" }), hAsync(TableRowTable, null, hAsync(GeneralNamePart, { generalName: attribute.value.assessmentRef, getDNSNameLink: () => '', getIPAddressLink: () => '' })), hAsync(RowValue, { name: camelCaseToWords('dataStorageTerritory'), value: attribute.value.dataStorageTerritory }), hAsync(RowValue, { name: camelCaseToWords('description'), value: attribute.value.description })));
19795
19711
  };
19796
19712
 
19797
19713
  /**
@@ -19804,8 +19720,7 @@ const WebGdprAttribute = (props) => {
19804
19720
  const InsuranceValueAttribute = (props) => {
19805
19721
  const { attribute } = props;
19806
19722
  const value = `${attribute.value.base} * 10^${attribute.value.degree} ${attribute.value.location}`;
19807
- return (hAsync(BasicAttribute, { attribute: attribute },
19808
- hAsync(RowValue, { name: "Value", value: value })));
19723
+ return (hAsync(BasicAttribute, { attribute: attribute }, hAsync(RowValue, { name: "Value", value: value })));
19809
19724
  };
19810
19725
 
19811
19726
  /**
@@ -19843,8 +19758,7 @@ const ValuationRankingAttribute = (props) => {
19843
19758
  getValueRank(attribute.value[keyName]),
19844
19759
  hAsync("br", null),
19845
19760
  ]));
19846
- return (hAsync(BasicAttribute, { attribute: attribute },
19847
- hAsync(RowValue, { name: "Value", value: values })));
19761
+ return (hAsync(BasicAttribute, { attribute: attribute }, hAsync(RowValue, { name: "Value", value: values })));
19848
19762
  };
19849
19763
 
19850
19764
  /**
@@ -19856,8 +19770,7 @@ const ValuationRankingAttribute = (props) => {
19856
19770
  */
19857
19771
  const AsStringAttribute = (props) => {
19858
19772
  const { attribute } = props;
19859
- return (hAsync(BasicAttribute, { attribute: attribute },
19860
- hAsync(RowValue, { name: "Value", value: attribute.value, monospace: true })));
19773
+ return (hAsync(BasicAttribute, { attribute: attribute }, hAsync(RowValue, { name: "Value", value: attribute.value, monospace: true })));
19861
19774
  };
19862
19775
 
19863
19776
  /**
@@ -19869,8 +19782,7 @@ const AsStringAttribute = (props) => {
19869
19782
  */
19870
19783
  const UnstructuredNameAttribute = (props) => {
19871
19784
  const { attribute } = props;
19872
- return (hAsync(BasicAttribute, { attribute: attribute },
19873
- hAsync(RowValue, { name: "Value", value: attribute.value.utf8String })));
19785
+ return (hAsync(BasicAttribute, { attribute: attribute }, hAsync(RowValue, { name: "Value", value: attribute.value.utf8String })));
19874
19786
  };
19875
19787
 
19876
19788
  /**
@@ -19882,8 +19794,7 @@ const UnstructuredNameAttribute = (props) => {
19882
19794
  */
19883
19795
  const ChallengePasswordAttribute = (props) => {
19884
19796
  const { attribute } = props;
19885
- return (hAsync(BasicAttribute, { attribute: attribute },
19886
- hAsync(RowValue, { name: "Value", value: attribute.value.toString() })));
19797
+ return (hAsync(BasicAttribute, { attribute: attribute }, hAsync(RowValue, { name: "Value", value: attribute.value.toString() })));
19887
19798
  };
19888
19799
 
19889
19800
  /**
@@ -19899,9 +19810,7 @@ const ExtensionRequestAttribute = (props) => {
19899
19810
  if (attribute.value) {
19900
19811
  extensions = attribute.value.map((e) => new Extension(AsnConvert.serialize(e)));
19901
19812
  }
19902
- return (hAsync(BasicAttribute, { attribute: attribute },
19903
- hAsync(TableRowTable, null,
19904
- hAsync(Extensions, { extensions: extensions, getDNSNameLink: () => '', getIPAddressLink: () => '', getLEILink: () => '' }))));
19813
+ return (hAsync(BasicAttribute, { attribute: attribute }, hAsync(TableRowTable, null, hAsync(Extensions, { extensions: extensions, getDNSNameLink: () => '', getIPAddressLink: () => '', getLEILink: () => '' }))));
19905
19814
  };
19906
19815
 
19907
19816
  /**
@@ -19916,16 +19825,10 @@ const PrivateKeyPossessionStatementAttribute = (props) => {
19916
19825
  const certificateRaw = attribute.value.cert
19917
19826
  ? AsnConvert.serialize(attribute.value.cert)
19918
19827
  : null;
19919
- return (hAsync(BasicAttribute, { attribute: attribute },
19920
- hAsync(RowValue, { name: "Serial Number", value: Convert.ToHex(attribute.value.signer.serialNumber), monospace: true }),
19921
- hAsync(RowValue, { name: "Issuer", value: "" }),
19922
- hAsync(TableRowTable, null,
19923
- hAsync(NamePart, { name: attribute.value.signer.issuer })),
19924
- certificateRaw && [
19925
- hAsync(RowValue, { name: "Certificate", value: "" }),
19926
- hAsync(TableRowTable, null,
19927
- hAsync("peculiar-certificate-viewer", { certificate: Convert.ToBase64(certificateRaw) })),
19928
- ]));
19828
+ return (hAsync(BasicAttribute, { attribute: attribute }, hAsync(RowValue, { name: "Serial Number", value: Convert.ToHex(attribute.value.signer.serialNumber), monospace: true }), hAsync(RowValue, { name: "Issuer", value: "" }), hAsync(TableRowTable, null, hAsync(NamePart, { name: attribute.value.signer.issuer })), certificateRaw && [
19829
+ hAsync(RowValue, { name: "Certificate", value: "" }),
19830
+ hAsync(TableRowTable, null, hAsync("peculiar-certificate-viewer", { certificate: Convert.ToBase64(certificateRaw) })),
19831
+ ]));
19929
19832
  };
19930
19833
 
19931
19834
  /**
@@ -20003,9 +19906,7 @@ const Button = (props, children) => {
20003
19906
  // eslint-disable-next-line react/destructuring-assignment
20004
19907
  m_no_padding: children.length === 0,
20005
19908
  [classProp]: Boolean(classProp),
20006
- }, onClick: onClick },
20007
- startIcon,
20008
- children.length > 0 && (hAsync(Typography, { variant: "b3", color: "black", component: "span" }, children))));
19909
+ }, onClick: onClick }, startIcon, children.length > 0 && (hAsync(Typography, { variant: "b3", color: "black", component: "span" }, children))));
20009
19910
  };
20010
19911
 
20011
19912
  /**
@@ -20017,8 +19918,7 @@ const Button = (props, children) => {
20017
19918
  */
20018
19919
  const DetailsIcon = (props) => {
20019
19920
  const { color = 'secondary' } = props;
20020
- return (hAsync("svg", { xmlns: "http://www.w3.org/2000/svg", width: "30", height: "31", fill: "none" },
20021
- hAsync("path", { fill: `var(--pv-color-${color})`, d: "M6.71 19.79a1 1 0 0 0-.33-.21 1 1 0 0 0-.76 0 1 1 0 0 0-.33.21 1 1 0 0 0-.21.33 1 1 0 0 0 .21 1.09c.097.088.209.16.33.21a.94.94 0 0 0 .76 0 1.15 1.15 0 0 0 .33-.21 1 1 0 0 0 .21-1.09 1 1 0 0 0-.21-.33ZM10 11.5h14a1 1 0 0 0 0-2H10a1 1 0 0 0 0 2Zm-3.29 3.29a1 1 0 0 0-1.09-.21 1.15 1.15 0 0 0-.33.21 1 1 0 0 0-.21.33.94.94 0 0 0 0 .76c.05.121.122.233.21.33.097.088.209.16.33.21a.94.94 0 0 0 .76 0 1.15 1.15 0 0 0 .33-.21 1.15 1.15 0 0 0 .21-.33.94.94 0 0 0 0-.76 1 1 0 0 0-.21-.33ZM24 14.5H10a1 1 0 0 0 0 2h14a1 1 0 0 0 0-2ZM6.71 9.79a1 1 0 0 0-.33-.21 1 1 0 0 0-1.09.21 1.15 1.15 0 0 0-.21.33.94.94 0 0 0 0 .76c.05.121.122.233.21.33.097.088.209.16.33.21a1 1 0 0 0 1.09-.21 1.15 1.15 0 0 0 .21-.33.94.94 0 0 0 0-.76 1.15 1.15 0 0 0-.21-.33ZM24 19.5H10a1 1 0 0 0 0 2h14a1 1 0 0 0 0-2Z" })));
19921
+ return (hAsync("svg", { xmlns: "http://www.w3.org/2000/svg", width: "30", height: "31", fill: "none" }, hAsync("path", { fill: `var(--pv-color-${color})`, d: "M6.71 19.79a1 1 0 0 0-.33-.21 1 1 0 0 0-.76 0 1 1 0 0 0-.33.21 1 1 0 0 0-.21.33 1 1 0 0 0 .21 1.09c.097.088.209.16.33.21a.94.94 0 0 0 .76 0 1.15 1.15 0 0 0 .33-.21 1 1 0 0 0 .21-1.09 1 1 0 0 0-.21-.33ZM10 11.5h14a1 1 0 0 0 0-2H10a1 1 0 0 0 0 2Zm-3.29 3.29a1 1 0 0 0-1.09-.21 1.15 1.15 0 0 0-.33.21 1 1 0 0 0-.21.33.94.94 0 0 0 0 .76c.05.121.122.233.21.33.097.088.209.16.33.21a.94.94 0 0 0 .76 0 1.15 1.15 0 0 0 .33-.21 1.15 1.15 0 0 0 .21-.33.94.94 0 0 0 0-.76 1 1 0 0 0-.21-.33ZM24 14.5H10a1 1 0 0 0 0 2h14a1 1 0 0 0 0-2ZM6.71 9.79a1 1 0 0 0-.33-.21 1 1 0 0 0-1.09.21 1.15 1.15 0 0 0-.21.33.94.94 0 0 0 0 .76c.05.121.122.233.21.33.097.088.209.16.33.21a1 1 0 0 0 1.09-.21 1.15 1.15 0 0 0 .21-.33.94.94 0 0 0 0-.76 1.15 1.15 0 0 0-.21-.33ZM24 19.5H10a1 1 0 0 0 0 2h14a1 1 0 0 0 0-2Z" })));
20022
19922
  };
20023
19923
 
20024
19924
  /**
@@ -20030,8 +19930,7 @@ const DetailsIcon = (props) => {
20030
19930
  */
20031
19931
  const DownloadIcon = (props) => {
20032
19932
  const { color = 'secondary' } = props;
20033
- return (hAsync("svg", { xmlns: "http://www.w3.org/2000/svg", width: "30", height: "30", fill: "none" },
20034
- hAsync("path", { fill: `var(--pv-color-${color})`, d: "M21 12h-2c-.6 0-1 .4-1 1s.4 1 1 1h2c.6 0 1 .4 1 1v7c0 .6-.4 1-1 1H9c-.6 0-1-.4-1-1v-7c0-.6.4-1 1-1h2c.6 0 1-.4 1-1s-.4-1-1-1H9c-1.7 0-3 1.3-3 3v7c0 1.7 1.3 3 3 3h12c1.7 0 3-1.3 3-3v-7c0-1.7-1.3-3-3-3Zm-9.7 5.7 3 3c.2.2.4.3.7.3.3 0 .5-.1.7-.3l3-3c.4-.4.4-1 0-1.4-.4-.4-1-.4-1.4 0L16 17.6V6c0-.6-.4-1-1-1s-1 .4-1 1v11.6l-1.3-1.3c-.4-.4-1-.4-1.4 0-.4.4-.4 1 0 1.4Z" })));
19933
+ return (hAsync("svg", { xmlns: "http://www.w3.org/2000/svg", width: "30", height: "30", fill: "none" }, hAsync("path", { fill: `var(--pv-color-${color})`, d: "M21 12h-2c-.6 0-1 .4-1 1s.4 1 1 1h2c.6 0 1 .4 1 1v7c0 .6-.4 1-1 1H9c-.6 0-1-.4-1-1v-7c0-.6.4-1 1-1h2c.6 0 1-.4 1-1s-.4-1-1-1H9c-1.7 0-3 1.3-3 3v7c0 1.7 1.3 3 3 3h12c1.7 0 3-1.3 3-3v-7c0-1.7-1.3-3-3-3Zm-9.7 5.7 3 3c.2.2.4.3.7.3.3 0 .5-.1.7-.3l3-3c.4-.4.4-1 0-1.4-.4-.4-1-.4-1.4 0L16 17.6V6c0-.6-.4-1-1-1s-1 .4-1 1v11.6l-1.3-1.3c-.4-.4-1-.4-1.4 0-.4.4-.4 1 0 1.4Z" })));
20035
19934
  };
20036
19935
 
20037
19936
  /**
@@ -20043,8 +19942,7 @@ const DownloadIcon = (props) => {
20043
19942
  */
20044
19943
  const LinkIcon = (props) => {
20045
19944
  const { color = 'secondary' } = props;
20046
- return (hAsync("svg", { xmlns: "http://www.w3.org/2000/svg", width: "30", height: "31", fill: "none" },
20047
- hAsync("path", { fill: `var(--pv-color-${color})`, d: "M21 14.32a1 1 0 0 0-1 1v7.18a1 1 0 0 1-1 1H8a1 1 0 0 1-1-1v-11a1 1 0 0 1 1-1h7.18a1 1 0 0 0 0-2H8a3 3 0 0 0-3 3v11a3 3 0 0 0 3 3h11a3 3 0 0 0 3-3v-7.18a1 1 0 0 0-1-1Zm3.92-8.2a1 1 0 0 0-.54-.54A1 1 0 0 0 24 5.5h-6a1 1 0 1 0 0 2h3.59l-10.3 10.29a1.002 1.002 0 0 0 .325 1.639 1 1 0 0 0 1.095-.219L23 8.91v3.59a1 1 0 0 0 2 0v-6a1.001 1.001 0 0 0-.08-.38Z" })));
19945
+ return (hAsync("svg", { xmlns: "http://www.w3.org/2000/svg", width: "30", height: "31", fill: "none" }, hAsync("path", { fill: `var(--pv-color-${color})`, d: "M21 14.32a1 1 0 0 0-1 1v7.18a1 1 0 0 1-1 1H8a1 1 0 0 1-1-1v-11a1 1 0 0 1 1-1h7.18a1 1 0 0 0 0-2H8a3 3 0 0 0-3 3v11a3 3 0 0 0 3 3h11a3 3 0 0 0 3-3v-7.18a1 1 0 0 0-1-1Zm3.92-8.2a1 1 0 0 0-.54-.54A1 1 0 0 0 24 5.5h-6a1 1 0 1 0 0 2h3.59l-10.3 10.29a1.002 1.002 0 0 0 .325 1.639 1 1 0 0 0 1.095-.219L23 8.91v3.59a1 1 0 0 0 2 0v-6a1.001 1.001 0 0 0-.08-.38Z" })));
20048
19946
  };
20049
19947
 
20050
19948
  /**
@@ -20056,8 +19954,7 @@ const LinkIcon = (props) => {
20056
19954
  */
20057
19955
  const ActionsIcon = (props) => {
20058
19956
  const { color = 'gray-10' } = props;
20059
- return (hAsync("svg", { xmlns: "http://www.w3.org/2000/svg", width: "30", height: "31", fill: "none" },
20060
- hAsync("path", { fill: `var(--pv-color-${color})`, d: "M15 13.5a2 2 0 1 0 0 4 2 2 0 0 0 0-4Zm-7 0a2 2 0 1 0 0 4 2 2 0 0 0 0-4Zm14 0a2 2 0 1 0 0 4 2 2 0 0 0 0-4Z" })));
19957
+ return (hAsync("svg", { xmlns: "http://www.w3.org/2000/svg", width: "30", height: "31", fill: "none" }, hAsync("path", { fill: `var(--pv-color-${color})`, d: "M15 13.5a2 2 0 1 0 0 4 2 2 0 0 0 0-4Zm-7 0a2 2 0 1 0 0 4 2 2 0 0 0 0-4Zm14 0a2 2 0 1 0 0 4 2 2 0 0 0 0-4Z" })));
20061
19958
  };
20062
19959
 
20063
19960
  /**
@@ -20069,8 +19966,7 @@ const ActionsIcon = (props) => {
20069
19966
  */
20070
19967
  const ArrowBottomIcon = (props) => {
20071
19968
  const { color = 'gray-10' } = props;
20072
- return (hAsync("svg", { xmlns: "http://www.w3.org/2000/svg", width: "30", height: "30", fill: "none" },
20073
- hAsync("path", { stroke: `var(--pv-color-${color})`, "stroke-linecap": "round", "stroke-width": "1.5", d: "m19.222 12.778-3.851 4.279a.2.2 0 0 1-.297 0l-3.852-4.28" })));
19969
+ return (hAsync("svg", { xmlns: "http://www.w3.org/2000/svg", width: "30", height: "30", fill: "none" }, hAsync("path", { stroke: `var(--pv-color-${color})`, "stroke-linecap": "round", "stroke-width": "1.5", d: "m19.222 12.778-3.851 4.279a.2.2 0 0 1-.297 0l-3.852-4.28" })));
20074
19970
  };
20075
19971
 
20076
19972
  /**
@@ -20082,8 +19978,7 @@ const ArrowBottomIcon = (props) => {
20082
19978
  */
20083
19979
  const ArrowTopIcon = (props) => {
20084
19980
  const { color = 'gray-10' } = props;
20085
- return (hAsync("svg", { xmlns: "http://www.w3.org/2000/svg", width: "30", height: "30", fill: "none" },
20086
- hAsync("path", { stroke: `var(--pv-color-${color})`, "stroke-linecap": "round", "stroke-width": "1.5", d: "m11.222 17.722 3.852-4.28a.2.2 0 0 1 .297 0l3.851 4.28" })));
19981
+ return (hAsync("svg", { xmlns: "http://www.w3.org/2000/svg", width: "30", height: "30", fill: "none" }, hAsync("path", { stroke: `var(--pv-color-${color})`, "stroke-linecap": "round", "stroke-width": "1.5", d: "m11.222 17.722 3.852-4.28a.2.2 0 0 1 .297 0l3.851 4.28" })));
20087
19982
  };
20088
19983
 
20089
19984
  /**
@@ -20095,8 +19990,7 @@ const ArrowTopIcon = (props) => {
20095
19990
  */
20096
19991
  const CrossIcon = (props) => {
20097
19992
  const { color = 'gray-9' } = props;
20098
- return (hAsync("svg", { xmlns: "http://www.w3.org/2000/svg", width: "30", height: "30", fill: "none" },
20099
- hAsync("path", { fill: `var(--pv-color-${color})`, "fill-rule": "evenodd", d: "m16.37 15 5.442 5.44c.25.252.25.663 0 .914l-.459.457a.646.646 0 0 1-.913 0L15 16.371l-5.44 5.44a.648.648 0 0 1-.915 0l-.457-.457a.649.649 0 0 1 0-.913L13.63 15 8.188 9.56a.649.649 0 0 1 0-.914l.457-.457a.648.648 0 0 1 .915 0l5.44 5.44 5.44-5.44a.646.646 0 0 1 .913 0l.46.457c.25.25.25.662 0 .913L16.37 15Z", "clip-rule": "evenodd" })));
19993
+ return (hAsync("svg", { xmlns: "http://www.w3.org/2000/svg", width: "30", height: "30", fill: "none" }, hAsync("path", { fill: `var(--pv-color-${color})`, "fill-rule": "evenodd", d: "m16.37 15 5.442 5.44c.25.252.25.663 0 .914l-.459.457a.646.646 0 0 1-.913 0L15 16.371l-5.44 5.44a.648.648 0 0 1-.915 0l-.457-.457a.649.649 0 0 1 0-.913L13.63 15 8.188 9.56a.649.649 0 0 1 0-.914l.457-.457a.648.648 0 0 1 .915 0l5.44 5.44 5.44-5.44a.646.646 0 0 1 .913 0l.46.457c.25.25.25.662 0 .913L16.37 15Z", "clip-rule": "evenodd" })));
20100
19994
  };
20101
19995
 
20102
19996
  /**
@@ -20110,12 +20004,8 @@ const Miscellaneous = (props) => {
20110
20004
  const { certificate } = props;
20111
20005
  return [
20112
20006
  hAsync(RowTitle, { value: l10n.getString('miscellaneous') }),
20113
- hAsync("tr", null,
20114
- hAsync("td", null,
20115
- hAsync(Button, { startIcon: hAsync(DownloadIcon, null), onClick: () => certificate.downloadAsPEM() }, l10n.getString('download.pem')))),
20116
- hAsync("tr", null,
20117
- hAsync("td", null,
20118
- hAsync(Button, { startIcon: hAsync(DownloadIcon, null), onClick: () => certificate.downloadAsDER() }, l10n.getString('download.der')))),
20007
+ hAsync("tr", null, hAsync("td", null, hAsync(Button, { startIcon: hAsync(DownloadIcon, null), onClick: () => certificate.downloadAsPEM() }, l10n.getString('download.pem')))),
20008
+ hAsync("tr", null, hAsync("td", null, hAsync(Button, { startIcon: hAsync(DownloadIcon, null), onClick: () => certificate.downloadAsDER() }, l10n.getString('download.der')))),
20119
20009
  ];
20120
20010
  };
20121
20011
 
@@ -20148,16 +20038,13 @@ const RevokedCertificates = (props) => {
20148
20038
  if (extension.value instanceof CertificateIssuer && extension.value.length) {
20149
20039
  return ([
20150
20040
  hAsync(RowValue, { name: `${getStringByOID(extension.asn.extnID)}:`, value: "" }),
20151
- extension.value.map((gn) => (hAsync(TableRowTable, null,
20152
- hAsync(GeneralNamePart, { generalName: gn, getDNSNameLink: getDNSNameLink, getIPAddressLink: getIPAddressLink })))),
20041
+ extension.value.map((gn) => (hAsync(TableRowTable, null, hAsync(GeneralNamePart, { generalName: gn, getDNSNameLink: getDNSNameLink, getIPAddressLink: getIPAddressLink })))),
20153
20042
  ]);
20154
20043
  }
20155
20044
  return (hAsync(RowValue, { name: getStringByOID(extension.asn.extnID), value: Convert.ToHex(extension.asn.extnValue), monospace: true }));
20156
20045
  })),
20157
20046
  ])),
20158
- hAsync("tr", null,
20159
- hAsync("td", { colSpan: 2, class: "divider" },
20160
- hAsync("span", null))),
20047
+ hAsync("tr", null, hAsync("td", { colSpan: 2, class: "divider" }, hAsync("span", null))),
20161
20048
  ])),
20162
20049
  ];
20163
20050
  };
@@ -20179,20 +20066,13 @@ const Holder = (props) => {
20179
20066
  hAsync(RowTitle, { value: l10n.getString('holder') }),
20180
20067
  baseCertificateID && ([
20181
20068
  baseCertificateID.issuer.map((item) => (hAsync(GeneralNamePart, { generalName: item, getDNSNameLink: () => '', getIPAddressLink: () => '' }))),
20182
- hAsync("tr", null,
20183
- hAsync("td", null),
20184
- hAsync("td", null)),
20069
+ hAsync("tr", null, hAsync("td", null), hAsync("td", null)),
20185
20070
  hAsync(RowValue, { name: l10n.getString('serialNumber'), value: Convert.ToHex(baseCertificateID.serial), monospace: true }),
20186
- hAsync("tr", null,
20187
- hAsync("td", null),
20188
- hAsync("td", null)),
20071
+ hAsync("tr", null, hAsync("td", null), hAsync("td", null)),
20189
20072
  ]),
20190
20073
  objectDigestInfo && ([
20191
20074
  hAsync(RowValue, { name: l10n.getString('digestInfo'), value: "" }),
20192
- hAsync(TableRowTable, null,
20193
- hAsync(RowValue, { name: l10n.getString('algorithm'), value: getStringByOID(objectDigestInfo.digestAlgorithm.algorithm) }),
20194
- hAsync(RowValue, { name: l10n.getString('value'), value: Convert.ToHex(objectDigestInfo.objectDigest), monospace: true }),
20195
- hAsync(RowValue, { name: l10n.getString('type'), value: objectDigestInfo.digestedObjectType })),
20075
+ hAsync(TableRowTable, null, hAsync(RowValue, { name: l10n.getString('algorithm'), value: getStringByOID(objectDigestInfo.digestAlgorithm.algorithm) }), hAsync(RowValue, { name: l10n.getString('value'), value: Convert.ToHex(objectDigestInfo.objectDigest), monospace: true }), hAsync(RowValue, { name: l10n.getString('type'), value: objectDigestInfo.digestedObjectType })),
20196
20076
  ]),
20197
20077
  ];
20198
20078
  };
@@ -20369,7 +20249,7 @@ class ButtonMenu {
20369
20249
  }; }
20370
20250
  }
20371
20251
 
20372
- const certificateChainViewerCss = "*{-webkit-box-sizing:border-box;box-sizing:border-box;margin:0;padding:0;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-moz-text-size-adjust:none;-ms-text-size-adjust:none;text-size-adjust:none;-webkit-text-size-adjust:none;-webkit-tap-highlight-color:transparent;font-family:var(--pv-font-family, inherit)}.t-h1{font-weight:var(--pv-text-h1-weight);font-size:var(--pv-text-h1-size);line-height:var(--pv-text-h1-height);letter-spacing:var(--pv-text-h1-spacing)}.t-h2{font-weight:var(--pv-text-h2-weight);font-size:var(--pv-text-h2-size);line-height:var(--pv-text-h2-height);letter-spacing:var(--pv-text-h2-spacing)}.t-h3{font-weight:var(--pv-text-h3-weight);font-size:var(--pv-text-h3-size);line-height:var(--pv-text-h3-height);letter-spacing:var(--pv-text-h3-spacing)}.t-h4{font-weight:var(--pv-text-h4-weight);font-size:var(--pv-text-h4-size);line-height:var(--pv-text-h4-height);letter-spacing:var(--pv-text-h4-spacing)}.t-h5{font-weight:var(--pv-text-h5-weight);font-size:var(--pv-text-h5-size);line-height:var(--pv-text-h5-height);letter-spacing:var(--pv-text-h5-spacing)}.t-s1{font-weight:var(--pv-text-s1-weight);font-size:var(--pv-text-s1-size);line-height:var(--pv-text-s1-height);letter-spacing:var(--pv-text-s1-spacing)}.t-s2{font-weight:var(--pv-text-s2-weight);font-size:var(--pv-text-s2-size);line-height:var(--pv-text-s2-height);letter-spacing:var(--pv-text-s2-spacing)}.t-b1{font-weight:var(--pv-text-b1-weight);font-size:var(--pv-text-b1-size);line-height:var(--pv-text-b1-height);letter-spacing:var(--pv-text-b1-spacing)}.t-b2{font-weight:var(--pv-text-b2-weight);font-size:var(--pv-text-b2-size);line-height:var(--pv-text-b2-height);letter-spacing:var(--pv-text-b2-spacing)}.t-b3{font-weight:var(--pv-text-b3-weight);font-size:var(--pv-text-b3-size);line-height:var(--pv-text-b3-height);letter-spacing:var(--pv-text-b3-spacing)}.t-btn1{font-weight:var(--pv-text-btn1-weight);font-size:var(--pv-text-btn1-size);line-height:var(--pv-text-btn1-height);letter-spacing:var(--pv-text-btn1-spacing)}.t-btn2{font-weight:var(--pv-text-btn2-weight);font-size:var(--pv-text-btn2-size);line-height:var(--pv-text-btn2-height);letter-spacing:var(--pv-text-btn2-spacing)}.t-c1{font-weight:var(--pv-text-c1-weight);font-size:var(--pv-text-c1-size);line-height:var(--pv-text-c1-height);letter-spacing:var(--pv-text-c1-spacing)}.t-c2{font-weight:var(--pv-text-c2-weight);font-size:var(--pv-text-c2-size);line-height:var(--pv-text-c2-height);letter-spacing:var(--pv-text-c2-spacing)}.c-primary-tint-5{--pv-color-base:var(--pv-color-primary-tint-5)}.c-primary-tint-4{--pv-color-base:var(--pv-color-primary-tint-4)}.c-primary-tint-3{--pv-color-base:var(--pv-color-primary-tint-3)}.c-primary-tint-2{--pv-color-base:var(--pv-color-primary-tint-2)}.c-primary-tint-1{--pv-color-base:var(--pv-color-primary-tint-1)}.c-primary{--pv-color-base:var(--pv-color-primary)}.c-primary-shade-1{--pv-color-base:var(--pv-color-primary-shade-1)}.c-primary-shade-2{--pv-color-base:var(--pv-color-primary-shade-2)}.c-primary-shade-3{--pv-color-base:var(--pv-color-primary-shade-3)}.c-primary-shade-4{--pv-color-base:var(--pv-color-primary-shade-4)}.c-primary-shade-5{--pv-color-base:var(--pv-color-primary-shade-5)}.c-primary-contrast{--pv-color-base:var(--pv-color-primary-contrast)}.c-secondary-tint-5{--pv-color-base:var(--pv-color-secondary-tint-5)}.c-secondary-tint-4{--pv-color-base:var(--pv-color-secondary-tint-4)}.c-secondary-tint-3{--pv-color-base:var(--pv-color-secondary-tint-3)}.c-secondary-tint-2{--pv-color-base:var(--pv-color-secondary-tint-2)}.c-secondary-tint-1{--pv-color-base:var(--pv-color-secondary-tint-1)}.c-secondary{--pv-color-base:var(--pv-color-secondary)}.c-secondary-shade-1{--pv-color-base:var(--pv-color-secondary-shade-1)}.c-secondary-shade-2{--pv-color-base:var(--pv-color-secondary-shade-2)}.c-secondary-shade-3{--pv-color-base:var(--pv-color-secondary-shade-3)}.c-secondary-shade-4{--pv-color-base:var(--pv-color-secondary-shade-4)}.c-secondary-shade-5{--pv-color-base:var(--pv-color-secondary-shade-5)}.c-secondary-contrast{--pv-color-base:var(--pv-color-secondary-contrast)}.c-wrong-tint-5{--pv-color-base:var(--pv-color-wrong-tint-5)}.c-wrong-tint-4{--pv-color-base:var(--pv-color-wrong-tint-4)}.c-wrong-tint-3{--pv-color-base:var(--pv-color-wrong-tint-3)}.c-wrong-tint-2{--pv-color-base:var(--pv-color-wrong-tint-2)}.c-wrong-tint-1{--pv-color-base:var(--pv-color-wrong-tint-1)}.c-wrong{--pv-color-base:var(--pv-color-wrong)}.c-wrong-shade-1{--pv-color-base:var(--pv-color-wrong-shade-1)}.c-wrong-shade-2{--pv-color-base:var(--pv-color-wrong-shade-2)}.c-wrong-shade-3{--pv-color-base:var(--pv-color-wrong-shade-3)}.c-wrong-shade-4{--pv-color-base:var(--pv-color-wrong-shade-4)}.c-wrong-shade-5{--pv-color-base:var(--pv-color-wrong-shade-5)}.c-wrong-contrast{--pv-color-base:var(--pv-color-wrong-contrast)}.c-attention-tint-5{--pv-color-base:var(--pv-color-attention-tint-5)}.c-attention-tint-4{--pv-color-base:var(--pv-color-attention-tint-4)}.c-attention-tint-3{--pv-color-base:var(--pv-color-attention-tint-3)}.c-attention-tint-2{--pv-color-base:var(--pv-color-attention-tint-2)}.c-attention-tint-1{--pv-color-base:var(--pv-color-attention-tint-1)}.c-attention{--pv-color-base:var(--pv-color-attention)}.c-attention-shade-1{--pv-color-base:var(--pv-color-attention-shade-1)}.c-attention-shade-2{--pv-color-base:var(--pv-color-attention-shade-2)}.c-attention-shade-3{--pv-color-base:var(--pv-color-attention-shade-3)}.c-attention-shade-4{--pv-color-base:var(--pv-color-attention-shade-4)}.c-attention-shade-5{--pv-color-base:var(--pv-color-attention-shade-5)}.c-success-tint-5{--pv-color-base:var(--pv-color-success-tint-5)}.c-success-tint-4{--pv-color-base:var(--pv-color-success-tint-4)}.c-success-tint-3{--pv-color-base:var(--pv-color-success-tint-3)}.c-success-tint-2{--pv-color-base:var(--pv-color-success-tint-2)}.c-success-tint-1{--pv-color-base:var(--pv-color-success-tint-1)}.c-success{--pv-color-base:var(--pv-color-success)}.c-success-shade-1{--pv-color-base:var(--pv-color-success-shade-1)}.c-success-shade-2{--pv-color-base:var(--pv-color-success-shade-2)}.c-success-shade-3{--pv-color-base:var(--pv-color-success-shade-3)}.c-success-shade-4{--pv-color-base:var(--pv-color-success-shade-4)}.c-success-shade-5{--pv-color-base:var(--pv-color-success-shade-5)}.c-black{--pv-color-base:var(--pv-color-black)}.c-gray-10{--pv-color-base:var(--pv-color-gray-10)}.c-gray-9{--pv-color-base:var(--pv-color-gray-9)}.c-gray-8{--pv-color-base:var(--pv-color-gray-8)}.c-gray-7{--pv-color-base:var(--pv-color-gray-7)}.c-gray-6{--pv-color-base:var(--pv-color-gray-6)}.c-gray-5{--pv-color-base:var(--pv-color-gray-5)}.c-gray-4{--pv-color-base:var(--pv-color-gray-4)}.c-gray-3{--pv-color-base:var(--pv-color-gray-3)}.c-gray-2{--pv-color-base:var(--pv-color-gray-2)}.c-gray-1{--pv-color-base:var(--pv-color-gray-1)}.c-white{--pv-color-base:var(--pv-color-white)}.c-extra-1{--pv-color-base:var(--pv-color-extra-1)}.c-extra-2{--pv-color-base:var(--pv-color-extra-2)}.typography{color:var(--pv-color-base)}.button{display:-ms-inline-flexbox;display:inline-flex;cursor:pointer;background:transparent;border:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;white-space:nowrap;text-decoration:none;outline:none;font-family:inherit;border-radius:4px;height:var(--pv-size-base-6);min-width:var(--pv-size-base-6);padding:0 var(--pv-size-base-2);-webkit-transition:background-color 200ms ease 0s;transition:background-color 200ms ease 0s;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;gap:var(--pv-size-base-2);font-size:0}.button.m_no_padding{padding:0}.button:hover{background-color:var(--pv-color-gray-3)}.button:focus{background-color:var(--pv-color-gray-4)}.button:active{background-color:var(--pv-color-gray-5)}*{-webkit-box-sizing:border-box;box-sizing:border-box;margin:0;padding:0;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-moz-text-size-adjust:none;-ms-text-size-adjust:none;text-size-adjust:none;-webkit-text-size-adjust:none;-webkit-tap-highlight-color:transparent;font-family:var(--pv-font-family, inherit)}.t-h1{font-weight:var(--pv-text-h1-weight);font-size:var(--pv-text-h1-size);line-height:var(--pv-text-h1-height);letter-spacing:var(--pv-text-h1-spacing)}.t-h2{font-weight:var(--pv-text-h2-weight);font-size:var(--pv-text-h2-size);line-height:var(--pv-text-h2-height);letter-spacing:var(--pv-text-h2-spacing)}.t-h3{font-weight:var(--pv-text-h3-weight);font-size:var(--pv-text-h3-size);line-height:var(--pv-text-h3-height);letter-spacing:var(--pv-text-h3-spacing)}.t-h4{font-weight:var(--pv-text-h4-weight);font-size:var(--pv-text-h4-size);line-height:var(--pv-text-h4-height);letter-spacing:var(--pv-text-h4-spacing)}.t-h5{font-weight:var(--pv-text-h5-weight);font-size:var(--pv-text-h5-size);line-height:var(--pv-text-h5-height);letter-spacing:var(--pv-text-h5-spacing)}.t-s1{font-weight:var(--pv-text-s1-weight);font-size:var(--pv-text-s1-size);line-height:var(--pv-text-s1-height);letter-spacing:var(--pv-text-s1-spacing)}.t-s2{font-weight:var(--pv-text-s2-weight);font-size:var(--pv-text-s2-size);line-height:var(--pv-text-s2-height);letter-spacing:var(--pv-text-s2-spacing)}.t-b1{font-weight:var(--pv-text-b1-weight);font-size:var(--pv-text-b1-size);line-height:var(--pv-text-b1-height);letter-spacing:var(--pv-text-b1-spacing)}.t-b2{font-weight:var(--pv-text-b2-weight);font-size:var(--pv-text-b2-size);line-height:var(--pv-text-b2-height);letter-spacing:var(--pv-text-b2-spacing)}.t-b3{font-weight:var(--pv-text-b3-weight);font-size:var(--pv-text-b3-size);line-height:var(--pv-text-b3-height);letter-spacing:var(--pv-text-b3-spacing)}.t-btn1{font-weight:var(--pv-text-btn1-weight);font-size:var(--pv-text-btn1-size);line-height:var(--pv-text-btn1-height);letter-spacing:var(--pv-text-btn1-spacing)}.t-btn2{font-weight:var(--pv-text-btn2-weight);font-size:var(--pv-text-btn2-size);line-height:var(--pv-text-btn2-height);letter-spacing:var(--pv-text-btn2-spacing)}.t-c1{font-weight:var(--pv-text-c1-weight);font-size:var(--pv-text-c1-size);line-height:var(--pv-text-c1-height);letter-spacing:var(--pv-text-c1-spacing)}.t-c2{font-weight:var(--pv-text-c2-weight);font-size:var(--pv-text-c2-size);line-height:var(--pv-text-c2-height);letter-spacing:var(--pv-text-c2-spacing)}.c-primary-tint-5{--pv-color-base:var(--pv-color-primary-tint-5)}.c-primary-tint-4{--pv-color-base:var(--pv-color-primary-tint-4)}.c-primary-tint-3{--pv-color-base:var(--pv-color-primary-tint-3)}.c-primary-tint-2{--pv-color-base:var(--pv-color-primary-tint-2)}.c-primary-tint-1{--pv-color-base:var(--pv-color-primary-tint-1)}.c-primary{--pv-color-base:var(--pv-color-primary)}.c-primary-shade-1{--pv-color-base:var(--pv-color-primary-shade-1)}.c-primary-shade-2{--pv-color-base:var(--pv-color-primary-shade-2)}.c-primary-shade-3{--pv-color-base:var(--pv-color-primary-shade-3)}.c-primary-shade-4{--pv-color-base:var(--pv-color-primary-shade-4)}.c-primary-shade-5{--pv-color-base:var(--pv-color-primary-shade-5)}.c-primary-contrast{--pv-color-base:var(--pv-color-primary-contrast)}.c-secondary-tint-5{--pv-color-base:var(--pv-color-secondary-tint-5)}.c-secondary-tint-4{--pv-color-base:var(--pv-color-secondary-tint-4)}.c-secondary-tint-3{--pv-color-base:var(--pv-color-secondary-tint-3)}.c-secondary-tint-2{--pv-color-base:var(--pv-color-secondary-tint-2)}.c-secondary-tint-1{--pv-color-base:var(--pv-color-secondary-tint-1)}.c-secondary{--pv-color-base:var(--pv-color-secondary)}.c-secondary-shade-1{--pv-color-base:var(--pv-color-secondary-shade-1)}.c-secondary-shade-2{--pv-color-base:var(--pv-color-secondary-shade-2)}.c-secondary-shade-3{--pv-color-base:var(--pv-color-secondary-shade-3)}.c-secondary-shade-4{--pv-color-base:var(--pv-color-secondary-shade-4)}.c-secondary-shade-5{--pv-color-base:var(--pv-color-secondary-shade-5)}.c-secondary-contrast{--pv-color-base:var(--pv-color-secondary-contrast)}.c-wrong-tint-5{--pv-color-base:var(--pv-color-wrong-tint-5)}.c-wrong-tint-4{--pv-color-base:var(--pv-color-wrong-tint-4)}.c-wrong-tint-3{--pv-color-base:var(--pv-color-wrong-tint-3)}.c-wrong-tint-2{--pv-color-base:var(--pv-color-wrong-tint-2)}.c-wrong-tint-1{--pv-color-base:var(--pv-color-wrong-tint-1)}.c-wrong{--pv-color-base:var(--pv-color-wrong)}.c-wrong-shade-1{--pv-color-base:var(--pv-color-wrong-shade-1)}.c-wrong-shade-2{--pv-color-base:var(--pv-color-wrong-shade-2)}.c-wrong-shade-3{--pv-color-base:var(--pv-color-wrong-shade-3)}.c-wrong-shade-4{--pv-color-base:var(--pv-color-wrong-shade-4)}.c-wrong-shade-5{--pv-color-base:var(--pv-color-wrong-shade-5)}.c-wrong-contrast{--pv-color-base:var(--pv-color-wrong-contrast)}.c-attention-tint-5{--pv-color-base:var(--pv-color-attention-tint-5)}.c-attention-tint-4{--pv-color-base:var(--pv-color-attention-tint-4)}.c-attention-tint-3{--pv-color-base:var(--pv-color-attention-tint-3)}.c-attention-tint-2{--pv-color-base:var(--pv-color-attention-tint-2)}.c-attention-tint-1{--pv-color-base:var(--pv-color-attention-tint-1)}.c-attention{--pv-color-base:var(--pv-color-attention)}.c-attention-shade-1{--pv-color-base:var(--pv-color-attention-shade-1)}.c-attention-shade-2{--pv-color-base:var(--pv-color-attention-shade-2)}.c-attention-shade-3{--pv-color-base:var(--pv-color-attention-shade-3)}.c-attention-shade-4{--pv-color-base:var(--pv-color-attention-shade-4)}.c-attention-shade-5{--pv-color-base:var(--pv-color-attention-shade-5)}.c-success-tint-5{--pv-color-base:var(--pv-color-success-tint-5)}.c-success-tint-4{--pv-color-base:var(--pv-color-success-tint-4)}.c-success-tint-3{--pv-color-base:var(--pv-color-success-tint-3)}.c-success-tint-2{--pv-color-base:var(--pv-color-success-tint-2)}.c-success-tint-1{--pv-color-base:var(--pv-color-success-tint-1)}.c-success{--pv-color-base:var(--pv-color-success)}.c-success-shade-1{--pv-color-base:var(--pv-color-success-shade-1)}.c-success-shade-2{--pv-color-base:var(--pv-color-success-shade-2)}.c-success-shade-3{--pv-color-base:var(--pv-color-success-shade-3)}.c-success-shade-4{--pv-color-base:var(--pv-color-success-shade-4)}.c-success-shade-5{--pv-color-base:var(--pv-color-success-shade-5)}.c-black{--pv-color-base:var(--pv-color-black)}.c-gray-10{--pv-color-base:var(--pv-color-gray-10)}.c-gray-9{--pv-color-base:var(--pv-color-gray-9)}.c-gray-8{--pv-color-base:var(--pv-color-gray-8)}.c-gray-7{--pv-color-base:var(--pv-color-gray-7)}.c-gray-6{--pv-color-base:var(--pv-color-gray-6)}.c-gray-5{--pv-color-base:var(--pv-color-gray-5)}.c-gray-4{--pv-color-base:var(--pv-color-gray-4)}.c-gray-3{--pv-color-base:var(--pv-color-gray-3)}.c-gray-2{--pv-color-base:var(--pv-color-gray-2)}.c-gray-1{--pv-color-base:var(--pv-color-gray-1)}.c-white{--pv-color-base:var(--pv-color-white)}.c-extra-1{--pv-color-base:var(--pv-color-extra-1)}.c-extra-2{--pv-color-base:var(--pv-color-extra-2)}.typography{color:var(--pv-color-base)}.button{display:-ms-inline-flexbox;display:inline-flex;cursor:pointer;background:transparent;border:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;white-space:nowrap;text-decoration:none;outline:none;font-family:inherit;border-radius:4px;height:var(--pv-size-base-6);min-width:var(--pv-size-base-6);padding:0 var(--pv-size-base-2);-webkit-transition:background-color 200ms ease 0s;transition:background-color 200ms ease 0s;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;gap:var(--pv-size-base-2);font-size:0}.button.m_no_padding{padding:0}.button:hover{background-color:var(--pv-color-gray-3)}.button:focus{background-color:var(--pv-color-gray-4)}.button:active{background-color:var(--pv-color-gray-5)}:host{display:block;width:100%;position:relative;min-width:280px;min-height:300px;word-wrap:break-word;word-break:break-word}th,td{border:none}table{width:100%;border-spacing:0;border-collapse:collapse}table tr:last-child .divider{display:none}table td{padding:var(--pv-size-base-2) var(--pv-size-base-4);vertical-align:top}table td:first-child{width:220px}table td:last-child{width:calc(100% - 220px)}table td.monospace{max-width:0}table td.divider{padding:var(--pv-size-base-2) 0}table td.divider span{height:1px;display:block;background-color:var(--pv-color-gray-4)}table .title td{padding-top:var(--pv-size-base-6);padding-bottom:var(--pv-size-base-2)}table table{border-left:1px solid var(--pv-color-gray-5)}.status_wrapper{min-height:inherit;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}:host([data-mobile-screen-view=true]) table,:host([data-mobile-screen-view=true]) tr,:host([data-mobile-screen-view=true]) td{display:block}:host([data-mobile-screen-view=true]) table tr{padding:var(--pv-size-base-2) 0}:host([data-mobile-screen-view=true]) table tr.title{padding-top:var(--pv-size-base-6)}:host([data-mobile-screen-view=true]) table tr.title td{padding:0 var(--pv-size-base-4)}:host([data-mobile-screen-view=true]) table td{padding:0 var(--pv-size-base-4);width:100% !important;max-width:100% !important}:host([data-mobile-screen-view=true]) table td.divider{padding:0}:host{display:block;width:100%}.tabs{white-space:nowrap;overflow-x:auto;border-bottom:1px solid var(--pv-color-gray-4);padding:0 var(--pv-size-base-4);margin-bottom:var(--pv-size-base-6)}.tab{font-family:inherit;outline:none;cursor:pointer;-webkit-box-sizing:border-box;box-sizing:border-box;border:none;border-bottom:3px solid transparent;min-height:var(--pv-size-base-12);height:100%;padding:0 var(--pv-size-base-3);background-color:transparent;-webkit-transition:background-color 200ms, color 200ms, border-color 200ms;transition:background-color 200ms, color 200ms, border-color 200ms;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;text-decoration:none;font-weight:var(--pv-text-s2-weight);font-size:var(--pv-text-s2-size);line-height:var(--pv-text-s2-height);letter-spacing:var(--pv-text-s2-spacing);color:var(--pv-color-gray-10)}.tab:hover{background-color:var(--pv-color-secondary-tint-5)}.tab[aria-selected=true]{color:var(--pv-color-black);border-color:var(--pv-color-secondary)}.status_wrapper{min-height:inherit;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}";
20252
+ const certificateChainViewerCss = "*{-webkit-box-sizing:border-box;box-sizing:border-box;margin:0;padding:0;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-moz-text-size-adjust:none;-ms-text-size-adjust:none;text-size-adjust:none;-webkit-text-size-adjust:none;-webkit-tap-highlight-color:transparent;font-family:var(--pv-font-family, inherit)}.t-h1{font-weight:var(--pv-text-h1-weight);font-size:var(--pv-text-h1-size);line-height:var(--pv-text-h1-height);letter-spacing:var(--pv-text-h1-spacing)}.t-h2{font-weight:var(--pv-text-h2-weight);font-size:var(--pv-text-h2-size);line-height:var(--pv-text-h2-height);letter-spacing:var(--pv-text-h2-spacing)}.t-h3{font-weight:var(--pv-text-h3-weight);font-size:var(--pv-text-h3-size);line-height:var(--pv-text-h3-height);letter-spacing:var(--pv-text-h3-spacing)}.t-h4{font-weight:var(--pv-text-h4-weight);font-size:var(--pv-text-h4-size);line-height:var(--pv-text-h4-height);letter-spacing:var(--pv-text-h4-spacing)}.t-h5{font-weight:var(--pv-text-h5-weight);font-size:var(--pv-text-h5-size);line-height:var(--pv-text-h5-height);letter-spacing:var(--pv-text-h5-spacing)}.t-s1{font-weight:var(--pv-text-s1-weight);font-size:var(--pv-text-s1-size);line-height:var(--pv-text-s1-height);letter-spacing:var(--pv-text-s1-spacing)}.t-s2{font-weight:var(--pv-text-s2-weight);font-size:var(--pv-text-s2-size);line-height:var(--pv-text-s2-height);letter-spacing:var(--pv-text-s2-spacing)}.t-b1{font-weight:var(--pv-text-b1-weight);font-size:var(--pv-text-b1-size);line-height:var(--pv-text-b1-height);letter-spacing:var(--pv-text-b1-spacing)}.t-b2{font-weight:var(--pv-text-b2-weight);font-size:var(--pv-text-b2-size);line-height:var(--pv-text-b2-height);letter-spacing:var(--pv-text-b2-spacing)}.t-b3{font-weight:var(--pv-text-b3-weight);font-size:var(--pv-text-b3-size);line-height:var(--pv-text-b3-height);letter-spacing:var(--pv-text-b3-spacing)}.t-btn1{font-weight:var(--pv-text-btn1-weight);font-size:var(--pv-text-btn1-size);line-height:var(--pv-text-btn1-height);letter-spacing:var(--pv-text-btn1-spacing)}.t-btn2{font-weight:var(--pv-text-btn2-weight);font-size:var(--pv-text-btn2-size);line-height:var(--pv-text-btn2-height);letter-spacing:var(--pv-text-btn2-spacing)}.t-c1{font-weight:var(--pv-text-c1-weight);font-size:var(--pv-text-c1-size);line-height:var(--pv-text-c1-height);letter-spacing:var(--pv-text-c1-spacing)}.t-c2{font-weight:var(--pv-text-c2-weight);font-size:var(--pv-text-c2-size);line-height:var(--pv-text-c2-height);letter-spacing:var(--pv-text-c2-spacing)}.c-primary-tint-5{--pv-color-base:var(--pv-color-primary-tint-5)}.c-primary-tint-4{--pv-color-base:var(--pv-color-primary-tint-4)}.c-primary-tint-3{--pv-color-base:var(--pv-color-primary-tint-3)}.c-primary-tint-2{--pv-color-base:var(--pv-color-primary-tint-2)}.c-primary-tint-1{--pv-color-base:var(--pv-color-primary-tint-1)}.c-primary{--pv-color-base:var(--pv-color-primary)}.c-primary-shade-1{--pv-color-base:var(--pv-color-primary-shade-1)}.c-primary-shade-2{--pv-color-base:var(--pv-color-primary-shade-2)}.c-primary-shade-3{--pv-color-base:var(--pv-color-primary-shade-3)}.c-primary-shade-4{--pv-color-base:var(--pv-color-primary-shade-4)}.c-primary-shade-5{--pv-color-base:var(--pv-color-primary-shade-5)}.c-primary-contrast{--pv-color-base:var(--pv-color-primary-contrast)}.c-secondary-tint-5{--pv-color-base:var(--pv-color-secondary-tint-5)}.c-secondary-tint-4{--pv-color-base:var(--pv-color-secondary-tint-4)}.c-secondary-tint-3{--pv-color-base:var(--pv-color-secondary-tint-3)}.c-secondary-tint-2{--pv-color-base:var(--pv-color-secondary-tint-2)}.c-secondary-tint-1{--pv-color-base:var(--pv-color-secondary-tint-1)}.c-secondary{--pv-color-base:var(--pv-color-secondary)}.c-secondary-shade-1{--pv-color-base:var(--pv-color-secondary-shade-1)}.c-secondary-shade-2{--pv-color-base:var(--pv-color-secondary-shade-2)}.c-secondary-shade-3{--pv-color-base:var(--pv-color-secondary-shade-3)}.c-secondary-shade-4{--pv-color-base:var(--pv-color-secondary-shade-4)}.c-secondary-shade-5{--pv-color-base:var(--pv-color-secondary-shade-5)}.c-secondary-contrast{--pv-color-base:var(--pv-color-secondary-contrast)}.c-wrong-tint-5{--pv-color-base:var(--pv-color-wrong-tint-5)}.c-wrong-tint-4{--pv-color-base:var(--pv-color-wrong-tint-4)}.c-wrong-tint-3{--pv-color-base:var(--pv-color-wrong-tint-3)}.c-wrong-tint-2{--pv-color-base:var(--pv-color-wrong-tint-2)}.c-wrong-tint-1{--pv-color-base:var(--pv-color-wrong-tint-1)}.c-wrong{--pv-color-base:var(--pv-color-wrong)}.c-wrong-shade-1{--pv-color-base:var(--pv-color-wrong-shade-1)}.c-wrong-shade-2{--pv-color-base:var(--pv-color-wrong-shade-2)}.c-wrong-shade-3{--pv-color-base:var(--pv-color-wrong-shade-3)}.c-wrong-shade-4{--pv-color-base:var(--pv-color-wrong-shade-4)}.c-wrong-shade-5{--pv-color-base:var(--pv-color-wrong-shade-5)}.c-wrong-contrast{--pv-color-base:var(--pv-color-wrong-contrast)}.c-attention-tint-5{--pv-color-base:var(--pv-color-attention-tint-5)}.c-attention-tint-4{--pv-color-base:var(--pv-color-attention-tint-4)}.c-attention-tint-3{--pv-color-base:var(--pv-color-attention-tint-3)}.c-attention-tint-2{--pv-color-base:var(--pv-color-attention-tint-2)}.c-attention-tint-1{--pv-color-base:var(--pv-color-attention-tint-1)}.c-attention{--pv-color-base:var(--pv-color-attention)}.c-attention-shade-1{--pv-color-base:var(--pv-color-attention-shade-1)}.c-attention-shade-2{--pv-color-base:var(--pv-color-attention-shade-2)}.c-attention-shade-3{--pv-color-base:var(--pv-color-attention-shade-3)}.c-attention-shade-4{--pv-color-base:var(--pv-color-attention-shade-4)}.c-attention-shade-5{--pv-color-base:var(--pv-color-attention-shade-5)}.c-success-tint-5{--pv-color-base:var(--pv-color-success-tint-5)}.c-success-tint-4{--pv-color-base:var(--pv-color-success-tint-4)}.c-success-tint-3{--pv-color-base:var(--pv-color-success-tint-3)}.c-success-tint-2{--pv-color-base:var(--pv-color-success-tint-2)}.c-success-tint-1{--pv-color-base:var(--pv-color-success-tint-1)}.c-success{--pv-color-base:var(--pv-color-success)}.c-success-shade-1{--pv-color-base:var(--pv-color-success-shade-1)}.c-success-shade-2{--pv-color-base:var(--pv-color-success-shade-2)}.c-success-shade-3{--pv-color-base:var(--pv-color-success-shade-3)}.c-success-shade-4{--pv-color-base:var(--pv-color-success-shade-4)}.c-success-shade-5{--pv-color-base:var(--pv-color-success-shade-5)}.c-black{--pv-color-base:var(--pv-color-black)}.c-gray-10{--pv-color-base:var(--pv-color-gray-10)}.c-gray-9{--pv-color-base:var(--pv-color-gray-9)}.c-gray-8{--pv-color-base:var(--pv-color-gray-8)}.c-gray-7{--pv-color-base:var(--pv-color-gray-7)}.c-gray-6{--pv-color-base:var(--pv-color-gray-6)}.c-gray-5{--pv-color-base:var(--pv-color-gray-5)}.c-gray-4{--pv-color-base:var(--pv-color-gray-4)}.c-gray-3{--pv-color-base:var(--pv-color-gray-3)}.c-gray-2{--pv-color-base:var(--pv-color-gray-2)}.c-gray-1{--pv-color-base:var(--pv-color-gray-1)}.c-white{--pv-color-base:var(--pv-color-white)}.c-extra-1{--pv-color-base:var(--pv-color-extra-1)}.c-extra-2{--pv-color-base:var(--pv-color-extra-2)}.typography{color:var(--pv-color-base)}.button{display:-ms-inline-flexbox;display:inline-flex;cursor:pointer;background:transparent;border:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;white-space:nowrap;text-decoration:none;outline:none;font-family:inherit;border-radius:4px;height:var(--pv-size-base-6);min-width:var(--pv-size-base-6);padding:0 var(--pv-size-base-2);-webkit-transition:background-color 200ms ease 0s;transition:background-color 200ms ease 0s;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;gap:var(--pv-size-base-2);font-size:0}.button.m_no_padding{padding:0}.button:hover{background-color:var(--pv-color-gray-3)}.button:focus{background-color:var(--pv-color-gray-4)}.button:active{background-color:var(--pv-color-gray-5)}:host{display:block;width:100%;position:relative;min-width:280px;min-height:300px;word-wrap:break-word;word-break:break-word}th,td{border:none}table{width:100%;border-spacing:0;border-collapse:collapse}table tr:last-child .divider{display:none}table td{padding:var(--pv-size-base-2) var(--pv-size-base-4);vertical-align:top}table td:first-child{width:220px}table td:last-child{width:calc(100% - 220px)}table td.monospace{max-width:0}table td.divider{padding:var(--pv-size-base-2) 0}table td.divider span{height:1px;display:block;background-color:var(--pv-color-gray-4)}table .title td{padding-top:var(--pv-size-base-6);padding-bottom:var(--pv-size-base-2)}table table{border-left:1px solid var(--pv-color-gray-5)}.status_wrapper{min-height:inherit;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}:host([data-mobile-screen-view=true]) table,:host([data-mobile-screen-view=true]) tr,:host([data-mobile-screen-view=true]) td{display:block}:host([data-mobile-screen-view=true]) table tr{padding:var(--pv-size-base-2) 0}:host([data-mobile-screen-view=true]) table tr.title{padding-top:var(--pv-size-base-6)}:host([data-mobile-screen-view=true]) table tr.title td{padding:0 var(--pv-size-base-4)}:host([data-mobile-screen-view=true]) table td{padding:0 var(--pv-size-base-4);width:100% !important;max-width:100% !important}:host([data-mobile-screen-view=true]) table td.divider{padding:0}:host{display:block;width:100%}.tabs{white-space:nowrap;overflow-x:auto;border-bottom:1px solid var(--pv-color-gray-4);padding:0 var(--pv-size-base-4);margin-bottom:var(--pv-size-base-6)}.tab{font-family:inherit;outline:none;cursor:pointer;-webkit-box-sizing:border-box;box-sizing:border-box;border:none;border-bottom:3px solid transparent;min-height:var(--pv-size-base-12);height:100%;padding:0 var(--pv-size-base-3);background-color:transparent;-webkit-transition:background-color 200ms, color 200ms, border-color 200ms;transition:background-color 200ms, color 200ms, border-color 200ms;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;text-decoration:none;font-weight:var(--pv-text-s2-weight);font-size:var(--pv-text-s2-size);line-height:var(--pv-text-s2-height);letter-spacing:var(--pv-text-s2-spacing);color:var(--pv-color-gray-10)}.tab:hover{background-color:var(--pv-color-secondary-tint-5)}.tab[aria-selected=true]{color:var(--pv-color-black);border-color:var(--pv-color-secondary)}.status_wrapper{min-height:inherit;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}";
20373
20253
 
20374
20254
  class CertificateChainViewer {
20375
20255
  constructor(hostRef) {
@@ -20512,14 +20392,14 @@ class CertificateDecoder {
20512
20392
  }
20513
20393
  render() {
20514
20394
  var _a;
20515
- return (hAsync(Host, { key: '9067f2d7f33a40b3ad0ba03c7338a6f800100dab' }, hAsync("textarea", { key: '9e8962631c259fd5e144a1397d8591dde46d032f', placeholder: "Certificate DER or PEM", class: "textarea t-b2 c-black", ref: (el) => { this.inputPaste = el; }, onDrop: this.handleDropFile }), hAsync("div", { key: '9be2b1e6c9b3de94c9d5e1e6cf31d9fb487960d8', class: "controls" }, hAsync("div", { key: '3959b89ab5c5654a3c10a1166743c056c0340e2e', class: "control_row" }, hAsync(Typography, { key: '3c03f42d14ff5a485264523bab40765bb4f89a8f', variant: "b3", color: "secondary-tint-2" }, "Drag or load file:"), hAsync("input", { key: '3c8682f5de0b0e2f84e37a8a05882ebcf331daef', type: "file", accept: "application/pkix-cert,application/x-x509-ca-cert,application/x-x509-user-cert,application/pkcs10,application/pkix-crl,.csr,.req,.crl,.cert", value: "", onChange: this.handleChangeInputFile })), ((_a = this.certificateExamples) === null || _a === void 0 ? void 0 : _a.length) && (hAsync("div", { key: '7c38788ccf4b038126ddf6909ec1d3de76325660', class: "control_row" }, hAsync(Typography, { key: 'c1c13aaad3d1df51465c6c51ee24f45313de8f1c', variant: "b3", color: "secondary-tint-2" }, "Load examples:"), hAsync("select", { key: '811c4440269bb0a0a55f488e10dfa12093b18d7b', onChange: this.handleChangeExample }, hAsync("option", { key: 'd2e30396fe3a59d5c46c83c6cd1e5b5a58f15f73', value: "" }, "None"), this.certificateExamples.map((example) => (hAsync("option", { value: example.value }, example.title)))))), hAsync("div", { key: '58daae2b9d8e2dd4c698ec9ad6e7f0d8b2500883', class: "control_row" }, hAsync(Button, { key: 'd7f813370ace60deaad975622cc26b9a497ce9d2', onClick: this.handleClickDecode }, "Decode"), hAsync(Button, { key: 'ec2fbeb6283ffd17c7328ee78c9464926b0bbb6b', onClick: this.handleClickClear }, "Clear"))), this.renderCertificate()));
20395
+ return (hAsync(Host, { key: '9067f2d7f33a40b3ad0ba03c7338a6f800100dab' }, hAsync("textarea", { key: '9e8962631c259fd5e144a1397d8591dde46d032f', placeholder: "Certificate DER or PEM", class: "textarea t-b2 c-black", ref: (el) => { this.inputPaste = el; }, onDrop: this.handleDropFile }), hAsync("div", { key: '9be2b1e6c9b3de94c9d5e1e6cf31d9fb487960d8', class: "controls" }, hAsync("div", { key: '3959b89ab5c5654a3c10a1166743c056c0340e2e', class: "control_row" }, hAsync(Typography, { key: '3c03f42d14ff5a485264523bab40765bb4f89a8f', variant: "b3", color: "secondary-tint-2" }, "Drag or load file:"), hAsync("input", { key: '29845cfd11955ded4b43d19be3ede89d77b71fef', type: "file", accept: "application/pkix-cert,application/x-x509-ca-cert,application/x-x509-user-cert,application/pkcs10,application/pkix-crl,.csr,.req,.crl,.pub", value: "", onChange: this.handleChangeInputFile })), ((_a = this.certificateExamples) === null || _a === void 0 ? void 0 : _a.length) && (hAsync("div", { key: 'ec2e21cdcda421bd046d42607569e90eb0a96589', class: "control_row" }, hAsync(Typography, { key: '17850c755e70545949be4f772ec67f02eae829af', variant: "b3", color: "secondary-tint-2" }, "Load examples:"), hAsync("select", { key: '4431af8f0dcc97fd8e26637cef8a9524a83e9519', onChange: this.handleChangeExample }, hAsync("option", { key: 'c08edb4c2faf0f640e100cf62ae7ad07f0714cc3', value: "" }, "None"), this.certificateExamples.map((example) => (hAsync("option", { value: example.value }, example.title)))))), hAsync("div", { key: 'e7f7a693ef5f72ce739fe6a42d8c87345d23a743', class: "control_row" }, hAsync(Button, { key: '7448517bf7f76af06f8a7f60d1e40360613d3acd', onClick: this.handleClickDecode }, "Decode"), hAsync(Button, { key: 'b831592de27a3b292b2d81a19400216fbce7e797', onClick: this.handleClickClear }, "Clear"))), this.renderCertificate()));
20516
20396
  }
20517
20397
  static get style() { return certificateDecoderCss; }
20518
20398
  static get cmpMeta() { return {
20519
20399
  "$flags$": 265,
20520
20400
  "$tagName$": "peculiar-certificate-decoder",
20521
20401
  "$members$": {
20522
- "certificateExamples": [16, "certificate-examples"],
20402
+ "certificateExamples": [16],
20523
20403
  "certificateToDecode": [1, "certificate-to-decode"],
20524
20404
  "certificateDecoded": [32]
20525
20405
  },
@@ -20660,20 +20540,8 @@ class CertificateViewer {
20660
20540
  */
20661
20541
  const CertificateSummary = (props) => {
20662
20542
  const { certificate, showIssuer, } = props;
20663
- const renderRow = (name, value) => (hAsync("tr", null,
20664
- hAsync("td", null,
20665
- hAsync(Typography, { variant: "b2", color: "gray-9" }, name)),
20666
- hAsync("td", null,
20667
- hAsync(Typography, { variant: "b2", color: "black" }, value))));
20668
- return (hAsync("table", null,
20669
- hAsync("tbody", null,
20670
- renderRow(l10n.getString('subjectName'), certificate.subjectToString()),
20671
- showIssuer && renderRow(l10n.getString('issuerName'), certificate.issuerToString()),
20672
- renderRow(l10n.getString('serialNumber'), certificate.serialNumber),
20673
- renderRow(l10n.getString('version'), certificate.version),
20674
- renderRow(l10n.getString('validity'), certificate.validity),
20675
- renderRow(l10n.getString('issued'), dateShort(certificate.notBefore)),
20676
- renderRow(l10n.getString('expired'), dateShort(certificate.notAfter)))));
20543
+ const renderRow = (name, value) => (hAsync("tr", null, hAsync("td", null, hAsync(Typography, { variant: "b2", color: "gray-9" }, name)), hAsync("td", null, hAsync(Typography, { variant: "b2", color: "black" }, value))));
20544
+ return (hAsync("table", null, hAsync("tbody", null, renderRow(l10n.getString('subjectName'), certificate.subjectToString()), showIssuer && renderRow(l10n.getString('issuerName'), certificate.issuerToString()), renderRow(l10n.getString('serialNumber'), certificate.serialNumber), renderRow(l10n.getString('version'), certificate.version), renderRow(l10n.getString('validity'), certificate.validity), renderRow(l10n.getString('issued'), dateShort(certificate.notBefore)), renderRow(l10n.getString('expired'), dateShort(certificate.notAfter)))));
20677
20545
  };
20678
20546
 
20679
20547
  const certificatesViewerCss = "*{-webkit-box-sizing:border-box;box-sizing:border-box;margin:0;padding:0;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-moz-text-size-adjust:none;-ms-text-size-adjust:none;text-size-adjust:none;-webkit-text-size-adjust:none;-webkit-tap-highlight-color:transparent;font-family:var(--pv-font-family, inherit)}.t-h1{font-weight:var(--pv-text-h1-weight);font-size:var(--pv-text-h1-size);line-height:var(--pv-text-h1-height);letter-spacing:var(--pv-text-h1-spacing)}.t-h2{font-weight:var(--pv-text-h2-weight);font-size:var(--pv-text-h2-size);line-height:var(--pv-text-h2-height);letter-spacing:var(--pv-text-h2-spacing)}.t-h3{font-weight:var(--pv-text-h3-weight);font-size:var(--pv-text-h3-size);line-height:var(--pv-text-h3-height);letter-spacing:var(--pv-text-h3-spacing)}.t-h4{font-weight:var(--pv-text-h4-weight);font-size:var(--pv-text-h4-size);line-height:var(--pv-text-h4-height);letter-spacing:var(--pv-text-h4-spacing)}.t-h5{font-weight:var(--pv-text-h5-weight);font-size:var(--pv-text-h5-size);line-height:var(--pv-text-h5-height);letter-spacing:var(--pv-text-h5-spacing)}.t-s1{font-weight:var(--pv-text-s1-weight);font-size:var(--pv-text-s1-size);line-height:var(--pv-text-s1-height);letter-spacing:var(--pv-text-s1-spacing)}.t-s2{font-weight:var(--pv-text-s2-weight);font-size:var(--pv-text-s2-size);line-height:var(--pv-text-s2-height);letter-spacing:var(--pv-text-s2-spacing)}.t-b1{font-weight:var(--pv-text-b1-weight);font-size:var(--pv-text-b1-size);line-height:var(--pv-text-b1-height);letter-spacing:var(--pv-text-b1-spacing)}.t-b2{font-weight:var(--pv-text-b2-weight);font-size:var(--pv-text-b2-size);line-height:var(--pv-text-b2-height);letter-spacing:var(--pv-text-b2-spacing)}.t-b3{font-weight:var(--pv-text-b3-weight);font-size:var(--pv-text-b3-size);line-height:var(--pv-text-b3-height);letter-spacing:var(--pv-text-b3-spacing)}.t-btn1{font-weight:var(--pv-text-btn1-weight);font-size:var(--pv-text-btn1-size);line-height:var(--pv-text-btn1-height);letter-spacing:var(--pv-text-btn1-spacing)}.t-btn2{font-weight:var(--pv-text-btn2-weight);font-size:var(--pv-text-btn2-size);line-height:var(--pv-text-btn2-height);letter-spacing:var(--pv-text-btn2-spacing)}.t-c1{font-weight:var(--pv-text-c1-weight);font-size:var(--pv-text-c1-size);line-height:var(--pv-text-c1-height);letter-spacing:var(--pv-text-c1-spacing)}.t-c2{font-weight:var(--pv-text-c2-weight);font-size:var(--pv-text-c2-size);line-height:var(--pv-text-c2-height);letter-spacing:var(--pv-text-c2-spacing)}.c-primary-tint-5{--pv-color-base:var(--pv-color-primary-tint-5)}.c-primary-tint-4{--pv-color-base:var(--pv-color-primary-tint-4)}.c-primary-tint-3{--pv-color-base:var(--pv-color-primary-tint-3)}.c-primary-tint-2{--pv-color-base:var(--pv-color-primary-tint-2)}.c-primary-tint-1{--pv-color-base:var(--pv-color-primary-tint-1)}.c-primary{--pv-color-base:var(--pv-color-primary)}.c-primary-shade-1{--pv-color-base:var(--pv-color-primary-shade-1)}.c-primary-shade-2{--pv-color-base:var(--pv-color-primary-shade-2)}.c-primary-shade-3{--pv-color-base:var(--pv-color-primary-shade-3)}.c-primary-shade-4{--pv-color-base:var(--pv-color-primary-shade-4)}.c-primary-shade-5{--pv-color-base:var(--pv-color-primary-shade-5)}.c-primary-contrast{--pv-color-base:var(--pv-color-primary-contrast)}.c-secondary-tint-5{--pv-color-base:var(--pv-color-secondary-tint-5)}.c-secondary-tint-4{--pv-color-base:var(--pv-color-secondary-tint-4)}.c-secondary-tint-3{--pv-color-base:var(--pv-color-secondary-tint-3)}.c-secondary-tint-2{--pv-color-base:var(--pv-color-secondary-tint-2)}.c-secondary-tint-1{--pv-color-base:var(--pv-color-secondary-tint-1)}.c-secondary{--pv-color-base:var(--pv-color-secondary)}.c-secondary-shade-1{--pv-color-base:var(--pv-color-secondary-shade-1)}.c-secondary-shade-2{--pv-color-base:var(--pv-color-secondary-shade-2)}.c-secondary-shade-3{--pv-color-base:var(--pv-color-secondary-shade-3)}.c-secondary-shade-4{--pv-color-base:var(--pv-color-secondary-shade-4)}.c-secondary-shade-5{--pv-color-base:var(--pv-color-secondary-shade-5)}.c-secondary-contrast{--pv-color-base:var(--pv-color-secondary-contrast)}.c-wrong-tint-5{--pv-color-base:var(--pv-color-wrong-tint-5)}.c-wrong-tint-4{--pv-color-base:var(--pv-color-wrong-tint-4)}.c-wrong-tint-3{--pv-color-base:var(--pv-color-wrong-tint-3)}.c-wrong-tint-2{--pv-color-base:var(--pv-color-wrong-tint-2)}.c-wrong-tint-1{--pv-color-base:var(--pv-color-wrong-tint-1)}.c-wrong{--pv-color-base:var(--pv-color-wrong)}.c-wrong-shade-1{--pv-color-base:var(--pv-color-wrong-shade-1)}.c-wrong-shade-2{--pv-color-base:var(--pv-color-wrong-shade-2)}.c-wrong-shade-3{--pv-color-base:var(--pv-color-wrong-shade-3)}.c-wrong-shade-4{--pv-color-base:var(--pv-color-wrong-shade-4)}.c-wrong-shade-5{--pv-color-base:var(--pv-color-wrong-shade-5)}.c-wrong-contrast{--pv-color-base:var(--pv-color-wrong-contrast)}.c-attention-tint-5{--pv-color-base:var(--pv-color-attention-tint-5)}.c-attention-tint-4{--pv-color-base:var(--pv-color-attention-tint-4)}.c-attention-tint-3{--pv-color-base:var(--pv-color-attention-tint-3)}.c-attention-tint-2{--pv-color-base:var(--pv-color-attention-tint-2)}.c-attention-tint-1{--pv-color-base:var(--pv-color-attention-tint-1)}.c-attention{--pv-color-base:var(--pv-color-attention)}.c-attention-shade-1{--pv-color-base:var(--pv-color-attention-shade-1)}.c-attention-shade-2{--pv-color-base:var(--pv-color-attention-shade-2)}.c-attention-shade-3{--pv-color-base:var(--pv-color-attention-shade-3)}.c-attention-shade-4{--pv-color-base:var(--pv-color-attention-shade-4)}.c-attention-shade-5{--pv-color-base:var(--pv-color-attention-shade-5)}.c-success-tint-5{--pv-color-base:var(--pv-color-success-tint-5)}.c-success-tint-4{--pv-color-base:var(--pv-color-success-tint-4)}.c-success-tint-3{--pv-color-base:var(--pv-color-success-tint-3)}.c-success-tint-2{--pv-color-base:var(--pv-color-success-tint-2)}.c-success-tint-1{--pv-color-base:var(--pv-color-success-tint-1)}.c-success{--pv-color-base:var(--pv-color-success)}.c-success-shade-1{--pv-color-base:var(--pv-color-success-shade-1)}.c-success-shade-2{--pv-color-base:var(--pv-color-success-shade-2)}.c-success-shade-3{--pv-color-base:var(--pv-color-success-shade-3)}.c-success-shade-4{--pv-color-base:var(--pv-color-success-shade-4)}.c-success-shade-5{--pv-color-base:var(--pv-color-success-shade-5)}.c-black{--pv-color-base:var(--pv-color-black)}.c-gray-10{--pv-color-base:var(--pv-color-gray-10)}.c-gray-9{--pv-color-base:var(--pv-color-gray-9)}.c-gray-8{--pv-color-base:var(--pv-color-gray-8)}.c-gray-7{--pv-color-base:var(--pv-color-gray-7)}.c-gray-6{--pv-color-base:var(--pv-color-gray-6)}.c-gray-5{--pv-color-base:var(--pv-color-gray-5)}.c-gray-4{--pv-color-base:var(--pv-color-gray-4)}.c-gray-3{--pv-color-base:var(--pv-color-gray-3)}.c-gray-2{--pv-color-base:var(--pv-color-gray-2)}.c-gray-1{--pv-color-base:var(--pv-color-gray-1)}.c-white{--pv-color-base:var(--pv-color-white)}.c-extra-1{--pv-color-base:var(--pv-color-extra-1)}.c-extra-2{--pv-color-base:var(--pv-color-extra-2)}.typography{color:var(--pv-color-base)}.button{display:-ms-inline-flexbox;display:inline-flex;cursor:pointer;background:transparent;border:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;white-space:nowrap;text-decoration:none;outline:none;font-family:inherit;border-radius:4px;height:var(--pv-size-base-6);min-width:var(--pv-size-base-6);padding:0 var(--pv-size-base-2);-webkit-transition:background-color 200ms ease 0s;transition:background-color 200ms ease 0s;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;gap:var(--pv-size-base-2);font-size:0}.button.m_no_padding{padding:0}.button:hover{background-color:var(--pv-color-gray-3)}.button:focus{background-color:var(--pv-color-gray-4)}.button:active{background-color:var(--pv-color-gray-5)}:host{display:block;width:100%;word-wrap:break-word;min-width:280px;overflow:auto;position:relative}.search_section{padding:var(--pv-size-base-4);border-bottom:1px solid var(--pv-color-gray-4)}.input_search{height:var(--pv-size-base-8);width:100%;outline:none;background-color:var(--pv-color-gray-1);padding:0 var(--pv-size-base-2);border:1px solid var(--pv-color-gray-7);border-radius:4px;-webkit-transition:background-color 200ms ease 0s, color 200ms ease 0s, border-color 200ms ease 0s;transition:background-color 200ms ease 0s, color 200ms ease 0s, border-color 200ms ease 0s}.input_search::-webkit-input-placeholder{color:var(--pv-color-gray-9)}.input_search::-moz-placeholder{color:var(--pv-color-gray-9)}.input_search:-ms-input-placeholder{color:var(--pv-color-gray-9)}.input_search::-ms-input-placeholder{color:var(--pv-color-gray-9)}.input_search::placeholder{color:var(--pv-color-gray-9)}table{width:100%;table-layout:fixed;border-collapse:collapse;border-spacing:0}table td,table th{border-bottom:1px solid var(--pv-color-gray-4);vertical-align:top;text-align:left}table td:first-child,table th:first-child{padding-right:0;width:var(--pv-size-base-10)}table td:last-child,table th:last-child{padding-left:0;width:var(--pv-size-base-10)}table th{padding:var(--pv-size-base-2) var(--pv-size-base-4)}table th.col_action{padding:0}table td{padding:var(--pv-size-base-4)}table tr.m_expanded{background:var(--pv-color-gray-1)}table tr.m_expanded>td{border-bottom:none}table tr.expanded_summary{background:var(--pv-color-gray-1)}table tr.expanded_summary table{table-layout:initial}table tr.expanded_summary table td{border-bottom:none;padding:var(--pv-size-base-2)}table tr.expanded_summary table td:first-child{width:200px}table tr.expanded_summary table td:last-child{width:auto}.button_table_cell{margin-top:-3px}.status_wrapper{text-align:center;height:var(--pv-size-base-16);vertical-align:middle}.modal_wrapper{position:fixed;top:0;left:0;width:100%;height:100%;z-index:1;-webkit-animation:fadeIn 200ms;animation:fadeIn 200ms;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}.modal_backdrop{background:var(--pv-color-black);z-index:-1;position:fixed;top:0;right:0;bottom:0;left:0;opacity:0.5}.modal_container{background:var(--pv-color-white);width:100%;display:-ms-flexbox;display:flex;max-height:calc(100% - 60px);-ms-flex-direction:column;flex-direction:column;margin:var(--pv-size-base-6);position:relative;outline:none;-webkit-box-shadow:var(--pv-shadow-dark-hight);box-shadow:var(--pv-shadow-dark-hight);overflow:hidden;border:0px;padding:0px;max-width:640px;border-radius:4px}.modal_header{padding:var(--pv-size-base-3) var(--pv-size-base-4);display:-ms-flexbox;display:flex;-ms-flex:0 0 auto;flex:0 0 auto;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;gap:var(--pv-size-base-2);border-bottom:1px solid var(--pv-color-gray-5)}.modal_content{-ms-flex:1 1 auto;flex:1 1 auto;overflow:auto}:host([data-mobile-screen-view=true]) table,:host([data-mobile-screen-view=true]) tbody,:host([data-mobile-screen-view=true]) tr,:host([data-mobile-screen-view=true]) td{display:block;width:100% !important;padding:0;border:none}:host([data-mobile-screen-view=true]) thead{display:none}:host([data-mobile-screen-view=true]) table tr{padding:var(--pv-size-base-2) 0}:host([data-mobile-screen-view=true]) table .expanded_summary{padding:0}:host([data-mobile-screen-view=true]) table .certificate_row{border-bottom:1px solid var(--pv-color-gray-5);padding:var(--pv-size-base-2) var(--pv-size-base-4)}:host([data-mobile-screen-view=true]) table .certificate_row_actions{padding-top:var(--pv-size-base-6)}:host([data-mobile-screen-view=true]) table .certificate_row_actions td{display:-ms-flexbox;display:flex;-ms-flex-pack:right;justify-content:right;gap:var(--pv-size-base-4)}:host([data-mobile-screen-view=true]) .button_table_cell{margin-top:0}";
@@ -21340,9 +21208,7 @@ const SshMiscellaneous = (props) => {
21340
21208
  const { certificate } = props;
21341
21209
  return [
21342
21210
  hAsync(RowTitle, { value: l10n.getString('miscellaneous') }),
21343
- hAsync("tr", null,
21344
- hAsync("td", null,
21345
- hAsync(Button, { startIcon: hAsync(DownloadIcon, null), onClick: () => certificate.downloadAsSSH() }, l10n.getString('download.ssh')))),
21211
+ hAsync("tr", null, hAsync("td", null, hAsync(Button, { startIcon: hAsync(DownloadIcon, null), onClick: () => certificate.downloadAsPub() }, l10n.getString('download')))),
21346
21212
  ];
21347
21213
  };
21348
21214
 
@@ -21531,7 +21397,7 @@ var BUILD = {
21531
21397
  vdomRender: true,
21532
21398
  vdomStyle: true,
21533
21399
  vdomText: true,
21534
- watchCallback: true,
21400
+ propChangeCallback: true,
21535
21401
  taskQueue: true,
21536
21402
  hotModuleReplacement: false,
21537
21403
  isDebug: false,
@@ -21579,7 +21445,7 @@ var NAMESPACE = (
21579
21445
  );
21580
21446
 
21581
21447
  /*
21582
- Stencil Hydrate Runner v4.36.1 | MIT Licensed | https://stenciljs.com
21448
+ Stencil Hydrate Runner v4.38.3 | MIT Licensed | https://stenciljs.com
21583
21449
  */
21584
21450
  var __defProp = Object.defineProperty;
21585
21451
  var __export = (target, all) => {
@@ -21740,82 +21606,6 @@ var MockAttr = class {
21740
21606
  }
21741
21607
  };
21742
21608
 
21743
- // src/mock-doc/class-list.ts
21744
- var MockClassList = class {
21745
- constructor(elm) {
21746
- this.elm = elm;
21747
- }
21748
- add(...classNames) {
21749
- const clsNames = getItems(this.elm);
21750
- let updated = false;
21751
- classNames.forEach((className) => {
21752
- className = String(className);
21753
- validateClass(className);
21754
- if (clsNames.includes(className) === false) {
21755
- clsNames.push(className);
21756
- updated = true;
21757
- }
21758
- });
21759
- if (updated) {
21760
- this.elm.setAttributeNS(null, "class", clsNames.join(" "));
21761
- }
21762
- }
21763
- remove(...classNames) {
21764
- const clsNames = getItems(this.elm);
21765
- let updated = false;
21766
- classNames.forEach((className) => {
21767
- className = String(className);
21768
- validateClass(className);
21769
- const index = clsNames.indexOf(className);
21770
- if (index > -1) {
21771
- clsNames.splice(index, 1);
21772
- updated = true;
21773
- }
21774
- });
21775
- if (updated) {
21776
- this.elm.setAttributeNS(null, "class", clsNames.filter((c) => c.length > 0).join(" "));
21777
- }
21778
- }
21779
- contains(className) {
21780
- className = String(className);
21781
- return getItems(this.elm).includes(className);
21782
- }
21783
- toggle(className) {
21784
- className = String(className);
21785
- if (this.contains(className) === true) {
21786
- this.remove(className);
21787
- } else {
21788
- this.add(className);
21789
- }
21790
- }
21791
- get length() {
21792
- return getItems(this.elm).length;
21793
- }
21794
- item(index) {
21795
- return getItems(this.elm)[index];
21796
- }
21797
- toString() {
21798
- return getItems(this.elm).join(" ");
21799
- }
21800
- };
21801
- function validateClass(className) {
21802
- if (className === "") {
21803
- throw new Error("The token provided must not be empty.");
21804
- }
21805
- if (/\s/.test(className)) {
21806
- throw new Error(
21807
- `The token provided ('${className}') contains HTML space characters, which are not valid in tokens.`
21808
- );
21809
- }
21810
- }
21811
- function getItems(elm) {
21812
- const className = elm.getAttribute("class");
21813
- if (typeof className === "string" && className.length > 0) {
21814
- return className.trim().split(" ").filter((c) => c.length > 0);
21815
- }
21816
- return [];
21817
- }
21818
-
21819
21609
  // src/mock-doc/css-style-declaration.ts
21820
21610
  var MockCSSStyleDeclaration = class {
21821
21611
  constructor() {
@@ -32331,6 +32121,81 @@ var STRUCTURE_ELEMENTS = /* @__PURE__ */ new Set([
32331
32121
  "style"
32332
32122
  ]);
32333
32123
 
32124
+ // src/mock-doc/token-list.ts
32125
+ var MockTokenList = class {
32126
+ constructor(elm, attr) {
32127
+ this.elm = elm;
32128
+ this.attr = attr;
32129
+ }
32130
+ add(...tokens) {
32131
+ const items = getItems(this.elm, this.attr);
32132
+ let updated = false;
32133
+ tokens.forEach((token) => {
32134
+ token = String(token);
32135
+ validateToken(token);
32136
+ if (items.includes(token) === false) {
32137
+ items.push(token);
32138
+ updated = true;
32139
+ }
32140
+ });
32141
+ if (updated) {
32142
+ this.elm.setAttributeNS(null, this.attr, items.join(" "));
32143
+ }
32144
+ }
32145
+ remove(...tokens) {
32146
+ const items = getItems(this.elm, this.attr);
32147
+ let updated = false;
32148
+ tokens.forEach((token) => {
32149
+ token = String(token);
32150
+ validateToken(token);
32151
+ const index = items.indexOf(token);
32152
+ if (index > -1) {
32153
+ items.splice(index, 1);
32154
+ updated = true;
32155
+ }
32156
+ });
32157
+ if (updated) {
32158
+ this.elm.setAttributeNS(null, this.attr, items.filter((c) => c.length > 0).join(" "));
32159
+ }
32160
+ }
32161
+ contains(token) {
32162
+ token = String(token);
32163
+ return getItems(this.elm, this.attr).includes(token);
32164
+ }
32165
+ toggle(token) {
32166
+ token = String(token);
32167
+ if (this.contains(token) === true) {
32168
+ this.remove(token);
32169
+ } else {
32170
+ this.add(token);
32171
+ }
32172
+ }
32173
+ get length() {
32174
+ return getItems(this.elm, this.attr).length;
32175
+ }
32176
+ item(index) {
32177
+ return getItems(this.elm, this.attr)[index];
32178
+ }
32179
+ toString() {
32180
+ return getItems(this.elm, this.attr).join(" ");
32181
+ }
32182
+ };
32183
+ function validateToken(token) {
32184
+ if (token === "") {
32185
+ throw new Error("The token provided must not be empty.");
32186
+ }
32187
+ if (/\s/.test(token)) {
32188
+ throw new Error(`The token provided ('${token}') contains HTML space characters, which are not valid in tokens.`);
32189
+ }
32190
+ }
32191
+ function getItems(elm, attr) {
32192
+ const value = elm.getAttribute(attr);
32193
+ if (typeof value === "string" && value.length > 0) {
32194
+ return value.trim().split(" ").filter((c) => c.length > 0);
32195
+ }
32196
+ return [];
32197
+ }
32198
+
32334
32199
  // src/mock-doc/node.ts
32335
32200
  var MockNode2 = class {
32336
32201
  constructor(ownerDocument, nodeType, nodeName, nodeValue) {
@@ -32598,7 +32463,10 @@ var MockElement = class extends MockNode2 {
32598
32463
  this.setAttributeNS(null, "class", value);
32599
32464
  }
32600
32465
  get classList() {
32601
- return new MockClassList(this);
32466
+ return new MockTokenList(this, "class");
32467
+ }
32468
+ get part() {
32469
+ return new MockTokenList(this, "part");
32602
32470
  }
32603
32471
  click() {
32604
32472
  dispatchEvent(this, new MockEvent("click", { bubbles: true, cancelable: true, composed: true }));
@@ -35481,7 +35349,7 @@ var MockDocument = class _MockDocument extends MockHTMLElement {
35481
35349
  }
35482
35350
  set location(val) {
35483
35351
  if (this.defaultView != null) {
35484
- this.defaultView.location = val;
35352
+ this.defaultView.location.href = val;
35485
35353
  }
35486
35354
  }
35487
35355
  get baseURI() {
@@ -36256,6 +36124,9 @@ var _colonHostContextRe = createSupportsRuleRe(":host-context");
36256
36124
  var setMode = (handler) => modeResolutionChain.push(handler);
36257
36125
  var CAPTURE_EVENT_SUFFIX = "Capture";
36258
36126
  var CAPTURE_EVENT_REGEX = new RegExp(CAPTURE_EVENT_SUFFIX + "$");
36127
+ var baseClass = BUILD.lazyLoad ? class {
36128
+ } : globalThis.HTMLElement || class {
36129
+ };
36259
36130
 
36260
36131
  // src/compiler/html/canonical-link.ts
36261
36132
  var updateCanonicalLink = (doc, href) => {