@peculiar/certificates-viewer 4.3.2 → 4.4.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 (444) hide show
  1. package/components/actions.js +1 -0
  2. package/components/actions.js.map +1 -1
  3. package/components/arrow_top.js +1 -0
  4. package/components/arrow_top.js.map +1 -1
  5. package/components/attribute-certificate-viewer.js +20 -19
  6. package/components/attribute-certificate-viewer.js.map +1 -1
  7. package/components/attribute.js +4 -3
  8. package/components/attribute.js.map +1 -1
  9. package/components/button-menu.js +4 -4
  10. package/components/button-menu.js.map +1 -1
  11. package/components/button.js +1 -0
  12. package/components/button.js.map +1 -1
  13. package/components/certificate-chain-viewer.js +2 -4
  14. package/components/certificate-chain-viewer.js.map +1 -1
  15. package/components/certificate-viewer.js +18 -18
  16. package/components/certificate-viewer.js.map +1 -1
  17. package/components/circular-progress.js +9 -3
  18. package/components/circular-progress.js.map +1 -1
  19. package/components/crl-viewer.js +19 -17
  20. package/components/crl-viewer.js.map +1 -1
  21. package/components/cross.js +1 -0
  22. package/components/cross.js.map +1 -1
  23. package/components/csr-viewer.js +13 -10
  24. package/components/csr-viewer.js.map +1 -1
  25. package/components/download.js +943 -1585
  26. package/components/download.js.map +1 -1
  27. package/components/highlight-words.js +2 -3
  28. package/components/highlight-words.js.map +1 -1
  29. package/components/index.js +1 -0
  30. package/components/index2.js +4 -3
  31. package/components/index2.js.map +1 -1
  32. package/components/issuer_name.js +2 -1
  33. package/components/issuer_name.js.map +1 -1
  34. package/components/miscellaneous.js +21 -20
  35. package/components/miscellaneous.js.map +1 -1
  36. package/components/peculiar-attribute-certificate-viewer.js +1 -0
  37. package/components/peculiar-button-menu.js +1 -0
  38. package/components/peculiar-certificate-chain-viewer.js +1 -0
  39. package/components/peculiar-certificate-decoder.js +4 -7
  40. package/components/peculiar-certificate-decoder.js.map +1 -1
  41. package/components/peculiar-certificate-viewer.js +1 -0
  42. package/components/peculiar-certificates-viewer.js +34 -13
  43. package/components/peculiar-certificates-viewer.js.map +1 -1
  44. package/components/peculiar-circular-progress.js +1 -0
  45. package/components/peculiar-crl-viewer.js +1 -0
  46. package/components/peculiar-csr-viewer.js +1 -0
  47. package/components/peculiar-highlight-words.js +1 -0
  48. package/components/peculiar-text-hider.js +2 -2
  49. package/components/peculiar-text-hider.js.map +1 -1
  50. package/components/pkcs10_certificate_request.js +5 -4
  51. package/components/pkcs10_certificate_request.js.map +1 -1
  52. package/components/read_file.js +1 -0
  53. package/components/read_file.js.map +1 -1
  54. package/components/subject_name.js +4 -3
  55. package/components/subject_name.js.map +1 -1
  56. package/dist/cjs/{actions-64ce3326.js → actions-Dl4HXXlI.js} +3 -2
  57. package/dist/cjs/actions-Dl4HXXlI.js.map +1 -0
  58. package/dist/cjs/{app-globals-c20ffa41.js → app-globals-BOZYdIuK.js} +2 -1
  59. package/dist/cjs/app-globals-BOZYdIuK.js.map +1 -0
  60. package/dist/cjs/{arrow_top-b9b9f280.js → arrow_top-DBMPHVlB.js} +3 -2
  61. package/dist/cjs/arrow_top-DBMPHVlB.js.map +1 -0
  62. package/dist/cjs/{button-61bb8305.js → button-C5jDF-CZ.js} +3 -2
  63. package/dist/cjs/button-C5jDF-CZ.js.map +1 -0
  64. package/dist/cjs/{certification_request-393a843d.js → certification_request-Bipg1Az7.js} +944 -1587
  65. package/dist/cjs/certification_request-Bipg1Az7.js.map +1 -0
  66. package/dist/cjs/{cross-3aeffd04.js → cross-pi7K0cHC.js} +3 -2
  67. package/dist/cjs/cross-pi7K0cHC.js.map +1 -0
  68. package/dist/cjs/{download-c2836546.js → download-D9skkVoT.js} +3 -2
  69. package/dist/cjs/download-D9skkVoT.js.map +1 -0
  70. package/dist/cjs/{index-484a84a0.js → index-BO3rFndV.js} +1356 -1168
  71. package/dist/cjs/index-BO3rFndV.js.map +1 -0
  72. package/dist/cjs/index.cjs.js +11 -12
  73. package/dist/cjs/index.cjs.js.map +1 -1
  74. package/dist/cjs/{link-dad7195a.js → link-CwLq-Nge.js} +4 -3
  75. package/dist/cjs/link-CwLq-Nge.js.map +1 -0
  76. package/dist/cjs/loader.cjs.js +4 -5
  77. package/dist/cjs/loader.cjs.js.map +1 -1
  78. package/dist/cjs/{miscellaneous-ca06fb81.js → miscellaneous-C0sOAo-1.js} +25 -24
  79. package/dist/cjs/miscellaneous-C0sOAo-1.js.map +1 -0
  80. package/dist/cjs/peculiar-attribute-certificate-viewer.peculiar-certificate-chain-viewer.peculiar-crl-viewer.peculiar-csr-viewer.entry.cjs.js.map +1 -0
  81. package/dist/cjs/peculiar-attribute-certificate-viewer_4.cjs.entry.js +47 -48
  82. package/dist/cjs/peculiar-attribute-certificate-viewer_4.cjs.entry.js.map +1 -1
  83. package/dist/cjs/peculiar-button-menu.peculiar-circular-progress.peculiar-highlight-words.entry.cjs.js.map +1 -0
  84. package/dist/cjs/peculiar-button-menu_3.cjs.entry.js +16 -15
  85. package/dist/cjs/peculiar-button-menu_3.cjs.entry.js.map +1 -1
  86. package/dist/cjs/peculiar-certificate-decoder.cjs.entry.js +12 -17
  87. package/dist/cjs/peculiar-certificate-decoder.cjs.entry.js.map +1 -1
  88. package/dist/cjs/peculiar-certificate-decoder.entry.cjs.js.map +1 -0
  89. package/dist/cjs/peculiar-certificate-viewer.cjs.entry.js +19 -21
  90. package/dist/cjs/peculiar-certificate-viewer.cjs.entry.js.map +1 -1
  91. package/dist/cjs/peculiar-certificate-viewer.entry.cjs.js.map +1 -0
  92. package/dist/cjs/peculiar-certificates-viewer.cjs.entry.js +42 -23
  93. package/dist/cjs/peculiar-certificates-viewer.cjs.entry.js.map +1 -1
  94. package/dist/cjs/peculiar-certificates-viewer.entry.cjs.js.map +1 -0
  95. package/dist/cjs/peculiar-text-hider.cjs.entry.js +5 -7
  96. package/dist/cjs/peculiar-text-hider.cjs.entry.js.map +1 -1
  97. package/dist/cjs/peculiar-text-hider.entry.cjs.js.map +1 -0
  98. package/dist/cjs/peculiar.cjs.js +8 -7
  99. package/dist/cjs/peculiar.cjs.js.map +1 -1
  100. package/dist/cjs/{pkcs10_certificate_request-56990e4f.js → pkcs10_certificate_request-BDz0P_px.js} +8 -7
  101. package/dist/cjs/pkcs10_certificate_request-BDz0P_px.js.map +1 -0
  102. package/dist/cjs/{read_file-2e22a97e.js → read_file-DWtcn3zU.js} +2 -1
  103. package/dist/cjs/read_file-DWtcn3zU.js.map +1 -0
  104. package/dist/cjs/{x509_certificate-d162984c.js → x509_certificate-DRvXOszL.js} +7 -6
  105. package/dist/cjs/x509_certificate-DRvXOszL.js.map +1 -0
  106. package/dist/cjs/{x509_crl-13322e13.js → x509_crl-DVGVym_S.js} +11 -10
  107. package/dist/cjs/x509_crl-DVGVym_S.js.map +1 -0
  108. package/dist/collection/collection-manifest.json +1 -1
  109. package/dist/collection/components/attribute-certificate-viewer/attribute-certificate-viewer.js +10 -9
  110. package/dist/collection/components/attribute-certificate-viewer/attribute-certificate-viewer.js.map +1 -1
  111. package/dist/collection/components/button-menu/button-menu.js +2 -2
  112. package/dist/collection/components/button-menu/button-menu.js.map +1 -1
  113. package/dist/collection/components/certificate-chain-viewer/certificate-chain-viewer.js +0 -2
  114. package/dist/collection/components/certificate-chain-viewer/certificate-chain-viewer.js.map +1 -1
  115. package/dist/collection/components/certificate-decoder/certificate-decoder.js +0 -3
  116. package/dist/collection/components/certificate-decoder/certificate-decoder.js.map +1 -1
  117. package/dist/collection/components/certificate-viewer/certificate-viewer.js +10 -10
  118. package/dist/collection/components/certificate-viewer/certificate-viewer.js.map +1 -1
  119. package/dist/collection/components/certificates-viewer/certificates-viewer.js +31 -10
  120. package/dist/collection/components/certificates-viewer/certificates-viewer.js.map +1 -1
  121. package/dist/collection/components/circular-progress/circular-progress.js +7 -1
  122. package/dist/collection/components/circular-progress/circular-progress.js.map +1 -1
  123. package/dist/collection/components/crl-viewer/crl-viewer.js +10 -8
  124. package/dist/collection/components/crl-viewer/crl-viewer.js.map +1 -1
  125. package/dist/collection/components/csr-viewer/csr-viewer.js +10 -7
  126. package/dist/collection/components/csr-viewer/csr-viewer.js.map +1 -1
  127. package/dist/collection/components/highlight-words/highlight-words.js +0 -1
  128. package/dist/collection/components/highlight-words/highlight-words.js.map +1 -1
  129. package/dist/collection/components/text-hider/text-hider.js.map +1 -1
  130. package/dist/collection/constants/oids.js +3 -0
  131. package/dist/collection/constants/oids.js.map +1 -1
  132. package/dist/esm/{actions-2e39a3b9.js → actions-DzoPRObK.js} +3 -2
  133. package/dist/esm/actions-DzoPRObK.js.map +1 -0
  134. package/dist/esm/{app-globals-5e9b67e0.js → app-globals-zVR349KA.js} +2 -1
  135. package/dist/esm/app-globals-zVR349KA.js.map +1 -0
  136. package/dist/esm/{arrow_top-72c7543a.js → arrow_top-CF9pv-tQ.js} +3 -2
  137. package/dist/esm/arrow_top-CF9pv-tQ.js.map +1 -0
  138. package/dist/esm/{button-e0909687.js → button-Djn8UI82.js} +3 -2
  139. package/dist/esm/button-Djn8UI82.js.map +1 -0
  140. package/dist/esm/{certification_request-714bd438.js → certification_request-BTbyumBe.js} +944 -1586
  141. package/dist/esm/certification_request-BTbyumBe.js.map +1 -0
  142. package/dist/esm/{cross-0c62835f.js → cross-DdCuR1F2.js} +3 -2
  143. package/dist/esm/cross-DdCuR1F2.js.map +1 -0
  144. package/dist/esm/{download-5686d86f.js → download-Cqfc-Sxf.js} +3 -2
  145. package/dist/esm/download-Cqfc-Sxf.js.map +1 -0
  146. package/dist/esm/{index-38365508.js → index-DDDrq3In.js} +1354 -1146
  147. package/dist/esm/index-DDDrq3In.js.map +1 -0
  148. package/dist/esm/index.js +11 -10
  149. package/dist/esm/index.js.map +1 -1
  150. package/dist/esm/{link-09718951.js → link-BfDk078v.js} +4 -3
  151. package/dist/esm/link-BfDk078v.js.map +1 -0
  152. package/dist/esm/loader.js +5 -4
  153. package/dist/esm/loader.js.map +1 -1
  154. package/dist/esm/{miscellaneous-0657d00e.js → miscellaneous-CGtCg3Q9.js} +27 -26
  155. package/dist/esm/miscellaneous-CGtCg3Q9.js.map +1 -0
  156. package/dist/esm/peculiar-attribute-certificate-viewer.peculiar-certificate-chain-viewer.peculiar-crl-viewer.peculiar-csr-viewer.entry.js.map +1 -0
  157. package/dist/esm/peculiar-attribute-certificate-viewer_4.entry.js +48 -47
  158. package/dist/esm/peculiar-attribute-certificate-viewer_4.entry.js.map +1 -1
  159. package/dist/esm/peculiar-button-menu.peculiar-circular-progress.peculiar-highlight-words.entry.js.map +1 -0
  160. package/dist/esm/peculiar-button-menu_3.entry.js +16 -13
  161. package/dist/esm/peculiar-button-menu_3.entry.js.map +1 -1
  162. package/dist/esm/peculiar-certificate-decoder.entry.js +12 -15
  163. package/dist/esm/peculiar-certificate-decoder.entry.js.map +1 -1
  164. package/dist/esm/peculiar-certificate-viewer.entry.js +19 -19
  165. package/dist/esm/peculiar-certificate-viewer.entry.js.map +1 -1
  166. package/dist/esm/peculiar-certificates-viewer.entry.js +42 -21
  167. package/dist/esm/peculiar-certificates-viewer.entry.js.map +1 -1
  168. package/dist/esm/peculiar-text-hider.entry.js +5 -5
  169. package/dist/esm/peculiar-text-hider.entry.js.map +1 -1
  170. package/dist/esm/peculiar.js +7 -5
  171. package/dist/esm/peculiar.js.map +1 -1
  172. package/dist/esm/{pkcs10_certificate_request-d3871050.js → pkcs10_certificate_request-CrA_WcgY.js} +8 -7
  173. package/dist/esm/pkcs10_certificate_request-CrA_WcgY.js.map +1 -0
  174. package/dist/esm/{read_file-bb0b1450.js → read_file-F2F0McJX.js} +2 -1
  175. package/dist/esm/read_file-F2F0McJX.js.map +1 -0
  176. package/dist/esm/{x509_certificate-d0d0c5c1.js → x509_certificate-DX7sKoAD.js} +7 -6
  177. package/dist/esm/x509_certificate-DX7sKoAD.js.map +1 -0
  178. package/dist/esm/{x509_crl-e837f4c3.js → x509_crl-DRjoh8Yp.js} +11 -10
  179. package/dist/esm/x509_crl-DRjoh8Yp.js.map +1 -0
  180. package/dist/esm-es5/{actions-2e39a3b9.js → actions-DzoPRObK.js} +2 -2
  181. package/dist/esm-es5/actions-DzoPRObK.js.map +1 -0
  182. package/dist/esm-es5/{app-globals-5e9b67e0.js → app-globals-zVR349KA.js} +1 -1
  183. package/dist/esm-es5/app-globals-zVR349KA.js.map +1 -0
  184. package/dist/esm-es5/{arrow_top-72c7543a.js → arrow_top-CF9pv-tQ.js} +2 -2
  185. package/dist/esm-es5/arrow_top-CF9pv-tQ.js.map +1 -0
  186. package/dist/esm-es5/{button-e0909687.js → button-Djn8UI82.js} +2 -2
  187. package/dist/esm-es5/button-Djn8UI82.js.map +1 -0
  188. package/dist/esm-es5/certification_request-BTbyumBe.js +142 -0
  189. package/dist/esm-es5/certification_request-BTbyumBe.js.map +1 -0
  190. package/dist/esm-es5/{cross-0c62835f.js → cross-DdCuR1F2.js} +2 -2
  191. package/dist/esm-es5/cross-DdCuR1F2.js.map +1 -0
  192. package/dist/esm-es5/{download-5686d86f.js → download-Cqfc-Sxf.js} +2 -2
  193. package/dist/esm-es5/download-Cqfc-Sxf.js.map +1 -0
  194. package/dist/esm-es5/index-DDDrq3In.js +6 -0
  195. package/dist/esm-es5/index-DDDrq3In.js.map +1 -0
  196. package/dist/esm-es5/index.js +1 -1
  197. package/dist/esm-es5/index.js.map +1 -1
  198. package/dist/esm-es5/link-BfDk078v.js +12 -0
  199. package/dist/esm-es5/link-BfDk078v.js.map +1 -0
  200. package/dist/esm-es5/loader.js +1 -1
  201. package/dist/esm-es5/loader.js.map +1 -1
  202. package/dist/esm-es5/{miscellaneous-0657d00e.js → miscellaneous-CGtCg3Q9.js} +15 -15
  203. package/dist/esm-es5/miscellaneous-CGtCg3Q9.js.map +1 -0
  204. package/dist/esm-es5/peculiar-attribute-certificate-viewer.peculiar-certificate-chain-viewer.peculiar-crl-viewer.peculiar-csr-viewer.entry.js.map +1 -0
  205. package/dist/esm-es5/peculiar-attribute-certificate-viewer_4.entry.js +5 -5
  206. package/dist/esm-es5/peculiar-attribute-certificate-viewer_4.entry.js.map +1 -1
  207. package/dist/esm-es5/peculiar-button-menu.peculiar-circular-progress.peculiar-highlight-words.entry.js.map +1 -0
  208. package/dist/esm-es5/peculiar-button-menu_3.entry.js +1 -1
  209. package/dist/esm-es5/peculiar-button-menu_3.entry.js.map +1 -1
  210. package/dist/esm-es5/peculiar-certificate-decoder.entry.js +1 -1
  211. package/dist/esm-es5/peculiar-certificate-decoder.entry.js.map +1 -1
  212. package/dist/esm-es5/peculiar-certificate-viewer.entry.js +2 -2
  213. package/dist/esm-es5/peculiar-certificate-viewer.entry.js.map +1 -1
  214. package/dist/esm-es5/peculiar-certificates-viewer.entry.js +2 -2
  215. package/dist/esm-es5/peculiar-certificates-viewer.entry.js.map +1 -1
  216. package/dist/esm-es5/peculiar-text-hider.entry.js +1 -1
  217. package/dist/esm-es5/peculiar-text-hider.entry.js.map +1 -1
  218. package/dist/esm-es5/peculiar.js +2 -2
  219. package/dist/esm-es5/peculiar.js.map +1 -1
  220. package/dist/esm-es5/pkcs10_certificate_request-CrA_WcgY.js +19 -0
  221. package/dist/esm-es5/pkcs10_certificate_request-CrA_WcgY.js.map +1 -0
  222. package/dist/esm-es5/{read_file-bb0b1450.js → read_file-F2F0McJX.js} +1 -1
  223. package/dist/esm-es5/read_file-F2F0McJX.js.map +1 -0
  224. package/dist/esm-es5/x509_certificate-DX7sKoAD.js +12 -0
  225. package/dist/esm-es5/x509_certificate-DX7sKoAD.js.map +1 -0
  226. package/dist/esm-es5/x509_crl-DRjoh8Yp.js +19 -0
  227. package/dist/esm-es5/x509_crl-DRjoh8Yp.js.map +1 -0
  228. package/dist/peculiar/index.esm.js +1 -1
  229. package/dist/peculiar/index.esm.js.map +1 -1
  230. package/dist/peculiar/loader.esm.js.map +1 -0
  231. package/dist/peculiar/p-092074e8.system.entry.js +5 -0
  232. package/dist/peculiar/p-092074e8.system.entry.js.map +1 -0
  233. package/dist/peculiar/p-12d2e080.entry.js +5 -0
  234. package/dist/peculiar/p-12d2e080.entry.js.map +1 -0
  235. package/dist/peculiar/p-1af57833.system.entry.js +5 -0
  236. package/dist/peculiar/p-1af57833.system.entry.js.map +1 -0
  237. package/dist/peculiar/p-1b3855ec.system.entry.js +111 -0
  238. package/dist/peculiar/p-1b3855ec.system.entry.js.map +1 -0
  239. package/dist/peculiar/p-4IvcYmU7.js +19 -0
  240. package/dist/peculiar/p-4IvcYmU7.js.map +1 -0
  241. package/dist/peculiar/{p-04228f9c.system.entry.js → p-73a75d1e.system.entry.js} +3 -3
  242. package/dist/peculiar/p-73a75d1e.system.entry.js.map +1 -0
  243. package/dist/peculiar/p-7Nmqck4T.system.js.map +1 -0
  244. package/dist/peculiar/p-80fc5538.entry.js +5 -0
  245. package/dist/peculiar/p-80fc5538.entry.js.map +1 -0
  246. package/dist/peculiar/{p-6eb92f5a.entry.js → p-85667993.entry.js} +2 -2
  247. package/dist/peculiar/p-85667993.entry.js.map +1 -0
  248. package/dist/peculiar/p-B0CjUC4o.system.js +142 -0
  249. package/dist/peculiar/p-B0CjUC4o.system.js.map +1 -0
  250. package/dist/peculiar/{p-d46670fa.system.js → p-B2YrZuK2.system.js} +2 -2
  251. package/dist/peculiar/p-B2YrZuK2.system.js.map +1 -0
  252. package/dist/peculiar/{p-c5d3333c.system.js → p-B7TxZGea.system.js} +4 -4
  253. package/dist/{esm/pkcs10_certificate_request-d3871050.js.map → peculiar/p-B7TxZGea.system.js.map} +1 -1
  254. package/dist/peculiar/{p-9ca02302.system.js → p-B859JpGw.system.js} +3 -3
  255. package/dist/peculiar/p-B859JpGw.system.js.map +1 -0
  256. package/dist/peculiar/{p-a3054d6e.system.js → p-BBgwMHRZ.system.js} +3 -3
  257. package/dist/peculiar/p-BBgwMHRZ.system.js.map +1 -0
  258. package/dist/peculiar/{p-9987b899.js → p-BCATfe_H.js} +2 -2
  259. package/dist/peculiar/p-BCATfe_H.js.map +1 -0
  260. package/dist/peculiar/p-BFenL1ap.system.js +6 -0
  261. package/dist/peculiar/p-BFenL1ap.system.js.map +1 -0
  262. package/dist/peculiar/{p-562652dd.js → p-BHBizfwo.js} +3 -3
  263. package/dist/peculiar/p-BHBizfwo.js.map +1 -0
  264. package/dist/peculiar/{p-02529999.system.js → p-BOSH9vjy.system.js} +3 -3
  265. package/dist/{esm-es5/actions-2e39a3b9.js.map → peculiar/p-BOSH9vjy.system.js.map} +1 -1
  266. package/dist/peculiar/{p-4ee5beee.system.js → p-BP2bmYR2.system.js} +3 -3
  267. package/dist/peculiar/p-BP2bmYR2.system.js.map +1 -0
  268. package/dist/peculiar/{p-d9145ee8.system.js → p-BRhx1gbw.system.js} +4 -4
  269. package/dist/peculiar/p-BRhx1gbw.system.js.map +1 -0
  270. package/dist/peculiar/p-BTbyumBe.js +142 -0
  271. package/dist/peculiar/p-BTbyumBe.js.map +1 -0
  272. package/dist/peculiar/p-BX9qW3ww.system.js.map +1 -0
  273. package/dist/peculiar/p-BbPo3hge.system.js.map +1 -0
  274. package/dist/peculiar/p-BisXzAqN.js +12 -0
  275. package/dist/peculiar/p-BisXzAqN.js.map +1 -0
  276. package/dist/peculiar/p-Bw_icgVx.js +19 -0
  277. package/dist/peculiar/p-Bw_icgVx.js.map +1 -0
  278. package/dist/peculiar/p-C_7Koml8.system.js.map +1 -0
  279. package/dist/peculiar/{p-ba3dfc03.js → p-CeKqQ13Z.js} +4 -4
  280. package/dist/peculiar/p-CeKqQ13Z.js.map +1 -0
  281. package/dist/peculiar/p-CpTwQbPC.js +12 -0
  282. package/dist/peculiar/p-CpTwQbPC.js.map +1 -0
  283. package/dist/peculiar/p-Ct0zEUB_.js +369 -0
  284. package/dist/peculiar/p-Ct0zEUB_.js.map +1 -0
  285. package/dist/peculiar/{p-c2995a63.system.js → p-CwlxH4oM.system.js} +1 -1
  286. package/dist/peculiar/p-CwlxH4oM.system.js.map +1 -0
  287. package/dist/peculiar/p-D13P_msn.system.js.map +1 -0
  288. package/dist/peculiar/{p-55303453.system.js → p-D2QB-8Q6.system.js} +1 -1
  289. package/dist/peculiar/p-D2QB-8Q6.system.js.map +1 -0
  290. package/dist/peculiar/p-D5BWI7FK.system.js +5 -0
  291. package/dist/peculiar/p-D5BWI7FK.system.js.map +1 -0
  292. package/dist/peculiar/p-DDDrq3In.js +6 -0
  293. package/dist/peculiar/p-DDDrq3In.js.map +1 -0
  294. package/dist/peculiar/{p-90c3a063.js → p-DhdG07f8.js} +2 -2
  295. package/dist/peculiar/p-DhdG07f8.js.map +1 -0
  296. package/dist/peculiar/{p-92f9641a.js → p-DkAhB3Vy.js} +2 -2
  297. package/dist/peculiar/p-DkAhB3Vy.js.map +1 -0
  298. package/dist/peculiar/p-DxdVL_Kj.system.js +13 -0
  299. package/dist/peculiar/p-DxdVL_Kj.system.js.map +1 -0
  300. package/dist/peculiar/{p-25a532a3.js → p-F2F0McJX.js} +1 -1
  301. package/dist/peculiar/p-F2F0McJX.js.map +1 -0
  302. package/dist/peculiar/p-FVz6FuoZ.system.js.map +1 -0
  303. package/dist/peculiar/p-RW7UbzcZ.system.js.map +1 -0
  304. package/dist/peculiar/p-ab220e36.system.entry.js +5 -0
  305. package/dist/peculiar/p-ab220e36.system.entry.js.map +1 -0
  306. package/dist/peculiar/{p-b01c70cf.entry.js → p-c2a805b3.entry.js} +3 -3
  307. package/dist/peculiar/p-c2a805b3.entry.js.map +1 -0
  308. package/dist/peculiar/p-cae95996.system.entry.js +5 -0
  309. package/dist/peculiar/p-cae95996.system.entry.js.map +1 -0
  310. package/dist/peculiar/p-e7266b0a.entry.js +110 -0
  311. package/dist/peculiar/p-e7266b0a.entry.js.map +1 -0
  312. package/dist/peculiar/p-f4490197.entry.js +5 -0
  313. package/dist/peculiar/p-f4490197.entry.js.map +1 -0
  314. package/dist/peculiar/{p-a9ea6c79.system.js → p-lnQq6VON.system.js} +4 -4
  315. package/dist/peculiar/p-lnQq6VON.system.js.map +1 -0
  316. package/dist/peculiar/{p-35cd359e.system.js → p-vMACJe_C.system.js} +54 -54
  317. package/dist/peculiar/{p-90f461c0.js.map → p-vMACJe_C.system.js.map} +1 -1
  318. package/dist/peculiar/p-wgYkE8CV.system.js +5 -0
  319. package/dist/peculiar/p-wgYkE8CV.system.js.map +1 -0
  320. package/dist/peculiar/{p-dac867e8.js → p-zVR349KA.js} +1 -1
  321. package/dist/peculiar/p-zVR349KA.js.map +1 -0
  322. package/dist/peculiar/peculiar-attribute-certificate-viewer.peculiar-certificate-chain-viewer.peculiar-crl-viewer.peculiar-csr-viewer.entry.esm.js.map +1 -0
  323. package/dist/peculiar/peculiar-button-menu.peculiar-circular-progress.peculiar-highlight-words.entry.esm.js.map +1 -0
  324. package/dist/peculiar/peculiar-certificate-decoder.entry.esm.js.map +1 -0
  325. package/dist/peculiar/peculiar-certificate-viewer.entry.esm.js.map +1 -0
  326. package/dist/peculiar/peculiar-certificates-viewer.entry.esm.js.map +1 -0
  327. package/dist/peculiar/{p-39bbe0b9.system.entry.js.map → peculiar-text-hider.entry.esm.js.map} +1 -1
  328. package/dist/peculiar/peculiar.esm.js +1 -1
  329. package/dist/peculiar/peculiar.esm.js.map +1 -1
  330. package/dist/peculiar/peculiar.js +1 -1
  331. package/dist/types/constants/oids.d.ts +3 -0
  332. package/dist/types/stencil-public-runtime.d.ts +1 -0
  333. package/hydrate/index.d.ts +22 -5
  334. package/hydrate/index.js +2848 -3022
  335. package/hydrate/index.mjs +2848 -3020
  336. package/package.json +23 -23
  337. package/dist/cjs/actions-64ce3326.js.map +0 -1
  338. package/dist/cjs/app-globals-c20ffa41.js.map +0 -1
  339. package/dist/cjs/arrow_top-b9b9f280.js.map +0 -1
  340. package/dist/cjs/button-61bb8305.js.map +0 -1
  341. package/dist/cjs/certification_request-393a843d.js.map +0 -1
  342. package/dist/cjs/cross-3aeffd04.js.map +0 -1
  343. package/dist/cjs/download-c2836546.js.map +0 -1
  344. package/dist/cjs/index-484a84a0.js.map +0 -1
  345. package/dist/cjs/link-dad7195a.js.map +0 -1
  346. package/dist/cjs/miscellaneous-ca06fb81.js.map +0 -1
  347. package/dist/cjs/pkcs10_certificate_request-56990e4f.js.map +0 -1
  348. package/dist/cjs/read_file-2e22a97e.js.map +0 -1
  349. package/dist/cjs/x509_certificate-d162984c.js.map +0 -1
  350. package/dist/cjs/x509_crl-13322e13.js.map +0 -1
  351. package/dist/esm/actions-2e39a3b9.js.map +0 -1
  352. package/dist/esm/app-globals-5e9b67e0.js.map +0 -1
  353. package/dist/esm/arrow_top-72c7543a.js.map +0 -1
  354. package/dist/esm/button-e0909687.js.map +0 -1
  355. package/dist/esm/certification_request-714bd438.js.map +0 -1
  356. package/dist/esm/cross-0c62835f.js.map +0 -1
  357. package/dist/esm/download-5686d86f.js.map +0 -1
  358. package/dist/esm/index-38365508.js.map +0 -1
  359. package/dist/esm/link-09718951.js.map +0 -1
  360. package/dist/esm/miscellaneous-0657d00e.js.map +0 -1
  361. package/dist/esm/read_file-bb0b1450.js.map +0 -1
  362. package/dist/esm/x509_certificate-d0d0c5c1.js.map +0 -1
  363. package/dist/esm/x509_crl-e837f4c3.js.map +0 -1
  364. package/dist/esm-es5/app-globals-5e9b67e0.js.map +0 -1
  365. package/dist/esm-es5/arrow_top-72c7543a.js.map +0 -1
  366. package/dist/esm-es5/button-e0909687.js.map +0 -1
  367. package/dist/esm-es5/certification_request-714bd438.js +0 -142
  368. package/dist/esm-es5/certification_request-714bd438.js.map +0 -1
  369. package/dist/esm-es5/cross-0c62835f.js.map +0 -1
  370. package/dist/esm-es5/download-5686d86f.js.map +0 -1
  371. package/dist/esm-es5/index-38365508.js +0 -6
  372. package/dist/esm-es5/index-38365508.js.map +0 -1
  373. package/dist/esm-es5/link-09718951.js +0 -12
  374. package/dist/esm-es5/link-09718951.js.map +0 -1
  375. package/dist/esm-es5/miscellaneous-0657d00e.js.map +0 -1
  376. package/dist/esm-es5/pkcs10_certificate_request-d3871050.js +0 -19
  377. package/dist/esm-es5/pkcs10_certificate_request-d3871050.js.map +0 -1
  378. package/dist/esm-es5/read_file-bb0b1450.js.map +0 -1
  379. package/dist/esm-es5/x509_certificate-d0d0c5c1.js +0 -12
  380. package/dist/esm-es5/x509_certificate-d0d0c5c1.js.map +0 -1
  381. package/dist/esm-es5/x509_crl-e837f4c3.js +0 -19
  382. package/dist/esm-es5/x509_crl-e837f4c3.js.map +0 -1
  383. package/dist/peculiar/p-02529999.system.js.map +0 -1
  384. package/dist/peculiar/p-04228f9c.system.entry.js.map +0 -1
  385. package/dist/peculiar/p-12bc3ebc.system.entry.js +0 -5
  386. package/dist/peculiar/p-12bc3ebc.system.entry.js.map +0 -1
  387. package/dist/peculiar/p-161f7f97.entry.js +0 -5
  388. package/dist/peculiar/p-161f7f97.entry.js.map +0 -1
  389. package/dist/peculiar/p-25a532a3.js.map +0 -1
  390. package/dist/peculiar/p-32cf293c.system.js +0 -5
  391. package/dist/peculiar/p-32cf293c.system.js.map +0 -1
  392. package/dist/peculiar/p-35cd359e.system.js.map +0 -1
  393. package/dist/peculiar/p-39bbe0b9.system.entry.js +0 -5
  394. package/dist/peculiar/p-41eacbcd.system.entry.js +0 -111
  395. package/dist/peculiar/p-41eacbcd.system.entry.js.map +0 -1
  396. package/dist/peculiar/p-47b7dd9e.entry.js +0 -110
  397. package/dist/peculiar/p-47b7dd9e.entry.js.map +0 -1
  398. package/dist/peculiar/p-4ee5beee.system.js.map +0 -1
  399. package/dist/peculiar/p-55303453.system.js.map +0 -1
  400. package/dist/peculiar/p-562652dd.js.map +0 -1
  401. package/dist/peculiar/p-5b4db88b.system.js +0 -5
  402. package/dist/peculiar/p-5b4db88b.system.js.map +0 -1
  403. package/dist/peculiar/p-67452b74.system.entry.js +0 -5
  404. package/dist/peculiar/p-67452b74.system.entry.js.map +0 -1
  405. package/dist/peculiar/p-684b7f0f.system.js +0 -142
  406. package/dist/peculiar/p-684b7f0f.system.js.map +0 -1
  407. package/dist/peculiar/p-6eb92f5a.entry.js.map +0 -1
  408. package/dist/peculiar/p-8dd6d1ee.entry.js +0 -5
  409. package/dist/peculiar/p-8dd6d1ee.entry.js.map +0 -1
  410. package/dist/peculiar/p-90c3a063.js.map +0 -1
  411. package/dist/peculiar/p-90f461c0.js +0 -369
  412. package/dist/peculiar/p-92f9641a.js.map +0 -1
  413. package/dist/peculiar/p-93e299aa.system.entry.js +0 -5
  414. package/dist/peculiar/p-93e299aa.system.entry.js.map +0 -1
  415. package/dist/peculiar/p-9987b899.js.map +0 -1
  416. package/dist/peculiar/p-9b64adaa.system.js +0 -13
  417. package/dist/peculiar/p-9b64adaa.system.js.map +0 -1
  418. package/dist/peculiar/p-9ca02302.system.js.map +0 -1
  419. package/dist/peculiar/p-a1adb881.js +0 -6
  420. package/dist/peculiar/p-a1adb881.js.map +0 -1
  421. package/dist/peculiar/p-a3054d6e.system.js.map +0 -1
  422. package/dist/peculiar/p-a55fd6f1.js +0 -142
  423. package/dist/peculiar/p-a55fd6f1.js.map +0 -1
  424. package/dist/peculiar/p-a87e1a0e.js +0 -12
  425. package/dist/peculiar/p-a87e1a0e.js.map +0 -1
  426. package/dist/peculiar/p-a9ea6c79.system.js.map +0 -1
  427. package/dist/peculiar/p-b01c70cf.entry.js.map +0 -1
  428. package/dist/peculiar/p-b5674f82.js +0 -19
  429. package/dist/peculiar/p-b5674f82.js.map +0 -1
  430. package/dist/peculiar/p-ba3dfc03.js.map +0 -1
  431. package/dist/peculiar/p-bc91996c.system.js +0 -6
  432. package/dist/peculiar/p-bc91996c.system.js.map +0 -1
  433. package/dist/peculiar/p-c2995a63.system.js.map +0 -1
  434. package/dist/peculiar/p-c5d3333c.system.js.map +0 -1
  435. package/dist/peculiar/p-cb8a0b79.js +0 -19
  436. package/dist/peculiar/p-cb8a0b79.js.map +0 -1
  437. package/dist/peculiar/p-d46670fa.system.js.map +0 -1
  438. package/dist/peculiar/p-d9145ee8.system.js.map +0 -1
  439. package/dist/peculiar/p-dac867e8.js.map +0 -1
  440. package/dist/peculiar/p-f456fe47.js +0 -12
  441. package/dist/peculiar/p-f456fe47.js.map +0 -1
  442. package/dist/peculiar/p-f6ec61db.entry.js +0 -5
  443. package/dist/peculiar/p-f6ec61db.entry.js.map +0 -1
  444. package/loader/package.json +0 -11
