@peculiar/certificates-viewer 3.5.0 → 3.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (191) hide show
  1. package/dist/cjs/{certification_request-ea440617.js → certification_request-00bbfbc5.js} +6714 -6604
  2. package/dist/cjs/{crl-fd60d923.js → crl-de4e196b.js} +1 -1
  3. package/dist/cjs/loader.cjs.js +1 -1
  4. package/dist/cjs/{public_key-14290c77.js → miscellaneous-30c4aded.js} +185 -169
  5. package/dist/cjs/peculiar-attribute-certificate-viewer_3.cjs.entry.js +87 -90
  6. package/dist/cjs/{peculiar-certificate-summary_3.cjs.entry.js → peculiar-button-split_4.cjs.entry.js} +35 -0
  7. package/dist/cjs/peculiar-button.cjs.entry.js +40 -0
  8. package/dist/cjs/peculiar-certificate-decoder.cjs.entry.js +3 -3
  9. package/dist/cjs/peculiar-certificate-viewer.cjs.entry.js +5 -5
  10. package/dist/cjs/peculiar-certificates-viewer.cjs.entry.js +2 -2
  11. package/dist/cjs/peculiar-link.cjs.entry.js +29 -0
  12. package/dist/cjs/peculiar-text-hider.cjs.entry.js +33 -0
  13. package/dist/cjs/peculiar-typography.cjs.entry.js +38 -0
  14. package/dist/cjs/peculiar.cjs.js +1 -1
  15. package/dist/cjs/{x509_certificate-262bac06.js → x509_certificate-2af9b990.js} +18 -4
  16. package/dist/collection/components/attribute-certificate-viewer/attribute-certificate-viewer.js +1 -8
  17. package/dist/collection/components/{certificate-viewer → certificate-details-parts}/attributes/basic_attribute.js +1 -1
  18. package/dist/collection/components/{certificate-viewer → certificate-details-parts}/extensions/basic_extension.js +1 -2
  19. package/dist/collection/components/{certificate-viewer → certificate-details-parts}/extensions/biometric_syntax_extension.js +1 -1
  20. package/dist/collection/components/{certificate-viewer → certificate-details-parts}/extensions/certificate_policies_extension.js +1 -1
  21. package/dist/collection/components/{certificate-viewer → certificate-details-parts}/extensions/extended_key_usage_extension.js +1 -1
  22. package/dist/collection/components/{certificate-viewer → certificate-details-parts}/extensions/general_name_part.js +1 -1
  23. package/dist/collection/components/{certificate-viewer → certificate-details-parts}/extensions/info_access_syntax_extension.js +1 -1
  24. package/dist/collection/components/{certificate-viewer → certificate-details-parts}/extensions/logotype_extension.js +1 -1
  25. package/dist/collection/components/{certificate-viewer → certificate-details-parts}/extensions/policy_mappings_extension.js +1 -1
  26. package/dist/collection/components/{certificate-viewer → certificate-details-parts}/extensions/qc_statements_extension.js +1 -1
  27. package/dist/collection/components/{certificate-viewer → certificate-details-parts}/extensions/subject_directory_attributes_extension.js +1 -1
  28. package/dist/collection/components/{attribute-certificate-viewer → certificate-details-parts}/holder.js +3 -4
  29. package/dist/collection/components/certificate-details-parts/index.js +15 -0
  30. package/dist/collection/components/{attribute-certificate-viewer → certificate-details-parts}/issuer.js +2 -2
  31. package/dist/collection/components/{certificate-viewer → certificate-details-parts}/public_key.js +14 -9
  32. package/dist/collection/components/{crl-viewer → certificate-details-parts}/revoked_certificates.js +3 -7
  33. package/dist/collection/components/{certificate-viewer → certificate-details-parts}/row.js +3 -0
  34. package/dist/collection/components/certificate-details-parts/signature.js +31 -0
  35. package/dist/collection/components/certificate-viewer/certificate-viewer.css +4 -0
  36. package/dist/collection/components/certificate-viewer/certificate-viewer.js +1 -8
  37. package/dist/collection/components/crl-viewer/crl-viewer.js +1 -7
  38. package/dist/collection/components/csr-viewer/csr-viewer.js +1 -8
  39. package/dist/collection/constants/oids.js +10 -0
  40. package/dist/collection/crypto/x509_certificate.js +18 -3
  41. package/dist/collection/{components/certificate-viewer → utils}/get_string_by_oid.js +1 -1
  42. package/dist/collection/utils/index.js +1 -0
  43. package/dist/esm/{certification_request-0ecd0af1.js → certification_request-8cc9d070.js} +6713 -6605
  44. package/dist/esm/{crl-c09357a9.js → crl-f43a95b7.js} +1 -1
  45. package/dist/esm/loader.js +1 -1
  46. package/dist/esm/{public_key-e6d12f27.js → miscellaneous-b74d9eae.js} +185 -170
  47. package/dist/esm/peculiar-attribute-certificate-viewer_3.entry.js +54 -57
  48. package/dist/esm/{peculiar-certificate-summary_3.entry.js → peculiar-button-split_4.entry.js} +35 -1
  49. package/dist/esm/peculiar-button.entry.js +36 -0
  50. package/dist/esm/peculiar-certificate-decoder.entry.js +3 -3
  51. package/dist/esm/peculiar-certificate-viewer.entry.js +4 -4
  52. package/dist/esm/peculiar-certificates-viewer.entry.js +2 -2
  53. package/dist/esm/peculiar-link.entry.js +25 -0
  54. package/dist/esm/peculiar-text-hider.entry.js +29 -0
  55. package/dist/esm/peculiar-typography.entry.js +34 -0
  56. package/dist/esm/peculiar.js +1 -1
  57. package/dist/esm/{x509_certificate-59d7a03c.js → x509_certificate-0fdd28aa.js} +18 -4
  58. package/dist/peculiar/p-05337212.entry.js +18 -0
  59. package/dist/peculiar/p-0868020d.entry.js +4 -0
  60. package/dist/peculiar/{p-1d6d0160.entry.js → p-167fd2db.entry.js} +1 -1
  61. package/dist/peculiar/p-45336b4f.js +69 -0
  62. package/dist/peculiar/{p-e7d81a43.entry.js → p-4e9318fb.entry.js} +1 -1
  63. package/dist/peculiar/p-57b89412.entry.js +4 -0
  64. package/dist/peculiar/p-610b85e3.entry.js +4 -0
  65. package/dist/peculiar/p-6d37c8b5.entry.js +4 -0
  66. package/dist/peculiar/p-893659f4.entry.js +4 -0
  67. package/dist/peculiar/p-918aeee4.entry.js +4 -0
  68. package/dist/peculiar/p-c72f8e8f.js +79 -0
  69. package/dist/peculiar/{p-7321a8d6.js → p-ea9a6317.js} +3 -3
  70. package/dist/peculiar/p-ec8787ed.js +11 -0
  71. package/dist/peculiar/peculiar.esm.js +1 -1
  72. package/dist/types/components/certificate-details-parts/index.d.ts +12 -0
  73. package/dist/types/components/{certificate-viewer → certificate-details-parts}/row.d.ts +1 -0
  74. package/dist/types/constants/oids.d.ts +8 -0
  75. package/dist/types/crypto/x509_certificate.d.ts +6 -1
  76. package/dist/types/utils/index.d.ts +1 -0
  77. package/package.json +20 -19
  78. package/dist/cjs/peculiar-button_5.cjs.entry.js +0 -148
  79. package/dist/collection/components/certificate-viewer/signature.js +0 -26
  80. package/dist/esm/peculiar-button_5.entry.js +0 -140
  81. package/dist/peculiar/p-1b11aa24.js +0 -63
  82. package/dist/peculiar/p-37c38f22.entry.js +0 -4
  83. package/dist/peculiar/p-3a4556ef.js +0 -87
  84. package/dist/peculiar/p-7a31bffb.entry.js +0 -26
  85. package/dist/peculiar/p-870c3592.entry.js +0 -4
  86. package/dist/peculiar/p-c9f01b83.js +0 -11
  87. package/dist/peculiar/p-dafae164.entry.js +0 -4
  88. package/dist/collection/components/{certificate-viewer → certificate-details-parts}/attributes/activity_description_attribute.js +1 -1
  89. package/dist/collection/components/{certificate-viewer → certificate-details-parts}/attributes/as_string_attribute.js +1 -1
  90. package/dist/collection/components/{certificate-viewer → certificate-details-parts}/attributes/challenge_password_attribute.js +1 -1
  91. package/dist/collection/components/{certificate-viewer → certificate-details-parts}/attributes/index.js +0 -0
  92. package/dist/collection/components/{certificate-viewer → certificate-details-parts}/attributes/insurance_value_attribute.js +1 -1
  93. package/dist/collection/components/{certificate-viewer → certificate-details-parts}/attributes/name_attribute.js +0 -0
  94. package/dist/collection/components/{certificate-viewer → certificate-details-parts}/attributes/name_part.js +0 -0
  95. package/dist/collection/components/{certificate-viewer → certificate-details-parts}/attributes/type_relationship_attribute.js +1 -1
  96. package/dist/collection/components/{certificate-viewer → certificate-details-parts}/attributes/unstructured_name_attribute.js +1 -1
  97. package/dist/collection/components/{certificate-viewer → certificate-details-parts}/attributes/valuation_ranking_attribute.js +1 -1
  98. package/dist/collection/components/{certificate-viewer → certificate-details-parts}/attributes/web_gdpr_attribute.js +1 -1
  99. /package/dist/collection/components/{certificate-viewer → certificate-details-parts}/basic_information.js +0 -0
  100. /package/dist/collection/components/{certificate-viewer → certificate-details-parts}/extensions/archive_rev_info_extension.js +0 -0
  101. /package/dist/collection/components/{certificate-viewer → certificate-details-parts}/extensions/as_string_extension.js +0 -0
  102. /package/dist/collection/components/{certificate-viewer → certificate-details-parts}/extensions/attribute_value.js +0 -0
  103. /package/dist/collection/components/{certificate-viewer → certificate-details-parts}/extensions/authority_key_identifier_extension.js +0 -0
  104. /package/dist/collection/components/{certificate-viewer → certificate-details-parts}/extensions/basic_constraints_extension.js +0 -0
  105. /package/dist/collection/components/{certificate-viewer → certificate-details-parts}/extensions/ca_version_extension.js +0 -0
  106. /package/dist/collection/components/{certificate-viewer → certificate-details-parts}/extensions/certificate_template_extension.js +0 -0
  107. /package/dist/collection/components/{certificate-viewer → certificate-details-parts}/extensions/certificate_transparency_extension.js +0 -0
  108. /package/dist/collection/components/{certificate-viewer → certificate-details-parts}/extensions/crl_distribution_points_extension.js +0 -0
  109. /package/dist/collection/components/{certificate-viewer → certificate-details-parts}/extensions/crl_number_extension.js +0 -0
  110. /package/dist/collection/components/{certificate-viewer → certificate-details-parts}/extensions/crl_reason_extension.js +0 -0
  111. /package/dist/collection/components/{certificate-viewer → certificate-details-parts}/extensions/enroll_cert_type_extension.js +0 -0
  112. /package/dist/collection/components/{certificate-viewer → certificate-details-parts}/extensions/entrust_version_info_extension.js +0 -0
  113. /package/dist/collection/components/{certificate-viewer → certificate-details-parts}/extensions/index.js +0 -0
  114. /package/dist/collection/components/{certificate-viewer → certificate-details-parts}/extensions/issuing_distribution_point_extension.js +0 -0
  115. /package/dist/collection/components/{certificate-viewer → certificate-details-parts}/extensions/key_usage_extension.js +0 -0
  116. /package/dist/collection/components/{certificate-viewer → certificate-details-parts}/extensions/lei_extension.js +0 -0
  117. /package/dist/collection/components/{certificate-viewer → certificate-details-parts}/extensions/lei_role_extennsion.js +0 -0
  118. /package/dist/collection/components/{certificate-viewer → certificate-details-parts}/extensions/name_constraints_extension.js +0 -0
  119. /package/dist/collection/components/{certificate-viewer → certificate-details-parts}/extensions/netscape_cert_type_extension.js +0 -0
  120. /package/dist/collection/components/{certificate-viewer → certificate-details-parts}/extensions/netscape_comment_extension.js +0 -0
  121. /package/dist/collection/components/{certificate-viewer → certificate-details-parts}/extensions/policy_constraints_extension.js +0 -0
  122. /package/dist/collection/components/{certificate-viewer → certificate-details-parts}/extensions/private_key_usage_period_extension.js +0 -0
  123. /package/dist/collection/components/{certificate-viewer → certificate-details-parts}/extensions/subject_alternative_name_extension.js +0 -0
  124. /package/dist/collection/components/{certificate-viewer → certificate-details-parts}/extensions/subject_key_identifier_extension.js +0 -0
  125. /package/dist/collection/components/{certificate-viewer → certificate-details-parts}/extensions/timestamp_extension.js +0 -0
  126. /package/dist/collection/components/{certificate-viewer → certificate-details-parts}/extensions/tn_auth_list_extension.js +0 -0
  127. /package/dist/collection/components/{certificate-viewer → certificate-details-parts}/issuer_name.js +0 -0
  128. /package/dist/collection/components/{certificate-viewer → certificate-details-parts}/miscellaneous.js +0 -0
  129. /package/dist/collection/components/{certificate-viewer → certificate-details-parts}/subject_name.js +0 -0
  130. /package/dist/collection/components/{certificate-viewer → certificate-details-parts}/thumbprints.js +0 -0
  131. /package/dist/types/components/{certificate-viewer → certificate-details-parts}/attributes/activity_description_attribute.d.ts +0 -0
  132. /package/dist/types/components/{certificate-viewer → certificate-details-parts}/attributes/as_string_attribute.d.ts +0 -0
  133. /package/dist/types/components/{certificate-viewer → certificate-details-parts}/attributes/basic_attribute.d.ts +0 -0
  134. /package/dist/types/components/{certificate-viewer → certificate-details-parts}/attributes/challenge_password_attribute.d.ts +0 -0
  135. /package/dist/types/components/{certificate-viewer → certificate-details-parts}/attributes/index.d.ts +0 -0
  136. /package/dist/types/components/{certificate-viewer → certificate-details-parts}/attributes/insurance_value_attribute.d.ts +0 -0
  137. /package/dist/types/components/{certificate-viewer → certificate-details-parts}/attributes/name_attribute.d.ts +0 -0
  138. /package/dist/types/components/{certificate-viewer → certificate-details-parts}/attributes/name_part.d.ts +0 -0
  139. /package/dist/types/components/{certificate-viewer → certificate-details-parts}/attributes/type_relationship_attribute.d.ts +0 -0
  140. /package/dist/types/components/{certificate-viewer → certificate-details-parts}/attributes/unstructured_name_attribute.d.ts +0 -0
  141. /package/dist/types/components/{certificate-viewer → certificate-details-parts}/attributes/valuation_ranking_attribute.d.ts +0 -0
  142. /package/dist/types/components/{certificate-viewer → certificate-details-parts}/attributes/web_gdpr_attribute.d.ts +0 -0
  143. /package/dist/types/components/{certificate-viewer → certificate-details-parts}/basic_information.d.ts +0 -0
  144. /package/dist/types/components/{certificate-viewer → certificate-details-parts}/extensions/archive_rev_info_extension.d.ts +0 -0
  145. /package/dist/types/components/{certificate-viewer → certificate-details-parts}/extensions/as_string_extension.d.ts +0 -0
  146. /package/dist/types/components/{certificate-viewer → certificate-details-parts}/extensions/attribute_value.d.ts +0 -0
  147. /package/dist/types/components/{certificate-viewer → certificate-details-parts}/extensions/authority_key_identifier_extension.d.ts +0 -0
  148. /package/dist/types/components/{certificate-viewer → certificate-details-parts}/extensions/basic_constraints_extension.d.ts +0 -0
  149. /package/dist/types/components/{certificate-viewer → certificate-details-parts}/extensions/basic_extension.d.ts +0 -0
  150. /package/dist/types/components/{certificate-viewer → certificate-details-parts}/extensions/biometric_syntax_extension.d.ts +0 -0
  151. /package/dist/types/components/{certificate-viewer → certificate-details-parts}/extensions/ca_version_extension.d.ts +0 -0
  152. /package/dist/types/components/{certificate-viewer → certificate-details-parts}/extensions/certificate_policies_extension.d.ts +0 -0
  153. /package/dist/types/components/{certificate-viewer → certificate-details-parts}/extensions/certificate_template_extension.d.ts +0 -0
  154. /package/dist/types/components/{certificate-viewer → certificate-details-parts}/extensions/certificate_transparency_extension.d.ts +0 -0
  155. /package/dist/types/components/{certificate-viewer → certificate-details-parts}/extensions/crl_distribution_points_extension.d.ts +0 -0
  156. /package/dist/types/components/{certificate-viewer → certificate-details-parts}/extensions/crl_number_extension.d.ts +0 -0
  157. /package/dist/types/components/{certificate-viewer → certificate-details-parts}/extensions/crl_reason_extension.d.ts +0 -0
  158. /package/dist/types/components/{certificate-viewer → certificate-details-parts}/extensions/enroll_cert_type_extension.d.ts +0 -0
  159. /package/dist/types/components/{certificate-viewer → certificate-details-parts}/extensions/entrust_version_info_extension.d.ts +0 -0
  160. /package/dist/types/components/{certificate-viewer → certificate-details-parts}/extensions/extended_key_usage_extension.d.ts +0 -0
  161. /package/dist/types/components/{certificate-viewer → certificate-details-parts}/extensions/general_name_part.d.ts +0 -0
  162. /package/dist/types/components/{certificate-viewer → certificate-details-parts}/extensions/index.d.ts +0 -0
  163. /package/dist/types/components/{certificate-viewer → certificate-details-parts}/extensions/info_access_syntax_extension.d.ts +0 -0
  164. /package/dist/types/components/{certificate-viewer → certificate-details-parts}/extensions/issuing_distribution_point_extension.d.ts +0 -0
  165. /package/dist/types/components/{certificate-viewer → certificate-details-parts}/extensions/key_usage_extension.d.ts +0 -0
  166. /package/dist/types/components/{certificate-viewer → certificate-details-parts}/extensions/lei_extension.d.ts +0 -0
  167. /package/dist/types/components/{certificate-viewer → certificate-details-parts}/extensions/lei_role_extennsion.d.ts +0 -0
  168. /package/dist/types/components/{certificate-viewer → certificate-details-parts}/extensions/logotype_extension.d.ts +0 -0
  169. /package/dist/types/components/{certificate-viewer → certificate-details-parts}/extensions/name_constraints_extension.d.ts +0 -0
  170. /package/dist/types/components/{certificate-viewer → certificate-details-parts}/extensions/netscape_cert_type_extension.d.ts +0 -0
  171. /package/dist/types/components/{certificate-viewer → certificate-details-parts}/extensions/netscape_comment_extension.d.ts +0 -0
  172. /package/dist/types/components/{certificate-viewer → certificate-details-parts}/extensions/policy_constraints_extension.d.ts +0 -0
  173. /package/dist/types/components/{certificate-viewer → certificate-details-parts}/extensions/policy_mappings_extension.d.ts +0 -0
  174. /package/dist/types/components/{certificate-viewer → certificate-details-parts}/extensions/private_key_usage_period_extension.d.ts +0 -0
  175. /package/dist/types/components/{certificate-viewer → certificate-details-parts}/extensions/qc_statements_extension.d.ts +0 -0
  176. /package/dist/types/components/{certificate-viewer → certificate-details-parts}/extensions/subject_alternative_name_extension.d.ts +0 -0
  177. /package/dist/types/components/{certificate-viewer → certificate-details-parts}/extensions/subject_directory_attributes_extension.d.ts +0 -0
  178. /package/dist/types/components/{certificate-viewer → certificate-details-parts}/extensions/subject_key_identifier_extension.d.ts +0 -0
  179. /package/dist/types/components/{certificate-viewer → certificate-details-parts}/extensions/timestamp_extension.d.ts +0 -0
  180. /package/dist/types/components/{certificate-viewer → certificate-details-parts}/extensions/tn_auth_list_extension.d.ts +0 -0
  181. /package/dist/types/components/{attribute-certificate-viewer → certificate-details-parts}/holder.d.ts +0 -0
  182. /package/dist/types/components/{attribute-certificate-viewer → certificate-details-parts}/issuer.d.ts +0 -0
  183. /package/dist/types/components/{certificate-viewer → certificate-details-parts}/issuer_name.d.ts +0 -0
  184. /package/dist/types/components/{certificate-viewer → certificate-details-parts}/miscellaneous.d.ts +0 -0
  185. /package/dist/types/components/{certificate-viewer → certificate-details-parts}/public_key.d.ts +0 -0
  186. /package/dist/types/components/{crl-viewer → certificate-details-parts}/revoked_certificates.d.ts +0 -0
  187. /package/dist/types/components/{certificate-viewer → certificate-details-parts}/signature.d.ts +0 -0
  188. /package/dist/types/components/{certificate-viewer → certificate-details-parts}/subject_name.d.ts +0 -0
  189. /package/dist/types/components/{certificate-viewer → certificate-details-parts}/thumbprints.d.ts +0 -0
  190. /package/dist/types/components/{certificate-viewer → certificate-details-parts}/types.d.ts +0 -0
  191. /package/dist/types/{components/certificate-viewer → utils}/get_string_by_oid.d.ts +0 -0
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * © Peculiar Ventures https://peculiarventures.com/ - MIT License
3
3
  */
