@peculiar/certificates-viewer 4.5.0 → 4.6.1

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 (549) hide show
  1. package/components/actions.js.map +1 -1
  2. package/components/arrow_top.js.map +1 -1
  3. package/components/attribute-certificate-viewer.js +4 -6
  4. package/components/attribute-certificate-viewer.js.map +1 -1
  5. package/components/attribute.js.map +1 -1
  6. package/components/button-menu.js +2 -4
  7. package/components/button-menu.js.map +1 -1
  8. package/components/button.js +5 -3
  9. package/components/button.js.map +1 -1
  10. package/components/certificate-chain-viewer.js +2 -3
  11. package/components/certificate-chain-viewer.js.map +1 -1
  12. package/components/certificate-viewer.js +5 -10
  13. package/components/certificate-viewer.js.map +1 -1
  14. package/components/circular-progress.js +3 -7
  15. package/components/circular-progress.js.map +1 -1
  16. package/components/crl-viewer.js +2 -4
  17. package/components/crl-viewer.js.map +1 -1
  18. package/components/cross.js.map +1 -1
  19. package/components/csr-viewer.js +2 -6
  20. package/components/csr-viewer.js.map +1 -1
  21. package/components/download.js +3317 -3097
  22. package/components/download.js.map +1 -1
  23. package/components/highlight-words.js +2 -2
  24. package/components/highlight-words.js.map +1 -1
  25. package/components/index.js +1 -1
  26. package/components/index2.js +2 -1
  27. package/components/index2.js.map +1 -1
  28. package/components/issuer_name.js +3 -1
  29. package/components/issuer_name.js.map +1 -1
  30. package/components/miscellaneous.js +15 -16
  31. package/components/miscellaneous.js.map +1 -1
  32. package/components/peculiar-certificate-decoder.js +9 -10
  33. package/components/peculiar-certificate-decoder.js.map +1 -1
  34. package/components/peculiar-certificates-viewer.js +45 -44
  35. package/components/peculiar-certificates-viewer.js.map +1 -1
  36. package/components/peculiar-text-hider.js +2 -2
  37. package/components/peculiar-text-hider.js.map +1 -1
  38. package/components/pkcs10_certificate_request.js.map +1 -1
  39. package/components/read_file.js.map +1 -1
  40. package/components/subject_name.js.map +1 -1
  41. package/dist/cjs/{actions-Dl4HXXlI.js → actions-ByC9jQU-.js} +3 -3
  42. package/dist/cjs/actions-ByC9jQU-.js.map +1 -0
  43. package/dist/cjs/{arrow_top-DBMPHVlB.js → arrow_top-Cw9KN115.js} +3 -3
  44. package/dist/cjs/arrow_top-Cw9KN115.js.map +1 -0
  45. package/dist/cjs/{button-C5jDF-CZ.js → button-C8EWG_-r.js} +8 -6
  46. package/dist/cjs/button-C8EWG_-r.js.map +1 -0
  47. package/dist/cjs/{certification_request-DS5FED4F.js → certification_request-CxHe71zR.js} +3318 -3098
  48. package/dist/cjs/certification_request-CxHe71zR.js.map +1 -0
  49. package/dist/cjs/{cross-pi7K0cHC.js → cross-3DqhA0G_.js} +3 -3
  50. package/dist/cjs/cross-3DqhA0G_.js.map +1 -0
  51. package/dist/cjs/{download-D9skkVoT.js → download-DQP0KR4o.js} +3 -3
  52. package/dist/cjs/download-DQP0KR4o.js.map +1 -0
  53. package/dist/cjs/{index-BO3rFndV.js → index-uHmGhObe.js} +430 -157
  54. package/dist/cjs/index-uHmGhObe.js.map +1 -0
  55. package/dist/cjs/index.cjs.js +9 -9
  56. package/dist/cjs/{link-CwLq-Nge.js → link-Cgh8wnbs.js} +5 -5
  57. package/dist/cjs/link-Cgh8wnbs.js.map +1 -0
  58. package/dist/cjs/loader.cjs.js +3 -4
  59. package/dist/cjs/loader.cjs.js.map +1 -1
  60. package/dist/cjs/{miscellaneous-UxtK1SWb.js → miscellaneous-DeBEwLDy.js} +25 -24
  61. package/dist/cjs/miscellaneous-DeBEwLDy.js.map +1 -0
  62. package/dist/cjs/peculiar-attribute-certificate-viewer.peculiar-certificate-chain-viewer.peculiar-crl-viewer.peculiar-csr-viewer.entry.cjs.js.map +1 -1
  63. package/dist/cjs/peculiar-attribute-certificate-viewer_4.cjs.entry.js +14 -22
  64. package/dist/cjs/peculiar-attribute-certificate-viewer_4.cjs.entry.js.map +1 -1
  65. package/dist/cjs/peculiar-button-menu.peculiar-circular-progress.peculiar-highlight-words.entry.cjs.js.map +1 -1
  66. package/dist/cjs/peculiar-button-menu_3.cjs.entry.js +7 -13
  67. package/dist/cjs/peculiar-button-menu_3.cjs.entry.js.map +1 -1
  68. package/dist/cjs/peculiar-certificate-decoder.cjs.entry.js +13 -14
  69. package/dist/cjs/peculiar-certificate-decoder.cjs.entry.js.map +1 -1
  70. package/dist/cjs/peculiar-certificate-decoder.entry.cjs.js.map +1 -1
  71. package/dist/cjs/peculiar-certificate-viewer.cjs.entry.js +8 -10
  72. package/dist/cjs/peculiar-certificate-viewer.cjs.entry.js.map +1 -1
  73. package/dist/cjs/peculiar-certificate-viewer.entry.cjs.js.map +1 -1
  74. package/dist/cjs/peculiar-certificates-viewer.cjs.entry.js +51 -50
  75. package/dist/cjs/peculiar-certificates-viewer.cjs.entry.js.map +1 -1
  76. package/dist/cjs/peculiar-certificates-viewer.entry.cjs.js.map +1 -1
  77. package/dist/cjs/peculiar-text-hider.cjs.entry.js +4 -4
  78. package/dist/cjs/peculiar-text-hider.cjs.entry.js.map +1 -1
  79. package/dist/cjs/peculiar-text-hider.entry.cjs.js.map +1 -1
  80. package/dist/cjs/peculiar.cjs.js +4 -5
  81. package/dist/cjs/peculiar.cjs.js.map +1 -1
  82. package/dist/cjs/{pkcs10_certificate_request-DaWYvR0i.js → pkcs10_certificate_request-CHMDxe2Z.js} +3 -3
  83. package/dist/cjs/pkcs10_certificate_request-CHMDxe2Z.js.map +1 -0
  84. package/dist/cjs/read_file-DWtcn3zU.js.map +1 -1
  85. package/dist/cjs/{x509_certificate-DBpSGIUT.js → x509_certificate-CzplJQ0X.js} +6 -9
  86. package/dist/cjs/x509_certificate-CzplJQ0X.js.map +1 -0
  87. package/dist/cjs/{x509_crl-BBnJqOIF.js → x509_crl-B7kFbLDV.js} +6 -6
  88. package/dist/cjs/x509_crl-B7kFbLDV.js.map +1 -0
  89. package/dist/collection/collection-manifest.json +1 -1
  90. package/dist/collection/components/attribute-certificate-viewer/attribute-certificate-viewer.js +11 -13
  91. package/dist/collection/components/attribute-certificate-viewer/attribute-certificate-viewer.js.map +1 -1
  92. package/dist/collection/components/button/button.js +3 -3
  93. package/dist/collection/components/button/button.js.map +1 -1
  94. package/dist/collection/components/button/index.js.map +1 -1
  95. package/dist/collection/components/button-menu/button-menu.js +6 -7
  96. package/dist/collection/components/button-menu/button-menu.js.map +1 -1
  97. package/dist/collection/components/certificate-chain-viewer/certificate-chain-viewer.css +3 -0
  98. package/dist/collection/components/certificate-chain-viewer/certificate-chain-viewer.js +3 -3
  99. package/dist/collection/components/certificate-chain-viewer/certificate-chain-viewer.js.map +1 -1
  100. package/dist/collection/components/certificate-decoder/certificate-decoder.js +6 -2
  101. package/dist/collection/components/certificate-decoder/certificate-decoder.js.map +1 -1
  102. package/dist/collection/components/certificate-details-parts/attributes/activity_description_attribute.js.map +1 -1
  103. package/dist/collection/components/certificate-details-parts/attributes/as_string_attribute.js.map +1 -1
  104. package/dist/collection/components/certificate-details-parts/attributes/basic_attribute.js.map +1 -1
  105. package/dist/collection/components/certificate-details-parts/attributes/challenge_password_attribute.js.map +1 -1
  106. package/dist/collection/components/certificate-details-parts/attributes/index.js +1 -1
  107. package/dist/collection/components/certificate-details-parts/attributes/index.js.map +1 -1
  108. package/dist/collection/components/certificate-details-parts/attributes/insurance_value_attribute.js.map +1 -1
  109. package/dist/collection/components/certificate-details-parts/attributes/name_attribute.js.map +1 -1
  110. package/dist/collection/components/certificate-details-parts/attributes/name_part.js +1 -0
  111. package/dist/collection/components/certificate-details-parts/attributes/name_part.js.map +1 -1
  112. package/dist/collection/components/certificate-details-parts/attributes/type_relationship_attribute.js.map +1 -1
  113. package/dist/collection/components/certificate-details-parts/attributes/unstructured_name_attribute.js.map +1 -1
  114. package/dist/collection/components/certificate-details-parts/attributes/valuation_ranking_attribute.js.map +1 -1
  115. package/dist/collection/components/certificate-details-parts/attributes/web_gdpr_attribute.js.map +1 -1
  116. package/dist/collection/components/certificate-details-parts/basic_information.js.map +1 -1
  117. package/dist/collection/components/certificate-details-parts/extensions/archive_rev_info_extension.js.map +1 -1
  118. package/dist/collection/components/certificate-details-parts/extensions/as_string_extension.js.map +1 -1
  119. package/dist/collection/components/certificate-details-parts/extensions/authority_key_identifier_extension.js +1 -1
  120. package/dist/collection/components/certificate-details-parts/extensions/authority_key_identifier_extension.js.map +1 -1
  121. package/dist/collection/components/certificate-details-parts/extensions/basic_constraints_extension.js.map +1 -1
  122. package/dist/collection/components/certificate-details-parts/extensions/basic_extension.js.map +1 -1
  123. package/dist/collection/components/certificate-details-parts/extensions/biometric_syntax_extension.js.map +1 -1
  124. package/dist/collection/components/certificate-details-parts/extensions/ca_version_extension.js.map +1 -1
  125. package/dist/collection/components/certificate-details-parts/extensions/cabforganization_identifier_extension.js +1 -1
  126. package/dist/collection/components/certificate-details-parts/extensions/cabforganization_identifier_extension.js.map +1 -1
  127. package/dist/collection/components/certificate-details-parts/extensions/certificate_policies_extension.js +1 -1
  128. package/dist/collection/components/certificate-details-parts/extensions/certificate_policies_extension.js.map +1 -1
  129. package/dist/collection/components/certificate-details-parts/extensions/certificate_template_extension.js.map +1 -1
  130. package/dist/collection/components/certificate-details-parts/extensions/certificate_transparency_extension.js.map +1 -1
  131. package/dist/collection/components/certificate-details-parts/extensions/crl_distribution_points_extension.js.map +1 -1
  132. package/dist/collection/components/certificate-details-parts/extensions/crl_number_extension.js.map +1 -1
  133. package/dist/collection/components/certificate-details-parts/extensions/crl_reason_extension.js.map +1 -1
  134. package/dist/collection/components/certificate-details-parts/extensions/enroll_cert_type_extension.js.map +1 -1
  135. package/dist/collection/components/certificate-details-parts/extensions/entrust_version_info_extension.js.map +1 -1
  136. package/dist/collection/components/certificate-details-parts/extensions/extended_key_usage_extension.js.map +1 -1
  137. package/dist/collection/components/certificate-details-parts/extensions/general_name_part.js +3 -3
  138. package/dist/collection/components/certificate-details-parts/extensions/general_name_part.js.map +1 -1
  139. package/dist/collection/components/certificate-details-parts/extensions/index.js +2 -2
  140. package/dist/collection/components/certificate-details-parts/extensions/index.js.map +1 -1
  141. package/dist/collection/components/certificate-details-parts/extensions/info_access_syntax_extension.js.map +1 -1
  142. package/dist/collection/components/certificate-details-parts/extensions/issuing_distribution_point_extension.js +0 -1
  143. package/dist/collection/components/certificate-details-parts/extensions/issuing_distribution_point_extension.js.map +1 -1
  144. package/dist/collection/components/certificate-details-parts/extensions/key_description_extension.js +2 -2
  145. package/dist/collection/components/certificate-details-parts/extensions/key_description_extension.js.map +1 -1
  146. package/dist/collection/components/certificate-details-parts/extensions/key_usage_extension.js.map +1 -1
  147. package/dist/collection/components/certificate-details-parts/extensions/lei_extension.js.map +1 -1
  148. package/dist/collection/components/certificate-details-parts/extensions/lei_role_extennsion.js.map +1 -1
  149. package/dist/collection/components/certificate-details-parts/extensions/logotype_extension.js.map +1 -1
  150. package/dist/collection/components/certificate-details-parts/extensions/name_constraints_extension.js.map +1 -1
  151. package/dist/collection/components/certificate-details-parts/extensions/netscape_cert_type_extension.js.map +1 -1
  152. package/dist/collection/components/certificate-details-parts/extensions/netscape_comment_extension.js.map +1 -1
  153. package/dist/collection/components/certificate-details-parts/extensions/policy_constraints_extension.js.map +1 -1
  154. package/dist/collection/components/certificate-details-parts/extensions/policy_mappings_extension.js.map +1 -1
  155. package/dist/collection/components/certificate-details-parts/extensions/private_key_usage_period_extension.js.map +1 -1
  156. package/dist/collection/components/certificate-details-parts/extensions/qc_statements_extension.js.map +1 -1
  157. package/dist/collection/components/certificate-details-parts/extensions/subject_alternative_name_extension.js.map +1 -1
  158. package/dist/collection/components/certificate-details-parts/extensions/subject_directory_attributes_extension.js.map +1 -1
  159. package/dist/collection/components/certificate-details-parts/extensions/subject_key_identifier_extension.js +1 -1
  160. package/dist/collection/components/certificate-details-parts/extensions/subject_key_identifier_extension.js.map +1 -1
  161. package/dist/collection/components/certificate-details-parts/extensions/timestamp_extension.js.map +1 -1
  162. package/dist/collection/components/certificate-details-parts/extensions/tn_auth_list_extension.js.map +1 -1
  163. package/dist/collection/components/certificate-details-parts/holder.js +1 -1
  164. package/dist/collection/components/certificate-details-parts/holder.js.map +1 -1
  165. package/dist/collection/components/certificate-details-parts/issuer.js.map +1 -1
  166. package/dist/collection/components/certificate-details-parts/issuer_name.js +3 -1
  167. package/dist/collection/components/certificate-details-parts/issuer_name.js.map +1 -1
  168. package/dist/collection/components/certificate-details-parts/miscellaneous.js +2 -2
  169. package/dist/collection/components/certificate-details-parts/miscellaneous.js.map +1 -1
  170. package/dist/collection/components/certificate-details-parts/public_key.js +1 -1
  171. package/dist/collection/components/certificate-details-parts/public_key.js.map +1 -1
  172. package/dist/collection/components/certificate-details-parts/revoked_certificates.js +3 -3
  173. package/dist/collection/components/certificate-details-parts/revoked_certificates.js.map +1 -1
  174. package/dist/collection/components/certificate-details-parts/row.js +3 -3
  175. package/dist/collection/components/certificate-details-parts/row.js.map +1 -1
  176. package/dist/collection/components/certificate-details-parts/signature.js +1 -1
  177. package/dist/collection/components/certificate-details-parts/signature.js.map +1 -1
  178. package/dist/collection/components/certificate-details-parts/subject_name.js.map +1 -1
  179. package/dist/collection/components/certificate-details-parts/thumbprints.js.map +1 -1
  180. package/dist/collection/components/certificate-summary/certificate-summary.js.map +1 -1
  181. package/dist/collection/components/certificate-viewer/certificate-viewer.css +3 -0
  182. package/dist/collection/components/certificate-viewer/certificate-viewer.js +13 -15
  183. package/dist/collection/components/certificate-viewer/certificate-viewer.js.map +1 -1
  184. package/dist/collection/components/certificates-viewer/certificates-viewer.js +48 -46
  185. package/dist/collection/components/certificates-viewer/certificates-viewer.js.map +1 -1
  186. package/dist/collection/components/circular-progress/circular-progress.js +4 -8
  187. package/dist/collection/components/circular-progress/circular-progress.js.map +1 -1
  188. package/dist/collection/components/crl-viewer/crl-viewer.js +10 -12
  189. package/dist/collection/components/crl-viewer/crl-viewer.js.map +1 -1
  190. package/dist/collection/components/csr-viewer/csr-viewer.js +9 -13
  191. package/dist/collection/components/csr-viewer/csr-viewer.js.map +1 -1
  192. package/dist/collection/components/highlight-words/highlight-words.js +2 -2
  193. package/dist/collection/components/highlight-words/highlight-words.js.map +1 -1
  194. package/dist/collection/components/icons/actions.js.map +1 -1
  195. package/dist/collection/components/icons/arrow_bottom.js.map +1 -1
  196. package/dist/collection/components/icons/arrow_top.js.map +1 -1
  197. package/dist/collection/components/icons/cross.js.map +1 -1
  198. package/dist/collection/components/icons/details.js.map +1 -1
  199. package/dist/collection/components/icons/download.js.map +1 -1
  200. package/dist/collection/components/icons/link.js.map +1 -1
  201. package/dist/collection/components/link/link.js +1 -1
  202. package/dist/collection/components/link/link.js.map +1 -1
  203. package/dist/collection/components/text-hider/text-hider.js +1 -1
  204. package/dist/collection/components/text-hider/text-hider.js.map +1 -1
  205. package/dist/collection/components/typography/typography.js +1 -1
  206. package/dist/collection/components/typography/typography.js.map +1 -1
  207. package/dist/collection/constants/oids.js +5 -0
  208. package/dist/collection/constants/oids.js.map +1 -1
  209. package/dist/collection/crypto/asn_data.js +1 -1
  210. package/dist/collection/crypto/asn_data.js.map +1 -1
  211. package/dist/collection/crypto/attribute.js.map +1 -1
  212. package/dist/collection/crypto/extension.js.map +1 -1
  213. package/dist/collection/crypto/name.js.map +1 -1
  214. package/dist/collection/crypto/pem_converter.js +13 -8
  215. package/dist/collection/crypto/pem_converter.js.map +1 -1
  216. package/dist/collection/crypto/pkcs10_certificate_request.js.map +1 -1
  217. package/dist/collection/crypto/provider.js +7 -3
  218. package/dist/collection/crypto/provider.js.map +1 -1
  219. package/dist/collection/crypto/utils.js.map +1 -1
  220. package/dist/collection/crypto/x509_attribute_certificate.js +2 -2
  221. package/dist/collection/crypto/x509_attribute_certificate.js.map +1 -1
  222. package/dist/collection/crypto/x509_certificate.js +3 -6
  223. package/dist/collection/crypto/x509_certificate.js.map +1 -1
  224. package/dist/collection/crypto/x509_certificates.js +3 -7
  225. package/dist/collection/crypto/x509_certificates.js.map +1 -1
  226. package/dist/collection/crypto/x509_crl.js.map +1 -1
  227. package/dist/collection/utils/download.js +1 -0
  228. package/dist/collection/utils/download.js.map +1 -1
  229. package/dist/collection/utils/download_from_buffer.js +3 -3
  230. package/dist/collection/utils/download_from_buffer.js.map +1 -1
  231. package/dist/collection/utils/l10n.js +1 -3
  232. package/dist/collection/utils/l10n.js.map +1 -1
  233. package/dist/collection/utils/read_file.js.map +1 -1
  234. package/dist/esm/{actions-DzoPRObK.js → actions-BOY2Tl0T.js} +3 -3
  235. package/dist/esm/actions-BOY2Tl0T.js.map +1 -0
  236. package/dist/esm/{arrow_top-CF9pv-tQ.js → arrow_top-DL0RWe4n.js} +3 -3
  237. package/dist/esm/arrow_top-DL0RWe4n.js.map +1 -0
  238. package/dist/esm/{button-Djn8UI82.js → button-Bbh7MwG6.js} +8 -6
  239. package/dist/esm/button-Bbh7MwG6.js.map +1 -0
  240. package/dist/esm/{certification_request-Wtz6WM17.js → certification_request-PeMaLTUD.js} +3318 -3098
  241. package/dist/esm/certification_request-PeMaLTUD.js.map +1 -0
  242. package/dist/esm/{cross-DdCuR1F2.js → cross-G84H_-QL.js} +3 -3
  243. package/dist/esm/cross-G84H_-QL.js.map +1 -0
  244. package/dist/esm/{download-Cqfc-Sxf.js → download-ykcxSgxU.js} +3 -3
  245. package/dist/esm/download-ykcxSgxU.js.map +1 -0
  246. package/dist/esm/{index-DDDrq3In.js → index-CwgZaF40.js} +430 -158
  247. package/dist/esm/index-CwgZaF40.js.map +1 -0
  248. package/dist/esm/index.js +9 -9
  249. package/dist/esm/{link-BfDk078v.js → link-CGURvKy1.js} +5 -5
  250. package/dist/esm/link-CGURvKy1.js.map +1 -0
  251. package/dist/esm/loader.js +3 -4
  252. package/dist/esm/loader.js.map +1 -1
  253. package/dist/esm/{miscellaneous-CsGuJ6zr.js → miscellaneous-bVeJt-6m.js} +25 -24
  254. package/dist/esm/miscellaneous-bVeJt-6m.js.map +1 -0
  255. package/dist/esm/peculiar-attribute-certificate-viewer.peculiar-certificate-chain-viewer.peculiar-crl-viewer.peculiar-csr-viewer.entry.js.map +1 -1
  256. package/dist/esm/peculiar-attribute-certificate-viewer_4.entry.js +14 -22
  257. package/dist/esm/peculiar-attribute-certificate-viewer_4.entry.js.map +1 -1
  258. package/dist/esm/peculiar-button-menu.peculiar-circular-progress.peculiar-highlight-words.entry.js.map +1 -1
  259. package/dist/esm/peculiar-button-menu_3.entry.js +7 -13
  260. package/dist/esm/peculiar-button-menu_3.entry.js.map +1 -1
  261. package/dist/esm/peculiar-certificate-decoder.entry.js +13 -14
  262. package/dist/esm/peculiar-certificate-decoder.entry.js.map +1 -1
  263. package/dist/esm/peculiar-certificate-viewer.entry.js +8 -10
  264. package/dist/esm/peculiar-certificate-viewer.entry.js.map +1 -1
  265. package/dist/esm/peculiar-certificates-viewer.entry.js +51 -50
  266. package/dist/esm/peculiar-certificates-viewer.entry.js.map +1 -1
  267. package/dist/esm/peculiar-text-hider.entry.js +4 -4
  268. package/dist/esm/peculiar-text-hider.entry.js.map +1 -1
  269. package/dist/esm/peculiar.js +4 -5
  270. package/dist/esm/peculiar.js.map +1 -1
  271. package/dist/esm/{pkcs10_certificate_request-Cn7_Z7a1.js → pkcs10_certificate_request-CK8FH47X.js} +3 -3
  272. package/dist/esm/pkcs10_certificate_request-CK8FH47X.js.map +1 -0
  273. package/dist/esm/read_file-F2F0McJX.js.map +1 -1
  274. package/dist/esm/{x509_certificate-ObET7_Te.js → x509_certificate-CEEWtU_T.js} +6 -9
  275. package/dist/esm/x509_certificate-CEEWtU_T.js.map +1 -0
  276. package/dist/esm/{x509_crl-CeW7yzP9.js → x509_crl-BcZd9KVn.js} +6 -6
  277. package/dist/esm/x509_crl-BcZd9KVn.js.map +1 -0
  278. package/dist/esm-es5/{actions-DzoPRObK.js → actions-BOY2Tl0T.js} +2 -2
  279. package/dist/esm-es5/actions-BOY2Tl0T.js.map +1 -0
  280. package/dist/esm-es5/{arrow_top-CF9pv-tQ.js → arrow_top-DL0RWe4n.js} +2 -2
  281. package/dist/esm-es5/arrow_top-DL0RWe4n.js.map +1 -0
  282. package/dist/esm-es5/button-Bbh7MwG6.js +19 -0
  283. package/dist/esm-es5/button-Bbh7MwG6.js.map +1 -0
  284. package/dist/esm-es5/{certification_request-Wtz6WM17.js → certification_request-PeMaLTUD.js} +5 -5
  285. package/dist/esm-es5/certification_request-PeMaLTUD.js.map +1 -0
  286. package/dist/esm-es5/{cross-DdCuR1F2.js → cross-G84H_-QL.js} +2 -2
  287. package/dist/esm-es5/cross-G84H_-QL.js.map +1 -0
  288. package/dist/esm-es5/{download-Cqfc-Sxf.js → download-ykcxSgxU.js} +2 -2
  289. package/dist/esm-es5/download-ykcxSgxU.js.map +1 -0
  290. package/dist/esm-es5/index-CwgZaF40.js +6 -0
  291. package/dist/esm-es5/index-CwgZaF40.js.map +1 -0
  292. package/dist/esm-es5/index.js +1 -1
  293. package/dist/esm-es5/link-CGURvKy1.js +12 -0
  294. package/dist/esm-es5/link-CGURvKy1.js.map +1 -0
  295. package/dist/esm-es5/loader.js +2 -2
  296. package/dist/esm-es5/loader.js.map +1 -1
  297. package/dist/esm-es5/{miscellaneous-CsGuJ6zr.js → miscellaneous-bVeJt-6m.js} +3 -3
  298. package/dist/esm-es5/miscellaneous-bVeJt-6m.js.map +1 -0
  299. package/dist/esm-es5/peculiar-attribute-certificate-viewer.peculiar-certificate-chain-viewer.peculiar-crl-viewer.peculiar-csr-viewer.entry.js.map +1 -1
  300. package/dist/esm-es5/peculiar-attribute-certificate-viewer_4.entry.js +2 -2
  301. package/dist/esm-es5/peculiar-attribute-certificate-viewer_4.entry.js.map +1 -1
  302. package/dist/esm-es5/peculiar-button-menu.peculiar-circular-progress.peculiar-highlight-words.entry.js.map +1 -1
  303. package/dist/esm-es5/peculiar-button-menu_3.entry.js +1 -1
  304. package/dist/esm-es5/peculiar-button-menu_3.entry.js.map +1 -1
  305. package/dist/esm-es5/peculiar-certificate-decoder.entry.js +1 -1
  306. package/dist/esm-es5/peculiar-certificate-decoder.entry.js.map +1 -1
  307. package/dist/esm-es5/peculiar-certificate-viewer.entry.js +1 -1
  308. package/dist/esm-es5/peculiar-certificate-viewer.entry.js.map +1 -1
  309. package/dist/esm-es5/peculiar-certificates-viewer.entry.js +2 -2
  310. package/dist/esm-es5/peculiar-certificates-viewer.entry.js.map +1 -1
  311. package/dist/esm-es5/peculiar-text-hider.entry.js +1 -1
  312. package/dist/esm-es5/peculiar-text-hider.entry.js.map +1 -1
  313. package/dist/esm-es5/peculiar.js +2 -2
  314. package/dist/esm-es5/peculiar.js.map +1 -1
  315. package/dist/esm-es5/{pkcs10_certificate_request-Cn7_Z7a1.js → pkcs10_certificate_request-CK8FH47X.js} +2 -2
  316. package/dist/esm-es5/pkcs10_certificate_request-CK8FH47X.js.map +1 -0
  317. package/dist/esm-es5/read_file-F2F0McJX.js.map +1 -1
  318. package/dist/esm-es5/{x509_certificate-ObET7_Te.js → x509_certificate-CEEWtU_T.js} +3 -3
  319. package/dist/esm-es5/x509_certificate-CEEWtU_T.js.map +1 -0
  320. package/dist/esm-es5/{x509_crl-CeW7yzP9.js → x509_crl-BcZd9KVn.js} +2 -2
  321. package/dist/esm-es5/x509_crl-BcZd9KVn.js.map +1 -0
  322. package/dist/peculiar/index.esm.js +1 -1
  323. package/dist/peculiar/loader.esm.js.map +1 -1
  324. package/dist/peculiar/p-00d6f11f.system.entry.js +111 -0
  325. package/dist/peculiar/p-00d6f11f.system.entry.js.map +1 -0
  326. package/dist/peculiar/{p-7a3bf94e.entry.js → p-0de4837d.entry.js} +2 -2
  327. package/dist/peculiar/p-0de4837d.entry.js.map +1 -0
  328. package/dist/peculiar/{p-5b829829.system.entry.js → p-14fcbc5c.system.entry.js} +2 -2
  329. package/dist/peculiar/p-14fcbc5c.system.entry.js.map +1 -0
  330. package/dist/peculiar/{p-12d2e080.entry.js → p-27ae6a3a.entry.js} +2 -2
  331. package/dist/peculiar/p-27ae6a3a.entry.js.map +1 -0
  332. package/dist/peculiar/{p-0e8ab957.entry.js → p-315805ce.entry.js} +2 -2
  333. package/dist/peculiar/p-315805ce.entry.js.map +1 -0
  334. package/dist/peculiar/{p-69b461b4.entry.js → p-5479a530.entry.js} +3 -3
  335. package/dist/peculiar/p-5479a530.entry.js.map +1 -0
  336. package/dist/peculiar/{p-5608ba3e.system.entry.js → p-591a9019.system.entry.js} +2 -2
  337. package/dist/peculiar/p-591a9019.system.entry.js.map +1 -0
  338. package/dist/peculiar/p-607d08e8.system.entry.js +5 -0
  339. package/dist/peculiar/{p-cae95996.system.entry.js.map → p-607d08e8.system.entry.js.map} +1 -1
  340. package/dist/peculiar/{p-63aa01ad.system.entry.js → p-84f69023.system.entry.js} +3 -3
  341. package/dist/peculiar/p-84f69023.system.entry.js.map +1 -0
  342. package/dist/peculiar/p-9d9f24bd.entry.js +5 -0
  343. package/dist/peculiar/{p-f4490197.entry.js.map → p-9d9f24bd.entry.js.map} +1 -1
  344. package/dist/peculiar/{p-BRhx1gbw.system.js → p-B4PdAFCr.system.js} +4 -4
  345. package/dist/peculiar/p-B4PdAFCr.system.js.map +1 -0
  346. package/dist/peculiar/p-BGASC3UX.system.js +5 -0
  347. package/dist/peculiar/p-BGASC3UX.system.js.map +1 -0
  348. package/dist/peculiar/p-BaebEpW0.system.js.map +1 -0
  349. package/dist/peculiar/{p-B2YrZuK2.system.js → p-Bi5mjeeg.system.js} +2 -2
  350. package/dist/peculiar/p-Bi5mjeeg.system.js.map +1 -0
  351. package/dist/peculiar/p-BipKYW6e.system.js +142 -0
  352. package/dist/peculiar/p-BipKYW6e.system.js.map +1 -0
  353. package/dist/peculiar/{p-B859JpGw.system.js → p-Bknpl7EO.system.js} +3 -3
  354. package/dist/peculiar/p-Bknpl7EO.system.js.map +1 -0
  355. package/dist/peculiar/p-BloT0Xj9.system.js.map +1 -0
  356. package/dist/peculiar/p-BypepohK.system.js.map +1 -0
  357. package/dist/peculiar/{p-L1KL0R34.system.js → p-C9sY8yng.system.js} +3 -3
  358. package/dist/peculiar/p-C9sY8yng.system.js.map +1 -0
  359. package/dist/peculiar/{p-CttQwkXH.js → p-CGRNSrHk.js} +42 -42
  360. package/dist/peculiar/p-CGRNSrHk.js.map +1 -0
  361. package/dist/peculiar/{p-DhdG07f8.js → p-CHnDlTqM.js} +2 -2
  362. package/dist/peculiar/p-CHnDlTqM.js.map +1 -0
  363. package/dist/peculiar/{p-CcANm2qm.system.js → p-CZwhKPgb.system.js} +2 -2
  364. package/dist/peculiar/p-CZwhKPgb.system.js.map +1 -0
  365. package/dist/peculiar/p-CbJQZ9Hh.system.js.map +1 -0
  366. package/dist/peculiar/{p-BBgwMHRZ.system.js → p-CdS84qJs.system.js} +5 -5
  367. package/dist/peculiar/p-CdS84qJs.system.js.map +1 -0
  368. package/dist/peculiar/{p-uFLk5hDd.system.js → p-CezfC5i1.system.js} +42 -42
  369. package/dist/peculiar/p-CezfC5i1.system.js.map +1 -0
  370. package/dist/peculiar/{p-t-yLLnfF.js → p-CjWRKsN-.js} +3 -3
  371. package/dist/peculiar/p-CjWRKsN-.js.map +1 -0
  372. package/dist/peculiar/{p-BCATfe_H.js → p-CutTi-2B.js} +4 -4
  373. package/dist/peculiar/p-CutTi-2B.js.map +1 -0
  374. package/dist/peculiar/p-CwgZaF40.js +6 -0
  375. package/dist/peculiar/p-CwgZaF40.js.map +1 -0
  376. package/dist/peculiar/{p-lNFxlG5A.js → p-D1eNnGDF.js} +4 -4
  377. package/dist/peculiar/p-D1eNnGDF.js.map +1 -0
  378. package/dist/peculiar/p-D2QB-8Q6.system.js.map +1 -1
  379. package/dist/peculiar/{p-BP2bmYR2.system.js → p-D8xU284r.system.js} +3 -3
  380. package/dist/peculiar/p-D8xU284r.system.js.map +1 -0
  381. package/dist/peculiar/p-DKl0YViA.system.js +6 -0
  382. package/dist/peculiar/p-DKl0YViA.system.js.map +1 -0
  383. package/dist/peculiar/{p-BisXzAqN.js → p-DMZr5ztF.js} +2 -2
  384. package/dist/peculiar/p-DMZr5ztF.js.map +1 -0
  385. package/dist/peculiar/{p-CKoxwzVA.system.js → p-DRvp86xt.system.js} +2 -2
  386. package/dist/peculiar/p-DRvp86xt.system.js.map +1 -0
  387. package/dist/peculiar/{p-DkAhB3Vy.js → p-DanjeXNk.js} +2 -2
  388. package/dist/peculiar/p-DanjeXNk.js.map +1 -0
  389. package/dist/peculiar/{p-B3myni_G.js → p-DrmgUhyv.js} +2 -2
  390. package/dist/peculiar/p-DrmgUhyv.js.map +1 -0
  391. package/dist/peculiar/p-F2F0McJX.js.map +1 -1
  392. package/dist/peculiar/p-ITVWR0oT.system.js.map +1 -0
  393. package/dist/peculiar/{p-DPre0WhP.system.js → p-J1t5v5N3.system.js} +4 -4
  394. package/dist/peculiar/p-J1t5v5N3.system.js.map +1 -0
  395. package/dist/peculiar/{p-BHBizfwo.js → p-JyD6URnB.js} +3 -3
  396. package/dist/peculiar/p-JyD6URnB.js.map +1 -0
  397. package/dist/peculiar/{p-D13P_msn.system.js.map → p-N3w4Sc5c.system.js.map} +1 -1
  398. package/dist/peculiar/{p-BOSH9vjy.system.js → p-NnCM1ETy.system.js} +3 -3
  399. package/dist/peculiar/p-NnCM1ETy.system.js.map +1 -0
  400. package/dist/peculiar/p-PeMaLTUD.js +142 -0
  401. package/dist/peculiar/p-PeMaLTUD.js.map +1 -0
  402. package/dist/peculiar/{p-CeKqQ13Z.js → p-ZT6tVIen.js} +4 -4
  403. package/dist/peculiar/p-ZT6tVIen.js.map +1 -0
  404. package/dist/peculiar/p-c8b3766a.entry.js +110 -0
  405. package/dist/peculiar/p-c8b3766a.entry.js.map +1 -0
  406. package/dist/peculiar/{p-1af57833.system.entry.js → p-de857304.system.entry.js} +2 -2
  407. package/dist/peculiar/p-de857304.system.entry.js.map +1 -0
  408. package/dist/peculiar/p-eziSY5IJ.system.js.map +1 -0
  409. package/dist/peculiar/peculiar-attribute-certificate-viewer.peculiar-certificate-chain-viewer.peculiar-crl-viewer.peculiar-csr-viewer.entry.esm.js.map +1 -1
  410. package/dist/peculiar/peculiar-button-menu.peculiar-circular-progress.peculiar-highlight-words.entry.esm.js.map +1 -1
  411. package/dist/peculiar/peculiar-certificate-decoder.entry.esm.js.map +1 -1
  412. package/dist/peculiar/peculiar-certificate-viewer.entry.esm.js.map +1 -1
  413. package/dist/peculiar/peculiar-certificates-viewer.entry.esm.js.map +1 -1
  414. package/dist/peculiar/peculiar-text-hider.entry.esm.js.map +1 -1
  415. package/dist/peculiar/peculiar.esm.js +1 -1
  416. package/dist/peculiar/peculiar.esm.js.map +1 -1
  417. package/dist/peculiar/peculiar.js +1 -1
  418. package/dist/types/components/attribute-certificate-viewer/attribute-certificate-viewer.d.ts +3 -3
  419. package/dist/types/components/button/button.d.ts +2 -2
  420. package/dist/types/components/button/index.d.ts +1 -1
  421. package/dist/types/components/button-menu/button-menu.d.ts +5 -5
  422. package/dist/types/components/certificate-details-parts/miscellaneous.d.ts +2 -2
  423. package/dist/types/components/certificate-summary/certificate-summary.d.ts +2 -2
  424. package/dist/types/components/certificate-viewer/certificate-viewer.d.ts +3 -3
  425. package/dist/types/components/certificates-viewer/certificates-viewer.d.ts +3 -2
  426. package/dist/types/components/crl-viewer/crl-viewer.d.ts +3 -3
  427. package/dist/types/components/csr-viewer/csr-viewer.d.ts +3 -3
  428. package/dist/types/components/icons/actions.d.ts +2 -2
  429. package/dist/types/components/icons/arrow_bottom.d.ts +2 -2
  430. package/dist/types/components/icons/arrow_top.d.ts +2 -2
  431. package/dist/types/components/icons/cross.d.ts +2 -2
  432. package/dist/types/components/icons/details.d.ts +2 -2
  433. package/dist/types/components/icons/download.d.ts +2 -2
  434. package/dist/types/components/icons/link.d.ts +2 -2
  435. package/dist/types/components/link/link.d.ts +4 -4
  436. package/dist/types/components/typography/typography.d.ts +7 -6
  437. package/dist/types/components.d.ts +46 -20
  438. package/dist/types/constants/oids.d.ts +5 -0
  439. package/dist/types/crypto/asn_data.d.ts +1 -3
  440. package/dist/types/crypto/pem_converter.d.ts +7 -19
  441. package/dist/types/crypto/provider.d.ts +1 -6
  442. package/dist/types/interface.d.ts +3 -3
  443. package/dist/types/stencil-public-runtime.d.ts +34 -6
  444. package/dist/types/utils/l10n.d.ts +6 -6
  445. package/dist/types/utils/read_file.d.ts +7 -7
  446. package/hydrate/index.d.ts +38 -24
  447. package/hydrate/index.js +4386 -3421
  448. package/hydrate/index.mjs +4385 -3422
  449. package/package.json +32 -33
  450. package/dist/cjs/actions-Dl4HXXlI.js.map +0 -1
  451. package/dist/cjs/app-globals-BOZYdIuK.js +0 -11
  452. package/dist/cjs/app-globals-BOZYdIuK.js.map +0 -1
  453. package/dist/cjs/arrow_top-DBMPHVlB.js.map +0 -1
  454. package/dist/cjs/button-C5jDF-CZ.js.map +0 -1
  455. package/dist/cjs/certification_request-DS5FED4F.js.map +0 -1
  456. package/dist/cjs/cross-pi7K0cHC.js.map +0 -1
  457. package/dist/cjs/download-D9skkVoT.js.map +0 -1
  458. package/dist/cjs/index-BO3rFndV.js.map +0 -1
  459. package/dist/cjs/link-CwLq-Nge.js.map +0 -1
  460. package/dist/cjs/miscellaneous-UxtK1SWb.js.map +0 -1
  461. package/dist/cjs/pkcs10_certificate_request-DaWYvR0i.js.map +0 -1
  462. package/dist/cjs/x509_certificate-DBpSGIUT.js.map +0 -1
  463. package/dist/cjs/x509_crl-BBnJqOIF.js.map +0 -1
  464. package/dist/esm/actions-DzoPRObK.js.map +0 -1
  465. package/dist/esm/app-globals-zVR349KA.js +0 -9
  466. package/dist/esm/app-globals-zVR349KA.js.map +0 -1
  467. package/dist/esm/arrow_top-CF9pv-tQ.js.map +0 -1
  468. package/dist/esm/button-Djn8UI82.js.map +0 -1
  469. package/dist/esm/certification_request-Wtz6WM17.js.map +0 -1
  470. package/dist/esm/cross-DdCuR1F2.js.map +0 -1
  471. package/dist/esm/download-Cqfc-Sxf.js.map +0 -1
  472. package/dist/esm/index-DDDrq3In.js.map +0 -1
  473. package/dist/esm/link-BfDk078v.js.map +0 -1
  474. package/dist/esm/miscellaneous-CsGuJ6zr.js.map +0 -1
  475. package/dist/esm/pkcs10_certificate_request-Cn7_Z7a1.js.map +0 -1
  476. package/dist/esm/x509_certificate-ObET7_Te.js.map +0 -1
  477. package/dist/esm/x509_crl-CeW7yzP9.js.map +0 -1
  478. package/dist/esm-es5/actions-DzoPRObK.js.map +0 -1
  479. package/dist/esm-es5/app-globals-zVR349KA.js +0 -5
  480. package/dist/esm-es5/app-globals-zVR349KA.js.map +0 -1
  481. package/dist/esm-es5/arrow_top-CF9pv-tQ.js.map +0 -1
  482. package/dist/esm-es5/button-Djn8UI82.js +0 -19
  483. package/dist/esm-es5/button-Djn8UI82.js.map +0 -1
  484. package/dist/esm-es5/certification_request-Wtz6WM17.js.map +0 -1
  485. package/dist/esm-es5/cross-DdCuR1F2.js.map +0 -1
  486. package/dist/esm-es5/download-Cqfc-Sxf.js.map +0 -1
  487. package/dist/esm-es5/index-DDDrq3In.js +0 -6
  488. package/dist/esm-es5/index-DDDrq3In.js.map +0 -1
  489. package/dist/esm-es5/link-BfDk078v.js +0 -12
  490. package/dist/esm-es5/link-BfDk078v.js.map +0 -1
  491. package/dist/esm-es5/miscellaneous-CsGuJ6zr.js.map +0 -1
  492. package/dist/esm-es5/pkcs10_certificate_request-Cn7_Z7a1.js.map +0 -1
  493. package/dist/esm-es5/x509_certificate-ObET7_Te.js.map +0 -1
  494. package/dist/esm-es5/x509_crl-CeW7yzP9.js.map +0 -1
  495. package/dist/peculiar/p-0e8ab957.entry.js.map +0 -1
  496. package/dist/peculiar/p-12d2e080.entry.js.map +0 -1
  497. package/dist/peculiar/p-1af57833.system.entry.js.map +0 -1
  498. package/dist/peculiar/p-3e4062f6.entry.js +0 -110
  499. package/dist/peculiar/p-3e4062f6.entry.js.map +0 -1
  500. package/dist/peculiar/p-5608ba3e.system.entry.js.map +0 -1
  501. package/dist/peculiar/p-5b829829.system.entry.js.map +0 -1
  502. package/dist/peculiar/p-63aa01ad.system.entry.js.map +0 -1
  503. package/dist/peculiar/p-69b461b4.entry.js.map +0 -1
  504. package/dist/peculiar/p-7Nmqck4T.system.js.map +0 -1
  505. package/dist/peculiar/p-7a3bf94e.entry.js.map +0 -1
  506. package/dist/peculiar/p-B2YrZuK2.system.js.map +0 -1
  507. package/dist/peculiar/p-B3myni_G.js.map +0 -1
  508. package/dist/peculiar/p-B859JpGw.system.js.map +0 -1
  509. package/dist/peculiar/p-BBgwMHRZ.system.js.map +0 -1
  510. package/dist/peculiar/p-BCATfe_H.js.map +0 -1
  511. package/dist/peculiar/p-BFenL1ap.system.js +0 -6
  512. package/dist/peculiar/p-BFenL1ap.system.js.map +0 -1
  513. package/dist/peculiar/p-BHBizfwo.js.map +0 -1
  514. package/dist/peculiar/p-BOSH9vjy.system.js.map +0 -1
  515. package/dist/peculiar/p-BP2bmYR2.system.js.map +0 -1
  516. package/dist/peculiar/p-BRhx1gbw.system.js.map +0 -1
  517. package/dist/peculiar/p-BX9qW3ww.system.js.map +0 -1
  518. package/dist/peculiar/p-BisXzAqN.js.map +0 -1
  519. package/dist/peculiar/p-CFhlbr47.system.js.map +0 -1
  520. package/dist/peculiar/p-CKoxwzVA.system.js.map +0 -1
  521. package/dist/peculiar/p-C_vT-OYk.system.js.map +0 -1
  522. package/dist/peculiar/p-CcANm2qm.system.js.map +0 -1
  523. package/dist/peculiar/p-CeKqQ13Z.js.map +0 -1
  524. package/dist/peculiar/p-CttQwkXH.js.map +0 -1
  525. package/dist/peculiar/p-CwlxH4oM.system.js +0 -5
  526. package/dist/peculiar/p-CwlxH4oM.system.js.map +0 -1
  527. package/dist/peculiar/p-D5BWI7FK.system.js +0 -5
  528. package/dist/peculiar/p-D5BWI7FK.system.js.map +0 -1
  529. package/dist/peculiar/p-DDDrq3In.js +0 -6
  530. package/dist/peculiar/p-DDDrq3In.js.map +0 -1
  531. package/dist/peculiar/p-DPre0WhP.system.js.map +0 -1
  532. package/dist/peculiar/p-DX5B2Msh.system.js.map +0 -1
  533. package/dist/peculiar/p-DgcB4Nqx.system.js +0 -142
  534. package/dist/peculiar/p-DgcB4Nqx.system.js.map +0 -1
  535. package/dist/peculiar/p-DhdG07f8.js.map +0 -1
  536. package/dist/peculiar/p-Dk86_qlM.system.js.map +0 -1
  537. package/dist/peculiar/p-DkAhB3Vy.js.map +0 -1
  538. package/dist/peculiar/p-L1KL0R34.system.js.map +0 -1
  539. package/dist/peculiar/p-Wtz6WM17.js +0 -142
  540. package/dist/peculiar/p-Wtz6WM17.js.map +0 -1
  541. package/dist/peculiar/p-bafc3336.system.entry.js +0 -111
  542. package/dist/peculiar/p-bafc3336.system.entry.js.map +0 -1
  543. package/dist/peculiar/p-cae95996.system.entry.js +0 -5
  544. package/dist/peculiar/p-f4490197.entry.js +0 -5
  545. package/dist/peculiar/p-lNFxlG5A.js.map +0 -1
  546. package/dist/peculiar/p-t-yLLnfF.js.map +0 -1
  547. package/dist/peculiar/p-uFLk5hDd.system.js.map +0 -1
  548. package/dist/peculiar/p-zVR349KA.js +0 -5
  549. package/dist/peculiar/p-zVR349KA.js.map +0 -1
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * © Peculiar Ventures https://peculiarventures.com/ - MIT License
3
3
  */