@@ -4,7 +4,6 @@
4
4
  import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
5
5
 
6
6
  const highlightWordsCss = ":host{display:inline}::slotted(mark){background-color:var(--pv-color-attention-tint-4)}";
7
- const PeculiarHighlightWordsStyle0 = highlightWordsCss;
8
7
 
9
8
  const HighlightWords = /*@__PURE__*/ proxyCustomElement(class HighlightWords extends HTMLElement {
10
9
  constructor() {
@@ -12,7 +11,6 @@ const HighlightWords = /*@__PURE__*/ proxyCustomElement(class HighlightWords ext
12
11
  this.__registerHost();
13
12
  this.__attachShadow();
14
13
  this.tag = 'mark';
15
- this.search = undefined;
16
14
  }
17
15
  componentDidLoad() {
18
16
  this.handleHighlightSearch();
@@ -38,7 +36,7 @@ const HighlightWords = /*@__PURE__*/ proxyCustomElement(class HighlightWords ext
38
36
  return (h(Host, { key: '353abad7e2fc43ea4af75ec025e08d2ff3159ee6' }, h("slot", { key: '9ac44c0a2b95ea7a778e2d6a2909c797f8c17b6d' })));
39
37
  }
40
38
  get host() { return this; }
41
- static get style() { return PeculiarHighlightWordsStyle0; }
39
+ static get style() { return highlightWordsCss; }
42
40
  }, [1, "peculiar-highlight-words", {
43
41
  "search": [1]
44
42
  }]);
@@ -57,5 +55,6 @@ function defineCustomElement() {
57
55
  }
58
56
 
59
57
  export { HighlightWords as H, defineCustomElement as d };
58
+ //# sourceMappingURL=highlight-words.js.map
60
59
 
61
60
  //# sourceMappingURL=highlight-words.js.map
@@ -1 +1 @@
1
- {"file":"highlight-words.js","mappings":";;;;;AAAA,MAAM,iBAAiB,GAAG,yFAAyF,CAAC;AACpH,qCAAe,iBAAiB;;MCgBnB,cAAc;;;;;QAKjB,QAAG,GAAW,MAAM,CAAC;;;IAE7B,gBAAgB;QACd,IAAI,CAAC,qBAAqB,EAAE,CAAC;KAC9B;IAED,kBAAkB;QAChB,IAAI,CAAC,qBAAqB,EAAE,CAAC;KAC9B;IAED,qBAAqB;QACnB,MAAM,WAAW,GAAG,IAAI,CAAC,oBAAoB,CAAC,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;QACnE,IAAI,MAAM,GAAG,WAAW,CAAC;QAEzB,IAAI,IAAI,CAAC,MAAM,EAAE;YACf,MAAM,SAAS,GAAG,IAAI,MAAM,CAAC,IAAI,IAAI,CAAC,MAAM,GAAG,EAAE,IAAI,CAAC,CAAC;YAEvD,MAAM,GAAG,WAAW,CAAC,OAAO,CAAC,SAAS,EAAE,IAAI,IAAI,CAAC,GAAG,QAAQ,IAAI,CAAC,GAAG,GAAG,CAAC,CAAC;SAC1E;QAED,IAAI,CAAC,IAAI,CAAC,SAAS,GAAG,MAAM,CAAC;KAC9B;IAED,oBAAoB,CAAC,MAAc;;QAEjC,MAAM,SAAS,GAAG,IAAI,MAAM,CAAC,OAAO,IAAI,CAAC,GAAG,GAAG,EAAE,GAAG,CAAC,CAAC;QAEtD,OAAO,MAAM,CAAC,OAAO,CAAC,SAAS,EAAE,EAAE,CAAC,CAAC;KACtC;IAED,MAAM;QACJ,QACE,EAAC,IAAI,uDACH,8DAAQ,CACH,EACP;KACH;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/highlight-words/highlight-words.scss?tag=peculiar-highlight-words&encapsulation=shadow","src/components/highlight-words/highlight-words.tsx"],"sourcesContent":[":host {\n display: inline;\n}\n\n::slotted(mark) {\n background-color: var(--pv-color-attention-tint-4);\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, Host, h, Element, Prop,\n} from '@stencil/core';\n\n@Component({\n tag: 'peculiar-highlight-words',\n styleUrl: 'highlight-words.scss',\n shadow: true,\n})\nexport class HighlightWords {\n @Element() host: HTMLElement;\n\n @Prop() search: string;\n\n private tag: string = 'mark';\n\n componentDidLoad() {\n this.handleHighlightSearch();\n }\n\n componentDidUpdate() {\n this.handleHighlightSearch();\n }\n\n handleHighlightSearch() {\n const basicString = this.resetHighlightSearch(this.host.innerHTML);\n let result = basicString;\n\n if (this.search) {\n const substring = new RegExp(`(${this.search})`, 'gi');\n\n result = basicString.replace(substring, `<${this.tag}>$1</${this.tag}>`);\n }\n\n this.host.innerHTML = result;\n }\n\n resetHighlightSearch(source: string) {\n // eslint-disable-next-line no-useless-escape\n const substring = new RegExp(`<\\/?${this.tag}>`, 'g');\n\n return source.replace(substring, '');\n }\n\n render() {\n return (\n <Host>\n <slot />\n </Host>\n );\n }\n}\n"],"version":3}
1
+ {"file":"highlight-words.js","mappings":";;;;;AAAA,MAAM,iBAAiB,GAAG,yFAAyF;;MCiBtG,cAAc,iBAAAA,kBAAA,CAAA,MAAA,cAAA,SAAA,WAAA,CAAA;AAL3B,IAAA,WAAA,GAAA;;;;AAUU,QAAA,IAAG,CAAA,GAAA,GAAW,MAAM;AAqC7B;IAnCC,gBAAgB,GAAA;QACd,IAAI,CAAC,qBAAqB,EAAE;;IAG9B,kBAAkB,GAAA;QAChB,IAAI,CAAC,qBAAqB,EAAE;;IAG9B,qBAAqB,GAAA;AACnB,QAAA,MAAM,WAAW,GAAG,IAAI,CAAC,oBAAoB,CAAC,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC;QAClE,IAAI,MAAM,GAAG,WAAW;AAExB,QAAA,IAAI,IAAI,CAAC,MAAM,EAAE;AACf,YAAA,MAAM,SAAS,GAAG,IAAI,MAAM,CAAC,CAAA,CAAA,EAAI,IAAI,CAAC,MAAM,CAAA,CAAA,CAAG,EAAE,IAAI,CAAC;AAEtD,YAAA,MAAM,GAAG,WAAW,CAAC,OAAO,CAAC,SAAS,EAAE,CAAA,CAAA,EAAI,IAAI,CAAC,GAAG,CAAQ,KAAA,EAAA,IAAI,CAAC,GAAG,CAAA,CAAA,CAAG,CAAC;;AAG1E,QAAA,IAAI,CAAC,IAAI,CAAC,SAAS,GAAG,MAAM;;AAG9B,IAAA,oBAAoB,CAAC,MAAc,EAAA;;AAEjC,QAAA,MAAM,SAAS,GAAG,IAAI,MAAM,CAAC,CAAA,IAAA,EAAO,IAAI,CAAC,GAAG,CAAA,CAAA,CAAG,EAAE,GAAG,CAAC;QAErD,OAAO,MAAM,CAAC,OAAO,CAAC,SAAS,EAAE,EAAE,CAAC;;IAGtC,MAAM,GAAA;QACJ,QACE,EAAC,IAAI,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,EACH,CAAQ,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAA,CACH;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement"],"sources":["src/components/highlight-words/highlight-words.scss?tag=peculiar-highlight-words&encapsulation=shadow","src/components/highlight-words/highlight-words.tsx"],"sourcesContent":[":host {\n display: inline;\n}\n\n::slotted(mark) {\n background-color: var(--pv-color-attention-tint-4);\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, Host, h, Element, Prop,\n} from '@stencil/core';\n\n@Component({\n tag: 'peculiar-highlight-words',\n styleUrl: 'highlight-words.scss',\n shadow: true,\n})\nexport class HighlightWords {\n @Element() host: HTMLElement;\n\n @Prop() search: string;\n\n private tag: string = 'mark';\n\n componentDidLoad() {\n this.handleHighlightSearch();\n }\n\n componentDidUpdate() {\n this.handleHighlightSearch();\n }\n\n handleHighlightSearch() {\n const basicString = this.resetHighlightSearch(this.host.innerHTML);\n let result = basicString;\n\n if (this.search) {\n const substring = new RegExp(`(${this.search})`, 'gi');\n\n result = basicString.replace(substring, `<${this.tag}>$1</${this.tag}>`);\n }\n\n this.host.innerHTML = result;\n }\n\n resetHighlightSearch(source: string) {\n // eslint-disable-next-line no-useless-escape\n const substring = new RegExp(`<\\/?${this.tag}>`, 'g');\n\n return source.replace(substring, '');\n }\n\n render() {\n return (\n <Host>\n <slot />\n </Host>\n );\n }\n}\n"],"version":3}
@@ -9,5 +9,6 @@ export { B as Button, T as Typography } from './button.js';
9
9
  export { C as CrossIcon, D as DetailsIcon, L as LinkIcon } from './cross.js';