4
- import { A as AsnData, n as Attribute$1, o as id_pkcs9_at_extensionRequest, p as AsnParser, q as ExtensionRequest, E as Extension, f as AsnConvert, r as id_pkcs9_at_unstructuredName, U as UnstructuredName, s as id_pkcs9_at_challengePassword, t as ChallengePassword, u as id_ValuationRanking, V as ValuationRanking, v as id_InsuranceValue, I as InsuranceValue, w as id_WebGDPR, W as WebGDPR, x as id_ActivityDescription, y as ActivityDescription, z as id_TypeRelationship, T as TypeRelationship, B as id_DomainNameTechnicalOperator, D as DomainNameTechnicalOperator, F as id_DomainNameOwner, G as DomainNameOwner, H as id_DomainNameLegalRepresentative, J as DomainNameLegalRepresentative, K as id_DomainNameBeneficiary, L as DomainNameBeneficiary, e as certificateRawToBuffer, M as AttributeCertificate, m as getCertificateThumbprint, k as hexFormat, l as base64Format, O as CertificationRequest, N as Name, g as id_ecPublicKey, h as ECParameters, j as id_rsaEncryption, R as RSAPublicKey, P as CertificateList } from './certification_request-0ecd0af1.js';
4
+ import { A as AsnData, s as Attribute$1, t as id_pkcs9_at_extensionRequest, u as AsnParser, v as ExtensionRequest, E as Extension, f as AsnConvert, w as id_pkcs9_at_unstructuredName, U as UnstructuredName, x as id_pkcs9_at_challengePassword, y as ChallengePassword, z as id_ValuationRanking, V as ValuationRanking, B as id_InsuranceValue, I as InsuranceValue, D as id_WebGDPR, W as WebGDPR, F as id_ActivityDescription, G as ActivityDescription, H as id_TypeRelationship, T as TypeRelationship, J as id_DomainNameTechnicalOperator, K as DomainNameTechnicalOperator, L as id_DomainNameOwner, M as DomainNameOwner, O as id_DomainNameLegalRepresentative, P as DomainNameLegalRepresentative, Q as id_DomainNameBeneficiary, S as DomainNameBeneficiary, e as certificateRawToBuffer, X as AttributeCertificate, r as getCertificateThumbprint, p as hexFormat, q as base64Format, Y as CertificationRequest, N as Name, g as id_ecPublicKey, h as ECParameters, j as id_rsaEncryption, R as RSAPublicKey, Z as CertificateList } from './certification_request-8cc9d070.js';
5
5
  import { b as build, D as Download } from './download-67ac9120.js';
