@peculiar/certificates-viewer 4.3.1 → 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 (501) 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 +23 -22
  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 +64 -0
  14. package/components/certificate-chain-viewer.js.map +1 -0
  15. package/components/certificate-viewer.js +21 -21
  16. package/components/certificate-viewer.js.map +1 -1
  17. package/components/circular-progress.js +12 -6
  18. package/components/circular-progress.js.map +1 -1
  19. package/components/crl-viewer.js +22 -20
  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 +1096 -1598
  26. package/components/download.js.map +1 -1
  27. package/components/highlight-words.js +3 -4
  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.d.ts +11 -0
  39. package/components/peculiar-certificate-chain-viewer.js +12 -0
  40. package/components/peculiar-certificate-chain-viewer.js.map +1 -0
  41. package/components/peculiar-certificate-decoder.js +106 -23
  42. package/components/peculiar-certificate-decoder.js.map +1 -1
  43. package/components/peculiar-certificate-viewer.js +1 -0
  44. package/components/peculiar-certificates-viewer.js +35 -14
  45. package/components/peculiar-certificates-viewer.js.map +1 -1
  46. package/components/peculiar-circular-progress.js +1 -0
  47. package/components/peculiar-crl-viewer.js +1 -0
  48. package/components/peculiar-csr-viewer.js +1 -0
  49. package/components/peculiar-highlight-words.js +1 -0
  50. package/components/peculiar-text-hider.js +3 -3
  51. package/components/peculiar-text-hider.js.map +1 -1
  52. package/components/pkcs10_certificate_request.js +8 -7
  53. package/components/pkcs10_certificate_request.js.map +1 -1
  54. package/components/read_file.js +1 -0
  55. package/components/read_file.js.map +1 -1
  56. package/components/subject_name.js +4 -3
  57. package/components/subject_name.js.map +1 -1
  58. package/dist/cjs/{actions-789906f5.js → actions-Dl4HXXlI.js} +3 -2
  59. package/dist/cjs/actions-Dl4HXXlI.js.map +1 -0
  60. package/dist/cjs/{app-globals-c20ffa41.js → app-globals-BOZYdIuK.js} +2 -1
  61. package/dist/cjs/app-globals-BOZYdIuK.js.map +1 -0
  62. package/dist/cjs/{arrow_top-76e4261e.js → arrow_top-DBMPHVlB.js} +3 -2
  63. package/dist/cjs/arrow_top-DBMPHVlB.js.map +1 -0
  64. package/dist/cjs/{button-87086210.js → button-C5jDF-CZ.js} +3 -2
  65. package/dist/cjs/button-C5jDF-CZ.js.map +1 -0
  66. package/dist/cjs/{certification_request-ad267278.js → certification_request-Bipg1Az7.js} +1119 -1620
  67. package/dist/cjs/certification_request-Bipg1Az7.js.map +1 -0
  68. package/dist/cjs/{cross-bd099933.js → cross-pi7K0cHC.js} +3 -2
  69. package/dist/cjs/cross-pi7K0cHC.js.map +1 -0
  70. package/dist/cjs/{download-820d66ba.js → download-D9skkVoT.js} +3 -2
  71. package/dist/cjs/download-D9skkVoT.js.map +1 -0
  72. package/dist/cjs/index-BO3rFndV.js +2301 -0
  73. package/dist/cjs/index-BO3rFndV.js.map +1 -0
  74. package/dist/cjs/index.cjs.js +11 -12
  75. package/dist/cjs/index.cjs.js.map +1 -1
  76. package/dist/cjs/{link-a3d3799d.js → link-CwLq-Nge.js} +4 -3
  77. package/dist/cjs/link-CwLq-Nge.js.map +1 -0
  78. package/dist/cjs/loader.cjs.js +4 -5
  79. package/dist/cjs/loader.cjs.js.map +1 -1
  80. package/dist/cjs/{miscellaneous-67439e59.js → miscellaneous-C0sOAo-1.js} +25 -24
  81. package/dist/cjs/miscellaneous-C0sOAo-1.js.map +1 -0
  82. package/dist/cjs/peculiar-attribute-certificate-viewer.peculiar-certificate-chain-viewer.peculiar-crl-viewer.peculiar-csr-viewer.entry.cjs.js.map +1 -0
  83. package/dist/cjs/{peculiar-attribute-certificate-viewer_3.cjs.entry.js → peculiar-attribute-certificate-viewer_4.cjs.entry.js} +75 -45
  84. package/dist/cjs/peculiar-attribute-certificate-viewer_4.cjs.entry.js.map +1 -0
  85. package/dist/cjs/peculiar-button-menu.peculiar-circular-progress.peculiar-highlight-words.entry.cjs.js.map +1 -0
  86. package/dist/cjs/peculiar-button-menu_3.cjs.entry.js +20 -19
  87. package/dist/cjs/peculiar-button-menu_3.cjs.entry.js.map +1 -1
  88. package/dist/cjs/peculiar-certificate-decoder.cjs.entry.js +104 -29
  89. package/dist/cjs/peculiar-certificate-decoder.cjs.entry.js.map +1 -1
  90. package/dist/cjs/peculiar-certificate-decoder.entry.cjs.js.map +1 -0
  91. package/dist/cjs/peculiar-certificate-viewer.cjs.entry.js +19 -21
  92. package/dist/cjs/peculiar-certificate-viewer.cjs.entry.js.map +1 -1
  93. package/dist/cjs/peculiar-certificate-viewer.entry.cjs.js.map +1 -0
  94. package/dist/cjs/peculiar-certificates-viewer.cjs.entry.js +43 -24
  95. package/dist/cjs/peculiar-certificates-viewer.cjs.entry.js.map +1 -1
  96. package/dist/cjs/peculiar-certificates-viewer.entry.cjs.js.map +1 -0
  97. package/dist/cjs/peculiar-text-hider.cjs.entry.js +6 -8
  98. package/dist/cjs/peculiar-text-hider.cjs.entry.js.map +1 -1
  99. package/dist/cjs/peculiar-text-hider.entry.cjs.js.map +1 -0
  100. package/dist/cjs/peculiar.cjs.js +14 -13
  101. package/dist/cjs/peculiar.cjs.js.map +1 -1
  102. package/dist/cjs/{pkcs10_certificate_request-64898c88.js → pkcs10_certificate_request-BDz0P_px.js} +11 -10
  103. package/dist/cjs/pkcs10_certificate_request-BDz0P_px.js.map +1 -0
  104. package/dist/cjs/{read_file-2e22a97e.js → read_file-DWtcn3zU.js} +2 -1
  105. package/dist/cjs/read_file-DWtcn3zU.js.map +1 -0
  106. package/dist/cjs/{x509_certificate-4b0894c2.js → x509_certificate-DRvXOszL.js} +10 -9
  107. package/dist/cjs/x509_certificate-DRvXOszL.js.map +1 -0
  108. package/dist/cjs/{x509_crl-fc8d41a1.js → x509_crl-DVGVym_S.js} +17 -16
  109. package/dist/cjs/x509_crl-DVGVym_S.js.map +1 -0
  110. package/dist/collection/collection-manifest.json +3 -2
  111. package/dist/collection/components/attribute-certificate-viewer/attribute-certificate-viewer.js +24 -9
  112. package/dist/collection/components/attribute-certificate-viewer/attribute-certificate-viewer.js.map +1 -1
  113. package/dist/collection/components/button-menu/button-menu.js +4 -2
  114. package/dist/collection/components/button-menu/button-menu.js.map +1 -1
  115. package/dist/collection/components/certificate-chain-viewer/certificate-chain-viewer.css +1019 -0
  116. package/dist/collection/components/certificate-chain-viewer/certificate-chain-viewer.js +99 -0
  117. package/dist/collection/components/certificate-chain-viewer/certificate-chain-viewer.js.map +1 -0
  118. package/dist/collection/components/certificate-decoder/certificate-decoder.css +1 -4
  119. package/dist/collection/components/certificate-decoder/certificate-decoder.js +39 -20
  120. package/dist/collection/components/certificate-decoder/certificate-decoder.js.map +1 -1
  121. package/dist/collection/components/certificate-details-parts/miscellaneous.js.map +1 -1
  122. package/dist/collection/components/certificate-viewer/certificate-viewer.js +26 -10
  123. package/dist/collection/components/certificate-viewer/certificate-viewer.js.map +1 -1
  124. package/dist/collection/components/certificates-viewer/certificates-viewer.js +40 -11
  125. package/dist/collection/components/certificates-viewer/certificates-viewer.js.map +1 -1
  126. package/dist/collection/components/circular-progress/circular-progress.js +14 -4
  127. package/dist/collection/components/circular-progress/circular-progress.js.map +1 -1
  128. package/dist/collection/components/crl-viewer/crl-viewer.js +22 -8
  129. package/dist/collection/components/crl-viewer/crl-viewer.js.map +1 -1
  130. package/dist/collection/components/csr-viewer/csr-viewer.js +20 -7
  131. package/dist/collection/components/csr-viewer/csr-viewer.js.map +1 -1
  132. package/dist/collection/components/highlight-words/highlight-words.js +3 -2
  133. package/dist/collection/components/highlight-words/highlight-words.js.map +1 -1
  134. package/dist/collection/components/text-hider/text-hider.js +1 -1
  135. package/dist/collection/components/text-hider/text-hider.js.map +1 -1
  136. package/dist/collection/constants/oids.js +3 -0
  137. package/dist/collection/constants/oids.js.map +1 -1
  138. package/dist/collection/crypto/index.js +1 -0
  139. package/dist/collection/crypto/index.js.map +1 -1
  140. package/dist/collection/crypto/pem_converter.js +169 -0
  141. package/dist/collection/crypto/pem_converter.js.map +1 -0
  142. package/dist/collection/crypto/pkcs10_certificate_request.js +6 -5
  143. package/dist/collection/crypto/pkcs10_certificate_request.js.map +1 -1
  144. package/dist/collection/crypto/utils.js +18 -21
  145. package/dist/collection/crypto/utils.js.map +1 -1
  146. package/dist/collection/crypto/x509_attribute_certificate.js +6 -5
  147. package/dist/collection/crypto/x509_attribute_certificate.js.map +1 -1
  148. package/dist/collection/crypto/x509_certificate.js +6 -5
  149. package/dist/collection/crypto/x509_certificate.js.map +1 -1
  150. package/dist/collection/crypto/x509_certificates.js +69 -0
  151. package/dist/collection/crypto/x509_certificates.js.map +1 -0
  152. package/dist/collection/crypto/x509_crl.js +6 -5
  153. package/dist/collection/crypto/x509_crl.js.map +1 -1
  154. package/dist/collection/utils/index.js +0 -2
  155. package/dist/collection/utils/index.js.map +1 -1
  156. package/dist/collection/www-copy/index.js +123 -121
  157. package/dist/esm/{actions-aebcbc9d.js → actions-DzoPRObK.js} +3 -2
  158. package/dist/esm/actions-DzoPRObK.js.map +1 -0
  159. package/dist/esm/{app-globals-5e9b67e0.js → app-globals-zVR349KA.js} +2 -1
  160. package/dist/esm/app-globals-zVR349KA.js.map +1 -0
  161. package/dist/esm/{arrow_top-aee1ee02.js → arrow_top-CF9pv-tQ.js} +3 -2
  162. package/dist/esm/arrow_top-CF9pv-tQ.js.map +1 -0
  163. package/dist/esm/{button-a2fabf9a.js → button-Djn8UI82.js} +3 -2
  164. package/dist/esm/button-Djn8UI82.js.map +1 -0
  165. package/dist/esm/{certification_request-a4699dcf.js → certification_request-BTbyumBe.js} +1097 -1599
  166. package/dist/esm/certification_request-BTbyumBe.js.map +1 -0
  167. package/dist/esm/{cross-1377606f.js → cross-DdCuR1F2.js} +3 -2
  168. package/dist/esm/cross-DdCuR1F2.js.map +1 -0
  169. package/dist/esm/{download-14dc1047.js → download-Cqfc-Sxf.js} +3 -2
  170. package/dist/esm/download-Cqfc-Sxf.js.map +1 -0
  171. package/dist/esm/index-DDDrq3In.js +2292 -0
  172. package/dist/esm/index-DDDrq3In.js.map +1 -0
  173. package/dist/esm/index.js +11 -10
  174. package/dist/esm/index.js.map +1 -1
  175. package/dist/esm/{link-7e4e9060.js → link-BfDk078v.js} +4 -3
  176. package/dist/esm/link-BfDk078v.js.map +1 -0
  177. package/dist/esm/loader.js +5 -4
  178. package/dist/esm/loader.js.map +1 -1
  179. package/dist/esm/{miscellaneous-ba1fd2bd.js → miscellaneous-CGtCg3Q9.js} +27 -26
  180. package/dist/esm/miscellaneous-CGtCg3Q9.js.map +1 -0
  181. package/dist/esm/peculiar-attribute-certificate-viewer.peculiar-certificate-chain-viewer.peculiar-crl-viewer.peculiar-csr-viewer.entry.js.map +1 -0
  182. package/dist/esm/{peculiar-attribute-certificate-viewer_3.entry.js → peculiar-attribute-certificate-viewer_4.entry.js} +76 -45
  183. package/dist/esm/peculiar-attribute-certificate-viewer_4.entry.js.map +1 -0
  184. package/dist/esm/peculiar-button-menu.peculiar-circular-progress.peculiar-highlight-words.entry.js.map +1 -0
  185. package/dist/esm/peculiar-button-menu_3.entry.js +20 -17
  186. package/dist/esm/peculiar-button-menu_3.entry.js.map +1 -1
  187. package/dist/esm/peculiar-certificate-decoder.entry.js +105 -28
  188. package/dist/esm/peculiar-certificate-decoder.entry.js.map +1 -1
  189. package/dist/esm/peculiar-certificate-viewer.entry.js +19 -19
  190. package/dist/esm/peculiar-certificate-viewer.entry.js.map +1 -1
  191. package/dist/esm/peculiar-certificates-viewer.entry.js +43 -22
  192. package/dist/esm/peculiar-certificates-viewer.entry.js.map +1 -1
  193. package/dist/esm/peculiar-text-hider.entry.js +6 -6
  194. package/dist/esm/peculiar-text-hider.entry.js.map +1 -1
  195. package/dist/esm/peculiar.js +14 -12
  196. package/dist/esm/peculiar.js.map +1 -1
  197. package/dist/esm/{pkcs10_certificate_request-785a4794.js → pkcs10_certificate_request-CrA_WcgY.js} +11 -10
  198. package/dist/esm/pkcs10_certificate_request-CrA_WcgY.js.map +1 -0
  199. package/dist/esm/{read_file-bb0b1450.js → read_file-F2F0McJX.js} +2 -1
  200. package/dist/esm/read_file-F2F0McJX.js.map +1 -0
  201. package/dist/esm/{x509_certificate-05a23c0e.js → x509_certificate-DX7sKoAD.js} +10 -9
  202. package/dist/esm/x509_certificate-DX7sKoAD.js.map +1 -0
  203. package/dist/esm/{x509_crl-26081461.js → x509_crl-DRjoh8Yp.js} +17 -16
  204. package/dist/esm/x509_crl-DRjoh8Yp.js.map +1 -0
  205. package/dist/esm-es5/{actions-aebcbc9d.js → actions-DzoPRObK.js} +2 -2
  206. package/dist/esm-es5/actions-DzoPRObK.js.map +1 -0
  207. package/dist/esm-es5/{app-globals-5e9b67e0.js → app-globals-zVR349KA.js} +1 -1
  208. package/dist/esm-es5/app-globals-zVR349KA.js.map +1 -0
  209. package/dist/esm-es5/{arrow_top-aee1ee02.js → arrow_top-CF9pv-tQ.js} +2 -2
  210. package/dist/esm-es5/arrow_top-CF9pv-tQ.js.map +1 -0
  211. package/dist/esm-es5/{button-a2fabf9a.js → button-Djn8UI82.js} +2 -2
  212. package/dist/esm-es5/button-Djn8UI82.js.map +1 -0
  213. package/dist/esm-es5/certification_request-BTbyumBe.js +142 -0
  214. package/dist/esm-es5/certification_request-BTbyumBe.js.map +1 -0
  215. package/dist/esm-es5/{cross-1377606f.js → cross-DdCuR1F2.js} +2 -2
  216. package/dist/esm-es5/cross-DdCuR1F2.js.map +1 -0
  217. package/dist/esm-es5/{download-14dc1047.js → download-Cqfc-Sxf.js} +2 -2
  218. package/dist/esm-es5/download-Cqfc-Sxf.js.map +1 -0
  219. package/dist/esm-es5/index-DDDrq3In.js +6 -0
  220. package/dist/esm-es5/index-DDDrq3In.js.map +1 -0
  221. package/dist/esm-es5/index.js +1 -1
  222. package/dist/esm-es5/index.js.map +1 -1
  223. package/dist/esm-es5/link-BfDk078v.js +12 -0
  224. package/dist/esm-es5/link-BfDk078v.js.map +1 -0
  225. package/dist/esm-es5/loader.js +2 -2
  226. package/dist/esm-es5/loader.js.map +1 -1
  227. package/dist/esm-es5/{miscellaneous-ba1fd2bd.js → miscellaneous-CGtCg3Q9.js} +15 -15
  228. package/dist/esm-es5/miscellaneous-CGtCg3Q9.js.map +1 -0
  229. package/dist/esm-es5/peculiar-attribute-certificate-viewer.peculiar-certificate-chain-viewer.peculiar-crl-viewer.peculiar-csr-viewer.entry.js.map +1 -0
  230. package/dist/esm-es5/peculiar-attribute-certificate-viewer_4.entry.js +110 -0
  231. package/dist/esm-es5/peculiar-attribute-certificate-viewer_4.entry.js.map +1 -0
  232. package/dist/esm-es5/peculiar-button-menu.peculiar-circular-progress.peculiar-highlight-words.entry.js.map +1 -0
  233. package/dist/esm-es5/peculiar-button-menu_3.entry.js +1 -1
  234. package/dist/esm-es5/peculiar-button-menu_3.entry.js.map +1 -1
  235. package/dist/esm-es5/peculiar-certificate-decoder.entry.js +2 -2
  236. package/dist/esm-es5/peculiar-certificate-decoder.entry.js.map +1 -1
  237. package/dist/esm-es5/peculiar-certificate-viewer.entry.js +2 -2
  238. package/dist/esm-es5/peculiar-certificate-viewer.entry.js.map +1 -1
  239. package/dist/esm-es5/peculiar-certificates-viewer.entry.js +2 -2
  240. package/dist/esm-es5/peculiar-certificates-viewer.entry.js.map +1 -1
  241. package/dist/esm-es5/peculiar-text-hider.entry.js +1 -1
  242. package/dist/esm-es5/peculiar-text-hider.entry.js.map +1 -1
  243. package/dist/esm-es5/peculiar.js +1 -1
  244. package/dist/esm-es5/peculiar.js.map +1 -1
  245. package/dist/esm-es5/pkcs10_certificate_request-CrA_WcgY.js +19 -0
  246. package/dist/esm-es5/pkcs10_certificate_request-CrA_WcgY.js.map +1 -0
  247. package/dist/esm-es5/{read_file-bb0b1450.js → read_file-F2F0McJX.js} +1 -1
  248. package/dist/esm-es5/read_file-F2F0McJX.js.map +1 -0
  249. package/dist/esm-es5/x509_certificate-DX7sKoAD.js +12 -0
  250. package/dist/esm-es5/x509_certificate-DX7sKoAD.js.map +1 -0
  251. package/dist/esm-es5/x509_crl-DRjoh8Yp.js +19 -0
  252. package/dist/esm-es5/x509_crl-DRjoh8Yp.js.map +1 -0
  253. package/dist/peculiar/index.esm.js +1 -1
  254. package/dist/peculiar/index.esm.js.map +1 -1
  255. package/dist/peculiar/loader.esm.js.map +1 -0
  256. package/dist/peculiar/p-092074e8.system.entry.js +5 -0
  257. package/dist/peculiar/p-092074e8.system.entry.js.map +1 -0
  258. package/dist/peculiar/p-12d2e080.entry.js +5 -0
  259. package/dist/peculiar/p-12d2e080.entry.js.map +1 -0
  260. package/dist/peculiar/p-1af57833.system.entry.js +5 -0
  261. package/dist/peculiar/p-1af57833.system.entry.js.map +1 -0
  262. package/dist/peculiar/p-1b3855ec.system.entry.js +111 -0
  263. package/dist/peculiar/p-1b3855ec.system.entry.js.map +1 -0
  264. package/dist/peculiar/p-4IvcYmU7.js +19 -0
  265. package/dist/peculiar/p-4IvcYmU7.js.map +1 -0
  266. package/dist/peculiar/{p-9263e7ee.system.entry.js → p-73a75d1e.system.entry.js} +3 -3
  267. package/dist/peculiar/p-73a75d1e.system.entry.js.map +1 -0
  268. package/dist/peculiar/p-7Nmqck4T.system.js.map +1 -0
  269. package/dist/peculiar/p-80fc5538.entry.js +5 -0
  270. package/dist/peculiar/p-80fc5538.entry.js.map +1 -0
  271. package/dist/peculiar/{p-bafd67f3.entry.js → p-85667993.entry.js} +2 -2
  272. package/dist/peculiar/p-85667993.entry.js.map +1 -0
  273. package/dist/peculiar/p-B0CjUC4o.system.js +142 -0
  274. package/dist/peculiar/p-B0CjUC4o.system.js.map +1 -0
  275. package/dist/peculiar/{p-c241e4ba.system.js → p-B2YrZuK2.system.js} +2 -2
  276. package/dist/peculiar/p-B2YrZuK2.system.js.map +1 -0
  277. package/dist/peculiar/p-B7TxZGea.system.js +19 -0
  278. package/dist/peculiar/p-B7TxZGea.system.js.map +1 -0
  279. package/dist/peculiar/{p-243244af.system.js → p-B859JpGw.system.js} +3 -3
  280. package/dist/peculiar/p-B859JpGw.system.js.map +1 -0
  281. package/dist/peculiar/{p-eea904d7.system.js → p-BBgwMHRZ.system.js} +3 -3
  282. package/dist/peculiar/p-BBgwMHRZ.system.js.map +1 -0
  283. package/dist/peculiar/p-BCATfe_H.js +19 -0
  284. package/dist/peculiar/p-BCATfe_H.js.map +1 -0
  285. package/dist/peculiar/p-BFenL1ap.system.js +6 -0
  286. package/dist/peculiar/p-BFenL1ap.system.js.map +1 -0
  287. package/dist/peculiar/{p-ae91d778.js → p-BHBizfwo.js} +3 -3
  288. package/dist/peculiar/p-BHBizfwo.js.map +1 -0
  289. package/dist/peculiar/{p-5a662d6f.system.js → p-BOSH9vjy.system.js} +3 -3
  290. package/dist/{esm-es5/actions-aebcbc9d.js.map → peculiar/p-BOSH9vjy.system.js.map} +1 -1
  291. package/dist/peculiar/{p-8bbee8f4.system.js → p-BP2bmYR2.system.js} +3 -3
  292. package/dist/peculiar/p-BP2bmYR2.system.js.map +1 -0
  293. package/dist/peculiar/{p-9712b827.system.js → p-BRhx1gbw.system.js} +4 -4
  294. package/dist/peculiar/p-BRhx1gbw.system.js.map +1 -0
  295. package/dist/peculiar/p-BTbyumBe.js +142 -0
  296. package/dist/peculiar/p-BTbyumBe.js.map +1 -0
  297. package/dist/peculiar/p-BX9qW3ww.system.js.map +1 -0
  298. package/dist/peculiar/p-BbPo3hge.system.js.map +1 -0
  299. package/dist/peculiar/{p-e6a6e602.js → p-BisXzAqN.js} +2 -2
  300. package/dist/peculiar/p-BisXzAqN.js.map +1 -0
  301. package/dist/peculiar/p-Bw_icgVx.js +19 -0
  302. package/dist/peculiar/p-Bw_icgVx.js.map +1 -0
  303. package/dist/peculiar/p-C_7Koml8.system.js.map +1 -0
  304. package/dist/peculiar/{p-27ca6743.js → p-CeKqQ13Z.js} +4 -4
  305. package/dist/peculiar/p-CeKqQ13Z.js.map +1 -0
  306. package/dist/peculiar/p-CpTwQbPC.js +12 -0
  307. package/dist/peculiar/p-CpTwQbPC.js.map +1 -0
  308. package/dist/peculiar/p-Ct0zEUB_.js +369 -0
  309. package/dist/peculiar/p-Ct0zEUB_.js.map +1 -0
  310. package/dist/peculiar/{p-c2995a63.system.js → p-CwlxH4oM.system.js} +1 -1
  311. package/dist/peculiar/p-CwlxH4oM.system.js.map +1 -0
  312. package/dist/peculiar/p-D13P_msn.system.js.map +1 -0
  313. package/dist/peculiar/{p-55303453.system.js → p-D2QB-8Q6.system.js} +1 -1
  314. package/dist/peculiar/p-D2QB-8Q6.system.js.map +1 -0
  315. package/dist/peculiar/p-D5BWI7FK.system.js +5 -0
  316. package/dist/peculiar/p-D5BWI7FK.system.js.map +1 -0
  317. package/dist/peculiar/p-DDDrq3In.js +6 -0
  318. package/dist/peculiar/p-DDDrq3In.js.map +1 -0
  319. package/dist/peculiar/{p-a9487007.js → p-DhdG07f8.js} +2 -2
  320. package/dist/peculiar/p-DhdG07f8.js.map +1 -0
  321. package/dist/peculiar/{p-99efefea.js → p-DkAhB3Vy.js} +2 -2
  322. package/dist/peculiar/p-DkAhB3Vy.js.map +1 -0
  323. package/dist/peculiar/p-DxdVL_Kj.system.js +13 -0
  324. package/dist/peculiar/p-DxdVL_Kj.system.js.map +1 -0
  325. package/dist/peculiar/{p-25a532a3.js → p-F2F0McJX.js} +1 -1
  326. package/dist/peculiar/p-F2F0McJX.js.map +1 -0
  327. package/dist/peculiar/p-FVz6FuoZ.system.js.map +1 -0
  328. package/dist/peculiar/p-RW7UbzcZ.system.js.map +1 -0
  329. package/dist/peculiar/p-ab220e36.system.entry.js +5 -0
  330. package/dist/peculiar/p-ab220e36.system.entry.js.map +1 -0
  331. package/dist/peculiar/{p-67e82386.entry.js → p-c2a805b3.entry.js} +3 -3
  332. package/dist/peculiar/p-c2a805b3.entry.js.map +1 -0
  333. package/dist/peculiar/p-cae95996.system.entry.js +5 -0
  334. package/dist/peculiar/p-cae95996.system.entry.js.map +1 -0
  335. package/dist/peculiar/p-e7266b0a.entry.js +110 -0
  336. package/dist/peculiar/p-e7266b0a.entry.js.map +1 -0
  337. package/dist/peculiar/p-f4490197.entry.js +5 -0
  338. package/dist/peculiar/p-f4490197.entry.js.map +1 -0
  339. package/dist/peculiar/p-lnQq6VON.system.js +20 -0
  340. package/dist/peculiar/p-lnQq6VON.system.js.map +1 -0
  341. package/dist/peculiar/{p-2bc2abea.system.js → p-vMACJe_C.system.js} +54 -54
  342. package/dist/peculiar/{p-6e2ad7eb.js.map → p-vMACJe_C.system.js.map} +1 -1
  343. package/dist/peculiar/p-wgYkE8CV.system.js +5 -0
  344. package/dist/peculiar/p-wgYkE8CV.system.js.map +1 -0
  345. package/dist/peculiar/{p-dac867e8.js → p-zVR349KA.js} +1 -1
  346. package/dist/peculiar/p-zVR349KA.js.map +1 -0
  347. package/dist/peculiar/peculiar-attribute-certificate-viewer.peculiar-certificate-chain-viewer.peculiar-crl-viewer.peculiar-csr-viewer.entry.esm.js.map +1 -0
  348. package/dist/peculiar/peculiar-button-menu.peculiar-circular-progress.peculiar-highlight-words.entry.esm.js.map +1 -0
  349. package/dist/peculiar/peculiar-certificate-decoder.entry.esm.js.map +1 -0
  350. package/dist/peculiar/peculiar-certificate-viewer.entry.esm.js.map +1 -0
  351. package/dist/peculiar/peculiar-certificates-viewer.entry.esm.js.map +1 -0
  352. package/dist/peculiar/{p-b5389885.system.entry.js.map → peculiar-text-hider.entry.esm.js.map} +1 -1
  353. package/dist/peculiar/peculiar.esm.js +1 -1
  354. package/dist/peculiar/peculiar.esm.js.map +1 -1
  355. package/dist/peculiar/peculiar.js +1 -1
  356. package/dist/types/components/certificate-chain-viewer/certificate-chain-viewer.d.ts +21 -0
  357. package/dist/types/components/certificate-decoder/certificate-decoder.d.ts +5 -4
  358. package/dist/types/components/certificate-details-parts/miscellaneous.d.ts +2 -2
  359. package/dist/types/components/typography/typography.d.ts +0 -1
  360. package/dist/types/components.d.ts +33 -4
  361. package/dist/types/constants/oids.d.ts +3 -0
  362. package/dist/types/crypto/index.d.ts +1 -0
  363. package/dist/types/crypto/pem_converter.d.ts +71 -0
  364. package/dist/types/crypto/pkcs10_certificate_request.d.ts +2 -2
  365. package/dist/types/crypto/utils.d.ts +7 -3
  366. package/dist/types/crypto/x509_attribute_certificate.d.ts +2 -2
  367. package/dist/types/crypto/x509_certificate.d.ts +2 -2
  368. package/dist/types/crypto/x509_certificates.d.ts +9 -0
  369. package/dist/types/crypto/x509_crl.d.ts +2 -2
  370. package/dist/types/stencil-public-runtime.d.ts +10 -10
  371. package/dist/types/utils/index.d.ts +0 -2
  372. package/hydrate/index.d.ts +53 -12
  373. package/hydrate/index.js +28615 -18748
  374. package/hydrate/index.mjs +34759 -0
  375. package/hydrate/package.json +7 -1
  376. package/loader/cdn.js +1 -1
  377. package/loader/index.cjs.js +1 -1
  378. package/loader/index.d.ts +3 -0
  379. package/loader/index.es2017.js +1 -1
  380. package/loader/index.js +1 -1
  381. package/package.json +32 -29
  382. package/dist/cjs/actions-789906f5.js.map +0 -1
  383. package/dist/cjs/app-globals-c20ffa41.js.map +0 -1
  384. package/dist/cjs/arrow_top-76e4261e.js.map +0 -1
  385. package/dist/cjs/button-87086210.js.map +0 -1
  386. package/dist/cjs/certification_request-ad267278.js.map +0 -1
  387. package/dist/cjs/cross-bd099933.js.map +0 -1
  388. package/dist/cjs/download-820d66ba.js.map +0 -1
  389. package/dist/cjs/index-e2ae280a.js +0 -2730
  390. package/dist/cjs/index-e2ae280a.js.map +0 -1
  391. package/dist/cjs/link-a3d3799d.js.map +0 -1
  392. package/dist/cjs/miscellaneous-67439e59.js.map +0 -1
  393. package/dist/cjs/peculiar-attribute-certificate-viewer_3.cjs.entry.js.map +0 -1
  394. package/dist/cjs/pkcs10_certificate_request-64898c88.js.map +0 -1
  395. package/dist/cjs/read_file-2e22a97e.js.map +0 -1
  396. package/dist/cjs/x509_certificate-4b0894c2.js.map +0 -1
  397. package/dist/cjs/x509_crl-fc8d41a1.js.map +0 -1
  398. package/dist/collection/utils/validator.js +0 -25
  399. package/dist/collection/utils/validator.js.map +0 -1
  400. package/dist/esm/actions-aebcbc9d.js.map +0 -1
  401. package/dist/esm/app-globals-5e9b67e0.js.map +0 -1
  402. package/dist/esm/arrow_top-aee1ee02.js.map +0 -1
  403. package/dist/esm/button-a2fabf9a.js.map +0 -1
  404. package/dist/esm/certification_request-a4699dcf.js.map +0 -1
  405. package/dist/esm/cross-1377606f.js.map +0 -1
  406. package/dist/esm/download-14dc1047.js.map +0 -1
  407. package/dist/esm/index-ae188432.js +0 -2701
  408. package/dist/esm/index-ae188432.js.map +0 -1
  409. package/dist/esm/link-7e4e9060.js.map +0 -1
  410. package/dist/esm/miscellaneous-ba1fd2bd.js.map +0 -1
  411. package/dist/esm/peculiar-attribute-certificate-viewer_3.entry.js.map +0 -1
  412. package/dist/esm/pkcs10_certificate_request-785a4794.js.map +0 -1
  413. package/dist/esm/read_file-bb0b1450.js.map +0 -1
  414. package/dist/esm/x509_certificate-05a23c0e.js.map +0 -1
  415. package/dist/esm/x509_crl-26081461.js.map +0 -1
  416. package/dist/esm-es5/app-globals-5e9b67e0.js.map +0 -1
  417. package/dist/esm-es5/arrow_top-aee1ee02.js.map +0 -1
  418. package/dist/esm-es5/button-a2fabf9a.js.map +0 -1
  419. package/dist/esm-es5/certification_request-a4699dcf.js +0 -135
  420. package/dist/esm-es5/certification_request-a4699dcf.js.map +0 -1
  421. package/dist/esm-es5/cross-1377606f.js.map +0 -1
  422. package/dist/esm-es5/download-14dc1047.js.map +0 -1
  423. package/dist/esm-es5/index-ae188432.js +0 -6
  424. package/dist/esm-es5/index-ae188432.js.map +0 -1
  425. package/dist/esm-es5/link-7e4e9060.js +0 -12
  426. package/dist/esm-es5/link-7e4e9060.js.map +0 -1
  427. package/dist/esm-es5/miscellaneous-ba1fd2bd.js.map +0 -1
  428. package/dist/esm-es5/peculiar-attribute-certificate-viewer_3.entry.js +0 -110
  429. package/dist/esm-es5/peculiar-attribute-certificate-viewer_3.entry.js.map +0 -1
  430. package/dist/esm-es5/pkcs10_certificate_request-785a4794.js +0 -19
  431. package/dist/esm-es5/pkcs10_certificate_request-785a4794.js.map +0 -1
  432. package/dist/esm-es5/read_file-bb0b1450.js.map +0 -1
  433. package/dist/esm-es5/x509_certificate-05a23c0e.js +0 -12
  434. package/dist/esm-es5/x509_certificate-05a23c0e.js.map +0 -1
  435. package/dist/esm-es5/x509_crl-26081461.js +0 -19
  436. package/dist/esm-es5/x509_crl-26081461.js.map +0 -1
  437. package/dist/peculiar/p-1566ad92.system.entry.js +0 -5
  438. package/dist/peculiar/p-1566ad92.system.entry.js.map +0 -1
  439. package/dist/peculiar/p-243244af.system.js.map +0 -1
  440. package/dist/peculiar/p-25a532a3.js.map +0 -1
  441. package/dist/peculiar/p-27ca6743.js.map +0 -1
  442. package/dist/peculiar/p-2bc2abea.system.js.map +0 -1
  443. package/dist/peculiar/p-32807e5e.js +0 -135
  444. package/dist/peculiar/p-32807e5e.js.map +0 -1
  445. package/dist/peculiar/p-3cb79cd9.js +0 -6
  446. package/dist/peculiar/p-3cb79cd9.js.map +0 -1
  447. package/dist/peculiar/p-4bc5ddbe.js +0 -19
  448. package/dist/peculiar/p-4bc5ddbe.js.map +0 -1
  449. package/dist/peculiar/p-55303453.system.js.map +0 -1
  450. package/dist/peculiar/p-5a662d6f.system.js.map +0 -1
  451. package/dist/peculiar/p-5d1d4a96.entry.js +0 -110
  452. package/dist/peculiar/p-5d1d4a96.entry.js.map +0 -1
  453. package/dist/peculiar/p-67e82386.entry.js.map +0 -1
  454. package/dist/peculiar/p-6e2ad7eb.js +0 -369
  455. package/dist/peculiar/p-713563fb.entry.js +0 -5
  456. package/dist/peculiar/p-713563fb.entry.js.map +0 -1
  457. package/dist/peculiar/p-7ddd9a82.system.js +0 -19
  458. package/dist/peculiar/p-7ddd9a82.system.js.map +0 -1
  459. package/dist/peculiar/p-821bdcdc.system.js +0 -6
  460. package/dist/peculiar/p-821bdcdc.system.js.map +0 -1
  461. package/dist/peculiar/p-8393399a.system.js +0 -5
  462. package/dist/peculiar/p-8393399a.system.js.map +0 -1
  463. package/dist/peculiar/p-8bbee8f4.system.js.map +0 -1
  464. package/dist/peculiar/p-9263e7ee.system.entry.js.map +0 -1
  465. package/dist/peculiar/p-9712b827.system.js.map +0 -1
  466. package/dist/peculiar/p-98e3a016.system.js +0 -13
  467. package/dist/peculiar/p-98e3a016.system.js.map +0 -1
  468. package/dist/peculiar/p-99efefea.js.map +0 -1
  469. package/dist/peculiar/p-9ad547d2.system.entry.js +0 -5
  470. package/dist/peculiar/p-9ad547d2.system.entry.js.map +0 -1
  471. package/dist/peculiar/p-a1a48332.system.js +0 -5
  472. package/dist/peculiar/p-a1a48332.system.js.map +0 -1
  473. package/dist/peculiar/p-a9487007.js.map +0 -1
  474. package/dist/peculiar/p-ab5a4988.js +0 -12
  475. package/dist/peculiar/p-ab5a4988.js.map +0 -1
  476. package/dist/peculiar/p-ae44c2b0.system.js +0 -20
  477. package/dist/peculiar/p-ae44c2b0.system.js.map +0 -1
  478. package/dist/peculiar/p-ae91d778.js.map +0 -1
  479. package/dist/peculiar/p-afbd1c8e.entry.js +0 -5
  480. package/dist/peculiar/p-afbd1c8e.entry.js.map +0 -1
  481. package/dist/peculiar/p-b5389885.system.entry.js +0 -5
  482. package/dist/peculiar/p-bafd67f3.entry.js.map +0 -1
  483. package/dist/peculiar/p-c241e4ba.system.js.map +0 -1
  484. package/dist/peculiar/p-c2995a63.system.js.map +0 -1
  485. package/dist/peculiar/p-cd1b1876.entry.js +0 -5
  486. package/dist/peculiar/p-cd1b1876.entry.js.map +0 -1
  487. package/dist/peculiar/p-d5ba4fc2.js +0 -19
  488. package/dist/peculiar/p-d5ba4fc2.js.map +0 -1
  489. package/dist/peculiar/p-dac867e8.js.map +0 -1
  490. package/dist/peculiar/p-e37e4df2.system.js +0 -135
  491. package/dist/peculiar/p-e37e4df2.system.js.map +0 -1
  492. package/dist/peculiar/p-e4ad4f13.system.entry.js +0 -5
  493. package/dist/peculiar/p-e4ad4f13.system.entry.js.map +0 -1
  494. package/dist/peculiar/p-e6a6e602.js.map +0 -1
  495. package/dist/peculiar/p-eea904d7.system.js.map +0 -1
  496. package/dist/peculiar/p-f8c91ee4.js +0 -19
  497. package/dist/peculiar/p-f8c91ee4.js.map +0 -1
  498. package/dist/peculiar/p-f9c07207.system.entry.js +0 -111
  499. package/dist/peculiar/p-f9c07207.system.entry.js.map +0 -1
  500. package/dist/types/utils/validator.d.ts +0 -10
  501. package/loader/package.json +0 -11