10
10
  export { A as ActionsIcon } from './actions.js';
11
11
  export { A as ArrowBottomIcon, a as ArrowTopIcon } from './arrow_top.js';
12
+ //# sourceMappingURL=index.js.map
12
13
 
13
14
  //# sourceMappingURL=index.js.map
@@ -2,8 +2,8 @@
2
2
  * © Peculiar Ventures https://peculiarventures.com/ - MIT License
3
3
  */
4
4
  import { h } from '@stencil/core/internal/client';
5
- import { O as OIDs, M as l10n, S as Name, w as ActivityDescription, W as WebGDPR, I as InsuranceValue, T as TypeRelationship, V as ValuationRanking, U as UnstructuredName, F as ChallengePassword } from './download.js';
6
- import { a as RowValue, g as getStringByOID, f as camelCaseToWords, T as TableRowTable, G as GeneralNamePart, R as RowTitle } from './miscellaneous.js';
5
+ import { _ as OIDs, l as l10n, aa as Name$1, p as ActivityDescription, W as WebGDPR, I as InsuranceValue, T as TypeRelationship, V as ValuationRanking, U as UnstructuredName, o as ChallengePassword } from './download.js';
6
+ import { a as RowValue, e as getStringByOID, f as camelCaseToWords, d as TableRowTable, G as GeneralNamePart, R as RowTitle } from './miscellaneous.js';
7
7
 