6
6
  import { d as dateDiff } from './l10n-a68d5748.js';
7
7
 
@@ -13,7 +13,7 @@ const patchEsm = () => {
13
13
  const defineCustomElements = (win, options) => {
14
14
  if (typeof window === 'undefined') return Promise.resolve();
15
15
  return patchEsm().then(() => {
16
- return bootstrapLazy([["peculiar-button_5",[[1,"peculiar-button-split",{"onClick":[16],"fill":[1],"actions":[16],"open":[32]}],[1,"peculiar-text-hider",{"opened":[1540]},[[0,"textExpand","textExpandHandler"]]],[1,"peculiar-link",{"href":[513],"type":[513]}],[1,"peculiar-typography",{"type":[513],"color":[1],"align":[1],"ellipsis":[4],"monospace":[4]}],[1,"peculiar-button",{"fill":[1],"disabled":[516],"href":[1],"target":[1],"onClick":[16]}]]],["peculiar-certificate-viewer",[[1,"peculiar-certificate-viewer",{"certificate":[513],"download":[516],"authKeyIdParentLink":[513,"auth-key-id-parent-link"],"authKeyIdSiblingsLink":[513,"auth-key-id-siblings-link"],"subjectKeyIdChildrenLink":[513,"subject-key-id-children-link"],"subjectKeyIdSiblingsLink":[513,"subject-key-id-siblings-link"],"issuerDnLink":[513,"issuer-dn-link"],"view":[513],"isDecodeInProcess":[32]}]]],["peculiar-certificate-decoder",[[1,"peculiar-certificate-decoder",{"certificateExample":[1,"certificate-example"],"defaultCertificate":[1,"default-certificate"],"certificateDecoded":[32]}]]],["peculiar-certificates-viewer",[[1,"peculiar-certificates-viewer",{"certificates":[16],"filterWithSearch":[4,"filter-with-search"],"highlightWithSearch":[4,"highlight-with-search"],"search":[32],"certificatesDecoded":[32],"expandedRow":[32],"certificateSelectedForDetails":[32],"isDecodeInProcess":[32]}]]],["peculiar-attribute-certificate-viewer_3",[[1,"peculiar-attribute-certificate-viewer",{"certificate":[1],"download":[4],"authKeyIdParentLink":[513,"auth-key-id-parent-link"],"authKeyIdSiblingsLink":[513,"auth-key-id-siblings-link"],"subjectKeyIdChildrenLink":[513,"subject-key-id-children-link"],"subjectKeyIdSiblingsLink":[513,"subject-key-id-siblings-link"],"isDecodeInProcess":[32]}],[1,"peculiar-crl-viewer",{"certificate":[513],"download":[4],"authKeyIdParentLink":[513,"auth-key-id-parent-link"],"authKeyIdSiblingsLink":[513,"auth-key-id-siblings-link"],"issuerDnLink":[513,"issuer-dn-link"],"view":[513],"isDecodeInProcess":[32]}],[1,"peculiar-csr-viewer",{"certificate":[513],"download":[4],"subjectKeyIdChildrenLink":[513,"subject-key-id-children-link"],"subjectKeyIdSiblingsLink":[513,"subject-key-id-siblings-link"],"view":[513],"isDecodeInProcess":[32]}]]],["peculiar-certificate-summary_3",[[1,"peculiar-certificate-summary",{"certificate":[16],"showIssuer":[4,"show-issuer"]}],[1,"peculiar-circular-progress",{"size":[2],"width":[2]}],[1,"peculiar-highlight-words",{"search":[1]}]]]], options);
16
+ return bootstrapLazy([["peculiar-certificates-viewer",[[1,"peculiar-certificates-viewer",{"certificates":[16],"filterWithSearch":[4,"filter-with-search"],"highlightWithSearch":[4,"highlight-with-search"],"search":[32],"certificatesDecoded":[32],"expandedRow":[32],"certificateSelectedForDetails":[32],"isDecodeInProcess":[32]}]]],["peculiar-certificate-decoder",[[1,"peculiar-certificate-decoder",{"certificateExample":[1,"certificate-example"],"defaultCertificate":[1,"default-certificate"],"certificateDecoded":[32]}]]],["peculiar-text-hider",[[1,"peculiar-text-hider",{"opened":[1540]},[[0,"textExpand","textExpandHandler"]]]]],["peculiar-link",[[1,"peculiar-link",{"href":[513],"type":[513]}]]],["peculiar-typography",[[1,"peculiar-typography",{"type":[513],"color":[1],"align":[1],"ellipsis":[4],"monospace":[4]}]]],["peculiar-certificate-viewer",[[1,"peculiar-certificate-viewer",{"certificate":[513],"download":[516],"authKeyIdParentLink":[513,"auth-key-id-parent-link"],"authKeyIdSiblingsLink":[513,"auth-key-id-siblings-link"],"subjectKeyIdChildrenLink":[513,"subject-key-id-children-link"],"subjectKeyIdSiblingsLink":[513,"subject-key-id-siblings-link"],"issuerDnLink":[513,"issuer-dn-link"],"view":[513],"isDecodeInProcess":[32]}]]],["peculiar-attribute-certificate-viewer_3",[[1,"peculiar-attribute-certificate-viewer",{"certificate":[1],"download":[4],"authKeyIdParentLink":[513,"auth-key-id-parent-link"],"authKeyIdSiblingsLink":[513,"auth-key-id-siblings-link"],"subjectKeyIdChildrenLink":[513,"subject-key-id-children-link"],"subjectKeyIdSiblingsLink":[513,"subject-key-id-siblings-link"],"isDecodeInProcess":[32]}],[1,"peculiar-crl-viewer",{"certificate":[513],"download":[4],"authKeyIdParentLink":[513,"auth-key-id-parent-link"],"authKeyIdSiblingsLink":[513,"auth-key-id-siblings-link"],"issuerDnLink":[513,"issuer-dn-link"],"view":[513],"isDecodeInProcess":[32]}],[1,"peculiar-csr-viewer",{"certificate":[513],"download":[4],"subjectKeyIdChildrenLink":[513,"subject-key-id-children-link"],"subjectKeyIdSiblingsLink":[513,"subject-key-id-siblings-link"],"view":[513],"isDecodeInProcess":[32]}]]],["peculiar-button",[[1,"peculiar-button",{"fill":[1],"disabled":[516],"href":[1],"target":[1],"onClick":[16]}]]],["peculiar-button-split_4",[[1,"peculiar-button-split",{"onClick":[16],"fill":[1],"actions":[16],"open":[32]}],[1,"peculiar-certificate-summary",{"certificate":[16],"showIssuer":[4,"show-issuer"]}],[1,"peculiar-circular-progress",{"size":[2],"width":[2]}],[1,"peculiar-highlight-words",{"search":[1]}]]]], options);
17
17
  });
18
18
  };
19
19
 
@@ -2,9 +2,9 @@
2
2
  * © Peculiar Ventures https://peculiarventures.com/ - MIT License
3
3
  */
4
4
  import { h } from './index-bbd484d9.js';
5
- import { b as build } from './download-67ac9120.js';
6
5
  import { l as l10n, a as dateShort } from './l10n-a68d5748.js';
7
- import { Q as OIDs, S as Name, _ as OtherName, p as AsnParser, $ as DisplayText, a0 as UserNotice, a1 as EDIPartyName, a2 as AsnIntegerArrayBufferConverter, a3 as KeyUsage, a4 as BasicConstraints, a5 as ExtendedKeyUsage, a6 as SubjectKeyIdentifier, a7 as AuthorityKeyIdentifier, a8 as CRLDistributionPoints, a9 as AuthorityInfoAccessSyntax, aa as SubjectInfoAccessSyntax, ab as SubjectAlternativeName, ac as CertificatePolicies, ad as CertificateTransparency, ae as NameConstraints, af as CertificateTemplate, ag as EnrollCertTypeChoice, ah as CaVersion, ai as QCStatements, aj as NetscapeComment, ak as NetscapeCertType, al as LeiRole, am as LeiChoice, an as Timestamp, ao as ArchiveRevInfo, X as CRLReason, ap as SubjectDirectoryAttributes, aq as PrivateKeyUsagePeriod, ar as EntrustVersionInfo, as as BiometricSyntax, at as LogotypeExtn, au as TNAuthorizationList, av as PolicyConstraints, aw as PolicyMappings, ax as CRLNumber, ay as IssuingDistributionPoint } from './certification_request-0ecd0af1.js';
6
+ import { b as build } from './download-67ac9120.js';
7
+ import { _ as OIDs, $ as Name, a3 as OtherName, u as AsnParser, a4 as DisplayText, a5 as UserNotice, a6 as EDIPartyName, a7 as AsnIntegerArrayBufferConverter, a8 as KeyUsage, a9 as BasicConstraints, aa as ExtendedKeyUsage, ab as SubjectKeyIdentifier, ac as AuthorityKeyIdentifier, ad as CRLDistributionPoints, ae as AuthorityInfoAccessSyntax, af as SubjectInfoAccessSyntax, ag as SubjectAlternativeName, ah as CertificatePolicies, ai as CertificateTransparency, aj as NameConstraints, ak as CertificateTemplate, al as EnrollCertTypeChoice, am as CaVersion, an as QCStatements, ao as NetscapeComment, ap as NetscapeCertType, aq as LeiRole, ar as LeiChoice, as as Timestamp, at as ArchiveRevInfo, a0 as CRLReason, au as SubjectDirectoryAttributes, av as PrivateKeyUsagePeriod, aw as EntrustVersionInfo, ax as BiometricSyntax, ay as LogotypeExtn, az as TNAuthorizationList, aA as PolicyConstraints, aB as PolicyMappings, aC as CRLNumber, aD as IssuingDistributionPoint } from './certification_request-8cc9d070.js';
8
8
 
9
9
  /**
10
10
  * @license
@@ -21,6 +21,17 @@ function getStringByOID(value) {
21
21
  return value;
22
22
  }
23
23
 
24
+ /**
25
+ * @license
26
+ * Copyright (c) Peculiar Ventures, LLC.
27
+ *
28
+ * This source code is licensed under the MIT license found in the
29
+ * LICENSE file in the root directory of this source tree.
30
+ */
31
+ const getLEILink = (lei) => `https://search.gleif.org/#/record/${lei}`;
32
+ const getDNSNameLink = (dnsName) => `https://search.censys.io/search?resource=hosts&q=dns.names%3A${dnsName}`;
33
+ const getIPAddressLink = (ipAddress) => `https://search.censys.io/search?resource=hosts&q=ip%3A${ipAddress}`;
34
+
24
35
  /**
25
36
  * @license
26
37
  * Copyright (c) Peculiar Ventures, LLC.
@@ -39,6 +50,9 @@ function isLink(value) {
39
50
  * This source code is licensed under the MIT license found in the
40
51
  * LICENSE file in the root directory of this source tree.
41
52
  */
53
+ const TableRowTable = (_, children) => (h("tr", null,
54
+ h("td", { colSpan: 2 },
55
+ h("table", null, children))));
42
56
  const RowTitle = (props) => {
43
57
  const { value } = props;
44
58
  if (!value) {
@@ -83,15 +97,67 @@ const RowValue = (props) => {
83
97
  * This source code is licensed under the MIT license found in the
84
98
  * LICENSE file in the root directory of this source tree.
85
99
  */
86
- const Signature = (props) => {
87
- const { signature } = props;
88
- if (!signature) {
100
+ const BasicInformation = (props) => {
101
+ const { serialNumber, version, validity, notBefore, notAfter, lastUpdate, nextUpdate, type, } = props;
102
+ return [
103
+ h(RowTitle, { value: l10n.getString('basicInformation') }),
104
+ h(RowValue, { name: l10n.getString('type'), value: type }),
105
+ h(RowValue, { name: l10n.getString('serialNumber'), value: serialNumber, monospace: true }),
106
+ h(RowValue, { name: l10n.getString('version'), value: version }),
107
+ h(RowValue, { name: l10n.getString('validity'), value: validity }),
108
+ h(RowValue, { name: l10n.getString('issued'), value: notBefore ? dateShort(notBefore) : undefined }),
109
+ h(RowValue, { name: l10n.getString('expired'), value: notAfter ? dateShort(notAfter) : undefined }),
110
+ h(RowValue, { name: l10n.getString('lastUpdate'), value: lastUpdate ? dateShort(lastUpdate) : undefined }),
111
+ h(RowValue, { name: l10n.getString('nextUpdate'), value: nextUpdate ? dateShort(nextUpdate) : undefined }),
112
+ ];
113
+ };
114
+
115
+ /**
116
+ * @license
117
+ * Copyright (c) Peculiar Ventures, LLC.
118
+ *
119
+ * This source code is licensed under the MIT license found in the
120
+ * LICENSE file in the root directory of this source tree.
121
+ */
122
+ function getPublicKeyModulus(publicKey) {
123
+ var _a;
124
+ if ((_a = publicKey.params) === null || _a === void 0 ? void 0 : _a['modulus']) {
125
+ let length = publicKey.params['modulus'].byteLength;
126
+ if (length % 2) {
127
+ length -= 1;
128
+ }
129
+ return length * 8;
130
+ }
131
+ return null;
132
+ }
133
+ function getPublicKeyExponent(publicKey) {
134
+ var _a;
135
+ if ((_a = publicKey.params) === null || _a === void 0 ? void 0 : _a['publicExponent']) {
136
+ return publicKey.params['publicExponent'].byteLength === 3
137
+ ? 65537
138
+ : 3;
139
+ }
140
+ return null;
141
+ }
142
+ const PublicKey = (props) => {
143
+ const { publicKey } = props;
144
+ if (!publicKey) {
89
145
  return null;
90
146
  }
147
+ function renderKeyDetails(key) {
148
+ var _a;
149
+ return [
150
+ h(RowValue, { name: l10n.getString('algorithm'), value: getStringByOID(key.algorithm) }),
151
+ h(RowValue, { name: l10n.getString('namedCurve'), value: getStringByOID((_a = key.params) === null || _a === void 0 ? void 0 : _a['namedCurve']) }),
152
+ h(RowValue, { name: l10n.getString('exponent'), value: getPublicKeyExponent(key) }),
153
+ h(RowValue, { name: l10n.getString('modulus'), value: getPublicKeyModulus(key) }),
154
+ h(RowValue, { name: l10n.getString('value'), value: build.Convert.ToHex(key.value), monospace: true, collapse: true }),
155
+ ];
156
+ }
91
157
  return [
92
- h(RowTitle, { value: l10n.getString('signature') }),
93
- h(RowValue, { name: l10n.getString('algorithm'), value: getStringByOID(signature.algorithm) }),
94
- h(RowValue, { name: l10n.getString('value'), value: build.Convert.ToHex(signature.value), monospace: true, collapse: true }),
158
+ h(RowTitle, { value: l10n.getString('publicKeyInfo') }),
159
+ renderKeyDetails(publicKey),
160
+ (Array.isArray(publicKey.params) && publicKey.params.length && publicKey.params.map((param) => (h(TableRowTable, null, renderKeyDetails(param))))),
95
161
  ];
96
162
  };
97
163
 
@@ -102,63 +168,53 @@ const Signature = (props) => {
102
168
  * This source code is licensed under the MIT license found in the
103
169
  * LICENSE file in the root directory of this source tree.
104
170
  */
105
- const names = {
106
- otherName: 'Other Name',
107
- rfc822Name: 'RFC 822 Name',
108
- dNSName: 'DNS Name',
109
- x400Address: 'X400 Address',
110
- directoryName: 'Directory Name',
111
- ediPartyName: 'Edi Party Name ',
112
- uniformResourceIdentifier: 'URI',
113
- iPAddress: 'IP Address',
114
- registeredID: 'Registered ID',
171
+ const SubjectName = (props) => {
172
+ const { name } = props;
173
+ return [
174
+ h(RowTitle, { value: l10n.getString('subjectName') }),
175
+ name.map((n) => (h(RowValue, { name: n.name || n.type, value: n.value }))),
176
+ ];
115
177
  };
116
- const GeneralNamePart = (props) => {
117
- const { generalName, getDNSNameLink, getIPAddressLink } = props;
118
- if (!generalName) {
178
+
179
+ /**
180
+ * @license
181
+ * Copyright (c) Peculiar Ventures, LLC.
182
+ *
183
+ * This source code is licensed under the MIT license found in the
184
+ * LICENSE file in the root directory of this source tree.
185
+ */
186
+ const IssuerName = (props) => {
187
+ const { name, issuerDnLink } = props;
188
+ const title = l10n.getString('issuerName');
189
+ return [
190
+ h(RowTitle, { value: issuerDnLink ? (h("peculiar-link", { href: issuerDnLink, type: "h6" }, title)) : title }),
191
+ name.map((n) => (h(RowValue, { name: n.name || n.type, value: n.value }))),
192
+ ];
193
+ };
194
+
195
+ /**
196
+ * @license
197
+ * Copyright (c) Peculiar Ventures, LLC.
198
+ *
199
+ * This source code is licensed under the MIT license found in the
200
+ * LICENSE file in the root directory of this source tree.
201
+ */
202
+ const Signature = (props) => {
203
+ const { signature } = props;
204
+ if (!signature) {
119
205
  return null;
120
206
  }
121
- return Object.keys(generalName).map((name) => {
122
- const value = generalName[name];
123
- if (value instanceof Name) {
124
- return [
125
- h(RowValue, { name: names[name] || name, value: "" }),
126
- value.map((relativeDistinguishedName) => (relativeDistinguishedName.map((attributeTypeAndValue) => (h(RowValue, { name: OIDs[attributeTypeAndValue.type] || attributeTypeAndValue.type, value: attributeTypeAndValue.value.toString() }))))),
127
- ];
128
- }
129
- if (value instanceof OtherName) {
130
- try {
131
- const text = AsnParser.parse(value.value, DisplayText);
132
- return (h(RowValue, { name: OIDs[value.typeId] || value.typeId, value: text.toString() }));
133
- }
134
- catch (error) {
135
- //
136
- }
137
- try {
138
- const text = AsnParser.parse(value.value, UserNotice);
139
- if (text.explicitText) {
140
- return (h(RowValue, { name: OIDs[value.typeId] || value.typeId, value: text.explicitText.toString() }));
141
- }
142
- }
143
- catch (error) {
144
- //
145
- }
146
- return (h(RowValue, { name: OIDs[value.typeId] || value.typeId, value: build.Convert.ToHex(value.value), monospace: true }));
147
- }
148
- if (build.BufferSourceConverter.isBufferSource(value)) {
149
- return (h(RowValue, { name: names[name] || name, value: build.Convert.ToString(value) }));
150
- }
151
- if (value instanceof EDIPartyName) {
152
- return (h(RowValue, { name: names[name] || name, value: build.Convert.ToString(value.partyName) }));
153
- }
154
- if (name === 'dNSName') {
155
- return (h(RowValue, { name: names[name] || name, value: value, href: getDNSNameLink(value) }));
156
- }
157
- if (name === 'iPAddress') {
158
- return (h(RowValue, { name: names[name] || name, value: value, href: getIPAddressLink(value) }));
159
- }
160
- return (h(RowValue, { name: names[name] || name, value: value }));
161
- });
207
+ function renderSignatureDetails(data) {
208
+ return [
209
+ h(RowValue, { name: l10n.getString('algorithm'), value: getStringByOID(data.algorithm) }),
210
+ h(RowValue, { name: l10n.getString('value'), value: build.Convert.ToHex(data.value), monospace: true, collapse: true }),
211
+ ];
212
+ }
213
+ return [
214
+ h(RowTitle, { value: l10n.getString('signature') }),
215
+ renderSignatureDetails(signature),
216
+ (signature.params && signature.params.length && signature.params.map((param) => (h(TableRowTable, null, renderSignatureDetails(param))))),
217
+ ];
162
218
  };
163
219
 
164
220
  /**
@@ -291,6 +347,72 @@ const AuthorityKeyIdentifierExtension = (props) => {
291
347
  ] })));
292
348
  };
293
349
 
350
+ /**
351
+ * @license
352
+ * Copyright (c) Peculiar Ventures, LLC.
353
+ *
354
+ * This source code is licensed under the MIT license found in the
355
+ * LICENSE file in the root directory of this source tree.
356
+ */
357
+ const names = {
358
+ otherName: 'Other Name',
359
+ rfc822Name: 'RFC 822 Name',
360
+ dNSName: 'DNS Name',
361
+ x400Address: 'X400 Address',
362
+ directoryName: 'Directory Name',
363
+ ediPartyName: 'Edi Party Name ',
364
+ uniformResourceIdentifier: 'URI',
365
+ iPAddress: 'IP Address',
366
+ registeredID: 'Registered ID',
367
+ };
368
+ const GeneralNamePart = (props) => {
369
+ const { generalName, getDNSNameLink, getIPAddressLink } = props;
370
+ if (!generalName) {
371
+ return null;
372
+ }
373
+ return Object.keys(generalName).map((name) => {
374
+ const value = generalName[name];
375
+ if (value instanceof Name) {
376
+ return [
377
+ h(RowValue, { name: names[name] || name, value: "" }),
378
+ value.map((relativeDistinguishedName) => (relativeDistinguishedName.map((attributeTypeAndValue) => (h(RowValue, { name: OIDs[attributeTypeAndValue.type] || attributeTypeAndValue.type, value: attributeTypeAndValue.value.toString() }))))),
379
+ ];
380
+ }
381
+ if (value instanceof OtherName) {
382
+ try {
383
+ const text = AsnParser.parse(value.value, DisplayText);
384
+ return (h(RowValue, { name: OIDs[value.typeId] || value.typeId, value: text.toString() }));
385
+ }
386
+ catch (error) {
387
+ //
388
+ }
389
+ try {
390
+ const text = AsnParser.parse(value.value, UserNotice);
391
+ if (text.explicitText) {
392
+ return (h(RowValue, { name: OIDs[value.typeId] || value.typeId, value: text.explicitText.toString() }));
393
+ }
394
+ }
395
+ catch (error) {
396
+ //
397
+ }
398
+ return (h(RowValue, { name: OIDs[value.typeId] || value.typeId, value: build.Convert.ToHex(value.value), monospace: true }));
399
+ }
400
+ if (build.BufferSourceConverter.isBufferSource(value)) {
401
+ return (h(RowValue, { name: names[name] || name, value: build.Convert.ToString(value) }));
402
+ }
403
+ if (value instanceof EDIPartyName) {
404
+ return (h(RowValue, { name: names[name] || name, value: value.partyName.toString() }));
405
+ }
406
+ if (name === 'dNSName') {
407
+ return (h(RowValue, { name: names[name] || name, value: value, href: getDNSNameLink(value) }));
408
+ }
409
+ if (name === 'iPAddress') {
410
+ return (h(RowValue, { name: names[name] || name, value: value, href: getIPAddressLink(value) }));
411
+ }
412
+ return (h(RowValue, { name: names[name] || name, value: value }));
413
+ });
414
+ };
415
+
294
416
  /**
295
417
  * @license
296
418
  * Copyright (c) Peculiar Ventures, LLC.
@@ -994,28 +1116,6 @@ const Extensions = (props) => {
994
1116
  ]);
995
1117
  };
996
1118
 
997
- /**
998
- * @license
999
- * Copyright (c) Peculiar Ventures, LLC.
1000
- *
1001
- * This source code is licensed under the MIT license found in the
1002
- * LICENSE file in the root directory of this source tree.
1003
- */
1004
- const BasicInformation = (props) => {
1005
- const { serialNumber, version, validity, notBefore, notAfter, lastUpdate, nextUpdate, type, } = props;
1006
- return [
1007
- h(RowTitle, { value: l10n.getString('basicInformation') }),
1008
- h(RowValue, { name: l10n.getString('type'), value: type }),
1009
- h(RowValue, { name: l10n.getString('serialNumber'), value: serialNumber, monospace: true }),
1010
- h(RowValue, { name: l10n.getString('version'), value: version }),
1011
- h(RowValue, { name: l10n.getString('validity'), value: validity }),
1012
- h(RowValue, { name: l10n.getString('issued'), value: notBefore ? dateShort(notBefore) : undefined }),
1013
- h(RowValue, { name: l10n.getString('expired'), value: notAfter ? dateShort(notAfter) : undefined }),
1014
- h(RowValue, { name: l10n.getString('lastUpdate'), value: lastUpdate ? dateShort(lastUpdate) : undefined }),
1015
- h(RowValue, { name: l10n.getString('nextUpdate'), value: nextUpdate ? dateShort(nextUpdate) : undefined }),
1016
- ];
1017
- };
1018
-
1019
1119
  /**
1020
1120
  * @license
1021
1121
  * Copyright (c) Peculiar Ventures, LLC.
@@ -1040,89 +1140,4 @@ const Miscellaneous = (props) => {
1040
1140
  ];
1041
1141
  };
1042
1142
 
1043
- /**
1044
- * @license
1045
- * Copyright (c) Peculiar Ventures, LLC.
1046
- *
1047
- * This source code is licensed under the MIT license found in the
1048
- * LICENSE file in the root directory of this source tree.
1049
- */
1050
- const getLEILink = (lei) => `https://search.gleif.org/#/record/${lei}`;
1051
- const getDNSNameLink = (dnsName) => `https://search.censys.io/search?resource=hosts&q=dns.names%3A${dnsName}`;
1052
- const getIPAddressLink = (ipAddress) => `https://search.censys.io/search?resource=hosts&q=ip%3A${ipAddress}`;
1053
-
1054
- /**
1055
- * @license
1056
- * Copyright (c) Peculiar Ventures, LLC.
1057
- *
1058
- * This source code is licensed under the MIT license found in the
1059
- * LICENSE file in the root directory of this source tree.
1060
- */
1061
- const IssuerName = (props) => {
1062
- const { name, issuerDnLink } = props;
1063
- const title = l10n.getString('issuerName');
1064
- return [
1065
- h(RowTitle, { value: issuerDnLink ? (h("peculiar-link", { href: issuerDnLink, type: "h6" }, title)) : title }),
1066
- name.map((n) => (h(RowValue, { name: n.name || n.type, value: n.value }))),
1067
- ];
1068
- };
1069
-
1070
- /**
1071
- * @license
1072
- * Copyright (c) Peculiar Ventures, LLC.
1073
- *
1074
- * This source code is licensed under the MIT license found in the
1075
- * LICENSE file in the root directory of this source tree.
1076
- */
1077
- const SubjectName = (props) => {
1078
- const { name } = props;
1079
- return [
1080
- h(RowTitle, { value: l10n.getString('subjectName') }),
1081
- name.map((n) => (h(RowValue, { name: n.name || n.type, value: n.value }))),
1082
- ];
1083
- };
1084
-
1085
- /**
1086
- * @license
1087
- * Copyright (c) Peculiar Ventures, LLC.
1088
- *
1089
- * This source code is licensed under the MIT license found in the
1090
- * LICENSE file in the root directory of this source tree.
1091
- */
1092
- function getPublicKeyModulus(publicKey) {
1093
- var _a;
1094
- if ((_a = publicKey.params) === null || _a === void 0 ? void 0 : _a['modulus']) {
1095
- let length = publicKey.params['modulus'].byteLength;
1096
- if (length % 2) {
1097
- length -= 1;
1098
- }
1099
- return length * 8;
1100
- }
1101
- return null;
1102
- }
1103
- function getPublicKeyExponent(publicKey) {
1104
- var _a;
1105
- if ((_a = publicKey.params) === null || _a === void 0 ? void 0 : _a['publicExponent']) {
1106
- return publicKey.params['publicExponent'].byteLength === 3
1107
- ? 65537
1108
- : 3;
1109
- }
1110
- return null;
1111
- }
1112
- const PublicKey = (props) => {
1113
- var _a;
1114
- const { publicKey } = props;
1115
- if (!publicKey) {
1116
- return null;
1117
- }
1118
- return [
1119
- h(RowTitle, { value: l10n.getString('publicKeyInfo') }),
1120
- h(RowValue, { name: l10n.getString('algorithm'), value: getStringByOID(publicKey.algorithm) }),
1121
- h(RowValue, { name: l10n.getString('namedCurve'), value: getStringByOID((_a = publicKey.params) === null || _a === void 0 ? void 0 : _a['namedCurve']) }),
1122
- h(RowValue, { name: l10n.getString('exponent'), value: getPublicKeyExponent(publicKey) }),
1123
- h(RowValue, { name: l10n.getString('modulus'), value: getPublicKeyModulus(publicKey) }),
1124
- h(RowValue, { name: l10n.getString('value'), value: build.Convert.ToHex(publicKey.value), monospace: true, collapse: true }),
1125
- ];
1126
- };
1127
-
1128
- export { BasicInformation as B, Extensions as E, GeneralNamePart as G, IssuerName as I, Miscellaneous as M, PublicKey as P, RowValue as R, Signature as S, Thumbprints as T, RowTitle as a, getLEILink as b, getDNSNameLink as c, getIPAddressLink as d, SubjectName as e, getStringByOID as g };
1143
+ export { BasicInformation as B, Extensions as E, GeneralNamePart as G, IssuerName as I, Miscellaneous as M, PublicKey as P, RowValue as R, Signature as S, TableRowTable as T, RowTitle as a, Thumbprints as b, getLEILink as c, getDNSNameLink as d, getIPAddressLink as e, SubjectName as f, getStringByOID as g };
@@ -2,11 +2,11 @@
2
2
  * © Peculiar Ventures https://peculiarventures.com/ - MIT License
3
3
  */
4
4
  import { h, r as registerInstance, H as Host } from './index-bbd484d9.js';
5
- import { Q as OIDs, S as Name, y as ActivityDescription, W as WebGDPR, I as InsuranceValue, T as TypeRelationship, V as ValuationRanking, U as UnstructuredName, t as ChallengePassword, X as CRLReason, Y as InvalidityDate, Z as CertificateIssuer } from './certification_request-0ecd0af1.js';
5
+ import { _ as OIDs, $ as Name, G as ActivityDescription, W as WebGDPR, I as InsuranceValue, T as TypeRelationship, V as ValuationRanking, U as UnstructuredName, y as ChallengePassword, a0 as CRLReason, a1 as InvalidityDate, a2 as CertificateIssuer } from './certification_request-8cc9d070.js';
6
6
  import { b as build } from './download-67ac9120.js';
7
7
  import { l as l10n, a as dateShort } from './l10n-a68d5748.js';
8
- import { X as X509AttributeCertificate, a as CRL, C as CSR } from './crl-c09357a9.js';
9
- import { g as getStringByOID, R as RowValue, G as GeneralNamePart, a as RowTitle, B as BasicInformation, S as Signature, T as Thumbprints, b as getLEILink, c as getDNSNameLink, d as getIPAddressLink, E as Extensions, M as Miscellaneous, I as IssuerName, e as SubjectName, P as PublicKey } from './public_key-e6d12f27.js';
8
+ import { X as X509AttributeCertificate, a as CRL, C as CSR } from './crl-f43a95b7.js';
9
+ import { g as getStringByOID, R as RowValue, G as GeneralNamePart, a as RowTitle, T as TableRowTable, B as BasicInformation, S as Signature, b as Thumbprints, c as getLEILink, d as getDNSNameLink, e as getIPAddressLink, E as Extensions, M as Miscellaneous, I as IssuerName, f as SubjectName, P as PublicKey } from './miscellaneous-b74d9eae.js';
10
10
 
11
11
  /**
12
12
  * @license
@@ -244,14 +244,39 @@ const Attributes = (props) => {
244
244
  * This source code is licensed under the MIT license found in the
245
245
  * LICENSE file in the root directory of this source tree.
246
246
  */
247
- const Issuer = (props) => {
248
- const { issuer } = props;
249
- if (!issuer) {
247
+ const RevokedCertificates = (props) => {
248
+ const { revokedCertificates, getDNSNameLink, getIPAddressLink, } = props;
249
+ if (!revokedCertificates || !revokedCertificates.length) {
250
250
  return null;
251
251
  }
252
252
  return [
253
- h(RowTitle, { value: l10n.getString('issuer') }),
254
- issuer.map((item) => (h(GeneralNamePart, { generalName: item, getDNSNameLink: () => '', getIPAddressLink: () => '' }))),
253
+ h(RowTitle, { value: l10n.getString('revokedCertificates') }),
254
+ revokedCertificates.map((certificate) => ([
255
+ h(RowValue, { name: l10n.getString('serialNumber'), value: build.Convert.ToHex(certificate.userCertificate), monospace: true }),
256
+ h(RowValue, { name: l10n.getString('revocationDate'), value: dateShort(certificate.revocationDate.getTime()) }),
257
+ (certificate.crlEntryExtensions && certificate.crlEntryExtensions.length && ([
258
+ h(RowValue, { name: `${l10n.getString('crlEntryExtensions')}:`, value: "" }),
259
+ h(TableRowTable, null, certificate.crlEntryExtensions.map((extension) => {
260
+ if (extension.value instanceof CRLReason) {
261
+ return (h(RowValue, { name: getStringByOID(extension.asn.extnID), value: extension.value.toJSON() || extension.value.reason }));
262
+ }
263
+ if (extension.value instanceof InvalidityDate) {
264
+ return (h(RowValue, { name: getStringByOID(extension.asn.extnID), value: extension.value.value.getTime() }));
265
+ }
266
+ if (extension.value instanceof CertificateIssuer && extension.value.length) {
267
+ return ([
268
+ h(RowValue, { name: `${getStringByOID(extension.asn.extnID)}:`, value: "" }),
269
+ extension.value.map((gn) => (h(TableRowTable, null,
270
+ h(GeneralNamePart, { generalName: gn, getDNSNameLink: getDNSNameLink, getIPAddressLink: getIPAddressLink })))),
271
+ ]);
272
+ }
273
+ return (h(RowValue, { name: getStringByOID(extension.asn.extnID), value: build.Convert.ToHex(extension.asn.extnValue), monospace: true }));
274
+ })),
275
+ ])),
276
+ h("tr", null,
277
+ h("td", { colSpan: 2, class: "divider" },
278
+ h("span", { class: "bg_fill" }))),
279
+ ])),
255
280
  ];
256
281
  };
257
282
 
@@ -289,7 +314,25 @@ const Holder = (props) => {
289
314
  ];
290
315
  };
291
316
 
292
- const certificateViewerCss$2 = ":host{-webkit-box-sizing:border-box;box-sizing:border-box}:host *,:host *:before,:host *:after{-webkit-box-sizing:inherit;box-sizing:inherit}:host{display:block;width:100%;word-wrap:break-word;position:relative;min-width:280px;min-height:300px;background:white;background:rgba(var(--pv-color-light-rgb), 1)}th,td{border:none}table{width:100%;margin-bottom:30px;border-spacing:0;border-collapse:collapse}table .title td{border-color:rgba(209, 213, 217, 0.5);border-color:rgba(var(--pv-color-grey_3-rgb), 0.5);padding-top:60px;padding-bottom:15px;border-bottom-width:1px;border-bottom-style:solid}table td:first-child{padding-left:30px;width:130px;padding-right:10px}table td:last-child{padding-right:30px;width:calc(100% - 130px)}table td{vertical-align:top;padding-top:5px;padding-bottom:5px}table td.vertical_align_middle{vertical-align:middle}table .title:first-child td{padding-top:15px}table .title+tr td{padding-top:15px}table td.monospace{max-width:0}table .divider{padding-top:15px;padding-bottom:15px}.divider .bg_fill{background-color:rgba(209, 213, 217, 0.5);background-color:rgba(var(--pv-color-grey_3-rgb), 0.5)}table tr:last-child .divider{padding-top:0;opacity:0}.divider span{display:block;height:1px}.status_wrapper{min-height:inherit;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.interaction_text{padding:15px 0;width:300px;margin:auto;text-align:center}@media (max-width: 900px){table,tr,td{display:block}table td:last-child,table td:first-child{padding-right:15px;padding-left:15px;width:100%}table .title+tr td{padding-top:5px}table .title+tr td:first-child{padding-top:15px}table td.monospace{width:100%;max-width:none}}:host([data-view=mobile]) table,:host([data-view=mobile]) tr,:host([data-view=mobile]) td{display:block}:host([data-view=mobile]) table td:last-child,:host([data-view=mobile]) table td:first-child{padding-right:15px;padding-left:15px;width:100%}:host([data-view=mobile]) table .title+tr td{padding-top:5px}:host([data-view=mobile]) table .title+tr td:first-child{padding-top:15px}:host([data-view=mobile]) table td.monospace{width:100%;max-width:none}";
317
+ /**
318
+ * @license
319
+ * Copyright (c) Peculiar Ventures, LLC.
320
+ *
321
+ * This source code is licensed under the MIT license found in the
322
+ * LICENSE file in the root directory of this source tree.
323
+ */
324
+ const Issuer = (props) => {
325
+ const { issuer } = props;
326
+ if (!issuer) {
327
+ return null;
328
+ }
329
+ return [
330
+ h(RowTitle, { value: l10n.getString('issuer') }),
331
+ issuer.map((item) => (h(GeneralNamePart, { generalName: item, getDNSNameLink: () => '', getIPAddressLink: () => '' }))),
332
+ ];
333
+ };
334
+
335
+ const certificateViewerCss$2 = ":host{-webkit-box-sizing:border-box;box-sizing:border-box}:host *,:host *:before,:host *:after{-webkit-box-sizing:inherit;box-sizing:inherit}:host{display:block;width:100%;word-wrap:break-word;position:relative;min-width:280px;min-height:300px;background:white;background:rgba(var(--pv-color-light-rgb), 1)}th,td{border:none}table{width:100%;margin-bottom:30px;border-spacing:0;border-collapse:collapse}table table{margin-bottom:0}table .title td{border-color:rgba(209, 213, 217, 0.5);border-color:rgba(var(--pv-color-grey_3-rgb), 0.5);padding-top:60px;padding-bottom:15px;border-bottom-width:1px;border-bottom-style:solid}table td:first-child{padding-left:30px;width:130px;padding-right:10px}table td:last-child{padding-right:30px;width:calc(100% - 130px)}table td{vertical-align:top;padding-top:5px;padding-bottom:5px}table td.vertical_align_middle{vertical-align:middle}table .title:first-child td{padding-top:15px}table .title+tr td{padding-top:15px}table td.monospace{max-width:0}table .divider{padding-top:15px;padding-bottom:15px}.divider .bg_fill{background-color:rgba(209, 213, 217, 0.5);background-color:rgba(var(--pv-color-grey_3-rgb), 0.5)}table tr:last-child .divider{padding-top:0;opacity:0}.divider span{display:block;height:1px}.status_wrapper{min-height:inherit;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.interaction_text{padding:15px 0;width:300px;margin:auto;text-align:center}@media (max-width: 900px){table,tr,td{display:block}table td:last-child,table td:first-child{padding-right:15px;padding-left:15px;width:100%}table .title+tr td{padding-top:5px}table .title+tr td:first-child{padding-top:15px}table td.monospace{width:100%;max-width:none}}:host([data-view=mobile]) table,:host([data-view=mobile]) tr,:host([data-view=mobile]) td{display:block}:host([data-view=mobile]) table td:last-child,:host([data-view=mobile]) table td:first-child{padding-right:15px;padding-left:15px;width:100%}:host([data-view=mobile]) table .title+tr td{padding-top:5px}:host([data-view=mobile]) table .title+tr td:first-child{padding-top:15px}:host([data-view=mobile]) table td.monospace{width:100%;max-width:none}";
293
336
 
294
337
  const AttributeCertificateViewer = class {
295
338
  constructor(hostRef) {
@@ -378,53 +421,7 @@ const AttributeCertificateViewer = class {
378
421
  };
379
422
  AttributeCertificateViewer.style = certificateViewerCss$2;
380
423
 
381
- /**
382
- * @license
383
- * Copyright (c) Peculiar Ventures, LLC.
384
- *
385
- * This source code is licensed under the MIT license found in the
386
- * LICENSE file in the root directory of this source tree.
387
- */
388
- const TableRowTable = (_, children) => (h("tr", null,
389
- h("td", { colSpan: 2 },
390
- h("table", null, children))));
391
- const RevokedCertificates = (props) => {
392
- const { revokedCertificates, getDNSNameLink, getIPAddressLink, } = props;
393
- if (!revokedCertificates || !revokedCertificates.length) {
394
- return null;
395
- }
396
- return [
397
- h(RowTitle, { value: l10n.getString('revokedCertificates') }),
398
- revokedCertificates.map((certificate) => ([
399
- h(RowValue, { name: l10n.getString('serialNumber'), value: build.Convert.ToHex(certificate.userCertificate), monospace: true }),
400
- h(RowValue, { name: l10n.getString('revocationDate'), value: dateShort(certificate.revocationDate.getTime()) }),
401
- (certificate.crlEntryExtensions && certificate.crlEntryExtensions.length && ([
402
- h(RowValue, { name: `${l10n.getString('crlEntryExtensions')}:`, value: "" }),
403
- h(TableRowTable, null, certificate.crlEntryExtensions.map((extension) => {
404
- if (extension.value instanceof CRLReason) {
405
- return (h(RowValue, { name: getStringByOID(extension.asn.extnID), value: extension.value.toJSON() || extension.value.reason }));
406
- }
407
- if (extension.value instanceof InvalidityDate) {
408
- return (h(RowValue, { name: getStringByOID(extension.asn.extnID), value: extension.value.value.getTime() }));
409
- }
410
- if (extension.value instanceof CertificateIssuer && extension.value.length) {
411
- return ([
412
- h(RowValue, { name: `${getStringByOID(extension.asn.extnID)}:`, value: "" }),
413
- extension.value.map((gn) => (h(TableRowTable, null,
414
- h(GeneralNamePart, { generalName: gn, getDNSNameLink: getDNSNameLink, getIPAddressLink: getIPAddressLink })))),
415
- ]);
416
- }
417
- return (h(RowValue, { name: getStringByOID(extension.asn.extnID), value: build.Convert.ToHex(extension.asn.extnValue), monospace: true }));
418
- })),
419
- ])),
420
- h("tr", null,
421
- h("td", { colSpan: 2, class: "divider" },
422
- h("span", { class: "bg_fill" }))),
423
- ])),
424
- ];
425
- };
426
-
427
- const certificateViewerCss$1 = ":host{-webkit-box-sizing:border-box;box-sizing:border-box}:host *,:host *:before,:host *:after{-webkit-box-sizing:inherit;box-sizing:inherit}:host{display:block;width:100%;word-wrap:break-word;position:relative;min-width:280px;min-height:300px;background:white;background:rgba(var(--pv-color-light-rgb), 1)}th,td{border:none}table{width:100%;margin-bottom:30px;border-spacing:0;border-collapse:collapse}table .title td{border-color:rgba(209, 213, 217, 0.5);border-color:rgba(var(--pv-color-grey_3-rgb), 0.5);padding-top:60px;padding-bottom:15px;border-bottom-width:1px;border-bottom-style:solid}table td:first-child{padding-left:30px;width:130px;padding-right:10px}table td:last-child{padding-right:30px;width:calc(100% - 130px)}table td{vertical-align:top;padding-top:5px;padding-bottom:5px}table td.vertical_align_middle{vertical-align:middle}table .title:first-child td{padding-top:15px}table .title+tr td{padding-top:15px}table td.monospace{max-width:0}table .divider{padding-top:15px;padding-bottom:15px}.divider .bg_fill{background-color:rgba(209, 213, 217, 0.5);background-color:rgba(var(--pv-color-grey_3-rgb), 0.5)}table tr:last-child .divider{padding-top:0;opacity:0}.divider span{display:block;height:1px}.status_wrapper{min-height:inherit;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.interaction_text{padding:15px 0;width:300px;margin:auto;text-align:center}@media (max-width: 900px){table,tr,td{display:block}table td:last-child,table td:first-child{padding-right:15px;padding-left:15px;width:100%}table .title+tr td{padding-top:5px}table .title+tr td:first-child{padding-top:15px}table td.monospace{width:100%;max-width:none}}:host([data-view=mobile]) table,:host([data-view=mobile]) tr,:host([data-view=mobile]) td{display:block}:host([data-view=mobile]) table td:last-child,:host([data-view=mobile]) table td:first-child{padding-right:15px;padding-left:15px;width:100%}:host([data-view=mobile]) table .title+tr td{padding-top:5px}:host([data-view=mobile]) table .title+tr td:first-child{padding-top:15px}:host([data-view=mobile]) table td.monospace{width:100%;max-width:none}";
424
+ const certificateViewerCss$1 = ":host{-webkit-box-sizing:border-box;box-sizing:border-box}:host *,:host *:before,:host *:after{-webkit-box-sizing:inherit;box-sizing:inherit}:host{display:block;width:100%;word-wrap:break-word;position:relative;min-width:280px;min-height:300px;background:white;background:rgba(var(--pv-color-light-rgb), 1)}th,td{border:none}table{width:100%;margin-bottom:30px;border-spacing:0;border-collapse:collapse}table table{margin-bottom:0}table .title td{border-color:rgba(209, 213, 217, 0.5);border-color:rgba(var(--pv-color-grey_3-rgb), 0.5);padding-top:60px;padding-bottom:15px;border-bottom-width:1px;border-bottom-style:solid}table td:first-child{padding-left:30px;width:130px;padding-right:10px}table td:last-child{padding-right:30px;width:calc(100% - 130px)}table td{vertical-align:top;padding-top:5px;padding-bottom:5px}table td.vertical_align_middle{vertical-align:middle}table .title:first-child td{padding-top:15px}table .title+tr td{padding-top:15px}table td.monospace{max-width:0}table .divider{padding-top:15px;padding-bottom:15px}.divider .bg_fill{background-color:rgba(209, 213, 217, 0.5);background-color:rgba(var(--pv-color-grey_3-rgb), 0.5)}table tr:last-child .divider{padding-top:0;opacity:0}.divider span{display:block;height:1px}.status_wrapper{min-height:inherit;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.interaction_text{padding:15px 0;width:300px;margin:auto;text-align:center}@media (max-width: 900px){table,tr,td{display:block}table td:last-child,table td:first-child{padding-right:15px;padding-left:15px;width:100%}table .title+tr td{padding-top:5px}table .title+tr td:first-child{padding-top:15px}table td.monospace{width:100%;max-width:none}}:host([data-view=mobile]) table,:host([data-view=mobile]) tr,:host([data-view=mobile]) td{display:block}:host([data-view=mobile]) table td:last-child,:host([data-view=mobile]) table td:first-child{padding-right:15px;padding-left:15px;width:100%}:host([data-view=mobile]) table .title+tr td{padding-top:5px}:host([data-view=mobile]) table .title+tr td:first-child{padding-top:15px}:host([data-view=mobile]) table td.monospace{width:100%;max-width:none}";
428
425
 
429
426
  const CrlViewer = class {
430
427
  constructor(hostRef) {
@@ -507,7 +504,7 @@ const CrlViewer = class {
507
504
  };
508
505
  CrlViewer.style = certificateViewerCss$1;
509
506
 
510
- const certificateViewerCss = ":host{-webkit-box-sizing:border-box;box-sizing:border-box}:host *,:host *:before,:host *:after{-webkit-box-sizing:inherit;box-sizing:inherit}:host{display:block;width:100%;word-wrap:break-word;position:relative;min-width:280px;min-height:300px;background:white;background:rgba(var(--pv-color-light-rgb), 1)}th,td{border:none}table{width:100%;margin-bottom:30px;border-spacing:0;border-collapse:collapse}table .title td{border-color:rgba(209, 213, 217, 0.5);border-color:rgba(var(--pv-color-grey_3-rgb), 0.5);padding-top:60px;padding-bottom:15px;border-bottom-width:1px;border-bottom-style:solid}table td:first-child{padding-left:30px;width:130px;padding-right:10px}table td:last-child{padding-right:30px;width:calc(100% - 130px)}table td{vertical-align:top;padding-top:5px;padding-bottom:5px}table td.vertical_align_middle{vertical-align:middle}table .title:first-child td{padding-top:15px}table .title+tr td{padding-top:15px}table td.monospace{max-width:0}table .divider{padding-top:15px;padding-bottom:15px}.divider .bg_fill{background-color:rgba(209, 213, 217, 0.5);background-color:rgba(var(--pv-color-grey_3-rgb), 0.5)}table tr:last-child .divider{padding-top:0;opacity:0}.divider span{display:block;height:1px}.status_wrapper{min-height:inherit;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.interaction_text{padding:15px 0;width:300px;margin:auto;text-align:center}@media (max-width: 900px){table,tr,td{display:block}table td:last-child,table td:first-child{padding-right:15px;padding-left:15px;width:100%}table .title+tr td{padding-top:5px}table .title+tr td:first-child{padding-top:15px}table td.monospace{width:100%;max-width:none}}:host([data-view=mobile]) table,:host([data-view=mobile]) tr,:host([data-view=mobile]) td{display:block}:host([data-view=mobile]) table td:last-child,:host([data-view=mobile]) table td:first-child{padding-right:15px;padding-left:15px;width:100%}:host([data-view=mobile]) table .title+tr td{padding-top:5px}:host([data-view=mobile]) table .title+tr td:first-child{padding-top:15px}:host([data-view=mobile]) table td.monospace{width:100%;max-width:none}";
507
+ const certificateViewerCss = ":host{-webkit-box-sizing:border-box;box-sizing:border-box}:host *,:host *:before,:host *:after{-webkit-box-sizing:inherit;box-sizing:inherit}:host{display:block;width:100%;word-wrap:break-word;position:relative;min-width:280px;min-height:300px;background:white;background:rgba(var(--pv-color-light-rgb), 1)}th,td{border:none}table{width:100%;margin-bottom:30px;border-spacing:0;border-collapse:collapse}table table{margin-bottom:0}table .title td{border-color:rgba(209, 213, 217, 0.5);border-color:rgba(var(--pv-color-grey_3-rgb), 0.5);padding-top:60px;padding-bottom:15px;border-bottom-width:1px;border-bottom-style:solid}table td:first-child{padding-left:30px;width:130px;padding-right:10px}table td:last-child{padding-right:30px;width:calc(100% - 130px)}table td{vertical-align:top;padding-top:5px;padding-bottom:5px}table td.vertical_align_middle{vertical-align:middle}table .title:first-child td{padding-top:15px}table .title+tr td{padding-top:15px}table td.monospace{max-width:0}table .divider{padding-top:15px;padding-bottom:15px}.divider .bg_fill{background-color:rgba(209, 213, 217, 0.5);background-color:rgba(var(--pv-color-grey_3-rgb), 0.5)}table tr:last-child .divider{padding-top:0;opacity:0}.divider span{display:block;height:1px}.status_wrapper{min-height:inherit;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.interaction_text{padding:15px 0;width:300px;margin:auto;text-align:center}@media (max-width: 900px){table,tr,td{display:block}table td:last-child,table td:first-child{padding-right:15px;padding-left:15px;width:100%}table .title+tr td{padding-top:5px}table .title+tr td:first-child{padding-top:15px}table td.monospace{width:100%;max-width:none}}:host([data-view=mobile]) table,:host([data-view=mobile]) tr,:host([data-view=mobile]) td{display:block}:host([data-view=mobile]) table td:last-child,:host([data-view=mobile]) table td:first-child{padding-right:15px;padding-left:15px;width:100%}:host([data-view=mobile]) table .title+tr td{padding-top:5px}:host([data-view=mobile]) table .title+tr td:first-child{padding-top:15px}:host([data-view=mobile]) table td.monospace{width:100%;max-width:none}";
511
508
 
512
509
  const CsrViewer = class {
513
510
  constructor(hostRef) {