@@ -1,369 +0,0 @@
1
- /*!
2
- * © Peculiar Ventures https://peculiarventures.com/ - MIT License
3
- */
4
- import{h as e}from"./p-3cb79cd9.js";import{$ as a,Z as n,_ as t,C as c,a0 as s,a4 as o,b as r,a5 as i,a6 as f,a7 as u,a8 as l,a9 as d,aa as b,ab as m,ac as v,ad as x,ae as p,af as g,ag as y,ah as h,ai as C,aj as S,ak as N,al as A,am as I,an as D,ao as j,ap as O,aq as G,ar as T,as as k,at as L,au as P,av as R,aw as V,ax as B,ay as $,az as E,aA as U,aB as K,aC as H,aD as M,aE as q,aF as w,aG as X,a1 as Y,aH as Q,aI as z,aJ as F,aK as W,aL as Z,aM as J,aN as _,aO as ee,aP as ae,aQ as ne,aR as te,aS as ce}from"./p-32807e5e.js";import{L as se}from"./p-e6a6e602.js";import{T as oe,B as re}from"./p-4bc5ddbe.js";import{D as ie}from"./p-ae91d778.js";
5
- /**
6
- * @license
7
- * Copyright (c) Peculiar Ventures, LLC.
8
- *
9
- * This source code is licensed under the MIT license found in the
10
- * LICENSE file in the root directory of this source tree.
11
- */function fe(e){const n=a[e];if(n){return`${n} (${e})`}return e}
12
- /**
13
- * @license
14
- * Copyright (c) Peculiar Ventures, LLC.
15
- *
16
- * This source code is licensed under the MIT license found in the
17
- * LICENSE file in the root directory of this source tree.
18
- */function ue(e){const a=e.replace(/([A-Z])/g," $1");return a.charAt(0).toUpperCase()+a.slice(1)}
19
- /**
20
- * @license
21
- * Copyright (c) Peculiar Ventures, LLC.
22
- *
23
- * This source code is licensed under the MIT license found in the
24
- * LICENSE file in the root directory of this source tree.
25
- */const le=e=>`https://search.gleif.org/#/record/${e}`;const de=e=>`https://search.censys.io/search?resource=hosts&q=dns.names%3A${e}`;const be=e=>`https://search.censys.io/search?resource=hosts&q=ip%3A${e}`
26
- /**
27
- * @license
28
- * Copyright (c) Peculiar Ventures, LLC.
29
- *
30
- * This source code is licensed under the MIT license found in the
31
- * LICENSE file in the root directory of this source tree.
32
- */;function me(e){return e.indexOf("http")===0}
33
- /**
34
- * @license
35
- * Copyright (c) Peculiar Ventures, LLC.
36
- *
37
- * This source code is licensed under the MIT license found in the
38
- * LICENSE file in the root directory of this source tree.
39
- */const ve=(a,n)=>e("tr",null,e("td",{colSpan:2},e("table",null,n)));const xe=a=>{const{value:n}=a;if(!n){return null}return[e("tr",{class:"title"},e("td",{colSpan:2},e(oe,{variant:"s1",color:"black"},n))),e("tr",null,e("td",{colSpan:2,class:"divider"},e("span",null)))]};const pe=a=>{const{name:n,value:t,monospace:c,collapse:s,href:o,extraValue:r}=a;if(!n){return null}if(t===undefined||t===null){return null}let i;if(s){i=e("peculiar-text-hider",null,t)}else{i=t}const f=!!t.toString();return e("tr",null,e("td",{colSpan:f?1:2},e(oe,{variant:"b2",color:"gray-9"},n)),f&&e("td",{class:{monospace:c}},me(t.toString())||o?e(se,{variant:"b2",href:o||t.toString()},t):e(oe,{variant:"b2",color:"black"},i,r)))};
40
- /**
41
- * @license
42
- * Copyright (c) Peculiar Ventures, LLC.
43
- *
44
- * This source code is licensed under the MIT license found in the
45
- * LICENSE file in the root directory of this source tree.
46
- */const ge=a=>{const{serialNumber:c,version:s,validity:o,notBefore:r,notAfter:i,lastUpdate:f,nextUpdate:u,type:l}=a;return[e(xe,{value:n.getString("basicInformation")}),e(pe,{name:n.getString("type"),value:l}),e(pe,{name:n.getString("serialNumber"),value:c,monospace:true}),e(pe,{name:n.getString("version"),value:s}),e(pe,{name:n.getString("validity"),value:o}),e(pe,{name:n.getString("issued"),value:r?t(r):undefined}),e(pe,{name:n.getString("expired"),value:i?t(i):undefined}),e(pe,{name:n.getString("lastUpdate"),value:f?t(f):undefined}),e(pe,{name:n.getString("nextUpdate"),value:u?t(u):undefined})]};
47
- /**
48
- * @license
49
- * Copyright (c) Peculiar Ventures, LLC.
50
- *
51
- * This source code is licensed under the MIT license found in the
52
- * LICENSE file in the root directory of this source tree.
53
- */function ye(e){if(e.params&&"modulus"in e.params){let a=e.params.modulus.byteLength;if(a%2){a-=1}return a*8}return null}function he(e){if(e.params&&"publicExponent"in e.params){return e.params.publicExponent.byteLength===3?65537:3}return null}const Ce=a=>{const{publicKey:t}=a;if(!t){return null}function s(a){return[e(pe,{name:n.getString("algorithm"),value:fe(a.algorithm)}),e(pe,{name:n.getString("namedCurve"),value:fe(a.params&&"namedCurve"in a.params?a.params.namedCurve:undefined)}),e(pe,{name:n.getString("exponent"),value:he(a)}),e(pe,{name:n.getString("modulus"),value:ye(a)}),e(pe,{name:n.getString("value"),value:c.ToHex(a.value),monospace:true,collapse:true})]}return[e(xe,{value:n.getString("publicKeyInfo")}),s(t),Array.isArray(t.params)&&t.params.length&&t.params.map((a=>e(ve,null,s(a))))]};
54
- /**
55
- * @license
56
- * Copyright (c) Peculiar Ventures, LLC.
57
- *
58
- * This source code is licensed under the MIT license found in the
59
- * LICENSE file in the root directory of this source tree.
60
- */const Se=a=>{const{name:t}=a;return[e(xe,{value:n.getString("subjectName")}),t.map((a=>e(pe,{name:a.name||a.type,value:a.value})))]};
61
- /**
62
- * @license
63
- * Copyright (c) Peculiar Ventures, LLC.
64
- *
65
- * This source code is licensed under the MIT license found in the
66
- * LICENSE file in the root directory of this source tree.
67
- */const Ne=a=>{const{name:t,issuerDnLink:c}=a;const s=n.getString("issuerName");return[e(xe,{value:c?e(se,{href:c},s):s}),t.map((a=>e(pe,{name:a.name||a.type,value:a.value})))]};
68
- /**
69
- * @license
70
- * Copyright (c) Peculiar Ventures, LLC.
71
- *
72
- * This source code is licensed under the MIT license found in the
73
- * LICENSE file in the root directory of this source tree.
74
- */const Ae=a=>{const{signature:t}=a;if(!t){return null}function s(a){return[e(pe,{name:n.getString("algorithm"),value:fe(a.algorithm)}),e(pe,{name:n.getString("value"),value:c.ToHex(a.value),monospace:true,collapse:true})]}return[e(xe,{value:n.getString("signature")}),s(t),t.params&&t.params.length&&t.params.map((a=>e(ve,null,s(a))))]};
75
- /**
76
- * @license
77
- * Copyright (c) Peculiar Ventures, LLC.
78
- *
79
- * This source code is licensed under the MIT license found in the
80
- * LICENSE file in the root directory of this source tree.
81
- */const Ie=a=>{const{thumbprints:t}=a;if(!t){return null}const c=Object.keys(t);if(!c.length){return null}return[e(xe,{value:n.getString("fingerprints")}),c.map((a=>e(pe,{name:a,value:t[a],monospace:true})))]};
82
- /**
83
- * @license
84
- * Copyright (c) Peculiar Ventures, LLC.
85
- *
86
- * This source code is licensed under the MIT license found in the
87
- * LICENSE file in the root directory of this source tree.
88
- */const De=(a,t)=>{const{extension:c}=a;return[e(pe,{name:"Name",value:fe(c.asn.extnID)}),e(pe,{name:"Critical",value:c.asn.critical?n.getString("yes"):n.getString("no")}),t,e("tr",null,e("td",{colSpan:2,class:"divider"},e("span",null)))]};
89
- /**
90
- * @license
91
- * Copyright (c) Peculiar Ventures, LLC.
92
- *
93
- * This source code is licensed under the MIT license found in the
94
- * LICENSE file in the root directory of this source tree.
95
- */const je=a=>{const{extension:n}=a;return e(De,{extension:n},e(pe,{name:"Usage",value:n.value.toJSON().join(", ")}))};
96
- /**
97
- * @license
98
- * Copyright (c) Peculiar Ventures, LLC.
99
- *
100
- * This source code is licensed under the MIT license found in the
101
- * LICENSE file in the root directory of this source tree.
102
- */const Oe=a=>{const{extension:t}=a;return e(De,{extension:t},e(pe,{name:"Certificate Authority",value:t.value.cA?n.getString("yes"):n.getString("no")}),e(pe,{name:"Path Length Constraint",value:t.value.pathLenConstraint}))};
103
- /**
104
- * @license
105
- * Copyright (c) Peculiar Ventures, LLC.
106
- *
107
- * This source code is licensed under the MIT license found in the
108
- * LICENSE file in the root directory of this source tree.
109
- */const Ge=a=>{const{extension:n}=a;return e(De,{extension:n},Boolean(n.value.length)&&[e(pe,{name:"Purposes",value:""}),n.value.map((a=>e(ve,null,e(pe,{name:"Purpose",value:fe(a)}))))])};
110
- /**
111
- * @license
112
- * Copyright (c) Peculiar Ventures, LLC.
113
- *
114
- * This source code is licensed under the MIT license found in the
115
- * LICENSE file in the root directory of this source tree.
116
- */const Te=a=>{const{extension:n,getSubjectKeyIdChildrenLink:t,getSubjectKeyIdSiblingsLink:s}=a;const o=c.ToHex(n.value.buffer);const r=t(o);const i=s(o);return e(De,{extension:n},e(pe,{name:"Key ID",value:o,monospace:true,extraValue:[r&&e("span",null," [",e(se,{href:r},"children"),"]"),i&&e("span",null," [",e(se,{href:i},"siblings"),"]")]}))};
117
- /**
118
- * @license
119
- * Copyright (c) Peculiar Ventures, LLC.
120
- *
121
- * This source code is licensed under the MIT license found in the
122
- * LICENSE file in the root directory of this source tree.
123
- */const ke=a=>{const{extension:n,getAuthKeyIdParentLink:t,getAuthKeyIdSiblingsLink:s}=a;const o=c.ToHex(n.value.keyIdentifier.buffer);const r=t(o);const i=s(o);return e(De,{extension:n},e(pe,{name:"Key ID",value:o,monospace:true,extraValue:[r&&e("span",null," [",e(se,{href:r},"parents"),"]"),i&&e("span",null," [",e(se,{href:i},"siblings"),"]")]}))};
124
- /**
125
- * @license
126
- * Copyright (c) Peculiar Ventures, LLC.
127
- *
128
- * This source code is licensed under the MIT license found in the
129
- * LICENSE file in the root directory of this source tree.
130
- */const Le={otherName:"Other Name",rfc822Name:"RFC 822 Name",dNSName:"DNS Name",x400Address:"X400 Address",directoryName:"Directory Name",ediPartyName:"Edi Party Name ",uniformResourceIdentifier:"URI",iPAddress:"IP Address",registeredID:"Registered ID"};const Pe=n=>{const{generalName:t,getDNSNameLink:d,getIPAddressLink:b}=n;if(!t){return null}return Object.keys(t).map((n=>{const m=t[n];if(m instanceof s){return[e(pe,{name:Le[n]||n,value:""}),e(ve,null,m.map((n=>n.map((n=>e(pe,{name:a[n.type]||n.type,value:n.value.toString()}))))))]}if(m instanceof o){try{const n=r.parse(m.value,i);return e(pe,{name:a[m.typeId]||m.typeId,value:n.toString()})}catch(e){}try{const n=r.parse(m.value,f);if(n.explicitText){return e(pe,{name:a[m.typeId]||m.typeId,value:n.explicitText.toString()})}}catch(e){}return e(pe,{name:a[m.typeId]||m.typeId,value:c.ToHex(m.value),monospace:true})}if(u.isBufferSource(m)){return e(pe,{name:Le[n]||n,value:c.ToString(m)})}if(m instanceof l){return e(pe,{name:Le[n]||n,value:m.partyName.toString()})}if(n==="dNSName"){return e(pe,{name:Le[n]||n,value:m,href:d(m)})}if(n==="iPAddress"){return e(pe,{name:Le[n]||n,value:m,href:b(m)})}return e(pe,{name:Le[n]||n,value:m})}))};
131
- /**
132
- * @license
133
- * Copyright (c) Peculiar Ventures, LLC.
134
- *
135
- * This source code is licensed under the MIT license found in the
136
- * LICENSE file in the root directory of this source tree.
137
- */const Re=a=>{const{extension:n}=a;return e(De,{extension:n},n.value.map((n=>{var t,c;return[(t=n.distributionPoint)===null||t===void 0?void 0:t.fullName.map((n=>e(Pe,Object.assign({generalName:n},a)))),(c=n.cRLIssuer)===null||c===void 0?void 0:c.map((n=>e(Pe,Object.assign({generalName:n},a))))]})))};
138
- /**
139
- * @license
140
- * Copyright (c) Peculiar Ventures, LLC.
141
- *
142
- * This source code is licensed under the MIT license found in the
143
- * LICENSE file in the root directory of this source tree.
144
- */const Ve=a=>{const{extension:n}=a;return e(De,{extension:n},Boolean(n.value.length)&&[e(pe,{name:"Descriptions",value:""}),n.value.map((n=>e(ve,null,e(pe,{name:"Method",value:fe(n.accessMethod)}),e(Pe,Object.assign({generalName:n.accessLocation},a)))))])};
145
- /**
146
- * @license
147
- * Copyright (c) Peculiar Ventures, LLC.
148
- *
149
- * This source code is licensed under the MIT license found in the
150
- * LICENSE file in the root directory of this source tree.
151
- */const Be=a=>{const{extension:n}=a;return e(De,{extension:n},n.value.map((n=>e(Pe,Object.assign({generalName:n},a)))))};
152
- /**
153
- * @license
154
- * Copyright (c) Peculiar Ventures, LLC.
155
- *
156
- * This source code is licensed under the MIT license found in the
157
- * LICENSE file in the root directory of this source tree.
158
- */const $e=a=>{const{extension:n}=a;return e(De,{extension:n},Boolean(n.value.length)&&[e(pe,{name:"Policies",value:""}),n.value.map((a=>e(ve,null,e(pe,{name:"Policy ID",value:fe(a.policyIdentifier)}),a.policyQualifiers&&Boolean(a.policyQualifiers.length)&&[e(pe,{name:"Qualifiers",value:""}),a.policyQualifiers.map((a=>{const n=[e(pe,{name:"Qualifier ID",value:fe(a.policyQualifierId)})];if(a.policyQualifierId==="1.3.6.1.5.5.7.2.1"){const t=r.parse(a.qualifier,i);n.push(e(pe,{name:"Value",value:t.toString()}))}if(a.policyQualifierId==="1.3.6.1.5.5.7.2.2"){const t=r.parse(a.qualifier,f);if(t.explicitText){n.push(e(pe,{name:"Value",value:t.explicitText.toString()}))}}return e(ve,null,n)}))])))])};
159
- /**
160
- * @license
161
- * Copyright (c) Peculiar Ventures, LLC.
162
- *
163
- * This source code is licensed under the MIT license found in the
164
- * LICENSE file in the root directory of this source tree.
165
- */const Ee={"9606c02c690033aa1d145f59c6e2648d0549f0df96aab8db915a70d8ecf390a5":"Akamai CT","39376f545f7b4607f59742d768cd5d2437bf3473b6534a4834bcf72e681c83c9":"Alpha CT",a577ac9ced7548dd8f025b67a241089df86e0f476ec203c2ecbedb185f282638:"CNNIC CT",cdb5179b7fc1c046feea31136a3f8f002e6182faf8896fecc8b2f5b5ab604900:"Certly.IO","1fbc36e002ede97f40199e86b3573b8a4217d80187746ad0da03a06054d20df4":"Cloudflare “Nimbus2017”",db74afeecb29ecb1feca3e716d2ce5b9aabb36f7847183c75d9d4f37b61fbf64:"Cloudflare “Nimbus2018”","747eda8331ad331091219cce254f4270c2bffd5e422008c6373579e6107bcc56":"Cloudflare “Nimbus2019”","5ea773f9df56c0e7b536487dd049e0327a919a0c84a112128418759681714558":"Cloudflare “Nimbus2020”","4494652eb0eeceafc44007d8a8fe28c0dae682bed8cb31b53fd33396b5b681a8":"Cloudflare “Nimbus2021”","41c8cab1df22464a10c6a13a0942875e4e318b1b03ebeb4bc768f090629606f6":"Cloudflare “Nimbus2022”","7a328c54d8b72db620ea38e0521ee98416703213854d3bd22bc13a57a352eb52":"Cloudflare “Nimbus2023”","6ff141b5647e4222f7ef052cefae7c21fd608e27d2af5a6e9f4b8a37d6633ee5":"DigiCert Nessie2018",fe446108b1d01ab78a62ccfeab6ab2b2babff3abdad80a4d8b30df2d0008830c:"DigiCert Nessie2019",c652a0ec48ceb3fcab170992c43a87413309e80065a26252401ba3362a17c565:"DigiCert Nessie2020",eec095ee8d72640f92e3c3b91bc712a3696a097b4b6a1a1438e647b2cbedc5f9:"DigiCert Nessie2021","51a3b0f5fd01799c566db837788f0ca47acc1b27cbf79e88429a0dfed48b05e5":"DigiCert Nessie2022",b3737707e18450f86386d605a9dc11094a792db1670c0b87dcf0030e7936a59a:"DigiCert Nessie2023","5614069a2fd7c2ecd3f5e1bd44b23ec74676b9bc99115cc0ef949855d689d0dd":"DigiCert Server","8775bfe7597cf88c43995fbdf36eff568d475636ff4ab560c1b4eaff5ea0830f":"DigiCert Server 2",c1164ae0a772d2d4392dc80ac10770d4f0c49bde991a4840c1fa075164f63360:"DigiCert Yeti2018",e2694bae26e8e94009e8861bb63b83d43ee7fe7488fba48f2893019dddf1dbfe:"DigiCert Yeti2019",f095a459f200d18240102d2f93888ead4bfe1d47e399e1d034a6b0a8aa8eb273:"DigiCert Yeti2020","5cdc4392fee6ab4544b15e9ad456e61037fbd5fa47dca17394b25ee6f6c70eca":"DigiCert Yeti2021","2245450759552456963fa12ff1f76d86e0232663adc04b7f5dc6835c6ee20f02":"DigiCert Yeti2022","35cf191bbfb16c57bf0fad4c6d42cbbbb627202651ea3fe12aefa803c33bd64c":"DigiCert Yeti2023","717ea7420975be84a2723553f1777c26dd51af4e102144094d9019b462fb6668":"GDCA 1","14308d90ccd030135005c01ca526d81e84e87624e39b6248e08f724aea3bb42a":"GDCA 2",c9cf890a21109c666cc17a3ed065c930d0e0135a9feba85af14210b8072421aa:"GDCA CT #1","924a30f909336ff435d6993a10ac75a2c641728e7fc2d659ae6188ffad40ce01":"GDCA CT #2",fad4c97cc49ee2f8ac85c5ea5cea09d0220dbbf4e49c6b50662ff868f86b8c28:"Google “Argon2017”",a4501269055a15545e6211ab37bc103f62ae5576a45e4b1714453e1b22106a25:"Google “Argon2018”","63f2dbcde83bcc2ccf0b728427576b33a48d61778fbd75a638b1c768544bd88d":"Google “Argon2019”",b21e05cc8ba2cd8a204e8766f92bb98a2520676bdafa70e7b249532def8b905e:"Google “Argon2020”",f65c942fd1773022145418083094568ee34d131933bfdf0c2f200bcc4ef164e3:"Google “Argon2021”","2979bef09e393921f056739f63a577e5be577d9c600af8f94d5d265c255dc784":"Google “Argon2022”",e83ed0da3ef5063532e75728bc896bc903d3cbd1116beceb69e1777d6d06bd6e:"Google “Argon2023”","68f698f81f6482be3a8ceeb9281d4cfc71515d6793d444d10a67acbb4f4ffbc4":"Google “Aviator”",c3bf03a7e1ca8841c607bae3ff4270fca5ec45b186ebbe4e2cf3fc778630f5f6:"Google “Crucible”","1d024b8eb1498b344dfd87ea3efc0996f7506f235d1d497061a4773c439c25fb":"Google “Daedalus”","293c519654c83965baaa50fc5807d4b76fbf587a2972dca4c30cf4e54547f478":"Google “Icarus”",a4b90990b418581487bb13a2cc67700a3c359804f91bdfb8e377cd0ec80ddc10:"Google “Pilot”",ee4bbdb775ce60bae142691fabe19e66a30f7e5fb072d88300c47b897aa8fdcb:"Google “Rocketeer”",bbd9dfbc1f8a71b593942397aa927b473857950aab52e81a909664368e1ed185:"Google “Skydiver”","52eb4b225ec896974850675f23e43bc1d021e3214ce52ecd5fa87c203cdfca03":"Google “Solera2018”","0b760e9a8b9a682f88985b15e947501a56446bba8830785c3842994386450c00":"Google “Solera2019”","1fc72ce5a1b799f400c359bff96ca3913548e8644220610952e9ba1774f7bac7":"Google “Solera2020”",a3c99845e80ab7ce00157b3742df0207dd272b2b602ecf98ee2c12db9c5ae7e7:"Google “Solera2021”","697aafca1a6b536fae21205046debad7e0eaea13d2432e6e9d8fb379f2b9aaf3":"Google “Solera2022”",a899d8780c9290aaf462f31880ccfbd52451e970d0fbf591ef75b0d99b645681:"Google “Submariner”",b0cc83e5a5f97d6baf7c09cc284904872ac7e88b132c6350b7c6fd26e16c6c77:"Google “Testtube”",b10cd559a6d67846811f7df9a51532739ac48d703bea0323da5d38755bc0ad4e:"Google “Xenon2018”","084114980071532c16190460bcfc47fdc2653afa292c72b37ff863ae29ccc9f0":"Google “Xenon2019”","07b75c1be57d68fff1b0c61d2315c7bae6577c5794b76aeebc613a1a69d3a21c":"Google “Xenon2020”","7d3ef2f88fff88556824c2c0ca9e5289792bc50e78097f2e6a9768997e22f0d7":"Google “Xenon2021”","46a555eb75fa912030b5a28969f4f37d112c4174befd49b885abf2fc70fe6d47":"Google “Xenon2022”","7461b4a09cfb3d41d75159575b2e7649a445a8d27709b0cc564a6482b7eb41a3":"Izenpe","8941449c70742e06b9fc9ce7b116ba0024aa36d59af44f0204404f00f7ea8566":"Izenpe “Argi”","296afa2d568bca0d2ea844956ae9721fc35fa355ecda99693aafd458a71aefdd":"Let“s Encrypt ”Clicky”","537b69a3564335a9c04904e39593b2c298eb8d7a6e83023635c627248cd6b440":"Nordu “flimsy”",aae70b7f3cb8d566c86c2f16979c9f445f69ab0eb4535589b2f77a030104f3cd:"Nordu “plausible”",e0127629e90496564e3d0147984498aa48f8adb16600eb7902a1ef9909906273:"PuChuangSiDa CT",cf55e28923497c340d5206d05353aeb25834b52f1f8dc9526809f212efdd7ca6:"SHECA CT 1","32dc59c2d4c41968d56e14bc61ac8f0e45db39faf3c155aa4252f5001fa0c623":"SHECA CT 2",db76fdadac65e7d09508886e2159bd8b90352f5fead3e3dc5e22eb350acc7b98:"Sectigo (Comodo) “Dodo” CT","6f5376ac31f03119d89900a45115ff77151c11d902c10029068db2089a37d913":"Sectigo (Comodo) “Mammoth” CT","5581d4c2169036014aea0b9b573c53f0c0e43878702508172fa3aa1d0713d30c":"Sectigo (Comodo) “Sabre” CT","34bb6ad6c3df9c03eea8a499ff7891486c9d5e5cac92d01f7bfd1bce19db48ef":"StartCom",ddeb1d2b7a0d4fa6208b81ad8168707e2e8e9d01d55c888d3d11c4cdb6ecbecc:"Symantec",a7ce4a4e6207e0addee5fdaa4b1f86768767b5d002a55d47310e7e670a95eab2:"Symantec Deneb","15970488d7b997a05beb52512adee8d2e8b4a3165264121a9fabfbd5f85ad93f":"Symantec “Sirius”",bc78e1dfc5f63c684649334da10fa15f0979692009c081b4f3f6917f3ed9b8a5:"Symantec “Vega”",b0b784bc81c0ddc47544e883f05985bb9077d134d8ab88b2b2e533980b8e508b:"Up In The Air “Behind the Sofa”",ac3b9aed7fa9674757159e6d7d575672f9d98100941e9bdeffeca1313b75782d:"Venafi","03019df3fd85a69a8ebd1facc6da9ba73e469774fe77f579fc5a08b8328c1d6b":"Venafi Gen2 CT","41b2dc2e89e63ce4af1ba7bb29bf68c6dee6f9f1cc047e30dffae3b3ba259263":"WoSign","63d0006026dde10bb0601f452446965ee2b6ea2cd4fbc95ac866a550af9075b7":"WoSign 2","9e4ff73dc3ce220b69217c899e468076abf8d78636d5ccfc85a31a75628ba88b":"WoSign CT #1"};
166
- /**
167
- * @license
168
- * Copyright (c) Peculiar Ventures, LLC.
169
- *
170
- * This source code is licensed under the MIT license found in the
171
- * LICENSE file in the root directory of this source tree.
172
- */const Ue=a=>{const{extension:n}=a;return e(De,{extension:n},Boolean(n.value.items.length)&&[e(pe,{name:"Signed Certificate Timestamps",value:""}),n.value.toJSON().map((a=>e(ve,null,e(pe,{name:"Version",value:a.version+1}),e(pe,{name:"Log Operator",value:Ee[a.logId]||a.logId}),e(pe,{name:"Log Key ID",value:a.logId,monospace:true}),e(pe,{name:"Timestamp",value:t(a.timestamp)}),e(pe,{name:"Signature Algorithm",value:`${a.hashAlgorithm} ${a.signatureAlgorithm}`.toUpperCase()}),e(pe,{name:"Signature",value:a.signature,monospace:true}))))])};
173
- /**
174
- * @license
175
- * Copyright (c) Peculiar Ventures, LLC.
176
- *
177
- * This source code is licensed under the MIT license found in the
178
- * LICENSE file in the root directory of this source tree.
179
- */const Ke=a=>{var n,t;const{extension:c}=a;return e(De,{extension:c},(n=c.value.excludedSubtrees)===null||n===void 0?void 0:n.map((n=>e(Pe,Object.assign({generalName:n.base},a)))),(t=c.value.permittedSubtrees)===null||t===void 0?void 0:t.map((n=>e(Pe,Object.assign({generalName:n.base},a)))))};
180
- /**
181
- * @license
182
- * Copyright (c) Peculiar Ventures, LLC.
183
- *
184
- * This source code is licensed under the MIT license found in the
185
- * LICENSE file in the root directory of this source tree.
186
- */const He=a=>{const{extension:n}=a;return e(De,{extension:n},e(pe,{name:"Template ID",value:n.value.templateID}),e(pe,{name:"Template Major Version",value:n.value.templateMajorVersion}),e(pe,{name:"Template Minor Version",value:n.value.templateMinorVersion}))};
187
- /**
188
- * @license
189
- * Copyright (c) Peculiar Ventures, LLC.
190
- *
191
- * This source code is licensed under the MIT license found in the
192
- * LICENSE file in the root directory of this source tree.
193
- */const Me=a=>{const{extension:n}=a;return e(De,{extension:n},e(pe,{name:"Name",value:n.value.toString()}))};
194
- /**
195
- * @license
196
- * Copyright (c) Peculiar Ventures, LLC.
197
- *
198
- * This source code is licensed under the MIT license found in the
199
- * LICENSE file in the root directory of this source tree.
200
- */const qe=a=>{const{extension:n}=a;const t=n.value.getVersion();return e(De,{extension:n},e(pe,{name:"Certificate Index",value:t.certificateIndex}),e(pe,{name:"Key Index",value:t.keyIndex}))};var we,Xe,Ye,Qe;let ze=class e{constructor(e){if(typeof e==="string"){this.alphabetic=e}else if(typeof e==="number"){this.numeric=e}}};d([b({type:m.PrintableString})],ze.prototype,"alphabetic",void 0);d([b({type:m.PrintableString})],ze.prototype,"numeric",void 0);ze=d([v({type:x.Choice})],ze);class Fe{constructor(e={}){this.currency=new ze;this.amount=0;this.exponent=0;Object.assign(this,e)}}d([b({type:ze})],Fe.prototype,"currency",void 0);d([b({type:m.Integer})],Fe.prototype,"amount",void 0);d([b({type:m.Integer})],Fe.prototype,"exponent",void 0);let We=class e extends Fe{};We=d([v({type:x.Sequence})],We);let Ze=class e{constructor(e=0){this.value=e}};d([b({type:m.Integer})],Ze.prototype,"value",void 0);Ze=d([v({type:x.Choice})],Ze);let Je=class e{constructor(e={}){this.url="";this.language="";Object.assign(this,e)}};d([b({type:m.IA5String})],Je.prototype,"url",void 0);d([b({type:m.PrintableString})],Je.prototype,"language",void 0);Je=d([v({type:x.Sequence})],Je);let _e=we=class e extends p{constructor(e){super(e);Object.setPrototypeOf(this,we.prototype)}};_e=we=d([v({type:x.Sequence,itemType:Je})],_e);let ea=Xe=class e extends _e{constructor(e){super(e);Object.setPrototypeOf(this,Xe.prototype)}};ea=Xe=d([v({type:x.Sequence,itemType:Je})],ea);let aa=Ye=class e extends p{constructor(e){super(e);Object.setPrototypeOf(this,Ye.prototype)}};aa=Ye=d([v({type:x.Sequence,itemType:m.ObjectIdentifier})],aa);let na=Qe=class e extends p{constructor(e){super(e);Object.setPrototypeOf(this,Qe.prototype)}};na=Qe=d([v({type:x.Sequence,itemType:m.PrintableString})],na);const ta="0.4.0.1862.1";const ca=`${ta}.3`;const sa=`${ta}.5`;const oa=`${ta}.6`
201
- /**
202
- * @license
203
- * Copyright (c) Peculiar Ventures, LLC.
204
- *
205
- * This source code is licensed under the MIT license found in the
206
- * LICENSE file in the root directory of this source tree.
207
- */;const ra=a=>{const{extension:n}=a;function t(a,n){if(!n.byteLength){return null}if(a===g){const a=r.parse(n,y);return e(pe,{name:"Semantics Identifier",value:fe(a.semanticsIdentifier)})}if(a===oa){const a=r.parse(n,aa);return e(pe,{name:"QC Types",value:a.map((e=>fe(e))).join(", ")})}if(a===ca){const a=r.parse(n,Ze);return e(pe,{name:"Retention Period",value:`${a.value} years`})}if(a===sa){const a=r.parse(n,_e);return[e(pe,{name:"PDS Locations",value:""}),a.map((a=>e(ve,null,e(pe,{name:"URL",value:a.url}),e(pe,{name:"Language",value:a.language}))))]}return e(pe,{name:"Info",value:c.ToHex(n),monospace:true})}return e(De,{extension:n},Boolean(n.value.length)&&[e(pe,{name:"Statements",value:""}),n.value.map((a=>e(ve,null,e(pe,{name:"Statement ID",value:fe(a.statementId)}),t(a.statementId,a.statementInfo))))])};
208
- /**
209
- * @license
210
- * Copyright (c) Peculiar Ventures, LLC.
211
- *
212
- * This source code is licensed under the MIT license found in the
213
- * LICENSE file in the root directory of this source tree.
214
- */const ia=a=>{const{extension:n}=a;return e(De,{extension:n},e(pe,{name:"Comment",value:n.value.value}))};
215
- /**
216
- * @license
217
- * Copyright (c) Peculiar Ventures, LLC.
218
- *
219
- * This source code is licensed under the MIT license found in the
220
- * LICENSE file in the root directory of this source tree.
221
- */const fa=a=>{const{extension:n}=a;return e(De,{extension:n},e(pe,{name:"Type",value:n.value.toJSON().join(", ")}))};
222
- /**
223
- * @license
224
- * Copyright (c) Peculiar Ventures, LLC.
225
- *
226
- * This source code is licensed under the MIT license found in the
227
- * LICENSE file in the root directory of this source tree.
228
- */const ua=a=>{const{extension:n}=a;return e(De,{extension:n},e(pe,{name:"Role",value:n.value.text}))};
229
- /**
230
- * @license
231
- * Copyright (c) Peculiar Ventures, LLC.
232
- *
233
- * This source code is licensed under the MIT license found in the
234
- * LICENSE file in the root directory of this source tree.
235
- */const la=a=>{const{extension:n,getLEILink:t}=a;return e(De,{extension:n},e(pe,{name:"Identifier",value:n.value.text,href:t(n.value.text)}))};
236
- /**
237
- * @license
238
- * Copyright (c) Peculiar Ventures, LLC.
239
- *
240
- * This source code is licensed under the MIT license found in the
241
- * LICENSE file in the root directory of this source tree.
242
- */const da=a=>{const{extension:t}=a;return e(De,{extension:t},e(pe,{name:"Version",value:t.value.version}),e(Pe,Object.assign({generalName:t.value.location},a)),e(pe,{name:"Requires Auth",value:t.value.requiresAuth?n.getString("yes"):n.getString("no")}))};
243
- /**
244
- * @license
245
- * Copyright (c) Peculiar Ventures, LLC.
246
- *
247
- * This source code is licensed under the MIT license found in the
248
- * LICENSE file in the root directory of this source tree.
249
- */const ba=a=>{const{extension:n}=a;return e(De,{extension:n},e(pe,{name:"Version",value:n.value.version}))};
250
- /**
251
- * @license
252
- * Copyright (c) Peculiar Ventures, LLC.
253
- *
254
- * This source code is licensed under the MIT license found in the
255
- * LICENSE file in the root directory of this source tree.
256
- */const ma=a=>{const{extension:n}=a;return e(De,{extension:n},e(pe,{name:"Reason",value:n.value.toJSON()}))};
257
- /**
258
- * @license
259
- * Copyright (c) Peculiar Ventures, LLC.
260
- *
261
- * This source code is licensed under the MIT license found in the
262
- * LICENSE file in the root directory of this source tree.
263
- */function va(e){return c.ToString(e.values[0])}
264
- /**
265
- * @license
266
- * Copyright (c) Peculiar Ventures, LLC.
267
- *
268
- * This source code is licensed under the MIT license found in the
269
- * LICENSE file in the root directory of this source tree.
270
- */const xa=a=>{const{extension:n}=a;return e(De,{extension:n},Boolean(n.value.length)&&[e(pe,{name:"Attributes",value:""}),n.value.map((a=>e(ve,null,e(pe,{name:"Type",value:fe(a.type)}),e(pe,{name:"Value",value:va(a)}))))])};
271
- /**
272
- * @license
273
- * Copyright (c) Peculiar Ventures, LLC.
274
- *
275
- * This source code is licensed under the MIT license found in the
276
- * LICENSE file in the root directory of this source tree.
277
- */const pa=a=>{const{extension:n}=a;return e(De,{extension:n},e(pe,{name:"Value",value:n.value,monospace:true}))};
278
- /**
279
- * @license
280
- * Copyright (c) Peculiar Ventures, LLC.
281
- *
282
- * This source code is licensed under the MIT license found in the
283
- * LICENSE file in the root directory of this source tree.
284
- */const ga=a=>{const{extension:n}=a;return e(De,{extension:n},e(pe,{name:"Not Before",value:t(n.value.notBefore)}),e(pe,{name:"Not After",value:t(n.value.notAfter)}))};
285
- /**
286
- * @license
287
- * Copyright (c) Peculiar Ventures, LLC.
288
- *
289
- * This source code is licensed under the MIT license found in the
290
- * LICENSE file in the root directory of this source tree.
291
- */const ya=a=>{const{extension:n}=a;return e(De,{extension:n},e(pe,{name:"Version",value:n.value.entrustVers}),e(pe,{name:"Info Flags",value:n.value.entrustInfoFlags.toJSON().join(", ")}))};
292
- /**
293
- * @license
294
- * Copyright (c) Peculiar Ventures, LLC.
295
- *
296
- * This source code is licensed under the MIT license found in the
297
- * LICENSE file in the root directory of this source tree.
298
- */const ha=a=>{const{extension:n}=a;return e(De,{extension:n},Boolean(n.value.length)&&[e(pe,{name:"Biometrics",value:""}),n.value.map((a=>e(ve,null,e(pe,{name:"OID",value:fe(a.typeOfBiometricData.biometricDataOid)}),e(pe,{name:"Type",value:a.typeOfBiometricData.predefinedBiometricType}),e(pe,{name:"Algorithm",value:fe(a.hashAlgorithm.algorithm)}),e(pe,{name:"Hash",value:c.ToHex(a.biometricDataHash.buffer),monospace:true}),e(pe,{name:"Source Uri",value:a.sourceDataUri}))))])};
299
- /**
300
- * @license
301
- * Copyright (c) Peculiar Ventures, LLC.
302
- *
303
- * This source code is licensed under the MIT license found in the
304
- * LICENSE file in the root directory of this source tree.
305
- */const Ca=a=>{const{extension:n}=a;const t=a=>{if(!a){return null}return a.map((a=>{const{imageDetails:n}=a;return[e(pe,{name:"Image Type",value:n.mediaType}),e(pe,{name:"Image Hash",value:c.ToHex(n.logotypeHash[0].hashValue),monospace:true}),e(pe,{name:"Image URL",value:n.logotypeURI[0],monospace:true,collapse:true}),e(pe,{name:"Image Hash Algorithm",value:fe(n.logotypeHash[0].hashAlg.algorithm)})]}))};const s=a=>{if(!a){return null}return a.map((a=>{const{audioDetails:n}=a;return[e(pe,{name:"Audio Type",value:n.mediaType}),e(pe,{name:"Audio Hash",value:c.ToHex(n.logotypeHash[0].hashValue),monospace:true}),e(pe,{name:"Audio URL",value:n.logotypeURI[0],monospace:true,collapse:true}),e(pe,{name:"Audio Hash Algorithm",value:fe(n.logotypeHash[0].hashAlg.algorithm)})]}))};const o=(a,n)=>{if(!n||!n.direct){return null}const{image:c,audio:o}=n.direct;return[e(pe,{name:"Type",value:a}),t(c),s(o),e("tr",null,e("td",null),e("td",null))]};return e(De,{extension:n},o("Subject",n.value.subjectLogo),o("Issuer",n.value.issuerLogo))};
306
- /**
307
- * @license
308
- * Copyright (c) Peculiar Ventures, LLC.
309
- *
310
- * This source code is licensed under the MIT license found in the
311
- * LICENSE file in the root directory of this source tree.
312
- */const Sa=a=>{const{extension:n}=a;return e(De,{extension:n},n.value.length>0&&[e(pe,{name:"Entries",value:""}),n.value.map((a=>e(ve,null,e(pe,{name:"SPC",value:a.spc}),e(pe,{name:"Range",value:a.range?`start=${a.range.start} count==${a.range.count}`:null}),e(pe,{name:"One",value:a.one}))))])};
313
- /**
314
- * @license
315
- * Copyright (c) Peculiar Ventures, LLC.
316
- *
317
- * This source code is licensed under the MIT license found in the
318
- * LICENSE file in the root directory of this source tree.
319
- */const Na=a=>{const{extension:n}=a;return e(De,{extension:n},n.value.requireExplicitPolicy&&e(pe,{name:"Require Explicit Policy",value:h.toASN(n.value.requireExplicitPolicy).valueBlock.toString()}),n.value.inhibitPolicyMapping&&e(pe,{name:"Inhibit Policy Mapping",value:h.toASN(n.value.inhibitPolicyMapping).valueBlock.toString()}))};
320
- /**
321
- * @license
322
- * Copyright (c) Peculiar Ventures, LLC.
323
- *
324
- * This source code is licensed under the MIT license found in the
325
- * LICENSE file in the root directory of this source tree.
326
- */const Aa=a=>{const{extension:n}=a;return e(De,{extension:n},n.value.length>0&&[e(pe,{name:"Policies",value:""}),n.value.map((a=>e(ve,null,e(pe,{name:"Issuer Domain",value:fe(a.issuerDomainPolicy)}),e(pe,{name:"Subject Domain",value:fe(a.subjectDomainPolicy)}))))])};
327
- /**
328
- * @license
329
- * Copyright (c) Peculiar Ventures, LLC.
330
- *
331
- * This source code is licensed under the MIT license found in the
332
- * LICENSE file in the root directory of this source tree.
333
- */const Ia=a=>{const{extension:t}=a;return e(De,{extension:t},e(pe,{name:n.getString("value"),value:t.value.value}))};
334
- /**
335
- * @license
336
- * Copyright (c) Peculiar Ventures, LLC.
337
- *
338
- * This source code is licensed under the MIT license found in the
339
- * LICENSE file in the root directory of this source tree.
340
- */const Da=a=>{var t;const{extension:c}=a;return e(De,{extension:c},(t=c.value.distributionPoint)===null||t===void 0?void 0:t.fullName.map((n=>e(Pe,Object.assign({generalName:n},a)))),c.value.onlySomeReasons&&e(pe,{name:n.getString("onlyReasons"),value:c.value.onlySomeReasons.toJSON().join(", ")}),c.value.indirectCRL&&e(pe,{name:n.getString("indirectCRL"),value:n.getString("yes")}),c.value.onlyContainsUserCerts&&e(pe,{name:n.getString("onlyUserCertificates"),value:n.getString("yes")}),c.value.onlyContainsAttributeCerts&&e(pe,{name:n.getString("onlyAttributeCertificates"),value:n.getString("yes")}),c.value.onlyContainsCACerts&&e(pe,{name:n.getString("onlyCACertificates"),value:n.getString("yes")}))};
341
- /**
342
- * @license
343
- * Copyright (c) Peculiar Ventures, LLC.
344
- *
345
- * This source code is licensed under the MIT license found in the
346
- * LICENSE file in the root directory of this source tree.
347
- */const ja=a=>{const{extension:t}=a;const s=a=>Object.keys(a).map((t=>{const o=a[t];let i="";switch(true){case typeof o==="string"||typeof o==="number":i=o;break;case o instanceof N:i=o.join(", ");break;case typeof o==="boolean":i=o?n.getString("yes"):n.getString("no");break;case Object.is(o,null):i="NULL";break;case o instanceof S:return[e(pe,{name:ue(t),value:""}),e(ve,null,s(o))];case u.isBufferSource(o):if(t==="attestationApplicationId"){try{const a=r.parse(o,C);if(a.packageInfos.length||a.signatureDigests.length){return[e(pe,{name:ue(t),value:""}),Boolean(a.packageInfos)&&e(ve,null,e(pe,{name:ue("packageInfos"),value:""}),a.packageInfos.map((a=>e(ve,null,s(a)))))]}}catch(e){}}try{i=c.ToString(o)}catch(e){i=c.ToHex(o)}break}return e(pe,{name:ue(t),value:i})}));const o=(a,n)=>{if(n.length===0){return null}return[e(pe,{name:a,value:""}),e(ve,null,n.map(s))]};return e(De,{extension:t},e(pe,{name:ue("attestationVersion"),value:t.value.attestationVersion}),e(pe,{name:ue("attestationSecurityLevel"),value:t.value.attestationSecurityLevel}),e(pe,{name:ue("keymasterVersion"),value:t.value.keymasterVersion}),e(pe,{name:ue("keymasterSecurityLevel"),value:t.value.keymasterSecurityLevel}),e(pe,{name:ue("attestationChallenge"),value:c.ToString(t.value.attestationChallenge)}),e(pe,{name:ue("uniqueId"),value:c.ToString(t.value.uniqueId)||undefined}),o(ue("softwareEnforced"),t.value.softwareEnforced),o(ue("teeEnforced"),t.value.teeEnforced))};
348
- /**
349
- * @license
350
- * Copyright (c) Peculiar Ventures, LLC.
351
- *
352
- * This source code is licensed under the MIT license found in the
353
- * LICENSE file in the root directory of this source tree.
354
- */const Oa=a=>{const{extension:n}=a;return e(De,{extension:n},Object.keys(n.value).map((a=>e(pe,{name:ue(a),value:n.value[a]}))))};
355
- /**
356
- * @license
357
- * Copyright (c) Peculiar Ventures, LLC.
358
- *
359
- * This source code is licensed under the MIT license found in the
360
- * LICENSE file in the root directory of this source tree.
361
- */const Ga=a=>{const{extensions:n,title:t}=a;if(!n||!n.length){return null}return[e(xe,{value:t||"Extensions"}),n.map((n=>{try{if(n.value instanceof A){return e(je,{extension:n})}if(n.value instanceof I){return e(Oe,{extension:n})}if(n.value instanceof D){return e(Ge,{extension:n})}if(n.value instanceof j){return e(Te,Object.assign({extension:n},a))}if(n.value instanceof O){return e(ke,Object.assign({extension:n},a))}if(n.value instanceof G){return e(Re,Object.assign({extension:n},a))}if(n.value instanceof T||n.value instanceof k){return e(Ve,Object.assign({extension:n},a))}if(n.value instanceof L){return e(Be,Object.assign({extension:n},a))}if(n.value instanceof P){return e($e,{extension:n})}if(n.value instanceof R){return e(Ue,{extension:n})}if(n.value instanceof V){return e(Ke,Object.assign({extension:n},a))}if(n.value instanceof B){return e(He,{extension:n})}if(n.value instanceof $){return e(Me,{extension:n})}if(n.value instanceof E){return e(qe,{extension:n})}if(n.value instanceof U){return e(ra,{extension:n})}if(n.value instanceof K){return e(ia,{extension:n})}if(n.value instanceof H){return e(fa,{extension:n})}if(n.value instanceof M){return e(ua,{extension:n})}if(n.value instanceof q){return e(la,Object.assign({extension:n},a))}if(n.value instanceof w){return e(da,Object.assign({extension:n},a))}if(n.value instanceof X){return e(ba,{extension:n})}if(n.value instanceof Y){return e(ma,{extension:n})}if(n.value instanceof Q){return e(xa,{extension:n})}if(n.value instanceof z){return e(ga,{extension:n})}if(n.value instanceof F){return e(ya,{extension:n})}if(n.value instanceof W){return e(ha,{extension:n})}if(n.value instanceof Z){return e(Ca,{extension:n})}if(n.value instanceof J){return e(Sa,{extension:n})}if(n.value instanceof _){return e(Na,{extension:n})}if(n.value instanceof ee){return e(Aa,{extension:n})}if(n.value instanceof ae){return e(Ia,{extension:n})}if(n.value instanceof ne){return e(Da,Object.assign({extension:n},a))}if(n.value instanceof te){return e(ja,Object.assign({extension:n},a))}if(n.value instanceof ce){return e(Oa,Object.assign({extension:n},a))}if(typeof n.value==="string"){return e(pa,{extension:n})}return e(De,{extension:n})}catch(e){console.error("Error render extension:",n.asn.extnID);return null}}))]};
362
- /**
363
- * @license
364
- * Copyright (c) Peculiar Ventures, LLC.
365
- *
366
- * This source code is licensed under the MIT license found in the
367
- * LICENSE file in the root directory of this source tree.
368
- */const Ta=a=>{const{certificate:t}=a;return[e(xe,{value:n.getString("miscellaneous")}),e("tr",null,e("td",null,e(re,{onClick:()=>t.downloadAsPEM(),startIcon:e(ie,null)},n.getString("download.pem")))),e("tr",null,e("td",null,e(re,{onClick:()=>t.downloadAsDER(),startIcon:e(ie,null)},n.getString("download.der"))))]};export{ge as B,Ga as E,Pe as G,Ne as I,Ta as M,Ce as P,pe as R,Ae as S,ve as T,xe as a,Ie as b,ue as c,le as d,de as e,be as f,fe as g,Se as h};
369
- //# sourceMappingURL=p-6e2ad7eb.js.map
@@ -1,5 +0,0 @@
1
- /*!
2
- * © Peculiar Ventures https://peculiarventures.com/ - MIT License
3
- */
4
- import{r as e,h as a,H as t}from"./p-3cb79cd9.js";import{B as s}from"./p-4bc5ddbe.js";import{a as c,A as i}from"./p-27ca6743.js";const r=".sc-peculiar-text-hider-h{display:-ms-flexbox;display:flex;width:100%;gap:var(--pv-size-base-4)}[aria-expanded=true].sc-peculiar-text-hider-h .content.sc-peculiar-text-hider{white-space:initial}.content.sc-peculiar-text-hider{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.action.sc-peculiar-text-hider{-ms-flex-negative:0;flex-shrink:0;margin-top:calc(var(--pv-size-base) * -1)}";const d=r;const o=class{constructor(a){e(this,a);this.opened=false}render(){return a(t,{key:"d0442a0dcb70ffa79e5e9e9f9a4647a89b03dd8e","aria-expanded":String(this.opened)},a("div",{key:"6de993b7decfaa4ba3aec8147cbcda078fafa207",class:"content"},a("slot",{key:"11d130a9a9fa3529191944dcde50ccfb3561be19"})),a(s,{key:"e76ff63ce6b47e4d4a60abb15397b95445d6a016",class:"action",onClick:()=>{this.opened=!this.opened},startIcon:this.opened?a(c,{color:"secondary"}):a(i,{color:"secondary"})}))}};o.style=d;export{o as peculiar_text_hider};
5
- //# sourceMappingURL=p-713563fb.entry.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["textHiderCss","PeculiarTextHiderStyle0","TextHider","render","h","Host","key","String","this","opened","class","Button","onClick","startIcon","ArrowTopIcon","color","ArrowBottomIcon"],"sources":["src/components/text-hider/text-hider.scss?tag=peculiar-text-hider&encapsulation=scoped","src/components/text-hider/text-hider.tsx"],"sourcesContent":[":host {\n display: flex;\n width: 100%;\n gap: var(--pv-size-base-4);\n\n &[aria-expanded=\"true\"] {\n .content {\n white-space: initial;\n }\n }\n}\n\n.content {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n width: 100%;\n}\n\n.action {\n flex-shrink: 0;\n margin-top: calc(var(--pv-size-base) * -1);\n}\n","/**\n * @license\n * Copyright (c) Peculiar Ventures, LLC.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport {\n Component,\n Host,\n h,\n State,\n} from '@stencil/core';\nimport { Button } from '../button';\nimport { ArrowBottomIcon, ArrowTopIcon } from '../icons';\n\n@Component({\n tag: 'peculiar-text-hider',\n styleUrl: 'text-hider.scss',\n scoped: true,\n})\nexport class TextHider {\n @State() opened: boolean = false;\n\n render() {\n return (\n <Host\n aria-expanded={String(this.opened)}\n >\n <div class=\"content\">\n <slot />\n </div>\n <Button\n class=\"action\"\n onClick={() => { this.opened = !this.opened; }}\n startIcon={this.opened ? <ArrowTopIcon color=\"secondary\" /> : <ArrowBottomIcon color=\"secondary\" />}\n />\n </Host>\n );\n }\n}\n"],"mappings":";;;iIAAA,MAAMA,EAAe,qZACrB,MAAAC,EAAeD,E,MCqBFE,EAAS,M,qCACO,K,CAE3B,MAAAC,GACE,OACEC,EAACC,EAAI,CAAAC,IAAA,2DACYC,OAAOC,KAAKC,SAE3BL,EAAA,OAAAE,IAAA,2CAAKI,MAAM,WACTN,EAAA,QAAAE,IAAA,8CAEFF,EAACO,EAAM,CAAAL,IAAA,2CACLI,MAAM,SACNE,QAAS,KAAQJ,KAAKC,QAAUD,KAAKC,MAAM,EAC3CI,UAAWL,KAAKC,OAASL,EAACU,EAAY,CAACC,MAAM,cAAiBX,EAACY,EAAe,CAACD,MAAM,gB"}
@@ -1,19 +0,0 @@
1
- var __extends=this&&this.__extends||function(){var t=function(n,r){t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var r in n)if(Object.prototype.hasOwnProperty.call(n,r))t[r]=n[r]};return t(n,r)};return function(n,r){if(typeof r!=="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(n,r);function e(){this.constructor=n}n.prototype=r===null?Object.create(r):(e.prototype=r.prototype,new e)}}();var __awaiter=this&&this.__awaiter||function(t,n,r,e){function i(t){return t instanceof r?t:new r((function(n){n(t)}))}return new(r||(r=Promise))((function(r,u){function o(t){try{a(e.next(t))}catch(t){u(t)}}function c(t){try{a(e["throw"](t))}catch(t){u(t)}}function a(t){t.done?r(t.value):i(t.value).then(o,c)}a((e=e.apply(t,n||[])).next())}))};var __generator=this&&this.__generator||function(t,n){var r={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},e,i,u,o;return o={next:c(0),throw:c(1),return:c(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function c(t){return function(n){return a([t,n])}}function a(c){if(e)throw new TypeError("Generator is already executing.");while(o&&(o=0,c[0]&&(r=0)),r)try{if(e=1,i&&(u=c[0]&2?i["return"]:c[0]?i["throw"]||((u=i["return"])&&u.call(i),0):i.next)&&!(u=u.call(i,c[1])).done)return u;if(i=0,u)c=[c[0]&2,u.value];switch(c[0]){case 0:case 1:u=c;break;case 4:r.label++;return{value:c[1],done:false};case 5:r.label++;i=c[1];c=[0];continue;case 7:c=r.ops.pop();r.trys.pop();continue;default:if(!(u=r.trys,u=u.length>0&&u[u.length-1])&&(c[0]===6||c[0]===2)){r=0;continue}if(c[0]===3&&(!u||c[1]>u[0]&&c[1]<u[3])){r.label=c[1];break}if(c[0]===6&&r.label<u[1]){r.label=u[1];u=c;break}if(u&&r.label<u[2]){r.label=u[2];r.ops.push(c);break}if(u[2])r.ops.pop();r.trys.pop();continue}c=n.call(t,r)}catch(t){c=[6,t];i=0}finally{e=u=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:true}}};
2
- /*!
3
- * © Peculiar Ventures https://peculiarventures.com/ - MIT License
4
- */System.register(["./p-e37e4df2.system.js"],(function(t){"use strict";var n,r,e,i,u,o,c,a,s,f,h,l,v,b,w,m,_,y,d,p,g,E,x,j,O,S,C,T,k,A,N,I,P,R,D,G,K,q,B,F,H;return{setters:[function(t){n=t.A;r=t.a;e=t.b;i=t.C;u=t.i;o=t.c;c=t.e;a=t.f;s=t.g;f=t.h;h=t.j;l=t.k;v=t.l;b=t.T;w=t.m;m=t.n;_=t.o;y=t.W;d=t.p;p=t.I;g=t.q;E=t.V;x=t.r;j=t.s;O=t.t;S=t.U;C=t.u;T=t.E;k=t.v;A=t.w;N=t.N;I=t.x;P=t.y;R=t.z;D=t.B;G=t.R;K=t.F;q=t.G;B=t.H;F=t.J;H=t.D}],execute:function(){var Q;
5
- /**
6
- * @license
7
- * Copyright (c) Peculiar Ventures, LLC.
8
- *
9
- * This source code is licensed under the MIT license found in the
10
- * LICENSE file in the root directory of this source tree.
11
- */var U=(Q={},Q[u]=o,Q[c]=a,Q[s]=f,Q[h]=l,Q[v]=b,Q[w]=m,Q[_]=y,Q[d]=p,Q[g]=E,Q[x]=j,Q[O]=S,Q[C]=T,Q);var z=function(t){__extends(n,t);function n(n){var u=t.call(this,n,r)||this;var o=u.getAsnExtnValue();try{var c=U[u.asn.type];if(c){u.value=e.parse(o,c)}else{console.warn("Didn't detect parser for \"".concat(u.asn.type,'" attribute.'));u.value=i.ToHex(o)}}catch(t){console.error('Error parse "'.concat(u.asn.type,'" attribute:'),t.message);u.value=i.ToHex(o)}return u}n.prototype.getAsnExtnValue=function(){return this.asn.values[0]};return n}(n);t("A",z);
12
- /**
13
- * @license
14
- * Copyright (c) Peculiar Ventures, LLC.
15
- *
16
- * This source code is licensed under the MIT license found in the
17
- * LICENSE file in the root directory of this source tree.
18
- */var J=function(t){__extends(n,t);function n(n){var r=t.call(this,k(n),A)||this;r.thumbprints={};r.type="PKCS#10 Certificate Request";r.tag="CERTIFICATE REQUEST";var e=r.asn.certificationRequestInfo;r.subject=new N(e.subject).toJSON();r.version=e.version;return r}Object.defineProperty(n.prototype,"publicKey",{get:function(){var t=this.asn.certificationRequestInfo.subjectPKInfo,n=t.subjectPublicKey,r=t.algorithm;var e;if(r.algorithm===I&&r.parameters){e=P.parse(r.parameters,R)}if(r.algorithm===D){e=P.parse(n,G)}var i=P.serialize(this.asn.certificationRequestInfo.subjectPKInfo);return{params:e,value:i,algorithm:r.algorithm}},enumerable:false,configurable:true});Object.defineProperty(n.prototype,"signature",{get:function(){var t=this.asn,n=t.signature,r=t.signatureAlgorithm;return{value:n,algorithm:r.algorithm}},enumerable:false,configurable:true});Object.defineProperty(n.prototype,"commonName",{get:function(){if(!this.subject){return""}for(var t=0;t<this.subject.length;t+=1){var n=this.subject[t];if(n.shortName==="CN"||n.shortName==="E"||n.shortName==="O"){return n.value}}return""},enumerable:false,configurable:true});n.prototype.getThumbprint=function(){return __awaiter(this,arguments,void 0,(function(t){var n,r;if(t===void 0){t="SHA-1"}return __generator(this,(function(e){switch(e.label){case 0:e.trys.push([0,2,,3]);return[4,K(t,this.raw)];case 1:n=e.sent();if(n){this.thumbprints[t]=i.ToHex(n)}return[3,3];case 2:r=e.sent();console.error("Error thumbprint get:",r);return[3,3];case 3:return[2]}}))}))};n.prototype.parseAttributes=function(){var t=this.asn.certificationRequestInfo;if(t.attributes){this.attributes=t.attributes.map((function(t){return new z(P.serialize(t))}));var n=this.attributes.find((function(t){return t.asn.type===C}));if(n){this.extensions=n.value.map((function(t){return new q(P.serialize(t))}))}}};n.prototype.toString=function(t){if(t===void 0){t="pem"}switch(t){case"hex":return F(i.ToHex(this.raw));case"pem":return"-----BEGIN ".concat(this.tag,"-----\n").concat(B(this.toString("base64")),"\n-----END ").concat(this.tag,"-----");default:return i.ToBase64(this.raw)}};n.prototype.downloadAsPEM=function(t){H.csr.asPEM(this.toString("pem"),t||this.commonName)};n.prototype.downloadAsDER=function(t){H.csr.asDER(this.raw,t||this.commonName)};return n}(n);t("P",J)}}}));
19
- //# sourceMappingURL=p-7ddd9a82.system.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["attributesParsers","_a","id_DomainNameBeneficiary","DomainNameBeneficiary","id_DomainNameLegalRepresentative","DomainNameLegalRepresentative","id_DomainNameOwner","DomainNameOwner","id_DomainNameTechnicalOperator","DomainNameTechnicalOperator","id_TypeRelationship","TypeRelationship","id_ActivityDescription","ActivityDescription","id_WebGDPR","WebGDPR","id_InsuranceValue","InsuranceValue","id_ValuationRanking","ValuationRanking","id_pkcs9_at_challengePassword","ChallengePassword","id_pkcs9_at_unstructuredName","UnstructuredName","id_pkcs9_at_extensionRequest","ExtensionRequest","__extends","Attribute","_super","raw","_this","call","this","AsnAttribute","asnExtnValue","getAsnExtnValue","target","asn","type","value","AsnParser","parse","console","warn","concat","Convert","ToHex","error","message","prototype","values","AsnData","Pkcs10CertificateRequest","certificateRawToBuffer","CertificationRequest","thumbprints","tag","certificationRequestInfo","subject","Name","toJSON","version","Object","defineProperty","subjectPKInfo","subjectPublicKey","algorithm","params","id_ecPublicKey","parameters","AsnConvert","ECParameters","id_rsaEncryption","RSAPublicKey","spki","serialize","signature","signatureAlgorithm","i","length","name","shortName","getThumbprint","getCertificateThumbprint","thumbprint","sent","error_1","parseAttributes","attributes","map","e","extensionRequestAttribute","find","attribute","extensions","Extension","toString","format","hexFormat","base64Format","ToBase64","downloadAsPEM","Download","csr","asPEM","commonName","downloadAsDER","asDER"],"sources":["src/crypto/attribute.ts","src/crypto/pkcs10_certificate_request.ts"],"sourcesContent":["/**\n * @license\n * Copyright (c) Peculiar Ventures, LLC.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { Convert } from 'pvtsutils';\nimport { AsnParser } from '@peculiar/asn1-schema';\nimport { Attribute as AsnAttribute } from '@peculiar/asn1-x509';\nimport {\n id_DomainNameBeneficiary,\n DomainNameBeneficiary,\n\n id_DomainNameLegalRepresentative,\n DomainNameLegalRepresentative,\n\n id_DomainNameOwner,\n DomainNameOwner,\n\n id_DomainNameTechnicalOperator,\n DomainNameTechnicalOperator,\n\n id_TypeRelationship,\n TypeRelationship,\n\n id_ActivityDescription,\n ActivityDescription,\n\n id_WebGDPR,\n WebGDPR,\n\n id_InsuranceValue,\n InsuranceValue,\n\n id_ValuationRanking,\n ValuationRanking,\n} from '@peculiar/asn1-ntqwac';\nimport {\n id_pkcs9_at_extensionRequest,\n ExtensionRequest,\n\n id_pkcs9_at_challengePassword,\n ChallengePassword,\n\n id_pkcs9_at_unstructuredName,\n UnstructuredName,\n} from '@peculiar/asn1-pkcs9';\n\nimport { AsnData } from './asn_data';\n\nconst attributesParsers = {\n [id_DomainNameBeneficiary]: DomainNameBeneficiary,\n [id_DomainNameLegalRepresentative]: DomainNameLegalRepresentative,\n [id_DomainNameOwner]: DomainNameOwner,\n [id_DomainNameTechnicalOperator]: DomainNameTechnicalOperator,\n [id_TypeRelationship]: TypeRelationship,\n [id_ActivityDescription]: ActivityDescription,\n [id_WebGDPR]: WebGDPR,\n [id_InsuranceValue]: InsuranceValue,\n [id_ValuationRanking]: ValuationRanking,\n [id_pkcs9_at_challengePassword]: ChallengePassword,\n [id_pkcs9_at_unstructuredName]: UnstructuredName,\n [id_pkcs9_at_extensionRequest]: ExtensionRequest,\n};\n\ntype TAttributeKeys = keyof typeof attributesParsers;\nexport type TAttributeValue = InstanceType<typeof attributesParsers[TAttributeKeys]> | string;\n\nexport class Attribute<T extends TAttributeValue> extends AsnData<AsnAttribute> {\n public readonly value: T;\n\n private getAsnExtnValue() {\n return this.asn.values[0];\n }\n\n constructor(raw: BufferSource) {\n super(raw, AsnAttribute);\n\n const asnExtnValue = this.getAsnExtnValue();\n\n try {\n const target = attributesParsers[this.asn.type];\n\n if (target) {\n this.value = AsnParser.parse<T>(asnExtnValue, target);\n } else {\n console.warn(`Didn't detect parser for \"${this.asn.type}\" attribute.`);\n\n this.value = Convert.ToHex(asnExtnValue) as T;\n }\n } catch (error) {\n console.error(`Error parse \"${this.asn.type}\" attribute:`, error.message);\n\n this.value = Convert.ToHex(asnExtnValue) as T;\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 { AsnConvert } from '@peculiar/asn1-schema';\nimport { ECParameters, id_ecPublicKey } from '@peculiar/asn1-ecc';\nimport { id_rsaEncryption, RSAPublicKey } from '@peculiar/asn1-rsa';\nimport { CertificationRequest } from '@peculiar/asn1-csr';\nimport {\n id_pkcs9_at_extensionRequest,\n ExtensionRequest,\n} from '@peculiar/asn1-pkcs9';\nimport { Convert } from 'pvtsutils';\n\nimport { Download } from '../utils';\n\nimport { AsnData } from './asn_data';\nimport { Name, INameJSON } from './name';\nimport { Attribute, TAttributeValue } from './attribute';\nimport { Extension, TExtensionValue } from './extension';\nimport {\n certificateRawToBuffer,\n hexFormat,\n base64Format,\n getCertificateThumbprint,\n} from './utils';\n\ninterface ISignature {\n algorithm: string;\n value: BufferSource;\n}\n\ninterface IPublicKey {\n algorithm: string;\n value: BufferSource;\n params?: ECParameters | RSAPublicKey;\n}\n\nexport class Pkcs10CertificateRequest extends AsnData<CertificationRequest> {\n public readonly subject: INameJSON[];\n\n public readonly version: number;\n\n public attributes: Attribute<TAttributeValue>[];\n\n public extensions: Extension<TExtensionValue>[];\n\n public thumbprints: Record<string, string> = {};\n\n public readonly type = 'PKCS#10 Certificate Request';\n\n public readonly tag = 'CERTIFICATE REQUEST';\n\n constructor(raw: string) {\n super(certificateRawToBuffer(raw), CertificationRequest);\n\n const { certificationRequestInfo } = this.asn;\n\n this.subject = new Name(certificationRequestInfo.subject).toJSON();\n this.version = certificationRequestInfo.version;\n }\n\n public get publicKey(): IPublicKey {\n const { subjectPublicKey, algorithm } = this.asn.certificationRequestInfo.subjectPKInfo;\n let params;\n\n if (algorithm.algorithm === id_ecPublicKey && algorithm.parameters) {\n params = AsnConvert.parse(algorithm.parameters, ECParameters);\n }\n\n if (algorithm.algorithm === id_rsaEncryption) {\n params = AsnConvert.parse(subjectPublicKey, RSAPublicKey);\n }\n\n const spki = AsnConvert.serialize(this.asn.certificationRequestInfo.subjectPKInfo);\n\n return {\n params,\n value: spki,\n algorithm: algorithm.algorithm,\n };\n }\n\n public get signature(): ISignature {\n const { signature, signatureAlgorithm } = this.asn;\n\n return {\n value: signature,\n algorithm: signatureAlgorithm.algorithm,\n };\n }\n\n public get commonName(): string {\n if (!this.subject) {\n return '';\n }\n\n for (let i = 0; i < this.subject.length; i += 1) {\n const name = this.subject[i];\n\n if (name.shortName === 'CN' || name.shortName === 'E' || name.shortName === 'O') {\n return name.value;\n }\n }\n\n return '';\n }\n\n public async getThumbprint(\n algorithm: string = 'SHA-1',\n ): Promise<void> {\n try {\n const thumbprint = await getCertificateThumbprint(algorithm, this.raw);\n\n if (thumbprint) {\n this.thumbprints[algorithm] = Convert.ToHex(thumbprint);\n }\n } catch (error) {\n console.error('Error thumbprint get:', error);\n }\n }\n\n public parseAttributes() {\n const { certificationRequestInfo } = this.asn;\n\n if (certificationRequestInfo.attributes) {\n this.attributes = certificationRequestInfo.attributes\n .map((e) => new Attribute(AsnConvert.serialize(e)));\n\n const extensionRequestAttribute = this.attributes.find(\n (attribute) => attribute.asn.type === id_pkcs9_at_extensionRequest,\n ) as Attribute<ExtensionRequest>;\n\n if (extensionRequestAttribute) {\n this.extensions = extensionRequestAttribute.value\n .map((e) => new Extension(AsnConvert.serialize(e)));\n }\n }\n }\n\n public toString(format: 'hex' | 'pem' | 'base64' = 'pem'): string {\n switch (format) {\n case 'hex':\n return hexFormat(Convert.ToHex(this.raw));\n case 'pem':\n return `-----BEGIN ${this.tag}-----\\n${base64Format(this.toString('base64'))}\\n-----END ${this.tag}-----`;\n default:\n return Convert.ToBase64(this.raw);\n }\n }\n\n public downloadAsPEM(name?: string) {\n Download.csr.asPEM(\n this.toString('pem'),\n name || this.commonName,\n );\n }\n\n public downloadAsDER(name?: string) {\n Download.csr.asDER(\n this.raw,\n name || this.commonName,\n );\n }\n}\n"],"mappings":";;;;;;;;;;eAoDA,IAAMA,GAAiBC,EAAA,GACrBA,EAACC,GAA2BC,EAC5BF,EAACG,GAAmCC,EACpCJ,EAACK,GAAqBC,EACtBN,EAACO,GAAiCC,EAClCR,EAACS,GAAsBC,EACvBV,EAACW,GAAyBC,EAC1BZ,EAACa,GAAaC,EACdd,EAACe,GAAoBC,EACrBhB,EAACiB,GAAsBC,EACvBlB,EAACmB,GAAgCC,EACjCpB,EAACqB,GAA+BC,EAChCtB,EAACuB,GAA+BC,E,qBAMwBC,UAAAC,EAAAC,GAOxD,SAAAD,EAAYE,GACV,IAAAC,EAAAF,EAAKG,KAAAC,KAACH,EAAKI,IAAaD,KAExB,IAAME,EAAeJ,EAAKK,kBAE1B,IACE,IAAMC,EAASpC,EAAkB8B,EAAKO,IAAIC,MAE1C,GAAIF,EAAQ,CACVN,EAAKS,MAAQC,EAAUC,MAASP,EAAcE,E,KACzC,CACLM,QAAQC,KAAK,8BAAAC,OAA6Bd,EAAKO,IAAIC,KAAI,iBAEvDR,EAAKS,MAAQM,EAAQC,MAAMZ,E,EAE7B,MAAOa,GACPL,QAAQK,MAAM,gBAAAH,OAAgBd,EAAKO,IAAIC,KAAI,gBAAgBS,EAAMC,SAEjElB,EAAKS,MAAQM,EAAQC,MAAMZ,E,UAtBvBP,EAAAsB,UAAAd,gBAAA,WACN,OAAOH,KAAKK,IAAIa,OAAO,E,YAJ+BC,G;;;;;;;iCC5BZzB,UAAA0B,EAAAxB,GAe5C,SAAAwB,EAAYvB,GACV,IAAAC,EAAAF,EAAKG,KAAAC,KAACqB,EAAuBxB,GAAMyB,IAAqBtB,KAPnDF,EAAAyB,YAAsC,GAE7BzB,EAAAQ,KAAO,8BAEPR,EAAA0B,IAAM,sBAKZ,IAAAC,EAA6B3B,EAAKO,IAAGoB,yBAE7C3B,EAAK4B,QAAU,IAAIC,EAAKF,EAAyBC,SAASE,SAC1D9B,EAAK+B,QAAUJ,EAAyBI,Q,SAG1CC,OAAAC,eAAWX,EAAAH,UAAA,YAAS,C,IAApB,WACQ,IAAAhD,EAAkC+B,KAAKK,IAAIoB,yBAAyBO,cAAlEC,EAAgBhE,EAAAgE,iBAAEC,EAASjE,EAAAiE,UACnC,IAAIC,EAEJ,GAAID,EAAUA,YAAcE,GAAkBF,EAAUG,WAAY,CAClEF,EAASG,EAAW7B,MAAMyB,EAAUG,WAAYE,E,CAGlD,GAAIL,EAAUA,YAAcM,EAAkB,CAC5CL,EAASG,EAAW7B,MAAMwB,EAAkBQ,E,CAG9C,IAAMC,EAAOJ,EAAWK,UAAU3C,KAAKK,IAAIoB,yBAAyBO,eAEpE,MAAO,CACLG,OAAMA,EACN5B,MAAOmC,EACPR,UAAWA,EAAUA,U,uCAIzBJ,OAAAC,eAAWX,EAAAH,UAAA,YAAS,C,IAApB,WACQ,IAAAhD,EAAoC+B,KAAKK,IAAvCuC,EAAS3E,EAAA2E,UAAEC,EAAkB5E,EAAA4E,mBAErC,MAAO,CACLtC,MAAOqC,EACPV,UAAWW,EAAmBX,U,uCAIlCJ,OAAAC,eAAWX,EAAAH,UAAA,aAAU,C,IAArB,WACE,IAAKjB,KAAK0B,QAAS,CACjB,MAAO,E,CAGT,IAAK,IAAIoB,EAAI,EAAGA,EAAI9C,KAAK0B,QAAQqB,OAAQD,GAAK,EAAG,CAC/C,IAAME,EAAOhD,KAAK0B,QAAQoB,GAE1B,GAAIE,EAAKC,YAAc,MAAQD,EAAKC,YAAc,KAAOD,EAAKC,YAAc,IAAK,CAC/E,OAAOD,EAAKzC,K,EAIhB,MAAO,E,uCAGIa,EAAAH,UAAAiC,cAAN,W,iDACLhB,G,QAAA,GAAAA,SAAA,GAAAA,EAAA,OAA2B,C,kFAGN,SAAMiB,EAAyBjB,EAAWlC,KAAKH,M,OAA5DuD,EAAanF,EAAAoF,OAEnB,GAAID,EAAY,CACdpD,KAAKuB,YAAYW,GAAarB,EAAQC,MAAMsC,E,+BAG9C1C,QAAQK,MAAM,wBAAyBuC,G,qCAIpClC,EAAAH,UAAAsC,gBAAA,WACG,IAAA9B,EAA6BzB,KAAKK,IAAGoB,yBAE7C,GAAIA,EAAyB+B,WAAY,CACvCxD,KAAKwD,WAAa/B,EAAyB+B,WACxCC,KAAI,SAACC,GAAM,WAAI/D,EAAU2C,EAAWK,UAAUe,GAAnC,IAEd,IAAMC,EAA4B3D,KAAKwD,WAAWI,MAChD,SAACC,GAAc,OAAAA,EAAUxD,IAAIC,OAASd,CAAvB,IAGjB,GAAImE,EAA2B,CAC7B3D,KAAK8D,WAAaH,EAA0BpD,MACzCkD,KAAI,SAACC,GAAM,WAAIK,EAAUzB,EAAWK,UAAUe,GAAnC,G,IAKbtC,EAAAH,UAAA+C,SAAA,SAASC,GAAA,GAAAA,SAAA,GAAAA,EAAA,KAAwC,CACtD,OAAQA,GACN,IAAK,MACH,OAAOC,EAAUrD,EAAQC,MAAMd,KAAKH,MACtC,IAAK,MACH,MAAO,cAAAe,OAAcZ,KAAKwB,IAAG,WAAAZ,OAAUuD,EAAanE,KAAKgE,SAAS,WAAU,eAAApD,OAAcZ,KAAKwB,IAAG,SACpG,QACE,OAAOX,EAAQuD,SAASpE,KAAKH,K,EAI5BuB,EAAAH,UAAAoD,cAAA,SAAcrB,GACnBsB,EAASC,IAAIC,MACXxE,KAAKgE,SAAS,OACdhB,GAAQhD,KAAKyE,W,EAIVrD,EAAAH,UAAAyD,cAAA,SAAc1B,GACnBsB,EAASC,IAAII,MACX3E,KAAKH,IACLmD,GAAQhD,KAAKyE,W,YA3H2BtD,G"}
@@ -1,6 +0,0 @@
1
- var __extends=this&&this.__extends||function(){var r=function(e,n){r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,e){r.__proto__=e}||function(r,e){for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n))r[n]=e[n]};return r(e,n)};return function(e,n){if(typeof n!=="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");r(e,n);function t(){this.constructor=e}e.prototype=n===null?Object.create(n):(t.prototype=n.prototype,new t)}}();var __awaiter=this&&this.__awaiter||function(r,e,n,t){function i(r){return r instanceof n?r:new n((function(e){e(r)}))}return new(n||(n=Promise))((function(n,a){function f(r){try{l(t.next(r))}catch(r){a(r)}}function u(r){try{l(t["throw"](r))}catch(r){a(r)}}function l(r){r.done?n(r.value):i(r.value).then(f,u)}l((t=t.apply(r,e||[])).next())}))};var __generator=this&&this.__generator||function(r,e){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},t,i,a,f;return f={next:u(0),throw:u(1),return:u(2)},typeof Symbol==="function"&&(f[Symbol.iterator]=function(){return this}),f;function u(r){return function(e){return l([r,e])}}function l(u){if(t)throw new TypeError("Generator is already executing.");while(f&&(f=0,u[0]&&(n=0)),n)try{if(t=1,i&&(a=u[0]&2?i["return"]:u[0]?i["throw"]||((a=i["return"])&&a.call(i),0):i.next)&&!(a=a.call(i,u[1])).done)return a;if(i=0,a)u=[u[0]&2,a.value];switch(u[0]){case 0:case 1:a=u;break;case 4:n.label++;return{value:u[1],done:false};case 5:n.label++;i=u[1];u=[0];continue;case 7:u=n.ops.pop();n.trys.pop();continue;default:if(!(a=n.trys,a=a.length>0&&a[a.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!a||u[1]>a[0]&&u[1]<a[3])){n.label=u[1];break}if(u[0]===6&&n.label<a[1]){n.label=a[1];a=u;break}if(a&&n.label<a[2]){n.label=a[2];n.ops.push(u);break}if(a[2])n.ops.pop();n.trys.pop();continue}u=e.call(r,n)}catch(r){u=[6,r];i=0}finally{t=a=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(r,e,n){if(n||arguments.length===2)for(var t=0,i=e.length,a;t<i;t++){if(a||!(t in e)){if(!a)a=Array.prototype.slice.call(e,0,t);a[t]=e[t]}}return r.concat(a||Array.prototype.slice.call(e))};
2
- /*!
3
- * © Peculiar Ventures https://peculiarventures.com/ - MIT License
4
- */System.register([],(function(r,e){"use strict";return{execute:function(){var n=this;var t="peculiar";var i={allRenderFn:true,appendChildSlotFix:false,asyncLoading:true,asyncQueue:false,attachStyles:true,cloneNodeFix:false,cmpDidLoad:true,cmpDidRender:false,cmpDidUnload:false,cmpDidUpdate:true,cmpShouldUpdate:false,cmpWillLoad:true,cmpWillRender:false,cmpWillUpdate:false,connectedCallback:false,constructableCSS:true,cssAnnotations:true,devTools:false,disconnectedCallback:true,element:false,event:true,experimentalScopedSlotChanges:false,experimentalSlotFixes:false,formAssociated:false,hasRenderFn:true,hostListener:false,hostListenerTarget:false,hostListenerTargetBody:false,hostListenerTargetDocument:false,hostListenerTargetParent:false,hostListenerTargetWindow:false,hotModuleReplacement:false,hydrateClientSide:true,hydrateServerSide:false,hydratedAttribute:false,hydratedClass:true,initializeNextTick:false,invisiblePrehydration:true,isDebug:false,isDev:false,isTesting:false,lazyLoad:true,lifecycle:true,lifecycleDOMEvents:false,member:true,method:false,mode:false,observeAttribute:true,profile:false,prop:true,propBoolean:true,propMutable:false,propNumber:true,propString:true,reflect:true,scoped:true,scopedSlotTextContentFix:false,scriptDataOpts:false,shadowDelegatesFocus:false,shadowDom:true,slot:true,slotChildNodesFix:false,slotRelocation:true,state:true,style:true,svg:true,taskQueue:true,transformTagName:false,updatable:true,vdomAttribute:true,vdomClass:true,vdomFunctional:true,vdomKey:true,vdomListener:true,vdomPropOrAttr:true,vdomRef:true,vdomRender:true,vdomStyle:true,vdomText:true,vdomXlink:true,watchCallback:true};var a;var f;var u;var l=false;var o=false;var v=false;var s=false;var c=false;var d=function(r,e){if(e===void 0){e=""}{return function(){return}}};var h=function(r,e){{return function(){return}}};var p="r";var y="o";var $="s";var m="t";var b="s-id";var w="sty-id";var g="c-id";var _="{visibility:hidden}.hydrated{visibility:inherit}";var S="slot-fb{display:contents}slot-fb[hidden]{display:none}";var k="http://www.w3.org/1999/xlink";var x={};var C="http://www.w3.org/2000/svg";var A="http://www.w3.org/1999/xhtml";var j=function(r){return r!=null};var T=function(r){r=typeof r;return r==="object"||r==="function"};function O(r){var e,n,t;return(t=(n=(e=r.head)===null||e===void 0?void 0:e.querySelector('meta[name="csp-nonce"]'))===null||n===void 0?void 0:n.getAttribute("content"))!==null&&t!==void 0?t:undefined}var L=r("h",(function(r,e){var n=[];for(var t=2;t<arguments.length;t++){n[t-2]=arguments[t]}var i=null;var a=null;var f=null;var u=false;var l=false;var o=[];var v=function(e){for(var n=0;n<e.length;n++){i=e[n];if(Array.isArray(i)){v(i)}else if(i!=null&&typeof i!=="boolean"){if(u=typeof r!=="function"&&!T(i)){i=String(i)}if(u&&l){o[o.length-1].t+=i}else{o.push(u?D(null,i):i)}l=u}}};v(n);if(e){if(e.key){a=e.key}if(e.name){f=e.name}{var s=e.className||e.class;if(s){e.class=typeof s!=="object"?s:Object.keys(s).filter((function(r){return s[r]})).join(" ")}}}if(typeof r==="function"){return r(e===null?{}:e,o,F)}var c=D(r,null);c.i=e;if(o.length>0){c.u=o}{c.l=a}{c.o=f}return c}));var D=function(r,e){var n={v:0,h:r,t:e,p:null,u:null};{n.i=null}{n.l=null}{n.o=null}return n};var R=r("H",{});var M=function(r){return r&&r.h===R};var F={forEach:function(r,e){return r.map(E).forEach(e)},map:function(r,e){return r.map(E).map(e).map(N)}};var E=function(r){return{vattrs:r.i,vchildren:r.u,vkey:r.l,vname:r.o,vtag:r.h,vtext:r.t}};var N=function(r){if(typeof r.vtag==="function"){var e=Object.assign({},r.vattrs);if(r.vkey){e.key=r.vkey}if(r.vname){e.name=r.vname}return L.apply(void 0,__spreadArray([r.vtag,e],r.vchildren||[],false))}var n=D(r.vtag,r.vtext);n.i=r.vattrs;n.u=r.vchildren;n.l=r.vkey;n.o=r.vname;return n};var P=function(r,e,n,t){var i=d("hydrateClient",e);var a=r.shadowRoot;var f=[];var u=[];var l=a?[]:null;var o=t.$=D(e,null);if(!Jr.m){W(Xr.body,Jr.m=new Map)}r[b]=n;r.removeAttribute(b);U(o,f,u,l,r,r,n);f.map((function(r){var n=r._+"."+r.S;var t=Jr.m.get(n);var i=r.p;if(t&&Yr&&t["s-en"]===""){t.parentNode.insertBefore(i,t.nextSibling)}if(!a){i["s-hn"]=e;if(t){i["s-ol"]=t;i["s-ol"]["s-nr"]=i}}Jr.m.delete(n)}));if(a){l.map((function(r){if(r){a.appendChild(r)}}))}i()};var U=function(r,e,n,t,i,a,f){var u;var l;var o;var v;if(a.nodeType===1){u=a.getAttribute(g);if(u){l=u.split(".");if(l[0]===f||l[0]==="0"){o={v:0,_:l[0],S:l[1],k:l[2],C:l[3],h:a.tagName.toLowerCase(),p:a,i:null,u:null,l:null,o:null,t:null};e.push(o);a.removeAttribute(g);if(!r.u){r.u=[]}r.u[o.C]=o;r=o;if(t&&o.k==="0"){t[o.C]=o.p}}}for(v=a.childNodes.length-1;v>=0;v--){U(r,e,n,t,i,a.childNodes[v],f)}if(a.shadowRoot){for(v=a.shadowRoot.childNodes.length-1;v>=0;v--){U(r,e,n,t,i,a.shadowRoot.childNodes[v],f)}}}else if(a.nodeType===8){l=a.nodeValue.split(".");if(l[1]===f||l[1]==="0"){u=l[0];o={v:0,_:l[1],S:l[2],k:l[3],C:l[4],p:a,i:null,u:null,l:null,o:null,h:null,t:null};if(u===m){o.p=a.nextSibling;if(o.p&&o.p.nodeType===3){o.t=o.p.textContent;e.push(o);a.remove();if(!r.u){r.u=[]}r.u[o.C]=o;if(t&&o.k==="0"){t[o.C]=o.p}}}else if(o._===f){if(u===$){o.h="slot";if(l[5]){a["s-sn"]=o.o=l[5]}else{a["s-sn"]=""}a["s-sr"]=true;if(t){o.p=Xr.createElement(o.h);if(o.o){o.p.setAttribute("name",o.o)}a.parentNode.insertBefore(o.p,a);a.remove();if(o.k==="0"){t[o.C]=o.p}}n.push(o);if(!r.u){r.u=[]}r.u[o.C]=o}else if(u===p){if(t){a.remove()}else{i["s-cr"]=a;a["s-cn"]=true}}}}}else if(r&&r.h==="style"){var s=D(null,a.textContent);s.p=a;s.C="0";r.u=[s]}};var W=function(r,e){if(r.nodeType===1){var n=0;for(;n<r.childNodes.length;n++){W(r.childNodes[n],e)}if(r.shadowRoot){for(n=0;n<r.shadowRoot.childNodes.length;n++){W(r.shadowRoot.childNodes[n],e)}}}else if(r.nodeType===8){var t=r.nodeValue.split(".");if(t[0]===y){e.set(t[1]+"."+t[2],r);r.nodeValue="";r["s-en"]=t[3]}}};var I=function(r,e){if(r!=null&&!T(r)){if(e&4){return r==="false"?false:r===""||!!r}if(e&2){return parseFloat(r)}if(e&1){return String(r)}return r}return r};var z=r("g",(function(r){return Ir(r).$hostElement$}));var B=r("c",(function(r,e,n){var t=z(r);return{emit:function(r){return H(t,e,{bubbles:!!(n&4),composed:!!(n&2),cancelable:!!(n&1),detail:r})}}}));var H=function(r,e,n){var t=Jr.ce(e,n);r.dispatchEvent(t);return t};var Q=new WeakMap;var q=function(r,e,n){var t=Kr.get(r);if(re&&n){t=t||new CSSStyleSheet;if(typeof t==="string"){t=e}else{t.replaceSync(e)}}else{t=e}Kr.set(r,t)};var G=function(r,e,n){var t;var i=V(e);var a=Kr.get(i);r=r.nodeType===11?r:Xr;if(a){if(typeof a==="string"){r=r.head||r;var f=Q.get(r);var u=void 0;if(!f){Q.set(r,f=new Set)}if(!f.has(i)){if(r.host&&(u=r.querySelector("[".concat(w,'="').concat(i,'"]')))){u.innerHTML=a}else{u=Xr.createElement("style");u.innerHTML=a;var l=(t=Jr.A)!==null&&t!==void 0?t:O(Xr);if(l!=null){u.setAttribute("nonce",l)}r.insertBefore(u,r.querySelector("link"))}if(e.v&4){u.innerHTML+=S}if(f){f.add(i)}}}else if(!r.adoptedStyleSheets.includes(a)){r.adoptedStyleSheets=__spreadArray(__spreadArray([],r.adoptedStyleSheets,true),[a],false)}}return i};var K=function(r){var e=r.j;var n=r.$hostElement$;var t=e.v;var i=d("attachStyles",e.T);var a=G(n.shadowRoot?n.shadowRoot:n.getRootNode(),e);if(t&10){n["s-sc"]=a;n.classList.add(a+"-h");if(t&2){n.classList.add(a+"-s")}}i()};var V=function(r,e){return"sc-"+r.T};var X=function(r){return r.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{")};var J=function(r,e,n,t,i,a){if(n!==t){var f=Hr(r,e);var u=e.toLowerCase();if(e==="class"){var l=r.classList;var o=Z(n);var v=Z(t);l.remove.apply(l,o.filter((function(r){return r&&!v.includes(r)})));l.add.apply(l,v.filter((function(r){return r&&!o.includes(r)})))}else if(e==="style"){{for(var s in n){if(!t||t[s]==null){if(s.includes("-")){r.style.removeProperty(s)}else{r.style[s]=""}}}}for(var s in t){if(!n||t[s]!==n[s]){if(s.includes("-")){r.style.setProperty(s,t[s])}else{r.style[s]=t[s]}}}}else if(e==="key");else if(e==="ref"){if(t){t(r)}}else if(!f&&e[0]==="o"&&e[1]==="n"){if(e[2]==="-"){e=e.slice(3)}else if(Hr(Vr,u)){e=u.slice(2)}else{e=u[2]+e.slice(3)}if(n||t){var c=e.endsWith(rr);e=e.replace(er,"");if(n){Jr.rel(r,e,n,c)}if(t){Jr.ael(r,e,t,c)}}}else{var d=T(t);if((f||d&&t!==null)&&!i){try{if(!r.tagName.includes("-")){var h=t==null?"":t;if(e==="list"){f=false}else if(n==null||r[e]!=h){r[e]=h}}else{r[e]=t}}catch(r){}}var p=false;{if(u!==(u=u.replace(/^xlink\:?/,""))){e=u;p=true}}if(t==null||t===false){if(t!==false||r.getAttribute(e)===""){if(p){r.removeAttributeNS(k,e)}else{r.removeAttribute(e)}}}else if((!f||a&4||i)&&!d){t=t===true?"":t;if(p){r.setAttributeNS(k,e,t)}else{r.setAttribute(e,t)}}}}};var Y=/\s/;var Z=function(r){return!r?[]:r.split(Y)};var rr="Capture";var er=new RegExp(rr+"$");var nr=function(r,e,n,t){var i=e.p.nodeType===11&&e.p.host?e.p.host:e.p;var a=r&&r.i||x;var f=e.i||x;{for(t in a){if(!(t in f)){J(i,t,a[t],undefined,n,e.v)}}}for(t in f){J(i,t,a[t],f[t],n,e.v)}};var tr=function(r,e,n,t){var i;var o=e.u[n];var c=0;var d;var h;var p;if(!l){v=true;if(o.h==="slot"){if(a){t.classList.add(a+"-s")}o.v|=o.u?2:1}}if(o.t!==null){d=o.p=Xr.createTextNode(o.t)}else if(o.v&1){d=o.p=Xr.createTextNode("")}else{if(!s){s=o.h==="svg"}d=o.p=Xr.createElementNS(s?C:A,o.v&2?"slot-fb":o.h);if(s&&o.h==="foreignObject"){s=false}{nr(null,o,s)}if(j(a)&&d["s-si"]!==a){d.classList.add(d["s-si"]=a)}if(o.u){for(c=0;c<o.u.length;++c){h=tr(r,o,c,d);if(h){d.appendChild(h)}}}{if(o.h==="svg"){s=false}else if(d.tagName==="foreignObject"){s=true}}}d["s-hn"]=u;{if(o.v&(2|1)){d["s-sr"]=true;d["s-cr"]=f;d["s-sn"]=o.o||"";d["s-rf"]=(i=o.i)===null||i===void 0?void 0:i.ref;p=r&&r.u&&r.u[n];if(p&&p.h===o.h&&r.p){{ir(r.p,false)}}}}return d};var ir=function(r,e){Jr.v|=1;var n=Array.from(r.childNodes);if(r["s-sr"]&&i.experimentalSlotFixes){var t=r;while(t=t.nextSibling){if(t&&t["s-sn"]===r["s-sn"]&&t["s-sh"]===u){n.push(t)}}}for(var a=n.length-1;a>=0;a--){var f=n[a];if(f["s-hn"]!==u&&f["s-ol"]){vr(f).insertBefore(f,or(f));f["s-ol"].remove();f["s-ol"]=undefined;f["s-sh"]=undefined;v=true}if(e){ir(f,e)}}Jr.v&=~1};var ar=function(r,e,n,t,i,a){var f=r["s-cr"]&&r["s-cr"].parentNode||r;var l;if(f.shadowRoot&&f.tagName===u){f=f.shadowRoot}for(;i<=a;++i){if(t[i]){l=tr(null,n,i,r);if(l){t[i].p=l;f.insertBefore(l,or(e))}}}};var fr=function(r,e,n){for(var t=e;t<=n;++t){var i=r[t];if(i){var a=i.p;yr(i);if(a){{o=true;if(a["s-ol"]){a["s-ol"].remove()}else{ir(a,true)}}a.remove()}}}};var ur=function(r,e,n,t,i){if(i===void 0){i=false}var a=0;var f=0;var u=0;var l=0;var o=e.length-1;var v=e[0];var s=e[o];var c=t.length-1;var d=t[0];var h=t[c];var p;var y;while(a<=o&&f<=c){if(v==null){v=e[++a]}else if(s==null){s=e[--o]}else if(d==null){d=t[++f]}else if(h==null){h=t[--c]}else if(lr(v,d,i)){sr(v,d,i);v=e[++a];d=t[++f]}else if(lr(s,h,i)){sr(s,h,i);s=e[--o];h=t[--c]}else if(lr(v,h,i)){if(v.h==="slot"||h.h==="slot"){ir(v.p.parentNode,false)}sr(v,h,i);r.insertBefore(v.p,s.p.nextSibling);v=e[++a];h=t[--c]}else if(lr(s,d,i)){if(v.h==="slot"||h.h==="slot"){ir(s.p.parentNode,false)}sr(s,d,i);r.insertBefore(s.p,v.p);s=e[--o];d=t[++f]}else{u=-1;{for(l=a;l<=o;++l){if(e[l]&&e[l].l!==null&&e[l].l===d.l){u=l;break}}}if(u>=0){y=e[u];if(y.h!==d.h){p=tr(e&&e[f],n,u,r)}else{sr(y,d,i);e[u]=undefined;p=y.p}d=t[++f]}else{p=tr(e&&e[f],n,f,r);d=t[++f]}if(p){{vr(v.p).insertBefore(p,or(v.p))}}}}if(a>o){ar(r,t[c+1]==null?null:t[c+1].p,n,t,f,c)}else if(f>c){fr(e,a,o)}};var lr=function(r,e,n){if(n===void 0){n=false}if(r.h===e.h){if(r.h==="slot"){return r.o===e.o}if(!n){return r.l===e.l}return true}return false};var or=function(r){return r&&r["s-ol"]||r};var vr=function(r){return(r["s-ol"]?r["s-ol"]:r).parentNode};var sr=function(r,e,n){if(n===void 0){n=false}var t=e.p=r.p;var i=r.u;var a=e.u;var f=e.h;var u=e.t;var o;if(u===null){{s=f==="svg"?true:f==="foreignObject"?false:s}{if(f==="slot"&&!l);else{nr(r,e,s)}}if(i!==null&&a!==null){ur(t,i,e,a,n)}else if(a!==null){if(r.t!==null){t.textContent=""}ar(t,null,e,a,0,a.length-1)}else if(i!==null){fr(i,0,i.length-1)}if(s&&f==="svg"){s=false}}else if(o=t["s-cr"]){o.parentNode.textContent=u}else if(r.t!==u){t.data=u}};var cr=function(r){var e=r.childNodes;for(var n=0,t=e;n<t.length;n++){var i=t[n];if(i.nodeType===1){if(i["s-sr"]){var a=i["s-sn"];i.hidden=false;for(var f=0,u=e;f<u.length;f++){var l=u[f];if(l!==i){if(l["s-hn"]!==i["s-hn"]||a!==""){if(l.nodeType===1&&(a===l.getAttribute("slot")||a===l["s-sn"])){i.hidden=true;break}}else{if(l.nodeType===1||l.nodeType===3&&l.textContent.trim()!==""){i.hidden=true;break}}}}}cr(i)}}};var dr=[];var hr=function(r){var e;var n;var t;for(var a=0,f=r.childNodes;a<f.length;a++){var u=f[a];if(u["s-sr"]&&(e=u["s-cr"])&&e.parentNode){n=e.parentNode.childNodes;var l=u["s-sn"];var v=function(){e=n[t];if(!e["s-cn"]&&!e["s-nr"]&&e["s-hn"]!==u["s-hn"]&&!i.experimentalSlotFixes){if(pr(e,l)){var r=dr.find((function(r){return r.O===e}));o=true;e["s-sn"]=e["s-sn"]||l;if(r){r.O["s-sh"]=u["s-hn"];r.L=u}else{e["s-sh"]=u["s-hn"];dr.push({L:u,O:e})}if(e["s-sr"]){dr.map((function(n){if(pr(n.O,e["s-sn"])){r=dr.find((function(r){return r.O===e}));if(r&&!n.L){n.L=r.L}}}))}}else if(!dr.some((function(r){return r.O===e}))){dr.push({O:e})}}};for(t=n.length-1;t>=0;t--){v()}}if(u.nodeType===1){hr(u)}}};var pr=function(r,e){if(r.nodeType===1){if(r.getAttribute("slot")===null&&e===""){return true}if(r.getAttribute("slot")===e){return true}return false}if(r["s-sn"]===e){return true}return e===""};var yr=function(r){{r.i&&r.i.ref&&r.i.ref(null);r.u&&r.u.map(yr)}};var $r=function(r,e,n){if(n===void 0){n=false}var t,i,s,c;var d=r.$hostElement$;var h=r.j;var p=r.$||D(null,null);var y=M(e)?e:L(null,null,e);u=d.tagName;if(h.D){y.i=y.i||{};h.D.map((function(r){var e=r[0],n=r[1];return y.i[n]=d[e]}))}if(n&&y.i){for(var $=0,m=Object.keys(y.i);$<m.length;$++){var b=m[$];if(d.hasAttribute(b)&&!["key","ref","style","class"].includes(b)){y.i[b]=d[b]}}}y.h=null;y.v|=4;r.$=y;y.p=p.p=d.shadowRoot||d;{a=d["s-sc"]}l=(h.v&1)!==0;{f=d["s-cr"];o=false}sr(p,y,n);{Jr.v|=1;if(v){hr(y.p);for(var w=0,g=dr;w<g.length;w++){var _=g[w];var S=_.O;if(!S["s-ol"]){var k=Xr.createTextNode("");k["s-nr"]=S;S.parentNode.insertBefore(S["s-ol"]=k,S)}}for(var x=0,C=dr;x<C.length;x++){var _=C[x];var S=_.O;var A=_.L;if(A){var j=A.parentNode;var T=A.nextSibling;{var k=(t=S["s-ol"])===null||t===void 0?void 0:t.previousSibling;while(k){var O=(i=k["s-nr"])!==null&&i!==void 0?i:null;if(O&&O["s-sn"]===S["s-sn"]&&j===O.parentNode){O=O.nextSibling;if(!O||!O["s-nr"]){T=O;break}}k=k.previousSibling}}if(!T&&j!==S.parentNode||S.nextSibling!==T){if(S!==T){if(!S["s-hn"]&&S["s-ol"]){S["s-hn"]=S["s-ol"].parentNode.nodeName}j.insertBefore(S,T);if(S.nodeType===1){S.hidden=(s=S["s-ih"])!==null&&s!==void 0?s:false}}}S&&typeof A["s-rf"]==="function"&&A["s-rf"](S)}else{if(S.nodeType===1){if(n){S["s-ih"]=(c=S.hidden)!==null&&c!==void 0?c:false}S.hidden=true}}}}if(o){cr(y.p)}Jr.v&=~1;dr.length=0}f=undefined};var mr=function(r,e){if(e&&!r.R&&e["s-p"]){e["s-p"].push(new Promise((function(e){return r.R=e})))}};var br=function(r,e){{r.v|=16}if(r.v&4){r.v|=512;return}mr(r,r.M);var n=function(){return wr(r,e)};return ue(n)};var wr=function(r,e){var n=d("scheduleUpdate",r.j.T);var t=r.F;var i;if(e){{i=Ar(t,"componentWillLoad")}}n();return gr(i,(function(){return Sr(r,t,e)}))};var gr=function(r,e){return _r(r)?r.then(e):e()};var _r=function(r){return r instanceof Promise||r&&r.then&&typeof r.then==="function"};var Sr=function(r,e,t){return __awaiter(n,void 0,void 0,(function(){var n,i,a,f,u,l,o;return __generator(this,(function(v){i=r.$hostElement$;a=d("update",r.j.T);f=i["s-rc"];if(t){K(r)}u=d("render",r.j.T);{kr(r,e,i,t)}if(f){f.map((function(r){return r()}));i["s-rc"]=undefined}u();a();{l=(n=i["s-p"])!==null&&n!==void 0?n:[];o=function(){return xr(r)};if(l.length===0){o()}else{Promise.all(l).then(o);r.v|=4;l.length=0}}return[2]}))}))};var kr=function(r,e,n,t){try{e=e.render();{r.v&=~16}{r.v|=2}{{{$r(r,e,t)}}}}catch(e){Qr(e,r.$hostElement$)}return null};var xr=function(r){var e=r.j.T;var n=r.$hostElement$;var t=d("postUpdate",e);var i=r.F;var a=r.M;if(!(r.v&64)){r.v|=64;{jr(n)}{Ar(i,"componentDidLoad")}t();{r.N(n);if(!a){Cr()}}}else{{Ar(i,"componentDidUpdate")}t()}{if(r.R){r.R();r.R=undefined}if(r.v&512){fe((function(){return br(r,false)}))}r.v&=~(4|512)}};var Cr=function(r){{jr(Xr.documentElement)}fe((function(){return H(Vr,"appload",{detail:{namespace:t}})}))};var Ar=function(r,e,n){if(r&&r[e]){try{return r[e](n)}catch(r){Qr(r)}}return undefined};var jr=function(r){return r.classList.add("hydrated")};var Tr=function(r,e){return Ir(r).P.get(e)};var Or=function(r,e,n,t){var i=Ir(r);var a=i.$hostElement$;var f=i.P.get(e);var u=i.v;var l=i.F;n=I(n,t.U[e][0]);var o=Number.isNaN(f)&&Number.isNaN(n);var v=n!==f&&!o;if((!(u&8)||f===undefined)&&v){i.P.set(e,n);if(l){if(t.W&&u&128){var s=t.W[e];if(s){s.map((function(r){try{l[r](n,f,e)}catch(r){Qr(r,a)}}))}}if((u&(2|16))===2){br(i,false)}}}};var Lr=function(r,e,n){var t;var i=r.prototype;if(e.U){if(r.watchers){e.W=r.watchers}var a=Object.entries(e.U);a.map((function(r){var t=r[0],a=r[1][0];if(a&31||n&2&&a&32){Object.defineProperty(i,t,{get:function(){return Tr(this,t)},set:function(r){Or(this,t,r,e)},configurable:true,enumerable:true})}}));if(n&1){var f=new Map;i.attributeChangedCallback=function(r,n,t){var a=this;Jr.jmp((function(){var u;var l=f.get(r);if(a.hasOwnProperty(l)){t=a[l];delete a[l]}else if(i.hasOwnProperty(l)&&typeof a[l]==="number"&&a[l]==t){return}else if(l==null){var o=Ir(a);var v=o===null||o===void 0?void 0:o.v;if(v&&!(v&8)&&v&128&&t!==n){var s=o.F;var c=(u=e.W)===null||u===void 0?void 0:u[r];c===null||c===void 0?void 0:c.forEach((function(e){if(s[e]!=null){s[e].call(s,t,n,r)}}))}return}a[l]=t===null&&typeof a[l]==="boolean"?false:t}))};r.observedAttributes=Array.from(new Set(__spreadArray(__spreadArray([],Object.keys((t=e.W)!==null&&t!==void 0?t:{}),true),a.filter((function(r){var e=r[0],n=r[1];return n[0]&15})).map((function(r){var n=r[0],t=r[1];var i;var a=t[1]||n;f.set(a,n);if(t[0]&512){(i=e.D)===null||i===void 0?void 0:i.push([n,a])}return a})),true)))}}return r};var Dr=function(r,e,t,i){return __awaiter(n,void 0,void 0,(function(){var n,i,a,f,u,l,o,v,s;return __generator(this,(function(c){switch(c.label){case 0:if(!((e.v&32)===0))return[3,5];e.v|=32;i=t.I;if(!i)return[3,3];n=Gr(t);if(!n.then)return[3,2];a=h();return[4,n];case 1:n=c.sent();a();c.label=2;case 2:if(!n.isProxied){{t.W=n.watchers}Lr(n,t,2);n.isProxied=true}f=d("createInstance",t.T);{e.v|=8}try{new n(e)}catch(r){Qr(r)}{e.v&=~8}{e.v|=128}f();return[3,4];case 3:n=r.constructor;customElements.whenDefined(t.T).then((function(){return e.v|=128}));c.label=4;case 4:if(n.style){u=n.style;l=V(t);if(!Kr.has(l)){o=d("registerStyles",t.T);q(l,u,!!(t.v&1));o()}}c.label=5;case 5:v=e.M;s=function(){return br(e,true)};if(v&&v["s-rc"]){v["s-rc"].push(s)}else{s()}return[2]}}))}))};var Rr=function(r){};var Mr=function(r){if((Jr.v&1)===0){var e=Ir(r);var n=e.j;var t=d("connectedCallback",n.T);if(!(e.v&1)){e.v|=1;var i=void 0;{i=r.getAttribute(b);if(i){if(n.v&1){var a=G(r.shadowRoot,n);r.classList.remove(a+"-h",a+"-s")}P(r,n.T,i,e)}}if(!i){if(n.v&(4|8)){Fr(r)}}{var f=r;while(f=f.parentNode||f.host){if(f.nodeType===1&&f.hasAttribute("s-id")&&f["s-p"]||f["s-p"]){mr(e,e.M=f);break}}}if(n.U){Object.entries(n.U).map((function(e){var n=e[0],t=e[1][0];if(t&31&&r.hasOwnProperty(n)){var i=r[n];delete r[n];r[n]=i}}))}{Dr(r,e,n)}}else{if(e===null||e===void 0?void 0:e.F);else if(e===null||e===void 0?void 0:e.B){e.B.then((function(){return Rr()}))}}t()}};var Fr=function(r){var e=r["s-cr"]=Xr.createComment("");e["s-cn"]=true;r.insertBefore(e,r.firstChild)};var Er=function(r){{Ar(r,"disconnectedCallback")}};var Nr=function(r){return __awaiter(n,void 0,void 0,(function(){var e;return __generator(this,(function(n){if((Jr.v&1)===0){e=Ir(r);if(e===null||e===void 0?void 0:e.F){Er(e.F)}else if(e===null||e===void 0?void 0:e.B){e.B.then((function(){return Er(e.F)}))}}return[2]}))}))};var Pr=r("b",(function(r,e){if(e===void 0){e={}}var n;var t=d();var i=[];var a=e.exclude||[];var f=Vr.customElements;var u=Xr.head;var l=u.querySelector("meta[charset]");var o=Xr.createElement("style");var v=[];var s=Xr.querySelectorAll("[".concat(w,"]"));var c;var h=true;var p=0;Object.assign(Jr,e);Jr.H=new URL(e.resourcesUrl||"./",Xr.baseURI).href;{Jr.v|=2}{for(;p<s.length;p++){q(s[p].getAttribute(w),X(s[p].innerHTML),true)}}var y=false;r.map((function(r){r[1].map((function(e){var n;var t={v:e[0],T:e[1],U:e[2],q:e[3]};if(t.v&4){y=true}{t.U=e[2]}{t.D=[]}{t.W=(n=e[4])!==null&&n!==void 0?n:{}}var u=t.T;var l=function(r){__extends(e,r);function e(e){var n=r.call(this,e)||this;e=n;Br(e,t);if(t.v&1){{{e.attachShadow({mode:"open"})}}}return n}e.prototype.connectedCallback=function(){var r=this;if(c){clearTimeout(c);c=null}if(h){v.push(this)}else{Jr.jmp((function(){return Mr(r)}))}};e.prototype.disconnectedCallback=function(){var r=this;Jr.jmp((function(){return Nr(r)}))};e.prototype.componentOnReady=function(){return Ir(this).B};return e}(HTMLElement);t.I=r[0];if(!a.includes(u)&&!f.get(u)){i.push(u);f.define(u,Lr(l,t,1))}}))}));if(i.length>0){if(y){o.textContent+=S}{o.textContent+=i+_}if(o.innerHTML.length){o.setAttribute("data-styles","");var $=(n=Jr.A)!==null&&n!==void 0?n:O(Xr);if($!=null){o.setAttribute("nonce",$)}u.insertBefore(o,l?l.nextSibling:u.firstChild)}}h=false;if(v.length){v.map((function(r){return r.connectedCallback()}))}else{{Jr.jmp((function(){return c=setTimeout(Cr,30)}))}}t()}));var Ur=r("s",(function(r){return Jr.A=r}));var Wr=new WeakMap;var Ir=function(r){return Wr.get(r)};var zr=r("r",(function(r,e){return Wr.set(e.F=r,e)}));var Br=function(r,e){var n={v:0,$hostElement$:r,j:e,P:new Map};{n.B=new Promise((function(r){return n.N=r}));r["s-p"]=[];r["s-rc"]=[]}return Wr.set(r,n)};var Hr=function(r,e){return e in r};var Qr=function(r,e){return(0,console.error)(r,e)};var qr=new Map;var Gr=function(r,n,t){var i=r.T.replace(/-/g,"_");var a=r.I;var f=qr.get(a);if(f){return f[i]}
5
- /*!__STENCIL_STATIC_IMPORT_SWITCH__*/return e.import("./".concat(a,".entry.js").concat("")).then((function(r){{qr.set(a,r)}return r[i]}),Qr)};var Kr=new Map;var Vr=typeof window!=="undefined"?window:{};var Xr=Vr.document||{head:{}};var Jr={v:0,H:"",jmp:function(r){return r()},raf:function(r){return requestAnimationFrame(r)},ael:function(r,e,n,t){return r.addEventListener(e,n,t)},rel:function(r,e,n,t){return r.removeEventListener(e,n,t)},ce:function(r,e){return new CustomEvent(r,e)}};var Yr=true;var Zr=r("p",(function(r){return Promise.resolve(r)}));var re=function(){try{new CSSStyleSheet;return typeof(new CSSStyleSheet).replaceSync==="function"}catch(r){}return false}();var ee=[];var ne=[];var te=function(r,e){return function(n){r.push(n);if(!c){c=true;if(e&&Jr.v&4){fe(ae)}else{Jr.raf(ae)}}}};var ie=function(r){for(var e=0;e<r.length;e++){try{r[e](performance.now())}catch(r){Qr(r)}}r.length=0};var ae=function(){ie(ee);{ie(ne);if(c=ee.length>0){Jr.raf(ae)}}};var fe=function(r){return Zr().then(r)};var ue=te(ne,true)}}}));
6
- //# sourceMappingURL=p-821bdcdc.system.js.map