8
8
  /**
9
9
  * @license
@@ -202,7 +202,7 @@ const Attributes = (props) => {
202
202
  h(RowTitle, { value: "Attributes" }),
203
203
  attributes.map((attribute) => {
204
204
  try {
205
- if (attribute.value instanceof Name) {
205
+ if (attribute.value instanceof Name$1) {
206
206
  return (h(NameAttribute, { attribute: attribute }));
207
207
  }
208
208
  if (attribute.value instanceof ActivityDescription) {
@@ -240,5 +240,6 @@ const Attributes = (props) => {
240
240
  };
241
241
 
242
242
  export { Attributes as A };
243
+ //# sourceMappingURL=index2.js.map
243
244
 
244
245
  //# sourceMappingURL=index2.js.map
@@ -1 +1 @@
1
- {"file":"index2.js","mappings":";;;;;;;AAAA;;;;;;;AAkBO,MAAM,cAAc,GAA8C,CAAC,KAAK,EAAE,QAAQ;IACvF,MAAM,EA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B,EACF;iBACH;gBAED,IAAI,SAAS,CAAC,KAAK,YAAY,cAAc,EAAE;oBAC7C,QACE,EAAC,uBAAuB,IACtB,SAAS,EAAE,SAAgB,GAC3B,EACF;iBACH;gBAED,IAAI,SAAS,CAAC,KAAK,YAAY,gBAAgB,EAAE;oBAC/C,QACE,EAAC,yBAAyB,IACxB,SAAS,EAAE,SAAgB,GAC3B,EACF;iBACH;gBAED,IAAI,SAAS,CAAC,KAAK,YAAY,gBAAgB,EAAE;oBAC/C,QACE,EAAC,yBAAyB,IACxB,SAAS,EAAE,SAAgB,GAC3B,EACF;iBACH;gBAED,IAAI,SAAS,CAAC,KAAK,YAAY,gBAAgB,EAAE;oBAC/C,QACE,EAAC,yBAAyB,IACxB,SAAS,EAAE,SAAgB,GAC3B,EACF;iBACH;gBAED,IAAI,SAAS,CAAC,KAAK,YAAY,iBAAiB,EAAE;oBAChD,QACE,EAAC,0BAA0B,IACzB,SAAS,EAAE,SAAgB,GAC3B,EACF;iBACH;gBAED,IAAI,OAAO,SAAS,CAAC,KAAK,KAAK,QAAQ,EAAE;oBACvC,QACE,EAAC,iBAAiB,IAChB,SAAS,EAAE,SAAgB,GAC3B,EACF;iBACH;gBAED,QACE,EAAC,cAAc,IACb,SAAS,EAAE,SAAS,GACpB,EACF;aACH;YAAC,OAAO,KAAK,EAAE;gBACd,OAAO,CAAC,KAAK,CAAC,yBAAyB,EAAE,SAAS,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;gBAE7D,OAAO,IAAI,CAAC;aACb;SACF,CAAC;KACH,EAAE;AACL;;;;","names":[],"sources":["src/components/certificate-details-parts/attributes/basic_attribute.tsx","src/components/certificate-details-parts/attributes/name_part.tsx","src/components/certificate-details-parts/attributes/name_attribute.tsx","src/components/certificate-details-parts/attributes/activity_description_attribute.tsx","src/components/certificate-details-parts/attributes/web_gdpr_attribute.tsx","src/components/certificate-details-parts/attributes/insurance_value_attribute.tsx","src/components/certificate-details-parts/attributes/type_relationship_attribute.tsx","src/components/certificate-details-parts/attributes/valuation_ranking_attribute.tsx","src/components/certificate-details-parts/attributes/as_string_attribute.tsx","src/components/certificate-details-parts/attributes/unstructured_name_attribute.tsx","src/components/certificate-details-parts/attributes/challenge_password_attribute.tsx","src/components/certificate-details-parts/attributes/index.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 { h, FunctionalComponent } from '@stencil/core';\n\nimport type { Attribute, TAttributeValue } from '../../../crypto/attribute';\nimport { getStringByOID } from '../../../utils';\nimport { RowValue } from '../row';\n\ninterface IBasicAttributeProps {\n attribute: Attribute<TAttributeValue>;\n}\n\nexport const BasicAttribute: FunctionalComponent<IBasicAttributeProps> = (props, children) => {\n const { attribute } = props;\n\n return ([\n <RowValue\n name=\"Name\"\n value={getStringByOID(attribute.asn.type)}\n />,\n children,\n <tr>\n <td colSpan={2} class=\"divider\">\n <span />\n </td>\n </tr>,\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 { h, FunctionalComponent } from '@stencil/core';\nimport type { Name } from '@peculiar/asn1-x509';\n\nimport { OIDs } from '../../../constants/oids';\nimport { RowValue } from '../row';\n\ninterface INamePartProps {\n name: Name;\n}\n\nexport const NamePart: FunctionalComponent<INamePartProps> = (props): any[] => {\n const { name } = props;\n\n if (!name) {\n return null;\n }\n\n return name.map((relativeDistinguishedName) => (\n relativeDistinguishedName.map((attributeTypeAndValue) => (\n <RowValue\n name={OIDs[attributeTypeAndValue.type] || attributeTypeAndValue.type}\n value={attributeTypeAndValue.value.toString()}\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 { h, FunctionalComponent } from '@stencil/core';\nimport type { Name } from '@peculiar/asn1-x509';\n\nimport type { Attribute } from '../../../crypto/attribute';\nimport { BasicAttribute } from './basic_attribute';\nimport { NamePart } from './name_part';\n\ninterface INameAttributeProps {\n attribute: Attribute<Name>;\n}\n\nexport const NameAttribute:\nFunctionalComponent<INameAttributeProps> = (props) => {\n const { attribute } = props;\n\n return (\n <BasicAttribute\n attribute={attribute}\n >\n <NamePart\n name={attribute.value}\n />\n </BasicAttribute>\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 { h, FunctionalComponent } from '@stencil/core';\nimport type { ActivityDescription } from '@peculiar/asn1-ntqwac';\n\nimport { Attribute } from '../../../crypto/attribute';\nimport { camelCaseToWords } from '../../../utils';\nimport { GeneralNamePart } from '../extensions/general_name_part';\nimport { RowValue, TableRowTable } from '../row';\nimport { BasicAttribute } from './basic_attribute';\n\ninterface IActivityDescriptionAttributeProps {\n attribute: Attribute<ActivityDescription>;\n}\n\nexport const ActivityDescriptionAttribute:\nFunctionalComponent<IActivityDescriptionAttributeProps> = (props) => {\n const { attribute } = props;\n\n return (\n <BasicAttribute\n attribute={attribute}\n >\n <RowValue\n name={camelCaseToWords('codeAuthority')}\n value=\"\"\n />\n <TableRowTable>\n <GeneralNamePart\n generalName={attribute.value.codeAuthority}\n getDNSNameLink={() => ''}\n getIPAddressLink={() => ''}\n />\n </TableRowTable>\n\n <RowValue\n name={camelCaseToWords('codeId')}\n value=\"\"\n />\n <TableRowTable>\n <GeneralNamePart\n generalName={attribute.value.codeId}\n getDNSNameLink={() => ''}\n getIPAddressLink={() => ''}\n />\n </TableRowTable>\n\n <RowValue\n name={camelCaseToWords('shortName')}\n value={attribute.value.shortName}\n />\n <RowValue\n name={camelCaseToWords('shortDescription')}\n value={attribute.value.shortDescription}\n />\n </BasicAttribute>\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 { h, FunctionalComponent } from '@stencil/core';\nimport type { WebGDPR } from '@peculiar/asn1-ntqwac';\n\nimport type { Attribute } from '../../../crypto/attribute';\nimport { camelCaseToWords } from '../../../utils';\nimport { GeneralNamePart } from '../extensions/general_name_part';\nimport { RowValue, TableRowTable } from '../row';\nimport { BasicAttribute } from './basic_attribute';\n\ninterface IWebGdprAttributeProps {\n attribute: Attribute<WebGDPR>;\n}\n\nexport const WebGdprAttribute:\nFunctionalComponent<IWebGdprAttributeProps> = (props) => {\n const { attribute } = props;\n\n return (\n <BasicAttribute\n attribute={attribute}\n >\n <RowValue\n name={camelCaseToWords('assessmentAuthority')}\n value=\"\"\n />\n <TableRowTable>\n <GeneralNamePart\n generalName={attribute.value.assessmentAuthority}\n getDNSNameLink={() => ''}\n getIPAddressLink={() => ''}\n />\n </TableRowTable>\n\n <RowValue\n name={camelCaseToWords('assessmentLocation')}\n value=\"\"\n />\n <TableRowTable>\n <GeneralNamePart\n generalName={attribute.value.assessmentLocation}\n getDNSNameLink={() => ''}\n getIPAddressLink={() => ''}\n />\n </TableRowTable>\n\n <RowValue\n name={camelCaseToWords('assessmentRef')}\n value=\"\"\n />\n <TableRowTable>\n <GeneralNamePart\n generalName={attribute.value.assessmentRef}\n getDNSNameLink={() => ''}\n getIPAddressLink={() => ''}\n />\n </TableRowTable>\n\n <RowValue\n name={camelCaseToWords('dataStorageTerritory')}\n value={attribute.value.dataStorageTerritory}\n />\n <RowValue\n name={camelCaseToWords('description')}\n value={attribute.value.description}\n />\n </BasicAttribute>\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 { h, FunctionalComponent } from '@stencil/core';\nimport type { InsuranceValue } from '@peculiar/asn1-ntqwac';\n\nimport type { Attribute } from '../../../crypto/attribute';\nimport { RowValue } from '../row';\nimport { BasicAttribute } from './basic_attribute';\n\ninterface IInsuranceValueAttributeProps {\n attribute: Attribute<InsuranceValue>;\n}\n\nexport const InsuranceValueAttribute:\nFunctionalComponent<IInsuranceValueAttributeProps> = (props) => {\n const { attribute } = props;\n const value = `${attribute.value.base} * 10^${attribute.value.degree} ${attribute.value.location}`;\n\n return (\n <BasicAttribute\n attribute={attribute}\n >\n <RowValue\n name=\"Value\"\n value={value}\n />\n </BasicAttribute>\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 { h, FunctionalComponent } from '@stencil/core';\nimport type { TypeRelationship } from '@peculiar/asn1-ntqwac';\n\nimport type { Attribute } from '../../../crypto/attribute';\nimport { l10n } from '../../../utils';\nimport { RowValue } from '../row';\nimport { BasicAttribute } from './basic_attribute';\n\ninterface ITypeRelationshipAttributeProps {\n attribute: Attribute<TypeRelationship>;\n}\n\nexport const TypeRelationshipAttribute:\nFunctionalComponent<ITypeRelationshipAttributeProps> = (props) => {\n const { attribute } = props;\n\n return (\n <BasicAttribute\n attribute={attribute}\n >\n {Object.keys(attribute.value).map((keyName) => (\n <RowValue\n name={keyName}\n value={attribute.value[keyName].toNumber() ? l10n.getString('yes') : l10n.getString('no')}\n />\n ))}\n </BasicAttribute>\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 { h, FunctionalComponent } from '@stencil/core';\nimport type { ValuationRanking } from '@peculiar/asn1-ntqwac';\n\nimport type { Attribute } from '../../../crypto/attribute';\nimport { RowValue } from '../row';\nimport { BasicAttribute } from './basic_attribute';\n\ninterface IValuationRankingAttributeProps {\n attribute: Attribute<ValuationRanking>;\n}\n\nconst getValueRank = (value: number): string => {\n let ratio = 1;\n\n if (value / 100 > 1) {\n ratio = 100;\n } else if (value / 10 > 1) {\n ratio = 10;\n }\n\n return `${value}/${5 * ratio}`;\n};\n\nexport const ValuationRankingAttribute:\nFunctionalComponent<IValuationRankingAttributeProps> = (props) => {\n const { attribute } = props;\n const values = Object.keys(attribute.value).map((keyName) => ([\n getValueRank(attribute.value[keyName]),\n <br />,\n ]));\n\n return (\n <BasicAttribute\n attribute={attribute}\n >\n <RowValue\n name=\"Value\"\n value={values as any}\n />\n </BasicAttribute>\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 { h, FunctionalComponent } from '@stencil/core';\n\nimport type { Attribute } from '../../../crypto/attribute';\nimport { RowValue } from '../row';\nimport { BasicAttribute } from './basic_attribute';\n\ninterface IAsStringAttributeProps {\n attribute: Attribute<string>;\n}\n\nexport const AsStringAttribute:\nFunctionalComponent<IAsStringAttributeProps> = (props) => {\n const { attribute } = props;\n\n return (\n <BasicAttribute\n attribute={attribute}\n >\n <RowValue\n name=\"Value\"\n value={attribute.value}\n monospace\n />\n </BasicAttribute>\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 { h, FunctionalComponent } from '@stencil/core';\nimport type { UnstructuredName } from '@peculiar/asn1-pkcs9';\n\nimport type { Attribute } from '../../../crypto/attribute';\nimport { RowValue } from '../row';\nimport { BasicAttribute } from './basic_attribute';\n\ninterface IUnstructuredNameAttributeProps {\n attribute: Attribute<UnstructuredName>;\n}\n\nexport const UnstructuredNameAttribute:\nFunctionalComponent<IUnstructuredNameAttributeProps> = (props) => {\n const { attribute } = props;\n\n return (\n <BasicAttribute\n attribute={attribute}\n >\n <RowValue\n name=\"Value\"\n value={attribute.value.utf8String}\n />\n </BasicAttribute>\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 { h, FunctionalComponent } from '@stencil/core';\nimport type { ChallengePassword } from '@peculiar/asn1-pkcs9';\n\nimport type { Attribute } from '../../../crypto/attribute';\nimport { RowValue } from '../row';\nimport { BasicAttribute } from './basic_attribute';\n\ninterface IChallengePasswordAttributeProps {\n attribute: Attribute<ChallengePassword>;\n}\n\nexport const ChallengePasswordAttribute:\nFunctionalComponent<IChallengePasswordAttributeProps> = (props) => {\n const { attribute } = props;\n\n return (\n <BasicAttribute\n attribute={attribute}\n >\n <RowValue\n name=\"Value\"\n value={attribute.value.toString()}\n />\n </BasicAttribute>\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 { h, FunctionalComponent } from '@stencil/core';\nimport { Name } from '@peculiar/asn1-x509';\nimport {\n TypeRelationship,\n ActivityDescription,\n WebGDPR,\n InsuranceValue,\n ValuationRanking,\n} from '@peculiar/asn1-ntqwac';\nimport {\n UnstructuredName,\n ChallengePassword,\n} from '@peculiar/asn1-pkcs9';\n\nimport type { Attribute, TAttributeValue } from '../../../crypto/attribute';\nimport { RowTitle } from '../row';\nimport { NameAttribute } from './name_attribute';\nimport { ActivityDescriptionAttribute } from './activity_description_attribute';\nimport { WebGdprAttribute } from './web_gdpr_attribute';\nimport { InsuranceValueAttribute } from './insurance_value_attribute';\nimport { TypeRelationshipAttribute } from './type_relationship_attribute';\nimport { ValuationRankingAttribute } from './valuation_ranking_attribute';\nimport { BasicAttribute } from './basic_attribute';\nimport { AsStringAttribute } from './as_string_attribute';\nimport { UnstructuredNameAttribute } from './unstructured_name_attribute';\nimport { ChallengePasswordAttribute } from './challenge_password_attribute';\n\ninterface IAttributesPtops extends\n IGeneralNameOptions,\n ILeiOptions,\n IAuthorityKeyIdentifierOptions,\n ISubjectKeyIdentifierOptions {\n attributes: Attribute<TAttributeValue>[];\n}\n\nexport const Attributes: FunctionalComponent<IAttributesPtops> = (props) => {\n const { attributes } = props;\n\n if (!attributes || !attributes.length) {\n return null;\n }\n\n return ([\n <RowTitle\n value=\"Attributes\"\n />,\n attributes.map((attribute) => {\n try {\n if (attribute.value instanceof Name) {\n return (\n <NameAttribute\n attribute={attribute as any}\n />\n );\n }\n\n if (attribute.value instanceof ActivityDescription) {\n return (\n <ActivityDescriptionAttribute\n attribute={attribute as any}\n />\n );\n }\n\n if (attribute.value instanceof WebGDPR) {\n return (\n <WebGdprAttribute\n attribute={attribute as any}\n />\n );\n }\n\n if (attribute.value instanceof InsuranceValue) {\n return (\n <InsuranceValueAttribute\n attribute={attribute as any}\n />\n );\n }\n\n if (attribute.value instanceof TypeRelationship) {\n return (\n <TypeRelationshipAttribute\n attribute={attribute as any}\n />\n );\n }\n\n if (attribute.value instanceof ValuationRanking) {\n return (\n <ValuationRankingAttribute\n attribute={attribute as any}\n />\n );\n }\n\n if (attribute.value instanceof UnstructuredName) {\n return (\n <UnstructuredNameAttribute\n attribute={attribute as any}\n />\n );\n }\n\n if (attribute.value instanceof ChallengePassword) {\n return (\n <ChallengePasswordAttribute\n attribute={attribute as any}\n />\n );\n }\n\n if (typeof attribute.value === 'string') {\n return (\n <AsStringAttribute\n attribute={attribute as any}\n />\n );\n }\n\n return (\n <BasicAttribute\n attribute={attribute}\n />\n );\n } catch (error) {\n console.error('Error render attribute:', attribute.asn.type);\n\n return null;\n }\n }),\n ]);\n};\n"],"version":3}
1
+ {"file":"index2.js","mappings":";;;;;;;AAAA;;;;;;AAMG;AAYI,MAAM,cAAc,GAA8C,CAAC,KAAK,EAAE,QAAQ,KAAI;AAC3F,IAAA,MAAM,EAAE,SAAS,EAAE,GAAG,KAAK;AAE3B,IAAA,QAAQ;AACN,QAAA,CAAA,CAAC,QAAQ,EACP,EAAA,IAAI,EAAC,MAAM,EACX,KAAK,EAAE,cAAc,CAAC,SAAS,CAAC,GAAG,CAAC,IAAI,CAAC,EACzC,CAAA;QACF,QAAQ;AACR,QAAA,CAAA,CAAA,IAA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,KAAK,YAAY,gBAAgB,EAAE;oBAC/C,QACE,EAAC,yBAAyB,EAAA,EACxB,SAAS,EAAE,SAAgB,EAC3B,CAAA;;AAIN,gBAAA,IAAI,SAAS,CAAC,KAAK,YAAY,gBAAgB,EAAE;oBAC/C,QACE,EAAC,yBAAyB,EAAA,EACxB,SAAS,EAAE,SAAgB,EAC3B,CAAA;;AAIN,gBAAA,IAAI,SAAS,CAAC,KAAK,YAAY,iBAAiB,EAAE;oBAChD,QACE,EAAC,0BAA0B,EAAA,EACzB,SAAS,EAAE,SAAgB,EAC3B,CAAA;;AAIN,gBAAA,IAAI,OAAO,SAAS,CAAC,KAAK,KAAK,QAAQ,EAAE;oBACvC,QACE,EAAC,iBAAiB,EAAA,EAChB,SAAS,EAAE,SAAgB,EAC3B,CAAA;;gBAIN,QACE,EAAC,cAAc,EAAA,EACb,SAAS,EAAE,SAAS,EACpB,CAAA;;YAEJ,OAAO,KAAK,EAAE;gBACd,OAAO,CAAC,KAAK,CAAC,yBAAyB,EAAE,SAAS,CAAC,GAAG,CAAC,IAAI,CAAC;AAE5D,gBAAA,OAAO,IAAI;;AAEf,SAAC,CAAC;AACH,KAAA;AACH;;;;","names":["Name"],"sources":["src/components/certificate-details-parts/attributes/basic_attribute.tsx","src/components/certificate-details-parts/attributes/name_part.tsx","src/components/certificate-details-parts/attributes/name_attribute.tsx","src/components/certificate-details-parts/attributes/activity_description_attribute.tsx","src/components/certificate-details-parts/attributes/web_gdpr_attribute.tsx","src/components/certificate-details-parts/attributes/insurance_value_attribute.tsx","src/components/certificate-details-parts/attributes/type_relationship_attribute.tsx","src/components/certificate-details-parts/attributes/valuation_ranking_attribute.tsx","src/components/certificate-details-parts/attributes/as_string_attribute.tsx","src/components/certificate-details-parts/attributes/unstructured_name_attribute.tsx","src/components/certificate-details-parts/attributes/challenge_password_attribute.tsx","src/components/certificate-details-parts/attributes/index.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 { h, FunctionalComponent } from '@stencil/core';\n\nimport type { Attribute, TAttributeValue } from '../../../crypto/attribute';\nimport { getStringByOID } from '../../../utils';\nimport { RowValue } from '../row';\n\ninterface IBasicAttributeProps {\n attribute: Attribute<TAttributeValue>;\n}\n\nexport const BasicAttribute: FunctionalComponent<IBasicAttributeProps> = (props, children) => {\n const { attribute } = props;\n\n return ([\n <RowValue\n name=\"Name\"\n value={getStringByOID(attribute.asn.type)}\n />,\n children,\n <tr>\n <td colSpan={2} class=\"divider\">\n <span />\n </td>\n </tr>,\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 { h, FunctionalComponent } from '@stencil/core';\nimport type { Name } from '@peculiar/asn1-x509';\n\nimport { OIDs } from '../../../constants/oids';\nimport { RowValue } from '../row';\n\ninterface INamePartProps {\n name: Name;\n}\n\nexport const NamePart: FunctionalComponent<INamePartProps> = (props): any[] => {\n const { name } = props;\n\n if (!name) {\n return null;\n }\n\n return name.map((relativeDistinguishedName) => (\n relativeDistinguishedName.map((attributeTypeAndValue) => (\n <RowValue\n name={OIDs[attributeTypeAndValue.type] || attributeTypeAndValue.type}\n value={attributeTypeAndValue.value.toString()}\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 { h, FunctionalComponent } from '@stencil/core';\nimport type { Name } from '@peculiar/asn1-x509';\n\nimport type { Attribute } from '../../../crypto/attribute';\nimport { BasicAttribute } from './basic_attribute';\nimport { NamePart } from './name_part';\n\ninterface INameAttributeProps {\n attribute: Attribute<Name>;\n}\n\nexport const NameAttribute:\nFunctionalComponent<INameAttributeProps> = (props) => {\n const { attribute } = props;\n\n return (\n <BasicAttribute\n attribute={attribute}\n >\n <NamePart\n name={attribute.value}\n />\n </BasicAttribute>\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 { h, FunctionalComponent } from '@stencil/core';\nimport type { ActivityDescription } from '@peculiar/asn1-ntqwac';\n\nimport { Attribute } from '../../../crypto/attribute';\nimport { camelCaseToWords } from '../../../utils';\nimport { GeneralNamePart } from '../extensions/general_name_part';\nimport { RowValue, TableRowTable } from '../row';\nimport { BasicAttribute } from './basic_attribute';\n\ninterface IActivityDescriptionAttributeProps {\n attribute: Attribute<ActivityDescription>;\n}\n\nexport const ActivityDescriptionAttribute:\nFunctionalComponent<IActivityDescriptionAttributeProps> = (props) => {\n const { attribute } = props;\n\n return (\n <BasicAttribute\n attribute={attribute}\n >\n <RowValue\n name={camelCaseToWords('codeAuthority')}\n value=\"\"\n />\n <TableRowTable>\n <GeneralNamePart\n generalName={attribute.value.codeAuthority}\n getDNSNameLink={() => ''}\n getIPAddressLink={() => ''}\n />\n </TableRowTable>\n\n <RowValue\n name={camelCaseToWords('codeId')}\n value=\"\"\n />\n <TableRowTable>\n <GeneralNamePart\n generalName={attribute.value.codeId}\n getDNSNameLink={() => ''}\n getIPAddressLink={() => ''}\n />\n </TableRowTable>\n\n <RowValue\n name={camelCaseToWords('shortName')}\n value={attribute.value.shortName}\n />\n <RowValue\n name={camelCaseToWords('shortDescription')}\n value={attribute.value.shortDescription}\n />\n </BasicAttribute>\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 { h, FunctionalComponent } from '@stencil/core';\nimport type { WebGDPR } from '@peculiar/asn1-ntqwac';\n\nimport type { Attribute } from '../../../crypto/attribute';\nimport { camelCaseToWords } from '../../../utils';\nimport { GeneralNamePart } from '../extensions/general_name_part';\nimport { RowValue, TableRowTable } from '../row';\nimport { BasicAttribute } from './basic_attribute';\n\ninterface IWebGdprAttributeProps {\n attribute: Attribute<WebGDPR>;\n}\n\nexport const WebGdprAttribute:\nFunctionalComponent<IWebGdprAttributeProps> = (props) => {\n const { attribute } = props;\n\n return (\n <BasicAttribute\n attribute={attribute}\n >\n <RowValue\n name={camelCaseToWords('assessmentAuthority')}\n value=\"\"\n />\n <TableRowTable>\n <GeneralNamePart\n generalName={attribute.value.assessmentAuthority}\n getDNSNameLink={() => ''}\n getIPAddressLink={() => ''}\n />\n </TableRowTable>\n\n <RowValue\n name={camelCaseToWords('assessmentLocation')}\n value=\"\"\n />\n <TableRowTable>\n <GeneralNamePart\n generalName={attribute.value.assessmentLocation}\n getDNSNameLink={() => ''}\n getIPAddressLink={() => ''}\n />\n </TableRowTable>\n\n <RowValue\n name={camelCaseToWords('assessmentRef')}\n value=\"\"\n />\n <TableRowTable>\n <GeneralNamePart\n generalName={attribute.value.assessmentRef}\n getDNSNameLink={() => ''}\n getIPAddressLink={() => ''}\n />\n </TableRowTable>\n\n <RowValue\n name={camelCaseToWords('dataStorageTerritory')}\n value={attribute.value.dataStorageTerritory}\n />\n <RowValue\n name={camelCaseToWords('description')}\n value={attribute.value.description}\n />\n </BasicAttribute>\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 { h, FunctionalComponent } from '@stencil/core';\nimport type { InsuranceValue } from '@peculiar/asn1-ntqwac';\n\nimport type { Attribute } from '../../../crypto/attribute';\nimport { RowValue } from '../row';\nimport { BasicAttribute } from './basic_attribute';\n\ninterface IInsuranceValueAttributeProps {\n attribute: Attribute<InsuranceValue>;\n}\n\nexport const InsuranceValueAttribute:\nFunctionalComponent<IInsuranceValueAttributeProps> = (props) => {\n const { attribute } = props;\n const value = `${attribute.value.base} * 10^${attribute.value.degree} ${attribute.value.location}`;\n\n return (\n <BasicAttribute\n attribute={attribute}\n >\n <RowValue\n name=\"Value\"\n value={value}\n />\n </BasicAttribute>\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 { h, FunctionalComponent } from '@stencil/core';\nimport type { TypeRelationship } from '@peculiar/asn1-ntqwac';\n\nimport type { Attribute } from '../../../crypto/attribute';\nimport { l10n } from '../../../utils';\nimport { RowValue } from '../row';\nimport { BasicAttribute } from './basic_attribute';\n\ninterface ITypeRelationshipAttributeProps {\n attribute: Attribute<TypeRelationship>;\n}\n\nexport const TypeRelationshipAttribute:\nFunctionalComponent<ITypeRelationshipAttributeProps> = (props) => {\n const { attribute } = props;\n\n return (\n <BasicAttribute\n attribute={attribute}\n >\n {Object.keys(attribute.value).map((keyName) => (\n <RowValue\n name={keyName}\n value={attribute.value[keyName].toNumber() ? l10n.getString('yes') : l10n.getString('no')}\n />\n ))}\n </BasicAttribute>\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 { h, FunctionalComponent } from '@stencil/core';\nimport type { ValuationRanking } from '@peculiar/asn1-ntqwac';\n\nimport type { Attribute } from '../../../crypto/attribute';\nimport { RowValue } from '../row';\nimport { BasicAttribute } from './basic_attribute';\n\ninterface IValuationRankingAttributeProps {\n attribute: Attribute<ValuationRanking>;\n}\n\nconst getValueRank = (value: number): string => {\n let ratio = 1;\n\n if (value / 100 > 1) {\n ratio = 100;\n } else if (value / 10 > 1) {\n ratio = 10;\n }\n\n return `${value}/${5 * ratio}`;\n};\n\nexport const ValuationRankingAttribute:\nFunctionalComponent<IValuationRankingAttributeProps> = (props) => {\n const { attribute } = props;\n const values = Object.keys(attribute.value).map((keyName) => ([\n getValueRank(attribute.value[keyName]),\n <br />,\n ]));\n\n return (\n <BasicAttribute\n attribute={attribute}\n >\n <RowValue\n name=\"Value\"\n value={values as any}\n />\n </BasicAttribute>\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 { h, FunctionalComponent } from '@stencil/core';\n\nimport type { Attribute } from '../../../crypto/attribute';\nimport { RowValue } from '../row';\nimport { BasicAttribute } from './basic_attribute';\n\ninterface IAsStringAttributeProps {\n attribute: Attribute<string>;\n}\n\nexport const AsStringAttribute:\nFunctionalComponent<IAsStringAttributeProps> = (props) => {\n const { attribute } = props;\n\n return (\n <BasicAttribute\n attribute={attribute}\n >\n <RowValue\n name=\"Value\"\n value={attribute.value}\n monospace\n />\n </BasicAttribute>\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 { h, FunctionalComponent } from '@stencil/core';\nimport type { UnstructuredName } from '@peculiar/asn1-pkcs9';\n\nimport type { Attribute } from '../../../crypto/attribute';\nimport { RowValue } from '../row';\nimport { BasicAttribute } from './basic_attribute';\n\ninterface IUnstructuredNameAttributeProps {\n attribute: Attribute<UnstructuredName>;\n}\n\nexport const UnstructuredNameAttribute:\nFunctionalComponent<IUnstructuredNameAttributeProps> = (props) => {\n const { attribute } = props;\n\n return (\n <BasicAttribute\n attribute={attribute}\n >\n <RowValue\n name=\"Value\"\n value={attribute.value.utf8String}\n />\n </BasicAttribute>\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 { h, FunctionalComponent } from '@stencil/core';\nimport type { ChallengePassword } from '@peculiar/asn1-pkcs9';\n\nimport type { Attribute } from '../../../crypto/attribute';\nimport { RowValue } from '../row';\nimport { BasicAttribute } from './basic_attribute';\n\ninterface IChallengePasswordAttributeProps {\n attribute: Attribute<ChallengePassword>;\n}\n\nexport const ChallengePasswordAttribute:\nFunctionalComponent<IChallengePasswordAttributeProps> = (props) => {\n const { attribute } = props;\n\n return (\n <BasicAttribute\n attribute={attribute}\n >\n <RowValue\n name=\"Value\"\n value={attribute.value.toString()}\n />\n </BasicAttribute>\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 { h, FunctionalComponent } from '@stencil/core';\nimport { Name } from '@peculiar/asn1-x509';\nimport {\n TypeRelationship,\n ActivityDescription,\n WebGDPR,\n InsuranceValue,\n ValuationRanking,\n} from '@peculiar/asn1-ntqwac';\nimport {\n UnstructuredName,\n ChallengePassword,\n} from '@peculiar/asn1-pkcs9';\n\nimport type { Attribute, TAttributeValue } from '../../../crypto/attribute';\nimport { RowTitle } from '../row';\nimport { NameAttribute } from './name_attribute';\nimport { ActivityDescriptionAttribute } from './activity_description_attribute';\nimport { WebGdprAttribute } from './web_gdpr_attribute';\nimport { InsuranceValueAttribute } from './insurance_value_attribute';\nimport { TypeRelationshipAttribute } from './type_relationship_attribute';\nimport { ValuationRankingAttribute } from './valuation_ranking_attribute';\nimport { BasicAttribute } from './basic_attribute';\nimport { AsStringAttribute } from './as_string_attribute';\nimport { UnstructuredNameAttribute } from './unstructured_name_attribute';\nimport { ChallengePasswordAttribute } from './challenge_password_attribute';\n\ninterface IAttributesPtops extends\n IGeneralNameOptions,\n ILeiOptions,\n IAuthorityKeyIdentifierOptions,\n ISubjectKeyIdentifierOptions {\n attributes: Attribute<TAttributeValue>[];\n}\n\nexport const Attributes: FunctionalComponent<IAttributesPtops> = (props) => {\n const { attributes } = props;\n\n if (!attributes || !attributes.length) {\n return null;\n }\n\n return ([\n <RowTitle\n value=\"Attributes\"\n />,\n attributes.map((attribute) => {\n try {\n if (attribute.value instanceof Name) {\n return (\n <NameAttribute\n attribute={attribute as any}\n />\n );\n }\n\n if (attribute.value instanceof ActivityDescription) {\n return (\n <ActivityDescriptionAttribute\n attribute={attribute as any}\n />\n );\n }\n\n if (attribute.value instanceof WebGDPR) {\n return (\n <WebGdprAttribute\n attribute={attribute as any}\n />\n );\n }\n\n if (attribute.value instanceof InsuranceValue) {\n return (\n <InsuranceValueAttribute\n attribute={attribute as any}\n />\n );\n }\n\n if (attribute.value instanceof TypeRelationship) {\n return (\n <TypeRelationshipAttribute\n attribute={attribute as any}\n />\n );\n }\n\n if (attribute.value instanceof ValuationRanking) {\n return (\n <ValuationRankingAttribute\n attribute={attribute as any}\n />\n );\n }\n\n if (attribute.value instanceof UnstructuredName) {\n return (\n <UnstructuredNameAttribute\n attribute={attribute as any}\n />\n );\n }\n\n if (attribute.value instanceof ChallengePassword) {\n return (\n <ChallengePasswordAttribute\n attribute={attribute as any}\n />\n );\n }\n\n if (typeof attribute.value === 'string') {\n return (\n <AsStringAttribute\n attribute={attribute as any}\n />\n );\n }\n\n return (\n <BasicAttribute\n attribute={attribute}\n />\n );\n } catch (error) {\n console.error('Error render attribute:', attribute.asn.type);\n\n return null;\n }\n }),\n ]);\n};\n"],"version":3}
@@ -2,7 +2,7 @@
2
2
  * © Peculiar Ventures https://peculiarventures.com/ - MIT License
3
3
  */