4
- System.register(["./p-BFenL1ap.system.js","./p-BRhx1gbw.system.js"],(function(e){"use strict";var n,r;return{setters:[function(e){n=e.h},function(e){r=e.T}],execute:function(){
4
+ System.register(["./p-DKl0YViA.system.js","./p-B4PdAFCr.system.js"],(function(e){"use strict";var r,n;return{setters:[function(e){r=e.h},function(e){n=e.T}],execute:function(){
5
5
  /**
6
6
  * @license
7
7
  * Copyright (c) Peculiar Ventures, LLC.
@@ -9,5 +9,5 @@ System.register(["./p-BFenL1ap.system.js","./p-BRhx1gbw.system.js"],(function(e)
9
9
  * This source code is licensed under the MIT license found in the
10
10
  * LICENSE file in the root directory of this source tree.
11
11
  */
12
- var t=e("L",(function(e,t){var o=e.href,s=e.variant;return n(r,{component:"a",variant:s,color:"secondary",href:o,target:"_blank",rel:"noreferrer noopener"},t)}))}}}));
13
- //# sourceMappingURL=p-B859JpGw.system.js.map
12
+ var t=e("L",(function(e,t){var o=e.href,s=e.variant;return r(n,{component:"a",variant:s,color:"secondary",href:o,target:"_blank",rel:"noreferrer noopener"},t)}))}}}));
13
+ //# sourceMappingURL=p-Bknpl7EO.system.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"p-Bknpl7EO.system.js","sources":["src/components/link/link.tsx"],"sourcesContent":["/**\n * @license\n * Copyright (c) Peculiar Ventures, LLC.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { FunctionalComponent, h } from '@stencil/core';\nimport type { TTypography } from '../../interface';\nimport { Typography } from '../typography';\n\ninterface ILinkProps {\n href: string;\n variant?: TTypography;\n}\n\nexport const Link: FunctionalComponent<ILinkProps> = (props, children) => {\n const {\n href,\n variant,\n } = props;\n\n return (\n <Typography\n component=\"a\"\n variant={variant}\n color=\"secondary\"\n // @ts-expect-error - href is a string\n href={href}\n target=\"_blank\"\n rel=\"noreferrer noopener\"\n >\n {children}\n </Typography>\n );\n};\n"],"names":[],"mappings":";;;;;;;;;;;;;;YAAA;;;;;;YAMG;kBAWU,IAAI,gBAAoC,CAAC,KAAK,EAAE,QAAQ,KAAI;YACvE,IAAA,MAAM,EACJ,IAAI,EACJ,OAAO,GACR,GAAG,KAAK;YAET,IAAA,QACE,CAAA,CAAC,UAAU,EAAA,EACT,SAAS,EAAC,GAAG,EACb,OAAO,EAAE,OAAO,EAChB,KAAK,EAAC,WAAW;;YAEjB,QAAA,IAAI,EAAE,IAAI,EACV,MAAM,EAAC,QAAQ,EACf,GAAG,EAAC,qBAAqB,EAAA,EAExB,QAAQ,CACE;YAEjB;;;;;;;;"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"p-BloT0Xj9.system.js","sources":["../../node_modules/.pnpm/@peculiar+asn1-cms@2.4.0/node_modules/@peculiar/asn1-cms/build/es2015/object_identifiers.js","src/crypto/x509_certificates.ts","src/components/certificate-decoder/certificate-decoder.scss?tag=peculiar-certificate-decoder&encapsulation=shadow","src/components/certificate-decoder/certificate-decoder.tsx"],"sourcesContent":["export const id_ct_contentInfo = \"1.2.840.113549.1.9.16.1.6\";\nexport const id_data = \"1.2.840.113549.1.7.1\";\nexport const id_signedData = \"1.2.840.113549.1.7.2\";\nexport const id_envelopedData = \"1.2.840.113549.1.7.3\";\nexport const id_digestedData = \"1.2.840.113549.1.7.5\";\nexport const id_encryptedData = \"1.2.840.113549.1.7.6\";\nexport const id_authData = \"1.2.840.113549.1.9.16.1.2\";\n","import { Convert } from 'pvtsutils';\nimport {\n SignedData,\n id_data,\n EncapsulatedContent,\n CertificateSet,\n CertificateChoices,\n ContentInfo,\n id_signedData,\n} from '@peculiar/asn1-cms';\nimport { Certificate } from '@peculiar/asn1-x509';\nimport { AsnConvert, OctetString } from '@peculiar/asn1-schema';\nimport { Download } from '../utils';\nimport { PemConverter } from './pem_converter';\nimport { X509Certificate } from './x509_certificate';\n\nexport class X509Certificates extends Array<X509Certificate> {\n constructor(raw: string) {\n super();\n\n const rawItems = PemConverter.isPem(raw)\n ? PemConverter.decode(raw).map((value) => Convert.ToBase64Url(value))\n : raw.split(',');\n\n if (rawItems.length < 2) {\n throw new Error('Unable to parse string. The array of elements is less than 2');\n }\n\n for (const item of rawItems) {\n this.push(new X509Certificate(item));\n }\n }\n\n public get commonName(): string {\n return Array.from(this)\n .map((o) => o.commonName)\n .join('_');\n }\n\n public get raw(): ArrayBuffer {\n const signedData = new SignedData();\n\n signedData.version = 1;\n signedData.encapContentInfo.eContentType = id_data;\n signedData.encapContentInfo.eContent = new EncapsulatedContent({ single: new OctetString() });\n signedData.certificates = new CertificateSet(\n Array.from(this)\n .map((o) => new CertificateChoices({ certificate: AsnConvert.parse(o.raw, Certificate) })),\n );\n\n const cms = new ContentInfo({\n contentType: id_signedData,\n content: AsnConvert.serialize(signedData),\n });\n\n return AsnConvert.serialize(cms);\n }\n\n public toString(format: 'pem' | 'base64' | 'base64url' = 'pem'): string {\n switch (format) {\n case 'pem':\n return Array.from(this)\n .map((o) => o.toString('pem'))\n .join('\\n');\n case 'base64url':\n return Array.from(this)\n .map((o) => o.toString('base64url'))\n .join(',');\n default:\n return Array.from(this)\n .map((o) => o.toString('base64'))\n .join(',');\n }\n }\n\n public downloadAsPEM(name?: string) {\n Download.cert.asPEM(\n this.toString('pem'),\n name || this.commonName,\n );\n }\n\n public downloadAsDER(name?: string) {\n Download.cert.asDER(\n this.raw,\n name || this.commonName,\n );\n }\n}\n","@import '../../css/base.scss';\n\n:host {\n display: block;\n width: 100%;\n}\n\n.textarea {\n min-height: 300px;\n width: 100%;\n border-radius: 4px;\n border: 1px solid var(--pv-color-gray-5);;\n padding: 14px;\n font-family: monospace;\n resize: vertical;\n}\n\n.controls {\n margin-top: var(--pv-size-base-2);\n display: flex;\n flex-direction: column;\n gap: var(--pv-size-base-2);\n margin-bottom: var(--pv-size-base-12);\n}\n\n.control_row {\n display: flex;\n align-items: center;\n gap: var(--pv-size-base);\n}\n","/**\n * @license\n * Copyright (c) Peculiar Ventures, LLC.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport {\n Component,\n Host,\n h,\n State,\n Prop,\n Event,\n EventEmitter,\n} from '@stencil/core';\nimport { readAsBinaryString } from '../../utils';\nimport {\n X509Certificate,\n X509AttributeCertificate,\n Pkcs10CertificateRequest,\n X509Crl,\n X509Certificates,\n} from '../../crypto';\nimport { Button } from '../button';\nimport { Typography } from '../typography';\n\n@Component({\n tag: 'peculiar-certificate-decoder',\n styleUrl: 'certificate-decoder.scss',\n shadow: true,\n})\nexport class CertificateDecoder {\n private inputPaste?: HTMLTextAreaElement;\n\n /**\n * The example certificate value for decode and show details. Use PEM or DER.\n */\n @Prop() certificateExamples?: {\n title: string;\n value: string;\n }[];\n\n /**\n * The default certificate value for decode and show details. Use PEM or DER.\n */\n @Prop() certificateToDecode?: string;\n\n @State() certificateDecoded: X509Certificates\n | X509Certificate\n | X509AttributeCertificate\n | Pkcs10CertificateRequest\n | X509Crl;\n\n /**\n * Emitted when the certificate has been successfully parsed.\n */\n @Event() successParse!: EventEmitter<string>;\n\n /**\n * Emitted when the certificate has been removed.\n */\n @Event() clearCertificate!: EventEmitter<void>;\n\n componentDidLoad() {\n if (this.certificateToDecode) {\n /**\n * Prevent Stencil warning about re-render\n */\n setTimeout(() => this.decode(this.certificateToDecode), 100);\n }\n }\n\n private handleClickDecode = () => {\n const { value } = this.inputPaste;\n\n if (value) {\n this.decode(value);\n }\n };\n\n private handleClickClear = () => {\n this.clearValue();\n };\n\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n private handleChangeInputFile = async (event: any) => {\n const element = event.target;\n\n if (element.files) {\n const file = await readAsBinaryString(element.files[0]);\n\n if (typeof file.value === 'string') {\n this.decode(file.value);\n }\n\n element.value = '';\n }\n };\n\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n private handleChangeExample = (event: any) => {\n if (event.target.value) {\n this.decode(event.target.value);\n } else {\n this.clearValue();\n }\n };\n\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n private handleDropFile = async (event: any) => {\n event.stopPropagation();\n event.preventDefault();\n\n const element = event.dataTransfer;\n\n if (element.files) {\n const file = await readAsBinaryString(element.files[0]);\n\n if (typeof file.value === 'string') {\n this.decode(file.value);\n }\n }\n };\n\n clearValue() {\n this.inputPaste.value = '';\n this.certificateDecoded = null;\n this.clearCertificate.emit();\n }\n\n setValue(value: typeof this.certificateDecoded) {\n this.certificateDecoded = value;\n this.inputPaste.value = value.toString('pem');\n this.successParse.emit(value.toString('base64url'));\n }\n\n decode(value: string) {\n new Promise<X509Certificates>((resolve) => {\n resolve(new X509Certificates(value));\n })\n .catch(() => new X509Certificate(value))\n .catch(() => new X509AttributeCertificate(value))\n .catch(() => new Pkcs10CertificateRequest(value))\n .catch(() => new X509Crl(value))\n .then((res: typeof this.certificateDecoded) => this.setValue(res))\n .catch((error) => {\n console.log(error);\n\n alert(`Error decoding certificate:\\n\"${value}\"\\n\\nPlease try to use Certificate/AttributeCertificate/CertificateRequest/CRL.`);\n });\n }\n\n renderCertificate() {\n if (this.certificateDecoded instanceof X509Certificates) {\n return (\n <peculiar-certificate-chain-viewer\n certificates={this.certificateDecoded}\n download\n />\n );\n }\n\n if (this.certificateDecoded instanceof X509Certificate) {\n return (\n <peculiar-certificate-viewer\n certificate={this.certificateDecoded}\n download\n />\n );\n }\n\n if (this.certificateDecoded instanceof X509AttributeCertificate) {\n return (\n <peculiar-attribute-certificate-viewer\n certificate={this.certificateDecoded}\n download\n />\n );\n }\n\n if (this.certificateDecoded instanceof Pkcs10CertificateRequest) {\n return (\n <peculiar-csr-viewer\n certificate={this.certificateDecoded}\n download\n />\n );\n }\n\n if (this.certificateDecoded instanceof X509Crl) {\n return (\n <peculiar-crl-viewer\n certificate={this.certificateDecoded}\n download\n />\n );\n }\n\n return null;\n }\n\n render() {\n return (\n <Host>\n <textarea\n placeholder=\"Certificate DER or PEM\"\n class=\"textarea t-b2 c-black\"\n ref={(el) => { this.inputPaste = el; }}\n onDrop={this.handleDropFile}\n />\n <div class=\"controls\">\n <div class=\"control_row\">\n <Typography\n variant=\"b3\"\n color=\"secondary-tint-2\"\n >\n Drag or load file:\n </Typography>\n <input\n type=\"file\"\n accept=\"application/pkix-cert,application/x-x509-ca-cert,application/x-x509-user-cert,application/pkcs10,application/pkix-crl,.csr,.req,.crl\"\n value=\"\"\n onChange={this.handleChangeInputFile}\n />\n </div>\n {this.certificateExamples?.length && (\n <div class=\"control_row\">\n <Typography\n variant=\"b3\"\n color=\"secondary-tint-2\"\n >\n Load examples:\n </Typography>\n <select onChange={this.handleChangeExample}>\n <option value=\"\">None</option>\n {this.certificateExamples.map((example) => (\n <option value={example.value}>\n {example.title}\n </option>\n ))}\n </select>\n </div>\n )}\n <div class=\"control_row\">\n <Button\n onClick={this.handleClickDecode}\n >\n Decode\n </Button>\n <Button\n onClick={this.handleClickClear}\n >\n Clear\n </Button>\n </div>\n </div>\n {this.renderCertificate()}\n </Host>\n );\n }\n}\n"],"names":["Convert"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YACO,MAAM,OAAO,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AA,0CAAA,EAAA,KAAK,EAAC,EAAE,EAAc,EAAA,MAAA,CAAA,EAC7B,IAAI,CAAC,mBAAmB,CAAC,GAAG,CAAC,CAAC,OAAO,MACpC,CAAQ,CAAA,QAAA,EAAA,EAAA,KAAK,EAAE,OAAO,CAAC,KAAK,EAAA,EACzB,OAAO,CAAC,KAAK,CACP,CACV,CAAC,CACK,CACL,CACP,EACD,CAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,aAAa,EAAA,EACtB,CAAA,CAAC,MAAM,EACL,EAAA,GAAA,EAAA,0CAAA,EAAA,OAAO,EAAE,IAAI,CAAC,iBAAiB,EAGxB,EAAA,QAAA,CAAA,EACT,CAAC,CAAA,MAAM,qDACL,OAAO,EAAE,IAAI,CAAC,gBAAgB,EAGvB,EAAA,OAAA,CAAA,CACL,CACF,EACL,IAAI,CAAC,iBAAiB,EAAE,CACpB;;;;;;;;;;;","x_google_ignoreList":[0]}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"p-BypepohK.system.js","sources":["src/components/certificate-viewer/certificate-viewer.scss?tag=peculiar-certificate-viewer&encapsulation=shadow","src/components/certificate-viewer/certificate-viewer.tsx"],"sourcesContent":["@import '../../css/base.scss';\n\n:host {\n display: block;\n width: 100%;\n position: relative;\n min-width: 280px;\n min-height: 300px;\n word-wrap: break-word;\n word-break: break-word;\n}\n\nth, td {\n border: none;\n}\n\ntable {\n width: 100%;\n border-spacing: 0;\n border-collapse: collapse;\n\n tr:last-child {\n .divider {\n display: none;\n }\n }\n\n td {\n padding: var(--pv-size-base-2) var(--pv-size-base-4);\n vertical-align: top;\n\n &:first-child {\n width: 220px;\n }\n\n &:last-child {\n width: calc(100% - 220px)\n }\n\n &.monospace {\n max-width: 0;\n }\n\n &.divider {\n padding: var(--pv-size-base-2) 0;\n\n span {\n height: 1px;\n display: block;\n background-color: var(--pv-color-gray-4);\n }\n }\n }\n\n .title td {\n padding-top: var(--pv-size-base-6);\n padding-bottom: var(--pv-size-base-2);\n }\n\n table {\n border-left: 1px solid var(--pv-color-gray-5);\n }\n}\n\n.status_wrapper {\n min-height: inherit;\n display: flex;\n justify-content: center;\n align-items: center;\n}\n\n:host([data-mobile-screen-view=\"true\"]) {\n table, tr, td {\n display: block;\n }\n\n table {\n tr {\n padding: var(--pv-size-base-2) 0;\n\n &.title {\n padding-top: var(--pv-size-base-6);\n\n td {\n padding: 0 var(--pv-size-base-4);\n }\n }\n }\n\n td {\n padding: 0 var(--pv-size-base-4);\n width: 100% !important;\n max-width: 100% !important;\n\n &.divider {\n padding: 0;\n }\n }\n }\n}\n","/**\n * @license\n * Copyright (c) Peculiar Ventures, LLC.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport {\n Component,\n h,\n Prop,\n State,\n Watch,\n Host,\n Build,\n} from '@stencil/core';\nimport { X509Certificate } from '../../crypto';\nimport {\n getDNSNameLink, getIPAddressLink, getLEILink,\n} from '../../utils/third_party_links';\nimport {\n BasicInformation,\n SubjectName,\n IssuerName,\n PublicKey,\n Signature,\n Thumbprints,\n Extensions,\n Miscellaneous,\n} from '../certificate-details-parts';\nimport { Typography } from '../typography';\n\nexport type TCertificateProp = string | X509Certificate;\n\n@Component({\n tag: 'peculiar-certificate-viewer',\n styleUrl: 'certificate-viewer.scss',\n shadow: true,\n})\nexport class CertificateViewer {\n private certificateDecoded: X509Certificate;\n\n private certificateDecodeError: Error;\n\n private mobileMediaQuery: MediaQueryList;\n\n /**\n * The certificate value for decode and show details. Use PEM or DER.\n */\n @Prop({ reflect: true }) certificate: TCertificateProp;\n\n /**\n * If `true` - component will show split-button to download certificate as PEM or DER.\n */\n @Prop({ reflect: true }) download?: boolean;\n\n /**\n * Authority Key Identifier extension parent link.\n * <br />\n * **NOTE**: `{{authKeyId}}` will be replaced to value from the extension.\n * @example\n * https://censys.io/certificates?q=parsed.extensions.subject_key_id:%20{{authKeyId}}\n */\n @Prop({ reflect: true }) authKeyIdParentLink?: string;\n\n /**\n * Authority Key Identifier extension siblings link.\n * <br />\n * **NOTE**: `{{authKeyId}}` will be replaced to value from the extension.\n * @example\n * https://censys.io/certificates?q=parsed.extensions.authority_key_id:%20{{authKeyId}}\n */\n @Prop({ reflect: true }) authKeyIdSiblingsLink?: string;\n\n /**\n * Subject Key Identifier extension children link.\n * <br />\n * **NOTE**: `{{subjectKeyId}}` will be replaced to value from the extension.\n * @example\n * https://censys.io/certificates?q=parsed.extensions.authority_key_id:%20{{subjectKeyId}}\n */\n @Prop({ reflect: true }) subjectKeyIdChildrenLink?: string;\n\n /**\n * Subject Key Identifier extension siblings link.\n * <br />\n * **NOTE**: `{{subjectKeyId}}` will be replaced to value from the extension.\n * @example\n * https://some.com/{{subjectKeyId}}\n */\n @Prop({ reflect: true }) subjectKeyIdSiblingsLink?: string;\n\n /**\n * Issuer DN link.\n * **NOTE**: HTML component attribute must be `issuer-dn-link`.\n */\n @Prop({ reflect: true }) issuerDnLink?: string;\n\n /**\n * Mobile media query string to control screen view change.\n * <br />\n * **NOTE**: Based on https://developer.mozilla.org/en-US/docs/Web/API/Window/matchMedia.\n * @example\n * (max-width: 900px)\n */\n @Prop({ reflect: false }) mobileMediaQueryString?: string = '(max-width: 900px)';\n\n @State() mobileScreenView = false;\n\n @State() isDecodeInProcess = true;\n\n private handleMediaQueryChange(event: MediaQueryListEvent) {\n this.mobileScreenView = event.matches;\n }\n\n componentWillLoad() {\n this.decodeCertificate(this.certificate);\n\n if (Build.isBrowser) {\n this.mobileMediaQuery = window.matchMedia(this.mobileMediaQueryString);\n this.mobileMediaQuery.addEventListener('change', this.handleMediaQueryChange.bind(this));\n this.mobileScreenView = this.mobileMediaQuery.matches;\n }\n }\n\n disconnectedCallback() {\n this.mobileMediaQuery.removeEventListener('change', this.handleMediaQueryChange.bind(this));\n }\n\n private async decodeCertificate(certificate: TCertificateProp) {\n this.isDecodeInProcess = true;\n\n try {\n if (certificate instanceof X509Certificate) {\n this.certificateDecoded = certificate;\n } else if (typeof certificate === 'string') {\n this.certificateDecoded = new X509Certificate(certificate);\n } else {\n return;\n }\n\n this.certificateDecoded.parseExtensions();\n await this.certificateDecoded.getThumbprint('SHA-1');\n await this.certificateDecoded.getThumbprint('SHA-256');\n } catch (error) {\n this.certificateDecodeError = error;\n\n console.error('Error certificate parse:', error);\n }\n\n this.isDecodeInProcess = false;\n }\n\n /**\n * Rerun decodeCertificate if previuos value not equal current value\n */\n @Watch('certificate')\n watchCertificateAndDecode(newValue: TCertificateProp, oldValue: TCertificateProp) {\n if (typeof newValue === 'string' && typeof oldValue === 'string') {\n if (newValue !== oldValue) {\n this.decodeCertificate(newValue);\n }\n\n return;\n }\n\n if (newValue instanceof X509Certificate && oldValue instanceof X509Certificate) {\n if (newValue.serialNumber !== oldValue.serialNumber) {\n this.decodeCertificate(newValue);\n }\n }\n }\n\n private getAuthKeyIdParentLink = (value: string) => this.authKeyIdParentLink\n ?.replace('{{authKeyId}}', value);\n\n private getAuthKeyIdSiblingsLink = (value: string) => this.authKeyIdSiblingsLink\n ?.replace('{{authKeyId}}', value);\n\n private getSubjectKeyIdChildrenLink = (value: string) => this.subjectKeyIdChildrenLink\n ?.replace('{{subjectKeyId}}', value);\n\n private getSubjectKeyIdSiblingsLink = (value: string) => this.subjectKeyIdSiblingsLink\n ?.replace('{{subjectKeyId}}', value);\n\n private getIssuerDnLink() {\n return this.issuerDnLink;\n }\n\n private renderErrorState() {\n return (\n <div class=\"status_wrapper\">\n <Typography>\n There was an error decoding this certificate.\n </Typography>\n </div>\n );\n }\n\n private renderEmptyState() {\n return (\n <div class=\"status_wrapper\">\n <Typography>\n There is no certificate available.\n </Typography>\n </div>\n );\n }\n\n render() {\n if (this.certificateDecodeError) {\n return this.renderErrorState();\n }\n\n if (!this.certificateDecoded) {\n return this.renderEmptyState();\n }\n\n return (\n <Host\n data-mobile-screen-view={String(this.mobileScreenView)}\n >\n <table>\n <BasicInformation\n {...this.certificateDecoded}\n />\n\n <SubjectName\n name={this.certificateDecoded.subject}\n />\n\n <IssuerName\n name={this.certificateDecoded.issuer}\n issuerDnLink={this.getIssuerDnLink()}\n />\n\n <PublicKey\n publicKey={this.certificateDecoded.publicKey}\n />\n\n <Signature\n signature={this.certificateDecoded.signature}\n />\n\n <Thumbprints\n thumbprints={this.certificateDecoded.thumbprints}\n />\n\n <Extensions\n extensions={this.certificateDecoded.extensions}\n getLEILink={getLEILink}\n getDNSNameLink={getDNSNameLink}\n getIPAddressLink={getIPAddressLink}\n getAuthKeyIdParentLink={this.getAuthKeyIdParentLink}\n getAuthKeyIdSiblingsLink={this.getAuthKeyIdSiblingsLink}\n getSubjectKeyIdChildrenLink={this.getSubjectKeyIdChildrenLink}\n getSubjectKeyIdSiblingsLink={this.getSubjectKeyIdSiblingsLink}\n />\n\n {this.download && (\n <Miscellaneous\n certificate={this.certificateDecoded}\n />\n )}\n </table>\n </Host>\n );\n }\n}\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAAA,MAAM,oBAAoB,GAAG,4jSAA4jS;;YCwC5kS,iBAAiB,0CAAA,MAAA;MAL9B,IAAA,WAAA,CAAA,OAAA,EAAA;;MAgEE;;;;;;MAMG;MACuB,QAAA,IAAsB,CAAA,sBAAA,GAAY,oBAAoB;MAEvE,QAAA,IAAgB,CAAA,gBAAA,GAAG,KAAK;MAExB,QAAA,IAAiB,CAAA,iBAAA,GAAG,IAAI;MAgEzB,QAAA,IAAA,CAAA,sBAAsB,GAAG,CAAC,KAAa,KAAI;;MAAC,YAAA,OAAA,CAAA,EAAA,GAAA,IAAI,CAAC,mBAAmB,MAAA,IAAA,IAAA,EAAA,KAAA,MAAA,GAAA,MAAA,GAAA,EAAA,CACxE,OAAO,CAAC,eAAe,EAAE,KAAK,CAAC;eAAA;MAE3B,QAAA,IAAA,CAAA,wBAAwB,GAAG,CAAC,KAAa,KAAI;;MAAC,YAAA,OAAA,CAAA,EAAA,GAAA,IAAI,CAAC,qBAAqB,MAAA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gBAAgB,EAAE,gBAAgB,EAClC,sBAAsB,EAAE,IAAI,CAAC,sBAAsB,EACnD,wBAAwB,EAAE,IAAI,CAAC,wBAAwB,EACvD,2BAA2B,EAAE,IAAI,CAAC,2BAA2B,EAC7D,2BAA2B,EAAE,IAAI,CAAC,2BAA2B,EAC7D,CAAA,EAED,IAAI,CAAC,QAAQ,KACZ,CAAA,CAAC,aAAa,EACZ,EAAA,WAAW,EAAE,IAAI,CAAC,kBAAkB,EAAA,CACpC,CACH,CACK,CACH;;;;;;;;;;;;;;"}
@@ -1,7 +1,7 @@
1
1
  var __extends=this&&this.__extends||function(){var t=function(n,r){t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var r in n)if(Object.prototype.hasOwnProperty.call(n,r))t[r]=n[r]};return t(n,r)};return function(n,r){if(typeof r!=="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(n,r);function e(){this.constructor=n}n.prototype=r===null?Object.create(r):(e.prototype=r.prototype,new e)}}();var __awaiter=this&&this.__awaiter||function(t,n,r,e){function i(t){return t instanceof r?t:new r((function(n){n(t)}))}return new(r||(r=Promise))((function(r,u){function o(t){try{f(e.next(t))}catch(t){u(t)}}function a(t){try{f(e["throw"](t))}catch(t){u(t)}}function f(t){t.done?r(t.value):i(t.value).then(o,a)}f((e=e.apply(t,n||[])).next())}))};var __generator=this&&this.__generator||function(t,n){var r={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},e,i,u,o;return o={next:a(0),throw:a(1),return:a(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function a(t){return function(n){return f([t,n])}}function f(a){if(e)throw new TypeError("Generator is already executing.");while(o&&(o=0,a[0]&&(r=0)),r)try{if(e=1,i&&(u=a[0]&2?i["return"]:a[0]?i["throw"]||((u=i["return"])&&u.call(i),0):i.next)&&!(u=u.call(i,a[1])).done)return u;if(i=0,u)a=[a[0]&2,u.value];switch(a[0]){case 0:case 1:u=a;break;case 4:r.label++;return{value:a[1],done:false};case 5:r.label++;i=a[1];a=[0];continue;case 7:a=r.ops.pop();r.trys.pop();continue;default:if(!(u=r.trys,u=u.length>0&&u[u.length-1])&&(a[0]===6||a[0]===2)){r=0;continue}if(a[0]===3&&(!u||a[1]>u[0]&&a[1]<u[3])){r.label=a[1];break}if(a[0]===6&&r.label<u[1]){r.label=u[1];u=a;break}if(u&&r.label<u[2]){r.label=u[2];r.ops.push(a);break}if(u[2])r.ops.pop();r.trys.pop();continue}a=n.call(t,r)}catch(t){a=[6,t];i=0}finally{e=u=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:true}}};
2
2
  /*!
3
3
  * © Peculiar Ventures https://peculiarventures.com/ - MIT License
4
- */System.register(["./p-DgcB4Nqx.system.js"],(function(t){"use strict";var n,r,e,i,u,o,a,f,c,s,h,l,v,b,m,w,g,y,_,p;return{setters:[function(t){n=t.A;r=t.c;e=t.C;i=t.P;u=t.b;o=t.N;a=t.a;f=t.E;c=t.e;s=t.i;h=t.f;l=t.g;v=t.R;b=t.h;m=t.j;w=t.k;g=t.l;y=t.m;_=t.n;p=t.D}],execute:function(){
4
+ */System.register(["./p-BipKYW6e.system.js"],(function(t){"use strict";var n,r,e,i,u,o,a,f,c,s,h,l,v,b,m,w,g,y,_,p;return{setters:[function(t){n=t.A;r=t.c;e=t.C;i=t.P;u=t.b;o=t.N;a=t.a;f=t.E;c=t.e;s=t.i;h=t.f;l=t.g;v=t.R;b=t.h;m=t.j;w=t.k;g=t.l;y=t.m;_=t.n;p=t.D}],execute:function(){
5
5
  /**
6
6
  * @license
7
7
  * Copyright (c) Peculiar Ventures, LLC.
@@ -9,5 +9,5 @@ var __extends=this&&this.__extends||function(){var t=function(n,r){t=Object.setP
9
9
  * This source code is licensed under the MIT license found in the
10
10
  * LICENSE file in the root directory of this source tree.
11
11
  */
12
- var O=function(t){__extends(n,t);function n(n){var f=t.call(this,r(n),e)||this;f.thumbprints={};f.type="X.509 Certificate";f.tag=i.CertificateTag;var c=f.asn.tbsCertificate;f.serialNumber=u.Convert.ToHex(c.serialNumber);f.subject=new o(c.subject).toJSON();f.issuer=new o(c.issuer).toJSON();f.version=c.version+1;var s=c.validity.notBefore.utcTime||c.validity.notBefore.generalTime;if(!s){throw new Error("Cannot get 'notBefore' value")}f.notBefore=s;var h=c.validity.notAfter.utcTime||c.validity.notAfter.generalTime;if(!h){throw new Error("Cannot get 'notAfter' value")}f.notAfter=h;f.validity=a(f.notBefore,f.notAfter);return f}n.prototype.parseExtensions=function(){var t=this.asn.tbsCertificate;if(t.extensions){this.extensions=t.extensions.map((function(t){return new f(c.serialize(t))}))}};n.prototype.getPublicKeyInfo=function(t){var n=this;var r=t.subjectPublicKey,e=t.algorithm;var i;if(e.algorithm===s&&e.parameters){i=c.parse(e.parameters,h)}if(e.algorithm===l){i=c.parse(r,v)}if(e.algorithm===b){i=c.parse(r,m);i=i.map((function(t){return n.getPublicKeyInfo(t)}))}var u=c.serialize(t);return{params:i,value:u,algorithm:e.algorithm}};Object.defineProperty(n.prototype,"publicKey",{get:function(){return this.getPublicKeyInfo(this.asn.tbsCertificate.subjectPublicKeyInfo)},enumerable:false,configurable:true});Object.defineProperty(n.prototype,"signature",{get:function(){var t=this.asn,n=t.signatureValue,r=t.signatureAlgorithm;var e;if(r.algorithm===w){var i=c.parse(n,g);var u=c.parse(r.parameters,y);e=u.map((function(t,n){return Object.assign(Object.assign({},t),{value:i[n]})}))}return{params:e,value:n,algorithm:r.algorithm}},enumerable:false,configurable:true});n.prototype.getThumbprint=function(){return __awaiter(this,arguments,void 0,(function(t){var n,r;if(t===void 0){t="SHA-1"}return __generator(this,(function(e){switch(e.label){case 0:e.trys.push([0,2,,3]);return[4,_(t,this.raw)];case 1:n=e.sent();if(n){this.thumbprints[t]=u.Convert.ToHex(n)}return[3,3];case 2:r=e.sent();console.error("Error thumbprint get:",r);return[3,3];case 3:return[2]}}))}))};Object.defineProperty(n.prototype,"commonName",{get:function(){if(!this.subject){return""}for(var t=0;t<this.subject.length;t+=1){var n=this.subject[t];if(n.shortName==="CN"||n.shortName==="E"||n.shortName==="O"){return n.value}}return""},enumerable:false,configurable:true});Object.defineProperty(n.prototype,"issuerCommonName",{get:function(){if(!this.issuer){return""}for(var t=0;t<this.issuer.length;t+=1){var n=this.issuer[t];if(n.shortName==="CN"){return n.value}if(n.shortName==="E"){return n.value}}return""},enumerable:false,configurable:true});Object.defineProperty(n.prototype,"isRoot",{get:function(){return JSON.stringify(this.issuer)===JSON.stringify(this.subject)},enumerable:false,configurable:true});n.prototype.subjectToString=function(){if(!this.subject){return""}return this.subject.map((function(t){return"".concat(t.shortName,"=").concat(t.value)})).join(", ")};n.prototype.issuerToString=function(){if(!this.issuer){return""}return this.issuer.map((function(t){return"".concat(t.shortName,"=").concat(t.value)})).join(", ")};n.prototype.toString=function(t){if(t===void 0){t="pem"}switch(t){case"pem":return i.encode(this.raw,this.tag);case"base64url":return u.Convert.ToBase64Url(this.raw);default:return u.Convert.ToBase64(this.raw)}};n.prototype.downloadAsPEM=function(t){p.cert.asPEM(this.toString("pem"),t||this.commonName)};n.prototype.downloadAsDER=function(t){p.cert.asDER(this.raw,t||this.commonName)};return n}(n);t("X",O)}}}));
13
- //# sourceMappingURL=p-L1KL0R34.system.js.map
12
+ var O=function(t){__extends(n,t);function n(n){var f=t.call(this,r(n),e)||this;f.thumbprints={};f.type="X.509 Certificate";f.tag=i.CertificateTag;var c=f.asn.tbsCertificate;f.serialNumber=u.Convert.ToHex(c.serialNumber);f.subject=new o(c.subject).toJSON();f.issuer=new o(c.issuer).toJSON();f.version=c.version+1;var s=c.validity.notBefore.utcTime||c.validity.notBefore.generalTime;if(!s){throw new Error("Cannot get 'notBefore' value")}f.notBefore=s;var h=c.validity.notAfter.utcTime||c.validity.notAfter.generalTime;if(!h){throw new Error("Cannot get 'notAfter' value")}f.notAfter=h;f.validity=a(f.notBefore,f.notAfter);return f}n.prototype.parseExtensions=function(){var t=this.asn.tbsCertificate;if(t.extensions){this.extensions=t.extensions.map((function(t){return new f(c.serialize(t))}))}};n.prototype.getPublicKeyInfo=function(t){var n=this;var r=t.subjectPublicKey,e=t.algorithm;var i;if(e.algorithm===s&&e.parameters){i=c.parse(e.parameters,h)}if(e.algorithm===l){i=c.parse(r,v)}if(e.algorithm===b){i=c.parse(r,m);i=i.map((function(t){return n.getPublicKeyInfo(t)}))}var u=c.serialize(t);return{params:i,value:u,algorithm:e.algorithm}};Object.defineProperty(n.prototype,"publicKey",{get:function(){return this.getPublicKeyInfo(this.asn.tbsCertificate.subjectPublicKeyInfo)},enumerable:false,configurable:true});Object.defineProperty(n.prototype,"signature",{get:function(){var t=this.asn,n=t.signatureValue,r=t.signatureAlgorithm;var e;if(r.algorithm===w){var i=c.parse(n,g);var u=c.parse(r.parameters,y);e=u.map((function(t,n){return Object.assign(Object.assign({},t),{value:i[n]})}))}return{params:e,value:n,algorithm:r.algorithm}},enumerable:false,configurable:true});n.prototype.getThumbprint=function(){return __awaiter(this,arguments,void 0,(function(t){var n,r;if(t===void 0){t="SHA-1"}return __generator(this,(function(e){switch(e.label){case 0:e.trys.push([0,2,,3]);return[4,_(t,this.raw)];case 1:n=e.sent();if(n){this.thumbprints[t]=u.Convert.ToHex(n)}return[3,3];case 2:r=e.sent();console.error("Error thumbprint get:",r);return[3,3];case 3:return[2]}}))}))};Object.defineProperty(n.prototype,"commonName",{get:function(){if(!this.subject){return""}for(var t=0;t<this.subject.length;t+=1){var n=this.subject[t];if(n.shortName==="CN"||n.shortName==="E"||n.shortName==="O"){return n.value}}return""},enumerable:false,configurable:true});Object.defineProperty(n.prototype,"issuerCommonName",{get:function(){if(!this.issuer){return""}for(var t=0;t<this.issuer.length;t+=1){var n=this.issuer[t];if(n.shortName==="CN"||n.shortName==="E"||n.shortName==="O"){return n.value}}return""},enumerable:false,configurable:true});Object.defineProperty(n.prototype,"isRoot",{get:function(){return JSON.stringify(this.issuer)===JSON.stringify(this.subject)},enumerable:false,configurable:true});n.prototype.subjectToString=function(){if(!this.subject){return""}return this.subject.map((function(t){return"".concat(t.shortName,"=").concat(t.value)})).join(", ")};n.prototype.issuerToString=function(){if(!this.issuer){return""}return this.issuer.map((function(t){return"".concat(t.shortName,"=").concat(t.value)})).join(", ")};n.prototype.toString=function(t){if(t===void 0){t="pem"}switch(t){case"pem":return i.encode(this.raw,this.tag);case"base64url":return u.Convert.ToBase64Url(this.raw);default:return u.Convert.ToBase64(this.raw)}};n.prototype.downloadAsPEM=function(t){p.cert.asPEM(this.toString("pem"),t||this.commonName)};n.prototype.downloadAsDER=function(t){p.cert.asDER(this.raw,t||this.commonName)};return n}(n);t("X",O)}}}));
13
+ //# sourceMappingURL=p-C9sY8yng.system.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"p-C9sY8yng.system.js","sources":["src/crypto/x509_certificate.ts"],"sourcesContent":["/**\n * @license\n * Copyright (c) Peculiar Ventures, LLC.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { AsnConvert } from '@peculiar/asn1-schema';\nimport { ECParameters, id_ecPublicKey } from '@peculiar/asn1-ecc';\nimport { id_rsaEncryption, RSAPublicKey } from '@peculiar/asn1-rsa';\nimport {\n id_composite_key,\n id_alg_composite,\n CompositePublicKey,\n CompositeSignatureValue,\n CompositeParams,\n} from '@peculiar/asn1-x509-post-quantum';\nimport { Certificate, SubjectPublicKeyInfo } from '@peculiar/asn1-x509';\nimport { Convert } from 'pvtsutils';\nimport { dateDiff, Download } from '../utils';\nimport { Name, INameJSON } from './name';\nimport { Extension, TExtensionValue } from './extension';\nimport { AsnData } from './asn_data';\nimport { PemConverter } from './pem_converter';\nimport {\n certificateRawToBuffer,\n getCertificateThumbprint,\n} from './utils';\n\nexport interface ISignature {\n algorithm: string;\n value: BufferSource;\n params?: {\n algorithm: string;\n value: BufferSource;\n }[];\n}\n\nexport interface IPublicKey {\n algorithm: string;\n value: BufferSource;\n params?: ECParameters | RSAPublicKey | IPublicKey[];\n}\n\nexport class X509Certificate extends AsnData<Certificate> {\n public readonly serialNumber: string;\n\n public readonly subject: INameJSON[];\n\n public readonly issuer: INameJSON[];\n\n public readonly notBefore: Date;\n\n public readonly notAfter: Date;\n\n public readonly validity: string;\n\n public extensions: Extension<TExtensionValue>[];\n\n public readonly version: number;\n\n public thumbprints: Record<string, string> = {};\n\n public readonly type = 'X.509 Certificate';\n\n public readonly tag = PemConverter.CertificateTag;\n\n constructor(raw: string) {\n super(certificateRawToBuffer(raw), Certificate);\n\n const { tbsCertificate } = this.asn;\n\n this.serialNumber = Convert.ToHex(tbsCertificate.serialNumber);\n this.subject = new Name(tbsCertificate.subject).toJSON();\n this.issuer = new Name(tbsCertificate.issuer).toJSON();\n this.version = tbsCertificate.version + 1;\n\n const notBefore = tbsCertificate.validity.notBefore.utcTime\n || tbsCertificate.validity.notBefore.generalTime;\n\n if (!notBefore) {\n throw new Error('Cannot get \\'notBefore\\' value');\n }\n\n this.notBefore = notBefore;\n\n const notAfter = tbsCertificate.validity.notAfter.utcTime\n || tbsCertificate.validity.notAfter.generalTime;\n\n if (!notAfter) {\n throw new Error('Cannot get \\'notAfter\\' value');\n }\n\n this.notAfter = notAfter;\n this.validity = dateDiff(this.notBefore, this.notAfter);\n }\n\n public parseExtensions() {\n const { tbsCertificate } = this.asn;\n\n if (tbsCertificate.extensions) {\n this.extensions = tbsCertificate.extensions\n .map((e) => new Extension(AsnConvert.serialize(e)));\n }\n }\n\n private getPublicKeyInfo(publicKeyInfo: SubjectPublicKeyInfo) {\n const { subjectPublicKey, algorithm } = publicKeyInfo;\n let params;\n\n if (algorithm.algorithm === id_ecPublicKey && algorithm.parameters) {\n params = AsnConvert.parse(algorithm.parameters, ECParameters);\n }\n\n if (algorithm.algorithm === id_rsaEncryption) {\n params = AsnConvert.parse(subjectPublicKey, RSAPublicKey);\n }\n\n if (algorithm.algorithm === id_composite_key) {\n params = AsnConvert.parse(subjectPublicKey, CompositePublicKey);\n\n params = params.map((param) => this.getPublicKeyInfo(param));\n }\n\n const spki = AsnConvert.serialize(publicKeyInfo);\n\n return {\n params,\n value: spki,\n algorithm: algorithm.algorithm,\n };\n }\n\n public get publicKey(): IPublicKey {\n return this.getPublicKeyInfo(this.asn.tbsCertificate.subjectPublicKeyInfo);\n }\n\n public get signature(): ISignature {\n const { signatureValue, signatureAlgorithm } = this.asn;\n let params;\n\n if (signatureAlgorithm.algorithm === id_alg_composite) {\n const compositeSignatureValues = AsnConvert.parse(signatureValue, CompositeSignatureValue);\n const compositeParams = AsnConvert.parse(signatureAlgorithm.parameters, CompositeParams);\n\n params = compositeParams.map((param, index) => ({\n ...param,\n value: compositeSignatureValues[index],\n }));\n }\n\n return {\n params,\n value: signatureValue,\n algorithm: signatureAlgorithm.algorithm,\n };\n }\n\n public async getThumbprint(\n algorithm = 'SHA-1',\n ): Promise<void> {\n try {\n const thumbprint = await getCertificateThumbprint(algorithm, this.raw);\n\n if (thumbprint) {\n this.thumbprints[algorithm] = Convert.ToHex(thumbprint);\n }\n } catch (error) {\n console.error('Error thumbprint get:', error);\n }\n }\n\n public get commonName(): string {\n if (!this.subject) {\n return '';\n }\n\n for (let i = 0; i < this.subject.length; i += 1) {\n const name = this.subject[i];\n\n if (name.shortName === 'CN' || name.shortName === 'E' || name.shortName === 'O') {\n return name.value;\n }\n }\n\n return '';\n }\n\n public get issuerCommonName(): string {\n if (!this.issuer) {\n return '';\n }\n\n for (let i = 0; i < this.issuer.length; i += 1) {\n const name = this.issuer[i];\n\n if (name.shortName === 'CN' || name.shortName === 'E' || name.shortName === 'O') {\n return name.value;\n }\n }\n\n return '';\n }\n\n public get isRoot(): boolean {\n return JSON.stringify(this.issuer) === JSON.stringify(this.subject);\n }\n\n public subjectToString() {\n if (!this.subject) {\n return '';\n }\n\n return this.subject\n .map((name) => (\n `${name.shortName}=${name.value}`\n ))\n .join(', ');\n }\n\n public issuerToString() {\n if (!this.issuer) {\n return '';\n }\n\n return this.issuer\n .map((name) => (\n `${name.shortName}=${name.value}`\n ))\n .join(', ');\n }\n\n public toString(format: 'pem' | 'base64' | 'base64url' = 'pem'): string {\n switch (format) {\n case 'pem':\n return PemConverter.encode(this.raw, this.tag);\n case 'base64url':\n return Convert.ToBase64Url(this.raw);\n default:\n return Convert.ToBase64(this.raw);\n }\n }\n\n public downloadAsPEM(name?: string) {\n Download.cert.asPEM(\n this.toString('pem'),\n name || this.commonName,\n );\n }\n\n public downloadAsDER(name?: string) {\n Download.cert.asDER(\n this.raw,\n name || this.commonName,\n );\n }\n}\n"],"names":["Convert"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YAAA;;;;;;YAMG;YAuCG,MAAO,eAAgB,SAAQ,OAAoB,CAAA;YAuBvD,IAAA,WAAA,CAAY,GAAW,EAAA;oBACrB,KAAK,CAAC,sBAAsB,CAAC,GAAG,CAAC,EAAE,WAAW,CAAC;oBAP1C,IAAW,CAAA,WAAA,GAA2B,EAAE;oBAE/B,IAAI,CAAA,IAAA,GAAG,mBAAmB;YAE1B,QAAA,IAAA,CAAA,GAAG,GAAG,YAAY,CAAC,cAAc;YAK/C,QAAA,MAAM,EAAE,cAAc,EAAE,GAAG,IAAI,CAAC,GAAG;oBAEnC,IAAI,CAAC,YAAY,GAAGA,oBAAO,CAAC,KAAK,CAAC,cAAc,CAAC,YAAY,CAAC;YAC9D,QAAA,IAAI,CAAC,OAAO,GAAG,IAAI,IAAI,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,MAAM,EAAE;YACxD,QAAA,IAAI,CAAC,MAAM,GAAG,IAAI,IAAI,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC,MAAM,EAAE;oBACtD,IAAI,CAAC,OAAO,GAAG,cAAc,CAAC,OAAO,GAAG,CAAC;oBAEzC,MAAM,SAAS,GAAG,cAAc,CAAC,QAAQ,CAAC,SAAS,CAAC;YAC/C,eAAA,cAAc,CAAC,QAAQ,CAAC,SAAS,CAAC,WAAW;oBAElD,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CAAC,IAAa,EAAA;YAChC,QAAA,QAAQ,CAAC,IAAI,CAAC,KAAK,CACjB,IAAI,CAAC,GAAG,EACR,IAAI,IAAI,IAAI,CAAC,UAAU,CACxB;;YAEJ;;;;;;;;"}
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * © Peculiar Ventures https://peculiarventures.com/ - MIT License
3
3
  */
4
- import{h as e}from"./p-DDDrq3In.js";import{_ as a,Y as n,Z as t,b as c,a5 as o,a9 as s,r,aa as i,ab as f,ac as u,ad as l,ae as d,af as b,ag as m,ah as v,ai as x,aj as p,ak as g,al as y,am as h,an as C,ao as S,ap as N,aq as A,ar as I,as as D,at as j,au as O,av as T,aw as G,ax as k,ay as L,az as P,aA as B,aB as V,aC as R,aD as E,aE as U,aF as $,aG as K,aH as H,aI as q,aJ as M,aK as w,a6 as X,aL as Y,aM as z,aN as W,aO as Q,aP as F,aQ as Z,aR as _,aS as J,aT as ee,aU as ae,aV as ne,aW as te}from"./p-Wtz6WM17.js";import{L as ce}from"./p-BisXzAqN.js";import{T as oe,B as se}from"./p-BCATfe_H.js";import{D as re}from"./p-BHBizfwo.js";
4
+ import{h as e}from"./p-CwgZaF40.js";import{_ as a,Y as n,Z as t,b as c,a5 as o,a9 as s,r,aa as i,ab as f,ac as u,ad as l,ae as d,af as b,ag as m,ah as v,ai as x,aj as p,ak as g,al as y,am as h,an as C,ao as S,ap as N,aq as A,ar as D,as as I,at as j,au as O,av as T,aw as G,ax as L,ay as k,az as P,aA as R,aB as V,aC as B,aD as U,aE as E,aF as $,aG as K,aH as M,aI as H,aJ as w,aK as Y,a6 as q,aL as X,aM as F,aN as z,aO as Q,aP as W,aQ as Z,aR as J,aS as _,aT as ee,aU as ae,aV as ne,aW as te}from"./p-PeMaLTUD.js";import{L as ce}from"./p-DMZr5ztF.js";import{T as oe,B as se}from"./p-CutTi-2B.js";import{D as re}from"./p-JyD6URnB.js";
5
5
  /**
6
6
  * @license
7
7
  * Copyright (c) Peculiar Ventures, LLC.
@@ -85,175 +85,175 @@ import{h as e}from"./p-DDDrq3In.js";import{_ as a,Y as n,Z as t,b as c,a5 as o,a
85
85
  *
86
86
  * This source code is licensed under the MIT license found in the
87
87
  * LICENSE file in the root directory of this source tree.
88
- */const Ie=(a,t)=>{const{extension:c}=a;return[e(xe,{name:"Name",value:ie(c.asn.extnID)}),e(xe,{name:"Critical",value:c.asn.critical?n.getString("yes"):n.getString("no")}),t,e("tr",null,e("td",{colSpan:2,class:"divider"},e("span",null)))]};
88
+ */const De=(a,t)=>{const{extension:c}=a;return[e(xe,{name:"Name",value:ie(c.asn.extnID)}),e(xe,{name:"Critical",value:c.asn.critical?n.getString("yes"):n.getString("no")}),t,e("tr",null,e("td",{colSpan:2,class:"divider"},e("span",null)))]};
89
89
  /**
90
90
  * @license
91
91
  * Copyright (c) Peculiar Ventures, LLC.
92
92
  *
93
93
  * This source code is licensed under the MIT license found in the
94
94
  * LICENSE file in the root directory of this source tree.
95
- */const De=a=>{const{extension:n}=a;return e(Ie,{extension:n},e(xe,{name:"Usage",value:n.value.toJSON().join(", ")}))};
95
+ */const Ie=a=>{const{extension:n}=a;return e(De,{extension:n},e(xe,{name:"Usage",value:n.value.toJSON().join(", ")}))};
96
96
  /**
97
97
  * @license
98
98
  * Copyright (c) Peculiar Ventures, LLC.
99
99
  *
100
100
  * This source code is licensed under the MIT license found in the
101
101
  * LICENSE file in the root directory of this source tree.
102
- */const je=a=>{const{extension:t}=a;return e(Ie,{extension:t},e(xe,{name:"Certificate Authority",value:t.value.cA?n.getString("yes"):n.getString("no")}),e(xe,{name:"Path Length Constraint",value:t.value.pathLenConstraint}))};
102
+ */const je=a=>{const{extension:t}=a;return e(De,{extension:t},e(xe,{name:"Certificate Authority",value:t.value.cA?n.getString("yes"):n.getString("no")}),e(xe,{name:"Path Length Constraint",value:t.value.pathLenConstraint}))};
103
103
  /**
104
104
  * @license
105
105
  * Copyright (c) Peculiar Ventures, LLC.
106
106
  *
107
107
  * This source code is licensed under the MIT license found in the
108
108
  * LICENSE file in the root directory of this source tree.
109
- */const Oe=a=>{const{extension:n}=a;return e(Ie,{extension:n},Boolean(n.value.length)&&[e(xe,{name:"Purposes",value:""}),n.value.map((a=>e(me,null,e(xe,{name:"Purpose",value:ie(a)}))))])};
109
+ */const Oe=a=>{const{extension:n}=a;return e(De,{extension:n},Boolean(n.value.length)&&[e(xe,{name:"Purposes",value:""}),n.value.map((a=>e(me,null,e(xe,{name:"Purpose",value:ie(a)}))))])};
110
110
  /**
111
111
  * @license
112
112
  * Copyright (c) Peculiar Ventures, LLC.
113
113
  *
114
114
  * This source code is licensed under the MIT license found in the
115
115
  * LICENSE file in the root directory of this source tree.
116
- */const Te=a=>{const{extension:n,getSubjectKeyIdChildrenLink:t,getSubjectKeyIdSiblingsLink:o}=a;const s=c.Convert.ToHex(n.value.buffer);const r=t(s);const i=o(s);return e(Ie,{extension:n},e(xe,{name:"Key ID",value:s,monospace:true,extraValue:[r&&e("span",null," [",e(ce,{href:r},"children"),"]"),i&&e("span",null," [",e(ce,{href:i},"siblings"),"]")]}))};
116
+ */const Te=a=>{const{extension:n,getSubjectKeyIdChildrenLink:t,getSubjectKeyIdSiblingsLink:o}=a;const s=c.Convert.ToHex(n.value.buffer);const r=t(s);const i=o(s);return e(De,{extension:n},e(xe,{name:"Key ID",value:s,monospace:true,extraValue:[r&&e("span",null," [",e(ce,{href:r},"children"),"]"),i&&e("span",null," [",e(ce,{href:i},"siblings"),"]")]}))};
117
117
  /**
118
118
  * @license
119
119
  * Copyright (c) Peculiar Ventures, LLC.
120
120
  *
121
121
  * This source code is licensed under the MIT license found in the
122
122
  * LICENSE file in the root directory of this source tree.
123
- */const Ge=a=>{const{extension:n,getAuthKeyIdParentLink:t,getAuthKeyIdSiblingsLink:o}=a;const s=c.Convert.ToHex(n.value.keyIdentifier.buffer);const r=t(s);const i=o(s);return e(Ie,{extension:n},e(xe,{name:"Key ID",value:s,monospace:true,extraValue:[r&&e("span",null," [",e(ce,{href:r},"parents"),"]"),i&&e("span",null," [",e(ce,{href:i},"siblings"),"]")]}))};
123
+ */const Ge=a=>{const{extension:n,getAuthKeyIdParentLink:t,getAuthKeyIdSiblingsLink:o}=a;const s=c.Convert.ToHex(n.value.keyIdentifier.buffer);const r=t(s);const i=o(s);return e(De,{extension:n},e(xe,{name:"Key ID",value:s,monospace:true,extraValue:[r&&e("span",null," [",e(ce,{href:r},"parents"),"]"),i&&e("span",null," [",e(ce,{href:i},"siblings"),"]")]}))};
124
124
  /**
125
125
  * @license
126
126
  * Copyright (c) Peculiar Ventures, LLC.
127
127
  *
128
128
  * This source code is licensed under the MIT license found in the
129
129
  * LICENSE file in the root directory of this source tree.
130
- */const ke={otherName:"Other Name",rfc822Name:"RFC 822 Name",dNSName:"DNS Name",x400Address:"X400 Address",directoryName:"Directory Name",ediPartyName:"Edi Party Name ",uniformResourceIdentifier:"URI",iPAddress:"IP Address",registeredID:"Registered ID"};const Le=n=>{const{generalName:t,getDNSNameLink:l,getIPAddressLink:d}=n;if(!t){return null}return Object.keys(t).map((n=>{const b=t[n];if(b instanceof o){return[e(xe,{name:ke[n]||n,value:""}),e(me,null,b.map((n=>n.map((n=>e(xe,{name:a[n.type]||n.type,value:n.value.toString()}))))))]}if(b instanceof s){try{const n=r.parse(b.value,i);return e(xe,{name:a[b.typeId]||b.typeId,value:n.toString()})}catch(e){}try{const n=r.parse(b.value,f);if(n.explicitText){return e(xe,{name:a[b.typeId]||b.typeId,value:n.explicitText.toString()})}}catch(e){}return e(xe,{name:a[b.typeId]||b.typeId,value:c.Convert.ToHex(b.value),monospace:true})}if(c.BufferSourceConverter.isBufferSource(b)){return e(xe,{name:ke[n]||n,value:c.Convert.ToString(b)})}if(b instanceof u){return e(xe,{name:ke[n]||n,value:b.partyName.toString()})}if(n==="dNSName"){return e(xe,{name:ke[n]||n,value:b,href:l(b)})}if(n==="iPAddress"){return e(xe,{name:ke[n]||n,value:b,href:d(b)})}return e(xe,{name:ke[n]||n,value:b})}))};
130
+ */const Le={otherName:"Other Name",rfc822Name:"RFC 822 Name",dNSName:"DNS Name",x400Address:"X400 Address",directoryName:"Directory Name",ediPartyName:"Edi Party Name ",uniformResourceIdentifier:"URI",iPAddress:"IP Address",registeredID:"Registered ID"};const ke=n=>{const{generalName:t,getDNSNameLink:l,getIPAddressLink:d}=n;if(!t){return null}return Object.keys(t).map((n=>{const b=t[n];if(b instanceof o){return[e(xe,{name:Le[n]||n,value:""}),e(me,null,b.map((n=>n.map((n=>e(xe,{name:a[n.type]||n.type,value:n.value.toString()}))))))]}if(b instanceof s){try{const n=r.parse(b.value,i);return e(xe,{name:a[b.typeId]||b.typeId,value:n.toString()})}catch(e){}try{const n=r.parse(b.value,f);if(n.explicitText){return e(xe,{name:a[b.typeId]||b.typeId,value:n.explicitText.toString()})}}catch(e){}return e(xe,{name:a[b.typeId]||b.typeId,value:c.Convert.ToHex(b.value),monospace:true})}if(c.BufferSourceConverter.isBufferSource(b)){return e(xe,{name:Le[n]||n,value:c.Convert.ToString(b)})}if(b instanceof u){return e(xe,{name:Le[n]||n,value:b.partyName.toString()})}if(n==="dNSName"){return e(xe,{name:Le[n]||n,value:b,href:l(b)})}if(n==="iPAddress"){return e(xe,{name:Le[n]||n,value:b,href:d(b)})}return e(xe,{name:Le[n]||n,value:b})}))};
131
131
  /**
132
132
  * @license
133
133
  * Copyright (c) Peculiar Ventures, LLC.
134
134
  *
135
135
  * This source code is licensed under the MIT license found in the
136
136
  * LICENSE file in the root directory of this source tree.
137
- */const Pe=a=>{const{extension:n}=a;return e(Ie,{extension:n},n.value.map((n=>{var t,c;return[(t=n.distributionPoint)===null||t===void 0?void 0:t.fullName.map((n=>e(Le,Object.assign({generalName:n},a)))),(c=n.cRLIssuer)===null||c===void 0?void 0:c.map((n=>e(Le,Object.assign({generalName:n},a))))]})))};
137
+ */const Pe=a=>{const{extension:n}=a;return e(De,{extension:n},n.value.map((n=>{var t,c;return[(t=n.distributionPoint)===null||t===void 0?void 0:t.fullName.map((n=>e(ke,Object.assign({generalName:n},a)))),(c=n.cRLIssuer)===null||c===void 0?void 0:c.map((n=>e(ke,Object.assign({generalName:n},a))))]})))};
138
138
  /**
139
139
  * @license
140
140
  * Copyright (c) Peculiar Ventures, LLC.
141
141
  *
142
142
  * This source code is licensed under the MIT license found in the
143
143
  * LICENSE file in the root directory of this source tree.
144
- */const Be=a=>{const{extension:n}=a;return e(Ie,{extension:n},Boolean(n.value.length)&&[e(xe,{name:"Descriptions",value:""}),n.value.map((n=>e(me,null,e(xe,{name:"Method",value:ie(n.accessMethod)}),e(Le,Object.assign({generalName:n.accessLocation},a)))))])};
144
+ */const Re=a=>{const{extension:n}=a;return e(De,{extension:n},Boolean(n.value.length)&&[e(xe,{name:"Descriptions",value:""}),n.value.map((n=>e(me,null,e(xe,{name:"Method",value:ie(n.accessMethod)}),e(ke,Object.assign({generalName:n.accessLocation},a)))))])};
145
145
  /**
146
146
  * @license
147
147
  * Copyright (c) Peculiar Ventures, LLC.
148
148
  *
149
149
  * This source code is licensed under the MIT license found in the
150
150
  * LICENSE file in the root directory of this source tree.
151
- */const Ve=a=>{const{extension:n}=a;return e(Ie,{extension:n},n.value.map((n=>e(Le,Object.assign({generalName:n},a)))))};
151
+ */const Ve=a=>{const{extension:n}=a;return e(De,{extension:n},n.value.map((n=>e(ke,Object.assign({generalName:n},a)))))};
152
152
  /**
153
153
  * @license
154
154
  * Copyright (c) Peculiar Ventures, LLC.
155
155
  *
156
156
  * This source code is licensed under the MIT license found in the
157
157
  * LICENSE file in the root directory of this source tree.
158
- */const Re=a=>{const{extension:n}=a;return e(Ie,{extension:n},Boolean(n.value.length)&&[e(xe,{name:"Policies",value:""}),n.value.map((a=>e(me,null,e(xe,{name:"Policy ID",value:ie(a.policyIdentifier)}),a.policyQualifiers&&Boolean(a.policyQualifiers.length)&&[e(xe,{name:"Qualifiers",value:""}),a.policyQualifiers.map((a=>{const n=[e(xe,{name:"Qualifier ID",value:ie(a.policyQualifierId)})];if(a.policyQualifierId==="1.3.6.1.5.5.7.2.1"){const t=r.parse(a.qualifier,i);n.push(e(xe,{name:"Value",value:t.toString()}))}if(a.policyQualifierId==="1.3.6.1.5.5.7.2.2"){const t=r.parse(a.qualifier,f);if(t.explicitText){n.push(e(xe,{name:"Value",value:t.explicitText.toString()}))}}return e(me,null,n)}))])))])};
158
+ */const Be=a=>{const{extension:n}=a;return e(De,{extension:n},Boolean(n.value.length)&&[e(xe,{name:"Policies",value:""}),n.value.map((a=>e(me,null,e(xe,{name:"Policy ID",value:ie(a.policyIdentifier)}),a.policyQualifiers&&Boolean(a.policyQualifiers.length)&&[e(xe,{name:"Qualifiers",value:""}),a.policyQualifiers.map((a=>{const n=[e(xe,{name:"Qualifier ID",value:ie(a.policyQualifierId)})];if(a.policyQualifierId==="1.3.6.1.5.5.7.2.1"){const t=r.parse(a.qualifier,i);n.push(e(xe,{name:"Value",value:t.toString()}))}if(a.policyQualifierId==="1.3.6.1.5.5.7.2.2"){const t=r.parse(a.qualifier,f);if(t.explicitText){n.push(e(xe,{name:"Value",value:t.explicitText.toString()}))}}return e(me,null,n)}))])))])};
159
159
  /**
160
160
  * @license
161
161
  * Copyright (c) Peculiar Ventures, LLC.
162
162
  *
163
163
  * This source code is licensed under the MIT license found in the
164
164
  * LICENSE file in the root directory of this source tree.
165
- */var Ee={"9606c02c690033aa1d145f59c6e2648d0549f0df96aab8db915a70d8ecf390a5":"Akamai CT","39376f545f7b4607f59742d768cd5d2437bf3473b6534a4834bcf72e681c83c9":"Alpha CT",a577ac9ced7548dd8f025b67a241089df86e0f476ec203c2ecbedb185f282638:"CNNIC CT",cdb5179b7fc1c046feea31136a3f8f002e6182faf8896fecc8b2f5b5ab604900:"Certly.IO","1fbc36e002ede97f40199e86b3573b8a4217d80187746ad0da03a06054d20df4":"Cloudflare “Nimbus2017”",db74afeecb29ecb1feca3e716d2ce5b9aabb36f7847183c75d9d4f37b61fbf64:"Cloudflare “Nimbus2018”","747eda8331ad331091219cce254f4270c2bffd5e422008c6373579e6107bcc56":"Cloudflare “Nimbus2019”","5ea773f9df56c0e7b536487dd049e0327a919a0c84a112128418759681714558":"Cloudflare “Nimbus2020”","4494652eb0eeceafc44007d8a8fe28c0dae682bed8cb31b53fd33396b5b681a8":"Cloudflare “Nimbus2021”","41c8cab1df22464a10c6a13a0942875e4e318b1b03ebeb4bc768f090629606f6":"Cloudflare “Nimbus2022”","7a328c54d8b72db620ea38e0521ee98416703213854d3bd22bc13a57a352eb52":"Cloudflare “Nimbus2023”","6ff141b5647e4222f7ef052cefae7c21fd608e27d2af5a6e9f4b8a37d6633ee5":"DigiCert Nessie2018",fe446108b1d01ab78a62ccfeab6ab2b2babff3abdad80a4d8b30df2d0008830c:"DigiCert Nessie2019",c652a0ec48ceb3fcab170992c43a87413309e80065a26252401ba3362a17c565:"DigiCert Nessie2020",eec095ee8d72640f92e3c3b91bc712a3696a097b4b6a1a1438e647b2cbedc5f9:"DigiCert Nessie2021","51a3b0f5fd01799c566db837788f0ca47acc1b27cbf79e88429a0dfed48b05e5":"DigiCert Nessie2022",b3737707e18450f86386d605a9dc11094a792db1670c0b87dcf0030e7936a59a:"DigiCert Nessie2023","5614069a2fd7c2ecd3f5e1bd44b23ec74676b9bc99115cc0ef949855d689d0dd":"DigiCert Server","8775bfe7597cf88c43995fbdf36eff568d475636ff4ab560c1b4eaff5ea0830f":"DigiCert Server 2",c1164ae0a772d2d4392dc80ac10770d4f0c49bde991a4840c1fa075164f63360:"DigiCert Yeti2018",e2694bae26e8e94009e8861bb63b83d43ee7fe7488fba48f2893019dddf1dbfe:"DigiCert Yeti2019",f095a459f200d18240102d2f93888ead4bfe1d47e399e1d034a6b0a8aa8eb273:"DigiCert Yeti2020","5cdc4392fee6ab4544b15e9ad456e61037fbd5fa47dca17394b25ee6f6c70eca":"DigiCert Yeti2021","2245450759552456963fa12ff1f76d86e0232663adc04b7f5dc6835c6ee20f02":"DigiCert Yeti2022","35cf191bbfb16c57bf0fad4c6d42cbbbb627202651ea3fe12aefa803c33bd64c":"DigiCert Yeti2023","717ea7420975be84a2723553f1777c26dd51af4e102144094d9019b462fb6668":"GDCA 1","14308d90ccd030135005c01ca526d81e84e87624e39b6248e08f724aea3bb42a":"GDCA 2",c9cf890a21109c666cc17a3ed065c930d0e0135a9feba85af14210b8072421aa:"GDCA CT #1","924a30f909336ff435d6993a10ac75a2c641728e7fc2d659ae6188ffad40ce01":"GDCA CT #2",fad4c97cc49ee2f8ac85c5ea5cea09d0220dbbf4e49c6b50662ff868f86b8c28:"Google “Argon2017”",a4501269055a15545e6211ab37bc103f62ae5576a45e4b1714453e1b22106a25:"Google “Argon2018”","63f2dbcde83bcc2ccf0b728427576b33a48d61778fbd75a638b1c768544bd88d":"Google “Argon2019”",b21e05cc8ba2cd8a204e8766f92bb98a2520676bdafa70e7b249532def8b905e:"Google “Argon2020”",f65c942fd1773022145418083094568ee34d131933bfdf0c2f200bcc4ef164e3:"Google “Argon2021”","2979bef09e393921f056739f63a577e5be577d9c600af8f94d5d265c255dc784":"Google “Argon2022”",e83ed0da3ef5063532e75728bc896bc903d3cbd1116beceb69e1777d6d06bd6e:"Google “Argon2023”","68f698f81f6482be3a8ceeb9281d4cfc71515d6793d444d10a67acbb4f4ffbc4":"Google “Aviator”",c3bf03a7e1ca8841c607bae3ff4270fca5ec45b186ebbe4e2cf3fc778630f5f6:"Google “Crucible”","1d024b8eb1498b344dfd87ea3efc0996f7506f235d1d497061a4773c439c25fb":"Google “Daedalus”","293c519654c83965baaa50fc5807d4b76fbf587a2972dca4c30cf4e54547f478":"Google “Icarus”",a4b90990b418581487bb13a2cc67700a3c359804f91bdfb8e377cd0ec80ddc10:"Google “Pilot”",ee4bbdb775ce60bae142691fabe19e66a30f7e5fb072d88300c47b897aa8fdcb:"Google “Rocketeer”",bbd9dfbc1f8a71b593942397aa927b473857950aab52e81a909664368e1ed185:"Google “Skydiver”","52eb4b225ec896974850675f23e43bc1d021e3214ce52ecd5fa87c203cdfca03":"Google “Solera2018”","0b760e9a8b9a682f88985b15e947501a56446bba8830785c3842994386450c00":"Google “Solera2019”","1fc72ce5a1b799f400c359bff96ca3913548e8644220610952e9ba1774f7bac7":"Google “Solera2020”",a3c99845e80ab7ce00157b3742df0207dd272b2b602ecf98ee2c12db9c5ae7e7:"Google “Solera2021”","697aafca1a6b536fae21205046debad7e0eaea13d2432e6e9d8fb379f2b9aaf3":"Google “Solera2022”",a899d8780c9290aaf462f31880ccfbd52451e970d0fbf591ef75b0d99b645681:"Google “Submariner”",b0cc83e5a5f97d6baf7c09cc284904872ac7e88b132c6350b7c6fd26e16c6c77:"Google “Testtube”",b10cd559a6d67846811f7df9a51532739ac48d703bea0323da5d38755bc0ad4e:"Google “Xenon2018”","084114980071532c16190460bcfc47fdc2653afa292c72b37ff863ae29ccc9f0":"Google “Xenon2019”","07b75c1be57d68fff1b0c61d2315c7bae6577c5794b76aeebc613a1a69d3a21c":"Google “Xenon2020”","7d3ef2f88fff88556824c2c0ca9e5289792bc50e78097f2e6a9768997e22f0d7":"Google “Xenon2021”","46a555eb75fa912030b5a28969f4f37d112c4174befd49b885abf2fc70fe6d47":"Google “Xenon2022”","7461b4a09cfb3d41d75159575b2e7649a445a8d27709b0cc564a6482b7eb41a3":"Izenpe","8941449c70742e06b9fc9ce7b116ba0024aa36d59af44f0204404f00f7ea8566":"Izenpe “Argi”","296afa2d568bca0d2ea844956ae9721fc35fa355ecda99693aafd458a71aefdd":"Let“s Encrypt ”Clicky”","537b69a3564335a9c04904e39593b2c298eb8d7a6e83023635c627248cd6b440":"Nordu “flimsy”",aae70b7f3cb8d566c86c2f16979c9f445f69ab0eb4535589b2f77a030104f3cd:"Nordu “plausible”",e0127629e90496564e3d0147984498aa48f8adb16600eb7902a1ef9909906273:"PuChuangSiDa CT",cf55e28923497c340d5206d05353aeb25834b52f1f8dc9526809f212efdd7ca6:"SHECA CT 1","32dc59c2d4c41968d56e14bc61ac8f0e45db39faf3c155aa4252f5001fa0c623":"SHECA CT 2",db76fdadac65e7d09508886e2159bd8b90352f5fead3e3dc5e22eb350acc7b98:"Sectigo (Comodo) “Dodo” CT","6f5376ac31f03119d89900a45115ff77151c11d902c10029068db2089a37d913":"Sectigo (Comodo) “Mammoth” CT","5581d4c2169036014aea0b9b573c53f0c0e43878702508172fa3aa1d0713d30c":"Sectigo (Comodo) “Sabre” CT","34bb6ad6c3df9c03eea8a499ff7891486c9d5e5cac92d01f7bfd1bce19db48ef":"StartCom",ddeb1d2b7a0d4fa6208b81ad8168707e2e8e9d01d55c888d3d11c4cdb6ecbecc:"Symantec",a7ce4a4e6207e0addee5fdaa4b1f86768767b5d002a55d47310e7e670a95eab2:"Symantec Deneb","15970488d7b997a05beb52512adee8d2e8b4a3165264121a9fabfbd5f85ad93f":"Symantec “Sirius”",bc78e1dfc5f63c684649334da10fa15f0979692009c081b4f3f6917f3ed9b8a5:"Symantec “Vega”",b0b784bc81c0ddc47544e883f05985bb9077d134d8ab88b2b2e533980b8e508b:"Up In The Air “Behind the Sofa”",ac3b9aed7fa9674757159e6d7d575672f9d98100941e9bdeffeca1313b75782d:"Venafi","03019df3fd85a69a8ebd1facc6da9ba73e469774fe77f579fc5a08b8328c1d6b":"Venafi Gen2 CT","41b2dc2e89e63ce4af1ba7bb29bf68c6dee6f9f1cc047e30dffae3b3ba259263":"WoSign","63d0006026dde10bb0601f452446965ee2b6ea2cd4fbc95ac866a550af9075b7":"WoSign 2","9e4ff73dc3ce220b69217c899e468076abf8d78636d5ccfc85a31a75628ba88b":"WoSign CT #1"};
165
+ */var Ue={"9606c02c690033aa1d145f59c6e2648d0549f0df96aab8db915a70d8ecf390a5":"Akamai CT","39376f545f7b4607f59742d768cd5d2437bf3473b6534a4834bcf72e681c83c9":"Alpha CT",a577ac9ced7548dd8f025b67a241089df86e0f476ec203c2ecbedb185f282638:"CNNIC CT",cdb5179b7fc1c046feea31136a3f8f002e6182faf8896fecc8b2f5b5ab604900:"Certly.IO","1fbc36e002ede97f40199e86b3573b8a4217d80187746ad0da03a06054d20df4":"Cloudflare “Nimbus2017”",db74afeecb29ecb1feca3e716d2ce5b9aabb36f7847183c75d9d4f37b61fbf64:"Cloudflare “Nimbus2018”","747eda8331ad331091219cce254f4270c2bffd5e422008c6373579e6107bcc56":"Cloudflare “Nimbus2019”","5ea773f9df56c0e7b536487dd049e0327a919a0c84a112128418759681714558":"Cloudflare “Nimbus2020”","4494652eb0eeceafc44007d8a8fe28c0dae682bed8cb31b53fd33396b5b681a8":"Cloudflare “Nimbus2021”","41c8cab1df22464a10c6a13a0942875e4e318b1b03ebeb4bc768f090629606f6":"Cloudflare “Nimbus2022”","7a328c54d8b72db620ea38e0521ee98416703213854d3bd22bc13a57a352eb52":"Cloudflare “Nimbus2023”","6ff141b5647e4222f7ef052cefae7c21fd608e27d2af5a6e9f4b8a37d6633ee5":"DigiCert Nessie2018",fe446108b1d01ab78a62ccfeab6ab2b2babff3abdad80a4d8b30df2d0008830c:"DigiCert Nessie2019",c652a0ec48ceb3fcab170992c43a87413309e80065a26252401ba3362a17c565:"DigiCert Nessie2020",eec095ee8d72640f92e3c3b91bc712a3696a097b4b6a1a1438e647b2cbedc5f9:"DigiCert Nessie2021","51a3b0f5fd01799c566db837788f0ca47acc1b27cbf79e88429a0dfed48b05e5":"DigiCert Nessie2022",b3737707e18450f86386d605a9dc11094a792db1670c0b87dcf0030e7936a59a:"DigiCert Nessie2023","5614069a2fd7c2ecd3f5e1bd44b23ec74676b9bc99115cc0ef949855d689d0dd":"DigiCert Server","8775bfe7597cf88c43995fbdf36eff568d475636ff4ab560c1b4eaff5ea0830f":"DigiCert Server 2",c1164ae0a772d2d4392dc80ac10770d4f0c49bde991a4840c1fa075164f63360:"DigiCert Yeti2018",e2694bae26e8e94009e8861bb63b83d43ee7fe7488fba48f2893019dddf1dbfe:"DigiCert Yeti2019",f095a459f200d18240102d2f93888ead4bfe1d47e399e1d034a6b0a8aa8eb273:"DigiCert Yeti2020","5cdc4392fee6ab4544b15e9ad456e61037fbd5fa47dca17394b25ee6f6c70eca":"DigiCert Yeti2021","2245450759552456963fa12ff1f76d86e0232663adc04b7f5dc6835c6ee20f02":"DigiCert Yeti2022","35cf191bbfb16c57bf0fad4c6d42cbbbb627202651ea3fe12aefa803c33bd64c":"DigiCert Yeti2023","717ea7420975be84a2723553f1777c26dd51af4e102144094d9019b462fb6668":"GDCA 1","14308d90ccd030135005c01ca526d81e84e87624e39b6248e08f724aea3bb42a":"GDCA 2",c9cf890a21109c666cc17a3ed065c930d0e0135a9feba85af14210b8072421aa:"GDCA CT #1","924a30f909336ff435d6993a10ac75a2c641728e7fc2d659ae6188ffad40ce01":"GDCA CT #2",fad4c97cc49ee2f8ac85c5ea5cea09d0220dbbf4e49c6b50662ff868f86b8c28:"Google “Argon2017”",a4501269055a15545e6211ab37bc103f62ae5576a45e4b1714453e1b22106a25:"Google “Argon2018”","63f2dbcde83bcc2ccf0b728427576b33a48d61778fbd75a638b1c768544bd88d":"Google “Argon2019”",b21e05cc8ba2cd8a204e8766f92bb98a2520676bdafa70e7b249532def8b905e:"Google “Argon2020”",f65c942fd1773022145418083094568ee34d131933bfdf0c2f200bcc4ef164e3:"Google “Argon2021”","2979bef09e393921f056739f63a577e5be577d9c600af8f94d5d265c255dc784":"Google “Argon2022”",e83ed0da3ef5063532e75728bc896bc903d3cbd1116beceb69e1777d6d06bd6e:"Google “Argon2023”","68f698f81f6482be3a8ceeb9281d4cfc71515d6793d444d10a67acbb4f4ffbc4":"Google “Aviator”",c3bf03a7e1ca8841c607bae3ff4270fca5ec45b186ebbe4e2cf3fc778630f5f6:"Google “Crucible”","1d024b8eb1498b344dfd87ea3efc0996f7506f235d1d497061a4773c439c25fb":"Google “Daedalus”","293c519654c83965baaa50fc5807d4b76fbf587a2972dca4c30cf4e54547f478":"Google “Icarus”",a4b90990b418581487bb13a2cc67700a3c359804f91bdfb8e377cd0ec80ddc10:"Google “Pilot”",ee4bbdb775ce60bae142691fabe19e66a30f7e5fb072d88300c47b897aa8fdcb:"Google “Rocketeer”",bbd9dfbc1f8a71b593942397aa927b473857950aab52e81a909664368e1ed185:"Google “Skydiver”","52eb4b225ec896974850675f23e43bc1d021e3214ce52ecd5fa87c203cdfca03":"Google “Solera2018”","0b760e9a8b9a682f88985b15e947501a56446bba8830785c3842994386450c00":"Google “Solera2019”","1fc72ce5a1b799f400c359bff96ca3913548e8644220610952e9ba1774f7bac7":"Google “Solera2020”",a3c99845e80ab7ce00157b3742df0207dd272b2b602ecf98ee2c12db9c5ae7e7:"Google “Solera2021”","697aafca1a6b536fae21205046debad7e0eaea13d2432e6e9d8fb379f2b9aaf3":"Google “Solera2022”",a899d8780c9290aaf462f31880ccfbd52451e970d0fbf591ef75b0d99b645681:"Google “Submariner”",b0cc83e5a5f97d6baf7c09cc284904872ac7e88b132c6350b7c6fd26e16c6c77:"Google “Testtube”",b10cd559a6d67846811f7df9a51532739ac48d703bea0323da5d38755bc0ad4e:"Google “Xenon2018”","084114980071532c16190460bcfc47fdc2653afa292c72b37ff863ae29ccc9f0":"Google “Xenon2019”","07b75c1be57d68fff1b0c61d2315c7bae6577c5794b76aeebc613a1a69d3a21c":"Google “Xenon2020”","7d3ef2f88fff88556824c2c0ca9e5289792bc50e78097f2e6a9768997e22f0d7":"Google “Xenon2021”","46a555eb75fa912030b5a28969f4f37d112c4174befd49b885abf2fc70fe6d47":"Google “Xenon2022”","7461b4a09cfb3d41d75159575b2e7649a445a8d27709b0cc564a6482b7eb41a3":"Izenpe","8941449c70742e06b9fc9ce7b116ba0024aa36d59af44f0204404f00f7ea8566":"Izenpe “Argi”","296afa2d568bca0d2ea844956ae9721fc35fa355ecda99693aafd458a71aefdd":"Let“s Encrypt ”Clicky”","537b69a3564335a9c04904e39593b2c298eb8d7a6e83023635c627248cd6b440":"Nordu “flimsy”",aae70b7f3cb8d566c86c2f16979c9f445f69ab0eb4535589b2f77a030104f3cd:"Nordu “plausible”",e0127629e90496564e3d0147984498aa48f8adb16600eb7902a1ef9909906273:"PuChuangSiDa CT",cf55e28923497c340d5206d05353aeb25834b52f1f8dc9526809f212efdd7ca6:"SHECA CT 1","32dc59c2d4c41968d56e14bc61ac8f0e45db39faf3c155aa4252f5001fa0c623":"SHECA CT 2",db76fdadac65e7d09508886e2159bd8b90352f5fead3e3dc5e22eb350acc7b98:"Sectigo (Comodo) “Dodo” CT","6f5376ac31f03119d89900a45115ff77151c11d902c10029068db2089a37d913":"Sectigo (Comodo) “Mammoth” CT","5581d4c2169036014aea0b9b573c53f0c0e43878702508172fa3aa1d0713d30c":"Sectigo (Comodo) “Sabre” CT","34bb6ad6c3df9c03eea8a499ff7891486c9d5e5cac92d01f7bfd1bce19db48ef":"StartCom",ddeb1d2b7a0d4fa6208b81ad8168707e2e8e9d01d55c888d3d11c4cdb6ecbecc:"Symantec",a7ce4a4e6207e0addee5fdaa4b1f86768767b5d002a55d47310e7e670a95eab2:"Symantec Deneb","15970488d7b997a05beb52512adee8d2e8b4a3165264121a9fabfbd5f85ad93f":"Symantec “Sirius”",bc78e1dfc5f63c684649334da10fa15f0979692009c081b4f3f6917f3ed9b8a5:"Symantec “Vega”",b0b784bc81c0ddc47544e883f05985bb9077d134d8ab88b2b2e533980b8e508b:"Up In The Air “Behind the Sofa”",ac3b9aed7fa9674757159e6d7d575672f9d98100941e9bdeffeca1313b75782d:"Venafi","03019df3fd85a69a8ebd1facc6da9ba73e469774fe77f579fc5a08b8328c1d6b":"Venafi Gen2 CT","41b2dc2e89e63ce4af1ba7bb29bf68c6dee6f9f1cc047e30dffae3b3ba259263":"WoSign","63d0006026dde10bb0601f452446965ee2b6ea2cd4fbc95ac866a550af9075b7":"WoSign 2","9e4ff73dc3ce220b69217c899e468076abf8d78636d5ccfc85a31a75628ba88b":"WoSign CT #1"};
166
166
  /**
167
167
  * @license
168
168
  * Copyright (c) Peculiar Ventures, LLC.
169
169
  *
170
170
  * This source code is licensed under the MIT license found in the
171
171
  * LICENSE file in the root directory of this source tree.
172
- */const Ue=a=>{const{extension:n}=a;return e(Ie,{extension:n},Boolean(n.value.items.length)&&[e(xe,{name:"Signed Certificate Timestamps",value:""}),n.value.toJSON().map((a=>e(me,null,e(xe,{name:"Version",value:a.version+1}),e(xe,{name:"Log Operator",value:Ee[a.logId]||a.logId}),e(xe,{name:"Log Key ID",value:a.logId,monospace:true}),e(xe,{name:"Timestamp",value:t(a.timestamp)}),e(xe,{name:"Signature Algorithm",value:`${a.hashAlgorithm} ${a.signatureAlgorithm}`.toUpperCase()}),e(xe,{name:"Signature",value:a.signature,monospace:true}))))])};
172
+ */const Ee=a=>{const{extension:n}=a;return e(De,{extension:n},Boolean(n.value.items.length)&&[e(xe,{name:"Signed Certificate Timestamps",value:""}),n.value.toJSON().map((a=>e(me,null,e(xe,{name:"Version",value:a.version+1}),e(xe,{name:"Log Operator",value:Ue[a.logId]||a.logId}),e(xe,{name:"Log Key ID",value:a.logId,monospace:true}),e(xe,{name:"Timestamp",value:t(a.timestamp)}),e(xe,{name:"Signature Algorithm",value:`${a.hashAlgorithm} ${a.signatureAlgorithm}`.toUpperCase()}),e(xe,{name:"Signature",value:a.signature,monospace:true}))))])};
173
173
  /**
174
174
  * @license
175
175
  * Copyright (c) Peculiar Ventures, LLC.
176
176
  *
177
177
  * This source code is licensed under the MIT license found in the
178
178
  * LICENSE file in the root directory of this source tree.
179
- */const $e=a=>{var n,t;const{extension:c}=a;return e(Ie,{extension:c},(n=c.value.excludedSubtrees)===null||n===void 0?void 0:n.map((n=>e(Le,Object.assign({generalName:n.base},a)))),(t=c.value.permittedSubtrees)===null||t===void 0?void 0:t.map((n=>e(Le,Object.assign({generalName:n.base},a)))))};
179
+ */const $e=a=>{var n,t;const{extension:c}=a;return e(De,{extension:c},(n=c.value.excludedSubtrees)===null||n===void 0?void 0:n.map((n=>e(ke,Object.assign({generalName:n.base},a)))),(t=c.value.permittedSubtrees)===null||t===void 0?void 0:t.map((n=>e(ke,Object.assign({generalName:n.base},a)))))};
180
180
  /**
181
181
  * @license
182
182
  * Copyright (c) Peculiar Ventures, LLC.
183
183
  *
184
184
  * This source code is licensed under the MIT license found in the
185
185
  * LICENSE file in the root directory of this source tree.
186
- */const Ke=a=>{const{extension:n}=a;return e(Ie,{extension:n},e(xe,{name:"Template ID",value:n.value.templateID}),e(xe,{name:"Template Major Version",value:n.value.templateMajorVersion}),e(xe,{name:"Template Minor Version",value:n.value.templateMinorVersion}))};
186
+ */const Ke=a=>{const{extension:n}=a;return e(De,{extension:n},e(xe,{name:"Template ID",value:n.value.templateID}),e(xe,{name:"Template Major Version",value:n.value.templateMajorVersion}),e(xe,{name:"Template Minor Version",value:n.value.templateMinorVersion}))};
187
187
  /**
188
188
  * @license
189
189
  * Copyright (c) Peculiar Ventures, LLC.
190
190
  *
191
191
  * This source code is licensed under the MIT license found in the
192
192
  * LICENSE file in the root directory of this source tree.
193
- */const He=a=>{const{extension:n}=a;return e(Ie,{extension:n},e(xe,{name:"Name",value:n.value.toString()}))};
193
+ */const Me=a=>{const{extension:n}=a;return e(De,{extension:n},e(xe,{name:"Name",value:n.value.toString()}))};
194
194
  /**
195
195
  * @license
196
196
  * Copyright (c) Peculiar Ventures, LLC.
197
197
  *
198
198
  * This source code is licensed under the MIT license found in the
199
199
  * LICENSE file in the root directory of this source tree.
200
- */const qe=a=>{const{extension:n}=a;const t=n.value.getVersion();return e(Ie,{extension:n},e(xe,{name:"Certificate Index",value:t.certificateIndex}),e(xe,{name:"Key Index",value:t.keyIndex}))};var Me,we,Xe,Ye;let ze=class e{constructor(e){if(typeof e==="string"){this.alphabetic=e}else if(typeof e==="number"){this.numeric=e}}};l([d({type:b.PrintableString})],ze.prototype,"alphabetic",void 0);l([d({type:b.PrintableString})],ze.prototype,"numeric",void 0);ze=l([m({type:v.Choice})],ze);class We{constructor(e={}){this.currency=new ze;this.amount=0;this.exponent=0;Object.assign(this,e)}}l([d({type:ze})],We.prototype,"currency",void 0);l([d({type:b.Integer})],We.prototype,"amount",void 0);l([d({type:b.Integer})],We.prototype,"exponent",void 0);let Qe=class e extends We{};Qe=l([m({type:v.Sequence})],Qe);let Fe=class e{constructor(e=0){this.value=e}};l([d({type:b.Integer})],Fe.prototype,"value",void 0);Fe=l([m({type:v.Choice})],Fe);let Ze=class e{constructor(e={}){this.url="";this.language="";Object.assign(this,e)}};l([d({type:b.IA5String})],Ze.prototype,"url",void 0);l([d({type:b.PrintableString})],Ze.prototype,"language",void 0);Ze=l([m({type:v.Sequence})],Ze);let _e=Me=class e extends x{constructor(e){super(e);Object.setPrototypeOf(this,Me.prototype)}};_e=Me=l([m({type:v.Sequence,itemType:Ze})],_e);let Je=we=class e extends _e{constructor(e){super(e);Object.setPrototypeOf(this,we.prototype)}};Je=we=l([m({type:v.Sequence,itemType:Ze})],Je);let ea=Xe=class e extends x{constructor(e){super(e);Object.setPrototypeOf(this,Xe.prototype)}};ea=Xe=l([m({type:v.Sequence,itemType:b.ObjectIdentifier})],ea);let aa=Ye=class e extends x{constructor(e){super(e);Object.setPrototypeOf(this,Ye.prototype)}};aa=Ye=l([m({type:v.Sequence,itemType:b.PrintableString})],aa);const na="0.4.0.1862.1";const ta=`${na}.3`;const ca=`${na}.5`;const oa=`${na}.6`
200
+ */const He=a=>{const{extension:n}=a;const t=n.value.getVersion();return e(De,{extension:n},e(xe,{name:"Certificate Index",value:t.certificateIndex}),e(xe,{name:"Key Index",value:t.keyIndex}))};var we,Ye,qe,Xe;let Fe=class e{constructor(e){if(typeof e==="string"){this.alphabetic=e}else if(typeof e==="number"){this.numeric=e}}};l([d({type:b.PrintableString})],Fe.prototype,"alphabetic",void 0);l([d({type:b.PrintableString})],Fe.prototype,"numeric",void 0);Fe=l([m({type:v.Choice})],Fe);class ze{constructor(e={}){this.currency=new Fe;this.amount=0;this.exponent=0;Object.assign(this,e)}}l([d({type:Fe})],ze.prototype,"currency",void 0);l([d({type:b.Integer})],ze.prototype,"amount",void 0);l([d({type:b.Integer})],ze.prototype,"exponent",void 0);let Qe=class e extends ze{};Qe=l([m({type:v.Sequence})],Qe);let We=class e{constructor(e=0){this.value=e}};l([d({type:b.Integer})],We.prototype,"value",void 0);We=l([m({type:v.Choice})],We);let Ze=class e{constructor(e={}){this.url="";this.language="";Object.assign(this,e)}};l([d({type:b.IA5String})],Ze.prototype,"url",void 0);l([d({type:b.PrintableString})],Ze.prototype,"language",void 0);Ze=l([m({type:v.Sequence})],Ze);let Je=we=class e extends x{constructor(e){super(e);Object.setPrototypeOf(this,we.prototype)}};Je=we=l([m({type:v.Sequence,itemType:Ze})],Je);let _e=Ye=class e extends Je{constructor(e){super(e);Object.setPrototypeOf(this,Ye.prototype)}};_e=Ye=l([m({type:v.Sequence,itemType:Ze})],_e);let ea=qe=class e extends x{constructor(e){super(e);Object.setPrototypeOf(this,qe.prototype)}};ea=qe=l([m({type:v.Sequence,itemType:b.ObjectIdentifier})],ea);let aa=Xe=class e extends x{constructor(e){super(e);Object.setPrototypeOf(this,Xe.prototype)}};aa=Xe=l([m({type:v.Sequence,itemType:b.PrintableString})],aa);const na="0.4.0.1862.1";const ta=`${na}.3`;const ca=`${na}.5`;const oa=`${na}.6`
201
201
  /**
202
202
  * @license
203
203
  * Copyright (c) Peculiar Ventures, LLC.
204
204
  *
205
205
  * This source code is licensed under the MIT license found in the
206
206
  * LICENSE file in the root directory of this source tree.
207
- */;const sa=a=>{const{extension:n}=a;function t(a,n){if(!n.byteLength){return null}if(a===p){const a=r.parse(n,g);return e(xe,{name:"Semantics Identifier",value:ie(a.semanticsIdentifier)})}if(a===oa){const a=r.parse(n,ea);return e(xe,{name:"QC Types",value:a.map((e=>ie(e))).join(", ")})}if(a===ta){const a=r.parse(n,Fe);return e(xe,{name:"Retention Period",value:`${a.value} years`})}if(a===ca){const a=r.parse(n,_e);return[e(xe,{name:"PDS Locations",value:""}),a.map((a=>e(me,null,e(xe,{name:"URL",value:a.url}),e(xe,{name:"Language",value:a.language}))))]}return e(xe,{name:"Info",value:c.Convert.ToHex(n),monospace:true})}return e(Ie,{extension:n},Boolean(n.value.length)&&[e(xe,{name:"Statements",value:""}),n.value.map((a=>e(me,null,e(xe,{name:"Statement ID",value:ie(a.statementId)}),t(a.statementId,a.statementInfo))))])};
207
+ */;const sa=a=>{const{extension:n}=a;function t(a,n){if(!n.byteLength){return null}if(a===p){const a=r.parse(n,g);return e(xe,{name:"Semantics Identifier",value:ie(a.semanticsIdentifier)})}if(a===oa){const a=r.parse(n,ea);return e(xe,{name:"QC Types",value:a.map((e=>ie(e))).join(", ")})}if(a===ta){const a=r.parse(n,We);return e(xe,{name:"Retention Period",value:`${a.value} years`})}if(a===ca){const a=r.parse(n,Je);return[e(xe,{name:"PDS Locations",value:""}),a.map((a=>e(me,null,e(xe,{name:"URL",value:a.url}),e(xe,{name:"Language",value:a.language}))))]}return e(xe,{name:"Info",value:c.Convert.ToHex(n),monospace:true})}return e(De,{extension:n},Boolean(n.value.length)&&[e(xe,{name:"Statements",value:""}),n.value.map((a=>e(me,null,e(xe,{name:"Statement ID",value:ie(a.statementId)}),t(a.statementId,a.statementInfo))))])};
208
208
  /**
209
209
  * @license
210
210
  * Copyright (c) Peculiar Ventures, LLC.
211
211
  *
212
212
  * This source code is licensed under the MIT license found in the
213
213
  * LICENSE file in the root directory of this source tree.
214
- */const ra=a=>{const{extension:n}=a;return e(Ie,{extension:n},e(xe,{name:"Comment",value:n.value.value}))};
214
+ */const ra=a=>{const{extension:n}=a;return e(De,{extension:n},e(xe,{name:"Comment",value:n.value.value}))};
215
215
  /**
216
216
  * @license
217
217
  * Copyright (c) Peculiar Ventures, LLC.
218
218
  *
219
219
  * This source code is licensed under the MIT license found in the
220
220
  * LICENSE file in the root directory of this source tree.
221
- */const ia=a=>{const{extension:n}=a;return e(Ie,{extension:n},e(xe,{name:"Type",value:n.value.toJSON().join(", ")}))};
221
+ */const ia=a=>{const{extension:n}=a;return e(De,{extension:n},e(xe,{name:"Type",value:n.value.toJSON().join(", ")}))};
222
222
  /**
223
223
  * @license
224
224
  * Copyright (c) Peculiar Ventures, LLC.
225
225
  *
226
226
  * This source code is licensed under the MIT license found in the
227
227
  * LICENSE file in the root directory of this source tree.
228
- */const fa=a=>{const{extension:n}=a;return e(Ie,{extension:n},e(xe,{name:"Role",value:n.value.text}))};
228
+ */const fa=a=>{const{extension:n}=a;return e(De,{extension:n},e(xe,{name:"Role",value:n.value.text}))};
229
229
  /**
230
230
  * @license
231
231
  * Copyright (c) Peculiar Ventures, LLC.
232
232
  *
233
233
  * This source code is licensed under the MIT license found in the
234
234
  * LICENSE file in the root directory of this source tree.
235
- */const ua=a=>{const{extension:n,getLEILink:t}=a;return e(Ie,{extension:n},e(xe,{name:"Identifier",value:n.value.text,href:t(n.value.text)}))};
235
+ */const ua=a=>{const{extension:n,getLEILink:t}=a;return e(De,{extension:n},e(xe,{name:"Identifier",value:n.value.text,href:t(n.value.text)}))};
236
236
  /**
237
237
  * @license
238
238
  * Copyright (c) Peculiar Ventures, LLC.
239
239
  *
240
240
  * This source code is licensed under the MIT license found in the
241
241
  * LICENSE file in the root directory of this source tree.
242
- */const la=a=>{const{extension:t}=a;return e(Ie,{extension:t},e(xe,{name:"Version",value:t.value.version}),e(Le,Object.assign({generalName:t.value.location},a)),e(xe,{name:"Requires Auth",value:t.value.requiresAuth?n.getString("yes"):n.getString("no")}))};
242
+ */const la=a=>{const{extension:t}=a;return e(De,{extension:t},e(xe,{name:"Version",value:t.value.version}),e(ke,Object.assign({generalName:t.value.location},a)),e(xe,{name:"Requires Auth",value:t.value.requiresAuth?n.getString("yes"):n.getString("no")}))};
243
243
  /**
244
244
  * @license
245
245
  * Copyright (c) Peculiar Ventures, LLC.
246
246
  *
247
247
  * This source code is licensed under the MIT license found in the
248
248
  * LICENSE file in the root directory of this source tree.
249
- */const da=a=>{const{extension:n}=a;return e(Ie,{extension:n},e(xe,{name:"Version",value:n.value.version}))};
249
+ */const da=a=>{const{extension:n}=a;return e(De,{extension:n},e(xe,{name:"Version",value:n.value.version}))};
250
250
  /**
251
251
  * @license
252
252
  * Copyright (c) Peculiar Ventures, LLC.
253
253
  *
254
254
  * This source code is licensed under the MIT license found in the
255
255
  * LICENSE file in the root directory of this source tree.
256
- */const ba=a=>{const{extension:n}=a;return e(Ie,{extension:n},e(xe,{name:"Reason",value:n.value.toJSON()}))};
256
+ */const ba=a=>{const{extension:n}=a;return e(De,{extension:n},e(xe,{name:"Reason",value:n.value.toJSON()}))};
257
257
  /**
258
258
  * @license
259
259
  * Copyright (c) Peculiar Ventures, LLC.
@@ -267,103 +267,103 @@ import{h as e}from"./p-DDDrq3In.js";import{_ as a,Y as n,Z as t,b as c,a5 as o,a
267
267
  *
268
268
  * This source code is licensed under the MIT license found in the
269
269
  * LICENSE file in the root directory of this source tree.
270
- */const va=a=>{const{extension:n}=a;return e(Ie,{extension:n},Boolean(n.value.length)&&[e(xe,{name:"Attributes",value:""}),n.value.map((a=>e(me,null,e(xe,{name:"Type",value:ie(a.type)}),e(xe,{name:"Value",value:ma(a)}))))])};
270
+ */const va=a=>{const{extension:n}=a;return e(De,{extension:n},Boolean(n.value.length)&&[e(xe,{name:"Attributes",value:""}),n.value.map((a=>e(me,null,e(xe,{name:"Type",value:ie(a.type)}),e(xe,{name:"Value",value:ma(a)}))))])};
271
271
  /**
272
272
  * @license
273
273
  * Copyright (c) Peculiar Ventures, LLC.
274
274
  *
275
275
  * This source code is licensed under the MIT license found in the
276
276
  * LICENSE file in the root directory of this source tree.
277
- */const xa=a=>{const{extension:n}=a;return e(Ie,{extension:n},e(xe,{name:"Value",value:n.value,monospace:true}))};
277
+ */const xa=a=>{const{extension:n}=a;return e(De,{extension:n},e(xe,{name:"Value",value:n.value,monospace:true}))};
278
278
  /**
279
279
  * @license
280
280
  * Copyright (c) Peculiar Ventures, LLC.
281
281
  *
282
282
  * This source code is licensed under the MIT license found in the
283
283
  * LICENSE file in the root directory of this source tree.
284
- */const pa=a=>{const{extension:n}=a;return e(Ie,{extension:n},e(xe,{name:"Not Before",value:t(n.value.notBefore)}),e(xe,{name:"Not After",value:t(n.value.notAfter)}))};
284
+ */const pa=a=>{const{extension:n}=a;return e(De,{extension:n},e(xe,{name:"Not Before",value:t(n.value.notBefore)}),e(xe,{name:"Not After",value:t(n.value.notAfter)}))};
285
285
  /**
286
286
  * @license
287
287
  * Copyright (c) Peculiar Ventures, LLC.
288
288
  *
289
289
  * This source code is licensed under the MIT license found in the
290
290
  * LICENSE file in the root directory of this source tree.
291
- */const ga=a=>{const{extension:n}=a;return e(Ie,{extension:n},e(xe,{name:"Version",value:n.value.entrustVers}),e(xe,{name:"Info Flags",value:n.value.entrustInfoFlags.toJSON().join(", ")}))};
291
+ */const ga=a=>{const{extension:n}=a;return e(De,{extension:n},e(xe,{name:"Version",value:n.value.entrustVers}),e(xe,{name:"Info Flags",value:n.value.entrustInfoFlags.toJSON().join(", ")}))};
292
292
  /**
293
293
  * @license
294
294
  * Copyright (c) Peculiar Ventures, LLC.
295
295
  *
296
296
  * This source code is licensed under the MIT license found in the
297
297
  * LICENSE file in the root directory of this source tree.
298
- */const ya=a=>{const{extension:n}=a;return e(Ie,{extension:n},Boolean(n.value.length)&&[e(xe,{name:"Biometrics",value:""}),n.value.map((a=>e(me,null,e(xe,{name:"OID",value:ie(a.typeOfBiometricData.biometricDataOid)}),e(xe,{name:"Type",value:a.typeOfBiometricData.predefinedBiometricType}),e(xe,{name:"Algorithm",value:ie(a.hashAlgorithm.algorithm)}),e(xe,{name:"Hash",value:c.Convert.ToHex(a.biometricDataHash.buffer),monospace:true}),e(xe,{name:"Source Uri",value:a.sourceDataUri}))))])};
298
+ */const ya=a=>{const{extension:n}=a;return e(De,{extension:n},Boolean(n.value.length)&&[e(xe,{name:"Biometrics",value:""}),n.value.map((a=>e(me,null,e(xe,{name:"OID",value:ie(a.typeOfBiometricData.biometricDataOid)}),e(xe,{name:"Type",value:a.typeOfBiometricData.predefinedBiometricType}),e(xe,{name:"Algorithm",value:ie(a.hashAlgorithm.algorithm)}),e(xe,{name:"Hash",value:c.Convert.ToHex(a.biometricDataHash.buffer),monospace:true}),e(xe,{name:"Source Uri",value:a.sourceDataUri}))))])};
299
299
  /**
300
300
  * @license
301
301
  * Copyright (c) Peculiar Ventures, LLC.
302
302
  *
303
303
  * This source code is licensed under the MIT license found in the
304
304
  * LICENSE file in the root directory of this source tree.
305
- */const ha=a=>{const{extension:n}=a;const t=a=>{if(!a){return null}return a.map((a=>{const{imageDetails:n}=a;return[e(xe,{name:"Image Type",value:n.mediaType}),e(xe,{name:"Image Hash",value:c.Convert.ToHex(n.logotypeHash[0].hashValue),monospace:true}),e(xe,{name:"Image URL",value:n.logotypeURI[0],monospace:true,collapse:true}),e(xe,{name:"Image Hash Algorithm",value:ie(n.logotypeHash[0].hashAlg.algorithm)})]}))};const o=a=>{if(!a){return null}return a.map((a=>{const{audioDetails:n}=a;return[e(xe,{name:"Audio Type",value:n.mediaType}),e(xe,{name:"Audio Hash",value:c.Convert.ToHex(n.logotypeHash[0].hashValue),monospace:true}),e(xe,{name:"Audio URL",value:n.logotypeURI[0],monospace:true,collapse:true}),e(xe,{name:"Audio Hash Algorithm",value:ie(n.logotypeHash[0].hashAlg.algorithm)})]}))};const s=(a,n)=>{if(!n||!n.direct){return null}const{image:c,audio:s}=n.direct;return[e(xe,{name:"Type",value:a}),t(c),o(s),e("tr",null,e("td",null),e("td",null))]};return e(Ie,{extension:n},s("Subject",n.value.subjectLogo),s("Issuer",n.value.issuerLogo))};
305
+ */const ha=a=>{const{extension:n}=a;const t=a=>{if(!a){return null}return a.map((a=>{const{imageDetails:n}=a;return[e(xe,{name:"Image Type",value:n.mediaType}),e(xe,{name:"Image Hash",value:c.Convert.ToHex(n.logotypeHash[0].hashValue),monospace:true}),e(xe,{name:"Image URL",value:n.logotypeURI[0],monospace:true,collapse:true}),e(xe,{name:"Image Hash Algorithm",value:ie(n.logotypeHash[0].hashAlg.algorithm)})]}))};const o=a=>{if(!a){return null}return a.map((a=>{const{audioDetails:n}=a;return[e(xe,{name:"Audio Type",value:n.mediaType}),e(xe,{name:"Audio Hash",value:c.Convert.ToHex(n.logotypeHash[0].hashValue),monospace:true}),e(xe,{name:"Audio URL",value:n.logotypeURI[0],monospace:true,collapse:true}),e(xe,{name:"Audio Hash Algorithm",value:ie(n.logotypeHash[0].hashAlg.algorithm)})]}))};const s=(a,n)=>{if(!n||!n.direct){return null}const{image:c,audio:s}=n.direct;return[e(xe,{name:"Type",value:a}),t(c),o(s),e("tr",null,e("td",null),e("td",null))]};return e(De,{extension:n},s("Subject",n.value.subjectLogo),s("Issuer",n.value.issuerLogo))};
306
306
  /**
307
307
  * @license
308
308
  * Copyright (c) Peculiar Ventures, LLC.
309
309
  *
310
310
  * This source code is licensed under the MIT license found in the
311
311
  * LICENSE file in the root directory of this source tree.
312
- */const Ca=a=>{const{extension:n}=a;return e(Ie,{extension:n},n.value.length>0&&[e(xe,{name:"Entries",value:""}),n.value.map((a=>e(me,null,e(xe,{name:"SPC",value:a.spc}),e(xe,{name:"Range",value:a.range?`start=${a.range.start} count==${a.range.count}`:null}),e(xe,{name:"One",value:a.one}))))])};
312
+ */const Ca=a=>{const{extension:n}=a;return e(De,{extension:n},n.value.length>0&&[e(xe,{name:"Entries",value:""}),n.value.map((a=>e(me,null,e(xe,{name:"SPC",value:a.spc}),e(xe,{name:"Range",value:a.range?`start=${a.range.start} count==${a.range.count}`:null}),e(xe,{name:"One",value:a.one}))))])};
313
313
  /**
314
314
  * @license
315
315
  * Copyright (c) Peculiar Ventures, LLC.
316
316
  *
317
317
  * This source code is licensed under the MIT license found in the
318
318
  * LICENSE file in the root directory of this source tree.
319
- */const Sa=a=>{const{extension:n}=a;return e(Ie,{extension:n},n.value.requireExplicitPolicy&&e(xe,{name:"Require Explicit Policy",value:y.toASN(n.value.requireExplicitPolicy).valueBlock.toString()}),n.value.inhibitPolicyMapping&&e(xe,{name:"Inhibit Policy Mapping",value:y.toASN(n.value.inhibitPolicyMapping).valueBlock.toString()}))};
319
+ */const Sa=a=>{const{extension:n}=a;return e(De,{extension:n},n.value.requireExplicitPolicy&&e(xe,{name:"Require Explicit Policy",value:y.toASN(n.value.requireExplicitPolicy).valueBlock.toString()}),n.value.inhibitPolicyMapping&&e(xe,{name:"Inhibit Policy Mapping",value:y.toASN(n.value.inhibitPolicyMapping).valueBlock.toString()}))};
320
320
  /**
321
321
  * @license
322
322
  * Copyright (c) Peculiar Ventures, LLC.
323
323
  *
324
324
  * This source code is licensed under the MIT license found in the
325
325
  * LICENSE file in the root directory of this source tree.
326
- */const Na=a=>{const{extension:n}=a;return e(Ie,{extension:n},n.value.length>0&&[e(xe,{name:"Policies",value:""}),n.value.map((a=>e(me,null,e(xe,{name:"Issuer Domain",value:ie(a.issuerDomainPolicy)}),e(xe,{name:"Subject Domain",value:ie(a.subjectDomainPolicy)}))))])};
326
+ */const Na=a=>{const{extension:n}=a;return e(De,{extension:n},n.value.length>0&&[e(xe,{name:"Policies",value:""}),n.value.map((a=>e(me,null,e(xe,{name:"Issuer Domain",value:ie(a.issuerDomainPolicy)}),e(xe,{name:"Subject Domain",value:ie(a.subjectDomainPolicy)}))))])};
327
327
  /**
328
328
  * @license
329
329
  * Copyright (c) Peculiar Ventures, LLC.
330
330
  *
331
331
  * This source code is licensed under the MIT license found in the
332
332
  * LICENSE file in the root directory of this source tree.
333
- */const Aa=a=>{const{extension:t}=a;return e(Ie,{extension:t},e(xe,{name:n.getString("value"),value:t.value.value}))};
333
+ */const Aa=a=>{const{extension:t}=a;return e(De,{extension:t},e(xe,{name:n.getString("value"),value:t.value.value}))};
334
334
  /**
335
335
  * @license
336
336
  * Copyright (c) Peculiar Ventures, LLC.
337
337
  *
338
338
  * This source code is licensed under the MIT license found in the
339
339
  * LICENSE file in the root directory of this source tree.
340
- */const Ia=a=>{var t;const{extension:c}=a;return e(Ie,{extension:c},(t=c.value.distributionPoint)===null||t===void 0?void 0:t.fullName.map((n=>e(Le,Object.assign({generalName:n},a)))),c.value.onlySomeReasons&&e(xe,{name:n.getString("onlyReasons"),value:c.value.onlySomeReasons.toJSON().join(", ")}),c.value.indirectCRL&&e(xe,{name:n.getString("indirectCRL"),value:n.getString("yes")}),c.value.onlyContainsUserCerts&&e(xe,{name:n.getString("onlyUserCertificates"),value:n.getString("yes")}),c.value.onlyContainsAttributeCerts&&e(xe,{name:n.getString("onlyAttributeCertificates"),value:n.getString("yes")}),c.value.onlyContainsCACerts&&e(xe,{name:n.getString("onlyCACertificates"),value:n.getString("yes")}))};
340
+ */const Da=a=>{var t;const{extension:c}=a;return e(De,{extension:c},(t=c.value.distributionPoint)===null||t===void 0?void 0:t.fullName.map((n=>e(ke,Object.assign({generalName:n},a)))),c.value.onlySomeReasons&&e(xe,{name:n.getString("onlyReasons"),value:c.value.onlySomeReasons.toJSON().join(", ")}),c.value.indirectCRL&&e(xe,{name:n.getString("indirectCRL"),value:n.getString("yes")}),c.value.onlyContainsUserCerts&&e(xe,{name:n.getString("onlyUserCertificates"),value:n.getString("yes")}),c.value.onlyContainsAttributeCerts&&e(xe,{name:n.getString("onlyAttributeCertificates"),value:n.getString("yes")}),c.value.onlyContainsCACerts&&e(xe,{name:n.getString("onlyCACertificates"),value:n.getString("yes")}))};
341
341
  /**
342
342
  * @license
343
343
  * Copyright (c) Peculiar Ventures, LLC.
344
344
  *
345
345
  * This source code is licensed under the MIT license found in the
346
346
  * LICENSE file in the root directory of this source tree.
347
- */const Da=a=>{const{extension:t}=a;const o=a=>Object.keys(a).map((t=>{const s=a[t];let i="";switch(true){case typeof s==="string"||typeof s==="number":i=s;break;case s instanceof S:i=s.join(", ");break;case typeof s==="boolean":i=s?n.getString("yes"):n.getString("no");break;case Object.is(s,null):i="NULL";break;case s instanceof C:return[e(xe,{name:fe(t),value:""}),e(me,null,o(s))];case c.BufferSourceConverter.isBufferSource(s):if(t==="attestationApplicationId"){try{const a=r.parse(s,h);if(a.packageInfos.length||a.signatureDigests.length){return[e(xe,{name:fe(t),value:""}),Boolean(a.packageInfos)&&e(me,null,e(xe,{name:fe("packageInfos"),value:""}),a.packageInfos.map((a=>e(me,null,o(a)))))]}}catch(e){}}try{i=c.Convert.ToString(s)}catch(e){i=c.Convert.ToHex(s)}break}return e(xe,{name:fe(t),value:i})}));const s=(a,n)=>{if(n.length===0){return null}return[e(xe,{name:a,value:""}),e(me,null,n.map(o))]};return e(Ie,{extension:t},e(xe,{name:fe("attestationVersion"),value:t.value.attestationVersion}),e(xe,{name:fe("attestationSecurityLevel"),value:t.value.attestationSecurityLevel}),e(xe,{name:fe("keymasterVersion"),value:t.value.keymasterVersion}),e(xe,{name:fe("keymasterSecurityLevel"),value:t.value.keymasterSecurityLevel}),e(xe,{name:fe("attestationChallenge"),value:c.Convert.ToString(t.value.attestationChallenge)}),e(xe,{name:fe("uniqueId"),value:c.Convert.ToString(t.value.uniqueId)||undefined}),s(fe("softwareEnforced"),t.value.softwareEnforced),s(fe("teeEnforced"),t.value.teeEnforced))};
347
+ */const Ia=a=>{const{extension:t}=a;const o=a=>Object.keys(a).map((t=>{const s=a[t];let i="";switch(true){case typeof s==="string"||typeof s==="number":i=s;break;case s instanceof S:i=s.join(", ");break;case typeof s==="boolean":i=s?n.getString("yes"):n.getString("no");break;case Object.is(s,null):i="NULL";break;case s instanceof C:return[e(xe,{name:fe(t),value:""}),e(me,null,o(s))];case c.BufferSourceConverter.isBufferSource(s):if(t==="attestationApplicationId"){try{const a=r.parse(s,h);if(a.packageInfos.length||a.signatureDigests.length){return[e(xe,{name:fe(t),value:""}),Boolean(a.packageInfos)&&e(me,null,e(xe,{name:fe("packageInfos"),value:""}),a.packageInfos.map((a=>e(me,null,o(a)))))]}}catch(e){}}try{i=c.Convert.ToString(s)}catch(e){i=c.Convert.ToHex(s)}break}return e(xe,{name:fe(t),value:i})}));const s=(a,n)=>{if(n.length===0){return null}return[e(xe,{name:a,value:""}),e(me,null,n.map(o))]};return e(De,{extension:t},e(xe,{name:fe("attestationVersion"),value:t.value.attestationVersion}),e(xe,{name:fe("attestationSecurityLevel"),value:t.value.attestationSecurityLevel}),e(xe,{name:fe("keymasterVersion"),value:t.value.keymasterVersion}),e(xe,{name:fe("keymasterSecurityLevel"),value:t.value.keymasterSecurityLevel}),e(xe,{name:fe("attestationChallenge"),value:c.Convert.ToString(t.value.attestationChallenge)}),e(xe,{name:fe("uniqueId"),value:c.Convert.ToString(t.value.uniqueId)||undefined}),s(fe("softwareEnforced"),t.value.softwareEnforced),s(fe("teeEnforced"),t.value.teeEnforced))};
348
348
  /**
349
349
  * @license
350
350
  * Copyright (c) Peculiar Ventures, LLC.
351
351
  *
352
352
  * This source code is licensed under the MIT license found in the
353
353
  * LICENSE file in the root directory of this source tree.
354
- */const ja=a=>{const{extension:n}=a;return e(Ie,{extension:n},Object.keys(n.value).map((a=>e(xe,{name:fe(a),value:n.value[a]}))))};
354
+ */const ja=a=>{const{extension:n}=a;return e(De,{extension:n},Object.keys(n.value).map((a=>e(xe,{name:fe(a),value:n.value[a]}))))};
355
355
  /**
356
356
  * @license
357
357
  * Copyright (c) Peculiar Ventures, LLC.
358
358
  *
359
359
  * This source code is licensed under the MIT license found in the
360
360
  * LICENSE file in the root directory of this source tree.
361
- */const Oa=a=>{const{extensions:n,title:t}=a;if(!n||!n.length){return null}return[e(ve,{value:t||"Extensions"}),n.map((n=>{try{if(n.value instanceof N){return e(De,{extension:n})}if(n.value instanceof A){return e(je,{extension:n})}if(n.value instanceof I){return e(Oe,{extension:n})}if(n.value instanceof D){return e(Te,Object.assign({extension:n},a))}if(n.value instanceof j){return e(Ge,Object.assign({extension:n},a))}if(n.value instanceof O){return e(Pe,Object.assign({extension:n},a))}if(n.value instanceof T||n.value instanceof G){return e(Be,Object.assign({extension:n},a))}if(n.value instanceof k){return e(Ve,Object.assign({extension:n},a))}if(n.value instanceof L){return e(Re,{extension:n})}if(n.value instanceof P){return e(Ue,{extension:n})}if(n.value instanceof B){return e($e,Object.assign({extension:n},a))}if(n.value instanceof V){return e(Ke,{extension:n})}if(n.value instanceof R){return e(He,{extension:n})}if(n.value instanceof E){return e(qe,{extension:n})}if(n.value instanceof U){return e(sa,{extension:n})}if(n.value instanceof $){return e(ra,{extension:n})}if(n.value instanceof K){return e(ia,{extension:n})}if(n.value instanceof H){return e(fa,{extension:n})}if(n.value instanceof q){return e(ua,Object.assign({extension:n},a))}if(n.value instanceof M){return e(la,Object.assign({extension:n},a))}if(n.value instanceof w){return e(da,{extension:n})}if(n.value instanceof X){return e(ba,{extension:n})}if(n.value instanceof Y){return e(va,{extension:n})}if(n.value instanceof z){return e(pa,{extension:n})}if(n.value instanceof W){return e(ga,{extension:n})}if(n.value instanceof Q){return e(ya,{extension:n})}if(n.value instanceof F){return e(ha,{extension:n})}if(n.value instanceof Z){return e(Ca,{extension:n})}if(n.value instanceof _){return e(Sa,{extension:n})}if(n.value instanceof J){return e(Na,{extension:n})}if(n.value instanceof ee){return e(Aa,{extension:n})}if(n.value instanceof ae){return e(Ia,Object.assign({extension:n},a))}if(n.value instanceof ne){return e(Da,Object.assign({extension:n},a))}if(n.value instanceof te){return e(ja,Object.assign({extension:n},a))}if(typeof n.value==="string"){return e(xa,{extension:n})}return e(Ie,{extension:n})}catch(e){console.error("Error render extension:",n.asn.extnID);return null}}))]};
361
+ */const Oa=a=>{const{extensions:n,title:t}=a;if(!n||!n.length){return null}return[e(ve,{value:t||"Extensions"}),n.map((n=>{try{if(n.value instanceof N){return e(Ie,{extension:n})}if(n.value instanceof A){return e(je,{extension:n})}if(n.value instanceof D){return e(Oe,{extension:n})}if(n.value instanceof I){return e(Te,Object.assign({extension:n},a))}if(n.value instanceof j){return e(Ge,Object.assign({extension:n},a))}if(n.value instanceof O){return e(Pe,Object.assign({extension:n},a))}if(n.value instanceof T||n.value instanceof G){return e(Re,Object.assign({extension:n},a))}if(n.value instanceof L){return e(Ve,Object.assign({extension:n},a))}if(n.value instanceof k){return e(Be,{extension:n})}if(n.value instanceof P){return e(Ee,{extension:n})}if(n.value instanceof R){return e($e,Object.assign({extension:n},a))}if(n.value instanceof V){return e(Ke,{extension:n})}if(n.value instanceof B){return e(Me,{extension:n})}if(n.value instanceof U){return e(He,{extension:n})}if(n.value instanceof E){return e(sa,{extension:n})}if(n.value instanceof $){return e(ra,{extension:n})}if(n.value instanceof K){return e(ia,{extension:n})}if(n.value instanceof M){return e(fa,{extension:n})}if(n.value instanceof H){return e(ua,Object.assign({extension:n},a))}if(n.value instanceof w){return e(la,Object.assign({extension:n},a))}if(n.value instanceof Y){return e(da,{extension:n})}if(n.value instanceof q){return e(ba,{extension:n})}if(n.value instanceof X){return e(va,{extension:n})}if(n.value instanceof F){return e(pa,{extension:n})}if(n.value instanceof z){return e(ga,{extension:n})}if(n.value instanceof Q){return e(ya,{extension:n})}if(n.value instanceof W){return e(ha,{extension:n})}if(n.value instanceof Z){return e(Ca,{extension:n})}if(n.value instanceof J){return e(Sa,{extension:n})}if(n.value instanceof _){return e(Na,{extension:n})}if(n.value instanceof ee){return e(Aa,{extension:n})}if(n.value instanceof ae){return e(Da,Object.assign({extension:n},a))}if(n.value instanceof ne){return e(Ia,Object.assign({extension:n},a))}if(n.value instanceof te){return e(ja,Object.assign({extension:n},a))}if(typeof n.value==="string"){return e(xa,{extension:n})}return e(De,{extension:n})}catch(e){console.error("Error render extension:",n.asn.extnID);return null}}))]};
362
362
  /**
363
363
  * @license
364
364
  * Copyright (c) Peculiar Ventures, LLC.
365
365
  *
366
366
  * This source code is licensed under the MIT license found in the
367
367
  * LICENSE file in the root directory of this source tree.
368
- */const Ta=a=>{const{certificate:t}=a;return[e(ve,{value:n.getString("miscellaneous")}),e("tr",null,e("td",null,e(se,{onClick:()=>t.downloadAsPEM(),startIcon:e(re,null)},n.getString("download.pem")))),e("tr",null,e("td",null,e(se,{onClick:()=>t.downloadAsDER(),startIcon:e(re,null)},n.getString("download.der"))))]};export{pe as B,Oa as E,Le as G,Se as I,Ta as M,he as P,xe as R,Ce as S,Ae as T,Ne as a,le as b,ue as c,ie as d,fe as e,me as f,de as g,ve as h};
369
- //# sourceMappingURL=p-CttQwkXH.js.map
368
+ */const Ta=a=>{const{certificate:t}=a;return[e(ve,{value:n.getString("miscellaneous")}),e("tr",null,e("td",null,e(se,{startIcon:e(re,null),onClick:()=>t.downloadAsPEM()},n.getString("download.pem")))),e("tr",null,e("td",null,e(se,{startIcon:e(re,null),onClick:()=>t.downloadAsDER()},n.getString("download.der"))))]};export{pe as B,Oa as E,ke as G,Se as I,Ta as M,he as P,xe as R,Ce as S,Ae as T,Ne as a,le as b,ue as c,ie as d,fe as e,me as f,de as g,ve as h};
369
+ //# sourceMappingURL=p-CGRNSrHk.js.map