4
4
  import { h } from '@stencil/core/internal/client';
5
- import { M as l10n, L as Link } from './download.js';
5
+ import { l as l10n, L as Link } from './download.js';
6
6
  import { R as RowTitle, a as RowValue } from './miscellaneous.js';
7
7
 
8
8
  /**
@@ -22,5 +22,6 @@ const IssuerName = (props) => {
22
22
  };
23
23
 
24
24
  export { IssuerName as I };
25
+ //# sourceMappingURL=issuer_name.js.map
25
26
 
26
27
  //# sourceMappingURL=issuer_name.js.map
@@ -1 +1 @@
1
- {"file":"issuer_name.js","mappings":";;;;;;;AAAA;;;;;;;MAoBa,UAAU,GAA2C,CAAC,KAAK;IACtE,MAAM,EAAE,IAAI,EAAE,YAAY,EAAE,GAAG,KAAK,CAAC;IACrC,MAAM,KAAK,GAAG,IAAI,CAAC,SAAS,CAAC,YAAY,CAAC,CAAC;IAE3C,OAAO;QACL,EAAC,QAAQ,IACP,KAAK,EAAE,YAAY,IACjB,EAAC,IAAI,IACH,IAAI,EAAE,YAAY,IAEjB,KAAK,CACD,IACL,KAAK,GACT;QACF,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,MACT,EAAC,QAAQ,IACP,IAAI,EAAE,CAAC,CAAC,IAAI,IAAI,CAAC,CAAC,IAAI,EACtB,KAAK,EAAE,CAAC,CAAC,KAAK,GACd,CACH,CAAC;KACH,CAAC;AACJ;;;;","names":[],"sources":["src/components/certificate-details-parts/issuer_name.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 { h, FunctionalComponent } from '@stencil/core';\n\nimport type { INameJSON } from '../../crypto/name';\nimport { l10n } from '../../utils';\nimport { Link } from '../link';\nimport { RowTitle, RowValue } from './row';\n\ninterface ISubjectNameProps {\n name: INameJSON[];\n issuerDnLink?: string;\n}\n\nexport const IssuerName: FunctionalComponent<ISubjectNameProps> = (props) => {\n const { name, issuerDnLink } = props;\n const title = l10n.getString('issuerName');\n\n return [\n <RowTitle\n value={issuerDnLink ? (\n <Link\n href={issuerDnLink}\n >\n {title}\n </Link>\n ) : title}\n />,\n name.map((n) => (\n <RowValue\n name={n.name || n.type}\n value={n.value}\n />\n )),\n ];\n};\n"],"version":3}
1
+ {"file":"issuer_name.js","mappings":";;;;;;;AAAA;;;;;;AAMG;AAcU,MAAA,UAAU,GAA2C,CAAC,KAAK,KAAI;AAC1E,IAAA,MAAM,EAAE,IAAI,EAAE,YAAY,EAAE,GAAG,KAAK;IACpC,MAAM,KAAK,GAAG,IAAI,CAAC,SAAS,CAAC,YAAY,CAAC;IAE1C,OAAO;QACL,CAAC,CAAA,QAAQ,IACP,KAAK,EAAE,YAAY,IACjB,CAAC,CAAA,IAAI,IACH,IAAI,EAAE,YAAY,EAAA,EAEjB,KAAK,CACD,IACL,KAAK,EACT,CAAA;AACF,QAAA,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,MACT,CAAA,CAAC,QAAQ,EAAA,EACP,IAAI,EAAE,CAAC,CAAC,IAAI,IAAI,CAAC,CAAC,IAAI,EACtB,KAAK,EAAE,CAAC,CAAC,KAAK,EAAA,CACd,CACH,CAAC;KACH;AACH;;;;","names":[],"sources":["src/components/certificate-details-parts/issuer_name.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 { h, FunctionalComponent } from '@stencil/core';\n\nimport type { INameJSON } from '../../crypto/name';\nimport { l10n } from '../../utils';\nimport { Link } from '../link';\nimport { RowTitle, RowValue } from './row';\n\ninterface ISubjectNameProps {\n name: INameJSON[];\n issuerDnLink?: string;\n}\n\nexport const IssuerName: FunctionalComponent<ISubjectNameProps> = (props) => {\n const { name, issuerDnLink } = props;\n const title = l10n.getString('issuerName');\n\n return [\n <RowTitle\n value={issuerDnLink ? (\n <Link\n href={issuerDnLink}\n >\n {title}\n </Link>\n ) : title}\n />,\n name.map((n) => (\n <RowValue\n name={n.name || n.type}\n value={n.value}\n />\n )),\n ];\n};\n"],"version":3}
@@ -2,7 +2,7 @@
2
2
  * © Peculiar Ventures https://peculiarventures.com/ - MIT License
3
3
  */
4
4
  import { h } from '@stencil/core/internal/client';
5
- import { O as OIDs, L as Link, M as l10n, Q as dateShort, f as Convert_1, S as Name, X as OtherName, l as AsnParser, Y as DisplayText, Z as UserNotice, _ as BufferSourceConverter_1, $ as EDIPartyName, a0 as __decorate, a1 as AsnProp, a2 as AsnPropTypes, a3 as AsnType, a4 as AsnTypeTypes, a5 as AsnArray, a6 as id_qcs_pkixQCSyntax_v2, a7 as SemanticsInformation, a8 as AsnIntegerArrayBufferConverter, a9 as AttestationApplicationId, aa as RootOfTrust, ab as IntegerSet, ac as KeyUsage, ad as BasicConstraints, ae as ExtendedKeyUsage, af as SubjectKeyIdentifier, ag as AuthorityKeyIdentifier, ah as CRLDistributionPoints, ai as AuthorityInfoAccessSyntax, aj as SubjectInfoAccessSyntax, ak as SubjectAlternativeName, al as CertificatePolicies, am as CertificateTransparency, an as NameConstraints, ao as CertificateTemplate, ap as EnrollCertTypeChoice, aq as CaVersion, ar as QCStatements, as as NetscapeComment, at as NetscapeCertType, au as LeiRole, av as LeiChoice, aw as Timestamp, ax as ArchiveRevInfo, ay as CRLReason, az as SubjectDirectoryAttributes, aA as PrivateKeyUsagePeriod, aB as EntrustVersionInfo, aC as BiometricSyntax, aD as LogotypeExtn, aE as TNAuthorizationList, aF as PolicyConstraints, aG as PolicyMappings, aH as CRLNumber, aI as IssuingDistributionPoint, aJ as NonStandardKeyDescription, aK as CabforganizationIdentifier, a as DownloadIcon } from './download.js';
5
+ import { _ as OIDs, L as Link, l as l10n, Z as dateShort, f as buildExports, aa as Name$1, ab as OtherName, m as AsnParser, ac as DisplayText, ad as UserNotice, ae as EDIPartyName, af as __decorate, ag as AsnProp, ah as AsnPropTypes, ai as AsnType, aj as AsnTypeTypes, ak as AsnArray, al as id_qcs_pkixQCSyntax_v2, am as SemanticsInformation, an as AsnIntegerArrayBufferConverter, ao as AttestationApplicationId, ap as RootOfTrust, aq as IntegerSet, ar as KeyUsage, as as BasicConstraints, at as ExtendedKeyUsage, au as SubjectKeyIdentifier, av as AuthorityKeyIdentifier, aw as CRLDistributionPoints, ax as AuthorityInfoAccessSyntax, ay as SubjectInfoAccessSyntax, az as SubjectAlternativeName, aA as CertificatePolicies, aB as CertificateTransparency, aC as NameConstraints, aD as CertificateTemplate, aE as EnrollCertTypeChoice, aF as CaVersion, aG as QCStatements, aH as NetscapeComment, aI as NetscapeCertType, aJ as LeiRole, aK as LeiChoice, aL as Timestamp, aM as ArchiveRevInfo, a0 as CRLReason, aN as SubjectDirectoryAttributes, aO as PrivateKeyUsagePeriod, aP as EntrustVersionInfo, aQ as BiometricSyntax, aR as LogotypeExtn, aS as TNAuthorizationList, aT as PolicyConstraints, aU as PolicyMappings, aV as CRLNumber, aW as IssuingDistributionPoint, aX as NonStandardKeyDescription, aY as CabforganizationIdentifier, a as DownloadIcon } from './download.js';
6
6
  import { T as Typography, B as Button } from './button.js';
7
7
 
8
8
  /**
@@ -141,7 +141,7 @@ const Signature = (props) => {
141
141
  function renderSignatureDetails(data) {
142
142
  return [
143
143
  h(RowValue, { name: l10n.getString('algorithm'), value: getStringByOID(data.algorithm) }),
144
- h(RowValue, { name: l10n.getString('value'), value: Convert_1.ToHex(data.value), monospace: true, collapse: true }),
144
+ h(RowValue, { name: l10n.getString('value'), value: buildExports.Convert.ToHex(data.value), monospace: true, collapse: true }),
145
145
  ];
146
146
  }
147
147
  return [
@@ -244,7 +244,7 @@ const ExtendedKeyUsageExtension = (props) => {
244
244
  */
245
245
  const SubjectKeyIdentifierExtension = (props) => {
246
246
  const { extension, getSubjectKeyIdChildrenLink, getSubjectKeyIdSiblingsLink } = props;
247
- const keyId = Convert_1.ToHex(extension.value.buffer);
247
+ const keyId = buildExports.Convert.ToHex(extension.value.buffer);
248
248
  const childrenLink = getSubjectKeyIdChildrenLink(keyId);
249
249
  const siblingsLink = getSubjectKeyIdSiblingsLink(keyId);
250
250
  return (h(BasicExtension, { extension: extension },
@@ -269,7 +269,7 @@ const SubjectKeyIdentifierExtension = (props) => {
269
269
  */
270
270
  const AuthorityKeyIdentifierExtension = (props) => {
271
271
  const { extension, getAuthKeyIdParentLink, getAuthKeyIdSiblingsLink } = props;
272
- const keyId = Convert_1.ToHex(extension.value.keyIdentifier.buffer);
272
+ const keyId = buildExports.Convert.ToHex(extension.value.keyIdentifier.buffer);
273
273
  const parentLink = getAuthKeyIdParentLink(keyId);
274
274
  const siblingsLink = getAuthKeyIdSiblingsLink(keyId);
275
275
  return (h(BasicExtension, { extension: extension },
@@ -310,7 +310,7 @@ const GeneralNamePart = (props) => {
310
310
  }
311
311
  return Object.keys(generalName).map((name) => {
312
312
  const value = generalName[name];
313
- if (value instanceof Name) {
313
+ if (value instanceof Name$1) {
314
314
  return [
315
315
  h(RowValue, { name: names[name] || name, value: "" }),
316
316
  h(TableRowTable, null, value.map((relativeDistinguishedName) => (relativeDistinguishedName.map((attributeTypeAndValue) => (h(RowValue, { name: OIDs[attributeTypeAndValue.type] || attributeTypeAndValue.type, value: attributeTypeAndValue.value.toString() })))))),
@@ -333,10 +333,10 @@ const GeneralNamePart = (props) => {
333
333
  catch (error) {
334
334
  //
335
335
  }
336
- return (h(RowValue, { name: OIDs[value.typeId] || value.typeId, value: Convert_1.ToHex(value.value), monospace: true }));
336
+ return (h(RowValue, { name: OIDs[value.typeId] || value.typeId, value: buildExports.Convert.ToHex(value.value), monospace: true }));
337
337
  }
338
- if (BufferSourceConverter_1.isBufferSource(value)) {
339
- return (h(RowValue, { name: names[name] || name, value: Convert_1.ToString(value) }));
338
+ if (buildExports.BufferSourceConverter.isBufferSource(value)) {
339
+ return (h(RowValue, { name: names[name] || name, value: buildExports.Convert.ToString(value) }));
340
340
  }
341
341
  if (value instanceof EDIPartyName) {
342
342
  return (h(RowValue, { name: names[name] || name, value: value.partyName.toString() }));
@@ -440,7 +440,7 @@ const CertificatePoliciesExtension = (props) => {
440
440
  * This source code is licensed under the MIT license found in the
441
441
  * LICENSE file in the root directory of this source tree.
442
442
  */
443
- const logs = {
443
+ var logs = {
444
444
  '9606c02c690033aa1d145f59c6e2648d0549f0df96aab8db915a70d8ecf390a5': 'Akamai CT',
445
445
  '39376f545f7b4607f59742d768cd5d2437bf3473b6534a4834bcf72e681c83c9': 'Alpha CT',
446
446
  a577ac9ced7548dd8f025b67a241089df86e0f476ec203c2ecbedb185f282638: 'CNNIC CT',
@@ -743,7 +743,7 @@ const QCStatementsExtension = (props) => {
743
743
  h(RowValue, { name: "Language", value: location.language })))),
744
744
  ]);
745
745
  }
746
- return (h(RowValue, { name: "Info", value: Convert_1.ToHex(statementInfo), monospace: true }));
746
+ return (h(RowValue, { name: "Info", value: buildExports.Convert.ToHex(statementInfo), monospace: true }));
747
747
  }
748
748
  return (h(BasicExtension, { extension: extension }, Boolean(extension.value.length) && ([
749
749
  h(RowValue, { name: "Statements", value: "" }),
@@ -854,7 +854,7 @@ const CRLReasonExtension = (props) => {
854
854
  * LICENSE file in the root directory of this source tree.
855
855
  */
856
856
  function getAttributeValue(attribute) {
857
- return Convert_1.ToString(attribute.values[0]);
857
+ return buildExports.Convert.ToString(attribute.values[0]);
858
858
  }
859
859
 
860
860
  /**
@@ -930,7 +930,7 @@ const BiometricSyntaxExtension = (props) => {
930
930
  h(RowValue, { name: "OID", value: getStringByOID(data.typeOfBiometricData.biometricDataOid) }),
931
931
  h(RowValue, { name: "Type", value: data.typeOfBiometricData.predefinedBiometricType }),
932
932
  h(RowValue, { name: "Algorithm", value: getStringByOID(data.hashAlgorithm.algorithm) }),
933
- h(RowValue, { name: "Hash", value: Convert_1.ToHex(data.biometricDataHash.buffer), monospace: true }),
933
+ h(RowValue, { name: "Hash", value: buildExports.Convert.ToHex(data.biometricDataHash.buffer), monospace: true }),
934
934
  h(RowValue, { name: "Source Uri", value: data.sourceDataUri })))),
935
935
  ])));
936
936
  };
@@ -952,7 +952,7 @@ const LogotypeExtension = (props) => {
952
952
  const { imageDetails } = img;
953
953
  return [
954
954
  h(RowValue, { name: "Image Type", value: imageDetails.mediaType }),
955
- h(RowValue, { name: "Image Hash", value: Convert_1.ToHex(imageDetails.logotypeHash[0].hashValue), monospace: true }),
955
+ h(RowValue, { name: "Image Hash", value: buildExports.Convert.ToHex(imageDetails.logotypeHash[0].hashValue), monospace: true }),
956
956
  h(RowValue, { name: "Image URL", value: imageDetails.logotypeURI[0], monospace: true, collapse: true }),
957
957
  h(RowValue, { name: "Image Hash Algorithm", value: getStringByOID(imageDetails.logotypeHash[0].hashAlg.algorithm) }),
958
958
  ];
@@ -966,7 +966,7 @@ const LogotypeExtension = (props) => {
966
966
  const { audioDetails } = aud;
967
967
  return [
968
968
  h(RowValue, { name: "Audio Type", value: audioDetails.mediaType }),
969
- h(RowValue, { name: "Audio Hash", value: Convert_1.ToHex(audioDetails.logotypeHash[0].hashValue), monospace: true }),
969
+ h(RowValue, { name: "Audio Hash", value: buildExports.Convert.ToHex(audioDetails.logotypeHash[0].hashValue), monospace: true }),
970
970
  h(RowValue, { name: "Audio URL", value: audioDetails.logotypeURI[0], monospace: true, collapse: true }),
971
971
  h(RowValue, { name: "Audio Hash Algorithm", value: getStringByOID(audioDetails.logotypeHash[0].hashAlg.algorithm) }),
972
972
  ];
@@ -1105,7 +1105,7 @@ const KeyDescriptionExtension = (props) => {
1105
1105
  h(RowValue, { name: camelCaseToWords(keyName), value: "" }),
1106
1106
  h(TableRowTable, null, renderRowValue(keyValue)),
1107
1107
  ];
1108
- case BufferSourceConverter_1.isBufferSource(keyValue):
1108
+ case buildExports.BufferSourceConverter.isBufferSource(keyValue):
1109
1109
  if (keyName === 'attestationApplicationId') {
1110
1110
  try {
1111
1111
  const parsed = AsnParser.parse(keyValue, AttestationApplicationId);
@@ -1123,10 +1123,10 @@ const KeyDescriptionExtension = (props) => {
1123
1123
  }
1124
1124
  }
1125
1125
  try {
1126
- value = Convert_1.ToString(keyValue);
1126
+ value = buildExports.Convert.ToString(keyValue);
1127
1127
  }
1128
1128
  catch (error) {
1129
- value = Convert_1.ToHex(keyValue);
1129
+ value = buildExports.Convert.ToHex(keyValue);
1130
1130
  }
1131
1131
  break;
1132
1132
  }
@@ -1146,8 +1146,8 @@ const KeyDescriptionExtension = (props) => {
1146
1146
  h(RowValue, { name: camelCaseToWords('attestationSecurityLevel'), value: extension.value.attestationSecurityLevel }),
1147
1147
  h(RowValue, { name: camelCaseToWords('keymasterVersion'), value: extension.value.keymasterVersion }),
1148
1148
  h(RowValue, { name: camelCaseToWords('keymasterSecurityLevel'), value: extension.value.keymasterSecurityLevel }),
1149
- h(RowValue, { name: camelCaseToWords('attestationChallenge'), value: Convert_1.ToString(extension.value.attestationChallenge) }),
1150
- h(RowValue, { name: camelCaseToWords('uniqueId'), value: Convert_1.ToString(extension.value.uniqueId) || undefined }),
1149
+ h(RowValue, { name: camelCaseToWords('attestationChallenge'), value: buildExports.Convert.ToString(extension.value.attestationChallenge) }),
1150
+ h(RowValue, { name: camelCaseToWords('uniqueId'), value: buildExports.Convert.ToString(extension.value.uniqueId) || undefined }),
1151
1151
  renderAuthorizationList(camelCaseToWords('softwareEnforced'), extension.value.softwareEnforced),
1152
1152
  renderAuthorizationList(camelCaseToWords('teeEnforced'), extension.value.teeEnforced)));
1153
1153
  };
@@ -1316,6 +1316,7 @@ const Miscellaneous = (props) => {
1316
1316
  ];
1317
1317
  };
1318
1318
 
1319
- export { BasicInformation as B, Extensions as E, GeneralNamePart as G, Miscellaneous as M, RowTitle as R, Signature as S, TableRowTable as T, RowValue as a, Thumbprints as b, getLEILink as c, getDNSNameLink as d, getIPAddressLink as e, camelCaseToWords as f, getStringByOID as g };
1319
+ export { BasicInformation as B, Extensions as E, GeneralNamePart as G, Miscellaneous as M, RowTitle as R, Signature as S, Thumbprints as T, RowValue as a, getDNSNameLink as b, getLEILink as c, TableRowTable as d, getStringByOID as e, camelCaseToWords as f, getIPAddressLink as g };
1320
+ //# sourceMappingURL=miscellaneous.js.map
1320
1321
 
1321
1322
  //# sourceMappingURL=miscellaneous.js.map